@goweekdays/core 2.13.0 → 2.14.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @goweekdays/core
2
2
 
3
+ ## 2.14.0
4
+
5
+ ### Minor Changes
6
+
7
+ - a604a6f: Initial release for finance journal and ledger
8
+
9
+ ### Patch Changes
10
+
11
+ - 29b0676: Add indexes, search and fields for journal lines
12
+
3
13
  ## 2.13.0
4
14
 
5
15
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -1754,7 +1754,10 @@ declare function useTaxController(): {
1754
1754
 
1755
1755
  type TChartOfAccountType = "asset" | "liability" | "equity" | "income" | "expense";
1756
1756
  type TChartOfAccountStatus = "active" | "inactive" | "archived";
1757
+ declare const chartOfAccountStatuses: TChartOfAccountStatus[];
1757
1758
  type TChartOfAccountNormalBalance = "debit" | "credit";
1759
+ type TChartOfAccountControlType = "AR" | "AP" | "inventory" | "fixed-asset" | "none";
1760
+ declare const chartOfAccountControlTypes: TChartOfAccountControlType[];
1758
1761
  type TChartOfAccount = {
1759
1762
  _id?: ObjectId;
1760
1763
  org: ObjectId;
@@ -1767,7 +1770,9 @@ type TChartOfAccount = {
1767
1770
  code: string;
1768
1771
  tax?: ObjectId;
1769
1772
  isContra: boolean;
1770
- status?: TChartOfAccountStatus;
1773
+ controlType: TChartOfAccountControlType;
1774
+ childrenCount?: number;
1775
+ status: TChartOfAccountStatus;
1771
1776
  createdAt?: Date | string;
1772
1777
  updatedAt?: Date | string;
1773
1778
  };
@@ -1787,6 +1792,8 @@ declare function useChartOfAccountRepo(): {
1787
1792
  page?: number;
1788
1793
  limit?: number;
1789
1794
  status?: string;
1795
+ type?: string;
1796
+ canPost?: boolean;
1790
1797
  }) => Promise<Record<string, any>>;
1791
1798
  getByOrg: ({ search, page, limit, org, status }?: {
1792
1799
  org: string | ObjectId;
@@ -1803,10 +1810,11 @@ declare function useChartOfAccountRepo(): {
1803
1810
  name: string;
1804
1811
  }[]>;
1805
1812
  getById: (_id: string | ObjectId) => Promise<TChartOfAccount>;
1806
- updateById: (_id: string | ObjectId, options: Partial<Omit<TChartOfAccount, "_id" | "org">>, session?: ClientSession) => Promise<string>;
1813
+ updateById: (_id: string | ObjectId, options: Pick<TChartOfAccount, "name" | "code" | "type" | "normalBalance" | "tax" | "isContra" | "parent" | "controlType">, session?: ClientSession) => Promise<string>;
1807
1814
  deleteById: (_id: string | ObjectId, session?: ClientSession) => Promise<string>;
1808
1815
  updateStatusById: (_id: string | ObjectId, status: string) => Promise<string>;
1809
1816
  countByPath: (path: string) => Promise<number>;
1817
+ updateChildrenCountById: (_id: string | ObjectId, increment: number, session?: ClientSession) => Promise<string>;
1810
1818
  };
1811
1819
 
1812
1820
  declare function useChartOfAccountController(): {
@@ -1819,65 +1827,66 @@ declare function useChartOfAccountController(): {
1819
1827
  updateStatusById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1820
1828
  };
1821
1829
 
1822
- type TJournalEntryStatus = "draft" | "posted" | "voided";
1823
- declare const journalEntryStatuses: TJournalEntryStatus[];
1824
- type TJournalEntryType = "general" | "sales" | "purchases" | "cash-receipts" | "cash-disbursements";
1825
- declare const journalEntryTypes: TJournalEntryType[];
1826
- type TJournalEntryMetadata = {
1827
- customerId: ObjectId | string;
1828
- supplierId: ObjectId | string;
1829
- itemId: ObjectId | string;
1830
- assetId: ObjectId | string;
1831
- purchaseOrderId: ObjectId | string;
1832
- salesOrderId: ObjectId | string;
1833
- };
1834
- type TJournalEntry = {
1830
+ type TJournalGeneralStatus = "draft" | "posted" | "voided";
1831
+ declare const JournalGeneralStatuses: TJournalGeneralStatus[];
1832
+ type TJournalGeneral = {
1835
1833
  _id?: ObjectId;
1836
1834
  id: string;
1837
- org: ObjectId;
1835
+ org: ObjectId | string;
1838
1836
  type: string;
1839
- book: TJournalEntryType;
1840
1837
  date: Date | string;
1841
1838
  description: string;
1842
- createdBy: ObjectId;
1839
+ createdBy: ObjectId | string;
1843
1840
  createdByName: string;
1844
- metadata: TJournalEntryMetadata;
1845
- status: TJournalEntryStatus;
1841
+ reversalDraft?: ObjectId | string;
1842
+ reversedEntry?: ObjectId | string;
1843
+ reversedEntryNumber?: string;
1844
+ reversedBy?: ObjectId | string;
1845
+ reversedByName?: string;
1846
+ status: TJournalGeneralStatus;
1846
1847
  postedAt?: Date | string;
1848
+ reversedAt?: Date | string;
1847
1849
  createdAt?: Date | string;
1848
1850
  updatedAt?: Date | string;
1849
1851
  };
1850
- declare const schemaJournalEntryCtrl: Joi.ObjectSchema<any>;
1851
- declare const schemaJournalEntryRepo: Joi.ObjectSchema<any>;
1852
- declare const schemaJournalEntryGetAll: Joi.ObjectSchema<any>;
1853
- declare function modelJournalEntry(data: TJournalEntry): TJournalEntry;
1852
+ declare const schemaJournalGeneralCtrl: Joi.ObjectSchema<any>;
1853
+ declare const schemaJournalGeneralRepo: Joi.ObjectSchema<any>;
1854
+ declare const schemaJournalGeneralRepoUpdate: Joi.ObjectSchema<any>;
1855
+ declare const schemaJournalGeneralGetAll: Joi.ObjectSchema<any>;
1856
+ declare function modelJournalGeneral(data: TJournalGeneral): TJournalGeneral;
1854
1857
 
1855
- declare function useJournalEntryRepo(): {
1856
- add: (value: TJournalEntry, session?: ClientSession) => Promise<ObjectId>;
1858
+ declare function useJournalGeneralRepo(): {
1859
+ createIndexes: () => Promise<void>;
1860
+ add: (value: TJournalGeneral, session?: ClientSession) => Promise<ObjectId>;
1857
1861
  getAll: (options: {
1858
1862
  org: ObjectId | string;
1859
1863
  search?: string;
1860
1864
  page?: number;
1861
1865
  limit?: number;
1862
- book: string;
1863
1866
  type: string;
1864
1867
  status?: string;
1865
1868
  }) => Promise<Record<string, any>>;
1866
- getById: (_id: string | ObjectId) => Promise<TJournalEntry>;
1867
- updateById: (_id: string | ObjectId, options: Partial<TJournalEntry>) => Promise<string>;
1869
+ getById: (_id: string | ObjectId) => Promise<TJournalGeneral>;
1870
+ updateById: (_id: string | ObjectId, options: Partial<TJournalGeneral>, session?: ClientSession) => Promise<string>;
1868
1871
  deleteById: (_id: string | ObjectId, session?: ClientSession) => Promise<string>;
1869
- updateStatusById: (_id: string | ObjectId, status: string) => Promise<string>;
1872
+ updateStatusById: (_id: string | ObjectId, status: string, session?: ClientSession) => Promise<string>;
1870
1873
  };
1871
1874
 
1875
+ type TJournalLineStatus = "draft" | "posted" | "voided";
1876
+ declare const journalLineStatuses: TJournalLineStatus[];
1872
1877
  type TJournalLine = {
1873
1878
  _id?: ObjectId;
1874
- org: ObjectId;
1879
+ org: ObjectId | string;
1875
1880
  journalEntry: ObjectId | string;
1876
- account: ObjectId;
1881
+ journalNumber: string;
1882
+ account: ObjectId | string;
1877
1883
  accountName: string;
1884
+ accountCode: string;
1878
1885
  debit: number;
1879
1886
  credit: number;
1880
1887
  postReference?: string;
1888
+ particulars: string;
1889
+ status: TJournalLineStatus;
1881
1890
  createdAt?: Date | string;
1882
1891
  updatedAt?: Date | string;
1883
1892
  };
@@ -1885,11 +1894,78 @@ declare const schemaJournalLineCtrl: Joi.ObjectSchema<any>;
1885
1894
  declare const schemaJournalLineRepo: Joi.ObjectSchema<any>;
1886
1895
  declare function modelJournalLine(data: TJournalLine): TJournalLine;
1887
1896
 
1888
- declare function useJournalEntryService(): {
1889
- add: (entry: TJournalEntry, lines: TJournalLine[]) => Promise<string>;
1897
+ declare function useJournalGeneralService(): {
1898
+ add: (entry: TJournalGeneral, lines: TJournalLine[]) => Promise<string>;
1899
+ updateStatusById: (_id: string, status: TJournalGeneralStatus, user: string) => Promise<string>;
1900
+ };
1901
+
1902
+ declare function useJournalGeneralController(): {
1903
+ add: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1904
+ getAll: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1905
+ getById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1906
+ updateById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1907
+ deleteById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1908
+ updateStatusById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1909
+ };
1910
+
1911
+ type TJournalCashReceiptStatus = "draft" | "posted" | "voided";
1912
+ declare const JournalCashReceiptStatuses: TJournalCashReceiptStatus[];
1913
+ type TJournalCashReceipt = {
1914
+ _id?: ObjectId;
1915
+ id: string;
1916
+ org: ObjectId | string;
1917
+ type: string;
1918
+ date: Date | string;
1919
+ customer: ObjectId | string;
1920
+ customerName?: string;
1921
+ invoiceNumber: string;
1922
+ cash: number;
1923
+ discount?: number;
1924
+ withholdingTax?: number;
1925
+ sales: number;
1926
+ description?: string;
1927
+ createdBy: ObjectId | string;
1928
+ createdByName: string;
1929
+ reversalDraft?: ObjectId | string;
1930
+ reversedEntry?: ObjectId | string;
1931
+ reversedEntryNumber?: string;
1932
+ reversedBy?: ObjectId | string;
1933
+ reversedByName?: string;
1934
+ status: TJournalCashReceiptStatus;
1935
+ postedAt?: Date | string;
1936
+ reversedAt?: Date | string;
1937
+ createdAt?: Date | string;
1938
+ updatedAt?: Date | string;
1939
+ };
1940
+ declare const schemaJournalCashReceiptCtrl: Joi.ObjectSchema<any>;
1941
+ declare const schemaJournalCashReceiptRepo: Joi.ObjectSchema<any>;
1942
+ declare const schemaJournalCashReceiptRepoUpdate: Joi.ObjectSchema<any>;
1943
+ declare const schemaJournalCashReceiptGetAll: Joi.ObjectSchema<any>;
1944
+ declare function modelJournalCashReceipt(data: TJournalCashReceipt): TJournalCashReceipt;
1945
+
1946
+ declare function useJournalCashReceiptRepo(): {
1947
+ createIndexes: () => Promise<void>;
1948
+ add: (value: TJournalCashReceipt, session?: ClientSession) => Promise<ObjectId>;
1949
+ getAll: (options: {
1950
+ org: ObjectId | string;
1951
+ search?: string;
1952
+ page?: number;
1953
+ limit?: number;
1954
+ type: string;
1955
+ status?: string;
1956
+ }) => Promise<Record<string, any>>;
1957
+ getById: (_id: string | ObjectId) => Promise<TJournalCashReceipt>;
1958
+ updateById: (_id: string | ObjectId, options: Partial<TJournalCashReceipt>, session?: ClientSession) => Promise<string>;
1959
+ deleteById: (_id: string | ObjectId, session?: ClientSession) => Promise<string>;
1960
+ updateStatusById: (_id: string | ObjectId, status: string, session?: ClientSession) => Promise<string>;
1961
+ };
1962
+
1963
+ declare function useJournalCashReceiptService(): {
1964
+ add: (entry: TJournalCashReceipt, lines: TJournalLine[]) => Promise<string>;
1965
+ updateStatusById: (_id: string, status: TJournalCashReceiptStatus, user: string) => Promise<string>;
1890
1966
  };
1891
1967
 
1892
- declare function useJournalEntryController(): {
1968
+ declare function useJournalCashReceiptController(): {
1893
1969
  add: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1894
1970
  getAll: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1895
1971
  getById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
@@ -1899,21 +1975,78 @@ declare function useJournalEntryController(): {
1899
1975
  };
1900
1976
 
1901
1977
  declare function useJournalLineRepo(): {
1978
+ createIndexes: () => Promise<void>;
1902
1979
  add: (value: TJournalLine, session?: ClientSession) => Promise<ObjectId>;
1903
1980
  getAll: (options: {
1904
1981
  org: ObjectId | string;
1905
- journalEntry?: ObjectId | string;
1982
+ JournalGeneral?: ObjectId | string;
1906
1983
  page?: number;
1907
1984
  limit?: number;
1985
+ account?: string | ObjectId;
1986
+ search?: string;
1987
+ status?: TJournalLineStatus;
1908
1988
  }) => Promise<Record<string, any>>;
1909
- getById: (_id: string | ObjectId) => Promise<TJournalLine>;
1989
+ getById: (_id: string | ObjectId) => Promise<TJournalLine | null>;
1990
+ getByEntry: (journalEntry: string | ObjectId) => Promise<TJournalLine[]>;
1910
1991
  updateById: (_id: string | ObjectId, options: Partial<TJournalLine>) => Promise<string>;
1911
1992
  deleteById: (_id: string | ObjectId, session?: ClientSession) => Promise<string>;
1993
+ updateStatusByJournal: (journalEntry: string | ObjectId, status: TJournalLineStatus, session?: ClientSession) => Promise<string>;
1912
1994
  };
1913
1995
 
1914
1996
  declare function useJournalLineController(): {
1915
1997
  getAll: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1916
1998
  getById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1999
+ };
2000
+
2001
+ declare const customerStatuses: string[];
2002
+ type TCustomer = {
2003
+ _id?: ObjectId;
2004
+ firstName: string;
2005
+ lastName: string;
2006
+ middleName?: string;
2007
+ email?: string;
2008
+ contractNumber?: string;
2009
+ phoneNumber?: string;
2010
+ address?: {
2011
+ street: string;
2012
+ cityMunicipality: string;
2013
+ postalCode: string;
2014
+ country: string;
2015
+ };
2016
+ org?: ObjectId | string;
2017
+ status: string;
2018
+ createdAt?: Date | string;
2019
+ updatedAt?: Date | string;
2020
+ };
2021
+ declare const schemaCustomer: Joi.ObjectSchema<any>;
2022
+ declare const schemaCustomerUpdate: Joi.ObjectSchema<any>;
2023
+ declare function modelCustomer(data: TCustomer): TCustomer;
2024
+
2025
+ declare function useCustomerRepo(): {
2026
+ createIndexes: () => Promise<string>;
2027
+ delCachedData: () => void;
2028
+ add: (value: TCustomer, session?: ClientSession) => Promise<ObjectId>;
2029
+ getAll: ({ search, page, limit, org, status, }?: {
2030
+ search?: string | undefined;
2031
+ page?: number | undefined;
2032
+ limit?: number | undefined;
2033
+ org?: string | undefined;
2034
+ status?: string | undefined;
2035
+ }) => Promise<Record<string, any>>;
2036
+ getById: (id: string) => Promise<TCustomer>;
2037
+ getByName: ({ firstName, lastName, middleName, }?: {
2038
+ firstName?: string | undefined;
2039
+ lastName?: string | undefined;
2040
+ middleName?: string | undefined;
2041
+ }) => Promise<TCustomer | null>;
2042
+ updateById: (_id: string | ObjectId, value: Pick<TCustomer, "firstName" | "lastName" | "middleName" | "email" | "contractNumber" | "phoneNumber" | "address">, session?: ClientSession) => Promise<string>;
2043
+ deleteById: (id: string, session?: ClientSession) => Promise<mongodb.WithId<bson.Document>>;
2044
+ };
2045
+
2046
+ declare function useCustomerCtrl(): {
2047
+ add: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2048
+ getAll: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2049
+ getById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1917
2050
  updateById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1918
2051
  deleteById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1919
2052
  };
@@ -1957,4 +2090,4 @@ declare const XENDIT_BASE_URL: string;
1957
2090
  declare const DOMAIN: string;
1958
2091
  declare const APP_ORG: string;
1959
2092
 
1960
- export { ACCESS_TOKEN_EXPIRY, ACCESS_TOKEN_SECRET, APP_ACCOUNT, APP_MAIN, APP_ORG, DEFAULT_JOB_STATUS_SETUP, DEFAULT_USER_EMAIL, DEFAULT_USER_FIRST_NAME, DEFAULT_USER_LAST_NAME, DEFAULT_USER_PASSWORD, DOMAIN, MAILER_EMAIL, MAILER_PASSWORD, MAILER_TRANSPORT_HOST, MAILER_TRANSPORT_PORT, MAILER_TRANSPORT_SECURE, MBuilding, MBuildingUnit, MFile, MONGO_DB, MONGO_URI, PAYPAL_API_URL, PAYPAL_CLIENT_ID, PAYPAL_CLIENT_SECRET, PAYPAL_WEBHOOK_ID, PORT, PaypalWebhookHeaders, REDIS_HOST, REDIS_PASSWORD, REDIS_PORT, REFRESH_TOKEN_EXPIRY, REFRESH_TOKEN_SECRET, SECRET_KEY, SPACES_ACCESS_KEY, SPACES_BUCKET, SPACES_ENDPOINT, SPACES_REGION, SPACES_SECRET_KEY, TApp, TBuilding, TBuildingUnit, TChartOfAccount, TChartOfAccountNormalBalance, TChartOfAccountStatus, TChartOfAccountType, TCounter, TFile, TJobApplication, TJobApplicationMetadata, TJobPost, TJobProfile, TJobProfileAward, TJobProfileCert, TJobProfileEdu, TJobProfileGroup, TJobProfileLang, TJobProfileMilitaryExp, TJobProfilePatent, TJobProfilePublication, TJobProfileSkill, TJobProfileWorkExp, TJobStatusSetup, TJobStatusTrans, TJobSummary, TJobSummaryMetadata, TJournalEntry, TJournalEntryMetadata, TJournalEntryStatus, TJournalEntryType, TJournalLine, TLedgerBill, TMember, TOption, TOrg, TPermission, TPermissionGroup, TPlan, TPromo, TRole, TSubscribe, TSubscription, TSubscriptionTransaction, TTax, TUser, TVerification, TVerificationMetadata, VERIFICATION_FORGET_PASSWORD_DURATION, VERIFICATION_USER_INVITE_DURATION, XENDIT_BASE_URL, XENDIT_SECRET_KEY, chartOfAccountNormalBalances, chartOfAccountTypes, currencies, isDev, jobApplicationStatuses, journalEntryStatuses, journalEntryTypes, ledgerBillStatuses, ledgerBillTypes, modelApp, modelChartOfAccount, modelJobApplication, modelJobPost, modelJobProfile, modelJobProfileCert, modelJobProfileEdu, modelJobProfileLang, modelJobProfileSkill, modelJobProfileWorkExp, modelJobStatusSetup, modelJobStatusTrans, modelJobSummary, modelJournalEntry, modelJournalLine, modelLedgerBill, modelMember, modelOption, modelOrg, modelPermission, modelPermissionGroup, modelPlan, modelPromo, modelRole, modelSubscription, modelSubscriptionTransaction, modelTax, modelUser, modelVerification, schemaApp, schemaAppUpdate, schemaAward, schemaBuilding, schemaBuildingUnit, schemaCertification, schemaChartOfAccountBase, schemaChartOfAccountStd, schemaChartOfAccountUpdate, schemaEducation, schemaGroup, schemaInviteMember, schemaJobApplication, schemaJobPost, schemaJobPostUpdate, schemaJobProfile, schemaJobProfileAdditionalInfo, schemaJobProfileCert, schemaJobProfileCertDel, schemaJobProfileContactInfo, schemaJobProfileEdu, schemaJobProfileEduDel, schemaJobProfileLang, schemaJobProfileLangDel, schemaJobProfilePersonalInfo, schemaJobProfileSkill, schemaJobProfileSkillDel, schemaJobProfileSummary, schemaJobProfileWorkExp, schemaJobProfileWorkExpDel, schemaJobStatusSetup, schemaJobStatusSetupUpdate, schemaJobStatusTrans, schemaJobSummary, schemaJobSummaryInc, schemaJournalEntryCtrl, schemaJournalEntryGetAll, schemaJournalEntryRepo, schemaJournalLineCtrl, schemaJournalLineRepo, schemaLanguage, schemaLedgerBill, schemaLedgerBillingSummary, schemaMember, schemaMemberRole, schemaMemberStatus, schemaMilitaryExp, schemaOption, schemaOrg, schemaOrgAdd, schemaOrgPilot, schemaOrgUpdate, schemaPatent, schemaPermission, schemaPermissionGroup, schemaPermissionGroupUpdate, schemaPermissionUpdate, schemaPlan, schemaPromo, schemaPublication, schemaRole, schemaRoleUpdate, schemaSkill, schemaSubscribe, schemaSubscription, schemaSubscriptionCompute, schemaSubscriptionPromoCode, schemaSubscriptionSeats, schemaSubscriptionTransaction, schemaSubscriptionUpdate, schemaTax, schemaTaxUpdate, schemaUpdateOptions, schemaUser, schemaVerification, schemaVerificationOrgInvite, schemaWorkExp, taxDirections, transactionSchema, useAppController, useAppRepo, useAppService, useAuthController, useAuthService, useBuildingController, useBuildingRepo, useBuildingService, useBuildingUnitController, useBuildingUnitRepo, useBuildingUnitService, useChartOfAccountController, useChartOfAccountRepo, useCounterModel, useCounterRepo, useFileController, useFileRepo, useFileService, useGitHubService, useJobApplicationController, useJobApplicationRepo, useJobPostController, useJobPostRepo, useJobPostService, useJobProfileCtrl, useJobProfileRepo, useJobStatusConfigController, useJobStatusConfigRepo, useJobSummaryCtrl, useJobSummaryRepo, useJobSummarySvc, useJournalEntryController, useJournalEntryRepo, useJournalEntryService, useJournalLineController, useJournalLineRepo, useLedgerBillingController, useLedgerBillingRepo, useMemberController, useMemberRepo, useOptionCtrl, useOptionRepo, useOrgController, useOrgRepo, useOrgService, usePaypalService, usePermissionController, usePermissionGroupController, usePermissionGroupRepo, usePermissionGroupService, usePermissionRepo, usePermissionService, usePlanController, usePlanRepo, usePlanService, usePromoController, usePromoRepo, usePromoUsageRepo, useRoleController, useRoleRepo, useRoleService, useSubscriptionController, useSubscriptionRepo, useSubscriptionService, useSubscriptionTransactionController, useSubscriptionTransactionRepo, useTaxController, useTaxRepo, useUserController, useUserRepo, useUserService, useUtilController, useVerificationController, useVerificationRepo, useVerificationService };
2093
+ export { ACCESS_TOKEN_EXPIRY, ACCESS_TOKEN_SECRET, APP_ACCOUNT, APP_MAIN, APP_ORG, DEFAULT_JOB_STATUS_SETUP, DEFAULT_USER_EMAIL, DEFAULT_USER_FIRST_NAME, DEFAULT_USER_LAST_NAME, DEFAULT_USER_PASSWORD, DOMAIN, JournalCashReceiptStatuses, JournalGeneralStatuses, MAILER_EMAIL, MAILER_PASSWORD, MAILER_TRANSPORT_HOST, MAILER_TRANSPORT_PORT, MAILER_TRANSPORT_SECURE, MBuilding, MBuildingUnit, MFile, MONGO_DB, MONGO_URI, PAYPAL_API_URL, PAYPAL_CLIENT_ID, PAYPAL_CLIENT_SECRET, PAYPAL_WEBHOOK_ID, PORT, PaypalWebhookHeaders, REDIS_HOST, REDIS_PASSWORD, REDIS_PORT, REFRESH_TOKEN_EXPIRY, REFRESH_TOKEN_SECRET, SECRET_KEY, SPACES_ACCESS_KEY, SPACES_BUCKET, SPACES_ENDPOINT, SPACES_REGION, SPACES_SECRET_KEY, TApp, TBuilding, TBuildingUnit, TChartOfAccount, TChartOfAccountControlType, TChartOfAccountNormalBalance, TChartOfAccountStatus, TChartOfAccountType, TCounter, TCustomer, TFile, TJobApplication, TJobApplicationMetadata, TJobPost, TJobProfile, TJobProfileAward, TJobProfileCert, TJobProfileEdu, TJobProfileGroup, TJobProfileLang, TJobProfileMilitaryExp, TJobProfilePatent, TJobProfilePublication, TJobProfileSkill, TJobProfileWorkExp, TJobStatusSetup, TJobStatusTrans, TJobSummary, TJobSummaryMetadata, TJournalCashReceipt, TJournalCashReceiptStatus, TJournalGeneral, TJournalGeneralStatus, TJournalLine, TJournalLineStatus, TLedgerBill, TMember, TOption, TOrg, TPermission, TPermissionGroup, TPlan, TPromo, TRole, TSubscribe, TSubscription, TSubscriptionTransaction, TTax, TUser, TVerification, TVerificationMetadata, VERIFICATION_FORGET_PASSWORD_DURATION, VERIFICATION_USER_INVITE_DURATION, XENDIT_BASE_URL, XENDIT_SECRET_KEY, chartOfAccountControlTypes, chartOfAccountNormalBalances, chartOfAccountStatuses, chartOfAccountTypes, currencies, customerStatuses, isDev, jobApplicationStatuses, journalLineStatuses, ledgerBillStatuses, ledgerBillTypes, modelApp, modelChartOfAccount, modelCustomer, modelJobApplication, modelJobPost, modelJobProfile, modelJobProfileCert, modelJobProfileEdu, modelJobProfileLang, modelJobProfileSkill, modelJobProfileWorkExp, modelJobStatusSetup, modelJobStatusTrans, modelJobSummary, modelJournalCashReceipt, modelJournalGeneral, modelJournalLine, modelLedgerBill, modelMember, modelOption, modelOrg, modelPermission, modelPermissionGroup, modelPlan, modelPromo, modelRole, modelSubscription, modelSubscriptionTransaction, modelTax, modelUser, modelVerification, schemaApp, schemaAppUpdate, schemaAward, schemaBuilding, schemaBuildingUnit, schemaCertification, schemaChartOfAccountBase, schemaChartOfAccountStd, schemaChartOfAccountUpdate, schemaCustomer, schemaCustomerUpdate, schemaEducation, schemaGroup, schemaInviteMember, schemaJobApplication, schemaJobPost, schemaJobPostUpdate, schemaJobProfile, schemaJobProfileAdditionalInfo, schemaJobProfileCert, schemaJobProfileCertDel, schemaJobProfileContactInfo, schemaJobProfileEdu, schemaJobProfileEduDel, schemaJobProfileLang, schemaJobProfileLangDel, schemaJobProfilePersonalInfo, schemaJobProfileSkill, schemaJobProfileSkillDel, schemaJobProfileSummary, schemaJobProfileWorkExp, schemaJobProfileWorkExpDel, schemaJobStatusSetup, schemaJobStatusSetupUpdate, schemaJobStatusTrans, schemaJobSummary, schemaJobSummaryInc, schemaJournalCashReceiptCtrl, schemaJournalCashReceiptGetAll, schemaJournalCashReceiptRepo, schemaJournalCashReceiptRepoUpdate, schemaJournalGeneralCtrl, schemaJournalGeneralGetAll, schemaJournalGeneralRepo, schemaJournalGeneralRepoUpdate, schemaJournalLineCtrl, schemaJournalLineRepo, schemaLanguage, schemaLedgerBill, schemaLedgerBillingSummary, schemaMember, schemaMemberRole, schemaMemberStatus, schemaMilitaryExp, schemaOption, schemaOrg, schemaOrgAdd, schemaOrgPilot, schemaOrgUpdate, schemaPatent, schemaPermission, schemaPermissionGroup, schemaPermissionGroupUpdate, schemaPermissionUpdate, schemaPlan, schemaPromo, schemaPublication, schemaRole, schemaRoleUpdate, schemaSkill, schemaSubscribe, schemaSubscription, schemaSubscriptionCompute, schemaSubscriptionPromoCode, schemaSubscriptionSeats, schemaSubscriptionTransaction, schemaSubscriptionUpdate, schemaTax, schemaTaxUpdate, schemaUpdateOptions, schemaUser, schemaVerification, schemaVerificationOrgInvite, schemaWorkExp, taxDirections, transactionSchema, useAppController, useAppRepo, useAppService, useAuthController, useAuthService, useBuildingController, useBuildingRepo, useBuildingService, useBuildingUnitController, useBuildingUnitRepo, useBuildingUnitService, useChartOfAccountController, useChartOfAccountRepo, useCounterModel, useCounterRepo, useCustomerCtrl, useCustomerRepo, useFileController, useFileRepo, useFileService, useGitHubService, useJobApplicationController, useJobApplicationRepo, useJobPostController, useJobPostRepo, useJobPostService, useJobProfileCtrl, useJobProfileRepo, useJobStatusConfigController, useJobStatusConfigRepo, useJobSummaryCtrl, useJobSummaryRepo, useJobSummarySvc, useJournalCashReceiptController, useJournalCashReceiptRepo, useJournalCashReceiptService, useJournalGeneralController, useJournalGeneralRepo, useJournalGeneralService, useJournalLineController, useJournalLineRepo, useLedgerBillingController, useLedgerBillingRepo, useMemberController, useMemberRepo, useOptionCtrl, useOptionRepo, useOrgController, useOrgRepo, useOrgService, usePaypalService, usePermissionController, usePermissionGroupController, usePermissionGroupRepo, usePermissionGroupService, usePermissionRepo, usePermissionService, usePlanController, usePlanRepo, usePlanService, usePromoController, usePromoRepo, usePromoUsageRepo, useRoleController, useRoleRepo, useRoleService, useSubscriptionController, useSubscriptionRepo, useSubscriptionService, useSubscriptionTransactionController, useSubscriptionTransactionRepo, useTaxController, useTaxRepo, useUserController, useUserRepo, useUserService, useUtilController, useVerificationController, useVerificationRepo, useVerificationService };