@dimo-network/data-sdk 1.4.0 → 1.5.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.
@@ -0,0 +1,5 @@
1
+ import { Resource } from '../../Resource';
2
+ import { DimoEnvironment } from '../../../environments';
3
+ export declare class Agents extends Resource {
4
+ constructor(api: any, env: keyof typeof DimoEnvironment);
5
+ }
@@ -1,10 +1,12 @@
1
1
  /** @format */
2
+ import { Agents } from './Agents';
2
3
  import { Attestation } from './Attestation';
3
4
  import { Auth } from './Auth';
4
5
  import { DeviceDefinitions } from './DeviceDefinitions';
5
6
  import { Devices } from './Devices';
7
+ import { Fetch } from './Fetch';
6
8
  import { TokenExchange } from './TokenExchange';
7
9
  import { Trips } from './Trips';
8
10
  import { Valuations } from './Valuations';
9
11
  import { VehicleTriggers } from './VehicleTriggers';
10
- export { Attestation, Auth, DeviceDefinitions, Devices, TokenExchange, Trips, Valuations, VehicleTriggers, };
12
+ export { Agents, Attestation, Auth, DeviceDefinitions, Devices, Fetch, TokenExchange, Trips, Valuations, VehicleTriggers, };
@@ -0,0 +1,5 @@
1
+ import { Resource } from '../../Resource';
2
+ import { DimoEnvironment } from '../../../environments';
3
+ export declare class Fetch extends Resource {
4
+ constructor(api: any, env: keyof typeof DimoEnvironment);
5
+ }
@@ -1,12 +1,14 @@
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, VehicleTriggers } from "./api/resources/DimoRestResources";
4
+ import { Agents, Attestation, Auth, DeviceDefinitions, Devices, Fetch, TokenExchange, Trips, Valuations, VehicleTriggers } from "./api/resources/DimoRestResources";
5
5
  export declare class DIMO {
6
+ agents: Agents;
6
7
  attestation: Attestation;
7
8
  auth: Auth;
8
9
  devicedefinitions: DeviceDefinitions;
9
10
  devices: Devices;
11
+ fetch: Fetch;
10
12
  identity: Identity;
11
13
  telemetry: Telemetry;
12
14
  tokenexchange: TokenExchange;
@@ -1,11 +1,13 @@
1
1
  /** @format */
2
2
  export declare const DimoEnvironment: {
3
3
  readonly Production: {
4
+ readonly Agents: "https://agents.dimo.zone";
4
5
  readonly Attestation: "https://attestation-api.dimo.zone";
5
6
  readonly Auth: "https://auth.dimo.zone";
6
7
  readonly Identity: "https://identity-api.dimo.zone/query";
7
8
  readonly Devices: "https://devices-api.dimo.zone";
8
9
  readonly DeviceDefinitions: "https://device-definitions-api.dimo.zone";
10
+ readonly Fetch: "https://fetch-api.dimo.zone";
9
11
  readonly Telemetry: "https://telemetry-api.dimo.zone/query";
10
12
  readonly TokenExchange: "https://token-exchange-api.dimo.zone";
11
13
  readonly Trips: "https://trips-api.dimo.zone";
@@ -14,11 +16,13 @@ export declare const DimoEnvironment: {
14
16
  readonly VehicleTriggers: "https://vehicle-triggers-api.dimo.zone";
15
17
  };
16
18
  readonly Dev: {
19
+ readonly Agents: "https://agents.dev.dimo.zone";
17
20
  readonly Attestation: "https://attestation-api.dev.dimo.zone";
18
21
  readonly Auth: "https://auth.dev.dimo.zone";
19
22
  readonly Identity: "https://identity-api.dev.dimo.zone/query";
20
23
  readonly Devices: "https://devices-api.dev.dimo.zone";
21
24
  readonly DeviceDefinitions: "https://device-definitions-api.dev.dimo.zone";
25
+ readonly Fetch: "https://fetch-api.dev.dimo.zone";
22
26
  readonly Telemetry: "https://telemetry-api.dev.dimo.zone/query";
23
27
  readonly TokenExchange: "https://token-exchange-api.dev.dimo.zone";
24
28
  readonly Trips: "https://trips-api.dev.dimo.zone";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dimo-network/data-sdk",
3
- "version": "1.4.0",
3
+ "version": "1.5.2",
4
4
  "description": "DIMO Data SDK for JavaScript",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -8,7 +8,8 @@
8
8
  "author": "James Li",
9
9
  "contributors": [
10
10
  "Yusuf Çırak",
11
- "Eduardo Rodriguez"
11
+ "Eduardo Rodriguez",
12
+ "Barrett Kowalsky"
12
13
  ],
13
14
  "license": "Apache-2.0",
14
15
  "type": "module",