@vrplatform/api 1.3.0-stage.1199 → 1.3.0-stage.1202
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 +30 -1158
- package/build/main/generated/v1.js.map +1 -1
- package/build/main/index.d.ts +0 -3
- package/build/main/index.js +0 -1
- package/build/main/index.js.map +1 -1
- package/build/main/tsconfig.main.tsbuildinfo +1 -1
- package/build/module/generated/v1.d.ts +30 -1158
- package/build/module/generated/v1.js.map +1 -1
- package/build/module/index.d.ts +0 -3
- package/build/module/index.js +0 -1
- package/build/module/index.js.map +1 -1
- package/build/module/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/generated/v1.ts +30 -1158
- package/src/index.ts +0 -3
- package/build/main/ingest/index.d.ts +0 -21
- package/build/main/ingest/index.js +0 -189
- package/build/main/ingest/index.js.map +0 -1
- package/build/main/ingest/types.d.ts +0 -48
- package/build/main/ingest/types.js +0 -3
- package/build/main/ingest/types.js.map +0 -1
- package/build/module/ingest/index.d.ts +0 -21
- package/build/module/ingest/index.js +0 -171
- package/build/module/ingest/index.js.map +0 -1
- package/build/module/ingest/types.d.ts +0 -48
- package/build/module/ingest/types.js +0 -2
- package/build/module/ingest/types.js.map +0 -1
- package/src/ingest/index.ts +0 -227
- package/src/ingest/types.ts +0 -91
|
@@ -1373,41 +1373,6 @@ export interface paths {
|
|
|
1373
1373
|
patch?: never;
|
|
1374
1374
|
trace?: never;
|
|
1375
1375
|
};
|
|
1376
|
-
"/sources/batch": {
|
|
1377
|
-
parameters: {
|
|
1378
|
-
query?: never;
|
|
1379
|
-
header?: never;
|
|
1380
|
-
path?: never;
|
|
1381
|
-
cookie?: never;
|
|
1382
|
-
};
|
|
1383
|
-
get?: never;
|
|
1384
|
-
/** @description Updates a sources batch */
|
|
1385
|
-
put: operations["updateSources"];
|
|
1386
|
-
/** @description Create a sources batch */
|
|
1387
|
-
post: operations["batchSources"];
|
|
1388
|
-
delete?: never;
|
|
1389
|
-
options?: never;
|
|
1390
|
-
head?: never;
|
|
1391
|
-
patch?: never;
|
|
1392
|
-
trace?: never;
|
|
1393
|
-
};
|
|
1394
|
-
"/sources/cleanup": {
|
|
1395
|
-
parameters: {
|
|
1396
|
-
query?: never;
|
|
1397
|
-
header?: never;
|
|
1398
|
-
path?: never;
|
|
1399
|
-
cookie?: never;
|
|
1400
|
-
};
|
|
1401
|
-
get?: never;
|
|
1402
|
-
/** @description Cleanup after a sync, setting sources to inactive */
|
|
1403
|
-
put: operations["cleanUpSources"];
|
|
1404
|
-
post?: never;
|
|
1405
|
-
delete?: never;
|
|
1406
|
-
options?: never;
|
|
1407
|
-
head?: never;
|
|
1408
|
-
patch?: never;
|
|
1409
|
-
trace?: never;
|
|
1410
|
-
};
|
|
1411
1376
|
"/dispatch/effects": {
|
|
1412
1377
|
parameters: {
|
|
1413
1378
|
query?: never;
|
|
@@ -2590,30 +2555,9 @@ export interface operations {
|
|
|
2590
2555
|
data: {
|
|
2591
2556
|
/** Format: uuid */
|
|
2592
2557
|
id: string;
|
|
2593
|
-
/** @enum {string} */
|
|
2594
|
-
type: "deposit" | "creditCard";
|
|
2595
|
-
/** @enum {string} */
|
|
2596
|
-
category: "trust" | "operating" | "external";
|
|
2597
|
-
name: string;
|
|
2598
2558
|
uniqueRef?: string | null;
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
/** @enum {string|null} */
|
|
2602
|
-
status: "active" | "inactive" | null;
|
|
2603
|
-
account?: {
|
|
2604
|
-
id: string;
|
|
2605
|
-
name: string;
|
|
2606
|
-
uniqueRef?: string | null;
|
|
2607
|
-
/** @enum {string} */
|
|
2608
|
-
status: "active" | "inactive";
|
|
2609
|
-
} | null;
|
|
2610
|
-
source?: {
|
|
2611
|
-
/** Format: uuid */
|
|
2612
|
-
id: string;
|
|
2613
|
-
type: string;
|
|
2614
|
-
/** @enum {string|null} */
|
|
2615
|
-
status?: "active" | "inactive" | null;
|
|
2616
|
-
} | null;
|
|
2559
|
+
/** Format: uuid */
|
|
2560
|
+
sourceId?: string | null;
|
|
2617
2561
|
}[];
|
|
2618
2562
|
issues: {
|
|
2619
2563
|
ref: string;
|
|
@@ -3077,49 +3021,8 @@ export interface operations {
|
|
|
3077
3021
|
/** Format: uuid */
|
|
3078
3022
|
id: string;
|
|
3079
3023
|
uniqueRef?: string | null;
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
connectionId: string;
|
|
3083
|
-
currency: string;
|
|
3084
|
-
description?: string | null;
|
|
3085
|
-
metadata?: {
|
|
3086
|
-
[key: string]: unknown;
|
|
3087
|
-
} | null;
|
|
3088
|
-
userdata?: {
|
|
3089
|
-
[key: string]: unknown;
|
|
3090
|
-
} | null;
|
|
3091
|
-
lines: {
|
|
3092
|
-
/** Format: uuid */
|
|
3093
|
-
id: string;
|
|
3094
|
-
uniqueRef?: string | null;
|
|
3095
|
-
type: string;
|
|
3096
|
-
description?: string | null;
|
|
3097
|
-
/** Format: uuid */
|
|
3098
|
-
reservationId?: string | null;
|
|
3099
|
-
/** @description Value in cents (100 = 1€) */
|
|
3100
|
-
amount: number;
|
|
3101
|
-
connectionId?: string | null;
|
|
3102
|
-
metadata?: {
|
|
3103
|
-
[key: string]: unknown;
|
|
3104
|
-
} | null;
|
|
3105
|
-
account?: {
|
|
3106
|
-
id: string;
|
|
3107
|
-
name: string;
|
|
3108
|
-
uniqueRef?: string | null;
|
|
3109
|
-
/** @enum {string} */
|
|
3110
|
-
status: "active" | "inactive";
|
|
3111
|
-
} | null;
|
|
3112
|
-
isExcluded?: boolean | null;
|
|
3113
|
-
}[];
|
|
3114
|
-
/** @description Value in cents (100 = 1€) */
|
|
3115
|
-
amount: number;
|
|
3116
|
-
source?: {
|
|
3117
|
-
/** Format: uuid */
|
|
3118
|
-
id: string;
|
|
3119
|
-
type: string;
|
|
3120
|
-
/** @enum {string|null} */
|
|
3121
|
-
status?: "active" | "inactive" | null;
|
|
3122
|
-
} | null;
|
|
3024
|
+
/** Format: uuid */
|
|
3025
|
+
sourceId?: string | null;
|
|
3123
3026
|
}[];
|
|
3124
3027
|
issues: {
|
|
3125
3028
|
ref: string;
|
|
@@ -4190,270 +4093,11 @@ export interface operations {
|
|
|
4190
4093
|
content: {
|
|
4191
4094
|
"application/json": {
|
|
4192
4095
|
data: {
|
|
4193
|
-
currency: string | null;
|
|
4194
|
-
uniqueRef?: string | null;
|
|
4195
|
-
guestName?: string | null;
|
|
4196
|
-
bookerName?: string | null;
|
|
4197
|
-
checkIn?: string | null;
|
|
4198
|
-
checkOut?: string | null;
|
|
4199
|
-
generalLedgerPostingAt?: string | null;
|
|
4200
|
-
bookedAt?: string | null;
|
|
4201
|
-
cancelledAt?: string | null;
|
|
4202
|
-
bookingPlatform?: string | null;
|
|
4203
|
-
confirmationCode?: string | null;
|
|
4204
|
-
pmsReferenceCode?: string | null;
|
|
4205
|
-
guests?: number | null;
|
|
4206
|
-
userdata: {
|
|
4207
|
-
[key: string]: unknown;
|
|
4208
|
-
} | null;
|
|
4209
|
-
metadata: {
|
|
4210
|
-
[key: string]: unknown;
|
|
4211
|
-
} | null;
|
|
4212
4096
|
/** Format: uuid */
|
|
4213
4097
|
id: string;
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
code: "lineNotFound";
|
|
4218
|
-
/** @enum {string} */
|
|
4219
|
-
severity: "error";
|
|
4220
|
-
context: {
|
|
4221
|
-
lineIds: string[];
|
|
4222
|
-
};
|
|
4223
|
-
message: string;
|
|
4224
|
-
} | {
|
|
4225
|
-
/** @enum {string} */
|
|
4226
|
-
code: "unbalancedJournalEntries";
|
|
4227
|
-
/** @enum {string} */
|
|
4228
|
-
severity: "error";
|
|
4229
|
-
context: {
|
|
4230
|
-
difference: number;
|
|
4231
|
-
};
|
|
4232
|
-
message: string;
|
|
4233
|
-
} | {
|
|
4234
|
-
/** @enum {string} */
|
|
4235
|
-
code: "unassignedAccount";
|
|
4236
|
-
/** @enum {string} */
|
|
4237
|
-
severity: "error";
|
|
4238
|
-
context: {
|
|
4239
|
-
accountIds: string[];
|
|
4240
|
-
};
|
|
4241
|
-
} | {
|
|
4242
|
-
/** @enum {string} */
|
|
4243
|
-
code: "priorToStartDate";
|
|
4244
|
-
/** @enum {string} */
|
|
4245
|
-
severity: "warning";
|
|
4246
|
-
context: {
|
|
4247
|
-
startDate?: string | null;
|
|
4248
|
-
};
|
|
4249
|
-
} | {
|
|
4250
|
-
/** @enum {string} */
|
|
4251
|
-
code: "inactiveListing";
|
|
4252
|
-
/** @enum {string} */
|
|
4253
|
-
severity: "warning";
|
|
4254
|
-
context: {
|
|
4255
|
-
startDate?: string | null;
|
|
4256
|
-
};
|
|
4257
|
-
} | {
|
|
4258
|
-
/** @enum {string} */
|
|
4259
|
-
code: "inactiveConnection";
|
|
4260
|
-
/** @enum {string} */
|
|
4261
|
-
severity: "warning";
|
|
4262
|
-
context: Record<string, never>;
|
|
4263
|
-
} | {
|
|
4264
|
-
/** @enum {string} */
|
|
4265
|
-
code: "guestTotalsZero";
|
|
4266
|
-
/** @enum {string} */
|
|
4267
|
-
severity: "warning";
|
|
4268
|
-
context: Record<string, never>;
|
|
4269
|
-
} | {
|
|
4270
|
-
/** @enum {string} */
|
|
4271
|
-
code: "guestTotalsMismatch";
|
|
4272
|
-
/** @enum {string} */
|
|
4273
|
-
severity: "warning";
|
|
4274
|
-
context: {
|
|
4275
|
-
difference: number;
|
|
4276
|
-
};
|
|
4277
|
-
message: string;
|
|
4278
|
-
} | {
|
|
4279
|
-
/** @enum {string} */
|
|
4280
|
-
code: "locked";
|
|
4281
|
-
/** @enum {string} */
|
|
4282
|
-
severity: "warning";
|
|
4283
|
-
context: {
|
|
4284
|
-
reasons: ("statement" | "period")[];
|
|
4285
|
-
statementIds?: string[];
|
|
4286
|
-
booksClosedAt?: string;
|
|
4287
|
-
};
|
|
4288
|
-
})[];
|
|
4289
|
-
connection?: {
|
|
4290
|
-
/** Format: uuid */
|
|
4291
|
-
id: string;
|
|
4292
|
-
name: string;
|
|
4293
|
-
/** @enum {string} */
|
|
4294
|
-
status: "active" | "inactive";
|
|
4295
|
-
uniqueRef?: string | null;
|
|
4296
|
-
appId: string;
|
|
4297
|
-
} | null;
|
|
4298
|
-
nights?: number | null;
|
|
4299
|
-
/** @enum {string} */
|
|
4300
|
-
status: "booked" | "canceled" | "inactive";
|
|
4301
|
-
financials: {
|
|
4302
|
-
totals: {
|
|
4303
|
-
tax: number;
|
|
4304
|
-
manager: number;
|
|
4305
|
-
owner: number;
|
|
4306
|
-
reservation: number;
|
|
4307
|
-
expense: number;
|
|
4308
|
-
deposit: number;
|
|
4309
|
-
guest: number;
|
|
4310
|
-
};
|
|
4311
|
-
lines?: {
|
|
4312
|
-
name: string;
|
|
4313
|
-
/** @enum {string|null} */
|
|
4314
|
-
type?: "reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | null;
|
|
4315
|
-
/** @enum {string|null} */
|
|
4316
|
-
party?: "owners" | "manager" | null;
|
|
4317
|
-
/** @enum {string} */
|
|
4318
|
-
status: "active" | "inactive";
|
|
4319
|
-
amount: number;
|
|
4320
|
-
/** @enum {string|null} */
|
|
4321
|
-
inactiveReason?: "reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system" | null;
|
|
4322
|
-
account?: {
|
|
4323
|
-
id: string;
|
|
4324
|
-
name: string;
|
|
4325
|
-
uniqueRef?: string | null;
|
|
4326
|
-
/** @enum {string} */
|
|
4327
|
-
status: "active" | "inactive";
|
|
4328
|
-
/** @enum {string} */
|
|
4329
|
-
type: "ledger" | "bank" | "recurringFee" | "nonPosting";
|
|
4330
|
-
} | null;
|
|
4331
|
-
recurringFee?: {
|
|
4332
|
-
id: string;
|
|
4333
|
-
uniqueRef: string;
|
|
4334
|
-
name: string;
|
|
4335
|
-
/** @enum {string} */
|
|
4336
|
-
type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
|
|
4337
|
-
} | null;
|
|
4338
|
-
transaction?: {
|
|
4339
|
-
id: string;
|
|
4340
|
-
/** @enum {string} */
|
|
4341
|
-
status: "active" | "inactive";
|
|
4342
|
-
/** @description Value in cents (100 = 1€) */
|
|
4343
|
-
amount: number;
|
|
4344
|
-
account?: {
|
|
4345
|
-
id: string;
|
|
4346
|
-
name: string;
|
|
4347
|
-
uniqueRef?: string | null;
|
|
4348
|
-
/** @enum {string} */
|
|
4349
|
-
status: "active" | "inactive";
|
|
4350
|
-
} | null;
|
|
4351
|
-
date: string;
|
|
4352
|
-
description: string;
|
|
4353
|
-
currency: string;
|
|
4354
|
-
/** @enum {string} */
|
|
4355
|
-
type: "deposit" | "expense" | "transfer";
|
|
4356
|
-
contact?: {
|
|
4357
|
-
/** Format: uuid */
|
|
4358
|
-
id: string;
|
|
4359
|
-
name?: string | null;
|
|
4360
|
-
uniqueRef?: string | null;
|
|
4361
|
-
} | null;
|
|
4362
|
-
connection?: {
|
|
4363
|
-
/** Format: uuid */
|
|
4364
|
-
id: string;
|
|
4365
|
-
name: string;
|
|
4366
|
-
/** @enum {string} */
|
|
4367
|
-
status: "active" | "inactive";
|
|
4368
|
-
uniqueRef?: string | null;
|
|
4369
|
-
appId: string;
|
|
4370
|
-
} | null;
|
|
4371
|
-
uniqueRef?: string | null;
|
|
4372
|
-
recurringTemplate?: {
|
|
4373
|
-
id: string;
|
|
4374
|
-
} | null;
|
|
4375
|
-
} | null;
|
|
4376
|
-
line?: {
|
|
4377
|
-
id: string;
|
|
4378
|
-
type?: string | null;
|
|
4379
|
-
description?: string | null;
|
|
4380
|
-
} | null;
|
|
4381
|
-
}[] | null;
|
|
4382
|
-
};
|
|
4383
|
-
listing?: {
|
|
4384
|
-
/** Format: uuid */
|
|
4385
|
-
id: string;
|
|
4386
|
-
name: string;
|
|
4387
|
-
uniqueRef?: string | null;
|
|
4388
|
-
} | null;
|
|
4389
|
-
listingConnection?: {
|
|
4390
|
-
/** Format: uuid */
|
|
4391
|
-
id: string;
|
|
4392
|
-
name: string;
|
|
4393
|
-
uniqueRef?: string | null;
|
|
4394
|
-
} | null;
|
|
4395
|
-
payment: {
|
|
4396
|
-
expected: number;
|
|
4397
|
-
received: number;
|
|
4398
|
-
status: ("unpaid" | "underpaid" | "overpaid" | "paid") | "coHost";
|
|
4399
|
-
};
|
|
4400
|
-
source?: {
|
|
4401
|
-
/** Format: uuid */
|
|
4402
|
-
id: string;
|
|
4403
|
-
type: string;
|
|
4404
|
-
/** @enum {string|null} */
|
|
4405
|
-
status?: "active" | "inactive" | null;
|
|
4406
|
-
} | null;
|
|
4407
|
-
lines: {
|
|
4408
|
-
/** Format: uuid */
|
|
4409
|
-
id: string;
|
|
4410
|
-
uniqueRef?: string | null;
|
|
4411
|
-
type: string;
|
|
4412
|
-
description?: string | null;
|
|
4413
|
-
/** @description Value in cents (100 = 1€) */
|
|
4414
|
-
amount: number;
|
|
4415
|
-
connectionId?: string | null;
|
|
4416
|
-
metadata?: {
|
|
4417
|
-
[key: string]: unknown;
|
|
4418
|
-
} | null;
|
|
4419
|
-
account?: {
|
|
4420
|
-
id: string;
|
|
4421
|
-
name: string;
|
|
4422
|
-
uniqueRef?: string | null;
|
|
4423
|
-
/** @enum {string} */
|
|
4424
|
-
status: "active" | "inactive";
|
|
4425
|
-
} | null;
|
|
4426
|
-
isExcluded?: boolean | null;
|
|
4427
|
-
}[];
|
|
4428
|
-
/** @description Adjustments are manually added financial lines that are not part of the booking platform */
|
|
4429
|
-
adjustments: {
|
|
4430
|
-
/** Format: uuid */
|
|
4431
|
-
id: string;
|
|
4432
|
-
description?: string | null;
|
|
4433
|
-
/** @description Value in cents (100 = 1€) */
|
|
4434
|
-
amount: number;
|
|
4435
|
-
metadata?: {
|
|
4436
|
-
[key: string]: unknown;
|
|
4437
|
-
} | null;
|
|
4438
|
-
type?: string | null;
|
|
4439
|
-
/** @enum {string|null} */
|
|
4440
|
-
party?: "owners" | "manager" | null;
|
|
4441
|
-
generalLedgerPostingAt?: string | null;
|
|
4442
|
-
account?: {
|
|
4443
|
-
id: string;
|
|
4444
|
-
name: string;
|
|
4445
|
-
uniqueRef?: string | null;
|
|
4446
|
-
/** @enum {string} */
|
|
4447
|
-
status: "active" | "inactive";
|
|
4448
|
-
} | null;
|
|
4449
|
-
recurringFee?: {
|
|
4450
|
-
id: string;
|
|
4451
|
-
uniqueRef: string;
|
|
4452
|
-
name: string;
|
|
4453
|
-
/** @enum {string} */
|
|
4454
|
-
type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
|
|
4455
|
-
} | null;
|
|
4456
|
-
}[];
|
|
4098
|
+
uniqueRef?: string | null;
|
|
4099
|
+
/** Format: uuid */
|
|
4100
|
+
sourceId?: string | null;
|
|
4457
4101
|
}[];
|
|
4458
4102
|
issues: {
|
|
4459
4103
|
ref: string;
|
|
@@ -6130,7 +5774,7 @@ export interface operations {
|
|
|
6130
5774
|
data: {
|
|
6131
5775
|
/** Format: uuid */
|
|
6132
5776
|
listingId: string;
|
|
6133
|
-
/** @default 2025-12-
|
|
5777
|
+
/** @default 2025-12-04 */
|
|
6134
5778
|
startAt: string;
|
|
6135
5779
|
endAt?: string | null;
|
|
6136
5780
|
setListingInactive?: boolean | null;
|
|
@@ -6221,7 +5865,7 @@ export interface operations {
|
|
|
6221
5865
|
"application/json": {
|
|
6222
5866
|
/** Format: uuid */
|
|
6223
5867
|
listingId: string;
|
|
6224
|
-
/** @default 2025-12-
|
|
5868
|
+
/** @default 2025-12-04 */
|
|
6225
5869
|
startAt?: string;
|
|
6226
5870
|
endAt?: string | null;
|
|
6227
5871
|
members: {
|
|
@@ -6255,7 +5899,7 @@ export interface operations {
|
|
|
6255
5899
|
"application/json": {
|
|
6256
5900
|
/** Format: uuid */
|
|
6257
5901
|
listingId: string;
|
|
6258
|
-
/** @default 2025-12-
|
|
5902
|
+
/** @default 2025-12-04 */
|
|
6259
5903
|
startAt: string;
|
|
6260
5904
|
endAt?: string | null;
|
|
6261
5905
|
setListingInactive?: boolean | null;
|
|
@@ -6335,7 +5979,7 @@ export interface operations {
|
|
|
6335
5979
|
"application/json": {
|
|
6336
5980
|
/** Format: uuid */
|
|
6337
5981
|
listingId: string;
|
|
6338
|
-
/** @default 2025-12-
|
|
5982
|
+
/** @default 2025-12-04 */
|
|
6339
5983
|
startAt: string;
|
|
6340
5984
|
endAt?: string | null;
|
|
6341
5985
|
setListingInactive?: boolean | null;
|
|
@@ -6418,7 +6062,7 @@ export interface operations {
|
|
|
6418
6062
|
"application/json": {
|
|
6419
6063
|
/** Format: uuid */
|
|
6420
6064
|
listingId?: string;
|
|
6421
|
-
/** @default 2025-12-
|
|
6065
|
+
/** @default 2025-12-04 */
|
|
6422
6066
|
startAt?: string;
|
|
6423
6067
|
endAt?: string | null;
|
|
6424
6068
|
members?: {
|
|
@@ -6452,7 +6096,7 @@ export interface operations {
|
|
|
6452
6096
|
"application/json": {
|
|
6453
6097
|
/** Format: uuid */
|
|
6454
6098
|
listingId: string;
|
|
6455
|
-
/** @default 2025-12-
|
|
6099
|
+
/** @default 2025-12-04 */
|
|
6456
6100
|
startAt: string;
|
|
6457
6101
|
endAt?: string | null;
|
|
6458
6102
|
setListingInactive?: boolean | null;
|
|
@@ -6648,7 +6292,7 @@ export interface operations {
|
|
|
6648
6292
|
/** Format: uuid */
|
|
6649
6293
|
sourceId?: string | null;
|
|
6650
6294
|
initialOwnership?: {
|
|
6651
|
-
/** @default 2025-12-
|
|
6295
|
+
/** @default 2025-12-04 */
|
|
6652
6296
|
startAt?: string;
|
|
6653
6297
|
endAt?: string | null;
|
|
6654
6298
|
members: {
|
|
@@ -6689,77 +6333,7 @@ export interface operations {
|
|
|
6689
6333
|
id: string;
|
|
6690
6334
|
uniqueRef?: string | null;
|
|
6691
6335
|
/** Format: uuid */
|
|
6692
|
-
|
|
6693
|
-
name: string;
|
|
6694
|
-
address?: {
|
|
6695
|
-
full?: string | null;
|
|
6696
|
-
line1?: string | null;
|
|
6697
|
-
line2?: string | null;
|
|
6698
|
-
city?: string | null;
|
|
6699
|
-
/** @deprecated */
|
|
6700
|
-
state?: string | null;
|
|
6701
|
-
postalCode?: string | null;
|
|
6702
|
-
stateCode?: string | null;
|
|
6703
|
-
countryCode?: string | null;
|
|
6704
|
-
} | null;
|
|
6705
|
-
/** @enum {string} */
|
|
6706
|
-
status: "active" | "inactive";
|
|
6707
|
-
defaultCurrency?: string | null;
|
|
6708
|
-
activeOwnership?: {
|
|
6709
|
-
/** @default 2025-12-03 */
|
|
6710
|
-
startAt: string;
|
|
6711
|
-
endAt?: string | null;
|
|
6712
|
-
setListingInactive?: boolean | null;
|
|
6713
|
-
/**
|
|
6714
|
-
* @default managed
|
|
6715
|
-
* @enum {string|null}
|
|
6716
|
-
*/
|
|
6717
|
-
businessModel: "managed" | "co_host" | "co_host_airbnb" | null;
|
|
6718
|
-
members: {
|
|
6719
|
-
/** Format: uuid */
|
|
6720
|
-
contactId?: string | null;
|
|
6721
|
-
/** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
|
|
6722
|
-
split?: number | null;
|
|
6723
|
-
}[];
|
|
6724
|
-
/** Format: uuid */
|
|
6725
|
-
id: string;
|
|
6726
|
-
} | null;
|
|
6727
|
-
activeRecurringFeePeriods?: {
|
|
6728
|
-
startAt?: string | null;
|
|
6729
|
-
endAt?: string | null;
|
|
6730
|
-
/** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
|
|
6731
|
-
rate?: number | null;
|
|
6732
|
-
/** Format: uuid */
|
|
6733
|
-
id: string;
|
|
6734
|
-
recurringFee: {
|
|
6735
|
-
/** Format: uuid */
|
|
6736
|
-
id: string;
|
|
6737
|
-
title: string;
|
|
6738
|
-
/** @enum {string} */
|
|
6739
|
-
type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
|
|
6740
|
-
/**
|
|
6741
|
-
* @default flat
|
|
6742
|
-
* @enum {string}
|
|
6743
|
-
*/
|
|
6744
|
-
rateType: "flat" | "percentage";
|
|
6745
|
-
};
|
|
6746
|
-
}[] | null;
|
|
6747
|
-
source?: {
|
|
6748
|
-
/** Format: uuid */
|
|
6749
|
-
id: string;
|
|
6750
|
-
type: string;
|
|
6751
|
-
/** @enum {string|null} */
|
|
6752
|
-
status?: "active" | "inactive" | null;
|
|
6753
|
-
} | null;
|
|
6754
|
-
upcomingDeactivation: {
|
|
6755
|
-
/** @enum {string} */
|
|
6756
|
-
status: "active" | "disable-upcoming" | "disabled-ending" | "disabled-forever";
|
|
6757
|
-
period: {
|
|
6758
|
-
id: string;
|
|
6759
|
-
startAt: string;
|
|
6760
|
-
endAt: string | null;
|
|
6761
|
-
} | null;
|
|
6762
|
-
};
|
|
6336
|
+
sourceId?: string | null;
|
|
6763
6337
|
}[];
|
|
6764
6338
|
issues: {
|
|
6765
6339
|
ref: string;
|
|
@@ -7013,7 +6587,7 @@ export interface operations {
|
|
|
7013
6587
|
/** Format: uuid */
|
|
7014
6588
|
sourceId?: string | null;
|
|
7015
6589
|
initialOwnership?: {
|
|
7016
|
-
/** @default 2025-12-
|
|
6590
|
+
/** @default 2025-12-04 */
|
|
7017
6591
|
startAt?: string;
|
|
7018
6592
|
endAt?: string | null;
|
|
7019
6593
|
members: {
|
|
@@ -7473,7 +7047,7 @@ export interface operations {
|
|
|
7473
7047
|
/** Format: uuid */
|
|
7474
7048
|
sourceId?: string | null;
|
|
7475
7049
|
initialOwnership?: {
|
|
7476
|
-
/** @default 2025-12-
|
|
7050
|
+
/** @default 2025-12-04 */
|
|
7477
7051
|
startAt?: string;
|
|
7478
7052
|
endAt?: string | null;
|
|
7479
7053
|
members: {
|
|
@@ -7527,7 +7101,7 @@ export interface operations {
|
|
|
7527
7101
|
status: "active" | "inactive";
|
|
7528
7102
|
defaultCurrency?: string | null;
|
|
7529
7103
|
activeOwnership?: {
|
|
7530
|
-
/** @default 2025-12-
|
|
7104
|
+
/** @default 2025-12-04 */
|
|
7531
7105
|
startAt: string;
|
|
7532
7106
|
endAt?: string | null;
|
|
7533
7107
|
setListingInactive?: boolean | null;
|
|
@@ -14004,151 +13578,11 @@ export interface operations {
|
|
|
14004
13578
|
content: {
|
|
14005
13579
|
"application/json": {
|
|
14006
13580
|
data: {
|
|
14007
|
-
description: string;
|
|
14008
|
-
/** @enum {string} */
|
|
14009
|
-
status: "active" | "inactive";
|
|
14010
|
-
uniqueRef?: string | null;
|
|
14011
|
-
/** @enum {string} */
|
|
14012
|
-
type: "deposit" | "expense" | "transfer";
|
|
14013
|
-
date: string;
|
|
14014
|
-
lines: {
|
|
14015
|
-
uniqueRef?: string | null;
|
|
14016
|
-
description: string;
|
|
14017
|
-
/** @description Value in cents (100 = 1€) */
|
|
14018
|
-
amount: number;
|
|
14019
|
-
/** Format: uuid */
|
|
14020
|
-
ownerStatementId?: string | null;
|
|
14021
|
-
matchers?: {
|
|
14022
|
-
confirmationCode?: string | null;
|
|
14023
|
-
customerId?: string | null;
|
|
14024
|
-
lineType?: string | null;
|
|
14025
|
-
} | null;
|
|
14026
|
-
id: string;
|
|
14027
|
-
issues: {
|
|
14028
|
-
/** @enum {string} */
|
|
14029
|
-
code: "unassignedAccount";
|
|
14030
|
-
/** @enum {string} */
|
|
14031
|
-
severity: "error";
|
|
14032
|
-
context: {
|
|
14033
|
-
lineType: string;
|
|
14034
|
-
};
|
|
14035
|
-
}[];
|
|
14036
|
-
recurringTemplate?: {
|
|
14037
|
-
id: string;
|
|
14038
|
-
} | null;
|
|
14039
|
-
total: number;
|
|
14040
|
-
listing?: {
|
|
14041
|
-
/** Format: uuid */
|
|
14042
|
-
id: string;
|
|
14043
|
-
name: string;
|
|
14044
|
-
uniqueRef?: string | null;
|
|
14045
|
-
} | null;
|
|
14046
|
-
reservation?: {
|
|
14047
|
-
id: string;
|
|
14048
|
-
confirmationCode?: string | null;
|
|
14049
|
-
uniqueRef: string;
|
|
14050
|
-
/** @enum {string} */
|
|
14051
|
-
status: "booked" | "canceled" | "inactive";
|
|
14052
|
-
checkIn?: string | null;
|
|
14053
|
-
checkOut?: string | null;
|
|
14054
|
-
} | null;
|
|
14055
|
-
account?: {
|
|
14056
|
-
id: string;
|
|
14057
|
-
name: string;
|
|
14058
|
-
uniqueRef?: string | null;
|
|
14059
|
-
/** @enum {string} */
|
|
14060
|
-
status: "active" | "inactive";
|
|
14061
|
-
} | null;
|
|
14062
|
-
/** @enum {string} */
|
|
14063
|
-
party: "owners" | "manager";
|
|
14064
|
-
contact?: {
|
|
14065
|
-
/** Format: uuid */
|
|
14066
|
-
id: string;
|
|
14067
|
-
name?: string | null;
|
|
14068
|
-
uniqueRef?: string | null;
|
|
14069
|
-
} | null;
|
|
14070
|
-
matchStatus?: string | null;
|
|
14071
|
-
markup?: {
|
|
14072
|
-
/** @description Value in cents (100 = 1€) */
|
|
14073
|
-
amount?: number | null;
|
|
14074
|
-
/**
|
|
14075
|
-
* @default excluded
|
|
14076
|
-
* @enum {string|null}
|
|
14077
|
-
*/
|
|
14078
|
-
taxBehavior: "excluded" | "included" | null;
|
|
14079
|
-
taxRate?: {
|
|
14080
|
-
id: string;
|
|
14081
|
-
name: string;
|
|
14082
|
-
/** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
|
|
14083
|
-
basisPoints: number;
|
|
14084
|
-
} | null;
|
|
14085
|
-
} | null;
|
|
14086
|
-
}[];
|
|
14087
13581
|
/** Format: uuid */
|
|
14088
|
-
recurringTemplateId?: string | null;
|
|
14089
|
-
matchers?: {
|
|
14090
|
-
bankAccountRef?: string | null;
|
|
14091
|
-
} | null;
|
|
14092
13582
|
id: string;
|
|
14093
|
-
|
|
14094
|
-
|
|
14095
|
-
|
|
14096
|
-
/** @enum {string} */
|
|
14097
|
-
severity: "error";
|
|
14098
|
-
context: Record<string, never>;
|
|
14099
|
-
} | {
|
|
14100
|
-
/** @enum {string} */
|
|
14101
|
-
code: "locked";
|
|
14102
|
-
/** @enum {string} */
|
|
14103
|
-
severity: "warning";
|
|
14104
|
-
context: {
|
|
14105
|
-
reasons: ("statement" | "period")[];
|
|
14106
|
-
statementIds?: string[];
|
|
14107
|
-
booksClosedAt?: string;
|
|
14108
|
-
};
|
|
14109
|
-
})[];
|
|
14110
|
-
currency: string;
|
|
14111
|
-
/** @description Value in cents (100 = 1€) */
|
|
14112
|
-
amount: number;
|
|
14113
|
-
recurringTemplate?: {
|
|
14114
|
-
id: string;
|
|
14115
|
-
} | null;
|
|
14116
|
-
account?: {
|
|
14117
|
-
id: string;
|
|
14118
|
-
name: string;
|
|
14119
|
-
uniqueRef?: string | null;
|
|
14120
|
-
/** @enum {string} */
|
|
14121
|
-
status: "active" | "inactive";
|
|
14122
|
-
} | null;
|
|
14123
|
-
payment: {
|
|
14124
|
-
bankRecordIds: string[];
|
|
14125
|
-
/** @enum {string} */
|
|
14126
|
-
status: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
14127
|
-
date?: string | null;
|
|
14128
|
-
};
|
|
14129
|
-
connection?: {
|
|
14130
|
-
/** Format: uuid */
|
|
14131
|
-
id: string;
|
|
14132
|
-
name: string;
|
|
14133
|
-
/** @enum {string} */
|
|
14134
|
-
status: "active" | "inactive";
|
|
14135
|
-
uniqueRef?: string | null;
|
|
14136
|
-
appId: string;
|
|
14137
|
-
} | null;
|
|
14138
|
-
contact?: {
|
|
14139
|
-
/** Format: uuid */
|
|
14140
|
-
id: string;
|
|
14141
|
-
name?: string | null;
|
|
14142
|
-
uniqueRef?: string | null;
|
|
14143
|
-
} | null;
|
|
14144
|
-
source?: {
|
|
14145
|
-
/** Format: uuid */
|
|
14146
|
-
id: string;
|
|
14147
|
-
type: string;
|
|
14148
|
-
/** @enum {string|null} */
|
|
14149
|
-
status?: "active" | "inactive" | null;
|
|
14150
|
-
} | null;
|
|
14151
|
-
matchStatus?: string | null;
|
|
13583
|
+
uniqueRef?: string | null;
|
|
13584
|
+
/** Format: uuid */
|
|
13585
|
+
sourceId?: string | null;
|
|
14152
13586
|
}[];
|
|
14153
13587
|
};
|
|
14154
13588
|
};
|
|
@@ -15912,151 +15346,11 @@ export interface operations {
|
|
|
15912
15346
|
content: {
|
|
15913
15347
|
"application/json": {
|
|
15914
15348
|
data: {
|
|
15915
|
-
description: string;
|
|
15916
|
-
/** @enum {string} */
|
|
15917
|
-
status: "active" | "inactive";
|
|
15918
|
-
uniqueRef?: string | null;
|
|
15919
|
-
/** @enum {string} */
|
|
15920
|
-
type: "deposit" | "expense" | "transfer";
|
|
15921
|
-
date: string;
|
|
15922
|
-
lines: {
|
|
15923
|
-
uniqueRef?: string | null;
|
|
15924
|
-
description: string;
|
|
15925
|
-
/** @description Value in cents (100 = 1€) */
|
|
15926
|
-
amount: number;
|
|
15927
|
-
/** Format: uuid */
|
|
15928
|
-
ownerStatementId?: string | null;
|
|
15929
|
-
matchers?: {
|
|
15930
|
-
confirmationCode?: string | null;
|
|
15931
|
-
customerId?: string | null;
|
|
15932
|
-
lineType?: string | null;
|
|
15933
|
-
} | null;
|
|
15934
|
-
id: string;
|
|
15935
|
-
issues: {
|
|
15936
|
-
/** @enum {string} */
|
|
15937
|
-
code: "unassignedAccount";
|
|
15938
|
-
/** @enum {string} */
|
|
15939
|
-
severity: "error";
|
|
15940
|
-
context: {
|
|
15941
|
-
lineType: string;
|
|
15942
|
-
};
|
|
15943
|
-
}[];
|
|
15944
|
-
recurringTemplate?: {
|
|
15945
|
-
id: string;
|
|
15946
|
-
} | null;
|
|
15947
|
-
total: number;
|
|
15948
|
-
listing?: {
|
|
15949
|
-
/** Format: uuid */
|
|
15950
|
-
id: string;
|
|
15951
|
-
name: string;
|
|
15952
|
-
uniqueRef?: string | null;
|
|
15953
|
-
} | null;
|
|
15954
|
-
reservation?: {
|
|
15955
|
-
id: string;
|
|
15956
|
-
confirmationCode?: string | null;
|
|
15957
|
-
uniqueRef: string;
|
|
15958
|
-
/** @enum {string} */
|
|
15959
|
-
status: "booked" | "canceled" | "inactive";
|
|
15960
|
-
checkIn?: string | null;
|
|
15961
|
-
checkOut?: string | null;
|
|
15962
|
-
} | null;
|
|
15963
|
-
account?: {
|
|
15964
|
-
id: string;
|
|
15965
|
-
name: string;
|
|
15966
|
-
uniqueRef?: string | null;
|
|
15967
|
-
/** @enum {string} */
|
|
15968
|
-
status: "active" | "inactive";
|
|
15969
|
-
} | null;
|
|
15970
|
-
/** @enum {string} */
|
|
15971
|
-
party: "owners" | "manager";
|
|
15972
|
-
contact?: {
|
|
15973
|
-
/** Format: uuid */
|
|
15974
|
-
id: string;
|
|
15975
|
-
name?: string | null;
|
|
15976
|
-
uniqueRef?: string | null;
|
|
15977
|
-
} | null;
|
|
15978
|
-
matchStatus?: string | null;
|
|
15979
|
-
markup?: {
|
|
15980
|
-
/** @description Value in cents (100 = 1€) */
|
|
15981
|
-
amount?: number | null;
|
|
15982
|
-
/**
|
|
15983
|
-
* @default excluded
|
|
15984
|
-
* @enum {string|null}
|
|
15985
|
-
*/
|
|
15986
|
-
taxBehavior: "excluded" | "included" | null;
|
|
15987
|
-
taxRate?: {
|
|
15988
|
-
id: string;
|
|
15989
|
-
name: string;
|
|
15990
|
-
/** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
|
|
15991
|
-
basisPoints: number;
|
|
15992
|
-
} | null;
|
|
15993
|
-
} | null;
|
|
15994
|
-
}[];
|
|
15995
15349
|
/** Format: uuid */
|
|
15996
|
-
recurringTemplateId?: string | null;
|
|
15997
|
-
matchers?: {
|
|
15998
|
-
bankAccountRef?: string | null;
|
|
15999
|
-
} | null;
|
|
16000
15350
|
id: string;
|
|
16001
|
-
|
|
16002
|
-
|
|
16003
|
-
|
|
16004
|
-
/** @enum {string} */
|
|
16005
|
-
severity: "error";
|
|
16006
|
-
context: Record<string, never>;
|
|
16007
|
-
} | {
|
|
16008
|
-
/** @enum {string} */
|
|
16009
|
-
code: "locked";
|
|
16010
|
-
/** @enum {string} */
|
|
16011
|
-
severity: "warning";
|
|
16012
|
-
context: {
|
|
16013
|
-
reasons: ("statement" | "period")[];
|
|
16014
|
-
statementIds?: string[];
|
|
16015
|
-
booksClosedAt?: string;
|
|
16016
|
-
};
|
|
16017
|
-
})[];
|
|
16018
|
-
currency: string;
|
|
16019
|
-
/** @description Value in cents (100 = 1€) */
|
|
16020
|
-
amount: number;
|
|
16021
|
-
recurringTemplate?: {
|
|
16022
|
-
id: string;
|
|
16023
|
-
} | null;
|
|
16024
|
-
account?: {
|
|
16025
|
-
id: string;
|
|
16026
|
-
name: string;
|
|
16027
|
-
uniqueRef?: string | null;
|
|
16028
|
-
/** @enum {string} */
|
|
16029
|
-
status: "active" | "inactive";
|
|
16030
|
-
} | null;
|
|
16031
|
-
payment: {
|
|
16032
|
-
bankRecordIds: string[];
|
|
16033
|
-
/** @enum {string} */
|
|
16034
|
-
status: "unpaid" | "underpaid" | "overpaid" | "paid";
|
|
16035
|
-
date?: string | null;
|
|
16036
|
-
};
|
|
16037
|
-
connection?: {
|
|
16038
|
-
/** Format: uuid */
|
|
16039
|
-
id: string;
|
|
16040
|
-
name: string;
|
|
16041
|
-
/** @enum {string} */
|
|
16042
|
-
status: "active" | "inactive";
|
|
16043
|
-
uniqueRef?: string | null;
|
|
16044
|
-
appId: string;
|
|
16045
|
-
} | null;
|
|
16046
|
-
contact?: {
|
|
16047
|
-
/** Format: uuid */
|
|
16048
|
-
id: string;
|
|
16049
|
-
name?: string | null;
|
|
16050
|
-
uniqueRef?: string | null;
|
|
16051
|
-
} | null;
|
|
16052
|
-
source?: {
|
|
16053
|
-
/** Format: uuid */
|
|
16054
|
-
id: string;
|
|
16055
|
-
type: string;
|
|
16056
|
-
/** @enum {string|null} */
|
|
16057
|
-
status?: "active" | "inactive" | null;
|
|
16058
|
-
} | null;
|
|
16059
|
-
matchStatus?: string | null;
|
|
15351
|
+
uniqueRef?: string | null;
|
|
15352
|
+
/** Format: uuid */
|
|
15353
|
+
sourceId?: string | null;
|
|
16060
15354
|
}[];
|
|
16061
15355
|
issues: {
|
|
16062
15356
|
ref: string;
|
|
@@ -19235,39 +18529,8 @@ export interface operations {
|
|
|
19235
18529
|
/** Format: uuid */
|
|
19236
18530
|
id: string;
|
|
19237
18531
|
uniqueRef?: string | null;
|
|
19238
|
-
date: string;
|
|
19239
|
-
/** @enum {string} */
|
|
19240
|
-
status: "active" | "inactive";
|
|
19241
|
-
description?: string | null;
|
|
19242
|
-
bankAccountId?: string | null;
|
|
19243
|
-
accountId?: string | null;
|
|
19244
18532
|
/** Format: uuid */
|
|
19245
|
-
|
|
19246
|
-
source?: {
|
|
19247
|
-
/** Format: uuid */
|
|
19248
|
-
id: string;
|
|
19249
|
-
type: string;
|
|
19250
|
-
/** @enum {string|null} */
|
|
19251
|
-
status?: "active" | "inactive" | null;
|
|
19252
|
-
} | null;
|
|
19253
|
-
/** @enum {string} */
|
|
19254
|
-
type: "transaction" | "balance";
|
|
19255
|
-
amount: number;
|
|
19256
|
-
balance: {
|
|
19257
|
-
current: number;
|
|
19258
|
-
correction: number;
|
|
19259
|
-
};
|
|
19260
|
-
reconciliation: {
|
|
19261
|
-
/** @enum {string|null} */
|
|
19262
|
-
status?: "unpaid" | "underpaid" | "overpaid" | "paid" | null;
|
|
19263
|
-
transactions?: {
|
|
19264
|
-
id: string;
|
|
19265
|
-
date: string;
|
|
19266
|
-
description?: string | null;
|
|
19267
|
-
type: string;
|
|
19268
|
-
amount: number;
|
|
19269
|
-
}[] | null;
|
|
19270
|
-
};
|
|
18533
|
+
sourceId?: string | null;
|
|
19271
18534
|
}[];
|
|
19272
18535
|
issues: {
|
|
19273
18536
|
ref: string;
|
|
@@ -19493,6 +18756,8 @@ export interface operations {
|
|
|
19493
18756
|
reconciledTransactionIds?: string[] | null;
|
|
19494
18757
|
/** @enum {string|null} */
|
|
19495
18758
|
status?: "active" | "inactive" | null;
|
|
18759
|
+
addedCount?: number;
|
|
18760
|
+
removedCount?: number;
|
|
19496
18761
|
};
|
|
19497
18762
|
};
|
|
19498
18763
|
};
|
|
@@ -19768,54 +19033,11 @@ export interface operations {
|
|
|
19768
19033
|
content: {
|
|
19769
19034
|
"application/json": {
|
|
19770
19035
|
data: {
|
|
19771
|
-
address?: {
|
|
19772
|
-
full?: string | null;
|
|
19773
|
-
line1?: string | null;
|
|
19774
|
-
line2?: string | null;
|
|
19775
|
-
city?: string | null;
|
|
19776
|
-
/** @deprecated */
|
|
19777
|
-
state?: string | null;
|
|
19778
|
-
postalCode?: string | null;
|
|
19779
|
-
stateCode?: string | null;
|
|
19780
|
-
countryCode?: string | null;
|
|
19781
|
-
} | null;
|
|
19782
|
-
/** @enum {string} */
|
|
19783
|
-
type: "owner" | "vendor";
|
|
19784
|
-
/** Format: email */
|
|
19785
|
-
email?: string | null;
|
|
19786
|
-
firstName?: string | null;
|
|
19787
|
-
name?: string | null;
|
|
19788
|
-
phone?: string | null;
|
|
19789
|
-
connectionId?: string | null;
|
|
19790
|
-
/** @enum {string|null} */
|
|
19791
|
-
companyType?: "c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate" | null;
|
|
19792
|
-
taxIdentifier?: string | null;
|
|
19793
|
-
uniqueRef?: string | null;
|
|
19794
|
-
/** @enum {string} */
|
|
19795
|
-
status: "active" | "inactive";
|
|
19796
|
-
/** Format: uuid */
|
|
19797
|
-
payoutAccountId?: string | null;
|
|
19798
19036
|
/** Format: uuid */
|
|
19799
19037
|
id: string;
|
|
19800
|
-
|
|
19801
|
-
|
|
19802
|
-
|
|
19803
|
-
type: string;
|
|
19804
|
-
/** @enum {string|null} */
|
|
19805
|
-
status?: "active" | "inactive" | null;
|
|
19806
|
-
} | null;
|
|
19807
|
-
ownershipPeriods: {
|
|
19808
|
-
listingId: string;
|
|
19809
|
-
split: number;
|
|
19810
|
-
startAt?: string | null;
|
|
19811
|
-
endAt?: string | null;
|
|
19812
|
-
}[];
|
|
19813
|
-
activeOwnerships: {
|
|
19814
|
-
listingId: string;
|
|
19815
|
-
split: number;
|
|
19816
|
-
startAt?: string | null;
|
|
19817
|
-
endAt?: string | null;
|
|
19818
|
-
}[];
|
|
19038
|
+
uniqueRef?: string | null;
|
|
19039
|
+
/** Format: uuid */
|
|
19040
|
+
sourceId?: string | null;
|
|
19819
19041
|
}[];
|
|
19820
19042
|
issues: {
|
|
19821
19043
|
ref: string;
|
|
@@ -21420,356 +20642,6 @@ export interface operations {
|
|
|
21420
20642
|
};
|
|
21421
20643
|
};
|
|
21422
20644
|
};
|
|
21423
|
-
updateSources: {
|
|
21424
|
-
parameters: {
|
|
21425
|
-
query?: never;
|
|
21426
|
-
header?: {
|
|
21427
|
-
"X-Team-Id"?: string;
|
|
21428
|
-
};
|
|
21429
|
-
path?: never;
|
|
21430
|
-
cookie?: never;
|
|
21431
|
-
};
|
|
21432
|
-
requestBody: {
|
|
21433
|
-
content: {
|
|
21434
|
-
"application/json": {
|
|
21435
|
-
/** Format: uuid */
|
|
21436
|
-
connectionId?: string | null;
|
|
21437
|
-
/** Format: uuid */
|
|
21438
|
-
syncId?: string | null;
|
|
21439
|
-
/** Format: uuid */
|
|
21440
|
-
syncSubtaskId?: string | null;
|
|
21441
|
-
data: {
|
|
21442
|
-
/** Format: uuid */
|
|
21443
|
-
changeId: string;
|
|
21444
|
-
/** @enum {string|null} */
|
|
21445
|
-
status?: "completed" | "failed" | "skipped" | null;
|
|
21446
|
-
message?: string | null;
|
|
21447
|
-
source?: {
|
|
21448
|
-
/** @enum {string|null} */
|
|
21449
|
-
status?: "active" | "deleted" | null;
|
|
21450
|
-
description?: string | null;
|
|
21451
|
-
href?: string | null;
|
|
21452
|
-
data?: {
|
|
21453
|
-
[key: string]: unknown;
|
|
21454
|
-
} | null;
|
|
21455
|
-
date?: string | null;
|
|
21456
|
-
transform?: {
|
|
21457
|
-
/** Format: uuid */
|
|
21458
|
-
id?: string | null;
|
|
21459
|
-
/** @enum {string} */
|
|
21460
|
-
type: "reservation" | "listing" | "payment" | "transaction" | "bankRecord" | "contact";
|
|
21461
|
-
data?: {
|
|
21462
|
-
[key: string]: unknown;
|
|
21463
|
-
} | null;
|
|
21464
|
-
} | null;
|
|
21465
|
-
} | null;
|
|
21466
|
-
}[];
|
|
21467
|
-
};
|
|
21468
|
-
};
|
|
21469
|
-
};
|
|
21470
|
-
responses: {
|
|
21471
|
-
/** @description Successful response */
|
|
21472
|
-
200: {
|
|
21473
|
-
headers: {
|
|
21474
|
-
[name: string]: unknown;
|
|
21475
|
-
};
|
|
21476
|
-
content: {
|
|
21477
|
-
"application/json": {
|
|
21478
|
-
data: {
|
|
21479
|
-
/** Format: uuid */
|
|
21480
|
-
id: string;
|
|
21481
|
-
}[];
|
|
21482
|
-
};
|
|
21483
|
-
};
|
|
21484
|
-
};
|
|
21485
|
-
/** @description Invalid input data */
|
|
21486
|
-
400: {
|
|
21487
|
-
headers: {
|
|
21488
|
-
[name: string]: unknown;
|
|
21489
|
-
};
|
|
21490
|
-
content: {
|
|
21491
|
-
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
21492
|
-
};
|
|
21493
|
-
};
|
|
21494
|
-
/** @description Authorization not provided */
|
|
21495
|
-
401: {
|
|
21496
|
-
headers: {
|
|
21497
|
-
[name: string]: unknown;
|
|
21498
|
-
};
|
|
21499
|
-
content: {
|
|
21500
|
-
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
21501
|
-
};
|
|
21502
|
-
};
|
|
21503
|
-
/** @description Insufficient access */
|
|
21504
|
-
403: {
|
|
21505
|
-
headers: {
|
|
21506
|
-
[name: string]: unknown;
|
|
21507
|
-
};
|
|
21508
|
-
content: {
|
|
21509
|
-
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
21510
|
-
};
|
|
21511
|
-
};
|
|
21512
|
-
/** @description Not found */
|
|
21513
|
-
404: {
|
|
21514
|
-
headers: {
|
|
21515
|
-
[name: string]: unknown;
|
|
21516
|
-
};
|
|
21517
|
-
content: {
|
|
21518
|
-
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
21519
|
-
};
|
|
21520
|
-
};
|
|
21521
|
-
/** @description Internal server error */
|
|
21522
|
-
500: {
|
|
21523
|
-
headers: {
|
|
21524
|
-
[name: string]: unknown;
|
|
21525
|
-
};
|
|
21526
|
-
content: {
|
|
21527
|
-
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
21528
|
-
};
|
|
21529
|
-
};
|
|
21530
|
-
};
|
|
21531
|
-
};
|
|
21532
|
-
batchSources: {
|
|
21533
|
-
parameters: {
|
|
21534
|
-
query?: never;
|
|
21535
|
-
header?: {
|
|
21536
|
-
"X-Team-Id"?: string;
|
|
21537
|
-
};
|
|
21538
|
-
path?: never;
|
|
21539
|
-
cookie?: never;
|
|
21540
|
-
};
|
|
21541
|
-
requestBody: {
|
|
21542
|
-
content: {
|
|
21543
|
-
"application/json": {
|
|
21544
|
-
returnOnlyChanges?: boolean | null;
|
|
21545
|
-
/** @enum {string|null} */
|
|
21546
|
-
returnDataFields?: "data" | "transformData" | "all" | "none" | null;
|
|
21547
|
-
/** Format: uuid */
|
|
21548
|
-
syncId?: string | null;
|
|
21549
|
-
/** Format: uuid */
|
|
21550
|
-
syncSubtaskId?: string | null;
|
|
21551
|
-
/** Format: uuid */
|
|
21552
|
-
connectionId: string;
|
|
21553
|
-
/** Format: uuid */
|
|
21554
|
-
automationId?: string | null;
|
|
21555
|
-
forceUpdate?: boolean | null;
|
|
21556
|
-
allowDuplicateEntityUniqueRef?: boolean | null;
|
|
21557
|
-
data: {
|
|
21558
|
-
/** @enum {string|null} */
|
|
21559
|
-
status?: "active" | "inactive" | null;
|
|
21560
|
-
type: string;
|
|
21561
|
-
uniqueRef: string;
|
|
21562
|
-
date?: string | null;
|
|
21563
|
-
lastWebhookAt?: string | null;
|
|
21564
|
-
data?: {
|
|
21565
|
-
[key: string]: unknown;
|
|
21566
|
-
} | null;
|
|
21567
|
-
href?: string | null;
|
|
21568
|
-
description?: string | null;
|
|
21569
|
-
transform?: {
|
|
21570
|
-
/** Format: uuid */
|
|
21571
|
-
id?: string | null;
|
|
21572
|
-
/** @enum {string} */
|
|
21573
|
-
type: "reservation" | "listing" | "payment" | "transaction" | "bankRecord" | "contact";
|
|
21574
|
-
data?: {
|
|
21575
|
-
[key: string]: unknown;
|
|
21576
|
-
} | null;
|
|
21577
|
-
} | null;
|
|
21578
|
-
deprecatedFields?: {
|
|
21579
|
-
reservationId?: string | null;
|
|
21580
|
-
} | null;
|
|
21581
|
-
customChange?: {
|
|
21582
|
-
/** @enum {string} */
|
|
21583
|
-
status: "skipped" | "failed";
|
|
21584
|
-
message?: string | null;
|
|
21585
|
-
} | null;
|
|
21586
|
-
/** Format: uuid */
|
|
21587
|
-
id?: string | null;
|
|
21588
|
-
}[];
|
|
21589
|
-
};
|
|
21590
|
-
};
|
|
21591
|
-
};
|
|
21592
|
-
responses: {
|
|
21593
|
-
/** @description Successful response */
|
|
21594
|
-
200: {
|
|
21595
|
-
headers: {
|
|
21596
|
-
[name: string]: unknown;
|
|
21597
|
-
};
|
|
21598
|
-
content: {
|
|
21599
|
-
"application/json": {
|
|
21600
|
-
data: {
|
|
21601
|
-
/** Format: uuid */
|
|
21602
|
-
connectionId: string;
|
|
21603
|
-
/** @enum {string|null} */
|
|
21604
|
-
status?: "active" | "inactive" | null;
|
|
21605
|
-
type: string;
|
|
21606
|
-
uniqueRef: string;
|
|
21607
|
-
date?: string | null;
|
|
21608
|
-
lastWebhookAt?: string | null;
|
|
21609
|
-
data?: {
|
|
21610
|
-
[key: string]: unknown;
|
|
21611
|
-
} | null;
|
|
21612
|
-
href?: string | null;
|
|
21613
|
-
description?: string | null;
|
|
21614
|
-
transform?: {
|
|
21615
|
-
/** Format: uuid */
|
|
21616
|
-
id?: string | null;
|
|
21617
|
-
/** @enum {string} */
|
|
21618
|
-
type: "reservation" | "listing" | "payment" | "transaction" | "bankRecord" | "contact";
|
|
21619
|
-
data?: {
|
|
21620
|
-
[key: string]: unknown;
|
|
21621
|
-
} | null;
|
|
21622
|
-
} | null;
|
|
21623
|
-
deprecatedFields?: {
|
|
21624
|
-
reservationId?: string | null;
|
|
21625
|
-
} | null;
|
|
21626
|
-
customChange?: {
|
|
21627
|
-
/** @enum {string} */
|
|
21628
|
-
status: "skipped" | "failed";
|
|
21629
|
-
message?: string | null;
|
|
21630
|
-
} | null;
|
|
21631
|
-
/** Format: uuid */
|
|
21632
|
-
id: string;
|
|
21633
|
-
currentVersion: number;
|
|
21634
|
-
change?: {
|
|
21635
|
-
/** Format: uuid */
|
|
21636
|
-
id: string;
|
|
21637
|
-
/** @enum {string} */
|
|
21638
|
-
status: "queued" | "completed" | "failed" | "skipped";
|
|
21639
|
-
/** @enum {string} */
|
|
21640
|
-
type: "create" | "update" | "delete";
|
|
21641
|
-
createdAt: string;
|
|
21642
|
-
version?: number | null;
|
|
21643
|
-
message?: string | null;
|
|
21644
|
-
} | null;
|
|
21645
|
-
}[];
|
|
21646
|
-
};
|
|
21647
|
-
};
|
|
21648
|
-
};
|
|
21649
|
-
/** @description Invalid input data */
|
|
21650
|
-
400: {
|
|
21651
|
-
headers: {
|
|
21652
|
-
[name: string]: unknown;
|
|
21653
|
-
};
|
|
21654
|
-
content: {
|
|
21655
|
-
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
21656
|
-
};
|
|
21657
|
-
};
|
|
21658
|
-
/** @description Authorization not provided */
|
|
21659
|
-
401: {
|
|
21660
|
-
headers: {
|
|
21661
|
-
[name: string]: unknown;
|
|
21662
|
-
};
|
|
21663
|
-
content: {
|
|
21664
|
-
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
21665
|
-
};
|
|
21666
|
-
};
|
|
21667
|
-
/** @description Insufficient access */
|
|
21668
|
-
403: {
|
|
21669
|
-
headers: {
|
|
21670
|
-
[name: string]: unknown;
|
|
21671
|
-
};
|
|
21672
|
-
content: {
|
|
21673
|
-
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
21674
|
-
};
|
|
21675
|
-
};
|
|
21676
|
-
/** @description Internal server error */
|
|
21677
|
-
500: {
|
|
21678
|
-
headers: {
|
|
21679
|
-
[name: string]: unknown;
|
|
21680
|
-
};
|
|
21681
|
-
content: {
|
|
21682
|
-
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
21683
|
-
};
|
|
21684
|
-
};
|
|
21685
|
-
};
|
|
21686
|
-
};
|
|
21687
|
-
cleanUpSources: {
|
|
21688
|
-
parameters: {
|
|
21689
|
-
query?: never;
|
|
21690
|
-
header?: {
|
|
21691
|
-
"X-Team-Id"?: string;
|
|
21692
|
-
};
|
|
21693
|
-
path?: never;
|
|
21694
|
-
cookie?: never;
|
|
21695
|
-
};
|
|
21696
|
-
requestBody: {
|
|
21697
|
-
content: {
|
|
21698
|
-
"application/json": {
|
|
21699
|
-
/** Format: uuid */
|
|
21700
|
-
syncId?: string | null;
|
|
21701
|
-
/** Format: uuid */
|
|
21702
|
-
connectionId: string;
|
|
21703
|
-
type: string;
|
|
21704
|
-
/** @enum {string|null} */
|
|
21705
|
-
transformType?: "listing" | "reservation" | "bankAccount" | "bankRecord" | null;
|
|
21706
|
-
whereRange?: {
|
|
21707
|
-
range?: string | null;
|
|
21708
|
-
checkIn?: string | null;
|
|
21709
|
-
checkOut?: string | null;
|
|
21710
|
-
} | null;
|
|
21711
|
-
};
|
|
21712
|
-
};
|
|
21713
|
-
};
|
|
21714
|
-
responses: {
|
|
21715
|
-
/** @description Successful response */
|
|
21716
|
-
200: {
|
|
21717
|
-
headers: {
|
|
21718
|
-
[name: string]: unknown;
|
|
21719
|
-
};
|
|
21720
|
-
content: {
|
|
21721
|
-
"application/json": {
|
|
21722
|
-
ok: boolean;
|
|
21723
|
-
};
|
|
21724
|
-
};
|
|
21725
|
-
};
|
|
21726
|
-
/** @description Invalid input data */
|
|
21727
|
-
400: {
|
|
21728
|
-
headers: {
|
|
21729
|
-
[name: string]: unknown;
|
|
21730
|
-
};
|
|
21731
|
-
content: {
|
|
21732
|
-
"application/json": components["schemas"]["error.BAD_REQUEST"];
|
|
21733
|
-
};
|
|
21734
|
-
};
|
|
21735
|
-
/** @description Authorization not provided */
|
|
21736
|
-
401: {
|
|
21737
|
-
headers: {
|
|
21738
|
-
[name: string]: unknown;
|
|
21739
|
-
};
|
|
21740
|
-
content: {
|
|
21741
|
-
"application/json": components["schemas"]["error.UNAUTHORIZED"];
|
|
21742
|
-
};
|
|
21743
|
-
};
|
|
21744
|
-
/** @description Insufficient access */
|
|
21745
|
-
403: {
|
|
21746
|
-
headers: {
|
|
21747
|
-
[name: string]: unknown;
|
|
21748
|
-
};
|
|
21749
|
-
content: {
|
|
21750
|
-
"application/json": components["schemas"]["error.FORBIDDEN"];
|
|
21751
|
-
};
|
|
21752
|
-
};
|
|
21753
|
-
/** @description Not found */
|
|
21754
|
-
404: {
|
|
21755
|
-
headers: {
|
|
21756
|
-
[name: string]: unknown;
|
|
21757
|
-
};
|
|
21758
|
-
content: {
|
|
21759
|
-
"application/json": components["schemas"]["error.NOT_FOUND"];
|
|
21760
|
-
};
|
|
21761
|
-
};
|
|
21762
|
-
/** @description Internal server error */
|
|
21763
|
-
500: {
|
|
21764
|
-
headers: {
|
|
21765
|
-
[name: string]: unknown;
|
|
21766
|
-
};
|
|
21767
|
-
content: {
|
|
21768
|
-
"application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
|
|
21769
|
-
};
|
|
21770
|
-
};
|
|
21771
|
-
};
|
|
21772
|
-
};
|
|
21773
20645
|
listEffects: {
|
|
21774
20646
|
parameters: {
|
|
21775
20647
|
query?: {
|