deere-sdk 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/CHANGELOG.md +38 -0
- package/LICENSE +21 -0
- package/README.md +253 -0
- package/dist/api/assets.d.ts +78 -0
- package/dist/api/assets.d.ts.map +1 -0
- package/dist/api/assets.js +115 -0
- package/dist/api/assets.js.map +1 -0
- package/dist/api/boundaries.d.ts +69 -0
- package/dist/api/boundaries.d.ts.map +1 -0
- package/dist/api/boundaries.js +102 -0
- package/dist/api/boundaries.js.map +1 -0
- package/dist/api/clients.d.ts +71 -0
- package/dist/api/clients.d.ts.map +1 -0
- package/dist/api/clients.js +104 -0
- package/dist/api/clients.js.map +1 -0
- package/dist/api/connection-management.d.ts +41 -0
- package/dist/api/connection-management.d.ts.map +1 -0
- package/dist/api/connection-management.js +56 -0
- package/dist/api/connection-management.js.map +1 -0
- package/dist/api/crop-types.d.ts +48 -0
- package/dist/api/crop-types.d.ts.map +1 -0
- package/dist/api/crop-types.js +69 -0
- package/dist/api/crop-types.js.map +1 -0
- package/dist/api/equipment.d.ts +138 -0
- package/dist/api/equipment.d.ts.map +1 -0
- package/dist/api/equipment.js +214 -0
- package/dist/api/equipment.js.map +1 -0
- package/dist/api/farms.d.ts +69 -0
- package/dist/api/farms.d.ts.map +1 -0
- package/dist/api/farms.js +100 -0
- package/dist/api/farms.js.map +1 -0
- package/dist/api/field-operations-api.d.ts +56 -0
- package/dist/api/field-operations-api.d.ts.map +1 -0
- package/dist/api/field-operations-api.js +88 -0
- package/dist/api/field-operations-api.js.map +1 -0
- package/dist/api/field-operations.d.ts +83 -0
- package/dist/api/field-operations.d.ts.map +1 -0
- package/dist/api/field-operations.js +134 -0
- package/dist/api/field-operations.js.map +1 -0
- package/dist/api/fields.d.ts +73 -0
- package/dist/api/fields.d.ts.map +1 -0
- package/dist/api/fields.js +113 -0
- package/dist/api/fields.js.map +1 -0
- package/dist/api/files.d.ts +63 -0
- package/dist/api/files.d.ts.map +1 -0
- package/dist/api/files.js +96 -0
- package/dist/api/files.js.map +1 -0
- package/dist/api/flags.d.ts +96 -0
- package/dist/api/flags.d.ts.map +1 -0
- package/dist/api/flags.js +159 -0
- package/dist/api/flags.js.map +1 -0
- package/dist/api/guidance-lines.d.ts +52 -0
- package/dist/api/guidance-lines.d.ts.map +1 -0
- package/dist/api/guidance-lines.js +77 -0
- package/dist/api/guidance-lines.js.map +1 -0
- package/dist/api/index.d.ts +43 -0
- package/dist/api/index.d.ts.map +1 -0
- package/dist/api/index.js +25 -0
- package/dist/api/index.js.map +1 -0
- package/dist/api/map-layers.d.ts +49 -0
- package/dist/api/map-layers.d.ts.map +1 -0
- package/dist/api/map-layers.js +69 -0
- package/dist/api/map-layers.js.map +1 -0
- package/dist/api/operators.d.ts +67 -0
- package/dist/api/operators.d.ts.map +1 -0
- package/dist/api/operators.js +99 -0
- package/dist/api/operators.js.map +1 -0
- package/dist/api/organizations.d.ts +45 -0
- package/dist/api/organizations.d.ts.map +1 -0
- package/dist/api/organizations.js +64 -0
- package/dist/api/organizations.js.map +1 -0
- package/dist/api/products.d.ts +88 -0
- package/dist/api/products.d.ts.map +1 -0
- package/dist/api/products.js +132 -0
- package/dist/api/products.js.map +1 -0
- package/dist/api/users.d.ts +22 -0
- package/dist/api/users.d.ts.map +1 -0
- package/dist/api/users.js +26 -0
- package/dist/api/users.js.map +1 -0
- package/dist/api/webhook.d.ts +42 -0
- package/dist/api/webhook.d.ts.map +1 -0
- package/dist/api/webhook.js +57 -0
- package/dist/api/webhook.js.map +1 -0
- package/dist/client.d.ts +114 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +224 -0
- package/dist/client.js.map +1 -0
- package/dist/deere.d.ts +98 -0
- package/dist/deere.d.ts.map +1 -0
- package/dist/deere.js +120 -0
- package/dist/deere.js.map +1 -0
- package/dist/index.d.ts +36 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +39 -0
- package/dist/index.js.map +1 -0
- package/dist/types/generated/assets.d.ts +839 -0
- package/dist/types/generated/assets.d.ts.map +1 -0
- package/dist/types/generated/assets.js +6 -0
- package/dist/types/generated/assets.js.map +1 -0
- package/dist/types/generated/boundaries.d.ts +734 -0
- package/dist/types/generated/boundaries.d.ts.map +1 -0
- package/dist/types/generated/boundaries.js +6 -0
- package/dist/types/generated/boundaries.js.map +1 -0
- package/dist/types/generated/clients.d.ts +602 -0
- package/dist/types/generated/clients.d.ts.map +1 -0
- package/dist/types/generated/clients.js +6 -0
- package/dist/types/generated/clients.js.map +1 -0
- package/dist/types/generated/connection-management.d.ts +210 -0
- package/dist/types/generated/connection-management.d.ts.map +1 -0
- package/dist/types/generated/connection-management.js +6 -0
- package/dist/types/generated/connection-management.js.map +1 -0
- package/dist/types/generated/crop-types.d.ts +541 -0
- package/dist/types/generated/crop-types.d.ts.map +1 -0
- package/dist/types/generated/crop-types.js +6 -0
- package/dist/types/generated/crop-types.js.map +1 -0
- package/dist/types/generated/equipment.d.ts +2599 -0
- package/dist/types/generated/equipment.d.ts.map +1 -0
- package/dist/types/generated/equipment.js +6 -0
- package/dist/types/generated/equipment.js.map +1 -0
- package/dist/types/generated/farms.d.ts +520 -0
- package/dist/types/generated/farms.d.ts.map +1 -0
- package/dist/types/generated/farms.js +6 -0
- package/dist/types/generated/farms.js.map +1 -0
- package/dist/types/generated/field-operations-api.d.ts +1724 -0
- package/dist/types/generated/field-operations-api.d.ts.map +1 -0
- package/dist/types/generated/field-operations-api.js +6 -0
- package/dist/types/generated/field-operations-api.js.map +1 -0
- package/dist/types/generated/fields.d.ts +904 -0
- package/dist/types/generated/fields.d.ts.map +1 -0
- package/dist/types/generated/fields.js +6 -0
- package/dist/types/generated/fields.js.map +1 -0
- package/dist/types/generated/files.d.ts +598 -0
- package/dist/types/generated/files.d.ts.map +1 -0
- package/dist/types/generated/files.js +6 -0
- package/dist/types/generated/files.js.map +1 -0
- package/dist/types/generated/flags.d.ts +593 -0
- package/dist/types/generated/flags.d.ts.map +1 -0
- package/dist/types/generated/flags.js +6 -0
- package/dist/types/generated/flags.js.map +1 -0
- package/dist/types/generated/guidance-lines.d.ts +405 -0
- package/dist/types/generated/guidance-lines.d.ts.map +1 -0
- package/dist/types/generated/guidance-lines.js +6 -0
- package/dist/types/generated/guidance-lines.js.map +1 -0
- package/dist/types/generated/index.d.ts +44 -0
- package/dist/types/generated/index.d.ts.map +1 -0
- package/dist/types/generated/index.js +26 -0
- package/dist/types/generated/index.js.map +1 -0
- package/dist/types/generated/map-layers.d.ts +696 -0
- package/dist/types/generated/map-layers.d.ts.map +1 -0
- package/dist/types/generated/map-layers.js +6 -0
- package/dist/types/generated/map-layers.js.map +1 -0
- package/dist/types/generated/operators.d.ts +361 -0
- package/dist/types/generated/operators.d.ts.map +1 -0
- package/dist/types/generated/operators.js +6 -0
- package/dist/types/generated/operators.js.map +1 -0
- package/dist/types/generated/organizations.d.ts +308 -0
- package/dist/types/generated/organizations.d.ts.map +1 -0
- package/dist/types/generated/organizations.js +6 -0
- package/dist/types/generated/organizations.js.map +1 -0
- package/dist/types/generated/products.d.ts +1165 -0
- package/dist/types/generated/products.d.ts.map +1 -0
- package/dist/types/generated/products.js +6 -0
- package/dist/types/generated/products.js.map +1 -0
- package/dist/types/generated/users.d.ts +96 -0
- package/dist/types/generated/users.d.ts.map +1 -0
- package/dist/types/generated/users.js +6 -0
- package/dist/types/generated/users.js.map +1 -0
- package/dist/types/generated/webhook.d.ts +475 -0
- package/dist/types/generated/webhook.d.ts.map +1 -0
- package/dist/types/generated/webhook.js +6 -0
- package/dist/types/generated/webhook.js.map +1 -0
- package/dist/types/index.d.ts +25 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +25 -0
- package/dist/types/index.js.map +1 -0
- package/package.json +70 -0
|
@@ -0,0 +1,2599 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
export interface paths {
|
|
6
|
+
"/equipment": {
|
|
7
|
+
parameters: {
|
|
8
|
+
query?: never;
|
|
9
|
+
header?: never;
|
|
10
|
+
path?: never;
|
|
11
|
+
cookie?: never;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Get equipment
|
|
15
|
+
* @description This resource allows the client to view the list of a user's equipment. It can be called with a filter for specific organizations, machine or implement types, but can also be called without a filter to provide a list of all equipment accessible by the user across each organization the user has access to. Equipment will only be returned from organizations the user has access to and are connected to the calling application. If the client requests multiple organizations in the filter, and a user or the client does not have access to that organization, the entire response will be a 403 Forbidden. Please see the OAuth 2 documentation <a href='#oAuth2' target='_blank'>here</a> for more details on obtaining a user token and connecting the user’s organizations to your application..
|
|
16
|
+
*/
|
|
17
|
+
get: {
|
|
18
|
+
parameters: {
|
|
19
|
+
query?: {
|
|
20
|
+
/** @description List of OrganizationEquipment Ids (these ids are unique across all orgs) */
|
|
21
|
+
ids?: components["parameters"]["OrganizationEquipmentIds"];
|
|
22
|
+
/** @description List of serial numbers of the equipment */
|
|
23
|
+
serialNumbers?: components["parameters"]["EquipmentSerialNumbers"];
|
|
24
|
+
/** @description List of OrganizationIds */
|
|
25
|
+
organizationIds?: components["parameters"]["OrganizationIds"];
|
|
26
|
+
/** @description List of PrincipalIds */
|
|
27
|
+
principalIds?: components["parameters"]["PrincipalIds"];
|
|
28
|
+
capableOf?: components["parameters"]["CapableOf"];
|
|
29
|
+
categories?: components["parameters"]["Categories"];
|
|
30
|
+
"organizationRole.type"?: components["parameters"]["Role"];
|
|
31
|
+
/** @description true or false */
|
|
32
|
+
archived?: components["parameters"]["Archived"];
|
|
33
|
+
/** @description embed 'pairingDetails' is only supported along with 'devices' or 'equipment' embeds */
|
|
34
|
+
embed?: components["parameters"]["EmbedForList"];
|
|
35
|
+
/**
|
|
36
|
+
* @description Refers to starting record value
|
|
37
|
+
* @example 200
|
|
38
|
+
*/
|
|
39
|
+
pageOffset?: components["parameters"]["PageOffset"];
|
|
40
|
+
/**
|
|
41
|
+
* @description Refers to number of items per page(default 100 max 5000)
|
|
42
|
+
* @example 200
|
|
43
|
+
*/
|
|
44
|
+
itemLimit?: components["parameters"]["ItemLimit"];
|
|
45
|
+
};
|
|
46
|
+
header?: never;
|
|
47
|
+
path?: never;
|
|
48
|
+
cookie?: never;
|
|
49
|
+
};
|
|
50
|
+
requestBody?: never;
|
|
51
|
+
responses: {
|
|
52
|
+
/** @description Equipment(s) found based on the query parameters and filters. */
|
|
53
|
+
200: components["responses"]["GetEquipment"];
|
|
54
|
+
/** @description Bad Request - No query parameters provided. */
|
|
55
|
+
400: {
|
|
56
|
+
headers: {
|
|
57
|
+
[name: string]: unknown;
|
|
58
|
+
};
|
|
59
|
+
content: {
|
|
60
|
+
"application/json": components["schemas"]["Errors"];
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* @description Authorization Error
|
|
65
|
+
* - user/applications does not have access to api or resource
|
|
66
|
+
* or
|
|
67
|
+
* - user does not have required permissions/BusinessActivities for the org.
|
|
68
|
+
*/
|
|
69
|
+
403: {
|
|
70
|
+
headers: {
|
|
71
|
+
[name: string]: unknown;
|
|
72
|
+
};
|
|
73
|
+
content?: never;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
put?: never;
|
|
78
|
+
post?: never;
|
|
79
|
+
delete?: never;
|
|
80
|
+
options?: never;
|
|
81
|
+
head?: never;
|
|
82
|
+
patch?: never;
|
|
83
|
+
trace?: never;
|
|
84
|
+
};
|
|
85
|
+
"/organizations/{organizationId}/equipment": {
|
|
86
|
+
parameters: {
|
|
87
|
+
query?: never;
|
|
88
|
+
header?: never;
|
|
89
|
+
path?: never;
|
|
90
|
+
cookie?: never;
|
|
91
|
+
};
|
|
92
|
+
get?: never;
|
|
93
|
+
put?: never;
|
|
94
|
+
/**
|
|
95
|
+
* Create equipment
|
|
96
|
+
* @description This resource allows the client to create a piece of equipment within a user’s organization. <br><br> <b>Getting Started</b><br>The process of contributing equipment to John Deere can be broken down into three primary steps. <ol> <li> Determine the Equipment’s model IDs</li> <li> Create the Equipment</li> <li> Contribute Measurements. Please see the <a href='/dev-docs/equipment-measurement' target='_blank'>Equipment Measurements (POST) API</a> for more information on uploading measurements for the created equipment.</li> </ol> <b>Determining the Equipment’s model</b> <ol> <li> Call the GET /equipmentMakes API endpoint to get a list of all equipment makes and a respective “id” of the equipment make you require.</li> <li> Call the GET /equipmentMakes/{id}/equipmentISGTypes endpoint to get a list of associated equipment ISG types for that specific equipment make and obtain a respective “id” for a specific ISG type you require.</li> <li> Call the GET /equipmentMakes/{id}/equipmentISGTypes/{id}/equipmentModels to obtain the final “id” of the equipment model you require.</li> <li> Alternatively, you may call the GET /equipmentModels endpoint if you know the model name you are searching for. For example /equipmentModels?equipmentModelName=9RX*&embed=make,isgType which will include all models with search string results and include make and isgType “id” as well as model “id”.</li> </ol> <b>Creating the Equipment</b><br/> Make a POST request to the /organizations/{orgId}/equipment API to create the piece of equipment in the user’s org. <ul> <li>In this request you will provide the type of the equipment, a serialNumber (optional), name (displayed to the user in Operations Center), and the equipment model IDs.</li> <ul> <li><b>type:</b> Machine or Implement</li> <li><b>serialNumber:</b> A string identifier that is 30 characters or fewer. Must be unique within an organization.</li> <li><b>name:</b> The name displayed in Operation Center, 30 characters or fewer. Must be unique within an organization.</li> <li><b>model:</b> The id for the Model of the vehicle, found from the API in the previous step of this document. </li> </ul> <li> A successful POST will result in a 201 Created response. The “location” header in the response will contain the URI to the new equipment, with the final segment being the organization specific machine ID (ie “https://equipmentapi.deere.com/isg/equipment/12345” is a link to the machine 12345).</li> <li>If you attempt to create a machine with a serialNumber that already exists in that organization, you get a response code 400 Bad Request. The body will include the error information.</li> </ul>
|
|
97
|
+
*/
|
|
98
|
+
post: operations["createEquipment"];
|
|
99
|
+
delete?: never;
|
|
100
|
+
options?: never;
|
|
101
|
+
head?: never;
|
|
102
|
+
patch?: never;
|
|
103
|
+
trace?: never;
|
|
104
|
+
};
|
|
105
|
+
"/equipment/{id}": {
|
|
106
|
+
parameters: {
|
|
107
|
+
query?: never;
|
|
108
|
+
header?: never;
|
|
109
|
+
path?: never;
|
|
110
|
+
cookie?: never;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* View equipment details by Id
|
|
114
|
+
* @description This resource allows the client to view the details of one piece of equipment.
|
|
115
|
+
*/
|
|
116
|
+
get: {
|
|
117
|
+
parameters: {
|
|
118
|
+
query?: {
|
|
119
|
+
/** @description embed 'pairingDetails' is only supported along with 'devices' or 'equipment' embeds */
|
|
120
|
+
embed?: components["parameters"]["Embed"];
|
|
121
|
+
};
|
|
122
|
+
header?: never;
|
|
123
|
+
path: {
|
|
124
|
+
/** @example 1111 */
|
|
125
|
+
id: components["parameters"]["id"];
|
|
126
|
+
};
|
|
127
|
+
cookie?: never;
|
|
128
|
+
};
|
|
129
|
+
requestBody?: never;
|
|
130
|
+
responses: {
|
|
131
|
+
/** @description Equipment found by Id or Serial Number */
|
|
132
|
+
200: components["responses"]["GetEquipmentById"];
|
|
133
|
+
/**
|
|
134
|
+
* @description Authorization Error
|
|
135
|
+
* - user/applications does not have access to api or resource
|
|
136
|
+
* or
|
|
137
|
+
* - user does not have required permissions/BusinessActivities for the org.
|
|
138
|
+
*/
|
|
139
|
+
403: {
|
|
140
|
+
headers: {
|
|
141
|
+
[name: string]: unknown;
|
|
142
|
+
};
|
|
143
|
+
content?: never;
|
|
144
|
+
};
|
|
145
|
+
/** @description Equipment not found */
|
|
146
|
+
404: {
|
|
147
|
+
headers: {
|
|
148
|
+
[name: string]: unknown;
|
|
149
|
+
};
|
|
150
|
+
content?: never;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
* Update equipment
|
|
156
|
+
* @description This resource allows the client to update a piece of equipment within a user’s organization. Clients will only be able to update a piece of equipment that was contributed via the POST /equipment API. John Deere controlled equipment can only be managed via the Equipment application in Operations Center.
|
|
157
|
+
*/
|
|
158
|
+
put: operations["putEquipment"];
|
|
159
|
+
post?: never;
|
|
160
|
+
/**
|
|
161
|
+
* Delete equipment
|
|
162
|
+
* @description This resource allows the client to delete a piece of equipment within a user’s organization. Clients will only be able to delete a piece of equipment that was contributed via the POST /equipment API. John Deere controlled equipment can only be managed via the Equipment application in Operations Center.
|
|
163
|
+
*/
|
|
164
|
+
delete: operations["deleteEquipment"];
|
|
165
|
+
options?: never;
|
|
166
|
+
head?: never;
|
|
167
|
+
patch?: never;
|
|
168
|
+
trace?: never;
|
|
169
|
+
};
|
|
170
|
+
"/equipmentMakes": {
|
|
171
|
+
parameters: {
|
|
172
|
+
query?: never;
|
|
173
|
+
header?: never;
|
|
174
|
+
path?: never;
|
|
175
|
+
cookie?: never;
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* Get equipment makes
|
|
179
|
+
* @description This resource allows the client to view equipment makes and their associated IDs and names.
|
|
180
|
+
*/
|
|
181
|
+
get: operations["getEquipmentMakes"];
|
|
182
|
+
put?: never;
|
|
183
|
+
post?: never;
|
|
184
|
+
delete?: never;
|
|
185
|
+
options?: never;
|
|
186
|
+
head?: never;
|
|
187
|
+
patch?: never;
|
|
188
|
+
trace?: never;
|
|
189
|
+
};
|
|
190
|
+
"/equipmentMakes/{equipmentMakeId}": {
|
|
191
|
+
parameters: {
|
|
192
|
+
query?: never;
|
|
193
|
+
header?: never;
|
|
194
|
+
path?: never;
|
|
195
|
+
cookie?: never;
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* View equipment by make Id
|
|
199
|
+
* @description This resource allows the client to view equipment makes by an equipment make ID.
|
|
200
|
+
*/
|
|
201
|
+
get: operations["getEquipmentMakesById"];
|
|
202
|
+
put?: never;
|
|
203
|
+
post?: never;
|
|
204
|
+
delete?: never;
|
|
205
|
+
options?: never;
|
|
206
|
+
head?: never;
|
|
207
|
+
patch?: never;
|
|
208
|
+
trace?: never;
|
|
209
|
+
};
|
|
210
|
+
"/equipmentMakes/{equipmentMakeId}/equipmentTypes": {
|
|
211
|
+
parameters: {
|
|
212
|
+
query?: never;
|
|
213
|
+
header?: never;
|
|
214
|
+
path?: never;
|
|
215
|
+
cookie?: never;
|
|
216
|
+
};
|
|
217
|
+
/**
|
|
218
|
+
* Get equipment types by make id
|
|
219
|
+
* @deprecated
|
|
220
|
+
* @description This resource allows the client to view equipment types by providing an equipment make ID.
|
|
221
|
+
*/
|
|
222
|
+
get: operations["getEquipmentTypesByMakeId"];
|
|
223
|
+
put?: never;
|
|
224
|
+
post?: never;
|
|
225
|
+
delete?: never;
|
|
226
|
+
options?: never;
|
|
227
|
+
head?: never;
|
|
228
|
+
patch?: never;
|
|
229
|
+
trace?: never;
|
|
230
|
+
};
|
|
231
|
+
"/equipmentTypes": {
|
|
232
|
+
parameters: {
|
|
233
|
+
query?: never;
|
|
234
|
+
header?: never;
|
|
235
|
+
path?: never;
|
|
236
|
+
cookie?: never;
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* Get equipment types
|
|
240
|
+
* @deprecated
|
|
241
|
+
* @description This resource allows the client to view equipment types and their associated IDs and names.
|
|
242
|
+
*/
|
|
243
|
+
get: operations["getEquipmentTypes"];
|
|
244
|
+
put?: never;
|
|
245
|
+
post?: never;
|
|
246
|
+
delete?: never;
|
|
247
|
+
options?: never;
|
|
248
|
+
head?: never;
|
|
249
|
+
patch?: never;
|
|
250
|
+
trace?: never;
|
|
251
|
+
};
|
|
252
|
+
"/equipmentModels": {
|
|
253
|
+
parameters: {
|
|
254
|
+
query?: {
|
|
255
|
+
/**
|
|
256
|
+
* @description Embed additional attributes if required.
|
|
257
|
+
* @example [
|
|
258
|
+
* "make",
|
|
259
|
+
* "type"
|
|
260
|
+
* ]
|
|
261
|
+
*/
|
|
262
|
+
embed?: components["parameters"]["EmbedV1"];
|
|
263
|
+
/**
|
|
264
|
+
* @description It should be equipment model name
|
|
265
|
+
* @example [
|
|
266
|
+
* "9RX420",
|
|
267
|
+
* "9RX*"
|
|
268
|
+
* ]
|
|
269
|
+
*/
|
|
270
|
+
equipmentModelName?: components["parameters"]["EquipmentModelName"];
|
|
271
|
+
};
|
|
272
|
+
header?: never;
|
|
273
|
+
path: {
|
|
274
|
+
/** @description Deprecated value should be false */
|
|
275
|
+
deprecated: components["parameters"]["Deprecated"];
|
|
276
|
+
};
|
|
277
|
+
cookie?: never;
|
|
278
|
+
};
|
|
279
|
+
/**
|
|
280
|
+
* Get equipment models
|
|
281
|
+
* @description This resource allows the client to view equipment models in our reference database and their associated IDs and names.
|
|
282
|
+
*/
|
|
283
|
+
get: operations["getEquipmentModels"];
|
|
284
|
+
put?: never;
|
|
285
|
+
post?: never;
|
|
286
|
+
delete?: never;
|
|
287
|
+
options?: never;
|
|
288
|
+
head?: never;
|
|
289
|
+
patch?: never;
|
|
290
|
+
trace?: never;
|
|
291
|
+
};
|
|
292
|
+
"/equipmentISGTypes": {
|
|
293
|
+
parameters: {
|
|
294
|
+
query?: never;
|
|
295
|
+
header?: never;
|
|
296
|
+
path?: never;
|
|
297
|
+
cookie?: never;
|
|
298
|
+
};
|
|
299
|
+
/**
|
|
300
|
+
* Get equipment ISG types
|
|
301
|
+
* @description This operation retrieves a list of Equipment ISG Types based on the supplied query parameters.
|
|
302
|
+
*/
|
|
303
|
+
get: operations["getEquipmentISGTypes"];
|
|
304
|
+
put?: never;
|
|
305
|
+
post?: never;
|
|
306
|
+
delete?: never;
|
|
307
|
+
options?: never;
|
|
308
|
+
head?: never;
|
|
309
|
+
patch?: never;
|
|
310
|
+
trace?: never;
|
|
311
|
+
};
|
|
312
|
+
"/equipmentMakes/{equipmentMakeId}/equipmentISGTypes": {
|
|
313
|
+
parameters: {
|
|
314
|
+
query?: never;
|
|
315
|
+
header?: never;
|
|
316
|
+
path?: never;
|
|
317
|
+
cookie?: never;
|
|
318
|
+
};
|
|
319
|
+
/**
|
|
320
|
+
* Get equipment ISG types by make id
|
|
321
|
+
* @description This operation retrieves a list of Equipment ISG Types for given makeId. <br/>
|
|
322
|
+
*/
|
|
323
|
+
get: operations["getEquipmentISGTypesByMakeId"];
|
|
324
|
+
put?: never;
|
|
325
|
+
post?: never;
|
|
326
|
+
delete?: never;
|
|
327
|
+
options?: never;
|
|
328
|
+
head?: never;
|
|
329
|
+
patch?: never;
|
|
330
|
+
trace?: never;
|
|
331
|
+
};
|
|
332
|
+
"/equipmentMakes/{equipmentMakeId}/equipmentISGTypes/{equipmentISGTypeId}": {
|
|
333
|
+
parameters: {
|
|
334
|
+
query?: never;
|
|
335
|
+
header?: never;
|
|
336
|
+
path?: never;
|
|
337
|
+
cookie?: never;
|
|
338
|
+
};
|
|
339
|
+
/**
|
|
340
|
+
* Get equipment ISG type by make id and ISG type id
|
|
341
|
+
* @description This operation retrieves a single Equipment ISG Type for given makeId and isgTypeId.. <br/>
|
|
342
|
+
*/
|
|
343
|
+
get: operations["getEquipmentISGTypeByMakeIdAndISGTypeId"];
|
|
344
|
+
put?: never;
|
|
345
|
+
post?: never;
|
|
346
|
+
delete?: never;
|
|
347
|
+
options?: never;
|
|
348
|
+
head?: never;
|
|
349
|
+
patch?: never;
|
|
350
|
+
trace?: never;
|
|
351
|
+
};
|
|
352
|
+
"/equipmentMakes/{equipmentMakeId}/equipmentISGTypes/{equipmentISGTypeId}/equipmentModels": {
|
|
353
|
+
parameters: {
|
|
354
|
+
query?: {
|
|
355
|
+
/** @description Whether to filter isg types by the deprecated flag */
|
|
356
|
+
deprecated?: components["parameters"]["deprecated"];
|
|
357
|
+
/**
|
|
358
|
+
* @description The organization ids to get Equipment Models for.
|
|
359
|
+
* If provided, then only non-certified models will be returned.
|
|
360
|
+
* If not provided, then only certified models will be returned.
|
|
361
|
+
*/
|
|
362
|
+
organizationIds?: components["parameters"]["organizationIds"];
|
|
363
|
+
};
|
|
364
|
+
header?: never;
|
|
365
|
+
path: {
|
|
366
|
+
/** @description ID for Equipment Make */
|
|
367
|
+
equipmentMakeId: components["parameters"]["EquipmentMakeId"];
|
|
368
|
+
/** @description ID for Equipment ISG Type */
|
|
369
|
+
equipmentISGTypeId: components["parameters"]["EquipmentISGTypeId"];
|
|
370
|
+
};
|
|
371
|
+
cookie?: never;
|
|
372
|
+
};
|
|
373
|
+
/**
|
|
374
|
+
* Get equipment models by make id and ISG type id
|
|
375
|
+
* @description This operation retrieves a list of Equipment Models based on given makeId and ISGtypeId.
|
|
376
|
+
*/
|
|
377
|
+
get: operations["getEquipmentModelsByMakeIdAndISGTypeId"];
|
|
378
|
+
put?: never;
|
|
379
|
+
post?: never;
|
|
380
|
+
delete?: never;
|
|
381
|
+
options?: never;
|
|
382
|
+
head?: never;
|
|
383
|
+
patch?: never;
|
|
384
|
+
trace?: never;
|
|
385
|
+
};
|
|
386
|
+
"/equipmentMakes/{equipmentMakeId}/equipmentISGTypes/{equipmentISGTypeId}/equipmentModels/{equipmentModelId}": {
|
|
387
|
+
parameters: {
|
|
388
|
+
query?: never;
|
|
389
|
+
header?: never;
|
|
390
|
+
path: {
|
|
391
|
+
/** @description ID for Equipment Make */
|
|
392
|
+
equipmentMakeId: components["parameters"]["EquipmentMakeId"];
|
|
393
|
+
/** @description ID for Equipment ISG Type */
|
|
394
|
+
equipmentISGTypeId: components["parameters"]["EquipmentISGTypeId"];
|
|
395
|
+
/** @description ID for Equipment Model */
|
|
396
|
+
equipmentModelId: components["parameters"]["EquipmentModelId"];
|
|
397
|
+
};
|
|
398
|
+
cookie?: never;
|
|
399
|
+
};
|
|
400
|
+
/**
|
|
401
|
+
* Get equipment model by make id, ISG type id and model id
|
|
402
|
+
* @description This operation retrieves a single Equipment Model based on given makeId, isgTypeId and modelId.
|
|
403
|
+
*/
|
|
404
|
+
get: operations["getEquipmentModelsByMakeIdAndISGTypeIdAndModelId"];
|
|
405
|
+
put?: never;
|
|
406
|
+
post?: never;
|
|
407
|
+
delete?: never;
|
|
408
|
+
options?: never;
|
|
409
|
+
head?: never;
|
|
410
|
+
patch?: never;
|
|
411
|
+
trace?: never;
|
|
412
|
+
};
|
|
413
|
+
}
|
|
414
|
+
export type webhooks = Record<string, never>;
|
|
415
|
+
export interface components {
|
|
416
|
+
schemas: {
|
|
417
|
+
Error: {
|
|
418
|
+
/**
|
|
419
|
+
* @description An english description of the error
|
|
420
|
+
* @example <parameter> was invalid because <reason>
|
|
421
|
+
*/
|
|
422
|
+
message?: string;
|
|
423
|
+
/**
|
|
424
|
+
* @description A string constant representing the type of error
|
|
425
|
+
* @example 400
|
|
426
|
+
*/
|
|
427
|
+
code?: string;
|
|
428
|
+
/**
|
|
429
|
+
* @description The name of the property or parameter deemed invalid
|
|
430
|
+
* @example Machine.serialNumber
|
|
431
|
+
*/
|
|
432
|
+
field?: string;
|
|
433
|
+
/**
|
|
434
|
+
* Format: uuid
|
|
435
|
+
* @description A reference to this encounter of the error, for traceability and troubleshooting
|
|
436
|
+
* @example 9b331708-10e8-4e15-8097-a9aed7455d6d
|
|
437
|
+
*/
|
|
438
|
+
gud?: string;
|
|
439
|
+
/**
|
|
440
|
+
* @description The value that was supplied for this field in the request
|
|
441
|
+
* @example null
|
|
442
|
+
*/
|
|
443
|
+
invalidValue?: string;
|
|
444
|
+
};
|
|
445
|
+
Errors: components["schemas"]["Error"][];
|
|
446
|
+
/** Link */
|
|
447
|
+
link: {
|
|
448
|
+
/** @example nextPage */
|
|
449
|
+
rel?: string;
|
|
450
|
+
/**
|
|
451
|
+
* @description This will be the relative URL. Users will prefix the base url as per their requirements.
|
|
452
|
+
* @example /equipment?pageOffset=10&itemSize=10
|
|
453
|
+
*/
|
|
454
|
+
uri?: string;
|
|
455
|
+
};
|
|
456
|
+
/**
|
|
457
|
+
* EquipmentIsgType
|
|
458
|
+
* @description Represents the ISG type of equipment, including its name, unique identifier, category, deprecation status, and metadata.
|
|
459
|
+
* @example {
|
|
460
|
+
* "name": "Tractor",
|
|
461
|
+
* "ERID": "82115264-9385-460c-bfbe-177a59445fd9",
|
|
462
|
+
* "category": "Machine",
|
|
463
|
+
* "allowsCustomModel": true,
|
|
464
|
+
* "isgMarketSegment": "Agriculture",
|
|
465
|
+
* "deprecated": false,
|
|
466
|
+
* "recordMetaData": {
|
|
467
|
+
* "createdBy": "user123",
|
|
468
|
+
* "createdAt": "2023-10-01T12:00:00Z",
|
|
469
|
+
* "updatedBy": "user456",
|
|
470
|
+
* "updatedAt": "2023-10-02T12:00:00Z"
|
|
471
|
+
* }
|
|
472
|
+
* }
|
|
473
|
+
*/
|
|
474
|
+
"equipment-isg-type": {
|
|
475
|
+
"@type": "equipment-isg-type";
|
|
476
|
+
} & (Omit<components["schemas"]["resource"], "@type"> & {
|
|
477
|
+
/**
|
|
478
|
+
* @description The name of the ISG equipment type.
|
|
479
|
+
* @example Tractor
|
|
480
|
+
*/
|
|
481
|
+
name?: string;
|
|
482
|
+
/**
|
|
483
|
+
* @description Unique identifier for the ISG equipment type.
|
|
484
|
+
* @example 82115264-9385-460c-bfbe-177a59445fd9
|
|
485
|
+
*/
|
|
486
|
+
ERID?: string;
|
|
487
|
+
/**
|
|
488
|
+
* @description The category of the ISG equipment type.
|
|
489
|
+
* @example Machine
|
|
490
|
+
* @enum {string}
|
|
491
|
+
*/
|
|
492
|
+
category?: "Machine" | "Implement" | "Unknown";
|
|
493
|
+
/**
|
|
494
|
+
* @description Indicates if the equipment ISG type allows custom models.
|
|
495
|
+
* @example true
|
|
496
|
+
*/
|
|
497
|
+
allowsCustomModel?: boolean;
|
|
498
|
+
/**
|
|
499
|
+
* @description The ISG market segment of the equipment ISG type.
|
|
500
|
+
* @example Agriculture
|
|
501
|
+
* @enum {string}
|
|
502
|
+
*/
|
|
503
|
+
isgMarketSegment?: "Unknown" | "Agriculture" | "Construction" | "Engines & Components" | "Forestry" | "Turf";
|
|
504
|
+
/**
|
|
505
|
+
* @description Indicates if the ISG equipment type is deprecated.
|
|
506
|
+
* @example false
|
|
507
|
+
*/
|
|
508
|
+
deprecated?: boolean;
|
|
509
|
+
});
|
|
510
|
+
/**
|
|
511
|
+
* @description Data structure for record metadata capturing information about the creation and last update of an entity.
|
|
512
|
+
* For more information on Record Metadata visit [this confluence page](https://confluence.deere.com/x/eSGLDg).
|
|
513
|
+
* NOTES
|
|
514
|
+
* * Some attributes are only visible if the API Client has the required license.
|
|
515
|
+
* * Attributes dealing with modification will be null if the entity has been created but not modified. (Some legacy data may have set the create and modify timestamp at time of creation.)
|
|
516
|
+
*/
|
|
517
|
+
RecordMetadata: {
|
|
518
|
+
/**
|
|
519
|
+
* @default RecordMetadata
|
|
520
|
+
* @example RecordMetadata
|
|
521
|
+
*/
|
|
522
|
+
"@type": string;
|
|
523
|
+
/**
|
|
524
|
+
* @description User involved in creating the entity. Only viewable with the RECORD_METADATA license
|
|
525
|
+
* @example XYZ_USER
|
|
526
|
+
*/
|
|
527
|
+
createdByUser?: string;
|
|
528
|
+
/**
|
|
529
|
+
* @description User involved in modifying the entity. Only viewable with the RECORD_METADATA license
|
|
530
|
+
* @example XYZ_USER
|
|
531
|
+
*/
|
|
532
|
+
lastModifiedByUser?: string;
|
|
533
|
+
/**
|
|
534
|
+
* @description Timestamp of entity creation
|
|
535
|
+
* @example 2018-04-30T10:23:50.000Z
|
|
536
|
+
*/
|
|
537
|
+
readonly userCreationTimestamp?: string;
|
|
538
|
+
/**
|
|
539
|
+
* @description Timestamp of entity modification
|
|
540
|
+
* @example 2018-05-01T08:11:23.000Z
|
|
541
|
+
*/
|
|
542
|
+
readonly userLastModifiedTimestamp?: string;
|
|
543
|
+
/**
|
|
544
|
+
* Format: uuid
|
|
545
|
+
* @description This is the specific instance of an application that created the entity. At this time, it only applies
|
|
546
|
+
* to Displays. Only viewable with the RECORD_METADATA license.
|
|
547
|
+
* @example 0235d40e-02d0-44cb-a126-fff21173fc1f
|
|
548
|
+
*/
|
|
549
|
+
readonly createdBySourceNode?: string;
|
|
550
|
+
/**
|
|
551
|
+
* Format: uuid
|
|
552
|
+
* @description This is the specific instance of an application that modified the entity. At this time, it only applies
|
|
553
|
+
* to Displays. Only viewable with the RECORD_METADATA license
|
|
554
|
+
* @example 0235d40e-02d0-44cb-a126-fff21173fc1f
|
|
555
|
+
*/
|
|
556
|
+
readonly lastModifiedSourceNode?: string;
|
|
557
|
+
/**
|
|
558
|
+
* @description Derived off of a client key (application that created) via Application Registry lookup. The
|
|
559
|
+
* Application Registry ID for the Ops Center Unknown Application (43796410-2f2c-4321-a259-8dd8af04e973)
|
|
560
|
+
* will be used if no source application exists. Only viewable with the RECORD_METADATA license.
|
|
561
|
+
* @example https://api.deere.com/platform/connectedApplications/63bb4efd-0ec5-47d3-9092-7693909134f5
|
|
562
|
+
*/
|
|
563
|
+
readonly createdBySourceSystemUri?: string;
|
|
564
|
+
/**
|
|
565
|
+
* @description Derived off of a client key (application that did last modification) via Application Registry lookup. The
|
|
566
|
+
* Application Registry ID for the Ops Center Unknown Application (43796410-2f2c-4321-a259-8dd8af04e973)
|
|
567
|
+
* will be used if no source application exists. Only viewable with the RECORD_METADATA license.
|
|
568
|
+
* @example https://api.deere.com/platform/connectedApplications/63bb4efd-0ec5-47d3-9092-7693909134f5
|
|
569
|
+
*/
|
|
570
|
+
readonly lastModifiedBySourceSystemUri?: string;
|
|
571
|
+
};
|
|
572
|
+
/** Resource */
|
|
573
|
+
resourcewithoutLinks: {
|
|
574
|
+
/**
|
|
575
|
+
* @description Unique id
|
|
576
|
+
* @example 363997 | fcdc83cb-8840-4215-84b5-1769889db932
|
|
577
|
+
*/
|
|
578
|
+
id?: string;
|
|
579
|
+
/**
|
|
580
|
+
* @description Equipment | Machine | Implement | EquipmentType | EquipmentMake | EquipmentModel | Organization | TheftRecord | DecommissionRecord | WarrantyInformation | DeviceParameter | Other
|
|
581
|
+
* @example Equipment | Machine | Implement | EquipmentType | EquipmentMake | EquipmentModel | Organization | TheftRecord | DecommissionRecord | WarrantyInformation | DeviceParameter | Other
|
|
582
|
+
*/
|
|
583
|
+
"@type"?: string;
|
|
584
|
+
};
|
|
585
|
+
/** Resource */
|
|
586
|
+
resource: {
|
|
587
|
+
links?: components["schemas"]["link"][];
|
|
588
|
+
/**
|
|
589
|
+
* @description Unique id
|
|
590
|
+
* @example 363997 | fcdc83cb-8840-4215-84b5-1769889db932
|
|
591
|
+
*/
|
|
592
|
+
id?: string;
|
|
593
|
+
/**
|
|
594
|
+
* @description Equipment | Machine | Implement | MachineCharacteristics | ImplementCharacteristics | EquipmentType | EquipmentMake | EquipmentModel | Organization | TheftRecord | DecommissionRecord | WarrantyInformation | DeviceParameter | Other
|
|
595
|
+
* @example Equipment | Machine | Implement | MachineCharacteristics | ImplementCharacteristics | EquipmentType | EquipmentMake | EquipmentModel | Organization | TheftRecord | DecommissionRecord | WarrantyInformation | DeviceParameter | Other
|
|
596
|
+
*/
|
|
597
|
+
"@type"?: string;
|
|
598
|
+
};
|
|
599
|
+
/** Resource */
|
|
600
|
+
"resource-embed": {
|
|
601
|
+
/**
|
|
602
|
+
* @description Unique id
|
|
603
|
+
* @example 363997 | fcdc83cb-8840-4215-84b5-1769889db932
|
|
604
|
+
*/
|
|
605
|
+
id?: string;
|
|
606
|
+
/**
|
|
607
|
+
* @description Equipment | Machine | Implement | EquipmentType | EquipmentMake | EquipmentModel | Organization | TheftRecord | DecommissionRecord | WarrantyInformation | DeviceParameter | Other
|
|
608
|
+
* @example Equipment | Machine | Implement | EquipmentType | EquipmentMake | EquipmentModel | Organization | TheftRecord | DecommissionRecord | WarrantyInformation | DeviceParameter | Other
|
|
609
|
+
*/
|
|
610
|
+
"@type"?: string;
|
|
611
|
+
};
|
|
612
|
+
/** Resource */
|
|
613
|
+
"organization-embed": {
|
|
614
|
+
/**
|
|
615
|
+
* @description Unique id
|
|
616
|
+
* @example 363997 | fcdc83cb-8840-4215-84b5-1769889db932
|
|
617
|
+
*/
|
|
618
|
+
id?: string;
|
|
619
|
+
/**
|
|
620
|
+
* @description Resource
|
|
621
|
+
* @example Resource
|
|
622
|
+
*/
|
|
623
|
+
"@type"?: string;
|
|
624
|
+
};
|
|
625
|
+
/**
|
|
626
|
+
* EquipmentMake
|
|
627
|
+
* @description Represents the make of the equipment, including its name, unique identifier, and metadata.
|
|
628
|
+
*/
|
|
629
|
+
"equipment-make-embed": {
|
|
630
|
+
/**
|
|
631
|
+
* @description EquipmentMake
|
|
632
|
+
* @example EquipmentMake
|
|
633
|
+
*/
|
|
634
|
+
"@type"?: string;
|
|
635
|
+
/**
|
|
636
|
+
* @description Unique identifier for the equipment make.
|
|
637
|
+
* @example 1
|
|
638
|
+
*/
|
|
639
|
+
id?: string;
|
|
640
|
+
/**
|
|
641
|
+
* @description The name of the equipment make.
|
|
642
|
+
* @example JOHN DEERE
|
|
643
|
+
*/
|
|
644
|
+
name?: string;
|
|
645
|
+
/**
|
|
646
|
+
* @description Unique identifier for the equipment make.
|
|
647
|
+
* @example db18bdc4-025a-11eb-97e4-0e8d658c7ba3
|
|
648
|
+
*/
|
|
649
|
+
ERID?: string;
|
|
650
|
+
/**
|
|
651
|
+
* @description Indicates if the equipment make is certified.
|
|
652
|
+
* @example true
|
|
653
|
+
*/
|
|
654
|
+
certified?: boolean;
|
|
655
|
+
/**
|
|
656
|
+
* @description Indicates if the equipment make is deereOrSubsidiary.
|
|
657
|
+
* @example true
|
|
658
|
+
*/
|
|
659
|
+
deereOrSubsidiary?: boolean;
|
|
660
|
+
};
|
|
661
|
+
/**
|
|
662
|
+
* EquipmentMake
|
|
663
|
+
* @description Represents the make of the equipment, including its name, unique identifier, and metadata.
|
|
664
|
+
* @example {
|
|
665
|
+
* "id": 1,
|
|
666
|
+
* "name": "JOHN DEERE",
|
|
667
|
+
* "ERID": "db18bdc4-025a-11eb-97e4-0e8d658c7ba3",
|
|
668
|
+
* "certified": true,
|
|
669
|
+
* "deereOrSubsidiary": true,
|
|
670
|
+
* "deprecated": false,
|
|
671
|
+
* "recordMetaData": {
|
|
672
|
+
* "createdBy": "user123",
|
|
673
|
+
* "createdAt": "2023-10-01T12:00:00Z",
|
|
674
|
+
* "updatedBy": "user456",
|
|
675
|
+
* "updatedAt": "2023-10-02T12:00:00Z"
|
|
676
|
+
* }
|
|
677
|
+
* }
|
|
678
|
+
*/
|
|
679
|
+
"equipment-make": {
|
|
680
|
+
"@type": "equipment-make";
|
|
681
|
+
} & (Omit<components["schemas"]["resource"], "@type"> & {
|
|
682
|
+
/**
|
|
683
|
+
* @description The name of the equipment make.
|
|
684
|
+
* @example JOHN DEERE
|
|
685
|
+
*/
|
|
686
|
+
name?: string;
|
|
687
|
+
/**
|
|
688
|
+
* @description Unique identifier for the equipment make.
|
|
689
|
+
* @example db18bdc4-025a-11eb-97e4-0e8d658c7ba3
|
|
690
|
+
*/
|
|
691
|
+
ERID?: string;
|
|
692
|
+
/**
|
|
693
|
+
* @description Indicates if the equipment make is certified.
|
|
694
|
+
* @example true
|
|
695
|
+
*/
|
|
696
|
+
certified?: boolean;
|
|
697
|
+
/**
|
|
698
|
+
* @description Indicates if the equipment make is deereOrSubsidiary.
|
|
699
|
+
* @example true
|
|
700
|
+
*/
|
|
701
|
+
deereOrSubsidiary?: boolean;
|
|
702
|
+
/**
|
|
703
|
+
* @description Indicates if the equipment make is deprecated.
|
|
704
|
+
* @example false
|
|
705
|
+
*/
|
|
706
|
+
deprecated?: boolean;
|
|
707
|
+
});
|
|
708
|
+
/**
|
|
709
|
+
* EquipmentType
|
|
710
|
+
* @deprecated
|
|
711
|
+
* @description Represents the type of equipment, including its name, unique identifier, category, certification status, market segment, icon, deprecation status, and metadata.
|
|
712
|
+
* @example {
|
|
713
|
+
* "id": 217,
|
|
714
|
+
* "name": "Two-wheel Drive Tractors - 140 Hp And Above",
|
|
715
|
+
* "ERID": "82115264-9385-460c-bfbe-177a59445fd9",
|
|
716
|
+
* "category": "Machine",
|
|
717
|
+
* "certified": true,
|
|
718
|
+
* "marketSegment": "Agriculture",
|
|
719
|
+
* "icon": {
|
|
720
|
+
* "url": "https://example.com/icon.png",
|
|
721
|
+
* "description": "Icon representing the equipment type"
|
|
722
|
+
* },
|
|
723
|
+
* "deprecated": false,
|
|
724
|
+
* "allowsCustomModel": true,
|
|
725
|
+
* "recordMetaData": {
|
|
726
|
+
* "createdBy": "user123",
|
|
727
|
+
* "createdAt": "2023-10-01T12:00:00Z",
|
|
728
|
+
* "updatedBy": "user456",
|
|
729
|
+
* "updatedAt": "2023-10-02T12:00:00Z"
|
|
730
|
+
* }
|
|
731
|
+
* }
|
|
732
|
+
*/
|
|
733
|
+
"equipment-type": {
|
|
734
|
+
"@type": "equipment-type";
|
|
735
|
+
} & (Omit<components["schemas"]["resource"], "@type"> & {
|
|
736
|
+
/**
|
|
737
|
+
* @description The name of the equipment type.
|
|
738
|
+
* @example Two-wheel Drive Tractors - 140 Hp And Above
|
|
739
|
+
*/
|
|
740
|
+
name?: string;
|
|
741
|
+
/**
|
|
742
|
+
* @description Unique identifier for the equipment type.
|
|
743
|
+
* @example 82115264-9385-460c-bfbe-177a59445fd9
|
|
744
|
+
*/
|
|
745
|
+
ERID?: string;
|
|
746
|
+
/**
|
|
747
|
+
* @description The category of the equipment type.
|
|
748
|
+
* @example Machine
|
|
749
|
+
* @enum {string}
|
|
750
|
+
*/
|
|
751
|
+
category?: "Machine" | "Implement" | "Unknown";
|
|
752
|
+
/**
|
|
753
|
+
* @description Indicates if the equipment type is certified.
|
|
754
|
+
* @example true
|
|
755
|
+
*/
|
|
756
|
+
certified?: boolean;
|
|
757
|
+
/**
|
|
758
|
+
* @description Indicates if the equipment type allows custom models.
|
|
759
|
+
* @example true
|
|
760
|
+
*/
|
|
761
|
+
allowsCustomModel?: boolean;
|
|
762
|
+
/**
|
|
763
|
+
* @description The market segment of the equipment type.
|
|
764
|
+
* @example Agriculture
|
|
765
|
+
* @enum {string}
|
|
766
|
+
*/
|
|
767
|
+
marketSegment?: "Unknown" | "Agriculture" | "Commercial Worksite Products" | "Construction" | "Engines & Components" | "Forestry" | "Mining" | "Turf";
|
|
768
|
+
icon?: components["schemas"]["equipment-icon"];
|
|
769
|
+
/**
|
|
770
|
+
* @description Indicates if the equipment type is deprecated.
|
|
771
|
+
* @example false
|
|
772
|
+
*/
|
|
773
|
+
deprecated?: boolean;
|
|
774
|
+
});
|
|
775
|
+
/**
|
|
776
|
+
* EquipmentType
|
|
777
|
+
* @description Represents the type of equipment, including its name, unique identifier, category, certification status, market segment, icon, deprecation status, and metadata.
|
|
778
|
+
*/
|
|
779
|
+
"equipment-type-embed": {
|
|
780
|
+
/**
|
|
781
|
+
* @description EquipmentType
|
|
782
|
+
* @example EquipmentType
|
|
783
|
+
*/
|
|
784
|
+
"@type"?: string;
|
|
785
|
+
/**
|
|
786
|
+
* @description Unique identifier for the equipment type.
|
|
787
|
+
* @example 222
|
|
788
|
+
*/
|
|
789
|
+
id?: string;
|
|
790
|
+
/**
|
|
791
|
+
* @description The name of the equipment type.
|
|
792
|
+
* @example Combine
|
|
793
|
+
*/
|
|
794
|
+
name?: string;
|
|
795
|
+
/**
|
|
796
|
+
* @description Unique identifier for the equipment type.
|
|
797
|
+
* @example 80619ff7-11fa-11ee-bb58-0e5cd6a962d7
|
|
798
|
+
*/
|
|
799
|
+
ERID?: string;
|
|
800
|
+
};
|
|
801
|
+
/**
|
|
802
|
+
* IconStyle
|
|
803
|
+
* @description icon style
|
|
804
|
+
*/
|
|
805
|
+
"icon-style": {
|
|
806
|
+
/** @description primary color of the icon style */
|
|
807
|
+
primaryColor?: string;
|
|
808
|
+
/** @description secondary color of the icon style */
|
|
809
|
+
secondaryColor?: string;
|
|
810
|
+
};
|
|
811
|
+
/** EquipmentIcon */
|
|
812
|
+
"equipment-icon": {
|
|
813
|
+
"@type": "equipment-icon";
|
|
814
|
+
} & (Omit<components["schemas"]["resource"], "@type"> & {
|
|
815
|
+
/**
|
|
816
|
+
* @description The name of the equipment icon.
|
|
817
|
+
* @example JOHN DEERE
|
|
818
|
+
*/
|
|
819
|
+
name?: string;
|
|
820
|
+
iconStyle?: components["schemas"]["icon-style"];
|
|
821
|
+
});
|
|
822
|
+
/** EquipmentModel */
|
|
823
|
+
"equipment-model-details": {
|
|
824
|
+
/** @example 8360R */
|
|
825
|
+
name?: string;
|
|
826
|
+
/** @example 158df9ff-334a-4e0d-86cc-3adca17a9686 */
|
|
827
|
+
ERID?: string;
|
|
828
|
+
/** @enum {string} */
|
|
829
|
+
category?: "Machine" | "Implement" | "Unknown";
|
|
830
|
+
make?: components["schemas"]["equipment-make-embed"];
|
|
831
|
+
type?: components["schemas"]["equipment-type-embed"];
|
|
832
|
+
icon?: components["schemas"]["equipment-icon"];
|
|
833
|
+
};
|
|
834
|
+
/**
|
|
835
|
+
* EquipmentISGType
|
|
836
|
+
* @description Represents the ISG type of equipment, including its name, unique identifier, category, deprecation status, and metadata.
|
|
837
|
+
*/
|
|
838
|
+
"equipment-isg-type-embed": {
|
|
839
|
+
/**
|
|
840
|
+
* @description EquipmentISGType
|
|
841
|
+
* @example EquipmentISGType
|
|
842
|
+
*/
|
|
843
|
+
"@type"?: string;
|
|
844
|
+
/**
|
|
845
|
+
* @description Unique identifier for the ISG equipment type.
|
|
846
|
+
* @example 2
|
|
847
|
+
*/
|
|
848
|
+
id?: string;
|
|
849
|
+
/**
|
|
850
|
+
* @description The name of the ISG equipment type.
|
|
851
|
+
* @example Combine
|
|
852
|
+
*/
|
|
853
|
+
name?: string;
|
|
854
|
+
/**
|
|
855
|
+
* @description Unique identifier for the ISG equipment type.
|
|
856
|
+
* @example d8dce5b0-cc8d-4c34-afac-27d93793bd86
|
|
857
|
+
*/
|
|
858
|
+
ERID?: string;
|
|
859
|
+
};
|
|
860
|
+
/**
|
|
861
|
+
* EquipmentModel
|
|
862
|
+
* @description Represents the model of the equipment, including its name, unique identifier, category, certification status, make, type, ISG type, icon, deprecation status, and metadata.
|
|
863
|
+
* @example {
|
|
864
|
+
* "name": "8360R",
|
|
865
|
+
* "ERID": "158df9ff-334a-4e0d-86cc-3adca17a9686",
|
|
866
|
+
* "category": "Machine",
|
|
867
|
+
* "deprecated": false,
|
|
868
|
+
* "certified": false,
|
|
869
|
+
* "make": {
|
|
870
|
+
* "name": "JOHN DEERE",
|
|
871
|
+
* "ERID": "db18bdc4-025a-11eb-97e4-0e8d658c7ba3",
|
|
872
|
+
* "deprecated": false,
|
|
873
|
+
* "recordMetaData": {
|
|
874
|
+
* "createdBy": "user123",
|
|
875
|
+
* "createdAt": "2023-10-01T12:00:00Z",
|
|
876
|
+
* "updatedBy": "user456",
|
|
877
|
+
* "updatedAt": "2023-10-02T12:00:00Z"
|
|
878
|
+
* }
|
|
879
|
+
* },
|
|
880
|
+
* "type": {
|
|
881
|
+
* "name": "Two-wheel Drive Tractors - 140 Hp And Above",
|
|
882
|
+
* "ERID": "82115264-9385-460c-bfbe-177a59445fd9",
|
|
883
|
+
* "category": "Machine",
|
|
884
|
+
* "certified": true,
|
|
885
|
+
* "marketSegment": "Agriculture",
|
|
886
|
+
* "icon": {
|
|
887
|
+
* "url": "https://example.com/icon.png",
|
|
888
|
+
* "description": "Icon representing the equipment type"
|
|
889
|
+
* },
|
|
890
|
+
* "deprecated": false,
|
|
891
|
+
* "recordMetaData": {
|
|
892
|
+
* "createdBy": "user123",
|
|
893
|
+
* "createdAt": "2023-10-01T12:00:00Z",
|
|
894
|
+
* "updatedBy": "user456",
|
|
895
|
+
* "updatedAt": "2023-10-02T12:00:00Z"
|
|
896
|
+
* }
|
|
897
|
+
* },
|
|
898
|
+
* "isgType": {
|
|
899
|
+
* "name": "Tractor",
|
|
900
|
+
* "ERID": "82115264-9385-460c-bfbe-177a59445fd9",
|
|
901
|
+
* "category": "Machine",
|
|
902
|
+
* "deprecated": false,
|
|
903
|
+
* "recordMetaData": {
|
|
904
|
+
* "createdBy": "user123",
|
|
905
|
+
* "createdAt": "2023-10-01T12:00:00Z",
|
|
906
|
+
* "updatedBy": "user456",
|
|
907
|
+
* "updatedAt": "2023-10-02T12:00:00Z"
|
|
908
|
+
* }
|
|
909
|
+
* },
|
|
910
|
+
* "icon": {
|
|
911
|
+
* "url": "https://example.com/icon.png",
|
|
912
|
+
* "description": "Icon representing the equipment model"
|
|
913
|
+
* },
|
|
914
|
+
* "recordMetaData": {
|
|
915
|
+
* "createdBy": "user123",
|
|
916
|
+
* "createdAt": "2023-10-01T12:00:00Z",
|
|
917
|
+
* "updatedBy": "user456",
|
|
918
|
+
* "updatedAt": "2023-10-02T12:00:00Z"
|
|
919
|
+
* }
|
|
920
|
+
* }
|
|
921
|
+
*/
|
|
922
|
+
"equipment-model": {
|
|
923
|
+
"@type": "equipment-model";
|
|
924
|
+
} & (Omit<components["schemas"]["resource"], "@type"> & {
|
|
925
|
+
/**
|
|
926
|
+
* @description The name of the equipment model.
|
|
927
|
+
* @example 8360R
|
|
928
|
+
*/
|
|
929
|
+
name?: string;
|
|
930
|
+
/**
|
|
931
|
+
* @description Unique identifier for the equipment model.
|
|
932
|
+
* @example 158df9ff-334a-4e0d-86cc-3adca17a9686
|
|
933
|
+
*/
|
|
934
|
+
ERID?: string;
|
|
935
|
+
/**
|
|
936
|
+
* @description The category of the equipment model.
|
|
937
|
+
* @example Machine
|
|
938
|
+
* @enum {string}
|
|
939
|
+
*/
|
|
940
|
+
category?: "Machine" | "Implement" | "Unknown";
|
|
941
|
+
/**
|
|
942
|
+
* @description Indicates if the equipment model is deprecated.
|
|
943
|
+
* @example false
|
|
944
|
+
*/
|
|
945
|
+
deprecated?: boolean;
|
|
946
|
+
/**
|
|
947
|
+
* @description Indicates if the equipment model is certified.
|
|
948
|
+
* @example false
|
|
949
|
+
*/
|
|
950
|
+
certified?: boolean;
|
|
951
|
+
make?: components["schemas"]["equipment-make"];
|
|
952
|
+
type?: components["schemas"]["equipment-type"];
|
|
953
|
+
isgType?: components["schemas"]["equipment-isg-type"];
|
|
954
|
+
});
|
|
955
|
+
/**
|
|
956
|
+
* EquipmentModel
|
|
957
|
+
* @description Represents the model of the equipment, including its name, unique identifier, category, certification status, make, type, ISG type, icon, deprecation status, and metadata.
|
|
958
|
+
*/
|
|
959
|
+
"equipment-model-embed": {
|
|
960
|
+
/**
|
|
961
|
+
* @description EquipmentModel
|
|
962
|
+
* @example EquipmentModel
|
|
963
|
+
*/
|
|
964
|
+
"@type"?: string;
|
|
965
|
+
/**
|
|
966
|
+
* @description Unique identifier for the equipment model.
|
|
967
|
+
* @example 65985
|
|
968
|
+
*/
|
|
969
|
+
id?: string;
|
|
970
|
+
/**
|
|
971
|
+
* @description The name of the equipment model.
|
|
972
|
+
* @example S680
|
|
973
|
+
*/
|
|
974
|
+
name?: string;
|
|
975
|
+
/**
|
|
976
|
+
* @description Unique identifier for the equipment model.
|
|
977
|
+
* @example f2e7d596-35c6-11e7-af34-123e49453e98
|
|
978
|
+
*/
|
|
979
|
+
ERID?: string;
|
|
980
|
+
/**
|
|
981
|
+
* @description Indicates if the equipment model is certified.
|
|
982
|
+
* @example true
|
|
983
|
+
*/
|
|
984
|
+
certified?: boolean;
|
|
985
|
+
};
|
|
986
|
+
/**
|
|
987
|
+
* EquipmentModel
|
|
988
|
+
* @description Represents the model of the equipment, including its name, unique identifier, category, certification status, make, type, ISG type, icon, deprecation status, and metadata.
|
|
989
|
+
* @example {
|
|
990
|
+
* "name": "8360R",
|
|
991
|
+
* "ERID": "158df9ff-334a-4e0d-86cc-3adca17a9686",
|
|
992
|
+
* "category": "Machine",
|
|
993
|
+
* "certified": false
|
|
994
|
+
* }
|
|
995
|
+
*/
|
|
996
|
+
"equipment-model-no-embed": {
|
|
997
|
+
"@type": "equipment-model-no-embed";
|
|
998
|
+
} & (Omit<components["schemas"]["resource"], "@type"> & {
|
|
999
|
+
/**
|
|
1000
|
+
* @description The name of the equipment model.
|
|
1001
|
+
* @example 8360R
|
|
1002
|
+
*/
|
|
1003
|
+
name?: string;
|
|
1004
|
+
/**
|
|
1005
|
+
* @description Unique identifier for the equipment model.
|
|
1006
|
+
* @example 158df9ff-334a-4e0d-86cc-3adca17a9686
|
|
1007
|
+
*/
|
|
1008
|
+
ERID?: string;
|
|
1009
|
+
/**
|
|
1010
|
+
* @description The category of the equipment model.
|
|
1011
|
+
* @example Machine
|
|
1012
|
+
* @enum {string}
|
|
1013
|
+
*/
|
|
1014
|
+
category?: "Machine" | "Implement" | "Unknown";
|
|
1015
|
+
/**
|
|
1016
|
+
* @description Indicates if the equipment model is certified.
|
|
1017
|
+
* @example false
|
|
1018
|
+
*/
|
|
1019
|
+
certified?: boolean;
|
|
1020
|
+
});
|
|
1021
|
+
/**
|
|
1022
|
+
* Identifier of Equipment
|
|
1023
|
+
* @description Identifier of the Equipment like DE-13, DE-17, ERID...
|
|
1024
|
+
*/
|
|
1025
|
+
identifier: Record<string, never> & {
|
|
1026
|
+
/**
|
|
1027
|
+
* @description Type of identifier.
|
|
1028
|
+
* @enum {string}
|
|
1029
|
+
*/
|
|
1030
|
+
type: "serialNumber" | "ERID";
|
|
1031
|
+
/**
|
|
1032
|
+
* @description Value of identifier.
|
|
1033
|
+
* @example RW8360R055358
|
|
1034
|
+
*/
|
|
1035
|
+
value: string;
|
|
1036
|
+
};
|
|
1037
|
+
/**
|
|
1038
|
+
* OrganizationRole
|
|
1039
|
+
* @description Represents the role of an organization, including its type, effective timestamp, and event.
|
|
1040
|
+
* @example {
|
|
1041
|
+
* "type": "Controlling",
|
|
1042
|
+
* "effectiveTS": "2023-10-01T12:00:00Z",
|
|
1043
|
+
* "event": "CREATION"
|
|
1044
|
+
* }
|
|
1045
|
+
*/
|
|
1046
|
+
"organization-role": {
|
|
1047
|
+
/**
|
|
1048
|
+
* @description The type of the organization role.
|
|
1049
|
+
* @example Controlling
|
|
1050
|
+
* @enum {string}
|
|
1051
|
+
*/
|
|
1052
|
+
type?: "Controlling" | "NonControlling";
|
|
1053
|
+
/**
|
|
1054
|
+
* Format: date-time
|
|
1055
|
+
* @description The timestamp when the role becomes effective.
|
|
1056
|
+
* @example 2023-10-01T12:00:00Z
|
|
1057
|
+
*/
|
|
1058
|
+
effectiveTS?: string;
|
|
1059
|
+
/**
|
|
1060
|
+
* @description The event associated with the organization role.
|
|
1061
|
+
* @example CREATION
|
|
1062
|
+
* @enum {string}
|
|
1063
|
+
*/
|
|
1064
|
+
event?: "CREATION" | "TRANSFER" | "SUBSCRIPTION" | "PAIRING" | "ORDER" | "COMMANDED" | "DECOMMISSION";
|
|
1065
|
+
/** @example true */
|
|
1066
|
+
inPossession?: boolean;
|
|
1067
|
+
};
|
|
1068
|
+
/** AbstractMeasurement */
|
|
1069
|
+
abstractMeasurement: {
|
|
1070
|
+
type?: string;
|
|
1071
|
+
unit?: string;
|
|
1072
|
+
};
|
|
1073
|
+
/**
|
|
1074
|
+
* MeasurementAsDouble
|
|
1075
|
+
* @description measurement as double
|
|
1076
|
+
*/
|
|
1077
|
+
measurementAsDouble: components["schemas"]["abstractMeasurement"] & {
|
|
1078
|
+
/** @description type of measurement */
|
|
1079
|
+
type?: string;
|
|
1080
|
+
/** @description unit of measurement */
|
|
1081
|
+
unit?: string;
|
|
1082
|
+
/**
|
|
1083
|
+
* Format: double
|
|
1084
|
+
* @description measurement value as double
|
|
1085
|
+
*/
|
|
1086
|
+
valueAsDouble?: number;
|
|
1087
|
+
};
|
|
1088
|
+
/** VariableRepresentationValue */
|
|
1089
|
+
variableRepresentationValue: {
|
|
1090
|
+
variable?: components["schemas"]["measurementAsDouble"];
|
|
1091
|
+
};
|
|
1092
|
+
/**
|
|
1093
|
+
* MeasurementAsString
|
|
1094
|
+
* @description measurement as string
|
|
1095
|
+
*/
|
|
1096
|
+
measurementAsString: components["schemas"]["abstractMeasurement"] & {
|
|
1097
|
+
/** @description type of measurement */
|
|
1098
|
+
type?: string;
|
|
1099
|
+
/** @description unit of measurement */
|
|
1100
|
+
unit?: string;
|
|
1101
|
+
/** @description measurement value as string */
|
|
1102
|
+
valueAsString?: string;
|
|
1103
|
+
};
|
|
1104
|
+
/** DefinedTypeRepresentationValue */
|
|
1105
|
+
definedTypeRepresentationValue: {
|
|
1106
|
+
value?: components["schemas"]["measurementAsString"];
|
|
1107
|
+
};
|
|
1108
|
+
/**
|
|
1109
|
+
* Offsets
|
|
1110
|
+
* @description Represents the offsets of a device, including its variable and defined type representation values.
|
|
1111
|
+
*/
|
|
1112
|
+
offsets: {
|
|
1113
|
+
"@type": "offsets";
|
|
1114
|
+
} & (Omit<components["schemas"]["resource-embed"], "@type"> & {
|
|
1115
|
+
/**
|
|
1116
|
+
* @description Offsets
|
|
1117
|
+
* @example Offsets
|
|
1118
|
+
* @enum {string}
|
|
1119
|
+
*/
|
|
1120
|
+
"@type"?: "Offsets";
|
|
1121
|
+
variableRepresentationValues?: components["schemas"]["variableRepresentationValue"][];
|
|
1122
|
+
definedTypeRepresentationValues?: components["schemas"]["definedTypeRepresentationValue"][];
|
|
1123
|
+
});
|
|
1124
|
+
/**
|
|
1125
|
+
* DeviceMake
|
|
1126
|
+
* @description Represents the make of a device, including its name and unique identifier (ERID).
|
|
1127
|
+
* @example {
|
|
1128
|
+
* "name": "JOHN DEERE",
|
|
1129
|
+
* "ERID": "db18bdc4-025a-11eb-97e4-0e8d658c7ba3"
|
|
1130
|
+
* }
|
|
1131
|
+
*/
|
|
1132
|
+
"device-make": {
|
|
1133
|
+
"@type": "device-make";
|
|
1134
|
+
} & (Omit<components["schemas"]["resource-embed"], "@type"> & {
|
|
1135
|
+
/**
|
|
1136
|
+
* @description DeviceMake
|
|
1137
|
+
* @example DeviceMake
|
|
1138
|
+
* @enum {string}
|
|
1139
|
+
*/
|
|
1140
|
+
"@type"?: "DeviceMake";
|
|
1141
|
+
/**
|
|
1142
|
+
* @description The name of the device make.
|
|
1143
|
+
* @example JOHN DEERE
|
|
1144
|
+
*/
|
|
1145
|
+
name?: string;
|
|
1146
|
+
/**
|
|
1147
|
+
* @description Unique identifier of the device make.
|
|
1148
|
+
* @example db18bdc4-025a-11eb-97e4-0e8d658c7ba3
|
|
1149
|
+
*/
|
|
1150
|
+
ERID?: string;
|
|
1151
|
+
});
|
|
1152
|
+
/**
|
|
1153
|
+
* DeviceType
|
|
1154
|
+
* @description Represents the type of a device, including its name, common name, and unique identifier (ERID).
|
|
1155
|
+
* @example {
|
|
1156
|
+
* "name": "Modem",
|
|
1157
|
+
* "commonName": "TelematicsGateway",
|
|
1158
|
+
* "ERID": "db18bdc4-025a-11eb-97e4-0e8d658c7ba3"
|
|
1159
|
+
* }
|
|
1160
|
+
*/
|
|
1161
|
+
"device-type": {
|
|
1162
|
+
"@type": "device-type";
|
|
1163
|
+
} & (Omit<components["schemas"]["resource-embed"], "@type"> & {
|
|
1164
|
+
/**
|
|
1165
|
+
* @description DeviceType
|
|
1166
|
+
* @example DeviceType
|
|
1167
|
+
* @enum {string}
|
|
1168
|
+
*/
|
|
1169
|
+
"@type"?: "DeviceType";
|
|
1170
|
+
/**
|
|
1171
|
+
* @description The name of the device type.
|
|
1172
|
+
* @example Modem
|
|
1173
|
+
*/
|
|
1174
|
+
name?: string;
|
|
1175
|
+
/**
|
|
1176
|
+
* @description The common name of the device type.
|
|
1177
|
+
* @example TelematicsGateway
|
|
1178
|
+
*/
|
|
1179
|
+
commonName?: string;
|
|
1180
|
+
/**
|
|
1181
|
+
* @description Unique identifier of the device type.
|
|
1182
|
+
* @example db18bdc4-025a-11eb-97e4-0e8d658c7ba3
|
|
1183
|
+
*/
|
|
1184
|
+
ERID?: string;
|
|
1185
|
+
});
|
|
1186
|
+
/**
|
|
1187
|
+
* DeviceModel
|
|
1188
|
+
* @description Represents the model of a device, including its name, unique identifier (ERID), make, and type.
|
|
1189
|
+
* @example {
|
|
1190
|
+
* "name": "JDLink Modem-4G",
|
|
1191
|
+
* "ERID": "db18bdc4-025a-11eb-97e4-0e8d658c7ba3",
|
|
1192
|
+
* "make": {
|
|
1193
|
+
* "name": "JOHN DEERE",
|
|
1194
|
+
* "ERID": "db18bdc4-025a-11eb-97e4-0e8d658c7ba3"
|
|
1195
|
+
* },
|
|
1196
|
+
* "type": {
|
|
1197
|
+
* "name": "Modem",
|
|
1198
|
+
* "commonName": "TelematicsGateway",
|
|
1199
|
+
* "ERID": "db18bdc4-025a-11eb-97e4-0e8d658c7ba3"
|
|
1200
|
+
* }
|
|
1201
|
+
* }
|
|
1202
|
+
*/
|
|
1203
|
+
"device-model": {
|
|
1204
|
+
"@type": "device-model";
|
|
1205
|
+
} & (Omit<components["schemas"]["resource-embed"], "@type"> & {
|
|
1206
|
+
/**
|
|
1207
|
+
* @description DeviceModel
|
|
1208
|
+
* @example DeviceModel
|
|
1209
|
+
* @enum {string}
|
|
1210
|
+
*/
|
|
1211
|
+
"@type"?: "DeviceModel";
|
|
1212
|
+
/**
|
|
1213
|
+
* @description The name of the device model.
|
|
1214
|
+
* @example JDLink Modem-4G
|
|
1215
|
+
*/
|
|
1216
|
+
name?: string;
|
|
1217
|
+
/**
|
|
1218
|
+
* @description Unique identifier of the device model.
|
|
1219
|
+
* @example db18bdc4-025a-11eb-97e4-0e8d658c7ba3
|
|
1220
|
+
*/
|
|
1221
|
+
ERID?: string;
|
|
1222
|
+
make?: components["schemas"]["device-make"];
|
|
1223
|
+
type?: components["schemas"]["device-type"];
|
|
1224
|
+
});
|
|
1225
|
+
/**
|
|
1226
|
+
* Version
|
|
1227
|
+
* @description Represents the version of a device or software, including its name.
|
|
1228
|
+
* @example {
|
|
1229
|
+
* "name": "3.16.1171"
|
|
1230
|
+
* }
|
|
1231
|
+
*/
|
|
1232
|
+
version: {
|
|
1233
|
+
"@type": "version";
|
|
1234
|
+
} & (Omit<components["schemas"]["resource-embed"], "@type"> & {
|
|
1235
|
+
/**
|
|
1236
|
+
* @description Version
|
|
1237
|
+
* @example Version
|
|
1238
|
+
* @enum {string}
|
|
1239
|
+
*/
|
|
1240
|
+
"@type"?: "Version";
|
|
1241
|
+
/**
|
|
1242
|
+
* @description The name of the version.
|
|
1243
|
+
* @example 3.16.1171
|
|
1244
|
+
*/
|
|
1245
|
+
name?: string;
|
|
1246
|
+
});
|
|
1247
|
+
/** InabilityDetail */
|
|
1248
|
+
"inability-detail": {
|
|
1249
|
+
"@type": "inability-detail";
|
|
1250
|
+
} & (Omit<components["schemas"]["resource"], "@type"> & {
|
|
1251
|
+
/** @example RC14.8.1 */
|
|
1252
|
+
code?: string;
|
|
1253
|
+
/** @example REGISTRATION */
|
|
1254
|
+
type?: string;
|
|
1255
|
+
/** @example SIM registration is required */
|
|
1256
|
+
description?: string;
|
|
1257
|
+
});
|
|
1258
|
+
/**
|
|
1259
|
+
* Capability
|
|
1260
|
+
* @description List of capabilities of the equipment.
|
|
1261
|
+
*/
|
|
1262
|
+
capability: {
|
|
1263
|
+
"@type": "capability";
|
|
1264
|
+
} & (Omit<components["schemas"]["resource-embed"], "@type"> & {
|
|
1265
|
+
/**
|
|
1266
|
+
* @description Capability
|
|
1267
|
+
* @example Capability
|
|
1268
|
+
* @enum {string}
|
|
1269
|
+
*/
|
|
1270
|
+
"@type"?: "Capability";
|
|
1271
|
+
capable?: boolean;
|
|
1272
|
+
/** @enum {string} */
|
|
1273
|
+
type?: "JDLINK_CONNECTIVITY" | "RDA" | "WDT" | "WIFI_CONNECTIVITY" | "CUSTOMER_SIM_CONNECTIVITY" | "LEGACY_CONNECTIVITY" | "PLANNED_WORK" | "DATA_SYNC_SETUP" | "CH_REMOTE_ADJUST" | "BASE_STATION" | "MY_MACHINE" | "RDC" | "REMOTE_START";
|
|
1274
|
+
inabilityDetails?: components["schemas"]["inability-detail"][];
|
|
1275
|
+
});
|
|
1276
|
+
/**
|
|
1277
|
+
* Equipment
|
|
1278
|
+
* @description Represents the equipment, including its name, serial number, model year, make, type, ISG type, model, organization, telematics capability, and various other attributes.
|
|
1279
|
+
*/
|
|
1280
|
+
equipmentForList: {
|
|
1281
|
+
"@type": "equipmentForList";
|
|
1282
|
+
} & (Omit<components["schemas"]["resource"], "@type"> & {
|
|
1283
|
+
/**
|
|
1284
|
+
* @description Equipment | Machine | Implement
|
|
1285
|
+
* @example Equipment
|
|
1286
|
+
* @enum {string}
|
|
1287
|
+
*/
|
|
1288
|
+
"@type"?: "Equipment" | "Machine" | "Implement";
|
|
1289
|
+
/**
|
|
1290
|
+
* @description Equipment Name.
|
|
1291
|
+
* @example Cates 8360R 055358
|
|
1292
|
+
*/
|
|
1293
|
+
name?: string;
|
|
1294
|
+
/**
|
|
1295
|
+
* @description Unique 64-bit ISO NAME used to identify the controller during address claim.
|
|
1296
|
+
* @example b00082000422ed1d
|
|
1297
|
+
*/
|
|
1298
|
+
isoName?: string;
|
|
1299
|
+
/**
|
|
1300
|
+
* @description Serial Number of the Equipment and passed on the query parameter
|
|
1301
|
+
* @example 1RW8360RLCD055358
|
|
1302
|
+
*/
|
|
1303
|
+
serialNumber?: string;
|
|
1304
|
+
/**
|
|
1305
|
+
* @description VIN or PIN, more than Serial Number, of the Engine.
|
|
1306
|
+
* @example RG6090L839275
|
|
1307
|
+
*/
|
|
1308
|
+
engineSerialNumber?: string;
|
|
1309
|
+
/**
|
|
1310
|
+
* @description True if this is an official equipment (we have PI information about it).
|
|
1311
|
+
* @example true
|
|
1312
|
+
*/
|
|
1313
|
+
isSerialNumberCertified?: boolean;
|
|
1314
|
+
/**
|
|
1315
|
+
* @description Year of model.
|
|
1316
|
+
* @example 2019
|
|
1317
|
+
*/
|
|
1318
|
+
modelYear?: string;
|
|
1319
|
+
make?: components["schemas"]["equipment-make-embed"];
|
|
1320
|
+
type?: components["schemas"]["equipment-type-embed"];
|
|
1321
|
+
isgType?: components["schemas"]["equipment-isg-type-embed"];
|
|
1322
|
+
model?: components["schemas"]["equipment-model-embed"];
|
|
1323
|
+
organization?: components["schemas"]["organization-embed"];
|
|
1324
|
+
/**
|
|
1325
|
+
* @description Indicates if the equipment is capable of telematics.
|
|
1326
|
+
* @example true
|
|
1327
|
+
*/
|
|
1328
|
+
telematicsCapable?: boolean;
|
|
1329
|
+
/**
|
|
1330
|
+
* @description Indicates if the equipment is archived.
|
|
1331
|
+
* @example true
|
|
1332
|
+
*/
|
|
1333
|
+
archived?: boolean;
|
|
1334
|
+
/**
|
|
1335
|
+
* @description Unique id for principal equipment
|
|
1336
|
+
* @example 12345
|
|
1337
|
+
*/
|
|
1338
|
+
principalId?: string;
|
|
1339
|
+
organizationRole?: components["schemas"]["organization-role"];
|
|
1340
|
+
/**
|
|
1341
|
+
* @description Unique identifier of the Equipment.
|
|
1342
|
+
* @example fcdc83cb-8840-4215-84b5-1769889db932
|
|
1343
|
+
*/
|
|
1344
|
+
ERID?: string;
|
|
1345
|
+
/** @description List of alternate identifiers of the Equipment like DE-13, DE-17, ERID... */
|
|
1346
|
+
alternateIdentifiers?: components["schemas"]["identifier"][];
|
|
1347
|
+
icon?: components["schemas"]["equipment-icon"];
|
|
1348
|
+
/** @description List of devices paired with the equipment. */
|
|
1349
|
+
devices?: components["schemas"]["device"][];
|
|
1350
|
+
pairingDetails?: components["schemas"]["pairing-details"];
|
|
1351
|
+
/**
|
|
1352
|
+
* Format: date-time
|
|
1353
|
+
* @description Timestamp when the equipment was archived.
|
|
1354
|
+
* @example 2021-03-10T19:19:46.420Z
|
|
1355
|
+
*/
|
|
1356
|
+
archivedTimestamp?: string;
|
|
1357
|
+
/** @description List of equipment that was merged. */
|
|
1358
|
+
mergedEquipment?: components["schemas"]["machine"][];
|
|
1359
|
+
/**
|
|
1360
|
+
* @description Indicates if the equipment is CSC equipment or not.
|
|
1361
|
+
* @example true
|
|
1362
|
+
*/
|
|
1363
|
+
isCsc?: boolean;
|
|
1364
|
+
});
|
|
1365
|
+
/**
|
|
1366
|
+
* Equipment
|
|
1367
|
+
* @description Represents the equipment, including its name, serial number, model year, make, type, ISG type, model, organization, telematics capability, and various other attributes.
|
|
1368
|
+
*/
|
|
1369
|
+
equipment: {
|
|
1370
|
+
"@type": "equipment";
|
|
1371
|
+
} & (Omit<components["schemas"]["resource"], "@type"> & {
|
|
1372
|
+
/**
|
|
1373
|
+
* @description Equipment | Machine | Implement
|
|
1374
|
+
* @example Equipment
|
|
1375
|
+
* @enum {string}
|
|
1376
|
+
*/
|
|
1377
|
+
"@type"?: "Equipment" | "Machine" | "Implement";
|
|
1378
|
+
/**
|
|
1379
|
+
* @description Equipment Name.
|
|
1380
|
+
* @example Cates 8360R 055358
|
|
1381
|
+
*/
|
|
1382
|
+
name?: string;
|
|
1383
|
+
/**
|
|
1384
|
+
* @description Unique 64-bit ISO NAME used to identify the controller during address claim.
|
|
1385
|
+
* @example b00082000422ed1d
|
|
1386
|
+
*/
|
|
1387
|
+
isoName?: string;
|
|
1388
|
+
/**
|
|
1389
|
+
* @description Serial Number of the Equipment and passed on the query parameter
|
|
1390
|
+
* @example 1RW8360RLCD055358
|
|
1391
|
+
*/
|
|
1392
|
+
serialNumber?: string;
|
|
1393
|
+
/**
|
|
1394
|
+
* @description VIN or PIN, more than Serial Number, of the Engine.
|
|
1395
|
+
* @example RG6090L839275
|
|
1396
|
+
*/
|
|
1397
|
+
engineSerialNumber?: string;
|
|
1398
|
+
/**
|
|
1399
|
+
* @description True if this is an official equipment (we have PI information about it).
|
|
1400
|
+
* @example true
|
|
1401
|
+
*/
|
|
1402
|
+
isSerialNumberCertified?: boolean;
|
|
1403
|
+
/**
|
|
1404
|
+
* @description Year of model.
|
|
1405
|
+
* @example 2019
|
|
1406
|
+
*/
|
|
1407
|
+
modelYear?: string;
|
|
1408
|
+
make?: components["schemas"]["equipment-make-embed"];
|
|
1409
|
+
type?: components["schemas"]["equipment-type-embed"];
|
|
1410
|
+
isgType?: components["schemas"]["equipment-isg-type-embed"];
|
|
1411
|
+
model?: components["schemas"]["equipment-model-embed"];
|
|
1412
|
+
organization?: components["schemas"]["organization-embed"];
|
|
1413
|
+
/**
|
|
1414
|
+
* @description Indicates if the equipment is capable of telematics.
|
|
1415
|
+
* @example true
|
|
1416
|
+
*/
|
|
1417
|
+
telematicsCapable?: boolean;
|
|
1418
|
+
/**
|
|
1419
|
+
* @description Indicates if the equipment is archived.
|
|
1420
|
+
* @example true
|
|
1421
|
+
*/
|
|
1422
|
+
archived?: boolean;
|
|
1423
|
+
/**
|
|
1424
|
+
* @description Unique id for principal equipment
|
|
1425
|
+
* @example 12345
|
|
1426
|
+
*/
|
|
1427
|
+
principalId?: string;
|
|
1428
|
+
organizationRole?: components["schemas"]["organization-role"];
|
|
1429
|
+
/**
|
|
1430
|
+
* @description Unique identifier of the Equipment.
|
|
1431
|
+
* @example fcdc83cb-8840-4215-84b5-1769889db932
|
|
1432
|
+
*/
|
|
1433
|
+
ERID?: string;
|
|
1434
|
+
/** @description List of alternate identifiers of the Equipment like DE-13, DE-17, ERID... */
|
|
1435
|
+
alternateIdentifiers?: components["schemas"]["identifier"][];
|
|
1436
|
+
icon?: components["schemas"]["equipment-icon"];
|
|
1437
|
+
offsets?: components["schemas"]["offsets"];
|
|
1438
|
+
/** @description List of devices paired with the equipment. */
|
|
1439
|
+
devices?: components["schemas"]["device"][];
|
|
1440
|
+
/** @description List of capabilities of the equipment. */
|
|
1441
|
+
capabilities?: components["schemas"]["capability"][];
|
|
1442
|
+
pairingDetails?: components["schemas"]["pairing-details"];
|
|
1443
|
+
/**
|
|
1444
|
+
* Format: date-time
|
|
1445
|
+
* @description Timestamp when the equipment was archived.
|
|
1446
|
+
* @example 2021-03-10T19:19:46.420Z
|
|
1447
|
+
*/
|
|
1448
|
+
archivedTimestamp?: string;
|
|
1449
|
+
/** @description List of equipment that was merged. */
|
|
1450
|
+
mergedEquipment?: components["schemas"]["machine"][];
|
|
1451
|
+
/**
|
|
1452
|
+
* @description Indicates if the equipment is CSC equipment or not.
|
|
1453
|
+
* @example true
|
|
1454
|
+
*/
|
|
1455
|
+
isCsc?: boolean;
|
|
1456
|
+
});
|
|
1457
|
+
/** Point */
|
|
1458
|
+
point: {
|
|
1459
|
+
/** Format: double */
|
|
1460
|
+
lat?: number;
|
|
1461
|
+
/** Format: double */
|
|
1462
|
+
lon?: number;
|
|
1463
|
+
/** Format: double */
|
|
1464
|
+
slope?: number;
|
|
1465
|
+
};
|
|
1466
|
+
/**
|
|
1467
|
+
* PairingDetails
|
|
1468
|
+
* @description Represents the details of the pairing process, including timestamps and location.
|
|
1469
|
+
* @example {
|
|
1470
|
+
* "paired": true,
|
|
1471
|
+
* "associationTimestamp": "2023-10-01T12:00:00Z",
|
|
1472
|
+
* "disassociationTimestamp": "2023-10-02T12:00:00Z",
|
|
1473
|
+
* "confirmationTimestamp": "2023-10-01T12:30:00Z",
|
|
1474
|
+
* "location": {
|
|
1475
|
+
* "latitude": 40.712776,
|
|
1476
|
+
* "longitude": -74.005974
|
|
1477
|
+
* }
|
|
1478
|
+
* }
|
|
1479
|
+
*/
|
|
1480
|
+
"pairing-details": {
|
|
1481
|
+
/**
|
|
1482
|
+
* @description Indicates if the equipment is paired.
|
|
1483
|
+
* @example true
|
|
1484
|
+
*/
|
|
1485
|
+
paired?: boolean;
|
|
1486
|
+
/**
|
|
1487
|
+
* Format: date-time
|
|
1488
|
+
* @description The timestamp when the equipment was paired.
|
|
1489
|
+
* @example 2023-10-01T12:00:00Z
|
|
1490
|
+
*/
|
|
1491
|
+
associationTimestamp?: string;
|
|
1492
|
+
/**
|
|
1493
|
+
* Format: date-time
|
|
1494
|
+
* @description The timestamp when the equipment was un-paired.
|
|
1495
|
+
* @example 2023-10-02T12:00:00Z
|
|
1496
|
+
*/
|
|
1497
|
+
disassociationTimestamp?: string;
|
|
1498
|
+
/**
|
|
1499
|
+
* Format: date-time
|
|
1500
|
+
* @description The timestamp when the pairing was confirmed.
|
|
1501
|
+
* @example 2023-10-01T12:30:00Z
|
|
1502
|
+
*/
|
|
1503
|
+
confirmationTimestamp?: string;
|
|
1504
|
+
location?: components["schemas"]["point"];
|
|
1505
|
+
};
|
|
1506
|
+
/**
|
|
1507
|
+
* Device
|
|
1508
|
+
* @description Represents a device, including its serial number, certification status, make, type, model, organization, and other attributes.
|
|
1509
|
+
* @example {
|
|
1510
|
+
* "@type": "Device",
|
|
1511
|
+
* "serialNumber": "PCMA4GF511111",
|
|
1512
|
+
* "make": {
|
|
1513
|
+
* "name": "JOHN DEERE",
|
|
1514
|
+
* "id": "1",
|
|
1515
|
+
* "ERID": "f8b43e74-3088-4a38-9d66-30aae1ed1111"
|
|
1516
|
+
* },
|
|
1517
|
+
* "type": {
|
|
1518
|
+
* "name": "Modem",
|
|
1519
|
+
* "commonName": "TelematicsGateway",
|
|
1520
|
+
* "id": "1",
|
|
1521
|
+
* "ERID": "d469a324-2036-11ee-bb58-0e5cd6a91111"
|
|
1522
|
+
* },
|
|
1523
|
+
* "model": {
|
|
1524
|
+
* "name": "JDLink Modem-4G",
|
|
1525
|
+
* "id": "3",
|
|
1526
|
+
* "ERID": "f413bba6-9f39-410c-866f-c800bf701111"
|
|
1527
|
+
* },
|
|
1528
|
+
* "firmwareVersion": {
|
|
1529
|
+
* "name": "40.02.049"
|
|
1530
|
+
* },
|
|
1531
|
+
* "organization": {
|
|
1532
|
+
* "id": "21111"
|
|
1533
|
+
* },
|
|
1534
|
+
* "organizationRole": {
|
|
1535
|
+
* "type": "Controlling",
|
|
1536
|
+
* "effectiveTS": "2024-04-30T17:53:57Z",
|
|
1537
|
+
* "event": "PAIRING"
|
|
1538
|
+
* },
|
|
1539
|
+
* "archived": false,
|
|
1540
|
+
* "decommissioned": false,
|
|
1541
|
+
* "stolen": false,
|
|
1542
|
+
* "principalId": "911111",
|
|
1543
|
+
* "equipment": {
|
|
1544
|
+
* "name": "Cattle 9700 SPFH",
|
|
1545
|
+
* "serialNumber": "1Z09700YAKU621111",
|
|
1546
|
+
* "isSerialNumberCertified": true,
|
|
1547
|
+
* "modelYear": "2019",
|
|
1548
|
+
* "make": {
|
|
1549
|
+
* "name": "JOHN DEERE",
|
|
1550
|
+
* "certified": true,
|
|
1551
|
+
* "deereOrSubsidiary": true,
|
|
1552
|
+
* "id": "1",
|
|
1553
|
+
* "ERID": "db18bdc4-025a-11eb-97e4-0e8d658c1111"
|
|
1554
|
+
* },
|
|
1555
|
+
* "type": {
|
|
1556
|
+
* "name": "Forage Harvester",
|
|
1557
|
+
* "id": "162",
|
|
1558
|
+
* "ERID": "34b07db5-11fb-11ee-8580-0ed5f7261111"
|
|
1559
|
+
* },
|
|
1560
|
+
* "isgType": {
|
|
1561
|
+
* "name": "Forage Harvester",
|
|
1562
|
+
* "id": "6",
|
|
1563
|
+
* "ERID": "99edf0e0-4abb-42d3-9798-327439a31111"
|
|
1564
|
+
* },
|
|
1565
|
+
* "model": {
|
|
1566
|
+
* "name": 9700,
|
|
1567
|
+
* "certified": true,
|
|
1568
|
+
* "id": "581111",
|
|
1569
|
+
* "ERID": "2c8c951e-070a-4e1c-824d-72cca6e71111"
|
|
1570
|
+
* },
|
|
1571
|
+
* "principalId": "661111",
|
|
1572
|
+
* "archived": false,
|
|
1573
|
+
* "organization": {
|
|
1574
|
+
* "id": "22967"
|
|
1575
|
+
* },
|
|
1576
|
+
* "organizationRole": {
|
|
1577
|
+
* "type": "Controlling",
|
|
1578
|
+
* "effectiveTS": "2024-04-30T17:53:56.695Z",
|
|
1579
|
+
* "event": "PAIRING"
|
|
1580
|
+
* },
|
|
1581
|
+
* "isCsc": false,
|
|
1582
|
+
* "id": "661111",
|
|
1583
|
+
* "ERID": "23fe3ea0-1f95-4ae6-8e12-968729cd1111"
|
|
1584
|
+
* },
|
|
1585
|
+
* "capabilities": [
|
|
1586
|
+
* {
|
|
1587
|
+
* "type": "JDLINK_CONNECTIVITY",
|
|
1588
|
+
* "capable": true
|
|
1589
|
+
* },
|
|
1590
|
+
* {
|
|
1591
|
+
* "type": "WIFI_CONNECTIVITY",
|
|
1592
|
+
* "capable": true
|
|
1593
|
+
* }
|
|
1594
|
+
* ],
|
|
1595
|
+
* "pairingDetails": {
|
|
1596
|
+
* "paired": true,
|
|
1597
|
+
* "associationTimestamp": "2024-09-28T17:30:24Z",
|
|
1598
|
+
* "disassociationTimestamp": null,
|
|
1599
|
+
* "confirmationTimestamp": "2024-10-23T22:17:22Z",
|
|
1600
|
+
* "location": {
|
|
1601
|
+
* "lat": 52.780639,
|
|
1602
|
+
* "lon": -122.453222,
|
|
1603
|
+
* "slope": null
|
|
1604
|
+
* }
|
|
1605
|
+
* },
|
|
1606
|
+
* "messagesRestricted": false,
|
|
1607
|
+
* "pairingStatus": "PAIRED",
|
|
1608
|
+
* "orderNumber": "961111",
|
|
1609
|
+
* "highFidelityConfigurationVersion": {
|
|
1610
|
+
* "name": "1Hz_L3X40FT4JDPS0x00_ISG_X8X9SPFH_63978_2024.008.001"
|
|
1611
|
+
* },
|
|
1612
|
+
* "genericConfigurationVersion": {
|
|
1613
|
+
* "name": "1623F1EF-62C2-4B8B-B5EA-A0FFD6EA76F8"
|
|
1614
|
+
* },
|
|
1615
|
+
* "communicationModules": [
|
|
1616
|
+
* {
|
|
1617
|
+
* "imei": "014642005101111",
|
|
1618
|
+
* "imsi": "310170835961111",
|
|
1619
|
+
* "iccid": "89011704278359691111",
|
|
1620
|
+
* "type": "GSM",
|
|
1621
|
+
* "serviceProvider": "Jasper",
|
|
1622
|
+
* "state": "Active",
|
|
1623
|
+
* "id": "632111"
|
|
1624
|
+
* }
|
|
1625
|
+
* ],
|
|
1626
|
+
* "id": "915111",
|
|
1627
|
+
* "ERID": "fb537c94-14f1-11ef-871b-1287bcef1111"
|
|
1628
|
+
* }
|
|
1629
|
+
*/
|
|
1630
|
+
device: {
|
|
1631
|
+
"@type": "device";
|
|
1632
|
+
} & (Omit<components["schemas"]["resource-embed"], "@type"> & {
|
|
1633
|
+
/**
|
|
1634
|
+
* @description Device | Display | PositionReceiver | TelematicsGateway
|
|
1635
|
+
* @example Device
|
|
1636
|
+
* @enum {string}
|
|
1637
|
+
*/
|
|
1638
|
+
"@type"?: "Device" | "Display" | "PositionReceiver" | "TelematicsGateway";
|
|
1639
|
+
/**
|
|
1640
|
+
* @description Serial number of the device and passed on the query parameter
|
|
1641
|
+
* @example PCS171B372381
|
|
1642
|
+
*/
|
|
1643
|
+
serialNumber?: string;
|
|
1644
|
+
/**
|
|
1645
|
+
* @description True if this is an official device (we have PI information about it).
|
|
1646
|
+
* @example true
|
|
1647
|
+
*/
|
|
1648
|
+
isSerialNumberCertified?: boolean;
|
|
1649
|
+
make?: components["schemas"]["device-make"];
|
|
1650
|
+
type?: components["schemas"]["device-type"];
|
|
1651
|
+
model?: components["schemas"]["device-model"];
|
|
1652
|
+
organization?: components["schemas"]["organization-embed"];
|
|
1653
|
+
/**
|
|
1654
|
+
* @description Unique identifier of the Device.
|
|
1655
|
+
* @example fcdc83cb-8840-4215-84b5-1769889db932
|
|
1656
|
+
*/
|
|
1657
|
+
ERID?: string;
|
|
1658
|
+
firmwareVersion?: components["schemas"]["version"];
|
|
1659
|
+
capabilities?: components["schemas"]["capability"][];
|
|
1660
|
+
equipment?: components["schemas"]["equipment"];
|
|
1661
|
+
/**
|
|
1662
|
+
* @description Indicates if the device is archived.
|
|
1663
|
+
* @example true
|
|
1664
|
+
*/
|
|
1665
|
+
archived?: boolean;
|
|
1666
|
+
/**
|
|
1667
|
+
* @description Indicates if the device is decommissioned.
|
|
1668
|
+
* @example false
|
|
1669
|
+
*/
|
|
1670
|
+
decommissioned?: boolean;
|
|
1671
|
+
/**
|
|
1672
|
+
* @description Indicates if the device is stolen.
|
|
1673
|
+
* @example false
|
|
1674
|
+
*/
|
|
1675
|
+
stolen?: boolean;
|
|
1676
|
+
/**
|
|
1677
|
+
* @description Unique id for principal device
|
|
1678
|
+
* @example 12345
|
|
1679
|
+
*/
|
|
1680
|
+
principalId?: string;
|
|
1681
|
+
organizationRole?: components["schemas"]["organization-role"];
|
|
1682
|
+
/**
|
|
1683
|
+
* @description Order number associated with the device.
|
|
1684
|
+
* @example 987654321
|
|
1685
|
+
*/
|
|
1686
|
+
orderNumber?: string;
|
|
1687
|
+
pairingDetails?: components["schemas"]["pairing-details"];
|
|
1688
|
+
/**
|
|
1689
|
+
* Format: date-time
|
|
1690
|
+
* @description Timestamp when the device was archived.
|
|
1691
|
+
* @example 2021-03-10T19:19:46.420Z
|
|
1692
|
+
*/
|
|
1693
|
+
archivedTimestamp?: string;
|
|
1694
|
+
});
|
|
1695
|
+
/** Display */
|
|
1696
|
+
display: {
|
|
1697
|
+
"@type": "display";
|
|
1698
|
+
} & (Omit<components["schemas"]["device"], "@type"> & {
|
|
1699
|
+
/**
|
|
1700
|
+
* @description Display
|
|
1701
|
+
* @example Display
|
|
1702
|
+
* @enum {string}
|
|
1703
|
+
*/
|
|
1704
|
+
"@type"?: "Display";
|
|
1705
|
+
monitors?: components["schemas"]["display-monitors"][];
|
|
1706
|
+
});
|
|
1707
|
+
/** Monitor */
|
|
1708
|
+
"display-monitors": {
|
|
1709
|
+
"@type": "display-monitors";
|
|
1710
|
+
} & (Omit<components["schemas"]["resource-embed"], "@type"> & {
|
|
1711
|
+
/**
|
|
1712
|
+
* @description Monitor
|
|
1713
|
+
* @example Monitor
|
|
1714
|
+
* @enum {string}
|
|
1715
|
+
*/
|
|
1716
|
+
"@type"?: "Monitor";
|
|
1717
|
+
/** @example Monitor_0 */
|
|
1718
|
+
type?: string;
|
|
1719
|
+
/** @example PCG410A015392 */
|
|
1720
|
+
serialNumber?: string;
|
|
1721
|
+
/** @example 800 */
|
|
1722
|
+
resolutionWidth?: number;
|
|
1723
|
+
/** @example 600 */
|
|
1724
|
+
resolutionHeight?: number;
|
|
1725
|
+
});
|
|
1726
|
+
/** PositionReceiver */
|
|
1727
|
+
"position-receiver": {
|
|
1728
|
+
"@type": "position-receiver";
|
|
1729
|
+
} & (Omit<components["schemas"]["device"], "@type"> & Record<string, never>);
|
|
1730
|
+
/**
|
|
1731
|
+
* CommunicationModule
|
|
1732
|
+
* @description Represents a communication module, including its serial number, IMEI, IMSI, ICCID, MSISDN, EID, type, service provider, state, and country calling code.
|
|
1733
|
+
* @example {
|
|
1734
|
+
* "serialNumber": "PCS171B372381",
|
|
1735
|
+
* "imei": 123456789012345,
|
|
1736
|
+
* "imsi": 310150123456789,
|
|
1737
|
+
* "iccid": 89014103211118510000,
|
|
1738
|
+
* "msisdn": 15555551234,
|
|
1739
|
+
* "eid": 89014103211118510000,
|
|
1740
|
+
* "type": "GSM",
|
|
1741
|
+
* "serviceProvider": "ATT",
|
|
1742
|
+
* "state": "ACTIVE",
|
|
1743
|
+
* "countryCallingCode": 1
|
|
1744
|
+
* }
|
|
1745
|
+
*/
|
|
1746
|
+
"communication-module": {
|
|
1747
|
+
"@type": "communication-module";
|
|
1748
|
+
} & (Omit<components["schemas"]["resource-embed"], "@type"> & {
|
|
1749
|
+
/**
|
|
1750
|
+
* @description CommunicationModule
|
|
1751
|
+
* @example CommunicationModule
|
|
1752
|
+
* @enum {string}
|
|
1753
|
+
*/
|
|
1754
|
+
"@type"?: "CommunicationModule";
|
|
1755
|
+
/**
|
|
1756
|
+
* @description Serial number of the communication gateway
|
|
1757
|
+
* @example PCS171B372381
|
|
1758
|
+
*/
|
|
1759
|
+
serialNumber?: string;
|
|
1760
|
+
/**
|
|
1761
|
+
* @description International Mobile Equipment Identity of the communication module.
|
|
1762
|
+
* @example 123456789012345
|
|
1763
|
+
*/
|
|
1764
|
+
imei?: string;
|
|
1765
|
+
/**
|
|
1766
|
+
* @description International Mobile Subscriber Identity of the communication module.
|
|
1767
|
+
* @example 310150123456789
|
|
1768
|
+
*/
|
|
1769
|
+
imsi?: string;
|
|
1770
|
+
/**
|
|
1771
|
+
* @description Integrated Circuit Card Identifier of the communication module.
|
|
1772
|
+
* @example 89014103211118510000
|
|
1773
|
+
*/
|
|
1774
|
+
iccid?: string;
|
|
1775
|
+
/**
|
|
1776
|
+
* @description Mobile Station International Subscriber Directory Number of the communication module.
|
|
1777
|
+
* @example 15555551234
|
|
1778
|
+
*/
|
|
1779
|
+
msisdn?: string;
|
|
1780
|
+
/**
|
|
1781
|
+
* @description Embedded Identity Document of the communication module.
|
|
1782
|
+
* @example 89014103211118510000
|
|
1783
|
+
*/
|
|
1784
|
+
eid?: string;
|
|
1785
|
+
/**
|
|
1786
|
+
* @description Type of the communication module.
|
|
1787
|
+
* @example GSM
|
|
1788
|
+
* @enum {string}
|
|
1789
|
+
*/
|
|
1790
|
+
type?: "GSM" | "SATELLITE" | "CDMA" | "COS";
|
|
1791
|
+
/**
|
|
1792
|
+
* @example ATT
|
|
1793
|
+
* @enum {string}
|
|
1794
|
+
*/
|
|
1795
|
+
serviceProvider?: "IRIDIUM" | "ATT" | "JASPER" | "VERIZON" | "COS" | "COST" | "CUBIC" | "ATTIOT";
|
|
1796
|
+
/**
|
|
1797
|
+
* @description Subscription state of the communication gateway
|
|
1798
|
+
* @example ACTIVE
|
|
1799
|
+
* @enum {string}
|
|
1800
|
+
*/
|
|
1801
|
+
state?: "NEW" | "ACTIVE" | "INACTIVE" | "EXPIRED" | "PENDING_ACTIVE" | "PENDING_INACTIVE" | "PENDING_EXPIRED" | "PENDING_VERIFICATION" | "PENDING_WDT" | "TERMINATED";
|
|
1802
|
+
/**
|
|
1803
|
+
* @description Country calling code of the communication module.
|
|
1804
|
+
* @example 1
|
|
1805
|
+
*/
|
|
1806
|
+
countryCallingCode?: string;
|
|
1807
|
+
});
|
|
1808
|
+
/** TelematicsGateway */
|
|
1809
|
+
"telematics-gateway": {
|
|
1810
|
+
"@type": "telematics-gateway";
|
|
1811
|
+
} & (Omit<components["schemas"]["device"], "@type"> & {
|
|
1812
|
+
/** @enum {string} */
|
|
1813
|
+
pairingStatus?: "PAIRED" | "PENDING_PAIRING";
|
|
1814
|
+
orderNumber?: string;
|
|
1815
|
+
highFidelityConfigurationVersion?: components["schemas"]["version"];
|
|
1816
|
+
genericConfigurationVersion?: components["schemas"]["version"];
|
|
1817
|
+
messagesRestricted?: boolean;
|
|
1818
|
+
communicationModules?: components["schemas"]["communication-module"][];
|
|
1819
|
+
});
|
|
1820
|
+
/** Implement */
|
|
1821
|
+
implement: {
|
|
1822
|
+
"@type": "implement";
|
|
1823
|
+
} & (Omit<components["schemas"]["equipment"], "@type"> & {
|
|
1824
|
+
machine?: components["schemas"]["machine"];
|
|
1825
|
+
});
|
|
1826
|
+
/** Machine */
|
|
1827
|
+
machine: {
|
|
1828
|
+
"@type": "machine";
|
|
1829
|
+
} & (Omit<components["schemas"]["equipment"], "@type"> & {
|
|
1830
|
+
implements?: components["schemas"]["implement"][];
|
|
1831
|
+
});
|
|
1832
|
+
/** PatchDTO */
|
|
1833
|
+
"equipment-patch": {
|
|
1834
|
+
/** @enum {string} */
|
|
1835
|
+
operation?: "UPDATE";
|
|
1836
|
+
/** @enum {string} */
|
|
1837
|
+
path?: "/organization" | "/archived" | "/organizationRole/type" | "/name";
|
|
1838
|
+
/**
|
|
1839
|
+
* @description - For transfer request : value={organizationId}
|
|
1840
|
+
* - For archive/unarchive request : value=true/false
|
|
1841
|
+
* - For role update request : value={Controlling}
|
|
1842
|
+
* - For name update request : value={name}
|
|
1843
|
+
*/
|
|
1844
|
+
value?: string;
|
|
1845
|
+
};
|
|
1846
|
+
/** Equipment Creation */
|
|
1847
|
+
createEquipment: {
|
|
1848
|
+
/**
|
|
1849
|
+
* @description Equipment Name.
|
|
1850
|
+
* @example Cates 8360R 055358
|
|
1851
|
+
*/
|
|
1852
|
+
name?: string;
|
|
1853
|
+
/**
|
|
1854
|
+
* @description Serial Number of the Equipment and passed on the query parameter
|
|
1855
|
+
* @example Must be unique string. Max character count is 30.
|
|
1856
|
+
*/
|
|
1857
|
+
serialNumber?: string;
|
|
1858
|
+
/**
|
|
1859
|
+
* Model of the equipment.
|
|
1860
|
+
* @description Model of the equipment.
|
|
1861
|
+
*/
|
|
1862
|
+
model?: {
|
|
1863
|
+
/**
|
|
1864
|
+
* @description Unique id
|
|
1865
|
+
* @example 3 | 158df9ff-334a-4e0d-86cc-3adca17a9686
|
|
1866
|
+
*/
|
|
1867
|
+
id?: string;
|
|
1868
|
+
/**
|
|
1869
|
+
* @description EquipmentModel
|
|
1870
|
+
* @example EquipmentModel
|
|
1871
|
+
*/
|
|
1872
|
+
"@type"?: string;
|
|
1873
|
+
};
|
|
1874
|
+
};
|
|
1875
|
+
};
|
|
1876
|
+
responses: {
|
|
1877
|
+
/** @description A collection of Assets */
|
|
1878
|
+
GetEquipment: {
|
|
1879
|
+
headers: {
|
|
1880
|
+
[name: string]: unknown;
|
|
1881
|
+
};
|
|
1882
|
+
content: {
|
|
1883
|
+
"application/json": {
|
|
1884
|
+
values?: unknown;
|
|
1885
|
+
};
|
|
1886
|
+
};
|
|
1887
|
+
};
|
|
1888
|
+
/** @description A collection of Assets */
|
|
1889
|
+
GetEquipmentById: {
|
|
1890
|
+
headers: {
|
|
1891
|
+
[name: string]: unknown;
|
|
1892
|
+
};
|
|
1893
|
+
content: {
|
|
1894
|
+
"application/json": {
|
|
1895
|
+
values?: unknown;
|
|
1896
|
+
};
|
|
1897
|
+
};
|
|
1898
|
+
};
|
|
1899
|
+
/** @description Equipment Model Details by Equipment Make ID, Equipment Type ID and Equipment Model ID */
|
|
1900
|
+
GetEquipmentModelByMakeIdAndTypeIdAndModelId: {
|
|
1901
|
+
headers: {
|
|
1902
|
+
[name: string]: unknown;
|
|
1903
|
+
};
|
|
1904
|
+
content: {
|
|
1905
|
+
"application/json": {
|
|
1906
|
+
values?: unknown;
|
|
1907
|
+
};
|
|
1908
|
+
};
|
|
1909
|
+
};
|
|
1910
|
+
/** @description Equipment Models */
|
|
1911
|
+
GetEquipmentModelName: {
|
|
1912
|
+
headers: {
|
|
1913
|
+
[name: string]: unknown;
|
|
1914
|
+
};
|
|
1915
|
+
content: {
|
|
1916
|
+
"application/json": {
|
|
1917
|
+
values?: unknown;
|
|
1918
|
+
};
|
|
1919
|
+
};
|
|
1920
|
+
};
|
|
1921
|
+
/** @description Update Equipment */
|
|
1922
|
+
UpdateEquipment: {
|
|
1923
|
+
headers: {
|
|
1924
|
+
[name: string]: unknown;
|
|
1925
|
+
};
|
|
1926
|
+
content: {
|
|
1927
|
+
"application/json": {
|
|
1928
|
+
/**
|
|
1929
|
+
* @description Unique id
|
|
1930
|
+
* @example 1 | fcdc83cb-8840-4215-84b5-1769889db932
|
|
1931
|
+
*/
|
|
1932
|
+
id: string;
|
|
1933
|
+
/**
|
|
1934
|
+
* @description Equipment Name.
|
|
1935
|
+
* @example Cates 8360R 055358
|
|
1936
|
+
*/
|
|
1937
|
+
name?: string;
|
|
1938
|
+
/**
|
|
1939
|
+
* @description Serial Number of the Equipment and passed on the query parameter
|
|
1940
|
+
* @example Must be unique string. Max character count is 30.
|
|
1941
|
+
*/
|
|
1942
|
+
serialNumber?: string;
|
|
1943
|
+
/**
|
|
1944
|
+
* Make of the equipment.
|
|
1945
|
+
* @description Make of the equipment.
|
|
1946
|
+
*/
|
|
1947
|
+
make?: {
|
|
1948
|
+
/**
|
|
1949
|
+
* @description Unique id
|
|
1950
|
+
* @example 1 | fcdc83cb-8840-4215-84b5-1769889db932
|
|
1951
|
+
*/
|
|
1952
|
+
id?: string;
|
|
1953
|
+
/**
|
|
1954
|
+
* @description EquipmentMake
|
|
1955
|
+
* @example EquipmentMake
|
|
1956
|
+
*/
|
|
1957
|
+
"@type"?: string;
|
|
1958
|
+
};
|
|
1959
|
+
/**
|
|
1960
|
+
* Type of the equipment.
|
|
1961
|
+
* @description Type of the equipment.
|
|
1962
|
+
*/
|
|
1963
|
+
type?: {
|
|
1964
|
+
/**
|
|
1965
|
+
* @description Unique id
|
|
1966
|
+
* @example 2 | 82115264-9385-460c-bfbe-177a59445fd9
|
|
1967
|
+
*/
|
|
1968
|
+
id?: string;
|
|
1969
|
+
/**
|
|
1970
|
+
* @description EquipmentType
|
|
1971
|
+
* @example EquipmentType
|
|
1972
|
+
*/
|
|
1973
|
+
"@type"?: string;
|
|
1974
|
+
};
|
|
1975
|
+
/**
|
|
1976
|
+
* Model of the equipment.
|
|
1977
|
+
* @description Model of the equipment.
|
|
1978
|
+
*/
|
|
1979
|
+
model?: {
|
|
1980
|
+
/**
|
|
1981
|
+
* @description Unique id
|
|
1982
|
+
* @example 3 | 158df9ff-334a-4e0d-86cc-3adca17a9686
|
|
1983
|
+
*/
|
|
1984
|
+
id?: string;
|
|
1985
|
+
/**
|
|
1986
|
+
* @description EquipmentModel
|
|
1987
|
+
* @example EquipmentModel
|
|
1988
|
+
*/
|
|
1989
|
+
"@type"?: string;
|
|
1990
|
+
};
|
|
1991
|
+
icon?: components["schemas"]["equipment-icon"];
|
|
1992
|
+
};
|
|
1993
|
+
};
|
|
1994
|
+
};
|
|
1995
|
+
/** @description A collection of Assets */
|
|
1996
|
+
GetEquipmentMake: {
|
|
1997
|
+
headers: {
|
|
1998
|
+
[name: string]: unknown;
|
|
1999
|
+
};
|
|
2000
|
+
content: {
|
|
2001
|
+
"application/json": {
|
|
2002
|
+
values?: unknown;
|
|
2003
|
+
};
|
|
2004
|
+
};
|
|
2005
|
+
};
|
|
2006
|
+
/** @description A collection of Assets */
|
|
2007
|
+
GetEquipmentByMakeId: {
|
|
2008
|
+
headers: {
|
|
2009
|
+
[name: string]: unknown;
|
|
2010
|
+
};
|
|
2011
|
+
content: {
|
|
2012
|
+
"application/json": Record<string, never>;
|
|
2013
|
+
};
|
|
2014
|
+
};
|
|
2015
|
+
/** @description A collection of Assets */
|
|
2016
|
+
GetEquipmentTypesByMakeId: {
|
|
2017
|
+
headers: {
|
|
2018
|
+
[name: string]: unknown;
|
|
2019
|
+
};
|
|
2020
|
+
content: {
|
|
2021
|
+
"application/json": Record<string, never>;
|
|
2022
|
+
};
|
|
2023
|
+
};
|
|
2024
|
+
/** @description A collection of Assets */
|
|
2025
|
+
GetEquipmentTypes: {
|
|
2026
|
+
headers: {
|
|
2027
|
+
[name: string]: unknown;
|
|
2028
|
+
};
|
|
2029
|
+
content: {
|
|
2030
|
+
"application/json": Record<string, never>;
|
|
2031
|
+
};
|
|
2032
|
+
};
|
|
2033
|
+
/** @description A collection of Assets */
|
|
2034
|
+
GetEquipmentTypeByEquipmentMakeIdAndEquipmentTypeId: {
|
|
2035
|
+
headers: {
|
|
2036
|
+
[name: string]: unknown;
|
|
2037
|
+
};
|
|
2038
|
+
content: {
|
|
2039
|
+
"application/json": {
|
|
2040
|
+
values?: unknown;
|
|
2041
|
+
};
|
|
2042
|
+
};
|
|
2043
|
+
};
|
|
2044
|
+
/** @description Create */
|
|
2045
|
+
CreateEquip: {
|
|
2046
|
+
headers: {
|
|
2047
|
+
[name: string]: unknown;
|
|
2048
|
+
};
|
|
2049
|
+
content: {
|
|
2050
|
+
"application/json": Record<string, never>;
|
|
2051
|
+
};
|
|
2052
|
+
};
|
|
2053
|
+
/** @description Update */
|
|
2054
|
+
UpdatedEquip: {
|
|
2055
|
+
headers: {
|
|
2056
|
+
[name: string]: unknown;
|
|
2057
|
+
};
|
|
2058
|
+
content: {
|
|
2059
|
+
"application/json": Record<string, never>;
|
|
2060
|
+
};
|
|
2061
|
+
};
|
|
2062
|
+
};
|
|
2063
|
+
parameters: {
|
|
2064
|
+
/** @description List of embed data for the Equipment ISG Type */
|
|
2065
|
+
embed: "equipmentModels" | "recordMetadata";
|
|
2066
|
+
/**
|
|
2067
|
+
* @description Optional query parameter that controls which records are returned based on the record's deprecated flag:
|
|
2068
|
+
* parameter set to false: Return only non-deprecated records
|
|
2069
|
+
* query parameter not present: both deprecated and non-deprecated records returned.
|
|
2070
|
+
*/
|
|
2071
|
+
deprecatedForEquipmentModels: boolean;
|
|
2072
|
+
/** @description Whether to filter isg types by the deprecated flag */
|
|
2073
|
+
deprecated: false | true | "all";
|
|
2074
|
+
/** @description Originating system of the request */
|
|
2075
|
+
originator: string;
|
|
2076
|
+
/** @description List of OrganizationEquipment Ids (these ids are unique across all orgs) */
|
|
2077
|
+
OrganizationEquipmentIds: number[];
|
|
2078
|
+
/** @description List of serial numbers of the equipment */
|
|
2079
|
+
EquipmentSerialNumbers: string[];
|
|
2080
|
+
/** @description List of OrganizationIds */
|
|
2081
|
+
OrganizationIds: number[];
|
|
2082
|
+
/** @description List of PrincipalIds */
|
|
2083
|
+
PrincipalIds: number[];
|
|
2084
|
+
/**
|
|
2085
|
+
* @description Refers to starting record value
|
|
2086
|
+
* @example 200
|
|
2087
|
+
*/
|
|
2088
|
+
PageOffset: number;
|
|
2089
|
+
/**
|
|
2090
|
+
* @description Refers to number of items per page(default 100 max 5000)
|
|
2091
|
+
* @example 200
|
|
2092
|
+
*/
|
|
2093
|
+
ItemLimit: number;
|
|
2094
|
+
/** @example 1111 */
|
|
2095
|
+
id: number;
|
|
2096
|
+
/** @example 1234, */
|
|
2097
|
+
organizationId: number;
|
|
2098
|
+
/**
|
|
2099
|
+
* @description The organization ids to get Equipment Models for.
|
|
2100
|
+
* If provided, then only non-certified models will be returned.
|
|
2101
|
+
* If not provided, then only certified models will be returned.
|
|
2102
|
+
*/
|
|
2103
|
+
organizationIds: number[];
|
|
2104
|
+
/** @description embed 'pairingDetails' is only supported along with 'devices' or 'equipment' embeds */
|
|
2105
|
+
EmbedForList: "devices" | "equipment" | "icon" | "pairingDetails";
|
|
2106
|
+
/** @description embed 'pairingDetails' is only supported along with 'devices' or 'equipment' embeds */
|
|
2107
|
+
Embed: "devices" | "equipment" | "pairingDetails" | "icon" | "offsets" | "capabilities";
|
|
2108
|
+
Categories: "Machine" | "Implement";
|
|
2109
|
+
CapableOf: "Connectivity" | "!Connectivity";
|
|
2110
|
+
Role: "Controlling" | "NonControlling";
|
|
2111
|
+
/** @description true or false */
|
|
2112
|
+
Archived: boolean;
|
|
2113
|
+
/** @example VIN1234 */
|
|
2114
|
+
SerialNumber: string;
|
|
2115
|
+
/** @description ID for Equipment Make */
|
|
2116
|
+
EquipmentMakeId: number;
|
|
2117
|
+
/** @description ID for Equipment ISG Type */
|
|
2118
|
+
EquipmentISGTypeId: number;
|
|
2119
|
+
/** @description Deprecated value should be false */
|
|
2120
|
+
Deprecated: boolean;
|
|
2121
|
+
/**
|
|
2122
|
+
* @description Embed additional attributes if required.
|
|
2123
|
+
* @example [
|
|
2124
|
+
* "make",
|
|
2125
|
+
* "type"
|
|
2126
|
+
* ]
|
|
2127
|
+
*/
|
|
2128
|
+
EmbedV1: "make" | "type" | "isgType";
|
|
2129
|
+
/**
|
|
2130
|
+
* @description It should be equipment model name
|
|
2131
|
+
* @example [
|
|
2132
|
+
* "9RX420",
|
|
2133
|
+
* "9RX*"
|
|
2134
|
+
* ]
|
|
2135
|
+
*/
|
|
2136
|
+
EquipmentModelName: "string or partial string with * wildcard search";
|
|
2137
|
+
/** @description ID for Equipment Type */
|
|
2138
|
+
EquipmentTypeId: number;
|
|
2139
|
+
/** @description ID for Equipment Model */
|
|
2140
|
+
EquipmentModelId: number;
|
|
2141
|
+
/** @description List of type categories for the Equipment Model */
|
|
2142
|
+
category: "machine" | "implement";
|
|
2143
|
+
/** @description Name for Equipment Type */
|
|
2144
|
+
EquipmentTypeName: string;
|
|
2145
|
+
/** @description Name for Equipment Make */
|
|
2146
|
+
EquipmentMakeName: string;
|
|
2147
|
+
};
|
|
2148
|
+
requestBodies: never;
|
|
2149
|
+
headers: never;
|
|
2150
|
+
pathItems: never;
|
|
2151
|
+
}
|
|
2152
|
+
export type $defs = Record<string, never>;
|
|
2153
|
+
export interface operations {
|
|
2154
|
+
createEquipment: {
|
|
2155
|
+
parameters: {
|
|
2156
|
+
query?: never;
|
|
2157
|
+
header?: never;
|
|
2158
|
+
path: {
|
|
2159
|
+
/** @example 1234, */
|
|
2160
|
+
organizationId: components["parameters"]["organizationId"];
|
|
2161
|
+
};
|
|
2162
|
+
cookie?: never;
|
|
2163
|
+
};
|
|
2164
|
+
/** @description Asset to be created. */
|
|
2165
|
+
requestBody?: {
|
|
2166
|
+
content: {
|
|
2167
|
+
"application/json": components["schemas"]["createEquipment"];
|
|
2168
|
+
};
|
|
2169
|
+
};
|
|
2170
|
+
responses: {
|
|
2171
|
+
/** @description Created */
|
|
2172
|
+
201: components["responses"]["CreateEquip"];
|
|
2173
|
+
/** @description Accepted */
|
|
2174
|
+
202: {
|
|
2175
|
+
headers: {
|
|
2176
|
+
[name: string]: unknown;
|
|
2177
|
+
};
|
|
2178
|
+
content?: never;
|
|
2179
|
+
};
|
|
2180
|
+
/** @description Bad Request */
|
|
2181
|
+
400: {
|
|
2182
|
+
headers: {
|
|
2183
|
+
[name: string]: unknown;
|
|
2184
|
+
};
|
|
2185
|
+
content: {
|
|
2186
|
+
"application/json": components["schemas"]["Errors"];
|
|
2187
|
+
};
|
|
2188
|
+
};
|
|
2189
|
+
/** @description User is not authorized for this request. */
|
|
2190
|
+
403: {
|
|
2191
|
+
headers: {
|
|
2192
|
+
[name: string]: unknown;
|
|
2193
|
+
};
|
|
2194
|
+
content?: never;
|
|
2195
|
+
};
|
|
2196
|
+
};
|
|
2197
|
+
};
|
|
2198
|
+
putEquipment: {
|
|
2199
|
+
parameters: {
|
|
2200
|
+
query?: never;
|
|
2201
|
+
header?: never;
|
|
2202
|
+
path: {
|
|
2203
|
+
/** @example 1111 */
|
|
2204
|
+
id: components["parameters"]["id"];
|
|
2205
|
+
};
|
|
2206
|
+
cookie?: never;
|
|
2207
|
+
};
|
|
2208
|
+
requestBody?: components["responses"]["UpdateEquipment"];
|
|
2209
|
+
responses: {
|
|
2210
|
+
/** @description Patch Successful Updated Equipment */
|
|
2211
|
+
200: components["responses"]["UpdatedEquip"];
|
|
2212
|
+
/** @description Bad Request */
|
|
2213
|
+
400: {
|
|
2214
|
+
headers: {
|
|
2215
|
+
[name: string]: unknown;
|
|
2216
|
+
};
|
|
2217
|
+
content: {
|
|
2218
|
+
"application/json": components["schemas"]["Errors"];
|
|
2219
|
+
};
|
|
2220
|
+
};
|
|
2221
|
+
/** @description User is not authorized for this request. */
|
|
2222
|
+
403: {
|
|
2223
|
+
headers: {
|
|
2224
|
+
[name: string]: unknown;
|
|
2225
|
+
};
|
|
2226
|
+
content?: never;
|
|
2227
|
+
};
|
|
2228
|
+
};
|
|
2229
|
+
};
|
|
2230
|
+
deleteEquipment: {
|
|
2231
|
+
parameters: {
|
|
2232
|
+
query?: never;
|
|
2233
|
+
header?: never;
|
|
2234
|
+
path: {
|
|
2235
|
+
/** @example 1111 */
|
|
2236
|
+
id: components["parameters"]["id"];
|
|
2237
|
+
};
|
|
2238
|
+
cookie?: never;
|
|
2239
|
+
};
|
|
2240
|
+
requestBody?: never;
|
|
2241
|
+
responses: {
|
|
2242
|
+
/** @description Deleted */
|
|
2243
|
+
200: components["responses"]["UpdatedEquip"];
|
|
2244
|
+
/** @description Bad Request */
|
|
2245
|
+
400: {
|
|
2246
|
+
headers: {
|
|
2247
|
+
[name: string]: unknown;
|
|
2248
|
+
};
|
|
2249
|
+
content: {
|
|
2250
|
+
"application/json": components["schemas"]["Errors"];
|
|
2251
|
+
};
|
|
2252
|
+
};
|
|
2253
|
+
/** @description User is not authorized for this request. */
|
|
2254
|
+
403: {
|
|
2255
|
+
headers: {
|
|
2256
|
+
[name: string]: unknown;
|
|
2257
|
+
};
|
|
2258
|
+
content?: never;
|
|
2259
|
+
};
|
|
2260
|
+
};
|
|
2261
|
+
};
|
|
2262
|
+
getEquipmentMakes: {
|
|
2263
|
+
parameters: {
|
|
2264
|
+
query?: never;
|
|
2265
|
+
header?: never;
|
|
2266
|
+
path: {
|
|
2267
|
+
/** @description Deprecated value should be false */
|
|
2268
|
+
deprecated: components["parameters"]["Deprecated"];
|
|
2269
|
+
};
|
|
2270
|
+
cookie?: never;
|
|
2271
|
+
};
|
|
2272
|
+
requestBody?: never;
|
|
2273
|
+
responses: {
|
|
2274
|
+
/** @description OK */
|
|
2275
|
+
200: components["responses"]["GetEquipmentMake"];
|
|
2276
|
+
/** @description User is not authorized */
|
|
2277
|
+
403: {
|
|
2278
|
+
headers: {
|
|
2279
|
+
[name: string]: unknown;
|
|
2280
|
+
};
|
|
2281
|
+
content?: never;
|
|
2282
|
+
};
|
|
2283
|
+
};
|
|
2284
|
+
};
|
|
2285
|
+
getEquipmentMakesById: {
|
|
2286
|
+
parameters: {
|
|
2287
|
+
query?: never;
|
|
2288
|
+
header?: never;
|
|
2289
|
+
path: {
|
|
2290
|
+
/** @description ID for Equipment Make */
|
|
2291
|
+
equipmentMakeId: components["parameters"]["EquipmentMakeId"];
|
|
2292
|
+
};
|
|
2293
|
+
cookie?: never;
|
|
2294
|
+
};
|
|
2295
|
+
requestBody?: never;
|
|
2296
|
+
responses: {
|
|
2297
|
+
/** @description OK */
|
|
2298
|
+
200: {
|
|
2299
|
+
headers: {
|
|
2300
|
+
[name: string]: unknown;
|
|
2301
|
+
};
|
|
2302
|
+
content: {
|
|
2303
|
+
"application/json": {
|
|
2304
|
+
links?: components["schemas"]["link"][];
|
|
2305
|
+
values?: components["schemas"]["equipment-make"][];
|
|
2306
|
+
};
|
|
2307
|
+
};
|
|
2308
|
+
};
|
|
2309
|
+
/** @description User is not authorized */
|
|
2310
|
+
403: {
|
|
2311
|
+
headers: {
|
|
2312
|
+
[name: string]: unknown;
|
|
2313
|
+
};
|
|
2314
|
+
content?: never;
|
|
2315
|
+
};
|
|
2316
|
+
/** @description Resource Not foundapi-makes */
|
|
2317
|
+
404: {
|
|
2318
|
+
headers: {
|
|
2319
|
+
[name: string]: unknown;
|
|
2320
|
+
};
|
|
2321
|
+
content?: never;
|
|
2322
|
+
};
|
|
2323
|
+
};
|
|
2324
|
+
};
|
|
2325
|
+
getEquipmentTypesByMakeId: {
|
|
2326
|
+
parameters: {
|
|
2327
|
+
query?: never;
|
|
2328
|
+
header?: never;
|
|
2329
|
+
path: {
|
|
2330
|
+
/** @description ID for Equipment Make */
|
|
2331
|
+
equipmentMakeId: components["parameters"]["EquipmentMakeId"];
|
|
2332
|
+
/** @description Deprecated value should be false */
|
|
2333
|
+
deprecated: components["parameters"]["Deprecated"];
|
|
2334
|
+
};
|
|
2335
|
+
cookie?: never;
|
|
2336
|
+
};
|
|
2337
|
+
requestBody?: never;
|
|
2338
|
+
responses: {
|
|
2339
|
+
/** @description OK */
|
|
2340
|
+
200: {
|
|
2341
|
+
headers: {
|
|
2342
|
+
[name: string]: unknown;
|
|
2343
|
+
};
|
|
2344
|
+
content: {
|
|
2345
|
+
"application/json": {
|
|
2346
|
+
links?: components["schemas"]["link"][];
|
|
2347
|
+
values?: components["schemas"]["equipment-type"][];
|
|
2348
|
+
};
|
|
2349
|
+
};
|
|
2350
|
+
};
|
|
2351
|
+
};
|
|
2352
|
+
};
|
|
2353
|
+
getEquipmentTypes: {
|
|
2354
|
+
parameters: {
|
|
2355
|
+
query?: never;
|
|
2356
|
+
header?: never;
|
|
2357
|
+
path: {
|
|
2358
|
+
/** @description Deprecated value should be false */
|
|
2359
|
+
deprecated: components["parameters"]["Deprecated"];
|
|
2360
|
+
};
|
|
2361
|
+
cookie?: never;
|
|
2362
|
+
};
|
|
2363
|
+
requestBody?: never;
|
|
2364
|
+
responses: {
|
|
2365
|
+
/** @description OK */
|
|
2366
|
+
200: {
|
|
2367
|
+
headers: {
|
|
2368
|
+
[name: string]: unknown;
|
|
2369
|
+
};
|
|
2370
|
+
content: {
|
|
2371
|
+
"application/json": {
|
|
2372
|
+
links?: components["schemas"]["link"][];
|
|
2373
|
+
values?: components["schemas"]["equipment-type"][];
|
|
2374
|
+
};
|
|
2375
|
+
};
|
|
2376
|
+
};
|
|
2377
|
+
};
|
|
2378
|
+
};
|
|
2379
|
+
getEquipmentModels: {
|
|
2380
|
+
parameters: {
|
|
2381
|
+
query?: {
|
|
2382
|
+
/**
|
|
2383
|
+
* @description Embed additional attributes if required.
|
|
2384
|
+
* @example [
|
|
2385
|
+
* "make",
|
|
2386
|
+
* "type"
|
|
2387
|
+
* ]
|
|
2388
|
+
*/
|
|
2389
|
+
embed?: components["parameters"]["EmbedV1"];
|
|
2390
|
+
/**
|
|
2391
|
+
* @description It should be equipment model name
|
|
2392
|
+
* @example [
|
|
2393
|
+
* "9RX420",
|
|
2394
|
+
* "9RX*"
|
|
2395
|
+
* ]
|
|
2396
|
+
*/
|
|
2397
|
+
equipmentModelName?: components["parameters"]["EquipmentModelName"];
|
|
2398
|
+
};
|
|
2399
|
+
header?: never;
|
|
2400
|
+
path: {
|
|
2401
|
+
/** @description Deprecated value should be false */
|
|
2402
|
+
deprecated: components["parameters"]["Deprecated"];
|
|
2403
|
+
};
|
|
2404
|
+
cookie?: never;
|
|
2405
|
+
};
|
|
2406
|
+
requestBody?: never;
|
|
2407
|
+
responses: {
|
|
2408
|
+
/** @description OK */
|
|
2409
|
+
200: components["responses"]["GetEquipmentModelName"];
|
|
2410
|
+
};
|
|
2411
|
+
};
|
|
2412
|
+
getEquipmentISGTypes: {
|
|
2413
|
+
parameters: {
|
|
2414
|
+
query?: {
|
|
2415
|
+
/** @description List of type categories for the Equipment Model */
|
|
2416
|
+
category?: components["parameters"]["category"];
|
|
2417
|
+
/** @description Whether to filter isg types by the deprecated flag */
|
|
2418
|
+
deprecated?: components["parameters"]["deprecated"];
|
|
2419
|
+
/** @description List of embed data for the Equipment ISG Type */
|
|
2420
|
+
embed?: components["parameters"]["embed"];
|
|
2421
|
+
};
|
|
2422
|
+
header?: {
|
|
2423
|
+
/** @description Originating system of the request */
|
|
2424
|
+
"X-Deere-Originator"?: components["parameters"]["originator"];
|
|
2425
|
+
};
|
|
2426
|
+
path?: never;
|
|
2427
|
+
cookie?: never;
|
|
2428
|
+
};
|
|
2429
|
+
requestBody?: never;
|
|
2430
|
+
responses: {
|
|
2431
|
+
/** @description OK */
|
|
2432
|
+
200: {
|
|
2433
|
+
headers: {
|
|
2434
|
+
[name: string]: unknown;
|
|
2435
|
+
};
|
|
2436
|
+
content: {
|
|
2437
|
+
"application/json": {
|
|
2438
|
+
links?: components["schemas"]["link"][];
|
|
2439
|
+
values?: components["schemas"]["equipment-isg-type"][];
|
|
2440
|
+
};
|
|
2441
|
+
};
|
|
2442
|
+
};
|
|
2443
|
+
};
|
|
2444
|
+
};
|
|
2445
|
+
getEquipmentISGTypesByMakeId: {
|
|
2446
|
+
parameters: {
|
|
2447
|
+
query?: {
|
|
2448
|
+
/** @description Whether to filter isg types by the deprecated flag */
|
|
2449
|
+
deprecated?: components["parameters"]["deprecated"];
|
|
2450
|
+
/** @description List of embed data for the Equipment ISG Type */
|
|
2451
|
+
embed?: components["parameters"]["embed"];
|
|
2452
|
+
};
|
|
2453
|
+
header?: never;
|
|
2454
|
+
path: {
|
|
2455
|
+
/** @description ID for Equipment Make */
|
|
2456
|
+
equipmentMakeId: components["parameters"]["EquipmentMakeId"];
|
|
2457
|
+
};
|
|
2458
|
+
cookie?: never;
|
|
2459
|
+
};
|
|
2460
|
+
requestBody?: never;
|
|
2461
|
+
responses: {
|
|
2462
|
+
/** @description OK */
|
|
2463
|
+
200: {
|
|
2464
|
+
headers: {
|
|
2465
|
+
[name: string]: unknown;
|
|
2466
|
+
};
|
|
2467
|
+
content: {
|
|
2468
|
+
"application/json": {
|
|
2469
|
+
links?: components["schemas"]["link"][];
|
|
2470
|
+
values?: components["schemas"]["equipment-isg-type"][];
|
|
2471
|
+
};
|
|
2472
|
+
};
|
|
2473
|
+
};
|
|
2474
|
+
};
|
|
2475
|
+
};
|
|
2476
|
+
getEquipmentISGTypeByMakeIdAndISGTypeId: {
|
|
2477
|
+
parameters: {
|
|
2478
|
+
query?: {
|
|
2479
|
+
/** @description List of embed data for the Equipment ISG Type */
|
|
2480
|
+
embed?: components["parameters"]["embed"];
|
|
2481
|
+
};
|
|
2482
|
+
header?: never;
|
|
2483
|
+
path: {
|
|
2484
|
+
/** @description ID for Equipment Make */
|
|
2485
|
+
equipmentMakeId: components["parameters"]["EquipmentMakeId"];
|
|
2486
|
+
/** @description ID for Equipment ISG Type */
|
|
2487
|
+
equipmentISGTypeId: components["parameters"]["EquipmentISGTypeId"];
|
|
2488
|
+
};
|
|
2489
|
+
cookie?: never;
|
|
2490
|
+
};
|
|
2491
|
+
requestBody?: never;
|
|
2492
|
+
responses: {
|
|
2493
|
+
/** @description OK */
|
|
2494
|
+
200: {
|
|
2495
|
+
headers: {
|
|
2496
|
+
[name: string]: unknown;
|
|
2497
|
+
};
|
|
2498
|
+
content: {
|
|
2499
|
+
"application/json": components["schemas"]["equipment-isg-type"];
|
|
2500
|
+
};
|
|
2501
|
+
};
|
|
2502
|
+
/** @description Resource Not Found. */
|
|
2503
|
+
404: {
|
|
2504
|
+
headers: {
|
|
2505
|
+
[name: string]: unknown;
|
|
2506
|
+
};
|
|
2507
|
+
content?: never;
|
|
2508
|
+
};
|
|
2509
|
+
};
|
|
2510
|
+
};
|
|
2511
|
+
getEquipmentModelsByMakeIdAndISGTypeId: {
|
|
2512
|
+
parameters: {
|
|
2513
|
+
query?: {
|
|
2514
|
+
/** @description Whether to filter isg types by the deprecated flag */
|
|
2515
|
+
deprecated?: components["parameters"]["deprecated"];
|
|
2516
|
+
/**
|
|
2517
|
+
* @description The organization ids to get Equipment Models for.
|
|
2518
|
+
* If provided, then only non-certified models will be returned.
|
|
2519
|
+
* If not provided, then only certified models will be returned.
|
|
2520
|
+
*/
|
|
2521
|
+
organizationIds?: components["parameters"]["organizationIds"];
|
|
2522
|
+
};
|
|
2523
|
+
header?: never;
|
|
2524
|
+
path: {
|
|
2525
|
+
/** @description ID for Equipment Make */
|
|
2526
|
+
equipmentMakeId: components["parameters"]["EquipmentMakeId"];
|
|
2527
|
+
/** @description ID for Equipment ISG Type */
|
|
2528
|
+
equipmentISGTypeId: components["parameters"]["EquipmentISGTypeId"];
|
|
2529
|
+
};
|
|
2530
|
+
cookie?: never;
|
|
2531
|
+
};
|
|
2532
|
+
requestBody?: never;
|
|
2533
|
+
responses: {
|
|
2534
|
+
/** @description OK */
|
|
2535
|
+
200: {
|
|
2536
|
+
headers: {
|
|
2537
|
+
[name: string]: unknown;
|
|
2538
|
+
};
|
|
2539
|
+
content: {
|
|
2540
|
+
"application/json": {
|
|
2541
|
+
links?: components["schemas"]["link"][];
|
|
2542
|
+
values?: components["schemas"]["equipment-model"][];
|
|
2543
|
+
};
|
|
2544
|
+
};
|
|
2545
|
+
};
|
|
2546
|
+
/** @description Bad Request */
|
|
2547
|
+
400: {
|
|
2548
|
+
headers: {
|
|
2549
|
+
[name: string]: unknown;
|
|
2550
|
+
};
|
|
2551
|
+
content: {
|
|
2552
|
+
"application/json": components["schemas"]["Errors"];
|
|
2553
|
+
};
|
|
2554
|
+
};
|
|
2555
|
+
/** @description User/applications does not have the license assigned */
|
|
2556
|
+
403: {
|
|
2557
|
+
headers: {
|
|
2558
|
+
[name: string]: unknown;
|
|
2559
|
+
};
|
|
2560
|
+
content?: never;
|
|
2561
|
+
};
|
|
2562
|
+
};
|
|
2563
|
+
};
|
|
2564
|
+
getEquipmentModelsByMakeIdAndISGTypeIdAndModelId: {
|
|
2565
|
+
parameters: {
|
|
2566
|
+
query?: never;
|
|
2567
|
+
header?: never;
|
|
2568
|
+
path: {
|
|
2569
|
+
/** @description ID for Equipment Make */
|
|
2570
|
+
equipmentMakeId: components["parameters"]["EquipmentMakeId"];
|
|
2571
|
+
/** @description ID for Equipment ISG Type */
|
|
2572
|
+
equipmentISGTypeId: components["parameters"]["EquipmentISGTypeId"];
|
|
2573
|
+
/** @description ID for Equipment Model */
|
|
2574
|
+
equipmentModelId: components["parameters"]["EquipmentModelId"];
|
|
2575
|
+
};
|
|
2576
|
+
cookie?: never;
|
|
2577
|
+
};
|
|
2578
|
+
requestBody?: never;
|
|
2579
|
+
responses: {
|
|
2580
|
+
/** @description OK */
|
|
2581
|
+
200: {
|
|
2582
|
+
headers: {
|
|
2583
|
+
[name: string]: unknown;
|
|
2584
|
+
};
|
|
2585
|
+
content: {
|
|
2586
|
+
"application/json": components["schemas"]["equipment-model"];
|
|
2587
|
+
};
|
|
2588
|
+
};
|
|
2589
|
+
/** @description User is not two-legged authorized */
|
|
2590
|
+
403: {
|
|
2591
|
+
headers: {
|
|
2592
|
+
[name: string]: unknown;
|
|
2593
|
+
};
|
|
2594
|
+
content?: never;
|
|
2595
|
+
};
|
|
2596
|
+
};
|
|
2597
|
+
};
|
|
2598
|
+
}
|
|
2599
|
+
//# sourceMappingURL=equipment.d.ts.map
|