@deliverart/sdk-js-integration-diagnostics 2.48.2-dev.20261103121500 → 2.48.2-dev.20261103124000
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/index.cjs +31 -1
- package/dist/index.js +31 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2144,6 +2144,22 @@ function describeDiagnosticRecoveryItem(item, locale) {
|
|
|
2144
2144
|
|
|
2145
2145
|
// src/remote-verification.ts
|
|
2146
2146
|
var labels3 = {
|
|
2147
|
+
stock_access_denied: [
|
|
2148
|
+
"Giacenza non verificabile: Cassa in Cloud nega l\u2019accesso al magazzino",
|
|
2149
|
+
"Stock cannot be verified: Cassa in Cloud denied warehouse access"
|
|
2150
|
+
],
|
|
2151
|
+
stock_response_incomplete: [
|
|
2152
|
+
"Giacenza non verificabile: la risposta \xE8 incompleta o troncata",
|
|
2153
|
+
"Stock cannot be verified: the response is incomplete or truncated"
|
|
2154
|
+
],
|
|
2155
|
+
stock_not_found: [
|
|
2156
|
+
"Nessuna giacenza restituita per il prodotto e la variante richiesti",
|
|
2157
|
+
"No stock row was returned for the requested product and variant"
|
|
2158
|
+
],
|
|
2159
|
+
stock_ambiguous: [
|
|
2160
|
+
"Pi\xF9 giacenze corrispondono alla stessa variante: risultato ambiguo",
|
|
2161
|
+
"Multiple stock rows match the same variant: ambiguous result"
|
|
2162
|
+
],
|
|
2147
2163
|
product_found: ["Il prodotto esiste in Cassa in Cloud", "The product exists in Cassa in Cloud"],
|
|
2148
2164
|
product_sales_point: [
|
|
2149
2165
|
"Il prodotto appartiene al punto vendita",
|
|
@@ -2233,8 +2249,22 @@ var failures2 = {
|
|
|
2233
2249
|
],
|
|
2234
2250
|
sale_enabled: ["Il prodotto \xE8 disabilitato per la vendita", "The product is disabled for sale"]
|
|
2235
2251
|
};
|
|
2252
|
+
var inconclusive = {
|
|
2253
|
+
ecommerce_enabled: [
|
|
2254
|
+
"Il canale ecommerce \xE8 disabilitato: verificare se \xE8 richiesto per questo invio",
|
|
2255
|
+
"The ecommerce channel is disabled: verify whether this delivery requires it"
|
|
2256
|
+
],
|
|
2257
|
+
risto_enabled: [
|
|
2258
|
+
"Il canale ristorazione \xE8 disabilitato: verificare se \xE8 richiesto per questo invio",
|
|
2259
|
+
"The restaurant channel is disabled: verify whether this delivery requires it"
|
|
2260
|
+
],
|
|
2261
|
+
variant_found: [
|
|
2262
|
+
"La presenza della variante non \xE8 univoca nella risposta remota",
|
|
2263
|
+
"Variant presence is ambiguous in the remote response"
|
|
2264
|
+
]
|
|
2265
|
+
};
|
|
2236
2266
|
function describeRemoteDiagnosticCheck(check, locale) {
|
|
2237
|
-
const entry = (check.outcome === "fail" ? failures2[check.code] : void 0) ?? labels3[check.code];
|
|
2267
|
+
const entry = (check.outcome === "fail" ? failures2[check.code] : check.outcome === "unknown" ? inconclusive[check.code] : void 0) ?? labels3[check.code];
|
|
2238
2268
|
return entry?.[locale === "it" ? 0 : 1] ?? (locale === "it" ? "Controllo non riconosciuto: richiedi assistenza" : "Unrecognized check: contact support");
|
|
2239
2269
|
}
|
|
2240
2270
|
|
package/dist/index.js
CHANGED
|
@@ -2035,6 +2035,22 @@ function describeDiagnosticRecoveryItem(item, locale) {
|
|
|
2035
2035
|
|
|
2036
2036
|
// src/remote-verification.ts
|
|
2037
2037
|
var labels3 = {
|
|
2038
|
+
stock_access_denied: [
|
|
2039
|
+
"Giacenza non verificabile: Cassa in Cloud nega l\u2019accesso al magazzino",
|
|
2040
|
+
"Stock cannot be verified: Cassa in Cloud denied warehouse access"
|
|
2041
|
+
],
|
|
2042
|
+
stock_response_incomplete: [
|
|
2043
|
+
"Giacenza non verificabile: la risposta \xE8 incompleta o troncata",
|
|
2044
|
+
"Stock cannot be verified: the response is incomplete or truncated"
|
|
2045
|
+
],
|
|
2046
|
+
stock_not_found: [
|
|
2047
|
+
"Nessuna giacenza restituita per il prodotto e la variante richiesti",
|
|
2048
|
+
"No stock row was returned for the requested product and variant"
|
|
2049
|
+
],
|
|
2050
|
+
stock_ambiguous: [
|
|
2051
|
+
"Pi\xF9 giacenze corrispondono alla stessa variante: risultato ambiguo",
|
|
2052
|
+
"Multiple stock rows match the same variant: ambiguous result"
|
|
2053
|
+
],
|
|
2038
2054
|
product_found: ["Il prodotto esiste in Cassa in Cloud", "The product exists in Cassa in Cloud"],
|
|
2039
2055
|
product_sales_point: [
|
|
2040
2056
|
"Il prodotto appartiene al punto vendita",
|
|
@@ -2124,8 +2140,22 @@ var failures2 = {
|
|
|
2124
2140
|
],
|
|
2125
2141
|
sale_enabled: ["Il prodotto \xE8 disabilitato per la vendita", "The product is disabled for sale"]
|
|
2126
2142
|
};
|
|
2143
|
+
var inconclusive = {
|
|
2144
|
+
ecommerce_enabled: [
|
|
2145
|
+
"Il canale ecommerce \xE8 disabilitato: verificare se \xE8 richiesto per questo invio",
|
|
2146
|
+
"The ecommerce channel is disabled: verify whether this delivery requires it"
|
|
2147
|
+
],
|
|
2148
|
+
risto_enabled: [
|
|
2149
|
+
"Il canale ristorazione \xE8 disabilitato: verificare se \xE8 richiesto per questo invio",
|
|
2150
|
+
"The restaurant channel is disabled: verify whether this delivery requires it"
|
|
2151
|
+
],
|
|
2152
|
+
variant_found: [
|
|
2153
|
+
"La presenza della variante non \xE8 univoca nella risposta remota",
|
|
2154
|
+
"Variant presence is ambiguous in the remote response"
|
|
2155
|
+
]
|
|
2156
|
+
};
|
|
2127
2157
|
function describeRemoteDiagnosticCheck(check, locale) {
|
|
2128
|
-
const entry = (check.outcome === "fail" ? failures2[check.code] : void 0) ?? labels3[check.code];
|
|
2158
|
+
const entry = (check.outcome === "fail" ? failures2[check.code] : check.outcome === "unknown" ? inconclusive[check.code] : void 0) ?? labels3[check.code];
|
|
2129
2159
|
return entry?.[locale === "it" ? 0 : 1] ?? (locale === "it" ? "Controllo non riconosciuto: richiedi assistenza" : "Unrecognized check: contact support");
|
|
2130
2160
|
}
|
|
2131
2161
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deliverart/sdk-js-integration-diagnostics",
|
|
3
3
|
"description": "Shared integration diagnostics, verification and explicit recovery contracts",
|
|
4
|
-
"version": "2.48.2-dev.
|
|
4
|
+
"version": "2.48.2-dev.20261103124000",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|