bolbol-sdk 2.1.0 → 3.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 (357) hide show
  1. package/README.md +137 -23
  2. package/dist/BolbolServer.d.ts +2 -0
  3. package/dist/BolbolServer.d.ts.map +1 -1
  4. package/dist/BolbolServer.js +3 -0
  5. package/dist/BolbolServer.js.map +1 -1
  6. package/dist/index.d.ts +55 -0
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +55 -0
  9. package/dist/index.js.map +1 -1
  10. package/dist/scope/BolbolAcademyScope.d.ts +4 -0
  11. package/dist/scope/BolbolAcademyScope.d.ts.map +1 -1
  12. package/dist/scope/BolbolAcademyScope.js +29 -18
  13. package/dist/scope/BolbolAcademyScope.js.map +1 -1
  14. package/dist/scope/BolbolBillingScope.d.ts +10 -0
  15. package/dist/scope/BolbolBillingScope.d.ts.map +1 -1
  16. package/dist/scope/BolbolBillingScope.js +17 -0
  17. package/dist/scope/BolbolBillingScope.js.map +1 -1
  18. package/dist/scope/BolbolCatalogScope.d.ts +1 -1
  19. package/dist/scope/BolbolCatalogScope.d.ts.map +1 -1
  20. package/dist/scope/BolbolCatalogScope.js +10 -5
  21. package/dist/scope/BolbolCatalogScope.js.map +1 -1
  22. package/dist/scope/BolbolLexemaScope.d.ts +2 -0
  23. package/dist/scope/BolbolLexemaScope.d.ts.map +1 -1
  24. package/dist/scope/BolbolLexemaScope.js +13 -4
  25. package/dist/scope/BolbolLexemaScope.js.map +1 -1
  26. package/dist/scope/BolbolSeriesScope.js +1 -1
  27. package/dist/scope/BolbolSeriesScope.js.map +1 -1
  28. package/dist/scope/BolbolTeacherScope.d.ts +4 -0
  29. package/dist/scope/BolbolTeacherScope.d.ts.map +1 -1
  30. package/dist/scope/BolbolTeacherScope.js +27 -16
  31. package/dist/scope/BolbolTeacherScope.js.map +1 -1
  32. package/dist/scope/BolbolUserCollectionScope.d.ts.map +1 -1
  33. package/dist/scope/BolbolUserCollectionScope.js +18 -9
  34. package/dist/scope/BolbolUserCollectionScope.js.map +1 -1
  35. package/dist/scope/BolbolUserExtensionScope.d.ts +27 -0
  36. package/dist/scope/BolbolUserExtensionScope.d.ts.map +1 -0
  37. package/dist/scope/BolbolUserExtensionScope.js +77 -0
  38. package/dist/scope/BolbolUserExtensionScope.js.map +1 -0
  39. package/dist/scope/BolbolUserItemScope.d.ts +10 -0
  40. package/dist/scope/BolbolUserItemScope.d.ts.map +1 -1
  41. package/dist/scope/BolbolUserItemScope.js +25 -1
  42. package/dist/scope/BolbolUserItemScope.js.map +1 -1
  43. package/dist/type/AcademyItemCreateRequestType.d.ts +1 -1
  44. package/dist/type/AcademyItemCreateRequestType.d.ts.map +1 -1
  45. package/dist/type/AcademyItemUpdateRequestType.d.ts +1 -1
  46. package/dist/type/AcademyItemUpdateRequestType.d.ts.map +1 -1
  47. package/dist/type/AcademyPricingAssignmentListResponseType.d.ts +3 -0
  48. package/dist/type/AcademyPricingAssignmentListResponseType.d.ts.map +1 -0
  49. package/dist/type/AcademyPricingAssignmentListResponseType.js +3 -0
  50. package/dist/type/AcademyPricingAssignmentListResponseType.js.map +1 -0
  51. package/dist/type/AmbiguityTypeEnum.js +2 -2
  52. package/dist/type/AmbiguityTypeEnum.js.map +1 -1
  53. package/dist/type/AnnotationTargetEnum.js +3 -3
  54. package/dist/type/AnnotationTargetEnum.js.map +1 -1
  55. package/dist/type/AnsweringAssetType.d.ts +1 -0
  56. package/dist/type/AnsweringAssetType.d.ts.map +1 -1
  57. package/dist/type/AnsweringCategoryTypeType.d.ts +8 -0
  58. package/dist/type/AnsweringCategoryTypeType.d.ts.map +1 -0
  59. package/dist/type/AnsweringCategoryTypeType.js +3 -0
  60. package/dist/type/AnsweringCategoryTypeType.js.map +1 -0
  61. package/dist/type/AnsweringCategoryValueType.d.ts +10 -0
  62. package/dist/type/AnsweringCategoryValueType.d.ts.map +1 -0
  63. package/dist/type/AnsweringCategoryValueType.js +3 -0
  64. package/dist/type/AnsweringCategoryValueType.js.map +1 -0
  65. package/dist/type/AnsweringConceptType.d.ts.map +1 -1
  66. package/dist/type/AnsweringMindsetTopicType.d.ts +8 -0
  67. package/dist/type/AnsweringMindsetTopicType.d.ts.map +1 -0
  68. package/dist/type/AnsweringMindsetTopicType.js +3 -0
  69. package/dist/type/AnsweringMindsetTopicType.js.map +1 -0
  70. package/dist/type/AnsweringMindsetType.d.ts +16 -0
  71. package/dist/type/AnsweringMindsetType.d.ts.map +1 -0
  72. package/dist/type/AnsweringMindsetType.js +3 -0
  73. package/dist/type/AnsweringMindsetType.js.map +1 -0
  74. package/dist/type/BillingContractMessageAddRequestType.d.ts +3 -0
  75. package/dist/type/BillingContractMessageAddRequestType.d.ts.map +1 -0
  76. package/dist/type/BillingContractMessageAddRequestType.js +3 -0
  77. package/dist/type/BillingContractMessageAddRequestType.js.map +1 -0
  78. package/dist/type/BillingContractMessageAddResponseType.d.ts +3 -0
  79. package/dist/type/BillingContractMessageAddResponseType.d.ts.map +1 -0
  80. package/dist/type/BillingContractMessageAddResponseType.js +3 -0
  81. package/dist/type/BillingContractMessageAddResponseType.js.map +1 -0
  82. package/dist/type/BillingContractMessageListRequestType.d.ts +3 -0
  83. package/dist/type/BillingContractMessageListRequestType.d.ts.map +1 -0
  84. package/dist/type/BillingContractMessageListRequestType.js +3 -0
  85. package/dist/type/BillingContractMessageListRequestType.js.map +1 -0
  86. package/dist/type/BillingContractMessageListResponseType.d.ts +3 -0
  87. package/dist/type/BillingContractMessageListResponseType.d.ts.map +1 -0
  88. package/dist/type/BillingContractMessageListResponseType.js +3 -0
  89. package/dist/type/BillingContractMessageListResponseType.js.map +1 -0
  90. package/dist/type/BillingContractSignResponseType.d.ts +3 -0
  91. package/dist/type/BillingContractSignResponseType.d.ts.map +1 -0
  92. package/dist/type/BillingContractSignResponseType.js +3 -0
  93. package/dist/type/BillingContractSignResponseType.js.map +1 -0
  94. package/dist/type/BolbolContractListRequestType.d.ts.map +1 -1
  95. package/dist/type/CatalogLanguageListRequestType.d.ts +3 -1
  96. package/dist/type/CatalogLanguageListRequestType.d.ts.map +1 -1
  97. package/dist/type/ComponentPreviewKitType.d.ts +11 -0
  98. package/dist/type/ComponentPreviewKitType.d.ts.map +1 -0
  99. package/dist/type/ComponentPreviewKitType.js +3 -0
  100. package/dist/type/ComponentPreviewKitType.js.map +1 -0
  101. package/dist/type/ComponentPreviewType.d.ts +2 -0
  102. package/dist/type/ComponentPreviewType.d.ts.map +1 -1
  103. package/dist/type/ComponentRowType.d.ts +3 -0
  104. package/dist/type/ComponentRowType.d.ts.map +1 -1
  105. package/dist/type/ComponentTypeEnum.js +4 -4
  106. package/dist/type/ComponentTypeEnum.js.map +1 -1
  107. package/dist/type/ComponentVersionRowType.d.ts +3 -0
  108. package/dist/type/ComponentVersionRowType.d.ts.map +1 -1
  109. package/dist/type/ContractDealTypeEnum.js +1 -1
  110. package/dist/type/ContractDealTypeEnum.js.map +1 -1
  111. package/dist/type/ContractRowType.d.ts +3 -0
  112. package/dist/type/ContractRowType.d.ts.map +1 -1
  113. package/dist/type/ContractTypeEnum.d.ts.map +1 -1
  114. package/dist/type/ContractTypeEnum.js +15 -5
  115. package/dist/type/ContractTypeEnum.js.map +1 -1
  116. package/dist/type/CourseRecurrenceEnum.js +2 -2
  117. package/dist/type/CourseRecurrenceEnum.js.map +1 -1
  118. package/dist/type/DictionaryRowType.d.ts +13 -0
  119. package/dist/type/DictionaryRowType.d.ts.map +1 -0
  120. package/dist/type/DictionaryRowType.js +3 -0
  121. package/dist/type/DictionaryRowType.js.map +1 -0
  122. package/dist/type/DirectoryItemType.d.ts +1 -0
  123. package/dist/type/DirectoryItemType.d.ts.map +1 -1
  124. package/dist/type/ExtensionHierarchyComponentType.d.ts +4 -0
  125. package/dist/type/ExtensionHierarchyComponentType.d.ts.map +1 -1
  126. package/dist/type/ExtensionPreviewType.d.ts.map +1 -1
  127. package/dist/type/ExtensionRowType.d.ts +2 -0
  128. package/dist/type/ExtensionRowType.d.ts.map +1 -1
  129. package/dist/type/ExtensionVersion_ComponentVersionRowType.d.ts +4 -0
  130. package/dist/type/ExtensionVersion_ComponentVersionRowType.d.ts.map +1 -1
  131. package/dist/type/ItemDirectoryProfileResponseType.d.ts.map +1 -1
  132. package/dist/type/LanguageRowType.d.ts +2 -0
  133. package/dist/type/LanguageRowType.d.ts.map +1 -1
  134. package/dist/type/LexemaDetailType.d.ts +37 -0
  135. package/dist/type/LexemaDetailType.d.ts.map +1 -0
  136. package/dist/type/LexemaDetailType.js +3 -0
  137. package/dist/type/LexemaDetailType.js.map +1 -0
  138. package/dist/type/LexemaDifficultyEnum.d.ts.map +1 -1
  139. package/dist/type/LexemaDifficultyEnum.js +4 -0
  140. package/dist/type/LexemaDifficultyEnum.js.map +1 -1
  141. package/dist/type/LexemaFormFeaturesType.d.ts +12 -0
  142. package/dist/type/LexemaFormFeaturesType.d.ts.map +1 -0
  143. package/dist/type/LexemaFormFeaturesType.js +3 -0
  144. package/dist/type/LexemaFormFeaturesType.js.map +1 -0
  145. package/dist/type/LexemaFormMoodEnum.d.ts +10 -0
  146. package/dist/type/LexemaFormMoodEnum.d.ts.map +1 -0
  147. package/dist/type/LexemaFormMoodEnum.js +24 -0
  148. package/dist/type/LexemaFormMoodEnum.js.map +1 -0
  149. package/dist/type/LexemaFormNumberEnum.d.ts +5 -0
  150. package/dist/type/LexemaFormNumberEnum.d.ts.map +1 -0
  151. package/dist/type/LexemaFormNumberEnum.js +21 -0
  152. package/dist/type/LexemaFormNumberEnum.js.map +1 -0
  153. package/dist/type/LexemaFormRowType.d.ts +19 -0
  154. package/dist/type/LexemaFormRowType.d.ts.map +1 -0
  155. package/dist/type/LexemaFormRowType.js +3 -0
  156. package/dist/type/LexemaFormRowType.js.map +1 -0
  157. package/dist/type/LexemaFormTenseEnum.d.ts +11 -0
  158. package/dist/type/LexemaFormTenseEnum.d.ts.map +1 -0
  159. package/dist/type/LexemaFormTenseEnum.js +29 -0
  160. package/dist/type/LexemaFormTenseEnum.js.map +1 -0
  161. package/dist/type/LexemaGetResponseType.d.ts +5 -0
  162. package/dist/type/LexemaGetResponseType.d.ts.map +1 -0
  163. package/dist/type/LexemaGetResponseType.js +3 -0
  164. package/dist/type/LexemaGetResponseType.js.map +1 -0
  165. package/dist/type/LexemaGrammarType.d.ts +26 -0
  166. package/dist/type/LexemaGrammarType.d.ts.map +1 -0
  167. package/dist/type/LexemaGrammarType.js +3 -0
  168. package/dist/type/LexemaGrammarType.js.map +1 -0
  169. package/dist/type/LexemaListRequestType.d.ts +5 -1
  170. package/dist/type/LexemaListRequestType.d.ts.map +1 -1
  171. package/dist/type/LexemaListResponseType.d.ts +5 -2
  172. package/dist/type/LexemaListResponseType.d.ts.map +1 -1
  173. package/dist/type/LexemaPronunciationKindEnum.d.ts +6 -0
  174. package/dist/type/LexemaPronunciationKindEnum.d.ts.map +1 -0
  175. package/dist/type/LexemaPronunciationKindEnum.js +19 -0
  176. package/dist/type/LexemaPronunciationKindEnum.js.map +1 -0
  177. package/dist/type/LexemaPronunciationRowType.d.ts +18 -0
  178. package/dist/type/LexemaPronunciationRowType.d.ts.map +1 -0
  179. package/dist/type/LexemaPronunciationRowType.js +3 -0
  180. package/dist/type/LexemaPronunciationRowType.js.map +1 -0
  181. package/dist/type/LexemaRelationRowType.d.ts +17 -0
  182. package/dist/type/LexemaRelationRowType.d.ts.map +1 -0
  183. package/dist/type/LexemaRelationRowType.js +3 -0
  184. package/dist/type/LexemaRelationRowType.js.map +1 -0
  185. package/dist/type/LexemaRelationTypeEnum.d.ts +21 -0
  186. package/dist/type/LexemaRelationTypeEnum.d.ts.map +1 -0
  187. package/dist/type/LexemaRelationTypeEnum.js +51 -0
  188. package/dist/type/LexemaRelationTypeEnum.js.map +1 -0
  189. package/dist/type/LexemaRowType.d.ts +6 -0
  190. package/dist/type/LexemaRowType.d.ts.map +1 -1
  191. package/dist/type/LexemaTypeEnum.d.ts +11 -0
  192. package/dist/type/LexemaTypeEnum.d.ts.map +1 -0
  193. package/dist/type/LexemaTypeEnum.js +28 -0
  194. package/dist/type/LexemaTypeEnum.js.map +1 -0
  195. package/dist/type/LexemaWritingKindEnum.d.ts +9 -0
  196. package/dist/type/LexemaWritingKindEnum.d.ts.map +1 -0
  197. package/dist/type/LexemaWritingKindEnum.js +32 -0
  198. package/dist/type/LexemaWritingKindEnum.js.map +1 -0
  199. package/dist/type/LexemaWritingRowType.d.ts +10 -0
  200. package/dist/type/LexemaWritingRowType.d.ts.map +1 -0
  201. package/dist/type/LexemaWritingRowType.js +3 -0
  202. package/dist/type/LexemaWritingRowType.js.map +1 -0
  203. package/dist/type/ManageAuthorizationEnum.d.ts +1 -5
  204. package/dist/type/ManageAuthorizationEnum.d.ts.map +1 -1
  205. package/dist/type/ManageAuthorizationEnum.js +10 -12
  206. package/dist/type/ManageAuthorizationEnum.js.map +1 -1
  207. package/dist/type/MessageRowType.d.ts.map +1 -1
  208. package/dist/type/OwnerAuthorizationType.d.ts.map +1 -1
  209. package/dist/type/OwnerPricingAssignmentRowType.d.ts +6 -0
  210. package/dist/type/OwnerPricingAssignmentRowType.d.ts.map +1 -0
  211. package/dist/type/OwnerPricingAssignmentRowType.js +3 -0
  212. package/dist/type/OwnerPricingAssignmentRowType.js.map +1 -0
  213. package/dist/type/OwnerTypeEnum.js +4 -4
  214. package/dist/type/OwnerTypeEnum.js.map +1 -1
  215. package/dist/type/PackageDirectoryListRequestType.d.ts.map +1 -1
  216. package/dist/type/ProductLocationTypeEnum.js +3 -3
  217. package/dist/type/ProductLocationTypeEnum.js.map +1 -1
  218. package/dist/type/RequestTypeEnum.d.ts +0 -8
  219. package/dist/type/RequestTypeEnum.d.ts.map +1 -1
  220. package/dist/type/RequestTypeEnum.js +6 -13
  221. package/dist/type/RequestTypeEnum.js.map +1 -1
  222. package/dist/type/ResourceTypeEnum.js +2 -2
  223. package/dist/type/ResourceTypeEnum.js.map +1 -1
  224. package/dist/type/SenseCountabilityEnum.d.ts +8 -0
  225. package/dist/type/SenseCountabilityEnum.d.ts.map +1 -0
  226. package/dist/type/SenseCountabilityEnum.js +21 -0
  227. package/dist/type/SenseCountabilityEnum.js.map +1 -0
  228. package/dist/type/SenseDetailType.d.ts +14 -0
  229. package/dist/type/SenseDetailType.d.ts.map +1 -0
  230. package/dist/type/SenseDetailType.js +3 -0
  231. package/dist/type/SenseDetailType.js.map +1 -0
  232. package/dist/type/SenseEquivalentRowType.d.ts +16 -0
  233. package/dist/type/SenseEquivalentRowType.d.ts.map +1 -0
  234. package/dist/type/SenseEquivalentRowType.js +3 -0
  235. package/dist/type/SenseEquivalentRowType.js.map +1 -0
  236. package/dist/type/SenseExampleKindEnum.d.ts +6 -0
  237. package/dist/type/SenseExampleKindEnum.d.ts.map +1 -0
  238. package/dist/type/SenseExampleKindEnum.js +19 -0
  239. package/dist/type/SenseExampleKindEnum.js.map +1 -0
  240. package/dist/type/SenseExampleRowType.d.ts +20 -0
  241. package/dist/type/SenseExampleRowType.d.ts.map +1 -0
  242. package/dist/type/SenseExampleRowType.js +3 -0
  243. package/dist/type/SenseExampleRowType.js.map +1 -0
  244. package/dist/type/SenseGenderEnum.d.ts.map +1 -1
  245. package/dist/type/SenseGenderEnum.js +12 -3
  246. package/dist/type/SenseGenderEnum.js.map +1 -1
  247. package/dist/type/SensePOSEnum.d.ts.map +1 -1
  248. package/dist/type/SensePOSEnum.js +6 -2
  249. package/dist/type/SensePOSEnum.js.map +1 -1
  250. package/dist/type/SenseRegisterEnum.d.ts +51 -0
  251. package/dist/type/SenseRegisterEnum.d.ts.map +1 -0
  252. package/dist/type/SenseRegisterEnum.js +68 -0
  253. package/dist/type/SenseRegisterEnum.js.map +1 -0
  254. package/dist/type/SenseRowType.d.ts +12 -5
  255. package/dist/type/SenseRowType.d.ts.map +1 -1
  256. package/dist/type/SenseTransitivityEnum.d.ts +7 -0
  257. package/dist/type/SenseTransitivityEnum.d.ts.map +1 -0
  258. package/dist/type/SenseTransitivityEnum.js +20 -0
  259. package/dist/type/SenseTransitivityEnum.js.map +1 -0
  260. package/dist/type/TeacherAuthorizationGetResponseType.d.ts.map +1 -1
  261. package/dist/type/TeacherComponentCreateRequestType.d.ts +3 -0
  262. package/dist/type/TeacherComponentCreateRequestType.d.ts.map +1 -1
  263. package/dist/type/TeacherComponentListRequestType.d.ts +1 -0
  264. package/dist/type/TeacherComponentListRequestType.d.ts.map +1 -1
  265. package/dist/type/TeacherComponentUpdateRequestType.d.ts +3 -0
  266. package/dist/type/TeacherComponentUpdateRequestType.d.ts.map +1 -1
  267. package/dist/type/TeacherContractListRequestType.d.ts.map +1 -1
  268. package/dist/type/TeacherExtensionCreateRequestType.d.ts +2 -0
  269. package/dist/type/TeacherExtensionCreateRequestType.d.ts.map +1 -1
  270. package/dist/type/TeacherExtensionUpdateRequestType.d.ts +2 -0
  271. package/dist/type/TeacherExtensionUpdateRequestType.d.ts.map +1 -1
  272. package/dist/type/TeacherFolderCreateRequestType.d.ts.map +1 -1
  273. package/dist/type/TeacherPricingAssignmentListResponseType.d.ts +4 -0
  274. package/dist/type/TeacherPricingAssignmentListResponseType.d.ts.map +1 -0
  275. package/dist/type/TeacherPricingAssignmentListResponseType.js +3 -0
  276. package/dist/type/TeacherPricingAssignmentListResponseType.js.map +1 -0
  277. package/dist/type/TeacherRefItemGetResponseType.d.ts +2 -0
  278. package/dist/type/TeacherRefItemGetResponseType.d.ts.map +1 -1
  279. package/dist/type/UidMappingEntityEnum.js +6 -6
  280. package/dist/type/UidMappingEntityEnum.js.map +1 -1
  281. package/dist/type/UserCollectionRowType.d.ts +2 -0
  282. package/dist/type/UserCollectionRowType.d.ts.map +1 -1
  283. package/dist/type/UserExtensionAddRequestType.d.ts +4 -0
  284. package/dist/type/UserExtensionAddRequestType.d.ts.map +1 -0
  285. package/dist/type/UserExtensionAddRequestType.js +3 -0
  286. package/dist/type/UserExtensionAddRequestType.js.map +1 -0
  287. package/dist/type/UserExtensionAddResponseType.d.ts +3 -0
  288. package/dist/type/UserExtensionAddResponseType.d.ts.map +1 -0
  289. package/dist/type/UserExtensionAddResponseType.js +3 -0
  290. package/dist/type/UserExtensionAddResponseType.js.map +1 -0
  291. package/dist/type/UserExtensionComponentListRequestType.d.ts +7 -0
  292. package/dist/type/UserExtensionComponentListRequestType.d.ts.map +1 -0
  293. package/dist/type/UserExtensionComponentListRequestType.js +3 -0
  294. package/dist/type/UserExtensionComponentListRequestType.js.map +1 -0
  295. package/dist/type/UserExtensionComponentListResponseType.d.ts +4 -0
  296. package/dist/type/UserExtensionComponentListResponseType.d.ts.map +1 -0
  297. package/dist/type/UserExtensionComponentListResponseType.js +3 -0
  298. package/dist/type/UserExtensionComponentListResponseType.js.map +1 -0
  299. package/dist/type/UserExtensionEntryType.d.ts +7 -0
  300. package/dist/type/UserExtensionEntryType.d.ts.map +1 -0
  301. package/dist/type/UserExtensionEntryType.js +3 -0
  302. package/dist/type/UserExtensionEntryType.js.map +1 -0
  303. package/dist/type/UserExtensionGetResponseType.d.ts +3 -0
  304. package/dist/type/UserExtensionGetResponseType.d.ts.map +1 -0
  305. package/dist/type/UserExtensionGetResponseType.js +3 -0
  306. package/dist/type/UserExtensionGetResponseType.js.map +1 -0
  307. package/dist/type/UserExtensionListRequestType.d.ts +6 -0
  308. package/dist/type/UserExtensionListRequestType.d.ts.map +1 -0
  309. package/dist/type/UserExtensionListRequestType.js +3 -0
  310. package/dist/type/UserExtensionListRequestType.js.map +1 -0
  311. package/dist/type/UserExtensionListResponseType.d.ts +4 -0
  312. package/dist/type/UserExtensionListResponseType.d.ts.map +1 -0
  313. package/dist/type/UserExtensionListResponseType.js +3 -0
  314. package/dist/type/UserExtensionListResponseType.js.map +1 -0
  315. package/dist/type/UserExtensionRemoveResponseType.d.ts +4 -0
  316. package/dist/type/UserExtensionRemoveResponseType.d.ts.map +1 -0
  317. package/dist/type/UserExtensionRemoveResponseType.js +3 -0
  318. package/dist/type/UserExtensionRemoveResponseType.js.map +1 -0
  319. package/dist/type/UserExtensionRowType.d.ts +14 -0
  320. package/dist/type/UserExtensionRowType.d.ts.map +1 -0
  321. package/dist/type/UserExtensionRowType.js +3 -0
  322. package/dist/type/UserExtensionRowType.js.map +1 -0
  323. package/dist/type/UserExtensionUpdateRequestType.d.ts +4 -0
  324. package/dist/type/UserExtensionUpdateRequestType.d.ts.map +1 -0
  325. package/dist/type/UserExtensionUpdateRequestType.js +3 -0
  326. package/dist/type/UserExtensionUpdateRequestType.js.map +1 -0
  327. package/dist/type/UserExtensionUpdateResponseType.d.ts +3 -0
  328. package/dist/type/UserExtensionUpdateResponseType.d.ts.map +1 -0
  329. package/dist/type/UserExtensionUpdateResponseType.js +3 -0
  330. package/dist/type/UserExtensionUpdateResponseType.js.map +1 -0
  331. package/dist/type/UserItemComponentListRequestType.d.ts +5 -0
  332. package/dist/type/UserItemComponentListRequestType.d.ts.map +1 -0
  333. package/dist/type/UserItemComponentListRequestType.js +3 -0
  334. package/dist/type/UserItemComponentListRequestType.js.map +1 -0
  335. package/dist/type/UserItemComponentListResponseType.d.ts +7 -0
  336. package/dist/type/UserItemComponentListResponseType.d.ts.map +1 -0
  337. package/dist/type/UserItemComponentListResponseType.js +3 -0
  338. package/dist/type/UserItemComponentListResponseType.js.map +1 -0
  339. package/dist/type/UserItemExtensionType.d.ts +6 -0
  340. package/dist/type/UserItemExtensionType.d.ts.map +1 -0
  341. package/dist/type/UserItemExtensionType.js +3 -0
  342. package/dist/type/UserItemExtensionType.js.map +1 -0
  343. package/dist/type/UserItemRankListRequestType.d.ts +9 -0
  344. package/dist/type/UserItemRankListRequestType.d.ts.map +1 -0
  345. package/dist/type/UserItemRankListRequestType.js +3 -0
  346. package/dist/type/UserItemRankListRequestType.js.map +1 -0
  347. package/dist/type/UserItemRankListResponseType.d.ts +4 -0
  348. package/dist/type/UserItemRankListResponseType.d.ts.map +1 -0
  349. package/dist/type/UserItemRankListResponseType.js +3 -0
  350. package/dist/type/UserItemRankListResponseType.js.map +1 -0
  351. package/dist/type/UserItemRankType.d.ts +7 -0
  352. package/dist/type/UserItemRankType.d.ts.map +1 -0
  353. package/dist/type/UserItemRankType.js +3 -0
  354. package/dist/type/UserItemRankType.js.map +1 -0
  355. package/dist/type/VocabularyRowType.d.ts +1 -1
  356. package/dist/type/VocabularyRowType.d.ts.map +1 -1
  357. package/package.json +1 -1
