@zeniai/client-epic-state 5.0.31-betaAR10 → 5.0.31-betaAR11

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.
@@ -137,11 +137,6 @@ export interface AccountFilterOption {
137
137
  /**
138
138
  * Partitions accounts for transaction filter dropdowns: bank/credit_card → paymentAccountNames,
139
139
  * all other account types → categoryOptions. Use for payment_account_name and category filter options.
140
- *
141
- * Note: payment_account_type dropdown options come from transaction-level
142
- * `paymentType`/`paymentTypeName` fields, not account-level — account records
143
- * rarely carry those values. See ExpenseAutomationPage.filterOptions for
144
- * the source of those options.
145
140
  */
146
141
  export declare const getTransactionFilterAccountOptions: (accountState: AccountState) => {
147
142
  categoryOptions: AccountFilterOption[];
@@ -202,11 +202,6 @@ exports.getAllAccounts = getAllAccounts;
202
202
  /**
203
203
  * Partitions accounts for transaction filter dropdowns: bank/credit_card → paymentAccountNames,
204
204
  * all other account types → categoryOptions. Use for payment_account_name and category filter options.
205
- *
206
- * Note: payment_account_type dropdown options come from transaction-level
207
- * `paymentType`/`paymentTypeName` fields, not account-level — account records
208
- * rarely carry those values. See ExpenseAutomationPage.filterOptions for
209
- * the source of those options.
210
205
  */
211
206
  const getTransactionFilterAccountOptions = (accountState) => {
212
207
  const accounts = (0, exports.getAllAccounts)(accountState);
@@ -188,11 +188,6 @@ export const getAllAccounts = (accountState) => Object.values(accountState.accou
188
188
  /**
189
189
  * Partitions accounts for transaction filter dropdowns: bank/credit_card → paymentAccountNames,
190
190
  * all other account types → categoryOptions. Use for payment_account_name and category filter options.
191
- *
192
- * Note: payment_account_type dropdown options come from transaction-level
193
- * `paymentType`/`paymentTypeName` fields, not account-level — account records
194
- * rarely carry those values. See ExpenseAutomationPage.filterOptions for
195
- * the source of those options.
196
191
  */
197
192
  export const getTransactionFilterAccountOptions = (accountState) => {
198
193
  const accounts = getAllAccounts(accountState);
@@ -24,11 +24,6 @@ export const fetchTransactionCategorizationEpic = (actions$, state$, zeniAPI) =>
24
24
  page_size: 25,
25
25
  search_text: uiState.searchString,
26
26
  };
27
- // .getJSON<TransactionCategorizationResponse>(
28
- // `https://qa.api.zeni.ai/version/accounting/amitesh/1.0/expense-automation/transactions?query=${encodeURIComponent(
29
- // JSON.stringify(queryParam)
30
- // )}`
31
- // )
32
27
  return zeniAPI
33
28
  .getJSON(`${zeniAPI.apiEndPoints.accountMicroServiceBaseUrl}/1.0/expense-automation/transactions?query=${encodeURIComponent(JSON.stringify(queryParam))}`)
34
29
  .pipe(mergeMap((response) => {