@veloceapps/api 7.0.2-54 → 7.0.2-56
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 +12 -1
- package/fesm2015/veloceapps-api.mjs +11 -0
- package/fesm2015/veloceapps-api.mjs.map +1 -1
- package/fesm2020/veloceapps-api.mjs +11 -0
- package/fesm2020/veloceapps-api.mjs.map +1 -1
- package/lib/services/salesforce-api.service.d.ts +5 -0
- package/package.json +1 -1
@@ -683,10 +683,21 @@ class SalesforceApiService {
|
|
683
683
|
...options,
|
684
684
|
});
|
685
685
|
}
|
686
|
+
/**
|
687
|
+
* @deprecated
|
688
|
+
*/
|
686
689
|
describe(objectName, fieldName, options) {
|
687
690
|
const methodUrl = `${this.SERVICE_URL}/describe/${objectName}/fields` + (fieldName ? `/${fieldName}` : '');
|
688
691
|
return this.httpService.api({ url: methodUrl, ...options });
|
689
692
|
}
|
693
|
+
describeObject(objectName, options) {
|
694
|
+
const methodUrl = `${this.SERVICE_URL}/describe/${objectName}/fields`;
|
695
|
+
return this.httpService.api({ url: methodUrl, ...options });
|
696
|
+
}
|
697
|
+
describeField(objectName, fieldName, options) {
|
698
|
+
const methodUrl = `${this.SERVICE_URL}/describe/${objectName}/fields/${fieldName}`;
|
699
|
+
return this.httpService.api({ url: methodUrl, ...options });
|
700
|
+
}
|
690
701
|
describe2(objectName, fields, options) {
|
691
702
|
const methodUrl = `${this.SERVICE_URL}/describe/${objectName}/fields`;
|
692
703
|
return this.httpService.api({ method: 'post', url: methodUrl, body: fields, ...options });
|