Built files from Bizgaze WebServer
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

meetingmanager.js 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
  2. function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
  3. return new (P || (P = Promise))(function (resolve, reject) {
  4. function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
  5. function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
  6. function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
  7. step((generator = generator.apply(thisArg, _arguments || [])).next());
  8. });
  9. };
  10. var Bizgaze;
  11. (function (Bizgaze) {
  12. let Apps;
  13. (function (Apps) {
  14. let Communications;
  15. (function (Communications) {
  16. let Meetings;
  17. (function (Meetings) {
  18. let Managers;
  19. (function (Managers) {
  20. class MeetingManager extends Unibase.Platform.Core.BaseManager {
  21. getMeeting(meetingid) {
  22. return __awaiter(this, void 0, void 0, function* () {
  23. const url = 'apis/v4/bizgaze/communications/meetings/getmeeting/meetingid/' + meetingid;
  24. return yield this.dataHelper().getAsync(url).then(function (response) {
  25. if (response.result !== null)
  26. response.result = JSON.parse(response.result);
  27. return response;
  28. });
  29. });
  30. }
  31. deleteParticipants(meetingid, contactid, contactname) {
  32. return __awaiter(this, void 0, void 0, function* () {
  33. const url = 'apis/v4/bizgaze/communications/meetings/removeinvitepeople/meetingid/' + meetingid + '/contactid/' + contactid + '/contactname/' + contactname;
  34. return yield this.dataHelper().postAsync(url, null).then(function (response) {
  35. if (response.result !== null)
  36. response.result = JSON.parse(response.result);
  37. return response;
  38. });
  39. });
  40. }
  41. deletecohost(meetingid, cohostid, cohost_text) {
  42. return __awaiter(this, void 0, void 0, function* () {
  43. debugger;
  44. const url = 'apis/v4/bizgaze/communications/meetings/deletecohost/meetingid/' + meetingid + '/cohostid/' + cohostid + '/cohost_text/' + cohost_text;
  45. return yield this.dataHelper().postAsync(url, null).then(function (response) {
  46. if (response.result !== null)
  47. response.result = JSON.parse(response.result);
  48. return response;
  49. });
  50. });
  51. }
  52. static Instance() {
  53. if (this._instance === undefined)
  54. this._instance = new MeetingManager();
  55. return this._instance;
  56. }
  57. }
  58. Managers.MeetingManager = MeetingManager;
  59. })(Managers = Meetings.Managers || (Meetings.Managers = {}));
  60. })(Meetings = Communications.Meetings || (Communications.Meetings = {}));
  61. })(Communications = Apps.Communications || (Apps.Communications = {}));
  62. })(Apps = Bizgaze.Apps || (Bizgaze.Apps = {}));
  63. })(Bizgaze || (Bizgaze = {}));