@vrplatform/api 1.3.1-2346 → 1.3.1-2357

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.
@@ -1200,6 +1200,23 @@ export interface paths {
1200
1200
  patch?: never;
1201
1201
  trace?: never;
1202
1202
  };
1203
+ "/me": {
1204
+ parameters: {
1205
+ query?: never;
1206
+ header?: never;
1207
+ path?: never;
1208
+ cookie?: never;
1209
+ };
1210
+ /** @description Get the authenticated user and access summary */
1211
+ get: operations["getMe"];
1212
+ put?: never;
1213
+ post?: never;
1214
+ delete?: never;
1215
+ options?: never;
1216
+ head?: never;
1217
+ patch?: never;
1218
+ trace?: never;
1219
+ };
1203
1220
  "/metrics/active-listings": {
1204
1221
  parameters: {
1205
1222
  query?: never;
@@ -4691,16 +4708,15 @@ export interface operations {
4691
4708
  status: "active" | "inactive";
4692
4709
  description?: string | null;
4693
4710
  bankAccountId?: string | null;
4694
- accountId?: string | null;
4695
- connectionId?: string | null;
4696
- source?: {
4711
+ bankAccount?: {
4697
4712
  /** Format: uuid */
4698
4713
  id: string;
4699
- type: string;
4700
- status?: ("active" | "inactive") | null;
4701
- appId?: string | null;
4702
- appIcon?: string | null;
4714
+ name: string;
4715
+ connectionId?: string | null;
4703
4716
  } | null;
4717
+ accountId?: string | null;
4718
+ connectionId?: string | null;
4719
+ appId?: string | null;
4704
4720
  /** @enum {string} */
4705
4721
  type: "transaction" | "balance";
4706
4722
  amount: number;
@@ -7233,16 +7249,15 @@ export interface operations {
7233
7249
  status: "active" | "inactive";
7234
7250
  description?: string | null;
7235
7251
  bankAccountId?: string | null;
7236
- accountId?: string | null;
7237
- connectionId?: string | null;
7238
- source?: {
7252
+ bankAccount?: {
7239
7253
  /** Format: uuid */
7240
7254
  id: string;
7241
- type: string;
7242
- status?: ("active" | "inactive") | null;
7243
- appId?: string | null;
7244
- appIcon?: string | null;
7255
+ name: string;
7256
+ connectionId?: string | null;
7245
7257
  } | null;
7258
+ accountId?: string | null;
7259
+ connectionId?: string | null;
7260
+ appId?: string | null;
7246
7261
  /** @enum {string} */
7247
7262
  type: "transaction" | "balance";
7248
7263
  amount: number;
@@ -7780,16 +7795,15 @@ export interface operations {
7780
7795
  status: "active" | "inactive";
7781
7796
  description?: string | null;
7782
7797
  bankAccountId?: string | null;
7783
- accountId?: string | null;
7784
- connectionId?: string | null;
7785
- source?: {
7798
+ bankAccount?: {
7786
7799
  /** Format: uuid */
7787
7800
  id: string;
7788
- type: string;
7789
- status?: ("active" | "inactive") | null;
7790
- appId?: string | null;
7791
- appIcon?: string | null;
7801
+ name: string;
7802
+ connectionId?: string | null;
7792
7803
  } | null;
7804
+ accountId?: string | null;
7805
+ connectionId?: string | null;
7806
+ appId?: string | null;
7793
7807
  /** @enum {string} */
7794
7808
  type: "transaction" | "balance";
7795
7809
  amount: number;
@@ -9563,7 +9577,9 @@ export interface operations {
9563
9577
  };
9564
9578
  getBookingChannels: {
9565
9579
  parameters: {
9566
- query?: never;
9580
+ query?: {
9581
+ includeFeeReferenced?: boolean;
9582
+ };
9567
9583
  header?: never;
9568
9584
  path?: never;
9569
9585
  cookie?: never;
@@ -9582,6 +9598,7 @@ export interface operations {
9582
9598
  icon: string | null;
9583
9599
  color: string | null;
9584
9600
  iconProvider: ("cloudflare" | "logo_dev") | null;
9601
+ reservationCount: number;
9585
9602
  }[];
9586
9603
  };
9587
9604
  };
@@ -17823,6 +17840,142 @@ export interface operations {
17823
17840
  };
17824
17841
  };
17825
17842
  };
17843
+ getMe: {
17844
+ parameters: {
17845
+ query?: never;
17846
+ header?: never;
17847
+ path?: never;
17848
+ cookie?: never;
17849
+ };
17850
+ requestBody?: never;
17851
+ responses: {
17852
+ /** @description Successful response */
17853
+ 200: {
17854
+ headers: {
17855
+ [name: string]: unknown;
17856
+ };
17857
+ content: {
17858
+ "application/json": {
17859
+ /** Format: uuid */
17860
+ id: string;
17861
+ /** @enum {string} */
17862
+ type: "admin" | "user" | "owner";
17863
+ firstName?: string;
17864
+ lastName?: string;
17865
+ email: string;
17866
+ secondaryEmails: string[];
17867
+ phone?: string;
17868
+ /** Format: uuid */
17869
+ partnerId?: string;
17870
+ createdAt: string;
17871
+ ownerAccess: {
17872
+ /** Format: uuid */
17873
+ contactId?: string;
17874
+ /** Format: uuid */
17875
+ ownerId?: string;
17876
+ /** Format: uuid */
17877
+ teamId: string;
17878
+ }[];
17879
+ teamAccess: {
17880
+ /** Format: uuid */
17881
+ teamId: string;
17882
+ partnerId: string | null;
17883
+ /** @enum {string} */
17884
+ role: "admin" | "user";
17885
+ /** @enum {string} */
17886
+ type: "propertyManager" | "partner";
17887
+ }[];
17888
+ enabledFeatures: {
17889
+ /** Format: uuid */
17890
+ featureId: string;
17891
+ /** @enum {string} */
17892
+ status: "all" | "disabled" | "partially";
17893
+ }[];
17894
+ };
17895
+ };
17896
+ };
17897
+ /** @description Bad request */
17898
+ 400: {
17899
+ headers: {
17900
+ [name: string]: unknown;
17901
+ };
17902
+ content: {
17903
+ "application/json": {
17904
+ code: string;
17905
+ message: string;
17906
+ issues?: {
17907
+ message: string;
17908
+ }[];
17909
+ context?: unknown;
17910
+ };
17911
+ };
17912
+ };
17913
+ /** @description Unauthorized */
17914
+ 401: {
17915
+ headers: {
17916
+ [name: string]: unknown;
17917
+ };
17918
+ content: {
17919
+ "application/json": {
17920
+ code: string;
17921
+ message: string;
17922
+ issues?: {
17923
+ message: string;
17924
+ }[];
17925
+ context?: unknown;
17926
+ };
17927
+ };
17928
+ };
17929
+ /** @description Forbidden */
17930
+ 403: {
17931
+ headers: {
17932
+ [name: string]: unknown;
17933
+ };
17934
+ content: {
17935
+ "application/json": {
17936
+ code: string;
17937
+ message: string;
17938
+ issues?: {
17939
+ message: string;
17940
+ }[];
17941
+ context?: unknown;
17942
+ };
17943
+ };
17944
+ };
17945
+ /** @description Not found */
17946
+ 404: {
17947
+ headers: {
17948
+ [name: string]: unknown;
17949
+ };
17950
+ content: {
17951
+ "application/json": {
17952
+ code: string;
17953
+ message: string;
17954
+ issues?: {
17955
+ message: string;
17956
+ }[];
17957
+ context?: unknown;
17958
+ };
17959
+ };
17960
+ };
17961
+ /** @description Internal server error */
17962
+ 500: {
17963
+ headers: {
17964
+ [name: string]: unknown;
17965
+ };
17966
+ content: {
17967
+ "application/json": {
17968
+ code: string;
17969
+ message: string;
17970
+ issues?: {
17971
+ message: string;
17972
+ }[];
17973
+ context?: unknown;
17974
+ };
17975
+ };
17976
+ };
17977
+ };
17978
+ };
17826
17979
  getMetricActiveListings: {
17827
17980
  parameters: {
17828
17981
  query: {
@@ -39121,8 +39274,13 @@ export interface operations {
39121
39274
  /** Format: uuid */
39122
39275
  id: string;
39123
39276
  title: string;
39124
- /** Format: uuid */
39125
- categoryId: string;
39277
+ category: {
39278
+ /** Format: uuid */
39279
+ id: string;
39280
+ name: string;
39281
+ /** @enum {string} */
39282
+ classification: "asset" | "liability" | "revenue" | "expense";
39283
+ };
39126
39284
  type: string;
39127
39285
  status?: string | null;
39128
39286
  }[];