@zeniai/client-epic-state 5.0.85-betaJK5 → 5.0.85-betaJK7
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.
|
@@ -14,6 +14,7 @@ export const fetchCompanyTaskManagerViewEpic = (actions$, _state$, zeniAPI) => a
|
|
|
14
14
|
global_search: searchString ?? '',
|
|
15
15
|
sort_by: toSortKeyPayload(sortKey),
|
|
16
16
|
sort_order: getSortOrder(sortOrder),
|
|
17
|
+
filter_join: filters?.categoryCombinationOperator === 'AND' ? 'and' : 'or',
|
|
17
18
|
...(filters?.categories != null && filters.categories.length > 0
|
|
18
19
|
? { filter_by: toFilterByPayload(filters) }
|
|
19
20
|
: {}),
|
|
@@ -68,6 +69,5 @@ const toFilterByPayload = (filters) => {
|
|
|
68
69
|
operator: category.matchingOperator === 'equal' ? 'is' : 'is_not',
|
|
69
70
|
values: category.values.map((v) => String(v)),
|
|
70
71
|
join: category.valuesCombinationOperator === 'ALL' ? 'and' : 'or',
|
|
71
|
-
filter_join: category.valuesCombinationOperator === 'ALL' ? 'and' : 'or',
|
|
72
72
|
}));
|
|
73
73
|
};
|
|
@@ -17,6 +17,7 @@ const fetchCompanyTaskManagerViewEpic = (actions$, _state$, zeniAPI) => actions$
|
|
|
17
17
|
global_search: searchString ?? '',
|
|
18
18
|
sort_by: toSortKeyPayload(sortKey),
|
|
19
19
|
sort_order: (0, sortOrderPayload_1.getSortOrder)(sortOrder),
|
|
20
|
+
filter_join: filters?.categoryCombinationOperator === 'AND' ? 'and' : 'or',
|
|
20
21
|
...(filters?.categories != null && filters.categories.length > 0
|
|
21
22
|
? { filter_by: toFilterByPayload(filters) }
|
|
22
23
|
: {}),
|
|
@@ -72,6 +73,5 @@ const toFilterByPayload = (filters) => {
|
|
|
72
73
|
operator: category.matchingOperator === 'equal' ? 'is' : 'is_not',
|
|
73
74
|
values: category.values.map((v) => String(v)),
|
|
74
75
|
join: category.valuesCombinationOperator === 'ALL' ? 'and' : 'or',
|
|
75
|
-
filter_join: category.valuesCombinationOperator === 'ALL' ? 'and' : 'or',
|
|
76
76
|
}));
|
|
77
77
|
};
|
|
@@ -18,7 +18,7 @@ export type ManagementViewFilterCategoryField = 'controllerUserIds' | 'customerS
|
|
|
18
18
|
export type SubscriptionViewFilterCategoryField = 'controllerUserIds' | 'statusCode' | 'recommendedActionCode' | 'subscriptionPlans' | 'subscriptionAddOns' | 'avg2MonthExpenses' | 'slabLowerLimit' | 'slabUpperLimit' | 'monthlyRecurringRevenue';
|
|
19
19
|
export type PortfolioViewFilterCategoryField = 'netBurnOrIncome' | 'cashPosition' | 'income' | 'expenses' | 'runway';
|
|
20
20
|
export type HealthMonitorViewFilterCategoryField = 'verticalProductServices' | 'runway' | 'netPromoterScore' | 'customerSatisfactionScore' | 'churnProbabilityPercentage' | 'controller' | 'customerSuccessManager' | 'lastReportSent' | 'subscriptionStartDate' | 'subscriptionRenewalDate' | 'externalProductServiceExposure' | 'companyEngagementMetricsUpdatedAt' | 'companyGroupId' | 'monthlyRecurringRevenue';
|
|
21
|
-
export type TaskManagerViewFilterCategoryField = 'assignee' | 'creationDate' | 'dueDate' | 'priority' | 'status' | '
|
|
21
|
+
export type TaskManagerViewFilterCategoryField = 'assignee' | 'creationDate' | 'dueDate' | 'priority' | 'status' | 'company_id' | 'tag';
|
|
22
22
|
export interface CockpitFilterCategory {
|
|
23
23
|
matchingOperator: 'equal' | 'not_equal';
|
|
24
24
|
values: FilterCategoryValueType[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "5.0.85-
|
|
3
|
+
"version": "5.0.85-betaJK7",
|
|
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",
|