arky-sdk 0.7.128 → 0.7.129
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/{admin-0rOB-o2E.d.ts → admin-CKVQJu8y.d.ts} +1 -1
- package/dist/{admin-DXfc0gEH.d.cts → admin-Cgqo1TcB.d.cts} +1 -1
- package/dist/admin.cjs +2 -4
- package/dist/admin.cjs.map +1 -1
- package/dist/admin.d.cts +1 -1
- package/dist/admin.d.ts +1 -1
- package/dist/admin.js +2 -4
- package/dist/admin.js.map +1 -1
- package/dist/index.cjs +3 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -5
- package/dist/index.js.map +1 -1
- package/dist/storefront-store.cjs +190 -189
- package/dist/storefront-store.cjs.map +1 -1
- package/dist/storefront-store.d.cts +2 -2
- package/dist/storefront-store.d.ts +2 -2
- package/dist/storefront-store.js +190 -189
- package/dist/storefront-store.js.map +1 -1
- package/dist/storefront.cjs +190 -189
- package/dist/storefront.cjs.map +1 -1
- package/dist/storefront.d.cts +94 -94
- package/dist/storefront.d.ts +94 -94
- package/dist/storefront.js +190 -189
- package/dist/storefront.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { n as Activity, P as AdminSession, N as AdminSessionInternal, Q as AdminSessionUpdater, _ as AnalyticsQuery, $ as AnalyticsQueryResponse, a0 as AnalyticsRow, M as ApiConfig, A as AuthStateListener, o as COMMON_ACTIVITY_TYPES, u as CartApi, c as CartController, w as CartControllerAddItemParams, x as CartControllerCheckoutParams, y as CartControllerClearParams, z as CartControllerInitParams, B as CartControllerListener, D as CartControllerQuoteParams, E as CartControllerRefreshParams, F as CartControllerRemoveItemParams, G as CartControllerState, H as CartControllerUpdateParams, t as CommonActivityType, U as CreateAdminConfig, C as CreateStorefrontConfig, a as CustomerSession, O as CustomerSessionInternal, R as CustomerSessionUpdater, a2 as Dimension, a7 as EntityKind, a3 as Filter, a4 as FilterField, a5 as FilterOp, Z as GetCountriesResponse, a6 as Granularity, J as HttpClientConfig, ac as IntegrationOperation, ad as IntegrationResource, ae as IntegrationService, Y as LocationCountry, X as LocationState, a1 as Measure, aa as OrderBy, S as SDK_VERSION, L as SUPPORTED_FRAMEWORKS, a8 as TimeRange, a9 as TimeUnit, ab as TimelineParams, T as TrackParams, W as createAdmin, r as createCartController, q as createStorefront } from './admin-
|
|
1
|
+
export { n as Activity, P as AdminSession, N as AdminSessionInternal, Q as AdminSessionUpdater, _ as AnalyticsQuery, $ as AnalyticsQueryResponse, a0 as AnalyticsRow, M as ApiConfig, A as AuthStateListener, o as COMMON_ACTIVITY_TYPES, u as CartApi, c as CartController, w as CartControllerAddItemParams, x as CartControllerCheckoutParams, y as CartControllerClearParams, z as CartControllerInitParams, B as CartControllerListener, D as CartControllerQuoteParams, E as CartControllerRefreshParams, F as CartControllerRemoveItemParams, G as CartControllerState, H as CartControllerUpdateParams, t as CommonActivityType, U as CreateAdminConfig, C as CreateStorefrontConfig, a as CustomerSession, O as CustomerSessionInternal, R as CustomerSessionUpdater, a2 as Dimension, a7 as EntityKind, a3 as Filter, a4 as FilterField, a5 as FilterOp, Z as GetCountriesResponse, a6 as Granularity, J as HttpClientConfig, ac as IntegrationOperation, ad as IntegrationResource, ae as IntegrationService, Y as LocationCountry, X as LocationState, a1 as Measure, aa as OrderBy, S as SDK_VERSION, L as SUPPORTED_FRAMEWORKS, a8 as TimeRange, a9 as TimeUnit, ab as TimelineParams, T as TrackParams, W as createAdmin, r as createCartController, q as createStorefront } from './admin-Cgqo1TcB.cjs';
|
|
2
2
|
export { Access, Account, AccountToken, AccountUpdateResponse, AddCartItemParams, Address, Agent, AgentChat, AgentChatMessage, AgentChatStatus, AgentStatus, ApiResponse, Audience, AudienceAccessResponse, AudienceStatus, AudienceSubscribeResponse, AudienceSubscriber, AudienceSubscription, AudienceSubscriptionPayment, AudienceSubscriptionProvider, AudienceSubscriptionSource, AudienceSubscriptionStatus, AudienceType, AvailabilityResponse, AvailabilitySlot, Block, Cart, CartOrigin, CartStatus, CheckoutCartParams, CheckoutItemInput, ClearCartParams, Condition, ConditionValue, CreateAgentParams, CreateLocationParams, Customer, CustomerStatus, CustomsDeclaration, CustomsItem, DaySlots, DeleteLocationParams, Discount, EmailTemplate, EmailTemplateStatus, EshopCartItem, EshopItem, EshopQuoteItem, EshopStoreState, Event, EventAction, ExecutionStatus, FindCartsParams, Form, FormEntry, FormField, FormFieldType, FormSchema, FormSchemaType, FormStatus, FormSubmission, GalleryItem, GeoLocation, GeoLocationBlock, GetAgentParams, GetAgentsParams, GetAvailabilityParams, GetCartParams, GetCurrentCartParams, GetShippingRatesParams, HistoryEntry, Integration, IntegrationProvider, InventoryLevel, Language, Location, Market, Media, MediaResolution, Node, NodeResult, NodeStatus, Order, OrderCancellationReason, OrderCheckoutCompatibleItemInput, OrderCheckoutItemInput, OrderItem, OrderItemSnapshot, OrderItemStatus, OrderPayment, OrderPaymentPromoCode, OrderPaymentProvider, OrderPaymentRefund, OrderPaymentStatus, OrderPaymentTax, OrderPaymentTaxLine, OrderQuote, OrderQuoteCompatibleItemInput, OrderQuoteItemInput, OrderShipping, PaginatedResponse, Parcel, PaymentMethod, PaymentMethodType, Price, Product, ProductCheckoutItemInput, ProductInventory, ProductOrderItem, ProductOrderItemSnapshot, ProductQuoteItemInput, ProductQuoteLine, ProductQuoteLineAvailability, ProductStatus, ProductVariant, PromoCode, PromoCodeStatus, PromoCodeValidation, Provider, ProviderAvailability, ProviderStatus, ProviderTimelinePoint, ProviderWithTimeline, PurchaseLabelResult, QuoteCartParams, QuoteItemInput, QuoteLine, RemoveCartItemParams, Service, ServiceCheckoutItemInput, ServiceCheckoutPart, ServiceDuration, ServiceOrderItem, ServiceOrderItemSnapshot, ServiceProvider, ServiceQuoteItem, ServiceQuoteItemInput, ServiceQuoteLine, ServiceQuoteLineAvailability, ServiceStatus, ShipParams, ShipResult, Shipment, ShipmentLine, ShippingAddress, ShippingMethod, ShippingRate, ShippingStatus, ShippingWeightTier, Slot, SlotRange, SpecificDate, Store, StoreMembership, StoreSubscription, StoreSubscriptionPayment, StoreSubscriptionProvider, StoreSubscriptionSource, StoreSubscriptionStatus, SubscriptionPlan, SystemTemplateKey, Taxonomy, TaxonomyEntry, TaxonomyField, TaxonomyFieldQuery, TaxonomyQuery, TaxonomySchema, TaxonomySchemaType, TaxonomyStatus, TimelinePoint, UpdateAgentParams, UpdateCartParams, UpdateLocationParams, Webhook, WebhookEventSubscription, Workflow, WorkflowEdge, WorkflowExecution, WorkflowHttpMethod, WorkflowHttpNode, WorkflowLoopNode, WorkflowNode, WorkflowStatus, WorkflowSwitchNode, WorkflowSwitchRule, WorkflowTransformNode, WorkflowTriggerNode, WorkingDay, WorkingHour, Zone, ZoneLocation } from './types.cjs';
|
|
3
3
|
import './index-C5gikdBg.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { n as Activity, P as AdminSession, N as AdminSessionInternal, Q as AdminSessionUpdater, _ as AnalyticsQuery, $ as AnalyticsQueryResponse, a0 as AnalyticsRow, M as ApiConfig, A as AuthStateListener, o as COMMON_ACTIVITY_TYPES, u as CartApi, c as CartController, w as CartControllerAddItemParams, x as CartControllerCheckoutParams, y as CartControllerClearParams, z as CartControllerInitParams, B as CartControllerListener, D as CartControllerQuoteParams, E as CartControllerRefreshParams, F as CartControllerRemoveItemParams, G as CartControllerState, H as CartControllerUpdateParams, t as CommonActivityType, U as CreateAdminConfig, C as CreateStorefrontConfig, a as CustomerSession, O as CustomerSessionInternal, R as CustomerSessionUpdater, a2 as Dimension, a7 as EntityKind, a3 as Filter, a4 as FilterField, a5 as FilterOp, Z as GetCountriesResponse, a6 as Granularity, J as HttpClientConfig, ac as IntegrationOperation, ad as IntegrationResource, ae as IntegrationService, Y as LocationCountry, X as LocationState, a1 as Measure, aa as OrderBy, S as SDK_VERSION, L as SUPPORTED_FRAMEWORKS, a8 as TimeRange, a9 as TimeUnit, ab as TimelineParams, T as TrackParams, W as createAdmin, r as createCartController, q as createStorefront } from './admin-
|
|
1
|
+
export { n as Activity, P as AdminSession, N as AdminSessionInternal, Q as AdminSessionUpdater, _ as AnalyticsQuery, $ as AnalyticsQueryResponse, a0 as AnalyticsRow, M as ApiConfig, A as AuthStateListener, o as COMMON_ACTIVITY_TYPES, u as CartApi, c as CartController, w as CartControllerAddItemParams, x as CartControllerCheckoutParams, y as CartControllerClearParams, z as CartControllerInitParams, B as CartControllerListener, D as CartControllerQuoteParams, E as CartControllerRefreshParams, F as CartControllerRemoveItemParams, G as CartControllerState, H as CartControllerUpdateParams, t as CommonActivityType, U as CreateAdminConfig, C as CreateStorefrontConfig, a as CustomerSession, O as CustomerSessionInternal, R as CustomerSessionUpdater, a2 as Dimension, a7 as EntityKind, a3 as Filter, a4 as FilterField, a5 as FilterOp, Z as GetCountriesResponse, a6 as Granularity, J as HttpClientConfig, ac as IntegrationOperation, ad as IntegrationResource, ae as IntegrationService, Y as LocationCountry, X as LocationState, a1 as Measure, aa as OrderBy, S as SDK_VERSION, L as SUPPORTED_FRAMEWORKS, a8 as TimeRange, a9 as TimeUnit, ab as TimelineParams, T as TrackParams, W as createAdmin, r as createCartController, q as createStorefront } from './admin-CKVQJu8y.js';
|
|
2
2
|
export { Access, Account, AccountToken, AccountUpdateResponse, AddCartItemParams, Address, Agent, AgentChat, AgentChatMessage, AgentChatStatus, AgentStatus, ApiResponse, Audience, AudienceAccessResponse, AudienceStatus, AudienceSubscribeResponse, AudienceSubscriber, AudienceSubscription, AudienceSubscriptionPayment, AudienceSubscriptionProvider, AudienceSubscriptionSource, AudienceSubscriptionStatus, AudienceType, AvailabilityResponse, AvailabilitySlot, Block, Cart, CartOrigin, CartStatus, CheckoutCartParams, CheckoutItemInput, ClearCartParams, Condition, ConditionValue, CreateAgentParams, CreateLocationParams, Customer, CustomerStatus, CustomsDeclaration, CustomsItem, DaySlots, DeleteLocationParams, Discount, EmailTemplate, EmailTemplateStatus, EshopCartItem, EshopItem, EshopQuoteItem, EshopStoreState, Event, EventAction, ExecutionStatus, FindCartsParams, Form, FormEntry, FormField, FormFieldType, FormSchema, FormSchemaType, FormStatus, FormSubmission, GalleryItem, GeoLocation, GeoLocationBlock, GetAgentParams, GetAgentsParams, GetAvailabilityParams, GetCartParams, GetCurrentCartParams, GetShippingRatesParams, HistoryEntry, Integration, IntegrationProvider, InventoryLevel, Language, Location, Market, Media, MediaResolution, Node, NodeResult, NodeStatus, Order, OrderCancellationReason, OrderCheckoutCompatibleItemInput, OrderCheckoutItemInput, OrderItem, OrderItemSnapshot, OrderItemStatus, OrderPayment, OrderPaymentPromoCode, OrderPaymentProvider, OrderPaymentRefund, OrderPaymentStatus, OrderPaymentTax, OrderPaymentTaxLine, OrderQuote, OrderQuoteCompatibleItemInput, OrderQuoteItemInput, OrderShipping, PaginatedResponse, Parcel, PaymentMethod, PaymentMethodType, Price, Product, ProductCheckoutItemInput, ProductInventory, ProductOrderItem, ProductOrderItemSnapshot, ProductQuoteItemInput, ProductQuoteLine, ProductQuoteLineAvailability, ProductStatus, ProductVariant, PromoCode, PromoCodeStatus, PromoCodeValidation, Provider, ProviderAvailability, ProviderStatus, ProviderTimelinePoint, ProviderWithTimeline, PurchaseLabelResult, QuoteCartParams, QuoteItemInput, QuoteLine, RemoveCartItemParams, Service, ServiceCheckoutItemInput, ServiceCheckoutPart, ServiceDuration, ServiceOrderItem, ServiceOrderItemSnapshot, ServiceProvider, ServiceQuoteItem, ServiceQuoteItemInput, ServiceQuoteLine, ServiceQuoteLineAvailability, ServiceStatus, ShipParams, ShipResult, Shipment, ShipmentLine, ShippingAddress, ShippingMethod, ShippingRate, ShippingStatus, ShippingWeightTier, Slot, SlotRange, SpecificDate, Store, StoreMembership, StoreSubscription, StoreSubscriptionPayment, StoreSubscriptionProvider, StoreSubscriptionSource, StoreSubscriptionStatus, SubscriptionPlan, SystemTemplateKey, Taxonomy, TaxonomyEntry, TaxonomyField, TaxonomyFieldQuery, TaxonomyQuery, TaxonomySchema, TaxonomySchemaType, TaxonomyStatus, TimelinePoint, UpdateAgentParams, UpdateCartParams, UpdateLocationParams, Webhook, WebhookEventSubscription, Workflow, WorkflowEdge, WorkflowExecution, WorkflowHttpMethod, WorkflowHttpNode, WorkflowLoopNode, WorkflowNode, WorkflowStatus, WorkflowSwitchNode, WorkflowSwitchRule, WorkflowTransformNode, WorkflowTriggerNode, WorkingDay, WorkingHour, Zone, ZoneLocation } from './types.js';
|
|
3
3
|
import './index-MFMjlIfS.js';
|
package/dist/index.js
CHANGED
|
@@ -135,8 +135,7 @@ var getImageUrl = (imageBlock, isBlock = true) => {
|
|
|
135
135
|
function normalizeOrderQuoteItems(items) {
|
|
136
136
|
return items.map((item) => {
|
|
137
137
|
if ("type" in item) {
|
|
138
|
-
|
|
139
|
-
return type === "booking" ? { ...item, type: "service" } : item;
|
|
138
|
+
return item;
|
|
140
139
|
}
|
|
141
140
|
if ("product_id" in item) {
|
|
142
141
|
return { type: "product", ...item };
|
|
@@ -147,8 +146,7 @@ function normalizeOrderQuoteItems(items) {
|
|
|
147
146
|
function normalizeOrderCheckoutItems(items) {
|
|
148
147
|
return items.map((item) => {
|
|
149
148
|
if ("type" in item) {
|
|
150
|
-
|
|
151
|
-
return type === "booking" ? { ...item, type: "service" } : item;
|
|
149
|
+
return item;
|
|
152
150
|
}
|
|
153
151
|
if ("product_id" in item) {
|
|
154
152
|
return { type: "product", ...item };
|
|
@@ -2797,7 +2795,7 @@ function getFirstAvailableFCId(variant, quantity = 1) {
|
|
|
2797
2795
|
}
|
|
2798
2796
|
|
|
2799
2797
|
// src/index.ts
|
|
2800
|
-
var SDK_VERSION = "0.7.
|
|
2798
|
+
var SDK_VERSION = "0.7.129";
|
|
2801
2799
|
var SUPPORTED_FRAMEWORKS = [
|
|
2802
2800
|
"astro",
|
|
2803
2801
|
"react",
|