@etsoo/smarterp-crm 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/.gitattributes +2 -0
  2. package/.github/workflows/main.yml +60 -0
  3. package/LICENSE +21 -0
  4. package/README.md +17 -0
  5. package/__tests__/PersonApi.ts +15 -0
  6. package/__tests__/app/TestApp.ts +139 -0
  7. package/__tests__/tsconfig.json +20 -0
  8. package/babel.config.json +11 -0
  9. package/lib/cjs/CrmApp.d.ts +186 -0
  10. package/lib/cjs/CrmApp.js +170 -0
  11. package/lib/cjs/PersonApi.d.ts +38 -0
  12. package/lib/cjs/PersonApi.js +45 -0
  13. package/lib/cjs/PersonProfileApi.d.ts +54 -0
  14. package/lib/cjs/PersonProfileApi.js +63 -0
  15. package/lib/cjs/components/index.d.ts +1 -0
  16. package/lib/cjs/components/index.js +18 -0
  17. package/lib/cjs/components/person/PersonTiplist.d.ts +28 -0
  18. package/lib/cjs/components/person/PersonTiplist.js +27 -0
  19. package/lib/cjs/dto/person/AddressItem.d.ts +36 -0
  20. package/lib/cjs/dto/person/AddressItem.js +12 -0
  21. package/lib/cjs/dto/person/CategoryItem.d.ts +16 -0
  22. package/lib/cjs/dto/person/CategoryItem.js +2 -0
  23. package/lib/cjs/dto/person/ContactItem.d.ts +30 -0
  24. package/lib/cjs/dto/person/ContactItem.js +2 -0
  25. package/lib/cjs/dto/person/MaritalStatus.d.ts +36 -0
  26. package/lib/cjs/dto/person/MaritalStatus.js +40 -0
  27. package/lib/cjs/dto/person/PersonDegree.d.ts +26 -0
  28. package/lib/cjs/dto/person/PersonDegree.js +30 -0
  29. package/lib/cjs/dto/person/PersonEducation.d.ts +111 -0
  30. package/lib/cjs/dto/person/PersonEducation.js +115 -0
  31. package/lib/cjs/dto/person/PersonListDto.d.ts +6 -0
  32. package/lib/cjs/dto/person/PersonListDto.js +2 -0
  33. package/lib/cjs/dto/person/PersonQueryData.d.ts +24 -0
  34. package/lib/cjs/dto/person/PersonQueryData.js +2 -0
  35. package/lib/cjs/dto/person/PersonReadDto.d.ts +206 -0
  36. package/lib/cjs/dto/person/PersonReadDto.js +2 -0
  37. package/lib/cjs/dto/person/PersonTitle.d.ts +36 -0
  38. package/lib/cjs/dto/person/PersonTitle.js +40 -0
  39. package/lib/cjs/dto/personProfile/PersonProfileKind.d.ts +26 -0
  40. package/lib/cjs/dto/personProfile/PersonProfileKind.js +30 -0
  41. package/lib/cjs/dto/personProfile/PersonProfileListData.d.ts +16 -0
  42. package/lib/cjs/dto/personProfile/PersonProfileListData.js +2 -0
  43. package/lib/cjs/dto/personProfile/PersonProfileQueryData.d.ts +43 -0
  44. package/lib/cjs/dto/personProfile/PersonProfileQueryData.js +2 -0
  45. package/lib/cjs/dto/personProfile/PersonProfileUpdateReadData.d.ts +73 -0
  46. package/lib/cjs/dto/personProfile/PersonProfileUpdateReadData.js +2 -0
  47. package/lib/cjs/dto/personProfile/PersonProfileViewData.d.ts +5 -0
  48. package/lib/cjs/dto/personProfile/PersonProfileViewData.js +2 -0
  49. package/lib/cjs/i18n/CrmCulture.d.ts +244 -0
  50. package/lib/cjs/i18n/CrmCulture.js +23 -0
  51. package/lib/cjs/i18n/en.json +74 -0
  52. package/lib/cjs/i18n/zh-Hans.json +74 -0
  53. package/lib/cjs/i18n/zh-Hant.json +74 -0
  54. package/lib/cjs/index.d.ts +20 -0
  55. package/lib/cjs/index.js +40 -0
  56. package/lib/cjs/rq/person/PersonListRQ.d.ts +6 -0
  57. package/lib/cjs/rq/person/PersonListRQ.js +2 -0
  58. package/lib/cjs/rq/person/PersonQueryRQ.d.ts +6 -0
  59. package/lib/cjs/rq/person/PersonQueryRQ.js +2 -0
  60. package/lib/cjs/rq/personProfile/PersonProfileCreateRQ.d.ts +73 -0
  61. package/lib/cjs/rq/personProfile/PersonProfileCreateRQ.js +2 -0
  62. package/lib/cjs/rq/personProfile/PersonProfileListRQ.d.ts +48 -0
  63. package/lib/cjs/rq/personProfile/PersonProfileListRQ.js +2 -0
  64. package/lib/cjs/rq/personProfile/PersonProfileQueryRQ.d.ts +12 -0
  65. package/lib/cjs/rq/personProfile/PersonProfileQueryRQ.js +2 -0
  66. package/lib/mjs/CrmApp.d.ts +186 -0
  67. package/lib/mjs/CrmApp.js +165 -0
  68. package/lib/mjs/PersonApi.d.ts +38 -0
  69. package/lib/mjs/PersonApi.js +41 -0
  70. package/lib/mjs/PersonProfileApi.d.ts +54 -0
  71. package/lib/mjs/PersonProfileApi.js +59 -0
  72. package/lib/mjs/components/index.d.ts +1 -0
  73. package/lib/mjs/components/index.js +2 -0
  74. package/lib/mjs/components/person/PersonTiplist.d.ts +28 -0
  75. package/lib/mjs/components/person/PersonTiplist.js +24 -0
  76. package/lib/mjs/dto/person/AddressItem.d.ts +36 -0
  77. package/lib/mjs/dto/person/AddressItem.js +11 -0
  78. package/lib/mjs/dto/person/CategoryItem.d.ts +16 -0
  79. package/lib/mjs/dto/person/CategoryItem.js +1 -0
  80. package/lib/mjs/dto/person/ContactItem.d.ts +30 -0
  81. package/lib/mjs/dto/person/ContactItem.js +1 -0
  82. package/lib/mjs/dto/person/MaritalStatus.d.ts +36 -0
  83. package/lib/mjs/dto/person/MaritalStatus.js +37 -0
  84. package/lib/mjs/dto/person/PersonDegree.d.ts +26 -0
  85. package/lib/mjs/dto/person/PersonDegree.js +27 -0
  86. package/lib/mjs/dto/person/PersonEducation.d.ts +111 -0
  87. package/lib/mjs/dto/person/PersonEducation.js +112 -0
  88. package/lib/mjs/dto/person/PersonListDto.d.ts +6 -0
  89. package/lib/mjs/dto/person/PersonListDto.js +1 -0
  90. package/lib/mjs/dto/person/PersonQueryData.d.ts +24 -0
  91. package/lib/mjs/dto/person/PersonQueryData.js +1 -0
  92. package/lib/mjs/dto/person/PersonReadDto.d.ts +206 -0
  93. package/lib/mjs/dto/person/PersonReadDto.js +1 -0
  94. package/lib/mjs/dto/person/PersonTitle.d.ts +36 -0
  95. package/lib/mjs/dto/person/PersonTitle.js +37 -0
  96. package/lib/mjs/dto/personProfile/PersonProfileKind.d.ts +26 -0
  97. package/lib/mjs/dto/personProfile/PersonProfileKind.js +27 -0
  98. package/lib/mjs/dto/personProfile/PersonProfileListData.d.ts +16 -0
  99. package/lib/mjs/dto/personProfile/PersonProfileListData.js +1 -0
  100. package/lib/mjs/dto/personProfile/PersonProfileQueryData.d.ts +43 -0
  101. package/lib/mjs/dto/personProfile/PersonProfileQueryData.js +1 -0
  102. package/lib/mjs/dto/personProfile/PersonProfileUpdateReadData.d.ts +73 -0
  103. package/lib/mjs/dto/personProfile/PersonProfileUpdateReadData.js +1 -0
  104. package/lib/mjs/dto/personProfile/PersonProfileViewData.d.ts +5 -0
  105. package/lib/mjs/dto/personProfile/PersonProfileViewData.js +1 -0
  106. package/lib/mjs/i18n/CrmCulture.d.ts +460 -0
  107. package/lib/mjs/i18n/CrmCulture.js +20 -0
  108. package/lib/mjs/i18n/en.json +74 -0
  109. package/lib/mjs/i18n/zh-Hans.json +74 -0
  110. package/lib/mjs/i18n/zh-Hant.json +74 -0
  111. package/lib/mjs/index.d.ts +20 -0
  112. package/lib/mjs/index.js +24 -0
  113. package/lib/mjs/rq/person/PersonListRQ.d.ts +6 -0
  114. package/lib/mjs/rq/person/PersonListRQ.js +1 -0
  115. package/lib/mjs/rq/person/PersonQueryRQ.d.ts +6 -0
  116. package/lib/mjs/rq/person/PersonQueryRQ.js +1 -0
  117. package/lib/mjs/rq/personProfile/PersonProfileCreateRQ.d.ts +73 -0
  118. package/lib/mjs/rq/personProfile/PersonProfileCreateRQ.js +1 -0
  119. package/lib/mjs/rq/personProfile/PersonProfileListRQ.d.ts +48 -0
  120. package/lib/mjs/rq/personProfile/PersonProfileListRQ.js +1 -0
  121. package/lib/mjs/rq/personProfile/PersonProfileQueryRQ.d.ts +12 -0
  122. package/lib/mjs/rq/personProfile/PersonProfileQueryRQ.js +1 -0
  123. package/package.json +64 -0
  124. package/src/CrmApp.ts +270 -0
  125. package/src/PersonApi.ts +50 -0
  126. package/src/PersonProfileApi.ts +81 -0
  127. package/src/components/index.ts +2 -0
  128. package/src/components/person/PersonTiplist.tsx +75 -0
  129. package/src/dto/person/AddressItem.ts +39 -0
  130. package/src/dto/person/CategoryItem.ts +17 -0
  131. package/src/dto/person/ContactItem.ts +38 -0
  132. package/src/dto/person/MaritalStatus.ts +41 -0
  133. package/src/dto/person/PersonDegree.ts +29 -0
  134. package/src/dto/person/PersonEducation.ts +131 -0
  135. package/src/dto/person/PersonListDto.ts +7 -0
  136. package/src/dto/person/PersonQueryData.ts +28 -0
  137. package/src/dto/person/PersonReadDto.ts +242 -0
  138. package/src/dto/person/PersonTitle.ts +41 -0
  139. package/src/dto/personProfile/PersonProfileKind.ts +29 -0
  140. package/src/dto/personProfile/PersonProfileListData.ts +17 -0
  141. package/src/dto/personProfile/PersonProfileQueryData.ts +50 -0
  142. package/src/dto/personProfile/PersonProfileUpdateReadData.ts +86 -0
  143. package/src/dto/personProfile/PersonProfileViewData.ts +5 -0
  144. package/src/i18n/CrmCulture.ts +21 -0
  145. package/src/i18n/en.json +74 -0
  146. package/src/i18n/zh-Hans.json +74 -0
  147. package/src/i18n/zh-Hant.json +74 -0
  148. package/src/index.ts +30 -0
  149. package/src/rq/person/PersonListRQ.ts +7 -0
  150. package/src/rq/person/PersonQueryRQ.ts +7 -0
  151. package/src/rq/personProfile/PersonProfileCreateRQ.ts +86 -0
  152. package/src/rq/personProfile/PersonProfileListRQ.ts +56 -0
  153. package/src/rq/personProfile/PersonProfileQueryRQ.ts +13 -0
  154. package/tsconfig.cjs.json +20 -0
  155. package/tsconfig.json +20 -0
  156. package/vite.config.mts +12 -0
