@greensecurity/javascript-sdk 0.43.1-beta.122 → 0.43.1-beta.123

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 (479) hide show
  1. package/README.md +15 -3
  2. package/dist/commonjs/__tests__/vendors.test.js +85 -43
  3. package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
  4. package/dist/commonjs/__tests__/webhooks.test.js +1 -1
  5. package/dist/commonjs/__tests__/webhooks.test.js.map +1 -1
  6. package/dist/commonjs/__tests__/zones.test.js +30 -2
  7. package/dist/commonjs/__tests__/zones.test.js.map +1 -1
  8. package/dist/commonjs/funcs/vendorsAiClassifyCreate.d.ts +24 -0
  9. package/dist/commonjs/funcs/vendorsAiClassifyCreate.d.ts.map +1 -0
  10. package/dist/commonjs/funcs/vendorsAiClassifyCreate.js +125 -0
  11. package/dist/commonjs/funcs/vendorsAiClassifyCreate.js.map +1 -0
  12. package/dist/commonjs/funcs/vendorsAiClassifyNotifyUploaded.d.ts +22 -0
  13. package/dist/commonjs/funcs/vendorsAiClassifyNotifyUploaded.d.ts.map +1 -0
  14. package/dist/commonjs/funcs/vendorsAiClassifyNotifyUploaded.js +123 -0
  15. package/dist/commonjs/funcs/vendorsAiClassifyNotifyUploaded.js.map +1 -0
  16. package/dist/commonjs/funcs/vendorsGetVendorUploadHistory.d.ts +22 -0
  17. package/dist/commonjs/funcs/vendorsGetVendorUploadHistory.d.ts.map +1 -0
  18. package/dist/commonjs/funcs/vendorsGetVendorUploadHistory.js +133 -0
  19. package/dist/commonjs/funcs/vendorsGetVendorUploadHistory.js.map +1 -0
  20. package/dist/commonjs/funcs/vendorsGetVendorsDetails.d.ts +1 -0
  21. package/dist/commonjs/funcs/vendorsGetVendorsDetails.d.ts.map +1 -1
  22. package/dist/commonjs/funcs/vendorsGetVendorsDetails.js +1 -0
  23. package/dist/commonjs/funcs/vendorsGetVendorsDetails.js.map +1 -1
  24. package/dist/commonjs/funcs/vendorsListVendorAdditionalFacilityFields.d.ts +10 -5
  25. package/dist/commonjs/funcs/vendorsListVendorAdditionalFacilityFields.d.ts.map +1 -1
  26. package/dist/commonjs/funcs/vendorsListVendorAdditionalFacilityFields.js +17 -46
  27. package/dist/commonjs/funcs/vendorsListVendorAdditionalFacilityFields.js.map +1 -1
  28. package/dist/commonjs/funcs/vendorsListVendorCustomFields.d.ts +14 -6
  29. package/dist/commonjs/funcs/vendorsListVendorCustomFields.d.ts.map +1 -1
  30. package/dist/commonjs/funcs/vendorsListVendorCustomFields.js +20 -49
  31. package/dist/commonjs/funcs/vendorsListVendorCustomFields.js.map +1 -1
  32. package/dist/commonjs/funcs/vendorsUpdateVendorCustomField.d.ts +28 -0
  33. package/dist/commonjs/funcs/vendorsUpdateVendorCustomField.d.ts.map +1 -0
  34. package/dist/commonjs/funcs/vendorsUpdateVendorCustomField.js +135 -0
  35. package/dist/commonjs/funcs/vendorsUpdateVendorCustomField.js.map +1 -0
  36. package/dist/commonjs/lib/config.d.ts +2 -2
  37. package/dist/commonjs/lib/config.js +2 -2
  38. package/dist/commonjs/models/components/aiclassifycreaterequest.d.ts +25 -0
  39. package/dist/commonjs/models/components/aiclassifycreaterequest.d.ts.map +1 -0
  40. package/dist/commonjs/models/components/aiclassifycreaterequest.js +58 -0
  41. package/dist/commonjs/models/components/aiclassifycreaterequest.js.map +1 -0
  42. package/dist/commonjs/models/components/aiclassifycreateresponse.d.ts +26 -0
  43. package/dist/commonjs/models/components/aiclassifycreateresponse.d.ts.map +1 -0
  44. package/dist/commonjs/models/components/aiclassifycreateresponse.js +64 -0
  45. package/dist/commonjs/models/components/aiclassifycreateresponse.js.map +1 -0
  46. package/dist/commonjs/models/components/aiclassifynotifyuploadedrequest.d.ts +15 -0
  47. package/dist/commonjs/models/components/aiclassifynotifyuploadedrequest.d.ts.map +1 -0
  48. package/dist/commonjs/models/components/aiclassifynotifyuploadedrequest.js +55 -0
  49. package/dist/commonjs/models/components/aiclassifynotifyuploadedrequest.js.map +1 -0
  50. package/dist/commonjs/models/components/aiclassifynotifyuploadedresponse.d.ts +16 -0
  51. package/dist/commonjs/models/components/aiclassifynotifyuploadedresponse.d.ts.map +1 -0
  52. package/dist/commonjs/models/components/aiclassifynotifyuploadedresponse.js +61 -0
  53. package/dist/commonjs/models/components/aiclassifynotifyuploadedresponse.js.map +1 -0
  54. package/dist/commonjs/models/components/index.d.ts +5 -0
  55. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  56. package/dist/commonjs/models/components/index.js +5 -0
  57. package/dist/commonjs/models/components/index.js.map +1 -1
  58. package/dist/commonjs/models/components/uploadhistoryitem.d.ts +26 -0
  59. package/dist/commonjs/models/components/uploadhistoryitem.d.ts.map +1 -0
  60. package/dist/commonjs/models/components/uploadhistoryitem.js +63 -0
  61. package/dist/commonjs/models/components/uploadhistoryitem.js.map +1 -0
  62. package/dist/commonjs/models/components/vendor.d.ts +5 -0
  63. package/dist/commonjs/models/components/vendor.d.ts.map +1 -1
  64. package/dist/commonjs/models/components/vendor.js +4 -0
  65. package/dist/commonjs/models/components/vendor.js.map +1 -1
  66. package/dist/commonjs/models/components/vendorcustomfields.d.ts +65 -3
  67. package/dist/commonjs/models/components/vendorcustomfields.d.ts.map +1 -1
  68. package/dist/commonjs/models/components/vendorcustomfields.js +45 -4
  69. package/dist/commonjs/models/components/vendorcustomfields.js.map +1 -1
  70. package/dist/commonjs/models/operations/addvendormanagedbycompany.d.ts +7 -1
  71. package/dist/commonjs/models/operations/addvendormanagedbycompany.d.ts.map +1 -1
  72. package/dist/commonjs/models/operations/addvendormanagedbycompany.js.map +1 -1
  73. package/dist/commonjs/models/operations/calculatesubscriptionprice.d.ts +7 -1
  74. package/dist/commonjs/models/operations/calculatesubscriptionprice.d.ts.map +1 -1
  75. package/dist/commonjs/models/operations/calculatesubscriptionprice.js.map +1 -1
  76. package/dist/commonjs/models/operations/changesubscription.d.ts +7 -1
  77. package/dist/commonjs/models/operations/changesubscription.d.ts.map +1 -1
  78. package/dist/commonjs/models/operations/changesubscription.js.map +1 -1
  79. package/dist/commonjs/models/operations/createvendorcompany.d.ts +7 -1
  80. package/dist/commonjs/models/operations/createvendorcompany.d.ts.map +1 -1
  81. package/dist/commonjs/models/operations/createvendorcompany.js.map +1 -1
  82. package/dist/commonjs/models/operations/deletevendormanagedbycompany.d.ts +7 -1
  83. package/dist/commonjs/models/operations/deletevendormanagedbycompany.d.ts.map +1 -1
  84. package/dist/commonjs/models/operations/deletevendormanagedbycompany.js.map +1 -1
  85. package/dist/commonjs/models/operations/expeditetimeremaining.d.ts +7 -1
  86. package/dist/commonjs/models/operations/expeditetimeremaining.d.ts.map +1 -1
  87. package/dist/commonjs/models/operations/expeditetimeremaining.js.map +1 -1
  88. package/dist/commonjs/models/operations/getnextunansweredscreeningquestion.d.ts +7 -1
  89. package/dist/commonjs/models/operations/getnextunansweredscreeningquestion.d.ts.map +1 -1
  90. package/dist/commonjs/models/operations/getnextunansweredscreeningquestion.js.map +1 -1
  91. package/dist/commonjs/models/operations/getsubscription.d.ts +7 -1
  92. package/dist/commonjs/models/operations/getsubscription.d.ts.map +1 -1
  93. package/dist/commonjs/models/operations/getsubscription.js.map +1 -1
  94. package/dist/commonjs/models/operations/getvendorcredentialdetails.d.ts +7 -1
  95. package/dist/commonjs/models/operations/getvendorcredentialdetails.d.ts.map +1 -1
  96. package/dist/commonjs/models/operations/getvendorcredentialdetails.js.map +1 -1
  97. package/dist/commonjs/models/operations/getvendorlegalname.d.ts +7 -1
  98. package/dist/commonjs/models/operations/getvendorlegalname.d.ts.map +1 -1
  99. package/dist/commonjs/models/operations/getvendorlegalname.js.map +1 -1
  100. package/dist/commonjs/models/operations/getvendorsdetails.d.ts +7 -1
  101. package/dist/commonjs/models/operations/getvendorsdetails.d.ts.map +1 -1
  102. package/dist/commonjs/models/operations/getvendorsdetails.js.map +1 -1
  103. package/dist/commonjs/models/operations/getvendoruploadhistory.d.ts +26 -0
  104. package/dist/commonjs/models/operations/getvendoruploadhistory.d.ts.map +1 -0
  105. package/dist/commonjs/models/operations/getvendoruploadhistory.js +56 -0
  106. package/dist/commonjs/models/operations/getvendoruploadhistory.js.map +1 -0
  107. package/dist/commonjs/models/operations/index.d.ts +2 -0
  108. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  109. package/dist/commonjs/models/operations/index.js +2 -0
  110. package/dist/commonjs/models/operations/index.js.map +1 -1
  111. package/dist/commonjs/models/operations/listvendoradditionalfacilityfields.d.ts +8 -32
  112. package/dist/commonjs/models/operations/listvendoradditionalfacilityfields.d.ts.map +1 -1
  113. package/dist/commonjs/models/operations/listvendoradditionalfacilityfields.js +1 -19
  114. package/dist/commonjs/models/operations/listvendoradditionalfacilityfields.js.map +1 -1
  115. package/dist/commonjs/models/operations/listvendorcredentialhistory.d.ts +7 -1
  116. package/dist/commonjs/models/operations/listvendorcredentialhistory.d.ts.map +1 -1
  117. package/dist/commonjs/models/operations/listvendorcredentialhistory.js.map +1 -1
  118. package/dist/commonjs/models/operations/listvendorcredits.d.ts +7 -1
  119. package/dist/commonjs/models/operations/listvendorcredits.d.ts.map +1 -1
  120. package/dist/commonjs/models/operations/listvendorcredits.js.map +1 -1
  121. package/dist/commonjs/models/operations/listvendorcustomfields.d.ts +8 -32
  122. package/dist/commonjs/models/operations/listvendorcustomfields.d.ts.map +1 -1
  123. package/dist/commonjs/models/operations/listvendorcustomfields.js +1 -19
  124. package/dist/commonjs/models/operations/listvendorcustomfields.js.map +1 -1
  125. package/dist/commonjs/models/operations/listvendorfacilitystatuses.d.ts +7 -1
  126. package/dist/commonjs/models/operations/listvendorfacilitystatuses.d.ts.map +1 -1
  127. package/dist/commonjs/models/operations/listvendorfacilitystatuses.js.map +1 -1
  128. package/dist/commonjs/models/operations/listvendorinvoices.d.ts +7 -1
  129. package/dist/commonjs/models/operations/listvendorinvoices.d.ts.map +1 -1
  130. package/dist/commonjs/models/operations/listvendorinvoices.js.map +1 -1
  131. package/dist/commonjs/models/operations/listvendormanagedbycompanies.d.ts +7 -1
  132. package/dist/commonjs/models/operations/listvendormanagedbycompanies.d.ts.map +1 -1
  133. package/dist/commonjs/models/operations/listvendormanagedbycompanies.js.map +1 -1
  134. package/dist/commonjs/models/operations/listvendorscrubdetails.d.ts +7 -1
  135. package/dist/commonjs/models/operations/listvendorscrubdetails.d.ts.map +1 -1
  136. package/dist/commonjs/models/operations/listvendorscrubdetails.js.map +1 -1
  137. package/dist/commonjs/models/operations/listvendorscrubpackages.d.ts +7 -1
  138. package/dist/commonjs/models/operations/listvendorscrubpackages.d.ts.map +1 -1
  139. package/dist/commonjs/models/operations/listvendorscrubpackages.js.map +1 -1
  140. package/dist/commonjs/models/operations/listvendorscrubpurchases.d.ts +7 -1
  141. package/dist/commonjs/models/operations/listvendorscrubpurchases.d.ts.map +1 -1
  142. package/dist/commonjs/models/operations/listvendorscrubpurchases.js.map +1 -1
  143. package/dist/commonjs/models/operations/purchasescrubcredits.d.ts +7 -1
  144. package/dist/commonjs/models/operations/purchasescrubcredits.d.ts.map +1 -1
  145. package/dist/commonjs/models/operations/purchasescrubcredits.js.map +1 -1
  146. package/dist/commonjs/models/operations/updatevendorcredentialdata.d.ts +7 -1
  147. package/dist/commonjs/models/operations/updatevendorcredentialdata.d.ts.map +1 -1
  148. package/dist/commonjs/models/operations/updatevendorcredentialdata.js.map +1 -1
  149. package/dist/commonjs/models/operations/updatevendorcustomfield.d.ts +41 -0
  150. package/dist/commonjs/models/operations/updatevendorcustomfield.d.ts.map +1 -0
  151. package/dist/commonjs/models/operations/updatevendorcustomfield.js +70 -0
  152. package/dist/commonjs/models/operations/updatevendorcustomfield.js.map +1 -0
  153. package/dist/commonjs/models/operations/updatevendordetails.d.ts +7 -1
  154. package/dist/commonjs/models/operations/updatevendordetails.d.ts.map +1 -1
  155. package/dist/commonjs/models/operations/updatevendordetails.js.map +1 -1
  156. package/dist/commonjs/models/operations/updatevendormanagedbycompany.d.ts +7 -1
  157. package/dist/commonjs/models/operations/updatevendormanagedbycompany.d.ts.map +1 -1
  158. package/dist/commonjs/models/operations/updatevendormanagedbycompany.js.map +1 -1
  159. package/dist/commonjs/models/operations/updatevendorscrubdetails.d.ts +7 -1
  160. package/dist/commonjs/models/operations/updatevendorscrubdetails.d.ts.map +1 -1
  161. package/dist/commonjs/models/operations/updatevendorscrubdetails.js.map +1 -1
  162. package/dist/commonjs/react-query/index.d.ts +4 -0
  163. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  164. package/dist/commonjs/react-query/index.js +4 -0
  165. package/dist/commonjs/react-query/index.js.map +1 -1
  166. package/dist/commonjs/react-query/vendorsAiClassifyCreate.d.ts +33 -0
  167. package/dist/commonjs/react-query/vendorsAiClassifyCreate.d.ts.map +1 -0
  168. package/dist/commonjs/react-query/vendorsAiClassifyCreate.js +52 -0
  169. package/dist/commonjs/react-query/vendorsAiClassifyCreate.js.map +1 -0
  170. package/dist/commonjs/react-query/vendorsAiClassifyNotifyUploaded.d.ts +31 -0
  171. package/dist/commonjs/react-query/vendorsAiClassifyNotifyUploaded.d.ts.map +1 -0
  172. package/dist/commonjs/react-query/vendorsAiClassifyNotifyUploaded.js +54 -0
  173. package/dist/commonjs/react-query/vendorsAiClassifyNotifyUploaded.js.map +1 -0
  174. package/dist/commonjs/react-query/vendorsGetVendorUploadHistory.core.d.ts +15 -0
  175. package/dist/commonjs/react-query/vendorsGetVendorUploadHistory.core.d.ts.map +1 -0
  176. package/dist/commonjs/react-query/vendorsGetVendorUploadHistory.core.js +43 -0
  177. package/dist/commonjs/react-query/vendorsGetVendorUploadHistory.core.js.map +1 -0
  178. package/dist/commonjs/react-query/vendorsGetVendorUploadHistory.d.ts +41 -0
  179. package/dist/commonjs/react-query/vendorsGetVendorUploadHistory.d.ts.map +1 -0
  180. package/dist/commonjs/react-query/vendorsGetVendorUploadHistory.js +72 -0
  181. package/dist/commonjs/react-query/vendorsGetVendorUploadHistory.js.map +1 -0
  182. package/dist/commonjs/react-query/vendorsGetVendorsDetails.d.ts +2 -0
  183. package/dist/commonjs/react-query/vendorsGetVendorsDetails.d.ts.map +1 -1
  184. package/dist/commonjs/react-query/vendorsGetVendorsDetails.js +2 -0
  185. package/dist/commonjs/react-query/vendorsGetVendorsDetails.js.map +1 -1
  186. package/dist/commonjs/react-query/vendorsListVendorAdditionalFacilityFields.core.d.ts +2 -26
  187. package/dist/commonjs/react-query/vendorsListVendorAdditionalFacilityFields.core.d.ts.map +1 -1
  188. package/dist/commonjs/react-query/vendorsListVendorAdditionalFacilityFields.core.js +2 -56
  189. package/dist/commonjs/react-query/vendorsListVendorAdditionalFacilityFields.core.js.map +1 -1
  190. package/dist/commonjs/react-query/vendorsListVendorAdditionalFacilityFields.d.ts +20 -43
  191. package/dist/commonjs/react-query/vendorsListVendorAdditionalFacilityFields.d.ts.map +1 -1
  192. package/dist/commonjs/react-query/vendorsListVendorAdditionalFacilityFields.js +15 -42
  193. package/dist/commonjs/react-query/vendorsListVendorAdditionalFacilityFields.js.map +1 -1
  194. package/dist/commonjs/react-query/vendorsListVendorCustomFields.core.d.ts +2 -26
  195. package/dist/commonjs/react-query/vendorsListVendorCustomFields.core.d.ts.map +1 -1
  196. package/dist/commonjs/react-query/vendorsListVendorCustomFields.core.js +2 -56
  197. package/dist/commonjs/react-query/vendorsListVendorCustomFields.core.js.map +1 -1
  198. package/dist/commonjs/react-query/vendorsListVendorCustomFields.d.ts +27 -40
  199. package/dist/commonjs/react-query/vendorsListVendorCustomFields.d.ts.map +1 -1
  200. package/dist/commonjs/react-query/vendorsListVendorCustomFields.js +23 -40
  201. package/dist/commonjs/react-query/vendorsListVendorCustomFields.js.map +1 -1
  202. package/dist/commonjs/react-query/vendorsUpdateVendorCustomField.d.ts +37 -0
  203. package/dist/commonjs/react-query/vendorsUpdateVendorCustomField.d.ts.map +1 -0
  204. package/dist/commonjs/react-query/vendorsUpdateVendorCustomField.js +59 -0
  205. package/dist/commonjs/react-query/vendorsUpdateVendorCustomField.js.map +1 -0
  206. package/dist/commonjs/sdk/vendors.d.ts +63 -9
  207. package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
  208. package/dist/commonjs/sdk/vendors.js +75 -5
  209. package/dist/commonjs/sdk/vendors.js.map +1 -1
  210. package/dist/esm/__tests__/vendors.test.js +85 -43
  211. package/dist/esm/__tests__/vendors.test.js.map +1 -1
  212. package/dist/esm/__tests__/webhooks.test.js +1 -1
  213. package/dist/esm/__tests__/webhooks.test.js.map +1 -1
  214. package/dist/esm/__tests__/zones.test.js +30 -2
  215. package/dist/esm/__tests__/zones.test.js.map +1 -1
  216. package/dist/esm/funcs/vendorsAiClassifyCreate.d.ts +24 -0
  217. package/dist/esm/funcs/vendorsAiClassifyCreate.d.ts.map +1 -0
  218. package/dist/esm/funcs/vendorsAiClassifyCreate.js +89 -0
  219. package/dist/esm/funcs/vendorsAiClassifyCreate.js.map +1 -0
  220. package/dist/esm/funcs/vendorsAiClassifyNotifyUploaded.d.ts +22 -0
  221. package/dist/esm/funcs/vendorsAiClassifyNotifyUploaded.d.ts.map +1 -0
  222. package/dist/esm/funcs/vendorsAiClassifyNotifyUploaded.js +87 -0
  223. package/dist/esm/funcs/vendorsAiClassifyNotifyUploaded.js.map +1 -0
  224. package/dist/esm/funcs/vendorsGetVendorUploadHistory.d.ts +22 -0
  225. package/dist/esm/funcs/vendorsGetVendorUploadHistory.d.ts.map +1 -0
  226. package/dist/esm/funcs/vendorsGetVendorUploadHistory.js +97 -0
  227. package/dist/esm/funcs/vendorsGetVendorUploadHistory.js.map +1 -0
  228. package/dist/esm/funcs/vendorsGetVendorsDetails.d.ts +1 -0
  229. package/dist/esm/funcs/vendorsGetVendorsDetails.d.ts.map +1 -1
  230. package/dist/esm/funcs/vendorsGetVendorsDetails.js +1 -0
  231. package/dist/esm/funcs/vendorsGetVendorsDetails.js.map +1 -1
  232. package/dist/esm/funcs/vendorsListVendorAdditionalFacilityFields.d.ts +10 -5
  233. package/dist/esm/funcs/vendorsListVendorAdditionalFacilityFields.d.ts.map +1 -1
  234. package/dist/esm/funcs/vendorsListVendorAdditionalFacilityFields.js +18 -47
  235. package/dist/esm/funcs/vendorsListVendorAdditionalFacilityFields.js.map +1 -1
  236. package/dist/esm/funcs/vendorsListVendorCustomFields.d.ts +14 -6
  237. package/dist/esm/funcs/vendorsListVendorCustomFields.d.ts.map +1 -1
  238. package/dist/esm/funcs/vendorsListVendorCustomFields.js +21 -50
  239. package/dist/esm/funcs/vendorsListVendorCustomFields.js.map +1 -1
  240. package/dist/esm/funcs/vendorsUpdateVendorCustomField.d.ts +28 -0
  241. package/dist/esm/funcs/vendorsUpdateVendorCustomField.d.ts.map +1 -0
  242. package/dist/esm/funcs/vendorsUpdateVendorCustomField.js +99 -0
  243. package/dist/esm/funcs/vendorsUpdateVendorCustomField.js.map +1 -0
  244. package/dist/esm/lib/config.d.ts +2 -2
  245. package/dist/esm/lib/config.js +2 -2
  246. package/dist/esm/models/components/aiclassifycreaterequest.d.ts +25 -0
  247. package/dist/esm/models/components/aiclassifycreaterequest.d.ts.map +1 -0
  248. package/dist/esm/models/components/aiclassifycreaterequest.js +21 -0
  249. package/dist/esm/models/components/aiclassifycreaterequest.js.map +1 -0
  250. package/dist/esm/models/components/aiclassifycreateresponse.d.ts +26 -0
  251. package/dist/esm/models/components/aiclassifycreateresponse.d.ts.map +1 -0
  252. package/dist/esm/models/components/aiclassifycreateresponse.js +27 -0
  253. package/dist/esm/models/components/aiclassifycreateresponse.js.map +1 -0
  254. package/dist/esm/models/components/aiclassifynotifyuploadedrequest.d.ts +15 -0
  255. package/dist/esm/models/components/aiclassifynotifyuploadedrequest.d.ts.map +1 -0
  256. package/dist/esm/models/components/aiclassifynotifyuploadedrequest.js +18 -0
  257. package/dist/esm/models/components/aiclassifynotifyuploadedrequest.js.map +1 -0
  258. package/dist/esm/models/components/aiclassifynotifyuploadedresponse.d.ts +16 -0
  259. package/dist/esm/models/components/aiclassifynotifyuploadedresponse.d.ts.map +1 -0
  260. package/dist/esm/models/components/aiclassifynotifyuploadedresponse.js +24 -0
  261. package/dist/esm/models/components/aiclassifynotifyuploadedresponse.js.map +1 -0
  262. package/dist/esm/models/components/index.d.ts +5 -0
  263. package/dist/esm/models/components/index.d.ts.map +1 -1
  264. package/dist/esm/models/components/index.js +5 -0
  265. package/dist/esm/models/components/index.js.map +1 -1
  266. package/dist/esm/models/components/uploadhistoryitem.d.ts +26 -0
  267. package/dist/esm/models/components/uploadhistoryitem.d.ts.map +1 -0
  268. package/dist/esm/models/components/uploadhistoryitem.js +26 -0
  269. package/dist/esm/models/components/uploadhistoryitem.js.map +1 -0
  270. package/dist/esm/models/components/vendor.d.ts +5 -0
  271. package/dist/esm/models/components/vendor.d.ts.map +1 -1
  272. package/dist/esm/models/components/vendor.js +4 -0
  273. package/dist/esm/models/components/vendor.js.map +1 -1
  274. package/dist/esm/models/components/vendorcustomfields.d.ts +65 -3
  275. package/dist/esm/models/components/vendorcustomfields.d.ts.map +1 -1
  276. package/dist/esm/models/components/vendorcustomfields.js +43 -3
  277. package/dist/esm/models/components/vendorcustomfields.js.map +1 -1
  278. package/dist/esm/models/operations/addvendormanagedbycompany.d.ts +7 -1
  279. package/dist/esm/models/operations/addvendormanagedbycompany.d.ts.map +1 -1
  280. package/dist/esm/models/operations/addvendormanagedbycompany.js.map +1 -1
  281. package/dist/esm/models/operations/calculatesubscriptionprice.d.ts +7 -1
  282. package/dist/esm/models/operations/calculatesubscriptionprice.d.ts.map +1 -1
  283. package/dist/esm/models/operations/calculatesubscriptionprice.js.map +1 -1
  284. package/dist/esm/models/operations/changesubscription.d.ts +7 -1
  285. package/dist/esm/models/operations/changesubscription.d.ts.map +1 -1
  286. package/dist/esm/models/operations/changesubscription.js.map +1 -1
  287. package/dist/esm/models/operations/createvendorcompany.d.ts +7 -1
  288. package/dist/esm/models/operations/createvendorcompany.d.ts.map +1 -1
  289. package/dist/esm/models/operations/createvendorcompany.js.map +1 -1
  290. package/dist/esm/models/operations/deletevendormanagedbycompany.d.ts +7 -1
  291. package/dist/esm/models/operations/deletevendormanagedbycompany.d.ts.map +1 -1
  292. package/dist/esm/models/operations/deletevendormanagedbycompany.js.map +1 -1
  293. package/dist/esm/models/operations/expeditetimeremaining.d.ts +7 -1
  294. package/dist/esm/models/operations/expeditetimeremaining.d.ts.map +1 -1
  295. package/dist/esm/models/operations/expeditetimeremaining.js.map +1 -1
  296. package/dist/esm/models/operations/getnextunansweredscreeningquestion.d.ts +7 -1
  297. package/dist/esm/models/operations/getnextunansweredscreeningquestion.d.ts.map +1 -1
  298. package/dist/esm/models/operations/getnextunansweredscreeningquestion.js.map +1 -1
  299. package/dist/esm/models/operations/getsubscription.d.ts +7 -1
  300. package/dist/esm/models/operations/getsubscription.d.ts.map +1 -1
  301. package/dist/esm/models/operations/getsubscription.js.map +1 -1
  302. package/dist/esm/models/operations/getvendorcredentialdetails.d.ts +7 -1
  303. package/dist/esm/models/operations/getvendorcredentialdetails.d.ts.map +1 -1
  304. package/dist/esm/models/operations/getvendorcredentialdetails.js.map +1 -1
  305. package/dist/esm/models/operations/getvendorlegalname.d.ts +7 -1
  306. package/dist/esm/models/operations/getvendorlegalname.d.ts.map +1 -1
  307. package/dist/esm/models/operations/getvendorlegalname.js.map +1 -1
  308. package/dist/esm/models/operations/getvendorsdetails.d.ts +7 -1
  309. package/dist/esm/models/operations/getvendorsdetails.d.ts.map +1 -1
  310. package/dist/esm/models/operations/getvendorsdetails.js.map +1 -1
  311. package/dist/esm/models/operations/getvendoruploadhistory.d.ts +26 -0
  312. package/dist/esm/models/operations/getvendoruploadhistory.d.ts.map +1 -0
  313. package/dist/esm/models/operations/getvendoruploadhistory.js +19 -0
  314. package/dist/esm/models/operations/getvendoruploadhistory.js.map +1 -0
  315. package/dist/esm/models/operations/index.d.ts +2 -0
  316. package/dist/esm/models/operations/index.d.ts.map +1 -1
  317. package/dist/esm/models/operations/index.js +2 -0
  318. package/dist/esm/models/operations/index.js.map +1 -1
  319. package/dist/esm/models/operations/listvendoradditionalfacilityfields.d.ts +8 -32
  320. package/dist/esm/models/operations/listvendoradditionalfacilityfields.d.ts.map +1 -1
  321. package/dist/esm/models/operations/listvendoradditionalfacilityfields.js +0 -17
  322. package/dist/esm/models/operations/listvendoradditionalfacilityfields.js.map +1 -1
  323. package/dist/esm/models/operations/listvendorcredentialhistory.d.ts +7 -1
  324. package/dist/esm/models/operations/listvendorcredentialhistory.d.ts.map +1 -1
  325. package/dist/esm/models/operations/listvendorcredentialhistory.js.map +1 -1
  326. package/dist/esm/models/operations/listvendorcredits.d.ts +7 -1
  327. package/dist/esm/models/operations/listvendorcredits.d.ts.map +1 -1
  328. package/dist/esm/models/operations/listvendorcredits.js.map +1 -1
  329. package/dist/esm/models/operations/listvendorcustomfields.d.ts +8 -32
  330. package/dist/esm/models/operations/listvendorcustomfields.d.ts.map +1 -1
  331. package/dist/esm/models/operations/listvendorcustomfields.js +0 -17
  332. package/dist/esm/models/operations/listvendorcustomfields.js.map +1 -1
  333. package/dist/esm/models/operations/listvendorfacilitystatuses.d.ts +7 -1
  334. package/dist/esm/models/operations/listvendorfacilitystatuses.d.ts.map +1 -1
  335. package/dist/esm/models/operations/listvendorfacilitystatuses.js.map +1 -1
  336. package/dist/esm/models/operations/listvendorinvoices.d.ts +7 -1
  337. package/dist/esm/models/operations/listvendorinvoices.d.ts.map +1 -1
  338. package/dist/esm/models/operations/listvendorinvoices.js.map +1 -1
  339. package/dist/esm/models/operations/listvendormanagedbycompanies.d.ts +7 -1
  340. package/dist/esm/models/operations/listvendormanagedbycompanies.d.ts.map +1 -1
  341. package/dist/esm/models/operations/listvendormanagedbycompanies.js.map +1 -1
  342. package/dist/esm/models/operations/listvendorscrubdetails.d.ts +7 -1
  343. package/dist/esm/models/operations/listvendorscrubdetails.d.ts.map +1 -1
  344. package/dist/esm/models/operations/listvendorscrubdetails.js.map +1 -1
  345. package/dist/esm/models/operations/listvendorscrubpackages.d.ts +7 -1
  346. package/dist/esm/models/operations/listvendorscrubpackages.d.ts.map +1 -1
  347. package/dist/esm/models/operations/listvendorscrubpackages.js.map +1 -1
  348. package/dist/esm/models/operations/listvendorscrubpurchases.d.ts +7 -1
  349. package/dist/esm/models/operations/listvendorscrubpurchases.d.ts.map +1 -1
  350. package/dist/esm/models/operations/listvendorscrubpurchases.js.map +1 -1
  351. package/dist/esm/models/operations/purchasescrubcredits.d.ts +7 -1
  352. package/dist/esm/models/operations/purchasescrubcredits.d.ts.map +1 -1
  353. package/dist/esm/models/operations/purchasescrubcredits.js.map +1 -1
  354. package/dist/esm/models/operations/updatevendorcredentialdata.d.ts +7 -1
  355. package/dist/esm/models/operations/updatevendorcredentialdata.d.ts.map +1 -1
  356. package/dist/esm/models/operations/updatevendorcredentialdata.js.map +1 -1
  357. package/dist/esm/models/operations/updatevendorcustomfield.d.ts +41 -0
  358. package/dist/esm/models/operations/updatevendorcustomfield.d.ts.map +1 -0
  359. package/dist/esm/models/operations/updatevendorcustomfield.js +32 -0
  360. package/dist/esm/models/operations/updatevendorcustomfield.js.map +1 -0
  361. package/dist/esm/models/operations/updatevendordetails.d.ts +7 -1
  362. package/dist/esm/models/operations/updatevendordetails.d.ts.map +1 -1
  363. package/dist/esm/models/operations/updatevendordetails.js.map +1 -1
  364. package/dist/esm/models/operations/updatevendormanagedbycompany.d.ts +7 -1
  365. package/dist/esm/models/operations/updatevendormanagedbycompany.d.ts.map +1 -1
  366. package/dist/esm/models/operations/updatevendormanagedbycompany.js.map +1 -1
  367. package/dist/esm/models/operations/updatevendorscrubdetails.d.ts +7 -1
  368. package/dist/esm/models/operations/updatevendorscrubdetails.d.ts.map +1 -1
  369. package/dist/esm/models/operations/updatevendorscrubdetails.js.map +1 -1
  370. package/dist/esm/react-query/index.d.ts +4 -0
  371. package/dist/esm/react-query/index.d.ts.map +1 -1
  372. package/dist/esm/react-query/index.js +4 -0
  373. package/dist/esm/react-query/index.js.map +1 -1
  374. package/dist/esm/react-query/vendorsAiClassifyCreate.d.ts +33 -0
  375. package/dist/esm/react-query/vendorsAiClassifyCreate.d.ts.map +1 -0
  376. package/dist/esm/react-query/vendorsAiClassifyCreate.js +47 -0
  377. package/dist/esm/react-query/vendorsAiClassifyCreate.js.map +1 -0
  378. package/dist/esm/react-query/vendorsAiClassifyNotifyUploaded.d.ts +31 -0
  379. package/dist/esm/react-query/vendorsAiClassifyNotifyUploaded.d.ts.map +1 -0
  380. package/dist/esm/react-query/vendorsAiClassifyNotifyUploaded.js +49 -0
  381. package/dist/esm/react-query/vendorsAiClassifyNotifyUploaded.js.map +1 -0
  382. package/dist/esm/react-query/vendorsGetVendorUploadHistory.core.d.ts +15 -0
  383. package/dist/esm/react-query/vendorsGetVendorUploadHistory.core.d.ts.map +1 -0
  384. package/dist/esm/react-query/vendorsGetVendorUploadHistory.core.js +38 -0
  385. package/dist/esm/react-query/vendorsGetVendorUploadHistory.core.js.map +1 -0
  386. package/dist/esm/react-query/vendorsGetVendorUploadHistory.d.ts +41 -0
  387. package/dist/esm/react-query/vendorsGetVendorUploadHistory.d.ts.map +1 -0
  388. package/dist/esm/react-query/vendorsGetVendorUploadHistory.js +62 -0
  389. package/dist/esm/react-query/vendorsGetVendorUploadHistory.js.map +1 -0
  390. package/dist/esm/react-query/vendorsGetVendorsDetails.d.ts +2 -0
  391. package/dist/esm/react-query/vendorsGetVendorsDetails.d.ts.map +1 -1
  392. package/dist/esm/react-query/vendorsGetVendorsDetails.js +2 -0
  393. package/dist/esm/react-query/vendorsGetVendorsDetails.js.map +1 -1
  394. package/dist/esm/react-query/vendorsListVendorAdditionalFacilityFields.core.d.ts +2 -26
  395. package/dist/esm/react-query/vendorsListVendorAdditionalFacilityFields.core.d.ts.map +1 -1
  396. package/dist/esm/react-query/vendorsListVendorAdditionalFacilityFields.core.js +2 -53
  397. package/dist/esm/react-query/vendorsListVendorAdditionalFacilityFields.core.js.map +1 -1
  398. package/dist/esm/react-query/vendorsListVendorAdditionalFacilityFields.d.ts +20 -43
  399. package/dist/esm/react-query/vendorsListVendorAdditionalFacilityFields.d.ts.map +1 -1
  400. package/dist/esm/react-query/vendorsListVendorAdditionalFacilityFields.js +17 -39
  401. package/dist/esm/react-query/vendorsListVendorAdditionalFacilityFields.js.map +1 -1
  402. package/dist/esm/react-query/vendorsListVendorCustomFields.core.d.ts +2 -26
  403. package/dist/esm/react-query/vendorsListVendorCustomFields.core.d.ts.map +1 -1
  404. package/dist/esm/react-query/vendorsListVendorCustomFields.core.js +2 -53
  405. package/dist/esm/react-query/vendorsListVendorCustomFields.core.js.map +1 -1
  406. package/dist/esm/react-query/vendorsListVendorCustomFields.d.ts +27 -40
  407. package/dist/esm/react-query/vendorsListVendorCustomFields.d.ts.map +1 -1
  408. package/dist/esm/react-query/vendorsListVendorCustomFields.js +25 -37
  409. package/dist/esm/react-query/vendorsListVendorCustomFields.js.map +1 -1
  410. package/dist/esm/react-query/vendorsUpdateVendorCustomField.d.ts +37 -0
  411. package/dist/esm/react-query/vendorsUpdateVendorCustomField.d.ts.map +1 -0
  412. package/dist/esm/react-query/vendorsUpdateVendorCustomField.js +54 -0
  413. package/dist/esm/react-query/vendorsUpdateVendorCustomField.js.map +1 -0
  414. package/dist/esm/sdk/vendors.d.ts +63 -9
  415. package/dist/esm/sdk/vendors.d.ts.map +1 -1
  416. package/dist/esm/sdk/vendors.js +75 -5
  417. package/dist/esm/sdk/vendors.js.map +1 -1
  418. package/jsr.json +1 -1
  419. package/package.json +1 -1
  420. package/src/__tests__/vendors.test.ts +98 -48
  421. package/src/__tests__/webhooks.test.ts +1 -1
  422. package/src/__tests__/zones.test.ts +30 -2
  423. package/src/funcs/vendorsAiClassifyCreate.ts +177 -0
  424. package/src/funcs/vendorsAiClassifyNotifyUploaded.ts +177 -0
  425. package/src/funcs/vendorsGetVendorUploadHistory.ts +189 -0
  426. package/src/funcs/vendorsGetVendorsDetails.ts +1 -0
  427. package/src/funcs/vendorsListVendorAdditionalFacilityFields.ts +42 -111
  428. package/src/funcs/vendorsListVendorCustomFields.ts +48 -113
  429. package/src/funcs/vendorsUpdateVendorCustomField.ts +190 -0
  430. package/src/lib/config.ts +2 -2
  431. package/src/models/components/aiclassifycreaterequest.ts +53 -0
  432. package/src/models/components/aiclassifycreateresponse.ts +61 -0
  433. package/src/models/components/aiclassifynotifyuploadedrequest.ts +42 -0
  434. package/src/models/components/aiclassifynotifyuploadedresponse.ts +48 -0
  435. package/src/models/components/index.ts +5 -0
  436. package/src/models/components/uploadhistoryitem.ts +60 -0
  437. package/src/models/components/vendor.ts +11 -0
  438. package/src/models/components/vendorcustomfields.ts +111 -6
  439. package/src/models/operations/addvendormanagedbycompany.ts +7 -1
  440. package/src/models/operations/calculatesubscriptionprice.ts +7 -1
  441. package/src/models/operations/changesubscription.ts +7 -1
  442. package/src/models/operations/createvendorcompany.ts +7 -1
  443. package/src/models/operations/deletevendormanagedbycompany.ts +7 -1
  444. package/src/models/operations/expeditetimeremaining.ts +7 -1
  445. package/src/models/operations/getnextunansweredscreeningquestion.ts +7 -1
  446. package/src/models/operations/getsubscription.ts +7 -1
  447. package/src/models/operations/getvendorcredentialdetails.ts +7 -1
  448. package/src/models/operations/getvendorlegalname.ts +7 -1
  449. package/src/models/operations/getvendorsdetails.ts +7 -1
  450. package/src/models/operations/getvendoruploadhistory.ts +54 -0
  451. package/src/models/operations/index.ts +2 -0
  452. package/src/models/operations/listvendoradditionalfacilityfields.ts +8 -66
  453. package/src/models/operations/listvendorcredentialhistory.ts +7 -1
  454. package/src/models/operations/listvendorcredits.ts +7 -1
  455. package/src/models/operations/listvendorcustomfields.ts +8 -61
  456. package/src/models/operations/listvendorfacilitystatuses.ts +7 -1
  457. package/src/models/operations/listvendorinvoices.ts +7 -1
  458. package/src/models/operations/listvendormanagedbycompanies.ts +7 -1
  459. package/src/models/operations/listvendorscrubdetails.ts +7 -1
  460. package/src/models/operations/listvendorscrubpackages.ts +7 -1
  461. package/src/models/operations/listvendorscrubpurchases.ts +7 -1
  462. package/src/models/operations/purchasescrubcredits.ts +7 -1
  463. package/src/models/operations/updatevendorcredentialdata.ts +7 -1
  464. package/src/models/operations/updatevendorcustomfield.ts +93 -0
  465. package/src/models/operations/updatevendordetails.ts +7 -1
  466. package/src/models/operations/updatevendormanagedbycompany.ts +7 -1
  467. package/src/models/operations/updatevendorscrubdetails.ts +7 -1
  468. package/src/react-query/index.ts +4 -0
  469. package/src/react-query/vendorsAiClassifyCreate.ts +116 -0
  470. package/src/react-query/vendorsAiClassifyNotifyUploaded.ts +118 -0
  471. package/src/react-query/vendorsGetVendorUploadHistory.core.ts +85 -0
  472. package/src/react-query/vendorsGetVendorUploadHistory.ts +155 -0
  473. package/src/react-query/vendorsGetVendorsDetails.ts +2 -0
  474. package/src/react-query/vendorsListVendorAdditionalFacilityFields.core.ts +1 -124
  475. package/src/react-query/vendorsListVendorAdditionalFacilityFields.ts +16 -127
  476. package/src/react-query/vendorsListVendorCustomFields.core.ts +2 -122
  477. package/src/react-query/vendorsListVendorCustomFields.ts +24 -125
  478. package/src/react-query/vendorsUpdateVendorCustomField.ts +124 -0
  479. package/src/sdk/vendors.ts +109 -12
