@vrplatform/api 1.3.1-stage.2437 → 1.3.1-stage.2439

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.2437",
6
+ "version": "1.3.1-stage.2439",
7
7
  "description": "",
8
8
  "main": "build/main/index.js",
9
9
  "module": "build/module/index.js",
@@ -2944,6 +2944,24 @@ export interface paths {
2944
2944
  patch?: never;
2945
2945
  trace?: never;
2946
2946
  };
2947
+ "/teams/opening-balances/operating": {
2948
+ parameters: {
2949
+ query?: never;
2950
+ header?: never;
2951
+ path?: never;
2952
+ cookie?: never;
2953
+ };
2954
+ /** @description Retrieve operating opening trial balance */
2955
+ get: operations["getTeamsOpeningBalancesOperating"];
2956
+ /** @description Update operating opening trial balance */
2957
+ put: operations["putTeamsOpeningBalancesOperating"];
2958
+ post?: never;
2959
+ delete?: never;
2960
+ options?: never;
2961
+ head?: never;
2962
+ patch?: never;
2963
+ trace?: never;
2964
+ };
2947
2965
  "/teams/opening-balances/other": {
2948
2966
  parameters: {
2949
2967
  query?: never;
@@ -40816,6 +40834,265 @@ export interface operations {
40816
40834
  };
40817
40835
  };
40818
40836
  };
