@vrplatform/api 1.2.40 → 1.3.0-1135
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/client.js +6 -0
- package/build/main/client.js.map +1 -1
- package/build/main/generated/v1.d.ts +1071 -1438
- package/build/main/generated/v1.js.map +1 -1
- package/build/module/client.js +6 -0
- package/build/module/client.js.map +1 -1
- package/build/module/generated/v1.d.ts +1071 -1438
- package/build/module/generated/v1.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +7 -1
- package/src/generated/v1.ts +1071 -1438
- package/build/main/ingest-compat/index.d.ts +0 -13
- package/build/main/ingest-compat/index.js +0 -92
- package/build/main/ingest-compat/index.js.map +0 -1
- package/build/main/ingest-compat/map.d.ts +0 -6
- package/build/main/ingest-compat/map.js +0 -67
- package/build/main/ingest-compat/map.js.map +0 -1
- package/build/main/ingest-compat/types.d.ts +0 -7
- package/build/main/ingest-compat/types.js +0 -3
- package/build/main/ingest-compat/types.js.map +0 -1
- package/build/module/ingest-compat/index.d.ts +0 -13
- package/build/module/ingest-compat/index.js +0 -75
- package/build/module/ingest-compat/index.js.map +0 -1
- package/build/module/ingest-compat/map.d.ts +0 -6
- package/build/module/ingest-compat/map.js +0 -64
- package/build/module/ingest-compat/map.js.map +0 -1
- package/build/module/ingest-compat/types.d.ts +0 -7
- package/build/module/ingest-compat/types.js +0 -2
- package/build/module/ingest-compat/types.js.map +0 -1
|
@@ -679,6 +679,26 @@ export interface paths {
|
|
|
679
679
|
patch?: never;
|
|
680
680
|
trace?: never;
|
|
681
681
|
};
|
|
682
|
+
"/statements/totals": {
|
|
683
|
+
parameters: {
|
|
684
|
+
query?: never;
|
|
685
|
+
header?: never;
|
|
686
|
+
path?: never;
|
|
687
|
+
cookie?: never;
|
|
688
|
+
};
|
|
689
|
+
/**
|
|
690
|
+
* Aggregated owner statement totals without pagination effects
|
|
691
|
+
* @description Get statement totals for a month
|
|
692
|
+
*/
|
|
693
|
+
get: operations["getOwnerStatementTotals"];
|
|
694
|
+
put?: never;
|
|
695
|
+
post?: never;
|
|
696
|
+
delete?: never;
|
|
697
|
+
options?: never;
|
|
698
|
+
head?: never;
|
|
699
|
+
patch?: never;
|
|
700
|
+
trace?: never;
|
|
701
|
+
};
|
|
682
702
|
"/statements/{id}": {
|
|
683
703
|
parameters: {
|
|
684
704
|
query?: never;
|
|
@@ -1405,7 +1425,7 @@ export interface paths {
|
|
|
1405
1425
|
patch?: never;
|
|
1406
1426
|
trace?: never;
|
|
1407
1427
|
};
|
|
1408
|
-
"/
|
|
1428
|
+
"/dispatch/{id}": {
|
|
1409
1429
|
parameters: {
|
|
1410
1430
|
query?: never;
|
|
1411
1431
|
header?: never;
|
|
@@ -1413,24 +1433,7 @@ export interface paths {
|
|
|
1413
1433
|
cookie?: never;
|
|
1414
1434
|
};
|
|
1415
1435
|
/** @description Retrieve a dispatched action and queued effects for progress tracking */
|
|
1416
|
-
get: operations["
|
|
1417
|
-
put?: never;
|
|
1418
|
-
post?: never;
|
|
1419
|
-
delete?: never;
|
|
1420
|
-
options?: never;
|
|
1421
|
-
head?: never;
|
|
1422
|
-
patch?: never;
|
|
1423
|
-
trace?: never;
|
|
1424
|
-
};
|
|
1425
|
-
"/reviews": {
|
|
1426
|
-
parameters: {
|
|
1427
|
-
query?: never;
|
|
1428
|
-
header?: never;
|
|
1429
|
-
path?: never;
|
|
1430
|
-
cookie?: never;
|
|
1431
|
-
};
|
|
1432
|
-
/** @description Reviews list */
|
|
1433
|
-
get: operations["getReviews"];
|
|
1436
|
+
get: operations["getDispatchAction"];
|
|
1434
1437
|
put?: never;
|
|
1435
1438
|
post?: never;
|
|
1436
1439
|
delete?: never;
|
|
@@ -1644,6 +1647,23 @@ export interface paths {
|
|
|
1644
1647
|
patch?: never;
|
|
1645
1648
|
trace?: never;
|
|
1646
1649
|
};
|
|
1650
|
+
"/report/journal-entries/csv": {
|
|
1651
|
+
parameters: {
|
|
1652
|
+
query?: never;
|
|
1653
|
+
header?: never;
|
|
1654
|
+
path?: never;
|
|
1655
|
+
cookie?: never;
|
|
1656
|
+
};
|
|
1657
|
+
/** @description CSV export for journal entries */
|
|
1658
|
+
get: operations["getJournalEntriesReportCsv"];
|
|
1659
|
+
put?: never;
|
|
1660
|
+
post?: never;
|
|
1661
|
+
delete?: never;
|
|
1662
|
+
options?: never;
|
|
1663
|
+
head?: never;
|
|
1664
|
+
patch?: never;
|
|
1665
|
+
trace?: never;
|
|
1666
|
+
};
|
|
1647
1667
|
"/reports/manager-statements": {
|
|
1648
1668
|
parameters: {
|
|
1649
1669
|
query?: never;
|
|
@@ -1695,6 +1715,23 @@ export interface paths {
|
|
|
1695
1715
|
patch?: never;
|
|
1696
1716
|
trace?: never;
|
|
1697
1717
|
};
|
|
1718
|
+
"/reports/manager-statements/detail/journal-entries/csv": {
|
|
1719
|
+
parameters: {
|
|
1720
|
+
query?: never;
|
|
1721
|
+
header?: never;
|
|
1722
|
+
path?: never;
|
|
1723
|
+
cookie?: never;
|
|
1724
|
+
};
|
|
1725
|
+
/** @description CSV export for manager statement journal entries */
|
|
1726
|
+
get: operations["getManagerStatementReportJournalEntriesCsv"];
|
|
1727
|
+
put?: never;
|
|
1728
|
+
post?: never;
|
|
1729
|
+
delete?: never;
|
|
1730
|
+
options?: never;
|
|
1731
|
+
head?: never;
|
|
1732
|
+
patch?: never;
|
|
1733
|
+
trace?: never;
|
|
1734
|
+
};
|
|
1698
1735
|
"/reports/profit-and-loss": {
|
|
1699
1736
|
parameters: {
|
|
1700
1737
|
query?: never;
|
|
@@ -1858,8 +1895,7 @@ export interface paths {
|
|
|
1858
1895
|
/** @description List flows */
|
|
1859
1896
|
get: operations["getFlows"];
|
|
1860
1897
|
put?: never;
|
|
1861
|
-
|
|
1862
|
-
post: operations["createFlow"];
|
|
1898
|
+
post?: never;
|
|
1863
1899
|
delete?: never;
|
|
1864
1900
|
options?: never;
|
|
1865
1901
|
head?: never;
|
|
@@ -1875,11 +1911,9 @@ export interface paths {
|
|
|
1875
1911
|
};
|
|
1876
1912
|
/** @description Get flow by ID */
|
|
1877
1913
|
get: operations["getFlow"];
|
|
1878
|
-
|
|
1879
|
-
put: operations["updateFlow"];
|
|
1914
|
+
put?: never;
|
|
1880
1915
|
post?: never;
|
|
1881
|
-
|
|
1882
|
-
delete: operations["deleteFlow"];
|
|
1916
|
+
delete?: never;
|
|
1883
1917
|
options?: never;
|
|
1884
1918
|
head?: never;
|
|
1885
1919
|
patch?: never;
|
|
@@ -1920,41 +1954,6 @@ export interface paths {
|
|
|
1920
1954
|
patch?: never;
|
|
1921
1955
|
trace?: never;
|
|
1922
1956
|
};
|
|
1923
|
-
"/flows/{id}/{connectionId}/settings": {
|
|
1924
|
-
parameters: {
|
|
1925
|
-
query?: never;
|
|
1926
|
-
header?: never;
|
|
1927
|
-
path?: never;
|
|
1928
|
-
cookie?: never;
|
|
1929
|
-
};
|
|
1930
|
-
/** @description List flow settings for a connection */
|
|
1931
|
-
get: operations["getFlowSettings"];
|
|
1932
|
-
put?: never;
|
|
1933
|
-
post?: never;
|
|
1934
|
-
delete?: never;
|
|
1935
|
-
options?: never;
|
|
1936
|
-
head?: never;
|
|
1937
|
-
patch?: never;
|
|
1938
|
-
trace?: never;
|
|
1939
|
-
};
|
|
1940
|
-
"/flows/{id}/{connectionId}/settings/{settingKey}": {
|
|
1941
|
-
parameters: {
|
|
1942
|
-
query?: never;
|
|
1943
|
-
header?: never;
|
|
1944
|
-
path?: never;
|
|
1945
|
-
cookie?: never;
|
|
1946
|
-
};
|
|
1947
|
-
/** @description List available values/options for a flow setting */
|
|
1948
|
-
get: operations["listFlowSettingOptions"];
|
|
1949
|
-
put?: never;
|
|
1950
|
-
/** @description Create, update or delete a flow setting entry */
|
|
1951
|
-
post: operations["setFlowSetting"];
|
|
1952
|
-
delete?: never;
|
|
1953
|
-
options?: never;
|
|
1954
|
-
head?: never;
|
|
1955
|
-
patch?: never;
|
|
1956
|
-
trace?: never;
|
|
1957
|
-
};
|
|
1958
1957
|
"/flows/{id}/{connectionId}/mappings/{mappingKey}": {
|
|
1959
1958
|
parameters: {
|
|
1960
1959
|
query?: never;
|
|
@@ -1973,15 +1972,15 @@ export interface paths {
|
|
|
1973
1972
|
patch?: never;
|
|
1974
1973
|
trace?: never;
|
|
1975
1974
|
};
|
|
1976
|
-
"/flows/{id}/{connectionId}/mappings": {
|
|
1975
|
+
"/flows/{id}/{connectionId}/mappings/{mappingKey}/sources": {
|
|
1977
1976
|
parameters: {
|
|
1978
1977
|
query?: never;
|
|
1979
1978
|
header?: never;
|
|
1980
1979
|
path?: never;
|
|
1981
1980
|
cookie?: never;
|
|
1982
1981
|
};
|
|
1983
|
-
/** @description List
|
|
1984
|
-
get: operations["
|
|
1982
|
+
/** @description List available source entities for a flow mapping */
|
|
1983
|
+
get: operations["getFlowMappingSources"];
|
|
1985
1984
|
put?: never;
|
|
1986
1985
|
post?: never;
|
|
1987
1986
|
delete?: never;
|
|
@@ -1990,15 +1989,15 @@ export interface paths {
|
|
|
1990
1989
|
patch?: never;
|
|
1991
1990
|
trace?: never;
|
|
1992
1991
|
};
|
|
1993
|
-
"/flows/{id}/{connectionId}/mappings/{mappingKey}/
|
|
1992
|
+
"/flows/{id}/{connectionId}/mappings/{mappingKey}/destinations": {
|
|
1994
1993
|
parameters: {
|
|
1995
1994
|
query?: never;
|
|
1996
1995
|
header?: never;
|
|
1997
1996
|
path?: never;
|
|
1998
1997
|
cookie?: never;
|
|
1999
1998
|
};
|
|
2000
|
-
/** @description List available
|
|
2001
|
-
get: operations["
|
|
1999
|
+
/** @description List available destination entities for a flow mapping */
|
|
2000
|
+
get: operations["getFlowMappingDestinations"];
|
|
2002
2001
|
put?: never;
|
|
2003
2002
|
post?: never;
|
|
2004
2003
|
delete?: never;
|
|
@@ -2007,17 +2006,18 @@ export interface paths {
|
|
|
2007
2006
|
patch?: never;
|
|
2008
2007
|
trace?: never;
|
|
2009
2008
|
};
|
|
2010
|
-
"/flows/{id}/{connectionId}/
|
|
2009
|
+
"/flows/{id}/{connectionId}/settings/{settingKey}": {
|
|
2011
2010
|
parameters: {
|
|
2012
2011
|
query?: never;
|
|
2013
2012
|
header?: never;
|
|
2014
2013
|
path?: never;
|
|
2015
2014
|
cookie?: never;
|
|
2016
2015
|
};
|
|
2017
|
-
/** @description List available
|
|
2018
|
-
get: operations["
|
|
2016
|
+
/** @description List available values/options for a flow setting */
|
|
2017
|
+
get: operations["getFlowSetting"];
|
|
2019
2018
|
put?: never;
|
|
2020
|
-
|
|
2019
|
+
/** @description Create, update or delete a flow setting entry */
|
|
2020
|
+
post: operations["setFlowSetting"];
|
|
2021
2021
|
delete?: never;
|
|
2022
2022
|
options?: never;
|
|
2023
2023
|
head?: never;
|
|
@@ -2331,43 +2331,47 @@ export interface components {
|
|
|
2331
2331
|
* @description Semantic type for mapping/setting entries (entities and primitive kinds).
|
|
2332
2332
|
* @enum {string|null}
|
|
2333
2333
|
*/
|
|
2334
|
-
type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "
|
|
2334
|
+
type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
|
|
2335
2335
|
filter: string | null;
|
|
2336
2336
|
value: components["schemas"]["FlowMappingResolvedEntityValue"];
|
|
2337
2337
|
};
|
|
2338
2338
|
/** @description Resolved mapping entity summary ({ id, name, type }) returned by endpoints. */
|
|
2339
2339
|
FlowMappingResolvedEntityValue: {
|
|
2340
|
-
id: string;
|
|
2340
|
+
id: string | number;
|
|
2341
2341
|
name: string;
|
|
2342
2342
|
/**
|
|
2343
2343
|
* @description Semantic type for mapping/setting entries (entities and primitive kinds).
|
|
2344
2344
|
* @enum {string}
|
|
2345
2345
|
*/
|
|
2346
|
-
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "
|
|
2346
|
+
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
2347
2347
|
};
|
|
2348
|
-
/** @description
|
|
2349
|
-
|
|
2350
|
-
/** @description Setting representation returned from mutation routes with normalized { id, name, type } value payload. */
|
|
2351
|
-
FlowSettingItemPost: {
|
|
2348
|
+
/** @description Mapping entry returned from GET routes with normalized left/right payloads. */
|
|
2349
|
+
FlowMappingItemGet: {
|
|
2352
2350
|
/** Format: uuid */
|
|
2353
2351
|
id: string;
|
|
2354
2352
|
/** Format: uuid */
|
|
2355
2353
|
flowId: string;
|
|
2356
2354
|
/** Format: uuid */
|
|
2357
2355
|
connectionId: string;
|
|
2358
|
-
|
|
2356
|
+
mappingKey: string;
|
|
2359
2357
|
title: string | null;
|
|
2360
2358
|
description: string | null;
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2359
|
+
left: {
|
|
2360
|
+
/** Format: uuid */
|
|
2361
|
+
sourceId: string;
|
|
2362
|
+
};
|
|
2363
|
+
right: {
|
|
2364
|
+
value: string | number;
|
|
2365
|
+
text: string;
|
|
2366
|
+
/**
|
|
2367
|
+
* @description Semantic type for mapping/setting entries (entities and primitive kinds).
|
|
2368
|
+
* @enum {string}
|
|
2369
|
+
*/
|
|
2370
|
+
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
2371
|
+
};
|
|
2368
2372
|
};
|
|
2369
|
-
/** @description Mapping entry returned from
|
|
2370
|
-
|
|
2373
|
+
/** @description Mapping entry returned from mutation routes with normalized left/right payloads. */
|
|
2374
|
+
FlowMappingItemPost: {
|
|
2371
2375
|
/** Format: uuid */
|
|
2372
2376
|
id: string;
|
|
2373
2377
|
/** Format: uuid */
|
|
@@ -2375,25 +2379,41 @@ export interface components {
|
|
|
2375
2379
|
/** Format: uuid */
|
|
2376
2380
|
connectionId: string;
|
|
2377
2381
|
mappingKey: string;
|
|
2378
|
-
/** Format: uuid */
|
|
2379
|
-
sourceId: string;
|
|
2380
2382
|
title: string | null;
|
|
2381
2383
|
description: string | null;
|
|
2382
|
-
|
|
2384
|
+
left: {
|
|
2385
|
+
/** Format: uuid */
|
|
2386
|
+
sourceId: string;
|
|
2387
|
+
};
|
|
2388
|
+
right: {
|
|
2389
|
+
value: string | number;
|
|
2390
|
+
text: string;
|
|
2391
|
+
/**
|
|
2392
|
+
* @description Semantic type for mapping/setting entries (entities and primitive kinds).
|
|
2393
|
+
* @enum {string}
|
|
2394
|
+
*/
|
|
2395
|
+
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
2396
|
+
};
|
|
2383
2397
|
};
|
|
2384
|
-
/** @description
|
|
2385
|
-
|
|
2398
|
+
/** @description Collection of settings after mutation with normalized { id, name, type } value payloads. */
|
|
2399
|
+
FlowSettingItemsPost: components["schemas"]["FlowSettingItemPost"][];
|
|
2400
|
+
/** @description Setting representation returned from mutation routes with normalized { id, name, type } value payload. */
|
|
2401
|
+
FlowSettingItemPost: {
|
|
2386
2402
|
/** Format: uuid */
|
|
2387
2403
|
id: string;
|
|
2388
2404
|
/** Format: uuid */
|
|
2389
2405
|
flowId: string;
|
|
2390
2406
|
/** Format: uuid */
|
|
2391
2407
|
connectionId: string;
|
|
2392
|
-
|
|
2393
|
-
/** Format: uuid */
|
|
2394
|
-
sourceId: string;
|
|
2408
|
+
settingKey: string;
|
|
2395
2409
|
title: string | null;
|
|
2396
2410
|
description: string | null;
|
|
2411
|
+
/**
|
|
2412
|
+
* @description Semantic type for mapping/setting entries (entities and primitive kinds).
|
|
2413
|
+
* @enum {string|null}
|
|
2414
|
+
*/
|
|
2415
|
+
type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
|
|
2416
|
+
filter: string | null;
|
|
2397
2417
|
value: components["schemas"]["FlowMappingResolvedEntityValue"];
|
|
2398
2418
|
};
|
|
2399
2419
|
};
|
|
@@ -4014,7 +4034,6 @@ export interface operations {
|
|
|
4014
4034
|
/** @description Adjustments are manually added financial lines that are not part of the booking platform */
|
|
4015
4035
|
adjustments?: {
|
|
4016
4036
|
id?: string | null;
|
|
4017
|
-
type?: string;
|
|
4018
4037
|
description?: string | null;
|
|
4019
4038
|
reservationRef?: string | null;
|
|
4020
4039
|
/** @description Value in cents (100 = 1€) */
|
|
@@ -4024,6 +4043,7 @@ export interface operations {
|
|
|
4024
4043
|
metadata?: {
|
|
4025
4044
|
[key: string]: unknown;
|
|
4026
4045
|
} | null;
|
|
4046
|
+
type?: string | null;
|
|
4027
4047
|
/** Format: uuid */
|
|
4028
4048
|
recurringFeeId?: string | null;
|
|
4029
4049
|
/** @enum {string|null} */
|
|
@@ -4070,6 +4090,24 @@ export interface operations {
|
|
|
4070
4090
|
id: string;
|
|
4071
4091
|
hasLockedJournalEntries: boolean;
|
|
4072
4092
|
issues: ({
|
|
4093
|
+
/** @enum {string} */
|
|
4094
|
+
code: "lineNotFound";
|
|
4095
|
+
/** @enum {string} */
|
|
4096
|
+
severity: "error";
|
|
4097
|
+
context: {
|
|
4098
|
+
lineIds: string[];
|
|
4099
|
+
};
|
|
4100
|
+
message: string;
|
|
4101
|
+
} | {
|
|
4102
|
+
/** @enum {string} */
|
|
4103
|
+
code: "unbalancedJournalEntries";
|
|
4104
|
+
/** @enum {string} */
|
|
4105
|
+
severity: "error";
|
|
4106
|
+
context: {
|
|
4107
|
+
difference: number;
|
|
4108
|
+
};
|
|
4109
|
+
message: string;
|
|
4110
|
+
} | {
|
|
4073
4111
|
/** @enum {string} */
|
|
4074
4112
|
code: "unassignedAccount";
|
|
4075
4113
|
/** @enum {string} */
|
|
@@ -4099,6 +4137,21 @@ export interface operations {
|
|
|
4099
4137
|
/** @enum {string} */
|
|
4100
4138
|
severity: "warning";
|
|
4101
4139
|
context: Record<string, never>;
|
|
4140
|
+
} | {
|
|
4141
|
+
/** @enum {string} */
|
|
4142
|
+
code: "guestTotalsZero";
|
|
4143
|
+
/** @enum {string} */
|
|
4144
|
+
severity: "warning";
|
|
4145
|
+
context: Record<string, never>;
|
|
4146
|
+
} | {
|
|
4147
|
+
/** @enum {string} */
|
|
4148
|
+
code: "guestTotalsMismatch";
|
|
4149
|
+
/** @enum {string} */
|
|
4150
|
+
severity: "warning";
|
|
4151
|
+
context: {
|
|
4152
|
+
difference: number;
|
|
4153
|
+
};
|
|
4154
|
+
message: string;
|
|
4102
4155
|
})[];
|
|
4103
4156
|
connection?: {
|
|
4104
4157
|
/** Format: uuid */
|
|
@@ -4107,22 +4160,17 @@ export interface operations {
|
|
|
4107
4160
|
/** @enum {string} */
|
|
4108
4161
|
status: "active" | "inactive";
|
|
4109
4162
|
uniqueRef?: string | null;
|
|
4110
|
-
|
|
4111
|
-
id: string;
|
|
4112
|
-
name: string;
|
|
4113
|
-
icon?: string | null;
|
|
4114
|
-
importers?: string[] | null;
|
|
4115
|
-
extractors?: string[] | null;
|
|
4116
|
-
};
|
|
4163
|
+
appId: string;
|
|
4117
4164
|
} | null;
|
|
4118
4165
|
nights?: number | null;
|
|
4119
|
-
/** @enum {string
|
|
4120
|
-
status
|
|
4166
|
+
/** @enum {string} */
|
|
4167
|
+
status: "booked" | "canceled" | "inactive";
|
|
4121
4168
|
financials: {
|
|
4122
4169
|
totals: {
|
|
4123
4170
|
tax: number;
|
|
4124
4171
|
manager: number;
|
|
4125
4172
|
owner: number;
|
|
4173
|
+
reservation: number;
|
|
4126
4174
|
expense: number;
|
|
4127
4175
|
deposit: number;
|
|
4128
4176
|
guest: number;
|
|
@@ -4136,6 +4184,8 @@ export interface operations {
|
|
|
4136
4184
|
/** @enum {string} */
|
|
4137
4185
|
status: "active" | "inactive";
|
|
4138
4186
|
amount: number;
|
|
4187
|
+
/** @enum {string|null} */
|
|
4188
|
+
inactiveReason?: "reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system" | null;
|
|
4139
4189
|
account?: {
|
|
4140
4190
|
id: string;
|
|
4141
4191
|
name: string;
|
|
@@ -4183,13 +4233,7 @@ export interface operations {
|
|
|
4183
4233
|
/** @enum {string} */
|
|
4184
4234
|
status: "active" | "inactive";
|
|
4185
4235
|
uniqueRef?: string | null;
|
|
4186
|
-
|
|
4187
|
-
id: string;
|
|
4188
|
-
name: string;
|
|
4189
|
-
icon?: string | null;
|
|
4190
|
-
importers?: string[] | null;
|
|
4191
|
-
extractors?: string[] | null;
|
|
4192
|
-
};
|
|
4236
|
+
appId: string;
|
|
4193
4237
|
} | null;
|
|
4194
4238
|
uniqueRef?: string | null;
|
|
4195
4239
|
recurringTemplate?: {
|
|
@@ -4207,17 +4251,6 @@ export interface operations {
|
|
|
4207
4251
|
/** Format: uuid */
|
|
4208
4252
|
id: string;
|
|
4209
4253
|
name: string;
|
|
4210
|
-
address?: {
|
|
4211
|
-
full?: string | null;
|
|
4212
|
-
line1?: string | null;
|
|
4213
|
-
line2?: string | null;
|
|
4214
|
-
city?: string | null;
|
|
4215
|
-
/** @deprecated */
|
|
4216
|
-
state?: string | null;
|
|
4217
|
-
postalCode?: string | null;
|
|
4218
|
-
stateCode?: string | null;
|
|
4219
|
-
countryCode?: string | null;
|
|
4220
|
-
} | null;
|
|
4221
4254
|
uniqueRef?: string | null;
|
|
4222
4255
|
} | null;
|
|
4223
4256
|
listingConnection?: {
|
|
@@ -4263,13 +4296,13 @@ export interface operations {
|
|
|
4263
4296
|
adjustments: {
|
|
4264
4297
|
/** Format: uuid */
|
|
4265
4298
|
id: string;
|
|
4266
|
-
type?: string;
|
|
4267
4299
|
description?: string | null;
|
|
4268
4300
|
/** @description Value in cents (100 = 1€) */
|
|
4269
4301
|
amount: number;
|
|
4270
4302
|
metadata?: {
|
|
4271
4303
|
[key: string]: unknown;
|
|
4272
4304
|
} | null;
|
|
4305
|
+
type?: string | null;
|
|
4273
4306
|
/** @enum {string|null} */
|
|
4274
4307
|
party?: "owners" | "manager" | null;
|
|
4275
4308
|
account?: {
|
|
@@ -4346,12 +4379,8 @@ export interface operations {
|
|
|
4346
4379
|
requestBody: {
|
|
4347
4380
|
content: {
|
|
4348
4381
|
"application/json": {
|
|
4382
|
+
dangerouslyAllowLocked?: boolean;
|
|
4349
4383
|
ids?: string[];
|
|
4350
|
-
listingIds?: string[];
|
|
4351
|
-
connectionIds?: string[];
|
|
4352
|
-
date?: string;
|
|
4353
|
-
/** @enum {string} */
|
|
4354
|
-
dateField?: "bookedAt" | "checkIn" | "checkOut" | "payment" | "intersection";
|
|
4355
4384
|
};
|
|
4356
4385
|
};
|
|
4357
4386
|
};
|
|
@@ -4448,6 +4477,24 @@ export interface operations {
|
|
|
4448
4477
|
id: string;
|
|
4449
4478
|
hasLockedJournalEntries: boolean;
|
|
4450
4479
|
issues: ({
|
|
4480
|
+
/** @enum {string} */
|
|
4481
|
+
code: "lineNotFound";
|
|
4482
|
+
/** @enum {string} */
|
|
4483
|
+
severity: "error";
|
|
4484
|
+
context: {
|
|
4485
|
+
lineIds: string[];
|
|
4486
|
+
};
|
|
4487
|
+
message: string;
|
|
4488
|
+
} | {
|
|
4489
|
+
/** @enum {string} */
|
|
4490
|
+
code: "unbalancedJournalEntries";
|
|
4491
|
+
/** @enum {string} */
|
|
4492
|
+
severity: "error";
|
|
4493
|
+
context: {
|
|
4494
|
+
difference: number;
|
|
4495
|
+
};
|
|
4496
|
+
message: string;
|
|
4497
|
+
} | {
|
|
4451
4498
|
/** @enum {string} */
|
|
4452
4499
|
code: "unassignedAccount";
|
|
4453
4500
|
/** @enum {string} */
|
|
@@ -4477,6 +4524,21 @@ export interface operations {
|
|
|
4477
4524
|
/** @enum {string} */
|
|
4478
4525
|
severity: "warning";
|
|
4479
4526
|
context: Record<string, never>;
|
|
4527
|
+
} | {
|
|
4528
|
+
/** @enum {string} */
|
|
4529
|
+
code: "guestTotalsZero";
|
|
4530
|
+
/** @enum {string} */
|
|
4531
|
+
severity: "warning";
|
|
4532
|
+
context: Record<string, never>;
|
|
4533
|
+
} | {
|
|
4534
|
+
/** @enum {string} */
|
|
4535
|
+
code: "guestTotalsMismatch";
|
|
4536
|
+
/** @enum {string} */
|
|
4537
|
+
severity: "warning";
|
|
4538
|
+
context: {
|
|
4539
|
+
difference: number;
|
|
4540
|
+
};
|
|
4541
|
+
message: string;
|
|
4480
4542
|
})[];
|
|
4481
4543
|
connection?: {
|
|
4482
4544
|
/** Format: uuid */
|
|
@@ -4485,22 +4547,17 @@ export interface operations {
|
|
|
4485
4547
|
/** @enum {string} */
|
|
4486
4548
|
status: "active" | "inactive";
|
|
4487
4549
|
uniqueRef?: string | null;
|
|
4488
|
-
|
|
4489
|
-
id: string;
|
|
4490
|
-
name: string;
|
|
4491
|
-
icon?: string | null;
|
|
4492
|
-
importers?: string[] | null;
|
|
4493
|
-
extractors?: string[] | null;
|
|
4494
|
-
};
|
|
4550
|
+
appId: string;
|
|
4495
4551
|
} | null;
|
|
4496
4552
|
nights?: number | null;
|
|
4497
|
-
/** @enum {string
|
|
4498
|
-
status
|
|
4553
|
+
/** @enum {string} */
|
|
4554
|
+
status: "booked" | "canceled" | "inactive";
|
|
4499
4555
|
financials: {
|
|
4500
4556
|
totals: {
|
|
4501
4557
|
tax: number;
|
|
4502
4558
|
manager: number;
|
|
4503
4559
|
owner: number;
|
|
4560
|
+
reservation: number;
|
|
4504
4561
|
expense: number;
|
|
4505
4562
|
deposit: number;
|
|
4506
4563
|
guest: number;
|
|
@@ -4514,6 +4571,8 @@ export interface operations {
|
|
|
4514
4571
|
/** @enum {string} */
|
|
4515
4572
|
status: "active" | "inactive";
|
|
4516
4573
|
amount: number;
|
|
4574
|
+
/** @enum {string|null} */
|
|
4575
|
+
inactiveReason?: "reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system" | null;
|
|
4517
4576
|
account?: {
|
|
4518
4577
|
id: string;
|
|
4519
4578
|
name: string;
|
|
@@ -4561,13 +4620,7 @@ export interface operations {
|
|
|
4561
4620
|
/** @enum {string} */
|
|
4562
4621
|
status: "active" | "inactive";
|
|
4563
4622
|
uniqueRef?: string | null;
|
|
4564
|
-
|
|
4565
|
-
id: string;
|
|
4566
|
-
name: string;
|
|
4567
|
-
icon?: string | null;
|
|
4568
|
-
importers?: string[] | null;
|
|
4569
|
-
extractors?: string[] | null;
|
|
4570
|
-
};
|
|
4623
|
+
appId: string;
|
|
4571
4624
|
} | null;
|
|
4572
4625
|
uniqueRef?: string | null;
|
|
4573
4626
|
recurringTemplate?: {
|
|
@@ -4585,17 +4638,6 @@ export interface operations {
|
|
|
4585
4638
|
/** Format: uuid */
|
|
4586
4639
|
id: string;
|
|
4587
4640
|
name: string;
|
|
4588
|
-
address?: {
|
|
4589
|
-
full?: string | null;
|
|
4590
|
-
line1?: string | null;
|
|
4591
|
-
line2?: string | null;
|
|
4592
|
-
city?: string | null;
|
|
4593
|
-
/** @deprecated */
|
|
4594
|
-
state?: string | null;
|
|
4595
|
-
postalCode?: string | null;
|
|
4596
|
-
stateCode?: string | null;
|
|
4597
|
-
countryCode?: string | null;
|
|
4598
|
-
} | null;
|
|
4599
4641
|
uniqueRef?: string | null;
|
|
4600
4642
|
} | null;
|
|
4601
4643
|
listingConnection?: {
|
|
@@ -4641,13 +4683,13 @@ export interface operations {
|
|
|
4641
4683
|
adjustments: {
|
|
4642
4684
|
/** Format: uuid */
|
|
4643
4685
|
id: string;
|
|
4644
|
-
type?: string;
|
|
4645
4686
|
description?: string | null;
|
|
4646
4687
|
/** @description Value in cents (100 = 1€) */
|
|
4647
4688
|
amount: number;
|
|
4648
4689
|
metadata?: {
|
|
4649
4690
|
[key: string]: unknown;
|
|
4650
4691
|
} | null;
|
|
4692
|
+
type?: string | null;
|
|
4651
4693
|
/** @enum {string|null} */
|
|
4652
4694
|
party?: "owners" | "manager" | null;
|
|
4653
4695
|
account?: {
|
|
@@ -4782,7 +4824,6 @@ export interface operations {
|
|
|
4782
4824
|
adjustments?: {
|
|
4783
4825
|
/** Format: uuid */
|
|
4784
4826
|
id?: string | null;
|
|
4785
|
-
type?: string;
|
|
4786
4827
|
description?: string | null;
|
|
4787
4828
|
reservationRef?: string | null;
|
|
4788
4829
|
/** @description Value in cents (100 = 1€) */
|
|
@@ -4792,6 +4833,7 @@ export interface operations {
|
|
|
4792
4833
|
metadata?: {
|
|
4793
4834
|
[key: string]: unknown;
|
|
4794
4835
|
} | null;
|
|
4836
|
+
type?: string | null;
|
|
4795
4837
|
/** Format: uuid */
|
|
4796
4838
|
recurringFeeId?: string | null;
|
|
4797
4839
|
/** @enum {string|null} */
|
|
@@ -4837,7 +4879,6 @@ export interface operations {
|
|
|
4837
4879
|
adjustments_create?: {
|
|
4838
4880
|
/** Format: uuid */
|
|
4839
4881
|
id?: string | null;
|
|
4840
|
-
type?: string;
|
|
4841
4882
|
description?: string | null;
|
|
4842
4883
|
reservationRef?: string | null;
|
|
4843
4884
|
/** @description Value in cents (100 = 1€) */
|
|
@@ -4847,6 +4888,7 @@ export interface operations {
|
|
|
4847
4888
|
metadata?: {
|
|
4848
4889
|
[key: string]: unknown;
|
|
4849
4890
|
} | null;
|
|
4891
|
+
type?: string | null;
|
|
4850
4892
|
/** Format: uuid */
|
|
4851
4893
|
recurringFeeId?: string | null;
|
|
4852
4894
|
/** @enum {string|null} */
|
|
@@ -4856,7 +4898,6 @@ export interface operations {
|
|
|
4856
4898
|
adjustments_update?: {
|
|
4857
4899
|
/** Format: uuid */
|
|
4858
4900
|
id: string;
|
|
4859
|
-
type?: string;
|
|
4860
4901
|
description?: string | null;
|
|
4861
4902
|
reservationRef?: string | null;
|
|
4862
4903
|
/** @description Value in cents (100 = 1€) */
|
|
@@ -4866,6 +4907,7 @@ export interface operations {
|
|
|
4866
4907
|
metadata?: {
|
|
4867
4908
|
[key: string]: unknown;
|
|
4868
4909
|
} | null;
|
|
4910
|
+
type?: string | null;
|
|
4869
4911
|
/** Format: uuid */
|
|
4870
4912
|
recurringFeeId?: string | null;
|
|
4871
4913
|
/** @enum {string|null} */
|
|
@@ -4907,6 +4949,24 @@ export interface operations {
|
|
|
4907
4949
|
id: string;
|
|
4908
4950
|
hasLockedJournalEntries: boolean;
|
|
4909
4951
|
issues: ({
|
|
4952
|
+
/** @enum {string} */
|
|
4953
|
+
code: "lineNotFound";
|
|
4954
|
+
/** @enum {string} */
|
|
4955
|
+
severity: "error";
|
|
4956
|
+
context: {
|
|
4957
|
+
lineIds: string[];
|
|
4958
|
+
};
|
|
4959
|
+
message: string;
|
|
4960
|
+
} | {
|
|
4961
|
+
/** @enum {string} */
|
|
4962
|
+
code: "unbalancedJournalEntries";
|
|
4963
|
+
/** @enum {string} */
|
|
4964
|
+
severity: "error";
|
|
4965
|
+
context: {
|
|
4966
|
+
difference: number;
|
|
4967
|
+
};
|
|
4968
|
+
message: string;
|
|
4969
|
+
} | {
|
|
4910
4970
|
/** @enum {string} */
|
|
4911
4971
|
code: "unassignedAccount";
|
|
4912
4972
|
/** @enum {string} */
|
|
@@ -4936,30 +4996,40 @@ export interface operations {
|
|
|
4936
4996
|
/** @enum {string} */
|
|
4937
4997
|
severity: "warning";
|
|
4938
4998
|
context: Record<string, never>;
|
|
4939
|
-
}
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4999
|
+
} | {
|
|
5000
|
+
/** @enum {string} */
|
|
5001
|
+
code: "guestTotalsZero";
|
|
5002
|
+
/** @enum {string} */
|
|
5003
|
+
severity: "warning";
|
|
5004
|
+
context: Record<string, never>;
|
|
5005
|
+
} | {
|
|
5006
|
+
/** @enum {string} */
|
|
5007
|
+
code: "guestTotalsMismatch";
|
|
5008
|
+
/** @enum {string} */
|
|
5009
|
+
severity: "warning";
|
|
5010
|
+
context: {
|
|
5011
|
+
difference: number;
|
|
5012
|
+
};
|
|
5013
|
+
message: string;
|
|
5014
|
+
})[];
|
|
5015
|
+
connection?: {
|
|
5016
|
+
/** Format: uuid */
|
|
5017
|
+
id: string;
|
|
5018
|
+
name: string;
|
|
4944
5019
|
/** @enum {string} */
|
|
4945
5020
|
status: "active" | "inactive";
|
|
4946
5021
|
uniqueRef?: string | null;
|
|
4947
|
-
|
|
4948
|
-
id: string;
|
|
4949
|
-
name: string;
|
|
4950
|
-
icon?: string | null;
|
|
4951
|
-
importers?: string[] | null;
|
|
4952
|
-
extractors?: string[] | null;
|
|
4953
|
-
};
|
|
5022
|
+
appId: string;
|
|
4954
5023
|
} | null;
|
|
4955
5024
|
nights?: number | null;
|
|
4956
|
-
/** @enum {string
|
|
4957
|
-
status
|
|
5025
|
+
/** @enum {string} */
|
|
5026
|
+
status: "booked" | "canceled" | "inactive";
|
|
4958
5027
|
financials: {
|
|
4959
5028
|
totals: {
|
|
4960
5029
|
tax: number;
|
|
4961
5030
|
manager: number;
|
|
4962
5031
|
owner: number;
|
|
5032
|
+
reservation: number;
|
|
4963
5033
|
expense: number;
|
|
4964
5034
|
deposit: number;
|
|
4965
5035
|
guest: number;
|
|
@@ -4973,6 +5043,8 @@ export interface operations {
|
|
|
4973
5043
|
/** @enum {string} */
|
|
4974
5044
|
status: "active" | "inactive";
|
|
4975
5045
|
amount: number;
|
|
5046
|
+
/** @enum {string|null} */
|
|
5047
|
+
inactiveReason?: "reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system" | null;
|
|
4976
5048
|
account?: {
|
|
4977
5049
|
id: string;
|
|
4978
5050
|
name: string;
|
|
@@ -5020,13 +5092,7 @@ export interface operations {
|
|
|
5020
5092
|
/** @enum {string} */
|
|
5021
5093
|
status: "active" | "inactive";
|
|
5022
5094
|
uniqueRef?: string | null;
|
|
5023
|
-
|
|
5024
|
-
id: string;
|
|
5025
|
-
name: string;
|
|
5026
|
-
icon?: string | null;
|
|
5027
|
-
importers?: string[] | null;
|
|
5028
|
-
extractors?: string[] | null;
|
|
5029
|
-
};
|
|
5095
|
+
appId: string;
|
|
5030
5096
|
} | null;
|
|
5031
5097
|
uniqueRef?: string | null;
|
|
5032
5098
|
recurringTemplate?: {
|
|
@@ -5044,17 +5110,6 @@ export interface operations {
|
|
|
5044
5110
|
/** Format: uuid */
|
|
5045
5111
|
id: string;
|
|
5046
5112
|
name: string;
|
|
5047
|
-
address?: {
|
|
5048
|
-
full?: string | null;
|
|
5049
|
-
line1?: string | null;
|
|
5050
|
-
line2?: string | null;
|
|
5051
|
-
city?: string | null;
|
|
5052
|
-
/** @deprecated */
|
|
5053
|
-
state?: string | null;
|
|
5054
|
-
postalCode?: string | null;
|
|
5055
|
-
stateCode?: string | null;
|
|
5056
|
-
countryCode?: string | null;
|
|
5057
|
-
} | null;
|
|
5058
5113
|
uniqueRef?: string | null;
|
|
5059
5114
|
} | null;
|
|
5060
5115
|
listingConnection?: {
|
|
@@ -5100,13 +5155,13 @@ export interface operations {
|
|
|
5100
5155
|
adjustments: {
|
|
5101
5156
|
/** Format: uuid */
|
|
5102
5157
|
id: string;
|
|
5103
|
-
type?: string;
|
|
5104
5158
|
description?: string | null;
|
|
5105
5159
|
/** @description Value in cents (100 = 1€) */
|
|
5106
5160
|
amount: number;
|
|
5107
5161
|
metadata?: {
|
|
5108
5162
|
[key: string]: unknown;
|
|
5109
5163
|
} | null;
|
|
5164
|
+
type?: string | null;
|
|
5110
5165
|
/** @enum {string|null} */
|
|
5111
5166
|
party?: "owners" | "manager" | null;
|
|
5112
5167
|
account?: {
|
|
@@ -5304,6 +5359,24 @@ export interface operations {
|
|
|
5304
5359
|
/** Format: uuid */
|
|
5305
5360
|
id: string;
|
|
5306
5361
|
issues: ({
|
|
5362
|
+
/** @enum {string} */
|
|
5363
|
+
code: "lineNotFound";
|
|
5364
|
+
/** @enum {string} */
|
|
5365
|
+
severity: "error";
|
|
5366
|
+
context: {
|
|
5367
|
+
lineIds: string[];
|
|
5368
|
+
};
|
|
5369
|
+
message: string;
|
|
5370
|
+
} | {
|
|
5371
|
+
/** @enum {string} */
|
|
5372
|
+
code: "unbalancedJournalEntries";
|
|
5373
|
+
/** @enum {string} */
|
|
5374
|
+
severity: "error";
|
|
5375
|
+
context: {
|
|
5376
|
+
difference: number;
|
|
5377
|
+
};
|
|
5378
|
+
message: string;
|
|
5379
|
+
} | {
|
|
5307
5380
|
/** @enum {string} */
|
|
5308
5381
|
code: "unassignedAccount";
|
|
5309
5382
|
/** @enum {string} */
|
|
@@ -5333,6 +5406,21 @@ export interface operations {
|
|
|
5333
5406
|
/** @enum {string} */
|
|
5334
5407
|
severity: "warning";
|
|
5335
5408
|
context: Record<string, never>;
|
|
5409
|
+
} | {
|
|
5410
|
+
/** @enum {string} */
|
|
5411
|
+
code: "guestTotalsZero";
|
|
5412
|
+
/** @enum {string} */
|
|
5413
|
+
severity: "warning";
|
|
5414
|
+
context: Record<string, never>;
|
|
5415
|
+
} | {
|
|
5416
|
+
/** @enum {string} */
|
|
5417
|
+
code: "guestTotalsMismatch";
|
|
5418
|
+
/** @enum {string} */
|
|
5419
|
+
severity: "warning";
|
|
5420
|
+
context: {
|
|
5421
|
+
difference: number;
|
|
5422
|
+
};
|
|
5423
|
+
message: string;
|
|
5336
5424
|
})[];
|
|
5337
5425
|
connection?: {
|
|
5338
5426
|
/** Format: uuid */
|
|
@@ -5341,32 +5429,15 @@ export interface operations {
|
|
|
5341
5429
|
/** @enum {string} */
|
|
5342
5430
|
status: "active" | "inactive";
|
|
5343
5431
|
uniqueRef?: string | null;
|
|
5344
|
-
|
|
5345
|
-
id: string;
|
|
5346
|
-
name: string;
|
|
5347
|
-
icon?: string | null;
|
|
5348
|
-
importers?: string[] | null;
|
|
5349
|
-
extractors?: string[] | null;
|
|
5350
|
-
};
|
|
5432
|
+
appId: string;
|
|
5351
5433
|
} | null;
|
|
5352
5434
|
nights?: number | null;
|
|
5353
|
-
/** @enum {string
|
|
5354
|
-
status
|
|
5435
|
+
/** @enum {string} */
|
|
5436
|
+
status: "booked" | "canceled" | "inactive";
|
|
5355
5437
|
listing?: {
|
|
5356
5438
|
/** Format: uuid */
|
|
5357
5439
|
id: string;
|
|
5358
5440
|
name: string;
|
|
5359
|
-
address?: {
|
|
5360
|
-
full?: string | null;
|
|
5361
|
-
line1?: string | null;
|
|
5362
|
-
line2?: string | null;
|
|
5363
|
-
city?: string | null;
|
|
5364
|
-
/** @deprecated */
|
|
5365
|
-
state?: string | null;
|
|
5366
|
-
postalCode?: string | null;
|
|
5367
|
-
stateCode?: string | null;
|
|
5368
|
-
countryCode?: string | null;
|
|
5369
|
-
} | null;
|
|
5370
5441
|
uniqueRef?: string | null;
|
|
5371
5442
|
} | null;
|
|
5372
5443
|
listingConnection?: {
|
|
@@ -5531,7 +5602,6 @@ export interface operations {
|
|
|
5531
5602
|
/** @description Adjustments are manually added financial lines that are not part of the booking platform */
|
|
5532
5603
|
adjustments?: {
|
|
5533
5604
|
id?: string | null;
|
|
5534
|
-
type?: string;
|
|
5535
5605
|
description?: string | null;
|
|
5536
5606
|
reservationRef?: string | null;
|
|
5537
5607
|
/** @description Value in cents (100 = 1€) */
|
|
@@ -5541,6 +5611,7 @@ export interface operations {
|
|
|
5541
5611
|
metadata?: {
|
|
5542
5612
|
[key: string]: unknown;
|
|
5543
5613
|
} | null;
|
|
5614
|
+
type?: string | null;
|
|
5544
5615
|
/** Format: uuid */
|
|
5545
5616
|
recurringFeeId?: string | null;
|
|
5546
5617
|
/** @enum {string|null} */
|
|
@@ -5580,6 +5651,24 @@ export interface operations {
|
|
|
5580
5651
|
id: string;
|
|
5581
5652
|
hasLockedJournalEntries: boolean;
|
|
5582
5653
|
issues: ({
|
|
5654
|
+
/** @enum {string} */
|
|
5655
|
+
code: "lineNotFound";
|
|
5656
|
+
/** @enum {string} */
|
|
5657
|
+
severity: "error";
|
|
5658
|
+
context: {
|
|
5659
|
+
lineIds: string[];
|
|
5660
|
+
};
|
|
5661
|
+
message: string;
|
|
5662
|
+
} | {
|
|
5663
|
+
/** @enum {string} */
|
|
5664
|
+
code: "unbalancedJournalEntries";
|
|
5665
|
+
/** @enum {string} */
|
|
5666
|
+
severity: "error";
|
|
5667
|
+
context: {
|
|
5668
|
+
difference: number;
|
|
5669
|
+
};
|
|
5670
|
+
message: string;
|
|
5671
|
+
} | {
|
|
5583
5672
|
/** @enum {string} */
|
|
5584
5673
|
code: "unassignedAccount";
|
|
5585
5674
|
/** @enum {string} */
|
|
@@ -5609,6 +5698,21 @@ export interface operations {
|
|
|
5609
5698
|
/** @enum {string} */
|
|
5610
5699
|
severity: "warning";
|
|
5611
5700
|
context: Record<string, never>;
|
|
5701
|
+
} | {
|
|
5702
|
+
/** @enum {string} */
|
|
5703
|
+
code: "guestTotalsZero";
|
|
5704
|
+
/** @enum {string} */
|
|
5705
|
+
severity: "warning";
|
|
5706
|
+
context: Record<string, never>;
|
|
5707
|
+
} | {
|
|
5708
|
+
/** @enum {string} */
|
|
5709
|
+
code: "guestTotalsMismatch";
|
|
5710
|
+
/** @enum {string} */
|
|
5711
|
+
severity: "warning";
|
|
5712
|
+
context: {
|
|
5713
|
+
difference: number;
|
|
5714
|
+
};
|
|
5715
|
+
message: string;
|
|
5612
5716
|
})[];
|
|
5613
5717
|
connection?: {
|
|
5614
5718
|
/** Format: uuid */
|
|
@@ -5617,22 +5721,17 @@ export interface operations {
|
|
|
5617
5721
|
/** @enum {string} */
|
|
5618
5722
|
status: "active" | "inactive";
|
|
5619
5723
|
uniqueRef?: string | null;
|
|
5620
|
-
|
|
5621
|
-
id: string;
|
|
5622
|
-
name: string;
|
|
5623
|
-
icon?: string | null;
|
|
5624
|
-
importers?: string[] | null;
|
|
5625
|
-
extractors?: string[] | null;
|
|
5626
|
-
};
|
|
5724
|
+
appId: string;
|
|
5627
5725
|
} | null;
|
|
5628
5726
|
nights?: number | null;
|
|
5629
|
-
/** @enum {string
|
|
5630
|
-
status
|
|
5727
|
+
/** @enum {string} */
|
|
5728
|
+
status: "booked" | "canceled" | "inactive";
|
|
5631
5729
|
financials: {
|
|
5632
5730
|
totals: {
|
|
5633
5731
|
tax: number;
|
|
5634
5732
|
manager: number;
|
|
5635
5733
|
owner: number;
|
|
5734
|
+
reservation: number;
|
|
5636
5735
|
expense: number;
|
|
5637
5736
|
deposit: number;
|
|
5638
5737
|
guest: number;
|
|
@@ -5646,6 +5745,8 @@ export interface operations {
|
|
|
5646
5745
|
/** @enum {string} */
|
|
5647
5746
|
status: "active" | "inactive";
|
|
5648
5747
|
amount: number;
|
|
5748
|
+
/** @enum {string|null} */
|
|
5749
|
+
inactiveReason?: "reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system" | null;
|
|
5649
5750
|
account?: {
|
|
5650
5751
|
id: string;
|
|
5651
5752
|
name: string;
|
|
@@ -5693,13 +5794,7 @@ export interface operations {
|
|
|
5693
5794
|
/** @enum {string} */
|
|
5694
5795
|
status: "active" | "inactive";
|
|
5695
5796
|
uniqueRef?: string | null;
|
|
5696
|
-
|
|
5697
|
-
id: string;
|
|
5698
|
-
name: string;
|
|
5699
|
-
icon?: string | null;
|
|
5700
|
-
importers?: string[] | null;
|
|
5701
|
-
extractors?: string[] | null;
|
|
5702
|
-
};
|
|
5797
|
+
appId: string;
|
|
5703
5798
|
} | null;
|
|
5704
5799
|
uniqueRef?: string | null;
|
|
5705
5800
|
recurringTemplate?: {
|
|
@@ -5717,17 +5812,6 @@ export interface operations {
|
|
|
5717
5812
|
/** Format: uuid */
|
|
5718
5813
|
id: string;
|
|
5719
5814
|
name: string;
|
|
5720
|
-
address?: {
|
|
5721
|
-
full?: string | null;
|
|
5722
|
-
line1?: string | null;
|
|
5723
|
-
line2?: string | null;
|
|
5724
|
-
city?: string | null;
|
|
5725
|
-
/** @deprecated */
|
|
5726
|
-
state?: string | null;
|
|
5727
|
-
postalCode?: string | null;
|
|
5728
|
-
stateCode?: string | null;
|
|
5729
|
-
countryCode?: string | null;
|
|
5730
|
-
} | null;
|
|
5731
5815
|
uniqueRef?: string | null;
|
|
5732
5816
|
} | null;
|
|
5733
5817
|
listingConnection?: {
|
|
@@ -5773,13 +5857,13 @@ export interface operations {
|
|
|
5773
5857
|
adjustments: {
|
|
5774
5858
|
/** Format: uuid */
|
|
5775
5859
|
id: string;
|
|
5776
|
-
type?: string;
|
|
5777
5860
|
description?: string | null;
|
|
5778
5861
|
/** @description Value in cents (100 = 1€) */
|
|
5779
5862
|
amount: number;
|
|
5780
5863
|
metadata?: {
|
|
5781
5864
|
[key: string]: unknown;
|
|
5782
5865
|
} | null;
|
|
5866
|
+
type?: string | null;
|
|
5783
5867
|
/** @enum {string|null} */
|
|
5784
5868
|
party?: "owners" | "manager" | null;
|
|
5785
5869
|
account?: {
|
|
@@ -5861,7 +5945,7 @@ export interface operations {
|
|
|
5861
5945
|
data: {
|
|
5862
5946
|
/** Format: uuid */
|
|
5863
5947
|
listingId: string;
|
|
5864
|
-
/** @default 2025-11-
|
|
5948
|
+
/** @default 2025-11-25 */
|
|
5865
5949
|
startAt: string;
|
|
5866
5950
|
endAt?: string | null;
|
|
5867
5951
|
setListingInactive?: boolean | null;
|
|
@@ -5943,7 +6027,7 @@ export interface operations {
|
|
|
5943
6027
|
"application/json": {
|
|
5944
6028
|
/** Format: uuid */
|
|
5945
6029
|
listingId: string;
|
|
5946
|
-
/** @default 2025-11-
|
|
6030
|
+
/** @default 2025-11-25 */
|
|
5947
6031
|
startAt?: string;
|
|
5948
6032
|
endAt?: string | null;
|
|
5949
6033
|
members: {
|
|
@@ -5977,7 +6061,7 @@ export interface operations {
|
|
|
5977
6061
|
"application/json": {
|
|
5978
6062
|
/** Format: uuid */
|
|
5979
6063
|
listingId: string;
|
|
5980
|
-
/** @default 2025-11-
|
|
6064
|
+
/** @default 2025-11-25 */
|
|
5981
6065
|
startAt: string;
|
|
5982
6066
|
endAt?: string | null;
|
|
5983
6067
|
setListingInactive?: boolean | null;
|
|
@@ -6057,7 +6141,7 @@ export interface operations {
|
|
|
6057
6141
|
"application/json": {
|
|
6058
6142
|
/** Format: uuid */
|
|
6059
6143
|
listingId: string;
|
|
6060
|
-
/** @default 2025-11-
|
|
6144
|
+
/** @default 2025-11-25 */
|
|
6061
6145
|
startAt: string;
|
|
6062
6146
|
endAt?: string | null;
|
|
6063
6147
|
setListingInactive?: boolean | null;
|
|
@@ -6140,7 +6224,7 @@ export interface operations {
|
|
|
6140
6224
|
"application/json": {
|
|
6141
6225
|
/** Format: uuid */
|
|
6142
6226
|
listingId?: string;
|
|
6143
|
-
/** @default 2025-11-
|
|
6227
|
+
/** @default 2025-11-25 */
|
|
6144
6228
|
startAt?: string;
|
|
6145
6229
|
endAt?: string | null;
|
|
6146
6230
|
members?: {
|
|
@@ -6174,7 +6258,7 @@ export interface operations {
|
|
|
6174
6258
|
"application/json": {
|
|
6175
6259
|
/** Format: uuid */
|
|
6176
6260
|
listingId: string;
|
|
6177
|
-
/** @default 2025-11-
|
|
6261
|
+
/** @default 2025-11-25 */
|
|
6178
6262
|
startAt: string;
|
|
6179
6263
|
endAt?: string | null;
|
|
6180
6264
|
setListingInactive?: boolean | null;
|
|
@@ -6360,7 +6444,7 @@ export interface operations {
|
|
|
6360
6444
|
/** Format: uuid */
|
|
6361
6445
|
sourceId?: string | null;
|
|
6362
6446
|
initialOwnership?: {
|
|
6363
|
-
/** @default 2025-11-
|
|
6447
|
+
/** @default 2025-11-25 */
|
|
6364
6448
|
startAt?: string;
|
|
6365
6449
|
endAt?: string | null;
|
|
6366
6450
|
members: {
|
|
@@ -6418,7 +6502,7 @@ export interface operations {
|
|
|
6418
6502
|
status: "active" | "inactive";
|
|
6419
6503
|
defaultCurrency?: string | null;
|
|
6420
6504
|
activeOwnership?: {
|
|
6421
|
-
/** @default 2025-11-
|
|
6505
|
+
/** @default 2025-11-25 */
|
|
6422
6506
|
startAt: string;
|
|
6423
6507
|
endAt?: string | null;
|
|
6424
6508
|
setListingInactive?: boolean | null;
|
|
@@ -6659,7 +6743,7 @@ export interface operations {
|
|
|
6659
6743
|
status: "active" | "inactive";
|
|
6660
6744
|
defaultCurrency?: string | null;
|
|
6661
6745
|
activeOwnership?: {
|
|
6662
|
-
/** @default 2025-11-
|
|
6746
|
+
/** @default 2025-11-25 */
|
|
6663
6747
|
startAt: string;
|
|
6664
6748
|
endAt?: string | null;
|
|
6665
6749
|
setListingInactive?: boolean | null;
|
|
@@ -6798,7 +6882,7 @@ export interface operations {
|
|
|
6798
6882
|
/** Format: uuid */
|
|
6799
6883
|
sourceId?: string | null;
|
|
6800
6884
|
initialOwnership?: {
|
|
6801
|
-
/** @default 2025-11-
|
|
6885
|
+
/** @default 2025-11-25 */
|
|
6802
6886
|
startAt?: string;
|
|
6803
6887
|
endAt?: string | null;
|
|
6804
6888
|
members: {
|
|
@@ -6852,7 +6936,7 @@ export interface operations {
|
|
|
6852
6936
|
status: "active" | "inactive";
|
|
6853
6937
|
defaultCurrency?: string | null;
|
|
6854
6938
|
activeOwnership?: {
|
|
6855
|
-
/** @default 2025-11-
|
|
6939
|
+
/** @default 2025-11-25 */
|
|
6856
6940
|
startAt: string;
|
|
6857
6941
|
endAt?: string | null;
|
|
6858
6942
|
setListingInactive?: boolean | null;
|
|
@@ -7069,7 +7153,7 @@ export interface operations {
|
|
|
7069
7153
|
status: "active" | "inactive";
|
|
7070
7154
|
defaultCurrency?: string | null;
|
|
7071
7155
|
activeOwnership?: {
|
|
7072
|
-
/** @default 2025-11-
|
|
7156
|
+
/** @default 2025-11-25 */
|
|
7073
7157
|
startAt: string;
|
|
7074
7158
|
endAt?: string | null;
|
|
7075
7159
|
setListingInactive?: boolean | null;
|
|
@@ -7216,7 +7300,7 @@ export interface operations {
|
|
|
7216
7300
|
/** Format: uuid */
|
|
7217
7301
|
sourceId?: string | null;
|
|
7218
7302
|
initialOwnership?: {
|
|
7219
|
-
/** @default 2025-11-
|
|
7303
|
+
/** @default 2025-11-25 */
|
|
7220
7304
|
startAt?: string;
|
|
7221
7305
|
endAt?: string | null;
|
|
7222
7306
|
members: {
|
|
@@ -7270,7 +7354,7 @@ export interface operations {
|
|
|
7270
7354
|
status: "active" | "inactive";
|
|
7271
7355
|
defaultCurrency?: string | null;
|
|
7272
7356
|
activeOwnership?: {
|
|
7273
|
-
/** @default 2025-11-
|
|
7357
|
+
/** @default 2025-11-25 */
|
|
7274
7358
|
startAt: string;
|
|
7275
7359
|
endAt?: string | null;
|
|
7276
7360
|
setListingInactive?: boolean | null;
|
|
@@ -7913,6 +7997,7 @@ export interface operations {
|
|
|
7913
7997
|
countryCode?: string | null;
|
|
7914
7998
|
} | null;
|
|
7915
7999
|
phone?: string | null;
|
|
8000
|
+
/** Format: email */
|
|
7916
8001
|
email?: string | null;
|
|
7917
8002
|
taxId?: string | null;
|
|
7918
8003
|
partner?: {
|
|
@@ -7929,7 +8014,7 @@ export interface operations {
|
|
|
7929
8014
|
/** @enum {string} */
|
|
7930
8015
|
type: "partner" | "admin" | "propertyManager";
|
|
7931
8016
|
/** @enum {string} */
|
|
7932
|
-
status: "active" | "inactive";
|
|
8017
|
+
status: "active" | "inactive" | "deleted" | "onboarding";
|
|
7933
8018
|
billingSubscriptionStatus?: string | null;
|
|
7934
8019
|
billingPlan?: string | null;
|
|
7935
8020
|
createdAt?: string | null;
|
|
@@ -7952,6 +8037,7 @@ export interface operations {
|
|
|
7952
8037
|
statementStartAt?: string | null;
|
|
7953
8038
|
members?: {
|
|
7954
8039
|
userId: string;
|
|
8040
|
+
/** Format: email */
|
|
7955
8041
|
email?: string | null;
|
|
7956
8042
|
role: string;
|
|
7957
8043
|
name?: string | null;
|
|
@@ -8049,6 +8135,7 @@ export interface operations {
|
|
|
8049
8135
|
countryCode?: string | null;
|
|
8050
8136
|
} | null;
|
|
8051
8137
|
phone?: string | null;
|
|
8138
|
+
/** Format: email */
|
|
8052
8139
|
email?: string | null;
|
|
8053
8140
|
taxId?: string | null;
|
|
8054
8141
|
companyName?: string | null;
|
|
@@ -8122,6 +8209,7 @@ export interface operations {
|
|
|
8122
8209
|
countryCode?: string | null;
|
|
8123
8210
|
} | null;
|
|
8124
8211
|
phone?: string | null;
|
|
8212
|
+
/** Format: email */
|
|
8125
8213
|
email?: string | null;
|
|
8126
8214
|
taxId?: string | null;
|
|
8127
8215
|
partner?: {
|
|
@@ -8138,7 +8226,7 @@ export interface operations {
|
|
|
8138
8226
|
/** @enum {string} */
|
|
8139
8227
|
type: "partner" | "admin" | "propertyManager";
|
|
8140
8228
|
/** @enum {string} */
|
|
8141
|
-
status: "active" | "inactive";
|
|
8229
|
+
status: "active" | "inactive" | "deleted" | "onboarding";
|
|
8142
8230
|
billingSubscriptionStatus?: string | null;
|
|
8143
8231
|
billingPlan?: string | null;
|
|
8144
8232
|
createdAt?: string | null;
|
|
@@ -8161,6 +8249,7 @@ export interface operations {
|
|
|
8161
8249
|
statementStartAt?: string | null;
|
|
8162
8250
|
members?: {
|
|
8163
8251
|
userId: string;
|
|
8252
|
+
/** Format: email */
|
|
8164
8253
|
email?: string | null;
|
|
8165
8254
|
role: string;
|
|
8166
8255
|
name?: string | null;
|
|
@@ -8342,6 +8431,7 @@ export interface operations {
|
|
|
8342
8431
|
countryCode?: string | null;
|
|
8343
8432
|
} | null;
|
|
8344
8433
|
phone?: string | null;
|
|
8434
|
+
/** Format: email */
|
|
8345
8435
|
email?: string | null;
|
|
8346
8436
|
taxId?: string | null;
|
|
8347
8437
|
partner?: {
|
|
@@ -8358,7 +8448,7 @@ export interface operations {
|
|
|
8358
8448
|
/** @enum {string} */
|
|
8359
8449
|
type: "partner" | "admin" | "propertyManager";
|
|
8360
8450
|
/** @enum {string} */
|
|
8361
|
-
status: "active" | "inactive";
|
|
8451
|
+
status: "active" | "inactive" | "deleted" | "onboarding";
|
|
8362
8452
|
billingSubscriptionStatus?: string | null;
|
|
8363
8453
|
billingPlan?: string | null;
|
|
8364
8454
|
createdAt?: string | null;
|
|
@@ -8381,6 +8471,7 @@ export interface operations {
|
|
|
8381
8471
|
statementStartAt?: string | null;
|
|
8382
8472
|
members?: {
|
|
8383
8473
|
userId: string;
|
|
8474
|
+
/** Format: email */
|
|
8384
8475
|
email?: string | null;
|
|
8385
8476
|
role: string;
|
|
8386
8477
|
name?: string | null;
|
|
@@ -8484,13 +8575,14 @@ export interface operations {
|
|
|
8484
8575
|
countryCode?: string | null;
|
|
8485
8576
|
} | null;
|
|
8486
8577
|
phone?: string | null;
|
|
8578
|
+
/** Format: email */
|
|
8487
8579
|
email?: string | null;
|
|
8488
8580
|
taxId?: string | null;
|
|
8489
8581
|
companyName?: string | null;
|
|
8490
8582
|
/** @enum {string} */
|
|
8491
8583
|
type?: "partner" | "admin" | "propertyManager";
|
|
8492
8584
|
/** @enum {string} */
|
|
8493
|
-
status?: "active" | "inactive";
|
|
8585
|
+
status?: "active" | "inactive" | "deleted" | "onboarding";
|
|
8494
8586
|
billingSubscriptionStatus?: string | null;
|
|
8495
8587
|
billingPlan?: string | null;
|
|
8496
8588
|
trialUntil?: string | null;
|
|
@@ -8503,7 +8595,7 @@ export interface operations {
|
|
|
8503
8595
|
taxRateCountryOverwrite?: string | null;
|
|
8504
8596
|
copyFromTeamId?: string;
|
|
8505
8597
|
copyLineMappingsFromPartnerId?: string | null;
|
|
8506
|
-
include?: ("statementLayouts" | "recurringFees" | "accounts" | "taxRates")[];
|
|
8598
|
+
include?: ("statementLayouts" | "recurringFees" | "accounts" | "taxRates" | "lineMappings")[];
|
|
8507
8599
|
} | boolean;
|
|
8508
8600
|
partnerId?: string | null;
|
|
8509
8601
|
billingPartnerId?: string | null;
|
|
@@ -8552,6 +8644,7 @@ export interface operations {
|
|
|
8552
8644
|
countryCode?: string | null;
|
|
8553
8645
|
} | null;
|
|
8554
8646
|
phone?: string | null;
|
|
8647
|
+
/** Format: email */
|
|
8555
8648
|
email?: string | null;
|
|
8556
8649
|
taxId?: string | null;
|
|
8557
8650
|
partner?: {
|
|
@@ -8568,7 +8661,7 @@ export interface operations {
|
|
|
8568
8661
|
/** @enum {string} */
|
|
8569
8662
|
type: "partner" | "admin" | "propertyManager";
|
|
8570
8663
|
/** @enum {string} */
|
|
8571
|
-
status: "active" | "inactive";
|
|
8664
|
+
status: "active" | "inactive" | "deleted" | "onboarding";
|
|
8572
8665
|
billingSubscriptionStatus?: string | null;
|
|
8573
8666
|
billingPlan?: string | null;
|
|
8574
8667
|
createdAt?: string | null;
|
|
@@ -8591,6 +8684,7 @@ export interface operations {
|
|
|
8591
8684
|
statementStartAt?: string | null;
|
|
8592
8685
|
members?: {
|
|
8593
8686
|
userId: string;
|
|
8687
|
+
/** Format: email */
|
|
8594
8688
|
email?: string | null;
|
|
8595
8689
|
role: string;
|
|
8596
8690
|
name?: string | null;
|
|
@@ -8654,7 +8748,7 @@ export interface operations {
|
|
|
8654
8748
|
taxRateCountryOverwrite?: string | null;
|
|
8655
8749
|
copyFromTeamId?: string;
|
|
8656
8750
|
copyLineMappingsFromPartnerId?: string | null;
|
|
8657
|
-
include?: ("statementLayouts" | "recurringFees" | "accounts" | "taxRates")[];
|
|
8751
|
+
include?: ("statementLayouts" | "recurringFees" | "accounts" | "taxRates" | "lineMappings")[];
|
|
8658
8752
|
};
|
|
8659
8753
|
};
|
|
8660
8754
|
};
|
|
@@ -8696,6 +8790,7 @@ export interface operations {
|
|
|
8696
8790
|
countryCode?: string | null;
|
|
8697
8791
|
} | null;
|
|
8698
8792
|
phone?: string | null;
|
|
8793
|
+
/** Format: email */
|
|
8699
8794
|
email?: string | null;
|
|
8700
8795
|
taxId?: string | null;
|
|
8701
8796
|
partner?: {
|
|
@@ -8712,7 +8807,7 @@ export interface operations {
|
|
|
8712
8807
|
/** @enum {string} */
|
|
8713
8808
|
type: "partner" | "admin" | "propertyManager";
|
|
8714
8809
|
/** @enum {string} */
|
|
8715
|
-
status: "active" | "inactive";
|
|
8810
|
+
status: "active" | "inactive" | "deleted" | "onboarding";
|
|
8716
8811
|
billingSubscriptionStatus?: string | null;
|
|
8717
8812
|
billingPlan?: string | null;
|
|
8718
8813
|
createdAt?: string | null;
|
|
@@ -8735,6 +8830,7 @@ export interface operations {
|
|
|
8735
8830
|
statementStartAt?: string | null;
|
|
8736
8831
|
members?: {
|
|
8737
8832
|
userId: string;
|
|
8833
|
+
/** Format: email */
|
|
8738
8834
|
email?: string | null;
|
|
8739
8835
|
role: string;
|
|
8740
8836
|
name?: string | null;
|
|
@@ -8968,6 +9064,13 @@ export interface operations {
|
|
|
8968
9064
|
bookingChannelsFilter?: string[] | null;
|
|
8969
9065
|
/** @enum {string|null} */
|
|
8970
9066
|
statusFilter?: "canceled" | "booked" | null;
|
|
9067
|
+
listingSubscriptions?: {
|
|
9068
|
+
listingId: string;
|
|
9069
|
+
startAt?: string | null;
|
|
9070
|
+
endAt?: string | null;
|
|
9071
|
+
/** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
|
|
9072
|
+
rate?: number | null;
|
|
9073
|
+
}[] | null;
|
|
8971
9074
|
id?: string | null;
|
|
8972
9075
|
reservationId: string;
|
|
8973
9076
|
};
|
|
@@ -8985,6 +9088,7 @@ export interface operations {
|
|
|
8985
9088
|
tax: number;
|
|
8986
9089
|
manager: number;
|
|
8987
9090
|
owner: number;
|
|
9091
|
+
reservation: number;
|
|
8988
9092
|
expense: number;
|
|
8989
9093
|
deposit: number;
|
|
8990
9094
|
guest: number;
|
|
@@ -8999,6 +9103,8 @@ export interface operations {
|
|
|
8999
9103
|
/** @enum {string} */
|
|
9000
9104
|
status: "active" | "inactive";
|
|
9001
9105
|
amount: number;
|
|
9106
|
+
/** @enum {string|null} */
|
|
9107
|
+
inactiveReason?: "reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system" | null;
|
|
9002
9108
|
fee: number;
|
|
9003
9109
|
account?: {
|
|
9004
9110
|
id: string;
|
|
@@ -9047,13 +9153,7 @@ export interface operations {
|
|
|
9047
9153
|
/** @enum {string} */
|
|
9048
9154
|
status: "active" | "inactive";
|
|
9049
9155
|
uniqueRef?: string | null;
|
|
9050
|
-
|
|
9051
|
-
id: string;
|
|
9052
|
-
name: string;
|
|
9053
|
-
icon?: string | null;
|
|
9054
|
-
importers?: string[] | null;
|
|
9055
|
-
extractors?: string[] | null;
|
|
9056
|
-
};
|
|
9156
|
+
appId: string;
|
|
9057
9157
|
} | null;
|
|
9058
9158
|
uniqueRef?: string | null;
|
|
9059
9159
|
recurringTemplate?: {
|
|
@@ -9616,21 +9716,10 @@ export interface operations {
|
|
|
9616
9716
|
status: "active" | "inactive";
|
|
9617
9717
|
}[];
|
|
9618
9718
|
taxRate?: {
|
|
9719
|
+
id: string;
|
|
9619
9720
|
name: string;
|
|
9620
|
-
countryCode?: string | null;
|
|
9621
|
-
currency?: string | null;
|
|
9622
9721
|
/** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
|
|
9623
9722
|
basisPoints: number;
|
|
9624
|
-
/** @enum {string|null} */
|
|
9625
|
-
type?: "markup" | "tax" | null;
|
|
9626
|
-
uniqueRef?: string | null;
|
|
9627
|
-
/** @enum {string|null} */
|
|
9628
|
-
status?: "active" | "inactive" | null;
|
|
9629
|
-
/** Format: uuid */
|
|
9630
|
-
accountId?: string | null;
|
|
9631
|
-
/** Format: uuid */
|
|
9632
|
-
debitAccountId?: string | null;
|
|
9633
|
-
id: string;
|
|
9634
9723
|
} | null;
|
|
9635
9724
|
};
|
|
9636
9725
|
};
|
|
@@ -9725,6 +9814,13 @@ export interface operations {
|
|
|
9725
9814
|
bookingChannelsFilter?: string[] | null;
|
|
9726
9815
|
/** @enum {string|null} */
|
|
9727
9816
|
statusFilter?: "canceled" | "booked" | null;
|
|
9817
|
+
listingSubscriptions?: {
|
|
9818
|
+
listingId: string;
|
|
9819
|
+
startAt?: string | null;
|
|
9820
|
+
endAt?: string | null;
|
|
9821
|
+
/** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
|
|
9822
|
+
rate?: number | null;
|
|
9823
|
+
}[] | null;
|
|
9728
9824
|
};
|
|
9729
9825
|
};
|
|
9730
9826
|
};
|
|
@@ -9785,21 +9881,10 @@ export interface operations {
|
|
|
9785
9881
|
status: "active" | "inactive";
|
|
9786
9882
|
}[];
|
|
9787
9883
|
taxRate?: {
|
|
9884
|
+
id: string;
|
|
9788
9885
|
name: string;
|
|
9789
|
-
countryCode?: string | null;
|
|
9790
|
-
currency?: string | null;
|
|
9791
9886
|
/** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
|
|
9792
9887
|
basisPoints: number;
|
|
9793
|
-
/** @enum {string|null} */
|
|
9794
|
-
type?: "markup" | "tax" | null;
|
|
9795
|
-
uniqueRef?: string | null;
|
|
9796
|
-
/** @enum {string|null} */
|
|
9797
|
-
status?: "active" | "inactive" | null;
|
|
9798
|
-
/** Format: uuid */
|
|
9799
|
-
accountId?: string | null;
|
|
9800
|
-
/** Format: uuid */
|
|
9801
|
-
debitAccountId?: string | null;
|
|
9802
|
-
id: string;
|
|
9803
9888
|
} | null;
|
|
9804
9889
|
};
|
|
9805
9890
|
};
|
|
@@ -9993,21 +10078,10 @@ export interface operations {
|
|
|
9993
10078
|
status: "active" | "inactive";
|
|
9994
10079
|
}[];
|
|
9995
10080
|
taxRate?: {
|
|
10081
|
+
id: string;
|
|
9996
10082
|
name: string;
|
|
9997
|
-
countryCode?: string | null;
|
|
9998
|
-
currency?: string | null;
|
|
9999
10083
|
/** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
|
|
10000
10084
|
basisPoints: number;
|
|
10001
|
-
/** @enum {string|null} */
|
|
10002
|
-
type?: "markup" | "tax" | null;
|
|
10003
|
-
uniqueRef?: string | null;
|
|
10004
|
-
/** @enum {string|null} */
|
|
10005
|
-
status?: "active" | "inactive" | null;
|
|
10006
|
-
/** Format: uuid */
|
|
10007
|
-
accountId?: string | null;
|
|
10008
|
-
/** Format: uuid */
|
|
10009
|
-
debitAccountId?: string | null;
|
|
10010
|
-
id: string;
|
|
10011
10085
|
} | null;
|
|
10012
10086
|
}[];
|
|
10013
10087
|
pagination: {
|
|
@@ -10110,6 +10184,13 @@ export interface operations {
|
|
|
10110
10184
|
bookingChannelsFilter?: string[] | null;
|
|
10111
10185
|
/** @enum {string|null} */
|
|
10112
10186
|
statusFilter?: "canceled" | "booked" | null;
|
|
10187
|
+
listingSubscriptions?: {
|
|
10188
|
+
listingId: string;
|
|
10189
|
+
startAt?: string | null;
|
|
10190
|
+
endAt?: string | null;
|
|
10191
|
+
/** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
|
|
10192
|
+
rate?: number | null;
|
|
10193
|
+
}[] | null;
|
|
10113
10194
|
};
|
|
10114
10195
|
};
|
|
10115
10196
|
};
|
|
@@ -10170,21 +10251,10 @@ export interface operations {
|
|
|
10170
10251
|
status: "active" | "inactive";
|
|
10171
10252
|
}[];
|
|
10172
10253
|
taxRate?: {
|
|
10254
|
+
id: string;
|
|
10173
10255
|
name: string;
|
|
10174
|
-
countryCode?: string | null;
|
|
10175
|
-
currency?: string | null;
|
|
10176
10256
|
/** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
|
|
10177
10257
|
basisPoints: number;
|
|
10178
|
-
/** @enum {string|null} */
|
|
10179
|
-
type?: "markup" | "tax" | null;
|
|
10180
|
-
uniqueRef?: string | null;
|
|
10181
|
-
/** @enum {string|null} */
|
|
10182
|
-
status?: "active" | "inactive" | null;
|
|
10183
|
-
/** Format: uuid */
|
|
10184
|
-
accountId?: string | null;
|
|
10185
|
-
/** Format: uuid */
|
|
10186
|
-
debitAccountId?: string | null;
|
|
10187
|
-
id: string;
|
|
10188
10258
|
} | null;
|
|
10189
10259
|
};
|
|
10190
10260
|
};
|
|
@@ -10258,13 +10328,13 @@ export interface operations {
|
|
|
10258
10328
|
name: string;
|
|
10259
10329
|
locked?: boolean | null;
|
|
10260
10330
|
/** @enum {string|null} */
|
|
10261
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10331
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10262
10332
|
columns: ({
|
|
10263
10333
|
id?: string | null;
|
|
10264
10334
|
name: string;
|
|
10265
10335
|
locked?: boolean | null;
|
|
10266
10336
|
/** @enum {string|null} */
|
|
10267
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10337
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10268
10338
|
/** @enum {string} */
|
|
10269
10339
|
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
10270
10340
|
value: string;
|
|
@@ -10273,7 +10343,7 @@ export interface operations {
|
|
|
10273
10343
|
name: string;
|
|
10274
10344
|
locked?: boolean | null;
|
|
10275
10345
|
/** @enum {string|null} */
|
|
10276
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10346
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10277
10347
|
/** @enum {string} */
|
|
10278
10348
|
type: "accounts";
|
|
10279
10349
|
value: string[];
|
|
@@ -10284,13 +10354,13 @@ export interface operations {
|
|
|
10284
10354
|
name: string;
|
|
10285
10355
|
locked?: boolean | null;
|
|
10286
10356
|
/** @enum {string|null} */
|
|
10287
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10357
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10288
10358
|
columns: ({
|
|
10289
10359
|
id?: string | null;
|
|
10290
10360
|
name: string;
|
|
10291
10361
|
locked?: boolean | null;
|
|
10292
10362
|
/** @enum {string|null} */
|
|
10293
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10363
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10294
10364
|
/** @enum {string} */
|
|
10295
10365
|
type: "field";
|
|
10296
10366
|
value: string;
|
|
@@ -10299,7 +10369,7 @@ export interface operations {
|
|
|
10299
10369
|
name: string;
|
|
10300
10370
|
locked?: boolean | null;
|
|
10301
10371
|
/** @enum {string|null} */
|
|
10302
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10372
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10303
10373
|
/** @enum {string} */
|
|
10304
10374
|
type: "accounts";
|
|
10305
10375
|
value: string[];
|
|
@@ -10323,13 +10393,13 @@ export interface operations {
|
|
|
10323
10393
|
name: string;
|
|
10324
10394
|
locked?: boolean | null;
|
|
10325
10395
|
/** @enum {string|null} */
|
|
10326
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10396
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10327
10397
|
columns: ({
|
|
10328
10398
|
id?: string | null;
|
|
10329
10399
|
name: string;
|
|
10330
10400
|
locked?: boolean | null;
|
|
10331
10401
|
/** @enum {string|null} */
|
|
10332
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10402
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10333
10403
|
/** @enum {string} */
|
|
10334
10404
|
type: "field";
|
|
10335
10405
|
value: string;
|
|
@@ -10338,7 +10408,7 @@ export interface operations {
|
|
|
10338
10408
|
name: string;
|
|
10339
10409
|
locked?: boolean | null;
|
|
10340
10410
|
/** @enum {string|null} */
|
|
10341
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10411
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10342
10412
|
/** @enum {string} */
|
|
10343
10413
|
type: "accounts";
|
|
10344
10414
|
value: string[];
|
|
@@ -10426,13 +10496,13 @@ export interface operations {
|
|
|
10426
10496
|
name: string;
|
|
10427
10497
|
locked?: boolean | null;
|
|
10428
10498
|
/** @enum {string|null} */
|
|
10429
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10499
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10430
10500
|
columns: ({
|
|
10431
10501
|
id?: string | null;
|
|
10432
10502
|
name: string;
|
|
10433
10503
|
locked?: boolean | null;
|
|
10434
10504
|
/** @enum {string|null} */
|
|
10435
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10505
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10436
10506
|
/** @enum {string} */
|
|
10437
10507
|
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
10438
10508
|
value: string;
|
|
@@ -10441,7 +10511,7 @@ export interface operations {
|
|
|
10441
10511
|
name: string;
|
|
10442
10512
|
locked?: boolean | null;
|
|
10443
10513
|
/** @enum {string|null} */
|
|
10444
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10514
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10445
10515
|
/** @enum {string} */
|
|
10446
10516
|
type: "accounts";
|
|
10447
10517
|
value: string[];
|
|
@@ -10452,13 +10522,13 @@ export interface operations {
|
|
|
10452
10522
|
name: string;
|
|
10453
10523
|
locked?: boolean | null;
|
|
10454
10524
|
/** @enum {string|null} */
|
|
10455
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10525
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10456
10526
|
columns: ({
|
|
10457
10527
|
id?: string | null;
|
|
10458
10528
|
name: string;
|
|
10459
10529
|
locked?: boolean | null;
|
|
10460
10530
|
/** @enum {string|null} */
|
|
10461
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10531
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10462
10532
|
/** @enum {string} */
|
|
10463
10533
|
type: "field";
|
|
10464
10534
|
value: string;
|
|
@@ -10467,7 +10537,7 @@ export interface operations {
|
|
|
10467
10537
|
name: string;
|
|
10468
10538
|
locked?: boolean | null;
|
|
10469
10539
|
/** @enum {string|null} */
|
|
10470
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10540
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10471
10541
|
/** @enum {string} */
|
|
10472
10542
|
type: "accounts";
|
|
10473
10543
|
value: string[];
|
|
@@ -10493,13 +10563,13 @@ export interface operations {
|
|
|
10493
10563
|
name: string;
|
|
10494
10564
|
locked?: boolean | null;
|
|
10495
10565
|
/** @enum {string|null} */
|
|
10496
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10566
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10497
10567
|
columns: ({
|
|
10498
10568
|
id?: string | null;
|
|
10499
10569
|
name: string;
|
|
10500
10570
|
locked?: boolean | null;
|
|
10501
10571
|
/** @enum {string|null} */
|
|
10502
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10572
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10503
10573
|
/** @enum {string} */
|
|
10504
10574
|
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
10505
10575
|
value: string;
|
|
@@ -10508,7 +10578,7 @@ export interface operations {
|
|
|
10508
10578
|
name: string;
|
|
10509
10579
|
locked?: boolean | null;
|
|
10510
10580
|
/** @enum {string|null} */
|
|
10511
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10581
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10512
10582
|
/** @enum {string} */
|
|
10513
10583
|
type: "accounts";
|
|
10514
10584
|
value: string[];
|
|
@@ -10519,13 +10589,13 @@ export interface operations {
|
|
|
10519
10589
|
name: string;
|
|
10520
10590
|
locked?: boolean | null;
|
|
10521
10591
|
/** @enum {string|null} */
|
|
10522
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10592
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10523
10593
|
columns: ({
|
|
10524
10594
|
id?: string | null;
|
|
10525
10595
|
name: string;
|
|
10526
10596
|
locked?: boolean | null;
|
|
10527
10597
|
/** @enum {string|null} */
|
|
10528
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10598
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10529
10599
|
/** @enum {string} */
|
|
10530
10600
|
type: "field";
|
|
10531
10601
|
value: string;
|
|
@@ -10534,7 +10604,7 @@ export interface operations {
|
|
|
10534
10604
|
name: string;
|
|
10535
10605
|
locked?: boolean | null;
|
|
10536
10606
|
/** @enum {string|null} */
|
|
10537
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10607
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10538
10608
|
/** @enum {string} */
|
|
10539
10609
|
type: "accounts";
|
|
10540
10610
|
value: string[];
|
|
@@ -10558,13 +10628,13 @@ export interface operations {
|
|
|
10558
10628
|
name: string;
|
|
10559
10629
|
locked?: boolean | null;
|
|
10560
10630
|
/** @enum {string|null} */
|
|
10561
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10631
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10562
10632
|
columns: ({
|
|
10563
10633
|
id?: string | null;
|
|
10564
10634
|
name: string;
|
|
10565
10635
|
locked?: boolean | null;
|
|
10566
10636
|
/** @enum {string|null} */
|
|
10567
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10637
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10568
10638
|
/** @enum {string} */
|
|
10569
10639
|
type: "field";
|
|
10570
10640
|
value: string;
|
|
@@ -10573,7 +10643,7 @@ export interface operations {
|
|
|
10573
10643
|
name: string;
|
|
10574
10644
|
locked?: boolean | null;
|
|
10575
10645
|
/** @enum {string|null} */
|
|
10576
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10646
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10577
10647
|
/** @enum {string} */
|
|
10578
10648
|
type: "accounts";
|
|
10579
10649
|
value: string[];
|
|
@@ -10649,13 +10719,13 @@ export interface operations {
|
|
|
10649
10719
|
name: string;
|
|
10650
10720
|
locked?: boolean | null;
|
|
10651
10721
|
/** @enum {string|null} */
|
|
10652
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10722
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10653
10723
|
columns: ({
|
|
10654
10724
|
id?: string | null;
|
|
10655
10725
|
name: string;
|
|
10656
10726
|
locked?: boolean | null;
|
|
10657
10727
|
/** @enum {string|null} */
|
|
10658
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10728
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10659
10729
|
/** @enum {string} */
|
|
10660
10730
|
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
10661
10731
|
value: string;
|
|
@@ -10664,7 +10734,7 @@ export interface operations {
|
|
|
10664
10734
|
name: string;
|
|
10665
10735
|
locked?: boolean | null;
|
|
10666
10736
|
/** @enum {string|null} */
|
|
10667
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10737
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10668
10738
|
/** @enum {string} */
|
|
10669
10739
|
type: "accounts";
|
|
10670
10740
|
value: string[];
|
|
@@ -10675,13 +10745,13 @@ export interface operations {
|
|
|
10675
10745
|
name: string;
|
|
10676
10746
|
locked?: boolean | null;
|
|
10677
10747
|
/** @enum {string|null} */
|
|
10678
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10748
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10679
10749
|
columns: ({
|
|
10680
10750
|
id?: string | null;
|
|
10681
10751
|
name: string;
|
|
10682
10752
|
locked?: boolean | null;
|
|
10683
10753
|
/** @enum {string|null} */
|
|
10684
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10754
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10685
10755
|
/** @enum {string} */
|
|
10686
10756
|
type: "field";
|
|
10687
10757
|
value: string;
|
|
@@ -10690,7 +10760,7 @@ export interface operations {
|
|
|
10690
10760
|
name: string;
|
|
10691
10761
|
locked?: boolean | null;
|
|
10692
10762
|
/** @enum {string|null} */
|
|
10693
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10763
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10694
10764
|
/** @enum {string} */
|
|
10695
10765
|
type: "accounts";
|
|
10696
10766
|
value: string[];
|
|
@@ -10714,13 +10784,13 @@ export interface operations {
|
|
|
10714
10784
|
name: string;
|
|
10715
10785
|
locked?: boolean | null;
|
|
10716
10786
|
/** @enum {string|null} */
|
|
10717
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10787
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10718
10788
|
columns: ({
|
|
10719
10789
|
id?: string | null;
|
|
10720
10790
|
name: string;
|
|
10721
10791
|
locked?: boolean | null;
|
|
10722
10792
|
/** @enum {string|null} */
|
|
10723
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10793
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10724
10794
|
/** @enum {string} */
|
|
10725
10795
|
type: "field";
|
|
10726
10796
|
value: string;
|
|
@@ -10729,7 +10799,7 @@ export interface operations {
|
|
|
10729
10799
|
name: string;
|
|
10730
10800
|
locked?: boolean | null;
|
|
10731
10801
|
/** @enum {string|null} */
|
|
10732
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10802
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10733
10803
|
/** @enum {string} */
|
|
10734
10804
|
type: "accounts";
|
|
10735
10805
|
value: string[];
|
|
@@ -10809,13 +10879,13 @@ export interface operations {
|
|
|
10809
10879
|
name: string;
|
|
10810
10880
|
locked?: boolean | null;
|
|
10811
10881
|
/** @enum {string|null} */
|
|
10812
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10882
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10813
10883
|
columns: ({
|
|
10814
10884
|
id?: string | null;
|
|
10815
10885
|
name: string;
|
|
10816
10886
|
locked?: boolean | null;
|
|
10817
10887
|
/** @enum {string|null} */
|
|
10818
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10888
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10819
10889
|
/** @enum {string} */
|
|
10820
10890
|
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
10821
10891
|
value: string;
|
|
@@ -10824,7 +10894,7 @@ export interface operations {
|
|
|
10824
10894
|
name: string;
|
|
10825
10895
|
locked?: boolean | null;
|
|
10826
10896
|
/** @enum {string|null} */
|
|
10827
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10897
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10828
10898
|
/** @enum {string} */
|
|
10829
10899
|
type: "accounts";
|
|
10830
10900
|
value: string[];
|
|
@@ -10835,13 +10905,13 @@ export interface operations {
|
|
|
10835
10905
|
name: string;
|
|
10836
10906
|
locked?: boolean | null;
|
|
10837
10907
|
/** @enum {string|null} */
|
|
10838
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10908
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10839
10909
|
columns: ({
|
|
10840
10910
|
id?: string | null;
|
|
10841
10911
|
name: string;
|
|
10842
10912
|
locked?: boolean | null;
|
|
10843
10913
|
/** @enum {string|null} */
|
|
10844
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10914
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10845
10915
|
/** @enum {string} */
|
|
10846
10916
|
type: "field";
|
|
10847
10917
|
value: string;
|
|
@@ -10850,7 +10920,7 @@ export interface operations {
|
|
|
10850
10920
|
name: string;
|
|
10851
10921
|
locked?: boolean | null;
|
|
10852
10922
|
/** @enum {string|null} */
|
|
10853
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10923
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10854
10924
|
/** @enum {string} */
|
|
10855
10925
|
type: "accounts";
|
|
10856
10926
|
value: string[];
|
|
@@ -10876,13 +10946,13 @@ export interface operations {
|
|
|
10876
10946
|
name: string;
|
|
10877
10947
|
locked?: boolean | null;
|
|
10878
10948
|
/** @enum {string|null} */
|
|
10879
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10949
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10880
10950
|
columns: ({
|
|
10881
10951
|
id?: string | null;
|
|
10882
10952
|
name: string;
|
|
10883
10953
|
locked?: boolean | null;
|
|
10884
10954
|
/** @enum {string|null} */
|
|
10885
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10955
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10886
10956
|
/** @enum {string} */
|
|
10887
10957
|
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
10888
10958
|
value: string;
|
|
@@ -10891,7 +10961,7 @@ export interface operations {
|
|
|
10891
10961
|
name: string;
|
|
10892
10962
|
locked?: boolean | null;
|
|
10893
10963
|
/** @enum {string|null} */
|
|
10894
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10964
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10895
10965
|
/** @enum {string} */
|
|
10896
10966
|
type: "accounts";
|
|
10897
10967
|
value: string[];
|
|
@@ -10902,13 +10972,13 @@ export interface operations {
|
|
|
10902
10972
|
name: string;
|
|
10903
10973
|
locked?: boolean | null;
|
|
10904
10974
|
/** @enum {string|null} */
|
|
10905
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10975
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10906
10976
|
columns: ({
|
|
10907
10977
|
id?: string | null;
|
|
10908
10978
|
name: string;
|
|
10909
10979
|
locked?: boolean | null;
|
|
10910
10980
|
/** @enum {string|null} */
|
|
10911
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10981
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10912
10982
|
/** @enum {string} */
|
|
10913
10983
|
type: "field";
|
|
10914
10984
|
value: string;
|
|
@@ -10917,7 +10987,7 @@ export interface operations {
|
|
|
10917
10987
|
name: string;
|
|
10918
10988
|
locked?: boolean | null;
|
|
10919
10989
|
/** @enum {string|null} */
|
|
10920
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10990
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10921
10991
|
/** @enum {string} */
|
|
10922
10992
|
type: "accounts";
|
|
10923
10993
|
value: string[];
|
|
@@ -10941,13 +11011,13 @@ export interface operations {
|
|
|
10941
11011
|
name: string;
|
|
10942
11012
|
locked?: boolean | null;
|
|
10943
11013
|
/** @enum {string|null} */
|
|
10944
|
-
visible?: "all" | "manager" | "none" | null;
|
|
11014
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10945
11015
|
columns: ({
|
|
10946
11016
|
id?: string | null;
|
|
10947
11017
|
name: string;
|
|
10948
11018
|
locked?: boolean | null;
|
|
10949
11019
|
/** @enum {string|null} */
|
|
10950
|
-
visible?: "all" | "manager" | "none" | null;
|
|
11020
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10951
11021
|
/** @enum {string} */
|
|
10952
11022
|
type: "field";
|
|
10953
11023
|
value: string;
|
|
@@ -10956,7 +11026,7 @@ export interface operations {
|
|
|
10956
11026
|
name: string;
|
|
10957
11027
|
locked?: boolean | null;
|
|
10958
11028
|
/** @enum {string|null} */
|
|
10959
|
-
visible?: "all" | "manager" | "none" | null;
|
|
11029
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10960
11030
|
/** @enum {string} */
|
|
10961
11031
|
type: "accounts";
|
|
10962
11032
|
value: string[];
|
|
@@ -11229,13 +11299,7 @@ export interface operations {
|
|
|
11229
11299
|
/** @enum {string} */
|
|
11230
11300
|
status: "active" | "inactive";
|
|
11231
11301
|
uniqueRef?: string | null;
|
|
11232
|
-
|
|
11233
|
-
id: string;
|
|
11234
|
-
name: string;
|
|
11235
|
-
icon?: string | null;
|
|
11236
|
-
importers?: string[] | null;
|
|
11237
|
-
extractors?: string[] | null;
|
|
11238
|
-
};
|
|
11302
|
+
appId: string;
|
|
11239
11303
|
} | null;
|
|
11240
11304
|
contact?: {
|
|
11241
11305
|
/** Format: uuid */
|
|
@@ -11530,13 +11594,13 @@ export interface operations {
|
|
|
11530
11594
|
name: string;
|
|
11531
11595
|
locked?: boolean | null;
|
|
11532
11596
|
/** @enum {string|null} */
|
|
11533
|
-
visible?: "all" | "manager" | "none" | null;
|
|
11597
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
11534
11598
|
columns: ({
|
|
11535
11599
|
id?: string | null;
|
|
11536
11600
|
name: string;
|
|
11537
11601
|
locked?: boolean | null;
|
|
11538
11602
|
/** @enum {string|null} */
|
|
11539
|
-
visible?: "all" | "manager" | "none" | null;
|
|
11603
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
11540
11604
|
/** @enum {string} */
|
|
11541
11605
|
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
11542
11606
|
value: string;
|
|
@@ -11545,7 +11609,7 @@ export interface operations {
|
|
|
11545
11609
|
name: string;
|
|
11546
11610
|
locked?: boolean | null;
|
|
11547
11611
|
/** @enum {string|null} */
|
|
11548
|
-
visible?: "all" | "manager" | "none" | null;
|
|
11612
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
11549
11613
|
/** @enum {string} */
|
|
11550
11614
|
type: "accounts";
|
|
11551
11615
|
value: string[];
|
|
@@ -11556,13 +11620,13 @@ export interface operations {
|
|
|
11556
11620
|
name: string;
|
|
11557
11621
|
locked?: boolean | null;
|
|
11558
11622
|
/** @enum {string|null} */
|
|
11559
|
-
visible?: "all" | "manager" | "none" | null;
|
|
11623
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
11560
11624
|
columns: ({
|
|
11561
11625
|
id?: string | null;
|
|
11562
11626
|
name: string;
|
|
11563
11627
|
locked?: boolean | null;
|
|
11564
11628
|
/** @enum {string|null} */
|
|
11565
|
-
visible?: "all" | "manager" | "none" | null;
|
|
11629
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
11566
11630
|
/** @enum {string} */
|
|
11567
11631
|
type: "field";
|
|
11568
11632
|
value: string;
|
|
@@ -11571,7 +11635,7 @@ export interface operations {
|
|
|
11571
11635
|
name: string;
|
|
11572
11636
|
locked?: boolean | null;
|
|
11573
11637
|
/** @enum {string|null} */
|
|
11574
|
-
visible?: "all" | "manager" | "none" | null;
|
|
11638
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
11575
11639
|
/** @enum {string} */
|
|
11576
11640
|
type: "accounts";
|
|
11577
11641
|
value: string[];
|
|
@@ -11595,13 +11659,13 @@ export interface operations {
|
|
|
11595
11659
|
name: string;
|
|
11596
11660
|
locked?: boolean | null;
|
|
11597
11661
|
/** @enum {string|null} */
|
|
11598
|
-
visible?: "all" | "manager" | "none" | null;
|
|
11662
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
11599
11663
|
columns: ({
|
|
11600
11664
|
id?: string | null;
|
|
11601
11665
|
name: string;
|
|
11602
11666
|
locked?: boolean | null;
|
|
11603
11667
|
/** @enum {string|null} */
|
|
11604
|
-
visible?: "all" | "manager" | "none" | null;
|
|
11668
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
11605
11669
|
/** @enum {string} */
|
|
11606
11670
|
type: "field";
|
|
11607
11671
|
value: string;
|
|
@@ -11610,7 +11674,7 @@ export interface operations {
|
|
|
11610
11674
|
name: string;
|
|
11611
11675
|
locked?: boolean | null;
|
|
11612
11676
|
/** @enum {string|null} */
|
|
11613
|
-
visible?: "all" | "manager" | "none" | null;
|
|
11677
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
11614
11678
|
/** @enum {string} */
|
|
11615
11679
|
type: "accounts";
|
|
11616
11680
|
value: string[];
|
|
@@ -11830,17 +11894,25 @@ export interface operations {
|
|
|
11830
11894
|
};
|
|
11831
11895
|
};
|
|
11832
11896
|
};
|
|
11833
|
-
|
|
11897
|
+
getOwnerStatementTotals: {
|
|
11834
11898
|
parameters: {
|
|
11835
|
-
query
|
|
11836
|
-
|
|
11899
|
+
query: {
|
|
11900
|
+
/** @description Date in format YYYY-MM */
|
|
11901
|
+
month: string;
|
|
11902
|
+
/** @description comma separated listings */
|
|
11903
|
+
listingIds?: string;
|
|
11904
|
+
/** @description comma separated owners */
|
|
11905
|
+
ownerIds?: string;
|
|
11906
|
+
status?: ("draft" | "inReview" | "void" | "published") | "all";
|
|
11907
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
11908
|
+
currency?: string;
|
|
11909
|
+
search?: string;
|
|
11910
|
+
includePreviousUnattached?: boolean;
|
|
11837
11911
|
};
|
|
11838
11912
|
header?: {
|
|
11839
11913
|
"X-Team-Id"?: string;
|
|
11840
11914
|
};
|
|
11841
|
-
path
|
|
11842
|
-
id: string;
|
|
11843
|
-
};
|
|
11915
|
+
path?: never;
|
|
11844
11916
|
cookie?: never;
|
|
11845
11917
|
};
|
|
11846
11918
|
requestBody?: never;
|
|
@@ -11852,10 +11924,7 @@ export interface operations {
|
|
|
11852
11924
|
};
|
|
11853
11925
|
content: {
|
|
11854
11926
|
"application/json": {
|
|
11855
|
-
|
|
11856
|
-
/** @description Value in cents (100 = 1€) */
|
|
11857
|
-
total: number;
|
|
11858
|
-
financials: {
|
|
11927
|
+
aggregates: {
|
|
11859
11928
|
/** @description Value in cents (100 = 1€) */
|
|
11860
11929
|
balanceStart: number;
|
|
11861
11930
|
/** @description Value in cents (100 = 1€) */
|
|
@@ -11868,28 +11937,120 @@ export interface operations {
|
|
|
11868
11937
|
transfers: number;
|
|
11869
11938
|
/** @description Value in cents (100 = 1€) */
|
|
11870
11939
|
balanceEnd: number;
|
|
11871
|
-
|
|
11872
|
-
|
|
11873
|
-
|
|
11874
|
-
|
|
11875
|
-
|
|
11876
|
-
|
|
11877
|
-
|
|
11878
|
-
|
|
11879
|
-
|
|
11880
|
-
|
|
11881
|
-
|
|
11882
|
-
|
|
11883
|
-
|
|
11884
|
-
|
|
11885
|
-
|
|
11886
|
-
|
|
11887
|
-
|
|
11888
|
-
|
|
11889
|
-
|
|
11890
|
-
|
|
11891
|
-
|
|
11892
|
-
|
|
11940
|
+
currency: string;
|
|
11941
|
+
}[];
|
|
11942
|
+
total: number;
|
|
11943
|
+
defaultCurrency: string;
|
|
11944
|
+
};
|
|
11945
|
+
};
|
|
11946
|
+
};
|
|
11947
|
+
/** @description Invalid input data */
|
|
11948
|
+
400: {
|
|
11949
|
+
headers: {
|
|
11950
|
+
[name: string]: unknown;
|
|
11951
|
+
};
|
|
11952
|
+
content: {
|
|
11953
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
11954
|
+
};
|
|
11955
|
+
};
|
|
11956
|
+
/** @description Authorization not provided */
|
|
11957
|
+
401: {
|
|
11958
|
+
headers: {
|
|
11959
|
+
[name: string]: unknown;
|
|
11960
|
+
};
|
|
11961
|
+
content: {
|
|
11962
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
11963
|
+
};
|
|
11964
|
+
};
|
|
11965
|
+
/** @description Insufficient access */
|
|
11966
|
+
403: {
|
|
11967
|
+
headers: {
|
|
11968
|
+
[name: string]: unknown;
|
|
11969
|
+
};
|
|
11970
|
+
content: {
|
|
11971
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
11972
|
+
};
|
|
11973
|
+
};
|
|
11974
|
+
/** @description Not found */
|
|
11975
|
+
404: {
|
|
11976
|
+
headers: {
|
|
11977
|
+
[name: string]: unknown;
|
|
11978
|
+
};
|
|
11979
|
+
content: {
|
|
11980
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
11981
|
+
};
|
|
11982
|
+
};
|
|
11983
|
+
/** @description Internal server error */
|
|
11984
|
+
500: {
|
|
11985
|
+
headers: {
|
|
11986
|
+
[name: string]: unknown;
|
|
11987
|
+
};
|
|
11988
|
+
content: {
|
|
11989
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
11990
|
+
};
|
|
11991
|
+
};
|
|
11992
|
+
};
|
|
11993
|
+
};
|
|
11994
|
+
getOwnerStatement: {
|
|
11995
|
+
parameters: {
|
|
11996
|
+
query?: {
|
|
11997
|
+
viewAs?: "owner" | "manager";
|
|
11998
|
+
};
|
|
11999
|
+
header?: {
|
|
12000
|
+
"X-Team-Id"?: string;
|
|
12001
|
+
};
|
|
12002
|
+
path: {
|
|
12003
|
+
id: string;
|
|
12004
|
+
};
|
|
12005
|
+
cookie?: never;
|
|
12006
|
+
};
|
|
12007
|
+
requestBody?: never;
|
|
12008
|
+
responses: {
|
|
12009
|
+
/** @description Successful response */
|
|
12010
|
+
200: {
|
|
12011
|
+
headers: {
|
|
12012
|
+
[name: string]: unknown;
|
|
12013
|
+
};
|
|
12014
|
+
content: {
|
|
12015
|
+
"application/json": {
|
|
12016
|
+
id: string | null;
|
|
12017
|
+
/** @description Value in cents (100 = 1€) */
|
|
12018
|
+
total: number;
|
|
12019
|
+
financials: {
|
|
12020
|
+
/** @description Value in cents (100 = 1€) */
|
|
12021
|
+
balanceStart: number;
|
|
12022
|
+
/** @description Value in cents (100 = 1€) */
|
|
12023
|
+
netRevenue: number;
|
|
12024
|
+
/** @description Value in cents (100 = 1€) */
|
|
12025
|
+
expenses: number;
|
|
12026
|
+
/** @description Value in cents (100 = 1€) */
|
|
12027
|
+
netIncome: number;
|
|
12028
|
+
/** @description Value in cents (100 = 1€) */
|
|
12029
|
+
transfers: number;
|
|
12030
|
+
/** @description Value in cents (100 = 1€) */
|
|
12031
|
+
balanceEnd: number;
|
|
12032
|
+
};
|
|
12033
|
+
uniqueRef: string;
|
|
12034
|
+
currency: string;
|
|
12035
|
+
startAt: string;
|
|
12036
|
+
endAt: string;
|
|
12037
|
+
issues: ({
|
|
12038
|
+
/** @enum {string} */
|
|
12039
|
+
code: "emptyJournalEntryAccountIds";
|
|
12040
|
+
/** @enum {string} */
|
|
12041
|
+
severity: "error";
|
|
12042
|
+
context: {
|
|
12043
|
+
journalEntryIds: string[];
|
|
12044
|
+
};
|
|
12045
|
+
message: string;
|
|
12046
|
+
} | {
|
|
12047
|
+
/** @enum {string} */
|
|
12048
|
+
code: "netRevenueLayoutMismatch";
|
|
12049
|
+
/** @enum {string} */
|
|
12050
|
+
severity: "error";
|
|
12051
|
+
context: Record<string, never>;
|
|
12052
|
+
message: string;
|
|
12053
|
+
} | {
|
|
11893
12054
|
/** @enum {string} */
|
|
11894
12055
|
code: "listingInactive";
|
|
11895
12056
|
/** @enum {string} */
|
|
@@ -11983,13 +12144,13 @@ export interface operations {
|
|
|
11983
12144
|
name: string;
|
|
11984
12145
|
locked?: boolean | null;
|
|
11985
12146
|
/** @enum {string|null} */
|
|
11986
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12147
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
11987
12148
|
columns: ({
|
|
11988
12149
|
id?: string | null;
|
|
11989
12150
|
name: string;
|
|
11990
12151
|
locked?: boolean | null;
|
|
11991
12152
|
/** @enum {string|null} */
|
|
11992
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12153
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
11993
12154
|
/** @enum {string} */
|
|
11994
12155
|
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
11995
12156
|
value: string;
|
|
@@ -11998,7 +12159,7 @@ export interface operations {
|
|
|
11998
12159
|
name: string;
|
|
11999
12160
|
locked?: boolean | null;
|
|
12000
12161
|
/** @enum {string|null} */
|
|
12001
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12162
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12002
12163
|
/** @enum {string} */
|
|
12003
12164
|
type: "accounts";
|
|
12004
12165
|
value: string[];
|
|
@@ -12009,13 +12170,13 @@ export interface operations {
|
|
|
12009
12170
|
name: string;
|
|
12010
12171
|
locked?: boolean | null;
|
|
12011
12172
|
/** @enum {string|null} */
|
|
12012
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12173
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12013
12174
|
columns: ({
|
|
12014
12175
|
id?: string | null;
|
|
12015
12176
|
name: string;
|
|
12016
12177
|
locked?: boolean | null;
|
|
12017
12178
|
/** @enum {string|null} */
|
|
12018
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12179
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12019
12180
|
/** @enum {string} */
|
|
12020
12181
|
type: "field";
|
|
12021
12182
|
value: string;
|
|
@@ -12024,7 +12185,7 @@ export interface operations {
|
|
|
12024
12185
|
name: string;
|
|
12025
12186
|
locked?: boolean | null;
|
|
12026
12187
|
/** @enum {string|null} */
|
|
12027
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12188
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12028
12189
|
/** @enum {string} */
|
|
12029
12190
|
type: "accounts";
|
|
12030
12191
|
value: string[];
|
|
@@ -12048,13 +12209,13 @@ export interface operations {
|
|
|
12048
12209
|
name: string;
|
|
12049
12210
|
locked?: boolean | null;
|
|
12050
12211
|
/** @enum {string|null} */
|
|
12051
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12212
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12052
12213
|
columns: ({
|
|
12053
12214
|
id?: string | null;
|
|
12054
12215
|
name: string;
|
|
12055
12216
|
locked?: boolean | null;
|
|
12056
12217
|
/** @enum {string|null} */
|
|
12057
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12218
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12058
12219
|
/** @enum {string} */
|
|
12059
12220
|
type: "field";
|
|
12060
12221
|
value: string;
|
|
@@ -12063,7 +12224,7 @@ export interface operations {
|
|
|
12063
12224
|
name: string;
|
|
12064
12225
|
locked?: boolean | null;
|
|
12065
12226
|
/** @enum {string|null} */
|
|
12066
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12227
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12067
12228
|
/** @enum {string} */
|
|
12068
12229
|
type: "accounts";
|
|
12069
12230
|
value: string[];
|
|
@@ -12445,13 +12606,13 @@ export interface operations {
|
|
|
12445
12606
|
name: string;
|
|
12446
12607
|
locked?: boolean | null;
|
|
12447
12608
|
/** @enum {string|null} */
|
|
12448
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12609
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12449
12610
|
columns: ({
|
|
12450
12611
|
id?: string | null;
|
|
12451
12612
|
name: string;
|
|
12452
12613
|
locked?: boolean | null;
|
|
12453
12614
|
/** @enum {string|null} */
|
|
12454
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12615
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12455
12616
|
/** @enum {string} */
|
|
12456
12617
|
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
12457
12618
|
value: string;
|
|
@@ -12460,7 +12621,7 @@ export interface operations {
|
|
|
12460
12621
|
name: string;
|
|
12461
12622
|
locked?: boolean | null;
|
|
12462
12623
|
/** @enum {string|null} */
|
|
12463
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12624
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12464
12625
|
/** @enum {string} */
|
|
12465
12626
|
type: "accounts";
|
|
12466
12627
|
value: string[];
|
|
@@ -12471,13 +12632,13 @@ export interface operations {
|
|
|
12471
12632
|
name: string;
|
|
12472
12633
|
locked?: boolean | null;
|
|
12473
12634
|
/** @enum {string|null} */
|
|
12474
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12635
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12475
12636
|
columns: ({
|
|
12476
12637
|
id?: string | null;
|
|
12477
12638
|
name: string;
|
|
12478
12639
|
locked?: boolean | null;
|
|
12479
12640
|
/** @enum {string|null} */
|
|
12480
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12641
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12481
12642
|
/** @enum {string} */
|
|
12482
12643
|
type: "field";
|
|
12483
12644
|
value: string;
|
|
@@ -12486,7 +12647,7 @@ export interface operations {
|
|
|
12486
12647
|
name: string;
|
|
12487
12648
|
locked?: boolean | null;
|
|
12488
12649
|
/** @enum {string|null} */
|
|
12489
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12650
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12490
12651
|
/** @enum {string} */
|
|
12491
12652
|
type: "accounts";
|
|
12492
12653
|
value: string[];
|
|
@@ -12510,13 +12671,13 @@ export interface operations {
|
|
|
12510
12671
|
name: string;
|
|
12511
12672
|
locked?: boolean | null;
|
|
12512
12673
|
/** @enum {string|null} */
|
|
12513
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12674
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12514
12675
|
columns: ({
|
|
12515
12676
|
id?: string | null;
|
|
12516
12677
|
name: string;
|
|
12517
12678
|
locked?: boolean | null;
|
|
12518
12679
|
/** @enum {string|null} */
|
|
12519
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12680
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12520
12681
|
/** @enum {string} */
|
|
12521
12682
|
type: "field";
|
|
12522
12683
|
value: string;
|
|
@@ -12525,7 +12686,7 @@ export interface operations {
|
|
|
12525
12686
|
name: string;
|
|
12526
12687
|
locked?: boolean | null;
|
|
12527
12688
|
/** @enum {string|null} */
|
|
12528
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12689
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12529
12690
|
/** @enum {string} */
|
|
12530
12691
|
type: "accounts";
|
|
12531
12692
|
value: string[];
|
|
@@ -12824,6 +12985,8 @@ export interface operations {
|
|
|
12824
12985
|
query?: {
|
|
12825
12986
|
limit?: number;
|
|
12826
12987
|
page?: number;
|
|
12988
|
+
/** @description comma separated periods */
|
|
12989
|
+
periodIds?: string;
|
|
12827
12990
|
/** @description Year in format YYYY */
|
|
12828
12991
|
year?: number;
|
|
12829
12992
|
/** @description comma separated listings */
|
|
@@ -13236,13 +13399,13 @@ export interface operations {
|
|
|
13236
13399
|
name: string;
|
|
13237
13400
|
locked?: boolean | null;
|
|
13238
13401
|
/** @enum {string|null} */
|
|
13239
|
-
visible?: "all" | "manager" | "none" | null;
|
|
13402
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
13240
13403
|
columns: ({
|
|
13241
13404
|
id?: string | null;
|
|
13242
13405
|
name: string;
|
|
13243
13406
|
locked?: boolean | null;
|
|
13244
13407
|
/** @enum {string|null} */
|
|
13245
|
-
visible?: "all" | "manager" | "none" | null;
|
|
13408
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
13246
13409
|
/** @enum {string} */
|
|
13247
13410
|
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
13248
13411
|
value: string;
|
|
@@ -13251,7 +13414,7 @@ export interface operations {
|
|
|
13251
13414
|
name: string;
|
|
13252
13415
|
locked?: boolean | null;
|
|
13253
13416
|
/** @enum {string|null} */
|
|
13254
|
-
visible?: "all" | "manager" | "none" | null;
|
|
13417
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
13255
13418
|
/** @enum {string} */
|
|
13256
13419
|
type: "accounts";
|
|
13257
13420
|
value: string[];
|
|
@@ -13262,13 +13425,13 @@ export interface operations {
|
|
|
13262
13425
|
name: string;
|
|
13263
13426
|
locked?: boolean | null;
|
|
13264
13427
|
/** @enum {string|null} */
|
|
13265
|
-
visible?: "all" | "manager" | "none" | null;
|
|
13428
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
13266
13429
|
columns: ({
|
|
13267
13430
|
id?: string | null;
|
|
13268
13431
|
name: string;
|
|
13269
13432
|
locked?: boolean | null;
|
|
13270
13433
|
/** @enum {string|null} */
|
|
13271
|
-
visible?: "all" | "manager" | "none" | null;
|
|
13434
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
13272
13435
|
/** @enum {string} */
|
|
13273
13436
|
type: "field";
|
|
13274
13437
|
value: string;
|
|
@@ -13277,7 +13440,7 @@ export interface operations {
|
|
|
13277
13440
|
name: string;
|
|
13278
13441
|
locked?: boolean | null;
|
|
13279
13442
|
/** @enum {string|null} */
|
|
13280
|
-
visible?: "all" | "manager" | "none" | null;
|
|
13443
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
13281
13444
|
/** @enum {string} */
|
|
13282
13445
|
type: "accounts";
|
|
13283
13446
|
value: string[];
|
|
@@ -13301,13 +13464,13 @@ export interface operations {
|
|
|
13301
13464
|
name: string;
|
|
13302
13465
|
locked?: boolean | null;
|
|
13303
13466
|
/** @enum {string|null} */
|
|
13304
|
-
visible?: "all" | "manager" | "none" | null;
|
|
13467
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
13305
13468
|
columns: ({
|
|
13306
13469
|
id?: string | null;
|
|
13307
13470
|
name: string;
|
|
13308
13471
|
locked?: boolean | null;
|
|
13309
13472
|
/** @enum {string|null} */
|
|
13310
|
-
visible?: "all" | "manager" | "none" | null;
|
|
13473
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
13311
13474
|
/** @enum {string} */
|
|
13312
13475
|
type: "field";
|
|
13313
13476
|
value: string;
|
|
@@ -13316,7 +13479,7 @@ export interface operations {
|
|
|
13316
13479
|
name: string;
|
|
13317
13480
|
locked?: boolean | null;
|
|
13318
13481
|
/** @enum {string|null} */
|
|
13319
|
-
visible?: "all" | "manager" | "none" | null;
|
|
13482
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
13320
13483
|
/** @enum {string} */
|
|
13321
13484
|
type: "accounts";
|
|
13322
13485
|
value: string[];
|
|
@@ -13676,13 +13839,7 @@ export interface operations {
|
|
|
13676
13839
|
/** @enum {string} */
|
|
13677
13840
|
status: "active" | "inactive";
|
|
13678
13841
|
uniqueRef?: string | null;
|
|
13679
|
-
|
|
13680
|
-
id: string;
|
|
13681
|
-
name: string;
|
|
13682
|
-
icon?: string | null;
|
|
13683
|
-
importers?: string[] | null;
|
|
13684
|
-
extractors?: string[] | null;
|
|
13685
|
-
};
|
|
13842
|
+
appId: string;
|
|
13686
13843
|
} | null;
|
|
13687
13844
|
contact?: {
|
|
13688
13845
|
/** Format: uuid */
|
|
@@ -14129,13 +14286,7 @@ export interface operations {
|
|
|
14129
14286
|
/** @enum {string} */
|
|
14130
14287
|
status: "active" | "inactive";
|
|
14131
14288
|
uniqueRef?: string | null;
|
|
14132
|
-
|
|
14133
|
-
id: string;
|
|
14134
|
-
name: string;
|
|
14135
|
-
icon?: string | null;
|
|
14136
|
-
importers?: string[] | null;
|
|
14137
|
-
extractors?: string[] | null;
|
|
14138
|
-
};
|
|
14289
|
+
appId: string;
|
|
14139
14290
|
} | null;
|
|
14140
14291
|
contact?: {
|
|
14141
14292
|
/** Format: uuid */
|
|
@@ -15296,13 +15447,7 @@ export interface operations {
|
|
|
15296
15447
|
/** @enum {string} */
|
|
15297
15448
|
status: "active" | "inactive";
|
|
15298
15449
|
uniqueRef?: string | null;
|
|
15299
|
-
|
|
15300
|
-
id: string;
|
|
15301
|
-
name: string;
|
|
15302
|
-
icon?: string | null;
|
|
15303
|
-
importers?: string[] | null;
|
|
15304
|
-
extractors?: string[] | null;
|
|
15305
|
-
};
|
|
15450
|
+
appId: string;
|
|
15306
15451
|
} | null;
|
|
15307
15452
|
contact?: {
|
|
15308
15453
|
/** Format: uuid */
|
|
@@ -15572,13 +15717,7 @@ export interface operations {
|
|
|
15572
15717
|
/** @enum {string} */
|
|
15573
15718
|
status: "active" | "inactive";
|
|
15574
15719
|
uniqueRef?: string | null;
|
|
15575
|
-
|
|
15576
|
-
id: string;
|
|
15577
|
-
name: string;
|
|
15578
|
-
icon?: string | null;
|
|
15579
|
-
importers?: string[] | null;
|
|
15580
|
-
extractors?: string[] | null;
|
|
15581
|
-
};
|
|
15720
|
+
appId: string;
|
|
15582
15721
|
} | null;
|
|
15583
15722
|
contact?: {
|
|
15584
15723
|
/** Format: uuid */
|
|
@@ -15716,6 +15855,7 @@ export interface operations {
|
|
|
15716
15855
|
includeLines?: boolean;
|
|
15717
15856
|
accountId?: string;
|
|
15718
15857
|
hasActiveJournalEntries?: boolean;
|
|
15858
|
+
connectionId?: string;
|
|
15719
15859
|
dateRange?: string;
|
|
15720
15860
|
isDateRangeEndInclusive?: boolean;
|
|
15721
15861
|
uniqueRefs?: string;
|
|
@@ -15857,13 +15997,7 @@ export interface operations {
|
|
|
15857
15997
|
/** @enum {string} */
|
|
15858
15998
|
status: "active" | "inactive";
|
|
15859
15999
|
uniqueRef?: string | null;
|
|
15860
|
-
|
|
15861
|
-
id: string;
|
|
15862
|
-
name: string;
|
|
15863
|
-
icon?: string | null;
|
|
15864
|
-
importers?: string[] | null;
|
|
15865
|
-
extractors?: string[] | null;
|
|
15866
|
-
};
|
|
16000
|
+
appId: string;
|
|
15867
16001
|
} | null;
|
|
15868
16002
|
contact?: {
|
|
15869
16003
|
/** Format: uuid */
|
|
@@ -16139,13 +16273,7 @@ export interface operations {
|
|
|
16139
16273
|
/** @enum {string} */
|
|
16140
16274
|
status: "active" | "inactive";
|
|
16141
16275
|
uniqueRef?: string | null;
|
|
16142
|
-
|
|
16143
|
-
id: string;
|
|
16144
|
-
name: string;
|
|
16145
|
-
icon?: string | null;
|
|
16146
|
-
importers?: string[] | null;
|
|
16147
|
-
extractors?: string[] | null;
|
|
16148
|
-
};
|
|
16276
|
+
appId: string;
|
|
16149
16277
|
} | null;
|
|
16150
16278
|
contact?: {
|
|
16151
16279
|
/** Format: uuid */
|
|
@@ -16341,13 +16469,7 @@ export interface operations {
|
|
|
16341
16469
|
/** @enum {string} */
|
|
16342
16470
|
status: "active" | "inactive";
|
|
16343
16471
|
uniqueRef?: string | null;
|
|
16344
|
-
|
|
16345
|
-
id: string;
|
|
16346
|
-
name: string;
|
|
16347
|
-
icon?: string | null;
|
|
16348
|
-
importers?: string[] | null;
|
|
16349
|
-
extractors?: string[] | null;
|
|
16350
|
-
};
|
|
16472
|
+
appId: string;
|
|
16351
16473
|
} | null;
|
|
16352
16474
|
contact?: {
|
|
16353
16475
|
/** Format: uuid */
|
|
@@ -16616,13 +16738,7 @@ export interface operations {
|
|
|
16616
16738
|
/** @enum {string} */
|
|
16617
16739
|
status: "active" | "inactive";
|
|
16618
16740
|
uniqueRef?: string | null;
|
|
16619
|
-
|
|
16620
|
-
id: string;
|
|
16621
|
-
name: string;
|
|
16622
|
-
icon?: string | null;
|
|
16623
|
-
importers?: string[] | null;
|
|
16624
|
-
extractors?: string[] | null;
|
|
16625
|
-
};
|
|
16741
|
+
appId: string;
|
|
16626
16742
|
} | null;
|
|
16627
16743
|
contact?: {
|
|
16628
16744
|
/** Format: uuid */
|
|
@@ -17533,13 +17649,7 @@ export interface operations {
|
|
|
17533
17649
|
/** @enum {string} */
|
|
17534
17650
|
status: "active" | "inactive";
|
|
17535
17651
|
uniqueRef?: string | null;
|
|
17536
|
-
|
|
17537
|
-
id: string;
|
|
17538
|
-
name: string;
|
|
17539
|
-
icon?: string | null;
|
|
17540
|
-
importers?: string[] | null;
|
|
17541
|
-
extractors?: string[] | null;
|
|
17542
|
-
};
|
|
17652
|
+
appId: string;
|
|
17543
17653
|
} | null;
|
|
17544
17654
|
contact?: {
|
|
17545
17655
|
/** Format: uuid */
|
|
@@ -17660,6 +17770,7 @@ export interface operations {
|
|
|
17660
17770
|
status?: "active" | "inactive";
|
|
17661
17771
|
/** @enum {string} */
|
|
17662
17772
|
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
17773
|
+
uniqueRef?: string | null;
|
|
17663
17774
|
id: string;
|
|
17664
17775
|
offsetAccount?: {
|
|
17665
17776
|
id: string;
|
|
@@ -17798,6 +17909,7 @@ export interface operations {
|
|
|
17798
17909
|
last4?: string | null;
|
|
17799
17910
|
currency?: string | null;
|
|
17800
17911
|
} | null;
|
|
17912
|
+
uniqueRef?: string | null;
|
|
17801
17913
|
};
|
|
17802
17914
|
};
|
|
17803
17915
|
};
|
|
@@ -17814,6 +17926,7 @@ export interface operations {
|
|
|
17814
17926
|
status?: "active" | "inactive";
|
|
17815
17927
|
/** @enum {string} */
|
|
17816
17928
|
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
17929
|
+
uniqueRef?: string | null;
|
|
17817
17930
|
id: string;
|
|
17818
17931
|
offsetAccount?: {
|
|
17819
17932
|
id: string;
|
|
@@ -18029,6 +18142,7 @@ export interface operations {
|
|
|
18029
18142
|
status?: "active" | "inactive";
|
|
18030
18143
|
/** @enum {string} */
|
|
18031
18144
|
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
18145
|
+
uniqueRef?: string | null;
|
|
18032
18146
|
id: string;
|
|
18033
18147
|
offsetAccount?: {
|
|
18034
18148
|
id: string;
|
|
@@ -18175,6 +18289,7 @@ export interface operations {
|
|
|
18175
18289
|
last4?: string | null;
|
|
18176
18290
|
currency?: string | null;
|
|
18177
18291
|
} | null;
|
|
18292
|
+
uniqueRef?: string | null;
|
|
18178
18293
|
};
|
|
18179
18294
|
};
|
|
18180
18295
|
};
|
|
@@ -18191,6 +18306,7 @@ export interface operations {
|
|
|
18191
18306
|
status?: "active" | "inactive";
|
|
18192
18307
|
/** @enum {string} */
|
|
18193
18308
|
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
18309
|
+
uniqueRef?: string | null;
|
|
18194
18310
|
id: string;
|
|
18195
18311
|
offsetAccount?: {
|
|
18196
18312
|
id: string;
|
|
@@ -18886,13 +19002,7 @@ export interface operations {
|
|
|
18886
19002
|
/** @enum {string} */
|
|
18887
19003
|
status: "active" | "inactive";
|
|
18888
19004
|
uniqueRef?: string | null;
|
|
18889
|
-
|
|
18890
|
-
id: string;
|
|
18891
|
-
name: string;
|
|
18892
|
-
icon?: string | null;
|
|
18893
|
-
importers?: string[] | null;
|
|
18894
|
-
extractors?: string[] | null;
|
|
18895
|
-
};
|
|
19005
|
+
appId: string;
|
|
18896
19006
|
} | null;
|
|
18897
19007
|
uniqueRef?: string | null;
|
|
18898
19008
|
recurringTemplate?: {
|
|
@@ -19131,13 +19241,7 @@ export interface operations {
|
|
|
19131
19241
|
/** @enum {string} */
|
|
19132
19242
|
status: "active" | "inactive";
|
|
19133
19243
|
uniqueRef?: string | null;
|
|
19134
|
-
|
|
19135
|
-
id: string;
|
|
19136
|
-
name: string;
|
|
19137
|
-
icon?: string | null;
|
|
19138
|
-
importers?: string[] | null;
|
|
19139
|
-
extractors?: string[] | null;
|
|
19140
|
-
};
|
|
19244
|
+
appId: string;
|
|
19141
19245
|
} | null;
|
|
19142
19246
|
uniqueRef?: string | null;
|
|
19143
19247
|
recurringTemplate?: {
|
|
@@ -19216,6 +19320,8 @@ export interface operations {
|
|
|
19216
19320
|
requestBody: {
|
|
19217
19321
|
content: {
|
|
19218
19322
|
"application/json": {
|
|
19323
|
+
/** Format: uuid */
|
|
19324
|
+
connectionId: string;
|
|
19219
19325
|
data: {
|
|
19220
19326
|
address?: {
|
|
19221
19327
|
full?: string | null;
|
|
@@ -19230,7 +19336,6 @@ export interface operations {
|
|
|
19230
19336
|
} | null;
|
|
19231
19337
|
/** @enum {string} */
|
|
19232
19338
|
type: "owner" | "vendor";
|
|
19233
|
-
email?: string | null;
|
|
19234
19339
|
firstName?: string | null;
|
|
19235
19340
|
name?: string | null;
|
|
19236
19341
|
phone?: string | null;
|
|
@@ -19243,14 +19348,12 @@ export interface operations {
|
|
|
19243
19348
|
uniqueRef?: string | null;
|
|
19244
19349
|
/** @enum {string|null} */
|
|
19245
19350
|
status?: "active" | "inactive" | null;
|
|
19246
|
-
invite?: boolean | null;
|
|
19247
19351
|
/** Format: uuid */
|
|
19248
19352
|
payoutAccountId?: string | null;
|
|
19249
19353
|
/** Format: uuid */
|
|
19250
19354
|
id?: string | null;
|
|
19355
|
+
email?: string | null;
|
|
19251
19356
|
}[];
|
|
19252
|
-
/** Format: uuid */
|
|
19253
|
-
connectionId: string;
|
|
19254
19357
|
};
|
|
19255
19358
|
};
|
|
19256
19359
|
};
|
|
@@ -19276,6 +19379,7 @@ export interface operations {
|
|
|
19276
19379
|
} | null;
|
|
19277
19380
|
/** @enum {string} */
|
|
19278
19381
|
type: "owner" | "vendor";
|
|
19382
|
+
/** Format: email */
|
|
19279
19383
|
email?: string | null;
|
|
19280
19384
|
firstName?: string | null;
|
|
19281
19385
|
name?: string | null;
|
|
@@ -19287,7 +19391,6 @@ export interface operations {
|
|
|
19287
19391
|
uniqueRef?: string | null;
|
|
19288
19392
|
/** @enum {string} */
|
|
19289
19393
|
status: "active" | "inactive";
|
|
19290
|
-
invite?: boolean | null;
|
|
19291
19394
|
/** Format: uuid */
|
|
19292
19395
|
payoutAccountId?: string | null;
|
|
19293
19396
|
/** Format: uuid */
|
|
@@ -19391,6 +19494,7 @@ export interface operations {
|
|
|
19391
19494
|
} | null;
|
|
19392
19495
|
/** @enum {string} */
|
|
19393
19496
|
type: "owner" | "vendor";
|
|
19497
|
+
/** Format: email */
|
|
19394
19498
|
email?: string | null;
|
|
19395
19499
|
firstName?: string | null;
|
|
19396
19500
|
name?: string | null;
|
|
@@ -19402,7 +19506,6 @@ export interface operations {
|
|
|
19402
19506
|
uniqueRef?: string | null;
|
|
19403
19507
|
/** @enum {string} */
|
|
19404
19508
|
status: "active" | "inactive";
|
|
19405
|
-
invite?: boolean | null;
|
|
19406
19509
|
/** Format: uuid */
|
|
19407
19510
|
payoutAccountId?: string | null;
|
|
19408
19511
|
/** Format: uuid */
|
|
@@ -19503,6 +19606,7 @@ export interface operations {
|
|
|
19503
19606
|
} | null;
|
|
19504
19607
|
/** @enum {string} */
|
|
19505
19608
|
type?: "owner" | "vendor";
|
|
19609
|
+
/** Format: email */
|
|
19506
19610
|
email?: string | null;
|
|
19507
19611
|
firstName?: string | null;
|
|
19508
19612
|
name?: string | null;
|
|
@@ -19516,7 +19620,6 @@ export interface operations {
|
|
|
19516
19620
|
uniqueRef?: string | null;
|
|
19517
19621
|
/** @enum {string|null} */
|
|
19518
19622
|
status?: "active" | "inactive" | null;
|
|
19519
|
-
invite?: boolean | null;
|
|
19520
19623
|
/** Format: uuid */
|
|
19521
19624
|
payoutAccountId?: string | null;
|
|
19522
19625
|
};
|
|
@@ -19543,6 +19646,7 @@ export interface operations {
|
|
|
19543
19646
|
} | null;
|
|
19544
19647
|
/** @enum {string} */
|
|
19545
19648
|
type: "owner" | "vendor";
|
|
19649
|
+
/** Format: email */
|
|
19546
19650
|
email?: string | null;
|
|
19547
19651
|
firstName?: string | null;
|
|
19548
19652
|
name?: string | null;
|
|
@@ -19554,7 +19658,6 @@ export interface operations {
|
|
|
19554
19658
|
uniqueRef?: string | null;
|
|
19555
19659
|
/** @enum {string} */
|
|
19556
19660
|
status: "active" | "inactive";
|
|
19557
|
-
invite?: boolean | null;
|
|
19558
19661
|
/** Format: uuid */
|
|
19559
19662
|
payoutAccountId?: string | null;
|
|
19560
19663
|
/** Format: uuid */
|
|
@@ -19740,6 +19843,7 @@ export interface operations {
|
|
|
19740
19843
|
} | null;
|
|
19741
19844
|
/** @enum {string} */
|
|
19742
19845
|
type: "owner" | "vendor";
|
|
19846
|
+
/** Format: email */
|
|
19743
19847
|
email?: string | null;
|
|
19744
19848
|
firstName?: string | null;
|
|
19745
19849
|
name?: string | null;
|
|
@@ -19751,7 +19855,6 @@ export interface operations {
|
|
|
19751
19855
|
uniqueRef?: string | null;
|
|
19752
19856
|
/** @enum {string} */
|
|
19753
19857
|
status: "active" | "inactive";
|
|
19754
|
-
invite?: boolean | null;
|
|
19755
19858
|
/** Format: uuid */
|
|
19756
19859
|
payoutAccountId?: string | null;
|
|
19757
19860
|
/** Format: uuid */
|
|
@@ -19860,6 +19963,7 @@ export interface operations {
|
|
|
19860
19963
|
} | null;
|
|
19861
19964
|
/** @enum {string} */
|
|
19862
19965
|
type: "owner" | "vendor";
|
|
19966
|
+
/** Format: email */
|
|
19863
19967
|
email?: string | null;
|
|
19864
19968
|
firstName?: string | null;
|
|
19865
19969
|
name?: string | null;
|
|
@@ -19873,9 +19977,9 @@ export interface operations {
|
|
|
19873
19977
|
uniqueRef?: string | null;
|
|
19874
19978
|
/** @enum {string|null} */
|
|
19875
19979
|
status?: "active" | "inactive" | null;
|
|
19876
|
-
invite?: boolean | null;
|
|
19877
19980
|
/** Format: uuid */
|
|
19878
19981
|
payoutAccountId?: string | null;
|
|
19982
|
+
invite?: boolean | null;
|
|
19879
19983
|
};
|
|
19880
19984
|
};
|
|
19881
19985
|
};
|
|
@@ -19900,6 +20004,7 @@ export interface operations {
|
|
|
19900
20004
|
} | null;
|
|
19901
20005
|
/** @enum {string} */
|
|
19902
20006
|
type: "owner" | "vendor";
|
|
20007
|
+
/** Format: email */
|
|
19903
20008
|
email?: string | null;
|
|
19904
20009
|
firstName?: string | null;
|
|
19905
20010
|
name?: string | null;
|
|
@@ -19911,7 +20016,6 @@ export interface operations {
|
|
|
19911
20016
|
uniqueRef?: string | null;
|
|
19912
20017
|
/** @enum {string} */
|
|
19913
20018
|
status: "active" | "inactive";
|
|
19914
|
-
invite?: boolean | null;
|
|
19915
20019
|
/** Format: uuid */
|
|
19916
20020
|
payoutAccountId?: string | null;
|
|
19917
20021
|
/** Format: uuid */
|
|
@@ -21262,7 +21366,7 @@ export interface operations {
|
|
|
21262
21366
|
};
|
|
21263
21367
|
};
|
|
21264
21368
|
};
|
|
21265
|
-
|
|
21369
|
+
getDispatchAction: {
|
|
21266
21370
|
parameters: {
|
|
21267
21371
|
query?: never;
|
|
21268
21372
|
header?: {
|
|
@@ -21290,29 +21394,25 @@ export interface operations {
|
|
|
21290
21394
|
message: string | null;
|
|
21291
21395
|
payload?: unknown;
|
|
21292
21396
|
userId: string | null;
|
|
21293
|
-
/** Format: date-time */
|
|
21294
21397
|
createdAt: string;
|
|
21295
21398
|
effects: {
|
|
21296
21399
|
/** Format: uuid */
|
|
21297
21400
|
id: string;
|
|
21298
|
-
|
|
21299
|
-
effectType: "REFRESH_RESERVATION_JOURNAL" | "REFRESH_TRANSACTION_JOURNAL" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "UPDATE_RECURRING_TRANSACTION_INSTANCES" | "DEACTIVATE_RECURRING_TEMPLATE" | "UPDATE_RESERVATION_PAYMENTS" | "MATCH_TRANSACTION_LINE_TO_RESERVATION" | "MATCH_RESERVATION_TO_STRIPE_DEPOSIT" | "TEST_EFFECT";
|
|
21401
|
+
effectType: string;
|
|
21300
21402
|
payload?: unknown;
|
|
21403
|
+
entityType: string | null;
|
|
21404
|
+
entityId: string | null;
|
|
21301
21405
|
/** @enum {string} */
|
|
21302
21406
|
status: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
|
|
21303
21407
|
priority: number;
|
|
21304
21408
|
retryCount: number;
|
|
21305
21409
|
maxRetries: number;
|
|
21306
21410
|
sequence: number;
|
|
21307
|
-
/** Format: date-time */
|
|
21308
21411
|
claimedAt: string | null;
|
|
21309
21412
|
claimedBy: string | null;
|
|
21310
|
-
/** Format: date-time */
|
|
21311
21413
|
completedAt: string | null;
|
|
21312
|
-
/** Format: date-time */
|
|
21313
21414
|
lastAttemptAt: string | null;
|
|
21314
21415
|
lastError: string | null;
|
|
21315
|
-
/** Format: date-time */
|
|
21316
21416
|
createdAt: string;
|
|
21317
21417
|
}[];
|
|
21318
21418
|
effectCounts: {
|
|
@@ -21374,280 +21474,26 @@ export interface operations {
|
|
|
21374
21474
|
};
|
|
21375
21475
|
};
|
|
21376
21476
|
};
|
|
21377
|
-
|
|
21477
|
+
plaidConnectComplete: {
|
|
21378
21478
|
parameters: {
|
|
21379
|
-
query?:
|
|
21380
|
-
date?: string;
|
|
21381
|
-
connectionId?: string;
|
|
21382
|
-
type?: string;
|
|
21383
|
-
listingId?: string;
|
|
21384
|
-
listingConnectionId?: string;
|
|
21385
|
-
limit?: number;
|
|
21386
|
-
page?: number;
|
|
21387
|
-
};
|
|
21479
|
+
query?: never;
|
|
21388
21480
|
header?: {
|
|
21389
21481
|
"X-Team-Id"?: string;
|
|
21390
21482
|
};
|
|
21391
21483
|
path?: never;
|
|
21392
21484
|
cookie?: never;
|
|
21393
21485
|
};
|
|
21394
|
-
requestBody
|
|
21395
|
-
|
|
21396
|
-
|
|
21397
|
-
|
|
21398
|
-
|
|
21399
|
-
|
|
21400
|
-
|
|
21401
|
-
|
|
21402
|
-
|
|
21403
|
-
|
|
21404
|
-
|
|
21405
|
-
uniqueRef: string;
|
|
21406
|
-
comments?: string | null;
|
|
21407
|
-
privateFeedback?: string | null;
|
|
21408
|
-
totalRating: number;
|
|
21409
|
-
tags: {
|
|
21410
|
-
type: string;
|
|
21411
|
-
description: string;
|
|
21412
|
-
}[];
|
|
21413
|
-
ratings: {
|
|
21414
|
-
type: string;
|
|
21415
|
-
comments: string;
|
|
21416
|
-
rating?: number | null;
|
|
21417
|
-
}[];
|
|
21418
|
-
reservation: {
|
|
21419
|
-
currency: string | null;
|
|
21420
|
-
uniqueRef?: string | null;
|
|
21421
|
-
guestName?: string | null;
|
|
21422
|
-
bookerName?: string | null;
|
|
21423
|
-
checkIn?: string | null;
|
|
21424
|
-
checkOut?: string | null;
|
|
21425
|
-
generalLedgerPostingAt?: string | null;
|
|
21426
|
-
bookedAt?: string | null;
|
|
21427
|
-
cancelledAt?: string | null;
|
|
21428
|
-
bookingPlatform?: string | null;
|
|
21429
|
-
confirmationCode?: string | null;
|
|
21430
|
-
pmsReferenceCode?: string | null;
|
|
21431
|
-
guests?: number | null;
|
|
21432
|
-
userdata: {
|
|
21433
|
-
[key: string]: unknown;
|
|
21434
|
-
} | null;
|
|
21435
|
-
/** Format: uuid */
|
|
21436
|
-
id: string;
|
|
21437
|
-
issues: ({
|
|
21438
|
-
/** @enum {string} */
|
|
21439
|
-
code: "unassignedAccount";
|
|
21440
|
-
/** @enum {string} */
|
|
21441
|
-
severity: "error";
|
|
21442
|
-
context: {
|
|
21443
|
-
accountIds: string[];
|
|
21444
|
-
};
|
|
21445
|
-
} | {
|
|
21446
|
-
/** @enum {string} */
|
|
21447
|
-
code: "priorToStartDate";
|
|
21448
|
-
/** @enum {string} */
|
|
21449
|
-
severity: "warning";
|
|
21450
|
-
context: {
|
|
21451
|
-
startDate?: string | null;
|
|
21452
|
-
};
|
|
21453
|
-
} | {
|
|
21454
|
-
/** @enum {string} */
|
|
21455
|
-
code: "inactiveListing";
|
|
21456
|
-
/** @enum {string} */
|
|
21457
|
-
severity: "warning";
|
|
21458
|
-
context: {
|
|
21459
|
-
startDate?: string | null;
|
|
21460
|
-
};
|
|
21461
|
-
} | {
|
|
21462
|
-
/** @enum {string} */
|
|
21463
|
-
code: "inactiveConnection";
|
|
21464
|
-
/** @enum {string} */
|
|
21465
|
-
severity: "warning";
|
|
21466
|
-
context: Record<string, never>;
|
|
21467
|
-
})[];
|
|
21468
|
-
connection?: {
|
|
21469
|
-
/** Format: uuid */
|
|
21470
|
-
id: string;
|
|
21471
|
-
name: string;
|
|
21472
|
-
/** @enum {string} */
|
|
21473
|
-
status: "active" | "inactive";
|
|
21474
|
-
uniqueRef?: string | null;
|
|
21475
|
-
app: {
|
|
21476
|
-
id: string;
|
|
21477
|
-
name: string;
|
|
21478
|
-
icon?: string | null;
|
|
21479
|
-
importers?: string[] | null;
|
|
21480
|
-
extractors?: string[] | null;
|
|
21481
|
-
};
|
|
21482
|
-
} | null;
|
|
21483
|
-
nights?: number | null;
|
|
21484
|
-
/** @enum {string|null} */
|
|
21485
|
-
status?: "booked" | "canceled" | "inactive" | null;
|
|
21486
|
-
listing?: {
|
|
21487
|
-
/** Format: uuid */
|
|
21488
|
-
id: string;
|
|
21489
|
-
name: string;
|
|
21490
|
-
address?: {
|
|
21491
|
-
full?: string | null;
|
|
21492
|
-
line1?: string | null;
|
|
21493
|
-
line2?: string | null;
|
|
21494
|
-
city?: string | null;
|
|
21495
|
-
/** @deprecated */
|
|
21496
|
-
state?: string | null;
|
|
21497
|
-
postalCode?: string | null;
|
|
21498
|
-
stateCode?: string | null;
|
|
21499
|
-
countryCode?: string | null;
|
|
21500
|
-
} | null;
|
|
21501
|
-
uniqueRef?: string | null;
|
|
21502
|
-
} | null;
|
|
21503
|
-
listingConnection?: {
|
|
21504
|
-
/** Format: uuid */
|
|
21505
|
-
id: string;
|
|
21506
|
-
name: string;
|
|
21507
|
-
uniqueRef?: string | null;
|
|
21508
|
-
} | null;
|
|
21509
|
-
payment: {
|
|
21510
|
-
expected: number;
|
|
21511
|
-
received: number;
|
|
21512
|
-
status: ("unpaid" | "underpaid" | "overpaid" | "paid") | "coHost";
|
|
21513
|
-
};
|
|
21514
|
-
source?: {
|
|
21515
|
-
/** Format: uuid */
|
|
21516
|
-
id: string;
|
|
21517
|
-
type: string;
|
|
21518
|
-
/** @enum {string|null} */
|
|
21519
|
-
status?: "active" | "inactive" | null;
|
|
21520
|
-
} | null;
|
|
21521
|
-
lines: {
|
|
21522
|
-
/** Format: uuid */
|
|
21523
|
-
id: string;
|
|
21524
|
-
uniqueRef?: string | null;
|
|
21525
|
-
type: string;
|
|
21526
|
-
description?: string | null;
|
|
21527
|
-
/** @description Value in cents (100 = 1€) */
|
|
21528
|
-
amount: number;
|
|
21529
|
-
connectionId?: string | null;
|
|
21530
|
-
metadata?: {
|
|
21531
|
-
[key: string]: unknown;
|
|
21532
|
-
} | null;
|
|
21533
|
-
account?: {
|
|
21534
|
-
id: string;
|
|
21535
|
-
name: string;
|
|
21536
|
-
uniqueRef?: string | null;
|
|
21537
|
-
/** @enum {string} */
|
|
21538
|
-
status: "active" | "inactive";
|
|
21539
|
-
} | null;
|
|
21540
|
-
isExcluded?: boolean | null;
|
|
21541
|
-
}[];
|
|
21542
|
-
/** @description Adjustments are manually added financial lines that are not part of the booking platform */
|
|
21543
|
-
adjustments: {
|
|
21544
|
-
/** Format: uuid */
|
|
21545
|
-
id: string;
|
|
21546
|
-
type?: string;
|
|
21547
|
-
description?: string | null;
|
|
21548
|
-
/** @description Value in cents (100 = 1€) */
|
|
21549
|
-
amount: number;
|
|
21550
|
-
metadata?: {
|
|
21551
|
-
[key: string]: unknown;
|
|
21552
|
-
} | null;
|
|
21553
|
-
/** @enum {string|null} */
|
|
21554
|
-
party?: "owners" | "manager" | null;
|
|
21555
|
-
account?: {
|
|
21556
|
-
id: string;
|
|
21557
|
-
name: string;
|
|
21558
|
-
uniqueRef?: string | null;
|
|
21559
|
-
/** @enum {string} */
|
|
21560
|
-
status: "active" | "inactive";
|
|
21561
|
-
} | null;
|
|
21562
|
-
recurringFee?: {
|
|
21563
|
-
id: string;
|
|
21564
|
-
uniqueRef: string;
|
|
21565
|
-
name: string;
|
|
21566
|
-
/** @enum {string} */
|
|
21567
|
-
type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
|
|
21568
|
-
} | null;
|
|
21569
|
-
}[];
|
|
21570
|
-
};
|
|
21571
|
-
}[];
|
|
21572
|
-
pagination: {
|
|
21573
|
-
/** @default 100 */
|
|
21574
|
-
limit: number;
|
|
21575
|
-
/** @default 1 */
|
|
21576
|
-
page: number;
|
|
21577
|
-
total: number;
|
|
21578
|
-
totalPage: number;
|
|
21579
|
-
nextPage?: number;
|
|
21580
|
-
};
|
|
21581
|
-
};
|
|
21582
|
-
};
|
|
21583
|
-
};
|
|
21584
|
-
/** @description Invalid input data */
|
|
21585
|
-
400: {
|
|
21586
|
-
headers: {
|
|
21587
|
-
[name: string]: unknown;
|
|
21588
|
-
};
|
|
21589
|
-
content: {
|
|
21590
|
-
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
21591
|
-
};
|
|
21592
|
-
};
|
|
21593
|
-
/** @description Authorization not provided */
|
|
21594
|
-
401: {
|
|
21595
|
-
headers: {
|
|
21596
|
-
[name: string]: unknown;
|
|
21597
|
-
};
|
|
21598
|
-
content: {
|
|
21599
|
-
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
21600
|
-
};
|
|
21601
|
-
};
|
|
21602
|
-
/** @description Insufficient access */
|
|
21603
|
-
403: {
|
|
21604
|
-
headers: {
|
|
21605
|
-
[name: string]: unknown;
|
|
21606
|
-
};
|
|
21607
|
-
content: {
|
|
21608
|
-
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
21609
|
-
};
|
|
21610
|
-
};
|
|
21611
|
-
/** @description Not found */
|
|
21612
|
-
404: {
|
|
21613
|
-
headers: {
|
|
21614
|
-
[name: string]: unknown;
|
|
21615
|
-
};
|
|
21616
|
-
content: {
|
|
21617
|
-
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
21618
|
-
};
|
|
21619
|
-
};
|
|
21620
|
-
/** @description Internal server error */
|
|
21621
|
-
500: {
|
|
21622
|
-
headers: {
|
|
21623
|
-
[name: string]: unknown;
|
|
21624
|
-
};
|
|
21625
|
-
content: {
|
|
21626
|
-
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
21627
|
-
};
|
|
21628
|
-
};
|
|
21629
|
-
};
|
|
21630
|
-
};
|
|
21631
|
-
plaidConnectComplete: {
|
|
21632
|
-
parameters: {
|
|
21633
|
-
query?: never;
|
|
21634
|
-
header?: {
|
|
21635
|
-
"X-Team-Id"?: string;
|
|
21636
|
-
};
|
|
21637
|
-
path?: never;
|
|
21638
|
-
cookie?: never;
|
|
21639
|
-
};
|
|
21640
|
-
requestBody: {
|
|
21641
|
-
content: {
|
|
21642
|
-
"application/json": {
|
|
21643
|
-
connectionId?: string | null;
|
|
21644
|
-
/** @enum {string|null} */
|
|
21645
|
-
environment?: "sandbox" | "production" | null;
|
|
21646
|
-
code?: string | null;
|
|
21647
|
-
token?: string | null;
|
|
21648
|
-
};
|
|
21649
|
-
};
|
|
21650
|
-
};
|
|
21486
|
+
requestBody: {
|
|
21487
|
+
content: {
|
|
21488
|
+
"application/json": {
|
|
21489
|
+
connectionId?: string | null;
|
|
21490
|
+
/** @enum {string|null} */
|
|
21491
|
+
environment?: "sandbox" | "production" | null;
|
|
21492
|
+
code?: string | null;
|
|
21493
|
+
token?: string | null;
|
|
21494
|
+
};
|
|
21495
|
+
};
|
|
21496
|
+
};
|
|
21651
21497
|
responses: {
|
|
21652
21498
|
/** @description Successful response */
|
|
21653
21499
|
200: {
|
|
@@ -22701,23 +22547,37 @@ export interface operations {
|
|
|
22701
22547
|
};
|
|
22702
22548
|
getJournalEntriesReport: {
|
|
22703
22549
|
parameters: {
|
|
22704
|
-
query
|
|
22705
|
-
|
|
22706
|
-
|
|
22550
|
+
query?: {
|
|
22551
|
+
/** @description comma separated journal entry ids */
|
|
22552
|
+
ids?: string;
|
|
22553
|
+
txnCode?: string;
|
|
22554
|
+
published?: boolean;
|
|
22555
|
+
status?: "active" | "inactive";
|
|
22556
|
+
startAt?: string;
|
|
22557
|
+
endAt?: string;
|
|
22707
22558
|
search?: string;
|
|
22708
22559
|
date?: string;
|
|
22709
22560
|
amount?: string;
|
|
22710
22561
|
isDateRangeEndInclusive?: boolean;
|
|
22711
|
-
/** @description
|
|
22562
|
+
/** @description comma separated reservation ids */
|
|
22563
|
+
reservationIds?: string;
|
|
22564
|
+
/** @description comma separated transaction ids */
|
|
22565
|
+
transactionIds?: string;
|
|
22566
|
+
/** @description comma separated owner statement ids */
|
|
22567
|
+
ownerStatementIds?: string;
|
|
22568
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
22569
|
+
currency?: string;
|
|
22570
|
+
/** @description listing ids comma separated or "unmapped" */
|
|
22712
22571
|
listingIds?: string;
|
|
22713
|
-
/** @description comma separated accounts */
|
|
22572
|
+
/** @description account ids comma separated accounts or "unmapped" */
|
|
22714
22573
|
accountIds?: string;
|
|
22715
22574
|
/** @description comma separated categories */
|
|
22716
22575
|
categoryIds?: string;
|
|
22717
|
-
|
|
22718
|
-
|
|
22719
|
-
|
|
22576
|
+
classifications?: string;
|
|
22577
|
+
types?: string;
|
|
22578
|
+
entityTypes?: string;
|
|
22720
22579
|
party?: "owners" | "manager";
|
|
22580
|
+
includeDetails?: boolean;
|
|
22721
22581
|
limit?: number;
|
|
22722
22582
|
page?: number;
|
|
22723
22583
|
};
|
|
@@ -22738,6 +22598,9 @@ export interface operations {
|
|
|
22738
22598
|
"application/json": {
|
|
22739
22599
|
data: {
|
|
22740
22600
|
id: string;
|
|
22601
|
+
/** @enum {string} */
|
|
22602
|
+
active: "active" | "inactive";
|
|
22603
|
+
txnCode: string;
|
|
22741
22604
|
txnAt: string;
|
|
22742
22605
|
description: string;
|
|
22743
22606
|
centTotal: number;
|
|
@@ -22760,6 +22623,16 @@ export interface operations {
|
|
|
22760
22623
|
id: string;
|
|
22761
22624
|
name: string;
|
|
22762
22625
|
};
|
|
22626
|
+
detail?: {
|
|
22627
|
+
owners?: string;
|
|
22628
|
+
listing?: string;
|
|
22629
|
+
reservationConfirmationCode?: string;
|
|
22630
|
+
bookingChannel?: string;
|
|
22631
|
+
transactionReference?: string;
|
|
22632
|
+
reservationLineReference?: string;
|
|
22633
|
+
classification?: string;
|
|
22634
|
+
category?: string;
|
|
22635
|
+
};
|
|
22763
22636
|
}[];
|
|
22764
22637
|
pagination: {
|
|
22765
22638
|
/** @default 100 */
|
|
@@ -22820,6 +22693,105 @@ export interface operations {
|
|
|
22820
22693
|
};
|
|
22821
22694
|
};
|
|
22822
22695
|
};
|
|
22696
|
+
getJournalEntriesReportCsv: {
|
|
22697
|
+
parameters: {
|
|
22698
|
+
query?: {
|
|
22699
|
+
/** @description comma separated journal entry ids */
|
|
22700
|
+
ids?: string;
|
|
22701
|
+
txnCode?: string;
|
|
22702
|
+
published?: boolean;
|
|
22703
|
+
status?: "active" | "inactive";
|
|
22704
|
+
startAt?: string;
|
|
22705
|
+
endAt?: string;
|
|
22706
|
+
search?: string;
|
|
22707
|
+
date?: string;
|
|
22708
|
+
amount?: string;
|
|
22709
|
+
isDateRangeEndInclusive?: boolean;
|
|
22710
|
+
/** @description comma separated reservation ids */
|
|
22711
|
+
reservationIds?: string;
|
|
22712
|
+
/** @description comma separated transaction ids */
|
|
22713
|
+
transactionIds?: string;
|
|
22714
|
+
/** @description comma separated owner statement ids */
|
|
22715
|
+
ownerStatementIds?: string;
|
|
22716
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
22717
|
+
currency?: string;
|
|
22718
|
+
/** @description listing ids comma separated or "unmapped" */
|
|
22719
|
+
listingIds?: string;
|
|
22720
|
+
/** @description account ids comma separated accounts or "unmapped" */
|
|
22721
|
+
accountIds?: string;
|
|
22722
|
+
/** @description comma separated categories */
|
|
22723
|
+
categoryIds?: string;
|
|
22724
|
+
classifications?: string;
|
|
22725
|
+
types?: string;
|
|
22726
|
+
entityTypes?: string;
|
|
22727
|
+
party?: "owners" | "manager";
|
|
22728
|
+
};
|
|
22729
|
+
header?: {
|
|
22730
|
+
"X-Team-Id"?: string;
|
|
22731
|
+
};
|
|
22732
|
+
path?: never;
|
|
22733
|
+
cookie?: never;
|
|
22734
|
+
};
|
|
22735
|
+
requestBody?: never;
|
|
22736
|
+
responses: {
|
|
22737
|
+
/** @description Successful response */
|
|
22738
|
+
200: {
|
|
22739
|
+
headers: {
|
|
22740
|
+
[name: string]: unknown;
|
|
22741
|
+
};
|
|
22742
|
+
content: {
|
|
22743
|
+
"application/json": {
|
|
22744
|
+
url: string;
|
|
22745
|
+
};
|
|
22746
|
+
};
|
|
22747
|
+
};
|
|
22748
|
+
/** @description Invalid input data */
|
|
22749
|
+
400: {
|
|
22750
|
+
headers: {
|
|
22751
|
+
[name: string]: unknown;
|
|
22752
|
+
};
|
|
22753
|
+
content: {
|
|
22754
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
22755
|
+
};
|
|
22756
|
+
};
|
|
22757
|
+
/** @description Authorization not provided */
|
|
22758
|
+
401: {
|
|
22759
|
+
headers: {
|
|
22760
|
+
[name: string]: unknown;
|
|
22761
|
+
};
|
|
22762
|
+
content: {
|
|
22763
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
22764
|
+
};
|
|
22765
|
+
};
|
|
22766
|
+
/** @description Insufficient access */
|
|
22767
|
+
403: {
|
|
22768
|
+
headers: {
|
|
22769
|
+
[name: string]: unknown;
|
|
22770
|
+
};
|
|
22771
|
+
content: {
|
|
22772
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
22773
|
+
};
|
|
22774
|
+
};
|
|
22775
|
+
/** @description Not found */
|
|
22776
|
+
404: {
|
|
22777
|
+
headers: {
|
|
22778
|
+
[name: string]: unknown;
|
|
22779
|
+
};
|
|
22780
|
+
content: {
|
|
22781
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
22782
|
+
};
|
|
22783
|
+
};
|
|
22784
|
+
/** @description Internal server error */
|
|
22785
|
+
500: {
|
|
22786
|
+
headers: {
|
|
22787
|
+
[name: string]: unknown;
|
|
22788
|
+
};
|
|
22789
|
+
content: {
|
|
22790
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
22791
|
+
};
|
|
22792
|
+
};
|
|
22793
|
+
};
|
|
22794
|
+
};
|
|
22823
22795
|
getManagerStatementsReport: {
|
|
22824
22796
|
parameters: {
|
|
22825
22797
|
query: {
|
|
@@ -23029,21 +23001,35 @@ export interface operations {
|
|
|
23029
23001
|
};
|
|
23030
23002
|
getManagerStatementReportJournalEntries: {
|
|
23031
23003
|
parameters: {
|
|
23032
|
-
query
|
|
23033
|
-
|
|
23034
|
-
|
|
23004
|
+
query?: {
|
|
23005
|
+
/** @description comma separated journal entry ids */
|
|
23006
|
+
ids?: string;
|
|
23007
|
+
txnCode?: string;
|
|
23008
|
+
published?: boolean;
|
|
23009
|
+
status?: "active" | "inactive";
|
|
23010
|
+
startAt?: string;
|
|
23011
|
+
endAt?: string;
|
|
23035
23012
|
search?: string;
|
|
23036
23013
|
date?: string;
|
|
23037
23014
|
amount?: string;
|
|
23038
|
-
|
|
23015
|
+
isDateRangeEndInclusive?: boolean;
|
|
23016
|
+
/** @description comma separated reservation ids */
|
|
23017
|
+
reservationIds?: string;
|
|
23018
|
+
/** @description comma separated transaction ids */
|
|
23019
|
+
transactionIds?: string;
|
|
23020
|
+
/** @description comma separated owner statement ids */
|
|
23021
|
+
ownerStatementIds?: string;
|
|
23022
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
23023
|
+
currency?: string;
|
|
23024
|
+
/** @description listing ids comma separated or "unmapped" */
|
|
23039
23025
|
listingIds?: string;
|
|
23040
|
-
/** @description comma separated accounts */
|
|
23026
|
+
/** @description account ids comma separated accounts or "unmapped" */
|
|
23041
23027
|
accountIds?: string;
|
|
23042
23028
|
/** @description comma separated categories */
|
|
23043
23029
|
categoryIds?: string;
|
|
23044
|
-
|
|
23045
|
-
|
|
23046
|
-
|
|
23030
|
+
classifications?: string;
|
|
23031
|
+
types?: string;
|
|
23032
|
+
entityTypes?: string;
|
|
23047
23033
|
limit?: number;
|
|
23048
23034
|
page?: number;
|
|
23049
23035
|
};
|
|
@@ -23064,6 +23050,9 @@ export interface operations {
|
|
|
23064
23050
|
"application/json": {
|
|
23065
23051
|
data: {
|
|
23066
23052
|
id: string;
|
|
23053
|
+
/** @enum {string} */
|
|
23054
|
+
active: "active" | "inactive";
|
|
23055
|
+
txnCode: string;
|
|
23067
23056
|
txnAt: string;
|
|
23068
23057
|
description: string;
|
|
23069
23058
|
centTotal: number;
|
|
@@ -23086,6 +23075,16 @@ export interface operations {
|
|
|
23086
23075
|
id: string;
|
|
23087
23076
|
name: string;
|
|
23088
23077
|
};
|
|
23078
|
+
detail?: {
|
|
23079
|
+
owners?: string;
|
|
23080
|
+
listing?: string;
|
|
23081
|
+
reservationConfirmationCode?: string;
|
|
23082
|
+
bookingChannel?: string;
|
|
23083
|
+
transactionReference?: string;
|
|
23084
|
+
reservationLineReference?: string;
|
|
23085
|
+
classification?: string;
|
|
23086
|
+
category?: string;
|
|
23087
|
+
};
|
|
23089
23088
|
}[];
|
|
23090
23089
|
pagination: {
|
|
23091
23090
|
/** @default 100 */
|
|
@@ -23146,6 +23145,104 @@ export interface operations {
|
|
|
23146
23145
|
};
|
|
23147
23146
|
};
|
|
23148
23147
|
};
|
|
23148
|
+
getManagerStatementReportJournalEntriesCsv: {
|
|
23149
|
+
parameters: {
|
|
23150
|
+
query?: {
|
|
23151
|
+
/** @description comma separated journal entry ids */
|
|
23152
|
+
ids?: string;
|
|
23153
|
+
txnCode?: string;
|
|
23154
|
+
published?: boolean;
|
|
23155
|
+
status?: "active" | "inactive";
|
|
23156
|
+
startAt?: string;
|
|
23157
|
+
endAt?: string;
|
|
23158
|
+
search?: string;
|
|
23159
|
+
date?: string;
|
|
23160
|
+
amount?: string;
|
|
23161
|
+
isDateRangeEndInclusive?: boolean;
|
|
23162
|
+
/** @description comma separated reservation ids */
|
|
23163
|
+
reservationIds?: string;
|
|
23164
|
+
/** @description comma separated transaction ids */
|
|
23165
|
+
transactionIds?: string;
|
|
23166
|
+
/** @description comma separated owner statement ids */
|
|
23167
|
+
ownerStatementIds?: string;
|
|
23168
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
23169
|
+
currency?: string;
|
|
23170
|
+
/** @description listing ids comma separated or "unmapped" */
|
|
23171
|
+
listingIds?: string;
|
|
23172
|
+
/** @description account ids comma separated accounts or "unmapped" */
|
|
23173
|
+
accountIds?: string;
|
|
23174
|
+
/** @description comma separated categories */
|
|
23175
|
+
categoryIds?: string;
|
|
23176
|
+
classifications?: string;
|
|
23177
|
+
types?: string;
|
|
23178
|
+
entityTypes?: string;
|
|
23179
|
+
};
|
|
23180
|
+
header?: {
|
|
23181
|
+
"X-Team-Id"?: string;
|
|
23182
|
+
};
|
|
23183
|
+
path?: never;
|
|
23184
|
+
cookie?: never;
|
|
23185
|
+
};
|
|
23186
|
+
requestBody?: never;
|
|
23187
|
+
responses: {
|
|
23188
|
+
/** @description Successful response */
|
|
23189
|
+
200: {
|
|
23190
|
+
headers: {
|
|
23191
|
+
[name: string]: unknown;
|
|
23192
|
+
};
|
|
23193
|
+
content: {
|
|
23194
|
+
"application/json": {
|
|
23195
|
+
url: string;
|
|
23196
|
+
};
|
|
23197
|
+
};
|
|
23198
|
+
};
|
|
23199
|
+
/** @description Invalid input data */
|
|
23200
|
+
400: {
|
|
23201
|
+
headers: {
|
|
23202
|
+
[name: string]: unknown;
|
|
23203
|
+
};
|
|
23204
|
+
content: {
|
|
23205
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
23206
|
+
};
|
|
23207
|
+
};
|
|
23208
|
+
/** @description Authorization not provided */
|
|
23209
|
+
401: {
|
|
23210
|
+
headers: {
|
|
23211
|
+
[name: string]: unknown;
|
|
23212
|
+
};
|
|
23213
|
+
content: {
|
|
23214
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
23215
|
+
};
|
|
23216
|
+
};
|
|
23217
|
+
/** @description Insufficient access */
|
|
23218
|
+
403: {
|
|
23219
|
+
headers: {
|
|
23220
|
+
[name: string]: unknown;
|
|
23221
|
+
};
|
|
23222
|
+
content: {
|
|
23223
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
23224
|
+
};
|
|
23225
|
+
};
|
|
23226
|
+
/** @description Not found */
|
|
23227
|
+
404: {
|
|
23228
|
+
headers: {
|
|
23229
|
+
[name: string]: unknown;
|
|
23230
|
+
};
|
|
23231
|
+
content: {
|
|
23232
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
23233
|
+
};
|
|
23234
|
+
};
|
|
23235
|
+
/** @description Internal server error */
|
|
23236
|
+
500: {
|
|
23237
|
+
headers: {
|
|
23238
|
+
[name: string]: unknown;
|
|
23239
|
+
};
|
|
23240
|
+
content: {
|
|
23241
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
23242
|
+
};
|
|
23243
|
+
};
|
|
23244
|
+
};
|
|
23245
|
+
};
|
|
23149
23246
|
getProfitAndLossReport: {
|
|
23150
23247
|
parameters: {
|
|
23151
23248
|
query?: {
|
|
@@ -23370,8 +23467,10 @@ export interface operations {
|
|
|
23370
23467
|
getOwnerStatementSummariesReport: {
|
|
23371
23468
|
parameters: {
|
|
23372
23469
|
query: {
|
|
23373
|
-
|
|
23374
|
-
|
|
23470
|
+
startAt: string;
|
|
23471
|
+
endAt: string;
|
|
23472
|
+
/** @description comma separated listings */
|
|
23473
|
+
listingIds?: string;
|
|
23375
23474
|
};
|
|
23376
23475
|
header?: {
|
|
23377
23476
|
"X-Team-Id"?: string;
|
|
@@ -23391,10 +23490,11 @@ export interface operations {
|
|
|
23391
23490
|
data: {
|
|
23392
23491
|
contact: {
|
|
23393
23492
|
contactId: string;
|
|
23394
|
-
name?: string
|
|
23395
|
-
firstName?: string
|
|
23396
|
-
|
|
23397
|
-
|
|
23493
|
+
name?: string;
|
|
23494
|
+
firstName?: string;
|
|
23495
|
+
/** Format: email */
|
|
23496
|
+
email?: string;
|
|
23497
|
+
phone?: string;
|
|
23398
23498
|
};
|
|
23399
23499
|
currency: string;
|
|
23400
23500
|
financials: {
|
|
@@ -23460,8 +23560,10 @@ export interface operations {
|
|
|
23460
23560
|
getOwnerStatementSummariesReportCsv: {
|
|
23461
23561
|
parameters: {
|
|
23462
23562
|
query: {
|
|
23463
|
-
|
|
23464
|
-
|
|
23563
|
+
startAt: string;
|
|
23564
|
+
endAt: string;
|
|
23565
|
+
/** @description comma separated listings */
|
|
23566
|
+
listingIds?: string;
|
|
23465
23567
|
};
|
|
23466
23568
|
header?: {
|
|
23467
23569
|
"X-Team-Id"?: string;
|
|
@@ -23533,10 +23635,12 @@ export interface operations {
|
|
|
23533
23635
|
parameters: {
|
|
23534
23636
|
query: {
|
|
23535
23637
|
view: "listing" | "month" | "reservation" | "bookingChannel";
|
|
23536
|
-
|
|
23537
|
-
|
|
23538
|
-
|
|
23638
|
+
startAt: string;
|
|
23639
|
+
endAt: string;
|
|
23640
|
+
/** @description comma separated listings */
|
|
23641
|
+
listingIds?: string;
|
|
23539
23642
|
currency?: string;
|
|
23643
|
+
viewAs?: "owner" | "manager";
|
|
23540
23644
|
};
|
|
23541
23645
|
header?: {
|
|
23542
23646
|
"X-Team-Id"?: string;
|
|
@@ -23555,30 +23659,84 @@ export interface operations {
|
|
|
23555
23659
|
};
|
|
23556
23660
|
content: {
|
|
23557
23661
|
"application/json": {
|
|
23662
|
+
currency: string;
|
|
23663
|
+
contact: {
|
|
23664
|
+
contactId: string;
|
|
23665
|
+
name?: string;
|
|
23666
|
+
firstName?: string;
|
|
23667
|
+
/** Format: email */
|
|
23668
|
+
email?: string;
|
|
23669
|
+
phone?: string;
|
|
23670
|
+
};
|
|
23671
|
+
financials: {
|
|
23672
|
+
balanceStart: number;
|
|
23673
|
+
netRevenue: number;
|
|
23674
|
+
expenses: number;
|
|
23675
|
+
transfers: number;
|
|
23676
|
+
netIncome: number;
|
|
23677
|
+
currentBalance: number;
|
|
23678
|
+
balanceEnd: number;
|
|
23679
|
+
};
|
|
23558
23680
|
netRevenueSection: {
|
|
23559
23681
|
title: string;
|
|
23560
23682
|
rows: {
|
|
23561
23683
|
title: string;
|
|
23562
|
-
statementIds
|
|
23684
|
+
statementIds?: string[];
|
|
23563
23685
|
columns: {
|
|
23564
23686
|
title: string;
|
|
23565
23687
|
value: number | string;
|
|
23566
23688
|
formatted: string;
|
|
23567
23689
|
}[];
|
|
23568
23690
|
}[];
|
|
23691
|
+
subtotal?: {
|
|
23692
|
+
title: string;
|
|
23693
|
+
columns: {
|
|
23694
|
+
title: string;
|
|
23695
|
+
value: number | string;
|
|
23696
|
+
formatted: string;
|
|
23697
|
+
}[];
|
|
23698
|
+
};
|
|
23569
23699
|
};
|
|
23570
23700
|
otherSections: {
|
|
23571
23701
|
title: string;
|
|
23572
23702
|
rows: {
|
|
23573
23703
|
title: string;
|
|
23574
|
-
statementIds
|
|
23704
|
+
statementIds?: string[];
|
|
23575
23705
|
columns: {
|
|
23576
23706
|
title: string;
|
|
23577
23707
|
value: number | string;
|
|
23578
23708
|
formatted: string;
|
|
23579
23709
|
}[];
|
|
23580
23710
|
}[];
|
|
23711
|
+
subtotal?: {
|
|
23712
|
+
title: string;
|
|
23713
|
+
columns: {
|
|
23714
|
+
title: string;
|
|
23715
|
+
value: number | string;
|
|
23716
|
+
formatted: string;
|
|
23717
|
+
}[];
|
|
23718
|
+
};
|
|
23581
23719
|
}[];
|
|
23720
|
+
transfersSection?: {
|
|
23721
|
+
title: string;
|
|
23722
|
+
rows: {
|
|
23723
|
+
title: string;
|
|
23724
|
+
statementIds?: string[];
|
|
23725
|
+
columns: {
|
|
23726
|
+
title: string;
|
|
23727
|
+
value: number | string;
|
|
23728
|
+
formatted: string;
|
|
23729
|
+
}[];
|
|
23730
|
+
}[];
|
|
23731
|
+
subtotal?: {
|
|
23732
|
+
title: string;
|
|
23733
|
+
columns: {
|
|
23734
|
+
title: string;
|
|
23735
|
+
value: number | string;
|
|
23736
|
+
formatted: string;
|
|
23737
|
+
}[];
|
|
23738
|
+
};
|
|
23739
|
+
};
|
|
23582
23740
|
};
|
|
23583
23741
|
};
|
|
23584
23742
|
};
|
|
@@ -23633,10 +23791,12 @@ export interface operations {
|
|
|
23633
23791
|
parameters: {
|
|
23634
23792
|
query: {
|
|
23635
23793
|
view: "listing" | "month" | "reservation" | "bookingChannel";
|
|
23636
|
-
|
|
23637
|
-
|
|
23638
|
-
|
|
23794
|
+
startAt: string;
|
|
23795
|
+
endAt: string;
|
|
23796
|
+
/** @description comma separated listings */
|
|
23797
|
+
listingIds?: string;
|
|
23639
23798
|
currency?: string;
|
|
23799
|
+
viewAs?: "owner" | "manager";
|
|
23640
23800
|
};
|
|
23641
23801
|
header?: {
|
|
23642
23802
|
"X-Team-Id"?: string;
|
|
@@ -23709,9 +23869,9 @@ export interface operations {
|
|
|
23709
23869
|
getCalendar: {
|
|
23710
23870
|
parameters: {
|
|
23711
23871
|
query: {
|
|
23872
|
+
listingId: string;
|
|
23712
23873
|
startDate: string;
|
|
23713
23874
|
endDate: string;
|
|
23714
|
-
listingId: string;
|
|
23715
23875
|
};
|
|
23716
23876
|
header?: {
|
|
23717
23877
|
"X-Team-Id"?: string;
|
|
@@ -23731,10 +23891,10 @@ export interface operations {
|
|
|
23731
23891
|
data: {
|
|
23732
23892
|
date: string;
|
|
23733
23893
|
/** @enum {string} */
|
|
23734
|
-
blockReason: "
|
|
23894
|
+
blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
|
|
23735
23895
|
description?: string;
|
|
23736
|
-
id?: string;
|
|
23737
23896
|
user?: {
|
|
23897
|
+
/** Format: email */
|
|
23738
23898
|
email: string;
|
|
23739
23899
|
firstName: string;
|
|
23740
23900
|
lastName: string;
|
|
@@ -23803,9 +23963,9 @@ export interface operations {
|
|
|
23803
23963
|
requestBody: {
|
|
23804
23964
|
content: {
|
|
23805
23965
|
"application/json": {
|
|
23966
|
+
listingId: string;
|
|
23806
23967
|
startDate: string;
|
|
23807
23968
|
endDate: string;
|
|
23808
|
-
listingId: string;
|
|
23809
23969
|
description?: string;
|
|
23810
23970
|
};
|
|
23811
23971
|
};
|
|
@@ -23821,10 +23981,10 @@ export interface operations {
|
|
|
23821
23981
|
data: {
|
|
23822
23982
|
date: string;
|
|
23823
23983
|
/** @enum {string} */
|
|
23824
|
-
blockReason: "
|
|
23984
|
+
blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
|
|
23825
23985
|
description?: string;
|
|
23826
|
-
id?: string;
|
|
23827
23986
|
user?: {
|
|
23987
|
+
/** Format: email */
|
|
23828
23988
|
email: string;
|
|
23829
23989
|
firstName: string;
|
|
23830
23990
|
lastName: string;
|
|
@@ -23878,6 +24038,7 @@ export interface operations {
|
|
|
23878
24038
|
listingId: string;
|
|
23879
24039
|
startDate: string;
|
|
23880
24040
|
endDate: string;
|
|
24041
|
+
description?: string;
|
|
23881
24042
|
};
|
|
23882
24043
|
header?: {
|
|
23883
24044
|
"X-Team-Id"?: string;
|
|
@@ -23897,10 +24058,10 @@ export interface operations {
|
|
|
23897
24058
|
data: {
|
|
23898
24059
|
date: string;
|
|
23899
24060
|
/** @enum {string} */
|
|
23900
|
-
blockReason: "
|
|
24061
|
+
blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
|
|
23901
24062
|
description?: string;
|
|
23902
|
-
id?: string;
|
|
23903
24063
|
user?: {
|
|
24064
|
+
/** Format: email */
|
|
23904
24065
|
email: string;
|
|
23905
24066
|
firstName: string;
|
|
23906
24067
|
lastName: string;
|
|
@@ -24002,7 +24163,7 @@ export interface operations {
|
|
|
24002
24163
|
* @description Internal semantic type
|
|
24003
24164
|
* @enum {string}
|
|
24004
24165
|
*/
|
|
24005
|
-
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "
|
|
24166
|
+
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
24006
24167
|
/** @description Optional JSONB filter for internal data */
|
|
24007
24168
|
filter?: string;
|
|
24008
24169
|
};
|
|
@@ -24026,7 +24187,7 @@ export interface operations {
|
|
|
24026
24187
|
* @description Semantic type of the setting value
|
|
24027
24188
|
* @enum {string}
|
|
24028
24189
|
*/
|
|
24029
|
-
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "
|
|
24190
|
+
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
24030
24191
|
/** @description Optional JSONB filter for available values */
|
|
24031
24192
|
filter?: string;
|
|
24032
24193
|
};
|
|
@@ -24093,118 +24254,6 @@ export interface operations {
|
|
|
24093
24254
|
};
|
|
24094
24255
|
};
|
|
24095
24256
|
};
|
|
24096
|
-
createFlow: {
|
|
24097
|
-
parameters: {
|
|
24098
|
-
query?: never;
|
|
24099
|
-
header?: {
|
|
24100
|
-
"X-Team-Id"?: string;
|
|
24101
|
-
};
|
|
24102
|
-
path?: never;
|
|
24103
|
-
cookie?: never;
|
|
24104
|
-
};
|
|
24105
|
-
requestBody: {
|
|
24106
|
-
content: {
|
|
24107
|
-
"application/json": {
|
|
24108
|
-
title: string;
|
|
24109
|
-
appId: string;
|
|
24110
|
-
description?: string | null;
|
|
24111
|
-
/** @enum {string} */
|
|
24112
|
-
type?: "push" | "pull";
|
|
24113
|
-
/** @description Dictionary of mapping entries by mapping_key */
|
|
24114
|
-
mappingSchema?: {
|
|
24115
|
-
[key: string]: {
|
|
24116
|
-
/** @description Title for UI/display */
|
|
24117
|
-
title: string;
|
|
24118
|
-
/** @description Description for UI/display */
|
|
24119
|
-
description: string;
|
|
24120
|
-
/** @description Internal system mapping configuration */
|
|
24121
|
-
internal: {
|
|
24122
|
-
/**
|
|
24123
|
-
* @description Internal semantic type
|
|
24124
|
-
* @enum {string}
|
|
24125
|
-
*/
|
|
24126
|
-
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
24127
|
-
/** @description Optional JSONB filter for internal data */
|
|
24128
|
-
filter?: string;
|
|
24129
|
-
};
|
|
24130
|
-
/** @description External system mapping configuration */
|
|
24131
|
-
external: {
|
|
24132
|
-
/** @description External type identifier (vendor/system specific) */
|
|
24133
|
-
type: string;
|
|
24134
|
-
/** @description Optional JSONB filter for external data */
|
|
24135
|
-
filter?: string;
|
|
24136
|
-
};
|
|
24137
|
-
};
|
|
24138
|
-
};
|
|
24139
|
-
/** @description Dictionary of setting entries by setting_key */
|
|
24140
|
-
settingSchema?: {
|
|
24141
|
-
[key: string]: {
|
|
24142
|
-
/** @description Title for UI/display */
|
|
24143
|
-
title: string;
|
|
24144
|
-
/** @description Description for UI/display */
|
|
24145
|
-
description: string;
|
|
24146
|
-
/**
|
|
24147
|
-
* @description Semantic type of the setting value
|
|
24148
|
-
* @enum {string}
|
|
24149
|
-
*/
|
|
24150
|
-
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
24151
|
-
/** @description Optional JSONB filter for available values */
|
|
24152
|
-
filter?: string;
|
|
24153
|
-
};
|
|
24154
|
-
};
|
|
24155
|
-
};
|
|
24156
|
-
};
|
|
24157
|
-
};
|
|
24158
|
-
responses: {
|
|
24159
|
-
/** @description Successful response */
|
|
24160
|
-
200: {
|
|
24161
|
-
headers: {
|
|
24162
|
-
[name: string]: unknown;
|
|
24163
|
-
};
|
|
24164
|
-
content: {
|
|
24165
|
-
"application/json": {
|
|
24166
|
-
id: string;
|
|
24167
|
-
};
|
|
24168
|
-
};
|
|
24169
|
-
};
|
|
24170
|
-
/** @description Invalid input data */
|
|
24171
|
-
400: {
|
|
24172
|
-
headers: {
|
|
24173
|
-
[name: string]: unknown;
|
|
24174
|
-
};
|
|
24175
|
-
content: {
|
|
24176
|
-
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
24177
|
-
};
|
|
24178
|
-
};
|
|
24179
|
-
/** @description Authorization not provided */
|
|
24180
|
-
401: {
|
|
24181
|
-
headers: {
|
|
24182
|
-
[name: string]: unknown;
|
|
24183
|
-
};
|
|
24184
|
-
content: {
|
|
24185
|
-
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
24186
|
-
};
|
|
24187
|
-
};
|
|
24188
|
-
/** @description Insufficient access */
|
|
24189
|
-
403: {
|
|
24190
|
-
headers: {
|
|
24191
|
-
[name: string]: unknown;
|
|
24192
|
-
};
|
|
24193
|
-
content: {
|
|
24194
|
-
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
24195
|
-
};
|
|
24196
|
-
};
|
|
24197
|
-
/** @description Internal server error */
|
|
24198
|
-
500: {
|
|
24199
|
-
headers: {
|
|
24200
|
-
[name: string]: unknown;
|
|
24201
|
-
};
|
|
24202
|
-
content: {
|
|
24203
|
-
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
24204
|
-
};
|
|
24205
|
-
};
|
|
24206
|
-
};
|
|
24207
|
-
};
|
|
24208
24257
|
getFlow: {
|
|
24209
24258
|
parameters: {
|
|
24210
24259
|
query?: never;
|
|
@@ -24247,7 +24296,7 @@ export interface operations {
|
|
|
24247
24296
|
* @description Internal semantic type
|
|
24248
24297
|
* @enum {string}
|
|
24249
24298
|
*/
|
|
24250
|
-
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "
|
|
24299
|
+
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
24251
24300
|
/** @description Optional JSONB filter for internal data */
|
|
24252
24301
|
filter?: string;
|
|
24253
24302
|
};
|
|
@@ -24271,7 +24320,7 @@ export interface operations {
|
|
|
24271
24320
|
* @description Semantic type of the setting value
|
|
24272
24321
|
* @enum {string}
|
|
24273
24322
|
*/
|
|
24274
|
-
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "
|
|
24323
|
+
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
24275
24324
|
/** @description Optional JSONB filter for available values */
|
|
24276
24325
|
filter?: string;
|
|
24277
24326
|
};
|
|
@@ -24328,7 +24377,7 @@ export interface operations {
|
|
|
24328
24377
|
};
|
|
24329
24378
|
};
|
|
24330
24379
|
};
|
|
24331
|
-
|
|
24380
|
+
getFlowConnection: {
|
|
24332
24381
|
parameters: {
|
|
24333
24382
|
query?: never;
|
|
24334
24383
|
header?: {
|
|
@@ -24336,254 +24385,7 @@ export interface operations {
|
|
|
24336
24385
|
};
|
|
24337
24386
|
path: {
|
|
24338
24387
|
id: string;
|
|
24339
|
-
|
|
24340
|
-
cookie?: never;
|
|
24341
|
-
};
|
|
24342
|
-
requestBody: {
|
|
24343
|
-
content: {
|
|
24344
|
-
"application/json": {
|
|
24345
|
-
title?: string;
|
|
24346
|
-
appId?: string;
|
|
24347
|
-
description?: string | null;
|
|
24348
|
-
/** @description Dictionary of mapping entries by mapping_key */
|
|
24349
|
-
mappingSchema?: {
|
|
24350
|
-
[key: string]: {
|
|
24351
|
-
/** @description Title for UI/display */
|
|
24352
|
-
title: string;
|
|
24353
|
-
/** @description Description for UI/display */
|
|
24354
|
-
description: string;
|
|
24355
|
-
/** @description Internal system mapping configuration */
|
|
24356
|
-
internal: {
|
|
24357
|
-
/**
|
|
24358
|
-
* @description Internal semantic type
|
|
24359
|
-
* @enum {string}
|
|
24360
|
-
*/
|
|
24361
|
-
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
24362
|
-
/** @description Optional JSONB filter for internal data */
|
|
24363
|
-
filter?: string;
|
|
24364
|
-
};
|
|
24365
|
-
/** @description External system mapping configuration */
|
|
24366
|
-
external: {
|
|
24367
|
-
/** @description External type identifier (vendor/system specific) */
|
|
24368
|
-
type: string;
|
|
24369
|
-
/** @description Optional JSONB filter for external data */
|
|
24370
|
-
filter?: string;
|
|
24371
|
-
};
|
|
24372
|
-
};
|
|
24373
|
-
};
|
|
24374
|
-
/** @description Dictionary of setting entries by setting_key */
|
|
24375
|
-
settingSchema?: {
|
|
24376
|
-
[key: string]: {
|
|
24377
|
-
/** @description Title for UI/display */
|
|
24378
|
-
title: string;
|
|
24379
|
-
/** @description Description for UI/display */
|
|
24380
|
-
description: string;
|
|
24381
|
-
/**
|
|
24382
|
-
* @description Semantic type of the setting value
|
|
24383
|
-
* @enum {string}
|
|
24384
|
-
*/
|
|
24385
|
-
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
24386
|
-
/** @description Optional JSONB filter for available values */
|
|
24387
|
-
filter?: string;
|
|
24388
|
-
};
|
|
24389
|
-
};
|
|
24390
|
-
/** @enum {string} */
|
|
24391
|
-
type?: "push" | "pull";
|
|
24392
|
-
};
|
|
24393
|
-
};
|
|
24394
|
-
};
|
|
24395
|
-
responses: {
|
|
24396
|
-
/** @description Successful response */
|
|
24397
|
-
200: {
|
|
24398
|
-
headers: {
|
|
24399
|
-
[name: string]: unknown;
|
|
24400
|
-
};
|
|
24401
|
-
content: {
|
|
24402
|
-
"application/json": {
|
|
24403
|
-
/** Format: uuid */
|
|
24404
|
-
id: string;
|
|
24405
|
-
title: string;
|
|
24406
|
-
app: {
|
|
24407
|
-
id: string;
|
|
24408
|
-
name: string;
|
|
24409
|
-
icon?: string | null;
|
|
24410
|
-
};
|
|
24411
|
-
description?: string | null;
|
|
24412
|
-
/** @description Mapping schema configuration for this flow */
|
|
24413
|
-
mappingSchema: {
|
|
24414
|
-
[key: string]: {
|
|
24415
|
-
/** @description Title for UI/display */
|
|
24416
|
-
title: string;
|
|
24417
|
-
/** @description Description for UI/display */
|
|
24418
|
-
description: string;
|
|
24419
|
-
/** @description Internal system mapping configuration */
|
|
24420
|
-
internal: {
|
|
24421
|
-
/**
|
|
24422
|
-
* @description Internal semantic type
|
|
24423
|
-
* @enum {string}
|
|
24424
|
-
*/
|
|
24425
|
-
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
24426
|
-
/** @description Optional JSONB filter for internal data */
|
|
24427
|
-
filter?: string;
|
|
24428
|
-
};
|
|
24429
|
-
/** @description External system mapping configuration */
|
|
24430
|
-
external: {
|
|
24431
|
-
/** @description External type identifier (vendor/system specific) */
|
|
24432
|
-
type: string;
|
|
24433
|
-
/** @description Optional JSONB filter for external data */
|
|
24434
|
-
filter?: string;
|
|
24435
|
-
};
|
|
24436
|
-
};
|
|
24437
|
-
};
|
|
24438
|
-
/** @description Setting schema configuration for this flow */
|
|
24439
|
-
settingSchema: {
|
|
24440
|
-
[key: string]: {
|
|
24441
|
-
/** @description Title for UI/display */
|
|
24442
|
-
title: string;
|
|
24443
|
-
/** @description Description for UI/display */
|
|
24444
|
-
description: string;
|
|
24445
|
-
/**
|
|
24446
|
-
* @description Semantic type of the setting value
|
|
24447
|
-
* @enum {string}
|
|
24448
|
-
*/
|
|
24449
|
-
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
24450
|
-
/** @description Optional JSONB filter for available values */
|
|
24451
|
-
filter?: string;
|
|
24452
|
-
};
|
|
24453
|
-
};
|
|
24454
|
-
/** @enum {string} */
|
|
24455
|
-
type?: "push" | "pull";
|
|
24456
|
-
};
|
|
24457
|
-
};
|
|
24458
|
-
};
|
|
24459
|
-
/** @description Invalid input data */
|
|
24460
|
-
400: {
|
|
24461
|
-
headers: {
|
|
24462
|
-
[name: string]: unknown;
|
|
24463
|
-
};
|
|
24464
|
-
content: {
|
|
24465
|
-
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
24466
|
-
};
|
|
24467
|
-
};
|
|
24468
|
-
/** @description Authorization not provided */
|
|
24469
|
-
401: {
|
|
24470
|
-
headers: {
|
|
24471
|
-
[name: string]: unknown;
|
|
24472
|
-
};
|
|
24473
|
-
content: {
|
|
24474
|
-
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
24475
|
-
};
|
|
24476
|
-
};
|
|
24477
|
-
/** @description Insufficient access */
|
|
24478
|
-
403: {
|
|
24479
|
-
headers: {
|
|
24480
|
-
[name: string]: unknown;
|
|
24481
|
-
};
|
|
24482
|
-
content: {
|
|
24483
|
-
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
24484
|
-
};
|
|
24485
|
-
};
|
|
24486
|
-
/** @description Not found */
|
|
24487
|
-
404: {
|
|
24488
|
-
headers: {
|
|
24489
|
-
[name: string]: unknown;
|
|
24490
|
-
};
|
|
24491
|
-
content: {
|
|
24492
|
-
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
24493
|
-
};
|
|
24494
|
-
};
|
|
24495
|
-
/** @description Internal server error */
|
|
24496
|
-
500: {
|
|
24497
|
-
headers: {
|
|
24498
|
-
[name: string]: unknown;
|
|
24499
|
-
};
|
|
24500
|
-
content: {
|
|
24501
|
-
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
24502
|
-
};
|
|
24503
|
-
};
|
|
24504
|
-
};
|
|
24505
|
-
};
|
|
24506
|
-
deleteFlow: {
|
|
24507
|
-
parameters: {
|
|
24508
|
-
query?: never;
|
|
24509
|
-
header?: {
|
|
24510
|
-
"X-Team-Id"?: string;
|
|
24511
|
-
};
|
|
24512
|
-
path: {
|
|
24513
|
-
id: string;
|
|
24514
|
-
};
|
|
24515
|
-
cookie?: never;
|
|
24516
|
-
};
|
|
24517
|
-
requestBody?: never;
|
|
24518
|
-
responses: {
|
|
24519
|
-
/** @description Successful response */
|
|
24520
|
-
200: {
|
|
24521
|
-
headers: {
|
|
24522
|
-
[name: string]: unknown;
|
|
24523
|
-
};
|
|
24524
|
-
content: {
|
|
24525
|
-
"application/json": {
|
|
24526
|
-
/** @enum {string} */
|
|
24527
|
-
status: "deleted";
|
|
24528
|
-
};
|
|
24529
|
-
};
|
|
24530
|
-
};
|
|
24531
|
-
/** @description Invalid input data */
|
|
24532
|
-
400: {
|
|
24533
|
-
headers: {
|
|
24534
|
-
[name: string]: unknown;
|
|
24535
|
-
};
|
|
24536
|
-
content: {
|
|
24537
|
-
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
24538
|
-
};
|
|
24539
|
-
};
|
|
24540
|
-
/** @description Authorization not provided */
|
|
24541
|
-
401: {
|
|
24542
|
-
headers: {
|
|
24543
|
-
[name: string]: unknown;
|
|
24544
|
-
};
|
|
24545
|
-
content: {
|
|
24546
|
-
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
24547
|
-
};
|
|
24548
|
-
};
|
|
24549
|
-
/** @description Insufficient access */
|
|
24550
|
-
403: {
|
|
24551
|
-
headers: {
|
|
24552
|
-
[name: string]: unknown;
|
|
24553
|
-
};
|
|
24554
|
-
content: {
|
|
24555
|
-
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
24556
|
-
};
|
|
24557
|
-
};
|
|
24558
|
-
/** @description Not found */
|
|
24559
|
-
404: {
|
|
24560
|
-
headers: {
|
|
24561
|
-
[name: string]: unknown;
|
|
24562
|
-
};
|
|
24563
|
-
content: {
|
|
24564
|
-
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
24565
|
-
};
|
|
24566
|
-
};
|
|
24567
|
-
/** @description Internal server error */
|
|
24568
|
-
500: {
|
|
24569
|
-
headers: {
|
|
24570
|
-
[name: string]: unknown;
|
|
24571
|
-
};
|
|
24572
|
-
content: {
|
|
24573
|
-
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
24574
|
-
};
|
|
24575
|
-
};
|
|
24576
|
-
};
|
|
24577
|
-
};
|
|
24578
|
-
getFlowConnection: {
|
|
24579
|
-
parameters: {
|
|
24580
|
-
query?: never;
|
|
24581
|
-
header?: {
|
|
24582
|
-
"X-Team-Id"?: string;
|
|
24583
|
-
};
|
|
24584
|
-
path: {
|
|
24585
|
-
id: string;
|
|
24586
|
-
connectionId: string;
|
|
24388
|
+
connectionId: string;
|
|
24587
24389
|
};
|
|
24588
24390
|
cookie?: never;
|
|
24589
24391
|
};
|
|
@@ -24815,9 +24617,10 @@ export interface operations {
|
|
|
24815
24617
|
};
|
|
24816
24618
|
};
|
|
24817
24619
|
};
|
|
24818
|
-
|
|
24620
|
+
getFlowMapping: {
|
|
24819
24621
|
parameters: {
|
|
24820
24622
|
query?: {
|
|
24623
|
+
sourceId?: string;
|
|
24821
24624
|
limit?: number;
|
|
24822
24625
|
page?: number;
|
|
24823
24626
|
};
|
|
@@ -24827,6 +24630,7 @@ export interface operations {
|
|
|
24827
24630
|
path: {
|
|
24828
24631
|
id: string;
|
|
24829
24632
|
connectionId: string;
|
|
24633
|
+
mappingKey: string;
|
|
24830
24634
|
};
|
|
24831
24635
|
cookie?: never;
|
|
24832
24636
|
};
|
|
@@ -24839,7 +24643,7 @@ export interface operations {
|
|
|
24839
24643
|
};
|
|
24840
24644
|
content: {
|
|
24841
24645
|
"application/json": {
|
|
24842
|
-
data: components["schemas"]["
|
|
24646
|
+
data: components["schemas"]["FlowMappingItemGet"][];
|
|
24843
24647
|
pagination: {
|
|
24844
24648
|
/** @default 100 */
|
|
24845
24649
|
limit: number;
|
|
@@ -24899,24 +24703,32 @@ export interface operations {
|
|
|
24899
24703
|
};
|
|
24900
24704
|
};
|
|
24901
24705
|
};
|
|
24902
|
-
|
|
24706
|
+
setFlowMapping: {
|
|
24903
24707
|
parameters: {
|
|
24904
|
-
query?:
|
|
24905
|
-
search?: string;
|
|
24906
|
-
limit?: number;
|
|
24907
|
-
page?: number;
|
|
24908
|
-
};
|
|
24708
|
+
query?: never;
|
|
24909
24709
|
header?: {
|
|
24910
24710
|
"X-Team-Id"?: string;
|
|
24911
24711
|
};
|
|
24912
24712
|
path: {
|
|
24913
24713
|
id: string;
|
|
24914
24714
|
connectionId: string;
|
|
24915
|
-
|
|
24715
|
+
mappingKey: string;
|
|
24916
24716
|
};
|
|
24917
24717
|
cookie?: never;
|
|
24918
24718
|
};
|
|
24919
|
-
requestBody
|
|
24719
|
+
requestBody: {
|
|
24720
|
+
content: {
|
|
24721
|
+
"application/json": {
|
|
24722
|
+
/** Format: uuid */
|
|
24723
|
+
sourceId: string;
|
|
24724
|
+
value?: unknown;
|
|
24725
|
+
/** @default 100 */
|
|
24726
|
+
limit?: number;
|
|
24727
|
+
/** @default 1 */
|
|
24728
|
+
page?: number;
|
|
24729
|
+
};
|
|
24730
|
+
};
|
|
24731
|
+
};
|
|
24920
24732
|
responses: {
|
|
24921
24733
|
/** @description Successful response */
|
|
24922
24734
|
200: {
|
|
@@ -24925,12 +24737,7 @@ export interface operations {
|
|
|
24925
24737
|
};
|
|
24926
24738
|
content: {
|
|
24927
24739
|
"application/json": {
|
|
24928
|
-
data:
|
|
24929
|
-
id: string;
|
|
24930
|
-
name: string;
|
|
24931
|
-
description: string | null;
|
|
24932
|
-
value?: unknown;
|
|
24933
|
-
}[];
|
|
24740
|
+
data: components["schemas"]["FlowMappingItemPost"][];
|
|
24934
24741
|
pagination: {
|
|
24935
24742
|
/** @default 100 */
|
|
24936
24743
|
limit: number;
|
|
@@ -24970,93 +24777,6 @@ export interface operations {
|
|
|
24970
24777
|
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
24971
24778
|
};
|
|
24972
24779
|
};
|
|
24973
|
-
/** @description Not found */
|
|
24974
|
-
404: {
|
|
24975
|
-
headers: {
|
|
24976
|
-
[name: string]: unknown;
|
|
24977
|
-
};
|
|
24978
|
-
content: {
|
|
24979
|
-
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
24980
|
-
};
|
|
24981
|
-
};
|
|
24982
|
-
/** @description Internal server error */
|
|
24983
|
-
500: {
|
|
24984
|
-
headers: {
|
|
24985
|
-
[name: string]: unknown;
|
|
24986
|
-
};
|
|
24987
|
-
content: {
|
|
24988
|
-
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
24989
|
-
};
|
|
24990
|
-
};
|
|
24991
|
-
};
|
|
24992
|
-
};
|
|
24993
|
-
setFlowSetting: {
|
|
24994
|
-
parameters: {
|
|
24995
|
-
query?: never;
|
|
24996
|
-
header?: {
|
|
24997
|
-
"X-Team-Id"?: string;
|
|
24998
|
-
};
|
|
24999
|
-
path: {
|
|
25000
|
-
id: string;
|
|
25001
|
-
connectionId: string;
|
|
25002
|
-
settingKey: string;
|
|
25003
|
-
};
|
|
25004
|
-
cookie?: never;
|
|
25005
|
-
};
|
|
25006
|
-
requestBody: {
|
|
25007
|
-
content: {
|
|
25008
|
-
"application/json": {
|
|
25009
|
-
value?: unknown;
|
|
25010
|
-
};
|
|
25011
|
-
};
|
|
25012
|
-
};
|
|
25013
|
-
responses: {
|
|
25014
|
-
/** @description Successful response */
|
|
25015
|
-
200: {
|
|
25016
|
-
headers: {
|
|
25017
|
-
[name: string]: unknown;
|
|
25018
|
-
};
|
|
25019
|
-
content: {
|
|
25020
|
-
"application/json": {
|
|
25021
|
-
/** Format: uuid */
|
|
25022
|
-
id: string;
|
|
25023
|
-
/** Format: uuid */
|
|
25024
|
-
connectionId: string;
|
|
25025
|
-
title: string;
|
|
25026
|
-
description: string | null;
|
|
25027
|
-
/** @enum {string} */
|
|
25028
|
-
status: "active" | "inactive";
|
|
25029
|
-
settings: components["schemas"]["FlowSettingItemsPost"];
|
|
25030
|
-
};
|
|
25031
|
-
};
|
|
25032
|
-
};
|
|
25033
|
-
/** @description Invalid input data */
|
|
25034
|
-
400: {
|
|
25035
|
-
headers: {
|
|
25036
|
-
[name: string]: unknown;
|
|
25037
|
-
};
|
|
25038
|
-
content: {
|
|
25039
|
-
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
25040
|
-
};
|
|
25041
|
-
};
|
|
25042
|
-
/** @description Authorization not provided */
|
|
25043
|
-
401: {
|
|
25044
|
-
headers: {
|
|
25045
|
-
[name: string]: unknown;
|
|
25046
|
-
};
|
|
25047
|
-
content: {
|
|
25048
|
-
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
25049
|
-
};
|
|
25050
|
-
};
|
|
25051
|
-
/** @description Insufficient access */
|
|
25052
|
-
403: {
|
|
25053
|
-
headers: {
|
|
25054
|
-
[name: string]: unknown;
|
|
25055
|
-
};
|
|
25056
|
-
content: {
|
|
25057
|
-
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
25058
|
-
};
|
|
25059
|
-
};
|
|
25060
24780
|
/** @description Internal server error */
|
|
25061
24781
|
500: {
|
|
25062
24782
|
headers: {
|
|
@@ -25068,10 +24788,10 @@ export interface operations {
|
|
|
25068
24788
|
};
|
|
25069
24789
|
};
|
|
25070
24790
|
};
|
|
25071
|
-
|
|
24791
|
+
getFlowMappingSources: {
|
|
25072
24792
|
parameters: {
|
|
25073
24793
|
query?: {
|
|
25074
|
-
|
|
24794
|
+
search?: string;
|
|
25075
24795
|
limit?: number;
|
|
25076
24796
|
page?: number;
|
|
25077
24797
|
};
|
|
@@ -25094,7 +24814,12 @@ export interface operations {
|
|
|
25094
24814
|
};
|
|
25095
24815
|
content: {
|
|
25096
24816
|
"application/json": {
|
|
25097
|
-
data:
|
|
24817
|
+
data: {
|
|
24818
|
+
id: string;
|
|
24819
|
+
name: string;
|
|
24820
|
+
/** @enum {string} */
|
|
24821
|
+
status: "mapped" | "unmapped";
|
|
24822
|
+
}[];
|
|
25098
24823
|
pagination: {
|
|
25099
24824
|
/** @default 100 */
|
|
25100
24825
|
limit: number;
|
|
@@ -25154,95 +24879,10 @@ export interface operations {
|
|
|
25154
24879
|
};
|
|
25155
24880
|
};
|
|
25156
24881
|
};
|
|
25157
|
-
|
|
25158
|
-
parameters: {
|
|
25159
|
-
query?: never;
|
|
25160
|
-
header?: {
|
|
25161
|
-
"X-Team-Id"?: string;
|
|
25162
|
-
};
|
|
25163
|
-
path: {
|
|
25164
|
-
id: string;
|
|
25165
|
-
connectionId: string;
|
|
25166
|
-
mappingKey: string;
|
|
25167
|
-
};
|
|
25168
|
-
cookie?: never;
|
|
25169
|
-
};
|
|
25170
|
-
requestBody: {
|
|
25171
|
-
content: {
|
|
25172
|
-
"application/json": {
|
|
25173
|
-
/** Format: uuid */
|
|
25174
|
-
sourceId: string;
|
|
25175
|
-
value?: unknown;
|
|
25176
|
-
/** @default 100 */
|
|
25177
|
-
limit?: number;
|
|
25178
|
-
/** @default 1 */
|
|
25179
|
-
page?: number;
|
|
25180
|
-
};
|
|
25181
|
-
};
|
|
25182
|
-
};
|
|
25183
|
-
responses: {
|
|
25184
|
-
/** @description Successful response */
|
|
25185
|
-
200: {
|
|
25186
|
-
headers: {
|
|
25187
|
-
[name: string]: unknown;
|
|
25188
|
-
};
|
|
25189
|
-
content: {
|
|
25190
|
-
"application/json": {
|
|
25191
|
-
data: components["schemas"]["FlowMappingItemPost"][];
|
|
25192
|
-
pagination: {
|
|
25193
|
-
/** @default 100 */
|
|
25194
|
-
limit: number;
|
|
25195
|
-
/** @default 1 */
|
|
25196
|
-
page: number;
|
|
25197
|
-
total: number;
|
|
25198
|
-
totalPage: number;
|
|
25199
|
-
nextPage?: number;
|
|
25200
|
-
};
|
|
25201
|
-
};
|
|
25202
|
-
};
|
|
25203
|
-
};
|
|
25204
|
-
/** @description Invalid input data */
|
|
25205
|
-
400: {
|
|
25206
|
-
headers: {
|
|
25207
|
-
[name: string]: unknown;
|
|
25208
|
-
};
|
|
25209
|
-
content: {
|
|
25210
|
-
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
25211
|
-
};
|
|
25212
|
-
};
|
|
25213
|
-
/** @description Authorization not provided */
|
|
25214
|
-
401: {
|
|
25215
|
-
headers: {
|
|
25216
|
-
[name: string]: unknown;
|
|
25217
|
-
};
|
|
25218
|
-
content: {
|
|
25219
|
-
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
25220
|
-
};
|
|
25221
|
-
};
|
|
25222
|
-
/** @description Insufficient access */
|
|
25223
|
-
403: {
|
|
25224
|
-
headers: {
|
|
25225
|
-
[name: string]: unknown;
|
|
25226
|
-
};
|
|
25227
|
-
content: {
|
|
25228
|
-
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
25229
|
-
};
|
|
25230
|
-
};
|
|
25231
|
-
/** @description Internal server error */
|
|
25232
|
-
500: {
|
|
25233
|
-
headers: {
|
|
25234
|
-
[name: string]: unknown;
|
|
25235
|
-
};
|
|
25236
|
-
content: {
|
|
25237
|
-
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
25238
|
-
};
|
|
25239
|
-
};
|
|
25240
|
-
};
|
|
25241
|
-
};
|
|
25242
|
-
getFlowMappings: {
|
|
24882
|
+
getFlowMappingDestinations: {
|
|
25243
24883
|
parameters: {
|
|
25244
24884
|
query?: {
|
|
25245
|
-
|
|
24885
|
+
search?: string;
|
|
25246
24886
|
limit?: number;
|
|
25247
24887
|
page?: number;
|
|
25248
24888
|
};
|
|
@@ -25252,6 +24892,7 @@ export interface operations {
|
|
|
25252
24892
|
path: {
|
|
25253
24893
|
id: string;
|
|
25254
24894
|
connectionId: string;
|
|
24895
|
+
mappingKey: string;
|
|
25255
24896
|
};
|
|
25256
24897
|
cookie?: never;
|
|
25257
24898
|
};
|
|
@@ -25264,7 +24905,10 @@ export interface operations {
|
|
|
25264
24905
|
};
|
|
25265
24906
|
content: {
|
|
25266
24907
|
"application/json": {
|
|
25267
|
-
data:
|
|
24908
|
+
data: {
|
|
24909
|
+
id: string;
|
|
24910
|
+
name: string;
|
|
24911
|
+
}[];
|
|
25268
24912
|
pagination: {
|
|
25269
24913
|
/** @default 100 */
|
|
25270
24914
|
limit: number;
|
|
@@ -25324,7 +24968,7 @@ export interface operations {
|
|
|
25324
24968
|
};
|
|
25325
24969
|
};
|
|
25326
24970
|
};
|
|
25327
|
-
|
|
24971
|
+
getFlowSetting: {
|
|
25328
24972
|
parameters: {
|
|
25329
24973
|
query?: {
|
|
25330
24974
|
search?: string;
|
|
@@ -25337,7 +24981,7 @@ export interface operations {
|
|
|
25337
24981
|
path: {
|
|
25338
24982
|
id: string;
|
|
25339
24983
|
connectionId: string;
|
|
25340
|
-
|
|
24984
|
+
settingKey: string;
|
|
25341
24985
|
};
|
|
25342
24986
|
cookie?: never;
|
|
25343
24987
|
};
|
|
@@ -25353,8 +24997,8 @@ export interface operations {
|
|
|
25353
24997
|
data: {
|
|
25354
24998
|
id: string;
|
|
25355
24999
|
name: string;
|
|
25356
|
-
|
|
25357
|
-
|
|
25000
|
+
description: string | null;
|
|
25001
|
+
value?: unknown;
|
|
25358
25002
|
}[];
|
|
25359
25003
|
pagination: {
|
|
25360
25004
|
/** @default 100 */
|
|
@@ -25415,24 +25059,26 @@ export interface operations {
|
|
|
25415
25059
|
};
|
|
25416
25060
|
};
|
|
25417
25061
|
};
|
|
25418
|
-
|
|
25062
|
+
setFlowSetting: {
|
|
25419
25063
|
parameters: {
|
|
25420
|
-
query?:
|
|
25421
|
-
search?: string;
|
|
25422
|
-
limit?: number;
|
|
25423
|
-
page?: number;
|
|
25424
|
-
};
|
|
25064
|
+
query?: never;
|
|
25425
25065
|
header?: {
|
|
25426
25066
|
"X-Team-Id"?: string;
|
|
25427
25067
|
};
|
|
25428
25068
|
path: {
|
|
25429
25069
|
id: string;
|
|
25430
25070
|
connectionId: string;
|
|
25431
|
-
|
|
25071
|
+
settingKey: string;
|
|
25432
25072
|
};
|
|
25433
25073
|
cookie?: never;
|
|
25434
25074
|
};
|
|
25435
|
-
requestBody
|
|
25075
|
+
requestBody: {
|
|
25076
|
+
content: {
|
|
25077
|
+
"application/json": {
|
|
25078
|
+
value?: unknown;
|
|
25079
|
+
};
|
|
25080
|
+
};
|
|
25081
|
+
};
|
|
25436
25082
|
responses: {
|
|
25437
25083
|
/** @description Successful response */
|
|
25438
25084
|
200: {
|
|
@@ -25441,19 +25087,15 @@ export interface operations {
|
|
|
25441
25087
|
};
|
|
25442
25088
|
content: {
|
|
25443
25089
|
"application/json": {
|
|
25444
|
-
|
|
25445
|
-
|
|
25446
|
-
|
|
25447
|
-
|
|
25448
|
-
|
|
25449
|
-
|
|
25450
|
-
|
|
25451
|
-
|
|
25452
|
-
|
|
25453
|
-
total: number;
|
|
25454
|
-
totalPage: number;
|
|
25455
|
-
nextPage?: number;
|
|
25456
|
-
};
|
|
25090
|
+
/** Format: uuid */
|
|
25091
|
+
id: string;
|
|
25092
|
+
/** Format: uuid */
|
|
25093
|
+
connectionId: string;
|
|
25094
|
+
title: string;
|
|
25095
|
+
description: string | null;
|
|
25096
|
+
/** @enum {string} */
|
|
25097
|
+
status: "active" | "inactive";
|
|
25098
|
+
settings: components["schemas"]["FlowSettingItemsPost"];
|
|
25457
25099
|
};
|
|
25458
25100
|
};
|
|
25459
25101
|
};
|
|
@@ -25484,15 +25126,6 @@ export interface operations {
|
|
|
25484
25126
|
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
25485
25127
|
};
|
|
25486
25128
|
};
|
|
25487
|
-
/** @description Not found */
|
|
25488
|
-
404: {
|
|
25489
|
-
headers: {
|
|
25490
|
-
[name: string]: unknown;
|
|
25491
|
-
};
|
|
25492
|
-
content: {
|
|
25493
|
-
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
25494
|
-
};
|
|
25495
|
-
};
|
|
25496
25129
|
/** @description Internal server error */
|
|
25497
25130
|
500: {
|
|
25498
25131
|
headers: {
|