@@ -0,0 +1,54 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: a5888855de07
4
+ */
5
+
6
+ import * as z from "zod/v3";
7
+ import { remap as remap$ } from "../../lib/primitives.js";
8
+
9
+ export type GetVendorUploadHistoryRequest = {
10
+ /**
11
+ * Vendor identifier. Depending on the endpoint, accepts one or more of:
12
+ *
13
+ * @remarks
14
+ * - A numeric vendor ID (positive integer, e.g. `42`)
15
+ * - The keyword `me` to represent the authenticated vendor
16
+ * - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
17
+ * supported only on endpoints that explicitly document QR-code lookup
18
+ */
19
+ vendorIdOrMe: string;
20
+ /**
21
+ * Max items to return. Server caps at 10.
22
+ */
23
+ limit?: number | undefined;
24
+ };
25
+
26
+ /** @internal */
27
+ export type GetVendorUploadHistoryRequest$Outbound = {
28
+ vendor_id_or_me: string;
29
+ limit: number;
30
+ };
31
+
32
+ /** @internal */
33
+ export const GetVendorUploadHistoryRequest$outboundSchema: z.ZodType<
34
+ GetVendorUploadHistoryRequest$Outbound,
35
+ z.ZodTypeDef,
36
+ GetVendorUploadHistoryRequest
37
+ > = z.object({
38
+ vendorIdOrMe: z.string(),
39
+ limit: z.number().int().default(10),
40
+ }).transform((v) => {
41
+ return remap$(v, {
42
+ vendorIdOrMe: "vendor_id_or_me",
43
+ });
44
+ });
45
+
46
+ export function getVendorUploadHistoryRequestToJSON(
47
+ getVendorUploadHistoryRequest: GetVendorUploadHistoryRequest,
48
+ ): string {
49
+ return JSON.stringify(
50
+ GetVendorUploadHistoryRequest$outboundSchema.parse(
51
+ getVendorUploadHistoryRequest,
52
+ ),
53
+ );
54
+ }
@@ -52,6 +52,7 @@ export * from "./getvendorinvoicereceipt.js";
52
52
  export * from "./getvendorlegalname.js";
