@enerlence/suntropy-cli 0.1.2 → 0.1.4
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/README.md +7 -4
- package/dist/bin/suntropy.js +5 -32
- package/dist/bin/suntropy.js.map +1 -1
- package/package.json +1 -1
- package/skills/inventory-create-kit.md +3 -21
package/package.json
CHANGED
|
@@ -120,31 +120,13 @@ suntropy inventory kits assemble \
|
|
|
120
120
|
--custom-asset 2281:12 --custom-asset 2282:1
|
|
121
121
|
```
|
|
122
122
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
Para campos avanzados (garantías, useTotalKitCostAsPrice, etc.) usa `create --data`:
|
|
123
|
+
For advanced fields (warranties, useTotalKitCostAsPrice, etc.) use `update` after assembling:
|
|
126
124
|
|
|
127
125
|
```bash
|
|
128
|
-
suntropy inventory kits
|
|
129
|
-
"identifier": "Kit Solar Premium 5kW",
|
|
130
|
-
"kitSolarPanel": {"idKitSolarPanel": <panelId>},
|
|
131
|
-
"kitInverter": {"idKitInverter": <inverterId>},
|
|
132
|
-
"battery": {"batteryId": <batteryId>},
|
|
133
|
-
"panelNumber": 12,
|
|
134
|
-
"inverterNumber": 1,
|
|
135
|
-
"peakPower": 5.4,
|
|
136
|
-
"price": 6500,
|
|
137
|
-
"phaseNumber": "single_phase",
|
|
138
|
-
"coplanar": true,
|
|
139
|
-
"defaultTaxesPercentage": 21,
|
|
126
|
+
suntropy inventory kits update <kitId> --data '{
|
|
140
127
|
"manufacturingWarranty": 10,
|
|
141
128
|
"materialsWarranty": 5,
|
|
142
|
-
"useTotalKitCostAsPrice": false
|
|
143
|
-
"active": true,
|
|
144
|
-
"solarKitCustomAssets": [
|
|
145
|
-
{"customAsset": {"idCustomAsset": <assetId1>}, "units": 12},
|
|
146
|
-
{"customAsset": {"idCustomAsset": <assetId2>}, "units": 1}
|
|
147
|
-
]
|
|
129
|
+
"useTotalKitCostAsPrice": false
|
|
148
130
|
}'
|
|
149
131
|
```
|
|
150
132
|
|