@dimo-network/data-sdk 1.3.2 → 1.3.3
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/README.md +49 -2
- package/dist/api/resources/Attestation/index.js +23 -6
- package/dist/cjs/index.js +23 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +23 -6
- package/dist/esm/index.js.map +1 -1
- package/package.json +3 -4
package/dist/esm/index.js
CHANGED
|
@@ -142454,16 +142454,33 @@ class Attestation extends Resource {
|
|
|
142454
142454
|
this.setResource({
|
|
142455
142455
|
createVinVC: {
|
|
142456
142456
|
method: 'POST',
|
|
142457
|
-
path: '/
|
|
142457
|
+
path: '/v2/attestation/vin/:tokenId',
|
|
142458
|
+
auth: 'vehicle_jwt'
|
|
142459
|
+
},
|
|
142460
|
+
createOdometerStatementVC: {
|
|
142461
|
+
method: 'POST',
|
|
142462
|
+
path: '/v2/attestation/odometer-statement/:tokenId',
|
|
142458
142463
|
auth: 'vehicle_jwt',
|
|
142459
|
-
|
|
142460
|
-
'
|
|
142464
|
+
body: {
|
|
142465
|
+
'timestamp': false // Optional parameter
|
|
142461
142466
|
}
|
|
142462
142467
|
},
|
|
142463
|
-
|
|
142468
|
+
createVehicleHealthVC: {
|
|
142464
142469
|
method: 'POST',
|
|
142465
|
-
path: '/
|
|
142466
|
-
auth: 'vehicle_jwt'
|
|
142470
|
+
path: '/v2/attestation/vehicle-health/:tokenId',
|
|
142471
|
+
auth: 'vehicle_jwt',
|
|
142472
|
+
body: {
|
|
142473
|
+
'startTime': true, // Required parameter
|
|
142474
|
+
'endTime': true // Required parameter
|
|
142475
|
+
}
|
|
142476
|
+
},
|
|
142477
|
+
createVehiclePositionVC: {
|
|
142478
|
+
method: 'POST',
|
|
142479
|
+
path: '/v2/attestation/vehicle-position/:tokenId',
|
|
142480
|
+
auth: 'vehicle_jwt',
|
|
142481
|
+
body: {
|
|
142482
|
+
'timestamp': true // Required parameter
|
|
142483
|
+
}
|
|
142467
142484
|
}
|
|
142468
142485
|
});
|
|
142469
142486
|
}
|