@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,29 +1,12 @@
|
|
|
1
|
-
interface
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
type: string;
|
|
5
|
-
planting_date: string;
|
|
6
|
-
farm_crop_aliases: string;
|
|
7
|
-
expected_harvest_date: string;
|
|
8
|
-
farm_crop_area: number;
|
|
9
|
-
irrigation_type_id: string;
|
|
10
|
-
}
|
|
11
|
-
interface ICustomerVariety {
|
|
12
|
-
variety_id: string;
|
|
13
|
-
farm_variety_name: string;
|
|
14
|
-
farm_variety_color: string;
|
|
15
|
-
farm_variety_aliases: string;
|
|
16
|
-
farm_variety_growth_cycle: number;
|
|
17
|
-
disease_resistance: string;
|
|
18
|
-
farm_variety_yield_potential: number;
|
|
1
|
+
interface IFarmType {
|
|
2
|
+
value: string;
|
|
3
|
+
label: string;
|
|
19
4
|
}
|
|
20
|
-
interface
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
crop_id: string;
|
|
24
|
-
farm_color: string;
|
|
25
|
-
farm_aliases?: string;
|
|
5
|
+
interface ISizes {
|
|
6
|
+
value: string;
|
|
7
|
+
label: string;
|
|
26
8
|
}
|
|
9
|
+
|
|
27
10
|
interface IBlock {
|
|
28
11
|
farm_block_aliases: string;
|
|
29
12
|
code: string;
|
|
@@ -49,6 +32,59 @@ interface IBlock {
|
|
|
49
32
|
maxTotalNaves?: number;
|
|
50
33
|
maxTotalBeds?: number;
|
|
51
34
|
}
|
|
35
|
+
interface IFarmBlockStructure {
|
|
36
|
+
id: string;
|
|
37
|
+
blockName: string;
|
|
38
|
+
draft: boolean;
|
|
39
|
+
implemented: number;
|
|
40
|
+
expired: number | null;
|
|
41
|
+
maxTotalBeds: number;
|
|
42
|
+
maxTotalNaves: number;
|
|
43
|
+
sides: number;
|
|
44
|
+
bedsNave: number;
|
|
45
|
+
centralRoadSize: number;
|
|
46
|
+
widthBed: number;
|
|
47
|
+
lengthBed: number;
|
|
48
|
+
bedRoadSize: number;
|
|
49
|
+
created_at: string;
|
|
50
|
+
updated_at: string;
|
|
51
|
+
version?: number | null;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
interface ICustomerCrop {
|
|
55
|
+
crop_id: string;
|
|
56
|
+
farm_crop_name: string;
|
|
57
|
+
type: string;
|
|
58
|
+
planting_date: string;
|
|
59
|
+
farm_crop_aliases: string;
|
|
60
|
+
expected_harvest_date: string;
|
|
61
|
+
farm_crop_area: number;
|
|
62
|
+
irrigation_type_id: string;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
interface ICustomerIndicator {
|
|
66
|
+
indicator_id: string;
|
|
67
|
+
farm_indicator_name: string;
|
|
68
|
+
crop_id: string;
|
|
69
|
+
farm_color: string;
|
|
70
|
+
farm_aliases?: string;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
interface ICustomerVariety {
|
|
74
|
+
variety_id: string;
|
|
75
|
+
farm_variety_name: string;
|
|
76
|
+
farm_variety_color: string;
|
|
77
|
+
farm_variety_aliases: string;
|
|
78
|
+
farm_variety_growth_cycle: number;
|
|
79
|
+
disease_resistance: string;
|
|
80
|
+
farm_variety_yield_potential: number;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
interface ICustomerGeolocation {
|
|
84
|
+
latitude: string | number;
|
|
85
|
+
longitude: string | number;
|
|
86
|
+
altitude?: string | number;
|
|
87
|
+
}
|
|
52
88
|
interface ICustomer {
|
|
53
89
|
_id?: string;
|
|
54
90
|
name: string;
|
|
@@ -60,11 +96,7 @@ interface ICustomer {
|
|
|
60
96
|
state_config: string;
|
|
61
97
|
farm_type: string;
|
|
62
98
|
localidad?: number;
|
|
63
|
-
geolocation?:
|
|
64
|
-
latitude: string | number;
|
|
65
|
-
longitude: string | number;
|
|
66
|
-
altitude?: string | number;
|
|
67
|
-
};
|
|
99
|
+
geolocation?: ICustomerGeolocation;
|
|
68
100
|
mapId: string;
|
|
69
101
|
total_area: number;
|
|
70
102
|
productive_area?: number;
|
|
@@ -83,37 +115,5 @@ interface ICustomer {
|
|
|
83
115
|
indicator_measurement?: string;
|
|
84
116
|
severity_color_map?: string;
|
|
85
117
|
}
|
|
86
|
-
interface IFarmType {
|
|
87
|
-
value: string;
|
|
88
|
-
label: string;
|
|
89
|
-
}
|
|
90
|
-
interface ISizes {
|
|
91
|
-
value: string;
|
|
92
|
-
label: string;
|
|
93
|
-
}
|
|
94
|
-
interface IFarmBlockStructure {
|
|
95
|
-
id: string;
|
|
96
|
-
blockName: string;
|
|
97
|
-
draft: boolean;
|
|
98
|
-
implemented: number;
|
|
99
|
-
expired: number | null;
|
|
100
|
-
maxTotalBeds: number;
|
|
101
|
-
maxTotalNaves: number;
|
|
102
|
-
sides: number;
|
|
103
|
-
bedsNave: number;
|
|
104
|
-
centralRoadSize: number;
|
|
105
|
-
widthBed: number;
|
|
106
|
-
lengthBed: number;
|
|
107
|
-
bedRoadSize: number;
|
|
108
|
-
created_at: string;
|
|
109
|
-
updated_at: string;
|
|
110
|
-
version?: number | null;
|
|
111
|
-
}
|
|
112
|
-
interface IModule {
|
|
113
|
-
_id: string;
|
|
114
|
-
name: string;
|
|
115
|
-
description?: string;
|
|
116
|
-
active: boolean;
|
|
117
|
-
}
|
|
118
118
|
|
|
119
|
-
export type { ICustomer as I, IFarmBlockStructure as a, ICustomerCrop as b, IFarmType as c, ICustomerIndicator as d,
|
|
119
|
+
export type { ICustomer as I, IFarmBlockStructure as a, ICustomerCrop as b, IFarmType as c, ICustomerIndicator as d, ISizes as e, ICustomerVariety as f, IBlock as g, ICustomerGeolocation as h };
|
package/dist/customers/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x15ec06=_0x37b9;(function(_0x43ad3a,_0x55f9ac){const _0x587853=_0x37b9,_0x11ba85=_0x43ad3a();while(!![]){try{const _0x46a2c6=-parseInt(_0x587853(0x6f))/(0x1*-0x225e+-0x8ee+-0x2b4d*-0x1)+parseInt(_0x587853(0xf0))/(0x1b4e+-0x17*-0xb3+-0x2b61)*(parseInt(_0x587853(0xcc))/(-0x2*0xe3f+-0x18df*-0x1+0x136*0x3))+parseInt(_0x587853(0x9e))/(0xb2a+-0x4*0x736+0x11b2)*(-parseInt(_0x587853(0xcd))/(-0x1fc0+-0xe6e*-0x1+-0x1157*-0x1))+parseInt(_0x587853(0x87))/(-0x2212+0xc92+-0x5f*-0x3a)*(-parseInt(_0x587853(0xce))/(0x989+0x597+0x305*-0x5))+parseInt(_0x587853(0xfc))/(-0xa+-0x1*-0x1e4d+-0x1e3b)*(parseInt(_0x587853(0xe9))/(-0x80e*0x4+0x77*-0x2a+-0xb*-0x4b5))+-parseInt(_0x587853(0xb4))/(-0x1c39+-0xeaa*-0x1+0xd99)+parseInt(_0x587853(0x6e))/(0x11d4+0x1f1f*-0x1+0x2*0x6ab)*(parseInt(_0x587853(0x11b))/(-0x28f+-0x52a*0x1+-0x11*-0x75));if(_0x46a2c6===_0x55f9ac)break;else _0x11ba85['push'](_0x11ba85['shift']());}catch(_0x12135b){_0x11ba85['push'](_0x11ba85['shift']());}}}(_0x3330,0x25*0x285d+0x22ca4+0x1*-0x4ae97));var j=require('axios');function _interopDefault(_0x469f42){const _0x192cd1=_0x37b9;return _0x469f42&&_0x469f42[_0x192cd1(0x12b)+'le']?_0x469f42:{'default':_0x469f42};}var j__default=_interopDefault(j),$=new Set();function x(_0x16b8a2){const _0x5a9c31=_0x37b9;$[_0x5a9c31(0xe3)](_0x16b8a2);}function I(){const _0x1120a0=_0x37b9;throw new Error(_0x1120a0(0x102)+_0x1120a0(0x76)+'web-http'+_0x1120a0(0x89)+'a\x20create'+_0x1120a0(0x101)+_0x1120a0(0xa9)+'es\x20de\x20us'+'ar\x20cualq'+_0x1120a0(0x11c)+_0x1120a0(0x118)+_0x1120a0(0xe4));}function b(_0x1b1866){const _0x4b943f=_0x37b9,_0x375ff6={'bnVkA':function(_0x22d103,_0x321fcf){return _0x22d103(_0x321fcf);},'zDIuj':function(_0x2dfa13,_0x2f2de8){return _0x2dfa13==_0x2f2de8;},'WTEiy':function(_0xaa33e3,_0x1d4b3e){return _0xaa33e3<_0x1d4b3e;},'aWtpo':function(_0x36c152,_0x30e462){return _0x36c152*_0x30e462;}};try{let _0x1d9114=_0x1b1866[_0x4b943f(0x6c)]('.')[-0x1*-0x1ffa+0x1aad+-0x3aa6][_0x4b943f(0xee)](/-/g,'+')[_0x4b943f(0xee)](/_/g,'/'),_0x15cc39=JSON[_0x4b943f(0x69)](_0x375ff6['bnVkA'](atob,_0x1d9114));return _0x375ff6[_0x4b943f(0x83)](typeof _0x15cc39[_0x4b943f(0x100)],_0x4b943f(0xc4))&&_0x375ff6[_0x4b943f(0x72)](_0x375ff6['aWtpo'](_0x15cc39[_0x4b943f(0x100)],0x1*-0x9fd+0x25cb+-0x17*0x10a),Date['now']());}catch{return![];}}function S(_0x315fc3){const _0x1c013b=_0x37b9;return Array[_0x1c013b(0x10a)](new Uint8Array(_0x315fc3))[_0x1c013b(0xaf)](_0x378d70=>_0x378d70[_0x1c013b(0x99)](-0xec6+-0x1152+0x2ae*0xc)['padStart'](-0x59d*-0x6+0x35*0x73+-0x397b,'0'))[_0x1c013b(0x70)]('');}async function H(_0xb68b76){const _0x470640=_0x37b9,_0x52d35c={'tBysM':'SHA-256','biFeI':function(_0x36e7d4,_0x49e658){return _0x36e7d4(_0x49e658);}};let _0x4d7eb5=await crypto[_0x470640(0x8f)][_0x470640(0xe0)](_0x52d35c[_0x470640(0xab)],new TextEncoder()[_0x470640(0xc0)](_0xb68b76));return _0x52d35c[_0x470640(0x7c)](S,_0x4d7eb5);}function U(_0x558e27){const _0x2eca64=_0x37b9,_0x28a303={};_0x28a303[_0x2eca64(0x75)]=function(_0x43ba07,_0x376526){return _0x43ba07!=_0x376526;},_0x28a303[_0x2eca64(0x104)]=_0x2eca64(0xf4);const _0x4e1fea=_0x28a303;return!_0x558e27||_0x4e1fea[_0x2eca64(0x75)](typeof _0x558e27,_0x4e1fea['vckhN'])?'':Object[_0x2eca64(0x129)](_0x558e27)['filter'](([,_0x376e94])=>_0x376e94!=null)['sort'](([_0x4f301d],[_0x3d3f3c])=>_0x4f301d<_0x3d3f3c?-(-0x17ca+-0x2079+0x22a*0x1a):_0x4f301d>_0x3d3f3c?-0xd*0x141+-0x1231*-0x1+0x1*-0x1e3:0x2419+-0x1cd3+-0x1*0x746)[_0x2eca64(0xaf)](([_0x4a1e8a,_0x239d08])=>encodeURIComponent(_0x4a1e8a)+'='+encodeURIComponent(String(_0x239d08)))['join']('&');}async function A(_0x29b5d5,_0x496541,_0x1a1fb6,_0x3f4f8d='',_0x26d986=''){const _0x48be4d=_0x37b9,_0x2c1cf7={'SNYhb':function(_0x3285b6,_0x4eadcb){return _0x3285b6/_0x4eadcb;},'iAvzC':function(_0x335117,_0x5adf0e){return _0x335117(_0x5adf0e);},'gMRoF':_0x48be4d(0xb9),'vsAOP':_0x48be4d(0x10e),'rPVNu':_0x48be4d(0x64)};let _0x4a3387=Math['floor'](_0x2c1cf7[_0x48be4d(0x8b)](Date[_0x48be4d(0x7e)](),-0x20a8+-0x1159+0x35e9))[_0x48be4d(0x99)](),_0xcebedf=await _0x2c1cf7[_0x48be4d(0x95)](H,_0x26d986),_0x37d6b9=_0x48be4d(0xd1)+_0x4a3387+':'+_0x496541[_0x48be4d(0x106)+_0x48be4d(0x96)]()+':'+_0x1a1fb6+':'+_0x3f4f8d+':'+_0xcebedf,_0x88c6e3=new TextEncoder(),_0xe01990=await crypto[_0x48be4d(0x8f)][_0x48be4d(0x84)+'y'](_0x2c1cf7['gMRoF'],_0x88c6e3[_0x48be4d(0xc0)](_0x29b5d5),{'name':_0x2c1cf7[_0x48be4d(0x98)],'hash':_0x2c1cf7['rPVNu']},![],[_0x48be4d(0xc3)]),_0x42679b=await crypto['subtle']['sign'](_0x48be4d(0x10e),_0xe01990,_0x88c6e3[_0x48be4d(0xc0)](_0x37d6b9));return't='+_0x4a3387+_0x48be4d(0xa5)+_0x2c1cf7[_0x48be4d(0x95)](S,_0x42679b);}var q=['Authoriz'+_0x15ec06(0xcb),'X-Signat'+_0x15ec06(0x113)];function E(_0x2580db){const _0x5929f9=_0x15ec06,_0x151510={};_0x151510[_0x5929f9(0x73)]=function(_0x44e896,_0x36d49a){return _0x44e896!=_0x36d49a;},_0x151510[_0x5929f9(0xd5)]=_0x5929f9(0xea)+'D]';const _0x4651e1=_0x151510;if(!_0x2580db||_0x4651e1['kWloZ'](typeof _0x2580db,_0x5929f9(0xf4)))return;let _0x8007b0=_0x2580db;for(let _0x889338 of[_0x8007b0[_0x5929f9(0x11d)]?.[_0x5929f9(0xa7)],_0x8007b0['request']?.[_0x5929f9(0xa7)]])if(_0x889338){for(let _0x36d118 of q)_0x889338[_0x36d118]&&(_0x889338[_0x36d118]=_0x4651e1[_0x5929f9(0xd5)]);}}var _=new Set([-0x3f8*-0x2+0x1bc5+-0xb5f*0x3,0x9da+-0x1bb*-0xd+-0x1a*0x12e,-0x13f1+-0x267f+0x3c66,-0x17*-0x149+0x199a+-0x1*0x3532,0xe46+0x7bd+-0x140b]),z=new Set([_0x15ec06(0x88),'head','options',_0x15ec06(0x79),_0x15ec06(0xca)]),G=new Set([_0x15ec06(0x94),_0x15ec06(0xf3)+_0x15ec06(0xa4),_0x15ec06(0x8a),_0x15ec06(0x109),_0x15ec06(0x67)]),u=class u{constructor({API_URL:_0x31c9da,useAuthorization:_0x549fcd,clientId:_0x21cffb,tokenStorage:_0x175be5,timeout:_0x33af08,signingKey:_0xcb45dc,maxRetries:_0x3b9720,onUnauthorized:_0x2be3d3}){const _0x3226b9=_0x15ec06,_0x4cbc87={'xspoe':'ATuQn','PjQae':function(_0x32a39c,_0x425849,_0x181e09){return _0x32a39c(_0x425849,_0x181e09);},'eFaRs':_0x3226b9(0xb8)+_0x3226b9(0xec),'nCYNs':'get','Xxhtd':function(_0x309f81,_0x5416f2){return _0x309f81(_0x5416f2);},'fcFIz':function(_0x2a7682,_0x4ad1ed){return _0x2a7682!=_0x4ad1ed;},'YGGaD':function(_0x5882dd,_0x4c7552,_0x134f02,_0x62eb28,_0x17cb8b,_0x45ac93){return _0x5882dd(_0x4c7552,_0x134f02,_0x62eb28,_0x17cb8b,_0x45ac93);},'jispj':'content-'+'type','kvKfd':_0x3226b9(0x124)+_0x3226b9(0xe2),'afzjy':function(_0x158f7e,_0x331a9a){return _0x158f7e==_0x331a9a;},'iNnIF':function(_0x2695d0,_0x25797a){return _0x2695d0 in _0x25797a;},'henWs':_0x3226b9(0xbf),'nHoiC':function(_0x4fd972,_0x5eb5b6){return _0x4fd972(_0x5eb5b6);},'YLXpO':function(_0x5d83c9,_0xd5e4e1){return _0x5d83c9&&_0xd5e4e1;},'bsmiG':function(_0x23ce9f,_0x43ded4){return _0x23ce9f<_0x43ded4;},'iSrMc':function(_0x1c0b71,_0x364c53){return _0x1c0b71+_0x364c53;},'WuULj':function(_0x332221){return _0x332221();},'AZyyo':function(_0x176bc9,_0x5c10f5,_0x3afc56){return _0x176bc9(_0x5c10f5,_0x3afc56);}},_0xff4457={};_0xff4457[_0x3226b9(0xfa)+_0x3226b9(0xd7)]=_0x4cbc87[_0x3226b9(0x7f)],_0xff4457[_0x3226b9(0xd0)]=_0x21cffb;const _0x4251af={};_0x4251af['baseURL']=_0x31c9da,_0x4251af[_0x3226b9(0x86)]=_0x33af08,_0x4251af[_0x3226b9(0xa7)]=_0xff4457,(this['useAutho'+'rization']=_0x549fcd,this[_0x3226b9(0xeb)+'t']=j__default[_0x3226b9(0x121)][_0x3226b9(0x77)](_0x4251af),this[_0x3226b9(0xeb)+'t'][_0x3226b9(0xf6)+'tors'][_0x3226b9(0x78)][_0x3226b9(0xef)](async _0x2c7cc6=>{const _0x1bc5c8=_0x3226b9,_0xeec07f={};_0xeec07f[_0x1bc5c8(0x122)]=_0x4cbc87[_0x1bc5c8(0xf9)];const _0x16049a=_0xeec07f;if(_0x2c7cc6[_0x1bc5c8(0xa7)][_0x1bc5c8(0xf7)+'t-ID']=crypto[_0x1bc5c8(0xa3)+'ID'](),this[_0x1bc5c8(0xb3)+_0x1bc5c8(0xd8)]){let _0x368e71=_0x175be5[_0x1bc5c8(0xfd)]();if(_0x368e71&&b(_0x368e71))return u[_0x1bc5c8(0xc2)+_0x1bc5c8(0xb6)]||(u[_0x1bc5c8(0xc2)+'cting']=!![],_0x175be5[_0x1bc5c8(0x6d)+_0x1bc5c8(0x11f)](),_0x2be3d3(),_0x4cbc87[_0x1bc5c8(0x81)](setTimeout,()=>{const _0x43e725=_0x1bc5c8;if(_0x16049a[_0x43e725(0x122)]!=='ATuQn'){const _0x1afa2d={};return _0x1afa2d[_0x43e725(0xd9)]='/'+_0x322419+(_0x43e725(0xc7)+'es'),_0x1afa2d[_0x43e725(0xbf)]=_0x158bc7,_0x34d0d5(_0x43e725(0xac)+'customer'+'s',!![])[_0x43e725(0x9a)](_0x1afa2d);}else u[_0x43e725(0xc2)+_0x43e725(0xb6)]=![];},0x36+0x2314+-0x1f62)),Promise[_0x1bc5c8(0xe8)](new Error(_0x4cbc87['eFaRs']));_0x368e71&&(_0x2c7cc6[_0x1bc5c8(0xa7)][_0x1bc5c8(0x114)+_0x1bc5c8(0xcb)]='Bearer\x20'+_0x368e71);}if(_0xcb45dc){let _0x1a7f82=_0x2c7cc6['method']??_0x4cbc87[_0x1bc5c8(0xf5)],_0x597c83=_0x2c7cc6[_0x1bc5c8(0x6b)]??'',_0x3ad436=_0x4cbc87[_0x1bc5c8(0xbc)](U,_0x2c7cc6[_0x1bc5c8(0xba)]),_0x3e08e1=_0x4cbc87['fcFIz'](_0x2c7cc6[_0x1bc5c8(0xbf)],null)?JSON[_0x1bc5c8(0xe7)+'y'](_0x2c7cc6[_0x1bc5c8(0xbf)]):'';_0x2c7cc6[_0x1bc5c8(0xa7)][_0x1bc5c8(0x125)+_0x1bc5c8(0x113)]=await _0x4cbc87[_0x1bc5c8(0xd6)](A,_0xcb45dc,_0x1a7f82,_0x597c83,_0x3ad436,_0x3e08e1);}return _0x2c7cc6;},_0x3de528=>Promise[_0x3226b9(0xe8)](_0x3de528)),this['apiClien'+'t']['intercep'+_0x3226b9(0xdf)][_0x3226b9(0xdb)][_0x3226b9(0xef)](_0x5828ec=>{const _0x153a5c=_0x3226b9;let _0x531d9f=_0x4cbc87[_0x153a5c(0xbc)](String,_0x5828ec[_0x153a5c(0xa7)][_0x4cbc87[_0x153a5c(0x10c)]]??''),_0x27a136=_0x5828ec[_0x153a5c(0x11d)]?.[_0x153a5c(0xdb)+_0x153a5c(0xd7)]??'';if(_0x5828ec[_0x153a5c(0xbf)]&&!G[_0x153a5c(0xfe)](_0x27a136)&&!_0x531d9f[_0x153a5c(0x65)](_0x4cbc87[_0x153a5c(0x7f)]))return Promise[_0x153a5c(0xe8)](new Error('Respuest'+_0x153a5c(0x120)+'rada\x20del'+_0x153a5c(0xbb)+'\x20('+_0x531d9f+(_0x153a5c(0xd2)+_0x153a5c(0xad)+'ication/'+_0x153a5c(0xe1))));let _0x55f2c2=_0x5828ec[_0x153a5c(0xbf)];return _0x55f2c2&&_0x4cbc87[_0x153a5c(0xd4)](typeof _0x55f2c2['success'],_0x153a5c(0x11a))&&_0x4cbc87[_0x153a5c(0x116)](_0x4cbc87[_0x153a5c(0x12a)],_0x55f2c2)&&(_0x5828ec[_0x153a5c(0xbf)]=_0x55f2c2['data']),_0x5828ec;},async _0x15f749=>{const _0x4be55a=_0x3226b9;_0x4cbc87[_0x4be55a(0x10d)](E,_0x15f749);let _0x189fac=_0x15f749[_0x4be55a(0x11d)],_0x25b630=_0x15f749['response']?.[_0x4be55a(0xb1)],_0x32a587=(_0x189fac?.[_0x4be55a(0x128)]??_0x4cbc87['nCYNs'])[_0x4be55a(0x90)+_0x4be55a(0x96)](),_0x4eb0bd=z['has'](_0x32a587)&&(!_0x25b630||_[_0x4be55a(0xfe)](_0x25b630)),_0x45a045=_0x189fac?.[_0x4be55a(0xae)+'unt']??0x3b9+0x35*-0x66+0x1165;if(_0x4cbc87[_0x4be55a(0x9c)](_0x189fac,_0x4eb0bd)&&_0x4cbc87[_0x4be55a(0xed)](_0x45a045,_0x3b9720)){_0x189fac[_0x4be55a(0xae)+_0x4be55a(0x97)]=_0x4cbc87[_0x4be55a(0xda)](_0x45a045,0x264c+-0x130*0x1b+-0x63b);let _0x3bb354=Math[_0x4be55a(0xd3)](-0x1*0x2153+0x1*0x1cc9+0x48c,_0x189fac[_0x4be55a(0xae)+_0x4be55a(0x97)])*(-0xab9+0x13eb+-0x3*0x26a);return await new Promise(_0x3ba6d6=>setTimeout(_0x3ba6d6,_0x3bb354)),this[_0x4be55a(0xeb)+'t'](_0x189fac);}return _0x25b630===j[_0x4be55a(0x107)+_0x4be55a(0xc9)][_0x4be55a(0x82)+_0x4be55a(0x8d)]&&!u[_0x4be55a(0xc2)+_0x4be55a(0xb6)]&&(u['isRedire'+_0x4be55a(0xb6)]=!![],_0x175be5[_0x4be55a(0x6d)+'ken'](),_0x4cbc87[_0x4be55a(0x71)](_0x2be3d3),_0x4cbc87['AZyyo'](setTimeout,()=>{const _0xd5e3b3=_0x4be55a;u[_0xd5e3b3(0xc2)+_0xd5e3b3(0xb6)]=![];},0x23ce+0x9e4+-0x29ca)),Promise[_0x4be55a(0xe8)](_0x15f749);}));}[_0x15ec06(0x11e)+_0x15ec06(0xb7)](_0x1db2dd,_0x2e451b){const _0x333cad=_0x15ec06,_0xd2c650={..._0x1db2dd?.['axiosCon'+'fig']};return _0xd2c650['headers']={..._0x1db2dd?.[_0x333cad(0xb5)+'fig']?.['headers'],..._0x2e451b?.[_0x333cad(0xa7)]},_0xd2c650[_0x333cad(0xba)]=_0x1db2dd?.[_0x333cad(0xba)],_0xd2c650[_0x333cad(0xbf)]=_0x1db2dd?.[_0x333cad(0xbf)],_0xd2c650;}async[_0x15ec06(0x93)](_0x51f10c,_0x330dd6){const _0x384fea=_0x15ec06;return this[_0x384fea(0xeb)+'t'][_0x384fea(0x88)](_0x51f10c?.[_0x384fea(0xd9)]??'',this[_0x384fea(0x11e)+_0x384fea(0xb7)](_0x51f10c,_0x330dd6));}async['POST'](_0x7da5de,_0x3a4a7f){const _0x26ad92=_0x15ec06;let _0x2f0fed=this[_0x26ad92(0x11e)+_0x26ad92(0xb7)](_0x7da5de,_0x3a4a7f);return this[_0x26ad92(0xeb)+'t'][_0x26ad92(0xbe)](_0x7da5de[_0x26ad92(0xd9)]??'',_0x2f0fed['data'],_0x2f0fed);}async[_0x15ec06(0x9a)](_0x1e89bc,_0x2b5315){const _0x104897=_0x15ec06;let _0x26e289=this[_0x104897(0x11e)+_0x104897(0xb7)](_0x1e89bc,_0x2b5315);return this['apiClien'+'t']['put'](_0x1e89bc[_0x104897(0xd9)]??'',_0x26e289[_0x104897(0xbf)],_0x26e289);}async['PATCH'](_0x1e3dc0,_0x35ef6a){const _0x5a6bbb=_0x15ec06;let _0x48923c=this[_0x5a6bbb(0x11e)+_0x5a6bbb(0xb7)](_0x1e3dc0,_0x35ef6a);return this[_0x5a6bbb(0xeb)+'t'][_0x5a6bbb(0x74)](_0x1e3dc0[_0x5a6bbb(0xd9)]??'',_0x48923c['data'],_0x48923c);}async[_0x15ec06(0xb0)](_0x357e4c,_0x208830){const _0x225bfc=_0x15ec06;return this['apiClien'+'t']['delete'](_0x357e4c['path']??'',this[_0x225bfc(0x11e)+_0x225bfc(0xb7)](_0x357e4c,_0x208830));}};u['isRedire'+_0x15ec06(0xb6)]=![];var h=u,w=h,l=new Map();x(()=>l['clear']());function i(_0x100919,_0x2ed1f0){const _0x29f956=_0x15ec06;let _0x1bca4f=_0x100919+'|'+_0x2ed1f0,_0x7f8ad8=l[_0x29f956(0x88)](_0x1bca4f);if(_0x7f8ad8)return _0x7f8ad8;let {baseURL:_0x988ace,clientId:_0x161c14,tokenStorage:_0x271815,timeout:_0x2217b2,signingKey:_0x4036ee,maxRetries:_0x43b5d2,onUnauthorized:_0x382f75}=I(),_0xf7fd5c=new w({'API_URL':''+_0x988ace+_0x100919,'useAuthorization':_0x2ed1f0,'clientId':_0x161c14,'tokenStorage':_0x271815,'timeout':_0x2217b2,'signingKey':_0x4036ee,'maxRetries':_0x43b5d2,'onUnauthorized':_0x382f75});return l[_0x29f956(0x8e)](_0x1bca4f,_0xf7fd5c),_0xf7fd5c;}async function te(){const _0x4a0395=_0x15ec06,_0x455e20={'FbXbg':function(_0x23738c,_0x52d90c,_0x2ee435){return _0x23738c(_0x52d90c,_0x2ee435);}};return _0x455e20[_0x4a0395(0xa2)](i,'/config/'+_0x4a0395(0x110)+'s',!![])['GET']();}async function oe({_id:_0x5a916a}){const _0x5a131e=_0x15ec06,_0x25da21={};return _0x25da21[_0x5a131e(0xd9)]='/'+_0x5a916a,i(_0x5a131e(0xac)+_0x5a131e(0x110)+'s',!![])[_0x5a131e(0x93)](_0x25da21);}async function ne(_0xf8807c){const _0x1d05d3=_0x15ec06,_0x3a1c4b={};return _0x3a1c4b['path']='/',_0x3a1c4b['data']=_0xf8807c,i(_0x1d05d3(0xac)+_0x1d05d3(0x110)+'s',!![])[_0x1d05d3(0xfb)](_0x3a1c4b);}function _0x3330(){const _0x5ce609=['DxnLqxv0Ag8','mtG0otG5mhfAD1fwDW','yxHPB3ndB24','y3rPBMC','B25MAwC','vg9Rzw4GzxG','CMf3','CgfYyw1Z','igDHDgv3yxK','whHODgq','z3jVDxbZ','Cg9ZDa','zgf0yq','zw5JB2rL','l2nYB3bZ','AxnszwrPCMu','C2LNBG','BNvTyMvY','Dg9TzxjZ','Dg9TzxjvC2u','l3zHCMLLDgK','ChfmBMC','DxndB2rL','zgvSzxrL','yxrPB24','mZG5mJq3ALnqwM5j','nuXRu1f3wG','mJfyue1NvNO','tKLozwe','yxv0Aa','DJe6','ks4GrxnWzxi','Cg93','ywz6ANK','C1j4txi','wuDhyuq','vhLWzq','CML6yxrPB24','Cgf0Aa','AvnYtwm','CMvZCg9UC2u','BwvYvMfYAwu','Awv0AwvZ','l3vZzxjZ','Dg9YCW','zgLNzxn0','ANnVBI4','Aw9Ul2PZB24','ywrK','y2GU','BwvYtw9KDwW','AwnHDg9YCW','C3rYAw5NAwy','CMvQzwn0','ndKZnJC3DfLIDvbh','w1jfrefdveu','yxbPq2XPzw4','CgLYywrV','yNnTAuC','CMvWBgfJzq','DxnL','neLPEMfvBG','Dg9TzxjjBMq','EuHrC3C','yxjYyxLIDwy','B2jQzwn0','BKnztNm','Aw50zxjJzxa','wc1szxf1zxm','ChvWswC','EhnWB2u','q29UDgvUDc0','ue9tva','ntzoyMDeD1C','z2v0vg9Rzw4','AgfZ','Dg9Tzxjwyxi','zxHW','shr0CenVBMy','w0bHz3jVC2G','yxrVCNm','DMnRAe4','zMv0y2HdDxm','Dg9vChbLCKm','shr0Cfn0yxq','yxrLq3vZDg8','zg9JDw1LBNq','zNjVBq','Dg9TzxjnB2q','AMLZCgO','BKHVAum','se1bqW','D0LgB3G','y3vZDg9Tzxi','qKTIDhK','DxbZ','DxjL','qxv0Ag9YAxO','Bvr5CgvZ','Au5Usuy','vvfJvMK','y2NdS24GzMv0','Dg9TzxjtAxO','yM9VBgvHBG','ndHiuLj5t0e','DwLLCIbMDw4','y29UzMLN','y29TyMLUzum','A2vU','ysbPBMvZCgu','zgvMyxvSDa','D0jJtwW','l2jSB2nRCW','yxbWBgLJyxq','wc1tAwDUyxq','BwvY','BwvYq3jVChm','Bwv0Ag9K','zw50CMLLCW','AgvUv3m','x19LC01Vzhu','Dg9TzxjdCM8','u0Hblti1nG','Aw5JBhvKzxm','l2LUzgLJyxq','Dgv4Da','sePdvgW','CgfYC2u','Dg9TzxjhCM8','DxjS','C3bSAxq','CMvTB3zLvg8','mJa1mdyZmwPlwwXozW','mty4mdyZA2jkBvDU','AM9PBG','v3vvtgO','v1rfAxK','A1DSB1O','Cgf0y2G','AM1Hzvq','Aw5Ll2fNCY0','y3jLyxrL','CMvXDwvZDa','Chv0','DwXLCW','whnMr2K','yMLgzuK','seroB1m','BM93','A3zlzMq','zMv0y2HvCgq','ugPrywu','vw5HDxrOB3i','EKrjDwO','Aw1WB3j0s2u','l21VzhvSzxm','DgLTzw91Da','odaYotyYEuLmD1zP','z2v0','xsbmBgfTysa','C3rYzwfT','u05zAgi','zfHRDhq','AxPLza','C2v0','C3vIDgXL','Dg9mB3DLCKm','zMv0y2HdCMu','BwvYsw5KAwm','r0vu','yMXVyG','Auf2EKm','yxnL','Dw50','DNnbt1a','Dg9tDhjPBMC','ufvu','l2zHCM0TDhK','wuXyCe8','Dg9TzxjcBg8','mty2nJu1mMLkzfj1yq','AxbpCeG','Dg9TzxjcEuK','Dg9Tzxjgyxi','rMjyyMC','CMfUzg9Tvvu','zMvY','lhy9','B3jZ','AgvHzgvYCW','y05Vs2q','AwCOksbHBNq','r2DpAgK','Dej5C00','l2nVBMzPzY8','ywjHigfWCgW','x3jLDhj5q28','BwfW','revmrvrf','C3rHDhvZ','AMjADMW'];_0x3330=function(){return _0x5ce609;};return _0x3330();}function _0x37b9(_0x5f12b5,_0x5d1c63){_0x5f12b5=_0x5f12b5-(0x3*-0xbc5+-0x3*0x124+0x1*0x271f);const _0x53538b=_0x3330();let _0x1212ed=_0x53538b[_0x5f12b5];if(_0x37b9['YNYElV']===undefined){var _0x302ee8=function(_0x1aa30d){const _0x18c914='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x18fb15='',_0x5b1699='';for(let _0x2e07f6=-0xc*0x2dd+0x11*0x17f+0x8ed,_0x187fb8,_0x43cc95,_0x38ce7f=-0x1989+-0x14b*-0x12+0x243;_0x43cc95=_0x1aa30d['charAt'](_0x38ce7f++);~_0x43cc95&&(_0x187fb8=_0x2e07f6%(0x1612+-0x47*-0x7f+0x155*-0x2b)?_0x187fb8*(-0x1240+-0x1a30+-0x1a*-0x1b8)+_0x43cc95:_0x43cc95,_0x2e07f6++%(0x878+0x376*0x3+-0x12d6))?_0x18fb15+=String['fromCharCode'](0x199+-0x6ae*0x2+0xcc2&_0x187fb8>>(-(0x20d2*-0x1+-0x649*-0x2+0xa21*0x2)*_0x2e07f6&-0x1bd5+0x1*0xd46+0xe95)):0x1087*-0x2+-0xa*0xc7+0x3*0xd9c){_0x43cc95=_0x18c914['indexOf'](_0x43cc95);}for(let _0x1edfcc=0x26c+0x2af+0x1*-0x51b,_0x13e0f2=_0x18fb15['length'];_0x1edfcc<_0x13e0f2;_0x1edfcc++){_0x5b1699+='%'+('00'+_0x18fb15['charCodeAt'](_0x1edfcc)['toString'](0x20d1+-0x1213+0x1*-0xeae))['slice'](-(-0x1*0x2636+0x110a+0x152e));}return decodeURIComponent(_0x5b1699);};_0x37b9['lncKHC']=_0x302ee8,_0x37b9['zoxBjY']={},_0x37b9['YNYElV']=!![];}const _0x5c9479=_0x53538b[0x899*-0x1+0x56a+0x32f*0x1],_0x46886f=_0x5f12b5+_0x5c9479,_0x7edb6=_0x37b9['zoxBjY'][_0x46886f];return!_0x7edb6?(_0x1212ed=_0x37b9['lncKHC'](_0x1212ed),_0x37b9['zoxBjY'][_0x46886f]=_0x1212ed):_0x1212ed=_0x7edb6,_0x1212ed;}async function re({_id:_0x31e8c3,data:_0x501686}){const _0x52672b=_0x15ec06,_0xff5949={'cNoKd':function(_0xf825b2,_0x594a82,_0x17a45d){return _0xf825b2(_0x594a82,_0x17a45d);}},_0xadc1c0={};return _0xadc1c0[_0x52672b(0xd9)]='/'+_0x31e8c3,_0xadc1c0['data']=_0x501686,_0xff5949[_0x52672b(0xa8)](i,'/config/'+_0x52672b(0x110)+'s',!![])[_0x52672b(0x9a)](_0xadc1c0);}async function se(){const _0x27ab56=_0x15ec06,_0x574994={};_0x574994[_0x27ab56(0xcf)]=_0x27ab56(0xac)+_0x27ab56(0x110)+'s';const _0xefd184=_0x574994,_0x581b58={};return _0x581b58[_0x27ab56(0xd9)]=_0x27ab56(0x9b)+'pe',i(_0xefd184['NINea'],!![])[_0x27ab56(0x93)](_0x581b58);}async function ie(){const _0x4ae45d=_0x15ec06,_0x6cfed6={'HAShE':function(_0x33c9fb,_0x494fb4,_0x2e813c){return _0x33c9fb(_0x494fb4,_0x2e813c);},'HJCTl':_0x4ae45d(0xac)+_0x4ae45d(0x110)+'s','GgOhi':'/size'};return _0x6cfed6['HAShE'](i,_0x6cfed6[_0x4ae45d(0x68)],!![])[_0x4ae45d(0x93)]({'path':_0x6cfed6[_0x4ae45d(0xaa)]});}async function ae({id:_0x5859d3}){const _0x3cde49=_0x15ec06,_0x201430={'rvvHJ':function(_0x29c6d5,_0x4c1776,_0x5cce8e){return _0x29c6d5(_0x4c1776,_0x5cce8e);}},_0x3b910c={};return _0x3b910c[_0x3cde49(0xd9)]='/'+_0x5859d3+_0x3cde49(0xc1),_0x201430['rvvHJ'](i,_0x3cde49(0xac)+_0x3cde49(0x110)+'s',!![])[_0x3cde49(0x93)](_0x3b910c);}async function ue({id:_0x465fd7,data:_0x229403}){const _0x5c4271=_0x15ec06,_0x17c6fb={};_0x17c6fb[_0x5c4271(0xc8)]=_0x5c4271(0xac)+_0x5c4271(0x110)+'s';const _0x456648=_0x17c6fb,_0x37819a={};return _0x37819a['path']='/'+_0x465fd7+'/crops',_0x37819a[_0x5c4271(0xbf)]=_0x229403,i(_0x456648['pqLng'],!![])[_0x5c4271(0x9a)](_0x37819a);}async function ce({id:_0x27dd70}){const _0x4714d2=_0x15ec06,_0x21023={'aZfzF':function(_0x236c88,_0x2ea0dc,_0x314a08){return _0x236c88(_0x2ea0dc,_0x314a08);}},_0x1d11de={};return _0x1d11de[_0x4714d2(0xd9)]='/'+_0x27dd70+(_0x4714d2(0xc7)+'es'),_0x21023['aZfzF'](i,_0x4714d2(0xac)+'customer'+'s',!![])[_0x4714d2(0x93)](_0x1d11de);}async function pe({id:_0x43c6d2,data:_0xf2dfe2}){const _0x4c05eb=_0x15ec06,_0x2f72ab={};return _0x2f72ab[_0x4c05eb(0xd9)]='/'+_0x43c6d2+('/varieti'+'es'),_0x2f72ab[_0x4c05eb(0xbf)]=_0xf2dfe2,i(_0x4c05eb(0xac)+_0x4c05eb(0x110)+'s',!![])[_0x4c05eb(0x9a)](_0x2f72ab);}async function fe({id:_0x33e825}){const _0x1c8f18=_0x15ec06,_0x30b6e8={'yHQsw':function(_0x36f03a,_0x318543,_0x4eff25){return _0x36f03a(_0x318543,_0x4eff25);},'wIFox':_0x1c8f18(0xac)+'customer'+'s'},_0x588610={};return _0x588610[_0x1c8f18(0xd9)]='/'+_0x33e825+('/indicat'+_0x1c8f18(0xa6)),_0x30b6e8[_0x1c8f18(0xf2)](i,_0x30b6e8[_0x1c8f18(0x10f)],!![])[_0x1c8f18(0x93)](_0x588610);}async function de({id:_0xb68a54,data:_0x2f1559}){const _0x246b7d=_0x15ec06,_0x26b4b7={};_0x26b4b7[_0x246b7d(0x9f)]='/config/'+_0x246b7d(0x110)+'s';const _0x4225b4=_0x26b4b7,_0x26e159={};return _0x26e159[_0x246b7d(0xd9)]='/'+_0xb68a54+(_0x246b7d(0x66)+_0x246b7d(0xa6)),_0x26e159[_0x246b7d(0xbf)]=_0x2f1559,i(_0x4225b4[_0x246b7d(0x9f)],!![])[_0x246b7d(0x9a)](_0x26e159);}async function ge(){const _0xcd7df3=_0x15ec06,_0x353754={'HDNoS':function(_0x2c94a7,_0x4a1cca,_0xcfe5a7){return _0x2c94a7(_0x4a1cca,_0xcfe5a7);}};return _0x353754[_0xcd7df3(0x7d)](i,_0xcd7df3(0xac)+_0xcd7df3(0xbd),!![])[_0xcd7df3(0x93)]();}async function me({id:_0x4aae73}){const _0x85ba66=_0x15ec06,_0x13e5d2={'jbZvl':function(_0x5c7b34,_0x77928f,_0x5347ff){return _0x5c7b34(_0x77928f,_0x5347ff);}},_0x462a78={};return _0x462a78[_0x85ba66(0xd9)]='/'+_0x4aae73+_0x85ba66(0x123),_0x13e5d2[_0x85ba66(0xb2)](i,_0x85ba66(0xac)+_0x85ba66(0x110)+'s',!![])[_0x85ba66(0x93)](_0x462a78);}async function Ce({id:_0x328b70}){const _0x536732=_0x15ec06,_0x555805={'pupIg':function(_0x14f245,_0x149b9a,_0x303bc7){return _0x14f245(_0x149b9a,_0x303bc7);},'NURjr':_0x536732(0xac)+_0x536732(0x110)+'s'},_0x275ee9={};return _0x275ee9[_0x536732(0xd9)]='/'+_0x328b70+'/modules',_0x555805[_0x536732(0xf8)](i,_0x555805['NURjr'],!![])[_0x536732(0x93)](_0x275ee9);}async function he({id:_0x431008,data:_0x280abe}){const _0x359604=_0x15ec06,_0x385909={'XsfGi':function(_0x5ae976,_0x2a7a08,_0x582fe8){return _0x5ae976(_0x2a7a08,_0x582fe8);},'BKbty':_0x359604(0xac)+_0x359604(0x110)+'s'},_0x480e19={};return _0x480e19['path']='/'+_0x431008+_0x359604(0x85),_0x480e19['data']=_0x280abe,_0x385909[_0x359604(0x7b)](i,_0x385909[_0x359604(0x111)],!![])[_0x359604(0x9a)](_0x480e19);}async function le({id:_0xf1aa1a}){const _0x2a510f=_0x15ec06,_0x5b8ad9={'dXktt':function(_0x4dadb5,_0x572c34,_0x354458){return _0x4dadb5(_0x572c34,_0x354458);},'UQcVi':_0x2a510f(0xac)+_0x2a510f(0x110)+'s'},_0xeeec5d={};return _0xeeec5d[_0x2a510f(0xd9)]='/'+_0xf1aa1a+_0x2a510f(0xde),_0x5b8ad9[_0x2a510f(0x8c)](i,_0x5b8ad9[_0x2a510f(0x117)],!![])[_0x2a510f(0x93)](_0xeeec5d);}async function ye({id:_0x4c7591,data:_0x17b9b4}){const _0x319c4f=_0x15ec06,_0x5d6981={};return _0x5d6981[_0x319c4f(0xd9)]='/'+_0x4c7591+_0x319c4f(0xde),_0x5d6981[_0x319c4f(0xbf)]=_0x17b9b4,i(_0x319c4f(0xac)+_0x319c4f(0x110)+'s',!![])['PUT'](_0x5d6981);}exports[_0x15ec06(0x91)+_0x15ec06(0x108)+_0x15ec06(0x126)]=ne,exports[_0x15ec06(0x105)+_0x15ec06(0x9d)+'cks']=me,exports['fetchCus'+_0x15ec06(0xa0)+'d']=oe,exports['fetchCus'+_0x15ec06(0x12c)+'ps']=ae,exports[_0x15ec06(0x105)+_0x15ec06(0xa1)+_0x15ec06(0x115)]=se,exports['fetchCus'+_0x15ec06(0x6a)+_0x15ec06(0x112)]=ge,exports[_0x15ec06(0x105)+_0x15ec06(0xf1)+_0x15ec06(0xe6)]=fe,exports['fetchCus'+_0x15ec06(0x10b)+_0x15ec06(0x7a)]=Ce,exports[_0x15ec06(0x105)+_0x15ec06(0x119)+'es']=ie,exports[_0x15ec06(0x105)+_0x15ec06(0xc6)+'rs']=le,exports[_0x15ec06(0x105)+_0x15ec06(0xff)+_0x15ec06(0xdd)]=ce,exports['fetchCus'+_0x15ec06(0xc5)]=te,exports['fetchUpd'+_0x15ec06(0x108)+_0x15ec06(0x126)]=re,exports[_0x15ec06(0x80)+_0x15ec06(0x108)+_0x15ec06(0x127)]=ue,exports[_0x15ec06(0x80)+'ateCusto'+_0x15ec06(0x92)+_0x15ec06(0x103)]=de,exports[_0x15ec06(0x80)+_0x15ec06(0x108)+_0x15ec06(0xe5)+'es']=he,exports[_0x15ec06(0x80)+_0x15ec06(0x108)+'merUsers']=ye,exports[_0x15ec06(0x80)+_0x15ec06(0x108)+_0x15ec06(0xdc)+'ties']=pe;
|
|
1
|
+
'use strict';const _0x254aee=_0x5827;(function(_0x3f0e98,_0x437c54){const _0x51b0ca=_0x5827,_0x5af77d=_0x3f0e98();while(!![]){try{const _0x5663ef=-parseInt(_0x51b0ca(0x1e6))/(0x10d4*-0x1+-0x1073*0x1+0x2148)*(-parseInt(_0x51b0ca(0x1ea))/(0xba8*0x3+0x1bf8*0x1+-0x3eee))+parseInt(_0x51b0ca(0x20f))/(0x42*-0x1f+-0x4b*-0x14+-0x225*-0x1)*(parseInt(_0x51b0ca(0x291))/(-0x1cb7+-0x1*-0xbbc+-0x10ff*-0x1))+parseInt(_0x51b0ca(0x272))/(-0xcea+0x13a1+-0x1*0x6b2)+-parseInt(_0x51b0ca(0x285))/(0x10f7*0x2+-0xcad+-0x153b)*(parseInt(_0x51b0ca(0x248))/(-0x53*0x73+0xa*-0x17d+-0x312*-0x11))+-parseInt(_0x51b0ca(0x203))/(-0x5*0x31f+0x71*-0x3d+0x2a90)+-parseInt(_0x51b0ca(0x29a))/(0x7b5*-0x5+-0x223a+0x48cc)*(parseInt(_0x51b0ca(0x273))/(-0x43*-0x2c+0x57d*-0x2+0x40*-0x2))+parseInt(_0x51b0ca(0x201))/(-0x1a38+-0x1*0xa3b+0x247e)*(-parseInt(_0x51b0ca(0x28b))/(0x1e56+0x553+0x3f5*-0x9));if(_0x5663ef===_0x437c54)break;else _0x5af77d['push'](_0x5af77d['shift']());}catch(_0x525011){_0x5af77d['push'](_0x5af77d['shift']());}}}(_0x2e87,-0x5*0xdc5a+-0x51231+-0xf138e*-0x1));var j=require(_0x254aee(0x254));function _interopDefault(_0x466c23){const _0x43d3ad=_0x254aee;return _0x466c23&&_0x466c23[_0x43d3ad(0x27d)+'le']?_0x466c23:{'default':_0x466c23};}var j__default=_interopDefault(j),$=new Set();function I(_0x25bdaa){const _0x219eae=_0x254aee;$[_0x219eae(0x26d)](_0x25bdaa);}function T(){const _0x5b9d9c=_0x254aee,_0x2fa414={};_0x2fa414[_0x5b9d9c(0x228)]=_0x5b9d9c(0x253)+_0x5b9d9c(0x2a0)+'web-http'+_0x5b9d9c(0x24b)+_0x5b9d9c(0x220)+'HttpConf'+_0x5b9d9c(0x1f7)+'es\x20de\x20us'+'ar\x20cualq'+_0x5b9d9c(0x262)+'ción\x20fet'+_0x5b9d9c(0x2a1);const _0x4645d6=_0x2fa414;throw new Error(_0x4645d6[_0x5b9d9c(0x228)]);}function b(_0x366115){const _0x1938b8=_0x254aee,_0x4d7e00={};_0x4d7e00['DdDjd']=function(_0x38e351,_0x3fefb1){return _0x38e351===_0x3fefb1;},_0x4d7e00[_0x1938b8(0x209)]=_0x1938b8(0x23a),_0x4d7e00[_0x1938b8(0x279)]='FeBtp',_0x4d7e00[_0x1938b8(0x226)]='number',_0x4d7e00[_0x1938b8(0x205)]=function(_0x297dfa,_0x15af56){return _0x297dfa<_0x15af56;},_0x4d7e00['LWPia']=function(_0x130cc5,_0x38f166){return _0x130cc5*_0x38f166;};const _0x2057f4=_0x4d7e00;try{if(_0x2057f4[_0x1938b8(0x233)](_0x2057f4[_0x1938b8(0x209)],_0x2057f4[_0x1938b8(0x279)]))_0x3e3ef8[_0x1938b8(0x26d)](_0xc201bc);else{let _0x19bb43=_0x366115[_0x1938b8(0x261)]('.')[0xf7d*-0x1+0x159+0xe25]['replace'](/-/g,'+')[_0x1938b8(0x276)](/_/g,'/'),_0xf8b4e8=JSON[_0x1938b8(0x1f4)](atob(_0x19bb43));return typeof _0xf8b4e8[_0x1938b8(0x1f5)]==_0x2057f4[_0x1938b8(0x226)]&&_0x2057f4[_0x1938b8(0x205)](_0x2057f4['LWPia'](_0xf8b4e8['exp'],0x1a30+0x107f+-0x3*0xced),Date[_0x1938b8(0x25b)]());}}catch{return![];}}function U(_0x489c08){const _0x44dfbc=_0x254aee;return Array[_0x44dfbc(0x25f)](new Uint8Array(_0x489c08))[_0x44dfbc(0x22a)](_0x206b54=>_0x206b54[_0x44dfbc(0x1fe)](0x12*-0x1b1+-0x99*0x3d+-0x4f*-0xd9)[_0x44dfbc(0x240)](-0xa*-0x265+0x134e+0x2*-0x159f,'0'))[_0x44dfbc(0x283)]('');}function _0x2e87(){const _0xcdd4e4=['CMvQzwn0','Dg9TzxjdCM8','Dg9Tzxjgyxi','zgLNzxn0','r0vu','mte0mdiWng1tuLn5Aa','ywjHigfWCgW','qMjKv3G','Bvr5CgvZ','C3vJy2vZCW','AwnHDgLVBI8','nhfTAuLpuq','zMLSDgvY','qvzXzLu','A2vU','DxjS','qxv0Ag9YAxO','rvHvD2O','Dg9TzxjcEuK','t1DXCeq','nJaZA052AMfS','CMfKysbKzwW','AxPLza','BxrdBum','zw50CMLLCW','AgfZ','Aw5Ll2fNCY0','y2GU','B2jQzwn0','Agjcruu','ruv6shy','Evb1s1y','y29TyMLUzum','AgvHza','Cgf0Aa','y016Aha','l3vZzxjZ','uMTnsM0','s1LSy2K','C3rYAw5NAwy','Dg9mB3DLCKm','y2TZ','l3nPEMu','C3rHDhvZ','nZCWotr5q2j4q1G','vhfwzum','Aw9Ul2PZB24','l2nVBMzPzY8','mtzND01XAxK','svfABKi','yxrPB24','C3zqq1K','x3jLDhj5q28','rxHHwfm','sxDntwW','zMLN','zgf0yq','Awv0AwvZ','CgfYC2u','zxHW','Aw50zxjJzxa','AwCOksbHBNq','qwXls1G','BwvY','CMvXDwvZDa','zfD6tMC','yxv0Aa','Dw50','Dg9tDhjPBMC','wMHTDgq','y3rPBMC','ntvTtK5vzvC','yxrLq3vZDg8','mtu4odG0ofLuue5jBq','C2LNBG','DxzKEfK','lhy9','Dg9YCW','zg9JDw1LBNq','CenSA2u','CMvZCg9UC2u','vhLWzq','Cg9ZDa','B25MAwC','BwvYq3jVChm','odi0mta2CNnewg9s','Dg9TzxjnB2q','l2LUzgLJyxq','igDHDgv3yxK','zMv0y2HdDxm','zNPbsfy','zw5JB2rL','Dg9TzxjhCM8','Bwv0Ag9K','vw5HDxrOB3i','EeL1txO','BMfTzq','rMjAquq','zNvfDxu','yxbPq2XPzw4','AgvHzgvYCW','z3jVDxbZ','ysbJCMvHDgu','DxjL','zMv0y2HvCgq','C29YDa','z2v0','CgfYyw1Z','ELznz0K','ks4GrxnWzxi','BgHVz3a','vMzur3G','BwfW','zMXVB3i','Cg93','se1bqW','DgLLCW','DxndB2rL','zgvMyxvSDa','y3vZDg9Tzxi','DgnyyMO','rgreAMq','wvvOAwu','tuPjveO','yMXVyG','qKPrBLG','yxHPB3ndB24','C3rYzwfT','EuPQuxG','DxnL','sg1JtLK','EeXKzvu','uefuq0G','zgvSzxrL','CgfKu3rHCNq','Chv0','DgLTzw91Da','v0fPBK4','qLHVuKC','CMf3','ywjmu1y','ufvu','mte5nJnXBurlwKC','ue9tva','CgLYywrV','xsbmBgfTysa','Aw1WB3j0s2u','zunxs0u','ysbPBMvZCgu','y29UzMLN','qxHeCKi','wc1tAwDUyxq','CvDnsxK','w0bHz3jVC2G','yxHPB3m','rKXXzNK','BwvYvMfYAwu','revmrvrf','zM9MqKS','B3jZ','AwnHDg9YCW','BM93','l2jSB2nRCW','AxnszwrPCMu','l21VzhvSzxm','zNjVBq','AgfZAa','C3bSAxq','DwLLCIbMDw4','u0Hblti1nG','zLbkBuO','yxbWBgLJyxq','wc1szxf1zxm','yxnL','yxrVCNm','Dg9TzxjvC2u','DxnLqxv0Ag8','B3b0Aw9UCW','BwvYtw9KDwW','ywrK','zeDxsxG','y29UDgvUDc0','CuzPr2q','Dg9TzxjtAxO','mti4odmXmhnrEK15Aq','mty3mgnLrfHKDa','yM9VBgvHBG','zMvY','CMvWBgfJzq','uKL6v0q','Cgf0y2G','ugXzwLe','ve9lq1G','q29UDgvUDc0','DJe6','x19LC01Vzhu','DxbZ','vg9Rzw4GzxG','Dg9TzxjcBg8','BwvYvxnLCNm','l3zHCMLLDgK','AM9PBG','qMvHCMvYia','mZe4v3LJEunO'];_0x2e87=function(){return _0xcdd4e4;};return _0x2e87();}async function H(_0x58f635){const _0x22293d=_0x254aee,_0x1fb92d={'eCWKE':function(_0x35372b,_0x9293a){return _0x35372b(_0x9293a);}};let _0x314b5c=await crypto['subtle'][_0x22293d(0x289)](_0x22293d(0x263),new TextEncoder()[_0x22293d(0x215)](_0x58f635));return _0x1fb92d[_0x22293d(0x24d)](U,_0x314b5c);}function S(_0x8c68e1){const _0x1a2ccc=_0x254aee,_0x3a8e68={};_0x3a8e68[_0x1a2ccc(0x234)]=function(_0x551449,_0x4185b4){return _0x551449!=_0x4185b4;},_0x3a8e68[_0x1a2ccc(0x27a)]=_0x1a2ccc(0x2a2);const _0x51b1a5=_0x3a8e68;return!_0x8c68e1||_0x51b1a5[_0x1a2ccc(0x234)](typeof _0x8c68e1,_0x51b1a5['TOKCX'])?'':Object[_0x1a2ccc(0x29e)](_0x8c68e1)[_0x1a2ccc(0x292)](([,_0x507c9e])=>_0x507c9e!=null)[_0x1a2ccc(0x223)](([_0x5e5f3c],[_0x1bc8ba])=>_0x5e5f3c<_0x1bc8ba?-(-0x11e4*-0x1+-0x1*-0x1055+-0x2238):_0x5e5f3c>_0x1bc8ba?0x14e*0x6+0x1*-0x2062+0x188f:0x1720+0x1adf+-0x31ff)[_0x1a2ccc(0x22a)](([_0x535545,_0x269093])=>encodeURIComponent(_0x535545)+'='+encodeURIComponent(String(_0x269093)))['join']('&');}async function A(_0x4bb68e,_0xfb384b,_0x5161b9,_0x1eb851='',_0x538104=''){const _0x40b40e=_0x254aee,_0x1bc17a={'EXUwj':function(_0x46b00a,_0x35505b){return _0x46b00a(_0x35505b);},'xIuMz':'HMAC'},_0x115c0e={};_0x115c0e[_0x40b40e(0x21a)]=_0x40b40e(0x22d),_0x115c0e[_0x40b40e(0x260)]=_0x40b40e(0x263);let _0x19276e=Math[_0x40b40e(0x22b)](Date[_0x40b40e(0x25b)]()/(0x1aa5+-0x3*-0x92f+-0x324a))['toString'](),_0x31c4e3=await _0x1bc17a[_0x40b40e(0x297)](H,_0x538104),_0x6fe231=_0x40b40e(0x27c)+_0x19276e+':'+_0xfb384b['toUpperC'+_0x40b40e(0x267)]()+':'+_0x5161b9+':'+_0x1eb851+':'+_0x31c4e3,_0x29d0c4=new TextEncoder(),_0x35cd9c=await crypto['subtle'][_0x40b40e(0x24c)+'y'](_0x40b40e(0x245),_0x29d0c4['encode'](_0x4bb68e),_0x115c0e,![],[_0x40b40e(0x204)]),_0x1448aa=await crypto['subtle'][_0x40b40e(0x204)](_0x1bc17a[_0x40b40e(0x219)],_0x35cd9c,_0x29d0c4[_0x40b40e(0x215)](_0x6fe231));return't='+_0x19276e+_0x40b40e(0x206)+_0x1bc17a[_0x40b40e(0x297)](U,_0x1448aa);}var q=[_0x254aee(0x296)+'ation',_0x254aee(0x251)+_0x254aee(0x221)];function E(_0x557075){const _0x51b53e=_0x254aee,_0x22e1ef={};_0x22e1ef[_0x51b53e(0x1f0)]='object',_0x22e1ef[_0x51b53e(0x277)]='[REDACTE'+'D]';const _0x184265=_0x22e1ef;if(!_0x557075||typeof _0x557075!=_0x184265[_0x51b53e(0x1f0)])return;let _0x32fae2=_0x557075;for(let _0xd39422 of[_0x32fae2[_0x51b53e(0x24f)]?.[_0x51b53e(0x21e)],_0x32fae2[_0x51b53e(0x1fa)]?.[_0x51b53e(0x21e)]])if(_0xd39422){for(let _0x55b68c of q)_0xd39422[_0x55b68c]&&(_0xd39422[_0x55b68c]=_0x184265[_0x51b53e(0x277)]);}}var _=new Set([-0x2313+0x1c4*0x7+-0x1*-0x184f,-0x267c*-0x1+-0xab*0x15+-0x16c8,-0x1a39+-0x34+0xa9*0x2b,-0x1206+0x2e*0x3b+-0x963*-0x1,-0xc34+-0x2*-0x191+-0x3ae*-0x3]),z=new Set([_0x254aee(0x224),_0x254aee(0x1db),_0x254aee(0x26b),_0x254aee(0x241),_0x254aee(0x23f)]),G=new Set([_0x254aee(0x236),'arraybuf'+_0x254aee(0x275),_0x254aee(0x239),_0x254aee(0x208),'text']),c=class c{constructor({API_URL:_0x18a1b1,useAuthorization:_0x4f58d0,clientId:_0x48b8c1,tokenStorage:_0x48f4a6,timeout:_0x384c70,signingKey:_0x18e772,maxRetries:_0x37e4d5,onUnauthorized:_0x441d7e}){const _0x33949e=_0x254aee,_0x5d1c24={'TqVeC':function(_0x50039c,_0x3185a2){return _0x50039c(_0x3185a2);},'RkMJm':function(_0x3685ba){return _0x3685ba();},'nmHBu':_0x33949e(0x27f)+_0x33949e(0x24a),'fPJmJ':_0x33949e(0x224),'dWzNg':function(_0x2c8df4,_0x496270){return _0x2c8df4(_0x496270);},'fzAHV':function(_0x518f7d,_0x4d254b){return _0x518f7d!=_0x4d254b;},'ExaXS':'X-Signat'+_0x33949e(0x221),'AxDrB':_0x33949e(0x26f)+'type','fofBK':_0x33949e(0x265)+_0x33949e(0x1e8),'HmcNY':function(_0xcf02c2,_0x165d74){return _0xcf02c2==_0x165d74;},'RNkPo':_0x33949e(0x274),'yPuKV':_0x33949e(0x1f2),'IbMCq':function(_0x2fb5c0,_0x3ad8e7){return _0x2fb5c0(_0x3ad8e7);},'VfTGx':function(_0x4b61d2,_0x33f922){return _0x4b61d2*_0x33f922;},'svPCY':function(_0x2742fc,_0x3b24d0){return _0x2742fc===_0x3b24d0;},'dGWIx':function(_0x46da5e,_0xa68e05,_0x14587e){return _0x46da5e(_0xa68e05,_0x14587e);}},_0x5cbfa={};_0x5cbfa[_0x33949e(0x27b)+_0x33949e(0x20b)]=_0x33949e(0x265)+_0x33949e(0x1e8),_0x5cbfa[_0x33949e(0x1fc)]=_0x48b8c1;const _0x3c0b6d={};_0x3c0b6d['baseURL']=_0x18a1b1,_0x3c0b6d[_0x33949e(0x242)]=_0x384c70,_0x3c0b6d['headers']=_0x5cbfa,(this[_0x33949e(0x26a)+'rization']=_0x4f58d0,this[_0x33949e(0x21d)+'t']=j__default[_0x33949e(0x230)]['create'](_0x3c0b6d),this['apiClien'+'t'][_0x33949e(0x1f6)+'tors'][_0x33949e(0x1fa)]['use'](async _0x4b4924=>{const _0x4db846=_0x33949e;if(_0x4b4924[_0x4db846(0x21e)][_0x4db846(0x266)+'t-ID']=crypto['randomUU'+'ID'](),this[_0x4db846(0x26a)+'rization']){let _0x283e7c=_0x48f4a6['getToken']();if(_0x283e7c&&_0x5d1c24[_0x4db846(0x1e7)](b,_0x283e7c))return c[_0x4db846(0x25d)+'cting']||(c['isRedire'+_0x4db846(0x200)]=!![],_0x48f4a6['removeTo'+'ken'](),_0x5d1c24[_0x4db846(0x1df)](_0x441d7e),setTimeout(()=>{const _0x4f1727=_0x4db846;if(_0x4f1727(0x1ff)===_0x4f1727(0x235))return _0x11ebe8['from'](new _0x1f2116(_0x4bf7a7))[_0x4f1727(0x22a)](_0x2457ab=>_0x2457ab[_0x4f1727(0x1fe)](0x1930+-0x4e5*0x7+0x923*0x1)[_0x4f1727(0x240)](0x22d*-0x1+-0xfc1+-0x290*-0x7,'0'))[_0x4f1727(0x283)]('');else c['isRedire'+_0x4f1727(0x200)]=![];},-0x1a9+0x2d7*-0xb+-0x24ce*-0x1)),Promise[_0x4db846(0x286)](new Error(_0x5d1c24['nmHBu']));_0x283e7c&&(_0x4b4924['headers'][_0x4db846(0x296)+_0x4db846(0x1ec)]=_0x4db846(0x284)+_0x283e7c);}if(_0x18e772){let _0x3d5ef7=_0x4b4924['method']??_0x5d1c24[_0x4db846(0x264)],_0x20b23b=_0x4b4924[_0x4db846(0x295)]??'',_0x40550c=_0x5d1c24[_0x4db846(0x1fb)](S,_0x4b4924[_0x4db846(0x225)]),_0x5c5479=_0x5d1c24[_0x4db846(0x214)](_0x4b4924[_0x4db846(0x1f2)],null)?JSON[_0x4db846(0x1e1)+'y'](_0x4b4924[_0x4db846(0x1f2)]):'';_0x4b4924[_0x4db846(0x21e)][_0x5d1c24[_0x4db846(0x1ef)]]=await A(_0x18e772,_0x3d5ef7,_0x20b23b,_0x40550c,_0x5c5479);}return _0x4b4924;},_0x1bcb65=>Promise[_0x33949e(0x286)](_0x1bcb65)),this[_0x33949e(0x21d)+'t'][_0x33949e(0x1f6)+_0x33949e(0x207)]['response'][_0x33949e(0x23b)](_0x8e02f=>{const _0x1cb16c=_0x33949e;let _0xc68da2=String(_0x8e02f['headers'][_0x5d1c24[_0x1cb16c(0x250)]]??''),_0x5ce141=_0x8e02f[_0x1cb16c(0x24f)]?.[_0x1cb16c(0x20a)+_0x1cb16c(0x20b)]??'';if(_0x8e02f[_0x1cb16c(0x1f2)]&&!G[_0x1cb16c(0x29f)](_0x5ce141)&&!_0xc68da2['includes'](_0x5d1c24[_0x1cb16c(0x258)]))return Promise[_0x1cb16c(0x286)](new Error('Respuest'+_0x1cb16c(0x24e)+_0x1cb16c(0x29b)+_0x1cb16c(0x212)+'\x20('+_0xc68da2+(_0x1cb16c(0x227)+_0x1cb16c(0x28c)+_0x1cb16c(0x290)+'json.')));let _0x463ce5=_0x8e02f[_0x1cb16c(0x1f2)];return _0x463ce5&&_0x5d1c24[_0x1cb16c(0x23c)](typeof _0x463ce5[_0x1cb16c(0x28f)],_0x5d1c24['RNkPo'])&&_0x5d1c24[_0x1cb16c(0x1d9)]in _0x463ce5&&(_0x8e02f['data']=_0x463ce5[_0x1cb16c(0x1f2)]),_0x8e02f;},async _0x442d0b=>{const _0x5a6cb2=_0x33949e;_0x5d1c24['IbMCq'](E,_0x442d0b);let _0xcb6419=_0x442d0b[_0x5a6cb2(0x24f)],_0x35ecef=_0x442d0b[_0x5a6cb2(0x20a)]?.[_0x5a6cb2(0x1e5)],_0x34dda9=(_0xcb6419?.[_0x5a6cb2(0x217)]??_0x5a6cb2(0x224))[_0x5a6cb2(0x1e2)+'ase'](),_0x40fb43=z[_0x5a6cb2(0x29f)](_0x34dda9)&&(!_0x35ecef||_[_0x5a6cb2(0x29f)](_0x35ecef)),_0xe6c463=_0xcb6419?.['_retryCo'+_0x5a6cb2(0x1fd)]??0x14d4+0x760+-0x1c34;if(_0xcb6419&&_0x40fb43&&_0xe6c463<_0x37e4d5){_0xcb6419[_0x5a6cb2(0x1ee)+_0x5a6cb2(0x1fd)]=_0xe6c463+(0xf49+-0x8*-0x67+0x40*-0x4a);let _0x533672=_0x5d1c24[_0x5a6cb2(0x229)](Math[_0x5a6cb2(0x22c)](-0x1ef4+0x9f7*-0x1+0x1*0x28ed,_0xcb6419[_0x5a6cb2(0x1ee)+_0x5a6cb2(0x1fd)]),0x5db*-0x3+-0x46d*0x2+0x1c5f);return await new Promise(_0x12386e=>setTimeout(_0x12386e,_0x533672)),this[_0x5a6cb2(0x21d)+'t'](_0xcb6419);}return _0x5d1c24[_0x5a6cb2(0x1ed)](_0x35ecef,j['HttpStat'+_0x5a6cb2(0x22f)][_0x5a6cb2(0x218)+_0x5a6cb2(0x29c)])&&!c[_0x5a6cb2(0x25d)+_0x5a6cb2(0x200)]&&(c[_0x5a6cb2(0x25d)+_0x5a6cb2(0x200)]=!![],_0x48f4a6['removeTo'+_0x5a6cb2(0x294)](),_0x441d7e(),_0x5d1c24[_0x5a6cb2(0x26e)](setTimeout,()=>{const _0x17eeac=_0x5a6cb2;c[_0x17eeac(0x25d)+_0x17eeac(0x200)]=![];},-0x102f+-0x2e*-0x31+-0x3c3*-0x3)),Promise[_0x5a6cb2(0x286)](_0x442d0b);}));}[_0x254aee(0x1da)+_0x254aee(0x20d)](_0x5a612b,_0x1d5ffd){const _0x1dae6c=_0x254aee,_0x5ca2ff={..._0x5a612b?.[_0x1dae6c(0x238)+_0x1dae6c(0x1f1)]};return _0x5ca2ff[_0x1dae6c(0x21e)]={..._0x5a612b?.[_0x1dae6c(0x238)+'fig']?.[_0x1dae6c(0x21e)],..._0x1d5ffd?.[_0x1dae6c(0x21e)]},_0x5ca2ff[_0x1dae6c(0x225)]=_0x5a612b?.[_0x1dae6c(0x225)],_0x5ca2ff[_0x1dae6c(0x1f2)]=_0x5a612b?.[_0x1dae6c(0x1f2)],_0x5ca2ff;}async[_0x254aee(0x28a)](_0x5145b3,_0x35b652){const _0x3358b6=_0x254aee;return this[_0x3358b6(0x21d)+'t']['get'](_0x5145b3?.[_0x3358b6(0x1dc)]??'',this['combineC'+_0x3358b6(0x20d)](_0x5145b3,_0x35b652));}async['POST'](_0x53e117,_0x7b1dee){const _0x206774=_0x254aee;let _0x1df76e=this[_0x206774(0x1da)+'onfig'](_0x53e117,_0x7b1dee);return this[_0x206774(0x21d)+'t'][_0x206774(0x20c)](_0x53e117[_0x206774(0x1dc)]??'',_0x1df76e[_0x206774(0x1f2)],_0x1df76e);}async['PUT'](_0x1ca4db,_0x14c2ae){const _0x3758d8=_0x254aee;let _0x5bf086=this[_0x3758d8(0x1da)+_0x3758d8(0x20d)](_0x1ca4db,_0x14c2ae);return this[_0x3758d8(0x21d)+'t']['put'](_0x1ca4db[_0x3758d8(0x1dc)]??'',_0x5bf086[_0x3758d8(0x1f2)],_0x5bf086);}async[_0x254aee(0x23e)](_0x5de560,_0x32aa17){const _0x489c3=_0x254aee;let _0xa711aa=this[_0x489c3(0x1da)+_0x489c3(0x20d)](_0x5de560,_0x32aa17);return this['apiClien'+'t'][_0x489c3(0x278)](_0x5de560[_0x489c3(0x1dc)]??'',_0xa711aa[_0x489c3(0x1f2)],_0xa711aa);}async[_0x254aee(0x257)](_0x408b8e,_0x52a296){const _0x1aa768=_0x254aee;return this[_0x1aa768(0x21d)+'t'][_0x1aa768(0x23f)](_0x408b8e['path']??'',this[_0x1aa768(0x1da)+_0x1aa768(0x20d)](_0x408b8e,_0x52a296));}};c['isRedire'+_0x254aee(0x200)]=![];var h=c,k=h,y=new Map();I(()=>y['clear']());function r(_0x25429e,_0x4c3e10){const _0x3cdb33=_0x254aee,_0x32f965={'WAinN':function(_0x43d16d){return _0x43d16d();}};let _0x57baba=_0x25429e+'|'+_0x4c3e10,_0x239e63=y[_0x3cdb33(0x224)](_0x57baba);if(_0x239e63)return _0x239e63;let {baseURL:_0x226769,clientId:_0x3d415c,tokenStorage:_0x3e2cbd,timeout:_0x3cb280,signingKey:_0x1ac6b3,maxRetries:_0x59f581,onUnauthorized:_0x4a4e24}=_0x32f965[_0x3cdb33(0x243)](T),_0x3a413f=new k({'API_URL':''+_0x226769+_0x25429e,'useAuthorization':_0x4c3e10,'clientId':_0x3d415c,'tokenStorage':_0x3e2cbd,'timeout':_0x3cb280,'signingKey':_0x1ac6b3,'maxRetries':_0x59f581,'onUnauthorized':_0x4a4e24});return y['set'](_0x57baba,_0x3a413f),_0x3a413f;}async function B(_0x4d41aa){const _0x175bfb=_0x254aee,_0x5acb23={'iZhTX':function(_0x1b470d,_0x40bbc2,_0x5a6009){return _0x1b470d(_0x40bbc2,_0x5a6009);},'VRQAD':_0x175bfb(0x1e9)+_0x175bfb(0x231)+'s'},_0x2a1d3f={};return _0x2a1d3f[_0x175bfb(0x1dc)]='/',_0x2a1d3f[_0x175bfb(0x1f2)]=_0x4d41aa,_0x5acb23['iZhTX'](r,_0x5acb23['VRQAD'],!![])[_0x175bfb(0x249)](_0x2a1d3f);}function _0x5827(_0x42e481,_0x2dbd8a){_0x42e481=_0x42e481-(-0x741+0x222*-0xd+-0x623*-0x6);const _0x176259=_0x2e87();let _0xf41e39=_0x176259[_0x42e481];if(_0x5827['MjeJQW']===undefined){var _0xc2119e=function(_0x2b8afb){const _0x33b012='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3172c8='',_0x17cd8c='';for(let _0x56d6c2=-0x10fc+0x1848+-0x74c,_0x5e9cd1,_0x71d3ae,_0x182863=0x1127*0x1+0x758+-0x187f;_0x71d3ae=_0x2b8afb['charAt'](_0x182863++);~_0x71d3ae&&(_0x5e9cd1=_0x56d6c2%(0x1096+0x13bf+0xc1b*-0x3)?_0x5e9cd1*(-0x3*-0xc4b+-0x1*0x305+-0x219c)+_0x71d3ae:_0x71d3ae,_0x56d6c2++%(0x17db+0x74c+-0x1f23))?_0x3172c8+=String['fromCharCode'](0x8*0xa4+-0x1f98+0x1b77&_0x5e9cd1>>(-(0x1f94+0x8e8+0x3*-0xd7e)*_0x56d6c2&-0x96*-0x25+0x1bcc+0x279*-0x14)):-0xfd5+-0x1*0x13a6+0x237b){_0x71d3ae=_0x33b012['indexOf'](_0x71d3ae);}for(let _0x56e9e8=-0xca5+-0xa0b+0x16b0,_0x3f3885=_0x3172c8['length'];_0x56e9e8<_0x3f3885;_0x56e9e8++){_0x17cd8c+='%'+('00'+_0x3172c8['charCodeAt'](_0x56e9e8)['toString'](0x1603+0x53*0x11+-0x1b76))['slice'](-(0x15d*-0x8+-0x350*0x9+0x28ba));}return decodeURIComponent(_0x17cd8c);};_0x5827['IhtKqA']=_0xc2119e,_0x5827['taRRxq']={},_0x5827['MjeJQW']=!![];}const _0xb338c=_0x176259[0x25c7+0xab1+-0x3078],_0x4578da=_0x42e481+_0xb338c,_0x10bc7e=_0x5827['taRRxq'][_0x4578da];return!_0x10bc7e?(_0xf41e39=_0x5827['IhtKqA'](_0xf41e39),_0x5827['taRRxq'][_0x4578da]=_0xf41e39):_0xf41e39=_0x10bc7e,_0xf41e39;}async function M({id:_0x5b496a}){const _0x1d2354=_0x254aee,_0x10a2b8={};return _0x10a2b8['path']='/'+_0x5b496a+_0x1d2354(0x25c),r('/config/'+_0x1d2354(0x231)+'s',!![])[_0x1d2354(0x28a)](_0x10a2b8);}async function V({_id:_0x20319b}){const _0x5a49c2=_0x254aee,_0x216d71={};_0x216d71[_0x5a49c2(0x244)]=_0x5a49c2(0x1e9)+_0x5a49c2(0x231)+'s';const _0x5ea059=_0x216d71,_0x2fbd04={};return _0x2fbd04[_0x5a49c2(0x1dc)]='/'+_0x20319b,r(_0x5ea059[_0x5a49c2(0x244)],!![])[_0x5a49c2(0x28a)](_0x2fbd04);}async function D({id:_0x4fa6ea}){const _0x332b97=_0x254aee,_0x43b911={'hbBEE':function(_0x264e80,_0x1b45eb,_0x396108){return _0x264e80(_0x1b45eb,_0x396108);},'jhLBW':_0x332b97(0x1e9)+'customer'+'s'},_0x49dfef={};return _0x49dfef[_0x332b97(0x1dc)]='/'+_0x4fa6ea+'/crops',_0x43b911[_0x332b97(0x1d7)](r,_0x43b911['jhLBW'],!![])[_0x332b97(0x28a)](_0x49dfef);}async function O(){const _0x1d5578=_0x254aee,_0x39806b={'IQZnB':function(_0x58450c,_0x2bde89,_0x100778){return _0x58450c(_0x2bde89,_0x100778);},'EEzHv':'/farm-ty'+'pe'};return _0x39806b[_0x1d5578(0x1eb)](r,'/config/'+_0x1d5578(0x231)+'s',!![])[_0x1d5578(0x28a)]({'path':_0x39806b[_0x1d5578(0x1d8)]});}async function N(){const _0x2dd7db=_0x254aee;return r(_0x2dd7db(0x1e9)+_0x2dd7db(0x21f),!![])['GET']();}async function F({id:_0x85cb0d}){const _0x2275f7=_0x254aee,_0xd3732b={};_0xd3732b['abLSV']=_0x2275f7(0x1e9)+_0x2275f7(0x231)+'s';const _0x23627c=_0xd3732b,_0x1d676d={};return _0x1d676d[_0x2275f7(0x1dc)]='/'+_0x85cb0d+(_0x2275f7(0x211)+_0x2275f7(0x259)),r(_0x23627c[_0x2275f7(0x246)],!![])[_0x2275f7(0x28a)](_0x1d676d);}async function K({id:_0xebf7ff}){const _0x2b681d=_0x254aee,_0x2f4da7={'KJqXm':function(_0x53042f,_0x5839e4,_0xd80168){return _0x53042f(_0x5839e4,_0xd80168);},'OWqpD':_0x2b681d(0x1e9)+_0x2b681d(0x231)+'s'},_0x267df1={};return _0x267df1['path']='/'+_0xebf7ff+_0x2b681d(0x25e),_0x2f4da7['KJqXm'](r,_0x2f4da7[_0x2b681d(0x299)],!![])[_0x2b681d(0x28a)](_0x267df1);}async function J(){const _0x1b9877=_0x254aee,_0x71260a={'FbZAD':function(_0x1af94f,_0x14c28d,_0x165fd4){return _0x1af94f(_0x14c28d,_0x165fd4);},'tcXbj':_0x1b9877(0x1e9)+_0x1b9877(0x231)+'s','qFiGd':_0x1b9877(0x1e4)};return _0x71260a[_0x1b9877(0x21b)](r,_0x71260a[_0x1b9877(0x232)],!![])[_0x1b9877(0x28a)]({'path':_0x71260a[_0x1b9877(0x270)]});}async function X({id:_0x5d9478}){const _0x2d5748=_0x254aee,_0x2919d0={'qWMIy':function(_0x3fb62e,_0x32aeec,_0x34a761){return _0x3fb62e(_0x32aeec,_0x34a761);},'AlKKX':_0x2d5748(0x1e9)+_0x2d5748(0x231)+'s'},_0x3c430f={};return _0x3c430f[_0x2d5748(0x1dc)]='/'+_0x5d9478+_0x2d5748(0x1de),_0x2919d0[_0x2d5748(0x252)](r,_0x2919d0[_0x2d5748(0x1f8)],!![])[_0x2d5748(0x28a)](_0x3c430f);}async function Q({id:_0x4c6519}){const _0x505c06=_0x254aee,_0x596ddf={'lgXfE':function(_0x15dd80,_0x5767d2,_0xfd81bb){return _0x15dd80(_0x5767d2,_0xfd81bb);}},_0x1aa43f={};return _0x1aa43f[_0x505c06(0x1dc)]='/'+_0x4c6519+(_0x505c06(0x282)+'es'),_0x596ddf['lgXfE'](r,'/config/'+_0x505c06(0x231)+'s',!![])['GET'](_0x1aa43f);}async function Y(){const _0x2e777e=_0x254aee,_0xe959f5={'xLdeU':function(_0x29193d,_0x2b2f42,_0x2bb61e){return _0x29193d(_0x2b2f42,_0x2bb61e);}};return _0xe959f5[_0x2e777e(0x23d)](r,_0x2e777e(0x1e9)+_0x2e777e(0x231)+'s',!![])[_0x2e777e(0x28a)]();}async function W({_id:_0x5a3099,data:_0x402f3f}){const _0x11e2f3=_0x254aee,_0x5f501e={};_0x5f501e[_0x11e2f3(0x255)]='/config/'+_0x11e2f3(0x231)+'s';const _0x472c7c=_0x5f501e,_0x6e63c4={};return _0x6e63c4[_0x11e2f3(0x1dc)]='/'+_0x5a3099,_0x6e63c4[_0x11e2f3(0x1f2)]=_0x402f3f,r(_0x472c7c[_0x11e2f3(0x255)],!![])[_0x11e2f3(0x247)](_0x6e63c4);}async function Z({id:_0x53a000,data:_0x4fa227}){const _0x231786=_0x254aee,_0xb297ae={'cMzhp':function(_0x6d1632,_0x4188a0,_0x3aa884){return _0x6d1632(_0x4188a0,_0x3aa884);},'gvyxh':_0x231786(0x1e9)+_0x231786(0x231)+'s'},_0x23cb98={};return _0x23cb98[_0x231786(0x1dc)]='/'+_0x53a000+'/crops',_0x23cb98[_0x231786(0x1f2)]=_0x4fa227,_0xb297ae[_0x231786(0x1dd)](r,_0xb297ae['gvyxh'],!![])[_0x231786(0x247)](_0x23cb98);}async function ee({id:_0x15afe0,data:_0x3cf8f1}){const _0x47af0d=_0x254aee,_0x470612={'BJQnX':function(_0x261127,_0xfe130e,_0x599b9b){return _0x261127(_0xfe130e,_0x599b9b);}},_0x29da41={};return _0x29da41[_0x47af0d(0x1dc)]='/'+_0x15afe0+(_0x47af0d(0x211)+_0x47af0d(0x259)),_0x29da41[_0x47af0d(0x1f2)]=_0x3cf8f1,_0x470612[_0x47af0d(0x237)](r,_0x47af0d(0x1e9)+_0x47af0d(0x231)+'s',!![])[_0x47af0d(0x247)](_0x29da41);}async function te({id:_0x3bd75d,data:_0x3bbc50}){const _0x44a30a=_0x254aee,_0x53c961={'fuEuu':function(_0x82d432,_0x4a7c2a,_0x3fdd66){return _0x82d432(_0x4a7c2a,_0x3fdd66);},'mtCmC':'/config/'+_0x44a30a(0x231)+'s'},_0x2876b7={};return _0x2876b7[_0x44a30a(0x1dc)]='/'+_0x3bd75d+'/modules',_0x2876b7[_0x44a30a(0x1f2)]=_0x3bbc50,_0x53c961[_0x44a30a(0x21c)](r,_0x53c961[_0x44a30a(0x29d)],!![])[_0x44a30a(0x247)](_0x2876b7);}async function oe({id:_0x33a417,data:_0x315c98}){const _0x14d70b=_0x254aee,_0xbb70fd={'AVqfU':function(_0x3fce70,_0x219d70,_0x140fe8){return _0x3fce70(_0x219d70,_0x140fe8);}},_0x123b51={};return _0x123b51[_0x14d70b(0x1dc)]='/'+_0x33a417+_0x14d70b(0x1de),_0x123b51[_0x14d70b(0x1f2)]=_0x315c98,_0xbb70fd[_0x14d70b(0x293)](r,_0x14d70b(0x1e9)+'customer'+'s',!![])['PUT'](_0x123b51);}async function re({id:_0x4e7a7c,data:_0x5d7402}){const _0x2ae985=_0x254aee,_0x548b03={'KYlci':function(_0x5ba262,_0x2500b8,_0x47a6ab){return _0x5ba262(_0x2500b8,_0x47a6ab);},'BbdWx':'/config/'+'customer'+'s'},_0x2a2c6d={};return _0x2a2c6d[_0x2ae985(0x1dc)]='/'+_0x4e7a7c+(_0x2ae985(0x282)+'es'),_0x2a2c6d['data']=_0x5d7402,_0x548b03[_0x2ae985(0x1e0)](r,_0x548b03[_0x2ae985(0x28d)],!![])[_0x2ae985(0x247)](_0x2a2c6d);}exports['fetchCre'+_0x254aee(0x202)+_0x254aee(0x1f9)]=B,exports[_0x254aee(0x213)+_0x254aee(0x280)+_0x254aee(0x1e3)]=M,exports['fetchCus'+_0x254aee(0x298)+'d']=V,exports[_0x254aee(0x213)+_0x254aee(0x287)+'ps']=D,exports['fetchCus'+_0x254aee(0x288)+_0x254aee(0x28e)]=O,exports[_0x254aee(0x213)+_0x254aee(0x216)+_0x254aee(0x27e)]=N,exports['fetchCus'+'tomerInd'+_0x254aee(0x25a)]=F,exports[_0x254aee(0x213)+_0x254aee(0x210)+'ules']=K,exports[_0x254aee(0x213)+_0x254aee(0x271)+'es']=J,exports['fetchCus'+_0x254aee(0x269)+'rs']=X,exports[_0x254aee(0x213)+'tomerVar'+_0x254aee(0x1f3)]=Q,exports['fetchCus'+'tomers']=Y,exports['fetchUpd'+_0x254aee(0x202)+_0x254aee(0x1f9)]=W,exports[_0x254aee(0x222)+_0x254aee(0x202)+_0x254aee(0x20e)]=Z,exports[_0x254aee(0x222)+_0x254aee(0x202)+'merIndic'+_0x254aee(0x268)]=ee,exports['fetchUpd'+_0x254aee(0x202)+_0x254aee(0x26c)+'es']=te,exports['fetchUpd'+_0x254aee(0x202)+_0x254aee(0x281)]=oe,exports[_0x254aee(0x222)+'ateCusto'+_0x254aee(0x256)+_0x254aee(0x22e)]=re;
|
|
@@ -1,61 +1,73 @@
|
|
|
1
|
+
import { I as ICustomer, a as IFarmBlockStructure, b as ICustomerCrop, c as IFarmType, d as ICustomerIndicator, e as ISizes, f as ICustomerVariety } from '../customer.entities-C2iGl9KF.cjs';
|
|
2
|
+
export { g as IBlock, h as ICustomerGeolocation } from '../customer.entities-C2iGl9KF.cjs';
|
|
1
3
|
import * as axios from 'axios';
|
|
2
|
-
import { I as
|
|
3
|
-
import { I as
|
|
4
|
+
import { I as IGroup } from '../group.interface-BbQHuhIW.cjs';
|
|
5
|
+
import { I as IModule } from '../module.interface-B2SHWtNv.cjs';
|
|
4
6
|
|
|
5
|
-
declare function fetchCustomers(): Promise<axios.AxiosResponse<ICustomer[], any, {}>>;
|
|
6
|
-
declare function fetchCustomerById({ _id }: {
|
|
7
|
-
_id: string;
|
|
8
|
-
}): Promise<axios.AxiosResponse<ICustomer, any, {}>>;
|
|
9
7
|
declare function fetchCreateCustomer(data: Partial<ICustomer>): Promise<axios.AxiosResponse<ICustomer, any, {}>>;
|
|
10
|
-
|
|
8
|
+
|
|
9
|
+
declare function fetchCustomerBlocks({ id }: {
|
|
10
|
+
id: string;
|
|
11
|
+
}): Promise<axios.AxiosResponse<IFarmBlockStructure[], any, {}>>;
|
|
12
|
+
|
|
13
|
+
declare function fetchCustomerById({ _id }: {
|
|
11
14
|
_id: string;
|
|
12
|
-
data: Partial<ICustomer>;
|
|
13
15
|
}): Promise<axios.AxiosResponse<ICustomer, any, {}>>;
|
|
14
|
-
|
|
15
|
-
declare function fetchCustomerSizes(): Promise<axios.AxiosResponse<ISizes[], any, {}>>;
|
|
16
|
+
|
|
16
17
|
declare function fetchCustomerCrops({ id }: {
|
|
17
18
|
id: string;
|
|
18
19
|
}): Promise<axios.AxiosResponse<ICustomerCrop[], any, {}>>;
|
|
19
|
-
|
|
20
|
+
|
|
21
|
+
declare function fetchCustomerFarmTypes(): Promise<axios.AxiosResponse<IFarmType[], any, {}>>;
|
|
22
|
+
|
|
23
|
+
declare function fetchCustomerGroups(): Promise<axios.AxiosResponse<IGroup[], any, {}>>;
|
|
24
|
+
|
|
25
|
+
declare function fetchCustomerIndicators({ id }: {
|
|
20
26
|
id: string;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
27
|
+
}): Promise<axios.AxiosResponse<ICustomerIndicator[], any, {}>>;
|
|
28
|
+
|
|
29
|
+
declare function fetchCustomerModules({ id }: {
|
|
30
|
+
id: string;
|
|
31
|
+
}): Promise<axios.AxiosResponse<IModule[], any, {}>>;
|
|
32
|
+
|
|
33
|
+
declare function fetchCustomerSizes(): Promise<axios.AxiosResponse<ISizes[], any, {}>>;
|
|
34
|
+
|
|
35
|
+
declare function fetchCustomerUsers({ id }: {
|
|
36
|
+
id: string;
|
|
37
|
+
}): Promise<axios.AxiosResponse<string[], any, {}>>;
|
|
38
|
+
|
|
25
39
|
declare function fetchCustomerVarieties({ id }: {
|
|
26
40
|
id: string;
|
|
27
41
|
}): Promise<axios.AxiosResponse<ICustomerVariety[], any, {}>>;
|
|
28
|
-
|
|
42
|
+
|
|
43
|
+
declare function fetchCustomers(): Promise<axios.AxiosResponse<ICustomer[], any, {}>>;
|
|
44
|
+
|
|
45
|
+
declare function fetchUpdateCustomer({ _id, data, }: {
|
|
46
|
+
_id: string;
|
|
47
|
+
data: Partial<ICustomer>;
|
|
48
|
+
}): Promise<axios.AxiosResponse<ICustomer, any, {}>>;
|
|
49
|
+
|
|
50
|
+
declare function fetchUpdateCustomerCrops({ id, data, }: {
|
|
29
51
|
id: string;
|
|
30
52
|
data: {
|
|
31
|
-
|
|
53
|
+
crops: ICustomerCrop[];
|
|
32
54
|
};
|
|
33
|
-
}): Promise<axios.AxiosResponse<
|
|
34
|
-
|
|
35
|
-
id: string;
|
|
36
|
-
}): Promise<axios.AxiosResponse<ICustomerIndicator[], any, {}>>;
|
|
55
|
+
}): Promise<axios.AxiosResponse<ICustomerCrop[], any, {}>>;
|
|
56
|
+
|
|
37
57
|
declare function fetchUpdateCustomerIndicators({ id, data, }: {
|
|
38
58
|
id: string;
|
|
39
59
|
data: {
|
|
40
60
|
indicators: ICustomerIndicator[];
|
|
41
61
|
};
|
|
42
62
|
}): Promise<axios.AxiosResponse<ICustomerIndicator[], any, {}>>;
|
|
43
|
-
|
|
44
|
-
declare function fetchCustomerBlocks({ id }: {
|
|
45
|
-
id: string;
|
|
46
|
-
}): Promise<axios.AxiosResponse<IFarmBlockStructure[], any, {}>>;
|
|
47
|
-
declare function fetchCustomerModules({ id }: {
|
|
48
|
-
id: string;
|
|
49
|
-
}): Promise<axios.AxiosResponse<IModule[], any, {}>>;
|
|
63
|
+
|
|
50
64
|
declare function fetchUpdateCustomerModules({ id, data, }: {
|
|
51
65
|
id: string;
|
|
52
66
|
data: {
|
|
53
67
|
modules: string[];
|
|
54
68
|
};
|
|
55
69
|
}): Promise<axios.AxiosResponse<IModule[], any, {}>>;
|
|
56
|
-
|
|
57
|
-
id: string;
|
|
58
|
-
}): Promise<axios.AxiosResponse<string[], any, {}>>;
|
|
70
|
+
|
|
59
71
|
declare function fetchUpdateCustomerUsers({ id, data, }: {
|
|
60
72
|
id: string;
|
|
61
73
|
data: {
|
|
@@ -63,4 +75,11 @@ declare function fetchUpdateCustomerUsers({ id, data, }: {
|
|
|
63
75
|
};
|
|
64
76
|
}): Promise<axios.AxiosResponse<string[], any, {}>>;
|
|
65
77
|
|
|
66
|
-
|
|
78
|
+
declare function fetchUpdateCustomerVarieties({ id, data, }: {
|
|
79
|
+
id: string;
|
|
80
|
+
data: {
|
|
81
|
+
varieties: ICustomerVariety[];
|
|
82
|
+
};
|
|
83
|
+
}): Promise<axios.AxiosResponse<ICustomerVariety[], any, {}>>;
|
|
84
|
+
|
|
85
|
+
export { ICustomer, ICustomerCrop, ICustomerIndicator, ICustomerVariety, IFarmBlockStructure, IFarmType, ISizes, fetchCreateCustomer, fetchCustomerBlocks, fetchCustomerById, fetchCustomerCrops, fetchCustomerFarmTypes, fetchCustomerGroups, fetchCustomerIndicators, fetchCustomerModules, fetchCustomerSizes, fetchCustomerUsers, fetchCustomerVarieties, fetchCustomers, fetchUpdateCustomer, fetchUpdateCustomerCrops, fetchUpdateCustomerIndicators, fetchUpdateCustomerModules, fetchUpdateCustomerUsers, fetchUpdateCustomerVarieties };
|
|
@@ -1,61 +1,73 @@
|
|
|
1
|
+
import { I as ICustomer, a as IFarmBlockStructure, b as ICustomerCrop, c as IFarmType, d as ICustomerIndicator, e as ISizes, f as ICustomerVariety } from '../customer.entities-C2iGl9KF.js';
|
|
2
|
+
export { g as IBlock, h as ICustomerGeolocation } from '../customer.entities-C2iGl9KF.js';
|
|
1
3
|
import * as axios from 'axios';
|
|
2
|
-
import { I as
|
|
3
|
-
import { I as
|
|
4
|
+
import { I as IGroup } from '../group.interface-BbQHuhIW.js';
|
|
5
|
+
import { I as IModule } from '../module.interface-B2SHWtNv.js';
|
|
4
6
|
|
|
5
|
-
declare function fetchCustomers(): Promise<axios.AxiosResponse<ICustomer[], any, {}>>;
|
|
6
|
-
declare function fetchCustomerById({ _id }: {
|
|
7
|
-
_id: string;
|
|
8
|
-
}): Promise<axios.AxiosResponse<ICustomer, any, {}>>;
|
|
9
7
|
declare function fetchCreateCustomer(data: Partial<ICustomer>): Promise<axios.AxiosResponse<ICustomer, any, {}>>;
|
|
10
|
-
|
|
8
|
+
|
|
9
|
+
declare function fetchCustomerBlocks({ id }: {
|
|
10
|
+
id: string;
|
|
11
|
+
}): Promise<axios.AxiosResponse<IFarmBlockStructure[], any, {}>>;
|
|
12
|
+
|
|
13
|
+
declare function fetchCustomerById({ _id }: {
|
|
11
14
|
_id: string;
|
|
12
|
-
data: Partial<ICustomer>;
|
|
13
15
|
}): Promise<axios.AxiosResponse<ICustomer, any, {}>>;
|
|
14
|
-
|
|
15
|
-
declare function fetchCustomerSizes(): Promise<axios.AxiosResponse<ISizes[], any, {}>>;
|
|
16
|
+
|
|
16
17
|
declare function fetchCustomerCrops({ id }: {
|
|
17
18
|
id: string;
|
|
18
19
|
}): Promise<axios.AxiosResponse<ICustomerCrop[], any, {}>>;
|
|
19
|
-
|
|
20
|
+
|
|
21
|
+
declare function fetchCustomerFarmTypes(): Promise<axios.AxiosResponse<IFarmType[], any, {}>>;
|
|
22
|
+
|
|
23
|
+
declare function fetchCustomerGroups(): Promise<axios.AxiosResponse<IGroup[], any, {}>>;
|
|
24
|
+
|
|
25
|
+
declare function fetchCustomerIndicators({ id }: {
|
|
20
26
|
id: string;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
27
|
+
}): Promise<axios.AxiosResponse<ICustomerIndicator[], any, {}>>;
|
|
28
|
+
|
|
29
|
+
declare function fetchCustomerModules({ id }: {
|
|
30
|
+
id: string;
|
|
31
|
+
}): Promise<axios.AxiosResponse<IModule[], any, {}>>;
|
|
32
|
+
|
|
33
|
+
declare function fetchCustomerSizes(): Promise<axios.AxiosResponse<ISizes[], any, {}>>;
|
|
34
|
+
|
|
35
|
+
declare function fetchCustomerUsers({ id }: {
|
|
36
|
+
id: string;
|
|
37
|
+
}): Promise<axios.AxiosResponse<string[], any, {}>>;
|
|
38
|
+
|
|
25
39
|
declare function fetchCustomerVarieties({ id }: {
|
|
26
40
|
id: string;
|
|
27
41
|
}): Promise<axios.AxiosResponse<ICustomerVariety[], any, {}>>;
|
|
28
|
-
|
|
42
|
+
|
|
43
|
+
declare function fetchCustomers(): Promise<axios.AxiosResponse<ICustomer[], any, {}>>;
|
|
44
|
+
|
|
45
|
+
declare function fetchUpdateCustomer({ _id, data, }: {
|
|
46
|
+
_id: string;
|
|
47
|
+
data: Partial<ICustomer>;
|
|
48
|
+
}): Promise<axios.AxiosResponse<ICustomer, any, {}>>;
|
|
49
|
+
|
|
50
|
+
declare function fetchUpdateCustomerCrops({ id, data, }: {
|
|
29
51
|
id: string;
|
|
30
52
|
data: {
|
|
31
|
-
|
|
53
|
+
crops: ICustomerCrop[];
|
|
32
54
|
};
|
|
33
|
-
}): Promise<axios.AxiosResponse<
|
|
34
|
-
|
|
35
|
-
id: string;
|
|
36
|
-
}): Promise<axios.AxiosResponse<ICustomerIndicator[], any, {}>>;
|
|
55
|
+
}): Promise<axios.AxiosResponse<ICustomerCrop[], any, {}>>;
|
|
56
|
+
|
|
37
57
|
declare function fetchUpdateCustomerIndicators({ id, data, }: {
|
|
38
58
|
id: string;
|
|
39
59
|
data: {
|
|
40
60
|
indicators: ICustomerIndicator[];
|
|
41
61
|
};
|
|
42
62
|
}): Promise<axios.AxiosResponse<ICustomerIndicator[], any, {}>>;
|
|
43
|
-
|
|
44
|
-
declare function fetchCustomerBlocks({ id }: {
|
|
45
|
-
id: string;
|
|
46
|
-
}): Promise<axios.AxiosResponse<IFarmBlockStructure[], any, {}>>;
|
|
47
|
-
declare function fetchCustomerModules({ id }: {
|
|
48
|
-
id: string;
|
|
49
|
-
}): Promise<axios.AxiosResponse<IModule[], any, {}>>;
|
|
63
|
+
|
|
50
64
|
declare function fetchUpdateCustomerModules({ id, data, }: {
|
|
51
65
|
id: string;
|
|
52
66
|
data: {
|
|
53
67
|
modules: string[];
|
|
54
68
|
};
|
|
55
69
|
}): Promise<axios.AxiosResponse<IModule[], any, {}>>;
|
|
56
|
-
|
|
57
|
-
id: string;
|
|
58
|
-
}): Promise<axios.AxiosResponse<string[], any, {}>>;
|
|
70
|
+
|
|
59
71
|
declare function fetchUpdateCustomerUsers({ id, data, }: {
|
|
60
72
|
id: string;
|
|
61
73
|
data: {
|
|
@@ -63,4 +75,11 @@ declare function fetchUpdateCustomerUsers({ id, data, }: {
|
|
|
63
75
|
};
|
|
64
76
|
}): Promise<axios.AxiosResponse<string[], any, {}>>;
|
|
65
77
|
|
|
66
|
-
|
|
78
|
+
declare function fetchUpdateCustomerVarieties({ id, data, }: {
|
|
79
|
+
id: string;
|
|
80
|
+
data: {
|
|
81
|
+
varieties: ICustomerVariety[];
|
|
82
|
+
};
|
|
83
|
+
}): Promise<axios.AxiosResponse<ICustomerVariety[], any, {}>>;
|
|
84
|
+
|
|
85
|
+
export { ICustomer, ICustomerCrop, ICustomerIndicator, ICustomerVariety, IFarmBlockStructure, IFarmType, ISizes, fetchCreateCustomer, fetchCustomerBlocks, fetchCustomerById, fetchCustomerCrops, fetchCustomerFarmTypes, fetchCustomerGroups, fetchCustomerIndicators, fetchCustomerModules, fetchCustomerSizes, fetchCustomerUsers, fetchCustomerVarieties, fetchCustomers, fetchUpdateCustomer, fetchUpdateCustomerCrops, fetchUpdateCustomerIndicators, fetchUpdateCustomerModules, fetchUpdateCustomerUsers, fetchUpdateCustomerVarieties };
|
package/dist/customers/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1cee46,_0x2cd051){var _0x131b94=_0x116f,_0x316bd5=_0x1cee46();while(!![]){try{var _0x1c14a4=-parseInt(_0x131b94(0xbd))/(-0xa*-0x36d+0xa*-0x18e+0x1*-0x12b5)*(parseInt(_0x131b94(0xb9))/(0x140*-0x1+0x1*-0x563+0x6a5))+parseInt(_0x131b94(0xce))/(-0x1*0xe6+-0x1e2*-0xe+-0x1973)*(-parseInt(_0x131b94(0xbe))/(-0x161*0x1+-0x11*-0x75+-0x660))+parseInt(_0x131b94(0xc8))/(0xa5c+-0x9f+0x2*-0x4dc)*(parseInt(_0x131b94(0xc3))/(-0x1cc9+0x1*-0x2692+0x2f*0x16f))+-parseInt(_0x131b94(0xd0))/(-0x25a3*0x1+0xfb*0x17+-0x1*-0xf1d)+parseInt(_0x131b94(0xc7))/(0x68+0x26ac+-0x270c)*(parseInt(_0x131b94(0xb7))/(-0x5f*0x5+0x126d*0x2+-0x22f6))+-parseInt(_0x131b94(0xc6))/(0x73b+0x1f05+0x49*-0x86)+parseInt(_0x131b94(0xc5))/(-0x1*0xe68+-0x19a*-0x1+0xcd9);if(_0x1c14a4===_0x2cd051)break;else _0x316bd5['push'](_0x316bd5['shift']());}catch(_0x449ac8){_0x316bd5['push'](_0x316bd5['shift']());}}}(_0xb814,0x59c5d+0xb97eb+-0x1*0xaf03f));import{b}from'../chunk-WHWGZZOX.js';import'../chunk-SR3MULQZ.js';function _0xb814(){var _0x3b3d1b=['l3nPEMu','DgHUuLm','qMHsvxi','mtGYnZu3q0rAwuX3','uejoC1m','mtaZmdqWsgDNsM5w','zvDyqKm','sg1hAfG','zxzcvhi','rgzZtfu','l2nVBMzPzY8','l2zHCM0TDhK','tu5Wzvm','r0vu','BM5us0u','z3jVDxbZ','Cgf0Aa','l3zHCMLLDgK','zgLkEKy','u0PvD3C','l2LUzgLJyxq','mJqWnJyWoxvotK1tvG','l21VzhvSzxm','otmYmZC4Ce1Zy3vb','B3jZ','ue9tva','qvrgrgC','muDOvM5Ara','mZzIDgDIEKq','l3vZzxjZ','y3vZDg9Tzxi','ufvu','vw1lBLy','mZblzLLcDg0','zgf0yq','nJeZnZq3mMfuEgfJsq','mtmZody1mhPsyxv6tq','ofPjq1zmsq','nZq4mZi1ugnIB2X4','sMTequ4','l2nYB3bZ'];_0xb814=function(){return _0x3b3d1b;};return _0xb814();}async function o(_0x39a37f){var _0x4df74f=_0x116f,_0x4545c1={};_0x4545c1[_0x4df74f(0xd4)]=_0x4df74f(0xd5)+_0x4df74f(0xc0)+'s';var _0x4cb220=_0x4545c1,_0x20834c={};return _0x20834c[_0x4df74f(0xb2)]='/',_0x20834c['data']=_0x39a37f,b(_0x4cb220['DfsLU'],!![])[_0x4df74f(0xbb)](_0x20834c);}async function s({id:_0x3393a0}){var _0x37bcc5=_0x116f,_0x2841a7={};_0x2841a7[_0x37bcc5(0xcf)]='/config/'+'customer'+'s';var _0x493ca7=_0x2841a7,_0xe7be83={};return _0xe7be83['path']='/'+_0x3393a0+'/blocks',b(_0x493ca7['PBNsS'],!![])[_0x37bcc5(0xd8)](_0xe7be83);}function _0x116f(_0x2b7487,_0x13b511){_0x2b7487=_0x2b7487-(-0x1ba4+0x927+0x132d);var _0xff6eb9=_0xb814();var _0x563670=_0xff6eb9[_0x2b7487];if(_0x116f['tYufSX']===undefined){var _0x8a60ca=function(_0x3d993f){var _0x1db41b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x5eba03='',_0x31955e='';for(var _0x2d6b13=0x9*-0x350+-0x1bb+-0x11*-0x1db,_0x30d825,_0x4ca4c6,_0x2b8ecc=-0x22*0xe0+-0x2693+0x4453;_0x4ca4c6=_0x3d993f['charAt'](_0x2b8ecc++);~_0x4ca4c6&&(_0x30d825=_0x2d6b13%(0xd2f+0x1*0x38+-0x17*0x95)?_0x30d825*(-0x69c+-0x45*0x4e+-0x53*-0x56)+_0x4ca4c6:_0x4ca4c6,_0x2d6b13++%(0x70+-0x47c+0x1*0x410))?_0x5eba03+=String['fromCharCode'](0x2ab+0x140b+0x73d*-0x3&_0x30d825>>(-(0x76c+0x71*-0x2b+-0x1*-0xb91)*_0x2d6b13&0x5*-0x605+-0x5*-0x187+0x4*0x59f)):-0x68+-0x1ecc+-0x2*-0xf9a){_0x4ca4c6=_0x1db41b['indexOf'](_0x4ca4c6);}for(var _0x5aa66f=-0x11cf*-0x1+0x16bd+0x2b4*-0xf,_0x41c3de=_0x5eba03['length'];_0x5aa66f<_0x41c3de;_0x5aa66f++){_0x31955e+='%'+('00'+_0x5eba03['charCodeAt'](_0x5aa66f)['toString'](-0x11c*0x7+-0x173*-0x17+-0x1*0x1981))['slice'](-(0x4ec+0x2095+-0x257f));}return decodeURIComponent(_0x31955e);};_0x116f['xqULds']=_0x8a60ca,_0x116f['cfChLi']={},_0x116f['tYufSX']=!![];}var _0x14dff7=_0xff6eb9[0x23da+-0x25f9*0x1+0x21f],_0xe62f9=_0x2b7487+_0x14dff7,_0x5f19b0=_0x116f['cfChLi'][_0xe62f9];return!_0x5f19b0?(_0x563670=_0x116f['xqULds'](_0x563670),_0x116f['cfChLi'][_0xe62f9]=_0x563670):_0x563670=_0x5f19b0,_0x563670;}async function i({_id:_0x236afb}){var _0x3ad7a4=_0x116f,_0x20ca89={};return _0x20ca89[_0x3ad7a4(0xb2)]='/'+_0x236afb,b(_0x3ad7a4(0xd5)+'customer'+'s',!![])[_0x3ad7a4(0xd8)](_0x20ca89);}async function m({id:_0x42f0b6}){var _0x1068a9=_0x116f,_0x12cf19={};_0x12cf19[_0x1068a9(0xd1)]=_0x1068a9(0xd5)+_0x1068a9(0xc0)+'s';var _0x141289=_0x12cf19,_0x5cb335={};return _0x5cb335[_0x1068a9(0xb2)]='/'+_0x42f0b6+_0x1068a9(0xca),b(_0x141289[_0x1068a9(0xd1)],!![])[_0x1068a9(0xd8)](_0x5cb335);}async function c(){var _0x4d34c5=_0x116f,_0x4da50c={'JkDAN':function(_0x4a20f1,_0x3cc4d8,_0x50d51d){return _0x4a20f1(_0x3cc4d8,_0x50d51d);},'thnRS':_0x4d34c5(0xd5)+'customer'+'s'},_0x3ea7cc={};return _0x3ea7cc['path']=_0x4d34c5(0xd6)+'pe',_0x4da50c[_0x4d34c5(0xc9)](b,_0x4da50c[_0x4d34c5(0xcc)],!![])['GET'](_0x3ea7cc);}async function u(){var _0xcfa77b=_0x116f,_0x273844={};_0x273844[_0xcfa77b(0xd2)]=_0xcfa77b(0xd5)+_0xcfa77b(0xb1);var _0x544738=_0x273844;return b(_0x544738[_0xcfa77b(0xd2)],!![])[_0xcfa77b(0xd8)]();}async function p({id:_0x58d99}){var _0x5a2a1f=_0x116f,_0x168b15={'ATFDg':function(_0x2a2bfe,_0x104501,_0x31f4bf){return _0x2a2bfe(_0x104501,_0x31f4bf);},'nnTKE':'/config/'+'customer'+'s'},_0x1f706e={};return _0x1f706e['path']='/'+_0x58d99+('/indicat'+_0x5a2a1f(0xba)),_0x168b15[_0x5a2a1f(0xbc)](b,_0x168b15[_0x5a2a1f(0xb0)],!![])[_0x5a2a1f(0xd8)](_0x1f706e);}async function n({id:_0xa2f0f7}){var _0x5d743e=_0x116f,_0x28f49d={};return _0x28f49d[_0x5d743e(0xb2)]='/'+_0xa2f0f7+_0x5d743e(0xb8),b(_0x5d743e(0xd5)+_0x5d743e(0xc0)+'s',!![])['GET'](_0x28f49d);}async function a(){var _0x304b3d=_0x116f,_0x58e12e={'SJUww':function(_0x9608d1,_0x3ed4e4,_0x3a14ac){return _0x9608d1(_0x3ed4e4,_0x3a14ac);},'MNpeS':_0x304b3d(0xd5)+_0x304b3d(0xc0)+'s','xjJsh':_0x304b3d(0xcb)};return _0x58e12e[_0x304b3d(0xb5)](b,_0x58e12e[_0x304b3d(0xd7)],!![])[_0x304b3d(0xd8)]({'path':_0x58e12e['xjJsh']});}async function f({id:_0x19a750}){var _0x122372=_0x116f,_0x9dd3bc={};_0x9dd3bc[_0x122372(0xd3)]=_0x122372(0xd5)+_0x122372(0xc0)+'s';var _0x5433c8=_0x9dd3bc,_0x36e480={};return _0x36e480['path']='/'+_0x19a750+_0x122372(0xbf),b(_0x5433c8[_0x122372(0xd3)],!![])[_0x122372(0xd8)](_0x36e480);}async function C({id:_0x450bb0}){var _0x32bdb7=_0x116f,_0x37e310={'ehTeY':function(_0x5182e3,_0x19a896,_0x22d3d7){return _0x5182e3(_0x19a896,_0x22d3d7);},'ivrZG':'/config/'+_0x32bdb7(0xc0)+'s'},_0x596412={};return _0x596412['path']='/'+_0x450bb0+(_0x32bdb7(0xb3)+'es'),_0x37e310['ehTeY'](b,_0x37e310['ivrZG'],!![])[_0x32bdb7(0xd8)](_0x596412);}async function d(){var _0x3a0b66=_0x116f,_0x43cb60={'BhRUr':function(_0x20fa08,_0x38077b,_0x298961){return _0x20fa08(_0x38077b,_0x298961);}};return _0x43cb60[_0x3a0b66(0xcd)](b,'/config/'+_0x3a0b66(0xc0)+'s',!![])[_0x3a0b66(0xd8)]();}async function I({_id:_0xd40bfa,data:_0x4bffcf}){var _0x4fc22f=_0x116f,_0x446a2c={'vpJTo':function(_0x5ed671,_0x248742,_0x20320c){return _0x5ed671(_0x248742,_0x20320c);},'mpHVe':_0x4fc22f(0xd5)+'customer'+'s'},_0x55ce9c={};return _0x55ce9c[_0x4fc22f(0xb2)]='/'+_0xd40bfa,_0x55ce9c[_0x4fc22f(0xc4)]=_0x4bffcf,_0x446a2c['vpJTo'](b,_0x446a2c['mpHVe'],!![])['PUT'](_0x55ce9c);}async function y({id:_0x284dbd,data:_0x274521}){var _0x1cb0b6=_0x116f,_0x1bde55={'QRqvw':function(_0x333f8e,_0x26655c,_0x592f53){return _0x333f8e(_0x26655c,_0x592f53);},'sEXXN':'/config/'+_0x1cb0b6(0xc0)+'s'},_0x4a06f8={};return _0x4a06f8['path']='/'+_0x284dbd+'/crops',_0x4a06f8[_0x1cb0b6(0xc4)]=_0x274521,_0x1bde55['QRqvw'](b,_0x1bde55['sEXXN'],!![])[_0x1cb0b6(0xc1)](_0x4a06f8);}async function h({id:_0x336e91,data:_0x38b026}){var _0x39c1fc=_0x116f,_0x41f11c={'wdKVN':function(_0x426ec0,_0x3de548,_0x1d619b){return _0x426ec0(_0x3de548,_0x1d619b);}},_0x11ce29={};return _0x11ce29['path']='/'+_0x336e91+(_0x39c1fc(0xb6)+_0x39c1fc(0xba)),_0x11ce29['data']=_0x38b026,_0x41f11c['wdKVN'](b,_0x39c1fc(0xd5)+_0x39c1fc(0xc0)+'s',!![])[_0x39c1fc(0xc1)](_0x11ce29);}async function x({id:_0x52b676,data:_0x348ba5}){var _0x392e30=_0x116f,_0xb6d88a={'aaWIQ':function(_0x5ed449,_0x2fd222,_0x52f380){return _0x5ed449(_0x2fd222,_0x52f380);},'diJzF':_0x392e30(0xd5)+_0x392e30(0xc0)+'s'},_0x5e9f36={};return _0x5e9f36[_0x392e30(0xb2)]='/'+_0x52b676+_0x392e30(0xb8),_0x5e9f36[_0x392e30(0xc4)]=_0x348ba5,_0xb6d88a['aaWIQ'](b,_0xb6d88a[_0x392e30(0xb4)],!![])['PUT'](_0x5e9f36);}async function g({id:_0x46e4d9,data:_0x45579d}){var _0x354326=_0x116f,_0x2c52f9={};_0x2c52f9[_0x354326(0xc2)]=_0x354326(0xd5)+_0x354326(0xc0)+'s';var _0x19bf4c=_0x2c52f9,_0x65dfc2={};return _0x65dfc2[_0x354326(0xb2)]='/'+_0x46e4d9+_0x354326(0xbf),_0x65dfc2[_0x354326(0xc4)]=_0x45579d,b(_0x19bf4c['UmKnV'],!![])['PUT'](_0x65dfc2);}async function l({id:_0x241d61,data:_0x5c0d90}){var _0x723dd9=_0x116f,_0x3ba189={};return _0x3ba189['path']='/'+_0x241d61+(_0x723dd9(0xb3)+'es'),_0x3ba189[_0x723dd9(0xc4)]=_0x5c0d90,b(_0x723dd9(0xd5)+_0x723dd9(0xc0)+'s',!![])[_0x723dd9(0xc1)](_0x3ba189);}export{o as fetchCreateCustomer,s as fetchCustomerBlocks,i as fetchCustomerById,m as fetchCustomerCrops,c as fetchCustomerFarmTypes,u as fetchCustomerGroups,p as fetchCustomerIndicators,n as fetchCustomerModules,a as fetchCustomerSizes,f as fetchCustomerUsers,C as fetchCustomerVarieties,d as fetchCustomers,I as fetchUpdateCustomer,y as fetchUpdateCustomerCrops,h as fetchUpdateCustomerIndicators,x as fetchUpdateCustomerModules,g as fetchUpdateCustomerUsers,l as fetchUpdateCustomerVarieties};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface IGroupLocation {
|
|
2
|
+
address: string;
|
|
3
|
+
city: string;
|
|
4
|
+
postal_code: string;
|
|
5
|
+
}
|
|
6
|
+
interface IGroup {
|
|
7
|
+
_id?: string;
|
|
8
|
+
name: string;
|
|
9
|
+
description: string;
|
|
10
|
+
location: IGroupLocation;
|
|
11
|
+
region: string;
|
|
12
|
+
size: number | null;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export type { IGroup as I, IGroupLocation as a };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface IGroupLocation {
|
|
2
|
+
address: string;
|
|
3
|
+
city: string;
|
|
4
|
+
postal_code: string;
|
|
5
|
+
}
|
|
6
|
+
interface IGroup {
|
|
7
|
+
_id?: string;
|
|
8
|
+
name: string;
|
|
9
|
+
description: string;
|
|
10
|
+
location: IGroupLocation;
|
|
11
|
+
region: string;
|
|
12
|
+
size: number | null;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export type { IGroup as I, IGroupLocation as a };
|