@wix/auto_sdk_ecom_checkout-templates 1.0.55 → 1.0.57
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/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +4 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +4 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +4 -1
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +4 -1
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -2854,11 +2854,13 @@ declare enum WebhookIdentityType {
|
|
|
2854
2854
|
}
|
|
2855
2855
|
/** @enumType */
|
|
2856
2856
|
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
2857
|
+
/** @docsIgnore */
|
|
2857
2858
|
type CreateCheckoutTemplateApplicationErrors = {
|
|
2858
2859
|
code?: 'CANNOT_CREATE_CHECKOUT_TEMPLATE_WITHOUT_ITEMS';
|
|
2859
2860
|
description?: string;
|
|
2860
2861
|
data?: Record<string, any>;
|
|
2861
2862
|
};
|
|
2863
|
+
/** @docsIgnore */
|
|
2862
2864
|
type UpdateCheckoutTemplateApplicationErrors = {
|
|
2863
2865
|
code?: 'CANNOT_UPDATE_CHECKOUT_TEMPLATE_WITHOUT_SPECIFIED_FIELDS';
|
|
2864
2866
|
description?: string;
|
|
@@ -2876,11 +2878,13 @@ type UpdateCheckoutTemplateApplicationErrors = {
|
|
|
2876
2878
|
description?: string;
|
|
2877
2879
|
data?: Record<string, any>;
|
|
2878
2880
|
};
|
|
2881
|
+
/** @docsIgnore */
|
|
2879
2882
|
type CreateCheckoutFromTemplateApplicationErrors = {
|
|
2880
2883
|
code?: 'CANNOT_CREATE_CHECKOUT_FROM_INACTIVE_TEMPLATE';
|
|
2881
2884
|
description?: string;
|
|
2882
2885
|
data?: Record<string, any>;
|
|
2883
2886
|
};
|
|
2887
|
+
/** @docsIgnore */
|
|
2884
2888
|
type CreateAndRedirectToCheckoutApplicationErrors = {
|
|
2885
2889
|
code?: 'CANNOT_CREATE_CHECKOUT_FROM_INACTIVE_TEMPLATE';
|
|
2886
2890
|
description?: string;
|
|
@@ -3224,7 +3228,6 @@ interface CheckoutTemplatesQueryBuilder {
|
|
|
3224
3228
|
* @requiredField siteId
|
|
3225
3229
|
* @permissionId ECOM.CHECKOUT_TEMPLATE_CREATE_CHECKOUT
|
|
3226
3230
|
* @applicableIdentity APP
|
|
3227
|
-
* @applicableIdentity VISITOR
|
|
3228
3231
|
* @fqn wix.ecom.checkout_template.api.v1.CheckoutTemplateService.CreateCheckoutFromTemplate
|
|
3229
3232
|
*/
|
|
3230
3233
|
declare function createCheckoutFromTemplate(checkoutTemplateId: string, siteId: string): Promise<NonNullablePaths<CreateCheckoutFromTemplateResponse, `checkoutId` | `checkoutUrl`, 2> & {
|