@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.
- package/.openapi-generator/FILES +55 -118
- package/.openapi-generator/VERSION +1 -1
- package/README.md +140 -0
- package/api.ts +26 -0
- package/apis/default-api.ts +328 -0
- package/apis/info-api.ts +149 -0
- package/apis/manifest-api.ts +1135 -0
- package/apis/my-profile-api.ts +131 -0
- package/apis/orgs-api.ts +333 -0
- package/apis/profile-api.ts +383 -0
- package/apis/site-api.ts +215 -0
- package/apis/sites-api.ts +236 -0
- package/apis/sync-api.ts +128 -0
- package/base.ts +62 -0
- package/common.ts +127 -0
- package/configuration.ts +121 -0
- package/dist/api.d.ts +20 -0
- package/dist/api.js +38 -0
- package/dist/apis/default-api.d.ts +170 -0
- package/dist/apis/default-api.js +266 -0
- package/dist/apis/info-api.d.ts +82 -0
- package/dist/apis/info-api.js +129 -0
- package/dist/apis/manifest-api.d.ts +566 -0
- package/dist/apis/manifest-api.js +868 -0
- package/dist/apis/my-profile-api.d.ts +70 -0
- package/dist/apis/my-profile-api.js +121 -0
- package/dist/apis/orgs-api.d.ts +174 -0
- package/dist/apis/orgs-api.js +263 -0
- package/dist/apis/profile-api.d.ts +191 -0
- package/dist/apis/profile-api.js +298 -0
- package/dist/apis/site-api.d.ts +111 -0
- package/dist/apis/site-api.js +186 -0
- package/dist/apis/sites-api.d.ts +126 -0
- package/dist/apis/sites-api.js +193 -0
- package/dist/apis/sync-api.d.ts +69 -0
- package/dist/apis/sync-api.js +120 -0
- package/dist/base.d.ts +42 -0
- package/dist/base.js +46 -0
- package/dist/common.d.ts +34 -0
- package/dist/common.js +139 -0
- package/dist/configuration.d.ts +98 -0
- package/dist/configuration.js +44 -0
- package/dist/esm/api.d.ts +20 -0
- package/dist/esm/api.js +22 -0
- package/dist/esm/apis/default-api.d.ts +170 -0
- package/dist/esm/apis/default-api.js +259 -0
- package/dist/esm/apis/info-api.d.ts +82 -0
- package/dist/esm/apis/info-api.js +122 -0
- package/dist/esm/apis/manifest-api.d.ts +566 -0
- package/dist/esm/apis/manifest-api.js +861 -0
- package/dist/esm/apis/my-profile-api.d.ts +70 -0
- package/dist/esm/apis/my-profile-api.js +114 -0
- package/dist/esm/apis/orgs-api.d.ts +174 -0
- package/dist/esm/apis/orgs-api.js +256 -0
- package/dist/esm/apis/profile-api.d.ts +191 -0
- package/dist/esm/apis/profile-api.js +291 -0
- package/dist/esm/apis/site-api.d.ts +111 -0
- package/dist/esm/apis/site-api.js +179 -0
- package/dist/esm/apis/sites-api.d.ts +126 -0
- package/dist/esm/apis/sites-api.js +186 -0
- package/dist/esm/apis/sync-api.d.ts +69 -0
- package/dist/esm/apis/sync-api.js +113 -0
- package/dist/esm/base.d.ts +42 -0
- package/dist/esm/base.js +41 -0
- package/dist/esm/common.d.ts +34 -0
- package/dist/esm/common.js +126 -0
- package/dist/esm/configuration.d.ts +98 -0
- package/dist/esm/configuration.js +40 -0
- package/dist/esm/index.d.ts +14 -0
- package/dist/esm/index.js +16 -0
- package/dist/esm/models/additional-info.d.ts +21 -0
- package/dist/esm/models/additional-info.js +14 -0
- package/dist/esm/models/esignature.d.ts +23 -0
- package/dist/esm/models/esignature.js +14 -0
- package/dist/esm/models/handler-search-site-type-enum.d.ts +21 -0
- package/dist/esm/models/handler-search-site-type-enum.js +22 -0
- package/dist/esm/models/handler-search.d.ts +16 -0
- package/dist/esm/models/handler-search.js +14 -0
- package/dist/esm/models/handler.d.ts +28 -0
- package/dist/esm/models/handler.js +14 -0
- package/dist/esm/models/index.d.ts +34 -0
- package/dist/esm/models/index.js +34 -0
- package/dist/esm/models/lock-reason-enum.d.ts +20 -0
- package/dist/esm/models/lock-reason-enum.js +21 -0
- package/dist/esm/models/manifest-phone.d.ts +18 -0
- package/dist/esm/models/manifest-phone.js +14 -0
- package/dist/esm/models/manifest.d.ts +53 -0
- package/dist/esm/models/manifest.js +14 -0
- package/dist/esm/models/mtn.d.ts +21 -0
- package/dist/esm/models/mtn.js +14 -0
- package/dist/esm/models/null-enum.d.ts +13 -0
- package/dist/esm/models/null-enum.js +14 -0
- package/dist/esm/models/org.d.ts +20 -0
- package/dist/esm/models/org.js +14 -0
- package/dist/esm/models/paginated-mtn-list.d.ts +18 -0
- package/dist/esm/models/paginated-mtn-list.js +14 -0
- package/dist/esm/models/paginated-org-list.d.ts +18 -0
- package/dist/esm/models/paginated-org-list.js +14 -0
- package/dist/esm/models/paginated-site-list.d.ts +18 -0
- package/dist/esm/models/paginated-site-list.js +14 -0
- package/dist/esm/models/paper-signature.d.ts +18 -0
- package/dist/esm/models/paper-signature.js +14 -0
- package/dist/esm/models/patched-profile.d.ts +20 -0
- package/dist/esm/models/patched-profile.js +14 -0
- package/dist/esm/models/patched-rcrainfo-profile.d.ts +24 -0
- package/dist/esm/models/patched-rcrainfo-profile.js +14 -0
- package/dist/esm/models/profile.d.ts +20 -0
- package/dist/esm/models/profile.js +14 -0
- package/dist/esm/models/quicker-sign.d.ts +22 -0
- package/dist/esm/models/quicker-sign.js +14 -0
- package/dist/esm/models/rcra-address.d.ts +27 -0
- package/dist/esm/models/rcra-address.js +14 -0
- package/dist/esm/models/rcra-contact.d.ts +23 -0
- package/dist/esm/models/rcra-contact.js +14 -0
- package/dist/esm/models/rcra-phone.d.ts +18 -0
- package/dist/esm/models/rcra-phone.js +14 -0
- package/dist/esm/models/rcra-site-permission.d.ts +23 -0
- package/dist/esm/models/rcra-site-permission.js +14 -0
- package/dist/esm/models/rcra-site.d.ts +39 -0
- package/dist/esm/models/rcra-site.js +19 -0
- package/dist/esm/models/rcrainfo-profile.d.ts +24 -0
- package/dist/esm/models/rcrainfo-profile.js +14 -0
- package/dist/esm/models/signer.d.ts +26 -0
- package/dist/esm/models/signer.js +14 -0
- package/dist/esm/models/site-manifest-sync-request.d.ts +14 -0
- package/dist/esm/models/site-manifest-sync-request.js +14 -0
- package/dist/esm/models/site-manifest-sync-response.d.ts +14 -0
- package/dist/esm/models/site-manifest-sync-response.js +14 -0
- package/dist/esm/models/site-type-enum.d.ts +21 -0
- package/dist/esm/models/site-type-enum.js +22 -0
- package/dist/esm/models/site.d.ts +19 -0
- package/dist/esm/models/site.js +14 -0
- package/dist/esm/models/status-enum.d.ts +26 -0
- package/dist/esm/models/status-enum.js +27 -0
- package/dist/esm/models/trak-user.d.ts +20 -0
- package/dist/esm/models/trak-user.js +14 -0
- package/dist/esm/models/transporter.d.ts +27 -0
- package/dist/esm/models/transporter.js +14 -0
- package/dist/esm/models/waste-line.d.ts +28 -0
- package/dist/esm/models/waste-line.js +14 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +32 -0
- package/dist/models/additional-info.d.ts +21 -0
- package/dist/models/additional-info.js +15 -0
- package/dist/models/esignature.d.ts +23 -0
- package/dist/models/esignature.js +15 -0
- package/dist/models/handler-search-site-type-enum.d.ts +21 -0
- package/dist/models/handler-search-site-type-enum.js +25 -0
- package/dist/models/handler-search.d.ts +16 -0
- package/dist/models/handler-search.js +15 -0
- package/dist/models/handler.d.ts +28 -0
- package/dist/models/handler.js +15 -0
- package/dist/models/index.d.ts +34 -0
- package/dist/models/index.js +50 -0
- package/dist/models/lock-reason-enum.d.ts +20 -0
- package/dist/models/lock-reason-enum.js +24 -0
- package/dist/models/manifest-phone.d.ts +18 -0
- package/dist/models/manifest-phone.js +15 -0
- package/dist/models/manifest.d.ts +53 -0
- package/dist/models/manifest.js +15 -0
- package/dist/models/mtn.d.ts +21 -0
- package/dist/models/mtn.js +15 -0
- package/dist/models/null-enum.d.ts +13 -0
- package/dist/models/null-enum.js +17 -0
- package/dist/models/org.d.ts +20 -0
- package/dist/models/org.js +15 -0
- package/dist/models/paginated-mtn-list.d.ts +18 -0
- package/dist/models/paginated-mtn-list.js +15 -0
- package/dist/models/paginated-org-list.d.ts +18 -0
- package/dist/models/paginated-org-list.js +15 -0
- package/dist/models/paginated-site-list.d.ts +18 -0
- package/dist/models/paginated-site-list.js +15 -0
- package/dist/models/paper-signature.d.ts +18 -0
- package/dist/models/paper-signature.js +15 -0
- package/dist/models/patched-profile.d.ts +20 -0
- package/dist/models/patched-profile.js +15 -0
- package/dist/models/patched-rcrainfo-profile.d.ts +24 -0
- package/dist/models/patched-rcrainfo-profile.js +15 -0
- package/dist/models/profile.d.ts +20 -0
- package/dist/models/profile.js +15 -0
- package/dist/models/quicker-sign.d.ts +22 -0
- package/dist/models/quicker-sign.js +15 -0
- package/dist/models/rcra-address.d.ts +27 -0
- package/dist/models/rcra-address.js +15 -0
- package/dist/models/rcra-contact.d.ts +23 -0
- package/dist/models/rcra-contact.js +15 -0
- package/dist/models/rcra-phone.d.ts +18 -0
- package/dist/models/rcra-phone.js +15 -0
- package/dist/models/rcra-site-permission.d.ts +23 -0
- package/dist/models/rcra-site-permission.js +15 -0
- package/dist/models/rcra-site.d.ts +39 -0
- package/dist/models/rcra-site.js +22 -0
- package/dist/models/rcrainfo-profile.d.ts +24 -0
- package/dist/models/rcrainfo-profile.js +15 -0
- package/dist/models/signer.d.ts +26 -0
- package/dist/models/signer.js +15 -0
- package/dist/models/site-manifest-sync-request.d.ts +14 -0
- package/dist/models/site-manifest-sync-request.js +15 -0
- package/dist/models/site-manifest-sync-response.d.ts +14 -0
- package/dist/models/site-manifest-sync-response.js +15 -0
- package/dist/models/site-type-enum.d.ts +21 -0
- package/dist/models/site-type-enum.js +25 -0
- package/dist/models/site.d.ts +19 -0
- package/dist/models/site.js +15 -0
- package/dist/models/status-enum.d.ts +26 -0
- package/dist/models/status-enum.js +30 -0
- package/dist/models/trak-user.d.ts +20 -0
- package/dist/models/trak-user.js +15 -0
- package/dist/models/transporter.d.ts +27 -0
- package/dist/models/transporter.js +15 -0
- package/dist/models/waste-line.d.ts +28 -0
- package/dist/models/waste-line.js +15 -0
- package/git_push.sh +57 -0
- package/index.ts +16 -3
- package/models/additional-info.ts +27 -0
- package/models/esignature.ts +31 -0
- package/models/handler-search-site-type-enum.ts +31 -0
- package/models/handler-search.ts +26 -0
- package/models/handler.ts +42 -0
- package/models/index.ts +34 -50
- package/models/lock-reason-enum.ts +30 -0
- package/models/manifest-phone.ts +24 -0
- package/models/manifest.ts +73 -0
- package/models/mtn.ts +31 -0
- package/models/null-enum.ts +24 -0
- package/models/org.ts +26 -0
- package/models/paginated-mtn-list.ts +26 -0
- package/models/paginated-org-list.ts +26 -0
- package/models/paginated-site-list.ts +26 -0
- package/models/paper-signature.ts +24 -0
- package/models/patched-profile.ts +28 -0
- package/models/patched-rcrainfo-profile.ts +32 -0
- package/models/profile.ts +28 -0
- package/models/quicker-sign.ts +28 -0
- package/models/rcra-address.ts +29 -0
- package/models/rcra-contact.ts +31 -0
- package/models/rcra-phone.ts +24 -0
- package/models/rcra-site-permission.ts +29 -0
- package/models/rcra-site.ts +54 -0
- package/models/rcrainfo-profile.ts +32 -0
- package/models/signer.ts +34 -0
- package/models/site-manifest-sync-request.ts +20 -0
- package/models/site-manifest-sync-response.ts +20 -0
- package/models/site-type-enum.ts +31 -0
- package/models/site.ts +27 -0
- package/models/status-enum.ts +36 -0
- package/models/trak-user.ts +26 -0
- package/models/transporter.ts +39 -0
- package/models/waste-line.ts +34 -0
- package/package.json +26 -10
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +18 -0
- package/apis/DefaultApi.ts +0 -176
- package/apis/InfoApi.ts +0 -80
- package/apis/ManifestApi.ts +0 -604
- package/apis/MyProfileApi.ts +0 -63
- package/apis/OrgsApi.ts +0 -172
- package/apis/PegasusApi.ts +0 -336
- package/apis/ProfileApi.ts +0 -229
- package/apis/SiteApi.ts +0 -108
- package/apis/SitesApi.ts +0 -119
- package/apis/SyncApi.ts +0 -55
- package/apis/TeamsApi.ts +0 -673
- package/apis/index.ts +0 -12
- package/docs/AdditionalInfo.md +0 -41
- package/docs/DefaultApi.md +0 -235
- package/docs/ESignature.md +0 -43
- package/docs/Handler.md +0 -41
- package/docs/HandlerSearch.md +0 -34
- package/docs/HandlerSearchSiteTypeEnum.md +0 -31
- package/docs/InfoApi.md +0 -81
- package/docs/Invitation.md +0 -42
- package/docs/LockReasonEnum.md +0 -31
- package/docs/Manifest.md +0 -93
- package/docs/ManifestApi.md +0 -907
- package/docs/ManifestPhone.md +0 -35
- package/docs/Membership.md +0 -42
- package/docs/Mtn.md +0 -39
- package/docs/MyProfileApi.md +0 -73
- package/docs/NullEnum.md +0 -30
- package/docs/OpenInvitation.md +0 -38
- package/docs/Org.md +0 -39
- package/docs/OrgsApi.md +0 -232
- package/docs/PaginatedInvitationList.md +0 -38
- package/docs/PaginatedMtnList.md +0 -38
- package/docs/PaginatedOrgList.md +0 -38
- package/docs/PaginatedSiteList.md +0 -38
- package/docs/PaginatedTeamList.md +0 -38
- package/docs/PaperSignature.md +0 -35
- package/docs/PatchedInvitation.md +0 -42
- package/docs/PatchedProfile.md +0 -35
- package/docs/PatchedRcrainfoProfile.md +0 -45
- package/docs/PatchedTeam.md +0 -48
- package/docs/Price.md +0 -42
- package/docs/Profile.md +0 -35
- package/docs/ProfileApi.md +0 -241
- package/docs/QuickerSign.md +0 -43
- package/docs/RcraAddress.md +0 -45
- package/docs/RcraContact.md +0 -43
- package/docs/RcraPhone.md +0 -35
- package/docs/RcraSite.md +0 -57
- package/docs/RcraSitePermission.md +0 -45
- package/docs/RcraSiteSiteTypeEnum.md +0 -31
- package/docs/RcrainfoProfile.md +0 -45
- package/docs/RoleEnum.md +0 -31
- package/docs/Signer.md +0 -49
- package/docs/Site.md +0 -35
- package/docs/SiteApi.md +0 -147
- package/docs/SiteManifestSyncRequest.md +0 -32
- package/docs/SiteManifestSyncResponse.md +0 -32
- package/docs/SitesApi.md +0 -155
- package/docs/StatusC23Enum.md +0 -31
- package/docs/Subscription.md +0 -51
- package/docs/SubscriptionItem.md +0 -36
- package/docs/SubscriptionStatusEnum.md +0 -31
- package/docs/SyncApi.md +0 -73
- package/docs/Team.md +0 -48
- package/docs/TeamsApi.md +0 -965
- package/docs/TrakUser.md +0 -43
- package/docs/Transporter.md +0 -41
- package/docs/UserInvitationsResponse.md +0 -32
- package/docs/WasteLine.md +0 -55
- package/models/AdditionalInfo.ts +0 -96
- package/models/AggregateEmployeeData.ts +0 -83
- package/models/DepartmentEnum.ts +0 -59
- package/models/ESignature.ts +0 -112
- package/models/Employee.ts +0 -125
- package/models/Handler.ts +0 -126
- package/models/HandlerSearch.ts +0 -84
- package/models/HandlerSearchSiteTypeEnum.ts +0 -57
- package/models/Invitation.ts +0 -116
- package/models/LockReasonEnum.ts +0 -55
- package/models/Manifest.ts +0 -353
- package/models/ManifestPhone.ts +0 -73
- package/models/Membership.ts +0 -115
- package/models/Mtn.ts +0 -98
- package/models/NullEnum.ts +0 -50
- package/models/OpenInvitation.ts +0 -88
- package/models/Org.ts +0 -88
- package/models/PaginatedEmployeeList.ts +0 -98
- package/models/PaginatedInvitationList.ts +0 -98
- package/models/PaginatedMtnList.ts +0 -98
- package/models/PaginatedOrgList.ts +0 -98
- package/models/PaginatedSiteList.ts +0 -98
- package/models/PaginatedTeamList.ts +0 -98
- package/models/PaperSignature.ts +0 -74
- package/models/PatchedEmployee.ts +0 -118
- package/models/PatchedInvitation.ts +0 -112
- package/models/PatchedProfile.ts +0 -79
- package/models/PatchedRcrainfoProfile.ts +0 -119
- package/models/PatchedTeam.ts +0 -143
- package/models/Price.ts +0 -106
- package/models/Profile.ts +0 -80
- package/models/QuickerSign.ts +0 -108
- package/models/RcraAddress.ts +0 -113
- package/models/RcraContact.ts +0 -112
- package/models/RcraPhone.ts +0 -73
- package/models/RcraSite.ts +0 -200
- package/models/RcraSitePermission.ts +0 -121
- package/models/RcraSiteSiteTypeEnum.ts +0 -57
- package/models/RcrainfoProfile.ts +0 -120
- package/models/RoleEnum.ts +0 -53
- package/models/Signer.ts +0 -136
- package/models/Site.ts +0 -81
- package/models/SiteManifestSyncRequest.ts +0 -65
- package/models/SiteManifestSyncResponse.ts +0 -65
- package/models/StatusC23Enum.ts +0 -67
- package/models/StatusEnum.ts +0 -63
- package/models/Subscription.ts +0 -168
- package/models/SubscriptionItem.ts +0 -90
- package/models/SubscriptionStatusEnum.ts +0 -63
- package/models/Team.ts +0 -151
- package/models/TrakUser.ts +0 -106
- package/models/Transporter.ts +0 -120
- package/models/UserInvitationsResponse.ts +0 -73
- package/models/WasteLine.ts +0 -157
- package/runtime.ts +0 -432
|
@@ -0,0 +1,861 @@
|
|
|
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, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
|
+
/**
|
|
30
|
+
* ManifestApi - axios parameter creator
|
|
31
|
+
*/
|
|
32
|
+
export const ManifestApiAxiosParamCreator = function (configuration) {
|
|
33
|
+
return {
|
|
34
|
+
/**
|
|
35
|
+
* Create a hazardous waste manifest.
|
|
36
|
+
* @param {Manifest} manifest
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
manifestCreate: (manifest_1, ...args_1) => __awaiter(this, [manifest_1, ...args_1], void 0, function* (manifest, options = {}) {
|
|
41
|
+
// verify required parameter 'manifest' is not null or undefined
|
|
42
|
+
assertParamExists('manifestCreate', 'manifest', manifest);
|
|
43
|
+
const localVarPath = `/api/v1/manifest`;
|
|
44
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
46
|
+
let baseOptions;
|
|
47
|
+
if (configuration) {
|
|
48
|
+
baseOptions = configuration.baseOptions;
|
|
49
|
+
}
|
|
50
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
51
|
+
const localVarHeaderParameter = {};
|
|
52
|
+
const localVarQueryParameter = {};
|
|
53
|
+
// authentication cookieAuth required
|
|
54
|
+
// authentication ApiKeyAuth required
|
|
55
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
56
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
57
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
58
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
59
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
60
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
61
|
+
localVarRequestOptions.data = serializeDataIfNeeded(manifest, localVarRequestOptions, configuration);
|
|
62
|
+
return {
|
|
63
|
+
url: toPathString(localVarUrlObj),
|
|
64
|
+
options: localVarRequestOptions,
|
|
65
|
+
};
|
|
66
|
+
}),
|
|
67
|
+
/**
|
|
68
|
+
* Electronic Manifest Save View.
|
|
69
|
+
* @param {Manifest} manifest
|
|
70
|
+
* @param {*} [options] Override http request option.
|
|
71
|
+
* @throws {RequiredError}
|
|
72
|
+
*/
|
|
73
|
+
manifestEmanifestCreate: (manifest_1, ...args_1) => __awaiter(this, [manifest_1, ...args_1], void 0, function* (manifest, options = {}) {
|
|
74
|
+
// verify required parameter 'manifest' is not null or undefined
|
|
75
|
+
assertParamExists('manifestEmanifestCreate', 'manifest', manifest);
|
|
76
|
+
const localVarPath = `/api/v1/manifest/emanifest`;
|
|
77
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
78
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
79
|
+
let baseOptions;
|
|
80
|
+
if (configuration) {
|
|
81
|
+
baseOptions = configuration.baseOptions;
|
|
82
|
+
}
|
|
83
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
84
|
+
const localVarHeaderParameter = {};
|
|
85
|
+
const localVarQueryParameter = {};
|
|
86
|
+
// authentication cookieAuth required
|
|
87
|
+
// authentication ApiKeyAuth required
|
|
88
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
89
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
90
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
91
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
92
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
93
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
94
|
+
localVarRequestOptions.data = serializeDataIfNeeded(manifest, localVarRequestOptions, configuration);
|
|
95
|
+
return {
|
|
96
|
+
url: toPathString(localVarUrlObj),
|
|
97
|
+
options: localVarRequestOptions,
|
|
98
|
+
};
|
|
99
|
+
}),
|
|
100
|
+
/**
|
|
101
|
+
* Electronic Manifest Sign View. Accepts a Quicker Sign JSON object in the request body, parses the request data, and passes data to a celery async task.
|
|
102
|
+
* @param {QuickerSign} quickerSign
|
|
103
|
+
* @param {*} [options] Override http request option.
|
|
104
|
+
* @throws {RequiredError}
|
|
105
|
+
*/
|
|
106
|
+
manifestEmanifestSignCreate: (quickerSign_1, ...args_1) => __awaiter(this, [quickerSign_1, ...args_1], void 0, function* (quickerSign, options = {}) {
|
|
107
|
+
// verify required parameter 'quickerSign' is not null or undefined
|
|
108
|
+
assertParamExists('manifestEmanifestSignCreate', 'quickerSign', quickerSign);
|
|
109
|
+
const localVarPath = `/api/v1/manifest/emanifest/sign`;
|
|
110
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
111
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
112
|
+
let baseOptions;
|
|
113
|
+
if (configuration) {
|
|
114
|
+
baseOptions = configuration.baseOptions;
|
|
115
|
+
}
|
|
116
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
117
|
+
const localVarHeaderParameter = {};
|
|
118
|
+
const localVarQueryParameter = {};
|
|
119
|
+
// authentication cookieAuth required
|
|
120
|
+
// authentication ApiKeyAuth required
|
|
121
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
122
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
123
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
124
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
125
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
126
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
127
|
+
localVarRequestOptions.data = serializeDataIfNeeded(quickerSign, localVarRequestOptions, configuration);
|
|
128
|
+
return {
|
|
129
|
+
url: toPathString(localVarUrlObj),
|
|
130
|
+
options: localVarRequestOptions,
|
|
131
|
+
};
|
|
132
|
+
}),
|
|
133
|
+
/**
|
|
134
|
+
* Sync a site\'s manifests with RCRAInfo.
|
|
135
|
+
* @param {SiteManifestSyncRequest} siteManifestSyncRequest
|
|
136
|
+
* @param {*} [options] Override http request option.
|
|
137
|
+
* @throws {RequiredError}
|
|
138
|
+
*/
|
|
139
|
+
manifestEmanifestSyncCreate: (siteManifestSyncRequest_1, ...args_1) => __awaiter(this, [siteManifestSyncRequest_1, ...args_1], void 0, function* (siteManifestSyncRequest, options = {}) {
|
|
140
|
+
// verify required parameter 'siteManifestSyncRequest' is not null or undefined
|
|
141
|
+
assertParamExists('manifestEmanifestSyncCreate', 'siteManifestSyncRequest', siteManifestSyncRequest);
|
|
142
|
+
const localVarPath = `/api/v1/manifest/emanifest/sync`;
|
|
143
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
144
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
145
|
+
let baseOptions;
|
|
146
|
+
if (configuration) {
|
|
147
|
+
baseOptions = configuration.baseOptions;
|
|
148
|
+
}
|
|
149
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
150
|
+
const localVarHeaderParameter = {};
|
|
151
|
+
const localVarQueryParameter = {};
|
|
152
|
+
// authentication cookieAuth required
|
|
153
|
+
// authentication ApiKeyAuth required
|
|
154
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
155
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
156
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
157
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
158
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
159
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
160
|
+
localVarRequestOptions.data = serializeDataIfNeeded(siteManifestSyncRequest, localVarRequestOptions, configuration);
|
|
161
|
+
return {
|
|
162
|
+
url: toPathString(localVarUrlObj),
|
|
163
|
+
options: localVarRequestOptions,
|
|
164
|
+
};
|
|
165
|
+
}),
|
|
166
|
+
/**
|
|
167
|
+
* List of manifest tracking numbers and select details. Filter by EPA ID and site type.
|
|
168
|
+
* @param {number} [page] A page number within the paginated result set.
|
|
169
|
+
* @param {*} [options] Override http request option.
|
|
170
|
+
* @throws {RequiredError}
|
|
171
|
+
*/
|
|
172
|
+
manifestMtnList: (page_1, ...args_1) => __awaiter(this, [page_1, ...args_1], void 0, function* (page, options = {}) {
|
|
173
|
+
const localVarPath = `/api/v1/manifest/mtn`;
|
|
174
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
175
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
176
|
+
let baseOptions;
|
|
177
|
+
if (configuration) {
|
|
178
|
+
baseOptions = configuration.baseOptions;
|
|
179
|
+
}
|
|
180
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
181
|
+
const localVarHeaderParameter = {};
|
|
182
|
+
const localVarQueryParameter = {};
|
|
183
|
+
// authentication cookieAuth required
|
|
184
|
+
// authentication ApiKeyAuth required
|
|
185
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
186
|
+
if (page !== undefined) {
|
|
187
|
+
localVarQueryParameter['page'] = page;
|
|
188
|
+
}
|
|
189
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
190
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
191
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
192
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
193
|
+
return {
|
|
194
|
+
url: toPathString(localVarUrlObj),
|
|
195
|
+
options: localVarRequestOptions,
|
|
196
|
+
};
|
|
197
|
+
}),
|
|
198
|
+
/**
|
|
199
|
+
* List of manifest tracking numbers and select details. Filter by EPA ID and site type.
|
|
200
|
+
* @param {string} epaId
|
|
201
|
+
* @param {number} [page] A page number within the paginated result set.
|
|
202
|
+
* @param {*} [options] Override http request option.
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
*/
|
|
205
|
+
manifestMtnList2: (epaId_1, page_1, ...args_1) => __awaiter(this, [epaId_1, page_1, ...args_1], void 0, function* (epaId, page, options = {}) {
|
|
206
|
+
// verify required parameter 'epaId' is not null or undefined
|
|
207
|
+
assertParamExists('manifestMtnList2', 'epaId', epaId);
|
|
208
|
+
const localVarPath = `/api/v1/manifest/mtn/{epa_id}`
|
|
209
|
+
.replace(`{${"epa_id"}}`, encodeURIComponent(String(epaId)));
|
|
210
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
211
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
212
|
+
let baseOptions;
|
|
213
|
+
if (configuration) {
|
|
214
|
+
baseOptions = configuration.baseOptions;
|
|
215
|
+
}
|
|
216
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
217
|
+
const localVarHeaderParameter = {};
|
|
218
|
+
const localVarQueryParameter = {};
|
|
219
|
+
// authentication cookieAuth required
|
|
220
|
+
// authentication ApiKeyAuth required
|
|
221
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
222
|
+
if (page !== undefined) {
|
|
223
|
+
localVarQueryParameter['page'] = page;
|
|
224
|
+
}
|
|
225
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
226
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
227
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
228
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
229
|
+
return {
|
|
230
|
+
url: toPathString(localVarUrlObj),
|
|
231
|
+
options: localVarRequestOptions,
|
|
232
|
+
};
|
|
233
|
+
}),
|
|
234
|
+
/**
|
|
235
|
+
* List of manifest tracking numbers and select details. Filter by EPA ID and site type.
|
|
236
|
+
* @param {string} epaId
|
|
237
|
+
* @param {string} siteType
|
|
238
|
+
* @param {number} [page] A page number within the paginated result set.
|
|
239
|
+
* @param {*} [options] Override http request option.
|
|
240
|
+
* @throws {RequiredError}
|
|
241
|
+
*/
|
|
242
|
+
manifestMtnList3: (epaId_1, siteType_1, page_1, ...args_1) => __awaiter(this, [epaId_1, siteType_1, page_1, ...args_1], void 0, function* (epaId, siteType, page, options = {}) {
|
|
243
|
+
// verify required parameter 'epaId' is not null or undefined
|
|
244
|
+
assertParamExists('manifestMtnList3', 'epaId', epaId);
|
|
245
|
+
// verify required parameter 'siteType' is not null or undefined
|
|
246
|
+
assertParamExists('manifestMtnList3', 'siteType', siteType);
|
|
247
|
+
const localVarPath = `/api/v1/manifest/mtn/{epa_id}/{site_type}`
|
|
248
|
+
.replace(`{${"epa_id"}}`, encodeURIComponent(String(epaId)))
|
|
249
|
+
.replace(`{${"site_type"}}`, encodeURIComponent(String(siteType)));
|
|
250
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
251
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
252
|
+
let baseOptions;
|
|
253
|
+
if (configuration) {
|
|
254
|
+
baseOptions = configuration.baseOptions;
|
|
255
|
+
}
|
|
256
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
257
|
+
const localVarHeaderParameter = {};
|
|
258
|
+
const localVarQueryParameter = {};
|
|
259
|
+
// authentication cookieAuth required
|
|
260
|
+
// authentication ApiKeyAuth required
|
|
261
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
262
|
+
if (page !== undefined) {
|
|
263
|
+
localVarQueryParameter['page'] = page;
|
|
264
|
+
}
|
|
265
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
266
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
267
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
268
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
269
|
+
return {
|
|
270
|
+
url: toPathString(localVarUrlObj),
|
|
271
|
+
options: localVarRequestOptions,
|
|
272
|
+
};
|
|
273
|
+
}),
|
|
274
|
+
/**
|
|
275
|
+
* Retrieve a hazardous waste manifest.
|
|
276
|
+
* @param {string} mtn
|
|
277
|
+
* @param {*} [options] Override http request option.
|
|
278
|
+
* @throws {RequiredError}
|
|
279
|
+
*/
|
|
280
|
+
manifestRetrieve: (mtn_1, ...args_1) => __awaiter(this, [mtn_1, ...args_1], void 0, function* (mtn, options = {}) {
|
|
281
|
+
// verify required parameter 'mtn' is not null or undefined
|
|
282
|
+
assertParamExists('manifestRetrieve', 'mtn', mtn);
|
|
283
|
+
const localVarPath = `/api/v1/manifest/{mtn}`
|
|
284
|
+
.replace(`{${"mtn"}}`, encodeURIComponent(String(mtn)));
|
|
285
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
286
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
287
|
+
let baseOptions;
|
|
288
|
+
if (configuration) {
|
|
289
|
+
baseOptions = configuration.baseOptions;
|
|
290
|
+
}
|
|
291
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
292
|
+
const localVarHeaderParameter = {};
|
|
293
|
+
const localVarQueryParameter = {};
|
|
294
|
+
// authentication cookieAuth required
|
|
295
|
+
// authentication ApiKeyAuth required
|
|
296
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
297
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
298
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
299
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
300
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
301
|
+
return {
|
|
302
|
+
url: toPathString(localVarUrlObj),
|
|
303
|
+
options: localVarRequestOptions,
|
|
304
|
+
};
|
|
305
|
+
}),
|
|
306
|
+
/**
|
|
307
|
+
* Update a hazardous waste manifest.
|
|
308
|
+
* @param {string} mtn
|
|
309
|
+
* @param {Manifest} manifest
|
|
310
|
+
* @param {*} [options] Override http request option.
|
|
311
|
+
* @throws {RequiredError}
|
|
312
|
+
*/
|
|
313
|
+
manifestUpdate: (mtn_1, manifest_1, ...args_1) => __awaiter(this, [mtn_1, manifest_1, ...args_1], void 0, function* (mtn, manifest, options = {}) {
|
|
314
|
+
// verify required parameter 'mtn' is not null or undefined
|
|
315
|
+
assertParamExists('manifestUpdate', 'mtn', mtn);
|
|
316
|
+
// verify required parameter 'manifest' is not null or undefined
|
|
317
|
+
assertParamExists('manifestUpdate', 'manifest', manifest);
|
|
318
|
+
const localVarPath = `/api/v1/manifest/{mtn}`
|
|
319
|
+
.replace(`{${"mtn"}}`, encodeURIComponent(String(mtn)));
|
|
320
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
321
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
322
|
+
let baseOptions;
|
|
323
|
+
if (configuration) {
|
|
324
|
+
baseOptions = configuration.baseOptions;
|
|
325
|
+
}
|
|
326
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
327
|
+
const localVarHeaderParameter = {};
|
|
328
|
+
const localVarQueryParameter = {};
|
|
329
|
+
// authentication cookieAuth required
|
|
330
|
+
// authentication ApiKeyAuth required
|
|
331
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
332
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
333
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
334
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
335
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
336
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
337
|
+
localVarRequestOptions.data = serializeDataIfNeeded(manifest, localVarRequestOptions, configuration);
|
|
338
|
+
return {
|
|
339
|
+
url: toPathString(localVarUrlObj),
|
|
340
|
+
options: localVarRequestOptions,
|
|
341
|
+
};
|
|
342
|
+
}),
|
|
343
|
+
/**
|
|
344
|
+
* Return a list of DOT Hazard classes, optionally filtered by a query parameter.
|
|
345
|
+
* @param {string} [q] Query
|
|
346
|
+
* @param {*} [options] Override http request option.
|
|
347
|
+
* @throws {RequiredError}
|
|
348
|
+
*/
|
|
349
|
+
manifestWastelineDotClassRetrieve: (q_1, ...args_1) => __awaiter(this, [q_1, ...args_1], void 0, function* (q, options = {}) {
|
|
350
|
+
const localVarPath = `/api/v1/manifest/wasteline/dot/class`;
|
|
351
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
352
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
353
|
+
let baseOptions;
|
|
354
|
+
if (configuration) {
|
|
355
|
+
baseOptions = configuration.baseOptions;
|
|
356
|
+
}
|
|
357
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
358
|
+
const localVarHeaderParameter = {};
|
|
359
|
+
const localVarQueryParameter = {};
|
|
360
|
+
// authentication cookieAuth required
|
|
361
|
+
// authentication ApiKeyAuth required
|
|
362
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
363
|
+
if (q !== undefined) {
|
|
364
|
+
localVarQueryParameter['q'] = q;
|
|
365
|
+
}
|
|
366
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
367
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
368
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
369
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
370
|
+
return {
|
|
371
|
+
url: toPathString(localVarUrlObj),
|
|
372
|
+
options: localVarRequestOptions,
|
|
373
|
+
};
|
|
374
|
+
}),
|
|
375
|
+
/**
|
|
376
|
+
* Return a list of DOT ID numbers, optionally filtered by a query parameter.
|
|
377
|
+
* @param {string} [q] Query
|
|
378
|
+
* @param {*} [options] Override http request option.
|
|
379
|
+
* @throws {RequiredError}
|
|
380
|
+
*/
|
|
381
|
+
manifestWastelineDotIdRetrieve: (q_1, ...args_1) => __awaiter(this, [q_1, ...args_1], void 0, function* (q, options = {}) {
|
|
382
|
+
const localVarPath = `/api/v1/manifest/wasteline/dot/id`;
|
|
383
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
384
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
385
|
+
let baseOptions;
|
|
386
|
+
if (configuration) {
|
|
387
|
+
baseOptions = configuration.baseOptions;
|
|
388
|
+
}
|
|
389
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
390
|
+
const localVarHeaderParameter = {};
|
|
391
|
+
const localVarQueryParameter = {};
|
|
392
|
+
// authentication cookieAuth required
|
|
393
|
+
// authentication ApiKeyAuth required
|
|
394
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
395
|
+
if (q !== undefined) {
|
|
396
|
+
localVarQueryParameter['q'] = q;
|
|
397
|
+
}
|
|
398
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
399
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
400
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
401
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
402
|
+
return {
|
|
403
|
+
url: toPathString(localVarUrlObj),
|
|
404
|
+
options: localVarRequestOptions,
|
|
405
|
+
};
|
|
406
|
+
}),
|
|
407
|
+
/**
|
|
408
|
+
* Return a list of DOT Proper Shipping Names, optionally filtered by a query parameter.
|
|
409
|
+
* @param {string} [q] Query
|
|
410
|
+
* @param {*} [options] Override http request option.
|
|
411
|
+
* @throws {RequiredError}
|
|
412
|
+
*/
|
|
413
|
+
manifestWastelineDotNameRetrieve: (q_1, ...args_1) => __awaiter(this, [q_1, ...args_1], void 0, function* (q, options = {}) {
|
|
414
|
+
const localVarPath = `/api/v1/manifest/wasteline/dot/name`;
|
|
415
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
416
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
417
|
+
let baseOptions;
|
|
418
|
+
if (configuration) {
|
|
419
|
+
baseOptions = configuration.baseOptions;
|
|
420
|
+
}
|
|
421
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
422
|
+
const localVarHeaderParameter = {};
|
|
423
|
+
const localVarQueryParameter = {};
|
|
424
|
+
// authentication cookieAuth required
|
|
425
|
+
// authentication ApiKeyAuth required
|
|
426
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
427
|
+
if (q !== undefined) {
|
|
428
|
+
localVarQueryParameter['q'] = q;
|
|
429
|
+
}
|
|
430
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
431
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
432
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
433
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
434
|
+
return {
|
|
435
|
+
url: toPathString(localVarUrlObj),
|
|
436
|
+
options: localVarRequestOptions,
|
|
437
|
+
};
|
|
438
|
+
}),
|
|
439
|
+
};
|
|
440
|
+
};
|
|
441
|
+
/**
|
|
442
|
+
* ManifestApi - functional programming interface
|
|
443
|
+
*/
|
|
444
|
+
export const ManifestApiFp = function (configuration) {
|
|
445
|
+
const localVarAxiosParamCreator = ManifestApiAxiosParamCreator(configuration);
|
|
446
|
+
return {
|
|
447
|
+
/**
|
|
448
|
+
* Create a hazardous waste manifest.
|
|
449
|
+
* @param {Manifest} manifest
|
|
450
|
+
* @param {*} [options] Override http request option.
|
|
451
|
+
* @throws {RequiredError}
|
|
452
|
+
*/
|
|
453
|
+
manifestCreate(manifest, options) {
|
|
454
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
455
|
+
var _a, _b, _c;
|
|
456
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.manifestCreate(manifest, options);
|
|
457
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
458
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ManifestApi.manifestCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
459
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
460
|
+
});
|
|
461
|
+
},
|
|
462
|
+
/**
|
|
463
|
+
* Electronic Manifest Save View.
|
|
464
|
+
* @param {Manifest} manifest
|
|
465
|
+
* @param {*} [options] Override http request option.
|
|
466
|
+
* @throws {RequiredError}
|
|
467
|
+
*/
|
|
468
|
+
manifestEmanifestCreate(manifest, options) {
|
|
469
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
470
|
+
var _a, _b, _c;
|
|
471
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.manifestEmanifestCreate(manifest, options);
|
|
472
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
473
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ManifestApi.manifestEmanifestCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
474
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
475
|
+
});
|
|
476
|
+
},
|
|
477
|
+
/**
|
|
478
|
+
* Electronic Manifest Sign View. Accepts a Quicker Sign JSON object in the request body, parses the request data, and passes data to a celery async task.
|
|
479
|
+
* @param {QuickerSign} quickerSign
|
|
480
|
+
* @param {*} [options] Override http request option.
|
|
481
|
+
* @throws {RequiredError}
|
|
482
|
+
*/
|
|
483
|
+
manifestEmanifestSignCreate(quickerSign, options) {
|
|
484
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
485
|
+
var _a, _b, _c;
|
|
486
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.manifestEmanifestSignCreate(quickerSign, options);
|
|
487
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
488
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ManifestApi.manifestEmanifestSignCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
489
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
490
|
+
});
|
|
491
|
+
},
|
|
492
|
+
/**
|
|
493
|
+
* Sync a site\'s manifests with RCRAInfo.
|
|
494
|
+
* @param {SiteManifestSyncRequest} siteManifestSyncRequest
|
|
495
|
+
* @param {*} [options] Override http request option.
|
|
496
|
+
* @throws {RequiredError}
|
|
497
|
+
*/
|
|
498
|
+
manifestEmanifestSyncCreate(siteManifestSyncRequest, options) {
|
|
499
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
500
|
+
var _a, _b, _c;
|
|
501
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.manifestEmanifestSyncCreate(siteManifestSyncRequest, options);
|
|
502
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
503
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ManifestApi.manifestEmanifestSyncCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
504
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
505
|
+
});
|
|
506
|
+
},
|
|
507
|
+
/**
|
|
508
|
+
* List of manifest tracking numbers and select details. Filter by EPA ID and site type.
|
|
509
|
+
* @param {number} [page] A page number within the paginated result set.
|
|
510
|
+
* @param {*} [options] Override http request option.
|
|
511
|
+
* @throws {RequiredError}
|
|
512
|
+
*/
|
|
513
|
+
manifestMtnList(page, options) {
|
|
514
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
515
|
+
var _a, _b, _c;
|
|
516
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.manifestMtnList(page, options);
|
|
517
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
518
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ManifestApi.manifestMtnList']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
519
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
520
|
+
});
|
|
521
|
+
},
|
|
522
|
+
/**
|
|
523
|
+
* List of manifest tracking numbers and select details. Filter by EPA ID and site type.
|
|
524
|
+
* @param {string} epaId
|
|
525
|
+
* @param {number} [page] A page number within the paginated result set.
|
|
526
|
+
* @param {*} [options] Override http request option.
|
|
527
|
+
* @throws {RequiredError}
|
|
528
|
+
*/
|
|
529
|
+
manifestMtnList2(epaId, page, options) {
|
|
530
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
531
|
+
var _a, _b, _c;
|
|
532
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.manifestMtnList2(epaId, page, options);
|
|
533
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
534
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ManifestApi.manifestMtnList2']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
535
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
536
|
+
});
|
|
537
|
+
},
|
|
538
|
+
/**
|
|
539
|
+
* List of manifest tracking numbers and select details. Filter by EPA ID and site type.
|
|
540
|
+
* @param {string} epaId
|
|
541
|
+
* @param {string} siteType
|
|
542
|
+
* @param {number} [page] A page number within the paginated result set.
|
|
543
|
+
* @param {*} [options] Override http request option.
|
|
544
|
+
* @throws {RequiredError}
|
|
545
|
+
*/
|
|
546
|
+
manifestMtnList3(epaId, siteType, page, options) {
|
|
547
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
548
|
+
var _a, _b, _c;
|
|
549
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.manifestMtnList3(epaId, siteType, page, options);
|
|
550
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
551
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ManifestApi.manifestMtnList3']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
552
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
553
|
+
});
|
|
554
|
+
},
|
|
555
|
+
/**
|
|
556
|
+
* Retrieve a hazardous waste manifest.
|
|
557
|
+
* @param {string} mtn
|
|
558
|
+
* @param {*} [options] Override http request option.
|
|
559
|
+
* @throws {RequiredError}
|
|
560
|
+
*/
|
|
561
|
+
manifestRetrieve(mtn, options) {
|
|
562
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
563
|
+
var _a, _b, _c;
|
|
564
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.manifestRetrieve(mtn, options);
|
|
565
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
566
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ManifestApi.manifestRetrieve']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
567
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
568
|
+
});
|
|
569
|
+
},
|
|
570
|
+
/**
|
|
571
|
+
* Update a hazardous waste manifest.
|
|
572
|
+
* @param {string} mtn
|
|
573
|
+
* @param {Manifest} manifest
|
|
574
|
+
* @param {*} [options] Override http request option.
|
|
575
|
+
* @throws {RequiredError}
|
|
576
|
+
*/
|
|
577
|
+
manifestUpdate(mtn, manifest, options) {
|
|
578
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
579
|
+
var _a, _b, _c;
|
|
580
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.manifestUpdate(mtn, manifest, options);
|
|
581
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
582
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ManifestApi.manifestUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
583
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
584
|
+
});
|
|
585
|
+
},
|
|
586
|
+
/**
|
|
587
|
+
* Return a list of DOT Hazard classes, optionally filtered by a query parameter.
|
|
588
|
+
* @param {string} [q] Query
|
|
589
|
+
* @param {*} [options] Override http request option.
|
|
590
|
+
* @throws {RequiredError}
|
|
591
|
+
*/
|
|
592
|
+
manifestWastelineDotClassRetrieve(q, options) {
|
|
593
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
594
|
+
var _a, _b, _c;
|
|
595
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.manifestWastelineDotClassRetrieve(q, options);
|
|
596
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
597
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ManifestApi.manifestWastelineDotClassRetrieve']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
598
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
599
|
+
});
|
|
600
|
+
},
|
|
601
|
+
/**
|
|
602
|
+
* Return a list of DOT ID numbers, optionally filtered by a query parameter.
|
|
603
|
+
* @param {string} [q] Query
|
|
604
|
+
* @param {*} [options] Override http request option.
|
|
605
|
+
* @throws {RequiredError}
|
|
606
|
+
*/
|
|
607
|
+
manifestWastelineDotIdRetrieve(q, options) {
|
|
608
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
609
|
+
var _a, _b, _c;
|
|
610
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.manifestWastelineDotIdRetrieve(q, options);
|
|
611
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
612
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ManifestApi.manifestWastelineDotIdRetrieve']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
613
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
614
|
+
});
|
|
615
|
+
},
|
|
616
|
+
/**
|
|
617
|
+
* Return a list of DOT Proper Shipping Names, optionally filtered by a query parameter.
|
|
618
|
+
* @param {string} [q] Query
|
|
619
|
+
* @param {*} [options] Override http request option.
|
|
620
|
+
* @throws {RequiredError}
|
|
621
|
+
*/
|
|
622
|
+
manifestWastelineDotNameRetrieve(q, options) {
|
|
623
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
624
|
+
var _a, _b, _c;
|
|
625
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.manifestWastelineDotNameRetrieve(q, options);
|
|
626
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
627
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ManifestApi.manifestWastelineDotNameRetrieve']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
628
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
629
|
+
});
|
|
630
|
+
},
|
|
631
|
+
};
|
|
632
|
+
};
|
|
633
|
+
/**
|
|
634
|
+
* ManifestApi - factory interface
|
|
635
|
+
*/
|
|
636
|
+
export const ManifestApiFactory = function (configuration, basePath, axios) {
|
|
637
|
+
const localVarFp = ManifestApiFp(configuration);
|
|
638
|
+
return {
|
|
639
|
+
/**
|
|
640
|
+
* Create a hazardous waste manifest.
|
|
641
|
+
* @param {ManifestApiManifestCreateRequest} requestParameters Request parameters.
|
|
642
|
+
* @param {*} [options] Override http request option.
|
|
643
|
+
* @throws {RequiredError}
|
|
644
|
+
*/
|
|
645
|
+
manifestCreate(requestParameters, options) {
|
|
646
|
+
return localVarFp.manifestCreate(requestParameters.manifest, options).then((request) => request(axios, basePath));
|
|
647
|
+
},
|
|
648
|
+
/**
|
|
649
|
+
* Electronic Manifest Save View.
|
|
650
|
+
* @param {ManifestApiManifestEmanifestCreateRequest} requestParameters Request parameters.
|
|
651
|
+
* @param {*} [options] Override http request option.
|
|
652
|
+
* @throws {RequiredError}
|
|
653
|
+
*/
|
|
654
|
+
manifestEmanifestCreate(requestParameters, options) {
|
|
655
|
+
return localVarFp.manifestEmanifestCreate(requestParameters.manifest, options).then((request) => request(axios, basePath));
|
|
656
|
+
},
|
|
657
|
+
/**
|
|
658
|
+
* Electronic Manifest Sign View. Accepts a Quicker Sign JSON object in the request body, parses the request data, and passes data to a celery async task.
|
|
659
|
+
* @param {ManifestApiManifestEmanifestSignCreateRequest} requestParameters Request parameters.
|
|
660
|
+
* @param {*} [options] Override http request option.
|
|
661
|
+
* @throws {RequiredError}
|
|
662
|
+
*/
|
|
663
|
+
manifestEmanifestSignCreate(requestParameters, options) {
|
|
664
|
+
return localVarFp.manifestEmanifestSignCreate(requestParameters.quickerSign, options).then((request) => request(axios, basePath));
|
|
665
|
+
},
|
|
666
|
+
/**
|
|
667
|
+
* Sync a site\'s manifests with RCRAInfo.
|
|
668
|
+
* @param {ManifestApiManifestEmanifestSyncCreateRequest} requestParameters Request parameters.
|
|
669
|
+
* @param {*} [options] Override http request option.
|
|
670
|
+
* @throws {RequiredError}
|
|
671
|
+
*/
|
|
672
|
+
manifestEmanifestSyncCreate(requestParameters, options) {
|
|
673
|
+
return localVarFp.manifestEmanifestSyncCreate(requestParameters.siteManifestSyncRequest, options).then((request) => request(axios, basePath));
|
|
674
|
+
},
|
|
675
|
+
/**
|
|
676
|
+
* List of manifest tracking numbers and select details. Filter by EPA ID and site type.
|
|
677
|
+
* @param {ManifestApiManifestMtnListRequest} requestParameters Request parameters.
|
|
678
|
+
* @param {*} [options] Override http request option.
|
|
679
|
+
* @throws {RequiredError}
|
|
680
|
+
*/
|
|
681
|
+
manifestMtnList(requestParameters = {}, options) {
|
|
682
|
+
return localVarFp.manifestMtnList(requestParameters.page, options).then((request) => request(axios, basePath));
|
|
683
|
+
},
|
|
684
|
+
/**
|
|
685
|
+
* List of manifest tracking numbers and select details. Filter by EPA ID and site type.
|
|
686
|
+
* @param {ManifestApiManifestMtnList2Request} requestParameters Request parameters.
|
|
687
|
+
* @param {*} [options] Override http request option.
|
|
688
|
+
* @throws {RequiredError}
|
|
689
|
+
*/
|
|
690
|
+
manifestMtnList2(requestParameters, options) {
|
|
691
|
+
return localVarFp.manifestMtnList2(requestParameters.epaId, requestParameters.page, options).then((request) => request(axios, basePath));
|
|
692
|
+
},
|
|
693
|
+
/**
|
|
694
|
+
* List of manifest tracking numbers and select details. Filter by EPA ID and site type.
|
|
695
|
+
* @param {ManifestApiManifestMtnList3Request} requestParameters Request parameters.
|
|
696
|
+
* @param {*} [options] Override http request option.
|
|
697
|
+
* @throws {RequiredError}
|
|
698
|
+
*/
|
|
699
|
+
manifestMtnList3(requestParameters, options) {
|
|
700
|
+
return localVarFp.manifestMtnList3(requestParameters.epaId, requestParameters.siteType, requestParameters.page, options).then((request) => request(axios, basePath));
|
|
701
|
+
},
|
|
702
|
+
/**
|
|
703
|
+
* Retrieve a hazardous waste manifest.
|
|
704
|
+
* @param {ManifestApiManifestRetrieveRequest} requestParameters Request parameters.
|
|
705
|
+
* @param {*} [options] Override http request option.
|
|
706
|
+
* @throws {RequiredError}
|
|
707
|
+
*/
|
|
708
|
+
manifestRetrieve(requestParameters, options) {
|
|
709
|
+
return localVarFp.manifestRetrieve(requestParameters.mtn, options).then((request) => request(axios, basePath));
|
|
710
|
+
},
|
|
711
|
+
/**
|
|
712
|
+
* Update a hazardous waste manifest.
|
|
713
|
+
* @param {ManifestApiManifestUpdateRequest} requestParameters Request parameters.
|
|
714
|
+
* @param {*} [options] Override http request option.
|
|
715
|
+
* @throws {RequiredError}
|
|
716
|
+
*/
|
|
717
|
+
manifestUpdate(requestParameters, options) {
|
|
718
|
+
return localVarFp.manifestUpdate(requestParameters.mtn, requestParameters.manifest, options).then((request) => request(axios, basePath));
|
|
719
|
+
},
|
|
720
|
+
/**
|
|
721
|
+
* Return a list of DOT Hazard classes, optionally filtered by a query parameter.
|
|
722
|
+
* @param {ManifestApiManifestWastelineDotClassRetrieveRequest} requestParameters Request parameters.
|
|
723
|
+
* @param {*} [options] Override http request option.
|
|
724
|
+
* @throws {RequiredError}
|
|
725
|
+
*/
|
|
726
|
+
manifestWastelineDotClassRetrieve(requestParameters = {}, options) {
|
|
727
|
+
return localVarFp.manifestWastelineDotClassRetrieve(requestParameters.q, options).then((request) => request(axios, basePath));
|
|
728
|
+
},
|
|
729
|
+
/**
|
|
730
|
+
* Return a list of DOT ID numbers, optionally filtered by a query parameter.
|
|
731
|
+
* @param {ManifestApiManifestWastelineDotIdRetrieveRequest} requestParameters Request parameters.
|
|
732
|
+
* @param {*} [options] Override http request option.
|
|
733
|
+
* @throws {RequiredError}
|
|
734
|
+
*/
|
|
735
|
+
manifestWastelineDotIdRetrieve(requestParameters = {}, options) {
|
|
736
|
+
return localVarFp.manifestWastelineDotIdRetrieve(requestParameters.q, options).then((request) => request(axios, basePath));
|
|
737
|
+
},
|
|
738
|
+
/**
|
|
739
|
+
* Return a list of DOT Proper Shipping Names, optionally filtered by a query parameter.
|
|
740
|
+
* @param {ManifestApiManifestWastelineDotNameRetrieveRequest} requestParameters Request parameters.
|
|
741
|
+
* @param {*} [options] Override http request option.
|
|
742
|
+
* @throws {RequiredError}
|
|
743
|
+
*/
|
|
744
|
+
manifestWastelineDotNameRetrieve(requestParameters = {}, options) {
|
|
745
|
+
return localVarFp.manifestWastelineDotNameRetrieve(requestParameters.q, options).then((request) => request(axios, basePath));
|
|
746
|
+
},
|
|
747
|
+
};
|
|
748
|
+
};
|
|
749
|
+
/**
|
|
750
|
+
* ManifestApi - object-oriented interface
|
|
751
|
+
*/
|
|
752
|
+
export class ManifestApi extends BaseAPI {
|
|
753
|
+
/**
|
|
754
|
+
* Create a hazardous waste manifest.
|
|
755
|
+
* @param {ManifestApiManifestCreateRequest} requestParameters Request parameters.
|
|
756
|
+
* @param {*} [options] Override http request option.
|
|
757
|
+
* @throws {RequiredError}
|
|
758
|
+
*/
|
|
759
|
+
manifestCreate(requestParameters, options) {
|
|
760
|
+
return ManifestApiFp(this.configuration).manifestCreate(requestParameters.manifest, options).then((request) => request(this.axios, this.basePath));
|
|
761
|
+
}
|
|
762
|
+
/**
|
|
763
|
+
* Electronic Manifest Save View.
|
|
764
|
+
* @param {ManifestApiManifestEmanifestCreateRequest} requestParameters Request parameters.
|
|
765
|
+
* @param {*} [options] Override http request option.
|
|
766
|
+
* @throws {RequiredError}
|
|
767
|
+
*/
|
|
768
|
+
manifestEmanifestCreate(requestParameters, options) {
|
|
769
|
+
return ManifestApiFp(this.configuration).manifestEmanifestCreate(requestParameters.manifest, options).then((request) => request(this.axios, this.basePath));
|
|
770
|
+
}
|
|
771
|
+
/**
|
|
772
|
+
* Electronic Manifest Sign View. Accepts a Quicker Sign JSON object in the request body, parses the request data, and passes data to a celery async task.
|
|
773
|
+
* @param {ManifestApiManifestEmanifestSignCreateRequest} requestParameters Request parameters.
|
|
774
|
+
* @param {*} [options] Override http request option.
|
|
775
|
+
* @throws {RequiredError}
|
|
776
|
+
*/
|
|
777
|
+
manifestEmanifestSignCreate(requestParameters, options) {
|
|
778
|
+
return ManifestApiFp(this.configuration).manifestEmanifestSignCreate(requestParameters.quickerSign, options).then((request) => request(this.axios, this.basePath));
|
|
779
|
+
}
|
|
780
|
+
/**
|
|
781
|
+
* Sync a site\'s manifests with RCRAInfo.
|
|
782
|
+
* @param {ManifestApiManifestEmanifestSyncCreateRequest} requestParameters Request parameters.
|
|
783
|
+
* @param {*} [options] Override http request option.
|
|
784
|
+
* @throws {RequiredError}
|
|
785
|
+
*/
|
|
786
|
+
manifestEmanifestSyncCreate(requestParameters, options) {
|
|
787
|
+
return ManifestApiFp(this.configuration).manifestEmanifestSyncCreate(requestParameters.siteManifestSyncRequest, options).then((request) => request(this.axios, this.basePath));
|
|
788
|
+
}
|
|
789
|
+
/**
|
|
790
|
+
* List of manifest tracking numbers and select details. Filter by EPA ID and site type.
|
|
791
|
+
* @param {ManifestApiManifestMtnListRequest} requestParameters Request parameters.
|
|
792
|
+
* @param {*} [options] Override http request option.
|
|
793
|
+
* @throws {RequiredError}
|
|
794
|
+
*/
|
|
795
|
+
manifestMtnList(requestParameters = {}, options) {
|
|
796
|
+
return ManifestApiFp(this.configuration).manifestMtnList(requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
797
|
+
}
|
|
798
|
+
/**
|
|
799
|
+
* List of manifest tracking numbers and select details. Filter by EPA ID and site type.
|
|
800
|
+
* @param {ManifestApiManifestMtnList2Request} requestParameters Request parameters.
|
|
801
|
+
* @param {*} [options] Override http request option.
|
|
802
|
+
* @throws {RequiredError}
|
|
803
|
+
*/
|
|
804
|
+
manifestMtnList2(requestParameters, options) {
|
|
805
|
+
return ManifestApiFp(this.configuration).manifestMtnList2(requestParameters.epaId, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
806
|
+
}
|
|
807
|
+
/**
|
|
808
|
+
* List of manifest tracking numbers and select details. Filter by EPA ID and site type.
|
|
809
|
+
* @param {ManifestApiManifestMtnList3Request} requestParameters Request parameters.
|
|
810
|
+
* @param {*} [options] Override http request option.
|
|
811
|
+
* @throws {RequiredError}
|
|
812
|
+
*/
|
|
813
|
+
manifestMtnList3(requestParameters, options) {
|
|
814
|
+
return ManifestApiFp(this.configuration).manifestMtnList3(requestParameters.epaId, requestParameters.siteType, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
815
|
+
}
|
|
816
|
+
/**
|
|
817
|
+
* Retrieve a hazardous waste manifest.
|
|
818
|
+
* @param {ManifestApiManifestRetrieveRequest} requestParameters Request parameters.
|
|
819
|
+
* @param {*} [options] Override http request option.
|
|
820
|
+
* @throws {RequiredError}
|
|
821
|
+
*/
|
|
822
|
+
manifestRetrieve(requestParameters, options) {
|
|
823
|
+
return ManifestApiFp(this.configuration).manifestRetrieve(requestParameters.mtn, options).then((request) => request(this.axios, this.basePath));
|
|
824
|
+
}
|
|
825
|
+
/**
|
|
826
|
+
* Update a hazardous waste manifest.
|
|
827
|
+
* @param {ManifestApiManifestUpdateRequest} requestParameters Request parameters.
|
|
828
|
+
* @param {*} [options] Override http request option.
|
|
829
|
+
* @throws {RequiredError}
|
|
830
|
+
*/
|
|
831
|
+
manifestUpdate(requestParameters, options) {
|
|
832
|
+
return ManifestApiFp(this.configuration).manifestUpdate(requestParameters.mtn, requestParameters.manifest, options).then((request) => request(this.axios, this.basePath));
|
|
833
|
+
}
|
|
834
|
+
/**
|
|
835
|
+
* Return a list of DOT Hazard classes, optionally filtered by a query parameter.
|
|
836
|
+
* @param {ManifestApiManifestWastelineDotClassRetrieveRequest} requestParameters Request parameters.
|
|
837
|
+
* @param {*} [options] Override http request option.
|
|
838
|
+
* @throws {RequiredError}
|
|
839
|
+
*/
|
|
840
|
+
manifestWastelineDotClassRetrieve(requestParameters = {}, options) {
|
|
841
|
+
return ManifestApiFp(this.configuration).manifestWastelineDotClassRetrieve(requestParameters.q, options).then((request) => request(this.axios, this.basePath));
|
|
842
|
+
}
|
|
843
|
+
/**
|
|
844
|
+
* Return a list of DOT ID numbers, optionally filtered by a query parameter.
|
|
845
|
+
* @param {ManifestApiManifestWastelineDotIdRetrieveRequest} requestParameters Request parameters.
|
|
846
|
+
* @param {*} [options] Override http request option.
|
|
847
|
+
* @throws {RequiredError}
|
|
848
|
+
*/
|
|
849
|
+
manifestWastelineDotIdRetrieve(requestParameters = {}, options) {
|
|
850
|
+
return ManifestApiFp(this.configuration).manifestWastelineDotIdRetrieve(requestParameters.q, options).then((request) => request(this.axios, this.basePath));
|
|
851
|
+
}
|
|
852
|
+
/**
|
|
853
|
+
* Return a list of DOT Proper Shipping Names, optionally filtered by a query parameter.
|
|
854
|
+
* @param {ManifestApiManifestWastelineDotNameRetrieveRequest} requestParameters Request parameters.
|
|
855
|
+
* @param {*} [options] Override http request option.
|
|
856
|
+
* @throws {RequiredError}
|
|
857
|
+
*/
|
|
858
|
+
manifestWastelineDotNameRetrieve(requestParameters = {}, options) {
|
|
859
|
+
return ManifestApiFp(this.configuration).manifestWastelineDotNameRetrieve(requestParameters.q, options).then((request) => request(this.axios, this.basePath));
|
|
860
|
+
}
|
|
861
|
+
}
|