@vrplatform/api 1.3.1-stage.3585 → 1.3.1-stage.3586
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.
|
@@ -2976,6 +2976,23 @@ export interface paths {
|
|
|
2976
2976
|
patch?: never;
|
|
2977
2977
|
trace?: never;
|
|
2978
2978
|
};
|
|
2979
|
+
"/teams/lookup": {
|
|
2980
|
+
parameters: {
|
|
2981
|
+
query?: never;
|
|
2982
|
+
header?: never;
|
|
2983
|
+
path?: never;
|
|
2984
|
+
cookie?: never;
|
|
2985
|
+
};
|
|
2986
|
+
/** @description Look up teams by name */
|
|
2987
|
+
get: operations["getTeamsLookup"];
|
|
2988
|
+
put?: never;
|
|
2989
|
+
post?: never;
|
|
2990
|
+
delete?: never;
|
|
2991
|
+
options?: never;
|
|
2992
|
+
head?: never;
|
|
2993
|
+
patch?: never;
|
|
2994
|
+
trace?: never;
|
|
2995
|
+
};
|
|
2979
2996
|
"/teams/migrate-vri-to-vrt": {
|
|
2980
2997
|
parameters: {
|
|
2981
2998
|
query?: never;
|
|
@@ -45338,6 +45355,256 @@ export interface operations {
|
|
|
45338
45355
|
};
|
|
45339
45356
|
};
|
|
45340
45357
|
};
|
|
45358
|
+
getTeamsLookup: {
|
|
45359
|
+
parameters: {
|
|
45360
|
+
query: {
|
|
45361
|
+
name: string;
|
|
45362
|
+
status?: "active" | "inactive" | "deleted" | "onboarding";
|
|
45363
|
+
limit?: number;
|
|
45364
|
+
page?: number;
|
|
45365
|
+
};
|
|
45366
|
+
header?: never;
|
|
45367
|
+
path?: never;
|
|
45368
|
+
cookie?: never;
|
|
45369
|
+
};
|
|
45370
|
+
requestBody?: never;
|
|
45371
|
+
responses: {
|
|
45372
|
+
/** @description Successful response */
|
|
45373
|
+
200: {
|
|
45374
|
+
headers: {
|
|
45375
|
+
[name: string]: unknown;
|
|
45376
|
+
};
|
|
45377
|
+
content: {
|
|
45378
|
+
"application/json": {
|
|
45379
|
+
data: {
|
|
45380
|
+
/** Format: uuid */
|
|
45381
|
+
id: string;
|
|
45382
|
+
defaultCurrency?: string | null;
|
|
45383
|
+
longTermStayNights?: number | null;
|
|
45384
|
+
defaultRevenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
|
|
45385
|
+
migratedFromTenantId?: string | null;
|
|
45386
|
+
historicalStatementsImportedAt?: string | null;
|
|
45387
|
+
name: string;
|
|
45388
|
+
statementAddress?: {
|
|
45389
|
+
full?: string | null;
|
|
45390
|
+
line1?: string | null;
|
|
45391
|
+
line2?: string | null;
|
|
45392
|
+
city?: string | null;
|
|
45393
|
+
/** @description Deprecated, use stateCode instead */
|
|
45394
|
+
state?: string | null;
|
|
45395
|
+
postalCode?: string | null;
|
|
45396
|
+
stateCode?: string | null;
|
|
45397
|
+
countryCode?: string | null;
|
|
45398
|
+
} | null;
|
|
45399
|
+
billingAddress?: {
|
|
45400
|
+
full?: string | null;
|
|
45401
|
+
line1?: string | null;
|
|
45402
|
+
line2?: string | null;
|
|
45403
|
+
city?: string | null;
|
|
45404
|
+
/** @description Deprecated, use stateCode instead */
|
|
45405
|
+
state?: string | null;
|
|
45406
|
+
postalCode?: string | null;
|
|
45407
|
+
stateCode?: string | null;
|
|
45408
|
+
countryCode?: string | null;
|
|
45409
|
+
} | null;
|
|
45410
|
+
phone?: string | null;
|
|
45411
|
+
email?: string | null;
|
|
45412
|
+
taxId?: string | null;
|
|
45413
|
+
partner?: {
|
|
45414
|
+
/** Format: uuid */
|
|
45415
|
+
id: string;
|
|
45416
|
+
name: string;
|
|
45417
|
+
} | null;
|
|
45418
|
+
billingPartner?: {
|
|
45419
|
+
/** Format: uuid */
|
|
45420
|
+
id: string;
|
|
45421
|
+
name: string;
|
|
45422
|
+
} | null;
|
|
45423
|
+
companyName?: string | null;
|
|
45424
|
+
/** @enum {string} */
|
|
45425
|
+
type: "partner" | "admin" | "propertyManager";
|
|
45426
|
+
/** @enum {string} */
|
|
45427
|
+
status: "active" | "inactive" | "deleted" | "onboarding";
|
|
45428
|
+
billingSubscriptionStatus?: string | null;
|
|
45429
|
+
billingPlan?: string | null;
|
|
45430
|
+
billingPaymentMethodType?: string | null;
|
|
45431
|
+
billingCustomerId?: string | null;
|
|
45432
|
+
colorPrimary?: string | null;
|
|
45433
|
+
createdAt?: string | null;
|
|
45434
|
+
updatedAt?: string | null;
|
|
45435
|
+
trialUntil?: string | null;
|
|
45436
|
+
cancelledAt?: string | null;
|
|
45437
|
+
isOnboarding?: boolean | null;
|
|
45438
|
+
issues: ({
|
|
45439
|
+
/** @constant */
|
|
45440
|
+
code: "unassignedAccount";
|
|
45441
|
+
/** @constant */
|
|
45442
|
+
severity: "error";
|
|
45443
|
+
context: {
|
|
45444
|
+
accountIds: string[];
|
|
45445
|
+
};
|
|
45446
|
+
} | {
|
|
45447
|
+
/** @constant */
|
|
45448
|
+
code: "brokenConnections";
|
|
45449
|
+
/** @constant */
|
|
45450
|
+
severity: "error";
|
|
45451
|
+
context: {
|
|
45452
|
+
connections: {
|
|
45453
|
+
/** Format: uuid */
|
|
45454
|
+
id: string;
|
|
45455
|
+
name: string;
|
|
45456
|
+
appId: string;
|
|
45457
|
+
}[];
|
|
45458
|
+
};
|
|
45459
|
+
} | {
|
|
45460
|
+
/** @constant */
|
|
45461
|
+
code: "outdatedConnections";
|
|
45462
|
+
/** @constant */
|
|
45463
|
+
severity: "error";
|
|
45464
|
+
context: {
|
|
45465
|
+
connections: {
|
|
45466
|
+
/** Format: uuid */
|
|
45467
|
+
id: string;
|
|
45468
|
+
name: string;
|
|
45469
|
+
appId: string;
|
|
45470
|
+
}[];
|
|
45471
|
+
};
|
|
45472
|
+
})[];
|
|
45473
|
+
isGeneralLedger?: boolean | null;
|
|
45474
|
+
isOpex?: boolean;
|
|
45475
|
+
booksClosedAt?: string | null;
|
|
45476
|
+
logo?: string | null;
|
|
45477
|
+
statementStartAt?: string | null;
|
|
45478
|
+
effectiveStatementStartAt?: string | null;
|
|
45479
|
+
settings: {
|
|
45480
|
+
showReservations: boolean;
|
|
45481
|
+
showCancelledReservations: boolean;
|
|
45482
|
+
showReservationTotal: boolean;
|
|
45483
|
+
showOwnerCalendarBlocking: boolean;
|
|
45484
|
+
showTaxStatements: boolean;
|
|
45485
|
+
showTwoFactorAuth: boolean;
|
|
45486
|
+
};
|
|
45487
|
+
ownerPortalShowDraftStatements?: boolean;
|
|
45488
|
+
members?: {
|
|
45489
|
+
userId: string;
|
|
45490
|
+
email?: string | null;
|
|
45491
|
+
role: string;
|
|
45492
|
+
name?: string | null;
|
|
45493
|
+
firstName?: string | null;
|
|
45494
|
+
}[] | null;
|
|
45495
|
+
extractableConnections?: {
|
|
45496
|
+
[key: string]: {
|
|
45497
|
+
connections: {
|
|
45498
|
+
/** Format: uuid */
|
|
45499
|
+
id: string;
|
|
45500
|
+
name: string;
|
|
45501
|
+
appId: string;
|
|
45502
|
+
urlExample?: string | null;
|
|
45503
|
+
allowConfirmationCode?: boolean | null;
|
|
45504
|
+
}[];
|
|
45505
|
+
};
|
|
45506
|
+
} | null;
|
|
45507
|
+
enabledFeatures?: {
|
|
45508
|
+
/** Format: uuid */
|
|
45509
|
+
featureId: string;
|
|
45510
|
+
/** @enum {string} */
|
|
45511
|
+
status: "all" | "disabled" | "partially";
|
|
45512
|
+
}[];
|
|
45513
|
+
}[];
|
|
45514
|
+
pagination: {
|
|
45515
|
+
/** @default 100 */
|
|
45516
|
+
limit: number;
|
|
45517
|
+
/** @default 1 */
|
|
45518
|
+
page: number;
|
|
45519
|
+
total: number;
|
|
45520
|
+
totalPage: number;
|
|
45521
|
+
nextPage?: number;
|
|
45522
|
+
};
|
|
45523
|
+
};
|
|
45524
|
+
};
|
|
45525
|
+
};
|
|
45526
|
+
/** @description Bad request */
|
|
45527
|
+
400: {
|
|
45528
|
+
headers: {
|
|
45529
|
+
[name: string]: unknown;
|
|
45530
|
+
};
|
|
45531
|
+
content: {
|
|
45532
|
+
"application/json": {
|
|
45533
|
+
code: string;
|
|
45534
|
+
message: string;
|
|
45535
|
+
issues?: {
|
|
45536
|
+
message: string;
|
|
45537
|
+
}[];
|
|
45538
|
+
context?: unknown;
|
|
45539
|
+
};
|
|
45540
|
+
};
|
|
45541
|
+
};
|
|
45542
|
+
/** @description Unauthorized */
|
|
45543
|
+
401: {
|
|
45544
|
+
headers: {
|
|
45545
|
+
[name: string]: unknown;
|
|
45546
|
+
};
|
|
45547
|
+
content: {
|
|
45548
|
+
"application/json": {
|
|
45549
|
+
code: string;
|
|
45550
|
+
message: string;
|
|
45551
|
+
issues?: {
|
|
45552
|
+
message: string;
|
|
45553
|
+
}[];
|
|
45554
|
+
context?: unknown;
|
|
45555
|
+
};
|
|
45556
|
+
};
|
|
45557
|
+
};
|
|
45558
|
+
/** @description Forbidden */
|
|
45559
|
+
403: {
|
|
45560
|
+
headers: {
|
|
45561
|
+
[name: string]: unknown;
|
|
45562
|
+
};
|
|
45563
|
+
content: {
|
|
45564
|
+
"application/json": {
|
|
45565
|
+
code: string;
|
|
45566
|
+
message: string;
|
|
45567
|
+
issues?: {
|
|
45568
|
+
message: string;
|
|
45569
|
+
}[];
|
|
45570
|
+
context?: unknown;
|
|
45571
|
+
};
|
|
45572
|
+
};
|
|
45573
|
+
};
|
|
45574
|
+
/** @description Not found */
|
|
45575
|
+
404: {
|
|
45576
|
+
headers: {
|
|
45577
|
+
[name: string]: unknown;
|
|
45578
|
+
};
|
|
45579
|
+
content: {
|
|
45580
|
+
"application/json": {
|
|
45581
|
+
code: string;
|
|
45582
|
+
message: string;
|
|
45583
|
+
issues?: {
|
|
45584
|
+
message: string;
|
|
45585
|
+
}[];
|
|
45586
|
+
context?: unknown;
|
|
45587
|
+
};
|
|
45588
|
+
};
|
|
45589
|
+
};
|
|
45590
|
+
/** @description Internal server error */
|
|
45591
|
+
500: {
|
|
45592
|
+
headers: {
|
|
45593
|
+
[name: string]: unknown;
|
|
45594
|
+
};
|
|
45595
|
+
content: {
|
|
45596
|
+
"application/json": {
|
|
45597
|
+
code: string;
|
|
45598
|
+
message: string;
|
|
45599
|
+
issues?: {
|
|
45600
|
+
message: string;
|
|
45601
|
+
}[];
|
|
45602
|
+
context?: unknown;
|
|
45603
|
+
};
|
|
45604
|
+
};
|
|
45605
|
+
};
|
|
45606
|
+
};
|
|
45607
|
+
};
|
|
45341
45608
|
postTeamsMigrateVriToVrt: {
|
|
45342
45609
|
parameters: {
|
|
45343
45610
|
query?: never;
|