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