@reactionary/core 0.0.81 → 0.0.82
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/decorators/reactionary.decorator.js +2 -2
- package/initialization.js +0 -17
- package/package.json +1 -1
- package/providers/base.provider.js +1 -29
- package/providers/cart.provider.js +36 -3
- package/providers/inventory.provider.js +3 -2
- package/providers/order.provider.js +39 -3
- package/providers/price.provider.js +19 -12
- package/providers/product.provider.js +34 -11
- package/schemas/models/identifiers.model.js +35 -37
- package/schemas/models/identity.model.js +5 -5
- package/schemas/models/inventory.model.js +7 -5
- package/schemas/models/order.model.js +16 -16
- package/schemas/models/payment.model.js +10 -10
- package/schemas/models/price.model.js +7 -7
- package/schemas/models/product-search.model.js +15 -15
- package/schemas/models/product.model.js +32 -32
- package/schemas/models/profile.model.js +16 -16
- package/schemas/models/shipping-method.model.js +19 -19
- package/schemas/models/store.model.js +7 -4
- package/schemas/mutations/analytics.mutation.js +3 -3
- package/schemas/mutations/cart.mutation.js +19 -19
- package/schemas/mutations/checkout.mutation.js +10 -10
- package/schemas/mutations/profile.mutation.js +2 -2
- package/schemas/queries/cart.query.js +1 -1
- package/schemas/queries/category.query.js +6 -6
- package/schemas/queries/checkout.query.js +3 -3
- package/schemas/queries/inventory.query.js +3 -3
- package/schemas/queries/order.query.js +1 -1
- package/schemas/queries/price.query.js +2 -2
- package/schemas/queries/product-search.query.js +1 -1
- package/schemas/queries/product.query.js +4 -4
- package/schemas/queries/store.query.js +4 -4
- package/src/providers/analytics.provider.d.ts +1 -2
- package/src/providers/base.provider.d.ts +3 -22
- package/src/providers/cart.provider.d.ts +10 -10
- package/src/providers/category.provider.d.ts +7 -7
- package/src/providers/checkout.provider.d.ts +8 -8
- package/src/providers/identity.provider.d.ts +5 -5
- package/src/providers/inventory.provider.d.ts +3 -3
- package/src/providers/order.provider.d.ts +6 -6
- package/src/providers/price.provider.d.ts +5 -5
- package/src/providers/product-search.provider.d.ts +2 -2
- package/src/providers/product.provider.d.ts +5 -12
- package/src/providers/profile.provider.d.ts +3 -3
- package/src/providers/store.provider.d.ts +2 -2
- package/src/schemas/capabilities.schema.d.ts +2 -1
- package/src/schemas/models/analytics.model.d.ts +2 -1
- package/src/schemas/models/base.model.d.ts +6 -5
- package/src/schemas/models/cart.model.d.ts +53 -52
- package/src/schemas/models/category.model.d.ts +7 -6
- package/src/schemas/models/checkout.model.d.ts +94 -93
- package/src/schemas/models/cost.model.d.ts +33 -32
- package/src/schemas/models/currency.model.d.ts +2 -1
- package/src/schemas/models/identifiers.model.d.ts +80 -79
- package/src/schemas/models/identity.model.d.ts +23 -22
- package/src/schemas/models/inventory.model.d.ts +21 -12
- package/src/schemas/models/order.model.d.ts +140 -137
- package/src/schemas/models/payment.model.d.ts +31 -30
- package/src/schemas/models/price.model.d.ts +31 -30
- package/src/schemas/models/product-search.model.d.ts +118 -117
- package/src/schemas/models/product.model.d.ts +137 -136
- package/src/schemas/models/profile.model.d.ts +50 -49
- package/src/schemas/models/shipping-method.model.d.ts +42 -41
- package/src/schemas/models/store.model.d.ts +9 -8
- package/src/schemas/mutations/analytics.mutation.d.ts +48 -47
- package/src/schemas/mutations/base.mutation.d.ts +2 -1
- package/src/schemas/mutations/cart.mutation.d.ts +73 -72
- package/src/schemas/mutations/checkout.mutation.d.ts +96 -95
- package/src/schemas/mutations/identity.mutation.d.ts +4 -3
- package/src/schemas/mutations/profile.mutation.d.ts +4 -3
- package/src/schemas/queries/base.query.d.ts +2 -1
- package/src/schemas/queries/cart.query.d.ts +7 -7
- package/src/schemas/queries/category.query.d.ts +20 -19
- package/src/schemas/queries/checkout.query.d.ts +7 -6
- package/src/schemas/queries/identity.query.d.ts +2 -1
- package/src/schemas/queries/inventory.query.d.ts +8 -7
- package/src/schemas/queries/order.query.d.ts +3 -2
- package/src/schemas/queries/price.query.d.ts +5 -4
- package/src/schemas/queries/product-search.query.d.ts +12 -11
- package/src/schemas/queries/product.query.d.ts +14 -13
- package/src/schemas/queries/profile.query.d.ts +2 -1
- package/src/schemas/queries/store.query.d.ts +6 -5
- package/src/schemas/session.schema.d.ts +1 -1
- package/src/zod-utils.d.ts +5 -0
- package/zod-utils.js +0 -0
|
@@ -1,85 +1,86 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import type { InferType } from '../../zod-utils.js';
|
|
2
3
|
export declare const AnalyticsMutationSearchEventSchema: z.ZodObject<{
|
|
3
4
|
mutation: z.ZodLiteral<"search">;
|
|
4
5
|
search: z.ZodObject<{
|
|
5
|
-
term: z.
|
|
6
|
-
facets: z.
|
|
7
|
-
facet: z.
|
|
8
|
-
key: z.
|
|
9
|
-
}, z.core.$loose
|
|
10
|
-
key: z.
|
|
11
|
-
}, z.core.$strip
|
|
12
|
-
filters: z.
|
|
13
|
-
paginationOptions: z.
|
|
6
|
+
term: z.ZodString;
|
|
7
|
+
facets: z.ZodArray<z.ZodObject<{
|
|
8
|
+
facet: z.ZodObject<{
|
|
9
|
+
key: z.ZodString;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
key: z.ZodString;
|
|
12
|
+
}, z.core.$strip>>;
|
|
13
|
+
filters: z.ZodArray<z.ZodString>;
|
|
14
|
+
paginationOptions: z.ZodObject<{
|
|
14
15
|
pageNumber: z.ZodDefault<z.ZodNumber>;
|
|
15
16
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
|
16
|
-
}, z.core.$loose
|
|
17
|
+
}, z.core.$loose>;
|
|
17
18
|
}, z.core.$loose>;
|
|
18
19
|
products: z.ZodArray<z.ZodObject<{
|
|
19
|
-
key: z.
|
|
20
|
+
key: z.ZodString;
|
|
20
21
|
}, z.core.$loose>>;
|
|
21
22
|
}, z.core.$loose>;
|
|
22
23
|
export declare const AnalyticsMutationSearchProductClickEventSchema: z.ZodObject<{
|
|
23
24
|
mutation: z.ZodLiteral<"product-search-click">;
|
|
24
25
|
search: z.ZodObject<{
|
|
25
|
-
term: z.
|
|
26
|
-
facets: z.
|
|
27
|
-
facet: z.
|
|
28
|
-
key: z.
|
|
29
|
-
}, z.core.$loose
|
|
30
|
-
key: z.
|
|
31
|
-
}, z.core.$strip
|
|
32
|
-
filters: z.
|
|
33
|
-
paginationOptions: z.
|
|
26
|
+
term: z.ZodString;
|
|
27
|
+
facets: z.ZodArray<z.ZodObject<{
|
|
28
|
+
facet: z.ZodObject<{
|
|
29
|
+
key: z.ZodString;
|
|
30
|
+
}, z.core.$loose>;
|
|
31
|
+
key: z.ZodString;
|
|
32
|
+
}, z.core.$strip>>;
|
|
33
|
+
filters: z.ZodArray<z.ZodString>;
|
|
34
|
+
paginationOptions: z.ZodObject<{
|
|
34
35
|
pageNumber: z.ZodDefault<z.ZodNumber>;
|
|
35
36
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
|
36
|
-
}, z.core.$loose
|
|
37
|
+
}, z.core.$loose>;
|
|
37
38
|
}, z.core.$loose>;
|
|
38
39
|
product: z.ZodObject<{
|
|
39
|
-
key: z.
|
|
40
|
+
key: z.ZodString;
|
|
40
41
|
}, z.core.$loose>;
|
|
41
42
|
position: z.ZodNumber;
|
|
42
43
|
}, z.core.$loose>;
|
|
43
44
|
export declare const AnalyticsMutationSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
44
45
|
mutation: z.ZodLiteral<"search">;
|
|
45
46
|
search: z.ZodObject<{
|
|
46
|
-
term: z.
|
|
47
|
-
facets: z.
|
|
48
|
-
facet: z.
|
|
49
|
-
key: z.
|
|
50
|
-
}, z.core.$loose
|
|
51
|
-
key: z.
|
|
52
|
-
}, z.core.$strip
|
|
53
|
-
filters: z.
|
|
54
|
-
paginationOptions: z.
|
|
47
|
+
term: z.ZodString;
|
|
48
|
+
facets: z.ZodArray<z.ZodObject<{
|
|
49
|
+
facet: z.ZodObject<{
|
|
50
|
+
key: z.ZodString;
|
|
51
|
+
}, z.core.$loose>;
|
|
52
|
+
key: z.ZodString;
|
|
53
|
+
}, z.core.$strip>>;
|
|
54
|
+
filters: z.ZodArray<z.ZodString>;
|
|
55
|
+
paginationOptions: z.ZodObject<{
|
|
55
56
|
pageNumber: z.ZodDefault<z.ZodNumber>;
|
|
56
57
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
|
57
|
-
}, z.core.$loose
|
|
58
|
+
}, z.core.$loose>;
|
|
58
59
|
}, z.core.$loose>;
|
|
59
60
|
products: z.ZodArray<z.ZodObject<{
|
|
60
|
-
key: z.
|
|
61
|
+
key: z.ZodString;
|
|
61
62
|
}, z.core.$loose>>;
|
|
62
63
|
}, z.core.$loose>, z.ZodObject<{
|
|
63
64
|
mutation: z.ZodLiteral<"product-search-click">;
|
|
64
65
|
search: z.ZodObject<{
|
|
65
|
-
term: z.
|
|
66
|
-
facets: z.
|
|
67
|
-
facet: z.
|
|
68
|
-
key: z.
|
|
69
|
-
}, z.core.$loose
|
|
70
|
-
key: z.
|
|
71
|
-
}, z.core.$strip
|
|
72
|
-
filters: z.
|
|
73
|
-
paginationOptions: z.
|
|
66
|
+
term: z.ZodString;
|
|
67
|
+
facets: z.ZodArray<z.ZodObject<{
|
|
68
|
+
facet: z.ZodObject<{
|
|
69
|
+
key: z.ZodString;
|
|
70
|
+
}, z.core.$loose>;
|
|
71
|
+
key: z.ZodString;
|
|
72
|
+
}, z.core.$strip>>;
|
|
73
|
+
filters: z.ZodArray<z.ZodString>;
|
|
74
|
+
paginationOptions: z.ZodObject<{
|
|
74
75
|
pageNumber: z.ZodDefault<z.ZodNumber>;
|
|
75
76
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
|
76
|
-
}, z.core.$loose
|
|
77
|
+
}, z.core.$loose>;
|
|
77
78
|
}, z.core.$loose>;
|
|
78
79
|
product: z.ZodObject<{
|
|
79
|
-
key: z.
|
|
80
|
+
key: z.ZodString;
|
|
80
81
|
}, z.core.$loose>;
|
|
81
82
|
position: z.ZodNumber;
|
|
82
83
|
}, z.core.$loose>]>;
|
|
83
|
-
export type AnalyticsMutation =
|
|
84
|
-
export type AnalyticsMutationSearchEvent =
|
|
85
|
-
export type AnalyticsMutationSearchProductClickEvent =
|
|
84
|
+
export type AnalyticsMutation = InferType<typeof AnalyticsMutationSchema>;
|
|
85
|
+
export type AnalyticsMutationSearchEvent = InferType<typeof AnalyticsMutationSearchEventSchema>;
|
|
86
|
+
export type AnalyticsMutationSearchProductClickEvent = InferType<typeof AnalyticsMutationSearchProductClickEventSchema>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import type { InferType } from '../../zod-utils.js';
|
|
2
3
|
export declare const BaseMutationSchema: z.ZodObject<{}, z.core.$loose>;
|
|
3
|
-
export type BaseMutation =
|
|
4
|
+
export type BaseMutation = InferType<typeof BaseMutationSchema>;
|
|
@@ -1,41 +1,42 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import type { InferType } from '../../zod-utils.js';
|
|
2
3
|
export declare const CartMutationItemAddSchema: z.ZodObject<{
|
|
3
|
-
cart: z.
|
|
4
|
-
key: z.
|
|
5
|
-
}, z.core.$loose
|
|
6
|
-
variant: z.
|
|
7
|
-
sku: z.
|
|
8
|
-
}, z.core.$loose
|
|
4
|
+
cart: z.ZodObject<{
|
|
5
|
+
key: z.ZodString;
|
|
6
|
+
}, z.core.$loose>;
|
|
7
|
+
variant: z.ZodObject<{
|
|
8
|
+
sku: z.ZodString;
|
|
9
|
+
}, z.core.$loose>;
|
|
9
10
|
quantity: z.ZodNumber;
|
|
10
11
|
}, z.core.$loose>;
|
|
11
12
|
export declare const CartMutationItemRemoveSchema: z.ZodObject<{
|
|
12
|
-
cart: z.
|
|
13
|
-
key: z.
|
|
14
|
-
}, z.core.$loose
|
|
15
|
-
item: z.
|
|
16
|
-
key: z.
|
|
17
|
-
}, z.core.$loose
|
|
13
|
+
cart: z.ZodObject<{
|
|
14
|
+
key: z.ZodString;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
|
+
item: z.ZodObject<{
|
|
17
|
+
key: z.ZodString;
|
|
18
|
+
}, z.core.$loose>;
|
|
18
19
|
}, z.core.$loose>;
|
|
19
20
|
export declare const CartMutationItemQuantityChangeSchema: z.ZodObject<{
|
|
20
|
-
cart: z.
|
|
21
|
-
key: z.
|
|
22
|
-
}, z.core.$loose
|
|
23
|
-
item: z.
|
|
24
|
-
key: z.
|
|
25
|
-
}, z.core.$loose
|
|
21
|
+
cart: z.ZodObject<{
|
|
22
|
+
key: z.ZodString;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
item: z.ZodObject<{
|
|
25
|
+
key: z.ZodString;
|
|
26
|
+
}, z.core.$loose>;
|
|
26
27
|
quantity: z.ZodNumber;
|
|
27
28
|
}, z.core.$loose>;
|
|
28
29
|
export declare const CartMutationDeleteCartSchema: z.ZodObject<{
|
|
29
30
|
cart: z.ZodObject<{
|
|
30
|
-
key: z.
|
|
31
|
+
key: z.ZodString;
|
|
31
32
|
}, z.core.$loose>;
|
|
32
33
|
}, z.core.$loose>;
|
|
33
34
|
export declare const CartMutationSetShippingInfoSchema: z.ZodObject<{
|
|
34
35
|
cart: z.ZodObject<{
|
|
35
|
-
key: z.
|
|
36
|
+
key: z.ZodString;
|
|
36
37
|
}, z.core.$loose>;
|
|
37
38
|
shippingMethod: z.ZodOptional<z.ZodObject<{
|
|
38
|
-
key: z.
|
|
39
|
+
key: z.ZodString;
|
|
39
40
|
}, z.core.$loose>>;
|
|
40
41
|
shippingAddress: z.ZodOptional<z.ZodObject<{
|
|
41
42
|
meta: z.ZodDefault<z.ZodObject<{
|
|
@@ -46,74 +47,74 @@ export declare const CartMutationSetShippingInfoSchema: z.ZodObject<{
|
|
|
46
47
|
placeholder: z.ZodDefault<z.ZodBoolean>;
|
|
47
48
|
}, z.core.$loose>>;
|
|
48
49
|
identifier: z.ZodDefault<z.ZodObject<{
|
|
49
|
-
nickName: z.
|
|
50
|
+
nickName: z.ZodString;
|
|
50
51
|
}, z.core.$loose>>;
|
|
51
|
-
firstName: z.
|
|
52
|
-
lastName: z.
|
|
53
|
-
streetAddress: z.
|
|
54
|
-
streetNumber: z.
|
|
55
|
-
city: z.
|
|
56
|
-
region: z.
|
|
57
|
-
postalCode: z.
|
|
58
|
-
countryCode: z.
|
|
52
|
+
firstName: z.ZodString;
|
|
53
|
+
lastName: z.ZodString;
|
|
54
|
+
streetAddress: z.ZodString;
|
|
55
|
+
streetNumber: z.ZodString;
|
|
56
|
+
city: z.ZodString;
|
|
57
|
+
region: z.ZodString;
|
|
58
|
+
postalCode: z.ZodString;
|
|
59
|
+
countryCode: z.ZodString;
|
|
59
60
|
}, z.core.$loose>>;
|
|
60
61
|
}, z.core.$loose>;
|
|
61
62
|
export declare const CartMutationSetBillingAddressSchema: z.ZodObject<{
|
|
62
63
|
cart: z.ZodObject<{
|
|
63
|
-
key: z.
|
|
64
|
+
key: z.ZodString;
|
|
64
65
|
}, z.core.$loose>;
|
|
65
66
|
billingAddress: z.ZodObject<{
|
|
66
|
-
meta: z.
|
|
67
|
+
meta: z.ZodDefault<z.ZodObject<{
|
|
67
68
|
cache: z.ZodDefault<z.ZodObject<{
|
|
68
69
|
hit: z.ZodDefault<z.ZodBoolean>;
|
|
69
70
|
key: z.ZodDefault<z.ZodString>;
|
|
70
71
|
}, z.core.$loose>>;
|
|
71
72
|
placeholder: z.ZodDefault<z.ZodBoolean>;
|
|
72
|
-
}, z.core.$loose
|
|
73
|
-
identifier: z.
|
|
74
|
-
nickName: z.
|
|
75
|
-
}, z.core.$loose
|
|
76
|
-
firstName: z.
|
|
77
|
-
lastName: z.
|
|
78
|
-
streetAddress: z.
|
|
79
|
-
streetNumber: z.
|
|
80
|
-
city: z.
|
|
81
|
-
region: z.
|
|
82
|
-
postalCode: z.
|
|
83
|
-
countryCode: z.
|
|
73
|
+
}, z.core.$loose>>;
|
|
74
|
+
identifier: z.ZodDefault<z.ZodObject<{
|
|
75
|
+
nickName: z.ZodString;
|
|
76
|
+
}, z.core.$loose>>;
|
|
77
|
+
firstName: z.ZodString;
|
|
78
|
+
lastName: z.ZodString;
|
|
79
|
+
streetAddress: z.ZodString;
|
|
80
|
+
streetNumber: z.ZodString;
|
|
81
|
+
city: z.ZodString;
|
|
82
|
+
region: z.ZodString;
|
|
83
|
+
postalCode: z.ZodString;
|
|
84
|
+
countryCode: z.ZodString;
|
|
84
85
|
}, z.core.$loose>;
|
|
85
86
|
notificationEmailAddress: z.ZodOptional<z.ZodString>;
|
|
86
87
|
notificationPhoneNumber: z.ZodOptional<z.ZodString>;
|
|
87
88
|
}, z.core.$loose>;
|
|
88
89
|
export declare const CartMutationApplyCouponSchema: z.ZodObject<{
|
|
89
90
|
cart: z.ZodObject<{
|
|
90
|
-
key: z.
|
|
91
|
+
key: z.ZodString;
|
|
91
92
|
}, z.core.$loose>;
|
|
92
|
-
couponCode: z.
|
|
93
|
+
couponCode: z.ZodString;
|
|
93
94
|
}, z.core.$loose>;
|
|
94
95
|
export declare const CartMutationRemoveCouponSchema: z.ZodObject<{
|
|
95
96
|
cart: z.ZodObject<{
|
|
96
|
-
key: z.
|
|
97
|
+
key: z.ZodString;
|
|
97
98
|
}, z.core.$loose>;
|
|
98
|
-
couponCode: z.
|
|
99
|
+
couponCode: z.ZodString;
|
|
99
100
|
}, z.core.$loose>;
|
|
100
101
|
export declare const CartMutationCheckoutSchema: z.ZodObject<{
|
|
101
102
|
cart: z.ZodObject<{
|
|
102
|
-
key: z.
|
|
103
|
+
key: z.ZodString;
|
|
103
104
|
}, z.core.$loose>;
|
|
104
105
|
}, z.core.$loose>;
|
|
105
106
|
export declare const CartMutationAddPaymentMethodSchema: z.ZodObject<{
|
|
106
107
|
cart: z.ZodObject<{
|
|
107
|
-
key: z.
|
|
108
|
+
key: z.ZodString;
|
|
108
109
|
}, z.core.$loose>;
|
|
109
110
|
paymentMethodId: z.ZodObject<{
|
|
110
|
-
method: z.
|
|
111
|
-
name: z.
|
|
112
|
-
paymentProcessor: z.
|
|
111
|
+
method: z.ZodString;
|
|
112
|
+
name: z.ZodString;
|
|
113
|
+
paymentProcessor: z.ZodString;
|
|
113
114
|
}, z.core.$loose>;
|
|
114
115
|
amount: z.ZodOptional<z.ZodObject<{
|
|
115
|
-
value: z.
|
|
116
|
-
currency: z.
|
|
116
|
+
value: z.ZodNumber;
|
|
117
|
+
currency: z.ZodEnum<{
|
|
117
118
|
AED: "AED";
|
|
118
119
|
AFN: "AFN";
|
|
119
120
|
ALL: "ALL";
|
|
@@ -295,19 +296,19 @@ export declare const CartMutationAddPaymentMethodSchema: z.ZodObject<{
|
|
|
295
296
|
ZAR: "ZAR";
|
|
296
297
|
ZMW: "ZMW";
|
|
297
298
|
ZWL: "ZWL";
|
|
298
|
-
}
|
|
299
|
+
}>;
|
|
299
300
|
}, z.core.$loose>>;
|
|
300
301
|
}, z.core.$loose>;
|
|
301
302
|
export declare const CartMutationRemovePaymentMethodSchema: z.ZodObject<{
|
|
302
303
|
cart: z.ZodObject<{
|
|
303
|
-
key: z.
|
|
304
|
+
key: z.ZodString;
|
|
304
305
|
}, z.core.$loose>;
|
|
305
306
|
}, z.core.$loose>;
|
|
306
307
|
export declare const CartMutationChangeCurrencySchema: z.ZodObject<{
|
|
307
308
|
cart: z.ZodObject<{
|
|
308
|
-
key: z.ZodNonOptional<z.
|
|
309
|
+
key: z.ZodNonOptional<z.ZodString>;
|
|
309
310
|
}, z.core.$loose>;
|
|
310
|
-
newCurrency: z.
|
|
311
|
+
newCurrency: z.ZodEnum<{
|
|
311
312
|
AED: "AED";
|
|
312
313
|
AFN: "AFN";
|
|
313
314
|
ALL: "ALL";
|
|
@@ -489,17 +490,17 @@ export declare const CartMutationChangeCurrencySchema: z.ZodObject<{
|
|
|
489
490
|
ZAR: "ZAR";
|
|
490
491
|
ZMW: "ZMW";
|
|
491
492
|
ZWL: "ZWL";
|
|
492
|
-
}
|
|
493
|
+
}>;
|
|
493
494
|
}, z.core.$loose>;
|
|
494
|
-
export type CartMutationChangeCurrency =
|
|
495
|
-
export type CartMutationAddPaymentMethod =
|
|
496
|
-
export type CartMutationRemovePaymentMethod =
|
|
497
|
-
export type CartMutationCheckout =
|
|
498
|
-
export type CartMutationItemAdd =
|
|
499
|
-
export type CartMutationItemRemove =
|
|
500
|
-
export type CartMutationItemQuantityChange =
|
|
501
|
-
export type CartMutationDeleteCart =
|
|
502
|
-
export type CartMutationSetShippingInfo =
|
|
503
|
-
export type CartMutationSetBillingAddress =
|
|
504
|
-
export type CartMutationApplyCoupon =
|
|
505
|
-
export type CartMutationRemoveCoupon =
|
|
495
|
+
export type CartMutationChangeCurrency = InferType<typeof CartMutationChangeCurrencySchema>;
|
|
496
|
+
export type CartMutationAddPaymentMethod = InferType<typeof CartMutationAddPaymentMethodSchema>;
|
|
497
|
+
export type CartMutationRemovePaymentMethod = InferType<typeof CartMutationRemovePaymentMethodSchema>;
|
|
498
|
+
export type CartMutationCheckout = InferType<typeof CartMutationCheckoutSchema>;
|
|
499
|
+
export type CartMutationItemAdd = InferType<typeof CartMutationItemAddSchema>;
|
|
500
|
+
export type CartMutationItemRemove = InferType<typeof CartMutationItemRemoveSchema>;
|
|
501
|
+
export type CartMutationItemQuantityChange = InferType<typeof CartMutationItemQuantityChangeSchema>;
|
|
502
|
+
export type CartMutationDeleteCart = InferType<typeof CartMutationDeleteCartSchema>;
|
|
503
|
+
export type CartMutationSetShippingInfo = InferType<typeof CartMutationSetShippingInfoSchema>;
|
|
504
|
+
export type CartMutationSetBillingAddress = InferType<typeof CartMutationSetBillingAddressSchema>;
|
|
505
|
+
export type CartMutationApplyCoupon = InferType<typeof CartMutationApplyCouponSchema>;
|
|
506
|
+
export type CartMutationRemoveCoupon = InferType<typeof CartMutationRemoveCouponSchema>;
|