@acorex-platform/module-person-core-server 0.0.15

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 (226) hide show
  1. package/contracts/src/contact-assignment.actions.d.ts +10 -0
  2. package/contracts/src/contact-assignment.actions.js +80 -0
  3. package/contracts/src/contact-assignment.actions.js.map +1 -0
  4. package/contracts/src/contact-assignment.utils.d.ts +14 -0
  5. package/contracts/src/contact-assignment.utils.js +47 -0
  6. package/contracts/src/contact-assignment.utils.js.map +1 -0
  7. package/contracts/src/entities/contact-assignment/contact-assignment.entity.d.ts +2 -0
  8. package/contracts/src/entities/contact-assignment/contact-assignment.entity.js +155 -0
  9. package/contracts/src/entities/contact-assignment/contact-assignment.entity.js.map +1 -0
  10. package/contracts/src/entities/contact-assignment/contact-assignment.types.d.ts +21 -0
  11. package/contracts/src/entities/contact-assignment/contact-assignment.types.js +4 -0
  12. package/contracts/src/entities/contact-assignment/contact-assignment.types.js.map +1 -0
  13. package/contracts/src/entities/contact-assignment/index.d.ts +2 -0
  14. package/contracts/src/entities/contact-assignment/index.js +6 -0
  15. package/contracts/src/entities/contact-assignment/index.js.map +1 -0
  16. package/contracts/src/entities/contact-role/contact-role.entity.d.ts +2 -0
  17. package/contracts/src/entities/contact-role/contact-role.entity.js +150 -0
  18. package/contracts/src/entities/contact-role/contact-role.entity.js.map +1 -0
  19. package/contracts/src/entities/contact-role/contact-role.types.d.ts +7 -0
  20. package/contracts/src/entities/contact-role/contact-role.types.js +4 -0
  21. package/contracts/src/entities/contact-role/contact-role.types.js.map +1 -0
  22. package/contracts/src/entities/contact-role/index.d.ts +2 -0
  23. package/contracts/src/entities/contact-role/index.js +6 -0
  24. package/contracts/src/entities/contact-role/index.js.map +1 -0
  25. package/contracts/src/entities/education-level/education-level.entity.d.ts +2 -0
  26. package/contracts/src/entities/education-level/education-level.entity.js +123 -0
  27. package/contracts/src/entities/education-level/education-level.entity.js.map +1 -0
  28. package/contracts/src/entities/education-level/education-level.types.d.ts +6 -0
  29. package/contracts/src/entities/education-level/education-level.types.js +4 -0
  30. package/contracts/src/entities/education-level/education-level.types.js.map +1 -0
  31. package/contracts/src/entities/education-level/index.d.ts +2 -0
  32. package/contracts/src/entities/education-level/index.js +6 -0
  33. package/contracts/src/entities/education-level/index.js.map +1 -0
  34. package/contracts/src/entities/gender/gender.entity.d.ts +2 -0
  35. package/contracts/src/entities/gender/gender.entity.js +123 -0
  36. package/contracts/src/entities/gender/gender.entity.js.map +1 -0
  37. package/contracts/src/entities/gender/gender.types.d.ts +6 -0
  38. package/contracts/src/entities/gender/gender.types.js +4 -0
  39. package/contracts/src/entities/gender/gender.types.js.map +1 -0
  40. package/contracts/src/entities/gender/index.d.ts +2 -0
  41. package/contracts/src/entities/gender/index.js +6 -0
  42. package/contracts/src/entities/gender/index.js.map +1 -0
  43. package/contracts/src/entities/index.d.ts +10 -0
  44. package/contracts/src/entities/index.js +14 -0
  45. package/contracts/src/entities/index.js.map +1 -0
  46. package/contracts/src/entities/marital-status/index.d.ts +2 -0
  47. package/contracts/src/entities/marital-status/index.js +6 -0
  48. package/contracts/src/entities/marital-status/index.js.map +1 -0
  49. package/contracts/src/entities/marital-status/marital-status.entity.d.ts +2 -0
  50. package/contracts/src/entities/marital-status/marital-status.entity.js +123 -0
  51. package/contracts/src/entities/marital-status/marital-status.entity.js.map +1 -0
  52. package/contracts/src/entities/marital-status/marital-status.types.d.ts +6 -0
  53. package/contracts/src/entities/marital-status/marital-status.types.js +4 -0
  54. package/contracts/src/entities/marital-status/marital-status.types.js.map +1 -0
  55. package/contracts/src/entities/person/index.d.ts +2 -0
  56. package/contracts/src/entities/person/index.js +6 -0
  57. package/contracts/src/entities/person/index.js.map +1 -0
  58. package/contracts/src/entities/person/person.entity.d.ts +2 -0
  59. package/contracts/src/entities/person/person.entity.js +456 -0
  60. package/contracts/src/entities/person/person.entity.js.map +1 -0
  61. package/contracts/src/entities/person/person.types.d.ts +40 -0
  62. package/contracts/src/entities/person/person.types.js +3 -0
  63. package/contracts/src/entities/person/person.types.js.map +1 -0
  64. package/contracts/src/entities/person-identifier-type/index.d.ts +2 -0
  65. package/contracts/src/entities/person-identifier-type/index.js +6 -0
  66. package/contracts/src/entities/person-identifier-type/index.js.map +1 -0
  67. package/contracts/src/entities/person-identifier-type/person-identifier-type.entity.d.ts +2 -0
  68. package/contracts/src/entities/person-identifier-type/person-identifier-type.entity.js +193 -0
  69. package/contracts/src/entities/person-identifier-type/person-identifier-type.entity.js.map +1 -0
  70. package/contracts/src/entities/person-identifier-type/person-identifier-type.types.d.ts +11 -0
  71. package/contracts/src/entities/person-identifier-type/person-identifier-type.types.js +4 -0
  72. package/contracts/src/entities/person-identifier-type/person-identifier-type.types.js.map +1 -0
  73. package/contracts/src/entities/person-relationship/index.d.ts +2 -0
  74. package/contracts/src/entities/person-relationship/index.js +6 -0
  75. package/contracts/src/entities/person-relationship/index.js.map +1 -0
  76. package/contracts/src/entities/person-relationship/person-relationship.entity.d.ts +2 -0
  77. package/contracts/src/entities/person-relationship/person-relationship.entity.js +155 -0
  78. package/contracts/src/entities/person-relationship/person-relationship.entity.js.map +1 -0
  79. package/contracts/src/entities/person-relationship/person-relationship.types.d.ts +10 -0
  80. package/contracts/src/entities/person-relationship/person-relationship.types.js +3 -0
  81. package/contracts/src/entities/person-relationship/person-relationship.types.js.map +1 -0
  82. package/contracts/src/entities/person-title/index.d.ts +2 -0
  83. package/contracts/src/entities/person-title/index.js +6 -0
  84. package/contracts/src/entities/person-title/index.js.map +1 -0
  85. package/contracts/src/entities/person-title/person-title.entity.d.ts +2 -0
  86. package/contracts/src/entities/person-title/person-title.entity.js +123 -0
  87. package/contracts/src/entities/person-title/person-title.entity.js.map +1 -0
  88. package/contracts/src/entities/person-title/person-title.types.d.ts +6 -0
  89. package/contracts/src/entities/person-title/person-title.types.js +4 -0
  90. package/contracts/src/entities/person-title/person-title.types.js.map +1 -0
  91. package/contracts/src/entities/religion/index.d.ts +2 -0
  92. package/contracts/src/entities/religion/index.js +6 -0
  93. package/contracts/src/entities/religion/index.js.map +1 -0
  94. package/contracts/src/entities/religion/religion.entity.d.ts +2 -0
  95. package/contracts/src/entities/religion/religion.entity.js +123 -0
  96. package/contracts/src/entities/religion/religion.entity.js.map +1 -0
  97. package/contracts/src/entities/religion/religion.types.d.ts +6 -0
  98. package/contracts/src/entities/religion/religion.types.js +4 -0
  99. package/contracts/src/entities/religion/religion.types.js.map +1 -0
  100. package/contracts/src/index.d.ts +7 -0
  101. package/contracts/src/index.js +13 -0
  102. package/contracts/src/index.js.map +1 -0
  103. package/contracts/src/menu.keys.d.ts +12 -0
  104. package/contracts/src/menu.keys.js +16 -0
  105. package/contracts/src/menu.keys.js.map +1 -0
  106. package/contracts/src/permission.keys.d.ts +31 -0
  107. package/contracts/src/permission.keys.js +35 -0
  108. package/contracts/src/permission.keys.js.map +1 -0
  109. package/contracts/src/person-relationship.actions.d.ts +10 -0
  110. package/contracts/src/person-relationship.actions.js +88 -0
  111. package/contracts/src/person-relationship.actions.js.map +1 -0
  112. package/contracts/src/root-config.d.ts +73 -0
  113. package/contracts/src/root-config.js +78 -0
  114. package/contracts/src/root-config.js.map +1 -0
  115. package/package.json +26 -0
  116. package/src/index.d.ts +5 -0
  117. package/src/index.js +13 -0
  118. package/src/index.js.map +1 -0
  119. package/src/lib/person-core-server.module.d.ts +2 -0
  120. package/src/lib/person-core-server.module.js +27 -0
  121. package/src/lib/person-core-server.module.js.map +1 -0
  122. package/src/lib/seed/contact-assignment/contact-assignment.mock.d.ts +8 -0
  123. package/src/lib/seed/contact-assignment/contact-assignment.mock.js +51 -0
  124. package/src/lib/seed/contact-assignment/contact-assignment.mock.js.map +1 -0
  125. package/src/lib/seed/contact-assignment/contact-assignment.seed.d.ts +5 -0
  126. package/src/lib/seed/contact-assignment/contact-assignment.seed.js +32 -0
  127. package/src/lib/seed/contact-assignment/contact-assignment.seed.js.map +1 -0
  128. package/src/lib/seed/contact-assignment/index.d.ts +2 -0
  129. package/src/lib/seed/contact-assignment/index.js +6 -0
  130. package/src/lib/seed/contact-assignment/index.js.map +1 -0
  131. package/src/lib/seed/contact-role/contact-role.mock.d.ts +40 -0
  132. package/src/lib/seed/contact-role/contact-role.mock.js +258 -0
  133. package/src/lib/seed/contact-role/contact-role.mock.js.map +1 -0
  134. package/src/lib/seed/contact-role/contact-role.seed.d.ts +5 -0
  135. package/src/lib/seed/contact-role/contact-role.seed.js +31 -0
  136. package/src/lib/seed/contact-role/contact-role.seed.js.map +1 -0
  137. package/src/lib/seed/contact-role/index.d.ts +2 -0
  138. package/src/lib/seed/contact-role/index.js +6 -0
  139. package/src/lib/seed/contact-role/index.js.map +1 -0
  140. package/src/lib/seed/education-level/education-level.mock.d.ts +14 -0
  141. package/src/lib/seed/education-level/education-level.mock.js +52 -0
  142. package/src/lib/seed/education-level/education-level.mock.js.map +1 -0
  143. package/src/lib/seed/education-level/education-level.seed.d.ts +5 -0
  144. package/src/lib/seed/education-level/education-level.seed.js +31 -0
  145. package/src/lib/seed/education-level/education-level.seed.js.map +1 -0
  146. package/src/lib/seed/education-level/index.d.ts +2 -0
  147. package/src/lib/seed/education-level/index.js +6 -0
  148. package/src/lib/seed/education-level/index.js.map +1 -0
  149. package/src/lib/seed/gender/gender.mock.d.ts +28 -0
  150. package/src/lib/seed/gender/gender.mock.js +40 -0
  151. package/src/lib/seed/gender/gender.mock.js.map +1 -0
  152. package/src/lib/seed/gender/gender.seed.d.ts +5 -0
  153. package/src/lib/seed/gender/gender.seed.js +31 -0
  154. package/src/lib/seed/gender/gender.seed.js.map +1 -0
  155. package/src/lib/seed/gender/index.d.ts +2 -0
  156. package/src/lib/seed/gender/index.js +6 -0
  157. package/src/lib/seed/gender/index.js.map +1 -0
  158. package/src/lib/seed/index.d.ts +28 -0
  159. package/src/lib/seed/index.js +30 -0
  160. package/src/lib/seed/index.js.map +1 -0
  161. package/src/lib/seed/marital-status/index.d.ts +2 -0
  162. package/src/lib/seed/marital-status/index.js +6 -0
  163. package/src/lib/seed/marital-status/index.js.map +1 -0
  164. package/src/lib/seed/marital-status/marital-status.mock.d.ts +33 -0
  165. package/src/lib/seed/marital-status/marital-status.mock.js +46 -0
  166. package/src/lib/seed/marital-status/marital-status.mock.js.map +1 -0
  167. package/src/lib/seed/marital-status/marital-status.seed.d.ts +5 -0
  168. package/src/lib/seed/marital-status/marital-status.seed.js +31 -0
  169. package/src/lib/seed/marital-status/marital-status.seed.js.map +1 -0
  170. package/src/lib/seed/person/index.d.ts +3 -0
  171. package/src/lib/seed/person/index.js +7 -0
  172. package/src/lib/seed/person/index.js.map +1 -0
  173. package/src/lib/seed/person/person-natural-ids.constants.d.ts +76 -0
  174. package/src/lib/seed/person/person-natural-ids.constants.js +82 -0
  175. package/src/lib/seed/person/person-natural-ids.constants.js.map +1 -0
  176. package/src/lib/seed/person/person.mock.d.ts +5 -0
  177. package/src/lib/seed/person/person.mock.js +372 -0
  178. package/src/lib/seed/person/person.mock.js.map +1 -0
  179. package/src/lib/seed/person/person.seed.d.ts +5 -0
  180. package/src/lib/seed/person/person.seed.js +31 -0
  181. package/src/lib/seed/person/person.seed.js.map +1 -0
  182. package/src/lib/seed/person-core-seed.provider.d.ts +4 -0
  183. package/src/lib/seed/person-core-seed.provider.js +18 -0
  184. package/src/lib/seed/person-core-seed.provider.js.map +1 -0
  185. package/src/lib/seed/person-core-seed.tokens.d.ts +1 -0
  186. package/src/lib/seed/person-core-seed.tokens.js +7 -0
  187. package/src/lib/seed/person-core-seed.tokens.js.map +1 -0
  188. package/src/lib/seed/person-core.seed-catalog.d.ts +2 -0
  189. package/src/lib/seed/person-core.seed-catalog.js +31 -0
  190. package/src/lib/seed/person-core.seed-catalog.js.map +1 -0
  191. package/src/lib/seed/person-identifier-type/index.d.ts +2 -0
  192. package/src/lib/seed/person-identifier-type/index.js +6 -0
  193. package/src/lib/seed/person-identifier-type/index.js.map +1 -0
  194. package/src/lib/seed/person-identifier-type/person-identifier-type.mock.d.ts +4 -0
  195. package/src/lib/seed/person-identifier-type/person-identifier-type.mock.js +68 -0
  196. package/src/lib/seed/person-identifier-type/person-identifier-type.mock.js.map +1 -0
  197. package/src/lib/seed/person-identifier-type/person-identifier-type.seed.d.ts +5 -0
  198. package/src/lib/seed/person-identifier-type/person-identifier-type.seed.js +31 -0
  199. package/src/lib/seed/person-identifier-type/person-identifier-type.seed.js.map +1 -0
  200. package/src/lib/seed/person-relationship/index.d.ts +2 -0
  201. package/src/lib/seed/person-relationship/index.js +6 -0
  202. package/src/lib/seed/person-relationship/index.js.map +1 -0
  203. package/src/lib/seed/person-relationship/person-relationship.mock.d.ts +30 -0
  204. package/src/lib/seed/person-relationship/person-relationship.mock.js +156 -0
  205. package/src/lib/seed/person-relationship/person-relationship.mock.js.map +1 -0
  206. package/src/lib/seed/person-relationship/person-relationship.seed.d.ts +5 -0
  207. package/src/lib/seed/person-relationship/person-relationship.seed.js +31 -0
  208. package/src/lib/seed/person-relationship/person-relationship.seed.js.map +1 -0
  209. package/src/lib/seed/person-title/index.d.ts +2 -0
  210. package/src/lib/seed/person-title/index.js +6 -0
  211. package/src/lib/seed/person-title/index.js.map +1 -0
  212. package/src/lib/seed/person-title/person-title.mock.d.ts +43 -0
  213. package/src/lib/seed/person-title/person-title.mock.js +58 -0
  214. package/src/lib/seed/person-title/person-title.mock.js.map +1 -0
  215. package/src/lib/seed/person-title/person-title.seed.d.ts +5 -0
  216. package/src/lib/seed/person-title/person-title.seed.js +31 -0
  217. package/src/lib/seed/person-title/person-title.seed.js.map +1 -0
  218. package/src/lib/seed/religion/index.d.ts +2 -0
  219. package/src/lib/seed/religion/index.js +6 -0
  220. package/src/lib/seed/religion/index.js.map +1 -0
  221. package/src/lib/seed/religion/religion.mock.d.ts +5 -0
  222. package/src/lib/seed/religion/religion.mock.js +48 -0
  223. package/src/lib/seed/religion/religion.mock.js.map +1 -0
  224. package/src/lib/seed/religion/religion.seed.d.ts +5 -0
  225. package/src/lib/seed/religion/religion.seed.js +31 -0
  226. package/src/lib/seed/religion/religion.seed.js.map +1 -0
