@vrplatform/api 1.3.1-stage.2410 → 1.3.1-stage.2412
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;
|
|
@@ -3836,6 +3853,112 @@ export interface operations {
|
|
|
3836
3853
|
};
|
|
3837
3854
|
};
|
|
3838
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
|
+
};
|
|
3839
3962
|
getAccountsCsv: {
|
|
3840
3963
|
parameters: {
|
|
3841
3964
|
query?: {
|
|
@@ -7382,7 +7505,7 @@ export interface operations {
|
|
|
7382
7505
|
includeMatchingTransactions?: string;
|
|
7383
7506
|
hasMatchingTransactions?: boolean;
|
|
7384
7507
|
reservationLineFilter?: "all" | "reservationOnly" | "nonReservationOnly";
|
|
7385
|
-
sort?: "created_desc" | "created_asc" | "amount_desc" | "amount_asc";
|
|
7508
|
+
sort?: "created_desc" | "created_asc" | "amount_desc" | "amount_asc" | "matched_desc" | "matched_asc";
|
|
7386
7509
|
limit?: number;
|
|
7387
7510
|
page?: number;
|
|
7388
7511
|
};
|
|
@@ -7823,7 +7946,7 @@ export interface operations {
|
|
|
7823
7946
|
includeMatchingTransactions?: string;
|
|
7824
7947
|
hasMatchingTransactions?: boolean;
|
|
7825
7948
|
reservationLineFilter?: "all" | "reservationOnly" | "nonReservationOnly";
|
|
7826
|
-
sort?: "created_desc" | "created_asc" | "amount_desc" | "amount_asc";
|
|
7949
|
+
sort?: "created_desc" | "created_asc" | "amount_desc" | "amount_asc" | "matched_desc" | "matched_asc";
|
|
7827
7950
|
};
|
|
7828
7951
|
header?: never;
|
|
7829
7952
|
path?: never;
|