@vrplatform/api 1.3.1-stage.2453 → 1.3.1-stage.2456

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.
@@ -2925,17 +2925,17 @@ export interface paths {
2925
2925
  patch?: never;
2926
2926
  trace?: never;
2927
2927
  };
2928
- "/teams/opening-balances/operating": {
2928
+ "/teams/opening-balances/tax-payable": {
2929
2929
  parameters: {
2930
2930
  query?: never;
2931
2931
  header?: never;
2932
2932
  path?: never;
2933
2933
  cookie?: never;
2934
2934
  };
2935
- /** @description Retrieve operating opening trial balance */
2936
- get: operations["getTeamsOpeningBalancesOperating"];
2937
- /** @description Update operating opening trial balance */
2938
- put: operations["putTeamsOpeningBalancesOperating"];
2935
+ /** @description Retrieve opening balance tax payable summary */
2936
+ get: operations["getTeamsOpeningBalancesTaxPayable"];
2937
+ /** @description Update opening balance tax payable */
2938
+ put: operations["putTeamsOpeningBalancesTaxPayable"];
2939
2939
  post?: never;
2940
2940
  delete?: never;
2941
2941
  options?: never;
@@ -2943,17 +2943,33 @@ export interface paths {
2943
2943
  patch?: never;
2944
2944
  trace?: never;
2945
2945
  };
2946
- "/teams/opening-balances/tax-payable": {
2946
+ "/teams/opening-trial-balance": {
2947
2947
  parameters: {
2948
2948
  query?: never;
2949
2949
  header?: never;
2950
2950
  path?: never;
2951
2951
  cookie?: never;
2952
2952
  };
2953
- /** @description Retrieve opening balance tax payable summary */
2954
- get: operations["getTeamsOpeningBalancesTaxPayable"];
2955
- /** @description Update opening balance tax payable */
2956
- put: operations["putTeamsOpeningBalancesTaxPayable"];
2953
+ /** @description Retrieve opening trial balance */
2954
+ get: operations["getTeamsOpeningTrialBalance"];
2955
+ put?: never;
2956
+ post?: never;
2957
+ delete?: never;
2958
+ options?: never;
2959
+ head?: never;
2960
+ patch?: never;
2961
+ trace?: never;
2962
+ };
2963
+ "/teams/opening-trial-balance/manual": {
2964
+ parameters: {
2965
+ query?: never;
2966
+ header?: never;
2967
+ path?: never;
2968
+ cookie?: never;
2969
+ };
2970
+ get?: never;
2971
+ /** @description Update manual opening trial balance */
2972
+ put: operations["putTeamsOpeningTrialBalanceManual"];
2957
2973
  post?: never;
2958
2974
  delete?: never;
2959
2975
  options?: never;
@@ -40564,7 +40580,7 @@ export interface operations {
40564
40580
  };
40565
40581
  };
40566
40582
  };
40567
- getTeamsOpeningBalancesOperating: {
40583
+ getTeamsOpeningBalancesTaxPayable: {
40568
40584
  parameters: {
40569
40585
  query?: never;
40570
40586
  header?: never;
@@ -40580,29 +40596,12 @@ export interface operations {
40580
40596
  };
40581
40597
  content: {
40582
40598
  "application/json": {
40583
- glStartAt: string;
40584
- openingDate: string;
40585
- locked: boolean;
40586
- lockReasons: string[];
40587
- accounts: {
40588
- /** Format: uuid */
40589
- accountId: string;
40590
- name: string;
40591
- /** @enum {string} */
40592
- classification: "asset" | "liability" | "revenue" | "expense";
40593
- /** @enum {string} */
40594
- type: "ledger" | "bank";
40595
- /** @description Value in cents (100 = 1€) */
40596
- centTotal: number;
40597
- updatedAt?: string | null;
40598
- }[];
40599
- assignment: {
40600
- /** Format: uuid */
40601
- accountId: string;
40602
- name: string;
40603
- /** @description Value in cents (100 = 1€) */
40604
- centTotal: number;
40605
- };
40599
+ /** @description Value in cents (100 = 1€) */
40600
+ amount: number;
40601
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
40602
+ currency: string;
40603
+ updatedAt?: string | null;
40604
+ transactionId?: string | null;
40606
40605
  };
40607
40606
  };
40608
40607
  };
@@ -40688,7 +40687,7 @@ export interface operations {
40688
40687
  };
40689
40688
  };
40690
40689
  };
40691
- putTeamsOpeningBalancesOperating: {
40690
+ putTeamsOpeningBalancesTaxPayable: {
40692
40691
  parameters: {
40693
40692
  query?: never;
40694
40693
  header?: never;
@@ -40698,12 +40697,9 @@ export interface operations {
40698
40697
  requestBody?: {
40699
40698
  content: {
40700
40699
  "application/json": {
40701
- accounts: {
40702
- /** Format: uuid */
40703
- accountId: string;
40704
- /** @description Value in cents (100 = 1€) */
40705
- centTotal: number;
40706
- }[];
40700
+ /** @description Value in cents (100 = 1€) */
40701
+ amount: number;
40702
+ currency?: string | null;
40707
40703
  };
40708
40704
  };
40709
40705
  };
@@ -40715,29 +40711,12 @@ export interface operations {
40715
40711
  };
40716
40712
  content: {
40717
40713
  "application/json": {
40718
- glStartAt: string;
40719
- openingDate: string;
40720
- locked: boolean;
40721
- lockReasons: string[];
40722
- accounts: {
40723
- /** Format: uuid */
40724
- accountId: string;
40725
- name: string;
40726
- /** @enum {string} */
40727
- classification: "asset" | "liability" | "revenue" | "expense";
40728
- /** @enum {string} */
40729
- type: "ledger" | "bank";
40730
- /** @description Value in cents (100 = 1€) */
40731
- centTotal: number;
40732
- updatedAt?: string | null;
40733
- }[];
40734
- assignment: {
40735
- /** Format: uuid */
40736
- accountId: string;
40737
- name: string;
40738
- /** @description Value in cents (100 = 1€) */
40739
- centTotal: number;
40740
- };
40714
+ /** @description Value in cents (100 = 1€) */
40715
+ amount: number;
40716
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
40717
+ currency: string;
40718
+ updatedAt?: string | null;
40719
+ transactionId?: string | null;
40741
40720
  };
40742
40721
  };
40743
40722
  };
@@ -40823,7 +40802,7 @@ export interface operations {
40823
40802
  };
40824
40803
  };
40825
40804
  };
40826
- getTeamsOpeningBalancesTaxPayable: {
40805
+ getTeamsOpeningTrialBalance: {
40827
40806
  parameters: {
40828
40807
  query?: never;
40829
40808
  header?: never;
@@ -40839,12 +40818,51 @@ export interface operations {
40839
40818
  };
40840
40819
  content: {
40841
40820
  "application/json": {
40842
- /** @description Value in cents (100 = 1€) */
40843
- amount: number;
40844
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
40845
- currency: string;
40846
- updatedAt?: string | null;
40847
- transactionId?: string | null;
40821
+ glStartAt: string;
40822
+ openingDate: string;
40823
+ source: {
40824
+ /** @enum {string} */
40825
+ mode: "manual" | "csv" | "quickbooks" | "none";
40826
+ editable: boolean;
40827
+ lastUpdatedAt?: string | null;
40828
+ /** Format: uuid */
40829
+ externalConnectionId?: string;
40830
+ };
40831
+ locked: boolean;
40832
+ lockReasons: string[];
40833
+ rows: {
40834
+ /** Format: uuid */
40835
+ accountId: string;
40836
+ accountName: string;
40837
+ /** @enum {string} */
40838
+ classification: "asset" | "liability" | "revenue" | "expense";
40839
+ /** @enum {string} */
40840
+ type: "ledger" | "bank";
40841
+ /** @description Value in cents (100 = 1€) */
40842
+ combinedCentTotal: number;
40843
+ /** @description Value in cents (100 = 1€) */
40844
+ trustCentTotal: number;
40845
+ /** @description Value in cents (100 = 1€) */
40846
+ operatingCentTotal: number;
40847
+ editable: boolean;
40848
+ }[];
40849
+ assignment: {
40850
+ /** Format: uuid */
40851
+ accountId: string;
40852
+ accountName: string;
40853
+ /** @description Value in cents (100 = 1€) */
40854
+ combinedCentTotal: number;
40855
+ /** @description Value in cents (100 = 1€) */
40856
+ trustCentTotal: number;
40857
+ /** @description Value in cents (100 = 1€) */
40858
+ operatingCentTotal: number;
40859
+ };
40860
+ trustReversal: {
40861
+ /** @enum {string} */
40862
+ status: "not_created" | "active" | "locked";
40863
+ journalEntryIds: string[];
40864
+ lastRefreshedAt?: string | null;
40865
+ };
40848
40866
  };
40849
40867
  };
40850
40868
  };
@@ -40930,7 +40948,7 @@ export interface operations {
40930
40948
  };
40931
40949
  };
40932
40950
  };
40933
- putTeamsOpeningBalancesTaxPayable: {
40951
+ putTeamsOpeningTrialBalanceManual: {
40934
40952
  parameters: {
40935
40953
  query?: never;
40936
40954
  header?: never;
@@ -40940,9 +40958,12 @@ export interface operations {
40940
40958
  requestBody?: {
40941
40959
  content: {
40942
40960
  "application/json": {
40943
- /** @description Value in cents (100 = 1€) */
40944
- amount: number;
40945
- currency?: string | null;
40961
+ rows: {
40962
+ /** Format: uuid */
40963
+ accountId: string;
40964
+ /** @description Value in cents (100 = 1€) */
40965
+ combinedCentTotal: number;
40966
+ }[];
40946
40967
  };
40947
40968
  };
40948
40969
  };
@@ -40954,12 +40975,51 @@ export interface operations {
40954
40975
  };
40955
40976
  content: {
40956
40977
  "application/json": {
40957
- /** @description Value in cents (100 = 1€) */
40958
- amount: number;
40959
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
40960
- currency: string;
40961
- updatedAt?: string | null;
40962
- transactionId?: string | null;
40978
+ glStartAt: string;
40979
+ openingDate: string;
40980
+ source: {
40981
+ /** @enum {string} */
40982
+ mode: "manual" | "csv" | "quickbooks" | "none";
40983
+ editable: boolean;
40984
+ lastUpdatedAt?: string | null;
40985
+ /** Format: uuid */
40986
+ externalConnectionId?: string;
40987
+ };
40988
+ locked: boolean;
40989
+ lockReasons: string[];
40990
+ rows: {
40991
+ /** Format: uuid */
40992
+ accountId: string;
40993
+ accountName: string;
40994
+ /** @enum {string} */
40995
+ classification: "asset" | "liability" | "revenue" | "expense";
40996
+ /** @enum {string} */
40997
+ type: "ledger" | "bank";
40998
+ /** @description Value in cents (100 = 1€) */
40999
+ combinedCentTotal: number;
41000
+ /** @description Value in cents (100 = 1€) */
41001
+ trustCentTotal: number;
41002
+ /** @description Value in cents (100 = 1€) */
41003
+ operatingCentTotal: number;
41004
+ editable: boolean;
41005
+ }[];
41006
+ assignment: {
41007
+ /** Format: uuid */
41008
+ accountId: string;
41009
+ accountName: string;
41010
+ /** @description Value in cents (100 = 1€) */
41011
+ combinedCentTotal: number;
41012
+ /** @description Value in cents (100 = 1€) */
41013
+ trustCentTotal: number;
41014
+ /** @description Value in cents (100 = 1€) */
41015
+ operatingCentTotal: number;
41016
+ };
41017
+ trustReversal: {
41018
+ /** @enum {string} */
41019
+ status: "not_created" | "active" | "locked";
41020
+ journalEntryIds: string[];
41021
+ lastRefreshedAt?: string | null;
41022
+ };
40963
41023
  };
40964
41024
  };
40965
41025
  };