@@ -0,0 +1,372 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.personMock = exports.personNaturalIds = exports.personLegalIds = exports.personIds = void 0;
4
+ const education_level_mock_1 = require("../education-level/education-level.mock");
5
+ const gender_mock_1 = require("../gender/gender.mock");
6
+ const marital_status_mock_1 = require("../marital-status/marital-status.mock");
7
+ const person_title_mock_1 = require("../person-title/person-title.mock");
8
+ const seed_1 = require("@acorex-platform/module-common-server/seed");
9
+ const person_natural_ids_constants_1 = require("./person-natural-ids.constants");
10
+ Object.defineProperty(exports, "personIds", { enumerable: true, get: function () { return person_natural_ids_constants_1.personIds; } });
11
+ Object.defineProperty(exports, "personLegalIds", { enumerable: true, get: function () { return person_natural_ids_constants_1.personLegalIds; } });
12
+ Object.defineProperty(exports, "personNaturalIds", { enumerable: true, get: function () { return person_natural_ids_constants_1.personNaturalIds; } });
13
+ const educationLevelRef = (id) => {
14
+ const e = education_level_mock_1.educationLevelMocks.find((x) => x.id === id);
15
+ return { id: e.id, title: e.title };
16
+ };
17
+ const genderRef = (id) => {
18
+ const e = gender_mock_1.genderMocks.find((x) => x.id === id);
19
+ return { id: e.id, title: e.title };
20
+ };
21
+ const maritalStatusRef = (id) => {
22
+ const e = marital_status_mock_1.maritalStatusMocks.find((x) => x.id === id);
23
+ return { id: e.id, title: e.title };
24
+ };
25
+ const personTitleRef = (id) => {
26
+ const e = person_title_mock_1.personTitleMocks.find((x) => x.id === id);
27
+ return { id: e.id, title: e.title };
28
+ };
29
+ //#endregion
30
+ //#region ---- Mock Data ----
31
+ exports.personMock = [
32
+ {
33
+ id: person_natural_ids_constants_1.personIds.johnSmith,
34
+ firstName: 'John',
35
+ lastName: 'Smith',
36
+ fullName: 'John Smith',
37
+ personTitleId: person_title_mock_1.personTitleIds.mr,
38
+ personTitle: personTitleRef(person_title_mock_1.personTitleIds.mr),
39
+ birthDate: '1985-03-15',
40
+ genderId: gender_mock_1.genderIds.male,
41
+ gender: genderRef(gender_mock_1.genderIds.male),
42
+ identityNumber: 'SSN-850315001',
43
+ userId: seed_1.userIds.johnSmith,
44
+ maritalStatusId: marital_status_mock_1.maritalStatusIds.married,
45
+ maritalStatus: maritalStatusRef(marital_status_mock_1.maritalStatusIds.married),
46
+ educationLevelId: education_level_mock_1.educationLevelIds.bachelors,
47
+ educationLevel: educationLevelRef(education_level_mock_1.educationLevelIds.bachelors),
48
+ phones: [{ value: '+1-555-123-4567' }, { value: '+1-555-123-4568' }],
49
+ emails: [{ value: 'john.smith@example.com' }],
50
+ },
51
+ {
52
+ id: person_natural_ids_constants_1.personIds.sarahJohnson,
53
+ firstName: 'Sarah',
54
+ lastName: 'Johnson',
55
+ fullName: 'Sarah Johnson',
56
+ personTitleId: person_title_mock_1.personTitleIds.mrs,
57
+ personTitle: personTitleRef(person_title_mock_1.personTitleIds.mrs),
58
+ birthDate: '1990-07-22',
59
+ genderId: gender_mock_1.genderIds.female,
60
+ gender: genderRef(gender_mock_1.genderIds.female),
61
+ identityNumber: 'SSN-900722002',
62
+ userId: seed_1.userIds.sarahJohnson,
63
+ maritalStatusId: marital_status_mock_1.maritalStatusIds.married,
64
+ maritalStatus: maritalStatusRef(marital_status_mock_1.maritalStatusIds.married),
65
+ educationLevelId: education_level_mock_1.educationLevelIds.masters,
66
+ educationLevel: educationLevelRef(education_level_mock_1.educationLevelIds.masters),
67
+ phones: [{ value: '+1-555-234-5678' }],
68
+ emails: [{ value: 'sarah.johnson@example.com' }, { value: 's.johnson@work.com' }],
69
+ },
70
+ {
71
+ id: person_natural_ids_constants_1.personIds.mikeChen,
72
+ firstName: 'Mike',
73
+ lastName: 'Chen',
74
+ fullName: 'Mike Chen',
75
+ personTitleId: person_title_mock_1.personTitleIds.mr,
76
+ personTitle: personTitleRef(person_title_mock_1.personTitleIds.mr),
77
+ birthDate: '1988-11-08',
78
+ genderId: gender_mock_1.genderIds.male,
79
+ gender: genderRef(gender_mock_1.genderIds.male),
80
+ identityNumber: 'SSN-881108003',
81
+ userId: seed_1.userIds.mikeChen,
82
+ maritalStatusId: marital_status_mock_1.maritalStatusIds.single,
83
+ maritalStatus: maritalStatusRef(marital_status_mock_1.maritalStatusIds.single),
84
+ educationLevelId: education_level_mock_1.educationLevelIds.bachelors,
85
+ educationLevel: educationLevelRef(education_level_mock_1.educationLevelIds.bachelors),
86
+ phones: [{ value: '+1-555-345-6789' }],
87
+ emails: [{ value: 'mike.chen@example.com' }],
88
+ },
89
+ {
90
+ id: person_natural_ids_constants_1.personIds.emilyRodriguez,
91
+ firstName: 'Emily',
92
+ lastName: 'Rodriguez',
93
+ fullName: 'Emily Rodriguez',
94
+ personTitleId: person_title_mock_1.personTitleIds.ms,
95
+ personTitle: personTitleRef(person_title_mock_1.personTitleIds.ms),
96
+ birthDate: '1992-01-14',
97
+ genderId: gender_mock_1.genderIds.female,
98
+ gender: genderRef(gender_mock_1.genderIds.female),
99
+ identityNumber: 'SSN-920114004',
100
+ userId: seed_1.userIds.emilyRodriguez,
101
+ maritalStatusId: marital_status_mock_1.maritalStatusIds.single,
102
+ maritalStatus: maritalStatusRef(marital_status_mock_1.maritalStatusIds.single),
103
+ educationLevelId: education_level_mock_1.educationLevelIds.bachelors,
104
+ educationLevel: educationLevelRef(education_level_mock_1.educationLevelIds.bachelors),
105
+ phones: [{ value: '+1-555-456-7890' }],
106
+ emails: [{ value: 'emily.rodriguez@example.com' }],
107
+ },
108
+ {
109
+ id: person_natural_ids_constants_1.personIds.davidThompson,
110
+ firstName: 'David',
111
+ lastName: 'Thompson',
112
+ fullName: 'David Thompson',
113
+ personTitleId: person_title_mock_1.personTitleIds.mr,
114
+ personTitle: personTitleRef(person_title_mock_1.personTitleIds.mr),
115
+ birthDate: '1979-05-30',
116
+ genderId: gender_mock_1.genderIds.male,
117
+ gender: genderRef(gender_mock_1.genderIds.male),
118
+ identityNumber: 'SSN-790530005',
119
+ userId: seed_1.userIds.davidThompson,
120
+ maritalStatusId: marital_status_mock_1.maritalStatusIds.married,
121
+ maritalStatus: maritalStatusRef(marital_status_mock_1.maritalStatusIds.married),
122
+ educationLevelId: education_level_mock_1.educationLevelIds.highSchool,
123
+ educationLevel: educationLevelRef(education_level_mock_1.educationLevelIds.highSchool),
124
+ phones: [{ value: '+1-555-567-8901' }, { value: '+1-555-567-8902' }],
125
+ emails: [{ value: 'david.thompson@example.com' }],
126
+ },
127
+ {
128
+ id: person_natural_ids_constants_1.personIds.lisaWang,
129
+ firstName: 'Lisa',
130
+ lastName: 'Wang',
131
+ fullName: 'Lisa Wang',
132
+ personTitleId: person_title_mock_1.personTitleIds.ms,
133
+ personTitle: personTitleRef(person_title_mock_1.personTitleIds.ms),
134
+ birthDate: '1987-09-12',
135
+ identityNumber: 'SSN-870912006',
136
+ genderId: gender_mock_1.genderIds.female,
137
+ gender: genderRef(gender_mock_1.genderIds.female),
138
+ userId: seed_1.userIds.lisaWang,
139
+ maritalStatusId: marital_status_mock_1.maritalStatusIds.married,
140
+ maritalStatus: maritalStatusRef(marital_status_mock_1.maritalStatusIds.married),
141
+ educationLevelId: education_level_mock_1.educationLevelIds.masters,
142
+ educationLevel: educationLevelRef(education_level_mock_1.educationLevelIds.masters),
143
+ phones: [{ value: '+1-555-678-9012' }],
144
+ emails: [{ value: 'lisa.wang@example.com' }],
145
+ },
146
+ {
147
+ id: person_natural_ids_constants_1.personIds.jenniferLopez,
148
+ userId: seed_1.userIds.jenniferLopez,
149
+ firstName: 'Jennifer',
150
+ lastName: 'Lopez',
151
+ fullName: 'Jennifer Lopez',
152
+ personTitleId: person_title_mock_1.personTitleIds.ms,
153
+ personTitle: personTitleRef(person_title_mock_1.personTitleIds.ms),
154
+ birthDate: '1991-04-18',
155
+ identityNumber: 'SSN-910418007',
156
+ genderId: gender_mock_1.genderIds.female,
157
+ gender: genderRef(gender_mock_1.genderIds.female),
158
+ maritalStatusId: marital_status_mock_1.maritalStatusIds.single,
159
+ maritalStatus: maritalStatusRef(marital_status_mock_1.maritalStatusIds.single),
160
+ educationLevelId: education_level_mock_1.educationLevelIds.bachelors,
161
+ educationLevel: educationLevelRef(education_level_mock_1.educationLevelIds.bachelors),
162
+ phones: [{ value: '+1-555-789-0123' }],
163
+ emails: [{ value: 'jennifer.lopez@example.com' }],
164
+ },
165
+ {
166
+ id: person_natural_ids_constants_1.personIds.robertWilson,
167
+ userId: seed_1.userIds.robertWilson,
168
+ firstName: 'Robert',
169
+ lastName: 'Wilson',
170
+ fullName: 'Robert Wilson',
171
+ personTitleId: person_title_mock_1.personTitleIds.mr,
172
+ personTitle: personTitleRef(person_title_mock_1.personTitleIds.mr),
173
+ birthDate: '1983-12-05',
174
+ identityNumber: 'SSN-831205008',
175
+ genderId: gender_mock_1.genderIds.male,
176
+ gender: genderRef(gender_mock_1.genderIds.male),
177
+ maritalStatusId: marital_status_mock_1.maritalStatusIds.married,
178
+ maritalStatus: maritalStatusRef(marital_status_mock_1.maritalStatusIds.married),
179
+ educationLevelId: education_level_mock_1.educationLevelIds.bachelors,
180
+ educationLevel: educationLevelRef(education_level_mock_1.educationLevelIds.bachelors),
181
+ },
182
+ {
183
+ id: person_natural_ids_constants_1.personIds.mariaGarcia,
184
+ userId: seed_1.userIds.mariaGarcia,
185
+ firstName: 'Maria',
186
+ lastName: 'Garcia',
187
+ fullName: 'Maria Garcia',
188
+ personTitleId: person_title_mock_1.personTitleIds.ms,
189
+ personTitle: personTitleRef(person_title_mock_1.personTitleIds.ms),
190
+ birthDate: '1986-06-20',
191
+ identityNumber: 'SSN-860620009',
192
+ genderId: gender_mock_1.genderIds.female,
193
+ gender: genderRef(gender_mock_1.genderIds.female),
194
+ maritalStatusId: marital_status_mock_1.maritalStatusIds.single,
195
+ maritalStatus: maritalStatusRef(marital_status_mock_1.maritalStatusIds.single),
196
+ educationLevelId: education_level_mock_1.educationLevelIds.masters,
197
+ educationLevel: educationLevelRef(education_level_mock_1.educationLevelIds.masters),
198
+ },
199
+ {
200
+ id: person_natural_ids_constants_1.personIds.alexandraKim,
201
+ userId: seed_1.userIds.alexandraKim,
202
+ firstName: 'Alexandra',
203
+ lastName: 'Kim',
204
+ fullName: 'Alexandra Kim',
205
+ personTitleId: person_title_mock_1.personTitleIds.ms,
206
+ personTitle: personTitleRef(person_title_mock_1.personTitleIds.ms),
207
+ birthDate: '1994-02-28',
208
+ identityNumber: 'SSN-940228010',
209
+ genderId: gender_mock_1.genderIds.female,
210
+ gender: genderRef(gender_mock_1.genderIds.female),
211
+ maritalStatusId: marital_status_mock_1.maritalStatusIds.married,
212
+ maritalStatus: maritalStatusRef(marital_status_mock_1.maritalStatusIds.married),
213
+ educationLevelId: education_level_mock_1.educationLevelIds.bachelors,
214
+ educationLevel: educationLevelRef(education_level_mock_1.educationLevelIds.bachelors),
215
+ },
216
+ {
217
+ id: person_natural_ids_constants_1.personIds.marcusSchmidt,
218
+ userId: seed_1.userIds.marcusSchmidt,
219
+ firstName: 'Marcus',
220
+ lastName: 'Schmidt',
221
+ fullName: 'Marcus Schmidt',
222
+ personTitleId: person_title_mock_1.personTitleIds.mr,
223
+ personTitle: personTitleRef(person_title_mock_1.personTitleIds.mr),
224
+ birthDate: '1980-10-15',
225
+ identityNumber: 'SSN-801015011',
226
+ genderId: gender_mock_1.genderIds.male,
227
+ gender: genderRef(gender_mock_1.genderIds.male),
228
+ maritalStatusId: marital_status_mock_1.maritalStatusIds.married,
229
+ maritalStatus: maritalStatusRef(marital_status_mock_1.maritalStatusIds.married),
230
+ educationLevelId: education_level_mock_1.educationLevelIds.bachelors,
231
+ educationLevel: educationLevelRef(education_level_mock_1.educationLevelIds.bachelors),
232
+ },
233
+ {
234
+ id: person_natural_ids_constants_1.personIds.fatimaAlZahra,
235
+ userId: seed_1.userIds.fatimaAlZahra,
236
+ firstName: 'Fatima',
237
+ lastName: 'Al-Zahra',
238
+ fullName: 'Fatima Al-Zahra',
239
+ personTitleId: person_title_mock_1.personTitleIds.mrs,
240
+ personTitle: personTitleRef(person_title_mock_1.personTitleIds.mrs),
241
+ birthDate: '1989-08-03',
242
+ identityNumber: 'SSN-890803012',
243
+ genderId: gender_mock_1.genderIds.female,
244
+ gender: genderRef(gender_mock_1.genderIds.female),
245
+ maritalStatusId: marital_status_mock_1.maritalStatusIds.married,
246
+ maritalStatus: maritalStatusRef(marital_status_mock_1.maritalStatusIds.married),
247
+ educationLevelId: education_level_mock_1.educationLevelIds.masters,
248
+ educationLevel: educationLevelRef(education_level_mock_1.educationLevelIds.masters),
249
+ emails: [{ value: 'fatima.alzahra@example.com' }],
250
+ },
251
+ {
252
+ id: person_natural_ids_constants_1.personIds.jamesOConnor,
253
+ userId: seed_1.userIds.jamesOConnor,
254
+ firstName: 'James',
255
+ lastName: "O'Connor",
256
+ fullName: "James O'Connor",
257
+ personTitleId: person_title_mock_1.personTitleIds.mr,
258
+ personTitle: personTitleRef(person_title_mock_1.personTitleIds.mr),
259
+ birthDate: '1982-11-25',
260
+ identityNumber: 'SSN-821125013',
261
+ genderId: gender_mock_1.genderIds.male,
262
+ gender: genderRef(gender_mock_1.genderIds.male),
263
+ maritalStatusId: marital_status_mock_1.maritalStatusIds.single,
264
+ maritalStatus: maritalStatusRef(marital_status_mock_1.maritalStatusIds.single),
265
+ educationLevelId: education_level_mock_1.educationLevelIds.bachelors,
266
+ educationLevel: educationLevelRef(education_level_mock_1.educationLevelIds.bachelors),
267
+ },
268
+ {
269
+ id: person_natural_ids_constants_1.personIds.yukiTanaka,
270
+ userId: seed_1.userIds.yukiTanaka,
271
+ firstName: 'Yuki',
272
+ lastName: 'Tanaka',
273
+ fullName: 'Yuki Tanaka',
274
+ personTitleId: person_title_mock_1.personTitleIds.ms,
275
+ personTitle: personTitleRef(person_title_mock_1.personTitleIds.ms),
276
+ birthDate: '1993-07-09',
277
+ identityNumber: 'SSN-930709014',
278
+ genderId: gender_mock_1.genderIds.female,
279
+ gender: genderRef(gender_mock_1.genderIds.female),
280
+ maritalStatusId: marital_status_mock_1.maritalStatusIds.married,
281
+ maritalStatus: maritalStatusRef(marital_status_mock_1.maritalStatusIds.married),
282
+ educationLevelId: education_level_mock_1.educationLevelIds.bachelors,
283
+ educationLevel: educationLevelRef(education_level_mock_1.educationLevelIds.bachelors),
284
+ },
285
+ {
286
+ id: person_natural_ids_constants_1.personIds.carlosRodriguez,
287
+ userId: seed_1.userIds.carlosRodriguez,
288
+ firstName: 'Carlos',
289
+ lastName: 'Rodriguez',
290
+ fullName: 'Carlos Rodriguez',
291
+ personTitleId: person_title_mock_1.personTitleIds.mr,
292
+ personTitle: personTitleRef(person_title_mock_1.personTitleIds.mr),
293
+ birthDate: '1984-01-17',
294
+ identityNumber: 'SSN-840117015',
295
+ genderId: gender_mock_1.genderIds.male,
296
+ gender: genderRef(gender_mock_1.genderIds.male),
297
+ maritalStatusId: marital_status_mock_1.maritalStatusIds.single,
298
+ maritalStatus: maritalStatusRef(marital_status_mock_1.maritalStatusIds.single),
299
+ educationLevelId: education_level_mock_1.educationLevelIds.masters,
300
+ educationLevel: educationLevelRef(education_level_mock_1.educationLevelIds.masters),
301
+ },
302
+ {
303
+ id: person_natural_ids_constants_1.personIds.root,
304
+ userId: seed_1.userIds.root,
305
+ firstName: 'Root',
306
+ lastName: 'User',
307
+ fullName: 'Root User',
308
+ personTitleId: person_title_mock_1.personTitleIds.mr,
309
+ personTitle: personTitleRef(person_title_mock_1.personTitleIds.mr),
310
+ birthDate: '1990-01-01',
311
+ identityNumber: 'SSN-900101016',
312
+ genderId: gender_mock_1.genderIds.male,
313
+ gender: genderRef(gender_mock_1.genderIds.male),
314
+ maritalStatusId: marital_status_mock_1.maritalStatusIds.single,
315
+ maritalStatus: maritalStatusRef(marital_status_mock_1.maritalStatusIds.single),
316
+ educationLevelId: education_level_mock_1.educationLevelIds.bachelors,
317
+ educationLevel: educationLevelRef(education_level_mock_1.educationLevelIds.bachelors),
318
+ },
319
+ {
320
+ id: person_natural_ids_constants_1.personIds.rodJensen,
321
+ userId: seed_1.userIds.rodJensen,
322
+ firstName: 'Rod',
323
+ lastName: 'Jensen',
324
+ fullName: 'Rod Jensen',
325
+ personTitleId: person_title_mock_1.personTitleIds.mr,
326
+ personTitle: personTitleRef(person_title_mock_1.personTitleIds.mr),
327
+ birthDate: '1975-04-12',
328
+ identityNumber: 'SSN-750412018',
329
+ genderId: gender_mock_1.genderIds.male,
330
+ gender: genderRef(gender_mock_1.genderIds.male),
331
+ maritalStatusId: marital_status_mock_1.maritalStatusIds.married,
332
+ maritalStatus: maritalStatusRef(marital_status_mock_1.maritalStatusIds.married),
333
+ educationLevelId: education_level_mock_1.educationLevelIds.bachelors,
334
+ educationLevel: educationLevelRef(education_level_mock_1.educationLevelIds.bachelors),
335
+ },
336
+ {
337
+ id: person_natural_ids_constants_1.personIds.heidiThonig,
338
+ userId: seed_1.userIds.heidiThonig,
339
+ firstName: 'Heidi',
340
+ lastName: 'Thonig',
341
+ fullName: 'Heidi Thonig',
342
+ personTitleId: person_title_mock_1.personTitleIds.mrs,
343
+ personTitle: personTitleRef(person_title_mock_1.personTitleIds.mrs),
344
+ birthDate: '1981-09-30',
345
+ identityNumber: 'SSN-810930019',
346
+ genderId: gender_mock_1.genderIds.female,
347
+ gender: genderRef(gender_mock_1.genderIds.female),
348
+ maritalStatusId: marital_status_mock_1.maritalStatusIds.married,
349
+ maritalStatus: maritalStatusRef(marital_status_mock_1.maritalStatusIds.married),
350
+ educationLevelId: education_level_mock_1.educationLevelIds.masters,
351
+ educationLevel: educationLevelRef(education_level_mock_1.educationLevelIds.masters),
352
+ },
353
+ {
354
+ id: person_natural_ids_constants_1.personIds.mohamadPourGhorban,
355
+ userId: seed_1.userIds.mohamadPourGhorban,
356
+ firstName: 'Mohammad',
357
+ lastName: 'Pour Ghorban',
358
+ fullName: 'Mohammad Pour Ghorban',
359
+ personTitleId: person_title_mock_1.personTitleIds.mr,
360
+ personTitle: personTitleRef(person_title_mock_1.personTitleIds.mr),
361
+ birthDate: '1990-06-15',
362
+ identityNumber: 'SSN-900615020',
363
+ genderId: gender_mock_1.genderIds.male,
364
+ gender: genderRef(gender_mock_1.genderIds.male),
365
+ maritalStatusId: marital_status_mock_1.maritalStatusIds.single,
366
+ maritalStatus: maritalStatusRef(marital_status_mock_1.maritalStatusIds.single),
367
+ educationLevelId: education_level_mock_1.educationLevelIds.bachelors,
368
+ educationLevel: educationLevelRef(education_level_mock_1.educationLevelIds.bachelors),
369
+ },
370
+ ];
371
+ //#endregion
372
+ //# sourceMappingURL=person.mock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"person.mock.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/src/lib/seed/person/person.mock.ts"],"names":[],"mappings":";;;AACA,kFAAiG;AACjG,uDAA+D;AAC/D,+EAA6F;AAC7F,yEAAqF;AACrF,qEAAqE;AACrE,iFAA6F;AA0BpF,0FA1BA,wCAAS,OA0BA;AAAE,+FA1BA,6CAAc,OA0BA;AAAE,iGA1BA,+CAAgB,OA0BA;AAtBpD,MAAM,iBAAiB,GAAG,CAAC,EAAU,EAAE,EAAE;IACvC,MAAM,CAAC,GAAG,0CAAmB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAE,CAAC;IACxD,OAAO,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC;AACtC,CAAC,CAAC;AAEF,MAAM,SAAS,GAAG,CAAC,EAAU,EAAE,EAAE;IAC/B,MAAM,CAAC,GAAG,yBAAW,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAE,CAAC;IAChD,OAAO,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC;AACtC,CAAC,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,EAAU,EAAE,EAAE;IACtC,MAAM,CAAC,GAAG,wCAAkB,CAAC,IA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E,iBAAiB,CAAC,wCAAiB,CAAC,OAAO,CAAC;KAC7D;IACD;QACE,EAAE,EAAE,wCAAS,CAAC,kBAAkB;QAChC,MAAM,EAAE,cAAO,CAAC,kBAAkB;QAClC,SAAS,EAAE,UAAU;QACrB,QAAQ,EAAE,cAAc;QACxB,QAAQ,EAAE,uBAAuB;QACjC,aAAa,EAAE,kCAAc,CAAC,EAAE;QAChC,WAAW,EAAE,cAAc,CAAC,kCAAc,CAAC,EAAE,CAAC;QAC9C,SAAS,EAAE,YAAY;QACvB,cAAc,EAAE,eAAe;QAC/B,QAAQ,EAAE,uBAAS,CAAC,IAAI;QACxB,MAAM,EAAE,SAAS,CAAC,uBAAS,CAAC,IAAI,CAAC;QACjC,eAAe,EAAE,sCAAgB,CAAC,MAAM;QACxC,aAAa,EAAE,gBAAgB,CAAC,sCAAgB,CAAC,MAAM,CAAC;QACxD,gBAAgB,EAAE,wCAAiB,CAAC,SAAS;QAC7C,cAAc,EAAE,iBAAiB,CAAC,wCAAiB,CAAC,SAAS,CAAC;KAC/D;CACF,CAAC;AAEF,YAAY"}
@@ -0,0 +1,5 @@
1
+ import { AXPDataSeeder, AXPEntitySeedDefinition, AXPEntitySeedStorage } from '@acorex-platform/module-common-server/seed';
2
+ export declare const PERSON_ENTITY_NAME = "PersonCore.Person";
3
+ export declare function seedPersonData(storage: AXPEntitySeedStorage): Promise<void>;
4
+ export declare function createPersonDataSeeder(storage: AXPEntitySeedStorage): AXPDataSeeder;
5
+ export declare const personSeedDefinition: AXPEntitySeedDefinition;
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.personSeedDefinition = exports.PERSON_ENTITY_NAME = void 0;
4
+ exports.seedPersonData = seedPersonData;
5
+ exports.createPersonDataSeeder = createPersonDataSeeder;
6
+ const tslib_1 = require("tslib");
7
+ const seed_1 = require("@acorex-platform/module-common-server/seed");
8
+ const person_mock_1 = require("./person.mock");
9
+ //#region ---- Constants ----
10
+ exports.PERSON_ENTITY_NAME = 'PersonCore.Person';
11
+ //#endregion
12
+ //#region ---- Pure seed logic ----
13
+ function seedPersonData(storage) {
14
+ return tslib_1.__awaiter(this, void 0, void 0, function* () {
15
+ yield storage.initial(exports.PERSON_ENTITY_NAME, person_mock_1.personMock, { uniqueKeys: ['id'] });
16
+ });
17
+ }
18
+ function createPersonDataSeeder(storage) {
19
+ return {
20
+ name: 'PersonDataSeeder',
21
+ seed: () => seedPersonData(storage),
22
+ };
23
+ }
24
+ exports.personSeedDefinition = (0, seed_1.defineEntitySeed)({
25
+ name: 'PersonDataSeeder',
26
+ entityName: exports.PERSON_ENTITY_NAME,
27
+ rows: person_mock_1.personMock,
28
+ seed: seedPersonData,
29
+ });
30
+ //#endregion
31
+ //# sourceMappingURL=person.seed.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"person.seed.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/src/lib/seed/person/person.seed.ts"],"names":[],"mappings":";;;AAgBA,wCAEC;AAED,wDAKC;;AAzBD,qEAKoD;AACpD,+CAA2C;AAE3C,6BAA6B;AAEhB,QAAA,kBAAkB,GAAG,mBAAmB,CAAC;AAEtD,YAAY;AAEZ,mCAAmC;AAEnC,SAAsB,cAAc,CAAC,OAA6B;;QAChE,MAAM,OAAO,CAAC,OAAO,CAAC,0BAAkB,EAAE,wBAAU,EAAE,EAAE,UAAU,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAChF,CAAC;CAAA;AAED,SAAgB,sBAAsB,CAAC,OAA6B;IAClE,OAAO;QACL,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,GAAG,EAAE,CAAC,cAAc,CAAC,OAAO,CAAC;KACpC,CAAC;AACJ,CAAC;AAEY,QAAA,oBAAoB,GAA4B,IAAA,uBAAgB,EAAC;IAC5E,IAAI,EAAE,kBAAkB;IACxB,UAAU,EAAE,0BAAkB;IAC9B,IAAI,EAAE,wBAAU;IAChB,IAAI,EAAE,cAAc;CACrB,CAAC,CAAC;AAEH,YAAY"}
@@ -0,0 +1,4 @@
1
+ import type { AXPModuleSeedCatalog } from '@acorex-platform/module-common-server/seed';
2
+ export declare class PersonCoreSeedCatalogProvider {
3
+ getCatalog(): AXPModuleSeedCatalog;
4
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PersonCoreSeedCatalogProvider = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const common_1 = require("@nestjs/common");
6
+ const person_core_seed_catalog_1 = require("./person-core.seed-catalog");
7
+ //#region ---- person-core seed provider ----
8
+ let PersonCoreSeedCatalogProvider = class PersonCoreSeedCatalogProvider {
9
+ getCatalog() {
10
+ return person_core_seed_catalog_1.personcoreSeedCatalog;
11
+ }
12
+ };
13
+ exports.PersonCoreSeedCatalogProvider = PersonCoreSeedCatalogProvider;
14
+ exports.PersonCoreSeedCatalogProvider = PersonCoreSeedCatalogProvider = tslib_1.__decorate([
15
+ (0, common_1.Injectable)()
16
+ ], PersonCoreSeedCatalogProvider);
17
+ //#endregion
18
+ //# sourceMappingURL=person-core-seed.provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"person-core-seed.provider.js","sourceRoot":"","sources":["../../../../../../libs/modules/person-core/server/src/lib/seed/person-core-seed.provider.ts"],"names":[],"mappings":";;;;AAAA,2CAA4C;AAG5C,yEAAmE;AAEnE,6CAA6C;AAGtC,IAAM,6BAA6B,GAAnC,MAAM,6BAA6B;IACxC,UAAU;QACR,OAAO,gDAAqB,CAAC;IAC/B,CAAC;CACF,CAAA;AAJY,sEAA6B;wCAA7B,6BAA6B;IADzC,IAAA,mBAAU,GAAE;GACA,6BAA6B,CAIzC;AAED,YAAY"}
@@ -0,0 +1 @@
1
+ export declare const PERSON_CORE_MODULE_SEED = "PERSON_CORE_MODULE_SEED";
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ //#region ---- person-core seed tokens ----
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.PERSON_CORE_MODULE_SEED = void 0;
5
+ exports.PERSON_CORE_MODULE_SEED = 'PERSON_CORE_MODULE_SEED';
6
+ //#endregion
7
+ //# sourceMappingURL=person-core-seed.tokens.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"person-core-seed.tokens.js","sourceRoot":"","sources":["../../../../../../libs/modules/person-core/server/src/lib/seed/person-core-seed.tokens.ts"],"names":[],"mappings":";AAAA,2CAA2C;;;AAE9B,QAAA,uBAAuB,GAAG,yBAAyB,CAAC;AAEjE,YAAY"}
@@ -0,0 +1,2 @@
1
+ import type { AXPModuleSeedCatalog } from '@acorex-platform/module-common-server/seed';
2
+ export declare const personcoreSeedCatalog: AXPModuleSeedCatalog;
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.personcoreSeedCatalog = void 0;
4
+ const contact_role_seed_1 = require("./contact-role/contact-role.seed");
5
+ const contact_assignment_seed_1 = require("./contact-assignment/contact-assignment.seed");
6
+ const education_level_seed_1 = require("./education-level/education-level.seed");
7
+ const gender_seed_1 = require("./gender/gender.seed");
8
+ const marital_status_seed_1 = require("./marital-status/marital-status.seed");
9
+ const person_seed_1 = require("./person/person.seed");
10
+ const person_identifier_type_seed_1 = require("./person-identifier-type/person-identifier-type.seed");
11
+ const person_relationship_seed_1 = require("./person-relationship/person-relationship.seed");
12
+ const person_title_seed_1 = require("./person-title/person-title.seed");
13
+ const religion_seed_1 = require("./religion/religion.seed");
14
+ //#region ---- person-core seed catalog ----
15
+ exports.personcoreSeedCatalog = {
16
+ moduleName: 'person-core',
17
+ definitions: [
18
+ contact_role_seed_1.contactRoleSeedDefinition,
19
+ education_level_seed_1.educationLevelSeedDefinition,
20
+ gender_seed_1.genderSeedDefinition,
21
+ marital_status_seed_1.maritalStatusSeedDefinition,
22
+ person_seed_1.personSeedDefinition,
23
+ person_identifier_type_seed_1.personIdentifierTypeSeedDefinition,
24
+ person_relationship_seed_1.personRelationshipSeedDefinition,
25
+ contact_assignment_seed_1.contactAssignmentSeedDefinition,
26
+ person_title_seed_1.personTitleSeedDefinition,
27
+ religion_seed_1.religionSeedDefinition,
28
+ ],
29
+ };
30
+ //#endregion
31
+ //# sourceMappingURL=person-core.seed-catalog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"person-core.seed-catalog.js","sourceRoot":"","sources":["../../../../../../libs/modules/person-core/server/src/lib/seed/person-core.seed-catalog.ts"],"names":[],"mappings":";;;AAEA,wEAA6E;AAE7E,0FAA+F;AAE/F,iFAAsF;AAEtF,sDAA4D;AAE5D,8EAAmF;AAEnF,sDAA4D;AAE5D,sGAA0G;AAE1G,6FAAkG;AAElG,wEAA6E;AAE7E,4DAAkE;AAElE,4CAA4C;AAE/B,QAAA,qBAAqB,GAAyB;IACzD,UAAU,EAAE,aAAa;IACzB,WAAW,EAAE;QACX,6CAAyB;QACzB,mDAA4B;QAC5B,kCAAoB;QACpB,iDAA2B;QAC3B,kCAAoB;QACpB,gEAAkC;QAClC,2DAAgC;QAChC,yDAA+B;QAC/B,6CAAyB;QACzB,sCAAsB;KACvB;CACF,CAAC;AAEF,YAAY"}
@@ -0,0 +1,2 @@
1
+ export * from './person-identifier-type.mock';
2
+ export * from './person-identifier-type.seed';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./person-identifier-type.mock"), exports);
5
+ tslib_1.__exportStar(require("./person-identifier-type.seed"), exports);
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/src/lib/seed/person-identifier-type/index.ts"],"names":[],"mappings":";;;AAAA,wEAA8C;AAC9C,wEAA8C"}
@@ -0,0 +1,4 @@
1
+ import { AXMPersonCorePersonIdentifierTypeEntityModel } from '@acorex-platform/module-person-core-contracts';
2
+ type PersonIdentifierTypeMockDto = AXMPersonCorePersonIdentifierTypeEntityModel;
3
+ export declare const personIdentifierTypeMock: PersonIdentifierTypeMockDto[];
4
+ export {};
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.personIdentifierTypeMock = void 0;
4
+ const seed_1 = require("@acorex-platform/module-common-server/seed");
5
+ const M = seed_1.createMultiLanguageString;
6
+ exports.personIdentifierTypeMock = [
7
+ {
8
+ id: seed_1.AXPDataGenerator.uuid(),
9
+ title: M('VAT Number', 'شماره مالیات بر ارزش افزوده'),
10
+ description: M('Value Added Tax identification number', 'شناسه مالیات بر ارزش افزوده'),
11
+ scope: 'global',
12
+ formatRegex: '^[A-Z]{2}[0-9A-Z]{8,12}$',
13
+ minLength: 10,
14
+ maxLength: 14,
15
+ isUnique: true,
16
+ },
17
+ {
18
+ id: seed_1.AXPDataGenerator.uuid(),
19
+ title: M('Company ID', 'شناسه ثبت شرکت'),
20
+ description: M('Official company registration number', 'شماره رسمی ثبت شرکت'),
21
+ scope: 'national',
22
+ formatRegex: '^[0-9]{8,12}$',
23
+ minLength: 8,
24
+ maxLength: 12,
25
+ isUnique: true,
26
+ },
27
+ {
28
+ id: seed_1.AXPDataGenerator.uuid(),
29
+ title: M('Passport Number', 'شماره گذرنامه'),
30
+ description: M('Passport identification number', 'شماره شناسایی گذرنامه'),
31
+ scope: 'global',
32
+ formatRegex: '^[A-Z0-9]{6,9}$',
33
+ minLength: 6,
34
+ maxLength: 9,
35
+ isUnique: false,
36
+ },
37
+ {
38
+ id: seed_1.AXPDataGenerator.uuid(),
39
+ title: M('National ID', 'کد ملی'),
40
+ description: M('National identification number', 'شماره ملی'),
41
+ scope: 'national',
42
+ formatRegex: '^[0-9]{9,12}$',
43
+ minLength: 9,
44
+ maxLength: 12,
45
+ isUnique: true,
46
+ },
47
+ {
48
+ id: seed_1.AXPDataGenerator.uuid(),
49
+ title: M('Tax ID', 'شناسه مالیاتی'),
50
+ description: M('Tax identification number', 'کد شناسایی مالیاتی'),
51
+ scope: 'national',
52
+ formatRegex: '^[0-9]{9,11}$',
53
+ minLength: 9,
54
+ maxLength: 11,
55
+ isUnique: true,
56
+ },
57
+ {
58
+ id: seed_1.AXPDataGenerator.uuid(),
59
+ title: M("Driver's License", 'گواهینامه رانندگی'),
60
+ description: M("Driver's license number", 'شماره گواهینامه رانندگی'),
61
+ scope: 'regional',
62
+ formatRegex: '^[A-Z0-9]{6,12}$',
63
+ minLength: 6,
64
+ maxLength: 12,
65
+ isUnique: false,
66
+ },
67
+ ];
68
+ //# sourceMappingURL=person-identifier-type.mock.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"person-identifier-type.mock.js","sourceRoot":"","sources":["../../../../../../../libs/modules/person-core/server/src/lib/seed/person-identifier-type/person-identifier-type.mock.ts"],"names":[],"mappings":";;;AAAA,qEAAuG;AAMvG,MAAM,CAAC,GAAG,gCAAyB,CAAC;AAEvB,QAAA,wBAAwB,GAAkC;IACrE;QACE,EAAE,EAAE,uBAAgB,CAAC,IAAI,EAAE;QAC3B,KAAK,EAAE,CAAC,CAAC,YAAY,EAAE,6BAA6B,CAAC;QACrD,WAAW,EAAE,CAAC,CAAC,uCAAuC,EAAE,6BAA6B,CAAC;QACtF,KAAK,EAAE,QAAQ;QACf,WAAW,EAAE,0BAA0B;QACvC,SAAS,EAAE,EAAE;QACb,SAAS,EAAE,EAAE;QACb,QAAQ,EAAE,IAAI;KACf;IACD;QACE,EAAE,EAAE,uBAAgB,CAAC,IAAI,EAAE;QAC3B,KAAK,EAAE,CAAC,CAAC,YAAY,EAAE,gBAAgB,CAAC;QACxC,WAAW,EAAE,CAAC,CAAC,sCAAsC,EAAE,qBAAqB,CAAC;QAC7E,KAAK,EAAE,UAAU;QACjB,WAAW,EAAE,eAAe;QAC5B,SAAS,EAAE,CAAC;QACZ,SAAS,EAAE,EAAE;QACb,QAAQ,EAAE,IAAI;KACf;IACD;Q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inition, AXPEntitySeedStorage } from '@acorex-platform/module-common-server/seed';
2
+ export declare const PERSON_IDENTIFIER_TYPE_ENTITY_NAME = "PersonCore.PersonIdentifierType";
3
+ export declare function seedPersonIdentifierTypeData(storage: AXPEntitySeedStorage): Promise<void>;
4
+ export declare function createPersonIdentifierTypeDataSeeder(storage: AXPEntitySeedStorage): AXPDataSeeder;
5
+ export declare const personIdentifierTypeSeedDefinition: AXPEntitySeedDefinition;