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