@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,34 +1,41 @@
|
|
|
1
|
+
import { K as IStructure, R as IVersionSummary, e as IBulkCaptureInput, g as IBulkCaptureResponse, j as ICommitListResponse, W as ObservationStatus, x as INote, k as IDraftReadiness, V as INave, u as IGeoUnitsResponse, v as ILineageAuditResponse, y as IObservationTask, H as IRuntimeBoundaryReadiness, r as IFarmsResponse, O as IStructureUploadRequest, P as IStructureUploadResponse, E as IPlantingValidationResponse, z as IPlantingBatchItem, D as IPlantingBatchResponse, Q as IVersionDetail } from '../version.entities-Cn8cc2qP.cjs';
|
|
2
|
+
export { I as Bed, B as BulkCaptureStatus, C as CommitChangeAction, a as CommitChangeLevel, F as FarmSize, b as FarmStateConfig, c as FarmType, G as GeoUnitGranularity, d as GeoUnitType, f as IBulkCaptureItem, h as ICommit, i as ICommitChange, l as IFarm, m as IFarmBed, n as IFarmBlock, o as IFarmCell, p as IFarmNaveAlignment, q as IFarmSquare, s as IGeoLocation, t as IGeoUnit, w as ILineageEntry, A as IPlantingBatchItemResult, J as IRuntimeSurfaceSnapshot, L as IStructureBlockPayload, M as IStructureLocationLevel, N as IStructureObservationPayload, S as IdentityQuality, T as LineageClassification, U as LineageConfidence, X as PlantingBatchCode, Y as Square } from '../version.entities-Cn8cc2qP.cjs';
|
|
1
3
|
import * as axios from 'axios';
|
|
2
|
-
import { H as IStructure, U as ObservationStatus, v as INote, P as IVersionSummary, I as IBulkCaptureInput, f as IBulkCaptureResponse, h as ICommitListResponse, i as IDraftReadiness, s as IGeoUnitsResponse, t as ILineageAuditResponse, w as IObservationTask, T as Nave, D as IRuntimeBoundaryReadiness, p as IFarmsResponse, A as IPlantingValidationResponse, x as IPlantingBatchItem, z as IPlantingBatchResponse, O as IVersionDetail, M as IStructureUploadRequest, N as IStructureUploadResponse } from '../structure-vjPdnX27.cjs';
|
|
3
4
|
|
|
4
|
-
declare function
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
declare function fetchApplyDraftOperations({ blockId, data, }: {
|
|
6
|
+
blockId: string;
|
|
7
|
+
data: {
|
|
8
|
+
baseDraftUpdatedAt?: string;
|
|
9
|
+
operations: Record<string, unknown>[];
|
|
10
|
+
};
|
|
9
11
|
}): Promise<axios.AxiosResponse<IStructure, any, {}>>;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
|
|
13
|
+
declare function fetchBasicVersionsByFarm({ farmId }: {
|
|
14
|
+
farmId: string;
|
|
15
|
+
}): Promise<axios.AxiosResponse<IVersionSummary[], any, {}>>;
|
|
16
|
+
|
|
17
|
+
declare function fetchBulkCapture(items: IBulkCaptureInput[]): Promise<axios.AxiosResponse<IBulkCaptureResponse, any, {}>>;
|
|
18
|
+
|
|
19
|
+
declare function fetchBulkCaptureStatus({ jobId }: {
|
|
20
|
+
jobId: string;
|
|
21
|
+
}): Promise<axios.AxiosResponse<IBulkCaptureResponse, any, {}>>;
|
|
22
|
+
|
|
23
|
+
declare function fetchCommits({ blockId, limit, offset, }: {
|
|
24
|
+
blockId: string;
|
|
25
|
+
limit?: number;
|
|
26
|
+
offset?: number;
|
|
27
|
+
}): Promise<axios.AxiosResponse<ICommitListResponse, any, {}>>;
|
|
28
|
+
|
|
29
|
+
declare function fetchConfirmStructure({ blockId, implemented, }: {
|
|
30
|
+
blockId: string;
|
|
31
|
+
implemented?: number;
|
|
13
32
|
}): Promise<axios.AxiosResponse<IStructure, any, {}>>;
|
|
14
|
-
|
|
33
|
+
|
|
15
34
|
declare function fetchConfirmedStructures({ _id }: {
|
|
16
35
|
_id: string;
|
|
17
36
|
}): Promise<axios.AxiosResponse<IStructure[], any, {}>>;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}): Promise<axios.AxiosResponse<INote[], any, {}>>;
|
|
21
|
-
declare function fetchObservationById({ id }: {
|
|
22
|
-
id: string;
|
|
23
|
-
}): Promise<axios.AxiosResponse<INote, any, {}>>;
|
|
24
|
-
declare function fetchObservationTasks({ blockId }: {
|
|
25
|
-
blockId: string;
|
|
26
|
-
}): Promise<axios.AxiosResponse<IObservationTask[], any, {}>>;
|
|
27
|
-
declare function patchObservationStatus({ id, status, }: {
|
|
28
|
-
id: string;
|
|
29
|
-
status: ObservationStatus;
|
|
30
|
-
}): Promise<axios.AxiosResponse<INote, any, {}>>;
|
|
31
|
-
declare function createObservation(data: {
|
|
37
|
+
|
|
38
|
+
interface ICreateObservationInput {
|
|
32
39
|
farmId: string;
|
|
33
40
|
blockId: string;
|
|
34
41
|
level: string;
|
|
@@ -36,81 +43,125 @@ declare function createObservation(data: {
|
|
|
36
43
|
entityId?: string;
|
|
37
44
|
status?: ObservationStatus;
|
|
38
45
|
createdBy?: string;
|
|
39
|
-
}
|
|
40
|
-
declare function
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
declare function editFromConfirmed({ blockId }: {
|
|
45
|
-
blockId: string;
|
|
46
|
-
}): Promise<axios.AxiosResponse<IStructure, any, {}>>;
|
|
47
|
-
declare function fetchCommits({ blockId, limit, offset, }: {
|
|
48
|
-
blockId: string;
|
|
49
|
-
limit?: number;
|
|
50
|
-
offset?: number;
|
|
51
|
-
}): Promise<axios.AxiosResponse<ICommitListResponse, any, {}>>;
|
|
46
|
+
}
|
|
47
|
+
declare function fetchCreateObservation(data: ICreateObservationInput): Promise<axios.AxiosResponse<INote, any, {}>>;
|
|
48
|
+
|
|
49
|
+
declare function fetchCreateStructure(data: Partial<IStructure>): Promise<axios.AxiosResponse<IStructure, any, {}>>;
|
|
50
|
+
|
|
52
51
|
declare function fetchDraftReadiness({ blockId }: {
|
|
53
52
|
blockId: string;
|
|
54
53
|
}): Promise<axios.AxiosResponse<IDraftReadiness, any, {}>>;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
54
|
+
|
|
55
|
+
declare function fetchDraftsByFarm({ farmId }: {
|
|
56
|
+
farmId: string;
|
|
57
|
+
}): Promise<axios.AxiosResponse<IStructure[], any, {}>>;
|
|
58
|
+
|
|
59
|
+
declare function fetchEditFromConfirmed({ blockId }: {
|
|
59
60
|
blockId: string;
|
|
60
|
-
|
|
61
|
-
|
|
61
|
+
}): Promise<axios.AxiosResponse<IStructure, any, {}>>;
|
|
62
|
+
|
|
63
|
+
declare function fetchGenerateAlignment(data: Partial<IStructure>): Promise<axios.AxiosResponse<INave[][], any, {}>>;
|
|
64
|
+
|
|
65
|
+
declare function fetchGeoUnits({ farmId, limit, cursor, asOfDate, blockId, }: {
|
|
66
|
+
farmId: string;
|
|
67
|
+
limit?: number;
|
|
68
|
+
cursor?: string;
|
|
69
|
+
asOfDate?: string;
|
|
70
|
+
blockId?: string;
|
|
71
|
+
}): Promise<axios.AxiosResponse<IGeoUnitsResponse, any, {}>>;
|
|
72
|
+
|
|
62
73
|
declare function fetchLatestConfirmedVersions({ farmId, asOfDate, }: {
|
|
63
74
|
farmId: string;
|
|
64
75
|
asOfDate?: string;
|
|
65
76
|
}): Promise<axios.AxiosResponse<IVersionSummary[], any, {}>>;
|
|
66
|
-
|
|
77
|
+
|
|
78
|
+
declare function fetchLatestDraftsByFarm({ farmId }: {
|
|
67
79
|
farmId: string;
|
|
68
80
|
}): Promise<axios.AxiosResponse<IStructure[], any, {}>>;
|
|
81
|
+
|
|
69
82
|
declare function fetchLatestVersionForBlock({ blockId, asOfDate, }: {
|
|
70
83
|
blockId: string;
|
|
71
84
|
asOfDate?: string;
|
|
72
85
|
}): Promise<axios.AxiosResponse<IVersionSummary, any, {}>>;
|
|
73
|
-
|
|
86
|
+
|
|
87
|
+
declare function fetchLatestVersionsWithAlignment({ farmId }: {
|
|
74
88
|
farmId: string;
|
|
75
|
-
}): Promise<axios.AxiosResponse<
|
|
76
|
-
|
|
89
|
+
}): Promise<axios.AxiosResponse<IStructure[], any, {}>>;
|
|
90
|
+
|
|
91
|
+
declare function fetchLineageAuditPreview({ farmId, blockName, mode, limit, }: {
|
|
92
|
+
farmId: string;
|
|
93
|
+
blockName?: string;
|
|
94
|
+
mode?: 'block' | 'leaf';
|
|
95
|
+
limit?: number;
|
|
96
|
+
}): Promise<axios.AxiosResponse<ILineageAuditResponse, any, {}>>;
|
|
97
|
+
|
|
98
|
+
declare function fetchObservationById({ id }: {
|
|
99
|
+
id: string;
|
|
100
|
+
}): Promise<axios.AxiosResponse<INote, any, {}>>;
|
|
101
|
+
|
|
102
|
+
declare function fetchObservationTasks({ blockId }: {
|
|
103
|
+
blockId: string;
|
|
104
|
+
}): Promise<axios.AxiosResponse<IObservationTask[], any, {}>>;
|
|
105
|
+
|
|
106
|
+
declare function fetchObservations({ blockId }: {
|
|
107
|
+
blockId: string;
|
|
108
|
+
}): Promise<axios.AxiosResponse<INote[], any, {}>>;
|
|
109
|
+
|
|
110
|
+
declare function fetchPatchObservationStatus({ id, status, }: {
|
|
111
|
+
id: string;
|
|
112
|
+
status: ObservationStatus;
|
|
113
|
+
}): Promise<axios.AxiosResponse<INote, any, {}>>;
|
|
114
|
+
|
|
115
|
+
declare function fetchRegenerateAlignment({ blockId }: {
|
|
116
|
+
blockId: string;
|
|
117
|
+
}): Promise<axios.AxiosResponse<INave[][], any, {}>>;
|
|
118
|
+
|
|
119
|
+
declare function fetchReplaceDraft({ blockId, data, }: {
|
|
77
120
|
blockId: string;
|
|
78
121
|
data: {
|
|
79
|
-
|
|
80
|
-
sides?: number;
|
|
81
|
-
bedsPerNave?: number;
|
|
82
|
-
maxTotalBeds?: number;
|
|
83
|
-
maxTotalNaves?: number;
|
|
84
|
-
centralRoadSize?: number;
|
|
85
|
-
widthBed?: number;
|
|
86
|
-
lengthBed?: number;
|
|
87
|
-
bedRoadSize?: number;
|
|
88
|
-
pointA?: [number, number];
|
|
89
|
-
pointB?: [number, number];
|
|
122
|
+
alignment: unknown[][];
|
|
90
123
|
};
|
|
91
124
|
}): Promise<axios.AxiosResponse<IStructure, any, {}>>;
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
declare function
|
|
125
|
+
|
|
126
|
+
declare function fetchRuntimeBoundaryReadiness(): Promise<axios.AxiosResponse<IRuntimeBoundaryReadiness, any, {}>>;
|
|
127
|
+
|
|
128
|
+
declare function fetchStructure({ _id }: {
|
|
129
|
+
_id: string;
|
|
130
|
+
}): Promise<axios.AxiosResponse<IStructure[], any, {}>>;
|
|
131
|
+
|
|
132
|
+
declare function fetchStructureById({ _id }: {
|
|
133
|
+
_id: string;
|
|
134
|
+
}): Promise<axios.AxiosResponse<IStructure, any, {}>>;
|
|
135
|
+
|
|
136
|
+
declare function fetchStructureDownload(): Promise<axios.AxiosResponse<IFarmsResponse, any, {}>>;
|
|
137
|
+
|
|
138
|
+
declare function fetchUpdateBed({ bedId, data, }: {
|
|
100
139
|
bedId: string;
|
|
101
140
|
data: {
|
|
102
141
|
name?: string;
|
|
103
142
|
orderIndex?: number;
|
|
104
143
|
};
|
|
105
144
|
}): Promise<axios.AxiosResponse<Record<string, unknown>, any, {}>>;
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
145
|
+
|
|
146
|
+
interface IUpdateBlockInput {
|
|
147
|
+
blockName?: string;
|
|
148
|
+
sides?: number;
|
|
149
|
+
bedsPerNave?: number;
|
|
150
|
+
maxTotalBeds?: number;
|
|
151
|
+
maxTotalNaves?: number;
|
|
152
|
+
centralRoadSize?: number;
|
|
153
|
+
widthBed?: number;
|
|
154
|
+
lengthBed?: number;
|
|
155
|
+
bedRoadSize?: number;
|
|
156
|
+
pointA?: [number, number];
|
|
157
|
+
pointB?: [number, number];
|
|
158
|
+
}
|
|
159
|
+
declare function fetchUpdateBlock({ blockId, data, }: {
|
|
160
|
+
blockId: string;
|
|
161
|
+
data: IUpdateBlockInput;
|
|
162
|
+
}): Promise<axios.AxiosResponse<IStructure, any, {}>>;
|
|
163
|
+
|
|
164
|
+
declare function fetchUpdateCell({ cellId, data, }: {
|
|
114
165
|
cellId: string;
|
|
115
166
|
data: {
|
|
116
167
|
lineNumber?: number;
|
|
@@ -118,43 +169,30 @@ declare function updateCell({ cellId, data, }: {
|
|
|
118
169
|
colNumber?: number;
|
|
119
170
|
};
|
|
120
171
|
}): Promise<axios.AxiosResponse<Record<string, unknown>, any, {}>>;
|
|
121
|
-
|
|
122
|
-
|
|
172
|
+
|
|
173
|
+
declare function fetchUpdateNave({ naveId, data, }: {
|
|
174
|
+
naveId: string;
|
|
123
175
|
data: {
|
|
124
|
-
|
|
125
|
-
|
|
176
|
+
name?: string;
|
|
177
|
+
orderIndex?: number;
|
|
126
178
|
};
|
|
127
|
-
}): Promise<axios.AxiosResponse<
|
|
128
|
-
|
|
129
|
-
|
|
179
|
+
}): Promise<axios.AxiosResponse<Record<string, unknown>, any, {}>>;
|
|
180
|
+
|
|
181
|
+
declare function fetchUpdateSquare({ squareId, data, }: {
|
|
182
|
+
squareId: string;
|
|
130
183
|
data: {
|
|
131
|
-
|
|
184
|
+
number?: number;
|
|
185
|
+
orderIndex?: number;
|
|
132
186
|
};
|
|
187
|
+
}): Promise<axios.AxiosResponse<Record<string, unknown>, any, {}>>;
|
|
188
|
+
|
|
189
|
+
declare function fetchUpdateStructure({ id, data, }: {
|
|
190
|
+
id: string;
|
|
191
|
+
data: Partial<IStructure>;
|
|
133
192
|
}): Promise<axios.AxiosResponse<IStructure, any, {}>>;
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
declare function fetchLatestDraftsByFarm({ farmId }: {
|
|
138
|
-
farmId: string;
|
|
139
|
-
}): Promise<axios.AxiosResponse<IStructure[], any, {}>>;
|
|
140
|
-
declare function fetchLineageAuditPreview({ farmId, blockName, mode, limit, }: {
|
|
141
|
-
farmId: string;
|
|
142
|
-
blockName?: string;
|
|
143
|
-
mode?: 'block' | 'leaf';
|
|
144
|
-
limit?: number;
|
|
145
|
-
}): Promise<axios.AxiosResponse<ILineageAuditResponse, any, {}>>;
|
|
146
|
-
declare function fetchGeoUnits({ farmId, limit, cursor, asOfDate, blockId, }: {
|
|
147
|
-
farmId: string;
|
|
148
|
-
limit?: number;
|
|
149
|
-
cursor?: string;
|
|
150
|
-
asOfDate?: string;
|
|
151
|
-
blockId?: string;
|
|
152
|
-
}): Promise<axios.AxiosResponse<IGeoUnitsResponse, any, {}>>;
|
|
153
|
-
declare function fetchRuntimeBoundaryReadiness(): Promise<axios.AxiosResponse<IRuntimeBoundaryReadiness, any, {}>>;
|
|
154
|
-
declare function fetchBulkCapture(items: IBulkCaptureInput[]): Promise<axios.AxiosResponse<IBulkCaptureResponse, any, {}>>;
|
|
155
|
-
declare function fetchBulkCaptureStatus({ jobId }: {
|
|
156
|
-
jobId: string;
|
|
157
|
-
}): Promise<axios.AxiosResponse<IBulkCaptureResponse, any, {}>>;
|
|
193
|
+
|
|
194
|
+
declare function fetchUploadStructure(data: IStructureUploadRequest): Promise<axios.AxiosResponse<IStructureUploadResponse[], any, {}>>;
|
|
195
|
+
|
|
158
196
|
declare function fetchValidatePlantingUnit({ structureId, structureVersion, geoUnitId, geoUnitType, farmId, }: {
|
|
159
197
|
structureId: string;
|
|
160
198
|
structureVersion: number;
|
|
@@ -162,17 +200,22 @@ declare function fetchValidatePlantingUnit({ structureId, structureVersion, geoU
|
|
|
162
200
|
geoUnitType: 'SQUARE' | 'CELL';
|
|
163
201
|
farmId?: string;
|
|
164
202
|
}): Promise<axios.AxiosResponse<IPlantingValidationResponse, any, {}>>;
|
|
165
|
-
|
|
203
|
+
|
|
204
|
+
interface IValidatePlantingBatchInput {
|
|
166
205
|
farmId: string;
|
|
167
206
|
items: IPlantingBatchItem[];
|
|
168
207
|
asOfDate?: string;
|
|
169
208
|
requestedStructureVersion?: number;
|
|
170
|
-
}
|
|
171
|
-
declare function
|
|
172
|
-
|
|
209
|
+
}
|
|
210
|
+
declare function fetchValidatePlantingUnitsBatch(data: IValidatePlantingBatchInput): Promise<axios.AxiosResponse<IPlantingBatchResponse, any, {}>>;
|
|
211
|
+
|
|
212
|
+
declare function fetchVersionByNumber({ blockId, version, }: {
|
|
173
213
|
blockId: string;
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
214
|
+
version: number;
|
|
215
|
+
}): Promise<axios.AxiosResponse<IVersionDetail, any, {}>>;
|
|
216
|
+
|
|
217
|
+
declare function fetchVersionsByBlock({ blockId }: {
|
|
218
|
+
blockId: string;
|
|
219
|
+
}): Promise<axios.AxiosResponse<IVersionSummary[], any, {}>>;
|
|
177
220
|
|
|
178
|
-
export {
|
|
221
|
+
export { IBulkCaptureInput, IBulkCaptureResponse, ICommitListResponse, IDraftReadiness, IFarmsResponse, IGeoUnitsResponse, ILineageAuditResponse, INote, IObservationTask, IPlantingBatchItem, IPlantingBatchResponse, IPlantingValidationResponse, IRuntimeBoundaryReadiness, IStructure, IStructureUploadRequest, IStructureUploadResponse, type IUpdateBlockInput, IVersionDetail, IVersionSummary, INave as Nave, ObservationStatus, fetchApplyDraftOperations, fetchBasicVersionsByFarm, fetchBulkCapture, fetchBulkCaptureStatus, fetchCommits, fetchConfirmStructure, fetchConfirmedStructures, fetchCreateObservation, fetchCreateStructure, fetchDraftReadiness, fetchDraftsByFarm, fetchEditFromConfirmed, fetchGenerateAlignment, fetchGeoUnits, fetchLatestConfirmedVersions, fetchLatestDraftsByFarm, fetchLatestVersionForBlock, fetchLatestVersionsWithAlignment, fetchLineageAuditPreview, fetchObservationById, fetchObservationTasks, fetchObservations, fetchPatchObservationStatus, fetchRegenerateAlignment, fetchReplaceDraft, fetchRuntimeBoundaryReadiness, fetchStructure, fetchStructureById, fetchStructureDownload, fetchUpdateBed, fetchUpdateBlock, fetchUpdateCell, fetchUpdateNave, fetchUpdateSquare, fetchUpdateStructure, fetchUploadStructure, fetchValidatePlantingUnit, fetchValidatePlantingUnitsBatch, fetchVersionByNumber, fetchVersionsByBlock };
|