@wastesentry/trak-client 0.1.0 → 0.1.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 (377) hide show
  1. package/.openapi-generator/FILES +55 -118
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +140 -0
  4. package/api.ts +26 -0
  5. package/apis/default-api.ts +328 -0
  6. package/apis/info-api.ts +149 -0
  7. package/apis/manifest-api.ts +1135 -0
  8. package/apis/my-profile-api.ts +131 -0
  9. package/apis/orgs-api.ts +333 -0
  10. package/apis/profile-api.ts +383 -0
  11. package/apis/site-api.ts +215 -0
  12. package/apis/sites-api.ts +236 -0
  13. package/apis/sync-api.ts +128 -0
  14. package/base.ts +62 -0
  15. package/common.ts +127 -0
  16. package/configuration.ts +121 -0
  17. package/dist/api.d.ts +20 -0
  18. package/dist/api.js +38 -0
  19. package/dist/apis/default-api.d.ts +170 -0
  20. package/dist/apis/default-api.js +266 -0
  21. package/dist/apis/info-api.d.ts +82 -0
  22. package/dist/apis/info-api.js +129 -0
  23. package/dist/apis/manifest-api.d.ts +566 -0
  24. package/dist/apis/manifest-api.js +868 -0
  25. package/dist/apis/my-profile-api.d.ts +70 -0
  26. package/dist/apis/my-profile-api.js +121 -0
  27. package/dist/apis/orgs-api.d.ts +174 -0
  28. package/dist/apis/orgs-api.js +263 -0
  29. package/dist/apis/profile-api.d.ts +191 -0
  30. package/dist/apis/profile-api.js +298 -0
  31. package/dist/apis/site-api.d.ts +111 -0
  32. package/dist/apis/site-api.js +186 -0
  33. package/dist/apis/sites-api.d.ts +126 -0
  34. package/dist/apis/sites-api.js +193 -0
  35. package/dist/apis/sync-api.d.ts +69 -0
  36. package/dist/apis/sync-api.js +120 -0
  37. package/dist/base.d.ts +42 -0
  38. package/dist/base.js +46 -0
  39. package/dist/common.d.ts +34 -0
  40. package/dist/common.js +139 -0
  41. package/dist/configuration.d.ts +98 -0
  42. package/dist/configuration.js +44 -0
  43. package/dist/esm/api.d.ts +20 -0
  44. package/dist/esm/api.js +22 -0
  45. package/dist/esm/apis/default-api.d.ts +170 -0
  46. package/dist/esm/apis/default-api.js +259 -0
  47. package/dist/esm/apis/info-api.d.ts +82 -0
  48. package/dist/esm/apis/info-api.js +122 -0
  49. package/dist/esm/apis/manifest-api.d.ts +566 -0
  50. package/dist/esm/apis/manifest-api.js +861 -0
  51. package/dist/esm/apis/my-profile-api.d.ts +70 -0
  52. package/dist/esm/apis/my-profile-api.js +114 -0
  53. package/dist/esm/apis/orgs-api.d.ts +174 -0
  54. package/dist/esm/apis/orgs-api.js +256 -0
  55. package/dist/esm/apis/profile-api.d.ts +191 -0
  56. package/dist/esm/apis/profile-api.js +291 -0
  57. package/dist/esm/apis/site-api.d.ts +111 -0
  58. package/dist/esm/apis/site-api.js +179 -0
  59. package/dist/esm/apis/sites-api.d.ts +126 -0
  60. package/dist/esm/apis/sites-api.js +186 -0
  61. package/dist/esm/apis/sync-api.d.ts +69 -0
  62. package/dist/esm/apis/sync-api.js +113 -0
  63. package/dist/esm/base.d.ts +42 -0
  64. package/dist/esm/base.js +41 -0
  65. package/dist/esm/common.d.ts +34 -0
  66. package/dist/esm/common.js +126 -0
  67. package/dist/esm/configuration.d.ts +98 -0
  68. package/dist/esm/configuration.js +40 -0
  69. package/dist/esm/index.d.ts +14 -0
  70. package/dist/esm/index.js +16 -0
  71. package/dist/esm/models/additional-info.d.ts +21 -0
  72. package/dist/esm/models/additional-info.js +14 -0
  73. package/dist/esm/models/esignature.d.ts +23 -0
  74. package/dist/esm/models/esignature.js +14 -0
  75. package/dist/esm/models/handler-search-site-type-enum.d.ts +21 -0
  76. package/dist/esm/models/handler-search-site-type-enum.js +22 -0
  77. package/dist/esm/models/handler-search.d.ts +16 -0
  78. package/dist/esm/models/handler-search.js +14 -0
  79. package/dist/esm/models/handler.d.ts +28 -0
  80. package/dist/esm/models/handler.js +14 -0
  81. package/dist/esm/models/index.d.ts +34 -0
  82. package/dist/esm/models/index.js +34 -0
  83. package/dist/esm/models/lock-reason-enum.d.ts +20 -0
  84. package/dist/esm/models/lock-reason-enum.js +21 -0
  85. package/dist/esm/models/manifest-phone.d.ts +18 -0
  86. package/dist/esm/models/manifest-phone.js +14 -0
  87. package/dist/esm/models/manifest.d.ts +53 -0
  88. package/dist/esm/models/manifest.js +14 -0
  89. package/dist/esm/models/mtn.d.ts +21 -0
  90. package/dist/esm/models/mtn.js +14 -0
  91. package/dist/esm/models/null-enum.d.ts +13 -0
  92. package/dist/esm/models/null-enum.js +14 -0
  93. package/dist/esm/models/org.d.ts +20 -0
  94. package/dist/esm/models/org.js +14 -0
  95. package/dist/esm/models/paginated-mtn-list.d.ts +18 -0
  96. package/dist/esm/models/paginated-mtn-list.js +14 -0
  97. package/dist/esm/models/paginated-org-list.d.ts +18 -0
  98. package/dist/esm/models/paginated-org-list.js +14 -0
  99. package/dist/esm/models/paginated-site-list.d.ts +18 -0
  100. package/dist/esm/models/paginated-site-list.js +14 -0
  101. package/dist/esm/models/paper-signature.d.ts +18 -0
  102. package/dist/esm/models/paper-signature.js +14 -0
  103. package/dist/esm/models/patched-profile.d.ts +20 -0
  104. package/dist/esm/models/patched-profile.js +14 -0
  105. package/dist/esm/models/patched-rcrainfo-profile.d.ts +24 -0
  106. package/dist/esm/models/patched-rcrainfo-profile.js +14 -0
  107. package/dist/esm/models/profile.d.ts +20 -0
  108. package/dist/esm/models/profile.js +14 -0
  109. package/dist/esm/models/quicker-sign.d.ts +22 -0
  110. package/dist/esm/models/quicker-sign.js +14 -0
  111. package/dist/esm/models/rcra-address.d.ts +27 -0
  112. package/dist/esm/models/rcra-address.js +14 -0
  113. package/dist/esm/models/rcra-contact.d.ts +23 -0
  114. package/dist/esm/models/rcra-contact.js +14 -0
  115. package/dist/esm/models/rcra-phone.d.ts +18 -0
  116. package/dist/esm/models/rcra-phone.js +14 -0
  117. package/dist/esm/models/rcra-site-permission.d.ts +23 -0
  118. package/dist/esm/models/rcra-site-permission.js +14 -0
  119. package/dist/esm/models/rcra-site.d.ts +39 -0
  120. package/dist/esm/models/rcra-site.js +19 -0
  121. package/dist/esm/models/rcrainfo-profile.d.ts +24 -0
  122. package/dist/esm/models/rcrainfo-profile.js +14 -0
  123. package/dist/esm/models/signer.d.ts +26 -0
  124. package/dist/esm/models/signer.js +14 -0
  125. package/dist/esm/models/site-manifest-sync-request.d.ts +14 -0
  126. package/dist/esm/models/site-manifest-sync-request.js +14 -0
  127. package/dist/esm/models/site-manifest-sync-response.d.ts +14 -0
  128. package/dist/esm/models/site-manifest-sync-response.js +14 -0
  129. package/dist/esm/models/site-type-enum.d.ts +21 -0
  130. package/dist/esm/models/site-type-enum.js +22 -0
  131. package/dist/esm/models/site.d.ts +19 -0
  132. package/dist/esm/models/site.js +14 -0
  133. package/dist/esm/models/status-enum.d.ts +26 -0
  134. package/dist/esm/models/status-enum.js +27 -0
  135. package/dist/esm/models/trak-user.d.ts +20 -0
  136. package/dist/esm/models/trak-user.js +14 -0
  137. package/dist/esm/models/transporter.d.ts +27 -0
  138. package/dist/esm/models/transporter.js +14 -0
  139. package/dist/esm/models/waste-line.d.ts +28 -0
  140. package/dist/esm/models/waste-line.js +14 -0
  141. package/dist/index.d.ts +14 -0
  142. package/dist/index.js +32 -0
  143. package/dist/models/additional-info.d.ts +21 -0
  144. package/dist/models/additional-info.js +15 -0
  145. package/dist/models/esignature.d.ts +23 -0
  146. package/dist/models/esignature.js +15 -0
  147. package/dist/models/handler-search-site-type-enum.d.ts +21 -0
  148. package/dist/models/handler-search-site-type-enum.js +25 -0
  149. package/dist/models/handler-search.d.ts +16 -0
  150. package/dist/models/handler-search.js +15 -0
  151. package/dist/models/handler.d.ts +28 -0
  152. package/dist/models/handler.js +15 -0
  153. package/dist/models/index.d.ts +34 -0
  154. package/dist/models/index.js +50 -0
  155. package/dist/models/lock-reason-enum.d.ts +20 -0
  156. package/dist/models/lock-reason-enum.js +24 -0
  157. package/dist/models/manifest-phone.d.ts +18 -0
  158. package/dist/models/manifest-phone.js +15 -0
  159. package/dist/models/manifest.d.ts +53 -0
  160. package/dist/models/manifest.js +15 -0
  161. package/dist/models/mtn.d.ts +21 -0
  162. package/dist/models/mtn.js +15 -0
  163. package/dist/models/null-enum.d.ts +13 -0
  164. package/dist/models/null-enum.js +17 -0
  165. package/dist/models/org.d.ts +20 -0
  166. package/dist/models/org.js +15 -0
  167. package/dist/models/paginated-mtn-list.d.ts +18 -0
  168. package/dist/models/paginated-mtn-list.js +15 -0
  169. package/dist/models/paginated-org-list.d.ts +18 -0
  170. package/dist/models/paginated-org-list.js +15 -0
  171. package/dist/models/paginated-site-list.d.ts +18 -0
  172. package/dist/models/paginated-site-list.js +15 -0
  173. package/dist/models/paper-signature.d.ts +18 -0
  174. package/dist/models/paper-signature.js +15 -0
  175. package/dist/models/patched-profile.d.ts +20 -0
  176. package/dist/models/patched-profile.js +15 -0
  177. package/dist/models/patched-rcrainfo-profile.d.ts +24 -0
  178. package/dist/models/patched-rcrainfo-profile.js +15 -0
  179. package/dist/models/profile.d.ts +20 -0
  180. package/dist/models/profile.js +15 -0
  181. package/dist/models/quicker-sign.d.ts +22 -0
  182. package/dist/models/quicker-sign.js +15 -0
  183. package/dist/models/rcra-address.d.ts +27 -0
  184. package/dist/models/rcra-address.js +15 -0
  185. package/dist/models/rcra-contact.d.ts +23 -0
  186. package/dist/models/rcra-contact.js +15 -0
  187. package/dist/models/rcra-phone.d.ts +18 -0
  188. package/dist/models/rcra-phone.js +15 -0
  189. package/dist/models/rcra-site-permission.d.ts +23 -0
  190. package/dist/models/rcra-site-permission.js +15 -0
  191. package/dist/models/rcra-site.d.ts +39 -0
  192. package/dist/models/rcra-site.js +22 -0
  193. package/dist/models/rcrainfo-profile.d.ts +24 -0
  194. package/dist/models/rcrainfo-profile.js +15 -0
  195. package/dist/models/signer.d.ts +26 -0
  196. package/dist/models/signer.js +15 -0
  197. package/dist/models/site-manifest-sync-request.d.ts +14 -0
  198. package/dist/models/site-manifest-sync-request.js +15 -0
  199. package/dist/models/site-manifest-sync-response.d.ts +14 -0
  200. package/dist/models/site-manifest-sync-response.js +15 -0
  201. package/dist/models/site-type-enum.d.ts +21 -0
  202. package/dist/models/site-type-enum.js +25 -0
  203. package/dist/models/site.d.ts +19 -0
  204. package/dist/models/site.js +15 -0
  205. package/dist/models/status-enum.d.ts +26 -0
  206. package/dist/models/status-enum.js +30 -0
  207. package/dist/models/trak-user.d.ts +20 -0
  208. package/dist/models/trak-user.js +15 -0
  209. package/dist/models/transporter.d.ts +27 -0
  210. package/dist/models/transporter.js +15 -0
  211. package/dist/models/waste-line.d.ts +28 -0
  212. package/dist/models/waste-line.js +15 -0
  213. package/git_push.sh +57 -0
  214. package/index.ts +16 -3
  215. package/models/additional-info.ts +27 -0
  216. package/models/esignature.ts +31 -0
  217. package/models/handler-search-site-type-enum.ts +31 -0
  218. package/models/handler-search.ts +26 -0
  219. package/models/handler.ts +42 -0
  220. package/models/index.ts +34 -50
  221. package/models/lock-reason-enum.ts +30 -0
  222. package/models/manifest-phone.ts +24 -0
  223. package/models/manifest.ts +73 -0
  224. package/models/mtn.ts +31 -0
  225. package/models/null-enum.ts +24 -0
  226. package/models/org.ts +26 -0
  227. package/models/paginated-mtn-list.ts +26 -0
  228. package/models/paginated-org-list.ts +26 -0
  229. package/models/paginated-site-list.ts +26 -0
  230. package/models/paper-signature.ts +24 -0
  231. package/models/patched-profile.ts +28 -0
  232. package/models/patched-rcrainfo-profile.ts +32 -0
  233. package/models/profile.ts +28 -0
  234. package/models/quicker-sign.ts +28 -0
  235. package/models/rcra-address.ts +29 -0
  236. package/models/rcra-contact.ts +31 -0
  237. package/models/rcra-phone.ts +24 -0
  238. package/models/rcra-site-permission.ts +29 -0
  239. package/models/rcra-site.ts +54 -0
  240. package/models/rcrainfo-profile.ts +32 -0
  241. package/models/signer.ts +34 -0
  242. package/models/site-manifest-sync-request.ts +20 -0
  243. package/models/site-manifest-sync-response.ts +20 -0
  244. package/models/site-type-enum.ts +31 -0
  245. package/models/site.ts +27 -0
  246. package/models/status-enum.ts +36 -0
  247. package/models/trak-user.ts +26 -0
  248. package/models/transporter.ts +39 -0
  249. package/models/waste-line.ts +34 -0
  250. package/package.json +26 -10
  251. package/tsconfig.esm.json +7 -0
  252. package/tsconfig.json +18 -0
  253. package/apis/DefaultApi.ts +0 -176
  254. package/apis/InfoApi.ts +0 -80
  255. package/apis/ManifestApi.ts +0 -604
  256. package/apis/MyProfileApi.ts +0 -63
  257. package/apis/OrgsApi.ts +0 -172
  258. package/apis/PegasusApi.ts +0 -336
  259. package/apis/ProfileApi.ts +0 -229
  260. package/apis/SiteApi.ts +0 -108
  261. package/apis/SitesApi.ts +0 -119
  262. package/apis/SyncApi.ts +0 -55
  263. package/apis/TeamsApi.ts +0 -673
  264. package/apis/index.ts +0 -12
  265. package/docs/AdditionalInfo.md +0 -41
  266. package/docs/DefaultApi.md +0 -235
  267. package/docs/ESignature.md +0 -43
  268. package/docs/Handler.md +0 -41
  269. package/docs/HandlerSearch.md +0 -34
  270. package/docs/HandlerSearchSiteTypeEnum.md +0 -31
  271. package/docs/InfoApi.md +0 -81
  272. package/docs/Invitation.md +0 -42
  273. package/docs/LockReasonEnum.md +0 -31
  274. package/docs/Manifest.md +0 -93
  275. package/docs/ManifestApi.md +0 -907
  276. package/docs/ManifestPhone.md +0 -35
  277. package/docs/Membership.md +0 -42
  278. package/docs/Mtn.md +0 -39
  279. package/docs/MyProfileApi.md +0 -73
  280. package/docs/NullEnum.md +0 -30
  281. package/docs/OpenInvitation.md +0 -38
  282. package/docs/Org.md +0 -39
  283. package/docs/OrgsApi.md +0 -232
  284. package/docs/PaginatedInvitationList.md +0 -38
  285. package/docs/PaginatedMtnList.md +0 -38
  286. package/docs/PaginatedOrgList.md +0 -38
  287. package/docs/PaginatedSiteList.md +0 -38
  288. package/docs/PaginatedTeamList.md +0 -38
  289. package/docs/PaperSignature.md +0 -35
  290. package/docs/PatchedInvitation.md +0 -42
  291. package/docs/PatchedProfile.md +0 -35
  292. package/docs/PatchedRcrainfoProfile.md +0 -45
  293. package/docs/PatchedTeam.md +0 -48
  294. package/docs/Price.md +0 -42
  295. package/docs/Profile.md +0 -35
  296. package/docs/ProfileApi.md +0 -241
  297. package/docs/QuickerSign.md +0 -43
  298. package/docs/RcraAddress.md +0 -45
  299. package/docs/RcraContact.md +0 -43
  300. package/docs/RcraPhone.md +0 -35
  301. package/docs/RcraSite.md +0 -57
  302. package/docs/RcraSitePermission.md +0 -45
  303. package/docs/RcraSiteSiteTypeEnum.md +0 -31
  304. package/docs/RcrainfoProfile.md +0 -45
  305. package/docs/RoleEnum.md +0 -31
  306. package/docs/Signer.md +0 -49
  307. package/docs/Site.md +0 -35
  308. package/docs/SiteApi.md +0 -147
  309. package/docs/SiteManifestSyncRequest.md +0 -32
  310. package/docs/SiteManifestSyncResponse.md +0 -32
  311. package/docs/SitesApi.md +0 -155
  312. package/docs/StatusC23Enum.md +0 -31
  313. package/docs/Subscription.md +0 -51
  314. package/docs/SubscriptionItem.md +0 -36
  315. package/docs/SubscriptionStatusEnum.md +0 -31
  316. package/docs/SyncApi.md +0 -73
  317. package/docs/Team.md +0 -48
  318. package/docs/TeamsApi.md +0 -965
  319. package/docs/TrakUser.md +0 -43
  320. package/docs/Transporter.md +0 -41
  321. package/docs/UserInvitationsResponse.md +0 -32
  322. package/docs/WasteLine.md +0 -55
  323. package/models/AdditionalInfo.ts +0 -96
  324. package/models/AggregateEmployeeData.ts +0 -83
  325. package/models/DepartmentEnum.ts +0 -59
  326. package/models/ESignature.ts +0 -112
  327. package/models/Employee.ts +0 -125
  328. package/models/Handler.ts +0 -126
  329. package/models/HandlerSearch.ts +0 -84
  330. package/models/HandlerSearchSiteTypeEnum.ts +0 -57
  331. package/models/Invitation.ts +0 -116
  332. package/models/LockReasonEnum.ts +0 -55
  333. package/models/Manifest.ts +0 -353
  334. package/models/ManifestPhone.ts +0 -73
  335. package/models/Membership.ts +0 -115
  336. package/models/Mtn.ts +0 -98
  337. package/models/NullEnum.ts +0 -50
  338. package/models/OpenInvitation.ts +0 -88
  339. package/models/Org.ts +0 -88
  340. package/models/PaginatedEmployeeList.ts +0 -98
  341. package/models/PaginatedInvitationList.ts +0 -98
  342. package/models/PaginatedMtnList.ts +0 -98
  343. package/models/PaginatedOrgList.ts +0 -98
  344. package/models/PaginatedSiteList.ts +0 -98
  345. package/models/PaginatedTeamList.ts +0 -98
  346. package/models/PaperSignature.ts +0 -74
  347. package/models/PatchedEmployee.ts +0 -118
  348. package/models/PatchedInvitation.ts +0 -112
  349. package/models/PatchedProfile.ts +0 -79
  350. package/models/PatchedRcrainfoProfile.ts +0 -119
  351. package/models/PatchedTeam.ts +0 -143
  352. package/models/Price.ts +0 -106
  353. package/models/Profile.ts +0 -80
  354. package/models/QuickerSign.ts +0 -108
  355. package/models/RcraAddress.ts +0 -113
  356. package/models/RcraContact.ts +0 -112
  357. package/models/RcraPhone.ts +0 -73
  358. package/models/RcraSite.ts +0 -200
  359. package/models/RcraSitePermission.ts +0 -121
  360. package/models/RcraSiteSiteTypeEnum.ts +0 -57
  361. package/models/RcrainfoProfile.ts +0 -120
  362. package/models/RoleEnum.ts +0 -53
  363. package/models/Signer.ts +0 -136
  364. package/models/Site.ts +0 -81
  365. package/models/SiteManifestSyncRequest.ts +0 -65
  366. package/models/SiteManifestSyncResponse.ts +0 -65
  367. package/models/StatusC23Enum.ts +0 -67
  368. package/models/StatusEnum.ts +0 -63
  369. package/models/Subscription.ts +0 -168
  370. package/models/SubscriptionItem.ts +0 -90
  371. package/models/SubscriptionStatusEnum.ts +0 -63
  372. package/models/Team.ts +0 -151
  373. package/models/TrakUser.ts +0 -106
  374. package/models/Transporter.ts +0 -120
  375. package/models/UserInvitationsResponse.ts +0 -73
  376. package/models/WasteLine.ts +0 -157
  377. package/runtime.ts +0 -432
