buymeua-api-fe 0.17.0 → 0.19.0
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 +43 -0
- package/README.md +16 -5
- package/dist/entities/cart/api/cartApi.d.ts +60 -60
- package/dist/entities/cart/api/cartApi.d.ts.map +1 -1
- package/dist/entities/cart/api/cartApi.js +23 -8
- package/dist/entities/cart/api/cartApi.js.map +1 -1
- package/dist/entities/cart/model/types.d.ts +2 -21
- package/dist/entities/cart/model/types.d.ts.map +1 -1
- package/dist/entities/category/model/types.d.ts +1 -0
- package/dist/entities/category/model/types.d.ts.map +1 -1
- package/dist/entities/chat/api/chatApi.d.ts +60 -60
- package/dist/entities/chat/api/chatApi.d.ts.map +1 -1
- package/dist/entities/chat/api/chatApi.js +8 -8
- package/dist/entities/chat/api/chatApi.js.map +1 -1
- package/dist/entities/country/api/countryApi.d.ts +60 -60
- package/dist/entities/country/api/countryApi.d.ts.map +1 -1
- package/dist/entities/country/api/countryApi.js.map +1 -1
- package/dist/entities/favorite/api/favoriteApi.js +3 -3
- package/dist/entities/favorite/api/favoriteApi.js.map +1 -1
- package/dist/entities/notification/api/notificationApi.d.ts +60 -60
- package/dist/entities/notification/api/notificationApi.d.ts.map +1 -1
- package/dist/entities/notification/api/notificationApi.js +3 -3
- package/dist/entities/notification/api/notificationApi.js.map +1 -1
- package/dist/entities/novaposhta/api/novaposhtaApi.d.ts +180 -180
- package/dist/entities/novaposhta/api/novaposhtaApi.d.ts.map +1 -1
- package/dist/entities/novaposhta/api/novaposhtaApi.js.map +1 -1
- package/dist/entities/product/api/productApi.d.ts +10 -10
- package/dist/entities/product/api/productApi.js +2 -2
- package/dist/entities/product/api/productApi.js.map +1 -1
- package/dist/entities/product/model/types.d.ts +6 -1
- package/dist/entities/product/model/types.d.ts.map +1 -1
- package/dist/entities/store/api/storeApi.d.ts +2 -2
- package/dist/entities/stories/api/storiesApi.js +2 -2
- package/dist/entities/stories/api/storiesApi.js.map +1 -1
- package/dist/entities/supplier/api/supplierApi.d.ts +1 -1
- package/dist/entities/supplier/api/supplierApi.js +6 -6
- package/dist/entities/supplier/api/supplierApi.js.map +1 -1
- package/dist/entities/supplier/model/types.d.ts +12 -1
- package/dist/entities/supplier/model/types.d.ts.map +1 -1
- package/dist/shared/api/api.d.ts +1 -1
- package/dist/shared/api/api.d.ts.map +1 -1
- package/dist/shared/api/api.js +1 -1
- package/dist/shared/api/api.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,49 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.19.0] - 2025-12-19
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Enhance onUnauthorized callback to receive request context parameters (args, api, extraOptions) for advanced error handling scenarios
|
|
15
|
+
- Add void support to fully optional request types for improved type safety
|
|
16
|
+
- GetChatsRequest in chatApi.getChats
|
|
17
|
+
- GetNovaposhtaCitiesRequest in novaposhtaApi.getNovaposhtaCities
|
|
18
|
+
- GetNovaposhtaStreetsRequest in novaposhtaApi.getNovaposhtaStreets
|
|
19
|
+
- GetNovaposhtaWarehousesRequest in novaposhtaApi.getNovaposhtaWarehouses
|
|
20
|
+
- GetNotificationsRequest in notificationApi.getNotifications
|
|
21
|
+
- Standardize RTK Query tag callback signatures across all APIs (chat, favorite, notification, product, stories, supplier)
|
|
22
|
+
- Replace inconsistent parameter naming with explicit unused parameters (\_result, \_error, \_arg, \_meta)
|
|
23
|
+
- Improve code readability and follow TypeScript best practices
|
|
24
|
+
- Clean up cart request types by removing client-side only fields
|
|
25
|
+
- Remove merchantId and quantity from RemoveItemFromCartRequest
|
|
26
|
+
- Remove type, merchantId, and optionIndex from UpdateCartItemQuantityRequest
|
|
27
|
+
|
|
28
|
+
## [0.18.0] - 2025-12-15
|
|
29
|
+
|
|
30
|
+
### Added
|
|
31
|
+
|
|
32
|
+
- Add filter_exclude_product_ids to GetProductsRequest for excluding products by ID
|
|
33
|
+
- Add retail_price_from and retail_price_to parameters to GetProductsRequest
|
|
34
|
+
- Add margin_from and margin_to parameters to GetProductsRequest
|
|
35
|
+
- Add filter_prepared_for_site parameter to GetCategoriesRequest
|
|
36
|
+
- Add providesTags configuration to getCartMerchantItems endpoint
|
|
37
|
+
- Add new fields to Supplier interface: status, email, telephone, is_confirm_telephone, has_products, last_modified_product_at, buyme_all_category_ids, storefront_url, is_new_supplier
|
|
38
|
+
|
|
39
|
+
### Changed
|
|
40
|
+
|
|
41
|
+
- Update order_by in GetProductsRequest to accept string or string array for multiple sorting
|
|
42
|
+
- Make GetCartMerchantsRequest optional (allows calling useGetCartMerchantsInfiniteQuery without arguments)
|
|
43
|
+
- Refactor CartMerchantItem to extend BaseProduct interface (removes duplicated fields)
|
|
44
|
+
- Standardize tag callback signatures with explicit unused parameters (\_result, \_error, \_arg, \_meta)
|
|
45
|
+
- **BREAKING**: Update getSuppliers endpoint to use v3 API (suppliers/v3/customers/list)
|
|
46
|
+
- Mark Supplier.reviews field as deprecated
|
|
47
|
+
|
|
48
|
+
### Fixed
|
|
49
|
+
|
|
50
|
+
- Fix params order in getProducts query body (queryArg now spread before page param)
|
|
51
|
+
- Fix incorrect tag type in getCartMerchants providesTags (CartMerchantItem → CartMerchant)
|
|
52
|
+
|
|
10
53
|
## [0.17.0] - 2025-12-10
|
|
11
54
|
|
|
12
55
|
### Added
|
package/README.md
CHANGED
|
@@ -37,8 +37,9 @@ const buymeuaApi = configureBuymeuaApi({
|
|
|
37
37
|
headers.set('Authorization', `Bearer ${token}`);
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
|
-
onUnauthorized: () => {
|
|
41
|
-
// Handle 401 errors
|
|
40
|
+
onUnauthorized: (args, api, extraOptions) => {
|
|
41
|
+
// Handle 401 errors with full request context
|
|
42
|
+
console.log('Unauthorized request:', args);
|
|
42
43
|
localStorage.removeItem('auth-token');
|
|
43
44
|
window.location.href = '/login';
|
|
44
45
|
},
|
|
@@ -98,7 +99,7 @@ Configures the global API client.
|
|
|
98
99
|
|
|
99
100
|
- `config.baseUrl` - Base API URL
|
|
100
101
|
- `config.prepareHeaders` - Function to prepare headers (receives Headers object and API context)
|
|
101
|
-
- `config.onUnauthorized` - Optional callback for handling 401 errors
|
|
102
|
+
- `config.onUnauthorized` - Optional callback for handling 401 errors (receives args, api, extraOptions for context)
|
|
102
103
|
|
|
103
104
|
**Returns:** Configured API instance ready for Redux store setup
|
|
104
105
|
|
|
@@ -110,7 +111,7 @@ const { data, fetchNextPage, hasNextPage } = useGetProductsInfiniteQuery({
|
|
|
110
111
|
per_page?: number;
|
|
111
112
|
core_filter?: string;
|
|
112
113
|
filter_has_special?: boolean | null;
|
|
113
|
-
order_by?: string;
|
|
114
|
+
order_by?: string | string[];
|
|
114
115
|
category_filter?: number[];
|
|
115
116
|
option_value_filter?: {
|
|
116
117
|
option_value_ids: number[];
|
|
@@ -124,8 +125,13 @@ const { data, fetchNextPage, hasNextPage } = useGetProductsInfiniteQuery({
|
|
|
124
125
|
filter_has_customer_id?: boolean;
|
|
125
126
|
filter_advertised?: boolean;
|
|
126
127
|
filter_product_ids?: number[];
|
|
128
|
+
filter_exclude_product_ids?: number[];
|
|
127
129
|
price_from?: number;
|
|
128
130
|
price_to?: number;
|
|
131
|
+
retail_price_from?: number;
|
|
132
|
+
retail_price_to?: number;
|
|
133
|
+
margin_from?: number;
|
|
134
|
+
margin_to?: number;
|
|
129
135
|
only_in_root_category?: boolean;
|
|
130
136
|
price_type?: string;
|
|
131
137
|
});
|
|
@@ -329,6 +335,7 @@ const { data } = useGetCategoriesQuery({
|
|
|
329
335
|
filter_parent_id?: number;
|
|
330
336
|
filter_with_products?: boolean;
|
|
331
337
|
filter_with_supplier_products?: boolean;
|
|
338
|
+
filter_prepared_for_site?: boolean;
|
|
332
339
|
});
|
|
333
340
|
|
|
334
341
|
// Build category breadcrumbs
|
|
@@ -749,7 +756,11 @@ interface ApiConfig {
|
|
|
749
756
|
extraOptions: unknown;
|
|
750
757
|
},
|
|
751
758
|
) => Headers | void | Promise<void>;
|
|
752
|
-
onUnauthorized?: (
|
|
759
|
+
onUnauthorized?: (
|
|
760
|
+
args: string | FetchArgs,
|
|
761
|
+
api: BaseQueryApi,
|
|
762
|
+
extraOptions: unknown,
|
|
763
|
+
) => void;
|
|
753
764
|
}
|
|
754
765
|
|
|
755
766
|
enum Session {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { GetCartMerchantItemsResponse, AddToCartRequest, AddToCartResponse, GetCartCountResponse, GetCartMerchantItemsRequest, GetCartMerchantsRequest, GetCartMerchantsResponse, RemoveItemFromCartRequest, ToggleGiftPackageRequest, ToggleGiftPackageResponse, UpdateCartItemQuantityRequest, UpdateCartItemQuantityResponse, RemoveMerchantFromCartRequest } from '../model/types';
|
|
2
2
|
export declare const cartApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, import("@reduxjs/toolkit/query").UpdateDefinitions<{
|
|
3
3
|
getCartCount: import("@reduxjs/toolkit/query").QueryDefinition<void, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, never, GetCartCountResponse, "buymeuaApi", unknown>;
|
|
4
|
-
getCartMerchants: import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetCartMerchantsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, never, GetCartMerchantsResponse, "buymeuaApi", unknown>;
|
|
4
|
+
getCartMerchants: import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetCartMerchantsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, never, GetCartMerchantsResponse, "buymeuaApi", unknown>;
|
|
5
5
|
getCartMerchantItems: import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetCartMerchantItemsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, never, GetCartMerchantItemsResponse, "buymeuaApi", unknown>;
|
|
6
6
|
addToCart: import("@reduxjs/toolkit/query").MutationDefinition<AddToCartRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, never, AddToCartResponse, "buymeuaApi", unknown>;
|
|
7
7
|
removeItemFromCart: import("@reduxjs/toolkit/query").MutationDefinition<RemoveItemFromCartRequest, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, never, undefined, "buymeuaApi", unknown>;
|
|
@@ -234,7 +234,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
234
234
|
}) | ({
|
|
235
235
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
236
236
|
error: undefined;
|
|
237
|
-
originalArgs: GetCartMerchantsRequest;
|
|
237
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
238
238
|
requestId: string;
|
|
239
239
|
endpointName: string;
|
|
240
240
|
startedTimeStamp: number;
|
|
@@ -244,7 +244,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
244
244
|
direction?: "forward" | "backward";
|
|
245
245
|
}) | ({
|
|
246
246
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
247
|
-
originalArgs: GetCartMerchantsRequest;
|
|
247
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
248
248
|
requestId: string;
|
|
249
249
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
250
250
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -257,7 +257,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
257
257
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
258
258
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
259
259
|
fulfilledTimeStamp?: number;
|
|
260
|
-
originalArgs: GetCartMerchantsRequest;
|
|
260
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
261
261
|
requestId: string;
|
|
262
262
|
endpointName: string;
|
|
263
263
|
startedTimeStamp: number;
|
|
@@ -267,7 +267,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
267
267
|
}) | ({
|
|
268
268
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
269
269
|
error: undefined;
|
|
270
|
-
originalArgs: GetCartMerchantsRequest;
|
|
270
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
271
271
|
requestId: string;
|
|
272
272
|
endpointName: string;
|
|
273
273
|
startedTimeStamp: number;
|
|
@@ -277,7 +277,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
277
277
|
direction?: "forward" | "backward";
|
|
278
278
|
}) | ({
|
|
279
279
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
280
|
-
originalArgs: GetCartMerchantsRequest;
|
|
280
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
281
281
|
requestId: string;
|
|
282
282
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
283
283
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -290,7 +290,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
290
290
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
291
291
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
292
292
|
fulfilledTimeStamp?: number;
|
|
293
|
-
originalArgs: GetCartMerchantsRequest;
|
|
293
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
294
294
|
requestId: string;
|
|
295
295
|
endpointName: string;
|
|
296
296
|
startedTimeStamp: number;
|
|
@@ -333,7 +333,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
333
333
|
}) | ({
|
|
334
334
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
335
335
|
error: undefined;
|
|
336
|
-
originalArgs: GetCartMerchantsRequest;
|
|
336
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
337
337
|
requestId: string;
|
|
338
338
|
endpointName: string;
|
|
339
339
|
startedTimeStamp: number;
|
|
@@ -343,7 +343,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
343
343
|
direction?: "forward" | "backward";
|
|
344
344
|
}) | ({
|
|
345
345
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
346
|
-
originalArgs: GetCartMerchantsRequest;
|
|
346
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
347
347
|
requestId: string;
|
|
348
348
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
349
349
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -356,7 +356,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
356
356
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
357
357
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
358
358
|
fulfilledTimeStamp?: number;
|
|
359
|
-
originalArgs: GetCartMerchantsRequest;
|
|
359
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
360
360
|
requestId: string;
|
|
361
361
|
endpointName: string;
|
|
362
362
|
startedTimeStamp: number;
|
|
@@ -366,7 +366,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
366
366
|
}) | ({
|
|
367
367
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
368
368
|
error: undefined;
|
|
369
|
-
originalArgs: GetCartMerchantsRequest;
|
|
369
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
370
370
|
requestId: string;
|
|
371
371
|
endpointName: string;
|
|
372
372
|
startedTimeStamp: number;
|
|
@@ -376,7 +376,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
376
376
|
direction?: "forward" | "backward";
|
|
377
377
|
}) | ({
|
|
378
378
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
379
|
-
originalArgs: GetCartMerchantsRequest;
|
|
379
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
380
380
|
requestId: string;
|
|
381
381
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
382
382
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -389,7 +389,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
389
389
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
390
390
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
391
391
|
fulfilledTimeStamp?: number;
|
|
392
|
-
originalArgs: GetCartMerchantsRequest;
|
|
392
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
393
393
|
requestId: string;
|
|
394
394
|
endpointName: string;
|
|
395
395
|
startedTimeStamp: number;
|
|
@@ -428,7 +428,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
428
428
|
}) | ({
|
|
429
429
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
430
430
|
error: undefined;
|
|
431
|
-
originalArgs: GetCartMerchantsRequest;
|
|
431
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
432
432
|
requestId: string;
|
|
433
433
|
endpointName: string;
|
|
434
434
|
startedTimeStamp: number;
|
|
@@ -438,7 +438,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
438
438
|
direction?: "forward" | "backward";
|
|
439
439
|
}) | ({
|
|
440
440
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
441
|
-
originalArgs: GetCartMerchantsRequest;
|
|
441
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
442
442
|
requestId: string;
|
|
443
443
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
444
444
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -451,7 +451,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
451
451
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
452
452
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
453
453
|
fulfilledTimeStamp?: number;
|
|
454
|
-
originalArgs: GetCartMerchantsRequest;
|
|
454
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
455
455
|
requestId: string;
|
|
456
456
|
endpointName: string;
|
|
457
457
|
startedTimeStamp: number;
|
|
@@ -461,7 +461,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
461
461
|
}) | ({
|
|
462
462
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
463
463
|
error: undefined;
|
|
464
|
-
originalArgs: GetCartMerchantsRequest;
|
|
464
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
465
465
|
requestId: string;
|
|
466
466
|
endpointName: string;
|
|
467
467
|
startedTimeStamp: number;
|
|
@@ -471,7 +471,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
471
471
|
direction?: "forward" | "backward";
|
|
472
472
|
}) | ({
|
|
473
473
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
474
|
-
originalArgs: GetCartMerchantsRequest;
|
|
474
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
475
475
|
requestId: string;
|
|
476
476
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
477
477
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -484,7 +484,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
484
484
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
485
485
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
486
486
|
fulfilledTimeStamp?: number;
|
|
487
|
-
originalArgs: GetCartMerchantsRequest;
|
|
487
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
488
488
|
requestId: string;
|
|
489
489
|
endpointName: string;
|
|
490
490
|
startedTimeStamp: number;
|
|
@@ -521,7 +521,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
521
521
|
}) | ({
|
|
522
522
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
523
523
|
error: undefined;
|
|
524
|
-
originalArgs: GetCartMerchantsRequest;
|
|
524
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
525
525
|
requestId: string;
|
|
526
526
|
endpointName: string;
|
|
527
527
|
startedTimeStamp: number;
|
|
@@ -531,7 +531,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
531
531
|
direction?: "forward" | "backward";
|
|
532
532
|
}) | ({
|
|
533
533
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
534
|
-
originalArgs: GetCartMerchantsRequest;
|
|
534
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
535
535
|
requestId: string;
|
|
536
536
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
537
537
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -544,7 +544,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
544
544
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
545
545
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
546
546
|
fulfilledTimeStamp?: number;
|
|
547
|
-
originalArgs: GetCartMerchantsRequest;
|
|
547
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
548
548
|
requestId: string;
|
|
549
549
|
endpointName: string;
|
|
550
550
|
startedTimeStamp: number;
|
|
@@ -554,7 +554,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
554
554
|
}) | ({
|
|
555
555
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
556
556
|
error: undefined;
|
|
557
|
-
originalArgs: GetCartMerchantsRequest;
|
|
557
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
558
558
|
requestId: string;
|
|
559
559
|
endpointName: string;
|
|
560
560
|
startedTimeStamp: number;
|
|
@@ -564,7 +564,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
564
564
|
direction?: "forward" | "backward";
|
|
565
565
|
}) | ({
|
|
566
566
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
567
|
-
originalArgs: GetCartMerchantsRequest;
|
|
567
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
568
568
|
requestId: string;
|
|
569
569
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
570
570
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -577,7 +577,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
577
577
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
578
578
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
579
579
|
fulfilledTimeStamp?: number;
|
|
580
|
-
originalArgs: GetCartMerchantsRequest;
|
|
580
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
581
581
|
requestId: string;
|
|
582
582
|
endpointName: string;
|
|
583
583
|
startedTimeStamp: number;
|
|
@@ -600,7 +600,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
600
600
|
isFetchingPreviousPage: boolean;
|
|
601
601
|
}, "error">>)>> & {
|
|
602
602
|
status: import("@reduxjs/toolkit/query").QueryStatus;
|
|
603
|
-
}>(arg: GetCartMerchantsRequest | typeof import("@reduxjs/toolkit/query").skipToken, options?: (import("@reduxjs/toolkit/query").SubscriptionOptions & {
|
|
603
|
+
}>(arg: void | GetCartMerchantsRequest | typeof import("@reduxjs/toolkit/query").skipToken, options?: (import("@reduxjs/toolkit/query").SubscriptionOptions & {
|
|
604
604
|
skip?: boolean;
|
|
605
605
|
refetchOnMountOrArgChange?: boolean | number;
|
|
606
606
|
initialPageParam?: number;
|
|
@@ -647,7 +647,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
647
647
|
}) | ({
|
|
648
648
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
649
649
|
error: undefined;
|
|
650
|
-
originalArgs: GetCartMerchantsRequest;
|
|
650
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
651
651
|
requestId: string;
|
|
652
652
|
endpointName: string;
|
|
653
653
|
startedTimeStamp: number;
|
|
@@ -657,7 +657,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
657
657
|
direction?: "forward" | "backward";
|
|
658
658
|
}) | ({
|
|
659
659
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
660
|
-
originalArgs: GetCartMerchantsRequest;
|
|
660
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
661
661
|
requestId: string;
|
|
662
662
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
663
663
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -670,7 +670,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
670
670
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
671
671
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
672
672
|
fulfilledTimeStamp?: number;
|
|
673
|
-
originalArgs: GetCartMerchantsRequest;
|
|
673
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
674
674
|
requestId: string;
|
|
675
675
|
endpointName: string;
|
|
676
676
|
startedTimeStamp: number;
|
|
@@ -680,7 +680,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
680
680
|
}) | ({
|
|
681
681
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
682
682
|
error: undefined;
|
|
683
|
-
originalArgs: GetCartMerchantsRequest;
|
|
683
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
684
684
|
requestId: string;
|
|
685
685
|
endpointName: string;
|
|
686
686
|
startedTimeStamp: number;
|
|
@@ -690,7 +690,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
690
690
|
direction?: "forward" | "backward";
|
|
691
691
|
}) | ({
|
|
692
692
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
693
|
-
originalArgs: GetCartMerchantsRequest;
|
|
693
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
694
694
|
requestId: string;
|
|
695
695
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
696
696
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -703,7 +703,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
703
703
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
704
704
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
705
705
|
fulfilledTimeStamp?: number;
|
|
706
|
-
originalArgs: GetCartMerchantsRequest;
|
|
706
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
707
707
|
requestId: string;
|
|
708
708
|
endpointName: string;
|
|
709
709
|
startedTimeStamp: number;
|
|
@@ -746,7 +746,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
746
746
|
}) | ({
|
|
747
747
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
748
748
|
error: undefined;
|
|
749
|
-
originalArgs: GetCartMerchantsRequest;
|
|
749
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
750
750
|
requestId: string;
|
|
751
751
|
endpointName: string;
|
|
752
752
|
startedTimeStamp: number;
|
|
@@ -756,7 +756,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
756
756
|
direction?: "forward" | "backward";
|
|
757
757
|
}) | ({
|
|
758
758
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
759
|
-
originalArgs: GetCartMerchantsRequest;
|
|
759
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
760
760
|
requestId: string;
|
|
761
761
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
762
762
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -769,7 +769,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
769
769
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
770
770
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
771
771
|
fulfilledTimeStamp?: number;
|
|
772
|
-
originalArgs: GetCartMerchantsRequest;
|
|
772
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
773
773
|
requestId: string;
|
|
774
774
|
endpointName: string;
|
|
775
775
|
startedTimeStamp: number;
|
|
@@ -779,7 +779,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
779
779
|
}) | ({
|
|
780
780
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
781
781
|
error: undefined;
|
|
782
|
-
originalArgs: GetCartMerchantsRequest;
|
|
782
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
783
783
|
requestId: string;
|
|
784
784
|
endpointName: string;
|
|
785
785
|
startedTimeStamp: number;
|
|
@@ -789,7 +789,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
789
789
|
direction?: "forward" | "backward";
|
|
790
790
|
}) | ({
|
|
791
791
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
792
|
-
originalArgs: GetCartMerchantsRequest;
|
|
792
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
793
793
|
requestId: string;
|
|
794
794
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
795
795
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -802,7 +802,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
802
802
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
803
803
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
804
804
|
fulfilledTimeStamp?: number;
|
|
805
|
-
originalArgs: GetCartMerchantsRequest;
|
|
805
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
806
806
|
requestId: string;
|
|
807
807
|
endpointName: string;
|
|
808
808
|
startedTimeStamp: number;
|
|
@@ -841,7 +841,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
841
841
|
}) | ({
|
|
842
842
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
843
843
|
error: undefined;
|
|
844
|
-
originalArgs: GetCartMerchantsRequest;
|
|
844
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
845
845
|
requestId: string;
|
|
846
846
|
endpointName: string;
|
|
847
847
|
startedTimeStamp: number;
|
|
@@ -851,7 +851,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
851
851
|
direction?: "forward" | "backward";
|
|
852
852
|
}) | ({
|
|
853
853
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
854
|
-
originalArgs: GetCartMerchantsRequest;
|
|
854
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
855
855
|
requestId: string;
|
|
856
856
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
857
857
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -864,7 +864,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
864
864
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
865
865
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
866
866
|
fulfilledTimeStamp?: number;
|
|
867
|
-
originalArgs: GetCartMerchantsRequest;
|
|
867
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
868
868
|
requestId: string;
|
|
869
869
|
endpointName: string;
|
|
870
870
|
startedTimeStamp: number;
|
|
@@ -874,7 +874,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
874
874
|
}) | ({
|
|
875
875
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
876
876
|
error: undefined;
|
|
877
|
-
originalArgs: GetCartMerchantsRequest;
|
|
877
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
878
878
|
requestId: string;
|
|
879
879
|
endpointName: string;
|
|
880
880
|
startedTimeStamp: number;
|
|
@@ -884,7 +884,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
884
884
|
direction?: "forward" | "backward";
|
|
885
885
|
}) | ({
|
|
886
886
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
887
|
-
originalArgs: GetCartMerchantsRequest;
|
|
887
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
888
888
|
requestId: string;
|
|
889
889
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
890
890
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -897,7 +897,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
897
897
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
898
898
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
899
899
|
fulfilledTimeStamp?: number;
|
|
900
|
-
originalArgs: GetCartMerchantsRequest;
|
|
900
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
901
901
|
requestId: string;
|
|
902
902
|
endpointName: string;
|
|
903
903
|
startedTimeStamp: number;
|
|
@@ -934,7 +934,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
934
934
|
}) | ({
|
|
935
935
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
936
936
|
error: undefined;
|
|
937
|
-
originalArgs: GetCartMerchantsRequest;
|
|
937
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
938
938
|
requestId: string;
|
|
939
939
|
endpointName: string;
|
|
940
940
|
startedTimeStamp: number;
|
|
@@ -944,7 +944,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
944
944
|
direction?: "forward" | "backward";
|
|
945
945
|
}) | ({
|
|
946
946
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
947
|
-
originalArgs: GetCartMerchantsRequest;
|
|
947
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
948
948
|
requestId: string;
|
|
949
949
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
950
950
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -957,7 +957,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
957
957
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
958
958
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
959
959
|
fulfilledTimeStamp?: number;
|
|
960
|
-
originalArgs: GetCartMerchantsRequest;
|
|
960
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
961
961
|
requestId: string;
|
|
962
962
|
endpointName: string;
|
|
963
963
|
startedTimeStamp: number;
|
|
@@ -967,7 +967,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
967
967
|
}) | ({
|
|
968
968
|
status: import("@reduxjs/toolkit/query").QueryStatus.fulfilled;
|
|
969
969
|
error: undefined;
|
|
970
|
-
originalArgs: GetCartMerchantsRequest;
|
|
970
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
971
971
|
requestId: string;
|
|
972
972
|
endpointName: string;
|
|
973
973
|
startedTimeStamp: number;
|
|
@@ -977,7 +977,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
977
977
|
direction?: "forward" | "backward";
|
|
978
978
|
}) | ({
|
|
979
979
|
status: import("@reduxjs/toolkit/query").QueryStatus.pending;
|
|
980
|
-
originalArgs: GetCartMerchantsRequest;
|
|
980
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
981
981
|
requestId: string;
|
|
982
982
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
983
983
|
error?: import("@reduxjs/toolkit").SerializedError;
|
|
@@ -990,7 +990,7 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
990
990
|
status: import("@reduxjs/toolkit/query").QueryStatus.rejected;
|
|
991
991
|
data?: import("@reduxjs/toolkit/query").InfiniteData<GetCartMerchantsResponse, number>;
|
|
992
992
|
fulfilledTimeStamp?: number;
|
|
993
|
-
originalArgs: GetCartMerchantsRequest;
|
|
993
|
+
originalArgs: void | GetCartMerchantsRequest;
|
|
994
994
|
requestId: string;
|
|
995
995
|
endpointName: string;
|
|
996
996
|
startedTimeStamp: number;
|
|
@@ -1014,20 +1014,20 @@ export declare const useGetCartCountQuery: <R extends Record<string, any> = impo
|
|
|
1014
1014
|
}, "error">>)>> & {
|
|
1015
1015
|
status: import("@reduxjs/toolkit/query").QueryStatus;
|
|
1016
1016
|
}) => R;
|
|
1017
|
-
}) | undefined) => [R][R extends any ? 0 : never] & Pick<Pick<import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetCartMerchantsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Count" | "CartMerchant" | "CartMerchantItem", GetCartMerchantsResponse, "buymeuaApi", unknown>>, "refetch"> & {
|
|
1017
|
+
}) | undefined) => [R][R extends any ? 0 : never] & Pick<Pick<import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetCartMerchantsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Count" | "CartMerchant" | "CartMerchantItem", GetCartMerchantsResponse, "buymeuaApi", unknown>>, "refetch"> & {
|
|
1018
1018
|
trigger: (arg: {
|
|
1019
|
-
queryArg: GetCartMerchantsRequest;
|
|
1019
|
+
queryArg: void | GetCartMerchantsRequest;
|
|
1020
1020
|
pageParam: number;
|
|
1021
|
-
}, direction: "forward" | "backward") => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetCartMerchantsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Count" | "CartMerchant" | "CartMerchantItem", GetCartMerchantsResponse, "buymeuaApi", unknown>>;
|
|
1022
|
-
fetchNextPage: () => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetCartMerchantsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Count" | "CartMerchant" | "CartMerchantItem", GetCartMerchantsResponse, "buymeuaApi", unknown>>;
|
|
1023
|
-
fetchPreviousPage: () => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetCartMerchantsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Count" | "CartMerchant" | "CartMerchantItem", GetCartMerchantsResponse, "buymeuaApi", unknown>>;
|
|
1024
|
-
}, "refetch"> & Pick<Pick<import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetCartMerchantsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Count" | "CartMerchant" | "CartMerchantItem", GetCartMerchantsResponse, "buymeuaApi", unknown>>, "refetch"> & {
|
|
1021
|
+
}, direction: "forward" | "backward") => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetCartMerchantsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Count" | "CartMerchant" | "CartMerchantItem", GetCartMerchantsResponse, "buymeuaApi", unknown>>;
|
|
1022
|
+
fetchNextPage: () => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetCartMerchantsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Count" | "CartMerchant" | "CartMerchantItem", GetCartMerchantsResponse, "buymeuaApi", unknown>>;
|
|
1023
|
+
fetchPreviousPage: () => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetCartMerchantsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Count" | "CartMerchant" | "CartMerchantItem", GetCartMerchantsResponse, "buymeuaApi", unknown>>;
|
|
1024
|
+
}, "refetch"> & Pick<Pick<import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetCartMerchantsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Count" | "CartMerchant" | "CartMerchantItem", GetCartMerchantsResponse, "buymeuaApi", unknown>>, "refetch"> & {
|
|
1025
1025
|
trigger: (arg: {
|
|
1026
|
-
queryArg: GetCartMerchantsRequest;
|
|
1026
|
+
queryArg: void | GetCartMerchantsRequest;
|
|
1027
1027
|
pageParam: number;
|
|
1028
|
-
}, direction: "forward" | "backward") => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetCartMerchantsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Count" | "CartMerchant" | "CartMerchantItem", GetCartMerchantsResponse, "buymeuaApi", unknown>>;
|
|
1029
|
-
fetchNextPage: () => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetCartMerchantsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Count" | "CartMerchant" | "CartMerchantItem", GetCartMerchantsResponse, "buymeuaApi", unknown>>;
|
|
1030
|
-
fetchPreviousPage: () => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<GetCartMerchantsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Count" | "CartMerchant" | "CartMerchantItem", GetCartMerchantsResponse, "buymeuaApi", unknown>>;
|
|
1028
|
+
}, direction: "forward" | "backward") => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetCartMerchantsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Count" | "CartMerchant" | "CartMerchantItem", GetCartMerchantsResponse, "buymeuaApi", unknown>>;
|
|
1029
|
+
fetchNextPage: () => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetCartMerchantsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Count" | "CartMerchant" | "CartMerchantItem", GetCartMerchantsResponse, "buymeuaApi", unknown>>;
|
|
1030
|
+
fetchPreviousPage: () => import("@reduxjs/toolkit/query").InfiniteQueryActionCreatorResult<import("@reduxjs/toolkit/query").InfiniteQueryDefinition<void | GetCartMerchantsRequest, number, import("@reduxjs/toolkit/query").BaseQueryFn<string | import("@reduxjs/toolkit/query").FetchArgs, unknown, import("@reduxjs/toolkit/query").FetchBaseQueryError>, "Count" | "CartMerchant" | "CartMerchantItem", GetCartMerchantsResponse, "buymeuaApi", unknown>>;
|
|
1031
1031
|
}, "fetchNextPage" | "fetchPreviousPage">, useGetCartMerchantItemsInfiniteQuery: <R extends Record<string, any> = import("@reduxjs/toolkit/query").TSHelpersId<(Omit<{
|
|
1032
1032
|
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
|
1033
1033
|
originalArgs?: undefined | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cartApi.d.ts","sourceRoot":"","sources":["../../../../src/entities/cart/api/cartApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,4BAA4B,EAC5B,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,2BAA2B,EAC3B,uBAAuB,EACvB,wBAAwB,EACxB,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,EACzB,6BAA6B,EAC7B,8BAA8B,EAC9B,6BAA6B,EAC9B,MAAM,gBAAgB,CAAC;AAcxB,eAAO,MAAM,OAAO;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"cartApi.d.ts","sourceRoot":"","sources":["../../../../src/entities/cart/api/cartApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,4BAA4B,EAC5B,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,2BAA2B,EAC3B,uBAAuB,EACvB,wBAAwB,EACxB,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,EACzB,6BAA6B,EAC7B,8BAA8B,EAC9B,6BAA6B,EAC9B,MAAM,gBAAgB,CAAC;AAcxB,eAAO,MAAM,OAAO;;;;;;;;;mPAichB,CAAC;AAEL,eAAO,MACL,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GACpB,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAChC,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CACpC,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IACpB,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAC7B,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IACjC,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IACjC,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EACnB,CAAC"}
|