myinterview
Advanced tools
Comparing version 1.2.9 to 1.2.10
@@ -195,6 +195,6 @@ "use strict"; | ||
case 'getVideos': { | ||
const { email, username, skip, limit, ai, transcript } = data; | ||
const { email, username, skip, limit, ai, transcript, started } = data; | ||
return { | ||
method: 'get', | ||
url: Helpers_1.Helpers.cleanURL(`${baseURL}/videos?ai=${ai ? `1` : '0'}&transcript=${transcript ? `1` : '0'}&${username ? `username=${username}&` : ''}${email ? `email=${email}&` : ''}skip=${skip !== null && skip !== void 0 ? skip : '0'}&limit=${limit !== null && limit !== void 0 ? limit : '20'}`), | ||
url: Helpers_1.Helpers.cleanURL(`${baseURL}/videos?ai=${ai ? `1` : '0'}&transcript=${transcript ? `1` : '0'}&${username ? `username=${username}&` : ''}${email ? `email=${email}&` : ''}skip=${skip !== null && skip !== void 0 ? skip : '0'}&limit=${limit !== null && limit !== void 0 ? limit : '20'}${started ? `&started=${started}` : ''}`), | ||
headers, | ||
@@ -207,3 +207,3 @@ }; | ||
method: 'get', | ||
url: Helpers_1.Helpers.cleanURL(`${baseURL}/videos/jobs/${job_id}?${(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.apiKey) ? `&apiKey=${query === null || query === void 0 ? void 0 : query.apiKey}&` : ''}${(query === null || query === void 0 ? void 0 : query.username) ? `username=${query === null || query === void 0 ? void 0 : query.username}&` : ''}${(query === null || query === void 0 ? void 0 : query.clicked) ? `&clicked=${query === null || query === void 0 ? void 0 : query.clicked}&` : ''}${(query === null || query === void 0 ? void 0 : query.uploaded) ? `&uploaded=${query === null || query === void 0 ? void 0 : query.uploaded}&` : ''}${(query === null || query === void 0 ? void 0 : query.completed) ? `&completed=${query === null || query === void 0 ? void 0 : query.completed}&` : ''}${(query === null || query === void 0 ? void 0 : query.candidate_id) ? `&candidate_id=${query === null || query === void 0 ? void 0 : query.candidate_id}&` : ''}skip=${(_f = query === null || query === void 0 ? void 0 : query.skip) !== null && _f !== void 0 ? _f : '0'}&limit=${(_g = query === null || query === void 0 ? void 0 : query.limit) !== null && _g !== void 0 ? _g : '20'}`), | ||
url: Helpers_1.Helpers.cleanURL(`${baseURL}/videos/jobs/${job_id}?${(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.apiKey) ? `&apiKey=${query === null || query === void 0 ? void 0 : query.apiKey}&` : ''}${(query === null || query === void 0 ? void 0 : query.username) ? `username=${query === null || query === void 0 ? void 0 : query.username}&` : ''}${(query === null || query === void 0 ? void 0 : query.clicked) ? `&clicked=${query === null || query === void 0 ? void 0 : query.clicked}&` : ''}${(query === null || query === void 0 ? void 0 : query.started) ? `&started=${query === null || query === void 0 ? void 0 : query.started}&` : ''}${(query === null || query === void 0 ? void 0 : query.uploaded) ? `&uploaded=${query === null || query === void 0 ? void 0 : query.uploaded}&` : ''}${(query === null || query === void 0 ? void 0 : query.completed) ? `&completed=${query === null || query === void 0 ? void 0 : query.completed}&` : ''}${(query === null || query === void 0 ? void 0 : query.candidate_id) ? `&candidate_id=${query === null || query === void 0 ? void 0 : query.candidate_id}&` : ''}skip=${(_f = query === null || query === void 0 ? void 0 : query.skip) !== null && _f !== void 0 ? _f : '0'}&limit=${(_g = query === null || query === void 0 ? void 0 : query.limit) !== null && _g !== void 0 ? _g : '20'}`), | ||
headers, | ||
@@ -210,0 +210,0 @@ }; |
@@ -211,2 +211,3 @@ import { AxiosRequestConfig, Method } from 'axios'; | ||
completed?: boolean; | ||
started?: string; | ||
email?: string; | ||
@@ -231,2 +232,3 @@ username?: string; | ||
username?: string; | ||
started?: string; | ||
skip?: number; | ||
@@ -233,0 +235,0 @@ limit?: number; |
{ | ||
"name": "myinterview", | ||
"version": "1.2.009", | ||
"version": "1.2.010", | ||
"description": "Build and integrate myInterview with ease via our node.js npm package and connect to the myInterview API.", | ||
@@ -50,3 +50,3 @@ "main": "dist/index.js", | ||
"lint-staged": "^11.2.6", | ||
"prettier": "^2.8.7", | ||
"prettier": "^2.8.8", | ||
"ts-jest": "^27.1.5", | ||
@@ -53,0 +53,0 @@ "typescript": "^4.9.5" |
@@ -640,9 +640,10 @@ # MyInterview-node # | ||
| Field | Type | Description | | ||
|---------|------------|-------------------------------------------| | ||
|------------|---------|-------------------------------------------| | ||
| ai | boolean | add ai object to the video object | | ||
| transcript | boolean | add transcript object to the video object | | ||
| username | string | get with specific username | | ||
| started | boolean | video is started | | ||
| email | string | get with specific email | | ||
| skip | number | for pagination | | ||
| limit | number | for pagination | | ||
| skip | number | for pagination | | ||
| limit | number | for pagination | | ||
*required field | ||
@@ -649,0 +650,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
113019
1832
982