@betterstore/sdk 0.5.3 → 0.5.5
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/index.d.mts +10 -10
- package/dist/index.d.ts +10 -10
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -335,6 +335,15 @@ type RetrieveDiscountParams = {
|
|
|
335
335
|
code: string;
|
|
336
336
|
};
|
|
337
337
|
|
|
338
|
+
type AutocompleteResult = {
|
|
339
|
+
line1: string;
|
|
340
|
+
line2: string;
|
|
341
|
+
city: string;
|
|
342
|
+
state: string;
|
|
343
|
+
countryCode: string;
|
|
344
|
+
zipCode: string;
|
|
345
|
+
};
|
|
346
|
+
|
|
338
347
|
interface CustomerSession {
|
|
339
348
|
customerId: string;
|
|
340
349
|
expiresAt: Date;
|
|
@@ -534,15 +543,6 @@ declare class Discounts {
|
|
|
534
543
|
retrieve(params: RetrieveDiscountParams): Promise<Discount | null>;
|
|
535
544
|
}
|
|
536
545
|
|
|
537
|
-
type AutocompleteResult = {
|
|
538
|
-
line1: string;
|
|
539
|
-
line2: string;
|
|
540
|
-
city: string;
|
|
541
|
-
state: string;
|
|
542
|
-
countryCode: string;
|
|
543
|
-
zipCode: string;
|
|
544
|
-
};
|
|
545
|
-
|
|
546
546
|
declare class Helpers {
|
|
547
547
|
proxy?: string;
|
|
548
548
|
constructor(proxy?: string);
|
|
@@ -577,4 +577,4 @@ declare function createStoreHelpers(config?: {
|
|
|
577
577
|
proxy?: string;
|
|
578
578
|
}): Helpers;
|
|
579
579
|
|
|
580
|
-
export { type Address, type CheckoutCreateParams, type CheckoutSession, type CheckoutUpdateParams, type Collection, type CollectionWithProducts, type Currency, type Customer$1 as Customer, type CustomerCreateParams, type CustomerSession, type CustomerSubscription, type CustomerSubscriptionUpdateParams, type CustomerUpdateParams, type Discount, type LineItem, type LineItemCreate, type ListCollectionsParams, type ListCollectionsQuery, type ListCollectionsSortBy, type ListDiscountsParams, type ListDiscountsQuery, type ListDiscountsSortBy, type ListProductsParams, type ListProductsQuery, type ListProductsSortBy, type OTPLoginParams, type OTPLoginResponse, type OTPSignupParams, type OTPSignupResponse, type OTPVerifyParams, type OTPVerifyResponse, type Product, type ProductBillingInterval, type ProductBillingType, type ProductOption, type ProductStatus, type ProductVariant, type ProductWithoutVariants, type RetrieveCollectionParams, type RetrieveDiscountParams, type RetrieveProductParams, type ShippingRate, type VariantOption, createStoreClient, createStoreHelpers, createBetterStore as default };
|
|
580
|
+
export { type Address, type AutocompleteResult, type CheckoutCreateParams, type CheckoutSession, type CheckoutUpdateParams, type Collection, type CollectionWithProducts, type Currency, type Customer$1 as Customer, type CustomerCreateParams, type CustomerSession, type CustomerSubscription, type CustomerSubscriptionUpdateParams, type CustomerUpdateParams, type Discount, type LineItem, type LineItemCreate, type ListCollectionsParams, type ListCollectionsQuery, type ListCollectionsSortBy, type ListDiscountsParams, type ListDiscountsQuery, type ListDiscountsSortBy, type ListProductsParams, type ListProductsQuery, type ListProductsSortBy, type OTPLoginParams, type OTPLoginResponse, type OTPSignupParams, type OTPSignupResponse, type OTPVerifyParams, type OTPVerifyResponse, type Product, type ProductBillingInterval, type ProductBillingType, type ProductOption, type ProductStatus, type ProductVariant, type ProductWithoutVariants, type RetrieveCollectionParams, type RetrieveDiscountParams, type RetrieveProductParams, type ShippingRate, type VariantOption, createStoreClient, createStoreHelpers, createBetterStore as default };
|
package/dist/index.d.ts
CHANGED
|
@@ -335,6 +335,15 @@ type RetrieveDiscountParams = {
|
|
|
335
335
|
code: string;
|
|
336
336
|
};
|
|
337
337
|
|
|
338
|
+
type AutocompleteResult = {
|
|
339
|
+
line1: string;
|
|
340
|
+
line2: string;
|
|
341
|
+
city: string;
|
|
342
|
+
state: string;
|
|
343
|
+
countryCode: string;
|
|
344
|
+
zipCode: string;
|
|
345
|
+
};
|
|
346
|
+
|
|
338
347
|
interface CustomerSession {
|
|
339
348
|
customerId: string;
|
|
340
349
|
expiresAt: Date;
|
|
@@ -534,15 +543,6 @@ declare class Discounts {
|
|
|
534
543
|
retrieve(params: RetrieveDiscountParams): Promise<Discount | null>;
|
|
535
544
|
}
|
|
536
545
|
|
|
537
|
-
type AutocompleteResult = {
|
|
538
|
-
line1: string;
|
|
539
|
-
line2: string;
|
|
540
|
-
city: string;
|
|
541
|
-
state: string;
|
|
542
|
-
countryCode: string;
|
|
543
|
-
zipCode: string;
|
|
544
|
-
};
|
|
545
|
-
|
|
546
546
|
declare class Helpers {
|
|
547
547
|
proxy?: string;
|
|
548
548
|
constructor(proxy?: string);
|
|
@@ -577,4 +577,4 @@ declare function createStoreHelpers(config?: {
|
|
|
577
577
|
proxy?: string;
|
|
578
578
|
}): Helpers;
|
|
579
579
|
|
|
580
|
-
export { type Address, type CheckoutCreateParams, type CheckoutSession, type CheckoutUpdateParams, type Collection, type CollectionWithProducts, type Currency, type Customer$1 as Customer, type CustomerCreateParams, type CustomerSession, type CustomerSubscription, type CustomerSubscriptionUpdateParams, type CustomerUpdateParams, type Discount, type LineItem, type LineItemCreate, type ListCollectionsParams, type ListCollectionsQuery, type ListCollectionsSortBy, type ListDiscountsParams, type ListDiscountsQuery, type ListDiscountsSortBy, type ListProductsParams, type ListProductsQuery, type ListProductsSortBy, type OTPLoginParams, type OTPLoginResponse, type OTPSignupParams, type OTPSignupResponse, type OTPVerifyParams, type OTPVerifyResponse, type Product, type ProductBillingInterval, type ProductBillingType, type ProductOption, type ProductStatus, type ProductVariant, type ProductWithoutVariants, type RetrieveCollectionParams, type RetrieveDiscountParams, type RetrieveProductParams, type ShippingRate, type VariantOption, createStoreClient, createStoreHelpers, createBetterStore as default };
|
|
580
|
+
export { type Address, type AutocompleteResult, type CheckoutCreateParams, type CheckoutSession, type CheckoutUpdateParams, type Collection, type CollectionWithProducts, type Currency, type Customer$1 as Customer, type CustomerCreateParams, type CustomerSession, type CustomerSubscription, type CustomerSubscriptionUpdateParams, type CustomerUpdateParams, type Discount, type LineItem, type LineItemCreate, type ListCollectionsParams, type ListCollectionsQuery, type ListCollectionsSortBy, type ListDiscountsParams, type ListDiscountsQuery, type ListDiscountsSortBy, type ListProductsParams, type ListProductsQuery, type ListProductsSortBy, type OTPLoginParams, type OTPLoginResponse, type OTPSignupParams, type OTPSignupResponse, type OTPVerifyParams, type OTPVerifyResponse, type Product, type ProductBillingInterval, type ProductBillingType, type ProductOption, type ProductStatus, type ProductVariant, type ProductWithoutVariants, type RetrieveCollectionParams, type RetrieveDiscountParams, type RetrieveProductParams, type ShippingRate, type VariantOption, createStoreClient, createStoreHelpers, createBetterStore as default };
|