@vrplatform/api 1.3.1-stage.3585 → 1.3.1-stage.3587

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