53
53
  export * from "./getvendorscan.js";
54
54
  export * from "./getvendorsdetails.js";
55
+ export * from "./getvendoruploadhistory.js";
55
56
  export * from "./getwebhookendpoint.js";
56
57
  export * from "./invoicesexport.js";
57
58
  export * from "./listalerts.js";
@@ -110,6 +111,7 @@ export * from "./updateuseralerts.js";
110
111
  export * from "./updateuserprofilepicture.js";
111
112
  export * from "./updatevendorcredentialdata.js";
112
113
  export * from "./updatevendorcredentialfile.js";
114
+ export * from "./updatevendorcustomfield.js";
113
115
  export * from "./updatevendordetails.js";
114
116
  export * from "./updatevendorfield.js";
115
117
  export * from "./updatevendormanagedbycompany.js";
@@ -12,50 +12,27 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
12
12
 
13
13
  export type ListVendorAdditionalFacilityFieldsRequest = {
14
14
  /**
15
- * A comma-separated list of object attributes to sort on.
16
- */
17
- sort?: string | null | undefined;
18
- /**
19
- * Sort desc
20
- */
21
- desc?: components.Desc | undefined;
22
- /**
23
- * A 1-based offset for which page to request (defaults to 1)
24
- */
25
- page?: number | undefined;
26
- /**
27
- * Number of items to show in a given page
28
- */
29
- itemsPerPage?: number | undefined;
30
- /**
31
- * Either the ID of the vendor rep or the keyword "me" to represent the current vendor.
15
+ * Vendor identifier. Depending on the endpoint, accepts one or more of:
16
+ *
17
+ * @remarks
18
+ * - A numeric vendor ID (positive integer, e.g. `42`)
19
+ * - The keyword `me` to represent the authenticated vendor
20
+ * - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
21
+ * supported only on endpoints that explicitly document QR-code lookup
32
22
  */
33
23
  vendorIdOrMe: string;
34
24
  };
