deere-sdk 2.3.1 → 2.4.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 +56 -0
- package/dist/api/assets.d.ts +23 -23
- package/dist/api/assets.d.ts.map +1 -1
- package/dist/api/assets.js +35 -35
- package/dist/api/assets.js.map +1 -1
- package/dist/api/boundaries.d.ts +16 -16
- package/dist/api/boundaries.d.ts.map +1 -1
- package/dist/api/boundaries.js +19 -19
- package/dist/api/boundaries.js.map +1 -1
- package/dist/api/clients.d.ts +10 -10
- package/dist/api/clients.d.ts.map +1 -1
- package/dist/api/clients.js +13 -13
- package/dist/api/clients.js.map +1 -1
- package/dist/api/crop-types.d.ts +4 -4
- package/dist/api/crop-types.d.ts.map +1 -1
- package/dist/api/crop-types.js +6 -6
- package/dist/api/crop-types.js.map +1 -1
- package/dist/api/equipment.d.ts +76 -76
- package/dist/api/equipment.d.ts.map +1 -1
- package/dist/api/equipment.js +96 -96
- package/dist/api/equipment.js.map +1 -1
- package/dist/api/farms.d.ts +11 -11
- package/dist/api/farms.d.ts.map +1 -1
- package/dist/api/farms.js +14 -14
- package/dist/api/farms.js.map +1 -1
- package/dist/api/field-operations-api.d.ts +88 -32
- package/dist/api/field-operations-api.d.ts.map +1 -1
- package/dist/api/field-operations-api.js +111 -49
- package/dist/api/field-operations-api.js.map +1 -1
- package/dist/api/fields.d.ts +9 -9
- package/dist/api/fields.d.ts.map +1 -1
- package/dist/api/fields.js +12 -12
- package/dist/api/fields.js.map +1 -1
- package/dist/api/files.d.ts +47 -0
- package/dist/api/files.d.ts.map +1 -1
- package/dist/api/files.js +65 -0
- package/dist/api/files.js.map +1 -1
- package/dist/api/flags.d.ts +100 -34
- package/dist/api/flags.d.ts.map +1 -1
- package/dist/api/flags.js +145 -49
- package/dist/api/flags.js.map +1 -1
- package/dist/api/machine-locations.d.ts +14 -0
- package/dist/api/machine-locations.d.ts.map +1 -1
- package/dist/api/machine-locations.js +22 -0
- package/dist/api/machine-locations.js.map +1 -1
- package/dist/api/map-layers.d.ts +83 -13
- package/dist/api/map-layers.d.ts.map +1 -1
- package/dist/api/map-layers.js +121 -19
- package/dist/api/map-layers.js.map +1 -1
- package/dist/api/notifications.d.ts +6 -6
- package/dist/api/notifications.d.ts.map +1 -1
- package/dist/api/notifications.js +9 -9
- package/dist/api/notifications.js.map +1 -1
- package/dist/api/products.d.ts +296 -10
- package/dist/api/products.d.ts.map +1 -1
- package/dist/api/products.js +423 -13
- package/dist/api/products.js.map +1 -1
- package/dist/api/webhook.d.ts +13 -0
- package/dist/api/webhook.d.ts.map +1 -1
- package/dist/api/webhook.js +19 -0
- package/dist/api/webhook.js.map +1 -1
- package/dist/api-servers.generated.d.ts +0 -1
- package/dist/api-servers.generated.d.ts.map +1 -1
- package/dist/api-servers.generated.js +0 -1
- package/dist/api-servers.generated.js.map +1 -1
- package/dist/hateoas-map.d.ts.map +1 -1
- package/dist/hateoas-map.js +65 -0
- package/dist/hateoas-map.js.map +1 -1
- package/dist/types/generated/assets.d.ts +256 -256
- package/dist/types/generated/assets.d.ts.map +1 -1
- package/dist/types/generated/boundaries.d.ts +475 -475
- package/dist/types/generated/boundaries.d.ts.map +1 -1
- package/dist/types/generated/clients.d.ts +163 -163
- package/dist/types/generated/clients.d.ts.map +1 -1
- package/dist/types/generated/connection-management.d.ts +21 -21
- package/dist/types/generated/connection-management.d.ts.map +1 -1
- package/dist/types/generated/crop-types.d.ts +30 -30
- package/dist/types/generated/crop-types.d.ts.map +1 -1
- package/dist/types/generated/equipment-measurement.d.ts +85 -85
- package/dist/types/generated/equipment-measurement.d.ts.map +1 -1
- package/dist/types/generated/equipment.d.ts +1202 -1202
- package/dist/types/generated/equipment.d.ts.map +1 -1
- package/dist/types/generated/farms.d.ts +122 -122
- package/dist/types/generated/farms.d.ts.map +1 -1
- package/dist/types/generated/field-operations-api.d.ts +1103 -846
- package/dist/types/generated/field-operations-api.d.ts.map +1 -1
- package/dist/types/generated/fields.d.ts +357 -357
- package/dist/types/generated/fields.d.ts.map +1 -1
- package/dist/types/generated/files.d.ts +435 -113
- package/dist/types/generated/files.d.ts.map +1 -1
- package/dist/types/generated/flags.d.ts +779 -77
- package/dist/types/generated/flags.d.ts.map +1 -1
- package/dist/types/generated/guidance-lines.d.ts +41 -41
- package/dist/types/generated/guidance-lines.d.ts.map +1 -1
- package/dist/types/generated/harvest-id.d.ts +137 -137
- package/dist/types/generated/harvest-id.d.ts.map +1 -1
- package/dist/types/generated/index.d.ts +1 -1
- package/dist/types/generated/index.js +1 -1
- package/dist/types/generated/machine-alerts.d.ts +114 -114
- package/dist/types/generated/machine-alerts.d.ts.map +1 -1
- package/dist/types/generated/machine-device-state-reports.d.ts +12 -12
- package/dist/types/generated/machine-device-state-reports.d.ts.map +1 -1
- package/dist/types/generated/machine-engine-hours.d.ts +19 -19
- package/dist/types/generated/machine-engine-hours.d.ts.map +1 -1
- package/dist/types/generated/machine-hours-of-operation.d.ts +20 -20
- package/dist/types/generated/machine-hours-of-operation.d.ts.map +1 -1
- package/dist/types/generated/machine-locations.d.ts +247 -1
- package/dist/types/generated/machine-locations.d.ts.map +1 -1
- package/dist/types/generated/map-layers.d.ts +957 -293
- package/dist/types/generated/map-layers.d.ts.map +1 -1
- package/dist/types/generated/notifications.d.ts +126 -126
- package/dist/types/generated/notifications.d.ts.map +1 -1
- package/dist/types/generated/operators.d.ts +21 -21
- package/dist/types/generated/operators.d.ts.map +1 -1
- package/dist/types/generated/organizations.d.ts +33 -33
- package/dist/types/generated/organizations.d.ts.map +1 -1
- package/dist/types/generated/partnerships.d.ts +61 -61
- package/dist/types/generated/partnerships.d.ts.map +1 -1
- package/dist/types/generated/products.d.ts +5162 -456
- package/dist/types/generated/products.d.ts.map +1 -1
- package/dist/types/generated/webhook.d.ts +299 -137
- package/dist/types/generated/webhook.d.ts.map +1 -1
- package/package.json +2 -1
package/dist/api/equipment.d.ts
CHANGED
|
@@ -40,46 +40,7 @@ export declare class EquipmentApi {
|
|
|
40
40
|
embed?: 'devices' | 'equipment' | 'icon' | 'pairingDetails';
|
|
41
41
|
pageOffset?: number;
|
|
42
42
|
itemLimit?: number;
|
|
43
|
-
}, options?: RequestOptions): Promise<PaginatedResponse<
|
|
44
|
-
/**
|
|
45
|
-
* Create equipment
|
|
46
|
-
* @description This resource allows the client to create a piece of equipment
|
|
47
|
-
* within a user’s organization. Getting Started The process of contributing
|
|
48
|
-
* equipment to John Deere can be broken down into three primary steps.
|
|
49
|
-
* Determine the Equipment’s model IDs Create the Equipment Contribute
|
|
50
|
-
* Measurements. Please see the for more information on uploading measurements
|
|
51
|
-
* for the created equipment. Determining the Equipment’s model Call the GET
|
|
52
|
-
* /equipmentMakes API endpoint to get a list of all equipment makes and a
|
|
53
|
-
* respective “id” of the equipment make you require. Call the GET
|
|
54
|
-
* /equipmentMakes/{id}/equipmentISGTypes endpoint to get a list of associated
|
|
55
|
-
* equipment ISG types for that specific equipment make and obtain a
|
|
56
|
-
* respective “id” for a specific ISG type you require. Call the GET
|
|
57
|
-
* /equipmentMakes/{id}/equipmentISGTypes/{id}/equipmentModels to obtain the
|
|
58
|
-
* final “id” of the equipment model you require. Alternatively, you may call
|
|
59
|
-
* the GET /equipmentModels endpoint if you know the model name you are
|
|
60
|
-
* searching for. For example
|
|
61
|
-
* /equipmentModels?equipmentModelName=9RX*&embed=make,isgType which will
|
|
62
|
-
* include all models with search string results and include make and isgType
|
|
63
|
-
* “id” as well as model “id”. Creating the Equipment Make a POST request to
|
|
64
|
-
* the /organizations/{orgId}/equipment API to create the piece of equipment
|
|
65
|
-
* in the user’s org. In this request you will provide the type of the
|
|
66
|
-
* equipment, a serialNumber (optional), name (displayed to the user in
|
|
67
|
-
* Operations Center), and the equipment model IDs. type: Machine or Implement
|
|
68
|
-
* serialNumber: A string identifier that is 30 characters or fewer. Must be
|
|
69
|
-
* unique within an organization. name: The name displayed in Operation
|
|
70
|
-
* Center, 30 characters or fewer. Must be unique within an organization.
|
|
71
|
-
* model: The id for the Model of the vehicle, found from the API in the
|
|
72
|
-
* previous step of this document. A successful POST will result in a 201
|
|
73
|
-
* Created response. The “location” header in the response will contain the
|
|
74
|
-
* URI to the new equipment, with the final segment being the organization
|
|
75
|
-
* specific machine ID (ie
|
|
76
|
-
* “https://equipmentapi.deere.com/isg/equipment/12345” is a link to the
|
|
77
|
-
* machine 12345). If you attempt to create a machine with a serialNumber that
|
|
78
|
-
* already exists in that organization, you get a response code 400 Bad
|
|
79
|
-
* Request. The body will include the error information.
|
|
80
|
-
* @generated from POST /organizations/{organizationId}/equipment
|
|
81
|
-
*/
|
|
82
|
-
create(organizationId: string, data: components['schemas']['createEquipment'], options?: RequestOptions): Promise<void>;
|
|
43
|
+
}, options?: RequestOptions): Promise<PaginatedResponse<components['schemas']['equipmentForList']>>;
|
|
83
44
|
/**
|
|
84
45
|
* View equipment details by Id
|
|
85
46
|
* @description This resource allows the client to view the details of one
|
|
@@ -88,7 +49,7 @@ export declare class EquipmentApi {
|
|
|
88
49
|
*/
|
|
89
50
|
getEquipment(id: string, params?: {
|
|
90
51
|
embed?: 'devices' | 'equipment' | 'pairingDetails' | 'icon' | 'offsets' | 'capabilities';
|
|
91
|
-
}, options?: RequestOptions): Promise<
|
|
52
|
+
}, options?: RequestOptions): Promise<components['schemas']['equipment']>;
|
|
92
53
|
/**
|
|
93
54
|
* Update equipment
|
|
94
55
|
* @description This resource allows the client to update a piece of equipment
|
|
@@ -109,6 +70,17 @@ export declare class EquipmentApi {
|
|
|
109
70
|
* @generated from DELETE /equipment/{id}
|
|
110
71
|
*/
|
|
111
72
|
delete(id: string, options?: RequestOptions): Promise<void>;
|
|
73
|
+
/**
|
|
74
|
+
* Get equipment ISG types
|
|
75
|
+
* @description This operation retrieves a list of Equipment ISG Types based
|
|
76
|
+
* on the supplied query parameters.
|
|
77
|
+
* @generated from GET /equipmentISGTypes
|
|
78
|
+
*/
|
|
79
|
+
listEquipmentisgtypes(params?: {
|
|
80
|
+
category?: 'machine' | 'implement';
|
|
81
|
+
deprecated?: 'false' | 'true' | 'all';
|
|
82
|
+
embed?: 'equipmentModels' | 'recordMetadata';
|
|
83
|
+
}, options?: RequestOptions): Promise<PaginatedResponse<components['schemas']['equipment-isg-type']>>;
|
|
112
84
|
/**
|
|
113
85
|
* Get equipment makes
|
|
114
86
|
* @description This resource allows the client to view equipment makes and
|
|
@@ -128,41 +100,6 @@ export declare class EquipmentApi {
|
|
|
128
100
|
* @generated from GET /equipmentMakes/{equipmentMakeId}
|
|
129
101
|
*/
|
|
130
102
|
getEquipmentmakes(equipmentMakeId: string, options?: RequestOptions): Promise<components['schemas']['equipment-make']>;
|
|
131
|
-
/**
|
|
132
|
-
* Get equipment types by make id
|
|
133
|
-
* @description This resource allows the client to view equipment types by
|
|
134
|
-
* providing an equipment make ID.
|
|
135
|
-
* @generated from GET /equipmentMakes/{equipmentMakeId}/equipmentTypes
|
|
136
|
-
*/
|
|
137
|
-
getEquipmenttypes(equipmentMakeId: string, options?: RequestOptions): Promise<PaginatedResponse<components['schemas']['equipment-type']>>;
|
|
138
|
-
/**
|
|
139
|
-
* Get equipment types
|
|
140
|
-
* @description This resource allows the client to view equipment types and
|
|
141
|
-
* their associated IDs and names.
|
|
142
|
-
* @generated from GET /equipmentTypes
|
|
143
|
-
*/
|
|
144
|
-
listEquipmenttypes(options?: RequestOptions): Promise<PaginatedResponse<components['schemas']['equipment-type']>>;
|
|
145
|
-
/**
|
|
146
|
-
* Get equipment models
|
|
147
|
-
* @description This resource allows the client to view equipment models in
|
|
148
|
-
* our reference database and their associated IDs and names.
|
|
149
|
-
* @generated from GET /equipmentModels
|
|
150
|
-
*/
|
|
151
|
-
listEquipmentmodels(params?: {
|
|
152
|
-
embed?: 'make' | 'type' | 'isgType';
|
|
153
|
-
equipmentModelName?: 'string or partial string with * wildcard search';
|
|
154
|
-
}, options?: RequestOptions): Promise<PaginatedResponse<components['schemas']['equipment-model']>>;
|
|
155
|
-
/**
|
|
156
|
-
* Get equipment ISG types
|
|
157
|
-
* @description This operation retrieves a list of Equipment ISG Types based
|
|
158
|
-
* on the supplied query parameters.
|
|
159
|
-
* @generated from GET /equipmentISGTypes
|
|
160
|
-
*/
|
|
161
|
-
listEquipmentisgtypes(params?: {
|
|
162
|
-
category?: 'machine' | 'implement';
|
|
163
|
-
deprecated?: 'false' | 'true' | 'all';
|
|
164
|
-
embed?: 'equipmentModels' | 'recordMetadata';
|
|
165
|
-
}, options?: RequestOptions): Promise<PaginatedResponse<components['schemas']['equipment-isg-type']>>;
|
|
166
103
|
/**
|
|
167
104
|
* Get equipment ISG types by make id
|
|
168
105
|
* @description This operation retrieves a list of Equipment ISG Types for
|
|
@@ -199,6 +136,69 @@ export declare class EquipmentApi {
|
|
|
199
136
|
* @generated from GET /equipmentMakes/{equipmentMakeId}/equipmentISGTypes/{equipmentISGTypeId}/equipmentModels/{equipmentModelId}
|
|
200
137
|
*/
|
|
201
138
|
getEquipmentmodels2(equipmentMakeId: string, equipmentISGTypeId: string, equipmentModelId: string, options?: RequestOptions): Promise<components['schemas']['equipment-model']>;
|
|
139
|
+
/**
|
|
140
|
+
* Get equipment types by make id
|
|
141
|
+
* @description This resource allows the client to view equipment types by
|
|
142
|
+
* providing an equipment make ID.
|
|
143
|
+
* @generated from GET /equipmentMakes/{equipmentMakeId}/equipmentTypes
|
|
144
|
+
*/
|
|
145
|
+
getEquipmenttypes(equipmentMakeId: string, options?: RequestOptions): Promise<PaginatedResponse<components['schemas']['equipment-type']>>;
|
|
146
|
+
/**
|
|
147
|
+
* Get equipment models
|
|
148
|
+
* @description This resource allows the client to view equipment models in
|
|
149
|
+
* our reference database and their associated IDs and names.
|
|
150
|
+
* @generated from GET /equipmentModels
|
|
151
|
+
*/
|
|
152
|
+
listEquipmentmodels(params?: {
|
|
153
|
+
embed?: 'make' | 'type' | 'isgType';
|
|
154
|
+
equipmentModelName?: 'string or partial string with * wildcard search';
|
|
155
|
+
}, options?: RequestOptions): Promise<PaginatedResponse<components['schemas']['equipment-model']>>;
|
|
156
|
+
/**
|
|
157
|
+
* Get equipment types
|
|
158
|
+
* @description This resource allows the client to view equipment types and
|
|
159
|
+
* their associated IDs and names.
|
|
160
|
+
* @generated from GET /equipmentTypes
|
|
161
|
+
*/
|
|
162
|
+
listEquipmenttypes(options?: RequestOptions): Promise<PaginatedResponse<components['schemas']['equipment-type']>>;
|
|
163
|
+
/**
|
|
164
|
+
* Create equipment
|
|
165
|
+
* @description This resource allows the client to create a piece of equipment
|
|
166
|
+
* within a user’s organization. Getting Started The process of contributing
|
|
167
|
+
* equipment to John Deere can be broken down into three primary steps.
|
|
168
|
+
* Determine the Equipment’s model IDs Create the Equipment Contribute
|
|
169
|
+
* Measurements. Please see the for more information on uploading measurements
|
|
170
|
+
* for the created equipment. Determining the Equipment’s model Call the GET
|
|
171
|
+
* /equipmentMakes API endpoint to get a list of all equipment makes and a
|
|
172
|
+
* respective “id” of the equipment make you require. Call the GET
|
|
173
|
+
* /equipmentMakes/{id}/equipmentISGTypes endpoint to get a list of associated
|
|
174
|
+
* equipment ISG types for that specific equipment make and obtain a
|
|
175
|
+
* respective “id” for a specific ISG type you require. Call the GET
|
|
176
|
+
* /equipmentMakes/{id}/equipmentISGTypes/{id}/equipmentModels to obtain the
|
|
177
|
+
* final “id” of the equipment model you require. Alternatively, you may call
|
|
178
|
+
* the GET /equipmentModels endpoint if you know the model name you are
|
|
179
|
+
* searching for. For example
|
|
180
|
+
* /equipmentModels?equipmentModelName=9RX*&embed=make,isgType which will
|
|
181
|
+
* include all models with search string results and include make and isgType
|
|
182
|
+
* “id” as well as model “id”. Creating the Equipment Make a POST request to
|
|
183
|
+
* the /organizations/{orgId}/equipment API to create the piece of equipment
|
|
184
|
+
* in the user’s org. In this request you will provide the type of the
|
|
185
|
+
* equipment, a serialNumber (optional), name (displayed to the user in
|
|
186
|
+
* Operations Center), and the equipment model IDs. type: Machine or Implement
|
|
187
|
+
* serialNumber: A string identifier that is 30 characters or fewer. Must be
|
|
188
|
+
* unique within an organization. name: The name displayed in Operation
|
|
189
|
+
* Center, 30 characters or fewer. Must be unique within an organization.
|
|
190
|
+
* model: The id for the Model of the vehicle, found from the API in the
|
|
191
|
+
* previous step of this document. A successful POST will result in a 201
|
|
192
|
+
* Created response. The “location” header in the response will contain the
|
|
193
|
+
* URI to the new equipment, with the final segment being the organization
|
|
194
|
+
* specific machine ID (ie
|
|
195
|
+
* “https://equipmentapi.deere.com/isg/equipment/12345” is a link to the
|
|
196
|
+
* machine 12345). If you attempt to create a machine with a serialNumber that
|
|
197
|
+
* already exists in that organization, you get a response code 400 Bad
|
|
198
|
+
* Request. The body will include the error information.
|
|
199
|
+
* @generated from POST /organizations/{organizationId}/equipment
|
|
200
|
+
*/
|
|
201
|
+
create(organizationId: string, data: components['schemas']['createEquipment'], options?: RequestOptions): Promise<void>;
|
|
202
202
|
}
|
|
203
203
|
export type { components as EquipmentTypes } from '../types/generated/equipment.js';
|
|
204
204
|
//# sourceMappingURL=equipment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"equipment.d.ts","sourceRoot":"","sources":["../../src/api/equipment.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAElE,qBAAa,YAAY;IAMX,OAAO,CAAC,QAAQ,CAAC,MAAM;IALnC;;qCAEiC;IACjC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAyB;gBAEjB,MAAM,EAAE,WAAW;IAEhD;;;;;;;;;;;;;;OAcG;IACG,GAAG,CACP,MAAM,CAAC,EAAE;QACP,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;QACf,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;QACzB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;QAC3B,YAAY,CAAC,EAAE,MAAM,EA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${queryString}` : ''}`;
|
|
57
57
|
return this.client.get(this.spec, path, options);
|
|
58
58
|
}
|
|
59
|
-
/**
|
|
60
|
-
* Create equipment
|
|
61
|
-
* @description This resource allows the client to create a piece of equipment
|
|
62
|
-
* within a user’s organization. Getting Started The process of contributing
|
|
63
|
-
* equipment to John Deere can be broken down into three primary steps.
|
|
64
|
-
* Determine the Equipment’s model IDs Create the Equipment Contribute
|
|
65
|
-
* Measurements. Please see the for more information on uploading measurements
|
|
66
|
-
* for the created equipment. Determining the Equipment’s model Call the GET
|
|
67
|
-
* /equipmentMakes API endpoint to get a list of all equipment makes and a
|
|
68
|
-
* respective “id” of the equipment make you require. Call the GET
|
|
69
|
-
* /equipmentMakes/{id}/equipmentISGTypes endpoint to get a list of associated
|
|
70
|
-
* equipment ISG types for that specific equipment make and obtain a
|
|
71
|
-
* respective “id” for a specific ISG type you require. Call the GET
|
|
72
|
-
* /equipmentMakes/{id}/equipmentISGTypes/{id}/equipmentModels to obtain the
|
|
73
|
-
* final “id” of the equipment model you require. Alternatively, you may call
|
|
74
|
-
* the GET /equipmentModels endpoint if you know the model name you are
|
|
75
|
-
* searching for. For example
|
|
76
|
-
* /equipmentModels?equipmentModelName=9RX*&embed=make,isgType which will
|
|
77
|
-
* include all models with search string results and include make and isgType
|
|
78
|
-
* “id” as well as model “id”. Creating the Equipment Make a POST request to
|
|
79
|
-
* the /organizations/{orgId}/equipment API to create the piece of equipment
|
|
80
|
-
* in the user’s org. In this request you will provide the type of the
|
|
81
|
-
* equipment, a serialNumber (optional), name (displayed to the user in
|
|
82
|
-
* Operations Center), and the equipment model IDs. type: Machine or Implement
|
|
83
|
-
* serialNumber: A string identifier that is 30 characters or fewer. Must be
|
|
84
|
-
* unique within an organization. name: The name displayed in Operation
|
|
85
|
-
* Center, 30 characters or fewer. Must be unique within an organization.
|
|
86
|
-
* model: The id for the Model of the vehicle, found from the API in the
|
|
87
|
-
* previous step of this document. A successful POST will result in a 201
|
|
88
|
-
* Created response. The “location” header in the response will contain the
|
|
89
|
-
* URI to the new equipment, with the final segment being the organization
|
|
90
|
-
* specific machine ID (ie
|
|
91
|
-
* “https://equipmentapi.deere.com/isg/equipment/12345” is a link to the
|
|
92
|
-
* machine 12345). If you attempt to create a machine with a serialNumber that
|
|
93
|
-
* already exists in that organization, you get a response code 400 Bad
|
|
94
|
-
* Request. The body will include the error information.
|
|
95
|
-
* @generated from POST /organizations/{organizationId}/equipment
|
|
96
|
-
*/
|
|
97
|
-
async create(organizationId, data, options) {
|
|
98
|
-
const path = `/organizations/${organizationId}/equipment`;
|
|
99
|
-
await this.client.post(this.spec, path, data, options);
|
|
100
|
-
}
|
|
101
59
|
/**
|
|
102
60
|
* View equipment details by Id
|
|
103
61
|
* @description This resource allows the client to view the details of one
|
|
@@ -138,6 +96,24 @@ export class EquipmentApi {
|
|
|
138
96
|
const path = `/equipment/${id}`;
|
|
139
97
|
await this.client.delete(this.spec, path, options);
|
|
140
98
|
}
|
|
99
|
+
/**
|
|
100
|
+
* Get equipment ISG types
|
|
101
|
+
* @description This operation retrieves a list of Equipment ISG Types based
|
|
102
|
+
* on the supplied query parameters.
|
|
103
|
+
* @generated from GET /equipmentISGTypes
|
|
104
|
+
*/
|
|
105
|
+
async listEquipmentisgtypes(params, options) {
|
|
106
|
+
const query = new URLSearchParams();
|
|
107
|
+
if (params?.category !== undefined)
|
|
108
|
+
query.set('category', String(params.category));
|
|
109
|
+
if (params?.deprecated !== undefined)
|
|
110
|
+
query.set('deprecated', String(params.deprecated));
|
|
111
|
+
if (params?.embed !== undefined)
|
|
112
|
+
query.set('embed', String(params.embed));
|
|
113
|
+
const queryString = query.toString();
|
|
114
|
+
const path = `/equipmentISGTypes${queryString ? `?${queryString}` : ''}`;
|
|
115
|
+
return this.client.get(this.spec, path, options);
|
|
116
|
+
}
|
|
141
117
|
/**
|
|
142
118
|
* Get equipment makes
|
|
143
119
|
* @description This resource allows the client to view equipment makes and
|
|
@@ -166,60 +142,6 @@ export class EquipmentApi {
|
|
|
166
142
|
const path = `/equipmentMakes/${equipmentMakeId}`;
|
|
167
143
|
return this.client.get(this.spec, path, options);
|
|
168
144
|
}
|
|
169
|
-
/**
|
|
170
|
-
* Get equipment types by make id
|
|
171
|
-
* @description This resource allows the client to view equipment types by
|
|
172
|
-
* providing an equipment make ID.
|
|
173
|
-
* @generated from GET /equipmentMakes/{equipmentMakeId}/equipmentTypes
|
|
174
|
-
*/
|
|
175
|
-
async getEquipmenttypes(equipmentMakeId, options) {
|
|
176
|
-
const path = `/equipmentMakes/${equipmentMakeId}/equipmentTypes`;
|
|
177
|
-
return this.client.get(this.spec, path, options);
|
|
178
|
-
}
|
|
179
|
-
/**
|
|
180
|
-
* Get equipment types
|
|
181
|
-
* @description This resource allows the client to view equipment types and
|
|
182
|
-
* their associated IDs and names.
|
|
183
|
-
* @generated from GET /equipmentTypes
|
|
184
|
-
*/
|
|
185
|
-
async listEquipmenttypes(options) {
|
|
186
|
-
const path = `/equipmentTypes`;
|
|
187
|
-
return this.client.get(this.spec, path, options);
|
|
188
|
-
}
|
|
189
|
-
/**
|
|
190
|
-
* Get equipment models
|
|
191
|
-
* @description This resource allows the client to view equipment models in
|
|
192
|
-
* our reference database and their associated IDs and names.
|
|
193
|
-
* @generated from GET /equipmentModels
|
|
194
|
-
*/
|
|
195
|
-
async listEquipmentmodels(params, options) {
|
|
196
|
-
const query = new URLSearchParams();
|
|
197
|
-
if (params?.embed !== undefined)
|
|
198
|
-
query.set('embed', String(params.embed));
|
|
199
|
-
if (params?.equipmentModelName !== undefined)
|
|
200
|
-
query.set('equipmentModelName', String(params.equipmentModelName));
|
|
201
|
-
const queryString = query.toString();
|
|
202
|
-
const path = `/equipmentModels${queryString ? `?${queryString}` : ''}`;
|
|
203
|
-
return this.client.get(this.spec, path, options);
|
|
204
|
-
}
|
|
205
|
-
/**
|
|
206
|
-
* Get equipment ISG types
|
|
207
|
-
* @description This operation retrieves a list of Equipment ISG Types based
|
|
208
|
-
* on the supplied query parameters.
|
|
209
|
-
* @generated from GET /equipmentISGTypes
|
|
210
|
-
*/
|
|
211
|
-
async listEquipmentisgtypes(params, options) {
|
|
212
|
-
const query = new URLSearchParams();
|
|
213
|
-
if (params?.category !== undefined)
|
|
214
|
-
query.set('category', String(params.category));
|
|
215
|
-
if (params?.deprecated !== undefined)
|
|
216
|
-
query.set('deprecated', String(params.deprecated));
|
|
217
|
-
if (params?.embed !== undefined)
|
|
218
|
-
query.set('embed', String(params.embed));
|
|
219
|
-
const queryString = query.toString();
|
|
220
|
-
const path = `/equipmentISGTypes${queryString ? `?${queryString}` : ''}`;
|
|
221
|
-
return this.client.get(this.spec, path, options);
|
|
222
|
-
}
|
|
223
145
|
/**
|
|
224
146
|
* Get equipment ISG types by make id
|
|
225
147
|
* @description This operation retrieves a list of Equipment ISG Types for
|
|
@@ -276,5 +198,83 @@ export class EquipmentApi {
|
|
|
276
198
|
const path = `/equipmentMakes/${equipmentMakeId}/equipmentISGTypes/${equipmentISGTypeId}/equipmentModels/${equipmentModelId}`;
|
|
277
199
|
return this.client.get(this.spec, path, options);
|
|
278
200
|
}
|
|
201
|
+
/**
|
|
202
|
+
* Get equipment types by make id
|
|
203
|
+
* @description This resource allows the client to view equipment types by
|
|
204
|
+
* providing an equipment make ID.
|
|
205
|
+
* @generated from GET /equipmentMakes/{equipmentMakeId}/equipmentTypes
|
|
206
|
+
*/
|
|
207
|
+
async getEquipmenttypes(equipmentMakeId, options) {
|
|
208
|
+
const path = `/equipmentMakes/${equipmentMakeId}/equipmentTypes`;
|
|
209
|
+
return this.client.get(this.spec, path, options);
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Get equipment models
|
|
213
|
+
* @description This resource allows the client to view equipment models in
|
|
214
|
+
* our reference database and their associated IDs and names.
|
|
215
|
+
* @generated from GET /equipmentModels
|
|
216
|
+
*/
|
|
217
|
+
async listEquipmentmodels(params, options) {
|
|
218
|
+
const query = new URLSearchParams();
|
|
219
|
+
if (params?.embed !== undefined)
|
|
220
|
+
query.set('embed', String(params.embed));
|
|
221
|
+
if (params?.equipmentModelName !== undefined)
|
|
222
|
+
query.set('equipmentModelName', String(params.equipmentModelName));
|
|
223
|
+
const queryString = query.toString();
|
|
224
|
+
const path = `/equipmentModels${queryString ? `?${queryString}` : ''}`;
|
|
225
|
+
return this.client.get(this.spec, path, options);
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Get equipment types
|
|
229
|
+
* @description This resource allows the client to view equipment types and
|
|
230
|
+
* their associated IDs and names.
|
|
231
|
+
* @generated from GET /equipmentTypes
|
|
232
|
+
*/
|
|
233
|
+
async listEquipmenttypes(options) {
|
|
234
|
+
const path = `/equipmentTypes`;
|
|
235
|
+
return this.client.get(this.spec, path, options);
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* Create equipment
|
|
239
|
+
* @description This resource allows the client to create a piece of equipment
|
|
240
|
+
* within a user’s organization. Getting Started The process of contributing
|
|
241
|
+
* equipment to John Deere can be broken down into three primary steps.
|
|
242
|
+
* Determine the Equipment’s model IDs Create the Equipment Contribute
|
|
243
|
+
* Measurements. Please see the for more information on uploading measurements
|
|
244
|
+
* for the created equipment. Determining the Equipment’s model Call the GET
|
|
245
|
+
* /equipmentMakes API endpoint to get a list of all equipment makes and a
|
|
246
|
+
* respective “id” of the equipment make you require. Call the GET
|
|
247
|
+
* /equipmentMakes/{id}/equipmentISGTypes endpoint to get a list of associated
|
|
248
|
+
* equipment ISG types for that specific equipment make and obtain a
|
|
249
|
+
* respective “id” for a specific ISG type you require. Call the GET
|
|
250
|
+
* /equipmentMakes/{id}/equipmentISGTypes/{id}/equipmentModels to obtain the
|
|
251
|
+
* final “id” of the equipment model you require. Alternatively, you may call
|
|
252
|
+
* the GET /equipmentModels endpoint if you know the model name you are
|
|
253
|
+
* searching for. For example
|
|
254
|
+
* /equipmentModels?equipmentModelName=9RX*&embed=make,isgType which will
|
|
255
|
+
* include all models with search string results and include make and isgType
|
|
256
|
+
* “id” as well as model “id”. Creating the Equipment Make a POST request to
|
|
257
|
+
* the /organizations/{orgId}/equipment API to create the piece of equipment
|
|
258
|
+
* in the user’s org. In this request you will provide the type of the
|
|
259
|
+
* equipment, a serialNumber (optional), name (displayed to the user in
|
|
260
|
+
* Operations Center), and the equipment model IDs. type: Machine or Implement
|
|
261
|
+
* serialNumber: A string identifier that is 30 characters or fewer. Must be
|
|
262
|
+
* unique within an organization. name: The name displayed in Operation
|
|
263
|
+
* Center, 30 characters or fewer. Must be unique within an organization.
|
|
264
|
+
* model: The id for the Model of the vehicle, found from the API in the
|
|
265
|
+
* previous step of this document. A successful POST will result in a 201
|
|
266
|
+
* Created response. The “location” header in the response will contain the
|
|
267
|
+
* URI to the new equipment, with the final segment being the organization
|
|
268
|
+
* specific machine ID (ie
|
|
269
|
+
* “https://equipmentapi.deere.com/isg/equipment/12345” is a link to the
|
|
270
|
+
* machine 12345). If you attempt to create a machine with a serialNumber that
|
|
271
|
+
* already exists in that organization, you get a response code 400 Bad
|
|
272
|
+
* Request. The body will include the error information.
|
|
273
|
+
* @generated from POST /organizations/{organizationId}/equipment
|
|
274
|
+
*/
|
|
275
|
+
async create(organizationId, data, options) {
|
|
276
|
+
const path = `/organizations/${organizationId}/equipment`;
|
|
277
|
+
await this.client.post(this.spec, path, data, options);
|
|
278
|
+
}
|
|
279
279
|
}
|
|
280
280
|
//# sourceMappingURL=equipment.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"equipment.js","sourceRoot":"","sources":["../../src/api/equipment.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,MAAM,OAAO,YAAY;IAMM;IAL7B;;qCAEiC;IAChB,IAAI,GAAa,WAAW,CAAC;IAE9C,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IAEpD;;;;;;;;;;;;;;OAcG;IACH,KAAK,CAAC,GAAG,CACP,MAYC,EACD,OAAwB;QAExB,MAAM,KAAK,GAAG,IAAI,eAAe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AAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IACzD,CAAC;CACF"}
|
package/dist/api/farms.d.ts
CHANGED
|
@@ -13,6 +13,17 @@ export declare class FarmsApi {
|
|
|
13
13
|
* are caught at compile time. */
|
|
14
14
|
private readonly spec;
|
|
15
15
|
constructor(client: DeereClient);
|
|
16
|
+
/**
|
|
17
|
+
* View a Farm's Field
|
|
18
|
+
* @description View details on the field to which a specified farm belongs.
|
|
19
|
+
* The response will link to the following resources: boundaries: View the
|
|
20
|
+
* boundaries of this field. clients: View the clients associated with this
|
|
21
|
+
* field. farms: View the farms belonging to this field. owningOrganization:
|
|
22
|
+
* View the organization that owns the field. activeBoundary: View the active
|
|
23
|
+
* boundary of this field.
|
|
24
|
+
* @generated from GET /organizations/{orgID}/farms/{id}/fields
|
|
25
|
+
*/
|
|
26
|
+
listFields(orgID: string, id: string, options?: RequestOptions): Promise<PaginatedResponse<components['schemas']['FieldResponse2']>>;
|
|
16
27
|
/**
|
|
17
28
|
* View Farms in an Org
|
|
18
29
|
* @description Retrieve all of the farms for an organization
|
|
@@ -62,17 +73,6 @@ export declare class FarmsApi {
|
|
|
62
73
|
* @generated from GET /organizations/{orgId}/farms/{farmId}/clients
|
|
63
74
|
*/
|
|
64
75
|
listClients(orgId: string, farmId: string, options?: RequestOptions): Promise<PaginatedResponse<components['schemas']['Clients']>>;
|
|
65
|
-
/**
|
|
66
|
-
* View a Farm's Field
|
|
67
|
-
* @description View details on the field to which a specified farm belongs.
|
|
68
|
-
* The response will link to the following resources: boundaries: View the
|
|
69
|
-
* boundaries of this field. clients: View the clients associated with this
|
|
70
|
-
* field. farms: View the farms belonging to this field. owningOrganization:
|
|
71
|
-
* View the organization that owns the field. activeBoundary: View the active
|
|
72
|
-
* boundary of this field.
|
|
73
|
-
* @generated from GET /organizations/{orgID}/farms/{id}/fields
|
|
74
|
-
*/
|
|
75
|
-
listFields(orgID: string, id: string, options?: RequestOptions): Promise<PaginatedResponse<components['schemas']['FieldResponse2']>>;
|
|
76
76
|
}
|
|
77
77
|
export type { components as FarmsTypes } from '../types/generated/farms.js';
|
|
78
78
|
//# sourceMappingURL=farms.d.ts.map
|
package/dist/api/farms.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"farms.d.ts","sourceRoot":"","sources":["../../src/api/farms.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAE9D,qBAAa,QAAQ;IAMP,OAAO,CAAC,QAAQ,CAAC,MAAM;IALnC;;qCAEiC;IACjC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAqB;gBAEb,MAAM,EAAE,WAAW;IAEhD;;;;OAIG;IACG,IAAI,CACR,KAAK,EAAE,MAAM,EACb,MAAM,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,WAAW,GAAG,UAAU,GAAG,KAAK,CAAA;KAAE,EAC5E,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,iBAAiB,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;IAY/D;;;OAGG;IACG,OAAO,CACX,KAAK,EAAE,MAAM,EACb,MAAM,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,YAAY,CAAC,EAAE,WAAW,GAAG,UAAU,GAAG,KAAK,CAAA;KAAE,EAC5E,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC;IAS9C;;;;OAIG;IACG,MAAM,CACV,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MA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EACd,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;IAKhB;;;;OAIG;IACG,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAKpF;;;;OAIG;IACG,WAAW,CACf,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,iBAAiB,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;CAQhE;AAGD,YAAY,EAAE,UAAU,IAAI,UAAU,EAAE,MAAM,6BAA6B,CAAC"}
|
package/dist/api/farms.js
CHANGED
|
@@ -13,6 +13,20 @@ export class FarmsApi {
|
|
|
13
13
|
constructor(client) {
|
|
14
14
|
this.client = client;
|
|
15
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* View a Farm's Field
|
|
18
|
+
* @description View details on the field to which a specified farm belongs.
|
|
19
|
+
* The response will link to the following resources: boundaries: View the
|
|
20
|
+
* boundaries of this field. clients: View the clients associated with this
|
|
21
|
+
* field. farms: View the farms belonging to this field. owningOrganization:
|
|
22
|
+
* View the organization that owns the field. activeBoundary: View the active
|
|
23
|
+
* boundary of this field.
|
|
24
|
+
* @generated from GET /organizations/{orgID}/farms/{id}/fields
|
|
25
|
+
*/
|
|
26
|
+
async listFields(orgID, id, options) {
|
|
27
|
+
const path = `/organizations/${orgID}/farms/${id}/fields`;
|
|
28
|
+
return this.client.get(this.spec, path, options);
|
|
29
|
+
}
|
|
16
30
|
/**
|
|
17
31
|
* View Farms in an Org
|
|
18
32
|
* @description Retrieve all of the farms for an organization
|
|
@@ -91,19 +105,5 @@ export class FarmsApi {
|
|
|
91
105
|
const path = `/organizations/${orgId}/farms/${farmId}/clients`;
|
|
92
106
|
return this.client.get(this.spec, path, options);
|
|
93
107
|
}
|
|
94
|
-
/**
|
|
95
|
-
* View a Farm's Field
|
|
96
|
-
* @description View details on the field to which a specified farm belongs.
|
|
97
|
-
* The response will link to the following resources: boundaries: View the
|
|
98
|
-
* boundaries of this field. clients: View the clients associated with this
|
|
99
|
-
* field. farms: View the farms belonging to this field. owningOrganization:
|
|
100
|
-
* View the organization that owns the field. activeBoundary: View the active
|
|
101
|
-
* boundary of this field.
|
|
102
|
-
* @generated from GET /organizations/{orgID}/farms/{id}/fields
|
|
103
|
-
*/
|
|
104
|
-
async listFields(orgID, id, options) {
|
|
105
|
-
const path = `/organizations/${orgID}/farms/${id}/fields`;
|
|
106
|
-
return this.client.get(this.spec, path, options);
|
|
107
|
-
}
|
|
108
108
|
}
|
|
109
109
|
//# sourceMappingURL=farms.js.map
|
package/dist/api/farms.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"farms.js","sourceRoot":"","sources":["../../src/api/farms.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,MAAM,OAAO,QAAQ;IAMU;IAL7B;;qCAEiC;IAChB,IAAI,GAAa,OAAO,CAAC;IAE1C,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IAEpD;;;;OAIG;IACH,KAAK,CAAC,IAAI,CACR,KAAa,EACb,MAA4E,EAC5E,OAAwB;QAExB,MAAM,KAAK,GAAG,IAAI,eAAe,EAAE,CAAC;QACpC,IAAI,MAAM,EAAE,KAAK,KAAK,SAAS;YAAE,KAAK,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;QAC1E,IAAI,MAAM,EAAE,YAAY,KAAK,SAAS;YAAE,KAAK,CAAC,GAAG,CAAC,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC;QAC/F,MAAM,WAAW,GAAG,KAAK,CAAC,QAAQ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