@zeniai/client-epic-state 4.19.99-betaSS1 → 4.19.99-betaSS3

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.
@@ -20,6 +20,8 @@ function getJEScheduleSortAccessor(sortKey) {
20
20
  return (s) => s.jeDebit.account?.accountName?.toLowerCase();
21
21
  case 'class':
22
22
  return (s) => s.jeDebit.accountingClass?.className?.toLowerCase();
23
+ case 'depCategory':
24
+ return (s) => s.jeCredit.account?.accountName?.toLowerCase();
23
25
  case 'scheduleCategory':
24
26
  return (s) => s.jeScheduleType;
25
27
  case 'startMonth':
@@ -3,6 +3,7 @@ const JE_SCHEDULE_SORT_KEYS = [
3
3
  'vendor',
4
4
  'category',
5
5
  'class',
6
+ 'depCategory',
6
7
  'scheduleCategory',
7
8
  'startMonth',
8
9
  'type',
@@ -34,7 +34,7 @@ export interface AiCfoViewUIState {
34
34
  /**
35
35
  * Supported `page_context` values for GET .../suggested-questions and related UI state.
36
36
  */
37
- export type AiCfoSuggestedQuestionsPageContext = 'balance_sheet' | 'profit_loss' | 'vendors' | 'transactions' | 'cash_flow' | 'accounts_receivable' | 'accounts_payable' | 'transaction_details';
37
+ export type AiCfoSuggestedQuestionsPageContext = 'balance_sheet' | 'profit_loss' | 'vendors' | 'transactions' | 'cash_flow' | 'accounts_receivable' | 'accounts_payable' | 'transaction_details' | 'dashboard' | 'cash_balance' | 'card_balance' | 'command_centre' | 'je_schedules' | 'reconciliation' | 'flux_analysis' | 'receipts' | 'mei' | 'task_checklist' | 'performance' | 'bills_list' | 'bills_details' | 'reimbursement_list' | 'reimbursement_details' | 'vendors_summary' | 'opex_by_vendor' | 'prepaid_expenses' | 'fixed_assets' | 'form_1099' | 'accrued_expenses' | 'forecast' | 'checking' | 'checking_details' | 'treasury' | 'cards' | 'cards_detail' | 'people' | 'rewards' | 'notifications';
38
38
  export interface SuggestedQuestionsForPageContext extends FetchStateAndError {
39
39
  pageContext: AiCfoSuggestedQuestionsPageContext;
40
40
  suggestedQuestions: string[];
@@ -26,6 +26,8 @@ function getJEScheduleSortAccessor(sortKey) {
26
26
  return (s) => s.jeDebit.account?.accountName?.toLowerCase();
27
27
  case 'class':
28
28
  return (s) => s.jeDebit.accountingClass?.className?.toLowerCase();
29
+ case 'depCategory':
30
+ return (s) => s.jeCredit.account?.accountName?.toLowerCase();
29
31
  case 'scheduleCategory':
30
32
  return (s) => s.jeScheduleType;
31
33
  case 'startMonth':
@@ -6,7 +6,7 @@ import { MonthYearPeriodId } from '../../../commonStateTypes/timePeriod';
6
6
  import { AccountBase } from '../../../entity/account/accountState';
7
7
  import { JEScheduleTransactionKey, ScheduleTypes } from '../../../entity/jeSchedules/jeSchedulesTypes';
8
8
  import { VendorBase } from '../../../entity/vendor/vendorState';
9
- export declare const toJEScheduleSortKey: (v: string) => "vendor" | "type" | "category" | "class" | "memo" | "transactionDate" | "totalAmount" | "runningBalance" | "scheduleCategory" | "startMonth" | "amortizationPeriod" | "jePostingDate" | "remainingMonths";
9
+ export declare const toJEScheduleSortKey: (v: string) => "vendor" | "type" | "category" | "class" | "memo" | "transactionDate" | "totalAmount" | "runningBalance" | "depCategory" | "scheduleCategory" | "startMonth" | "amortizationPeriod" | "jePostingDate" | "remainingMonths";
10
10
  export type JEScheduleSortKey = ReturnType<typeof toJEScheduleSortKey>;
11
11
  export interface JESchedulesViewUIState {
12
12
  scrollPosition: {
@@ -6,6 +6,7 @@ const JE_SCHEDULE_SORT_KEYS = [
6
6
  'vendor',
7
7
  'category',
8
8
  'class',
9
+ 'depCategory',
9
10
  'scheduleCategory',
10
11
  'startMonth',
11
12
  'type',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.19.99-betaSS1",
3
+ "version": "4.19.99-betaSS3",
4
4
  "description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/esm/index.js",