@agroshine/ags-web-http 1.13.0 → 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.
Files changed (84) hide show
  1. package/dist/auth/index.cjs +1 -1
  2. package/dist/auth/index.d.cts +17 -8
  3. package/dist/auth/index.d.ts +17 -8
  4. package/dist/auth/index.js +1 -1
  5. package/dist/chunk-L3X36QYE.js +1 -0
  6. package/dist/chunk-SR3MULQZ.js +1 -1
  7. package/dist/chunk-WHWGZZOX.js +1 -1
  8. package/dist/crops/index.cjs +1 -1
  9. package/dist/crops/index.d.cts +7 -4
  10. package/dist/crops/index.d.ts +7 -4
  11. package/dist/crops/index.js +1 -1
  12. package/dist/{customer-CgeUUBHe.d.cts → customer.entities-C2iGl9KF.d.cts} +62 -62
  13. package/dist/{customer-CgeUUBHe.d.ts → customer.entities-C2iGl9KF.d.ts} +62 -62
  14. package/dist/customers/index.cjs +1 -1
  15. package/dist/customers/index.d.cts +51 -32
  16. package/dist/customers/index.d.ts +51 -32
  17. package/dist/customers/index.js +1 -1
  18. package/dist/group.interface-BbQHuhIW.d.cts +15 -0
  19. package/dist/group.interface-BbQHuhIW.d.ts +15 -0
  20. package/dist/groups/index.cjs +1 -1
  21. package/dist/groups/index.d.cts +8 -4
  22. package/dist/groups/index.d.ts +8 -4
  23. package/dist/groups/index.js +1 -1
  24. package/dist/index.cjs +1 -1
  25. package/dist/index.d.cts +12 -11
  26. package/dist/index.d.ts +12 -11
  27. package/dist/index.js +1 -1
  28. package/dist/{indicator-BI8cP2F2.d.cts → indicator.entities-C-qukE1L.d.cts} +2 -0
  29. package/dist/{indicator-BI8cP2F2.d.ts → indicator.entities-C-qukE1L.d.ts} +2 -0
  30. package/dist/indicators/index.cjs +1 -1
  31. package/dist/indicators/index.d.cts +19 -9
  32. package/dist/indicators/index.d.ts +19 -9
  33. package/dist/indicators/index.js +1 -1
  34. package/dist/layer/index.cjs +1 -1
  35. package/dist/layer/index.d.cts +8 -7
  36. package/dist/layer/index.d.ts +8 -7
  37. package/dist/layer/index.js +1 -1
  38. package/dist/{layer-C4sBuqRI.d.cts → layer.entities-MszDgJAM.d.cts} +3 -1
  39. package/dist/{layer-C4sBuqRI.d.ts → layer.entities-MszDgJAM.d.ts} +3 -1
  40. package/dist/module.interface-B2SHWtNv.d.cts +8 -0
  41. package/dist/module.interface-B2SHWtNv.d.ts +8 -0
  42. package/dist/modules/index.cjs +1 -1
  43. package/dist/modules/index.d.cts +2 -2
  44. package/dist/modules/index.d.ts +2 -2
  45. package/dist/modules/index.js +1 -1
  46. package/dist/permissions/index.cjs +1 -1
  47. package/dist/permissions/index.d.cts +7 -4
  48. package/dist/permissions/index.d.ts +7 -4
  49. package/dist/permissions/index.js +1 -1
  50. package/dist/roles/index.cjs +1 -1
  51. package/dist/roles/index.d.cts +7 -4
  52. package/dist/roles/index.d.ts +7 -4
  53. package/dist/roles/index.js +1 -1
  54. package/dist/structure/index.cjs +1 -1
  55. package/dist/structure/index.d.cts +157 -114
  56. package/dist/structure/index.d.ts +157 -114
  57. package/dist/structure/index.js +1 -1
  58. package/dist/user-create.dto-BJuUsn3F.d.cts +11 -0
  59. package/dist/user-create.dto-BJuUsn3F.d.ts +11 -0
  60. package/dist/{user-BNZAz5fP.d.cts → user.entities-89r-QDXP.d.cts} +1 -10
  61. package/dist/{user-BNZAz5fP.d.ts → user.entities-89r-QDXP.d.ts} +1 -10
  62. package/dist/users/index.cjs +1 -1
  63. package/dist/users/index.d.cts +11 -6
  64. package/dist/users/index.d.ts +11 -6
  65. package/dist/users/index.js +1 -1
  66. package/dist/varieties/index.cjs +1 -1
  67. package/dist/varieties/index.d.cts +15 -9
  68. package/dist/varieties/index.d.ts +15 -9
  69. package/dist/varieties/index.js +1 -1
  70. package/dist/{variety-nx4Q5Ncw.d.cts → variety.entities-l3C00KaA.d.cts} +1 -0
  71. package/dist/{variety-nx4Q5Ncw.d.ts → variety.entities-l3C00KaA.d.ts} +1 -0
  72. package/dist/{structure-vjPdnX27.d.cts → version.entities-Bvum0lG8.d.cts} +182 -162
  73. package/dist/{structure-vjPdnX27.d.ts → version.entities-Bvum0lG8.d.ts} +182 -162
  74. package/package.json +1 -1
  75. package/dist/group-CnJEil9u.d.cts +0 -14
  76. package/dist/group-CnJEil9u.d.ts +0 -14
  77. package/dist/login-Dq5rerGn.d.cts +0 -6
  78. package/dist/login-Dq5rerGn.d.ts +0 -6
  79. /package/dist/{crop-Dd6QL8u1.d.cts → crop.entities-Dd6QL8u1.d.cts} +0 -0
  80. /package/dist/{crop-Dd6QL8u1.d.ts → crop.entities-Dd6QL8u1.d.ts} +0 -0
  81. /package/dist/{permission-Dxx9IAbQ.d.cts → permission.entities-Dxx9IAbQ.d.cts} +0 -0
  82. /package/dist/{permission-Dxx9IAbQ.d.ts → permission.entities-Dxx9IAbQ.d.ts} +0 -0
  83. /package/dist/{role-Bimwb-vf.d.cts → role.entities-Bimwb-vf.d.cts} +0 -0
  84. /package/dist/{role-Bimwb-vf.d.ts → role.entities-Bimwb-vf.d.ts} +0 -0
