@teamnovu/kit-shopware-composables 0.0.3 → 0.0.4
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/api-types/storeApiSchema.localhost.http +1 -1
- package/dist/helpers/checkout/index.d.ts +5 -0
- package/dist/helpers/checkout/useAddresses.d.ts +210 -0
- package/dist/helpers/checkout/useOrderDetails.d.ts +186 -0
- package/dist/helpers/checkout/useOrderPayment.d.ts +73 -0
- package/dist/helpers/checkout/usePaymentMethods.d.ts +155 -0
- package/dist/helpers/checkout/useShippingMethods.d.ts +173 -0
- package/dist/helpers/general/index.d.ts +2 -0
- package/dist/{usePagination.d.ts → helpers/general/usePagination.d.ts} +1 -1
- package/dist/{general → helpers/general}/useSeoUrl.d.ts +1 -1
- package/dist/helpers/index.d.ts +4 -0
- package/dist/helpers/product/index.d.ts +2 -0
- package/dist/helpers/product/useProductPrice.d.ts +61 -0
- package/dist/{products → helpers/product}/useProductVariantForOptions.d.ts +1 -1
- package/dist/helpers/user/index.d.ts +2 -0
- package/dist/helpers/user/useIsLoggedIn.d.ts +2 -0
- package/dist/helpers/user/useUser.d.ts +167 -0
- package/dist/index.d.ts +3 -221
- package/dist/index.mjs +851 -222
- package/dist/inject.d.ts +2 -2
- package/dist/keys.d.ts +32 -0
- package/dist/query/address/index.d.ts +3 -0
- package/dist/query/address/useCreateCustomerAddressMutation.d.ts +166 -0
- package/dist/query/address/useDeleteCustomerAddressMutation.d.ts +5 -0
- package/dist/query/address/useListAddressQuery.d.ts +48 -0
- package/dist/query/cart/index.d.ts +4 -0
- package/dist/query/cart/useAddLineItemMutation.d.ts +131 -0
- package/dist/query/cart/useReadCartQuery.d.ts +108 -0
- package/dist/query/cart/useRemoveLineItemMutation.d.ts +136 -0
- package/dist/query/cart/useUpdateLineItemMutation.d.ts +131 -0
- package/dist/query/checkout/index.d.ts +2 -0
- package/dist/query/checkout/useCheckout.d.ts +1 -0
- package/dist/query/checkout/useCreateOrderMutation.d.ts +281 -0
- package/dist/query/context/index.d.ts +2 -0
- package/dist/query/context/useReadContextQuery.d.ts +153 -0
- package/dist/query/context/useUpdateContextMutation.d.ts +60 -0
- package/dist/query/customer/index.d.ts +6 -0
- package/dist/query/customer/useChangeEmailMutation.d.ts +15 -0
- package/dist/query/customer/useChangeProfileMutation.d.ts +15 -0
- package/dist/query/customer/useLoginCustomerMutation.d.ts +30 -0
- package/dist/query/customer/useLogoutCustomerMutation.d.ts +15 -0
- package/dist/query/customer/useReadCustomerQuery.d.ts +220 -0
- package/dist/query/customer/useRegisterCustomerMutation.d.ts +266 -0
- package/dist/query/index.d.ts +10 -0
- package/dist/query/order/index.d.ts +1 -0
- package/dist/query/order/useReadOrderQuery.d.ts +44 -0
- package/dist/query/payment/index.d.ts +3 -0
- package/dist/query/payment/useHandlePaymentMutation.d.ts +15 -0
- package/dist/query/payment/useOrderSetPaymentMutation.d.ts +15 -0
- package/dist/query/payment/useReadPaymentMethodQuery.d.ts +31 -0
- package/dist/query/products/index.d.ts +3 -0
- package/dist/query/products/useReadCategoryListQuery.d.ts +48 -0
- package/dist/query/products/useReadCompactProductListingQuery.d.ts +35 -0
- package/dist/query/products/useReadCustomProductDetailQuery.d.ts +67 -0
- package/dist/query/shipping/index.d.ts +1 -0
- package/dist/query/shipping/useReadShippingMethodQuery.d.ts +55 -0
- package/dist/query/types/index.d.ts +2 -0
- package/dist/query/types/operations.d.ts +5 -0
- package/dist/query/types/query.d.ts +17 -0
- package/dist/util/index.d.ts +3 -0
- package/dist/util/unrefOptions.d.ts +4 -0
- package/dist/util/useOptimistic.d.ts +12 -0
- package/docs/index.md +457 -0
- package/docs/info.json +3 -0
- package/package.json +5 -1
- package/src/helpers/checkout/index.ts +5 -0
- package/src/helpers/checkout/useAddresses.ts +57 -0
- package/src/helpers/checkout/useOrderDetails.ts +94 -0
- package/src/helpers/checkout/useOrderPayment.ts +28 -0
- package/src/helpers/checkout/usePaymentMethods.ts +35 -0
- package/src/helpers/checkout/useShippingMethods.ts +35 -0
- package/src/helpers/general/index.ts +2 -0
- package/src/helpers/index.ts +4 -0
- package/src/helpers/product/index.ts +2 -0
- package/src/{products → helpers/product}/useProductPrice.ts +1 -43
- package/src/helpers/user/index.ts +2 -0
- package/src/helpers/user/useIsLoggedIn.ts +10 -0
- package/src/helpers/user/useUser.ts +53 -0
- package/src/index.ts +4 -29
- package/src/inject.ts +3 -3
- package/src/keys.ts +57 -0
- package/src/query/address/index.ts +3 -0
- package/src/query/address/useCreateCustomerAddressMutation.ts +32 -0
- package/src/query/address/useDeleteCustomerAddressMutation.ts +32 -0
- package/src/query/address/useListAddressQuery.ts +29 -0
- package/src/query/cart/index.ts +4 -0
- package/src/query/cart/useAddLineItemMutation.ts +45 -0
- package/src/query/cart/useReadCartQuery.ts +28 -0
- package/src/query/cart/useRemoveLineItemMutation.ts +32 -0
- package/src/query/cart/useUpdateLineItemMutation.ts +45 -0
- package/src/query/checkout/index.ts +2 -0
- package/src/query/checkout/useCheckout.ts +2 -0
- package/src/query/checkout/useCreateOrderMutation.ts +35 -0
- package/src/query/context/index.ts +2 -0
- package/src/query/context/useReadContextQuery.ts +19 -0
- package/src/query/context/useUpdateContextMutation.ts +36 -0
- package/src/query/customer/index.ts +6 -0
- package/src/query/customer/useChangeEmailMutation.ts +32 -0
- package/src/query/customer/useChangeProfileMutation.ts +32 -0
- package/src/query/customer/useLoginCustomerMutation.ts +42 -0
- package/src/query/customer/useLogoutCustomerMutation.ts +32 -0
- package/src/query/customer/useReadCustomerQuery.ts +27 -0
- package/src/query/customer/useRegisterCustomerMutation.ts +32 -0
- package/src/query/index.ts +10 -0
- package/src/query/order/index.ts +1 -0
- package/src/query/order/useReadOrderQuery.ts +33 -0
- package/src/query/payment/index.ts +3 -0
- package/src/query/payment/useHandlePaymentMutation.ts +27 -0
- package/src/query/payment/useOrderSetPaymentMutation.ts +32 -0
- package/src/query/payment/useReadPaymentMethodQuery.ts +30 -0
- package/src/query/products/index.ts +3 -0
- package/src/query/products/useReadCategoryListQuery.ts +28 -0
- package/src/query/products/useReadCompactProductListingQuery.ts +41 -0
- package/src/query/products/useReadCustomProductDetailQuery.ts +41 -0
- package/src/query/shipping/index.ts +1 -0
- package/src/query/shipping/useReadShippingMethodQuery.ts +29 -0
- package/src/query/types/index.ts +2 -0
- package/src/query/types/operations.ts +6 -0
- package/src/query/types/query.ts +39 -0
- package/src/util/index.ts +3 -0
- package/src/util/unrefOptions.ts +19 -0
- package/src/util/useOptimistic.ts +49 -0
- package/tsconfig.json +5 -2
- package/dist/cart/useCartAddItemMutation.d.ts +0 -12
- package/dist/cart/useCartQueryOptions.d.ts +0 -9
- package/dist/cart/useCartRemoveItemMutation.d.ts +0 -7
- package/dist/cart/useCartUpdateItemMutation.d.ts +0 -12
- package/dist/context/useContextOptions.d.ts +0 -9
- package/dist/context/useContextUpdate.d.ts +0 -4
- package/dist/products/useCategoryQueryOptions.d.ts +0 -17
- package/dist/products/useProductListingQueryOptions.d.ts +0 -19
- package/dist/products/useProductListingQueryOptions.test.d.ts +0 -1
- package/dist/products/useProductPrice.d.ts +0 -49
- package/dist/products/useProductQueryOptions.d.ts +0 -19
- package/dist/types/query.d.ts +0 -7
- package/src/cart/useCartAddItemMutation.ts +0 -48
- package/src/cart/useCartQueryOptions.ts +0 -19
- package/src/cart/useCartRemoveItemMutation.ts +0 -32
- package/src/cart/useCartUpdateItemMutation.ts +0 -48
- package/src/context/useContextOptions.ts +0 -16
- package/src/context/useContextUpdate.ts +0 -16
- package/src/products/useCategoryQueryOptions.ts +0 -25
- package/src/products/useProductListingQueryOptions.test.ts +0 -24
- package/src/products/useProductListingQueryOptions.ts +0 -29
- package/src/products/useProductQueryOptions.ts +0 -29
- package/src/types/query.ts +0 -18
- /package/src/{usePagination.ts → helpers/general/usePagination.ts} +0 -0
- /package/src/{general → helpers/general}/useSeoUrl.ts +0 -0
- /package/src/{products → helpers/product}/useProductVariantForOptions.ts +0 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { UseMutationOptions, UseMutationReturnType, MutationObserverIdleResult, MutationObserverLoadingResult, MutationObserverErrorResult, MutationObserverSuccessResult } from '@tanstack/vue-query';
|
|
2
|
+
import { OperationBody, OperationResponse } from '../types/query';
|
|
3
|
+
declare const loginCustomerOperation = "loginCustomer post /account/login";
|
|
4
|
+
export declare function useLoginCustomerMutation(mutationOptions?: UseMutationOptions<OperationResponse<typeof loginCustomerOperation>, unknown, OperationBody<typeof loginCustomerOperation>>): UseMutationReturnType<{
|
|
5
|
+
redirectUrl?: string;
|
|
6
|
+
}, unknown, {
|
|
7
|
+
password: string;
|
|
8
|
+
username: string;
|
|
9
|
+
}, unknown, Omit< MutationObserverIdleResult<{
|
|
10
|
+
redirectUrl?: string;
|
|
11
|
+
}, unknown, {
|
|
12
|
+
password: string;
|
|
13
|
+
username: string;
|
|
14
|
+
}, unknown>, "mutate" | "reset"> | Omit< MutationObserverLoadingResult<{
|
|
15
|
+
redirectUrl?: string;
|
|
16
|
+
}, unknown, {
|
|
17
|
+
password: string;
|
|
18
|
+
username: string;
|
|
19
|
+
}, unknown>, "mutate" | "reset"> | Omit< MutationObserverErrorResult<{
|
|
20
|
+
redirectUrl?: string;
|
|
21
|
+
}, unknown, {
|
|
22
|
+
password: string;
|
|
23
|
+
username: string;
|
|
24
|
+
}, unknown>, "mutate" | "reset"> | Omit< MutationObserverSuccessResult<{
|
|
25
|
+
redirectUrl?: string;
|
|
26
|
+
}, unknown, {
|
|
27
|
+
password: string;
|
|
28
|
+
username: string;
|
|
29
|
+
}, unknown>, "mutate" | "reset">>;
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { UseMutationOptions, UseMutationReturnType, MutationObserverIdleResult, MutationObserverLoadingResult, MutationObserverErrorResult, MutationObserverSuccessResult } from '@tanstack/vue-query';
|
|
2
|
+
import { OperationOptions, OperationResponse } from '../types/query';
|
|
3
|
+
declare const logoutOperation = "logoutCustomer post /account/logout";
|
|
4
|
+
export declare function useLogoutCustomerMutation(mutationOptions?: UseMutationOptions<OperationResponse<typeof logoutOperation>, unknown, OperationOptions<typeof logoutOperation>>): UseMutationReturnType<{
|
|
5
|
+
redirectUrl?: string;
|
|
6
|
+
}, unknown, OperationOptions<"logoutCustomer post /account/logout">, unknown, Omit< MutationObserverIdleResult<{
|
|
7
|
+
redirectUrl?: string;
|
|
8
|
+
}, unknown, OperationOptions<"logoutCustomer post /account/logout">, unknown>, "mutate" | "reset"> | Omit< MutationObserverLoadingResult<{
|
|
9
|
+
redirectUrl?: string;
|
|
10
|
+
}, unknown, OperationOptions<"logoutCustomer post /account/logout">, unknown>, "mutate" | "reset"> | Omit< MutationObserverErrorResult<{
|
|
11
|
+
redirectUrl?: string;
|
|
12
|
+
}, unknown, OperationOptions<"logoutCustomer post /account/logout">, unknown>, "mutate" | "reset"> | Omit< MutationObserverSuccessResult<{
|
|
13
|
+
redirectUrl?: string;
|
|
14
|
+
}, unknown, OperationOptions<"logoutCustomer post /account/logout">, unknown>, "mutate" | "reset">>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import { OperationOptions } from '../types/query';
|
|
2
|
+
import { UndefinedInitialQueryOptions, UseQueryReturnType } from '@tanstack/vue-query';
|
|
3
|
+
import { components, GenericRecord } from '../../../api-types/storeApiTypes';
|
|
4
|
+
declare const readCustomer = "readCustomer post /account/customer";
|
|
5
|
+
export declare function useReadCustomerQueryOptions(options?: OperationOptions<typeof readCustomer>): UndefinedInitialQueryOptions<{
|
|
6
|
+
active?: boolean;
|
|
7
|
+
activeBillingAddress: components["schemas"]["CustomerAddress"];
|
|
8
|
+
activeShippingAddress: components["schemas"]["CustomerAddress"];
|
|
9
|
+
addresses?: components["schemas"]["CustomerAddress"][];
|
|
10
|
+
affiliateCode?: string;
|
|
11
|
+
apiAlias: "customer";
|
|
12
|
+
birthday?: string;
|
|
13
|
+
campaignCode?: string;
|
|
14
|
+
readonly createdAt?: string;
|
|
15
|
+
createdById?: string;
|
|
16
|
+
customerNumber: string;
|
|
17
|
+
customFields?: GenericRecord;
|
|
18
|
+
defaultBillingAddress?: components["schemas"]["CustomerAddress"];
|
|
19
|
+
defaultBillingAddressId: string;
|
|
20
|
+
defaultShippingAddress?: components["schemas"]["CustomerAddress"];
|
|
21
|
+
defaultShippingAddressId: string;
|
|
22
|
+
doubleOptInConfirmDate?: string;
|
|
23
|
+
doubleOptInEmailSentDate?: string;
|
|
24
|
+
doubleOptInRegistration?: boolean;
|
|
25
|
+
email: string;
|
|
26
|
+
firstLogin?: string;
|
|
27
|
+
firstName: string;
|
|
28
|
+
group?: components["schemas"]["CustomerGroup"];
|
|
29
|
+
groupId: string;
|
|
30
|
+
guest?: boolean;
|
|
31
|
+
hash?: string;
|
|
32
|
+
id: string;
|
|
33
|
+
language?: components["schemas"]["Language"];
|
|
34
|
+
languageId: string;
|
|
35
|
+
lastLogin?: string;
|
|
36
|
+
lastName: string;
|
|
37
|
+
readonly lastOrderDate?: string;
|
|
38
|
+
lastPaymentMethod?: components["schemas"]["PaymentMethod"];
|
|
39
|
+
lastPaymentMethodId?: string;
|
|
40
|
+
readonly orderCount?: number;
|
|
41
|
+
readonly orderTotalAmount?: number;
|
|
42
|
+
readonly reviewCount?: number;
|
|
43
|
+
salesChannelId: string;
|
|
44
|
+
salutation?: components["schemas"]["Salutation"];
|
|
45
|
+
salutationId?: string;
|
|
46
|
+
readonly tagIds?: string[];
|
|
47
|
+
tags?: components["schemas"]["Tag"][];
|
|
48
|
+
title?: string;
|
|
49
|
+
readonly updatedAt?: string;
|
|
50
|
+
updatedById?: string;
|
|
51
|
+
} & ({
|
|
52
|
+
accountType: "private";
|
|
53
|
+
} | {
|
|
54
|
+
accountType: "business";
|
|
55
|
+
company: string;
|
|
56
|
+
vatIds: [string, ...string[]];
|
|
57
|
+
}), Error, {
|
|
58
|
+
active?: boolean;
|
|
59
|
+
activeBillingAddress: components["schemas"]["CustomerAddress"];
|
|
60
|
+
activeShippingAddress: components["schemas"]["CustomerAddress"];
|
|
61
|
+
addresses?: components["schemas"]["CustomerAddress"][];
|
|
62
|
+
affiliateCode?: string;
|
|
63
|
+
apiAlias: "customer";
|
|
64
|
+
birthday?: string;
|
|
65
|
+
campaignCode?: string;
|
|
66
|
+
readonly createdAt?: string;
|
|
67
|
+
createdById?: string;
|
|
68
|
+
customerNumber: string;
|
|
69
|
+
customFields?: GenericRecord;
|
|
70
|
+
defaultBillingAddress?: components["schemas"]["CustomerAddress"];
|
|
71
|
+
defaultBillingAddressId: string;
|
|
72
|
+
defaultShippingAddress?: components["schemas"]["CustomerAddress"];
|
|
73
|
+
defaultShippingAddressId: string;
|
|
74
|
+
doubleOptInConfirmDate?: string;
|
|
75
|
+
doubleOptInEmailSentDate?: string;
|
|
76
|
+
doubleOptInRegistration?: boolean;
|
|
77
|
+
email: string;
|
|
78
|
+
firstLogin?: string;
|
|
79
|
+
firstName: string;
|
|
80
|
+
group?: components["schemas"]["CustomerGroup"];
|
|
81
|
+
groupId: string;
|
|
82
|
+
guest?: boolean;
|
|
83
|
+
hash?: string;
|
|
84
|
+
id: string;
|
|
85
|
+
language?: components["schemas"]["Language"];
|
|
86
|
+
languageId: string;
|
|
87
|
+
lastLogin?: string;
|
|
88
|
+
lastName: string;
|
|
89
|
+
readonly lastOrderDate?: string;
|
|
90
|
+
lastPaymentMethod?: components["schemas"]["PaymentMethod"];
|
|
91
|
+
lastPaymentMethodId?: string;
|
|
92
|
+
readonly orderCount?: number;
|
|
93
|
+
readonly orderTotalAmount?: number;
|
|
94
|
+
readonly reviewCount?: number;
|
|
95
|
+
salesChannelId: string;
|
|
96
|
+
salutation?: components["schemas"]["Salutation"];
|
|
97
|
+
salutationId?: string;
|
|
98
|
+
readonly tagIds?: string[];
|
|
99
|
+
tags?: components["schemas"]["Tag"][];
|
|
100
|
+
title?: string;
|
|
101
|
+
readonly updatedAt?: string;
|
|
102
|
+
updatedById?: string;
|
|
103
|
+
} & ({
|
|
104
|
+
accountType: "private";
|
|
105
|
+
} | {
|
|
106
|
+
accountType: "business";
|
|
107
|
+
company: string;
|
|
108
|
+
vatIds: [string, ...string[]];
|
|
109
|
+
}), readonly ["customer"]> & {
|
|
110
|
+
queryKey: readonly ["customer"] & {
|
|
111
|
+
[dataTagSymbol]: {
|
|
112
|
+
active?: boolean;
|
|
113
|
+
activeBillingAddress: components["schemas"]["CustomerAddress"];
|
|
114
|
+
activeShippingAddress: components["schemas"]["CustomerAddress"];
|
|
115
|
+
addresses?: components["schemas"]["CustomerAddress"][];
|
|
116
|
+
affiliateCode?: string;
|
|
117
|
+
apiAlias: "customer";
|
|
118
|
+
birthday?: string;
|
|
119
|
+
campaignCode?: string;
|
|
120
|
+
readonly createdAt?: string;
|
|
121
|
+
createdById?: string;
|
|
122
|
+
customerNumber: string;
|
|
123
|
+
customFields?: GenericRecord;
|
|
124
|
+
defaultBillingAddress?: components["schemas"]["CustomerAddress"];
|
|
125
|
+
defaultBillingAddressId: string;
|
|
126
|
+
defaultShippingAddress?: components["schemas"]["CustomerAddress"];
|
|
127
|
+
defaultShippingAddressId: string;
|
|
128
|
+
doubleOptInConfirmDate?: string;
|
|
129
|
+
doubleOptInEmailSentDate?: string;
|
|
130
|
+
doubleOptInRegistration?: boolean;
|
|
131
|
+
email: string;
|
|
132
|
+
firstLogin?: string;
|
|
133
|
+
firstName: string;
|
|
134
|
+
group?: components["schemas"]["CustomerGroup"];
|
|
135
|
+
groupId: string;
|
|
136
|
+
guest?: boolean;
|
|
137
|
+
hash?: string;
|
|
138
|
+
id: string;
|
|
139
|
+
language?: components["schemas"]["Language"];
|
|
140
|
+
languageId: string;
|
|
141
|
+
lastLogin?: string;
|
|
142
|
+
lastName: string;
|
|
143
|
+
readonly lastOrderDate?: string;
|
|
144
|
+
lastPaymentMethod?: components["schemas"]["PaymentMethod"];
|
|
145
|
+
lastPaymentMethodId?: string;
|
|
146
|
+
readonly orderCount?: number;
|
|
147
|
+
readonly orderTotalAmount?: number;
|
|
148
|
+
readonly reviewCount?: number;
|
|
149
|
+
salesChannelId: string;
|
|
150
|
+
salutation?: components["schemas"]["Salutation"];
|
|
151
|
+
salutationId?: string;
|
|
152
|
+
readonly tagIds?: string[];
|
|
153
|
+
tags?: components["schemas"]["Tag"][];
|
|
154
|
+
title?: string;
|
|
155
|
+
readonly updatedAt?: string;
|
|
156
|
+
updatedById?: string;
|
|
157
|
+
} & ({
|
|
158
|
+
accountType: "private";
|
|
159
|
+
} | {
|
|
160
|
+
accountType: "business";
|
|
161
|
+
company: string;
|
|
162
|
+
vatIds: [string, ...string[]];
|
|
163
|
+
});
|
|
164
|
+
[dataTagErrorSymbol]: Error;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
export declare function useReadCustomerQuery(options?: OperationOptions<typeof readCustomer>): UseQueryReturnType<{
|
|
168
|
+
active?: boolean;
|
|
169
|
+
activeBillingAddress: components["schemas"]["CustomerAddress"];
|
|
170
|
+
activeShippingAddress: components["schemas"]["CustomerAddress"];
|
|
171
|
+
addresses?: components["schemas"]["CustomerAddress"][];
|
|
172
|
+
affiliateCode?: string;
|
|
173
|
+
apiAlias: "customer";
|
|
174
|
+
birthday?: string;
|
|
175
|
+
campaignCode?: string;
|
|
176
|
+
readonly createdAt?: string;
|
|
177
|
+
createdById?: string;
|
|
178
|
+
customerNumber: string;
|
|
179
|
+
customFields?: GenericRecord;
|
|
180
|
+
defaultBillingAddress?: components["schemas"]["CustomerAddress"];
|
|
181
|
+
defaultBillingAddressId: string;
|
|
182
|
+
defaultShippingAddress?: components["schemas"]["CustomerAddress"];
|
|
183
|
+
defaultShippingAddressId: string;
|
|
184
|
+
doubleOptInConfirmDate?: string;
|
|
185
|
+
doubleOptInEmailSentDate?: string;
|
|
186
|
+
doubleOptInRegistration?: boolean;
|
|
187
|
+
email: string;
|
|
188
|
+
firstLogin?: string;
|
|
189
|
+
firstName: string;
|
|
190
|
+
group?: components["schemas"]["CustomerGroup"];
|
|
191
|
+
groupId: string;
|
|
192
|
+
guest?: boolean;
|
|
193
|
+
hash?: string;
|
|
194
|
+
id: string;
|
|
195
|
+
language?: components["schemas"]["Language"];
|
|
196
|
+
languageId: string;
|
|
197
|
+
lastLogin?: string;
|
|
198
|
+
lastName: string;
|
|
199
|
+
readonly lastOrderDate?: string;
|
|
200
|
+
lastPaymentMethod?: components["schemas"]["PaymentMethod"];
|
|
201
|
+
lastPaymentMethodId?: string;
|
|
202
|
+
readonly orderCount?: number;
|
|
203
|
+
readonly orderTotalAmount?: number;
|
|
204
|
+
readonly reviewCount?: number;
|
|
205
|
+
salesChannelId: string;
|
|
206
|
+
salutation?: components["schemas"]["Salutation"];
|
|
207
|
+
salutationId?: string;
|
|
208
|
+
readonly tagIds?: string[];
|
|
209
|
+
tags?: components["schemas"]["Tag"][];
|
|
210
|
+
title?: string;
|
|
211
|
+
readonly updatedAt?: string;
|
|
212
|
+
updatedById?: string;
|
|
213
|
+
} & ({
|
|
214
|
+
accountType: "private";
|
|
215
|
+
} | {
|
|
216
|
+
accountType: "business";
|
|
217
|
+
company: string;
|
|
218
|
+
vatIds: [string, ...string[]];
|
|
219
|
+
}), Error>;
|
|
220
|
+
export {};
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
import { UseMutationOptions, UseMutationReturnType, MutationObserverIdleResult, MutationObserverLoadingResult, MutationObserverErrorResult, MutationObserverSuccessResult } from '@tanstack/vue-query';
|
|
2
|
+
import { OperationOptions, OperationResponse } from '../types/query';
|
|
3
|
+
import { components, GenericRecord } from '../../../api-types/storeApiTypes';
|
|
4
|
+
declare const registerOperation = "register post /account/register";
|
|
5
|
+
export declare function useRegisterCustomerMutation(mutationOptions?: UseMutationOptions<OperationResponse<typeof registerOperation>, unknown, OperationOptions<typeof registerOperation>>): UseMutationReturnType<{
|
|
6
|
+
active?: boolean;
|
|
7
|
+
activeBillingAddress: components["schemas"]["CustomerAddress"];
|
|
8
|
+
activeShippingAddress: components["schemas"]["CustomerAddress"];
|
|
9
|
+
addresses?: components["schemas"]["CustomerAddress"][];
|
|
10
|
+
affiliateCode?: string;
|
|
11
|
+
apiAlias: "customer";
|
|
12
|
+
birthday?: string;
|
|
13
|
+
campaignCode?: string;
|
|
14
|
+
readonly createdAt?: string;
|
|
15
|
+
createdById?: string;
|
|
16
|
+
customerNumber: string;
|
|
17
|
+
customFields?: GenericRecord;
|
|
18
|
+
defaultBillingAddress?: components["schemas"]["CustomerAddress"];
|
|
19
|
+
defaultBillingAddressId: string;
|
|
20
|
+
defaultShippingAddress?: components["schemas"]["CustomerAddress"];
|
|
21
|
+
defaultShippingAddressId: string;
|
|
22
|
+
doubleOptInConfirmDate?: string;
|
|
23
|
+
doubleOptInEmailSentDate?: string;
|
|
24
|
+
doubleOptInRegistration?: boolean;
|
|
25
|
+
email: string;
|
|
26
|
+
firstLogin?: string;
|
|
27
|
+
firstName: string;
|
|
28
|
+
group?: components["schemas"]["CustomerGroup"];
|
|
29
|
+
groupId: string;
|
|
30
|
+
guest?: boolean;
|
|
31
|
+
hash?: string;
|
|
32
|
+
id: string;
|
|
33
|
+
language?: components["schemas"]["Language"];
|
|
34
|
+
languageId: string;
|
|
35
|
+
lastLogin?: string;
|
|
36
|
+
lastName: string;
|
|
37
|
+
readonly lastOrderDate?: string;
|
|
38
|
+
lastPaymentMethod?: components["schemas"]["PaymentMethod"];
|
|
39
|
+
lastPaymentMethodId?: string;
|
|
40
|
+
readonly orderCount?: number;
|
|
41
|
+
readonly orderTotalAmount?: number;
|
|
42
|
+
readonly reviewCount?: number;
|
|
43
|
+
salesChannelId: string;
|
|
44
|
+
salutation?: components["schemas"]["Salutation"];
|
|
45
|
+
salutationId?: string;
|
|
46
|
+
readonly tagIds?: string[];
|
|
47
|
+
tags?: components["schemas"]["Tag"][];
|
|
48
|
+
title?: string;
|
|
49
|
+
readonly updatedAt?: string;
|
|
50
|
+
updatedById?: string;
|
|
51
|
+
} & ({
|
|
52
|
+
accountType: "private";
|
|
53
|
+
} | {
|
|
54
|
+
accountType: "business";
|
|
55
|
+
company: string;
|
|
56
|
+
vatIds: [string, ...string[]];
|
|
57
|
+
}), unknown, OperationOptions<"register post /account/register">, unknown, Omit< MutationObserverIdleResult<{
|
|
58
|
+
active?: boolean;
|
|
59
|
+
activeBillingAddress: components["schemas"]["CustomerAddress"];
|
|
60
|
+
activeShippingAddress: components["schemas"]["CustomerAddress"];
|
|
61
|
+
addresses?: components["schemas"]["CustomerAddress"][];
|
|
62
|
+
affiliateCode?: string;
|
|
63
|
+
apiAlias: "customer";
|
|
64
|
+
birthday?: string;
|
|
65
|
+
campaignCode?: string;
|
|
66
|
+
readonly createdAt?: string;
|
|
67
|
+
createdById?: string;
|
|
68
|
+
customerNumber: string;
|
|
69
|
+
customFields?: GenericRecord;
|
|
70
|
+
defaultBillingAddress?: components["schemas"]["CustomerAddress"];
|
|
71
|
+
defaultBillingAddressId: string;
|
|
72
|
+
defaultShippingAddress?: components["schemas"]["CustomerAddress"];
|
|
73
|
+
defaultShippingAddressId: string;
|
|
74
|
+
doubleOptInConfirmDate?: string;
|
|
75
|
+
doubleOptInEmailSentDate?: string;
|
|
76
|
+
doubleOptInRegistration?: boolean;
|
|
77
|
+
email: string;
|
|
78
|
+
firstLogin?: string;
|
|
79
|
+
firstName: string;
|
|
80
|
+
group?: components["schemas"]["CustomerGroup"];
|
|
81
|
+
groupId: string;
|
|
82
|
+
guest?: boolean;
|
|
83
|
+
hash?: string;
|
|
84
|
+
id: string;
|
|
85
|
+
language?: components["schemas"]["Language"];
|
|
86
|
+
languageId: string;
|
|
87
|
+
lastLogin?: string;
|
|
88
|
+
lastName: string;
|
|
89
|
+
readonly lastOrderDate?: string;
|
|
90
|
+
lastPaymentMethod?: components["schemas"]["PaymentMethod"];
|
|
91
|
+
lastPaymentMethodId?: string;
|
|
92
|
+
readonly orderCount?: number;
|
|
93
|
+
readonly orderTotalAmount?: number;
|
|
94
|
+
readonly reviewCount?: number;
|
|
95
|
+
salesChannelId: string;
|
|
96
|
+
salutation?: components["schemas"]["Salutation"];
|
|
97
|
+
salutationId?: string;
|
|
98
|
+
readonly tagIds?: string[];
|
|
99
|
+
tags?: components["schemas"]["Tag"][];
|
|
100
|
+
title?: string;
|
|
101
|
+
readonly updatedAt?: string;
|
|
102
|
+
updatedById?: string;
|
|
103
|
+
} & ({
|
|
104
|
+
accountType: "private";
|
|
105
|
+
} | {
|
|
106
|
+
accountType: "business";
|
|
107
|
+
company: string;
|
|
108
|
+
vatIds: [string, ...string[]];
|
|
109
|
+
}), unknown, OperationOptions<"register post /account/register">, unknown>, "mutate" | "reset"> | Omit< MutationObserverLoadingResult<{
|
|
110
|
+
active?: boolean;
|
|
111
|
+
activeBillingAddress: components["schemas"]["CustomerAddress"];
|
|
112
|
+
activeShippingAddress: components["schemas"]["CustomerAddress"];
|
|
113
|
+
addresses?: components["schemas"]["CustomerAddress"][];
|
|
114
|
+
affiliateCode?: string;
|
|
115
|
+
apiAlias: "customer";
|
|
116
|
+
birthday?: string;
|
|
117
|
+
campaignCode?: string;
|
|
118
|
+
readonly createdAt?: string;
|
|
119
|
+
createdById?: string;
|
|
120
|
+
customerNumber: string;
|
|
121
|
+
customFields?: GenericRecord;
|
|
122
|
+
defaultBillingAddress?: components["schemas"]["CustomerAddress"];
|
|
123
|
+
defaultBillingAddressId: string;
|
|
124
|
+
defaultShippingAddress?: components["schemas"]["CustomerAddress"];
|
|
125
|
+
defaultShippingAddressId: string;
|
|
126
|
+
doubleOptInConfirmDate?: string;
|
|
127
|
+
doubleOptInEmailSentDate?: string;
|
|
128
|
+
doubleOptInRegistration?: boolean;
|
|
129
|
+
email: string;
|
|
130
|
+
firstLogin?: string;
|
|
131
|
+
firstName: string;
|
|
132
|
+
group?: components["schemas"]["CustomerGroup"];
|
|
133
|
+
groupId: string;
|
|
134
|
+
guest?: boolean;
|
|
135
|
+
hash?: string;
|
|
136
|
+
id: string;
|
|
137
|
+
language?: components["schemas"]["Language"];
|
|
138
|
+
languageId: string;
|
|
139
|
+
lastLogin?: string;
|
|
140
|
+
lastName: string;
|
|
141
|
+
readonly lastOrderDate?: string;
|
|
142
|
+
lastPaymentMethod?: components["schemas"]["PaymentMethod"];
|
|
143
|
+
lastPaymentMethodId?: string;
|
|
144
|
+
readonly orderCount?: number;
|
|
145
|
+
readonly orderTotalAmount?: number;
|
|
146
|
+
readonly reviewCount?: number;
|
|
147
|
+
salesChannelId: string;
|
|
148
|
+
salutation?: components["schemas"]["Salutation"];
|
|
149
|
+
salutationId?: string;
|
|
150
|
+
readonly tagIds?: string[];
|
|
151
|
+
tags?: components["schemas"]["Tag"][];
|
|
152
|
+
title?: string;
|
|
153
|
+
readonly updatedAt?: string;
|
|
154
|
+
updatedById?: string;
|
|
155
|
+
} & ({
|
|
156
|
+
accountType: "private";
|
|
157
|
+
} | {
|
|
158
|
+
accountType: "business";
|
|
159
|
+
company: string;
|
|
160
|
+
vatIds: [string, ...string[]];
|
|
161
|
+
}), unknown, OperationOptions<"register post /account/register">, unknown>, "mutate" | "reset"> | Omit< MutationObserverErrorResult<{
|
|
162
|
+
active?: boolean;
|
|
163
|
+
activeBillingAddress: components["schemas"]["CustomerAddress"];
|
|
164
|
+
activeShippingAddress: components["schemas"]["CustomerAddress"];
|
|
165
|
+
addresses?: components["schemas"]["CustomerAddress"][];
|
|
166
|
+
affiliateCode?: string;
|
|
167
|
+
apiAlias: "customer";
|
|
168
|
+
birthday?: string;
|
|
169
|
+
campaignCode?: string;
|
|
170
|
+
readonly createdAt?: string;
|
|
171
|
+
createdById?: string;
|
|
172
|
+
customerNumber: string;
|
|
173
|
+
customFields?: GenericRecord;
|
|
174
|
+
defaultBillingAddress?: components["schemas"]["CustomerAddress"];
|
|
175
|
+
defaultBillingAddressId: string;
|
|
176
|
+
defaultShippingAddress?: components["schemas"]["CustomerAddress"];
|
|
177
|
+
defaultShippingAddressId: string;
|
|
178
|
+
doubleOptInConfirmDate?: string;
|
|
179
|
+
doubleOptInEmailSentDate?: string;
|
|
180
|
+
doubleOptInRegistration?: boolean;
|
|
181
|
+
email: string;
|
|
182
|
+
firstLogin?: string;
|
|
183
|
+
firstName: string;
|
|
184
|
+
group?: components["schemas"]["CustomerGroup"];
|
|
185
|
+
groupId: string;
|
|
186
|
+
guest?: boolean;
|
|
187
|
+
hash?: string;
|
|
188
|
+
id: string;
|
|
189
|
+
language?: components["schemas"]["Language"];
|
|
190
|
+
languageId: string;
|
|
191
|
+
lastLogin?: string;
|
|
192
|
+
lastName: string;
|
|
193
|
+
readonly lastOrderDate?: string;
|
|
194
|
+
lastPaymentMethod?: components["schemas"]["PaymentMethod"];
|
|
195
|
+
lastPaymentMethodId?: string;
|
|
196
|
+
readonly orderCount?: number;
|
|
197
|
+
readonly orderTotalAmount?: number;
|
|
198
|
+
readonly reviewCount?: number;
|
|
199
|
+
salesChannelId: string;
|
|
200
|
+
salutation?: components["schemas"]["Salutation"];
|
|
201
|
+
salutationId?: string;
|
|
202
|
+
readonly tagIds?: string[];
|
|
203
|
+
tags?: components["schemas"]["Tag"][];
|
|
204
|
+
title?: string;
|
|
205
|
+
readonly updatedAt?: string;
|
|
206
|
+
updatedById?: string;
|
|
207
|
+
} & ({
|
|
208
|
+
accountType: "private";
|
|
209
|
+
} | {
|
|
210
|
+
accountType: "business";
|
|
211
|
+
company: string;
|
|
212
|
+
vatIds: [string, ...string[]];
|
|
213
|
+
}), unknown, OperationOptions<"register post /account/register">, unknown>, "mutate" | "reset"> | Omit< MutationObserverSuccessResult<{
|
|
214
|
+
active?: boolean;
|
|
215
|
+
activeBillingAddress: components["schemas"]["CustomerAddress"];
|
|
216
|
+
activeShippingAddress: components["schemas"]["CustomerAddress"];
|
|
217
|
+
addresses?: components["schemas"]["CustomerAddress"][];
|
|
218
|
+
affiliateCode?: string;
|
|
219
|
+
apiAlias: "customer";
|
|
220
|
+
birthday?: string;
|
|
221
|
+
campaignCode?: string;
|
|
222
|
+
readonly createdAt?: string;
|
|
223
|
+
createdById?: string;
|
|
224
|
+
customerNumber: string;
|
|
225
|
+
customFields?: GenericRecord;
|
|
226
|
+
defaultBillingAddress?: components["schemas"]["CustomerAddress"];
|
|
227
|
+
defaultBillingAddressId: string;
|
|
228
|
+
defaultShippingAddress?: components["schemas"]["CustomerAddress"];
|
|
229
|
+
defaultShippingAddressId: string;
|
|
230
|
+
doubleOptInConfirmDate?: string;
|
|
231
|
+
doubleOptInEmailSentDate?: string;
|
|
232
|
+
doubleOptInRegistration?: boolean;
|
|
233
|
+
email: string;
|
|
234
|
+
firstLogin?: string;
|
|
235
|
+
firstName: string;
|
|
236
|
+
group?: components["schemas"]["CustomerGroup"];
|
|
237
|
+
groupId: string;
|
|
238
|
+
guest?: boolean;
|
|
239
|
+
hash?: string;
|
|
240
|
+
id: string;
|
|
241
|
+
language?: components["schemas"]["Language"];
|
|
242
|
+
languageId: string;
|
|
243
|
+
lastLogin?: string;
|
|
244
|
+
lastName: string;
|
|
245
|
+
readonly lastOrderDate?: string;
|
|
246
|
+
lastPaymentMethod?: components["schemas"]["PaymentMethod"];
|
|
247
|
+
lastPaymentMethodId?: string;
|
|
248
|
+
readonly orderCount?: number;
|
|
249
|
+
readonly orderTotalAmount?: number;
|
|
250
|
+
readonly reviewCount?: number;
|
|
251
|
+
salesChannelId: string;
|
|
252
|
+
salutation?: components["schemas"]["Salutation"];
|
|
253
|
+
salutationId?: string;
|
|
254
|
+
readonly tagIds?: string[];
|
|
255
|
+
tags?: components["schemas"]["Tag"][];
|
|
256
|
+
title?: string;
|
|
257
|
+
readonly updatedAt?: string;
|
|
258
|
+
updatedById?: string;
|
|
259
|
+
} & ({
|
|
260
|
+
accountType: "private";
|
|
261
|
+
} | {
|
|
262
|
+
accountType: "business";
|
|
263
|
+
company: string;
|
|
264
|
+
vatIds: [string, ...string[]];
|
|
265
|
+
}), unknown, OperationOptions<"register post /account/register">, unknown>, "mutate" | "reset">>;
|
|
266
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './address';
|
|
2
|
+
export * from './cart';
|
|
3
|
+
export * from './checkout';
|
|
4
|
+
export * from './context';
|
|
5
|
+
export * from './customer';
|
|
6
|
+
export * from './order';
|
|
7
|
+
export * from './payment';
|
|
8
|
+
export * from './products';
|
|
9
|
+
export * from './shipping';
|
|
10
|
+
export * from './types';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useReadOrderQuery';
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { OperationOptions } from '../types/query';
|
|
2
|
+
import { UndefinedInitialQueryOptions, UseQueryReturnType } from '@tanstack/vue-query';
|
|
3
|
+
import { components } from '../../../api-types/storeApiTypes';
|
|
4
|
+
declare const readOrderOperation = "readOrder post /order";
|
|
5
|
+
export declare function useReadOrderQueryOptions(options?: OperationOptions<typeof readOrderOperation>): UndefinedInitialQueryOptions<{
|
|
6
|
+
orders: {
|
|
7
|
+
elements: components["schemas"]["Order"][];
|
|
8
|
+
} & components["schemas"]["EntitySearchResult"];
|
|
9
|
+
paymentChangeable?: {
|
|
10
|
+
[key: string]: boolean;
|
|
11
|
+
};
|
|
12
|
+
}, Error, {
|
|
13
|
+
orders: {
|
|
14
|
+
elements: components["schemas"]["Order"][];
|
|
15
|
+
} & components["schemas"]["EntitySearchResult"];
|
|
16
|
+
paymentChangeable?: {
|
|
17
|
+
[key: string]: boolean;
|
|
18
|
+
};
|
|
19
|
+
}, readonly ["order", "detail", {
|
|
20
|
+
readonly body: unknown;
|
|
21
|
+
}]> & {
|
|
22
|
+
queryKey: readonly ["order", "detail", {
|
|
23
|
+
readonly body: unknown;
|
|
24
|
+
}] & {
|
|
25
|
+
[dataTagSymbol]: {
|
|
26
|
+
orders: {
|
|
27
|
+
elements: components["schemas"]["Order"][];
|
|
28
|
+
} & components["schemas"]["EntitySearchResult"];
|
|
29
|
+
paymentChangeable?: {
|
|
30
|
+
[key: string]: boolean;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
[dataTagErrorSymbol]: Error;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
export declare function useReadOrderQuery(options?: OperationOptions<typeof readOrderOperation>): UseQueryReturnType<{
|
|
37
|
+
orders: {
|
|
38
|
+
elements: components["schemas"]["Order"][];
|
|
39
|
+
} & components["schemas"]["EntitySearchResult"];
|
|
40
|
+
paymentChangeable?: {
|
|
41
|
+
[key: string]: boolean;
|
|
42
|
+
};
|
|
43
|
+
}, Error>;
|
|
44
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { UseMutationOptions, UseMutationReturnType, MutationObserverIdleResult, MutationObserverLoadingResult, MutationObserverErrorResult, MutationObserverSuccessResult } from '@tanstack/vue-query';
|
|
2
|
+
import { OperationOptions, OperationResponse } from '../types/query';
|
|
3
|
+
declare const handlePaymentOperation = "handlePaymentMethod post /handle-payment";
|
|
4
|
+
export declare function useHandlePaymentMutation(mutationOptions?: UseMutationOptions<OperationResponse<typeof handlePaymentOperation>, unknown, OperationOptions<typeof handlePaymentOperation>>): UseMutationReturnType<{
|
|
5
|
+
redirectUrl: string;
|
|
6
|
+
}, unknown, OperationOptions<"handlePaymentMethod post /handle-payment">, unknown, Omit< MutationObserverIdleResult<{
|
|
7
|
+
redirectUrl: string;
|
|
8
|
+
}, unknown, OperationOptions<"handlePaymentMethod post /handle-payment">, unknown>, "mutate" | "reset"> | Omit< MutationObserverLoadingResult<{
|
|
9
|
+
redirectUrl: string;
|
|
10
|
+
}, unknown, OperationOptions<"handlePaymentMethod post /handle-payment">, unknown>, "mutate" | "reset"> | Omit< MutationObserverErrorResult<{
|
|
11
|
+
redirectUrl: string;
|
|
12
|
+
}, unknown, OperationOptions<"handlePaymentMethod post /handle-payment">, unknown>, "mutate" | "reset"> | Omit< MutationObserverSuccessResult<{
|
|
13
|
+
redirectUrl: string;
|
|
14
|
+
}, unknown, OperationOptions<"handlePaymentMethod post /handle-payment">, unknown>, "mutate" | "reset">>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { UseMutationOptions, UseMutationReturnType, MutationObserverIdleResult, MutationObserverLoadingResult, MutationObserverErrorResult, MutationObserverSuccessResult } from '@tanstack/vue-query';
|
|
2
|
+
import { OperationOptions, OperationResponse } from '../types/query';
|
|
3
|
+
declare const orderSetPaymentOperation = "orderSetPayment post /order/payment";
|
|
4
|
+
export declare function useOrderSetPaymentMutation(mutationOptions?: UseMutationOptions<OperationResponse<typeof orderSetPaymentOperation>, unknown, OperationOptions<typeof orderSetPaymentOperation>>): UseMutationReturnType<{
|
|
5
|
+
success?: boolean;
|
|
6
|
+
}, unknown, OperationOptions<"orderSetPayment post /order/payment">, unknown, Omit< MutationObserverIdleResult<{
|
|
7
|
+
success?: boolean;
|
|
8
|
+
}, unknown, OperationOptions<"orderSetPayment post /order/payment">, unknown>, "mutate" | "reset"> | Omit< MutationObserverLoadingResult<{
|
|
9
|
+
success?: boolean;
|
|
10
|
+
}, unknown, OperationOptions<"orderSetPayment post /order/payment">, unknown>, "mutate" | "reset"> | Omit< MutationObserverErrorResult<{
|
|
11
|
+
success?: boolean;
|
|
12
|
+
}, unknown, OperationOptions<"orderSetPayment post /order/payment">, unknown>, "mutate" | "reset"> | Omit< MutationObserverSuccessResult<{
|
|
13
|
+
success?: boolean;
|
|
14
|
+
}, unknown, OperationOptions<"orderSetPayment post /order/payment">, unknown>, "mutate" | "reset">>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { OperationOptions } from '../types/query';
|
|
2
|
+
import { UndefinedInitialQueryOptions, UseQueryReturnType } from '@tanstack/vue-query';
|
|
3
|
+
import { GenericRecord, components } from '../../../api-types/storeApiTypes';
|
|
4
|
+
export declare const readPaymentMethodOperation = "readPaymentMethod post /payment-method";
|
|
5
|
+
export declare function useReadPaymentMethodQueryOptions(options?: OperationOptions<typeof readPaymentMethodOperation>): UndefinedInitialQueryOptions<{
|
|
6
|
+
aggregations?: GenericRecord;
|
|
7
|
+
elements?: components["schemas"]["PaymentMethod"][];
|
|
8
|
+
total?: number;
|
|
9
|
+
}, Error, {
|
|
10
|
+
aggregations?: GenericRecord;
|
|
11
|
+
elements?: components["schemas"]["PaymentMethod"][];
|
|
12
|
+
total?: number;
|
|
13
|
+
}, readonly ["paymentMethod", "list", {
|
|
14
|
+
readonly body: unknown;
|
|
15
|
+
}]> & {
|
|
16
|
+
queryKey: readonly ["paymentMethod", "list", {
|
|
17
|
+
readonly body: unknown;
|
|
18
|
+
}] & {
|
|
19
|
+
[dataTagSymbol]: {
|
|
20
|
+
aggregations?: GenericRecord;
|
|
21
|
+
elements?: components["schemas"]["PaymentMethod"][];
|
|
22
|
+
total?: number;
|
|
23
|
+
};
|
|
24
|
+
[dataTagErrorSymbol]: Error;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export declare function useReadPaymentMethodQuery(options?: OperationOptions<typeof readPaymentMethodOperation>): UseQueryReturnType<{
|
|
28
|
+
aggregations?: GenericRecord;
|
|
29
|
+
elements?: components["schemas"]["PaymentMethod"][];
|
|
30
|
+
total?: number;
|
|
31
|
+
}, Error>;
|