myinterview
Advanced tools
Comparing version 1.2.10 to 1.2.11
@@ -195,6 +195,6 @@ "use strict"; | ||
case 'getVideos': { | ||
const { email, username, skip, limit, ai, transcript, started } = data; | ||
const { email, username, skip, limit, ai, transcript, incomplete } = 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'}${started ? `&started=${started}` : ''}`), | ||
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'}${incomplete ? `&incomplete=${incomplete}` : ''}`), | ||
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.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'}`), | ||
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.incomplete) ? `&incomplete=${query === null || query === void 0 ? void 0 : query.incomplete}&` : ''}${(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,3 +211,3 @@ import { AxiosRequestConfig, Method } from 'axios'; | ||
completed?: boolean; | ||
started?: string; | ||
incomplete?: string; | ||
email?: string; | ||
@@ -232,3 +232,3 @@ username?: string; | ||
username?: string; | ||
started?: string; | ||
incomplete?: string; | ||
skip?: number; | ||
@@ -235,0 +235,0 @@ limit?: number; |
{ | ||
"name": "myinterview", | ||
"version": "1.2.010", | ||
"version": "1.2.011", | ||
"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", |
@@ -639,11 +639,11 @@ # MyInterview-node # | ||
| Field | Type | Description | | ||
|------------|---------|-------------------------------------------| | ||
| ai | boolean | add ai object to the video object | | ||
| 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 | | ||
| username | string | get with specific username | | ||
| incomplete | boolean | video is incomplete | | ||
| email | string | get with specific email | | ||
| skip | number | for pagination | | ||
| limit | number | for pagination | | ||
*required field | ||
@@ -650,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
113038