@vrplatform/api 1.3.1-stage.3680 → 1.3.1-stage.3683

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.
@@ -3167,6 +3167,23 @@ export interface paths {
3167
3167
  patch?: never;
3168
3168
  trace?: never;
3169
3169
  };
3170
+ "/teams/resolve": {
3171
+ parameters: {
3172
+ query?: never;
3173
+ header?: never;
3174
+ path?: never;
3175
+ cookie?: never;
3176
+ };
3177
+ /** @description Resolve a team by slug */
3178
+ get: operations["getTeamsResolve"];
3179
+ put?: never;
3180
+ post?: never;
3181
+ delete?: never;
3182
+ options?: never;
3183
+ head?: never;
3184
+ patch?: never;
3185
+ trace?: never;
3186
+ };
3170
3187
  "/teams/{id}": {
3171
3188
  parameters: {
3172
3189
  query?: never;
@@ -20037,6 +20054,7 @@ export interface operations {
20037
20054
  role: "admin" | "user" | "owner";
20038
20055
  /** @enum {string} */
20039
20056
  type: "propertyManager" | "partner";
20057
+ slug: string;
20040
20058
  }[];
20041
20059
  enabledFeatures: {
20042
20060
  /** Format: uuid */
@@ -48211,6 +48229,7 @@ export interface operations {
48211
48229
  migratedFromTenantId?: string | null;
48212
48230
  historicalStatementsImportedAt?: string | null;
48213
48231
  name: string;
48232
+ slug: string;
48214
48233
  statementAddress?: {
48215
48234
  full?: string | null;
48216
48235
  line1?: string | null;
@@ -48445,6 +48464,7 @@ export interface operations {
48445
48464
  longTermStayNights?: number | null;
48446
48465
  defaultRevenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
48447
48466
  name: string;
48467
+ slug?: string;
48448
48468
  statementAddress?: {
48449
48469
  full?: string | null;
48450
48470
  line1?: string | null;
@@ -48518,6 +48538,7 @@ export interface operations {
48518
48538
  migratedFromTenantId?: string | null;
48519
48539
  historicalStatementsImportedAt?: string | null;
48520
48540
  name: string;
48541
+ slug: string;
48521
48542
  statementAddress?: {
48522
48543
  full?: string | null;
48523
48544
  line1?: string | null;
@@ -49154,6 +49175,7 @@ export interface operations {
49154
49175
  migratedFromTenantId?: string | null;
49155
49176
  historicalStatementsImportedAt?: string | null;
49156
49177
  name: string;
49178
+ slug: string;
49157
49179
  statementAddress?: {
49158
49180
  full?: string | null;
49159
49181
  line1?: string | null;
@@ -49409,6 +49431,7 @@ export interface operations {
49409
49431
  migratedFromTenantId?: string | null;
49410
49432
  historicalStatementsImportedAt?: string | null;
49411
49433
  name: string;
49434
+ slug: string;
49412
49435
  statementAddress?: {
49413
49436
  full?: string | null;
49414
49437
  line1?: string | null;
@@ -49657,6 +49680,7 @@ export interface operations {
49657
49680
  migratedFromTenantId?: string | null;
49658
49681
  historicalStatementsImportedAt?: string | null;
49659
49682
  name: string;
49683
+ slug: string;
49660
49684
  statementAddress?: {
49661
49685
  full?: string | null;
49662
49686
  line1?: string | null;
@@ -51373,6 +51397,243 @@ export interface operations {
51373
51397
  };
51374
51398
  };
51375
51399
  };
51400
+ getTeamsResolve: {
51401
+ parameters: {
51402
+ query: {
51403
+ slug: string;
51404
+ };
51405
+ header?: never;
51406
+ path?: never;
51407
+ cookie?: never;
51408
+ };
51409
+ requestBody?: never;
51410
+ responses: {
51411
+ /** @description Successful response */
51412
+ 200: {
51413
+ headers: {
51414
+ [name: string]: unknown;
51415
+ };
51416
+ content: {
51417
+ "application/json": {
51418
+ /** Format: uuid */
51419
+ id: string;
51420
+ defaultCurrency?: string | null;
51421
+ longTermStayNights?: number | null;
51422
+ defaultRevenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
51423
+ migratedFromTenantId?: string | null;
51424
+ historicalStatementsImportedAt?: string | null;
51425
+ name: string;
51426
+ slug: string;
51427
+ statementAddress?: {
51428
+ full?: string | null;
51429
+ line1?: string | null;
51430
+ line2?: string | null;
51431
+ city?: string | null;
51432
+ /** @description Deprecated, use stateCode instead */
51433
+ state?: string | null;
51434
+ postalCode?: string | null;
51435
+ stateCode?: string | null;
51436
+ countryCode?: string | null;
51437
+ } | null;
51438
+ billingAddress?: {
51439
+ full?: string | null;
51440
+ line1?: string | null;
51441
+ line2?: string | null;
51442
+ city?: string | null;
51443
+ /** @description Deprecated, use stateCode instead */
51444
+ state?: string | null;
51445
+ postalCode?: string | null;
51446
+ stateCode?: string | null;
51447
+ countryCode?: string | null;
51448
+ } | null;
51449
+ phone?: string | null;
51450
+ email?: string | null;
51451
+ taxId?: string | null;
51452
+ partner?: {
51453
+ /** Format: uuid */
51454
+ id: string;
51455
+ name: string;
51456
+ } | null;
51457
+ billingPartner?: {
51458
+ /** Format: uuid */
51459
+ id: string;
51460
+ name: string;
51461
+ } | null;
51462
+ companyName?: string | null;
51463
+ /** @enum {string} */
51464
+ type: "partner" | "admin" | "propertyManager";
51465
+ /** @enum {string} */
51466
+ status: "active" | "inactive" | "deleted" | "onboarding";
51467
+ billingSubscriptionStatus?: string | null;
51468
+ billingPlan?: string | null;
51469
+ billingPaymentMethodType?: string | null;
51470
+ billingCustomerId?: string | null;
51471
+ colorPrimary?: string | null;
51472
+ createdAt?: string | null;
51473
+ updatedAt?: string | null;
51474
+ trialUntil?: string | null;
51475
+ cancelledAt?: string | null;
51476
+ isOnboarding?: boolean | null;
51477
+ issues: ({
51478
+ /** @constant */
51479
+ code: "unassignedAccount";
51480
+ /** @constant */
51481
+ severity: "error";
51482
+ context: {
51483
+ accountIds: string[];
51484
+ };
51485
+ } | {
51486
+ /** @constant */
51487
+ code: "brokenConnections";
51488
+ /** @constant */
51489
+ severity: "error";
51490
+ context: {
51491
+ connections: {
51492
+ /** Format: uuid */
51493
+ id: string;
51494
+ name: string;
51495
+ appId: string;
51496
+ }[];
51497
+ };
51498
+ } | {
51499
+ /** @constant */
51500
+ code: "outdatedConnections";
51501
+ /** @constant */
51502
+ severity: "error";
51503
+ context: {
51504
+ connections: {
51505
+ /** Format: uuid */
51506
+ id: string;
51507
+ name: string;
51508
+ appId: string;
51509
+ }[];
51510
+ };
51511
+ })[];
51512
+ isGeneralLedger?: boolean | null;
51513
+ isOpex?: boolean;
51514
+ booksClosedAt?: string | null;
51515
+ logo?: string | null;
51516
+ statementStartAt?: string | null;
51517
+ effectiveStatementStartAt?: string | null;
51518
+ settings: {
51519
+ showReservations: boolean;
51520
+ showCancelledReservations: boolean;
51521
+ showReservationTotal: boolean;
51522
+ showOwnerCalendarBlocking: boolean;
51523
+ showTaxStatements: boolean;
51524
+ showTwoFactorAuth: boolean;
51525
+ };
51526
+ ownerPortalShowDraftStatements?: boolean;
51527
+ members?: {
51528
+ userId: string;
51529
+ email?: string | null;
51530
+ role: string;
51531
+ name?: string | null;
51532
+ firstName?: string | null;
51533
+ }[] | null;
51534
+ extractableConnections?: {
51535
+ [key: string]: {
51536
+ connections: {
51537
+ /** Format: uuid */
51538
+ id: string;
51539
+ name: string;
51540
+ appId: string;
51541
+ urlExample?: string | null;
51542
+ allowConfirmationCode?: boolean | null;
51543
+ }[];
51544
+ };
51545
+ } | null;
51546
+ enabledFeatures?: {
51547
+ /** Format: uuid */
51548
+ featureId: string;
51549
+ /** @enum {string} */
51550
+ status: "all" | "disabled" | "partially";
51551
+ }[];
51552
+ };
51553
+ };
51554
+ };
51555
+ /** @description Bad request */
51556
+ 400: {
51557
+ headers: {
51558
+ [name: string]: unknown;
51559
+ };
51560
+ content: {
51561
+ "application/json": {
51562
+ code: string;
51563
+ message: string;
51564
+ issues?: {
51565
+ message: string;
51566
+ }[];
51567
+ context?: unknown;
51568
+ };
51569
+ };
51570
+ };
51571
+ /** @description Unauthorized */
51572
+ 401: {
51573
+ headers: {
51574
+ [name: string]: unknown;
51575
+ };
51576
+ content: {
51577
+ "application/json": {
51578
+ code: string;
51579
+ message: string;
51580
+ issues?: {
51581
+ message: string;
51582
+ }[];
51583
+ context?: unknown;
51584
+ };
51585
+ };
51586
+ };
51587
+ /** @description Forbidden */
51588
+ 403: {
51589
+ headers: {
51590
+ [name: string]: unknown;
51591
+ };
51592
+ content: {
51593
+ "application/json": {
51594
+ code: string;
51595
+ message: string;
51596
+ issues?: {
51597
+ message: string;
51598
+ }[];
51599
+ context?: unknown;
51600
+ };
51601
+ };
51602
+ };
51603
+ /** @description Not found */
51604
+ 404: {
51605
+ headers: {
51606
+ [name: string]: unknown;
51607
+ };
51608
+ content: {
51609
+ "application/json": {
51610
+ code: string;
51611
+ message: string;
51612
+ issues?: {
51613
+ message: string;
51614
+ }[];
51615
+ context?: unknown;
51616
+ };
51617
+ };
51618
+ };
51619
+ /** @description Internal server error */
51620
+ 500: {
51621
+ headers: {
51622
+ [name: string]: unknown;
51623
+ };
51624
+ content: {
51625
+ "application/json": {
51626
+ code: string;
51627
+ message: string;
51628
+ issues?: {
51629
+ message: string;
51630
+ }[];
51631
+ context?: unknown;
51632
+ };
51633
+ };
51634
+ };
51635
+ };
51636
+ };
51376
51637
  getTeamsById: {
51377
51638
  parameters: {
51378
51639
  query?: never;
@@ -51399,6 +51660,7 @@ export interface operations {
51399
51660
  migratedFromTenantId?: string | null;
51400
51661
  historicalStatementsImportedAt?: string | null;
51401
51662
  name: string;
51663
+ slug: string;
51402
51664
  statementAddress?: {
51403
51665
  full?: string | null;
51404
51666
  line1?: string | null;
@@ -51625,6 +51887,7 @@ export interface operations {
51625
51887
  longTermStayNights?: number | null;
51626
51888
  defaultRevenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
51627
51889
  name?: string;
51890
+ slug?: string;
51628
51891
  statementAddress?: {
51629
51892
  full?: string | null;
51630
51893
  line1?: string | null;
@@ -51712,6 +51975,7 @@ export interface operations {
51712
51975
  migratedFromTenantId?: string | null;
51713
51976
  historicalStatementsImportedAt?: string | null;
51714
51977
  name: string;
51978
+ slug: string;
51715
51979
  statementAddress?: {
51716
51980
  full?: string | null;
51717
51981
  line1?: string | null;
@@ -52401,6 +52665,7 @@ export interface operations {
52401
52665
  migratedFromTenantId?: string | null;
52402
52666
  historicalStatementsImportedAt?: string | null;
52403
52667
  name: string;
52668
+ slug: string;
52404
52669
  statementAddress?: {
52405
52670
  full?: string | null;
52406
52671
  line1?: string | null;