@goweekdays/core 2.12.3 → 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,21 @@
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
+
13
+ ## 2.13.0
14
+
15
+ ### Minor Changes
16
+
17
+ - e083e11: Initial implementation and integration of finance module
18
+
3
19
  ## 2.12.3
4
20
 
5
21
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -226,8 +226,15 @@ declare function useCounterModel(db: Db): {
226
226
 
227
227
  declare function useCounterRepo(): {
228
228
  createIndexes: () => Promise<void>;
229
- add: (type: string) => Promise<void>;
230
- getByType: (type: string) => Promise<any>;
229
+ add: (type: string, session?: ClientSession) => Promise<void>;
230
+ getByType: (type: string) => Promise<{
231
+ type: string;
232
+ createdAt: Date;
233
+ count: number;
234
+ deletedAt?: Date | undefined;
235
+ _id?: bson.ObjectId | undefined;
236
+ updatedAt?: Date | undefined;
237
+ } | null>;
231
238
  incrementByType: (type: string, session?: ClientSession) => Promise<void>;
232
239
  };
233
240
 
@@ -422,6 +429,7 @@ declare function useOrgService(): {
422
429
  };
423
430
 
424
431
  declare function useOrgController(): {
432
+ validOrg: (req: Request, res: Response, next: NextFunction) => Promise<void>;
425
433
  add: (req: Request, res: Response, next: NextFunction) => Promise<void>;
426
434
  getOrgsByUserId: (req: Request, res: Response, next: NextFunction) => Promise<void>;
427
435
  getByName: (req: Request, res: Response, next: NextFunction) => Promise<void>;
@@ -1689,6 +1697,360 @@ declare function useJobSummaryCtrl(): {
1689
1697
  getByOrg: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1690
1698
  };
1691
1699
 
1700
+ type TTax = {
1701
+ _id?: ObjectId;
1702
+ org: ObjectId;
1703
+ name: string;
1704
+ rate: number;
1705
+ direction: string;
1706
+ status?: string;
1707
+ createdAt?: Date | string;
1708
+ updatedAt?: Date | string;
1709
+ };
1710
+ declare const taxDirections: string[];
1711
+ declare const schemaTax: Joi.ObjectSchema<any>;
1712
+ declare const schemaTaxUpdate: Joi.ObjectSchema<any>;
1713
+ declare function modelTax(data: TTax): TTax;
1714
+
1715
+ declare function useTaxRepo(): {
1716
+ createIndexes: () => Promise<void>;
1717
+ add: (value: TTax, session?: ClientSession) => Promise<ObjectId>;
1718
+ getAll: (options: {
1719
+ org: ObjectId | string;
1720
+ search?: string;
1721
+ page?: number;
1722
+ limit?: number;
1723
+ status?: string;
1724
+ }) => Promise<Record<string, any>>;
1725
+ getTaxesByOrg: ({ search, page, limit, org, status }?: {
1726
+ org: string | ObjectId;
1727
+ page: number;
1728
+ limit?: number | undefined;
1729
+ search?: string | undefined;
1730
+ status?: string | undefined;
1731
+ }) => Promise<{
1732
+ items: any[];
1733
+ pages: number;
1734
+ pageRange: string;
1735
+ } | {
1736
+ _id: ObjectId;
1737
+ name: string;
1738
+ }[]>;
1739
+ getById: (_id: string | ObjectId) => Promise<TTax>;
1740
+ updateById: (_id: string | ObjectId, options: Pick<TTax, "name" | "rate" | "direction">) => Promise<string>;
1741
+ deleteById: (_id: string | ObjectId, session?: ClientSession) => Promise<string>;
1742
+ updateStatusById: (_id: string | ObjectId, status: string) => Promise<string>;
1743
+ };
1744
+
1745
+ declare function useTaxController(): {
1746
+ add: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1747
+ getAll: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1748
+ getTaxesByOrg: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1749
+ getById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1750
+ updateById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1751
+ deleteById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1752
+ updateStatusById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1753
+ };
1754
+
1755
+ type TChartOfAccountType = "asset" | "liability" | "equity" | "income" | "expense";
1756
+ type TChartOfAccountStatus = "active" | "inactive" | "archived";
1757
+ declare const chartOfAccountStatuses: TChartOfAccountStatus[];
1758
+ type TChartOfAccountNormalBalance = "debit" | "credit";
1759
+ type TChartOfAccountControlType = "AR" | "AP" | "inventory" | "fixed-asset" | "none";
1760
+ declare const chartOfAccountControlTypes: TChartOfAccountControlType[];
1761
+ type TChartOfAccount = {
1762
+ _id?: ObjectId;
1763
+ org: ObjectId;
1764
+ type: TChartOfAccountType;
1765
+ normalBalance: TChartOfAccountNormalBalance;
1766
+ parent?: ObjectId | string;
1767
+ parentName?: string;
1768
+ path: string;
1769
+ name: string;
1770
+ code: string;
1771
+ tax?: ObjectId;
1772
+ isContra: boolean;
1773
+ controlType: TChartOfAccountControlType;
1774
+ childrenCount?: number;
1775
+ status: TChartOfAccountStatus;
1776
+ createdAt?: Date | string;
1777
+ updatedAt?: Date | string;
1778
+ };
1779
+ declare const chartOfAccountTypes: TChartOfAccountType[];
1780
+ declare const chartOfAccountNormalBalances: TChartOfAccountNormalBalance[];
1781
+ declare const schemaChartOfAccountBase: Joi.ObjectSchema<any>;
1782
+ declare const schemaChartOfAccountStd: Joi.ObjectSchema<any>;
1783
+ declare const schemaChartOfAccountUpdate: Joi.ObjectSchema<any>;
1784
+ declare function modelChartOfAccount(data: TChartOfAccount): TChartOfAccount;
1785
+
1786
+ declare function useChartOfAccountRepo(): {
1787
+ createIndexes: () => Promise<void>;
1788
+ add: (value: TChartOfAccount, session?: ClientSession) => Promise<ObjectId>;
1789
+ getAll: (options: {
1790
+ org: ObjectId | string;
1791
+ search?: string;
1792
+ page?: number;
1793
+ limit?: number;
1794
+ status?: string;
1795
+ type?: string;
1796
+ canPost?: boolean;
1797
+ }) => Promise<Record<string, any>>;
1798
+ getByOrg: ({ search, page, limit, org, status }?: {
1799
+ org: string | ObjectId;
1800
+ page: number;
1801
+ limit?: number | undefined;
1802
+ search?: string | undefined;
1803
+ status?: string | undefined;
1804
+ }) => Promise<{
1805
+ items: any[];
1806
+ pages: number;
1807
+ pageRange: string;
1808
+ } | {
1809
+ _id: ObjectId;
1810
+ name: string;
1811
+ }[]>;
1812
+ getById: (_id: string | ObjectId) => Promise<TChartOfAccount>;
1813
+ updateById: (_id: string | ObjectId, options: Pick<TChartOfAccount, "name" | "code" | "type" | "normalBalance" | "tax" | "isContra" | "parent" | "controlType">, session?: ClientSession) => Promise<string>;
1814
+ deleteById: (_id: string | ObjectId, session?: ClientSession) => Promise<string>;
1815
+ updateStatusById: (_id: string | ObjectId, status: string) => Promise<string>;
1816
+ countByPath: (path: string) => Promise<number>;
1817
+ updateChildrenCountById: (_id: string | ObjectId, increment: number, session?: ClientSession) => Promise<string>;
1818
+ };
1819
+
1820
+ declare function useChartOfAccountController(): {
1821
+ add: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1822
+ getAll: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1823
+ getByOrg: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1824
+ getById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1825
+ updateById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1826
+ deleteById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1827
+ updateStatusById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1828
+ };
1829
+
1830
+ type TJournalGeneralStatus = "draft" | "posted" | "voided";
1831
+ declare const JournalGeneralStatuses: TJournalGeneralStatus[];
1832
+ type TJournalGeneral = {
1833
+ _id?: ObjectId;
1834
+ id: string;
1835
+ org: ObjectId | string;
1836
+ type: string;
1837
+ date: Date | string;
1838
+ description: string;
1839
+ createdBy: ObjectId | string;
1840
+ createdByName: string;
1841
+ reversalDraft?: ObjectId | string;
1842
+ reversedEntry?: ObjectId | string;
1843
+ reversedEntryNumber?: string;
1844
+ reversedBy?: ObjectId | string;
1845
+ reversedByName?: string;
1846
+ status: TJournalGeneralStatus;
1847
+ postedAt?: Date | string;
1848
+ reversedAt?: Date | string;
1849
+ createdAt?: Date | string;
1850
+ updatedAt?: Date | string;
1851
+ };
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;
1857
+
1858
+ declare function useJournalGeneralRepo(): {
1859
+ createIndexes: () => Promise<void>;
1860
+ add: (value: TJournalGeneral, session?: ClientSession) => Promise<ObjectId>;
1861
+ getAll: (options: {
1862
+ org: ObjectId | string;
1863
+ search?: string;
1864
+ page?: number;
1865
+ limit?: number;
1866
+ type: string;
1867
+ status?: string;
1868
+ }) => Promise<Record<string, any>>;
1869
+ getById: (_id: string | ObjectId) => Promise<TJournalGeneral>;
1870
+ updateById: (_id: string | ObjectId, options: Partial<TJournalGeneral>, session?: ClientSession) => Promise<string>;
1871
+ deleteById: (_id: string | ObjectId, session?: ClientSession) => Promise<string>;
1872
+ updateStatusById: (_id: string | ObjectId, status: string, session?: ClientSession) => Promise<string>;
1873
+ };
1874
+
1875
+ type TJournalLineStatus = "draft" | "posted" | "voided";
1876
+ declare const journalLineStatuses: TJournalLineStatus[];
1877
+ type TJournalLine = {
1878
+ _id?: ObjectId;
1879
+ org: ObjectId | string;
1880
+ journalEntry: ObjectId | string;
1881
+ journalNumber: string;
1882
+ account: ObjectId | string;
1883
+ accountName: string;
1884
+ accountCode: string;
1885
+ debit: number;
1886
+ credit: number;
1887
+ postReference?: string;
1888
+ particulars: string;
1889
+ status: TJournalLineStatus;
1890
+ createdAt?: Date | string;
1891
+ updatedAt?: Date | string;
1892
+ };
1893
+ declare const schemaJournalLineCtrl: Joi.ObjectSchema<any>;
1894
+ declare const schemaJournalLineRepo: Joi.ObjectSchema<any>;
1895
+ declare function modelJournalLine(data: TJournalLine): TJournalLine;
1896
+
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>;
1966
+ };
1967
+
1968
+ declare function useJournalCashReceiptController(): {
1969
+ add: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1970
+ getAll: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1971
+ getById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1972
+ updateById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1973
+ deleteById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1974
+ updateStatusById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1975
+ };
1976
+
1977
+ declare function useJournalLineRepo(): {
1978
+ createIndexes: () => Promise<void>;
1979
+ add: (value: TJournalLine, session?: ClientSession) => Promise<ObjectId>;
1980
+ getAll: (options: {
1981
+ org: ObjectId | string;
1982
+ JournalGeneral?: ObjectId | string;
1983
+ page?: number;
1984
+ limit?: number;
1985
+ account?: string | ObjectId;
1986
+ search?: string;
1987
+ status?: TJournalLineStatus;
1988
+ }) => Promise<Record<string, any>>;
1989
+ getById: (_id: string | ObjectId) => Promise<TJournalLine | null>;
1990
+ getByEntry: (journalEntry: string | ObjectId) => Promise<TJournalLine[]>;
1991
+ updateById: (_id: string | ObjectId, options: Partial<TJournalLine>) => Promise<string>;
1992
+ deleteById: (_id: string | ObjectId, session?: ClientSession) => Promise<string>;
1993
+ updateStatusByJournal: (journalEntry: string | ObjectId, status: TJournalLineStatus, session?: ClientSession) => Promise<string>;
1994
+ };
1995
+
1996
+ declare function useJournalLineController(): {
1997
+ getAll: (req: Request, res: Response, next: NextFunction) => Promise<void>;
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>;
2050
+ updateById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2051
+ deleteById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2052
+ };
2053
+
1692
2054
  declare const MONGO_URI: string;
1693
2055
  declare const MONGO_DB: string;
1694
2056
  declare const PORT: number;
@@ -1728,4 +2090,4 @@ declare const XENDIT_BASE_URL: string;
1728
2090
  declare const DOMAIN: string;
1729
2091
  declare const APP_ORG: string;
1730
2092
 
1731
- 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, TCounter, TFile, TJobApplication, TJobApplicationMetadata, TJobPost, TJobProfile, TJobProfileAward, TJobProfileCert, TJobProfileEdu, TJobProfileGroup, TJobProfileLang, TJobProfileMilitaryExp, TJobProfilePatent, TJobProfilePublication, TJobProfileSkill, TJobProfileWorkExp, TJobStatusSetup, TJobStatusTrans, TJobSummary, TJobSummaryMetadata, TLedgerBill, TMember, TOption, TOrg, TPermission, TPermissionGroup, TPlan, TPromo, TRole, TSubscribe, TSubscription, TSubscriptionTransaction, TUser, TVerification, TVerificationMetadata, VERIFICATION_FORGET_PASSWORD_DURATION, VERIFICATION_USER_INVITE_DURATION, XENDIT_BASE_URL, XENDIT_SECRET_KEY, currencies, isDev, jobApplicationStatuses, ledgerBillStatuses, ledgerBillTypes, modelApp, modelJobApplication, modelJobPost, modelJobProfile, modelJobProfileCert, modelJobProfileEdu, modelJobProfileLang, modelJobProfileSkill, modelJobProfileWorkExp, modelJobStatusSetup, modelJobStatusTrans, modelJobSummary, modelLedgerBill, modelMember, modelOption, modelOrg, modelPermission, modelPermissionGroup, modelPlan, modelPromo, modelRole, modelSubscription, modelSubscriptionTransaction, modelUser, modelVerification, schemaApp, schemaAppUpdate, schemaAward, schemaBuilding, schemaBuildingUnit, schemaCertification, 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, 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, schemaUpdateOptions, schemaUser, schemaVerification, schemaVerificationOrgInvite, schemaWorkExp, transactionSchema, useAppController, useAppRepo, useAppService, useAuthController, useAuthService, useBuildingController, useBuildingRepo, useBuildingService, useBuildingUnitController, useBuildingUnitRepo, useBuildingUnitService, useCounterModel, useCounterRepo, useFileController, useFileRepo, useFileService, useGitHubService, useJobApplicationController, useJobApplicationRepo, useJobPostController, useJobPostRepo, useJobPostService, useJobProfileCtrl, useJobProfileRepo, useJobStatusConfigController, useJobStatusConfigRepo, useJobSummaryCtrl, useJobSummaryRepo, useJobSummarySvc, 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, 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 };