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