@swan-admin/swan-ai-measurements 1.1.82 → 1.1.83

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.
@@ -23,7 +23,7 @@ export interface BodyScanObjMetaData {
23
23
  customer_store_url: string;
24
24
  clothes_fit: string;
25
25
  scan_type?: string;
26
- callback_url: string;
26
+ callback_url?: string;
27
27
  }
28
28
  export interface FaceScanObjMetaData {
29
29
  gender: string;
@@ -32,7 +32,7 @@ export interface FaceScanObjMetaData {
32
32
  focal_length: string;
33
33
  customer_store_url: string;
34
34
  scan_type: string;
35
- callback_url: string;
35
+ callback_url?: string;
36
36
  }
37
37
  export type RequiredMetaDataKeys = "gender" | "focal_length" | "height" | "customer_store_url" | "callback_url" | "clothes_fit";
38
38
  export type RequiredFaceScanMetaDataKeys = "gender" | "focal_length" | "customer_store_url" | "scan_type" | "callback_url" | "face_scan_id";
@@ -23,7 +23,7 @@ export interface BodyScanObjMetaData {
23
23
  customer_store_url: string;
24
24
  clothes_fit: string;
25
25
  scan_type?: string;
26
- callback_url: string;
26
+ callback_url?: string;
27
27
  }
28
28
  export interface FaceScanObjMetaData {
29
29
  gender: string;
@@ -32,7 +32,7 @@ export interface FaceScanObjMetaData {
32
32
  focal_length: string;
33
33
  customer_store_url: string;
34
34
  scan_type: string;
35
- callback_url: string;
35
+ callback_url?: string;
36
36
  }
37
37
  export type RequiredMetaDataKeys = "gender" | "focal_length" | "height" | "customer_store_url" | "callback_url" | "clothes_fit";
38
38
  export type RequiredFaceScanMetaDataKeys = "gender" | "focal_length" | "customer_store_url" | "scan_type" | "callback_url" | "face_scan_id";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swan-admin/swan-ai-measurements",
3
- "version": "1.1.82",
3
+ "version": "1.1.83",
4
4
  "description": "provides ai measurement suggestion",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/esm/index.js",
package/src/constants.ts CHANGED
@@ -69,7 +69,7 @@ export interface BodyScanObjMetaData {
69
69
  customer_store_url: string;
70
70
  clothes_fit: string;
71
71
  scan_type?: string;
72
- callback_url: string;
72
+ callback_url?: string;
73
73
  }
74
74
  export interface FaceScanObjMetaData {
75
75
  gender: string;
@@ -78,7 +78,7 @@ export interface FaceScanObjMetaData {
78
78
  focal_length: string;
79
79
  customer_store_url: string;
80
80
  scan_type: string;
81
- callback_url:string
81
+ callback_url?:string
82
82
  }
83
83
  export type RequiredMetaDataKeys = "gender" | "focal_length" | "height" | "customer_store_url" | "callback_url" | "clothes_fit";
84
84
  export type RequiredFaceScanMetaDataKeys = "gender" | "focal_length" | "customer_store_url" | "scan_type" | "callback_url" | "face_scan_id";