@zeniai/client-epic-state 4.7.81 → 4.7.82
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.
|
@@ -50,5 +50,5 @@ export interface BillPayFilterCategory {
|
|
|
50
50
|
values: (string | ZeniDate)[];
|
|
51
51
|
valuesCombinationOperator: 'ANY';
|
|
52
52
|
}
|
|
53
|
-
export declare type BillListViewFilterCategoryField = 'vendorName' | 'status' | 'invoiceDate' | 'dueDate' | 'paymentDate' | 'creationDate' | 'amount' | 'paymentMethod';
|
|
53
|
+
export declare type BillListViewFilterCategoryField = 'vendorName' | 'status' | 'invoiceDate' | 'dueDate' | 'paymentDate' | 'creationDate' | 'amount' | 'paymentMethod' | 'paymentType';
|
|
54
54
|
export declare const BILL_PAY_FILTER_CATEGORIES: BillPayFilterCategoryDropdownOption[];
|
|
@@ -57,6 +57,7 @@ exports.BILL_PAY_FILTER_CATEGORIES = [
|
|
|
57
57
|
},
|
|
58
58
|
{ value: 'paymentMethod', multiple: true, type: 'dropdown' },
|
|
59
59
|
{ value: 'status', multiple: true, type: 'dropdown' },
|
|
60
|
+
{ value: 'paymentType', type: 'dropdown' },
|
|
60
61
|
{ value: 'amount', type: 'numberRange' },
|
|
61
62
|
{ value: 'invoiceDate', type: 'dateRange', multiple: true },
|
|
62
63
|
{ value: 'dueDate', type: 'dateRange', multiple: true },
|
|
@@ -168,6 +168,8 @@ const getCategoryValueForBill = (key, bill) => {
|
|
|
168
168
|
return bill.date;
|
|
169
169
|
case 'paymentDate':
|
|
170
170
|
return bill.billPayInfo.paymentDate;
|
|
171
|
+
case 'paymentType':
|
|
172
|
+
return bill.isRecurring ? 'recurring' : 'one-time';
|
|
171
173
|
default:
|
|
172
174
|
return undefined;
|
|
173
175
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.82",
|
|
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
|
"types": "lib/index.d.ts",
|