@zeniai/client-epic-state 5.0.69-betaAR4 → 5.0.69-betaAR5

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.
Files changed (66) hide show
  1. package/lib/commonStateTypes/filterPrimitives.d.ts +23 -0
  2. package/lib/commonStateTypes/filterPrimitives.js +21 -0
  3. package/lib/entity/account/accountSelector.d.ts +26 -0
  4. package/lib/entity/account/accountSelector.js +47 -1
  5. package/lib/entity/account/accountState.d.ts +5 -0
  6. package/lib/entity/account/accountState.js +11 -4
  7. package/lib/entity/approvalRule/approvalRulePayload.d.ts +5 -27
  8. package/lib/entity/approvalRule/approvalRulePayload.js +10 -131
  9. package/lib/entity/approvalRule/approvalRuleSelector.d.ts +1 -25
  10. package/lib/entity/approvalRule/approvalRuleSelector.js +0 -40
  11. package/lib/entity/approvalRule/approvalRuleState.d.ts +7 -48
  12. package/lib/entity/class/classSelector.d.ts +35 -0
  13. package/lib/entity/class/classSelector.js +50 -0
  14. package/lib/esm/commonStateTypes/filterPrimitives.js +20 -0
  15. package/lib/esm/entity/account/accountSelector.js +46 -1
  16. package/lib/esm/entity/account/accountState.js +7 -1
  17. package/lib/esm/entity/approvalRule/approvalRulePayload.js +10 -131
  18. package/lib/esm/entity/approvalRule/approvalRuleSelector.js +0 -35
  19. package/lib/esm/entity/class/classSelector.js +48 -0
  20. package/lib/esm/index.js +11 -6
  21. package/lib/esm/view/companyHealthMetricView/companyHealthMetricViewSelector.js +1 -1
  22. package/lib/esm/view/companyView/helpers/cockpitHelpers.js +1 -1
  23. package/lib/esm/view/companyView/selector/companyManagementViewSelector.js +1 -1
  24. package/lib/esm/view/companyView/selector/companyPortfolioViewSelector.js +1 -1
  25. package/lib/esm/view/expenseAutomationView/reducers/transactionsViewReducer.js +11 -1
  26. package/lib/esm/view/expenseAutomationView/selectors/transactionCategorizationSelector.js +69 -12
  27. package/lib/esm/view/expenseAutomationView/transactionFilterHelpers.js +245 -0
  28. package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/epic/initializeBillPaySetupApproverViewUpdateDataEpic.js +7 -11
  29. package/lib/esm/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.js +16 -61
  30. package/lib/esm/view/spendManagement/billPay/editBillView/editBillViewSelector.js +2 -7
  31. package/lib/esm/view/spendManagement/reimbursement/remiSetupApproverView/epic/initializeRemiSetupApproverViewUpdateDataEpic.js +7 -11
  32. package/lib/esm/view/spendManagement/spendManagementFilterHelpers.js +4 -2
  33. package/lib/esm/view/subscriptionView/subscriptionViewSelector.js +1 -1
  34. package/lib/esm/view/taskManager/taskListView/taskListReducer.js +1 -1
  35. package/lib/index.d.ts +9 -8
  36. package/lib/index.js +41 -38
  37. package/lib/view/companyHealthMetricView/companyHealthMetricViewSelector.js +1 -1
  38. package/lib/view/companyTaskManagerView/companyTaskManagerViewReducer.d.ts +2 -2
  39. package/lib/view/companyView/helpers/cockpitHelpers.js +1 -1
  40. package/lib/view/companyView/selector/companyManagementViewSelector.js +1 -1
  41. package/lib/view/companyView/selector/companyPortfolioViewSelector.js +1 -1
  42. package/lib/view/companyView/types/cockpitTypes.d.ts +2 -2
  43. package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.d.ts +5 -1
  44. package/lib/view/expenseAutomationView/reducers/transactionsViewReducer.js +12 -2
  45. package/lib/view/expenseAutomationView/selectors/transactionCategorizationSelector.d.ts +4 -1
  46. package/lib/view/expenseAutomationView/selectors/transactionCategorizationSelector.js +71 -12
  47. package/lib/view/expenseAutomationView/transactionFilterHelpers.d.ts +66 -0
  48. package/lib/view/expenseAutomationView/transactionFilterHelpers.js +249 -0
  49. package/lib/view/expenseAutomationView/types/transactionsViewState.d.ts +2 -0
  50. package/lib/view/people/peopleTypes.d.ts +1 -1
  51. package/lib/view/spendManagement/billPay/billList/billListState.d.ts +1 -1
  52. package/lib/view/spendManagement/billPay/billPaySetupApproverView/epic/initializeBillPaySetupApproverViewUpdateDataEpic.js +6 -10
  53. package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.d.ts +1 -9
  54. package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonPayload.js +16 -61
  55. package/lib/view/spendManagement/billPay/billPaySetupApproverView/types/commonState.d.ts +5 -31
  56. package/lib/view/spendManagement/billPay/editBillView/editBillViewSelector.js +2 -7
  57. package/lib/view/spendManagement/chargeCards/chargeCardList/chargeCardList.d.ts +1 -1
  58. package/lib/view/spendManagement/chargeCards/chargeCardPaymentHistory/chargeCardPaymentHistory.d.ts +1 -1
  59. package/lib/view/spendManagement/reimbursement/remiListView/remiListState.d.ts +1 -1
  60. package/lib/view/spendManagement/reimbursement/remiSetupApproverView/epic/initializeRemiSetupApproverViewUpdateDataEpic.js +6 -10
  61. package/lib/view/spendManagement/spendManagementFilterHelpers.d.ts +12 -3
  62. package/lib/view/spendManagement/spendManagementFilterHelpers.js +4 -2
  63. package/lib/view/subscriptionView/subscriptionViewSelector.js +1 -1
  64. package/lib/view/taskManager/taskListView/taskList.d.ts +4 -4
  65. package/lib/view/taskManager/taskListView/taskListReducer.js +1 -1
  66. package/package.json +1 -1
