@vrplatform/api 1.3.1-stage.2547 → 1.3.1-stage.2550
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/src/generated/v1.ts
CHANGED
|
@@ -1288,6 +1288,24 @@ export interface paths {
|
|
|
1288
1288
|
patch?: never;
|
|
1289
1289
|
trace?: never;
|
|
1290
1290
|
};
|
|
1291
|
+
"/listings/{id}/parent": {
|
|
1292
|
+
parameters: {
|
|
1293
|
+
query?: never;
|
|
1294
|
+
header?: never;
|
|
1295
|
+
path?: never;
|
|
1296
|
+
cookie?: never;
|
|
1297
|
+
};
|
|
1298
|
+
get?: never;
|
|
1299
|
+
/** @description Set Listing Parent */
|
|
1300
|
+
put: operations["putListingsByIdParent"];
|
|
1301
|
+
post?: never;
|
|
1302
|
+
/** @description Remove Listing Parent */
|
|
1303
|
+
delete: operations["deleteListingsByIdParent"];
|
|
1304
|
+
options?: never;
|
|
1305
|
+
head?: never;
|
|
1306
|
+
patch?: never;
|
|
1307
|
+
trace?: never;
|
|
1308
|
+
};
|
|
1291
1309
|
"/me": {
|
|
1292
1310
|
parameters: {
|
|
1293
1311
|
query?: never;
|
|
@@ -16642,6 +16660,8 @@ export interface operations {
|
|
|
16642
16660
|
query?: {
|
|
16643
16661
|
status?: "active" | "inactive";
|
|
16644
16662
|
connectionId?: string;
|
|
16663
|
+
/** @description Filter by parent listing id. Use parent=null to return only parent/root listings. */
|
|
16664
|
+
parent?: string | "null";
|
|
16645
16665
|
/** @description Comma-separated listing ids. */
|
|
16646
16666
|
ids?: string;
|
|
16647
16667
|
search?: string;
|
|
@@ -16652,6 +16672,8 @@ export interface operations {
|
|
|
16652
16672
|
shortRefs?: string;
|
|
16653
16673
|
/** @description Filter listings by whether they currently have an active ownership period. */
|
|
16654
16674
|
activeOwnership?: boolean;
|
|
16675
|
+
/** @description Include child listing links on each listing. */
|
|
16676
|
+
includeChildren?: boolean;
|
|
16655
16677
|
/** @description Filter by active recurring fee coverage. Use `active` or `inactive` for any recurring fee type, prefix a fee type with `!` to exclude it, or pass a recurring fee UUID for one specific fee. */
|
|
16656
16678
|
activeRecurringFeePeriods?: string;
|
|
16657
16679
|
/** @description Filter listings that have (true) or lack (false) opening balances */
|
|
@@ -16768,6 +16790,21 @@ export interface operations {
|
|
|
16768
16790
|
appId?: string | null;
|
|
16769
16791
|
appIcon?: string | null;
|
|
16770
16792
|
} | null;
|
|
16793
|
+
parent: {
|
|
16794
|
+
/** Format: uuid */
|
|
16795
|
+
id: string;
|
|
16796
|
+
name: string;
|
|
16797
|
+
uniqueRef?: string | null;
|
|
16798
|
+
shortRef?: string | null;
|
|
16799
|
+
} | null;
|
|
16800
|
+
children?: {
|
|
16801
|
+
/** Format: uuid */
|
|
16802
|
+
id: string;
|
|
16803
|
+
name: string;
|
|
16804
|
+
uniqueRef?: string | null;
|
|
16805
|
+
shortRef?: string | null;
|
|
16806
|
+
}[];
|
|
16807
|
+
childCount: number;
|
|
16771
16808
|
upcomingDeactivation: {
|
|
16772
16809
|
/** @enum {string} */
|
|
16773
16810
|
status: "active" | "disable-upcoming" | "disabled-ending" | "disabled-forever";
|
|
@@ -17050,6 +17087,21 @@ export interface operations {
|
|
|
17050
17087
|
appId?: string | null;
|
|
17051
17088
|
appIcon?: string | null;
|
|
17052
17089
|
} | null;
|
|
17090
|
+
parent: {
|
|
17091
|
+
/** Format: uuid */
|
|
17092
|
+
id: string;
|
|
17093
|
+
name: string;
|
|
17094
|
+
uniqueRef?: string | null;
|
|
17095
|
+
shortRef?: string | null;
|
|
17096
|
+
} | null;
|
|
17097
|
+
children?: {
|
|
17098
|
+
/** Format: uuid */
|
|
17099
|
+
id: string;
|
|
17100
|
+
name: string;
|
|
17101
|
+
uniqueRef?: string | null;
|
|
17102
|
+
shortRef?: string | null;
|
|
17103
|
+
}[];
|
|
17104
|
+
childCount: number;
|
|
17053
17105
|
upcomingDeactivation: {
|
|
17054
17106
|
/** @enum {string} */
|
|
17055
17107
|
status: "active" | "disable-upcoming" | "disabled-ending" | "disabled-forever";
|
|
@@ -17308,6 +17360,8 @@ export interface operations {
|
|
|
17308
17360
|
query?: {
|
|
17309
17361
|
status?: "active" | "inactive";
|
|
17310
17362
|
connectionId?: string;
|
|
17363
|
+
/** @description Filter by parent listing id. Use parent=null to return only parent/root listings. */
|
|
17364
|
+
parent?: string | "null";
|
|
17311
17365
|
/** @description Comma-separated listing ids. */
|
|
17312
17366
|
ids?: string;
|
|
17313
17367
|
search?: string;
|
|
@@ -17318,6 +17372,8 @@ export interface operations {
|
|
|
17318
17372
|
shortRefs?: string;
|
|
17319
17373
|
/** @description Filter listings by whether they currently have an active ownership period. */
|
|
17320
17374
|
activeOwnership?: boolean;
|
|
17375
|
+
/** @description Include child listing links on each listing. */
|
|
17376
|
+
includeChildren?: boolean;
|
|
17321
17377
|
/** @description Filter by active recurring fee coverage. Use `active` or `inactive` for any recurring fee type, prefix a fee type with `!` to exclude it, or pass a recurring fee UUID for one specific fee. */
|
|
17322
17378
|
activeRecurringFeePeriods?: string;
|
|
17323
17379
|
/** @description Filter listings that have (true) or lack (false) opening balances */
|
|
@@ -17429,6 +17485,8 @@ export interface operations {
|
|
|
17429
17485
|
query?: {
|
|
17430
17486
|
status?: "active" | "inactive";
|
|
17431
17487
|
connectionId?: string;
|
|
17488
|
+
/** @description Filter by parent listing id. Use parent=null to return only parent/root listings. */
|
|
17489
|
+
parent?: string | "null";
|
|
17432
17490
|
/** @description Comma-separated listing ids. */
|
|
17433
17491
|
ids?: string;
|
|
17434
17492
|
search?: string;
|
|
@@ -17439,6 +17497,8 @@ export interface operations {
|
|
|
17439
17497
|
shortRefs?: string;
|
|
17440
17498
|
/** @description Filter listings by whether they currently have an active ownership period. */
|
|
17441
17499
|
activeOwnership?: boolean;
|
|
17500
|
+
/** @description Include child listing links on each listing. */
|
|
17501
|
+
includeChildren?: boolean;
|
|
17442
17502
|
/** @description Filter by active recurring fee coverage. Use `active` or `inactive` for any recurring fee type, prefix a fee type with `!` to exclude it, or pass a recurring fee UUID for one specific fee. */
|
|
17443
17503
|
activeRecurringFeePeriods?: string;
|
|
17444
17504
|
/** @description Filter listings that have (true) or lack (false) opening balances */
|
|
@@ -18254,7 +18314,10 @@ export interface operations {
|
|
|
18254
18314
|
};
|
|
18255
18315
|
getListingsById: {
|
|
18256
18316
|
parameters: {
|
|
18257
|
-
query?:
|
|
18317
|
+
query?: {
|
|
18318
|
+
/** @description Include child listing links on the listing. */
|
|
18319
|
+
includeChildren?: boolean;
|
|
18320
|
+
};
|
|
18258
18321
|
header?: never;
|
|
18259
18322
|
path: {
|
|
18260
18323
|
id: string;
|
|
@@ -18363,6 +18426,21 @@ export interface operations {
|
|
|
18363
18426
|
appId?: string | null;
|
|
18364
18427
|
appIcon?: string | null;
|
|
18365
18428
|
} | null;
|
|
18429
|
+
parent: {
|
|
18430
|
+
/** Format: uuid */
|
|
18431
|
+
id: string;
|
|
18432
|
+
name: string;
|
|
18433
|
+
uniqueRef?: string | null;
|
|
18434
|
+
shortRef?: string | null;
|
|
18435
|
+
} | null;
|
|
18436
|
+
children?: {
|
|
18437
|
+
/** Format: uuid */
|
|
18438
|
+
id: string;
|
|
18439
|
+
name: string;
|
|
18440
|
+
uniqueRef?: string | null;
|
|
18441
|
+
shortRef?: string | null;
|
|
18442
|
+
}[];
|
|
18443
|
+
childCount: number;
|
|
18366
18444
|
upcomingDeactivation: {
|
|
18367
18445
|
/** @enum {string} */
|
|
18368
18446
|
status: "active" | "disable-upcoming" | "disabled-ending" | "disabled-forever";
|
|
@@ -18637,6 +18715,21 @@ export interface operations {
|
|
|
18637
18715
|
appId?: string | null;
|
|
18638
18716
|
appIcon?: string | null;
|
|
18639
18717
|
} | null;
|
|
18718
|
+
parent: {
|
|
18719
|
+
/** Format: uuid */
|
|
18720
|
+
id: string;
|
|
18721
|
+
name: string;
|
|
18722
|
+
uniqueRef?: string | null;
|
|
18723
|
+
shortRef?: string | null;
|
|
18724
|
+
} | null;
|
|
18725
|
+
children?: {
|
|
18726
|
+
/** Format: uuid */
|
|
18727
|
+
id: string;
|
|
18728
|
+
name: string;
|
|
18729
|
+
uniqueRef?: string | null;
|
|
18730
|
+
shortRef?: string | null;
|
|
18731
|
+
}[];
|
|
18732
|
+
childCount: number;
|
|
18640
18733
|
upcomingDeactivation: {
|
|
18641
18734
|
/** @enum {string} */
|
|
18642
18735
|
status: "active" | "disable-upcoming" | "disabled-ending" | "disabled-forever";
|
|
@@ -19090,6 +19183,499 @@ export interface operations {
|
|
|
19090
19183
|
};
|
|
19091
19184
|
};
|
|
19092
19185
|
};
|
|
19186
|
+
putListingsByIdParent: {
|
|
19187
|
+
parameters: {
|
|
19188
|
+
query?: {
|
|
19189
|
+
dryRun?: boolean;
|
|
19190
|
+
};
|
|
19191
|
+
header?: never;
|
|
19192
|
+
path: {
|
|
19193
|
+
id: string;
|
|
19194
|
+
};
|
|
19195
|
+
cookie?: never;
|
|
19196
|
+
};
|
|
19197
|
+
requestBody?: {
|
|
19198
|
+
content: {
|
|
19199
|
+
"application/json": {
|
|
19200
|
+
/** Format: uuid */
|
|
19201
|
+
parentId: string;
|
|
19202
|
+
};
|
|
19203
|
+
};
|
|
19204
|
+
};
|
|
19205
|
+
responses: {
|
|
19206
|
+
/** @description Successful response */
|
|
19207
|
+
200: {
|
|
19208
|
+
headers: {
|
|
19209
|
+
[name: string]: unknown;
|
|
19210
|
+
};
|
|
19211
|
+
content: {
|
|
19212
|
+
"application/json": {
|
|
19213
|
+
name: string;
|
|
19214
|
+
uniqueRef?: string | null;
|
|
19215
|
+
connectionId?: string | null;
|
|
19216
|
+
defaultCurrency?: string | null;
|
|
19217
|
+
address?: {
|
|
19218
|
+
full?: string | null;
|
|
19219
|
+
line1?: string | null;
|
|
19220
|
+
line2?: string | null;
|
|
19221
|
+
city?: string | null;
|
|
19222
|
+
/** @description Deprecated, use stateCode instead */
|
|
19223
|
+
state?: string | null;
|
|
19224
|
+
postalCode?: string | null;
|
|
19225
|
+
stateCode?: string | null;
|
|
19226
|
+
countryCode?: string | null;
|
|
19227
|
+
} | null;
|
|
19228
|
+
/** Format: uuid */
|
|
19229
|
+
id: string;
|
|
19230
|
+
shortRef?: string | null;
|
|
19231
|
+
title?: string | null;
|
|
19232
|
+
pmsName?: string | null;
|
|
19233
|
+
/** @enum {string} */
|
|
19234
|
+
status: "active" | "inactive";
|
|
19235
|
+
activeOwnership?: {
|
|
19236
|
+
/** Format: uuid */
|
|
19237
|
+
id: string;
|
|
19238
|
+
startAt: string;
|
|
19239
|
+
endAt?: string | null;
|
|
19240
|
+
/** @description Value in cents (100 = 1€) */
|
|
19241
|
+
reserve: number;
|
|
19242
|
+
members: {
|
|
19243
|
+
split?: number | null;
|
|
19244
|
+
/** Format: uuid */
|
|
19245
|
+
id: string;
|
|
19246
|
+
contact?: {
|
|
19247
|
+
/** Format: uuid */
|
|
19248
|
+
id: string;
|
|
19249
|
+
name?: string | null;
|
|
19250
|
+
firstName?: string | null;
|
|
19251
|
+
uniqueRef?: string | null;
|
|
19252
|
+
shortRef?: string | null;
|
|
19253
|
+
email?: string | null;
|
|
19254
|
+
/** @enum {string} */
|
|
19255
|
+
type: "owner" | "vendor";
|
|
19256
|
+
} | null;
|
|
19257
|
+
}[];
|
|
19258
|
+
setListingInactive?: boolean | null;
|
|
19259
|
+
/** @enum {string} */
|
|
19260
|
+
businessModel: "managed" | "co_host" | "co_host_airbnb";
|
|
19261
|
+
lock?: {
|
|
19262
|
+
/** @enum {string} */
|
|
19263
|
+
status: "locked" | "unlocked";
|
|
19264
|
+
booksClosed?: {
|
|
19265
|
+
date: string;
|
|
19266
|
+
} | null;
|
|
19267
|
+
ownerStatement?: {
|
|
19268
|
+
ids: string[];
|
|
19269
|
+
} | null;
|
|
19270
|
+
reconciled?: {
|
|
19271
|
+
bankRecordIds: string[];
|
|
19272
|
+
} | null;
|
|
19273
|
+
statementPeriod?: {
|
|
19274
|
+
hits: {
|
|
19275
|
+
/** Format: uuid */
|
|
19276
|
+
listingId: string;
|
|
19277
|
+
txnAt: string;
|
|
19278
|
+
openFrom: string;
|
|
19279
|
+
}[];
|
|
19280
|
+
} | null;
|
|
19281
|
+
} | null;
|
|
19282
|
+
} | null;
|
|
19283
|
+
activeRecurringFeePeriods?: {
|
|
19284
|
+
startAt?: string | null;
|
|
19285
|
+
endAt?: string | null;
|
|
19286
|
+
rate?: number | null;
|
|
19287
|
+
/** Format: uuid */
|
|
19288
|
+
id: string;
|
|
19289
|
+
recurringFee: {
|
|
19290
|
+
id: string;
|
|
19291
|
+
name: string;
|
|
19292
|
+
/** @enum {string} */
|
|
19293
|
+
type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
|
|
19294
|
+
rateType?: ("flat" | "percentage") | null;
|
|
19295
|
+
defaultRate?: number | null;
|
|
19296
|
+
};
|
|
19297
|
+
}[] | null;
|
|
19298
|
+
source?: {
|
|
19299
|
+
/** Format: uuid */
|
|
19300
|
+
id: string;
|
|
19301
|
+
type: string;
|
|
19302
|
+
status?: ("active" | "inactive") | null;
|
|
19303
|
+
appId?: string | null;
|
|
19304
|
+
appIcon?: string | null;
|
|
19305
|
+
} | null;
|
|
19306
|
+
parent: {
|
|
19307
|
+
/** Format: uuid */
|
|
19308
|
+
id: string;
|
|
19309
|
+
name: string;
|
|
19310
|
+
uniqueRef?: string | null;
|
|
19311
|
+
shortRef?: string | null;
|
|
19312
|
+
} | null;
|
|
19313
|
+
children?: {
|
|
19314
|
+
/** Format: uuid */
|
|
19315
|
+
id: string;
|
|
19316
|
+
name: string;
|
|
19317
|
+
uniqueRef?: string | null;
|
|
19318
|
+
shortRef?: string | null;
|
|
19319
|
+
}[];
|
|
19320
|
+
childCount: number;
|
|
19321
|
+
upcomingDeactivation: {
|
|
19322
|
+
/** @enum {string} */
|
|
19323
|
+
status: "active" | "disable-upcoming" | "disabled-ending" | "disabled-forever";
|
|
19324
|
+
period: {
|
|
19325
|
+
id: string;
|
|
19326
|
+
startAt: string;
|
|
19327
|
+
endAt: string | null;
|
|
19328
|
+
} | null;
|
|
19329
|
+
};
|
|
19330
|
+
issues: ({
|
|
19331
|
+
/** @constant */
|
|
19332
|
+
code: "missingOwnershipOrDeactivation";
|
|
19333
|
+
/** @constant */
|
|
19334
|
+
severity: "warning";
|
|
19335
|
+
context: Record<string, never>;
|
|
19336
|
+
} | {
|
|
19337
|
+
/** @constant */
|
|
19338
|
+
code: "missingFeesAndCommission";
|
|
19339
|
+
/** @constant */
|
|
19340
|
+
severity: "warning";
|
|
19341
|
+
context: Record<string, never>;
|
|
19342
|
+
} | {
|
|
19343
|
+
/** @constant */
|
|
19344
|
+
code: "missingOpeningBalance";
|
|
19345
|
+
/** @constant */
|
|
19346
|
+
severity: "warning";
|
|
19347
|
+
context: Record<string, never>;
|
|
19348
|
+
})[];
|
|
19349
|
+
};
|
|
19350
|
+
};
|
|
19351
|
+
};
|
|
19352
|
+
/** @description Bad request */
|
|
19353
|
+
400: {
|
|
19354
|
+
headers: {
|
|
19355
|
+
[name: string]: unknown;
|
|
19356
|
+
};
|
|
19357
|
+
content: {
|
|
19358
|
+
"application/json": {
|
|
19359
|
+
code: string;
|
|
19360
|
+
message: string;
|
|
19361
|
+
issues?: {
|
|
19362
|
+
message: string;
|
|
19363
|
+
}[];
|
|
19364
|
+
context?: unknown;
|
|
19365
|
+
};
|
|
19366
|
+
};
|
|
19367
|
+
};
|
|
19368
|
+
/** @description Unauthorized */
|
|
19369
|
+
401: {
|
|
19370
|
+
headers: {
|
|
19371
|
+
[name: string]: unknown;
|
|
19372
|
+
};
|
|
19373
|
+
content: {
|
|
19374
|
+
"application/json": {
|
|
19375
|
+
code: string;
|
|
19376
|
+
message: string;
|
|
19377
|
+
issues?: {
|
|
19378
|
+
message: string;
|
|
19379
|
+
}[];
|
|
19380
|
+
context?: unknown;
|
|
19381
|
+
};
|
|
19382
|
+
};
|
|
19383
|
+
};
|
|
19384
|
+
/** @description Forbidden */
|
|
19385
|
+
403: {
|
|
19386
|
+
headers: {
|
|
19387
|
+
[name: string]: unknown;
|
|
19388
|
+
};
|
|
19389
|
+
content: {
|
|
19390
|
+
"application/json": {
|
|
19391
|
+
code: string;
|
|
19392
|
+
message: string;
|
|
19393
|
+
issues?: {
|
|
19394
|
+
message: string;
|
|
19395
|
+
}[];
|
|
19396
|
+
context?: unknown;
|
|
19397
|
+
};
|
|
19398
|
+
};
|
|
19399
|
+
};
|
|
19400
|
+
/** @description Not found */
|
|
19401
|
+
404: {
|
|
19402
|
+
headers: {
|
|
19403
|
+
[name: string]: unknown;
|
|
19404
|
+
};
|
|
19405
|
+
content: {
|
|
19406
|
+
"application/json": {
|
|
19407
|
+
code: string;
|
|
19408
|
+
message: string;
|
|
19409
|
+
issues?: {
|
|
19410
|
+
message: string;
|
|
19411
|
+
}[];
|
|
19412
|
+
context?: unknown;
|
|
19413
|
+
};
|
|
19414
|
+
};
|
|
19415
|
+
};
|
|
19416
|
+
/** @description Internal server error */
|
|
19417
|
+
500: {
|
|
19418
|
+
headers: {
|
|
19419
|
+
[name: string]: unknown;
|
|
19420
|
+
};
|
|
19421
|
+
content: {
|
|
19422
|
+
"application/json": {
|
|
19423
|
+
code: string;
|
|
19424
|
+
message: string;
|
|
19425
|
+
issues?: {
|
|
19426
|
+
message: string;
|
|
19427
|
+
}[];
|
|
19428
|
+
context?: unknown;
|
|
19429
|
+
};
|
|
19430
|
+
};
|
|
19431
|
+
};
|
|
19432
|
+
};
|
|
19433
|
+
};
|
|
19434
|
+
deleteListingsByIdParent: {
|
|
19435
|
+
parameters: {
|
|
19436
|
+
query?: {
|
|
19437
|
+
dryRun?: boolean;
|
|
19438
|
+
};
|
|
19439
|
+
header?: never;
|
|
19440
|
+
path: {
|
|
19441
|
+
id: string;
|
|
19442
|
+
};
|
|
19443
|
+
cookie?: never;
|
|
19444
|
+
};
|
|
19445
|
+
requestBody?: {
|
|
19446
|
+
content: {
|
|
19447
|
+
"application/json": Record<string, never>;
|
|
19448
|
+
};
|
|
19449
|
+
};
|
|
19450
|
+
responses: {
|
|
19451
|
+
/** @description Successful response */
|
|
19452
|
+
200: {
|
|
19453
|
+
headers: {
|
|
19454
|
+
[name: string]: unknown;
|
|
19455
|
+
};
|
|
19456
|
+
content: {
|
|
19457
|
+
"application/json": {
|
|
19458
|
+
name: string;
|
|
19459
|
+
uniqueRef?: string | null;
|
|
19460
|
+
connectionId?: string | null;
|
|
19461
|
+
defaultCurrency?: string | null;
|
|
19462
|
+
address?: {
|
|
19463
|
+
full?: string | null;
|
|
19464
|
+
line1?: string | null;
|
|
19465
|
+
line2?: string | null;
|
|
19466
|
+
city?: string | null;
|
|
19467
|
+
/** @description Deprecated, use stateCode instead */
|
|
19468
|
+
state?: string | null;
|
|
19469
|
+
postalCode?: string | null;
|
|
19470
|
+
stateCode?: string | null;
|
|
19471
|
+
countryCode?: string | null;
|
|
19472
|
+
} | null;
|
|
19473
|
+
/** Format: uuid */
|
|
19474
|
+
id: string;
|
|
19475
|
+
shortRef?: string | null;
|
|
19476
|
+
title?: string | null;
|
|
19477
|
+
pmsName?: string | null;
|
|
19478
|
+
/** @enum {string} */
|
|
19479
|
+
status: "active" | "inactive";
|
|
19480
|
+
activeOwnership?: {
|
|
19481
|
+
/** Format: uuid */
|
|
19482
|
+
id: string;
|
|
19483
|
+
startAt: string;
|
|
19484
|
+
endAt?: string | null;
|
|
19485
|
+
/** @description Value in cents (100 = 1€) */
|
|
19486
|
+
reserve: number;
|
|
19487
|
+
members: {
|
|
19488
|
+
split?: number | null;
|
|
19489
|
+
/** Format: uuid */
|
|
19490
|
+
id: string;
|
|
19491
|
+
contact?: {
|
|
19492
|
+
/** Format: uuid */
|
|
19493
|
+
id: string;
|
|
19494
|
+
name?: string | null;
|
|
19495
|
+
firstName?: string | null;
|
|
19496
|
+
uniqueRef?: string | null;
|
|
19497
|
+
shortRef?: string | null;
|
|
19498
|
+
email?: string | null;
|
|
19499
|
+
/** @enum {string} */
|
|
19500
|
+
type: "owner" | "vendor";
|
|
19501
|
+
} | null;
|
|
19502
|
+
}[];
|
|
19503
|
+
setListingInactive?: boolean | null;
|
|
19504
|
+
/** @enum {string} */
|
|
19505
|
+
businessModel: "managed" | "co_host" | "co_host_airbnb";
|
|
19506
|
+
lock?: {
|
|
19507
|
+
/** @enum {string} */
|
|
19508
|
+
status: "locked" | "unlocked";
|
|
19509
|
+
booksClosed?: {
|
|
19510
|
+
date: string;
|
|
19511
|
+
} | null;
|
|
19512
|
+
ownerStatement?: {
|
|
19513
|
+
ids: string[];
|
|
19514
|
+
} | null;
|
|
19515
|
+
reconciled?: {
|
|
19516
|
+
bankRecordIds: string[];
|
|
19517
|
+
} | null;
|
|
19518
|
+
statementPeriod?: {
|
|
19519
|
+
hits: {
|
|
19520
|
+
/** Format: uuid */
|
|
19521
|
+
listingId: string;
|
|
19522
|
+
txnAt: string;
|
|
19523
|
+
openFrom: string;
|
|
19524
|
+
}[];
|
|
19525
|
+
} | null;
|
|
19526
|
+
} | null;
|
|
19527
|
+
} | null;
|
|
19528
|
+
activeRecurringFeePeriods?: {
|
|
19529
|
+
startAt?: string | null;
|
|
19530
|
+
endAt?: string | null;
|
|
19531
|
+
rate?: number | null;
|
|
19532
|
+
/** Format: uuid */
|
|
19533
|
+
id: string;
|
|
19534
|
+
recurringFee: {
|
|
19535
|
+
id: string;
|
|
19536
|
+
name: string;
|
|
19537
|
+
/** @enum {string} */
|
|
19538
|
+
type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
|
|
19539
|
+
rateType?: ("flat" | "percentage") | null;
|
|
19540
|
+
defaultRate?: number | null;
|
|
19541
|
+
};
|
|
19542
|
+
}[] | null;
|
|
19543
|
+
source?: {
|
|
19544
|
+
/** Format: uuid */
|
|
19545
|
+
id: string;
|
|
19546
|
+
type: string;
|
|
19547
|
+
status?: ("active" | "inactive") | null;
|
|
19548
|
+
appId?: string | null;
|
|
19549
|
+
appIcon?: string | null;
|
|
19550
|
+
} | null;
|
|
19551
|
+
parent: {
|
|
19552
|
+
/** Format: uuid */
|
|
19553
|
+
id: string;
|
|
19554
|
+
name: string;
|
|
19555
|
+
uniqueRef?: string | null;
|
|
19556
|
+
shortRef?: string | null;
|
|
19557
|
+
} | null;
|
|
19558
|
+
children?: {
|
|
19559
|
+
/** Format: uuid */
|
|
19560
|
+
id: string;
|
|
19561
|
+
name: string;
|
|
19562
|
+
uniqueRef?: string | null;
|
|
19563
|
+
shortRef?: string | null;
|
|
19564
|
+
}[];
|
|
19565
|
+
childCount: number;
|
|
19566
|
+
upcomingDeactivation: {
|
|
19567
|
+
/** @enum {string} */
|
|
19568
|
+
status: "active" | "disable-upcoming" | "disabled-ending" | "disabled-forever";
|
|
19569
|
+
period: {
|
|
19570
|
+
id: string;
|
|
19571
|
+
startAt: string;
|
|
19572
|
+
endAt: string | null;
|
|
19573
|
+
} | null;
|
|
19574
|
+
};
|
|
19575
|
+
issues: ({
|
|
19576
|
+
/** @constant */
|
|
19577
|
+
code: "missingOwnershipOrDeactivation";
|
|
19578
|
+
/** @constant */
|
|
19579
|
+
severity: "warning";
|
|
19580
|
+
context: Record<string, never>;
|
|
19581
|
+
} | {
|
|
19582
|
+
/** @constant */
|
|
19583
|
+
code: "missingFeesAndCommission";
|
|
19584
|
+
/** @constant */
|
|
19585
|
+
severity: "warning";
|
|
19586
|
+
context: Record<string, never>;
|
|
19587
|
+
} | {
|
|
19588
|
+
/** @constant */
|
|
19589
|
+
code: "missingOpeningBalance";
|
|
19590
|
+
/** @constant */
|
|
19591
|
+
severity: "warning";
|
|
19592
|
+
context: Record<string, never>;
|
|
19593
|
+
})[];
|
|
19594
|
+
};
|
|
19595
|
+
};
|
|
19596
|
+
};
|
|
19597
|
+
/** @description Bad request */
|
|
19598
|
+
400: {
|
|
19599
|
+
headers: {
|
|
19600
|
+
[name: string]: unknown;
|
|
19601
|
+
};
|
|
19602
|
+
content: {
|
|
19603
|
+
"application/json": {
|
|
19604
|
+
code: string;
|
|
19605
|
+
message: string;
|
|
19606
|
+
issues?: {
|
|
19607
|
+
message: string;
|
|
19608
|
+
}[];
|
|
19609
|
+
context?: unknown;
|
|
19610
|
+
};
|
|
19611
|
+
};
|
|
19612
|
+
};
|
|
19613
|
+
/** @description Unauthorized */
|
|
19614
|
+
401: {
|
|
19615
|
+
headers: {
|
|
19616
|
+
[name: string]: unknown;
|
|
19617
|
+
};
|
|
19618
|
+
content: {
|
|
19619
|
+
"application/json": {
|
|
19620
|
+
code: string;
|
|
19621
|
+
message: string;
|
|
19622
|
+
issues?: {
|
|
19623
|
+
message: string;
|
|
19624
|
+
}[];
|
|
19625
|
+
context?: unknown;
|
|
19626
|
+
};
|
|
19627
|
+
};
|
|
19628
|
+
};
|
|
19629
|
+
/** @description Forbidden */
|
|
19630
|
+
403: {
|
|
19631
|
+
headers: {
|
|
19632
|
+
[name: string]: unknown;
|
|
19633
|
+
};
|
|
19634
|
+
content: {
|
|
19635
|
+
"application/json": {
|
|
19636
|
+
code: string;
|
|
19637
|
+
message: string;
|
|
19638
|
+
issues?: {
|
|
19639
|
+
message: string;
|
|
19640
|
+
}[];
|
|
19641
|
+
context?: unknown;
|
|
19642
|
+
};
|
|
19643
|
+
};
|
|
19644
|
+
};
|
|
19645
|
+
/** @description Not found */
|
|
19646
|
+
404: {
|
|
19647
|
+
headers: {
|
|
19648
|
+
[name: string]: unknown;
|
|
19649
|
+
};
|
|
19650
|
+
content: {
|
|
19651
|
+
"application/json": {
|
|
19652
|
+
code: string;
|
|
19653
|
+
message: string;
|
|
19654
|
+
issues?: {
|
|
19655
|
+
message: string;
|
|
19656
|
+
}[];
|
|
19657
|
+
context?: unknown;
|
|
19658
|
+
};
|
|
19659
|
+
};
|
|
19660
|
+
};
|
|
19661
|
+
/** @description Internal server error */
|
|
19662
|
+
500: {
|
|
19663
|
+
headers: {
|
|
19664
|
+
[name: string]: unknown;
|
|
19665
|
+
};
|
|
19666
|
+
content: {
|
|
19667
|
+
"application/json": {
|
|
19668
|
+
code: string;
|
|
19669
|
+
message: string;
|
|
19670
|
+
issues?: {
|
|
19671
|
+
message: string;
|
|
19672
|
+
}[];
|
|
19673
|
+
context?: unknown;
|
|
19674
|
+
};
|
|
19675
|
+
};
|
|
19676
|
+
};
|
|
19677
|
+
};
|
|
19678
|
+
};
|
|
19093
19679
|
getMe: {
|
|
19094
19680
|
parameters: {
|
|
19095
19681
|
query?: never;
|
|
@@ -37122,6 +37708,13 @@ export interface operations {
|
|
|
37122
37708
|
/** @description Value in cents (100 = 1€) */
|
|
37123
37709
|
total: number;
|
|
37124
37710
|
section: string;
|
|
37711
|
+
sourceListing?: {
|
|
37712
|
+
/** Format: uuid */
|
|
37713
|
+
id: string;
|
|
37714
|
+
name: string;
|
|
37715
|
+
uniqueRef?: string | null;
|
|
37716
|
+
shortRef?: string | null;
|
|
37717
|
+
} | null;
|
|
37125
37718
|
issues: ({
|
|
37126
37719
|
/** @constant */
|
|
37127
37720
|
code: "previousPeriodJournalEntries";
|
|
@@ -37189,6 +37782,13 @@ export interface operations {
|
|
|
37189
37782
|
/** @description Value in cents (100 = 1€) */
|
|
37190
37783
|
total: number;
|
|
37191
37784
|
section: string;
|
|
37785
|
+
sourceListing?: {
|
|
37786
|
+
/** Format: uuid */
|
|
37787
|
+
id: string;
|
|
37788
|
+
name: string;
|
|
37789
|
+
uniqueRef?: string | null;
|
|
37790
|
+
shortRef?: string | null;
|
|
37791
|
+
} | null;
|
|
37192
37792
|
issues: ({
|
|
37193
37793
|
/** @constant */
|
|
37194
37794
|
code: "previousPeriodJournalEntries";
|
|
@@ -37272,6 +37872,13 @@ export interface operations {
|
|
|
37272
37872
|
/** @description Value in cents (100 = 1€) */
|
|
37273
37873
|
total: number;
|
|
37274
37874
|
section: string;
|
|
37875
|
+
sourceListing?: {
|
|
37876
|
+
/** Format: uuid */
|
|
37877
|
+
id: string;
|
|
37878
|
+
name: string;
|
|
37879
|
+
uniqueRef?: string | null;
|
|
37880
|
+
shortRef?: string | null;
|
|
37881
|
+
} | null;
|
|
37275
37882
|
issues: ({
|
|
37276
37883
|
/** @constant */
|
|
37277
37884
|
code: "previousPeriodJournalEntries";
|
|
@@ -37802,6 +38409,13 @@ export interface operations {
|
|
|
37802
38409
|
/** @description Value in cents (100 = 1€) */
|
|
37803
38410
|
total: number;
|
|
37804
38411
|
section: string;
|
|
38412
|
+
sourceListing?: {
|
|
38413
|
+
/** Format: uuid */
|
|
38414
|
+
id: string;
|
|
38415
|
+
name: string;
|
|
38416
|
+
uniqueRef?: string | null;
|
|
38417
|
+
shortRef?: string | null;
|
|
38418
|
+
} | null;
|
|
37805
38419
|
issues: ({
|
|
37806
38420
|
/** @constant */
|
|
37807
38421
|
code: "previousPeriodJournalEntries";
|
|
@@ -37869,6 +38483,13 @@ export interface operations {
|
|
|
37869
38483
|
/** @description Value in cents (100 = 1€) */
|
|
37870
38484
|
total: number;
|
|
37871
38485
|
section: string;
|
|
38486
|
+
sourceListing?: {
|
|
38487
|
+
/** Format: uuid */
|
|
38488
|
+
id: string;
|
|
38489
|
+
name: string;
|
|
38490
|
+
uniqueRef?: string | null;
|
|
38491
|
+
shortRef?: string | null;
|
|
38492
|
+
} | null;
|
|
37872
38493
|
issues: ({
|
|
37873
38494
|
/** @constant */
|
|
37874
38495
|
code: "previousPeriodJournalEntries";
|
|
@@ -37952,6 +38573,13 @@ export interface operations {
|
|
|
37952
38573
|
/** @description Value in cents (100 = 1€) */
|
|
37953
38574
|
total: number;
|
|
37954
38575
|
section: string;
|
|
38576
|
+
sourceListing?: {
|
|
38577
|
+
/** Format: uuid */
|
|
38578
|
+
id: string;
|
|
38579
|
+
name: string;
|
|
38580
|
+
uniqueRef?: string | null;
|
|
38581
|
+
shortRef?: string | null;
|
|
38582
|
+
} | null;
|
|
37955
38583
|
issues: ({
|
|
37956
38584
|
/** @constant */
|
|
37957
38585
|
code: "previousPeriodJournalEntries";
|
|
@@ -40694,6 +41322,13 @@ export interface operations {
|
|
|
40694
41322
|
/** @description Value in cents (100 = 1€) */
|
|
40695
41323
|
total: number;
|
|
40696
41324
|
section: string;
|
|
41325
|
+
sourceListing?: {
|
|
41326
|
+
/** Format: uuid */
|
|
41327
|
+
id: string;
|
|
41328
|
+
name: string;
|
|
41329
|
+
uniqueRef?: string | null;
|
|
41330
|
+
shortRef?: string | null;
|
|
41331
|
+
} | null;
|
|
40697
41332
|
issues: ({
|
|
40698
41333
|
/** @constant */
|
|
40699
41334
|
code: "previousPeriodJournalEntries";
|
|
@@ -40761,6 +41396,13 @@ export interface operations {
|
|
|
40761
41396
|
/** @description Value in cents (100 = 1€) */
|
|
40762
41397
|
total: number;
|
|
40763
41398
|
section: string;
|
|
41399
|
+
sourceListing?: {
|
|
41400
|
+
/** Format: uuid */
|
|
41401
|
+
id: string;
|
|
41402
|
+
name: string;
|
|
41403
|
+
uniqueRef?: string | null;
|
|
41404
|
+
shortRef?: string | null;
|
|
41405
|
+
} | null;
|
|
40764
41406
|
issues: ({
|
|
40765
41407
|
/** @constant */
|
|
40766
41408
|
code: "previousPeriodJournalEntries";
|
|
@@ -40844,6 +41486,13 @@ export interface operations {
|
|
|
40844
41486
|
/** @description Value in cents (100 = 1€) */
|
|
40845
41487
|
total: number;
|
|
40846
41488
|
section: string;
|
|
41489
|
+
sourceListing?: {
|
|
41490
|
+
/** Format: uuid */
|
|
41491
|
+
id: string;
|
|
41492
|
+
name: string;
|
|
41493
|
+
uniqueRef?: string | null;
|
|
41494
|
+
shortRef?: string | null;
|
|
41495
|
+
} | null;
|
|
40847
41496
|
issues: ({
|
|
40848
41497
|
/** @constant */
|
|
40849
41498
|
code: "previousPeriodJournalEntries";
|
|
@@ -41379,6 +42028,13 @@ export interface operations {
|
|
|
41379
42028
|
/** @description Value in cents (100 = 1€) */
|
|
41380
42029
|
total: number;
|
|
41381
42030
|
section: string;
|
|
42031
|
+
sourceListing?: {
|
|
42032
|
+
/** Format: uuid */
|
|
42033
|
+
id: string;
|
|
42034
|
+
name: string;
|
|
42035
|
+
uniqueRef?: string | null;
|
|
42036
|
+
shortRef?: string | null;
|
|
42037
|
+
} | null;
|
|
41382
42038
|
issues: ({
|
|
41383
42039
|
/** @constant */
|
|
41384
42040
|
code: "previousPeriodJournalEntries";
|
|
@@ -41446,6 +42102,13 @@ export interface operations {
|
|
|
41446
42102
|
/** @description Value in cents (100 = 1€) */
|
|
41447
42103
|
total: number;
|
|
41448
42104
|
section: string;
|
|
42105
|
+
sourceListing?: {
|
|
42106
|
+
/** Format: uuid */
|
|
42107
|
+
id: string;
|
|
42108
|
+
name: string;
|
|
42109
|
+
uniqueRef?: string | null;
|
|
42110
|
+
shortRef?: string | null;
|
|
42111
|
+
} | null;
|
|
41449
42112
|
issues: ({
|
|
41450
42113
|
/** @constant */
|
|
41451
42114
|
code: "previousPeriodJournalEntries";
|
|
@@ -41529,6 +42192,13 @@ export interface operations {
|
|
|
41529
42192
|
/** @description Value in cents (100 = 1€) */
|
|
41530
42193
|
total: number;
|
|
41531
42194
|
section: string;
|
|
42195
|
+
sourceListing?: {
|
|
42196
|
+
/** Format: uuid */
|
|
42197
|
+
id: string;
|
|
42198
|
+
name: string;
|
|
42199
|
+
uniqueRef?: string | null;
|
|
42200
|
+
shortRef?: string | null;
|
|
42201
|
+
} | null;
|
|
41532
42202
|
issues: ({
|
|
41533
42203
|
/** @constant */
|
|
41534
42204
|
code: "previousPeriodJournalEntries";
|