123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
- return new (P || (P = Promise))(function (resolve, reject) {
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
- };
- var Bizgaze;
- (function (Bizgaze) {
- let Apps;
- (function (Apps) {
- let Communications;
- (function (Communications) {
- let Meetings;
- (function (Meetings) {
- let Managers;
- (function (Managers) {
- class MeetingManager extends Unibase.Platform.Core.BaseManager {
- getMeeting(meetingid) {
- return __awaiter(this, void 0, void 0, function* () {
- const url = 'apis/v4/bizgaze/communications/meetings/getmeeting/meetingid/' + meetingid;
- return yield this.dataHelper().getAsync(url).then(function (response) {
- if (response.result !== null)
- response.result = JSON.parse(response.result);
- return response;
- });
- });
- }
- deleteParticipants(meetingid, contactid, contactname) {
- return __awaiter(this, void 0, void 0, function* () {
- const url = 'apis/v4/bizgaze/communications/meetings/removeinvitepeople/meetingid/' + meetingid + '/contactid/' + contactid + '/contactname/' + contactname;
- return yield this.dataHelper().postAsync(url, null).then(function (response) {
- if (response.result !== null)
- response.result = JSON.parse(response.result);
- return response;
- });
- });
- }
- deletecohost(meetingid, cohostid, cohost_text) {
- return __awaiter(this, void 0, void 0, function* () {
- debugger;
- const url = 'apis/v4/bizgaze/communications/meetings/deletecohost/meetingid/' + meetingid + '/cohostid/' + cohostid + '/cohost_text/' + cohost_text;
- return yield this.dataHelper().postAsync(url, null).then(function (response) {
- if (response.result !== null)
- response.result = JSON.parse(response.result);
- return response;
- });
- });
- }
- static Instance() {
- if (this._instance === undefined)
- this._instance = new MeetingManager();
- return this._instance;
- }
- }
- Managers.MeetingManager = MeetingManager;
- })(Managers = Meetings.Managers || (Meetings.Managers = {}));
- })(Meetings = Communications.Meetings || (Communications.Meetings = {}));
- })(Communications = Apps.Communications || (Apps.Communications = {}));
- })(Apps = Bizgaze.Apps || (Bizgaze.Apps = {}));
- })(Bizgaze || (Bizgaze = {}));
|