@esolve/ng-esolve-connect 0.46.0 → 0.46.2
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.
- package/esm2022/lib/account/user-account/classes/esolve-statement-transaction.model.mjs +2 -2
- package/esm2022/lib/account/user-account/interfaces/esolve-statement-transaction-record.interface.mjs +1 -1
- package/esm2022/lib/shipping/esolve-shipping.service.mjs +3 -2
- package/fesm2022/esolve-ng-esolve-connect.mjs +3 -2
- package/fesm2022/esolve-ng-esolve-connect.mjs.map +1 -1
- package/lib/account/user-account/classes/esolve-statement-transaction.model.d.ts +1 -1
- package/lib/account/user-account/interfaces/esolve-statement-transaction-record.interface.d.ts +1 -1
- package/lib/shipping/esolve-shipping.service.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { EsolveConfigService } from '../core';
|
|
4
|
+
import { EsolveTransactionType } from '../transactions';
|
|
4
5
|
import { EsolveShippingCost, EsolveShippingMethod, EsolveTimeSlotConfig } from './classes';
|
|
5
6
|
import { EsolveShippingMethodOptions } from './interfaces';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
@@ -25,7 +26,7 @@ export declare class EsolveShippingService {
|
|
|
25
26
|
*
|
|
26
27
|
* @returns An `Observable` with the shipping costs
|
|
27
28
|
*/
|
|
28
|
-
getShippingCost(shipping_id: number, addresses_id: number, location_id?: number): Observable<EsolveShippingCost>;
|
|
29
|
+
getShippingCost(shipping_id: number, addresses_id: number, location_id?: number, type?: EsolveTransactionType): Observable<EsolveShippingCost>;
|
|
29
30
|
/**
|
|
30
31
|
* Retrieves the time slot config from a shipping method
|
|
31
32
|
*
|