@asteby/storefront 0.22.0 → 0.22.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.
- package/dist/{account-settings-DYMmes8_.d.ts → account-settings-CwEnn5sR.d.ts} +2 -0
- package/dist/{account-settings-Cj-yownd.d.cts → account-settings-DZGcveuu.d.cts} +2 -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
|
@@ -1399,6 +1399,8 @@ type RegionPostalCode = {
|
|
|
1399
1399
|
province: string;
|
|
1400
1400
|
city: string;
|
|
1401
1401
|
neighborhoods: string[];
|
|
1402
|
+
/** Every municipality the code covers, only when more than one (the form leaves the city editable and offers them). */
|
|
1403
|
+
cities?: string[];
|
|
1402
1404
|
};
|
|
1403
1405
|
/** `GET /storefront/region`: how the market formats, taxes, addresses and invoices. */
|
|
1404
1406
|
type Region = {
|
|
@@ -1399,6 +1399,8 @@ type RegionPostalCode = {
|
|
|
1399
1399
|
province: string;
|
|
1400
1400
|
city: string;
|
|
1401
1401
|
neighborhoods: string[];
|
|
1402
|
+
/** Every municipality the code covers, only when more than one (the form leaves the city editable and offers them). */
|
|
1403
|
+
cities?: string[];
|
|
1402
1404
|
};
|
|
1403
1405
|
/** `GET /storefront/region`: how the market formats, taxes, addresses and invoices. */
|
|
1404
1406
|
type Region = {
|
package/dist/cli.js
CHANGED
|
@@ -629,7 +629,7 @@ function repairPath(connectionName) {
|
|
|
629
629
|
import { chmodSync, closeSync, existsSync, fsyncSync, mkdirSync, openSync, readFileSync, renameSync, statSync, unlinkSync, writeSync } from "fs";
|
|
630
630
|
import { dirname, join, resolve } from "path";
|
|
631
631
|
import { hostname } from "os";
|
|
632
|
-
var SDK_VERSION = true ? "0.22.
|
|
632
|
+
var SDK_VERSION = true ? "0.22.1" : "dev";
|
|
633
633
|
function writeFileAtomic(file, content, mode = 384) {
|
|
634
634
|
const dir = dirname(file);
|
|
635
635
|
mkdirSync(dir, { recursive: true });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a0 as FiscalDocumentSource, bl as RegionFiscalEntry, a8 as IdentityDocumentSpec, $ as FiscalDocumentEvidence, bm as RegionFiscalId, aa as IdentityRulesV1 } from './account-settings-
|
|
2
|
-
export { a7 as IdentityCapture, a9 as IdentityFieldRule, ab as IdentityStrategy } from './account-settings-
|
|
1
|
+
import { a0 as FiscalDocumentSource, bl as RegionFiscalEntry, a8 as IdentityDocumentSpec, $ as FiscalDocumentEvidence, bm as RegionFiscalId, aa as IdentityRulesV1 } from './account-settings-DZGcveuu.cjs';
|
|
2
|
+
export { a7 as IdentityCapture, a9 as IdentityFieldRule, ab as IdentityStrategy } from './account-settings-DZGcveuu.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 { a0 as FiscalDocumentSource, bl as RegionFiscalEntry, a8 as IdentityDocumentSpec, $ as FiscalDocumentEvidence, bm as RegionFiscalId, aa as IdentityRulesV1 } from './account-settings-
|
|
2
|
-
export { a7 as IdentityCapture, a9 as IdentityFieldRule, ab as IdentityStrategy } from './account-settings-
|
|
1
|
+
import { a0 as FiscalDocumentSource, bl as RegionFiscalEntry, a8 as IdentityDocumentSpec, $ as FiscalDocumentEvidence, bm as RegionFiscalId, aa as IdentityRulesV1 } from './account-settings-CwEnn5sR.js';
|
|
2
|
+
export { a7 as IdentityCapture, a9 as IdentityFieldRule, ab as IdentityStrategy } from './account-settings-CwEnn5sR.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 { ba as ProductSort, bW as TokenIntrospection, bD as Shop, bk as Region, bo as RegionPostalCode, b8 as ProductConnection, b5 as Product, z as Connection, y as Collection, as as LocationListParams, ap as Location, ay as NearestLocation, bH as StockLevel, bp as RestockSubscriptionInput, bq as RestockSubscriptionResult, n as CartLineInput, C as Cart, q as CartLineUpdateInput, g as CartBuyerInput, b as AddressInput, Y as DeliveryOptions, aX as PaymentMethods, W as DeliveryInput, ak as InvoiceRequest, bi as RecommendationPlacement, t as CartRecommendations, v as CheckoutInput, x as CheckoutResult, bf as PromotionsList, aT as PaymentConfig, b0 as PaymentSubmitInput, aP as PaymentAttemptResult, I as CustomerIdentifier, Q as CustomerSessionInput, O as CustomerSession, D as CustomerCapabilities, L as CustomerRegisterInput, M as CustomerRegisterResult, T as CustomerVerifyRegistrationInput, J as CustomerPasswordLoginInput, R as CustomerSetPasswordInput, N as CustomerResetPasswordInput, B as Customer, S as CustomerUpdateInput, P as CustomerSessionInfo, bg as ReauthInput, bh as ReauthResult, H as CustomerEmailCodeInput, F as CustomerEmailChangeInput, G as CustomerEmailChangeRequested, E as CustomerEmailChangeConfirmInput, U as DataExportFile, A as AccountDeleteInput, aB as Order, bs as ReturnRequestInput, br as ReturnRequest, al as InvoiceResult, b2 as PendingPayment, ai as InvoiceFileKind, ah as InvoiceFile, a3 as FiscalProfile, a4 as FiscalProfileInput, bM as Subject, bR as SubjectInput, bT as SubjectPatch, a as Address, bS as SubjectKind, bV as Theme, aM as Page, au as Menu, c as Article, aw as Money, e as AvailabilityStatus, p as CartLineProblem, d as Availability, ae as InsufficientStockLine, bb as ProductVariant, V as DeclineCode, b1 as PaymentVoucher, aY as PaymentNextStep, r as CartPromotions, bd as PromotionReward, ag as InvoiceDoc, bw as Shipment, az as NextAction, aF as OrderProgress, bA as ShipmentStatus, bx as ShipmentEvent, bO as SubjectCatalogNode, bP as SubjectField, X as DeliveryMethod, bX 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, K as CustomerPreferences, Z as Facet, _ as FacetValue, $ as FiscalDocumentEvidence, a0 as FiscalDocumentSource, a1 as FiscalIdentity, a2 as FiscalIdentityInput, a5 as FiscalVerification, a6 as GeoHint, a7 as IdentityCapture, a8 as IdentityDocumentSpec, a9 as IdentityFieldRule, aa as IdentityRulesV1, ab as IdentityStrategy, ac as Image, ad as InsufficientStockDetails, af as InvoiceAction, aj as InvoiceReceiver, am as InvoiceStage, an as InvoiceSummary, ao as InvoicingCapabilities, aq as LocationContacts, ar as LocationKind, at as LocationPickup, av as MenuItem, ax as MoneyRange, aA as NextActionKind, aC as OrderLine, aD as OrderPickup, aE as OrderProblem, aG as OrderProgressStep, aH as OrderSection, aI as OrderShippingService, aJ as OrderStage, aK as OrderStepKey, aL as OrderStepState, aN as PageInfo, aO as PaymentAction, aQ as PaymentAttemptStatus, aR as PaymentClient, aS as PaymentClientCsp, aU as PaymentFlow, aV as PaymentInfo, aW as PaymentMethod, aZ as PaymentOption, a_ as PaymentOptionKey, a$ as PaymentPoint, b3 as PendingPaymentVoucher, b4 as PickupOption, b6 as ProductAttributeValue, b7 as ProductCategory, b9 as ProductOption, bc as PromotionAnnouncement, be as PromotionTier, bj as Refund, bl as RegionFiscalEntry, bm as RegionFiscalId, bn as RegionPaymentMethod, bt as SEO, bu as Section, bv as SelectedOption, by as ShipmentKind, bz as ShipmentMap, bB as ShipmentsSummary, bC as ShippingRate, bE as ShopBranch, bF as ShopContact, bG as ShopPolicies, bI as StorefrontError, bJ as StorefrontErrorBody, bK as StorefrontErrorCode, bL as StorefrontErrorInit, bN as SubjectCatalog, bQ as SubjectFieldType, bU as SubjectRef, bY as dataExportBytes, bZ as isAccountDeleteBlocked, b_ as isReauthRequired, b$ as isStorefrontError, c0 as safeExportFilename } from './account-settings-
|
|
1
|
+
import { ba as ProductSort, bW as TokenIntrospection, bD as Shop, bk as Region, bo as RegionPostalCode, b8 as ProductConnection, b5 as Product, z as Connection, y as Collection, as as LocationListParams, ap as Location, ay as NearestLocation, bH as StockLevel, bp as RestockSubscriptionInput, bq as RestockSubscriptionResult, n as CartLineInput, C as Cart, q as CartLineUpdateInput, g as CartBuyerInput, b as AddressInput, Y as DeliveryOptions, aX as PaymentMethods, W as DeliveryInput, ak as InvoiceRequest, bi as RecommendationPlacement, t as CartRecommendations, v as CheckoutInput, x as CheckoutResult, bf as PromotionsList, aT as PaymentConfig, b0 as PaymentSubmitInput, aP as PaymentAttemptResult, I as CustomerIdentifier, Q as CustomerSessionInput, O as CustomerSession, D as CustomerCapabilities, L as CustomerRegisterInput, M as CustomerRegisterResult, T as CustomerVerifyRegistrationInput, J as CustomerPasswordLoginInput, R as CustomerSetPasswordInput, N as CustomerResetPasswordInput, B as Customer, S as CustomerUpdateInput, P as CustomerSessionInfo, bg as ReauthInput, bh as ReauthResult, H as CustomerEmailCodeInput, F as CustomerEmailChangeInput, G as CustomerEmailChangeRequested, E as CustomerEmailChangeConfirmInput, U as DataExportFile, A as AccountDeleteInput, aB as Order, bs as ReturnRequestInput, br as ReturnRequest, al as InvoiceResult, b2 as PendingPayment, ai as InvoiceFileKind, ah as InvoiceFile, a3 as FiscalProfile, a4 as FiscalProfileInput, bM as Subject, bR as SubjectInput, bT as SubjectPatch, a as Address, bS as SubjectKind, bV as Theme, aM as Page, au as Menu, c as Article, aw as Money, e as AvailabilityStatus, p as CartLineProblem, d as Availability, ae as InsufficientStockLine, bb as ProductVariant, V as DeclineCode, b1 as PaymentVoucher, aY as PaymentNextStep, r as CartPromotions, bd as PromotionReward, ag as InvoiceDoc, bw as Shipment, az as NextAction, aF as OrderProgress, bA as ShipmentStatus, bx as ShipmentEvent, bO as SubjectCatalogNode, bP as SubjectField, X as DeliveryMethod, bX as UnavailableRateProvider } from './account-settings-DZGcveuu.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, K as CustomerPreferences, Z as Facet, _ as FacetValue, $ as FiscalDocumentEvidence, a0 as FiscalDocumentSource, a1 as FiscalIdentity, a2 as FiscalIdentityInput, a5 as FiscalVerification, a6 as GeoHint, a7 as IdentityCapture, a8 as IdentityDocumentSpec, a9 as IdentityFieldRule, aa as IdentityRulesV1, ab as IdentityStrategy, ac as Image, ad as InsufficientStockDetails, af as InvoiceAction, aj as InvoiceReceiver, am as InvoiceStage, an as InvoiceSummary, ao as InvoicingCapabilities, aq as LocationContacts, ar as LocationKind, at as LocationPickup, av as MenuItem, ax as MoneyRange, aA as NextActionKind, aC as OrderLine, aD as OrderPickup, aE as OrderProblem, aG as OrderProgressStep, aH as OrderSection, aI as OrderShippingService, aJ as OrderStage, aK as OrderStepKey, aL as OrderStepState, aN as PageInfo, aO as PaymentAction, aQ as PaymentAttemptStatus, aR as PaymentClient, aS as PaymentClientCsp, aU as PaymentFlow, aV as PaymentInfo, aW as PaymentMethod, aZ as PaymentOption, a_ as PaymentOptionKey, a$ as PaymentPoint, b3 as PendingPaymentVoucher, b4 as PickupOption, b6 as ProductAttributeValue, b7 as ProductCategory, b9 as ProductOption, bc as PromotionAnnouncement, be as PromotionTier, bj as Refund, bl as RegionFiscalEntry, bm as RegionFiscalId, bn as RegionPaymentMethod, bt as SEO, bu as Section, bv as SelectedOption, by as ShipmentKind, bz as ShipmentMap, bB as ShipmentsSummary, bC as ShippingRate, bE as ShopBranch, bF as ShopContact, bG as ShopPolicies, bI as StorefrontError, bJ as StorefrontErrorBody, bK as StorefrontErrorCode, bL as StorefrontErrorInit, bN as SubjectCatalog, bQ as SubjectFieldType, bU as SubjectRef, bY as dataExportBytes, bZ as isAccountDeleteBlocked, b_ as isReauthRequired, b$ as isStorefrontError, c0 as safeExportFilename } from './account-settings-DZGcveuu.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 { ba as ProductSort, bW as TokenIntrospection, bD as Shop, bk as Region, bo as RegionPostalCode, b8 as ProductConnection, b5 as Product, z as Connection, y as Collection, as as LocationListParams, ap as Location, ay as NearestLocation, bH as StockLevel, bp as RestockSubscriptionInput, bq as RestockSubscriptionResult, n as CartLineInput, C as Cart, q as CartLineUpdateInput, g as CartBuyerInput, b as AddressInput, Y as DeliveryOptions, aX as PaymentMethods, W as DeliveryInput, ak as InvoiceRequest, bi as RecommendationPlacement, t as CartRecommendations, v as CheckoutInput, x as CheckoutResult, bf as PromotionsList, aT as PaymentConfig, b0 as PaymentSubmitInput, aP as PaymentAttemptResult, I as CustomerIdentifier, Q as CustomerSessionInput, O as CustomerSession, D as CustomerCapabilities, L as CustomerRegisterInput, M as CustomerRegisterResult, T as CustomerVerifyRegistrationInput, J as CustomerPasswordLoginInput, R as CustomerSetPasswordInput, N as CustomerResetPasswordInput, B as Customer, S as CustomerUpdateInput, P as CustomerSessionInfo, bg as ReauthInput, bh as ReauthResult, H as CustomerEmailCodeInput, F as CustomerEmailChangeInput, G as CustomerEmailChangeRequested, E as CustomerEmailChangeConfirmInput, U as DataExportFile, A as AccountDeleteInput, aB as Order, bs as ReturnRequestInput, br as ReturnRequest, al as InvoiceResult, b2 as PendingPayment, ai as InvoiceFileKind, ah as InvoiceFile, a3 as FiscalProfile, a4 as FiscalProfileInput, bM as Subject, bR as SubjectInput, bT as SubjectPatch, a as Address, bS as SubjectKind, bV as Theme, aM as Page, au as Menu, c as Article, aw as Money, e as AvailabilityStatus, p as CartLineProblem, d as Availability, ae as InsufficientStockLine, bb as ProductVariant, V as DeclineCode, b1 as PaymentVoucher, aY as PaymentNextStep, r as CartPromotions, bd as PromotionReward, ag as InvoiceDoc, bw as Shipment, az as NextAction, aF as OrderProgress, bA as ShipmentStatus, bx as ShipmentEvent, bO as SubjectCatalogNode, bP as SubjectField, X as DeliveryMethod, bX 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, K as CustomerPreferences, Z as Facet, _ as FacetValue, $ as FiscalDocumentEvidence, a0 as FiscalDocumentSource, a1 as FiscalIdentity, a2 as FiscalIdentityInput, a5 as FiscalVerification, a6 as GeoHint, a7 as IdentityCapture, a8 as IdentityDocumentSpec, a9 as IdentityFieldRule, aa as IdentityRulesV1, ab as IdentityStrategy, ac as Image, ad as InsufficientStockDetails, af as InvoiceAction, aj as InvoiceReceiver, am as InvoiceStage, an as InvoiceSummary, ao as InvoicingCapabilities, aq as LocationContacts, ar as LocationKind, at as LocationPickup, av as MenuItem, ax as MoneyRange, aA as NextActionKind, aC as OrderLine, aD as OrderPickup, aE as OrderProblem, aG as OrderProgressStep, aH as OrderSection, aI as OrderShippingService, aJ as OrderStage, aK as OrderStepKey, aL as OrderStepState, aN as PageInfo, aO as PaymentAction, aQ as PaymentAttemptStatus, aR as PaymentClient, aS as PaymentClientCsp, aU as PaymentFlow, aV as PaymentInfo, aW as PaymentMethod, aZ as PaymentOption, a_ as PaymentOptionKey, a$ as PaymentPoint, b3 as PendingPaymentVoucher, b4 as PickupOption, b6 as ProductAttributeValue, b7 as ProductCategory, b9 as ProductOption, bc as PromotionAnnouncement, be as PromotionTier, bj as Refund, bl as RegionFiscalEntry, bm as RegionFiscalId, bn as RegionPaymentMethod, bt as SEO, bu as Section, bv as SelectedOption, by as ShipmentKind, bz as ShipmentMap, bB as ShipmentsSummary, bC as ShippingRate, bE as ShopBranch, bF as ShopContact, bG as ShopPolicies, bI as StorefrontError, bJ as StorefrontErrorBody, bK as StorefrontErrorCode, bL as StorefrontErrorInit, bN as SubjectCatalog, bQ as SubjectFieldType, bU as SubjectRef, bY as dataExportBytes, bZ as isAccountDeleteBlocked, b_ as isReauthRequired, b$ as isStorefrontError, c0 as safeExportFilename } from './account-settings-
|
|
1
|
+
import { ba as ProductSort, bW as TokenIntrospection, bD as Shop, bk as Region, bo as RegionPostalCode, b8 as ProductConnection, b5 as Product, z as Connection, y as Collection, as as LocationListParams, ap as Location, ay as NearestLocation, bH as StockLevel, bp as RestockSubscriptionInput, bq as RestockSubscriptionResult, n as CartLineInput, C as Cart, q as CartLineUpdateInput, g as CartBuyerInput, b as AddressInput, Y as DeliveryOptions, aX as PaymentMethods, W as DeliveryInput, ak as InvoiceRequest, bi as RecommendationPlacement, t as CartRecommendations, v as CheckoutInput, x as CheckoutResult, bf as PromotionsList, aT as PaymentConfig, b0 as PaymentSubmitInput, aP as PaymentAttemptResult, I as CustomerIdentifier, Q as CustomerSessionInput, O as CustomerSession, D as CustomerCapabilities, L as CustomerRegisterInput, M as CustomerRegisterResult, T as CustomerVerifyRegistrationInput, J as CustomerPasswordLoginInput, R as CustomerSetPasswordInput, N as CustomerResetPasswordInput, B as Customer, S as CustomerUpdateInput, P as CustomerSessionInfo, bg as ReauthInput, bh as ReauthResult, H as CustomerEmailCodeInput, F as CustomerEmailChangeInput, G as CustomerEmailChangeRequested, E as CustomerEmailChangeConfirmInput, U as DataExportFile, A as AccountDeleteInput, aB as Order, bs as ReturnRequestInput, br as ReturnRequest, al as InvoiceResult, b2 as PendingPayment, ai as InvoiceFileKind, ah as InvoiceFile, a3 as FiscalProfile, a4 as FiscalProfileInput, bM as Subject, bR as SubjectInput, bT as SubjectPatch, a as Address, bS as SubjectKind, bV as Theme, aM as Page, au as Menu, c as Article, aw as Money, e as AvailabilityStatus, p as CartLineProblem, d as Availability, ae as InsufficientStockLine, bb as ProductVariant, V as DeclineCode, b1 as PaymentVoucher, aY as PaymentNextStep, r as CartPromotions, bd as PromotionReward, ag as InvoiceDoc, bw as Shipment, az as NextAction, aF as OrderProgress, bA as ShipmentStatus, bx as ShipmentEvent, bO as SubjectCatalogNode, bP as SubjectField, X as DeliveryMethod, bX as UnavailableRateProvider } from './account-settings-CwEnn5sR.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, K as CustomerPreferences, Z as Facet, _ as FacetValue, $ as FiscalDocumentEvidence, a0 as FiscalDocumentSource, a1 as FiscalIdentity, a2 as FiscalIdentityInput, a5 as FiscalVerification, a6 as GeoHint, a7 as IdentityCapture, a8 as IdentityDocumentSpec, a9 as IdentityFieldRule, aa as IdentityRulesV1, ab as IdentityStrategy, ac as Image, ad as InsufficientStockDetails, af as InvoiceAction, aj as InvoiceReceiver, am as InvoiceStage, an as InvoiceSummary, ao as InvoicingCapabilities, aq as LocationContacts, ar as LocationKind, at as LocationPickup, av as MenuItem, ax as MoneyRange, aA as NextActionKind, aC as OrderLine, aD as OrderPickup, aE as OrderProblem, aG as OrderProgressStep, aH as OrderSection, aI as OrderShippingService, aJ as OrderStage, aK as OrderStepKey, aL as OrderStepState, aN as PageInfo, aO as PaymentAction, aQ as PaymentAttemptStatus, aR as PaymentClient, aS as PaymentClientCsp, aU as PaymentFlow, aV as PaymentInfo, aW as PaymentMethod, aZ as PaymentOption, a_ as PaymentOptionKey, a$ as PaymentPoint, b3 as PendingPaymentVoucher, b4 as PickupOption, b6 as ProductAttributeValue, b7 as ProductCategory, b9 as ProductOption, bc as PromotionAnnouncement, be as PromotionTier, bj as Refund, bl as RegionFiscalEntry, bm as RegionFiscalId, bn as RegionPaymentMethod, bt as SEO, bu as Section, bv as SelectedOption, by as ShipmentKind, bz as ShipmentMap, bB as ShipmentsSummary, bC as ShippingRate, bE as ShopBranch, bF as ShopContact, bG as ShopPolicies, bI as StorefrontError, bJ as StorefrontErrorBody, bK as StorefrontErrorCode, bL as StorefrontErrorInit, bN as SubjectCatalog, bQ as SubjectFieldType, bU as SubjectRef, bY as dataExportBytes, bZ as isAccountDeleteBlocked, b_ as isReauthRequired, b$ as isStorefrontError, c0 as safeExportFilename } from './account-settings-CwEnn5sR.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 { bS as SubjectKind, aa as IdentityRulesV1, bm as RegionFiscalId, a8 as IdentityDocumentSpec, bk as Region, bD as Shop, b5 as Product, y as Collection, bV as Theme, aM as Page, au as Menu, c as Article, C as Cart, a as Address, ak as InvoiceRequest, B as Customer, a3 as FiscalProfile, bM as Subject, aB as Order, aP as PaymentAttemptResult, b2 as PendingPayment, am as InvoiceStage, D as CustomerCapabilities, bc as PromotionAnnouncement, bC as ShippingRate, aW as PaymentMethod } from './account-settings-
|
|
1
|
+
import { bS as SubjectKind, aa as IdentityRulesV1, bm as RegionFiscalId, a8 as IdentityDocumentSpec, bk as Region, bD as Shop, b5 as Product, y as Collection, bV as Theme, aM as Page, au as Menu, c as Article, C as Cart, a as Address, ak as InvoiceRequest, B as Customer, a3 as FiscalProfile, bM as Subject, aB as Order, aP as PaymentAttemptResult, b2 as PendingPayment, am as InvoiceStage, D as CustomerCapabilities, bc as PromotionAnnouncement, bC as ShippingRate, aW as PaymentMethod } from './account-settings-DZGcveuu.cjs';
|
|
2
2
|
import './geo.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
package/dist/mock.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bS as SubjectKind, aa as IdentityRulesV1, bm as RegionFiscalId, a8 as IdentityDocumentSpec, bk as Region, bD as Shop, b5 as Product, y as Collection, bV as Theme, aM as Page, au as Menu, c as Article, C as Cart, a as Address, ak as InvoiceRequest, B as Customer, a3 as FiscalProfile, bM as Subject, aB as Order, aP as PaymentAttemptResult, b2 as PendingPayment, am as InvoiceStage, D as CustomerCapabilities, bc as PromotionAnnouncement, bC as ShippingRate, aW as PaymentMethod } from './account-settings-
|
|
1
|
+
import { bS as SubjectKind, aa as IdentityRulesV1, bm as RegionFiscalId, a8 as IdentityDocumentSpec, bk as Region, bD as Shop, b5 as Product, y as Collection, bV as Theme, aM as Page, au as Menu, c as Article, C as Cart, a as Address, ak as InvoiceRequest, B as Customer, a3 as FiscalProfile, bM as Subject, aB as Order, aP as PaymentAttemptResult, b2 as PendingPayment, am as InvoiceStage, D as CustomerCapabilities, bc as PromotionAnnouncement, bC as ShippingRate, aW as PaymentMethod } from './account-settings-CwEnn5sR.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.22.
|
|
50
|
+
var SDK_VERSION = true ? "0.22.1" : "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.22.
|
|
14
|
+
var SDK_VERSION = true ? "0.22.1" : "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.22.
|
|
3
|
+
"version": "0.22.1",
|
|
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": {
|