@onylab/common-api 2.1.40 → 2.1.41
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/dist/common-api.d.ts +18 -1
- package/package.json +1 -1
package/dist/common-api.d.ts
CHANGED
|
@@ -369,7 +369,7 @@ declare module "api/hubrise/model/order/HubriseOrderContract" {
|
|
|
369
369
|
service_type_ref?: string;
|
|
370
370
|
channel?: string;
|
|
371
371
|
expected_time?: string;
|
|
372
|
-
expected_time_pickup?:
|
|
372
|
+
expected_time_pickup?: boolean;
|
|
373
373
|
confirmed_time?: string;
|
|
374
374
|
asap?: boolean;
|
|
375
375
|
customer_id?: string;
|
|
@@ -2518,6 +2518,23 @@ declare module "web" {
|
|
|
2518
2518
|
import * as Util from "util/index";
|
|
2519
2519
|
export { Api, Exception, Util };
|
|
2520
2520
|
}
|
|
2521
|
+
declare module "api/hubrise/service/ExpectedDateCalculatorContract" {
|
|
2522
|
+
import { HubriseOrderContract } from "api/hubrise/model/order/HubriseOrderContract";
|
|
2523
|
+
import { HubriseLocationContract } from "api/hubrise/model/location/HubriseLocationContract";
|
|
2524
|
+
export interface ExpectedDateCalculatorContract {
|
|
2525
|
+
calculateReadyDate(order: HubriseOrderContract, location: HubriseLocationContract): undefined | string;
|
|
2526
|
+
}
|
|
2527
|
+
}
|
|
2528
|
+
declare module "api/hubrise/service/ExpectedDateCalculator" {
|
|
2529
|
+
import { HubriseOrderContract } from "api/hubrise/model/order/HubriseOrderContract";
|
|
2530
|
+
import { HubriseLocationContract } from "api/hubrise/model/location/HubriseLocationContract";
|
|
2531
|
+
import { ExpectedDateCalculatorContract } from "api/hubrise/service/ExpectedDateCalculatorContract";
|
|
2532
|
+
export class ExpectedDateCalculator implements ExpectedDateCalculatorContract {
|
|
2533
|
+
static readonly DEFAULT_PREPARATION_DELAY_IN_MINUTES: number;
|
|
2534
|
+
static readonly DEFAULT_DELIVERY_DELAY_IN_MINUTES: number;
|
|
2535
|
+
calculateReadyDate(order: HubriseOrderContract, location: undefined | HubriseLocationContract): undefined | string;
|
|
2536
|
+
}
|
|
2537
|
+
}
|
|
2521
2538
|
declare module "exception/ForbiddenException" {
|
|
2522
2539
|
import { MainException } from "exception/MainException";
|
|
2523
2540
|
import { ExceptionContract } from "exception/ExceptionContract";
|