You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| workflow |`CaptureWorkflow`| Specifies which capture workflow this app is meant to be used for. The config options available change based on this param. | ✔️ ||
92
-
| format |`CompressionFormat`| The output format of the compression. ||`CompressionFormat.JPEG`|
93
-
| quality |`number`| Value indicating image quality for the compression output. ||`0.6`|
94
-
| resolution |`CameraResolution`| Indicates the resolution of the pictures taken by the Camera. ||`CameraResolution.UHD_4K`|
95
-
| allowImageUpscaling |`boolean`| Allow images to be scaled up if the device does not support the specified resolution in the `resolution` prop. ||`false`|
96
-
| additionalTasks |`TaskName[]`| An optional list of additional tasks to run on every image of the inspection. |||
97
-
| startTasksOnComplete |`<code>boolean | TaskName[]</code>`| Value indicating if tasks should be started at the end of the inspection. See the `inspection-capture-web` package doc for more info. ||`true`|
98
-
| allowManualLogin |`boolean`| Indicates if manual login and logout should be enabled or not. | ✔️ ||
99
-
| fetchFromSearchParams |`boolean`| Indicates if the app state (auth token, inspection ID etc.) should be fetched from the URL search params. | ✔️ ||
100
-
| apiDomain |`string`| The API domain used to communicate with the API. | ✔️ ||
101
-
| thumbnailDomain |`string`| The API domain used to communicate with the resize microservice. | ✔️ ||
102
-
| requiredApiPermissions |`MonkApiPermission[]`| Required API permission that the user must have to use the current app. |||
103
-
| palette |`Partial<MonkPalette>`| Custom color palette to use in the app. |||
104
-
| allowCreateInspection |`boolean`| Indicates if automatic inspection creation should be enabled in the app. | ✔️ ||
105
-
| createInspectionOptions |`CreateInspectionOptions`| Options used when automatically creating an inspection. | if `allowCreateInspection` is set to `true`||
94
+
| Name | Type | Description | Required | Default Value |
| workflow |`CaptureWorkflow`| Specifies which capture workflow this app is meant to be used for. The config options available change based on this param. | ✔️ ||
97
+
| format |`CompressionFormat`| The output format of the compression. ||`CompressionFormat.JPEG`|
98
+
| quality |`number`| Value indicating image quality for the compression output. ||`0.6`|
99
+
| resolution |`CameraResolution`| Indicates the resolution of the pictures taken by the Camera. ||`CameraResolution.UHD_4K`|
100
+
| allowImageUpscaling |`boolean`| Allow images to be scaled up if the device does not support the specified resolution in the `resolution` prop. ||`false`|
101
+
| additionalTasks |`TaskName[]`| An optional list of additional tasks to run on every image of the inspection. |||
102
+
| startTasksOnComplete |`<code>boolean | TaskName[]</code>`| Value indicating if tasks should be started at the end of the inspection. See the `inspection-capture-web` package doc for more info. ||`true`|
103
+
| allowManualLogin |`boolean`| Indicates if manual login and logout should be enabled or not. | ✔️ ||
104
+
| fetchFromSearchParams |`boolean`| Indicates if the app state (auth token, inspection ID etc.) should be fetched from the URL search params. | ✔️ ||
105
+
| apiDomain |`string`| The API domain used to communicate with the API. | ✔️ ||
106
+
| thumbnailDomain |`string`| The API domain used to communicate with the resize microservice. | ✔️ ||
107
+
| requiredApiPermissions |`MonkApiPermission[]`| Required API permission that the user must have to use the current app. |||
108
+
| palette |`Partial<MonkPalette>`| Custom color palette to use in the app. |||
109
+
| allowCreateInspection |`boolean`| Indicates if automatic inspection creation should be enabled in the app. | ✔️ ||
110
+
| createInspectionOptions |`CreateInspectionOptions`| Options used when automatically creating an inspection. | if `allowCreateInspection` is set to `true`||
106
111
107
112
## PhotoCapture Configuration Options
113
+
108
114
The following table lists the available configuration options in the `PhotoCaptureAppConfig` interface.
109
115
110
-
*Note : PhotoCapture configurations must have their `workflow` property set to `CaptureWorkflow.PHOTO`.*
116
+
_Note : PhotoCapture configurations must have their `workflow` property set to `CaptureWorkflow.PHOTO`._
111
117
112
118
| Name | Type | Description | Required | Default Value |
@@ -131,15 +137,17 @@ The following table lists the available configuration options in the `PhotoCaptu
131
137
| allowVehicleTypeSelection |`boolean`| Indicates if manual vehicle type selection should be enabled if the vehicle type is not defined. | ✔️ ||
132
138
| enableTutorial |`PhotoCaptureTutorialOption`| Options for displaying the photo capture tutorial. ||`PhotoCaptureTutorialOption.FIRST_TIME_ONLY`|
133
139
| allowSkipTutorial |`boolean`| Boolean indicating if the user can skip the PhotoCapture tutorial. ||`true`|
134
-
| enableSightTutorial |`boolean`| Boolean indicating whether the sight tutorial feature is enabled. ||`true`|
140
+
| enableSightTutorial |`PhotoCaptureSightTutorialOption`| Options for displaying the photo capture sight tutorial. ||`PhotoCaptureSightTutorialOption.DISABLED`|
141
+
| sightTutorial |`SightTutorial[]`| A collection of sight tutorial in different language with a list of sightIds associate to it. |||
135
142
| enableSteeringWheelPosition |`boolean`| Indicates if the capture Sights should vary based on the steering wheel position (right or left). | ✔️ ||
136
143
| sights |`Record<..., string[]>`| A map associating each vehicle type supported by the app to a list of sight IDs. If `enableSteeringWheelPosition` is set to `true`, it's a map associating each steering wheel position to this map. | ✔️ ||
137
144
| defaultSteeringWheelPosition |`SteeringWheelPosition`| Default steering wheel position to use if no steering wheel position has been specified. | if `enableSteeringWheelPosition` is set to `true`||
138
145
139
146
## VideoCapture Configuration Options
147
+
140
148
The following table lists the available configuration options in the `VideoCaptureAppConfig` interface.
141
149
142
-
*Note : PhotoCapture configurations must have their `workflow` property set to `CaptureWorkflow.VIDEO`.*
150
+
_Note : PhotoCapture configurations must have their `workflow` property set to `CaptureWorkflow.VIDEO`._
143
151
144
152
| Name | Type | Description | Required | Default Value |
0 commit comments