@vrplatform/api 1.3.1-stage.4185 → 1.3.1-stage.4188

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.
@@ -1248,6 +1248,59 @@ export interface paths {
1248
1248
  patch?: never;
1249
1249
  trace?: never;
1250
1250
  };
1251
+ "/internal/users": {
1252
+ parameters: {
1253
+ query?: never;
1254
+ header?: never;
1255
+ path?: never;
1256
+ cookie?: never;
1257
+ };
1258
+ get?: never;
1259
+ put?: never;
1260
+ /** @description Create or update a platform user by email, optionally granting an initial team membership. Used by the identity provider signup hooks. */
1261
+ post: operations["postInternalUsers"];
1262
+ delete?: never;
1263
+ options?: never;
1264
+ head?: never;
1265
+ patch?: never;
1266
+ trace?: never;
1267
+ };
1268
+ "/internal/users/{id}": {
1269
+ parameters: {
1270
+ query?: never;
1271
+ header?: never;
1272
+ path?: never;
1273
+ cookie?: never;
1274
+ };
1275
+ get?: never;
1276
+ /** @description Update a platform user by id. Used by the identity provider profile-update hooks. */
1277
+ put: operations["putInternalUsersById"];
1278
+ post?: never;
1279
+ /** @description Delete a platform user and its team memberships/access rows. Used by identity provider and lifecycle cleanup flows. */
1280
+ delete: operations["deleteInternalUsersById"];
1281
+ options?: never;
1282
+ head?: never;
1283
+ patch?: never;
1284
+ trace?: never;
1285
+ };
1286
+ "/internal/users/{id}/memberships/{tenantId}": {
1287
+ parameters: {
1288
+ query?: never;
1289
+ header?: never;
1290
+ path?: never;
1291
+ cookie?: never;
1292
+ };
1293
+ get?: never;
1294
+ put?: never;
1295
+ post?: never;
1296
+ /** @description Remove a platform user from one team without deleting the user. Owner/contact access removal remains contact-scoped. */
1297
+ delete: operations["deleteInternalUsersByIdMembershipsByTenantId"];
1298
+ options?: never;
1299
+ head?: never;
1300
+ /** @description Add or update one platform user team membership without changing the user identity row. */
1301
+ patch: operations["patchInternalUsersByIdMembershipsByTenantId"];
1302
+ trace?: never;
1303
+ };
1251
1304
  "/legacy/payouts": {
1252
1305
  parameters: {
1253
1306
  query?: never;
@@ -3935,40 +3988,6 @@ export interface paths {
3935
3988
  patch?: never;
3936
3989
  trace?: never;
3937
3990
  };
3938
- "/users": {
3939
- parameters: {
3940
- query?: never;
3941
- header?: never;
3942
- path?: never;
3943
- cookie?: never;
3944
- };
3945
- get?: never;
3946
- put?: never;
3947
- /** @description Create or update a platform user by email, optionally granting an initial team membership. Admin access only; used by the identity provider signup hooks. */
3948
- post: operations["postUsers"];
3949
- delete?: never;
3950
- options?: never;
3951
- head?: never;
3952
- patch?: never;
3953
- trace?: never;
3954
- };
3955
- "/users/{id}": {
3956
- parameters: {
3957
- query?: never;
3958
- header?: never;
3959
- path?: never;
3960
- cookie?: never;
3961
- };
3962
- get?: never;
3963
- /** @description Update a platform user by id. Admin access only; used by the identity provider profile-update hooks. */
3964
- put: operations["putUsersById"];
3965
- post?: never;
3966
- delete?: never;
3967
- options?: never;
3968
- head?: never;
3969
- patch?: never;
3970
- trace?: never;
3971
- };
3972
3991
  }
3973
3992
  export type webhooks = Record<string, never>;
3974
3993
  export interface components {
@@ -21456,204 +21475,41 @@ export interface operations {
21456
21475
  };
21457
21476
  };
21458
21477
  };
