autoinspector 2.6.0 → 2.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/package.json
CHANGED
|
@@ -37,6 +37,8 @@ export declare class Inspections extends Products {
|
|
|
37
37
|
* @param {Number} input.limit - Represents the limit of the quantity of records that you want to retrieve for page.
|
|
38
38
|
* @param {String} input.status - Represents the status that inspections retrieved should have.
|
|
39
39
|
* @param {String} input.type - Represents the type of the inspection.
|
|
40
|
+
* @param {String} input.consumerIdentification - Identification value of target consumer
|
|
41
|
+
* @param {String} input.plate - Car License Plate parameter to filter inspections
|
|
40
42
|
* @return {Promise} - Returns a Promise that, when fulfilled, will either return an JSON Object with the requested
|
|
41
43
|
* data or an Error with the problem.
|
|
42
44
|
*/
|
|
@@ -58,6 +58,8 @@ class Inspections extends Products_1.Products {
|
|
|
58
58
|
* @param {Number} input.limit - Represents the limit of the quantity of records that you want to retrieve for page.
|
|
59
59
|
* @param {String} input.status - Represents the status that inspections retrieved should have.
|
|
60
60
|
* @param {String} input.type - Represents the type of the inspection.
|
|
61
|
+
* @param {String} input.consumerIdentification - Identification value of target consumer
|
|
62
|
+
* @param {String} input.plate - Car License Plate parameter to filter inspections
|
|
61
63
|
* @return {Promise} - Returns a Promise that, when fulfilled, will either return an JSON Object with the requested
|
|
62
64
|
* data or an Error with the problem.
|
|
63
65
|
*/
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { InspectionStatus, InspectionType, InspectionVeredict } from './inspection';
|
|
2
2
|
export interface IPagination {
|
|
3
|
+
plate: string;
|
|
3
4
|
page: number;
|
|
4
5
|
limit: number;
|
|
5
6
|
status: InspectionStatus;
|
|
6
7
|
type: InspectionType;
|
|
7
8
|
veredict: InspectionVeredict;
|
|
9
|
+
consumerIdentification: string;
|
|
8
10
|
}
|
|
9
11
|
export interface IPaginationResponse<R = any> {
|
|
10
12
|
totalInspections: number;
|
package/dist/types/template.d.ts
CHANGED
|
@@ -22,7 +22,6 @@ export interface IInputValidationSchema {
|
|
|
22
22
|
export declare type ITemplateInputTypes = 'text' | 'date' | 'textare' | 'select' | 'numeric' | 'check' | 'file';
|
|
23
23
|
export interface ITemplateInput {
|
|
24
24
|
_id: string;
|
|
25
|
-
identifier: string;
|
|
26
25
|
options: IInputOptions[];
|
|
27
26
|
stages: IInputStages;
|
|
28
27
|
type: ITemplateInputTypes;
|
package/dist/types/webhooks.d.ts
CHANGED