@@ -1,4 +1,7 @@
1
1
  import { LexemaRowType } from "./LexemaRowType";
2
- import { ListType } from "./ListType";
3
- export type LexemaListResponseType = ListType<LexemaRowType>;
2
+ import { ListPageType } from "./ListPageType";
3
+ export interface LexemaListResponseType extends ListPageType<LexemaRowType> {
4
+ limit: number;
5
+ offset: number;
6
+ }
4
7
  //# sourceMappingURL=LexemaListResponseType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LexemaListResponseType.d.ts","sourceRoot":"","sources":["../../src/type/LexemaListResponseType.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC,aAAa,CAAC,CAAC"}
1
+ {"version":3,"file":"LexemaListResponseType.d.ts","sourceRoot":"","sources":["../../src/type/LexemaListResponseType.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,WAAW,sBAAuB,SAAQ,YAAY,CAAC,aAAa,CAAC;IAEvE,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAClB"}
@@ -0,0 +1,6 @@
1
+ export declare enum LexemaPronunciationKindEnum {
2
+ Phonemic = "Phonemic",
3
+ Phonetic = "Phonetic",
4
+ Unknown = "Unknown"
5
+ }
6
+ //# sourceMappingURL=LexemaPronunciationKindEnum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexemaPronunciationKindEnum.d.ts","sourceRoot":"","sources":["../../src/type/LexemaPronunciationKindEnum.ts"],"names":[],"mappings":"AASA,oBAAY,2BAA2B;IAEnC,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,OAAO,YAAY;CACtB"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LexemaPronunciationKindEnum = void 0;
4
+ // Mirrors the `kind` column of lexema.lexema_pronunciation in Bolbol API
5
+ // src/database/postgres/attribute/lexema/LexemaPronunciationAttributes.ts,
6
+ // which declares its database enum from this one (the SDK is the source).
7
+ //
8
+ // The notation of a pronunciation's `ipa`: Phonemic - between slashes, the
9
+ // dictionary's backslash notation rewritten ("/a.kœj/"); Phonetic - between
10
+ // brackets ("[ɛ̃.n‿a.kœj]"); Unknown - a string that is neither, prose kept as
11
+ // written. A row with a recording and no transcription has no kind at all
12
+ // (null). Value === key, like every enum.
13
+ var LexemaPronunciationKindEnum;
14
+ (function (LexemaPronunciationKindEnum) {
15
+ LexemaPronunciationKindEnum["Phonemic"] = "Phonemic";
16
+ LexemaPronunciationKindEnum["Phonetic"] = "Phonetic";
17
+ LexemaPronunciationKindEnum["Unknown"] = "Unknown";
18
+ })(LexemaPronunciationKindEnum || (exports.LexemaPronunciationKindEnum = LexemaPronunciationKindEnum = {}));
19
+ //# sourceMappingURL=LexemaPronunciationKindEnum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexemaPronunciationKindEnum.js","sourceRoot":"","sources":["../../src/type/LexemaPronunciationKindEnum.ts"],"names":[],"mappings":";;;AAAA,yEAAyE;AACzE,2EAA2E;AAC3E,0EAA0E;AAC1E,EAAE;AACF,2EAA2E;AAC3E,4EAA4E;AAC5E,+EAA+E;AAC/E,0EAA0E;AAC1E,0CAA0C;AAC1C,IAAY,2BAKX;AALD,WAAY,2BAA2B;IAEnC,oDAAqB,CAAA;IACrB,oDAAqB,CAAA;IACrB,kDAAmB,CAAA;AACvB,CAAC,EALW,2BAA2B,aAA3B,2BAA2B,GAA3B,2BAA2B,QAKtC"}
@@ -0,0 +1,18 @@
1
+ import { LexemaPronunciationKindEnum } from "./LexemaPronunciationKindEnum";
2
+ export interface LexemaPronunciationRowType {
3
+ id: number;
4
+ lexema_form_id: number | null;
5
+ kind: LexemaPronunciationKindEnum | null;
6
+ ipa: string | null;
7
+ variant: string | null;
8
+ is_primary: boolean;
9
+ audio_file: string | null;
10
+ audio_url: string | null;
11
+ audio_license: string | null;
12
+ audio_author: string | null;
13
+ location: string | null;
14
+ rhyme: string | null;
15
+ tags: string[];
16
+ raw_tags: string[];
17
+ }
18
+ //# sourceMappingURL=LexemaPronunciationRowType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexemaPronunciationRowType.d.ts","sourceRoot":"","sources":["../../src/type/LexemaPronunciationRowType.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E,MAAM,WAAW,0BAA0B;IAEvC,EAAE,EAAE,MAAM,CAAC;IAOX,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAG9B,IAAI,EAAE,2BAA2B,GAAG,IAAI,CAAC;IAEzC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAInB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAGvB,UAAU,EAAE,OAAO,CAAC;IAEpB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAGzB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,QAAQ,EAAE,MAAM,EAAE,CAAC;CACtB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=LexemaPronunciationRowType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexemaPronunciationRowType.js","sourceRoot":"","sources":["../../src/type/LexemaPronunciationRowType.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ import { LexemaRelationTypeEnum } from "./LexemaRelationTypeEnum";
2
+ export interface LexemaRelationRowType {
3
+ id: number;
4
+ sense_id: number | null;
5
+ lexema_form_id: number | null;
6
+ type: LexemaRelationTypeEnum;
7
+ to_text: string;
8
+ to_lexema_id: number | null;
9
+ sense_hint: string | null;
10
+ gloss: string | null;
11
+ roman: string | null;
12
+ tags: string[];
13
+ raw_tags: string[];
14
+ topics: string[];
15
+ sort_order: number;
16
+ }
17
+ //# sourceMappingURL=LexemaRelationRowType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexemaRelationRowType.d.ts","sourceRoot":"","sources":["../../src/type/LexemaRelationRowType.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,MAAM,WAAW,qBAAqB;IAElC,EAAE,EAAE,MAAM,CAAC;IAGX,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IASxB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,IAAI,EAAE,sBAAsB,CAAC;IAE7B,OAAO,EAAE,MAAM,CAAC;IAIhB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,QAAQ,EAAE,MAAM,EAAE,CAAC;IAEnB,MAAM,EAAE,MAAM,EAAE,CAAC;IAEjB,UAAU,EAAE,MAAM,CAAC;CACtB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=LexemaRelationRowType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexemaRelationRowType.js","sourceRoot":"","sources":["../../src/type/LexemaRelationRowType.ts"],"names":[],"mappings":""}
@@ -0,0 +1,21 @@
1
+ export declare enum LexemaRelationTypeEnum {
2
+ Synonym = "Synonym",
3
+ Antonym = "Antonym",
4
+ Hypernym = "Hypernym",
5
+ Hyponym = "Hyponym",
6
+ Meronym = "Meronym",
7
+ Holonym = "Holonym",
8
+ Troponym = "Troponym",
9
+ Paronym = "Paronym",
10
+ Derived = "Derived",
11
+ Compound = "Compound",
12
+ Related = "Related",
13
+ Demonym = "Demonym",
14
+ Proverb = "Proverb",
15
+ Abbreviation = "Abbreviation",
16
+ Homophone = "Homophone",
17
+ Counterpart = "Counterpart",
18
+ VariantOf = "VariantOf",
19
+ InflectedFormOf = "InflectedFormOf"
20
+ }
21
+ //# sourceMappingURL=LexemaRelationTypeEnum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexemaRelationTypeEnum.d.ts","sourceRoot":"","sources":["../../src/type/LexemaRelationTypeEnum.ts"],"names":[],"mappings":"AA0BA,oBAAY,sBAAsB;IAE9B,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,YAAY,iBAAiB;IAC7B,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,eAAe,oBAAoB;CACtC"}
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LexemaRelationTypeEnum = void 0;
4
+ // Mirrors the `type` column of lexema.lexema_relation in Bolbol API
5
+ // src/database/postgres/attribute/lexema/LexemaRelationAttributes.ts, which
6
+ // declares its database enum from this one (the SDK is the source).
7
+ //
8
+ // How the target of a relation stands to the entry it is stated on. A bare
9
+ // member names what the target is to the entry (Derived: the target is a
10
+ // derived term of the entry; Hypernym: the target is a hypernym of it); a
11
+ // member ending in Of names what the entry is to the target (VariantOf: the
12
+ // entry is a spelling variant of the target; InflectedFormOf: the entry is an
13
+ // inflected form of it).
14
+ //
15
+ // Synonym ... Paronym the eight sense-level lists, with the relation's
16
+ // `sense_id` set when the source said which sense
17
+ // Derived a word derived from the entry
18
+ // Compound a compound the entry is part of
19
+ // Related a related word, and a verb's pronominal form (tag
20
+ // pronominal: définir → "se définir")
21
+ // Demonym the inhabitants' name or adjective of a place
22
+ // Proverb a proverb that contains the entry
23
+ // Abbreviation the entry's abbreviation
24
+ // Homophone a word that sounds the same
25
+ // Counterpart the headword line's gender counterpart (manchot →
26
+ // "manchote") - not a spelling and not a form (L23)
27
+ //
28
+ // Both ends are words of the same language (L7). Value === key, like every
29
+ // enum.
30
+ var LexemaRelationTypeEnum;
31
+ (function (LexemaRelationTypeEnum) {
32
+ LexemaRelationTypeEnum["Synonym"] = "Synonym";
33
+ LexemaRelationTypeEnum["Antonym"] = "Antonym";
34
+ LexemaRelationTypeEnum["Hypernym"] = "Hypernym";
35
+ LexemaRelationTypeEnum["Hyponym"] = "Hyponym";
36
+ LexemaRelationTypeEnum["Meronym"] = "Meronym";
37
+ LexemaRelationTypeEnum["Holonym"] = "Holonym";
38
+ LexemaRelationTypeEnum["Troponym"] = "Troponym";
39
+ LexemaRelationTypeEnum["Paronym"] = "Paronym";
40
+ LexemaRelationTypeEnum["Derived"] = "Derived";
41
+ LexemaRelationTypeEnum["Compound"] = "Compound";
42
+ LexemaRelationTypeEnum["Related"] = "Related";
43
+ LexemaRelationTypeEnum["Demonym"] = "Demonym";
44
+ LexemaRelationTypeEnum["Proverb"] = "Proverb";
45
+ LexemaRelationTypeEnum["Abbreviation"] = "Abbreviation";
46
+ LexemaRelationTypeEnum["Homophone"] = "Homophone";
47
+ LexemaRelationTypeEnum["Counterpart"] = "Counterpart";
48
+ LexemaRelationTypeEnum["VariantOf"] = "VariantOf";
49
+ LexemaRelationTypeEnum["InflectedFormOf"] = "InflectedFormOf";
50
+ })(LexemaRelationTypeEnum || (exports.LexemaRelationTypeEnum = LexemaRelationTypeEnum = {}));
51
+ //# sourceMappingURL=LexemaRelationTypeEnum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexemaRelationTypeEnum.js","sourceRoot":"","sources":["../../src/type/LexemaRelationTypeEnum.ts"],"names":[],"mappings":";;;AAAA,oEAAoE;AACpE,4EAA4E;AAC5E,oEAAoE;AACpE,EAAE;AACF,2EAA2E;AAC3E,yEAAyE;AACzE,0EAA0E;AAC1E,4EAA4E;AAC5E,8EAA8E;AAC9E,yBAAyB;AACzB,EAAE;AACF,0EAA0E;AAC1E,yEAAyE;AACzE,uDAAuD;AACvD,yDAAyD;AACzD,2EAA2E;AAC3E,6DAA6D;AAC7D,uEAAuE;AACvE,2DAA2D;AAC3D,kDAAkD;AAClD,qDAAqD;AACrD,2EAA2E;AAC3E,2EAA2E;AAC3E,EAAE;AACF,2EAA2E;AAC3E,QAAQ;AACR,IAAY,sBAoBX;AApBD,WAAY,sBAAsB;IAE9B,6CAAmB,CAAA;IACnB,6CAAmB,CAAA;IACnB,+CAAqB,CAAA;IACrB,6CAAmB,CAAA;IACnB,6CAAmB,CAAA;IACnB,6CAAmB,CAAA;IACnB,+CAAqB,CAAA;IACrB,6CAAmB,CAAA;IACnB,6CAAmB,CAAA;IACnB,+CAAqB,CAAA;IACrB,6CAAmB,CAAA;IACnB,6CAAmB,CAAA;IACnB,6CAAmB,CAAA;IACnB,uDAA6B,CAAA;IAC7B,iDAAuB,CAAA;IACvB,qDAA2B,CAAA;IAC3B,iDAAuB,CAAA;IACvB,6DAAmC,CAAA;AACvC,CAAC,EApBW,sBAAsB,aAAtB,sBAAsB,GAAtB,sBAAsB,QAoBjC"}
@@ -1,10 +1,16 @@
1
+ import { LexemaTypeEnum } from "./LexemaTypeEnum";
1
2
  import { SenseGenderEnum } from "./SenseGenderEnum";
3
+ import { SensePOSEnum } from "./SensePOSEnum";
2
4
  export interface LexemaRowType {
3
5
  id: number;
4
6
  language_id: number;
7
+ pos: SensePOSEnum;
8
+ type: LexemaTypeEnum;
9
+ homograph_number: number;
5
10
  name: string;
6
11
  gender: SenseGenderEnum | null;
7
12
  article: string | null;
8
13
  phonetics: string | null;
14
+ sense_count: number;
9
15
  }
10
16
  //# sourceMappingURL=LexemaRowType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LexemaRowType.d.ts","sourceRoot":"","sources":["../../src/type/LexemaRowType.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,WAAW,aAAa;IAE1B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,eAAe,GAAG,IAAI,CAAC;IAC/B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B"}
1
+ {"version":3,"file":"LexemaRowType.d.ts","sourceRoot":"","sources":["../../src/type/LexemaRowType.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,WAAW,aAAa;IAE1B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IAGpB,GAAG,EAAE,YAAY,CAAC;IAGlB,IAAI,EAAE,cAAc,CAAC;IAKrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IAEb,MAAM,EAAE,eAAe,GAAG,IAAI,CAAC;IAG/B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAIvB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB,WAAW,EAAE,MAAM,CAAC;CACvB"}
@@ -0,0 +1,11 @@
1
+ export declare enum LexemaTypeEnum {
2
+ Word = "Word",
3
+ Compound = "Compound",
4
+ Phrase = "Phrase",
5
+ Idiom = "Idiom",
6
+ ProperNoun = "ProperNoun",
7
+ Abbreviation = "Abbreviation",
8
+ Acronym = "Acronym",
9
+ Affix = "Affix"
10
+ }
11
+ //# sourceMappingURL=LexemaTypeEnum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexemaTypeEnum.d.ts","sourceRoot":"","sources":["../../src/type/LexemaTypeEnum.ts"],"names":[],"mappings":"AAaA,oBAAY,cAAc;IAEtB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,OAAO,YAAY;IACnB,KAAK,UAAU;CAClB"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LexemaTypeEnum = void 0;
4
+ // Mirrors the `type` column of lexema.lexema in Bolbol API
5
+ // src/database/postgres/attribute/lexema/LexemaAttributes.ts, which declares its
6
+ // database enum from this one (the SDK is the source).
7
+ //
8
+ // What kind of lexical unit an entry is, beside its part of speech
9
+ // (SensePOSEnum). Word, the default, is a single word; Compound a compound
10
+ // headword; Phrase a locution - a multi-word unit whose part of speech stays
11
+ // the locution's ("accueil de loisirs" is a Noun); Idiom a locution-phrase or a
12
+ // proverb; ProperNoun a name (Nom propre, Nom de famille, Prénom); Affix a
13
+ // prefix, a suffix, an infix or an interfix; Abbreviation and Acronym as they
14
+ // say. The seeder reads it from the section title and the entry's tags, the
15
+ // first rule that matches winning (plan Appendix B.2). Value === key, like
16
+ // every enum.
17
+ var LexemaTypeEnum;
18
+ (function (LexemaTypeEnum) {
19
+ LexemaTypeEnum["Word"] = "Word";
20
+ LexemaTypeEnum["Compound"] = "Compound";
21
+ LexemaTypeEnum["Phrase"] = "Phrase";
22
+ LexemaTypeEnum["Idiom"] = "Idiom";
23
+ LexemaTypeEnum["ProperNoun"] = "ProperNoun";
24
+ LexemaTypeEnum["Abbreviation"] = "Abbreviation";
25
+ LexemaTypeEnum["Acronym"] = "Acronym";
26
+ LexemaTypeEnum["Affix"] = "Affix";
27
+ })(LexemaTypeEnum || (exports.LexemaTypeEnum = LexemaTypeEnum = {}));
28
+ //# sourceMappingURL=LexemaTypeEnum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexemaTypeEnum.js","sourceRoot":"","sources":["../../src/type/LexemaTypeEnum.ts"],"names":[],"mappings":";;;AAAA,2DAA2D;AAC3D,iFAAiF;AACjF,uDAAuD;AACvD,EAAE;AACF,mEAAmE;AACnE,2EAA2E;AAC3E,6EAA6E;AAC7E,gFAAgF;AAChF,2EAA2E;AAC3E,8EAA8E;AAC9E,4EAA4E;AAC5E,2EAA2E;AAC3E,cAAc;AACd,IAAY,cAUX;AAVD,WAAY,cAAc;IAEtB,+BAAa,CAAA;IACb,uCAAqB,CAAA;IACrB,mCAAiB,CAAA;IACjB,iCAAe,CAAA;IACf,2CAAyB,CAAA;IACzB,+CAA6B,CAAA;IAC7B,qCAAmB,CAAA;IACnB,iCAAe,CAAA;AACnB,CAAC,EAVW,cAAc,aAAd,cAAc,GAAd,cAAc,QAUzB"}
@@ -0,0 +1,9 @@
1
+ export declare enum LexemaWritingKindEnum {
2
+ Variant = "Variant",
3
+ Canonical = "Canonical",
4
+ Traditional = "Traditional",
5
+ Rectified = "Rectified",
6
+ Typographic = "Typographic",
7
+ Alternative = "Alternative"
8
+ }
9
+ //# sourceMappingURL=LexemaWritingKindEnum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexemaWritingKindEnum.d.ts","sourceRoot":"","sources":["../../src/type/LexemaWritingKindEnum.ts"],"names":[],"mappings":"AAmBA,oBAAY,qBAAqB;IAE7B,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;CAC9B"}
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LexemaWritingKindEnum = void 0;
4
+ // Mirrors the `kind` column of lexema.lexema_writing in Bolbol API
5
+ // src/database/postgres/attribute/lexema/LexemaWritingAttributes.ts, which
6
+ // declares its database enum from this one (the SDK is the source).
7
+ //
8
+ // How another spelling relates to the entry it is written on:
9
+ //
10
+ // Variant any other variant the headword line lists ("blogue" on
11
+ // blog), and the spelling a form page states ("Ancienne
12
+ // orthographe de ...")
13
+ // Canonical a headword-line spelling tagged canonical ("’jour" on jour)
14
+ // Traditional the traditional spelling ("orthographe traditionnelle")
15
+ // Rectified the 1990 rectified spelling ("orthographe rectifiée de 1990")
16
+ // Typographic the spelling a typographic constraint forces: a
17
+ // typographic-variant page, or a form page's "contrainte
18
+ // typographique" sentence ("oeuvres" for "œuvres")
19
+ // Alternative a variant entry that points at this one as its main spelling
20
+ // ("greve" on grève)
21
+ //
22
+ // Value === key, like every enum.
23
+ var LexemaWritingKindEnum;
24
+ (function (LexemaWritingKindEnum) {
25
+ LexemaWritingKindEnum["Variant"] = "Variant";
26
+ LexemaWritingKindEnum["Canonical"] = "Canonical";
27
+ LexemaWritingKindEnum["Traditional"] = "Traditional";
28
+ LexemaWritingKindEnum["Rectified"] = "Rectified";
29
+ LexemaWritingKindEnum["Typographic"] = "Typographic";
30
+ LexemaWritingKindEnum["Alternative"] = "Alternative";
31
+ })(LexemaWritingKindEnum || (exports.LexemaWritingKindEnum = LexemaWritingKindEnum = {}));
32
+ //# sourceMappingURL=LexemaWritingKindEnum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexemaWritingKindEnum.js","sourceRoot":"","sources":["../../src/type/LexemaWritingKindEnum.ts"],"names":[],"mappings":";;;AAAA,mEAAmE;AACnE,2EAA2E;AAC3E,oEAAoE;AACpE,EAAE;AACF,8DAA8D;AAC9D,EAAE;AACF,wEAAwE;AACxE,uEAAuE;AACvE,sCAAsC;AACtC,6EAA6E;AAC7E,yEAAyE;AACzE,+EAA+E;AAC/E,iEAAiE;AACjE,wEAAwE;AACxE,kEAAkE;AAClE,8EAA8E;AAC9E,oCAAoC;AACpC,EAAE;AACF,kCAAkC;AAClC,IAAY,qBAQX;AARD,WAAY,qBAAqB;IAE7B,4CAAmB,CAAA;IACnB,gDAAuB,CAAA;IACvB,oDAA2B,CAAA;IAC3B,gDAAuB,CAAA;IACvB,oDAA2B,CAAA;IAC3B,oDAA2B,CAAA;AAC/B,CAAC,EARW,qBAAqB,aAArB,qBAAqB,GAArB,qBAAqB,QAQhC"}
@@ -0,0 +1,10 @@
1
+ import { LexemaWritingKindEnum } from "./LexemaWritingKindEnum";
2
+ export interface LexemaWritingRowType {
3
+ id: number;
4
+ kind: LexemaWritingKindEnum;
5
+ text: string;
6
+ note: string | null;
7
+ tags: string[];
8
+ raw_tags: string[];
9
+ }
10
+ //# sourceMappingURL=LexemaWritingRowType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexemaWritingRowType.d.ts","sourceRoot":"","sources":["../../src/type/LexemaWritingRowType.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,MAAM,WAAW,oBAAoB;IAEjC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,qBAAqB,CAAC;IAE5B,IAAI,EAAE,MAAM,CAAC;IAGb,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,QAAQ,EAAE,MAAM,EAAE,CAAC;CACtB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=LexemaWritingRowType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LexemaWritingRowType.js","sourceRoot":"","sources":["../../src/type/LexemaWritingRowType.ts"],"names":[],"mappings":""}
@@ -4,10 +4,6 @@ export declare enum ManageAuthorizationEnum {
4
4
  Material = "Material",
5
5
  Course = "Course",
6
6
  Event = "Event",
7
- Package = "Package",
8
- Video = "Video",
9
- Podcast = "Podcast",
10
- File = "File",
11
- Url = "Url"
7
+ Package = "Package"
12
8
  }
13
9
  //# sourceMappingURL=ManageAuthorizationEnum.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ManageAuthorizationEnum.d.ts","sourceRoot":"","sources":["../../src/type/ManageAuthorizationEnum.ts"],"names":[],"mappings":"AAsBA,oBAAY,uBAAuB;IAI/B,UAAU,eAAe;IAGzB,SAAS,cAAc;IAGvB,QAAQ,aAAa;IAGrB,MAAM,WAAW;IAEjB,KAAK,UAAU;IAIf,OAAO,YAAY;IAEnB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,GAAG,QAAQ;CACd"}
1
+ {"version":3,"file":"ManageAuthorizationEnum.d.ts","sourceRoot":"","sources":["../../src/type/ManageAuthorizationEnum.ts"],"names":[],"mappings":"AAwBA,oBAAY,uBAAuB;IAI/B,UAAU,eAAe;IAGzB,SAAS,cAAc;IAIvB,QAAQ,aAAa;IAGrB,MAAM,WAAW;IAEjB,KAAK,UAAU;IAIf,OAAO,YAAY;CACtB"}
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ManageAuthorizationEnum = void 0;
4
- // Mirrors the ten `manage_*` columns of academy.academy and teacher.teacher
4
+ // Mirrors the six `manage_*` columns of academy.academy and teacher.teacher
5
5
  // in Bolbol API src/database/postgres/attribute/academy/AcademyAttributes.ts /
6
6
  // attribute/teacher/TeacherAttributes.ts: one member per column, the column
7
- // being `manage_` + the member in snake_case (Extension -> `manage_extension`,
8
- // Url -> `manage_url`). teacher.teacher has every one but `manage_collection`.
7
+ // being `manage_` + the member in snake_case (Extension -> `manage_extension`).
8
+ // teacher.teacher has every one but `manage_collection`.
9
9
  //
10
10
  // What Bolbol may authorize an owner to create (Bolbol API
11
11
  // rules/Authorization.md). Each column holds the date the authorization runs
@@ -14,14 +14,16 @@ exports.ManageAuthorizationEnum = void 0;
14
14
  // owner asks for one by filing the matching request,
15
15
  // RequestTypeEnum.BolbolTeacherManage<Kind> / BolbolAcademyManage<Kind>.
16
16
  // Collection is an academy's only (a teacher builds on collections, it does
17
- // not author them): a teacher has nine kinds, an academy all ten. A gated call
17
+ // not author them): a teacher has five kinds, an academy all six. A gated call
18
18
  // without a grant is a 403 AUTHORIZATION_REQUIRED, with a lapsed one 403
19
19
  // AUTHORIZATION_EXPIRED. Every gated call asks exactly one kind - a component
20
20
  // create too: Extension alone, the one kind for extensions and components
21
21
  // alike (decision P16). The N14 pair it replaces - Package plus the kind of
22
22
  // the component's family, ComponentForCollection or ComponentForResources -
23
- // is retired with those two kinds. Never gated: learning kits and their
24
- // children, a component's children, material resources, folders, pricings,
23
+ // is retired with those two kinds. Material is likewise the one kind for
24
+ // materials and the resource library they bundle: folders, videos, podcasts,
25
+ // files and URLs have no kind of their own. Never gated: learning kits and
26
+ // their children, a component's children, material resources, pricings,
25
27
  // pricing assignments and contract templates. Value === key, like every enum.
26
28
  var ManageAuthorizationEnum;
27
29
  (function (ManageAuthorizationEnum) {
@@ -32,7 +34,8 @@ var ManageAuthorizationEnum;
32
34
  // every component create (P16).
33
35
  ManageAuthorizationEnum["Extension"] = "Extension";
34
36
  // Material create and publish - the former Resource component, a product
35
- // of its own now (P4).
37
+ // of its own now (P4) - and the resource library it bundles: every folder,
38
+ // video, podcast, file and URL create.
36
39
  ManageAuthorizationEnum["Material"] = "Material";
37
40
  // Course create and publish. Reserved while no endpoint read it; a real
38
41
  // gate since the course became a product (P16).
@@ -43,10 +46,5 @@ var ManageAuthorizationEnum;
43
46
  // package of products (P2, P6). What the former package of components
44
47
  // gated is the extension's now.
45
48
  ManageAuthorizationEnum["Package"] = "Package";
46
- // Resource create, one kind each (ResourceTypeEnum).
47
- ManageAuthorizationEnum["Video"] = "Video";
48
- ManageAuthorizationEnum["Podcast"] = "Podcast";
49
- ManageAuthorizationEnum["File"] = "File";
50
- ManageAuthorizationEnum["Url"] = "Url";
51
49
  })(ManageAuthorizationEnum || (exports.ManageAuthorizationEnum = ManageAuthorizationEnum = {}));
52
50
  //# sourceMappingURL=ManageAuthorizationEnum.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ManageAuthorizationEnum.js","sourceRoot":"","sources":["../../src/type/ManageAuthorizationEnum.ts"],"names":[],"mappings":";;;AAAA,4EAA4E;AAC5E,+EAA+E;AAC/E,4EAA4E;AAC5E,+EAA+E;AAC/E,+EAA+E;AAC/E,EAAE;AACF,2DAA2D;AAC3D,6EAA6E;AAC7E,wEAAwE;AACxE,8EAA8E;AAC9E,qDAAqD;AACrD,yEAAyE;AACzE,4EAA4E;AAC5E,+EAA+E;AAC/E,yEAAyE;AACzE,8EAA8E;AAC9E,0EAA0E;AAC1E,4EAA4E;AAC5E,4EAA4E;AAC5E,wEAAwE;AACxE,2EAA2E;AAC3E,8EAA8E;AAC9E,IAAY,uBAyBX;AAzBD,WAAY,uBAAuB;IAE/B,yEAAyE;IACzE,QAAQ;IACR,oDAAyB,CAAA;IACzB,wEAAwE;IACxE,gCAAgC;IAChC,kDAAuB,CAAA;IACvB,yEAAyE;IACzE,uBAAuB;IACvB,gDAAqB,CAAA;IACrB,wEAAwE;IACxE,gDAAgD;IAChD,4CAAiB,CAAA;IACjB,4BAA4B;IAC5B,0CAAe,CAAA;IACf,sEAAsE;IACtE,sEAAsE;IACtE,gCAAgC;IAChC,8CAAmB,CAAA;IACnB,qDAAqD;IACrD,0CAAe,CAAA;IACf,8CAAmB,CAAA;IACnB,wCAAa,CAAA;IACb,sCAAW,CAAA;AACf,CAAC,EAzBW,uBAAuB,aAAvB,uBAAuB,GAAvB,uBAAuB,QAyBlC"}
1
+ {"version":3,"file":"ManageAuthorizationEnum.js","sourceRoot":"","sources":["../../src/type/ManageAuthorizationEnum.ts"],"names":[],"mappings":";;;AAAA,4EAA4E;AAC5E,+EAA+E;AAC/E,4EAA4E;AAC5E,gFAAgF;AAChF,yDAAyD;AACzD,EAAE;AACF,2DAA2D;AAC3D,6EAA6E;AAC7E,wEAAwE;AACxE,8EAA8E;AAC9E,qDAAqD;AACrD,yEAAyE;AACzE,4EAA4E;AAC5E,+EAA+E;AAC/E,yEAAyE;AACzE,8EAA8E;AAC9E,0EAA0E;AAC1E,4EAA4E;AAC5E,4EAA4E;AAC5E,yEAAyE;AACzE,6EAA6E;AAC7E,2EAA2E;AAC3E,wEAAwE;AACxE,8EAA8E;AAC9E,IAAY,uBAqBX;AArBD,WAAY,uBAAuB;IAE/B,yEAAyE;IACzE,QAAQ;IACR,oDAAyB,CAAA;IACzB,wEAAwE;IACxE,gCAAgC;IAChC,kDAAuB,CAAA;IACvB,yEAAyE;IACzE,2EAA2E;IAC3E,uCAAuC;IACvC,gDAAqB,CAAA;IACrB,wEAAwE;IACxE,gDAAgD;IAChD,4CAAiB,CAAA;IACjB,4BAA4B;IAC5B,0CAAe,CAAA;IACf,sEAAsE;IACtE,sEAAsE;IACtE,gCAAgC;IAChC,8CAAmB,CAAA;AACvB,CAAC,EArBW,uBAAuB,aAAvB,uBAAuB,GAAvB,uBAAuB,QAqBlC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MessageRowType.d.ts","sourceRoot":"","sources":["../../src/type/MessageRowType.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,WAAW,cAAc;IAE3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,kBAAkB,EAAE,eAAe,CAAC;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,oBAAoB,EAAE,eAAe,CAAC;IAGtC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAGpB,WAAW,EAAE,qBAAqB,GAAG,IAAI,CAAC;IAC1C,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAI1B,UAAU,EAAE,aAAa,GAAG,IAAI,CAAC;IACjC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IAEnB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B"}
1
+ {"version":3,"file":"MessageRowType.d.ts","sourceRoot":"","sources":["../../src/type/MessageRowType.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,WAAW,cAAc;IAE3B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,kBAAkB,EAAE,eAAe,CAAC;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,oBAAoB,EAAE,eAAe,CAAC;IAGtC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAGpB,WAAW,EAAE,qBAAqB,GAAG,IAAI,CAAC;IAC1C,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAK1B,UAAU,EAAE,aAAa,GAAG,IAAI,CAAC;IACjC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IAEnB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"OwnerAuthorizationType.d.ts","sourceRoot":"","sources":["../../src/type/OwnerAuthorizationType.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,WAAW,sBAAsB;IAEnC,IAAI,EAAE,uBAAuB,CAAC;IAI9B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAGhC,MAAM,EAAE,uBAAuB,CAAC;IAIhC,YAAY,EAAE,eAAe,CAAC;IAG9B,YAAY,EAAE,OAAO,CAAC;CACzB"}
1
+ {"version":3,"file":"OwnerAuthorizationType.d.ts","sourceRoot":"","sources":["../../src/type/OwnerAuthorizationType.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,WAAW,sBAAsB;IAEnC,IAAI,EAAE,uBAAuB,CAAC;IAI9B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAGhC,MAAM,EAAE,uBAAuB,CAAC;IAIhC,YAAY,EAAE,eAAe,CAAC;IAG9B,YAAY,EAAE,OAAO,CAAC;CACzB"}
@@ -0,0 +1,6 @@
1
+ import { PricingAssignmentRowType } from "./PricingAssignmentRowType";
2
+ import { ProductSummaryType } from "./ProductSummaryType";
3
+ export interface OwnerPricingAssignmentRowType extends PricingAssignmentRowType {
4
+ product: ProductSummaryType;
5
+ }
6
+ //# sourceMappingURL=OwnerPricingAssignmentRowType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OwnerPricingAssignmentRowType.d.ts","sourceRoot":"","sources":["../../src/type/OwnerPricingAssignmentRowType.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,WAAW,6BAA8B,SAAQ,wBAAwB;IAG3E,OAAO,EAAE,kBAAkB,CAAC;CAC/B"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=OwnerPricingAssignmentRowType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OwnerPricingAssignmentRowType.js","sourceRoot":"","sources":["../../src/type/OwnerPricingAssignmentRowType.ts"],"names":[],"mappings":""}
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OwnerTypeEnum = void 0;
4
4
  // Mirrors the `owner_type` column of the owned tables in Bolbol API, each
5
5
  // declared from this enum's keys - the SDK is its source of truth: the
6
- // content tables package.learning_kit, package.component and
7
- // package.uid_mapping (src/database/postgres/attribute/package/), the
8
- // products product.extension, product.material, product.course,
9
- // product.event and product.package (attribute/product/), every table of
6
+ // content tables extension.learning_kit, extension.component and
7
+ // extension.uid_mapping (src/database/postgres/attribute/extension/), the
8
+ // products extension.extension, extension.material, course.course,
9
+ // event.event and package.package (attribute/course/, event/ and package/), every table of
10
10
  // schema resource (attribute/resource/), monetization.pricing
11
11
  // (attribute/monetization/PricingAttributes.ts), and system.message
12
12
  // (attribute/system/MessageAttributes.ts), where it names a notification's
@@ -1 +1 @@
1
- {"version":3,"file":"OwnerTypeEnum.js","sourceRoot":"","sources":["../../src/type/OwnerTypeEnum.ts"],"names":[],"mappings":";;;AAAA,0EAA0E;AAC1E,uEAAuE;AACvE,6DAA6D;AAC7D,sEAAsE;AACtE,gEAAgE;AAChE,yEAAyE;AACzE,8DAA8D;AAC9D,oEAAoE;AACpE,2EAA2E;AAC3E,yBAAyB;AACzB,EAAE;AACF,8EAA8E;AAC9E,uEAAuE;AACvE,8EAA8E;AAC9E,8EAA8E;AAC9E,0DAA0D;AAC1D,4EAA4E;AAC5E,0EAA0E;AAC1E,4EAA4E;AAC5E,2EAA2E;AAC3E,sEAAsE;AACtE,4DAA4D;AAC5D,8EAA8E;AAC9E,+CAA+C;AAC/C,IAAY,aAIX;AAJD,WAAY,aAAa;IAErB,oCAAmB,CAAA;IACnB,oCAAmB,CAAA;AACvB,CAAC,EAJW,aAAa,aAAb,aAAa,GAAb,aAAa,QAIxB"}
1
+ {"version":3,"file":"OwnerTypeEnum.js","sourceRoot":"","sources":["../../src/type/OwnerTypeEnum.ts"],"names":[],"mappings":";;;AAAA,0EAA0E;AAC1E,uEAAuE;AACvE,iEAAiE;AACjE,0EAA0E;AAC1E,mEAAmE;AACnE,2FAA2F;AAC3F,8DAA8D;AAC9D,oEAAoE;AACpE,2EAA2E;AAC3E,yBAAyB;AACzB,EAAE;AACF,8EAA8E;AAC9E,uEAAuE;AACvE,8EAA8E;AAC9E,8EAA8E;AAC9E,0DAA0D;AAC1D,4EAA4E;AAC5E,0EAA0E;AAC1E,4EAA4E;AAC5E,2EAA2E;AAC3E,sEAAsE;AACtE,4DAA4D;AAC5D,8EAA8E;AAC9E,+CAA+C;AAC/C,IAAY,aAIX;AAJD,WAAY,aAAa;IAErB,oCAAmB,CAAA;IACnB,oCAAmB,CAAA;AACvB,CAAC,EAJW,aAAa,aAAb,aAAa,GAAb,aAAa,QAIxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"PackageDirectoryListRequestType.d.ts","sourceRoot":"","sources":["../../src/type/PackageDirectoryListRequestType.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,WAAW,+BAAgC,SAAQ,cAAc;IAInE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB"}
1
+ {"version":3,"file":"PackageDirectoryListRequestType.d.ts","sourceRoot":"","sources":["../../src/type/PackageDirectoryListRequestType.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,WAAW,+BAAgC,SAAQ,cAAc;IAKnE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB"}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ProductLocationTypeEnum = void 0;
4
- // Mirrors the `location_type` column of product.course_version and
5
- // product.event_version in Bolbol API
6
- // src/database/postgres/attribute/product/CourseVersionAttributes.ts /
4
+ // Mirrors the `location_type` column of course.course_version and
5
+ // event.event_version in Bolbol API
6
+ // src/database/postgres/attribute/course/CourseVersionAttributes.ts /
7
7
  // EventVersionAttributes.ts, each declared from this enum's keys - the SDK is
8
8
  // its source of truth.
9
9
  //
@@ -1 +1 @@
1
- {"version":3,"file":"ProductLocationTypeEnum.js","sourceRoot":"","sources":["../../src/type/ProductLocationTypeEnum.ts"],"names":[],"mappings":";;;AAAA,mEAAmE;AACnE,sCAAsC;AACtC,uEAAuE;AACvE,8EAA8E;AAC9E,uBAAuB;AACvB,EAAE;AACF,4EAA4E;AAC5E,2EAA2E;AAC3E,+BAA+B;AAC/B,EAAE;AACF,8CAA8C;AAC9C,yBAAyB;AACzB,qDAAqD;AACrD,EAAE;AACF,kCAAkC;AAClC,IAAY,uBAKX;AALD,WAAY,uBAAuB;IAE/B,4CAAiB,CAAA;IACjB,gDAAqB,CAAA;IACrB,4CAAiB,CAAA;AACrB,CAAC,EALW,uBAAuB,aAAvB,uBAAuB,GAAvB,uBAAuB,QAKlC"}
1
+ {"version":3,"file":"ProductLocationTypeEnum.js","sourceRoot":"","sources":["../../src/type/ProductLocationTypeEnum.ts"],"names":[],"mappings":";;;AAAA,kEAAkE;AAClE,oCAAoC;AACpC,sEAAsE;AACtE,8EAA8E;AAC9E,uBAAuB;AACvB,EAAE;AACF,4EAA4E;AAC5E,2EAA2E;AAC3E,+BAA+B;AAC/B,EAAE;AACF,8CAA8C;AAC9C,yBAAyB;AACzB,qDAAqD;AACrD,EAAE;AACF,kCAAkC;AAClC,IAAY,uBAKX;AALD,WAAY,uBAAuB;IAE/B,4CAAiB,CAAA;IACjB,gDAAqB,CAAA;IACrB,4CAAiB,CAAA;AACrB,CAAC,EALW,uBAAuB,aAAvB,uBAAuB,GAAvB,uBAAuB,QAKlC"}
@@ -14,20 +14,12 @@ export declare enum RequestTypeEnum {
14
14
  BolbolTeacherManageCourse = "BolbolTeacherManageCourse",
15
15
  BolbolTeacherManageEvent = "BolbolTeacherManageEvent",
16
16
  BolbolTeacherManagePackage = "BolbolTeacherManagePackage",
17
- BolbolTeacherManageVideo = "BolbolTeacherManageVideo",
18
- BolbolTeacherManagePodcast = "BolbolTeacherManagePodcast",
19
- BolbolTeacherManageFile = "BolbolTeacherManageFile",
20
- BolbolTeacherManageUrl = "BolbolTeacherManageUrl",
21
17
  BolbolAcademyManageCollection = "BolbolAcademyManageCollection",
22
18
  BolbolAcademyManageExtension = "BolbolAcademyManageExtension",
23
19
  BolbolAcademyManageMaterial = "BolbolAcademyManageMaterial",
24
20
  BolbolAcademyManageCourse = "BolbolAcademyManageCourse",
25
21
  BolbolAcademyManageEvent = "BolbolAcademyManageEvent",
26
22
  BolbolAcademyManagePackage = "BolbolAcademyManagePackage",
27
- BolbolAcademyManageVideo = "BolbolAcademyManageVideo",
28
- BolbolAcademyManagePodcast = "BolbolAcademyManagePodcast",
29
- BolbolAcademyManageFile = "BolbolAcademyManageFile",
30
- BolbolAcademyManageUrl = "BolbolAcademyManageUrl",
31
23
  AcademyTeacherJoin = "AcademyTeacherJoin",
32
24
  TeacherAcademyInvite = "TeacherAcademyInvite",
33
25
  AcademyUserJoin = "AcademyUserJoin",
@@ -1 +1 @@
1
- {"version":3,"file":"RequestTypeEnum.d.ts","sourceRoot":"","sources":["../../src/type/RequestTypeEnum.ts"],"names":[],"mappings":"AAKA,oBAAY,eAAe;IAIvB,oBAAoB,yBAAyB;IAC7C,wBAAwB,6BAA6B;IACrD,sBAAsB,2BAA2B;IACjD,uBAAuB,4BAA4B;IACnD,iBAAiB,sBAAsB;IACvC,wBAAwB,6BAA6B;IAIrD,oBAAoB,yBAAyB;IAC7C,wBAAwB,6BAA6B;IACrD,uBAAuB,4BAA4B;IACnD,wBAAwB,6BAA6B;IAUrD,4BAA4B,iCAAiC;IAC7D,2BAA2B,gCAAgC;IAC3D,yBAAyB,8BAA8B;IACvD,wBAAwB,6BAA6B;IACrD,0BAA0B,+BAA+B;IACzD,wBAAwB,6BAA6B;IACrD,0BAA0B,+BAA+B;IACzD,uBAAuB,4BAA4B;IACnD,sBAAsB,2BAA2B;IAKjD,6BAA6B,kCAAkC;IAC/D,4BAA4B,iCAAiC;IAC7D,2BAA2B,gCAAgC;IAC3D,yBAAyB,8BAA8B;IACvD,wBAAwB,6BAA6B;IACrD,0BAA0B,+BAA+B;IACzD,wBAAwB,6BAA6B;IACrD,0BAA0B,+BAA+B;IACzD,uBAAuB,4BAA4B;IACnD,sBAAsB,2BAA2B;IAGjD,kBAAkB,uBAAuB;IACzC,oBAAoB,yBAAyB;IAG7C,eAAe,oBAAoB;IACnC,iBAAiB,sBAAsB;IAGvC,gBAAgB,qBAAqB;IACrC,gBAAgB,qBAAqB;IAGrC,eAAe,oBAAoB;CACtC"}
1
+ {"version":3,"file":"RequestTypeEnum.d.ts","sourceRoot":"","sources":["../../src/type/RequestTypeEnum.ts"],"names":[],"mappings":"AAKA,oBAAY,eAAe;IAIvB,oBAAoB,yBAAyB;IAC7C,wBAAwB,6BAA6B;IACrD,sBAAsB,2BAA2B;IACjD,uBAAuB,4BAA4B;IACnD,iBAAiB,sBAAsB;IACvC,wBAAwB,6BAA6B;IAIrD,oBAAoB,yBAAyB;IAC7C,wBAAwB,6BAA6B;IACrD,uBAAuB,4BAA4B;IACnD,wBAAwB,6BAA6B;IAWrD,4BAA4B,iCAAiC;IAC7D,2BAA2B,gCAAgC;IAC3D,yBAAyB,8BAA8B;IACvD,wBAAwB,6BAA6B;IACrD,0BAA0B,+BAA+B;IAKzD,6BAA6B,kCAAkC;IAC/D,4BAA4B,iCAAiC;IAC7D,2BAA2B,gCAAgC;IAC3D,yBAAyB,8BAA8B;IACvD,wBAAwB,6BAA6B;IACrD,0BAA0B,+BAA+B;IAGzD,kBAAkB,uBAAuB;IACzC,oBAAoB,yBAAyB;IAG7C,eAAe,oBAAoB;IACnC,iBAAiB,sBAAsB;IAGvC,gBAAgB,qBAAqB;IACrC,gBAAgB,qBAAqB;IAGrC,eAAe,oBAAoB;CACtC"}
@@ -24,23 +24,20 @@ var RequestTypeEnum;
24
24
  RequestTypeEnum["BolbolAcademyPublication"] = "BolbolAcademyPublication";
25
25
  // Teacher -> Bolbol. Asking to be authorized for one
26
26
  // ManageAuthorizationEnum kind, the one the name ends with
27
- // (BolbolTeacherManageVideo -> Video). No `entity_id`. Approving one
27
+ // (BolbolTeacherManageMaterial -> Material). No `entity_id`. Approving one
28
28
  // writes the teacher's `manage_*` column and the request's
29
- // `authorized_until`. A teacher has nine kinds - every one but
29
+ // `authorized_until`. A teacher has five kinds - every one but
30
30
  // Collection. BolbolTeacherManageExtension asks for extensions and
31
31
  // components at once (P16): there is no component kind to ask for any
32
- // more.
32
+ // more. BolbolTeacherManageMaterial likewise asks for materials and the
33
+ // resource library (folders, videos, podcasts, files and URLs) at once.
33
34
  RequestTypeEnum["BolbolTeacherManageExtension"] = "BolbolTeacherManageExtension";
34
35
  RequestTypeEnum["BolbolTeacherManageMaterial"] = "BolbolTeacherManageMaterial";
35
36
  RequestTypeEnum["BolbolTeacherManageCourse"] = "BolbolTeacherManageCourse";
36
37
  RequestTypeEnum["BolbolTeacherManageEvent"] = "BolbolTeacherManageEvent";
37
38
  RequestTypeEnum["BolbolTeacherManagePackage"] = "BolbolTeacherManagePackage";
38
- RequestTypeEnum["BolbolTeacherManageVideo"] = "BolbolTeacherManageVideo";
39
- RequestTypeEnum["BolbolTeacherManagePodcast"] = "BolbolTeacherManagePodcast";
40
- RequestTypeEnum["BolbolTeacherManageFile"] = "BolbolTeacherManageFile";
41
- RequestTypeEnum["BolbolTeacherManageUrl"] = "BolbolTeacherManageUrl";
42
- // Academy -> Bolbol. The same for an academy, over all ten kinds - with
43
- // the teacher's nine, the 19 authorization requests
39
+ // Academy -> Bolbol. The same for an academy, over all six kinds - with
40
+ // the teacher's five, the 11 authorization requests
44
41
  // (AuthorizationService).
45
42
  RequestTypeEnum["BolbolAcademyManageCollection"] = "BolbolAcademyManageCollection";
46
43
  RequestTypeEnum["BolbolAcademyManageExtension"] = "BolbolAcademyManageExtension";
@@ -48,10 +45,6 @@ var RequestTypeEnum;
48
45
  RequestTypeEnum["BolbolAcademyManageCourse"] = "BolbolAcademyManageCourse";
49
46
  RequestTypeEnum["BolbolAcademyManageEvent"] = "BolbolAcademyManageEvent";
50
47
  RequestTypeEnum["BolbolAcademyManagePackage"] = "BolbolAcademyManagePackage";
51
- RequestTypeEnum["BolbolAcademyManageVideo"] = "BolbolAcademyManageVideo";
52
- RequestTypeEnum["BolbolAcademyManagePodcast"] = "BolbolAcademyManagePodcast";
53
- RequestTypeEnum["BolbolAcademyManageFile"] = "BolbolAcademyManageFile";
54
- RequestTypeEnum["BolbolAcademyManageUrl"] = "BolbolAcademyManageUrl";
55
48
  // Teacher <-> Academy, one member per direction.
56
49
  RequestTypeEnum["AcademyTeacherJoin"] = "AcademyTeacherJoin";
57
50
  RequestTypeEnum["TeacherAcademyInvite"] = "TeacherAcademyInvite";
@@ -1 +1 @@
1
- {"version":3,"file":"RequestTypeEnum.js","sourceRoot":"","sources":["../../src/type/RequestTypeEnum.ts"],"names":[],"mappings":";;;AAAA,mGAAmG;AACnG,EAAE;AACF,6EAA6E;AAC7E,+EAA+E;AAC/E,iEAAiE;AACjE,IAAY,eAgEX;AAhED,WAAY,eAAe;IAEvB,2EAA2E;IAC3E,0BAA0B;IAC1B,gEAA6C,CAAA;IAC7C,wEAAqD,CAAA;IACrD,oEAAiD,CAAA;IACjD,sEAAmD,CAAA;IACnD,0DAAuC,CAAA;IACvC,wEAAqD,CAAA;IAErD,uEAAuE;IACvE,mEAAmE;IACnE,gEAA6C,CAAA;IAC7C,wEAAqD,CAAA;IACrD,sEAAmD,CAAA;IACnD,wEAAqD,CAAA;IAErD,qDAAqD;IACrD,2DAA2D;IAC3D,qEAAqE;IACrE,2DAA2D;IAC3D,+DAA+D;IAC/D,mEAAmE;IACnE,sEAAsE;IACtE,QAAQ;IACR,gFAA6D,CAAA;IAC7D,8EAA2D,CAAA;IAC3D,0EAAuD,CAAA;IACvD,wEAAqD,CAAA;IACrD,4EAAyD,CAAA;IACzD,wEAAqD,CAAA;IACrD,4EAAyD,CAAA;IACzD,sEAAmD,CAAA;IACnD,oEAAiD,CAAA;IAEjD,wEAAwE;IACxE,oDAAoD;IACpD,0BAA0B;IAC1B,kFAA+D,CAAA;IAC/D,gFAA6D,CAAA;IAC7D,8EAA2D,CAAA;IAC3D,0EAAuD,CAAA;IACvD,wEAAqD,CAAA;IACrD,4EAAyD,CAAA;IACzD,wEAAqD,CAAA;IACrD,4EAAyD,CAAA;IACzD,sEAAmD,CAAA;IACnD,oEAAiD,CAAA;IAEjD,iDAAiD;IACjD,4DAAyC,CAAA;IACzC,gEAA6C,CAAA;IAE7C,oBAAoB;IACpB,sDAAmC,CAAA;IACnC,0DAAuC,CAAA;IAEvC,uDAAuD;IACvD,wDAAqC,CAAA;IACrC,wDAAqC,CAAA;IAErC,qCAAqC;IACrC,sDAAmC,CAAA;AACvC,CAAC,EAhEW,eAAe,aAAf,eAAe,GAAf,eAAe,QAgE1B"}
1
+ {"version":3,"file":"RequestTypeEnum.js","sourceRoot":"","sources":["../../src/type/RequestTypeEnum.ts"],"names":[],"mappings":";;;AAAA,mGAAmG;AACnG,EAAE;AACF,6EAA6E;AAC7E,+EAA+E;AAC/E,iEAAiE;AACjE,IAAY,eAyDX;AAzDD,WAAY,eAAe;IAEvB,2EAA2E;IAC3E,0BAA0B;IAC1B,gEAA6C,CAAA;IAC7C,wEAAqD,CAAA;IACrD,oEAAiD,CAAA;IACjD,sEAAmD,CAAA;IACnD,0DAAuC,CAAA;IACvC,wEAAqD,CAAA;IAErD,uEAAuE;IACvE,mEAAmE;IACnE,gEAA6C,CAAA;IAC7C,wEAAqD,CAAA;IACrD,sEAAmD,CAAA;IACnD,wEAAqD,CAAA;IAErD,qDAAqD;IACrD,2DAA2D;IAC3D,2EAA2E;IAC3E,2DAA2D;IAC3D,+DAA+D;IAC/D,mEAAmE;IACnE,sEAAsE;IACtE,wEAAwE;IACxE,wEAAwE;IACxE,gFAA6D,CAAA;IAC7D,8EAA2D,CAAA;IAC3D,0EAAuD,CAAA;IACvD,wEAAqD,CAAA;IACrD,4EAAyD,CAAA;IAEzD,wEAAwE;IACxE,oDAAoD;IACpD,0BAA0B;IAC1B,kFAA+D,CAAA;IAC/D,gFAA6D,CAAA;IAC7D,8EAA2D,CAAA;IAC3D,0EAAuD,CAAA;IACvD,wEAAqD,CAAA;IACrD,4EAAyD,CAAA;IAEzD,iDAAiD;IACjD,4DAAyC,CAAA;IACzC,gEAA6C,CAAA;IAE7C,oBAAoB;IACpB,sDAAmC,CAAA;IACnC,0DAAuC,CAAA;IAEvC,uDAAuD;IACvD,wDAAqC,CAAA;IACrC,wDAAqC,CAAA;IAErC,qCAAqC;IACrC,sDAAmC,CAAA;AACvC,CAAC,EAzDW,eAAe,aAAf,eAAe,GAAf,eAAe,QAyD1B"}