12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- 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 Unibase;
- (function (Unibase) {
- let Apps;
- (function (Apps) {
- let Collaboration;
- (function (Collaboration) {
- class ResumeParsingManager extends Unibase.Platform.Core.BaseManager {
- createLead(obj) {
- return __awaiter(this, void 0, void 0, function* () {
- const url = 'apis/v4/bizgaze/integrations/businesscards/createlead';
- return yield this.dataHelper().postAsync(url, obj).then(function (response) {
- if (response.result != null) {
- response.result = JSON.parse(response.result);
- }
- return response;
- });
- });
- }
- postResume(data) {
- return __awaiter(this, void 0, void 0, function* () {
- const url = 'apis/v4/bizgaze/integrations/ai/uploadresume';
- return yield this.dataHelper().postAsync(url, data).then(function (response) {
- return response;
- });
- });
- }
- postUserRegister(data) {
- return __awaiter(this, void 0, void 0, function* () {
- const url = 'apis/v4/bizgaze/integrations/facerecognization/register';
- return yield this.dataHelper().postAsync(url, data).then(function (response) {
- return response;
- });
- });
- }
- postUserDetect(data) {
- return __awaiter(this, void 0, void 0, function* () {
- const url = 'apis/v4/bizgaze/integrations/facerecognization/detect';
- return yield this.dataHelper().postAsync(url, data).then(function (response) {
- return response;
- });
- });
- }
- postbusinessCard(data) {
- return __awaiter(this, void 0, void 0, function* () {
- const url = 'apis/v4/bizgaze/integrations/ai/uploadbusinesscards/list';
- return yield this.dataHelper().postAsync(url, data).then(function (response) {
- return response;
- });
- });
- }
- static Instance() {
- if (this.instance === undefined) {
- this.instance = new ResumeParsingManager();
- }
- return this.instance;
- }
- }
- Collaboration.ResumeParsingManager = ResumeParsingManager;
- })(Collaboration = Apps.Collaboration || (Apps.Collaboration = {}));
- })(Apps = Unibase.Apps || (Unibase.Apps = {}));
- })(Unibase || (Unibase = {}));
|