@react-pakistan/util-functions 1.25.49 → 1.25.50

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.
Files changed (60) hide show
  1. package/api/stellar-solutions/app-user/index.d.ts +1 -1
  2. package/api/stellar-solutions/bank/index.d.ts +1 -1
  3. package/api/stellar-solutions/branch/index.d.ts +1 -1
  4. package/api/stellar-solutions/company/index.d.ts +1 -1
  5. package/api/stellar-solutions/company-report/index.d.ts +1 -1
  6. package/api/stellar-solutions/contact/index.d.ts +1 -1
  7. package/api/stellar-solutions/currency/index.d.ts +1 -1
  8. package/api/stellar-solutions/customer/index.d.ts +1 -1
  9. package/api/stellar-solutions/expense/index.d.ts +1 -1
  10. package/api/stellar-solutions/expense-category/index.d.ts +1 -1
  11. package/api/stellar-solutions/lead/index.d.ts +1 -1
  12. package/api/stellar-solutions/menu-order/index.d.ts +1 -1
  13. package/api/stellar-solutions/payment/index.d.ts +1 -1
  14. package/api/stellar-solutions/payment/index.js +2 -2
  15. package/api/stellar-solutions/payment-mode/index.d.ts +1 -1
  16. package/api/stellar-solutions/preference/index.d.ts +1 -1
  17. package/api/stellar-solutions/product/index.d.ts +1 -1
  18. package/api/stellar-solutions/product-category/index.d.ts +1 -1
  19. package/api/stellar-solutions/profile/index.d.ts +1 -1
  20. package/api/stellar-solutions/quote-invoice/index.d.ts +1 -1
  21. package/api/stellar-solutions/quote-invoice-report/index.d.ts +1 -1
  22. package/api/stellar-solutions/tax/index.d.ts +1 -1
  23. package/api/stellar-solutions/types/common.d.ts +24 -0
  24. package/api/stellar-solutions/types/common.js +22 -0
  25. package/api/stellar-solutions/{type.d.ts → types/erp.d.ts} +1 -199
  26. package/api/stellar-solutions/types/erp.js +68 -0
  27. package/api/stellar-solutions/types/index.d.ts +3 -0
  28. package/api/stellar-solutions/types/index.js +19 -0
  29. package/api/stellar-solutions/types/pos.d.ts +176 -0
  30. package/api/stellar-solutions/types/pos.js +61 -0
  31. package/index.d.ts +1 -1
  32. package/index.js +1 -1
  33. package/package.json +1 -1
  34. package/api/stellar-solutions/bank/cache.d.ts +0 -0
  35. package/api/stellar-solutions/bank/cache.js +0 -237
  36. package/api/stellar-solutions/branch/cache.d.ts +0 -0
  37. package/api/stellar-solutions/branch/cache.js +0 -241
  38. package/api/stellar-solutions/company/cache.d.ts +0 -0
  39. package/api/stellar-solutions/company/cache.js +0 -247
  40. package/api/stellar-solutions/contact/cache.d.ts +0 -0
  41. package/api/stellar-solutions/contact/cache.js +0 -247
  42. package/api/stellar-solutions/currency/cache.d.ts +0 -0
  43. package/api/stellar-solutions/currency/cache.js +0 -243
  44. package/api/stellar-solutions/customer/cache.d.ts +0 -0
  45. package/api/stellar-solutions/customer/cache.js +0 -249
  46. package/api/stellar-solutions/expense/cache.d.ts +0 -0
  47. package/api/stellar-solutions/expense/cache.js +0 -247
  48. package/api/stellar-solutions/expense-category/cache.d.ts +0 -0
  49. package/api/stellar-solutions/expense-category/cache.js +0 -224
  50. package/api/stellar-solutions/payment-mode/cache.d.ts +0 -0
  51. package/api/stellar-solutions/payment-mode/cache.js +0 -245
  52. package/api/stellar-solutions/preference/cache.d.ts +0 -0
  53. package/api/stellar-solutions/preference/cache.js +0 -218
  54. package/api/stellar-solutions/product/cache.d.ts +0 -0
  55. package/api/stellar-solutions/product/cache.js +0 -222
  56. package/api/stellar-solutions/product-category/cache.d.ts +0 -0
  57. package/api/stellar-solutions/product-category/cache.js +0 -224
  58. package/api/stellar-solutions/tax/cache.d.ts +0 -0
  59. package/api/stellar-solutions/tax/cache.js +0 -235
  60. package/api/stellar-solutions/type.js +0 -142
