@agroshine/ags-web-http 1.13.0 → 1.13.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/auth/index.cjs +1 -1
- package/dist/auth/index.d.cts +17 -8
- package/dist/auth/index.d.ts +17 -8
- package/dist/auth/index.js +1 -1
- package/dist/chunk-L3X36QYE.js +1 -0
- package/dist/chunk-SR3MULQZ.js +1 -1
- package/dist/chunk-WHWGZZOX.js +1 -1
- package/dist/crops/index.cjs +1 -1
- package/dist/crops/index.d.cts +7 -4
- package/dist/crops/index.d.ts +7 -4
- package/dist/crops/index.js +1 -1
- package/dist/{customer-CgeUUBHe.d.cts → customer.entities-C2iGl9KF.d.cts} +62 -62
- package/dist/{customer-CgeUUBHe.d.ts → customer.entities-C2iGl9KF.d.ts} +62 -62
- package/dist/customers/index.cjs +1 -1
- package/dist/customers/index.d.cts +51 -32
- package/dist/customers/index.d.ts +51 -32
- package/dist/customers/index.js +1 -1
- package/dist/group.interface-BbQHuhIW.d.cts +15 -0
- package/dist/group.interface-BbQHuhIW.d.ts +15 -0
- package/dist/groups/index.cjs +1 -1
- package/dist/groups/index.d.cts +8 -4
- package/dist/groups/index.d.ts +8 -4
- package/dist/groups/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +12 -11
- package/dist/index.d.ts +12 -11
- package/dist/index.js +1 -1
- package/dist/{indicator-BI8cP2F2.d.cts → indicator.entities-C-qukE1L.d.cts} +2 -0
- package/dist/{indicator-BI8cP2F2.d.ts → indicator.entities-C-qukE1L.d.ts} +2 -0
- package/dist/indicators/index.cjs +1 -1
- package/dist/indicators/index.d.cts +19 -9
- package/dist/indicators/index.d.ts +19 -9
- package/dist/indicators/index.js +1 -1
- package/dist/layer/index.cjs +1 -1
- package/dist/layer/index.d.cts +8 -7
- package/dist/layer/index.d.ts +8 -7
- package/dist/layer/index.js +1 -1
- package/dist/{layer-C4sBuqRI.d.cts → layer.entities-MszDgJAM.d.cts} +3 -1
- package/dist/{layer-C4sBuqRI.d.ts → layer.entities-MszDgJAM.d.ts} +3 -1
- package/dist/module.interface-B2SHWtNv.d.cts +8 -0
- package/dist/module.interface-B2SHWtNv.d.ts +8 -0
- package/dist/modules/index.cjs +1 -1
- package/dist/modules/index.d.cts +2 -2
- package/dist/modules/index.d.ts +2 -2
- package/dist/modules/index.js +1 -1
- package/dist/permissions/index.cjs +1 -1
- package/dist/permissions/index.d.cts +7 -4
- package/dist/permissions/index.d.ts +7 -4
- package/dist/permissions/index.js +1 -1
- package/dist/roles/index.cjs +1 -1
- package/dist/roles/index.d.cts +7 -4
- package/dist/roles/index.d.ts +7 -4
- package/dist/roles/index.js +1 -1
- package/dist/structure/index.cjs +1 -1
- package/dist/structure/index.d.cts +157 -114
- package/dist/structure/index.d.ts +157 -114
- package/dist/structure/index.js +1 -1
- package/dist/user-create.dto-BJuUsn3F.d.cts +11 -0
- package/dist/user-create.dto-BJuUsn3F.d.ts +11 -0
- package/dist/{user-BNZAz5fP.d.cts → user.entities-89r-QDXP.d.cts} +1 -10
- package/dist/{user-BNZAz5fP.d.ts → user.entities-89r-QDXP.d.ts} +1 -10
- package/dist/users/index.cjs +1 -1
- package/dist/users/index.d.cts +11 -6
- package/dist/users/index.d.ts +11 -6
- package/dist/users/index.js +1 -1
- package/dist/varieties/index.cjs +1 -1
- package/dist/varieties/index.d.cts +15 -9
- package/dist/varieties/index.d.ts +15 -9
- package/dist/varieties/index.js +1 -1
- package/dist/{variety-nx4Q5Ncw.d.cts → variety.entities-l3C00KaA.d.cts} +1 -0
- package/dist/{variety-nx4Q5Ncw.d.ts → variety.entities-l3C00KaA.d.ts} +1 -0
- package/dist/{structure-vjPdnX27.d.cts → version.entities-Cn8cc2qP.d.cts} +183 -163
- package/dist/{structure-vjPdnX27.d.ts → version.entities-Cn8cc2qP.d.ts} +183 -163
- package/package.json +1 -1
- package/dist/group-CnJEil9u.d.cts +0 -14
- package/dist/group-CnJEil9u.d.ts +0 -14
- package/dist/login-Dq5rerGn.d.cts +0 -6
- package/dist/login-Dq5rerGn.d.ts +0 -6
- /package/dist/{crop-Dd6QL8u1.d.cts → crop.entities-Dd6QL8u1.d.cts} +0 -0
- /package/dist/{crop-Dd6QL8u1.d.ts → crop.entities-Dd6QL8u1.d.ts} +0 -0
- /package/dist/{permission-Dxx9IAbQ.d.cts → permission.entities-Dxx9IAbQ.d.cts} +0 -0
- /package/dist/{permission-Dxx9IAbQ.d.ts → permission.entities-Dxx9IAbQ.d.ts} +0 -0
- /package/dist/{role-Bimwb-vf.d.cts → role.entities-Bimwb-vf.d.cts} +0 -0
- /package/dist/{role-Bimwb-vf.d.ts → role.entities-Bimwb-vf.d.ts} +0 -0
|
@@ -1,16 +1,39 @@
|
|
|
1
|
+
type BulkCaptureStatus = 'captured' | 'processing' | 'ready' | 'failed' | 'partial';
|
|
2
|
+
|
|
3
|
+
type CommitChangeLevel = 'BLOCK' | 'NAVE' | 'BED' | 'SQUARE' | 'CELL';
|
|
4
|
+
type CommitChangeAction = 'CREATE' | 'UPDATE' | 'DELETE' | 'ACTIVATE' | 'DEACTIVATE';
|
|
5
|
+
|
|
6
|
+
type FarmSize = 'small' | 'medium' | 'large';
|
|
7
|
+
type FarmStateConfig = 'draft' | 'finished';
|
|
8
|
+
type FarmType = 'test' | 'production';
|
|
9
|
+
|
|
10
|
+
type GeoUnitType = 'NAVE' | 'BED' | 'SQUARE' | 'CELL';
|
|
11
|
+
type IdentityQuality = 'authoritative' | 'derived' | 'unavailable';
|
|
12
|
+
type GeoUnitGranularity = 'squares' | 'cells' | 'lines';
|
|
13
|
+
|
|
14
|
+
type LineageClassification = 'SAFE_CANDIDATE' | 'QUARANTINE';
|
|
15
|
+
type LineageConfidence = 'HIGH' | 'MEDIUM' | 'LOW';
|
|
16
|
+
|
|
17
|
+
type ObservationStatus = 'open' | 'in_progress' | 'resolved' | 'dismissed';
|
|
18
|
+
|
|
19
|
+
type PlantingBatchCode = 'VALID_EXACT' | 'VALID_LATEST_EQUIVALENT' | 'STRUCTURE_VERSION_OUTDATED_BUT_EQUIVALENT' | 'STRUCTURE_VERSION_OUTDATED_AND_CHANGED' | 'STRUCTURE_NOT_FOUND' | 'STRUCTURE_VERSION_NOT_FOUND' | 'GEO_UNIT_NOT_FOUND' | 'GEO_UNIT_NOT_IN_STRUCTURE' | 'GEO_UNIT_INACTIVE' | 'INVALID_GEO_UNIT_TYPE' | 'AS_OF_DATE_OUT_OF_RANGE';
|
|
20
|
+
|
|
21
|
+
type IStructureLocationLevel = 'BLOCK' | 'NAVE' | 'BED' | 'SQUARE' | 'CELL';
|
|
22
|
+
|
|
1
23
|
type Square = number | null;
|
|
2
|
-
interface
|
|
24
|
+
interface IBed {
|
|
3
25
|
name: string;
|
|
4
26
|
active: boolean;
|
|
5
27
|
squares: Square[];
|
|
6
28
|
}
|
|
7
|
-
interface
|
|
29
|
+
interface INave {
|
|
8
30
|
name: string;
|
|
9
31
|
maxSquares: number;
|
|
10
32
|
leftPath: boolean;
|
|
11
33
|
active: boolean;
|
|
12
|
-
beds:
|
|
34
|
+
beds: IBed[];
|
|
13
35
|
}
|
|
36
|
+
|
|
14
37
|
interface IStructure {
|
|
15
38
|
_id?: string;
|
|
16
39
|
farmId?: string;
|
|
@@ -27,40 +50,29 @@ interface IStructure {
|
|
|
27
50
|
pointB?: [number, number];
|
|
28
51
|
startPoint?: [number, number];
|
|
29
52
|
implemented?: number;
|
|
30
|
-
alignment?:
|
|
53
|
+
alignment?: INave[][];
|
|
31
54
|
draft?: boolean;
|
|
32
55
|
version?: number | null;
|
|
33
56
|
}
|
|
34
|
-
|
|
35
|
-
interface
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
createdBy?: string | null;
|
|
43
|
-
createdAt: string;
|
|
57
|
+
|
|
58
|
+
interface IBulkCaptureItem {
|
|
59
|
+
index: number;
|
|
60
|
+
blockName: string;
|
|
61
|
+
captureId: string;
|
|
62
|
+
status: BulkCaptureStatus;
|
|
63
|
+
draftBlockId?: string;
|
|
64
|
+
error?: string;
|
|
44
65
|
}
|
|
45
|
-
interface
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
message: string;
|
|
50
|
-
status: ObservationStatus;
|
|
51
|
-
entityId?: string;
|
|
52
|
-
createdAt: string;
|
|
66
|
+
interface IBulkCaptureResponse {
|
|
67
|
+
jobId: string;
|
|
68
|
+
status: BulkCaptureStatus;
|
|
69
|
+
items: IBulkCaptureItem[];
|
|
53
70
|
}
|
|
54
|
-
interface
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
openCount: number;
|
|
58
|
-
orphanCount: number;
|
|
59
|
-
bulkState?: string | null;
|
|
60
|
-
bulkFailureCount?: number;
|
|
71
|
+
interface IBulkCaptureInput {
|
|
72
|
+
structure: Partial<IStructure>;
|
|
73
|
+
idempotencyKey?: string;
|
|
61
74
|
}
|
|
62
|
-
|
|
63
|
-
type CommitChangeAction = 'CREATE' | 'UPDATE' | 'DELETE' | 'ACTIVATE' | 'DEACTIVATE';
|
|
75
|
+
|
|
64
76
|
interface ICommitChange {
|
|
65
77
|
id: string;
|
|
66
78
|
commitId: string;
|
|
@@ -87,133 +99,16 @@ interface ICommitListResponse {
|
|
|
87
99
|
limit: number;
|
|
88
100
|
offset: number;
|
|
89
101
|
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
createdAt: string;
|
|
99
|
-
updatedAt: string;
|
|
100
|
-
}
|
|
101
|
-
type IVersionDetail = IStructure & {
|
|
102
|
-
version: number;
|
|
103
|
-
implementedAt: string | null;
|
|
104
|
-
};
|
|
105
|
-
type LineageClassification = 'SAFE_CANDIDATE' | 'QUARANTINE';
|
|
106
|
-
type LineageConfidence = 'HIGH' | 'MEDIUM' | 'LOW';
|
|
107
|
-
interface ILineageEntry {
|
|
108
|
-
lineageId: string;
|
|
109
|
-
blockName: string;
|
|
110
|
-
latestVersion: number;
|
|
111
|
-
implementedAt: string | null;
|
|
112
|
-
implemented: number | null;
|
|
113
|
-
draft: boolean;
|
|
114
|
-
totalVersions: number;
|
|
115
|
-
classification?: LineageClassification;
|
|
116
|
-
confidence?: LineageConfidence;
|
|
117
|
-
reason_codes?: string[];
|
|
118
|
-
rule_ids?: string[];
|
|
119
|
-
evidence?: Record<string, unknown>;
|
|
120
|
-
}
|
|
121
|
-
interface ILineageAuditResponse {
|
|
122
|
-
items: ILineageEntry[];
|
|
123
|
-
total: number;
|
|
124
|
-
farmId: string;
|
|
125
|
-
mode: 'block' | 'leaf';
|
|
126
|
-
}
|
|
127
|
-
type GeoUnitType = 'NAVE' | 'BED' | 'SQUARE' | 'CELL';
|
|
128
|
-
type IdentityQuality = 'authoritative' | 'derived' | 'unavailable';
|
|
129
|
-
type GeoUnitGranularity = 'squares' | 'cells' | 'lines';
|
|
130
|
-
interface IGeoUnit {
|
|
131
|
-
farmId: string;
|
|
132
|
-
structureId: string;
|
|
133
|
-
structureVersion: number;
|
|
134
|
-
blockName: string;
|
|
135
|
-
granularity: GeoUnitGranularity;
|
|
136
|
-
geoUnitId: string;
|
|
137
|
-
structureLineageId?: string | null;
|
|
138
|
-
identityQuality?: IdentityQuality;
|
|
139
|
-
geoUnitType: 'SQUARE' | 'CELL';
|
|
140
|
-
parentGeoUnitId?: string;
|
|
141
|
-
}
|
|
142
|
-
interface IGeoUnitsResponse {
|
|
143
|
-
farmId: string;
|
|
144
|
-
asOfDateApplied: string | null;
|
|
145
|
-
items: IGeoUnit[];
|
|
146
|
-
limit: number;
|
|
147
|
-
nextCursor: string | null;
|
|
148
|
-
}
|
|
149
|
-
interface IRuntimeSurfaceSnapshot {
|
|
150
|
-
canonicalCount: number;
|
|
151
|
-
fallbackCount: number;
|
|
152
|
-
incoherentCount: number;
|
|
153
|
-
total: number;
|
|
154
|
-
fallbackRate: number;
|
|
155
|
-
mismatchRate: number;
|
|
156
|
-
warningCodes: Record<string, number>;
|
|
157
|
-
}
|
|
158
|
-
interface IRuntimeBoundaryReadiness {
|
|
159
|
-
observations: IRuntimeSurfaceSnapshot;
|
|
160
|
-
layers: IRuntimeSurfaceSnapshot;
|
|
161
|
-
blocks: IRuntimeSurfaceSnapshot;
|
|
162
|
-
}
|
|
163
|
-
type BulkCaptureStatus = 'captured' | 'processing' | 'ready' | 'failed' | 'partial';
|
|
164
|
-
interface IBulkCaptureItem {
|
|
165
|
-
index: number;
|
|
166
|
-
blockName: string;
|
|
167
|
-
captureId: string;
|
|
168
|
-
status: BulkCaptureStatus;
|
|
169
|
-
draftBlockId?: string;
|
|
170
|
-
error?: string;
|
|
171
|
-
}
|
|
172
|
-
interface IBulkCaptureResponse {
|
|
173
|
-
jobId: string;
|
|
174
|
-
status: BulkCaptureStatus;
|
|
175
|
-
items: IBulkCaptureItem[];
|
|
176
|
-
}
|
|
177
|
-
interface IBulkCaptureInput {
|
|
178
|
-
structure: Partial<IStructure>;
|
|
179
|
-
idempotencyKey?: string;
|
|
180
|
-
}
|
|
181
|
-
type PlantingBatchCode = 'VALID_EXACT' | 'VALID_LATEST_EQUIVALENT' | 'STRUCTURE_VERSION_OUTDATED_BUT_EQUIVALENT' | 'STRUCTURE_VERSION_OUTDATED_AND_CHANGED' | 'STRUCTURE_NOT_FOUND' | 'STRUCTURE_VERSION_NOT_FOUND' | 'GEO_UNIT_NOT_FOUND' | 'GEO_UNIT_NOT_IN_STRUCTURE' | 'GEO_UNIT_INACTIVE' | 'INVALID_GEO_UNIT_TYPE' | 'AS_OF_DATE_OUT_OF_RANGE';
|
|
182
|
-
interface IPlantingValidationResponse {
|
|
183
|
-
farmId: string;
|
|
184
|
-
squareId: string;
|
|
185
|
-
isValid: boolean;
|
|
186
|
-
structureId: string | null;
|
|
187
|
-
structureVersion: number | null;
|
|
188
|
-
geoUnitId: string | null;
|
|
189
|
-
geoUnitType: 'SQUARE' | 'CELL' | null;
|
|
190
|
-
}
|
|
191
|
-
interface IPlantingBatchItem {
|
|
192
|
-
structureId: string;
|
|
193
|
-
structureVersion: number;
|
|
194
|
-
geoUnitType: 'SQUARE' | 'CELL';
|
|
195
|
-
geoUnitId: string;
|
|
196
|
-
}
|
|
197
|
-
interface IPlantingBatchItemResult {
|
|
198
|
-
index: number;
|
|
199
|
-
requested: IPlantingBatchItem;
|
|
200
|
-
status: 'valid' | 'invalid';
|
|
201
|
-
code: PlantingBatchCode;
|
|
202
|
-
message: string;
|
|
203
|
-
latestStructureVersion?: number | null;
|
|
204
|
-
isLatestVersion?: boolean;
|
|
205
|
-
isEquivalentInLatest?: boolean;
|
|
206
|
-
}
|
|
207
|
-
interface IPlantingBatchResponse {
|
|
208
|
-
farmId: string;
|
|
209
|
-
asOfDate?: string | null;
|
|
210
|
-
requestedStructureVersion?: number | null;
|
|
211
|
-
validatedAt: string;
|
|
212
|
-
total: number;
|
|
213
|
-
validCount: number;
|
|
214
|
-
invalidCount: number;
|
|
215
|
-
items: IPlantingBatchItemResult[];
|
|
102
|
+
|
|
103
|
+
interface IDraftReadiness {
|
|
104
|
+
blockId: string;
|
|
105
|
+
readyToConfirm: boolean;
|
|
106
|
+
openCount: number;
|
|
107
|
+
orphanCount: number;
|
|
108
|
+
bulkState?: string | null;
|
|
109
|
+
bulkFailureCount?: number;
|
|
216
110
|
}
|
|
111
|
+
|
|
217
112
|
interface IGeoLocation {
|
|
218
113
|
latitude: string;
|
|
219
114
|
longitude: string;
|
|
@@ -280,9 +175,6 @@ interface IFarmBlock {
|
|
|
280
175
|
startPoint: [number, number];
|
|
281
176
|
alignment: IFarmNaveAlignment[][];
|
|
282
177
|
}
|
|
283
|
-
type FarmSize = 'small' | 'medium' | 'large';
|
|
284
|
-
type FarmStateConfig = 'draft' | 'finished';
|
|
285
|
-
type FarmType = 'test' | 'production';
|
|
286
178
|
interface IFarm {
|
|
287
179
|
_id: string;
|
|
288
180
|
name: string;
|
|
@@ -304,7 +196,119 @@ interface IFarm {
|
|
|
304
196
|
blocks: IFarmBlock[];
|
|
305
197
|
}
|
|
306
198
|
type IFarmsResponse = IFarm[];
|
|
307
|
-
|
|
199
|
+
|
|
200
|
+
interface IGeoUnit {
|
|
201
|
+
farmId: string;
|
|
202
|
+
structureId: string;
|
|
203
|
+
structureVersion: number;
|
|
204
|
+
blockName: string;
|
|
205
|
+
granularity: GeoUnitGranularity;
|
|
206
|
+
geoUnitId: string;
|
|
207
|
+
structureLineageId?: string | null;
|
|
208
|
+
identityQuality?: IdentityQuality;
|
|
209
|
+
geoUnitType: 'SQUARE' | 'CELL';
|
|
210
|
+
parentGeoUnitId?: string;
|
|
211
|
+
}
|
|
212
|
+
interface IGeoUnitsResponse {
|
|
213
|
+
farmId: string;
|
|
214
|
+
asOfDateApplied: string | null;
|
|
215
|
+
items: IGeoUnit[];
|
|
216
|
+
limit: number;
|
|
217
|
+
nextCursor: string | null;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
interface ILineageEntry {
|
|
221
|
+
lineageId: string;
|
|
222
|
+
blockName: string;
|
|
223
|
+
latestVersion: number;
|
|
224
|
+
implementedAt: string | null;
|
|
225
|
+
implemented: number | null;
|
|
226
|
+
draft: boolean;
|
|
227
|
+
totalVersions: number;
|
|
228
|
+
classification?: LineageClassification;
|
|
229
|
+
confidence?: LineageConfidence;
|
|
230
|
+
reason_codes?: string[];
|
|
231
|
+
rule_ids?: string[];
|
|
232
|
+
evidence?: Record<string, unknown>;
|
|
233
|
+
}
|
|
234
|
+
interface ILineageAuditResponse {
|
|
235
|
+
items: ILineageEntry[];
|
|
236
|
+
total: number;
|
|
237
|
+
farmId: string;
|
|
238
|
+
mode: 'block' | 'leaf';
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
interface INote {
|
|
242
|
+
id: string;
|
|
243
|
+
blockId: string;
|
|
244
|
+
level: string;
|
|
245
|
+
entityId?: string | null;
|
|
246
|
+
message: string;
|
|
247
|
+
status: ObservationStatus;
|
|
248
|
+
createdBy?: string | null;
|
|
249
|
+
createdAt: string;
|
|
250
|
+
}
|
|
251
|
+
interface IObservationTask {
|
|
252
|
+
id: string;
|
|
253
|
+
blockId: string;
|
|
254
|
+
level: string;
|
|
255
|
+
message: string;
|
|
256
|
+
status: ObservationStatus;
|
|
257
|
+
entityId?: string;
|
|
258
|
+
createdAt: string;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
interface IPlantingValidationResponse {
|
|
262
|
+
farmId: string;
|
|
263
|
+
squareId: string;
|
|
264
|
+
isValid: boolean;
|
|
265
|
+
structureId: string | null;
|
|
266
|
+
structureVersion: number | null;
|
|
267
|
+
geoUnitId: string | null;
|
|
268
|
+
geoUnitType: 'SQUARE' | 'CELL' | null;
|
|
269
|
+
}
|
|
270
|
+
interface IPlantingBatchItem {
|
|
271
|
+
structureId: string;
|
|
272
|
+
structureVersion: number;
|
|
273
|
+
geoUnitType: 'SQUARE' | 'CELL';
|
|
274
|
+
geoUnitId: string;
|
|
275
|
+
}
|
|
276
|
+
interface IPlantingBatchItemResult {
|
|
277
|
+
index: number;
|
|
278
|
+
requested: IPlantingBatchItem;
|
|
279
|
+
status: 'valid' | 'invalid';
|
|
280
|
+
code: PlantingBatchCode;
|
|
281
|
+
message: string;
|
|
282
|
+
latestStructureVersion?: number | null;
|
|
283
|
+
isLatestVersion?: boolean;
|
|
284
|
+
isEquivalentInLatest?: boolean;
|
|
285
|
+
}
|
|
286
|
+
interface IPlantingBatchResponse {
|
|
287
|
+
farmId: string;
|
|
288
|
+
asOfDate?: string | null;
|
|
289
|
+
requestedStructureVersion?: number | null;
|
|
290
|
+
validatedAt: string;
|
|
291
|
+
total: number;
|
|
292
|
+
validCount: number;
|
|
293
|
+
invalidCount: number;
|
|
294
|
+
items: IPlantingBatchItemResult[];
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
interface IRuntimeSurfaceSnapshot {
|
|
298
|
+
canonicalCount: number;
|
|
299
|
+
fallbackCount: number;
|
|
300
|
+
incoherentCount: number;
|
|
301
|
+
total: number;
|
|
302
|
+
fallbackRate: number;
|
|
303
|
+
mismatchRate: number;
|
|
304
|
+
warningCodes: Record<string, number>;
|
|
305
|
+
}
|
|
306
|
+
interface IRuntimeBoundaryReadiness {
|
|
307
|
+
observations: IRuntimeSurfaceSnapshot;
|
|
308
|
+
layers: IRuntimeSurfaceSnapshot;
|
|
309
|
+
blocks: IRuntimeSurfaceSnapshot;
|
|
310
|
+
}
|
|
311
|
+
|
|
308
312
|
interface IStructureObservationPayload {
|
|
309
313
|
farmId: string;
|
|
310
314
|
blockId: string;
|
|
@@ -339,7 +343,7 @@ interface IStructureBlockPayload {
|
|
|
339
343
|
blockApp: boolean;
|
|
340
344
|
}
|
|
341
345
|
interface IStructureUploadRequest {
|
|
342
|
-
observations: IStructureObservationPayload;
|
|
346
|
+
observations: IStructureObservationPayload[];
|
|
343
347
|
blocks: IStructureBlockPayload[];
|
|
344
348
|
}
|
|
345
349
|
interface IStructureUploadResponse {
|
|
@@ -355,4 +359,20 @@ interface IStructureUploadResponse {
|
|
|
355
359
|
updatedAt: string;
|
|
356
360
|
}
|
|
357
361
|
|
|
358
|
-
|
|
362
|
+
interface IVersionSummary {
|
|
363
|
+
id: string;
|
|
364
|
+
lineageId: string;
|
|
365
|
+
blockName: string;
|
|
366
|
+
version: number;
|
|
367
|
+
draft: boolean;
|
|
368
|
+
implementedAt: string | null;
|
|
369
|
+
implemented: number | null;
|
|
370
|
+
createdAt: string;
|
|
371
|
+
updatedAt: string;
|
|
372
|
+
}
|
|
373
|
+
type IVersionDetail = IStructure & {
|
|
374
|
+
version: number;
|
|
375
|
+
implementedAt: string | null;
|
|
376
|
+
};
|
|
377
|
+
|
|
378
|
+
export type { IPlantingBatchItemResult as A, BulkCaptureStatus as B, CommitChangeAction as C, IPlantingBatchResponse as D, IPlantingValidationResponse as E, FarmSize as F, GeoUnitGranularity as G, IRuntimeBoundaryReadiness as H, IBed as I, IRuntimeSurfaceSnapshot as J, IStructure as K, IStructureBlockPayload as L, IStructureLocationLevel as M, IStructureObservationPayload as N, IStructureUploadRequest as O, IStructureUploadResponse as P, IVersionDetail as Q, IVersionSummary as R, IdentityQuality as S, LineageClassification as T, LineageConfidence as U, INave as V, ObservationStatus as W, PlantingBatchCode as X, Square as Y, CommitChangeLevel as a, FarmStateConfig as b, FarmType as c, GeoUnitType as d, IBulkCaptureInput as e, IBulkCaptureItem as f, IBulkCaptureResponse as g, ICommit as h, ICommitChange as i, ICommitListResponse as j, IDraftReadiness as k, IFarm as l, IFarmBed as m, IFarmBlock as n, IFarmCell as o, IFarmNaveAlignment as p, IFarmSquare as q, IFarmsResponse as r, IGeoLocation as s, IGeoUnit as t, IGeoUnitsResponse as u, ILineageAuditResponse as v, ILineageEntry as w, INote as x, IObservationTask as y, IPlantingBatchItem as z };
|