@pitcher/js-api 1.21.0-beta.13 → 1.21.0-beta.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/js-api.esm.js CHANGED
@@ -3204,6 +3204,7 @@ const UI_API_METHOD_TYPES = {
3204
3204
  UI_TOAST: "ui_toast",
3205
3205
  UI_CAPTURE_APP_ERROR: "ui_capture_app_error",
3206
3206
  UI_UPDATE_CANVAS: "ui_update_canvas",
3207
+ UI_OPEN_CANVAS_OVERLAY: "ui_open_canvas_overlay",
3207
3208
  UI_UPDATE_LOCATION: "ui_update_location",
3208
3209
  UI_PRESELECT_SFDC_MEETING_ID: "ui_preselect_sfdc_meeting_id",
3209
3210
  UI_SET_POSTCALL_STYLE: "ui_set_postcall_style",
@@ -3317,6 +3318,10 @@ async function canvas_navigate_page(payload) {
3317
3318
  const pr = await usePostRobot();
3318
3319
  pr.send(window.parent, UI_API_METHOD_TYPES.UI_CANVAS_NAVIGATE_PAGE, payload);
3319
3320
  }
3321
+ async function openCanvasOverlay$1(payload) {
3322
+ const pr = await usePostRobot();
3323
+ await pr.send(window, UI_API_METHOD_TYPES.UI_OPEN_CANVAS_OVERLAY, payload);
3324
+ }
3320
3325
 
3321
3326
  const canvasUi = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
3322
3327
  __proto__: null,
@@ -3325,6 +3330,7 @@ const canvasUi = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
3325
3330
  canvas_navigate_next_page,
3326
3331
  canvas_navigate_page,
3327
3332
  canvas_navigate_previous_page,
3333
+ openCanvasOverlay: openCanvasOverlay$1,
3328
3334
  update_canvas
3329
3335
  }, Symbol.toStringTag, { value: 'Module' }));
3330
3336
 
@@ -3421,6 +3427,7 @@ const ADMIN_API_METHOD_TYPES = {
3421
3427
  GET_APP_CONFIG: "admin_get_app_config",
3422
3428
  GET_CANVAS: "admin_get_canvas",
3423
3429
  GET_CANVASES: "admin_get_canvases",
3430
+ OPEN_CANVAS_OVERLAY: "admin_open_canvas_overlay",
3424
3431
  GET_ENV: "admin_get_env",
3425
3432
  GET_FILE: "admin_get_file",
3426
3433
  GET_FILES: "admin_get_files",
@@ -3461,12 +3468,17 @@ async function updateCanvas(payload) {
3461
3468
  const r = await pr.send(window.parent, ADMIN_API_METHOD_TYPES.UPDATE_CANVAS, payload);
3462
3469
  return r.data;
3463
3470
  }
3471
+ async function openCanvasOverlay(payload) {
3472
+ const pr = await usePostRobot();
3473
+ await pr.send(window, ADMIN_API_METHOD_TYPES.OPEN_CANVAS_OVERLAY, payload);
3474
+ }
3464
3475
 
3465
3476
  const canvasAdmin = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
3466
3477
  __proto__: null,
3467
3478
  createCanvas,
3468
3479
  getCanvas,
3469
3480
  getCanvases,
3481
+ openCanvasOverlay,
3470
3482
  updateCanvas
3471
3483
  }, Symbol.toStringTag, { value: 'Module' }));
3472
3484