· 5 years ago · Jul 15, 2020, 11:24 AM
1{
2 // 349: ['email', 'password', 'secret-key'],
3 352: {
4 heading: 'Unique ID for Email Parsing',
5 description: '',
6 fields: [
7 { type: 'text', label: 'Unique Id', name: 'token', defaultValue: 'asdf', value: '', showCopy: true },
8 ],
9 allFields: {}
10 },
11 355: {
12 heading: 'Add Emails',
13 description: '',
14 fields: [
15 { type: 'text', label: 'Email', name: 'bcc', defaultValue: '', value: '' },
16 ],
17 allFields: {}
18 },
19 358: {
20 heading: 'Recurring Tasks',
21 description: '<p>Select the time when the recurring task should be created daily.</p>',
22 fields: [
23 { type: 'time', name: 'creation_time', defaultValue: '06:00', value: '' },
24 ],
25 allFields: {}
26 },
27 399: {
28 heading: 'Add OpenTok Details',
29 description: '<p>Enter your OpentTok keys. If you don\'t have an account yet, please create your account first.</p>',
30 fields: [
31 { type: 'text', label: 'Api Key', name: 'api_key', defaultValue: '', value: '' },
32 { type: 'text', label: 'Api Secret Key', name: 'api_secret', defaultValue: '', value: '' },
33 ],
34 allFields: {}
35 },
36 400: {
37 heading: 'Validate Identity by OTP',
38 description: '',
39 fields: [
40 {
41 type: 'select',
42 label: 'Select Task Status',
43 name: 'job-status',
44 defaultValue: 'successful',
45 value: '',
46 options: [
47 { name: 'Successful', value: 'successful', },
48 ]
49 },
50 {
51 type: 'textarea',
52 label: "Customize the OTP Message to be sent on customer mobile.",
53 name: 'sms_text',
54 defaultValue: 'Dear Customer, OTP for your [TaskName] #[TaskId] is [TaskOtp]. Please share this with [FleetName] to start your [TaskName].',
55 value: '',
56 }
57 ],
58 allFields: {}
59 },
60 401: {
61 heading: 'Monibyte Credentials',
62 description: '',
63 fields: [
64 { type: 'text', label: 'Username', name: 'username', defaultValue: '', value: '' },
65 { type: 'password', label: 'Password', name: 'password', defaultValue: '', value: '' }
66 ],
67 allFields: {}
68 },
69 // 404: ['email', 'password', 'secret-key'],
70 // 420: ['email', 'password', 'secret-key'],
71 446: {
72 heading: 'Add Webkul Details',
73 description: '',
74 fields: [
75 { type: 'text', label: 'Client Id', name: 'client_id', defaultValue: '', value: '' },
76 { type: 'text', label: 'Client Secret', name: 'client_secret', defaultValue: '', value: '' },
77 { type: 'text', label: 'Refresh Token', name: 'refresh_token', defaultValue: '', value: '' },
78 { type: 'text', label: 'Webkul Access Token', name: 'webkul_access_token', defaultValue: '', value: '' }
79 ],
80 allFields: {}
81 },
82 // 447: ['email', 'password', 'secret-key'],
83 448: {
84 heading: 'Edit Map Style',
85 description: '<p>Design your map theme using <a href="https://mapstyle.withgoogle.com/" target="__blank">Mapstyle tool</a>. Paste the result JSON below.</p>',
86 fields: [
87 { type: 'textarea', name: 'map_config', placeholder: 'Enter JSON', rows: 5, defaultValue: "", value: '' },
88 { type: 'checkbox', label: 'Show Geofences', name: 'show_geofences', defaultValue: true, value: '' },
89 { type: 'checkbox', label: 'Show Teams', name: 'show_teams', defaultValue: true, value: '' },
90 { type: 'checkbox', label: 'Show Vehicle Icons', name: 'show_vehicle_icons', defaultValue: true, value: '' }
91 ],
92 allFields: {}
93 },
94 452: {
95 heading: 'Add Redirect URL',
96 description: '',
97 fields: [
98 { type: 'text', label: 'URL', name: 'tracking_link', defaultValue: '', value: '' }
99 ],
100 allFields: {}
101 },
102 453: {
103 heading: 'Add Toll Guru Details',
104 description: '',
105 fields: [
106 { type: 'text', label: 'User Access Token', name: 'token', defaultValue: '', value: '' },
107 {
108 type: 'select',
109 label: 'Default Vehicle Type',
110 name: 'vehicle_type',
111 defaultValue: '2AxlesAuto',
112 value: '',
113 options: [
114 {
115 name: '2AxlesAuto',
116 value: '2AxlesAuto'
117 }, {
118 name: '3AxlesAuto',
119 value: '3AxlesAuto (towing 1-axle trailer)'
120 }, {
121 name: '4AxlesAuto',
122 value: '4AxlesAuto (towing 2-axle trailer)'
123 }, {
124 name: '2AxlesDualTire',
125 value: '2AxlesDualTire'
126 }, {
127 name: '3AxlesDualTire',
128 value: '3AxlesDualTire'
129 }, {
130 name: '4AxlesDualTire',
131 value: '4AxlesDualTire'
132 }, {
133 name: '2AxlesTruck',
134 value: '2AxlesTruck'
135 }, {
136 name: '3AxlesTruck',
137 value: '3AxlesTruck'
138 }, {
139 name: '4AxlesTruck',
140 value: '4AxlesTruck'
141 }, {
142 name: '5AxlesTruck',
143 value: '5AxlesTruck'
144 }, {
145 name: '6AxlesTruck',
146 value: '6AxlesTruck'
147 }, {
148 name: '7AxlesTruck',
149 value: '7AxlesTruck'
150 }, {
151 name: '8AxlesTruck',
152 value: '8AxlesTruck'
153 }, {
154 name: '9AxlesTruck',
155 value: '9AxlesTruck'
156 }, {
157 name: '2AxlesBus',
158 value: '2AxlesBus'
159 }, {
160 name: '3AxlesBus',
161 value: '3AxlesBus'
162 }, {
163 name: '2AxlesMotorcycle',
164 value: '2AxlesMotorcycle'
165 }, {
166 name: '3AxlesMotorcycle',
167 value: '3AxlesMotorcycle (towing a trailer)'
168 }, {
169 name: '2AxlesRv',
170 value: '2AxlesRv'
171 }, {
172 name: '3AxlesRv',
173 value: '3AxlesRv'
174 }, {
175 name: '4AxlesRv',
176 value: '4AxlesRv'
177 }
178 ]
179 },
180 {
181 type: 'checkbox',
182 label: "Apply Tax on Toll",
183 name: 'is_toll_taxable',
184 defaultValue: true,
185 value: '',
186 }
187 ],
188 allFields: {}
189 },
190 455: {
191 heading: 'Tracker Configuration',
192 description: '',
193 fields: [
194 {
195 type: 'radio',
196 name: 'configuration_key',
197 label: 'Select the type of configuration',
198 defaultValue: 'tookan-tracker',
199 value: '',
200 options: [
201 { label: 'Tookan and Tracker', name: 'type', value: 'tookan-tracker' },
202 { label: 'Tracker', name: 'type', value: 'tracker' },
203 ],
204 },
205 { type: 'checkbox', label: 'Tracker Maintenance', name: 'maintenance_config', defaultValue: false, value: '' }
206 ],
207 allFields: {}
208 },
209 462: {
210 heading: 'Safe pass configuration',
211 description: '',
212 fields: [
213 { type: 'checkbox', label: 'Enable SafePass', name: 'safepass_pass', defaultValue: true, value: '' },
214 { type: 'checkbox', label: 'Enable Tracking', name: 'safepass_tracking', defaultValue: false, value: '' }
215 ],
216 allFields: {}
217 },
218 464: {
219 heading: 'Inventory',
220 description: '',
221 fields: [
222 { type: 'text', label: 'Inventory URL', name: 'inventory_url', defaultValue: '', value: '' },
223 { type: 'text', label: 'Inventory Token', name: 'inventory_token', defaultValue: '', value: '' }
224 ],
225 allFields: {}
226 },
227 465: {
228 heading: 'Set Default Capacity for Fleet',
229 description: '',
230 fields: [
231 { type: 'text', label: 'Default Capacity Value', name: 'default_capacity', defaultValue: '', value: '' }
232 ],
233 allFields: {}
234 }
235}