@@ -0,0 +1,81 @@
1
+ import {
2
+ EntityApi,
3
+ IApi,
4
+ IApiPayload,
5
+ IApp,
6
+ IdResultPayload
7
+ } from "@etsoo/appscript";
8
+ import { PersonProfileListData } from "./dto/personProfile/PersonProfileListData";
9
+ import { PersonProfileListRQ } from "./rq/personProfile/PersonProfileListRQ";
10
+ import { PersonProfileQueryRQ } from "./rq/personProfile/PersonProfileQueryRQ";
11
+ import { PersonProfileUpdateReadData } from "./dto/personProfile/PersonProfileUpdateReadData";
12
+ import { PersonProfileQueryData } from "./dto/personProfile/PersonProfileQueryData";
13
+ import { PersonProfileViewData } from "./dto/personProfile/PersonProfileViewData";
14
+ import { PersonProfileCreateRQ } from "./rq/personProfile/PersonProfileCreateRQ";
15
+
16
+ /**
17
+ * Person profile API
18
+ */
19
+ export class PersonProfileApi extends EntityApi {
20
+ /**
21
+ * Constructor
22
+ * @param app Application
23
+ * @param api API
24
+ */
25
+ constructor(app: IApp, api: IApi = app.api) {
26
+ super("PersonProfile", app, api);
27
+ }
28
+
29
+ /**
30
+ * Create
31
+ * @param rq Request data
32
+ * @param payload Payload
33
+ * @returns Result
34
+ */
35
+ create(rq: PersonProfileCreateRQ, payload?: IdResultPayload) {
36
+ return this.createBase(rq, payload);
37
+ }
38
+
39
+ /**
40
+ * List
41
+ * @param rq Request data
42
+ * @param payload Payload
43
+ * @returns Result
44
+ */
45
+ list(rq: PersonProfileListRQ, payload: IApiPayload<PersonProfileListData[]>) {
46
+ return this.listBase(rq, payload);
47
+ }
48
+
49
+ /**
50
+ * Query
51
+ * @param rq Request data
52
+ * @param payload Payload
53
+ * @returns Result
54
+ */
55
+ query(
56
+ rq: PersonProfileQueryRQ,
57
+ payload?: IApiPayload<PersonProfileQueryData[]>
58
+ ) {
59
+ return this.queryBase(rq, payload);
60
+ }
61
+
62
+ /**
63
+ * Read
64
+ * @param id Id
65
+ * @param payload Payload
66
+ * @returns Result
67
+ */
68
+ read(id: number, payload?: IApiPayload<PersonProfileViewData>) {
69
+ return this.readBase(id, payload);
70
+ }
71
+
72
+ /**
73
+ * Update read
74
+ * @param id Id
75
+ * @param payload Payload
76
+ * @returns Result
77
+ */
78
+ updateRead(id: number, payload?: IApiPayload<PersonProfileUpdateReadData>) {
79
+ return this.updateReadBase(id, payload);
80
+ }
81
+ }
@@ -0,0 +1,2 @@
1
+ // person
2
+ export * from "./person/PersonTiplist";
@@ -0,0 +1,75 @@
1
+ import { Tiplist, TiplistProps } from "@etsoo/materialui";
2
+ import { PersonListDto } from "../../dto/person/PersonListDto";
3
+ import { PersonListRQ } from "../../rq/person/PersonListRQ";
4
+ import { useRequiredCrmContext } from "../../CrmApp";
5
+
6
+ /**
7
+ * Person tiplist properties
8
+ * 人员提示列表属性
9
+ */
10
+ export type PersonTiplistProps = Omit<
11
+ TiplistProps<PersonListDto, "id">,
12
+ "loadData" | "label" | "name"
13
+ > & {
14
+ /**
15
+ * Label
16
+ */
17
+ label?: string;
18
+
19
+ /**
20
+ * Name
21
+ */
22
+ name?: string;
23
+
24
+ /**
25
+ * Default request data
26
+ */
27
+ rq?: Partial<PersonListRQ>;
28
+ };
29
+
30
+ /**
31
+ * Person tiplist
32
+ * 人员提示列表
33
+ * @param props Properties
34
+ * @returns Component
35
+ */
36
+ export function PersonTiplist(props: PersonTiplistProps) {
37
+ // CRM app
38
+ const crm = useRequiredCrmContext();
39
+
40
+ // Destruct
41
+ const {
42
+ fullWidth = true,
43
+ label = crm.app.get("user")!,
44
+ maxItems = 10,
45
+ getOptionLabel = (data) => data.name,
46
+ name = "personId",
47
+ rq = { enabled: true },
48
+ ...rest
49
+ } = props;
50
+
51
+ // Layout
52
+ return (
53
+ <Tiplist<PersonListDto>
54
+ label={label}
55
+ getOptionLabel={getOptionLabel}
56
+ name={name}
57
+ fullWidth={fullWidth}
58
+ maxItems={maxItems}
59
+ loadData={(keyword, id, maxItems) =>
60
+ crm.personApi.list(
61
+ {
62
+ ...rq,
63
+ keyword,
64
+ id,
65
+ queryPaging: {
66
+ batchSize: maxItems
67
+ }
68
+ },
69
+ { showLoading: false, defaultValue: [] }
70
+ )
71
+ }
72
+ {...rest}
73
+ />
74
+ );
75
+ }
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Address kind
3
+ * 地址类型
4
+ */
5
+ enum AddressKind {
6
+ Office = 1,
7
+ Home = 2,
8
+ Other = 9
9
+ }
10
+
11
+ /**
12
+ * Address item
13
+ * 地址项
14
+ */
15
+ export type AddressItem = {
16
+ /**
17
+ * Id
18
+ * 编号
19
+ */
20
+ id: number;
21
+
22
+ /**
23
+ * Kind
24
+ * 类型
25
+ */
26
+ kind: AddressKind;
27
+
28
+ /**
29
+ * Name
30
+ * 名称
31
+ */
32
+ name: string;
33
+
34
+ /**
35
+ * Formatted address
36
+ * 格式化地址
37
+ */
38
+ formattedAddress: string;
39
+ };
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Category item
3
+ * 类目项
4
+ */
5
+ export type CategoryItem = {
6
+ /**
7
+ * Id
8
+ * 编号
9
+ */
10
+ id: number;
11
+
12
+ /**
13
+ * Names
14
+ * 名称数组
15
+ */
16
+ names: string[];
17
+ };
@@ -0,0 +1,38 @@
1
+ import { IdentityTypeFlags } from "@etsoo/appscript";
2
+
3
+ /**
4
+ * Identity type data
5
+ * 身份类型数据
6
+ */
7
+ export type IdentityTypeData = {
8
+ /**
9
+ * Identity type
10
+ */
11
+ identityType: IdentityTypeFlags;
12
+
13
+ /**
14
+ * Is organization
15
+ */
16
+ isOrg: boolean;
17
+ };
18
+
19
+ /**
20
+ * Contact item
21
+ * 联系人项
22
+ */
23
+ export type ContactItem = IdentityTypeData & {
24
+ /**
25
+ * Id
26
+ */
27
+ id: number;
28
+
29
+ /**
30
+ * Name
31
+ */
32
+ name: string;
33
+
34
+ /*
35
+ * Preferred name
36
+ */
37
+ preferredName?: string;
38
+ };
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Person marital status
3
+ * 个人婚姻状况
4
+ */
5
+ export enum MaritalStatus {
6
+ /**
7
+ * Single
8
+ * 未婚
9
+ */
10
+ Single = 1,
11
+
12
+ /**
13
+ * Married
14
+ * 已婚
15
+ */
16
+ Married = 2,
17
+
18
+ /**
19
+ * Partnership
20
+ * 同居伴侣
21
+ */
22
+ Partnership = 3,
23
+
24
+ /**
25
+ * Separated
26
+ * 分居
27
+ */
28
+ Separated = 4,
29
+
30
+ /**
31
+ * Divorced
32
+ * 离异
33
+ */
34
+ Divorced = 5,
35
+
36
+ /**
37
+ * Widowed
38
+ * 丧偶
39
+ */
40
+ Widowed = 6
41
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Person degree
3
+ * 个人学位
4
+ */
5
+ export enum PersonDegree {
6
+ /**
7
+ * Pre-bachelor
8
+ * 副学士
9
+ */
10
+ PreBachelor = 1,
11
+
12
+ /**
13
+ * Bachelor
14
+ * 学士
15
+ */
16
+ Bachelor = 2,
17
+
18
+ /**
19
+ * Master
20
+ * 硕士
21
+ */
22
+ Master = 3,
23
+
24
+ /**
25
+ * Doctor
26
+ * 博士
27
+ */
28
+ Doctor = 4
29
+ }
@@ -0,0 +1,131 @@
1
+ /**
2
+ * Person education
3
+ * 个人学历
4
+ */
5
+ export enum PersonEducation {
6
+ /**
7
+ * Primary school
8
+ * 小学
9
+ */
10
+ PrimarySchool = 1,
11
+
12
+ /**
13
+ * Year 2
14
+ * 小学2年级
15
+ */
16
+ PrimarySchool2 = 2,
17
+
18
+ /**
19
+ * Year 3
20
+ * 小学3年级
21
+ */
22
+ PrimarySchool3 = 3,
23
+
24
+ /**
25
+ * Year 4
26
+ * 小学4年级
27
+ */
28
+ PrimarySchool4 = 4,
29
+
30
+ /**
31
+ * Year 5
32
+ * 小学5年级
33
+ */
34
+ PrimarySchool5 = 5,
35
+
36
+ /**
37
+ * Year 6
38
+ * 小学6年级
39
+ */
40
+ PrimarySchool6 = 6,
41
+
42
+ /**
43
+ * Middle school
44
+ * 初中
45
+ */
46
+ MiddleSchool = 20,
47
+
48
+ /**
49
+ * Year 7
50
+ * 初中1年级
51
+ */
52
+ MiddleSchool1 = 27,
53
+
54
+ /**
55
+ * Year 8
56
+ * 初中2年级
57
+ */
58
+ MiddleSchool2 = 28,
59
+
60
+ /**
61
+ * Year 9
62
+ * 初中3年级
63
+ */
64
+ MiddleSchool3 = 29,
65
+
66
+ /**
67
+ * High school
68
+ * 高中
69
+ */
70
+ HighSchool = 40,
71
+
72
+ /**
73
+ * Year 10
74
+ * 高中1年级
75
+ */
76
+ HighSchool1 = 51,
77
+
78
+ /**
79
+ * Year 11
80
+ * 高中2年级
81
+ */
82
+ HighSchool2 = 52,
83
+
84
+ /**
85
+ * Year 12
86
+ * 高中3年级
87
+ */
88
+ HighSchool3 = 53,
89
+
90
+ /**
91
+ * Diploma Graduate
92
+ * 大专毕业
93
+ */
94
+ University2 = 82,
95
+
96
+ /**
97
+ * Graduated from Five Types of Higher Education (Self-study Exam, Open University, Night University, Party School, Correspondence Course)
98
+ * 五大学历毕业(自考、电大、夜大、党校、函授)
99
+ */
100
+ University4 = 84,
101
+
102
+ /**
103
+ * University Student
104
+ * 大学在读
105
+ */
106
+ University6 = 86,
107
+
108
+ /**
109
+ * Bachelor's Graduate (No Degree)
110
+ * 大学本科毕业(无学士学位)
111
+ */
112
+ University8 = 88,
113
+
114
+ /**
115
+ * Bachelor's Graduate (With Degree)
116
+ * 大学本科毕业且获得学士学位
117
+ */
118
+ University10 = 90,
119
+
120
+ /**
121
+ * Postgraduate (No Degree)
122
+ * 研究生毕业(无学位证书)
123
+ */
124
+ University12 = 92,
125
+
126
+ /**
127
+ * Master’s Graduate
128
+ * 硕士学位毕业
129
+ */
130
+ University14 = 94
131
+ }
@@ -0,0 +1,7 @@
1
+ import { ContactItem } from "./ContactItem";
2
+
3
+ /**
4
+ * Person list data
5
+ * 成员列表数据
6
+ */
7
+ export type PersonListDto = ContactItem & {};
@@ -0,0 +1,28 @@
1
+ import { EntityStatus } from "@etsoo/appscript";
2
+ import { PersonListDto } from "./PersonListDto";
3
+
4
+ /**
5
+ * Person query data
6
+ * 成员查询数据
7
+ */
8
+ export type PersonQueryData = PersonListDto & {
9
+ /**
10
+ * Assigned id
11
+ */
12
+ assignedId?: string;
13
+
14
+ /**
15
+ * Job title
16
+ */
17
+ jobTitle?: string;
18
+
19
+ /**
20
+ * Status
21
+ */
22
+ status: EntityStatus;
23
+
24
+ /**
25
+ * Creation
26
+ */
27
+ creation: Date | string;
28
+ };