35
25
 
36
26
  /**
37
- * The request was successful, and the server has returned the requested resource in the response body.
27
+ * The request was successful.
38
28
  */
39
29
  export type ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk =
40
30
  {
41
31
  items: Array<components.VendorCustomFields>;
42
- /**
43
- * Pagination information for a pageable list
44
- */
45
- pager: components.Pager;
46
32
  };
47
33
 
48
- export type ListVendorAdditionalFacilityFieldsResponse = {
49
- result:
50
- ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk;
51
- };
52
-
53
34
  /** @internal */
54
35
  export type ListVendorAdditionalFacilityFieldsRequest$Outbound = {
55
- sort?: string | null | undefined;
56
- desc?: components.Desc$Outbound | undefined;
57
- page?: number | undefined;
58
- items_per_page?: number | undefined;
59
36
  vendor_id_or_me: string;
60
37
  };
61
38
 
@@ -66,14 +43,9 @@ export const ListVendorAdditionalFacilityFieldsRequest$outboundSchema:
66
43
  z.ZodTypeDef,
67
44
  ListVendorAdditionalFacilityFieldsRequest
68
45
  > = z.object({
69
- sort: z.nullable(z.string()).optional(),
70
- desc: components.Desc$outboundSchema.optional(),
71
- page: z.number().int().optional(),
72
- itemsPerPage: z.number().int().optional(),
73
46
  vendorIdOrMe: z.string(),
74
47
  }).transform((v) => {
75
48
  return remap$(v, {
76
- itemsPerPage: "items_per_page",
77
49
  vendorIdOrMe: "vendor_id_or_me",
78
50
  });
79
51
  });
