@zeniai/client-epic-state 4.8.19 → 4.8.21
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.
|
@@ -141,6 +141,7 @@ export interface CompanyChargeCardInfoPayload {
|
|
|
141
141
|
}
|
|
142
142
|
export interface CompanyMileageConfigInfoPayload {
|
|
143
143
|
mileage_unit_amount: number | null;
|
|
144
|
+
default_mileage_unit_amount: number;
|
|
144
145
|
mileage_unit: string;
|
|
145
146
|
mileage_currency_symbol: string;
|
|
146
147
|
mileage_currency_code: string;
|
|
@@ -195,6 +195,7 @@ const toCompanyMileageConfigInfo = (payload) => {
|
|
|
195
195
|
var _a, _b;
|
|
196
196
|
return ({
|
|
197
197
|
mileageUnitAmount: (_a = payload.mileage_unit_amount) !== null && _a !== void 0 ? _a : undefined,
|
|
198
|
+
defaultMileageUnitAmount: payload.default_mileage_unit_amount,
|
|
198
199
|
mileageUnit: payload.mileage_unit,
|
|
199
200
|
mileageCurrencyCode: payload.mileage_currency_code,
|
|
200
201
|
mileageCurrencySymbol: payload.mileage_currency_symbol,
|
|
@@ -205,11 +205,12 @@ export interface CompanyFeaturesActivationInfo {
|
|
|
205
205
|
isFeatureVendorListingEnabled: boolean;
|
|
206
206
|
}
|
|
207
207
|
export interface CompanyMileageConfigInfo {
|
|
208
|
-
|
|
208
|
+
defaultMileageUnitAmount: number;
|
|
209
209
|
mileageUnit: string;
|
|
210
210
|
mileageCurrencySymbol: string;
|
|
211
211
|
mileageCurrencyCode: string;
|
|
212
212
|
description: string;
|
|
213
|
+
mileageUnitAmount?: number;
|
|
213
214
|
denominationConversions: {
|
|
214
215
|
amount?: number;
|
|
215
216
|
denomination: MileageDenomination;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "4.8.
|
|
3
|
+
"version": "4.8.21",
|
|
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",
|