@@ -0,0 +1,191 @@
1
+ /**
2
+ * trak
3
+ * Hazardous waste tracking application
4
+ *
5
+ * The version of the OpenAPI document: 0.1.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { Profile } from '../models';
16
+ import type { TrakUser } from '../models';
17
+ /**
18
+ * ProfileApi - axios parameter creator
19
+ */
20
+ export declare const ProfileApiAxiosParamCreator: (configuration?: Configuration) => {
21
+ /**
22
+ * ViewSet for the Profile model.
23
+ * @param {string} userId A UUID string identifying this profile.
24
+ * @param {TrakUser} [user]
25
+ * @param {string | null} [avatar]
26
+ * @param {string} [phoneNumber]
27
+ * @param {*} [options] Override http request option.
28
+ * @throws {RequiredError}
29
+ */
30
+ profilePartialUpdate: (userId: string, user?: TrakUser, avatar?: string | null, phoneNumber?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31
+ /**
32
+ * ViewSet for the Profile model.
33
+ * @param {string} userId A UUID string identifying this profile.
34
+ * @param {*} [options] Override http request option.
35
+ * @throws {RequiredError}
36
+ */
37
+ profileRetrieve: (userId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
38
+ /**
39
+ * ViewSet for the Profile model.
40
+ * @param {string} userId A UUID string identifying this profile.
41
+ * @param {TrakUser} user
42
+ * @param {string} phoneNumber
43
+ * @param {string | null} [avatar]
44
+ * @param {*} [options] Override http request option.
45
+ * @throws {RequiredError}
46
+ */
47
+ profileUpdate: (userId: string, user: TrakUser, phoneNumber: string, avatar?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
48
+ };
49
+ /**
50
+ * ProfileApi - functional programming interface
51
+ */
52
+ export declare const ProfileApiFp: (configuration?: Configuration) => {
53
+ /**
54
+ * ViewSet for the Profile model.
55
+ * @param {string} userId A UUID string identifying this profile.
56
+ * @param {TrakUser} [user]
57
+ * @param {string | null} [avatar]
58
+ * @param {string} [phoneNumber]
59
+ * @param {*} [options] Override http request option.
60
+ * @throws {RequiredError}
61
+ */
62
+ profilePartialUpdate(userId: string, user?: TrakUser, avatar?: string | null, phoneNumber?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Profile>>;
63
+ /**
64
+ * ViewSet for the Profile model.
65
+ * @param {string} userId A UUID string identifying this profile.
66
+ * @param {*} [options] Override http request option.
67
+ * @throws {RequiredError}
68
+ */
69
+ profileRetrieve(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Profile>>;
70
+ /**
71
+ * ViewSet for the Profile model.
72
+ * @param {string} userId A UUID string identifying this profile.
73
+ * @param {TrakUser} user
74
+ * @param {string} phoneNumber
75
+ * @param {string | null} [avatar]
76
+ * @param {*} [options] Override http request option.
77
+ * @throws {RequiredError}
78
+ */
79
+ profileUpdate(userId: string, user: TrakUser, phoneNumber: string, avatar?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Profile>>;
80
+ };
81
+ /**
82
+ * ProfileApi - factory interface
83
+ */
84
+ export declare const ProfileApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
85
+ /**
86
+ * ViewSet for the Profile model.
87
+ * @param {ProfileApiProfilePartialUpdateRequest} requestParameters Request parameters.
88
+ * @param {*} [options] Override http request option.
89
+ * @throws {RequiredError}
90
+ */
91
+ profilePartialUpdate(requestParameters: ProfileApiProfilePartialUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<Profile>;
92
+ /**
93
+ * ViewSet for the Profile model.
94
+ * @param {ProfileApiProfileRetrieveRequest} requestParameters Request parameters.
95
+ * @param {*} [options] Override http request option.
96
+ * @throws {RequiredError}
97
+ */
98
+ profileRetrieve(requestParameters: ProfileApiProfileRetrieveRequest, options?: RawAxiosRequestConfig): AxiosPromise<Profile>;
99
+ /**
100
+ * ViewSet for the Profile model.
101
+ * @param {ProfileApiProfileUpdateRequest} requestParameters Request parameters.
102
+ * @param {*} [options] Override http request option.
103
+ * @throws {RequiredError}
104
+ */
105
+ profileUpdate(requestParameters: ProfileApiProfileUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<Profile>;
106
+ };
107
+ /**
108
+ * ProfileApi - interface
109
+ */
110
+ export interface ProfileApiInterface {
111
+ /**
112
+ * ViewSet for the Profile model.
113
+ * @param {ProfileApiProfilePartialUpdateRequest} requestParameters Request parameters.
114
+ * @param {*} [options] Override http request option.
115
+ * @throws {RequiredError}
116
+ */
117
+ profilePartialUpdate(requestParameters: ProfileApiProfilePartialUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<Profile>;
118
+ /**
119
+ * ViewSet for the Profile model.
120
+ * @param {ProfileApiProfileRetrieveRequest} requestParameters Request parameters.
121
+ * @param {*} [options] Override http request option.
122
+ * @throws {RequiredError}
123
+ */
124
+ profileRetrieve(requestParameters: ProfileApiProfileRetrieveRequest, options?: RawAxiosRequestConfig): AxiosPromise<Profile>;
125
+ /**
126
+ * ViewSet for the Profile model.
127
+ * @param {ProfileApiProfileUpdateRequest} requestParameters Request parameters.
128
+ * @param {*} [options] Override http request option.
129
+ * @throws {RequiredError}
130
+ */
131
+ profileUpdate(requestParameters: ProfileApiProfileUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<Profile>;
132
+ }
133
+ /**
134
+ * Request parameters for profilePartialUpdate operation in ProfileApi.
135
+ */
136
+ export interface ProfileApiProfilePartialUpdateRequest {
137
+ /**
138
+ * A UUID string identifying this profile.
139
+ */
140
+ readonly userId: string;
141
+ readonly user?: TrakUser;
142
+ readonly avatar?: string | null;
143
+ readonly phoneNumber?: string;
144
+ }
145
+ /**
146
+ * Request parameters for profileRetrieve operation in ProfileApi.
147
+ */
148
+ export interface ProfileApiProfileRetrieveRequest {
149
+ /**
150
+ * A UUID string identifying this profile.
151
+ */
152
+ readonly userId: string;
153
+ }
154
+ /**
155
+ * Request parameters for profileUpdate operation in ProfileApi.
156
+ */
157
+ export interface ProfileApiProfileUpdateRequest {
158
+ /**
159
+ * A UUID string identifying this profile.
160
+ */
161
+ readonly userId: string;
162
+ readonly user: TrakUser;
163
+ readonly phoneNumber: string;
164
+ readonly avatar?: string | null;
165
+ }
166
+ /**
167
+ * ProfileApi - object-oriented interface
168
+ */
169
+ export declare class ProfileApi extends BaseAPI implements ProfileApiInterface {
170
+ /**
171
+ * ViewSet for the Profile model.
172
+ * @param {ProfileApiProfilePartialUpdateRequest} requestParameters Request parameters.
173
+ * @param {*} [options] Override http request option.
174
+ * @throws {RequiredError}
175
+ */
176
+ profilePartialUpdate(requestParameters: ProfileApiProfilePartialUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Profile, any, {}>>;
177
+ /**
178
+ * ViewSet for the Profile model.
179
+ * @param {ProfileApiProfileRetrieveRequest} requestParameters Request parameters.
180
+ * @param {*} [options] Override http request option.
181
+ * @throws {RequiredError}
182
+ */
183
+ profileRetrieve(requestParameters: ProfileApiProfileRetrieveRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Profile, any, {}>>;
184
+ /**
185
+ * ViewSet for the Profile model.
186
+ * @param {ProfileApiProfileUpdateRequest} requestParameters Request parameters.
187
+ * @param {*} [options] Override http request option.
188
+ * @throws {RequiredError}
189
+ */
190
+ profileUpdate(requestParameters: ProfileApiProfileUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Profile, any, {}>>;
191
+ }
@@ -0,0 +1,291 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * trak
5
+ * Hazardous waste tracking application
6
+ *
7
+ * The version of the OpenAPI document: 0.1.1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
15
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
16
+ return new (P || (P = Promise))(function (resolve, reject) {
17
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
18
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
19
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
20
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
21
+ });
22
+ };
23
+ import globalAxios from 'axios';
24
+ // Some imports not used depending on template conditions
25
+ // @ts-ignore
26
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setSearchParams, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common';
27
+ // @ts-ignore
28
+ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
29
+ /**
30
+ * ProfileApi - axios parameter creator
31
+ */
32
+ export const ProfileApiAxiosParamCreator = function (configuration) {
33
+ return {
34
+ /**
35
+ * ViewSet for the Profile model.
36
+ * @param {string} userId A UUID string identifying this profile.
37
+ * @param {TrakUser} [user]
38
+ * @param {string | null} [avatar]
39
+ * @param {string} [phoneNumber]
40
+ * @param {*} [options] Override http request option.
41
+ * @throws {RequiredError}
42
+ */
43
+ profilePartialUpdate: (userId_1, user_1, avatar_1, phoneNumber_1, ...args_1) => __awaiter(this, [userId_1, user_1, avatar_1, phoneNumber_1, ...args_1], void 0, function* (userId, user, avatar, phoneNumber, options = {}) {
44
+ // verify required parameter 'userId' is not null or undefined
45
+ assertParamExists('profilePartialUpdate', 'userId', userId);
46
+ const localVarPath = `/api/v1/profile/{user_id}`
47
+ .replace(`{${"user_id"}}`, encodeURIComponent(String(userId)));
48
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
49
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
50
+ let baseOptions;
51
+ if (configuration) {
52
+ baseOptions = configuration.baseOptions;
53
+ }
54
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
55
+ const localVarHeaderParameter = {};
56
+ const localVarQueryParameter = {};
57
+ const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
58
+ // authentication cookieAuth required
59
+ // authentication ApiKeyAuth required
60
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
61
+ if (user !== undefined) {
62
+ localVarFormParams.append('user', new Blob([JSON.stringify(user, replaceWithSerializableTypeIfNeeded)], { type: "application/json", }));
63
+ }
64
+ if (avatar !== undefined) {
65
+ localVarFormParams.append('avatar', avatar);
66
+ }
67
+ if (phoneNumber !== undefined) {
68
+ localVarFormParams.append('phoneNumber', phoneNumber);
69
+ }
70
+ localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
71
+ localVarHeaderParameter['Accept'] = 'application/json';
72
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
73
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
74
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
75
+ localVarRequestOptions.data = localVarFormParams;
76
+ return {
77
+ url: toPathString(localVarUrlObj),
78
+ options: localVarRequestOptions,
79
+ };
80
+ }),
81
+ /**
82
+ * ViewSet for the Profile model.
83
+ * @param {string} userId A UUID string identifying this profile.
84
+ * @param {*} [options] Override http request option.
85
+ * @throws {RequiredError}
86
+ */
87
+ profileRetrieve: (userId_1, ...args_1) => __awaiter(this, [userId_1, ...args_1], void 0, function* (userId, options = {}) {
88
+ // verify required parameter 'userId' is not null or undefined
89
+ assertParamExists('profileRetrieve', 'userId', userId);
90
+ const localVarPath = `/api/v1/profile/{user_id}`
91
+ .replace(`{${"user_id"}}`, encodeURIComponent(String(userId)));
92
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
93
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
94
+ let baseOptions;
95
+ if (configuration) {
96
+ baseOptions = configuration.baseOptions;
97
+ }
98
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
99
+ const localVarHeaderParameter = {};
100
+ const localVarQueryParameter = {};
101
+ // authentication cookieAuth required
102
+ // authentication ApiKeyAuth required
103
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
104
+ localVarHeaderParameter['Accept'] = 'application/json';
105
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
106
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
107
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
108
+ return {
109
+ url: toPathString(localVarUrlObj),
110
+ options: localVarRequestOptions,
111
+ };
112
+ }),
113
+ /**
114
+ * ViewSet for the Profile model.
115
+ * @param {string} userId A UUID string identifying this profile.
116
+ * @param {TrakUser} user
117
+ * @param {string} phoneNumber
118
+ * @param {string | null} [avatar]
119
+ * @param {*} [options] Override http request option.
120
+ * @throws {RequiredError}
121
+ */
122
+ profileUpdate: (userId_1, user_1, phoneNumber_1, avatar_1, ...args_1) => __awaiter(this, [userId_1, user_1, phoneNumber_1, avatar_1, ...args_1], void 0, function* (userId, user, phoneNumber, avatar, options = {}) {
123
+ // verify required parameter 'userId' is not null or undefined
124
+ assertParamExists('profileUpdate', 'userId', userId);
125
+ // verify required parameter 'user' is not null or undefined
126
+ assertParamExists('profileUpdate', 'user', user);
127
+ // verify required parameter 'phoneNumber' is not null or undefined
128
+ assertParamExists('profileUpdate', 'phoneNumber', phoneNumber);
129
+ const localVarPath = `/api/v1/profile/{user_id}`
130
+ .replace(`{${"user_id"}}`, encodeURIComponent(String(userId)));
131
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
132
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
133
+ let baseOptions;
134
+ if (configuration) {
135
+ baseOptions = configuration.baseOptions;
136
+ }
137
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
138
+ const localVarHeaderParameter = {};
139
+ const localVarQueryParameter = {};
140
+ const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
141
+ // authentication cookieAuth required
142
+ // authentication ApiKeyAuth required
143
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
144
+ if (user !== undefined) {
145
+ localVarFormParams.append('user', new Blob([JSON.stringify(user, replaceWithSerializableTypeIfNeeded)], { type: "application/json", }));
146
+ }
147
+ if (avatar !== undefined) {
148
+ localVarFormParams.append('avatar', avatar);
149
+ }
150
+ if (phoneNumber !== undefined) {
151
+ localVarFormParams.append('phoneNumber', phoneNumber);
152
+ }
153
+ localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
154
+ localVarHeaderParameter['Accept'] = 'application/json';
155
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
156
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
157
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
158
+ localVarRequestOptions.data = localVarFormParams;
159
+ return {
160
+ url: toPathString(localVarUrlObj),
161
+ options: localVarRequestOptions,
162
+ };
163
+ }),
164
+ };
165
+ };
166
+ /**
167
+ * ProfileApi - functional programming interface
168
+ */
169
+ export const ProfileApiFp = function (configuration) {
170
+ const localVarAxiosParamCreator = ProfileApiAxiosParamCreator(configuration);
171
+ return {
172
+ /**
173
+ * ViewSet for the Profile model.
174
+ * @param {string} userId A UUID string identifying this profile.
175
+ * @param {TrakUser} [user]
176
+ * @param {string | null} [avatar]
177
+ * @param {string} [phoneNumber]
178
+ * @param {*} [options] Override http request option.
179
+ * @throws {RequiredError}
180
+ */
181
+ profilePartialUpdate(userId, user, avatar, phoneNumber, options) {
182
+ return __awaiter(this, void 0, void 0, function* () {
183
+ var _a, _b, _c;
184
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.profilePartialUpdate(userId, user, avatar, phoneNumber, options);
185
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
186
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProfileApi.profilePartialUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
187
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
188
+ });
189
+ },
190
+ /**
191
+ * ViewSet for the Profile model.
192
+ * @param {string} userId A UUID string identifying this profile.
193
+ * @param {*} [options] Override http request option.
194
+ * @throws {RequiredError}
195
+ */
196
+ profileRetrieve(userId, options) {
197
+ return __awaiter(this, void 0, void 0, function* () {
198
+ var _a, _b, _c;
199
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.profileRetrieve(userId, options);
200
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
201
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProfileApi.profileRetrieve']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
202
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
203
+ });
204
+ },
205
+ /**
206
+ * ViewSet for the Profile model.
207
+ * @param {string} userId A UUID string identifying this profile.
208
+ * @param {TrakUser} user
209
+ * @param {string} phoneNumber
210
+ * @param {string | null} [avatar]
211
+ * @param {*} [options] Override http request option.
212
+ * @throws {RequiredError}
213
+ */
214
+ profileUpdate(userId, user, phoneNumber, avatar, options) {
215
+ return __awaiter(this, void 0, void 0, function* () {
216
+ var _a, _b, _c;
217
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.profileUpdate(userId, user, phoneNumber, avatar, options);
218
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
219
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProfileApi.profileUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
220
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
221
+ });
222
+ },
223
+ };
224
+ };
225
+ /**
226
+ * ProfileApi - factory interface
227
+ */
228
+ export const ProfileApiFactory = function (configuration, basePath, axios) {
229
+ const localVarFp = ProfileApiFp(configuration);
230
+ return {
231
+ /**
232
+ * ViewSet for the Profile model.
233
+ * @param {ProfileApiProfilePartialUpdateRequest} requestParameters Request parameters.
234
+ * @param {*} [options] Override http request option.
235
+ * @throws {RequiredError}
236
+ */
237
+ profilePartialUpdate(requestParameters, options) {
238
+ return localVarFp.profilePartialUpdate(requestParameters.userId, requestParameters.user, requestParameters.avatar, requestParameters.phoneNumber, options).then((request) => request(axios, basePath));
239
+ },
240
+ /**
241
+ * ViewSet for the Profile model.
242
+ * @param {ProfileApiProfileRetrieveRequest} requestParameters Request parameters.
243
+ * @param {*} [options] Override http request option.
244
+ * @throws {RequiredError}
245
+ */
246
+ profileRetrieve(requestParameters, options) {
247
+ return localVarFp.profileRetrieve(requestParameters.userId, options).then((request) => request(axios, basePath));
248
+ },
249
+ /**
250
+ * ViewSet for the Profile model.
251
+ * @param {ProfileApiProfileUpdateRequest} requestParameters Request parameters.
252
+ * @param {*} [options] Override http request option.
253
+ * @throws {RequiredError}
254
+ */
255
+ profileUpdate(requestParameters, options) {
256
+ return localVarFp.profileUpdate(requestParameters.userId, requestParameters.user, requestParameters.phoneNumber, requestParameters.avatar, options).then((request) => request(axios, basePath));
257
+ },
258
+ };
259
+ };
260
+ /**
261
+ * ProfileApi - object-oriented interface
262
+ */
263
+ export class ProfileApi extends BaseAPI {
264
+ /**
265
+ * ViewSet for the Profile model.
266
+ * @param {ProfileApiProfilePartialUpdateRequest} requestParameters Request parameters.
267
+ * @param {*} [options] Override http request option.
268
+ * @throws {RequiredError}
269
+ */
270
+ profilePartialUpdate(requestParameters, options) {
271
+ return ProfileApiFp(this.configuration).profilePartialUpdate(requestParameters.userId, requestParameters.user, requestParameters.avatar, requestParameters.phoneNumber, options).then((request) => request(this.axios, this.basePath));
272
+ }
273
+ /**
274
+ * ViewSet for the Profile model.
275
+ * @param {ProfileApiProfileRetrieveRequest} requestParameters Request parameters.
276
+ * @param {*} [options] Override http request option.
277
+ * @throws {RequiredError}
278
+ */
279
+ profileRetrieve(requestParameters, options) {
280
+ return ProfileApiFp(this.configuration).profileRetrieve(requestParameters.userId, options).then((request) => request(this.axios, this.basePath));
281
+ }
282
+ /**
283
+ * ViewSet for the Profile model.
284
+ * @param {ProfileApiProfileUpdateRequest} requestParameters Request parameters.
285
+ * @param {*} [options] Override http request option.
286
+ * @throws {RequiredError}
287
+ */
288
+ profileUpdate(requestParameters, options) {
289
+ return ProfileApiFp(this.configuration).profileUpdate(requestParameters.userId, requestParameters.user, requestParameters.phoneNumber, requestParameters.avatar, options).then((request) => request(this.axios, this.basePath));
290
+ }
291
+ }
@@ -0,0 +1,111 @@
1
+ /**
2
+ * trak
3
+ * Hazardous waste tracking application
4
+ *
5
+ * The version of the OpenAPI document: 0.1.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { RcraSite } from '../models';
16
+ /**
17
+ * SiteApi - axios parameter creator
18
+ */
19
+ export declare const SiteApiAxiosParamCreator: (configuration?: Configuration) => {
20
+ /**
21
+ * Retrieve details on a rcra_site stored in the database
22
+ * @param {string} epaId
23
+ * @param {*} [options] Override http request option.
24
+ * @throws {RequiredError}
25
+ */
26
+ siteRetrieve: (epaId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
27
+ /**
28
+ * Search for hazardous waste sites.
29
+ * @param {*} [options] Override http request option.
30
+ * @throws {RequiredError}
31
+ */
32
+ siteSearchList: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
33
+ };
34
+ /**
35
+ * SiteApi - functional programming interface
36
+ */
37
+ export declare const SiteApiFp: (configuration?: Configuration) => {
38
+ /**
39
+ * Retrieve details on a rcra_site stored in the database
40
+ * @param {string} epaId
41
+ * @param {*} [options] Override http request option.
42
+ * @throws {RequiredError}
43
+ */
44
+ siteRetrieve(epaId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RcraSite>>;
45
+ /**
46
+ * Search for hazardous waste sites.
47
+ * @param {*} [options] Override http request option.
48
+ * @throws {RequiredError}
49
+ */
50
+ siteSearchList(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RcraSite>>>;
51
+ };
52
+ /**
53
+ * SiteApi - factory interface
54
+ */
55
+ export declare const SiteApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
56
+ /**
57
+ * Retrieve details on a rcra_site stored in the database
58
+ * @param {SiteApiSiteRetrieveRequest} requestParameters Request parameters.
59
+ * @param {*} [options] Override http request option.
60
+ * @throws {RequiredError}
61
+ */
62
+ siteRetrieve(requestParameters: SiteApiSiteRetrieveRequest, options?: RawAxiosRequestConfig): AxiosPromise<RcraSite>;
63
+ /**
64
+ * Search for hazardous waste sites.
65
+ * @param {*} [options] Override http request option.
66
+ * @throws {RequiredError}
67
+ */
68
+ siteSearchList(options?: RawAxiosRequestConfig): AxiosPromise<Array<RcraSite>>;
69
+ };
70
+ /**
71
+ * SiteApi - interface
72
+ */
73
+ export interface SiteApiInterface {
74
+ /**
75
+ * Retrieve details on a rcra_site stored in the database
76
+ * @param {SiteApiSiteRetrieveRequest} requestParameters Request parameters.
77
+ * @param {*} [options] Override http request option.
78
+ * @throws {RequiredError}
79
+ */
80
+ siteRetrieve(requestParameters: SiteApiSiteRetrieveRequest, options?: RawAxiosRequestConfig): AxiosPromise<RcraSite>;
81
+ /**
82
+ * Search for hazardous waste sites.
83
+ * @param {*} [options] Override http request option.
84
+ * @throws {RequiredError}
85
+ */
86
+ siteSearchList(options?: RawAxiosRequestConfig): AxiosPromise<Array<RcraSite>>;
87
+ }
88
+ /**
89
+ * Request parameters for siteRetrieve operation in SiteApi.
90
+ */
91
+ export interface SiteApiSiteRetrieveRequest {
92
+ readonly epaId: string;
93
+ }
94
+ /**
95
+ * SiteApi - object-oriented interface
96
+ */
97
+ export declare class SiteApi extends BaseAPI implements SiteApiInterface {
98
+ /**
99
+ * Retrieve details on a rcra_site stored in the database
100
+ * @param {SiteApiSiteRetrieveRequest} requestParameters Request parameters.
101
+ * @param {*} [options] Override http request option.
102
+ * @throws {RequiredError}
103
+ */
104
+ siteRetrieve(requestParameters: SiteApiSiteRetrieveRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RcraSite, any, {}>>;
105
+ /**
106
+ * Search for hazardous waste sites.
107
+ * @param {*} [options] Override http request option.
108
+ * @throws {RequiredError}
109
+ */
110
+ siteSearchList(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RcraSite[], any, {}>>;
111
+ }