@pitcher/js-api 1.22.0-beta.4 → 1.22.0-beta.5

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
@@ -3465,6 +3465,17 @@ const postCallUi = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty
3465
3465
  stopMeeting
3466
3466
  }, Symbol.toStringTag, { value: 'Module' }));
3467
3467
 
3468
+ async function promptPia(payload) {
3469
+ const pr = await usePostRobot();
3470
+ const r = await pr.send(window.parent, UI_API_METHOD_TYPES.UI_PROMPT_PIA, payload);
3471
+ return r.data;
3472
+ }
3473
+
3474
+ const piaUi = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
3475
+ __proto__: null,
3476
+ promptPia
3477
+ }, Symbol.toStringTag, { value: 'Module' }));
3478
+
3468
3479
  async function onNative(type, handler) {
3469
3480
  const messageListener = (event) => {
3470
3481
  if (event.data.type === type) {
@@ -3517,7 +3528,8 @@ const ui = {
3517
3528
  ...locationUi,
3518
3529
  ...appErrorsUi,
3519
3530
  ...canvasUi,
3520
- ...postCallUi
3531
+ ...postCallUi,
3532
+ ...piaUi
3521
3533
  };
3522
3534
 
3523
3535
  const ADMIN_MESSAGE = "ADMIN_MESSAGE";