@tomei/finance 0.6.99 → 0.6.102

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 (223) hide show
  1. package/.husky/commit-msg +12 -3
  2. package/.husky/pre-commit +4 -4
  3. package/configs/config.js +1 -1
  4. package/dist/account/account.d.ts +37 -37
  5. package/dist/account/account.js +251 -263
  6. package/dist/account/account.js.map +1 -1
  7. package/dist/account/account.repository.d.ts +5 -5
  8. package/dist/account/account.repository.js +11 -11
  9. package/dist/account/interfaces/account-attr.interface.d.ts +29 -29
  10. package/dist/account/interfaces/account-attr.interface.js +2 -2
  11. package/dist/account-system-entity/account-system-entity.d.ts +12 -12
  12. package/dist/account-system-entity/account-system-entity.js +55 -66
  13. package/dist/account-system-entity/account-system-entity.js.map +1 -1
  14. package/dist/account-system-entity/post-history.repository.d.ts +5 -5
  15. package/dist/account-system-entity/post-history.repository.js +11 -11
  16. package/dist/config.d.ts +1888 -1888
  17. package/dist/config.js +331 -331
  18. package/dist/config.js.map +1 -1
  19. package/dist/customer/customer.d.ts +44 -44
  20. package/dist/customer/customer.js +212 -234
  21. package/dist/customer/customer.js.map +1 -1
  22. package/dist/customer/finance-customer.repository.d.ts +5 -5
  23. package/dist/customer/finance-customer.repository.js +25 -25
  24. package/dist/customer/finance-customer.repository.js.map +1 -1
  25. package/dist/customer/interfaces/customer.repository.interface.d.ts +3 -3
  26. package/dist/customer/interfaces/customer.repository.interface.js +2 -2
  27. package/dist/customer/interfaces/finance-customer-attr.interface.d.ts +10 -10
  28. package/dist/customer/interfaces/finance-customer-attr.interface.js +2 -2
  29. package/dist/customer/interfaces/finance-customer.repository.interface.d.ts +3 -3
  30. package/dist/customer/interfaces/finance-customer.repository.interface.js +2 -2
  31. package/dist/database.d.ts +4 -4
  32. package/dist/database.js +46 -47
  33. package/dist/database.js.map +1 -1
  34. package/dist/document/document-item.d.ts +46 -46
  35. package/dist/document/document-item.js +122 -132
  36. package/dist/document/document-item.js.map +1 -1
  37. package/dist/document/document-item.repository.d.ts +5 -5
  38. package/dist/document/document-item.repository.js +11 -11
  39. package/dist/document/document.d.ts +87 -88
  40. package/dist/document/document.js +735 -766
  41. package/dist/document/document.js.map +1 -1
  42. package/dist/document/document.repository.d.ts +5 -5
  43. package/dist/document/document.repository.js +11 -11
  44. package/dist/document/interfaces/document-attr.interface.d.ts +27 -27
  45. package/dist/document/interfaces/document-attr.interface.js +6 -6
  46. package/dist/document/interfaces/document-find-all.interface.d.ts +13 -13
  47. package/dist/document/interfaces/document-find-all.interface.js +2 -2
  48. package/dist/document/interfaces/document-item-attr.interface.d.ts +26 -26
  49. package/dist/document/interfaces/document-item-attr.interface.js +6 -6
  50. package/dist/document/interfaces/document-item.repository.interface.d.ts +3 -3
  51. package/dist/document/interfaces/document-item.repository.interface.js +2 -2
  52. package/dist/enum/collect-payment-type.d.ts +4 -4
  53. package/dist/enum/collect-payment-type.js +8 -8
  54. package/dist/enum/collect-payment-type.js.map +1 -1
  55. package/dist/enum/doc-type.enum.d.ts +8 -8
  56. package/dist/enum/doc-type.enum.js +12 -12
  57. package/dist/enum/doc-type.enum.js.map +1 -1
  58. package/dist/enum/document-status.enum.d.ts +6 -6
  59. package/dist/enum/document-status.enum.js +10 -10
  60. package/dist/enum/document-status.enum.js.map +1 -1
  61. package/dist/enum/index.d.ts +9 -9
  62. package/dist/enum/index.js +19 -19
  63. package/dist/enum/payment-method.enum.d.ts +3 -3
  64. package/dist/enum/payment-method.enum.js +7 -7
  65. package/dist/enum/payment-method.enum.js.map +1 -1
  66. package/dist/enum/payment-status.enum.d.ts +10 -10
  67. package/dist/enum/payment-status.enum.js +15 -16
  68. package/dist/enum/payment-status.enum.js.map +1 -1
  69. package/dist/enum/payment-type.enum.d.ts +4 -4
  70. package/dist/enum/payment-type.enum.js +8 -8
  71. package/dist/enum/payment-type.enum.js.map +1 -1
  72. package/dist/enum/quick-book-client-scopes.enum.d.ts +13 -13
  73. package/dist/enum/quick-book-client-scopes.enum.js +18 -18
  74. package/dist/enum/quick-book-client-scopes.enum.js.map +1 -1
  75. package/dist/enum/transaction-type.enum.d.ts +4 -4
  76. package/dist/enum/transaction-type.enum.js +8 -8
  77. package/dist/enum/transaction-type.enum.js.map +1 -1
  78. package/dist/finance-company/finance-company.d.ts +88 -88
  79. package/dist/finance-company/finance-company.js +1533 -1576
  80. package/dist/finance-company/finance-company.js.map +1 -1
  81. package/dist/finance-company/finance-company.repository.d.ts +5 -5
  82. package/dist/finance-company/finance-company.repository.js +11 -11
  83. package/dist/helpers/login-user.d.ts +13 -13
  84. package/dist/helpers/login-user.js +28 -28
  85. package/dist/helpers/login-user.js.map +1 -1
  86. package/dist/helpers/typeof.d.ts +1 -1
  87. package/dist/helpers/typeof.js +28 -29
  88. package/dist/helpers/typeof.js.map +1 -1
  89. package/dist/index.d.ts +17 -17
  90. package/dist/index.js +32 -32
  91. package/dist/interfaces/account-system.interface.d.ts +30 -30
  92. package/dist/interfaces/account-system.interface.js +2 -2
  93. package/dist/interfaces/index.d.ts +2 -2
  94. package/dist/interfaces/index.js +2 -2
  95. package/dist/journal-entry/interfaces/journal-entry-attr.interface.d.ts +12 -12
  96. package/dist/journal-entry/interfaces/journal-entry-attr.interface.js +2 -2
  97. package/dist/journal-entry/journal-entry.d.ts +42 -42
  98. package/dist/journal-entry/journal-entry.js +216 -233
  99. package/dist/journal-entry/journal-entry.js.map +1 -1
  100. package/dist/journal-entry/journal-entry.repository.d.ts +6 -6
  101. package/dist/journal-entry/journal-entry.repository.js +16 -27
  102. package/dist/journal-entry/journal-entry.repository.js.map +1 -1
  103. package/dist/ledger-transaction/interfaces/ledger-transaction-attr.interface.d.ts +17 -17
  104. package/dist/ledger-transaction/interfaces/ledger-transaction-attr.interface.js +2 -2
  105. package/dist/ledger-transaction/interfaces/ledger-transaction.repository.interface.d.ts +5 -5
  106. package/dist/ledger-transaction/interfaces/ledger-transaction.repository.interface.js +2 -2
  107. package/dist/ledger-transaction/ledger-transaction.d.ts +54 -54
  108. package/dist/ledger-transaction/ledger-transaction.js +143 -164
  109. package/dist/ledger-transaction/ledger-transaction.js.map +1 -1
  110. package/dist/ledger-transaction/ledger-transaction.repository.d.ts +6 -6
  111. package/dist/ledger-transaction/ledger-transaction.repository.js +16 -27
  112. package/dist/ledger-transaction/ledger-transaction.repository.js.map +1 -1
  113. package/dist/models/account.entity.d.ts +30 -30
  114. package/dist/models/account.entity.js +232 -232
  115. package/dist/models/account.entity.js.map +1 -1
  116. package/dist/models/customer.entity.d.ts +13 -13
  117. package/dist/models/customer.entity.js +109 -109
  118. package/dist/models/customer.entity.js.map +1 -1
  119. package/dist/models/document-item.entity.d.ts +31 -31
  120. package/dist/models/document-item.entity.js +200 -200
  121. package/dist/models/document-item.entity.js.map +1 -1
  122. package/dist/models/document.entity.d.ts +36 -36
  123. package/dist/models/document.entity.js +242 -242
  124. package/dist/models/document.entity.js.map +1 -1
  125. package/dist/models/finance-company.entity.d.ts +15 -15
  126. package/dist/models/finance-company.entity.js +93 -93
  127. package/dist/models/finance-company.entity.js.map +1 -1
  128. package/dist/models/journal-entry.entity.d.ts +16 -16
  129. package/dist/models/journal-entry.entity.js +127 -127
  130. package/dist/models/journal-entry.entity.js.map +1 -1
  131. package/dist/models/ledger-transaction.entity.d.ts +24 -24
  132. package/dist/models/ledger-transaction.entity.js +172 -172
  133. package/dist/models/ledger-transaction.entity.js.map +1 -1
  134. package/dist/models/payment-item.entity.d.ts +12 -12
  135. package/dist/models/payment-item.entity.js +75 -75
  136. package/dist/models/payment-item.entity.js.map +1 -1
  137. package/dist/models/payment-method-type.entity.d.ts +13 -13
  138. package/dist/models/payment-method-type.entity.js +85 -85
  139. package/dist/models/payment-method-type.entity.js.map +1 -1
  140. package/dist/models/payment-method.entity.d.ts +10 -10
  141. package/dist/models/payment-method.entity.js +62 -62
  142. package/dist/models/payment-method.entity.js.map +1 -1
  143. package/dist/models/payment-paid-with.entity.d.ts +24 -24
  144. package/dist/models/payment-paid-with.entity.js +158 -158
  145. package/dist/models/payment-paid-with.entity.js.map +1 -1
  146. package/dist/models/payment.entity.d.ts +29 -29
  147. package/dist/models/payment.entity.js +193 -193
  148. package/dist/models/payment.entity.js.map +1 -1
  149. package/dist/models/post-history.entity.d.ts +11 -11
  150. package/dist/models/post-history.entity.js +63 -63
  151. package/dist/models/post-history.entity.js.map +1 -1
  152. package/dist/models/tax.entity.d.ts +13 -13
  153. package/dist/models/tax.entity.js +89 -89
  154. package/dist/models/tax.entity.js.map +1 -1
  155. package/dist/payment/interfaces/payment-attr.interface.d.ts +22 -22
  156. package/dist/payment/interfaces/payment-attr.interface.js +6 -6
  157. package/dist/payment/interfaces/payment-params.interface.d.ts +7 -7
  158. package/dist/payment/interfaces/payment-params.interface.js +2 -2
  159. package/dist/payment/payment.d.ts +53 -53
  160. package/dist/payment/payment.js +186 -201
  161. package/dist/payment/payment.js.map +1 -1
  162. package/dist/payment/payment.repository.d.ts +5 -5
  163. package/dist/payment/payment.repository.js +11 -11
  164. package/dist/payment-item/interfaces/payment-item-attr.interface.d.ts +10 -10
  165. package/dist/payment-item/interfaces/payment-item-attr.interface.js +6 -6
  166. package/dist/payment-item/payment-item.d.ts +25 -25
  167. package/dist/payment-item/payment-item.js +111 -122
  168. package/dist/payment-item/payment-item.js.map +1 -1
  169. package/dist/payment-item/payment-item.repository.d.ts +5 -5
  170. package/dist/payment-item/payment-item.repository.js +11 -11
  171. package/dist/payment-method/interfaces/payment-method-attr.interface.d.ts +5 -5
  172. package/dist/payment-method/interfaces/payment-method-attr.interface.js +2 -2
  173. package/dist/payment-method/payment-method.d.ts +21 -21
  174. package/dist/payment-method/payment-method.js +104 -117
  175. package/dist/payment-method/payment-method.js.map +1 -1
  176. package/dist/payment-method/payment-method.repository.d.ts +5 -5
  177. package/dist/payment-method/payment-method.repository.js +11 -11
  178. package/dist/payment-method-type/interfaces/payment-method-type-attr.interface.d.ts +8 -8
  179. package/dist/payment-method-type/interfaces/payment-method-type-attr.interface.js +2 -2
  180. package/dist/payment-method-type/payment-method-type.d.ts +18 -18
  181. package/dist/payment-method-type/payment-method-type.js +65 -76
  182. package/dist/payment-method-type/payment-method-type.js.map +1 -1
  183. package/dist/payment-method-type/payment-method-type.repository.d.ts +5 -5
  184. package/dist/payment-method-type/payment-method-type.repository.js +11 -11
  185. package/dist/payment-paid-with/interfaces/payment-paid-with.interface.d.ts +19 -19
  186. package/dist/payment-paid-with/interfaces/payment-paid-with.interface.js +6 -6
  187. package/dist/payment-paid-with/payment-paid-with.d.ts +33 -33
  188. package/dist/payment-paid-with/payment-paid-with.js +56 -56
  189. package/dist/payment-paid-with/payment-paid-with.js.map +1 -1
  190. package/dist/payment-paid-with/payment-paid-with.repository.d.ts +5 -5
  191. package/dist/payment-paid-with/payment-paid-with.repository.js +11 -11
  192. package/dist/tax/interfaces/tax-attr.interface.d.ts +10 -10
  193. package/dist/tax/interfaces/tax-attr.interface.js +2 -2
  194. package/dist/tax/tax.d.ts +26 -26
  195. package/dist/tax/tax.js +51 -51
  196. package/dist/tax/tax.js.map +1 -1
  197. package/dist/tax/tax.repository.d.ts +5 -5
  198. package/dist/tax/tax.repository.js +11 -11
  199. package/dist/test-document.d.ts +3 -3
  200. package/dist/test-document.js +18 -18
  201. package/dist/test.d.ts +1 -1
  202. package/dist/test.js +6 -7
  203. package/dist/test.js.map +1 -1
  204. package/dist/tsconfig.tsbuildinfo +1 -1
  205. package/eslint.config.mjs +58 -0
  206. package/invoice-template/assets/js/html2canvas.min.js +16 -16
  207. package/package.json +35 -41
  208. package/src/account/account.ts +2 -1
  209. package/src/customer/customer.ts +8 -7
  210. package/src/document/document-item.ts +3 -2
  211. package/src/document/document.ts +20 -13
  212. package/src/enum/collect-payment-type.ts +3 -3
  213. package/src/enum/payment-status.enum.ts +1 -1
  214. package/src/finance-company/finance-company.ts +5 -7
  215. package/src/journal-entry/journal-entry.ts +0 -1
  216. package/src/ledger-transaction/ledger-transaction.ts +4 -4
  217. package/src/payment-method-type/payment-method-type.ts +1 -1
  218. package/src/tax/tax.ts +0 -1
  219. package/tsconfig.json +4 -3
  220. package/.eslintrc.js +0 -72
  221. package/img.png +0 -0
  222. package/img_1.png +0 -0
  223. package/tslint.json +0 -18
