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

myinterview

Package Overview
Dependencies
Maintainers
4
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.1.10 to 1.1.11

5

dist/Candidates.d.ts

@@ -14,2 +14,7 @@ import { IApiResponseObj, ICandidateCreateBody, indexedObject, ICandidate, IQueryJobCandidates, IGlobalApiSdkConfig } from './utils';

}>>;
static deleteBulkCandidates(body: {
candidateIds: string[];
}, instanceConfig?: IGlobalApiSdkConfig): Promise<IApiResponseObj<{
message: string;
}>>;
}

@@ -49,2 +49,7 @@ "use strict";

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

@@ -75,2 +80,8 @@ __decorate([

], Candidates, "updateCandidate", null);
__decorate([
utils_1.StaticErrorHandler,
__metadata("design:type", Function),
__metadata("design:paramtypes", [Object, Object]),
__metadata("design:returntype", Promise)
], Candidates, "deleteBulkCandidates", null);
exports.Candidates = Candidates;

@@ -166,2 +166,9 @@ "use strict";

};
case 'deleteBulkCandidates':
return {
method: 'delete',
url: Helpers_1.Helpers.cleanURL(`${baseURL}/candidates/bulk`),
headers,
data,
};
// Videos

@@ -198,2 +205,9 @@ case 'getShareLink':

}
case 'deleteBulkVideos':
return {
method: 'delete',
url: Helpers_1.Helpers.cleanURL(`${baseURL}/videos/bulk`),
headers,
data,
};
// Shares

@@ -200,0 +214,0 @@ case 'getShortlistUrl':

@@ -10,2 +10,7 @@ import { IApiResponseObj, IVideo, IGetJobVideosBody, IGlobalApiSdkConfig, IGetVideosBody, IGetVideoBody } from './utils';

static getJobVideos(body: IGetJobVideosBody, instanceConfig?: IGlobalApiSdkConfig): Promise<IApiResponseObj<IVideo>>;
static deleteBulkVideos(body: {
videoIds: string[];
}, instanceConfig?: IGlobalApiSdkConfig): Promise<IApiResponseObj<{
message: string;
}>>;
}

@@ -49,2 +49,7 @@ "use strict";

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

@@ -75,2 +80,8 @@ __decorate([

], Videos, "getJobVideos", null);
__decorate([
utils_1.StaticErrorHandler,
__metadata("design:type", Function),
__metadata("design:paramtypes", [Object, Object]),
__metadata("design:returntype", Promise)
], Videos, "deleteBulkVideos", null);
exports.Videos = Videos;

12

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

@@ -43,3 +43,3 @@ "main": "dist/index.js",

"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-node": "^11.1.0",

@@ -51,5 +51,5 @@ "eslint-plugin-prettier": "^3.4.0",

"lint-staged": "^11.2.6",
"prettier": "^2.5.1",
"ts-jest": "^27.1.3",
"typescript": "^4.6.2"
"prettier": "^2.7.1",
"ts-jest": "^27.1.5",
"typescript": "^4.8.4"
},

@@ -59,4 +59,4 @@ "dependencies": {

"dotenv": "^10.0.0",
"express-validator": "^6.14.0"
"express-validator": "^6.14.2"
}
}

@@ -184,2 +184,22 @@ # MyInterview-node #

### deleteBulkCandidates
Delete candidates bulk by ids.
```ts
const body = {
candidateIds: ["candidate_id", "candidate_id1", "candidate_id2"]// You have to provide the id of the candidate
};
await Candidates.deleteBulkCandidates(body);
```
### deleteBulkCandidates Params
| Field | Type | Description |
| --- |-----------------|----------------------------------|
| *candidateIds | string array | IDs of the candidates |
*required field
## Companies

@@ -665,2 +685,22 @@ ```js

### deleteBulkVideos
Delete videos bulk by ids.
```ts
const body = {
videoIds: ["video_id", "video_id1", "video_id2"]// You have to provide the id of the candidate
};
await Candidates.deleteBulkVideos(body);
```
### deleteBulkVideos Params
| Field | Type | Description |
|-----------|-----------------|-------------------|
| *videoIds | string array | IDs of the videos |
*required field
## Shares

@@ -667,0 +707,0 @@ ```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