@@ -97,7 +69,6 @@ export const ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityField
97
69
  unknown
98
70
  > = z.object({
99
71
  items: z.array(components.VendorCustomFields$inboundSchema),
100
- pager: components.Pager$inboundSchema,
101
72
  });
102
73
 
103
74
  export function listVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOkFromJSON(
@@ -114,32 +85,3 @@ export function listVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFi
114
85
  `Failed to parse 'ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk' from JSON`,
115
86
  );
116
87
  }
117
-
118
- /** @internal */
119
- export const ListVendorAdditionalFacilityFieldsResponse$inboundSchema:
120
- z.ZodType<ListVendorAdditionalFacilityFieldsResponse, z.ZodTypeDef, unknown> =
121
- z.object({
122
- Result: z.lazy(() =>
123
- ListVendorAdditionalFacilityFieldsListVendorAdditionalFacilityFieldsOk$inboundSchema
124
- ),
125
- }).transform((v) => {
126
- return remap$(v, {
127
- "Result": "result",
128
- });
129
- });
130
-
131
- export function listVendorAdditionalFacilityFieldsResponseFromJSON(
132
- jsonString: string,
133
- ): SafeParseResult<
134
- ListVendorAdditionalFacilityFieldsResponse,
135
- SDKValidationError
136
- > {
137
- return safeParse(
138
- jsonString,
139
- (x) =>
140
- ListVendorAdditionalFacilityFieldsResponse$inboundSchema.parse(
141
- JSON.parse(x),
142
- ),
143
- `Failed to parse 'ListVendorAdditionalFacilityFieldsResponse' from JSON`,
144
- );
145
- }
@@ -29,7 +29,13 @@ export type ListVendorCredentialHistoryRequest = {
29
29
  */
30
30
  itemsPerPage?: number | undefined;
31
31
  /**
32
- * Either the ID of the vendor rep or the keyword "me" to represent the current vendor.
32
+ * Vendor identifier. Depending on the endpoint, accepts one or more of:
33
+ *
34
+ * @remarks
35
+ * - A numeric vendor ID (positive integer, e.g. `42`)
36
+ * - The keyword `me` to represent the authenticated vendor
37
+ * - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
38
+ * supported only on endpoints that explicitly document QR-code lookup
33
39
  */
34
40
  vendorIdOrMe: string;
35
41
  /**
@@ -28,7 +28,13 @@ export type ListVendorCreditsRequest = {
28
28
  */
29
29
  itemsPerPage?: number | undefined;
30
30
  /**
31
- * Either the ID of the vendor rep or the keyword "me" to represent the current vendor.
31
+ * Vendor identifier. Depending on the endpoint, accepts one or more of:
32
+ *
33
+ * @remarks
34
+ * - A numeric vendor ID (positive integer, e.g. `42`)
35
+ * - The keyword `me` to represent the authenticated vendor
36
+ * - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
37
+ * supported only on endpoints that explicitly document QR-code lookup
32
38
  */
33
39
  vendorIdOrMe: string;
34
40
  };
