@simpleapps-com/augur-server 2.2.2 → 2.2.3

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