@simpleapps-com/augur-server 2.2.28 → 2.3.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/EXPORTS.md +18 -137
- package/README.md +18 -172
- package/dist/actions.d.ts +0 -320
- package/dist/actions.js +0 -552
- package/dist/actions.js.map +1 -1
- package/dist/api.js +1 -1
- package/dist/{chunk-4OK7EWLJ.js → chunk-WOHZDFJF.js} +1 -1
- package/dist/chunk-WOHZDFJF.js.map +1 -0
- package/dist/{chunk-OOR3XGUT.js → chunk-ZUJZDRTP.js} +8 -7
- package/dist/chunk-ZUJZDRTP.js.map +1 -0
- package/dist/hooks.js +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/index.js +1 -1
- package/dist/query-action.js +1 -1
- package/dist/{server-site-registry-vsuD5FAk.d.ts → server-site-registry-CdBfczOj.d.ts} +1 -1
- package/dist/{site-BdJFUwsM.d.ts → site-BjSFqufX.d.ts} +156 -3
- package/dist/site.d.ts +1 -2
- package/dist/site.js +1 -1
- package/dist/testing.d.ts +2 -3
- package/dist/testing.js +1 -1
- package/llms.txt +21 -136
- package/package.json +5 -5
- package/dist/chunk-4OK7EWLJ.js.map +0 -1
- package/dist/chunk-OOR3XGUT.js.map +0 -1
- package/dist/smarty-streets-BnEIKoi8.d.ts +0 -158
package/dist/actions.d.ts
CHANGED
|
@@ -1,322 +1,2 @@
|
|
|
1
|
-
import { ListResult } from '@simpleapps-com/augur-core';
|
|
2
1
|
export { ApiResult, ListResult } from '@simpleapps-com/augur-core';
|
|
3
|
-
import { SafeActionResult, TAccountQuery, TInvMastDoc, TPriceData, TStock, TBillingUpdate, TCardInfo, TCartLookUp, TCheckoutResult, CustomerDocument, TRelatedProduct, TCartLine, TItemsFilters, TCategoryItemsResult, TProductItem, TInvMast, TItemAccessory, TAttribute, TCategory, TWebDesc, TJoomlaContent, TMenu, MenuItem, TSearchSuggestionsResponse, TShippingMethod, TSurcharge, TTaxItem, TTax, TTransactionSetup, TPaymentValidation, TPasswordVerification } from '@simpleapps-com/augur-utils';
|
|
4
2
|
export { SafeActionResult } from '@simpleapps-com/augur-utils';
|
|
5
|
-
import { P as PaginatedResult, G as GetItemCategoryOptions, c as ShippingAddress, N as NormalizedUserProfile, d as SearchPage, A as AddressValidationResult } from './smarty-streets-BnEIKoi8.js';
|
|
6
|
-
export { queryAction } from './query-action.js';
|
|
7
|
-
|
|
8
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
9
|
-
declare function getCustomer(customerId: number): Promise<SafeActionResult<CustomerDocument>>;
|
|
10
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
11
|
-
declare function customerLookup(params: Record<string, unknown>): Promise<SafeActionResult<ListResult<CustomerDocument>>>;
|
|
12
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
13
|
-
declare function getCustomerDoc(customerId: number): Promise<SafeActionResult<CustomerDocument>>;
|
|
14
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
15
|
-
declare function getCustomerOrders(customerId: number, params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
16
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
17
|
-
declare function getCustomerOrderDetail(customerId: number, orderId: number): Promise<SafeActionResult<unknown>>;
|
|
18
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
19
|
-
declare function getCustomerInvoices(customerId: number, params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
20
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
21
|
-
declare function getCustomerInvoiceDetail(customerId: number, invoiceNo: number): Promise<SafeActionResult<unknown>>;
|
|
22
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
23
|
-
declare function getCustomerQuotes(customerId: number, params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
24
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
25
|
-
declare function getCustomerQuoteDetail(customerId: number, quoteNo: number): Promise<SafeActionResult<unknown>>;
|
|
26
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
27
|
-
declare function getContacts(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
28
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
29
|
-
declare function getShipToAddresses(customerId: number): Promise<SafeActionResult<ListResult>>;
|
|
30
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
31
|
-
declare function itemCategoryLookup(path: string): Promise<SafeActionResult<unknown>>;
|
|
32
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
33
|
-
declare function getItemCategory(uid: number, options?: GetItemCategoryOptions): Promise<SafeActionResult<TCategory>>;
|
|
34
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
35
|
-
declare function getCategoryItems(uid: number, filters: Record<string, unknown> | TItemsFilters): Promise<SafeActionResult<TCategoryItemsResult>>;
|
|
36
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
37
|
-
declare function getCategoryItemsInfinite(uid: number, itemsFilters?: TItemsFilters, pageParam?: number): Promise<SafeActionResult<PaginatedResult<TProductItem>>>;
|
|
38
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
39
|
-
declare function getItemAttributes(categoryUid: number): Promise<SafeActionResult<{
|
|
40
|
-
attributes: TAttribute[];
|
|
41
|
-
}>>;
|
|
42
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
43
|
-
declare function getInvMast(uid: number): Promise<SafeActionResult<TInvMast>>;
|
|
44
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
45
|
-
declare function getInvMastDoc(paramsOrUid: {
|
|
46
|
-
invMastUid?: number;
|
|
47
|
-
itemId?: string;
|
|
48
|
-
includePricing?: "Y" | "N";
|
|
49
|
-
} | number, itemId?: string, includePricing?: "Y" | "N"): Promise<SafeActionResult<TInvMastDoc>>;
|
|
50
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
51
|
-
declare function getStock(invMastUid: number): Promise<SafeActionResult<TStock>>;
|
|
52
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
53
|
-
declare function getStockCompanySummary(invMastUid: number): Promise<SafeActionResult<Record<string, number>>>;
|
|
54
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
55
|
-
declare function getItemFaqs(invMastUid: number): Promise<SafeActionResult<ListResult>>;
|
|
56
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
57
|
-
declare function getItemSubstitutes(invMastUid: number): Promise<SafeActionResult<ListResult>>;
|
|
58
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
59
|
-
declare function getItemAccessories(invMastUid: number): Promise<SafeActionResult<ListResult<TItemAccessory>>>;
|
|
60
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
61
|
-
declare function getSimilarItems(invMastUid: number): Promise<SafeActionResult<ListResult>>;
|
|
62
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
63
|
-
declare function batchGetInvMastDocs(params: {
|
|
64
|
-
invMastUid?: number;
|
|
65
|
-
itemId?: string;
|
|
66
|
-
}[]): Promise<SafeActionResult<Record<string, TInvMastDoc>>>;
|
|
67
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
68
|
-
declare function batchGetStockData(invMastUids: number[]): Promise<SafeActionResult<Record<number, TStock>>>;
|
|
69
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
70
|
-
declare function cartHdrLookup(params: {
|
|
71
|
-
userId?: string | number;
|
|
72
|
-
cartToken?: string;
|
|
73
|
-
contactId?: string | number;
|
|
74
|
-
customerId?: string | number;
|
|
75
|
-
}): Promise<SafeActionResult<TCartLookUp>>;
|
|
76
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
77
|
-
declare function getCartLines(cartHdrUid: number): Promise<SafeActionResult<ListResult<TCartLine>>>;
|
|
78
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
79
|
-
declare function addToCart(cartHdrUid: number, items: {
|
|
80
|
-
itemId?: string;
|
|
81
|
-
invMastUid?: number;
|
|
82
|
-
quantity: number;
|
|
83
|
-
unitOfMeasure: string;
|
|
84
|
-
}[]): Promise<SafeActionResult<unknown>>;
|
|
85
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
86
|
-
declare function updateCartLines(cartHdrUid: number, lines: {
|
|
87
|
-
lineNo: number;
|
|
88
|
-
quantity: number;
|
|
89
|
-
unitOfMeasure: string;
|
|
90
|
-
}[]): Promise<SafeActionResult<unknown>>;
|
|
91
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
92
|
-
declare function deleteCartItems(cartHdrUid: number): Promise<SafeActionResult<void>>;
|
|
93
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
94
|
-
declare function getCartAlsoBought(cartHdrUid: number): Promise<SafeActionResult<ListResult<TRelatedProduct>>>;
|
|
95
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
96
|
-
declare function checkoutOrder(cartHdrUid: number, data: Record<string, unknown>): Promise<SafeActionResult<TCheckoutResult>>;
|
|
97
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
98
|
-
declare function getItemPrice(itemId: string, customerId?: string | number, quantity?: number): Promise<SafeActionResult<TPriceData>>;
|
|
99
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
100
|
-
declare function batchGetItemPrices(itemIds: string[], customerId?: string | number, quantity?: number): Promise<SafeActionResult<Record<string, TPriceData>>>;
|
|
101
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
102
|
-
declare function getTaxEstimate(customerId?: string | number, postalCode?: string, items?: TTaxItem[]): Promise<SafeActionResult<TTax>>;
|
|
103
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
104
|
-
declare function getSearchAttributes(q: string): Promise<SafeActionResult<{
|
|
105
|
-
attributes: TAttribute[];
|
|
106
|
-
}>>;
|
|
107
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
108
|
-
declare function getSearchSuggestions(q: string, limit?: number, offset?: number): Promise<SafeActionResult<TSearchSuggestionsResponse>>;
|
|
109
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
110
|
-
declare function itemSearch(filters: {
|
|
111
|
-
q: string;
|
|
112
|
-
limit: number;
|
|
113
|
-
offset: number;
|
|
114
|
-
sortBy?: string;
|
|
115
|
-
filters?: [string, string][];
|
|
116
|
-
}, itemCategoryUid?: number | string): Promise<SafeActionResult<{
|
|
117
|
-
items: TProductItem[];
|
|
118
|
-
totalResults: number;
|
|
119
|
-
}>>;
|
|
120
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
121
|
-
declare function itemSearchInfinite(filters: {
|
|
122
|
-
q: string;
|
|
123
|
-
limit: number;
|
|
124
|
-
sortBy?: string;
|
|
125
|
-
filters?: [string, string][];
|
|
126
|
-
}, itemCategoryUid?: number | string, pageParam?: number): Promise<SafeActionResult<SearchPage>>;
|
|
127
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
128
|
-
declare function getOrderDoc(orderNo: string, postalCode: string): Promise<SafeActionResult<unknown>>;
|
|
129
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
130
|
-
declare function getShippingRates(toAddress: ShippingAddress, weight: number, serviceCodes?: string[]): Promise<SafeActionResult<ListResult<TShippingMethod>>>;
|
|
131
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
132
|
-
declare function getJoomlaContent(articleId: number | string, options?: {
|
|
133
|
-
alias: string;
|
|
134
|
-
catId?: number;
|
|
135
|
-
}): Promise<SafeActionResult<TJoomlaContent>>;
|
|
136
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
137
|
-
declare function getJoomlaContentList(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult<TJoomlaContent>>>;
|
|
138
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
139
|
-
declare function getJoomlaMenu(paramsOrParentId?: Record<string, unknown> | number, menuType?: string): Promise<SafeActionResult<ListResult<TMenu>>>;
|
|
140
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
141
|
-
declare function getJoomlaMenuDoc(menuId: number | string): Promise<SafeActionResult<MenuItem>>;
|
|
142
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
143
|
-
declare function getUserProfile(userId: number | string): Promise<SafeActionResult<NormalizedUserProfile>>;
|
|
144
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
145
|
-
declare function verifyPassword(username: string, password: string): Promise<SafeActionResult<TPasswordVerification>>;
|
|
146
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
147
|
-
declare function getItemWebDesc(invMastUid: number): Promise<SafeActionResult<TWebDesc | undefined>>;
|
|
148
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
149
|
-
declare function getAlsoBoughtItems(invMastUid: number): Promise<SafeActionResult<ListResult<TRelatedProduct>>>;
|
|
150
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
151
|
-
declare function getItemTags(invMastUid: number): Promise<SafeActionResult<ListResult>>;
|
|
152
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
153
|
-
declare function getStates(params?: {
|
|
154
|
-
twoLetterCode?: string;
|
|
155
|
-
}): Promise<SafeActionResult<ListResult>>;
|
|
156
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
157
|
-
declare function validateAddress(params: Record<string, unknown>): Promise<SafeActionResult<AddressValidationResult>>;
|
|
158
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
159
|
-
declare function getInvMastExt(invMastUid: number): Promise<SafeActionResult<unknown>>;
|
|
160
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
161
|
-
declare function listInvMastExt(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
162
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
163
|
-
declare function getSettings(serviceName?: string): Promise<SafeActionResult<ListResult>>;
|
|
164
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
165
|
-
declare function getMetaFiles(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
166
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
167
|
-
declare function calculateTax(data: Record<string, unknown>): Promise<SafeActionResult<unknown>>;
|
|
168
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
169
|
-
declare function transactionSetup(params: Record<string, unknown>): Promise<SafeActionResult<TTransactionSetup | undefined>>;
|
|
170
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
171
|
-
declare function accountQuery(params: Record<string, unknown>): Promise<SafeActionResult<TAccountQuery | undefined>>;
|
|
172
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
173
|
-
declare function getSurcharge(params: Record<string, unknown>): Promise<SafeActionResult<TSurcharge | undefined>>;
|
|
174
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
175
|
-
declare function cardInfo(params: Record<string, unknown>): Promise<SafeActionResult<TCardInfo | undefined>>;
|
|
176
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
177
|
-
declare function billingUpdate(params: Record<string, unknown>): Promise<SafeActionResult<TBillingUpdate | undefined>>;
|
|
178
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
179
|
-
declare function validatePayment(params: Record<string, unknown>): Promise<SafeActionResult<TPaymentValidation | undefined>>;
|
|
180
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
181
|
-
declare function getFreightRates(params: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
182
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
183
|
-
declare function getShipVia(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
184
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
185
|
-
declare function createBinTransfer(data: Record<string, unknown>): Promise<SafeActionResult<unknown>>;
|
|
186
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
187
|
-
declare function createReceiving(data: Record<string, unknown>): Promise<SafeActionResult<unknown>>;
|
|
188
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
189
|
-
declare function createTransfer(data: Record<string, unknown>): Promise<SafeActionResult<unknown>>;
|
|
190
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
191
|
-
declare function getPurchaseOrderReceipts(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
192
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
193
|
-
declare function getTransferReceipts(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
194
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
195
|
-
declare function getTransferShipping(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
196
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
197
|
-
declare function getWarehouses(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
198
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
199
|
-
declare function getWarehouseAvailability(warehouseUid: number, params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
200
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
201
|
-
declare function getDistributors(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
202
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
203
|
-
declare function getProducts(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
204
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
205
|
-
declare function getInventoryProfiles(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
206
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
207
|
-
declare function getRestockHeaders(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
208
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
209
|
-
declare function getSections(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
210
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
211
|
-
declare function getAddresses(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
212
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
213
|
-
declare function getCompanies(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
214
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
215
|
-
declare function getCompany(companyId: number): Promise<SafeActionResult<unknown | undefined>>;
|
|
216
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
217
|
-
declare function getLocations(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
218
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
219
|
-
declare function getPaymentTypes(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
220
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
221
|
-
declare function getCashDrawers(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
222
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
223
|
-
declare function getCodeP21(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
224
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
225
|
-
declare function getP21Categories(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
226
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
227
|
-
declare function getCategoryDefaults(categoryId: number): Promise<SafeActionResult<unknown | undefined>>;
|
|
228
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
229
|
-
declare function getP21Companies(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
230
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
231
|
-
declare function getUsers(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
232
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
233
|
-
declare function getWebDisplayTypes(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
234
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
235
|
-
declare function getWebDisplayTypeDefaults(id?: number): Promise<SafeActionResult<unknown | undefined>>;
|
|
236
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
237
|
-
declare function refreshContacts(params?: Record<string, unknown>): Promise<SafeActionResult<unknown | undefined>>;
|
|
238
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
239
|
-
declare function refreshCustomers(params?: Record<string, unknown>): Promise<SafeActionResult<unknown | undefined>>;
|
|
240
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
241
|
-
declare function getRecentImports(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
242
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
243
|
-
declare function getImport(importId: string): Promise<SafeActionResult<unknown | undefined>>;
|
|
244
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
245
|
-
declare function getImportLines(importId: number, params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
246
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
247
|
-
declare function getScheduledImports(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
248
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
249
|
-
declare function healthCheck(): Promise<SafeActionResult<string | undefined>>;
|
|
250
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
251
|
-
declare function ping(): Promise<SafeActionResult<string | undefined>>;
|
|
252
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
253
|
-
declare function getContext(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
254
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
255
|
-
declare function getRubrics(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
256
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
257
|
-
declare function getMicroservices(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
258
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
259
|
-
declare function generateAkasha(data?: Record<string, unknown>): Promise<SafeActionResult<unknown | undefined>>;
|
|
260
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
261
|
-
declare function generateJoomla(data?: Record<string, unknown>): Promise<SafeActionResult<unknown | undefined>>;
|
|
262
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
263
|
-
declare function getTodos(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
264
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
265
|
-
declare function getTodo(todoId: number): Promise<SafeActionResult<unknown>>;
|
|
266
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
267
|
-
declare function getTodosSummary(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
268
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
269
|
-
declare function getComments(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
270
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
271
|
-
declare function getPeople(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
272
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
273
|
-
declare function getProjects(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
274
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
275
|
-
declare function getEvents(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
276
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
277
|
-
declare function getMetrics(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
278
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
279
|
-
declare function getTodolists(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
280
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
281
|
-
declare function getBrandFolderCategories(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
282
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
283
|
-
declare function getCategory(categoryId: string): Promise<SafeActionResult<unknown>>;
|
|
284
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
285
|
-
declare function createFocus(categoryId: string, data: Record<string, unknown>): Promise<SafeActionResult<unknown | undefined>>;
|
|
286
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
287
|
-
declare function askChatGpt(params: Record<string, unknown>): Promise<SafeActionResult<unknown | undefined>>;
|
|
288
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
289
|
-
declare function getDocuments(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
290
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
291
|
-
declare function createDocument(data: Record<string, unknown>): Promise<SafeActionResult<unknown | undefined>>;
|
|
292
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
293
|
-
declare function generateOllama(data: Record<string, unknown>): Promise<SafeActionResult<unknown | undefined>>;
|
|
294
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
295
|
-
declare function sendWebhook(data: Record<string, unknown>): Promise<SafeActionResult<unknown | undefined>>;
|
|
296
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
297
|
-
declare function getWebhooks(params?: Record<string, unknown>): Promise<SafeActionResult<ListResult>>;
|
|
298
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
299
|
-
declare function getFavorites(userId: number): Promise<SafeActionResult<ListResult>>;
|
|
300
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
301
|
-
declare function addFavorite(userId: number, invMastUid: number): Promise<SafeActionResult<unknown>>;
|
|
302
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
303
|
-
declare function removeFavorite(userId: number, invMastUid: number): Promise<SafeActionResult<void>>;
|
|
304
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
305
|
-
declare function getWishlists(userId: number): Promise<SafeActionResult<ListResult>>;
|
|
306
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
307
|
-
declare function createWishlist(userId: number, data: {
|
|
308
|
-
name: string;
|
|
309
|
-
description?: string;
|
|
310
|
-
}): Promise<SafeActionResult<unknown>>;
|
|
311
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
312
|
-
declare function getWishlistDetail(userId: number, wishlistId: number): Promise<SafeActionResult<unknown>>;
|
|
313
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
314
|
-
declare function deleteWishlist(userId: number, wishlistId: number): Promise<SafeActionResult<void>>;
|
|
315
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
316
|
-
declare function addWishlistItems(userId: number, wishlistId: number, items: {
|
|
317
|
-
invMastUid: number;
|
|
318
|
-
}[]): Promise<SafeActionResult<unknown>>;
|
|
319
|
-
/** @deprecated Use `createServerQueryProxy()` from `@simpleapps-com/augur-server/hooks` instead. */
|
|
320
|
-
declare function removeWishlistItem(userId: number, wishlistId: number, lineId: number): Promise<SafeActionResult<void>>;
|
|
321
|
-
|
|
322
|
-
export { accountQuery, addFavorite, addToCart, addWishlistItems, askChatGpt, batchGetInvMastDocs, batchGetItemPrices, batchGetStockData, billingUpdate, calculateTax, cardInfo, cartHdrLookup, checkoutOrder, createBinTransfer, createDocument, createFocus, createReceiving, createTransfer, createWishlist, customerLookup, deleteCartItems, deleteWishlist, generateAkasha, generateJoomla, generateOllama, getAddresses, getAlsoBoughtItems, getBrandFolderCategories, getCartAlsoBought, getCartLines, getCashDrawers, getCategory, getCategoryDefaults, getCategoryItems, getCategoryItemsInfinite, getCodeP21, getComments, getCompanies, getCompany, getContacts, getContext, getCustomer, getCustomerDoc, getCustomerInvoiceDetail, getCustomerInvoices, getCustomerOrderDetail, getCustomerOrders, getCustomerQuoteDetail, getCustomerQuotes, getDistributors, getDocuments, getEvents, getFavorites, getFreightRates, getImport, getImportLines, getInvMast, getInvMastDoc, getInvMastExt, getInventoryProfiles, getItemAccessories, getItemAttributes, getItemCategory, getItemFaqs, getItemPrice, getItemSubstitutes, getItemTags, getItemWebDesc, getJoomlaContent, getJoomlaContentList, getJoomlaMenu, getJoomlaMenuDoc, getLocations, getMetaFiles, getMetrics, getMicroservices, getOrderDoc, getP21Categories, getP21Companies, getPaymentTypes, getPeople, getProducts, getProjects, getPurchaseOrderReceipts, getRecentImports, getRestockHeaders, getRubrics, getScheduledImports, getSearchAttributes, getSearchSuggestions, getSections, getSettings, getShipToAddresses, getShipVia, getShippingRates, getSimilarItems, getStates, getStock, getStockCompanySummary, getSurcharge, getTaxEstimate, getTodo, getTodolists, getTodos, getTodosSummary, getTransferReceipts, getTransferShipping, getUserProfile, getUsers, getWarehouseAvailability, getWarehouses, getWebDisplayTypeDefaults, getWebDisplayTypes, getWebhooks, getWishlistDetail, getWishlists, healthCheck, itemCategoryLookup, itemSearch, itemSearchInfinite, listInvMastExt, ping, refreshContacts, refreshCustomers, removeFavorite, removeWishlistItem, sendWebhook, transactionSetup, updateCartLines, validateAddress, validatePayment, verifyPassword };
|