21459
- getPaymentsDeprecated: {
21478
+ postInternalUsers: {
21460
21479
  parameters: {
21461
- query?: {
21462
- pageSize?: number;
21463
- page?: number;
21464
- type?: string;
21465
- date?: string;
21466
- expand?: string;
21467
- description?: string;
21468
- amount?: number;
21469
- };
21480
+ query?: never;
21470
21481
  header?: never;
21471
21482
  path?: never;
21472
21483
  cookie?: never;
21473
21484
  };
21474
- requestBody?: never;
21475
- responses: {
21476
- /** @description Successful response */
21477
- 200: {
21478
- headers: {
21479
- [name: string]: unknown;
21480
- };
21481
- content: {
21482
- "application/json": {
21483
- results: number;
21484
- totalResults: number;
21485
- page: number;
21486
- totalPages: number;
21487
- filters?: {
21488
- [key: string]: unknown;
21489
- };
21490
- data: {
21491
- /** Format: uuid */
21492
- id: string;
21493
- amount: number;
21494
- currency?: string | null;
21495
- description?: string | null;
21496
- date?: string | null;
21497
- uniqueRef?: string | null;
21498
- isReconciled?: boolean | null;
21499
- metadata?: {
21500
- [key: string]: unknown;
21501
- };
21502
- status?: string | null;
21503
- type?: string | null;
21504
- lines: {
21505
- /** Format: uuid */
21506
- id: string;
21507
- uniqueRef?: string | null;
21508
- type?: string | null;
21509
- uniqueType?: string | null;
21510
- description?: string | null;
21511
- amount: number;
21512
- originalAmount?: number | null;
21513
- originalCurrency?: string | null;
21514
- reservationId?: string | null;
21515
- paymentId?: string | null;
21516
- metadata?: {
21517
- [key: string]: unknown;
21518
- };
21519
- listingId?: string | null;
21520
- listing?: unknown;
21521
- reservation?: unknown;
21522
- }[];
21523
- connection?: {
21524
- /** Format: uuid */
21525
- id: string;
21526
- name?: string | null;
21527
- type?: string | null;
21528
- appId?: string | null;
21529
- status?: string | null;
21530
- } | null;
21531
- }[];
21532
- };
21533
- };
21534
- };
21535
- /** @description Bad request */
21536
- 400: {
21537
- headers: {
21538
- [name: string]: unknown;
21539
- };
21540
- content: {
21541
- "application/json": {
21542
- code: string;
21543
- message: string;
21544
- links?: {
21545
- docs: string;
21546
- schema: string;
21547
- };
21548
- issues?: {
21549
- message: string;
21550
- path?: (string | number)[];
21551
- schema?: string;
21552
- }[];
21553
- context?: unknown;
21554
- };
21555
- };
21556
- };
21557
- /** @description Unauthorized */
21558
- 401: {
21559
- headers: {
21560
- [name: string]: unknown;
21561
- };
21562
- content: {
21563
- "application/json": {
21564
- code: string;
21565
- message: string;
21566
- links?: {
21567
- docs: string;
21568
- schema: string;
21569
- };
21570
- issues?: {
21571
- message: string;
21572
- path?: (string | number)[];
21573
- schema?: string;
21574
- }[];
21575
- context?: unknown;
21576
- };
21577
- };
21578
- };
21579
- /** @description Forbidden */
21580
- 403: {
21581
- headers: {
21582
- [name: string]: unknown;
21583
- };
21584
- content: {
21585
- "application/json": {
21586
- code: string;
21587
- message: string;
21588
- links?: {
21589
- docs: string;
21590
- schema: string;
21591
- };
21592
- issues?: {
21593
- message: string;
21594
- path?: (string | number)[];
21595
- schema?: string;
21596
- }[];
21597
- context?: unknown;
21598
- };
21599
- };
21600
- };
21601
- /** @description Not found */
21602
- 404: {
21603
- headers: {
21604
- [name: string]: unknown;
21605
- };
21606
- content: {
21607
- "application/json": {
21608
- code: string;
21609
- message: string;
21610
- links?: {
21611
- docs: string;
21612
- schema: string;
21613
- };
21614
- issues?: {
21615
- message: string;
21616
- path?: (string | number)[];
21617
- schema?: string;
21618
- }[];
21619
- context?: unknown;
21620
- };
21621
- };
21622
- };
21623
- /** @description Internal server error */
21624
- 500: {
21625
- headers: {
21626
- [name: string]: unknown;
21627
- };
21628
- content: {
21629
- "application/json": {
21630
- code: string;
21631
- message: string;
21632
- links?: {
21633
- docs: string;
21634
- schema: string;
21635
- };
21636
- issues?: {
21637
- message: string;
21638
- path?: (string | number)[];
21639
- schema?: string;
21640
- }[];
21641
- context?: unknown;
21485
+ requestBody?: {
21486
+ content: {
21487
+ "application/json": {
21488
+ /** Format: uuid */
21489
+ id?: string;
21490
+ email: string;
21491
+ firstName?: string | null;
21492
+ lastName?: string | null;
21493
+ name?: string | null;
21494
+ /**
21495
+ * @default active
21496
+ * @enum {string}
21497
+ */
21498
+ status?: "active" | "inactive" | "archived" | "unconfirmed";
21499
+ partnerId?: string | null;
21500
+ secondaryEmails?: string[];
21501
+ membership?: {
21502
+ /** Format: uuid */
21503
+ tenantId: string;
21504
+ /**
21505
+ * @default user
21506
+ * @enum {string}
21507
+ */
21508
+ role?: "admin" | "user" | "owner";
21642
21509
  };
21643
21510
  };
21644
21511
  };
21645
21512
  };
21646
- };
21647
- getPaymentDeprecated: {
21648
- parameters: {
21649
- query?: never;
21650
- header?: never;
21651
- path: {
21652
- id: string;
21653
- };
21654
- cookie?: never;
21655
- };
21656
- requestBody?: never;
21657
21513
  responses: {
21658
21514
  /** @description Successful response */
21659
21515
  200: {
@@ -21664,44 +21520,959 @@ export interface operations {
21664
21520
  "application/json": {
21665
21521
  /** Format: uuid */
21666
21522
  id: string;
21667
- amount: number;
21668
- currency?: string | null;
21669
- description?: string | null;
21670
- date?: string | null;
21671
- uniqueRef?: string | null;
21672
- isReconciled?: boolean | null;
21673
- metadata?: {
21674
- [key: string]: unknown;
21675
- };
21676
- status?: string | null;
21677
- type?: string | null;
21678
- lines: {
21523
+ isAdmin: boolean;
21524
+ memberships: {
21679
21525
  /** Format: uuid */
21680
- id: string;
21681
- uniqueRef?: string | null;
21682
- type?: string | null;
21683
- uniqueType?: string | null;
21684
- description?: string | null;
21685
- amount: number;
21686
- originalAmount?: number | null;
21687
- originalCurrency?: string | null;
21688
- reservationId?: string | null;
21689
- paymentId?: string | null;
21690
- metadata?: {
21691
- [key: string]: unknown;
21692
- };
21693
- listingId?: string | null;
21694
- listing?: unknown;
21695
- reservation?: unknown;
21526
+ tenantId: string;
21527
+ role: string | null;
21696
21528
  }[];
21697
- connection?: {
21698
- /** Format: uuid */
21699
- id: string;
21700
- name?: string | null;
21701
- type?: string | null;
21702
- appId?: string | null;
21703
- status?: string | null;
21704
- } | null;
21529
+ };
21530
+ };
21531
+ };
21532
+ /** @description Bad request */
21533
+ 400: {
21534
+ headers: {
21535
+ [name: string]: unknown;
21536
+ };
21537
+ content: {
21538
+ "application/json": {
21539
+ code: string;
21540
+ message: string;
21541
+ links?: {
21542
+ docs: string;
21543
+ schema: string;
21544
+ };
21545
+ issues?: {
21546
+ message: string;
21547
+ path?: (string | number)[];
21548
+ schema?: string;
21549
+ }[];
21550
+ context?: unknown;
21551
+ };
21552
+ };
21553
+ };
21554
+ /** @description Unauthorized */
21555
+ 401: {
21556
+ headers: {
21557
+ [name: string]: unknown;
21558
+ };
21559
+ content: {
21560
+ "application/json": {
21561
+ code: string;
21562
+ message: string;
21563
+ links?: {
21564
+ docs: string;
21565
+ schema: string;
21566
+ };
21567
+ issues?: {
21568
+ message: string;
21569
+ path?: (string | number)[];
21570
+ schema?: string;
21571
+ }[];
21572
+ context?: unknown;
21573
+ };
21574
+ };
21575
+ };
21576
+ /** @description Forbidden */
21577
+ 403: {
21578
+ headers: {
21579
+ [name: string]: unknown;
21580
+ };
21581
+ content: {
21582
+ "application/json": {
21583
+ code: string;
21584
+ message: string;
21585
+ links?: {
21586
+ docs: string;
21587
+ schema: string;
21588
+ };
21589
+ issues?: {
21590
+ message: string;
21591
+ path?: (string | number)[];
21592
+ schema?: string;
21593
+ }[];
21594
+ context?: unknown;
21595
+ };
21596
+ };
21597
+ };
21598
+ /** @description Not found */
21599
+ 404: {
21600
+ headers: {
21601
+ [name: string]: unknown;
21602
+ };
21603
+ content: {
21604
+ "application/json": {
21605
+ code: string;
21606
+ message: string;
21607
+ links?: {
21608
+ docs: string;
21609
+ schema: string;
21610
+ };
21611
+ issues?: {
21612
+ message: string;
21613
+ path?: (string | number)[];
21614
+ schema?: string;
21615
+ }[];
21616
+ context?: unknown;
21617
+ };
21618
+ };
21619
+ };
21620
+ /** @description Internal server error */
21621
+ 500: {
21622
+ headers: {
21623
+ [name: string]: unknown;
21624
+ };
21625
+ content: {
21626
+ "application/json": {
21627
+ code: string;
21628
+ message: string;
21629
+ links?: {
21630
+ docs: string;
21631
+ schema: string;
21632
+ };
21633
+ issues?: {
21634
+ message: string;
21635
+ path?: (string | number)[];
21636
+ schema?: string;
21637
+ }[];
21638
+ context?: unknown;
21639
+ };
21640
+ };
21641
+ };
21642
+ };
21643
+ };
21644
+ putInternalUsersById: {
21645
+ parameters: {
21646
+ query?: never;
21647
+ header?: never;
21648
+ path: {
21649
+ id: string;
21650
+ };
21651
+ cookie?: never;
21652
+ };
21653
+ requestBody?: {
21654
+ content: {
21655
+ "application/json": {
21656
+ email: string;
21657
+ firstName?: string | null;
21658
+ lastName?: string | null;
21659
+ name?: string | null;
21660
+ /**
21661
+ * @default active
21662
+ * @enum {string}
21663
+ */
21664
+ status?: "active" | "inactive" | "archived" | "unconfirmed";
21665
+ partnerId?: string | null;
21666
+ secondaryEmails?: string[];
21667
+ membership?: {
21668
+ /** Format: uuid */
21669
+ tenantId: string;
21670
+ /**
21671
+ * @default user
21672
+ * @enum {string}
21673
+ */
21674
+ role?: "admin" | "user" | "owner";
21675
+ };
21676
+ };
21677
+ };
21678
+ };
21679
+ responses: {
21680
+ /** @description Successful response */
21681
+ 200: {
21682
+ headers: {
21683
+ [name: string]: unknown;
21684
+ };
21685
+ content: {
21686
+ "application/json": {
21687
+ /** Format: uuid */
21688
+ id: string;
21689
+ isAdmin: boolean;
21690
+ memberships: {
21691
+ /** Format: uuid */
21692
+ tenantId: string;
21693
+ role: string | null;
21694
+ }[];
21695
+ };
21696
+ };
21697
+ };
21698
+ /** @description Bad request */
21699
+ 400: {
21700
+ headers: {
21701
+ [name: string]: unknown;
21702
+ };
21703
+ content: {
21704
+ "application/json": {
21705
+ code: string;
21706
+ message: string;
21707
+ links?: {
21708
+ docs: string;
21709
+ schema: string;
21710
+ };
21711
+ issues?: {
21712
+ message: string;
21713
+ path?: (string | number)[];
21714
+ schema?: string;
21715
+ }[];
21716
+ context?: unknown;
21717
+ };
21718
+ };
21719
+ };
21720
+ /** @description Unauthorized */
21721
+ 401: {
21722
+ headers: {
21723
+ [name: string]: unknown;
21724
+ };
21725
+ content: {
21726
+ "application/json": {
21727
+ code: string;
21728
+ message: string;
21729
+ links?: {
21730
+ docs: string;
21731
+ schema: string;
21732
+ };
21733
+ issues?: {
21734
+ message: string;
21735
+ path?: (string | number)[];
21736
+ schema?: string;
21737
+ }[];
21738
+ context?: unknown;
21739
+ };
21740
+ };
21741
+ };
21742
+ /** @description Forbidden */
21743
+ 403: {
21744
+ headers: {
21745
+ [name: string]: unknown;
21746
+ };
21747
+ content: {
21748
+ "application/json": {
21749
+ code: string;
21750
+ message: string;
21751
+ links?: {
21752
+ docs: string;
21753
+ schema: string;
21754
+ };
21755
+ issues?: {
21756
+ message: string;
21757
+ path?: (string | number)[];
21758
+ schema?: string;
21759
+ }[];
21760
+ context?: unknown;
21761
+ };
21762
+ };
21763
+ };
21764
+ /** @description Not found */
21765
+ 404: {
21766
+ headers: {
21767
+ [name: string]: unknown;
21768
+ };
21769
+ content: {
21770
+ "application/json": {
21771
+ code: string;
21772
+ message: string;
21773
+ links?: {
21774
+ docs: string;
21775
+ schema: string;
21776
+ };
21777
+ issues?: {
21778
+ message: string;
21779
+ path?: (string | number)[];
21780
+ schema?: string;
21781
+ }[];
21782
+ context?: unknown;
21783
+ };
21784
+ };
21785
+ };
21786
+ /** @description Internal server error */
21787
+ 500: {
21788
+ headers: {
21789
+ [name: string]: unknown;
21790
+ };
21791
+ content: {
21792
+ "application/json": {
21793
+ code: string;
21794
+ message: string;
21795
+ links?: {
21796
+ docs: string;
21797
+ schema: string;
21798
+ };
21799
+ issues?: {
21800
+ message: string;
21801
+ path?: (string | number)[];
21802
+ schema?: string;
21803
+ }[];
21804
+ context?: unknown;
21805
+ };
21806
+ };
21807
+ };
21808
+ };
21809
+ };
21810
+ deleteInternalUsersById: {
21811
+ parameters: {
21812
+ query?: never;
21813
+ header?: never;
21814
+ path: {
21815
+ id: string;
21816
+ };
21817
+ cookie?: never;
21818
+ };
21819
+ requestBody?: never;
21820
+ responses: {
21821
+ /** @description Successful response */
21822
+ 200: {
21823
+ headers: {
21824
+ [name: string]: unknown;
21825
+ };
21826
+ content: {
21827
+ "application/json": {
21828
+ deleted: boolean;
21829
+ memberships: number;
21830
+ ownerAccess: number;
21831
+ tokens: number;
21832
+ };
21833
+ };
21834
+ };
21835
+ /** @description Bad request */
21836
+ 400: {
21837
+ headers: {
21838
+ [name: string]: unknown;
21839
+ };
21840
+ content: {
21841
+ "application/json": {
21842
+ code: string;
21843
+ message: string;
21844
+ links?: {
21845
+ docs: string;
21846
+ schema: string;
21847
+ };
21848
+ issues?: {
21849
+ message: string;
21850
+ path?: (string | number)[];
21851
+ schema?: string;
21852
+ }[];
21853
+ context?: unknown;
21854
+ };
21855
+ };
21856
+ };
21857
+ /** @description Unauthorized */
21858
+ 401: {
21859
+ headers: {
21860
+ [name: string]: unknown;
21861
+ };
21862
+ content: {
21863
+ "application/json": {
21864
+ code: string;
21865
+ message: string;
21866
+ links?: {
21867
+ docs: string;
21868
+ schema: string;
21869
+ };
21870
+ issues?: {
21871
+ message: string;
21872
+ path?: (string | number)[];
21873
+ schema?: string;
21874
+ }[];
21875
+ context?: unknown;
21876
+ };
21877
+ };
21878
+ };
21879
+ /** @description Forbidden */
21880
+ 403: {
21881
+ headers: {
21882
+ [name: string]: unknown;
21883
+ };
21884
+ content: {
21885
+ "application/json": {
21886
+ code: string;
21887
+ message: string;
21888
+ links?: {
21889
+ docs: string;
21890
+ schema: string;
21891
+ };
21892
+ issues?: {
21893
+ message: string;
21894
+ path?: (string | number)[];
21895
+ schema?: string;
21896
+ }[];
21897
+ context?: unknown;
21898
+ };
21899
+ };
21900
+ };
21901
+ /** @description Not found */
21902
+ 404: {
21903
+ headers: {
21904
+ [name: string]: unknown;
21905
+ };
21906
+ content: {
21907
+ "application/json": {
21908
+ code: string;
21909
+ message: string;
21910
+ links?: {
21911
+ docs: string;
21912
+ schema: string;
21913
+ };
21914
+ issues?: {
21915
+ message: string;
21916
+ path?: (string | number)[];
21917
+ schema?: string;
21918
+ }[];
21919
+ context?: unknown;
21920
+ };
21921
+ };
21922
+ };
21923
+ /** @description Internal server error */
21924
+ 500: {
21925
+ headers: {
21926
+ [name: string]: unknown;
21927
+ };
21928
+ content: {
21929
+ "application/json": {
21930
+ code: string;
21931
+ message: string;
21932
+ links?: {
21933
+ docs: string;
21934
+ schema: string;
21935
+ };
21936
+ issues?: {
21937
+ message: string;
21938
+ path?: (string | number)[];
21939
+ schema?: string;
21940
+ }[];
21941
+ context?: unknown;
21942
+ };
21943
+ };
21944
+ };
21945
+ };
21946
+ };
21947
+ deleteInternalUsersByIdMembershipsByTenantId: {
21948
+ parameters: {
21949
+ query?: never;
21950
+ header?: never;
21951
+ path: {
21952
+ id: string;
21953
+ tenantId: string;
21954
+ };
21955
+ cookie?: never;
21956
+ };
21957
+ requestBody?: never;
21958
+ responses: {
21959
+ /** @description Successful response */
21960
+ 200: {
21961
+ headers: {
21962
+ [name: string]: unknown;
21963
+ };
21964
+ content: {
21965
+ "application/json": {
21966
+ deleted: boolean;
21967
+ };
21968
+ };
21969
+ };
21970
+ /** @description Bad request */
21971
+ 400: {
21972
+ headers: {
21973
+ [name: string]: unknown;
21974
+ };
21975
+ content: {
21976
+ "application/json": {
21977
+ code: string;
21978
+ message: string;
21979
+ links?: {
21980
+ docs: string;
21981
+ schema: string;
21982
+ };
21983
+ issues?: {
21984
+ message: string;
21985
+ path?: (string | number)[];
21986
+ schema?: string;
21987
+ }[];
21988
+ context?: unknown;
21989
+ };
21990
+ };
21991
+ };
21992
+ /** @description Unauthorized */
21993
+ 401: {
21994
+ headers: {
21995
+ [name: string]: unknown;
21996
+ };
21997
+ content: {
21998
+ "application/json": {
21999
+ code: string;
22000
+ message: string;
22001
+ links?: {
22002
+ docs: string;
22003
+ schema: string;
22004
+ };
22005
+ issues?: {
22006
+ message: string;
22007
+ path?: (string | number)[];
22008
+ schema?: string;
22009
+ }[];
22010
+ context?: unknown;
22011
+ };
22012
+ };
22013
+ };
22014
+ /** @description Forbidden */
22015
+ 403: {
22016
+ headers: {
22017
+ [name: string]: unknown;
22018
+ };
22019
+ content: {
22020
+ "application/json": {
22021
+ code: string;
22022
+ message: string;
22023
+ links?: {
22024
+ docs: string;
22025
+ schema: string;
22026
+ };
22027
+ issues?: {
22028
+ message: string;
22029
+ path?: (string | number)[];
22030
+ schema?: string;
22031
+ }[];
22032
+ context?: unknown;
22033
+ };
22034
+ };
22035
+ };
22036
+ /** @description Not found */
22037
+ 404: {
22038
+ headers: {
22039
+ [name: string]: unknown;
22040
+ };
22041
+ content: {
22042
+ "application/json": {
22043
+ code: string;
22044
+ message: string;
22045
+ links?: {
22046
+ docs: string;
22047
+ schema: string;
22048
+ };
22049
+ issues?: {
22050
+ message: string;
22051
+ path?: (string | number)[];
22052
+ schema?: string;
22053
+ }[];
22054
+ context?: unknown;
22055
+ };
22056
+ };
22057
+ };
22058
+ /** @description Internal server error */
22059
+ 500: {
22060
+ headers: {
22061
+ [name: string]: unknown;
22062
+ };
22063
+ content: {
22064
+ "application/json": {
22065
+ code: string;
22066
+ message: string;
22067
+ links?: {
22068
+ docs: string;
22069
+ schema: string;
22070
+ };
22071
+ issues?: {
22072
+ message: string;
22073
+ path?: (string | number)[];
22074
+ schema?: string;
22075
+ }[];
22076
+ context?: unknown;
22077
+ };
22078
+ };
22079
+ };
22080
+ };
22081
+ };
22082
+ patchInternalUsersByIdMembershipsByTenantId: {
22083
+ parameters: {
22084
+ query?: never;
22085
+ header?: never;
22086
+ path: {
22087
+ id: string;
22088
+ tenantId: string;
22089
+ };
22090
+ cookie?: never;
22091
+ };
22092
+ requestBody?: {
22093
+ content: {
22094
+ "application/json": {
22095
+ lastInvitedAt?: string | null;
22096
+ /** @enum {string} */
22097
+ role?: "admin" | "user" | "owner";
22098
+ status?: string;
22099
+ };
22100
+ };
22101
+ };
22102
+ responses: {
22103
+ /** @description Successful response */
22104
+ 200: {
22105
+ headers: {
22106
+ [name: string]: unknown;
22107
+ };
22108
+ content: {
22109
+ "application/json": {
22110
+ lastInvitedAt: string | null;
22111
+ status: string | null;
22112
+ /** Format: uuid */
22113
+ tenantId: string;
22114
+ role: string | null;
22115
+ };
22116
+ };
22117
+ };
22118
+ /** @description Bad request */
22119
+ 400: {
22120
+ headers: {
22121
+ [name: string]: unknown;
22122
+ };
22123
+ content: {
22124
+ "application/json": {
22125
+ code: string;
22126
+ message: string;
22127
+ links?: {
22128
+ docs: string;
22129
+ schema: string;
22130
+ };
22131
+ issues?: {
22132
+ message: string;
22133
+ path?: (string | number)[];
22134
+ schema?: string;
22135
+ }[];
22136
+ context?: unknown;
22137
+ };
22138
+ };
22139
+ };
22140
+ /** @description Unauthorized */
22141
+ 401: {
22142
+ headers: {
22143
+ [name: string]: unknown;
22144
+ };
22145
+ content: {
22146
+ "application/json": {
22147
+ code: string;
22148
+ message: string;
22149
+ links?: {
22150
+ docs: string;
22151
+ schema: string;
22152
+ };
22153
+ issues?: {
22154
+ message: string;
22155
+ path?: (string | number)[];
22156
+ schema?: string;
22157
+ }[];
22158
+ context?: unknown;
22159
+ };
22160
+ };
22161
+ };
22162
+ /** @description Forbidden */
22163
+ 403: {
22164
+ headers: {
22165
+ [name: string]: unknown;
22166
+ };
22167
+ content: {
22168
+ "application/json": {
22169
+ code: string;
22170
+ message: string;
22171
+ links?: {
22172
+ docs: string;
22173
+ schema: string;
22174
+ };
22175
+ issues?: {
22176
+ message: string;
22177
+ path?: (string | number)[];
22178
+ schema?: string;
22179
+ }[];
22180
+ context?: unknown;
22181
+ };
22182
+ };
22183
+ };
22184
+ /** @description Not found */
22185
+ 404: {
22186
+ headers: {
22187
+ [name: string]: unknown;
22188
+ };
22189
+ content: {
22190
+ "application/json": {
22191
+ code: string;
22192
+ message: string;
22193
+ links?: {
22194
+ docs: string;
22195
+ schema: string;
22196
+ };
22197
+ issues?: {
22198
+ message: string;
22199
+ path?: (string | number)[];
22200
+ schema?: string;
22201
+ }[];
22202
+ context?: unknown;
22203
+ };
22204
+ };
22205
+ };
22206
+ /** @description Internal server error */
22207
+ 500: {
22208
+ headers: {
22209
+ [name: string]: unknown;
22210
+ };
22211
+ content: {
22212
+ "application/json": {
22213
+ code: string;
22214
+ message: string;
22215
+ links?: {
22216
+ docs: string;
22217
+ schema: string;
22218
+ };
22219
+ issues?: {
22220
+ message: string;
22221
+ path?: (string | number)[];
22222
+ schema?: string;
22223
+ }[];
22224
+ context?: unknown;
22225
+ };
22226
+ };
22227
+ };
22228
+ };
22229
+ };
22230
+ getPaymentsDeprecated: {
22231
+ parameters: {
22232
+ query?: {
22233
+ pageSize?: number;
22234
+ page?: number;
22235
+ type?: string;
22236
+ date?: string;
22237
+ expand?: string;
22238
+ description?: string;
22239
+ amount?: number;
22240
+ };
22241
+ header?: never;
22242
+ path?: never;
22243
+ cookie?: never;
22244
+ };
22245
+ requestBody?: never;
22246
+ responses: {
22247
+ /** @description Successful response */
22248
+ 200: {
22249
+ headers: {
22250
+ [name: string]: unknown;
22251
+ };
22252
+ content: {
22253
+ "application/json": {
22254
+ results: number;
22255
+ totalResults: number;
22256
+ page: number;
22257
+ totalPages: number;
22258
+ filters?: {
22259
+ [key: string]: unknown;
22260
+ };
22261
+ data: {
22262
+ /** Format: uuid */
22263
+ id: string;
22264
+ amount: number;
22265
+ currency?: string | null;
22266
+ description?: string | null;
22267
+ date?: string | null;
22268
+ uniqueRef?: string | null;
22269
+ isReconciled?: boolean | null;
22270
+ metadata?: {
22271
+ [key: string]: unknown;
22272
+ };
22273
+ status?: string | null;
22274
+ type?: string | null;
22275
+ lines: {
22276
+ /** Format: uuid */
22277
+ id: string;
22278
+ uniqueRef?: string | null;
22279
+ type?: string | null;
22280
+ uniqueType?: string | null;
22281
+ description?: string | null;
22282
+ amount: number;
22283
+ originalAmount?: number | null;
22284
+ originalCurrency?: string | null;
22285
+ reservationId?: string | null;
22286
+ paymentId?: string | null;
22287
+ metadata?: {
22288
+ [key: string]: unknown;
22289
+ };
22290
+ listingId?: string | null;
22291
+ listing?: unknown;
22292
+ reservation?: unknown;
22293
+ }[];
22294
+ connection?: {
22295
+ /** Format: uuid */
22296
+ id: string;
22297
+ name?: string | null;
22298
+ type?: string | null;
22299
+ appId?: string | null;
22300
+ status?: string | null;
22301
+ } | null;
22302
+ }[];
22303
+ };
22304
+ };
22305
+ };
22306
+ /** @description Bad request */
22307
+ 400: {
22308
+ headers: {
22309
+ [name: string]: unknown;
22310
+ };
22311
+ content: {
22312
+ "application/json": {
22313
+ code: string;
22314
+ message: string;
22315
+ links?: {
22316
+ docs: string;
22317
+ schema: string;
22318
+ };
22319
+ issues?: {
22320
+ message: string;
22321
+ path?: (string | number)[];
22322
+ schema?: string;
22323
+ }[];
22324
+ context?: unknown;
22325
+ };
22326
+ };
22327
+ };
22328
+ /** @description Unauthorized */
22329
+ 401: {
22330
+ headers: {
22331
+ [name: string]: unknown;
22332
+ };
22333
+ content: {
22334
+ "application/json": {
22335
+ code: string;
22336
+ message: string;
22337
+ links?: {
22338
+ docs: string;
22339
+ schema: string;
22340
+ };
22341
+ issues?: {
22342
+ message: string;
22343
+ path?: (string | number)[];
22344
+ schema?: string;
22345
+ }[];
22346
+ context?: unknown;
22347
+ };
22348
+ };
22349
+ };
22350
+ /** @description Forbidden */
22351
+ 403: {
22352
+ headers: {
22353
+ [name: string]: unknown;
22354
+ };
22355
+ content: {
22356
+ "application/json": {
22357
+ code: string;
22358
+ message: string;
22359
+ links?: {
22360
+ docs: string;
22361
+ schema: string;
22362
+ };
22363
+ issues?: {
22364
+ message: string;
22365
+ path?: (string | number)[];
22366
+ schema?: string;
22367
+ }[];
22368
+ context?: unknown;
22369
+ };
22370
+ };
22371
+ };
22372
+ /** @description Not found */
22373
+ 404: {
22374
+ headers: {
22375
+ [name: string]: unknown;
22376
+ };
22377
+ content: {
22378
+ "application/json": {
22379
+ code: string;
22380
+ message: string;
22381
+ links?: {
22382
+ docs: string;
22383
+ schema: string;
22384
+ };
22385
+ issues?: {
22386
+ message: string;
22387
+ path?: (string | number)[];
22388
+ schema?: string;
22389
+ }[];
22390
+ context?: unknown;
22391
+ };
22392
+ };
22393
+ };
22394
+ /** @description Internal server error */
22395
+ 500: {
22396
+ headers: {
22397
+ [name: string]: unknown;
22398
+ };
22399
+ content: {
22400
+ "application/json": {
22401
+ code: string;
22402
+ message: string;
22403
+ links?: {
22404
+ docs: string;
22405
+ schema: string;
22406
+ };
22407
+ issues?: {
22408
+ message: string;
22409
+ path?: (string | number)[];
22410
+ schema?: string;
22411
+ }[];
22412
+ context?: unknown;
22413
+ };
22414
+ };
22415
+ };
22416
+ };
22417
+ };
22418
+ getPaymentDeprecated: {
22419
+ parameters: {
22420
+ query?: never;
22421
+ header?: never;
22422
+ path: {
22423
+ id: string;
22424
+ };
22425
+ cookie?: never;
22426
+ };
22427
+ requestBody?: never;
22428
+ responses: {
22429
+ /** @description Successful response */
22430
+ 200: {
22431
+ headers: {
22432
+ [name: string]: unknown;
22433
+ };
22434
+ content: {
22435
+ "application/json": {
22436
+ /** Format: uuid */
22437
+ id: string;
22438
+ amount: number;
22439
+ currency?: string | null;
22440
+ description?: string | null;
22441
+ date?: string | null;
22442
+ uniqueRef?: string | null;
22443
+ isReconciled?: boolean | null;
22444
+ metadata?: {
22445
+ [key: string]: unknown;
22446
+ };
22447
+ status?: string | null;
22448
+ type?: string | null;
22449
+ lines: {
22450
+ /** Format: uuid */
22451
+ id: string;
22452
+ uniqueRef?: string | null;
22453
+ type?: string | null;
22454
+ uniqueType?: string | null;
22455
+ description?: string | null;
22456
+ amount: number;
22457
+ originalAmount?: number | null;
22458
+ originalCurrency?: string | null;
22459
+ reservationId?: string | null;
22460
+ paymentId?: string | null;
22461
+ metadata?: {
22462
+ [key: string]: unknown;
22463
+ };
22464
+ listingId?: string | null;
22465
+ listing?: unknown;
22466
+ reservation?: unknown;
22467
+ }[];
22468
+ connection?: {
22469
+ /** Format: uuid */
22470
+ id: string;
22471
+ name?: string | null;
22472
+ type?: string | null;
22473
+ appId?: string | null;
22474
+ status?: string | null;
22475
+ } | null;
21705
22476
  };
21706
22477
  };
21707
22478
  };
@@ -72721,336 +73492,4 @@ export interface operations {
72721
73492
  };
72722
73493
  };
72723
73494
  };
72724
- postUsers: {
72725
- parameters: {
72726
- query?: never;
72727
- header?: never;
72728
- path?: never;
72729
- cookie?: never;
72730
- };
72731
- requestBody?: {
72732
- content: {
72733
- "application/json": {
72734
- /** Format: uuid */
72735
- id?: string;
72736
- email: string;
72737
- firstName?: string | null;
72738
- lastName?: string | null;
72739
- name?: string | null;
72740
- /**
72741
- * @default active
72742
- * @enum {string}
72743
- */
72744
- status?: "active" | "inactive" | "archived" | "unconfirmed";
72745
- partnerId?: string | null;
72746
- secondaryEmails?: string[];
72747
- membership?: {
72748
- /** Format: uuid */
72749
- tenantId: string;
72750
- /**
72751
- * @default user
72752
- * @enum {string}
72753
- */
72754
- role?: "admin" | "user" | "owner";
72755
- };
72756
- };
72757
- };
72758
- };
72759
- responses: {
72760
- /** @description Successful response */
72761
- 200: {
72762
- headers: {
72763
- [name: string]: unknown;
72764
- };
72765
- content: {
72766
- "application/json": {
72767
- /** Format: uuid */
72768
- id: string;
72769
- isAdmin: boolean;
72770
- memberships: {
72771
- /** Format: uuid */
72772
- tenantId: string;
72773
- role: string | null;
72774
- }[];
72775
- };
72776
- };
72777
- };
72778
- /** @description Bad request */
72779
- 400: {
72780
- headers: {
72781
- [name: string]: unknown;
72782
- };
72783
- content: {
72784
- "application/json": {
72785
- code: string;
72786
- message: string;
72787
- links?: {
72788
- docs: string;
72789
- schema: string;
72790
- };
72791
- issues?: {
72792
- message: string;
72793
- path?: (string | number)[];
72794
- schema?: string;
72795
- }[];
72796
- context?: unknown;
72797
- };
72798
- };
72799
- };
72800
- /** @description Unauthorized */
72801
- 401: {
72802
- headers: {
72803
- [name: string]: unknown;
72804
- };
72805
- content: {
72806
- "application/json": {
72807
- code: string;
72808
- message: string;
72809
- links?: {
72810
- docs: string;
72811
- schema: string;
72812
- };
72813
- issues?: {
72814
- message: string;
72815
- path?: (string | number)[];
72816
- schema?: string;
72817
- }[];
72818
- context?: unknown;
72819
- };
72820
- };
72821
- };
72822
- /** @description Forbidden */
72823
- 403: {
72824
- headers: {
72825
- [name: string]: unknown;
72826
- };
72827
- content: {
72828
- "application/json": {
72829
- code: string;
72830
- message: string;
72831
- links?: {
72832
- docs: string;
72833
- schema: string;
72834
- };
72835
- issues?: {
72836
- message: string;
72837
- path?: (string | number)[];
72838
- schema?: string;
72839
- }[];
72840
- context?: unknown;
72841
- };
72842
- };
72843
- };
72844
- /** @description Not found */
72845
- 404: {
72846
- headers: {
72847
- [name: string]: unknown;
72848
- };
72849
- content: {
72850
- "application/json": {
72851
- code: string;
72852
- message: string;
72853
- links?: {
72854
- docs: string;
72855
- schema: string;
72856
- };
72857
- issues?: {
72858
- message: string;
72859
- path?: (string | number)[];
72860
- schema?: string;
72861
- }[];
72862
- context?: unknown;
72863
- };
72864
- };
72865
- };
72866
- /** @description Internal server error */
72867
- 500: {
72868
- headers: {
72869
- [name: string]: unknown;
72870
- };
72871
- content: {
72872
- "application/json": {
72873
- code: string;
72874
- message: string;
72875
- links?: {
72876
- docs: string;
72877
- schema: string;
72878
- };
72879
- issues?: {
72880
- message: string;
72881
- path?: (string | number)[];
72882
- schema?: string;
72883
- }[];
72884
- context?: unknown;
72885
- };
72886
- };
72887
- };
72888
- };
72889
- };
72890
- putUsersById: {
72891
- parameters: {
72892
- query?: never;
72893
- header?: never;
72894
- path: {
72895
- id: string;
72896
- };
72897
- cookie?: never;
72898
- };
72899
- requestBody?: {
72900
- content: {
72901
- "application/json": {
72902
- email: string;
72903
- firstName?: string | null;
72904
- lastName?: string | null;
72905
- name?: string | null;
72906
- /**
72907
- * @default active
72908
- * @enum {string}
72909
- */
72910
- status?: "active" | "inactive" | "archived" | "unconfirmed";
72911
- partnerId?: string | null;
72912
- secondaryEmails?: string[];
72913
- membership?: {
72914
- /** Format: uuid */
72915
- tenantId: string;
72916
- /**
72917
- * @default user
72918
- * @enum {string}
72919
- */
72920
- role?: "admin" | "user" | "owner";
72921
- };
72922
- };
72923
- };
72924
- };
72925
- responses: {
72926
- /** @description Successful response */
72927
- 200: {
72928
- headers: {
72929
- [name: string]: unknown;
72930
- };
72931
- content: {
72932
- "application/json": {
72933
- /** Format: uuid */
72934
- id: string;
72935
- isAdmin: boolean;
72936
- memberships: {
72937
- /** Format: uuid */
72938
- tenantId: string;
72939
- role: string | null;
72940
- }[];
72941
- };
72942
- };
72943
- };
72944
- /** @description Bad request */
72945
- 400: {
72946
- headers: {
72947
- [name: string]: unknown;
72948
- };
72949
- content: {
72950
- "application/json": {
72951
- code: string;
72952
- message: string;
72953
- links?: {
72954
- docs: string;
72955
- schema: string;
72956
- };
72957
- issues?: {
72958
- message: string;
72959
- path?: (string | number)[];
72960
- schema?: string;
72961
- }[];
72962
- context?: unknown;
72963
- };
72964
- };
72965
- };
72966
- /** @description Unauthorized */
72967
- 401: {
72968
- headers: {
72969
- [name: string]: unknown;
72970
- };
72971
- content: {
72972
- "application/json": {
72973
- code: string;
72974
- message: string;
72975
- links?: {
72976
- docs: string;
72977
- schema: string;
72978
- };
72979
- issues?: {
72980
- message: string;
72981
- path?: (string | number)[];
72982
- schema?: string;
72983
- }[];
72984
- context?: unknown;
72985
- };
72986
- };
72987
- };
72988
- /** @description Forbidden */
72989
- 403: {
72990
- headers: {
72991
- [name: string]: unknown;
72992
- };
72993
- content: {
72994
- "application/json": {
72995
- code: string;
72996
- message: string;
72997
- links?: {
72998
- docs: string;
72999
- schema: string;
73000
- };
73001
- issues?: {
73002
- message: string;
73003
- path?: (string | number)[];
73004
- schema?: string;
73005
- }[];
73006
- context?: unknown;
73007
- };
73008
- };
73009
- };
73010
- /** @description Not found */
73011
- 404: {
73012
- headers: {
73013
- [name: string]: unknown;
73014
- };
73015
- content: {
73016
- "application/json": {
73017
- code: string;
73018
- message: string;
73019
- links?: {
73020
- docs: string;
73021
- schema: string;
73022
- };
73023
- issues?: {
73024
- message: string;
73025
- path?: (string | number)[];
73026
- schema?: string;
73027
- }[];
73028
- context?: unknown;
73029
- };
73030
- };
73031
- };
73032
- /** @description Internal server error */
73033
- 500: {
73034
- headers: {
73035
- [name: string]: unknown;
73036
- };
73037
- content: {
73038
- "application/json": {
73039
- code: string;
73040
- message: string;
73041
- links?: {
73042
- docs: string;
73043
- schema: string;
73044
- };
73045
- issues?: {
73046
- message: string;
73047
- path?: (string | number)[];
73048
- schema?: string;
73049
- }[];
73050
- context?: unknown;
73051
- };
73052
- };
73053
- };
73054
- };
73055
- };
73056
73495
  }