@veloceapps/api 6.0.0-12 → 6.0.0-14
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/veloceapps-api.umd.js +3 -0
- package/bundles/veloceapps-api.umd.js.map +1 -1
- package/esm2015/lib/services/configuration-settings-api.service.js +1 -1
- package/esm2015/lib/services/salesforce-api.service.js +4 -1
- package/fesm2015/veloceapps-api.js +3 -0
- package/fesm2015/veloceapps-api.js.map +1 -1
- package/lib/services/configuration-settings-api.service.d.ts +1 -1
- package/lib/services/salesforce-api.service.d.ts +5 -0
- package/package.json +1 -1
@@ -914,6 +914,9 @@
|
|
914
914
|
}
|
915
915
|
return this.httpService.api(Object.assign({ url: this.SERVICE_URL + "/query", params: params }, options));
|
916
916
|
};
|
917
|
+
SalesforceApiService.prototype.search = function (req, options) {
|
918
|
+
return this.httpService.api(Object.assign({ url: this.SERVICE_URL + "/rest/search", params: { q: req.searchString } }, options));
|
919
|
+
};
|
917
920
|
SalesforceApiService.prototype.describe = function (objectName, fieldName, options) {
|
918
921
|
var methodUrl = this.SERVICE_URL + "/describe/" + objectName + "/fields" + (fieldName ? "/" + fieldName : '');
|
919
922
|
return this.httpService.api(Object.assign({ url: methodUrl }, options));
|