@nomalism-com/types 0.17.56 → 0.18.1

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 (290) hide show
  1. package/dist/index.d.ts +1 -87
  2. package/dist/index.js +6 -179
  3. package/dist/index.min.js +1 -0
  4. package/dist/modules/stock/unitOfMeasure/interface.d.ts +4 -5
  5. package/dist/modules/supply/documentHeader/interfaces.d.ts +1 -0
  6. package/package.json +10 -11
  7. package/dist/modules/document/materialEntrance/tests.d.ts +0 -0
  8. package/dist/modules/document/materialEntrance/tests.js +0 -1
  9. package/dist/modules/document/purchase/tests.d.ts +0 -0
  10. package/dist/modules/document/purchase/tests.js +0 -1
  11. package/dist/modules/documentManagement/multimedia/oas.schema.d.ts +0 -108
  12. package/dist/modules/documentManagement/multimedia/oas.schema.js +0 -71
  13. package/dist/modules/documentManagement/multimedia/tests.d.ts +0 -2
  14. package/dist/modules/documentManagement/multimedia/tests.js +0 -53
  15. package/dist/modules/integration/dynamicData/interfaces.d.ts +0 -29
  16. package/dist/modules/integration/dynamicData/interfaces.js +0 -6
  17. package/dist/modules/integration/dynamicData/route.schema.d.ts +0 -4
  18. package/dist/modules/integration/dynamicData/route.schema.js +0 -25
  19. package/dist/modules/integration/field/oas.schema.d.ts +0 -224
  20. package/dist/modules/integration/field/oas.schema.js +0 -135
  21. package/dist/modules/integration/field/tests.d.ts +0 -3
  22. package/dist/modules/integration/field/tests.js +0 -57
  23. package/dist/modules/integration/fieldGroup/oas.schema.d.ts +0 -241
  24. package/dist/modules/integration/fieldGroup/oas.schema.js +0 -155
  25. package/dist/modules/integration/fieldGroup/tests.d.ts +0 -6
  26. package/dist/modules/integration/fieldGroup/tests.js +0 -66
  27. package/dist/modules/integration/history/oas.schema.d.ts +0 -399
  28. package/dist/modules/integration/history/oas.schema.js +0 -141
  29. package/dist/modules/integration/history/tests.d.ts +0 -0
  30. package/dist/modules/integration/history/tests.js +0 -1
  31. package/dist/modules/integration/observation/tests.d.ts +0 -8
  32. package/dist/modules/integration/observation/tests.js +0 -71
  33. package/dist/modules/integration/observationType/responseCreate.schema.d.ts +0 -5
  34. package/dist/modules/integration/observationType/responseCreate.schema.js +0 -47
  35. package/dist/modules/integration/observationType/tests.d.ts +0 -5
  36. package/dist/modules/integration/observationType/tests.js +0 -57
  37. package/dist/modules/integration/taskAttachment/interfaces.d.ts +0 -27
  38. package/dist/modules/integration/taskAttachment/interfaces.js +0 -6
  39. package/dist/modules/integration/taskAttachment/oas.schema.d.ts +0 -238
  40. package/dist/modules/integration/taskAttachment/oas.schema.js +0 -144
  41. package/dist/modules/integration/taskAttachment/route.schema.d.ts +0 -7
  42. package/dist/modules/integration/taskAttachment/route.schema.js +0 -21
  43. package/dist/modules/integration/taskAttachment/tests.d.ts +0 -4
  44. package/dist/modules/integration/taskAttachment/tests.js +0 -61
  45. package/dist/modules/integration/taskNote/interface.d.ts +0 -29
  46. package/dist/modules/integration/taskNote/interface.js +0 -6
  47. package/dist/modules/integration/taskNote/oas.schema.d.ts +0 -238
  48. package/dist/modules/integration/taskNote/oas.schema.js +0 -144
  49. package/dist/modules/integration/taskNote/route.schema.d.ts +0 -9
  50. package/dist/modules/integration/taskNote/route.schema.js +0 -24
  51. package/dist/modules/integration/taskNote/tests.d.ts +0 -4
  52. package/dist/modules/integration/taskNote/tests.js +0 -60
  53. package/dist/modules/integration/tasks/interfaces.d.ts +0 -68
  54. package/dist/modules/integration/tasks/interfaces.js +0 -6
  55. package/dist/modules/integration/tasks/oas.schema.d.ts +0 -618
  56. package/dist/modules/integration/tasks/oas.schema.js +0 -256
  57. package/dist/modules/integration/tasks/route.schema.d.ts +0 -14
  58. package/dist/modules/integration/tasks/route.schema.js +0 -54
  59. package/dist/modules/integration/tasks/tests.d.ts +0 -4
  60. package/dist/modules/integration/tasks/tests.js +0 -94
  61. package/dist/modules/integration/tasksGroup/interfaces.d.ts +0 -30
  62. package/dist/modules/integration/tasksGroup/interfaces.js +0 -6
  63. package/dist/modules/integration/tasksGroup/oas.schema.d.ts +0 -270
  64. package/dist/modules/integration/tasksGroup/oas.schema.js +0 -146
  65. package/dist/modules/integration/tasksGroup/route.schema.d.ts +0 -3
  66. package/dist/modules/integration/tasksGroup/route.schema.js +0 -16
  67. package/dist/modules/integration/tasksGroup/tests.d.ts +0 -5
  68. package/dist/modules/integration/tasksGroup/tests.js +0 -68
  69. package/dist/modules/stock/attribute/tests.d.ts +0 -10
  70. package/dist/modules/stock/attribute/tests.js +0 -102
  71. package/dist/modules/stock/attributeValue/tests.d.ts +0 -9
  72. package/dist/modules/stock/attributeValue/tests.js +0 -90
  73. package/dist/modules/stock/color/tests.d.ts +0 -9
  74. package/dist/modules/stock/color/tests.js +0 -90
  75. package/dist/modules/stock/composition/tests.d.ts +0 -9
  76. package/dist/modules/stock/composition/tests.js +0 -94
  77. package/dist/modules/stock/compositionMaterial/oas.schema.d.ts +0 -406
  78. package/dist/modules/stock/compositionMaterial/oas.schema.js +0 -268
  79. package/dist/modules/stock/compositionMaterial/tests.d.ts +0 -6
  80. package/dist/modules/stock/compositionMaterial/tests.js +0 -87
  81. package/dist/modules/stock/location/oas.schema.d.ts +0 -406
  82. package/dist/modules/stock/location/oas.schema.js +0 -268
  83. package/dist/modules/stock/location/tests.d.ts +0 -6
  84. package/dist/modules/stock/location/tests.js +0 -149
  85. package/dist/modules/stock/maintenance/tests.d.ts +0 -9
  86. package/dist/modules/stock/maintenance/tests.js +0 -96
  87. package/dist/modules/stock/maintenanceAssoc/tests.d.ts +0 -9
  88. package/dist/modules/stock/maintenanceAssoc/tests.js +0 -90
  89. package/dist/modules/stock/maintenancePreset/tests.d.ts +0 -3
  90. package/dist/modules/stock/maintenancePreset/tests.js +0 -57
  91. package/dist/modules/stock/maintenanceType/oas.schema.d.ts +0 -406
  92. package/dist/modules/stock/maintenanceType/oas.schema.js +0 -268
  93. package/dist/modules/stock/maintenanceType/tests.d.ts +0 -6
  94. package/dist/modules/stock/maintenanceType/tests.js +0 -87
  95. package/dist/modules/stock/primaryColor/oas.schema.d.ts +0 -406
  96. package/dist/modules/stock/primaryColor/oas.schema.js +0 -268
  97. package/dist/modules/stock/primaryColor/tests.d.ts +0 -6
  98. package/dist/modules/stock/primaryColor/tests.js +0 -87
  99. package/dist/modules/stock/product/tests.d.ts +0 -6
  100. package/dist/modules/stock/product/tests.js +0 -253
  101. package/dist/modules/stock/productAttribute/tests.d.ts +0 -9
  102. package/dist/modules/stock/productAttribute/tests.js +0 -94
  103. package/dist/modules/stock/productCategory/tests.d.ts +0 -10
  104. package/dist/modules/stock/productCategory/tests.js +0 -84
  105. package/dist/modules/stock/productColor/tests.d.ts +0 -9
  106. package/dist/modules/stock/productColor/tests.js +0 -94
  107. package/dist/modules/stock/productImage/tests.d.ts +0 -9
  108. package/dist/modules/stock/productImage/tests.js +0 -92
  109. package/dist/modules/stock/productName/tests.d.ts +0 -9
  110. package/dist/modules/stock/productName/tests.js +0 -84
  111. package/dist/modules/stock/productNamePreset/oas.schema.d.ts +0 -406
  112. package/dist/modules/stock/productNamePreset/oas.schema.js +0 -268
  113. package/dist/modules/stock/productNamePreset/tests.d.ts +0 -6
  114. package/dist/modules/stock/productNamePreset/tests.js +0 -87
  115. package/dist/modules/stock/productPart/tests.d.ts +0 -9
  116. package/dist/modules/stock/productPart/tests.js +0 -92
  117. package/dist/modules/stock/productSubCategory/responseCreate.schema.d.ts +0 -2
  118. package/dist/modules/stock/productSubCategory/responseCreate.schema.js +0 -50
  119. package/dist/modules/stock/productSubCategory/tests.d.ts +0 -9
  120. package/dist/modules/stock/productSubCategory/tests.js +0 -86
  121. package/dist/modules/stock/productUse/oas.schema.d.ts +0 -397
  122. package/dist/modules/stock/productUse/oas.schema.js +0 -268
  123. package/dist/modules/stock/productUse/tests.d.ts +0 -6
  124. package/dist/modules/stock/productUse/tests.js +0 -91
  125. package/dist/modules/stock/productUseAssoc/tests.d.ts +0 -9
  126. package/dist/modules/stock/productUseAssoc/tests.js +0 -90
  127. package/dist/modules/stock/promotion/tests.d.ts +0 -9
  128. package/dist/modules/stock/promotion/tests.js +0 -144
  129. package/dist/modules/stock/promotionAssoc/tests.d.ts +0 -9
  130. package/dist/modules/stock/promotionAssoc/tests.js +0 -100
  131. package/dist/modules/stock/similarProduct/tests.d.ts +0 -9
  132. package/dist/modules/stock/similarProduct/tests.js +0 -94
  133. package/dist/modules/stock/typeOfInventory/oas.schema.d.ts +0 -406
  134. package/dist/modules/stock/typeOfInventory/oas.schema.js +0 -268
  135. package/dist/modules/stock/typeOfInventory/tests.d.ts +0 -9
  136. package/dist/modules/stock/typeOfInventory/tests.js +0 -91
  137. package/dist/modules/stock/typeOfLocation/oas.schema.d.ts +0 -406
  138. package/dist/modules/stock/typeOfLocation/oas.schema.js +0 -268
  139. package/dist/modules/stock/typeOfLocation/tests.d.ts +0 -6
  140. package/dist/modules/stock/typeOfLocation/tests.js +0 -87
  141. package/dist/modules/stock/unitOfMeasure/oas.schema.d.ts +0 -406
  142. package/dist/modules/stock/unitOfMeasure/oas.schema.js +0 -269
  143. package/dist/modules/stock/unitOfMeasure/responseCreate.schema.d.ts +0 -2
  144. package/dist/modules/stock/unitOfMeasure/responseCreate.schema.js +0 -55
  145. package/dist/modules/stock/unitOfMeasure/tests.d.ts +0 -9
  146. package/dist/modules/stock/unitOfMeasure/tests.js +0 -99
  147. package/dist/modules/stock/vatTax/oas.schema.d.ts +0 -406
  148. package/dist/modules/stock/vatTax/oas.schema.js +0 -268
  149. package/dist/modules/stock/vatTax/tests.d.ts +0 -9
  150. package/dist/modules/stock/vatTax/tests.js +0 -91
  151. package/dist/modules/stock/vatTaxZone/tests.d.ts +0 -10
  152. package/dist/modules/stock/vatTaxZone/tests.js +0 -102
  153. package/dist/modules/supply/counter/tests.d.ts +0 -0
  154. package/dist/modules/supply/counter/tests.js +0 -1
  155. package/dist/modules/supply/documentLineAssoc/tests.d.ts +0 -5
  156. package/dist/modules/supply/documentLineAssoc/tests.js +0 -57
  157. package/dist/modules/supply/documentLineFolder/tests.d.ts +0 -0
  158. package/dist/modules/supply/documentLineFolder/tests.js +0 -1
  159. package/dist/modules/supply/documentType/tests.d.ts +0 -0
  160. package/dist/modules/supply/documentType/tests.js +0 -1
  161. package/dist/modules/supply/externalDocumentHeader/tests.d.ts +0 -5
  162. package/dist/modules/supply/externalDocumentHeader/tests.js +0 -103
  163. package/dist/modules/supply/payment/tests.d.ts +0 -8
  164. package/dist/modules/supply/payment/tests.js +0 -102
  165. package/dist/modules/user/bankData/oas.schema.d.ts +0 -406
  166. package/dist/modules/user/bankData/oas.schema.js +0 -268
  167. package/dist/modules/user/bankData/tests.d.ts +0 -6
  168. package/dist/modules/user/bankData/tests.js +0 -116
  169. package/dist/modules/user/clientType/oas.schema.d.ts +0 -350
  170. package/dist/modules/user/clientType/oas.schema.js +0 -237
  171. package/dist/modules/user/clientType/responseCreate.schema.d.ts +0 -2
  172. package/dist/modules/user/clientType/responseCreate.schema.js +0 -48
  173. package/dist/modules/user/clientType/tests.d.ts +0 -6
  174. package/dist/modules/user/clientType/tests.js +0 -71
  175. package/dist/modules/user/commissioner/oas.schema.d.ts +0 -0
  176. package/dist/modules/user/commissioner/oas.schema.js +0 -1
  177. package/dist/modules/user/country/oas.schema.d.ts +0 -350
  178. package/dist/modules/user/country/oas.schema.js +0 -237
  179. package/dist/modules/user/country/responseCreate.schema.d.ts +0 -2
  180. package/dist/modules/user/country/responseCreate.schema.js +0 -50
  181. package/dist/modules/user/country/tests.d.ts +0 -9
  182. package/dist/modules/user/country/tests.js +0 -75
  183. package/dist/modules/user/deliveryMethods/tests.d.ts +0 -2
  184. package/dist/modules/user/deliveryMethods/tests.js +0 -48
  185. package/dist/modules/user/entityList/interface.d.ts +0 -32
  186. package/dist/modules/user/entityList/interface.js +0 -14
  187. package/dist/modules/user/entityList/oas.schema.d.ts +0 -274
  188. package/dist/modules/user/entityList/oas.schema.js +0 -185
  189. package/dist/modules/user/entityList/route.schema.d.ts +0 -3
  190. package/dist/modules/user/entityList/route.schema.js +0 -30
  191. package/dist/modules/user/entityList/tests.d.ts +0 -3
  192. package/dist/modules/user/entityList/tests.js +0 -69
  193. package/dist/modules/user/favorites/oas.schema.d.ts +0 -112
  194. package/dist/modules/user/favorites/oas.schema.js +0 -103
  195. package/dist/modules/user/favorites/tests.d.ts +0 -2
  196. package/dist/modules/user/favorites/tests.js +0 -48
  197. package/dist/modules/user/groupPermissions/oas.schema.d.ts +0 -56
  198. package/dist/modules/user/groupPermissions/oas.schema.js +0 -73
  199. package/dist/modules/user/groupPermissions/tests.d.ts +0 -2
  200. package/dist/modules/user/groupPermissions/tests.js +0 -49
  201. package/dist/modules/user/language/oas.schema.d.ts +0 -350
  202. package/dist/modules/user/language/oas.schema.js +0 -237
  203. package/dist/modules/user/language/responseCreate.schema.d.ts +0 -2
  204. package/dist/modules/user/language/responseCreate.schema.js +0 -49
  205. package/dist/modules/user/language/tests.d.ts +0 -6
  206. package/dist/modules/user/language/tests.js +0 -73
  207. package/dist/modules/user/maturityDates/tests.d.ts +0 -2
  208. package/dist/modules/user/maturityDates/tests.js +0 -49
  209. package/dist/modules/user/paymentConditions/oas.schema.d.ts +0 -406
  210. package/dist/modules/user/paymentConditions/oas.schema.js +0 -268
  211. package/dist/modules/user/paymentConditions/responseCreate.schema.d.ts +0 -2
  212. package/dist/modules/user/paymentConditions/responseCreate.schema.js +0 -50
  213. package/dist/modules/user/paymentConditions/tests.d.ts +0 -7
  214. package/dist/modules/user/paymentConditions/tests.js +0 -86
  215. package/dist/modules/user/paymentMethods/tests.d.ts +0 -2
  216. package/dist/modules/user/paymentMethods/tests.js +0 -52
  217. package/dist/modules/user/permissions/oas.schema.d.ts +0 -56
  218. package/dist/modules/user/permissions/oas.schema.js +0 -73
  219. package/dist/modules/user/permissions/tests.d.ts +0 -2
  220. package/dist/modules/user/permissions/tests.js +0 -49
  221. package/dist/modules/user/providerType/oas.schema.d.ts +0 -350
  222. package/dist/modules/user/providerType/oas.schema.js +0 -237
  223. package/dist/modules/user/providerType/responseCreate.schema.d.ts +0 -2
  224. package/dist/modules/user/providerType/responseCreate.schema.js +0 -48
  225. package/dist/modules/user/providerType/tests.d.ts +0 -6
  226. package/dist/modules/user/providerType/tests.js +0 -71
  227. package/dist/modules/user/providers/oas.schema.d.ts +0 -0
  228. package/dist/modules/user/providers/oas.schema.js +0 -1
  229. package/dist/modules/user/purchaseConditions/oas.schema.d.ts +0 -406
  230. package/dist/modules/user/purchaseConditions/oas.schema.js +0 -268
  231. package/dist/modules/user/purchaseConditions/responseCreate.schema.d.ts +0 -2
  232. package/dist/modules/user/purchaseConditions/responseCreate.schema.js +0 -52
  233. package/dist/modules/user/purchaseConditions/tests.d.ts +0 -7
  234. package/dist/modules/user/purchaseConditions/tests.js +0 -108
  235. package/dist/modules/user/reasonForExemption/oas.schema.d.ts +0 -350
  236. package/dist/modules/user/reasonForExemption/oas.schema.js +0 -237
  237. package/dist/modules/user/reasonForExemption/responseCreate.schema.d.ts +0 -2
  238. package/dist/modules/user/reasonForExemption/responseCreate.schema.js +0 -51
  239. package/dist/modules/user/reasonForExemption/tests.d.ts +0 -6
  240. package/dist/modules/user/reasonForExemption/tests.js +0 -77
  241. package/dist/modules/user/refreshToken/tests.d.ts +0 -0
  242. package/dist/modules/user/refreshToken/tests.js +0 -1
  243. package/dist/modules/user/segmentsArea/oas.schema.d.ts +0 -350
  244. package/dist/modules/user/segmentsArea/oas.schema.js +0 -237
  245. package/dist/modules/user/segmentsArea/responseCreate.schema.d.ts +0 -2
  246. package/dist/modules/user/segmentsArea/responseCreate.schema.js +0 -49
  247. package/dist/modules/user/segmentsArea/tests.d.ts +0 -6
  248. package/dist/modules/user/segmentsArea/tests.js +0 -73
  249. package/dist/modules/user/sessions/tests.d.ts +0 -0
  250. package/dist/modules/user/sessions/tests.js +0 -1
  251. package/dist/modules/user/shippings/oas.schema.d.ts +0 -406
  252. package/dist/modules/user/shippings/oas.schema.js +0 -268
  253. package/dist/modules/user/shippings/responseCreate.shema.d.ts +0 -2
  254. package/dist/modules/user/shippings/responseCreate.shema.js +0 -52
  255. package/dist/modules/user/shippings/tests.d.ts +0 -7
  256. package/dist/modules/user/shippings/tests.js +0 -92
  257. package/dist/modules/user/socialMedia/oas.schema.d.ts +0 -406
  258. package/dist/modules/user/socialMedia/oas.schema.js +0 -268
  259. package/dist/modules/user/socialMedia/tests.d.ts +0 -6
  260. package/dist/modules/user/socialMedia/tests.js +0 -96
  261. package/dist/modules/user/swift/oas.schema.d.ts +0 -350
  262. package/dist/modules/user/swift/oas.schema.js +0 -237
  263. package/dist/modules/user/swift/tests.d.ts +0 -5
  264. package/dist/modules/user/swift/tests.js +0 -87
  265. package/dist/modules/user/userPermissions/oas.schema.d.ts +0 -224
  266. package/dist/modules/user/userPermissions/oas.schema.js +0 -166
  267. package/dist/modules/user/userPermissions/tests.d.ts +0 -3
  268. package/dist/modules/user/userPermissions/tests.js +0 -63
  269. package/dist/modules/user/userPositions/oas.schema.d.ts +0 -350
  270. package/dist/modules/user/userPositions/oas.schema.js +0 -237
  271. package/dist/modules/user/userPositions/responseCreate.schema.d.ts +0 -2
  272. package/dist/modules/user/userPositions/responseCreate.schema.js +0 -48
  273. package/dist/modules/user/userPositions/tests.d.ts +0 -6
  274. package/dist/modules/user/userPositions/tests.js +0 -71
  275. package/dist/modules/user/users/responseCreate.schema.d.ts +0 -2
  276. package/dist/modules/user/users/responseCreate.schema.js +0 -56
  277. package/dist/modules/user/vehicles/tests.d.ts +0 -2
  278. package/dist/modules/user/vehicles/tests.js +0 -49
  279. package/dist/modules/view/channels/oas.schema.d.ts +0 -0
  280. package/dist/modules/view/channels/oas.schema.js +0 -1
  281. package/dist/modules/view/channels/tests.d.ts +0 -0
  282. package/dist/modules/view/channels/tests.js +0 -1
  283. package/dist/modules/view/connections/oas.schema.d.ts +0 -0
  284. package/dist/modules/view/connections/oas.schema.js +0 -1
  285. package/dist/modules/view/connections/tests.d.ts +0 -0
  286. package/dist/modules/view/connections/tests.js +0 -1
  287. package/dist/modules/view/eventHistory/oas.schema.d.ts +0 -0
  288. package/dist/modules/view/eventHistory/oas.schema.js +0 -1
  289. package/dist/modules/view/eventHistory/tests.d.ts +0 -0
  290. package/dist/modules/view/eventHistory/tests.js +0 -1