@@ -1,28 +1,17 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.LedgerTransactionRepository = void 0;
13
- const ledger_transaction_entity_1 = require("../models/ledger-transaction.entity");
14
- const general_1 = require("@tomei/general");
15
- class LedgerTransactionRepository extends general_1.RepositoryBase {
16
- constructor() {
17
- super(ledger_transaction_entity_1.default);
18
- }
19
- count(dbTransaction) {
20
- return __awaiter(this, void 0, void 0, function* () {
21
- return yield ledger_transaction_entity_1.default.count({
22
- transaction: dbTransaction,
23
- });
24
- });
25
- }
26
- }
27
- exports.LedgerTransactionRepository = LedgerTransactionRepository;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LedgerTransactionRepository = void 0;
4
+ const ledger_transaction_entity_1 = require("../models/ledger-transaction.entity");
5
+ const general_1 = require("@tomei/general");
6
+ class LedgerTransactionRepository extends general_1.RepositoryBase {
7
+ constructor() {
8
+ super(ledger_transaction_entity_1.default);
9
+ }
10
+ async count(dbTransaction) {
11
+ return await ledger_transaction_entity_1.default.count({
12
+ transaction: dbTransaction,
13
+ });
14
+ }
15
+ }
16
+ exports.LedgerTransactionRepository = LedgerTransactionRepository;
28
17
  //# sourceMappingURL=ledger-transaction.repository.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ledger-transaction.repository.js","sourceRoot":"","sources":["../../src/ledger-transaction/ledger-transaction.repository.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,mFAAyE;AACzE,4CAAiE;AAEjE,MAAa,2BACX,SAAQ,wBAAsC;IAG9C;QACE,KAAK,CAAC,mCAAsB,CAAC,CAAC;IAChC,CAAC;IAEK,KAAK,CAAC,aAAmB;;YAC7B,OAAO,MAAM,mCAAsB,CAAC,KAAK,CAAC;gBACxC,WAAW,EAAE,aAAa;aAC3B,CAAC,CAAC;QACL,CAAC;KAAA;CACF;AAbD,kEAaC"}
