@dimo-network/data-sdk 1.3.3 → 1.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/dist/api/resources/DimoRestResources.d.ts +2 -2
- package/dist/api/resources/DimoRestResources.js +2 -2
- package/dist/api/resources/{VehicleEvents → VehicleTriggers}/index.d.ts +2 -2
- package/dist/api/resources/{VehicleEvents → VehicleTriggers}/index.js +13 -19
- package/dist/cjs/index.js +532 -501
- package/dist/cjs/index.js.map +1 -1
- package/dist/dimo.d.ts +2 -2
- package/dist/dimo.js +3 -3
- package/dist/environments/index.d.ts +2 -2
- package/dist/environments/index.js +2 -2
- package/dist/esm/index.js +532 -501
- package/dist/esm/index.js.map +1 -1
- package/dist/types/api/resources/DimoRestResources.d.ts +2 -2
- package/dist/types/api/resources/{VehicleEvents → VehicleTriggers}/index.d.ts +2 -2
- package/dist/types/dimo.d.ts +2 -2
- package/dist/types/environments/index.d.ts +2 -2
- package/package.json +2 -2
|
@@ -6,5 +6,5 @@ import { Devices } from './Devices';
|
|
|
6
6
|
import { TokenExchange } from './TokenExchange';
|
|
7
7
|
import { Trips } from './Trips';
|
|
8
8
|
import { Valuations } from './Valuations';
|
|
9
|
-
import {
|
|
10
|
-
export { Attestation, Auth, DeviceDefinitions, Devices, TokenExchange, Trips, Valuations,
|
|
9
|
+
import { VehicleTriggers } from './VehicleTriggers';
|
|
10
|
+
export { Attestation, Auth, DeviceDefinitions, Devices, TokenExchange, Trips, Valuations, VehicleTriggers, };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** @format */
|
|
2
2
|
import { Resource } from '../../Resource';
|
|
3
3
|
import { DimoEnvironment } from '../../../environments';
|
|
4
|
-
declare class
|
|
4
|
+
declare class VehicleTriggers extends Resource {
|
|
5
5
|
constructor(api: any, env: keyof typeof DimoEnvironment);
|
|
6
6
|
}
|
|
7
|
-
export {
|
|
7
|
+
export { VehicleTriggers };
|
package/dist/types/dimo.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** @format */
|
|
2
2
|
import { DimoEnvironment } from "./environments";
|
|
3
3
|
import { Identity, Telemetry } from "./graphql/resources/DimoGraphqlResources";
|
|
4
|
-
import { Attestation, Auth, DeviceDefinitions, Devices, TokenExchange, Trips, Valuations,
|
|
4
|
+
import { Attestation, Auth, DeviceDefinitions, Devices, TokenExchange, Trips, Valuations, VehicleTriggers } from "./api/resources/DimoRestResources";
|
|
5
5
|
export declare class DIMO {
|
|
6
6
|
attestation: Attestation;
|
|
7
7
|
auth: Auth;
|
|
@@ -12,7 +12,7 @@ export declare class DIMO {
|
|
|
12
12
|
tokenexchange: TokenExchange;
|
|
13
13
|
trips: Trips;
|
|
14
14
|
valuations: Valuations;
|
|
15
|
-
|
|
15
|
+
vehicleTriggers: VehicleTriggers;
|
|
16
16
|
constructor(env: keyof typeof DimoEnvironment);
|
|
17
17
|
authenticate(): Promise<any>;
|
|
18
18
|
}
|
|
@@ -11,7 +11,7 @@ export declare const DimoEnvironment: {
|
|
|
11
11
|
readonly Trips: "https://trips-api.dimo.zone";
|
|
12
12
|
readonly Valuations: "https://valuations-api.dimo.zone";
|
|
13
13
|
readonly VehicleSignalDecoding: "https://vehicle-signal-decoding.dimo.zone";
|
|
14
|
-
readonly
|
|
14
|
+
readonly VehicleTriggers: "https://vehicle-triggers-api.dimo.zone";
|
|
15
15
|
};
|
|
16
16
|
readonly Dev: {
|
|
17
17
|
readonly Attestation: "https://attestation-api.dev.dimo.zone";
|
|
@@ -24,7 +24,7 @@ export declare const DimoEnvironment: {
|
|
|
24
24
|
readonly Trips: "https://trips-api.dev.dimo.zone";
|
|
25
25
|
readonly Valuations: "https://valuations-api.dev.dimo.zone";
|
|
26
26
|
readonly VehicleSignalDecoding: "https://vehicle-signal-decoding.dev.dimo.zone";
|
|
27
|
-
readonly
|
|
27
|
+
readonly VehicleTriggers: "https://vehicle-triggers-api.dev.dimo.zone";
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
30
|
export type DimoEnvironment = typeof DimoEnvironment.Production | typeof DimoEnvironment.Dev;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dimo-network/data-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "DIMO Data SDK for JavaScript",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"dimo",
|
|
23
23
|
"dimo-network"
|
|
24
24
|
],
|
|
25
|
-
"homepage": "https://dimo.org/
|
|
25
|
+
"homepage": "https://dimo.org/",
|
|
26
26
|
"bugs": {
|
|
27
27
|
"url": "https://github.com/DIMO-Network/data-sdk/issues"
|
|
28
28
|
},
|