autoinspector 2.4.0 → 2.6.0

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autoinspector",
3
- "version": "2.3.0",
3
+ "version": "2.5.0",
4
4
  "description": "Autoinspector API wrapper",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -22,6 +22,7 @@ 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;
25
26
  options: IInputOptions[];
26
27
  stages: IInputStages;
27
28
  type: ITemplateInputTypes;
@@ -53,6 +53,7 @@ export interface IWebhookInspectionCompleted extends IWebhookEvent<{
53
53
  name: string;
54
54
  _id: string;
55
55
  type: string;
56
+ inputs: Pick<IInspectionInput, 'label' | 'identifier' | 'value'>[];
56
57
  };
57
58
  status: 'completed';
58
59
  products: IProduct[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autoinspector",
3
- "version": "2.4.0",
3
+ "version": "2.6.0",
4
4
  "description": "Autoinspector API wrapper",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",