@pitcher/canvas-ui 2025.12.18-224654-beta → 2025.12.19-075910-beta

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/canvas-ui.js CHANGED
@@ -87862,6 +87862,15 @@ function crmUpsert(payload) {
87862
87862
  }
87863
87863
  return highLevelApi.API.request("crm_upsert", payload);
87864
87864
  }
87865
+ function crmDescribe(payload) {
87866
+ if (!payload) {
87867
+ return Promise.reject(new Error("Payload is required"));
87868
+ }
87869
+ if (!payload.sobject || typeof payload.sobject !== "string" || payload.sobject.trim() === "") {
87870
+ return Promise.reject(new Error("sobject is required and must be a non-empty string"));
87871
+ }
87872
+ return highLevelApi.API.request("crm_describe", payload);
87873
+ }
87865
87874
 
87866
87875
  function getFolders(payload) {
87867
87876
  return this.API.request("get_folders", payload);
@@ -87959,6 +87968,7 @@ const modules = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
87959
87968
  createFile,
87960
87969
  createFolder,
87961
87970
  crmCreate,
87971
+ crmDescribe,
87962
87972
  crmQuery,
87963
87973
  crmSmartDeleteObjects,
87964
87974
  crmSmartObjectMetadata,