platform-types 1.10.814 → 1.10.815

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.
@@ -156,12 +156,21 @@ exports.STOREFRONT_DESIGN_REGISTRY = {
156
156
  *
157
157
  * Responsable Inscripto only (`integrations.afip.condFiscal === 30`). Both
158
158
  * writers refuse `true` on any other store with 409 NET_PLUS_IVA_REQUIRES_RI;
159
- * `false` and `null` always pass. Storefront exits (web `GET /store`, the
160
- * preview's store frame, the customer `stores` frame) send the EFFECTIVE value,
161
- * stored flag AND RI; app reads (`GET /store`, the operator `/tenants` read)
162
- * send the STORED one beside `integrations.afip.condFiscal`.
159
+ * `false` and `null` always pass. App reads (`GET /store`, the operator
160
+ * `/tenants` read) send the STORED value beside `integrations.afip.condFiscal`.
161
+ *
162
+ * Wholesale customers only. Storefront exits send the EFFECTIVE value per
163
+ * viewer: stored flag AND RI AND an approved customer whose effective price
164
+ * list is `audienceClass: 'wholesale'`. A guest, a pending registrant and a
165
+ * retail customer read `false`.
166
+ * - Web `GET /store` judges its resolved caller. A customer's answer is
167
+ * `private, no-store`, and every answer varies on `Authorization`.
168
+ * - The preview's store frame judges the grant fixture's simulated caller.
169
+ * A grant without a fixture is judged as a guest.
170
+ * - The customer `stores` frame reaches every shopper at once, so it always
171
+ * sends `false`. The storefront re-reads web `GET /store` on that frame.
163
172
  */
164
- showNetPlusIva: liveToggle('showNetPlusIva', 'STOREFRONT_SHOW_NET_PLUS_IVA_LABEL', 'STOREFRONT_SHOW_NET_PLUS_IVA_HELP', 'Mostrar precio neto + IVA', 'Mostrar también el precio sin IVA, con la leyenda «+ IVA», junto al precio final. Nunca reemplaza al precio final.', false),
173
+ showNetPlusIva: liveToggle('showNetPlusIva', 'STOREFRONT_SHOW_NET_PLUS_IVA_LABEL', 'STOREFRONT_SHOW_NET_PLUS_IVA_HELP', 'Mostrar precio neto + IVA', 'Tus clientes mayoristas ven también el precio sin IVA, con la leyenda «+ IVA», junto al precio final. Nunca reemplaza al precio final.', false),
165
174
  prices: { ...LIVE_METADATA, storage: { source: 'catalogue' } },
166
175
  stock: { ...LIVE_METADATA, storage: { source: 'catalogue' } },
167
176
  checkout: { ...LIVE_METADATA, storage: { source: 'store' } },
@@ -148,12 +148,21 @@ export const STOREFRONT_DESIGN_REGISTRY = {
148
148
  *
149
149
  * Responsable Inscripto only (`integrations.afip.condFiscal === 30`). Both
150
150
  * writers refuse `true` on any other store with 409 NET_PLUS_IVA_REQUIRES_RI;
151
- * `false` and `null` always pass. Storefront exits (web `GET /store`, the
152
- * preview's store frame, the customer `stores` frame) send the EFFECTIVE value,
153
- * stored flag AND RI; app reads (`GET /store`, the operator `/tenants` read)
154
- * send the STORED one beside `integrations.afip.condFiscal`.
151
+ * `false` and `null` always pass. App reads (`GET /store`, the operator
152
+ * `/tenants` read) send the STORED value beside `integrations.afip.condFiscal`.
153
+ *
154
+ * Wholesale customers only. Storefront exits send the EFFECTIVE value per
155
+ * viewer: stored flag AND RI AND an approved customer whose effective price
156
+ * list is `audienceClass: 'wholesale'`. A guest, a pending registrant and a
157
+ * retail customer read `false`.
158
+ * - Web `GET /store` judges its resolved caller. A customer's answer is
159
+ * `private, no-store`, and every answer varies on `Authorization`.
160
+ * - The preview's store frame judges the grant fixture's simulated caller.
161
+ * A grant without a fixture is judged as a guest.
162
+ * - The customer `stores` frame reaches every shopper at once, so it always
163
+ * sends `false`. The storefront re-reads web `GET /store` on that frame.
155
164
  */
156
- showNetPlusIva: liveToggle('showNetPlusIva', 'STOREFRONT_SHOW_NET_PLUS_IVA_LABEL', 'STOREFRONT_SHOW_NET_PLUS_IVA_HELP', 'Mostrar precio neto + IVA', 'Mostrar también el precio sin IVA, con la leyenda «+ IVA», junto al precio final. Nunca reemplaza al precio final.', false),
165
+ showNetPlusIva: liveToggle('showNetPlusIva', 'STOREFRONT_SHOW_NET_PLUS_IVA_LABEL', 'STOREFRONT_SHOW_NET_PLUS_IVA_HELP', 'Mostrar precio neto + IVA', 'Tus clientes mayoristas ven también el precio sin IVA, con la leyenda «+ IVA», junto al precio final. Nunca reemplaza al precio final.', false),
157
166
  prices: { ...LIVE_METADATA, storage: { source: 'catalogue' } },
158
167
  stock: { ...LIVE_METADATA, storage: { source: 'catalogue' } },
159
168
  checkout: { ...LIVE_METADATA, storage: { source: 'store' } },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "platform-types",
3
- "version": "1.10.814",
3
+ "version": "1.10.815",
4
4
  "description": "Shared wire and entity contracts for the platform.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",