@fayz-ai/db 0.23.2 → 0.24.1

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.
@@ -0,0 +1,833 @@
1
+ -- 205: every preference the V1 settings screens show becomes a typed key, so
2
+ -- the screens SAVE (tenant_setting_set / unit_setting_set refuse unknown keys,
3
+ -- which is why they were read-only "Em breve"). Defaults are the screens' own.
4
+ -- None of these is read by a feature yet: the screens mark each row "Em breve"
5
+ -- (saved, not used) until its reader ships — see docs/status/SETTINGS-AUDIT.md.
6
+ -- Additive and idempotent (seed_setting_keys upserts by key).
7
+
8
+ SELECT app.seed_setting_keys($keys$[
9
+ {
10
+ "key": "kiosk.walk_in_enabled",
11
+ "type": "boolean",
12
+ "default": true,
13
+ "scope": "unit",
14
+ "reader": "plugin:agenda",
15
+ "description": "V1 setting; saved, not read by any feature yet."
16
+ },
17
+ {
18
+ "key": "kiosk.checkin_window_minutes",
19
+ "type": "number",
20
+ "default": 15,
21
+ "scope": "unit",
22
+ "reader": "plugin:agenda",
23
+ "description": "V1 setting; saved, not read by any feature yet."
24
+ },
25
+ {
26
+ "key": "kiosk.amenities_enabled",
27
+ "type": "boolean",
28
+ "default": true,
29
+ "scope": "unit",
30
+ "reader": "plugin:agenda",
31
+ "description": "V1 setting; saved, not read by any feature yet."
32
+ },
33
+ {
34
+ "key": "kiosk.face_recognition_enabled",
35
+ "type": "boolean",
36
+ "default": false,
37
+ "scope": "unit",
38
+ "reader": "plugin:agenda",
39
+ "description": "V1 setting; saved, not read by any feature yet."
40
+ },
41
+ {
42
+ "key": "kiosk.welcome_message",
43
+ "type": "string",
44
+ "default": null,
45
+ "scope": "unit",
46
+ "reader": "plugin:agenda",
47
+ "description": "V1 setting; saved, not read by any feature yet."
48
+ },
49
+ {
50
+ "key": "attendance.sections_flow",
51
+ "type": "boolean",
52
+ "default": null,
53
+ "scope": "tenant",
54
+ "reader": "plugin:agenda",
55
+ "description": "V1 setting; saved, not read by any feature yet."
56
+ },
57
+ {
58
+ "key": "attendance.block_finish_pending_steps",
59
+ "type": "boolean",
60
+ "default": false,
61
+ "scope": "tenant",
62
+ "reader": "plugin:agenda",
63
+ "description": "V1 setting; saved, not read by any feature yet."
64
+ },
65
+ {
66
+ "key": "attendance.footer_block_finish_pending_steps",
67
+ "type": "boolean",
68
+ "default": false,
69
+ "scope": "tenant",
70
+ "reader": "plugin:agenda",
71
+ "description": "V1 setting; saved, not read by any feature yet."
72
+ },
73
+ {
74
+ "key": "atendeai.assistant_name",
75
+ "type": "string",
76
+ "default": "Assistente",
77
+ "scope": "tenant",
78
+ "reader": "plugin:conversations",
79
+ "description": "V1 setting; saved, not read by any feature yet."
80
+ },
81
+ {
82
+ "key": "atendeai.ai_disclosure",
83
+ "type": "boolean",
84
+ "default": true,
85
+ "scope": "tenant",
86
+ "reader": "plugin:conversations",
87
+ "description": "V1 setting; saved, not read by any feature yet."
88
+ },
89
+ {
90
+ "key": "atendeai.tone",
91
+ "type": "string",
92
+ "default": "friendly",
93
+ "scope": "tenant",
94
+ "reader": "plugin:conversations",
95
+ "description": "V1 setting; saved, not read by any feature yet."
96
+ },
97
+ {
98
+ "key": "atendeai.greeting_message",
99
+ "type": "string",
100
+ "default": null,
101
+ "scope": "tenant",
102
+ "reader": "plugin:conversations",
103
+ "description": "V1 setting; saved, not read by any feature yet."
104
+ },
105
+ {
106
+ "key": "atendeai.farewell_message",
107
+ "type": "string",
108
+ "default": null,
109
+ "scope": "tenant",
110
+ "reader": "plugin:conversations",
111
+ "description": "V1 setting; saved, not read by any feature yet."
112
+ },
113
+ {
114
+ "key": "atendeai.handoff_message",
115
+ "type": "string",
116
+ "default": null,
117
+ "scope": "tenant",
118
+ "reader": "plugin:conversations",
119
+ "description": "V1 setting; saved, not read by any feature yet."
120
+ },
121
+ {
122
+ "key": "atendeai.out_of_scope_message",
123
+ "type": "string",
124
+ "default": null,
125
+ "scope": "tenant",
126
+ "reader": "plugin:conversations",
127
+ "description": "V1 setting; saved, not read by any feature yet."
128
+ },
129
+ {
130
+ "key": "atendeai.max_messages_per_conversation",
131
+ "type": "number",
132
+ "default": 30,
133
+ "scope": "tenant",
134
+ "reader": "plugin:conversations",
135
+ "description": "V1 setting; saved, not read by any feature yet."
136
+ },
137
+ {
138
+ "key": "atendeai.escalation_timeout_minutes",
139
+ "type": "number",
140
+ "default": 30,
141
+ "scope": "tenant",
142
+ "reader": "plugin:conversations",
143
+ "description": "V1 setting; saved, not read by any feature yet."
144
+ },
145
+ {
146
+ "key": "confirmation.manual_template",
147
+ "type": "string",
148
+ "default": "Olá {nome}! Passando para confirmar seu agendamento: {data} às {hora}. Responda SIM para confirmar.",
149
+ "scope": "tenant",
150
+ "reader": "plugin:conversations",
151
+ "description": "V1 setting; saved, not read by any feature yet."
152
+ },
153
+ {
154
+ "key": "loyalty.default_percent",
155
+ "type": "number",
156
+ "default": 5,
157
+ "scope": "tenant",
158
+ "reader": "plugin:crm",
159
+ "description": "V1 setting; saved, not read by any feature yet."
160
+ },
161
+ {
162
+ "key": "loyalty.validity_days",
163
+ "type": "number",
164
+ "default": 30,
165
+ "scope": "tenant",
166
+ "reader": "plugin:crm",
167
+ "description": "V1 setting; saved, not read by any feature yet."
168
+ },
169
+ {
170
+ "key": "loyalty.release_delay_hours",
171
+ "type": "number",
172
+ "default": 0,
173
+ "scope": "tenant",
174
+ "reader": "plugin:crm",
175
+ "description": "V1 setting; saved, not read by any feature yet."
176
+ },
177
+ {
178
+ "key": "loyalty.max_earn_per_purchase",
179
+ "type": "number",
180
+ "default": null,
181
+ "scope": "tenant",
182
+ "reader": "plugin:crm",
183
+ "description": "V1 setting; saved, not read by any feature yet."
184
+ },
185
+ {
186
+ "key": "loyalty.monthly_earn_cap",
187
+ "type": "number",
188
+ "default": null,
189
+ "scope": "tenant",
190
+ "reader": "plugin:crm",
191
+ "description": "V1 setting; saved, not read by any feature yet."
192
+ },
193
+ {
194
+ "key": "loyalty.earn_on_service_charge",
195
+ "type": "boolean",
196
+ "default": false,
197
+ "scope": "tenant",
198
+ "reader": "plugin:crm",
199
+ "description": "V1 setting; saved, not read by any feature yet."
200
+ },
201
+ {
202
+ "key": "loyalty.earn_on_cover_charge",
203
+ "type": "boolean",
204
+ "default": false,
205
+ "scope": "tenant",
206
+ "reader": "plugin:crm",
207
+ "description": "V1 setting; saved, not read by any feature yet."
208
+ },
209
+ {
210
+ "key": "loyalty.earn_requires_membership",
211
+ "type": "boolean",
212
+ "default": false,
213
+ "scope": "tenant",
214
+ "reader": "plugin:crm",
215
+ "description": "V1 setting; saved, not read by any feature yet."
216
+ },
217
+ {
218
+ "key": "loyalty.min_redeem_amount",
219
+ "type": "number",
220
+ "default": null,
221
+ "scope": "tenant",
222
+ "reader": "plugin:crm",
223
+ "description": "V1 setting; saved, not read by any feature yet."
224
+ },
225
+ {
226
+ "key": "loyalty.max_redeem_pct_of_bill",
227
+ "type": "number",
228
+ "default": 100,
229
+ "scope": "tenant",
230
+ "reader": "plugin:crm",
231
+ "description": "V1 setting; saved, not read by any feature yet."
232
+ },
233
+ {
234
+ "key": "loyalty.redeem_requires_membership",
235
+ "type": "boolean",
236
+ "default": true,
237
+ "scope": "tenant",
238
+ "reader": "plugin:crm",
239
+ "description": "V1 setting; saved, not read by any feature yet."
240
+ },
241
+ {
242
+ "key": "clients.person_type_mode",
243
+ "type": "string",
244
+ "default": "pf",
245
+ "scope": "tenant",
246
+ "reader": "plugin:crm",
247
+ "description": "V1 setting; saved, not read by any feature yet."
248
+ },
249
+ {
250
+ "key": "clients.menu.evaluations",
251
+ "type": "boolean",
252
+ "default": true,
253
+ "scope": "tenant",
254
+ "reader": "plugin:crm",
255
+ "description": "Client record tab shown (V1 Menu de clientes)."
256
+ },
257
+ {
258
+ "key": "clients.menu.services",
259
+ "type": "boolean",
260
+ "default": true,
261
+ "scope": "tenant",
262
+ "reader": "plugin:crm",
263
+ "description": "Client record tab shown (V1 Menu de clientes)."
264
+ },
265
+ {
266
+ "key": "clients.menu.revision",
267
+ "type": "boolean",
268
+ "default": true,
269
+ "scope": "tenant",
270
+ "reader": "plugin:crm",
271
+ "description": "Client record tab shown (V1 Menu de clientes)."
272
+ },
273
+ {
274
+ "key": "clients.menu.appointments",
275
+ "type": "boolean",
276
+ "default": true,
277
+ "scope": "tenant",
278
+ "reader": "plugin:crm",
279
+ "description": "Client record tab shown (V1 Menu de clientes)."
280
+ },
281
+ {
282
+ "key": "clients.menu.account",
283
+ "type": "boolean",
284
+ "default": true,
285
+ "scope": "tenant",
286
+ "reader": "plugin:crm",
287
+ "description": "Client record tab shown (V1 Menu de clientes)."
288
+ },
289
+ {
290
+ "key": "clients.menu.quotes",
291
+ "type": "boolean",
292
+ "default": true,
293
+ "scope": "tenant",
294
+ "reader": "plugin:crm",
295
+ "description": "Client record tab shown (V1 Menu de clientes)."
296
+ },
297
+ {
298
+ "key": "clients.menu.images",
299
+ "type": "boolean",
300
+ "default": true,
301
+ "scope": "tenant",
302
+ "reader": "plugin:crm",
303
+ "description": "Client record tab shown (V1 Menu de clientes)."
304
+ },
305
+ {
306
+ "key": "clients.menu.files",
307
+ "type": "boolean",
308
+ "default": true,
309
+ "scope": "tenant",
310
+ "reader": "plugin:crm",
311
+ "description": "Client record tab shown (V1 Menu de clientes)."
312
+ },
313
+ {
314
+ "key": "clients.menu.cancelled",
315
+ "type": "boolean",
316
+ "default": false,
317
+ "scope": "tenant",
318
+ "reader": "plugin:crm",
319
+ "description": "Client record tab shown (V1 Menu de clientes)."
320
+ },
321
+ {
322
+ "key": "qr_registration.title",
323
+ "type": "string",
324
+ "default": null,
325
+ "scope": "unit",
326
+ "reader": "plugin:crm",
327
+ "description": "V1 setting; saved, not read by any feature yet."
328
+ },
329
+ {
330
+ "key": "qr_registration.subtitle",
331
+ "type": "string",
332
+ "default": null,
333
+ "scope": "unit",
334
+ "reader": "plugin:crm",
335
+ "description": "V1 setting; saved, not read by any feature yet."
336
+ },
337
+ {
338
+ "key": "qr_registration.intro",
339
+ "type": "string",
340
+ "default": null,
341
+ "scope": "unit",
342
+ "reader": "plugin:crm",
343
+ "description": "V1 setting; saved, not read by any feature yet."
344
+ },
345
+ {
346
+ "key": "qr_registration.cpf_exists_message",
347
+ "type": "string",
348
+ "default": "Já temos seu cadastro. Procure a recepção.",
349
+ "scope": "unit",
350
+ "reader": "plugin:crm",
351
+ "description": "V1 setting; saved, not read by any feature yet."
352
+ },
353
+ {
354
+ "key": "reviews.ask_on_checkout",
355
+ "type": "boolean",
356
+ "default": true,
357
+ "scope": "tenant",
358
+ "reader": "plugin:crm",
359
+ "description": "V1 setting; saved, not read by any feature yet."
360
+ },
361
+ {
362
+ "key": "reviews.thanks_message",
363
+ "type": "string",
364
+ "default": null,
365
+ "scope": "tenant",
366
+ "reader": "plugin:crm",
367
+ "description": "V1 setting; saved, not read by any feature yet."
368
+ },
369
+ {
370
+ "key": "price_variation.type",
371
+ "type": "string",
372
+ "default": "discount",
373
+ "scope": "tenant",
374
+ "reader": "plugin:financial",
375
+ "description": "V1 setting; saved, not read by any feature yet."
376
+ },
377
+ {
378
+ "key": "price_variation.value_type",
379
+ "type": "string",
380
+ "default": "percentage",
381
+ "scope": "tenant",
382
+ "reader": "plugin:financial",
383
+ "description": "V1 setting; saved, not read by any feature yet."
384
+ },
385
+ {
386
+ "key": "price_variation.first_appointment_only",
387
+ "type": "boolean",
388
+ "default": false,
389
+ "scope": "tenant",
390
+ "reader": "plugin:financial",
391
+ "description": "V1 setting; saved, not read by any feature yet."
392
+ },
393
+ {
394
+ "key": "card_machines.mode",
395
+ "type": "string",
396
+ "default": "pos",
397
+ "scope": "unit",
398
+ "reader": "plugin:financial",
399
+ "description": "V1 setting; saved, not read by any feature yet."
400
+ },
401
+ {
402
+ "key": "card_machines.auto_map",
403
+ "type": "boolean",
404
+ "default": true,
405
+ "scope": "unit",
406
+ "reader": "plugin:financial",
407
+ "description": "V1 setting; saved, not read by any feature yet."
408
+ },
409
+ {
410
+ "key": "contracts.execution_requires_signed_contract",
411
+ "type": "boolean",
412
+ "default": false,
413
+ "scope": "tenant",
414
+ "reader": "plugin:forms",
415
+ "description": "V1 setting; saved, not read by any feature yet."
416
+ },
417
+ {
418
+ "key": "contracts.prepaid_purchase_flow",
419
+ "type": "boolean",
420
+ "default": false,
421
+ "scope": "tenant",
422
+ "reader": "plugin:forms",
423
+ "description": "V1 setting; saved, not read by any feature yet."
424
+ },
425
+ {
426
+ "key": "qr_menu.closing_suggestions",
427
+ "type": "boolean",
428
+ "default": false,
429
+ "scope": "tenant",
430
+ "reader": "plugin:menu",
431
+ "description": "V1 setting; saved, not read by any feature yet."
432
+ },
433
+ {
434
+ "key": "qr_menu.closing_title",
435
+ "type": "string",
436
+ "default": "Antes de fechar, deseja pedir também?",
437
+ "scope": "tenant",
438
+ "reader": "plugin:menu",
439
+ "description": "V1 setting; saved, not read by any feature yet."
440
+ },
441
+ {
442
+ "key": "scale.auto_launch",
443
+ "type": "boolean",
444
+ "default": false,
445
+ "scope": "unit",
446
+ "reader": "plugin:orders",
447
+ "description": "V1 setting; saved, not read by any feature yet."
448
+ },
449
+ {
450
+ "key": "scale.min_weight_g",
451
+ "type": "number",
452
+ "default": 10,
453
+ "scope": "unit",
454
+ "reader": "plugin:orders",
455
+ "description": "V1 setting; saved, not read by any feature yet."
456
+ },
457
+ {
458
+ "key": "scale.label_enabled",
459
+ "type": "boolean",
460
+ "default": false,
461
+ "scope": "unit",
462
+ "reader": "plugin:orders",
463
+ "description": "V1 setting; saved, not read by any feature yet."
464
+ },
465
+ {
466
+ "key": "scale.label_prefix",
467
+ "type": "string",
468
+ "default": "2",
469
+ "scope": "unit",
470
+ "reader": "plugin:orders",
471
+ "description": "V1 setting; saved, not read by any feature yet."
472
+ },
473
+ {
474
+ "key": "scale.label_code_length",
475
+ "type": "number",
476
+ "default": 4,
477
+ "scope": "unit",
478
+ "reader": "plugin:orders",
479
+ "description": "V1 setting; saved, not read by any feature yet."
480
+ },
481
+ {
482
+ "key": "scale.label_value_kind",
483
+ "type": "string",
484
+ "default": "price",
485
+ "scope": "unit",
486
+ "reader": "plugin:orders",
487
+ "description": "V1 setting; saved, not read by any feature yet."
488
+ },
489
+ {
490
+ "key": "waitlist.active",
491
+ "type": "boolean",
492
+ "default": false,
493
+ "scope": "unit",
494
+ "reader": "plugin:tables",
495
+ "description": "V1 setting; saved, not read by any feature yet."
496
+ },
497
+ {
498
+ "key": "waitlist.auto_message",
499
+ "type": "boolean",
500
+ "default": true,
501
+ "scope": "unit",
502
+ "reader": "plugin:tables",
503
+ "description": "V1 setting; saved, not read by any feature yet."
504
+ },
505
+ {
506
+ "key": "waitlist.call_grace_minutes",
507
+ "type": "number",
508
+ "default": 10,
509
+ "scope": "unit",
510
+ "reader": "plugin:tables",
511
+ "description": "V1 setting; saved, not read by any feature yet."
512
+ },
513
+ {
514
+ "key": "waitlist.estimate_mode",
515
+ "type": "string",
516
+ "default": "history",
517
+ "scope": "unit",
518
+ "reader": "plugin:tables",
519
+ "description": "V1 setting; saved, not read by any feature yet."
520
+ },
521
+ {
522
+ "key": "waitlist.fixed_wait_minutes",
523
+ "type": "number",
524
+ "default": 25,
525
+ "scope": "unit",
526
+ "reader": "plugin:tables",
527
+ "description": "V1 setting; saved, not read by any feature yet."
528
+ },
529
+ {
530
+ "key": "waitlist.history_sample_size",
531
+ "type": "number",
532
+ "default": 30,
533
+ "scope": "unit",
534
+ "reader": "plugin:tables",
535
+ "description": "V1 setting; saved, not read by any feature yet."
536
+ },
537
+ {
538
+ "key": "waiter_call.allow_other",
539
+ "type": "boolean",
540
+ "default": true,
541
+ "scope": "tenant",
542
+ "reader": "plugin:tables",
543
+ "description": "V1 setting; saved, not read by any feature yet."
544
+ },
545
+ {
546
+ "key": "waiter_call.allow_message",
547
+ "type": "boolean",
548
+ "default": true,
549
+ "scope": "tenant",
550
+ "reader": "plugin:tables",
551
+ "description": "V1 setting; saved, not read by any feature yet."
552
+ },
553
+ {
554
+ "key": "waiter_call.blink_seconds",
555
+ "type": "number",
556
+ "default": 30,
557
+ "scope": "tenant",
558
+ "reader": "plugin:tables",
559
+ "description": "V1 setting; saved, not read by any feature yet."
560
+ },
561
+ {
562
+ "key": "tablet.idle_seconds",
563
+ "type": "number",
564
+ "default": 90,
565
+ "scope": "unit",
566
+ "reader": "plugin:tables",
567
+ "description": "V1 setting; saved, not read by any feature yet."
568
+ },
569
+ {
570
+ "key": "tablet.max_qty_per_item",
571
+ "type": "number",
572
+ "default": 10,
573
+ "scope": "unit",
574
+ "reader": "plugin:tables",
575
+ "description": "V1 setting; saved, not read by any feature yet."
576
+ },
577
+ {
578
+ "key": "tablet.max_items_per_send",
579
+ "type": "number",
580
+ "default": 20,
581
+ "scope": "unit",
582
+ "reader": "plugin:tables",
583
+ "description": "V1 setting; saved, not read by any feature yet."
584
+ },
585
+ {
586
+ "key": "tablet.max_value_per_send",
587
+ "type": "number",
588
+ "default": null,
589
+ "scope": "unit",
590
+ "reader": "plugin:tables",
591
+ "description": "V1 setting; saved, not read by any feature yet."
592
+ },
593
+ {
594
+ "key": "print.enabled",
595
+ "type": "boolean",
596
+ "default": false,
597
+ "scope": "unit",
598
+ "reader": "plugin:tables",
599
+ "description": "V1 setting; saved, not read by any feature yet."
600
+ },
601
+ {
602
+ "key": "print.production_enabled",
603
+ "type": "boolean",
604
+ "default": true,
605
+ "scope": "unit",
606
+ "reader": "plugin:tables",
607
+ "description": "V1 setting; saved, not read by any feature yet."
608
+ },
609
+ {
610
+ "key": "print.cancellation_enabled",
611
+ "type": "boolean",
612
+ "default": false,
613
+ "scope": "unit",
614
+ "reader": "plugin:tables",
615
+ "description": "V1 setting; saved, not read by any feature yet."
616
+ },
617
+ {
618
+ "key": "print.bill_enabled",
619
+ "type": "boolean",
620
+ "default": false,
621
+ "scope": "unit",
622
+ "reader": "plugin:tables",
623
+ "description": "V1 setting; saved, not read by any feature yet."
624
+ },
625
+ {
626
+ "key": "print.default_sector",
627
+ "type": "string",
628
+ "default": "kitchen",
629
+ "scope": "unit",
630
+ "reader": "plugin:tables",
631
+ "description": "V1 setting; saved, not read by any feature yet."
632
+ },
633
+ {
634
+ "key": "tasks.default_priority",
635
+ "type": "string",
636
+ "default": "medium",
637
+ "scope": "tenant",
638
+ "reader": "plugin:tasks",
639
+ "description": "V1 setting; saved, not read by any feature yet."
640
+ },
641
+ {
642
+ "key": "tasks.auto.payable_created",
643
+ "type": "boolean",
644
+ "default": false,
645
+ "scope": "tenant",
646
+ "reader": "plugin:tasks",
647
+ "description": "Create a task automatically when this happens (V1)."
648
+ },
649
+ {
650
+ "key": "tasks.auto.payable_refund",
651
+ "type": "boolean",
652
+ "default": false,
653
+ "scope": "tenant",
654
+ "reader": "plugin:tasks",
655
+ "description": "Create a task automatically when this happens (V1)."
656
+ },
657
+ {
658
+ "key": "tasks.auto.cash_review_pending",
659
+ "type": "boolean",
660
+ "default": false,
661
+ "scope": "tenant",
662
+ "reader": "plugin:tasks",
663
+ "description": "Create a task automatically when this happens (V1)."
664
+ },
665
+ {
666
+ "key": "tasks.auto.cash_review_returned",
667
+ "type": "boolean",
668
+ "default": false,
669
+ "scope": "tenant",
670
+ "reader": "plugin:tasks",
671
+ "description": "Create a task automatically when this happens (V1)."
672
+ },
673
+ {
674
+ "key": "tasks.auto.checkout_pending",
675
+ "type": "boolean",
676
+ "default": false,
677
+ "scope": "tenant",
678
+ "reader": "plugin:tasks",
679
+ "description": "Create a task automatically when this happens (V1)."
680
+ },
681
+ {
682
+ "key": "tasks.auto.dfe_received",
683
+ "type": "boolean",
684
+ "default": false,
685
+ "scope": "tenant",
686
+ "reader": "plugin:tasks",
687
+ "description": "Create a task automatically when this happens (V1)."
688
+ },
689
+ {
690
+ "key": "tasks.auto.stock_loss_pending",
691
+ "type": "boolean",
692
+ "default": false,
693
+ "scope": "tenant",
694
+ "reader": "plugin:tasks",
695
+ "description": "Create a task automatically when this happens (V1)."
696
+ },
697
+ {
698
+ "key": "tasks.auto.stock_requisition_submitted",
699
+ "type": "boolean",
700
+ "default": false,
701
+ "scope": "tenant",
702
+ "reader": "plugin:tasks",
703
+ "description": "Create a task automatically when this happens (V1)."
704
+ },
705
+ {
706
+ "key": "tasks.auto.stock_count_review",
707
+ "type": "boolean",
708
+ "default": false,
709
+ "scope": "tenant",
710
+ "reader": "plugin:tasks",
711
+ "description": "Create a task automatically when this happens (V1)."
712
+ },
713
+ {
714
+ "key": "tasks.auto.stock_transfer_pending",
715
+ "type": "boolean",
716
+ "default": false,
717
+ "scope": "tenant",
718
+ "reader": "plugin:tasks",
719
+ "description": "Create a task automatically when this happens (V1)."
720
+ },
721
+ {
722
+ "key": "tasks.auto.fiscal_rejected",
723
+ "type": "boolean",
724
+ "default": false,
725
+ "scope": "tenant",
726
+ "reader": "plugin:tasks",
727
+ "description": "Create a task automatically when this happens (V1)."
728
+ },
729
+ {
730
+ "key": "tasks.auto.service_charge_approved",
731
+ "type": "boolean",
732
+ "default": false,
733
+ "scope": "tenant",
734
+ "reader": "plugin:tasks",
735
+ "description": "Create a task automatically when this happens (V1)."
736
+ },
737
+ {
738
+ "key": "tasks.auto.hr_deadlines",
739
+ "type": "boolean",
740
+ "default": false,
741
+ "scope": "tenant",
742
+ "reader": "plugin:tasks",
743
+ "description": "Create a task automatically when this happens (V1)."
744
+ },
745
+ {
746
+ "key": "time_clock.unit_active",
747
+ "type": "boolean",
748
+ "default": false,
749
+ "scope": "unit",
750
+ "reader": "plugin:workforce",
751
+ "description": "V1 setting; saved, not read by any feature yet."
752
+ },
753
+ {
754
+ "key": "company.type",
755
+ "type": "string",
756
+ "default": "multi",
757
+ "scope": "tenant",
758
+ "reader": "core",
759
+ "description": "V1 setting; saved, not read by any feature yet."
760
+ },
761
+ {
762
+ "key": "qr_access.enabled",
763
+ "type": "boolean",
764
+ "default": false,
765
+ "scope": "tenant",
766
+ "reader": "core",
767
+ "description": "V1 setting; saved, not read by any feature yet."
768
+ },
769
+ {
770
+ "key": "qr_access.hours_valid",
771
+ "type": "number",
772
+ "default": 12,
773
+ "scope": "tenant",
774
+ "reader": "core",
775
+ "description": "V1 setting; saved, not read by any feature yet."
776
+ },
777
+ {
778
+ "key": "qr_access.scan_window_minutes",
779
+ "type": "number",
780
+ "default": 5,
781
+ "scope": "tenant",
782
+ "reader": "core",
783
+ "description": "V1 setting; saved, not read by any feature yet."
784
+ },
785
+ {
786
+ "key": "assistant.enabled",
787
+ "type": "boolean",
788
+ "default": true,
789
+ "scope": "tenant",
790
+ "reader": "core",
791
+ "description": "V1 setting; saved, not read by any feature yet."
792
+ },
793
+ {
794
+ "key": "assistant.write_actions",
795
+ "type": "boolean",
796
+ "default": true,
797
+ "scope": "tenant",
798
+ "reader": "core",
799
+ "description": "V1 setting; saved, not read by any feature yet."
800
+ },
801
+ {
802
+ "key": "assistant.destructive_actions",
803
+ "type": "boolean",
804
+ "default": false,
805
+ "scope": "tenant",
806
+ "reader": "core",
807
+ "description": "V1 setting; saved, not read by any feature yet."
808
+ },
809
+ {
810
+ "key": "assistant.turns_per_user_hour",
811
+ "type": "number",
812
+ "default": 60,
813
+ "scope": "tenant",
814
+ "reader": "core",
815
+ "description": "V1 setting; saved, not read by any feature yet."
816
+ },
817
+ {
818
+ "key": "assistant.retention_days",
819
+ "type": "number",
820
+ "default": 180,
821
+ "scope": "tenant",
822
+ "reader": "core",
823
+ "description": "V1 setting; saved, not read by any feature yet."
824
+ },
825
+ {
826
+ "key": "assistant.custom_instructions",
827
+ "type": "string",
828
+ "default": null,
829
+ "scope": "tenant",
830
+ "reader": "core",
831
+ "description": "V1 setting; saved, not read by any feature yet."
832
+ }
833
+ ]$keys$::jsonb);