@vrplatform/api 1.3.1-2346 → 1.3.1-2392

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" | "owner";
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: {
@@ -37833,6 +37986,9 @@ export interface operations {
37833
37986
  status: "active" | "inactive" | "deleted" | "onboarding";
37834
37987
  billingSubscriptionStatus?: string | null;
37835
37988
  billingPlan?: string | null;
37989
+ billingPaymentMethodType?: string | null;
37990
+ billingCustomerId?: string | null;
37991
+ colorPrimary?: string | null;
37836
37992
  createdAt?: string | null;
37837
37993
  updatedAt?: string | null;
37838
37994
  trialUntil?: string | null;
@@ -37899,6 +38055,12 @@ export interface operations {
37899
38055
  }[];
37900
38056
  };
37901
38057
  } | null;
38058
+ enabledFeatures?: {
38059
+ /** Format: uuid */
38060
+ featureId: string;
38061
+ /** @enum {string} */
38062
+ status: "all" | "disabled" | "partially";
38063
+ }[];
37902
38064
  }[];
37903
38065
  pagination: {
37904
38066
  /** @default 100 */
@@ -38123,6 +38285,9 @@ export interface operations {
38123
38285
  status: "active" | "inactive" | "deleted" | "onboarding";
38124
38286
  billingSubscriptionStatus?: string | null;
38125
38287
  billingPlan?: string | null;
38288
+ billingPaymentMethodType?: string | null;
38289
+ billingCustomerId?: string | null;
38290
+ colorPrimary?: string | null;
38126
38291
  createdAt?: string | null;
38127
38292
  updatedAt?: string | null;
38128
38293
  trialUntil?: string | null;
@@ -38189,6 +38354,12 @@ export interface operations {
38189
38354
  }[];
38190
38355
  };
38191
38356
  } | null;
38357
+ enabledFeatures?: {
38358
+ /** Format: uuid */
38359
+ featureId: string;
38360
+ /** @enum {string} */
38361
+ status: "all" | "disabled" | "partially";
38362
+ }[];
38192
38363
  };
38193
38364
  };
38194
38365
  };
@@ -38706,6 +38877,9 @@ export interface operations {
38706
38877
  status: "active" | "inactive" | "deleted" | "onboarding";
38707
38878
  billingSubscriptionStatus?: string | null;
38708
38879
  billingPlan?: string | null;
38880
+ billingPaymentMethodType?: string | null;
38881
+ billingCustomerId?: string | null;
38882
+ colorPrimary?: string | null;
38709
38883
  createdAt?: string | null;
38710
38884
  updatedAt?: string | null;
38711
38885
  trialUntil?: string | null;
@@ -38772,6 +38946,12 @@ export interface operations {
38772
38946
  }[];
38773
38947
  };
38774
38948
  } | null;
38949
+ enabledFeatures?: {
38950
+ /** Format: uuid */
38951
+ featureId: string;
38952
+ /** @enum {string} */
38953
+ status: "all" | "disabled" | "partially";
38954
+ }[];
38775
38955
  };
38776
38956
  };
38777
38957
  };
@@ -38937,6 +39117,9 @@ export interface operations {
38937
39117
  status: "active" | "inactive" | "deleted" | "onboarding";
38938
39118
  billingSubscriptionStatus?: string | null;
38939
39119
  billingPlan?: string | null;
39120
+ billingPaymentMethodType?: string | null;
39121
+ billingCustomerId?: string | null;
39122
+ colorPrimary?: string | null;
38940
39123
  createdAt?: string | null;
38941
39124
  updatedAt?: string | null;
38942
39125
  trialUntil?: string | null;
@@ -39003,6 +39186,12 @@ export interface operations {
39003
39186
  }[];
39004
39187
  };
39005
39188
  } | null;
39189
+ enabledFeatures?: {
39190
+ /** Format: uuid */
39191
+ featureId: string;
39192
+ /** @enum {string} */
39193
+ status: "all" | "disabled" | "partially";
39194
+ }[];
39006
39195
  };
39007
39196
  };
39008
39197
  };
@@ -39121,8 +39310,13 @@ export interface operations {
39121
39310
  /** Format: uuid */
39122
39311
  id: string;
39123
39312
  title: string;
39124
- /** Format: uuid */
39125
- categoryId: string;
39313
+ category: {
39314
+ /** Format: uuid */
39315
+ id: string;
39316
+ name: string;
39317
+ /** @enum {string} */
39318
+ classification: "asset" | "liability" | "revenue" | "expense";
39319
+ };
39126
39320
  type: string;
39127
39321
  status?: string | null;
39128
39322
  }[];
@@ -40810,6 +41004,9 @@ export interface operations {
40810
41004
  status: "active" | "inactive" | "deleted" | "onboarding";
40811
41005
  billingSubscriptionStatus?: string | null;
40812
41006
  billingPlan?: string | null;
41007
+ billingPaymentMethodType?: string | null;
41008
+ billingCustomerId?: string | null;
41009
+ colorPrimary?: string | null;
40813
41010
  createdAt?: string | null;
40814
41011
  updatedAt?: string | null;
40815
41012
  trialUntil?: string | null;
@@ -40876,6 +41073,12 @@ export interface operations {
40876
41073
  }[];
40877
41074
  };
40878
41075
  } | null;
41076
+ enabledFeatures?: {
41077
+ /** Format: uuid */
41078
+ featureId: string;
41079
+ /** @enum {string} */
41080
+ status: "all" | "disabled" | "partially";
41081
+ }[];
40879
41082
  };
40880
41083
  };
40881
41084
  };
@@ -41098,6 +41301,9 @@ export interface operations {
41098
41301
  status: "active" | "inactive" | "deleted" | "onboarding";
41099
41302
  billingSubscriptionStatus?: string | null;
41100
41303
  billingPlan?: string | null;
41304
+ billingPaymentMethodType?: string | null;
41305
+ billingCustomerId?: string | null;
41306
+ colorPrimary?: string | null;
41101
41307
  createdAt?: string | null;
41102
41308
  updatedAt?: string | null;
41103
41309
  trialUntil?: string | null;
@@ -41164,6 +41370,12 @@ export interface operations {
41164
41370
  }[];
41165
41371
  };
41166
41372
  } | null;
41373
+ enabledFeatures?: {
41374
+ /** Format: uuid */
41375
+ featureId: string;
41376
+ /** @enum {string} */
41377
+ status: "all" | "disabled" | "partially";
41378
+ }[];
41167
41379
  };
41168
41380
  };
41169
41381
  };
@@ -41656,6 +41868,9 @@ export interface operations {
41656
41868
  status: "active" | "inactive" | "deleted" | "onboarding";
41657
41869
  billingSubscriptionStatus?: string | null;
41658
41870
  billingPlan?: string | null;
41871
+ billingPaymentMethodType?: string | null;
41872
+ billingCustomerId?: string | null;
41873
+ colorPrimary?: string | null;
41659
41874
  createdAt?: string | null;
41660
41875
  updatedAt?: string | null;
41661
41876
  trialUntil?: string | null;
@@ -41722,6 +41937,12 @@ export interface operations {
41722
41937
  }[];
41723
41938
  };
41724
41939
  } | null;
41940
+ enabledFeatures?: {
41941
+ /** Format: uuid */
41942
+ featureId: string;
41943
+ /** @enum {string} */
41944
+ status: "all" | "disabled" | "partially";
41945
+ }[];
41725
41946
  };
41726
41947
  };
41727
41948
  };