arky-sdk 0.7.133 → 0.8.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/README.md +89 -211
- package/dist/{admin-id0wkGff.d.ts → admin-CEVBErl_.d.ts} +60 -1
- package/dist/{admin-DlDViCdY.d.cts → admin-DCe3PEOB.d.cts} +60 -1
- package/dist/admin.cjs +9 -1
- 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 +9 -1
- package/dist/admin.js.map +1 -1
- package/dist/index.cjs +9 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/dist/storefront-store.cjs +250 -205
- 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 +250 -205
- package/dist/storefront-store.js.map +1 -1
- package/dist/storefront.cjs +250 -205
- package/dist/storefront.cjs.map +1 -1
- package/dist/storefront.d.cts +103 -96
- package/dist/storefront.d.ts +103 -96
- package/dist/storefront.js +250 -205
- package/dist/storefront.js.map +1 -1
- package/dist/types.cjs.map +1 -1
- package/dist/types.d.cts +16 -12
- package/dist/types.d.ts +16 -12
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
- package/scripts/smoke-store.mjs +21 -5
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,
|
|
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,
|
|
1
|
+
export { n as Activity, ab as ActivityFeedCategory, af as ActivityFeedCursor, ad as ActivityFeedItem, ac as ActivityFeedQuery, ag as ActivityFeedResponse, ae as ActivityFeedSummary, 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, ai as IntegrationOperation, aj as IntegrationResource, ak 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, ah as TimelineParams, T as TrackParams, W as createAdmin, r as createCartController, q as createStorefront } from './admin-DCe3PEOB.cjs';
|
|
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, ProductLineItem, ProductLineItemSnapshot, ProductQuoteItemInput, ProductQuoteLine, ProductQuoteLineAvailability, ProductStatus, ProductVariant, PromoCode, PromoCodeStatus, PromoCodeValidation, Provider, ProviderAvailability, ProviderStatus, ProviderTimelinePoint, ProviderWithTimeline, PurchaseLabelResult, QuoteCartParams, QuoteItemInput, QuoteLine, RemoveCartItemParams, Service, ServiceCheckoutItemInput, ServiceCheckoutPart, ServiceDuration, ServiceLineItem, ServiceLineItemSnapshot, 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,
|
|
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,
|
|
1
|
+
export { n as Activity, ab as ActivityFeedCategory, af as ActivityFeedCursor, ad as ActivityFeedItem, ac as ActivityFeedQuery, ag as ActivityFeedResponse, ae as ActivityFeedSummary, 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, ai as IntegrationOperation, aj as IntegrationResource, ak 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, ah as TimelineParams, T as TrackParams, W as createAdmin, r as createCartController, q as createStorefront } from './admin-CEVBErl_.js';
|
|
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, ProductLineItem, ProductLineItemSnapshot, ProductQuoteItemInput, ProductQuoteLine, ProductQuoteLineAvailability, ProductStatus, ProductVariant, PromoCode, PromoCodeStatus, PromoCodeValidation, Provider, ProviderAvailability, ProviderStatus, ProviderTimelinePoint, ProviderWithTimeline, PurchaseLabelResult, QuoteCartParams, QuoteItemInput, QuoteLine, RemoveCartItemParams, Service, ServiceCheckoutItemInput, ServiceCheckoutPart, ServiceDuration, ServiceLineItem, ServiceLineItemSnapshot, 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
|
@@ -2541,6 +2541,13 @@ var createAnalyticsApi = (apiConfig) => {
|
|
|
2541
2541
|
spec,
|
|
2542
2542
|
options
|
|
2543
2543
|
);
|
|
2544
|
+
},
|
|
2545
|
+
async activityFeed(query = {}, options) {
|
|
2546
|
+
const store_id = options?.store_id || apiConfig.storeId;
|
|
2547
|
+
return apiConfig.httpClient.get(
|
|
2548
|
+
`/v1/stores/${store_id}/analytics/activity-feed`,
|
|
2549
|
+
{ ...options, params: query }
|
|
2550
|
+
);
|
|
2544
2551
|
}
|
|
2545
2552
|
};
|
|
2546
2553
|
};
|
|
@@ -3086,7 +3093,8 @@ function createAdmin(config) {
|
|
|
3086
3093
|
}
|
|
3087
3094
|
},
|
|
3088
3095
|
analytics: {
|
|
3089
|
-
query: analyticsApi.query
|
|
3096
|
+
query: analyticsApi.query,
|
|
3097
|
+
activityFeed: analyticsApi.activityFeed
|
|
3090
3098
|
},
|
|
3091
3099
|
setStoreId: (storeId) => {
|
|
3092
3100
|
apiConfig.storeId = storeId;
|