Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

myinterview

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

myinterview - npm Package Compare versions

Comparing version 1.0.2 to 1.0.201

4

dist/Jobs.d.ts

@@ -1,2 +0,2 @@

import { IApiResponseObj, IJobUpdateBody, indexedObject, IJob, ICandidate, IGlobalApiSdkConfig, IJobCreateWithCandidatesBody } from './utils';
import { IApiResponseObj, IJobUpdateBody, IJob, ICandidate, IGlobalApiSdkConfig, IJobCreateWithCandidatesBody, IJobCreateBody } from './utils';
import { MyInterviewApi } from './MyInterviewApi';

@@ -7,2 +7,3 @@ export declare class Jobs extends MyInterviewApi {

static getJob(id: string, instanceConfig?: IGlobalApiSdkConfig): Promise<IApiResponseObj<IJob>>;
static createJob(body: IJobCreateBody, instanceConfig?: IGlobalApiSdkConfig): Promise<IApiResponseObj<IJob>>;
static createJobWithCandidates(body: IJobCreateWithCandidatesBody, instanceConfig?: IGlobalApiSdkConfig): Promise<IApiResponseObj<{

@@ -13,4 +14,3 @@ candidates: ICandidate[];

}>>;
static createJob(body: indexedObject, instanceConfig?: IGlobalApiSdkConfig): Promise<IApiResponseObj<IJob>>;
static updateJob(body: IJobUpdateBody, instanceConfig?: IGlobalApiSdkConfig): Promise<IApiResponseObj<IJob>>;
}

@@ -44,10 +44,10 @@ "use strict";

}
static createJobWithCandidates(body, instanceConfig) {
static createJob(body, instanceConfig) {
return __awaiter(this, void 0, void 0, function* () {
return (yield (0, axios_1.default)(new this(instanceConfig).makeApiCall('createJobWithCandidates', body))).data;
return (yield (0, axios_1.default)(new this(instanceConfig).makeApiCall('createJob', body))).data;
});
}
static createJob(body, instanceConfig) {
static createJobWithCandidates(body, instanceConfig) {
return __awaiter(this, void 0, void 0, function* () {
return (yield (0, axios_1.default)(new this(instanceConfig).makeApiCall('createJob', body))).data;
return (yield (0, axios_1.default)(new this(instanceConfig).makeApiCall('createJobWithCandidates', body))).data;
});

@@ -84,3 +84,3 @@ }

__metadata("design:returntype", Promise)
], Jobs, "createJobWithCandidates", null);
], Jobs, "createJob", null);
__decorate([

@@ -91,3 +91,3 @@ utils_1.StaticErrorHandler,

__metadata("design:returntype", Promise)
], Jobs, "createJob", null);
], Jobs, "createJobWithCandidates", null);
__decorate([

@@ -94,0 +94,0 @@ utils_1.StaticErrorHandler,

@@ -136,3 +136,3 @@ "use strict";

method: 'get',
url: Helpers_1.Helpers.cleanURL(`${baseURL}/candidates/jobs/${job_id}?${(query === null || query === void 0 ? void 0 : query.ids) && ((_b = query === null || query === void 0 ? void 0 : query.ids) === null || _b === void 0 ? void 0 : _b.length) ? `ids=${(_c = query === null || query === void 0 ? void 0 : query.ids) === null || _c === void 0 ? void 0 : _c.join('&' + 'ids=')}&` : ''}${(query === null || query === void 0 ? void 0 : query.email) ? `email=${query === null || query === void 0 ? void 0 : query.email}&` : ''}${(query === null || query === void 0 ? void 0 : query.status) ? `&status=${query === null || query === void 0 ? void 0 : query.status}&` : ''}${(query === null || query === void 0 ? void 0 : query.username) ? `username=${query === null || query === void 0 ? void 0 : query.username}&` : ''}skip=${(_d = query === null || query === void 0 ? void 0 : query.skip) !== null && _d !== void 0 ? _d : '0'}&limit=${(_e = query === null || query === void 0 ? void 0 : query.limit) !== null && _e !== void 0 ? _e : '20'}`),
url: Helpers_1.Helpers.cleanURL(`${baseURL}/candidates/jobs/${job_id}?${(query === null || query === void 0 ? void 0 : query.ids) && ((_b = query === null || query === void 0 ? void 0 : query.ids) === null || _b === void 0 ? void 0 : _b.length) ? `ids=${(_c = query === null || query === void 0 ? void 0 : query.ids) === null || _c === void 0 ? void 0 : _c.join('&' + 'ids=')}&` : ''}${(query === null || query === void 0 ? void 0 : query.email) ? `email=${query === null || query === void 0 ? void 0 : query.email}&` : ''}${(query === null || query === void 0 ? void 0 : query.status) ? `status=${query === null || query === void 0 ? void 0 : query.status}&` : ''}${(query === null || query === void 0 ? void 0 : query.username) ? `username=${query === null || query === void 0 ? void 0 : query.username}&` : ''}skip=${(_d = query === null || query === void 0 ? void 0 : query.skip) !== null && _d !== void 0 ? _d : '0'}&limit=${(_e = query === null || query === void 0 ? void 0 : query.limit) !== null && _e !== void 0 ? _e : '20'}`),
headers,

@@ -139,0 +139,0 @@ };

@@ -136,2 +136,29 @@ import { AxiosRequestConfig, Method } from 'axios';

url?: string;
questions?: IQuestion[];
reminderValues?: string[];
skills?: string[];
kanban?: IJobKanban[];
permissions?: IJobPermission[];
introVideo?: string;
archived?: boolean;
api_created?: string;
location?: string;
type?: string;
candidates: ICandidateCreateBody;
}
export interface IJobCreateBody {
language?: string;
overlay?: string;
termsUrl?: string;
privacyUrl?: string;
backgroundImage?: string;
transcriptLanguage?: string;
title: string;
slug?: string;
config?: IJobConfig;
deadlineDate?: string | Date | number;
experience?: string;
jobDescription?: string;
logo?: string;
url?: string;
questions: IQuestion[];

@@ -138,0 +165,0 @@ reminderValues?: string[];

@@ -42,2 +42,3 @@ export interface IReminder {

videoQuestion?: string;
description?: string;
}

@@ -44,0 +45,0 @@ export interface IJobConfig {

{
"name": "myinterview",
"version": "1.0.2",
"version": "1.0.201",
"description": "Build and integrate myInterview with ease via our node.js npm package and connect to the myInterview API.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc