@jumoo/translate 17.9.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 (334) hide show
  1. package/dist/api/client/client.gen.d.ts +2 -0
  2. package/dist/api/client/index.d.ts +10 -0
  3. package/dist/api/client/types.gen.d.ts +120 -0
  4. package/dist/api/client/utils.gen.d.ts +37 -0
  5. package/dist/api/client.gen.d.ts +12 -0
  6. package/dist/api/core/auth.gen.d.ts +25 -0
  7. package/dist/api/core/bodySerializer.gen.d.ts +25 -0
  8. package/dist/api/core/params.gen.d.ts +43 -0
  9. package/dist/api/core/pathSerializer.gen.d.ts +33 -0
  10. package/dist/api/core/queryKeySerializer.gen.d.ts +18 -0
  11. package/dist/api/core/serverSentEvents.gen.d.ts +71 -0
  12. package/dist/api/core/types.gen.d.ts +83 -0
  13. package/dist/api/core/utils.gen.d.ts +19 -0
  14. package/dist/api/index.d.ts +3 -0
  15. package/dist/api/sdk.gen.d.ts +156 -0
  16. package/dist/api/types.gen.d.ts +3259 -0
  17. package/dist/components/elements/models.d.ts +33 -0
  18. package/dist/components/elements/types.d.ts +14 -0
  19. package/dist/components/index.d.ts +11 -0
  20. package/dist/components/table/paged-table.element.d.ts +64 -0
  21. package/dist/components/table/translation-table-linked-item.d.ts +14 -0
  22. package/dist/components/translate-body-layout.element.d.ts +13 -0
  23. package/dist/components/translate-box.element.d.ts +15 -0
  24. package/dist/components/translate-property-layout.d.ts +18 -0
  25. package/dist/components/translation-empty-state.d.ts +14 -0
  26. package/dist/components/translation-language-card.d.ts +17 -0
  27. package/dist/components/translation-licence-box.element.d.ts +13 -0
  28. package/dist/components/translation-summary-card.d.ts +17 -0
  29. package/dist/conditions/manifest.d.ts +1 -0
  30. package/dist/conditions/selected-nodes.condition.d.ts +8 -0
  31. package/dist/conditions/sent-to-translate.condition.d.ts +10 -0
  32. package/dist/conditions/simple-translate.condition.d.ts +12 -0
  33. package/dist/connectors/components/connector-mapping.element.d.ts +21 -0
  34. package/dist/connectors/components/index.d.ts +1 -0
  35. package/dist/connectors/defaults/connector-config-default.element.d.ts +6 -0
  36. package/dist/connectors/defaults/connector-job-default.element.d.ts +6 -0
  37. package/dist/connectors/defaults/connector-pending-default.element.d.ts +6 -0
  38. package/dist/connectors/defaults/manifest.d.ts +2 -0
  39. package/dist/connectors/index.d.ts +3 -0
  40. package/dist/connectors/manifest.d.ts +1 -0
  41. package/dist/connectors/repository/connector-repository.d.ts +11 -0
  42. package/dist/connectors/types.d.ts +10 -0
  43. package/dist/constants.d.ts +26 -0
  44. package/dist/content/actions/manifest.d.ts +1 -0
  45. package/dist/content/actions/translate.action.d.ts +8 -0
  46. package/dist/content/actions/translate.footer-app.d.ts +14 -0
  47. package/dist/content/bulk/bulk-selection.context.d.ts +26 -0
  48. package/dist/content/bulk/bulk-translation-dashboard.element.d.ts +20 -0
  49. package/dist/content/bulk/manifest.d.ts +1 -0
  50. package/dist/content/components/document-sets.element.d.ts +15 -0
  51. package/dist/content/components/document-stats.element.d.ts +15 -0
  52. package/dist/content/components/document-translations.element.d.ts +29 -0
  53. package/dist/content/components/index.d.ts +4 -0
  54. package/dist/content/components/simple-translate.element.d.ts +18 -0
  55. package/dist/content/index.d.ts +1 -0
  56. package/dist/content/manifest.d.ts +1 -0
  57. package/dist/content/translation-view.context.d.ts +28 -0
  58. package/dist/content/translation-view.element.d.ts +11 -0
  59. package/dist/exports.d.ts +8 -0
  60. package/dist/glossary/components/glossary-export.modal.d.ts +13 -0
  61. package/dist/glossary/components/glossary-export.modal.token.d.ts +11 -0
  62. package/dist/glossary/components/glossary-import.modal.d.ts +16 -0
  63. package/dist/glossary/components/glossary-import.modal.token.d.ts +11 -0
  64. package/dist/glossary/components/glossary-term-edit.modal.d.ts +14 -0
  65. package/dist/glossary/components/glossary-term-edit.modal.token.d.ts +15 -0
  66. package/dist/glossary/components/manifest.d.ts +2 -0
  67. package/dist/glossary/conditions/glossary-enabled.condition.d.ts +31 -0
  68. package/dist/glossary/conditions/manifest.d.ts +1 -0
  69. package/dist/glossary/constants.d.ts +4 -0
  70. package/dist/glossary/manifest.d.ts +1 -0
  71. package/dist/glossary/menu/manifest.d.ts +1 -0
  72. package/dist/glossary/repository/glossary.repository.d.ts +65 -0
  73. package/dist/glossary/repository/index.d.ts +2 -0
  74. package/dist/glossary/workspace/manifest.d.ts +1 -0
  75. package/dist/glossary/workspace/views/default.element.d.ts +22 -0
  76. package/dist/glossary/workspace/workspace.context.d.ts +25 -0
  77. package/dist/glossary/workspace/workspace.element.d.ts +6 -0
  78. package/dist/hey-api.d.ts +11 -0
  79. package/dist/icons/icons.d.ts +5 -0
  80. package/dist/icons/manifest.d.ts +1 -0
  81. package/dist/icons/svgs/translate.d.ts +2 -0
  82. package/dist/index.d.ts +8 -0
  83. package/dist/jobs/components/index.d.ts +8 -0
  84. package/dist/jobs/components/job-copyproperties.element.d.ts +15 -0
  85. package/dist/jobs/components/job-item-table.element.d.ts +19 -0
  86. package/dist/jobs/components/job-list-selection.element.d.ts +17 -0
  87. package/dist/jobs/components/job-list-table.element.d.ts +18 -0
  88. package/dist/jobs/components/job-processing-bar.element.d.ts +14 -0
  89. package/dist/jobs/components/job-provider-view.element.d.ts +21 -0
  90. package/dist/jobs/components/job-status-badge.d.ts +13 -0
  91. package/dist/jobs/components/job-status-bar.element.d.ts +14 -0
  92. package/dist/jobs/jobs.repository.d.ts +35 -0
  93. package/dist/jobs/manifest.d.ts +1 -0
  94. package/dist/jobs/styles.d.ts +1 -0
  95. package/dist/jobs/tranlsation-job.helpers.d.ts +10 -0
  96. package/dist/jobs/types.d.ts +2 -0
  97. package/dist/jobs/workspace/actions/job-approve-blocked.footer-app.d.ts +21 -0
  98. package/dist/jobs/workspace/actions/job-approve.action.d.ts +8 -0
  99. package/dist/jobs/workspace/actions/job-cancel.action.d.ts +5 -0
  100. package/dist/jobs/workspace/actions/job-check.action.d.ts +5 -0
  101. package/dist/jobs/workspace/actions/job-remove.action.d.ts +5 -0
  102. package/dist/jobs/workspace/actions/job-reset.action.d.ts +5 -0
  103. package/dist/jobs/workspace/actions/manifest.d.ts +1 -0
  104. package/dist/jobs/workspace/conditions/can-approve.condition.d.ts +22 -0
  105. package/dist/jobs/workspace/conditions/job-status.condition.d.ts +14 -0
  106. package/dist/jobs/workspace/conditions/manifest.d.ts +1 -0
  107. package/dist/jobs/workspace/manifest.d.ts +1 -0
  108. package/dist/jobs/workspace/translation-job-element.d.ts +10 -0
  109. package/dist/jobs/workspace/translation-job-workspace.context.d.ts +37 -0
  110. package/dist/jobs/workspace/views/default-job-view.element.d.ts +20 -0
  111. package/dist/jobs/workspace/views/job-history-view.element.d.ts +11 -0
  112. package/dist/lang/files/da/actionCategories.da.d.ts +5 -0
  113. package/dist/lang/files/da/da.d.ts +377 -0
  114. package/dist/lang/files/da/tm.da.d.ts +31 -0
  115. package/dist/lang/files/da/tmApp.da.d.ts +16 -0
  116. package/dist/lang/files/da/tmApproval.da.d.ts +7 -0
  117. package/dist/lang/files/da/tmConnectors.da.d.ts +16 -0
  118. package/dist/lang/files/da/tmJob.da.d.ts +87 -0
  119. package/dist/lang/files/da/tmLicence.da.d.ts +27 -0
  120. package/dist/lang/files/da/tmMemory.da.d.ts +48 -0
  121. package/dist/lang/files/da/tmSets.da.d.ts +89 -0
  122. package/dist/lang/files/da/tmSettings.da.d.ts +46 -0
  123. package/dist/lang/files/da/tmStages.da.d.ts +17 -0
  124. package/dist/lang/files/da/tmStats.da.d.ts +9 -0
  125. package/dist/lang/files/de/actionCategories.de.d.ts +5 -0
  126. package/dist/lang/files/de/de.d.ts +377 -0
  127. package/dist/lang/files/de/tm.de.d.ts +31 -0
  128. package/dist/lang/files/de/tmApp.de.d.ts +16 -0
  129. package/dist/lang/files/de/tmApproval.de.d.ts +7 -0
  130. package/dist/lang/files/de/tmConnectors.de.d.ts +16 -0
  131. package/dist/lang/files/de/tmJob.de.d.ts +87 -0
  132. package/dist/lang/files/de/tmLicence.de.d.ts +27 -0
  133. package/dist/lang/files/de/tmMemory.de.d.ts +48 -0
  134. package/dist/lang/files/de/tmSets.de.d.ts +89 -0
  135. package/dist/lang/files/de/tmSettings.de.d.ts +46 -0
  136. package/dist/lang/files/de/tmStages.de.d.ts +17 -0
  137. package/dist/lang/files/de/tmStats.de.d.ts +9 -0
  138. package/dist/lang/files/en/actionCategories.en.d.ts +5 -0
  139. package/dist/lang/files/en/en.d.ts +443 -0
  140. package/dist/lang/files/en/tm.en.d.ts +31 -0
  141. package/dist/lang/files/en/tmApp.en.d.ts +16 -0
  142. package/dist/lang/files/en/tmApproval.en.d.ts +7 -0
  143. package/dist/lang/files/en/tmBulk.en.d.ts +12 -0
  144. package/dist/lang/files/en/tmConnectors.en.d.ts +16 -0
  145. package/dist/lang/files/en/tmGlossary.en.d.ts +57 -0
  146. package/dist/lang/files/en/tmJob.en.d.ts +88 -0
  147. package/dist/lang/files/en/tmLicence.en.d.ts +27 -0
  148. package/dist/lang/files/en/tmMemory.en.d.ts +48 -0
  149. package/dist/lang/files/en/tmSets.en.d.ts +89 -0
  150. package/dist/lang/files/en/tmSettings.en.d.ts +46 -0
  151. package/dist/lang/files/en/tmStages.en.d.ts +17 -0
  152. package/dist/lang/files/en/tmStats.en.d.ts +9 -0
  153. package/dist/lang/files/es/actionCategories.es.d.ts +5 -0
  154. package/dist/lang/files/es/es.d.ts +377 -0
  155. package/dist/lang/files/es/tm.es.d.ts +31 -0
  156. package/dist/lang/files/es/tmApp.es.d.ts +16 -0
  157. package/dist/lang/files/es/tmApproval.es.d.ts +7 -0
  158. package/dist/lang/files/es/tmConnectors.es.d.ts +16 -0
  159. package/dist/lang/files/es/tmJob.es.d.ts +87 -0
  160. package/dist/lang/files/es/tmLicence.es.d.ts +27 -0
  161. package/dist/lang/files/es/tmMemory.es.d.ts +48 -0
  162. package/dist/lang/files/es/tmSets.es.d.ts +89 -0
  163. package/dist/lang/files/es/tmSettings.es.d.ts +46 -0
  164. package/dist/lang/files/es/tmStages.es.d.ts +17 -0
  165. package/dist/lang/files/es/tmStats.es.d.ts +9 -0
  166. package/dist/lang/files/fr/actionCategories.fr.d.ts +5 -0
  167. package/dist/lang/files/fr/fr.d.ts +377 -0
  168. package/dist/lang/files/fr/tm.fr.d.ts +31 -0
  169. package/dist/lang/files/fr/tmApp.fr.d.ts +16 -0
  170. package/dist/lang/files/fr/tmApproval.fr.d.ts +7 -0
  171. package/dist/lang/files/fr/tmConnectors.fr.d.ts +16 -0
  172. package/dist/lang/files/fr/tmJob.fr.d.ts +87 -0
  173. package/dist/lang/files/fr/tmLicence.fr.d.ts +27 -0
  174. package/dist/lang/files/fr/tmMemory.fr.d.ts +48 -0
  175. package/dist/lang/files/fr/tmSets.fr.d.ts +89 -0
  176. package/dist/lang/files/fr/tmSettings.fr.d.ts +46 -0
  177. package/dist/lang/files/fr/tmStages.fr.d.ts +17 -0
  178. package/dist/lang/files/fr/tmStats.fr.d.ts +9 -0
  179. package/dist/lang/files/nl/actionCategories.nl.d.ts +5 -0
  180. package/dist/lang/files/nl/nl.d.ts +377 -0
  181. package/dist/lang/files/nl/tm.nl.d.ts +31 -0
  182. package/dist/lang/files/nl/tmApp.nl.d.ts +16 -0
  183. package/dist/lang/files/nl/tmApproval.nl.d.ts +7 -0
  184. package/dist/lang/files/nl/tmConnectors.nl.d.ts +16 -0
  185. package/dist/lang/files/nl/tmJob.nl.d.ts +87 -0
  186. package/dist/lang/files/nl/tmLicence.nl.d.ts +27 -0
  187. package/dist/lang/files/nl/tmMemory.nl.d.ts +48 -0
  188. package/dist/lang/files/nl/tmSets.nl.d.ts +89 -0
  189. package/dist/lang/files/nl/tmSettings.nl.d.ts +46 -0
  190. package/dist/lang/files/nl/tmStages.nl.d.ts +17 -0
  191. package/dist/lang/files/nl/tmStats.nl.d.ts +9 -0
  192. package/dist/lang/manifest.d.ts +1 -0
  193. package/dist/memory/components/manifest.d.ts +2 -0
  194. package/dist/memory/components/memory-copy.modal.d.ts +12 -0
  195. package/dist/memory/components/memory-copy.modal.token.d.ts +10 -0
  196. package/dist/memory/components/memory-edit.modal.d.ts +10 -0
  197. package/dist/memory/components/memory-edit.modal.token.d.ts +11 -0
  198. package/dist/memory/conditions/manifest.d.ts +1 -0
  199. package/dist/memory/conditions/memory-enabled.condition.d.ts +32 -0
  200. package/dist/memory/constants.d.ts +4 -0
  201. package/dist/memory/manifest.d.ts +1 -0
  202. package/dist/memory/menu/manifest.d.ts +1 -0
  203. package/dist/memory/repository/index.d.ts +2 -0
  204. package/dist/memory/repository/memory.repository.d.ts +75 -0
  205. package/dist/memory/workspace/manifest.d.ts +1 -0
  206. package/dist/memory/workspace/views/default.element.d.ts +13 -0
  207. package/dist/memory/workspace/views/source-detail.element.d.ts +16 -0
  208. package/dist/memory/workspace/workspace.context.d.ts +48 -0
  209. package/dist/memory/workspace/workspace.element.d.ts +7 -0
  210. package/dist/nodes/components/index.d.ts +7 -0
  211. package/dist/nodes/components/node-property-element.d.ts +18 -0
  212. package/dist/nodes/components/node-single-value.element.d.ts +22 -0
  213. package/dist/nodes/components/node-status-badge.d.ts +13 -0
  214. package/dist/nodes/components/node-tabs.element.d.ts +19 -0
  215. package/dist/nodes/components/node-value.element.d.ts +25 -0
  216. package/dist/nodes/components/nodes-table.element.d.ts +23 -0
  217. package/dist/nodes/components/rich-text-editor.element.d.ts +14 -0
  218. package/dist/nodes/manifest.d.ts +1 -0
  219. package/dist/nodes/node.respository.d.ts +30 -0
  220. package/dist/nodes/styles.d.ts +1 -0
  221. package/dist/nodes/types.d.ts +2 -0
  222. package/dist/nodes/workspace/manifest.d.ts +1 -0
  223. package/dist/nodes/workspace/translation-node-workspace.context.d.ts +18 -0
  224. package/dist/nodes/workspace/translation-node.element.d.ts +13 -0
  225. package/dist/permissions/constants.d.ts +6 -0
  226. package/dist/permissions/is-forbidden-error.d.ts +9 -0
  227. package/dist/permissions/manifest.d.ts +1 -0
  228. package/dist/permissions/node-permissions.d.ts +27 -0
  229. package/dist/section/dashboard/manifest.d.ts +1 -0
  230. package/dist/section/dashboard/translation-dashboard.element.d.ts +42 -0
  231. package/dist/section/manifest.d.ts +1 -0
  232. package/dist/section/tree/manifest.d.ts +1 -0
  233. package/dist/section/tree/translations-tree.data-source.d.ts +6 -0
  234. package/dist/section/tree/translations-tree.repository.d.ts +11 -0
  235. package/dist/section/tree/translations-tree.store.d.ts +8 -0
  236. package/dist/section/tree/types.d.ts +15 -0
  237. package/dist/section/types.d.ts +31 -0
  238. package/dist/section/workspace/language/translation-language-workspace.context.d.ts +21 -0
  239. package/dist/section/workspace/language/translation-language.element.d.ts +13 -0
  240. package/dist/section/workspace/manifest.d.ts +1 -0
  241. package/dist/section/workspace/pending/translation-pending-element.d.ts +9 -0
  242. package/dist/section/workspace/pending/translation-pending-workspace.context.d.ts +17 -0
  243. package/dist/section/workspace/pending-language/translation-pending-language-element.d.ts +15 -0
  244. package/dist/section/workspace/pending-language/translation-pending-language-workspace.content.d.ts +19 -0
  245. package/dist/section/workspace/stage/translation-stage-element.d.ts +18 -0
  246. package/dist/section/workspace/stage/translation-stage-workspace.context.d.ts +24 -0
  247. package/dist/sets/manifest.d.ts +1 -0
  248. package/dist/sets/set-connector-lock.d.ts +20 -0
  249. package/dist/sets/sets.context.d.ts +24 -0
  250. package/dist/sets/sets.repository.d.ts +27 -0
  251. package/dist/settings/connectors/constants.d.ts +11 -0
  252. package/dist/settings/connectors/index.d.ts +3 -0
  253. package/dist/settings/connectors/manifest.d.ts +1 -0
  254. package/dist/settings/connectors/menu/connector-menu-item.element.d.ts +9 -0
  255. package/dist/settings/connectors/menu/connector-menu.element.d.ts +11 -0
  256. package/dist/settings/connectors/menu/manifest.d.ts +2 -0
  257. package/dist/settings/connectors/root/connector-root.element.d.ts +21 -0
  258. package/dist/settings/connectors/root/manifest.d.ts +1 -0
  259. package/dist/settings/connectors/workspace/actions/connector-save-settings.action.d.ts +6 -0
  260. package/dist/settings/connectors/workspace/actions/manifest.d.ts +1 -0
  261. package/dist/settings/connectors/workspace/connector-settings.context.d.ts +20 -0
  262. package/dist/settings/connectors/workspace/connector-settings.workspace.element.d.ts +15 -0
  263. package/dist/settings/connectors/workspace/connector-settings.workspace.route.d.ts +9 -0
  264. package/dist/settings/connectors/workspace/manifest.d.ts +1 -0
  265. package/dist/settings/index.d.ts +5 -0
  266. package/dist/settings/manifest.d.ts +1 -0
  267. package/dist/settings/respository/settings.repository.d.ts +22 -0
  268. package/dist/settings/sets/components/index.d.ts +3 -0
  269. package/dist/settings/sets/components/manifest.d.ts +1 -0
  270. package/dist/settings/sets/components/set-card.element.d.ts +14 -0
  271. package/dist/settings/sets/components/set-root-view.element.d.ts +17 -0
  272. package/dist/settings/sets/components/set-site-picker.element.d.ts +11 -0
  273. package/dist/settings/sets/components/set-site-picker.modal.d.ts +25 -0
  274. package/dist/settings/sets/components/set-site-picker.modal.token.d.ts +9 -0
  275. package/dist/settings/sets/entity/actions/manifest.d.ts +1 -0
  276. package/dist/settings/sets/entity/actions/set-entity-save.action.d.ts +5 -0
  277. package/dist/settings/sets/entity/manifest.d.ts +1 -0
  278. package/dist/settings/sets/entity/set-entity-context.d.ts +29 -0
  279. package/dist/settings/sets/entity/set-entity-workspace.element.d.ts +10 -0
  280. package/dist/settings/sets/entity/set-entity-workspace.root.d.ts +9 -0
  281. package/dist/settings/sets/entity/set-isnew-redirect.controller.d.ts +8 -0
  282. package/dist/settings/sets/entity/views/manifest.d.ts +1 -0
  283. package/dist/settings/sets/entity/views/set-advanced.element.d.ts +18 -0
  284. package/dist/settings/sets/entity/views/set-default-view.element.d.ts +26 -0
  285. package/dist/settings/sets/entity/views/set-notifications.element.d.ts +12 -0
  286. package/dist/settings/sets/index.d.ts +4 -0
  287. package/dist/settings/sets/manifest.d.ts +1 -0
  288. package/dist/settings/sets/menu/actions/delete.d.ts +8 -0
  289. package/dist/settings/sets/menu/actions/refresh.d.ts +5 -0
  290. package/dist/settings/sets/menu/manifest.d.ts +1 -0
  291. package/dist/settings/sets/menu/set-menu-item.element.d.ts +15 -0
  292. package/dist/settings/sets/menu/sets-menu.element.d.ts +15 -0
  293. package/dist/settings/sets/root/manifest.d.ts +1 -0
  294. package/dist/settings/sets/root/sets-root.element.d.ts +9 -0
  295. package/dist/settings/sets/types.d.ts +5 -0
  296. package/dist/settings/tree/manifest.d.ts +1 -0
  297. package/dist/settings/tree/settings-menu.element.d.ts +11 -0
  298. package/dist/settings/tree/types.d.ts +6 -0
  299. package/dist/settings/workspace/manifest.d.ts +2 -0
  300. package/dist/settings/workspace/views/default/default.element.d.ts +11 -0
  301. package/dist/settings/workspace/views/diagnostics/diagnostict.element.d.ts +10 -0
  302. package/dist/settings/workspace/views/index.d.ts +4 -0
  303. package/dist/settings/workspace/views/licence/licence.element.d.ts +16 -0
  304. package/dist/settings/workspace/views/notifications/notification.element.d.ts +11 -0
  305. package/dist/settings/workspace/views/sets/sets.element.d.ts +10 -0
  306. package/dist/settings/workspace/workspace.context.d.ts +19 -0
  307. package/dist/settings/workspace/workspace.element.d.ts +8 -0
  308. package/dist/strategies/approval/manifest.d.ts +1 -0
  309. package/dist/strategies/approval/steps/approve-config.element.d.ts +27 -0
  310. package/dist/strategies/approval/steps/approve-result.element.d.ts +5 -0
  311. package/dist/strategies/approval/steps/manifest.d.ts +2 -0
  312. package/dist/strategies/creation/actions/create.actions.d.ts +7 -0
  313. package/dist/strategies/creation/actions/manifest.d.ts +1 -0
  314. package/dist/strategies/creation/components/connector-options.element.d.ts +16 -0
  315. package/dist/strategies/creation/components/connector-picker.element.d.ts +19 -0
  316. package/dist/strategies/creation/components/index.d.ts +5 -0
  317. package/dist/strategies/creation/components/job-options.element.d.ts +17 -0
  318. package/dist/strategies/creation/components/language-picker.element.d.ts +25 -0
  319. package/dist/strategies/creation/components/render-results.element.d.ts +17 -0
  320. package/dist/strategies/creation/index.d.ts +1 -0
  321. package/dist/strategies/creation/manifest.d.ts +1 -0
  322. package/dist/strategies/creation/steps/choose-provider-step.element.d.ts +18 -0
  323. package/dist/strategies/creation/steps/clean/clean-config-step.element.d.ts +22 -0
  324. package/dist/strategies/creation/steps/clean/manifest.d.ts +2 -0
  325. package/dist/strategies/creation/steps/create-config-step.element.d.ts +23 -0
  326. package/dist/strategies/creation/steps/create-from-nodes-step.element.d.ts +19 -0
  327. package/dist/strategies/creation/steps/create-job-results-step.element.d.ts +9 -0
  328. package/dist/strategies/creation/steps/manifest.d.ts +2 -0
  329. package/dist/strategies/creation/steps/pending-background-step.element.d.ts +12 -0
  330. package/dist/strategies/creation/steps/simple-job-result-step.element.d.ts +8 -0
  331. package/dist/strategies/creation/translation-creation.context.d.ts +15 -0
  332. package/dist/strategies/index.d.ts +1 -0
  333. package/dist/strategies/manifest.d.ts +1 -0
  334. package/package.json +50 -0
