@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.
@@ -1705,6 +1705,23 @@ export interface paths {
1705
1705
  patch?: never;
1706
1706
  trace?: never;
1707
1707
  };
1708
+ "/internal/memberships/{membershipId}": {
1709
+ parameters: {
1710
+ query?: never;
1711
+ header?: never;
1712
+ path?: never;
1713
+ cookie?: never;
1714
+ };
1715
+ /** @description Get one membership with its user and team from the selected regional data partition. Select the partition with x-data-region. */
1716
+ get: operations["getInternalMembershipsByMembershipId"];
1717
+ put?: never;
1718
+ post?: never;
1719
+ delete?: never;
1720
+ options?: never;
1721
+ head?: never;
1722
+ patch?: never;
1723
+ trace?: never;
1724
+ };
1708
1725
  "/internal/message-overwrites": {
1709
1726
  parameters: {
1710
1727
  query?: never;
@@ -2177,7 +2194,12 @@ export interface paths {
2177
2194
  */
2178
2195
  put: operations["updateMeProfile"];
2179
2196
  post?: never;
2180
- delete?: never;
2197
+ /**
2198
+ * @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.
2199
+ *
2200
+ * Required scope: self:write
2201
+ */
2202
+ delete: operations["deleteMe"];
2181
2203
  options?: never;
2182
2204
  head?: never;
2183
2205
  patch?: never;
@@ -42470,6 +42492,278 @@ export interface operations {
42470
42492
  };
42471
42493
  };
42472
42494
  };
42495
+ getInternalMembershipsByMembershipId: {
42496
+ parameters: {
42497
+ query?: never;
42498
+ header?: {
42499
+ /** @description Selects the regional data partition for this regional collection read. It does not change the authenticated team context. */
42500
+ "x-data-region"?: "ap" | "crunchy" | "eu" | "hostaway" | "us";
42501
+ };
42502
+ path: {
42503
+ /** @description Stable membership ID */
42504
+ membershipId: string;
42505
+ };
42506
+ cookie?: never;
42507
+ };
42508
+ requestBody?: never;
42509
+ responses: {
42510
+ /** @description Successful response */
42511
+ 200: {
42512
+ headers: {
42513
+ [name: string]: unknown;
42514
+ };
42515
+ content: {
42516
+ "application/json": {
42517
+ /** Format: uuid */
42518
+ id: string;
42519
+ role: string | null;
42520
+ status: ("active" | "inactive" | "unconfirmed") | null;
42521
+ lastInvitedAt: string | null;
42522
+ user: {
42523
+ /** Format: uuid */
42524
+ id: string;
42525
+ /** Format: email */
42526
+ email: string;
42527
+ firstName: string | null;
42528
+ lastName: string | null;
42529
+ };
42530
+ team: {
42531
+ /** Format: uuid */
42532
+ id: string;
42533
+ name: string;
42534
+ /** @enum {string} */
42535
+ type: "partner" | "admin" | "propertyManager";
42536
+ };
42537
+ };
42538
+ };
42539
+ };
42540
+ /** @description Bad request */
42541
+ 400: {
42542
+ headers: {
42543
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
42544
+ "Retry-After"?: number;
42545
+ [name: string]: unknown;
42546
+ };
42547
+ content: {
42548
+ "application/json": {
42549
+ code: string;
42550
+ message: string;
42551
+ links?: {
42552
+ docs: string;
42553
+ schema: string;
42554
+ };
42555
+ issues?: {
42556
+ message: string;
42557
+ path?: (string | number)[];
42558
+ schema?: string;
42559
+ }[];
42560
+ retryable?: boolean;
42561
+ context?: unknown;
42562
+ };
42563
+ };
42564
+ };
42565
+ /** @description Unauthorized */
42566
+ 401: {
42567
+ headers: {
42568
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
42569
+ "Retry-After"?: number;
42570
+ [name: string]: unknown;
42571
+ };
42572
+ content: {
42573
+ "application/json": {
42574
+ code: string;
42575
+ message: string;
42576
+ links?: {
42577
+ docs: string;
42578
+ schema: string;
42579
+ };
42580
+ issues?: {
42581
+ message: string;
42582
+ path?: (string | number)[];
42583
+ schema?: string;
42584
+ }[];
42585
+ retryable?: boolean;
42586
+ context?: unknown;
42587
+ };
42588
+ };
42589
+ };
42590
+ /** @description Forbidden */
42591
+ 403: {
42592
+ headers: {
42593
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
42594
+ "Retry-After"?: number;
42595
+ [name: string]: unknown;
42596
+ };
42597
+ content: {
42598
+ "application/json": {
42599
+ code: string;
42600
+ message: string;
42601
+ links?: {
42602
+ docs: string;
42603
+ schema: string;
42604
+ };
42605
+ issues?: {
42606
+ message: string;
42607
+ path?: (string | number)[];
42608
+ schema?: string;
42609
+ }[];
42610
+ retryable?: boolean;
42611
+ context?: unknown;
42612
+ };
42613
+ };
42614
+ };
42615
+ /** @description Not found */
42616
+ 404: {
42617
+ headers: {
42618
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
42619
+ "Retry-After"?: number;
42620
+ [name: string]: unknown;
42621
+ };
42622
+ content: {
42623
+ "application/json": {
42624
+ code: string;
42625
+ message: string;
42626
+ links?: {
42627
+ docs: string;
42628
+ schema: string;
42629
+ };
42630
+ issues?: {
42631
+ message: string;
42632
+ path?: (string | number)[];
42633
+ schema?: string;
42634
+ }[];
42635
+ retryable?: boolean;
42636
+ context?: unknown;
42637
+ };
42638
+ };
42639
+ };
42640
+ /** @description Conflict */
42641
+ 409: {
42642
+ headers: {
42643
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
42644
+ "Retry-After"?: number;
42645
+ [name: string]: unknown;
42646
+ };
42647
+ content: {
42648
+ "application/json": {
42649
+ code: string;
42650
+ message: string;
42651
+ links?: {
42652
+ docs: string;
42653
+ schema: string;
42654
+ };
42655
+ issues?: {
42656
+ message: string;
42657
+ path?: (string | number)[];
42658
+ schema?: string;
42659
+ }[];
42660
+ retryable?: boolean;
42661
+ context?: unknown;
42662
+ };
42663
+ };
42664
+ };
42665
+ /** @description Gone */
42666
+ 410: {
42667
+ headers: {
42668
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
42669
+ "Retry-After"?: number;
42670
+ [name: string]: unknown;
42671
+ };
42672
+ content: {
42673
+ "application/json": {
42674
+ code: string;
42675
+ message: string;
42676
+ links?: {
42677
+ docs: string;
42678
+ schema: string;
42679
+ };
42680
+ issues?: {
42681
+ message: string;
42682
+ path?: (string | number)[];
42683
+ schema?: string;
42684
+ }[];
42685
+ retryable?: boolean;
42686
+ context?: unknown;
42687
+ };
42688
+ };
42689
+ };
42690
+ /** @description Unprocessable content */
42691
+ 422: {
42692
+ headers: {
42693
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
42694
+ "Retry-After"?: number;
42695
+ [name: string]: unknown;
42696
+ };
42697
+ content: {
42698
+ "application/json": {
42699
+ code: string;
42700
+ message: string;
42701
+ links?: {
42702
+ docs: string;
42703
+ schema: string;
42704
+ };
42705
+ issues?: {
42706
+ message: string;
42707
+ path?: (string | number)[];
42708
+ schema?: string;
42709
+ }[];
42710
+ retryable?: boolean;
42711
+ context?: unknown;
42712
+ };
42713
+ };
42714
+ };
42715
+ /** @description Internal server error */
42716
+ 500: {
42717
+ headers: {
42718
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
42719
+ "Retry-After"?: number;
42720
+ [name: string]: unknown;
42721
+ };
42722
+ content: {
42723
+ "application/json": {
42724
+ code: string;
42725
+ message: string;
42726
+ links?: {
42727
+ docs: string;
42728
+ schema: string;
42729
+ };
42730
+ issues?: {
42731
+ message: string;
42732
+ path?: (string | number)[];
42733
+ schema?: string;
42734
+ }[];
42735
+ retryable?: boolean;
42736
+ context?: unknown;
42737
+ };
42738
+ };
42739
+ };
42740
+ /** @description Service unavailable */
42741
+ 503: {
42742
+ headers: {
42743
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
42744
+ "Retry-After"?: number;
42745
+ [name: string]: unknown;
42746
+ };
42747
+ content: {
42748
+ "application/json": {
42749
+ code: string;
42750
+ message: string;
42751
+ links?: {
42752
+ docs: string;
42753
+ schema: string;
42754
+ };
42755
+ issues?: {
42756
+ message: string;
42757
+ path?: (string | number)[];
42758
+ schema?: string;
42759
+ }[];
42760
+ retryable?: boolean;
42761
+ context?: unknown;
42762
+ };
42763
+ };
42764
+ };
42765
+ };
42766
+ };
42473
42767
  getInternalMessageOverwrites: {
42474
42768
  parameters: {
42475
42769
  query?: {
@@ -45205,8 +45499,10 @@ export interface operations {
45205
45499
  getInternalUsers: {
45206
45500
  parameters: {
45207
45501
  query?: {
45208
- /** @description Filter by email, secondary email, first name, last name, or full name */
45502
+ /** @description Filter by email, secondary email, first name, last name, or full name. Cannot be combined with userId. */
45209
45503
  search?: string;
45504
+ /** @description Filter by an exact user ID. Cannot be combined with search. */
45505
+ userId?: string;
45210
45506
  limit?: number;
45211
45507
  page?: number;
45212
45508
  offset?: number;
@@ -45245,6 +45541,8 @@ export interface operations {
45245
45541
  teamName: string;
45246
45542
  role?: string | null;
45247
45543
  status?: string | null;
45544
+ /** Format: uuid */
45545
+ id: string;
45248
45546
  lastInvitedAt: string | null;
45249
45547
  }[];
45250
45548
  ownerAccesses: {
@@ -54239,6 +54537,260 @@ export interface operations {
54239
54537
  };
54240
54538
  };
54241
54539
  };
54540
+ deleteMe: {
54541
+ parameters: {
54542
+ query?: never;
54543
+ header?: never;
54544
+ path?: never;
54545
+ cookie?: never;
54546
+ };
54547
+ requestBody?: never;
54548
+ responses: {
54549
+ /** @description Successful response */
54550
+ 200: {
54551
+ headers: {
54552
+ [name: string]: unknown;
54553
+ };
54554
+ content: {
54555
+ "application/json": {
54556
+ /** @enum {string} */
54557
+ status: "deleted";
54558
+ /** @description Deprecated: use status */
54559
+ deleted: boolean;
54560
+ files: number;
54561
+ memberships: number;
54562
+ ownerAccess: number;
54563
+ tokens: number;
54564
+ };
54565
+ };
54566
+ };
54567
+ /** @description Bad request */
54568
+ 400: {
54569
+ headers: {
54570
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
54571
+ "Retry-After"?: number;
54572
+ [name: string]: unknown;
54573
+ };
54574
+ content: {
54575
+ "application/json": {
54576
+ code: string;
54577
+ message: string;
54578
+ links?: {
54579
+ docs: string;
54580
+ schema: string;
54581
+ };
54582
+ issues?: {
54583
+ message: string;
54584
+ path?: (string | number)[];
54585
+ schema?: string;
54586
+ }[];
54587
+ retryable?: boolean;
54588
+ context?: unknown;
54589
+ };
54590
+ };
54591
+ };
54592
+ /** @description Unauthorized */
54593
+ 401: {
54594
+ headers: {
54595
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
54596
+ "Retry-After"?: number;
54597
+ [name: string]: unknown;
54598
+ };
54599
+ content: {
54600
+ "application/json": {
54601
+ code: string;
54602
+ message: string;
54603
+ links?: {
54604
+ docs: string;
54605
+ schema: string;
54606
+ };
54607
+ issues?: {
54608
+ message: string;
54609
+ path?: (string | number)[];
54610
+ schema?: string;
54611
+ }[];
54612
+ retryable?: boolean;
54613
+ context?: unknown;
54614
+ };
54615
+ };
54616
+ };
54617
+ /** @description Forbidden */
54618
+ 403: {
54619
+ headers: {
54620
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
54621
+ "Retry-After"?: number;
54622
+ [name: string]: unknown;
54623
+ };
54624
+ content: {
54625
+ "application/json": {
54626
+ code: string;
54627
+ message: string;
54628
+ links?: {
54629
+ docs: string;
54630
+ schema: string;
54631
+ };
54632
+ issues?: {
54633
+ message: string;
54634
+ path?: (string | number)[];
54635
+ schema?: string;
54636
+ }[];
54637
+ retryable?: boolean;
54638
+ context?: unknown;
54639
+ };
54640
+ };
54641
+ };
54642
+ /** @description Not found */
54643
+ 404: {
54644
+ headers: {
54645
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
54646
+ "Retry-After"?: number;
54647
+ [name: string]: unknown;
54648
+ };
54649
+ content: {
54650
+ "application/json": {
54651
+ code: string;
54652
+ message: string;
54653
+ links?: {
54654
+ docs: string;
54655
+ schema: string;
54656
+ };
54657
+ issues?: {
54658
+ message: string;
54659
+ path?: (string | number)[];
54660
+ schema?: string;
54661
+ }[];
54662
+ retryable?: boolean;
54663
+ context?: unknown;
54664
+ };
54665
+ };
54666
+ };
54667
+ /** @description Conflict */
54668
+ 409: {
54669
+ headers: {
54670
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
54671
+ "Retry-After"?: number;
54672
+ [name: string]: unknown;
54673
+ };
54674
+ content: {
54675
+ "application/json": {
54676
+ code: string;
54677
+ message: string;
54678
+ links?: {
54679
+ docs: string;
54680
+ schema: string;
54681
+ };
54682
+ issues?: {
54683
+ message: string;
54684
+ path?: (string | number)[];
54685
+ schema?: string;
54686
+ }[];
54687
+ retryable?: boolean;
54688
+ context?: unknown;
54689
+ };
54690
+ };
54691
+ };
54692
+ /** @description Gone */
54693
+ 410: {
54694
+ headers: {
54695
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
54696
+ "Retry-After"?: number;
54697
+ [name: string]: unknown;
54698
+ };
54699
+ content: {
54700
+ "application/json": {
54701
+ code: string;
54702
+ message: string;
54703
+ links?: {
54704
+ docs: string;
54705
+ schema: string;
54706
+ };
54707
+ issues?: {
54708
+ message: string;
54709
+ path?: (string | number)[];
54710
+ schema?: string;
54711
+ }[];
54712
+ retryable?: boolean;
54713
+ context?: unknown;
54714
+ };
54715
+ };
54716
+ };
54717
+ /** @description Unprocessable content */
54718
+ 422: {
54719
+ headers: {
54720
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
54721
+ "Retry-After"?: number;
54722
+ [name: string]: unknown;
54723
+ };
54724
+ content: {
54725
+ "application/json": {
54726
+ code: string;
54727
+ message: string;
54728
+ links?: {
54729
+ docs: string;
54730
+ schema: string;
54731
+ };
54732
+ issues?: {
54733
+ message: string;
54734
+ path?: (string | number)[];
54735
+ schema?: string;
54736
+ }[];
54737
+ retryable?: boolean;
54738
+ context?: unknown;
54739
+ };
54740
+ };
54741
+ };
54742
+ /** @description Internal server error */
54743
+ 500: {
54744
+ headers: {
54745
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
54746
+ "Retry-After"?: number;
54747
+ [name: string]: unknown;
54748
+ };
54749
+ content: {
54750
+ "application/json": {
54751
+ code: string;
54752
+ message: string;
54753
+ links?: {
54754
+ docs: string;
54755
+ schema: string;
54756
+ };
54757
+ issues?: {
54758
+ message: string;
54759
+ path?: (string | number)[];
54760
+ schema?: string;
54761
+ }[];
54762
+ retryable?: boolean;
54763
+ context?: unknown;
54764
+ };
54765
+ };
54766
+ };
54767
+ /** @description Service unavailable */
54768
+ 503: {
54769
+ headers: {
54770
+ /** @description Seconds to wait when retryable=true and the server supplies a delay. */
54771
+ "Retry-After"?: number;
54772
+ [name: string]: unknown;
54773
+ };
54774
+ content: {
54775
+ "application/json": {
54776
+ code: string;
54777
+ message: string;
54778
+ links?: {
54779
+ docs: string;
54780
+ schema: string;
54781
+ };
54782
+ issues?: {
54783
+ message: string;
54784
+ path?: (string | number)[];
54785
+ schema?: string;
54786
+ }[];
54787
+ retryable?: boolean;
54788
+ context?: unknown;
54789
+ };
54790
+ };
54791
+ };
54792
+ };
54793
+ };
54242
54794
  updateMeNotifications: {
54243
54795
  parameters: {
54244
54796
  query?: never;