@vrplatform/api 1.3.1-2494 → 1.3.1-2517
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 +1503 -383
- package/build/main/generated/v1.js.map +1 -1
- package/build/module/generated/v1.d.ts +1503 -383
- package/build/module/generated/v1.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/v1.ts +1503 -383
|
@@ -409,7 +409,8 @@ export interface paths {
|
|
|
409
409
|
/** @description Update bank record */
|
|
410
410
|
put: operations["putBankRecordsById"];
|
|
411
411
|
post?: never;
|
|
412
|
-
delete
|
|
412
|
+
/** @description Permanently delete an unreconciled CSV-source bank record */
|
|
413
|
+
delete: operations["deleteBankRecordsById"];
|
|
413
414
|
options?: never;
|
|
414
415
|
head?: never;
|
|
415
416
|
patch?: never;
|
|
@@ -746,6 +747,58 @@ export interface paths {
|
|
|
746
747
|
patch: operations["patchContactsByIdRevokeAccess"];
|
|
747
748
|
trace?: never;
|
|
748
749
|
};
|
|
750
|
+
"/contacts/{id}/viewers": {
|
|
751
|
+
parameters: {
|
|
752
|
+
query?: never;
|
|
753
|
+
header?: never;
|
|
754
|
+
path?: never;
|
|
755
|
+
cookie?: never;
|
|
756
|
+
};
|
|
757
|
+
/** @description List owner-viewer access for an owner contact */
|
|
758
|
+
get: operations["getContactsByIdViewers"];
|
|
759
|
+
put?: never;
|
|
760
|
+
/** @description Invite an owner viewer for an owner contact */
|
|
761
|
+
post: operations["postContactsByIdViewers"];
|
|
762
|
+
delete?: never;
|
|
763
|
+
options?: never;
|
|
764
|
+
head?: never;
|
|
765
|
+
patch?: never;
|
|
766
|
+
trace?: never;
|
|
767
|
+
};
|
|
768
|
+
"/contacts/{id}/viewers/{userId}": {
|
|
769
|
+
parameters: {
|
|
770
|
+
query?: never;
|
|
771
|
+
header?: never;
|
|
772
|
+
path?: never;
|
|
773
|
+
cookie?: never;
|
|
774
|
+
};
|
|
775
|
+
get?: never;
|
|
776
|
+
put?: never;
|
|
777
|
+
post?: never;
|
|
778
|
+
/** @description Remove an owner-viewer access row from an owner contact */
|
|
779
|
+
delete: operations["deleteContactsByIdViewersByUserId"];
|
|
780
|
+
options?: never;
|
|
781
|
+
head?: never;
|
|
782
|
+
patch?: never;
|
|
783
|
+
trace?: never;
|
|
784
|
+
};
|
|
785
|
+
"/contacts/{id}/viewers/{userId}/invite": {
|
|
786
|
+
parameters: {
|
|
787
|
+
query?: never;
|
|
788
|
+
header?: never;
|
|
789
|
+
path?: never;
|
|
790
|
+
cookie?: never;
|
|
791
|
+
};
|
|
792
|
+
get?: never;
|
|
793
|
+
put?: never;
|
|
794
|
+
post?: never;
|
|
795
|
+
delete?: never;
|
|
796
|
+
options?: never;
|
|
797
|
+
head?: never;
|
|
798
|
+
/** @description Reinvite an existing owner viewer */
|
|
799
|
+
patch: operations["patchContactsByIdViewersByUserIdInvite"];
|
|
800
|
+
trace?: never;
|
|
801
|
+
};
|
|
749
802
|
"/csv/import": {
|
|
750
803
|
parameters: {
|
|
751
804
|
query?: never;
|
|
@@ -806,7 +859,8 @@ export interface paths {
|
|
|
806
859
|
};
|
|
807
860
|
/** @description Get flow configuration for a connection */
|
|
808
861
|
get: operations["getFlowConnection"];
|
|
809
|
-
|
|
862
|
+
/** @description Update flow status for a connection */
|
|
863
|
+
put: operations["setFlowStatus"];
|
|
810
864
|
post?: never;
|
|
811
865
|
delete?: never;
|
|
812
866
|
options?: never;
|
|
@@ -3107,7 +3161,7 @@ export interface paths {
|
|
|
3107
3161
|
};
|
|
3108
3162
|
get?: never;
|
|
3109
3163
|
put?: never;
|
|
3110
|
-
/** @description Upload an expense attachment
|
|
3164
|
+
/** @description Upload an expense attachment as multipart/form-data. The returned staged attachment id can be passed in attachmentIds when creating or updating an expense transaction. */
|
|
3111
3165
|
post: operations["postTransactionAttachments"];
|
|
3112
3166
|
delete?: never;
|
|
3113
3167
|
options?: never;
|
|
@@ -3125,11 +3179,11 @@ export interface paths {
|
|
|
3125
3179
|
get?: never;
|
|
3126
3180
|
put?: never;
|
|
3127
3181
|
post?: never;
|
|
3128
|
-
/** @description Delete an expense attachment */
|
|
3182
|
+
/** @description Delete an expense attachment. This removes staged attachments and attachments already linked to expense transactions. */
|
|
3129
3183
|
delete: operations["deleteTransactionAttachmentsByAttachmentId"];
|
|
3130
3184
|
options?: never;
|
|
3131
3185
|
head?: never;
|
|
3132
|
-
/** @description Update
|
|
3186
|
+
/** @description Update attachment visibility. isOwnerAccessible controls whether owners can see the file on owner statement details. */
|
|
3133
3187
|
patch: operations["patchTransactionAttachmentsByAttachmentId"];
|
|
3134
3188
|
trace?: never;
|
|
3135
3189
|
};
|
|
@@ -3160,7 +3214,7 @@ export interface paths {
|
|
|
3160
3214
|
/** @description Transactions List */
|
|
3161
3215
|
get: operations["getTransactions"];
|
|
3162
3216
|
put?: never;
|
|
3163
|
-
/** @description Create
|
|
3217
|
+
/** @description Create a transaction. For expense attachments, first upload each file with POST /transaction-attachments, then pass the returned ids in attachmentIds. Attachments are only supported for expense transactions. */
|
|
3164
3218
|
post: operations["postTransactions"];
|
|
3165
3219
|
delete?: never;
|
|
3166
3220
|
options?: never;
|
|
@@ -3418,7 +3472,7 @@ export interface paths {
|
|
|
3418
3472
|
};
|
|
3419
3473
|
/** @description Transactions List */
|
|
3420
3474
|
get: operations["getTransactionsById"];
|
|
3421
|
-
/** @description Update
|
|
3475
|
+
/** @description Update a transaction by ID. For expense attachments, pass attachmentIds to replace the attached set. Omit attachmentIds to keep current attachments. Attachments are only supported for expense transactions. */
|
|
3422
3476
|
put: operations["putTransactionsById"];
|
|
3423
3477
|
post?: never;
|
|
3424
3478
|
/** @description Delete an transaction by ID */
|
|
@@ -4752,6 +4806,7 @@ export interface operations {
|
|
|
4752
4806
|
} | null;
|
|
4753
4807
|
} | null;
|
|
4754
4808
|
}[];
|
|
4809
|
+
/** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
|
|
4755
4810
|
attachmentIds?: string[] | null;
|
|
4756
4811
|
recurringTemplateId?: string | null;
|
|
4757
4812
|
matchBankAccountLast4?: string | null;
|
|
@@ -4897,6 +4952,15 @@ export interface operations {
|
|
|
4897
4952
|
appId?: string | null;
|
|
4898
4953
|
/** @enum {string} */
|
|
4899
4954
|
type: "transaction" | "balance";
|
|
4955
|
+
lock: {
|
|
4956
|
+
/** @enum {string} */
|
|
4957
|
+
status: "locked" | "unlocked";
|
|
4958
|
+
delete: {
|
|
4959
|
+
/** @enum {string} */
|
|
4960
|
+
status: "locked" | "unlocked";
|
|
4961
|
+
reasons: ("notCsvSource" | "plaidSource" | "reconciled" | "balanceRecord" | "bankRuleMatched")[];
|
|
4962
|
+
};
|
|
4963
|
+
};
|
|
4900
4964
|
amount: number;
|
|
4901
4965
|
balance: {
|
|
4902
4966
|
current: number;
|
|
@@ -7586,6 +7650,15 @@ export interface operations {
|
|
|
7586
7650
|
appId?: string | null;
|
|
7587
7651
|
/** @enum {string} */
|
|
7588
7652
|
type: "transaction" | "balance";
|
|
7653
|
+
lock: {
|
|
7654
|
+
/** @enum {string} */
|
|
7655
|
+
status: "locked" | "unlocked";
|
|
7656
|
+
delete: {
|
|
7657
|
+
/** @enum {string} */
|
|
7658
|
+
status: "locked" | "unlocked";
|
|
7659
|
+
reasons: ("notCsvSource" | "plaidSource" | "reconciled" | "balanceRecord" | "bankRuleMatched")[];
|
|
7660
|
+
};
|
|
7661
|
+
};
|
|
7589
7662
|
amount: number;
|
|
7590
7663
|
balance: {
|
|
7591
7664
|
current: number;
|
|
@@ -7711,6 +7784,7 @@ export interface operations {
|
|
|
7711
7784
|
matchReservationStripeGuestRef?: string | null;
|
|
7712
7785
|
matchLineTypeClassification?: string | null;
|
|
7713
7786
|
}[];
|
|
7787
|
+
/** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
|
|
7714
7788
|
attachmentIds?: string[] | null;
|
|
7715
7789
|
payment?: {
|
|
7716
7790
|
bankRecordIds: string[];
|
|
@@ -8135,6 +8209,15 @@ export interface operations {
|
|
|
8135
8209
|
appId?: string | null;
|
|
8136
8210
|
/** @enum {string} */
|
|
8137
8211
|
type: "transaction" | "balance";
|
|
8212
|
+
lock: {
|
|
8213
|
+
/** @enum {string} */
|
|
8214
|
+
status: "locked" | "unlocked";
|
|
8215
|
+
delete: {
|
|
8216
|
+
/** @enum {string} */
|
|
8217
|
+
status: "locked" | "unlocked";
|
|
8218
|
+
reasons: ("notCsvSource" | "plaidSource" | "reconciled" | "balanceRecord" | "bankRuleMatched")[];
|
|
8219
|
+
};
|
|
8220
|
+
};
|
|
8138
8221
|
amount: number;
|
|
8139
8222
|
balance: {
|
|
8140
8223
|
current: number;
|
|
@@ -8260,6 +8343,7 @@ export interface operations {
|
|
|
8260
8343
|
matchReservationStripeGuestRef?: string | null;
|
|
8261
8344
|
matchLineTypeClassification?: string | null;
|
|
8262
8345
|
}[];
|
|
8346
|
+
/** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
|
|
8263
8347
|
attachmentIds?: string[] | null;
|
|
8264
8348
|
payment?: {
|
|
8265
8349
|
bankRecordIds: string[];
|
|
@@ -8478,6 +8562,117 @@ export interface operations {
|
|
|
8478
8562
|
};
|
|
8479
8563
|
};
|
|
8480
8564
|
};
|
|
8565
|
+
deleteBankRecordsById: {
|
|
8566
|
+
parameters: {
|
|
8567
|
+
query?: {
|
|
8568
|
+
dryRun?: boolean;
|
|
8569
|
+
};
|
|
8570
|
+
header?: never;
|
|
8571
|
+
path: {
|
|
8572
|
+
id: string;
|
|
8573
|
+
};
|
|
8574
|
+
cookie?: never;
|
|
8575
|
+
};
|
|
8576
|
+
requestBody?: {
|
|
8577
|
+
content: {
|
|
8578
|
+
"application/json": Record<string, never>;
|
|
8579
|
+
};
|
|
8580
|
+
};
|
|
8581
|
+
responses: {
|
|
8582
|
+
/** @description Successful response */
|
|
8583
|
+
200: {
|
|
8584
|
+
headers: {
|
|
8585
|
+
[name: string]: unknown;
|
|
8586
|
+
};
|
|
8587
|
+
content: {
|
|
8588
|
+
"application/json": {
|
|
8589
|
+
/** @constant */
|
|
8590
|
+
status: "deleted";
|
|
8591
|
+
};
|
|
8592
|
+
};
|
|
8593
|
+
};
|
|
8594
|
+
/** @description Bad request */
|
|
8595
|
+
400: {
|
|
8596
|
+
headers: {
|
|
8597
|
+
[name: string]: unknown;
|
|
8598
|
+
};
|
|
8599
|
+
content: {
|
|
8600
|
+
"application/json": {
|
|
8601
|
+
code: string;
|
|
8602
|
+
message: string;
|
|
8603
|
+
issues?: {
|
|
8604
|
+
message: string;
|
|
8605
|
+
}[];
|
|
8606
|
+
context?: unknown;
|
|
8607
|
+
};
|
|
8608
|
+
};
|
|
8609
|
+
};
|
|
8610
|
+
/** @description Unauthorized */
|
|
8611
|
+
401: {
|
|
8612
|
+
headers: {
|
|
8613
|
+
[name: string]: unknown;
|
|
8614
|
+
};
|
|
8615
|
+
content: {
|
|
8616
|
+
"application/json": {
|
|
8617
|
+
code: string;
|
|
8618
|
+
message: string;
|
|
8619
|
+
issues?: {
|
|
8620
|
+
message: string;
|
|
8621
|
+
}[];
|
|
8622
|
+
context?: unknown;
|
|
8623
|
+
};
|
|
8624
|
+
};
|
|
8625
|
+
};
|
|
8626
|
+
/** @description Forbidden */
|
|
8627
|
+
403: {
|
|
8628
|
+
headers: {
|
|
8629
|
+
[name: string]: unknown;
|
|
8630
|
+
};
|
|
8631
|
+
content: {
|
|
8632
|
+
"application/json": {
|
|
8633
|
+
code: string;
|
|
8634
|
+
message: string;
|
|
8635
|
+
issues?: {
|
|
8636
|
+
message: string;
|
|
8637
|
+
}[];
|
|
8638
|
+
context?: unknown;
|
|
8639
|
+
};
|
|
8640
|
+
};
|
|
8641
|
+
};
|
|
8642
|
+
/** @description Not found */
|
|
8643
|
+
404: {
|
|
8644
|
+
headers: {
|
|
8645
|
+
[name: string]: unknown;
|
|
8646
|
+
};
|
|
8647
|
+
content: {
|
|
8648
|
+
"application/json": {
|
|
8649
|
+
code: string;
|
|
8650
|
+
message: string;
|
|
8651
|
+
issues?: {
|
|
8652
|
+
message: string;
|
|
8653
|
+
}[];
|
|
8654
|
+
context?: unknown;
|
|
8655
|
+
};
|
|
8656
|
+
};
|
|
8657
|
+
};
|
|
8658
|
+
/** @description Internal server error */
|
|
8659
|
+
500: {
|
|
8660
|
+
headers: {
|
|
8661
|
+
[name: string]: unknown;
|
|
8662
|
+
};
|
|
8663
|
+
content: {
|
|
8664
|
+
"application/json": {
|
|
8665
|
+
code: string;
|
|
8666
|
+
message: string;
|
|
8667
|
+
issues?: {
|
|
8668
|
+
message: string;
|
|
8669
|
+
}[];
|
|
8670
|
+
context?: unknown;
|
|
8671
|
+
};
|
|
8672
|
+
};
|
|
8673
|
+
};
|
|
8674
|
+
};
|
|
8675
|
+
};
|
|
8481
8676
|
getBankRules: {
|
|
8482
8677
|
parameters: {
|
|
8483
8678
|
query?: {
|
|
@@ -9073,6 +9268,7 @@ export interface operations {
|
|
|
9073
9268
|
matchReservationStripeGuestRef?: string | null;
|
|
9074
9269
|
matchLineTypeClassification?: string | null;
|
|
9075
9270
|
}[];
|
|
9271
|
+
/** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
|
|
9076
9272
|
attachmentIds?: string[] | null;
|
|
9077
9273
|
payment?: {
|
|
9078
9274
|
bankRecordIds: string[];
|
|
@@ -9831,6 +10027,7 @@ export interface operations {
|
|
|
9831
10027
|
matchReservationStripeGuestRef?: string | null;
|
|
9832
10028
|
matchLineTypeClassification?: string | null;
|
|
9833
10029
|
}[];
|
|
10030
|
+
/** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
|
|
9834
10031
|
attachmentIds?: string[] | null;
|
|
9835
10032
|
payment?: {
|
|
9836
10033
|
bankRecordIds: string[];
|
|
@@ -11410,6 +11607,7 @@ export interface operations {
|
|
|
11410
11607
|
appId?: string | null;
|
|
11411
11608
|
appIcon?: string | null;
|
|
11412
11609
|
} | null;
|
|
11610
|
+
pmsStatus?: ("active" | "inactive") | null;
|
|
11413
11611
|
ownershipPeriods: {
|
|
11414
11612
|
listingId: string;
|
|
11415
11613
|
split: number;
|
|
@@ -11422,6 +11620,16 @@ export interface operations {
|
|
|
11422
11620
|
startAt?: string | null;
|
|
11423
11621
|
endAt?: string | null;
|
|
11424
11622
|
}[];
|
|
11623
|
+
access?: {
|
|
11624
|
+
/** Format: uuid */
|
|
11625
|
+
userId: string;
|
|
11626
|
+
/** Format: email */
|
|
11627
|
+
email: string;
|
|
11628
|
+
/** @enum {string} */
|
|
11629
|
+
status: "active" | "inactive" | "unconfirmed";
|
|
11630
|
+
lastSeen?: string | null;
|
|
11631
|
+
lastInvitedAt?: string | null;
|
|
11632
|
+
} | null;
|
|
11425
11633
|
}[];
|
|
11426
11634
|
pagination: {
|
|
11427
11635
|
/** @default 100 */
|
|
@@ -11600,6 +11808,7 @@ export interface operations {
|
|
|
11600
11808
|
appId?: string | null;
|
|
11601
11809
|
appIcon?: string | null;
|
|
11602
11810
|
} | null;
|
|
11811
|
+
pmsStatus?: ("active" | "inactive") | null;
|
|
11603
11812
|
ownershipPeriods: {
|
|
11604
11813
|
listingId: string;
|
|
11605
11814
|
split: number;
|
|
@@ -11612,6 +11821,16 @@ export interface operations {
|
|
|
11612
11821
|
startAt?: string | null;
|
|
11613
11822
|
endAt?: string | null;
|
|
11614
11823
|
}[];
|
|
11824
|
+
access?: {
|
|
11825
|
+
/** Format: uuid */
|
|
11826
|
+
userId: string;
|
|
11827
|
+
/** Format: email */
|
|
11828
|
+
email: string;
|
|
11829
|
+
/** @enum {string} */
|
|
11830
|
+
status: "active" | "inactive" | "unconfirmed";
|
|
11831
|
+
lastSeen?: string | null;
|
|
11832
|
+
lastInvitedAt?: string | null;
|
|
11833
|
+
} | null;
|
|
11615
11834
|
};
|
|
11616
11835
|
};
|
|
11617
11836
|
};
|
|
@@ -12011,6 +12230,7 @@ export interface operations {
|
|
|
12011
12230
|
appId?: string | null;
|
|
12012
12231
|
appIcon?: string | null;
|
|
12013
12232
|
} | null;
|
|
12233
|
+
pmsStatus?: ("active" | "inactive") | null;
|
|
12014
12234
|
ownershipPeriods: {
|
|
12015
12235
|
listingId: string;
|
|
12016
12236
|
split: number;
|
|
@@ -12023,6 +12243,16 @@ export interface operations {
|
|
|
12023
12243
|
startAt?: string | null;
|
|
12024
12244
|
endAt?: string | null;
|
|
12025
12245
|
}[];
|
|
12246
|
+
access?: {
|
|
12247
|
+
/** Format: uuid */
|
|
12248
|
+
userId: string;
|
|
12249
|
+
/** Format: email */
|
|
12250
|
+
email: string;
|
|
12251
|
+
/** @enum {string} */
|
|
12252
|
+
status: "active" | "inactive" | "unconfirmed";
|
|
12253
|
+
lastSeen?: string | null;
|
|
12254
|
+
lastInvitedAt?: string | null;
|
|
12255
|
+
} | null;
|
|
12026
12256
|
};
|
|
12027
12257
|
};
|
|
12028
12258
|
};
|
|
@@ -12192,6 +12422,7 @@ export interface operations {
|
|
|
12192
12422
|
appId?: string | null;
|
|
12193
12423
|
appIcon?: string | null;
|
|
12194
12424
|
} | null;
|
|
12425
|
+
pmsStatus?: ("active" | "inactive") | null;
|
|
12195
12426
|
ownershipPeriods: {
|
|
12196
12427
|
listingId: string;
|
|
12197
12428
|
split: number;
|
|
@@ -12204,6 +12435,16 @@ export interface operations {
|
|
|
12204
12435
|
startAt?: string | null;
|
|
12205
12436
|
endAt?: string | null;
|
|
12206
12437
|
}[];
|
|
12438
|
+
access?: {
|
|
12439
|
+
/** Format: uuid */
|
|
12440
|
+
userId: string;
|
|
12441
|
+
/** Format: email */
|
|
12442
|
+
email: string;
|
|
12443
|
+
/** @enum {string} */
|
|
12444
|
+
status: "active" | "inactive" | "unconfirmed";
|
|
12445
|
+
lastSeen?: string | null;
|
|
12446
|
+
lastInvitedAt?: string | null;
|
|
12447
|
+
} | null;
|
|
12207
12448
|
};
|
|
12208
12449
|
};
|
|
12209
12450
|
};
|
|
@@ -12621,25 +12862,16 @@ export interface operations {
|
|
|
12621
12862
|
};
|
|
12622
12863
|
};
|
|
12623
12864
|
};
|
|
12624
|
-
|
|
12865
|
+
getContactsByIdViewers: {
|
|
12625
12866
|
parameters: {
|
|
12626
12867
|
query?: never;
|
|
12627
12868
|
header?: never;
|
|
12628
|
-
path
|
|
12629
|
-
|
|
12630
|
-
};
|
|
12631
|
-
requestBody?: {
|
|
12632
|
-
content: {
|
|
12633
|
-
"application/json": {
|
|
12634
|
-
fileData?: string;
|
|
12635
|
-
fileUri?: string;
|
|
12636
|
-
fileName?: string;
|
|
12637
|
-
connectionId: string;
|
|
12638
|
-
uniqueRef: string;
|
|
12639
|
-
params?: unknown;
|
|
12640
|
-
};
|
|
12869
|
+
path: {
|
|
12870
|
+
id: string;
|
|
12641
12871
|
};
|
|
12872
|
+
cookie?: never;
|
|
12642
12873
|
};
|
|
12874
|
+
requestBody?: never;
|
|
12643
12875
|
responses: {
|
|
12644
12876
|
/** @description Successful response */
|
|
12645
12877
|
200: {
|
|
@@ -12649,19 +12881,16 @@ export interface operations {
|
|
|
12649
12881
|
content: {
|
|
12650
12882
|
"application/json": {
|
|
12651
12883
|
data: {
|
|
12652
|
-
|
|
12653
|
-
|
|
12654
|
-
|
|
12655
|
-
|
|
12884
|
+
/** Format: uuid */
|
|
12885
|
+
userId: string;
|
|
12886
|
+
email: string;
|
|
12887
|
+
firstName: string | null;
|
|
12888
|
+
lastName: string | null;
|
|
12656
12889
|
/** @enum {string} */
|
|
12657
|
-
status: "
|
|
12658
|
-
|
|
12659
|
-
|
|
12660
|
-
|
|
12661
|
-
rowNumber: number;
|
|
12662
|
-
message: string;
|
|
12663
|
-
}[];
|
|
12664
|
-
};
|
|
12890
|
+
status: "active" | "inactive" | "unconfirmed";
|
|
12891
|
+
lastInvitedAt: string | null;
|
|
12892
|
+
lastSeen: string | null;
|
|
12893
|
+
}[];
|
|
12665
12894
|
};
|
|
12666
12895
|
};
|
|
12667
12896
|
};
|
|
@@ -12747,18 +12976,24 @@ export interface operations {
|
|
|
12747
12976
|
};
|
|
12748
12977
|
};
|
|
12749
12978
|
};
|
|
12750
|
-
|
|
12979
|
+
postContactsByIdViewers: {
|
|
12751
12980
|
parameters: {
|
|
12752
|
-
query?:
|
|
12753
|
-
appId?: string;
|
|
12754
|
-
limit?: number;
|
|
12755
|
-
page?: number;
|
|
12756
|
-
};
|
|
12981
|
+
query?: never;
|
|
12757
12982
|
header?: never;
|
|
12758
|
-
path
|
|
12983
|
+
path: {
|
|
12984
|
+
id: string;
|
|
12985
|
+
};
|
|
12759
12986
|
cookie?: never;
|
|
12760
12987
|
};
|
|
12761
|
-
requestBody?:
|
|
12988
|
+
requestBody?: {
|
|
12989
|
+
content: {
|
|
12990
|
+
"application/json": {
|
|
12991
|
+
email: string;
|
|
12992
|
+
/** @default true */
|
|
12993
|
+
sendEmail?: boolean;
|
|
12994
|
+
};
|
|
12995
|
+
};
|
|
12996
|
+
};
|
|
12762
12997
|
responses: {
|
|
12763
12998
|
/** @description Successful response */
|
|
12764
12999
|
200: {
|
|
@@ -12767,77 +13002,549 @@ export interface operations {
|
|
|
12767
13002
|
};
|
|
12768
13003
|
content: {
|
|
12769
13004
|
"application/json": {
|
|
12770
|
-
|
|
13005
|
+
url: string;
|
|
13006
|
+
viewer: {
|
|
12771
13007
|
/** Format: uuid */
|
|
12772
|
-
|
|
12773
|
-
|
|
12774
|
-
|
|
12775
|
-
|
|
12776
|
-
/** @default false */
|
|
12777
|
-
useGlobalMapping: boolean;
|
|
12778
|
-
description?: string | null;
|
|
12779
|
-
/** @description Mapping schema configuration for this flow */
|
|
12780
|
-
mappingSchema: {
|
|
12781
|
-
[key: string]: {
|
|
12782
|
-
/** @description Title for UI/display */
|
|
12783
|
-
title: string;
|
|
12784
|
-
/** @description Description for UI/display */
|
|
12785
|
-
description: string;
|
|
12786
|
-
/** @description Optional internal left-side semantic type for internal-keyed mappings */
|
|
12787
|
-
type?: string;
|
|
12788
|
-
/** @description Internal system mapping configuration */
|
|
12789
|
-
internal?: {
|
|
12790
|
-
/**
|
|
12791
|
-
* @description Internal semantic type
|
|
12792
|
-
* @enum {string}
|
|
12793
|
-
*/
|
|
12794
|
-
type: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
12795
|
-
/** @description Optional JSONB filter for internal data */
|
|
12796
|
-
filter?: string;
|
|
12797
|
-
};
|
|
12798
|
-
/** @description External system mapping configuration */
|
|
12799
|
-
external?: {
|
|
12800
|
-
/** @description External type identifier (vendor/system specific) */
|
|
12801
|
-
type: string;
|
|
12802
|
-
/** @description Optional JSONB filter for external data */
|
|
12803
|
-
filter?: string;
|
|
12804
|
-
};
|
|
12805
|
-
};
|
|
12806
|
-
};
|
|
12807
|
-
/** @description Setting schema configuration for this flow */
|
|
12808
|
-
settingSchema: {
|
|
12809
|
-
[key: string]: {
|
|
12810
|
-
/** @description Title for UI/display */
|
|
12811
|
-
title: string;
|
|
12812
|
-
/** @description Description for UI/display */
|
|
12813
|
-
description: string;
|
|
12814
|
-
/**
|
|
12815
|
-
* @description Semantic type of the setting value
|
|
12816
|
-
* @enum {string}
|
|
12817
|
-
*/
|
|
12818
|
-
type?: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
12819
|
-
/** @description Optional JSONB filter for available values */
|
|
12820
|
-
filter?: string;
|
|
12821
|
-
/** @description External type identifier (vendor/system specific) for options */
|
|
12822
|
-
external?: string;
|
|
12823
|
-
};
|
|
12824
|
-
};
|
|
12825
|
-
/** @description Run schema configuration for this flow */
|
|
12826
|
-
runSchema: {
|
|
12827
|
-
/** @description Human readable description for date selection when triggering a run */
|
|
12828
|
-
dateDescription?: string;
|
|
12829
|
-
};
|
|
13008
|
+
userId: string;
|
|
13009
|
+
email: string;
|
|
13010
|
+
firstName: string | null;
|
|
13011
|
+
lastName: string | null;
|
|
12830
13012
|
/** @enum {string} */
|
|
12831
|
-
|
|
12832
|
-
|
|
12833
|
-
|
|
12834
|
-
|
|
12835
|
-
|
|
12836
|
-
|
|
12837
|
-
|
|
12838
|
-
|
|
12839
|
-
|
|
12840
|
-
|
|
13013
|
+
status: "active" | "inactive" | "unconfirmed";
|
|
13014
|
+
lastInvitedAt: string | null;
|
|
13015
|
+
lastSeen: string | null;
|
|
13016
|
+
};
|
|
13017
|
+
};
|
|
13018
|
+
};
|
|
13019
|
+
};
|
|
13020
|
+
/** @description Bad request */
|
|
13021
|
+
400: {
|
|
13022
|
+
headers: {
|
|
13023
|
+
[name: string]: unknown;
|
|
13024
|
+
};
|
|
13025
|
+
content: {
|
|
13026
|
+
"application/json": {
|
|
13027
|
+
code: string;
|
|
13028
|
+
message: string;
|
|
13029
|
+
issues?: {
|
|
13030
|
+
message: string;
|
|
13031
|
+
}[];
|
|
13032
|
+
context?: unknown;
|
|
13033
|
+
};
|
|
13034
|
+
};
|
|
13035
|
+
};
|
|
13036
|
+
/** @description Unauthorized */
|
|
13037
|
+
401: {
|
|
13038
|
+
headers: {
|
|
13039
|
+
[name: string]: unknown;
|
|
13040
|
+
};
|
|
13041
|
+
content: {
|
|
13042
|
+
"application/json": {
|
|
13043
|
+
code: string;
|
|
13044
|
+
message: string;
|
|
13045
|
+
issues?: {
|
|
13046
|
+
message: string;
|
|
13047
|
+
}[];
|
|
13048
|
+
context?: unknown;
|
|
13049
|
+
};
|
|
13050
|
+
};
|
|
13051
|
+
};
|
|
13052
|
+
/** @description Forbidden */
|
|
13053
|
+
403: {
|
|
13054
|
+
headers: {
|
|
13055
|
+
[name: string]: unknown;
|
|
13056
|
+
};
|
|
13057
|
+
content: {
|
|
13058
|
+
"application/json": {
|
|
13059
|
+
code: string;
|
|
13060
|
+
message: string;
|
|
13061
|
+
issues?: {
|
|
13062
|
+
message: string;
|
|
13063
|
+
}[];
|
|
13064
|
+
context?: unknown;
|
|
13065
|
+
};
|
|
13066
|
+
};
|
|
13067
|
+
};
|
|
13068
|
+
/** @description Not found */
|
|
13069
|
+
404: {
|
|
13070
|
+
headers: {
|
|
13071
|
+
[name: string]: unknown;
|
|
13072
|
+
};
|
|
13073
|
+
content: {
|
|
13074
|
+
"application/json": {
|
|
13075
|
+
code: string;
|
|
13076
|
+
message: string;
|
|
13077
|
+
issues?: {
|
|
13078
|
+
message: string;
|
|
13079
|
+
}[];
|
|
13080
|
+
context?: unknown;
|
|
13081
|
+
};
|
|
13082
|
+
};
|
|
13083
|
+
};
|
|
13084
|
+
/** @description Internal server error */
|
|
13085
|
+
500: {
|
|
13086
|
+
headers: {
|
|
13087
|
+
[name: string]: unknown;
|
|
13088
|
+
};
|
|
13089
|
+
content: {
|
|
13090
|
+
"application/json": {
|
|
13091
|
+
code: string;
|
|
13092
|
+
message: string;
|
|
13093
|
+
issues?: {
|
|
13094
|
+
message: string;
|
|
13095
|
+
}[];
|
|
13096
|
+
context?: unknown;
|
|
13097
|
+
};
|
|
13098
|
+
};
|
|
13099
|
+
};
|
|
13100
|
+
};
|
|
13101
|
+
};
|
|
13102
|
+
deleteContactsByIdViewersByUserId: {
|
|
13103
|
+
parameters: {
|
|
13104
|
+
query?: never;
|
|
13105
|
+
header?: never;
|
|
13106
|
+
path: {
|
|
13107
|
+
id: string;
|
|
13108
|
+
userId: string;
|
|
13109
|
+
};
|
|
13110
|
+
cookie?: never;
|
|
13111
|
+
};
|
|
13112
|
+
requestBody?: never;
|
|
13113
|
+
responses: {
|
|
13114
|
+
/** @description Successful response */
|
|
13115
|
+
200: {
|
|
13116
|
+
headers: {
|
|
13117
|
+
[name: string]: unknown;
|
|
13118
|
+
};
|
|
13119
|
+
content: {
|
|
13120
|
+
"application/json": {
|
|
13121
|
+
/** @constant */
|
|
13122
|
+
status: "deleted";
|
|
13123
|
+
};
|
|
13124
|
+
};
|
|
13125
|
+
};
|
|
13126
|
+
/** @description Bad request */
|
|
13127
|
+
400: {
|
|
13128
|
+
headers: {
|
|
13129
|
+
[name: string]: unknown;
|
|
13130
|
+
};
|
|
13131
|
+
content: {
|
|
13132
|
+
"application/json": {
|
|
13133
|
+
code: string;
|
|
13134
|
+
message: string;
|
|
13135
|
+
issues?: {
|
|
13136
|
+
message: string;
|
|
13137
|
+
}[];
|
|
13138
|
+
context?: unknown;
|
|
13139
|
+
};
|
|
13140
|
+
};
|
|
13141
|
+
};
|
|
13142
|
+
/** @description Unauthorized */
|
|
13143
|
+
401: {
|
|
13144
|
+
headers: {
|
|
13145
|
+
[name: string]: unknown;
|
|
13146
|
+
};
|
|
13147
|
+
content: {
|
|
13148
|
+
"application/json": {
|
|
13149
|
+
code: string;
|
|
13150
|
+
message: string;
|
|
13151
|
+
issues?: {
|
|
13152
|
+
message: string;
|
|
13153
|
+
}[];
|
|
13154
|
+
context?: unknown;
|
|
13155
|
+
};
|
|
13156
|
+
};
|
|
13157
|
+
};
|
|
13158
|
+
/** @description Forbidden */
|
|
13159
|
+
403: {
|
|
13160
|
+
headers: {
|
|
13161
|
+
[name: string]: unknown;
|
|
13162
|
+
};
|
|
13163
|
+
content: {
|
|
13164
|
+
"application/json": {
|
|
13165
|
+
code: string;
|
|
13166
|
+
message: string;
|
|
13167
|
+
issues?: {
|
|
13168
|
+
message: string;
|
|
13169
|
+
}[];
|
|
13170
|
+
context?: unknown;
|
|
13171
|
+
};
|
|
13172
|
+
};
|
|
13173
|
+
};
|
|
13174
|
+
/** @description Not found */
|
|
13175
|
+
404: {
|
|
13176
|
+
headers: {
|
|
13177
|
+
[name: string]: unknown;
|
|
13178
|
+
};
|
|
13179
|
+
content: {
|
|
13180
|
+
"application/json": {
|
|
13181
|
+
code: string;
|
|
13182
|
+
message: string;
|
|
13183
|
+
issues?: {
|
|
13184
|
+
message: string;
|
|
13185
|
+
}[];
|
|
13186
|
+
context?: unknown;
|
|
13187
|
+
};
|
|
13188
|
+
};
|
|
13189
|
+
};
|
|
13190
|
+
/** @description Internal server error */
|
|
13191
|
+
500: {
|
|
13192
|
+
headers: {
|
|
13193
|
+
[name: string]: unknown;
|
|
13194
|
+
};
|
|
13195
|
+
content: {
|
|
13196
|
+
"application/json": {
|
|
13197
|
+
code: string;
|
|
13198
|
+
message: string;
|
|
13199
|
+
issues?: {
|
|
13200
|
+
message: string;
|
|
13201
|
+
}[];
|
|
13202
|
+
context?: unknown;
|
|
13203
|
+
};
|
|
13204
|
+
};
|
|
13205
|
+
};
|
|
13206
|
+
};
|
|
13207
|
+
};
|
|
13208
|
+
patchContactsByIdViewersByUserIdInvite: {
|
|
13209
|
+
parameters: {
|
|
13210
|
+
query?: never;
|
|
13211
|
+
header?: never;
|
|
13212
|
+
path: {
|
|
13213
|
+
id: string;
|
|
13214
|
+
userId: string;
|
|
13215
|
+
};
|
|
13216
|
+
cookie?: never;
|
|
13217
|
+
};
|
|
13218
|
+
requestBody?: {
|
|
13219
|
+
content: {
|
|
13220
|
+
"application/json": {
|
|
13221
|
+
/** @default true */
|
|
13222
|
+
sendEmail?: boolean;
|
|
13223
|
+
};
|
|
13224
|
+
};
|
|
13225
|
+
};
|
|
13226
|
+
responses: {
|
|
13227
|
+
/** @description Successful response */
|
|
13228
|
+
200: {
|
|
13229
|
+
headers: {
|
|
13230
|
+
[name: string]: unknown;
|
|
13231
|
+
};
|
|
13232
|
+
content: {
|
|
13233
|
+
"application/json": {
|
|
13234
|
+
url: string;
|
|
13235
|
+
viewer: {
|
|
13236
|
+
/** Format: uuid */
|
|
13237
|
+
userId: string;
|
|
13238
|
+
email: string;
|
|
13239
|
+
firstName: string | null;
|
|
13240
|
+
lastName: string | null;
|
|
13241
|
+
/** @enum {string} */
|
|
13242
|
+
status: "active" | "inactive" | "unconfirmed";
|
|
13243
|
+
lastInvitedAt: string | null;
|
|
13244
|
+
lastSeen: string | null;
|
|
13245
|
+
};
|
|
13246
|
+
};
|
|
13247
|
+
};
|
|
13248
|
+
};
|
|
13249
|
+
/** @description Bad request */
|
|
13250
|
+
400: {
|
|
13251
|
+
headers: {
|
|
13252
|
+
[name: string]: unknown;
|
|
13253
|
+
};
|
|
13254
|
+
content: {
|
|
13255
|
+
"application/json": {
|
|
13256
|
+
code: string;
|
|
13257
|
+
message: string;
|
|
13258
|
+
issues?: {
|
|
13259
|
+
message: string;
|
|
13260
|
+
}[];
|
|
13261
|
+
context?: unknown;
|
|
13262
|
+
};
|
|
13263
|
+
};
|
|
13264
|
+
};
|
|
13265
|
+
/** @description Unauthorized */
|
|
13266
|
+
401: {
|
|
13267
|
+
headers: {
|
|
13268
|
+
[name: string]: unknown;
|
|
13269
|
+
};
|
|
13270
|
+
content: {
|
|
13271
|
+
"application/json": {
|
|
13272
|
+
code: string;
|
|
13273
|
+
message: string;
|
|
13274
|
+
issues?: {
|
|
13275
|
+
message: string;
|
|
13276
|
+
}[];
|
|
13277
|
+
context?: unknown;
|
|
13278
|
+
};
|
|
13279
|
+
};
|
|
13280
|
+
};
|
|
13281
|
+
/** @description Forbidden */
|
|
13282
|
+
403: {
|
|
13283
|
+
headers: {
|
|
13284
|
+
[name: string]: unknown;
|
|
13285
|
+
};
|
|
13286
|
+
content: {
|
|
13287
|
+
"application/json": {
|
|
13288
|
+
code: string;
|
|
13289
|
+
message: string;
|
|
13290
|
+
issues?: {
|
|
13291
|
+
message: string;
|
|
13292
|
+
}[];
|
|
13293
|
+
context?: unknown;
|
|
13294
|
+
};
|
|
13295
|
+
};
|
|
13296
|
+
};
|
|
13297
|
+
/** @description Not found */
|
|
13298
|
+
404: {
|
|
13299
|
+
headers: {
|
|
13300
|
+
[name: string]: unknown;
|
|
13301
|
+
};
|
|
13302
|
+
content: {
|
|
13303
|
+
"application/json": {
|
|
13304
|
+
code: string;
|
|
13305
|
+
message: string;
|
|
13306
|
+
issues?: {
|
|
13307
|
+
message: string;
|
|
13308
|
+
}[];
|
|
13309
|
+
context?: unknown;
|
|
13310
|
+
};
|
|
13311
|
+
};
|
|
13312
|
+
};
|
|
13313
|
+
/** @description Internal server error */
|
|
13314
|
+
500: {
|
|
13315
|
+
headers: {
|
|
13316
|
+
[name: string]: unknown;
|
|
13317
|
+
};
|
|
13318
|
+
content: {
|
|
13319
|
+
"application/json": {
|
|
13320
|
+
code: string;
|
|
13321
|
+
message: string;
|
|
13322
|
+
issues?: {
|
|
13323
|
+
message: string;
|
|
13324
|
+
}[];
|
|
13325
|
+
context?: unknown;
|
|
13326
|
+
};
|
|
13327
|
+
};
|
|
13328
|
+
};
|
|
13329
|
+
};
|
|
13330
|
+
};
|
|
13331
|
+
csvImport: {
|
|
13332
|
+
parameters: {
|
|
13333
|
+
query?: never;
|
|
13334
|
+
header?: never;
|
|
13335
|
+
path?: never;
|
|
13336
|
+
cookie?: never;
|
|
13337
|
+
};
|
|
13338
|
+
requestBody?: {
|
|
13339
|
+
content: {
|
|
13340
|
+
"application/json": {
|
|
13341
|
+
fileData?: string;
|
|
13342
|
+
fileUri?: string;
|
|
13343
|
+
fileName?: string;
|
|
13344
|
+
connectionId: string;
|
|
13345
|
+
uniqueRef: string;
|
|
13346
|
+
params?: unknown;
|
|
13347
|
+
};
|
|
13348
|
+
};
|
|
13349
|
+
};
|
|
13350
|
+
responses: {
|
|
13351
|
+
/** @description Successful response */
|
|
13352
|
+
200: {
|
|
13353
|
+
headers: {
|
|
13354
|
+
[name: string]: unknown;
|
|
13355
|
+
};
|
|
13356
|
+
content: {
|
|
13357
|
+
"application/json": {
|
|
13358
|
+
data: {
|
|
13359
|
+
syncId: string;
|
|
13360
|
+
/** @enum {string} */
|
|
13361
|
+
status: "completed";
|
|
13362
|
+
} | {
|
|
13363
|
+
/** @enum {string} */
|
|
13364
|
+
status: "failed";
|
|
13365
|
+
syncId: string;
|
|
13366
|
+
error: string;
|
|
13367
|
+
parseErrors?: {
|
|
13368
|
+
rowNumber: number;
|
|
13369
|
+
message: string;
|
|
13370
|
+
}[];
|
|
13371
|
+
};
|
|
13372
|
+
};
|
|
13373
|
+
};
|
|
13374
|
+
};
|
|
13375
|
+
/** @description Bad request */
|
|
13376
|
+
400: {
|
|
13377
|
+
headers: {
|
|
13378
|
+
[name: string]: unknown;
|
|
13379
|
+
};
|
|
13380
|
+
content: {
|
|
13381
|
+
"application/json": {
|
|
13382
|
+
code: string;
|
|
13383
|
+
message: string;
|
|
13384
|
+
issues?: {
|
|
13385
|
+
message: string;
|
|
13386
|
+
}[];
|
|
13387
|
+
context?: unknown;
|
|
13388
|
+
};
|
|
13389
|
+
};
|
|
13390
|
+
};
|
|
13391
|
+
/** @description Unauthorized */
|
|
13392
|
+
401: {
|
|
13393
|
+
headers: {
|
|
13394
|
+
[name: string]: unknown;
|
|
13395
|
+
};
|
|
13396
|
+
content: {
|
|
13397
|
+
"application/json": {
|
|
13398
|
+
code: string;
|
|
13399
|
+
message: string;
|
|
13400
|
+
issues?: {
|
|
13401
|
+
message: string;
|
|
13402
|
+
}[];
|
|
13403
|
+
context?: unknown;
|
|
13404
|
+
};
|
|
13405
|
+
};
|
|
13406
|
+
};
|
|
13407
|
+
/** @description Forbidden */
|
|
13408
|
+
403: {
|
|
13409
|
+
headers: {
|
|
13410
|
+
[name: string]: unknown;
|
|
13411
|
+
};
|
|
13412
|
+
content: {
|
|
13413
|
+
"application/json": {
|
|
13414
|
+
code: string;
|
|
13415
|
+
message: string;
|
|
13416
|
+
issues?: {
|
|
13417
|
+
message: string;
|
|
13418
|
+
}[];
|
|
13419
|
+
context?: unknown;
|
|
13420
|
+
};
|
|
13421
|
+
};
|
|
13422
|
+
};
|
|
13423
|
+
/** @description Not found */
|
|
13424
|
+
404: {
|
|
13425
|
+
headers: {
|
|
13426
|
+
[name: string]: unknown;
|
|
13427
|
+
};
|
|
13428
|
+
content: {
|
|
13429
|
+
"application/json": {
|
|
13430
|
+
code: string;
|
|
13431
|
+
message: string;
|
|
13432
|
+
issues?: {
|
|
13433
|
+
message: string;
|
|
13434
|
+
}[];
|
|
13435
|
+
context?: unknown;
|
|
13436
|
+
};
|
|
13437
|
+
};
|
|
13438
|
+
};
|
|
13439
|
+
/** @description Internal server error */
|
|
13440
|
+
500: {
|
|
13441
|
+
headers: {
|
|
13442
|
+
[name: string]: unknown;
|
|
13443
|
+
};
|
|
13444
|
+
content: {
|
|
13445
|
+
"application/json": {
|
|
13446
|
+
code: string;
|
|
13447
|
+
message: string;
|
|
13448
|
+
issues?: {
|
|
13449
|
+
message: string;
|
|
13450
|
+
}[];
|
|
13451
|
+
context?: unknown;
|
|
13452
|
+
};
|
|
13453
|
+
};
|
|
13454
|
+
};
|
|
13455
|
+
};
|
|
13456
|
+
};
|
|
13457
|
+
getFlows: {
|
|
13458
|
+
parameters: {
|
|
13459
|
+
query?: {
|
|
13460
|
+
appId?: string;
|
|
13461
|
+
limit?: number;
|
|
13462
|
+
page?: number;
|
|
13463
|
+
};
|
|
13464
|
+
header?: never;
|
|
13465
|
+
path?: never;
|
|
13466
|
+
cookie?: never;
|
|
13467
|
+
};
|
|
13468
|
+
requestBody?: never;
|
|
13469
|
+
responses: {
|
|
13470
|
+
/** @description Successful response */
|
|
13471
|
+
200: {
|
|
13472
|
+
headers: {
|
|
13473
|
+
[name: string]: unknown;
|
|
13474
|
+
};
|
|
13475
|
+
content: {
|
|
13476
|
+
"application/json": {
|
|
13477
|
+
data: {
|
|
13478
|
+
/** Format: uuid */
|
|
13479
|
+
id: string;
|
|
13480
|
+
title: string;
|
|
13481
|
+
appId: string;
|
|
13482
|
+
isPublic: boolean;
|
|
13483
|
+
/** @default false */
|
|
13484
|
+
useGlobalMapping: boolean;
|
|
13485
|
+
description?: string | null;
|
|
13486
|
+
/** @description Mapping schema configuration for this flow */
|
|
13487
|
+
mappingSchema: {
|
|
13488
|
+
[key: string]: {
|
|
13489
|
+
/** @description Title for UI/display */
|
|
13490
|
+
title: string;
|
|
13491
|
+
/** @description Description for UI/display */
|
|
13492
|
+
description: string;
|
|
13493
|
+
/** @description Optional internal left-side semantic type for internal-keyed mappings */
|
|
13494
|
+
type?: string;
|
|
13495
|
+
/** @description Internal system mapping configuration */
|
|
13496
|
+
internal?: {
|
|
13497
|
+
/**
|
|
13498
|
+
* @description Internal semantic type
|
|
13499
|
+
* @enum {string}
|
|
13500
|
+
*/
|
|
13501
|
+
type: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
13502
|
+
/** @description Optional JSONB filter for internal data */
|
|
13503
|
+
filter?: string;
|
|
13504
|
+
};
|
|
13505
|
+
/** @description External system mapping configuration */
|
|
13506
|
+
external?: {
|
|
13507
|
+
/** @description External type identifier (vendor/system specific) */
|
|
13508
|
+
type: string;
|
|
13509
|
+
/** @description Optional JSONB filter for external data */
|
|
13510
|
+
filter?: string;
|
|
13511
|
+
};
|
|
13512
|
+
};
|
|
13513
|
+
};
|
|
13514
|
+
/** @description Setting schema configuration for this flow */
|
|
13515
|
+
settingSchema: {
|
|
13516
|
+
[key: string]: {
|
|
13517
|
+
/** @description Title for UI/display */
|
|
13518
|
+
title: string;
|
|
13519
|
+
/** @description Description for UI/display */
|
|
13520
|
+
description: string;
|
|
13521
|
+
/**
|
|
13522
|
+
* @description Semantic type of the setting value
|
|
13523
|
+
* @enum {string}
|
|
13524
|
+
*/
|
|
13525
|
+
type?: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
13526
|
+
/** @description Optional JSONB filter for available values */
|
|
13527
|
+
filter?: string;
|
|
13528
|
+
/** @description External type identifier (vendor/system specific) for options */
|
|
13529
|
+
external?: string;
|
|
13530
|
+
};
|
|
13531
|
+
};
|
|
13532
|
+
/** @description Run schema configuration for this flow */
|
|
13533
|
+
runSchema: {
|
|
13534
|
+
/** @description Human readable description for date selection when triggering a run */
|
|
13535
|
+
dateDescription?: string;
|
|
13536
|
+
};
|
|
13537
|
+
/** @enum {string} */
|
|
13538
|
+
type?: "push" | "pull";
|
|
13539
|
+
}[];
|
|
13540
|
+
pagination: {
|
|
13541
|
+
/** @default 100 */
|
|
13542
|
+
limit: number;
|
|
13543
|
+
/** @default 1 */
|
|
13544
|
+
page: number;
|
|
13545
|
+
total: number;
|
|
13546
|
+
totalPage: number;
|
|
13547
|
+
nextPage?: number;
|
|
12841
13548
|
};
|
|
12842
13549
|
};
|
|
12843
13550
|
};
|
|
@@ -13113,6 +13820,150 @@ export interface operations {
|
|
|
13113
13820
|
connectionId: string;
|
|
13114
13821
|
title: string;
|
|
13115
13822
|
description: string | null;
|
|
13823
|
+
/** @enum {string} */
|
|
13824
|
+
status: "active" | "inactive";
|
|
13825
|
+
settings: {
|
|
13826
|
+
/** Format: uuid */
|
|
13827
|
+
id: string;
|
|
13828
|
+
/** Format: uuid */
|
|
13829
|
+
flowId: string;
|
|
13830
|
+
/** Format: uuid */
|
|
13831
|
+
connectionId: string;
|
|
13832
|
+
settingKey: string;
|
|
13833
|
+
title: string | null;
|
|
13834
|
+
description: string | null;
|
|
13835
|
+
type?: ("listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date") | null;
|
|
13836
|
+
filter: string | null;
|
|
13837
|
+
/** @description Resolved mapping entity summary ({ id, name, type }) returned by endpoints. */
|
|
13838
|
+
value: {
|
|
13839
|
+
id: string | number;
|
|
13840
|
+
name: string;
|
|
13841
|
+
/**
|
|
13842
|
+
* @description Semantic type for mapping/setting entries (entities and primitive kinds).
|
|
13843
|
+
* @enum {string}
|
|
13844
|
+
*/
|
|
13845
|
+
type: "listing" | "account" | "bank_account" | "booking_channel" | "contact_vendor" | "contact_owner" | "rate" | "value_number" | "value_boolean" | "value_percentage" | "value_string" | "value_currency" | "value_date";
|
|
13846
|
+
};
|
|
13847
|
+
}[];
|
|
13848
|
+
};
|
|
13849
|
+
};
|
|
13850
|
+
};
|
|
13851
|
+
/** @description Bad request */
|
|
13852
|
+
400: {
|
|
13853
|
+
headers: {
|
|
13854
|
+
[name: string]: unknown;
|
|
13855
|
+
};
|
|
13856
|
+
content: {
|
|
13857
|
+
"application/json": {
|
|
13858
|
+
code: string;
|
|
13859
|
+
message: string;
|
|
13860
|
+
issues?: {
|
|
13861
|
+
message: string;
|
|
13862
|
+
}[];
|
|
13863
|
+
context?: unknown;
|
|
13864
|
+
};
|
|
13865
|
+
};
|
|
13866
|
+
};
|
|
13867
|
+
/** @description Unauthorized */
|
|
13868
|
+
401: {
|
|
13869
|
+
headers: {
|
|
13870
|
+
[name: string]: unknown;
|
|
13871
|
+
};
|
|
13872
|
+
content: {
|
|
13873
|
+
"application/json": {
|
|
13874
|
+
code: string;
|
|
13875
|
+
message: string;
|
|
13876
|
+
issues?: {
|
|
13877
|
+
message: string;
|
|
13878
|
+
}[];
|
|
13879
|
+
context?: unknown;
|
|
13880
|
+
};
|
|
13881
|
+
};
|
|
13882
|
+
};
|
|
13883
|
+
/** @description Forbidden */
|
|
13884
|
+
403: {
|
|
13885
|
+
headers: {
|
|
13886
|
+
[name: string]: unknown;
|
|
13887
|
+
};
|
|
13888
|
+
content: {
|
|
13889
|
+
"application/json": {
|
|
13890
|
+
code: string;
|
|
13891
|
+
message: string;
|
|
13892
|
+
issues?: {
|
|
13893
|
+
message: string;
|
|
13894
|
+
}[];
|
|
13895
|
+
context?: unknown;
|
|
13896
|
+
};
|
|
13897
|
+
};
|
|
13898
|
+
};
|
|
13899
|
+
/** @description Not found */
|
|
13900
|
+
404: {
|
|
13901
|
+
headers: {
|
|
13902
|
+
[name: string]: unknown;
|
|
13903
|
+
};
|
|
13904
|
+
content: {
|
|
13905
|
+
"application/json": {
|
|
13906
|
+
code: string;
|
|
13907
|
+
message: string;
|
|
13908
|
+
issues?: {
|
|
13909
|
+
message: string;
|
|
13910
|
+
}[];
|
|
13911
|
+
context?: unknown;
|
|
13912
|
+
};
|
|
13913
|
+
};
|
|
13914
|
+
};
|
|
13915
|
+
/** @description Internal server error */
|
|
13916
|
+
500: {
|
|
13917
|
+
headers: {
|
|
13918
|
+
[name: string]: unknown;
|
|
13919
|
+
};
|
|
13920
|
+
content: {
|
|
13921
|
+
"application/json": {
|
|
13922
|
+
code: string;
|
|
13923
|
+
message: string;
|
|
13924
|
+
issues?: {
|
|
13925
|
+
message: string;
|
|
13926
|
+
}[];
|
|
13927
|
+
context?: unknown;
|
|
13928
|
+
};
|
|
13929
|
+
};
|
|
13930
|
+
};
|
|
13931
|
+
};
|
|
13932
|
+
};
|
|
13933
|
+
setFlowStatus: {
|
|
13934
|
+
parameters: {
|
|
13935
|
+
query?: never;
|
|
13936
|
+
header?: never;
|
|
13937
|
+
path: {
|
|
13938
|
+
id: string;
|
|
13939
|
+
connectionId: string;
|
|
13940
|
+
};
|
|
13941
|
+
cookie?: never;
|
|
13942
|
+
};
|
|
13943
|
+
requestBody?: {
|
|
13944
|
+
content: {
|
|
13945
|
+
"application/json": {
|
|
13946
|
+
/** @enum {string} */
|
|
13947
|
+
status: "active" | "inactive";
|
|
13948
|
+
};
|
|
13949
|
+
};
|
|
13950
|
+
};
|
|
13951
|
+
responses: {
|
|
13952
|
+
/** @description Successful response */
|
|
13953
|
+
200: {
|
|
13954
|
+
headers: {
|
|
13955
|
+
[name: string]: unknown;
|
|
13956
|
+
};
|
|
13957
|
+
content: {
|
|
13958
|
+
"application/json": {
|
|
13959
|
+
/** Format: uuid */
|
|
13960
|
+
id: string;
|
|
13961
|
+
/** Format: uuid */
|
|
13962
|
+
connectionId: string;
|
|
13963
|
+
title: string;
|
|
13964
|
+
description: string | null;
|
|
13965
|
+
/** @enum {string} */
|
|
13966
|
+
status: "active" | "inactive";
|
|
13116
13967
|
settings: {
|
|
13117
13968
|
/** Format: uuid */
|
|
13118
13969
|
id: string;
|
|
@@ -15726,6 +16577,8 @@ export interface operations {
|
|
|
15726
16577
|
ids?: string;
|
|
15727
16578
|
search?: string;
|
|
15728
16579
|
contactId?: string;
|
|
16580
|
+
/** @description Filter listings by ownership period ID. */
|
|
16581
|
+
ownershipPeriodId?: string;
|
|
15729
16582
|
/** @description Comma-separated listing short refs. */
|
|
15730
16583
|
shortRefs?: string;
|
|
15731
16584
|
/** @description Filter listings by whether they currently have an active ownership period. */
|
|
@@ -15771,6 +16624,8 @@ export interface operations {
|
|
|
15771
16624
|
/** Format: uuid */
|
|
15772
16625
|
id: string;
|
|
15773
16626
|
shortRef?: string | null;
|
|
16627
|
+
title?: string | null;
|
|
16628
|
+
pmsName?: string | null;
|
|
15774
16629
|
/** @enum {string} */
|
|
15775
16630
|
status: "active" | "inactive";
|
|
15776
16631
|
activeOwnership?: {
|
|
@@ -15781,8 +16636,20 @@ export interface operations {
|
|
|
15781
16636
|
/** @description Value in cents (100 = 1€) */
|
|
15782
16637
|
reserve: number;
|
|
15783
16638
|
members: {
|
|
15784
|
-
contactId?: string | null;
|
|
15785
16639
|
split?: number | null;
|
|
16640
|
+
/** Format: uuid */
|
|
16641
|
+
id: string;
|
|
16642
|
+
contact?: {
|
|
16643
|
+
/** Format: uuid */
|
|
16644
|
+
id: string;
|
|
16645
|
+
name?: string | null;
|
|
16646
|
+
firstName?: string | null;
|
|
16647
|
+
uniqueRef?: string | null;
|
|
16648
|
+
shortRef?: string | null;
|
|
16649
|
+
email?: string | null;
|
|
16650
|
+
/** @enum {string} */
|
|
16651
|
+
type: "owner" | "vendor";
|
|
16652
|
+
} | null;
|
|
15786
16653
|
}[];
|
|
15787
16654
|
setListingInactive?: boolean | null;
|
|
15788
16655
|
/** @enum {string} */
|
|
@@ -16039,6 +16906,8 @@ export interface operations {
|
|
|
16039
16906
|
/** Format: uuid */
|
|
16040
16907
|
id: string;
|
|
16041
16908
|
shortRef?: string | null;
|
|
16909
|
+
title?: string | null;
|
|
16910
|
+
pmsName?: string | null;
|
|
16042
16911
|
/** @enum {string} */
|
|
16043
16912
|
status: "active" | "inactive";
|
|
16044
16913
|
activeOwnership?: {
|
|
@@ -16049,8 +16918,20 @@ export interface operations {
|
|
|
16049
16918
|
/** @description Value in cents (100 = 1€) */
|
|
16050
16919
|
reserve: number;
|
|
16051
16920
|
members: {
|
|
16052
|
-
contactId?: string | null;
|
|
16053
16921
|
split?: number | null;
|
|
16922
|
+
/** Format: uuid */
|
|
16923
|
+
id: string;
|
|
16924
|
+
contact?: {
|
|
16925
|
+
/** Format: uuid */
|
|
16926
|
+
id: string;
|
|
16927
|
+
name?: string | null;
|
|
16928
|
+
firstName?: string | null;
|
|
16929
|
+
uniqueRef?: string | null;
|
|
16930
|
+
shortRef?: string | null;
|
|
16931
|
+
email?: string | null;
|
|
16932
|
+
/** @enum {string} */
|
|
16933
|
+
type: "owner" | "vendor";
|
|
16934
|
+
} | null;
|
|
16054
16935
|
}[];
|
|
16055
16936
|
setListingInactive?: boolean | null;
|
|
16056
16937
|
/** @enum {string} */
|
|
@@ -16362,6 +17243,8 @@ export interface operations {
|
|
|
16362
17243
|
ids?: string;
|
|
16363
17244
|
search?: string;
|
|
16364
17245
|
contactId?: string;
|
|
17246
|
+
/** @description Filter listings by ownership period ID. */
|
|
17247
|
+
ownershipPeriodId?: string;
|
|
16365
17248
|
/** @description Comma-separated listing short refs. */
|
|
16366
17249
|
shortRefs?: string;
|
|
16367
17250
|
/** @description Filter listings by whether they currently have an active ownership period. */
|
|
@@ -16481,6 +17364,8 @@ export interface operations {
|
|
|
16481
17364
|
ids?: string;
|
|
16482
17365
|
search?: string;
|
|
16483
17366
|
contactId?: string;
|
|
17367
|
+
/** @description Filter listings by ownership period ID. */
|
|
17368
|
+
ownershipPeriodId?: string;
|
|
16484
17369
|
/** @description Comma-separated listing short refs. */
|
|
16485
17370
|
shortRefs?: string;
|
|
16486
17371
|
/** @description Filter listings by whether they currently have an active ownership period. */
|
|
@@ -16655,8 +17540,20 @@ export interface operations {
|
|
|
16655
17540
|
/** @description Value in cents (100 = 1€) */
|
|
16656
17541
|
reserve: number;
|
|
16657
17542
|
members: {
|
|
16658
|
-
contactId?: string | null;
|
|
16659
17543
|
split?: number | null;
|
|
17544
|
+
/** Format: uuid */
|
|
17545
|
+
id: string;
|
|
17546
|
+
contact?: {
|
|
17547
|
+
/** Format: uuid */
|
|
17548
|
+
id: string;
|
|
17549
|
+
name?: string | null;
|
|
17550
|
+
firstName?: string | null;
|
|
17551
|
+
uniqueRef?: string | null;
|
|
17552
|
+
shortRef?: string | null;
|
|
17553
|
+
email?: string | null;
|
|
17554
|
+
/** @enum {string} */
|
|
17555
|
+
type: "owner" | "vendor";
|
|
17556
|
+
} | null;
|
|
16660
17557
|
}[];
|
|
16661
17558
|
/** Format: uuid */
|
|
16662
17559
|
id: string;
|
|
@@ -16797,8 +17694,20 @@ export interface operations {
|
|
|
16797
17694
|
/** @description Value in cents (100 = 1€) */
|
|
16798
17695
|
reserve: number;
|
|
16799
17696
|
members: {
|
|
16800
|
-
contactId?: string | null;
|
|
16801
17697
|
split?: number | null;
|
|
17698
|
+
/** Format: uuid */
|
|
17699
|
+
id: string;
|
|
17700
|
+
contact?: {
|
|
17701
|
+
/** Format: uuid */
|
|
17702
|
+
id: string;
|
|
17703
|
+
name?: string | null;
|
|
17704
|
+
firstName?: string | null;
|
|
17705
|
+
uniqueRef?: string | null;
|
|
17706
|
+
shortRef?: string | null;
|
|
17707
|
+
email?: string | null;
|
|
17708
|
+
/** @enum {string} */
|
|
17709
|
+
type: "owner" | "vendor";
|
|
17710
|
+
} | null;
|
|
16802
17711
|
}[];
|
|
16803
17712
|
/** Format: uuid */
|
|
16804
17713
|
id: string;
|
|
@@ -16914,8 +17823,20 @@ export interface operations {
|
|
|
16914
17823
|
/** @description Value in cents (100 = 1€) */
|
|
16915
17824
|
reserve: number;
|
|
16916
17825
|
members: {
|
|
16917
|
-
contactId?: string | null;
|
|
16918
17826
|
split?: number | null;
|
|
17827
|
+
/** Format: uuid */
|
|
17828
|
+
id: string;
|
|
17829
|
+
contact?: {
|
|
17830
|
+
/** Format: uuid */
|
|
17831
|
+
id: string;
|
|
17832
|
+
name?: string | null;
|
|
17833
|
+
firstName?: string | null;
|
|
17834
|
+
uniqueRef?: string | null;
|
|
17835
|
+
shortRef?: string | null;
|
|
17836
|
+
email?: string | null;
|
|
17837
|
+
/** @enum {string} */
|
|
17838
|
+
type: "owner" | "vendor";
|
|
17839
|
+
} | null;
|
|
16919
17840
|
}[];
|
|
16920
17841
|
/** Format: uuid */
|
|
16921
17842
|
id: string;
|
|
@@ -17048,8 +17969,20 @@ export interface operations {
|
|
|
17048
17969
|
/** @description Value in cents (100 = 1€) */
|
|
17049
17970
|
reserve: number;
|
|
17050
17971
|
members: {
|
|
17051
|
-
contactId?: string | null;
|
|
17052
17972
|
split?: number | null;
|
|
17973
|
+
/** Format: uuid */
|
|
17974
|
+
id: string;
|
|
17975
|
+
contact?: {
|
|
17976
|
+
/** Format: uuid */
|
|
17977
|
+
id: string;
|
|
17978
|
+
name?: string | null;
|
|
17979
|
+
firstName?: string | null;
|
|
17980
|
+
uniqueRef?: string | null;
|
|
17981
|
+
shortRef?: string | null;
|
|
17982
|
+
email?: string | null;
|
|
17983
|
+
/** @enum {string} */
|
|
17984
|
+
type: "owner" | "vendor";
|
|
17985
|
+
} | null;
|
|
17053
17986
|
}[];
|
|
17054
17987
|
/** Format: uuid */
|
|
17055
17988
|
id: string;
|
|
@@ -17286,6 +18219,282 @@ export interface operations {
|
|
|
17286
18219
|
/** Format: uuid */
|
|
17287
18220
|
id: string;
|
|
17288
18221
|
shortRef?: string | null;
|
|
18222
|
+
title?: string | null;
|
|
18223
|
+
pmsName?: string | null;
|
|
18224
|
+
/** @enum {string} */
|
|
18225
|
+
status: "active" | "inactive";
|
|
18226
|
+
activeOwnership?: {
|
|
18227
|
+
/** Format: uuid */
|
|
18228
|
+
id: string;
|
|
18229
|
+
startAt: string;
|
|
18230
|
+
endAt?: string | null;
|
|
18231
|
+
/** @description Value in cents (100 = 1€) */
|
|
18232
|
+
reserve: number;
|
|
18233
|
+
members: {
|
|
18234
|
+
split?: number | null;
|
|
18235
|
+
/** Format: uuid */
|
|
18236
|
+
id: string;
|
|
18237
|
+
contact?: {
|
|
18238
|
+
/** Format: uuid */
|
|
18239
|
+
id: string;
|
|
18240
|
+
name?: string | null;
|
|
18241
|
+
firstName?: string | null;
|
|
18242
|
+
uniqueRef?: string | null;
|
|
18243
|
+
shortRef?: string | null;
|
|
18244
|
+
email?: string | null;
|
|
18245
|
+
/** @enum {string} */
|
|
18246
|
+
type: "owner" | "vendor";
|
|
18247
|
+
} | null;
|
|
18248
|
+
}[];
|
|
18249
|
+
setListingInactive?: boolean | null;
|
|
18250
|
+
/** @enum {string} */
|
|
18251
|
+
businessModel: "managed" | "co_host" | "co_host_airbnb";
|
|
18252
|
+
lock?: {
|
|
18253
|
+
/** @enum {string} */
|
|
18254
|
+
status: "locked" | "unlocked";
|
|
18255
|
+
booksClosed?: {
|
|
18256
|
+
date: string;
|
|
18257
|
+
} | null;
|
|
18258
|
+
ownerStatement?: {
|
|
18259
|
+
ids: string[];
|
|
18260
|
+
} | null;
|
|
18261
|
+
reconciled?: {
|
|
18262
|
+
bankRecordIds: string[];
|
|
18263
|
+
} | null;
|
|
18264
|
+
statementPeriod?: {
|
|
18265
|
+
hits: {
|
|
18266
|
+
/** Format: uuid */
|
|
18267
|
+
listingId: string;
|
|
18268
|
+
txnAt: string;
|
|
18269
|
+
openFrom: string;
|
|
18270
|
+
}[];
|
|
18271
|
+
} | null;
|
|
18272
|
+
} | null;
|
|
18273
|
+
} | null;
|
|
18274
|
+
activeRecurringFeePeriods?: {
|
|
18275
|
+
startAt?: string | null;
|
|
18276
|
+
endAt?: string | null;
|
|
18277
|
+
rate?: number | null;
|
|
18278
|
+
/** Format: uuid */
|
|
18279
|
+
id: string;
|
|
18280
|
+
recurringFee: {
|
|
18281
|
+
id: string;
|
|
18282
|
+
name: string;
|
|
18283
|
+
/** @enum {string} */
|
|
18284
|
+
type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
|
|
18285
|
+
rateType?: ("flat" | "percentage") | null;
|
|
18286
|
+
defaultRate?: number | null;
|
|
18287
|
+
};
|
|
18288
|
+
}[] | null;
|
|
18289
|
+
source?: {
|
|
18290
|
+
/** Format: uuid */
|
|
18291
|
+
id: string;
|
|
18292
|
+
type: string;
|
|
18293
|
+
status?: ("active" | "inactive") | null;
|
|
18294
|
+
appId?: string | null;
|
|
18295
|
+
appIcon?: string | null;
|
|
18296
|
+
} | null;
|
|
18297
|
+
upcomingDeactivation: {
|
|
18298
|
+
/** @enum {string} */
|
|
18299
|
+
status: "active" | "disable-upcoming" | "disabled-ending" | "disabled-forever";
|
|
18300
|
+
period: {
|
|
18301
|
+
id: string;
|
|
18302
|
+
startAt: string;
|
|
18303
|
+
endAt: string | null;
|
|
18304
|
+
} | null;
|
|
18305
|
+
};
|
|
18306
|
+
issues: ({
|
|
18307
|
+
/** @constant */
|
|
18308
|
+
code: "missingOwnershipOrDeactivation";
|
|
18309
|
+
/** @constant */
|
|
18310
|
+
severity: "warning";
|
|
18311
|
+
context: Record<string, never>;
|
|
18312
|
+
} | {
|
|
18313
|
+
/** @constant */
|
|
18314
|
+
code: "missingFeesAndCommission";
|
|
18315
|
+
/** @constant */
|
|
18316
|
+
severity: "warning";
|
|
18317
|
+
context: Record<string, never>;
|
|
18318
|
+
} | {
|
|
18319
|
+
/** @constant */
|
|
18320
|
+
code: "missingOpeningBalance";
|
|
18321
|
+
/** @constant */
|
|
18322
|
+
severity: "warning";
|
|
18323
|
+
context: Record<string, never>;
|
|
18324
|
+
})[];
|
|
18325
|
+
};
|
|
18326
|
+
};
|
|
18327
|
+
};
|
|
18328
|
+
/** @description Bad request */
|
|
18329
|
+
400: {
|
|
18330
|
+
headers: {
|
|
18331
|
+
[name: string]: unknown;
|
|
18332
|
+
};
|
|
18333
|
+
content: {
|
|
18334
|
+
"application/json": {
|
|
18335
|
+
code: string;
|
|
18336
|
+
message: string;
|
|
18337
|
+
issues?: {
|
|
18338
|
+
message: string;
|
|
18339
|
+
}[];
|
|
18340
|
+
context?: unknown;
|
|
18341
|
+
};
|
|
18342
|
+
};
|
|
18343
|
+
};
|
|
18344
|
+
/** @description Unauthorized */
|
|
18345
|
+
401: {
|
|
18346
|
+
headers: {
|
|
18347
|
+
[name: string]: unknown;
|
|
18348
|
+
};
|
|
18349
|
+
content: {
|
|
18350
|
+
"application/json": {
|
|
18351
|
+
code: string;
|
|
18352
|
+
message: string;
|
|
18353
|
+
issues?: {
|
|
18354
|
+
message: string;
|
|
18355
|
+
}[];
|
|
18356
|
+
context?: unknown;
|
|
18357
|
+
};
|
|
18358
|
+
};
|
|
18359
|
+
};
|
|
18360
|
+
/** @description Forbidden */
|
|
18361
|
+
403: {
|
|
18362
|
+
headers: {
|
|
18363
|
+
[name: string]: unknown;
|
|
18364
|
+
};
|
|
18365
|
+
content: {
|
|
18366
|
+
"application/json": {
|
|
18367
|
+
code: string;
|
|
18368
|
+
message: string;
|
|
18369
|
+
issues?: {
|
|
18370
|
+
message: string;
|
|
18371
|
+
}[];
|
|
18372
|
+
context?: unknown;
|
|
18373
|
+
};
|
|
18374
|
+
};
|
|
18375
|
+
};
|
|
18376
|
+
/** @description Not found */
|
|
18377
|
+
404: {
|
|
18378
|
+
headers: {
|
|
18379
|
+
[name: string]: unknown;
|
|
18380
|
+
};
|
|
18381
|
+
content: {
|
|
18382
|
+
"application/json": {
|
|
18383
|
+
code: string;
|
|
18384
|
+
message: string;
|
|
18385
|
+
issues?: {
|
|
18386
|
+
message: string;
|
|
18387
|
+
}[];
|
|
18388
|
+
context?: unknown;
|
|
18389
|
+
};
|
|
18390
|
+
};
|
|
18391
|
+
};
|
|
18392
|
+
/** @description Internal server error */
|
|
18393
|
+
500: {
|
|
18394
|
+
headers: {
|
|
18395
|
+
[name: string]: unknown;
|
|
18396
|
+
};
|
|
18397
|
+
content: {
|
|
18398
|
+
"application/json": {
|
|
18399
|
+
code: string;
|
|
18400
|
+
message: string;
|
|
18401
|
+
issues?: {
|
|
18402
|
+
message: string;
|
|
18403
|
+
}[];
|
|
18404
|
+
context?: unknown;
|
|
18405
|
+
};
|
|
18406
|
+
};
|
|
18407
|
+
};
|
|
18408
|
+
};
|
|
18409
|
+
};
|
|
18410
|
+
putListingsById: {
|
|
18411
|
+
parameters: {
|
|
18412
|
+
query?: {
|
|
18413
|
+
dryRun?: boolean;
|
|
18414
|
+
};
|
|
18415
|
+
header?: never;
|
|
18416
|
+
path: {
|
|
18417
|
+
id: string;
|
|
18418
|
+
};
|
|
18419
|
+
cookie?: never;
|
|
18420
|
+
};
|
|
18421
|
+
requestBody?: {
|
|
18422
|
+
content: {
|
|
18423
|
+
"application/json": {
|
|
18424
|
+
name?: string | null;
|
|
18425
|
+
uniqueRef?: string | null;
|
|
18426
|
+
connectionId?: string | null;
|
|
18427
|
+
defaultCurrency?: string | null;
|
|
18428
|
+
address?: {
|
|
18429
|
+
full?: string | null;
|
|
18430
|
+
line1?: string | null;
|
|
18431
|
+
line2?: string | null;
|
|
18432
|
+
city?: string | null;
|
|
18433
|
+
/** @description Deprecated, use stateCode instead */
|
|
18434
|
+
state?: string | null;
|
|
18435
|
+
postalCode?: string | null;
|
|
18436
|
+
stateCode?: string | null;
|
|
18437
|
+
countryCode?: string | null;
|
|
18438
|
+
} | null;
|
|
18439
|
+
sourceId?: string | null;
|
|
18440
|
+
activeRecurringFeePeriods?: {
|
|
18441
|
+
startAt?: string | null;
|
|
18442
|
+
endAt?: string | null;
|
|
18443
|
+
rate?: number | null;
|
|
18444
|
+
/** Format: uuid */
|
|
18445
|
+
id: string;
|
|
18446
|
+
recurringFee: {
|
|
18447
|
+
id: string;
|
|
18448
|
+
name: string;
|
|
18449
|
+
/** @enum {string} */
|
|
18450
|
+
type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
|
|
18451
|
+
rateType?: ("flat" | "percentage") | null;
|
|
18452
|
+
defaultRate?: number | null;
|
|
18453
|
+
};
|
|
18454
|
+
}[] | null;
|
|
18455
|
+
initialOwnership?: {
|
|
18456
|
+
startAt?: string | null;
|
|
18457
|
+
endAt?: string | null;
|
|
18458
|
+
reserve?: number | null;
|
|
18459
|
+
members?: {
|
|
18460
|
+
contactId?: string | null;
|
|
18461
|
+
split?: number | null;
|
|
18462
|
+
}[] | null;
|
|
18463
|
+
setListingInactive?: boolean | null;
|
|
18464
|
+
businessModel?: ("managed" | "co_host" | "co_host_airbnb") | null;
|
|
18465
|
+
onConflict?: ("error" | "updateExisting" | "adjustInsertingItem") | null;
|
|
18466
|
+
} | null;
|
|
18467
|
+
};
|
|
18468
|
+
};
|
|
18469
|
+
};
|
|
18470
|
+
responses: {
|
|
18471
|
+
/** @description Successful response */
|
|
18472
|
+
200: {
|
|
18473
|
+
headers: {
|
|
18474
|
+
[name: string]: unknown;
|
|
18475
|
+
};
|
|
18476
|
+
content: {
|
|
18477
|
+
"application/json": {
|
|
18478
|
+
name: string;
|
|
18479
|
+
uniqueRef?: string | null;
|
|
18480
|
+
connectionId?: string | null;
|
|
18481
|
+
defaultCurrency?: string | null;
|
|
18482
|
+
address?: {
|
|
18483
|
+
full?: string | null;
|
|
18484
|
+
line1?: string | null;
|
|
18485
|
+
line2?: string | null;
|
|
18486
|
+
city?: string | null;
|
|
18487
|
+
/** @description Deprecated, use stateCode instead */
|
|
18488
|
+
state?: string | null;
|
|
18489
|
+
postalCode?: string | null;
|
|
18490
|
+
stateCode?: string | null;
|
|
18491
|
+
countryCode?: string | null;
|
|
18492
|
+
} | null;
|
|
18493
|
+
/** Format: uuid */
|
|
18494
|
+
id: string;
|
|
18495
|
+
shortRef?: string | null;
|
|
18496
|
+
title?: string | null;
|
|
18497
|
+
pmsName?: string | null;
|
|
17289
18498
|
/** @enum {string} */
|
|
17290
18499
|
status: "active" | "inactive";
|
|
17291
18500
|
activeOwnership?: {
|
|
@@ -17296,268 +18505,20 @@ export interface operations {
|
|
|
17296
18505
|
/** @description Value in cents (100 = 1€) */
|
|
17297
18506
|
reserve: number;
|
|
17298
18507
|
members: {
|
|
17299
|
-
contactId?: string | null;
|
|
17300
18508
|
split?: number | null;
|
|
17301
|
-
|
|
17302
|
-
setListingInactive?: boolean | null;
|
|
17303
|
-
/** @enum {string} */
|
|
17304
|
-
businessModel: "managed" | "co_host" | "co_host_airbnb";
|
|
17305
|
-
lock?: {
|
|
17306
|
-
/** @enum {string} */
|
|
17307
|
-
status: "locked" | "unlocked";
|
|
17308
|
-
booksClosed?: {
|
|
17309
|
-
date: string;
|
|
17310
|
-
} | null;
|
|
17311
|
-
ownerStatement?: {
|
|
17312
|
-
ids: string[];
|
|
17313
|
-
} | null;
|
|
17314
|
-
reconciled?: {
|
|
17315
|
-
bankRecordIds: string[];
|
|
17316
|
-
} | null;
|
|
17317
|
-
statementPeriod?: {
|
|
17318
|
-
hits: {
|
|
17319
|
-
/** Format: uuid */
|
|
17320
|
-
listingId: string;
|
|
17321
|
-
txnAt: string;
|
|
17322
|
-
openFrom: string;
|
|
17323
|
-
}[];
|
|
17324
|
-
} | null;
|
|
17325
|
-
} | null;
|
|
17326
|
-
} | null;
|
|
17327
|
-
activeRecurringFeePeriods?: {
|
|
17328
|
-
startAt?: string | null;
|
|
17329
|
-
endAt?: string | null;
|
|
17330
|
-
rate?: number | null;
|
|
17331
|
-
/** Format: uuid */
|
|
17332
|
-
id: string;
|
|
17333
|
-
recurringFee: {
|
|
17334
|
-
id: string;
|
|
17335
|
-
name: string;
|
|
17336
|
-
/** @enum {string} */
|
|
17337
|
-
type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
|
|
17338
|
-
rateType?: ("flat" | "percentage") | null;
|
|
17339
|
-
defaultRate?: number | null;
|
|
17340
|
-
};
|
|
17341
|
-
}[] | null;
|
|
17342
|
-
source?: {
|
|
17343
|
-
/** Format: uuid */
|
|
17344
|
-
id: string;
|
|
17345
|
-
type: string;
|
|
17346
|
-
status?: ("active" | "inactive") | null;
|
|
17347
|
-
appId?: string | null;
|
|
17348
|
-
appIcon?: string | null;
|
|
17349
|
-
} | null;
|
|
17350
|
-
upcomingDeactivation: {
|
|
17351
|
-
/** @enum {string} */
|
|
17352
|
-
status: "active" | "disable-upcoming" | "disabled-ending" | "disabled-forever";
|
|
17353
|
-
period: {
|
|
18509
|
+
/** Format: uuid */
|
|
17354
18510
|
id: string;
|
|
17355
|
-
|
|
17356
|
-
|
|
17357
|
-
|
|
17358
|
-
|
|
17359
|
-
|
|
17360
|
-
|
|
17361
|
-
|
|
17362
|
-
|
|
17363
|
-
|
|
17364
|
-
|
|
17365
|
-
|
|
17366
|
-
/** @constant */
|
|
17367
|
-
code: "missingFeesAndCommission";
|
|
17368
|
-
/** @constant */
|
|
17369
|
-
severity: "warning";
|
|
17370
|
-
context: Record<string, never>;
|
|
17371
|
-
} | {
|
|
17372
|
-
/** @constant */
|
|
17373
|
-
code: "missingOpeningBalance";
|
|
17374
|
-
/** @constant */
|
|
17375
|
-
severity: "warning";
|
|
17376
|
-
context: Record<string, never>;
|
|
17377
|
-
})[];
|
|
17378
|
-
};
|
|
17379
|
-
};
|
|
17380
|
-
};
|
|
17381
|
-
/** @description Bad request */
|
|
17382
|
-
400: {
|
|
17383
|
-
headers: {
|
|
17384
|
-
[name: string]: unknown;
|
|
17385
|
-
};
|
|
17386
|
-
content: {
|
|
17387
|
-
"application/json": {
|
|
17388
|
-
code: string;
|
|
17389
|
-
message: string;
|
|
17390
|
-
issues?: {
|
|
17391
|
-
message: string;
|
|
17392
|
-
}[];
|
|
17393
|
-
context?: unknown;
|
|
17394
|
-
};
|
|
17395
|
-
};
|
|
17396
|
-
};
|
|
17397
|
-
/** @description Unauthorized */
|
|
17398
|
-
401: {
|
|
17399
|
-
headers: {
|
|
17400
|
-
[name: string]: unknown;
|
|
17401
|
-
};
|
|
17402
|
-
content: {
|
|
17403
|
-
"application/json": {
|
|
17404
|
-
code: string;
|
|
17405
|
-
message: string;
|
|
17406
|
-
issues?: {
|
|
17407
|
-
message: string;
|
|
17408
|
-
}[];
|
|
17409
|
-
context?: unknown;
|
|
17410
|
-
};
|
|
17411
|
-
};
|
|
17412
|
-
};
|
|
17413
|
-
/** @description Forbidden */
|
|
17414
|
-
403: {
|
|
17415
|
-
headers: {
|
|
17416
|
-
[name: string]: unknown;
|
|
17417
|
-
};
|
|
17418
|
-
content: {
|
|
17419
|
-
"application/json": {
|
|
17420
|
-
code: string;
|
|
17421
|
-
message: string;
|
|
17422
|
-
issues?: {
|
|
17423
|
-
message: string;
|
|
17424
|
-
}[];
|
|
17425
|
-
context?: unknown;
|
|
17426
|
-
};
|
|
17427
|
-
};
|
|
17428
|
-
};
|
|
17429
|
-
/** @description Not found */
|
|
17430
|
-
404: {
|
|
17431
|
-
headers: {
|
|
17432
|
-
[name: string]: unknown;
|
|
17433
|
-
};
|
|
17434
|
-
content: {
|
|
17435
|
-
"application/json": {
|
|
17436
|
-
code: string;
|
|
17437
|
-
message: string;
|
|
17438
|
-
issues?: {
|
|
17439
|
-
message: string;
|
|
17440
|
-
}[];
|
|
17441
|
-
context?: unknown;
|
|
17442
|
-
};
|
|
17443
|
-
};
|
|
17444
|
-
};
|
|
17445
|
-
/** @description Internal server error */
|
|
17446
|
-
500: {
|
|
17447
|
-
headers: {
|
|
17448
|
-
[name: string]: unknown;
|
|
17449
|
-
};
|
|
17450
|
-
content: {
|
|
17451
|
-
"application/json": {
|
|
17452
|
-
code: string;
|
|
17453
|
-
message: string;
|
|
17454
|
-
issues?: {
|
|
17455
|
-
message: string;
|
|
17456
|
-
}[];
|
|
17457
|
-
context?: unknown;
|
|
17458
|
-
};
|
|
17459
|
-
};
|
|
17460
|
-
};
|
|
17461
|
-
};
|
|
17462
|
-
};
|
|
17463
|
-
putListingsById: {
|
|
17464
|
-
parameters: {
|
|
17465
|
-
query?: {
|
|
17466
|
-
dryRun?: boolean;
|
|
17467
|
-
};
|
|
17468
|
-
header?: never;
|
|
17469
|
-
path: {
|
|
17470
|
-
id: string;
|
|
17471
|
-
};
|
|
17472
|
-
cookie?: never;
|
|
17473
|
-
};
|
|
17474
|
-
requestBody?: {
|
|
17475
|
-
content: {
|
|
17476
|
-
"application/json": {
|
|
17477
|
-
name?: string | null;
|
|
17478
|
-
uniqueRef?: string | null;
|
|
17479
|
-
connectionId?: string | null;
|
|
17480
|
-
defaultCurrency?: string | null;
|
|
17481
|
-
address?: {
|
|
17482
|
-
full?: string | null;
|
|
17483
|
-
line1?: string | null;
|
|
17484
|
-
line2?: string | null;
|
|
17485
|
-
city?: string | null;
|
|
17486
|
-
/** @description Deprecated, use stateCode instead */
|
|
17487
|
-
state?: string | null;
|
|
17488
|
-
postalCode?: string | null;
|
|
17489
|
-
stateCode?: string | null;
|
|
17490
|
-
countryCode?: string | null;
|
|
17491
|
-
} | null;
|
|
17492
|
-
sourceId?: string | null;
|
|
17493
|
-
activeRecurringFeePeriods?: {
|
|
17494
|
-
startAt?: string | null;
|
|
17495
|
-
endAt?: string | null;
|
|
17496
|
-
rate?: number | null;
|
|
17497
|
-
/** Format: uuid */
|
|
17498
|
-
id: string;
|
|
17499
|
-
recurringFee: {
|
|
17500
|
-
id: string;
|
|
17501
|
-
name: string;
|
|
17502
|
-
/** @enum {string} */
|
|
17503
|
-
type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
|
|
17504
|
-
rateType?: ("flat" | "percentage") | null;
|
|
17505
|
-
defaultRate?: number | null;
|
|
17506
|
-
};
|
|
17507
|
-
}[] | null;
|
|
17508
|
-
initialOwnership?: {
|
|
17509
|
-
startAt?: string | null;
|
|
17510
|
-
endAt?: string | null;
|
|
17511
|
-
reserve?: number | null;
|
|
17512
|
-
members?: {
|
|
17513
|
-
contactId?: string | null;
|
|
17514
|
-
split?: number | null;
|
|
17515
|
-
}[] | null;
|
|
17516
|
-
setListingInactive?: boolean | null;
|
|
17517
|
-
businessModel?: ("managed" | "co_host" | "co_host_airbnb") | null;
|
|
17518
|
-
onConflict?: ("error" | "updateExisting" | "adjustInsertingItem") | null;
|
|
17519
|
-
} | null;
|
|
17520
|
-
};
|
|
17521
|
-
};
|
|
17522
|
-
};
|
|
17523
|
-
responses: {
|
|
17524
|
-
/** @description Successful response */
|
|
17525
|
-
200: {
|
|
17526
|
-
headers: {
|
|
17527
|
-
[name: string]: unknown;
|
|
17528
|
-
};
|
|
17529
|
-
content: {
|
|
17530
|
-
"application/json": {
|
|
17531
|
-
name: string;
|
|
17532
|
-
uniqueRef?: string | null;
|
|
17533
|
-
connectionId?: string | null;
|
|
17534
|
-
defaultCurrency?: string | null;
|
|
17535
|
-
address?: {
|
|
17536
|
-
full?: string | null;
|
|
17537
|
-
line1?: string | null;
|
|
17538
|
-
line2?: string | null;
|
|
17539
|
-
city?: string | null;
|
|
17540
|
-
/** @description Deprecated, use stateCode instead */
|
|
17541
|
-
state?: string | null;
|
|
17542
|
-
postalCode?: string | null;
|
|
17543
|
-
stateCode?: string | null;
|
|
17544
|
-
countryCode?: string | null;
|
|
17545
|
-
} | null;
|
|
17546
|
-
/** Format: uuid */
|
|
17547
|
-
id: string;
|
|
17548
|
-
shortRef?: string | null;
|
|
17549
|
-
/** @enum {string} */
|
|
17550
|
-
status: "active" | "inactive";
|
|
17551
|
-
activeOwnership?: {
|
|
17552
|
-
/** Format: uuid */
|
|
17553
|
-
id: string;
|
|
17554
|
-
startAt: string;
|
|
17555
|
-
endAt?: string | null;
|
|
17556
|
-
/** @description Value in cents (100 = 1€) */
|
|
17557
|
-
reserve: number;
|
|
17558
|
-
members: {
|
|
17559
|
-
contactId?: string | null;
|
|
17560
|
-
split?: number | null;
|
|
18511
|
+
contact?: {
|
|
18512
|
+
/** Format: uuid */
|
|
18513
|
+
id: string;
|
|
18514
|
+
name?: string | null;
|
|
18515
|
+
firstName?: string | null;
|
|
18516
|
+
uniqueRef?: string | null;
|
|
18517
|
+
shortRef?: string | null;
|
|
18518
|
+
email?: string | null;
|
|
18519
|
+
/** @enum {string} */
|
|
18520
|
+
type: "owner" | "vendor";
|
|
18521
|
+
} | null;
|
|
17561
18522
|
}[];
|
|
17562
18523
|
setListingInactive?: boolean | null;
|
|
17563
18524
|
/** @enum {string} */
|
|
@@ -18095,6 +19056,8 @@ export interface operations {
|
|
|
18095
19056
|
ownerId?: string;
|
|
18096
19057
|
/** Format: uuid */
|
|
18097
19058
|
teamId: string;
|
|
19059
|
+
/** @enum {string} */
|
|
19060
|
+
role: "admin" | "viewer";
|
|
18098
19061
|
}[];
|
|
18099
19062
|
teamAccess: {
|
|
18100
19063
|
/** Format: uuid */
|
|
@@ -22449,7 +23412,9 @@ export interface operations {
|
|
|
22449
23412
|
/** @enum {string} */
|
|
22450
23413
|
status: "active" | "inactive";
|
|
22451
23414
|
amount: number;
|
|
22452
|
-
inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system") | null;
|
|
23415
|
+
inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "currencyMismatch" | "system") | null;
|
|
23416
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
23417
|
+
currency: string;
|
|
22453
23418
|
fee: number;
|
|
22454
23419
|
account?: {
|
|
22455
23420
|
id: string;
|
|
@@ -27378,6 +28343,18 @@ export interface operations {
|
|
|
27378
28343
|
/** @constant */
|
|
27379
28344
|
severity: "warning";
|
|
27380
28345
|
context: Record<string, never>;
|
|
28346
|
+
} | {
|
|
28347
|
+
/** @constant */
|
|
28348
|
+
code: "reservationCurrencyMismatch";
|
|
28349
|
+
/** @constant */
|
|
28350
|
+
severity: "warning";
|
|
28351
|
+
context: {
|
|
28352
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
28353
|
+
reservationCurrency: string;
|
|
28354
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
28355
|
+
teamDefaultCurrency: string;
|
|
28356
|
+
};
|
|
28357
|
+
message: string;
|
|
27381
28358
|
} | {
|
|
27382
28359
|
/** @constant */
|
|
27383
28360
|
code: "guestTotalsZero";
|
|
@@ -27417,6 +28394,7 @@ export interface operations {
|
|
|
27417
28394
|
nights?: number | null;
|
|
27418
28395
|
/** @enum {string} */
|
|
27419
28396
|
status: "booked" | "canceled" | "inactive";
|
|
28397
|
+
bookingPlatformLabel?: string | null;
|
|
27420
28398
|
listing?: {
|
|
27421
28399
|
/** Format: uuid */
|
|
27422
28400
|
id: string;
|
|
@@ -27728,6 +28706,18 @@ export interface operations {
|
|
|
27728
28706
|
/** @constant */
|
|
27729
28707
|
severity: "warning";
|
|
27730
28708
|
context: Record<string, never>;
|
|
28709
|
+
} | {
|
|
28710
|
+
/** @constant */
|
|
28711
|
+
code: "reservationCurrencyMismatch";
|
|
28712
|
+
/** @constant */
|
|
28713
|
+
severity: "warning";
|
|
28714
|
+
context: {
|
|
28715
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
28716
|
+
reservationCurrency: string;
|
|
28717
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
28718
|
+
teamDefaultCurrency: string;
|
|
28719
|
+
};
|
|
28720
|
+
message: string;
|
|
27731
28721
|
} | {
|
|
27732
28722
|
/** @constant */
|
|
27733
28723
|
code: "guestTotalsZero";
|
|
@@ -27767,6 +28757,7 @@ export interface operations {
|
|
|
27767
28757
|
nights?: number | null;
|
|
27768
28758
|
/** @enum {string} */
|
|
27769
28759
|
status: "booked" | "canceled" | "inactive";
|
|
28760
|
+
bookingPlatformLabel?: string | null;
|
|
27770
28761
|
financials: {
|
|
27771
28762
|
totals: {
|
|
27772
28763
|
tax: number;
|
|
@@ -27784,7 +28775,9 @@ export interface operations {
|
|
|
27784
28775
|
/** @enum {string} */
|
|
27785
28776
|
status: "active" | "inactive";
|
|
27786
28777
|
amount: number;
|
|
27787
|
-
inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system") | null;
|
|
28778
|
+
inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "currencyMismatch" | "system") | null;
|
|
28779
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
28780
|
+
currency: string;
|
|
27788
28781
|
account?: {
|
|
27789
28782
|
id: string;
|
|
27790
28783
|
name: string;
|
|
@@ -29127,6 +30120,18 @@ export interface operations {
|
|
|
29127
30120
|
/** @constant */
|
|
29128
30121
|
severity: "warning";
|
|
29129
30122
|
context: Record<string, never>;
|
|
30123
|
+
} | {
|
|
30124
|
+
/** @constant */
|
|
30125
|
+
code: "reservationCurrencyMismatch";
|
|
30126
|
+
/** @constant */
|
|
30127
|
+
severity: "warning";
|
|
30128
|
+
context: {
|
|
30129
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
30130
|
+
reservationCurrency: string;
|
|
30131
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
30132
|
+
teamDefaultCurrency: string;
|
|
30133
|
+
};
|
|
30134
|
+
message: string;
|
|
29130
30135
|
} | {
|
|
29131
30136
|
/** @constant */
|
|
29132
30137
|
code: "guestTotalsZero";
|
|
@@ -29166,6 +30171,7 @@ export interface operations {
|
|
|
29166
30171
|
nights?: number | null;
|
|
29167
30172
|
/** @enum {string} */
|
|
29168
30173
|
status: "booked" | "canceled" | "inactive";
|
|
30174
|
+
bookingPlatformLabel?: string | null;
|
|
29169
30175
|
financials: {
|
|
29170
30176
|
totals: {
|
|
29171
30177
|
tax: number;
|
|
@@ -29183,7 +30189,9 @@ export interface operations {
|
|
|
29183
30189
|
/** @enum {string} */
|
|
29184
30190
|
status: "active" | "inactive";
|
|
29185
30191
|
amount: number;
|
|
29186
|
-
inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system") | null;
|
|
30192
|
+
inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "currencyMismatch" | "system") | null;
|
|
30193
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
30194
|
+
currency: string;
|
|
29187
30195
|
account?: {
|
|
29188
30196
|
id: string;
|
|
29189
30197
|
name: string;
|
|
@@ -29704,6 +30712,18 @@ export interface operations {
|
|
|
29704
30712
|
/** @constant */
|
|
29705
30713
|
severity: "warning";
|
|
29706
30714
|
context: Record<string, never>;
|
|
30715
|
+
} | {
|
|
30716
|
+
/** @constant */
|
|
30717
|
+
code: "reservationCurrencyMismatch";
|
|
30718
|
+
/** @constant */
|
|
30719
|
+
severity: "warning";
|
|
30720
|
+
context: {
|
|
30721
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
30722
|
+
reservationCurrency: string;
|
|
30723
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
30724
|
+
teamDefaultCurrency: string;
|
|
30725
|
+
};
|
|
30726
|
+
message: string;
|
|
29707
30727
|
} | {
|
|
29708
30728
|
/** @constant */
|
|
29709
30729
|
code: "guestTotalsZero";
|
|
@@ -29743,6 +30763,7 @@ export interface operations {
|
|
|
29743
30763
|
nights?: number | null;
|
|
29744
30764
|
/** @enum {string} */
|
|
29745
30765
|
status: "booked" | "canceled" | "inactive";
|
|
30766
|
+
bookingPlatformLabel?: string | null;
|
|
29746
30767
|
financials: {
|
|
29747
30768
|
totals: {
|
|
29748
30769
|
tax: number;
|
|
@@ -29760,7 +30781,9 @@ export interface operations {
|
|
|
29760
30781
|
/** @enum {string} */
|
|
29761
30782
|
status: "active" | "inactive";
|
|
29762
30783
|
amount: number;
|
|
29763
|
-
inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system") | null;
|
|
30784
|
+
inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "currencyMismatch" | "system") | null;
|
|
30785
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
30786
|
+
currency: string;
|
|
29764
30787
|
account?: {
|
|
29765
30788
|
id: string;
|
|
29766
30789
|
name: string;
|
|
@@ -30397,6 +31420,18 @@ export interface operations {
|
|
|
30397
31420
|
/** @constant */
|
|
30398
31421
|
severity: "warning";
|
|
30399
31422
|
context: Record<string, never>;
|
|
31423
|
+
} | {
|
|
31424
|
+
/** @constant */
|
|
31425
|
+
code: "reservationCurrencyMismatch";
|
|
31426
|
+
/** @constant */
|
|
31427
|
+
severity: "warning";
|
|
31428
|
+
context: {
|
|
31429
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
31430
|
+
reservationCurrency: string;
|
|
31431
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
31432
|
+
teamDefaultCurrency: string;
|
|
31433
|
+
};
|
|
31434
|
+
message: string;
|
|
30400
31435
|
} | {
|
|
30401
31436
|
/** @constant */
|
|
30402
31437
|
code: "guestTotalsZero";
|
|
@@ -30436,6 +31471,7 @@ export interface operations {
|
|
|
30436
31471
|
nights?: number | null;
|
|
30437
31472
|
/** @enum {string} */
|
|
30438
31473
|
status: "booked" | "canceled" | "inactive";
|
|
31474
|
+
bookingPlatformLabel?: string | null;
|
|
30439
31475
|
financials: {
|
|
30440
31476
|
totals: {
|
|
30441
31477
|
tax: number;
|
|
@@ -30453,7 +31489,9 @@ export interface operations {
|
|
|
30453
31489
|
/** @enum {string} */
|
|
30454
31490
|
status: "active" | "inactive";
|
|
30455
31491
|
amount: number;
|
|
30456
|
-
inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system") | null;
|
|
31492
|
+
inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "currencyMismatch" | "system") | null;
|
|
31493
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
31494
|
+
currency: string;
|
|
30457
31495
|
account?: {
|
|
30458
31496
|
id: string;
|
|
30459
31497
|
name: string;
|
|
@@ -30864,6 +31902,18 @@ export interface operations {
|
|
|
30864
31902
|
/** @constant */
|
|
30865
31903
|
severity: "warning";
|
|
30866
31904
|
context: Record<string, never>;
|
|
31905
|
+
} | {
|
|
31906
|
+
/** @constant */
|
|
31907
|
+
code: "reservationCurrencyMismatch";
|
|
31908
|
+
/** @constant */
|
|
31909
|
+
severity: "warning";
|
|
31910
|
+
context: {
|
|
31911
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
31912
|
+
reservationCurrency: string;
|
|
31913
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
31914
|
+
teamDefaultCurrency: string;
|
|
31915
|
+
};
|
|
31916
|
+
message: string;
|
|
30867
31917
|
} | {
|
|
30868
31918
|
/** @constant */
|
|
30869
31919
|
code: "guestTotalsZero";
|
|
@@ -30903,6 +31953,7 @@ export interface operations {
|
|
|
30903
31953
|
nights?: number | null;
|
|
30904
31954
|
/** @enum {string} */
|
|
30905
31955
|
status: "booked" | "canceled" | "inactive";
|
|
31956
|
+
bookingPlatformLabel?: string | null;
|
|
30906
31957
|
financials: {
|
|
30907
31958
|
totals: {
|
|
30908
31959
|
tax: number;
|
|
@@ -30920,7 +31971,9 @@ export interface operations {
|
|
|
30920
31971
|
/** @enum {string} */
|
|
30921
31972
|
status: "active" | "inactive";
|
|
30922
31973
|
amount: number;
|
|
30923
|
-
inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system") | null;
|
|
31974
|
+
inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "currencyMismatch" | "system") | null;
|
|
31975
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
31976
|
+
currency: string;
|
|
30924
31977
|
account?: {
|
|
30925
31978
|
id: string;
|
|
30926
31979
|
name: string;
|
|
@@ -31317,6 +32370,18 @@ export interface operations {
|
|
|
31317
32370
|
/** @constant */
|
|
31318
32371
|
severity: "warning";
|
|
31319
32372
|
context: Record<string, never>;
|
|
32373
|
+
} | {
|
|
32374
|
+
/** @constant */
|
|
32375
|
+
code: "reservationCurrencyMismatch";
|
|
32376
|
+
/** @constant */
|
|
32377
|
+
severity: "warning";
|
|
32378
|
+
context: {
|
|
32379
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
32380
|
+
reservationCurrency: string;
|
|
32381
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
32382
|
+
teamDefaultCurrency: string;
|
|
32383
|
+
};
|
|
32384
|
+
message: string;
|
|
31320
32385
|
} | {
|
|
31321
32386
|
/** @constant */
|
|
31322
32387
|
code: "guestTotalsZero";
|
|
@@ -31356,6 +32421,7 @@ export interface operations {
|
|
|
31356
32421
|
nights?: number | null;
|
|
31357
32422
|
/** @enum {string} */
|
|
31358
32423
|
status: "booked" | "canceled" | "inactive";
|
|
32424
|
+
bookingPlatformLabel?: string | null;
|
|
31359
32425
|
financials: {
|
|
31360
32426
|
totals: {
|
|
31361
32427
|
tax: number;
|
|
@@ -31373,7 +32439,9 @@ export interface operations {
|
|
|
31373
32439
|
/** @enum {string} */
|
|
31374
32440
|
status: "active" | "inactive";
|
|
31375
32441
|
amount: number;
|
|
31376
|
-
inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system") | null;
|
|
32442
|
+
inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "currencyMismatch" | "system") | null;
|
|
32443
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
32444
|
+
currency: string;
|
|
31377
32445
|
account?: {
|
|
31378
32446
|
id: string;
|
|
31379
32447
|
name: string;
|
|
@@ -34966,6 +36034,7 @@ export interface operations {
|
|
|
34966
36034
|
} | null;
|
|
34967
36035
|
} | null;
|
|
34968
36036
|
}[];
|
|
36037
|
+
/** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
|
|
34969
36038
|
attachmentIds?: string[] | null;
|
|
34970
36039
|
recurringTemplateId?: string | null;
|
|
34971
36040
|
matchBankAccountLast4?: string | null;
|
|
@@ -38990,6 +40059,26 @@ export interface operations {
|
|
|
38990
40059
|
difference: number;
|
|
38991
40060
|
}[];
|
|
38992
40061
|
};
|
|
40062
|
+
} | {
|
|
40063
|
+
/** @enum {string} */
|
|
40064
|
+
severity: "error" | "warning";
|
|
40065
|
+
/** @enum {string} */
|
|
40066
|
+
category: "criticalToUser" | "criticalToSystem";
|
|
40067
|
+
message: string;
|
|
40068
|
+
affected: number;
|
|
40069
|
+
/** @constant */
|
|
40070
|
+
code: "reservationCurrencyMismatch";
|
|
40071
|
+
context: {
|
|
40072
|
+
reservations: {
|
|
40073
|
+
/** Format: uuid */
|
|
40074
|
+
reservationId: string;
|
|
40075
|
+
confirmationCode: string | null;
|
|
40076
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
40077
|
+
reservationCurrency: string;
|
|
40078
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
40079
|
+
teamDefaultCurrency: string;
|
|
40080
|
+
}[];
|
|
40081
|
+
};
|
|
38993
40082
|
})[];
|
|
38994
40083
|
summary: {
|
|
38995
40084
|
total: number;
|
|
@@ -39100,6 +40189,7 @@ export interface operations {
|
|
|
39100
40189
|
targetPartnerId?: string | null;
|
|
39101
40190
|
targetName?: string | null;
|
|
39102
40191
|
glStartAt: string;
|
|
40192
|
+
moveConnectionCredentials?: boolean;
|
|
39103
40193
|
};
|
|
39104
40194
|
};
|
|
39105
40195
|
};
|
|
@@ -41870,6 +42960,7 @@ export interface operations {
|
|
|
41870
42960
|
depositTransactionId: string | null;
|
|
41871
42961
|
hasListingNeedsReview: boolean;
|
|
41872
42962
|
listingNeedsReviewId: string | null;
|
|
42963
|
+
hasOwners: boolean;
|
|
41873
42964
|
hasOwnerNeedsReview: boolean;
|
|
41874
42965
|
ownerNeedsReviewId: string | null;
|
|
41875
42966
|
};
|
|
@@ -42568,6 +43659,26 @@ export interface operations {
|
|
|
42568
43659
|
difference: number;
|
|
42569
43660
|
}[];
|
|
42570
43661
|
};
|
|
43662
|
+
} | {
|
|
43663
|
+
/** @enum {string} */
|
|
43664
|
+
severity: "error" | "warning";
|
|
43665
|
+
/** @enum {string} */
|
|
43666
|
+
category: "criticalToUser" | "criticalToSystem";
|
|
43667
|
+
message: string;
|
|
43668
|
+
affected: number;
|
|
43669
|
+
/** @constant */
|
|
43670
|
+
code: "reservationCurrencyMismatch";
|
|
43671
|
+
context: {
|
|
43672
|
+
reservations: {
|
|
43673
|
+
/** Format: uuid */
|
|
43674
|
+
reservationId: string;
|
|
43675
|
+
confirmationCode: string | null;
|
|
43676
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
43677
|
+
reservationCurrency: string;
|
|
43678
|
+
/** @description Currency in ISO 4217 format, will be converted to lowercase */
|
|
43679
|
+
teamDefaultCurrency: string;
|
|
43680
|
+
}[];
|
|
43681
|
+
};
|
|
42571
43682
|
})[];
|
|
42572
43683
|
summary: {
|
|
42573
43684
|
total: number;
|
|
@@ -43502,6 +44613,7 @@ export interface operations {
|
|
|
43502
44613
|
} | null;
|
|
43503
44614
|
} | null;
|
|
43504
44615
|
}[];
|
|
44616
|
+
/** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
|
|
43505
44617
|
attachmentIds?: string[] | null;
|
|
43506
44618
|
recurringTemplateId?: string | null;
|
|
43507
44619
|
matchBankAccountLast4?: string | null;
|
|
@@ -43769,6 +44881,7 @@ export interface operations {
|
|
|
43769
44881
|
matchReservationStripeGuestRef?: string | null;
|
|
43770
44882
|
matchLineTypeClassification?: string | null;
|
|
43771
44883
|
}[];
|
|
44884
|
+
/** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
|
|
43772
44885
|
attachmentIds?: string[] | null;
|
|
43773
44886
|
payment?: {
|
|
43774
44887
|
bankRecordIds?: string[];
|
|
@@ -43929,6 +45042,7 @@ export interface operations {
|
|
|
43929
45042
|
} | null;
|
|
43930
45043
|
} | null;
|
|
43931
45044
|
}[];
|
|
45045
|
+
/** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
|
|
43932
45046
|
attachmentIds?: string[] | null;
|
|
43933
45047
|
recurringTemplateId?: string | null;
|
|
43934
45048
|
matchBankAccountLast4?: string | null;
|
|
@@ -44187,6 +45301,7 @@ export interface operations {
|
|
|
44187
45301
|
matchReservationStripeGuestRef?: string | null;
|
|
44188
45302
|
matchLineTypeClassification?: string | null;
|
|
44189
45303
|
}[];
|
|
45304
|
+
/** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
|
|
44190
45305
|
attachmentIds?: string[] | null;
|
|
44191
45306
|
payment?: {
|
|
44192
45307
|
bankRecordIds?: string[];
|
|
@@ -46875,6 +47990,7 @@ export interface operations {
|
|
|
46875
47990
|
} | null;
|
|
46876
47991
|
} | null;
|
|
46877
47992
|
}[];
|
|
47993
|
+
/** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
|
|
46878
47994
|
attachmentIds?: string[] | null;
|
|
46879
47995
|
recurringTemplateId?: string | null;
|
|
46880
47996
|
matchBankAccountLast4?: string | null;
|
|
@@ -47355,6 +48471,7 @@ export interface operations {
|
|
|
47355
48471
|
} | null;
|
|
47356
48472
|
} | null;
|
|
47357
48473
|
}[];
|
|
48474
|
+
/** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
|
|
47358
48475
|
attachmentIds?: string[] | null;
|
|
47359
48476
|
recurringTemplateId?: string | null;
|
|
47360
48477
|
matchBankAccountLast4?: string | null;
|
|
@@ -47588,6 +48705,7 @@ export interface operations {
|
|
|
47588
48705
|
type?: "deposit" | "expense" | "transfer" | "payout";
|
|
47589
48706
|
date?: string;
|
|
47590
48707
|
currency?: string | null;
|
|
48708
|
+
/** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
|
|
47591
48709
|
attachmentIds?: string[] | null;
|
|
47592
48710
|
payment?: {
|
|
47593
48711
|
bankRecordIds?: string[];
|
|
@@ -47834,6 +48952,7 @@ export interface operations {
|
|
|
47834
48952
|
} | null;
|
|
47835
48953
|
} | null;
|
|
47836
48954
|
}[];
|
|
48955
|
+
/** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
|
|
47837
48956
|
attachmentIds?: string[] | null;
|
|
47838
48957
|
recurringTemplateId?: string | null;
|
|
47839
48958
|
matchBankAccountLast4?: string | null;
|
|
@@ -48320,6 +49439,7 @@ export interface operations {
|
|
|
48320
49439
|
} | null;
|
|
48321
49440
|
} | null;
|
|
48322
49441
|
}[];
|
|
49442
|
+
/** @description Expense attachment IDs returned by POST /transaction-attachments. Only expense transactions support attachments. Omit to leave existing attachments unchanged on update; send an array to replace the attached set. */
|
|
48323
49443
|
attachmentIds?: string[] | null;
|
|
48324
49444
|
recurringTemplateId?: string | null;
|
|
48325
49445
|
matchBankAccountLast4?: string | null;
|