@@ -0,0 +1,2 @@
1
+ import type { Client, Config } from './types.gen';
2
+ export declare const createClient: (config?: Config) => Client;
@@ -0,0 +1,10 @@
1
+ export type { Auth } from '../core/auth.gen';
2
+ export type { QuerySerializerOptions } from '../core/bodySerializer.gen';
3
+ export { formDataBodySerializer, jsonBodySerializer, urlSearchParamsBodySerializer, } from '../core/bodySerializer.gen';
4
+ export { buildClientParams } from '../core/params.gen';
5
+ export { serializeQueryKeyValue } from '../core/queryKeySerializer.gen';
6
+ export type { ServerSentEventsResult } from '../core/serverSentEvents.gen';
7
+ export type { ClientMeta } from '../core/types.gen';
8
+ export { createClient } from './client.gen';
9
+ export type { Client, ClientOptions, Config, CreateClientConfig, Options, RequestOptions, RequestResult, ResolvedRequestOptions, ResponseStyle, TDataShape, } from './types.gen';
10
+ export { createConfig, mergeHeaders } from './utils.gen';
@@ -0,0 +1,120 @@
1
+ import type { Auth } from '../core/auth.gen';
2
+ import type { ServerSentEventsOptions, ServerSentEventsResult } from '../core/serverSentEvents.gen';
3
+ import type { Client as CoreClient, Config as CoreConfig } from '../core/types.gen';
4
+ import type { Middleware } from './utils.gen';
5
+ export type ResponseStyle = 'data' | 'fields';
6
+ export interface Config<T extends ClientOptions = ClientOptions> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, CoreConfig {
7
+ /**
8
+ * Base URL for all requests made by this client.
9
+ */
10
+ baseUrl?: T['baseUrl'];
11
+ /**
12
+ * Fetch API implementation. You can use this option to provide a custom
13
+ * fetch instance.
14
+ *
15
+ * @default globalThis.fetch
16
+ */
17
+ fetch?: typeof fetch;
18
+ /**
19
+ * Please don't use the Fetch client for Next.js applications. The `next`
20
+ * options won't have any effect.
21
+ *
22
+ * Install {@link https://www.npmjs.com/package/@hey-api/client-next `@hey-api/client-next`} instead.
23
+ */
24
+ next?: never;
25
+ /**
26
+ * Return the response data parsed in a specified format. By default, `auto`
27
+ * will infer the appropriate method from the `Content-Type` response header.
28
+ * You can override this behavior with any of the {@link Body} methods.
29
+ * Select `stream` if you don't want to parse response data at all.
30
+ *
31
+ * @default 'auto'
32
+ */
33
+ parseAs?: 'arrayBuffer' | 'auto' | 'blob' | 'formData' | 'json' | 'stream' | 'text';
34
+ /**
35
+ * Should we return only data or multiple fields (data, error, response, etc.)?
36
+ *
37
+ * @default 'fields'
38
+ */
39
+ responseStyle?: ResponseStyle;
40
+ /**
41
+ * Throw an error instead of returning it in the response?
42
+ *
43
+ * @default false
44
+ */
45
+ throwOnError?: T['throwOnError'];
46
+ }
47
+ export interface RequestOptions<TData = unknown, TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config<{
48
+ responseStyle: TResponseStyle;
49
+ throwOnError: ThrowOnError;
50
+ }>, Pick<ServerSentEventsOptions<TData>, 'onRequest' | 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
51
+ /**
52
+ * Any body that you want to add to your request.
53
+ *
54
+ * {@link https://developer.mozilla.org/docs/Web/API/fetch#body}
55
+ */
56
+ body?: unknown;
57
+ path?: Record<string, unknown>;
58
+ query?: Record<string, unknown>;
59
+ /**
60
+ * Security mechanism(s) to use for the request.
61
+ */
62
+ security?: ReadonlyArray<Auth>;
63
+ url: Url;
64
+ }
65
+ export interface ResolvedRequestOptions<TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends RequestOptions<unknown, TResponseStyle, ThrowOnError, Url> {
66
+ headers: Headers;
67
+ serializedBody?: string;
68
+ }
69
+ export type RequestResult<TData = unknown, TError = unknown, ThrowOnError extends boolean = boolean, TResponseStyle extends ResponseStyle = 'fields'> = ThrowOnError extends true ? Promise<TResponseStyle extends 'data' ? TData extends Record<string, unknown> ? TData[keyof TData] : TData : {
70
+ data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
71
+ request: Request;
72
+ response: Response;
73
+ }> : Promise<TResponseStyle extends 'data' ? (TData extends Record<string, unknown> ? TData[keyof TData] : TData) | undefined : ({
74
+ data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
75
+ error: undefined;
76
+ } | {
77
+ data: undefined;
78
+ error: TError extends Record<string, unknown> ? TError[keyof TError] : TError;
79
+ }) & {
80
+ /** request may be undefined, because error may be from building the request object itself */
81
+ request?: Request;
82
+ /** response may be undefined, because error may be from building the request object itself or from a network error */
83
+ response?: Response;
84
+ }>;
85
+ export interface ClientOptions {
86
+ baseUrl?: string;
87
+ responseStyle?: ResponseStyle;
88
+ throwOnError?: boolean;
89
+ }
90
+ type MethodFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'>) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
91
+ type SseFn = <TData = unknown, _TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<never, TResponseStyle, ThrowOnError>, 'method'>) => Promise<ServerSentEventsResult<TData>>;
92
+ type RequestFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'> & Pick<Required<RequestOptions<TData, TResponseStyle, ThrowOnError>>, 'method'>) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
93
+ type BuildUrlFn = <TData extends {
94
+ body?: unknown;
95
+ path?: Record<string, unknown>;
96
+ query?: Record<string, unknown>;
97
+ url: string;
98
+ }>(options: TData & Options<TData>) => string;
99
+ export type Client = CoreClient<RequestFn, Config, MethodFn, BuildUrlFn, SseFn> & {
100
+ interceptors: Middleware<Request, Response, unknown, ResolvedRequestOptions>;
101
+ };
102
+ /**
103
+ * The `createClientConfig()` function will be called on client initialization
104
+ * and the returned object will become the client's initial configuration.
105
+ *
106
+ * You may want to initialize your client this way instead of calling
107
+ * `setConfig()`. This is useful for example if you're using Next.js
108
+ * to ensure your client always has the correct values.
109
+ */
110
+ export type CreateClientConfig<T extends ClientOptions = ClientOptions> = (override?: Config<ClientOptions & T>) => Config<Required<ClientOptions> & T>;
111
+ export interface TDataShape {
112
+ body?: unknown;
113
+ headers?: unknown;
114
+ path?: unknown;
115
+ query?: unknown;
116
+ url: string;
117
+ }
118
+ type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
119
+ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle = 'fields'> = OmitKeys<RequestOptions<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
120
+ export {};
@@ -0,0 +1,37 @@
1
+ import type { QuerySerializerOptions } from '../core/bodySerializer.gen';
2
+ import type { Client, ClientOptions, Config, RequestOptions } from './types.gen';
3
+ export declare const createQuerySerializer: <T = unknown>({ parameters, ...args }?: QuerySerializerOptions) => ((queryParams: T) => string);
4
+ /**
5
+ * Infers parseAs value from provided Content-Type header.
6
+ */
7
+ export declare const getParseAs: (contentType: string | null) => Exclude<Config["parseAs"], "auto">;
8
+ export declare function setAuthParams(options: Pick<RequestOptions, 'auth' | 'query' | 'security'> & {
9
+ headers: Headers;
10
+ }): Promise<void>;
11
+ export declare const buildUrl: Client['buildUrl'];
12
+ export declare const mergeConfigs: (a: Config, b: Config) => Config;
13
+ export declare const mergeHeaders: (...headers: Array<Required<Config>["headers"] | undefined>) => Headers;
14
+ type ErrInterceptor<Err, Res, Req, Options> = (error: Err,
15
+ /** response may be undefined due to a network error where no response object is produced */
16
+ response: Res | undefined,
17
+ /** request may be undefined, because error may be from building the request object itself */
18
+ request: Req | undefined, options: Options) => Err | Promise<Err>;
19
+ type ReqInterceptor<Req, Options> = (request: Req, options: Options) => Req | Promise<Req>;
20
+ type ResInterceptor<Res, Req, Options> = (response: Res, request: Req, options: Options) => Res | Promise<Res>;
21
+ declare class Interceptors<Interceptor> {
22
+ fns: Array<Interceptor | null>;
23
+ clear(): void;
24
+ eject(id: number | Interceptor): void;
25
+ exists(id: number | Interceptor): boolean;
26
+ getInterceptorIndex(id: number | Interceptor): number;
27
+ update(id: number | Interceptor, fn: Interceptor): number | Interceptor | false;
28
+ use(fn: Interceptor): number;
29
+ }
30
+ export interface Middleware<Req, Res, Err, Options> {
31
+ error: Interceptors<ErrInterceptor<Err, Res, Req, Options>>;
32
+ request: Interceptors<ReqInterceptor<Req, Options>>;
33
+ response: Interceptors<ResInterceptor<Res, Req, Options>>;
34
+ }
35
+ export declare const createInterceptors: <Req, Res, Err, Options>() => Middleware<Req, Res, Err, Options>;
36
+ export declare const createConfig: <T extends ClientOptions = ClientOptions>(override?: Config<Omit<ClientOptions, keyof T> & T>) => Config<Omit<ClientOptions, keyof T> & T>;
37
+ export {};
@@ -0,0 +1,12 @@
1
+ import { type Client, type ClientOptions, type Config } from './client';
2
+ import type { ClientOptions as ClientOptions2 } from './types.gen';
3
+ /**
4
+ * The `createClientConfig()` function will be called on client initialization
5
+ * and the returned object will become the client's initial configuration.
6
+ *
7
+ * You may want to initialize your client this way instead of calling
8
+ * `setConfig()`. This is useful for example if you're using Next.js
9
+ * to ensure your client always has the correct values.
10
+ */
11
+ export type CreateClientConfig<T extends ClientOptions = ClientOptions2> = (override?: Config<ClientOptions & T>) => Config<Required<ClientOptions> & T>;
12
+ export declare const client: Client;
@@ -0,0 +1,25 @@
1
+ export type AuthToken = string | undefined;
2
+ export interface Auth {
3
+ /**
4
+ * Which part of the request do we use to send the auth?
5
+ *
6
+ * @default 'header'
7
+ */
8
+ in?: 'header' | 'query' | 'cookie';
9
+ /**
10
+ * A unique identifier for the security scheme.
11
+ *
12
+ * Defined only when there are multiple security schemes whose `Auth`
13
+ * shape would otherwise be identical.
14
+ */
15
+ key?: string;
16
+ /**
17
+ * Header or query parameter name.
18
+ *
19
+ * @default 'Authorization'
20
+ */
21
+ name?: string;
22
+ scheme?: 'basic' | 'bearer';
23
+ type: 'apiKey' | 'http';
24
+ }
25
+ export declare const getAuthToken: (auth: Auth, callback: ((auth: Auth) => Promise<AuthToken> | AuthToken) | AuthToken) => Promise<string | undefined>;
@@ -0,0 +1,25 @@
1
+ import type { ArrayStyle, ObjectStyle, SerializerOptions } from './pathSerializer.gen';
2
+ export type QuerySerializer = (query: Record<string, unknown>) => string;
3
+ export type BodySerializer = (body: unknown) => unknown;
4
+ type QuerySerializerOptionsObject = {
5
+ allowReserved?: boolean;
6
+ array?: Partial<SerializerOptions<ArrayStyle>>;
7
+ object?: Partial<SerializerOptions<ObjectStyle>>;
8
+ };
9
+ export type QuerySerializerOptions = QuerySerializerOptionsObject & {
10
+ /**
11
+ * Per-parameter serialization overrides. When provided, these settings
12
+ * override the global array/object settings for specific parameter names.
13
+ */
14
+ parameters?: Record<string, QuerySerializerOptionsObject>;
15
+ };
16
+ export declare const formDataBodySerializer: {
17
+ bodySerializer: (body: unknown) => FormData;
18
+ };
19
+ export declare const jsonBodySerializer: {
20
+ bodySerializer: (body: unknown) => string;
21
+ };
22
+ export declare const urlSearchParamsBodySerializer: {
23
+ bodySerializer: (body: unknown) => string;
24
+ };
25
+ export {};
@@ -0,0 +1,43 @@
1
+ type Slot = 'body' | 'headers' | 'path' | 'query';
2
+ export type Field = {
3
+ in: Exclude<Slot, 'body'>;
4
+ /**
5
+ * Field name. This is the name we want the user to see and use.
6
+ */
7
+ key: string;
8
+ /**
9
+ * Field mapped name. This is the name we want to use in the request.
10
+ * If omitted, we use the same value as `key`.
11
+ */
12
+ map?: string;
13
+ } | {
14
+ in: Extract<Slot, 'body'>;
15
+ /**
16
+ * Key isn't required for bodies.
17
+ */
18
+ key?: string;
19
+ map?: string;
20
+ } | {
21
+ /**
22
+ * Field name. This is the name we want the user to see and use.
23
+ */
24
+ key: string;
25
+ /**
26
+ * Field mapped name. This is the name we want to use in the request.
27
+ * If `in` is omitted, `map` aliases `key` to the transport layer.
28
+ */
29
+ map: Slot;
30
+ };
31
+ export interface Fields {
32
+ allowExtra?: Partial<Record<Slot, boolean>>;
33
+ args?: ReadonlyArray<Field>;
34
+ }
35
+ export type FieldsConfig = ReadonlyArray<Field | Fields>;
36
+ interface Params {
37
+ body?: unknown;
38
+ headers: Record<string, unknown>;
39
+ path: Record<string, unknown>;
40
+ query: Record<string, unknown>;
41
+ }
42
+ export declare function buildClientParams(args: ReadonlyArray<unknown>, fields: FieldsConfig): Params;
43
+ export {};
@@ -0,0 +1,33 @@
1
+ interface SerializeOptions<T> extends SerializePrimitiveOptions, SerializerOptions<T> {
2
+ }
3
+ interface SerializePrimitiveOptions {
4
+ allowReserved?: boolean;
5
+ name: string;
6
+ }
7
+ export interface SerializerOptions<T> {
8
+ /**
9
+ * @default true
10
+ */
11
+ explode: boolean;
12
+ style: T;
13
+ }
14
+ export type ArrayStyle = 'form' | 'spaceDelimited' | 'pipeDelimited';
15
+ export type ArraySeparatorStyle = ArrayStyle | MatrixStyle;
16
+ type MatrixStyle = 'label' | 'matrix' | 'simple';
17
+ export type ObjectStyle = 'form' | 'deepObject';
18
+ type ObjectSeparatorStyle = ObjectStyle | MatrixStyle;
19
+ interface SerializePrimitiveParam extends SerializePrimitiveOptions {
20
+ value: string;
21
+ }
22
+ export declare const separatorArrayExplode: (style: ArraySeparatorStyle) => "." | ";" | "," | "&";
23
+ export declare const separatorArrayNoExplode: (style: ArraySeparatorStyle) => "," | "|" | "%20";
24
+ export declare const separatorObjectExplode: (style: ObjectSeparatorStyle) => "." | ";" | "," | "&";
25
+ export declare const serializeArrayParam: ({ allowReserved, explode, name, style, value, }: SerializeOptions<ArraySeparatorStyle> & {
26
+ value: unknown[];
27
+ }) => string;
28
+ export declare const serializePrimitiveParam: ({ allowReserved, name, value, }: SerializePrimitiveParam) => string;
29
+ export declare const serializeObjectParam: ({ allowReserved, explode, name, style, value, valueOnly, }: SerializeOptions<ObjectSeparatorStyle> & {
30
+ value: Record<string, unknown> | Date;
31
+ valueOnly?: boolean;
32
+ }) => string;
33
+ export {};
@@ -0,0 +1,18 @@
1
+ /**
2
+ * JSON-friendly union that mirrors what Pinia Colada can hash.
3
+ */
4
+ export type JsonValue = null | string | number | boolean | JsonValue[] | {
5
+ [key: string]: JsonValue;
6
+ };
7
+ /**
8
+ * Replacer that converts non-JSON values (bigint, Date, etc.) to safe substitutes.
9
+ */
10
+ export declare const queryKeyJsonReplacer: (_key: string, value: unknown) => unknown | undefined;
11
+ /**
12
+ * Safely stringifies a value and parses it back into a JsonValue.
13
+ */
14
+ export declare const stringifyToJsonValue: (input: unknown) => JsonValue | undefined;
15
+ /**
16
+ * Normalizes any accepted value into a JSON-friendly shape for query keys.
17
+ */
18
+ export declare const serializeQueryKeyValue: (value: unknown) => JsonValue | undefined;
@@ -0,0 +1,71 @@
1
+ import type { Config } from './types.gen';
2
+ export type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, 'method'> & Pick<Config, 'method' | 'responseTransformer' | 'responseValidator'> & {
3
+ /**
4
+ * Fetch API implementation. You can use this option to provide a custom
5
+ * fetch instance.
6
+ *
7
+ * @default globalThis.fetch
8
+ */
9
+ fetch?: typeof fetch;
10
+ /**
11
+ * Implementing clients can call request interceptors inside this hook.
12
+ */
13
+ onRequest?: (url: string, init: RequestInit) => Promise<Request>;
14
+ /**
15
+ * Callback invoked when a network or parsing error occurs during streaming.
16
+ *
17
+ * This option applies only if the endpoint returns a stream of events.
18
+ *
19
+ * @param error The error that occurred.
20
+ */
21
+ onSseError?: (error: unknown) => void;
22
+ /**
23
+ * Callback invoked when an event is streamed from the server.
24
+ *
25
+ * This option applies only if the endpoint returns a stream of events.
26
+ *
27
+ * @param event Event streamed from the server.
28
+ * @returns Nothing (void).
29
+ */
30
+ onSseEvent?: (event: StreamEvent<TData>) => void;
31
+ serializedBody?: RequestInit['body'];
32
+ /**
33
+ * Default retry delay in milliseconds.
34
+ *
35
+ * This option applies only if the endpoint returns a stream of events.
36
+ *
37
+ * @default 3000
38
+ */
39
+ sseDefaultRetryDelay?: number;
40
+ /**
41
+ * Maximum number of retry attempts before giving up.
42
+ */
43
+ sseMaxRetryAttempts?: number;
44
+ /**
45
+ * Maximum retry delay in milliseconds.
46
+ *
47
+ * Applies only when exponential backoff is used.
48
+ *
49
+ * This option applies only if the endpoint returns a stream of events.
50
+ *
51
+ * @default 30000
52
+ */
53
+ sseMaxRetryDelay?: number;
54
+ /**
55
+ * Optional sleep function for retry backoff.
56
+ *
57
+ * Defaults to using `setTimeout`.
58
+ */
59
+ sseSleepFn?: (ms: number) => Promise<void>;
60
+ url: string;
61
+ };
62
+ export interface StreamEvent<TData = unknown> {
63
+ data: TData;
64
+ event?: string;
65
+ id?: string;
66
+ retry?: number;
67
+ }
68
+ export type ServerSentEventsResult<TData = unknown, TReturn = void, TNext = unknown> = {
69
+ stream: AsyncGenerator<TData extends Record<string, unknown> ? TData[keyof TData] : TData, TReturn, TNext>;
70
+ };
71
+ export declare function createSseClient<TData = unknown>({ onRequest, onSseError, onSseEvent, responseTransformer, responseValidator, sseDefaultRetryDelay, sseMaxRetryAttempts, sseMaxRetryDelay, sseSleepFn, url, ...options }: ServerSentEventsOptions): ServerSentEventsResult<TData>;
@@ -0,0 +1,83 @@
1
+ import type { Auth, AuthToken } from './auth.gen';
2
+ import type { BodySerializer, QuerySerializer, QuerySerializerOptions } from './bodySerializer.gen';
3
+ export type HttpMethod = 'connect' | 'delete' | 'get' | 'head' | 'options' | 'patch' | 'post' | 'put' | 'trace';
4
+ export type Client<RequestFn = never, Config = unknown, MethodFn = never, BuildUrlFn = never, SseFn = never> = {
5
+ /**
6
+ * Returns the final request URL.
7
+ */
8
+ buildUrl: BuildUrlFn;
9
+ getConfig: () => Config;
10
+ request: RequestFn;
11
+ setConfig: (config: Config) => Config;
12
+ } & {
13
+ [K in HttpMethod]: MethodFn;
14
+ } & ([SseFn] extends [never] ? {
15
+ sse?: never;
16
+ } : {
17
+ sse: {
18
+ [K in HttpMethod]: SseFn;
19
+ };
20
+ });
21
+ export interface Config {
22
+ /**
23
+ * Auth token or a function returning auth token. The resolved value will be
24
+ * added to the request payload as defined by its `security` array.
25
+ */
26
+ auth?: ((auth: Auth) => Promise<AuthToken> | AuthToken) | AuthToken;
27
+ /**
28
+ * A function for serializing request body parameter. By default,
29
+ * {@link JSON.stringify()} will be used.
30
+ */
31
+ bodySerializer?: BodySerializer | null;
32
+ /**
33
+ * An object containing any HTTP headers that you want to pre-populate your
34
+ * `Headers` object with.
35
+ *
36
+ * {@link https://developer.mozilla.org/docs/Web/API/Headers/Headers#init See more}
37
+ */
38
+ headers?: RequestInit['headers'] | Record<string, string | number | boolean | (string | number | boolean)[] | null | undefined | unknown>;
39
+ /**
40
+ * The request method.
41
+ *
42
+ * {@link https://developer.mozilla.org/docs/Web/API/fetch#method See more}
43
+ */
44
+ method?: Uppercase<HttpMethod>;
45
+ /**
46
+ * A function for serializing request query parameters. By default, arrays
47
+ * will be exploded in form style, objects will be exploded in deepObject
48
+ * style, and reserved characters are percent-encoded.
49
+ *
50
+ * This method will have no effect if the native `paramsSerializer()` Axios
51
+ * API function is used.
52
+ *
53
+ * {@link https://swagger.io/docs/specification/serialization/#query View examples}
54
+ */
55
+ querySerializer?: QuerySerializer | QuerySerializerOptions;
56
+ /**
57
+ * A function validating request data. This is useful if you want to ensure
58
+ * the request conforms to the desired shape, so it can be safely sent to
59
+ * the server.
60
+ */
61
+ requestValidator?: (data: unknown) => Promise<unknown>;
62
+ /**
63
+ * A function transforming response data before it's returned. This is useful
64
+ * for post-processing data, e.g., converting ISO strings into Date objects.
65
+ */
66
+ responseTransformer?: (data: unknown) => Promise<unknown>;
67
+ /**
68
+ * A function validating response data. This is useful if you want to ensure
69
+ * the response conforms to the desired shape, so it can be safely passed to
70
+ * the transformers and returned to the user.
71
+ */
72
+ responseValidator?: (data: unknown) => Promise<unknown>;
73
+ }
74
+ /**
75
+ * Arbitrary metadata passed through the `meta` request option.
76
+ */
77
+ export interface ClientMeta {
78
+ }
79
+ type IsExactlyNeverOrNeverUndefined<T> = [T] extends [never] ? true : [T] extends [never | undefined] ? [undefined] extends [T] ? false : true : false;
80
+ export type OmitNever<T extends Record<string, unknown>> = {
81
+ [K in keyof T as IsExactlyNeverOrNeverUndefined<T[K]> extends true ? never : K]: T[K];
82
+ };
83
+ export {};
@@ -0,0 +1,19 @@
1
+ import type { BodySerializer, QuerySerializer } from './bodySerializer.gen';
2
+ export interface PathSerializer {
3
+ path: Record<string, unknown>;
4
+ url: string;
5
+ }
6
+ export declare const PATH_PARAM_RE: RegExp;
7
+ export declare const defaultPathSerializer: ({ path, url: _url }: PathSerializer) => string;
8
+ export declare const getUrl: ({ baseUrl, path, query, querySerializer, url: _url, }: {
9
+ baseUrl?: string;
10
+ path?: Record<string, unknown>;
11
+ query?: Record<string, unknown>;
12
+ querySerializer: QuerySerializer;
13
+ url: string;
14
+ }) => string;
15
+ export declare function getValidRequestBody(options: {
16
+ body?: unknown;
17
+ bodySerializer?: BodySerializer | null;
18
+ serializedBody?: unknown;
19
+ }): unknown;
@@ -0,0 +1,3 @@
1
+ export { client, type CreateClientConfig } from './client.gen';
2
+ export { CulturesService, GlossaryService, JobService, LicenceService, MemoryService, NodeService, type Options, ProviderService, SetService, SettingsService, StatusService, } from './sdk.gen';
3
+ export { type BulkSelectionNode, type BulkSelectionRequestItem, type BulkSelectionResult, type ClientOptions, type CloneNodeOptions, type CopyMemoryRequest, type CopyMemoryResponse, type CultureInfoView, type CulturesGetInfoData, type CulturesGetInfoErrors, type CulturesGetInfoResponse, type CulturesGetInfoResponses, type FlagModel, type GlossaryClearPairData, type GlossaryClearPairErrors, type GlossaryClearPairResponse, type GlossaryClearPairResponses, type GlossaryDeleteData, type GlossaryDeleteErrors, type GlossaryDeleteManyData, type GlossaryDeleteManyErrors, type GlossaryDeleteManyResponse, type GlossaryDeleteManyResponses, type GlossaryDeleteResponse, type GlossaryDeleteResponses, type GlossaryEnabledData, type GlossaryEnabledErrors, type GlossaryEnabledResponse, type GlossaryEnabledResponses, type GlossaryExportData, type GlossaryExportErrors, type GlossaryExportResponses, type GlossaryExportTbxData, type GlossaryExportTbxErrors, type GlossaryExportTbxResponses, type GlossaryGetAllData, type GlossaryGetAllErrors, type GlossaryGetAllResponse, type GlossaryGetAllResponses, type GlossaryGetData, type GlossaryGetErrors, type GlossaryGetResponse, type GlossaryGetResponses, type GlossaryImportData, type GlossaryImportErrors, type GlossaryImportResponse, type GlossaryImportResponses, type GlossaryImportResult, type GlossaryImportTbxData, type GlossaryImportTbxErrors, type GlossaryImportTbxResponse, type GlossaryImportTbxResponses, type GlossaryLanguageStats, type GlossarySaveData, type GlossarySaveErrors, type GlossarySaveResponse, type GlossarySaveResponses, type GlossarySourceLanguagesData, type GlossarySourceLanguagesErrors, type GlossarySourceLanguagesResponse, type GlossarySourceLanguagesResponses, type GlossaryStatsData, type GlossaryStatsErrors, type GlossaryStatsResponse, type GlossaryStatsResponses, type GlossaryTerm, type GlossaryTermValue, type GlossaryValueLanguagesData, type GlossaryValueLanguagesErrors, type GlossaryValueLanguagesResponse, type GlossaryValueLanguagesResponses, JobApprovalStatus, type JobArchiveData, type JobArchiveErrors, type JobArchiveResponse, type JobArchiveResponses, type JobBulkCancelData, type JobBulkCancelErrors, type JobBulkCancelResponse, type JobBulkCancelResponses, type JobBulkCheckData, type JobBulkCheckErrors, type JobBulkCheckResponse, type JobBulkCheckResponses, type JobBulkRemoveData, type JobBulkRemoveErrors, type JobBulkRemoveResponse, type JobBulkRemoveResponses, type JobCancelData, type JobCancelErrors, type JobCancelResponse, type JobCancelResponses, type JobCheckAllPendingData, type JobCheckAllPendingErrors, type JobCheckAllPendingResponse, type JobCheckAllPendingResponses, type JobCheckPendingData, type JobCheckPendingError, type JobCheckPendingErrors, type JobCheckPendingResponse, type JobCheckPendingResponses, type JobGetAllData, type JobGetAllErrors, type JobGetAllResponse, type JobGetAllResponses, type JobGetArchivedByCultureData, type JobGetArchivedByCultureErrors, type JobGetArchivedByCultureResponse, type JobGetArchivedByCultureResponses, type JobGetByContentIdData, type JobGetByContentIdErrors, type JobGetByContentIdResponse, type JobGetByContentIdResponses, type JobGetByCultureAndStatusData, type JobGetByCultureAndStatusErrors, type JobGetByCultureAndStatusResponse, type JobGetByCultureAndStatusResponses, type JobGetByCultureData, type JobGetByCultureErrors, type JobGetByCulturePagedData, type JobGetByCulturePagedErrors, type JobGetByCulturePagedResponse, type JobGetByCulturePagedResponses, type JobGetByCultureResponse, type JobGetByCultureResponses, type JobGetByKeyData, type JobGetByKeyErrors, type JobGetByKeyResponse, type JobGetByKeyResponses, type JobGetByStatusData, type JobGetByStatusErrors, type JobGetByStatusResponse, type JobGetByStatusResponses, type JobGetData, type JobGetErrors, type JobGetFullData, type JobGetFullErrors, type JobGetFullResponse, type JobGetFullResponses, type JobGetHistoryData, type JobGetHistoryErrors, type JobGetHistoryResponse, type JobGetHistoryResponses, type JobGetNodeCountData, type JobGetNodeCountErrors, type JobGetNodeCountResponse, type JobGetNodeCountResponses, type JobGetNodesByJobData, type JobGetNodesByJobErrors, type JobGetNodesByJobResponse, type JobGetNodesByJobResponses, type JobGetNodesData, type JobGetNodesErrors, type JobGetNodesResponse, type JobGetNodesResponses, type JobGetResponse, type JobGetResponses, type JobGetStatsData, type JobGetStatsErrors, type JobGetStatsResponse, type JobGetStatsResponses, type JobGetStatusData, type JobGetStatusErrors, type JobGetStatusResponse, type JobGetStatusResponses, type JobGetStatusSummaryCountData, type JobGetStatusSummaryCountErrors, type JobGetStatusSummaryCountResponse, type JobGetStatusSummaryCountResponses, type JobGetStatusSummaryData, type JobGetStatusSummaryErrors, type JobGetStatusSummaryRangeData, type JobGetStatusSummaryRangeErrors, type JobGetStatusSummaryRangeResponse, type JobGetStatusSummaryRangeResponses, type JobGetStatusSummaryResponse, type JobGetStatusSummaryResponses, type JobOptions, type JobRemoveData, type JobRemoveErrors, type JobRemoveResponse, type JobRemoveResponses, type JobResetData, type JobResetErrors, type JobResetResponse, type JobResetResponses, JobStatus, type JobStatusStats, type JobUpdateCopyPropertiesData, type JobUpdateCopyPropertiesErrors, type JobUpdateCopyPropertiesResponse, type JobUpdateCopyPropertiesResponses, type JsonNode, type JsonNodeOptions, type JsonNodeWritable, type LicenceInfo, type LicenceIsLicencedData, type LicenceIsLicencedErrors, type LicenceIsLicencedResponse, type LicenceIsLicencedResponses, LicenceStatus, type LicenceStatusData, type LicenceStatusErrors, type LicenceStatusResponse, type LicenceStatusResponses, LicenceType, type LicenceValidData, type LicenceValidErrors, type LicenceValidResponse, type LicenceValidResponses, type MemoryCopyData, type MemoryCopyErrors, type MemoryCopyResponse, type MemoryCopyResponses, type MemoryCountData, type MemoryCountErrors, type MemoryCountResponse, type MemoryCountResponses, type MemoryDeleteAllData, type MemoryDeleteAllErrors, type MemoryDeleteAllResponse, type MemoryDeleteAllResponses, type MemoryDeleteBySourceData, type MemoryDeleteBySourceErrors, type MemoryDeleteBySourceResponse, type MemoryDeleteBySourceResponses, type MemoryDeleteData, type MemoryDeleteErrors, type MemoryDeleteResponse, type MemoryDeleteResponses, type MemoryEnabledData, type MemoryEnabledErrors, type MemoryEnabledResponse, type MemoryEnabledResponses, type MemoryGetAllData, type MemoryGetAllErrors, type MemoryGetAllResponse, type MemoryGetAllResponses, type MemoryGetBySourceData, type MemoryGetBySourceErrors, type MemoryGetBySourcePagedData, type MemoryGetBySourcePagedErrors, type MemoryGetBySourcePagedResponse, type MemoryGetBySourcePagedResponses, type MemoryGetBySourceResponse, type MemoryGetBySourceResponses, type MemorySourceCountsData, type MemorySourceCountsErrors, type MemorySourceCountsResponse, type MemorySourceCountsResponses, type MemorySourcesData, type MemorySourcesErrors, type MemorySourcesResponse, type MemorySourcesResponses, type MemoryUpdateData, type MemoryUpdateErrors, type MemoryUpdateResponse, type MemoryUpdateResponses, type NodeCloneData, type NodeCloneError, type NodeCloneErrors, type NodeCloneResponses, type NodeDeleteByKeyData, type NodeDeleteByKeyErrors, type NodeDeleteByKeyResponses, type NodeDeleteData, type NodeDeleteErrors, type NodeDeleteResponses, type NodeGetAllCulturesData, type NodeGetAllCulturesErrors, type NodeGetAllCulturesResponse, type NodeGetAllCulturesResponses, type NodeGetAllData, type NodeGetAllErrors, type NodeGetAllResponse, type NodeGetAllResponses, type NodeGetBulkSelectionData, type NodeGetBulkSelectionErrors, type NodeGetBulkSelectionResponse, type NodeGetBulkSelectionResponses, type NodeGetByCultureAndStatusData, type NodeGetByCultureAndStatusErrors, type NodeGetByCultureAndStatusPagedData, type NodeGetByCultureAndStatusPagedErrors, type NodeGetByCultureAndStatusPagedResponse, type NodeGetByCultureAndStatusPagedResponses, type NodeGetByCultureAndStatusResponse, type NodeGetByCultureAndStatusResponses, type NodeGetByCultureData, type NodeGetByCultureErrors, type NodeGetByCultureResponse, type NodeGetByCultureResponses, type NodeGetByKeyData, type NodeGetByKeyErrors, type NodeGetByKeyResponse, type NodeGetByKeyResponses, type NodeGetByNodeAndStatusPagedData, type NodeGetByNodeAndStatusPagedErrors, type NodeGetByNodeAndStatusPagedResponse, type NodeGetByNodeAndStatusPagedResponses, type NodeGetData, type NodeGetErrors, type NodeGetPathsData, type NodeGetPathsErrors, type NodeGetPathsResponse, type NodeGetPathsResponses, type NodeGetResponse, type NodeGetResponses, type NodeGetStatusSummaryData, type NodeGetStatusSummaryErrors, type NodeGetStatusSummaryResponse, type NodeGetStatusSummaryResponses, type NodeGetSummaryCountData, type NodeGetSummaryCountErrors, type NodeGetSummaryCountResponse, type NodeGetSummaryCountResponses, type NodeGetWordCountInfoData, type NodeGetWordCountInfoErrors, type NodeGetWordCountInfoResponse, type NodeGetWordCountInfoResponses, type NodeNodeRemovePropertyData, type NodeNodeRemovePropertyErrors, type NodeNodeRemovePropertyResponses, type NodeRemoveByCultureData, type NodeRemoveByCultureErrors, type NodeRemoveByCultureResponse, type NodeRemoveByCultureResponses, type NodeSavePropertyData, type NodeSavePropertyErrors, type NodeSavePropertyResponses, NodeStatus, type NodeUpdatePropertiesData, type NodeUpdatePropertiesError, type NodeUpdatePropertiesErrors, type NodeUpdatePropertiesResponses, type NodeUpdateTranslationValueData, type NodeUpdateTranslationValueErrors, type NodeUpdateTranslationValueResponses, type PagedMemoryResponse, type PagedModelGlossaryTermModel, type PagedModelTranslationJobViewModel, type PagedModelTranslationJobViewModelWritable, type PagedModelTranslationNodeModel, type PagedTranslationLanguageItemResponseModel, type ProblemDetails, type ProviderGetActiveData, type ProviderGetActiveErrors, type ProviderGetActiveResponse, type ProviderGetActiveResponses, type ProviderGetAllData, type ProviderGetAllErrors, type ProviderGetAllResponse, type ProviderGetAllResponses, type ProviderGetByAliasData, type ProviderGetByAliasErrors, type ProviderGetByAliasResponse, type ProviderGetByAliasResponses, type ProviderGetData, type ProviderGetErrors, type ProviderGetResponse, type ProviderGetResponses, type ProviderGetSettingsByAliasData, type ProviderGetSettingsByAliasErrors, type ProviderGetSettingsByAliasResponse, type ProviderGetSettingsByAliasResponses, type ProviderGetSettingsData, type ProviderGetSettingsErrors, type ProviderGetSettingsResponse, type ProviderGetSettingsResponses, type ProviderSaveSettingsData, type ProviderSaveSettingsErrors, type ProviderSaveSettingsResponse, type ProviderSaveSettingsResponses, type SaveGlossaryTermRequest, type SaveGlossaryTermValueRequest, type SetCheckTargetsData, type SetCheckTargetsErrors, type SetCheckTargetsResponse, type SetCheckTargetsResponses, type SetCopyData, type SetCopyErrors, type SetCopyResponse, type SetCopyResponses, type SetDeleteData, type SetDeleteErrors, type SetDeleteResponses, type SetGetAllData, type SetGetAllErrors, type SetGetAllResponse, type SetGetAllResponses, type SetGetByContentKeyData, type SetGetByContentKeyErrors, type SetGetByContentKeyResponse, type SetGetByContentKeyResponses, type SetGetByKeyData, type SetGetByKeyErrors, type SetGetByKeyResponse, type SetGetByKeyResponses, type SetGetByTargetNodeData, type SetGetByTargetNodeErrors, type SetGetByTargetNodeResponse, type SetGetByTargetNodeResponses, type SetGetByUniqueAndEntityTypeData, type SetGetByUniqueAndEntityTypeErrors, type SetGetByUniqueAndEntityTypeResponse, type SetGetByUniqueAndEntityTypeResponses, type SetGetConfiguredCulturesData, type SetGetConfiguredCulturesErrors, type SetGetConfiguredCulturesResponse, type SetGetConfiguredCulturesResponses, type SetGetContentCultureInfoData, type SetGetContentCultureInfoErrors, type SetGetContentCultureInfoResponse, type SetGetContentCultureInfoResponses, type SetGetCulturesData, type SetGetCulturesErrors, type SetGetCulturesResponse, type SetGetCulturesResponses, type SetGetData, type SetGetErrors, type SetGetInstalledCulturesData, type SetGetInstalledCulturesErrors, type SetGetInstalledCulturesResponse, type SetGetInstalledCulturesResponses, type SetGetNotifySettingsData, type SetGetNotifySettingsErrors, type SetGetNotifySettingsResponse, type SetGetNotifySettingsResponses, type SetGetResponse, type SetGetResponses, type SetGetSetNodesData, type SetGetSetNodesErrors, type SetGetSetNodesResponse, type SetGetSetNodesResponses, type SetSaveNotifiySettingsData, type SetSaveNotifiySettingsError, type SetSaveNotifiySettingsErrors, type SetSaveNotifiySettingsResponse, type SetSaveNotifiySettingsResponses, type SetSaveSettingsData, type SetSaveSettingsError, type SetSaveSettingsErrors, type SetSaveSettingsResponse, type SetSaveSettingsResponses, type SettingsCheckLicenceData, type SettingsCheckLicenceErrors, type SettingsCheckLicenceResponse, type SettingsCheckLicenceResponses, type SettingsGetData, type SettingsGetErrors, type SettingsGetProvidersContentData, type SettingsGetProvidersContentErrors, type SettingsGetProvidersContentResponse, type SettingsGetProvidersContentResponses, type SettingsGetResponse, type SettingsGetResponses, type SettingsGetSetupData, type SettingsGetSetupErrors, type SettingsGetSetupResponse, type SettingsGetSetupResponses, type SettingsGetUpdateData, type SettingsGetUpdateErrors, type SettingsGetUpdateResponse, type SettingsGetUpdateResponses, type SettingsSaveData, type SettingsSaveErrors, type SettingsSaveLicenceData, type SettingsSaveLicenceErrors, type SettingsSaveLicenceResponses, type SettingsSaveResponses, type SetTreeAncestorsData, type SetTreeAncestorsError, type SetTreeAncestorsErrors, type SetTreeAncestorsResponse, type SetTreeAncestorsResponses, type SetTreeChildrenData, type SetTreeChildrenError, type SetTreeChildrenErrors, type SetTreeChildrenResponse, type SetTreeChildrenResponses, type SetTreeRootData, type SetTreeRootError, type SetTreeRootErrors, type SetTreeRootResponse, type SetTreeRootResponses, type SiteDetail, type SiteItemView, type SiteUpdateValues, type SourceMemoryCounts, type StatusGetStatusData, type StatusGetStatusErrors, type StatusGetStatusResponse, type StatusGetStatusResponses, type StatusSummaryCount, type SummaryItem, type TagSettings, type TranslateMapperInfo, type TranslateProviderInfo, type TranslateSettings, type TranslateSettingsLinks, type TranslateSettingsNotifications, type TranslateSetupInfo, type TranslateUpdate, type TranslationAuditItem, TranslationEventType, type TranslationJobView, type TranslationJobViewWritable, type TranslationLanguageItemResponseModel, type TranslationMemory, type TranslationNode, type TranslationNodeStatus, type TranslationProcessingOptions, type TranslationProperty, type TranslationPropertyGroup, type TranslationProviderInfo, type TranslationProviderViews, type TranslationReferenceByNameModel, type TranslationSet, type TranslationSetNotifications, type TranslationSetSite, type TranslationSetsResults, type TranslationTargetInfo, type TranslationValue, type UpdateMemoryRequest, type WordCountInfo, } from './types.gen';