@vrplatform/api 1.3.1-2397 → 1.3.1-2423

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.
@@ -21,6 +21,23 @@ export interface paths {
21
21
  patch?: never;
22
22
  trace?: never;
23
23
  };
24
+ "/accounts/categories": {
25
+ parameters: {
26
+ query?: never;
27
+ header?: never;
28
+ path?: never;
29
+ cookie?: never;
30
+ };
31
+ /** @description List account categories */
32
+ get: operations["getAccountsCategories"];
33
+ put?: never;
34
+ post?: never;
35
+ delete?: never;
36
+ options?: never;
37
+ head?: never;
38
+ patch?: never;
39
+ trace?: never;
40
+ };
24
41
  "/accounts/csv": {
25
42
  parameters: {
26
43
  query?: never;
@@ -278,6 +295,23 @@ export interface paths {
278
295
  patch?: never;
279
296
  trace?: never;
280
297
  };
298
+ "/bank-accounts": {
299
+ parameters: {
300
+ query?: never;
301
+ header?: never;
302
+ path?: never;
303
+ cookie?: never;
304
+ };
305
+ /** @description List bank accounts for the current team */
306
+ get: operations["getBankAccounts"];
307
+ put?: never;
308
+ post?: never;
309
+ delete?: never;
310
+ options?: never;
311
+ head?: never;
312
+ patch?: never;
313
+ trace?: never;
314
+ };
281
315
  "/bank-accounts/batch": {
282
316
  parameters: {
283
317
  query?: never;
@@ -3819,6 +3853,112 @@ export interface operations {
3819
3853
  };
3820
3854
  };
3821
3855
  };
3856
+ getAccountsCategories: {
3857
+ parameters: {
3858
+ query?: never;
3859
+ header?: never;
3860
+ path?: never;
3861
+ cookie?: never;
3862
+ };
3863
+ requestBody?: never;
3864
+ responses: {
3865
+ /** @description Successful response */
3866
+ 200: {
3867
+ headers: {
3868
+ [name: string]: unknown;
3869
+ };
3870
+ content: {
3871
+ "application/json": {
3872
+ data: {
3873
+ id: string;
3874
+ name: string;
3875
+ classification?: ("asset" | "liability" | "revenue" | "expense") | null;
3876
+ }[];
3877
+ };
3878
+ };
3879
+ };
3880
+ /** @description Bad request */
3881
+ 400: {
3882
+ headers: {
3883
+ [name: string]: unknown;
3884
+ };
3885
+ content: {
3886
+ "application/json": {
3887
+ code: string;
3888
+ message: string;
3889
+ issues?: {
3890
+ message: string;
3891
+ }[];
3892
+ context?: unknown;
3893
+ };
3894
+ };
3895
+ };
3896
+ /** @description Unauthorized */
3897
+ 401: {
3898
+ headers: {
3899
+ [name: string]: unknown;
3900
+ };
3901
+ content: {
3902
+ "application/json": {
3903
+ code: string;
3904
+ message: string;
3905
+ issues?: {
3906
+ message: string;
3907
+ }[];
3908
+ context?: unknown;
3909
+ };
3910
+ };
3911
+ };
3912
+ /** @description Forbidden */
3913
+ 403: {
3914
+ headers: {
3915
+ [name: string]: unknown;
3916
+ };
3917
+ content: {
3918
+ "application/json": {
3919
+ code: string;
3920
+ message: string;
3921
+ issues?: {
3922
+ message: string;
3923
+ }[];
3924
+ context?: unknown;
3925
+ };
3926
+ };
3927
+ };
3928
+ /** @description Not found */
3929
+ 404: {
3930
+ headers: {
3931
+ [name: string]: unknown;
3932
+ };
3933
+ content: {
3934
+ "application/json": {
3935
+ code: string;
3936
+ message: string;
3937
+ issues?: {
3938
+ message: string;
3939
+ }[];
3940
+ context?: unknown;
3941
+ };
3942
+ };
3943
+ };
3944
+ /** @description Internal server error */
3945
+ 500: {
3946
+ headers: {
3947
+ [name: string]: unknown;
3948
+ };
3949
+ content: {
3950
+ "application/json": {
3951
+ code: string;
3952
+ message: string;
3953
+ issues?: {
3954
+ message: string;
3955
+ }[];
3956
+ context?: unknown;
3957
+ };
3958
+ };
3959
+ };
3960
+ };
3961
+ };
3822
3962
  getAccountsCsv: {
3823
3963
  parameters: {
3824
3964
  query?: {
@@ -6917,6 +7057,148 @@ export interface operations {
6917
7057
  };
6918
7058
  };
6919
7059
  };
7060
+ getBankAccounts: {
7061
+ parameters: {
7062
+ query?: {
7063
+ status?: "active" | "inactive";
7064
+ connectionId?: string;
7065
+ search?: string;
7066
+ };
7067
+ header?: never;
7068
+ path?: never;
7069
+ cookie?: never;
7070
+ };
7071
+ requestBody?: never;
7072
+ responses: {
7073
+ /** @description Successful response */
7074
+ 200: {
7075
+ headers: {
7076
+ [name: string]: unknown;
7077
+ };
7078
+ content: {
7079
+ "application/json": {
7080
+ data: {
7081
+ /** Format: uuid */
7082
+ id: string;
7083
+ name?: string | null;
7084
+ type?: ("deposit" | "creditCard") | null;
7085
+ category?: ("trust" | "operating" | "external") | null;
7086
+ uniqueRef?: string | null;
7087
+ currency?: string | null;
7088
+ lastDigits?: string | null;
7089
+ /** @enum {string} */
7090
+ status: "active" | "inactive";
7091
+ startDate?: string | null;
7092
+ account?: {
7093
+ id: string;
7094
+ name: string;
7095
+ uniqueRef?: string | null;
7096
+ /** @enum {string} */
7097
+ status: "active" | "inactive";
7098
+ } | null;
7099
+ connection?: {
7100
+ /** Format: uuid */
7101
+ id: string;
7102
+ name: string;
7103
+ /** @enum {string} */
7104
+ status: "active" | "inactive";
7105
+ uniqueRef?: string | null;
7106
+ appId: string;
7107
+ } | null;
7108
+ source?: {
7109
+ /** Format: uuid */
7110
+ id: string;
7111
+ type: string;
7112
+ status?: ("active" | "inactive") | null;
7113
+ appId?: string | null;
7114
+ appIcon?: string | null;
7115
+ } | null;
7116
+ }[];
7117
+ };
7118
+ };
7119
+ };
7120
+ /** @description Bad request */
7121
+ 400: {
7122
+ headers: {
7123
+ [name: string]: unknown;
7124
+ };
7125
+ content: {
7126
+ "application/json": {
7127
+ code: string;
7128
+ message: string;
7129
+ issues?: {
7130
+ message: string;
7131
+ }[];
7132
+ context?: unknown;
7133
+ };
7134
+ };
7135
+ };
7136
+ /** @description Unauthorized */
7137
+ 401: {
7138
+ headers: {
7139
+ [name: string]: unknown;
7140
+ };
7141
+ content: {
7142
+ "application/json": {
7143
+ code: string;
7144
+ message: string;
7145
+ issues?: {
7146
+ message: string;
7147
+ }[];
7148
+ context?: unknown;
7149
+ };
7150
+ };
7151
+ };
7152
+ /** @description Forbidden */
7153
+ 403: {
7154
+ headers: {
7155
+ [name: string]: unknown;
7156
+ };
7157
+ content: {
7158
+ "application/json": {
7159
+ code: string;
7160
+ message: string;
7161
+ issues?: {
7162
+ message: string;
7163
+ }[];
7164
+ context?: unknown;
7165
+ };
7166
+ };
7167
+ };
7168
+ /** @description Not found */
7169
+ 404: {
7170
+ headers: {
7171
+ [name: string]: unknown;
7172
+ };
7173
+ content: {
7174
+ "application/json": {
7175
+ code: string;
7176
+ message: string;
7177
+ issues?: {
7178
+ message: string;
7179
+ }[];
7180
+ context?: unknown;
7181
+ };
7182
+ };
7183
+ };
7184
+ /** @description Internal server error */
7185
+ 500: {
7186
+ headers: {
7187
+ [name: string]: unknown;
7188
+ };
7189
+ content: {
7190
+ "application/json": {
7191
+ code: string;
7192
+ message: string;
7193
+ issues?: {
7194
+ message: string;
7195
+ }[];
7196
+ context?: unknown;
7197
+ };
7198
+ };
7199
+ };
7200
+ };
7201
+ };
6920
7202
  batchBankAccounts: {
6921
7203
  parameters: {
6922
7204
  query?: never;
@@ -7223,7 +7505,7 @@ export interface operations {
7223
7505
  includeMatchingTransactions?: string;
7224
7506
  hasMatchingTransactions?: boolean;
7225
7507
  reservationLineFilter?: "all" | "reservationOnly" | "nonReservationOnly";
7226
- sort?: "created_desc" | "created_asc" | "amount_desc" | "amount_asc";
7508
+ sort?: "created_desc" | "created_asc" | "amount_desc" | "amount_asc" | "matched_desc" | "matched_asc";
7227
7509
  limit?: number;
7228
7510
  page?: number;
7229
7511
  };
@@ -7664,7 +7946,7 @@ export interface operations {
7664
7946
  includeMatchingTransactions?: string;
7665
7947
  hasMatchingTransactions?: boolean;
7666
7948
  reservationLineFilter?: "all" | "reservationOnly" | "nonReservationOnly";
7667
- sort?: "created_desc" | "created_asc" | "amount_desc" | "amount_asc";
7949
+ sort?: "created_desc" | "created_asc" | "amount_desc" | "amount_asc" | "matched_desc" | "matched_asc";
7668
7950
  };
7669
7951
  header?: never;
7670
7952
  path?: never;
@@ -10058,6 +10340,7 @@ export interface operations {
10058
10340
  isErrorState?: boolean;
10059
10341
  currentSyncStatus?: "queued" | "started" | "completed" | "failed" | "canceled";
10060
10342
  search?: string;
10343
+ hasSynced?: "deposits" | "expenses" | "reservations" | "listings" | "contacts";
10061
10344
  limit?: number;
10062
10345
  page?: number;
10063
10346
  };
@@ -23327,6 +23610,7 @@ export interface operations {
23327
23610
  guestName: string;
23328
23611
  confirmationCode: string;
23329
23612
  nights: number;
23613
+ transactionReferenceId: string | null;
23330
23614
  transactionDate: string | null;
23331
23615
  transactionDescription: string | null;
23332
23616
  total: number;