@@ -12,48 +12,26 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
12
12
 
13
13
  export type ListVendorCustomFieldsRequest = {
14
14
  /**
15
- * A comma-separated list of object attributes to sort on.
16
- */
17
- sort?: string | null | undefined;
18
- /**
19
- * Sort desc
20
- */
21
- desc?: components.Desc | undefined;
22
- /**
23
- * A 1-based offset for which page to request (defaults to 1)
24
- */
25
- page?: number | undefined;
26
- /**
27
- * Number of items to show in a given page
28
- */
29
- itemsPerPage?: number | undefined;
30
- /**
31
- * Either the ID of the vendor rep or the keyword "me" to represent the current vendor.
15
+ * Vendor identifier. Depending on the endpoint, accepts one or more of:
16
+ *
17
+ * @remarks
18
+ * - A numeric vendor ID (positive integer, e.g. `42`)
19
+ * - The keyword `me` to represent the authenticated vendor
20
+ * - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
21
+ * supported only on endpoints that explicitly document QR-code lookup
32
22
  */
33
23
  vendorIdOrMe: string;
34
24
  };
35
25
 
36
26
  /**
37
- * The request was successful, and the server has returned the requested resource in the response body.
27
+ * The request was successful.
38
28
  */
39
29
  export type ListVendorCustomFieldsListVendorCustomFieldsOk = {
40
30
  items: Array<components.VendorCustomFields>;
41
- /**
42
- * Pagination information for a pageable list
43
- */
44
- pager: components.Pager;
45
- };
46
-
47
- export type ListVendorCustomFieldsResponse = {
48
- result: ListVendorCustomFieldsListVendorCustomFieldsOk;
49
31
  };
