@goweekdays/core 2.15.6 → 2.15.8

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,17 @@
1
1
  # @goweekdays/core
2
2
 
3
+ ## 2.15.8
4
+
5
+ ### Patch Changes
6
+
7
+ - c402102: Update asset item model
8
+
9
+ ## 2.15.7
10
+
11
+ ### Patch Changes
12
+
13
+ - a584a39: Enhance asset item management and tag management
14
+
3
15
  ## 2.15.6
4
16
 
5
17
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -2216,6 +2216,306 @@ declare function useCustomerCtrl(): {
2216
2216
  deleteById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2217
2217
  };
2218
2218
 
2219
+ declare const assetItemCategories: readonly ["supply", "tool", "vehicle", "facility", "equipment"];
2220
+ declare const assetItemClasses: readonly ["consumable", "semi_expendable", "ppe"];
2221
+ declare const assetItemPurposes: readonly ["internal", "for-sale", "for-rent"];
2222
+ declare const assetItemTrackingTypes: readonly ["quantity", "individual"];
2223
+ declare const assetItemStatuses: readonly ["active", "archived"];
2224
+ type TAssetItemCategory = "supply" | "tool" | "equipment" | "vehicle" | "facility";
2225
+ type TAssetItemClass = "consumable" | "semi_expendable" | "ppe";
2226
+ type TAssetItemPurpose = "internal" | "for-sale" | "for-rent";
2227
+ type TAssetItemTrackingType = "quantity" | "individual";
2228
+ type TAssetItemStatus = "active" | "archived";
2229
+ type TAssetItem = {
2230
+ _id?: ObjectId;
2231
+ orgId: ObjectId | string;
2232
+ name: string;
2233
+ description?: string;
2234
+ assetCategory: TAssetItemCategory;
2235
+ assetClass: TAssetItemClass;
2236
+ trackingType: TAssetItemTrackingType;
2237
+ purpose: TAssetItemPurpose;
2238
+ unit: string;
2239
+ price?: number;
2240
+ marketplacePrice?: number;
2241
+ isPublic: boolean;
2242
+ sku?: string;
2243
+ itemRefId?: string | ObjectId;
2244
+ remarks?: string;
2245
+ departmentId: ObjectId | string;
2246
+ departmentName: string;
2247
+ categoryId?: ObjectId | string;
2248
+ categoryName?: string;
2249
+ subcategoryId?: ObjectId | string;
2250
+ subcategoryName?: string;
2251
+ categoryPath?: string;
2252
+ brand?: string;
2253
+ tags: {
2254
+ id: string;
2255
+ name: string;
2256
+ }[];
2257
+ quantityOnHand?: number;
2258
+ status?: TAssetItemStatus;
2259
+ createdAt?: Date | string;
2260
+ updatedAt?: Date | string;
2261
+ deletedAt?: Date | string;
2262
+ };
2263
+ declare const schemaAssetItem: Joi.ObjectSchema<any>;
2264
+ declare const schemaAssetItemCreate: Joi.ObjectSchema<any>;
2265
+ declare const schemaAssetItemUpdate: Joi.ObjectSchema<any>;
2266
+ declare function modelAssetItem(data: TAssetItem): TAssetItem;
2267
+
2268
+ declare function useAssetItemRepo(): {
2269
+ createIndexes: () => Promise<void>;
2270
+ add: (value: TAssetItem, session?: ClientSession) => Promise<ObjectId>;
2271
+ getAll: ({ search, page, limit, status, assetCategory, trackingType, purpose, departmentId, categoryId, subcategoryId, brand, tags, }?: {
2272
+ search?: string | undefined;
2273
+ page?: number | undefined;
2274
+ limit?: number | undefined;
2275
+ status?: string | undefined;
2276
+ assetCategory?: string | undefined;
2277
+ trackingType?: string | undefined;
2278
+ purpose?: string | undefined;
2279
+ departmentId?: string | undefined;
2280
+ categoryId?: string | undefined;
2281
+ subcategoryId?: string | undefined;
2282
+ brand?: string | undefined;
2283
+ tags?: string[] | undefined;
2284
+ }) => Promise<Record<string, any>>;
2285
+ getById: (id: string) => Promise<TAssetItem>;
2286
+ updateById: (id: string, value: Partial<TAssetItem>) => Promise<mongodb.WithId<bson.Document>>;
2287
+ incrementQuantity: (id: string, amount: number, session?: ClientSession) => Promise<mongodb.WithId<bson.Document>>;
2288
+ deleteById: (id: string) => Promise<mongodb.WithId<bson.Document>>;
2289
+ };
2290
+
2291
+ declare function useAssetItemService(): {
2292
+ add: (value: {
2293
+ orgId: string;
2294
+ tags: {
2295
+ name: string;
2296
+ }[];
2297
+ } & Omit<TAssetItem, "tags">) => Promise<bson.ObjectId>;
2298
+ };
2299
+
2300
+ declare function useAssetItemController(): {
2301
+ add: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2302
+ getAll: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2303
+ getById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2304
+ updateById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2305
+ deleteById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2306
+ };
2307
+
2308
+ declare const assetUnitStatuses: readonly ["available", "assigned", "maintenance", "disposed"];
2309
+ type TAssetUnitStatus = "available" | "assigned" | "maintenance" | "disposed";
2310
+ type TAssetUnit = {
2311
+ _id?: ObjectId;
2312
+ itemId: ObjectId | string;
2313
+ serialNumber?: string;
2314
+ plateNumber?: string;
2315
+ status: TAssetUnitStatus;
2316
+ locationId?: string;
2317
+ assignedTo?: string;
2318
+ createdAt?: Date | string;
2319
+ updatedAt?: Date | string;
2320
+ };
2321
+ declare const schemaAssetUnit: Joi.ObjectSchema<any>;
2322
+ declare const schemaAssetUnitUpdate: Joi.ObjectSchema<any>;
2323
+ declare function modelAssetUnit(data: TAssetUnit): TAssetUnit;
2324
+
2325
+ declare function useAssetUnitRepo(): {
2326
+ createIndexes: () => Promise<void>;
2327
+ add: (value: TAssetUnit, session?: ClientSession) => Promise<ObjectId>;
2328
+ getByItemId: ({ itemId, status, page, limit, }: {
2329
+ itemId: string;
2330
+ status?: string | undefined;
2331
+ page?: number | undefined;
2332
+ limit?: number | undefined;
2333
+ }) => Promise<Record<string, any>>;
2334
+ getById: (id: string) => Promise<TAssetUnit>;
2335
+ updateById: (id: string, value: Partial<TAssetUnit>, session?: ClientSession) => Promise<mongodb.WithId<bson.Document>>;
2336
+ countByItemIdAndStatus: (itemId: string, status: string) => Promise<number>;
2337
+ };
2338
+
2339
+ declare function useAssetUnitController(): {
2340
+ add: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2341
+ getByItemId: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2342
+ getById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2343
+ updateById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2344
+ };
2345
+
2346
+ declare const stockMovementTypes: readonly ["in", "out", "transfer", "adjustment", "conversion"];
2347
+ declare const stockMovementReferenceTypes: readonly ["purchase", "sale", "transfer", "manual", "conversion"];
2348
+ type TStockMovementType = "in" | "out" | "transfer" | "adjustment" | "conversion";
2349
+ type TStockMovementReferenceType = "purchase" | "sale" | "transfer" | "manual" | "conversion";
2350
+ type TStockMovement = {
2351
+ _id?: ObjectId;
2352
+ itemId: ObjectId | string;
2353
+ type: TStockMovementType;
2354
+ quantity: number;
2355
+ unitCost?: number;
2356
+ totalCost?: number;
2357
+ reference?: {
2358
+ type: TStockMovementReferenceType;
2359
+ id?: string;
2360
+ };
2361
+ fromLocationId?: string;
2362
+ toLocationId?: string;
2363
+ fromItemId?: string;
2364
+ toItemId?: string;
2365
+ reason?: string;
2366
+ createdAt?: Date | string;
2367
+ };
2368
+ declare const schemaStockMovement: Joi.ObjectSchema<any>;
2369
+ declare function modelStockMovement(data: TStockMovement): TStockMovement;
2370
+
2371
+ declare function useStockMovementRepo(): {
2372
+ createIndexes: () => Promise<void>;
2373
+ add: (value: TStockMovement, session?: ClientSession) => Promise<ObjectId>;
2374
+ getByItemId: ({ itemId, type, page, limit, }: {
2375
+ itemId: string;
2376
+ type?: string | undefined;
2377
+ page?: number | undefined;
2378
+ limit?: number | undefined;
2379
+ }) => Promise<Record<string, any>>;
2380
+ getById: (id: string) => Promise<TStockMovement>;
2381
+ };
2382
+
2383
+ declare function useStockMovementService(): {
2384
+ stockIn: (value: TStockMovement, units?: Partial<TAssetUnit>[]) => Promise<bson.ObjectId>;
2385
+ stockOut: (value: TStockMovement, unitIds?: string[]) => Promise<bson.ObjectId>;
2386
+ transfer: (value: TStockMovement, unitIds?: string[]) => Promise<bson.ObjectId>;
2387
+ adjustment: (value: TStockMovement) => Promise<bson.ObjectId>;
2388
+ conversion: (newItem: TAssetItem, quantity: number, unitIds?: string[]) => Promise<{
2389
+ movementId: bson.ObjectId;
2390
+ newItemId: bson.ObjectId;
2391
+ }>;
2392
+ };
2393
+
2394
+ declare function useStockMovementController(): {
2395
+ stockIn: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2396
+ stockOut: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2397
+ transfer: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2398
+ adjustment: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2399
+ conversion: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2400
+ getByItemId: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2401
+ getById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2402
+ };
2403
+
2404
+ declare const categoryLevels: readonly ["department", "category", "subcategory"];
2405
+ type TCategoryLevel = "department" | "category" | "subcategory";
2406
+ type TCategoryType = "public" | "private";
2407
+ type TCategoryNode = {
2408
+ _id?: ObjectId;
2409
+ orgId?: ObjectId | string;
2410
+ level: TCategoryLevel;
2411
+ type?: TCategoryType;
2412
+ name: string;
2413
+ displayName: string;
2414
+ parentId?: ObjectId | string;
2415
+ path: string;
2416
+ status?: string;
2417
+ createdAt?: Date | string;
2418
+ updatedAt?: Date | string;
2419
+ };
2420
+ declare const schemaCategoryNodeCreate: Joi.ObjectSchema<any>;
2421
+ declare const schemaCategoryNodeUpdate: Joi.ObjectSchema<any>;
2422
+ declare const schemaCategoryNodeStd: Joi.ObjectSchema<any>;
2423
+ declare const schemaCategoryGetAll: Joi.ObjectSchema<any>;
2424
+ declare function normalizeName(displayName: string): string;
2425
+ declare function buildCategoryPath(departmentName: string, categoryName: string, subcategoryName: string): string;
2426
+ declare function modelCategoryNode(data: TCategoryNode): TCategoryNode;
2427
+
2428
+ declare function useCategoryRepo(): {
2429
+ createIndexes: () => Promise<void>;
2430
+ add: (value: TCategoryNode, session?: ClientSession) => Promise<ObjectId>;
2431
+ getAll: ({ page, limit, org, parent, level, type, search, status, }?: {
2432
+ page?: number | undefined;
2433
+ limit?: number | undefined;
2434
+ org?: string | undefined;
2435
+ parent?: string | undefined;
2436
+ level?: string | undefined;
2437
+ type?: string | undefined;
2438
+ search?: string | undefined;
2439
+ status?: string | undefined;
2440
+ }) => Promise<Record<string, any>>;
2441
+ getById: (_id: string | ObjectId) => Promise<TCategoryNode>;
2442
+ getByNameParent: (name: string, { parentId, orgId }?: {
2443
+ parentId?: string | undefined;
2444
+ orgId?: string | undefined;
2445
+ }) => Promise<TCategoryNode | null>;
2446
+ updateById: (_id: string | ObjectId, update: Pick<TCategoryNode, "displayName" | "name">, session?: ClientSession) => Promise<void>;
2447
+ hasChildren: (_id: string | ObjectId) => Promise<boolean>;
2448
+ softDeleteById: (_id: string | ObjectId, session?: ClientSession) => Promise<void>;
2449
+ };
2450
+
2451
+ declare function useCategoryService(): {
2452
+ add: (value: {
2453
+ orgId?: string;
2454
+ displayName: string;
2455
+ parentId?: string;
2456
+ }) => Promise<bson.ObjectId>;
2457
+ updateById: (_id: string, value: Pick<TCategoryNode, "displayName">) => Promise<void>;
2458
+ deleteById: (_id: string) => Promise<void>;
2459
+ };
2460
+
2461
+ declare function useCategoryController(): {
2462
+ add: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2463
+ getAll: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2464
+ getById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2465
+ updateById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2466
+ deleteById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2467
+ };
2468
+
2469
+ type TTag = {
2470
+ _id?: ObjectId;
2471
+ name: string;
2472
+ normalizedName: string;
2473
+ type: "public" | "private";
2474
+ orgId?: ObjectId | string;
2475
+ categoryPath?: string;
2476
+ status?: "active" | "pending";
2477
+ usageCount?: number;
2478
+ createdAt?: Date | string;
2479
+ updatedAt?: Date | string;
2480
+ };
2481
+ declare const schemaTagCreate: Joi.ObjectSchema<any>;
2482
+ declare const schemaTagStd: Joi.ObjectSchema<any>;
2483
+ declare const schemaTagUpdate: Joi.ObjectSchema<any>;
2484
+ declare function modelTag(data: TTag): TTag;
2485
+
2486
+ declare function useTagRepo(): {
2487
+ createIndexes: () => Promise<void>;
2488
+ add: (value: TTag, session?: ClientSession) => Promise<ObjectId>;
2489
+ getAll: (options: {
2490
+ search?: string;
2491
+ page?: number;
2492
+ limit?: number;
2493
+ type?: string;
2494
+ orgId?: string;
2495
+ status?: string;
2496
+ categoryPath?: string;
2497
+ }) => Promise<Record<string, any>>;
2498
+ getById: (_id: string | ObjectId) => Promise<TTag>;
2499
+ findByNormalizedNameAndOrg: (normalizedName: string, orgId: string) => Promise<TTag | null>;
2500
+ updateById: (_id: string | ObjectId, options: Partial<Pick<TTag, "name" | "normalizedName" | "type" | "orgId" | "categoryPath" | "status">>, session?: ClientSession) => Promise<string>;
2501
+ deleteById: (_id: string | ObjectId, session?: ClientSession) => Promise<string>;
2502
+ incrementUsageCount: (_id: string | ObjectId, amount?: number, session?: ClientSession) => Promise<void>;
2503
+ };
2504
+
2505
+ declare function useTagService(): {
2506
+ add: (value: Pick<TTag, "name" | "type" | "orgId" | "categoryPath">) => Promise<bson.ObjectId>;
2507
+ updateById: (id: string, value: Partial<Pick<TTag, "name" | "type" | "orgId" | "categoryPath" | "status">>) => Promise<string>;
2508
+ deleteById: (id: string) => Promise<string>;
2509
+ };
2510
+
2511
+ declare function useTagController(): {
2512
+ add: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2513
+ getAll: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2514
+ getById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2515
+ updateById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2516
+ deleteById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
2517
+ };
2518
+
2219
2519
  declare const MONGO_URI: string;
