@veloceapps/api 7.0.2-63 → 7.0.2-65
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/salesforce-api.service.mjs +13 -1
- package/esm2020/lib/services/ui-definitions-api.service.mjs +2 -2
- package/fesm2015/veloceapps-api.mjs +13 -1
- package/fesm2015/veloceapps-api.mjs.map +1 -1
- package/fesm2020/veloceapps-api.mjs +13 -1
- package/fesm2020/veloceapps-api.mjs.map +1 -1
- package/lib/services/salesforce-api.service.d.ts +3 -1
- package/package.json +1 -1
@@ -713,6 +713,18 @@ class SalesforceApiService {
|
|
713
713
|
...options,
|
714
714
|
});
|
715
715
|
}
|
716
|
+
getGlobalPicklists() {
|
717
|
+
return this.httpService.api({
|
718
|
+
method: 'get',
|
719
|
+
url: `${this.SERVICE_URL}/globalvalueset`,
|
720
|
+
});
|
721
|
+
}
|
722
|
+
getGlobalPicklistValues(id) {
|
723
|
+
return this.httpService.api({
|
724
|
+
method: 'get',
|
725
|
+
url: `${this.SERVICE_URL}/globalvalueset/${id}/values`,
|
726
|
+
});
|
727
|
+
}
|
716
728
|
}
|
717
729
|
SalesforceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: SalesforceApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });
|
718
730
|
SalesforceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: SalesforceApiService });
|
@@ -2194,7 +2206,7 @@ class UIDefinitionsApiService {
|
|
2194
2206
|
method: 'get',
|
2195
2207
|
url: `${serviceUrl}/${uiDefinitionId}`,
|
2196
2208
|
})
|
2197
|
-
.pipe(map$1(container => uiDefinitionFromDTO(container)));
|
2209
|
+
.pipe(map$1(container => uiDefinitionFromDTO({ ...container, id: uiDefinitionId })));
|
2198
2210
|
}
|
2199
2211
|
update$(uiDefinitionContainer) {
|
2200
2212
|
const serviceUrl = this.getServiceUrl(uiDefinitionContainer.modelId);
|