@scayle/storefront-nuxt 7.77.2 → 7.77.3
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/CHANGELOG.md +7 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/module.d.mts +2 -2
- package/dist/module.d.ts +2 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/rpc.d.mts +1 -1
- package/dist/rpc.d.ts +1 -1
- package/dist/runtime/composables/core/useIDP.d.ts +2 -2
- package/dist/runtime/composables/core/useUser.d.ts +2 -2
- package/dist/runtime/composables/storefront/useBasket.d.ts +6 -6
- package/dist/runtime/composables/storefront/useCategories.d.ts +2 -2
- package/dist/runtime/composables/storefront/useFacet.d.ts +5 -15
- package/dist/runtime/composables/storefront/useOrder.d.ts +76 -76
- package/dist/runtime/composables/storefront/useOrderConfirmation.d.ts +76 -76
- package/dist/runtime/composables/storefront/useWishlist.d.ts +2 -2
- package/dist/runtime/utils/zodSchema.d.ts +6 -6
- package/dist/shared/{storefront-nuxt.257df9a6.d.mts → storefront-nuxt.134d6654.d.mts} +2 -2
- package/dist/shared/{storefront-nuxt.257df9a6.d.ts → storefront-nuxt.134d6654.d.ts} +2 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { d as AdditionalShopConfig, A as AppKeys, B as BapiConfig, h as CheckoutEvent, C as CheckoutShopConfig, M as ModuleBaseOptions, i as ModulePublicRuntimeConfig, P as PublicShopConfig, R as RedisConfig, a as SessionConfig, e as ShopConfig, f as ShopConfigIndexed, c as StorageConfig, b as StorageEntity, S as StorageProvider, g as StorefrontConfig } from './shared/storefront-nuxt.
|
|
1
|
+
export { d as AdditionalShopConfig, A as AppKeys, B as BapiConfig, h as CheckoutEvent, C as CheckoutShopConfig, M as ModuleBaseOptions, i as ModulePublicRuntimeConfig, P as PublicShopConfig, R as RedisConfig, a as SessionConfig, e as ShopConfig, f as ShopConfigIndexed, c as StorageConfig, b as StorageEntity, S as StorageProvider, g as StorefrontConfig } from './shared/storefront-nuxt.134d6654.mjs';
|
|
2
2
|
export { rpcCall } from './rpc.mjs';
|
|
3
3
|
export * from '@scayle/storefront-core';
|
|
4
4
|
export { LogLevel } from '@scayle/storefront-core';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { d as AdditionalShopConfig, A as AppKeys, B as BapiConfig, h as CheckoutEvent, C as CheckoutShopConfig, M as ModuleBaseOptions, i as ModulePublicRuntimeConfig, P as PublicShopConfig, R as RedisConfig, a as SessionConfig, e as ShopConfig, f as ShopConfigIndexed, c as StorageConfig, b as StorageEntity, S as StorageProvider, g as StorefrontConfig } from './shared/storefront-nuxt.
|
|
1
|
+
export { d as AdditionalShopConfig, A as AppKeys, B as BapiConfig, h as CheckoutEvent, C as CheckoutShopConfig, M as ModuleBaseOptions, i as ModulePublicRuntimeConfig, P as PublicShopConfig, R as RedisConfig, a as SessionConfig, e as ShopConfig, f as ShopConfigIndexed, c as StorageConfig, b as StorageEntity, S as StorageProvider, g as StorefrontConfig } from './shared/storefront-nuxt.134d6654.js';
|
|
2
2
|
export { rpcCall } from './rpc.js';
|
|
3
3
|
export * from '@scayle/storefront-core';
|
|
4
4
|
export { LogLevel } from '@scayle/storefront-core';
|
package/dist/module.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
|
-
import { M as ModuleBaseOptions } from './shared/storefront-nuxt.
|
|
3
|
-
export { d as AdditionalShopConfig, A as AppKeys, B as BapiConfig, h as CheckoutEvent, C as CheckoutShopConfig, i as ModulePublicRuntimeConfig, P as PublicShopConfig, R as RedisConfig, a as SessionConfig, e as ShopConfig, f as ShopConfigIndexed, c as StorageConfig, b as StorageEntity, S as StorageProvider, g as StorefrontConfig } from './shared/storefront-nuxt.
|
|
2
|
+
import { M as ModuleBaseOptions } from './shared/storefront-nuxt.134d6654.mjs';
|
|
3
|
+
export { d as AdditionalShopConfig, A as AppKeys, B as BapiConfig, h as CheckoutEvent, C as CheckoutShopConfig, i as ModulePublicRuntimeConfig, P as PublicShopConfig, R as RedisConfig, a as SessionConfig, e as ShopConfig, f as ShopConfigIndexed, c as StorageConfig, b as StorageEntity, S as StorageProvider, g as StorefrontConfig } from './shared/storefront-nuxt.134d6654.mjs';
|
|
4
4
|
export { LogLevel } from '@scayle/storefront-core';
|
|
5
5
|
import '@scayle/unstorage-compression-driver';
|
|
6
6
|
import 'unstorage';
|
package/dist/module.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
|
-
import { M as ModuleBaseOptions } from './shared/storefront-nuxt.
|
|
3
|
-
export { d as AdditionalShopConfig, A as AppKeys, B as BapiConfig, h as CheckoutEvent, C as CheckoutShopConfig, i as ModulePublicRuntimeConfig, P as PublicShopConfig, R as RedisConfig, a as SessionConfig, e as ShopConfig, f as ShopConfigIndexed, c as StorageConfig, b as StorageEntity, S as StorageProvider, g as StorefrontConfig } from './shared/storefront-nuxt.
|
|
2
|
+
import { M as ModuleBaseOptions } from './shared/storefront-nuxt.134d6654.js';
|
|
3
|
+
export { d as AdditionalShopConfig, A as AppKeys, B as BapiConfig, h as CheckoutEvent, C as CheckoutShopConfig, i as ModulePublicRuntimeConfig, P as PublicShopConfig, R as RedisConfig, a as SessionConfig, e as ShopConfig, f as ShopConfigIndexed, c as StorageConfig, b as StorageEntity, S as StorageProvider, g as StorefrontConfig } from './shared/storefront-nuxt.134d6654.js';
|
|
4
4
|
export { LogLevel } from '@scayle/storefront-core';
|
|
5
5
|
import '@scayle/unstorage-compression-driver';
|
|
6
6
|
import 'unstorage';
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
package/dist/rpc.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RpcMethodName, RpcMethodParameters, RpcMethodReturnType, RpcContext } from '@scayle/storefront-core';
|
|
2
2
|
import { NuxtApp } from 'nuxt/app';
|
|
3
|
-
import { P as PublicShopConfig } from './shared/storefront-nuxt.
|
|
3
|
+
import { P as PublicShopConfig } from './shared/storefront-nuxt.134d6654.mjs';
|
|
4
4
|
import '@nuxt/schema';
|
|
5
5
|
import '@scayle/unstorage-compression-driver';
|
|
6
6
|
import 'unstorage';
|
package/dist/rpc.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RpcMethodName, RpcMethodParameters, RpcMethodReturnType, RpcContext } from '@scayle/storefront-core';
|
|
2
2
|
import { NuxtApp } from 'nuxt/app';
|
|
3
|
-
import { P as PublicShopConfig } from './shared/storefront-nuxt.
|
|
3
|
+
import { P as PublicShopConfig } from './shared/storefront-nuxt.134d6654.js';
|
|
4
4
|
import '@nuxt/schema';
|
|
5
5
|
import '@scayle/unstorage-compression-driver';
|
|
6
6
|
import 'unstorage';
|
|
@@ -4,7 +4,7 @@ export declare function useIDP(params?: MaybeRefOrGetter<RpcMethodParameters<'ge
|
|
|
4
4
|
[k: string]: string;
|
|
5
5
|
}, import("nuxt/app").NuxtError<unknown> | null> & {
|
|
6
6
|
fetching: import("vue").Ref<boolean>;
|
|
7
|
-
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions
|
|
7
|
+
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions) => Promise<void>;
|
|
8
8
|
} & {
|
|
9
9
|
handleIDPLoginCallback: (params: string | {
|
|
10
10
|
code: string;
|
|
@@ -15,7 +15,7 @@ export declare function useIDP(params?: MaybeRefOrGetter<RpcMethodParameters<'ge
|
|
|
15
15
|
[k: string]: string;
|
|
16
16
|
}, import("nuxt/app").NuxtError<unknown> | null> & {
|
|
17
17
|
fetching: import("vue").Ref<boolean>;
|
|
18
|
-
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions
|
|
18
|
+
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions) => Promise<void>;
|
|
19
19
|
} & {
|
|
20
20
|
handleIDPLoginCallback: (params: string | {
|
|
21
21
|
code: string;
|
|
@@ -11,7 +11,7 @@ export declare function useUser(options?: ExtendedUseUserParams): {
|
|
|
11
11
|
isLoggedIn: import("vue").ComputedRef<boolean>;
|
|
12
12
|
customerType: import("vue").ComputedRef<"guest" | "new" | "existing">;
|
|
13
13
|
fetching: import("vue").Ref<boolean>;
|
|
14
|
-
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions
|
|
14
|
+
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions) => Promise<void>;
|
|
15
15
|
forceRefresh: () => Promise<void>;
|
|
16
16
|
updateUser: (payload: Partial<ShopUser>) => Promise<void>;
|
|
17
17
|
updatePassword: (payload: UpdatePasswordParams) => Promise<void>;
|
|
@@ -22,7 +22,7 @@ export declare function useUser(options?: ExtendedUseUserParams): {
|
|
|
22
22
|
isLoggedIn: import("vue").ComputedRef<boolean>;
|
|
23
23
|
customerType: import("vue").ComputedRef<"guest" | "new" | "existing">;
|
|
24
24
|
fetching: import("vue").Ref<boolean>;
|
|
25
|
-
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions
|
|
25
|
+
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions) => Promise<void>;
|
|
26
26
|
forceRefresh: () => Promise<void>;
|
|
27
27
|
updateUser: (payload: Partial<ShopUser>) => Promise<void>;
|
|
28
28
|
updatePassword: (payload: UpdatePasswordParams) => Promise<void>;
|
|
@@ -7,7 +7,7 @@ type UseBasketOptions = Partial<{
|
|
|
7
7
|
}>;
|
|
8
8
|
export declare function useBasket({ params, key, }?: UseBasketOptions): import("nuxt/dist/app/composables/asyncData")._AsyncData<BasketResponseData<import("@scayle/storefront-api").Product, import("@scayle/storefront-api").Variant>, import("nuxt/app").NuxtError<unknown> | null> & {
|
|
9
9
|
fetching: import("vue").Ref<boolean>;
|
|
10
|
-
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions
|
|
10
|
+
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions) => Promise<void>;
|
|
11
11
|
} & {
|
|
12
12
|
data: import("vue").Ref<BasketResponseData<import("@scayle/storefront-api").Product, import("@scayle/storefront-api").Variant>>;
|
|
13
13
|
items: import("vue").ComputedRef<import("@scayle/storefront-api").BasketItem<import("@scayle/storefront-api").Product, import("@scayle/storefront-api").Variant>[]>;
|
|
@@ -17,7 +17,7 @@ export declare function useBasket({ params, key, }?: UseBasketOptions): import("
|
|
|
17
17
|
shippingDates: import("vue").ComputedRef<(string | null)[] | undefined>;
|
|
18
18
|
isEmpty: import("vue").ComputedRef<boolean>;
|
|
19
19
|
fetching: import("vue").Ref<boolean>;
|
|
20
|
-
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions
|
|
20
|
+
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions) => Promise<void>;
|
|
21
21
|
count: import("vue").ComputedRef<number>;
|
|
22
22
|
countWithoutSoldOutItems: import("vue").ComputedRef<number>;
|
|
23
23
|
addItem: ({ variantId, promotionId, quantity, existingItemHandling, displayData, customData, itemGroup, }: AddOrUpdateItemType & {
|
|
@@ -44,7 +44,7 @@ export declare function useBasket({ params, key, }?: UseBasketOptions): import("
|
|
|
44
44
|
hashAlgorithm: import("@scayle/storefront-core").HashAlgorithm;
|
|
45
45
|
shopId: string;
|
|
46
46
|
userId: string;
|
|
47
|
-
log?: import("@scayle/storefront-core").Log
|
|
47
|
+
log?: import("@scayle/storefront-core").Log;
|
|
48
48
|
}) => Promise<string>;
|
|
49
49
|
mergeBaskets: (args: {
|
|
50
50
|
fromBasketKey: string;
|
|
@@ -65,7 +65,7 @@ export declare function useBasket({ params, key, }?: UseBasketOptions): import("
|
|
|
65
65
|
status: import("vue").Ref<import("nuxt/app").AsyncDataRequestStatus>;
|
|
66
66
|
} & Promise<import("nuxt/dist/app/composables/asyncData")._AsyncData<BasketResponseData<import("@scayle/storefront-api").Product, import("@scayle/storefront-api").Variant>, import("nuxt/app").NuxtError<unknown> | null> & {
|
|
67
67
|
fetching: import("vue").Ref<boolean>;
|
|
68
|
-
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions
|
|
68
|
+
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions) => Promise<void>;
|
|
69
69
|
} & {
|
|
70
70
|
data: import("vue").Ref<BasketResponseData<import("@scayle/storefront-api").Product, import("@scayle/storefront-api").Variant>>;
|
|
71
71
|
items: import("vue").ComputedRef<import("@scayle/storefront-api").BasketItem<import("@scayle/storefront-api").Product, import("@scayle/storefront-api").Variant>[]>;
|
|
@@ -75,7 +75,7 @@ export declare function useBasket({ params, key, }?: UseBasketOptions): import("
|
|
|
75
75
|
shippingDates: import("vue").ComputedRef<(string | null)[] | undefined>;
|
|
76
76
|
isEmpty: import("vue").ComputedRef<boolean>;
|
|
77
77
|
fetching: import("vue").Ref<boolean>;
|
|
78
|
-
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions
|
|
78
|
+
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions) => Promise<void>;
|
|
79
79
|
count: import("vue").ComputedRef<number>;
|
|
80
80
|
countWithoutSoldOutItems: import("vue").ComputedRef<number>;
|
|
81
81
|
addItem: ({ variantId, promotionId, quantity, existingItemHandling, displayData, customData, itemGroup, }: AddOrUpdateItemType & {
|
|
@@ -102,7 +102,7 @@ export declare function useBasket({ params, key, }?: UseBasketOptions): import("
|
|
|
102
102
|
hashAlgorithm: import("@scayle/storefront-core").HashAlgorithm;
|
|
103
103
|
shopId: string;
|
|
104
104
|
userId: string;
|
|
105
|
-
log?: import("@scayle/storefront-core").Log
|
|
105
|
+
log?: import("@scayle/storefront-core").Log;
|
|
106
106
|
}) => Promise<string>;
|
|
107
107
|
mergeBaskets: (args: {
|
|
108
108
|
fromBasketKey: string;
|
|
@@ -15,7 +15,7 @@ export declare function useCategories({ params, options, key: _key, }?: Options,
|
|
|
15
15
|
activeNode: import("@scayle/storefront-api").Category;
|
|
16
16
|
}, import("nuxt/app").NuxtError<unknown> | null> & {
|
|
17
17
|
fetching: import("vue").Ref<boolean>;
|
|
18
|
-
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions
|
|
18
|
+
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions) => Promise<void>;
|
|
19
19
|
} & {
|
|
20
20
|
getCategoryById: (id: number, includeHidden?: true) => Promise<import("@scayle/storefront-api").Category>;
|
|
21
21
|
} & Promise<import("nuxt/dist/app/composables/asyncData")._AsyncData<{
|
|
@@ -26,7 +26,7 @@ export declare function useCategories({ params, options, key: _key, }?: Options,
|
|
|
26
26
|
activeNode: import("@scayle/storefront-api").Category;
|
|
27
27
|
}, import("nuxt/app").NuxtError<unknown> | null> & {
|
|
28
28
|
fetching: import("vue").Ref<boolean>;
|
|
29
|
-
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions
|
|
29
|
+
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions) => Promise<void>;
|
|
30
30
|
} & {
|
|
31
31
|
getCategoryById: (id: number, includeHidden?: true) => Promise<import("@scayle/storefront-api").Category>;
|
|
32
32
|
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FilterParams, ProductWith } from '@scayle/storefront-core';
|
|
1
|
+
import type { CacheOptions, FilterParams, ProductWith } from '@scayle/storefront-core';
|
|
2
2
|
type FacetParams = Partial<{
|
|
3
3
|
with: {
|
|
4
4
|
product?: ProductWith;
|
|
@@ -49,13 +49,8 @@ export declare function useFacet({ key: optionsKey, params, }?: Options, _key?:
|
|
|
49
49
|
categoriesStatus: import("vue").Ref<import("nuxt/app").AsyncDataRequestStatus>;
|
|
50
50
|
fetchProducts: ({ path, page, perPage, where, sort, pricePromotionKey, cache, orFiltersOperator, }: FilterParams & {
|
|
51
51
|
path: string;
|
|
52
|
-
pricePromotionKey?: string
|
|
53
|
-
cache?:
|
|
54
|
-
ttl: number;
|
|
55
|
-
cacheKey: string;
|
|
56
|
-
cacheKeyPrefix: string;
|
|
57
|
-
timeout: number;
|
|
58
|
-
}> | undefined;
|
|
52
|
+
pricePromotionKey?: string;
|
|
53
|
+
cache?: CacheOptions;
|
|
59
54
|
}) => Promise<true | undefined>;
|
|
60
55
|
fetchPage: (pageToFetch: number) => Promise<void>;
|
|
61
56
|
} & Promise<{
|
|
@@ -93,13 +88,8 @@ export declare function useFacet({ key: optionsKey, params, }?: Options, _key?:
|
|
|
93
88
|
categoriesStatus: import("vue").Ref<import("nuxt/app").AsyncDataRequestStatus>;
|
|
94
89
|
fetchProducts: ({ path, page, perPage, where, sort, pricePromotionKey, cache, orFiltersOperator, }: FilterParams & {
|
|
95
90
|
path: string;
|
|
96
|
-
pricePromotionKey?: string
|
|
97
|
-
cache?:
|
|
98
|
-
ttl: number;
|
|
99
|
-
cacheKey: string;
|
|
100
|
-
cacheKeyPrefix: string;
|
|
101
|
-
timeout: number;
|
|
102
|
-
}> | undefined;
|
|
91
|
+
pricePromotionKey?: string;
|
|
92
|
+
cache?: CacheOptions;
|
|
103
93
|
}) => Promise<true | undefined>;
|
|
104
94
|
fetchPage: (pageToFetch: number) => Promise<void>;
|
|
105
95
|
}>;
|
|
@@ -13,151 +13,151 @@ export declare function useOrder<P = {
|
|
|
13
13
|
[k: string]: unknown;
|
|
14
14
|
}>({ params, options, key: _key }?: Options, key?: string): import("nuxt/dist/app/composables/asyncData")._AsyncData<Order, import("nuxt/app").NuxtError<unknown> | null> & {
|
|
15
15
|
fetching: import("vue").Ref<boolean>;
|
|
16
|
-
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions
|
|
16
|
+
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions) => Promise<void>;
|
|
17
17
|
} & {
|
|
18
18
|
data: Ref<Order & {
|
|
19
19
|
items?: ({
|
|
20
|
-
id?:
|
|
21
|
-
availableQuantity?:
|
|
22
|
-
currency?:
|
|
20
|
+
id?: import("@scayle/storefront-core").UniqueNumericIdentifierOfTheItem;
|
|
21
|
+
availableQuantity?: import("@scayle/storefront-core").AvailableQuantityInTheWarehouse;
|
|
22
|
+
currency?: import("@scayle/storefront-core").CharacterCurrencyCode1;
|
|
23
23
|
customData?: {
|
|
24
24
|
[k: string]: unknown;
|
|
25
|
-
}
|
|
26
|
-
deliveryForecast?: import("@scayle/storefront-core").DeliveryForecastFromWarehouse
|
|
27
|
-
isManuallyReturnedByCci?:
|
|
28
|
-
itemGroup?: {
|
|
25
|
+
};
|
|
26
|
+
deliveryForecast?: import("@scayle/storefront-core").DeliveryForecastFromWarehouse;
|
|
27
|
+
isManuallyReturnedByCci?: import("@scayle/storefront-core").TheReturnShipmentHasBeenTriggeredByCCI;
|
|
28
|
+
itemGroup?: null | {
|
|
29
29
|
id: string;
|
|
30
30
|
isMainItem: boolean;
|
|
31
31
|
isRequired: boolean;
|
|
32
|
-
}
|
|
33
|
-
key:
|
|
34
|
-
lowestPriorPrice?: {
|
|
32
|
+
};
|
|
33
|
+
key: import("@scayle/storefront-core").UniqueIdentifierOfTheItem;
|
|
34
|
+
lowestPriorPrice?: null | {
|
|
35
35
|
relativeDifferenceToPrice: number;
|
|
36
36
|
withTax: number;
|
|
37
|
-
}
|
|
37
|
+
};
|
|
38
38
|
merchant?: {
|
|
39
|
-
[k: string]: unknown;
|
|
40
39
|
id: number;
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
[k: string]: unknown;
|
|
41
|
+
};
|
|
42
|
+
packageId: import("@scayle/storefront-core").PackageReference;
|
|
43
43
|
price: {
|
|
44
44
|
appliedReductions?: {
|
|
45
45
|
amount: {
|
|
46
|
-
absoluteWithTax:
|
|
46
|
+
absoluteWithTax: import("@scayle/storefront-core").ThisFieldRepresentsTheDiscountAmountIncludingTheTaxes1;
|
|
47
47
|
relative: number;
|
|
48
48
|
};
|
|
49
|
-
category: "
|
|
50
|
-
code?: string
|
|
49
|
+
category: "sale" | "campaign" | "voucher";
|
|
50
|
+
code?: string;
|
|
51
51
|
type: "relative" | "absolute";
|
|
52
|
-
}[]
|
|
53
|
-
overrideWithoutTax?: number
|
|
54
|
-
overrideWithTax?: number
|
|
52
|
+
}[];
|
|
53
|
+
overrideWithoutTax?: number;
|
|
54
|
+
overrideWithTax?: number;
|
|
55
55
|
reference?: {
|
|
56
|
-
size?: string
|
|
57
|
-
unit?: string
|
|
58
|
-
withTax?: number
|
|
59
|
-
}
|
|
56
|
+
size?: string;
|
|
57
|
+
unit?: string;
|
|
58
|
+
withTax?: number;
|
|
59
|
+
};
|
|
60
60
|
tax: {
|
|
61
61
|
[k: string]: {
|
|
62
|
-
amount:
|
|
63
|
-
rate:
|
|
62
|
+
amount: import("@scayle/storefront-core").AbsoluteValueOfTheAppliedTax1;
|
|
63
|
+
rate: import("@scayle/storefront-core").RelativeValueOfTheAppliedTax;
|
|
64
64
|
};
|
|
65
65
|
};
|
|
66
|
-
undiscountedWithOutTax?:
|
|
67
|
-
undiscountedWithTax?:
|
|
68
|
-
withoutTax:
|
|
69
|
-
withTax:
|
|
66
|
+
undiscountedWithOutTax?: import("@scayle/storefront-core").UndiscountedItemPriceExcludingTaxes;
|
|
67
|
+
undiscountedWithTax?: import("@scayle/storefront-core").UndiscountedItemPriceIncludingTaxes;
|
|
68
|
+
withoutTax: import("@scayle/storefront-core").ItemPriceExcludingTaxes1;
|
|
69
|
+
withTax: import("@scayle/storefront-core").ItemPriceIncludingTaxes1;
|
|
70
70
|
};
|
|
71
71
|
product: {
|
|
72
72
|
[k: string]: unknown;
|
|
73
73
|
};
|
|
74
|
-
reservationKey?: string
|
|
75
|
-
status: "available" | "
|
|
74
|
+
reservationKey?: string;
|
|
75
|
+
status: "available" | "cancelled" | "delivered" | "returned" | "unavailable";
|
|
76
76
|
variant: {
|
|
77
77
|
[k: string]: unknown;
|
|
78
78
|
};
|
|
79
|
-
warehouseId?: import("@scayle/storefront-core").PickingWarehouseId
|
|
80
|
-
warehousePackageGroupId?: import("@scayle/storefront-core").WarehousePackageReference
|
|
81
|
-
createdAt:
|
|
82
|
-
updatedAt:
|
|
79
|
+
warehouseId?: import("@scayle/storefront-core").PickingWarehouseId;
|
|
80
|
+
warehousePackageGroupId?: import("@scayle/storefront-core").WarehousePackageReference;
|
|
81
|
+
createdAt: import("@scayle/storefront-core").TimestampOfItemCreation;
|
|
82
|
+
updatedAt: import("@scayle/storefront-core").TimestampOfLastItemUpdate;
|
|
83
83
|
} & {
|
|
84
84
|
product: P;
|
|
85
85
|
variant: V;
|
|
86
|
-
})[]
|
|
86
|
+
})[];
|
|
87
87
|
}>;
|
|
88
88
|
} & Promise<import("nuxt/dist/app/composables/asyncData")._AsyncData<Order, import("nuxt/app").NuxtError<unknown> | null> & {
|
|
89
89
|
fetching: import("vue").Ref<boolean>;
|
|
90
|
-
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions
|
|
90
|
+
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions) => Promise<void>;
|
|
91
91
|
} & {
|
|
92
92
|
data: Ref<Order & {
|
|
93
93
|
items?: ({
|
|
94
|
-
id?:
|
|
95
|
-
availableQuantity?:
|
|
96
|
-
currency?:
|
|
94
|
+
id?: import("@scayle/storefront-core").UniqueNumericIdentifierOfTheItem;
|
|
95
|
+
availableQuantity?: import("@scayle/storefront-core").AvailableQuantityInTheWarehouse;
|
|
96
|
+
currency?: import("@scayle/storefront-core").CharacterCurrencyCode1;
|
|
97
97
|
customData?: {
|
|
98
98
|
[k: string]: unknown;
|
|
99
|
-
}
|
|
100
|
-
deliveryForecast?: import("@scayle/storefront-core").DeliveryForecastFromWarehouse
|
|
101
|
-
isManuallyReturnedByCci?:
|
|
102
|
-
itemGroup?: {
|
|
99
|
+
};
|
|
100
|
+
deliveryForecast?: import("@scayle/storefront-core").DeliveryForecastFromWarehouse;
|
|
101
|
+
isManuallyReturnedByCci?: import("@scayle/storefront-core").TheReturnShipmentHasBeenTriggeredByCCI;
|
|
102
|
+
itemGroup?: null | {
|
|
103
103
|
id: string;
|
|
104
104
|
isMainItem: boolean;
|
|
105
105
|
isRequired: boolean;
|
|
106
|
-
}
|
|
107
|
-
key:
|
|
108
|
-
lowestPriorPrice?: {
|
|
106
|
+
};
|
|
107
|
+
key: import("@scayle/storefront-core").UniqueIdentifierOfTheItem;
|
|
108
|
+
lowestPriorPrice?: null | {
|
|
109
109
|
relativeDifferenceToPrice: number;
|
|
110
110
|
withTax: number;
|
|
111
|
-
}
|
|
111
|
+
};
|
|
112
112
|
merchant?: {
|
|
113
|
-
[k: string]: unknown;
|
|
114
113
|
id: number;
|
|
115
|
-
|
|
116
|
-
|
|
114
|
+
[k: string]: unknown;
|
|
115
|
+
};
|
|
116
|
+
packageId: import("@scayle/storefront-core").PackageReference;
|
|
117
117
|
price: {
|
|
118
118
|
appliedReductions?: {
|
|
119
119
|
amount: {
|
|
120
|
-
absoluteWithTax:
|
|
120
|
+
absoluteWithTax: import("@scayle/storefront-core").ThisFieldRepresentsTheDiscountAmountIncludingTheTaxes1;
|
|
121
121
|
relative: number;
|
|
122
122
|
};
|
|
123
|
-
category: "
|
|
124
|
-
code?: string
|
|
123
|
+
category: "sale" | "campaign" | "voucher";
|
|
124
|
+
code?: string;
|
|
125
125
|
type: "relative" | "absolute";
|
|
126
|
-
}[]
|
|
127
|
-
overrideWithoutTax?: number
|
|
128
|
-
overrideWithTax?: number
|
|
126
|
+
}[];
|
|
127
|
+
overrideWithoutTax?: number;
|
|
128
|
+
overrideWithTax?: number;
|
|
129
129
|
reference?: {
|
|
130
|
-
size?: string
|
|
131
|
-
unit?: string
|
|
132
|
-
withTax?: number
|
|
133
|
-
}
|
|
130
|
+
size?: string;
|
|
131
|
+
unit?: string;
|
|
132
|
+
withTax?: number;
|
|
133
|
+
};
|
|
134
134
|
tax: {
|
|
135
135
|
[k: string]: {
|
|
136
|
-
amount:
|
|
137
|
-
rate:
|
|
136
|
+
amount: import("@scayle/storefront-core").AbsoluteValueOfTheAppliedTax1;
|
|
137
|
+
rate: import("@scayle/storefront-core").RelativeValueOfTheAppliedTax;
|
|
138
138
|
};
|
|
139
139
|
};
|
|
140
|
-
undiscountedWithOutTax?:
|
|
141
|
-
undiscountedWithTax?:
|
|
142
|
-
withoutTax:
|
|
143
|
-
withTax:
|
|
140
|
+
undiscountedWithOutTax?: import("@scayle/storefront-core").UndiscountedItemPriceExcludingTaxes;
|
|
141
|
+
undiscountedWithTax?: import("@scayle/storefront-core").UndiscountedItemPriceIncludingTaxes;
|
|
142
|
+
withoutTax: import("@scayle/storefront-core").ItemPriceExcludingTaxes1;
|
|
143
|
+
withTax: import("@scayle/storefront-core").ItemPriceIncludingTaxes1;
|
|
144
144
|
};
|
|
145
145
|
product: {
|
|
146
146
|
[k: string]: unknown;
|
|
147
147
|
};
|
|
148
|
-
reservationKey?: string
|
|
149
|
-
status: "available" | "
|
|
148
|
+
reservationKey?: string;
|
|
149
|
+
status: "available" | "cancelled" | "delivered" | "returned" | "unavailable";
|
|
150
150
|
variant: {
|
|
151
151
|
[k: string]: unknown;
|
|
152
152
|
};
|
|
153
|
-
warehouseId?: import("@scayle/storefront-core").PickingWarehouseId
|
|
154
|
-
warehousePackageGroupId?: import("@scayle/storefront-core").WarehousePackageReference
|
|
155
|
-
createdAt:
|
|
156
|
-
updatedAt:
|
|
153
|
+
warehouseId?: import("@scayle/storefront-core").PickingWarehouseId;
|
|
154
|
+
warehousePackageGroupId?: import("@scayle/storefront-core").WarehousePackageReference;
|
|
155
|
+
createdAt: import("@scayle/storefront-core").TimestampOfItemCreation;
|
|
156
|
+
updatedAt: import("@scayle/storefront-core").TimestampOfLastItemUpdate;
|
|
157
157
|
} & {
|
|
158
158
|
product: P;
|
|
159
159
|
variant: V;
|
|
160
|
-
})[]
|
|
160
|
+
})[];
|
|
161
161
|
}>;
|
|
162
162
|
}>;
|
|
163
163
|
export {};
|
|
@@ -13,151 +13,151 @@ export declare function useOrderConfirmation<P = {
|
|
|
13
13
|
[k: string]: unknown;
|
|
14
14
|
}>({ params, options, key: _key }?: Options, key?: string): import("nuxt/dist/app/composables/asyncData")._AsyncData<Order | undefined, import("nuxt/app").NuxtError<unknown> | null> & {
|
|
15
15
|
fetching: import("vue").Ref<boolean>;
|
|
16
|
-
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions
|
|
16
|
+
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions) => Promise<void>;
|
|
17
17
|
} & {
|
|
18
18
|
data: Ref<Order & {
|
|
19
19
|
items?: ({
|
|
20
|
-
id?:
|
|
21
|
-
availableQuantity?:
|
|
22
|
-
currency?:
|
|
20
|
+
id?: import("@scayle/storefront-core").UniqueNumericIdentifierOfTheItem;
|
|
21
|
+
availableQuantity?: import("@scayle/storefront-core").AvailableQuantityInTheWarehouse;
|
|
22
|
+
currency?: import("@scayle/storefront-core").CharacterCurrencyCode1;
|
|
23
23
|
customData?: {
|
|
24
24
|
[k: string]: unknown;
|
|
25
|
-
}
|
|
26
|
-
deliveryForecast?: import("@scayle/storefront-core").DeliveryForecastFromWarehouse
|
|
27
|
-
isManuallyReturnedByCci?:
|
|
28
|
-
itemGroup?: {
|
|
25
|
+
};
|
|
26
|
+
deliveryForecast?: import("@scayle/storefront-core").DeliveryForecastFromWarehouse;
|
|
27
|
+
isManuallyReturnedByCci?: import("@scayle/storefront-core").TheReturnShipmentHasBeenTriggeredByCCI;
|
|
28
|
+
itemGroup?: null | {
|
|
29
29
|
id: string;
|
|
30
30
|
isMainItem: boolean;
|
|
31
31
|
isRequired: boolean;
|
|
32
|
-
}
|
|
33
|
-
key:
|
|
34
|
-
lowestPriorPrice?: {
|
|
32
|
+
};
|
|
33
|
+
key: import("@scayle/storefront-core").UniqueIdentifierOfTheItem;
|
|
34
|
+
lowestPriorPrice?: null | {
|
|
35
35
|
relativeDifferenceToPrice: number;
|
|
36
36
|
withTax: number;
|
|
37
|
-
}
|
|
37
|
+
};
|
|
38
38
|
merchant?: {
|
|
39
|
-
[k: string]: unknown;
|
|
40
39
|
id: number;
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
[k: string]: unknown;
|
|
41
|
+
};
|
|
42
|
+
packageId: import("@scayle/storefront-core").PackageReference;
|
|
43
43
|
price: {
|
|
44
44
|
appliedReductions?: {
|
|
45
45
|
amount: {
|
|
46
|
-
absoluteWithTax:
|
|
46
|
+
absoluteWithTax: import("@scayle/storefront-core").ThisFieldRepresentsTheDiscountAmountIncludingTheTaxes1;
|
|
47
47
|
relative: number;
|
|
48
48
|
};
|
|
49
|
-
category: "
|
|
50
|
-
code?: string
|
|
49
|
+
category: "sale" | "campaign" | "voucher";
|
|
50
|
+
code?: string;
|
|
51
51
|
type: "relative" | "absolute";
|
|
52
|
-
}[]
|
|
53
|
-
overrideWithoutTax?: number
|
|
54
|
-
overrideWithTax?: number
|
|
52
|
+
}[];
|
|
53
|
+
overrideWithoutTax?: number;
|
|
54
|
+
overrideWithTax?: number;
|
|
55
55
|
reference?: {
|
|
56
|
-
size?: string
|
|
57
|
-
unit?: string
|
|
58
|
-
withTax?: number
|
|
59
|
-
}
|
|
56
|
+
size?: string;
|
|
57
|
+
unit?: string;
|
|
58
|
+
withTax?: number;
|
|
59
|
+
};
|
|
60
60
|
tax: {
|
|
61
61
|
[k: string]: {
|
|
62
|
-
amount:
|
|
63
|
-
rate:
|
|
62
|
+
amount: import("@scayle/storefront-core").AbsoluteValueOfTheAppliedTax1;
|
|
63
|
+
rate: import("@scayle/storefront-core").RelativeValueOfTheAppliedTax;
|
|
64
64
|
};
|
|
65
65
|
};
|
|
66
|
-
undiscountedWithOutTax?:
|
|
67
|
-
undiscountedWithTax?:
|
|
68
|
-
withoutTax:
|
|
69
|
-
withTax:
|
|
66
|
+
undiscountedWithOutTax?: import("@scayle/storefront-core").UndiscountedItemPriceExcludingTaxes;
|
|
67
|
+
undiscountedWithTax?: import("@scayle/storefront-core").UndiscountedItemPriceIncludingTaxes;
|
|
68
|
+
withoutTax: import("@scayle/storefront-core").ItemPriceExcludingTaxes1;
|
|
69
|
+
withTax: import("@scayle/storefront-core").ItemPriceIncludingTaxes1;
|
|
70
70
|
};
|
|
71
71
|
product: {
|
|
72
72
|
[k: string]: unknown;
|
|
73
73
|
};
|
|
74
|
-
reservationKey?: string
|
|
75
|
-
status: "available" | "
|
|
74
|
+
reservationKey?: string;
|
|
75
|
+
status: "available" | "cancelled" | "delivered" | "returned" | "unavailable";
|
|
76
76
|
variant: {
|
|
77
77
|
[k: string]: unknown;
|
|
78
78
|
};
|
|
79
|
-
warehouseId?: import("@scayle/storefront-core").PickingWarehouseId
|
|
80
|
-
warehousePackageGroupId?: import("@scayle/storefront-core").WarehousePackageReference
|
|
81
|
-
createdAt:
|
|
82
|
-
updatedAt:
|
|
79
|
+
warehouseId?: import("@scayle/storefront-core").PickingWarehouseId;
|
|
80
|
+
warehousePackageGroupId?: import("@scayle/storefront-core").WarehousePackageReference;
|
|
81
|
+
createdAt: import("@scayle/storefront-core").TimestampOfItemCreation;
|
|
82
|
+
updatedAt: import("@scayle/storefront-core").TimestampOfLastItemUpdate;
|
|
83
83
|
} & {
|
|
84
84
|
product: P;
|
|
85
85
|
variant: V;
|
|
86
|
-
})[]
|
|
86
|
+
})[];
|
|
87
87
|
}>;
|
|
88
88
|
} & Promise<import("nuxt/dist/app/composables/asyncData")._AsyncData<Order | undefined, import("nuxt/app").NuxtError<unknown> | null> & {
|
|
89
89
|
fetching: import("vue").Ref<boolean>;
|
|
90
|
-
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions
|
|
90
|
+
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions) => Promise<void>;
|
|
91
91
|
} & {
|
|
92
92
|
data: Ref<Order & {
|
|
93
93
|
items?: ({
|
|
94
|
-
id?:
|
|
95
|
-
availableQuantity?:
|
|
96
|
-
currency?:
|
|
94
|
+
id?: import("@scayle/storefront-core").UniqueNumericIdentifierOfTheItem;
|
|
95
|
+
availableQuantity?: import("@scayle/storefront-core").AvailableQuantityInTheWarehouse;
|
|
96
|
+
currency?: import("@scayle/storefront-core").CharacterCurrencyCode1;
|
|
97
97
|
customData?: {
|
|
98
98
|
[k: string]: unknown;
|
|
99
|
-
}
|
|
100
|
-
deliveryForecast?: import("@scayle/storefront-core").DeliveryForecastFromWarehouse
|
|
101
|
-
isManuallyReturnedByCci?:
|
|
102
|
-
itemGroup?: {
|
|
99
|
+
};
|
|
100
|
+
deliveryForecast?: import("@scayle/storefront-core").DeliveryForecastFromWarehouse;
|
|
101
|
+
isManuallyReturnedByCci?: import("@scayle/storefront-core").TheReturnShipmentHasBeenTriggeredByCCI;
|
|
102
|
+
itemGroup?: null | {
|
|
103
103
|
id: string;
|
|
104
104
|
isMainItem: boolean;
|
|
105
105
|
isRequired: boolean;
|
|
106
|
-
}
|
|
107
|
-
key:
|
|
108
|
-
lowestPriorPrice?: {
|
|
106
|
+
};
|
|
107
|
+
key: import("@scayle/storefront-core").UniqueIdentifierOfTheItem;
|
|
108
|
+
lowestPriorPrice?: null | {
|
|
109
109
|
relativeDifferenceToPrice: number;
|
|
110
110
|
withTax: number;
|
|
111
|
-
}
|
|
111
|
+
};
|
|
112
112
|
merchant?: {
|
|
113
|
-
[k: string]: unknown;
|
|
114
113
|
id: number;
|
|
115
|
-
|
|
116
|
-
|
|
114
|
+
[k: string]: unknown;
|
|
115
|
+
};
|
|
116
|
+
packageId: import("@scayle/storefront-core").PackageReference;
|
|
117
117
|
price: {
|
|
118
118
|
appliedReductions?: {
|
|
119
119
|
amount: {
|
|
120
|
-
absoluteWithTax:
|
|
120
|
+
absoluteWithTax: import("@scayle/storefront-core").ThisFieldRepresentsTheDiscountAmountIncludingTheTaxes1;
|
|
121
121
|
relative: number;
|
|
122
122
|
};
|
|
123
|
-
category: "
|
|
124
|
-
code?: string
|
|
123
|
+
category: "sale" | "campaign" | "voucher";
|
|
124
|
+
code?: string;
|
|
125
125
|
type: "relative" | "absolute";
|
|
126
|
-
}[]
|
|
127
|
-
overrideWithoutTax?: number
|
|
128
|
-
overrideWithTax?: number
|
|
126
|
+
}[];
|
|
127
|
+
overrideWithoutTax?: number;
|
|
128
|
+
overrideWithTax?: number;
|
|
129
129
|
reference?: {
|
|
130
|
-
size?: string
|
|
131
|
-
unit?: string
|
|
132
|
-
withTax?: number
|
|
133
|
-
}
|
|
130
|
+
size?: string;
|
|
131
|
+
unit?: string;
|
|
132
|
+
withTax?: number;
|
|
133
|
+
};
|
|
134
134
|
tax: {
|
|
135
135
|
[k: string]: {
|
|
136
|
-
amount:
|
|
137
|
-
rate:
|
|
136
|
+
amount: import("@scayle/storefront-core").AbsoluteValueOfTheAppliedTax1;
|
|
137
|
+
rate: import("@scayle/storefront-core").RelativeValueOfTheAppliedTax;
|
|
138
138
|
};
|
|
139
139
|
};
|
|
140
|
-
undiscountedWithOutTax?:
|
|
141
|
-
undiscountedWithTax?:
|
|
142
|
-
withoutTax:
|
|
143
|
-
withTax:
|
|
140
|
+
undiscountedWithOutTax?: import("@scayle/storefront-core").UndiscountedItemPriceExcludingTaxes;
|
|
141
|
+
undiscountedWithTax?: import("@scayle/storefront-core").UndiscountedItemPriceIncludingTaxes;
|
|
142
|
+
withoutTax: import("@scayle/storefront-core").ItemPriceExcludingTaxes1;
|
|
143
|
+
withTax: import("@scayle/storefront-core").ItemPriceIncludingTaxes1;
|
|
144
144
|
};
|
|
145
145
|
product: {
|
|
146
146
|
[k: string]: unknown;
|
|
147
147
|
};
|
|
148
|
-
reservationKey?: string
|
|
149
|
-
status: "available" | "
|
|
148
|
+
reservationKey?: string;
|
|
149
|
+
status: "available" | "cancelled" | "delivered" | "returned" | "unavailable";
|
|
150
150
|
variant: {
|
|
151
151
|
[k: string]: unknown;
|
|
152
152
|
};
|
|
153
|
-
warehouseId?: import("@scayle/storefront-core").PickingWarehouseId
|
|
154
|
-
warehousePackageGroupId?: import("@scayle/storefront-core").WarehousePackageReference
|
|
155
|
-
createdAt:
|
|
156
|
-
updatedAt:
|
|
153
|
+
warehouseId?: import("@scayle/storefront-core").PickingWarehouseId;
|
|
154
|
+
warehousePackageGroupId?: import("@scayle/storefront-core").WarehousePackageReference;
|
|
155
|
+
createdAt: import("@scayle/storefront-core").TimestampOfItemCreation;
|
|
156
|
+
updatedAt: import("@scayle/storefront-core").TimestampOfLastItemUpdate;
|
|
157
157
|
} & {
|
|
158
158
|
product: P;
|
|
159
159
|
variant: V;
|
|
160
|
-
})[]
|
|
160
|
+
})[];
|
|
161
161
|
}>;
|
|
162
162
|
}>;
|
|
163
163
|
export {};
|
|
@@ -26,7 +26,7 @@ export declare function useWishlist({ params, key, }?: Options): {
|
|
|
26
26
|
}) => Promise<void>;
|
|
27
27
|
clear: () => Promise<void>;
|
|
28
28
|
fetching: import("vue").Ref<boolean>;
|
|
29
|
-
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions
|
|
29
|
+
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions) => Promise<void>;
|
|
30
30
|
toggleItem: (item: {
|
|
31
31
|
variantId?: number;
|
|
32
32
|
productId?: number;
|
|
@@ -64,7 +64,7 @@ export declare function useWishlist({ params, key, }?: Options): {
|
|
|
64
64
|
}) => Promise<void>;
|
|
65
65
|
clear: () => Promise<void>;
|
|
66
66
|
fetching: import("vue").Ref<boolean>;
|
|
67
|
-
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions
|
|
67
|
+
fetch: (opts?: import("nuxt/dist/app/composables/asyncData").AsyncDataExecuteOptions) => Promise<void>;
|
|
68
68
|
toggleItem: (item: {
|
|
69
69
|
variantId?: number;
|
|
70
70
|
productId?: number;
|
|
@@ -388,7 +388,7 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
388
388
|
tls?: boolean | undefined;
|
|
389
389
|
} | undefined;
|
|
390
390
|
}>>;
|
|
391
|
-
isDefault: z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodEffects<z.ZodString,
|
|
391
|
+
isDefault: z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodEffects<z.ZodString, "", string>]>;
|
|
392
392
|
/** @deprecated shop-specific storefront.redis config is being removed in favor of global nitro.storage config */
|
|
393
393
|
redis: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
394
394
|
port: z.ZodOptional<z.ZodNumber>;
|
|
@@ -507,7 +507,7 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
507
507
|
tls?: boolean | undefined;
|
|
508
508
|
} | undefined;
|
|
509
509
|
} | undefined;
|
|
510
|
-
isDefault?:
|
|
510
|
+
isDefault?: boolean | "" | undefined;
|
|
511
511
|
}, {
|
|
512
512
|
locale: string;
|
|
513
513
|
checkout: {
|
|
@@ -1684,7 +1684,7 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
1684
1684
|
tls?: boolean | undefined;
|
|
1685
1685
|
} | undefined;
|
|
1686
1686
|
}>>;
|
|
1687
|
-
isDefault: z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodEffects<z.ZodString,
|
|
1687
|
+
isDefault: z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodEffects<z.ZodString, "", string>]>;
|
|
1688
1688
|
/** @deprecated shop-specific storefront.redis config is being removed in favor of global nitro.storage config */
|
|
1689
1689
|
redis: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
1690
1690
|
port: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1803,7 +1803,7 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
1803
1803
|
tls?: boolean | undefined;
|
|
1804
1804
|
} | undefined;
|
|
1805
1805
|
} | undefined;
|
|
1806
|
-
isDefault?:
|
|
1806
|
+
isDefault?: boolean | "" | undefined;
|
|
1807
1807
|
}, {
|
|
1808
1808
|
locale: string;
|
|
1809
1809
|
checkout: {
|
|
@@ -1978,7 +1978,7 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
1978
1978
|
tls?: boolean | undefined;
|
|
1979
1979
|
} | undefined;
|
|
1980
1980
|
} | undefined;
|
|
1981
|
-
isDefault?:
|
|
1981
|
+
isDefault?: boolean | "" | undefined;
|
|
1982
1982
|
}>;
|
|
1983
1983
|
redirects?: {
|
|
1984
1984
|
enabled: boolean;
|
|
@@ -2269,7 +2269,7 @@ export declare const RuntimeConfigSchema: z.ZodObject<{
|
|
|
2269
2269
|
tls?: boolean | undefined;
|
|
2270
2270
|
} | undefined;
|
|
2271
2271
|
} | undefined;
|
|
2272
|
-
isDefault?:
|
|
2272
|
+
isDefault?: boolean | "" | undefined;
|
|
2273
2273
|
}>;
|
|
2274
2274
|
redirects?: {
|
|
2275
2275
|
enabled: boolean;
|
|
@@ -392,7 +392,7 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
392
392
|
ttl?: number | undefined;
|
|
393
393
|
} | undefined;
|
|
394
394
|
}>>;
|
|
395
|
-
isDefault: z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodEffects<z.ZodString,
|
|
395
|
+
isDefault: z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodEffects<z.ZodString, "", string>]>;
|
|
396
396
|
/** @deprecated shop-specific storefront.redis config is being removed in favor of global nitro.storage config */
|
|
397
397
|
redis: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
398
398
|
port: z.ZodOptional<z.ZodNumber>;
|
|
@@ -511,7 +511,7 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
511
511
|
ttl?: number | undefined;
|
|
512
512
|
} | undefined;
|
|
513
513
|
} | undefined;
|
|
514
|
-
isDefault?:
|
|
514
|
+
isDefault?: boolean | "" | undefined;
|
|
515
515
|
}, {
|
|
516
516
|
shopId: number;
|
|
517
517
|
locale: string;
|
|
@@ -392,7 +392,7 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
392
392
|
ttl?: number | undefined;
|
|
393
393
|
} | undefined;
|
|
394
394
|
}>>;
|
|
395
|
-
isDefault: z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodEffects<z.ZodString,
|
|
395
|
+
isDefault: z.ZodUnion<[z.ZodOptional<z.ZodBoolean>, z.ZodEffects<z.ZodString, "", string>]>;
|
|
396
396
|
/** @deprecated shop-specific storefront.redis config is being removed in favor of global nitro.storage config */
|
|
397
397
|
redis: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
398
398
|
port: z.ZodOptional<z.ZodNumber>;
|
|
@@ -511,7 +511,7 @@ declare const ShopConfigSchema: z.ZodObject<{
|
|
|
511
511
|
ttl?: number | undefined;
|
|
512
512
|
} | undefined;
|
|
513
513
|
} | undefined;
|
|
514
|
-
isDefault?:
|
|
514
|
+
isDefault?: boolean | "" | undefined;
|
|
515
515
|
}, {
|
|
516
516
|
shopId: number;
|
|
517
517
|
locale: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scayle/storefront-nuxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.77.
|
|
4
|
+
"version": "7.77.3",
|
|
5
5
|
"description": "Nuxt integration for the SCAYLE Commerce Engine and Storefront API",
|
|
6
6
|
"author": "SCAYLE Commerce Engine",
|
|
7
7
|
"license": "MIT",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@nuxt/kit": "3.11.2",
|
|
61
61
|
"@opentelemetry/api": "1.9.0",
|
|
62
62
|
"@scayle/h3-session": "0.4.0",
|
|
63
|
-
"@scayle/storefront-core": "7.58.
|
|
63
|
+
"@scayle/storefront-core": "7.58.3",
|
|
64
64
|
"@scayle/unstorage-compression-driver": "0.1.3",
|
|
65
65
|
"@vueuse/core": "10.11.0",
|
|
66
66
|
"consola": "3.2.3",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"ufo": "1.5.3",
|
|
75
75
|
"uncrypto": "0.1.3",
|
|
76
76
|
"unstorage": "1.10.2",
|
|
77
|
-
"vue-router": "4.
|
|
77
|
+
"vue-router": "4.4.0",
|
|
78
78
|
"yn": "5.0.0",
|
|
79
79
|
"zod": "3.23.8"
|
|
80
80
|
},
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"@nuxt/test-utils": "3.13.1",
|
|
86
86
|
"@scayle/eslint-config-storefront": "4.2.0",
|
|
87
87
|
"@scayle/eslint-plugin-vue-composable": "0.2.0",
|
|
88
|
-
"@types/node": "20.14.
|
|
88
|
+
"@types/node": "20.14.9",
|
|
89
89
|
"dprint": "0.46.3",
|
|
90
90
|
"eslint": "9.5.0",
|
|
91
91
|
"eslint-formatter-gitlab": "5.1.0",
|