@wix/ecom 1.0.760 → 1.0.762
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.
|
@@ -1732,6 +1732,85 @@ interface IdentificationDataIdOneOf$2 {
|
|
|
1732
1732
|
appId?: string;
|
|
1733
1733
|
}
|
|
1734
1734
|
|
|
1735
|
+
declare class CouponLimitPerCustomerExceededWixError extends Error {
|
|
1736
|
+
/** @hidden */
|
|
1737
|
+
httpCode: number;
|
|
1738
|
+
/** @hidden */
|
|
1739
|
+
statusCode: string;
|
|
1740
|
+
/** @hidden */
|
|
1741
|
+
applicationCode: string;
|
|
1742
|
+
/** @hidden */
|
|
1743
|
+
name: string;
|
|
1744
|
+
constructor();
|
|
1745
|
+
/** @hidden */
|
|
1746
|
+
static readonly __type = "wix_spi_error";
|
|
1747
|
+
}
|
|
1748
|
+
declare class CouponIsDisabledWixError extends Error {
|
|
1749
|
+
/** @hidden */
|
|
1750
|
+
httpCode: number;
|
|
1751
|
+
/** @hidden */
|
|
1752
|
+
statusCode: string;
|
|
1753
|
+
/** @hidden */
|
|
1754
|
+
applicationCode: string;
|
|
1755
|
+
/** @hidden */
|
|
1756
|
+
name: string;
|
|
1757
|
+
constructor();
|
|
1758
|
+
/** @hidden */
|
|
1759
|
+
static readonly __type = "wix_spi_error";
|
|
1760
|
+
}
|
|
1761
|
+
declare class CouponUsageExceededWixError extends Error {
|
|
1762
|
+
/** @hidden */
|
|
1763
|
+
httpCode: number;
|
|
1764
|
+
/** @hidden */
|
|
1765
|
+
statusCode: string;
|
|
1766
|
+
/** @hidden */
|
|
1767
|
+
applicationCode: string;
|
|
1768
|
+
/** @hidden */
|
|
1769
|
+
name: string;
|
|
1770
|
+
constructor();
|
|
1771
|
+
/** @hidden */
|
|
1772
|
+
static readonly __type = "wix_spi_error";
|
|
1773
|
+
}
|
|
1774
|
+
declare class CouponHasExpiredWixError extends Error {
|
|
1775
|
+
/** @hidden */
|
|
1776
|
+
httpCode: number;
|
|
1777
|
+
/** @hidden */
|
|
1778
|
+
statusCode: string;
|
|
1779
|
+
/** @hidden */
|
|
1780
|
+
applicationCode: string;
|
|
1781
|
+
/** @hidden */
|
|
1782
|
+
name: string;
|
|
1783
|
+
constructor();
|
|
1784
|
+
/** @hidden */
|
|
1785
|
+
static readonly __type = "wix_spi_error";
|
|
1786
|
+
}
|
|
1787
|
+
declare class CouponIsNotActiveYetWixError extends Error {
|
|
1788
|
+
/** @hidden */
|
|
1789
|
+
httpCode: number;
|
|
1790
|
+
/** @hidden */
|
|
1791
|
+
statusCode: string;
|
|
1792
|
+
/** @hidden */
|
|
1793
|
+
applicationCode: string;
|
|
1794
|
+
/** @hidden */
|
|
1795
|
+
name: string;
|
|
1796
|
+
constructor();
|
|
1797
|
+
/** @hidden */
|
|
1798
|
+
static readonly __type = "wix_spi_error";
|
|
1799
|
+
}
|
|
1800
|
+
declare class CouponDoesNotExistWixError extends Error {
|
|
1801
|
+
/** @hidden */
|
|
1802
|
+
httpCode: number;
|
|
1803
|
+
/** @hidden */
|
|
1804
|
+
statusCode: string;
|
|
1805
|
+
/** @hidden */
|
|
1806
|
+
applicationCode: string;
|
|
1807
|
+
/** @hidden */
|
|
1808
|
+
name: string;
|
|
1809
|
+
constructor();
|
|
1810
|
+
/** @hidden */
|
|
1811
|
+
static readonly __type = "wix_spi_error";
|
|
1812
|
+
}
|
|
1813
|
+
|
|
1735
1814
|
interface GetEligibleDiscountsEnvelope {
|
|
1736
1815
|
request: GetEligibleDiscountsRequest;
|
|
1737
1816
|
metadata: Context$2;
|
|
@@ -1750,7 +1829,19 @@ type _publicProvideHandlersType$2 = typeof provideHandlers$5;
|
|
|
1750
1829
|
declare const provideHandlers$4: ReturnType<typeof createServicePluginModule$2<_publicProvideHandlersType>>;
|
|
1751
1830
|
|
|
1752
1831
|
type context$2_BaseDiscounts = BaseDiscounts;
|
|
1832
|
+
type context$2_CouponDoesNotExistWixError = CouponDoesNotExistWixError;
|
|
1833
|
+
declare const context$2_CouponDoesNotExistWixError: typeof CouponDoesNotExistWixError;
|
|
1834
|
+
type context$2_CouponHasExpiredWixError = CouponHasExpiredWixError;
|
|
1835
|
+
declare const context$2_CouponHasExpiredWixError: typeof CouponHasExpiredWixError;
|
|
1836
|
+
type context$2_CouponIsDisabledWixError = CouponIsDisabledWixError;
|
|
1837
|
+
declare const context$2_CouponIsDisabledWixError: typeof CouponIsDisabledWixError;
|
|
1838
|
+
type context$2_CouponIsNotActiveYetWixError = CouponIsNotActiveYetWixError;
|
|
1839
|
+
declare const context$2_CouponIsNotActiveYetWixError: typeof CouponIsNotActiveYetWixError;
|
|
1840
|
+
type context$2_CouponLimitPerCustomerExceededWixError = CouponLimitPerCustomerExceededWixError;
|
|
1841
|
+
declare const context$2_CouponLimitPerCustomerExceededWixError: typeof CouponLimitPerCustomerExceededWixError;
|
|
1753
1842
|
type context$2_CouponOptions = CouponOptions;
|
|
1843
|
+
type context$2_CouponUsageExceededWixError = CouponUsageExceededWixError;
|
|
1844
|
+
declare const context$2_CouponUsageExceededWixError: typeof CouponUsageExceededWixError;
|
|
1754
1845
|
type context$2_Discount = Discount;
|
|
1755
1846
|
type context$2_DiscountDiscountScopesOneOf = DiscountDiscountScopesOneOf;
|
|
1756
1847
|
type context$2_DiscountDiscountTypeOneOf = DiscountDiscountTypeOneOf;
|
|
@@ -1769,7 +1860,7 @@ declare const context$2_TargetType: typeof TargetType;
|
|
|
1769
1860
|
type context$2_Type = Type;
|
|
1770
1861
|
declare const context$2_Type: typeof Type;
|
|
1771
1862
|
declare namespace context$2 {
|
|
1772
|
-
export { type context$2_BaseDiscounts as BaseDiscounts, type CatalogReference$2 as CatalogReference, type Context$2 as Context, type context$2_CouponOptions as CouponOptions, type context$2_Discount as Discount, type context$2_DiscountDiscountScopesOneOf as DiscountDiscountScopesOneOf, type context$2_DiscountDiscountTypeOneOf as DiscountDiscountTypeOneOf, type context$2_DiscountName as DiscountName, type context$2_DiscountRate as DiscountRate, type context$2_DiscountRateRateOneOf as DiscountRateRateOneOf, context$2_DiscountSource as DiscountSource, type context$2_DiscountsSPIConfig as DiscountsSPIConfig, type context$2_GetEligibleDiscountsRequest as GetEligibleDiscountsRequest, type context$2_GetEligibleDiscountsResponse as GetEligibleDiscountsResponse, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, IdentityType$2 as IdentityType, type LineItem$2 as LineItem, type context$2_LineItemRate as LineItemRate, type context$2_LineItemsDiscounts as LineItemsDiscounts, context$2_TargetType as TargetType, context$2_Type as Type, type _publicProvideHandlersType$2 as _publicProvideHandlersType, provideHandlers$4 as provideHandlers, provideHandlers$5 as publicProvideHandlers };
|
|
1863
|
+
export { type context$2_BaseDiscounts as BaseDiscounts, type CatalogReference$2 as CatalogReference, type Context$2 as Context, context$2_CouponDoesNotExistWixError as CouponDoesNotExistWixError, context$2_CouponHasExpiredWixError as CouponHasExpiredWixError, context$2_CouponIsDisabledWixError as CouponIsDisabledWixError, context$2_CouponIsNotActiveYetWixError as CouponIsNotActiveYetWixError, context$2_CouponLimitPerCustomerExceededWixError as CouponLimitPerCustomerExceededWixError, type context$2_CouponOptions as CouponOptions, context$2_CouponUsageExceededWixError as CouponUsageExceededWixError, type context$2_Discount as Discount, type context$2_DiscountDiscountScopesOneOf as DiscountDiscountScopesOneOf, type context$2_DiscountDiscountTypeOneOf as DiscountDiscountTypeOneOf, type context$2_DiscountName as DiscountName, type context$2_DiscountRate as DiscountRate, type context$2_DiscountRateRateOneOf as DiscountRateRateOneOf, context$2_DiscountSource as DiscountSource, type context$2_DiscountsSPIConfig as DiscountsSPIConfig, type context$2_GetEligibleDiscountsRequest as GetEligibleDiscountsRequest, type context$2_GetEligibleDiscountsResponse as GetEligibleDiscountsResponse, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, IdentityType$2 as IdentityType, type LineItem$2 as LineItem, type context$2_LineItemRate as LineItemRate, type context$2_LineItemsDiscounts as LineItemsDiscounts, context$2_TargetType as TargetType, context$2_Type as Type, type _publicProvideHandlersType$2 as _publicProvideHandlersType, provideHandlers$4 as provideHandlers, provideHandlers$5 as publicProvideHandlers };
|
|
1773
1864
|
}
|
|
1774
1865
|
|
|
1775
1866
|
interface GetPaymentSettingsRequest {
|
|
@@ -1749,8 +1749,99 @@ declare function createServicePluginModule$2<T extends ServicePluginDefinition<a
|
|
|
1749
1749
|
type _publicProvideHandlersType$2 = typeof provideHandlers$5;
|
|
1750
1750
|
declare const provideHandlers$4: ReturnType<typeof createServicePluginModule$2<_publicProvideHandlersType>>;
|
|
1751
1751
|
|
|
1752
|
+
declare class CouponLimitPerCustomerExceededWixError extends Error {
|
|
1753
|
+
/** @hidden */
|
|
1754
|
+
httpCode: number;
|
|
1755
|
+
/** @hidden */
|
|
1756
|
+
statusCode: string;
|
|
1757
|
+
/** @hidden */
|
|
1758
|
+
applicationCode: string;
|
|
1759
|
+
/** @hidden */
|
|
1760
|
+
name: string;
|
|
1761
|
+
constructor();
|
|
1762
|
+
/** @hidden */
|
|
1763
|
+
static readonly __type = "wix_spi_error";
|
|
1764
|
+
}
|
|
1765
|
+
declare class CouponIsDisabledWixError extends Error {
|
|
1766
|
+
/** @hidden */
|
|
1767
|
+
httpCode: number;
|
|
1768
|
+
/** @hidden */
|
|
1769
|
+
statusCode: string;
|
|
1770
|
+
/** @hidden */
|
|
1771
|
+
applicationCode: string;
|
|
1772
|
+
/** @hidden */
|
|
1773
|
+
name: string;
|
|
1774
|
+
constructor();
|
|
1775
|
+
/** @hidden */
|
|
1776
|
+
static readonly __type = "wix_spi_error";
|
|
1777
|
+
}
|
|
1778
|
+
declare class CouponUsageExceededWixError extends Error {
|
|
1779
|
+
/** @hidden */
|
|
1780
|
+
httpCode: number;
|
|
1781
|
+
/** @hidden */
|
|
1782
|
+
statusCode: string;
|
|
1783
|
+
/** @hidden */
|
|
1784
|
+
applicationCode: string;
|
|
1785
|
+
/** @hidden */
|
|
1786
|
+
name: string;
|
|
1787
|
+
constructor();
|
|
1788
|
+
/** @hidden */
|
|
1789
|
+
static readonly __type = "wix_spi_error";
|
|
1790
|
+
}
|
|
1791
|
+
declare class CouponHasExpiredWixError extends Error {
|
|
1792
|
+
/** @hidden */
|
|
1793
|
+
httpCode: number;
|
|
1794
|
+
/** @hidden */
|
|
1795
|
+
statusCode: string;
|
|
1796
|
+
/** @hidden */
|
|
1797
|
+
applicationCode: string;
|
|
1798
|
+
/** @hidden */
|
|
1799
|
+
name: string;
|
|
1800
|
+
constructor();
|
|
1801
|
+
/** @hidden */
|
|
1802
|
+
static readonly __type = "wix_spi_error";
|
|
1803
|
+
}
|
|
1804
|
+
declare class CouponIsNotActiveYetWixError extends Error {
|
|
1805
|
+
/** @hidden */
|
|
1806
|
+
httpCode: number;
|
|
1807
|
+
/** @hidden */
|
|
1808
|
+
statusCode: string;
|
|
1809
|
+
/** @hidden */
|
|
1810
|
+
applicationCode: string;
|
|
1811
|
+
/** @hidden */
|
|
1812
|
+
name: string;
|
|
1813
|
+
constructor();
|
|
1814
|
+
/** @hidden */
|
|
1815
|
+
static readonly __type = "wix_spi_error";
|
|
1816
|
+
}
|
|
1817
|
+
declare class CouponDoesNotExistWixError extends Error {
|
|
1818
|
+
/** @hidden */
|
|
1819
|
+
httpCode: number;
|
|
1820
|
+
/** @hidden */
|
|
1821
|
+
statusCode: string;
|
|
1822
|
+
/** @hidden */
|
|
1823
|
+
applicationCode: string;
|
|
1824
|
+
/** @hidden */
|
|
1825
|
+
name: string;
|
|
1826
|
+
constructor();
|
|
1827
|
+
/** @hidden */
|
|
1828
|
+
static readonly __type = "wix_spi_error";
|
|
1829
|
+
}
|
|
1830
|
+
|
|
1752
1831
|
type index_d$2_BaseDiscounts = BaseDiscounts;
|
|
1832
|
+
type index_d$2_CouponDoesNotExistWixError = CouponDoesNotExistWixError;
|
|
1833
|
+
declare const index_d$2_CouponDoesNotExistWixError: typeof CouponDoesNotExistWixError;
|
|
1834
|
+
type index_d$2_CouponHasExpiredWixError = CouponHasExpiredWixError;
|
|
1835
|
+
declare const index_d$2_CouponHasExpiredWixError: typeof CouponHasExpiredWixError;
|
|
1836
|
+
type index_d$2_CouponIsDisabledWixError = CouponIsDisabledWixError;
|
|
1837
|
+
declare const index_d$2_CouponIsDisabledWixError: typeof CouponIsDisabledWixError;
|
|
1838
|
+
type index_d$2_CouponIsNotActiveYetWixError = CouponIsNotActiveYetWixError;
|
|
1839
|
+
declare const index_d$2_CouponIsNotActiveYetWixError: typeof CouponIsNotActiveYetWixError;
|
|
1840
|
+
type index_d$2_CouponLimitPerCustomerExceededWixError = CouponLimitPerCustomerExceededWixError;
|
|
1841
|
+
declare const index_d$2_CouponLimitPerCustomerExceededWixError: typeof CouponLimitPerCustomerExceededWixError;
|
|
1753
1842
|
type index_d$2_CouponOptions = CouponOptions;
|
|
1843
|
+
type index_d$2_CouponUsageExceededWixError = CouponUsageExceededWixError;
|
|
1844
|
+
declare const index_d$2_CouponUsageExceededWixError: typeof CouponUsageExceededWixError;
|
|
1754
1845
|
type index_d$2_Discount = Discount;
|
|
1755
1846
|
type index_d$2_DiscountDiscountScopesOneOf = DiscountDiscountScopesOneOf;
|
|
1756
1847
|
type index_d$2_DiscountDiscountTypeOneOf = DiscountDiscountTypeOneOf;
|
|
@@ -1769,7 +1860,7 @@ declare const index_d$2_TargetType: typeof TargetType;
|
|
|
1769
1860
|
type index_d$2_Type = Type;
|
|
1770
1861
|
declare const index_d$2_Type: typeof Type;
|
|
1771
1862
|
declare namespace index_d$2 {
|
|
1772
|
-
export { type index_d$2_BaseDiscounts as BaseDiscounts, type CatalogReference$2 as CatalogReference, type Context$2 as Context, type index_d$2_CouponOptions as CouponOptions, type index_d$2_Discount as Discount, type index_d$2_DiscountDiscountScopesOneOf as DiscountDiscountScopesOneOf, type index_d$2_DiscountDiscountTypeOneOf as DiscountDiscountTypeOneOf, type index_d$2_DiscountName as DiscountName, type index_d$2_DiscountRate as DiscountRate, type index_d$2_DiscountRateRateOneOf as DiscountRateRateOneOf, index_d$2_DiscountSource as DiscountSource, type index_d$2_DiscountsSPIConfig as DiscountsSPIConfig, type index_d$2_GetEligibleDiscountsRequest as GetEligibleDiscountsRequest, type index_d$2_GetEligibleDiscountsResponse as GetEligibleDiscountsResponse, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, IdentityType$2 as IdentityType, type LineItem$2 as LineItem, type index_d$2_LineItemRate as LineItemRate, type index_d$2_LineItemsDiscounts as LineItemsDiscounts, index_d$2_TargetType as TargetType, index_d$2_Type as Type, type _publicProvideHandlersType$2 as _publicProvideHandlersType, provideHandlers$4 as provideHandlers, provideHandlers$5 as publicProvideHandlers };
|
|
1863
|
+
export { type index_d$2_BaseDiscounts as BaseDiscounts, type CatalogReference$2 as CatalogReference, type Context$2 as Context, index_d$2_CouponDoesNotExistWixError as CouponDoesNotExistWixError, index_d$2_CouponHasExpiredWixError as CouponHasExpiredWixError, index_d$2_CouponIsDisabledWixError as CouponIsDisabledWixError, index_d$2_CouponIsNotActiveYetWixError as CouponIsNotActiveYetWixError, index_d$2_CouponLimitPerCustomerExceededWixError as CouponLimitPerCustomerExceededWixError, type index_d$2_CouponOptions as CouponOptions, index_d$2_CouponUsageExceededWixError as CouponUsageExceededWixError, type index_d$2_Discount as Discount, type index_d$2_DiscountDiscountScopesOneOf as DiscountDiscountScopesOneOf, type index_d$2_DiscountDiscountTypeOneOf as DiscountDiscountTypeOneOf, type index_d$2_DiscountName as DiscountName, type index_d$2_DiscountRate as DiscountRate, type index_d$2_DiscountRateRateOneOf as DiscountRateRateOneOf, index_d$2_DiscountSource as DiscountSource, type index_d$2_DiscountsSPIConfig as DiscountsSPIConfig, type index_d$2_GetEligibleDiscountsRequest as GetEligibleDiscountsRequest, type index_d$2_GetEligibleDiscountsResponse as GetEligibleDiscountsResponse, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, IdentityType$2 as IdentityType, type LineItem$2 as LineItem, type index_d$2_LineItemRate as LineItemRate, type index_d$2_LineItemsDiscounts as LineItemsDiscounts, index_d$2_TargetType as TargetType, index_d$2_Type as Type, type _publicProvideHandlersType$2 as _publicProvideHandlersType, provideHandlers$4 as provideHandlers, provideHandlers$5 as publicProvideHandlers };
|
|
1773
1864
|
}
|
|
1774
1865
|
|
|
1775
1866
|
interface GetPaymentSettingsRequest {
|