@simpleapps-com/augur-api 2026.10.31 → 2026.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (361) hide show
  1. package/README.md +84 -33
  2. package/SKILL.md +25 -24
  3. package/dist/client.d.ts +334 -0
  4. package/dist/client.d.ts.map +1 -0
  5. package/dist/core/base-client.d.ts +179 -0
  6. package/dist/core/base-client.d.ts.map +1 -0
  7. package/dist/core/call-rules.d.ts +73 -0
  8. package/dist/core/call-rules.d.ts.map +1 -0
  9. package/dist/core/call.d.ts +48 -0
  10. package/dist/core/call.d.ts.map +1 -0
  11. package/dist/core/client.d.ts +112 -0
  12. package/dist/core/client.d.ts.map +1 -0
  13. package/dist/core/common-schemas.d.ts +522 -0
  14. package/dist/core/common-schemas.d.ts.map +1 -0
  15. package/dist/core/config.d.ts +72 -0
  16. package/dist/core/config.d.ts.map +1 -0
  17. package/dist/core/encoded-segment.d.ts +23 -0
  18. package/dist/core/encoded-segment.d.ts.map +1 -0
  19. package/dist/core/errors.d.ts +91 -0
  20. package/dist/core/errors.d.ts.map +1 -0
  21. package/dist/core/http-rules.d.ts +64 -0
  22. package/dist/core/http-rules.d.ts.map +1 -0
  23. package/dist/core/path-validation.d.ts +28 -0
  24. package/dist/core/path-validation.d.ts.map +1 -0
  25. package/dist/core/proxy-rules.d.ts +21 -0
  26. package/dist/core/proxy-rules.d.ts.map +1 -0
  27. package/dist/core/registry-rules.d.ts +15 -0
  28. package/dist/core/registry-rules.d.ts.map +1 -0
  29. package/dist/core/registry-tables.d.ts +3 -0
  30. package/dist/core/registry-tables.d.ts.map +1 -0
  31. package/dist/core/registry.d.ts +54 -0
  32. package/dist/core/registry.d.ts.map +1 -0
  33. package/dist/core/response-rules.d.ts +19 -0
  34. package/dist/core/response-rules.d.ts.map +1 -0
  35. package/dist/core/schemas.d.ts +70 -0
  36. package/dist/core/schemas.d.ts.map +1 -0
  37. package/dist/core/service-proxy.d.ts +81 -0
  38. package/dist/core/service-proxy.d.ts.map +1 -0
  39. package/dist/core/site-id-check.d.ts +6 -0
  40. package/dist/core/site-id-check.d.ts.map +1 -0
  41. package/dist/core/site-id.d.ts +15 -0
  42. package/dist/core/site-id.d.ts.map +1 -0
  43. package/dist/index.d.ts +71 -236
  44. package/dist/index.d.ts.map +1 -0
  45. package/dist/index.js +19875 -18513
  46. package/dist/index.js.map +1 -1
  47. package/dist/index.mjs +19874 -18513
  48. package/dist/index.mjs.map +1 -1
  49. package/dist/services/agr-info/client.d.ts +71 -0
  50. package/dist/services/agr-info/client.d.ts.map +1 -0
  51. package/dist/services/agr-info/generated/endpoints.d.ts +41 -0
  52. package/dist/services/agr-info/generated/endpoints.d.ts.map +1 -0
  53. package/dist/services/agr-info/generated/schemas.d.ts +297 -0
  54. package/dist/services/agr-info/generated/schemas.d.ts.map +1 -0
  55. package/dist/services/agr-info/generated/types.d.ts +1093 -0
  56. package/dist/services/agr-info/generated/types.d.ts.map +1 -0
  57. package/dist/services/agr-info/index.d.ts +2 -0
  58. package/dist/services/agr-info/index.d.ts.map +1 -0
  59. package/dist/services/agr-int/client.d.ts +100 -0
  60. package/dist/services/agr-int/client.d.ts.map +1 -0
  61. package/dist/services/agr-int/generated/endpoints.d.ts +42 -0
  62. package/dist/services/agr-int/generated/endpoints.d.ts.map +1 -0
  63. package/dist/services/agr-int/generated/schemas.d.ts +595 -0
  64. package/dist/services/agr-int/generated/schemas.d.ts.map +1 -0
  65. package/dist/services/agr-int/generated/types.d.ts +1984 -0
  66. package/dist/services/agr-int/generated/types.d.ts.map +1 -0
  67. package/dist/services/agr-int/index.d.ts +2 -0
  68. package/dist/services/agr-int/index.d.ts.map +1 -0
  69. package/dist/services/agr-site/client.d.ts +112 -0
  70. package/dist/services/agr-site/client.d.ts.map +1 -0
  71. package/dist/services/agr-site/generated/endpoints.d.ts +42 -0
  72. package/dist/services/agr-site/generated/endpoints.d.ts.map +1 -0
  73. package/dist/services/agr-site/generated/schemas.d.ts +537 -0
  74. package/dist/services/agr-site/generated/schemas.d.ts.map +1 -0
  75. package/dist/services/agr-site/generated/types.d.ts +1732 -0
  76. package/dist/services/agr-site/generated/types.d.ts.map +1 -0
  77. package/dist/services/agr-site/index.d.ts +2 -0
  78. package/dist/services/agr-site/index.d.ts.map +1 -0
  79. package/dist/services/agr-work/client.d.ts +23 -0
  80. package/dist/services/agr-work/client.d.ts.map +1 -0
  81. package/dist/services/agr-work/generated/endpoints.d.ts +41 -0
  82. package/dist/services/agr-work/generated/endpoints.d.ts.map +1 -0
  83. package/dist/services/agr-work/generated/schemas.d.ts +21 -0
  84. package/dist/services/agr-work/generated/schemas.d.ts.map +1 -0
  85. package/dist/services/agr-work/generated/types.d.ts +19 -0
  86. package/dist/services/agr-work/generated/types.d.ts.map +1 -0
  87. package/dist/services/agr-work/index.d.ts +2 -0
  88. package/dist/services/agr-work/index.d.ts.map +1 -0
  89. package/dist/services/avalara/client.d.ts +33 -0
  90. package/dist/services/avalara/client.d.ts.map +1 -0
  91. package/dist/services/avalara/generated/endpoints.d.ts +41 -0
  92. package/dist/services/avalara/generated/endpoints.d.ts.map +1 -0
  93. package/dist/services/avalara/generated/schemas.d.ts +22 -0
  94. package/dist/services/avalara/generated/schemas.d.ts.map +1 -0
  95. package/dist/services/avalara/generated/types.d.ts +103 -0
  96. package/dist/services/avalara/generated/types.d.ts.map +1 -0
  97. package/dist/services/avalara/index.d.ts +2 -0
  98. package/dist/services/avalara/index.d.ts.map +1 -0
  99. package/dist/services/basecamp2/client.d.ts +92 -0
  100. package/dist/services/basecamp2/client.d.ts.map +1 -0
  101. package/dist/services/basecamp2/generated/endpoints.d.ts +42 -0
  102. package/dist/services/basecamp2/generated/endpoints.d.ts.map +1 -0
  103. package/dist/services/basecamp2/generated/schemas.d.ts +845 -0
  104. package/dist/services/basecamp2/generated/schemas.d.ts.map +1 -0
  105. package/dist/services/basecamp2/generated/types.d.ts +1587 -0
  106. package/dist/services/basecamp2/generated/types.d.ts.map +1 -0
  107. package/dist/services/basecamp2/index.d.ts +2 -0
  108. package/dist/services/basecamp2/index.d.ts.map +1 -0
  109. package/dist/services/brand-folder/client.d.ts +37 -0
  110. package/dist/services/brand-folder/client.d.ts.map +1 -0
  111. package/dist/services/brand-folder/generated/endpoints.d.ts +41 -0
  112. package/dist/services/brand-folder/generated/endpoints.d.ts.map +1 -0
  113. package/dist/services/brand-folder/generated/schemas.d.ts +81 -0
  114. package/dist/services/brand-folder/generated/schemas.d.ts.map +1 -0
  115. package/dist/services/brand-folder/generated/types.d.ts +195 -0
  116. package/dist/services/brand-folder/generated/types.d.ts.map +1 -0
  117. package/dist/services/brand-folder/index.d.ts +2 -0
  118. package/dist/services/brand-folder/index.d.ts.map +1 -0
  119. package/dist/services/commerce/client.d.ts +57 -0
  120. package/dist/services/commerce/client.d.ts.map +1 -0
  121. package/dist/services/commerce/generated/endpoints.d.ts +42 -0
  122. package/dist/services/commerce/generated/endpoints.d.ts.map +1 -0
  123. package/dist/services/commerce/generated/schemas.d.ts +319 -0
  124. package/dist/services/commerce/generated/schemas.d.ts.map +1 -0
  125. package/dist/services/commerce/generated/types.d.ts +1134 -0
  126. package/dist/services/commerce/generated/types.d.ts.map +1 -0
  127. package/dist/services/commerce/index.d.ts +2 -0
  128. package/dist/services/commerce/index.d.ts.map +1 -0
  129. package/dist/services/customers/client.d.ts +162 -0
  130. package/dist/services/customers/client.d.ts.map +1 -0
  131. package/dist/services/customers/generated/endpoints.d.ts +42 -0
  132. package/dist/services/customers/generated/endpoints.d.ts.map +1 -0
  133. package/dist/services/customers/generated/schemas.d.ts +1970 -0
  134. package/dist/services/customers/generated/schemas.d.ts.map +1 -0
  135. package/dist/services/customers/generated/types.d.ts +3849 -0
  136. package/dist/services/customers/generated/types.d.ts.map +1 -0
  137. package/dist/services/customers/index.d.ts +2 -0
  138. package/dist/services/customers/index.d.ts.map +1 -0
  139. package/dist/services/goog-mc/client.d.ts +44 -0
  140. package/dist/services/goog-mc/client.d.ts.map +1 -0
  141. package/dist/services/goog-mc/generated/endpoints.d.ts +42 -0
  142. package/dist/services/goog-mc/generated/endpoints.d.ts.map +1 -0
  143. package/dist/services/goog-mc/generated/schemas.d.ts +175 -0
  144. package/dist/services/goog-mc/generated/schemas.d.ts.map +1 -0
  145. package/dist/services/goog-mc/generated/types.d.ts +361 -0
  146. package/dist/services/goog-mc/generated/types.d.ts.map +1 -0
  147. package/dist/services/goog-mc/index.d.ts +2 -0
  148. package/dist/services/goog-mc/index.d.ts.map +1 -0
  149. package/dist/services/gregorovich/client.d.ts +34 -0
  150. package/dist/services/gregorovich/client.d.ts.map +1 -0
  151. package/dist/services/gregorovich/generated/endpoints.d.ts +42 -0
  152. package/dist/services/gregorovich/generated/endpoints.d.ts.map +1 -0
  153. package/dist/services/gregorovich/generated/schemas.d.ts +35 -0
  154. package/dist/services/gregorovich/generated/schemas.d.ts.map +1 -0
  155. package/dist/services/gregorovich/generated/types.d.ts +70 -0
  156. package/dist/services/gregorovich/generated/types.d.ts.map +1 -0
  157. package/dist/services/gregorovich/index.d.ts +2 -0
  158. package/dist/services/gregorovich/index.d.ts.map +1 -0
  159. package/dist/services/items/client.d.ts +453 -0
  160. package/dist/services/items/client.d.ts.map +1 -0
  161. package/dist/services/items/generated/endpoints.d.ts +42 -0
  162. package/dist/services/items/generated/endpoints.d.ts.map +1 -0
  163. package/dist/services/items/generated/schemas.d.ts +4636 -0
  164. package/dist/services/items/generated/schemas.d.ts.map +1 -0
  165. package/dist/services/items/generated/types.d.ts +10513 -0
  166. package/dist/services/items/generated/types.d.ts.map +1 -0
  167. package/dist/services/items/index.d.ts +2 -0
  168. package/dist/services/items/index.d.ts.map +1 -0
  169. package/dist/services/joomla/client.d.ts +74 -0
  170. package/dist/services/joomla/client.d.ts.map +1 -0
  171. package/dist/services/joomla/generated/endpoints.d.ts +41 -0
  172. package/dist/services/joomla/generated/endpoints.d.ts.map +1 -0
  173. package/dist/services/joomla/generated/schemas.d.ts +546 -0
  174. package/dist/services/joomla/generated/schemas.d.ts.map +1 -0
  175. package/dist/services/joomla/generated/types.d.ts +1489 -0
  176. package/dist/services/joomla/generated/types.d.ts.map +1 -0
  177. package/dist/services/joomla/index.d.ts +2 -0
  178. package/dist/services/joomla/index.d.ts.map +1 -0
  179. package/dist/services/legacy/client.d.ts +75 -0
  180. package/dist/services/legacy/client.d.ts.map +1 -0
  181. package/dist/services/legacy/generated/endpoints.d.ts +41 -0
  182. package/dist/services/legacy/generated/endpoints.d.ts.map +1 -0
  183. package/dist/services/legacy/generated/schemas.d.ts +567 -0
  184. package/dist/services/legacy/generated/schemas.d.ts.map +1 -0
  185. package/dist/services/legacy/generated/types.d.ts +1454 -0
  186. package/dist/services/legacy/generated/types.d.ts.map +1 -0
  187. package/dist/services/legacy/index.d.ts +2 -0
  188. package/dist/services/legacy/index.d.ts.map +1 -0
  189. package/dist/services/logistics/client.d.ts +64 -0
  190. package/dist/services/logistics/client.d.ts.map +1 -0
  191. package/dist/services/logistics/generated/endpoints.d.ts +41 -0
  192. package/dist/services/logistics/generated/endpoints.d.ts.map +1 -0
  193. package/dist/services/logistics/generated/schemas.d.ts +375 -0
  194. package/dist/services/logistics/generated/schemas.d.ts.map +1 -0
  195. package/dist/services/logistics/generated/types.d.ts +925 -0
  196. package/dist/services/logistics/generated/types.d.ts.map +1 -0
  197. package/dist/services/logistics/index.d.ts +2 -0
  198. package/dist/services/logistics/index.d.ts.map +1 -0
  199. package/dist/services/markets/client.d.ts +47 -0
  200. package/dist/services/markets/client.d.ts.map +1 -0
  201. package/dist/services/markets/generated/endpoints.d.ts +41 -0
  202. package/dist/services/markets/generated/endpoints.d.ts.map +1 -0
  203. package/dist/services/markets/generated/schemas.d.ts +180 -0
  204. package/dist/services/markets/generated/schemas.d.ts.map +1 -0
  205. package/dist/services/markets/generated/types.d.ts +405 -0
  206. package/dist/services/markets/generated/types.d.ts.map +1 -0
  207. package/dist/services/markets/index.d.ts +2 -0
  208. package/dist/services/markets/index.d.ts.map +1 -0
  209. package/dist/services/notifications/client.d.ts +58 -0
  210. package/dist/services/notifications/client.d.ts.map +1 -0
  211. package/dist/services/notifications/generated/endpoints.d.ts +41 -0
  212. package/dist/services/notifications/generated/endpoints.d.ts.map +1 -0
  213. package/dist/services/notifications/generated/schemas.d.ts +247 -0
  214. package/dist/services/notifications/generated/schemas.d.ts.map +1 -0
  215. package/dist/services/notifications/generated/types.d.ts +666 -0
  216. package/dist/services/notifications/generated/types.d.ts.map +1 -0
  217. package/dist/services/notifications/index.d.ts +2 -0
  218. package/dist/services/notifications/index.d.ts.map +1 -0
  219. package/dist/services/open-search/client.d.ts +69 -0
  220. package/dist/services/open-search/client.d.ts.map +1 -0
  221. package/dist/services/open-search/generated/endpoints.d.ts +42 -0
  222. package/dist/services/open-search/generated/endpoints.d.ts.map +1 -0
  223. package/dist/services/open-search/generated/schemas.d.ts +363 -0
  224. package/dist/services/open-search/generated/schemas.d.ts.map +1 -0
  225. package/dist/services/open-search/generated/types.d.ts +983 -0
  226. package/dist/services/open-search/generated/types.d.ts.map +1 -0
  227. package/dist/services/open-search/index.d.ts +2 -0
  228. package/dist/services/open-search/index.d.ts.map +1 -0
  229. package/dist/services/orders/client.d.ts +180 -0
  230. package/dist/services/orders/client.d.ts.map +1 -0
  231. package/dist/services/orders/generated/endpoints.d.ts +42 -0
  232. package/dist/services/orders/generated/endpoints.d.ts.map +1 -0
  233. package/dist/services/orders/generated/schemas.d.ts +2479 -0
  234. package/dist/services/orders/generated/schemas.d.ts.map +1 -0
  235. package/dist/services/orders/generated/types.d.ts +4717 -0
  236. package/dist/services/orders/generated/types.d.ts.map +1 -0
  237. package/dist/services/orders/index.d.ts +2 -0
  238. package/dist/services/orders/index.d.ts.map +1 -0
  239. package/dist/services/p21-apis/client.d.ts +59 -0
  240. package/dist/services/p21-apis/client.d.ts.map +1 -0
  241. package/dist/services/p21-apis/generated/endpoints.d.ts +41 -0
  242. package/dist/services/p21-apis/generated/endpoints.d.ts.map +1 -0
  243. package/dist/services/p21-apis/generated/schemas.d.ts +46 -0
  244. package/dist/services/p21-apis/generated/schemas.d.ts.map +1 -0
  245. package/dist/services/p21-apis/generated/types.d.ts +246 -0
  246. package/dist/services/p21-apis/generated/types.d.ts.map +1 -0
  247. package/dist/services/p21-apis/index.d.ts +2 -0
  248. package/dist/services/p21-apis/index.d.ts.map +1 -0
  249. package/dist/services/p21-core/client.d.ts +131 -0
  250. package/dist/services/p21-core/client.d.ts.map +1 -0
  251. package/dist/services/p21-core/generated/endpoints.d.ts +42 -0
  252. package/dist/services/p21-core/generated/endpoints.d.ts.map +1 -0
  253. package/dist/services/p21-core/generated/schemas.d.ts +1478 -0
  254. package/dist/services/p21-core/generated/schemas.d.ts.map +1 -0
  255. package/dist/services/p21-core/generated/types.d.ts +2718 -0
  256. package/dist/services/p21-core/generated/types.d.ts.map +1 -0
  257. package/dist/services/p21-core/index.d.ts +2 -0
  258. package/dist/services/p21-core/index.d.ts.map +1 -0
  259. package/dist/services/p21-pim/client.d.ts +75 -0
  260. package/dist/services/p21-pim/client.d.ts.map +1 -0
  261. package/dist/services/p21-pim/generated/endpoints.d.ts +41 -0
  262. package/dist/services/p21-pim/generated/endpoints.d.ts.map +1 -0
  263. package/dist/services/p21-pim/generated/schemas.d.ts +383 -0
  264. package/dist/services/p21-pim/generated/schemas.d.ts.map +1 -0
  265. package/dist/services/p21-pim/generated/types.d.ts +933 -0
  266. package/dist/services/p21-pim/generated/types.d.ts.map +1 -0
  267. package/dist/services/p21-pim/index.d.ts +2 -0
  268. package/dist/services/p21-pim/index.d.ts.map +1 -0
  269. package/dist/services/p21-sism/client.d.ts +432 -0
  270. package/dist/services/p21-sism/client.d.ts.map +1 -0
  271. package/dist/services/p21-sism/generated/endpoints.d.ts +42 -0
  272. package/dist/services/p21-sism/generated/endpoints.d.ts.map +1 -0
  273. package/dist/services/p21-sism/generated/schemas.d.ts +2844 -0
  274. package/dist/services/p21-sism/generated/schemas.d.ts.map +1 -0
  275. package/dist/services/p21-sism/generated/types.d.ts +6977 -0
  276. package/dist/services/p21-sism/generated/types.d.ts.map +1 -0
  277. package/dist/services/p21-sism/index.d.ts +37 -0
  278. package/dist/services/p21-sism/index.d.ts.map +1 -0
  279. package/dist/services/payments/client.d.ts +77 -0
  280. package/dist/services/payments/client.d.ts.map +1 -0
  281. package/dist/services/payments/generated/endpoints.d.ts +42 -0
  282. package/dist/services/payments/generated/endpoints.d.ts.map +1 -0
  283. package/dist/services/payments/generated/schemas.d.ts +1015 -0
  284. package/dist/services/payments/generated/schemas.d.ts.map +1 -0
  285. package/dist/services/payments/generated/types.d.ts +1432 -0
  286. package/dist/services/payments/generated/types.d.ts.map +1 -0
  287. package/dist/services/payments/index.d.ts +2 -0
  288. package/dist/services/payments/index.d.ts.map +1 -0
  289. package/dist/services/pricing/client.d.ts +216 -0
  290. package/dist/services/pricing/client.d.ts.map +1 -0
  291. package/dist/services/pricing/generated/endpoints.d.ts +42 -0
  292. package/dist/services/pricing/generated/endpoints.d.ts.map +1 -0
  293. package/dist/services/pricing/generated/schemas.d.ts +2048 -0
  294. package/dist/services/pricing/generated/schemas.d.ts.map +1 -0
  295. package/dist/services/pricing/generated/types.d.ts +4257 -0
  296. package/dist/services/pricing/generated/types.d.ts.map +1 -0
  297. package/dist/services/pricing/index.d.ts +2 -0
  298. package/dist/services/pricing/index.d.ts.map +1 -0
  299. package/dist/services/shipping/client.d.ts +33 -0
  300. package/dist/services/shipping/client.d.ts.map +1 -0
  301. package/dist/services/shipping/generated/endpoints.d.ts +41 -0
  302. package/dist/services/shipping/generated/endpoints.d.ts.map +1 -0
  303. package/dist/services/shipping/generated/schemas.d.ts +29 -0
  304. package/dist/services/shipping/generated/schemas.d.ts.map +1 -0
  305. package/dist/services/shipping/generated/types.d.ts +116 -0
  306. package/dist/services/shipping/generated/types.d.ts.map +1 -0
  307. package/dist/services/shipping/index.d.ts +2 -0
  308. package/dist/services/shipping/index.d.ts.map +1 -0
  309. package/dist/services/smarty-streets/client.d.ts +33 -0
  310. package/dist/services/smarty-streets/client.d.ts.map +1 -0
  311. package/dist/services/smarty-streets/generated/endpoints.d.ts +41 -0
  312. package/dist/services/smarty-streets/generated/endpoints.d.ts.map +1 -0
  313. package/dist/services/smarty-streets/generated/schemas.d.ts +72 -0
  314. package/dist/services/smarty-streets/generated/schemas.d.ts.map +1 -0
  315. package/dist/services/smarty-streets/generated/types.d.ts +145 -0
  316. package/dist/services/smarty-streets/generated/types.d.ts.map +1 -0
  317. package/dist/services/smarty-streets/index.d.ts +2 -0
  318. package/dist/services/smarty-streets/index.d.ts.map +1 -0
  319. package/dist/services/ups/client.d.ts +32 -0
  320. package/dist/services/ups/client.d.ts.map +1 -0
  321. package/dist/services/ups/generated/endpoints.d.ts +40 -0
  322. package/dist/services/ups/generated/endpoints.d.ts.map +1 -0
  323. package/dist/services/ups/generated/schemas.d.ts +51 -0
  324. package/dist/services/ups/generated/schemas.d.ts.map +1 -0
  325. package/dist/services/ups/generated/types.d.ts +98 -0
  326. package/dist/services/ups/generated/types.d.ts.map +1 -0
  327. package/dist/services/ups/index.d.ts +2 -0
  328. package/dist/services/ups/index.d.ts.map +1 -0
  329. package/dist/services/vendors/client.d.ts +38 -0
  330. package/dist/services/vendors/client.d.ts.map +1 -0
  331. package/dist/services/vendors/generated/endpoints.d.ts +41 -0
  332. package/dist/services/vendors/generated/endpoints.d.ts.map +1 -0
  333. package/dist/services/vendors/generated/schemas.d.ts +350 -0
  334. package/dist/services/vendors/generated/schemas.d.ts.map +1 -0
  335. package/dist/services/vendors/generated/types.d.ts +470 -0
  336. package/dist/services/vendors/generated/types.d.ts.map +1 -0
  337. package/dist/services/vendors/index.d.ts +2 -0
  338. package/dist/services/vendors/index.d.ts.map +1 -0
  339. package/dist/services/vmi/client.d.ts +129 -0
  340. package/dist/services/vmi/client.d.ts.map +1 -0
  341. package/dist/services/vmi/generated/endpoints.d.ts +41 -0
  342. package/dist/services/vmi/generated/endpoints.d.ts.map +1 -0
  343. package/dist/services/vmi/generated/schemas.d.ts +723 -0
  344. package/dist/services/vmi/generated/schemas.d.ts.map +1 -0
  345. package/dist/services/vmi/generated/types.d.ts +2620 -0
  346. package/dist/services/vmi/generated/types.d.ts.map +1 -0
  347. package/dist/services/vmi/index.d.ts +2 -0
  348. package/dist/services/vmi/index.d.ts.map +1 -0
  349. package/dist/testing.d.ts +9 -13
  350. package/dist/testing.d.ts.map +1 -0
  351. package/dist/testing.js +7 -17
  352. package/dist/testing.js.map +1 -1
  353. package/dist/testing.mjs +7 -17
  354. package/dist/testing.mjs.map +1 -1
  355. package/dist/utils/cross-site-auth.d.ts +88 -0
  356. package/dist/utils/cross-site-auth.d.ts.map +1 -0
  357. package/package.json +34 -47
  358. package/dist/client-TPJa269Y.d.mts +0 -58610
  359. package/dist/client-TPJa269Y.d.ts +0 -58610
  360. package/dist/index.d.mts +0 -236
  361. package/dist/testing.d.mts +0 -83
