@agroshine/ags-web-http 1.12.6 → 1.13.1
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 -9
- package/dist/auth/index.d.ts +17 -9
- package/dist/auth/index.js +1 -1
- package/dist/chunk-L3X36QYE.js +1 -0
- package/dist/chunk-SR3MULQZ.js +1 -0
- package/dist/chunk-WHWGZZOX.js +1 -0
- 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 +13 -12
- package/dist/index.d.ts +13 -12
- 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 -112
- package/dist/structure/index.d.ts +157 -112
- 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.entities-89r-QDXP.d.cts +21 -0
- package/dist/user.entities-89r-QDXP.d.ts +21 -0
- 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-CNfJ_8fX.d.cts → version.entities-Bvum0lG8.d.cts} +254 -94
- package/dist/{structure-CNfJ_8fX.d.ts → version.entities-Bvum0lG8.d.ts} +254 -94
- package/package.json +6 -1
- package/dist/chunk-ACO6G7O2.js +0 -1
- package/dist/chunk-DJ5M3T5L.js +0 -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/user-FIov3LUo.d.cts +0 -29
- package/dist/user-FIov3LUo.d.ts +0 -29
- /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,46 +99,104 @@ interface ICommitListResponse {
|
|
|
87
99
|
limit: number;
|
|
88
100
|
offset: number;
|
|
89
101
|
}
|
|
90
|
-
|
|
102
|
+
|
|
103
|
+
interface IDraftReadiness {
|
|
104
|
+
blockId: string;
|
|
105
|
+
readyToConfirm: boolean;
|
|
106
|
+
openCount: number;
|
|
107
|
+
orphanCount: number;
|
|
108
|
+
bulkState?: string | null;
|
|
109
|
+
bulkFailureCount?: number;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
interface IGeoLocation {
|
|
113
|
+
latitude: string;
|
|
114
|
+
longitude: string;
|
|
115
|
+
}
|
|
116
|
+
interface IFarmCell {
|
|
91
117
|
id: string;
|
|
92
|
-
lineageId
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
118
|
+
lineageId?: string | null;
|
|
119
|
+
lineNumber: number;
|
|
120
|
+
rowNumber: number;
|
|
121
|
+
colNumber: number;
|
|
122
|
+
active: boolean;
|
|
123
|
+
geomJson: unknown | null;
|
|
98
124
|
createdAt: string;
|
|
99
125
|
updatedAt: string;
|
|
100
126
|
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
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>;
|
|
127
|
+
interface IFarmSquare {
|
|
128
|
+
id: string;
|
|
129
|
+
lineageId?: string | null;
|
|
130
|
+
bedId: string;
|
|
131
|
+
number: number;
|
|
132
|
+
active: boolean;
|
|
133
|
+
orderIndex: number;
|
|
134
|
+
createdAt: string;
|
|
135
|
+
updatedAt: string;
|
|
136
|
+
cells: IFarmCell[];
|
|
120
137
|
}
|
|
121
|
-
interface
|
|
122
|
-
|
|
123
|
-
|
|
138
|
+
interface IFarmBed {
|
|
139
|
+
id: string;
|
|
140
|
+
lineageId?: string | null;
|
|
141
|
+
naveId: string;
|
|
142
|
+
externalCode: string | null;
|
|
143
|
+
name: string;
|
|
144
|
+
active: boolean;
|
|
145
|
+
orderIndex: number;
|
|
146
|
+
createdAt: string;
|
|
147
|
+
updatedAt: string;
|
|
148
|
+
squares: IFarmSquare[];
|
|
149
|
+
}
|
|
150
|
+
interface IFarmNaveAlignment {
|
|
151
|
+
id?: string;
|
|
152
|
+
lineageId?: string | null;
|
|
153
|
+
name: string;
|
|
154
|
+
maxSquares: number;
|
|
155
|
+
leftPath: boolean;
|
|
156
|
+
active: boolean;
|
|
157
|
+
createdAt?: string;
|
|
158
|
+
updatedAt?: string;
|
|
159
|
+
beds: IFarmBed[];
|
|
160
|
+
}
|
|
161
|
+
interface IFarmBlock {
|
|
162
|
+
_id: string;
|
|
124
163
|
farmId: string;
|
|
125
|
-
|
|
164
|
+
blockName: string;
|
|
165
|
+
sides: number;
|
|
166
|
+
bedsNave: number;
|
|
167
|
+
maxTotalBeds: number;
|
|
168
|
+
maxTotalNaves: number;
|
|
169
|
+
centralRoadSize: number;
|
|
170
|
+
widthBed: number;
|
|
171
|
+
lengthBed: number;
|
|
172
|
+
bedRoadSize: number;
|
|
173
|
+
pointA: [number, number];
|
|
174
|
+
pointB: [number, number];
|
|
175
|
+
startPoint: [number, number];
|
|
176
|
+
alignment: IFarmNaveAlignment[][];
|
|
126
177
|
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
178
|
+
interface IFarm {
|
|
179
|
+
_id: string;
|
|
180
|
+
name: string;
|
|
181
|
+
localidad: number;
|
|
182
|
+
geolocation: IGeoLocation;
|
|
183
|
+
modules: unknown[];
|
|
184
|
+
users: string[];
|
|
185
|
+
active: boolean;
|
|
186
|
+
owner_name: string;
|
|
187
|
+
mapId: string;
|
|
188
|
+
total_area: number;
|
|
189
|
+
group_id: string | null;
|
|
190
|
+
weekly_start: number;
|
|
191
|
+
indicator_measurement: string;
|
|
192
|
+
severity_color_map: string;
|
|
193
|
+
size: FarmSize;
|
|
194
|
+
state_config: FarmStateConfig;
|
|
195
|
+
farm_type: FarmType;
|
|
196
|
+
blocks: IFarmBlock[];
|
|
197
|
+
}
|
|
198
|
+
type IFarmsResponse = IFarm[];
|
|
199
|
+
|
|
130
200
|
interface IGeoUnit {
|
|
131
201
|
farmId: string;
|
|
132
202
|
structureId: string;
|
|
@@ -146,39 +216,48 @@ interface IGeoUnitsResponse {
|
|
|
146
216
|
limit: number;
|
|
147
217
|
nextCursor: string | null;
|
|
148
218
|
}
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
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;
|
|
219
|
+
|
|
220
|
+
interface ILineageEntry {
|
|
221
|
+
lineageId: string;
|
|
166
222
|
blockName: string;
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
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>;
|
|
171
233
|
}
|
|
172
|
-
interface
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
234
|
+
interface ILineageAuditResponse {
|
|
235
|
+
items: ILineageEntry[];
|
|
236
|
+
total: number;
|
|
237
|
+
farmId: string;
|
|
238
|
+
mode: 'block' | 'leaf';
|
|
176
239
|
}
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
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;
|
|
180
250
|
}
|
|
181
|
-
|
|
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
|
+
|
|
182
261
|
interface IPlantingValidationResponse {
|
|
183
262
|
farmId: string;
|
|
184
263
|
squareId: string;
|
|
@@ -215,4 +294,85 @@ interface IPlantingBatchResponse {
|
|
|
215
294
|
items: IPlantingBatchItemResult[];
|
|
216
295
|
}
|
|
217
296
|
|
|
218
|
-
|
|
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
|
+
|
|
312
|
+
interface IStructureObservationPayload {
|
|
313
|
+
farmId: string;
|
|
314
|
+
blockId: string;
|
|
315
|
+
level: IStructureLocationLevel;
|
|
316
|
+
entityId?: string;
|
|
317
|
+
message: string;
|
|
318
|
+
status?: string;
|
|
319
|
+
createdBy?: string;
|
|
320
|
+
}
|
|
321
|
+
interface IStructureBlockPayload {
|
|
322
|
+
id: string;
|
|
323
|
+
farmId: string;
|
|
324
|
+
blockName: string;
|
|
325
|
+
sides: number;
|
|
326
|
+
bedsNave: number;
|
|
327
|
+
maxTotalBeds: number;
|
|
328
|
+
maxTotalNaves: number;
|
|
329
|
+
centralRoadSize: number;
|
|
330
|
+
widthBed: number;
|
|
331
|
+
lengthBed: number;
|
|
332
|
+
bedRoadSize: number;
|
|
333
|
+
pointA: [number, number];
|
|
334
|
+
pointB: [number, number];
|
|
335
|
+
startPoint?: [number, number];
|
|
336
|
+
implemented: number;
|
|
337
|
+
granularity: 'squares' | 'cells' | 'lines';
|
|
338
|
+
squaresPerBed?: number;
|
|
339
|
+
cellsPerLine?: number;
|
|
340
|
+
cols?: number;
|
|
341
|
+
linesPerSquare?: number;
|
|
342
|
+
rows?: number;
|
|
343
|
+
blockApp: boolean;
|
|
344
|
+
}
|
|
345
|
+
interface IStructureUploadRequest {
|
|
346
|
+
observations: IStructureObservationPayload;
|
|
347
|
+
blocks: IStructureBlockPayload[];
|
|
348
|
+
}
|
|
349
|
+
interface IStructureUploadResponse {
|
|
350
|
+
id: string;
|
|
351
|
+
farmId: string;
|
|
352
|
+
blockId: string;
|
|
353
|
+
level: IStructureLocationLevel;
|
|
354
|
+
entityId?: string | null;
|
|
355
|
+
message: string;
|
|
356
|
+
status: string;
|
|
357
|
+
createdBy?: string | null;
|
|
358
|
+
createdAt: string;
|
|
359
|
+
updatedAt: string;
|
|
360
|
+
}
|
|
361
|
+
|
|
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 };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agroshine/ags-web-http",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.1",
|
|
4
4
|
"description": "AgroShine · cliente HTTP centralizado para todas las apps web",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "AgroShine",
|
|
@@ -9,6 +9,11 @@
|
|
|
9
9
|
"access": "public",
|
|
10
10
|
"registry": "https://registry.npmjs.org/"
|
|
11
11
|
},
|
|
12
|
+
"volta": {
|
|
13
|
+
"node": "20.18.2",
|
|
14
|
+
"yarn": "1.22.19",
|
|
15
|
+
"pnpm": "10.8.1"
|
|
16
|
+
},
|
|
12
17
|
"engines": {
|
|
13
18
|
"node": ">=20.x",
|
|
14
19
|
"pnpm": ">=10.x"
|
package/dist/chunk-ACO6G7O2.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const _0x4b97f1=_0x50e0;(function(_0x2fe955,_0x50295b){const _0x48bd87=_0x50e0,_0x3eadc4=_0x2fe955();while(!![]){try{const _0x2d9117=parseInt(_0x48bd87(0x1ba))/(0x85d*0x4+-0x1cce+-0x1*0x4a5)+-parseInt(_0x48bd87(0x1b7))/(-0x54e+0x47*0x64+-0x166c)*(parseInt(_0x48bd87(0x1f8))/(0x6e1*0x1+-0xd27*-0x1+-0x29*0x7d))+-parseInt(_0x48bd87(0x1d8))/(0x3e5+-0x1*-0x1a0c+-0x1ded)+parseInt(_0x48bd87(0x1cf))/(0x1bd3+0x17ae+-0xa4c*0x5)+parseInt(_0x48bd87(0x208))/(0x2279*0x1+0x1c9*-0x9+-0x1262)*(parseInt(_0x48bd87(0x1b0))/(0x756+0x822+-0x43*0x3b))+parseInt(_0x48bd87(0x1ea))/(-0x1043*0x2+-0x266e+0x3b*0x134)+-parseInt(_0x48bd87(0x202))/(0xff2*0x1+0x2*0x7bb+-0x1f5f*0x1);if(_0x2d9117===_0x50295b)break;else _0x3eadc4['push'](_0x3eadc4['shift']());}catch(_0x307628){_0x3eadc4['push'](_0x3eadc4['shift']());}}}(_0x29bf,0xf011+0xcb51b*0x1+-0x73112));function _0x50e0(_0x5643ad,_0x553b70){_0x5643ad=_0x5643ad-(0x233d+0x53*0x27+0x2*-0x1729);const _0x5efe49=_0x29bf();let _0x57439a=_0x5efe49[_0x5643ad];if(_0x50e0['XoYZyi']===undefined){var _0x4fc9a2=function(_0x4692d8){const _0xa2df30='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x36c21c='',_0x1c9792='';for(let _0x88c77c=-0x111b*-0x1+0x1f70+0x11*-0x2db,_0x1eda5f,_0x103730,_0x23b7dd=-0x3a3*-0x8+-0x2597+0x87f;_0x103730=_0x4692d8['charAt'](_0x23b7dd++);~_0x103730&&(_0x1eda5f=_0x88c77c%(-0x7*-0x11b+-0x15*-0x8b+-0x132*0x10)?_0x1eda5f*(0x141+-0x2e+-0xd3)+_0x103730:_0x103730,_0x88c77c++%(-0x1f6a+0xd*0x12d+-0x1025*-0x1))?_0x36c21c+=String['fromCharCode'](-0x6f6+0x24b5+-0x730*0x4&_0x1eda5f>>(-(-0x1b37+0x1705*-0x1+0x323e)*_0x88c77c&-0x9ed+0x1*0x1cdd+-0x12ea)):0x261+-0x1fb6+0x1d55){_0x103730=_0xa2df30['indexOf'](_0x103730);}for(let _0x4bd5e3=-0x2586+0x59*0x1f+0xa7*0x29,_0x394754=_0x36c21c['length'];_0x4bd5e3<_0x394754;_0x4bd5e3++){_0x1c9792+='%'+('00'+_0x36c21c['charCodeAt'](_0x4bd5e3)['toString'](-0x1*0x1b9d+-0xc83+0x2830))['slice'](-(-0x2*-0x9d9+-0x1d5d*-0x1+-0x1b1*0x1d));}return decodeURIComponent(_0x1c9792);};_0x50e0['wzCCye']=_0x4fc9a2,_0x50e0['oUoIqI']={},_0x50e0['XoYZyi']=!![];}const _0x43026e=_0x5efe49[-0x1d57+-0x3a*0x7a+0x38fb*0x1],_0xe3e62a=_0x5643ad+_0x43026e,_0xb836b8=_0x50e0['oUoIqI'][_0xe3e62a];return!_0xb836b8?(_0x57439a=_0x50e0['wzCCye'](_0x57439a),_0x50e0['oUoIqI'][_0xe3e62a]=_0x57439a):_0x57439a=_0xb836b8,_0x57439a;}import{b as _0x30ea0e,d}from'./chunk-DJ5M3T5L.js';import _0x887892,{HttpStatusCode}from'axios';function x(_0x1f7fff){const _0x2cccf0=_0x50e0,_0xc59a61={'ntXAA':function(_0x1769b9,_0x2f3e63){return _0x1769b9(_0x2f3e63);},'QzSRT':function(_0x599849,_0x361d82){return _0x599849==_0x361d82;},'zceDF':_0x2cccf0(0x1ca),'hdidt':function(_0x156aa3,_0x1f769f){return _0x156aa3!==_0x1f769f;}};try{let _0x491576=_0x1f7fff['split']('.')[-0x26a9+0x3c4+0x22e6]['replace'](/-/g,'+')[_0x2cccf0(0x1f0)](/_/g,'/'),_0x441264=JSON[_0x2cccf0(0x1c1)](_0xc59a61['ntXAA'](atob,_0x491576));return _0xc59a61['QzSRT'](typeof _0x441264['exp'],_0xc59a61[_0x2cccf0(0x201)])&&_0x441264[_0x2cccf0(0x1ce)]*(-0x2165+0x686+0x1*0x1ec7)<Date['now']();}catch{if(_0xc59a61[_0x2cccf0(0x1b9)](_0x2cccf0(0x219),_0x2cccf0(0x219))){let _0x5e6fe2=_0x44c412[_0x2cccf0(0x1e5)]();if(_0x5e6fe2&&_0x1e9cd5(_0x5e6fe2))return _0x4141f4[_0x2cccf0(0x20b)+_0x2cccf0(0x1c9)]||(_0x5ab1e8[_0x2cccf0(0x20b)+_0x2cccf0(0x1c9)]=!![],_0x5643ad['removeTo'+_0x2cccf0(0x1fd)](),_0x553b70(),_0x5efe49(()=>{const _0x1082a0=_0x2cccf0;_0xb836b8['isRedire'+_0x1082a0(0x1c9)]=![];},-0x1b8c+0xcc1+0x12b3)),_0x4fc9a2[_0x2cccf0(0x1f7)](new _0x43026e(_0x2cccf0(0x1da)+'pirado'));_0x5e6fe2&&(_0xe3e62a[_0x2cccf0(0x1db)][_0x2cccf0(0x1e7)+_0x2cccf0(0x214)]=_0x2cccf0(0x1d6)+_0x5e6fe2);}else return![];}}function T(_0x51134f){const _0x12a9e6=_0x50e0;return Array[_0x12a9e6(0x20d)](new Uint8Array(_0x51134f))['map'](_0x5b24ac=>_0x5b24ac['toString'](0x1206+-0x1fde+0xde8)[_0x12a9e6(0x203)](0x2121+0x2312+0x1*-0x4431,'0'))[_0x12a9e6(0x1ed)]('');}async function P(_0x145f3e){const _0x24b182=_0x50e0,_0x59dc6c={'axnMY':_0x24b182(0x20c),'bLMuN':function(_0x365767,_0x4ed9b0){return _0x365767(_0x4ed9b0);}};let _0xaaeefb=await crypto[_0x24b182(0x205)][_0x24b182(0x1a1)](_0x59dc6c[_0x24b182(0x1f2)],new TextEncoder()[_0x24b182(0x19e)](_0x145f3e));return _0x59dc6c[_0x24b182(0x1af)](T,_0xaaeefb);}function A(_0xb05124){const _0x3422ae=_0x50e0,_0x286939={};_0x286939[_0x3422ae(0x1ec)]=function(_0x4b4c59,_0x235fa8){return _0x4b4c59!=_0x235fa8;};const _0x515e0d=_0x286939;return!_0xb05124||_0x515e0d[_0x3422ae(0x1ec)](typeof _0xb05124,_0x3422ae(0x1b4))?'':Object[_0x3422ae(0x1c4)](_0xb05124)[_0x3422ae(0x1e9)](([,_0x497cb7])=>_0x497cb7!=null)[_0x3422ae(0x1ff)](([_0x4052a0],[_0x55a28c])=>_0x4052a0<_0x55a28c?-(-0x9*-0x2af+0x2542+-0x3d68):_0x4052a0>_0x55a28c?-0x1a69+0x6f6+0x1374:0xf68+0x1cdb+-0x2c43)['map'](([_0xcc9b92,_0x3c1c08])=>encodeURIComponent(_0xcc9b92)+'='+encodeURIComponent(String(_0x3c1c08)))[_0x3422ae(0x1ed)]('&');}async function b(_0x29e47d,_0x474e95,_0xdbb2bd,_0x4e4f1f='',_0x104781=''){const _0x3944a4=_0x50e0,_0x3581da={'dYZFm':function(_0x27fd39,_0x3dde56){return _0x27fd39/_0x3dde56;},'Kpmdy':function(_0xf7863f,_0x5a4675){return _0xf7863f(_0x5a4675);},'GxgQF':'raw','wvACk':_0x3944a4(0x1c3),'RfLZh':'sign'};let _0x3bb3cb=Math['floor'](_0x3581da[_0x3944a4(0x1b5)](Date[_0x3944a4(0x1e2)](),0x24bb+-0x19*0x16a+0x287))[_0x3944a4(0x1d3)](),_0x4cf63f=await _0x3581da[_0x3944a4(0x191)](P,_0x104781),_0x420873=_0x3944a4(0x1c8)+_0x3bb3cb+':'+_0x474e95['toUpperC'+_0x3944a4(0x1a3)]()+':'+_0xdbb2bd+':'+_0x4e4f1f+':'+_0x4cf63f,_0x456ff9=new TextEncoder(),_0x19fc78=await crypto[_0x3944a4(0x205)][_0x3944a4(0x1a8)+'y'](_0x3581da[_0x3944a4(0x1f3)],_0x456ff9[_0x3944a4(0x19e)](_0x29e47d),{'name':_0x3581da['wvACk'],'hash':'SHA-256'},![],[_0x3581da[_0x3944a4(0x210)]]),_0x39fe2d=await crypto[_0x3944a4(0x205)][_0x3944a4(0x1ee)](_0x3944a4(0x1c3),_0x19fc78,_0x456ff9[_0x3944a4(0x19e)](_0x420873));return't='+_0x3bb3cb+_0x3944a4(0x1f1)+_0x3581da['Kpmdy'](T,_0x39fe2d);}var I=[_0x4b97f1(0x1e7)+'ation',_0x4b97f1(0x1de)+_0x4b97f1(0x1c5)];function w(_0x52ef19){const _0x49f0bf=_0x4b97f1,_0x4ec62b={};_0x4ec62b[_0x49f0bf(0x216)]=function(_0x86a435,_0x14ab05){return _0x86a435!=_0x14ab05;},_0x4ec62b[_0x49f0bf(0x218)]=_0x49f0bf(0x1b4),_0x4ec62b['kXsIx']=_0x49f0bf(0x211)+'D]';const _0x2b7316=_0x4ec62b;if(!_0x52ef19||_0x2b7316[_0x49f0bf(0x216)](typeof _0x52ef19,_0x2b7316[_0x49f0bf(0x218)]))return;let _0x14f5ae=_0x52ef19;for(let _0x2e75ab of[_0x14f5ae['config']?.[_0x49f0bf(0x1db)],_0x14f5ae[_0x49f0bf(0x194)]?.[_0x49f0bf(0x1db)]])if(_0x2e75ab){for(let _0x17d5a4 of I)_0x2e75ab[_0x17d5a4]&&(_0x2e75ab[_0x17d5a4]=_0x2b7316['kXsIx']);}}var $=new Set([0x227a+0x484+-0x2566,-0x22a8+0x15c8+0x19*0x95,-0x166d+0x5c4*0x6+0x1*-0xa35,0x1d7a+0x5*0x6ba+-0x3d25,0x1*0x5f7+-0x26ea+0x1*0x22eb]),j=new Set([_0x4b97f1(0x217),_0x4b97f1(0x209),_0x4b97f1(0x1e3),_0x4b97f1(0x1b3),_0x4b97f1(0x195)]),v=new Set([_0x4b97f1(0x200),'arraybuf'+_0x4b97f1(0x1c2),'stream',_0x4b97f1(0x19c),_0x4b97f1(0x1a7)]),a=class a{constructor({API_URL:_0xb4de7f,useAuthorization:_0x193732,clientId:_0x528e21,tokenStorage:_0x537155,timeout:_0x628c34,signingKey:_0x3621ec,maxRetries:_0x12ae90,onUnauthorized:_0x20ab9e}){const _0x58a284=_0x4b97f1,_0x5b371b={'lNGSz':_0x58a284(0x1fa)+'t-ID','GtdSb':function(_0x2d9f72,_0x3d9ed5){return _0x2d9f72===_0x3d9ed5;},'dSrvc':'KVFQM','wbmTB':function(_0x27a5ba,_0x444ae3){return _0x27a5ba(_0x444ae3);},'CzMkB':function(_0x3560ff){return _0x3560ff();},'wkJRH':_0x58a284(0x1da)+_0x58a284(0x207),'kvAhi':_0x58a284(0x1de)+_0x58a284(0x1c5),'geXoA':_0x58a284(0x192),'NgsHW':'data','jUgeE':_0x58a284(0x213)+_0x58a284(0x19f),'vHDaq':'applicat'+_0x58a284(0x1cd),'DAzri':function(_0x29c4a7,_0x2b8ff9){return _0x29c4a7 in _0x2b8ff9;},'bLlkO':function(_0x48bcc1,_0x4043d1){return _0x48bcc1!==_0x4043d1;},'Cwuma':_0x58a284(0x1f5),'AxrCj':function(_0x57721e,_0x2f8798){return _0x57721e(_0x2f8798);},'sAQqA':'get','duMBr':function(_0x445455,_0x438907){return _0x445455<_0x438907;},'hxIJO':_0x58a284(0x1fc),'QxmBN':function(_0x571c96,_0x1addd2){return _0x571c96*_0x1addd2;},'Bavys':function(_0x188c3f){return _0x188c3f();},'ZSlIL':function(_0x3d19d6,_0x3af6e8,_0x1f1b7d){return _0x3d19d6(_0x3af6e8,_0x1f1b7d);}},_0x332c66={};_0x332c66[_0x58a284(0x1d9)+_0x58a284(0x1ef)]=_0x5b371b[_0x58a284(0x215)],_0x332c66['auth']=_0x528e21;const _0x49c545={};_0x49c545[_0x58a284(0x1ae)]=_0xb4de7f,_0x49c545['timeout']=_0x628c34,_0x49c545[_0x58a284(0x1db)]=_0x332c66,(this['useAutho'+_0x58a284(0x1cb)]=_0x193732,this['apiClien'+'t']=_0x887892[_0x58a284(0x1c6)](_0x49c545),this[_0x58a284(0x212)+'t']['intercep'+_0x58a284(0x1ab)][_0x58a284(0x194)]['use'](async _0x45c316=>{const _0x250e91=_0x58a284;if(_0x45c316['headers'][_0x5b371b[_0x250e91(0x1d1)]]=crypto[_0x250e91(0x1c0)+'ID'](),this[_0x250e91(0x1a2)+_0x250e91(0x1cb)]){if(_0x5b371b['GtdSb'](_0x250e91(0x1b8),_0x5b371b[_0x250e91(0x1b1)]))_0x3e0dbf[_0x250e91(0x20b)+_0x250e91(0x1c9)]=![];else{let _0x31f3cd=_0x537155['getToken']();if(_0x31f3cd&&_0x5b371b[_0x250e91(0x1bd)](x,_0x31f3cd))return a['isRedire'+_0x250e91(0x1c9)]||(a[_0x250e91(0x20b)+'cting']=!![],_0x537155['removeTo'+_0x250e91(0x1fd)](),_0x5b371b['CzMkB'](_0x20ab9e),setTimeout(()=>{const _0x40506f=_0x250e91;a[_0x40506f(0x20b)+'cting']=![];},-0xdea*0x1+-0x5*0xd3+-0x29*-0x89)),Promise[_0x250e91(0x1f7)](new Error(_0x5b371b[_0x250e91(0x206)]));_0x31f3cd&&(_0x45c316[_0x250e91(0x1db)][_0x250e91(0x1e7)+_0x250e91(0x214)]='Bearer\x20'+_0x31f3cd);}}if(_0x3621ec){let _0x1a8c9a=_0x45c316['method']??_0x250e91(0x217),_0x5aa3bb=_0x45c316[_0x250e91(0x1e8)]??'',_0x1d7758=_0x5b371b[_0x250e91(0x1bd)](A,_0x45c316['params']),_0x168e0c=_0x45c316[_0x250e91(0x196)]!=null?JSON[_0x250e91(0x1a0)+'y'](_0x45c316['data']):'';_0x45c316['headers'][_0x5b371b['kvAhi']]=await b(_0x3621ec,_0x1a8c9a,_0x5aa3bb,_0x1d7758,_0x168e0c);}return _0x45c316;},_0x1a47d2=>Promise['reject'](_0x1a47d2)),this[_0x58a284(0x212)+'t'][_0x58a284(0x1f6)+_0x58a284(0x1ab)][_0x58a284(0x1df)]['use'](_0x5b97d7=>{const _0x4267db=_0x58a284;let _0x1c9fbf=_0x5b371b['wbmTB'](String,_0x5b97d7[_0x4267db(0x1db)]['content-'+'type']??''),_0xbbdaf2=_0x5b97d7[_0x4267db(0x1d7)]?.['response'+_0x4267db(0x1ef)]??'';if(_0x5b97d7[_0x4267db(0x196)]&&!v[_0x4267db(0x1f9)](_0xbbdaf2)&&!_0x1c9fbf['includes'](_0x4267db(0x20f)+_0x4267db(0x1cd)))return Promise[_0x4267db(0x1f7)](new Error(_0x4267db(0x1b2)+_0x4267db(0x1ad)+_0x4267db(0x197)+_0x4267db(0x19b)+'\x20('+_0x1c9fbf+(_0x4267db(0x1c7)+_0x4267db(0x190)+_0x4267db(0x1cc)+'json.')));let _0x2698fd=_0x5b97d7[_0x4267db(0x196)];return _0x2698fd&&typeof _0x2698fd[_0x4267db(0x1fe)]==_0x5b371b[_0x4267db(0x1a6)]&&_0x5b371b[_0x4267db(0x1d5)]in _0x2698fd&&(_0x5b97d7[_0x4267db(0x196)]=_0x2698fd[_0x4267db(0x196)]),_0x5b97d7;},async _0x5bdb81=>{const _0x6a72bc=_0x58a284;if(_0x5b371b['bLlkO'](_0x5b371b[_0x6a72bc(0x1be)],_0x5b371b[_0x6a72bc(0x1be)])){let _0x914586=this[_0x6a72bc(0x1e4)+'onfig'](_0x363635,_0x4992de);return this[_0x6a72bc(0x212)+'t'][_0x6a72bc(0x21a)](_0xffdab8['path']??'',_0x914586['data'],_0x914586);}else{_0x5b371b[_0x6a72bc(0x1eb)](w,_0x5bdb81);let _0xcc6161=_0x5bdb81[_0x6a72bc(0x1d7)],_0x5c3339=_0x5bdb81[_0x6a72bc(0x1df)]?.[_0x6a72bc(0x20e)],_0x4b1e10=(_0xcc6161?.[_0x6a72bc(0x204)]??_0x5b371b['sAQqA'])['toLowerC'+_0x6a72bc(0x1a3)](),_0xd669fb=j[_0x6a72bc(0x1f9)](_0x4b1e10)&&(!_0x5c3339||$['has'](_0x5c3339)),_0x99a02f=_0xcc6161?.[_0x6a72bc(0x20a)+_0x6a72bc(0x1e0)]??0x455*-0x1+-0x2*-0x131a+-0x1*0x21df;if(_0xcc6161&&_0xd669fb&&_0x5b371b['duMBr'](_0x99a02f,_0x12ae90)){if(_0x6a72bc(0x1fc)===_0x5b371b[_0x6a72bc(0x1e1)]){_0xcc6161['_retryCo'+_0x6a72bc(0x1e0)]=_0x99a02f+(0x319*0x3+0x124+-0xa6e);let _0x23ffa7=_0x5b371b['QxmBN'](Math[_0x6a72bc(0x1d2)](-0x112e+-0x1d99+0x1d*0x19d,_0xcc6161[_0x6a72bc(0x20a)+_0x6a72bc(0x1e0)]),0x1ea4+-0xc*0x81+0x45*-0x54);return await new Promise(_0x48f3c9=>setTimeout(_0x48f3c9,_0x23ffa7)),this[_0x6a72bc(0x212)+'t'](_0xcc6161);}else{let _0xa8bf32=_0x93ef3e(_0xa83d95[_0x6a72bc(0x1db)][_0x5b371b[_0x6a72bc(0x1d4)]]??''),_0x3bb97c=_0x35944f[_0x6a72bc(0x1d7)]?.[_0x6a72bc(0x1df)+_0x6a72bc(0x1ef)]??'';if(_0x5995ae[_0x6a72bc(0x196)]&&!_0x1fea15[_0x6a72bc(0x1f9)](_0x3bb97c)&&!_0xa8bf32[_0x6a72bc(0x1ac)](_0x5b371b['vHDaq']))return _0x23d613[_0x6a72bc(0x1f7)](new _0x4a56b8('Respuest'+_0x6a72bc(0x1ad)+_0x6a72bc(0x197)+_0x6a72bc(0x19b)+'\x20('+_0xa8bf32+(_0x6a72bc(0x1c7)+_0x6a72bc(0x190)+_0x6a72bc(0x1cc)+_0x6a72bc(0x1aa))));let _0x5bd7fc=_0x3b2cab[_0x6a72bc(0x196)];return _0x5bd7fc&&typeof _0x5bd7fc['success']==_0x5b371b['geXoA']&&_0x5b371b['DAzri'](_0x5b371b[_0x6a72bc(0x1d5)],_0x5bd7fc)&&(_0xe68a26[_0x6a72bc(0x196)]=_0x5bd7fc[_0x6a72bc(0x196)]),_0x2ee833;}}return _0x5b371b[_0x6a72bc(0x19d)](_0x5c3339,HttpStatusCode['Unauthor'+_0x6a72bc(0x1dc)])&&!a[_0x6a72bc(0x20b)+_0x6a72bc(0x1c9)]&&(a[_0x6a72bc(0x20b)+'cting']=!![],_0x537155[_0x6a72bc(0x193)+_0x6a72bc(0x1fd)](),_0x5b371b[_0x6a72bc(0x1b6)](_0x20ab9e),_0x5b371b[_0x6a72bc(0x1a5)](setTimeout,()=>{const _0x42f4ce=_0x6a72bc;a[_0x42f4ce(0x20b)+_0x42f4ce(0x1c9)]=![];},-0x13e*-0x1f+0x469*0x3+0x991*-0x5)),Promise['reject'](_0x5bdb81);}}));}[_0x4b97f1(0x1e4)+_0x4b97f1(0x199)](_0x107241,_0x4c34f3){const _0x243431=_0x4b97f1,_0x57fea2={..._0x107241?.[_0x243431(0x1bb)+_0x243431(0x1a4)]};return _0x57fea2[_0x243431(0x1db)]={..._0x107241?.[_0x243431(0x1bb)+_0x243431(0x1a4)]?.[_0x243431(0x1db)],..._0x4c34f3?.[_0x243431(0x1db)]},_0x57fea2[_0x243431(0x1bf)]=_0x107241?.[_0x243431(0x1bf)],_0x57fea2[_0x243431(0x196)]=_0x107241?.['data'],_0x57fea2;}async[_0x4b97f1(0x1e6)](_0x347584,_0x61864a){const _0x79ee7e=_0x4b97f1;return this[_0x79ee7e(0x212)+'t'][_0x79ee7e(0x217)](_0x347584?.['path']??'',this['combineC'+_0x79ee7e(0x199)](_0x347584,_0x61864a));}async[_0x4b97f1(0x1a9)](_0x3c697e,_0x5c2d94){const _0x426a68=_0x4b97f1;let _0xf95060=this[_0x426a68(0x1e4)+_0x426a68(0x199)](_0x3c697e,_0x5c2d94);return this['apiClien'+'t'][_0x426a68(0x21a)](_0x3c697e[_0x426a68(0x198)]??'',_0xf95060[_0x426a68(0x196)],_0xf95060);}async[_0x4b97f1(0x1bc)](_0x16c47d,_0x1c42a){const _0x2fa07e=_0x4b97f1;let _0x41ecb7=this[_0x2fa07e(0x1e4)+_0x2fa07e(0x199)](_0x16c47d,_0x1c42a);return this[_0x2fa07e(0x212)+'t'][_0x2fa07e(0x1b3)](_0x16c47d[_0x2fa07e(0x198)]??'',_0x41ecb7[_0x2fa07e(0x196)],_0x41ecb7);}async[_0x4b97f1(0x1d0)](_0x3daf30,_0x9db367){const _0x5c048e=_0x4b97f1;let _0x138dfc=this[_0x5c048e(0x1e4)+_0x5c048e(0x199)](_0x3daf30,_0x9db367);return this[_0x5c048e(0x212)+'t']['patch'](_0x3daf30[_0x5c048e(0x198)]??'',_0x138dfc['data'],_0x138dfc);}async[_0x4b97f1(0x1fb)](_0x44e259,_0x509605){const _0x256f3e=_0x4b97f1;return this[_0x256f3e(0x212)+'t'][_0x256f3e(0x195)](_0x44e259[_0x256f3e(0x198)]??'',this[_0x256f3e(0x1e4)+'onfig'](_0x44e259,_0x509605));}};function _0x29bf(){const _0x3781db=['se1bqW','zw50CMLLCW','DxjL','y3jLyxrL','ks4GrxnWzxi','DJe6','y3rPBMC','BNvTyMvY','CML6yxrPB24','AwnHDgLVBI8','Aw9Ul2PZB24','zxHW','mJaYntG0nxfvvwzlBq','uefuq0G','Be5hu3O','Cg93','Dg9tDhjPBMC','ALvNzuu','tMDZsfC','qMvHCMvYia','y29UzMLN','nJKZnZz3CKvuz0K','q29UDgvUDc0','vg9Rzw4GzxG','AgvHzgvYCW','AxPLza','C2v0','wc1tAwDUyxq','CMvZCg9UC2u','Dw50','AhHjsK8','BM93','B3b0Aw9UCW','y29TyMLUzum','z2v0vg9Rzw4','r0vu','qxv0Ag9YAxO','DxjS','zMLSDgvY','ntm4mduZnNf4ExvHza','qxHYq2O','zNDfEuK','AM9PBG','C2LNBG','vhLWzq','CMvWBgfJzq','lhy9','yxHUtvK','r3HNuuy','tvbwrxO','DvH2uvq','Aw50zxjJzxa','CMvQzwn0','nde3wwvUwKX4','AgfZ','wc1szxf1zxm','revmrvrf','DfDoy0O','A2vU','C3vJy2vZCW','C29YDa','yMXVyG','EMnLrey','mZKXotC3oxnKrfvKuW','CgfKu3rHCNq','Bwv0Ag9K','C3vIDgXL','D2TkuKG','CgLYywrV','odC4ntyYqwTJwezo','AgvHza','x3jLDhj5q28','AxnszwrPCMu','u0Hblti1nG','zNjVBq','C3rHDhvZ','yxbWBgLJyxq','uMzmwMG','w1jfrefdveu','yxbPq2XPzw4','y29UDgvUDc0','yxrPB24','DKHeyxe','Ber0C1K','z2v0','BeXRtw4','qw9wrMC','Cg9ZDa','ywjHigfWCgW','s3bTzhK','yM9VBgvHBG','CMvTB3zLvg8','CMvXDwvZDa','zgvSzxrL','zgf0yq','CMfKysbKzwW','Cgf0Aa','B25MAwC','y2XLyxi','igDHDgv3yxK','zg9JDw1LBNq','r3rKu2i','zw5JB2rL','DhLWzq','C3rYAw5NAwy','zgLNzxn0','DxnLqxv0Ag8','yxnL','zMLN','wLnSsuW','z2vyB0e','Dgv4Da','Aw1WB3j0s2u','ue9tva','ANnVBI4','Dg9YCW','Aw5JBhvKzxm','ysbPBMvZCgu','yMfZzvvsta','yKXnDu4','n1n1yw5mAq','zfnYDMm','uMvZChvLC3q','Chv0','B2jQzwn0','zfLArM0','qMf2Exm','nJq2mKTgzfLmtG','terQyuW','AgrPzhq','mtaWnZu5C1vjweHm','yxHPB3ndB24','ufvu','D2jTvei','q3D1Bwe','CgfYyw1Z','CMfUzg9Tvvu','CgfYC2u','zMvY'];_0x29bf=function(){return _0x3781db;};return _0x29bf();}a['isRedire'+_0x4b97f1(0x1c9)]=![];var m=a,S=m,h=new Map();_0x30ea0e(()=>h[_0x4b97f1(0x19a)]());function X(_0x31e01a,_0xf1104a){const _0x1481a5=_0x4b97f1,_0x37f4b3={'MPVEz':function(_0x4cd2c2){return _0x4cd2c2();}};let _0x464395=_0x31e01a+'|'+_0xf1104a,_0x4b6ac6=h['get'](_0x464395);if(_0x4b6ac6)return _0x4b6ac6;let {baseURL:_0x4d1531,clientId:_0x11eb9e,tokenStorage:_0x432af8,timeout:_0x479aba,signingKey:_0x22627d,maxRetries:_0x28b270,onUnauthorized:_0x562ed7}=_0x37f4b3[_0x1481a5(0x1f4)](d),_0x4099ed=new S({'API_URL':''+_0x4d1531+_0x31e01a,'useAuthorization':_0xf1104a,'clientId':_0x11eb9e,'tokenStorage':_0x432af8,'timeout':_0x479aba,'signingKey':_0x22627d,'maxRetries':_0x28b270,'onUnauthorized':_0x562ed7});return h[_0x1481a5(0x1dd)](_0x464395,_0x4099ed),_0x4099ed;}export{P as a,X as b};
|
package/dist/chunk-DJ5M3T5L.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(_0x387006,_0x268e4e){const _0x388a70=_0x3bbc,_0x22a685=_0x387006();while(!![]){try{const _0x240b97=-parseInt(_0x388a70(0x184))/(-0x3*0x84b+-0x38d+0x1c6f)*(-parseInt(_0x388a70(0x18c))/(0x1b3e+0x31e+-0x1e5a))+parseInt(_0x388a70(0x194))/(0x1f41+-0x1477+0x1*-0xac7)*(-parseInt(_0x388a70(0x192))/(-0x53*-0x12+-0x1d45+0xcf*0x1d))+-parseInt(_0x388a70(0x18e))/(0x10d5*-0x1+-0x24d8+-0x1*-0x35b2)*(parseInt(_0x388a70(0x198))/(0x1*0x1ff9+0x249+0x7*-0x4e4))+parseInt(_0x388a70(0x1ab))/(0x2667+-0x21e5+-0x47b)+parseInt(_0x388a70(0x19a))/(0x6d7+-0x1b33+0x1464)*(parseInt(_0x388a70(0x1aa))/(0x582*0x3+0xb9a+-0x1c17))+parseInt(_0x388a70(0x17e))/(0x270a+0x1db7+-0x44b7)*(-parseInt(_0x388a70(0x1a2))/(0x401+-0x1*0x1c43+0x184d))+parseInt(_0x388a70(0x186))/(-0x47*0x42+0xfe5+0x275);if(_0x240b97===_0x268e4e)break;else _0x22a685['push'](_0x22a685['shift']());}catch(_0x43d84f){_0x22a685['push'](_0x22a685['shift']());}}}(_0x1a50,-0x11*-0x8e5f+-0x6c09e+0x2c259));function a(_0x20e419){const _0x3fbcb7=_0x3bbc,_0x1a1708={};_0x1a1708[_0x3fbcb7(0x1a5)]=_0x3fbcb7(0x195),_0x1a1708[_0x3fbcb7(0x19b)]='xVMGj',_0x1a1708[_0x3fbcb7(0x18a)]=function(_0x1c9a0b,_0x1e51bc){return _0x1c9a0b>_0x1e51bc;};const _0x257d3f=_0x1a1708;return{'getToken'(){const _0xe9dcfb=_0x3fbcb7,_0x30c442={};_0x30c442[_0xe9dcfb(0x1a3)]=function(_0x50d7b5,_0x337f0a){return _0x50d7b5>_0x337f0a;};const _0x17b1d8=_0x30c442;if(_0x257d3f['VViPR']!==_0x257d3f[_0xe9dcfb(0x19b)]){if(_0x257d3f[_0xe9dcfb(0x18a)](typeof localStorage,'u'))return null;let _0xa2b060=localStorage['getItem'](_0x20e419);return _0xa2b060?_0xa2b060[_0xe9dcfb(0x187)](/"/g,''):null;}else{if(_0x17b1d8['WljIg'](typeof _0x6f41dd,'u'))return null;let _0x369734=_0x28e1df['getItem'](_0x638da);return _0x369734?_0x369734['replace'](/"/g,''):null;}},'removeToken'(){const _0x58fc06=_0x3fbcb7;_0x257d3f[_0x58fc06(0x18a)](typeof localStorage,'u')||localStorage[_0x58fc06(0x193)+'em'](_0x20e419);}};}var n=null,i=new Set();function f(_0x66a03){const _0x43a775=_0x3bbc;i[_0x43a775(0x181)](_0x66a03);}function _0x1a50(){const _0x5f4715=['Aw5Ll2fNCY0','ywrK','Dg9Rzw5tDg8','w0bHz3jVC2G','nuTorLzzBW','y2NdS24GzMv0','mZuWmJGWvfPODuL3','CMvWBgfJzq','Aw5Lifzjveu','DMfYAwfIBgu','sNnWuNK','Dg9Rzw5lzxK','odyYmdzozg5uzei','vKLurv9bueK','mteZnxbpve9yCq','zunqEKe','ihvUysbvuKW','DxvPza','mZu2mZzrAhDsA3G','CMvTB3zLsxq','mtHLufvbqwW','rgfcqKS','igvUigXHCYa','y3jLyxrLshq','mtu5nJzuteHeqKm','D2vIlwH0Dha','mty5ndqZmKvJDwXSuW','D01iBe4','xsboBYbZzsa','DhuGyxbWlG','DwLLCIbMDw4','y2GU','zvvstgaGysa','CYbKzsbLBNq','mJu0mZa5EezWwKfr','v2XQswC','CMfNzq','vLzPufi','ysbJCMvHDgu','yMfZzvvsta','EwLRAMG','igjHC2uUifa','mtH6Eu9zuhC','mZG4nJa5ouzvzhbWEa','kcKGBYbKzwy','EuL5AuG','zxmGzguGDxm','zw5JB250CSoZ','x1vsta','otb1wKjVqNm','B3jUBYbKzsa'];_0x1a50=function(){return _0x5f4715;};return _0x1a50();}function u(_0x261101){n=_0x261101,i['forEach'](_0x2fcb4f=>_0x2fcb4f());}function _0x3bbc(_0x1c2c1e,_0x3db9ad){_0x1c2c1e=_0x1c2c1e-(0x1693+0x93*0x21+-0x280b);const _0x47b984=_0x1a50();let _0x2efa30=_0x47b984[_0x1c2c1e];if(_0x3bbc['kDyBnw']===undefined){var _0x4c63b3=function(_0xe8b920){const _0x557beb='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x274651='',_0x5b1a98='';for(let _0x263886=-0x21e+0x137d+0x115f*-0x1,_0x2975e7,_0x4d1148,_0x59c50c=0x2d7*-0x2+-0x164a+0x1bf8;_0x4d1148=_0xe8b920['charAt'](_0x59c50c++);~_0x4d1148&&(_0x2975e7=_0x263886%(0x5*0x4d1+0xbbf+-0x23d0)?_0x2975e7*(-0x59*-0x5b+-0x89*0x2e+0x1*-0x6c5)+_0x4d1148:_0x4d1148,_0x263886++%(-0x2160+-0x44*0x15+0x8*0x4df))?_0x274651+=String['fromCharCode'](0x17a*0x5+0x4*-0x565+-0x1*-0xf31&_0x2975e7>>(-(-0x3*0x3da+0x1b*0x19+0x1*0x8ed)*_0x263886&-0x1b4d+0x7*-0x577+-0x1065*-0x4)):-0x84e+0x52*0x5d+-0x157c){_0x4d1148=_0x557beb['indexOf'](_0x4d1148);}for(let _0x144cce=-0x18bc+0x4d9+0x13e3,_0x1203dd=_0x274651['length'];_0x144cce<_0x1203dd;_0x144cce++){_0x5b1a98+='%'+('00'+_0x274651['charCodeAt'](_0x144cce)['toString'](0xbb3+-0x48e+-0x715))['slice'](-(-0xd2a+-0x20b1*0x1+0x1*0x2ddd));}return decodeURIComponent(_0x5b1a98);};_0x3bbc['qIKFRf']=_0x4c63b3,_0x3bbc['FHfNnz']={},_0x3bbc['kDyBnw']=!![];}const _0xaa5deb=_0x47b984[0x2*0x7bb+-0x65*0xb+-0x49*0x27],_0xf3a82e=_0x1c2c1e+_0xaa5deb,_0x465aad=_0x3bbc['FHfNnz'][_0xf3a82e];return!_0x465aad?(_0x2efa30=_0x3bbc['qIKFRf'](_0x2efa30),_0x3bbc['FHfNnz'][_0xf3a82e]=_0x2efa30):_0x2efa30=_0x465aad,_0x2efa30;}function c(){const _0x599870=_0x3bbc,_0x5c8533={'yikjh':function(_0x2af661,_0x10614f){return _0x2af661<_0x10614f;},'yIyiH':_0x599870(0x191),'eCPzA':function(_0x53c38e,_0x2629fc){return _0x53c38e(_0x2629fc);}};if(!n)throw new Error('[@agrosh'+_0x599870(0x180)+_0x599870(0x199)+']\x20Llama\x20'+_0x599870(0x1a6)+'HttpConf'+'ig()\x20ant'+_0x599870(0x17b)+'ar\x20cualq'+_0x599870(0x19e)+_0x599870(0x185)+_0x599870(0x19f));let _0x269af2=import.meta.env?.[_0x599870(0x18d)+_0x599870(0x17d)],_0x5aa0a0=_0x5c8533[_0x599870(0x1a8)](typeof process,'u')?process.env?.VITE_API_URL:void(0x49d+0x3bb*-0x2+0x2d9),_0x32da3b=n[_0x599870(0x1a7)]||_0x269af2||_0x5aa0a0||'';if(!_0x32da3b)throw new Error(_0x599870(0x183)+_0x599870(0x180)+'web-http'+_0x599870(0x19c)+_0x599870(0x17c)+_0x599870(0x190)+_0x599870(0x1a9)+'asa\x20`bas'+_0x599870(0x1a0)+_0x599870(0x197)+'tpConfig'+_0x599870(0x1ac)+_0x599870(0x188)+'_API_URL'+_0x599870(0x196)+_0x599870(0x189)+_0x599870(0x1a1)+_0x599870(0x17f)+_0x599870(0x19d));let _0x278b17=n[_0x599870(0x18b)]??_0x5c8533[_0x599870(0x1ad)];return{'onUnauthorized':()=>{},'signingKey':'','tokenKey':_0x278b17,'timeout':0x3a98,'maxRetries':0x2,...n,'baseURL':_0x32da3b,'tokenStorage':n[_0x599870(0x182)+_0x599870(0x1a4)]??_0x5c8533[_0x599870(0x18f)](a,_0x278b17)};}export{a,f as b,u as c,c as d};
|
package/dist/group-CnJEil9u.d.ts
DELETED
package/dist/login-Dq5rerGn.d.ts
DELETED
package/dist/user-FIov3LUo.d.cts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
interface IEmail {
|
|
2
|
-
address: string;
|
|
3
|
-
verified: boolean;
|
|
4
|
-
}
|
|
5
|
-
interface IProfile {
|
|
6
|
-
username: string;
|
|
7
|
-
language: string;
|
|
8
|
-
active: boolean;
|
|
9
|
-
name: string;
|
|
10
|
-
type: 'internal' | 'external';
|
|
11
|
-
role: string;
|
|
12
|
-
}
|
|
13
|
-
interface IUser {
|
|
14
|
-
_id: string;
|
|
15
|
-
emails: IEmail[];
|
|
16
|
-
profile: IProfile;
|
|
17
|
-
active: boolean;
|
|
18
|
-
}
|
|
19
|
-
interface IUserCreate {
|
|
20
|
-
name: string;
|
|
21
|
-
username: string;
|
|
22
|
-
email: string;
|
|
23
|
-
emailVerified?: boolean;
|
|
24
|
-
type: 'internal' | 'external';
|
|
25
|
-
role: string;
|
|
26
|
-
active?: boolean;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export type { IEmail as I, IProfile as a, IUser as b, IUserCreate as c };
|
package/dist/user-FIov3LUo.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
interface IEmail {
|
|
2
|
-
address: string;
|
|
3
|
-
verified: boolean;
|
|
4
|
-
}
|
|
5
|
-
interface IProfile {
|
|
6
|
-
username: string;
|
|
7
|
-
language: string;
|
|
8
|
-
active: boolean;
|
|
9
|
-
name: string;
|
|
10
|
-
type: 'internal' | 'external';
|
|
11
|
-
role: string;
|
|
12
|
-
}
|
|
13
|
-
interface IUser {
|
|
14
|
-
_id: string;
|
|
15
|
-
emails: IEmail[];
|
|
16
|
-
profile: IProfile;
|
|
17
|
-
active: boolean;
|
|
18
|
-
}
|
|
19
|
-
interface IUserCreate {
|
|
20
|
-
name: string;
|
|
21
|
-
username: string;
|
|
22
|
-
email: string;
|
|
23
|
-
emailVerified?: boolean;
|
|
24
|
-
type: 'internal' | 'external';
|
|
25
|
-
role: string;
|
|
26
|
-
active?: boolean;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export type { IEmail as I, IProfile as a, IUser as b, IUserCreate as c };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|