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