@vrplatform/api 1.3.1-stage.4840 → 1.3.1-stage.4843

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.4840",
6
+ "version": "1.3.1-stage.4843",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -1706,6 +1706,23 @@ export interface paths {
1706
1706
  patch?: never;
1707
1707
  trace?: never;
1708
1708
  };
1709
+ "/internal/memberships/{membershipId}": {
1710
+ parameters: {
1711
+ query?: never;
1712
+ header?: never;
1713
+ path?: never;
1714
+ cookie?: never;
1715
+ };
1716
+ /** @description Get one membership with its user and team from the selected regional data partition. Select the partition with x-data-region. */
1717
+ get: operations["getInternalMembershipsByMembershipId"];
1718
+ put?: never;
1719
+ post?: never;
1720
+ delete?: never;
1721
+ options?: never;
1722
+ head?: never;
1723
+ patch?: never;
1724
+ trace?: never;
1725
+ };
1709
1726
  "/internal/message-overwrites": {
1710
1727
  parameters: {
1711
1728
  query?: never;
@@ -2172,7 +2189,7 @@ export interface paths {
2172
2189
  */
2173
2190
  get: operations["getMe"];
2174
2191
  /**
2175
- * @description Update the authenticated user's first and/or last name. Values are trimmed, persisted synchronously, and returned in the same user shape as GET /me.
2192
+ * @description Update the authenticated user's first and/or last name and/or set lastSeen to the server's current time. Names are trimmed, changes are persisted synchronously to the control plane, and the existing GET /me user shape is returned.
2176
2193
  *
2177
2194
  * Required scope: self:write
2178
2195
  */
@@ -42476,6 +42493,278 @@ export interface operations {
42476
42493
  };
42477
42494
  };
42478
42495
  };
42496
+ getInternalMembershipsByMembershipId: {
42497
+ parameters: {
42498
+ query?: never;
42499
+ header?: {
42500
+ /** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
42501
+ "x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
42502
+ };
42503
+ path: {
42504
+ /** @description Stable membership ID */
42505
+ membershipId: string;
42506
+ };
42507
+ cookie?: never;
42508
+ };
42509
+ requestBody?: never;
42510
+ responses: {
42511
+ /** @description Successful response */
42512
+ 200: {
42513
+ headers: {
42514
+ [name: string]: unknown;
42515
+ };
42516
+ content: {
42517
+ "application/json": {
42518
+ /** Format: uuid */
42519
+ id: string;
42520
+ role: string | null;
42521
+ status: ("active" | "inactive" | "unconfirmed") | null;
42522
+ lastInvitedAt: string | null;
42523
+ user: {
42524
+ /** Format: uuid */
42525
+ id: string;
42526
+ /** Format: email */
42527
+ email: string;
42528
+ firstName: string | null;
42529
+ lastName: string | null;
42530
+ };
42531
+ team: {
42532
+ /** Format: uuid */
42533
+ id: string;
42534
+ name: string;
42535
+ /** @enum {string} */
42536
+ type: "partner" | "admin" | "propertyManager";
42537
+ };
42538
+ };
42539
+ };
42540
+ };
42541
+ /** @description Bad request */
42542
+ 400: {
42543
+ headers: {
42544
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
42545
+ "Retry-After"?: number;
42546
+ [name: string]: unknown;
42547
+ };
42548
+ content: {
42549
+ "application/json": {
42550
+ code: string;
42551
+ message: string;
42552
+ links?: {
42553
+ docs: string;
42554
+ schema: string;
42555
+ };
42556
+ issues?: {
42557
+ message: string;
42558
+ path?: (string | number)[];
42559
+ schema?: string;
42560
+ }[];
42561
+ retryable?: boolean;
42562
+ context?: unknown;
42563
+ };
42564
+ };
42565
+ };
42566
+ /** @description Unauthorized */
42567
+ 401: {
42568
+ headers: {
42569
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
42570
+ "Retry-After"?: number;
42571
+ [name: string]: unknown;
42572
+ };
42573
+ content: {
42574
+ "application/json": {
42575
+ code: string;
42576
+ message: string;
42577
+ links?: {
42578
+ docs: string;
42579
+ schema: string;
42580
+ };
42581
+ issues?: {
42582
+ message: string;
42583
+ path?: (string | number)[];
42584
+ schema?: string;
42585
+ }[];
42586
+ retryable?: boolean;
42587
+ context?: unknown;
42588
+ };
42589
+ };
42590
+ };
42591
+ /** @description Forbidden */
42592
+ 403: {
42593
+ headers: {
42594
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
42595
+ "Retry-After"?: number;
42596
+ [name: string]: unknown;
42597
+ };
42598
+ content: {
42599
+ "application/json": {
42600
+ code: string;
42601
+ message: string;
42602
+ links?: {
42603
+ docs: string;
42604
+ schema: string;
42605
+ };
42606
+ issues?: {
42607
+ message: string;
42608
+ path?: (string | number)[];
42609
+ schema?: string;
42610
+ }[];
42611
+ retryable?: boolean;
42612
+ context?: unknown;
42613
+ };
42614
+ };
42615
+ };
42616
+ /** @description Not found */
42617
+ 404: {
42618
+ headers: {
42619
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
42620
+ "Retry-After"?: number;
42621
+ [name: string]: unknown;
42622
+ };
42623
+ content: {
42624
+ "application/json": {
42625
+ code: string;
42626
+ message: string;
42627
+ links?: {
42628
+ docs: string;
42629
+ schema: string;
42630
+ };
42631
+ issues?: {
42632
+ message: string;
42633
+ path?: (string | number)[];
42634
+ schema?: string;
42635
+ }[];
42636
+ retryable?: boolean;
42637
+ context?: unknown;
42638
+ };
42639
+ };
42640
+ };
42641
+ /** @description Conflict */
42642
+ 409: {
42643
+ headers: {
42644
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
42645
+ "Retry-After"?: number;
42646
+ [name: string]: unknown;
42647
+ };
42648
+ content: {
42649
+ "application/json": {
42650
+ code: string;
42651
+ message: string;
42652
+ links?: {
42653
+ docs: string;
42654
+ schema: string;
42655
+ };
42656
+ issues?: {
42657
+ message: string;
42658
+ path?: (string | number)[];
42659
+ schema?: string;
42660
+ }[];
42661
+ retryable?: boolean;
42662
+ context?: unknown;
42663
+ };
42664
+ };
42665
+ };
42666
+ /** @description Gone */
42667
+ 410: {
42668
+ headers: {
42669
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
42670
+ "Retry-After"?: number;
42671
+ [name: string]: unknown;
42672
+ };
42673
+ content: {
42674
+ "application/json": {
42675
+ code: string;
42676
+ message: string;
42677
+ links?: {
42678
+ docs: string;
42679
+ schema: string;
42680
+ };
42681
+ issues?: {
42682
+ message: string;
42683
+ path?: (string | number)[];
42684
+ schema?: string;
42685
+ }[];
42686
+ retryable?: boolean;
42687
+ context?: unknown;
42688
+ };
42689
+ };
42690
+ };
42691
+ /** @description Unprocessable content */
42692
+ 422: {
42693
+ headers: {
42694
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
42695
+ "Retry-After"?: number;
42696
+ [name: string]: unknown;
42697
+ };
42698
+ content: {
42699
+ "application/json": {
42700
+ code: string;
42701
+ message: string;
42702
+ links?: {
42703
+ docs: string;
42704
+ schema: string;
42705
+ };
42706
+ issues?: {
42707
+ message: string;
42708
+ path?: (string | number)[];
42709
+ schema?: string;
42710
+ }[];
42711
+ retryable?: boolean;
42712
+ context?: unknown;
42713
+ };
42714
+ };
42715
+ };
42716
+ /** @description Internal server error */
42717
+ 500: {
42718
+ headers: {
42719
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
42720
+ "Retry-After"?: number;
42721
+ [name: string]: unknown;
42722
+ };
42723
+ content: {
42724
+ "application/json": {
42725
+ code: string;
42726
+ message: string;
42727
+ links?: {
42728
+ docs: string;
42729
+ schema: string;
42730
+ };
42731
+ issues?: {
42732
+ message: string;
42733
+ path?: (string | number)[];
42734
+ schema?: string;
42735
+ }[];
42736
+ retryable?: boolean;
42737
+ context?: unknown;
42738
+ };
42739
+ };
42740
+ };
42741
+ /** @description Service unavailable */
42742
+ 503: {
42743
+ headers: {
42744
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
42745
+ "Retry-After"?: number;
42746
+ [name: string]: unknown;
42747
+ };
42748
+ content: {
42749
+ "application/json": {
42750
+ code: string;
42751
+ message: string;
42752
+ links?: {
42753
+ docs: string;
42754
+ schema: string;
42755
+ };
42756
+ issues?: {
42757
+ message: string;
42758
+ path?: (string | number)[];
42759
+ schema?: string;
42760
+ }[];
42761
+ retryable?: boolean;
42762
+ context?: unknown;
42763
+ };
42764
+ };
42765
+ };
42766
+ };
42767
+ };
42479
42768
  getInternalMessageOverwrites: {
42480
42769
  parameters: {
42481
42770
  query?: {
@@ -45211,8 +45500,10 @@ export interface operations {
45211
45500
  getInternalUsers: {
45212
45501
  parameters: {
45213
45502
  query?: {
45214
- /** @description Filter by email, secondary email, first name, last name, or full name */
45503
+ /** @description Filter by email, secondary email, first name, last name, or full name. Cannot be combined with userId. */
45215
45504
  search?: string;
45505
+ /** @description Filter by an exact user ID. Cannot be combined with search. */
45506
+ userId?: string;
45216
45507
  limit?: number;
45217
45508
  page?: number;
45218
45509
  offset?: number;
@@ -45251,6 +45542,8 @@ export interface operations {
45251
45542
  teamName: string;
45252
45543
  role?: string | null;
45253
45544
  status?: string | null;
45545
+ /** Format: uuid */
45546
+ id: string;
45254
45547
  lastInvitedAt: string | null;
45255
45548
  }[];
45256
45549
  ownerAccesses: {
@@ -53987,6 +54280,8 @@ export interface operations {
53987
54280
  "application/json": {
53988
54281
  firstName?: string;
53989
54282
  lastName?: string;
54283
+ /** @constant */
54284
+ touchLastSeen?: true;
53990
54285
  };
53991
54286
  };
53992
54287
  };