@@ -1,399 +0,0 @@
1
- import { IEntity, ActionType } from './interfaces';
2
- export declare const getHistoryList: {
3
- tags: string[];
4
- summary: string;
5
- description: string;
6
- parameters: {
7
- in: string;
8
- name: string;
9
- schema: {
10
- type: string;
11
- enum: IEntity.task[];
12
- };
13
- }[];
14
- responses: {
15
- '200': {
16
- description: string;
17
- content: {
18
- 'application/json': {
19
- schema: {
20
- type: string;
21
- items: {
22
- type: string;
23
- properties: {
24
- created_by: {
25
- type: string;
26
- };
27
- created_at: {
28
- type: string;
29
- format: string;
30
- };
31
- object: {
32
- type: string;
33
- properties: {
34
- origin: {
35
- type: string;
36
- enum: IEntity.task[];
37
- };
38
- type: {
39
- type: string;
40
- enum: ActionType[];
41
- };
42
- parameters: {
43
- type: string;
44
- properties: {
45
- Task: {
46
- type: string;
47
- properties: {
48
- id: {
49
- type: string;
50
- };
51
- parent_task_id: {
52
- type: string;
53
- };
54
- task_state: {
55
- type: string;
56
- };
57
- from: {
58
- type: string;
59
- };
60
- from_closed: {
61
- type: string;
62
- };
63
- controller: {
64
- type: string;
65
- };
66
- to: {
67
- type: string;
68
- };
69
- to_closed: {
70
- type: string;
71
- };
72
- supervisor: {
73
- type: string;
74
- };
75
- supervisor_closed: {
76
- type: string;
77
- };
78
- description: {
79
- type: string;
80
- };
81
- urgent: {
82
- type: string;
83
- };
84
- closed: {
85
- type: string;
86
- };
87
- created_at: {
88
- type: string;
89
- format: string;
90
- };
91
- updated_at: {
92
- type: string;
93
- format: string;
94
- };
95
- };
96
- };
97
- TaskNotes: {
98
- type: string;
99
- properties: {
100
- id: {
101
- type: string;
102
- };
103
- task_id: {
104
- type: string;
105
- };
106
- description: {
107
- type: string;
108
- };
109
- created_at: {
110
- type: string;
111
- format: string;
112
- };
113
- updated_at: {
114
- type: string;
115
- format: string;
116
- };
117
- };
118
- };
119
- TaskAttachment: {
120
- type: string;
121
- properties: {
122
- id: {
123
- type: string;
124
- };
125
- task_id: {
126
- type: string;
127
- };
128
- multimedia_id: {
129
- type: string;
130
- };
131
- filename: {
132
- type: string;
133
- };
134
- created_by: {
135
- type: string;
136
- };
137
- created_at: {
138
- type: string;
139
- format: string;
140
- };
141
- updated_at: {
142
- type: string;
143
- format: string;
144
- };
145
- };
146
- };
147
- TaskGroup: {
148
- type: string;
149
- properties: {
150
- id: {
151
- type: string;
152
- };
153
- name: {
154
- type: string;
155
- };
156
- created_at: {
157
- type: string;
158
- format: string;
159
- };
160
- updated_at: {
161
- type: string;
162
- format: string;
163
- };
164
- };
165
- };
166
- TaskGroupAssoc: {
167
- properties: {
168
- id: {
169
- type: string;
170
- };
171
- task_id: {
172
- type: string;
173
- };
174
- task_group_id: {
175
- type: string;
176
- };
177
- created_at: {
178
- type: string;
179
- format: string;
180
- };
181
- updated_at: {
182
- type: string;
183
- format: string;
184
- };
185
- };
186
- };
187
- };
188
- };
189
- };
190
- };
191
- };
192
- };
193
- };
194
- };
195
- };
196
- };
197
- };
198
- };
199
- export declare const swHistory: {
200
- '/history': {
201
- get: {
202
- tags: string[];
203
- summary: string;
204
- description: string;
205
- parameters: {
206
- in: string;
207
- name: string;
208
- schema: {
209
- type: string;
210
- enum: IEntity.task[];
211
- };
212
- }[];
213
- responses: {
214
- '200': {
215
- description: string;
216
- content: {
217
- 'application/json': {
218
- schema: {
219
- type: string;
220
- items: {
221
- type: string;
222
- properties: {
223
- created_by: {
224
- type: string;
225
- };
226
- created_at: {
227
- type: string;
228
- format: string;
229
- };
230
- object: {
231
- type: string;
232
- properties: {
233
- origin: {
234
- type: string;
235
- enum: IEntity.task[];
236
- };
237
- type: {
238
- type: string;
239
- enum: ActionType[];
240
- };
241
- parameters: {
242
- type: string;
243
- properties: {
244
- Task: {
245
- type: string;
246
- properties: {
247
- id: {
248
- type: string;
249
- };
250
- parent_task_id: {
251
- type: string;
252
- };
253
- task_state: {
254
- type: string;
255
- };
256
- from: {
257
- type: string;
258
- };
259
- from_closed: {
260
- type: string;
261
- };
262
- controller: {
263
- type: string;
264
- };
265
- to: {
266
- type: string;
267
- };
268
- to_closed: {
269
- type: string;
270
- };
271
- supervisor: {
272
- type: string;
273
- };
274
- supervisor_closed: {
275
- type: string;
276
- };
277
- description: {
278
- type: string;
279
- };
280
- urgent: {
281
- type: string;
282
- };
283
- closed: {
284
- type: string;
285
- };
286
- created_at: {
287
- type: string;
288
- format: string;
289
- };
290
- updated_at: {
291
- type: string;
292
- format: string;
293
- };
294
- };
295
- };
296
- TaskNotes: {
297
- type: string;
298
- properties: {
299
- id: {
300
- type: string;
301
- };
302
- task_id: {
303
- type: string;
304
- };
305
- description: {
306
- type: string;
307
- };
308
- created_at: {
309
- type: string;
310
- format: string;
311
- };
312
- updated_at: {
313
- type: string;
314
- format: string;
315
- };
316
- };
317
- };
318
- TaskAttachment: {
319
- type: string;
320
- properties: {
321
- id: {
322
- type: string;
323
- };
324
- task_id: {
325
- type: string;
326
- };
327
- multimedia_id: {
328
- type: string;
329
- };
330
- filename: {
331
- type: string;
332
- };
333
- created_by: {
334
- type: string;
335
- };
336
- created_at: {
337
- type: string;
338
- format: string;
339
- };
340
- updated_at: {
341
- type: string;
342
- format: string;
343
- };
344
- };
345
- };
346
- TaskGroup: {
347
- type: string;
348
- properties: {
349
- id: {
350
- type: string;
351
- };
352
- name: {
353
- type: string;
354
- };
355
- created_at: {
356
- type: string;
357
- format: string;
358
- };
359
- updated_at: {
360
- type: string;
361
- format: string;
362
- };
363
- };
364
- };
365
- TaskGroupAssoc: {
366
- properties: {
367
- id: {
368
- type: string;
369
- };
370
- task_id: {
371
- type: string;
372
- };
373
- task_group_id: {
374
- type: string;
375
- };
376
- created_at: {
377
- type: string;
378
- format: string;
379
- };
380
- updated_at: {
381
- type: string;
382
- format: string;
383
- };
384
- };
385
- };
386
- };
387
- };
388
- };
389
- };
390
- };
391
- };
392
- };
393
- };
394
- };
395
- };
396
- };
397
- };
398
- };
399
- };
@@ -1,141 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
14
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
15
- if (ar || !(i in from)) {
16
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
17
- ar[i] = from[i];
18
- }
19
- }
20
- return to.concat(ar || Array.prototype.slice.call(from));
21
- };
22
- Object.defineProperty(exports, "__esModule", { value: true });
23
- exports.swHistory = exports.getHistoryList = void 0;
24
- var interfaces_1 = require("./interfaces");
25
- exports.getHistoryList = {
26
- tags: ['History List'],
27
- summary: 'List History',
28
- description: 'List History',
29
- parameters: [
30
- {
31
- in: 'query',
32
- name: 'entity',
33
- schema: {
34
- type: 'string',
35
- enum: __spreadArray([], Object.values(interfaces_1.IEntity), true),
36
- },
37
- },
38
- ],
39
- responses: {
40
- '200': {
41
- description: 'History successfully List',
42
- content: {
43
- 'application/json': {
44
- schema: {
45
- type: 'array',
46
- items: {
47
- type: 'object',
48
- properties: {
49
- created_by: { type: 'string' },
50
- created_at: { type: 'string', format: 'date-time' },
51
- object: {
52
- type: 'object',
53
- properties: {
54
- origin: {
55
- type: 'string',
56
- enum: __spreadArray([], Object.values(interfaces_1.IEntity), true),
57
- },
58
- type: {
59
- type: 'string',
60
- enum: __spreadArray([], Object.values(interfaces_1.ActionType), true),
61
- },
62
- parameters: {
63
- type: 'object',
64
- properties: {
65
- Task: {
66
- type: 'object',
67
- properties: {
68
- id: { type: 'string' },
69
- parent_task_id: { type: 'string' },
70
- task_state: { type: 'string' },
71
- from: { type: 'string' },
72
- from_closed: { type: 'boolean' },
73
- controller: { type: 'string' },
74
- to: { type: 'string' },
75
- to_closed: { type: 'boolean' },
76
- supervisor: { type: 'string' },
77
- supervisor_closed: { type: 'boolean' },
78
- description: { type: 'string' },
79
- urgent: { type: 'boolean' },
80
- closed: { type: 'boolean' },
81
- created_at: { type: 'string', format: 'date-time' },
82
- updated_at: { type: 'string', format: 'date-time' },
83
- },
84
- },
85
- TaskNotes: {
86
- type: 'object',
87
- properties: {
88
- id: { type: 'string' },
89
- task_id: { type: 'string' },
90
- description: { type: 'string' },
91
- created_at: { type: 'string', format: 'date-time' },
92
- updated_at: { type: 'string', format: 'date-time' },
93
- },
94
- },
95
- TaskAttachment: {
96
- type: 'object',
97
- properties: {
98
- id: { type: 'string' },
99
- task_id: { type: 'string' },
100
- multimedia_id: { type: 'string' },
101
- filename: { type: 'string' },
102
- created_by: { type: 'string' },
103
- created_at: { type: 'string', format: 'date-time' },
104
- updated_at: { type: 'string', format: 'date-time' },
105
- },
106
- },
107
- TaskGroup: {
108
- type: 'object',
109
- properties: {
110
- id: { type: 'string' },
111
- name: { type: 'string' },
112
- created_at: { type: 'string', format: 'date-time' },
113
- updated_at: { type: 'string', format: 'date-time' },
114
- },
115
- },
116
- TaskGroupAssoc: {
117
- properties: {
118
- id: { type: 'string' },
119
- task_id: { type: 'string' },
120
- task_group_id: { type: 'string' },
121
- created_at: { type: 'string', format: 'date-time' },
122
- updated_at: { type: 'string', format: 'date-time' },
123
- },
124
- },
125
- },
126
- },
127
- },
128
- },
129
- },
130
- },
131
- },
132
- },
133
- },
134
- },
135
- },
136
- };
137
- exports.swHistory = {
138
- '/history': {
139
- get: __assign({}, exports.getHistoryList),
140
- },
141
- };
File without changes
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,8 +0,0 @@
1
- import joi from 'joi';
2
- import * as IShared from '../../../shared/interface';
3
- import { IFindByOwnerResponse } from './interfaces';
4
- export declare const createUpdateDeleteBodyResponse: joi.ObjectSchema<any>;
5
- export declare const findByIdBodyResponse: joi.ObjectSchema<any>;
6
- export declare const findByQueryBodyResponse: joi.ArraySchema<any[]>;
7
- export declare const findOwnerIdBodyResponsekeys: IShared.IRouteResponseWithoutStamps<IFindByOwnerResponse>;
8
- export declare const findOwnerIdBodyResponse: joi.ArraySchema<any[]>;
@@ -1,71 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- var desc = Object.getOwnPropertyDescriptor(m, k);
16
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
- desc = { enumerable: true, get: function() { return m[k]; } };
18
- }
19
- Object.defineProperty(o, k2, desc);
20
- }) : (function(o, m, k, k2) {
21
- if (k2 === undefined) k2 = k;
22
- o[k2] = m[k];
23
- }));
24
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
- Object.defineProperty(o, "default", { enumerable: true, value: v });
26
- }) : function(o, v) {
27
- o["default"] = v;
28
- });
29
- var __importStar = (this && this.__importStar) || function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
36
- var __importDefault = (this && this.__importDefault) || function (mod) {
37
- return (mod && mod.__esModule) ? mod : { "default": mod };
38
- };
39
- Object.defineProperty(exports, "__esModule", { value: true });
40
- exports.findOwnerIdBodyResponse = exports.findOwnerIdBodyResponsekeys = exports.findByQueryBodyResponse = exports.findByIdBodyResponse = exports.createUpdateDeleteBodyResponse = void 0;
41
- var joi_1 = __importDefault(require("joi"));
42
- var IShared = __importStar(require("../../../shared/interface"));
43
- var responseCreate_schema_1 = require("../observationType/responseCreate.schema");
44
- var createUpdateDeleteBodyResponseKeys = {
45
- id: joi_1.default.string().uuid().required(),
46
- owner_id: joi_1.default.string().uuid().required(),
47
- observation_type_id: joi_1.default.string().uuid().required(),
48
- description: joi_1.default.string().required(),
49
- internal: joi_1.default.boolean().required(),
50
- };
51
- exports.createUpdateDeleteBodyResponse = joi_1.default.object().keys(__assign(__assign({}, createUpdateDeleteBodyResponseKeys), IShared.joiValidateStamps));
52
- exports.findByIdBodyResponse = joi_1.default
53
- .object()
54
- .keys(__assign(__assign({}, createUpdateDeleteBodyResponseKeys), IShared.joiValidateStamps))
55
- .allow(null);
56
- exports.findByQueryBodyResponse = joi_1.default.array().items(joi_1.default
57
- .object()
58
- .keys(__assign(__assign({}, createUpdateDeleteBodyResponseKeys), IShared.joiValidateStamps))
59
- .allow(null));
60
- exports.findOwnerIdBodyResponsekeys = {
61
- id: joi_1.default.string().uuid().required(),
62
- owner_id: joi_1.default.string().uuid().required(),
63
- observation_type_id: joi_1.default.string().uuid().required(),
64
- description: joi_1.default.string().required(),
65
- internal: joi_1.default.boolean().required(),
66
- observation_type: responseCreate_schema_1.createUpdateDeleteBodyResponse.required(),
67
- };
68
- exports.findOwnerIdBodyResponse = joi_1.default
69
- .array()
70
- .items(__assign(__assign({}, exports.findOwnerIdBodyResponsekeys), { created_by: joi_1.default.string().uuid().required(), updated_at: joi_1.default.date().required() }))
71
- .required();
@@ -1,5 +0,0 @@
1
- import joi from 'joi';
2
- import * as IShared from '../../../shared/interface';
3
- import { Entity } from './interfaces';
4
- export declare const createUpdateDeleteBodyResponseKeys: IShared.IRouteResponseWithoutStamps<Entity>;
5
- export declare const createUpdateDeleteBodyResponse: joi.ObjectSchema<any>;