@wastesentry/trak-client 0.1.0
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 +120 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/apis/DefaultApi.ts +176 -0
- package/apis/InfoApi.ts +80 -0
- package/apis/ManifestApi.ts +604 -0
- package/apis/MyProfileApi.ts +63 -0
- package/apis/OrgsApi.ts +172 -0
- package/apis/PegasusApi.ts +336 -0
- package/apis/ProfileApi.ts +229 -0
- package/apis/SiteApi.ts +108 -0
- package/apis/SitesApi.ts +119 -0
- package/apis/SyncApi.ts +55 -0
- package/apis/TeamsApi.ts +673 -0
- package/apis/index.ts +12 -0
- package/docs/AdditionalInfo.md +41 -0
- package/docs/DefaultApi.md +235 -0
- package/docs/ESignature.md +43 -0
- package/docs/Handler.md +41 -0
- package/docs/HandlerSearch.md +34 -0
- package/docs/HandlerSearchSiteTypeEnum.md +31 -0
- package/docs/InfoApi.md +81 -0
- package/docs/Invitation.md +42 -0
- package/docs/LockReasonEnum.md +31 -0
- package/docs/Manifest.md +93 -0
- package/docs/ManifestApi.md +907 -0
- package/docs/ManifestPhone.md +35 -0
- package/docs/Membership.md +42 -0
- package/docs/Mtn.md +39 -0
- package/docs/MyProfileApi.md +73 -0
- package/docs/NullEnum.md +30 -0
- package/docs/OpenInvitation.md +38 -0
- package/docs/Org.md +39 -0
- package/docs/OrgsApi.md +232 -0
- package/docs/PaginatedInvitationList.md +38 -0
- package/docs/PaginatedMtnList.md +38 -0
- package/docs/PaginatedOrgList.md +38 -0
- package/docs/PaginatedSiteList.md +38 -0
- package/docs/PaginatedTeamList.md +38 -0
- package/docs/PaperSignature.md +35 -0
- package/docs/PatchedInvitation.md +42 -0
- package/docs/PatchedProfile.md +35 -0
- package/docs/PatchedRcrainfoProfile.md +45 -0
- package/docs/PatchedTeam.md +48 -0
- package/docs/Price.md +42 -0
- package/docs/Profile.md +35 -0
- package/docs/ProfileApi.md +241 -0
- package/docs/QuickerSign.md +43 -0
- package/docs/RcraAddress.md +45 -0
- package/docs/RcraContact.md +43 -0
- package/docs/RcraPhone.md +35 -0
- package/docs/RcraSite.md +57 -0
- package/docs/RcraSitePermission.md +45 -0
- package/docs/RcraSiteSiteTypeEnum.md +31 -0
- package/docs/RcrainfoProfile.md +45 -0
- package/docs/RoleEnum.md +31 -0
- package/docs/Signer.md +49 -0
- package/docs/Site.md +35 -0
- package/docs/SiteApi.md +147 -0
- package/docs/SiteManifestSyncRequest.md +32 -0
- package/docs/SiteManifestSyncResponse.md +32 -0
- package/docs/SitesApi.md +155 -0
- package/docs/StatusC23Enum.md +31 -0
- package/docs/Subscription.md +51 -0
- package/docs/SubscriptionItem.md +36 -0
- package/docs/SubscriptionStatusEnum.md +31 -0
- package/docs/SyncApi.md +73 -0
- package/docs/Team.md +48 -0
- package/docs/TeamsApi.md +965 -0
- package/docs/TrakUser.md +43 -0
- package/docs/Transporter.md +41 -0
- package/docs/UserInvitationsResponse.md +32 -0
- package/docs/WasteLine.md +55 -0
- package/index.ts +5 -0
- package/models/AdditionalInfo.ts +96 -0
- package/models/AggregateEmployeeData.ts +83 -0
- package/models/DepartmentEnum.ts +59 -0
- package/models/ESignature.ts +112 -0
- package/models/Employee.ts +125 -0
- package/models/Handler.ts +126 -0
- package/models/HandlerSearch.ts +84 -0
- package/models/HandlerSearchSiteTypeEnum.ts +57 -0
- package/models/Invitation.ts +116 -0
- package/models/LockReasonEnum.ts +55 -0
- package/models/Manifest.ts +353 -0
- package/models/ManifestPhone.ts +73 -0
- package/models/Membership.ts +115 -0
- package/models/Mtn.ts +98 -0
- package/models/NullEnum.ts +50 -0
- package/models/OpenInvitation.ts +88 -0
- package/models/Org.ts +88 -0
- package/models/PaginatedEmployeeList.ts +98 -0
- package/models/PaginatedInvitationList.ts +98 -0
- package/models/PaginatedMtnList.ts +98 -0
- package/models/PaginatedOrgList.ts +98 -0
- package/models/PaginatedSiteList.ts +98 -0
- package/models/PaginatedTeamList.ts +98 -0
- package/models/PaperSignature.ts +74 -0
- package/models/PatchedEmployee.ts +118 -0
- package/models/PatchedInvitation.ts +112 -0
- package/models/PatchedProfile.ts +79 -0
- package/models/PatchedRcrainfoProfile.ts +119 -0
- package/models/PatchedTeam.ts +143 -0
- package/models/Price.ts +106 -0
- package/models/Profile.ts +80 -0
- package/models/QuickerSign.ts +108 -0
- package/models/RcraAddress.ts +113 -0
- package/models/RcraContact.ts +112 -0
- package/models/RcraPhone.ts +73 -0
- package/models/RcraSite.ts +200 -0
- package/models/RcraSitePermission.ts +121 -0
- package/models/RcraSiteSiteTypeEnum.ts +57 -0
- package/models/RcrainfoProfile.ts +120 -0
- package/models/RoleEnum.ts +53 -0
- package/models/Signer.ts +136 -0
- package/models/Site.ts +81 -0
- package/models/SiteManifestSyncRequest.ts +65 -0
- package/models/SiteManifestSyncResponse.ts +65 -0
- package/models/StatusC23Enum.ts +67 -0
- package/models/StatusEnum.ts +63 -0
- package/models/Subscription.ts +168 -0
- package/models/SubscriptionItem.ts +90 -0
- package/models/SubscriptionStatusEnum.ts +63 -0
- package/models/Team.ts +151 -0
- package/models/TrakUser.ts +106 -0
- package/models/Transporter.ts +120 -0
- package/models/UserInvitationsResponse.ts +73 -0
- package/models/WasteLine.ts +157 -0
- package/models/index.ts +50 -0
- package/package.json +17 -0
- package/runtime.ts +432 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
|
|
2
|
+
# AdditionalInfo
|
|
3
|
+
|
|
4
|
+
Additional Info serializer.
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`originalManifestTrackingNumbers` | any
|
|
11
|
+
`newManifestDestination` | string
|
|
12
|
+
`consentNumber` | string
|
|
13
|
+
`comments` | any
|
|
14
|
+
`handlingInstructions` | string
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import type { AdditionalInfo } from ''
|
|
20
|
+
|
|
21
|
+
// TODO: Update the object below with actual values
|
|
22
|
+
const example = {
|
|
23
|
+
"originalManifestTrackingNumbers": null,
|
|
24
|
+
"newManifestDestination": null,
|
|
25
|
+
"consentNumber": null,
|
|
26
|
+
"comments": null,
|
|
27
|
+
"handlingInstructions": null,
|
|
28
|
+
} satisfies AdditionalInfo
|
|
29
|
+
|
|
30
|
+
console.log(example)
|
|
31
|
+
|
|
32
|
+
// Convert the instance to a JSON string
|
|
33
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
34
|
+
console.log(exampleJSON)
|
|
35
|
+
|
|
36
|
+
// Parse the JSON string back to an object
|
|
37
|
+
const exampleParsed = JSON.parse(exampleJSON) as AdditionalInfo
|
|
38
|
+
console.log(exampleParsed)
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
# DefaultApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
| [**rootPartialUpdate**](DefaultApi.md#rootpartialupdate) | **PATCH** /api/v1/{username} | |
|
|
8
|
+
| [**rootRetrieve**](DefaultApi.md#rootretrieve) | **GET** /api/v1/{username} | |
|
|
9
|
+
| [**rootUpdate**](DefaultApi.md#rootupdate) | **PUT** /api/v1/{username} | |
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## rootPartialUpdate
|
|
14
|
+
|
|
15
|
+
> RcrainfoProfile rootPartialUpdate(username, patchedRcrainfoProfile)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
Responsible for Create/Update operations related to the user RcrainfoProfile. Maintains a user\'s RCRAInfo profile data. This info is necessary for actions that interface with RCRAInfo.
|
|
20
|
+
|
|
21
|
+
### Example
|
|
22
|
+
|
|
23
|
+
```ts
|
|
24
|
+
import {
|
|
25
|
+
Configuration,
|
|
26
|
+
DefaultApi,
|
|
27
|
+
} from '';
|
|
28
|
+
import type { RootPartialUpdateRequest } from '';
|
|
29
|
+
|
|
30
|
+
async function example() {
|
|
31
|
+
console.log("🚀 Testing SDK...");
|
|
32
|
+
const config = new Configuration({
|
|
33
|
+
// To configure API key authorization: cookieAuth
|
|
34
|
+
apiKey: "YOUR API KEY",
|
|
35
|
+
// To configure API key authorization: ApiKeyAuth
|
|
36
|
+
apiKey: "YOUR API KEY",
|
|
37
|
+
});
|
|
38
|
+
const api = new DefaultApi(config);
|
|
39
|
+
|
|
40
|
+
const body = {
|
|
41
|
+
// string
|
|
42
|
+
username: username_example,
|
|
43
|
+
// PatchedRcrainfoProfile (optional)
|
|
44
|
+
patchedRcrainfoProfile: ...,
|
|
45
|
+
} satisfies RootPartialUpdateRequest;
|
|
46
|
+
|
|
47
|
+
try {
|
|
48
|
+
const data = await api.rootPartialUpdate(body);
|
|
49
|
+
console.log(data);
|
|
50
|
+
} catch (error) {
|
|
51
|
+
console.error(error);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// Run the test
|
|
56
|
+
example().catch(console.error);
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### Parameters
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
| Name | Type | Description | Notes |
|
|
63
|
+
|------------- | ------------- | ------------- | -------------|
|
|
64
|
+
| **username** | `string` | | [Defaults to `undefined`] |
|
|
65
|
+
| **patchedRcrainfoProfile** | [PatchedRcrainfoProfile](PatchedRcrainfoProfile.md) | | [Optional] |
|
|
66
|
+
|
|
67
|
+
### Return type
|
|
68
|
+
|
|
69
|
+
[**RcrainfoProfile**](RcrainfoProfile.md)
|
|
70
|
+
|
|
71
|
+
### Authorization
|
|
72
|
+
|
|
73
|
+
[cookieAuth](../README.md#cookieAuth), [ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
74
|
+
|
|
75
|
+
### HTTP request headers
|
|
76
|
+
|
|
77
|
+
- **Content-Type**: `application/json`
|
|
78
|
+
- **Accept**: `application/json`
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
### HTTP response details
|
|
82
|
+
| Status code | Description | Response headers |
|
|
83
|
+
|-------------|-------------|------------------|
|
|
84
|
+
| **200** | | - |
|
|
85
|
+
|
|
86
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
## rootRetrieve
|
|
90
|
+
|
|
91
|
+
> RcrainfoProfile rootRetrieve(username)
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
Responsible for Create/Update operations related to the user RcrainfoProfile. Maintains a user\'s RCRAInfo profile data. This info is necessary for actions that interface with RCRAInfo.
|
|
96
|
+
|
|
97
|
+
### Example
|
|
98
|
+
|
|
99
|
+
```ts
|
|
100
|
+
import {
|
|
101
|
+
Configuration,
|
|
102
|
+
DefaultApi,
|
|
103
|
+
} from '';
|
|
104
|
+
import type { RootRetrieveRequest } from '';
|
|
105
|
+
|
|
106
|
+
async function example() {
|
|
107
|
+
console.log("🚀 Testing SDK...");
|
|
108
|
+
const config = new Configuration({
|
|
109
|
+
// To configure API key authorization: cookieAuth
|
|
110
|
+
apiKey: "YOUR API KEY",
|
|
111
|
+
// To configure API key authorization: ApiKeyAuth
|
|
112
|
+
apiKey: "YOUR API KEY",
|
|
113
|
+
});
|
|
114
|
+
const api = new DefaultApi(config);
|
|
115
|
+
|
|
116
|
+
const body = {
|
|
117
|
+
// string
|
|
118
|
+
username: username_example,
|
|
119
|
+
} satisfies RootRetrieveRequest;
|
|
120
|
+
|
|
121
|
+
try {
|
|
122
|
+
const data = await api.rootRetrieve(body);
|
|
123
|
+
console.log(data);
|
|
124
|
+
} catch (error) {
|
|
125
|
+
console.error(error);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
// Run the test
|
|
130
|
+
example().catch(console.error);
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
### Parameters
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
| Name | Type | Description | Notes |
|
|
137
|
+
|------------- | ------------- | ------------- | -------------|
|
|
138
|
+
| **username** | `string` | | [Defaults to `undefined`] |
|
|
139
|
+
|
|
140
|
+
### Return type
|
|
141
|
+
|
|
142
|
+
[**RcrainfoProfile**](RcrainfoProfile.md)
|
|
143
|
+
|
|
144
|
+
### Authorization
|
|
145
|
+
|
|
146
|
+
[cookieAuth](../README.md#cookieAuth), [ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
147
|
+
|
|
148
|
+
### HTTP request headers
|
|
149
|
+
|
|
150
|
+
- **Content-Type**: Not defined
|
|
151
|
+
- **Accept**: `application/json`
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
### HTTP response details
|
|
155
|
+
| Status code | Description | Response headers |
|
|
156
|
+
|-------------|-------------|------------------|
|
|
157
|
+
| **200** | | - |
|
|
158
|
+
|
|
159
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
## rootUpdate
|
|
163
|
+
|
|
164
|
+
> RcrainfoProfile rootUpdate(username, rcrainfoProfile)
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
Responsible for Create/Update operations related to the user RcrainfoProfile. Maintains a user\'s RCRAInfo profile data. This info is necessary for actions that interface with RCRAInfo.
|
|
169
|
+
|
|
170
|
+
### Example
|
|
171
|
+
|
|
172
|
+
```ts
|
|
173
|
+
import {
|
|
174
|
+
Configuration,
|
|
175
|
+
DefaultApi,
|
|
176
|
+
} from '';
|
|
177
|
+
import type { RootUpdateRequest } from '';
|
|
178
|
+
|
|
179
|
+
async function example() {
|
|
180
|
+
console.log("🚀 Testing SDK...");
|
|
181
|
+
const config = new Configuration({
|
|
182
|
+
// To configure API key authorization: cookieAuth
|
|
183
|
+
apiKey: "YOUR API KEY",
|
|
184
|
+
// To configure API key authorization: ApiKeyAuth
|
|
185
|
+
apiKey: "YOUR API KEY",
|
|
186
|
+
});
|
|
187
|
+
const api = new DefaultApi(config);
|
|
188
|
+
|
|
189
|
+
const body = {
|
|
190
|
+
// string
|
|
191
|
+
username: username_example,
|
|
192
|
+
// RcrainfoProfile (optional)
|
|
193
|
+
rcrainfoProfile: ...,
|
|
194
|
+
} satisfies RootUpdateRequest;
|
|
195
|
+
|
|
196
|
+
try {
|
|
197
|
+
const data = await api.rootUpdate(body);
|
|
198
|
+
console.log(data);
|
|
199
|
+
} catch (error) {
|
|
200
|
+
console.error(error);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
// Run the test
|
|
205
|
+
example().catch(console.error);
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
### Parameters
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
| Name | Type | Description | Notes |
|
|
212
|
+
|------------- | ------------- | ------------- | -------------|
|
|
213
|
+
| **username** | `string` | | [Defaults to `undefined`] |
|
|
214
|
+
| **rcrainfoProfile** | [RcrainfoProfile](RcrainfoProfile.md) | | [Optional] |
|
|
215
|
+
|
|
216
|
+
### Return type
|
|
217
|
+
|
|
218
|
+
[**RcrainfoProfile**](RcrainfoProfile.md)
|
|
219
|
+
|
|
220
|
+
### Authorization
|
|
221
|
+
|
|
222
|
+
[cookieAuth](../README.md#cookieAuth), [ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
223
|
+
|
|
224
|
+
### HTTP request headers
|
|
225
|
+
|
|
226
|
+
- **Content-Type**: `application/json`
|
|
227
|
+
- **Accept**: `application/json`
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
### HTTP response details
|
|
231
|
+
| Status code | Description | Response headers |
|
|
232
|
+
|-------------|-------------|------------------|
|
|
233
|
+
| **200** | | - |
|
|
234
|
+
|
|
235
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
|
|
2
|
+
# ESignature
|
|
3
|
+
|
|
4
|
+
Serializer for Electronic Signature on manifest.
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`signer` | [Signer](Signer.md)
|
|
11
|
+
`cromerrActivityId` | string
|
|
12
|
+
`cromerrDocumentId` | string
|
|
13
|
+
`signatureDate` | Date
|
|
14
|
+
`onBehalf` | boolean
|
|
15
|
+
`order` | number
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import type { ESignature } from ''
|
|
21
|
+
|
|
22
|
+
// TODO: Update the object below with actual values
|
|
23
|
+
const example = {
|
|
24
|
+
"signer": null,
|
|
25
|
+
"cromerrActivityId": null,
|
|
26
|
+
"cromerrDocumentId": null,
|
|
27
|
+
"signatureDate": null,
|
|
28
|
+
"onBehalf": null,
|
|
29
|
+
"order": null,
|
|
30
|
+
} satisfies ESignature
|
|
31
|
+
|
|
32
|
+
console.log(example)
|
|
33
|
+
|
|
34
|
+
// Convert the instance to a JSON string
|
|
35
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
36
|
+
console.log(exampleJSON)
|
|
37
|
+
|
|
38
|
+
// Parse the JSON string back to an object
|
|
39
|
+
const exampleParsed = JSON.parse(exampleJSON) as ESignature
|
|
40
|
+
console.log(exampleParsed)
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
package/docs/Handler.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
|
|
2
|
+
# Handler
|
|
3
|
+
|
|
4
|
+
Serializer for RcraSite on manifest.
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`rcraSite` | [RcraSite](RcraSite.md)
|
|
11
|
+
`electronicSignaturesInfo` | [Array<ESignature>](ESignature.md)
|
|
12
|
+
`paperSignatureInfo` | [PaperSignature](PaperSignature.md)
|
|
13
|
+
`emergencyPhone` | [ManifestPhone](ManifestPhone.md)
|
|
14
|
+
`signed` | boolean
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import type { Handler } from ''
|
|
20
|
+
|
|
21
|
+
// TODO: Update the object below with actual values
|
|
22
|
+
const example = {
|
|
23
|
+
"rcraSite": null,
|
|
24
|
+
"electronicSignaturesInfo": null,
|
|
25
|
+
"paperSignatureInfo": null,
|
|
26
|
+
"emergencyPhone": null,
|
|
27
|
+
"signed": null,
|
|
28
|
+
} satisfies Handler
|
|
29
|
+
|
|
30
|
+
console.log(example)
|
|
31
|
+
|
|
32
|
+
// Convert the instance to a JSON string
|
|
33
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
34
|
+
console.log(exampleJSON)
|
|
35
|
+
|
|
36
|
+
// Parse the JSON string back to an object
|
|
37
|
+
const exampleParsed = JSON.parse(exampleJSON) as Handler
|
|
38
|
+
console.log(exampleParsed)
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# HandlerSearch
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`siteId` | string
|
|
10
|
+
`siteType` | [HandlerSearchSiteTypeEnum](HandlerSearchSiteTypeEnum.md)
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { HandlerSearch } from ''
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"siteId": null,
|
|
20
|
+
"siteType": null,
|
|
21
|
+
} satisfies HandlerSearch
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as HandlerSearch
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
|
|
2
|
+
# HandlerSearchSiteTypeEnum
|
|
3
|
+
|
|
4
|
+
* `designatedFacility` - designatedFacility * `generator` - generator * `transporter` - transporter * `broker` - broker
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { HandlerSearchSiteTypeEnum } from ''
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
} satisfies HandlerSearchSiteTypeEnum
|
|
19
|
+
|
|
20
|
+
console.log(example)
|
|
21
|
+
|
|
22
|
+
// Convert the instance to a JSON string
|
|
23
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
24
|
+
console.log(exampleJSON)
|
|
25
|
+
|
|
26
|
+
// Parse the JSON string back to an object
|
|
27
|
+
const exampleParsed = JSON.parse(exampleJSON) as HandlerSearchSiteTypeEnum
|
|
28
|
+
console.log(exampleParsed)
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
package/docs/InfoApi.md
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# InfoApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
| [**infoRcrasiteSearchCreate**](InfoApi.md#inforcrasitesearchcreate) | **POST** /api/v1/rcrainfo/rcrasite/search | |
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## infoRcrasiteSearchCreate
|
|
12
|
+
|
|
13
|
+
> Array<RcraSite> infoRcrasiteSearchCreate(handlerSearch)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
Search for handlers by siteId and site.
|
|
18
|
+
|
|
19
|
+
### Example
|
|
20
|
+
|
|
21
|
+
```ts
|
|
22
|
+
import {
|
|
23
|
+
Configuration,
|
|
24
|
+
InfoApi,
|
|
25
|
+
} from '';
|
|
26
|
+
import type { InfoRcrasiteSearchCreateRequest } from '';
|
|
27
|
+
|
|
28
|
+
async function example() {
|
|
29
|
+
console.log("🚀 Testing SDK...");
|
|
30
|
+
const config = new Configuration({
|
|
31
|
+
// To configure API key authorization: cookieAuth
|
|
32
|
+
apiKey: "YOUR API KEY",
|
|
33
|
+
// To configure API key authorization: ApiKeyAuth
|
|
34
|
+
apiKey: "YOUR API KEY",
|
|
35
|
+
});
|
|
36
|
+
const api = new InfoApi(config);
|
|
37
|
+
|
|
38
|
+
const body = {
|
|
39
|
+
// HandlerSearch
|
|
40
|
+
handlerSearch: ...,
|
|
41
|
+
} satisfies InfoRcrasiteSearchCreateRequest;
|
|
42
|
+
|
|
43
|
+
try {
|
|
44
|
+
const data = await api.infoRcrasiteSearchCreate(body);
|
|
45
|
+
console.log(data);
|
|
46
|
+
} catch (error) {
|
|
47
|
+
console.error(error);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// Run the test
|
|
52
|
+
example().catch(console.error);
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Parameters
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
| Name | Type | Description | Notes |
|
|
59
|
+
|------------- | ------------- | ------------- | -------------|
|
|
60
|
+
| **handlerSearch** | [HandlerSearch](HandlerSearch.md) | | |
|
|
61
|
+
|
|
62
|
+
### Return type
|
|
63
|
+
|
|
64
|
+
[**Array<RcraSite>**](RcraSite.md)
|
|
65
|
+
|
|
66
|
+
### Authorization
|
|
67
|
+
|
|
68
|
+
[cookieAuth](../README.md#cookieAuth), [ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
69
|
+
|
|
70
|
+
### HTTP request headers
|
|
71
|
+
|
|
72
|
+
- **Content-Type**: `application/json`
|
|
73
|
+
- **Accept**: `application/json`
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
### HTTP response details
|
|
77
|
+
| Status code | Description | Response headers |
|
|
78
|
+
|-------------|-------------|------------------|
|
|
79
|
+
| **200** | | - |
|
|
80
|
+
|
|
81
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
# Invitation
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`team` | number
|
|
11
|
+
`email` | string
|
|
12
|
+
`role` | [RoleEnum](RoleEnum.md)
|
|
13
|
+
`invitedBy` | string
|
|
14
|
+
`isAccepted` | boolean
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import type { Invitation } from ''
|
|
20
|
+
|
|
21
|
+
// TODO: Update the object below with actual values
|
|
22
|
+
const example = {
|
|
23
|
+
"id": null,
|
|
24
|
+
"team": null,
|
|
25
|
+
"email": null,
|
|
26
|
+
"role": null,
|
|
27
|
+
"invitedBy": null,
|
|
28
|
+
"isAccepted": null,
|
|
29
|
+
} satisfies Invitation
|
|
30
|
+
|
|
31
|
+
console.log(example)
|
|
32
|
+
|
|
33
|
+
// Convert the instance to a JSON string
|
|
34
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
35
|
+
console.log(exampleJSON)
|
|
36
|
+
|
|
37
|
+
// Parse the JSON string back to an object
|
|
38
|
+
const exampleParsed = JSON.parse(exampleJSON) as Invitation
|
|
39
|
+
console.log(exampleParsed)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
|
|
2
|
+
# LockReasonEnum
|
|
3
|
+
|
|
4
|
+
* `1` - 1 * `2` - 2 * `3` - 3
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { LockReasonEnum } from ''
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
} satisfies LockReasonEnum
|
|
19
|
+
|
|
20
|
+
console.log(example)
|
|
21
|
+
|
|
22
|
+
// Convert the instance to a JSON string
|
|
23
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
24
|
+
console.log(exampleJSON)
|
|
25
|
+
|
|
26
|
+
// Parse the JSON string back to an object
|
|
27
|
+
const exampleParsed = JSON.parse(exampleJSON) as LockReasonEnum
|
|
28
|
+
console.log(exampleParsed)
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
package/docs/Manifest.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
|
|
2
|
+
# Manifest
|
|
3
|
+
|
|
4
|
+
Manifest serializer.
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`createdDate` | Date
|
|
11
|
+
`updatedDate` | Date
|
|
12
|
+
`manifestTrackingNumber` | string
|
|
13
|
+
`status` | [StatusC23Enum](StatusC23Enum.md)
|
|
14
|
+
`submissionType` | string
|
|
15
|
+
`signatureStatus` | boolean
|
|
16
|
+
`originType` | string
|
|
17
|
+
`shippedDate` | Date
|
|
18
|
+
`potentialShipDate` | string
|
|
19
|
+
`receivedDate` | Date
|
|
20
|
+
`certifiedDate` | Date
|
|
21
|
+
`certifiedBy` | any
|
|
22
|
+
`generator` | [Handler](Handler.md)
|
|
23
|
+
`transporters` | [Array<Transporter>](Transporter.md)
|
|
24
|
+
`designatedFacility` | [Handler](Handler.md)
|
|
25
|
+
`broker` | any
|
|
26
|
+
`wastes` | [Array<WasteLine>](WasteLine.md)
|
|
27
|
+
`rejection` | boolean
|
|
28
|
+
`rejectionInfo` | any
|
|
29
|
+
`discrepancy` | boolean
|
|
30
|
+
`residue` | boolean
|
|
31
|
+
`residueNewManifestTrackingNumbers` | any
|
|
32
|
+
`importInfo` | any
|
|
33
|
+
`containsPreviousRejectOrResidue` | boolean
|
|
34
|
+
`printedDocument` | any
|
|
35
|
+
`formDocument` | any
|
|
36
|
+
`additionalInfo` | [AdditionalInfo](AdditionalInfo.md)
|
|
37
|
+
`correctionInfo` | any
|
|
38
|
+
`ppcStatus` | any
|
|
39
|
+
`locked` | boolean
|
|
40
|
+
`lockReason` | [LockReasonEnum](LockReasonEnum.md)
|
|
41
|
+
|
|
42
|
+
## Example
|
|
43
|
+
|
|
44
|
+
```typescript
|
|
45
|
+
import type { Manifest } from ''
|
|
46
|
+
|
|
47
|
+
// TODO: Update the object below with actual values
|
|
48
|
+
const example = {
|
|
49
|
+
"createdDate": null,
|
|
50
|
+
"updatedDate": null,
|
|
51
|
+
"manifestTrackingNumber": null,
|
|
52
|
+
"status": null,
|
|
53
|
+
"submissionType": null,
|
|
54
|
+
"signatureStatus": null,
|
|
55
|
+
"originType": null,
|
|
56
|
+
"shippedDate": null,
|
|
57
|
+
"potentialShipDate": null,
|
|
58
|
+
"receivedDate": null,
|
|
59
|
+
"certifiedDate": null,
|
|
60
|
+
"certifiedBy": null,
|
|
61
|
+
"generator": null,
|
|
62
|
+
"transporters": null,
|
|
63
|
+
"designatedFacility": null,
|
|
64
|
+
"broker": null,
|
|
65
|
+
"wastes": null,
|
|
66
|
+
"rejection": null,
|
|
67
|
+
"rejectionInfo": null,
|
|
68
|
+
"discrepancy": null,
|
|
69
|
+
"residue": null,
|
|
70
|
+
"residueNewManifestTrackingNumbers": null,
|
|
71
|
+
"importInfo": null,
|
|
72
|
+
"containsPreviousRejectOrResidue": null,
|
|
73
|
+
"printedDocument": null,
|
|
74
|
+
"formDocument": null,
|
|
75
|
+
"additionalInfo": null,
|
|
76
|
+
"correctionInfo": null,
|
|
77
|
+
"ppcStatus": null,
|
|
78
|
+
"locked": null,
|
|
79
|
+
"lockReason": null,
|
|
80
|
+
} satisfies Manifest
|
|
81
|
+
|
|
82
|
+
console.log(example)
|
|
83
|
+
|
|
84
|
+
// Convert the instance to a JSON string
|
|
85
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
86
|
+
console.log(exampleJSON)
|
|
87
|
+
|
|
88
|
+
// Parse the JSON string back to an object
|
|
89
|
+
const exampleParsed = JSON.parse(exampleJSON) as Manifest
|
|
90
|
+
console.log(exampleParsed)
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|