@flowselections/floriday-voorraad 1.0.26 → 1.0.28
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-lib/components/TemplatePage.d.ts +1 -1
- package/dist-lib/components/TemplatePage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/AdditionalPackagingDialog.d.ts +1 -1
- package/dist-lib/components/voorraad/AdditionalPackagingDialog.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelCompositionCard.d.ts +1 -1
- package/dist-lib/components/voorraad/ArtikelCompositionCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.d.ts +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.js +21 -8
- package/dist-lib/components/voorraad/ConnectionBadge.d.ts +1 -1
- package/dist-lib/components/voorraad/ConnectionBadge.d.ts.map +1 -1
- package/dist-lib/components/voorraad/EditArtikelPage.d.ts +1 -1
- package/dist-lib/components/voorraad/EditArtikelPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/EditArtikelPage.js +3 -2
- package/dist-lib/components/voorraad/ExcelExportButton.d.ts +1 -1
- package/dist-lib/components/voorraad/ExcelExportButton.d.ts.map +1 -1
- package/dist-lib/components/voorraad/FloridayInfoCard.d.ts +1 -1
- package/dist-lib/components/voorraad/FloridayInfoCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/FloridayStatusBadge.d.ts +1 -1
- package/dist-lib/components/voorraad/FloridayStatusBadge.d.ts.map +1 -1
- package/dist-lib/components/voorraad/NieuwArtikelPage.d.ts +1 -1
- package/dist-lib/components/voorraad/NieuwArtikelPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/OrderHistoryCard.d.ts +1 -1
- package/dist-lib/components/voorraad/OrderHistoryCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/PriceStatusBadge.d.ts +1 -1
- package/dist-lib/components/voorraad/PriceStatusBadge.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ProductCustomFieldsCard.d.ts +5 -0
- package/dist-lib/components/voorraad/ProductCustomFieldsCard.d.ts.map +1 -0
- package/dist-lib/components/voorraad/ProductCustomFieldsCard.js +65 -0
- package/dist-lib/components/voorraad/ProductLinkCard.d.ts +1 -1
- package/dist-lib/components/voorraad/ProductLinkCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StepSamenstelling.d.ts +1 -1
- package/dist-lib/components/voorraad/StepSamenstelling.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockBulkButtons.d.ts +1 -1
- package/dist-lib/components/voorraad/StockBulkButtons.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockBulkButtons.js +65 -2
- package/dist-lib/components/voorraad/ValidationOverviewTable.d.ts +1 -1
- package/dist-lib/components/voorraad/ValidationOverviewTable.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ValidationOverviewTable.js +8 -2
- package/dist-lib/components/voorraad/ValidationPage.d.ts +1 -1
- package/dist-lib/components/voorraad/ValidationPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadDashboard.d.ts +1 -1
- package/dist-lib/components/voorraad/VoorraadDashboard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadDashboard.js +4 -1
- package/dist-lib/components/voorraad/VoorraadPage.d.ts +1 -1
- package/dist-lib/components/voorraad/VoorraadPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadPagination.d.ts +1 -1
- package/dist-lib/components/voorraad/VoorraadPagination.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadStockCard.d.ts +1 -1
- package/dist-lib/components/voorraad/VoorraadStockCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadTable.d.ts +1 -1
- package/dist-lib/components/voorraad/VoorraadTable.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadTable.js +10 -2
- package/dist-lib/components/voorraad/VoorraadVeldenCard.d.ts +2 -0
- package/dist-lib/components/voorraad/VoorraadVeldenCard.d.ts.map +1 -0
- package/dist-lib/components/voorraad/VoorraadVeldenCard.js +97 -0
- package/dist-lib/hooks/useFloriday.d.ts +6 -6
- package/dist-lib/hooks/useFloriday.d.ts.map +1 -1
- package/dist-lib/hooks/useFloridayVbnRequired.d.ts +2 -2
- package/dist-lib/hooks/useFloridayVbnRequired.d.ts.map +1 -1
- package/dist-lib/hooks/useLocalTradeItems.d.ts +4 -4
- package/dist-lib/hooks/useLocalTradeItems.d.ts.map +1 -1
- package/dist-lib/hooks/useLocalTradeItems.js +59 -35
- package/dist-lib/hooks/useTradeItemSupplyLine.d.ts +1 -1
- package/dist-lib/hooks/useTradeItemSupplyLine.d.ts.map +1 -1
- package/dist-lib/hooks/useVbnRegulatoryFeatures.d.ts +1 -1
- package/dist-lib/hooks/useVbnRegulatoryFeatures.d.ts.map +1 -1
- package/dist-lib/hooks/useVoorraadCustomFields.d.ts +9 -0
- package/dist-lib/hooks/useVoorraadCustomFields.d.ts.map +1 -0
- package/dist-lib/hooks/useVoorraadCustomFields.js +26 -0
- package/dist-lib/index.d.ts +2 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +4 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +2358 -177
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +2358 -177
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +2358 -177
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +2428 -174
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +49 -0
- package/dist-lib/lib/floricode-required-features.functions.d.ts +2373 -198
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts +2375 -192
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.functions.d.ts +49617 -38712
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts +13843 -9481
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +25719 -19176
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +13826 -9464
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/voorraad-custom-fields.d.ts +22 -0
- package/dist-lib/lib/voorraad-custom-fields.d.ts.map +1 -0
- package/dist-lib/lib/voorraad-custom-fields.js +71 -0
- package/package.json +1 -1
- package/dist-lib/components/settings/VoorraadSettingsCard.d.ts +0 -2
- package/dist-lib/components/settings/VoorraadSettingsCard.d.ts.map +0 -1
- package/dist-lib/components/settings/VoorraadSettingsCard.js +0 -39
- package/dist-lib/components/voorraad/ConnectionPicker.d.ts +0 -8
- package/dist-lib/components/voorraad/ConnectionPicker.d.ts.map +0 -1
- package/dist-lib/components/voorraad/ConnectionPicker.js +0 -8
|
@@ -394,6 +394,63 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
394
394
|
};
|
|
395
395
|
Relationships: [];
|
|
396
396
|
};
|
|
397
|
+
ai_layout_imports: {
|
|
398
|
+
Row: {
|
|
399
|
+
analyse_json: import("./types").Json;
|
|
400
|
+
bestand_url: string | null;
|
|
401
|
+
bestandsnaam: string;
|
|
402
|
+
bevestigd: boolean;
|
|
403
|
+
created_at: string;
|
|
404
|
+
created_by: string | null;
|
|
405
|
+
foutmelding: string | null;
|
|
406
|
+
id: string;
|
|
407
|
+
layout_id: string | null;
|
|
408
|
+
mime_type: string;
|
|
409
|
+
onzekere_velden: import("./types").Json;
|
|
410
|
+
status: Database["public"]["Enums"]["ai_import_status"];
|
|
411
|
+
updated_at: string;
|
|
412
|
+
voorstel: import("./types").Json;
|
|
413
|
+
};
|
|
414
|
+
Insert: {
|
|
415
|
+
analyse_json?: import("./types").Json;
|
|
416
|
+
bestand_url?: string | null;
|
|
417
|
+
bestandsnaam?: string;
|
|
418
|
+
bevestigd?: boolean;
|
|
419
|
+
created_at?: string;
|
|
420
|
+
created_by?: string | null;
|
|
421
|
+
foutmelding?: string | null;
|
|
422
|
+
id?: string;
|
|
423
|
+
layout_id?: string | null;
|
|
424
|
+
mime_type?: string;
|
|
425
|
+
onzekere_velden?: import("./types").Json;
|
|
426
|
+
status?: Database["public"]["Enums"]["ai_import_status"];
|
|
427
|
+
updated_at?: string;
|
|
428
|
+
voorstel?: import("./types").Json;
|
|
429
|
+
};
|
|
430
|
+
Update: {
|
|
431
|
+
analyse_json?: import("./types").Json;
|
|
432
|
+
bestand_url?: string | null;
|
|
433
|
+
bestandsnaam?: string;
|
|
434
|
+
bevestigd?: boolean;
|
|
435
|
+
created_at?: string;
|
|
436
|
+
created_by?: string | null;
|
|
437
|
+
foutmelding?: string | null;
|
|
438
|
+
id?: string;
|
|
439
|
+
layout_id?: string | null;
|
|
440
|
+
mime_type?: string;
|
|
441
|
+
onzekere_velden?: import("./types").Json;
|
|
442
|
+
status?: Database["public"]["Enums"]["ai_import_status"];
|
|
443
|
+
updated_at?: string;
|
|
444
|
+
voorstel?: import("./types").Json;
|
|
445
|
+
};
|
|
446
|
+
Relationships: [{
|
|
447
|
+
foreignKeyName: "ai_layout_imports_layout_id_fkey";
|
|
448
|
+
columns: ["layout_id"];
|
|
449
|
+
isOneToOne: false;
|
|
450
|
+
referencedRelation: "document_layouts";
|
|
451
|
+
referencedColumns: ["id"];
|
|
452
|
+
}];
|
|
453
|
+
};
|
|
397
454
|
ai_model_pricing: {
|
|
398
455
|
Row: {
|
|
399
456
|
created_at: string;
|
|
@@ -484,6 +541,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
484
541
|
created_at: string;
|
|
485
542
|
credential_id: string;
|
|
486
543
|
id: string;
|
|
544
|
+
is_default: boolean;
|
|
545
|
+
label: string | null;
|
|
487
546
|
model_id: string;
|
|
488
547
|
notes: string | null;
|
|
489
548
|
updated_at: string;
|
|
@@ -493,6 +552,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
493
552
|
created_at?: string;
|
|
494
553
|
credential_id: string;
|
|
495
554
|
id?: string;
|
|
555
|
+
is_default?: boolean;
|
|
556
|
+
label?: string | null;
|
|
496
557
|
model_id: string;
|
|
497
558
|
notes?: string | null;
|
|
498
559
|
updated_at?: string;
|
|
@@ -502,6 +563,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
502
563
|
created_at?: string;
|
|
503
564
|
credential_id?: string;
|
|
504
565
|
id?: string;
|
|
566
|
+
is_default?: boolean;
|
|
567
|
+
label?: string | null;
|
|
505
568
|
model_id?: string;
|
|
506
569
|
notes?: string | null;
|
|
507
570
|
updated_at?: string;
|
|
@@ -520,6 +583,39 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
520
583
|
referencedColumns: ["id"];
|
|
521
584
|
}];
|
|
522
585
|
};
|
|
586
|
+
ai_modules: {
|
|
587
|
+
Row: {
|
|
588
|
+
ai_enabled: boolean;
|
|
589
|
+
created_at: string;
|
|
590
|
+
id: string;
|
|
591
|
+
module_key: string;
|
|
592
|
+
module_name: string;
|
|
593
|
+
updated_at: string;
|
|
594
|
+
};
|
|
595
|
+
Insert: {
|
|
596
|
+
ai_enabled?: boolean;
|
|
597
|
+
created_at?: string;
|
|
598
|
+
id?: string;
|
|
599
|
+
module_key: string;
|
|
600
|
+
module_name: string;
|
|
601
|
+
updated_at?: string;
|
|
602
|
+
};
|
|
603
|
+
Update: {
|
|
604
|
+
ai_enabled?: boolean;
|
|
605
|
+
created_at?: string;
|
|
606
|
+
id?: string;
|
|
607
|
+
module_key?: string;
|
|
608
|
+
module_name?: string;
|
|
609
|
+
updated_at?: string;
|
|
610
|
+
};
|
|
611
|
+
Relationships: [{
|
|
612
|
+
foreignKeyName: "ai_modules_module_key_fkey";
|
|
613
|
+
columns: ["module_key"];
|
|
614
|
+
isOneToOne: true;
|
|
615
|
+
referencedRelation: "modules";
|
|
616
|
+
referencedColumns: ["module_key"];
|
|
617
|
+
}];
|
|
618
|
+
};
|
|
523
619
|
ai_providers: {
|
|
524
620
|
Row: {
|
|
525
621
|
active: boolean;
|
|
@@ -1262,6 +1358,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
1262
1358
|
require_same_crate_type: boolean;
|
|
1263
1359
|
require_same_delivery_date: boolean;
|
|
1264
1360
|
require_same_delivery_location: boolean;
|
|
1361
|
+
uniform_pick_time: boolean;
|
|
1362
|
+
uniform_pick_time_seconds: number;
|
|
1265
1363
|
updated_at: string;
|
|
1266
1364
|
updated_by: string | null;
|
|
1267
1365
|
};
|
|
@@ -1286,6 +1384,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
1286
1384
|
require_same_crate_type?: boolean;
|
|
1287
1385
|
require_same_delivery_date?: boolean;
|
|
1288
1386
|
require_same_delivery_location?: boolean;
|
|
1387
|
+
uniform_pick_time?: boolean;
|
|
1388
|
+
uniform_pick_time_seconds?: number;
|
|
1289
1389
|
updated_at?: string;
|
|
1290
1390
|
updated_by?: string | null;
|
|
1291
1391
|
};
|
|
@@ -1310,6 +1410,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
1310
1410
|
require_same_crate_type?: boolean;
|
|
1311
1411
|
require_same_delivery_date?: boolean;
|
|
1312
1412
|
require_same_delivery_location?: boolean;
|
|
1413
|
+
uniform_pick_time?: boolean;
|
|
1414
|
+
uniform_pick_time_seconds?: number;
|
|
1313
1415
|
updated_at?: string;
|
|
1314
1416
|
updated_by?: string | null;
|
|
1315
1417
|
};
|
|
@@ -2443,6 +2545,351 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
2443
2545
|
};
|
|
2444
2546
|
Relationships: [];
|
|
2445
2547
|
};
|
|
2548
|
+
document_formaat_printers: {
|
|
2549
|
+
Row: {
|
|
2550
|
+
created_at: string;
|
|
2551
|
+
documenttype: string;
|
|
2552
|
+
formaat_code: string;
|
|
2553
|
+
id: string;
|
|
2554
|
+
printer_id: string | null;
|
|
2555
|
+
updated_at: string;
|
|
2556
|
+
};
|
|
2557
|
+
Insert: {
|
|
2558
|
+
created_at?: string;
|
|
2559
|
+
documenttype: string;
|
|
2560
|
+
formaat_code: string;
|
|
2561
|
+
id?: string;
|
|
2562
|
+
printer_id?: string | null;
|
|
2563
|
+
updated_at?: string;
|
|
2564
|
+
};
|
|
2565
|
+
Update: {
|
|
2566
|
+
created_at?: string;
|
|
2567
|
+
documenttype?: string;
|
|
2568
|
+
formaat_code?: string;
|
|
2569
|
+
id?: string;
|
|
2570
|
+
printer_id?: string | null;
|
|
2571
|
+
updated_at?: string;
|
|
2572
|
+
};
|
|
2573
|
+
Relationships: [{
|
|
2574
|
+
foreignKeyName: "document_formaat_printers_printer_id_fkey";
|
|
2575
|
+
columns: ["printer_id"];
|
|
2576
|
+
isOneToOne: false;
|
|
2577
|
+
referencedRelation: "printers";
|
|
2578
|
+
referencedColumns: ["id"];
|
|
2579
|
+
}];
|
|
2580
|
+
};
|
|
2581
|
+
document_layout_conditions: {
|
|
2582
|
+
Row: {
|
|
2583
|
+
created_at: string;
|
|
2584
|
+
element_key: string;
|
|
2585
|
+
id: string;
|
|
2586
|
+
layout_id: string;
|
|
2587
|
+
operator: string;
|
|
2588
|
+
updated_at: string;
|
|
2589
|
+
veld: string;
|
|
2590
|
+
waarde: string;
|
|
2591
|
+
};
|
|
2592
|
+
Insert: {
|
|
2593
|
+
created_at?: string;
|
|
2594
|
+
element_key: string;
|
|
2595
|
+
id?: string;
|
|
2596
|
+
layout_id: string;
|
|
2597
|
+
operator?: string;
|
|
2598
|
+
updated_at?: string;
|
|
2599
|
+
veld: string;
|
|
2600
|
+
waarde?: string;
|
|
2601
|
+
};
|
|
2602
|
+
Update: {
|
|
2603
|
+
created_at?: string;
|
|
2604
|
+
element_key?: string;
|
|
2605
|
+
id?: string;
|
|
2606
|
+
layout_id?: string;
|
|
2607
|
+
operator?: string;
|
|
2608
|
+
updated_at?: string;
|
|
2609
|
+
veld?: string;
|
|
2610
|
+
waarde?: string;
|
|
2611
|
+
};
|
|
2612
|
+
Relationships: [{
|
|
2613
|
+
foreignKeyName: "document_layout_conditions_layout_id_fkey";
|
|
2614
|
+
columns: ["layout_id"];
|
|
2615
|
+
isOneToOne: false;
|
|
2616
|
+
referencedRelation: "document_layouts";
|
|
2617
|
+
referencedColumns: ["id"];
|
|
2618
|
+
}];
|
|
2619
|
+
};
|
|
2620
|
+
document_layout_datasources: {
|
|
2621
|
+
Row: {
|
|
2622
|
+
alias: string;
|
|
2623
|
+
created_at: string;
|
|
2624
|
+
entiteit: string;
|
|
2625
|
+
filter: import("./types").Json;
|
|
2626
|
+
id: string;
|
|
2627
|
+
layout_id: string;
|
|
2628
|
+
module_id: string;
|
|
2629
|
+
updated_at: string;
|
|
2630
|
+
};
|
|
2631
|
+
Insert: {
|
|
2632
|
+
alias?: string;
|
|
2633
|
+
created_at?: string;
|
|
2634
|
+
entiteit: string;
|
|
2635
|
+
filter?: import("./types").Json;
|
|
2636
|
+
id?: string;
|
|
2637
|
+
layout_id: string;
|
|
2638
|
+
module_id: string;
|
|
2639
|
+
updated_at?: string;
|
|
2640
|
+
};
|
|
2641
|
+
Update: {
|
|
2642
|
+
alias?: string;
|
|
2643
|
+
created_at?: string;
|
|
2644
|
+
entiteit?: string;
|
|
2645
|
+
filter?: import("./types").Json;
|
|
2646
|
+
id?: string;
|
|
2647
|
+
layout_id?: string;
|
|
2648
|
+
module_id?: string;
|
|
2649
|
+
updated_at?: string;
|
|
2650
|
+
};
|
|
2651
|
+
Relationships: [{
|
|
2652
|
+
foreignKeyName: "document_layout_datasources_layout_id_fkey";
|
|
2653
|
+
columns: ["layout_id"];
|
|
2654
|
+
isOneToOne: false;
|
|
2655
|
+
referencedRelation: "document_layouts";
|
|
2656
|
+
referencedColumns: ["id"];
|
|
2657
|
+
}];
|
|
2658
|
+
};
|
|
2659
|
+
document_layout_elements: {
|
|
2660
|
+
Row: {
|
|
2661
|
+
breedte: number;
|
|
2662
|
+
config: import("./types").Json;
|
|
2663
|
+
content: string;
|
|
2664
|
+
created_at: string;
|
|
2665
|
+
element_key: string;
|
|
2666
|
+
hoogte: number;
|
|
2667
|
+
id: string;
|
|
2668
|
+
layout_id: string;
|
|
2669
|
+
logo_id: string | null;
|
|
2670
|
+
parent_key: string | null;
|
|
2671
|
+
rotatie: number;
|
|
2672
|
+
stijl: import("./types").Json;
|
|
2673
|
+
type: string;
|
|
2674
|
+
updated_at: string;
|
|
2675
|
+
veldpad: string | null;
|
|
2676
|
+
verborgen: boolean;
|
|
2677
|
+
vergrendeld: boolean;
|
|
2678
|
+
volgorde: number;
|
|
2679
|
+
x: number;
|
|
2680
|
+
y: number;
|
|
2681
|
+
z_index: number;
|
|
2682
|
+
};
|
|
2683
|
+
Insert: {
|
|
2684
|
+
breedte?: number;
|
|
2685
|
+
config?: import("./types").Json;
|
|
2686
|
+
content?: string;
|
|
2687
|
+
created_at?: string;
|
|
2688
|
+
element_key: string;
|
|
2689
|
+
hoogte?: number;
|
|
2690
|
+
id?: string;
|
|
2691
|
+
layout_id: string;
|
|
2692
|
+
logo_id?: string | null;
|
|
2693
|
+
parent_key?: string | null;
|
|
2694
|
+
rotatie?: number;
|
|
2695
|
+
stijl?: import("./types").Json;
|
|
2696
|
+
type: string;
|
|
2697
|
+
updated_at?: string;
|
|
2698
|
+
veldpad?: string | null;
|
|
2699
|
+
verborgen?: boolean;
|
|
2700
|
+
vergrendeld?: boolean;
|
|
2701
|
+
volgorde?: number;
|
|
2702
|
+
x?: number;
|
|
2703
|
+
y?: number;
|
|
2704
|
+
z_index?: number;
|
|
2705
|
+
};
|
|
2706
|
+
Update: {
|
|
2707
|
+
breedte?: number;
|
|
2708
|
+
config?: import("./types").Json;
|
|
2709
|
+
content?: string;
|
|
2710
|
+
created_at?: string;
|
|
2711
|
+
element_key?: string;
|
|
2712
|
+
hoogte?: number;
|
|
2713
|
+
id?: string;
|
|
2714
|
+
layout_id?: string;
|
|
2715
|
+
logo_id?: string | null;
|
|
2716
|
+
parent_key?: string | null;
|
|
2717
|
+
rotatie?: number;
|
|
2718
|
+
stijl?: import("./types").Json;
|
|
2719
|
+
type?: string;
|
|
2720
|
+
updated_at?: string;
|
|
2721
|
+
veldpad?: string | null;
|
|
2722
|
+
verborgen?: boolean;
|
|
2723
|
+
vergrendeld?: boolean;
|
|
2724
|
+
volgorde?: number;
|
|
2725
|
+
x?: number;
|
|
2726
|
+
y?: number;
|
|
2727
|
+
z_index?: number;
|
|
2728
|
+
};
|
|
2729
|
+
Relationships: [{
|
|
2730
|
+
foreignKeyName: "document_layout_elements_layout_id_fkey";
|
|
2731
|
+
columns: ["layout_id"];
|
|
2732
|
+
isOneToOne: false;
|
|
2733
|
+
referencedRelation: "document_layouts";
|
|
2734
|
+
referencedColumns: ["id"];
|
|
2735
|
+
}, {
|
|
2736
|
+
foreignKeyName: "document_layout_elements_logo_id_fkey";
|
|
2737
|
+
columns: ["logo_id"];
|
|
2738
|
+
isOneToOne: false;
|
|
2739
|
+
referencedRelation: "layout_logos";
|
|
2740
|
+
referencedColumns: ["id"];
|
|
2741
|
+
}];
|
|
2742
|
+
};
|
|
2743
|
+
document_layout_variables: {
|
|
2744
|
+
Row: {
|
|
2745
|
+
created_at: string;
|
|
2746
|
+
expressie: string;
|
|
2747
|
+
id: string;
|
|
2748
|
+
layout_id: string;
|
|
2749
|
+
naam: string;
|
|
2750
|
+
omschrijving: string;
|
|
2751
|
+
updated_at: string;
|
|
2752
|
+
};
|
|
2753
|
+
Insert: {
|
|
2754
|
+
created_at?: string;
|
|
2755
|
+
expressie?: string;
|
|
2756
|
+
id?: string;
|
|
2757
|
+
layout_id: string;
|
|
2758
|
+
naam: string;
|
|
2759
|
+
omschrijving?: string;
|
|
2760
|
+
updated_at?: string;
|
|
2761
|
+
};
|
|
2762
|
+
Update: {
|
|
2763
|
+
created_at?: string;
|
|
2764
|
+
expressie?: string;
|
|
2765
|
+
id?: string;
|
|
2766
|
+
layout_id?: string;
|
|
2767
|
+
naam?: string;
|
|
2768
|
+
omschrijving?: string;
|
|
2769
|
+
updated_at?: string;
|
|
2770
|
+
};
|
|
2771
|
+
Relationships: [{
|
|
2772
|
+
foreignKeyName: "document_layout_variables_layout_id_fkey";
|
|
2773
|
+
columns: ["layout_id"];
|
|
2774
|
+
isOneToOne: false;
|
|
2775
|
+
referencedRelation: "document_layouts";
|
|
2776
|
+
referencedColumns: ["id"];
|
|
2777
|
+
}];
|
|
2778
|
+
};
|
|
2779
|
+
document_layout_versions: {
|
|
2780
|
+
Row: {
|
|
2781
|
+
commentaar: string;
|
|
2782
|
+
created_at: string;
|
|
2783
|
+
created_by: string | null;
|
|
2784
|
+
elements: import("./types").Json;
|
|
2785
|
+
id: string;
|
|
2786
|
+
layout_id: string;
|
|
2787
|
+
page_settings: import("./types").Json;
|
|
2788
|
+
updated_at: string;
|
|
2789
|
+
versienummer: number;
|
|
2790
|
+
};
|
|
2791
|
+
Insert: {
|
|
2792
|
+
commentaar?: string;
|
|
2793
|
+
created_at?: string;
|
|
2794
|
+
created_by?: string | null;
|
|
2795
|
+
elements?: import("./types").Json;
|
|
2796
|
+
id?: string;
|
|
2797
|
+
layout_id: string;
|
|
2798
|
+
page_settings?: import("./types").Json;
|
|
2799
|
+
updated_at?: string;
|
|
2800
|
+
versienummer: number;
|
|
2801
|
+
};
|
|
2802
|
+
Update: {
|
|
2803
|
+
commentaar?: string;
|
|
2804
|
+
created_at?: string;
|
|
2805
|
+
created_by?: string | null;
|
|
2806
|
+
elements?: import("./types").Json;
|
|
2807
|
+
id?: string;
|
|
2808
|
+
layout_id?: string;
|
|
2809
|
+
page_settings?: import("./types").Json;
|
|
2810
|
+
updated_at?: string;
|
|
2811
|
+
versienummer?: number;
|
|
2812
|
+
};
|
|
2813
|
+
Relationships: [{
|
|
2814
|
+
foreignKeyName: "document_layout_versions_layout_id_fkey";
|
|
2815
|
+
columns: ["layout_id"];
|
|
2816
|
+
isOneToOne: false;
|
|
2817
|
+
referencedRelation: "document_layouts";
|
|
2818
|
+
referencedColumns: ["id"];
|
|
2819
|
+
}];
|
|
2820
|
+
};
|
|
2821
|
+
document_layouts: {
|
|
2822
|
+
Row: {
|
|
2823
|
+
actief: boolean;
|
|
2824
|
+
breedte_mm: number;
|
|
2825
|
+
config: import("./types").Json;
|
|
2826
|
+
created_at: string;
|
|
2827
|
+
created_by: string | null;
|
|
2828
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
2829
|
+
hoogte_mm: number;
|
|
2830
|
+
huidige_versie: number;
|
|
2831
|
+
id: string;
|
|
2832
|
+
is_standaard: boolean;
|
|
2833
|
+
marge_boven: number;
|
|
2834
|
+
marge_links: number;
|
|
2835
|
+
marge_onder: number;
|
|
2836
|
+
marge_rechts: number;
|
|
2837
|
+
naam: string;
|
|
2838
|
+
omschrijving: string;
|
|
2839
|
+
orientatie: Database["public"]["Enums"]["doc_orientation"];
|
|
2840
|
+
page_settings: import("./types").Json;
|
|
2841
|
+
papierformaat: string;
|
|
2842
|
+
thumbnail_url: string | null;
|
|
2843
|
+
updated_at: string;
|
|
2844
|
+
};
|
|
2845
|
+
Insert: {
|
|
2846
|
+
actief?: boolean;
|
|
2847
|
+
breedte_mm?: number;
|
|
2848
|
+
config?: import("./types").Json;
|
|
2849
|
+
created_at?: string;
|
|
2850
|
+
created_by?: string | null;
|
|
2851
|
+
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
2852
|
+
hoogte_mm?: number;
|
|
2853
|
+
huidige_versie?: number;
|
|
2854
|
+
id?: string;
|
|
2855
|
+
is_standaard?: boolean;
|
|
2856
|
+
marge_boven?: number;
|
|
2857
|
+
marge_links?: number;
|
|
2858
|
+
marge_onder?: number;
|
|
2859
|
+
marge_rechts?: number;
|
|
2860
|
+
naam: string;
|
|
2861
|
+
omschrijving?: string;
|
|
2862
|
+
orientatie?: Database["public"]["Enums"]["doc_orientation"];
|
|
2863
|
+
page_settings?: import("./types").Json;
|
|
2864
|
+
papierformaat?: string;
|
|
2865
|
+
thumbnail_url?: string | null;
|
|
2866
|
+
updated_at?: string;
|
|
2867
|
+
};
|
|
2868
|
+
Update: {
|
|
2869
|
+
actief?: boolean;
|
|
2870
|
+
breedte_mm?: number;
|
|
2871
|
+
config?: import("./types").Json;
|
|
2872
|
+
created_at?: string;
|
|
2873
|
+
created_by?: string | null;
|
|
2874
|
+
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
2875
|
+
hoogte_mm?: number;
|
|
2876
|
+
huidige_versie?: number;
|
|
2877
|
+
id?: string;
|
|
2878
|
+
is_standaard?: boolean;
|
|
2879
|
+
marge_boven?: number;
|
|
2880
|
+
marge_links?: number;
|
|
2881
|
+
marge_onder?: number;
|
|
2882
|
+
marge_rechts?: number;
|
|
2883
|
+
naam?: string;
|
|
2884
|
+
omschrijving?: string;
|
|
2885
|
+
orientatie?: Database["public"]["Enums"]["doc_orientation"];
|
|
2886
|
+
page_settings?: import("./types").Json;
|
|
2887
|
+
papierformaat?: string;
|
|
2888
|
+
thumbnail_url?: string | null;
|
|
2889
|
+
updated_at?: string;
|
|
2890
|
+
};
|
|
2891
|
+
Relationships: [];
|
|
2892
|
+
};
|
|
2446
2893
|
email_auth_connections: {
|
|
2447
2894
|
Row: {
|
|
2448
2895
|
access_token_encrypted: string | null;
|
|
@@ -2482,6 +2929,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
2482
2929
|
status: string;
|
|
2483
2930
|
token_expires_at: string | null;
|
|
2484
2931
|
updated_at: string;
|
|
2932
|
+
webhook_last_attempt_at: string | null;
|
|
2933
|
+
webhook_last_error: string | null;
|
|
2934
|
+
webhook_status: string;
|
|
2485
2935
|
};
|
|
2486
2936
|
Insert: {
|
|
2487
2937
|
access_token_encrypted?: string | null;
|
|
@@ -2521,6 +2971,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
2521
2971
|
status?: string;
|
|
2522
2972
|
token_expires_at?: string | null;
|
|
2523
2973
|
updated_at?: string;
|
|
2974
|
+
webhook_last_attempt_at?: string | null;
|
|
2975
|
+
webhook_last_error?: string | null;
|
|
2976
|
+
webhook_status?: string;
|
|
2524
2977
|
};
|
|
2525
2978
|
Update: {
|
|
2526
2979
|
access_token_encrypted?: string | null;
|
|
@@ -2560,6 +3013,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
2560
3013
|
status?: string;
|
|
2561
3014
|
token_expires_at?: string | null;
|
|
2562
3015
|
updated_at?: string;
|
|
3016
|
+
webhook_last_attempt_at?: string | null;
|
|
3017
|
+
webhook_last_error?: string | null;
|
|
3018
|
+
webhook_status?: string;
|
|
2563
3019
|
};
|
|
2564
3020
|
Relationships: [];
|
|
2565
3021
|
};
|
|
@@ -2755,6 +3211,60 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
2755
3211
|
referencedColumns: ["id"];
|
|
2756
3212
|
}];
|
|
2757
3213
|
};
|
|
3214
|
+
email_auth_webhook_log: {
|
|
3215
|
+
Row: {
|
|
3216
|
+
body_sample: string | null;
|
|
3217
|
+
connection_id: string | null;
|
|
3218
|
+
created_at: string;
|
|
3219
|
+
error_message: string | null;
|
|
3220
|
+
headers_sample: import("./types").Json | null;
|
|
3221
|
+
id: string;
|
|
3222
|
+
notification_count: number | null;
|
|
3223
|
+
provider: string | null;
|
|
3224
|
+
source: string | null;
|
|
3225
|
+
status: string;
|
|
3226
|
+
subscription_id: string | null;
|
|
3227
|
+
};
|
|
3228
|
+
Insert: {
|
|
3229
|
+
body_sample?: string | null;
|
|
3230
|
+
connection_id?: string | null;
|
|
3231
|
+
created_at?: string;
|
|
3232
|
+
error_message?: string | null;
|
|
3233
|
+
headers_sample?: import("./types").Json | null;
|
|
3234
|
+
id?: string;
|
|
3235
|
+
notification_count?: number | null;
|
|
3236
|
+
provider?: string | null;
|
|
3237
|
+
source?: string | null;
|
|
3238
|
+
status: string;
|
|
3239
|
+
subscription_id?: string | null;
|
|
3240
|
+
};
|
|
3241
|
+
Update: {
|
|
3242
|
+
body_sample?: string | null;
|
|
3243
|
+
connection_id?: string | null;
|
|
3244
|
+
created_at?: string;
|
|
3245
|
+
error_message?: string | null;
|
|
3246
|
+
headers_sample?: import("./types").Json | null;
|
|
3247
|
+
id?: string;
|
|
3248
|
+
notification_count?: number | null;
|
|
3249
|
+
provider?: string | null;
|
|
3250
|
+
source?: string | null;
|
|
3251
|
+
status?: string;
|
|
3252
|
+
subscription_id?: string | null;
|
|
3253
|
+
};
|
|
3254
|
+
Relationships: [{
|
|
3255
|
+
foreignKeyName: "email_auth_webhook_log_connection_id_fkey";
|
|
3256
|
+
columns: ["connection_id"];
|
|
3257
|
+
isOneToOne: false;
|
|
3258
|
+
referencedRelation: "email_auth_connections";
|
|
3259
|
+
referencedColumns: ["id"];
|
|
3260
|
+
}, {
|
|
3261
|
+
foreignKeyName: "email_auth_webhook_log_connection_id_fkey";
|
|
3262
|
+
columns: ["connection_id"];
|
|
3263
|
+
isOneToOne: false;
|
|
3264
|
+
referencedRelation: "email_auth_connections_safe";
|
|
3265
|
+
referencedColumns: ["id"];
|
|
3266
|
+
}];
|
|
3267
|
+
};
|
|
2758
3268
|
exact_account_analytics_cache: {
|
|
2759
3269
|
Row: {
|
|
2760
3270
|
account_id: string;
|
|
@@ -5527,9 +6037,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
5527
6037
|
referencedColumns: ["id"];
|
|
5528
6038
|
}];
|
|
5529
6039
|
};
|
|
5530
|
-
|
|
6040
|
+
floriday_trade_settings_customers_cache: {
|
|
5531
6041
|
Row: {
|
|
5532
|
-
carrier_organization_id: string | null;
|
|
5533
6042
|
connection_id: string;
|
|
5534
6043
|
data: import("./types").Json;
|
|
5535
6044
|
fetched_at: string;
|
|
@@ -5537,12 +6046,52 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
5537
6046
|
id: string;
|
|
5538
6047
|
is_deleted: boolean;
|
|
5539
6048
|
sequence_number: number;
|
|
5540
|
-
status: string | null;
|
|
5541
|
-
trip_date: string | null;
|
|
5542
6049
|
updated_at: string;
|
|
5543
6050
|
};
|
|
5544
6051
|
Insert: {
|
|
5545
|
-
|
|
6052
|
+
connection_id: string;
|
|
6053
|
+
data: import("./types").Json;
|
|
6054
|
+
fetched_at?: string;
|
|
6055
|
+
floriday_id: string;
|
|
6056
|
+
id?: string;
|
|
6057
|
+
is_deleted?: boolean;
|
|
6058
|
+
sequence_number?: number;
|
|
6059
|
+
updated_at?: string;
|
|
6060
|
+
};
|
|
6061
|
+
Update: {
|
|
6062
|
+
connection_id?: string;
|
|
6063
|
+
data?: import("./types").Json;
|
|
6064
|
+
fetched_at?: string;
|
|
6065
|
+
floriday_id?: string;
|
|
6066
|
+
id?: string;
|
|
6067
|
+
is_deleted?: boolean;
|
|
6068
|
+
sequence_number?: number;
|
|
6069
|
+
updated_at?: string;
|
|
6070
|
+
};
|
|
6071
|
+
Relationships: [{
|
|
6072
|
+
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
6073
|
+
columns: ["connection_id"];
|
|
6074
|
+
isOneToOne: false;
|
|
6075
|
+
referencedRelation: "floriday_connections";
|
|
6076
|
+
referencedColumns: ["id"];
|
|
6077
|
+
}];
|
|
6078
|
+
};
|
|
6079
|
+
floriday_trips_cache: {
|
|
6080
|
+
Row: {
|
|
6081
|
+
carrier_organization_id: string | null;
|
|
6082
|
+
connection_id: string;
|
|
6083
|
+
data: import("./types").Json;
|
|
6084
|
+
fetched_at: string;
|
|
6085
|
+
floriday_id: string;
|
|
6086
|
+
id: string;
|
|
6087
|
+
is_deleted: boolean;
|
|
6088
|
+
sequence_number: number;
|
|
6089
|
+
status: string | null;
|
|
6090
|
+
trip_date: string | null;
|
|
6091
|
+
updated_at: string;
|
|
6092
|
+
};
|
|
6093
|
+
Insert: {
|
|
6094
|
+
carrier_organization_id?: string | null;
|
|
5546
6095
|
connection_id: string;
|
|
5547
6096
|
data?: import("./types").Json;
|
|
5548
6097
|
fetched_at?: string;
|
|
@@ -5929,6 +6478,36 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
5929
6478
|
};
|
|
5930
6479
|
Relationships: [];
|
|
5931
6480
|
};
|
|
6481
|
+
invoice_post_idempotency: {
|
|
6482
|
+
Row: {
|
|
6483
|
+
client_request_id: string;
|
|
6484
|
+
completed_at: string | null;
|
|
6485
|
+
created_at: string;
|
|
6486
|
+
error_message: string | null;
|
|
6487
|
+
invoice_number: string | null;
|
|
6488
|
+
status: string;
|
|
6489
|
+
user_id: string;
|
|
6490
|
+
};
|
|
6491
|
+
Insert: {
|
|
6492
|
+
client_request_id: string;
|
|
6493
|
+
completed_at?: string | null;
|
|
6494
|
+
created_at?: string;
|
|
6495
|
+
error_message?: string | null;
|
|
6496
|
+
invoice_number?: string | null;
|
|
6497
|
+
status?: string;
|
|
6498
|
+
user_id: string;
|
|
6499
|
+
};
|
|
6500
|
+
Update: {
|
|
6501
|
+
client_request_id?: string;
|
|
6502
|
+
completed_at?: string | null;
|
|
6503
|
+
created_at?: string;
|
|
6504
|
+
error_message?: string | null;
|
|
6505
|
+
invoice_number?: string | null;
|
|
6506
|
+
status?: string;
|
|
6507
|
+
user_id?: string;
|
|
6508
|
+
};
|
|
6509
|
+
Relationships: [];
|
|
6510
|
+
};
|
|
5932
6511
|
invoice_push_log: {
|
|
5933
6512
|
Row: {
|
|
5934
6513
|
connection_id: string | null;
|
|
@@ -6316,6 +6895,60 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
6316
6895
|
referencedColumns: ["id"];
|
|
6317
6896
|
}];
|
|
6318
6897
|
};
|
|
6898
|
+
layout_logos: {
|
|
6899
|
+
Row: {
|
|
6900
|
+
bestand_url: string;
|
|
6901
|
+
bestandsgrootte: number;
|
|
6902
|
+
bestandspad: string | null;
|
|
6903
|
+
bestandstype: string;
|
|
6904
|
+
breedte: number;
|
|
6905
|
+
categorie: string;
|
|
6906
|
+
created_at: string;
|
|
6907
|
+
hash: string | null;
|
|
6908
|
+
hoogte: number;
|
|
6909
|
+
id: string;
|
|
6910
|
+
is_standaard: boolean;
|
|
6911
|
+
naam: string;
|
|
6912
|
+
omschrijving: string;
|
|
6913
|
+
transparant: boolean;
|
|
6914
|
+
updated_at: string;
|
|
6915
|
+
};
|
|
6916
|
+
Insert: {
|
|
6917
|
+
bestand_url: string;
|
|
6918
|
+
bestandsgrootte?: number;
|
|
6919
|
+
bestandspad?: string | null;
|
|
6920
|
+
bestandstype?: string;
|
|
6921
|
+
breedte?: number;
|
|
6922
|
+
categorie?: string;
|
|
6923
|
+
created_at?: string;
|
|
6924
|
+
hash?: string | null;
|
|
6925
|
+
hoogte?: number;
|
|
6926
|
+
id?: string;
|
|
6927
|
+
is_standaard?: boolean;
|
|
6928
|
+
naam: string;
|
|
6929
|
+
omschrijving?: string;
|
|
6930
|
+
transparant?: boolean;
|
|
6931
|
+
updated_at?: string;
|
|
6932
|
+
};
|
|
6933
|
+
Update: {
|
|
6934
|
+
bestand_url?: string;
|
|
6935
|
+
bestandsgrootte?: number;
|
|
6936
|
+
bestandspad?: string | null;
|
|
6937
|
+
bestandstype?: string;
|
|
6938
|
+
breedte?: number;
|
|
6939
|
+
categorie?: string;
|
|
6940
|
+
created_at?: string;
|
|
6941
|
+
hash?: string | null;
|
|
6942
|
+
hoogte?: number;
|
|
6943
|
+
id?: string;
|
|
6944
|
+
is_standaard?: boolean;
|
|
6945
|
+
naam?: string;
|
|
6946
|
+
omschrijving?: string;
|
|
6947
|
+
transparant?: boolean;
|
|
6948
|
+
updated_at?: string;
|
|
6949
|
+
};
|
|
6950
|
+
Relationships: [];
|
|
6951
|
+
};
|
|
6319
6952
|
leave_requests: {
|
|
6320
6953
|
Row: {
|
|
6321
6954
|
created_at: string;
|
|
@@ -6859,6 +7492,99 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
6859
7492
|
};
|
|
6860
7493
|
Relationships: [];
|
|
6861
7494
|
};
|
|
7495
|
+
mailbox_ai_goal_prompts: {
|
|
7496
|
+
Row: {
|
|
7497
|
+
created_at: string;
|
|
7498
|
+
goal_key: string;
|
|
7499
|
+
id: string;
|
|
7500
|
+
system_prompt: string;
|
|
7501
|
+
updated_at: string;
|
|
7502
|
+
};
|
|
7503
|
+
Insert: {
|
|
7504
|
+
created_at?: string;
|
|
7505
|
+
goal_key: string;
|
|
7506
|
+
id?: string;
|
|
7507
|
+
system_prompt?: string;
|
|
7508
|
+
updated_at?: string;
|
|
7509
|
+
};
|
|
7510
|
+
Update: {
|
|
7511
|
+
created_at?: string;
|
|
7512
|
+
goal_key?: string;
|
|
7513
|
+
id?: string;
|
|
7514
|
+
system_prompt?: string;
|
|
7515
|
+
updated_at?: string;
|
|
7516
|
+
};
|
|
7517
|
+
Relationships: [];
|
|
7518
|
+
};
|
|
7519
|
+
mailbox_ai_settings: {
|
|
7520
|
+
Row: {
|
|
7521
|
+
active_goal_key: string | null;
|
|
7522
|
+
created_at: string;
|
|
7523
|
+
enabled: boolean;
|
|
7524
|
+
id: string;
|
|
7525
|
+
required_fields: string[];
|
|
7526
|
+
singleton: boolean;
|
|
7527
|
+
system_prompt: string | null;
|
|
7528
|
+
updated_at: string;
|
|
7529
|
+
};
|
|
7530
|
+
Insert: {
|
|
7531
|
+
active_goal_key?: string | null;
|
|
7532
|
+
created_at?: string;
|
|
7533
|
+
enabled?: boolean;
|
|
7534
|
+
id?: string;
|
|
7535
|
+
required_fields?: string[];
|
|
7536
|
+
singleton?: boolean;
|
|
7537
|
+
system_prompt?: string | null;
|
|
7538
|
+
updated_at?: string;
|
|
7539
|
+
};
|
|
7540
|
+
Update: {
|
|
7541
|
+
active_goal_key?: string | null;
|
|
7542
|
+
created_at?: string;
|
|
7543
|
+
enabled?: boolean;
|
|
7544
|
+
id?: string;
|
|
7545
|
+
required_fields?: string[];
|
|
7546
|
+
singleton?: boolean;
|
|
7547
|
+
system_prompt?: string | null;
|
|
7548
|
+
updated_at?: string;
|
|
7549
|
+
};
|
|
7550
|
+
Relationships: [];
|
|
7551
|
+
};
|
|
7552
|
+
mailbox_ingest_runs: {
|
|
7553
|
+
Row: {
|
|
7554
|
+
connection_id: string | null;
|
|
7555
|
+
error_sample: string | null;
|
|
7556
|
+
errors: number;
|
|
7557
|
+
finished_at: string | null;
|
|
7558
|
+
id: string;
|
|
7559
|
+
inserted: number;
|
|
7560
|
+
processed: number;
|
|
7561
|
+
started_at: string;
|
|
7562
|
+
trigger: string;
|
|
7563
|
+
};
|
|
7564
|
+
Insert: {
|
|
7565
|
+
connection_id?: string | null;
|
|
7566
|
+
error_sample?: string | null;
|
|
7567
|
+
errors?: number;
|
|
7568
|
+
finished_at?: string | null;
|
|
7569
|
+
id?: string;
|
|
7570
|
+
inserted?: number;
|
|
7571
|
+
processed?: number;
|
|
7572
|
+
started_at?: string;
|
|
7573
|
+
trigger: string;
|
|
7574
|
+
};
|
|
7575
|
+
Update: {
|
|
7576
|
+
connection_id?: string | null;
|
|
7577
|
+
error_sample?: string | null;
|
|
7578
|
+
errors?: number;
|
|
7579
|
+
finished_at?: string | null;
|
|
7580
|
+
id?: string;
|
|
7581
|
+
inserted?: number;
|
|
7582
|
+
processed?: number;
|
|
7583
|
+
started_at?: string;
|
|
7584
|
+
trigger?: string;
|
|
7585
|
+
};
|
|
7586
|
+
Relationships: [];
|
|
7587
|
+
};
|
|
6862
7588
|
mailbox_messages: {
|
|
6863
7589
|
Row: {
|
|
6864
7590
|
body_html: string | null;
|
|
@@ -6939,6 +7665,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
6939
7665
|
};
|
|
6940
7666
|
mailbox_order_proposals: {
|
|
6941
7667
|
Row: {
|
|
7668
|
+
ai_validation: import("./types").Json | null;
|
|
6942
7669
|
confidence: number | null;
|
|
6943
7670
|
created_at: string;
|
|
6944
7671
|
created_order_id: string | null;
|
|
@@ -6955,6 +7682,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
6955
7682
|
updated_at: string;
|
|
6956
7683
|
};
|
|
6957
7684
|
Insert: {
|
|
7685
|
+
ai_validation?: import("./types").Json | null;
|
|
6958
7686
|
confidence?: number | null;
|
|
6959
7687
|
created_at?: string;
|
|
6960
7688
|
created_order_id?: string | null;
|
|
@@ -6971,6 +7699,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
6971
7699
|
updated_at?: string;
|
|
6972
7700
|
};
|
|
6973
7701
|
Update: {
|
|
7702
|
+
ai_validation?: import("./types").Json | null;
|
|
6974
7703
|
confidence?: number | null;
|
|
6975
7704
|
created_at?: string;
|
|
6976
7705
|
created_order_id?: string | null;
|
|
@@ -7107,6 +7836,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7107
7836
|
created_at: string;
|
|
7108
7837
|
id: string;
|
|
7109
7838
|
match_confidence: number | null;
|
|
7839
|
+
plant_type: string | null;
|
|
7110
7840
|
product_id: string | null;
|
|
7111
7841
|
proposal_id: string;
|
|
7112
7842
|
quantity: number | null;
|
|
@@ -7119,6 +7849,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7119
7849
|
created_at?: string;
|
|
7120
7850
|
id?: string;
|
|
7121
7851
|
match_confidence?: number | null;
|
|
7852
|
+
plant_type?: string | null;
|
|
7122
7853
|
product_id?: string | null;
|
|
7123
7854
|
proposal_id: string;
|
|
7124
7855
|
quantity?: number | null;
|
|
@@ -7131,6 +7862,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7131
7862
|
created_at?: string;
|
|
7132
7863
|
id?: string;
|
|
7133
7864
|
match_confidence?: number | null;
|
|
7865
|
+
plant_type?: string | null;
|
|
7134
7866
|
product_id?: string | null;
|
|
7135
7867
|
proposal_id?: string;
|
|
7136
7868
|
quantity?: number | null;
|
|
@@ -7315,6 +8047,39 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7315
8047
|
};
|
|
7316
8048
|
Relationships: [];
|
|
7317
8049
|
};
|
|
8050
|
+
modules: {
|
|
8051
|
+
Row: {
|
|
8052
|
+
created_at: string;
|
|
8053
|
+
description: string | null;
|
|
8054
|
+
id: string;
|
|
8055
|
+
is_active: boolean;
|
|
8056
|
+
last_seen_at: string | null;
|
|
8057
|
+
module_key: string;
|
|
8058
|
+
module_name: string;
|
|
8059
|
+
updated_at: string;
|
|
8060
|
+
};
|
|
8061
|
+
Insert: {
|
|
8062
|
+
created_at?: string;
|
|
8063
|
+
description?: string | null;
|
|
8064
|
+
id?: string;
|
|
8065
|
+
is_active?: boolean;
|
|
8066
|
+
last_seen_at?: string | null;
|
|
8067
|
+
module_key: string;
|
|
8068
|
+
module_name: string;
|
|
8069
|
+
updated_at?: string;
|
|
8070
|
+
};
|
|
8071
|
+
Update: {
|
|
8072
|
+
created_at?: string;
|
|
8073
|
+
description?: string | null;
|
|
8074
|
+
id?: string;
|
|
8075
|
+
is_active?: boolean;
|
|
8076
|
+
last_seen_at?: string | null;
|
|
8077
|
+
module_key?: string;
|
|
8078
|
+
module_name?: string;
|
|
8079
|
+
updated_at?: string;
|
|
8080
|
+
};
|
|
8081
|
+
Relationships: [];
|
|
8082
|
+
};
|
|
7318
8083
|
monteurs: {
|
|
7319
8084
|
Row: {
|
|
7320
8085
|
avatar_url: string | null;
|
|
@@ -8271,9 +9036,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8271
9036
|
};
|
|
8272
9037
|
order_items: {
|
|
8273
9038
|
Row: {
|
|
9039
|
+
crates_per_layer: number | null;
|
|
8274
9040
|
created_at: string;
|
|
8275
9041
|
id: string;
|
|
9042
|
+
layers_per_cart: number | null;
|
|
8276
9043
|
order_id: string;
|
|
9044
|
+
plants_per_crate: number | null;
|
|
8277
9045
|
product_id: string | null;
|
|
8278
9046
|
product_name: string;
|
|
8279
9047
|
quantity: number;
|
|
@@ -8281,9 +9049,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8281
9049
|
unit_price: number | null;
|
|
8282
9050
|
};
|
|
8283
9051
|
Insert: {
|
|
9052
|
+
crates_per_layer?: number | null;
|
|
8284
9053
|
created_at?: string;
|
|
8285
9054
|
id?: string;
|
|
9055
|
+
layers_per_cart?: number | null;
|
|
8286
9056
|
order_id: string;
|
|
9057
|
+
plants_per_crate?: number | null;
|
|
8287
9058
|
product_id?: string | null;
|
|
8288
9059
|
product_name: string;
|
|
8289
9060
|
quantity?: number;
|
|
@@ -8291,9 +9062,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8291
9062
|
unit_price?: number | null;
|
|
8292
9063
|
};
|
|
8293
9064
|
Update: {
|
|
9065
|
+
crates_per_layer?: number | null;
|
|
8294
9066
|
created_at?: string;
|
|
8295
9067
|
id?: string;
|
|
9068
|
+
layers_per_cart?: number | null;
|
|
8296
9069
|
order_id?: string;
|
|
9070
|
+
plants_per_crate?: number | null;
|
|
8297
9071
|
product_id?: string | null;
|
|
8298
9072
|
product_name?: string;
|
|
8299
9073
|
quantity?: number;
|
|
@@ -8545,85 +9319,964 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8545
9319
|
};
|
|
8546
9320
|
Relationships: [];
|
|
8547
9321
|
};
|
|
8548
|
-
|
|
9322
|
+
pick_countries: {
|
|
8549
9323
|
Row: {
|
|
8550
|
-
|
|
8551
|
-
|
|
9324
|
+
active: boolean;
|
|
9325
|
+
code: string;
|
|
9326
|
+
created_at: string;
|
|
9327
|
+
flag: string | null;
|
|
8552
9328
|
id: string;
|
|
8553
|
-
|
|
8554
|
-
|
|
8555
|
-
|
|
8556
|
-
printed_at: string;
|
|
9329
|
+
name: string;
|
|
9330
|
+
sort_order: number;
|
|
9331
|
+
updated_at: string;
|
|
8557
9332
|
};
|
|
8558
9333
|
Insert: {
|
|
8559
|
-
|
|
8560
|
-
|
|
9334
|
+
active?: boolean;
|
|
9335
|
+
code: string;
|
|
9336
|
+
created_at?: string;
|
|
9337
|
+
flag?: string | null;
|
|
8561
9338
|
id?: string;
|
|
8562
|
-
|
|
8563
|
-
|
|
8564
|
-
|
|
8565
|
-
printed_at?: string;
|
|
9339
|
+
name: string;
|
|
9340
|
+
sort_order?: number;
|
|
9341
|
+
updated_at?: string;
|
|
8566
9342
|
};
|
|
8567
9343
|
Update: {
|
|
8568
|
-
|
|
8569
|
-
|
|
9344
|
+
active?: boolean;
|
|
9345
|
+
code?: string;
|
|
9346
|
+
created_at?: string;
|
|
9347
|
+
flag?: string | null;
|
|
8570
9348
|
id?: string;
|
|
8571
|
-
|
|
8572
|
-
|
|
8573
|
-
|
|
8574
|
-
printed_at?: string;
|
|
9349
|
+
name?: string;
|
|
9350
|
+
sort_order?: number;
|
|
9351
|
+
updated_at?: string;
|
|
8575
9352
|
};
|
|
8576
9353
|
Relationships: [];
|
|
8577
9354
|
};
|
|
8578
|
-
|
|
9355
|
+
pick_document_statuses: {
|
|
8579
9356
|
Row: {
|
|
9357
|
+
active: boolean;
|
|
9358
|
+
code: string;
|
|
9359
|
+
color: string | null;
|
|
8580
9360
|
created_at: string;
|
|
8581
9361
|
id: string;
|
|
8582
|
-
|
|
9362
|
+
is_open: boolean;
|
|
9363
|
+
is_terminal: boolean;
|
|
9364
|
+
name: string;
|
|
9365
|
+
sort_order: number;
|
|
8583
9366
|
updated_at: string;
|
|
8584
|
-
value: string | null;
|
|
8585
9367
|
};
|
|
8586
9368
|
Insert: {
|
|
9369
|
+
active?: boolean;
|
|
9370
|
+
code: string;
|
|
9371
|
+
color?: string | null;
|
|
8587
9372
|
created_at?: string;
|
|
8588
9373
|
id?: string;
|
|
8589
|
-
|
|
9374
|
+
is_open?: boolean;
|
|
9375
|
+
is_terminal?: boolean;
|
|
9376
|
+
name: string;
|
|
9377
|
+
sort_order?: number;
|
|
8590
9378
|
updated_at?: string;
|
|
8591
|
-
value?: string | null;
|
|
8592
9379
|
};
|
|
8593
9380
|
Update: {
|
|
9381
|
+
active?: boolean;
|
|
9382
|
+
code?: string;
|
|
9383
|
+
color?: string | null;
|
|
8594
9384
|
created_at?: string;
|
|
8595
9385
|
id?: string;
|
|
8596
|
-
|
|
9386
|
+
is_open?: boolean;
|
|
9387
|
+
is_terminal?: boolean;
|
|
9388
|
+
name?: string;
|
|
9389
|
+
sort_order?: number;
|
|
8597
9390
|
updated_at?: string;
|
|
8598
|
-
value?: string | null;
|
|
8599
9391
|
};
|
|
8600
9392
|
Relationships: [];
|
|
8601
9393
|
};
|
|
8602
|
-
|
|
9394
|
+
pick_document_types: {
|
|
8603
9395
|
Row: {
|
|
8604
|
-
|
|
8605
|
-
|
|
9396
|
+
active: boolean;
|
|
9397
|
+
code: string;
|
|
9398
|
+
color: string | null;
|
|
8606
9399
|
created_at: string;
|
|
9400
|
+
description: string | null;
|
|
9401
|
+
icon: string | null;
|
|
8607
9402
|
id: string;
|
|
8608
|
-
is_active: boolean;
|
|
8609
9403
|
name: string;
|
|
9404
|
+
print_template: string | null;
|
|
9405
|
+
printer_id: string | null;
|
|
9406
|
+
priority: number;
|
|
9407
|
+
report_key: string | null;
|
|
8610
9408
|
sort_order: number;
|
|
8611
9409
|
updated_at: string;
|
|
9410
|
+
workflow: import("./types").Json;
|
|
8612
9411
|
};
|
|
8613
9412
|
Insert: {
|
|
8614
|
-
|
|
8615
|
-
|
|
9413
|
+
active?: boolean;
|
|
9414
|
+
code: string;
|
|
9415
|
+
color?: string | null;
|
|
8616
9416
|
created_at?: string;
|
|
9417
|
+
description?: string | null;
|
|
9418
|
+
icon?: string | null;
|
|
8617
9419
|
id?: string;
|
|
8618
|
-
is_active?: boolean;
|
|
8619
9420
|
name: string;
|
|
9421
|
+
print_template?: string | null;
|
|
9422
|
+
printer_id?: string | null;
|
|
9423
|
+
priority?: number;
|
|
9424
|
+
report_key?: string | null;
|
|
8620
9425
|
sort_order?: number;
|
|
8621
9426
|
updated_at?: string;
|
|
9427
|
+
workflow?: import("./types").Json;
|
|
8622
9428
|
};
|
|
8623
9429
|
Update: {
|
|
8624
|
-
|
|
8625
|
-
|
|
8626
|
-
|
|
9430
|
+
active?: boolean;
|
|
9431
|
+
code?: string;
|
|
9432
|
+
color?: string | null;
|
|
9433
|
+
created_at?: string;
|
|
9434
|
+
description?: string | null;
|
|
9435
|
+
icon?: string | null;
|
|
9436
|
+
id?: string;
|
|
9437
|
+
name?: string;
|
|
9438
|
+
print_template?: string | null;
|
|
9439
|
+
printer_id?: string | null;
|
|
9440
|
+
priority?: number;
|
|
9441
|
+
report_key?: string | null;
|
|
9442
|
+
sort_order?: number;
|
|
9443
|
+
updated_at?: string;
|
|
9444
|
+
workflow?: import("./types").Json;
|
|
9445
|
+
};
|
|
9446
|
+
Relationships: [{
|
|
9447
|
+
foreignKeyName: "pick_document_types_printer_id_fkey";
|
|
9448
|
+
columns: ["printer_id"];
|
|
9449
|
+
isOneToOne: false;
|
|
9450
|
+
referencedRelation: "pick_station_printers";
|
|
9451
|
+
referencedColumns: ["id"];
|
|
9452
|
+
}];
|
|
9453
|
+
};
|
|
9454
|
+
pick_queue: {
|
|
9455
|
+
Row: {
|
|
9456
|
+
announced_at: string;
|
|
9457
|
+
assigned_user_id: string | null;
|
|
9458
|
+
barcode: string | null;
|
|
9459
|
+
cancelled_at: string | null;
|
|
9460
|
+
cart_count: number;
|
|
9461
|
+
completed_at: string | null;
|
|
9462
|
+
country_code: string | null;
|
|
9463
|
+
created_at: string;
|
|
9464
|
+
customer_name: string | null;
|
|
9465
|
+
delivery_address: string | null;
|
|
9466
|
+
document_number: string | null;
|
|
9467
|
+
document_type_id: string | null;
|
|
9468
|
+
due_at: string | null;
|
|
9469
|
+
id: string;
|
|
9470
|
+
is_urgent: boolean;
|
|
9471
|
+
line_count: number;
|
|
9472
|
+
order_number: string | null;
|
|
9473
|
+
order_type: string | null;
|
|
9474
|
+
payload: import("./types").Json;
|
|
9475
|
+
print_count: number;
|
|
9476
|
+
printed_at: string | null;
|
|
9477
|
+
printed_by: string | null;
|
|
9478
|
+
printer_id: string | null;
|
|
9479
|
+
priority: number;
|
|
9480
|
+
reference: string | null;
|
|
9481
|
+
route: string | null;
|
|
9482
|
+
screen_id: string | null;
|
|
9483
|
+
station_id: string | null;
|
|
9484
|
+
status_id: string | null;
|
|
9485
|
+
updated_at: string;
|
|
9486
|
+
warnings: import("./types").Json;
|
|
9487
|
+
};
|
|
9488
|
+
Insert: {
|
|
9489
|
+
announced_at?: string;
|
|
9490
|
+
assigned_user_id?: string | null;
|
|
9491
|
+
barcode?: string | null;
|
|
9492
|
+
cancelled_at?: string | null;
|
|
9493
|
+
cart_count?: number;
|
|
9494
|
+
completed_at?: string | null;
|
|
9495
|
+
country_code?: string | null;
|
|
9496
|
+
created_at?: string;
|
|
9497
|
+
customer_name?: string | null;
|
|
9498
|
+
delivery_address?: string | null;
|
|
9499
|
+
document_number?: string | null;
|
|
9500
|
+
document_type_id?: string | null;
|
|
9501
|
+
due_at?: string | null;
|
|
9502
|
+
id?: string;
|
|
9503
|
+
is_urgent?: boolean;
|
|
9504
|
+
line_count?: number;
|
|
9505
|
+
order_number?: string | null;
|
|
9506
|
+
order_type?: string | null;
|
|
9507
|
+
payload?: import("./types").Json;
|
|
9508
|
+
print_count?: number;
|
|
9509
|
+
printed_at?: string | null;
|
|
9510
|
+
printed_by?: string | null;
|
|
9511
|
+
printer_id?: string | null;
|
|
9512
|
+
priority?: number;
|
|
9513
|
+
reference?: string | null;
|
|
9514
|
+
route?: string | null;
|
|
9515
|
+
screen_id?: string | null;
|
|
9516
|
+
station_id?: string | null;
|
|
9517
|
+
status_id?: string | null;
|
|
9518
|
+
updated_at?: string;
|
|
9519
|
+
warnings?: import("./types").Json;
|
|
9520
|
+
};
|
|
9521
|
+
Update: {
|
|
9522
|
+
announced_at?: string;
|
|
9523
|
+
assigned_user_id?: string | null;
|
|
9524
|
+
barcode?: string | null;
|
|
9525
|
+
cancelled_at?: string | null;
|
|
9526
|
+
cart_count?: number;
|
|
9527
|
+
completed_at?: string | null;
|
|
9528
|
+
country_code?: string | null;
|
|
9529
|
+
created_at?: string;
|
|
9530
|
+
customer_name?: string | null;
|
|
9531
|
+
delivery_address?: string | null;
|
|
9532
|
+
document_number?: string | null;
|
|
9533
|
+
document_type_id?: string | null;
|
|
9534
|
+
due_at?: string | null;
|
|
9535
|
+
id?: string;
|
|
9536
|
+
is_urgent?: boolean;
|
|
9537
|
+
line_count?: number;
|
|
9538
|
+
order_number?: string | null;
|
|
9539
|
+
order_type?: string | null;
|
|
9540
|
+
payload?: import("./types").Json;
|
|
9541
|
+
print_count?: number;
|
|
9542
|
+
printed_at?: string | null;
|
|
9543
|
+
printed_by?: string | null;
|
|
9544
|
+
printer_id?: string | null;
|
|
9545
|
+
priority?: number;
|
|
9546
|
+
reference?: string | null;
|
|
9547
|
+
route?: string | null;
|
|
9548
|
+
screen_id?: string | null;
|
|
9549
|
+
station_id?: string | null;
|
|
9550
|
+
status_id?: string | null;
|
|
9551
|
+
updated_at?: string;
|
|
9552
|
+
warnings?: import("./types").Json;
|
|
9553
|
+
};
|
|
9554
|
+
Relationships: [{
|
|
9555
|
+
foreignKeyName: "pick_queue_document_type_id_fkey";
|
|
9556
|
+
columns: ["document_type_id"];
|
|
9557
|
+
isOneToOne: false;
|
|
9558
|
+
referencedRelation: "pick_document_types";
|
|
9559
|
+
referencedColumns: ["id"];
|
|
9560
|
+
}, {
|
|
9561
|
+
foreignKeyName: "pick_queue_printer_id_fkey";
|
|
9562
|
+
columns: ["printer_id"];
|
|
9563
|
+
isOneToOne: false;
|
|
9564
|
+
referencedRelation: "pick_station_printers";
|
|
9565
|
+
referencedColumns: ["id"];
|
|
9566
|
+
}, {
|
|
9567
|
+
foreignKeyName: "pick_queue_screen_id_fkey";
|
|
9568
|
+
columns: ["screen_id"];
|
|
9569
|
+
isOneToOne: false;
|
|
9570
|
+
referencedRelation: "pick_station_screens";
|
|
9571
|
+
referencedColumns: ["id"];
|
|
9572
|
+
}, {
|
|
9573
|
+
foreignKeyName: "pick_queue_station_id_fkey";
|
|
9574
|
+
columns: ["station_id"];
|
|
9575
|
+
isOneToOne: false;
|
|
9576
|
+
referencedRelation: "pick_stations";
|
|
9577
|
+
referencedColumns: ["id"];
|
|
9578
|
+
}, {
|
|
9579
|
+
foreignKeyName: "pick_queue_status_id_fkey";
|
|
9580
|
+
columns: ["status_id"];
|
|
9581
|
+
isOneToOne: false;
|
|
9582
|
+
referencedRelation: "pick_document_statuses";
|
|
9583
|
+
referencedColumns: ["id"];
|
|
9584
|
+
}];
|
|
9585
|
+
};
|
|
9586
|
+
pick_queue_locks: {
|
|
9587
|
+
Row: {
|
|
9588
|
+
expires_at: string;
|
|
9589
|
+
id: string;
|
|
9590
|
+
locked_at: string;
|
|
9591
|
+
locked_by: string | null;
|
|
9592
|
+
queue_item_id: string;
|
|
9593
|
+
screen_id: string | null;
|
|
9594
|
+
session_id: string | null;
|
|
9595
|
+
station_id: string | null;
|
|
9596
|
+
};
|
|
9597
|
+
Insert: {
|
|
9598
|
+
expires_at?: string;
|
|
9599
|
+
id?: string;
|
|
9600
|
+
locked_at?: string;
|
|
9601
|
+
locked_by?: string | null;
|
|
9602
|
+
queue_item_id: string;
|
|
9603
|
+
screen_id?: string | null;
|
|
9604
|
+
session_id?: string | null;
|
|
9605
|
+
station_id?: string | null;
|
|
9606
|
+
};
|
|
9607
|
+
Update: {
|
|
9608
|
+
expires_at?: string;
|
|
9609
|
+
id?: string;
|
|
9610
|
+
locked_at?: string;
|
|
9611
|
+
locked_by?: string | null;
|
|
9612
|
+
queue_item_id?: string;
|
|
9613
|
+
screen_id?: string | null;
|
|
9614
|
+
session_id?: string | null;
|
|
9615
|
+
station_id?: string | null;
|
|
9616
|
+
};
|
|
9617
|
+
Relationships: [{
|
|
9618
|
+
foreignKeyName: "pick_queue_locks_queue_item_id_fkey";
|
|
9619
|
+
columns: ["queue_item_id"];
|
|
9620
|
+
isOneToOne: true;
|
|
9621
|
+
referencedRelation: "pick_queue";
|
|
9622
|
+
referencedColumns: ["id"];
|
|
9623
|
+
}, {
|
|
9624
|
+
foreignKeyName: "pick_queue_locks_screen_id_fkey";
|
|
9625
|
+
columns: ["screen_id"];
|
|
9626
|
+
isOneToOne: false;
|
|
9627
|
+
referencedRelation: "pick_station_screens";
|
|
9628
|
+
referencedColumns: ["id"];
|
|
9629
|
+
}, {
|
|
9630
|
+
foreignKeyName: "pick_queue_locks_station_id_fkey";
|
|
9631
|
+
columns: ["station_id"];
|
|
9632
|
+
isOneToOne: false;
|
|
9633
|
+
referencedRelation: "pick_stations";
|
|
9634
|
+
referencedColumns: ["id"];
|
|
9635
|
+
}];
|
|
9636
|
+
};
|
|
9637
|
+
pick_screen_document_types: {
|
|
9638
|
+
Row: {
|
|
9639
|
+
created_at: string;
|
|
9640
|
+
document_type_id: string;
|
|
9641
|
+
id: string;
|
|
9642
|
+
print_order: number;
|
|
9643
|
+
printer_id: string | null;
|
|
9644
|
+
screen_id: string;
|
|
9645
|
+
};
|
|
9646
|
+
Insert: {
|
|
9647
|
+
created_at?: string;
|
|
9648
|
+
document_type_id: string;
|
|
9649
|
+
id?: string;
|
|
9650
|
+
print_order?: number;
|
|
9651
|
+
printer_id?: string | null;
|
|
9652
|
+
screen_id: string;
|
|
9653
|
+
};
|
|
9654
|
+
Update: {
|
|
9655
|
+
created_at?: string;
|
|
9656
|
+
document_type_id?: string;
|
|
9657
|
+
id?: string;
|
|
9658
|
+
print_order?: number;
|
|
9659
|
+
printer_id?: string | null;
|
|
9660
|
+
screen_id?: string;
|
|
9661
|
+
};
|
|
9662
|
+
Relationships: [{
|
|
9663
|
+
foreignKeyName: "pick_screen_document_types_document_type_id_fkey";
|
|
9664
|
+
columns: ["document_type_id"];
|
|
9665
|
+
isOneToOne: false;
|
|
9666
|
+
referencedRelation: "pick_document_types";
|
|
9667
|
+
referencedColumns: ["id"];
|
|
9668
|
+
}, {
|
|
9669
|
+
foreignKeyName: "pick_screen_document_types_printer_id_fkey";
|
|
9670
|
+
columns: ["printer_id"];
|
|
9671
|
+
isOneToOne: false;
|
|
9672
|
+
referencedRelation: "pick_station_printers";
|
|
9673
|
+
referencedColumns: ["id"];
|
|
9674
|
+
}, {
|
|
9675
|
+
foreignKeyName: "pick_screen_document_types_screen_id_fkey";
|
|
9676
|
+
columns: ["screen_id"];
|
|
9677
|
+
isOneToOne: false;
|
|
9678
|
+
referencedRelation: "pick_station_screens";
|
|
9679
|
+
referencedColumns: ["id"];
|
|
9680
|
+
}];
|
|
9681
|
+
};
|
|
9682
|
+
pick_station_heartbeats: {
|
|
9683
|
+
Row: {
|
|
9684
|
+
browser: string | null;
|
|
9685
|
+
created_at: string;
|
|
9686
|
+
id: string;
|
|
9687
|
+
ip_address: string | null;
|
|
9688
|
+
last_seen_at: string;
|
|
9689
|
+
screen_id: string | null;
|
|
9690
|
+
session_id: string;
|
|
9691
|
+
station_id: string;
|
|
9692
|
+
user_id: string | null;
|
|
9693
|
+
};
|
|
9694
|
+
Insert: {
|
|
9695
|
+
browser?: string | null;
|
|
9696
|
+
created_at?: string;
|
|
9697
|
+
id?: string;
|
|
9698
|
+
ip_address?: string | null;
|
|
9699
|
+
last_seen_at?: string;
|
|
9700
|
+
screen_id?: string | null;
|
|
9701
|
+
session_id: string;
|
|
9702
|
+
station_id: string;
|
|
9703
|
+
user_id?: string | null;
|
|
9704
|
+
};
|
|
9705
|
+
Update: {
|
|
9706
|
+
browser?: string | null;
|
|
9707
|
+
created_at?: string;
|
|
9708
|
+
id?: string;
|
|
9709
|
+
ip_address?: string | null;
|
|
9710
|
+
last_seen_at?: string;
|
|
9711
|
+
screen_id?: string | null;
|
|
9712
|
+
session_id?: string;
|
|
9713
|
+
station_id?: string;
|
|
9714
|
+
user_id?: string | null;
|
|
9715
|
+
};
|
|
9716
|
+
Relationships: [{
|
|
9717
|
+
foreignKeyName: "pick_station_heartbeats_screen_id_fkey";
|
|
9718
|
+
columns: ["screen_id"];
|
|
9719
|
+
isOneToOne: false;
|
|
9720
|
+
referencedRelation: "pick_station_screens";
|
|
9721
|
+
referencedColumns: ["id"];
|
|
9722
|
+
}, {
|
|
9723
|
+
foreignKeyName: "pick_station_heartbeats_station_id_fkey";
|
|
9724
|
+
columns: ["station_id"];
|
|
9725
|
+
isOneToOne: false;
|
|
9726
|
+
referencedRelation: "pick_stations";
|
|
9727
|
+
referencedColumns: ["id"];
|
|
9728
|
+
}];
|
|
9729
|
+
};
|
|
9730
|
+
pick_station_history: {
|
|
9731
|
+
Row: {
|
|
9732
|
+
action: string;
|
|
9733
|
+
changed_by: string | null;
|
|
9734
|
+
created_at: string;
|
|
9735
|
+
entity_id: string;
|
|
9736
|
+
entity_table: string;
|
|
9737
|
+
id: string;
|
|
9738
|
+
new_data: import("./types").Json | null;
|
|
9739
|
+
old_data: import("./types").Json | null;
|
|
9740
|
+
};
|
|
9741
|
+
Insert: {
|
|
9742
|
+
action: string;
|
|
9743
|
+
changed_by?: string | null;
|
|
9744
|
+
created_at?: string;
|
|
9745
|
+
entity_id: string;
|
|
9746
|
+
entity_table: string;
|
|
9747
|
+
id?: string;
|
|
9748
|
+
new_data?: import("./types").Json | null;
|
|
9749
|
+
old_data?: import("./types").Json | null;
|
|
9750
|
+
};
|
|
9751
|
+
Update: {
|
|
9752
|
+
action?: string;
|
|
9753
|
+
changed_by?: string | null;
|
|
9754
|
+
created_at?: string;
|
|
9755
|
+
entity_id?: string;
|
|
9756
|
+
entity_table?: string;
|
|
9757
|
+
id?: string;
|
|
9758
|
+
new_data?: import("./types").Json | null;
|
|
9759
|
+
old_data?: import("./types").Json | null;
|
|
9760
|
+
};
|
|
9761
|
+
Relationships: [];
|
|
9762
|
+
};
|
|
9763
|
+
pick_station_logs: {
|
|
9764
|
+
Row: {
|
|
9765
|
+
action: string;
|
|
9766
|
+
browser: string | null;
|
|
9767
|
+
created_at: string;
|
|
9768
|
+
detail: import("./types").Json;
|
|
9769
|
+
duration_ms: number | null;
|
|
9770
|
+
id: string;
|
|
9771
|
+
ip_address: string | null;
|
|
9772
|
+
printer_id: string | null;
|
|
9773
|
+
queue_item_id: string | null;
|
|
9774
|
+
screen_id: string | null;
|
|
9775
|
+
session_id: string | null;
|
|
9776
|
+
station_id: string | null;
|
|
9777
|
+
user_id: string | null;
|
|
9778
|
+
};
|
|
9779
|
+
Insert: {
|
|
9780
|
+
action: string;
|
|
9781
|
+
browser?: string | null;
|
|
9782
|
+
created_at?: string;
|
|
9783
|
+
detail?: import("./types").Json;
|
|
9784
|
+
duration_ms?: number | null;
|
|
9785
|
+
id?: string;
|
|
9786
|
+
ip_address?: string | null;
|
|
9787
|
+
printer_id?: string | null;
|
|
9788
|
+
queue_item_id?: string | null;
|
|
9789
|
+
screen_id?: string | null;
|
|
9790
|
+
session_id?: string | null;
|
|
9791
|
+
station_id?: string | null;
|
|
9792
|
+
user_id?: string | null;
|
|
9793
|
+
};
|
|
9794
|
+
Update: {
|
|
9795
|
+
action?: string;
|
|
9796
|
+
browser?: string | null;
|
|
9797
|
+
created_at?: string;
|
|
9798
|
+
detail?: import("./types").Json;
|
|
9799
|
+
duration_ms?: number | null;
|
|
9800
|
+
id?: string;
|
|
9801
|
+
ip_address?: string | null;
|
|
9802
|
+
printer_id?: string | null;
|
|
9803
|
+
queue_item_id?: string | null;
|
|
9804
|
+
screen_id?: string | null;
|
|
9805
|
+
session_id?: string | null;
|
|
9806
|
+
station_id?: string | null;
|
|
9807
|
+
user_id?: string | null;
|
|
9808
|
+
};
|
|
9809
|
+
Relationships: [];
|
|
9810
|
+
};
|
|
9811
|
+
pick_station_permissions: {
|
|
9812
|
+
Row: {
|
|
9813
|
+
can_break_lock: boolean;
|
|
9814
|
+
can_cancel: boolean;
|
|
9815
|
+
can_print: boolean;
|
|
9816
|
+
can_reprint: boolean;
|
|
9817
|
+
country_code: string | null;
|
|
9818
|
+
created_at: string;
|
|
9819
|
+
id: string;
|
|
9820
|
+
station_id: string | null;
|
|
9821
|
+
task_id: string | null;
|
|
9822
|
+
updated_at: string;
|
|
9823
|
+
urgent_only: boolean;
|
|
9824
|
+
user_id: string;
|
|
9825
|
+
};
|
|
9826
|
+
Insert: {
|
|
9827
|
+
can_break_lock?: boolean;
|
|
9828
|
+
can_cancel?: boolean;
|
|
9829
|
+
can_print?: boolean;
|
|
9830
|
+
can_reprint?: boolean;
|
|
9831
|
+
country_code?: string | null;
|
|
9832
|
+
created_at?: string;
|
|
9833
|
+
id?: string;
|
|
9834
|
+
station_id?: string | null;
|
|
9835
|
+
task_id?: string | null;
|
|
9836
|
+
updated_at?: string;
|
|
9837
|
+
urgent_only?: boolean;
|
|
9838
|
+
user_id: string;
|
|
9839
|
+
};
|
|
9840
|
+
Update: {
|
|
9841
|
+
can_break_lock?: boolean;
|
|
9842
|
+
can_cancel?: boolean;
|
|
9843
|
+
can_print?: boolean;
|
|
9844
|
+
can_reprint?: boolean;
|
|
9845
|
+
country_code?: string | null;
|
|
9846
|
+
created_at?: string;
|
|
9847
|
+
id?: string;
|
|
9848
|
+
station_id?: string | null;
|
|
9849
|
+
task_id?: string | null;
|
|
9850
|
+
updated_at?: string;
|
|
9851
|
+
urgent_only?: boolean;
|
|
9852
|
+
user_id?: string;
|
|
9853
|
+
};
|
|
9854
|
+
Relationships: [{
|
|
9855
|
+
foreignKeyName: "pick_station_permissions_station_id_fkey";
|
|
9856
|
+
columns: ["station_id"];
|
|
9857
|
+
isOneToOne: false;
|
|
9858
|
+
referencedRelation: "pick_stations";
|
|
9859
|
+
referencedColumns: ["id"];
|
|
9860
|
+
}, {
|
|
9861
|
+
foreignKeyName: "pick_station_permissions_task_id_fkey";
|
|
9862
|
+
columns: ["task_id"];
|
|
9863
|
+
isOneToOne: false;
|
|
9864
|
+
referencedRelation: "pick_station_tasks";
|
|
9865
|
+
referencedColumns: ["id"];
|
|
9866
|
+
}];
|
|
9867
|
+
};
|
|
9868
|
+
pick_station_printers: {
|
|
9869
|
+
Row: {
|
|
9870
|
+
active: boolean;
|
|
9871
|
+
code: string | null;
|
|
9872
|
+
config: import("./types").Json;
|
|
9873
|
+
connection: string | null;
|
|
9874
|
+
created_at: string;
|
|
9875
|
+
id: string;
|
|
9876
|
+
last_seen_at: string | null;
|
|
9877
|
+
location: string | null;
|
|
9878
|
+
name: string;
|
|
9879
|
+
status: string;
|
|
9880
|
+
status_message: string | null;
|
|
9881
|
+
target: string | null;
|
|
9882
|
+
updated_at: string;
|
|
9883
|
+
};
|
|
9884
|
+
Insert: {
|
|
9885
|
+
active?: boolean;
|
|
9886
|
+
code?: string | null;
|
|
9887
|
+
config?: import("./types").Json;
|
|
9888
|
+
connection?: string | null;
|
|
9889
|
+
created_at?: string;
|
|
9890
|
+
id?: string;
|
|
9891
|
+
last_seen_at?: string | null;
|
|
9892
|
+
location?: string | null;
|
|
9893
|
+
name: string;
|
|
9894
|
+
status?: string;
|
|
9895
|
+
status_message?: string | null;
|
|
9896
|
+
target?: string | null;
|
|
9897
|
+
updated_at?: string;
|
|
9898
|
+
};
|
|
9899
|
+
Update: {
|
|
9900
|
+
active?: boolean;
|
|
9901
|
+
code?: string | null;
|
|
9902
|
+
config?: import("./types").Json;
|
|
9903
|
+
connection?: string | null;
|
|
9904
|
+
created_at?: string;
|
|
9905
|
+
id?: string;
|
|
9906
|
+
last_seen_at?: string | null;
|
|
9907
|
+
location?: string | null;
|
|
9908
|
+
name?: string;
|
|
9909
|
+
status?: string;
|
|
9910
|
+
status_message?: string | null;
|
|
9911
|
+
target?: string | null;
|
|
9912
|
+
updated_at?: string;
|
|
9913
|
+
};
|
|
9914
|
+
Relationships: [];
|
|
9915
|
+
};
|
|
9916
|
+
pick_station_screens: {
|
|
9917
|
+
Row: {
|
|
9918
|
+
active: boolean;
|
|
9919
|
+
config: import("./types").Json;
|
|
9920
|
+
created_at: string;
|
|
9921
|
+
description: string | null;
|
|
9922
|
+
filters: import("./types").Json;
|
|
9923
|
+
id: string;
|
|
9924
|
+
name: string;
|
|
9925
|
+
printer_id: string | null;
|
|
9926
|
+
screen_type: string;
|
|
9927
|
+
sort_order: number;
|
|
9928
|
+
sort_rules: import("./types").Json | null;
|
|
9929
|
+
station_id: string;
|
|
9930
|
+
updated_at: string;
|
|
9931
|
+
};
|
|
9932
|
+
Insert: {
|
|
9933
|
+
active?: boolean;
|
|
9934
|
+
config?: import("./types").Json;
|
|
9935
|
+
created_at?: string;
|
|
9936
|
+
description?: string | null;
|
|
9937
|
+
filters?: import("./types").Json;
|
|
9938
|
+
id?: string;
|
|
9939
|
+
name: string;
|
|
9940
|
+
printer_id?: string | null;
|
|
9941
|
+
screen_type?: string;
|
|
9942
|
+
sort_order?: number;
|
|
9943
|
+
sort_rules?: import("./types").Json | null;
|
|
9944
|
+
station_id: string;
|
|
9945
|
+
updated_at?: string;
|
|
9946
|
+
};
|
|
9947
|
+
Update: {
|
|
9948
|
+
active?: boolean;
|
|
9949
|
+
config?: import("./types").Json;
|
|
9950
|
+
created_at?: string;
|
|
9951
|
+
description?: string | null;
|
|
9952
|
+
filters?: import("./types").Json;
|
|
9953
|
+
id?: string;
|
|
9954
|
+
name?: string;
|
|
9955
|
+
printer_id?: string | null;
|
|
9956
|
+
screen_type?: string;
|
|
9957
|
+
sort_order?: number;
|
|
9958
|
+
sort_rules?: import("./types").Json | null;
|
|
9959
|
+
station_id?: string;
|
|
9960
|
+
updated_at?: string;
|
|
9961
|
+
};
|
|
9962
|
+
Relationships: [{
|
|
9963
|
+
foreignKeyName: "pick_station_screens_printer_id_fkey";
|
|
9964
|
+
columns: ["printer_id"];
|
|
9965
|
+
isOneToOne: false;
|
|
9966
|
+
referencedRelation: "pick_station_printers";
|
|
9967
|
+
referencedColumns: ["id"];
|
|
9968
|
+
}, {
|
|
9969
|
+
foreignKeyName: "pick_station_screens_station_id_fkey";
|
|
9970
|
+
columns: ["station_id"];
|
|
9971
|
+
isOneToOne: false;
|
|
9972
|
+
referencedRelation: "pick_stations";
|
|
9973
|
+
referencedColumns: ["id"];
|
|
9974
|
+
}];
|
|
9975
|
+
};
|
|
9976
|
+
pick_station_tasks: {
|
|
9977
|
+
Row: {
|
|
9978
|
+
active: boolean;
|
|
9979
|
+
code: string;
|
|
9980
|
+
color: string | null;
|
|
9981
|
+
created_at: string;
|
|
9982
|
+
description: string | null;
|
|
9983
|
+
icon: string | null;
|
|
9984
|
+
id: string;
|
|
9985
|
+
name: string;
|
|
9986
|
+
sort_order: number;
|
|
9987
|
+
updated_at: string;
|
|
9988
|
+
workflow: import("./types").Json;
|
|
9989
|
+
};
|
|
9990
|
+
Insert: {
|
|
9991
|
+
active?: boolean;
|
|
9992
|
+
code: string;
|
|
9993
|
+
color?: string | null;
|
|
9994
|
+
created_at?: string;
|
|
9995
|
+
description?: string | null;
|
|
9996
|
+
icon?: string | null;
|
|
9997
|
+
id?: string;
|
|
9998
|
+
name: string;
|
|
9999
|
+
sort_order?: number;
|
|
10000
|
+
updated_at?: string;
|
|
10001
|
+
workflow?: import("./types").Json;
|
|
10002
|
+
};
|
|
10003
|
+
Update: {
|
|
10004
|
+
active?: boolean;
|
|
10005
|
+
code?: string;
|
|
10006
|
+
color?: string | null;
|
|
10007
|
+
created_at?: string;
|
|
10008
|
+
description?: string | null;
|
|
10009
|
+
icon?: string | null;
|
|
10010
|
+
id?: string;
|
|
10011
|
+
name?: string;
|
|
10012
|
+
sort_order?: number;
|
|
10013
|
+
updated_at?: string;
|
|
10014
|
+
workflow?: import("./types").Json;
|
|
10015
|
+
};
|
|
10016
|
+
Relationships: [];
|
|
10017
|
+
};
|
|
10018
|
+
pick_station_types: {
|
|
10019
|
+
Row: {
|
|
10020
|
+
active: boolean;
|
|
10021
|
+
code: string;
|
|
10022
|
+
color: string | null;
|
|
10023
|
+
created_at: string;
|
|
10024
|
+
description: string | null;
|
|
10025
|
+
icon: string | null;
|
|
10026
|
+
id: string;
|
|
10027
|
+
name: string;
|
|
10028
|
+
sort_order: number;
|
|
10029
|
+
updated_at: string;
|
|
10030
|
+
};
|
|
10031
|
+
Insert: {
|
|
10032
|
+
active?: boolean;
|
|
10033
|
+
code: string;
|
|
10034
|
+
color?: string | null;
|
|
10035
|
+
created_at?: string;
|
|
10036
|
+
description?: string | null;
|
|
10037
|
+
icon?: string | null;
|
|
10038
|
+
id?: string;
|
|
10039
|
+
name: string;
|
|
10040
|
+
sort_order?: number;
|
|
10041
|
+
updated_at?: string;
|
|
10042
|
+
};
|
|
10043
|
+
Update: {
|
|
10044
|
+
active?: boolean;
|
|
10045
|
+
code?: string;
|
|
10046
|
+
color?: string | null;
|
|
10047
|
+
created_at?: string;
|
|
10048
|
+
description?: string | null;
|
|
10049
|
+
icon?: string | null;
|
|
10050
|
+
id?: string;
|
|
10051
|
+
name?: string;
|
|
10052
|
+
sort_order?: number;
|
|
10053
|
+
updated_at?: string;
|
|
10054
|
+
};
|
|
10055
|
+
Relationships: [];
|
|
10056
|
+
};
|
|
10057
|
+
pick_station_users: {
|
|
10058
|
+
Row: {
|
|
10059
|
+
active: boolean;
|
|
10060
|
+
created_at: string;
|
|
10061
|
+
id: string;
|
|
10062
|
+
station_id: string;
|
|
10063
|
+
user_id: string;
|
|
10064
|
+
};
|
|
10065
|
+
Insert: {
|
|
10066
|
+
active?: boolean;
|
|
10067
|
+
created_at?: string;
|
|
10068
|
+
id?: string;
|
|
10069
|
+
station_id: string;
|
|
10070
|
+
user_id: string;
|
|
10071
|
+
};
|
|
10072
|
+
Update: {
|
|
10073
|
+
active?: boolean;
|
|
10074
|
+
created_at?: string;
|
|
10075
|
+
id?: string;
|
|
10076
|
+
station_id?: string;
|
|
10077
|
+
user_id?: string;
|
|
10078
|
+
};
|
|
10079
|
+
Relationships: [{
|
|
10080
|
+
foreignKeyName: "pick_station_users_station_id_fkey";
|
|
10081
|
+
columns: ["station_id"];
|
|
10082
|
+
isOneToOne: false;
|
|
10083
|
+
referencedRelation: "pick_stations";
|
|
10084
|
+
referencedColumns: ["id"];
|
|
10085
|
+
}];
|
|
10086
|
+
};
|
|
10087
|
+
pick_stations: {
|
|
10088
|
+
Row: {
|
|
10089
|
+
active: boolean;
|
|
10090
|
+
allow_multi_screen: boolean;
|
|
10091
|
+
color: string | null;
|
|
10092
|
+
created_at: string;
|
|
10093
|
+
default_printer_id: string | null;
|
|
10094
|
+
department: string | null;
|
|
10095
|
+
description: string | null;
|
|
10096
|
+
icon: string | null;
|
|
10097
|
+
id: string;
|
|
10098
|
+
location: string | null;
|
|
10099
|
+
lock_timeout_seconds: number;
|
|
10100
|
+
name: string;
|
|
10101
|
+
require_country_selection: boolean;
|
|
10102
|
+
sort_order: number;
|
|
10103
|
+
sort_rules: import("./types").Json;
|
|
10104
|
+
task_id: string | null;
|
|
10105
|
+
type_id: string | null;
|
|
10106
|
+
updated_at: string;
|
|
10107
|
+
};
|
|
10108
|
+
Insert: {
|
|
10109
|
+
active?: boolean;
|
|
10110
|
+
allow_multi_screen?: boolean;
|
|
10111
|
+
color?: string | null;
|
|
10112
|
+
created_at?: string;
|
|
10113
|
+
default_printer_id?: string | null;
|
|
10114
|
+
department?: string | null;
|
|
10115
|
+
description?: string | null;
|
|
10116
|
+
icon?: string | null;
|
|
10117
|
+
id?: string;
|
|
10118
|
+
location?: string | null;
|
|
10119
|
+
lock_timeout_seconds?: number;
|
|
10120
|
+
name: string;
|
|
10121
|
+
require_country_selection?: boolean;
|
|
10122
|
+
sort_order?: number;
|
|
10123
|
+
sort_rules?: import("./types").Json;
|
|
10124
|
+
task_id?: string | null;
|
|
10125
|
+
type_id?: string | null;
|
|
10126
|
+
updated_at?: string;
|
|
10127
|
+
};
|
|
10128
|
+
Update: {
|
|
10129
|
+
active?: boolean;
|
|
10130
|
+
allow_multi_screen?: boolean;
|
|
10131
|
+
color?: string | null;
|
|
10132
|
+
created_at?: string;
|
|
10133
|
+
default_printer_id?: string | null;
|
|
10134
|
+
department?: string | null;
|
|
10135
|
+
description?: string | null;
|
|
10136
|
+
icon?: string | null;
|
|
10137
|
+
id?: string;
|
|
10138
|
+
location?: string | null;
|
|
10139
|
+
lock_timeout_seconds?: number;
|
|
10140
|
+
name?: string;
|
|
10141
|
+
require_country_selection?: boolean;
|
|
10142
|
+
sort_order?: number;
|
|
10143
|
+
sort_rules?: import("./types").Json;
|
|
10144
|
+
task_id?: string | null;
|
|
10145
|
+
type_id?: string | null;
|
|
10146
|
+
updated_at?: string;
|
|
10147
|
+
};
|
|
10148
|
+
Relationships: [{
|
|
10149
|
+
foreignKeyName: "pick_stations_default_printer_id_fkey";
|
|
10150
|
+
columns: ["default_printer_id"];
|
|
10151
|
+
isOneToOne: false;
|
|
10152
|
+
referencedRelation: "pick_station_printers";
|
|
10153
|
+
referencedColumns: ["id"];
|
|
10154
|
+
}, {
|
|
10155
|
+
foreignKeyName: "pick_stations_task_id_fkey";
|
|
10156
|
+
columns: ["task_id"];
|
|
10157
|
+
isOneToOne: false;
|
|
10158
|
+
referencedRelation: "pick_station_tasks";
|
|
10159
|
+
referencedColumns: ["id"];
|
|
10160
|
+
}, {
|
|
10161
|
+
foreignKeyName: "pick_stations_type_id_fkey";
|
|
10162
|
+
columns: ["type_id"];
|
|
10163
|
+
isOneToOne: false;
|
|
10164
|
+
referencedRelation: "pick_station_types";
|
|
10165
|
+
referencedColumns: ["id"];
|
|
10166
|
+
}];
|
|
10167
|
+
};
|
|
10168
|
+
pick_task_document_types: {
|
|
10169
|
+
Row: {
|
|
10170
|
+
created_at: string;
|
|
10171
|
+
document_type_id: string;
|
|
10172
|
+
id: string;
|
|
10173
|
+
task_id: string;
|
|
10174
|
+
};
|
|
10175
|
+
Insert: {
|
|
10176
|
+
created_at?: string;
|
|
10177
|
+
document_type_id: string;
|
|
10178
|
+
id?: string;
|
|
10179
|
+
task_id: string;
|
|
10180
|
+
};
|
|
10181
|
+
Update: {
|
|
10182
|
+
created_at?: string;
|
|
10183
|
+
document_type_id?: string;
|
|
10184
|
+
id?: string;
|
|
10185
|
+
task_id?: string;
|
|
10186
|
+
};
|
|
10187
|
+
Relationships: [{
|
|
10188
|
+
foreignKeyName: "pick_task_document_types_document_type_id_fkey";
|
|
10189
|
+
columns: ["document_type_id"];
|
|
10190
|
+
isOneToOne: false;
|
|
10191
|
+
referencedRelation: "pick_document_types";
|
|
10192
|
+
referencedColumns: ["id"];
|
|
10193
|
+
}, {
|
|
10194
|
+
foreignKeyName: "pick_task_document_types_task_id_fkey";
|
|
10195
|
+
columns: ["task_id"];
|
|
10196
|
+
isOneToOne: false;
|
|
10197
|
+
referencedRelation: "pick_station_tasks";
|
|
10198
|
+
referencedColumns: ["id"];
|
|
10199
|
+
}];
|
|
10200
|
+
};
|
|
10201
|
+
pickstation_print_log: {
|
|
10202
|
+
Row: {
|
|
10203
|
+
customer_name: string | null;
|
|
10204
|
+
documents: string[];
|
|
10205
|
+
id: string;
|
|
10206
|
+
ip_address: string | null;
|
|
10207
|
+
order_id: string;
|
|
10208
|
+
order_number: string | null;
|
|
10209
|
+
printed_at: string;
|
|
10210
|
+
};
|
|
10211
|
+
Insert: {
|
|
10212
|
+
customer_name?: string | null;
|
|
10213
|
+
documents?: string[];
|
|
10214
|
+
id?: string;
|
|
10215
|
+
ip_address?: string | null;
|
|
10216
|
+
order_id: string;
|
|
10217
|
+
order_number?: string | null;
|
|
10218
|
+
printed_at?: string;
|
|
10219
|
+
};
|
|
10220
|
+
Update: {
|
|
10221
|
+
customer_name?: string | null;
|
|
10222
|
+
documents?: string[];
|
|
10223
|
+
id?: string;
|
|
10224
|
+
ip_address?: string | null;
|
|
10225
|
+
order_id?: string;
|
|
10226
|
+
order_number?: string | null;
|
|
10227
|
+
printed_at?: string;
|
|
10228
|
+
};
|
|
10229
|
+
Relationships: [];
|
|
10230
|
+
};
|
|
10231
|
+
pipeline_settings: {
|
|
10232
|
+
Row: {
|
|
10233
|
+
created_at: string;
|
|
10234
|
+
id: string;
|
|
10235
|
+
key: string;
|
|
10236
|
+
updated_at: string;
|
|
10237
|
+
value: string | null;
|
|
10238
|
+
};
|
|
10239
|
+
Insert: {
|
|
10240
|
+
created_at?: string;
|
|
10241
|
+
id?: string;
|
|
10242
|
+
key: string;
|
|
10243
|
+
updated_at?: string;
|
|
10244
|
+
value?: string | null;
|
|
10245
|
+
};
|
|
10246
|
+
Update: {
|
|
10247
|
+
created_at?: string;
|
|
10248
|
+
id?: string;
|
|
10249
|
+
key?: string;
|
|
10250
|
+
updated_at?: string;
|
|
10251
|
+
value?: string | null;
|
|
10252
|
+
};
|
|
10253
|
+
Relationships: [];
|
|
10254
|
+
};
|
|
10255
|
+
pipeline_stages: {
|
|
10256
|
+
Row: {
|
|
10257
|
+
automation_type: string;
|
|
10258
|
+
color: string;
|
|
10259
|
+
created_at: string;
|
|
10260
|
+
id: string;
|
|
10261
|
+
is_active: boolean;
|
|
10262
|
+
name: string;
|
|
10263
|
+
sort_order: number;
|
|
10264
|
+
updated_at: string;
|
|
10265
|
+
};
|
|
10266
|
+
Insert: {
|
|
10267
|
+
automation_type?: string;
|
|
10268
|
+
color?: string;
|
|
10269
|
+
created_at?: string;
|
|
10270
|
+
id?: string;
|
|
10271
|
+
is_active?: boolean;
|
|
10272
|
+
name: string;
|
|
10273
|
+
sort_order?: number;
|
|
10274
|
+
updated_at?: string;
|
|
10275
|
+
};
|
|
10276
|
+
Update: {
|
|
10277
|
+
automation_type?: string;
|
|
10278
|
+
color?: string;
|
|
10279
|
+
created_at?: string;
|
|
8627
10280
|
id?: string;
|
|
8628
10281
|
is_active?: boolean;
|
|
8629
10282
|
name?: string;
|
|
@@ -8704,6 +10357,321 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8704
10357
|
referencedColumns: ["id"];
|
|
8705
10358
|
}];
|
|
8706
10359
|
};
|
|
10360
|
+
print_job_logs: {
|
|
10361
|
+
Row: {
|
|
10362
|
+
created_at: string;
|
|
10363
|
+
detail: string;
|
|
10364
|
+
gebeurtenis: string;
|
|
10365
|
+
id: string;
|
|
10366
|
+
job_id: string;
|
|
10367
|
+
};
|
|
10368
|
+
Insert: {
|
|
10369
|
+
created_at?: string;
|
|
10370
|
+
detail?: string;
|
|
10371
|
+
gebeurtenis: string;
|
|
10372
|
+
id?: string;
|
|
10373
|
+
job_id: string;
|
|
10374
|
+
};
|
|
10375
|
+
Update: {
|
|
10376
|
+
created_at?: string;
|
|
10377
|
+
detail?: string;
|
|
10378
|
+
gebeurtenis?: string;
|
|
10379
|
+
id?: string;
|
|
10380
|
+
job_id?: string;
|
|
10381
|
+
};
|
|
10382
|
+
Relationships: [{
|
|
10383
|
+
foreignKeyName: "print_job_logs_job_id_fkey";
|
|
10384
|
+
columns: ["job_id"];
|
|
10385
|
+
isOneToOne: false;
|
|
10386
|
+
referencedRelation: "print_jobs";
|
|
10387
|
+
referencedColumns: ["id"];
|
|
10388
|
+
}];
|
|
10389
|
+
};
|
|
10390
|
+
print_jobs: {
|
|
10391
|
+
Row: {
|
|
10392
|
+
bron_job_id: string | null;
|
|
10393
|
+
created_at: string;
|
|
10394
|
+
documentnaam: string;
|
|
10395
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
10396
|
+
foutmelding: string | null;
|
|
10397
|
+
gebruiker_id: string | null;
|
|
10398
|
+
gebruiker_naam: string;
|
|
10399
|
+
gestart_op: string | null;
|
|
10400
|
+
id: string;
|
|
10401
|
+
is_herprint: boolean;
|
|
10402
|
+
kopieen: number;
|
|
10403
|
+
layout_id: string | null;
|
|
10404
|
+
paginas: number;
|
|
10405
|
+
payload: import("./types").Json;
|
|
10406
|
+
printer_id: string | null;
|
|
10407
|
+
status: Database["public"]["Enums"]["print_job_status"];
|
|
10408
|
+
updated_at: string;
|
|
10409
|
+
voltooid_op: string | null;
|
|
10410
|
+
};
|
|
10411
|
+
Insert: {
|
|
10412
|
+
bron_job_id?: string | null;
|
|
10413
|
+
created_at?: string;
|
|
10414
|
+
documentnaam?: string;
|
|
10415
|
+
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
10416
|
+
foutmelding?: string | null;
|
|
10417
|
+
gebruiker_id?: string | null;
|
|
10418
|
+
gebruiker_naam?: string;
|
|
10419
|
+
gestart_op?: string | null;
|
|
10420
|
+
id?: string;
|
|
10421
|
+
is_herprint?: boolean;
|
|
10422
|
+
kopieen?: number;
|
|
10423
|
+
layout_id?: string | null;
|
|
10424
|
+
paginas?: number;
|
|
10425
|
+
payload?: import("./types").Json;
|
|
10426
|
+
printer_id?: string | null;
|
|
10427
|
+
status?: Database["public"]["Enums"]["print_job_status"];
|
|
10428
|
+
updated_at?: string;
|
|
10429
|
+
voltooid_op?: string | null;
|
|
10430
|
+
};
|
|
10431
|
+
Update: {
|
|
10432
|
+
bron_job_id?: string | null;
|
|
10433
|
+
created_at?: string;
|
|
10434
|
+
documentnaam?: string;
|
|
10435
|
+
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
10436
|
+
foutmelding?: string | null;
|
|
10437
|
+
gebruiker_id?: string | null;
|
|
10438
|
+
gebruiker_naam?: string;
|
|
10439
|
+
gestart_op?: string | null;
|
|
10440
|
+
id?: string;
|
|
10441
|
+
is_herprint?: boolean;
|
|
10442
|
+
kopieen?: number;
|
|
10443
|
+
layout_id?: string | null;
|
|
10444
|
+
paginas?: number;
|
|
10445
|
+
payload?: import("./types").Json;
|
|
10446
|
+
printer_id?: string | null;
|
|
10447
|
+
status?: Database["public"]["Enums"]["print_job_status"];
|
|
10448
|
+
updated_at?: string;
|
|
10449
|
+
voltooid_op?: string | null;
|
|
10450
|
+
};
|
|
10451
|
+
Relationships: [{
|
|
10452
|
+
foreignKeyName: "print_jobs_layout_id_fkey";
|
|
10453
|
+
columns: ["layout_id"];
|
|
10454
|
+
isOneToOne: false;
|
|
10455
|
+
referencedRelation: "document_layouts";
|
|
10456
|
+
referencedColumns: ["id"];
|
|
10457
|
+
}, {
|
|
10458
|
+
foreignKeyName: "print_jobs_printer_id_fkey";
|
|
10459
|
+
columns: ["printer_id"];
|
|
10460
|
+
isOneToOne: false;
|
|
10461
|
+
referencedRelation: "printers";
|
|
10462
|
+
referencedColumns: ["id"];
|
|
10463
|
+
}];
|
|
10464
|
+
};
|
|
10465
|
+
print_rules: {
|
|
10466
|
+
Row: {
|
|
10467
|
+
actief: boolean;
|
|
10468
|
+
alleen_eerste_keer: boolean;
|
|
10469
|
+
conditie: import("./types").Json;
|
|
10470
|
+
created_at: string;
|
|
10471
|
+
id: string;
|
|
10472
|
+
kopieen: number;
|
|
10473
|
+
layout_id: string;
|
|
10474
|
+
naam: string;
|
|
10475
|
+
printer_id: string | null;
|
|
10476
|
+
updated_at: string;
|
|
10477
|
+
volgorde: number;
|
|
10478
|
+
};
|
|
10479
|
+
Insert: {
|
|
10480
|
+
actief?: boolean;
|
|
10481
|
+
alleen_eerste_keer?: boolean;
|
|
10482
|
+
conditie?: import("./types").Json;
|
|
10483
|
+
created_at?: string;
|
|
10484
|
+
id?: string;
|
|
10485
|
+
kopieen?: number;
|
|
10486
|
+
layout_id: string;
|
|
10487
|
+
naam?: string;
|
|
10488
|
+
printer_id?: string | null;
|
|
10489
|
+
updated_at?: string;
|
|
10490
|
+
volgorde?: number;
|
|
10491
|
+
};
|
|
10492
|
+
Update: {
|
|
10493
|
+
actief?: boolean;
|
|
10494
|
+
alleen_eerste_keer?: boolean;
|
|
10495
|
+
conditie?: import("./types").Json;
|
|
10496
|
+
created_at?: string;
|
|
10497
|
+
id?: string;
|
|
10498
|
+
kopieen?: number;
|
|
10499
|
+
layout_id?: string;
|
|
10500
|
+
naam?: string;
|
|
10501
|
+
printer_id?: string | null;
|
|
10502
|
+
updated_at?: string;
|
|
10503
|
+
volgorde?: number;
|
|
10504
|
+
};
|
|
10505
|
+
Relationships: [{
|
|
10506
|
+
foreignKeyName: "print_rules_layout_id_fkey";
|
|
10507
|
+
columns: ["layout_id"];
|
|
10508
|
+
isOneToOne: false;
|
|
10509
|
+
referencedRelation: "document_layouts";
|
|
10510
|
+
referencedColumns: ["id"];
|
|
10511
|
+
}, {
|
|
10512
|
+
foreignKeyName: "print_rules_printer_id_fkey";
|
|
10513
|
+
columns: ["printer_id"];
|
|
10514
|
+
isOneToOne: false;
|
|
10515
|
+
referencedRelation: "printers";
|
|
10516
|
+
referencedColumns: ["id"];
|
|
10517
|
+
}];
|
|
10518
|
+
};
|
|
10519
|
+
printer_mappings: {
|
|
10520
|
+
Row: {
|
|
10521
|
+
created_at: string;
|
|
10522
|
+
id: string;
|
|
10523
|
+
layout_id: string;
|
|
10524
|
+
printer_id: string;
|
|
10525
|
+
prioriteit: number;
|
|
10526
|
+
updated_at: string;
|
|
10527
|
+
};
|
|
10528
|
+
Insert: {
|
|
10529
|
+
created_at?: string;
|
|
10530
|
+
id?: string;
|
|
10531
|
+
layout_id: string;
|
|
10532
|
+
printer_id: string;
|
|
10533
|
+
prioriteit?: number;
|
|
10534
|
+
updated_at?: string;
|
|
10535
|
+
};
|
|
10536
|
+
Update: {
|
|
10537
|
+
created_at?: string;
|
|
10538
|
+
id?: string;
|
|
10539
|
+
layout_id?: string;
|
|
10540
|
+
printer_id?: string;
|
|
10541
|
+
prioriteit?: number;
|
|
10542
|
+
updated_at?: string;
|
|
10543
|
+
};
|
|
10544
|
+
Relationships: [{
|
|
10545
|
+
foreignKeyName: "printer_mappings_layout_id_fkey";
|
|
10546
|
+
columns: ["layout_id"];
|
|
10547
|
+
isOneToOne: false;
|
|
10548
|
+
referencedRelation: "document_layouts";
|
|
10549
|
+
referencedColumns: ["id"];
|
|
10550
|
+
}, {
|
|
10551
|
+
foreignKeyName: "printer_mappings_printer_id_fkey";
|
|
10552
|
+
columns: ["printer_id"];
|
|
10553
|
+
isOneToOne: false;
|
|
10554
|
+
referencedRelation: "printers";
|
|
10555
|
+
referencedColumns: ["id"];
|
|
10556
|
+
}];
|
|
10557
|
+
};
|
|
10558
|
+
printer_profiles: {
|
|
10559
|
+
Row: {
|
|
10560
|
+
auto_schalen: boolean;
|
|
10561
|
+
created_at: string;
|
|
10562
|
+
duplex: boolean;
|
|
10563
|
+
id: string;
|
|
10564
|
+
is_standaard: boolean;
|
|
10565
|
+
kleur: boolean;
|
|
10566
|
+
kopieen: number;
|
|
10567
|
+
label_gap: number;
|
|
10568
|
+
naam: string;
|
|
10569
|
+
orientatie: Database["public"]["Enums"]["doc_orientation"];
|
|
10570
|
+
papierlade: string;
|
|
10571
|
+
printer_id: string;
|
|
10572
|
+
resolutie: number;
|
|
10573
|
+
snijden: boolean;
|
|
10574
|
+
updated_at: string;
|
|
10575
|
+
};
|
|
10576
|
+
Insert: {
|
|
10577
|
+
auto_schalen?: boolean;
|
|
10578
|
+
created_at?: string;
|
|
10579
|
+
duplex?: boolean;
|
|
10580
|
+
id?: string;
|
|
10581
|
+
is_standaard?: boolean;
|
|
10582
|
+
kleur?: boolean;
|
|
10583
|
+
kopieen?: number;
|
|
10584
|
+
label_gap?: number;
|
|
10585
|
+
naam?: string;
|
|
10586
|
+
orientatie?: Database["public"]["Enums"]["doc_orientation"];
|
|
10587
|
+
papierlade?: string;
|
|
10588
|
+
printer_id: string;
|
|
10589
|
+
resolutie?: number;
|
|
10590
|
+
snijden?: boolean;
|
|
10591
|
+
updated_at?: string;
|
|
10592
|
+
};
|
|
10593
|
+
Update: {
|
|
10594
|
+
auto_schalen?: boolean;
|
|
10595
|
+
created_at?: string;
|
|
10596
|
+
duplex?: boolean;
|
|
10597
|
+
id?: string;
|
|
10598
|
+
is_standaard?: boolean;
|
|
10599
|
+
kleur?: boolean;
|
|
10600
|
+
kopieen?: number;
|
|
10601
|
+
label_gap?: number;
|
|
10602
|
+
naam?: string;
|
|
10603
|
+
orientatie?: Database["public"]["Enums"]["doc_orientation"];
|
|
10604
|
+
papierlade?: string;
|
|
10605
|
+
printer_id?: string;
|
|
10606
|
+
resolutie?: number;
|
|
10607
|
+
snijden?: boolean;
|
|
10608
|
+
updated_at?: string;
|
|
10609
|
+
};
|
|
10610
|
+
Relationships: [{
|
|
10611
|
+
foreignKeyName: "printer_profiles_printer_id_fkey";
|
|
10612
|
+
columns: ["printer_id"];
|
|
10613
|
+
isOneToOne: false;
|
|
10614
|
+
referencedRelation: "printers";
|
|
10615
|
+
referencedColumns: ["id"];
|
|
10616
|
+
}];
|
|
10617
|
+
};
|
|
10618
|
+
printers: {
|
|
10619
|
+
Row: {
|
|
10620
|
+
actief: boolean;
|
|
10621
|
+
created_at: string;
|
|
10622
|
+
driver: string;
|
|
10623
|
+
id: string;
|
|
10624
|
+
ip_adres: string | null;
|
|
10625
|
+
laatst_gezien: string | null;
|
|
10626
|
+
locatie: string;
|
|
10627
|
+
merk: string;
|
|
10628
|
+
naam: string;
|
|
10629
|
+
omschrijving: string;
|
|
10630
|
+
online: boolean;
|
|
10631
|
+
papierformaat: string;
|
|
10632
|
+
poort: number | null;
|
|
10633
|
+
soort: Database["public"]["Enums"]["printer_kind"];
|
|
10634
|
+
updated_at: string;
|
|
10635
|
+
verbinding: Database["public"]["Enums"]["printer_connection"];
|
|
10636
|
+
};
|
|
10637
|
+
Insert: {
|
|
10638
|
+
actief?: boolean;
|
|
10639
|
+
created_at?: string;
|
|
10640
|
+
driver?: string;
|
|
10641
|
+
id?: string;
|
|
10642
|
+
ip_adres?: string | null;
|
|
10643
|
+
laatst_gezien?: string | null;
|
|
10644
|
+
locatie?: string;
|
|
10645
|
+
merk?: string;
|
|
10646
|
+
naam: string;
|
|
10647
|
+
omschrijving?: string;
|
|
10648
|
+
online?: boolean;
|
|
10649
|
+
papierformaat?: string;
|
|
10650
|
+
poort?: number | null;
|
|
10651
|
+
soort?: Database["public"]["Enums"]["printer_kind"];
|
|
10652
|
+
updated_at?: string;
|
|
10653
|
+
verbinding?: Database["public"]["Enums"]["printer_connection"];
|
|
10654
|
+
};
|
|
10655
|
+
Update: {
|
|
10656
|
+
actief?: boolean;
|
|
10657
|
+
created_at?: string;
|
|
10658
|
+
driver?: string;
|
|
10659
|
+
id?: string;
|
|
10660
|
+
ip_adres?: string | null;
|
|
10661
|
+
laatst_gezien?: string | null;
|
|
10662
|
+
locatie?: string;
|
|
10663
|
+
merk?: string;
|
|
10664
|
+
naam?: string;
|
|
10665
|
+
omschrijving?: string;
|
|
10666
|
+
online?: boolean;
|
|
10667
|
+
papierformaat?: string;
|
|
10668
|
+
poort?: number | null;
|
|
10669
|
+
soort?: Database["public"]["Enums"]["printer_kind"];
|
|
10670
|
+
updated_at?: string;
|
|
10671
|
+
verbinding?: Database["public"]["Enums"]["printer_connection"];
|
|
10672
|
+
};
|
|
10673
|
+
Relationships: [];
|
|
10674
|
+
};
|
|
8707
10675
|
product_bom_items: {
|
|
8708
10676
|
Row: {
|
|
8709
10677
|
component_product_id: string | null;
|
|
@@ -10569,9 +12537,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10569
12537
|
};
|
|
10570
12538
|
twinfield_connections: {
|
|
10571
12539
|
Row: {
|
|
10572
|
-
|
|
10573
|
-
client_id: string;
|
|
10574
|
-
client_secret: string | null;
|
|
12540
|
+
account_key: string | null;
|
|
10575
12541
|
cluster_uri: string | null;
|
|
10576
12542
|
company_code: string | null;
|
|
10577
12543
|
company_name: string | null;
|
|
@@ -10582,94 +12548,39 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10582
12548
|
is_active: boolean;
|
|
10583
12549
|
label: string | null;
|
|
10584
12550
|
office_code: string | null;
|
|
10585
|
-
redirect_uri: string;
|
|
10586
|
-
refresh_token: string | null;
|
|
10587
|
-
token_expires_at: string | null;
|
|
10588
|
-
updated_at: string;
|
|
10589
|
-
user_id: string;
|
|
10590
|
-
};
|
|
10591
|
-
Insert: {
|
|
10592
|
-
access_token?: string | null;
|
|
10593
|
-
client_id: string;
|
|
10594
|
-
client_secret?: string | null;
|
|
10595
|
-
cluster_uri?: string | null;
|
|
10596
|
-
company_code?: string | null;
|
|
10597
|
-
company_name?: string | null;
|
|
10598
|
-
connected_at?: string | null;
|
|
10599
|
-
created_at?: string;
|
|
10600
|
-
environment: string;
|
|
10601
|
-
id?: string;
|
|
10602
|
-
is_active?: boolean;
|
|
10603
|
-
label?: string | null;
|
|
10604
|
-
office_code?: string | null;
|
|
10605
|
-
redirect_uri: string;
|
|
10606
|
-
refresh_token?: string | null;
|
|
10607
|
-
token_expires_at?: string | null;
|
|
10608
|
-
updated_at?: string;
|
|
10609
|
-
user_id: string;
|
|
10610
|
-
};
|
|
10611
|
-
Update: {
|
|
10612
|
-
access_token?: string | null;
|
|
10613
|
-
client_id?: string;
|
|
10614
|
-
client_secret?: string | null;
|
|
10615
|
-
cluster_uri?: string | null;
|
|
10616
|
-
company_code?: string | null;
|
|
10617
|
-
company_name?: string | null;
|
|
10618
|
-
connected_at?: string | null;
|
|
10619
|
-
created_at?: string;
|
|
10620
|
-
environment?: string;
|
|
10621
|
-
id?: string;
|
|
10622
|
-
is_active?: boolean;
|
|
10623
|
-
label?: string | null;
|
|
10624
|
-
office_code?: string | null;
|
|
10625
|
-
redirect_uri?: string;
|
|
10626
|
-
refresh_token?: string | null;
|
|
10627
|
-
token_expires_at?: string | null;
|
|
10628
|
-
updated_at?: string;
|
|
10629
|
-
user_id?: string;
|
|
10630
|
-
};
|
|
10631
|
-
Relationships: [];
|
|
10632
|
-
};
|
|
10633
|
-
twinfield_credentials: {
|
|
10634
|
-
Row: {
|
|
10635
|
-
administration_code: string | null;
|
|
10636
|
-
client_id: string | null;
|
|
10637
|
-
client_secret: string | null;
|
|
10638
|
-
cluster: string | null;
|
|
10639
|
-
connected_at: string | null;
|
|
10640
|
-
created_at: string;
|
|
10641
|
-
environment: string | null;
|
|
10642
|
-
id: string;
|
|
10643
12551
|
redirect_uri: string | null;
|
|
10644
|
-
refresh_token: string | null;
|
|
10645
12552
|
updated_at: string;
|
|
10646
12553
|
user_id: string;
|
|
10647
12554
|
};
|
|
10648
12555
|
Insert: {
|
|
10649
|
-
|
|
10650
|
-
|
|
10651
|
-
|
|
10652
|
-
|
|
12556
|
+
account_key?: string | null;
|
|
12557
|
+
cluster_uri?: string | null;
|
|
12558
|
+
company_code?: string | null;
|
|
12559
|
+
company_name?: string | null;
|
|
10653
12560
|
connected_at?: string | null;
|
|
10654
12561
|
created_at?: string;
|
|
10655
|
-
environment
|
|
12562
|
+
environment: string;
|
|
10656
12563
|
id?: string;
|
|
12564
|
+
is_active?: boolean;
|
|
12565
|
+
label?: string | null;
|
|
12566
|
+
office_code?: string | null;
|
|
10657
12567
|
redirect_uri?: string | null;
|
|
10658
|
-
refresh_token?: string | null;
|
|
10659
12568
|
updated_at?: string;
|
|
10660
12569
|
user_id: string;
|
|
10661
12570
|
};
|
|
10662
12571
|
Update: {
|
|
10663
|
-
|
|
10664
|
-
|
|
10665
|
-
|
|
10666
|
-
|
|
12572
|
+
account_key?: string | null;
|
|
12573
|
+
cluster_uri?: string | null;
|
|
12574
|
+
company_code?: string | null;
|
|
12575
|
+
company_name?: string | null;
|
|
10667
12576
|
connected_at?: string | null;
|
|
10668
12577
|
created_at?: string;
|
|
10669
|
-
environment?: string
|
|
12578
|
+
environment?: string;
|
|
10670
12579
|
id?: string;
|
|
12580
|
+
is_active?: boolean;
|
|
12581
|
+
label?: string | null;
|
|
12582
|
+
office_code?: string | null;
|
|
10671
12583
|
redirect_uri?: string | null;
|
|
10672
|
-
refresh_token?: string | null;
|
|
10673
12584
|
updated_at?: string;
|
|
10674
12585
|
user_id?: string;
|
|
10675
12586
|
};
|
|
@@ -11116,12 +13027,15 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
11116
13027
|
currency: string | null;
|
|
11117
13028
|
customer_code: string | null;
|
|
11118
13029
|
data: import("./types").Json;
|
|
13030
|
+
deleted_at: string | null;
|
|
11119
13031
|
due_date: string | null;
|
|
11120
13032
|
fetched_at: string;
|
|
11121
13033
|
invoice_date: string | null;
|
|
11122
13034
|
invoice_number: string;
|
|
13035
|
+
lines_fetched_at: string | null;
|
|
11123
13036
|
modified_at: string | null;
|
|
11124
13037
|
outstanding_amount: number | null;
|
|
13038
|
+
paid_at: string | null;
|
|
11125
13039
|
status: string | null;
|
|
11126
13040
|
status_label: string | null;
|
|
11127
13041
|
total_excl: number | null;
|
|
@@ -11133,12 +13047,15 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
11133
13047
|
currency?: string | null;
|
|
11134
13048
|
customer_code?: string | null;
|
|
11135
13049
|
data?: import("./types").Json;
|
|
13050
|
+
deleted_at?: string | null;
|
|
11136
13051
|
due_date?: string | null;
|
|
11137
13052
|
fetched_at?: string;
|
|
11138
13053
|
invoice_date?: string | null;
|
|
11139
13054
|
invoice_number: string;
|
|
13055
|
+
lines_fetched_at?: string | null;
|
|
11140
13056
|
modified_at?: string | null;
|
|
11141
13057
|
outstanding_amount?: number | null;
|
|
13058
|
+
paid_at?: string | null;
|
|
11142
13059
|
status?: string | null;
|
|
11143
13060
|
status_label?: string | null;
|
|
11144
13061
|
total_excl?: number | null;
|
|
@@ -11150,12 +13067,15 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
11150
13067
|
currency?: string | null;
|
|
11151
13068
|
customer_code?: string | null;
|
|
11152
13069
|
data?: import("./types").Json;
|
|
13070
|
+
deleted_at?: string | null;
|
|
11153
13071
|
due_date?: string | null;
|
|
11154
13072
|
fetched_at?: string;
|
|
11155
13073
|
invoice_date?: string | null;
|
|
11156
13074
|
invoice_number?: string;
|
|
13075
|
+
lines_fetched_at?: string | null;
|
|
11157
13076
|
modified_at?: string | null;
|
|
11158
13077
|
outstanding_amount?: number | null;
|
|
13078
|
+
paid_at?: string | null;
|
|
11159
13079
|
status?: string | null;
|
|
11160
13080
|
status_label?: string | null;
|
|
11161
13081
|
total_excl?: number | null;
|
|
@@ -11170,30 +13090,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
11170
13090
|
referencedColumns: ["id"];
|
|
11171
13091
|
}];
|
|
11172
13092
|
};
|
|
11173
|
-
twinfield_oauth_state: {
|
|
11174
|
-
Row: {
|
|
11175
|
-
created_at: string;
|
|
11176
|
-
environment: string;
|
|
11177
|
-
nonce: string | null;
|
|
11178
|
-
state: string;
|
|
11179
|
-
user_id: string;
|
|
11180
|
-
};
|
|
11181
|
-
Insert: {
|
|
11182
|
-
created_at?: string;
|
|
11183
|
-
environment: string;
|
|
11184
|
-
nonce?: string | null;
|
|
11185
|
-
state: string;
|
|
11186
|
-
user_id: string;
|
|
11187
|
-
};
|
|
11188
|
-
Update: {
|
|
11189
|
-
created_at?: string;
|
|
11190
|
-
environment?: string;
|
|
11191
|
-
nonce?: string | null;
|
|
11192
|
-
state?: string;
|
|
11193
|
-
user_id?: string;
|
|
11194
|
-
};
|
|
11195
|
-
Relationships: [];
|
|
11196
|
-
};
|
|
11197
13093
|
twinfield_push_queue: {
|
|
11198
13094
|
Row: {
|
|
11199
13095
|
action: string;
|
|
@@ -11359,39 +13255,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
11359
13255
|
referencedColumns: ["id"];
|
|
11360
13256
|
}];
|
|
11361
13257
|
};
|
|
11362
|
-
twinfield_token_refresh_log: {
|
|
11363
|
-
Row: {
|
|
11364
|
-
attempted_at: string;
|
|
11365
|
-
connection_id: string;
|
|
11366
|
-
error: string | null;
|
|
11367
|
-
expires_at: string | null;
|
|
11368
|
-
id: string;
|
|
11369
|
-
ok: boolean;
|
|
11370
|
-
};
|
|
11371
|
-
Insert: {
|
|
11372
|
-
attempted_at?: string;
|
|
11373
|
-
connection_id: string;
|
|
11374
|
-
error?: string | null;
|
|
11375
|
-
expires_at?: string | null;
|
|
11376
|
-
id?: string;
|
|
11377
|
-
ok: boolean;
|
|
11378
|
-
};
|
|
11379
|
-
Update: {
|
|
11380
|
-
attempted_at?: string;
|
|
11381
|
-
connection_id?: string;
|
|
11382
|
-
error?: string | null;
|
|
11383
|
-
expires_at?: string | null;
|
|
11384
|
-
id?: string;
|
|
11385
|
-
ok?: boolean;
|
|
11386
|
-
};
|
|
11387
|
-
Relationships: [{
|
|
11388
|
-
foreignKeyName: "twinfield_token_refresh_log_connection_id_fkey";
|
|
11389
|
-
columns: ["connection_id"];
|
|
11390
|
-
isOneToOne: false;
|
|
11391
|
-
referencedRelation: "twinfield_connections";
|
|
11392
|
-
referencedColumns: ["id"];
|
|
11393
|
-
}];
|
|
11394
|
-
};
|
|
11395
13258
|
user_roles: {
|
|
11396
13259
|
Row: {
|
|
11397
13260
|
created_at: string;
|
|
@@ -11419,6 +13282,48 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
11419
13282
|
referencedColumns: ["id"];
|
|
11420
13283
|
}];
|
|
11421
13284
|
};
|
|
13285
|
+
voorraad_custom_fields: {
|
|
13286
|
+
Row: {
|
|
13287
|
+
created_at: string;
|
|
13288
|
+
field_key: string;
|
|
13289
|
+
field_label: string;
|
|
13290
|
+
field_type: string;
|
|
13291
|
+
id: string;
|
|
13292
|
+
options: string[];
|
|
13293
|
+
show_in_columns: boolean;
|
|
13294
|
+
show_in_detail: boolean;
|
|
13295
|
+
show_in_template: boolean;
|
|
13296
|
+
sort_order: number;
|
|
13297
|
+
updated_at: string;
|
|
13298
|
+
};
|
|
13299
|
+
Insert: {
|
|
13300
|
+
created_at?: string;
|
|
13301
|
+
field_key: string;
|
|
13302
|
+
field_label: string;
|
|
13303
|
+
field_type?: string;
|
|
13304
|
+
id?: string;
|
|
13305
|
+
options?: string[];
|
|
13306
|
+
show_in_columns?: boolean;
|
|
13307
|
+
show_in_detail?: boolean;
|
|
13308
|
+
show_in_template?: boolean;
|
|
13309
|
+
sort_order?: number;
|
|
13310
|
+
updated_at?: string;
|
|
13311
|
+
};
|
|
13312
|
+
Update: {
|
|
13313
|
+
created_at?: string;
|
|
13314
|
+
field_key?: string;
|
|
13315
|
+
field_label?: string;
|
|
13316
|
+
field_type?: string;
|
|
13317
|
+
id?: string;
|
|
13318
|
+
options?: string[];
|
|
13319
|
+
show_in_columns?: boolean;
|
|
13320
|
+
show_in_detail?: boolean;
|
|
13321
|
+
show_in_template?: boolean;
|
|
13322
|
+
sort_order?: number;
|
|
13323
|
+
updated_at?: string;
|
|
13324
|
+
};
|
|
13325
|
+
Relationships: [];
|
|
13326
|
+
};
|
|
11422
13327
|
voorraad_media_upload_failures: {
|
|
11423
13328
|
Row: {
|
|
11424
13329
|
action: string;
|
|
@@ -12076,6 +13981,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
12076
13981
|
status: string | null;
|
|
12077
13982
|
token_expires_at: string | null;
|
|
12078
13983
|
updated_at: string | null;
|
|
13984
|
+
webhook_last_attempt_at: string | null;
|
|
13985
|
+
webhook_last_error: string | null;
|
|
13986
|
+
webhook_status: string | null;
|
|
12079
13987
|
};
|
|
12080
13988
|
Insert: {
|
|
12081
13989
|
account_email?: string | null;
|
|
@@ -12110,6 +14018,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
12110
14018
|
status?: string | null;
|
|
12111
14019
|
token_expires_at?: string | null;
|
|
12112
14020
|
updated_at?: string | null;
|
|
14021
|
+
webhook_last_attempt_at?: string | null;
|
|
14022
|
+
webhook_last_error?: string | null;
|
|
14023
|
+
webhook_status?: string | null;
|
|
12113
14024
|
};
|
|
12114
14025
|
Update: {
|
|
12115
14026
|
account_email?: string | null;
|
|
@@ -12144,6 +14055,9 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
12144
14055
|
status?: string | null;
|
|
12145
14056
|
token_expires_at?: string | null;
|
|
12146
14057
|
updated_at?: string | null;
|
|
14058
|
+
webhook_last_attempt_at?: string | null;
|
|
14059
|
+
webhook_last_error?: string | null;
|
|
14060
|
+
webhook_status?: string | null;
|
|
12147
14061
|
};
|
|
12148
14062
|
Relationships: [];
|
|
12149
14063
|
};
|
|
@@ -12424,6 +14338,81 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
12424
14338
|
referencedColumns: ["id"];
|
|
12425
14339
|
}];
|
|
12426
14340
|
};
|
|
14341
|
+
v_external_customers_local: {
|
|
14342
|
+
Row: {
|
|
14343
|
+
city: string | null;
|
|
14344
|
+
commercial_name: string | null;
|
|
14345
|
+
company_name: string | null;
|
|
14346
|
+
connection_id: string | null;
|
|
14347
|
+
contact_person: string | null;
|
|
14348
|
+
country: string | null;
|
|
14349
|
+
email: string | null;
|
|
14350
|
+
external_id: string | null;
|
|
14351
|
+
fetched_at: string | null;
|
|
14352
|
+
gln: string | null;
|
|
14353
|
+
house_number: string | null;
|
|
14354
|
+
is_active: boolean | null;
|
|
14355
|
+
is_deleted: boolean | null;
|
|
14356
|
+
logo_url: string | null;
|
|
14357
|
+
phone: string | null;
|
|
14358
|
+
postal_code: string | null;
|
|
14359
|
+
provider: string | null;
|
|
14360
|
+
raw: import("./types").Json | null;
|
|
14361
|
+
status: string | null;
|
|
14362
|
+
street: string | null;
|
|
14363
|
+
vat_number: string | null;
|
|
14364
|
+
website: string | null;
|
|
14365
|
+
};
|
|
14366
|
+
Insert: {
|
|
14367
|
+
city?: string | null;
|
|
14368
|
+
commercial_name?: string | null;
|
|
14369
|
+
company_name?: string | null;
|
|
14370
|
+
connection_id?: never;
|
|
14371
|
+
contact_person?: string | null;
|
|
14372
|
+
country?: string | null;
|
|
14373
|
+
email?: string | null;
|
|
14374
|
+
external_id?: never;
|
|
14375
|
+
fetched_at?: never;
|
|
14376
|
+
gln?: string | null;
|
|
14377
|
+
house_number?: string | null;
|
|
14378
|
+
is_active?: never;
|
|
14379
|
+
is_deleted?: never;
|
|
14380
|
+
logo_url?: string | null;
|
|
14381
|
+
phone?: string | null;
|
|
14382
|
+
postal_code?: string | null;
|
|
14383
|
+
provider?: never;
|
|
14384
|
+
raw?: never;
|
|
14385
|
+
status?: string | null;
|
|
14386
|
+
street?: string | null;
|
|
14387
|
+
vat_number?: string | null;
|
|
14388
|
+
website?: string | null;
|
|
14389
|
+
};
|
|
14390
|
+
Update: {
|
|
14391
|
+
city?: string | null;
|
|
14392
|
+
commercial_name?: string | null;
|
|
14393
|
+
company_name?: string | null;
|
|
14394
|
+
connection_id?: never;
|
|
14395
|
+
contact_person?: string | null;
|
|
14396
|
+
country?: string | null;
|
|
14397
|
+
email?: string | null;
|
|
14398
|
+
external_id?: never;
|
|
14399
|
+
fetched_at?: never;
|
|
14400
|
+
gln?: string | null;
|
|
14401
|
+
house_number?: string | null;
|
|
14402
|
+
is_active?: never;
|
|
14403
|
+
is_deleted?: never;
|
|
14404
|
+
logo_url?: string | null;
|
|
14405
|
+
phone?: string | null;
|
|
14406
|
+
postal_code?: string | null;
|
|
14407
|
+
provider?: never;
|
|
14408
|
+
raw?: never;
|
|
14409
|
+
status?: string | null;
|
|
14410
|
+
street?: string | null;
|
|
14411
|
+
vat_number?: string | null;
|
|
14412
|
+
website?: string | null;
|
|
14413
|
+
};
|
|
14414
|
+
Relationships: [];
|
|
14415
|
+
};
|
|
12427
14416
|
v_external_customers_twinfield: {
|
|
12428
14417
|
Row: {
|
|
12429
14418
|
city: string | null;
|
|
@@ -13352,6 +15341,170 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
13352
15341
|
};
|
|
13353
15342
|
Returns: string;
|
|
13354
15343
|
};
|
|
15344
|
+
pick_claim_document: {
|
|
15345
|
+
Args: {
|
|
15346
|
+
_queue_item_id: string;
|
|
15347
|
+
_screen_id: string;
|
|
15348
|
+
_session_id: string;
|
|
15349
|
+
_station_id: string;
|
|
15350
|
+
_timeout_seconds?: number;
|
|
15351
|
+
};
|
|
15352
|
+
Returns: {
|
|
15353
|
+
announced_at: string;
|
|
15354
|
+
assigned_user_id: string | null;
|
|
15355
|
+
barcode: string | null;
|
|
15356
|
+
cancelled_at: string | null;
|
|
15357
|
+
cart_count: number;
|
|
15358
|
+
completed_at: string | null;
|
|
15359
|
+
country_code: string | null;
|
|
15360
|
+
created_at: string;
|
|
15361
|
+
customer_name: string | null;
|
|
15362
|
+
delivery_address: string | null;
|
|
15363
|
+
document_number: string | null;
|
|
15364
|
+
document_type_id: string | null;
|
|
15365
|
+
due_at: string | null;
|
|
15366
|
+
id: string;
|
|
15367
|
+
is_urgent: boolean;
|
|
15368
|
+
line_count: number;
|
|
15369
|
+
order_number: string | null;
|
|
15370
|
+
order_type: string | null;
|
|
15371
|
+
payload: import("./types").Json;
|
|
15372
|
+
print_count: number;
|
|
15373
|
+
printed_at: string | null;
|
|
15374
|
+
printed_by: string | null;
|
|
15375
|
+
printer_id: string | null;
|
|
15376
|
+
priority: number;
|
|
15377
|
+
reference: string | null;
|
|
15378
|
+
route: string | null;
|
|
15379
|
+
screen_id: string | null;
|
|
15380
|
+
station_id: string | null;
|
|
15381
|
+
status_id: string | null;
|
|
15382
|
+
updated_at: string;
|
|
15383
|
+
warnings: import("./types").Json;
|
|
15384
|
+
};
|
|
15385
|
+
SetofOptions: {
|
|
15386
|
+
from: "*";
|
|
15387
|
+
to: "pick_queue";
|
|
15388
|
+
isOneToOne: true;
|
|
15389
|
+
isSetofReturn: false;
|
|
15390
|
+
};
|
|
15391
|
+
};
|
|
15392
|
+
pick_claim_next_document: {
|
|
15393
|
+
Args: {
|
|
15394
|
+
_country_code: string;
|
|
15395
|
+
_screen_id: string;
|
|
15396
|
+
_session_id: string;
|
|
15397
|
+
_station_id: string;
|
|
15398
|
+
_timeout_seconds?: number;
|
|
15399
|
+
};
|
|
15400
|
+
Returns: {
|
|
15401
|
+
announced_at: string;
|
|
15402
|
+
assigned_user_id: string | null;
|
|
15403
|
+
barcode: string | null;
|
|
15404
|
+
cancelled_at: string | null;
|
|
15405
|
+
cart_count: number;
|
|
15406
|
+
completed_at: string | null;
|
|
15407
|
+
country_code: string | null;
|
|
15408
|
+
created_at: string;
|
|
15409
|
+
customer_name: string | null;
|
|
15410
|
+
delivery_address: string | null;
|
|
15411
|
+
document_number: string | null;
|
|
15412
|
+
document_type_id: string | null;
|
|
15413
|
+
due_at: string | null;
|
|
15414
|
+
id: string;
|
|
15415
|
+
is_urgent: boolean;
|
|
15416
|
+
line_count: number;
|
|
15417
|
+
order_number: string | null;
|
|
15418
|
+
order_type: string | null;
|
|
15419
|
+
payload: import("./types").Json;
|
|
15420
|
+
print_count: number;
|
|
15421
|
+
printed_at: string | null;
|
|
15422
|
+
printed_by: string | null;
|
|
15423
|
+
printer_id: string | null;
|
|
15424
|
+
priority: number;
|
|
15425
|
+
reference: string | null;
|
|
15426
|
+
route: string | null;
|
|
15427
|
+
screen_id: string | null;
|
|
15428
|
+
station_id: string | null;
|
|
15429
|
+
status_id: string | null;
|
|
15430
|
+
updated_at: string;
|
|
15431
|
+
warnings: import("./types").Json;
|
|
15432
|
+
};
|
|
15433
|
+
SetofOptions: {
|
|
15434
|
+
from: "*";
|
|
15435
|
+
to: "pick_queue";
|
|
15436
|
+
isOneToOne: true;
|
|
15437
|
+
isSetofReturn: false;
|
|
15438
|
+
};
|
|
15439
|
+
};
|
|
15440
|
+
pick_complete_print: {
|
|
15441
|
+
Args: {
|
|
15442
|
+
_printer_id: string;
|
|
15443
|
+
_queue_item_id: string;
|
|
15444
|
+
_session_id: string;
|
|
15445
|
+
};
|
|
15446
|
+
Returns: {
|
|
15447
|
+
announced_at: string;
|
|
15448
|
+
assigned_user_id: string | null;
|
|
15449
|
+
barcode: string | null;
|
|
15450
|
+
cancelled_at: string | null;
|
|
15451
|
+
cart_count: number;
|
|
15452
|
+
completed_at: string | null;
|
|
15453
|
+
country_code: string | null;
|
|
15454
|
+
created_at: string;
|
|
15455
|
+
customer_name: string | null;
|
|
15456
|
+
delivery_address: string | null;
|
|
15457
|
+
document_number: string | null;
|
|
15458
|
+
document_type_id: string | null;
|
|
15459
|
+
due_at: string | null;
|
|
15460
|
+
id: string;
|
|
15461
|
+
is_urgent: boolean;
|
|
15462
|
+
line_count: number;
|
|
15463
|
+
order_number: string | null;
|
|
15464
|
+
order_type: string | null;
|
|
15465
|
+
payload: import("./types").Json;
|
|
15466
|
+
print_count: number;
|
|
15467
|
+
printed_at: string | null;
|
|
15468
|
+
printed_by: string | null;
|
|
15469
|
+
printer_id: string | null;
|
|
15470
|
+
priority: number;
|
|
15471
|
+
reference: string | null;
|
|
15472
|
+
route: string | null;
|
|
15473
|
+
screen_id: string | null;
|
|
15474
|
+
station_id: string | null;
|
|
15475
|
+
status_id: string | null;
|
|
15476
|
+
updated_at: string;
|
|
15477
|
+
warnings: import("./types").Json;
|
|
15478
|
+
};
|
|
15479
|
+
SetofOptions: {
|
|
15480
|
+
from: "*";
|
|
15481
|
+
to: "pick_queue";
|
|
15482
|
+
isOneToOne: true;
|
|
15483
|
+
isSetofReturn: false;
|
|
15484
|
+
};
|
|
15485
|
+
};
|
|
15486
|
+
pick_release_expired_locks: {
|
|
15487
|
+
Args: never;
|
|
15488
|
+
Returns: number;
|
|
15489
|
+
};
|
|
15490
|
+
pick_release_lock: {
|
|
15491
|
+
Args: {
|
|
15492
|
+
_queue_item_id: string;
|
|
15493
|
+
};
|
|
15494
|
+
Returns: undefined;
|
|
15495
|
+
};
|
|
15496
|
+
pick_station_dashboard: {
|
|
15497
|
+
Args: never;
|
|
15498
|
+
Returns: {
|
|
15499
|
+
active: number;
|
|
15500
|
+
active_sessions: number;
|
|
15501
|
+
avg_wait_seconds: number;
|
|
15502
|
+
done_today: number;
|
|
15503
|
+
station_id: string;
|
|
15504
|
+
station_name: string;
|
|
15505
|
+
waiting: number;
|
|
15506
|
+
}[];
|
|
15507
|
+
};
|
|
13355
15508
|
pickstation_get_orders_raw: {
|
|
13356
15509
|
Args: never;
|
|
13357
15510
|
Returns: import("./types").Json;
|
|
@@ -13453,6 +15606,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
13453
15606
|
};
|
|
13454
15607
|
Returns: number;
|
|
13455
15608
|
};
|
|
15609
|
+
release_debtor_lock: {
|
|
15610
|
+
Args: {
|
|
15611
|
+
_group_key: string;
|
|
15612
|
+
_user_id: string;
|
|
15613
|
+
};
|
|
15614
|
+
Returns: boolean;
|
|
15615
|
+
};
|
|
13456
15616
|
reorder_customer_price_groups: {
|
|
13457
15617
|
Args: {
|
|
13458
15618
|
_ids: string[];
|
|
@@ -13832,15 +15992,30 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
13832
15992
|
};
|
|
13833
15993
|
Returns: undefined;
|
|
13834
15994
|
};
|
|
13835
|
-
|
|
15995
|
+
try_debtor_lock: {
|
|
13836
15996
|
Args: {
|
|
13837
|
-
|
|
15997
|
+
_group_key: string;
|
|
15998
|
+
_user_id: string;
|
|
13838
15999
|
};
|
|
13839
|
-
Returns:
|
|
16000
|
+
Returns: boolean;
|
|
13840
16001
|
};
|
|
13841
|
-
|
|
16002
|
+
twinfield_register_cron: {
|
|
13842
16003
|
Args: {
|
|
13843
|
-
|
|
16004
|
+
apikey: string;
|
|
16005
|
+
base_url: string;
|
|
16006
|
+
};
|
|
16007
|
+
Returns: import("./types").Json;
|
|
16008
|
+
};
|
|
16009
|
+
twinfield_upsert_connection_by_account_key: {
|
|
16010
|
+
Args: {
|
|
16011
|
+
p_account_key: string;
|
|
16012
|
+
p_cluster_uri?: string;
|
|
16013
|
+
p_company_code?: string;
|
|
16014
|
+
p_company_name?: string;
|
|
16015
|
+
p_environment: string;
|
|
16016
|
+
p_office_code?: string;
|
|
16017
|
+
p_status?: string;
|
|
16018
|
+
p_user_id: string;
|
|
13844
16019
|
};
|
|
13845
16020
|
Returns: string;
|
|
13846
16021
|
};
|
|
@@ -13857,12 +16032,18 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
13857
16032
|
};
|
|
13858
16033
|
};
|
|
13859
16034
|
Enums: {
|
|
16035
|
+
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
13860
16036
|
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
16037
|
+
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
16038
|
+
doc_orientation: "portrait" | "landscape";
|
|
13861
16039
|
exact_env: "staging" | "live";
|
|
13862
16040
|
exact_push_status: "pending" | "sent" | "error";
|
|
13863
16041
|
itk_customer_segment: "Business" | "Private";
|
|
13864
16042
|
itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
|
|
13865
16043
|
planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd" | "concept" | "vrijgegeven";
|
|
16044
|
+
print_job_status: "wachtend" | "bezig" | "voltooid" | "mislukt" | "geannuleerd";
|
|
16045
|
+
printer_connection: "ipp" | "raw9100" | "printnode" | "cups" | "usb" | "windows" | "airprint" | "cloud";
|
|
16046
|
+
printer_kind: "labelprinter" | "laserprinter" | "inkjet" | "thermal" | "kantoorprinter" | "overig";
|
|
13866
16047
|
quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
|
|
13867
16048
|
};
|
|
13868
16049
|
CompositeTypes: { [_ in never]: never; };
|