@agroyaar/sdk 1.0.6 → 1.0.7

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/index.cjs CHANGED
@@ -85,11 +85,7 @@ var mappers = {
85
85
  id: response.id,
86
86
  name: response.name,
87
87
  iconURL: response.iconURL,
88
- kind: {
89
- id: response.kind.id,
90
- label: response.kind.label,
91
- name: response.kind.name
92
- },
88
+ kind: response.kind,
93
89
  seasonProcessIds: response.seasonProcessIds,
94
90
  machineUsageIds: response.machineUsageIds
95
91
  }),
package/dist/index.d.ts CHANGED
@@ -8,18 +8,13 @@ type Branded<T, B> = Brand<B> & T;
8
8
 
9
9
  declare namespace Identifiers {
10
10
  type MechanizationVarietyId = Branded<string, "mechanizationVarietyId-id">;
11
- type KindId = Branded<string, "kind-id">;
12
11
  }
13
12
 
14
13
  type MechanizationVarietyModel = {
15
14
  id: Identifiers.MechanizationVarietyId;
16
15
  name: string;
17
16
  iconURL: string;
18
- kind: {
19
- id: Identifiers.KindId;
20
- label: string;
21
- name: string;
22
- };
17
+ kind: string;
23
18
  seasonProcessIds: string[];
24
19
  machineUsageIds: string[];
25
20
  };
package/dist/index.mjs CHANGED
@@ -49,11 +49,7 @@ var mappers = {
49
49
  id: response.id,
50
50
  name: response.name,
51
51
  iconURL: response.iconURL,
52
- kind: {
53
- id: response.kind.id,
54
- label: response.kind.label,
55
- name: response.kind.name
56
- },
52
+ kind: response.kind,
57
53
  seasonProcessIds: response.seasonProcessIds,
58
54
  machineUsageIds: response.machineUsageIds
59
55
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agroyaar/sdk",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",