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

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