@veloceapps/api 4.0.3 → 4.0.5-1
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/bundles/veloce-api.umd.js +39 -31
- package/bundles/veloce-api.umd.js.map +1 -1
- package/esm2015/lib/services/configuration-api.service.js +13 -4
- package/fesm2015/veloce-api.js +14 -6
- package/fesm2015/veloce-api.js.map +1 -1
- package/lib/services/configuration-api.service.d.ts +6 -1
- package/package.json +1 -1
@@ -1,10 +1,15 @@
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
1
2
|
import { BaseHttpService, ConfigurationRequest, ConfigurePrice, RuntimeData, RuntimeModel } from '@veloce/core';
|
2
3
|
import { Observable } from 'rxjs';
|
3
4
|
import * as i0 from "@angular/core";
|
4
5
|
export declare class ConfigurationApiService {
|
5
6
|
private httpService;
|
7
|
+
private httpClient;
|
6
8
|
private readonly SERVICE_URL;
|
7
|
-
|
9
|
+
private readonly SERVICE_V2_URL;
|
10
|
+
constructor(httpService: BaseHttpService, httpClient: HttpClient);
|
11
|
+
initConfiguration(): Observable<string>;
|
12
|
+
update<T>(configurationId: string, request: any): Observable<T>;
|
8
13
|
configureLineItem({ configurationRequest, runtimeModel, pricingEnabled, }: {
|
9
14
|
configurationRequest: ConfigurationRequest;
|
10
15
|
runtimeModel?: RuntimeModel;
|