@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.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.3.1-stage.2410",
6
+ "version": "1.3.1-stage.2412",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -22,6 +22,23 @@ export interface paths {
22
22
  patch?: never;
23
23
  trace?: never;
24
24
  };
25
+ "/accounts/categories": {
26
+ parameters: {
27
+ query?: never;
28
+ header?: never;
29
+ path?: never;
30
+ cookie?: never;
31
+ };
32
+ /** @description List account categories */
33
+ get: operations["getAccountsCategories"];
34
+ put?: never;
35
+ post?: never;
36
+ delete?: never;
37
+ options?: never;
38
+ head?: never;
39
+ patch?: never;
40
+ trace?: never;
41
+ };
25
42
  "/accounts/csv": {
26
43
  parameters: {
27
44
  query?: never;
@@ -3837,6 +3854,112 @@ export interface operations {
3837
3854
  };
3838
3855
  };
3839
3856
  };
3857
+ getAccountsCategories: {
3858
+ parameters: {
3859
+ query?: never;
3860
+ header?: never;
3861
+ path?: never;
3862
+ cookie?: never;
3863
+ };
3864
+ requestBody?: never;
3865
+ responses: {
3866
+ /** @description Successful response */
3867
+ 200: {
3868
+ headers: {
3869
+ [name: string]: unknown;
3870
+ };
3871
+ content: {
3872
+ "application/json": {
3873
+ data: {
3874
+ id: string;
3875
+ name: string;
3876
+ classification?: ("asset" | "liability" | "revenue" | "expense") | null;
3877
+ }[];
3878
+ };
3879
+ };
3880
+ };
3881
+ /** @description Bad request */
3882
+ 400: {
3883
+ headers: {
3884
+ [name: string]: unknown;
3885
+ };
3886
+ content: {
3887
+ "application/json": {
3888
+ code: string;
3889
+ message: string;
3890
+ issues?: {
3891
+ message: string;
3892
+ }[];
3893
+ context?: unknown;
3894
+ };
3895
+ };
3896
+ };
3897
+ /** @description Unauthorized */
3898
+ 401: {
3899
+ headers: {
3900
+ [name: string]: unknown;
3901
+ };
3902
+ content: {
3903
+ "application/json": {
3904
+ code: string;
3905
+ message: string;
3906
+ issues?: {
3907
+ message: string;
3908
+ }[];
3909
+ context?: unknown;
3910
+ };
3911
+ };
3912
+ };
3913
+ /** @description Forbidden */
3914
+ 403: {
3915
+ headers: {
3916
+ [name: string]: unknown;
3917
+ };
3918
+ content: {
3919
+ "application/json": {
3920
+ code: string;
3921
+ message: string;
3922
+ issues?: {
3923
+ message: string;
3924
+ }[];
3925
+ context?: unknown;
3926
+ };
3927
+ };
3928
+ };
3929
+ /** @description Not found */
3930
+ 404: {
3931
+ headers: {
3932
+ [name: string]: unknown;
3933
+ };
3934
+ content: {
3935
+ "application/json": {
3936
+ code: string;
3937
+ message: string;
3938
+ issues?: {
3939
+ message: string;
3940
+ }[];
3941
+ context?: unknown;
3942
+ };
3943
+ };
3944
+ };
3945
+ /** @description Internal server error */
3946
+ 500: {
3947
+ headers: {
3948
+ [name: string]: unknown;
3949
+ };
3950
+ content: {
3951
+ "application/json": {
3952
+ code: string;
3953
+ message: string;
3954
+ issues?: {
3955
+ message: string;
3956
+ }[];
3957
+ context?: unknown;
3958
+ };
3959
+ };
3960
+ };
3961
+ };
3962
+ };
3840
3963
  getAccountsCsv: {
3841
3964
  parameters: {
3842
3965
  query?: {
@@ -7383,7 +7506,7 @@ export interface operations {
7383
7506
  includeMatchingTransactions?: string;
7384
7507
  hasMatchingTransactions?: boolean;
7385
7508
  reservationLineFilter?: "all" | "reservationOnly" | "nonReservationOnly";
7386
- sort?: "created_desc" | "created_asc" | "amount_desc" | "amount_asc";
7509
+ sort?: "created_desc" | "created_asc" | "amount_desc" | "amount_asc" | "matched_desc" | "matched_asc";
7387
7510
  limit?: number;
7388
7511
  page?: number;
7389
7512
  };
@@ -7824,7 +7947,7 @@ export interface operations {
7824
7947
  includeMatchingTransactions?: string;
7825
7948
  hasMatchingTransactions?: boolean;
7826
7949
  reservationLineFilter?: "all" | "reservationOnly" | "nonReservationOnly";
7827
- sort?: "created_desc" | "created_asc" | "amount_desc" | "amount_asc";
7950
+ sort?: "created_desc" | "created_asc" | "amount_desc" | "amount_asc" | "matched_desc" | "matched_asc";
7828
7951
  };
7829
7952
  header?: never;
7830
7953
  path?: never;