1
+ {"version":3,"file":"ledger-transaction.repository.js","sourceRoot":"","sources":["../../src/ledger-transaction/ledger-transaction.repository.ts"],"names":[],"mappings":";;;AAAA,mFAAyE;AACzE,4CAAiE;AAEjE,MAAa,2BACX,SAAQ,wBAAsC;IAG9C;QACE,KAAK,CAAC,mCAAsB,CAAC,CAAC;IAChC,CAAC;IAED,KAAK,CAAC,KAAK,CAAC,aAAmB;QAC7B,OAAO,MAAM,mCAAsB,CAAC,KAAK,CAAC;YACxC,WAAW,EAAE,aAAa;SAC3B,CAAC,CAAC;IACL,CAAC;CACF;AAbD,kEAaC"}
@@ -1,30 +1,30 @@
1
- import { Model } from 'sequelize-typescript';
2
- import LedgerTransactionModel from './ledger-transaction.entity';
3
- import DocumentItemModel from './document-item.entity';
4
- import FinanceCompanyModel from './finance-company.entity';
5
- import PaymentMethodTypeModel from './payment-method-type.entity';
6
- export default class AccountModel extends Model {
7
- AccountNo: string;
8
- CompanyId: string;
9
- ParentAccountNo: string;
10
- Name: string;
11
- Description: string;
12
- AccountType: string;
13
- AccountSubType: string;
14
- OwnerId: string;
15
- OwnerType: string;
16
- RelatedObjectId: string;
17
- RelatedObjectType: string;
18
- CreatedAt: Date;
19
- CreatedById: string;
20
- UpdatedAt: Date;
21
- UpdatedById: string;
22
- AccSystemRefId: string;
23
- PostedToAccSystemYN: string;
24
- PostedById: string;
25
- PostedDateTime: Date;
26
- PaymentMethodTypes: PaymentMethodTypeModel[];
27
- DocumentItems: DocumentItemModel[];
28
- LedgerTransactions: LedgerTransactionModel[];
29
- FinanceCompany: FinanceCompanyModel;
30
- }
1
+ import { Model } from 'sequelize-typescript';
2
+ import LedgerTransactionModel from './ledger-transaction.entity';
3
+ import DocumentItemModel from './document-item.entity';
4
+ import FinanceCompanyModel from './finance-company.entity';
5
+ import PaymentMethodTypeModel from './payment-method-type.entity';
6
+ export default class AccountModel extends Model {
7
+ AccountNo: string;
8
+ CompanyId: string;
9
+ ParentAccountNo: string;
10
+ Name: string;
11
+ Description: string;
12
+ AccountType: string;
13
+ AccountSubType: string;
14
+ OwnerId: string;
15
+ OwnerType: string;
16
+ RelatedObjectId: string;
17
+ RelatedObjectType: string;
18
+ CreatedAt: Date;
19
+ CreatedById: string;
20
+ UpdatedAt: Date;
21
+ UpdatedById: string;
22
+ AccSystemRefId: string;
23
+ PostedToAccSystemYN: string;
24
+ PostedById: string;
25
+ PostedDateTime: Date;
26
+ PaymentMethodTypes: PaymentMethodTypeModel[];
27
+ DocumentItems: DocumentItemModel[];
28
+ LedgerTransactions: LedgerTransactionModel[];
29
+ FinanceCompany: FinanceCompanyModel;
30
+ }
@@ -1,233 +1,233 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- const swagger_1 = require("@nestjs/swagger");
13
- const sequelize_typescript_1 = require("sequelize-typescript");
14
- const ledger_transaction_entity_1 = require("./ledger-transaction.entity");
15
- const document_item_entity_1 = require("./document-item.entity");
16
- const finance_company_entity_1 = require("./finance-company.entity");
17
- const payment_method_type_entity_1 = require("./payment-method-type.entity");
18
- let AccountModel = class AccountModel extends sequelize_typescript_1.Model {
19
- };
20
- __decorate([
21
- (0, swagger_1.ApiProperty)({ type: String, description: 'AccountNo' }),
22
- (0, sequelize_typescript_1.Column)({
23
- primaryKey: true,
24
- allowNull: false,
25
- type: sequelize_typescript_1.DataType.STRING(30),
26
- }),
27
- __metadata("design:type", String)
28
- ], AccountModel.prototype, "AccountNo", void 0);
29
- __decorate([
30
- (0, swagger_1.ApiProperty)({
31
- example: 'cl6nzvo780000qcw38ihpd8w6',
32
- description: 'CompanyId',
33
- }),
34
- (0, sequelize_typescript_1.ForeignKey)(() => finance_company_entity_1.default),
35
- (0, sequelize_typescript_1.Column)({
36
- allowNull: false,
37
- type: sequelize_typescript_1.DataType.STRING(30),
38
- }),
39
- __metadata("design:type", String)
40
- ], AccountModel.prototype, "CompanyId", void 0);
41
- __decorate([
42
- (0, swagger_1.ApiProperty)({ type: String, description: 'Parent account of this object' }),
43
- (0, sequelize_typescript_1.Column)({
44
- type: sequelize_typescript_1.DataType.STRING(30),
45
- allowNull: true,
46
- }),
47
- __metadata("design:type", String)
48
- ], AccountModel.prototype, "ParentAccountNo", void 0);
49
- __decorate([
50
- (0, swagger_1.ApiProperty)({
51
- type: String,
52
- description: 'Name of the account',
53
- }),
54
- (0, sequelize_typescript_1.Column)({
55
- allowNull: false,
56
- type: sequelize_typescript_1.DataType.STRING(200),
57
- }),
58
- __metadata("design:type", String)
59
- ], AccountModel.prototype, "Name", void 0);
60
- __decorate([
61
- (0, swagger_1.ApiProperty)({
62
- type: String,
63
- description: 'Account description',
64
- }),
65
- (0, sequelize_typescript_1.Column)({
66
- allowNull: true,
67
- type: sequelize_typescript_1.DataType.STRING(2000),
68
- }),
69
- __metadata("design:type", String)
70
- ], AccountModel.prototype, "Description", void 0);
71
- __decorate([
72
- (0, swagger_1.ApiProperty)({
73
- type: String,
74
- description: 'Account Type',
75
- }),
76
- (0, sequelize_typescript_1.Column)({
77
- allowNull: false,
78
- type: sequelize_typescript_1.DataType.STRING(100),
79
- }),
80
- __metadata("design:type", String)
81
- ], AccountModel.prototype, "AccountType", void 0);
82
- __decorate([
83
- (0, swagger_1.ApiProperty)({
84
- type: String,
85
- description: 'Account Sub Type',
86
- }),
87
- (0, sequelize_typescript_1.Column)({
88
- allowNull: true,
89
- type: sequelize_typescript_1.DataType.STRING(100),
90
- }),
91
- __metadata("design:type", String)
92
- ], AccountModel.prototype, "AccountSubType", void 0);
93
- __decorate([
94
- (0, swagger_1.ApiProperty)({
95
- type: String,
96
- description: 'Owner id of the account',
97
- }),
98
- (0, sequelize_typescript_1.Column)({
99
- allowNull: true,
100
- type: sequelize_typescript_1.DataType.STRING(30),
101
- }),
102
- __metadata("design:type", String)
103
- ], AccountModel.prototype, "OwnerId", void 0);
104
- __decorate([
105
- (0, swagger_1.ApiProperty)({
106
- type: String,
107
- description: 'Owner type',
108
- }),
109
- (0, sequelize_typescript_1.Column)({
110
- allowNull: true,
111
- type: sequelize_typescript_1.DataType.STRING(200),
112
- }),
113
- __metadata("design:type", String)
114
- ], AccountModel.prototype, "OwnerType", void 0);
115
- __decorate([
116
- (0, swagger_1.ApiProperty)({ type: String, description: 'Associated Object id' }),
117
- (0, sequelize_typescript_1.Column)({
118
- allowNull: true,
119
- type: sequelize_typescript_1.DataType.STRING(30),
120
- }),
121
- __metadata("design:type", String)
122
- ], AccountModel.prototype, "RelatedObjectId", void 0);
123
- __decorate([
124
- (0, swagger_1.ApiProperty)({ type: String, description: 'Associated Object type' }),
125
- (0, sequelize_typescript_1.Column)({
126
- allowNull: true,
127
- type: sequelize_typescript_1.DataType.STRING(200),
128
- }),
129
- __metadata("design:type", String)
130
- ], AccountModel.prototype, "RelatedObjectType", void 0);
131
- __decorate([
132
- (0, swagger_1.ApiProperty)({
133
- example: new Date(),
134
- description: 'Timestamp for data creation.',
135
- }),
136
- sequelize_typescript_1.CreatedAt,
137
- __metadata("design:type", Date)
138
- ], AccountModel.prototype, "CreatedAt", void 0);
139
- __decorate([
140
- (0, swagger_1.ApiProperty)({
141
- example: '138140891dd211b288d34bc7b4312a49',
142
- description: 'The CreatedById for Media.',
143
- }),
144
- (0, sequelize_typescript_1.Column)({
145
- allowNull: false,
146
- type: sequelize_typescript_1.DataType.STRING(30),
147
- }),
148
- __metadata("design:type", String)
149
- ], AccountModel.prototype, "CreatedById", void 0);
150
- __decorate([
151
- (0, swagger_1.ApiProperty)({
152
- example: new Date(),
153
- description: 'Timestamp for latest data modification',
154
- }),
155
- sequelize_typescript_1.UpdatedAt,
156
- __metadata("design:type", Date)
157
- ], AccountModel.prototype, "UpdatedAt", void 0);
158
- __decorate([
159
- (0, swagger_1.ApiProperty)({
160
- example: '138140891dd211b288d34bc7b4312a49',
161
- description: 'The UpdatedById for Media.',
162
- }),
163
- (0, sequelize_typescript_1.Column)({
164
- allowNull: true,
165
- type: sequelize_typescript_1.DataType.STRING(30),
166
- }),
167
- __metadata("design:type", String)
168
- ], AccountModel.prototype, "UpdatedById", void 0);
169
- __decorate([
170
- (0, swagger_1.ApiProperty)({
171
- type: String,
172
- description: 'Account id in finance system',
173
- }),
174
- (0, sequelize_typescript_1.Column)({
175
- allowNull: false,
176
- type: sequelize_typescript_1.DataType.STRING(10),
177
- }),
178
- __metadata("design:type", String)
179
- ], AccountModel.prototype, "AccSystemRefId", void 0);
180
- __decorate([
181
- (0, swagger_1.ApiProperty)({
182
- example: 'N',
183
- description: 'PostedToAccSystemYN',
184
- }),
185
- (0, sequelize_typescript_1.Column)({
186
- allowNull: false,
187
- type: sequelize_typescript_1.DataType.ENUM('Y', 'N'),
188
- }),
189
- __metadata("design:type", String)
190
- ], AccountModel.prototype, "PostedToAccSystemYN", void 0);
191
- __decorate([
192
- (0, swagger_1.ApiProperty)({
193
- example: '138140891dd211b288',
194
- description: 'PostedById',
195
- }),
196
- (0, sequelize_typescript_1.Column)({
197
- allowNull: true,
198
- type: sequelize_typescript_1.DataType.STRING(30),
199
- }),
200
- __metadata("design:type", String)
201
- ], AccountModel.prototype, "PostedById", void 0);
202
- __decorate([
203
- (0, swagger_1.ApiProperty)({
204
- example: new Date(),
205
- description: 'PostedToAccSystem Date',
206
- }),
207
- (0, sequelize_typescript_1.Column)({
208
- allowNull: true,
209
- type: sequelize_typescript_1.DataType.DATE,
210
- }),
211
- __metadata("design:type", Date)
212
- ], AccountModel.prototype, "PostedDateTime", void 0);
213
- __decorate([
214
- (0, sequelize_typescript_1.HasMany)(() => payment_method_type_entity_1.default),
215
- __metadata("design:type", Array)
216
- ], AccountModel.prototype, "PaymentMethodTypes", void 0);
217
- __decorate([
218
- (0, sequelize_typescript_1.HasMany)(() => document_item_entity_1.default),
219
- __metadata("design:type", Array)
220
- ], AccountModel.prototype, "DocumentItems", void 0);
221
- __decorate([
222
- (0, sequelize_typescript_1.HasMany)(() => ledger_transaction_entity_1.default),
223
- __metadata("design:type", Array)
224
- ], AccountModel.prototype, "LedgerTransactions", void 0);
225
- __decorate([
226
- (0, sequelize_typescript_1.BelongsTo)(() => finance_company_entity_1.default),
227
- __metadata("design:type", finance_company_entity_1.default)
228
- ], AccountModel.prototype, "FinanceCompany", void 0);
229
- AccountModel = __decorate([
230
- (0, sequelize_typescript_1.Table)({ tableName: 'finance_Account' })
231
- ], AccountModel);
232
- exports.default = AccountModel;
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ const swagger_1 = require("@nestjs/swagger");
13
+ const sequelize_typescript_1 = require("sequelize-typescript");
14
+ const ledger_transaction_entity_1 = require("./ledger-transaction.entity");
15
+ const document_item_entity_1 = require("./document-item.entity");
16
+ const finance_company_entity_1 = require("./finance-company.entity");
17
+ const payment_method_type_entity_1 = require("./payment-method-type.entity");
18
+ let AccountModel = class AccountModel extends sequelize_typescript_1.Model {
19
+ };
20
+ __decorate([
21
+ (0, swagger_1.ApiProperty)({ type: String, description: 'AccountNo' }),
22
+ (0, sequelize_typescript_1.Column)({
23
+ primaryKey: true,
24
+ allowNull: false,
25
+ type: sequelize_typescript_1.DataType.STRING(30),
26
+ }),
27
+ __metadata("design:type", String)
28
+ ], AccountModel.prototype, "AccountNo", void 0);
29
+ __decorate([
30
+ (0, swagger_1.ApiProperty)({
31
+ example: 'cl6nzvo780000qcw38ihpd8w6',
32
+ description: 'CompanyId',
33
+ }),
34
+ (0, sequelize_typescript_1.ForeignKey)(() => finance_company_entity_1.default),
35
+ (0, sequelize_typescript_1.Column)({
36
+ allowNull: false,
37
+ type: sequelize_typescript_1.DataType.STRING(30),
38
+ }),
39
+ __metadata("design:type", String)
40
+ ], AccountModel.prototype, "CompanyId", void 0);
41
+ __decorate([
42
+ (0, swagger_1.ApiProperty)({ type: String, description: 'Parent account of this object' }),
43
+ (0, sequelize_typescript_1.Column)({
44
+ type: sequelize_typescript_1.DataType.STRING(30),
45
+ allowNull: true,
46
+ }),
47
+ __metadata("design:type", String)
48
+ ], AccountModel.prototype, "ParentAccountNo", void 0);
49
+ __decorate([
50
+ (0, swagger_1.ApiProperty)({
51
+ type: String,
52
+ description: 'Name of the account',
53
+ }),
54
+ (0, sequelize_typescript_1.Column)({
55
+ allowNull: false,
56
+ type: sequelize_typescript_1.DataType.STRING(200),
57
+ }),
58
+ __metadata("design:type", String)
59
+ ], AccountModel.prototype, "Name", void 0);
60
+ __decorate([
61
+ (0, swagger_1.ApiProperty)({
62
+ type: String,
63
+ description: 'Account description',
64
+ }),
65
+ (0, sequelize_typescript_1.Column)({
66
+ allowNull: true,
67
+ type: sequelize_typescript_1.DataType.STRING(2000),
68
+ }),
69
+ __metadata("design:type", String)
70
+ ], AccountModel.prototype, "Description", void 0);
71
+ __decorate([
72
+ (0, swagger_1.ApiProperty)({
73
+ type: String,
74
+ description: 'Account Type',
75
+ }),
76
+ (0, sequelize_typescript_1.Column)({
77
+ allowNull: false,
78
+ type: sequelize_typescript_1.DataType.STRING(100),
79
+ }),
80
+ __metadata("design:type", String)
81
+ ], AccountModel.prototype, "AccountType", void 0);
82
+ __decorate([
83
+ (0, swagger_1.ApiProperty)({
84
+ type: String,
85
+ description: 'Account Sub Type',
86
+ }),
87
+ (0, sequelize_typescript_1.Column)({
88
+ allowNull: true,
89
+ type: sequelize_typescript_1.DataType.STRING(100),
90
+ }),
91
+ __metadata("design:type", String)
92
+ ], AccountModel.prototype, "AccountSubType", void 0);
93
+ __decorate([
94
+ (0, swagger_1.ApiProperty)({
95
+ type: String,
96
+ description: 'Owner id of the account',
97
+ }),
98
+ (0, sequelize_typescript_1.Column)({
99
+ allowNull: true,
100
+ type: sequelize_typescript_1.DataType.STRING(30),
101
+ }),
102
+ __metadata("design:type", String)
103
+ ], AccountModel.prototype, "OwnerId", void 0);
104
+ __decorate([
105
+ (0, swagger_1.ApiProperty)({
106
+ type: String,
107
+ description: 'Owner type',
108
+ }),
109
+ (0, sequelize_typescript_1.Column)({
110
+ allowNull: true,
111
+ type: sequelize_typescript_1.DataType.STRING(200),
112
+ }),
113
+ __metadata("design:type", String)
114
+ ], AccountModel.prototype, "OwnerType", void 0);
115
+ __decorate([
116
+ (0, swagger_1.ApiProperty)({ type: String, description: 'Associated Object id' }),
117
+ (0, sequelize_typescript_1.Column)({
118
+ allowNull: true,
119
+ type: sequelize_typescript_1.DataType.STRING(30),
120
+ }),
121
+ __metadata("design:type", String)
122
+ ], AccountModel.prototype, "RelatedObjectId", void 0);
123
+ __decorate([
124
+ (0, swagger_1.ApiProperty)({ type: String, description: 'Associated Object type' }),
125
+ (0, sequelize_typescript_1.Column)({
126
+ allowNull: true,
127
+ type: sequelize_typescript_1.DataType.STRING(200),
128
+ }),
129
+ __metadata("design:type", String)
130
+ ], AccountModel.prototype, "RelatedObjectType", void 0);
131
+ __decorate([
132
+ (0, swagger_1.ApiProperty)({
133
+ example: new Date(),
134
+ description: 'Timestamp for data creation.',
135
+ }),
136
+ sequelize_typescript_1.CreatedAt,
137
+ __metadata("design:type", Date)
138
+ ], AccountModel.prototype, "CreatedAt", void 0);
139
+ __decorate([
140
+ (0, swagger_1.ApiProperty)({
141
+ example: '138140891dd211b288d34bc7b4312a49',
142
+ description: 'The CreatedById for Media.',
143
+ }),
144
+ (0, sequelize_typescript_1.Column)({
145
+ allowNull: false,
146
+ type: sequelize_typescript_1.DataType.STRING(30),
147
+ }),
148
+ __metadata("design:type", String)
149
+ ], AccountModel.prototype, "CreatedById", void 0);
150
+ __decorate([
151
+ (0, swagger_1.ApiProperty)({
152
+ example: new Date(),
153
+ description: 'Timestamp for latest data modification',
154
+ }),
155
+ sequelize_typescript_1.UpdatedAt,
156
+ __metadata("design:type", Date)
157
+ ], AccountModel.prototype, "UpdatedAt", void 0);
158
+ __decorate([
159
+ (0, swagger_1.ApiProperty)({
160
+ example: '138140891dd211b288d34bc7b4312a49',
161
+ description: 'The UpdatedById for Media.',
162
+ }),
163
+ (0, sequelize_typescript_1.Column)({
164
+ allowNull: true,
165
+ type: sequelize_typescript_1.DataType.STRING(30),
166
+ }),
167
+ __metadata("design:type", String)
168
+ ], AccountModel.prototype, "UpdatedById", void 0);
169
+ __decorate([
170
+ (0, swagger_1.ApiProperty)({
171
+ type: String,
172
+ description: 'Account id in finance system',
173
+ }),
174
+ (0, sequelize_typescript_1.Column)({
175
+ allowNull: false,
176
+ type: sequelize_typescript_1.DataType.STRING(10),
177
+ }),
178
+ __metadata("design:type", String)
179
+ ], AccountModel.prototype, "AccSystemRefId", void 0);
180
+ __decorate([
181
+ (0, swagger_1.ApiProperty)({
182
+ example: 'N',
183
+ description: 'PostedToAccSystemYN',
184
+ }),
185
+ (0, sequelize_typescript_1.Column)({
186
+ allowNull: false,
187
+ type: sequelize_typescript_1.DataType.ENUM('Y', 'N'),
188
+ }),
189
+ __metadata("design:type", String)
190
+ ], AccountModel.prototype, "PostedToAccSystemYN", void 0);
191
+ __decorate([
192
+ (0, swagger_1.ApiProperty)({
193
+ example: '138140891dd211b288',
194
+ description: 'PostedById',
195
+ }),
196
+ (0, sequelize_typescript_1.Column)({
197
+ allowNull: true,
198
+ type: sequelize_typescript_1.DataType.STRING(30),
199
+ }),
200
+ __metadata("design:type", String)
201
+ ], AccountModel.prototype, "PostedById", void 0);
202
+ __decorate([
203
+ (0, swagger_1.ApiProperty)({
204
+ example: new Date(),
205
+ description: 'PostedToAccSystem Date',
206
+ }),
207
+ (0, sequelize_typescript_1.Column)({
208
+ allowNull: true,
209
+ type: sequelize_typescript_1.DataType.DATE,
210
+ }),
211
+ __metadata("design:type", Date)
212
+ ], AccountModel.prototype, "PostedDateTime", void 0);
213
+ __decorate([
214
+ (0, sequelize_typescript_1.HasMany)(() => payment_method_type_entity_1.default),
215
+ __metadata("design:type", Array)
216
+ ], AccountModel.prototype, "PaymentMethodTypes", void 0);
217
+ __decorate([
218
+ (0, sequelize_typescript_1.HasMany)(() => document_item_entity_1.default),
219
+ __metadata("design:type", Array)
220
+ ], AccountModel.prototype, "DocumentItems", void 0);
221
+ __decorate([
222
+ (0, sequelize_typescript_1.HasMany)(() => ledger_transaction_entity_1.default),
223
+ __metadata("design:type", Array)
224
+ ], AccountModel.prototype, "LedgerTransactions", void 0);
225
+ __decorate([
226
+ (0, sequelize_typescript_1.BelongsTo)(() => finance_company_entity_1.default),
227
+ __metadata("design:type", finance_company_entity_1.default)
228
+ ], AccountModel.prototype, "FinanceCompany", void 0);
229
+ AccountModel = __decorate([
230
+ (0, sequelize_typescript_1.Table)({ tableName: 'finance_Account' })
231
+ ], AccountModel);
232
+ exports.default = AccountModel;
233
233
  //# sourceMappingURL=account.entity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"account.entity.js","sourceRoot":"","sources":["../../src/models/account.entity.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,6CAA8C;AAC9C,+DAU8B;AAC9B,2EAAiE;AACjE,iEAAuD;AACvD,qEAA2D;AAC3D,6EAAkE;AAGnD,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,4BAAK;CA2L9C,CAAA;AA1LC;IAAC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,CAAC;IACvD,IAAA,6BAAM,EAAC;QACN,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,+BAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;KAC1B,CAAC;;+CACgB;AAElB;IAAC,IAAA,qBAAW,EAAC;QACX,OAAO,EAAE,2BAA2B;QACpC,WAAW,EAAE,WAAW;KACzB,CAAC;IACD,IAAA,iCAAU,EAAC,GAAG,EAAE,CAAC,gCAAmB,CAAC;IACrC,IAAA,6BAAM,EAAC;QACN,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,+BAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;KAC1B,CAAC;;+CACgB;AAGlB;IAAC,IAAA,qBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,+BAA+B,EAAE,CAAC;IAC3E,IAAA,6BAAM,EAAC;QACN,IAAI,EAAE,+BAAQ,CAAC,MAAM,CAAC,EAAE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'./finance-company.entity';
3
- export default class FinanceCustomerModel extends Model {
4
- CustomerId: string;
5
- CompanyId: string;
6
- CustSystemCode: string;
7
- CustSystemRefId: string;
8
- AccSystemRefId: string;
9
- PostedToAccSystemYN: string;
10
- PostedById: string;
11
- PostedDateTime: Date;
12
- FinanceCompany: FinanceCompanyModel;
13
- }
1
+ import { Model } from 'sequelize-typescript';
2
+ import FinanceCompanyModel from './finance-company.entity';
3
+ export default class FinanceCustomerModel extends Model {
4
+ CustomerId: string;
5
+ CompanyId: string;
6
+ CustSystemCode: string;
7
+ CustSystemRefId: string;
8
+ AccSystemRefId: string;
9
+ PostedToAccSystemYN: string;
10
+ PostedById: string;
11
+ PostedDateTime: Date;
12
+ FinanceCompany: FinanceCompanyModel;
13
+ }