@dimo-network/data-sdk 1.3.0 → 1.3.2
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/Resource.d.ts +2 -2
- package/dist/api/Resource.js +1 -1
- package/dist/api/resources/DimoRestResources.d.ts +8 -8
- package/dist/api/resources/DimoRestResources.js +8 -8
- package/dist/api/resources/VehicleEvents/index.d.ts +2 -2
- package/dist/api/resources/VehicleEvents/index.js +35 -35
- package/dist/{index.cjs → cjs/index.js} +1325 -3119
- package/dist/cjs/index.js.map +1 -0
- package/dist/environments/index.js +22 -22
- package/dist/esm/index.js +142697 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/graphql/functions/index.d.ts +2 -2
- package/dist/graphql/functions/index.js +2 -2
- package/dist/types/api/Method.d.ts +2 -0
- package/dist/types/api/Method.test.d.ts +1 -0
- package/dist/types/api/Resource.d.ts +11 -0
- package/dist/types/api/functions/getDeveloperJwt.d.ts +7 -0
- package/dist/types/api/functions/getVehicleJwt.d.ts +7 -0
- package/dist/types/api/functions/index.d.ts +4 -0
- package/dist/types/api/functions/signChallenge.d.ts +5 -0
- package/dist/types/api/index.d.ts +1 -0
- package/dist/types/api/resources/Attestation/index.d.ts +5 -0
- package/dist/types/api/resources/Auth/index.d.ts +5 -0
- package/dist/types/api/resources/DeviceDefinitions/index.d.ts +5 -0
- package/dist/types/api/resources/Devices/index.d.ts +5 -0
- package/dist/types/api/resources/DimoRestResources.d.ts +10 -0
- package/dist/types/api/resources/TokenExchange/index.d.ts +5 -0
- package/dist/types/api/resources/Trips/index.d.ts +5 -0
- package/dist/types/api/resources/Valuations/index.d.ts +5 -0
- package/dist/types/api/resources/VehicleEvents/index.d.ts +7 -0
- package/dist/types/api/types/Endpoint.d.ts +11 -0
- package/dist/types/constants.d.ts +14 -0
- package/dist/types/dimo.d.ts +18 -0
- package/dist/types/dimo.test.d.ts +1 -0
- package/dist/types/environments/index.d.ts +30 -0
- package/dist/types/errors/DimoError.d.ts +9 -0
- package/dist/types/errors/index.d.ts +1 -0
- package/dist/types/graphql/Query.d.ts +3 -0
- package/dist/types/graphql/Query.test.d.ts +1 -0
- package/dist/types/graphql/Resource.d.ts +16 -0
- package/dist/types/graphql/functions/getVehiclePrivileges.d.ts +6 -0
- package/dist/types/graphql/functions/getVin.d.ts +5 -0
- package/dist/types/graphql/functions/index.d.ts +3 -0
- package/dist/types/graphql/index.d.ts +1 -0
- package/dist/types/graphql/resources/DimoGraphqlResources.d.ts +3 -0
- package/dist/types/graphql/resources/Identity/index.d.ts +5 -0
- package/dist/types/graphql/resources/Telemetry/index.d.ts +5 -0
- package/dist/types/graphql/util/paginate.d.ts +9 -0
- package/dist/types/index.d.ts +18 -0
- package/dist/types/util/decodeJwt.d.ts +1 -0
- package/dist/types/util/decodePermissions.d.ts +1 -0
- package/dist/types/util/index.d.ts +8 -0
- package/package.json +15 -9
- package/rollup.config.js +33 -9
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
/** @format */
|
|
2
2
|
export const DimoEnvironment = {
|
|
3
3
|
Production: {
|
|
4
|
-
Attestation:
|
|
5
|
-
Auth:
|
|
6
|
-
Identity:
|
|
7
|
-
Devices:
|
|
8
|
-
DeviceDefinitions:
|
|
9
|
-
Telemetry:
|
|
10
|
-
TokenExchange:
|
|
11
|
-
Trips:
|
|
12
|
-
Valuations:
|
|
13
|
-
VehicleSignalDecoding:
|
|
14
|
-
VehicleEvents:
|
|
4
|
+
Attestation: 'https://attestation-api.dimo.zone',
|
|
5
|
+
Auth: 'https://auth.dimo.zone',
|
|
6
|
+
Identity: 'https://identity-api.dimo.zone/query',
|
|
7
|
+
Devices: 'https://devices-api.dimo.zone',
|
|
8
|
+
DeviceDefinitions: 'https://device-definitions-api.dimo.zone',
|
|
9
|
+
Telemetry: 'https://telemetry-api.dimo.zone/query',
|
|
10
|
+
TokenExchange: 'https://token-exchange-api.dimo.zone',
|
|
11
|
+
Trips: 'https://trips-api.dimo.zone',
|
|
12
|
+
Valuations: 'https://valuations-api.dimo.zone',
|
|
13
|
+
VehicleSignalDecoding: 'https://vehicle-signal-decoding.dimo.zone',
|
|
14
|
+
VehicleEvents: 'https://vehicle-events-api.dimo.zone',
|
|
15
15
|
},
|
|
16
16
|
Dev: {
|
|
17
|
-
Attestation:
|
|
18
|
-
Auth:
|
|
19
|
-
Identity:
|
|
20
|
-
Devices:
|
|
21
|
-
DeviceDefinitions:
|
|
22
|
-
Telemetry:
|
|
23
|
-
TokenExchange:
|
|
24
|
-
Trips:
|
|
25
|
-
Valuations:
|
|
26
|
-
VehicleSignalDecoding:
|
|
27
|
-
VehicleEvents:
|
|
17
|
+
Attestation: 'https://attestation-api.dev.dimo.zone',
|
|
18
|
+
Auth: 'https://auth.dev.dimo.zone',
|
|
19
|
+
Identity: 'https://identity-api.dev.dimo.zone/query',
|
|
20
|
+
Devices: 'https://devices-api.dev.dimo.zone',
|
|
21
|
+
DeviceDefinitions: 'https://device-definitions-api.dev.dimo.zone',
|
|
22
|
+
Telemetry: 'https://telemetry-api.dev.dimo.zone/query',
|
|
23
|
+
TokenExchange: 'https://token-exchange-api.dev.dimo.zone',
|
|
24
|
+
Trips: 'https://trips-api.dev.dimo.zone',
|
|
25
|
+
Valuations: 'https://valuations-api.dev.dimo.zone',
|
|
26
|
+
VehicleSignalDecoding: 'https://vehicle-signal-decoding.dev.dimo.zone',
|
|
27
|
+
VehicleEvents: 'https://vehicle-events-api.dev.dimo.zone',
|
|
28
28
|
},
|
|
29
29
|
};
|