@simpleapps-com/augur-hooks 1.0.0 → 1.0.2
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/dist/{chunk-6MD7RJZ2.cjs → chunk-C7JC34SM.cjs} +1 -1
- package/dist/chunk-C7JC34SM.cjs.map +1 -0
- package/dist/{chunk-6DSOHS3R.js → chunk-CPPFLOLS.js} +1 -1
- package/dist/chunk-CPPFLOLS.js.map +1 -0
- package/dist/{customer-quotes-ji9iHUmo.d.cts → customer-quotes-G2WMZu_X.d.cts} +41 -0
- package/dist/{customer-quotes-ji9iHUmo.d.ts → customer-quotes-G2WMZu_X.d.ts} +41 -0
- package/dist/index.cjs +37 -37
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +35 -2
- package/dist/index.d.ts +35 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/server.cjs +2 -2
- package/dist/server.d.cts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +1 -1
- package/package.json +3 -3
- package/dist/chunk-6DSOHS3R.js.map +0 -1
- package/dist/chunk-6MD7RJZ2.cjs.map +0 -1
|
@@ -259,11 +259,13 @@ declare function useAugurCache(): CacheConfig | undefined;
|
|
|
259
259
|
/**
|
|
260
260
|
* Generates a consistent query key for item price queries.
|
|
261
261
|
* Usable in both client hooks and server-side prefetch.
|
|
262
|
+
* @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead — query keys are derived automatically. Will be removed in the next major version.
|
|
262
263
|
*/
|
|
263
264
|
declare const getItemPriceKey: (itemId: string | undefined, customerId: string | number | undefined, quantity?: number) => readonly ["price", string, string | number | undefined, number];
|
|
264
265
|
/**
|
|
265
266
|
* Query options for item price. Accepts the SDK instance so it works
|
|
266
267
|
* in both client (via provider) and server (via direct construction).
|
|
268
|
+
* @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead. Will be removed in the next major version.
|
|
267
269
|
*/
|
|
268
270
|
declare const getItemPriceOptions: (api: AugurApiClient, itemId: string | undefined, customerId: string | number | undefined, quantity?: number, cache?: CacheConfig) => {
|
|
269
271
|
queryKey: readonly ["price", string, string | number | undefined, number];
|
|
@@ -280,11 +282,13 @@ declare const getItemPriceOptions: (api: AugurApiClient, itemId: string | undefi
|
|
|
280
282
|
/**
|
|
281
283
|
* Generates a consistent query key for inv mast doc queries.
|
|
282
284
|
* Usable in both client hooks and server-side prefetch.
|
|
285
|
+
* @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead — query keys are derived automatically. Will be removed in the next major version.
|
|
283
286
|
*/
|
|
284
287
|
declare const getInvMastDocKey: (invMastUid: number, itemId: string, includePricing: "Y" | "N") => readonly ["invMastDoc", number, string, "Y" | "N"];
|
|
285
288
|
/**
|
|
286
289
|
* Query options for inv mast doc. Accepts the SDK instance so it works
|
|
287
290
|
* in both client (via provider) and server (via direct construction).
|
|
291
|
+
* @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead. Will be removed in the next major version.
|
|
288
292
|
*/
|
|
289
293
|
declare const getInvMastDocOptions: (api: AugurApiClient, invMastUid: number, itemId: string, includePricing: "Y" | "N", cache?: CacheConfig) => {
|
|
290
294
|
queryKey: readonly ["invMastDoc", number, string, "Y" | "N"];
|
|
@@ -301,11 +305,13 @@ type ItemCategoryQueryKey = readonly [
|
|
|
301
305
|
/**
|
|
302
306
|
* Generates a consistent query key for item category queries.
|
|
303
307
|
* Usable in both client hooks and server-side prefetch.
|
|
308
|
+
* @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead — query keys are derived automatically. Will be removed in the next major version.
|
|
304
309
|
*/
|
|
305
310
|
declare const getItemCategoryKey: (itemCategoryUid: number, apiOptions?: GetItemCategoryApiOptions) => ItemCategoryQueryKey;
|
|
306
311
|
/**
|
|
307
312
|
* Query options for item category. Accepts the SDK instance so it works
|
|
308
313
|
* in both client (via provider) and server (via direct construction).
|
|
314
|
+
* @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead. Will be removed in the next major version.
|
|
309
315
|
*/
|
|
310
316
|
declare const getItemCategoryOptions: (api: AugurApiClient, itemCategoryUid: number, apiOptions?: GetItemCategoryApiOptions, cache?: CacheConfig) => {
|
|
311
317
|
queryKey: ItemCategoryQueryKey;
|
|
@@ -314,7 +320,9 @@ declare const getItemCategoryOptions: (api: AugurApiClient, itemCategoryUid: num
|
|
|
314
320
|
gcTime: number | undefined;
|
|
315
321
|
};
|
|
316
322
|
|
|
323
|
+
/** @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead — query keys are derived automatically. Will be removed in the next major version. */
|
|
317
324
|
declare const getInvMastKey: (invMastUid: number, itemId: string) => readonly ["invMast", number, string];
|
|
325
|
+
/** @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead. Will be removed in the next major version. */
|
|
318
326
|
declare const getInvMastOptions: (api: AugurApiClient, invMastUid: number, itemId: string, cache?: CacheConfig) => {
|
|
319
327
|
queryKey: readonly ["invMast", number, string];
|
|
320
328
|
queryFn: () => Promise<TItemDetails>;
|
|
@@ -322,7 +330,9 @@ declare const getInvMastOptions: (api: AugurApiClient, invMastUid: number, itemI
|
|
|
322
330
|
gcTime: number | undefined;
|
|
323
331
|
};
|
|
324
332
|
|
|
333
|
+
/** @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead — query keys are derived automatically. Will be removed in the next major version. */
|
|
325
334
|
declare const getInvMastStockKey: (invMastUid: number | string) => readonly ["invMastStock", string | number];
|
|
335
|
+
/** @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead. Will be removed in the next major version. */
|
|
326
336
|
declare const getInvMastStockOptions: (api: AugurApiClient, invMastUid: number | string, cache?: CacheConfig) => {
|
|
327
337
|
queryKey: readonly ["invMastStock", string | number];
|
|
328
338
|
queryFn: () => Promise<number>;
|
|
@@ -338,6 +348,7 @@ interface BatchInvMastDocParam {
|
|
|
338
348
|
* Generates a deterministic query key for a batch inv mast doc query.
|
|
339
349
|
* Params are sorted by uppercased itemId to ensure stable keys
|
|
340
350
|
* regardless of input order.
|
|
351
|
+
* @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead — query keys are derived automatically. Will be removed in the next major version.
|
|
341
352
|
*/
|
|
342
353
|
declare const getBatchInvMastDocKey: (params: BatchInvMastDocParam[], includePricing: "Y" | "N") => readonly ["batchInvMastDoc", string, "Y" | "N"];
|
|
343
354
|
/**
|
|
@@ -345,6 +356,7 @@ declare const getBatchInvMastDocKey: (params: BatchInvMastDocParam[], includePri
|
|
|
345
356
|
* Uses Promise.all over individual getInvMastDocOptions queryFns
|
|
346
357
|
* since queryClient is not available server-side.
|
|
347
358
|
* Failed items are silently excluded from the result.
|
|
359
|
+
* @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead. Will be removed in the next major version.
|
|
348
360
|
*/
|
|
349
361
|
declare const getBatchInvMastDocOptions: (api: AugurApiClient, params: BatchInvMastDocParam[], includePricing: "Y" | "N", cache?: CacheConfig) => {
|
|
350
362
|
queryKey: readonly ["batchInvMastDoc", string, "Y" | "N"];
|
|
@@ -381,7 +393,9 @@ type ProductCategoryResponse = {
|
|
|
381
393
|
children: TProductCategory[];
|
|
382
394
|
categoryImage: string | null;
|
|
383
395
|
};
|
|
396
|
+
/** @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead — query keys are derived automatically. Will be removed in the next major version. */
|
|
384
397
|
declare const getProductCategoryKey: (itemCategoryUid: number | string | null) => readonly ["productCategory", string | number | null];
|
|
398
|
+
/** @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead. Will be removed in the next major version. */
|
|
385
399
|
declare const getProductCategoryOptions: (api: AugurApiClient, itemCategoryUid: number | string, cache?: CacheConfig) => {
|
|
386
400
|
queryKey: readonly ["productCategory", string | number | null];
|
|
387
401
|
queryFn: () => Promise<ProductCategoryResponse>;
|
|
@@ -389,7 +403,9 @@ declare const getProductCategoryOptions: (api: AugurApiClient, itemCategoryUid:
|
|
|
389
403
|
gcTime: number | undefined;
|
|
390
404
|
};
|
|
391
405
|
|
|
406
|
+
/** @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead — query keys are derived automatically. Will be removed in the next major version. */
|
|
392
407
|
declare const getItemDetailsKey: (itemId: number | string) => readonly ["itemDetails", string | number];
|
|
408
|
+
/** @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead. Will be removed in the next major version. */
|
|
393
409
|
declare const getItemDetailsOptions: (api: AugurApiClient, itemId: number | string, cache?: CacheConfig) => {
|
|
394
410
|
queryKey: readonly ["itemDetails", string | number];
|
|
395
411
|
queryFn: () => Promise<TItemDetails>;
|
|
@@ -397,7 +413,9 @@ declare const getItemDetailsOptions: (api: AugurApiClient, itemId: number | stri
|
|
|
397
413
|
gcTime: number | undefined;
|
|
398
414
|
};
|
|
399
415
|
|
|
416
|
+
/** @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead — query keys are derived automatically. Will be removed in the next major version. */
|
|
400
417
|
declare const getItemAttributesKey: (itemCategoryUid: number | string | null) => readonly ["itemAttributes", string | number | null];
|
|
418
|
+
/** @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead. Will be removed in the next major version. */
|
|
401
419
|
declare const getItemAttributesOptions: (api: AugurApiClient, itemCategoryUid: number | string, cache?: CacheConfig) => {
|
|
402
420
|
queryKey: readonly ["itemAttributes", string | number | null];
|
|
403
421
|
queryFn: () => Promise<any>;
|
|
@@ -411,11 +429,13 @@ type ProductSearchResponse = {
|
|
|
411
429
|
};
|
|
412
430
|
/**
|
|
413
431
|
* Generates a consistent query key for product search queries.
|
|
432
|
+
* @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead — query keys are derived automatically. Will be removed in the next major version.
|
|
414
433
|
*/
|
|
415
434
|
declare const getProductSearchKey: (pageData: PageData) => readonly ["productSearch", string, number, number, string, number | undefined];
|
|
416
435
|
/**
|
|
417
436
|
* Query options for product search. Accepts the SDK instance so it works
|
|
418
437
|
* in both client (via provider) and server (via direct construction).
|
|
438
|
+
* @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead. Will be removed in the next major version.
|
|
419
439
|
*/
|
|
420
440
|
declare const getProductSearchOptions: (api: AugurApiClient, pageData: PageData, cache?: CacheConfig) => {
|
|
421
441
|
queryKey: readonly ["productSearch", string, number, number, string, number | undefined];
|
|
@@ -426,11 +446,13 @@ declare const getProductSearchOptions: (api: AugurApiClient, pageData: PageData,
|
|
|
426
446
|
|
|
427
447
|
/**
|
|
428
448
|
* Generates a consistent query key for search suggestion queries.
|
|
449
|
+
* @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead — query keys are derived automatically. Will be removed in the next major version.
|
|
429
450
|
*/
|
|
430
451
|
declare const getSearchSuggestionsKey: (query: string, limit: number, offset: number) => readonly ["searchSuggestions", string, number, number];
|
|
431
452
|
/**
|
|
432
453
|
* Query options for search suggestions. Accepts the SDK instance so it works
|
|
433
454
|
* in both client (via provider) and server (via direct construction).
|
|
455
|
+
* @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead. Will be removed in the next major version.
|
|
434
456
|
*/
|
|
435
457
|
declare const getSearchSuggestionsOptions: (api: AugurApiClient, query: string, limit?: number, offset?: number, cache?: CacheConfig) => {
|
|
436
458
|
queryKey: readonly ["searchSuggestions", string, number, number];
|
|
@@ -441,6 +463,7 @@ declare const getSearchSuggestionsOptions: (api: AugurApiClient, query: string,
|
|
|
441
463
|
|
|
442
464
|
/**
|
|
443
465
|
* Get cart pricing query options for prefetching or parent components.
|
|
466
|
+
* @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead. Will be removed in the next major version.
|
|
444
467
|
*/
|
|
445
468
|
declare function getCartPricingQueryOptions(api: AugurApiClient, cartLines: Array<{
|
|
446
469
|
itemId: string;
|
|
@@ -458,10 +481,12 @@ declare function getCartPricingQueryOptions(api: AugurApiClient, cartLines: Arra
|
|
|
458
481
|
};
|
|
459
482
|
}[];
|
|
460
483
|
|
|
484
|
+
/** @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead — query keys are derived automatically. Will be removed in the next major version. */
|
|
461
485
|
declare const getCategoryItemsInfiniteKey: (itemCategoryUid: number, itemsFilters: TItemsFilters) => readonly ["categoryItemsInfinite", number, string];
|
|
462
486
|
/**
|
|
463
487
|
* Full infinite query options for category items.
|
|
464
488
|
* Usable for server-side prefetch with `queryClient.prefetchInfiniteQuery()`.
|
|
489
|
+
* @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead. Will be removed in the next major version.
|
|
465
490
|
*/
|
|
466
491
|
declare const getCategoryItemsInfiniteOptions: (api: AugurApiClient, itemCategoryUid: number, itemsFilters: TItemsFilters, cache?: CacheConfig) => {
|
|
467
492
|
queryKey: readonly ["categoryItemsInfinite", number, string];
|
|
@@ -474,10 +499,12 @@ declare const getCategoryItemsInfiniteOptions: (api: AugurApiClient, itemCategor
|
|
|
474
499
|
gcTime: number | undefined;
|
|
475
500
|
};
|
|
476
501
|
|
|
502
|
+
/** @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead — query keys are derived automatically. Will be removed in the next major version. */
|
|
477
503
|
declare const getItemSearchInfiniteKey: (itemsFilters: TItemsFilters, itemCategoryUid?: number | string) => readonly ["itemSearchInfinite", string, string | number | undefined];
|
|
478
504
|
/**
|
|
479
505
|
* Full infinite query options for item search.
|
|
480
506
|
* Usable for server-side prefetch with `queryClient.prefetchInfiniteQuery()`.
|
|
507
|
+
* @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead. Will be removed in the next major version.
|
|
481
508
|
*/
|
|
482
509
|
declare const getItemSearchInfiniteOptions: (api: AugurApiClient, itemsFilters: TItemsFilters, itemCategoryUid?: number | string, cache?: CacheConfig) => {
|
|
483
510
|
queryKey: readonly ["itemSearchInfinite", string, string | number | undefined];
|
|
@@ -493,7 +520,9 @@ declare const getItemSearchInfiniteOptions: (api: AugurApiClient, itemsFilters:
|
|
|
493
520
|
};
|
|
494
521
|
};
|
|
495
522
|
|
|
523
|
+
/** @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead — query keys are derived automatically. Will be removed in the next major version. */
|
|
496
524
|
declare const getJoomlaContentKey: (articleId: number | string) => readonly ["joomlaContent", string | number];
|
|
525
|
+
/** @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead. Will be removed in the next major version. */
|
|
497
526
|
declare const getJoomlaContentOptions: (api: AugurApiClient, articleId: number | string, cache?: CacheConfig) => {
|
|
498
527
|
queryKey: readonly ["joomlaContent", string | number];
|
|
499
528
|
queryFn: () => Promise<TJoomlaContent>;
|
|
@@ -501,7 +530,9 @@ declare const getJoomlaContentOptions: (api: AugurApiClient, articleId: number |
|
|
|
501
530
|
gcTime: number | undefined;
|
|
502
531
|
};
|
|
503
532
|
|
|
533
|
+
/** @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead — query keys are derived automatically. Will be removed in the next major version. */
|
|
504
534
|
declare const getJoomlaContentListKey: (categoryId: number | string, filters?: Partial<TJoomlaContentFilters>) => readonly ["joomlaContentList", string | number, Partial<TJoomlaContentFilters> | undefined];
|
|
535
|
+
/** @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead. Will be removed in the next major version. */
|
|
505
536
|
declare const getJoomlaContentListOptions: (api: AugurApiClient, categoryId: number | string, filters?: Partial<TJoomlaContentFilters>, cache?: CacheConfig) => {
|
|
506
537
|
queryKey: readonly ["joomlaContentList", string | number, Partial<TJoomlaContentFilters> | undefined];
|
|
507
538
|
queryFn: () => Promise<TJoomlaContent[]>;
|
|
@@ -509,7 +540,9 @@ declare const getJoomlaContentListOptions: (api: AugurApiClient, categoryId: num
|
|
|
509
540
|
gcTime: number | undefined;
|
|
510
541
|
};
|
|
511
542
|
|
|
543
|
+
/** @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead — query keys are derived automatically. Will be removed in the next major version. */
|
|
512
544
|
declare const getJoomlaMenuKey: (filters?: Partial<TMenuFilters>) => readonly ["joomlaMenu", Partial<TMenuFilters> | undefined];
|
|
545
|
+
/** @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead. Will be removed in the next major version. */
|
|
513
546
|
declare const getJoomlaMenuOptions: (api: AugurApiClient, filters?: Partial<TMenuFilters>, cache?: CacheConfig) => {
|
|
514
547
|
queryKey: readonly ["joomlaMenu", Partial<TMenuFilters> | undefined];
|
|
515
548
|
queryFn: () => Promise<MenuItem[]>;
|
|
@@ -517,7 +550,9 @@ declare const getJoomlaMenuOptions: (api: AugurApiClient, filters?: Partial<TMen
|
|
|
517
550
|
gcTime: number | undefined;
|
|
518
551
|
};
|
|
519
552
|
|
|
553
|
+
/** @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead — query keys are derived automatically. Will be removed in the next major version. */
|
|
520
554
|
declare const getJoomlaMenuDocKey: (menuId: number | string) => readonly ["joomlaMenuDoc", string | number];
|
|
555
|
+
/** @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead. Will be removed in the next major version. */
|
|
521
556
|
declare const getJoomlaMenuDocOptions: (api: AugurApiClient, menuId: number | string, cache?: CacheConfig) => {
|
|
522
557
|
queryKey: readonly ["joomlaMenuDoc", string | number];
|
|
523
558
|
queryFn: () => Promise<MenuItem>;
|
|
@@ -525,13 +560,19 @@ declare const getJoomlaMenuDocOptions: (api: AugurApiClient, menuId: number | st
|
|
|
525
560
|
gcTime: number | undefined;
|
|
526
561
|
};
|
|
527
562
|
|
|
563
|
+
/** @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead — query keys are derived automatically. Will be removed in the next major version. */
|
|
528
564
|
declare const getCustomerOrdersKey: (customerId: number | string | undefined, params?: Record<string, unknown>) => readonly ["customerOrders", string | number | undefined, Record<string, unknown> | undefined];
|
|
565
|
+
/** @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead — query keys are derived automatically. Will be removed in the next major version. */
|
|
529
566
|
declare const getCustomerOrderDetailKey: (customerId: number | string | undefined, orderId: number | string | undefined) => readonly ["customerOrderDetail", string | number | undefined, string | number | undefined];
|
|
530
567
|
|
|
568
|
+
/** @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead — query keys are derived automatically. Will be removed in the next major version. */
|
|
531
569
|
declare const getCustomerInvoicesKey: (customerId: number | string | undefined, params?: Record<string, unknown>) => readonly ["customerInvoices", string | number | undefined, Record<string, unknown> | undefined];
|
|
570
|
+
/** @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead — query keys are derived automatically. Will be removed in the next major version. */
|
|
532
571
|
declare const getCustomerInvoiceDetailKey: (customerId: number | string | undefined, invoiceNo: number | string | undefined) => readonly ["customerInvoiceDetail", string | number | undefined, string | number | undefined];
|
|
533
572
|
|
|
573
|
+
/** @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead — query keys are derived automatically. Will be removed in the next major version. */
|
|
534
574
|
declare const getCustomerQuotesKey: (customerId: number | string | undefined, params?: Record<string, unknown>) => readonly ["customerQuotes", string | number | undefined, Record<string, unknown> | undefined];
|
|
575
|
+
/** @deprecated Use `useAugurOptions()` or `createAugurOptions()` instead — query keys are derived automatically. Will be removed in the next major version. */
|
|
535
576
|
declare const getCustomerQuoteDetailKey: (customerId: number | string | undefined, quoteNo: number | string | undefined) => readonly ["customerQuoteDetail", string | number | undefined, string | number | undefined];
|
|
536
577
|
|
|
537
578
|
export { useAugurApiOptional as $, type AugurCallbacks as A, type BatchInvMastDocParam as B, getItemCategoryOptions as C, getItemDetailsKey as D, getItemDetailsOptions as E, getItemPriceKey as F, type GetItemCategoryApiOptions as G, getItemPriceOptions as H, getItemSearchInfiniteKey as I, getItemSearchInfiniteOptions as J, getJoomlaContentKey as K, getJoomlaContentListKey as L, getJoomlaContentListOptions as M, getJoomlaContentOptions as N, getJoomlaMenuDocKey as O, type PageData as P, getJoomlaMenuDocOptions as Q, getJoomlaMenuKey as R, type SearchSuggestionsResponse as S, getJoomlaMenuOptions as T, getProductCategoryKey as U, getProductCategoryOptions as V, getProductSearchKey as W, getProductSearchOptions as X, getSearchSuggestionsKey as Y, getSearchSuggestionsOptions as Z, useAugurApi as _, type SearchSuggestion as a, useAugurAuth as a0, useAugurCache as a1, useAugurOptions as a2, type AugurApiClient as b, type PersistenceConfig as c, AugurHooksProvider as d, type BatchQueryConfig as e, executeBatchQuery as f, getBatchInvMastDocKey as g, getBatchInvMastDocOptions as h, getCartPricingQueryOptions as i, getCategoryItemsInfiniteKey as j, getCategoryItemsInfiniteOptions as k, getCustomerInvoiceDetailKey as l, getCustomerInvoicesKey as m, getCustomerOrderDetailKey as n, getCustomerOrdersKey as o, getCustomerQuoteDetailKey as p, getCustomerQuotesKey as q, getInvMastDocKey as r, getInvMastDocOptions as s, getInvMastKey as t, getInvMastOptions as u, getInvMastStockKey as v, getInvMastStockOptions as w, getItemAttributesKey as x, getItemAttributesOptions as y, getItemCategoryKey as z };
|
package/dist/index.cjs
CHANGED
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
var
|
|
44
|
+
var _chunkC7JC34SMcjs = require('./chunk-C7JC34SM.cjs');
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
var _chunkAXCNTEABcjs = require('./chunk-AXCNTEAB.cjs');
|
|
@@ -206,7 +206,7 @@ function useItemPrice(itemId, customerId, quantity = 1, options = {}) {
|
|
|
206
206
|
const auth = useAugurAuth();
|
|
207
207
|
const cache = useAugurCache();
|
|
208
208
|
const effectiveCustomerId = _nullishCoalesce(customerId, () => ( _optionalChain([auth, 'optionalAccess', _ => _.customerId])));
|
|
209
|
-
const defaultOptions =
|
|
209
|
+
const defaultOptions = _chunkC7JC34SMcjs.getItemPriceOptions.call(void 0, api, itemId, effectiveCustomerId, quantity, cache);
|
|
210
210
|
const resolvedQueryFn = _nullishCoalesce(options.queryFn, () => ( (_optionalChain([callbacks, 'optionalAccess', _2 => _2.getItemPrice]) ? () => callbacks.getItemPrice(itemId, effectiveCustomerId, quantity) : void 0)));
|
|
211
211
|
return _reactquery.useQuery.call(void 0, {
|
|
212
212
|
...defaultOptions,
|
|
@@ -222,7 +222,7 @@ function useInvMastDoc(invMastUid, itemId, options = {}) {
|
|
|
222
222
|
const api = useAugurApiOptional();
|
|
223
223
|
const callbacks = useAugurCallbacks();
|
|
224
224
|
const cache = useAugurCache();
|
|
225
|
-
const queryOpts =
|
|
225
|
+
const queryOpts = _chunkC7JC34SMcjs.getInvMastDocOptions.call(void 0,
|
|
226
226
|
api,
|
|
227
227
|
invMastUid,
|
|
228
228
|
itemId,
|
|
@@ -244,7 +244,7 @@ function useItemCategory(itemCategoryUid, options = {}) {
|
|
|
244
244
|
const api = useAugurApiOptional();
|
|
245
245
|
const callbacks = useAugurCallbacks();
|
|
246
246
|
const cache = useAugurCache();
|
|
247
|
-
const queryOpts =
|
|
247
|
+
const queryOpts = _chunkC7JC34SMcjs.getItemCategoryOptions.call(void 0,
|
|
248
248
|
api,
|
|
249
249
|
itemCategoryUid,
|
|
250
250
|
options.apiOptions,
|
|
@@ -264,7 +264,7 @@ function useInvMast(invMastUid, itemId, options = {}) {
|
|
|
264
264
|
const api = useAugurApiOptional();
|
|
265
265
|
const callbacks = useAugurCallbacks();
|
|
266
266
|
const cache = useAugurCache();
|
|
267
|
-
const queryOpts =
|
|
267
|
+
const queryOpts = _chunkC7JC34SMcjs.getInvMastOptions.call(void 0, api, invMastUid, itemId, cache);
|
|
268
268
|
const { data, isLoading, error } = _reactquery.useQuery.call(void 0, {
|
|
269
269
|
...queryOpts,
|
|
270
270
|
..._nullishCoalesce(options.queryFn, () => ( _optionalChain([callbacks, 'optionalAccess', _5 => _5.getInvMast]))) ? { queryFn: _nullishCoalesce(options.queryFn, () => ( (() => callbacks.getInvMast(invMastUid, itemId)))) } : {},
|
|
@@ -279,7 +279,7 @@ function useInvMastStock(invMastUid, options = {}) {
|
|
|
279
279
|
const api = useAugurApiOptional();
|
|
280
280
|
const callbacks = useAugurCallbacks();
|
|
281
281
|
const cache = useAugurCache();
|
|
282
|
-
const queryOpts =
|
|
282
|
+
const queryOpts = _chunkC7JC34SMcjs.getInvMastStockOptions.call(void 0, api, invMastUid, cache);
|
|
283
283
|
const { data, isLoading, error } = _reactquery.useQuery.call(void 0, {
|
|
284
284
|
...queryOpts,
|
|
285
285
|
..._nullishCoalesce(options.queryFn, () => ( _optionalChain([callbacks, 'optionalAccess', _6 => _6.getInvMastStock]))) ? { queryFn: _nullishCoalesce(options.queryFn, () => ( (() => callbacks.getInvMastStock(invMastUid)))) } : {},
|
|
@@ -304,7 +304,7 @@ function useBatchInvMastDoc(params, options = {}) {
|
|
|
304
304
|
const cache = useAugurCache();
|
|
305
305
|
const queryClient = _reactquery.useQueryClient.call(void 0, );
|
|
306
306
|
const includePricing = _nullishCoalesce(options.includePricing, () => ( "N"));
|
|
307
|
-
const batchOpts =
|
|
307
|
+
const batchOpts = _chunkC7JC34SMcjs.getBatchInvMastDocOptions.call(void 0, api, params, includePricing, cache);
|
|
308
308
|
const resolveFetchItems = (uncached) => {
|
|
309
309
|
if (options.queryFn) {
|
|
310
310
|
return options.queryFn(uncached, includePricing);
|
|
@@ -312,18 +312,18 @@ function useBatchInvMastDoc(params, options = {}) {
|
|
|
312
312
|
if (_optionalChain([callbacks, 'optionalAccess', _7 => _7.batchGetInvMastDocs])) {
|
|
313
313
|
return callbacks.batchGetInvMastDocs(uncached, includePricing);
|
|
314
314
|
}
|
|
315
|
-
const fallbackOpts =
|
|
315
|
+
const fallbackOpts = _chunkC7JC34SMcjs.getBatchInvMastDocOptions.call(void 0, api, uncached, includePricing, cache);
|
|
316
316
|
return fallbackOpts.queryFn();
|
|
317
317
|
};
|
|
318
318
|
const { data, isLoading, error } = _reactquery.useQuery.call(void 0, {
|
|
319
319
|
queryKey: batchOpts.queryKey,
|
|
320
|
-
queryFn: () =>
|
|
320
|
+
queryFn: () => _chunkC7JC34SMcjs.executeBatchQuery.call(void 0, {
|
|
321
321
|
params,
|
|
322
322
|
queryClient,
|
|
323
|
-
getItemKey: (p) =>
|
|
323
|
+
getItemKey: (p) => _chunkC7JC34SMcjs.getInvMastDocKey.call(void 0, p.invMastUid, p.itemId, includePricing),
|
|
324
324
|
getResultKey: (p) => p.itemId.toUpperCase(),
|
|
325
325
|
fetchItems: resolveFetchItems,
|
|
326
|
-
getSeedKey: (_key, doc) =>
|
|
326
|
+
getSeedKey: (_key, doc) => _chunkC7JC34SMcjs.getInvMastDocKey.call(void 0, doc.invMastUid, doc.itemId, includePricing)
|
|
327
327
|
}),
|
|
328
328
|
staleTime: batchOpts.staleTime,
|
|
329
329
|
gcTime: batchOpts.gcTime,
|
|
@@ -346,8 +346,8 @@ function useProductCategory(itemCategoryUid, options = {}) {
|
|
|
346
346
|
const api = useAugurApiOptional();
|
|
347
347
|
const callbacks = useAugurCallbacks();
|
|
348
348
|
const cache = useAugurCache();
|
|
349
|
-
const baseOptions = itemCategoryUid ?
|
|
350
|
-
queryKey:
|
|
349
|
+
const baseOptions = itemCategoryUid ? _chunkC7JC34SMcjs.getProductCategoryOptions.call(void 0, api, itemCategoryUid, cache) : {
|
|
350
|
+
queryKey: _chunkC7JC34SMcjs.getProductCategoryKey.call(void 0, null),
|
|
351
351
|
/* v8 ignore next */
|
|
352
352
|
queryFn: () => Promise.reject()
|
|
353
353
|
};
|
|
@@ -375,8 +375,8 @@ function useItemDetails(itemId, options = {}) {
|
|
|
375
375
|
const callbacks = useAugurCallbacks();
|
|
376
376
|
const cache = useAugurCache();
|
|
377
377
|
const { data, isLoading, error } = _reactquery.useQuery.call(void 0, {
|
|
378
|
-
...itemId ?
|
|
379
|
-
queryKey:
|
|
378
|
+
...itemId ? _chunkC7JC34SMcjs.getItemDetailsOptions.call(void 0, api, itemId, cache) : {
|
|
379
|
+
queryKey: _chunkC7JC34SMcjs.getItemDetailsKey.call(void 0, ""),
|
|
380
380
|
/* v8 ignore next */
|
|
381
381
|
queryFn: () => Promise.reject()
|
|
382
382
|
},
|
|
@@ -403,8 +403,8 @@ function useItemAttributes(itemCategoryUid, options = {}) {
|
|
|
403
403
|
const callbacks = useAugurCallbacks();
|
|
404
404
|
const cache = useAugurCache();
|
|
405
405
|
const { data, isLoading, error } = _reactquery.useQuery.call(void 0, {
|
|
406
|
-
...itemCategoryUid ?
|
|
407
|
-
queryKey:
|
|
406
|
+
...itemCategoryUid ? _chunkC7JC34SMcjs.getItemAttributesOptions.call(void 0, api, itemCategoryUid, cache) : {
|
|
407
|
+
queryKey: _chunkC7JC34SMcjs.getItemAttributesKey.call(void 0, null),
|
|
408
408
|
/* v8 ignore next */
|
|
409
409
|
queryFn: () => Promise.reject()
|
|
410
410
|
},
|
|
@@ -428,7 +428,7 @@ function useProductSearch(pageData, options = {}) {
|
|
|
428
428
|
const api = useAugurApiOptional();
|
|
429
429
|
const callbacks = useAugurCallbacks();
|
|
430
430
|
const cache = useAugurCache();
|
|
431
|
-
const defaultOptions =
|
|
431
|
+
const defaultOptions = _chunkC7JC34SMcjs.getProductSearchOptions.call(void 0, api, pageData, cache);
|
|
432
432
|
const { data, isLoading, error } = _reactquery.useQuery.call(void 0, {
|
|
433
433
|
...defaultOptions,
|
|
434
434
|
..._nullishCoalesce(options.queryFn, () => ( _optionalChain([callbacks, 'optionalAccess', _17 => _17.getProductSearch]))) ? { queryFn: _nullishCoalesce(options.queryFn, () => ( (() => callbacks.getProductSearch(pageData)))) } : {},
|
|
@@ -454,7 +454,7 @@ function useSearchSuggestions(query, options = {}) {
|
|
|
454
454
|
const limit = _nullishCoalesce(options.limit, () => ( 10));
|
|
455
455
|
const offset = _nullishCoalesce(options.offset, () => ( 0));
|
|
456
456
|
const enabled = (_nullishCoalesce(options.enabled, () => ( true))) && query.trim().length > 0;
|
|
457
|
-
const defaultOptions =
|
|
457
|
+
const defaultOptions = _chunkC7JC34SMcjs.getSearchSuggestionsOptions.call(void 0, api, query, limit, offset, cache);
|
|
458
458
|
const { data, isLoading, error } = _reactquery.useQuery.call(void 0, {
|
|
459
459
|
...defaultOptions,
|
|
460
460
|
..._nullishCoalesce(options.queryFn, () => ( _optionalChain([callbacks, 'optionalAccess', _20 => _20.getSearchSuggestions]))) ? { queryFn: _nullishCoalesce(options.queryFn, () => ( (() => callbacks.getSearchSuggestions(query, limit, offset)))) } : {},
|
|
@@ -765,12 +765,12 @@ function useCartPricing(options = {}) {
|
|
|
765
765
|
const priceQueries = _reactquery.useQueries.call(void 0, {
|
|
766
766
|
queries: cartLines.map((line) => {
|
|
767
767
|
const base = priceFn ? {
|
|
768
|
-
queryKey:
|
|
768
|
+
queryKey: _chunkC7JC34SMcjs.getItemPriceKey.call(void 0, line.itemId, customerId, line.quantity),
|
|
769
769
|
queryFn: () => priceFn(line.itemId, customerId, line.quantity),
|
|
770
770
|
refetchOnReconnect: true,
|
|
771
771
|
refetchOnWindowFocus: false,
|
|
772
772
|
meta: { persist: true }
|
|
773
|
-
} :
|
|
773
|
+
} : _chunkC7JC34SMcjs.getItemPriceOptions.call(void 0, api, line.itemId, customerId, line.quantity, cache);
|
|
774
774
|
return {
|
|
775
775
|
...base,
|
|
776
776
|
enabled: !!customerId && !!line.itemId
|
|
@@ -870,7 +870,7 @@ function useCategoryItemsInfinite(itemCategoryUid, itemsFilters, options = {}) {
|
|
|
870
870
|
const callbacks = useAugurCallbacks();
|
|
871
871
|
const cache = useAugurCache();
|
|
872
872
|
const { enabled = true } = options;
|
|
873
|
-
const defaultOptions =
|
|
873
|
+
const defaultOptions = _chunkC7JC34SMcjs.getCategoryItemsInfiniteOptions.call(void 0,
|
|
874
874
|
api,
|
|
875
875
|
itemCategoryUid,
|
|
876
876
|
itemsFilters,
|
|
@@ -897,7 +897,7 @@ function useItemSearchInfinite(itemsFilters, itemCategoryUid, options = {}) {
|
|
|
897
897
|
const callbacks = useAugurCallbacks();
|
|
898
898
|
const cache = useAugurCache();
|
|
899
899
|
const { enabled = true } = options;
|
|
900
|
-
const defaultOptions =
|
|
900
|
+
const defaultOptions = _chunkC7JC34SMcjs.getItemSearchInfiniteOptions.call(void 0,
|
|
901
901
|
api,
|
|
902
902
|
itemsFilters,
|
|
903
903
|
itemCategoryUid,
|
|
@@ -924,8 +924,8 @@ function useJoomlaContent(articleId, options = {}) {
|
|
|
924
924
|
const callbacks = useAugurCallbacks();
|
|
925
925
|
const cache = useAugurCache();
|
|
926
926
|
const { data, isLoading, error } = _reactquery.useQuery.call(void 0, {
|
|
927
|
-
...articleId ?
|
|
928
|
-
queryKey:
|
|
927
|
+
...articleId ? _chunkC7JC34SMcjs.getJoomlaContentOptions.call(void 0, api, articleId, cache) : {
|
|
928
|
+
queryKey: _chunkC7JC34SMcjs.getJoomlaContentKey.call(void 0, ""),
|
|
929
929
|
/* v8 ignore next */
|
|
930
930
|
queryFn: () => Promise.reject()
|
|
931
931
|
},
|
|
@@ -946,8 +946,8 @@ function useJoomlaContentList(categoryId, options = {}) {
|
|
|
946
946
|
const callbacks = useAugurCallbacks();
|
|
947
947
|
const cache = useAugurCache();
|
|
948
948
|
const { data, isLoading, error } = _reactquery.useQuery.call(void 0, {
|
|
949
|
-
...categoryId ?
|
|
950
|
-
queryKey:
|
|
949
|
+
...categoryId ? _chunkC7JC34SMcjs.getJoomlaContentListOptions.call(void 0, api, categoryId, options.filters, cache) : {
|
|
950
|
+
queryKey: _chunkC7JC34SMcjs.getJoomlaContentListKey.call(void 0, ""),
|
|
951
951
|
/* v8 ignore next */
|
|
952
952
|
queryFn: () => Promise.reject()
|
|
953
953
|
},
|
|
@@ -970,7 +970,7 @@ function useJoomlaMenu(options = {}) {
|
|
|
970
970
|
const callbacks = useAugurCallbacks();
|
|
971
971
|
const cache = useAugurCache();
|
|
972
972
|
const { data, isLoading, error } = _reactquery.useQuery.call(void 0, {
|
|
973
|
-
...
|
|
973
|
+
..._chunkC7JC34SMcjs.getJoomlaMenuOptions.call(void 0, api, options.filters, cache),
|
|
974
974
|
..._nullishCoalesce(options.queryFn, () => ( _optionalChain([callbacks, 'optionalAccess', _56 => _56.getJoomlaMenu]))) ? {
|
|
975
975
|
queryFn: _nullishCoalesce(options.queryFn, () => ( (() => callbacks.getJoomlaMenu(options.filters))))
|
|
976
976
|
} : {},
|
|
@@ -990,8 +990,8 @@ function useJoomlaMenuDoc(menuId, options = {}) {
|
|
|
990
990
|
const callbacks = useAugurCallbacks();
|
|
991
991
|
const cache = useAugurCache();
|
|
992
992
|
const { data, isLoading, error } = _reactquery.useQuery.call(void 0, {
|
|
993
|
-
...menuId ?
|
|
994
|
-
queryKey:
|
|
993
|
+
...menuId ? _chunkC7JC34SMcjs.getJoomlaMenuDocOptions.call(void 0, api, menuId, cache) : {
|
|
994
|
+
queryKey: _chunkC7JC34SMcjs.getJoomlaMenuDocKey.call(void 0, ""),
|
|
995
995
|
/* v8 ignore next */
|
|
996
996
|
queryFn: () => Promise.reject()
|
|
997
997
|
},
|
|
@@ -1012,7 +1012,7 @@ function useCustomerOrders(customerId, params, options = {}) {
|
|
|
1012
1012
|
const auth = useAugurAuth();
|
|
1013
1013
|
const effectiveCustomerId = _nullishCoalesce(customerId, () => ( _optionalChain([auth, 'optionalAccess', _58 => _58.customerId])));
|
|
1014
1014
|
const { data, isLoading, error } = _reactquery.useQuery.call(void 0, {
|
|
1015
|
-
queryKey:
|
|
1015
|
+
queryKey: _chunkC7JC34SMcjs.getCustomerOrdersKey.call(void 0, effectiveCustomerId, params),
|
|
1016
1016
|
queryFn: _nullishCoalesce(options.queryFn, () => ( (() => callbacks.getCustomerOrders(effectiveCustomerId, params)))),
|
|
1017
1017
|
enabled: (_nullishCoalesce(options.enabled, () => ( true))) && !!effectiveCustomerId && !!(_nullishCoalesce(options.queryFn, () => ( _optionalChain([callbacks, 'optionalAccess', _59 => _59.getCustomerOrders]))))
|
|
1018
1018
|
});
|
|
@@ -1028,7 +1028,7 @@ function useOrderDetail(customerId, orderId, options = {}) {
|
|
|
1028
1028
|
const auth = useAugurAuth();
|
|
1029
1029
|
const effectiveCustomerId = _nullishCoalesce(customerId, () => ( _optionalChain([auth, 'optionalAccess', _62 => _62.customerId])));
|
|
1030
1030
|
const { data, isLoading, error } = _reactquery.useQuery.call(void 0, {
|
|
1031
|
-
queryKey:
|
|
1031
|
+
queryKey: _chunkC7JC34SMcjs.getCustomerOrderDetailKey.call(void 0, effectiveCustomerId, orderId),
|
|
1032
1032
|
queryFn: _nullishCoalesce(options.queryFn, () => ( (() => callbacks.getCustomerOrderDetail(effectiveCustomerId, orderId)))),
|
|
1033
1033
|
enabled: (_nullishCoalesce(options.enabled, () => ( true))) && !!effectiveCustomerId && !!orderId && !!(_nullishCoalesce(options.queryFn, () => ( _optionalChain([callbacks, 'optionalAccess', _63 => _63.getCustomerOrderDetail]))))
|
|
1034
1034
|
});
|
|
@@ -1046,7 +1046,7 @@ function useCustomerInvoices(customerId, params, options = {}) {
|
|
|
1046
1046
|
const auth = useAugurAuth();
|
|
1047
1047
|
const effectiveCustomerId = _nullishCoalesce(customerId, () => ( _optionalChain([auth, 'optionalAccess', _64 => _64.customerId])));
|
|
1048
1048
|
const { data, isLoading, error } = _reactquery.useQuery.call(void 0, {
|
|
1049
|
-
queryKey:
|
|
1049
|
+
queryKey: _chunkC7JC34SMcjs.getCustomerInvoicesKey.call(void 0, effectiveCustomerId, params),
|
|
1050
1050
|
queryFn: _nullishCoalesce(options.queryFn, () => ( (() => callbacks.getCustomerInvoices(effectiveCustomerId, params)))),
|
|
1051
1051
|
enabled: (_nullishCoalesce(options.enabled, () => ( true))) && !!effectiveCustomerId && !!(_nullishCoalesce(options.queryFn, () => ( _optionalChain([callbacks, 'optionalAccess', _65 => _65.getCustomerInvoices]))))
|
|
1052
1052
|
});
|
|
@@ -1062,7 +1062,7 @@ function useInvoiceDetail(customerId, invoiceNo, options = {}) {
|
|
|
1062
1062
|
const auth = useAugurAuth();
|
|
1063
1063
|
const effectiveCustomerId = _nullishCoalesce(customerId, () => ( _optionalChain([auth, 'optionalAccess', _68 => _68.customerId])));
|
|
1064
1064
|
const { data, isLoading, error } = _reactquery.useQuery.call(void 0, {
|
|
1065
|
-
queryKey:
|
|
1065
|
+
queryKey: _chunkC7JC34SMcjs.getCustomerInvoiceDetailKey.call(void 0, effectiveCustomerId, invoiceNo),
|
|
1066
1066
|
queryFn: _nullishCoalesce(options.queryFn, () => ( (() => callbacks.getCustomerInvoiceDetail(
|
|
1067
1067
|
effectiveCustomerId,
|
|
1068
1068
|
invoiceNo
|
|
@@ -1083,7 +1083,7 @@ function useCustomerQuotes(customerId, params, options = {}) {
|
|
|
1083
1083
|
const auth = useAugurAuth();
|
|
1084
1084
|
const effectiveCustomerId = _nullishCoalesce(customerId, () => ( _optionalChain([auth, 'optionalAccess', _70 => _70.customerId])));
|
|
1085
1085
|
const { data, isLoading, error } = _reactquery.useQuery.call(void 0, {
|
|
1086
|
-
queryKey:
|
|
1086
|
+
queryKey: _chunkC7JC34SMcjs.getCustomerQuotesKey.call(void 0, effectiveCustomerId, params),
|
|
1087
1087
|
queryFn: _nullishCoalesce(options.queryFn, () => ( (() => callbacks.getCustomerQuotes(effectiveCustomerId, params)))),
|
|
1088
1088
|
enabled: (_nullishCoalesce(options.enabled, () => ( true))) && !!effectiveCustomerId && !!(_nullishCoalesce(options.queryFn, () => ( _optionalChain([callbacks, 'optionalAccess', _71 => _71.getCustomerQuotes]))))
|
|
1089
1089
|
});
|
|
@@ -1099,7 +1099,7 @@ function useQuoteDetail(customerId, quoteNo, options = {}) {
|
|
|
1099
1099
|
const auth = useAugurAuth();
|
|
1100
1100
|
const effectiveCustomerId = _nullishCoalesce(customerId, () => ( _optionalChain([auth, 'optionalAccess', _74 => _74.customerId])));
|
|
1101
1101
|
const { data, isLoading, error } = _reactquery.useQuery.call(void 0, {
|
|
1102
|
-
queryKey:
|
|
1102
|
+
queryKey: _chunkC7JC34SMcjs.getCustomerQuoteDetailKey.call(void 0, effectiveCustomerId, quoteNo),
|
|
1103
1103
|
queryFn: _nullishCoalesce(options.queryFn, () => ( (() => callbacks.getCustomerQuoteDetail(effectiveCustomerId, quoteNo)))),
|
|
1104
1104
|
enabled: (_nullishCoalesce(options.enabled, () => ( true))) && !!effectiveCustomerId && !!quoteNo && !!(_nullishCoalesce(options.queryFn, () => ( _optionalChain([callbacks, 'optionalAccess', _75 => _75.getCustomerQuoteDetail]))))
|
|
1105
1105
|
});
|
|
@@ -1432,5 +1432,5 @@ function useAugurPersistence(config) {
|
|
|
1432
1432
|
|
|
1433
1433
|
|
|
1434
1434
|
|
|
1435
|
-
exports.AugurHooksProvider = AugurHooksProvider; exports.createSiteHooks = createSiteHooks; exports.executeBatchQuery =
|
|
1435
|
+
exports.AugurHooksProvider = AugurHooksProvider; exports.createSiteHooks = createSiteHooks; exports.executeBatchQuery = _chunkC7JC34SMcjs.executeBatchQuery; exports.getBatchInvMastDocKey = _chunkC7JC34SMcjs.getBatchInvMastDocKey; exports.getBatchInvMastDocOptions = _chunkC7JC34SMcjs.getBatchInvMastDocOptions; exports.getCartPricingQueryOptions = _chunkC7JC34SMcjs.getCartPricingQueryOptions; exports.getCategoryItemsInfiniteKey = _chunkC7JC34SMcjs.getCategoryItemsInfiniteKey; exports.getCategoryItemsInfiniteOptions = _chunkC7JC34SMcjs.getCategoryItemsInfiniteOptions; exports.getCustomerInvoiceDetailKey = _chunkC7JC34SMcjs.getCustomerInvoiceDetailKey; exports.getCustomerInvoicesKey = _chunkC7JC34SMcjs.getCustomerInvoicesKey; exports.getCustomerOrderDetailKey = _chunkC7JC34SMcjs.getCustomerOrderDetailKey; exports.getCustomerOrdersKey = _chunkC7JC34SMcjs.getCustomerOrdersKey; exports.getCustomerQuoteDetailKey = _chunkC7JC34SMcjs.getCustomerQuoteDetailKey; exports.getCustomerQuotesKey = _chunkC7JC34SMcjs.getCustomerQuotesKey; exports.getInvMastDocKey = _chunkC7JC34SMcjs.getInvMastDocKey; exports.getInvMastDocOptions = _chunkC7JC34SMcjs.getInvMastDocOptions; exports.getInvMastKey = _chunkC7JC34SMcjs.getInvMastKey; exports.getInvMastOptions = _chunkC7JC34SMcjs.getInvMastOptions; exports.getInvMastStockKey = _chunkC7JC34SMcjs.getInvMastStockKey; exports.getInvMastStockOptions = _chunkC7JC34SMcjs.getInvMastStockOptions; exports.getItemAttributesKey = _chunkC7JC34SMcjs.getItemAttributesKey; exports.getItemAttributesOptions = _chunkC7JC34SMcjs.getItemAttributesOptions; exports.getItemCategoryKey = _chunkC7JC34SMcjs.getItemCategoryKey; exports.getItemCategoryOptions = _chunkC7JC34SMcjs.getItemCategoryOptions; exports.getItemDetailsKey = _chunkC7JC34SMcjs.getItemDetailsKey; exports.getItemDetailsOptions = _chunkC7JC34SMcjs.getItemDetailsOptions; exports.getItemPriceKey = _chunkC7JC34SMcjs.getItemPriceKey; exports.getItemPriceOptions = _chunkC7JC34SMcjs.getItemPriceOptions; exports.getItemSearchInfiniteKey = _chunkC7JC34SMcjs.getItemSearchInfiniteKey; exports.getItemSearchInfiniteOptions = _chunkC7JC34SMcjs.getItemSearchInfiniteOptions; exports.getJoomlaContentKey = _chunkC7JC34SMcjs.getJoomlaContentKey; exports.getJoomlaContentListKey = _chunkC7JC34SMcjs.getJoomlaContentListKey; exports.getJoomlaContentListOptions = _chunkC7JC34SMcjs.getJoomlaContentListOptions; exports.getJoomlaContentOptions = _chunkC7JC34SMcjs.getJoomlaContentOptions; exports.getJoomlaMenuDocKey = _chunkC7JC34SMcjs.getJoomlaMenuDocKey; exports.getJoomlaMenuDocOptions = _chunkC7JC34SMcjs.getJoomlaMenuDocOptions; exports.getJoomlaMenuKey = _chunkC7JC34SMcjs.getJoomlaMenuKey; exports.getJoomlaMenuOptions = _chunkC7JC34SMcjs.getJoomlaMenuOptions; exports.getProductCategoryKey = _chunkC7JC34SMcjs.getProductCategoryKey; exports.getProductCategoryOptions = _chunkC7JC34SMcjs.getProductCategoryOptions; exports.getProductSearchKey = _chunkC7JC34SMcjs.getProductSearchKey; exports.getProductSearchOptions = _chunkC7JC34SMcjs.getProductSearchOptions; exports.getSearchSuggestionsKey = _chunkC7JC34SMcjs.getSearchSuggestionsKey; exports.getSearchSuggestionsOptions = _chunkC7JC34SMcjs.getSearchSuggestionsOptions; exports.useAugurApi = useAugurApi; exports.useAugurApiOptional = useAugurApiOptional; exports.useAugurAuth = useAugurAuth; exports.useAugurCache = useAugurCache; exports.useAugurOptions = useAugurOptions; exports.useAugurPersistence = useAugurPersistence; exports.useBatchInvMastDoc = useBatchInvMastDoc; exports.useCartActions = useCartActions; exports.useCartHdrUid = useCartHdrUid; exports.useCartInitialization = useCartInitialization; exports.useCartLineCount = useCartLineCount; exports.useCartLines = useCartLines; exports.useCartPricing = useCartPricing; exports.useCartQuantityTotal = useCartQuantityTotal; exports.useCartStore = useCartStore; exports.useCategoryItemsInfinite = useCategoryItemsInfinite; exports.useClearCart = useClearCart; exports.useCustomerInvoices = useCustomerInvoices; exports.useCustomerOrders = useCustomerOrders; exports.useCustomerQuotes = useCustomerQuotes; exports.useDebounce = useDebounce; exports.useFormatPrice = useFormatPrice; exports.useInvMast = useInvMast; exports.useInvMastDoc = useInvMastDoc; exports.useInvMastStock = useInvMastStock; exports.useInvoiceDetail = useInvoiceDetail; exports.useItemAttributes = useItemAttributes; exports.useItemCategory = useItemCategory; exports.useItemDetails = useItemDetails; exports.useItemFiltersStore = useItemFiltersStore; exports.useItemPrice = useItemPrice; exports.useItemSearchInfinite = useItemSearchInfinite; exports.useJoomlaContent = useJoomlaContent; exports.useJoomlaContentList = useJoomlaContentList; exports.useJoomlaMenu = useJoomlaMenu; exports.useJoomlaMenuDoc = useJoomlaMenuDoc; exports.useOrderDetail = useOrderDetail; exports.usePaginationPrefetch = usePaginationPrefetch; exports.useProductCategory = useProductCategory; exports.useProductSearch = useProductSearch; exports.useQuoteDetail = useQuoteDetail; exports.useSearchSuggestions = useSearchSuggestions; exports.useSetCartHdrUid = useSetCartHdrUid; exports.useSetCartLines = useSetCartLines;
|
|
1436
1436
|
//# sourceMappingURL=index.cjs.map
|