@lilaquadrat/interfaces 0.0.1 → 1.0.2

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 (614) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +14 -0
  3. package/helper.js +14 -2
  4. package/lib/cjs/Access.d.ts +7 -0
  5. package/lib/cjs/AdditionalContentInformation.d.ts +4 -0
  6. package/{dist/Address.interface.d.ts → lib/cjs/Address.d.ts} +1 -1
  7. package/{dist/Agreement.interface.d.ts → lib/cjs/Agreement.d.ts} +1 -1
  8. package/lib/cjs/AgreementResponse.d.ts +4 -0
  9. package/lib/cjs/ApiResponses.d.ts +10 -0
  10. package/{dist/App.interface.d.ts → lib/cjs/App.d.ts} +1 -2
  11. package/lib/cjs/AppFilter.d.ts +2 -0
  12. package/lib/cjs/AppPermissions.d.ts +7 -0
  13. package/lib/cjs/AvailableStorageTypes.d.ts +1 -0
  14. package/{dist/AvailableVariant.interface.d.ts → lib/cjs/AvailableVariant.d.ts} +1 -1
  15. package/{dist/BaseFilterOptions.interface.d.ts → lib/cjs/BaseFilterOptions.d.ts} +1 -1
  16. package/{dist/BasicData.interface.d.ts → lib/cjs/BasicData.d.ts} +2 -2
  17. package/lib/cjs/BasicDataDatabase.d.ts +16 -0
  18. package/lib/cjs/CallResponse.d.ts +5 -0
  19. package/lib/cjs/Certificate.d.ts +13 -0
  20. package/lib/cjs/CertificateAction.d.ts +22 -0
  21. package/lib/cjs/CertificateActionResult.d.ts +4 -0
  22. package/lib/cjs/ChildData.d.ts +7 -0
  23. package/lib/cjs/Command.d.ts +1 -0
  24. package/lib/cjs/Company.d.ts +19 -0
  25. package/lib/cjs/CompanyAttribute.d.ts +1 -0
  26. package/lib/cjs/CompanyProject.d.ts +3 -0
  27. package/lib/cjs/Content.d.ts +32 -0
  28. package/{dist/ContentPrepared.interface.d.ts → lib/cjs/ContentWithPositions.d.ts} +3 -3
  29. package/{dist/Contract.interface.d.ts → lib/cjs/Contract.d.ts} +1 -1
  30. package/{dist/CreateResult.interface.d.ts → lib/cjs/CreateResult.d.ts} +1 -1
  31. package/lib/cjs/CustomerBase.d.ts +18 -0
  32. package/lib/cjs/CustomerCompany.d.ts +8 -0
  33. package/lib/cjs/CustomerPerson.d.ts +6 -0
  34. package/lib/cjs/CustomerPersonWithAddress.d.ts +3 -0
  35. package/lib/cjs/CustomerPersonWithEmail.d.ts +4 -0
  36. package/lib/cjs/Customers.d.ts +3 -0
  37. package/lib/cjs/CustomersModelActions.d.ts +1 -0
  38. package/{dist/DataObject.interface.d.ts → lib/cjs/DataObject.d.ts} +1 -1
  39. package/lib/cjs/DatabaseQuery.d.ts +3 -0
  40. package/{dist/DatabaseQueryOptions.interface.d.ts → lib/cjs/DatabaseQueryOptions.d.ts} +1 -1
  41. package/{dist/DatabaseQuerySites.interface.d.ts → lib/cjs/DatabaseQuerySites.d.ts} +1 -1
  42. package/{dist/DesignModule.interface.d.ts → lib/cjs/DesignModule.d.ts} +2 -2
  43. package/lib/cjs/Domain.d.ts +26 -0
  44. package/{dist/DomainConf.interface.d.ts → lib/cjs/DomainConf.d.ts} +2 -2
  45. package/lib/cjs/DomainsList.d.ts +9 -0
  46. package/lib/cjs/EditorActiveModule.d.ts +4 -0
  47. package/lib/cjs/EditorBase.d.ts +7 -0
  48. package/{dist/EditorLegacy.interface.d.ts → lib/cjs/EditorLegacy.d.ts} +1 -1
  49. package/lib/cjs/GenericData.d.ts +9 -0
  50. package/lib/cjs/GenericDataWithContent.d.ts +6 -0
  51. package/lib/cjs/History.d.ts +18 -0
  52. package/lib/cjs/HistoryWithType.d.ts +17 -0
  53. package/lib/cjs/HostindCommand.d.ts +17 -0
  54. package/lib/cjs/Hosting.d.ts +6 -0
  55. package/lib/cjs/HostingPorts.d.ts +4 -0
  56. package/lib/cjs/HostingSettings.d.ts +5 -0
  57. package/lib/cjs/HostingWithSettings.d.ts +6 -0
  58. package/lib/cjs/HttpStatusCodes.d.ts +1 -0
  59. package/lib/cjs/Id.d.ts +4 -0
  60. package/lib/cjs/IdentifiersEntity.d.ts +4 -0
  61. package/lib/cjs/List.d.ts +25 -0
  62. package/lib/cjs/ListCategory.d.ts +9 -0
  63. package/{dist/ListCustomQueries.interface.d.ts → lib/cjs/ListCustomQueries.d.ts} +1 -1
  64. package/{dist/ListOfModels.interface.d.ts → lib/cjs/ListOfModels.d.ts} +1 -1
  65. package/lib/cjs/ListParticipantWithUser.d.ts +10 -0
  66. package/lib/cjs/ListParticipants.d.ts +21 -0
  67. package/{dist/ListParticipantsDetails.interface.d.ts → lib/cjs/ListParticipantsDetails.d.ts} +1 -1
  68. package/{dist/Location.interface.d.ts → lib/cjs/Location.d.ts} +1 -1
  69. package/lib/cjs/Me.d.ts +10 -0
  70. package/lib/cjs/Media.d.ts +33 -0
  71. package/lib/cjs/MediaContentFiles.d.ts +4 -0
  72. package/lib/cjs/MediaInfo.d.ts +6 -0
  73. package/lib/cjs/MediaStats.d.ts +4 -0
  74. package/lib/cjs/MediaViewInfo.d.ts +7 -0
  75. package/{dist/Modelv2.interface.d.ts → lib/cjs/Model.d.ts} +1 -1
  76. package/{dist/ModuleGeneric.interface.d.ts → lib/cjs/ModuleGeneric.d.ts} +4 -4
  77. package/{dist/ModuleIndexOptions.interface.d.ts → lib/cjs/ModuleIndexOptions.d.ts} +1 -1
  78. package/{dist/ModulePDFOptions.interface.d.ts → lib/cjs/ModulePDFOptions.d.ts} +1 -1
  79. package/lib/cjs/ModuleSettings.d.ts +7 -0
  80. package/lib/cjs/MulterFile.d.ts +32 -0
  81. package/{dist/Options.interface.d.ts → lib/cjs/Options.d.ts} +1 -1
  82. package/{dist/Partner.interface.d.ts → lib/cjs/Partner.d.ts} +2 -3
  83. package/lib/cjs/PermissionsWithScope.d.ts +8 -0
  84. package/lib/cjs/Project.d.ts +8 -0
  85. package/lib/cjs/ProjectDomain.d.ts +5 -0
  86. package/lib/cjs/Publish.d.ts +25 -0
  87. package/lib/cjs/PublishContentGroup.d.ts +1 -0
  88. package/lib/cjs/PublishMethod.d.ts +11 -0
  89. package/lib/cjs/PublishMethodFtp.d.ts +9 -0
  90. package/lib/cjs/PublishMethodInternal.d.ts +5 -0
  91. package/lib/cjs/PublishMethodPdf.d.ts +5 -0
  92. package/lib/cjs/PublishMethodWebhook.d.ts +7 -0
  93. package/{dist/PublishResult.interface.d.ts → lib/cjs/PublishResult.d.ts} +1 -1
  94. package/{dist/PublishResultStatistics.interface.d.ts → lib/cjs/PublishResultStatistics.d.ts} +1 -1
  95. package/{dist/RenderContext.interface.d.ts → lib/cjs/RenderContext.d.ts} +2 -2
  96. package/lib/cjs/Secret.d.ts +10 -0
  97. package/lib/cjs/Settings.d.ts +5 -0
  98. package/lib/cjs/ShareClient.d.ts +30 -0
  99. package/{dist/ShareClientOptions.interface.d.ts → lib/cjs/ShareClientOptions.d.ts} +1 -1
  100. package/{dist/SkipLimitSort.interface.d.ts → lib/cjs/SkipLimitSort.d.ts} +1 -1
  101. package/{dist/StudioIframeMessage.interface.d.ts → lib/cjs/StudioIframeMessage.d.ts} +1 -1
  102. package/lib/cjs/SystemDomain.d.ts +3 -0
  103. package/lib/cjs/Tracker.d.ts +14 -0
  104. package/lib/cjs/TrackerInput.d.ts +6 -0
  105. package/{dist/TrackerStatistics.interface.d.ts → lib/cjs/TrackerStatistics.d.ts} +2 -2
  106. package/{dist/Universal.interface.d.ts → lib/cjs/Universal.d.ts} +1 -1
  107. package/{dist/UserApp.interface.d.ts → lib/cjs/UserApp.d.ts} +1 -1
  108. package/{dist/UserAppOptionsRequired.interface.d.ts → lib/cjs/UserAppOptionsRequired.d.ts} +1 -1
  109. package/lib/cjs/UserAppWithOptions.d.ts +4 -0
  110. package/lib/cjs/VersionInfo.d.ts +7 -0
  111. package/{dist/Wildcardcertificates.interface.d.ts → lib/cjs/WildcardCertificates.d.ts} +2 -5
  112. package/lib/cjs/index.d.ts +113 -0
  113. package/lib/cjs/index.js +0 -0
  114. package/lib/esm/Access.d.ts +7 -0
  115. package/lib/esm/Access.js +2 -0
  116. package/lib/esm/Access.js.map +1 -0
  117. package/lib/esm/Action.js +2 -0
  118. package/lib/esm/Action.js.map +1 -0
  119. package/lib/esm/AdditionalContentInformation.d.ts +4 -0
  120. package/lib/esm/AdditionalContentInformation.js +2 -0
  121. package/lib/esm/AdditionalContentInformation.js.map +1 -0
  122. package/{src/Address.interface.ts → lib/esm/Address.d.ts} +2 -2
  123. package/lib/esm/Address.js +2 -0
  124. package/lib/esm/Address.js.map +1 -0
  125. package/lib/esm/Agreement.d.ts +6 -0
  126. package/lib/esm/Agreement.js +2 -0
  127. package/lib/esm/Agreement.js.map +1 -0
  128. package/lib/esm/AgreementResponse.d.ts +4 -0
  129. package/lib/esm/AgreementResponse.js +2 -0
  130. package/lib/esm/AgreementResponse.js.map +1 -0
  131. package/lib/esm/ApiResponses.d.ts +10 -0
  132. package/lib/esm/ApiResponses.js +2 -0
  133. package/lib/esm/ApiResponses.js.map +1 -0
  134. package/lib/esm/App.d.ts +13 -0
  135. package/lib/esm/App.js +2 -0
  136. package/lib/esm/App.js.map +1 -0
  137. package/lib/esm/AppFilter.d.ts +2 -0
  138. package/lib/esm/AppFilter.js +2 -0
  139. package/lib/esm/AppFilter.js.map +1 -0
  140. package/lib/esm/AppPermissions.d.ts +7 -0
  141. package/lib/esm/AppPermissions.js +2 -0
  142. package/lib/esm/AppPermissions.js.map +1 -0
  143. package/lib/esm/AvailableStorageTypes.d.ts +1 -0
  144. package/lib/esm/AvailableStorageTypes.js +2 -0
  145. package/lib/esm/AvailableStorageTypes.js.map +1 -0
  146. package/lib/esm/AvailableVariant.d.ts +8 -0
  147. package/lib/esm/AvailableVariant.js +2 -0
  148. package/lib/esm/AvailableVariant.js.map +1 -0
  149. package/lib/esm/BaseFilterOptions.d.ts +7 -0
  150. package/lib/esm/BaseFilterOptions.js +2 -0
  151. package/lib/esm/BaseFilterOptions.js.map +1 -0
  152. package/lib/esm/BasicData.d.ts +16 -0
  153. package/lib/esm/BasicData.js +2 -0
  154. package/lib/esm/BasicData.js.map +1 -0
  155. package/lib/esm/BasicDataDatabase.d.ts +16 -0
  156. package/lib/esm/BasicDataDatabase.js +2 -0
  157. package/lib/esm/BasicDataDatabase.js.map +1 -0
  158. package/lib/esm/CallResponse.d.ts +5 -0
  159. package/lib/esm/CallResponse.js +2 -0
  160. package/lib/esm/CallResponse.js.map +1 -0
  161. package/lib/esm/Certificate.d.ts +13 -0
  162. package/lib/esm/Certificate.js +2 -0
  163. package/lib/esm/Certificate.js.map +1 -0
  164. package/lib/esm/CertificateAction.d.ts +22 -0
  165. package/lib/esm/CertificateAction.js +2 -0
  166. package/lib/esm/CertificateAction.js.map +1 -0
  167. package/lib/esm/CertificateActionResult.d.ts +4 -0
  168. package/lib/esm/CertificateActionResult.js +2 -0
  169. package/lib/esm/CertificateActionResult.js.map +1 -0
  170. package/lib/esm/ChildData.d.ts +7 -0
  171. package/lib/esm/ChildData.js +2 -0
  172. package/lib/esm/ChildData.js.map +1 -0
  173. package/lib/esm/Command.d.ts +1 -0
  174. package/lib/esm/Command.js +2 -0
  175. package/lib/esm/Command.js.map +1 -0
  176. package/lib/esm/Company.d.ts +19 -0
  177. package/lib/esm/Company.js +2 -0
  178. package/lib/esm/Company.js.map +1 -0
  179. package/lib/esm/CompanyAttribute.d.ts +1 -0
  180. package/lib/esm/CompanyAttribute.js +2 -0
  181. package/lib/esm/CompanyAttribute.js.map +1 -0
  182. package/lib/esm/CompanyProject.d.ts +3 -0
  183. package/lib/esm/CompanyProject.js +2 -0
  184. package/lib/esm/CompanyProject.js.map +1 -0
  185. package/lib/esm/Content.d.ts +32 -0
  186. package/lib/esm/Content.js +2 -0
  187. package/lib/esm/Content.js.map +1 -0
  188. package/lib/esm/ContentWithPositions.d.ts +10 -0
  189. package/lib/esm/ContentWithPositions.js +2 -0
  190. package/lib/esm/ContentWithPositions.js.map +1 -0
  191. package/lib/esm/Contract.d.ts +7 -0
  192. package/lib/esm/Contract.js +2 -0
  193. package/lib/esm/Contract.js.map +1 -0
  194. package/lib/esm/CreateResult.d.ts +5 -0
  195. package/lib/esm/CreateResult.js +2 -0
  196. package/lib/esm/CreateResult.js.map +1 -0
  197. package/lib/esm/CustomerBase.d.ts +18 -0
  198. package/lib/esm/CustomerBase.js +2 -0
  199. package/lib/esm/CustomerBase.js.map +1 -0
  200. package/lib/esm/CustomerCompany.d.ts +8 -0
  201. package/lib/esm/CustomerCompany.js +2 -0
  202. package/lib/esm/CustomerCompany.js.map +1 -0
  203. package/lib/esm/CustomerPerson.d.ts +6 -0
  204. package/lib/esm/CustomerPerson.js +2 -0
  205. package/lib/esm/CustomerPerson.js.map +1 -0
  206. package/lib/esm/CustomerPersonWithAddress.d.ts +3 -0
  207. package/lib/esm/CustomerPersonWithAddress.js +2 -0
  208. package/lib/esm/CustomerPersonWithAddress.js.map +1 -0
  209. package/lib/esm/CustomerPersonWithEmail.d.ts +4 -0
  210. package/lib/esm/CustomerPersonWithEmail.js +2 -0
  211. package/lib/esm/CustomerPersonWithEmail.js.map +1 -0
  212. package/lib/esm/Customers.d.ts +3 -0
  213. package/lib/esm/Customers.js +2 -0
  214. package/lib/esm/Customers.js.map +1 -0
  215. package/lib/esm/CustomersModelActions.d.ts +1 -0
  216. package/lib/esm/CustomersModelActions.js +2 -0
  217. package/lib/esm/CustomersModelActions.js.map +1 -0
  218. package/lib/esm/DataObject.d.ts +11 -0
  219. package/lib/esm/DataObject.js +2 -0
  220. package/lib/esm/DataObject.js.map +1 -0
  221. package/lib/esm/DatabaseQuery.d.ts +3 -0
  222. package/lib/esm/DatabaseQuery.js +2 -0
  223. package/lib/esm/DatabaseQuery.js.map +1 -0
  224. package/lib/esm/DatabaseQueryOptions.d.ts +31 -0
  225. package/lib/esm/DatabaseQueryOptions.js +2 -0
  226. package/lib/esm/DatabaseQueryOptions.js.map +1 -0
  227. package/lib/esm/DatabaseQuerySites.d.ts +11 -0
  228. package/lib/esm/DatabaseQuerySites.js +2 -0
  229. package/lib/esm/DatabaseQuerySites.js.map +1 -0
  230. package/lib/esm/DesignModule.d.ts +14 -0
  231. package/lib/esm/DesignModule.js +2 -0
  232. package/lib/esm/DesignModule.js.map +1 -0
  233. package/lib/esm/Domain.d.ts +26 -0
  234. package/lib/esm/Domain.js +2 -0
  235. package/lib/esm/Domain.js.map +1 -0
  236. package/lib/esm/DomainConf.d.ts +13 -0
  237. package/lib/esm/DomainConf.js +2 -0
  238. package/lib/esm/DomainConf.js.map +1 -0
  239. package/lib/esm/DomainsList.d.ts +9 -0
  240. package/lib/esm/DomainsList.js +2 -0
  241. package/lib/esm/DomainsList.js.map +1 -0
  242. package/lib/esm/EditorActiveModule.d.ts +4 -0
  243. package/lib/esm/EditorActiveModule.js +2 -0
  244. package/lib/esm/EditorActiveModule.js.map +1 -0
  245. package/lib/esm/EditorBase.d.ts +7 -0
  246. package/lib/esm/EditorBase.js +2 -0
  247. package/lib/esm/EditorBase.js.map +1 -0
  248. package/lib/esm/EditorLegacy.d.ts +5 -0
  249. package/lib/esm/EditorLegacy.js +2 -0
  250. package/lib/esm/EditorLegacy.js.map +1 -0
  251. package/lib/esm/GenericData.d.ts +9 -0
  252. package/lib/esm/GenericData.js +2 -0
  253. package/lib/esm/GenericData.js.map +1 -0
  254. package/lib/esm/GenericDataWithContent.d.ts +6 -0
  255. package/lib/esm/GenericDataWithContent.js +2 -0
  256. package/lib/esm/GenericDataWithContent.js.map +1 -0
  257. package/lib/esm/History.d.ts +18 -0
  258. package/lib/esm/History.js +2 -0
  259. package/lib/esm/History.js.map +1 -0
  260. package/lib/esm/HistoryReason.js +2 -0
  261. package/lib/esm/HistoryReason.js.map +1 -0
  262. package/lib/esm/HistoryWithType.d.ts +17 -0
  263. package/lib/esm/HistoryWithType.js +2 -0
  264. package/lib/esm/HistoryWithType.js.map +1 -0
  265. package/lib/esm/HostindCommand.d.ts +17 -0
  266. package/lib/esm/HostindCommand.js +2 -0
  267. package/lib/esm/HostindCommand.js.map +1 -0
  268. package/lib/esm/Hosting.d.ts +6 -0
  269. package/lib/esm/Hosting.js +2 -0
  270. package/lib/esm/Hosting.js.map +1 -0
  271. package/lib/esm/HostingPorts.d.ts +4 -0
  272. package/lib/esm/HostingPorts.js +2 -0
  273. package/lib/esm/HostingPorts.js.map +1 -0
  274. package/lib/esm/HostingSettings.d.ts +5 -0
  275. package/lib/esm/HostingSettings.js +2 -0
  276. package/lib/esm/HostingSettings.js.map +1 -0
  277. package/lib/esm/HostingWithSettings.d.ts +6 -0
  278. package/lib/esm/HostingWithSettings.js +2 -0
  279. package/lib/esm/HostingWithSettings.js.map +1 -0
  280. package/lib/esm/HttpStatusCodes.d.ts +1 -0
  281. package/lib/esm/HttpStatusCodes.js +2 -0
  282. package/lib/esm/HttpStatusCodes.js.map +1 -0
  283. package/lib/esm/Id.d.ts +4 -0
  284. package/lib/esm/Id.js +2 -0
  285. package/lib/esm/Id.js.map +1 -0
  286. package/lib/esm/IdentifiersEntity.d.ts +4 -0
  287. package/lib/esm/IdentifiersEntity.js +2 -0
  288. package/lib/esm/IdentifiersEntity.js.map +1 -0
  289. package/lib/esm/List.d.ts +25 -0
  290. package/lib/esm/List.js +2 -0
  291. package/lib/esm/List.js.map +1 -0
  292. package/lib/esm/ListCategory.d.ts +9 -0
  293. package/lib/esm/ListCategory.js +2 -0
  294. package/lib/esm/ListCategory.js.map +1 -0
  295. package/lib/esm/ListCustomQueries.d.ts +5 -0
  296. package/lib/esm/ListCustomQueries.js +2 -0
  297. package/lib/esm/ListCustomQueries.js.map +1 -0
  298. package/lib/esm/ListOfModels.d.ts +5 -0
  299. package/lib/esm/ListOfModels.js +2 -0
  300. package/lib/esm/ListOfModels.js.map +1 -0
  301. package/lib/esm/ListParticipantWithUser.d.ts +10 -0
  302. package/lib/esm/ListParticipantWithUser.js +2 -0
  303. package/lib/esm/ListParticipantWithUser.js.map +1 -0
  304. package/lib/esm/ListParticipants.d.ts +21 -0
  305. package/lib/esm/ListParticipants.js +2 -0
  306. package/lib/esm/ListParticipants.js.map +1 -0
  307. package/lib/esm/ListParticipantsDetails.d.ts +7 -0
  308. package/lib/esm/ListParticipantsDetails.js +2 -0
  309. package/lib/esm/ListParticipantsDetails.js.map +1 -0
  310. package/{src/Location.interface.ts → lib/esm/Location.d.ts} +1 -1
  311. package/lib/esm/Location.js +2 -0
  312. package/lib/esm/Location.js.map +1 -0
  313. package/lib/esm/Me.d.ts +10 -0
  314. package/lib/esm/Me.js +2 -0
  315. package/lib/esm/Me.js.map +1 -0
  316. package/lib/esm/Media.d.ts +33 -0
  317. package/lib/esm/Media.js +2 -0
  318. package/lib/esm/Media.js.map +1 -0
  319. package/lib/esm/MediaContentFiles.d.ts +4 -0
  320. package/lib/esm/MediaContentFiles.js +2 -0
  321. package/lib/esm/MediaContentFiles.js.map +1 -0
  322. package/lib/esm/MediaInfo.d.ts +6 -0
  323. package/lib/esm/MediaInfo.js +2 -0
  324. package/lib/esm/MediaInfo.js.map +1 -0
  325. package/lib/esm/MediaStats.d.ts +4 -0
  326. package/lib/esm/MediaStats.js +2 -0
  327. package/lib/esm/MediaStats.js.map +1 -0
  328. package/lib/esm/MediaViewInfo.d.ts +7 -0
  329. package/lib/esm/MediaViewInfo.js +2 -0
  330. package/lib/esm/MediaViewInfo.js.map +1 -0
  331. package/lib/esm/Model.d.ts +3 -0
  332. package/lib/esm/Model.js +2 -0
  333. package/lib/esm/Model.js.map +1 -0
  334. package/lib/esm/ModuleGeneric.d.ts +16 -0
  335. package/lib/esm/ModuleGeneric.js +2 -0
  336. package/lib/esm/ModuleGeneric.js.map +1 -0
  337. package/lib/esm/ModuleIndexOptions.d.ts +6 -0
  338. package/lib/esm/ModuleIndexOptions.js +2 -0
  339. package/lib/esm/ModuleIndexOptions.js.map +1 -0
  340. package/lib/esm/ModulePDFOptions.d.ts +4 -0
  341. package/lib/esm/ModulePDFOptions.js +2 -0
  342. package/lib/esm/ModulePDFOptions.js.map +1 -0
  343. package/lib/esm/ModuleSettings.d.ts +7 -0
  344. package/lib/esm/ModuleSettings.js +2 -0
  345. package/lib/esm/ModuleSettings.js.map +1 -0
  346. package/lib/esm/MulterFile.d.ts +32 -0
  347. package/lib/esm/MulterFile.js +2 -0
  348. package/lib/esm/MulterFile.js.map +1 -0
  349. package/lib/esm/Options.d.ts +4 -0
  350. package/lib/esm/Options.js +2 -0
  351. package/lib/esm/Options.js.map +1 -0
  352. package/lib/esm/Partner.d.ts +13 -0
  353. package/lib/esm/Partner.js +2 -0
  354. package/lib/esm/Partner.js.map +1 -0
  355. package/lib/esm/Permissions.d.ts +16 -0
  356. package/lib/esm/Permissions.js +2 -0
  357. package/lib/esm/Permissions.js.map +1 -0
  358. package/lib/esm/PermissionsWithScope.d.ts +8 -0
  359. package/lib/esm/PermissionsWithScope.js +2 -0
  360. package/lib/esm/PermissionsWithScope.js.map +1 -0
  361. package/lib/esm/Price.d.ts +5 -0
  362. package/lib/esm/Price.js +2 -0
  363. package/lib/esm/Price.js.map +1 -0
  364. package/lib/esm/Project.d.ts +8 -0
  365. package/lib/esm/Project.js +2 -0
  366. package/lib/esm/Project.js.map +1 -0
  367. package/lib/esm/ProjectDomain.d.ts +5 -0
  368. package/lib/esm/ProjectDomain.js +2 -0
  369. package/lib/esm/ProjectDomain.js.map +1 -0
  370. package/lib/esm/Publish.d.ts +25 -0
  371. package/lib/esm/Publish.js +2 -0
  372. package/lib/esm/Publish.js.map +1 -0
  373. package/lib/esm/PublishContentGroup.d.ts +1 -0
  374. package/lib/esm/PublishContentGroup.js +2 -0
  375. package/lib/esm/PublishContentGroup.js.map +1 -0
  376. package/lib/esm/PublishMethod.d.ts +11 -0
  377. package/lib/esm/PublishMethod.js +2 -0
  378. package/lib/esm/PublishMethod.js.map +1 -0
  379. package/lib/esm/PublishMethodFtp.d.ts +9 -0
  380. package/lib/esm/PublishMethodFtp.js +2 -0
  381. package/lib/esm/PublishMethodFtp.js.map +1 -0
  382. package/lib/esm/PublishMethodInternal.d.ts +5 -0
  383. package/lib/esm/PublishMethodInternal.js +2 -0
  384. package/lib/esm/PublishMethodInternal.js.map +1 -0
  385. package/lib/esm/PublishMethodPdf.d.ts +5 -0
  386. package/lib/esm/PublishMethodPdf.js +2 -0
  387. package/lib/esm/PublishMethodPdf.js.map +1 -0
  388. package/lib/esm/PublishMethodWebhook.d.ts +7 -0
  389. package/lib/esm/PublishMethodWebhook.js +2 -0
  390. package/lib/esm/PublishMethodWebhook.js.map +1 -0
  391. package/lib/esm/PublishResult.d.ts +9 -0
  392. package/lib/esm/PublishResult.js +2 -0
  393. package/lib/esm/PublishResult.js.map +1 -0
  394. package/lib/esm/PublishResultStatistics.d.ts +6 -0
  395. package/lib/esm/PublishResultStatistics.js +2 -0
  396. package/lib/esm/PublishResultStatistics.js.map +1 -0
  397. package/lib/esm/RenderContext.d.ts +15 -0
  398. package/lib/esm/RenderContext.js +2 -0
  399. package/lib/esm/RenderContext.js.map +1 -0
  400. package/lib/esm/Scope.d.ts +10 -0
  401. package/lib/esm/Scope.js +2 -0
  402. package/lib/esm/Scope.js.map +1 -0
  403. package/lib/esm/Secret.d.ts +10 -0
  404. package/lib/esm/Secret.js +2 -0
  405. package/lib/esm/Secret.js.map +1 -0
  406. package/lib/esm/Settings.d.ts +5 -0
  407. package/lib/esm/Settings.js +2 -0
  408. package/lib/esm/Settings.js.map +1 -0
  409. package/lib/esm/ShareClient.d.ts +30 -0
  410. package/lib/esm/ShareClient.js +2 -0
  411. package/lib/esm/ShareClient.js.map +1 -0
  412. package/lib/esm/ShareClientOptions.d.ts +6 -0
  413. package/lib/esm/ShareClientOptions.js +2 -0
  414. package/lib/esm/ShareClientOptions.js.map +1 -0
  415. package/lib/esm/SkipLimitSort.d.ts +8 -0
  416. package/lib/esm/SkipLimitSort.js +2 -0
  417. package/lib/esm/SkipLimitSort.js.map +1 -0
  418. package/lib/esm/StudioIframeMessage.d.ts +6 -0
  419. package/lib/esm/StudioIframeMessage.js +2 -0
  420. package/lib/esm/StudioIframeMessage.js.map +1 -0
  421. package/lib/esm/SystemDomain.d.ts +3 -0
  422. package/lib/esm/SystemDomain.js +2 -0
  423. package/lib/esm/SystemDomain.js.map +1 -0
  424. package/lib/esm/Tracker.d.ts +14 -0
  425. package/lib/esm/Tracker.js +2 -0
  426. package/lib/esm/Tracker.js.map +1 -0
  427. package/lib/esm/TrackerInput.d.ts +6 -0
  428. package/lib/esm/TrackerInput.js +2 -0
  429. package/lib/esm/TrackerInput.js.map +1 -0
  430. package/lib/esm/TrackerStatistics.d.ts +23 -0
  431. package/lib/esm/TrackerStatistics.js +2 -0
  432. package/lib/esm/TrackerStatistics.js.map +1 -0
  433. package/lib/esm/Universal.d.ts +8 -0
  434. package/lib/esm/Universal.js +2 -0
  435. package/lib/esm/Universal.js.map +1 -0
  436. package/lib/esm/UserApp.d.ts +4 -0
  437. package/lib/esm/UserApp.js +2 -0
  438. package/lib/esm/UserApp.js.map +1 -0
  439. package/lib/esm/UserAppOptionsRequired.d.ts +6 -0
  440. package/lib/esm/UserAppOptionsRequired.js +2 -0
  441. package/lib/esm/UserAppOptionsRequired.js.map +1 -0
  442. package/lib/esm/UserAppWithOptions.d.ts +4 -0
  443. package/lib/esm/UserAppWithOptions.js +2 -0
  444. package/lib/esm/UserAppWithOptions.js.map +1 -0
  445. package/lib/esm/VersionInfo.d.ts +7 -0
  446. package/lib/esm/VersionInfo.js +2 -0
  447. package/lib/esm/VersionInfo.js.map +1 -0
  448. package/lib/esm/WildcardCertificates.d.ts +10 -0
  449. package/lib/esm/WildcardCertificates.js +2 -0
  450. package/lib/esm/WildcardCertificates.js.map +1 -0
  451. package/lib/esm/index.d.ts +113 -0
  452. package/package.json +24 -5
  453. package/src/Access.ts +7 -0
  454. package/src/Action.ts +1 -0
  455. package/src/AdditionalContentInformation.ts +5 -0
  456. package/src/Address.ts +9 -0
  457. package/src/{Agreement.interface.ts → Agreement.ts} +1 -1
  458. package/src/AgreementResponse.ts +4 -0
  459. package/src/ApiResponses.ts +14 -0
  460. package/src/{App.interface.ts → App.ts} +1 -3
  461. package/src/AppFilter.ts +1 -0
  462. package/src/AppPermissions.ts +2 -2
  463. package/src/AvailableStorageTypes.ts +1 -0
  464. package/src/{AvailableVariant.interface.ts → AvailableVariant.ts} +1 -1
  465. package/src/{BaseFilterOptions.interface.ts → BaseFilterOptions.ts} +1 -1
  466. package/src/{BasicData.interface.ts → BasicData.ts} +2 -1
  467. package/src/BasicDataDatabase.ts +20 -0
  468. package/src/CallResponse.ts +6 -0
  469. package/src/Certificate.ts +18 -0
  470. package/src/CertificateAction.ts +43 -0
  471. package/src/CertificateActionResult.ts +4 -0
  472. package/src/ChildData.ts +8 -0
  473. package/src/Command.ts +5 -0
  474. package/src/Company.ts +28 -0
  475. package/src/CompanyAttribute.ts +1 -0
  476. package/src/CompanyProject.ts +3 -0
  477. package/src/Content.ts +33 -0
  478. package/src/{ContentPrepared.interface.ts → ContentWithPositions.ts} +3 -3
  479. package/src/{Contract.interface.ts → Contract.ts} +1 -1
  480. package/src/{CreateResult.interface.ts → CreateResult.ts} +1 -1
  481. package/src/CustomerBase.ts +27 -0
  482. package/src/CustomerCompany.ts +13 -0
  483. package/src/CustomerPerson.ts +12 -0
  484. package/src/CustomerPersonWithAddress.ts +4 -0
  485. package/src/CustomerPersonWithEmail.ts +7 -0
  486. package/src/Customers.ts +3 -0
  487. package/src/CustomersModelActions.ts +2 -0
  488. package/src/{DataObject.interface.ts → DataObject.ts} +1 -1
  489. package/src/DatabaseQuery.ts +3 -0
  490. package/src/{DatabaseQueryOptions.interface.ts → DatabaseQueryOptions.ts} +1 -1
  491. package/src/{DatabaseQuerySites.interface.ts → DatabaseQuerySites.ts} +1 -1
  492. package/src/{DesignModule.interface.ts → DesignModule.ts} +2 -2
  493. package/src/Domain.ts +37 -0
  494. package/src/{DomainConf.interface.ts → DomainConf.ts} +2 -2
  495. package/src/DomainsList.ts +14 -0
  496. package/src/EditorActiveModule.ts +4 -0
  497. package/src/EditorBase.ts +7 -0
  498. package/src/{EditorLegacy.interface.ts → EditorLegacy.ts} +1 -1
  499. package/src/{GenericData.interface.ts → GenericData.ts} +4 -3
  500. package/src/GenericDataWithContent.ts +8 -0
  501. package/src/History.ts +22 -0
  502. package/src/HistoryReason.ts +1 -0
  503. package/src/HistoryWithType.ts +20 -0
  504. package/src/HostindCommand.ts +16 -0
  505. package/src/Hosting.ts +8 -0
  506. package/src/HostingPorts.ts +4 -0
  507. package/src/HostingSettings.ts +5 -0
  508. package/src/HostingWithSettings.ts +7 -0
  509. package/src/HttpStatusCodes.ts +13 -0
  510. package/src/Id.ts +4 -0
  511. package/src/IdentifiersEntity.ts +4 -0
  512. package/src/List.ts +34 -0
  513. package/src/ListCategory.ts +12 -0
  514. package/src/{ListCustomQueries.interface.ts → ListCustomQueries.ts} +1 -1
  515. package/src/{ListOfModels.interface.ts → ListOfModels.ts} +1 -1
  516. package/src/ListParticipantWithUser.ts +12 -0
  517. package/src/ListParticipants.ts +38 -0
  518. package/src/{ListParticipantsDetails.interface.ts → ListParticipantsDetails.ts} +1 -1
  519. package/src/Location.ts +25 -0
  520. package/src/Me.ts +13 -0
  521. package/src/Media.ts +42 -0
  522. package/src/MediaContentFiles.ts +5 -0
  523. package/src/MediaInfo.ts +6 -0
  524. package/src/MediaStats.ts +4 -0
  525. package/src/MediaViewInfo.ts +7 -0
  526. package/src/{Modelv2.interface.ts → Model.ts} +1 -1
  527. package/src/{ModuleGeneric.interface.ts → ModuleGeneric.ts} +4 -4
  528. package/src/{ModuleIndexOptions.interface.ts → ModuleIndexOptions.ts} +1 -1
  529. package/src/{ModulePDFOptions.interface.ts → ModulePDFOptions.ts} +1 -1
  530. package/src/ModuleSettings.ts +8 -0
  531. package/src/{MulterFile.interface.ts → MulterFile.ts} +1 -1
  532. package/src/{Options.interface.ts → Options.ts} +1 -1
  533. package/src/{Partner.interface.ts → Partner.ts} +2 -3
  534. package/src/PermissionsWithScope.ts +11 -0
  535. package/src/Project.ts +10 -0
  536. package/src/ProjectDomain.ts +6 -0
  537. package/src/Publish.ts +43 -0
  538. package/src/PublishContentGroup.ts +1 -0
  539. package/src/PublishMethod.ts +20 -0
  540. package/src/PublishMethodFtp.ts +17 -0
  541. package/src/PublishMethodInternal.ts +9 -0
  542. package/src/PublishMethodPdf.ts +9 -0
  543. package/src/PublishMethodWebhook.ts +13 -0
  544. package/src/{PublishResult.interface.ts → PublishResult.ts} +1 -1
  545. package/src/{PublishResultStatistics.interface.ts → PublishResultStatistics.ts} +1 -1
  546. package/src/{RenderContext.interface.ts → RenderContext.ts} +2 -2
  547. package/src/Secret.ts +12 -0
  548. package/src/Settings.ts +5 -0
  549. package/src/{ShareClient.interface.ts → ShareClient.ts} +1 -1
  550. package/src/{ShareClientOptions.interface.ts → ShareClientOptions.ts} +2 -1
  551. package/src/{SkipLimitSort.interface.ts → SkipLimitSort.ts} +1 -1
  552. package/src/{StudioIframeMessage.interface.ts → StudioIframeMessage.ts} +1 -1
  553. package/src/SystemDomain.ts +2 -0
  554. package/src/Tracker.ts +15 -0
  555. package/src/TrackerInput.ts +9 -0
  556. package/src/{TrackerStatistics.interface.ts → TrackerStatistics.ts} +2 -2
  557. package/src/{Universal.interface.ts → Universal.ts} +1 -1
  558. package/src/UserApp.ts +5 -0
  559. package/src/{UserAppOptionsRequired.interface.ts → UserAppOptionsRequired.ts} +1 -1
  560. package/src/UserAppWithOptions.ts +6 -0
  561. package/src/VersionInfo.ts +9 -0
  562. package/src/WildcardCertificates.ts +9 -0
  563. package/tsconfig.cjs.json +19 -0
  564. package/tsconfig.json +27 -14
  565. package/dist/AdditionalContentInformation.interface.d.ts +0 -4
  566. package/dist/AgreementResponse.interface.d.ts +0 -4
  567. package/dist/ApiResponses.interface.d.ts +0 -11
  568. package/dist/AppFilter.interface.d.ts +0 -2
  569. package/dist/AppPermissions.d.ts +0 -7
  570. package/dist/AvailableStorageTypes.interface.d.ts +0 -2
  571. package/dist/CallResponse.interface.d.ts +0 -5
  572. package/dist/CertificateActionResult.interface.d.ts +0 -4
  573. package/dist/ChildData.interface.d.ts +0 -7
  574. package/dist/CompanyProject.interface.d.ts +0 -3
  575. package/dist/Content.interface.d.ts +0 -3
  576. package/dist/DatabaseQuery.interface.d.ts +0 -3
  577. package/dist/EditorActiveModule.interface.d.ts +0 -4
  578. package/dist/GenericData.interface.d.ts +0 -9
  579. package/dist/GenericDataWithContent.interface.d.ts +0 -6
  580. package/dist/HostingPorts.interface.d.ts +0 -4
  581. package/dist/HostingWithSettings.interface.d.ts +0 -6
  582. package/dist/HttpStatusCode.enum.d.ts +0 -319
  583. package/dist/ModuleSettings.interface.d.ts +0 -7
  584. package/dist/UserAppWithOptions.interface.d.ts +0 -4
  585. package/src/AdditionalContentInformation.interface.ts +0 -5
  586. package/src/AgreementResponse.interface.ts +0 -4
  587. package/src/ApiResponses.interface.ts +0 -15
  588. package/src/AppFilter.interface.ts +0 -1
  589. package/src/AvailableStorageTypes.interface.ts +0 -2
  590. package/src/CallResponse.interface.ts +0 -6
  591. package/src/CertificateActionResult.interface.ts +0 -4
  592. package/src/ChildData.interface.ts +0 -8
  593. package/src/CompanyProject.interface.ts +0 -3
  594. package/src/Content.interface.ts +0 -3
  595. package/src/DatabaseQuery.interface.ts +0 -3
  596. package/src/EditorActiveModule.interface.ts +0 -4
  597. package/src/GenericDataWithContent.interface.ts +0 -8
  598. package/src/HostingPorts.interface.ts +0 -4
  599. package/src/HostingWithSettings.interface.ts +0 -7
  600. package/src/HttpStatusCode.enum.ts +0 -383
  601. package/src/ModuleSettings.interface.ts +0 -8
  602. package/src/UserApp.interface.ts +0 -5
  603. package/src/UserAppWithOptions.interface.ts +0 -6
  604. package/src/Wildcardcertificates.interface.ts +0 -11
  605. /package/{dist/Action.interface.d.ts → lib/cjs/Action.d.ts} +0 -0
  606. /package/{dist/HistoryReason.interface.d.ts → lib/cjs/HistoryReason.d.ts} +0 -0
  607. /package/{dist/Permissions.interface.d.ts → lib/cjs/Permissions.d.ts} +0 -0
  608. /package/{dist/Price.interface.d.ts → lib/cjs/Price.d.ts} +0 -0
  609. /package/{dist/Scope.interface.d.ts → lib/cjs/Scope.d.ts} +0 -0
  610. /package/{src/Action.interface.ts → lib/esm/Action.d.ts} +0 -0
  611. /package/{src/HistoryReason.interface.ts → lib/esm/HistoryReason.d.ts} +0 -0
  612. /package/src/{Permissions.interface.ts → Permissions.ts} +0 -0
  613. /package/src/{Price.interface.ts → Price.ts} +0 -0
  614. /package/src/{Scope.interface.ts → Scope.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { Filter } from "mongodb";
2
- export default interface ListCustomQuery<M> {
2
+ export interface ListCustomQueries<M> {
3
3
  countQuery: Filter<M>;
4
4
  aggregation: Object[];
5
5
  }
@@ -1,4 +1,4 @@
1
- export default interface ListOfModel<T> {
1
+ export interface ListOfModels<T> {
2
2
  data?: T[];
3
3
  all?: number;
4
4
  count?: number;
@@ -0,0 +1,10 @@
1
+ import { ObjectId } from "mongodb";
2
+ import { ListParticipants } from "./ListParticipants";
3
+ export type ListParticipantWithUser = ListParticipants & {
4
+ user: {
5
+ name: string;
6
+ email: string;
7
+ id: string;
8
+ _id: ObjectId;
9
+ };
10
+ };
@@ -0,0 +1,21 @@
1
+ import { ObjectId } from "mongodb";
2
+ import { AgreementResponse } from "./AgreementResponse";
3
+ export interface ListParticipants {
4
+ _id?: ObjectId;
5
+ list: ObjectId;
6
+ company: string;
7
+ project: string;
8
+ user: ObjectId;
9
+ /**
10
+ * message from the participant
11
+ */
12
+ message?: string;
13
+ /**
14
+ * internal note
15
+ */
16
+ note?: string;
17
+ category?: string;
18
+ explanation?: string;
19
+ state: 'unchecked' | 'notuseful' | 'confirmed' | 'enlisted' | 'reserved' | 'waiting' | 'blocked' | 'finalized';
20
+ agreements: AgreementResponse[];
21
+ }
@@ -1,4 +1,4 @@
1
- export default interface ListPartiticpantsDetails {
1
+ export interface ListPartiticpantsDetails {
2
2
  used: number;
3
3
  categories: {
4
4
  id: string;
@@ -1,4 +1,4 @@
1
- export default interface Location {
1
+ export interface Location {
2
2
  place_id: string;
3
3
  licence: string;
4
4
  osm_type: string;
@@ -0,0 +1,10 @@
1
+ import { Settings } from "./Settings";
2
+ export interface Me {
3
+ id?: string;
4
+ prename?: string;
5
+ lastname?: string;
6
+ email?: string;
7
+ state?: string[];
8
+ settings?: Settings['settings'];
9
+ termsAccepted?: boolean;
10
+ }
@@ -0,0 +1,33 @@
1
+ import { ObjectId } from "mongodb";
2
+ import { Content } from "./Content";
3
+ import { MediaInfo } from "./MediaInfo";
4
+ import { MediaViewInfo } from "./MediaViewInfo";
5
+ import { VersionInfo } from "./VersionInfo";
6
+ export interface Media {
7
+ company?: string;
8
+ project?: string;
9
+ /** files can be uploaded from a admin company for a partner */
10
+ fromCompany?: string;
11
+ fromProject?: string;
12
+ filename?: string;
13
+ id?: string;
14
+ type?: string;
15
+ size?: number;
16
+ tags?: string[];
17
+ image?: boolean;
18
+ video?: boolean;
19
+ folder?: boolean;
20
+ mimetype?: string;
21
+ info?: MediaInfo;
22
+ view?: MediaViewInfo;
23
+ download?: string;
24
+ basePath?: string;
25
+ baseContent?: {
26
+ id: ObjectId;
27
+ version: number;
28
+ content?: Content;
29
+ };
30
+ versions?: VersionInfo[];
31
+ app?: string;
32
+ appId?: string;
33
+ }
@@ -0,0 +1,4 @@
1
+ import { Media } from "./Media";
2
+ export interface MediaContentFiles extends Media {
3
+ availableVersions: number;
4
+ }
@@ -0,0 +1,6 @@
1
+ export interface MediaInfo {
2
+ width?: number;
3
+ height?: number;
4
+ ratio?: number;
5
+ size?: number;
6
+ }
@@ -0,0 +1,4 @@
1
+ export interface MediaStats {
2
+ files?: number;
3
+ used?: number;
4
+ }
@@ -0,0 +1,7 @@
1
+ export interface MediaViewInfo {
2
+ width?: number;
3
+ padding?: number;
4
+ src?: string;
5
+ thumb?: string;
6
+ loading?: boolean;
7
+ }
@@ -1,3 +1,3 @@
1
- export default interface Modelv2 {
1
+ export interface Model {
2
2
  SchemaType: 'change' | 'create' | string;
3
3
  }
@@ -1,7 +1,7 @@
1
- import ChildData from './ChildData.interface';
2
- import ModuleIndexOptions from './ModuleIndexOptions.interface';
3
- import ModulePDFOptions from './ModulePDFOptions.interface';
4
- export default interface ModuleGeneric {
1
+ import { ChildData } from './ChildData';
2
+ import { ModuleIndexOptions } from './ModuleIndexOptions';
3
+ import { ModulePDFOptions } from './ModulePDFOptions';
4
+ export interface ModuleGeneric {
5
5
  [key: string]: any;
6
6
  id?: string;
7
7
  type: string;
@@ -1,4 +1,4 @@
1
- export default interface ModuleIndexOptions {
1
+ export interface ModuleIndexOptions {
2
2
  anchor?: string;
3
3
  title?: string;
4
4
  type?: string;
@@ -1,4 +1,4 @@
1
- export default interface ModulePDFOptions {
1
+ export interface ModulePDFOptions {
2
2
  newSiteAfter?: boolean;
3
3
  newSiteBefore?: boolean;
4
4
  }
@@ -0,0 +1,7 @@
1
+ import { AvailableVariant, EditorMode } from "./AvailableVariant";
2
+ export interface ModuleSettings {
3
+ variants: AvailableVariant[];
4
+ editor: {
5
+ modes: EditorMode[];
6
+ };
7
+ }
@@ -0,0 +1,32 @@
1
+ /// <reference types="node" />
2
+ /// <reference types="node" />
3
+ import { Readable } from 'stream';
4
+ export interface MulterFile {
5
+ /** Name of the form field associated with this file. */
6
+ fieldname: string;
7
+ /** Name of the file on the uploader's computer. */
8
+ originalname: string;
9
+ /**
10
+ * Value of the `Content-Transfer-Encoding` header for this file.
11
+ * @deprecated since July 2015
12
+ * @see RFC 7578, Section 4.7
13
+ */
14
+ encoding: string;
15
+ /** Value of the `Content-Type` header for this file. */
16
+ mimetype: string;
17
+ /** Size of the file in bytes. */
18
+ size: number;
19
+ /**
20
+ * A readable stream of this file. Only available to the `_handleFile`
21
+ * callback for custom `StorageEngine`s.
22
+ */
23
+ stream: Readable;
24
+ /** `DiskStorage` only: Directory to which this file has been uploaded. */
25
+ destination: string;
26
+ /** `DiskStorage` only: Name of this file within `destination`. */
27
+ filename: string;
28
+ /** `DiskStorage` only: Full path to the uploaded file. */
29
+ path: string;
30
+ /** `MemoryStorage` only: A Buffer containing the entire file. */
31
+ buffer: Buffer;
32
+ }
@@ -1,4 +1,4 @@
1
- export default interface Options {
1
+ export interface Options {
2
2
  company?: string;
3
3
  project?: string;
4
4
  }
@@ -1,6 +1,5 @@
1
- import BasicDataInterface from './BasicData.interface';
2
- import Contract from './Contract.interface';
3
- export default interface Partner extends BasicDataInterface {
1
+ import { Contract } from './Contract';
2
+ export interface Partner {
4
3
  id?: string;
5
4
  state?: string;
6
5
  contract?: {
@@ -0,0 +1,8 @@
1
+ import { Scope } from "./Scope";
2
+ export interface PermissionsWithScope {
3
+ user?: string;
4
+ app?: string;
5
+ company?: string;
6
+ project?: string;
7
+ scope?: Scope;
8
+ }
@@ -0,0 +1,8 @@
1
+ export interface Project {
2
+ name: string;
3
+ description?: string;
4
+ license?: string;
5
+ company: string;
6
+ tags?: string[];
7
+ apps?: string[];
8
+ }
@@ -0,0 +1,5 @@
1
+ import { Domain } from "./Domain";
2
+ export interface ProjectDomain extends Domain {
3
+ company: string;
4
+ project: string;
5
+ }
@@ -0,0 +1,25 @@
1
+ import { ObjectId } from "mongodb";
2
+ import { PublishMethod } from "./PublishMethod";
3
+ import { PublishResult } from "./PublishResult";
4
+ import { PublishResultStatistics } from "./PublishResultStatistics";
5
+ export interface Publish {
6
+ referenceId?: ObjectId;
7
+ method: ObjectId;
8
+ publishMethod?: {
9
+ label: PublishMethod['label'];
10
+ type: PublishMethod['type'];
11
+ };
12
+ contentGroup?: 'all' | 'sync' | 'category' | 'single';
13
+ category?: string;
14
+ state: 'new' | 'planned' | 'inQueue' | 'inProgress' | 'failed' | 'success' | 'partialSuccess' | 'noAction' | 'canceled';
15
+ type: 'editor' | 'universal';
16
+ planned?: Date;
17
+ result?: PublishResult[];
18
+ statistics?: PublishResultStatistics;
19
+ appPublish?: string;
20
+ modelPublish?: string;
21
+ publishData?: {
22
+ id: number | string;
23
+ name?: string;
24
+ };
25
+ }
@@ -0,0 +1 @@
1
+ export type PublishContentGroup = 'single' | 'all' | 'category';
@@ -0,0 +1,11 @@
1
+ import { Content } from "./Content";
2
+ import { PublishContentGroup } from "./PublishContentGroup";
3
+ export interface PublishMethod {
4
+ type: 'ftp' | 'webhook' | 'internal' | 'pdf';
5
+ active: boolean;
6
+ label: string;
7
+ availableForApps: string[];
8
+ availableForContentGroups: PublishContentGroup[];
9
+ affectedStates?: Content['state'][];
10
+ [key: string]: any;
11
+ }
@@ -0,0 +1,9 @@
1
+ import { PublishMethod } from "./PublishMethod";
2
+ export interface PublishMethodFtp extends PublishMethod {
3
+ type: 'ftp';
4
+ username: string;
5
+ password: string;
6
+ host: string;
7
+ port: number;
8
+ mode: 'active' | 'passive';
9
+ }
@@ -0,0 +1,5 @@
1
+ import { PublishMethod } from "./PublishMethod";
2
+ export interface PublishMethodInternal extends PublishMethod {
3
+ type: 'internal';
4
+ label: string;
5
+ }
@@ -0,0 +1,5 @@
1
+ import { PublishMethod } from "./PublishMethod";
2
+ export interface PublishMethodPdf extends PublishMethod {
3
+ type: 'pdf';
4
+ label: string;
5
+ }
@@ -0,0 +1,7 @@
1
+ import { PublishMethod } from "./PublishMethod";
2
+ export interface PublishMethodWebhook extends PublishMethod {
3
+ type: 'webhook';
4
+ url: string;
5
+ label: string;
6
+ availableForApps: string[];
7
+ }
@@ -1,5 +1,5 @@
1
1
  import { ObjectId } from 'mongodb';
2
- export default interface PublishResult {
2
+ export interface PublishResult {
3
3
  referenceId: ObjectId;
4
4
  state: 'error' | 'success';
5
5
  error?: string;
@@ -1,4 +1,4 @@
1
- export default interface PublishResultStatistics {
1
+ export interface PublishResultStatistics {
2
2
  affected: number;
3
3
  error: number;
4
4
  success: number;
@@ -1,5 +1,5 @@
1
- import Content from './Content.interface';
2
- export default interface RenderContext {
1
+ import { Content } from './Content';
2
+ export interface RenderContext {
3
3
  url?: string;
4
4
  data?: Content;
5
5
  layout?: Content;
@@ -0,0 +1,10 @@
1
+ import { ObjectId } from "mongodb";
2
+ export interface Secret {
3
+ _id?: ObjectId;
4
+ company: string;
5
+ project?: string;
6
+ affectedApp?: string;
7
+ model?: string;
8
+ id: string;
9
+ key: string;
10
+ }
@@ -0,0 +1,5 @@
1
+ export interface Settings {
2
+ _id: string;
3
+ user: string;
4
+ settings: Record<string, string | number | boolean | Record<string, string | number | boolean>>;
5
+ }
@@ -0,0 +1,30 @@
1
+ /// <reference types="node" />
2
+ export interface ShareClientInterface {
3
+ createFolder(basePath: string, folder: string): Promise<boolean>;
4
+ removeFolder(path: string): Promise<boolean>;
5
+ /**
6
+ *
7
+ *
8
+ * @param {string} destination where to put the file
9
+ * @param {string} filename the filename
10
+ * @param {string} filePath file source path
11
+ * @returns {Promise<boolean>}
12
+ * @memberof ShareClientInterface
13
+ */
14
+ add(destination: string, filename: string, filePath: string, mimeHint?: string): Promise<boolean>;
15
+ /**
16
+ * creates a new file and puts in the given data
17
+ *
18
+ * @param {string} destination
19
+ * @param {string} filename
20
+ * @param {(string | Buffer)} data
21
+ * @returns {Promise<boolean>}
22
+ * @memberof ShareClientInterface
23
+ */
24
+ create(destination: string, filename: string, data: string | Buffer, mimeHint?: string): Promise<boolean>;
25
+ remove(folder: string, file: string): Promise<boolean>;
26
+ update(folder: string, filename: string, data: string | Buffer): Promise<boolean>;
27
+ get(folder: string, filename: string): Promise<Buffer>;
28
+ list(folder: string, filter: RegExp): Promise<string[]>;
29
+ copy(files: string[], sourceFolder: string, destinationFolder: string): Promise<boolean>;
30
+ }
@@ -1,4 +1,4 @@
1
- export default interface ShareClientOptions {
1
+ export interface ShareClientOptions {
2
2
  connectionString: string;
3
3
  container?: string;
4
4
  shareName?: string;
@@ -1,5 +1,5 @@
1
1
  import { SortDirection } from "mongodb";
2
- export default interface SkipLimitSort {
2
+ export interface SkipLimitSort {
3
3
  skip: number;
4
4
  limit: number;
5
5
  sort: {
@@ -1,4 +1,4 @@
1
- export default interface StudioIframeMessage<T> {
1
+ export interface StudioIframeMessage<T> {
2
2
  data: {
3
3
  type: 'studio-content' | 'studio-editor-settings' | 'studio-settings' | 'studio-active' | 'studio-cookie-reset';
4
4
  data: T;
@@ -0,0 +1,3 @@
1
+ import { Domain } from "./Domain";
2
+ export interface SystemDomain extends Omit<Domain, 'company' | 'project'> {
3
+ }
@@ -0,0 +1,14 @@
1
+ import { Me } from "./Me";
2
+ import { TrackerCategories } from "./TrackerStatistics";
3
+ export interface Tracker {
4
+ indexedKey?: string;
5
+ description?: string;
6
+ category?: TrackerCategories;
7
+ startTime?: Date;
8
+ endTime?: Date;
9
+ currentTime?: number;
10
+ mode: 'stopwatch' | 'timeframe';
11
+ user?: Pick<Me, 'lastname' | 'prename' | 'id' | 'email'> | string;
12
+ company: string;
13
+ project: string;
14
+ }
@@ -0,0 +1,6 @@
1
+ import { Tracker } from "./Tracker";
2
+ export interface TrackerInput extends Omit<Tracker, 'startTime' | 'endTime'> {
3
+ startTime: string;
4
+ endTime: string;
5
+ user: string;
6
+ }
@@ -1,10 +1,10 @@
1
- import { Tracker } from '../../studio-package/src/models/tracker.model';
1
+ import { Tracker } from "./Tracker";
2
2
  export type TrackerCategories = 'call' | 'worktime' | 'all';
3
3
  export interface TrackerData {
4
4
  count: number;
5
5
  time: number;
6
6
  }
7
- export default interface TrackerStatistics {
7
+ export interface TrackerStatistics {
8
8
  count: number;
9
9
  all: TrackerData;
10
10
  categories: {
@@ -1,5 +1,5 @@
1
1
  import { ObjectId } from 'mongodb';
2
- export default interface UniversalInterface {
2
+ export interface Universal {
3
3
  [key: string]: unknown;
4
4
  id?: string | number;
5
5
  _id?: ObjectId;
@@ -1,4 +1,4 @@
1
- export default interface UserApp {
1
+ export interface UserApp {
2
2
  user?: string;
3
3
  app?: string;
4
4
  }
@@ -1,4 +1,4 @@
1
- export default interface UserAppOptionsRequired {
1
+ export interface UserAppOptionsRequired {
2
2
  user: string;
3
3
  app: string;
4
4
  company: string;
@@ -0,0 +1,4 @@
1
+ import { Options } from './Options';
2
+ import { UserApp } from './UserApp';
3
+ type UserAppWithOptions = Options & UserApp;
4
+ export { UserAppWithOptions };
@@ -0,0 +1,7 @@
1
+ export interface VersionInfo {
2
+ width?: number;
3
+ height?: number;
4
+ size?: number;
5
+ filename?: string;
6
+ name?: string;
7
+ }
@@ -1,4 +1,5 @@
1
- export default interface WildcartCertificate {
1
+ import { IdentifiersEntity } from "./IdentifiersEntity";
2
+ export interface WildcardCertificates {
2
3
  identifiers?: IdentifiersEntity[];
3
4
  cert: string;
4
5
  chain: string;
@@ -7,7 +8,3 @@ export default interface WildcartCertificate {
7
8
  to: Date;
8
9
  };
9
10
  }
10
- export interface IdentifiersEntity {
11
- type: string;
12
- value: string;
13
- }
@@ -0,0 +1,113 @@
1
+ export * from './Access';
2
+ export * from './Action';
3
+ export * from './AdditionalContentInformation';
4
+ export * from './Address';
5
+ export * from './Agreement';
6
+ export * from './AgreementResponse';
7
+ export * from './ApiResponses';
8
+ export * from './App';
9
+ export * from './AppFilter';
10
+ export * from './AppPermissions';
11
+ export * from './AvailableStorageTypes';
12
+ export * from './AvailableVariant';
13
+ export * from './BaseFilterOptions';
14
+ export * from './BasicData';
15
+ export * from './BasicDataDatabase';
16
+ export * from './CallResponse';
17
+ export * from './Certificate';
18
+ export * from './CertificateAction';
19
+ export * from './CertificateActionResult';
20
+ export * from './ChildData';
21
+ export * from './Command';
22
+ export * from './Company';
23
+ export * from './CompanyAttribute';
24
+ export * from './CompanyProject';
25
+ export * from './Content';
26
+ export * from './ContentWithPositions';
27
+ export * from './Contract';
28
+ export * from './CreateResult';
29
+ export * from './CustomerBase';
30
+ export * from './CustomerCompany';
31
+ export * from './CustomerPerson';
32
+ export * from './CustomerPersonWithAddress';
33
+ export * from './CustomerPersonWithEmail';
34
+ export * from './Customers';
35
+ export * from './CustomersModelActions';
36
+ export * from './DataObject';
37
+ export * from './DatabaseQuery';
38
+ export * from './DatabaseQueryOptions';
39
+ export * from './DatabaseQuerySites';
40
+ export * from './DesignModule';
41
+ export * from './Domain';
42
+ export * from './DomainConf';
43
+ export * from './DomainsList';
44
+ export * from './EditorActiveModule';
45
+ export * from './EditorBase';
46
+ export * from './EditorLegacy';
47
+ export * from './GenericData';
48
+ export * from './GenericDataWithContent';
49
+ export * from './History';
50
+ export * from './HistoryReason';
51
+ export * from './HistoryWithType';
52
+ export * from './HostindCommand';
53
+ export * from './Hosting';
54
+ export * from './HostingPorts';
55
+ export * from './HostingSettings';
56
+ export * from './HostingWithSettings';
57
+ export * from './HttpStatusCodes';
58
+ export * from './Id';
59
+ export * from './IdentifiersEntity';
60
+ export * from './List';
61
+ export * from './ListCategory';
62
+ export * from './ListCustomQueries';
63
+ export * from './ListOfModels';
64
+ export * from './ListParticipantWithUser';
65
+ export * from './ListParticipants';
66
+ export * from './ListParticipantsDetails';
67
+ export * from './Location';
68
+ export * from './Me';
69
+ export * from './Media';
70
+ export * from './MediaContentFiles';
71
+ export * from './MediaInfo';
72
+ export * from './MediaStats';
73
+ export * from './MediaViewInfo';
74
+ export * from './Model';
75
+ export * from './ModuleGeneric';
76
+ export * from './ModuleIndexOptions';
77
+ export * from './ModulePDFOptions';
78
+ export * from './ModuleSettings';
79
+ export * from './MulterFile';
80
+ export * from './Options';
81
+ export * from './Partner';
82
+ export * from './Permissions';
83
+ export * from './PermissionsWithScope';
84
+ export * from './Price';
85
+ export * from './Project';
86
+ export * from './ProjectDomain';
87
+ export * from './Publish';
88
+ export * from './PublishContentGroup';
89
+ export * from './PublishMethod';
90
+ export * from './PublishMethodFtp';
91
+ export * from './PublishMethodInternal';
92
+ export * from './PublishMethodPdf';
93
+ export * from './PublishMethodWebhook';
94
+ export * from './PublishResult';
95
+ export * from './PublishResultStatistics';
96
+ export * from './RenderContext';
97
+ export * from './Scope';
98
+ export * from './Secret';
99
+ export * from './Settings';
100
+ export * from './ShareClient';
101
+ export * from './ShareClientOptions';
102
+ export * from './SkipLimitSort';
103
+ export * from './StudioIframeMessage';
104
+ export * from './SystemDomain';
105
+ export * from './Tracker';
106
+ export * from './TrackerInput';
107
+ export * from './TrackerStatistics';
108
+ export * from './Universal';
109
+ export * from './UserApp';
110
+ export * from './UserAppOptionsRequired';
111
+ export * from './UserAppWithOptions';
112
+ export * from './VersionInfo';
113
+ export * from './WildcardCertificates';
File without changes