@vrplatform/api 1.3.1-3681 → 1.3.1-3752
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 +1005 -250
- package/build/main/generated/v1.js.map +1 -1
- package/build/module/generated/v1.d.ts +1005 -250
- package/build/module/generated/v1.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/v1.ts +1005 -250
|
@@ -607,6 +607,40 @@ export interface paths {
|
|
|
607
607
|
patch?: never;
|
|
608
608
|
trace?: never;
|
|
609
609
|
};
|
|
610
|
+
"/connections/pms-cutover/apply": {
|
|
611
|
+
parameters: {
|
|
612
|
+
query?: never;
|
|
613
|
+
header?: never;
|
|
614
|
+
path?: never;
|
|
615
|
+
cookie?: never;
|
|
616
|
+
};
|
|
617
|
+
get?: never;
|
|
618
|
+
put?: never;
|
|
619
|
+
/** @description Apply a PMS migration cutover */
|
|
620
|
+
post: operations["applyPmsConnectionCutover"];
|
|
621
|
+
delete?: never;
|
|
622
|
+
options?: never;
|
|
623
|
+
head?: never;
|
|
624
|
+
patch?: never;
|
|
625
|
+
trace?: never;
|
|
626
|
+
};
|
|
627
|
+
"/connections/pms-cutover/preview": {
|
|
628
|
+
parameters: {
|
|
629
|
+
query?: never;
|
|
630
|
+
header?: never;
|
|
631
|
+
path?: never;
|
|
632
|
+
cookie?: never;
|
|
633
|
+
};
|
|
634
|
+
get?: never;
|
|
635
|
+
put?: never;
|
|
636
|
+
/** @description Preview a PMS migration cutover */
|
|
637
|
+
post: operations["previewPmsConnectionCutover"];
|
|
638
|
+
delete?: never;
|
|
639
|
+
options?: never;
|
|
640
|
+
head?: never;
|
|
641
|
+
patch?: never;
|
|
642
|
+
trace?: never;
|
|
643
|
+
};
|
|
610
644
|
"/connections/{id}": {
|
|
611
645
|
parameters: {
|
|
612
646
|
query?: never;
|
|
@@ -1322,6 +1356,23 @@ export interface paths {
|
|
|
1322
1356
|
patch?: never;
|
|
1323
1357
|
trace?: never;
|
|
1324
1358
|
};
|
|
1359
|
+
"/me/notifications": {
|
|
1360
|
+
parameters: {
|
|
1361
|
+
query?: never;
|
|
1362
|
+
header?: never;
|
|
1363
|
+
path?: never;
|
|
1364
|
+
cookie?: never;
|
|
1365
|
+
};
|
|
1366
|
+
get?: never;
|
|
1367
|
+
/** @description Update notifications for the authenticated user for the selected team */
|
|
1368
|
+
put: operations["updateMeNotifications"];
|
|
1369
|
+
post?: never;
|
|
1370
|
+
delete?: never;
|
|
1371
|
+
options?: never;
|
|
1372
|
+
head?: never;
|
|
1373
|
+
patch?: never;
|
|
1374
|
+
trace?: never;
|
|
1375
|
+
};
|
|
1325
1376
|
"/members": {
|
|
1326
1377
|
parameters: {
|
|
1327
1378
|
query?: never;
|
|
@@ -3167,6 +3218,23 @@ export interface paths {
|
|
|
3167
3218
|
patch?: never;
|
|
3168
3219
|
trace?: never;
|
|
3169
3220
|
};
|
|
3221
|
+
"/teams/resolve": {
|
|
3222
|
+
parameters: {
|
|
3223
|
+
query?: never;
|
|
3224
|
+
header?: never;
|
|
3225
|
+
path?: never;
|
|
3226
|
+
cookie?: never;
|
|
3227
|
+
};
|
|
3228
|
+
/** @description Resolve a team by slug */
|
|
3229
|
+
get: operations["getTeamsResolve"];
|
|
3230
|
+
put?: never;
|
|
3231
|
+
post?: never;
|
|
3232
|
+
delete?: never;
|
|
3233
|
+
options?: never;
|
|
3234
|
+
head?: never;
|
|
3235
|
+
patch?: never;
|
|
3236
|
+
trace?: never;
|
|
3237
|
+
};
|
|
3170
3238
|
"/teams/{id}": {
|
|
3171
3239
|
parameters: {
|
|
3172
3240
|
query?: never;
|
|
@@ -7856,6 +7924,8 @@ export interface operations {
|
|
|
7856
7924
|
getBankRecords: {
|
|
7857
7925
|
parameters: {
|
|
7858
7926
|
query?: {
|
|
7927
|
+
/** @description Comma-separated bank record IDs. */
|
|
7928
|
+
ids?: string;
|
|
7859
7929
|
status?: "active" | "inactive";
|
|
7860
7930
|
search?: string;
|
|
7861
7931
|
/** @description Amount in cents, also accepts ranges like 100...200 */
|
|
@@ -8310,6 +8380,8 @@ export interface operations {
|
|
|
8310
8380
|
getBankRecordsCsv: {
|
|
8311
8381
|
parameters: {
|
|
8312
8382
|
query?: {
|
|
8383
|
+
/** @description Comma-separated bank record IDs. */
|
|
8384
|
+
ids?: string;
|
|
8313
8385
|
status?: "active" | "inactive";
|
|
8314
8386
|
search?: string;
|
|
8315
8387
|
/** @description Amount in cents, also accepts ranges like 100...200 */
|
|
@@ -10902,6 +10974,8 @@ export interface operations {
|
|
|
10902
10974
|
name: string;
|
|
10903
10975
|
/** @enum {string} */
|
|
10904
10976
|
status: "active" | "inactive";
|
|
10977
|
+
accountingStartAt?: string | null;
|
|
10978
|
+
accountingEndAt?: string | null;
|
|
10905
10979
|
uniqueRef?: string | null;
|
|
10906
10980
|
app: {
|
|
10907
10981
|
id: string;
|
|
@@ -11059,6 +11133,8 @@ export interface operations {
|
|
|
11059
11133
|
credentials?: {
|
|
11060
11134
|
[key: string]: unknown;
|
|
11061
11135
|
};
|
|
11136
|
+
accountingStartAt?: string | null;
|
|
11137
|
+
accountingEndAt?: string | null;
|
|
11062
11138
|
};
|
|
11063
11139
|
};
|
|
11064
11140
|
};
|
|
@@ -11075,6 +11151,8 @@ export interface operations {
|
|
|
11075
11151
|
name: string;
|
|
11076
11152
|
/** @enum {string} */
|
|
11077
11153
|
status: "active" | "inactive";
|
|
11154
|
+
accountingStartAt?: string | null;
|
|
11155
|
+
accountingEndAt?: string | null;
|
|
11078
11156
|
uniqueRef?: string | null;
|
|
11079
11157
|
app: {
|
|
11080
11158
|
id: string;
|
|
@@ -11454,16 +11532,24 @@ export interface operations {
|
|
|
11454
11532
|
};
|
|
11455
11533
|
};
|
|
11456
11534
|
};
|
|
11457
|
-
|
|
11535
|
+
applyPmsConnectionCutover: {
|
|
11458
11536
|
parameters: {
|
|
11459
11537
|
query?: never;
|
|
11460
11538
|
header?: never;
|
|
11461
|
-
path
|
|
11462
|
-
id: string;
|
|
11463
|
-
};
|
|
11539
|
+
path?: never;
|
|
11464
11540
|
cookie?: never;
|
|
11465
11541
|
};
|
|
11466
|
-
requestBody?:
|
|
11542
|
+
requestBody?: {
|
|
11543
|
+
content: {
|
|
11544
|
+
"application/json": {
|
|
11545
|
+
/** Format: uuid */
|
|
11546
|
+
sourceConnectionId: string;
|
|
11547
|
+
/** Format: uuid */
|
|
11548
|
+
targetConnectionId: string;
|
|
11549
|
+
cutoverAt: string;
|
|
11550
|
+
};
|
|
11551
|
+
};
|
|
11552
|
+
};
|
|
11467
11553
|
responses: {
|
|
11468
11554
|
/** @description Successful response */
|
|
11469
11555
|
200: {
|
|
@@ -11472,169 +11558,36 @@ export interface operations {
|
|
|
11472
11558
|
};
|
|
11473
11559
|
content: {
|
|
11474
11560
|
"application/json": {
|
|
11475
|
-
|
|
11476
|
-
id: string;
|
|
11477
|
-
name: string;
|
|
11561
|
+
cutoverAt: string;
|
|
11478
11562
|
/** @enum {string} */
|
|
11479
|
-
|
|
11480
|
-
|
|
11481
|
-
|
|
11563
|
+
revenueRecognition: "checkIn" | "checkOut" | "bookedAt" | "proRata";
|
|
11564
|
+
sourceConnection: {
|
|
11565
|
+
/** Format: uuid */
|
|
11482
11566
|
id: string;
|
|
11483
|
-
/** @enum {string} */
|
|
11484
|
-
type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
|
|
11485
11567
|
name: string;
|
|
11486
|
-
|
|
11487
|
-
|
|
11488
|
-
extractors?: string[] | null;
|
|
11568
|
+
accountingStartAt?: string | null;
|
|
11569
|
+
accountingEndAt?: string | null;
|
|
11489
11570
|
};
|
|
11490
|
-
|
|
11491
|
-
* Format: date-time
|
|
11492
|
-
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
11493
|
-
* @example 2024-01-15T12:30:00.000+00:00
|
|
11494
|
-
*/
|
|
11495
|
-
createdAt: string;
|
|
11496
|
-
/**
|
|
11497
|
-
* Format: date-time
|
|
11498
|
-
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
11499
|
-
* @example 2024-01-15T12:30:00.000+00:00
|
|
11500
|
-
*/
|
|
11501
|
-
updatedAt: string;
|
|
11502
|
-
isErrorState: boolean;
|
|
11503
|
-
currentSync?: {
|
|
11504
|
-
/** @enum {string} */
|
|
11505
|
-
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
11506
|
-
/**
|
|
11507
|
-
* Format: date-time
|
|
11508
|
-
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
11509
|
-
* @example 2024-01-15T12:30:00.000+00:00
|
|
11510
|
-
*/
|
|
11511
|
-
createdAt: string;
|
|
11512
|
-
/**
|
|
11513
|
-
* Format: date-time
|
|
11514
|
-
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
11515
|
-
* @example 2024-01-15T12:30:00.000+00:00
|
|
11516
|
-
*/
|
|
11517
|
-
updatedAt: string;
|
|
11518
|
-
message?: string | null;
|
|
11519
|
-
} | null;
|
|
11520
|
-
enabledFlows: {
|
|
11571
|
+
targetConnection: {
|
|
11521
11572
|
/** Format: uuid */
|
|
11522
11573
|
id: string;
|
|
11523
|
-
|
|
11524
|
-
|
|
11525
|
-
|
|
11526
|
-
}
|
|
11527
|
-
|
|
11528
|
-
|
|
11529
|
-
|
|
11530
|
-
|
|
11531
|
-
|
|
11532
|
-
|
|
11533
|
-
|
|
11534
|
-
|
|
11535
|
-
|
|
11536
|
-
|
|
11537
|
-
|
|
11538
|
-
|
|
11539
|
-
|
|
11540
|
-
message: string;
|
|
11541
|
-
}[];
|
|
11542
|
-
context?: unknown;
|
|
11543
|
-
};
|
|
11544
|
-
};
|
|
11545
|
-
};
|
|
11546
|
-
/** @description Unauthorized */
|
|
11547
|
-
401: {
|
|
11548
|
-
headers: {
|
|
11549
|
-
[name: string]: unknown;
|
|
11550
|
-
};
|
|
11551
|
-
content: {
|
|
11552
|
-
"application/json": {
|
|
11553
|
-
code: string;
|
|
11554
|
-
message: string;
|
|
11555
|
-
issues?: {
|
|
11556
|
-
message: string;
|
|
11557
|
-
}[];
|
|
11558
|
-
context?: unknown;
|
|
11559
|
-
};
|
|
11560
|
-
};
|
|
11561
|
-
};
|
|
11562
|
-
/** @description Forbidden */
|
|
11563
|
-
403: {
|
|
11564
|
-
headers: {
|
|
11565
|
-
[name: string]: unknown;
|
|
11566
|
-
};
|
|
11567
|
-
content: {
|
|
11568
|
-
"application/json": {
|
|
11569
|
-
code: string;
|
|
11570
|
-
message: string;
|
|
11571
|
-
issues?: {
|
|
11572
|
-
message: string;
|
|
11573
|
-
}[];
|
|
11574
|
-
context?: unknown;
|
|
11575
|
-
};
|
|
11576
|
-
};
|
|
11577
|
-
};
|
|
11578
|
-
/** @description Not found */
|
|
11579
|
-
404: {
|
|
11580
|
-
headers: {
|
|
11581
|
-
[name: string]: unknown;
|
|
11582
|
-
};
|
|
11583
|
-
content: {
|
|
11584
|
-
"application/json": {
|
|
11585
|
-
code: string;
|
|
11586
|
-
message: string;
|
|
11587
|
-
issues?: {
|
|
11588
|
-
message: string;
|
|
11589
|
-
}[];
|
|
11590
|
-
context?: unknown;
|
|
11591
|
-
};
|
|
11592
|
-
};
|
|
11593
|
-
};
|
|
11594
|
-
/** @description Internal server error */
|
|
11595
|
-
500: {
|
|
11596
|
-
headers: {
|
|
11597
|
-
[name: string]: unknown;
|
|
11598
|
-
};
|
|
11599
|
-
content: {
|
|
11600
|
-
"application/json": {
|
|
11601
|
-
code: string;
|
|
11602
|
-
message: string;
|
|
11603
|
-
issues?: {
|
|
11604
|
-
message: string;
|
|
11605
|
-
}[];
|
|
11606
|
-
context?: unknown;
|
|
11607
|
-
};
|
|
11608
|
-
};
|
|
11609
|
-
};
|
|
11610
|
-
};
|
|
11611
|
-
};
|
|
11612
|
-
deleteConnection: {
|
|
11613
|
-
parameters: {
|
|
11614
|
-
query?: {
|
|
11615
|
-
onLocked?: "error" | "archive";
|
|
11616
|
-
};
|
|
11617
|
-
header?: never;
|
|
11618
|
-
path: {
|
|
11619
|
-
id: string;
|
|
11620
|
-
};
|
|
11621
|
-
cookie?: never;
|
|
11622
|
-
};
|
|
11623
|
-
requestBody?: {
|
|
11624
|
-
content: {
|
|
11625
|
-
"application/json": Record<string, never>;
|
|
11626
|
-
};
|
|
11627
|
-
};
|
|
11628
|
-
responses: {
|
|
11629
|
-
/** @description Successful response */
|
|
11630
|
-
200: {
|
|
11631
|
-
headers: {
|
|
11632
|
-
[name: string]: unknown;
|
|
11633
|
-
};
|
|
11634
|
-
content: {
|
|
11635
|
-
"application/json": {
|
|
11636
|
-
/** @enum {string} */
|
|
11637
|
-
status: "deleted" | "archived";
|
|
11574
|
+
name: string;
|
|
11575
|
+
accountingStartAt?: string | null;
|
|
11576
|
+
accountingEndAt?: string | null;
|
|
11577
|
+
};
|
|
11578
|
+
proposed: {
|
|
11579
|
+
sourceAccountingEndAt: string;
|
|
11580
|
+
targetAccountingStartAt: string;
|
|
11581
|
+
};
|
|
11582
|
+
impactedReservations: {
|
|
11583
|
+
sourceCount: number;
|
|
11584
|
+
targetCount: number;
|
|
11585
|
+
refreshCount: number;
|
|
11586
|
+
lockedCount: number;
|
|
11587
|
+
};
|
|
11588
|
+
/** @constant */
|
|
11589
|
+
applied: true;
|
|
11590
|
+
queuedReservationRefreshCount: number;
|
|
11638
11591
|
};
|
|
11639
11592
|
};
|
|
11640
11593
|
};
|
|
@@ -11720,21 +11673,21 @@ export interface operations {
|
|
|
11720
11673
|
};
|
|
11721
11674
|
};
|
|
11722
11675
|
};
|
|
11723
|
-
|
|
11676
|
+
previewPmsConnectionCutover: {
|
|
11724
11677
|
parameters: {
|
|
11725
11678
|
query?: never;
|
|
11726
11679
|
header?: never;
|
|
11727
|
-
path
|
|
11728
|
-
id: string;
|
|
11729
|
-
};
|
|
11680
|
+
path?: never;
|
|
11730
11681
|
cookie?: never;
|
|
11731
11682
|
};
|
|
11732
11683
|
requestBody?: {
|
|
11733
11684
|
content: {
|
|
11734
11685
|
"application/json": {
|
|
11735
|
-
|
|
11736
|
-
|
|
11737
|
-
|
|
11686
|
+
/** Format: uuid */
|
|
11687
|
+
sourceConnectionId: string;
|
|
11688
|
+
/** Format: uuid */
|
|
11689
|
+
targetConnectionId: string;
|
|
11690
|
+
cutoverAt: string;
|
|
11738
11691
|
};
|
|
11739
11692
|
};
|
|
11740
11693
|
};
|
|
@@ -11745,44 +11698,450 @@ export interface operations {
|
|
|
11745
11698
|
[name: string]: unknown;
|
|
11746
11699
|
};
|
|
11747
11700
|
content: {
|
|
11748
|
-
"application/json":
|
|
11749
|
-
|
|
11750
|
-
id: string;
|
|
11751
|
-
/** @constant */
|
|
11752
|
-
status: "completed";
|
|
11753
|
-
message: string;
|
|
11754
|
-
/** @constant */
|
|
11755
|
-
type: "reservation";
|
|
11756
|
-
/** Format: uuid */
|
|
11757
|
-
reservationId: string;
|
|
11758
|
-
} | {
|
|
11759
|
-
/** Format: uuid */
|
|
11760
|
-
id: string;
|
|
11761
|
-
/** @constant */
|
|
11762
|
-
status: "completed";
|
|
11763
|
-
message: string;
|
|
11764
|
-
/** @constant */
|
|
11765
|
-
type: "listing";
|
|
11766
|
-
/** Format: uuid */
|
|
11767
|
-
listingId: string;
|
|
11768
|
-
} | {
|
|
11769
|
-
/** Format: uuid */
|
|
11770
|
-
id: string;
|
|
11771
|
-
/** @constant */
|
|
11772
|
-
status: "completed";
|
|
11773
|
-
message: string;
|
|
11774
|
-
/** @constant */
|
|
11775
|
-
type: "payout";
|
|
11776
|
-
/** Format: uuid */
|
|
11777
|
-
paymentId: string;
|
|
11778
|
-
}) | {
|
|
11779
|
-
/** Format: uuid */
|
|
11780
|
-
id: string;
|
|
11781
|
-
/** @constant */
|
|
11782
|
-
status: "failed";
|
|
11783
|
-
message: string;
|
|
11701
|
+
"application/json": {
|
|
11702
|
+
cutoverAt: string;
|
|
11784
11703
|
/** @enum {string} */
|
|
11785
|
-
|
|
11704
|
+
revenueRecognition: "checkIn" | "checkOut" | "bookedAt" | "proRata";
|
|
11705
|
+
sourceConnection: {
|
|
11706
|
+
/** Format: uuid */
|
|
11707
|
+
id: string;
|
|
11708
|
+
name: string;
|
|
11709
|
+
accountingStartAt?: string | null;
|
|
11710
|
+
accountingEndAt?: string | null;
|
|
11711
|
+
};
|
|
11712
|
+
targetConnection: {
|
|
11713
|
+
/** Format: uuid */
|
|
11714
|
+
id: string;
|
|
11715
|
+
name: string;
|
|
11716
|
+
accountingStartAt?: string | null;
|
|
11717
|
+
accountingEndAt?: string | null;
|
|
11718
|
+
};
|
|
11719
|
+
proposed: {
|
|
11720
|
+
sourceAccountingEndAt: string;
|
|
11721
|
+
targetAccountingStartAt: string;
|
|
11722
|
+
};
|
|
11723
|
+
impactedReservations: {
|
|
11724
|
+
sourceCount: number;
|
|
11725
|
+
targetCount: number;
|
|
11726
|
+
refreshCount: number;
|
|
11727
|
+
lockedCount: number;
|
|
11728
|
+
};
|
|
11729
|
+
};
|
|
11730
|
+
};
|
|
11731
|
+
};
|
|
11732
|
+
/** @description Bad request */
|
|
11733
|
+
400: {
|
|
11734
|
+
headers: {
|
|
11735
|
+
[name: string]: unknown;
|
|
11736
|
+
};
|
|
11737
|
+
content: {
|
|
11738
|
+
"application/json": {
|
|
11739
|
+
code: string;
|
|
11740
|
+
message: string;
|
|
11741
|
+
issues?: {
|
|
11742
|
+
message: string;
|
|
11743
|
+
}[];
|
|
11744
|
+
context?: unknown;
|
|
11745
|
+
};
|
|
11746
|
+
};
|
|
11747
|
+
};
|
|
11748
|
+
/** @description Unauthorized */
|
|
11749
|
+
401: {
|
|
11750
|
+
headers: {
|
|
11751
|
+
[name: string]: unknown;
|
|
11752
|
+
};
|
|
11753
|
+
content: {
|
|
11754
|
+
"application/json": {
|
|
11755
|
+
code: string;
|
|
11756
|
+
message: string;
|
|
11757
|
+
issues?: {
|
|
11758
|
+
message: string;
|
|
11759
|
+
}[];
|
|
11760
|
+
context?: unknown;
|
|
11761
|
+
};
|
|
11762
|
+
};
|
|
11763
|
+
};
|
|
11764
|
+
/** @description Forbidden */
|
|
11765
|
+
403: {
|
|
11766
|
+
headers: {
|
|
11767
|
+
[name: string]: unknown;
|
|
11768
|
+
};
|
|
11769
|
+
content: {
|
|
11770
|
+
"application/json": {
|
|
11771
|
+
code: string;
|
|
11772
|
+
message: string;
|
|
11773
|
+
issues?: {
|
|
11774
|
+
message: string;
|
|
11775
|
+
}[];
|
|
11776
|
+
context?: unknown;
|
|
11777
|
+
};
|
|
11778
|
+
};
|
|
11779
|
+
};
|
|
11780
|
+
/** @description Not found */
|
|
11781
|
+
404: {
|
|
11782
|
+
headers: {
|
|
11783
|
+
[name: string]: unknown;
|
|
11784
|
+
};
|
|
11785
|
+
content: {
|
|
11786
|
+
"application/json": {
|
|
11787
|
+
code: string;
|
|
11788
|
+
message: string;
|
|
11789
|
+
issues?: {
|
|
11790
|
+
message: string;
|
|
11791
|
+
}[];
|
|
11792
|
+
context?: unknown;
|
|
11793
|
+
};
|
|
11794
|
+
};
|
|
11795
|
+
};
|
|
11796
|
+
/** @description Internal server error */
|
|
11797
|
+
500: {
|
|
11798
|
+
headers: {
|
|
11799
|
+
[name: string]: unknown;
|
|
11800
|
+
};
|
|
11801
|
+
content: {
|
|
11802
|
+
"application/json": {
|
|
11803
|
+
code: string;
|
|
11804
|
+
message: string;
|
|
11805
|
+
issues?: {
|
|
11806
|
+
message: string;
|
|
11807
|
+
}[];
|
|
11808
|
+
context?: unknown;
|
|
11809
|
+
};
|
|
11810
|
+
};
|
|
11811
|
+
};
|
|
11812
|
+
};
|
|
11813
|
+
};
|
|
11814
|
+
getConnection: {
|
|
11815
|
+
parameters: {
|
|
11816
|
+
query?: never;
|
|
11817
|
+
header?: never;
|
|
11818
|
+
path: {
|
|
11819
|
+
id: string;
|
|
11820
|
+
};
|
|
11821
|
+
cookie?: never;
|
|
11822
|
+
};
|
|
11823
|
+
requestBody?: never;
|
|
11824
|
+
responses: {
|
|
11825
|
+
/** @description Successful response */
|
|
11826
|
+
200: {
|
|
11827
|
+
headers: {
|
|
11828
|
+
[name: string]: unknown;
|
|
11829
|
+
};
|
|
11830
|
+
content: {
|
|
11831
|
+
"application/json": {
|
|
11832
|
+
/** Format: uuid */
|
|
11833
|
+
id: string;
|
|
11834
|
+
name: string;
|
|
11835
|
+
/** @enum {string} */
|
|
11836
|
+
status: "active" | "inactive";
|
|
11837
|
+
accountingStartAt?: string | null;
|
|
11838
|
+
accountingEndAt?: string | null;
|
|
11839
|
+
uniqueRef?: string | null;
|
|
11840
|
+
app: {
|
|
11841
|
+
id: string;
|
|
11842
|
+
/** @enum {string} */
|
|
11843
|
+
type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
|
|
11844
|
+
name: string;
|
|
11845
|
+
icon?: string | null;
|
|
11846
|
+
importers?: string[] | null;
|
|
11847
|
+
extractors?: string[] | null;
|
|
11848
|
+
};
|
|
11849
|
+
/**
|
|
11850
|
+
* Format: date-time
|
|
11851
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
11852
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
11853
|
+
*/
|
|
11854
|
+
createdAt: string;
|
|
11855
|
+
/**
|
|
11856
|
+
* Format: date-time
|
|
11857
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
11858
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
11859
|
+
*/
|
|
11860
|
+
updatedAt: string;
|
|
11861
|
+
isErrorState: boolean;
|
|
11862
|
+
currentSync?: {
|
|
11863
|
+
/** @enum {string} */
|
|
11864
|
+
status: "queued" | "started" | "completed" | "failed" | "canceled";
|
|
11865
|
+
/**
|
|
11866
|
+
* Format: date-time
|
|
11867
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
11868
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
11869
|
+
*/
|
|
11870
|
+
createdAt: string;
|
|
11871
|
+
/**
|
|
11872
|
+
* Format: date-time
|
|
11873
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
11874
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
11875
|
+
*/
|
|
11876
|
+
updatedAt: string;
|
|
11877
|
+
message?: string | null;
|
|
11878
|
+
} | null;
|
|
11879
|
+
enabledFlows: {
|
|
11880
|
+
/** Format: uuid */
|
|
11881
|
+
id: string;
|
|
11882
|
+
title: string;
|
|
11883
|
+
isPublic: boolean;
|
|
11884
|
+
type: ("push" | "pull") | null;
|
|
11885
|
+
}[];
|
|
11886
|
+
};
|
|
11887
|
+
};
|
|
11888
|
+
};
|
|
11889
|
+
/** @description Bad request */
|
|
11890
|
+
400: {
|
|
11891
|
+
headers: {
|
|
11892
|
+
[name: string]: unknown;
|
|
11893
|
+
};
|
|
11894
|
+
content: {
|
|
11895
|
+
"application/json": {
|
|
11896
|
+
code: string;
|
|
11897
|
+
message: string;
|
|
11898
|
+
issues?: {
|
|
11899
|
+
message: string;
|
|
11900
|
+
}[];
|
|
11901
|
+
context?: unknown;
|
|
11902
|
+
};
|
|
11903
|
+
};
|
|
11904
|
+
};
|
|
11905
|
+
/** @description Unauthorized */
|
|
11906
|
+
401: {
|
|
11907
|
+
headers: {
|
|
11908
|
+
[name: string]: unknown;
|
|
11909
|
+
};
|
|
11910
|
+
content: {
|
|
11911
|
+
"application/json": {
|
|
11912
|
+
code: string;
|
|
11913
|
+
message: string;
|
|
11914
|
+
issues?: {
|
|
11915
|
+
message: string;
|
|
11916
|
+
}[];
|
|
11917
|
+
context?: unknown;
|
|
11918
|
+
};
|
|
11919
|
+
};
|
|
11920
|
+
};
|
|
11921
|
+
/** @description Forbidden */
|
|
11922
|
+
403: {
|
|
11923
|
+
headers: {
|
|
11924
|
+
[name: string]: unknown;
|
|
11925
|
+
};
|
|
11926
|
+
content: {
|
|
11927
|
+
"application/json": {
|
|
11928
|
+
code: string;
|
|
11929
|
+
message: string;
|
|
11930
|
+
issues?: {
|
|
11931
|
+
message: string;
|
|
11932
|
+
}[];
|
|
11933
|
+
context?: unknown;
|
|
11934
|
+
};
|
|
11935
|
+
};
|
|
11936
|
+
};
|
|
11937
|
+
/** @description Not found */
|
|
11938
|
+
404: {
|
|
11939
|
+
headers: {
|
|
11940
|
+
[name: string]: unknown;
|
|
11941
|
+
};
|
|
11942
|
+
content: {
|
|
11943
|
+
"application/json": {
|
|
11944
|
+
code: string;
|
|
11945
|
+
message: string;
|
|
11946
|
+
issues?: {
|
|
11947
|
+
message: string;
|
|
11948
|
+
}[];
|
|
11949
|
+
context?: unknown;
|
|
11950
|
+
};
|
|
11951
|
+
};
|
|
11952
|
+
};
|
|
11953
|
+
/** @description Internal server error */
|
|
11954
|
+
500: {
|
|
11955
|
+
headers: {
|
|
11956
|
+
[name: string]: unknown;
|
|
11957
|
+
};
|
|
11958
|
+
content: {
|
|
11959
|
+
"application/json": {
|
|
11960
|
+
code: string;
|
|
11961
|
+
message: string;
|
|
11962
|
+
issues?: {
|
|
11963
|
+
message: string;
|
|
11964
|
+
}[];
|
|
11965
|
+
context?: unknown;
|
|
11966
|
+
};
|
|
11967
|
+
};
|
|
11968
|
+
};
|
|
11969
|
+
};
|
|
11970
|
+
};
|
|
11971
|
+
deleteConnection: {
|
|
11972
|
+
parameters: {
|
|
11973
|
+
query?: {
|
|
11974
|
+
onLocked?: "error" | "archive";
|
|
11975
|
+
};
|
|
11976
|
+
header?: never;
|
|
11977
|
+
path: {
|
|
11978
|
+
id: string;
|
|
11979
|
+
};
|
|
11980
|
+
cookie?: never;
|
|
11981
|
+
};
|
|
11982
|
+
requestBody?: {
|
|
11983
|
+
content: {
|
|
11984
|
+
"application/json": Record<string, never>;
|
|
11985
|
+
};
|
|
11986
|
+
};
|
|
11987
|
+
responses: {
|
|
11988
|
+
/** @description Successful response */
|
|
11989
|
+
200: {
|
|
11990
|
+
headers: {
|
|
11991
|
+
[name: string]: unknown;
|
|
11992
|
+
};
|
|
11993
|
+
content: {
|
|
11994
|
+
"application/json": {
|
|
11995
|
+
/** @enum {string} */
|
|
11996
|
+
status: "deleted" | "archived";
|
|
11997
|
+
};
|
|
11998
|
+
};
|
|
11999
|
+
};
|
|
12000
|
+
/** @description Bad request */
|
|
12001
|
+
400: {
|
|
12002
|
+
headers: {
|
|
12003
|
+
[name: string]: unknown;
|
|
12004
|
+
};
|
|
12005
|
+
content: {
|
|
12006
|
+
"application/json": {
|
|
12007
|
+
code: string;
|
|
12008
|
+
message: string;
|
|
12009
|
+
issues?: {
|
|
12010
|
+
message: string;
|
|
12011
|
+
}[];
|
|
12012
|
+
context?: unknown;
|
|
12013
|
+
};
|
|
12014
|
+
};
|
|
12015
|
+
};
|
|
12016
|
+
/** @description Unauthorized */
|
|
12017
|
+
401: {
|
|
12018
|
+
headers: {
|
|
12019
|
+
[name: string]: unknown;
|
|
12020
|
+
};
|
|
12021
|
+
content: {
|
|
12022
|
+
"application/json": {
|
|
12023
|
+
code: string;
|
|
12024
|
+
message: string;
|
|
12025
|
+
issues?: {
|
|
12026
|
+
message: string;
|
|
12027
|
+
}[];
|
|
12028
|
+
context?: unknown;
|
|
12029
|
+
};
|
|
12030
|
+
};
|
|
12031
|
+
};
|
|
12032
|
+
/** @description Forbidden */
|
|
12033
|
+
403: {
|
|
12034
|
+
headers: {
|
|
12035
|
+
[name: string]: unknown;
|
|
12036
|
+
};
|
|
12037
|
+
content: {
|
|
12038
|
+
"application/json": {
|
|
12039
|
+
code: string;
|
|
12040
|
+
message: string;
|
|
12041
|
+
issues?: {
|
|
12042
|
+
message: string;
|
|
12043
|
+
}[];
|
|
12044
|
+
context?: unknown;
|
|
12045
|
+
};
|
|
12046
|
+
};
|
|
12047
|
+
};
|
|
12048
|
+
/** @description Not found */
|
|
12049
|
+
404: {
|
|
12050
|
+
headers: {
|
|
12051
|
+
[name: string]: unknown;
|
|
12052
|
+
};
|
|
12053
|
+
content: {
|
|
12054
|
+
"application/json": {
|
|
12055
|
+
code: string;
|
|
12056
|
+
message: string;
|
|
12057
|
+
issues?: {
|
|
12058
|
+
message: string;
|
|
12059
|
+
}[];
|
|
12060
|
+
context?: unknown;
|
|
12061
|
+
};
|
|
12062
|
+
};
|
|
12063
|
+
};
|
|
12064
|
+
/** @description Internal server error */
|
|
12065
|
+
500: {
|
|
12066
|
+
headers: {
|
|
12067
|
+
[name: string]: unknown;
|
|
12068
|
+
};
|
|
12069
|
+
content: {
|
|
12070
|
+
"application/json": {
|
|
12071
|
+
code: string;
|
|
12072
|
+
message: string;
|
|
12073
|
+
issues?: {
|
|
12074
|
+
message: string;
|
|
12075
|
+
}[];
|
|
12076
|
+
context?: unknown;
|
|
12077
|
+
};
|
|
12078
|
+
};
|
|
12079
|
+
};
|
|
12080
|
+
};
|
|
12081
|
+
};
|
|
12082
|
+
syncConnection: {
|
|
12083
|
+
parameters: {
|
|
12084
|
+
query?: never;
|
|
12085
|
+
header?: never;
|
|
12086
|
+
path: {
|
|
12087
|
+
id: string;
|
|
12088
|
+
};
|
|
12089
|
+
cookie?: never;
|
|
12090
|
+
};
|
|
12091
|
+
requestBody?: {
|
|
12092
|
+
content: {
|
|
12093
|
+
"application/json": {
|
|
12094
|
+
uniqueRef: string;
|
|
12095
|
+
/** @enum {string} */
|
|
12096
|
+
type: "reservation" | "listing" | "payout";
|
|
12097
|
+
};
|
|
12098
|
+
};
|
|
12099
|
+
};
|
|
12100
|
+
responses: {
|
|
12101
|
+
/** @description Successful response */
|
|
12102
|
+
200: {
|
|
12103
|
+
headers: {
|
|
12104
|
+
[name: string]: unknown;
|
|
12105
|
+
};
|
|
12106
|
+
content: {
|
|
12107
|
+
"application/json": ({
|
|
12108
|
+
/** Format: uuid */
|
|
12109
|
+
id: string;
|
|
12110
|
+
/** @constant */
|
|
12111
|
+
status: "completed";
|
|
12112
|
+
message: string;
|
|
12113
|
+
/** @constant */
|
|
12114
|
+
type: "reservation";
|
|
12115
|
+
/** Format: uuid */
|
|
12116
|
+
reservationId: string;
|
|
12117
|
+
} | {
|
|
12118
|
+
/** Format: uuid */
|
|
12119
|
+
id: string;
|
|
12120
|
+
/** @constant */
|
|
12121
|
+
status: "completed";
|
|
12122
|
+
message: string;
|
|
12123
|
+
/** @constant */
|
|
12124
|
+
type: "listing";
|
|
12125
|
+
/** Format: uuid */
|
|
12126
|
+
listingId: string;
|
|
12127
|
+
} | {
|
|
12128
|
+
/** Format: uuid */
|
|
12129
|
+
id: string;
|
|
12130
|
+
/** @constant */
|
|
12131
|
+
status: "completed";
|
|
12132
|
+
message: string;
|
|
12133
|
+
/** @constant */
|
|
12134
|
+
type: "payout";
|
|
12135
|
+
/** Format: uuid */
|
|
12136
|
+
paymentId: string;
|
|
12137
|
+
}) | {
|
|
12138
|
+
/** Format: uuid */
|
|
12139
|
+
id: string;
|
|
12140
|
+
/** @constant */
|
|
12141
|
+
status: "failed";
|
|
12142
|
+
message: string;
|
|
12143
|
+
/** @enum {string} */
|
|
12144
|
+
type: "reservation" | "listing" | "payout";
|
|
11786
12145
|
};
|
|
11787
12146
|
};
|
|
11788
12147
|
};
|
|
@@ -11954,6 +12313,9 @@ export interface operations {
|
|
|
11954
12313
|
status: "active" | "inactive" | "unconfirmed";
|
|
11955
12314
|
lastSeen?: string | null;
|
|
11956
12315
|
lastInvitedAt?: string | null;
|
|
12316
|
+
notifications: {
|
|
12317
|
+
ownerStatementPublished: boolean;
|
|
12318
|
+
};
|
|
11957
12319
|
} | null;
|
|
11958
12320
|
}[];
|
|
11959
12321
|
pagination: {
|
|
@@ -12155,6 +12517,9 @@ export interface operations {
|
|
|
12155
12517
|
status: "active" | "inactive" | "unconfirmed";
|
|
12156
12518
|
lastSeen?: string | null;
|
|
12157
12519
|
lastInvitedAt?: string | null;
|
|
12520
|
+
notifications: {
|
|
12521
|
+
ownerStatementPublished: boolean;
|
|
12522
|
+
};
|
|
12158
12523
|
} | null;
|
|
12159
12524
|
};
|
|
12160
12525
|
};
|
|
@@ -12577,6 +12942,9 @@ export interface operations {
|
|
|
12577
12942
|
status: "active" | "inactive" | "unconfirmed";
|
|
12578
12943
|
lastSeen?: string | null;
|
|
12579
12944
|
lastInvitedAt?: string | null;
|
|
12945
|
+
notifications: {
|
|
12946
|
+
ownerStatementPublished: boolean;
|
|
12947
|
+
};
|
|
12580
12948
|
} | null;
|
|
12581
12949
|
};
|
|
12582
12950
|
};
|
|
@@ -12769,6 +13137,9 @@ export interface operations {
|
|
|
12769
13137
|
status: "active" | "inactive" | "unconfirmed";
|
|
12770
13138
|
lastSeen?: string | null;
|
|
12771
13139
|
lastInvitedAt?: string | null;
|
|
13140
|
+
notifications: {
|
|
13141
|
+
ownerStatementPublished: boolean;
|
|
13142
|
+
};
|
|
12772
13143
|
} | null;
|
|
12773
13144
|
};
|
|
12774
13145
|
};
|
|
@@ -19986,14 +20357,173 @@ export interface operations {
|
|
|
19986
20357
|
};
|
|
19987
20358
|
};
|
|
19988
20359
|
};
|
|
19989
|
-
getMe: {
|
|
20360
|
+
getMe: {
|
|
20361
|
+
parameters: {
|
|
20362
|
+
query?: never;
|
|
20363
|
+
header?: never;
|
|
20364
|
+
path?: never;
|
|
20365
|
+
cookie?: never;
|
|
20366
|
+
};
|
|
20367
|
+
requestBody?: never;
|
|
20368
|
+
responses: {
|
|
20369
|
+
/** @description Successful response */
|
|
20370
|
+
200: {
|
|
20371
|
+
headers: {
|
|
20372
|
+
[name: string]: unknown;
|
|
20373
|
+
};
|
|
20374
|
+
content: {
|
|
20375
|
+
"application/json": {
|
|
20376
|
+
/** Format: uuid */
|
|
20377
|
+
id: string;
|
|
20378
|
+
/** @enum {string} */
|
|
20379
|
+
type: "admin" | "user" | "owner";
|
|
20380
|
+
firstName?: string;
|
|
20381
|
+
lastName?: string;
|
|
20382
|
+
email: string;
|
|
20383
|
+
secondaryEmails: string[];
|
|
20384
|
+
phone?: string;
|
|
20385
|
+
/** Format: uuid */
|
|
20386
|
+
partnerId?: string;
|
|
20387
|
+
/**
|
|
20388
|
+
* Format: date-time
|
|
20389
|
+
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
20390
|
+
* @example 2024-01-15T12:30:00.000+00:00
|
|
20391
|
+
*/
|
|
20392
|
+
createdAt: string;
|
|
20393
|
+
ownerAccess: {
|
|
20394
|
+
/** Format: uuid */
|
|
20395
|
+
contactId?: string;
|
|
20396
|
+
/** Format: uuid */
|
|
20397
|
+
ownerId?: string;
|
|
20398
|
+
/** Format: uuid */
|
|
20399
|
+
teamId: string;
|
|
20400
|
+
/** @enum {string} */
|
|
20401
|
+
role: "admin" | "viewer";
|
|
20402
|
+
}[];
|
|
20403
|
+
teamAccess: {
|
|
20404
|
+
/** Format: uuid */
|
|
20405
|
+
teamId: string;
|
|
20406
|
+
partnerId: string | null;
|
|
20407
|
+
/** @enum {string} */
|
|
20408
|
+
role: "admin" | "user" | "owner";
|
|
20409
|
+
/** @enum {string} */
|
|
20410
|
+
type: "propertyManager" | "partner";
|
|
20411
|
+
slug: string;
|
|
20412
|
+
notifications: {
|
|
20413
|
+
ownerStatementInReview: boolean;
|
|
20414
|
+
ownerStatementPublished: boolean;
|
|
20415
|
+
ownerInvited: boolean;
|
|
20416
|
+
memberInvited: boolean;
|
|
20417
|
+
};
|
|
20418
|
+
}[];
|
|
20419
|
+
enabledFeatures: {
|
|
20420
|
+
/** Format: uuid */
|
|
20421
|
+
featureId: string;
|
|
20422
|
+
/** @enum {string} */
|
|
20423
|
+
status: "all" | "disabled" | "partially";
|
|
20424
|
+
}[];
|
|
20425
|
+
};
|
|
20426
|
+
};
|
|
20427
|
+
};
|
|
20428
|
+
/** @description Bad request */
|
|
20429
|
+
400: {
|
|
20430
|
+
headers: {
|
|
20431
|
+
[name: string]: unknown;
|
|
20432
|
+
};
|
|
20433
|
+
content: {
|
|
20434
|
+
"application/json": {
|
|
20435
|
+
code: string;
|
|
20436
|
+
message: string;
|
|
20437
|
+
issues?: {
|
|
20438
|
+
message: string;
|
|
20439
|
+
}[];
|
|
20440
|
+
context?: unknown;
|
|
20441
|
+
};
|
|
20442
|
+
};
|
|
20443
|
+
};
|
|
20444
|
+
/** @description Unauthorized */
|
|
20445
|
+
401: {
|
|
20446
|
+
headers: {
|
|
20447
|
+
[name: string]: unknown;
|
|
20448
|
+
};
|
|
20449
|
+
content: {
|
|
20450
|
+
"application/json": {
|
|
20451
|
+
code: string;
|
|
20452
|
+
message: string;
|
|
20453
|
+
issues?: {
|
|
20454
|
+
message: string;
|
|
20455
|
+
}[];
|
|
20456
|
+
context?: unknown;
|
|
20457
|
+
};
|
|
20458
|
+
};
|
|
20459
|
+
};
|
|
20460
|
+
/** @description Forbidden */
|
|
20461
|
+
403: {
|
|
20462
|
+
headers: {
|
|
20463
|
+
[name: string]: unknown;
|
|
20464
|
+
};
|
|
20465
|
+
content: {
|
|
20466
|
+
"application/json": {
|
|
20467
|
+
code: string;
|
|
20468
|
+
message: string;
|
|
20469
|
+
issues?: {
|
|
20470
|
+
message: string;
|
|
20471
|
+
}[];
|
|
20472
|
+
context?: unknown;
|
|
20473
|
+
};
|
|
20474
|
+
};
|
|
20475
|
+
};
|
|
20476
|
+
/** @description Not found */
|
|
20477
|
+
404: {
|
|
20478
|
+
headers: {
|
|
20479
|
+
[name: string]: unknown;
|
|
20480
|
+
};
|
|
20481
|
+
content: {
|
|
20482
|
+
"application/json": {
|
|
20483
|
+
code: string;
|
|
20484
|
+
message: string;
|
|
20485
|
+
issues?: {
|
|
20486
|
+
message: string;
|
|
20487
|
+
}[];
|
|
20488
|
+
context?: unknown;
|
|
20489
|
+
};
|
|
20490
|
+
};
|
|
20491
|
+
};
|
|
20492
|
+
/** @description Internal server error */
|
|
20493
|
+
500: {
|
|
20494
|
+
headers: {
|
|
20495
|
+
[name: string]: unknown;
|
|
20496
|
+
};
|
|
20497
|
+
content: {
|
|
20498
|
+
"application/json": {
|
|
20499
|
+
code: string;
|
|
20500
|
+
message: string;
|
|
20501
|
+
issues?: {
|
|
20502
|
+
message: string;
|
|
20503
|
+
}[];
|
|
20504
|
+
context?: unknown;
|
|
20505
|
+
};
|
|
20506
|
+
};
|
|
20507
|
+
};
|
|
20508
|
+
};
|
|
20509
|
+
};
|
|
20510
|
+
updateMeNotifications: {
|
|
19990
20511
|
parameters: {
|
|
19991
20512
|
query?: never;
|
|
19992
20513
|
header?: never;
|
|
19993
20514
|
path?: never;
|
|
19994
20515
|
cookie?: never;
|
|
19995
20516
|
};
|
|
19996
|
-
requestBody?:
|
|
20517
|
+
requestBody?: {
|
|
20518
|
+
content: {
|
|
20519
|
+
"application/json": {
|
|
20520
|
+
ownerStatementInReview?: boolean;
|
|
20521
|
+
ownerStatementPublished?: boolean;
|
|
20522
|
+
ownerInvited?: boolean;
|
|
20523
|
+
memberInvited?: boolean;
|
|
20524
|
+
};
|
|
20525
|
+
};
|
|
20526
|
+
};
|
|
19997
20527
|
responses: {
|
|
19998
20528
|
/** @description Successful response */
|
|
19999
20529
|
200: {
|
|
@@ -20002,48 +20532,10 @@ export interface operations {
|
|
|
20002
20532
|
};
|
|
20003
20533
|
content: {
|
|
20004
20534
|
"application/json": {
|
|
20005
|
-
|
|
20006
|
-
|
|
20007
|
-
|
|
20008
|
-
|
|
20009
|
-
firstName?: string;
|
|
20010
|
-
lastName?: string;
|
|
20011
|
-
email: string;
|
|
20012
|
-
secondaryEmails: string[];
|
|
20013
|
-
phone?: string;
|
|
20014
|
-
/** Format: uuid */
|
|
20015
|
-
partnerId?: string;
|
|
20016
|
-
/**
|
|
20017
|
-
* Format: date-time
|
|
20018
|
-
* @description Timestamp string with date, time, milliseconds, and timezone.
|
|
20019
|
-
* @example 2024-01-15T12:30:00.000+00:00
|
|
20020
|
-
*/
|
|
20021
|
-
createdAt: string;
|
|
20022
|
-
ownerAccess: {
|
|
20023
|
-
/** Format: uuid */
|
|
20024
|
-
contactId?: string;
|
|
20025
|
-
/** Format: uuid */
|
|
20026
|
-
ownerId?: string;
|
|
20027
|
-
/** Format: uuid */
|
|
20028
|
-
teamId: string;
|
|
20029
|
-
/** @enum {string} */
|
|
20030
|
-
role: "admin" | "viewer";
|
|
20031
|
-
}[];
|
|
20032
|
-
teamAccess: {
|
|
20033
|
-
/** Format: uuid */
|
|
20034
|
-
teamId: string;
|
|
20035
|
-
partnerId: string | null;
|
|
20036
|
-
/** @enum {string} */
|
|
20037
|
-
role: "admin" | "user" | "owner";
|
|
20038
|
-
/** @enum {string} */
|
|
20039
|
-
type: "propertyManager" | "partner";
|
|
20040
|
-
}[];
|
|
20041
|
-
enabledFeatures: {
|
|
20042
|
-
/** Format: uuid */
|
|
20043
|
-
featureId: string;
|
|
20044
|
-
/** @enum {string} */
|
|
20045
|
-
status: "all" | "disabled" | "partially";
|
|
20046
|
-
}[];
|
|
20535
|
+
ownerStatementInReview: boolean;
|
|
20536
|
+
ownerStatementPublished: boolean;
|
|
20537
|
+
ownerInvited: boolean;
|
|
20538
|
+
memberInvited: boolean;
|
|
20047
20539
|
};
|
|
20048
20540
|
};
|
|
20049
20541
|
};
|
|
@@ -22979,6 +23471,7 @@ export interface operations {
|
|
|
22979
23471
|
getRates: {
|
|
22980
23472
|
parameters: {
|
|
22981
23473
|
query?: {
|
|
23474
|
+
search?: string;
|
|
22982
23475
|
type?: "markup" | "tax";
|
|
22983
23476
|
status?: "active" | "inactive";
|
|
22984
23477
|
limit?: number;
|
|
@@ -28691,6 +29184,7 @@ export interface operations {
|
|
|
28691
29184
|
listingIds?: string;
|
|
28692
29185
|
currency?: string;
|
|
28693
29186
|
viewAs?: "owner" | "manager";
|
|
29187
|
+
search?: string;
|
|
28694
29188
|
};
|
|
28695
29189
|
header?: never;
|
|
28696
29190
|
path?: never;
|
|
@@ -33787,6 +34281,17 @@ export interface operations {
|
|
|
33787
34281
|
openingBalanceType?: "taxPayable" | "advancedDeposit" | "listingOpeningBalance" | "openingTrialBalance";
|
|
33788
34282
|
};
|
|
33789
34283
|
} | null;
|
|
34284
|
+
issues?: {
|
|
34285
|
+
/** @constant */
|
|
34286
|
+
code: "endedOwnershipNonZeroBalance";
|
|
34287
|
+
/** @constant */
|
|
34288
|
+
severity: "warning";
|
|
34289
|
+
message: string;
|
|
34290
|
+
context: {
|
|
34291
|
+
endAt: string | null;
|
|
34292
|
+
setListingInactive: boolean;
|
|
34293
|
+
};
|
|
34294
|
+
}[];
|
|
33790
34295
|
}[];
|
|
33791
34296
|
} | {
|
|
33792
34297
|
name: string;
|
|
@@ -48184,6 +48689,9 @@ export interface operations {
|
|
|
48184
48689
|
parameters: {
|
|
48185
48690
|
query?: {
|
|
48186
48691
|
status?: "active" | "inactive" | "deleted" | "onboarding";
|
|
48692
|
+
search?: string;
|
|
48693
|
+
partnerId?: string;
|
|
48694
|
+
type?: "partner" | "propertyManager";
|
|
48187
48695
|
/** @description You can use elipisis: YYYY-MM-DD...YYYY-MM-DD */
|
|
48188
48696
|
date?: string;
|
|
48189
48697
|
limit?: number;
|
|
@@ -48211,6 +48719,7 @@ export interface operations {
|
|
|
48211
48719
|
migratedFromTenantId?: string | null;
|
|
48212
48720
|
historicalStatementsImportedAt?: string | null;
|
|
48213
48721
|
name: string;
|
|
48722
|
+
slug: string;
|
|
48214
48723
|
statementAddress?: {
|
|
48215
48724
|
full?: string | null;
|
|
48216
48725
|
line1?: string | null;
|
|
@@ -48445,6 +48954,7 @@ export interface operations {
|
|
|
48445
48954
|
longTermStayNights?: number | null;
|
|
48446
48955
|
defaultRevenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
|
|
48447
48956
|
name: string;
|
|
48957
|
+
slug?: string;
|
|
48448
48958
|
statementAddress?: {
|
|
48449
48959
|
full?: string | null;
|
|
48450
48960
|
line1?: string | null;
|
|
@@ -48518,6 +49028,7 @@ export interface operations {
|
|
|
48518
49028
|
migratedFromTenantId?: string | null;
|
|
48519
49029
|
historicalStatementsImportedAt?: string | null;
|
|
48520
49030
|
name: string;
|
|
49031
|
+
slug: string;
|
|
48521
49032
|
statementAddress?: {
|
|
48522
49033
|
full?: string | null;
|
|
48523
49034
|
line1?: string | null;
|
|
@@ -49154,6 +49665,7 @@ export interface operations {
|
|
|
49154
49665
|
migratedFromTenantId?: string | null;
|
|
49155
49666
|
historicalStatementsImportedAt?: string | null;
|
|
49156
49667
|
name: string;
|
|
49668
|
+
slug: string;
|
|
49157
49669
|
statementAddress?: {
|
|
49158
49670
|
full?: string | null;
|
|
49159
49671
|
line1?: string | null;
|
|
@@ -49409,6 +49921,7 @@ export interface operations {
|
|
|
49409
49921
|
migratedFromTenantId?: string | null;
|
|
49410
49922
|
historicalStatementsImportedAt?: string | null;
|
|
49411
49923
|
name: string;
|
|
49924
|
+
slug: string;
|
|
49412
49925
|
statementAddress?: {
|
|
49413
49926
|
full?: string | null;
|
|
49414
49927
|
line1?: string | null;
|
|
@@ -49657,6 +50170,7 @@ export interface operations {
|
|
|
49657
50170
|
migratedFromTenantId?: string | null;
|
|
49658
50171
|
historicalStatementsImportedAt?: string | null;
|
|
49659
50172
|
name: string;
|
|
50173
|
+
slug: string;
|
|
49660
50174
|
statementAddress?: {
|
|
49661
50175
|
full?: string | null;
|
|
49662
50176
|
line1?: string | null;
|
|
@@ -51373,6 +51887,243 @@ export interface operations {
|
|
|
51373
51887
|
};
|
|
51374
51888
|
};
|
|
51375
51889
|
};
|
|
51890
|
+
getTeamsResolve: {
|
|
51891
|
+
parameters: {
|
|
51892
|
+
query: {
|
|
51893
|
+
slug: string;
|
|
51894
|
+
};
|
|
51895
|
+
header?: never;
|
|
51896
|
+
path?: never;
|
|
51897
|
+
cookie?: never;
|
|
51898
|
+
};
|
|
51899
|
+
requestBody?: never;
|
|
51900
|
+
responses: {
|
|
51901
|
+
/** @description Successful response */
|
|
51902
|
+
200: {
|
|
51903
|
+
headers: {
|
|
51904
|
+
[name: string]: unknown;
|
|
51905
|
+
};
|
|
51906
|
+
content: {
|
|
51907
|
+
"application/json": {
|
|
51908
|
+
/** Format: uuid */
|
|
51909
|
+
id: string;
|
|
51910
|
+
defaultCurrency?: string | null;
|
|
51911
|
+
longTermStayNights?: number | null;
|
|
51912
|
+
defaultRevenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
|
|
51913
|
+
migratedFromTenantId?: string | null;
|
|
51914
|
+
historicalStatementsImportedAt?: string | null;
|
|
51915
|
+
name: string;
|
|
51916
|
+
slug: string;
|
|
51917
|
+
statementAddress?: {
|
|
51918
|
+
full?: string | null;
|
|
51919
|
+
line1?: string | null;
|
|
51920
|
+
line2?: string | null;
|
|
51921
|
+
city?: string | null;
|
|
51922
|
+
/** @description Deprecated, use stateCode instead */
|
|
51923
|
+
state?: string | null;
|
|
51924
|
+
postalCode?: string | null;
|
|
51925
|
+
stateCode?: string | null;
|
|
51926
|
+
countryCode?: string | null;
|
|
51927
|
+
} | null;
|
|
51928
|
+
billingAddress?: {
|
|
51929
|
+
full?: string | null;
|
|
51930
|
+
line1?: string | null;
|
|
51931
|
+
line2?: string | null;
|
|
51932
|
+
city?: string | null;
|
|
51933
|
+
/** @description Deprecated, use stateCode instead */
|
|
51934
|
+
state?: string | null;
|
|
51935
|
+
postalCode?: string | null;
|
|
51936
|
+
stateCode?: string | null;
|
|
51937
|
+
countryCode?: string | null;
|
|
51938
|
+
} | null;
|
|
51939
|
+
phone?: string | null;
|
|
51940
|
+
email?: string | null;
|
|
51941
|
+
taxId?: string | null;
|
|
51942
|
+
partner?: {
|
|
51943
|
+
/** Format: uuid */
|
|
51944
|
+
id: string;
|
|
51945
|
+
name: string;
|
|
51946
|
+
} | null;
|
|
51947
|
+
billingPartner?: {
|
|
51948
|
+
/** Format: uuid */
|
|
51949
|
+
id: string;
|
|
51950
|
+
name: string;
|
|
51951
|
+
} | null;
|
|
51952
|
+
companyName?: string | null;
|
|
51953
|
+
/** @enum {string} */
|
|
51954
|
+
type: "partner" | "admin" | "propertyManager";
|
|
51955
|
+
/** @enum {string} */
|
|
51956
|
+
status: "active" | "inactive" | "deleted" | "onboarding";
|
|
51957
|
+
billingSubscriptionStatus?: string | null;
|
|
51958
|
+
billingPlan?: string | null;
|
|
51959
|
+
billingPaymentMethodType?: string | null;
|
|
51960
|
+
billingCustomerId?: string | null;
|
|
51961
|
+
colorPrimary?: string | null;
|
|
51962
|
+
createdAt?: string | null;
|
|
51963
|
+
updatedAt?: string | null;
|
|
51964
|
+
trialUntil?: string | null;
|
|
51965
|
+
cancelledAt?: string | null;
|
|
51966
|
+
isOnboarding?: boolean | null;
|
|
51967
|
+
issues: ({
|
|
51968
|
+
/** @constant */
|
|
51969
|
+
code: "unassignedAccount";
|
|
51970
|
+
/** @constant */
|
|
51971
|
+
severity: "error";
|
|
51972
|
+
context: {
|
|
51973
|
+
accountIds: string[];
|
|
51974
|
+
};
|
|
51975
|
+
} | {
|
|
51976
|
+
/** @constant */
|
|
51977
|
+
code: "brokenConnections";
|
|
51978
|
+
/** @constant */
|
|
51979
|
+
severity: "error";
|
|
51980
|
+
context: {
|
|
51981
|
+
connections: {
|
|
51982
|
+
/** Format: uuid */
|
|
51983
|
+
id: string;
|
|
51984
|
+
name: string;
|
|
51985
|
+
appId: string;
|
|
51986
|
+
}[];
|
|
51987
|
+
};
|
|
51988
|
+
} | {
|
|
51989
|
+
/** @constant */
|
|
51990
|
+
code: "outdatedConnections";
|
|
51991
|
+
/** @constant */
|
|
51992
|
+
severity: "error";
|
|
51993
|
+
context: {
|
|
51994
|
+
connections: {
|
|
51995
|
+
/** Format: uuid */
|
|
51996
|
+
id: string;
|
|
51997
|
+
name: string;
|
|
51998
|
+
appId: string;
|
|
51999
|
+
}[];
|
|
52000
|
+
};
|
|
52001
|
+
})[];
|
|
52002
|
+
isGeneralLedger?: boolean | null;
|
|
52003
|
+
isOpex?: boolean;
|
|
52004
|
+
booksClosedAt?: string | null;
|
|
52005
|
+
logo?: string | null;
|
|
52006
|
+
statementStartAt?: string | null;
|
|
52007
|
+
effectiveStatementStartAt?: string | null;
|
|
52008
|
+
settings: {
|
|
52009
|
+
showReservations: boolean;
|
|
52010
|
+
showCancelledReservations: boolean;
|
|
52011
|
+
showReservationTotal: boolean;
|
|
52012
|
+
showOwnerCalendarBlocking: boolean;
|
|
52013
|
+
showTaxStatements: boolean;
|
|
52014
|
+
showTwoFactorAuth: boolean;
|
|
52015
|
+
};
|
|
52016
|
+
ownerPortalShowDraftStatements?: boolean;
|
|
52017
|
+
members?: {
|
|
52018
|
+
userId: string;
|
|
52019
|
+
email?: string | null;
|
|
52020
|
+
role: string;
|
|
52021
|
+
name?: string | null;
|
|
52022
|
+
firstName?: string | null;
|
|
52023
|
+
}[] | null;
|
|
52024
|
+
extractableConnections?: {
|
|
52025
|
+
[key: string]: {
|
|
52026
|
+
connections: {
|
|
52027
|
+
/** Format: uuid */
|
|
52028
|
+
id: string;
|
|
52029
|
+
name: string;
|
|
52030
|
+
appId: string;
|
|
52031
|
+
urlExample?: string | null;
|
|
52032
|
+
allowConfirmationCode?: boolean | null;
|
|
52033
|
+
}[];
|
|
52034
|
+
};
|
|
52035
|
+
} | null;
|
|
52036
|
+
enabledFeatures?: {
|
|
52037
|
+
/** Format: uuid */
|
|
52038
|
+
featureId: string;
|
|
52039
|
+
/** @enum {string} */
|
|
52040
|
+
status: "all" | "disabled" | "partially";
|
|
52041
|
+
}[];
|
|
52042
|
+
};
|
|
52043
|
+
};
|
|
52044
|
+
};
|
|
52045
|
+
/** @description Bad request */
|
|
52046
|
+
400: {
|
|
52047
|
+
headers: {
|
|
52048
|
+
[name: string]: unknown;
|
|
52049
|
+
};
|
|
52050
|
+
content: {
|
|
52051
|
+
"application/json": {
|
|
52052
|
+
code: string;
|
|
52053
|
+
message: string;
|
|
52054
|
+
issues?: {
|
|
52055
|
+
message: string;
|
|
52056
|
+
}[];
|
|
52057
|
+
context?: unknown;
|
|
52058
|
+
};
|
|
52059
|
+
};
|
|
52060
|
+
};
|
|
52061
|
+
/** @description Unauthorized */
|
|
52062
|
+
401: {
|
|
52063
|
+
headers: {
|
|
52064
|
+
[name: string]: unknown;
|
|
52065
|
+
};
|
|
52066
|
+
content: {
|
|
52067
|
+
"application/json": {
|
|
52068
|
+
code: string;
|
|
52069
|
+
message: string;
|
|
52070
|
+
issues?: {
|
|
52071
|
+
message: string;
|
|
52072
|
+
}[];
|
|
52073
|
+
context?: unknown;
|
|
52074
|
+
};
|
|
52075
|
+
};
|
|
52076
|
+
};
|
|
52077
|
+
/** @description Forbidden */
|
|
52078
|
+
403: {
|
|
52079
|
+
headers: {
|
|
52080
|
+
[name: string]: unknown;
|
|
52081
|
+
};
|
|
52082
|
+
content: {
|
|
52083
|
+
"application/json": {
|
|
52084
|
+
code: string;
|
|
52085
|
+
message: string;
|
|
52086
|
+
issues?: {
|
|
52087
|
+
message: string;
|
|
52088
|
+
}[];
|
|
52089
|
+
context?: unknown;
|
|
52090
|
+
};
|
|
52091
|
+
};
|
|
52092
|
+
};
|
|
52093
|
+
/** @description Not found */
|
|
52094
|
+
404: {
|
|
52095
|
+
headers: {
|
|
52096
|
+
[name: string]: unknown;
|
|
52097
|
+
};
|
|
52098
|
+
content: {
|
|
52099
|
+
"application/json": {
|
|
52100
|
+
code: string;
|
|
52101
|
+
message: string;
|
|
52102
|
+
issues?: {
|
|
52103
|
+
message: string;
|
|
52104
|
+
}[];
|
|
52105
|
+
context?: unknown;
|
|
52106
|
+
};
|
|
52107
|
+
};
|
|
52108
|
+
};
|
|
52109
|
+
/** @description Internal server error */
|
|
52110
|
+
500: {
|
|
52111
|
+
headers: {
|
|
52112
|
+
[name: string]: unknown;
|
|
52113
|
+
};
|
|
52114
|
+
content: {
|
|
52115
|
+
"application/json": {
|
|
52116
|
+
code: string;
|
|
52117
|
+
message: string;
|
|
52118
|
+
issues?: {
|
|
52119
|
+
message: string;
|
|
52120
|
+
}[];
|
|
52121
|
+
context?: unknown;
|
|
52122
|
+
};
|
|
52123
|
+
};
|
|
52124
|
+
};
|
|
52125
|
+
};
|
|
52126
|
+
};
|
|
51376
52127
|
getTeamsById: {
|
|
51377
52128
|
parameters: {
|
|
51378
52129
|
query?: never;
|
|
@@ -51399,6 +52150,7 @@ export interface operations {
|
|
|
51399
52150
|
migratedFromTenantId?: string | null;
|
|
51400
52151
|
historicalStatementsImportedAt?: string | null;
|
|
51401
52152
|
name: string;
|
|
52153
|
+
slug: string;
|
|
51402
52154
|
statementAddress?: {
|
|
51403
52155
|
full?: string | null;
|
|
51404
52156
|
line1?: string | null;
|
|
@@ -51625,6 +52377,7 @@ export interface operations {
|
|
|
51625
52377
|
longTermStayNights?: number | null;
|
|
51626
52378
|
defaultRevenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
|
|
51627
52379
|
name?: string;
|
|
52380
|
+
slug?: string;
|
|
51628
52381
|
statementAddress?: {
|
|
51629
52382
|
full?: string | null;
|
|
51630
52383
|
line1?: string | null;
|
|
@@ -51712,6 +52465,7 @@ export interface operations {
|
|
|
51712
52465
|
migratedFromTenantId?: string | null;
|
|
51713
52466
|
historicalStatementsImportedAt?: string | null;
|
|
51714
52467
|
name: string;
|
|
52468
|
+
slug: string;
|
|
51715
52469
|
statementAddress?: {
|
|
51716
52470
|
full?: string | null;
|
|
51717
52471
|
line1?: string | null;
|
|
@@ -52401,6 +53155,7 @@ export interface operations {
|
|
|
52401
53155
|
migratedFromTenantId?: string | null;
|
|
52402
53156
|
historicalStatementsImportedAt?: string | null;
|
|
52403
53157
|
name: string;
|
|
53158
|
+
slug: string;
|
|
52404
53159
|
statementAddress?: {
|
|
52405
53160
|
full?: string | null;
|
|
52406
53161
|
line1?: string | null;
|