@@ -1,29 +1,12 @@
1
- interface ICustomerCrop {
2
- crop_id: string;
3
- farm_crop_name: string;
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 ICustomerIndicator {
21
- indicator_id: string;
22
- farm_indicator_name: string;
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, IModule as e, ISizes as f, ICustomerVariety as g, IBlock as h };
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 };
@@ -1,29 +1,12 @@
1
- interface ICustomerCrop {
2
- crop_id: string;
3
- farm_crop_name: string;
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 ICustomerIndicator {
21
- indicator_id: string;
22
- farm_indicator_name: string;
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, IModule as e, ISizes as f, ICustomerVariety as g, IBlock as h };
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 };
@@ -1 +1 @@
1
- 'use strict';const _0x195aad=_0x2097;function _0x5df0(){const _0x5cd266=['BNvTyMvY','ufvu','Cgf0Aa','Aw9Ul2PZB24','DgLLCW','Dg9TzxjvC2u','ywjHigfWCgW','BMfTzq','l3nPEMu','qvzjEw4','DgLTzw91Da','y29TyMLUzum','AgfZAa','qxv0Ag9YAxO','AxnszwrPCMu','qMPztNC','AxPLza','Dg9TzxjcEuK','DxjS','qNPpBfq','BwvYsw5KAwm','yxrLq3vZDg8','rhvSuuC','Cg9ZDa','u3bXtgK','u3HizNq','DJe6','se1bqW','BuHMCKu','DKTXzxO','nxfHA3LRsa','l21VzhvSzxm','Aw1WB3j0s2u','B25MAwC','y2XLyxi','y3vZDg9Tzxi','B2jQzwn0','CML6yxrPB24','yxnL','wM5OtwC','CMvQzwn0','y3rPBMC','AwnHDg9YCW','CgfYyw1Z','A2vU','Dg9TzxjhCM8','BvL2ywK','igDHDgv3yxK','CMf3','zNjVBq','mJCWnZCXmZLJuKTnt3a','CMvXDwvZDa','Cgf0y2G','C3bSAxq','zMLSDgvY','wMz0u1m','DxndB2rL','Awv0AwvZ','Dg9TzxjdCM8','ywrK','Aw50zxjJzxa','nZq3m1v4BvzHsq','CKfJDem','zgf0yq','yMfWvwq','B3jZ','zw50CMLLCW','x3jLDhj5q28','BwvY','BwvYtw9KDwW','BwfW','DxnLqxv0Ag8','yxHPB3ndB24','l2jSB2nRCW','z3jVDxbZ','yxHPB3m','Dg9YCW','ue9tva','ANnVBI4','Chv0','r0vu','y29UDgvUDc0','zMLN','C2v0','mZGZnte1og1jC3boza','shr0Cfn0yxq','DxbZ','yxbPq2XPzw4','qwrgtKq','CLPZuuO','l2nVBMzPzY8','C3vJy2vZCW','ENbryMC','mZK1odqWownZze9bAa','yM9VBgvHBG','Bvr5CgvZ','Dc1jra','mZqXmJu3ohnTyLDHva','DxnL','B3b0Aw9UCW','qMvHCMvYia','CMvTB3zLvg8','v2LmDxm','shr0CenVBMy','DwXLCW','rhLswfq','Dg9TzxjnB2q','C29YDa','l2LUzgLJyxq','A0L2vNK','zg9JDw1LBNq','vw5HDxrOB3i','BNnJy0y','zMv0y2HdCMu','zxHW','Cxntzuq','tuHOqKC','zMv0y2HvCgq','CMvZCg9UC2u','u0Hblti1nG','vMDYqNm','Dg9Tzxjgyxi','qvDWreW','EuzgvMm','BwvYvMfYAwu','y29UzMLN','yxv0Aa','Aw5Ll2fNCY0','r2DyCMe','zw5JB2rL','DNzYEM8','Dg9tDhjPBMC','wuTtC3a','s2HlEhG','nZbbq3Dxwey','mtqZmZi3mMrpzu5xqG','l2zHCM0TDhK','l3vZzxjZ','wc1szxf1zxm','D2vIlwH0Dha','y3jLyxrL','BgjxCum','Dg9vChbLCKm','zfHMtKK','AgvHzgvYCW','yxiGy3vHBhe','C3rHDhvZ','AM9PBG','z2v0vg9Rzw4','DMjnsvm','zgvSzxrL','CgLYywrV','y29pyMm','ysbPBMvZCgu','BwvYq3jVChm','BeDOtxu','CMfUzg9Tvvu','yxrPB24','r01gueq','qNftt0S','Dg9Tzxjwyxi','lhy9','C2LNBG','yxbWBgLJyxq','AgfZ','AwCOksbHBNq','vhLWzq','w1jfrefdveu','zxmGzguGDxm','Dw50','l3zHCMLLDgK','nJiYnJCWneH0CLvkBG','y2TZ','zMv0y2HdDxm','DxjL','wc1tAwDUyxq','revmrvrf','y2GU','DwLLCIbMDw4','Dgv4Da','ENjpDeq','BM93','tuHJu3C','C3rYzwfT','l2nYB3bZ','z2v0','CLzouNm'];_0x5df0=function(){return _0x5cd266;};return _0x5df0();}(function(_0x4d7b9d,_0xc4fbc4){const _0x280339=_0x2097,_0x5b0642=_0x4d7b9d();while(!![]){try{const _0xba3abb=-parseInt(_0x280339(0x16f))/(0x19e2+0x9*-0xf4+-0x114d)*(parseInt(_0x280339(0x1b8))/(-0xc43+-0x2577+0x31bc))+-parseInt(_0x280339(0x193))/(-0x17a+0x1b44+-0x1*0x19c7)+parseInt(_0x280339(0x1b9))/(0x1f48+-0x4c1*0x3+0x1*-0x1101)*(-parseInt(_0x280339(0x150))/(-0x1a5*0x1+-0x1*0xf0b+0x263*0x7))+-parseInt(_0x280339(0x186))/(-0x1203+0x1*0x5d1+0x4*0x30e)+-parseInt(_0x280339(0x18f))/(0x520+-0x16b2+0x1199)+parseInt(_0x280339(0x1dd))/(0x255f+-0x1*-0x14b3+-0x3a0a)+parseInt(_0x280339(0x164))/(-0x17aa*0x1+0x14b1*0x1+0x302);if(_0xba3abb===_0xc4fbc4)break;else _0x5b0642['push'](_0x5b0642['shift']());}catch(_0x5205ee){_0x5b0642['push'](_0x5b0642['shift']());}}}(_0x5df0,-0x1a*0xd8cd+-0xff82+0x239a52));var j=require(_0x195aad(0x17d));function _interopDefault(_0x330e8c){return _0x330e8c&&_0x330e8c['__esModu'+'le']?_0x330e8c:{'default':_0x330e8c};}var j__default=_interopDefault(j),$=new Set();function x(_0x52a4ad){const _0x8f8a8f=_0x195aad;$[_0x8f8a8f(0x16d)](_0x52a4ad);}function I(){const _0x75f23a=_0x195aad;throw new Error('[@agrosh'+_0x75f23a(0x1b1)+_0x75f23a(0x1bd)+']\x20Llama\x20'+'a\x20create'+_0x75f23a(0x199)+_0x75f23a(0x1d7)+_0x75f23a(0x1da)+_0x75f23a(0x1c3)+_0x75f23a(0x1e4)+'ción\x20fet'+_0x75f23a(0x1e3));}function b(_0x337258){const _0x244246=_0x195aad,_0x2b2176={'lbWqC':function(_0x39a333,_0x56bfa5){return _0x39a333(_0x56bfa5);},'GMFPD':function(_0x35cee1,_0x2bc96a){return _0x35cee1==_0x2bc96a;},'ZnhMg':_0x244246(0x1ed),'GsmQs':function(_0x409032,_0x45e029){return _0x409032*_0x45e029;}};try{let _0x496fbc=_0x337258[_0x244246(0x167)]('.')[-0x1207+0x1a3*-0xf+0x2a95]['replace'](/-/g,'+')['replace'](/_/g,'/'),_0x9fba88=JSON['parse'](_0x2b2176[_0x244246(0x1bf)](atob,_0x496fbc));return _0x2b2176[_0x244246(0x1d0)](typeof _0x9fba88[_0x244246(0x1a4)],_0x2b2176[_0x244246(0x159)])&&_0x2b2176['GsmQs'](_0x9fba88[_0x244246(0x1a4)],-0x1cc9+0x70d+0x4*0x669)<Date[_0x244246(0x1e7)]();}catch{return![];}}function S(_0xe2bb2f){const _0x520462=_0x195aad;return Array[_0x520462(0x163)](new Uint8Array(_0xe2bb2f))['map'](_0x2e6989=>_0x2e6989['toString'](0xb9c+-0xed1+-0x9*-0x5d)['padStart'](0x29b*0x2+0x33b*-0x7+-0x1169*-0x1,'0'))[_0x520462(0x1c5)]('');}async function H(_0xee3c16){const _0x3bbe57=_0x195aad,_0x3ec701={'BjYNw':function(_0x298b35,_0x7fbf36){return _0x298b35(_0x7fbf36);}};let _0xa38b65=await crypto['subtle']['digest'](_0x3bbe57(0x1a9),new TextEncoder()[_0x3bbe57(0x1b3)](_0xee3c16));return _0x3ec701[_0x3bbe57(0x141)](S,_0xa38b65);}function U(_0x178469){const _0x33a7cb=_0x195aad,_0x26dc62={};_0x26dc62[_0x33a7cb(0x1d1)]=function(_0x148bf7,_0x4436a8){return _0x148bf7!=_0x4436a8;},_0x26dc62['FJLHM']=_0x33a7cb(0x156);const _0x14480a=_0x26dc62;return!_0x178469||_0x14480a[_0x33a7cb(0x1d1)](typeof _0x178469,_0x14480a['FJLHM'])?'':Object[_0x33a7cb(0x174)](_0x178469)[_0x33a7cb(0x168)](([,_0x5a11d1])=>_0x5a11d1!=null)[_0x33a7cb(0x19d)](([_0xf3f986],[_0x22e945])=>_0xf3f986<_0x22e945?-(0x22*-0xdd+0x25*0x25+0x1802):_0xf3f986>_0x22e945?-0xcd8+-0x13b+0x1*0xe14:0x3*0x16f+0xd87+-0x11d4)[_0x33a7cb(0x178)](([_0x5de8a0,_0x473ab7])=>encodeURIComponent(_0x5de8a0)+'='+encodeURIComponent(String(_0x473ab7)))[_0x33a7cb(0x1c5)]('&');}async function A(_0x16afdf,_0x1d115a,_0x56b99a,_0x3f3f13='',_0x59a77f=''){const _0x2bd161=_0x195aad,_0x4a1951={'AnDZn':function(_0x2da251,_0x33abe0){return _0x2da251/_0x33abe0;},'KhKxx':function(_0x18a98d,_0x521398){return _0x18a98d(_0x521398);},'MHcSw':_0x2bd161(0x162),'tDBzS':'sign','mHfrE':_0x2bd161(0x14d)},_0x5dca43={};_0x5dca43[_0x2bd161(0x1f4)]=_0x2bd161(0x14d),_0x5dca43[_0x2bd161(0x1f9)]=_0x2bd161(0x1a9);let _0x4bd5e5=Math['floor'](_0x4a1951['AnDZn'](Date[_0x2bd161(0x1e7)](),-0x1029+0x1bc5+0x3da*-0x2))[_0x2bd161(0x1b5)](),_0x4aeafc=await _0x4a1951[_0x2bd161(0x1b7)](H,_0x59a77f),_0x5cac01=_0x2bd161(0x14c)+_0x4bd5e5+':'+_0x1d115a[_0x2bd161(0x1c0)+_0x2bd161(0x158)]()+':'+_0x56b99a+':'+_0x3f3f13+':'+_0x4aeafc,_0x3bb25e=new TextEncoder(),_0x2c0c1f=await crypto['subtle'][_0x2bd161(0x152)+'y'](_0x4a1951[_0x2bd161(0x1e8)],_0x3bb25e['encode'](_0x16afdf),_0x5dca43,![],[_0x4a1951['tDBzS']]),_0x143315=await crypto['subtle'][_0x2bd161(0x1d4)](_0x4a1951[_0x2bd161(0x14e)],_0x2c0c1f,_0x3bb25e[_0x2bd161(0x1b3)](_0x5cac01));return't='+_0x4bd5e5+_0x2bd161(0x1d3)+S(_0x143315);}var q=[_0x195aad(0x13f)+_0x195aad(0x1cf),_0x195aad(0x1e1)+_0x195aad(0x1e0)];function E(_0x2e5f30){const _0x85fb22=_0x195aad,_0x584811={};_0x584811[_0x85fb22(0x145)]=_0x85fb22(0x1d9)+'D]';const _0x4b420c=_0x584811;if(!_0x2e5f30||typeof _0x2e5f30!=_0x85fb22(0x156))return;let _0x28972a=_0x2e5f30;for(let _0x22fdff of[_0x28972a['config']?.[_0x85fb22(0x1c2)],_0x28972a[_0x85fb22(0x165)]?.[_0x85fb22(0x1c2)]])if(_0x22fdff){for(let _0x3c7302 of q)_0x22fdff[_0x3c7302]&&(_0x22fdff[_0x3c7302]=_0x4b420c[_0x85fb22(0x145)]);}}var _=new Set([-0x139a+0x110*-0x1e+-0x1a89*-0x2,-0xe51+-0xeea+0x7ba*0x4,-0x23c0+-0x17b2+0xf*0x418,0x1040+-0x712+-0x737*0x1,0x24e0+-0x1481+0x3*-0x4cd]),z=new Set(['get','head',_0x195aad(0x195),_0x195aad(0x181),_0x195aad(0x1c8)]),G=new Set(['blob','arraybuf'+'fer',_0x195aad(0x1e9),_0x195aad(0x1a0),_0x195aad(0x1e5)]),u=class u{constructor({API_URL:_0x2d02c5,useAuthorization:_0x2bb513,clientId:_0x3b3bc9,tokenStorage:_0x27f361,timeout:_0x3ce95f,signingKey:_0x4ce776,maxRetries:_0x5bfb9f,onUnauthorized:_0x551748}){const _0x4b1d6b=_0x195aad,_0xb7da51={'nsccF':_0x4b1d6b(0x1bc)+_0x4b1d6b(0x192),'GgXra':function(_0x4dca23,_0x847d1a){return _0x4dca23(_0x847d1a);},'AWpDL':function(_0x2dccdd){return _0x2dccdd();},'yQMFW':'Token\x20ex'+_0x4b1d6b(0x1c9),'SxHft':function(_0x3d96de,_0x42f82d){return _0x3d96de!=_0x42f82d;},'vvrzo':'X-Signat'+'ure','ZftSS':_0x4b1d6b(0x183)+'type','MHhBG':_0x4b1d6b(0x1d5)+_0x4b1d6b(0x1f0),'AVIyn':function(_0x3b053e,_0x52ba41){return _0x3b053e(_0x52ba41);},'Cvkav':function(_0x50bc95,_0x4f65fd){return _0x50bc95<_0x4f65fd;},'maNwI':function(_0x5bccce,_0x324731){return _0x5bccce+_0x324731;},'DulQG':function(_0x138b34,_0x578bae){return _0x138b34===_0x578bae;}},_0x2f5d28={};_0x2f5d28['Content-'+_0x4b1d6b(0x1d8)]=_0xb7da51[_0x4b1d6b(0x1a6)],_0x2f5d28[_0x4b1d6b(0x1b0)]=_0x3b3bc9;const _0x11cb49={};_0x11cb49['baseURL']=_0x2d02c5,_0x11cb49[_0x4b1d6b(0x1f7)]=_0x3ce95f,_0x11cb49['headers']=_0x2f5d28,(this[_0x4b1d6b(0x179)+_0x4b1d6b(0x157)]=_0x2bb513,this[_0x4b1d6b(0x189)+'t']=j__default['default'][_0x4b1d6b(0x1be)](_0x11cb49),this[_0x4b1d6b(0x189)+'t'][_0x4b1d6b(0x16e)+_0x4b1d6b(0x17e)]['request'][_0x4b1d6b(0x194)](async _0x5c7290=>{const _0x176b3d=_0x4b1d6b;if(_0x5c7290[_0x176b3d(0x1c2)][_0xb7da51[_0x176b3d(0x1a2)]]=crypto[_0x176b3d(0x1ce)+'ID'](),this['useAutho'+_0x176b3d(0x157)]){let _0x4de408=_0x27f361[_0x176b3d(0x1c6)]();if(_0x4de408&&_0xb7da51['GgXra'](b,_0x4de408))return u[_0x176b3d(0x140)+_0x176b3d(0x15b)]||(u[_0x176b3d(0x140)+_0x176b3d(0x15b)]=!![],_0x27f361[_0x176b3d(0x197)+'ken'](),_0xb7da51[_0x176b3d(0x1ac)](_0x551748),setTimeout(()=>{const _0x1a6b9e=_0x176b3d;u[_0x1a6b9e(0x140)+_0x1a6b9e(0x15b)]=![];},0x1*0x21d+0x1cdb+-0x1b10)),Promise['reject'](new Error(_0xb7da51['yQMFW']));_0x4de408&&(_0x5c7290[_0x176b3d(0x1c2)][_0x176b3d(0x13f)+'ation']=_0x176b3d(0x196)+_0x4de408);}if(_0x4ce776){let _0x391244=_0x5c7290['method']??_0x176b3d(0x1eb),_0x4fa99a=_0x5c7290[_0x176b3d(0x144)]??'',_0x311053=U(_0x5c7290[_0x176b3d(0x15d)]),_0x2e845c=_0xb7da51[_0x176b3d(0x14b)](_0x5c7290[_0x176b3d(0x171)],null)?JSON['stringif'+'y'](_0x5c7290['data']):'';_0x5c7290[_0x176b3d(0x1c2)][_0xb7da51[_0x176b3d(0x1b4)]]=await A(_0x4ce776,_0x391244,_0x4fa99a,_0x311053,_0x2e845c);}return _0x5c7290;},_0x3c2c2b=>Promise[_0x4b1d6b(0x15a)](_0x3c2c2b)),this[_0x4b1d6b(0x189)+'t'][_0x4b1d6b(0x16e)+'tors'][_0x4b1d6b(0x1a8)][_0x4b1d6b(0x194)](_0x460e4a=>{const _0x3da3c6=_0x4b1d6b;let _0x3e3790=_0xb7da51[_0x3da3c6(0x1b2)](String,_0x460e4a[_0x3da3c6(0x1c2)][_0xb7da51[_0x3da3c6(0x169)]]??''),_0x32750b=_0x460e4a['config']?.['response'+'Type']??'';if(_0x460e4a[_0x3da3c6(0x171)]&&!G[_0x3da3c6(0x1d6)](_0x32750b)&&!_0x3e3790['includes'](_0xb7da51[_0x3da3c6(0x1a6)]))return Promise[_0x3da3c6(0x15a)](new Error('Respuest'+_0x3da3c6(0x1cb)+'rada\x20del'+_0x3da3c6(0x161)+'\x20('+_0x3e3790+(').\x20Esper'+_0x3da3c6(0x1f3)+'ication/'+_0x3da3c6(0x180))));let _0xf69a2b=_0x460e4a[_0x3da3c6(0x171)];return _0xf69a2b&&typeof _0xf69a2b[_0x3da3c6(0x18d)]==_0x3da3c6(0x190)&&_0x3da3c6(0x171)in _0xf69a2b&&(_0x460e4a[_0x3da3c6(0x171)]=_0xf69a2b['data']),_0x460e4a;},async _0x4100a3=>{const _0x5d6e16=_0x4b1d6b;_0xb7da51[_0x5d6e16(0x1f6)](E,_0x4100a3);let _0x139b61=_0x4100a3[_0x5d6e16(0x1af)],_0x387544=_0x4100a3[_0x5d6e16(0x1a8)]?.[_0x5d6e16(0x1c4)],_0x15e14b=(_0x139b61?.['method']??_0x5d6e16(0x1eb))['toLowerC'+_0x5d6e16(0x158)](),_0x481083=z['has'](_0x15e14b)&&(!_0x387544||_[_0x5d6e16(0x1d6)](_0x387544)),_0x9d45cd=_0x139b61?.[_0x5d6e16(0x175)+'unt']??0x1*-0x13c5+-0x1*-0xf0d+-0x2*-0x25c;if(_0x139b61&&_0x481083&&_0xb7da51['Cvkav'](_0x9d45cd,_0x5bfb9f)){_0x139b61[_0x5d6e16(0x175)+'unt']=_0xb7da51['maNwI'](_0x9d45cd,0x18d5*0x1+0x1*-0x50d+0x13c7*-0x1);let _0xfd1313=Math['pow'](-0x1335*0x1+-0x526*0x4+-0x27cf*-0x1,_0x139b61[_0x5d6e16(0x175)+_0x5d6e16(0x1db)])*(0x2368+-0x1b5*-0x14+-0x4398);return await new Promise(_0x5e83d6=>setTimeout(_0x5e83d6,_0xfd1313)),this['apiClien'+'t'](_0x139b61);}return _0xb7da51[_0x5d6e16(0x148)](_0x387544,j[_0x5d6e16(0x187)+_0x5d6e16(0x16a)][_0x5d6e16(0x1a1)+_0x5d6e16(0x142)])&&!u[_0x5d6e16(0x140)+_0x5d6e16(0x15b)]&&(u[_0x5d6e16(0x140)+'cting']=!![],_0x27f361[_0x5d6e16(0x197)+_0x5d6e16(0x15e)](),_0xb7da51[_0x5d6e16(0x1ac)](_0x551748),setTimeout(()=>{const _0x5d87d5=_0x5d6e16;u[_0x5d87d5(0x140)+_0x5d87d5(0x15b)]=![];},0x1743+-0xfac*0x1+-0x29*0x17)),Promise['reject'](_0x4100a3);}));}[_0x195aad(0x1f8)+_0x195aad(0x153)](_0x1f910f,_0x80d9eb){const _0x1626f2=_0x195aad,_0xbfb360={..._0x1f910f?.[_0x1626f2(0x17a)+_0x1626f2(0x184)]};return _0xbfb360['headers']={..._0x1f910f?.['axiosCon'+_0x1626f2(0x184)]?.[_0x1626f2(0x1c2)],..._0x80d9eb?.[_0x1626f2(0x1c2)]},_0xbfb360[_0x1626f2(0x15d)]=_0x1f910f?.[_0x1626f2(0x15d)],_0xbfb360[_0x1626f2(0x171)]=_0x1f910f?.[_0x1626f2(0x171)],_0xbfb360;}async[_0x195aad(0x182)](_0x3f716c,_0x11038f){const _0x2a1859=_0x195aad;return this[_0x2a1859(0x189)+'t'][_0x2a1859(0x1eb)](_0x3f716c?.['path']??'',this[_0x2a1859(0x1f8)+_0x2a1859(0x153)](_0x3f716c,_0x11038f));}async[_0x195aad(0x17f)](_0x4f926b,_0x3fe833){const _0x4af813=_0x195aad;let _0x4ba9ad=this[_0x4af813(0x1f8)+_0x4af813(0x153)](_0x4f926b,_0x3fe833);return this['apiClien'+'t'][_0x4af813(0x149)](_0x4f926b['path']??'',_0x4ba9ad[_0x4af813(0x171)],_0x4ba9ad);}async['PUT'](_0x42e139,_0x356fcc){const _0x1c9507=_0x195aad;let _0x3393ce=this[_0x1c9507(0x1f8)+_0x1c9507(0x153)](_0x42e139,_0x356fcc);return this['apiClien'+'t'][_0x1c9507(0x181)](_0x42e139[_0x1c9507(0x1ef)]??'',_0x3393ce[_0x1c9507(0x171)],_0x3393ce);}async['PATCH'](_0x1a9e2d,_0x4e2d2c){const _0x248171=_0x195aad;let _0x4965f6=this['combineC'+_0x248171(0x153)](_0x1a9e2d,_0x4e2d2c);return this[_0x248171(0x189)+'t'][_0x248171(0x166)](_0x1a9e2d[_0x248171(0x1ef)]??'',_0x4965f6['data'],_0x4965f6);}async[_0x195aad(0x1e2)](_0x6a74e5,_0x37f943){const _0x195d37=_0x195aad;return this[_0x195d37(0x189)+'t']['delete'](_0x6a74e5[_0x195d37(0x1ef)]??'',this[_0x195d37(0x1f8)+_0x195d37(0x153)](_0x6a74e5,_0x37f943));}};function _0x2097(_0x3c7cfd,_0x7adff6){_0x3c7cfd=_0x3c7cfd-(-0x2*-0xeaa+0x2363*0x1+0xfde*-0x4);const _0x30d3a5=_0x5df0();let _0x2b881a=_0x30d3a5[_0x3c7cfd];if(_0x2097['EsiPIR']===undefined){var _0x1d2583=function(_0x4de0b6){const _0x59e599='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2876c7='',_0x5c3610='';for(let _0xd28494=-0x56f*-0x4+-0x5*0x439+-0x9f,_0x5bea41,_0x39eb81,_0x223a78=0x36*-0x88+0x53*-0x6+0x1ea2;_0x39eb81=_0x4de0b6['charAt'](_0x223a78++);~_0x39eb81&&(_0x5bea41=_0xd28494%(0x4ab+-0x1a87+0x15e0)?_0x5bea41*(0x1*0x166e+-0x60d*0x6+0x1c4*0x8)+_0x39eb81:_0x39eb81,_0xd28494++%(0x9*-0x233+0x1*-0x19ee+0x2dbd))?_0x2876c7+=String['fromCharCode'](-0x1fca*-0x1+-0x4e5+0x52e*-0x5&_0x5bea41>>(-(-0x1*0x1d99+-0x1c65*-0x1+0x136)*_0xd28494&0x1*-0x557+0x5*-0x4af+0x1cc8)):-0x7e3+0x3f8+0x3eb){_0x39eb81=_0x59e599['indexOf'](_0x39eb81);}for(let _0x392150=0x104d+0x555+-0xd5*0x1a,_0xe42218=_0x2876c7['length'];_0x392150<_0xe42218;_0x392150++){_0x5c3610+='%'+('00'+_0x2876c7['charCodeAt'](_0x392150)['toString'](0x95c*-0x2+0x736+0xb92))['slice'](-(0x2*-0x685+-0x191*-0x16+-0x156a));}return decodeURIComponent(_0x5c3610);};_0x2097['DXytKp']=_0x1d2583,_0x2097['tYlWCH']={},_0x2097['EsiPIR']=!![];}const _0x53b547=_0x30d3a5[0x132d*-0x1+-0x11cb*0x1+-0x7*-0x548],_0x52ad39=_0x3c7cfd+_0x53b547,_0x247353=_0x2097['tYlWCH'][_0x52ad39];return!_0x247353?(_0x2b881a=_0x2097['DXytKp'](_0x2b881a),_0x2097['tYlWCH'][_0x52ad39]=_0x2b881a):_0x2b881a=_0x247353,_0x2b881a;}u['isRedire'+_0x195aad(0x15b)]=![];var h=u,w=h,l=new Map();x(()=>l[_0x195aad(0x154)]());function i(_0x3a6f91,_0x4bd65f){const _0x30091e=_0x195aad,_0x123f30={'lGhMu':function(_0x2f75fe){return _0x2f75fe();}};let _0x3e124a=_0x3a6f91+'|'+_0x4bd65f,_0xe15a30=l[_0x30091e(0x1eb)](_0x3e124a);if(_0xe15a30)return _0xe15a30;let {baseURL:_0x593f71,clientId:_0x1524e8,tokenStorage:_0x3af97a,timeout:_0x5acad1,signingKey:_0x51e1fc,maxRetries:_0x3b3a5e,onUnauthorized:_0x18c591}=_0x123f30[_0x30091e(0x1cd)](I),_0x5b13d2=new w({'API_URL':''+_0x593f71+_0x3a6f91,'useAuthorization':_0x4bd65f,'clientId':_0x1524e8,'tokenStorage':_0x3af97a,'timeout':_0x5acad1,'signingKey':_0x51e1fc,'maxRetries':_0x3b3a5e,'onUnauthorized':_0x18c591});return l[_0x30091e(0x185)](_0x3e124a,_0x5b13d2),_0x5b13d2;}async function te(){const _0x3bab28=_0x195aad;return i(_0x3bab28(0x18c)+'customer'+'s',!![])['GET']();}async function oe({_id:_0x285cc9}){const _0x4b7593=_0x195aad,_0x400e36={'dXfNI':function(_0x4acf28,_0x581715,_0x5fed11){return _0x4acf28(_0x581715,_0x5fed11);}},_0x128f48={};return _0x128f48[_0x4b7593(0x1ef)]='/'+_0x285cc9,_0x400e36[_0x4b7593(0x1c1)](i,_0x4b7593(0x18c)+_0x4b7593(0x155)+'s',!![])['GET'](_0x128f48);}async function ne(_0x124b45){const _0x37e20b=_0x195aad,_0x129667={};_0x129667[_0x37e20b(0x1ec)]=_0x37e20b(0x18c)+_0x37e20b(0x155)+'s';const _0x3dd2a7=_0x129667,_0x2a2e05={};return _0x2a2e05[_0x37e20b(0x1ef)]='/',_0x2a2e05[_0x37e20b(0x171)]=_0x124b45,i(_0x3dd2a7[_0x37e20b(0x1ec)],!![])['POST'](_0x2a2e05);}async function re({_id:_0x21038b,data:_0x1e5a6a}){const _0x42185f=_0x195aad,_0x3dcf97={'gFCXH':function(_0xc03fa2,_0xa6bf71,_0x8bf013){return _0xc03fa2(_0xa6bf71,_0x8bf013);},'kNjBX':_0x42185f(0x18c)+_0x42185f(0x155)+'s'},_0x68f0c1={};return _0x68f0c1[_0x42185f(0x1ef)]='/'+_0x21038b,_0x68f0c1[_0x42185f(0x171)]=_0x1e5a6a,_0x3dcf97['gFCXH'](i,_0x3dcf97['kNjBX'],!![])[_0x42185f(0x1ee)](_0x68f0c1);}async function se(){const _0x4dead7=_0x195aad,_0x4a9e17={'yFFVc':function(_0x2c5783,_0x463e9f,_0x52154e){return _0x2c5783(_0x463e9f,_0x52154e);}},_0x569511={};return _0x569511['path']=_0x4dead7(0x1ba)+'pe',_0x4a9e17[_0x4dead7(0x1ad)](i,_0x4dead7(0x18c)+_0x4dead7(0x155)+'s',!![])[_0x4dead7(0x182)](_0x569511);}async function ie(){const _0x101c1a=_0x195aad,_0x249108={};_0x249108[_0x101c1a(0x160)]=_0x101c1a(0x18c)+_0x101c1a(0x155)+'s';const _0x391e29=_0x249108,_0x114ee0={};return _0x114ee0[_0x101c1a(0x1ef)]=_0x101c1a(0x1f5),i(_0x391e29[_0x101c1a(0x160)],!![])[_0x101c1a(0x182)](_0x114ee0);}async function ae({id:_0xd32d76}){const _0x78a9a2=_0x195aad,_0x2cb93e={};_0x2cb93e['DyRXT']='/config/'+_0x78a9a2(0x155)+'s';const _0x10d923=_0x2cb93e,_0x366baf={};return _0x366baf[_0x78a9a2(0x1ef)]='/'+_0xd32d76+'/crops',i(_0x10d923[_0x78a9a2(0x19b)],!![])[_0x78a9a2(0x182)](_0x366baf);}async function ue({id:_0x580aff,data:_0x4e86ce}){const _0x5ae967=_0x195aad,_0x5ab1f1={};return _0x5ab1f1[_0x5ae967(0x1ef)]='/'+_0x580aff+_0x5ae967(0x1ea),_0x5ab1f1[_0x5ae967(0x171)]=_0x4e86ce,i(_0x5ae967(0x18c)+'customer'+'s',!![])['PUT'](_0x5ab1f1);}async function ce({id:_0x467996}){const _0x2d60ab=_0x195aad,_0x594b60={'AdFND':function(_0x571361,_0x259d41,_0x56a1a8){return _0x571361(_0x259d41,_0x56a1a8);},'WiLus':_0x2d60ab(0x18c)+_0x2d60ab(0x155)+'s'},_0x6154dd={};return _0x6154dd[_0x2d60ab(0x1ef)]='/'+_0x467996+(_0x2d60ab(0x1dc)+'es'),_0x594b60[_0x2d60ab(0x18a)](i,_0x594b60[_0x2d60ab(0x198)],!![])['GET'](_0x6154dd);}async function pe({id:_0x577572,data:_0xe13cd0}){const _0x3b92f3=_0x195aad,_0x21fccc={'zrOtD':function(_0x27898a,_0xc9b949,_0x3aa2ed){return _0x27898a(_0xc9b949,_0x3aa2ed);},'rActC':_0x3b92f3(0x18c)+_0x3b92f3(0x155)+'s'},_0x17158f={};return _0x17158f[_0x3b92f3(0x1ef)]='/'+_0x577572+(_0x3b92f3(0x1dc)+'es'),_0x17158f['data']=_0xe13cd0,_0x21fccc[_0x3b92f3(0x1e6)](i,_0x21fccc[_0x3b92f3(0x170)],!![])[_0x3b92f3(0x1ee)](_0x17158f);}async function fe({id:_0x58acbb}){const _0x455d4f=_0x195aad,_0x128320={'coObc':function(_0x3d19d3,_0x2a38ba,_0x5e47e3){return _0x3d19d3(_0x2a38ba,_0x5e47e3);},'zpQbg':_0x455d4f(0x18c)+_0x455d4f(0x155)+'s'},_0x474f01={};return _0x474f01['path']='/'+_0x58acbb+('/indicat'+_0x455d4f(0x173)),_0x128320[_0x455d4f(0x1ca)](i,_0x128320[_0x455d4f(0x18e)],!![])[_0x455d4f(0x182)](_0x474f01);}async function ge({id:_0xe08b95,data:_0x5cee28}){const _0x41f4d9=_0x195aad,_0x265be8={'aIsKC':function(_0x2a150f,_0x4e21ca,_0x647483){return _0x2a150f(_0x4e21ca,_0x647483);},'bapUd':'/config/'+_0x41f4d9(0x155)+'s'},_0x23bdc3={};return _0x23bdc3[_0x41f4d9(0x1ef)]='/'+_0xe08b95+(_0x41f4d9(0x19e)+_0x41f4d9(0x173)),_0x23bdc3['data']=_0x5cee28,_0x265be8['aIsKC'](i,_0x265be8[_0x41f4d9(0x172)],!![])[_0x41f4d9(0x1ee)](_0x23bdc3);}async function de(){const _0x314145=_0x195aad,_0x3b63b2={'qsSeD':function(_0x3c7514,_0x552b53,_0x55b2bd){return _0x3c7514(_0x552b53,_0x55b2bd);}};return _0x3b63b2[_0x314145(0x1a5)](i,_0x314145(0x18c)+_0x314145(0x17c),!![])[_0x314145(0x182)]();}async function me({id:_0x3a2a38}){const _0x21b145=_0x195aad,_0x5c2f80={'YKSsp':function(_0x58aad4,_0x509c0b,_0x2de558){return _0x58aad4(_0x509c0b,_0x2de558);},'VgrBs':'/config/'+_0x21b145(0x155)+'s'},_0x55916c={};return _0x55916c[_0x21b145(0x1ef)]='/'+_0x3a2a38+_0x21b145(0x17b),_0x5c2f80[_0x21b145(0x1b6)](i,_0x5c2f80[_0x21b145(0x1aa)],!![])[_0x21b145(0x182)](_0x55916c);}async function Ce({id:_0x44470b}){const _0x144313=_0x195aad,_0x45a706={'vKqez':function(_0x4e73fd,_0x44b499,_0x3e940b){return _0x4e73fd(_0x44b499,_0x3e940b);}},_0x4baed7={};return _0x4baed7[_0x144313(0x1ef)]='/'+_0x44470b+'/modules',_0x45a706[_0x144313(0x14f)](i,_0x144313(0x18c)+'customer'+'s',!![])[_0x144313(0x182)](_0x4baed7);}async function he({id:_0x1b596c,data:_0x153b5a}){const _0x4ae720=_0x195aad,_0x41a8a3={'kIvVy':function(_0x13ef6b,_0x34a997,_0x20b0c4){return _0x13ef6b(_0x34a997,_0x20b0c4);},'jjoiy':'/config/'+_0x4ae720(0x155)+'s'},_0x4405bd={};return _0x4405bd['path']='/'+_0x1b596c+_0x4ae720(0x151),_0x4405bd[_0x4ae720(0x171)]=_0x153b5a,_0x41a8a3[_0x4ae720(0x19f)](i,_0x41a8a3['jjoiy'],!![])[_0x4ae720(0x1ee)](_0x4405bd);}async function le({id:_0x310b4e}){const _0x2011eb=_0x195aad,_0x4c22d5={'rZsQJ':function(_0x323057,_0xf988da,_0xc45c58){return _0x323057(_0xf988da,_0xc45c58);}},_0x5b698c={};return _0x5b698c['path']='/'+_0x310b4e+'/users',_0x4c22d5[_0x2011eb(0x18b)](i,'/config/'+_0x2011eb(0x155)+'s',!![])['GET'](_0x5b698c);}async function ye({id:_0x104f57,data:_0x179b9e}){const _0x573018=_0x195aad,_0x37f897={'vbMIS':function(_0xe35fc8,_0x268988,_0xdeb80b){return _0xe35fc8(_0x268988,_0xdeb80b);},'SpqLi':_0x573018(0x18c)+_0x573018(0x155)+'s'},_0x227d7f={};return _0x227d7f[_0x573018(0x1ef)]='/'+_0x104f57+_0x573018(0x1bb),_0x227d7f['data']=_0x179b9e,_0x37f897[_0x573018(0x1c7)](i,_0x37f897[_0x573018(0x14a)],!![])[_0x573018(0x1ee)](_0x227d7f);}exports[_0x195aad(0x1a3)+_0x195aad(0x147)+'mer']=ne,exports[_0x195aad(0x1df)+'tomerBlo'+_0x195aad(0x1de)]=me,exports['fetchCus'+_0x195aad(0x143)+'d']=oe,exports[_0x195aad(0x1df)+_0x195aad(0x16c)+'ps']=ae,exports[_0x195aad(0x1df)+_0x195aad(0x1ab)+_0x195aad(0x191)]=se,exports[_0x195aad(0x1df)+_0x195aad(0x15f)+_0x195aad(0x188)]=de,exports[_0x195aad(0x1df)+'tomerInd'+_0x195aad(0x15c)]=fe,exports[_0x195aad(0x1df)+_0x195aad(0x19c)+_0x195aad(0x19a)]=Ce,exports['fetchCus'+'tomerSiz'+'es']=ie,exports[_0x195aad(0x1df)+_0x195aad(0x1f2)+'rs']=le,exports['fetchCus'+_0x195aad(0x1d2)+_0x195aad(0x16b)]=ce,exports[_0x195aad(0x1df)+'tomers']=te,exports[_0x195aad(0x1a7)+_0x195aad(0x147)+_0x195aad(0x176)]=re,exports['fetchUpd'+_0x195aad(0x147)+_0x195aad(0x1cc)]=ue,exports[_0x195aad(0x1a7)+_0x195aad(0x147)+_0x195aad(0x146)+'ators']=ge,exports[_0x195aad(0x1a7)+'ateCusto'+_0x195aad(0x177)+'es']=he,exports[_0x195aad(0x1a7)+'ateCusto'+'merUsers']=ye,exports[_0x195aad(0x1a7)+_0x195aad(0x147)+_0x195aad(0x1ae)+_0x195aad(0x1f1)]=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 ICustomer, a as IFarmBlockStructure, b as ICustomerCrop, c as IFarmType, d as ICustomerIndicator, e as IModule, f as ISizes, g as ICustomerVariety } from '../customer-CgeUUBHe.cjs';
3
- import { I as IGroup } from '../group-CnJEil9u.cjs';
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
- declare function fetchUpdateCustomer({ _id, data, }: {
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
- declare function fetchCustomerFarmTypes(): Promise<axios.AxiosResponse<IFarmType[], any, {}>>;
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
- declare function fetchUpdateCustomerCrops({ id, data, }: {
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
- data: {
22
- crops: ICustomerCrop[];
23
- };
24
- }): Promise<axios.AxiosResponse<ICustomerCrop[], any, {}>>;
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
- declare function fetchUpdateCustomerVarieties({ id, data, }: {
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
- varieties: ICustomerVariety[];
53
+ crops: ICustomerCrop[];
32
54
  };
33
- }): Promise<axios.AxiosResponse<ICustomerVariety[], any, {}>>;
34
- declare function fetchCustomerIndicators({ id }: {
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
- declare function fetchCustomerGroups(): Promise<axios.AxiosResponse<IGroup[], any, {}>>;
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
- declare function fetchCustomerUsers({ id }: {
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
- export { fetchCreateCustomer, fetchCustomerBlocks, fetchCustomerById, fetchCustomerCrops, fetchCustomerFarmTypes, fetchCustomerGroups, fetchCustomerIndicators, fetchCustomerModules, fetchCustomerSizes, fetchCustomerUsers, fetchCustomerVarieties, fetchCustomers, fetchUpdateCustomer, fetchUpdateCustomerCrops, fetchUpdateCustomerIndicators, fetchUpdateCustomerModules, fetchUpdateCustomerUsers, fetchUpdateCustomerVarieties };
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 ICustomer, a as IFarmBlockStructure, b as ICustomerCrop, c as IFarmType, d as ICustomerIndicator, e as IModule, f as ISizes, g as ICustomerVariety } from '../customer-CgeUUBHe.js';
3
- import { I as IGroup } from '../group-CnJEil9u.js';
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
- declare function fetchUpdateCustomer({ _id, data, }: {
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
- declare function fetchCustomerFarmTypes(): Promise<axios.AxiosResponse<IFarmType[], any, {}>>;
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
- declare function fetchUpdateCustomerCrops({ id, data, }: {
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
- data: {
22
- crops: ICustomerCrop[];
23
- };
24
- }): Promise<axios.AxiosResponse<ICustomerCrop[], any, {}>>;
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
- declare function fetchUpdateCustomerVarieties({ id, data, }: {
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
- varieties: ICustomerVariety[];
53
+ crops: ICustomerCrop[];
32
54
  };
33
- }): Promise<axios.AxiosResponse<ICustomerVariety[], any, {}>>;
34
- declare function fetchCustomerIndicators({ id }: {
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
- declare function fetchCustomerGroups(): Promise<axios.AxiosResponse<IGroup[], any, {}>>;
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
- declare function fetchCustomerUsers({ id }: {
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
- export { fetchCreateCustomer, fetchCustomerBlocks, fetchCustomerById, fetchCustomerCrops, fetchCustomerFarmTypes, fetchCustomerGroups, fetchCustomerIndicators, fetchCustomerModules, fetchCustomerSizes, fetchCustomerUsers, fetchCustomerVarieties, fetchCustomers, fetchUpdateCustomer, fetchUpdateCustomerCrops, fetchUpdateCustomerIndicators, fetchUpdateCustomerModules, fetchUpdateCustomerUsers, fetchUpdateCustomerVarieties };
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 };