@@ -2,50 +2,22 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.toApprovalChangableInfoPayload = void 0;
4
4
  const toApprovalChangableInfoPayload = (approverViewUpdateData) => {
5
- // Form-side criteria is a structured object with optional slots for
6
- // amount / vendor / department; flatten it into the wire format's
7
- // `conditions[]` array.
8
- let criteriaPayload;
5
+ let criteriaPayload = [];
9
6
  if (approverViewUpdateData.criteria != null) {
10
- const { amount, vendor, department } = approverViewUpdateData.criteria;
11
- const conditions = [];
12
- if (amount?.min != null) {
13
- conditions.push({
14
- field: 'amount',
15
- type: 'gte',
16
- value: amount.min.amount,
17
- });
18
- }
19
- if (amount?.max != null) {
20
- conditions.push({
21
- field: 'amount',
22
- type: 'lte',
23
- value: amount.max.amount,
24
- });
25
- }
26
- if (vendor != null && vendor.vendorIds.length > 0) {
27
- conditions.push({
28
- field: 'vendor_id',
29
- type: vendor.operator === 'is_not' ? 'not_in' : 'in',
30
- value: vendor.vendorIds,
31
- });
32
- }
33
- if (department != null && department.departmentIds.length > 0) {
34
- conditions.push({
35
- field: 'department_id',
36
- type: department.operator === 'is_not' ? 'not_in' : 'in',
37
- value: department.departmentIds,
38
- });
39
- }
40
- if (conditions.length > 0) {
41
- const currency = amount?.min ?? amount?.max ?? null;
42
- criteriaPayload = {
43
- conditions,
44
- criteria_operator: 'and',
45
- currency_code: currency?.currencyCode ?? 'USD',
46
- currency_symbol: currency?.currencySymbol ?? '$',
47
- };
48
- }
7
+ const criteria = approverViewUpdateData.criteria;
8
+ const { rangeType, rangeEntity, range } = criteria;
9
+ const { min, max } = range;
10
+ const { currencyCode, currencySymbol } = min;
11
+ criteriaPayload = [
12
+ {
13
+ type: rangeType,
14
+ range_entity: rangeEntity,
15
+ min: min.amount,
16
+ max: max?.amount ?? null,
17
+ currency_code: currencyCode,
18
+ currency_symbol: currencySymbol,
19
+ },
20
+ ];
49
21
  }
50
22
  const steps = approverViewUpdateData.steps.map((step) => {
51
23
  return {
@@ -66,27 +38,10 @@ const toApprovalChangableInfoPayload = (approverViewUpdateData) => {
66
38
  });
67
39
  const isUpdate = approverViewUpdateData.approvalRuleId != null;
68
40
  const payload = {
41
+ criteria: criteriaPayload,
69
42
  steps,
70
43
  is_applicable_on_pending_approval_entity: approverViewUpdateData.isApplicableOnPendingApprovalEntity ?? true,
71
44
  };
72
- if (criteriaPayload != null) {
73
- payload.criteria = criteriaPayload;
74
- }
75
- // Approval Rules 3.0 — surface rule-level fields when the form set them.
76
- // Send only what the user actually entered: an undefined value means
77
- // "no opinion" and stays off the wire.
78
- if (approverViewUpdateData.name != null) {
79
- payload.name = approverViewUpdateData.name;
80
- }
81
- if (approverViewUpdateData.description != null) {
82
- payload.description = approverViewUpdateData.description;
83
- }
84
- if (approverViewUpdateData.separationOfDuties != null) {
85
- payload.separation_of_duties = approverViewUpdateData.separationOfDuties;
86
- }
87
- if (approverViewUpdateData.isFallback != null) {
88
- payload.is_fallback = approverViewUpdateData.isFallback;
89
- }
90
45
  if (isUpdate) {
91
46
  payload.approval_rule_id = approverViewUpdateData.approvalRuleId;
92
47
  }
@@ -1,45 +1,19 @@
1
1
  import { FetchStateAndError, ID } from '../../../../../commonStateTypes/common';
2
- import { AmountCriteria, DepartmentCriteria, Step, VendorCriteria } from '../../../../../entity/approvalRule/approvalRuleState';
2
+ import { Criteria, Step } from '../../../../../entity/approvalRule/approvalRuleState';
3
3
  export type ApprovalUpdateActionType = 'approval_create' | 'approval_update';
4
4
  export interface ApproverViewUpdateData {
5
5
  type: ApprovalUpdateActionType;
6
6
  updateStatus: FetchStateAndError;
7
7
  data?: ApprovalRuleUpdateData | ApprovalRuleCreateData;
8
8
  }
9
- /**
10
- * Form-side criteria shape used by the rule create/edit form.
11
- *
12
- * Each condition kind gets its own optional slot, mirroring how the UI
13
- * edits them as distinct rows. At most one of each kind is present; this
14
- * matches the design constraint that each condition type can be added once.
15
- */
16
- export interface ApprovalRuleFormCriteria {
17
- amount?: AmountCriteria;
18
- department?: DepartmentCriteria;
19
- vendor?: VendorCriteria;
20
- }
21
- /**
22
- * Rule-level fields shared by both create and update flows.
23
- *
24
- * These come from the 3.0 design: the form now owns a name, an optional
25
- * description, an optional Separation-of-Duties toggle, and a flag that
26
- * marks the rule as the org-wide fallback rule. They live alongside
27
- * criteria/steps but are not part of either.
28
- */
29
- export interface ApprovalRuleFormBase {
30
- description?: string;
31
- isFallback?: boolean;
32
- name?: string;
33
- separationOfDuties?: boolean;
34
- }
35
- export interface ApprovalRuleUpdateData extends ApprovalRuleFormBase {
9
+ export interface ApprovalRuleUpdateData {
36
10
  approvalRuleId: ID;
37
- criteria: ApprovalRuleFormCriteria;
11
+ criteria: Criteria;
38
12
  steps: Step[];
39
13
  isApplicableOnPendingApprovalEntity?: boolean;
40
14
  }
41
- export interface ApprovalRuleCreateData extends ApprovalRuleFormBase {
42
- criteria: ApprovalRuleFormCriteria;
15
+ export interface ApprovalRuleCreateData {
16
+ criteria: Criteria;
43
17
  steps: Step[];
44
18
  isApplicableOnPendingApprovalEntity?: boolean;
45
19
  }
@@ -9,7 +9,6 @@ exports.getPaymentSection = getPaymentSection;
9
9
  exports.toPaymentToOption = toPaymentToOption;
10
10
  const get_1 = __importDefault(require("lodash/get"));
11
11
  const has_1 = __importDefault(require("lodash/has"));
12
- const approvalRuleSelector_1 = require("../../../../entity/approvalRule/approvalRuleSelector");
13
12
  const reduceFetchState_1 = require("../../../../commonStateTypes/reduceFetchState");
14
13
  const bankAccountSelector_1 = require("../../../../entity/bankAccount/bankAccountSelector");
15
14
  const contactSelector_1 = require("../../../../entity/billPay/contact/contactSelector");
@@ -699,13 +698,9 @@ exports.getDefaultWithdrawFromAccount = getDefaultWithdrawFromAccount;
699
698
  const checkIfCreatorIsApprover = (billAmount, approvalRules, signedInUser) => {
700
699
  let isCreatorAlsoApprover = false;
701
700
  const approvalRule = approvalRules.find((rule) => {
702
- const amountCriteria = (0, approvalRuleSelector_1.getAmountCriteria)(rule.criteria);
703
- if (amountCriteria?.min == null) {
704
- return false;
705
- }
706
- const { min, max } = amountCriteria;
701
+ const { max, min } = rule.criteria[0].range;
707
702
  return (billAmount > min.amount &&
708
- (max?.amount != null ? billAmount <= max.amount : true));
703
+ (max?.amount != null ? billAmount <= max?.amount : true));
709
704
  });
710
705
  if (approvalRule != null) {
711
706
  const requireApprovalSteps = approvalRule.steps.filter((step) => step.action === 'require_approval');
@@ -61,7 +61,7 @@ export declare const initialCreditAcc: CreditAccount;
61
61
  export declare const initialDebitCardSummaries: DebitCardSummaries;
62
62
  export declare const initialResendRevokeCardInvite: ResendRevokeCardInvite;
63
63
  export declare const initialCreditAccountRepayment: CreditAccountRepayment;
64
- export declare const toChargeCardSortKeyType: (v: string) => "status" | "department" | "accountType" | "owner" | "cardName" | "limit" | "cardType" | "utilisation";
64
+ export declare const toChargeCardSortKeyType: (v: string) => "status" | "accountType" | "owner" | "cardName" | "limit" | "department" | "cardType" | "utilisation";
65
65
  export declare type ChargeCardViewSortKey = ReturnType<typeof toChargeCardSortKeyType>;
66
66
  export declare const ALL_CASHBACK_SORT_KEYS: readonly ["month", "cashback"];
67
67
  export declare const toCashbackSortKeyType: (v: string) => "month" | "cashback";
@@ -36,7 +36,7 @@ export interface PaymentHistoryFilters {
36
36
  }
37
37
  export interface PaymentHistoryFilterCategory {
38
38
  field: PaymentHistoryFilterCategoryField;
39
- matchingOperator: 'equal' | 'not-equal';
39
+ matchingOperator: 'equal' | 'not_equal';
40
40
  values: (string | ZeniDate)[];
41
41
  valuesCombinationOperator: 'ANY';
42
42
  }
@@ -46,7 +46,7 @@ export interface ReimbursementFilters {
46
46
  }
47
47
  export interface ReimbursementFilterCategory {
48
48
  field: RemiListViewFilterCategoryField;
49
- matchingOperator: 'equal' | 'not-equal';
49
+ matchingOperator: 'equal' | 'not_equal';
50
50
  values: (string | ZeniDate)[];
51
51
  valuesCombinationOperator: 'ANY';
52
52
  }
@@ -11,20 +11,16 @@ const initializeRemiSetupApproverViewUpdateDataEpic = (actions$, state$) => acti
11
11
  if (approvalRuleId != null) {
12
12
  const approvalRule = (0, approvalRuleSelector_1.getApprovalRuleById)(state$.value.approvalRuleState, approvalRuleId);
13
13
  if (approvalRule != null) {
14
+ const criteria = approvalRule.criteria[0];
15
+ const range = criteria?.range;
14
16
  const remiSetupApproverViewUpdateData = {
15
17
  approvalRuleId,
16
18
  steps: approvalRule.steps,
17
19
  criteria: {
18
- amount: (0, approvalRuleSelector_1.getAmountCriteria)(approvalRule.criteria),
19
- vendor: (0, approvalRuleSelector_1.getVendorCriteria)(approvalRule.criteria),
20
- department: (0, approvalRuleSelector_1.getDepartmentCriteria)(approvalRule.criteria),
20
+ rangeType: criteria?.rangeType,
21
+ rangeEntity: criteria?.rangeEntity,
22
+ range,
21
23
  },
22
- // Approval Rules 3.0 — seed rule-level fields so the form can
23
- // round-trip them on edit. Each may be undefined on legacy rules.
24
- name: approvalRule.name,
25
- description: approvalRule.description,
26
- separationOfDuties: approvalRule.separationOfDuties,
27
- isFallback: approvalRule.isFallback,
28
24
  };
29
25
  fetchActions.push((0, remiSetupApproverViewReducer_1.clearRemiSetupApproverViewUpdateData)(), (0, remiSetupApproverViewReducer_1.saveRemiSetupApproverViewUpdateData)(remiSetupApproverViewUpdateData));
30
26
  }
@@ -32,7 +28,7 @@ const initializeRemiSetupApproverViewUpdateDataEpic = (actions$, state$) => acti
32
28
  else {
33
29
  const remiSetupApproverViewCreateData = {
34
30
  steps: [],
35
- criteria: {},
31
+ criteria: undefined,
36
32
  };
37
33
  fetchActions.push((0, remiSetupApproverViewReducer_1.clearRemiSetupApproverViewUpdateData)(), (0, remiSetupApproverViewReducer_1.saveRemiSetupApproverViewUpdateData)(remiSetupApproverViewCreateData));
38
34
  }
@@ -1,3 +1,4 @@
1
+ import { CategoryCombinationOperator, FilterCategoryType } from '../../commonStateTypes/filterPrimitives';
1
2
  import { TimePeriod } from '../../commonStateTypes/timePeriod';
2
3
  import { UserRoleType } from '../../entity/userRole/userRoleType';
3
4
  import { RootState } from '../../reducer';
@@ -12,12 +13,20 @@ import { ReimbursementView } from './reimbursement/remiListView/remiListSelector
12
13
  import { ReimbursementFilters, RemiListViewFilterCategoryField } from './reimbursement/remiListView/remiListState';
13
14
  export type SpendManagementFiltersType = BillPayFilters | ReimbursementFilters | TaskListFilters | PaymentHistoryFilters;
14
15
  export type SpendManagementFilterEntityType = 'bill_pay' | 'reimbursement' | 'task_management' | 'charge_card_payment_history';
15
- export type FilterCategoryType = 'searchAutocomplete' | 'user' | 'dateRange' | 'numberRange' | 'dropdown';
16
+ /**
17
+ * Re-exported here so consumers of `spendManagementFilterHelpers` keep
18
+ * their existing import path stable after the primitives moved to
19
+ * `commonStateTypes/filterPrimitives`. Downstream files (`taskList`,
20
+ * `remiListState`, `chargeCardPaymentHistory`, `billListState`) and the
21
+ * CES barrel still pull `CategoryCombinationOperator` / `FilterCategoryType`
22
+ * from this module — the source of truth is upstream but the surface is
23
+ * unchanged.
24
+ */
25
+ export type { CategoryCombinationOperator, FilterCategoryType };
16
26
  export interface MatchingOperatorDropdownOption {
17
27
  label: 'is' | 'is not';
18
- value: 'equal' | 'not-equal';
28
+ value: 'equal' | 'not_equal';
19
29
  }
20
- export type CategoryCombinationOperator = 'AND' | 'OR';
21
30
  export interface BillPayFilterCategoryDropdownOption {
22
31
  value: BillListViewFilterCategoryField;
23
32
  multiple?: boolean;
@@ -14,6 +14,8 @@ const helpers_1 = require("./helpers");
14
14
  const remiListSelector_1 = require("./reimbursement/remiListView/remiListSelector");
15
15
  const remiListState_1 = require("./reimbursement/remiListView/remiListState");
16
16
  //filters items against filter values representing a range. ex: date (from-to), amount(1k<-->5k)
17
+ // Spend Management uses only equal/not_equal — TC amount operators
18
+ // (inBetween, lessThan, greaterThan) live in the TC filter pipeline.
17
19
  const filterItemOnRangeCategoryType = (valueForItem, currentFilter) => {
18
20
  let doesItemFallInValueRange = false;
19
21
  const filterField = currentFilter.field;
@@ -47,7 +49,7 @@ const filterItemOnCategoriesWithSingleValue = (categoryValue, currentFilter, ran
47
49
  return filterItemOnRangeCategoryType(categoryValue, currentFilter);
48
50
  }
49
51
  // if filter category is not rangeType
50
- if (currentFilter.matchingOperator === 'not-equal') {
52
+ if (currentFilter.matchingOperator === 'not_equal') {
51
53
  return currentFilter.values.indexOf(categoryValue.toString()) === -1;
52
54
  }
53
55
  return currentFilter.values.indexOf(categoryValue.toString()) > -1;
@@ -121,7 +123,7 @@ const applyAdvancedFiltersOnList = (entity, allItems, filters, filteredItems = [
121
123
  ? getCategoryValueForTaskList(key, item)
122
124
  : getCategoryValueForPaymentHistory(key, item);
123
125
  if (categoryValue == null) {
124
- if (currentFilter.matchingOperator === 'not-equal') {
126
+ if (currentFilter.matchingOperator === 'not_equal') {
125
127
  return true;
126
128
  }
127
129
  return false;
@@ -217,7 +217,7 @@ const applyAdvancedFiltersOnCompaniesList = (allCompanies, filters, filteredComp
217
217
  const key = currentFilter.field;
218
218
  const categoryValue = getCategoryValueForCompany(key, company);
219
219
  if (categoryValue == null) {
220
- if (currentFilter.matchingOperator === 'not-equal') {
220
+ if (currentFilter.matchingOperator === 'not_equal') {
221
221
  return true;
222
222
  }
223
223
  return false;
@@ -44,21 +44,21 @@ export interface TaskListFilters {
44
44
  }
45
45
  export interface TaskFilterCategory {
46
46
  field: TaskListFilterCategoryField;
47
- matchingOperator: 'equal' | 'not-equal';
47
+ matchingOperator: 'equal' | 'not_equal';
48
48
  values: (string | ZeniDate)[];
49
49
  valuesCombinationOperator: 'ANY';
50
50
  }
51
51
  export type TaskListFilterCategoryField = 'status' | 'dueDate' | 'assignee' | 'creationDate' | 'priority' | 'tag';
52
52
  export declare const TASK_LIST_GROUP_BY_KEYS: readonly ["groupName", "status", "dueDate", "assignee", "priority", "tag"];
53
- export declare const toTaskListGroupByKeyType: (v: string) => "status" | "priority" | "dueDate" | "groupName" | "tag" | "assignee";
54
- export declare const toTaskListGroupByKeyTypeStrict: (v: string) => "status" | "priority" | "dueDate" | "groupName" | "tag" | "assignee" | undefined;
53
+ export declare const toTaskListGroupByKeyType: (v: string) => "status" | "dueDate" | "groupName" | "tag" | "priority" | "assignee";
54
+ export declare const toTaskListGroupByKeyTypeStrict: (v: string) => "status" | "dueDate" | "groupName" | "tag" | "priority" | "assignee" | undefined;
55
55
  export declare type TaskGroupKey = ReturnType<typeof toTaskListGroupByKeyType>;
56
56
  export interface TaskListUIState extends SpendManagementUIState {
57
57
  groupByKey: TaskGroupKey;
58
58
  searchText: string;
59
59
  sortKey: TaskListViewSortKey;
60
60
  }
61
- declare const toTaskListSortKeyType: (v: string) => "status" | "name" | "priority" | "dueDate" | "tag" | "timeSpent" | "assignee" | "creationDate" | "visibility";
61
+ declare const toTaskListSortKeyType: (v: string) => "status" | "name" | "dueDate" | "tag" | "priority" | "timeSpent" | "assignee" | "creationDate" | "visibility";
62
62
  export declare type TaskListViewSortKey = ReturnType<typeof toTaskListSortKeyType>;
63
63
  export declare const TASK_LIST_FILTER_CATEGORIES: TaskListFilterCategoryOption[];
64
64
  interface TaskListFilterCategoryOption {
@@ -70,7 +70,7 @@ exports.initialState = {
70
70
  categories: [
71
71
  {
72
72
  field: 'status',
73
- matchingOperator: 'not-equal',
73
+ matchingOperator: 'not_equal',
74
74
  values: ['resolved'],
75
75
  valuesCombinationOperator: 'ANY',
76
76
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "5.0.69-betaAR4",
3
+ "version": "5.0.69-betaAR5",
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",