40837
+ getTeamsOpeningBalancesOperating: {
40838
+ parameters: {
40839
+ query?: never;
40840
+ header?: never;
40841
+ path?: never;
40842
+ cookie?: never;
40843
+ };
40844
+ requestBody?: never;
40845
+ responses: {
40846
+ /** @description Successful response */
40847
+ 200: {
40848
+ headers: {
40849
+ [name: string]: unknown;
40850
+ };
40851
+ content: {
40852
+ "application/json": {
40853
+ glStartAt: string;
40854
+ openingDate: string;
40855
+ locked: boolean;
40856
+ lockReasons: string[];
40857
+ accounts: {
40858
+ /** Format: uuid */
40859
+ accountId: string;
40860
+ name: string;
40861
+ /** @enum {string} */
40862
+ classification: "asset" | "liability" | "revenue" | "expense";
40863
+ /** @enum {string} */
40864
+ type: "ledger" | "bank";
40865
+ /** @description Value in cents (100 = 1€) */
40866
+ centTotal: number;
40867
+ updatedAt?: string | null;
40868
+ }[];
40869
+ assignment: {
40870
+ /** Format: uuid */
40871
+ accountId: string;
40872
+ name: string;
40873
+ /** @description Value in cents (100 = 1€) */
40874
+ centTotal: number;
40875
+ };
40876
+ };
40877
+ };
40878
+ };
40879
+ /** @description Bad request */
40880
+ 400: {
40881
+ headers: {
40882
+ [name: string]: unknown;
40883
+ };
40884
+ content: {
40885
+ "application/json": {
40886
+ code: string;
40887
+ message: string;
40888
+ issues?: {
40889
+ message: string;
40890
+ }[];
40891
+ context?: unknown;
40892
+ };
40893
+ };
40894
+ };
40895
+ /** @description Unauthorized */
40896
+ 401: {
40897
+ headers: {
40898
+ [name: string]: unknown;
40899
+ };
40900
+ content: {
40901
+ "application/json": {
40902
+ code: string;
40903
+ message: string;
40904
+ issues?: {
40905
+ message: string;
40906
+ }[];
40907
+ context?: unknown;
40908
+ };
40909
+ };
40910
+ };
40911
+ /** @description Forbidden */
40912
+ 403: {
40913
+ headers: {
40914
+ [name: string]: unknown;
40915
+ };
40916
+ content: {
40917
+ "application/json": {
40918
+ code: string;
40919
+ message: string;
40920
+ issues?: {
40921
+ message: string;
40922
+ }[];
40923
+ context?: unknown;
40924
+ };
40925
+ };
40926
+ };
40927
+ /** @description Not found */
40928
+ 404: {
40929
+ headers: {
40930
+ [name: string]: unknown;
40931
+ };
40932
+ content: {
40933
+ "application/json": {
40934
+ code: string;
40935
+ message: string;
40936
+ issues?: {
40937
+ message: string;
40938
+ }[];
40939
+ context?: unknown;
40940
+ };
40941
+ };
40942
+ };
40943
+ /** @description Internal server error */
40944
+ 500: {
40945
+ headers: {
40946
+ [name: string]: unknown;
40947
+ };
40948
+ content: {
40949
+ "application/json": {
40950
+ code: string;
40951
+ message: string;
40952
+ issues?: {
40953
+ message: string;
40954
+ }[];
40955
+ context?: unknown;
40956
+ };
40957
+ };
40958
+ };
40959
+ };
40960
+ };
40961
+ putTeamsOpeningBalancesOperating: {
40962
+ parameters: {
40963
+ query?: never;
40964
+ header?: never;
40965
+ path?: never;
40966
+ cookie?: never;
40967
+ };
40968
+ requestBody?: {
40969
+ content: {
40970
+ "application/json": {
40971
+ accounts: {
40972
+ /** Format: uuid */
40973
+ accountId: string;
40974
+ /** @description Value in cents (100 = 1€) */
40975
+ centTotal: number;
40976
+ }[];
40977
+ };
40978
+ };
40979
+ };
40980
+ responses: {
40981
+ /** @description Successful response */
40982
+ 200: {
40983
+ headers: {
40984
+ [name: string]: unknown;
40985
+ };
40986
+ content: {
40987
+ "application/json": {
40988
+ glStartAt: string;
40989
+ openingDate: string;
40990
+ locked: boolean;
40991
+ lockReasons: string[];
40992
+ accounts: {
40993
+ /** Format: uuid */
40994
+ accountId: string;
40995
+ name: string;
40996
+ /** @enum {string} */
40997
+ classification: "asset" | "liability" | "revenue" | "expense";
40998
+ /** @enum {string} */
40999
+ type: "ledger" | "bank";
41000
+ /** @description Value in cents (100 = 1€) */
41001
+ centTotal: number;
41002
+ updatedAt?: string | null;
41003
+ }[];
41004
+ assignment: {
41005
+ /** Format: uuid */
41006
+ accountId: string;
41007
+ name: string;
41008
+ /** @description Value in cents (100 = 1€) */
41009
+ centTotal: number;
41010
+ };
41011
+ };
41012
+ };
41013
+ };
41014
+ /** @description Bad request */
41015
+ 400: {
41016
+ headers: {
41017
+ [name: string]: unknown;
41018
+ };
41019
+ content: {
41020
+ "application/json": {
41021
+ code: string;
41022
+ message: string;
41023
+ issues?: {
41024
+ message: string;
41025
+ }[];
41026
+ context?: unknown;
41027
+ };
41028
+ };
41029
+ };
41030
+ /** @description Unauthorized */
41031
+ 401: {
41032
+ headers: {
41033
+ [name: string]: unknown;
41034
+ };
41035
+ content: {
41036
+ "application/json": {
41037
+ code: string;
41038
+ message: string;
41039
+ issues?: {
41040
+ message: string;
41041
+ }[];
41042
+ context?: unknown;
41043
+ };
41044
+ };
41045
+ };
41046
+ /** @description Forbidden */
41047
+ 403: {
41048
+ headers: {
41049
+ [name: string]: unknown;
41050
+ };
41051
+ content: {
41052
+ "application/json": {
41053
+ code: string;
41054
+ message: string;
41055
+ issues?: {
41056
+ message: string;
41057
+ }[];
41058
+ context?: unknown;
41059
+ };
41060
+ };
41061
+ };
41062
+ /** @description Not found */
41063
+ 404: {
41064
+ headers: {
41065
+ [name: string]: unknown;
41066
+ };
41067
+ content: {
41068
+ "application/json": {
41069
+ code: string;
41070
+ message: string;
41071
+ issues?: {
41072
+ message: string;
41073
+ }[];
41074
+ context?: unknown;
41075
+ };
41076
+ };
41077
+ };
41078
+ /** @description Internal server error */
41079
+ 500: {
41080
+ headers: {
41081
+ [name: string]: unknown;
41082
+ };
41083
+ content: {
41084
+ "application/json": {
41085
+ code: string;
41086
+ message: string;
41087
+ issues?: {
41088
+ message: string;
41089
+ }[];
41090
+ context?: unknown;
41091
+ };
41092
+ };
41093
+ };
41094
+ };
41095
+ };
40819
41096
  getTeamsOpeningBalancesOther: {
40820
41097
  parameters: {
40821
41098
  query?: never;