50
32
 
51
33
  /** @internal */
52
34
  export type ListVendorCustomFieldsRequest$Outbound = {
53
- sort?: string | null | undefined;
54
- desc?: components.Desc$Outbound | undefined;
55
- page?: number | undefined;
56
- items_per_page?: number | undefined;
57
35
  vendor_id_or_me: string;
58
36
  };
59
37
 
@@ -63,14 +41,9 @@ export const ListVendorCustomFieldsRequest$outboundSchema: z.ZodType<
63
41
  z.ZodTypeDef,
64
42
  ListVendorCustomFieldsRequest
65
43
  > = z.object({
66
- sort: z.nullable(z.string()).optional(),
67
- desc: components.Desc$outboundSchema.optional(),
68
- page: z.number().int().optional(),
69
- itemsPerPage: z.number().int().optional(),
70
44
  vendorIdOrMe: z.string(),
71
45
  }).transform((v) => {
72
46
  return remap$(v, {
73
- itemsPerPage: "items_per_page",
74
47
  vendorIdOrMe: "vendor_id_or_me",
75
48
  });
76
49
  });
@@ -93,7 +66,6 @@ export const ListVendorCustomFieldsListVendorCustomFieldsOk$inboundSchema:
93
66
  unknown
94
67
  > = z.object({
95
68
  items: z.array(components.VendorCustomFields$inboundSchema),
96
- pager: components.Pager$inboundSchema,
97
69
  });
98
70
 
99
71
  export function listVendorCustomFieldsListVendorCustomFieldsOkFromJSON(
@@ -111,28 +83,3 @@ export function listVendorCustomFieldsListVendorCustomFieldsOkFromJSON(
111
83
  `Failed to parse 'ListVendorCustomFieldsListVendorCustomFieldsOk' from JSON`,
112
84
  );
113
85
  }
114
-
115
- /** @internal */
116
- export const ListVendorCustomFieldsResponse$inboundSchema: z.ZodType<
117
- ListVendorCustomFieldsResponse,
118
- z.ZodTypeDef,
119
- unknown
120
- > = z.object({
121
- Result: z.lazy(() =>
122
- ListVendorCustomFieldsListVendorCustomFieldsOk$inboundSchema
123
- ),
124
- }).transform((v) => {
125
- return remap$(v, {
126
- "Result": "result",
127
- });
128
- });
129
-
130
- export function listVendorCustomFieldsResponseFromJSON(
131
- jsonString: string,
132
- ): SafeParseResult<ListVendorCustomFieldsResponse, SDKValidationError> {
133
- return safeParse(
134
- jsonString,
135
- (x) => ListVendorCustomFieldsResponse$inboundSchema.parse(JSON.parse(x)),
136
- `Failed to parse 'ListVendorCustomFieldsResponse' from JSON`,
137
- );
138
- }
@@ -12,7 +12,13 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
12
12
 
13
13
  export type ListVendorFacilityStatusesRequest = {
14
14
  /**
15
- * Either the ID of the vendor rep or the keyword "me" to represent the current vendor.
15
+ * Vendor identifier. Depending on the endpoint, accepts one or more of:
16
+ *
17
+ * @remarks
18
+ * - A numeric vendor ID (positive integer, e.g. `42`)
19
+ * - The keyword `me` to represent the authenticated vendor
20
+ * - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
21
+ * supported only on endpoints that explicitly document QR-code lookup
16
22
  */
17
23
  vendorIdOrMe: string;
18
24
  /**
@@ -33,7 +33,13 @@ export type ListVendorInvoicesRequest = {
33
33
  */
34
34
  expand?: Array<components.Expand> | undefined;
35
35
  /**
36
- * Either the ID of the vendor rep or the keyword "me" to represent the current vendor.
36
+ * Vendor identifier. Depending on the endpoint, accepts one or more of:
37
+ *
38
+ * @remarks
39
+ * - A numeric vendor ID (positive integer, e.g. `42`)
40
+ * - The keyword `me` to represent the authenticated vendor
41
+ * - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
42
+ * supported only on endpoints that explicitly document QR-code lookup
37
43
  */
38
44
  vendorIdOrMe: string;
39
45
  /**
@@ -29,7 +29,13 @@ export type ListVendorManagedByCompaniesRequest = {
29
29
  */
30
30
  itemsPerPage?: number | undefined;
31
31
  /**
32
- * Either the ID of the vendor rep or the keyword "me" to represent the current vendor.
32
+ * Vendor identifier. Depending on the endpoint, accepts one or more of:
33
+ *
34
+ * @remarks
35
+ * - A numeric vendor ID (positive integer, e.g. `42`)
36
+ * - The keyword `me` to represent the authenticated vendor
37
+ * - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
38
+ * supported only on endpoints that explicitly document QR-code lookup
33
39
  */
34
40
  vendorIdOrMe: string;
35
41
  };
@@ -8,7 +8,13 @@ import { remap as remap$ } from "../../lib/primitives.js";
8
8
 
9
9
  export type ListVendorScrubDetailsRequest = {
10
10
  /**
11
- * Either the ID of the vendor rep or the keyword "me" to represent the current vendor.
11
+ * Vendor identifier. Depending on the endpoint, accepts one or more of:
12
+ *
13
+ * @remarks
14
+ * - A numeric vendor ID (positive integer, e.g. `42`)
15
+ * - The keyword `me` to represent the authenticated vendor
16
+ * - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
17
+ * supported only on endpoints that explicitly document QR-code lookup
12
18
  */
13
19
  vendorIdOrMe: string;
14
20
  };
@@ -29,7 +29,13 @@ export type ListVendorScrubPackagesRequest = {
29
29
  */
30
30
  itemsPerPage?: number | undefined;
31
31
  /**
32
- * Either the ID of the vendor rep or the keyword "me" to represent the current vendor.
32
+ * Vendor identifier. Depending on the endpoint, accepts one or more of:
33
+ *
34
+ * @remarks
35
+ * - A numeric vendor ID (positive integer, e.g. `42`)
36
+ * - The keyword `me` to represent the authenticated vendor
37
+ * - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
38
+ * supported only on endpoints that explicitly document QR-code lookup
33
39
  */
34
40
  vendorIdOrMe: string;
35
41
  };
@@ -28,7 +28,13 @@ export type ListVendorScrubPurchasesRequest = {
28
28
  */
29
29
  itemsPerPage?: number | undefined;
30
30
  /**
31
- * Either the ID of the vendor rep or the keyword "me" to represent the current vendor.
31
+ * Vendor identifier. Depending on the endpoint, accepts one or more of:
32
+ *
33
+ * @remarks
34
+ * - A numeric vendor ID (positive integer, e.g. `42`)
35
+ * - The keyword `me` to represent the authenticated vendor
36
+ * - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
37
+ * supported only on endpoints that explicitly document QR-code lookup
32
38
  */
33
39
  vendorIdOrMe: string;
34
40
  };