@@ -1,4 +1,4 @@
1
- import { AppUserBE } from '../type';
1
+ import { AppUserBE } from '../types';
2
2
  type PrismaClient = any;
3
3
  export interface ListAppUserArgs {
4
4
  currentPage?: number;
@@ -1,4 +1,4 @@
1
- import { BankBE } from '../type';
1
+ import { BankBE } from '../types';
2
2
  type PrismaClient = any;
3
3
  export interface ListBankArgs {
4
4
  currentPage?: number;
@@ -1,4 +1,4 @@
1
- import { BranchBE } from '../type';
1
+ import { BranchBE } from '../types';
2
2
  type PrismaClient = any;
3
3
  export interface ListBranchArgs {
4
4
  currentPage?: number;
@@ -1,4 +1,4 @@
1
- import { CompanyBE } from '../type';
1
+ import { CompanyBE } from '../types';
2
2
  type PrismaClient = any;
3
3
  export interface ListCompanyArgs {
4
4
  currentPage?: number;
@@ -1,4 +1,4 @@
1
- import { CompanyBE } from '../type';
1
+ import { CompanyBE } from '../types';
2
2
  type PrismaClient = any;
3
3
  export interface PostCompaniesReportArgs {
4
4
  orderByColumn?: string;
@@ -1,4 +1,4 @@
1
- import { ContactBE } from '../type';
1
+ import { ContactBE } from '../types';
2
2
  type PrismaClient = any;
3
3
  export interface ListContactArgs {
4
4
  currentPage?: number;
@@ -1,4 +1,4 @@
1
- import { CurrencyBE } from '../type';
1
+ import { CurrencyBE } from '../types';
2
2
  type PrismaClient = any;
3
3
  export interface ListCurrencyArgs {
4
4
  currentPage?: number;
@@ -1,4 +1,4 @@
1
- import { CustomerBE } from '../type';
1
+ import { CustomerBE } from '../types';
2
2
  type PrismaClient = any;
3
3
  export interface ListCustomerArgs {
4
4
  currentPage?: number;
@@ -1,4 +1,4 @@
1
- import { ExpenseBE } from '../type';
1
+ import { ExpenseBE } from '../types';
2
2
  type PrismaClient = any;
3
3
  export interface ListExpenseArgs {
4
4
  currentPage?: number;
@@ -1,4 +1,4 @@
1
- import { ExpenseCategoryBE } from '../type';
1
+ import { ExpenseCategoryBE } from '../types';
2
2
  type PrismaClient = any;
3
3
  export interface ListExpenseCategoryArgs {
4
4
  currentPage?: number;
@@ -1,4 +1,4 @@
1
- import { LeadBE } from '../type';
1
+ import { LeadBE } from '../types';
2
2
  type PrismaClient = any;
3
3
  export interface ListLeadArgs {
4
4
  currentPage?: number;
@@ -1,4 +1,4 @@
1
- import { MenuOrderBE } from '../type';
1
+ import { MenuOrderBE } from '../types';
2
2
  type PrismaClient = any;
3
3
  export interface ListMenuOrderArgs {
4
4
  currentPage?: number;
@@ -1,4 +1,4 @@
1
- import { PaymentBE } from '../type';
1
+ import { PaymentBE } from '../types';
2
2
  type PrismaClient = any;
3
3
  export interface ListPaymentArgs {
4
4
  currentPage?: number;
@@ -58,7 +58,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
58
58
  Object.defineProperty(exports, "__esModule", { value: true });
59
59
  exports.deletePayment = exports.updatePayment = exports.unitPaymentById = exports.listPayment = void 0;
60
60
  var general_1 = require("../../../general");
61
- var type_1 = require("../type");
61
+ var types_1 = require("../types");
62
62
  /**
63
63
  * Retrieves a paginated list of payments
64
64
  * @param {ListPaymentArgs} args - Object containing prisma client, pagination, filtering, and ordering options
@@ -192,7 +192,7 @@ var updatePayment = function (_a) { return __awaiter(void 0, [_a], void 0, funct
192
192
  payment = _c.sent();
193
193
  if (!(Number(balance) === 0)) return [3 /*break*/, 3];
194
194
  return [4 /*yield*/, prisma.quoteInvoice.update({
195
- data: { invoiceStatus: type_1.INVOICE_STATUS.PAID },
195
+ data: { invoiceStatus: types_1.INVOICE_STATUS.PAID },
196
196
  where: { id: quoteInvoiceId },
197
197
  })];
198
198
  case 2:
@@ -1,4 +1,4 @@
1
- import { PaymentModeBE } from '../type';
1
+ import { PaymentModeBE } from '../types';
2
2
  type PrismaClient = any;
3
3
  export interface ListPaymentModeArgs {
4
4
  currentPage?: number;
@@ -1,4 +1,4 @@
1
- import { PreferenceBE } from '../type';
1
+ import { PreferenceBE } from '../types';
2
2
  type PrismaClient = any;
3
3
  export interface ListPreferencesArgs {
4
4
  orderByColumn?: string;
@@ -1,4 +1,4 @@
1
- import { ProductBE } from '../type';
1
+ import { ProductBE } from '../types';
2
2
  type PrismaClient = any;
3
3
  export interface ListProductArgs {
4
4
  buyPrice?: number;
@@ -1,4 +1,4 @@
1
- import { ProductCategoryBE } from '../type';
1
+ import { ProductCategoryBE } from '../types';
2
2
  type PrismaClient = any;
3
3
  export interface ListProductCategoryArgs {
4
4
  currentPage?: number;
@@ -1,4 +1,4 @@
1
- import { ProfileBE } from '../type';
1
+ import { ProfileBE } from '../types';
2
2
  type PrismaClient = any;
3
3
  interface GetProfilesArgs {
4
4
  orderByColumn?: string;
@@ -1,4 +1,4 @@
1
- import { QUOTE_INVOICE_CATEGORY, QuoteInvoiceBE } from '../type';
1
+ import { QUOTE_INVOICE_CATEGORY, QuoteInvoiceBE } from '../types';
2
2
  type PrismaClient = any;
3
3
  export interface ListQuoteInvoiceArgs {
4
4
  category: QUOTE_INVOICE_CATEGORY;
@@ -1,4 +1,4 @@
1
- import { QuoteInvoiceBE } from '../type';
1
+ import { QuoteInvoiceBE } from '../types';
2
2
  type PrismaClient = any;
3
3
  export interface PostQuotesInvoicesReportArgs {
4
4
  orderByColumn?: string;
@@ -1,4 +1,4 @@
1
- import { TaxBE } from '../type';
1
+ import { TaxBE } from '../types';
2
2
  type PrismaClient = any;
3
3
  export interface ListTaxArgs {
4
4
  currentPage?: number;
@@ -0,0 +1,24 @@
1
+ export declare enum LS_KEYS {
2
+ BANKS = "stellar_banks_cache",
3
+ BRANCHES = "stellar_branches_cache",
4
+ COMPANIES = "stellar_companies_cache",
5
+ CONTACTS = "stellar_contacts_cache",
6
+ CURRENCIES = "stellar_currencies_cache",
7
+ CUSTOMERS = "stellar_customers_cache",
8
+ EXPENSE_CATEGORIES = "stellar_expense_categories_cache",
9
+ EXPENSES = "stellar_expenses_cache",
10
+ PAYMENT_MODES = "stellar_payment_modes_cache",
11
+ PREFERENCES = "stellar_preferences_cache",
12
+ PRODUCT_CATEGORIES = "stellar_product_categories_cache",
13
+ PRODUCTS = "stellar_products_cache",
14
+ TAXES = "stellar_taxes_cache"
15
+ }
16
+ /**
17
+ * Base entity interface with common audit fields and meta support
18
+ */
19
+ export interface BaseEntity {
20
+ id: string;
21
+ createdAt: Date;
22
+ updatedAt: Date;
23
+ meta?: any;
24
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ // ============================================================================
3
+ // ENUMS
4
+ // ============================================================================
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.LS_KEYS = void 0;
7
+ var LS_KEYS;
8
+ (function (LS_KEYS) {
9
+ LS_KEYS["BANKS"] = "stellar_banks_cache";
10
+ LS_KEYS["BRANCHES"] = "stellar_branches_cache";
11
+ LS_KEYS["COMPANIES"] = "stellar_companies_cache";
12
+ LS_KEYS["CONTACTS"] = "stellar_contacts_cache";
13
+ LS_KEYS["CURRENCIES"] = "stellar_currencies_cache";
14
+ LS_KEYS["CUSTOMERS"] = "stellar_customers_cache";
15
+ LS_KEYS["EXPENSE_CATEGORIES"] = "stellar_expense_categories_cache";
16
+ LS_KEYS["EXPENSES"] = "stellar_expenses_cache";
17
+ LS_KEYS["PAYMENT_MODES"] = "stellar_payment_modes_cache";
18
+ LS_KEYS["PREFERENCES"] = "stellar_preferences_cache";
19
+ LS_KEYS["PRODUCT_CATEGORIES"] = "stellar_product_categories_cache";
20
+ LS_KEYS["PRODUCTS"] = "stellar_products_cache";
21
+ LS_KEYS["TAXES"] = "stellar_taxes_cache";
22
+ })(LS_KEYS || (exports.LS_KEYS = LS_KEYS = {}));
@@ -1,3 +1,4 @@
1
+ import { BaseEntity } from './common';
1
2
  export declare enum GENDER {
2
3
  MALE = "MALE",
3
4
  FEMALE = "FEMALE"
@@ -51,76 +52,6 @@ export declare enum LEAD_STATUS {
51
52
  DRAFT = "DRAFT",
52
53
  WAITING = "WAITING"
53
54
  }
54
- export declare enum LS_KEYS {
55
- BANKS = "stellar_banks_cache",
56
- BRANCHES = "stellar_branches_cache",
57
- COMPANIES = "stellar_companies_cache",
58
- CONTACTS = "stellar_contacts_cache",
59
- CURRENCIES = "stellar_currencies_cache",
60
- CUSTOMERS = "stellar_customers_cache",
61
- EXPENSE_CATEGORIES = "stellar_expense_categories_cache",
62
- EXPENSES = "stellar_expenses_cache",
63
- PAYMENT_MODES = "stellar_payment_modes_cache",
64
- PREFERENCES = "stellar_preferences_cache",
65
- PRODUCT_CATEGORIES = "stellar_product_categories_cache",
66
- PRODUCTS = "stellar_products_cache",
67
- TAXES = "stellar_taxes_cache"
68
- }
69
- export declare enum POS_ORDER_STATUS {
70
- OPEN = "OPEN",
71
- CLOSED = "CLOSED",
72
- CANCELLED = "CANCELLED",
73
- REFUNDED = "REFUNDED"
74
- }
75
- export declare enum POS_PAYMENT_STATUS {
76
- PENDING = "PENDING",
77
- PAID = "PAID",
78
- FAILED = "FAILED",
79
- REFUNDED = "REFUNDED"
80
- }
81
- export declare enum POS_PAYMENT_METHOD_TYPE {
82
- CASH = "CASH",
83
- CARD = "CARD",
84
- GIFT_CARD = "GIFT_CARD",
85
- MOBILE_WALLET = "MOBILE_WALLET",
86
- OTHER = "OTHER"
87
- }
88
- export declare enum POS_REGISTER_STATUS {
89
- ACTIVE = "ACTIVE",
90
- INACTIVE = "INACTIVE"
91
- }
92
- export declare enum POS_TAX_TYPE {
93
- EXCLUSIVE = "EXCLUSIVE",
94
- INCLUSIVE = "INCLUSIVE"
95
- }
96
- export declare enum POS_TABLE_STATUS {
97
- AVAILABLE = "AVAILABLE",
98
- OCCUPIED = "OCCUPIED",
99
- RESERVED = "RESERVED"
100
- }
101
- export declare enum POS_RESERVATION_STATUS {
102
- PENDING = "PENDING",
103
- CONFIRMED = "CONFIRMED",
104
- CANCELLED = "CANCELLED",
105
- COMPLETED = "COMPLETED"
106
- }
107
- export declare enum POS_SHIFT_STATUS {
108
- OPEN = "OPEN",
109
- CLOSED = "CLOSED"
110
- }
111
- export declare enum POS_DISCOUNT_TYPE {
112
- FIXED = "FIXED",
113
- PERCENTAGE = "PERCENTAGE"
114
- }
115
- /**
116
- * Base entity interface with common audit fields and meta support
117
- */
118
- export interface BaseEntity {
119
- id: string;
120
- createdAt: Date;
121
- updatedAt: Date;
122
- meta?: any;
123
- }
124
55
  /**
125
56
  * Profile model type
126
57
  */
@@ -365,132 +296,3 @@ export interface QuotesInvoicesOnStellarProducts {
365
296
  quantity: number;
366
297
  quoteInvoiceId: string;
367
298
  }
368
- export interface POSStoreBE extends BaseEntity {
369
- name: string;
370
- code?: string;
371
- address?: string;
372
- phone?: string;
373
- email?: string;
374
- currency: string;
375
- meta?: any;
376
- enabled: boolean;
377
- }
378
- export interface POSRegisterBE extends BaseEntity {
379
- name: string;
380
- storeId: string;
381
- status: POS_REGISTER_STATUS;
382
- meta?: any;
383
- }
384
- export interface POSShiftBE extends BaseEntity {
385
- registerId: string;
386
- openedByUserId?: string;
387
- openedAt: Date;
388
- closedAt?: Date;
389
- openingAmount: number;
390
- closingAmount?: number;
391
- status: POS_SHIFT_STATUS;
392
- meta?: any;
393
- }
394
- export interface POSCategoryBE extends BaseEntity {
395
- name: string;
396
- description?: string;
397
- storeId: string;
398
- parentId?: string;
399
- meta?: any;
400
- }
401
- export interface POSProductBE extends BaseEntity {
402
- sku?: string;
403
- name: string;
404
- description?: string;
405
- price: number;
406
- cost?: number;
407
- stock: number;
408
- storeId: string;
409
- categoryId?: string;
410
- meta?: any;
411
- }
412
- export interface POSProductVariantBE extends BaseEntity {
413
- productId: string;
414
- name: string;
415
- sku?: string;
416
- price: number;
417
- stock: number;
418
- meta?: any;
419
- }
420
- export interface POSCustomerBE extends BaseEntity {
421
- name: string;
422
- email?: string;
423
- phone?: string;
424
- storeId: string;
425
- loyaltyPoints: number;
426
- meta?: any;
427
- }
428
- export interface POSTableBE extends BaseEntity {
429
- storeId: string;
430
- name: string;
431
- seats: number;
432
- status: POS_TABLE_STATUS;
433
- meta?: any;
434
- }
435
- export interface POSReservationBE extends BaseEntity {
436
- tableId: string;
437
- customerId: string;
438
- startAt: Date;
439
- endAt: Date;
440
- partySize: number;
441
- status: POS_RESERVATION_STATUS;
442
- meta?: any;
443
- }
444
- export interface POSOrderBE extends BaseEntity {
445
- orderNumber: string;
446
- storeId: string;
447
- registerId?: string;
448
- customerId?: string;
449
- tableId?: string;
450
- status: POS_ORDER_STATUS;
451
- paymentStatus: POS_PAYMENT_STATUS;
452
- subTotal: number;
453
- taxTotal: number;
454
- discountTotal: number;
455
- serviceCharge: number;
456
- total: number;
457
- note?: string;
458
- meta?: any;
459
- }
460
- export interface POSOrderItemBE extends BaseEntity {
461
- orderId: string;
462
- productId?: string;
463
- variantId?: string;
464
- name: string;
465
- quantity: number;
466
- unitPrice: number;
467
- total: number;
468
- taxAmount: number;
469
- discountAmount: number;
470
- meta?: any;
471
- }
472
- export interface POSPaymentBE extends BaseEntity {
473
- orderId: string;
474
- amount: number;
475
- method: POS_PAYMENT_METHOD_TYPE;
476
- methodLabel?: string;
477
- status: POS_PAYMENT_STATUS;
478
- transactionRef?: string;
479
- processedAt?: Date;
480
- meta?: any;
481
- }
482
- export interface POSTaxBE extends BaseEntity {
483
- name: string;
484
- rate: number;
485
- type: POS_TAX_TYPE;
486
- isDefault: boolean;
487
- storeId: string;
488
- meta?: any;
489
- }
490
- export interface POSDiscountBE extends BaseEntity {
491
- name: string;
492
- type: POS_DISCOUNT_TYPE;
493
- value: number;
494
- storeId: string;
495
- meta?: any;
496
- }
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LEAD_STATUS = exports.LEAD_TYPE = exports.LEAD_SOURCE = exports.PAYMENT_TYPE = exports.QUOTE_STATUS = exports.INVOICE_STATUS = exports.DISCOUNT_UNIT = exports.QUOTE_INVOICE_CATEGORY = exports.GENDER = void 0;
4
+ // ============================================================================
5
+ // ERP ENUMS
6
+ // ============================================================================
7
+ var GENDER;
8
+ (function (GENDER) {
9
+ GENDER["MALE"] = "MALE";
10
+ GENDER["FEMALE"] = "FEMALE";
11
+ })(GENDER || (exports.GENDER = GENDER = {}));
12
+ var QUOTE_INVOICE_CATEGORY;
13
+ (function (QUOTE_INVOICE_CATEGORY) {
14
+ QUOTE_INVOICE_CATEGORY["QUOTE"] = "QUOTE";
15
+ QUOTE_INVOICE_CATEGORY["INVOICE"] = "INVOICE";
16
+ })(QUOTE_INVOICE_CATEGORY || (exports.QUOTE_INVOICE_CATEGORY = QUOTE_INVOICE_CATEGORY = {}));
17
+ var DISCOUNT_UNIT;
18
+ (function (DISCOUNT_UNIT) {
19
+ DISCOUNT_UNIT["FIXED_VALUE"] = "FIXED_VALUE";
20
+ DISCOUNT_UNIT["PERCENTAGE_VALUE"] = "PERCENTAGE_VALUE";
21
+ })(DISCOUNT_UNIT || (exports.DISCOUNT_UNIT = DISCOUNT_UNIT = {}));
22
+ var INVOICE_STATUS;
23
+ (function (INVOICE_STATUS) {
24
+ INVOICE_STATUS["UNPAID"] = "UNPAID";
25
+ INVOICE_STATUS["PAID"] = "PAID";
26
+ })(INVOICE_STATUS || (exports.INVOICE_STATUS = INVOICE_STATUS = {}));
27
+ var QUOTE_STATUS;
28
+ (function (QUOTE_STATUS) {
29
+ QUOTE_STATUS["DRAFT"] = "DRAFT";
30
+ QUOTE_STATUS["PENDING"] = "PENDING";
31
+ QUOTE_STATUS["SENT"] = "SENT";
32
+ QUOTE_STATUS["ACCEPTED"] = "ACCEPTED";
33
+ QUOTE_STATUS["DECLINED"] = "DECLINED";
34
+ })(QUOTE_STATUS || (exports.QUOTE_STATUS = QUOTE_STATUS = {}));
35
+ var PAYMENT_TYPE;
36
+ (function (PAYMENT_TYPE) {
37
+ PAYMENT_TYPE["FULL_AMOUNT"] = "FULL_AMOUNT";
38
+ PAYMENT_TYPE["PARTIAL_AMOUNT"] = "PARTIAL_AMOUNT";
39
+ })(PAYMENT_TYPE || (exports.PAYMENT_TYPE = PAYMENT_TYPE = {}));
40
+ var LEAD_SOURCE;
41
+ (function (LEAD_SOURCE) {
42
+ LEAD_SOURCE["WEBSITE"] = "WEBSITE";
43
+ LEAD_SOURCE["SOCIAL_MEDIA"] = "SOCIAL_MEDIA";
44
+ LEAD_SOURCE["LINKEDIN"] = "LINKEDIN";
45
+ LEAD_SOURCE["PROFESSIONAL_NETWORK"] = "PROFESSIONAL_NETWORK";
46
+ LEAD_SOURCE["CUSTOMER_REFERRAL"] = "CUSTOMER_REFERRAL";
47
+ LEAD_SOURCE["SALES"] = "SALES";
48
+ LEAD_SOURCE["ADVERTISING"] = "ADVERTISING";
49
+ LEAD_SOURCE["FRIEND"] = "FRIEND";
50
+ LEAD_SOURCE["OTHER"] = "OTHER";
51
+ })(LEAD_SOURCE || (exports.LEAD_SOURCE = LEAD_SOURCE = {}));
52
+ var LEAD_TYPE;
53
+ (function (LEAD_TYPE) {
54
+ LEAD_TYPE["COMPANY"] = "COMPANY";
55
+ LEAD_TYPE["CONTACT"] = "CONTACT";
56
+ })(LEAD_TYPE || (exports.LEAD_TYPE = LEAD_TYPE = {}));
57
+ var LEAD_STATUS;
58
+ (function (LEAD_STATUS) {
59
+ LEAD_STATUS["NEW"] = "NEW";
60
+ LEAD_STATUS["ASSIGNED"] = "ASSIGNED";
61
+ LEAD_STATUS["IN_NEGOTIATION"] = "IN_NEGOTIATION";
62
+ LEAD_STATUS["ON_HOLD"] = "ON_HOLD";
63
+ LEAD_STATUS["WON"] = "WON";
64
+ LEAD_STATUS["LOOSE"] = "LOOSE";
65
+ LEAD_STATUS["CANCELLED"] = "CANCELLED";
66
+ LEAD_STATUS["DRAFT"] = "DRAFT";
67
+ LEAD_STATUS["WAITING"] = "WAITING";
68
+ })(LEAD_STATUS || (exports.LEAD_STATUS = LEAD_STATUS = {}));
@@ -0,0 +1,3 @@
1
+ export * from './common';
2
+ export * from './erp';
3
+ export * from './pos';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./common"), exports);
18
+ __exportStar(require("./erp"), exports);
19
+ __exportStar(require("./pos"), exports);