@goweekdays/core 0.0.22 → 1.0.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,23 @@
1
1
  # @goweekdays/core
2
2
 
3
+ ## 1.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - df4839f: Initial release with Paypal integration
8
+
9
+ ## 0.1.1
10
+
11
+ ### Patch Changes
12
+
13
+ - c66ec60: Paypal integration patch
14
+
15
+ ## 0.1.0
16
+
17
+ ### Minor Changes
18
+
19
+ - 2018818: Add paypal integration
20
+
3
21
  ## 0.0.22
4
22
 
5
23
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -827,8 +827,8 @@ type TSubscription = {
827
827
  _id?: ObjectId;
828
828
  user?: ObjectId | string;
829
829
  org?: ObjectId | string;
830
- customerId: string;
831
- paymentMethodId: string;
830
+ customerId?: string;
831
+ paymentMethodId?: string;
832
832
  amount: number;
833
833
  description?: string;
834
834
  currency: string;
@@ -934,6 +934,27 @@ declare const addressSchema: Joi.ObjectSchema<any>;
934
934
  declare function MAddress(value: any): TAddress;
935
935
 
936
936
  declare function useSubscriptionService(): {
937
+ subscribe: (value: {
938
+ user: string;
939
+ currency: string;
940
+ perSeatPrice: number;
941
+ seats: number;
942
+ transactionId?: string | undefined;
943
+ promoCode?: string | undefined;
944
+ org: {
945
+ name: string;
946
+ type: string;
947
+ email: string;
948
+ busInst?: string;
949
+ contact: string;
950
+ description: string;
951
+ };
952
+ }) => Promise<{
953
+ message: string;
954
+ data: {
955
+ org: string;
956
+ };
957
+ }>;
937
958
  getByUserId: (id: string) => Promise<any>;
938
959
  getStatusByUser: (user: string) => Promise<string>;
939
960
  createAffiliateSubscription: (value: {
@@ -975,6 +996,13 @@ declare function useSubscriptionService(): {
975
996
  }>;
976
997
  processSubscriptions: (batchSize?: number, maxRetries?: number) => Promise<void>;
977
998
  updateSeatsById: (value: {
999
+ transactionId?: string | undefined;
1000
+ subscriptionId: string;
1001
+ seats: number;
1002
+ amount: number;
1003
+ }) => Promise<void>;
1004
+ updateSubscriptionSeats: (value: {
1005
+ transactionId?: string | undefined;
978
1006
  subscriptionId: string;
979
1007
  seats: number;
980
1008
  amount: number;
@@ -983,6 +1011,7 @@ declare function useSubscriptionService(): {
983
1011
  };
984
1012
 
985
1013
  declare function useSubscriptionController(): {
1014
+ subscribe: (req: Request, res: Response, next: NextFunction) => Promise<void>;
986
1015
  add: (req: Request, res: Response, next: NextFunction) => Promise<void>;
987
1016
  getByUserId: (req: Request, res: Response, next: NextFunction) => Promise<void>;
988
1017
  getByOrgId: (req: Request, res: Response, next: NextFunction) => Promise<void>;
@@ -1429,6 +1458,8 @@ declare function useXenditService(): {
1429
1458
  eWalletLinkOnly: (value: Record<string, any>) => Promise<any>;
1430
1459
  directDebitLinkOnly: (value: Record<string, any>) => Promise<any>;
1431
1460
  cardLinkOnly: (value: Record<string, any>) => Promise<any>;
1461
+ getPaymentMethodsByCustomerId: (customerId: string) => Promise<any>;
1462
+ updatePaymentMethodStatusById: (id: string, status: string) => Promise<any>;
1432
1463
  };
1433
1464
 
1434
1465
  type TPaymentMethod$1 = {
@@ -1492,6 +1523,8 @@ declare function usePaymentMethodController(): {
1492
1523
  getByOrg: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1493
1524
  linkOnly: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1494
1525
  getPaymentMethodById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1526
+ getPaymentMethodsByCustomerId: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1527
+ updatePaymentMethodStatusById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1495
1528
  };
1496
1529
 
1497
1530
  declare function useAddressRepo(): {
@@ -1499,7 +1532,7 @@ declare function useAddressRepo(): {
1499
1532
  add: (value: TAddress, session?: ClientSession) => Promise<ObjectId>;
1500
1533
  getByUserId: (user: string | ObjectId) => Promise<TAddress | null>;
1501
1534
  getByOrgId: (org: string | ObjectId) => Promise<TAddress | null>;
1502
- updateById: (_id: string | ObjectId, value: Pick<TAddress, "country" | "city" | "address" | "continuedAddress" | "province" | "postalCode" | "taxId">, session?: ClientSession) => Promise<string>;
1535
+ updateById: (_id: string | ObjectId, value: Pick<TAddress, "org" | "country" | "city" | "address" | "continuedAddress" | "province" | "postalCode" | "taxId">, session?: ClientSession) => Promise<string>;
1503
1536
  };
1504
1537
 
1505
1538
  declare function useAddressController(): {
@@ -1514,7 +1547,7 @@ declare function useOrgRepo(): {
1514
1547
  createTextIndex: () => Promise<void>;
1515
1548
  createUniqueIndex: () => Promise<void>;
1516
1549
  add: (value: TOrg, session?: ClientSession) => Promise<ObjectId>;
1517
- getOrgs: ({ search, page, limit, sort, status, }?: {
1550
+ getAll: ({ search, page, limit, sort, status, }?: {
1518
1551
  search?: string | undefined;
1519
1552
  page?: number | undefined;
1520
1553
  limit?: number | undefined;
@@ -1547,6 +1580,7 @@ declare function useOrgController(): {
1547
1580
  createOrg: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1548
1581
  getOrgsByUserId: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1549
1582
  getByName: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1583
+ getAll: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1550
1584
  };
1551
1585
 
1552
1586
  type TMember = {
@@ -1743,6 +1777,7 @@ declare const TInvoice: z.ZodObject<{
1743
1777
  seats?: number | undefined;
1744
1778
  }>, "many">;
1745
1779
  metadata: z.ZodEffects<z.ZodOptional<z.ZodDefault<z.ZodObject<{
1780
+ transactionId: z.ZodOptional<z.ZodString>;
1746
1781
  userId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<ObjectId, z.ZodTypeDef, ObjectId>]>>;
1747
1782
  orgId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<ObjectId, z.ZodTypeDef, ObjectId>]>>;
1748
1783
  billingCycle: z.ZodOptional<z.ZodEnum<["monthly", "yearly", "quarterly"]>>;
@@ -1753,6 +1788,7 @@ declare const TInvoice: z.ZodObject<{
1753
1788
  description?: string | undefined;
1754
1789
  userId?: string | ObjectId | undefined;
1755
1790
  orgId?: string | ObjectId | undefined;
1791
+ transactionId?: string | undefined;
1756
1792
  currency?: string | undefined;
1757
1793
  subscriptionId?: string | ObjectId | undefined;
1758
1794
  billingCycle?: "monthly" | "yearly" | "quarterly" | undefined;
@@ -1760,6 +1796,7 @@ declare const TInvoice: z.ZodObject<{
1760
1796
  description?: string | undefined;
1761
1797
  userId?: string | ObjectId | undefined;
1762
1798
  orgId?: string | ObjectId | undefined;
1799
+ transactionId?: string | undefined;
1763
1800
  currency?: string | undefined;
1764
1801
  subscriptionId?: string | ObjectId | undefined;
1765
1802
  billingCycle?: "monthly" | "yearly" | "quarterly" | undefined;
@@ -1767,6 +1804,7 @@ declare const TInvoice: z.ZodObject<{
1767
1804
  description?: string | undefined;
1768
1805
  userId?: string | ObjectId | undefined;
1769
1806
  orgId?: string | ObjectId | undefined;
1807
+ transactionId?: string | undefined;
1770
1808
  currency?: string | undefined;
1771
1809
  subscriptionId?: string | ObjectId | undefined;
1772
1810
  billingCycle?: "monthly" | "yearly" | "quarterly" | undefined;
@@ -1774,6 +1812,7 @@ declare const TInvoice: z.ZodObject<{
1774
1812
  description?: string | undefined;
1775
1813
  userId?: string | ObjectId | undefined;
1776
1814
  orgId?: string | ObjectId | undefined;
1815
+ transactionId?: string | undefined;
1777
1816
  currency?: string | undefined;
1778
1817
  subscriptionId?: string | ObjectId | undefined;
1779
1818
  billingCycle?: "monthly" | "yearly" | "quarterly" | undefined;
@@ -1799,6 +1838,7 @@ declare const TInvoice: z.ZodObject<{
1799
1838
  description?: string | undefined;
1800
1839
  userId?: string | ObjectId | undefined;
1801
1840
  orgId?: string | ObjectId | undefined;
1841
+ transactionId?: string | undefined;
1802
1842
  currency?: string | undefined;
1803
1843
  subscriptionId?: string | ObjectId | undefined;
1804
1844
  billingCycle?: "monthly" | "yearly" | "quarterly" | undefined;
@@ -1823,6 +1863,7 @@ declare const TInvoice: z.ZodObject<{
1823
1863
  description?: string | undefined;
1824
1864
  userId?: string | ObjectId | undefined;
1825
1865
  orgId?: string | ObjectId | undefined;
1866
+ transactionId?: string | undefined;
1826
1867
  currency?: string | undefined;
1827
1868
  subscriptionId?: string | ObjectId | undefined;
1828
1869
  billingCycle?: "monthly" | "yearly" | "quarterly" | undefined;
@@ -1851,6 +1892,7 @@ declare function useInvoiceModel(db: Db): {
1851
1892
  description?: string | undefined;
1852
1893
  userId?: string | ObjectId | undefined;
1853
1894
  orgId?: string | ObjectId | undefined;
1895
+ transactionId?: string | undefined;
1854
1896
  currency?: string | undefined;
1855
1897
  subscriptionId?: string | ObjectId | undefined;
1856
1898
  billingCycle?: "monthly" | "yearly" | "quarterly" | undefined;
@@ -1863,7 +1905,7 @@ declare function useInvoiceRepo(): {
1863
1905
  createIndex: () => Promise<void>;
1864
1906
  createUniqueIndex: () => Promise<void>;
1865
1907
  add: (value: TInvoice, session?: ClientSession) => Promise<void>;
1866
- getByDueDate: (dueDate: Date, status?: TInvoice["status"]) => Promise<{
1908
+ getByDueDate: (id: string | ObjectId, dueDate: Date, status?: TInvoice["status"]) => Promise<{
1867
1909
  type: "organization-subscription" | "affiliate-subscription" | "one-time-payment" | "other";
1868
1910
  status: "pending" | "cancelled" | "paid" | "overdue";
1869
1911
  amount: number;
@@ -1882,6 +1924,7 @@ declare function useInvoiceRepo(): {
1882
1924
  description?: string | undefined;
1883
1925
  userId?: string | ObjectId | undefined;
1884
1926
  orgId?: string | ObjectId | undefined;
1927
+ transactionId?: string | undefined;
1885
1928
  currency?: string | undefined;
1886
1929
  subscriptionId?: string | ObjectId | undefined;
1887
1930
  billingCycle?: "monthly" | "yearly" | "quarterly" | undefined;
@@ -1908,6 +1951,7 @@ declare function useInvoiceRepo(): {
1908
1951
  description?: string | undefined;
1909
1952
  userId?: string | ObjectId | undefined;
1910
1953
  orgId?: string | ObjectId | undefined;
1954
+ transactionId?: string | undefined;
1911
1955
  currency?: string | undefined;
1912
1956
  subscriptionId?: string | ObjectId | undefined;
1913
1957
  billingCycle?: "monthly" | "yearly" | "quarterly" | undefined;
@@ -1944,6 +1988,7 @@ declare function useInvoiceRepo(): {
1944
1988
  description?: string | undefined;
1945
1989
  userId?: string | ObjectId | undefined;
1946
1990
  orgId?: string | ObjectId | undefined;
1991
+ transactionId?: string | undefined;
1947
1992
  currency?: string | undefined;
1948
1993
  subscriptionId?: string | ObjectId | undefined;
1949
1994
  billingCycle?: "monthly" | "yearly" | "quarterly" | undefined;
@@ -1962,13 +2007,13 @@ declare function useInvoiceController(): {
1962
2007
  getByDueDateStatus: (req: Request, res: Response, next: NextFunction) => Promise<void>;
1963
2008
  };
1964
2009
 
1965
- declare const TPaymentMethod: z.ZodEnum<["CARD", "DIRECT_DEBIT", "VIRTUAL_ACCOUNT", "EWALLET", "OVER_THE_COUNTER", "QR_CODE"]>;
2010
+ declare const TPaymentMethod: z.ZodEnum<["CARD", "DIRECT_DEBIT", "VIRTUAL_ACCOUNT", "EWALLET", "OVER_THE_COUNTER", "QR_CODE", "PAYPAL"]>;
1966
2011
  type TPaymentMethodType = z.infer<typeof TPaymentMethod>;
1967
2012
  declare const TPayment: z.ZodObject<{
1968
2013
  _id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<ObjectId, z.ZodTypeDef, ObjectId>]>>;
1969
2014
  invoiceId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1970
2015
  amount: z.ZodNumber;
1971
- paymentMethod: z.ZodEnum<["CARD", "DIRECT_DEBIT", "VIRTUAL_ACCOUNT", "EWALLET", "OVER_THE_COUNTER", "QR_CODE"]>;
2016
+ paymentMethod: z.ZodEnum<["CARD", "DIRECT_DEBIT", "VIRTUAL_ACCOUNT", "EWALLET", "OVER_THE_COUNTER", "QR_CODE", "PAYPAL"]>;
1972
2017
  status: z.ZodEnum<["pending", "completed", "failed", "refunded"]>;
1973
2018
  metadata: z.ZodEffects<z.ZodObject<{
1974
2019
  userId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<ObjectId, z.ZodTypeDef, ObjectId>]>>;
@@ -2036,7 +2081,7 @@ declare const TPayment: z.ZodObject<{
2036
2081
  payment?: string | undefined;
2037
2082
  subscriptionId?: string | ObjectId | undefined;
2038
2083
  };
2039
- paymentMethod: "EWALLET" | "QR_CODE" | "CARD" | "DIRECT_DEBIT" | "VIRTUAL_ACCOUNT" | "OVER_THE_COUNTER";
2084
+ paymentMethod: "EWALLET" | "QR_CODE" | "CARD" | "DIRECT_DEBIT" | "VIRTUAL_ACCOUNT" | "OVER_THE_COUNTER" | "PAYPAL";
2040
2085
  invoiceId: string;
2041
2086
  amount: number;
2042
2087
  _id?: string | ObjectId | undefined;
@@ -2055,7 +2100,7 @@ declare const TPayment: z.ZodObject<{
2055
2100
  payment?: string | undefined;
2056
2101
  subscriptionId?: string | ObjectId | undefined;
2057
2102
  };
2058
- paymentMethod: "EWALLET" | "QR_CODE" | "CARD" | "DIRECT_DEBIT" | "VIRTUAL_ACCOUNT" | "OVER_THE_COUNTER";
2103
+ paymentMethod: "EWALLET" | "QR_CODE" | "CARD" | "DIRECT_DEBIT" | "VIRTUAL_ACCOUNT" | "OVER_THE_COUNTER" | "PAYPAL";
2059
2104
  amount: number;
2060
2105
  _id?: string | ObjectId | undefined;
2061
2106
  updatedAt?: Date | undefined;
@@ -2318,7 +2363,7 @@ declare function usePaymentModel(db: Db): {
2318
2363
  payment?: string | undefined;
2319
2364
  subscriptionId?: string | ObjectId | undefined;
2320
2365
  };
2321
- paymentMethod: "EWALLET" | "QR_CODE" | "CARD" | "DIRECT_DEBIT" | "VIRTUAL_ACCOUNT" | "OVER_THE_COUNTER";
2366
+ paymentMethod: "EWALLET" | "QR_CODE" | "CARD" | "DIRECT_DEBIT" | "VIRTUAL_ACCOUNT" | "OVER_THE_COUNTER" | "PAYPAL";
2322
2367
  invoiceId: string;
2323
2368
  amount: number;
2324
2369
  _id?: string | ObjectId | undefined;
@@ -2338,7 +2383,7 @@ declare function usePaymentModel(db: Db): {
2338
2383
  payment?: string | undefined;
2339
2384
  subscriptionId?: string | ObjectId | undefined;
2340
2385
  };
2341
- paymentMethod: "EWALLET" | "QR_CODE" | "CARD" | "DIRECT_DEBIT" | "VIRTUAL_ACCOUNT" | "OVER_THE_COUNTER";
2386
+ paymentMethod: "EWALLET" | "QR_CODE" | "CARD" | "DIRECT_DEBIT" | "VIRTUAL_ACCOUNT" | "OVER_THE_COUNTER" | "PAYPAL";
2342
2387
  invoiceId: string;
2343
2388
  amount: number;
2344
2389
  _id?: string | ObjectId | undefined;
@@ -2358,7 +2403,7 @@ declare function usePaymentModel(db: Db): {
2358
2403
  payment?: string | undefined;
2359
2404
  subscriptionId?: string | ObjectId | undefined;
2360
2405
  };
2361
- paymentMethod: "EWALLET" | "QR_CODE" | "CARD" | "DIRECT_DEBIT" | "VIRTUAL_ACCOUNT" | "OVER_THE_COUNTER";
2406
+ paymentMethod: "EWALLET" | "QR_CODE" | "CARD" | "DIRECT_DEBIT" | "VIRTUAL_ACCOUNT" | "OVER_THE_COUNTER" | "PAYPAL";
2362
2407
  invoiceId: string;
2363
2408
  amount: number;
2364
2409
  _id?: string | ObjectId | undefined;
@@ -2397,7 +2442,7 @@ declare function usePaymentRepo(): {
2397
2442
  payment?: string | undefined;
2398
2443
  subscriptionId?: string | ObjectId | undefined;
2399
2444
  };
2400
- paymentMethod: "EWALLET" | "QR_CODE" | "CARD" | "DIRECT_DEBIT" | "VIRTUAL_ACCOUNT" | "OVER_THE_COUNTER";
2445
+ paymentMethod: "EWALLET" | "QR_CODE" | "CARD" | "DIRECT_DEBIT" | "VIRTUAL_ACCOUNT" | "OVER_THE_COUNTER" | "PAYPAL";
2401
2446
  invoiceId: string;
2402
2447
  amount: number;
2403
2448
  _id?: string | ObjectId | undefined;
@@ -2584,6 +2629,22 @@ declare function usePriceController(): {
2584
2629
  getByNameType: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2585
2630
  };
2586
2631
 
2632
+ declare function usePaypalService(): {
2633
+ createInvoice: (data: {
2634
+ invoiceNumber?: string | undefined;
2635
+ invoiceDate?: string | undefined;
2636
+ invoiceDueDate?: string | undefined;
2637
+ customerEmail: string;
2638
+ customerName?: string | undefined;
2639
+ quantity: number;
2640
+ ratePerSeat: number;
2641
+ currency: string;
2642
+ items?: Record<string, any>[] | undefined;
2643
+ note?: string | undefined;
2644
+ }) => Promise<string>;
2645
+ getInvoiceById: (invoiceId: string) => Promise<any>;
2646
+ };
2647
+
2587
2648
  declare const MONGO_URI: string;
2588
2649
  declare const MONGO_DB: string;
2589
2650
  declare const PORT: number;
@@ -2620,4 +2681,4 @@ declare const PAYPAL_API_URL: string;
2620
2681
  declare const XENDIT_SECRET_KEY: string;
2621
2682
  declare const XENDIT_BASE_URL: string;
2622
2683
 
2623
- export { ACCESS_TOKEN_EXPIRY, ACCESS_TOKEN_SECRET, APP_ACCOUNT, APP_MAIN, CardPayment, CardPaymentSchema, DEFAULT_USER_EMAIL, DEFAULT_USER_FIRST_NAME, DEFAULT_USER_LAST_NAME, DEFAULT_USER_PASSWORD, DirectDebit, DirectDebitSchema, EWalletPayment, EWalletPaymentSchema, MAILER_EMAIL, MAILER_PASSWORD, MAILER_TRANSPORT_HOST, MAILER_TRANSPORT_PORT, MAILER_TRANSPORT_SECURE, MAddress, MCapBldgAct, MComment, MEntity, MFile, MMember, MONGO_DB, MONGO_URI, MOrder, MOrg, MPaymentMethod, MPromoCode, MRole, MSubscription, MToken, MUser, MUserRole, MVerification, MWorkflow, PAYPAL_API_URL, PAYPAL_CLIENT_ID, PAYPAL_CLIENT_SECRET, PORT, 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, TAddress, TAttachment, TBillingRecipient, TCapBldgAct, TCapBldgActAssmtCriteria, TCapBldgActBasicInfo, TCapBldgActInitRevEval, TComment, TCounter, TEntity, TFile, TInvoice, TMember, TMiniRole, TOrder, TOrderMetadata, TOrg, TPayment, TPaymentMethod$1 as TPaymentMethod, TPaymentMethodType, TPrice, TPriceType, TPromoCode, TPromoTier, TRole, TSubscription, TToken, TUser, TUserRole, TVerification, TVerificationMetadata, TWorkflow, TWorkflowStep, VERIFICATION_FORGET_PASSWORD_DURATION, VERIFICATION_USER_INVITE_DURATION, XENDIT_BASE_URL, XENDIT_SECRET_KEY, addressSchema, isDev, schema, useAddressController, useAddressRepo, useAuthController, useAuthService, useCapBldgActController, useCapBldgActRepo, useCapBldgActService, useCommentController, useCommentRepo, useCommentService, useCounterModel, useCounterRepo, useEntityController, useEntityRepo, useEntityService, useFileController, useFileRepo, useFileService, useInvoiceController, useInvoiceModel, useInvoiceRepo, useInvoiceService, useMemberController, useMemberRepo, useOrderController, useOrderRepo, useOrgController, useOrgRepo, useOrgService, usePaymentController, usePaymentMethodController, usePaymentMethodRepo, usePaymentMethodService, usePaymentModel, usePaymentRepo, usePriceController, usePriceModel, usePriceRepo, usePromoCodeController, usePromoCodeRepo, useRoleController, useRoleRepo, useRoleService, useSubscriptionController, useSubscriptionRepo, useSubscriptionService, useTokenRepo, useUserController, useUserRepo, useUserService, useVerificationController, useVerificationRepo, useVerificationService, useWorkflowController, useWorkflowRepo, useWorkflowService, useXenditService, validateCardPayment, validateDirectDebit, validateEWalletPayment };
2684
+ export { ACCESS_TOKEN_EXPIRY, ACCESS_TOKEN_SECRET, APP_ACCOUNT, APP_MAIN, CardPayment, CardPaymentSchema, DEFAULT_USER_EMAIL, DEFAULT_USER_FIRST_NAME, DEFAULT_USER_LAST_NAME, DEFAULT_USER_PASSWORD, DirectDebit, DirectDebitSchema, EWalletPayment, EWalletPaymentSchema, MAILER_EMAIL, MAILER_PASSWORD, MAILER_TRANSPORT_HOST, MAILER_TRANSPORT_PORT, MAILER_TRANSPORT_SECURE, MAddress, MCapBldgAct, MComment, MEntity, MFile, MMember, MONGO_DB, MONGO_URI, MOrder, MOrg, MPaymentMethod, MPromoCode, MRole, MSubscription, MToken, MUser, MUserRole, MVerification, MWorkflow, PAYPAL_API_URL, PAYPAL_CLIENT_ID, PAYPAL_CLIENT_SECRET, PORT, 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, TAddress, TAttachment, TBillingRecipient, TCapBldgAct, TCapBldgActAssmtCriteria, TCapBldgActBasicInfo, TCapBldgActInitRevEval, TComment, TCounter, TEntity, TFile, TInvoice, TMember, TMiniRole, TOrder, TOrderMetadata, TOrg, TPayment, TPaymentMethod$1 as TPaymentMethod, TPaymentMethodType, TPrice, TPriceType, TPromoCode, TPromoTier, TRole, TSubscription, TToken, TUser, TUserRole, TVerification, TVerificationMetadata, TWorkflow, TWorkflowStep, VERIFICATION_FORGET_PASSWORD_DURATION, VERIFICATION_USER_INVITE_DURATION, XENDIT_BASE_URL, XENDIT_SECRET_KEY, addressSchema, isDev, schema, useAddressController, useAddressRepo, useAuthController, useAuthService, useCapBldgActController, useCapBldgActRepo, useCapBldgActService, useCommentController, useCommentRepo, useCommentService, useCounterModel, useCounterRepo, useEntityController, useEntityRepo, useEntityService, useFileController, useFileRepo, useFileService, useInvoiceController, useInvoiceModel, useInvoiceRepo, useInvoiceService, useMemberController, useMemberRepo, useOrderController, useOrderRepo, useOrgController, useOrgRepo, useOrgService, usePaymentController, usePaymentMethodController, usePaymentMethodRepo, usePaymentMethodService, usePaymentModel, usePaymentRepo, usePaypalService, usePriceController, usePriceModel, usePriceRepo, usePromoCodeController, usePromoCodeRepo, useRoleController, useRoleRepo, useRoleService, useSubscriptionController, useSubscriptionRepo, useSubscriptionService, useTokenRepo, useUserController, useUserRepo, useUserService, useVerificationController, useVerificationRepo, useVerificationService, useWorkflowController, useWorkflowRepo, useWorkflowService, useXenditService, validateCardPayment, validateDirectDebit, validateEWalletPayment };