@pitcher/canvas-ui 2025.12.22-075217-beta → 2025.12.22-90449

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
@@ -88395,6 +88395,15 @@ function crmUpsert(payload) {
88395
88395
  }
88396
88396
  return highLevelApi.API.request("crm_upsert", payload);
88397
88397
  }
88398
+ function crmDescribe(payload) {
88399
+ if (!payload) {
88400
+ return Promise.reject(new Error("Payload is required"));
88401
+ }
88402
+ if (!payload.sobject || typeof payload.sobject !== "string" || payload.sobject.trim() === "") {
88403
+ return Promise.reject(new Error("sobject is required and must be a non-empty string"));
88404
+ }
88405
+ return highLevelApi.API.request("crm_describe", payload);
88406
+ }
88398
88407
 
88399
88408
  function getFolders(payload) {
88400
88409
  return this.API.request("get_folders", payload);
@@ -88492,6 +88501,7 @@ const modules = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
88492
88501
  createFile,
88493
88502
  createFolder,
88494
88503
  crmCreate,
88504
+ crmDescribe,
88495
88505
  crmQuery,
88496
88506
  crmQueryAdaptive,
88497
88507
  crmSmartDeleteObjects,