@vrplatform/api 1.3.1-stage.4839 → 1.3.1-stage.4841

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.4839",
6
+ "version": "1.3.1-stage.4841",
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;
@@ -2178,7 +2195,12 @@ export interface paths {
2178
2195
  */
2179
2196
  put: operations["updateMeProfile"];
2180
2197
  post?: never;
2181
- delete?: never;
2198
+ /**
2199
+ * @description Delete the authenticated user, all memberships and access, API tokens, and the linked Clerk identity. Returns 409 when deletion would leave a property-manager team without another active property-manager user.
2200
+ *
2201
+ * Required scope: self:write
2202
+ */
2203
+ delete: operations["deleteMe"];
2182
2204
  options?: never;
2183
2205
  head?: never;
2184
2206
  patch?: never;
@@ -42471,6 +42493,278 @@ export interface operations {
42471
42493
  };
42472
42494
  };
42473
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
+ };
42474
42768
  getInternalMessageOverwrites: {
42475
42769
  parameters: {
42476
42770
  query?: {
@@ -45206,8 +45500,10 @@ export interface operations {
45206
45500
  getInternalUsers: {
45207
45501
  parameters: {
45208
45502
  query?: {
45209
- /** @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. */
45210
45504
  search?: string;
45505
+ /** @description Filter by an exact user ID. Cannot be combined with search. */
45506
+ userId?: string;
45211
45507
  limit?: number;
45212
45508
  page?: number;
45213
45509
  offset?: number;
@@ -45246,6 +45542,8 @@ export interface operations {
45246
45542
  teamName: string;
45247
45543
  role?: string | null;
45248
45544
  status?: string | null;
45545
+ /** Format: uuid */
45546
+ id: string;
45249
45547
  lastInvitedAt: string | null;
45250
45548
  }[];
45251
45549
  ownerAccesses: {
@@ -54240,6 +54538,260 @@ export interface operations {
54240
54538
  };
54241
54539
  };
54242
54540
  };
54541
+ deleteMe: {
54542
+ parameters: {
54543
+ query?: never;
54544
+ header?: never;
54545
+ path?: never;
54546
+ cookie?: never;
54547
+ };
54548
+ requestBody?: never;
54549
+ responses: {
54550
+ /** @description Successful response */
54551
+ 200: {
54552
+ headers: {
54553
+ [name: string]: unknown;
54554
+ };
54555
+ content: {
54556
+ "application/json": {
54557
+ /** @enum {string} */
54558
+ status: "deleted";
54559
+ /** @description Deprecated: use status */
54560
+ deleted: boolean;
54561
+ files: number;
54562
+ memberships: number;
54563
+ ownerAccess: number;
54564
+ tokens: number;
54565
+ };
54566
+ };
54567
+ };
54568
+ /** @description Bad request */
54569
+ 400: {
54570
+ headers: {
54571
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
54572
+ "Retry-After"?: number;
54573
+ [name: string]: unknown;
54574
+ };
54575
+ content: {
54576
+ "application/json": {
54577
+ code: string;
54578
+ message: string;
54579
+ links?: {
54580
+ docs: string;
54581
+ schema: string;
54582
+ };
54583
+ issues?: {
54584
+ message: string;
54585
+ path?: (string | number)[];
54586
+ schema?: string;
54587
+ }[];
54588
+ retryable?: boolean;
54589
+ context?: unknown;
54590
+ };
54591
+ };
54592
+ };
54593
+ /** @description Unauthorized */
54594
+ 401: {
54595
+ headers: {
54596
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
54597
+ "Retry-After"?: number;
54598
+ [name: string]: unknown;
54599
+ };
54600
+ content: {
54601
+ "application/json": {
54602
+ code: string;
54603
+ message: string;
54604
+ links?: {
54605
+ docs: string;
54606
+ schema: string;
54607
+ };
54608
+ issues?: {
54609
+ message: string;
54610
+ path?: (string | number)[];
54611
+ schema?: string;
54612
+ }[];
54613
+ retryable?: boolean;
54614
+ context?: unknown;
54615
+ };
54616
+ };
54617
+ };
54618
+ /** @description Forbidden */
54619
+ 403: {
54620
+ headers: {
54621
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
54622
+ "Retry-After"?: number;
54623
+ [name: string]: unknown;
54624
+ };
54625
+ content: {
54626
+ "application/json": {
54627
+ code: string;
54628
+ message: string;
54629
+ links?: {
54630
+ docs: string;
54631
+ schema: string;
54632
+ };
54633
+ issues?: {
54634
+ message: string;
54635
+ path?: (string | number)[];
54636
+ schema?: string;
54637
+ }[];
54638
+ retryable?: boolean;
54639
+ context?: unknown;
54640
+ };
54641
+ };
54642
+ };
54643
+ /** @description Not found */
54644
+ 404: {
54645
+ headers: {
54646
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
54647
+ "Retry-After"?: number;
54648
+ [name: string]: unknown;
54649
+ };
54650
+ content: {
54651
+ "application/json": {
54652
+ code: string;
54653
+ message: string;
54654
+ links?: {
54655
+ docs: string;
54656
+ schema: string;
54657
+ };
54658
+ issues?: {
54659
+ message: string;
54660
+ path?: (string | number)[];
54661
+ schema?: string;
54662
+ }[];
54663
+ retryable?: boolean;
54664
+ context?: unknown;
54665
+ };
54666
+ };
54667
+ };
54668
+ /** @description Conflict */
54669
+ 409: {
54670
+ headers: {
54671
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
54672
+ "Retry-After"?: number;
54673
+ [name: string]: unknown;
54674
+ };
54675
+ content: {
54676
+ "application/json": {
54677
+ code: string;
54678
+ message: string;
54679
+ links?: {
54680
+ docs: string;
54681
+ schema: string;
54682
+ };
54683
+ issues?: {
54684
+ message: string;
54685
+ path?: (string | number)[];
54686
+ schema?: string;
54687
+ }[];
54688
+ retryable?: boolean;
54689
+ context?: unknown;
54690
+ };
54691
+ };
54692
+ };
54693
+ /** @description Gone */
54694
+ 410: {
54695
+ headers: {
54696
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
54697
+ "Retry-After"?: number;
54698
+ [name: string]: unknown;
54699
+ };
54700
+ content: {
54701
+ "application/json": {
54702
+ code: string;
54703
+ message: string;
54704
+ links?: {
54705
+ docs: string;
54706
+ schema: string;
54707
+ };
54708
+ issues?: {
54709
+ message: string;
54710
+ path?: (string | number)[];
54711
+ schema?: string;
54712
+ }[];
54713
+ retryable?: boolean;
54714
+ context?: unknown;
54715
+ };
54716
+ };
54717
+ };
54718
+ /** @description Unprocessable content */
54719
+ 422: {
54720
+ headers: {
54721
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
54722
+ "Retry-After"?: number;
54723
+ [name: string]: unknown;
54724
+ };
54725
+ content: {
54726
+ "application/json": {
54727
+ code: string;
54728
+ message: string;
54729
+ links?: {
54730
+ docs: string;
54731
+ schema: string;
54732
+ };
54733
+ issues?: {
54734
+ message: string;
54735
+ path?: (string | number)[];
54736
+ schema?: string;
54737
+ }[];
54738
+ retryable?: boolean;
54739
+ context?: unknown;
54740
+ };
54741
+ };
54742
+ };
54743
+ /** @description Internal server error */
54744
+ 500: {
54745
+ headers: {
54746
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
54747
+ "Retry-After"?: number;
54748
+ [name: string]: unknown;
54749
+ };
54750
+ content: {
54751
+ "application/json": {
54752
+ code: string;
54753
+ message: string;
54754
+ links?: {
54755
+ docs: string;
54756
+ schema: string;
54757
+ };
54758
+ issues?: {
54759
+ message: string;
54760
+ path?: (string | number)[];
54761
+ schema?: string;
54762
+ }[];
54763
+ retryable?: boolean;
54764
+ context?: unknown;
54765
+ };
54766
+ };
54767
+ };
54768
+ /** @description Service unavailable */
54769
+ 503: {
54770
+ headers: {
54771
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
54772
+ "Retry-After"?: number;
54773
+ [name: string]: unknown;
54774
+ };
54775
+ content: {
54776
+ "application/json": {
54777
+ code: string;
54778
+ message: string;
54779
+ links?: {
54780
+ docs: string;
54781
+ schema: string;
54782
+ };
54783
+ issues?: {
54784
+ message: string;
54785
+ path?: (string | number)[];
54786
+ schema?: string;
54787
+ }[];
54788
+ retryable?: boolean;
54789
+ context?: unknown;
54790
+ };
54791
+ };
54792
+ };
54793
+ };
54794
+ };
54243
54795
  updateMeNotifications: {
54244
54796
  parameters: {
54245
54797
  query?: never;