@vrplatform/api 1.2.40 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/main/generated/v1.d.ts +638 -739
- package/build/main/generated/v1.js.map +1 -1
- package/build/module/generated/v1.d.ts +638 -739
- package/build/module/generated/v1.js.map +1 -1
- package/package.json +2 -2
- package/src/generated/v1.ts +638 -739
|
@@ -679,6 +679,26 @@ export interface paths {
|
|
|
679
679
|
patch?: never;
|
|
680
680
|
trace?: never;
|
|
681
681
|
};
|
|
682
|
+
"/statements/totals": {
|
|
683
|
+
parameters: {
|
|
684
|
+
query?: never;
|
|
685
|
+
header?: never;
|
|
686
|
+
path?: never;
|
|
687
|
+
cookie?: never;
|
|
688
|
+
};
|
|
689
|
+
/**
|
|
690
|
+
* Aggregated owner statement totals without pagination effects
|
|
691
|
+
* @description Get statement totals for a month
|
|
692
|
+
*/
|
|
693
|
+
get: operations["getOwnerStatementTotals"];
|
|
694
|
+
put?: never;
|
|
695
|
+
post?: never;
|
|
696
|
+
delete?: never;
|
|
697
|
+
options?: never;
|
|
698
|
+
head?: never;
|
|
699
|
+
patch?: never;
|
|
700
|
+
trace?: never;
|
|
701
|
+
};
|
|
682
702
|
"/statements/{id}": {
|
|
683
703
|
parameters: {
|
|
684
704
|
query?: never;
|
|
@@ -1405,7 +1425,7 @@ export interface paths {
|
|
|
1405
1425
|
patch?: never;
|
|
1406
1426
|
trace?: never;
|
|
1407
1427
|
};
|
|
1408
|
-
"/
|
|
1428
|
+
"/dispatch/{id}": {
|
|
1409
1429
|
parameters: {
|
|
1410
1430
|
query?: never;
|
|
1411
1431
|
header?: never;
|
|
@@ -1413,24 +1433,7 @@ export interface paths {
|
|
|
1413
1433
|
cookie?: never;
|
|
1414
1434
|
};
|
|
1415
1435
|
/** @description Retrieve a dispatched action and queued effects for progress tracking */
|
|
1416
|
-
get: operations["
|
|
1417
|
-
put?: never;
|
|
1418
|
-
post?: never;
|
|
1419
|
-
delete?: never;
|
|
1420
|
-
options?: never;
|
|
1421
|
-
head?: never;
|
|
1422
|
-
patch?: never;
|
|
1423
|
-
trace?: never;
|
|
1424
|
-
};
|
|
1425
|
-
"/reviews": {
|
|
1426
|
-
parameters: {
|
|
1427
|
-
query?: never;
|
|
1428
|
-
header?: never;
|
|
1429
|
-
path?: never;
|
|
1430
|
-
cookie?: never;
|
|
1431
|
-
};
|
|
1432
|
-
/** @description Reviews list */
|
|
1433
|
-
get: operations["getReviews"];
|
|
1436
|
+
get: operations["getDispatchAction"];
|
|
1434
1437
|
put?: never;
|
|
1435
1438
|
post?: never;
|
|
1436
1439
|
delete?: never;
|
|
@@ -2331,19 +2334,19 @@ export interface components {
|
|
|
2331
2334
|
* @description Semantic type for mapping/setting entries (entities and primitive kinds).
|
|
2332
2335
|
* @enum {string|null}
|
|
2333
2336
|
*/
|
|
2334
|
-
type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "
|
|
2337
|
+
type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
|
|
2335
2338
|
filter: string | null;
|
|
2336
2339
|
value: components["schemas"]["FlowMappingResolvedEntityValue"];
|
|
2337
2340
|
};
|
|
2338
2341
|
/** @description Resolved mapping entity summary ({ id, name, type }) returned by endpoints. */
|
|
2339
2342
|
FlowMappingResolvedEntityValue: {
|
|
2340
|
-
id: string;
|
|
2343
|
+
id: string | number;
|
|
2341
2344
|
name: string;
|
|
2342
2345
|
/**
|
|
2343
2346
|
* @description Semantic type for mapping/setting entries (entities and primitive kinds).
|
|
2344
2347
|
* @enum {string}
|
|
2345
2348
|
*/
|
|
2346
|
-
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "
|
|
2349
|
+
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
2347
2350
|
};
|
|
2348
2351
|
/** @description Collection of settings after mutation with normalized { id, name, type } value payloads. */
|
|
2349
2352
|
FlowSettingItemsPost: components["schemas"]["FlowSettingItemPost"][];
|
|
@@ -2362,11 +2365,11 @@ export interface components {
|
|
|
2362
2365
|
* @description Semantic type for mapping/setting entries (entities and primitive kinds).
|
|
2363
2366
|
* @enum {string|null}
|
|
2364
2367
|
*/
|
|
2365
|
-
type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "
|
|
2368
|
+
type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
|
|
2366
2369
|
filter: string | null;
|
|
2367
2370
|
value: components["schemas"]["FlowMappingResolvedEntityValue"];
|
|
2368
2371
|
};
|
|
2369
|
-
/** @description Mapping entry returned from GET routes with normalized
|
|
2372
|
+
/** @description Mapping entry returned from GET routes with normalized left/right payloads. */
|
|
2370
2373
|
FlowMappingItemGet: {
|
|
2371
2374
|
/** Format: uuid */
|
|
2372
2375
|
id: string;
|
|
@@ -2375,13 +2378,23 @@ export interface components {
|
|
|
2375
2378
|
/** Format: uuid */
|
|
2376
2379
|
connectionId: string;
|
|
2377
2380
|
mappingKey: string;
|
|
2378
|
-
/** Format: uuid */
|
|
2379
|
-
sourceId: string;
|
|
2380
2381
|
title: string | null;
|
|
2381
2382
|
description: string | null;
|
|
2382
|
-
|
|
2383
|
+
left: {
|
|
2384
|
+
/** Format: uuid */
|
|
2385
|
+
sourceId: string;
|
|
2386
|
+
};
|
|
2387
|
+
right: {
|
|
2388
|
+
value: string | number;
|
|
2389
|
+
text: string;
|
|
2390
|
+
/**
|
|
2391
|
+
* @description Semantic type for mapping/setting entries (entities and primitive kinds).
|
|
2392
|
+
* @enum {string}
|
|
2393
|
+
*/
|
|
2394
|
+
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
2395
|
+
};
|
|
2383
2396
|
};
|
|
2384
|
-
/** @description Mapping entry returned from mutation routes with
|
|
2397
|
+
/** @description Mapping entry returned from mutation routes with normalized left/right payloads. */
|
|
2385
2398
|
FlowMappingItemPost: {
|
|
2386
2399
|
/** Format: uuid */
|
|
2387
2400
|
id: string;
|
|
@@ -2390,11 +2403,21 @@ export interface components {
|
|
|
2390
2403
|
/** Format: uuid */
|
|
2391
2404
|
connectionId: string;
|
|
2392
2405
|
mappingKey: string;
|
|
2393
|
-
/** Format: uuid */
|
|
2394
|
-
sourceId: string;
|
|
2395
2406
|
title: string | null;
|
|
2396
2407
|
description: string | null;
|
|
2397
|
-
|
|
2408
|
+
left: {
|
|
2409
|
+
/** Format: uuid */
|
|
2410
|
+
sourceId: string;
|
|
2411
|
+
};
|
|
2412
|
+
right: {
|
|
2413
|
+
value: string | number;
|
|
2414
|
+
text: string;
|
|
2415
|
+
/**
|
|
2416
|
+
* @description Semantic type for mapping/setting entries (entities and primitive kinds).
|
|
2417
|
+
* @enum {string}
|
|
2418
|
+
*/
|
|
2419
|
+
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
2420
|
+
};
|
|
2398
2421
|
};
|
|
2399
2422
|
};
|
|
2400
2423
|
responses: never;
|
|
@@ -4070,6 +4093,24 @@ export interface operations {
|
|
|
4070
4093
|
id: string;
|
|
4071
4094
|
hasLockedJournalEntries: boolean;
|
|
4072
4095
|
issues: ({
|
|
4096
|
+
/** @enum {string} */
|
|
4097
|
+
code: "lineNotFound";
|
|
4098
|
+
/** @enum {string} */
|
|
4099
|
+
severity: "error";
|
|
4100
|
+
context: {
|
|
4101
|
+
lineIds: string[];
|
|
4102
|
+
};
|
|
4103
|
+
message: string;
|
|
4104
|
+
} | {
|
|
4105
|
+
/** @enum {string} */
|
|
4106
|
+
code: "unbalancedJournalEntries";
|
|
4107
|
+
/** @enum {string} */
|
|
4108
|
+
severity: "error";
|
|
4109
|
+
context: {
|
|
4110
|
+
difference: number;
|
|
4111
|
+
};
|
|
4112
|
+
message: string;
|
|
4113
|
+
} | {
|
|
4073
4114
|
/** @enum {string} */
|
|
4074
4115
|
code: "unassignedAccount";
|
|
4075
4116
|
/** @enum {string} */
|
|
@@ -4099,6 +4140,12 @@ export interface operations {
|
|
|
4099
4140
|
/** @enum {string} */
|
|
4100
4141
|
severity: "warning";
|
|
4101
4142
|
context: Record<string, never>;
|
|
4143
|
+
} | {
|
|
4144
|
+
/** @enum {string} */
|
|
4145
|
+
code: "guestTotalsZero";
|
|
4146
|
+
/** @enum {string} */
|
|
4147
|
+
severity: "warning";
|
|
4148
|
+
context: Record<string, never>;
|
|
4102
4149
|
})[];
|
|
4103
4150
|
connection?: {
|
|
4104
4151
|
/** Format: uuid */
|
|
@@ -4107,22 +4154,17 @@ export interface operations {
|
|
|
4107
4154
|
/** @enum {string} */
|
|
4108
4155
|
status: "active" | "inactive";
|
|
4109
4156
|
uniqueRef?: string | null;
|
|
4110
|
-
|
|
4111
|
-
id: string;
|
|
4112
|
-
name: string;
|
|
4113
|
-
icon?: string | null;
|
|
4114
|
-
importers?: string[] | null;
|
|
4115
|
-
extractors?: string[] | null;
|
|
4116
|
-
};
|
|
4157
|
+
appId: string;
|
|
4117
4158
|
} | null;
|
|
4118
4159
|
nights?: number | null;
|
|
4119
|
-
/** @enum {string
|
|
4120
|
-
status
|
|
4160
|
+
/** @enum {string} */
|
|
4161
|
+
status: "booked" | "canceled" | "inactive";
|
|
4121
4162
|
financials: {
|
|
4122
4163
|
totals: {
|
|
4123
4164
|
tax: number;
|
|
4124
4165
|
manager: number;
|
|
4125
4166
|
owner: number;
|
|
4167
|
+
reservation: number;
|
|
4126
4168
|
expense: number;
|
|
4127
4169
|
deposit: number;
|
|
4128
4170
|
guest: number;
|
|
@@ -4136,6 +4178,8 @@ export interface operations {
|
|
|
4136
4178
|
/** @enum {string} */
|
|
4137
4179
|
status: "active" | "inactive";
|
|
4138
4180
|
amount: number;
|
|
4181
|
+
/** @enum {string|null} */
|
|
4182
|
+
inactiveReason?: "reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system" | null;
|
|
4139
4183
|
account?: {
|
|
4140
4184
|
id: string;
|
|
4141
4185
|
name: string;
|
|
@@ -4183,13 +4227,7 @@ export interface operations {
|
|
|
4183
4227
|
/** @enum {string} */
|
|
4184
4228
|
status: "active" | "inactive";
|
|
4185
4229
|
uniqueRef?: string | null;
|
|
4186
|
-
|
|
4187
|
-
id: string;
|
|
4188
|
-
name: string;
|
|
4189
|
-
icon?: string | null;
|
|
4190
|
-
importers?: string[] | null;
|
|
4191
|
-
extractors?: string[] | null;
|
|
4192
|
-
};
|
|
4230
|
+
appId: string;
|
|
4193
4231
|
} | null;
|
|
4194
4232
|
uniqueRef?: string | null;
|
|
4195
4233
|
recurringTemplate?: {
|
|
@@ -4207,17 +4245,6 @@ export interface operations {
|
|
|
4207
4245
|
/** Format: uuid */
|
|
4208
4246
|
id: string;
|
|
4209
4247
|
name: string;
|
|
4210
|
-
address?: {
|
|
4211
|
-
full?: string | null;
|
|
4212
|
-
line1?: string | null;
|
|
4213
|
-
line2?: string | null;
|
|
4214
|
-
city?: string | null;
|
|
4215
|
-
/** @deprecated */
|
|
4216
|
-
state?: string | null;
|
|
4217
|
-
postalCode?: string | null;
|
|
4218
|
-
stateCode?: string | null;
|
|
4219
|
-
countryCode?: string | null;
|
|
4220
|
-
} | null;
|
|
4221
4248
|
uniqueRef?: string | null;
|
|
4222
4249
|
} | null;
|
|
4223
4250
|
listingConnection?: {
|
|
@@ -4346,6 +4373,7 @@ export interface operations {
|
|
|
4346
4373
|
requestBody: {
|
|
4347
4374
|
content: {
|
|
4348
4375
|
"application/json": {
|
|
4376
|
+
dangerouslyAllowLocked?: boolean;
|
|
4349
4377
|
ids?: string[];
|
|
4350
4378
|
listingIds?: string[];
|
|
4351
4379
|
connectionIds?: string[];
|
|
@@ -4448,6 +4476,24 @@ export interface operations {
|
|
|
4448
4476
|
id: string;
|
|
4449
4477
|
hasLockedJournalEntries: boolean;
|
|
4450
4478
|
issues: ({
|
|
4479
|
+
/** @enum {string} */
|
|
4480
|
+
code: "lineNotFound";
|
|
4481
|
+
/** @enum {string} */
|
|
4482
|
+
severity: "error";
|
|
4483
|
+
context: {
|
|
4484
|
+
lineIds: string[];
|
|
4485
|
+
};
|
|
4486
|
+
message: string;
|
|
4487
|
+
} | {
|
|
4488
|
+
/** @enum {string} */
|
|
4489
|
+
code: "unbalancedJournalEntries";
|
|
4490
|
+
/** @enum {string} */
|
|
4491
|
+
severity: "error";
|
|
4492
|
+
context: {
|
|
4493
|
+
difference: number;
|
|
4494
|
+
};
|
|
4495
|
+
message: string;
|
|
4496
|
+
} | {
|
|
4451
4497
|
/** @enum {string} */
|
|
4452
4498
|
code: "unassignedAccount";
|
|
4453
4499
|
/** @enum {string} */
|
|
@@ -4477,6 +4523,12 @@ export interface operations {
|
|
|
4477
4523
|
/** @enum {string} */
|
|
4478
4524
|
severity: "warning";
|
|
4479
4525
|
context: Record<string, never>;
|
|
4526
|
+
} | {
|
|
4527
|
+
/** @enum {string} */
|
|
4528
|
+
code: "guestTotalsZero";
|
|
4529
|
+
/** @enum {string} */
|
|
4530
|
+
severity: "warning";
|
|
4531
|
+
context: Record<string, never>;
|
|
4480
4532
|
})[];
|
|
4481
4533
|
connection?: {
|
|
4482
4534
|
/** Format: uuid */
|
|
@@ -4485,22 +4537,17 @@ export interface operations {
|
|
|
4485
4537
|
/** @enum {string} */
|
|
4486
4538
|
status: "active" | "inactive";
|
|
4487
4539
|
uniqueRef?: string | null;
|
|
4488
|
-
|
|
4489
|
-
id: string;
|
|
4490
|
-
name: string;
|
|
4491
|
-
icon?: string | null;
|
|
4492
|
-
importers?: string[] | null;
|
|
4493
|
-
extractors?: string[] | null;
|
|
4494
|
-
};
|
|
4540
|
+
appId: string;
|
|
4495
4541
|
} | null;
|
|
4496
4542
|
nights?: number | null;
|
|
4497
|
-
/** @enum {string
|
|
4498
|
-
status
|
|
4543
|
+
/** @enum {string} */
|
|
4544
|
+
status: "booked" | "canceled" | "inactive";
|
|
4499
4545
|
financials: {
|
|
4500
4546
|
totals: {
|
|
4501
4547
|
tax: number;
|
|
4502
4548
|
manager: number;
|
|
4503
4549
|
owner: number;
|
|
4550
|
+
reservation: number;
|
|
4504
4551
|
expense: number;
|
|
4505
4552
|
deposit: number;
|
|
4506
4553
|
guest: number;
|
|
@@ -4514,6 +4561,8 @@ export interface operations {
|
|
|
4514
4561
|
/** @enum {string} */
|
|
4515
4562
|
status: "active" | "inactive";
|
|
4516
4563
|
amount: number;
|
|
4564
|
+
/** @enum {string|null} */
|
|
4565
|
+
inactiveReason?: "reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system" | null;
|
|
4517
4566
|
account?: {
|
|
4518
4567
|
id: string;
|
|
4519
4568
|
name: string;
|
|
@@ -4561,13 +4610,7 @@ export interface operations {
|
|
|
4561
4610
|
/** @enum {string} */
|
|
4562
4611
|
status: "active" | "inactive";
|
|
4563
4612
|
uniqueRef?: string | null;
|
|
4564
|
-
|
|
4565
|
-
id: string;
|
|
4566
|
-
name: string;
|
|
4567
|
-
icon?: string | null;
|
|
4568
|
-
importers?: string[] | null;
|
|
4569
|
-
extractors?: string[] | null;
|
|
4570
|
-
};
|
|
4613
|
+
appId: string;
|
|
4571
4614
|
} | null;
|
|
4572
4615
|
uniqueRef?: string | null;
|
|
4573
4616
|
recurringTemplate?: {
|
|
@@ -4585,17 +4628,6 @@ export interface operations {
|
|
|
4585
4628
|
/** Format: uuid */
|
|
4586
4629
|
id: string;
|
|
4587
4630
|
name: string;
|
|
4588
|
-
address?: {
|
|
4589
|
-
full?: string | null;
|
|
4590
|
-
line1?: string | null;
|
|
4591
|
-
line2?: string | null;
|
|
4592
|
-
city?: string | null;
|
|
4593
|
-
/** @deprecated */
|
|
4594
|
-
state?: string | null;
|
|
4595
|
-
postalCode?: string | null;
|
|
4596
|
-
stateCode?: string | null;
|
|
4597
|
-
countryCode?: string | null;
|
|
4598
|
-
} | null;
|
|
4599
4631
|
uniqueRef?: string | null;
|
|
4600
4632
|
} | null;
|
|
4601
4633
|
listingConnection?: {
|
|
@@ -4907,6 +4939,24 @@ export interface operations {
|
|
|
4907
4939
|
id: string;
|
|
4908
4940
|
hasLockedJournalEntries: boolean;
|
|
4909
4941
|
issues: ({
|
|
4942
|
+
/** @enum {string} */
|
|
4943
|
+
code: "lineNotFound";
|
|
4944
|
+
/** @enum {string} */
|
|
4945
|
+
severity: "error";
|
|
4946
|
+
context: {
|
|
4947
|
+
lineIds: string[];
|
|
4948
|
+
};
|
|
4949
|
+
message: string;
|
|
4950
|
+
} | {
|
|
4951
|
+
/** @enum {string} */
|
|
4952
|
+
code: "unbalancedJournalEntries";
|
|
4953
|
+
/** @enum {string} */
|
|
4954
|
+
severity: "error";
|
|
4955
|
+
context: {
|
|
4956
|
+
difference: number;
|
|
4957
|
+
};
|
|
4958
|
+
message: string;
|
|
4959
|
+
} | {
|
|
4910
4960
|
/** @enum {string} */
|
|
4911
4961
|
code: "unassignedAccount";
|
|
4912
4962
|
/** @enum {string} */
|
|
@@ -4936,6 +4986,12 @@ export interface operations {
|
|
|
4936
4986
|
/** @enum {string} */
|
|
4937
4987
|
severity: "warning";
|
|
4938
4988
|
context: Record<string, never>;
|
|
4989
|
+
} | {
|
|
4990
|
+
/** @enum {string} */
|
|
4991
|
+
code: "guestTotalsZero";
|
|
4992
|
+
/** @enum {string} */
|
|
4993
|
+
severity: "warning";
|
|
4994
|
+
context: Record<string, never>;
|
|
4939
4995
|
})[];
|
|
4940
4996
|
connection?: {
|
|
4941
4997
|
/** Format: uuid */
|
|
@@ -4944,22 +5000,17 @@ export interface operations {
|
|
|
4944
5000
|
/** @enum {string} */
|
|
4945
5001
|
status: "active" | "inactive";
|
|
4946
5002
|
uniqueRef?: string | null;
|
|
4947
|
-
|
|
4948
|
-
id: string;
|
|
4949
|
-
name: string;
|
|
4950
|
-
icon?: string | null;
|
|
4951
|
-
importers?: string[] | null;
|
|
4952
|
-
extractors?: string[] | null;
|
|
4953
|
-
};
|
|
5003
|
+
appId: string;
|
|
4954
5004
|
} | null;
|
|
4955
5005
|
nights?: number | null;
|
|
4956
|
-
/** @enum {string
|
|
4957
|
-
status
|
|
5006
|
+
/** @enum {string} */
|
|
5007
|
+
status: "booked" | "canceled" | "inactive";
|
|
4958
5008
|
financials: {
|
|
4959
5009
|
totals: {
|
|
4960
5010
|
tax: number;
|
|
4961
5011
|
manager: number;
|
|
4962
5012
|
owner: number;
|
|
5013
|
+
reservation: number;
|
|
4963
5014
|
expense: number;
|
|
4964
5015
|
deposit: number;
|
|
4965
5016
|
guest: number;
|
|
@@ -4973,6 +5024,8 @@ export interface operations {
|
|
|
4973
5024
|
/** @enum {string} */
|
|
4974
5025
|
status: "active" | "inactive";
|
|
4975
5026
|
amount: number;
|
|
5027
|
+
/** @enum {string|null} */
|
|
5028
|
+
inactiveReason?: "reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system" | null;
|
|
4976
5029
|
account?: {
|
|
4977
5030
|
id: string;
|
|
4978
5031
|
name: string;
|
|
@@ -5020,13 +5073,7 @@ export interface operations {
|
|
|
5020
5073
|
/** @enum {string} */
|
|
5021
5074
|
status: "active" | "inactive";
|
|
5022
5075
|
uniqueRef?: string | null;
|
|
5023
|
-
|
|
5024
|
-
id: string;
|
|
5025
|
-
name: string;
|
|
5026
|
-
icon?: string | null;
|
|
5027
|
-
importers?: string[] | null;
|
|
5028
|
-
extractors?: string[] | null;
|
|
5029
|
-
};
|
|
5076
|
+
appId: string;
|
|
5030
5077
|
} | null;
|
|
5031
5078
|
uniqueRef?: string | null;
|
|
5032
5079
|
recurringTemplate?: {
|
|
@@ -5044,17 +5091,6 @@ export interface operations {
|
|
|
5044
5091
|
/** Format: uuid */
|
|
5045
5092
|
id: string;
|
|
5046
5093
|
name: string;
|
|
5047
|
-
address?: {
|
|
5048
|
-
full?: string | null;
|
|
5049
|
-
line1?: string | null;
|
|
5050
|
-
line2?: string | null;
|
|
5051
|
-
city?: string | null;
|
|
5052
|
-
/** @deprecated */
|
|
5053
|
-
state?: string | null;
|
|
5054
|
-
postalCode?: string | null;
|
|
5055
|
-
stateCode?: string | null;
|
|
5056
|
-
countryCode?: string | null;
|
|
5057
|
-
} | null;
|
|
5058
5094
|
uniqueRef?: string | null;
|
|
5059
5095
|
} | null;
|
|
5060
5096
|
listingConnection?: {
|
|
@@ -5304,6 +5340,24 @@ export interface operations {
|
|
|
5304
5340
|
/** Format: uuid */
|
|
5305
5341
|
id: string;
|
|
5306
5342
|
issues: ({
|
|
5343
|
+
/** @enum {string} */
|
|
5344
|
+
code: "lineNotFound";
|
|
5345
|
+
/** @enum {string} */
|
|
5346
|
+
severity: "error";
|
|
5347
|
+
context: {
|
|
5348
|
+
lineIds: string[];
|
|
5349
|
+
};
|
|
5350
|
+
message: string;
|
|
5351
|
+
} | {
|
|
5352
|
+
/** @enum {string} */
|
|
5353
|
+
code: "unbalancedJournalEntries";
|
|
5354
|
+
/** @enum {string} */
|
|
5355
|
+
severity: "error";
|
|
5356
|
+
context: {
|
|
5357
|
+
difference: number;
|
|
5358
|
+
};
|
|
5359
|
+
message: string;
|
|
5360
|
+
} | {
|
|
5307
5361
|
/** @enum {string} */
|
|
5308
5362
|
code: "unassignedAccount";
|
|
5309
5363
|
/** @enum {string} */
|
|
@@ -5333,6 +5387,12 @@ export interface operations {
|
|
|
5333
5387
|
/** @enum {string} */
|
|
5334
5388
|
severity: "warning";
|
|
5335
5389
|
context: Record<string, never>;
|
|
5390
|
+
} | {
|
|
5391
|
+
/** @enum {string} */
|
|
5392
|
+
code: "guestTotalsZero";
|
|
5393
|
+
/** @enum {string} */
|
|
5394
|
+
severity: "warning";
|
|
5395
|
+
context: Record<string, never>;
|
|
5336
5396
|
})[];
|
|
5337
5397
|
connection?: {
|
|
5338
5398
|
/** Format: uuid */
|
|
@@ -5341,32 +5401,15 @@ export interface operations {
|
|
|
5341
5401
|
/** @enum {string} */
|
|
5342
5402
|
status: "active" | "inactive";
|
|
5343
5403
|
uniqueRef?: string | null;
|
|
5344
|
-
|
|
5345
|
-
id: string;
|
|
5346
|
-
name: string;
|
|
5347
|
-
icon?: string | null;
|
|
5348
|
-
importers?: string[] | null;
|
|
5349
|
-
extractors?: string[] | null;
|
|
5350
|
-
};
|
|
5404
|
+
appId: string;
|
|
5351
5405
|
} | null;
|
|
5352
5406
|
nights?: number | null;
|
|
5353
|
-
/** @enum {string
|
|
5354
|
-
status
|
|
5407
|
+
/** @enum {string} */
|
|
5408
|
+
status: "booked" | "canceled" | "inactive";
|
|
5355
5409
|
listing?: {
|
|
5356
5410
|
/** Format: uuid */
|
|
5357
5411
|
id: string;
|
|
5358
5412
|
name: string;
|
|
5359
|
-
address?: {
|
|
5360
|
-
full?: string | null;
|
|
5361
|
-
line1?: string | null;
|
|
5362
|
-
line2?: string | null;
|
|
5363
|
-
city?: string | null;
|
|
5364
|
-
/** @deprecated */
|
|
5365
|
-
state?: string | null;
|
|
5366
|
-
postalCode?: string | null;
|
|
5367
|
-
stateCode?: string | null;
|
|
5368
|
-
countryCode?: string | null;
|
|
5369
|
-
} | null;
|
|
5370
5413
|
uniqueRef?: string | null;
|
|
5371
5414
|
} | null;
|
|
5372
5415
|
listingConnection?: {
|
|
@@ -5580,6 +5623,24 @@ export interface operations {
|
|
|
5580
5623
|
id: string;
|
|
5581
5624
|
hasLockedJournalEntries: boolean;
|
|
5582
5625
|
issues: ({
|
|
5626
|
+
/** @enum {string} */
|
|
5627
|
+
code: "lineNotFound";
|
|
5628
|
+
/** @enum {string} */
|
|
5629
|
+
severity: "error";
|
|
5630
|
+
context: {
|
|
5631
|
+
lineIds: string[];
|
|
5632
|
+
};
|
|
5633
|
+
message: string;
|
|
5634
|
+
} | {
|
|
5635
|
+
/** @enum {string} */
|
|
5636
|
+
code: "unbalancedJournalEntries";
|
|
5637
|
+
/** @enum {string} */
|
|
5638
|
+
severity: "error";
|
|
5639
|
+
context: {
|
|
5640
|
+
difference: number;
|
|
5641
|
+
};
|
|
5642
|
+
message: string;
|
|
5643
|
+
} | {
|
|
5583
5644
|
/** @enum {string} */
|
|
5584
5645
|
code: "unassignedAccount";
|
|
5585
5646
|
/** @enum {string} */
|
|
@@ -5609,6 +5670,12 @@ export interface operations {
|
|
|
5609
5670
|
/** @enum {string} */
|
|
5610
5671
|
severity: "warning";
|
|
5611
5672
|
context: Record<string, never>;
|
|
5673
|
+
} | {
|
|
5674
|
+
/** @enum {string} */
|
|
5675
|
+
code: "guestTotalsZero";
|
|
5676
|
+
/** @enum {string} */
|
|
5677
|
+
severity: "warning";
|
|
5678
|
+
context: Record<string, never>;
|
|
5612
5679
|
})[];
|
|
5613
5680
|
connection?: {
|
|
5614
5681
|
/** Format: uuid */
|
|
@@ -5617,22 +5684,17 @@ export interface operations {
|
|
|
5617
5684
|
/** @enum {string} */
|
|
5618
5685
|
status: "active" | "inactive";
|
|
5619
5686
|
uniqueRef?: string | null;
|
|
5620
|
-
|
|
5621
|
-
id: string;
|
|
5622
|
-
name: string;
|
|
5623
|
-
icon?: string | null;
|
|
5624
|
-
importers?: string[] | null;
|
|
5625
|
-
extractors?: string[] | null;
|
|
5626
|
-
};
|
|
5687
|
+
appId: string;
|
|
5627
5688
|
} | null;
|
|
5628
5689
|
nights?: number | null;
|
|
5629
|
-
/** @enum {string
|
|
5630
|
-
status
|
|
5690
|
+
/** @enum {string} */
|
|
5691
|
+
status: "booked" | "canceled" | "inactive";
|
|
5631
5692
|
financials: {
|
|
5632
5693
|
totals: {
|
|
5633
5694
|
tax: number;
|
|
5634
5695
|
manager: number;
|
|
5635
5696
|
owner: number;
|
|
5697
|
+
reservation: number;
|
|
5636
5698
|
expense: number;
|
|
5637
5699
|
deposit: number;
|
|
5638
5700
|
guest: number;
|
|
@@ -5646,6 +5708,8 @@ export interface operations {
|
|
|
5646
5708
|
/** @enum {string} */
|
|
5647
5709
|
status: "active" | "inactive";
|
|
5648
5710
|
amount: number;
|
|
5711
|
+
/** @enum {string|null} */
|
|
5712
|
+
inactiveReason?: "reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system" | null;
|
|
5649
5713
|
account?: {
|
|
5650
5714
|
id: string;
|
|
5651
5715
|
name: string;
|
|
@@ -5693,13 +5757,7 @@ export interface operations {
|
|
|
5693
5757
|
/** @enum {string} */
|
|
5694
5758
|
status: "active" | "inactive";
|
|
5695
5759
|
uniqueRef?: string | null;
|
|
5696
|
-
|
|
5697
|
-
id: string;
|
|
5698
|
-
name: string;
|
|
5699
|
-
icon?: string | null;
|
|
5700
|
-
importers?: string[] | null;
|
|
5701
|
-
extractors?: string[] | null;
|
|
5702
|
-
};
|
|
5760
|
+
appId: string;
|
|
5703
5761
|
} | null;
|
|
5704
5762
|
uniqueRef?: string | null;
|
|
5705
5763
|
recurringTemplate?: {
|
|
@@ -5717,17 +5775,6 @@ export interface operations {
|
|
|
5717
5775
|
/** Format: uuid */
|
|
5718
5776
|
id: string;
|
|
5719
5777
|
name: string;
|
|
5720
|
-
address?: {
|
|
5721
|
-
full?: string | null;
|
|
5722
|
-
line1?: string | null;
|
|
5723
|
-
line2?: string | null;
|
|
5724
|
-
city?: string | null;
|
|
5725
|
-
/** @deprecated */
|
|
5726
|
-
state?: string | null;
|
|
5727
|
-
postalCode?: string | null;
|
|
5728
|
-
stateCode?: string | null;
|
|
5729
|
-
countryCode?: string | null;
|
|
5730
|
-
} | null;
|
|
5731
5778
|
uniqueRef?: string | null;
|
|
5732
5779
|
} | null;
|
|
5733
5780
|
listingConnection?: {
|
|
@@ -5861,7 +5908,7 @@ export interface operations {
|
|
|
5861
5908
|
data: {
|
|
5862
5909
|
/** Format: uuid */
|
|
5863
5910
|
listingId: string;
|
|
5864
|
-
/** @default 2025-11-
|
|
5911
|
+
/** @default 2025-11-15 */
|
|
5865
5912
|
startAt: string;
|
|
5866
5913
|
endAt?: string | null;
|
|
5867
5914
|
setListingInactive?: boolean | null;
|
|
@@ -5943,7 +5990,7 @@ export interface operations {
|
|
|
5943
5990
|
"application/json": {
|
|
5944
5991
|
/** Format: uuid */
|
|
5945
5992
|
listingId: string;
|
|
5946
|
-
/** @default 2025-11-
|
|
5993
|
+
/** @default 2025-11-15 */
|
|
5947
5994
|
startAt?: string;
|
|
5948
5995
|
endAt?: string | null;
|
|
5949
5996
|
members: {
|
|
@@ -5977,7 +6024,7 @@ export interface operations {
|
|
|
5977
6024
|
"application/json": {
|
|
5978
6025
|
/** Format: uuid */
|
|
5979
6026
|
listingId: string;
|
|
5980
|
-
/** @default 2025-11-
|
|
6027
|
+
/** @default 2025-11-15 */
|
|
5981
6028
|
startAt: string;
|
|
5982
6029
|
endAt?: string | null;
|
|
5983
6030
|
setListingInactive?: boolean | null;
|
|
@@ -6057,7 +6104,7 @@ export interface operations {
|
|
|
6057
6104
|
"application/json": {
|
|
6058
6105
|
/** Format: uuid */
|
|
6059
6106
|
listingId: string;
|
|
6060
|
-
/** @default 2025-11-
|
|
6107
|
+
/** @default 2025-11-15 */
|
|
6061
6108
|
startAt: string;
|
|
6062
6109
|
endAt?: string | null;
|
|
6063
6110
|
setListingInactive?: boolean | null;
|
|
@@ -6140,7 +6187,7 @@ export interface operations {
|
|
|
6140
6187
|
"application/json": {
|
|
6141
6188
|
/** Format: uuid */
|
|
6142
6189
|
listingId?: string;
|
|
6143
|
-
/** @default 2025-11-
|
|
6190
|
+
/** @default 2025-11-15 */
|
|
6144
6191
|
startAt?: string;
|
|
6145
6192
|
endAt?: string | null;
|
|
6146
6193
|
members?: {
|
|
@@ -6174,7 +6221,7 @@ export interface operations {
|
|
|
6174
6221
|
"application/json": {
|
|
6175
6222
|
/** Format: uuid */
|
|
6176
6223
|
listingId: string;
|
|
6177
|
-
/** @default 2025-11-
|
|
6224
|
+
/** @default 2025-11-15 */
|
|
6178
6225
|
startAt: string;
|
|
6179
6226
|
endAt?: string | null;
|
|
6180
6227
|
setListingInactive?: boolean | null;
|
|
@@ -6360,7 +6407,7 @@ export interface operations {
|
|
|
6360
6407
|
/** Format: uuid */
|
|
6361
6408
|
sourceId?: string | null;
|
|
6362
6409
|
initialOwnership?: {
|
|
6363
|
-
/** @default 2025-11-
|
|
6410
|
+
/** @default 2025-11-15 */
|
|
6364
6411
|
startAt?: string;
|
|
6365
6412
|
endAt?: string | null;
|
|
6366
6413
|
members: {
|
|
@@ -6418,7 +6465,7 @@ export interface operations {
|
|
|
6418
6465
|
status: "active" | "inactive";
|
|
6419
6466
|
defaultCurrency?: string | null;
|
|
6420
6467
|
activeOwnership?: {
|
|
6421
|
-
/** @default 2025-11-
|
|
6468
|
+
/** @default 2025-11-15 */
|
|
6422
6469
|
startAt: string;
|
|
6423
6470
|
endAt?: string | null;
|
|
6424
6471
|
setListingInactive?: boolean | null;
|
|
@@ -6659,7 +6706,7 @@ export interface operations {
|
|
|
6659
6706
|
status: "active" | "inactive";
|
|
6660
6707
|
defaultCurrency?: string | null;
|
|
6661
6708
|
activeOwnership?: {
|
|
6662
|
-
/** @default 2025-11-
|
|
6709
|
+
/** @default 2025-11-15 */
|
|
6663
6710
|
startAt: string;
|
|
6664
6711
|
endAt?: string | null;
|
|
6665
6712
|
setListingInactive?: boolean | null;
|
|
@@ -6798,7 +6845,7 @@ export interface operations {
|
|
|
6798
6845
|
/** Format: uuid */
|
|
6799
6846
|
sourceId?: string | null;
|
|
6800
6847
|
initialOwnership?: {
|
|
6801
|
-
/** @default 2025-11-
|
|
6848
|
+
/** @default 2025-11-15 */
|
|
6802
6849
|
startAt?: string;
|
|
6803
6850
|
endAt?: string | null;
|
|
6804
6851
|
members: {
|
|
@@ -6852,7 +6899,7 @@ export interface operations {
|
|
|
6852
6899
|
status: "active" | "inactive";
|
|
6853
6900
|
defaultCurrency?: string | null;
|
|
6854
6901
|
activeOwnership?: {
|
|
6855
|
-
/** @default 2025-11-
|
|
6902
|
+
/** @default 2025-11-15 */
|
|
6856
6903
|
startAt: string;
|
|
6857
6904
|
endAt?: string | null;
|
|
6858
6905
|
setListingInactive?: boolean | null;
|
|
@@ -7069,7 +7116,7 @@ export interface operations {
|
|
|
7069
7116
|
status: "active" | "inactive";
|
|
7070
7117
|
defaultCurrency?: string | null;
|
|
7071
7118
|
activeOwnership?: {
|
|
7072
|
-
/** @default 2025-11-
|
|
7119
|
+
/** @default 2025-11-15 */
|
|
7073
7120
|
startAt: string;
|
|
7074
7121
|
endAt?: string | null;
|
|
7075
7122
|
setListingInactive?: boolean | null;
|
|
@@ -7216,7 +7263,7 @@ export interface operations {
|
|
|
7216
7263
|
/** Format: uuid */
|
|
7217
7264
|
sourceId?: string | null;
|
|
7218
7265
|
initialOwnership?: {
|
|
7219
|
-
/** @default 2025-11-
|
|
7266
|
+
/** @default 2025-11-15 */
|
|
7220
7267
|
startAt?: string;
|
|
7221
7268
|
endAt?: string | null;
|
|
7222
7269
|
members: {
|
|
@@ -7270,7 +7317,7 @@ export interface operations {
|
|
|
7270
7317
|
status: "active" | "inactive";
|
|
7271
7318
|
defaultCurrency?: string | null;
|
|
7272
7319
|
activeOwnership?: {
|
|
7273
|
-
/** @default 2025-11-
|
|
7320
|
+
/** @default 2025-11-15 */
|
|
7274
7321
|
startAt: string;
|
|
7275
7322
|
endAt?: string | null;
|
|
7276
7323
|
setListingInactive?: boolean | null;
|
|
@@ -7913,6 +7960,7 @@ export interface operations {
|
|
|
7913
7960
|
countryCode?: string | null;
|
|
7914
7961
|
} | null;
|
|
7915
7962
|
phone?: string | null;
|
|
7963
|
+
/** Format: email */
|
|
7916
7964
|
email?: string | null;
|
|
7917
7965
|
taxId?: string | null;
|
|
7918
7966
|
partner?: {
|
|
@@ -7929,7 +7977,7 @@ export interface operations {
|
|
|
7929
7977
|
/** @enum {string} */
|
|
7930
7978
|
type: "partner" | "admin" | "propertyManager";
|
|
7931
7979
|
/** @enum {string} */
|
|
7932
|
-
status: "active" | "inactive";
|
|
7980
|
+
status: "active" | "inactive" | "deleted" | "onboarding";
|
|
7933
7981
|
billingSubscriptionStatus?: string | null;
|
|
7934
7982
|
billingPlan?: string | null;
|
|
7935
7983
|
createdAt?: string | null;
|
|
@@ -7952,6 +8000,7 @@ export interface operations {
|
|
|
7952
8000
|
statementStartAt?: string | null;
|
|
7953
8001
|
members?: {
|
|
7954
8002
|
userId: string;
|
|
8003
|
+
/** Format: email */
|
|
7955
8004
|
email?: string | null;
|
|
7956
8005
|
role: string;
|
|
7957
8006
|
name?: string | null;
|
|
@@ -8049,6 +8098,7 @@ export interface operations {
|
|
|
8049
8098
|
countryCode?: string | null;
|
|
8050
8099
|
} | null;
|
|
8051
8100
|
phone?: string | null;
|
|
8101
|
+
/** Format: email */
|
|
8052
8102
|
email?: string | null;
|
|
8053
8103
|
taxId?: string | null;
|
|
8054
8104
|
companyName?: string | null;
|
|
@@ -8122,6 +8172,7 @@ export interface operations {
|
|
|
8122
8172
|
countryCode?: string | null;
|
|
8123
8173
|
} | null;
|
|
8124
8174
|
phone?: string | null;
|
|
8175
|
+
/** Format: email */
|
|
8125
8176
|
email?: string | null;
|
|
8126
8177
|
taxId?: string | null;
|
|
8127
8178
|
partner?: {
|
|
@@ -8138,7 +8189,7 @@ export interface operations {
|
|
|
8138
8189
|
/** @enum {string} */
|
|
8139
8190
|
type: "partner" | "admin" | "propertyManager";
|
|
8140
8191
|
/** @enum {string} */
|
|
8141
|
-
status: "active" | "inactive";
|
|
8192
|
+
status: "active" | "inactive" | "deleted" | "onboarding";
|
|
8142
8193
|
billingSubscriptionStatus?: string | null;
|
|
8143
8194
|
billingPlan?: string | null;
|
|
8144
8195
|
createdAt?: string | null;
|
|
@@ -8161,6 +8212,7 @@ export interface operations {
|
|
|
8161
8212
|
statementStartAt?: string | null;
|
|
8162
8213
|
members?: {
|
|
8163
8214
|
userId: string;
|
|
8215
|
+
/** Format: email */
|
|
8164
8216
|
email?: string | null;
|
|
8165
8217
|
role: string;
|
|
8166
8218
|
name?: string | null;
|
|
@@ -8342,6 +8394,7 @@ export interface operations {
|
|
|
8342
8394
|
countryCode?: string | null;
|
|
8343
8395
|
} | null;
|
|
8344
8396
|
phone?: string | null;
|
|
8397
|
+
/** Format: email */
|
|
8345
8398
|
email?: string | null;
|
|
8346
8399
|
taxId?: string | null;
|
|
8347
8400
|
partner?: {
|
|
@@ -8358,7 +8411,7 @@ export interface operations {
|
|
|
8358
8411
|
/** @enum {string} */
|
|
8359
8412
|
type: "partner" | "admin" | "propertyManager";
|
|
8360
8413
|
/** @enum {string} */
|
|
8361
|
-
status: "active" | "inactive";
|
|
8414
|
+
status: "active" | "inactive" | "deleted" | "onboarding";
|
|
8362
8415
|
billingSubscriptionStatus?: string | null;
|
|
8363
8416
|
billingPlan?: string | null;
|
|
8364
8417
|
createdAt?: string | null;
|
|
@@ -8381,6 +8434,7 @@ export interface operations {
|
|
|
8381
8434
|
statementStartAt?: string | null;
|
|
8382
8435
|
members?: {
|
|
8383
8436
|
userId: string;
|
|
8437
|
+
/** Format: email */
|
|
8384
8438
|
email?: string | null;
|
|
8385
8439
|
role: string;
|
|
8386
8440
|
name?: string | null;
|
|
@@ -8484,13 +8538,14 @@ export interface operations {
|
|
|
8484
8538
|
countryCode?: string | null;
|
|
8485
8539
|
} | null;
|
|
8486
8540
|
phone?: string | null;
|
|
8541
|
+
/** Format: email */
|
|
8487
8542
|
email?: string | null;
|
|
8488
8543
|
taxId?: string | null;
|
|
8489
8544
|
companyName?: string | null;
|
|
8490
8545
|
/** @enum {string} */
|
|
8491
8546
|
type?: "partner" | "admin" | "propertyManager";
|
|
8492
8547
|
/** @enum {string} */
|
|
8493
|
-
status?: "active" | "inactive";
|
|
8548
|
+
status?: "active" | "inactive" | "deleted" | "onboarding";
|
|
8494
8549
|
billingSubscriptionStatus?: string | null;
|
|
8495
8550
|
billingPlan?: string | null;
|
|
8496
8551
|
trialUntil?: string | null;
|
|
@@ -8503,7 +8558,7 @@ export interface operations {
|
|
|
8503
8558
|
taxRateCountryOverwrite?: string | null;
|
|
8504
8559
|
copyFromTeamId?: string;
|
|
8505
8560
|
copyLineMappingsFromPartnerId?: string | null;
|
|
8506
|
-
include?: ("statementLayouts" | "recurringFees" | "accounts" | "taxRates")[];
|
|
8561
|
+
include?: ("statementLayouts" | "recurringFees" | "accounts" | "taxRates" | "lineMappings")[];
|
|
8507
8562
|
} | boolean;
|
|
8508
8563
|
partnerId?: string | null;
|
|
8509
8564
|
billingPartnerId?: string | null;
|
|
@@ -8552,6 +8607,7 @@ export interface operations {
|
|
|
8552
8607
|
countryCode?: string | null;
|
|
8553
8608
|
} | null;
|
|
8554
8609
|
phone?: string | null;
|
|
8610
|
+
/** Format: email */
|
|
8555
8611
|
email?: string | null;
|
|
8556
8612
|
taxId?: string | null;
|
|
8557
8613
|
partner?: {
|
|
@@ -8568,7 +8624,7 @@ export interface operations {
|
|
|
8568
8624
|
/** @enum {string} */
|
|
8569
8625
|
type: "partner" | "admin" | "propertyManager";
|
|
8570
8626
|
/** @enum {string} */
|
|
8571
|
-
status: "active" | "inactive";
|
|
8627
|
+
status: "active" | "inactive" | "deleted" | "onboarding";
|
|
8572
8628
|
billingSubscriptionStatus?: string | null;
|
|
8573
8629
|
billingPlan?: string | null;
|
|
8574
8630
|
createdAt?: string | null;
|
|
@@ -8591,6 +8647,7 @@ export interface operations {
|
|
|
8591
8647
|
statementStartAt?: string | null;
|
|
8592
8648
|
members?: {
|
|
8593
8649
|
userId: string;
|
|
8650
|
+
/** Format: email */
|
|
8594
8651
|
email?: string | null;
|
|
8595
8652
|
role: string;
|
|
8596
8653
|
name?: string | null;
|
|
@@ -8654,7 +8711,7 @@ export interface operations {
|
|
|
8654
8711
|
taxRateCountryOverwrite?: string | null;
|
|
8655
8712
|
copyFromTeamId?: string;
|
|
8656
8713
|
copyLineMappingsFromPartnerId?: string | null;
|
|
8657
|
-
include?: ("statementLayouts" | "recurringFees" | "accounts" | "taxRates")[];
|
|
8714
|
+
include?: ("statementLayouts" | "recurringFees" | "accounts" | "taxRates" | "lineMappings")[];
|
|
8658
8715
|
};
|
|
8659
8716
|
};
|
|
8660
8717
|
};
|
|
@@ -8696,6 +8753,7 @@ export interface operations {
|
|
|
8696
8753
|
countryCode?: string | null;
|
|
8697
8754
|
} | null;
|
|
8698
8755
|
phone?: string | null;
|
|
8756
|
+
/** Format: email */
|
|
8699
8757
|
email?: string | null;
|
|
8700
8758
|
taxId?: string | null;
|
|
8701
8759
|
partner?: {
|
|
@@ -8712,7 +8770,7 @@ export interface operations {
|
|
|
8712
8770
|
/** @enum {string} */
|
|
8713
8771
|
type: "partner" | "admin" | "propertyManager";
|
|
8714
8772
|
/** @enum {string} */
|
|
8715
|
-
status: "active" | "inactive";
|
|
8773
|
+
status: "active" | "inactive" | "deleted" | "onboarding";
|
|
8716
8774
|
billingSubscriptionStatus?: string | null;
|
|
8717
8775
|
billingPlan?: string | null;
|
|
8718
8776
|
createdAt?: string | null;
|
|
@@ -8735,6 +8793,7 @@ export interface operations {
|
|
|
8735
8793
|
statementStartAt?: string | null;
|
|
8736
8794
|
members?: {
|
|
8737
8795
|
userId: string;
|
|
8796
|
+
/** Format: email */
|
|
8738
8797
|
email?: string | null;
|
|
8739
8798
|
role: string;
|
|
8740
8799
|
name?: string | null;
|
|
@@ -8968,6 +9027,13 @@ export interface operations {
|
|
|
8968
9027
|
bookingChannelsFilter?: string[] | null;
|
|
8969
9028
|
/** @enum {string|null} */
|
|
8970
9029
|
statusFilter?: "canceled" | "booked" | null;
|
|
9030
|
+
listingSubscriptions?: {
|
|
9031
|
+
listingId: string;
|
|
9032
|
+
startAt?: string | null;
|
|
9033
|
+
endAt?: string | null;
|
|
9034
|
+
/** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
|
|
9035
|
+
rate?: number | null;
|
|
9036
|
+
}[] | null;
|
|
8971
9037
|
id?: string | null;
|
|
8972
9038
|
reservationId: string;
|
|
8973
9039
|
};
|
|
@@ -8985,6 +9051,7 @@ export interface operations {
|
|
|
8985
9051
|
tax: number;
|
|
8986
9052
|
manager: number;
|
|
8987
9053
|
owner: number;
|
|
9054
|
+
reservation: number;
|
|
8988
9055
|
expense: number;
|
|
8989
9056
|
deposit: number;
|
|
8990
9057
|
guest: number;
|
|
@@ -8999,6 +9066,8 @@ export interface operations {
|
|
|
8999
9066
|
/** @enum {string} */
|
|
9000
9067
|
status: "active" | "inactive";
|
|
9001
9068
|
amount: number;
|
|
9069
|
+
/** @enum {string|null} */
|
|
9070
|
+
inactiveReason?: "reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system" | null;
|
|
9002
9071
|
fee: number;
|
|
9003
9072
|
account?: {
|
|
9004
9073
|
id: string;
|
|
@@ -9047,13 +9116,7 @@ export interface operations {
|
|
|
9047
9116
|
/** @enum {string} */
|
|
9048
9117
|
status: "active" | "inactive";
|
|
9049
9118
|
uniqueRef?: string | null;
|
|
9050
|
-
|
|
9051
|
-
id: string;
|
|
9052
|
-
name: string;
|
|
9053
|
-
icon?: string | null;
|
|
9054
|
-
importers?: string[] | null;
|
|
9055
|
-
extractors?: string[] | null;
|
|
9056
|
-
};
|
|
9119
|
+
appId: string;
|
|
9057
9120
|
} | null;
|
|
9058
9121
|
uniqueRef?: string | null;
|
|
9059
9122
|
recurringTemplate?: {
|
|
@@ -9616,21 +9679,10 @@ export interface operations {
|
|
|
9616
9679
|
status: "active" | "inactive";
|
|
9617
9680
|
}[];
|
|
9618
9681
|
taxRate?: {
|
|
9682
|
+
id: string;
|
|
9619
9683
|
name: string;
|
|
9620
|
-
countryCode?: string | null;
|
|
9621
|
-
currency?: string | null;
|
|
9622
9684
|
/** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
|
|
9623
9685
|
basisPoints: number;
|
|
9624
|
-
/** @enum {string|null} */
|
|
9625
|
-
type?: "markup" | "tax" | null;
|
|
9626
|
-
uniqueRef?: string | null;
|
|
9627
|
-
/** @enum {string|null} */
|
|
9628
|
-
status?: "active" | "inactive" | null;
|
|
9629
|
-
/** Format: uuid */
|
|
9630
|
-
accountId?: string | null;
|
|
9631
|
-
/** Format: uuid */
|
|
9632
|
-
debitAccountId?: string | null;
|
|
9633
|
-
id: string;
|
|
9634
9686
|
} | null;
|
|
9635
9687
|
};
|
|
9636
9688
|
};
|
|
@@ -9725,11 +9777,18 @@ export interface operations {
|
|
|
9725
9777
|
bookingChannelsFilter?: string[] | null;
|
|
9726
9778
|
/** @enum {string|null} */
|
|
9727
9779
|
statusFilter?: "canceled" | "booked" | null;
|
|
9728
|
-
|
|
9729
|
-
|
|
9730
|
-
|
|
9731
|
-
|
|
9732
|
-
|
|
9780
|
+
listingSubscriptions?: {
|
|
9781
|
+
listingId: string;
|
|
9782
|
+
startAt?: string | null;
|
|
9783
|
+
endAt?: string | null;
|
|
9784
|
+
/** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
|
|
9785
|
+
rate?: number | null;
|
|
9786
|
+
}[] | null;
|
|
9787
|
+
};
|
|
9788
|
+
};
|
|
9789
|
+
};
|
|
9790
|
+
responses: {
|
|
9791
|
+
/** @description Successful response */
|
|
9733
9792
|
200: {
|
|
9734
9793
|
headers: {
|
|
9735
9794
|
[name: string]: unknown;
|
|
@@ -9785,21 +9844,10 @@ export interface operations {
|
|
|
9785
9844
|
status: "active" | "inactive";
|
|
9786
9845
|
}[];
|
|
9787
9846
|
taxRate?: {
|
|
9847
|
+
id: string;
|
|
9788
9848
|
name: string;
|
|
9789
|
-
countryCode?: string | null;
|
|
9790
|
-
currency?: string | null;
|
|
9791
9849
|
/** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
|
|
9792
9850
|
basisPoints: number;
|
|
9793
|
-
/** @enum {string|null} */
|
|
9794
|
-
type?: "markup" | "tax" | null;
|
|
9795
|
-
uniqueRef?: string | null;
|
|
9796
|
-
/** @enum {string|null} */
|
|
9797
|
-
status?: "active" | "inactive" | null;
|
|
9798
|
-
/** Format: uuid */
|
|
9799
|
-
accountId?: string | null;
|
|
9800
|
-
/** Format: uuid */
|
|
9801
|
-
debitAccountId?: string | null;
|
|
9802
|
-
id: string;
|
|
9803
9851
|
} | null;
|
|
9804
9852
|
};
|
|
9805
9853
|
};
|
|
@@ -9993,21 +10041,10 @@ export interface operations {
|
|
|
9993
10041
|
status: "active" | "inactive";
|
|
9994
10042
|
}[];
|
|
9995
10043
|
taxRate?: {
|
|
10044
|
+
id: string;
|
|
9996
10045
|
name: string;
|
|
9997
|
-
countryCode?: string | null;
|
|
9998
|
-
currency?: string | null;
|
|
9999
10046
|
/** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
|
|
10000
10047
|
basisPoints: number;
|
|
10001
|
-
/** @enum {string|null} */
|
|
10002
|
-
type?: "markup" | "tax" | null;
|
|
10003
|
-
uniqueRef?: string | null;
|
|
10004
|
-
/** @enum {string|null} */
|
|
10005
|
-
status?: "active" | "inactive" | null;
|
|
10006
|
-
/** Format: uuid */
|
|
10007
|
-
accountId?: string | null;
|
|
10008
|
-
/** Format: uuid */
|
|
10009
|
-
debitAccountId?: string | null;
|
|
10010
|
-
id: string;
|
|
10011
10048
|
} | null;
|
|
10012
10049
|
}[];
|
|
10013
10050
|
pagination: {
|
|
@@ -10110,6 +10147,13 @@ export interface operations {
|
|
|
10110
10147
|
bookingChannelsFilter?: string[] | null;
|
|
10111
10148
|
/** @enum {string|null} */
|
|
10112
10149
|
statusFilter?: "canceled" | "booked" | null;
|
|
10150
|
+
listingSubscriptions?: {
|
|
10151
|
+
listingId: string;
|
|
10152
|
+
startAt?: string | null;
|
|
10153
|
+
endAt?: string | null;
|
|
10154
|
+
/** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
|
|
10155
|
+
rate?: number | null;
|
|
10156
|
+
}[] | null;
|
|
10113
10157
|
};
|
|
10114
10158
|
};
|
|
10115
10159
|
};
|
|
@@ -10170,21 +10214,10 @@ export interface operations {
|
|
|
10170
10214
|
status: "active" | "inactive";
|
|
10171
10215
|
}[];
|
|
10172
10216
|
taxRate?: {
|
|
10217
|
+
id: string;
|
|
10173
10218
|
name: string;
|
|
10174
|
-
countryCode?: string | null;
|
|
10175
|
-
currency?: string | null;
|
|
10176
10219
|
/** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
|
|
10177
10220
|
basisPoints: number;
|
|
10178
|
-
/** @enum {string|null} */
|
|
10179
|
-
type?: "markup" | "tax" | null;
|
|
10180
|
-
uniqueRef?: string | null;
|
|
10181
|
-
/** @enum {string|null} */
|
|
10182
|
-
status?: "active" | "inactive" | null;
|
|
10183
|
-
/** Format: uuid */
|
|
10184
|
-
accountId?: string | null;
|
|
10185
|
-
/** Format: uuid */
|
|
10186
|
-
debitAccountId?: string | null;
|
|
10187
|
-
id: string;
|
|
10188
10221
|
} | null;
|
|
10189
10222
|
};
|
|
10190
10223
|
};
|
|
@@ -10258,13 +10291,13 @@ export interface operations {
|
|
|
10258
10291
|
name: string;
|
|
10259
10292
|
locked?: boolean | null;
|
|
10260
10293
|
/** @enum {string|null} */
|
|
10261
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10294
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10262
10295
|
columns: ({
|
|
10263
10296
|
id?: string | null;
|
|
10264
10297
|
name: string;
|
|
10265
10298
|
locked?: boolean | null;
|
|
10266
10299
|
/** @enum {string|null} */
|
|
10267
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10300
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10268
10301
|
/** @enum {string} */
|
|
10269
10302
|
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
10270
10303
|
value: string;
|
|
@@ -10273,7 +10306,7 @@ export interface operations {
|
|
|
10273
10306
|
name: string;
|
|
10274
10307
|
locked?: boolean | null;
|
|
10275
10308
|
/** @enum {string|null} */
|
|
10276
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10309
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10277
10310
|
/** @enum {string} */
|
|
10278
10311
|
type: "accounts";
|
|
10279
10312
|
value: string[];
|
|
@@ -10284,13 +10317,13 @@ export interface operations {
|
|
|
10284
10317
|
name: string;
|
|
10285
10318
|
locked?: boolean | null;
|
|
10286
10319
|
/** @enum {string|null} */
|
|
10287
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10320
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10288
10321
|
columns: ({
|
|
10289
10322
|
id?: string | null;
|
|
10290
10323
|
name: string;
|
|
10291
10324
|
locked?: boolean | null;
|
|
10292
10325
|
/** @enum {string|null} */
|
|
10293
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10326
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10294
10327
|
/** @enum {string} */
|
|
10295
10328
|
type: "field";
|
|
10296
10329
|
value: string;
|
|
@@ -10299,7 +10332,7 @@ export interface operations {
|
|
|
10299
10332
|
name: string;
|
|
10300
10333
|
locked?: boolean | null;
|
|
10301
10334
|
/** @enum {string|null} */
|
|
10302
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10335
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10303
10336
|
/** @enum {string} */
|
|
10304
10337
|
type: "accounts";
|
|
10305
10338
|
value: string[];
|
|
@@ -10323,13 +10356,13 @@ export interface operations {
|
|
|
10323
10356
|
name: string;
|
|
10324
10357
|
locked?: boolean | null;
|
|
10325
10358
|
/** @enum {string|null} */
|
|
10326
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10359
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10327
10360
|
columns: ({
|
|
10328
10361
|
id?: string | null;
|
|
10329
10362
|
name: string;
|
|
10330
10363
|
locked?: boolean | null;
|
|
10331
10364
|
/** @enum {string|null} */
|
|
10332
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10365
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10333
10366
|
/** @enum {string} */
|
|
10334
10367
|
type: "field";
|
|
10335
10368
|
value: string;
|
|
@@ -10338,7 +10371,7 @@ export interface operations {
|
|
|
10338
10371
|
name: string;
|
|
10339
10372
|
locked?: boolean | null;
|
|
10340
10373
|
/** @enum {string|null} */
|
|
10341
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10374
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10342
10375
|
/** @enum {string} */
|
|
10343
10376
|
type: "accounts";
|
|
10344
10377
|
value: string[];
|
|
@@ -10426,13 +10459,13 @@ export interface operations {
|
|
|
10426
10459
|
name: string;
|
|
10427
10460
|
locked?: boolean | null;
|
|
10428
10461
|
/** @enum {string|null} */
|
|
10429
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10462
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10430
10463
|
columns: ({
|
|
10431
10464
|
id?: string | null;
|
|
10432
10465
|
name: string;
|
|
10433
10466
|
locked?: boolean | null;
|
|
10434
10467
|
/** @enum {string|null} */
|
|
10435
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10468
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10436
10469
|
/** @enum {string} */
|
|
10437
10470
|
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
10438
10471
|
value: string;
|
|
@@ -10441,7 +10474,7 @@ export interface operations {
|
|
|
10441
10474
|
name: string;
|
|
10442
10475
|
locked?: boolean | null;
|
|
10443
10476
|
/** @enum {string|null} */
|
|
10444
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10477
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10445
10478
|
/** @enum {string} */
|
|
10446
10479
|
type: "accounts";
|
|
10447
10480
|
value: string[];
|
|
@@ -10452,13 +10485,13 @@ export interface operations {
|
|
|
10452
10485
|
name: string;
|
|
10453
10486
|
locked?: boolean | null;
|
|
10454
10487
|
/** @enum {string|null} */
|
|
10455
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10488
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10456
10489
|
columns: ({
|
|
10457
10490
|
id?: string | null;
|
|
10458
10491
|
name: string;
|
|
10459
10492
|
locked?: boolean | null;
|
|
10460
10493
|
/** @enum {string|null} */
|
|
10461
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10494
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10462
10495
|
/** @enum {string} */
|
|
10463
10496
|
type: "field";
|
|
10464
10497
|
value: string;
|
|
@@ -10467,7 +10500,7 @@ export interface operations {
|
|
|
10467
10500
|
name: string;
|
|
10468
10501
|
locked?: boolean | null;
|
|
10469
10502
|
/** @enum {string|null} */
|
|
10470
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10503
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10471
10504
|
/** @enum {string} */
|
|
10472
10505
|
type: "accounts";
|
|
10473
10506
|
value: string[];
|
|
@@ -10493,13 +10526,13 @@ export interface operations {
|
|
|
10493
10526
|
name: string;
|
|
10494
10527
|
locked?: boolean | null;
|
|
10495
10528
|
/** @enum {string|null} */
|
|
10496
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10529
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10497
10530
|
columns: ({
|
|
10498
10531
|
id?: string | null;
|
|
10499
10532
|
name: string;
|
|
10500
10533
|
locked?: boolean | null;
|
|
10501
10534
|
/** @enum {string|null} */
|
|
10502
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10535
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10503
10536
|
/** @enum {string} */
|
|
10504
10537
|
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
10505
10538
|
value: string;
|
|
@@ -10508,7 +10541,7 @@ export interface operations {
|
|
|
10508
10541
|
name: string;
|
|
10509
10542
|
locked?: boolean | null;
|
|
10510
10543
|
/** @enum {string|null} */
|
|
10511
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10544
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10512
10545
|
/** @enum {string} */
|
|
10513
10546
|
type: "accounts";
|
|
10514
10547
|
value: string[];
|
|
@@ -10519,13 +10552,13 @@ export interface operations {
|
|
|
10519
10552
|
name: string;
|
|
10520
10553
|
locked?: boolean | null;
|
|
10521
10554
|
/** @enum {string|null} */
|
|
10522
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10555
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10523
10556
|
columns: ({
|
|
10524
10557
|
id?: string | null;
|
|
10525
10558
|
name: string;
|
|
10526
10559
|
locked?: boolean | null;
|
|
10527
10560
|
/** @enum {string|null} */
|
|
10528
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10561
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10529
10562
|
/** @enum {string} */
|
|
10530
10563
|
type: "field";
|
|
10531
10564
|
value: string;
|
|
@@ -10534,7 +10567,7 @@ export interface operations {
|
|
|
10534
10567
|
name: string;
|
|
10535
10568
|
locked?: boolean | null;
|
|
10536
10569
|
/** @enum {string|null} */
|
|
10537
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10570
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10538
10571
|
/** @enum {string} */
|
|
10539
10572
|
type: "accounts";
|
|
10540
10573
|
value: string[];
|
|
@@ -10558,13 +10591,13 @@ export interface operations {
|
|
|
10558
10591
|
name: string;
|
|
10559
10592
|
locked?: boolean | null;
|
|
10560
10593
|
/** @enum {string|null} */
|
|
10561
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10594
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10562
10595
|
columns: ({
|
|
10563
10596
|
id?: string | null;
|
|
10564
10597
|
name: string;
|
|
10565
10598
|
locked?: boolean | null;
|
|
10566
10599
|
/** @enum {string|null} */
|
|
10567
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10600
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10568
10601
|
/** @enum {string} */
|
|
10569
10602
|
type: "field";
|
|
10570
10603
|
value: string;
|
|
@@ -10573,7 +10606,7 @@ export interface operations {
|
|
|
10573
10606
|
name: string;
|
|
10574
10607
|
locked?: boolean | null;
|
|
10575
10608
|
/** @enum {string|null} */
|
|
10576
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10609
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10577
10610
|
/** @enum {string} */
|
|
10578
10611
|
type: "accounts";
|
|
10579
10612
|
value: string[];
|
|
@@ -10649,13 +10682,13 @@ export interface operations {
|
|
|
10649
10682
|
name: string;
|
|
10650
10683
|
locked?: boolean | null;
|
|
10651
10684
|
/** @enum {string|null} */
|
|
10652
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10685
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10653
10686
|
columns: ({
|
|
10654
10687
|
id?: string | null;
|
|
10655
10688
|
name: string;
|
|
10656
10689
|
locked?: boolean | null;
|
|
10657
10690
|
/** @enum {string|null} */
|
|
10658
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10691
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10659
10692
|
/** @enum {string} */
|
|
10660
10693
|
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
10661
10694
|
value: string;
|
|
@@ -10664,7 +10697,7 @@ export interface operations {
|
|
|
10664
10697
|
name: string;
|
|
10665
10698
|
locked?: boolean | null;
|
|
10666
10699
|
/** @enum {string|null} */
|
|
10667
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10700
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10668
10701
|
/** @enum {string} */
|
|
10669
10702
|
type: "accounts";
|
|
10670
10703
|
value: string[];
|
|
@@ -10675,13 +10708,13 @@ export interface operations {
|
|
|
10675
10708
|
name: string;
|
|
10676
10709
|
locked?: boolean | null;
|
|
10677
10710
|
/** @enum {string|null} */
|
|
10678
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10711
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10679
10712
|
columns: ({
|
|
10680
10713
|
id?: string | null;
|
|
10681
10714
|
name: string;
|
|
10682
10715
|
locked?: boolean | null;
|
|
10683
10716
|
/** @enum {string|null} */
|
|
10684
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10717
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10685
10718
|
/** @enum {string} */
|
|
10686
10719
|
type: "field";
|
|
10687
10720
|
value: string;
|
|
@@ -10690,7 +10723,7 @@ export interface operations {
|
|
|
10690
10723
|
name: string;
|
|
10691
10724
|
locked?: boolean | null;
|
|
10692
10725
|
/** @enum {string|null} */
|
|
10693
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10726
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10694
10727
|
/** @enum {string} */
|
|
10695
10728
|
type: "accounts";
|
|
10696
10729
|
value: string[];
|
|
@@ -10714,13 +10747,13 @@ export interface operations {
|
|
|
10714
10747
|
name: string;
|
|
10715
10748
|
locked?: boolean | null;
|
|
10716
10749
|
/** @enum {string|null} */
|
|
10717
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10750
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10718
10751
|
columns: ({
|
|
10719
10752
|
id?: string | null;
|
|
10720
10753
|
name: string;
|
|
10721
10754
|
locked?: boolean | null;
|
|
10722
10755
|
/** @enum {string|null} */
|
|
10723
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10756
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10724
10757
|
/** @enum {string} */
|
|
10725
10758
|
type: "field";
|
|
10726
10759
|
value: string;
|
|
@@ -10729,7 +10762,7 @@ export interface operations {
|
|
|
10729
10762
|
name: string;
|
|
10730
10763
|
locked?: boolean | null;
|
|
10731
10764
|
/** @enum {string|null} */
|
|
10732
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10765
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10733
10766
|
/** @enum {string} */
|
|
10734
10767
|
type: "accounts";
|
|
10735
10768
|
value: string[];
|
|
@@ -10809,13 +10842,13 @@ export interface operations {
|
|
|
10809
10842
|
name: string;
|
|
10810
10843
|
locked?: boolean | null;
|
|
10811
10844
|
/** @enum {string|null} */
|
|
10812
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10845
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10813
10846
|
columns: ({
|
|
10814
10847
|
id?: string | null;
|
|
10815
10848
|
name: string;
|
|
10816
10849
|
locked?: boolean | null;
|
|
10817
10850
|
/** @enum {string|null} */
|
|
10818
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10851
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10819
10852
|
/** @enum {string} */
|
|
10820
10853
|
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
10821
10854
|
value: string;
|
|
@@ -10824,7 +10857,7 @@ export interface operations {
|
|
|
10824
10857
|
name: string;
|
|
10825
10858
|
locked?: boolean | null;
|
|
10826
10859
|
/** @enum {string|null} */
|
|
10827
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10860
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10828
10861
|
/** @enum {string} */
|
|
10829
10862
|
type: "accounts";
|
|
10830
10863
|
value: string[];
|
|
@@ -10835,13 +10868,13 @@ export interface operations {
|
|
|
10835
10868
|
name: string;
|
|
10836
10869
|
locked?: boolean | null;
|
|
10837
10870
|
/** @enum {string|null} */
|
|
10838
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10871
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10839
10872
|
columns: ({
|
|
10840
10873
|
id?: string | null;
|
|
10841
10874
|
name: string;
|
|
10842
10875
|
locked?: boolean | null;
|
|
10843
10876
|
/** @enum {string|null} */
|
|
10844
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10877
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10845
10878
|
/** @enum {string} */
|
|
10846
10879
|
type: "field";
|
|
10847
10880
|
value: string;
|
|
@@ -10850,7 +10883,7 @@ export interface operations {
|
|
|
10850
10883
|
name: string;
|
|
10851
10884
|
locked?: boolean | null;
|
|
10852
10885
|
/** @enum {string|null} */
|
|
10853
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10886
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10854
10887
|
/** @enum {string} */
|
|
10855
10888
|
type: "accounts";
|
|
10856
10889
|
value: string[];
|
|
@@ -10876,13 +10909,13 @@ export interface operations {
|
|
|
10876
10909
|
name: string;
|
|
10877
10910
|
locked?: boolean | null;
|
|
10878
10911
|
/** @enum {string|null} */
|
|
10879
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10912
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10880
10913
|
columns: ({
|
|
10881
10914
|
id?: string | null;
|
|
10882
10915
|
name: string;
|
|
10883
10916
|
locked?: boolean | null;
|
|
10884
10917
|
/** @enum {string|null} */
|
|
10885
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10918
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10886
10919
|
/** @enum {string} */
|
|
10887
10920
|
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
10888
10921
|
value: string;
|
|
@@ -10891,7 +10924,7 @@ export interface operations {
|
|
|
10891
10924
|
name: string;
|
|
10892
10925
|
locked?: boolean | null;
|
|
10893
10926
|
/** @enum {string|null} */
|
|
10894
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10927
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10895
10928
|
/** @enum {string} */
|
|
10896
10929
|
type: "accounts";
|
|
10897
10930
|
value: string[];
|
|
@@ -10902,13 +10935,13 @@ export interface operations {
|
|
|
10902
10935
|
name: string;
|
|
10903
10936
|
locked?: boolean | null;
|
|
10904
10937
|
/** @enum {string|null} */
|
|
10905
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10938
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10906
10939
|
columns: ({
|
|
10907
10940
|
id?: string | null;
|
|
10908
10941
|
name: string;
|
|
10909
10942
|
locked?: boolean | null;
|
|
10910
10943
|
/** @enum {string|null} */
|
|
10911
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10944
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10912
10945
|
/** @enum {string} */
|
|
10913
10946
|
type: "field";
|
|
10914
10947
|
value: string;
|
|
@@ -10917,7 +10950,7 @@ export interface operations {
|
|
|
10917
10950
|
name: string;
|
|
10918
10951
|
locked?: boolean | null;
|
|
10919
10952
|
/** @enum {string|null} */
|
|
10920
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10953
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10921
10954
|
/** @enum {string} */
|
|
10922
10955
|
type: "accounts";
|
|
10923
10956
|
value: string[];
|
|
@@ -10941,13 +10974,13 @@ export interface operations {
|
|
|
10941
10974
|
name: string;
|
|
10942
10975
|
locked?: boolean | null;
|
|
10943
10976
|
/** @enum {string|null} */
|
|
10944
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10977
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10945
10978
|
columns: ({
|
|
10946
10979
|
id?: string | null;
|
|
10947
10980
|
name: string;
|
|
10948
10981
|
locked?: boolean | null;
|
|
10949
10982
|
/** @enum {string|null} */
|
|
10950
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10983
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10951
10984
|
/** @enum {string} */
|
|
10952
10985
|
type: "field";
|
|
10953
10986
|
value: string;
|
|
@@ -10956,7 +10989,7 @@ export interface operations {
|
|
|
10956
10989
|
name: string;
|
|
10957
10990
|
locked?: boolean | null;
|
|
10958
10991
|
/** @enum {string|null} */
|
|
10959
|
-
visible?: "all" | "manager" | "none" | null;
|
|
10992
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
10960
10993
|
/** @enum {string} */
|
|
10961
10994
|
type: "accounts";
|
|
10962
10995
|
value: string[];
|
|
@@ -11229,13 +11262,7 @@ export interface operations {
|
|
|
11229
11262
|
/** @enum {string} */
|
|
11230
11263
|
status: "active" | "inactive";
|
|
11231
11264
|
uniqueRef?: string | null;
|
|
11232
|
-
|
|
11233
|
-
id: string;
|
|
11234
|
-
name: string;
|
|
11235
|
-
icon?: string | null;
|
|
11236
|
-
importers?: string[] | null;
|
|
11237
|
-
extractors?: string[] | null;
|
|
11238
|
-
};
|
|
11265
|
+
appId: string;
|
|
11239
11266
|
} | null;
|
|
11240
11267
|
contact?: {
|
|
11241
11268
|
/** Format: uuid */
|
|
@@ -11530,13 +11557,13 @@ export interface operations {
|
|
|
11530
11557
|
name: string;
|
|
11531
11558
|
locked?: boolean | null;
|
|
11532
11559
|
/** @enum {string|null} */
|
|
11533
|
-
visible?: "all" | "manager" | "none" | null;
|
|
11560
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
11534
11561
|
columns: ({
|
|
11535
11562
|
id?: string | null;
|
|
11536
11563
|
name: string;
|
|
11537
11564
|
locked?: boolean | null;
|
|
11538
11565
|
/** @enum {string|null} */
|
|
11539
|
-
visible?: "all" | "manager" | "none" | null;
|
|
11566
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
11540
11567
|
/** @enum {string} */
|
|
11541
11568
|
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
11542
11569
|
value: string;
|
|
@@ -11545,7 +11572,7 @@ export interface operations {
|
|
|
11545
11572
|
name: string;
|
|
11546
11573
|
locked?: boolean | null;
|
|
11547
11574
|
/** @enum {string|null} */
|
|
11548
|
-
visible?: "all" | "manager" | "none" | null;
|
|
11575
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
11549
11576
|
/** @enum {string} */
|
|
11550
11577
|
type: "accounts";
|
|
11551
11578
|
value: string[];
|
|
@@ -11556,13 +11583,13 @@ export interface operations {
|
|
|
11556
11583
|
name: string;
|
|
11557
11584
|
locked?: boolean | null;
|
|
11558
11585
|
/** @enum {string|null} */
|
|
11559
|
-
visible?: "all" | "manager" | "none" | null;
|
|
11586
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
11560
11587
|
columns: ({
|
|
11561
11588
|
id?: string | null;
|
|
11562
11589
|
name: string;
|
|
11563
11590
|
locked?: boolean | null;
|
|
11564
11591
|
/** @enum {string|null} */
|
|
11565
|
-
visible?: "all" | "manager" | "none" | null;
|
|
11592
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
11566
11593
|
/** @enum {string} */
|
|
11567
11594
|
type: "field";
|
|
11568
11595
|
value: string;
|
|
@@ -11571,7 +11598,7 @@ export interface operations {
|
|
|
11571
11598
|
name: string;
|
|
11572
11599
|
locked?: boolean | null;
|
|
11573
11600
|
/** @enum {string|null} */
|
|
11574
|
-
visible?: "all" | "manager" | "none" | null;
|
|
11601
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
11575
11602
|
/** @enum {string} */
|
|
11576
11603
|
type: "accounts";
|
|
11577
11604
|
value: string[];
|
|
@@ -11595,13 +11622,13 @@ export interface operations {
|
|
|
11595
11622
|
name: string;
|
|
11596
11623
|
locked?: boolean | null;
|
|
11597
11624
|
/** @enum {string|null} */
|
|
11598
|
-
visible?: "all" | "manager" | "none" | null;
|
|
11625
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
11599
11626
|
columns: ({
|
|
11600
11627
|
id?: string | null;
|
|
11601
11628
|
name: string;
|
|
11602
11629
|
locked?: boolean | null;
|
|
11603
11630
|
/** @enum {string|null} */
|
|
11604
|
-
visible?: "all" | "manager" | "none" | null;
|
|
11631
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
11605
11632
|
/** @enum {string} */
|
|
11606
11633
|
type: "field";
|
|
11607
11634
|
value: string;
|
|
@@ -11610,7 +11637,7 @@ export interface operations {
|
|
|
11610
11637
|
name: string;
|
|
11611
11638
|
locked?: boolean | null;
|
|
11612
11639
|
/** @enum {string|null} */
|
|
11613
|
-
visible?: "all" | "manager" | "none" | null;
|
|
11640
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
11614
11641
|
/** @enum {string} */
|
|
11615
11642
|
type: "accounts";
|
|
11616
11643
|
value: string[];
|
|
@@ -11830,6 +11857,103 @@ export interface operations {
|
|
|
11830
11857
|
};
|
|
11831
11858
|
};
|
|
11832
11859
|
};
|
|
11860
|
+
getOwnerStatementTotals: {
|
|
11861
|
+
parameters: {
|
|
11862
|
+
query: {
|
|
11863
|
+
/** @description Date in format YYYY-MM */
|
|
11864
|
+
month: string;
|
|
11865
|
+
/** @description comma separated listings */
|
|
11866
|
+
listingIds?: string;
|
|
11867
|
+
/** @description comma separated owners */
|
|
11868
|
+
ownerIds?: string;
|
|
11869
|
+
status?: ("draft" | "inReview" | "void" | "published") | "all";
|
|
11870
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
11871
|
+
currency?: string;
|
|
11872
|
+
search?: string;
|
|
11873
|
+
includePreviousUnattached?: boolean;
|
|
11874
|
+
};
|
|
11875
|
+
header?: {
|
|
11876
|
+
"X-Team-Id"?: string;
|
|
11877
|
+
};
|
|
11878
|
+
path?: never;
|
|
11879
|
+
cookie?: never;
|
|
11880
|
+
};
|
|
11881
|
+
requestBody?: never;
|
|
11882
|
+
responses: {
|
|
11883
|
+
/** @description Successful response */
|
|
11884
|
+
200: {
|
|
11885
|
+
headers: {
|
|
11886
|
+
[name: string]: unknown;
|
|
11887
|
+
};
|
|
11888
|
+
content: {
|
|
11889
|
+
"application/json": {
|
|
11890
|
+
aggregates: {
|
|
11891
|
+
/** @description Value in cents (100 = 1€) */
|
|
11892
|
+
balanceStart: number;
|
|
11893
|
+
/** @description Value in cents (100 = 1€) */
|
|
11894
|
+
netRevenue: number;
|
|
11895
|
+
/** @description Value in cents (100 = 1€) */
|
|
11896
|
+
expenses: number;
|
|
11897
|
+
/** @description Value in cents (100 = 1€) */
|
|
11898
|
+
netIncome: number;
|
|
11899
|
+
/** @description Value in cents (100 = 1€) */
|
|
11900
|
+
transfers: number;
|
|
11901
|
+
/** @description Value in cents (100 = 1€) */
|
|
11902
|
+
balanceEnd: number;
|
|
11903
|
+
currency: string;
|
|
11904
|
+
}[];
|
|
11905
|
+
total: number;
|
|
11906
|
+
defaultCurrency: string;
|
|
11907
|
+
};
|
|
11908
|
+
};
|
|
11909
|
+
};
|
|
11910
|
+
/** @description Invalid input data */
|
|
11911
|
+
400: {
|
|
11912
|
+
headers: {
|
|
11913
|
+
[name: string]: unknown;
|
|
11914
|
+
};
|
|
11915
|
+
content: {
|
|
11916
|
+
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
11917
|
+
};
|
|
11918
|
+
};
|
|
11919
|
+
/** @description Authorization not provided */
|
|
11920
|
+
401: {
|
|
11921
|
+
headers: {
|
|
11922
|
+
[name: string]: unknown;
|
|
11923
|
+
};
|
|
11924
|
+
content: {
|
|
11925
|
+
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
11926
|
+
};
|
|
11927
|
+
};
|
|
11928
|
+
/** @description Insufficient access */
|
|
11929
|
+
403: {
|
|
11930
|
+
headers: {
|
|
11931
|
+
[name: string]: unknown;
|
|
11932
|
+
};
|
|
11933
|
+
content: {
|
|
11934
|
+
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
11935
|
+
};
|
|
11936
|
+
};
|
|
11937
|
+
/** @description Not found */
|
|
11938
|
+
404: {
|
|
11939
|
+
headers: {
|
|
11940
|
+
[name: string]: unknown;
|
|
11941
|
+
};
|
|
11942
|
+
content: {
|
|
11943
|
+
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
11944
|
+
};
|
|
11945
|
+
};
|
|
11946
|
+
/** @description Internal server error */
|
|
11947
|
+
500: {
|
|
11948
|
+
headers: {
|
|
11949
|
+
[name: string]: unknown;
|
|
11950
|
+
};
|
|
11951
|
+
content: {
|
|
11952
|
+
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
11953
|
+
};
|
|
11954
|
+
};
|
|
11955
|
+
};
|
|
11956
|
+
};
|
|
11833
11957
|
getOwnerStatement: {
|
|
11834
11958
|
parameters: {
|
|
11835
11959
|
query?: {
|
|
@@ -11983,13 +12107,13 @@ export interface operations {
|
|
|
11983
12107
|
name: string;
|
|
11984
12108
|
locked?: boolean | null;
|
|
11985
12109
|
/** @enum {string|null} */
|
|
11986
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12110
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
11987
12111
|
columns: ({
|
|
11988
12112
|
id?: string | null;
|
|
11989
12113
|
name: string;
|
|
11990
12114
|
locked?: boolean | null;
|
|
11991
12115
|
/** @enum {string|null} */
|
|
11992
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12116
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
11993
12117
|
/** @enum {string} */
|
|
11994
12118
|
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
11995
12119
|
value: string;
|
|
@@ -11998,7 +12122,7 @@ export interface operations {
|
|
|
11998
12122
|
name: string;
|
|
11999
12123
|
locked?: boolean | null;
|
|
12000
12124
|
/** @enum {string|null} */
|
|
12001
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12125
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12002
12126
|
/** @enum {string} */
|
|
12003
12127
|
type: "accounts";
|
|
12004
12128
|
value: string[];
|
|
@@ -12009,13 +12133,13 @@ export interface operations {
|
|
|
12009
12133
|
name: string;
|
|
12010
12134
|
locked?: boolean | null;
|
|
12011
12135
|
/** @enum {string|null} */
|
|
12012
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12136
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12013
12137
|
columns: ({
|
|
12014
12138
|
id?: string | null;
|
|
12015
12139
|
name: string;
|
|
12016
12140
|
locked?: boolean | null;
|
|
12017
12141
|
/** @enum {string|null} */
|
|
12018
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12142
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12019
12143
|
/** @enum {string} */
|
|
12020
12144
|
type: "field";
|
|
12021
12145
|
value: string;
|
|
@@ -12024,7 +12148,7 @@ export interface operations {
|
|
|
12024
12148
|
name: string;
|
|
12025
12149
|
locked?: boolean | null;
|
|
12026
12150
|
/** @enum {string|null} */
|
|
12027
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12151
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12028
12152
|
/** @enum {string} */
|
|
12029
12153
|
type: "accounts";
|
|
12030
12154
|
value: string[];
|
|
@@ -12048,13 +12172,13 @@ export interface operations {
|
|
|
12048
12172
|
name: string;
|
|
12049
12173
|
locked?: boolean | null;
|
|
12050
12174
|
/** @enum {string|null} */
|
|
12051
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12175
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12052
12176
|
columns: ({
|
|
12053
12177
|
id?: string | null;
|
|
12054
12178
|
name: string;
|
|
12055
12179
|
locked?: boolean | null;
|
|
12056
12180
|
/** @enum {string|null} */
|
|
12057
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12181
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12058
12182
|
/** @enum {string} */
|
|
12059
12183
|
type: "field";
|
|
12060
12184
|
value: string;
|
|
@@ -12063,7 +12187,7 @@ export interface operations {
|
|
|
12063
12187
|
name: string;
|
|
12064
12188
|
locked?: boolean | null;
|
|
12065
12189
|
/** @enum {string|null} */
|
|
12066
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12190
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12067
12191
|
/** @enum {string} */
|
|
12068
12192
|
type: "accounts";
|
|
12069
12193
|
value: string[];
|
|
@@ -12445,13 +12569,13 @@ export interface operations {
|
|
|
12445
12569
|
name: string;
|
|
12446
12570
|
locked?: boolean | null;
|
|
12447
12571
|
/** @enum {string|null} */
|
|
12448
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12572
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12449
12573
|
columns: ({
|
|
12450
12574
|
id?: string | null;
|
|
12451
12575
|
name: string;
|
|
12452
12576
|
locked?: boolean | null;
|
|
12453
12577
|
/** @enum {string|null} */
|
|
12454
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12578
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12455
12579
|
/** @enum {string} */
|
|
12456
12580
|
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
12457
12581
|
value: string;
|
|
@@ -12460,7 +12584,7 @@ export interface operations {
|
|
|
12460
12584
|
name: string;
|
|
12461
12585
|
locked?: boolean | null;
|
|
12462
12586
|
/** @enum {string|null} */
|
|
12463
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12587
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12464
12588
|
/** @enum {string} */
|
|
12465
12589
|
type: "accounts";
|
|
12466
12590
|
value: string[];
|
|
@@ -12471,13 +12595,13 @@ export interface operations {
|
|
|
12471
12595
|
name: string;
|
|
12472
12596
|
locked?: boolean | null;
|
|
12473
12597
|
/** @enum {string|null} */
|
|
12474
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12598
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12475
12599
|
columns: ({
|
|
12476
12600
|
id?: string | null;
|
|
12477
12601
|
name: string;
|
|
12478
12602
|
locked?: boolean | null;
|
|
12479
12603
|
/** @enum {string|null} */
|
|
12480
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12604
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12481
12605
|
/** @enum {string} */
|
|
12482
12606
|
type: "field";
|
|
12483
12607
|
value: string;
|
|
@@ -12486,7 +12610,7 @@ export interface operations {
|
|
|
12486
12610
|
name: string;
|
|
12487
12611
|
locked?: boolean | null;
|
|
12488
12612
|
/** @enum {string|null} */
|
|
12489
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12613
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12490
12614
|
/** @enum {string} */
|
|
12491
12615
|
type: "accounts";
|
|
12492
12616
|
value: string[];
|
|
@@ -12510,13 +12634,13 @@ export interface operations {
|
|
|
12510
12634
|
name: string;
|
|
12511
12635
|
locked?: boolean | null;
|
|
12512
12636
|
/** @enum {string|null} */
|
|
12513
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12637
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12514
12638
|
columns: ({
|
|
12515
12639
|
id?: string | null;
|
|
12516
12640
|
name: string;
|
|
12517
12641
|
locked?: boolean | null;
|
|
12518
12642
|
/** @enum {string|null} */
|
|
12519
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12643
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12520
12644
|
/** @enum {string} */
|
|
12521
12645
|
type: "field";
|
|
12522
12646
|
value: string;
|
|
@@ -12525,7 +12649,7 @@ export interface operations {
|
|
|
12525
12649
|
name: string;
|
|
12526
12650
|
locked?: boolean | null;
|
|
12527
12651
|
/** @enum {string|null} */
|
|
12528
|
-
visible?: "all" | "manager" | "none" | null;
|
|
12652
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
12529
12653
|
/** @enum {string} */
|
|
12530
12654
|
type: "accounts";
|
|
12531
12655
|
value: string[];
|
|
@@ -13236,13 +13360,13 @@ export interface operations {
|
|
|
13236
13360
|
name: string;
|
|
13237
13361
|
locked?: boolean | null;
|
|
13238
13362
|
/** @enum {string|null} */
|
|
13239
|
-
visible?: "all" | "manager" | "none" | null;
|
|
13363
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
13240
13364
|
columns: ({
|
|
13241
13365
|
id?: string | null;
|
|
13242
13366
|
name: string;
|
|
13243
13367
|
locked?: boolean | null;
|
|
13244
13368
|
/** @enum {string|null} */
|
|
13245
|
-
visible?: "all" | "manager" | "none" | null;
|
|
13369
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
13246
13370
|
/** @enum {string} */
|
|
13247
13371
|
type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
|
|
13248
13372
|
value: string;
|
|
@@ -13251,7 +13375,7 @@ export interface operations {
|
|
|
13251
13375
|
name: string;
|
|
13252
13376
|
locked?: boolean | null;
|
|
13253
13377
|
/** @enum {string|null} */
|
|
13254
|
-
visible?: "all" | "manager" | "none" | null;
|
|
13378
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
13255
13379
|
/** @enum {string} */
|
|
13256
13380
|
type: "accounts";
|
|
13257
13381
|
value: string[];
|
|
@@ -13262,13 +13386,13 @@ export interface operations {
|
|
|
13262
13386
|
name: string;
|
|
13263
13387
|
locked?: boolean | null;
|
|
13264
13388
|
/** @enum {string|null} */
|
|
13265
|
-
visible?: "all" | "manager" | "none" | null;
|
|
13389
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
13266
13390
|
columns: ({
|
|
13267
13391
|
id?: string | null;
|
|
13268
13392
|
name: string;
|
|
13269
13393
|
locked?: boolean | null;
|
|
13270
13394
|
/** @enum {string|null} */
|
|
13271
|
-
visible?: "all" | "manager" | "none" | null;
|
|
13395
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
13272
13396
|
/** @enum {string} */
|
|
13273
13397
|
type: "field";
|
|
13274
13398
|
value: string;
|
|
@@ -13277,7 +13401,7 @@ export interface operations {
|
|
|
13277
13401
|
name: string;
|
|
13278
13402
|
locked?: boolean | null;
|
|
13279
13403
|
/** @enum {string|null} */
|
|
13280
|
-
visible?: "all" | "manager" | "none" | null;
|
|
13404
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
13281
13405
|
/** @enum {string} */
|
|
13282
13406
|
type: "accounts";
|
|
13283
13407
|
value: string[];
|
|
@@ -13301,13 +13425,13 @@ export interface operations {
|
|
|
13301
13425
|
name: string;
|
|
13302
13426
|
locked?: boolean | null;
|
|
13303
13427
|
/** @enum {string|null} */
|
|
13304
|
-
visible?: "all" | "manager" | "none" | null;
|
|
13428
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
13305
13429
|
columns: ({
|
|
13306
13430
|
id?: string | null;
|
|
13307
13431
|
name: string;
|
|
13308
13432
|
locked?: boolean | null;
|
|
13309
13433
|
/** @enum {string|null} */
|
|
13310
|
-
visible?: "all" | "manager" | "none" | null;
|
|
13434
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
13311
13435
|
/** @enum {string} */
|
|
13312
13436
|
type: "field";
|
|
13313
13437
|
value: string;
|
|
@@ -13316,7 +13440,7 @@ export interface operations {
|
|
|
13316
13440
|
name: string;
|
|
13317
13441
|
locked?: boolean | null;
|
|
13318
13442
|
/** @enum {string|null} */
|
|
13319
|
-
visible?: "all" | "manager" | "none" | null;
|
|
13443
|
+
visible?: "all" | "manager" | "owner" | "none" | null;
|
|
13320
13444
|
/** @enum {string} */
|
|
13321
13445
|
type: "accounts";
|
|
13322
13446
|
value: string[];
|
|
@@ -13676,13 +13800,7 @@ export interface operations {
|
|
|
13676
13800
|
/** @enum {string} */
|
|
13677
13801
|
status: "active" | "inactive";
|
|
13678
13802
|
uniqueRef?: string | null;
|
|
13679
|
-
|
|
13680
|
-
id: string;
|
|
13681
|
-
name: string;
|
|
13682
|
-
icon?: string | null;
|
|
13683
|
-
importers?: string[] | null;
|
|
13684
|
-
extractors?: string[] | null;
|
|
13685
|
-
};
|
|
13803
|
+
appId: string;
|
|
13686
13804
|
} | null;
|
|
13687
13805
|
contact?: {
|
|
13688
13806
|
/** Format: uuid */
|
|
@@ -14129,13 +14247,7 @@ export interface operations {
|
|
|
14129
14247
|
/** @enum {string} */
|
|
14130
14248
|
status: "active" | "inactive";
|
|
14131
14249
|
uniqueRef?: string | null;
|
|
14132
|
-
|
|
14133
|
-
id: string;
|
|
14134
|
-
name: string;
|
|
14135
|
-
icon?: string | null;
|
|
14136
|
-
importers?: string[] | null;
|
|
14137
|
-
extractors?: string[] | null;
|
|
14138
|
-
};
|
|
14250
|
+
appId: string;
|
|
14139
14251
|
} | null;
|
|
14140
14252
|
contact?: {
|
|
14141
14253
|
/** Format: uuid */
|
|
@@ -15296,13 +15408,7 @@ export interface operations {
|
|
|
15296
15408
|
/** @enum {string} */
|
|
15297
15409
|
status: "active" | "inactive";
|
|
15298
15410
|
uniqueRef?: string | null;
|
|
15299
|
-
|
|
15300
|
-
id: string;
|
|
15301
|
-
name: string;
|
|
15302
|
-
icon?: string | null;
|
|
15303
|
-
importers?: string[] | null;
|
|
15304
|
-
extractors?: string[] | null;
|
|
15305
|
-
};
|
|
15411
|
+
appId: string;
|
|
15306
15412
|
} | null;
|
|
15307
15413
|
contact?: {
|
|
15308
15414
|
/** Format: uuid */
|
|
@@ -15572,13 +15678,7 @@ export interface operations {
|
|
|
15572
15678
|
/** @enum {string} */
|
|
15573
15679
|
status: "active" | "inactive";
|
|
15574
15680
|
uniqueRef?: string | null;
|
|
15575
|
-
|
|
15576
|
-
id: string;
|
|
15577
|
-
name: string;
|
|
15578
|
-
icon?: string | null;
|
|
15579
|
-
importers?: string[] | null;
|
|
15580
|
-
extractors?: string[] | null;
|
|
15581
|
-
};
|
|
15681
|
+
appId: string;
|
|
15582
15682
|
} | null;
|
|
15583
15683
|
contact?: {
|
|
15584
15684
|
/** Format: uuid */
|
|
@@ -15857,13 +15957,7 @@ export interface operations {
|
|
|
15857
15957
|
/** @enum {string} */
|
|
15858
15958
|
status: "active" | "inactive";
|
|
15859
15959
|
uniqueRef?: string | null;
|
|
15860
|
-
|
|
15861
|
-
id: string;
|
|
15862
|
-
name: string;
|
|
15863
|
-
icon?: string | null;
|
|
15864
|
-
importers?: string[] | null;
|
|
15865
|
-
extractors?: string[] | null;
|
|
15866
|
-
};
|
|
15960
|
+
appId: string;
|
|
15867
15961
|
} | null;
|
|
15868
15962
|
contact?: {
|
|
15869
15963
|
/** Format: uuid */
|
|
@@ -16139,13 +16233,7 @@ export interface operations {
|
|
|
16139
16233
|
/** @enum {string} */
|
|
16140
16234
|
status: "active" | "inactive";
|
|
16141
16235
|
uniqueRef?: string | null;
|
|
16142
|
-
|
|
16143
|
-
id: string;
|
|
16144
|
-
name: string;
|
|
16145
|
-
icon?: string | null;
|
|
16146
|
-
importers?: string[] | null;
|
|
16147
|
-
extractors?: string[] | null;
|
|
16148
|
-
};
|
|
16236
|
+
appId: string;
|
|
16149
16237
|
} | null;
|
|
16150
16238
|
contact?: {
|
|
16151
16239
|
/** Format: uuid */
|
|
@@ -16341,13 +16429,7 @@ export interface operations {
|
|
|
16341
16429
|
/** @enum {string} */
|
|
16342
16430
|
status: "active" | "inactive";
|
|
16343
16431
|
uniqueRef?: string | null;
|
|
16344
|
-
|
|
16345
|
-
id: string;
|
|
16346
|
-
name: string;
|
|
16347
|
-
icon?: string | null;
|
|
16348
|
-
importers?: string[] | null;
|
|
16349
|
-
extractors?: string[] | null;
|
|
16350
|
-
};
|
|
16432
|
+
appId: string;
|
|
16351
16433
|
} | null;
|
|
16352
16434
|
contact?: {
|
|
16353
16435
|
/** Format: uuid */
|
|
@@ -16616,13 +16698,7 @@ export interface operations {
|
|
|
16616
16698
|
/** @enum {string} */
|
|
16617
16699
|
status: "active" | "inactive";
|
|
16618
16700
|
uniqueRef?: string | null;
|
|
16619
|
-
|
|
16620
|
-
id: string;
|
|
16621
|
-
name: string;
|
|
16622
|
-
icon?: string | null;
|
|
16623
|
-
importers?: string[] | null;
|
|
16624
|
-
extractors?: string[] | null;
|
|
16625
|
-
};
|
|
16701
|
+
appId: string;
|
|
16626
16702
|
} | null;
|
|
16627
16703
|
contact?: {
|
|
16628
16704
|
/** Format: uuid */
|
|
@@ -17533,13 +17609,7 @@ export interface operations {
|
|
|
17533
17609
|
/** @enum {string} */
|
|
17534
17610
|
status: "active" | "inactive";
|
|
17535
17611
|
uniqueRef?: string | null;
|
|
17536
|
-
|
|
17537
|
-
id: string;
|
|
17538
|
-
name: string;
|
|
17539
|
-
icon?: string | null;
|
|
17540
|
-
importers?: string[] | null;
|
|
17541
|
-
extractors?: string[] | null;
|
|
17542
|
-
};
|
|
17612
|
+
appId: string;
|
|
17543
17613
|
} | null;
|
|
17544
17614
|
contact?: {
|
|
17545
17615
|
/** Format: uuid */
|
|
@@ -17660,6 +17730,7 @@ export interface operations {
|
|
|
17660
17730
|
status?: "active" | "inactive";
|
|
17661
17731
|
/** @enum {string} */
|
|
17662
17732
|
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
17733
|
+
uniqueRef?: string | null;
|
|
17663
17734
|
id: string;
|
|
17664
17735
|
offsetAccount?: {
|
|
17665
17736
|
id: string;
|
|
@@ -17798,6 +17869,7 @@ export interface operations {
|
|
|
17798
17869
|
last4?: string | null;
|
|
17799
17870
|
currency?: string | null;
|
|
17800
17871
|
} | null;
|
|
17872
|
+
uniqueRef?: string | null;
|
|
17801
17873
|
};
|
|
17802
17874
|
};
|
|
17803
17875
|
};
|
|
@@ -17814,6 +17886,7 @@ export interface operations {
|
|
|
17814
17886
|
status?: "active" | "inactive";
|
|
17815
17887
|
/** @enum {string} */
|
|
17816
17888
|
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
17889
|
+
uniqueRef?: string | null;
|
|
17817
17890
|
id: string;
|
|
17818
17891
|
offsetAccount?: {
|
|
17819
17892
|
id: string;
|
|
@@ -18029,6 +18102,7 @@ export interface operations {
|
|
|
18029
18102
|
status?: "active" | "inactive";
|
|
18030
18103
|
/** @enum {string} */
|
|
18031
18104
|
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
18105
|
+
uniqueRef?: string | null;
|
|
18032
18106
|
id: string;
|
|
18033
18107
|
offsetAccount?: {
|
|
18034
18108
|
id: string;
|
|
@@ -18175,6 +18249,7 @@ export interface operations {
|
|
|
18175
18249
|
last4?: string | null;
|
|
18176
18250
|
currency?: string | null;
|
|
18177
18251
|
} | null;
|
|
18252
|
+
uniqueRef?: string | null;
|
|
18178
18253
|
};
|
|
18179
18254
|
};
|
|
18180
18255
|
};
|
|
@@ -18191,6 +18266,7 @@ export interface operations {
|
|
|
18191
18266
|
status?: "active" | "inactive";
|
|
18192
18267
|
/** @enum {string} */
|
|
18193
18268
|
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
18269
|
+
uniqueRef?: string | null;
|
|
18194
18270
|
id: string;
|
|
18195
18271
|
offsetAccount?: {
|
|
18196
18272
|
id: string;
|
|
@@ -18886,13 +18962,7 @@ export interface operations {
|
|
|
18886
18962
|
/** @enum {string} */
|
|
18887
18963
|
status: "active" | "inactive";
|
|
18888
18964
|
uniqueRef?: string | null;
|
|
18889
|
-
|
|
18890
|
-
id: string;
|
|
18891
|
-
name: string;
|
|
18892
|
-
icon?: string | null;
|
|
18893
|
-
importers?: string[] | null;
|
|
18894
|
-
extractors?: string[] | null;
|
|
18895
|
-
};
|
|
18965
|
+
appId: string;
|
|
18896
18966
|
} | null;
|
|
18897
18967
|
uniqueRef?: string | null;
|
|
18898
18968
|
recurringTemplate?: {
|
|
@@ -19131,13 +19201,7 @@ export interface operations {
|
|
|
19131
19201
|
/** @enum {string} */
|
|
19132
19202
|
status: "active" | "inactive";
|
|
19133
19203
|
uniqueRef?: string | null;
|
|
19134
|
-
|
|
19135
|
-
id: string;
|
|
19136
|
-
name: string;
|
|
19137
|
-
icon?: string | null;
|
|
19138
|
-
importers?: string[] | null;
|
|
19139
|
-
extractors?: string[] | null;
|
|
19140
|
-
};
|
|
19204
|
+
appId: string;
|
|
19141
19205
|
} | null;
|
|
19142
19206
|
uniqueRef?: string | null;
|
|
19143
19207
|
recurringTemplate?: {
|
|
@@ -19216,6 +19280,8 @@ export interface operations {
|
|
|
19216
19280
|
requestBody: {
|
|
19217
19281
|
content: {
|
|
19218
19282
|
"application/json": {
|
|
19283
|
+
/** Format: uuid */
|
|
19284
|
+
connectionId: string;
|
|
19219
19285
|
data: {
|
|
19220
19286
|
address?: {
|
|
19221
19287
|
full?: string | null;
|
|
@@ -19230,7 +19296,6 @@ export interface operations {
|
|
|
19230
19296
|
} | null;
|
|
19231
19297
|
/** @enum {string} */
|
|
19232
19298
|
type: "owner" | "vendor";
|
|
19233
|
-
email?: string | null;
|
|
19234
19299
|
firstName?: string | null;
|
|
19235
19300
|
name?: string | null;
|
|
19236
19301
|
phone?: string | null;
|
|
@@ -19243,14 +19308,12 @@ export interface operations {
|
|
|
19243
19308
|
uniqueRef?: string | null;
|
|
19244
19309
|
/** @enum {string|null} */
|
|
19245
19310
|
status?: "active" | "inactive" | null;
|
|
19246
|
-
invite?: boolean | null;
|
|
19247
19311
|
/** Format: uuid */
|
|
19248
19312
|
payoutAccountId?: string | null;
|
|
19249
19313
|
/** Format: uuid */
|
|
19250
19314
|
id?: string | null;
|
|
19315
|
+
email?: string | null;
|
|
19251
19316
|
}[];
|
|
19252
|
-
/** Format: uuid */
|
|
19253
|
-
connectionId: string;
|
|
19254
19317
|
};
|
|
19255
19318
|
};
|
|
19256
19319
|
};
|
|
@@ -19276,6 +19339,7 @@ export interface operations {
|
|
|
19276
19339
|
} | null;
|
|
19277
19340
|
/** @enum {string} */
|
|
19278
19341
|
type: "owner" | "vendor";
|
|
19342
|
+
/** Format: email */
|
|
19279
19343
|
email?: string | null;
|
|
19280
19344
|
firstName?: string | null;
|
|
19281
19345
|
name?: string | null;
|
|
@@ -19287,7 +19351,6 @@ export interface operations {
|
|
|
19287
19351
|
uniqueRef?: string | null;
|
|
19288
19352
|
/** @enum {string} */
|
|
19289
19353
|
status: "active" | "inactive";
|
|
19290
|
-
invite?: boolean | null;
|
|
19291
19354
|
/** Format: uuid */
|
|
19292
19355
|
payoutAccountId?: string | null;
|
|
19293
19356
|
/** Format: uuid */
|
|
@@ -19391,6 +19454,7 @@ export interface operations {
|
|
|
19391
19454
|
} | null;
|
|
19392
19455
|
/** @enum {string} */
|
|
19393
19456
|
type: "owner" | "vendor";
|
|
19457
|
+
/** Format: email */
|
|
19394
19458
|
email?: string | null;
|
|
19395
19459
|
firstName?: string | null;
|
|
19396
19460
|
name?: string | null;
|
|
@@ -19402,7 +19466,6 @@ export interface operations {
|
|
|
19402
19466
|
uniqueRef?: string | null;
|
|
19403
19467
|
/** @enum {string} */
|
|
19404
19468
|
status: "active" | "inactive";
|
|
19405
|
-
invite?: boolean | null;
|
|
19406
19469
|
/** Format: uuid */
|
|
19407
19470
|
payoutAccountId?: string | null;
|
|
19408
19471
|
/** Format: uuid */
|
|
@@ -19503,6 +19566,7 @@ export interface operations {
|
|
|
19503
19566
|
} | null;
|
|
19504
19567
|
/** @enum {string} */
|
|
19505
19568
|
type?: "owner" | "vendor";
|
|
19569
|
+
/** Format: email */
|
|
19506
19570
|
email?: string | null;
|
|
19507
19571
|
firstName?: string | null;
|
|
19508
19572
|
name?: string | null;
|
|
@@ -19516,7 +19580,6 @@ export interface operations {
|
|
|
19516
19580
|
uniqueRef?: string | null;
|
|
19517
19581
|
/** @enum {string|null} */
|
|
19518
19582
|
status?: "active" | "inactive" | null;
|
|
19519
|
-
invite?: boolean | null;
|
|
19520
19583
|
/** Format: uuid */
|
|
19521
19584
|
payoutAccountId?: string | null;
|
|
19522
19585
|
};
|
|
@@ -19543,6 +19606,7 @@ export interface operations {
|
|
|
19543
19606
|
} | null;
|
|
19544
19607
|
/** @enum {string} */
|
|
19545
19608
|
type: "owner" | "vendor";
|
|
19609
|
+
/** Format: email */
|
|
19546
19610
|
email?: string | null;
|
|
19547
19611
|
firstName?: string | null;
|
|
19548
19612
|
name?: string | null;
|
|
@@ -19554,7 +19618,6 @@ export interface operations {
|
|
|
19554
19618
|
uniqueRef?: string | null;
|
|
19555
19619
|
/** @enum {string} */
|
|
19556
19620
|
status: "active" | "inactive";
|
|
19557
|
-
invite?: boolean | null;
|
|
19558
19621
|
/** Format: uuid */
|
|
19559
19622
|
payoutAccountId?: string | null;
|
|
19560
19623
|
/** Format: uuid */
|
|
@@ -19740,6 +19803,7 @@ export interface operations {
|
|
|
19740
19803
|
} | null;
|
|
19741
19804
|
/** @enum {string} */
|
|
19742
19805
|
type: "owner" | "vendor";
|
|
19806
|
+
/** Format: email */
|
|
19743
19807
|
email?: string | null;
|
|
19744
19808
|
firstName?: string | null;
|
|
19745
19809
|
name?: string | null;
|
|
@@ -19751,7 +19815,6 @@ export interface operations {
|
|
|
19751
19815
|
uniqueRef?: string | null;
|
|
19752
19816
|
/** @enum {string} */
|
|
19753
19817
|
status: "active" | "inactive";
|
|
19754
|
-
invite?: boolean | null;
|
|
19755
19818
|
/** Format: uuid */
|
|
19756
19819
|
payoutAccountId?: string | null;
|
|
19757
19820
|
/** Format: uuid */
|
|
@@ -19860,6 +19923,7 @@ export interface operations {
|
|
|
19860
19923
|
} | null;
|
|
19861
19924
|
/** @enum {string} */
|
|
19862
19925
|
type: "owner" | "vendor";
|
|
19926
|
+
/** Format: email */
|
|
19863
19927
|
email?: string | null;
|
|
19864
19928
|
firstName?: string | null;
|
|
19865
19929
|
name?: string | null;
|
|
@@ -19873,9 +19937,9 @@ export interface operations {
|
|
|
19873
19937
|
uniqueRef?: string | null;
|
|
19874
19938
|
/** @enum {string|null} */
|
|
19875
19939
|
status?: "active" | "inactive" | null;
|
|
19876
|
-
invite?: boolean | null;
|
|
19877
19940
|
/** Format: uuid */
|
|
19878
19941
|
payoutAccountId?: string | null;
|
|
19942
|
+
invite?: boolean | null;
|
|
19879
19943
|
};
|
|
19880
19944
|
};
|
|
19881
19945
|
};
|
|
@@ -19900,6 +19964,7 @@ export interface operations {
|
|
|
19900
19964
|
} | null;
|
|
19901
19965
|
/** @enum {string} */
|
|
19902
19966
|
type: "owner" | "vendor";
|
|
19967
|
+
/** Format: email */
|
|
19903
19968
|
email?: string | null;
|
|
19904
19969
|
firstName?: string | null;
|
|
19905
19970
|
name?: string | null;
|
|
@@ -19911,7 +19976,6 @@ export interface operations {
|
|
|
19911
19976
|
uniqueRef?: string | null;
|
|
19912
19977
|
/** @enum {string} */
|
|
19913
19978
|
status: "active" | "inactive";
|
|
19914
|
-
invite?: boolean | null;
|
|
19915
19979
|
/** Format: uuid */
|
|
19916
19980
|
payoutAccountId?: string | null;
|
|
19917
19981
|
/** Format: uuid */
|
|
@@ -21262,7 +21326,7 @@ export interface operations {
|
|
|
21262
21326
|
};
|
|
21263
21327
|
};
|
|
21264
21328
|
};
|
|
21265
|
-
|
|
21329
|
+
getDispatchAction: {
|
|
21266
21330
|
parameters: {
|
|
21267
21331
|
query?: never;
|
|
21268
21332
|
header?: {
|
|
@@ -21296,7 +21360,7 @@ export interface operations {
|
|
|
21296
21360
|
/** Format: uuid */
|
|
21297
21361
|
id: string;
|
|
21298
21362
|
/** @enum {string} */
|
|
21299
|
-
effectType: "REFRESH_RESERVATION_JOURNAL" | "REFRESH_TRANSACTION_JOURNAL" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "UPDATE_RECURRING_TRANSACTION_INSTANCES" | "DEACTIVATE_RECURRING_TEMPLATE" | "UPDATE_RESERVATION_PAYMENTS" | "MATCH_TRANSACTION_LINE_TO_RESERVATION" | "MATCH_RESERVATION_TO_STRIPE_DEPOSIT" | "TEST_EFFECT";
|
|
21363
|
+
effectType: "REFRESH_RESERVATION_JOURNAL" | "REFRESH_TRANSACTION_JOURNAL" | "CREATE_RECURRING_TRANSACTION_INSTANCE" | "UPDATE_RECURRING_TRANSACTION_INSTANCES" | "DEACTIVATE_RECURRING_TEMPLATE" | "UPDATE_RESERVATION_PAYMENTS" | "UPDATE_RESERVATION_LINKABLES" | "MATCH_TRANSACTION_LINE_TO_RESERVATION" | "MATCH_RESERVATION_TO_STRIPE_DEPOSIT" | "TEST_EFFECT" | "TENANT_HYPERLINE_SYNC" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_LINEAR_WEBHOOK" | "TENANT_SUSPENSION_EMAIL" | "TENANT_STATUS_TRACK" | "CALENDAR_BLOCK_ACTION";
|
|
21300
21364
|
payload?: unknown;
|
|
21301
21365
|
/** @enum {string} */
|
|
21302
21366
|
status: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
|
|
@@ -21374,280 +21438,26 @@ export interface operations {
|
|
|
21374
21438
|
};
|
|
21375
21439
|
};
|
|
21376
21440
|
};
|
|
21377
|
-
|
|
21441
|
+
plaidConnectComplete: {
|
|
21378
21442
|
parameters: {
|
|
21379
|
-
query?:
|
|
21380
|
-
date?: string;
|
|
21381
|
-
connectionId?: string;
|
|
21382
|
-
type?: string;
|
|
21383
|
-
listingId?: string;
|
|
21384
|
-
listingConnectionId?: string;
|
|
21385
|
-
limit?: number;
|
|
21386
|
-
page?: number;
|
|
21387
|
-
};
|
|
21443
|
+
query?: never;
|
|
21388
21444
|
header?: {
|
|
21389
21445
|
"X-Team-Id"?: string;
|
|
21390
21446
|
};
|
|
21391
21447
|
path?: never;
|
|
21392
21448
|
cookie?: never;
|
|
21393
21449
|
};
|
|
21394
|
-
requestBody
|
|
21395
|
-
|
|
21396
|
-
|
|
21397
|
-
|
|
21398
|
-
|
|
21399
|
-
|
|
21400
|
-
|
|
21401
|
-
|
|
21402
|
-
|
|
21403
|
-
|
|
21404
|
-
|
|
21405
|
-
uniqueRef: string;
|
|
21406
|
-
comments?: string | null;
|
|
21407
|
-
privateFeedback?: string | null;
|
|
21408
|
-
totalRating: number;
|
|
21409
|
-
tags: {
|
|
21410
|
-
type: string;
|
|
21411
|
-
description: string;
|
|
21412
|
-
}[];
|
|
21413
|
-
ratings: {
|
|
21414
|
-
type: string;
|
|
21415
|
-
comments: string;
|
|
21416
|
-
rating?: number | null;
|
|
21417
|
-
}[];
|
|
21418
|
-
reservation: {
|
|
21419
|
-
currency: string | null;
|
|
21420
|
-
uniqueRef?: string | null;
|
|
21421
|
-
guestName?: string | null;
|
|
21422
|
-
bookerName?: string | null;
|
|
21423
|
-
checkIn?: string | null;
|
|
21424
|
-
checkOut?: string | null;
|
|
21425
|
-
generalLedgerPostingAt?: string | null;
|
|
21426
|
-
bookedAt?: string | null;
|
|
21427
|
-
cancelledAt?: string | null;
|
|
21428
|
-
bookingPlatform?: string | null;
|
|
21429
|
-
confirmationCode?: string | null;
|
|
21430
|
-
pmsReferenceCode?: string | null;
|
|
21431
|
-
guests?: number | null;
|
|
21432
|
-
userdata: {
|
|
21433
|
-
[key: string]: unknown;
|
|
21434
|
-
} | null;
|
|
21435
|
-
/** Format: uuid */
|
|
21436
|
-
id: string;
|
|
21437
|
-
issues: ({
|
|
21438
|
-
/** @enum {string} */
|
|
21439
|
-
code: "unassignedAccount";
|
|
21440
|
-
/** @enum {string} */
|
|
21441
|
-
severity: "error";
|
|
21442
|
-
context: {
|
|
21443
|
-
accountIds: string[];
|
|
21444
|
-
};
|
|
21445
|
-
} | {
|
|
21446
|
-
/** @enum {string} */
|
|
21447
|
-
code: "priorToStartDate";
|
|
21448
|
-
/** @enum {string} */
|
|
21449
|
-
severity: "warning";
|
|
21450
|
-
context: {
|
|
21451
|
-
startDate?: string | null;
|
|
21452
|
-
};
|
|
21453
|
-
} | {
|
|
21454
|
-
/** @enum {string} */
|
|
21455
|
-
code: "inactiveListing";
|
|
21456
|
-
/** @enum {string} */
|
|
21457
|
-
severity: "warning";
|
|
21458
|
-
context: {
|
|
21459
|
-
startDate?: string | null;
|
|
21460
|
-
};
|
|
21461
|
-
} | {
|
|
21462
|
-
/** @enum {string} */
|
|
21463
|
-
code: "inactiveConnection";
|
|
21464
|
-
/** @enum {string} */
|
|
21465
|
-
severity: "warning";
|
|
21466
|
-
context: Record<string, never>;
|
|
21467
|
-
})[];
|
|
21468
|
-
connection?: {
|
|
21469
|
-
/** Format: uuid */
|
|
21470
|
-
id: string;
|
|
21471
|
-
name: string;
|
|
21472
|
-
/** @enum {string} */
|
|
21473
|
-
status: "active" | "inactive";
|
|
21474
|
-
uniqueRef?: string | null;
|
|
21475
|
-
app: {
|
|
21476
|
-
id: string;
|
|
21477
|
-
name: string;
|
|
21478
|
-
icon?: string | null;
|
|
21479
|
-
importers?: string[] | null;
|
|
21480
|
-
extractors?: string[] | null;
|
|
21481
|
-
};
|
|
21482
|
-
} | null;
|
|
21483
|
-
nights?: number | null;
|
|
21484
|
-
/** @enum {string|null} */
|
|
21485
|
-
status?: "booked" | "canceled" | "inactive" | null;
|
|
21486
|
-
listing?: {
|
|
21487
|
-
/** Format: uuid */
|
|
21488
|
-
id: string;
|
|
21489
|
-
name: string;
|
|
21490
|
-
address?: {
|
|
21491
|
-
full?: string | null;
|
|
21492
|
-
line1?: string | null;
|
|
21493
|
-
line2?: string | null;
|
|
21494
|
-
city?: string | null;
|
|
21495
|
-
/** @deprecated */
|
|
21496
|
-
state?: string | null;
|
|
21497
|
-
postalCode?: string | null;
|
|
21498
|
-
stateCode?: string | null;
|
|
21499
|
-
countryCode?: string | null;
|
|
21500
|
-
} | null;
|
|
21501
|
-
uniqueRef?: string | null;
|
|
21502
|
-
} | null;
|
|
21503
|
-
listingConnection?: {
|
|
21504
|
-
/** Format: uuid */
|
|
21505
|
-
id: string;
|
|
21506
|
-
name: string;
|
|
21507
|
-
uniqueRef?: string | null;
|
|
21508
|
-
} | null;
|
|
21509
|
-
payment: {
|
|
21510
|
-
expected: number;
|
|
21511
|
-
received: number;
|
|
21512
|
-
status: ("unpaid" | "underpaid" | "overpaid" | "paid") | "coHost";
|
|
21513
|
-
};
|
|
21514
|
-
source?: {
|
|
21515
|
-
/** Format: uuid */
|
|
21516
|
-
id: string;
|
|
21517
|
-
type: string;
|
|
21518
|
-
/** @enum {string|null} */
|
|
21519
|
-
status?: "active" | "inactive" | null;
|
|
21520
|
-
} | null;
|
|
21521
|
-
lines: {
|
|
21522
|
-
/** Format: uuid */
|
|
21523
|
-
id: string;
|
|
21524
|
-
uniqueRef?: string | null;
|
|
21525
|
-
type: string;
|
|
21526
|
-
description?: string | null;
|
|
21527
|
-
/** @description Value in cents (100 = 1€) */
|
|
21528
|
-
amount: number;
|
|
21529
|
-
connectionId?: string | null;
|
|
21530
|
-
metadata?: {
|
|
21531
|
-
[key: string]: unknown;
|
|
21532
|
-
} | null;
|
|
21533
|
-
account?: {
|
|
21534
|
-
id: string;
|
|
21535
|
-
name: string;
|
|
21536
|
-
uniqueRef?: string | null;
|
|
21537
|
-
/** @enum {string} */
|
|
21538
|
-
status: "active" | "inactive";
|
|
21539
|
-
} | null;
|
|
21540
|
-
isExcluded?: boolean | null;
|
|
21541
|
-
}[];
|
|
21542
|
-
/** @description Adjustments are manually added financial lines that are not part of the booking platform */
|
|
21543
|
-
adjustments: {
|
|
21544
|
-
/** Format: uuid */
|
|
21545
|
-
id: string;
|
|
21546
|
-
type?: string;
|
|
21547
|
-
description?: string | null;
|
|
21548
|
-
/** @description Value in cents (100 = 1€) */
|
|
21549
|
-
amount: number;
|
|
21550
|
-
metadata?: {
|
|
21551
|
-
[key: string]: unknown;
|
|
21552
|
-
} | null;
|
|
21553
|
-
/** @enum {string|null} */
|
|
21554
|
-
party?: "owners" | "manager" | null;
|
|
21555
|
-
account?: {
|
|
21556
|
-
id: string;
|
|
21557
|
-
name: string;
|
|
21558
|
-
uniqueRef?: string | null;
|
|
21559
|
-
/** @enum {string} */
|
|
21560
|
-
status: "active" | "inactive";
|
|
21561
|
-
} | null;
|
|
21562
|
-
recurringFee?: {
|
|
21563
|
-
id: string;
|
|
21564
|
-
uniqueRef: string;
|
|
21565
|
-
name: string;
|
|
21566
|
-
/** @enum {string} */
|
|
21567
|
-
type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
|
|
21568
|
-
} | null;
|
|
21569
|
-
}[];
|
|
21570
|
-
};
|
|
21571
|
-
}[];
|
|
21572
|
-
pagination: {
|
|
21573
|
-
/** @default 100 */
|
|
21574
|
-
limit: number;
|
|
21575
|
-
/** @default 1 */
|
|
21576
|
-
page: number;
|
|
21577
|
-
total: number;
|
|
21578
|
-
totalPage: number;
|
|
21579
|
-
nextPage?: number;
|
|
21580
|
-
};
|
|
21581
|
-
};
|
|
21582
|
-
};
|
|
21583
|
-
};
|
|
21584
|
-
/** @description Invalid input data */
|
|
21585
|
-
400: {
|
|
21586
|
-
headers: {
|
|
21587
|
-
[name: string]: unknown;
|
|
21588
|
-
};
|
|
21589
|
-
content: {
|
|
21590
|
-
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
21591
|
-
};
|
|
21592
|
-
};
|
|
21593
|
-
/** @description Authorization not provided */
|
|
21594
|
-
401: {
|
|
21595
|
-
headers: {
|
|
21596
|
-
[name: string]: unknown;
|
|
21597
|
-
};
|
|
21598
|
-
content: {
|
|
21599
|
-
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
21600
|
-
};
|
|
21601
|
-
};
|
|
21602
|
-
/** @description Insufficient access */
|
|
21603
|
-
403: {
|
|
21604
|
-
headers: {
|
|
21605
|
-
[name: string]: unknown;
|
|
21606
|
-
};
|
|
21607
|
-
content: {
|
|
21608
|
-
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
21609
|
-
};
|
|
21610
|
-
};
|
|
21611
|
-
/** @description Not found */
|
|
21612
|
-
404: {
|
|
21613
|
-
headers: {
|
|
21614
|
-
[name: string]: unknown;
|
|
21615
|
-
};
|
|
21616
|
-
content: {
|
|
21617
|
-
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
21618
|
-
};
|
|
21619
|
-
};
|
|
21620
|
-
/** @description Internal server error */
|
|
21621
|
-
500: {
|
|
21622
|
-
headers: {
|
|
21623
|
-
[name: string]: unknown;
|
|
21624
|
-
};
|
|
21625
|
-
content: {
|
|
21626
|
-
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
21627
|
-
};
|
|
21628
|
-
};
|
|
21629
|
-
};
|
|
21630
|
-
};
|
|
21631
|
-
plaidConnectComplete: {
|
|
21632
|
-
parameters: {
|
|
21633
|
-
query?: never;
|
|
21634
|
-
header?: {
|
|
21635
|
-
"X-Team-Id"?: string;
|
|
21636
|
-
};
|
|
21637
|
-
path?: never;
|
|
21638
|
-
cookie?: never;
|
|
21639
|
-
};
|
|
21640
|
-
requestBody: {
|
|
21641
|
-
content: {
|
|
21642
|
-
"application/json": {
|
|
21643
|
-
connectionId?: string | null;
|
|
21644
|
-
/** @enum {string|null} */
|
|
21645
|
-
environment?: "sandbox" | "production" | null;
|
|
21646
|
-
code?: string | null;
|
|
21647
|
-
token?: string | null;
|
|
21648
|
-
};
|
|
21649
|
-
};
|
|
21650
|
-
};
|
|
21450
|
+
requestBody: {
|
|
21451
|
+
content: {
|
|
21452
|
+
"application/json": {
|
|
21453
|
+
connectionId?: string | null;
|
|
21454
|
+
/** @enum {string|null} */
|
|
21455
|
+
environment?: "sandbox" | "production" | null;
|
|
21456
|
+
code?: string | null;
|
|
21457
|
+
token?: string | null;
|
|
21458
|
+
};
|
|
21459
|
+
};
|
|
21460
|
+
};
|
|
21651
21461
|
responses: {
|
|
21652
21462
|
/** @description Successful response */
|
|
21653
21463
|
200: {
|
|
@@ -22701,22 +22511,31 @@ export interface operations {
|
|
|
22701
22511
|
};
|
|
22702
22512
|
getJournalEntriesReport: {
|
|
22703
22513
|
parameters: {
|
|
22704
|
-
query
|
|
22705
|
-
|
|
22706
|
-
|
|
22514
|
+
query?: {
|
|
22515
|
+
/** @description comma separated journal entry ids */
|
|
22516
|
+
ids?: string;
|
|
22517
|
+
txnCode?: string;
|
|
22518
|
+
published?: boolean;
|
|
22519
|
+
status?: "active" | "inactive";
|
|
22520
|
+
startAt?: string;
|
|
22521
|
+
endAt?: string;
|
|
22707
22522
|
search?: string;
|
|
22708
22523
|
date?: string;
|
|
22709
22524
|
amount?: string;
|
|
22710
22525
|
isDateRangeEndInclusive?: boolean;
|
|
22711
|
-
|
|
22526
|
+
reservationIds?: string;
|
|
22527
|
+
transactionIds?: string;
|
|
22528
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
22529
|
+
currency?: string;
|
|
22530
|
+
/** @description listing ids comma separated or "unmapped" */
|
|
22712
22531
|
listingIds?: string;
|
|
22713
|
-
/** @description comma separated accounts */
|
|
22532
|
+
/** @description account ids comma separated accounts or "unmapped" */
|
|
22714
22533
|
accountIds?: string;
|
|
22715
22534
|
/** @description comma separated categories */
|
|
22716
22535
|
categoryIds?: string;
|
|
22717
|
-
|
|
22718
|
-
|
|
22719
|
-
|
|
22536
|
+
classifications?: ("asset" | "liability" | "revenue" | "expense") | ("asset" | "liability" | "revenue" | "expense")[];
|
|
22537
|
+
types?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment") | ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment")[];
|
|
22538
|
+
entityTypes?: ("reservation" | "deposit" | "expense" | "recurringFee" | "transfer") | ("reservation" | "deposit" | "expense" | "recurringFee" | "transfer")[];
|
|
22720
22539
|
party?: "owners" | "manager";
|
|
22721
22540
|
limit?: number;
|
|
22722
22541
|
page?: number;
|
|
@@ -22738,6 +22557,9 @@ export interface operations {
|
|
|
22738
22557
|
"application/json": {
|
|
22739
22558
|
data: {
|
|
22740
22559
|
id: string;
|
|
22560
|
+
/** @enum {string} */
|
|
22561
|
+
active: "active" | "inactive";
|
|
22562
|
+
txnCode: string;
|
|
22741
22563
|
txnAt: string;
|
|
22742
22564
|
description: string;
|
|
22743
22565
|
centTotal: number;
|
|
@@ -23029,21 +22851,31 @@ export interface operations {
|
|
|
23029
22851
|
};
|
|
23030
22852
|
getManagerStatementReportJournalEntries: {
|
|
23031
22853
|
parameters: {
|
|
23032
|
-
query
|
|
23033
|
-
|
|
23034
|
-
|
|
22854
|
+
query?: {
|
|
22855
|
+
/** @description comma separated journal entry ids */
|
|
22856
|
+
ids?: string;
|
|
22857
|
+
txnCode?: string;
|
|
22858
|
+
published?: boolean;
|
|
22859
|
+
status?: "active" | "inactive";
|
|
22860
|
+
startAt?: string;
|
|
22861
|
+
endAt?: string;
|
|
23035
22862
|
search?: string;
|
|
23036
22863
|
date?: string;
|
|
23037
22864
|
amount?: string;
|
|
23038
|
-
|
|
22865
|
+
isDateRangeEndInclusive?: boolean;
|
|
22866
|
+
reservationIds?: string;
|
|
22867
|
+
transactionIds?: string;
|
|
22868
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
22869
|
+
currency?: string;
|
|
22870
|
+
/** @description listing ids comma separated or "unmapped" */
|
|
23039
22871
|
listingIds?: string;
|
|
23040
|
-
/** @description comma separated accounts */
|
|
22872
|
+
/** @description account ids comma separated accounts or "unmapped" */
|
|
23041
22873
|
accountIds?: string;
|
|
23042
22874
|
/** @description comma separated categories */
|
|
23043
22875
|
categoryIds?: string;
|
|
23044
|
-
|
|
23045
|
-
|
|
23046
|
-
|
|
22876
|
+
classifications?: ("asset" | "liability" | "revenue" | "expense") | ("asset" | "liability" | "revenue" | "expense")[];
|
|
22877
|
+
types?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment") | ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment")[];
|
|
22878
|
+
entityTypes?: ("reservation" | "deposit" | "expense" | "recurringFee" | "transfer") | ("reservation" | "deposit" | "expense" | "recurringFee" | "transfer")[];
|
|
23047
22879
|
limit?: number;
|
|
23048
22880
|
page?: number;
|
|
23049
22881
|
};
|
|
@@ -23064,6 +22896,9 @@ export interface operations {
|
|
|
23064
22896
|
"application/json": {
|
|
23065
22897
|
data: {
|
|
23066
22898
|
id: string;
|
|
22899
|
+
/** @enum {string} */
|
|
22900
|
+
active: "active" | "inactive";
|
|
22901
|
+
txnCode: string;
|
|
23067
22902
|
txnAt: string;
|
|
23068
22903
|
description: string;
|
|
23069
22904
|
centTotal: number;
|
|
@@ -23370,8 +23205,10 @@ export interface operations {
|
|
|
23370
23205
|
getOwnerStatementSummariesReport: {
|
|
23371
23206
|
parameters: {
|
|
23372
23207
|
query: {
|
|
23373
|
-
|
|
23374
|
-
|
|
23208
|
+
startAt: string;
|
|
23209
|
+
endAt: string;
|
|
23210
|
+
/** @description comma separated listings */
|
|
23211
|
+
listingIds?: string;
|
|
23375
23212
|
};
|
|
23376
23213
|
header?: {
|
|
23377
23214
|
"X-Team-Id"?: string;
|
|
@@ -23391,10 +23228,11 @@ export interface operations {
|
|
|
23391
23228
|
data: {
|
|
23392
23229
|
contact: {
|
|
23393
23230
|
contactId: string;
|
|
23394
|
-
name?: string
|
|
23395
|
-
firstName?: string
|
|
23396
|
-
|
|
23397
|
-
|
|
23231
|
+
name?: string;
|
|
23232
|
+
firstName?: string;
|
|
23233
|
+
/** Format: email */
|
|
23234
|
+
email?: string;
|
|
23235
|
+
phone?: string;
|
|
23398
23236
|
};
|
|
23399
23237
|
currency: string;
|
|
23400
23238
|
financials: {
|
|
@@ -23460,8 +23298,10 @@ export interface operations {
|
|
|
23460
23298
|
getOwnerStatementSummariesReportCsv: {
|
|
23461
23299
|
parameters: {
|
|
23462
23300
|
query: {
|
|
23463
|
-
|
|
23464
|
-
|
|
23301
|
+
startAt: string;
|
|
23302
|
+
endAt: string;
|
|
23303
|
+
/** @description comma separated listings */
|
|
23304
|
+
listingIds?: string;
|
|
23465
23305
|
};
|
|
23466
23306
|
header?: {
|
|
23467
23307
|
"X-Team-Id"?: string;
|
|
@@ -23533,10 +23373,12 @@ export interface operations {
|
|
|
23533
23373
|
parameters: {
|
|
23534
23374
|
query: {
|
|
23535
23375
|
view: "listing" | "month" | "reservation" | "bookingChannel";
|
|
23536
|
-
|
|
23537
|
-
|
|
23538
|
-
|
|
23376
|
+
startAt: string;
|
|
23377
|
+
endAt: string;
|
|
23378
|
+
/** @description comma separated listings */
|
|
23379
|
+
listingIds?: string;
|
|
23539
23380
|
currency?: string;
|
|
23381
|
+
viewAs?: "owner" | "manager";
|
|
23540
23382
|
};
|
|
23541
23383
|
header?: {
|
|
23542
23384
|
"X-Team-Id"?: string;
|
|
@@ -23555,30 +23397,84 @@ export interface operations {
|
|
|
23555
23397
|
};
|
|
23556
23398
|
content: {
|
|
23557
23399
|
"application/json": {
|
|
23400
|
+
currency: string;
|
|
23401
|
+
contact: {
|
|
23402
|
+
contactId: string;
|
|
23403
|
+
name?: string;
|
|
23404
|
+
firstName?: string;
|
|
23405
|
+
/** Format: email */
|
|
23406
|
+
email?: string;
|
|
23407
|
+
phone?: string;
|
|
23408
|
+
};
|
|
23409
|
+
financials: {
|
|
23410
|
+
balanceStart: number;
|
|
23411
|
+
netRevenue: number;
|
|
23412
|
+
expenses: number;
|
|
23413
|
+
transfers: number;
|
|
23414
|
+
netIncome: number;
|
|
23415
|
+
currentBalance: number;
|
|
23416
|
+
balanceEnd: number;
|
|
23417
|
+
};
|
|
23558
23418
|
netRevenueSection: {
|
|
23559
23419
|
title: string;
|
|
23560
23420
|
rows: {
|
|
23561
23421
|
title: string;
|
|
23562
|
-
statementIds
|
|
23422
|
+
statementIds?: string[];
|
|
23563
23423
|
columns: {
|
|
23564
23424
|
title: string;
|
|
23565
23425
|
value: number | string;
|
|
23566
23426
|
formatted: string;
|
|
23567
23427
|
}[];
|
|
23568
23428
|
}[];
|
|
23429
|
+
subtotal?: {
|
|
23430
|
+
title: string;
|
|
23431
|
+
columns: {
|
|
23432
|
+
title: string;
|
|
23433
|
+
value: number | string;
|
|
23434
|
+
formatted: string;
|
|
23435
|
+
}[];
|
|
23436
|
+
};
|
|
23569
23437
|
};
|
|
23570
23438
|
otherSections: {
|
|
23571
23439
|
title: string;
|
|
23572
23440
|
rows: {
|
|
23573
23441
|
title: string;
|
|
23574
|
-
statementIds
|
|
23442
|
+
statementIds?: string[];
|
|
23575
23443
|
columns: {
|
|
23576
23444
|
title: string;
|
|
23577
23445
|
value: number | string;
|
|
23578
23446
|
formatted: string;
|
|
23579
23447
|
}[];
|
|
23580
23448
|
}[];
|
|
23449
|
+
subtotal?: {
|
|
23450
|
+
title: string;
|
|
23451
|
+
columns: {
|
|
23452
|
+
title: string;
|
|
23453
|
+
value: number | string;
|
|
23454
|
+
formatted: string;
|
|
23455
|
+
}[];
|
|
23456
|
+
};
|
|
23581
23457
|
}[];
|
|
23458
|
+
transfersSection?: {
|
|
23459
|
+
title: string;
|
|
23460
|
+
rows: {
|
|
23461
|
+
title: string;
|
|
23462
|
+
statementIds?: string[];
|
|
23463
|
+
columns: {
|
|
23464
|
+
title: string;
|
|
23465
|
+
value: number | string;
|
|
23466
|
+
formatted: string;
|
|
23467
|
+
}[];
|
|
23468
|
+
}[];
|
|
23469
|
+
subtotal?: {
|
|
23470
|
+
title: string;
|
|
23471
|
+
columns: {
|
|
23472
|
+
title: string;
|
|
23473
|
+
value: number | string;
|
|
23474
|
+
formatted: string;
|
|
23475
|
+
}[];
|
|
23476
|
+
};
|
|
23477
|
+
};
|
|
23582
23478
|
};
|
|
23583
23479
|
};
|
|
23584
23480
|
};
|
|
@@ -23633,10 +23529,12 @@ export interface operations {
|
|
|
23633
23529
|
parameters: {
|
|
23634
23530
|
query: {
|
|
23635
23531
|
view: "listing" | "month" | "reservation" | "bookingChannel";
|
|
23636
|
-
|
|
23637
|
-
|
|
23638
|
-
|
|
23532
|
+
startAt: string;
|
|
23533
|
+
endAt: string;
|
|
23534
|
+
/** @description comma separated listings */
|
|
23535
|
+
listingIds?: string;
|
|
23639
23536
|
currency?: string;
|
|
23537
|
+
viewAs?: "owner" | "manager";
|
|
23640
23538
|
};
|
|
23641
23539
|
header?: {
|
|
23642
23540
|
"X-Team-Id"?: string;
|
|
@@ -23709,9 +23607,9 @@ export interface operations {
|
|
|
23709
23607
|
getCalendar: {
|
|
23710
23608
|
parameters: {
|
|
23711
23609
|
query: {
|
|
23610
|
+
listingId: string;
|
|
23712
23611
|
startDate: string;
|
|
23713
23612
|
endDate: string;
|
|
23714
|
-
listingId: string;
|
|
23715
23613
|
};
|
|
23716
23614
|
header?: {
|
|
23717
23615
|
"X-Team-Id"?: string;
|
|
@@ -23731,10 +23629,10 @@ export interface operations {
|
|
|
23731
23629
|
data: {
|
|
23732
23630
|
date: string;
|
|
23733
23631
|
/** @enum {string} */
|
|
23734
|
-
blockReason: "
|
|
23632
|
+
blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
|
|
23735
23633
|
description?: string;
|
|
23736
|
-
id?: string;
|
|
23737
23634
|
user?: {
|
|
23635
|
+
/** Format: email */
|
|
23738
23636
|
email: string;
|
|
23739
23637
|
firstName: string;
|
|
23740
23638
|
lastName: string;
|
|
@@ -23803,9 +23701,9 @@ export interface operations {
|
|
|
23803
23701
|
requestBody: {
|
|
23804
23702
|
content: {
|
|
23805
23703
|
"application/json": {
|
|
23704
|
+
listingId: string;
|
|
23806
23705
|
startDate: string;
|
|
23807
23706
|
endDate: string;
|
|
23808
|
-
listingId: string;
|
|
23809
23707
|
description?: string;
|
|
23810
23708
|
};
|
|
23811
23709
|
};
|
|
@@ -23821,10 +23719,10 @@ export interface operations {
|
|
|
23821
23719
|
data: {
|
|
23822
23720
|
date: string;
|
|
23823
23721
|
/** @enum {string} */
|
|
23824
|
-
blockReason: "
|
|
23722
|
+
blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
|
|
23825
23723
|
description?: string;
|
|
23826
|
-
id?: string;
|
|
23827
23724
|
user?: {
|
|
23725
|
+
/** Format: email */
|
|
23828
23726
|
email: string;
|
|
23829
23727
|
firstName: string;
|
|
23830
23728
|
lastName: string;
|
|
@@ -23878,6 +23776,7 @@ export interface operations {
|
|
|
23878
23776
|
listingId: string;
|
|
23879
23777
|
startDate: string;
|
|
23880
23778
|
endDate: string;
|
|
23779
|
+
description?: string;
|
|
23881
23780
|
};
|
|
23882
23781
|
header?: {
|
|
23883
23782
|
"X-Team-Id"?: string;
|
|
@@ -23897,10 +23796,10 @@ export interface operations {
|
|
|
23897
23796
|
data: {
|
|
23898
23797
|
date: string;
|
|
23899
23798
|
/** @enum {string} */
|
|
23900
|
-
blockReason: "
|
|
23799
|
+
blockReason: "reserved" | "maintenance" | "ownerBlock" | "manualBlock" | "other";
|
|
23901
23800
|
description?: string;
|
|
23902
|
-
id?: string;
|
|
23903
23801
|
user?: {
|
|
23802
|
+
/** Format: email */
|
|
23904
23803
|
email: string;
|
|
23905
23804
|
firstName: string;
|
|
23906
23805
|
lastName: string;
|
|
@@ -24002,7 +23901,7 @@ export interface operations {
|
|
|
24002
23901
|
* @description Internal semantic type
|
|
24003
23902
|
* @enum {string}
|
|
24004
23903
|
*/
|
|
24005
|
-
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "
|
|
23904
|
+
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
24006
23905
|
/** @description Optional JSONB filter for internal data */
|
|
24007
23906
|
filter?: string;
|
|
24008
23907
|
};
|
|
@@ -24026,7 +23925,7 @@ export interface operations {
|
|
|
24026
23925
|
* @description Semantic type of the setting value
|
|
24027
23926
|
* @enum {string}
|
|
24028
23927
|
*/
|
|
24029
|
-
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "
|
|
23928
|
+
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
24030
23929
|
/** @description Optional JSONB filter for available values */
|
|
24031
23930
|
filter?: string;
|
|
24032
23931
|
};
|
|
@@ -24123,7 +24022,7 @@ export interface operations {
|
|
|
24123
24022
|
* @description Internal semantic type
|
|
24124
24023
|
* @enum {string}
|
|
24125
24024
|
*/
|
|
24126
|
-
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "
|
|
24025
|
+
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
24127
24026
|
/** @description Optional JSONB filter for internal data */
|
|
24128
24027
|
filter?: string;
|
|
24129
24028
|
};
|
|
@@ -24147,7 +24046,7 @@ export interface operations {
|
|
|
24147
24046
|
* @description Semantic type of the setting value
|
|
24148
24047
|
* @enum {string}
|
|
24149
24048
|
*/
|
|
24150
|
-
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "
|
|
24049
|
+
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
24151
24050
|
/** @description Optional JSONB filter for available values */
|
|
24152
24051
|
filter?: string;
|
|
24153
24052
|
};
|
|
@@ -24247,7 +24146,7 @@ export interface operations {
|
|
|
24247
24146
|
* @description Internal semantic type
|
|
24248
24147
|
* @enum {string}
|
|
24249
24148
|
*/
|
|
24250
|
-
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "
|
|
24149
|
+
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
24251
24150
|
/** @description Optional JSONB filter for internal data */
|
|
24252
24151
|
filter?: string;
|
|
24253
24152
|
};
|
|
@@ -24271,7 +24170,7 @@ export interface operations {
|
|
|
24271
24170
|
* @description Semantic type of the setting value
|
|
24272
24171
|
* @enum {string}
|
|
24273
24172
|
*/
|
|
24274
|
-
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "
|
|
24173
|
+
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
24275
24174
|
/** @description Optional JSONB filter for available values */
|
|
24276
24175
|
filter?: string;
|
|
24277
24176
|
};
|
|
@@ -24358,7 +24257,7 @@ export interface operations {
|
|
|
24358
24257
|
* @description Internal semantic type
|
|
24359
24258
|
* @enum {string}
|
|
24360
24259
|
*/
|
|
24361
|
-
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "
|
|
24260
|
+
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
24362
24261
|
/** @description Optional JSONB filter for internal data */
|
|
24363
24262
|
filter?: string;
|
|
24364
24263
|
};
|
|
@@ -24382,7 +24281,7 @@ export interface operations {
|
|
|
24382
24281
|
* @description Semantic type of the setting value
|
|
24383
24282
|
* @enum {string}
|
|
24384
24283
|
*/
|
|
24385
|
-
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "
|
|
24284
|
+
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
24386
24285
|
/** @description Optional JSONB filter for available values */
|
|
24387
24286
|
filter?: string;
|
|
24388
24287
|
};
|
|
@@ -24422,7 +24321,7 @@ export interface operations {
|
|
|
24422
24321
|
* @description Internal semantic type
|
|
24423
24322
|
* @enum {string}
|
|
24424
24323
|
*/
|
|
24425
|
-
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";
|
|
24426
24325
|
/** @description Optional JSONB filter for internal data */
|
|
24427
24326
|
filter?: string;
|
|
24428
24327
|
};
|
|
@@ -24446,7 +24345,7 @@ export interface operations {
|
|
|
24446
24345
|
* @description Semantic type of the setting value
|
|
24447
24346
|
* @enum {string}
|
|
24448
24347
|
*/
|
|
24449
|
-
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "
|
|
24348
|
+
type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
24450
24349
|
/** @description Optional JSONB filter for available values */
|
|
24451
24350
|
filter?: string;
|
|
24452
24351
|
};
|