@bacano/sdk 1.0.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/AUTHENTICATION.md +365 -0
- package/LICENSE +21 -0
- package/README.md +1357 -0
- package/client.d.ts +96 -0
- package/errors.d.ts +24 -0
- package/graphql.cjs +2057 -0
- package/graphql.d.ts +17 -0
- package/graphql.js +2034 -0
- package/index.cjs +4956 -0
- package/index.d.ts +8 -0
- package/index.js +4933 -0
- package/media.d.ts +9 -0
- package/modules/auth.d.ts +9 -0
- package/modules/availability.d.ts +6 -0
- package/modules/cart-session.d.ts +13 -0
- package/modules/cart.d.ts +16 -0
- package/modules/catalog.d.ts +24 -0
- package/modules/checkout.d.ts +42 -0
- package/modules/content.d.ts +9 -0
- package/modules/orders.d.ts +9 -0
- package/modules/profile.d.ts +8 -0
- package/modules/website.d.ts +3 -0
- package/package.json +52 -0
- package/react/context.d.ts +7 -0
- package/react/hooks.d.ts +74 -0
- package/react/provider.d.ts +7 -0
- package/react.cjs +5232 -0
- package/react.d.ts +23 -0
- package/react.js +5209 -0
- package/transport/documents.d.ts +83 -0
- package/transport/graphql.d.ts +7 -0
- package/types.d.ts +991 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type { BacanoClient } from "./client";
|
|
2
|
+
export { createBacanoClient } from "./client";
|
|
3
|
+
export { getWebsitePublicConfig } from "./modules/auth";
|
|
4
|
+
export { getPrimaryProductImage, getProductImages, getProductMediaByKind, getProductMediaKind, getProductVideos, resolveProductPricing, } from "./modules/catalog";
|
|
5
|
+
export { buildStorageFileUrl, buildStorageMediaUrls } from "./media";
|
|
6
|
+
export { AuthError, CheckoutError, GraphQLRequestError, NotInitializedError, WebsiteError, } from "./errors";
|
|
7
|
+
export type { AccessTokenProvider, AttributeFilter, BacanoClientConfig, BacanoClientContext, Brand, Cart, CartItem, CatalogAttributeList, CatalogAttributeListFilters, CatalogAttributeListItem, CatalogAttributeListValue, CatalogCategoryList, CatalogCategoryListItem, CatalogCategoryListItemSourceType, CheckoutResult, CheckoutSubmission, ContentEntry, ContentJson, ProductContentBlock, ContentMedia, ContentTypeSummary, CustomerAddress, CustomerAddressType, CustomerProfile, CustomerProfileUpdate, GetAttributeListOptions, GetCategoryListOptions, GetContentOptions, GetWebsitePublicConfigOptions, GetOrdersOptions, GetProductFiltersOptions, GetProductSeoEntriesOptions, GetProductsOptions, GetSearchSuggestionsOptions, Order, OrderItem, Product, ProductAttribute, ProductAvailability, ProductCategory, ProductFilters, ProductMedia, ProductMediaKind, ProductPrice, ProductPriceType, ProductRelatedProduct, ProductSeoEntriesResult, ProductSeoEntry, ProductSortBy, ProductSubcategory, ProductVariant, ProductVariantPricing, PublicOrder, PublicOrderDeliverySummary, PublicOrderItem, PublicOrderLookupInput, PublicOrderPaymentSummary, SearchSuggestion, StartGuestCheckoutInput, VariantAttribute, WebsiteCheckoutAddress, WebsiteCheckoutItem, WebsiteCouponActionResult, WebsiteDeliveryOption, WebsiteFreeShippingProgress, WebsiteDepartmentOption, WebsiteFulfillmentFamily, WebsiteGuestContact, WebsiteLocationOptions, WebsiteMunicipalityOption, WebsitePaymentMethod, WebsitePaymentMode, WebsitePaymentOption, WebsitePaymentOptionMethod, WebsitePaymentSessionResult, WaitForPublicOrderPaymentInput, WebsitePickupInfo, WebsiteShippingQuote, WebsiteShippingPolicy, WebsitePublicConfig, } from "./types";
|
|
8
|
+
export type { MediaTransformFormat, MediaUrlVariant } from "./media";
|