2220
2520
  declare const MONGO_DB: string;
2221
2521
  declare const PORT: number;
@@ -2255,4 +2555,4 @@ declare const XENDIT_BASE_URL: string;
2255
2555
  declare const DOMAIN: string;
2256
2556
  declare const APP_ORG: string;
2257
2557
 
2258
- 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, JournalStatuses, 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, TAccountBalance, TApp, TBuilding, TBuildingUnit, TBusinessProfile, TBusinessProfileTaxType, 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, TJournal, TJournalLine, TJournalLineStatus, TJournalStatus, TJournalTransaction, TJournalTransactionAccount, TJournalType, 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, journalTypes, ledgerBillStatuses, ledgerBillTypes, modelAccountBalance, modelApp, modelBusinessProfile, modelChartOfAccount, modelCustomer, modelJobApplication, modelJobPost, modelJobProfile, modelJobProfileCert, modelJobProfileEdu, modelJobProfileLang, modelJobProfileSkill, modelJobProfileWorkExp, modelJobStatusSetup, modelJobStatusTrans, modelJobSummary, modelJournal, modelJournalLine, modelJournalTransaction, modelLedgerBill, modelMember, modelOption, modelOrg, modelPermission, modelPermissionGroup, modelPlan, modelPromo, modelRole, modelSubscription, modelSubscriptionTransaction, modelTax, modelUser, modelVerification, schemaAccountBalance, schemaApp, schemaAppUpdate, schemaAward, schemaBuilding, schemaBuildingUnit, schemaBusinessProfile, schemaBusinessProfileBusinessName, schemaBusinessProfileCurrentFiscalYear, schemaBusinessProfileFiscalYear, schemaBusinessProfileRDOCode, schemaBusinessProfileRegisteredAddress, schemaBusinessProfileTIN, schemaBusinessProfileTradeName, 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, schemaJournalCtrl, schemaJournalCtrlUpdate, schemaJournalGetAll, schemaJournalLineBase, schemaJournalLineCtrl, schemaJournalLineCtrlUpdate, schemaJournalLineRepo, schemaJournalRepo, schemaJournalRepoUpdate, schemaJournalTransactionAccount, schemaJournalTransactionCtrl, schemaJournalTransactionCtrlUpdate, schemaJournalTransactionGetAll, schemaJournalTransactionRepo, 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, taxTypes, transactionSchema, useAccountBalanceRepo, useAppController, useAppRepo, useAppService, useAuthController, useAuthService, useBuildingController, useBuildingRepo, useBuildingService, useBuildingUnitController, useBuildingUnitRepo, useBuildingUnitService, useBusinessProfileCtrl, useBusinessProfileRepo, useChartOfAccountController, useChartOfAccountRepo, useCounterModel, useCounterRepo, useCustomerCtrl, useCustomerRepo, useFileController, useFileRepo, useFileService, useGitHubService, useJobApplicationController, useJobApplicationRepo, useJobPostController, useJobPostRepo, useJobPostService, useJobProfileCtrl, useJobProfileRepo, useJobStatusConfigController, useJobStatusConfigRepo, useJobSummaryCtrl, useJobSummaryRepo, useJobSummarySvc, useJournalController, useJournalLineController, useJournalLineRepo, useJournalRepo, useJournalService, useJournalTransactionController, useJournalTransactionRepo, useJournalTransactionService, 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 };
2558
+ 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, JournalStatuses, 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, TAccountBalance, TApp, TAssetItem, TAssetItemCategory, TAssetItemClass, TAssetItemPurpose, TAssetItemStatus, TAssetItemTrackingType, TAssetUnit, TAssetUnitStatus, TBuilding, TBuildingUnit, TBusinessProfile, TBusinessProfileTaxType, TCategoryLevel, TCategoryNode, TCategoryType, 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, TJournal, TJournalLine, TJournalLineStatus, TJournalStatus, TJournalTransaction, TJournalTransactionAccount, TJournalType, TLedgerBill, TMember, TOption, TOrg, TPermission, TPermissionGroup, TPlan, TPromo, TRole, TStockMovement, TStockMovementReferenceType, TStockMovementType, TSubscribe, TSubscription, TSubscriptionTransaction, TTag, TTax, TUser, TVerification, TVerificationMetadata, VERIFICATION_FORGET_PASSWORD_DURATION, VERIFICATION_USER_INVITE_DURATION, XENDIT_BASE_URL, XENDIT_SECRET_KEY, assetItemCategories, assetItemClasses, assetItemPurposes, assetItemStatuses, assetItemTrackingTypes, assetUnitStatuses, buildCategoryPath, categoryLevels, chartOfAccountControlTypes, chartOfAccountNormalBalances, chartOfAccountStatuses, chartOfAccountTypes, currencies, customerStatuses, isDev, jobApplicationStatuses, journalLineStatuses, journalTypes, ledgerBillStatuses, ledgerBillTypes, modelAccountBalance, modelApp, modelAssetItem, modelAssetUnit, modelBusinessProfile, modelCategoryNode, modelChartOfAccount, modelCustomer, modelJobApplication, modelJobPost, modelJobProfile, modelJobProfileCert, modelJobProfileEdu, modelJobProfileLang, modelJobProfileSkill, modelJobProfileWorkExp, modelJobStatusSetup, modelJobStatusTrans, modelJobSummary, modelJournal, modelJournalLine, modelJournalTransaction, modelLedgerBill, modelMember, modelOption, modelOrg, modelPermission, modelPermissionGroup, modelPlan, modelPromo, modelRole, modelStockMovement, modelSubscription, modelSubscriptionTransaction, modelTag, modelTax, modelUser, modelVerification, normalizeName, schemaAccountBalance, schemaApp, schemaAppUpdate, schemaAssetItem, schemaAssetItemCreate, schemaAssetItemUpdate, schemaAssetUnit, schemaAssetUnitUpdate, schemaAward, schemaBuilding, schemaBuildingUnit, schemaBusinessProfile, schemaBusinessProfileBusinessName, schemaBusinessProfileCurrentFiscalYear, schemaBusinessProfileFiscalYear, schemaBusinessProfileRDOCode, schemaBusinessProfileRegisteredAddress, schemaBusinessProfileTIN, schemaBusinessProfileTradeName, schemaCategoryGetAll, schemaCategoryNodeCreate, schemaCategoryNodeStd, schemaCategoryNodeUpdate, 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, schemaJournalCtrl, schemaJournalCtrlUpdate, schemaJournalGetAll, schemaJournalLineBase, schemaJournalLineCtrl, schemaJournalLineCtrlUpdate, schemaJournalLineRepo, schemaJournalRepo, schemaJournalRepoUpdate, schemaJournalTransactionAccount, schemaJournalTransactionCtrl, schemaJournalTransactionCtrlUpdate, schemaJournalTransactionGetAll, schemaJournalTransactionRepo, schemaLanguage, schemaLedgerBill, schemaLedgerBillingSummary, schemaMember, schemaMemberRole, schemaMemberStatus, schemaMilitaryExp, schemaOption, schemaOrg, schemaOrgAdd, schemaOrgPilot, schemaOrgUpdate, schemaPatent, schemaPermission, schemaPermissionGroup, schemaPermissionGroupUpdate, schemaPermissionUpdate, schemaPlan, schemaPromo, schemaPublication, schemaRole, schemaRoleUpdate, schemaSkill, schemaStockMovement, schemaSubscribe, schemaSubscription, schemaSubscriptionCompute, schemaSubscriptionPromoCode, schemaSubscriptionSeats, schemaSubscriptionTransaction, schemaSubscriptionUpdate, schemaTagCreate, schemaTagStd, schemaTagUpdate, schemaTax, schemaTaxUpdate, schemaUpdateOptions, schemaUser, schemaVerification, schemaVerificationOrgInvite, schemaWorkExp, stockMovementReferenceTypes, stockMovementTypes, taxDirections, taxTypes, transactionSchema, useAccountBalanceRepo, useAppController, useAppRepo, useAppService, useAssetItemController, useAssetItemRepo, useAssetItemService, useAssetUnitController, useAssetUnitRepo, useAuthController, useAuthService, useBuildingController, useBuildingRepo, useBuildingService, useBuildingUnitController, useBuildingUnitRepo, useBuildingUnitService, useBusinessProfileCtrl, useBusinessProfileRepo, useCategoryController, useCategoryRepo, useCategoryService, useChartOfAccountController, useChartOfAccountRepo, useCounterModel, useCounterRepo, useCustomerCtrl, useCustomerRepo, useFileController, useFileRepo, useFileService, useGitHubService, useJobApplicationController, useJobApplicationRepo, useJobPostController, useJobPostRepo, useJobPostService, useJobProfileCtrl, useJobProfileRepo, useJobStatusConfigController, useJobStatusConfigRepo, useJobSummaryCtrl, useJobSummaryRepo, useJobSummarySvc, useJournalController, useJournalLineController, useJournalLineRepo, useJournalRepo, useJournalService, useJournalTransactionController, useJournalTransactionRepo, useJournalTransactionService, 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, useStockMovementController, useStockMovementRepo, useStockMovementService, useSubscriptionController, useSubscriptionRepo, useSubscriptionService, useSubscriptionTransactionController, useSubscriptionTransactionRepo, useTagController, useTagRepo, useTagService, useTaxController, useTaxRepo, useUserController, useUserRepo, useUserService, useUtilController, useVerificationController, useVerificationRepo, useVerificationService };