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