@veloceapps/api 10.0.0-25 → 10.0.0-27
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/esm2020/lib/services/rlm-api.service.mjs +6 -2
- package/esm2020/lib/services/rlm-quote-api.service.mjs +6 -2
- package/fesm2015/veloceapps-api.mjs +10 -2
- package/fesm2015/veloceapps-api.mjs.map +1 -1
- package/fesm2020/veloceapps-api.mjs +10 -2
- package/fesm2020/veloceapps-api.mjs.map +1 -1
- package/lib/services/rlm-api.service.d.ts +1 -1
- package/lib/services/rlm-quote-api.service.d.ts +1 -1
- package/package.json +1 -1
@@ -3467,9 +3467,13 @@ class RlmApiService {
|
|
3467
3467
|
}));
|
3468
3468
|
}
|
3469
3469
|
fetchRlmProcedures(contextDefinitionId) {
|
3470
|
+
const params = {};
|
3471
|
+
if (contextDefinitionId) {
|
3472
|
+
params['contextDefinitionId'] = contextDefinitionId;
|
3473
|
+
}
|
3470
3474
|
return this.baseHttpService.api({
|
3471
3475
|
url: `${this.serviceUrl}/procedures`,
|
3472
|
-
params
|
3476
|
+
params,
|
3473
3477
|
});
|
3474
3478
|
}
|
3475
3479
|
}
|
@@ -3485,10 +3489,14 @@ class RlmQuoteApiService {
|
|
3485
3489
|
this.SERVICE_URL = '/quotes/rlm';
|
3486
3490
|
}
|
3487
3491
|
getQuote(mappingType, objectId, contextMappingId, options) {
|
3492
|
+
const params = { mappingType };
|
3493
|
+
if (contextMappingId) {
|
3494
|
+
params['contextMappingId'] = contextMappingId;
|
3495
|
+
}
|
3488
3496
|
return this.httpService.api({
|
3489
3497
|
method: 'get',
|
3490
3498
|
url: `${this.SERVICE_URL}/${objectId}`,
|
3491
|
-
params
|
3499
|
+
params,
|
3492
3500
|
...options,
|
3493
3501
|
});
|
3494
3502
|
}
|