@asteby/storefront 0.19.0 → 0.20.0
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/{account-settings-C3VXJ7wi.d.ts → account-settings-BNDoVH3W.d.ts} +5 -0
- package/dist/{account-settings-ZtgZOuiG.d.cts → account-settings-eGXCcSzz.d.cts} +5 -0
- package/dist/cli.js +1 -1
- package/dist/fiscal-document.d.cts +2 -2
- package/dist/fiscal-document.d.ts +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/mock.d.cts +1 -1
- package/dist/mock.d.ts +1 -1
- package/dist/mockup.d.cts +1 -1
- package/dist/mockup.d.ts +1 -1
- package/dist/node.cjs +1 -1
- package/dist/node.js +1 -1
- package/package.json +1 -1
|
@@ -1222,6 +1222,11 @@ type InvoiceSummary = {
|
|
|
1222
1222
|
/** Signed, short-lived download links. */
|
|
1223
1223
|
url?: string | null;
|
|
1224
1224
|
xml_url?: string | null;
|
|
1225
|
+
/**
|
|
1226
|
+
* Files the server can deliver NOW through the authenticated invoice file route (contract 1.13). The PDF can arrive
|
|
1227
|
+
* after the XML: a missing kind is "still being prepared", not an error. Absent/null = the server does not say.
|
|
1228
|
+
*/
|
|
1229
|
+
available_files?: ('pdf' | 'xml')[] | null;
|
|
1225
1230
|
};
|
|
1226
1231
|
/** The invoice request of a cart (`Cart.invoice`). The tax id is masked: the full value is never echoed back. */
|
|
1227
1232
|
type CartInvoice = {
|
|
@@ -1222,6 +1222,11 @@ type InvoiceSummary = {
|
|
|
1222
1222
|
/** Signed, short-lived download links. */
|
|
1223
1223
|
url?: string | null;
|
|
1224
1224
|
xml_url?: string | null;
|
|
1225
|
+
/**
|
|
1226
|
+
* Files the server can deliver NOW through the authenticated invoice file route (contract 1.13). The PDF can arrive
|
|
1227
|
+
* after the XML: a missing kind is "still being prepared", not an error. Absent/null = the server does not say.
|
|
1228
|
+
*/
|
|
1229
|
+
available_files?: ('pdf' | 'xml')[] | null;
|
|
1225
1230
|
};
|
|
1226
1231
|
/** The invoice request of a cart (`Cart.invoice`). The tax id is masked: the full value is never echoed back. */
|
|
1227
1232
|
type CartInvoice = {
|
package/dist/cli.js
CHANGED
|
@@ -604,7 +604,7 @@ function repairPath(connectionName) {
|
|
|
604
604
|
import { chmodSync, closeSync, existsSync, fsyncSync, mkdirSync, openSync, readFileSync, renameSync, statSync, unlinkSync, writeSync } from "fs";
|
|
605
605
|
import { dirname, join, resolve } from "path";
|
|
606
606
|
import { hostname } from "os";
|
|
607
|
-
var SDK_VERSION = true ? "0.
|
|
607
|
+
var SDK_VERSION = true ? "0.20.0" : "dev";
|
|
608
608
|
function writeFileAtomic(file, content, mode = 384) {
|
|
609
609
|
const dir = dirname(file);
|
|
610
610
|
mkdirSync(dir, { recursive: true });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Y as FiscalDocumentSource, bg as RegionFiscalEntry, a4 as IdentityDocumentSpec, X as FiscalDocumentEvidence, bh as RegionFiscalId, a6 as IdentityRulesV1 } from './account-settings-
|
|
2
|
-
export { a3 as IdentityCapture, a5 as IdentityFieldRule, a7 as IdentityStrategy } from './account-settings-
|
|
1
|
+
import { Y as FiscalDocumentSource, bg as RegionFiscalEntry, a4 as IdentityDocumentSpec, X as FiscalDocumentEvidence, bh as RegionFiscalId, a6 as IdentityRulesV1 } from './account-settings-eGXCcSzz.cjs';
|
|
2
|
+
export { a3 as IdentityCapture, a5 as IdentityFieldRule, a7 as IdentityStrategy } from './account-settings-eGXCcSzz.cjs';
|
|
3
3
|
import './geo.cjs';
|
|
4
4
|
|
|
5
5
|
/** A value read from a document: text, or the codes of a catalog (`multiple` fields). */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Y as FiscalDocumentSource, bg as RegionFiscalEntry, a4 as IdentityDocumentSpec, X as FiscalDocumentEvidence, bh as RegionFiscalId, a6 as IdentityRulesV1 } from './account-settings-
|
|
2
|
-
export { a3 as IdentityCapture, a5 as IdentityFieldRule, a7 as IdentityStrategy } from './account-settings-
|
|
1
|
+
import { Y as FiscalDocumentSource, bg as RegionFiscalEntry, a4 as IdentityDocumentSpec, X as FiscalDocumentEvidence, bh as RegionFiscalId, a6 as IdentityRulesV1 } from './account-settings-BNDoVH3W.js';
|
|
2
|
+
export { a3 as IdentityCapture, a5 as IdentityFieldRule, a7 as IdentityStrategy } from './account-settings-BNDoVH3W.js';
|
|
3
3
|
import './geo.js';
|
|
4
4
|
|
|
5
5
|
/** A value read from a document: text, or the codes of a catalog (`multiple` fields). */
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b5 as ProductSort, bR as TokenIntrospection, by as Shop, bf as Region, bj as RegionPostalCode, b3 as ProductConnection, b0 as Product, z as Connection, y as Collection, an as LocationListParams, ak as Location, at as NearestLocation, bC as StockLevel, bk as RestockSubscriptionInput, bl as RestockSubscriptionResult, n as CartLineInput, C as Cart, q as CartLineUpdateInput, g as CartBuyerInput, b as AddressInput, U as DeliveryOptions, aS as PaymentMethods, S as DeliveryInput, af as InvoiceRequest, bd as RecommendationPlacement, t as CartRecommendations, v as CheckoutInput, x as CheckoutResult, ba as PromotionsList, aO as PaymentConfig, aX as PaymentSubmitInput, aK as PaymentAttemptResult, E as CustomerIdentifier, M as CustomerSessionInput, K as CustomerSession, D as CustomerCapabilities, H as CustomerRegisterInput, I as CustomerRegisterResult, P as CustomerVerifyRegistrationInput, F as CustomerPasswordLoginInput, N as CustomerSetPasswordInput, J as CustomerResetPasswordInput, B as Customer, O as CustomerUpdateInput, L as CustomerSessionInfo, bb as ReauthInput, bc as ReauthResult, Q as DataExportFile, A as AccountDeleteInput, aw as Order, bn as ReturnRequestInput, bm as ReturnRequest, ag as InvoiceResult, aZ as PendingPayment, ae as InvoiceFileKind, ad as InvoiceFile, $ as FiscalProfile, a0 as FiscalProfileInput, bH as Subject, bM as SubjectInput, bO as SubjectPatch, a as Address, bN as SubjectKind, bQ as Theme, aH as Page, ap as Menu, c as Article, ar as Money, e as AvailabilityStatus, p as CartLineProblem, d as Availability, aa as InsufficientStockLine, b6 as ProductVariant, R as DeclineCode, aY as PaymentVoucher, aT as PaymentNextStep, r as CartPromotions, b8 as PromotionReward, ac as InvoiceDoc, br as Shipment, au as NextAction, aA as OrderProgress, bv as ShipmentStatus, bs as ShipmentEvent, bJ as SubjectCatalogNode, bK as SubjectField, T as DeliveryMethod, bS as UnavailableRateProvider } from './account-settings-
|
|
2
|
-
export { f as CartBuyer, h as CartCost, i as CartDelivery, j as CartDiscountCode, k as CartDiscountLine, l as CartInvoice, m as CartLine, o as CartLineMerchandise, s as CartRecommendation, u as CheckoutInfo, w as CheckoutPayment, G as CustomerPreferences, V as Facet, W as FacetValue, X as FiscalDocumentEvidence, Y as FiscalDocumentSource, Z as FiscalIdentity, _ as FiscalIdentityInput, a1 as FiscalVerification, a2 as GeoHint, a3 as IdentityCapture, a4 as IdentityDocumentSpec, a5 as IdentityFieldRule, a6 as IdentityRulesV1, a7 as IdentityStrategy, a8 as Image, a9 as InsufficientStockDetails, ab as InvoiceAction, ah as InvoiceStage, ai as InvoiceSummary, aj as InvoicingCapabilities, al as LocationContacts, am as LocationKind, ao as LocationPickup, aq as MenuItem, as as MoneyRange, av as NextActionKind, ax as OrderLine, ay as OrderPickup, az as OrderProblem, aB as OrderProgressStep, aC as OrderSection, aD as OrderShippingService, aE as OrderStage, aF as OrderStepKey, aG as OrderStepState, aI as PageInfo, aJ as PaymentAction, aL as PaymentAttemptStatus, aM as PaymentClient, aN as PaymentClientCsp, aP as PaymentFlow, aQ as PaymentInfo, aR as PaymentMethod, aU as PaymentOption, aV as PaymentOptionKey, aW as PaymentPoint, a_ as PendingPaymentVoucher, a$ as PickupOption, b1 as ProductAttributeValue, b2 as ProductCategory, b4 as ProductOption, b7 as PromotionAnnouncement, b9 as PromotionTier, be as Refund, bg as RegionFiscalEntry, bh as RegionFiscalId, bi as RegionPaymentMethod, bo as SEO, bp as Section, bq as SelectedOption, bt as ShipmentKind, bu as ShipmentMap, bw as ShipmentsSummary, bx as ShippingRate, bz as ShopBranch, bA as ShopContact, bB as ShopPolicies, bD as StorefrontError, bE as StorefrontErrorBody, bF as StorefrontErrorCode, bG as StorefrontErrorInit, bI as SubjectCatalog, bL as SubjectFieldType, bP as SubjectRef, bT as dataExportBytes, bU as isAccountDeleteBlocked, bV as isReauthRequired, bW as isStorefrontError, bX as safeExportFilename } from './account-settings-
|
|
1
|
+
import { b5 as ProductSort, bR as TokenIntrospection, by as Shop, bf as Region, bj as RegionPostalCode, b3 as ProductConnection, b0 as Product, z as Connection, y as Collection, an as LocationListParams, ak as Location, at as NearestLocation, bC as StockLevel, bk as RestockSubscriptionInput, bl as RestockSubscriptionResult, n as CartLineInput, C as Cart, q as CartLineUpdateInput, g as CartBuyerInput, b as AddressInput, U as DeliveryOptions, aS as PaymentMethods, S as DeliveryInput, af as InvoiceRequest, bd as RecommendationPlacement, t as CartRecommendations, v as CheckoutInput, x as CheckoutResult, ba as PromotionsList, aO as PaymentConfig, aX as PaymentSubmitInput, aK as PaymentAttemptResult, E as CustomerIdentifier, M as CustomerSessionInput, K as CustomerSession, D as CustomerCapabilities, H as CustomerRegisterInput, I as CustomerRegisterResult, P as CustomerVerifyRegistrationInput, F as CustomerPasswordLoginInput, N as CustomerSetPasswordInput, J as CustomerResetPasswordInput, B as Customer, O as CustomerUpdateInput, L as CustomerSessionInfo, bb as ReauthInput, bc as ReauthResult, Q as DataExportFile, A as AccountDeleteInput, aw as Order, bn as ReturnRequestInput, bm as ReturnRequest, ag as InvoiceResult, aZ as PendingPayment, ae as InvoiceFileKind, ad as InvoiceFile, $ as FiscalProfile, a0 as FiscalProfileInput, bH as Subject, bM as SubjectInput, bO as SubjectPatch, a as Address, bN as SubjectKind, bQ as Theme, aH as Page, ap as Menu, c as Article, ar as Money, e as AvailabilityStatus, p as CartLineProblem, d as Availability, aa as InsufficientStockLine, b6 as ProductVariant, R as DeclineCode, aY as PaymentVoucher, aT as PaymentNextStep, r as CartPromotions, b8 as PromotionReward, ac as InvoiceDoc, br as Shipment, au as NextAction, aA as OrderProgress, bv as ShipmentStatus, bs as ShipmentEvent, bJ as SubjectCatalogNode, bK as SubjectField, T as DeliveryMethod, bS as UnavailableRateProvider } from './account-settings-eGXCcSzz.cjs';
|
|
2
|
+
export { f as CartBuyer, h as CartCost, i as CartDelivery, j as CartDiscountCode, k as CartDiscountLine, l as CartInvoice, m as CartLine, o as CartLineMerchandise, s as CartRecommendation, u as CheckoutInfo, w as CheckoutPayment, G as CustomerPreferences, V as Facet, W as FacetValue, X as FiscalDocumentEvidence, Y as FiscalDocumentSource, Z as FiscalIdentity, _ as FiscalIdentityInput, a1 as FiscalVerification, a2 as GeoHint, a3 as IdentityCapture, a4 as IdentityDocumentSpec, a5 as IdentityFieldRule, a6 as IdentityRulesV1, a7 as IdentityStrategy, a8 as Image, a9 as InsufficientStockDetails, ab as InvoiceAction, ah as InvoiceStage, ai as InvoiceSummary, aj as InvoicingCapabilities, al as LocationContacts, am as LocationKind, ao as LocationPickup, aq as MenuItem, as as MoneyRange, av as NextActionKind, ax as OrderLine, ay as OrderPickup, az as OrderProblem, aB as OrderProgressStep, aC as OrderSection, aD as OrderShippingService, aE as OrderStage, aF as OrderStepKey, aG as OrderStepState, aI as PageInfo, aJ as PaymentAction, aL as PaymentAttemptStatus, aM as PaymentClient, aN as PaymentClientCsp, aP as PaymentFlow, aQ as PaymentInfo, aR as PaymentMethod, aU as PaymentOption, aV as PaymentOptionKey, aW as PaymentPoint, a_ as PendingPaymentVoucher, a$ as PickupOption, b1 as ProductAttributeValue, b2 as ProductCategory, b4 as ProductOption, b7 as PromotionAnnouncement, b9 as PromotionTier, be as Refund, bg as RegionFiscalEntry, bh as RegionFiscalId, bi as RegionPaymentMethod, bo as SEO, bp as Section, bq as SelectedOption, bt as ShipmentKind, bu as ShipmentMap, bw as ShipmentsSummary, bx as ShippingRate, bz as ShopBranch, bA as ShopContact, bB as ShopPolicies, bD as StorefrontError, bE as StorefrontErrorBody, bF as StorefrontErrorCode, bG as StorefrontErrorInit, bI as SubjectCatalog, bL as SubjectFieldType, bP as SubjectRef, bT as dataExportBytes, bU as isAccountDeleteBlocked, bV as isReauthRequired, bW as isStorefrontError, bX as safeExportFilename } from './account-settings-eGXCcSzz.cjs';
|
|
3
3
|
import { GeoPoint } from './geo.cjs';
|
|
4
4
|
export { OpenStatus, OpeningHours } from './geo.cjs';
|
|
5
5
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b5 as ProductSort, bR as TokenIntrospection, by as Shop, bf as Region, bj as RegionPostalCode, b3 as ProductConnection, b0 as Product, z as Connection, y as Collection, an as LocationListParams, ak as Location, at as NearestLocation, bC as StockLevel, bk as RestockSubscriptionInput, bl as RestockSubscriptionResult, n as CartLineInput, C as Cart, q as CartLineUpdateInput, g as CartBuyerInput, b as AddressInput, U as DeliveryOptions, aS as PaymentMethods, S as DeliveryInput, af as InvoiceRequest, bd as RecommendationPlacement, t as CartRecommendations, v as CheckoutInput, x as CheckoutResult, ba as PromotionsList, aO as PaymentConfig, aX as PaymentSubmitInput, aK as PaymentAttemptResult, E as CustomerIdentifier, M as CustomerSessionInput, K as CustomerSession, D as CustomerCapabilities, H as CustomerRegisterInput, I as CustomerRegisterResult, P as CustomerVerifyRegistrationInput, F as CustomerPasswordLoginInput, N as CustomerSetPasswordInput, J as CustomerResetPasswordInput, B as Customer, O as CustomerUpdateInput, L as CustomerSessionInfo, bb as ReauthInput, bc as ReauthResult, Q as DataExportFile, A as AccountDeleteInput, aw as Order, bn as ReturnRequestInput, bm as ReturnRequest, ag as InvoiceResult, aZ as PendingPayment, ae as InvoiceFileKind, ad as InvoiceFile, $ as FiscalProfile, a0 as FiscalProfileInput, bH as Subject, bM as SubjectInput, bO as SubjectPatch, a as Address, bN as SubjectKind, bQ as Theme, aH as Page, ap as Menu, c as Article, ar as Money, e as AvailabilityStatus, p as CartLineProblem, d as Availability, aa as InsufficientStockLine, b6 as ProductVariant, R as DeclineCode, aY as PaymentVoucher, aT as PaymentNextStep, r as CartPromotions, b8 as PromotionReward, ac as InvoiceDoc, br as Shipment, au as NextAction, aA as OrderProgress, bv as ShipmentStatus, bs as ShipmentEvent, bJ as SubjectCatalogNode, bK as SubjectField, T as DeliveryMethod, bS as UnavailableRateProvider } from './account-settings-
|
|
2
|
-
export { f as CartBuyer, h as CartCost, i as CartDelivery, j as CartDiscountCode, k as CartDiscountLine, l as CartInvoice, m as CartLine, o as CartLineMerchandise, s as CartRecommendation, u as CheckoutInfo, w as CheckoutPayment, G as CustomerPreferences, V as Facet, W as FacetValue, X as FiscalDocumentEvidence, Y as FiscalDocumentSource, Z as FiscalIdentity, _ as FiscalIdentityInput, a1 as FiscalVerification, a2 as GeoHint, a3 as IdentityCapture, a4 as IdentityDocumentSpec, a5 as IdentityFieldRule, a6 as IdentityRulesV1, a7 as IdentityStrategy, a8 as Image, a9 as InsufficientStockDetails, ab as InvoiceAction, ah as InvoiceStage, ai as InvoiceSummary, aj as InvoicingCapabilities, al as LocationContacts, am as LocationKind, ao as LocationPickup, aq as MenuItem, as as MoneyRange, av as NextActionKind, ax as OrderLine, ay as OrderPickup, az as OrderProblem, aB as OrderProgressStep, aC as OrderSection, aD as OrderShippingService, aE as OrderStage, aF as OrderStepKey, aG as OrderStepState, aI as PageInfo, aJ as PaymentAction, aL as PaymentAttemptStatus, aM as PaymentClient, aN as PaymentClientCsp, aP as PaymentFlow, aQ as PaymentInfo, aR as PaymentMethod, aU as PaymentOption, aV as PaymentOptionKey, aW as PaymentPoint, a_ as PendingPaymentVoucher, a$ as PickupOption, b1 as ProductAttributeValue, b2 as ProductCategory, b4 as ProductOption, b7 as PromotionAnnouncement, b9 as PromotionTier, be as Refund, bg as RegionFiscalEntry, bh as RegionFiscalId, bi as RegionPaymentMethod, bo as SEO, bp as Section, bq as SelectedOption, bt as ShipmentKind, bu as ShipmentMap, bw as ShipmentsSummary, bx as ShippingRate, bz as ShopBranch, bA as ShopContact, bB as ShopPolicies, bD as StorefrontError, bE as StorefrontErrorBody, bF as StorefrontErrorCode, bG as StorefrontErrorInit, bI as SubjectCatalog, bL as SubjectFieldType, bP as SubjectRef, bT as dataExportBytes, bU as isAccountDeleteBlocked, bV as isReauthRequired, bW as isStorefrontError, bX as safeExportFilename } from './account-settings-
|
|
1
|
+
import { b5 as ProductSort, bR as TokenIntrospection, by as Shop, bf as Region, bj as RegionPostalCode, b3 as ProductConnection, b0 as Product, z as Connection, y as Collection, an as LocationListParams, ak as Location, at as NearestLocation, bC as StockLevel, bk as RestockSubscriptionInput, bl as RestockSubscriptionResult, n as CartLineInput, C as Cart, q as CartLineUpdateInput, g as CartBuyerInput, b as AddressInput, U as DeliveryOptions, aS as PaymentMethods, S as DeliveryInput, af as InvoiceRequest, bd as RecommendationPlacement, t as CartRecommendations, v as CheckoutInput, x as CheckoutResult, ba as PromotionsList, aO as PaymentConfig, aX as PaymentSubmitInput, aK as PaymentAttemptResult, E as CustomerIdentifier, M as CustomerSessionInput, K as CustomerSession, D as CustomerCapabilities, H as CustomerRegisterInput, I as CustomerRegisterResult, P as CustomerVerifyRegistrationInput, F as CustomerPasswordLoginInput, N as CustomerSetPasswordInput, J as CustomerResetPasswordInput, B as Customer, O as CustomerUpdateInput, L as CustomerSessionInfo, bb as ReauthInput, bc as ReauthResult, Q as DataExportFile, A as AccountDeleteInput, aw as Order, bn as ReturnRequestInput, bm as ReturnRequest, ag as InvoiceResult, aZ as PendingPayment, ae as InvoiceFileKind, ad as InvoiceFile, $ as FiscalProfile, a0 as FiscalProfileInput, bH as Subject, bM as SubjectInput, bO as SubjectPatch, a as Address, bN as SubjectKind, bQ as Theme, aH as Page, ap as Menu, c as Article, ar as Money, e as AvailabilityStatus, p as CartLineProblem, d as Availability, aa as InsufficientStockLine, b6 as ProductVariant, R as DeclineCode, aY as PaymentVoucher, aT as PaymentNextStep, r as CartPromotions, b8 as PromotionReward, ac as InvoiceDoc, br as Shipment, au as NextAction, aA as OrderProgress, bv as ShipmentStatus, bs as ShipmentEvent, bJ as SubjectCatalogNode, bK as SubjectField, T as DeliveryMethod, bS as UnavailableRateProvider } from './account-settings-BNDoVH3W.js';
|
|
2
|
+
export { f as CartBuyer, h as CartCost, i as CartDelivery, j as CartDiscountCode, k as CartDiscountLine, l as CartInvoice, m as CartLine, o as CartLineMerchandise, s as CartRecommendation, u as CheckoutInfo, w as CheckoutPayment, G as CustomerPreferences, V as Facet, W as FacetValue, X as FiscalDocumentEvidence, Y as FiscalDocumentSource, Z as FiscalIdentity, _ as FiscalIdentityInput, a1 as FiscalVerification, a2 as GeoHint, a3 as IdentityCapture, a4 as IdentityDocumentSpec, a5 as IdentityFieldRule, a6 as IdentityRulesV1, a7 as IdentityStrategy, a8 as Image, a9 as InsufficientStockDetails, ab as InvoiceAction, ah as InvoiceStage, ai as InvoiceSummary, aj as InvoicingCapabilities, al as LocationContacts, am as LocationKind, ao as LocationPickup, aq as MenuItem, as as MoneyRange, av as NextActionKind, ax as OrderLine, ay as OrderPickup, az as OrderProblem, aB as OrderProgressStep, aC as OrderSection, aD as OrderShippingService, aE as OrderStage, aF as OrderStepKey, aG as OrderStepState, aI as PageInfo, aJ as PaymentAction, aL as PaymentAttemptStatus, aM as PaymentClient, aN as PaymentClientCsp, aP as PaymentFlow, aQ as PaymentInfo, aR as PaymentMethod, aU as PaymentOption, aV as PaymentOptionKey, aW as PaymentPoint, a_ as PendingPaymentVoucher, a$ as PickupOption, b1 as ProductAttributeValue, b2 as ProductCategory, b4 as ProductOption, b7 as PromotionAnnouncement, b9 as PromotionTier, be as Refund, bg as RegionFiscalEntry, bh as RegionFiscalId, bi as RegionPaymentMethod, bo as SEO, bp as Section, bq as SelectedOption, bt as ShipmentKind, bu as ShipmentMap, bw as ShipmentsSummary, bx as ShippingRate, bz as ShopBranch, bA as ShopContact, bB as ShopPolicies, bD as StorefrontError, bE as StorefrontErrorBody, bF as StorefrontErrorCode, bG as StorefrontErrorInit, bI as SubjectCatalog, bL as SubjectFieldType, bP as SubjectRef, bT as dataExportBytes, bU as isAccountDeleteBlocked, bV as isReauthRequired, bW as isStorefrontError, bX as safeExportFilename } from './account-settings-BNDoVH3W.js';
|
|
3
3
|
import { GeoPoint } from './geo.js';
|
|
4
4
|
export { OpenStatus, OpeningHours } from './geo.js';
|
|
5
5
|
|
package/dist/mock.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bN as SubjectKind, a6 as IdentityRulesV1, bh as RegionFiscalId, a4 as IdentityDocumentSpec, bf as Region, by as Shop, b0 as Product, y as Collection, bQ as Theme, aH as Page, ap as Menu, c as Article, C as Cart, a as Address, af as InvoiceRequest, B as Customer, $ as FiscalProfile, bH as Subject, aw as Order, aK as PaymentAttemptResult, aZ as PendingPayment, ah as InvoiceStage, D as CustomerCapabilities, b7 as PromotionAnnouncement, bx as ShippingRate, aR as PaymentMethod } from './account-settings-
|
|
1
|
+
import { bN as SubjectKind, a6 as IdentityRulesV1, bh as RegionFiscalId, a4 as IdentityDocumentSpec, bf as Region, by as Shop, b0 as Product, y as Collection, bQ as Theme, aH as Page, ap as Menu, c as Article, C as Cart, a as Address, af as InvoiceRequest, B as Customer, $ as FiscalProfile, bH as Subject, aw as Order, aK as PaymentAttemptResult, aZ as PendingPayment, ah as InvoiceStage, D as CustomerCapabilities, b7 as PromotionAnnouncement, bx as ShippingRate, aR as PaymentMethod } from './account-settings-eGXCcSzz.cjs';
|
|
2
2
|
import './geo.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
package/dist/mock.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bN as SubjectKind, a6 as IdentityRulesV1, bh as RegionFiscalId, a4 as IdentityDocumentSpec, bf as Region, by as Shop, b0 as Product, y as Collection, bQ as Theme, aH as Page, ap as Menu, c as Article, C as Cart, a as Address, af as InvoiceRequest, B as Customer, $ as FiscalProfile, bH as Subject, aw as Order, aK as PaymentAttemptResult, aZ as PendingPayment, ah as InvoiceStage, D as CustomerCapabilities, b7 as PromotionAnnouncement, bx as ShippingRate, aR as PaymentMethod } from './account-settings-
|
|
1
|
+
import { bN as SubjectKind, a6 as IdentityRulesV1, bh as RegionFiscalId, a4 as IdentityDocumentSpec, bf as Region, by as Shop, b0 as Product, y as Collection, bQ as Theme, aH as Page, ap as Menu, c as Article, C as Cart, a as Address, af as InvoiceRequest, B as Customer, $ as FiscalProfile, bH as Subject, aw as Order, aK as PaymentAttemptResult, aZ as PendingPayment, ah as InvoiceStage, D as CustomerCapabilities, b7 as PromotionAnnouncement, bx as ShippingRate, aR as PaymentMethod } from './account-settings-BNDoVH3W.js';
|
|
2
2
|
import './geo.js';
|
|
3
3
|
|
|
4
4
|
/**
|
package/dist/mockup.d.cts
CHANGED
package/dist/mockup.d.ts
CHANGED
package/dist/node.cjs
CHANGED
|
@@ -47,7 +47,7 @@ function maskToken(token) {
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
// src/node.ts
|
|
50
|
-
var SDK_VERSION = true ? "0.
|
|
50
|
+
var SDK_VERSION = true ? "0.20.0" : "dev";
|
|
51
51
|
function createFileTokenSource(file, options = {}) {
|
|
52
52
|
const ttl = options.ttlMs ?? 3e4;
|
|
53
53
|
const now = options.now ?? Date.now;
|
package/dist/node.js
CHANGED
|
@@ -11,7 +11,7 @@ function maskToken(token) {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
// src/node.ts
|
|
14
|
-
var SDK_VERSION = true ? "0.
|
|
14
|
+
var SDK_VERSION = true ? "0.20.0" : "dev";
|
|
15
15
|
function createFileTokenSource(file, options = {}) {
|
|
16
16
|
const ttl = options.ttlMs ?? 3e4;
|
|
17
17
|
const now = options.now ?? Date.now;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@asteby/storefront",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"description": "Typed client for the Storefront API v1 (catalog, cart, checkout, customer, content) using only global fetch — Node 20+, edge runtimes and browsers — plus an in-memory mock of the whole contract and, in `@asteby/storefront/fiscal-document`, a country-agnostic engine that reads a buyer's fiscal document (PDF) in the browser or Node.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|