@@ -0,0 +1,1489 @@
1
+ /**
2
+ * Generated types for the joomla service.
3
+ * Joomla CMS integration syncing content, users, categories, menus, and extensions
4
+ *
5
+ * Public specs (the source of truth for every shape below):
6
+ * https://joomla.augur-api.com/endpoints.jsonl: one JSON line per endpoint: method, path, path
7
+ * params and query params, each with type and required flag. Grep it for a path; for a GET
8
+ * that line is all you need. Bodies are not in it.
9
+ * https://joomla.augur-api.com/openapi.json: the full contract: request and response bodies field
10
+ * by field, descriptions, formats and documented errors.
11
+ * https://joomla.augur-api.com/llms.txt: the plain-text endpoint list and the other Augur
12
+ * services.
13
+ *
14
+ * Source: shared/specs/joomla.json
15
+ *
16
+ * DO NOT EDIT — regenerate with: pnpm -C tools/augur-api-generator generate ts
17
+ */
18
+ import type { EdgeCacheParams } from "../../../core/common-schemas";
19
+ import type { BaseResponse } from "../../../core/schemas";
20
+ /** Params for GET /action-logs */
21
+ export interface ActionLogsListParams extends EdgeCacheParams {
22
+ /** Filter by Joomla extension (e.g. com_users) */
23
+ extension?: string;
24
+ /** Filter by affected item id */
25
+ itemId?: number;
26
+ /** Limit number of results (Default: 10) */
27
+ limit?: number;
28
+ /** Offset number of results (Default: 0) */
29
+ offset?: number;
30
+ /** Sort ordering (Default: id|DESC) */
31
+ orderBy?: string;
32
+ /** Filter by Joomla user id */
33
+ userId?: number;
34
+ }
35
+ /** Params for GET /action-logs/{id} */
36
+ export type ActionLogsGetParams = EdgeCacheParams;
37
+ /** Params for GET /categories */
38
+ export interface CategoriesListParams extends EdgeCacheParams {
39
+ /** Extension filter (e.g. com_content) */
40
+ extension?: string;
41
+ /** Limit number of results (Default: 10) */
42
+ limit?: number;
43
+ /** Offset number of results (Default: 0) */
44
+ offset?: number;
45
+ /** Sort ordering (Default: id|ASC) */
46
+ orderBy?: string;
47
+ /** Parent category ID */
48
+ parentId?: number;
49
+ /** Published state filter */
50
+ published?: number;
51
+ }
52
+ /** Params for GET /categories/{id} */
53
+ export type CategoriesGetParams = EdgeCacheParams;
54
+ /** Params for GET /content */
55
+ export interface ContentListParams extends EdgeCacheParams {
56
+ /** CSV List of category IDs */
57
+ categoryIdList?: string;
58
+ /** Limit number of results (Default: 10) */
59
+ limit?: number;
60
+ /** Offset number of results (Default: 0) */
61
+ offset?: number;
62
+ /** Sort ordering: default (ordering|ASC) */
63
+ orderBy?: string;
64
+ /** Query string */
65
+ q?: string;
66
+ /** CSV List of tags */
67
+ tagsList?: string;
68
+ }
69
+ /** Params for GET /content/{id} */
70
+ export interface ContentGetParams extends EdgeCacheParams {
71
+ /** content.alias */
72
+ alias?: string;
73
+ /** content.catid */
74
+ catid?: number;
75
+ }
76
+ /** Params for GET /content/{id}/doc */
77
+ export interface ContentDocListParams extends EdgeCacheParams {
78
+ /** content.alias */
79
+ alias?: string;
80
+ /** content.catid */
81
+ catid?: number;
82
+ }
83
+ /** Params for GET /menu */
84
+ export interface MenuListParams extends EdgeCacheParams {
85
+ /** Limit number of results (Default: 10) */
86
+ limit?: number;
87
+ /** Joomla menu type identifier */
88
+ menutype?: string;
89
+ /** Offset number of results (Default: 0) */
90
+ offset?: number;
91
+ /** Sort ordering (Default: lft|ASC) */
92
+ orderBy?: string;
93
+ /** Parent menu item ID */
94
+ parentId?: number;
95
+ /** Published state filter */
96
+ published?: number;
97
+ }
98
+ /** Params for GET /menu/{id}/doc */
99
+ export interface MenuDocListParams extends EdgeCacheParams {
100
+ /** Menu alias for lookup when id=0 */
101
+ alias?: string;
102
+ }
103
+ /** Params for GET /modules */
104
+ export interface ModulesListParams extends EdgeCacheParams {
105
+ /** Limit number of results (Default: 10) */
106
+ limit?: number;
107
+ /** Modules shown on this menu item (menu.id), per Joomla assignment rules */
108
+ menuId?: number;
109
+ /** Module type (e.g. mod_custom) */
110
+ module?: string;
111
+ /** Offset number of results (Default: 0) */
112
+ offset?: number;
113
+ /** Sort ordering (Default: id|ASC) */
114
+ orderBy?: string;
115
+ /** Template position */
116
+ position?: string;
117
+ /** 1 published (Default), 0 unpublished, -1 all */
118
+ published?: number;
119
+ /** Title contains */
120
+ q?: string;
121
+ }
122
+ /** Params for GET /modules/{id} */
123
+ export interface ModulesGetParams extends EdgeCacheParams {
124
+ /** Y decodes params from JSON and returns Joomla zero dates as null */
125
+ normalize?: string;
126
+ }
127
+ /** Params for GET /tags */
128
+ export interface TagsListParams extends EdgeCacheParams {
129
+ /** Category whose published articles are counted per tag (total) */
130
+ catId?: number;
131
+ /** Limit number of results (Default: 10) */
132
+ limit?: number;
133
+ /** Offset number of results (Default: 0) */
134
+ offset?: number;
135
+ /** Order By (Default: title|ASC) */
136
+ orderBy?: string;
137
+ /** Parent tag; only its direct published children are listed (Default: 0) */
138
+ parentId?: number;
139
+ /** Query string */
140
+ q?: string;
141
+ }
142
+ /** Params for GET /usergroups */
143
+ export interface UsergroupsListParams extends EdgeCacheParams {
144
+ /**
145
+ * Shape of each group [Y|N] (default N = the title string; Y = an object with id, title and
146
+ * parentId)
147
+ */
148
+ fullDocument?: string;
149
+ /** Select order of the groups Default: title|ASC */
150
+ orderBy?: string;
151
+ /** CSV List of parent ids (default:blank) */
152
+ parentIdList?: string;
153
+ }
154
+ /** Params for GET /users */
155
+ export interface UsersListParams extends EdgeCacheParams {
156
+ /** Access level group ID list filter */
157
+ accessLevelList?: string;
158
+ /** Filter by block status (0 active, 1 blocked, -1 all, default 0) */
159
+ blocked?: number;
160
+ /** Contact ID filter */
161
+ contactId?: string;
162
+ /** Customer ID filter */
163
+ customerId?: number;
164
+ /** Y = users with a contact ID; N = users with none (missing, empty or 0). Absent = no filter */
165
+ hasContactId?: string;
166
+ /** Y = users with a customer ID; N = users with none (missing, empty or 0). Absent = no filter */
167
+ hasCustomerId?: string;
168
+ /** Limit number of results (Default: 10) */
169
+ limit?: number;
170
+ /** Offset number of results (Default: 0) */
171
+ offset?: number;
172
+ /** Order by clause (e.g. id|ASC) */
173
+ orderBy?: string;
174
+ /** Username/name/email search query */
175
+ q?: string;
176
+ }
177
+ /** Params for GET /users/{id} */
178
+ export type UsersGetParams = EdgeCacheParams;
179
+ /** Params for GET /users/{id}/doc */
180
+ export interface UsersDocListParams extends EdgeCacheParams {
181
+ /** Include ship-to header data in response */
182
+ includeShipTo?: string;
183
+ }
184
+ /** Params for GET /users/{id}/groups */
185
+ export interface UsersGroupsListParams extends EdgeCacheParams {
186
+ /** Limit number of results (Default: 10) */
187
+ limit?: number;
188
+ /** Starting offset results (Default: 0) */
189
+ offset?: number;
190
+ /** Order By (Default: group_id|ASC) */
191
+ orderBy?: string;
192
+ }
193
+ /** Params for GET /users/{id}/groups/{groupId} */
194
+ export type UsersGroupsGetParams = EdgeCacheParams;
195
+ /** Params for GET /users/{id}/trinity */
196
+ export type UsersTrinityListParams = EdgeCacheParams;
197
+ /**
198
+ * List Action Logs
199
+ * Response data for GET /action-logs — MINIMUM fields, extras pass through
200
+ *
201
+ * Returned by: api.joomla.actionLogs.list(params) (array items)
202
+ * Returned by: api.joomla.actionLogs.get(id)
203
+ */
204
+ export interface ActionLogsListItem {
205
+ /** Action log ID */
206
+ id: number;
207
+ /** Joomla language key of the log message (max 255 chars) */
208
+ messageLanguageKey: string;
209
+ /** Log message data (JSON) */
210
+ message: string;
211
+ /** When the action happened (mysql-datetime, e.g. 2025-07-30 15:50:49) */
212
+ logDate: string;
213
+ /** Extension that logged the action (e.g. com_users) (max 50 chars) */
214
+ extension: string;
215
+ /** Joomla user who acted */
216
+ userId: number;
217
+ /** ID of the item acted on */
218
+ itemId: number;
219
+ /** IP address of the request (max 40 chars) */
220
+ ipAddress: string;
221
+ [key: string]: unknown;
222
+ }
223
+ /** Returned by: api.joomla.actionLogs.list(params) */
224
+ export type ActionLogsListData = ActionLogsListItem[];
225
+ /**
226
+ * Get Action Log Doc
227
+ * Response data for GET /action-logs/{id} — MINIMUM fields, extras pass through
228
+ *
229
+ * Returned by: api.joomla.actionLogs.get(id)
230
+ */
231
+ export type ActionLogsGetData = ActionLogsListItem;
232
+ /**
233
+ * List Categories
234
+ * Response data for GET /categories — MINIMUM fields, extras pass through
235
+ *
236
+ * Returned by: api.joomla.categories.list(params) (array items)
237
+ * Returned by: api.joomla.categories.get(id)
238
+ */
239
+ export interface CategoriesListItem {
240
+ /** Category ID */
241
+ id: number;
242
+ /** Joomla asset (ACL) ID */
243
+ assetId: number;
244
+ /** Parent category ID */
245
+ parentId: number;
246
+ /** Nested-set left value */
247
+ lft: number;
248
+ /** Nested-set right value */
249
+ rgt: number;
250
+ /** Depth in the tree */
251
+ level: number;
252
+ /** Route path (max 400 chars) */
253
+ path: string;
254
+ /** Extension the category belongs to (e.g. com_content) (max 50 chars) */
255
+ extension: string;
256
+ /** Title (max 255 chars) */
257
+ title: string;
258
+ /** URL alias (max 400 chars) */
259
+ alias: string;
260
+ /** Admin note (max 255 chars) */
261
+ note: string;
262
+ /** Category description (HTML) */
263
+ description: string | null;
264
+ /** Publish state (1 = published, 0 = unpublished, -2 = trashed) */
265
+ published: number;
266
+ /** User who has the record checked out; 0 when none */
267
+ checkedOut: number;
268
+ /** When the record was checked out (mysql-datetime, e.g. 2025-07-30 15:50:49) */
269
+ checkedOutTime: string;
270
+ /** Access level ID */
271
+ access: number;
272
+ /** Joomla params JSON */
273
+ params: string | null;
274
+ /** Meta description (max 1024 chars) */
275
+ metadesc: string;
276
+ /** Meta keywords (max 1024 chars) */
277
+ metakey: string;
278
+ /** Metadata JSON (max 2048 chars) */
279
+ metadata: string;
280
+ /** User who created the category */
281
+ createdUserId: number;
282
+ /** When the category was created (mysql-datetime, e.g. 2025-07-30 15:50:49) */
283
+ createdTime: string;
284
+ /** User who last changed the category */
285
+ modifiedUserId: number;
286
+ /** When the category was last changed (mysql-datetime, e.g. 2025-07-30 15:50:49) */
287
+ modifiedTime: string;
288
+ /** Page views */
289
+ hits: number;
290
+ /** Language tag (* = all) (max 7 chars) */
291
+ language: string;
292
+ /** Version number */
293
+ version: number;
294
+ [key: string]: unknown;
295
+ }
296
+ /** Returned by: api.joomla.categories.list(params) */
297
+ export type CategoriesListData = CategoriesListItem[];
298
+ /**
299
+ * Get Category by ID
300
+ * Response data for GET /categories/{id} — MINIMUM fields, extras pass through
301
+ *
302
+ * Returned by: api.joomla.categories.get(id)
303
+ */
304
+ export type CategoriesGetData = CategoriesListItem;
305
+ /**
306
+ * Shape of `fields` (MINIMUM fields; reused wherever the same shape appears)
307
+ * Custom field values
308
+ *
309
+ * Field `fields` of ContentListItem
310
+ */
311
+ export interface ContentListItemFieldsItem {
312
+ /** Field value */
313
+ value: string;
314
+ /** Field title */
315
+ title: string;
316
+ /** Field name */
317
+ name: string;
318
+ /** Field label */
319
+ label: string;
320
+ [key: string]: unknown;
321
+ }
322
+ /**
323
+ * Get Content list
324
+ * Response data for GET /content — MINIMUM fields, extras pass through
325
+ *
326
+ * Returned by: api.joomla.content.list(params) (array items)
327
+ * Returned by: api.joomla.content.doc.list(id, params)
328
+ */
329
+ export interface ContentListItem {
330
+ /** Article ID */
331
+ id: number;
332
+ /** Title */
333
+ title: string;
334
+ /** URL alias */
335
+ alias: string;
336
+ /** Category ID */
337
+ catid: number;
338
+ /** Intro text (HTML) */
339
+ introtext: string | null;
340
+ /** Full text (HTML) */
341
+ fulltext: string | null;
342
+ /** Sort position within the category */
343
+ ordering: number;
344
+ /**
345
+ * Joomla images JSON (image_intro, image_fulltext and their attributes); [] when none ([] when
346
+ * empty)
347
+ */
348
+ images: Record<string, unknown> | [];
349
+ /** Custom field values */
350
+ fields: ContentListItemFieldsItem[];
351
+ [key: string]: unknown;
352
+ }
353
+ /** Returned by: api.joomla.content.list(params) */
354
+ export type ContentListData = ContentListItem[];
355
+ /**
356
+ * Get Content Detail
357
+ * Response data for GET /content/{id} — MINIMUM fields, extras pass through
358
+ *
359
+ * Returned by: api.joomla.content.get(id, params)
360
+ */
361
+ export interface ContentGetData {
362
+ /** Article ID */
363
+ id: number;
364
+ /** Title */
365
+ title: string;
366
+ /** URL alias */
367
+ alias: string;
368
+ /** Intro text (HTML) */
369
+ introtext: string | null;
370
+ /** Full text (HTML) */
371
+ fulltext: string | null;
372
+ /** Category ID */
373
+ catid: number;
374
+ [key: string]: unknown;
375
+ }
376
+ /**
377
+ * Get Content Doc
378
+ * Response data for GET /content/{id}/doc — MINIMUM fields, extras pass through
379
+ *
380
+ * Returned by: api.joomla.content.doc.list(id, params)
381
+ */
382
+ export type ContentDocListData = ContentListItem;
383
+ /**
384
+ * List Menu Items
385
+ * Response data for GET /menu — MINIMUM fields, extras pass through
386
+ *
387
+ * Returned by: api.joomla.menu.list(params) (array items)
388
+ */
389
+ export interface MenuListItem {
390
+ /** Menu item ID */
391
+ id: number;
392
+ /** Menu the item belongs to (max 24 chars) */
393
+ menutype: string;
394
+ /** Title (max 255 chars) */
395
+ title: string;
396
+ /** URL alias (max 400 chars) */
397
+ alias: string;
398
+ /** Admin note (max 255 chars) */
399
+ note: string;
400
+ /** Route path (max 1024 chars) */
401
+ path: string;
402
+ /** Joomla link (index.php?option=...) (max 1024 chars) */
403
+ link: string;
404
+ /** Item type (component, url, alias, separator, heading) (max 16 chars) */
405
+ type: string;
406
+ /** Publish state (1 = published, 0 = unpublished, -2 = trashed) */
407
+ published: number;
408
+ /** Depth in the tree */
409
+ level: number;
410
+ /** Component the item opens */
411
+ componentId: number;
412
+ /** User who has the record checked out; 0 when none */
413
+ checkedOut: number;
414
+ /** When the record was checked out (mysql-datetime, e.g. 2025-07-30 15:50:49) */
415
+ checkedOutTime: string;
416
+ /** Target window (0 = parent, 1 = new window, 2 = popup) */
417
+ browserNav: number;
418
+ /** Access level ID */
419
+ access: number;
420
+ /** Menu image (max 255 chars) */
421
+ img: string;
422
+ /** Template style; 0 for the default */
423
+ templateStyleId: number;
424
+ /** Joomla params JSON */
425
+ params: string;
426
+ /** Nested-set left value */
427
+ lft: number;
428
+ /** Nested-set right value */
429
+ rgt: number;
430
+ /** 1 when this is the home page */
431
+ home: number;
432
+ /** Language tag (* = all) (max 7 chars) */
433
+ language: string;
434
+ /** 0 = site, 1 = administrator */
435
+ clientId: number;
436
+ /** Parent menu item ID */
437
+ parentId: number;
438
+ [key: string]: unknown;
439
+ }
440
+ /** Returned by: api.joomla.menu.list(params) */
441
+ export type MenuListData = MenuListItem[];
442
+ /**
443
+ * Get Menu Doc
444
+ * Response data for GET /menu/{id}/doc — MINIMUM fields, extras pass through
445
+ *
446
+ * Returned by: api.joomla.menu.doc.list(id, params)
447
+ */
448
+ export interface MenuDocListData {
449
+ /** Menu item ID */
450
+ id: number;
451
+ /** Access level */
452
+ access: number;
453
+ /** URL alias */
454
+ alias: string;
455
+ /** Depth in the menu tree */
456
+ level: number;
457
+ /** Joomla link (index.php?option=...) */
458
+ link: string;
459
+ /** Menu the item belongs to */
460
+ menuType: string;
461
+ /** Parent menu item ID */
462
+ parentId: number;
463
+ /** Route path */
464
+ path: string;
465
+ /** 1 when published */
466
+ published: number;
467
+ /** Title */
468
+ title: string;
469
+ /** Item type (component, url, alias, separator, heading) */
470
+ type: string;
471
+ /** Child menu items */
472
+ children: unknown[];
473
+ [key: string]: unknown;
474
+ }
475
+ /**
476
+ * List Modules
477
+ * Response data for GET /modules — MINIMUM fields, extras pass through
478
+ *
479
+ * Returned by: api.joomla.modules.list(params) (array items)
480
+ * Returned by: api.joomla.modules.get(id, params)
481
+ */
482
+ export interface ModulesListItem {
483
+ /** Module ID */
484
+ id: number;
485
+ /** Joomla asset (ACL) ID */
486
+ assetId: number;
487
+ /** Title (max 100 chars) */
488
+ title: string;
489
+ /** Admin note (max 255 chars) */
490
+ note: string;
491
+ /** Custom module content (HTML) */
492
+ content: string | null;
493
+ /** Sort position within the position */
494
+ ordering: number;
495
+ /** Template position the module renders in (max 50 chars) */
496
+ position: string;
497
+ /** User who has the record checked out; 0 when none */
498
+ checkedOut: number;
499
+ /** When the record was checked out (mysql-datetime, e.g. 2025-07-30 15:50:49) */
500
+ checkedOutTime: string;
501
+ /** Start publishing (mysql-datetime, e.g. 2025-07-30 15:50:49) */
502
+ publishUp: string;
503
+ /** Finish publishing (mysql-datetime, e.g. 2025-07-30 15:50:49) */
504
+ publishDown: string;
505
+ /** Publish state (1 = published, 0 = unpublished, -2 = trashed) */
506
+ published: number;
507
+ /** Module type (e.g. mod_custom) (max 50 chars) */
508
+ module: string | null;
509
+ /** Access level ID */
510
+ access: number;
511
+ /** 1 when the title is shown */
512
+ showtitle: number;
513
+ /** Joomla params JSON */
514
+ params: string;
515
+ /** 0 = site, 1 = administrator */
516
+ clientId: number;
517
+ /** Language tag (* = all) (max 7 chars) */
518
+ language: string;
519
+ [key: string]: unknown;
520
+ }
521
+ /** Returned by: api.joomla.modules.list(params) */
522
+ export type ModulesListData = ModulesListItem[];
523
+ /**
524
+ * Get Module
525
+ * Response data for GET /modules/{id} — MINIMUM fields, extras pass through
526
+ *
527
+ * Returned by: api.joomla.modules.get(id, params)
528
+ */
529
+ export type ModulesGetData = ModulesListItem;
530
+ /**
531
+ * Get tag list
532
+ * Response data for GET /tags — MINIMUM fields, extras pass through
533
+ *
534
+ * Returned by: api.joomla.tags.list(params) (array items)
535
+ */
536
+ export interface TagsListItem {
537
+ /** Tag ID */
538
+ id: number | null;
539
+ /** Tag title */
540
+ tag: string;
541
+ /** Published articles in the requested category (catId) that carry the tag */
542
+ total: number;
543
+ [key: string]: unknown;
544
+ }
545
+ /** Returned by: api.joomla.tags.list(params) */
546
+ export type TagsListData = TagsListItem[];
547
+ /**
548
+ * Shape of data nested in UsergroupsListData (MINIMUM fields; reused wherever the same shape
549
+ * appears)
550
+ *
551
+ * Nested in UsergroupsListData
552
+ */
553
+ export interface UsergroupsListDataOption2Item {
554
+ /** User group ID, the id the user group write routes take */
555
+ id: number;
556
+ /** User group title */
557
+ title: string;
558
+ /** ID of the parent user group (0 for the root group) */
559
+ parentId: number;
560
+ [key: string]: unknown;
561
+ }
562
+ /**
563
+ * Get User Groups
564
+ * Response data for GET /usergroups — MINIMUM fields, extras pass through
565
+ *
566
+ * Returned by: api.joomla.usergroups.list(params)
567
+ */
568
+ export type UsergroupsListData = string[] | UsergroupsListDataOption2Item[];
569
+ /**
570
+ * Shape of `groups` (MINIMUM fields; reused wherever the same shape appears)
571
+ * User groups the user belongs to
572
+ *
573
+ * Field `groups` of UsersListItem
574
+ * Field `groups` of UsersTrinityListData
575
+ */
576
+ export interface UsersListItemGroupsItem {
577
+ /** User group ID */
578
+ id: number;
579
+ /** User group title */
580
+ title: string;
581
+ [key: string]: unknown;
582
+ }
583
+ /**
584
+ * Shape of `address` (MINIMUM fields; reused wherever the same shape appears)
585
+ * The ship-to's address; null when no address row matches
586
+ *
587
+ * Field `address` of UsersListItemShipToItem
588
+ */
589
+ export interface UsersListItemShipToItemAddress {
590
+ /** Prophet 21 address ID */
591
+ id: number;
592
+ /** Address name (max 50 chars) */
593
+ name: string;
594
+ /** Mailing address line 1 (max 50 chars) */
595
+ mailAddress1: string | null;
596
+ /** Mailing address line 2 (max 50 chars) */
597
+ mailAddress2: string | null;
598
+ /** Mailing address line 3 (max 50 chars) */
599
+ mailAddress3: string | null;
600
+ /** Mailing city (max 50 chars) */
601
+ mailCity: string | null;
602
+ /** Mailing state or province (max 50 chars) */
603
+ mailState: string | null;
604
+ /** Mailing postal code (max 10 chars) */
605
+ mailPostalCode: string | null;
606
+ /** Mailing country (max 50 chars) */
607
+ mailCountry: string | null;
608
+ /** Physical address line 1 (max 50 chars) */
609
+ physAddress1: string | null;
610
+ /** Physical address line 2 (max 50 chars) */
611
+ physAddress2: string | null;
612
+ /** Physical address line 3 (max 50 chars) */
613
+ physAddress3: string | null;
614
+ /** Physical city (max 50 chars) */
615
+ physCity: string | null;
616
+ /** Physical state or province (max 50 chars) */
617
+ physState: string | null;
618
+ /** Physical postal code (max 10 chars) */
619
+ physPostalCode: string | null;
620
+ /** Physical country (max 50 chars) */
621
+ physCountry: string | null;
622
+ /** Address class 5 (max 8 chars) */
623
+ class5Id: string | null;
624
+ /** Main phone number (max 20 chars) */
625
+ centralPhoneNumber: string | null;
626
+ /** UPS code for the address (max 40 chars) */
627
+ upsCode: string | null;
628
+ [key: string]: unknown;
629
+ }
630
+ /**
631
+ * Shape of `shipTo` (MINIMUM fields; reused wherever the same shape appears)
632
+ * The contact's ship-tos; present only with includeShipTo=Y
633
+ *
634
+ * Field `shipTo` of UsersListItem
635
+ */
636
+ export interface UsersListItemShipToItem {
637
+ /** Prophet 21 ship-to ID (also its address ID) */
638
+ shipToId: number;
639
+ /** Prophet 21 customer the ship-to belongs to */
640
+ customerId: number;
641
+ /** Prophet 21 company (max 8 chars) */
642
+ companyId: string;
643
+ /** Default branch for the ship-to (max 8 chars) */
644
+ defaultBranch: string;
645
+ /** Prophet 21 address ID of the default carrier */
646
+ defaultCarrierId: number | null;
647
+ /** Prophet 21 location the ship-to prefers to ship from */
648
+ preferredLocationId: number | null;
649
+ /** Delivery instructions for the carrier (max 255 chars) */
650
+ deliveryInstructions: string | null;
651
+ /** Shipping route assigned to the ship-to */
652
+ shippingRouteUid: number | null;
653
+ /** Shipping route code */
654
+ routeCode: string | null;
655
+ /** Shipping route description */
656
+ routeDescription: string | null;
657
+ /** The ship-to's address; null when no address row matches */
658
+ address: UsersListItemShipToItemAddress | null;
659
+ [key: string]: unknown;
660
+ }
661
+ /**
662
+ * Get User List
663
+ * Response data for GET /users — MINIMUM fields, extras pass through
664
+ *
665
+ * Returned by: api.joomla.users.list(params) (array items)
666
+ * Returned by: api.joomla.users.doc.list(id, params)
667
+ */
668
+ export interface UsersListItem {
669
+ /** Email address */
670
+ email: string;
671
+ /** Joomla user ID */
672
+ id: number;
673
+ /** Last password reset (Y-m-d H:i:s) */
674
+ lastResetTime: string;
675
+ /** Last visit (Y-m-d H:i:s) */
676
+ lastvisitDate: string;
677
+ /** Display name */
678
+ name: string;
679
+ /** Registration date (Y-m-d H:i:s) */
680
+ registerDate: string;
681
+ /** Username */
682
+ username: string;
683
+ /** 1 when the user is blocked */
684
+ block: number;
685
+ /** Profile values keyed by profile key; {} when the user has none */
686
+ profileValues: Record<string, string>;
687
+ /** Prophet 21 customer ID from the profile; empty when unset */
688
+ customerId: string;
689
+ /** Prophet 21 contact ID from the profile; empty when unset */
690
+ contactId: string;
691
+ /** Timezone (America/New_York when unset) */
692
+ timezone: string;
693
+ /** Language (en-US when unset) */
694
+ language: string;
695
+ /** User groups the user belongs to */
696
+ groups: UsersListItemGroupsItem[];
697
+ /** The contact's ship-tos; present only with includeShipTo=Y */
698
+ shipTo?: UsersListItemShipToItem[] | null;
699
+ [key: string]: unknown;
700
+ }
701
+ /** Returned by: api.joomla.users.list(params) */
702
+ export type UsersListData = UsersListItem[];
703
+ /**
704
+ * Create a user
705
+ * Response data for POST /users — MINIMUM fields, extras pass through
706
+ *
707
+ * Returned by: api.joomla.users.create(data)
708
+ */
709
+ export interface UsersCreateData {
710
+ /** Username */
711
+ username: string;
712
+ /** Joomla user ID */
713
+ id: number;
714
+ /** Email address */
715
+ email: string;
716
+ /** Display name */
717
+ name: string;
718
+ [key: string]: unknown;
719
+ }
720
+ /**
721
+ * Create a user
722
+ * Request body for POST /users — MINIMUM fields, extras pass through
723
+ *
724
+ * Request body of: api.joomla.users.create(data)
725
+ */
726
+ export interface UsersCreateBody {
727
+ /** Username; when it already exists the existing user is returned and nothing changes */
728
+ username: string;
729
+ /** Email address; required for a new user */
730
+ email?: string | null;
731
+ /** Display name */
732
+ name?: string | null;
733
+ /** Plain-text password, stored as a bcrypt hash */
734
+ password?: string | null;
735
+ /** User group IDs; Registered is always added */
736
+ groups?: number[] | null;
737
+ /**
738
+ * Profile values keyed by profile key (e.g. simpleweb_customer.simpleweb_customer_id) ([] when
739
+ * empty)
740
+ */
741
+ profileValues?: Record<string, unknown> | [] | null;
742
+ [key: string]: unknown;
743
+ }
744
+ /**
745
+ * Verify the password for a user
746
+ * Response data for POST /users/verify-password — MINIMUM fields, extras pass through
747
+ *
748
+ * Returned by: api.joomla.users.verifyPassword.create(data)
749
+ */
750
+ export interface UsersVerifyPasswordCreateData {
751
+ /** Joomla user ID; 0 when the password did not match */
752
+ id: number;
753
+ /** True when the password matched */
754
+ isVerified: boolean;
755
+ /** Username sent */
756
+ username: string;
757
+ /** User JWT; null when the password did not match */
758
+ token: string | null;
759
+ /** Email address; empty when the password did not match */
760
+ email: string;
761
+ /** True when the user's profile has a Prophet 21 customer ID */
762
+ hasCustomerId: boolean;
763
+ /** True when the user's profile has a Prophet 21 contact ID */
764
+ hasContactId: boolean;
765
+ /** True when the user's profile has a default ship-to */
766
+ hasShipToId: boolean;
767
+ [key: string]: unknown;
768
+ }
769
+ /**
770
+ * Verify the password for a user
771
+ * Request body for POST /users/verify-password — MINIMUM fields, extras pass through
772
+ *
773
+ * Request body of: api.joomla.users.verifyPassword.create(data)
774
+ */
775
+ export interface UsersVerifyPasswordCreateBody {
776
+ /** Username */
777
+ username?: string;
778
+ /** Plain-text password */
779
+ password?: string;
780
+ /** Site to check against; honoured only when the caller's site is augur_info */
781
+ siteId?: string | null;
782
+ [key: string]: unknown;
783
+ }
784
+ /**
785
+ * Get User Detail
786
+ * Response data for GET /users/{id} — MINIMUM fields, extras pass through
787
+ *
788
+ * Returned by: api.joomla.users.get(id)
789
+ */
790
+ export interface UsersGetData {
791
+ /** Activation code; empty once activated */
792
+ activation: string;
793
+ /** Email address */
794
+ email: string;
795
+ /** Joomla user ID */
796
+ id: number;
797
+ /** Last password reset (Y-m-d H:i:s) */
798
+ lastResetTime: string;
799
+ /** Last visit (Y-m-d H:i:s) */
800
+ lastvisitDate: string;
801
+ /** Display name */
802
+ name: string;
803
+ /** Registration date (Y-m-d H:i:s) */
804
+ registerDate: string;
805
+ /** Username */
806
+ username: string;
807
+ [key: string]: unknown;
808
+ }
809
+ /**
810
+ * Update user
811
+ * Response data for PUT /users/{id} — MINIMUM fields, extras pass through
812
+ *
813
+ * Returned by: api.joomla.users.update(id, data)
814
+ */
815
+ export type UsersUpdateData = boolean;
816
+ /**
817
+ * Update user
818
+ * Request body for PUT /users/{id} — MINIMUM fields, extras pass through
819
+ *
820
+ * Request body of: api.joomla.users.update(id, data)
821
+ */
822
+ export interface UsersUpdateBody {
823
+ /** Display name */
824
+ name?: string | null;
825
+ /** Email address */
826
+ email?: string | null;
827
+ /** Username */
828
+ username?: string | null;
829
+ /** Plain-text password, stored as a bcrypt hash; blank leaves it unchanged */
830
+ password?: string | null;
831
+ /** 1 to block the user, 0 to unblock; any other value is ignored */
832
+ block?: number | null;
833
+ /** User group IDs to add (existing memberships are kept) */
834
+ groups?: number[] | null;
835
+ /** Profile values to set, keyed by profile key ([] when empty) */
836
+ profileValues?: Record<string, unknown> | [] | null;
837
+ [key: string]: unknown;
838
+ }
839
+ /**
840
+ * BLOCK user
841
+ * Response data for DELETE /users/{id} — MINIMUM fields, extras pass through
842
+ *
843
+ * Returned by: api.joomla.users.delete(id)
844
+ */
845
+ export type UsersDeleteData = boolean;
846
+ /**
847
+ * Get User Doc
848
+ * Response data for GET /users/{id}/doc — MINIMUM fields, extras pass through
849
+ *
850
+ * Returned by: api.joomla.users.doc.list(id, params)
851
+ */
852
+ export type UsersDocListData = UsersListItem;
853
+ /**
854
+ * List User Groups
855
+ * Response data for GET /users/{id}/groups — MINIMUM fields, extras pass through
856
+ *
857
+ * Returned by: api.joomla.users.groups.list(id, params) (array items)
858
+ * Returned by: api.joomla.users.groups.create(id, data)
859
+ * Returned by: api.joomla.users.groups.get(id, groupId)
860
+ */
861
+ export interface UsersGroupsListItem {
862
+ /** Joomla user ID */
863
+ userId: number;
864
+ /** Username */
865
+ username: string;
866
+ /** User group ID */
867
+ groupId: number;
868
+ /** User group title */
869
+ title: string;
870
+ [key: string]: unknown;
871
+ }
872
+ /** Returned by: api.joomla.users.groups.list(id, params) */
873
+ export type UsersGroupsListData = UsersGroupsListItem[];
874
+ /**
875
+ * Create/update User Group Mapping
876
+ * Response data for POST /users/{id}/groups — MINIMUM fields, extras pass through
877
+ *
878
+ * Returned by: api.joomla.users.groups.create(id, data)
879
+ */
880
+ export type UsersGroupsCreateData = UsersGroupsListItem;
881
+ /**
882
+ * Create/update User Group Mapping
883
+ * Request body for POST /users/{id}/groups — MINIMUM fields, extras pass through
884
+ *
885
+ * Request body of: api.joomla.users.groups.create(id, data)
886
+ */
887
+ export interface UsersGroupsCreateBody {
888
+ /** User group ID to add the user to */
889
+ groupId: number;
890
+ [key: string]: unknown;
891
+ }
892
+ /**
893
+ * get User Group
894
+ * Response data for GET /users/{id}/groups/{groupId} — MINIMUM fields, extras pass through
895
+ *
896
+ * Returned by: api.joomla.users.groups.get(id, groupId)
897
+ */
898
+ export type UsersGroupsGetData = UsersGroupsListItem;
899
+ /**
900
+ * Remove User Group
901
+ * Response data for DELETE /users/{id}/groups/{groupId} — MINIMUM fields, extras pass through
902
+ *
903
+ * Returned by: api.joomla.users.groups.delete(id, groupId)
904
+ */
905
+ export type UsersGroupsDeleteData = boolean;
906
+ /**
907
+ * Shape of `profile` (MINIMUM fields; reused wherever the same shape appears)
908
+ * Account fields and profile values
909
+ *
910
+ * Field `profile` of UsersTrinityListData
911
+ */
912
+ export interface UsersTrinityListDataProfile {
913
+ /** Joomla user ID */
914
+ id: number;
915
+ /** Display name */
916
+ name: string;
917
+ /** Username */
918
+ username: string;
919
+ /** Email address */
920
+ email: string;
921
+ /** Last visit (Y-m-d H:i:s) */
922
+ lastvisitDate: string;
923
+ /** Registration date (Y-m-d H:i:s) */
924
+ registerDate: string;
925
+ /** 1 when the user is blocked */
926
+ block: number;
927
+ /** Prophet 21 contact ID; null when blank */
928
+ contactId?: number | null;
929
+ /** Prophet 21 customer ID; null when blank */
930
+ customerId?: number | null;
931
+ /** Default contract number, as stored */
932
+ contractNo?: string | null;
933
+ /** Default ship-to ID; null when blank */
934
+ shipTo?: string | null;
935
+ /** Phone; null when blank */
936
+ phone?: string | null;
937
+ /** Job title; null when blank */
938
+ title?: string | null;
939
+ /** Company name; null when blank */
940
+ companyName?: string | null;
941
+ /** 1 when the customer ID is approved; null when blank */
942
+ approved?: number | null;
943
+ [key: string]: unknown;
944
+ }
945
+ /**
946
+ * Shape of `address` (MINIMUM fields; reused wherever the same shape appears)
947
+ * The contact's address
948
+ *
949
+ * Field `address` of UsersTrinityListDataP21Role
950
+ */
951
+ export interface UsersTrinityListDataP21RoleAddress {
952
+ /** Prophet 21 address ID */
953
+ id: number;
954
+ /** Physical address line 1 (max 50 chars) */
955
+ physAddress1: string | null;
956
+ /** Physical address line 2 (max 50 chars) */
957
+ physAddress2: string | null;
958
+ /** Physical city (max 50 chars) */
959
+ physCity: string | null;
960
+ /** Physical state or province (max 50 chars) */
961
+ physState: string | null;
962
+ /** Physical postal code (max 10 chars) */
963
+ physPostalCode: string | null;
964
+ /** Physical country (max 50 chars) */
965
+ physCountry: string | null;
966
+ /** Mailing address line 1 (max 50 chars) */
967
+ mailAddress1: string | null;
968
+ /** Mailing address line 2 (max 50 chars) */
969
+ mailAddress2: string | null;
970
+ /** Mailing city (max 50 chars) */
971
+ mailCity: string | null;
972
+ /** Mailing state or province (max 50 chars) */
973
+ mailState: string | null;
974
+ /** Mailing postal code (max 10 chars) */
975
+ mailPostalCode: string | null;
976
+ /** Mailing country (max 50 chars) */
977
+ mailCountry: string | null;
978
+ [key: string]: unknown;
979
+ }
980
+ /**
981
+ * Shape of `p21Role` (MINIMUM fields; reused wherever the same shape appears)
982
+ * Prophet 21 contact role; the key is absent when the user has no contact ID
983
+ *
984
+ * Field `p21Role` of UsersTrinityListData
985
+ */
986
+ export interface UsersTrinityListDataP21Role {
987
+ /** Contact role ID from the Prophet 21 contact */
988
+ contactRoleUid: number | null;
989
+ /** Same value as contactRoleUid */
990
+ contactRoleId: number | null;
991
+ /** Contact role name */
992
+ contactRoleName: string | null;
993
+ /** Parent role name */
994
+ parentName: string | null;
995
+ /** Parent Joomla group ID */
996
+ parentGroupId: number | null;
997
+ /** Joomla group ID for the role */
998
+ groupId: number | null;
999
+ /** Contact role record ID */
1000
+ id: number;
1001
+ /** The contact's address */
1002
+ address: UsersTrinityListDataP21RoleAddress;
1003
+ [key: string]: unknown;
1004
+ }
1005
+ /**
1006
+ * Get Trinity User Doc
1007
+ * Response data for GET /users/{id}/trinity — MINIMUM fields, extras pass through
1008
+ *
1009
+ * Returned by: api.joomla.users.trinity.list(id)
1010
+ */
1011
+ export interface UsersTrinityListData {
1012
+ /** Account fields and profile values */
1013
+ profile: UsersTrinityListDataProfile;
1014
+ /** User groups the user belongs to */
1015
+ groups: UsersListItemGroupsItem[];
1016
+ /** trinitysurfaces, trinitytile, or empty when neither matches */
1017
+ territory: string;
1018
+ /** A&D, contractor, or empty */
1019
+ role: string;
1020
+ /** Prophet 21 contact role; the key is absent when the user has no contact ID */
1021
+ p21Role?: UsersTrinityListDataP21Role | null;
1022
+ [key: string]: unknown;
1023
+ }
1024
+ export interface JoomlaClientSpec {
1025
+ actionLogs: {
1026
+ /**
1027
+ * List Action Logs
1028
+ * Call: api.joomla.actionLogs.list(params)
1029
+ *
1030
+ * Errors:
1031
+ * 400: orderBy is not column|ASC or column|DESC on an action_logs column.
1032
+ *
1033
+ * GET https://joomla.augur-api.com/action-logs
1034
+ * Contract: https://joomla.augur-api.com/openapi.json#/paths/~1action-logs/get
1035
+ *
1036
+ * @param params ActionLogsListParams (query string)
1037
+ * @returns BaseResponse whose `data` is ActionLogsListData
1038
+ */
1039
+ list: (params?: ActionLogsListParams) => Promise<BaseResponse<ActionLogsListData>>;
1040
+ /**
1041
+ * Get Action Log Doc
1042
+ * Call: api.joomla.actionLogs.get(id)
1043
+ *
1044
+ * Errors:
1045
+ * 404: No action log with this ID.
1046
+ *
1047
+ * GET https://joomla.augur-api.com/action-logs/{id}
1048
+ * Contract: https://joomla.augur-api.com/openapi.json#/paths/~1action-logs~1{id}/get
1049
+ *
1050
+ * @param id action_logs.id
1051
+ * @param params ActionLogsGetParams (query string)
1052
+ * @returns BaseResponse whose `data` is ActionLogsGetData
1053
+ */
1054
+ get: (id: number, params?: ActionLogsGetParams) => Promise<BaseResponse<ActionLogsGetData>>;
1055
+ };
1056
+ categories: {
1057
+ /**
1058
+ * List Categories
1059
+ * Call: api.joomla.categories.list(params)
1060
+ *
1061
+ * Errors:
1062
+ * 400: orderBy is not column|ASC or column|DESC on a categories column.
1063
+ *
1064
+ * GET https://joomla.augur-api.com/categories
1065
+ * Contract: https://joomla.augur-api.com/openapi.json#/paths/~1categories/get
1066
+ *
1067
+ * @param params CategoriesListParams (query string)
1068
+ * @returns BaseResponse whose `data` is CategoriesListData
1069
+ */
1070
+ list: (params?: CategoriesListParams) => Promise<BaseResponse<CategoriesListData>>;
1071
+ /**
1072
+ * Get Category by ID
1073
+ * Call: api.joomla.categories.get(id)
1074
+ *
1075
+ * Errors:
1076
+ * 404: No category with this ID.
1077
+ *
1078
+ * GET https://joomla.augur-api.com/categories/{id}
1079
+ * Contract: https://joomla.augur-api.com/openapi.json#/paths/~1categories~1{id}/get
1080
+ *
1081
+ * @param id categories.id
1082
+ * @param params CategoriesGetParams (query string)
1083
+ * @returns BaseResponse whose `data` is CategoriesGetData
1084
+ */
1085
+ get: (id: number, params?: CategoriesGetParams) => Promise<BaseResponse<CategoriesGetData>>;
1086
+ };
1087
+ content: {
1088
+ /**
1089
+ * Get Content list
1090
+ * Call: api.joomla.content.list(params)
1091
+ *
1092
+ * Get Content List
1093
+ *
1094
+ * Response data, each item: A Joomla article with its images and custom fields
1095
+ * (ContentHelper::generateDocument)
1096
+ *
1097
+ * Errors:
1098
+ * 400: orderBy is not column|ASC or column|DESC on a content column.
1099
+ *
1100
+ * GET https://joomla.augur-api.com/content
1101
+ * Contract: https://joomla.augur-api.com/openapi.json#/paths/~1content/get
1102
+ *
1103
+ * @param params ContentListParams (query string)
1104
+ * @returns BaseResponse whose `data` is ContentListData
1105
+ */
1106
+ list: (params?: ContentListParams) => Promise<BaseResponse<ContentListData>>;
1107
+ /**
1108
+ * Get Content Detail
1109
+ * Call: api.joomla.content.get(id, params)
1110
+ *
1111
+ * Response data: A Joomla article's core fields, without images or custom fields
1112
+ *
1113
+ * Errors:
1114
+ * 400: id is 0 and alias or catid is missing.
1115
+ * 404: No article with this ID (or, for ID 0, with this alias and catid).
1116
+ *
1117
+ * GET https://joomla.augur-api.com/content/{id}
1118
+ * Contract: https://joomla.augur-api.com/openapi.json#/paths/~1content~1{id}/get
1119
+ *
1120
+ * @param id content.id
1121
+ * @param params ContentGetParams (query string)
1122
+ * @returns BaseResponse whose `data` is ContentGetData
1123
+ */
1124
+ get: (id: number, params?: ContentGetParams) => Promise<BaseResponse<ContentGetData>>;
1125
+ doc: {
1126
+ /**
1127
+ * Get Content Doc
1128
+ * Call: api.joomla.content.doc.list(id, params)
1129
+ *
1130
+ * Response data: A Joomla article with its images and custom fields
1131
+ * (ContentHelper::generateDocument)
1132
+ *
1133
+ * Errors:
1134
+ * 400: id is 0 and alias or catid is missing.
1135
+ * 404: No article with this ID (or, for ID 0, with this alias and catid).
1136
+ *
1137
+ * GET https://joomla.augur-api.com/content/{id}/doc
1138
+ * Contract: https://joomla.augur-api.com/openapi.json#/paths/~1content~1{id}~1doc/get
1139
+ *
1140
+ * @param id content.id
1141
+ * @param params ContentDocListParams (query string)
1142
+ * @returns BaseResponse whose `data` is ContentDocListData
1143
+ */
1144
+ list: (id: number, params?: ContentDocListParams) => Promise<BaseResponse<ContentDocListData>>;
1145
+ /** Alias for `list`: GET /content/{id}/doc. Call: api.joomla.content.doc.get(id, params) */
1146
+ get: (id: number, params?: ContentDocListParams) => Promise<BaseResponse<ContentDocListData>>;
1147
+ };
1148
+ };
1149
+ menu: {
1150
+ /**
1151
+ * List Menu Items
1152
+ * Call: api.joomla.menu.list(params)
1153
+ *
1154
+ * Errors:
1155
+ * 400: orderBy is not column|ASC or column|DESC on a menu column.
1156
+ *
1157
+ * GET https://joomla.augur-api.com/menu
1158
+ * Contract: https://joomla.augur-api.com/openapi.json#/paths/~1menu/get
1159
+ *
1160
+ * @param params MenuListParams (query string)
1161
+ * @returns BaseResponse whose `data` is MenuListData
1162
+ */
1163
+ list: (params?: MenuListParams) => Promise<BaseResponse<MenuListData>>;
1164
+ doc: {
1165
+ /**
1166
+ * Get Menu Doc
1167
+ * Call: api.joomla.menu.doc.list(id, params)
1168
+ *
1169
+ * Response data: A Joomla menu item with its child items, recursively
1170
+ * (MenuHelper::generateDocument)
1171
+ *
1172
+ * Errors:
1173
+ * 400: id is 0 and alias is missing.
1174
+ * 404: No menu item with this ID (or, for ID 0, with this alias).
1175
+ *
1176
+ * GET https://joomla.augur-api.com/menu/{id}/doc
1177
+ * Contract: https://joomla.augur-api.com/openapi.json#/paths/~1menu~1{id}~1doc/get
1178
+ *
1179
+ * @param id menu.id
1180
+ * @param params MenuDocListParams (query string)
1181
+ * @returns BaseResponse whose `data` is MenuDocListData
1182
+ */
1183
+ list: (id: number, params?: MenuDocListParams) => Promise<BaseResponse<MenuDocListData>>;
1184
+ /** Alias for `list`: GET /menu/{id}/doc. Call: api.joomla.menu.doc.get(id, params) */
1185
+ get: (id: number, params?: MenuDocListParams) => Promise<BaseResponse<MenuDocListData>>;
1186
+ };
1187
+ };
1188
+ modules: {
1189
+ /**
1190
+ * List Modules
1191
+ * Call: api.joomla.modules.list(params)
1192
+ *
1193
+ * List Joomla site modules (#__modules rows)
1194
+ *
1195
+ * Errors:
1196
+ * 400: orderBy is not column|ASC or column|DESC on a modules column. Or menuId is not 0 or a
1197
+ * menu item ID.
1198
+ *
1199
+ * GET https://joomla.augur-api.com/modules
1200
+ * Contract: https://joomla.augur-api.com/openapi.json#/paths/~1modules/get
1201
+ *
1202
+ * @param params ModulesListParams (query string)
1203
+ * @returns BaseResponse whose `data` is ModulesListData
1204
+ */
1205
+ list: (params?: ModulesListParams) => Promise<BaseResponse<ModulesListData>>;
1206
+ /**
1207
+ * Get Module
1208
+ * Call: api.joomla.modules.get(id, params)
1209
+ *
1210
+ * Get one Joomla site module (#__modules row)
1211
+ *
1212
+ * Errors:
1213
+ * 404: No site module with this ID.
1214
+ *
1215
+ * GET https://joomla.augur-api.com/modules/{id}
1216
+ * Contract: https://joomla.augur-api.com/openapi.json#/paths/~1modules~1{id}/get
1217
+ *
1218
+ * @param id modules.id
1219
+ * @param params ModulesGetParams (query string)
1220
+ * @returns BaseResponse whose `data` is ModulesGetData
1221
+ */
1222
+ get: (id: number, params?: ModulesGetParams) => Promise<BaseResponse<ModulesGetData>>;
1223
+ };
1224
+ tags: {
1225
+ /**
1226
+ * Get tag list
1227
+ * Call: api.joomla.tags.list(params)
1228
+ *
1229
+ * Get Tag List
1230
+ *
1231
+ * Response data, each item: A tag with the number of matching published articles that carry it
1232
+ * (TagsHelper::listAll)
1233
+ *
1234
+ * Errors:
1235
+ * 400: orderBy is not column|ASC or column|DESC on a tags column.
1236
+ *
1237
+ * GET https://joomla.augur-api.com/tags
1238
+ * Contract: https://joomla.augur-api.com/openapi.json#/paths/~1tags/get
1239
+ *
1240
+ * @param params TagsListParams (query string)
1241
+ * @returns BaseResponse whose `data` is TagsListData
1242
+ */
1243
+ list: (params?: TagsListParams) => Promise<BaseResponse<TagsListData>>;
1244
+ };
1245
+ usergroups: {
1246
+ /**
1247
+ * Get User Groups
1248
+ * Call: api.joomla.usergroups.list(params)
1249
+ *
1250
+ * Errors:
1251
+ * 400: orderBy is not column|ASC or column|DESC on a usergroups column.
1252
+ *
1253
+ * GET https://joomla.augur-api.com/usergroups
1254
+ * Contract: https://joomla.augur-api.com/openapi.json#/paths/~1usergroups/get
1255
+ *
1256
+ * @param params UsergroupsListParams (query string)
1257
+ * @returns BaseResponse whose `data` is UsergroupsListData
1258
+ */
1259
+ list: (params?: UsergroupsListParams) => Promise<BaseResponse<UsergroupsListData>>;
1260
+ };
1261
+ users: {
1262
+ /**
1263
+ * Get User List
1264
+ * Call: api.joomla.users.list(params)
1265
+ *
1266
+ * Response data, each item: A Joomla user with profile values and groups
1267
+ * (UsersHelper::generateDocument)
1268
+ *
1269
+ * Errors:
1270
+ * 400: orderBy is not column|ASC or column|DESC on a users column.
1271
+ *
1272
+ * GET https://joomla.augur-api.com/users
1273
+ * Contract: https://joomla.augur-api.com/openapi.json#/paths/~1users/get
1274
+ *
1275
+ * @param params UsersListParams (query string)
1276
+ * @returns BaseResponse whose `data` is UsersListData
1277
+ */
1278
+ list: (params?: UsersListParams) => Promise<BaseResponse<UsersListData>>;
1279
+ /**
1280
+ * Create a user
1281
+ * Call: api.joomla.users.create(data)
1282
+ *
1283
+ * Request body: Create a Joomla user, or return the existing user with this username unchanged
1284
+ * Response data: The user a create call resolved to: the new user, or the existing one with
1285
+ * that username
1286
+ *
1287
+ * Auth: bearer token; spec scopes: none listed (most endpoints list `public`)
1288
+ *
1289
+ * Errors:
1290
+ * 400: The body is missing or not a JSON object. Or username is missing, or email is missing
1291
+ * for a new user.
1292
+ *
1293
+ * POST https://joomla.augur-api.com/users
1294
+ * Contract: https://joomla.augur-api.com/openapi.json#/paths/~1users/post
1295
+ *
1296
+ * @param data UsersCreateBody (request body)
1297
+ * @returns BaseResponse whose `data` is UsersCreateData
1298
+ */
1299
+ create: (data: UsersCreateBody) => Promise<BaseResponse<UsersCreateData>>;
1300
+ /**
1301
+ * Get User Detail
1302
+ * Call: api.joomla.users.get(id)
1303
+ *
1304
+ * Response data: A Joomla user's account fields, without profile or groups
1305
+ *
1306
+ * Errors:
1307
+ * 404: No user with this ID.
1308
+ *
1309
+ * GET https://joomla.augur-api.com/users/{id}
1310
+ * Contract: https://joomla.augur-api.com/openapi.json#/paths/~1users~1{id}/get
1311
+ *
1312
+ * @param id users.id
1313
+ * @param params UsersGetParams (query string)
1314
+ * @returns BaseResponse whose `data` is UsersGetData
1315
+ */
1316
+ get: (id: number, params?: UsersGetParams) => Promise<BaseResponse<UsersGetData>>;
1317
+ /**
1318
+ * Update user
1319
+ * Call: api.joomla.users.update(id, data)
1320
+ *
1321
+ * Request body: Partial update of a Joomla user; an absent field keeps its current value
1322
+ *
1323
+ * Errors:
1324
+ * 400: The body is missing or not a JSON object.
1325
+ * 404: No user with this ID.
1326
+ *
1327
+ * PUT https://joomla.augur-api.com/users/{id}
1328
+ * Contract: https://joomla.augur-api.com/openapi.json#/paths/~1users~1{id}/put
1329
+ *
1330
+ * @param id users.id
1331
+ * @param data UsersUpdateBody (request body)
1332
+ * @returns BaseResponse whose `data` is UsersUpdateData
1333
+ */
1334
+ update: (id: number, data: UsersUpdateBody) => Promise<BaseResponse<UsersUpdateData>>;
1335
+ /**
1336
+ * BLOCK user
1337
+ * Call: api.joomla.users.delete(id)
1338
+ *
1339
+ * Errors:
1340
+ * 404: No user with this ID.
1341
+ *
1342
+ * DELETE https://joomla.augur-api.com/users/{id}
1343
+ * Contract: https://joomla.augur-api.com/openapi.json#/paths/~1users~1{id}/delete
1344
+ *
1345
+ * @param id users.id
1346
+ * @returns BaseResponse whose `data` is UsersDeleteData
1347
+ */
1348
+ delete: (id: number) => Promise<BaseResponse<UsersDeleteData>>;
1349
+ doc: {
1350
+ /**
1351
+ * Get User Doc
1352
+ * Call: api.joomla.users.doc.list(id, params)
1353
+ *
1354
+ * Response data: A Joomla user with profile values and groups (UsersHelper::generateDocument)
1355
+ *
1356
+ * Errors:
1357
+ * 404: No user with this ID.
1358
+ *
1359
+ * GET https://joomla.augur-api.com/users/{id}/doc
1360
+ * Contract: https://joomla.augur-api.com/openapi.json#/paths/~1users~1{id}~1doc/get
1361
+ *
1362
+ * @param id users.id
1363
+ * @param params UsersDocListParams (query string)
1364
+ * @returns BaseResponse whose `data` is UsersDocListData
1365
+ */
1366
+ list: (id: number, params?: UsersDocListParams) => Promise<BaseResponse<UsersDocListData>>;
1367
+ /** Alias for `list`: GET /users/{id}/doc. Call: api.joomla.users.doc.get(id, params) */
1368
+ get: (id: number, params?: UsersDocListParams) => Promise<BaseResponse<UsersDocListData>>;
1369
+ };
1370
+ groups: {
1371
+ /**
1372
+ * List User Groups
1373
+ * Call: api.joomla.users.groups.list(id, params)
1374
+ *
1375
+ * Response data, each item: A user's membership in one group, with the user and group names
1376
+ * (UserGroupMapHelper::generateDocument)
1377
+ *
1378
+ * Errors:
1379
+ * 400: orderBy is not column|ASC or column|DESC on a user_group_map column.
1380
+ * 404: No user with this ID.
1381
+ *
1382
+ * GET https://joomla.augur-api.com/users/{id}/groups
1383
+ * Contract: https://joomla.augur-api.com/openapi.json#/paths/~1users~1{id}~1groups/get
1384
+ *
1385
+ * @param id users.id
1386
+ * @param params UsersGroupsListParams (query string)
1387
+ * @returns BaseResponse whose `data` is UsersGroupsListData
1388
+ */
1389
+ list: (id: number, params?: UsersGroupsListParams) => Promise<BaseResponse<UsersGroupsListData>>;
1390
+ /**
1391
+ * Create/update User Group Mapping
1392
+ * Call: api.joomla.users.groups.create(id, data)
1393
+ *
1394
+ * Request body: Add the user in the path to a user group
1395
+ * Response data: A user's membership in one group, with the user and group names
1396
+ * (UserGroupMapHelper::generateDocument)
1397
+ *
1398
+ * Errors:
1399
+ * 400: The body is missing or not a JSON object. Or groupId is missing.
1400
+ * 404: No user or group with these IDs.
1401
+ *
1402
+ * POST https://joomla.augur-api.com/users/{id}/groups
1403
+ * Contract: https://joomla.augur-api.com/openapi.json#/paths/~1users~1{id}~1groups/post
1404
+ *
1405
+ * @param id users.id
1406
+ * @param data UsersGroupsCreateBody (request body)
1407
+ * @returns BaseResponse whose `data` is UsersGroupsCreateData
1408
+ */
1409
+ create: (id: number, data: UsersGroupsCreateBody) => Promise<BaseResponse<UsersGroupsCreateData>>;
1410
+ /**
1411
+ * get User Group
1412
+ * Call: api.joomla.users.groups.get(id, groupId)
1413
+ *
1414
+ * Response data: A user's membership in one group, with the user and group names
1415
+ * (UserGroupMapHelper::generateDocument)
1416
+ *
1417
+ * Errors:
1418
+ * 404: The user is not in this group.
1419
+ *
1420
+ * GET https://joomla.augur-api.com/users/{id}/groups/{groupId}
1421
+ * Contract:
1422
+ * https://joomla.augur-api.com/openapi.json#/paths/~1users~1{id}~1groups~1{groupId}/get
1423
+ *
1424
+ * @param id users.id
1425
+ * @param groupId usergroups.id
1426
+ * @param params UsersGroupsGetParams (query string)
1427
+ * @returns BaseResponse whose `data` is UsersGroupsGetData
1428
+ */
1429
+ get: (id: number, groupId: number, params?: UsersGroupsGetParams) => Promise<BaseResponse<UsersGroupsGetData>>;
1430
+ /**
1431
+ * Remove User Group
1432
+ * Call: api.joomla.users.groups.delete(id, groupId)
1433
+ *
1434
+ * Remove a user from a group (hard delete of the user_usergroup_map row)
1435
+ *
1436
+ * Errors:
1437
+ * 404: The user is not in this group.
1438
+ *
1439
+ * DELETE https://joomla.augur-api.com/users/{id}/groups/{groupId}
1440
+ * Contract:
1441
+ * https://joomla.augur-api.com/openapi.json#/paths/~1users~1{id}~1groups~1{groupId}/delete
1442
+ *
1443
+ * @param id users.id
1444
+ * @param groupId usergroups.id
1445
+ * @returns BaseResponse whose `data` is UsersGroupsDeleteData
1446
+ */
1447
+ delete: (id: number, groupId: number) => Promise<BaseResponse<UsersGroupsDeleteData>>;
1448
+ };
1449
+ trinity: {
1450
+ /**
1451
+ * Get Trinity User Doc
1452
+ * Call: api.joomla.users.trinity.list(id)
1453
+ *
1454
+ * Response data: A Trinity user's profile, Prophet 21 role, groups, territory and role
1455
+ *
1456
+ * Errors:
1457
+ * 404: No user with this ID.
1458
+ *
1459
+ * GET https://joomla.augur-api.com/users/{id}/trinity
1460
+ * Contract: https://joomla.augur-api.com/openapi.json#/paths/~1users~1{id}~1trinity/get
1461
+ *
1462
+ * @param id users.id
1463
+ * @param params UsersTrinityListParams (query string)
1464
+ * @returns BaseResponse whose `data` is UsersTrinityListData
1465
+ */
1466
+ list: (id: number, params?: UsersTrinityListParams) => Promise<BaseResponse<UsersTrinityListData>>;
1467
+ };
1468
+ verifyPassword: {
1469
+ /**
1470
+ * Verify the password for a user
1471
+ * Call: api.joomla.users.verifyPassword.create(data)
1472
+ *
1473
+ * Request body: Check a username and password, and issue a user JWT when they match
1474
+ * Response data: The outcome of a username/password check, with a user JWT when it matched
1475
+ *
1476
+ * Errors:
1477
+ * 400: The body is missing or not a JSON object.
1478
+ *
1479
+ * POST https://joomla.augur-api.com/users/verify-password
1480
+ * Contract: https://joomla.augur-api.com/openapi.json#/paths/~1users~1verify-password/post
1481
+ *
1482
+ * @param data UsersVerifyPasswordCreateBody (request body)
1483
+ * @returns BaseResponse whose `data` is UsersVerifyPasswordCreateData
1484
+ */
1485
+ create: (data: UsersVerifyPasswordCreateBody) => Promise<BaseResponse<UsersVerifyPasswordCreateData>>;
1486
+ };
1487
+ };
1488
+ }
1489
+ //# sourceMappingURL=types.d.ts.map