@@ -17,7 +17,13 @@ export type PurchaseScrubCreditsRequestBody = {
17
17
 
18
18
  export type PurchaseScrubCreditsRequest = {
19
19
  /**
20
- * Either the ID of the vendor rep or the keyword "me" to represent the current vendor.
20
+ * Vendor identifier. Depending on the endpoint, accepts one or more of:
21
+ *
22
+ * @remarks
23
+ * - A numeric vendor ID (positive integer, e.g. `42`)
24
+ * - The keyword `me` to represent the authenticated vendor
25
+ * - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
26
+ * supported only on endpoints that explicitly document QR-code lookup
21
27
  */
22
28
  vendorIdOrMe: string;
23
29
  requestBody: PurchaseScrubCreditsRequestBody;
@@ -49,7 +49,13 @@ export type UpdateVendorCredentialDataRequestBody = {
49
49
 
50
50
  export type UpdateVendorCredentialDataRequest = {
51
51
  /**
52
- * Either the ID of the vendor rep or the keyword "me" to represent the current vendor.
52
+ * Vendor identifier. Depending on the endpoint, accepts one or more of:
53
+ *
54
+ * @remarks
55
+ * - A numeric vendor ID (positive integer, e.g. `42`)
56
+ * - The keyword `me` to represent the authenticated vendor
57
+ * - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
58
+ * supported only on endpoints that explicitly document QR-code lookup
53
59
  */
54
60
  vendorIdOrMe: string;
55
61
  /**
@@ -0,0 +1,93 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ * @generated-id: 061eaa96d71c
4
+ */
5
+
6
+ import * as z from "zod/v3";
7
+ import { remap as remap$ } from "../../lib/primitives.js";
8
+
9
+ export type UpdateVendorCustomFieldRequestBody = {
10
+ /**
11
+ * The ID of the vendor field to update
12
+ */
13
+ vendorFieldId: number;
14
+ /**
15
+ * The new value for the field
16
+ */
17
+ value: string | null;
18
+ };
19
+
20
+ export type UpdateVendorCustomFieldRequest = {
21
+ /**
22
+ * Vendor identifier. Depending on the endpoint, accepts one or more of:
23
+ *
24
+ * @remarks
25
+ * - A numeric vendor ID (positive integer, e.g. `42`)
26
+ * - The keyword `me` to represent the authenticated vendor
27
+ * - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
28
+ * supported only on endpoints that explicitly document QR-code lookup
29
+ */
30
+ vendorIdOrMe: string;
31
+ requestBody: UpdateVendorCustomFieldRequestBody;
32
+ };
33
+
34
+ /** @internal */
35
+ export type UpdateVendorCustomFieldRequestBody$Outbound = {
36
+ vendor_field_id: number;
37
+ value: string | null;
38
+ };
39
+
40
+ /** @internal */
41
+ export const UpdateVendorCustomFieldRequestBody$outboundSchema: z.ZodType<
42
+ UpdateVendorCustomFieldRequestBody$Outbound,
43
+ z.ZodTypeDef,
44
+ UpdateVendorCustomFieldRequestBody
45
+ > = z.object({
46
+ vendorFieldId: z.number().int(),
47
+ value: z.nullable(z.string()),
48
+ }).transform((v) => {
49
+ return remap$(v, {
50
+ vendorFieldId: "vendor_field_id",
51
+ });
52
+ });
53
+
54
+ export function updateVendorCustomFieldRequestBodyToJSON(
55
+ updateVendorCustomFieldRequestBody: UpdateVendorCustomFieldRequestBody,
56
+ ): string {
57
+ return JSON.stringify(
58
+ UpdateVendorCustomFieldRequestBody$outboundSchema.parse(
59
+ updateVendorCustomFieldRequestBody,
60
+ ),
61
+ );
62
+ }
63
+
64
+ /** @internal */
65
+ export type UpdateVendorCustomFieldRequest$Outbound = {
66
+ vendor_id_or_me: string;
67
+ RequestBody: UpdateVendorCustomFieldRequestBody$Outbound;
68
+ };
69
+
70
+ /** @internal */
71
+ export const UpdateVendorCustomFieldRequest$outboundSchema: z.ZodType<
72
+ UpdateVendorCustomFieldRequest$Outbound,
73
+ z.ZodTypeDef,
74
+ UpdateVendorCustomFieldRequest
75
+ > = z.object({
76
+ vendorIdOrMe: z.string(),
77
+ requestBody: z.lazy(() => UpdateVendorCustomFieldRequestBody$outboundSchema),
78
+ }).transform((v) => {
79
+ return remap$(v, {
80
+ vendorIdOrMe: "vendor_id_or_me",
81
+ requestBody: "RequestBody",
82
+ });
83
+ });
84
+
85
+ export function updateVendorCustomFieldRequestToJSON(
86
+ updateVendorCustomFieldRequest: UpdateVendorCustomFieldRequest,
87
+ ): string {
88
+ return JSON.stringify(
89
+ UpdateVendorCustomFieldRequest$outboundSchema.parse(
90
+ updateVendorCustomFieldRequest,
91
+ ),
92
+ );
93
+ }
@@ -55,7 +55,13 @@ export type UpdateVendorDetailsRequestBody = {
55
55
 
56
56
  export type UpdateVendorDetailsRequest = {
57
57
  /**
58
- * Either the ID of the vendor rep or the keyword "me" to represent the current vendor.
58
+ * Vendor identifier. Depending on the endpoint, accepts one or more of:
59
+ *
60
+ * @remarks
61
+ * - A numeric vendor ID (positive integer, e.g. `42`)
62
+ * - The keyword `me` to represent the authenticated vendor
63
+ * - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
64
+ * supported only on endpoints that explicitly document QR-code lookup
59
65
  */
60
66
  vendorIdOrMe: string;
61
67
  requestBody: UpdateVendorDetailsRequestBody;
@@ -47,7 +47,13 @@ export type UpdateVendorManagedByCompanyRequestBody = {
47
47
 
48
48
  export type UpdateVendorManagedByCompanyRequest = {
49
49
  /**
50
- * Either the ID of the vendor rep or the keyword "me" to represent the current vendor.
50
+ * Vendor identifier. Depending on the endpoint, accepts one or more of:
51
+ *
52
+ * @remarks
53
+ * - A numeric vendor ID (positive integer, e.g. `42`)
54
+ * - The keyword `me` to represent the authenticated vendor
55
+ * - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
56
+ * supported only on endpoints that explicitly document QR-code lookup
51
57
  */
52
58
  vendorIdOrMe: string;
53
59
  requestBody: UpdateVendorManagedByCompanyRequestBody;
@@ -65,7 +65,13 @@ export type UpdateVendorScrubDetailsRequestBody = {
65
65
 
66
66
  export type UpdateVendorScrubDetailsRequest = {
67
67
  /**
68
- * Either the ID of the vendor rep or the keyword "me" to represent the current vendor.
68
+ * Vendor identifier. Depending on the endpoint, accepts one or more of:
69
+ *
70
+ * @remarks
71
+ * - A numeric vendor ID (positive integer, e.g. `42`)
72
+ * - The keyword `me` to represent the authenticated vendor
73
+ * - An active QR code (alphanumeric, hyphen-separated, e.g. `ABC-123-DEF`) —
74
+ * supported only on endpoints that explicitly document QR-code lookup
69
75
  */
70
76
  vendorIdOrMe: string;
71
77
  requestBody: UpdateVendorScrubDetailsRequestBody;
@@ -66,6 +66,8 @@ export * from "./vendorFieldsUpdateVendorField.js";
66
66
  export * from "./vendorsAcceptVendorCredential.js";
67
67
  export * from "./vendorsAddVendorCredentialFile.js";
68
68
  export * from "./vendorsAddVendorManagedByCompany.js";
69
+ export * from "./vendorsAiClassifyCreate.js";
70
+ export * from "./vendorsAiClassifyNotifyUploaded.js";
69
71
  export * from "./vendorsCalculateSubscriptionPrice.js";
70
72
  export * from "./vendorsCancelHandoff.js";
71
73
  export * from "./vendorScansGetNextScreeningQuestion.js";
@@ -91,6 +93,7 @@ export * from "./vendorsGetVendorInvoiceDetails.js";
91
93
  export * from "./vendorsGetVendorInvoiceReceipt.js";
92
94
  export * from "./vendorsGetVendorLegalName.js";
93
95
  export * from "./vendorsGetVendorsDetails.js";
96
+ export * from "./vendorsGetVendorUploadHistory.js";
94
97
  export * from "./vendorsListVendorAdditionalFacilityFields.js";
95
98
  export * from "./vendorsListVendorCredentialDataRequests.js";
96
99
  export * from "./vendorsListVendorCredentialFiles.js";
@@ -111,6 +114,7 @@ export * from "./vendorsSendDownloadCode.js";
111
114
  export * from "./vendorsSubmitVendorCredential.js";
112
115
  export * from "./vendorsUpdateVendorCredentialData.js";
113
116
  export * from "./vendorsUpdateVendorCredentialFile.js";
117
+ export * from "./vendorsUpdateVendorCustomField.js";
114
118
  export * from "./vendorsUpdateVendorDetails.js";
115
119
  export * from "./vendorsUpdateVendorManagedByCompany.js";
116
120
  export * from "./vendorsUpdateVendorScrubDetails.js";