@flowselections/floriday-authenticatie-module 1.0.14 → 1.0.16
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/settings/FlorydaySettingsCard.d.ts.map +1 -1
- package/dist-lib/components/settings/FlorydaySettingsCard.js +2 -2
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1486 -35
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +1486 -35
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1486 -35
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1515 -34
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode-product-features.d.ts.map +1 -1
- package/dist-lib/lib/floricode-product-features.js +59 -5
- package/dist-lib/lib/floricode-regulatory-features.d.ts +15 -0
- package/dist-lib/lib/floricode-regulatory-features.d.ts.map +1 -1
- package/dist-lib/lib/floricode-regulatory-features.js +77 -21
- package/dist-lib/lib/floriday-auction-letters.functions.d.ts +1486 -35
- package/dist-lib/lib/floriday-auction-letters.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-labels.functions.d.ts +1486 -35
- package/dist-lib/lib/floriday-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +8706 -0
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-scopes.d.ts +17 -1
- package/dist-lib/lib/floriday-scopes.d.ts.map +1 -1
- package/dist-lib/lib/floriday-scopes.js +66 -5
- package/dist-lib/lib/floriday-stickers.functions.d.ts +1486 -35
- package/dist-lib/lib/floriday-stickers.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-sync.functions.d.ts +66486 -1
- package/dist-lib/lib/floriday-sync.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-sync.functions.js +92 -2
- package/dist-lib/lib/floriday-writes.functions.d.ts +8724 -6
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +26244 -144
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.js +13 -2
- package/package.json +1 -1
|
@@ -20,6 +20,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
20
20
|
max_workdays_earlier_pick: number;
|
|
21
21
|
pick_days_before_transport: number;
|
|
22
22
|
pick_distribution_enabled: boolean;
|
|
23
|
+
pick_weekdays: number[];
|
|
23
24
|
signup_mail_enabled: boolean;
|
|
24
25
|
signup_mail_lead_minutes: number;
|
|
25
26
|
signup_mail_purpose: string;
|
|
@@ -33,6 +34,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
33
34
|
max_workdays_earlier_pick?: number;
|
|
34
35
|
pick_days_before_transport?: number;
|
|
35
36
|
pick_distribution_enabled?: boolean;
|
|
37
|
+
pick_weekdays?: number[];
|
|
36
38
|
signup_mail_enabled?: boolean;
|
|
37
39
|
signup_mail_lead_minutes?: number;
|
|
38
40
|
signup_mail_purpose?: string;
|
|
@@ -46,6 +48,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
46
48
|
max_workdays_earlier_pick?: number;
|
|
47
49
|
pick_days_before_transport?: number;
|
|
48
50
|
pick_distribution_enabled?: boolean;
|
|
51
|
+
pick_weekdays?: number[];
|
|
49
52
|
signup_mail_enabled?: boolean;
|
|
50
53
|
signup_mail_lead_minutes?: number;
|
|
51
54
|
signup_mail_purpose?: string;
|
|
@@ -457,6 +460,48 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
457
460
|
referencedColumns: ["id"];
|
|
458
461
|
}];
|
|
459
462
|
};
|
|
463
|
+
carrier_signup_dispatch_runs: {
|
|
464
|
+
Row: {
|
|
465
|
+
detail: import("../integrations/supabase/types").Json | null;
|
|
466
|
+
error: string | null;
|
|
467
|
+
finished_at: string | null;
|
|
468
|
+
groups: number;
|
|
469
|
+
id: string;
|
|
470
|
+
ok: boolean;
|
|
471
|
+
reason: string | null;
|
|
472
|
+
sent: number;
|
|
473
|
+
skipped: import("../integrations/supabase/types").Json;
|
|
474
|
+
started_at: string;
|
|
475
|
+
unassigned: import("../integrations/supabase/types").Json;
|
|
476
|
+
};
|
|
477
|
+
Insert: {
|
|
478
|
+
detail?: import("../integrations/supabase/types").Json | null;
|
|
479
|
+
error?: string | null;
|
|
480
|
+
finished_at?: string | null;
|
|
481
|
+
groups?: number;
|
|
482
|
+
id?: string;
|
|
483
|
+
ok?: boolean;
|
|
484
|
+
reason?: string | null;
|
|
485
|
+
sent?: number;
|
|
486
|
+
skipped?: import("../integrations/supabase/types").Json;
|
|
487
|
+
started_at?: string;
|
|
488
|
+
unassigned?: import("../integrations/supabase/types").Json;
|
|
489
|
+
};
|
|
490
|
+
Update: {
|
|
491
|
+
detail?: import("../integrations/supabase/types").Json | null;
|
|
492
|
+
error?: string | null;
|
|
493
|
+
finished_at?: string | null;
|
|
494
|
+
groups?: number;
|
|
495
|
+
id?: string;
|
|
496
|
+
ok?: boolean;
|
|
497
|
+
reason?: string | null;
|
|
498
|
+
sent?: number;
|
|
499
|
+
skipped?: import("../integrations/supabase/types").Json;
|
|
500
|
+
started_at?: string;
|
|
501
|
+
unassigned?: import("../integrations/supabase/types").Json;
|
|
502
|
+
};
|
|
503
|
+
Relationships: [];
|
|
504
|
+
};
|
|
460
505
|
carrier_signup_dispatches: {
|
|
461
506
|
Row: {
|
|
462
507
|
carrier_id: string;
|
|
@@ -508,6 +553,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
508
553
|
contact_person: string | null;
|
|
509
554
|
created_at: string;
|
|
510
555
|
delivery_days: number | null;
|
|
556
|
+
delivery_weekdays: number[];
|
|
511
557
|
email: string | null;
|
|
512
558
|
id: string;
|
|
513
559
|
is_default: boolean;
|
|
@@ -515,6 +561,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
515
561
|
notes: string | null;
|
|
516
562
|
phone: string | null;
|
|
517
563
|
pickup_moments: import("../integrations/supabase/types").Json;
|
|
564
|
+
pickup_weekdays: number[];
|
|
518
565
|
service_cities: string[];
|
|
519
566
|
service_countries: string[];
|
|
520
567
|
service_provinces: string[];
|
|
@@ -530,6 +577,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
530
577
|
contact_person?: string | null;
|
|
531
578
|
created_at?: string;
|
|
532
579
|
delivery_days?: number | null;
|
|
580
|
+
delivery_weekdays?: number[];
|
|
533
581
|
email?: string | null;
|
|
534
582
|
id?: string;
|
|
535
583
|
is_default?: boolean;
|
|
@@ -537,6 +585,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
537
585
|
notes?: string | null;
|
|
538
586
|
phone?: string | null;
|
|
539
587
|
pickup_moments?: import("../integrations/supabase/types").Json;
|
|
588
|
+
pickup_weekdays?: number[];
|
|
540
589
|
service_cities?: string[];
|
|
541
590
|
service_countries?: string[];
|
|
542
591
|
service_provinces?: string[];
|
|
@@ -552,6 +601,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
552
601
|
contact_person?: string | null;
|
|
553
602
|
created_at?: string;
|
|
554
603
|
delivery_days?: number | null;
|
|
604
|
+
delivery_weekdays?: number[];
|
|
555
605
|
email?: string | null;
|
|
556
606
|
id?: string;
|
|
557
607
|
is_default?: boolean;
|
|
@@ -559,6 +609,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
559
609
|
notes?: string | null;
|
|
560
610
|
phone?: string | null;
|
|
561
611
|
pickup_moments?: import("../integrations/supabase/types").Json;
|
|
612
|
+
pickup_weekdays?: number[];
|
|
562
613
|
service_cities?: string[];
|
|
563
614
|
service_countries?: string[];
|
|
564
615
|
service_provinces?: string[];
|
|
@@ -571,6 +622,180 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
571
622
|
};
|
|
572
623
|
Relationships: [];
|
|
573
624
|
};
|
|
625
|
+
cart_control_draft: {
|
|
626
|
+
Row: {
|
|
627
|
+
cart_states: import("../integrations/supabase/types").Json;
|
|
628
|
+
checked_keys: import("../integrations/supabase/types").Json;
|
|
629
|
+
draft_date: string;
|
|
630
|
+
form_state: import("../integrations/supabase/types").Json;
|
|
631
|
+
notes: string;
|
|
632
|
+
updated_at: string;
|
|
633
|
+
user_id: string;
|
|
634
|
+
};
|
|
635
|
+
Insert: {
|
|
636
|
+
cart_states?: import("../integrations/supabase/types").Json;
|
|
637
|
+
checked_keys?: import("../integrations/supabase/types").Json;
|
|
638
|
+
draft_date: string;
|
|
639
|
+
form_state?: import("../integrations/supabase/types").Json;
|
|
640
|
+
notes?: string;
|
|
641
|
+
updated_at?: string;
|
|
642
|
+
user_id: string;
|
|
643
|
+
};
|
|
644
|
+
Update: {
|
|
645
|
+
cart_states?: import("../integrations/supabase/types").Json;
|
|
646
|
+
checked_keys?: import("../integrations/supabase/types").Json;
|
|
647
|
+
draft_date?: string;
|
|
648
|
+
form_state?: import("../integrations/supabase/types").Json;
|
|
649
|
+
notes?: string;
|
|
650
|
+
updated_at?: string;
|
|
651
|
+
user_id?: string;
|
|
652
|
+
};
|
|
653
|
+
Relationships: [];
|
|
654
|
+
};
|
|
655
|
+
cart_control_items: {
|
|
656
|
+
Row: {
|
|
657
|
+
action: string;
|
|
658
|
+
block_reason: string | null;
|
|
659
|
+
carrier_name: string | null;
|
|
660
|
+
cart_index: number;
|
|
661
|
+
cart_number_id: string | null;
|
|
662
|
+
cart_number_label: string | null;
|
|
663
|
+
created_at: string;
|
|
664
|
+
customer_name: string | null;
|
|
665
|
+
delivery_date: string | null;
|
|
666
|
+
id: string;
|
|
667
|
+
new_pick_date: string | null;
|
|
668
|
+
order_id: string;
|
|
669
|
+
order_number: string | null;
|
|
670
|
+
order_source: string;
|
|
671
|
+
pickup_date: string | null;
|
|
672
|
+
session_id: string;
|
|
673
|
+
};
|
|
674
|
+
Insert: {
|
|
675
|
+
action: string;
|
|
676
|
+
block_reason?: string | null;
|
|
677
|
+
carrier_name?: string | null;
|
|
678
|
+
cart_index: number;
|
|
679
|
+
cart_number_id?: string | null;
|
|
680
|
+
cart_number_label?: string | null;
|
|
681
|
+
created_at?: string;
|
|
682
|
+
customer_name?: string | null;
|
|
683
|
+
delivery_date?: string | null;
|
|
684
|
+
id?: string;
|
|
685
|
+
new_pick_date?: string | null;
|
|
686
|
+
order_id: string;
|
|
687
|
+
order_number?: string | null;
|
|
688
|
+
order_source: string;
|
|
689
|
+
pickup_date?: string | null;
|
|
690
|
+
session_id: string;
|
|
691
|
+
};
|
|
692
|
+
Update: {
|
|
693
|
+
action?: string;
|
|
694
|
+
block_reason?: string | null;
|
|
695
|
+
carrier_name?: string | null;
|
|
696
|
+
cart_index?: number;
|
|
697
|
+
cart_number_id?: string | null;
|
|
698
|
+
cart_number_label?: string | null;
|
|
699
|
+
created_at?: string;
|
|
700
|
+
customer_name?: string | null;
|
|
701
|
+
delivery_date?: string | null;
|
|
702
|
+
id?: string;
|
|
703
|
+
new_pick_date?: string | null;
|
|
704
|
+
order_id?: string;
|
|
705
|
+
order_number?: string | null;
|
|
706
|
+
order_source?: string;
|
|
707
|
+
pickup_date?: string | null;
|
|
708
|
+
session_id?: string;
|
|
709
|
+
};
|
|
710
|
+
Relationships: [{
|
|
711
|
+
foreignKeyName: "cart_control_items_session_id_fkey";
|
|
712
|
+
columns: ["session_id"];
|
|
713
|
+
isOneToOne: false;
|
|
714
|
+
referencedRelation: "cart_control_sessions";
|
|
715
|
+
referencedColumns: ["id"];
|
|
716
|
+
}];
|
|
717
|
+
};
|
|
718
|
+
cart_control_sessions: {
|
|
719
|
+
Row: {
|
|
720
|
+
blocked_count: number;
|
|
721
|
+
checked_count: number;
|
|
722
|
+
control_date: string;
|
|
723
|
+
created_at: string;
|
|
724
|
+
id: string;
|
|
725
|
+
notes: string | null;
|
|
726
|
+
performed_at: string;
|
|
727
|
+
rescheduled_count: number;
|
|
728
|
+
stock_consumed_at: string | null;
|
|
729
|
+
total_carts: number;
|
|
730
|
+
updated_at: string;
|
|
731
|
+
user_id: string;
|
|
732
|
+
};
|
|
733
|
+
Insert: {
|
|
734
|
+
blocked_count?: number;
|
|
735
|
+
checked_count?: number;
|
|
736
|
+
control_date?: string;
|
|
737
|
+
created_at?: string;
|
|
738
|
+
id?: string;
|
|
739
|
+
notes?: string | null;
|
|
740
|
+
performed_at?: string;
|
|
741
|
+
rescheduled_count?: number;
|
|
742
|
+
stock_consumed_at?: string | null;
|
|
743
|
+
total_carts?: number;
|
|
744
|
+
updated_at?: string;
|
|
745
|
+
user_id: string;
|
|
746
|
+
};
|
|
747
|
+
Update: {
|
|
748
|
+
blocked_count?: number;
|
|
749
|
+
checked_count?: number;
|
|
750
|
+
control_date?: string;
|
|
751
|
+
created_at?: string;
|
|
752
|
+
id?: string;
|
|
753
|
+
notes?: string | null;
|
|
754
|
+
performed_at?: string;
|
|
755
|
+
rescheduled_count?: number;
|
|
756
|
+
stock_consumed_at?: string | null;
|
|
757
|
+
total_carts?: number;
|
|
758
|
+
updated_at?: string;
|
|
759
|
+
user_id?: string;
|
|
760
|
+
};
|
|
761
|
+
Relationships: [];
|
|
762
|
+
};
|
|
763
|
+
cart_numbers: {
|
|
764
|
+
Row: {
|
|
765
|
+
assigned_at: string;
|
|
766
|
+
cart_index: number;
|
|
767
|
+
cart_number: string;
|
|
768
|
+
day_seq: number;
|
|
769
|
+
id: string;
|
|
770
|
+
order_id: string;
|
|
771
|
+
order_source: string;
|
|
772
|
+
pick_date: string;
|
|
773
|
+
status: string;
|
|
774
|
+
};
|
|
775
|
+
Insert: {
|
|
776
|
+
assigned_at?: string;
|
|
777
|
+
cart_index: number;
|
|
778
|
+
cart_number: string;
|
|
779
|
+
day_seq: number;
|
|
780
|
+
id?: string;
|
|
781
|
+
order_id: string;
|
|
782
|
+
order_source: string;
|
|
783
|
+
pick_date: string;
|
|
784
|
+
status?: string;
|
|
785
|
+
};
|
|
786
|
+
Update: {
|
|
787
|
+
assigned_at?: string;
|
|
788
|
+
cart_index?: number;
|
|
789
|
+
cart_number?: string;
|
|
790
|
+
day_seq?: number;
|
|
791
|
+
id?: string;
|
|
792
|
+
order_id?: string;
|
|
793
|
+
order_source?: string;
|
|
794
|
+
pick_date?: string;
|
|
795
|
+
status?: string;
|
|
796
|
+
};
|
|
797
|
+
Relationships: [];
|
|
798
|
+
};
|
|
574
799
|
cart_pick_overrides: {
|
|
575
800
|
Row: {
|
|
576
801
|
cart_index: number;
|
|
@@ -1243,6 +1468,54 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
1243
1468
|
referencedColumns: ["id"];
|
|
1244
1469
|
}];
|
|
1245
1470
|
};
|
|
1471
|
+
dashboard_critical_alerts: {
|
|
1472
|
+
Row: {
|
|
1473
|
+
alert_key: string;
|
|
1474
|
+
alert_type: string;
|
|
1475
|
+
created_at: string;
|
|
1476
|
+
description: string | null;
|
|
1477
|
+
id: string;
|
|
1478
|
+
metadata: import("../integrations/supabase/types").Json | null;
|
|
1479
|
+
priority: string;
|
|
1480
|
+
raised_at: string;
|
|
1481
|
+
related_cart_ids: string[] | null;
|
|
1482
|
+
resolved_at: string | null;
|
|
1483
|
+
title: string;
|
|
1484
|
+
updated_at: string;
|
|
1485
|
+
user_id: string;
|
|
1486
|
+
};
|
|
1487
|
+
Insert: {
|
|
1488
|
+
alert_key: string;
|
|
1489
|
+
alert_type: string;
|
|
1490
|
+
created_at?: string;
|
|
1491
|
+
description?: string | null;
|
|
1492
|
+
id?: string;
|
|
1493
|
+
metadata?: import("../integrations/supabase/types").Json | null;
|
|
1494
|
+
priority?: string;
|
|
1495
|
+
raised_at?: string;
|
|
1496
|
+
related_cart_ids?: string[] | null;
|
|
1497
|
+
resolved_at?: string | null;
|
|
1498
|
+
title: string;
|
|
1499
|
+
updated_at?: string;
|
|
1500
|
+
user_id: string;
|
|
1501
|
+
};
|
|
1502
|
+
Update: {
|
|
1503
|
+
alert_key?: string;
|
|
1504
|
+
alert_type?: string;
|
|
1505
|
+
created_at?: string;
|
|
1506
|
+
description?: string | null;
|
|
1507
|
+
id?: string;
|
|
1508
|
+
metadata?: import("../integrations/supabase/types").Json | null;
|
|
1509
|
+
priority?: string;
|
|
1510
|
+
raised_at?: string;
|
|
1511
|
+
related_cart_ids?: string[] | null;
|
|
1512
|
+
resolved_at?: string | null;
|
|
1513
|
+
title?: string;
|
|
1514
|
+
updated_at?: string;
|
|
1515
|
+
user_id?: string;
|
|
1516
|
+
};
|
|
1517
|
+
Relationships: [];
|
|
1518
|
+
};
|
|
1246
1519
|
dashboard_daily_reports: {
|
|
1247
1520
|
Row: {
|
|
1248
1521
|
created_at: string;
|
|
@@ -2745,6 +3018,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
2745
3018
|
};
|
|
2746
3019
|
floricode_sync_state: {
|
|
2747
3020
|
Row: {
|
|
3021
|
+
cursor_skip: number;
|
|
2748
3022
|
error_message: string | null;
|
|
2749
3023
|
last_change_date_time: string | null;
|
|
2750
3024
|
last_sequence_number: number;
|
|
@@ -2754,6 +3028,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
2754
3028
|
updated_at: string;
|
|
2755
3029
|
};
|
|
2756
3030
|
Insert: {
|
|
3031
|
+
cursor_skip?: number;
|
|
2757
3032
|
error_message?: string | null;
|
|
2758
3033
|
last_change_date_time?: string | null;
|
|
2759
3034
|
last_sequence_number?: number;
|
|
@@ -2763,6 +3038,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
2763
3038
|
updated_at?: string;
|
|
2764
3039
|
};
|
|
2765
3040
|
Update: {
|
|
3041
|
+
cursor_skip?: number;
|
|
2766
3042
|
error_message?: string | null;
|
|
2767
3043
|
last_change_date_time?: string | null;
|
|
2768
3044
|
last_sequence_number?: number;
|
|
@@ -3358,6 +3634,51 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
3358
3634
|
referencedColumns: ["id"];
|
|
3359
3635
|
}];
|
|
3360
3636
|
};
|
|
3637
|
+
floriday_continuous_stock_queue: {
|
|
3638
|
+
Row: {
|
|
3639
|
+
attempts: number;
|
|
3640
|
+
connection_id: string;
|
|
3641
|
+
created_at: string;
|
|
3642
|
+
gateway_attempt_id: string | null;
|
|
3643
|
+
id: string;
|
|
3644
|
+
last_error: string | null;
|
|
3645
|
+
number_of_pieces: number;
|
|
3646
|
+
sent_at: string | null;
|
|
3647
|
+
status: string;
|
|
3648
|
+
trade_item_id: string;
|
|
3649
|
+
updated_at: string;
|
|
3650
|
+
user_id: string;
|
|
3651
|
+
};
|
|
3652
|
+
Insert: {
|
|
3653
|
+
attempts?: number;
|
|
3654
|
+
connection_id: string;
|
|
3655
|
+
created_at?: string;
|
|
3656
|
+
gateway_attempt_id?: string | null;
|
|
3657
|
+
id?: string;
|
|
3658
|
+
last_error?: string | null;
|
|
3659
|
+
number_of_pieces?: number;
|
|
3660
|
+
sent_at?: string | null;
|
|
3661
|
+
status?: string;
|
|
3662
|
+
trade_item_id: string;
|
|
3663
|
+
updated_at?: string;
|
|
3664
|
+
user_id: string;
|
|
3665
|
+
};
|
|
3666
|
+
Update: {
|
|
3667
|
+
attempts?: number;
|
|
3668
|
+
connection_id?: string;
|
|
3669
|
+
created_at?: string;
|
|
3670
|
+
gateway_attempt_id?: string | null;
|
|
3671
|
+
id?: string;
|
|
3672
|
+
last_error?: string | null;
|
|
3673
|
+
number_of_pieces?: number;
|
|
3674
|
+
sent_at?: string | null;
|
|
3675
|
+
status?: string;
|
|
3676
|
+
trade_item_id?: string;
|
|
3677
|
+
updated_at?: string;
|
|
3678
|
+
user_id?: string;
|
|
3679
|
+
};
|
|
3680
|
+
Relationships: [];
|
|
3681
|
+
};
|
|
3361
3682
|
floriday_contract_trade_item_groups_cache: {
|
|
3362
3683
|
Row: {
|
|
3363
3684
|
connection_id: string;
|
|
@@ -4747,53 +5068,251 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
4747
5068
|
};
|
|
4748
5069
|
Relationships: [];
|
|
4749
5070
|
};
|
|
4750
|
-
|
|
5071
|
+
local_customer_agreements: {
|
|
4751
5072
|
Row: {
|
|
5073
|
+
base_price: number | null;
|
|
4752
5074
|
created_at: string;
|
|
5075
|
+
currency: string;
|
|
5076
|
+
customer_id: string;
|
|
4753
5077
|
id: string;
|
|
4754
|
-
|
|
4755
|
-
|
|
5078
|
+
min_quantity: number;
|
|
5079
|
+
net_price: number;
|
|
5080
|
+
notes: string | null;
|
|
5081
|
+
product_category_id: string | null;
|
|
5082
|
+
product_id: string | null;
|
|
4756
5083
|
updated_at: string;
|
|
5084
|
+
valid_from: string | null;
|
|
5085
|
+
valid_until: string | null;
|
|
4757
5086
|
};
|
|
4758
5087
|
Insert: {
|
|
5088
|
+
base_price?: number | null;
|
|
4759
5089
|
created_at?: string;
|
|
5090
|
+
currency?: string;
|
|
5091
|
+
customer_id: string;
|
|
4760
5092
|
id?: string;
|
|
4761
|
-
|
|
4762
|
-
|
|
5093
|
+
min_quantity?: number;
|
|
5094
|
+
net_price: number;
|
|
5095
|
+
notes?: string | null;
|
|
5096
|
+
product_category_id?: string | null;
|
|
5097
|
+
product_id?: string | null;
|
|
4763
5098
|
updated_at?: string;
|
|
5099
|
+
valid_from?: string | null;
|
|
5100
|
+
valid_until?: string | null;
|
|
4764
5101
|
};
|
|
4765
5102
|
Update: {
|
|
5103
|
+
base_price?: number | null;
|
|
4766
5104
|
created_at?: string;
|
|
5105
|
+
currency?: string;
|
|
5106
|
+
customer_id?: string;
|
|
4767
5107
|
id?: string;
|
|
4768
|
-
|
|
4769
|
-
|
|
5108
|
+
min_quantity?: number;
|
|
5109
|
+
net_price?: number;
|
|
5110
|
+
notes?: string | null;
|
|
5111
|
+
product_category_id?: string | null;
|
|
5112
|
+
product_id?: string | null;
|
|
4770
5113
|
updated_at?: string;
|
|
5114
|
+
valid_from?: string | null;
|
|
5115
|
+
valid_until?: string | null;
|
|
4771
5116
|
};
|
|
4772
|
-
Relationships: [
|
|
5117
|
+
Relationships: [{
|
|
5118
|
+
foreignKeyName: "local_customer_agreements_customer_id_fkey";
|
|
5119
|
+
columns: ["customer_id"];
|
|
5120
|
+
isOneToOne: false;
|
|
5121
|
+
referencedRelation: "customers";
|
|
5122
|
+
referencedColumns: ["id"];
|
|
5123
|
+
}, {
|
|
5124
|
+
foreignKeyName: "local_customer_agreements_product_category_id_fkey";
|
|
5125
|
+
columns: ["product_category_id"];
|
|
5126
|
+
isOneToOne: false;
|
|
5127
|
+
referencedRelation: "product_categories";
|
|
5128
|
+
referencedColumns: ["id"];
|
|
5129
|
+
}, {
|
|
5130
|
+
foreignKeyName: "local_customer_agreements_product_id_fkey";
|
|
5131
|
+
columns: ["product_id"];
|
|
5132
|
+
isOneToOne: false;
|
|
5133
|
+
referencedRelation: "products";
|
|
5134
|
+
referencedColumns: ["id"];
|
|
5135
|
+
}];
|
|
4773
5136
|
};
|
|
4774
|
-
|
|
5137
|
+
local_customer_price_groups: {
|
|
4775
5138
|
Row: {
|
|
4776
|
-
body_html: string | null;
|
|
4777
|
-
body_text: string | null;
|
|
4778
|
-
connection_id: string | null;
|
|
4779
5139
|
created_at: string;
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
5140
|
+
currency: string;
|
|
5141
|
+
customer_id: string;
|
|
5142
|
+
discount_type: string;
|
|
5143
|
+
discount_value: number;
|
|
4784
5144
|
id: string;
|
|
4785
|
-
|
|
4786
|
-
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
status: string;
|
|
4790
|
-
subject: string | null;
|
|
4791
|
-
uid: number | null;
|
|
5145
|
+
min_quantity: number;
|
|
5146
|
+
notes: string | null;
|
|
5147
|
+
product_category_id: string | null;
|
|
5148
|
+
product_id: string | null;
|
|
4792
5149
|
updated_at: string;
|
|
5150
|
+
valid_from: string | null;
|
|
5151
|
+
valid_until: string | null;
|
|
4793
5152
|
};
|
|
4794
5153
|
Insert: {
|
|
4795
|
-
|
|
4796
|
-
|
|
5154
|
+
created_at?: string;
|
|
5155
|
+
currency?: string;
|
|
5156
|
+
customer_id: string;
|
|
5157
|
+
discount_type: string;
|
|
5158
|
+
discount_value: number;
|
|
5159
|
+
id?: string;
|
|
5160
|
+
min_quantity?: number;
|
|
5161
|
+
notes?: string | null;
|
|
5162
|
+
product_category_id?: string | null;
|
|
5163
|
+
product_id?: string | null;
|
|
5164
|
+
updated_at?: string;
|
|
5165
|
+
valid_from?: string | null;
|
|
5166
|
+
valid_until?: string | null;
|
|
5167
|
+
};
|
|
5168
|
+
Update: {
|
|
5169
|
+
created_at?: string;
|
|
5170
|
+
currency?: string;
|
|
5171
|
+
customer_id?: string;
|
|
5172
|
+
discount_type?: string;
|
|
5173
|
+
discount_value?: number;
|
|
5174
|
+
id?: string;
|
|
5175
|
+
min_quantity?: number;
|
|
5176
|
+
notes?: string | null;
|
|
5177
|
+
product_category_id?: string | null;
|
|
5178
|
+
product_id?: string | null;
|
|
5179
|
+
updated_at?: string;
|
|
5180
|
+
valid_from?: string | null;
|
|
5181
|
+
valid_until?: string | null;
|
|
5182
|
+
};
|
|
5183
|
+
Relationships: [{
|
|
5184
|
+
foreignKeyName: "local_customer_price_groups_customer_id_fkey";
|
|
5185
|
+
columns: ["customer_id"];
|
|
5186
|
+
isOneToOne: false;
|
|
5187
|
+
referencedRelation: "customers";
|
|
5188
|
+
referencedColumns: ["id"];
|
|
5189
|
+
}, {
|
|
5190
|
+
foreignKeyName: "local_customer_price_groups_product_category_id_fkey";
|
|
5191
|
+
columns: ["product_category_id"];
|
|
5192
|
+
isOneToOne: false;
|
|
5193
|
+
referencedRelation: "product_categories";
|
|
5194
|
+
referencedColumns: ["id"];
|
|
5195
|
+
}, {
|
|
5196
|
+
foreignKeyName: "local_customer_price_groups_product_id_fkey";
|
|
5197
|
+
columns: ["product_id"];
|
|
5198
|
+
isOneToOne: false;
|
|
5199
|
+
referencedRelation: "products";
|
|
5200
|
+
referencedColumns: ["id"];
|
|
5201
|
+
}];
|
|
5202
|
+
};
|
|
5203
|
+
local_customer_sales_strategies: {
|
|
5204
|
+
Row: {
|
|
5205
|
+
created_at: string;
|
|
5206
|
+
currency: string;
|
|
5207
|
+
customer_id: string;
|
|
5208
|
+
discount_type: string;
|
|
5209
|
+
discount_value: number;
|
|
5210
|
+
id: string;
|
|
5211
|
+
min_quantity: number;
|
|
5212
|
+
notes: string | null;
|
|
5213
|
+
product_category_id: string | null;
|
|
5214
|
+
product_id: string | null;
|
|
5215
|
+
updated_at: string;
|
|
5216
|
+
valid_from: string | null;
|
|
5217
|
+
valid_until: string | null;
|
|
5218
|
+
};
|
|
5219
|
+
Insert: {
|
|
5220
|
+
created_at?: string;
|
|
5221
|
+
currency?: string;
|
|
5222
|
+
customer_id: string;
|
|
5223
|
+
discount_type: string;
|
|
5224
|
+
discount_value: number;
|
|
5225
|
+
id?: string;
|
|
5226
|
+
min_quantity?: number;
|
|
5227
|
+
notes?: string | null;
|
|
5228
|
+
product_category_id?: string | null;
|
|
5229
|
+
product_id?: string | null;
|
|
5230
|
+
updated_at?: string;
|
|
5231
|
+
valid_from?: string | null;
|
|
5232
|
+
valid_until?: string | null;
|
|
5233
|
+
};
|
|
5234
|
+
Update: {
|
|
5235
|
+
created_at?: string;
|
|
5236
|
+
currency?: string;
|
|
5237
|
+
customer_id?: string;
|
|
5238
|
+
discount_type?: string;
|
|
5239
|
+
discount_value?: number;
|
|
5240
|
+
id?: string;
|
|
5241
|
+
min_quantity?: number;
|
|
5242
|
+
notes?: string | null;
|
|
5243
|
+
product_category_id?: string | null;
|
|
5244
|
+
product_id?: string | null;
|
|
5245
|
+
updated_at?: string;
|
|
5246
|
+
valid_from?: string | null;
|
|
5247
|
+
valid_until?: string | null;
|
|
5248
|
+
};
|
|
5249
|
+
Relationships: [{
|
|
5250
|
+
foreignKeyName: "local_customer_sales_strategies_customer_id_fkey";
|
|
5251
|
+
columns: ["customer_id"];
|
|
5252
|
+
isOneToOne: false;
|
|
5253
|
+
referencedRelation: "customers";
|
|
5254
|
+
referencedColumns: ["id"];
|
|
5255
|
+
}, {
|
|
5256
|
+
foreignKeyName: "local_customer_sales_strategies_product_category_id_fkey";
|
|
5257
|
+
columns: ["product_category_id"];
|
|
5258
|
+
isOneToOne: false;
|
|
5259
|
+
referencedRelation: "product_categories";
|
|
5260
|
+
referencedColumns: ["id"];
|
|
5261
|
+
}, {
|
|
5262
|
+
foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
|
|
5263
|
+
columns: ["product_id"];
|
|
5264
|
+
isOneToOne: false;
|
|
5265
|
+
referencedRelation: "products";
|
|
5266
|
+
referencedColumns: ["id"];
|
|
5267
|
+
}];
|
|
5268
|
+
};
|
|
5269
|
+
locations: {
|
|
5270
|
+
Row: {
|
|
5271
|
+
created_at: string;
|
|
5272
|
+
id: string;
|
|
5273
|
+
name: string;
|
|
5274
|
+
sort_order: number;
|
|
5275
|
+
updated_at: string;
|
|
5276
|
+
};
|
|
5277
|
+
Insert: {
|
|
5278
|
+
created_at?: string;
|
|
5279
|
+
id?: string;
|
|
5280
|
+
name: string;
|
|
5281
|
+
sort_order?: number;
|
|
5282
|
+
updated_at?: string;
|
|
5283
|
+
};
|
|
5284
|
+
Update: {
|
|
5285
|
+
created_at?: string;
|
|
5286
|
+
id?: string;
|
|
5287
|
+
name?: string;
|
|
5288
|
+
sort_order?: number;
|
|
5289
|
+
updated_at?: string;
|
|
5290
|
+
};
|
|
5291
|
+
Relationships: [];
|
|
5292
|
+
};
|
|
5293
|
+
mailbox_messages: {
|
|
5294
|
+
Row: {
|
|
5295
|
+
body_html: string | null;
|
|
5296
|
+
body_text: string | null;
|
|
5297
|
+
connection_id: string | null;
|
|
5298
|
+
created_at: string;
|
|
5299
|
+
error_message: string | null;
|
|
5300
|
+
external_id: string | null;
|
|
5301
|
+
from_email: string | null;
|
|
5302
|
+
from_name: string | null;
|
|
5303
|
+
id: string;
|
|
5304
|
+
message_id: string | null;
|
|
5305
|
+
profile_id: string | null;
|
|
5306
|
+
raw_size: number | null;
|
|
5307
|
+
received_at: string | null;
|
|
5308
|
+
status: string;
|
|
5309
|
+
subject: string | null;
|
|
5310
|
+
uid: number | null;
|
|
5311
|
+
updated_at: string;
|
|
5312
|
+
};
|
|
5313
|
+
Insert: {
|
|
5314
|
+
body_html?: string | null;
|
|
5315
|
+
body_text?: string | null;
|
|
4797
5316
|
connection_id?: string | null;
|
|
4798
5317
|
created_at?: string;
|
|
4799
5318
|
error_message?: string | null;
|
|
@@ -5110,6 +5629,93 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
5110
5629
|
};
|
|
5111
5630
|
Relationships: [];
|
|
5112
5631
|
};
|
|
5632
|
+
manufacture_product_components: {
|
|
5633
|
+
Row: {
|
|
5634
|
+
component_type: string;
|
|
5635
|
+
created_at: string;
|
|
5636
|
+
id: string;
|
|
5637
|
+
manufacture_product_id: string;
|
|
5638
|
+
product_group_id: string | null;
|
|
5639
|
+
quantity: number;
|
|
5640
|
+
trade_item_id: string | null;
|
|
5641
|
+
unit: string;
|
|
5642
|
+
};
|
|
5643
|
+
Insert: {
|
|
5644
|
+
component_type: string;
|
|
5645
|
+
created_at?: string;
|
|
5646
|
+
id?: string;
|
|
5647
|
+
manufacture_product_id: string;
|
|
5648
|
+
product_group_id?: string | null;
|
|
5649
|
+
quantity?: number;
|
|
5650
|
+
trade_item_id?: string | null;
|
|
5651
|
+
unit?: string;
|
|
5652
|
+
};
|
|
5653
|
+
Update: {
|
|
5654
|
+
component_type?: string;
|
|
5655
|
+
created_at?: string;
|
|
5656
|
+
id?: string;
|
|
5657
|
+
manufacture_product_id?: string;
|
|
5658
|
+
product_group_id?: string | null;
|
|
5659
|
+
quantity?: number;
|
|
5660
|
+
trade_item_id?: string | null;
|
|
5661
|
+
unit?: string;
|
|
5662
|
+
};
|
|
5663
|
+
Relationships: [{
|
|
5664
|
+
foreignKeyName: "manufacture_product_components_manufacture_product_id_fkey";
|
|
5665
|
+
columns: ["manufacture_product_id"];
|
|
5666
|
+
isOneToOne: false;
|
|
5667
|
+
referencedRelation: "manufacture_product_possible_stock_view";
|
|
5668
|
+
referencedColumns: ["manufacture_product_id"];
|
|
5669
|
+
}, {
|
|
5670
|
+
foreignKeyName: "manufacture_product_components_manufacture_product_id_fkey";
|
|
5671
|
+
columns: ["manufacture_product_id"];
|
|
5672
|
+
isOneToOne: false;
|
|
5673
|
+
referencedRelation: "manufacture_products";
|
|
5674
|
+
referencedColumns: ["id"];
|
|
5675
|
+
}, {
|
|
5676
|
+
foreignKeyName: "manufacture_product_components_product_group_id_fkey";
|
|
5677
|
+
columns: ["product_group_id"];
|
|
5678
|
+
isOneToOne: false;
|
|
5679
|
+
referencedRelation: "product_groups";
|
|
5680
|
+
referencedColumns: ["id"];
|
|
5681
|
+
}];
|
|
5682
|
+
};
|
|
5683
|
+
manufacture_products: {
|
|
5684
|
+
Row: {
|
|
5685
|
+
created_at: string;
|
|
5686
|
+
description: string | null;
|
|
5687
|
+
id: string;
|
|
5688
|
+
is_active: boolean;
|
|
5689
|
+
name: string;
|
|
5690
|
+
produced_stock: number;
|
|
5691
|
+
product_code: string;
|
|
5692
|
+
tenant_id: string;
|
|
5693
|
+
updated_at: string;
|
|
5694
|
+
};
|
|
5695
|
+
Insert: {
|
|
5696
|
+
created_at?: string;
|
|
5697
|
+
description?: string | null;
|
|
5698
|
+
id?: string;
|
|
5699
|
+
is_active?: boolean;
|
|
5700
|
+
name: string;
|
|
5701
|
+
produced_stock?: number;
|
|
5702
|
+
product_code: string;
|
|
5703
|
+
tenant_id: string;
|
|
5704
|
+
updated_at?: string;
|
|
5705
|
+
};
|
|
5706
|
+
Update: {
|
|
5707
|
+
created_at?: string;
|
|
5708
|
+
description?: string | null;
|
|
5709
|
+
id?: string;
|
|
5710
|
+
is_active?: boolean;
|
|
5711
|
+
name?: string;
|
|
5712
|
+
produced_stock?: number;
|
|
5713
|
+
product_code?: string;
|
|
5714
|
+
tenant_id?: string;
|
|
5715
|
+
updated_at?: string;
|
|
5716
|
+
};
|
|
5717
|
+
Relationships: [];
|
|
5718
|
+
};
|
|
5113
5719
|
monteurs: {
|
|
5114
5720
|
Row: {
|
|
5115
5721
|
avatar_url: string | null;
|
|
@@ -5167,6 +5773,273 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
5167
5773
|
referencedColumns: ["id"];
|
|
5168
5774
|
}];
|
|
5169
5775
|
};
|
|
5776
|
+
nmbrs_component_mapping: {
|
|
5777
|
+
Row: {
|
|
5778
|
+
created_at: string;
|
|
5779
|
+
id: string;
|
|
5780
|
+
source_kind: string;
|
|
5781
|
+
source_value: string | null;
|
|
5782
|
+
updated_at: string;
|
|
5783
|
+
wage_code: string;
|
|
5784
|
+
};
|
|
5785
|
+
Insert: {
|
|
5786
|
+
created_at?: string;
|
|
5787
|
+
id?: string;
|
|
5788
|
+
source_kind: string;
|
|
5789
|
+
source_value?: string | null;
|
|
5790
|
+
updated_at?: string;
|
|
5791
|
+
wage_code: string;
|
|
5792
|
+
};
|
|
5793
|
+
Update: {
|
|
5794
|
+
created_at?: string;
|
|
5795
|
+
id?: string;
|
|
5796
|
+
source_kind?: string;
|
|
5797
|
+
source_value?: string | null;
|
|
5798
|
+
updated_at?: string;
|
|
5799
|
+
wage_code?: string;
|
|
5800
|
+
};
|
|
5801
|
+
Relationships: [{
|
|
5802
|
+
foreignKeyName: "nmbrs_component_mapping_wage_code_fkey";
|
|
5803
|
+
columns: ["wage_code"];
|
|
5804
|
+
isOneToOne: false;
|
|
5805
|
+
referencedRelation: "nmbrs_wage_components";
|
|
5806
|
+
referencedColumns: ["code"];
|
|
5807
|
+
}];
|
|
5808
|
+
};
|
|
5809
|
+
nmbrs_employee_mapping: {
|
|
5810
|
+
Row: {
|
|
5811
|
+
active_from: string | null;
|
|
5812
|
+
active_to: string | null;
|
|
5813
|
+
contract_hours_per_week: number | null;
|
|
5814
|
+
created_at: string;
|
|
5815
|
+
hourly_wage: number | null;
|
|
5816
|
+
id: string;
|
|
5817
|
+
monteur_id: string;
|
|
5818
|
+
nmbrs_company_code: string | null;
|
|
5819
|
+
nmbrs_employee_number: string;
|
|
5820
|
+
updated_at: string;
|
|
5821
|
+
};
|
|
5822
|
+
Insert: {
|
|
5823
|
+
active_from?: string | null;
|
|
5824
|
+
active_to?: string | null;
|
|
5825
|
+
contract_hours_per_week?: number | null;
|
|
5826
|
+
created_at?: string;
|
|
5827
|
+
hourly_wage?: number | null;
|
|
5828
|
+
id?: string;
|
|
5829
|
+
monteur_id: string;
|
|
5830
|
+
nmbrs_company_code?: string | null;
|
|
5831
|
+
nmbrs_employee_number: string;
|
|
5832
|
+
updated_at?: string;
|
|
5833
|
+
};
|
|
5834
|
+
Update: {
|
|
5835
|
+
active_from?: string | null;
|
|
5836
|
+
active_to?: string | null;
|
|
5837
|
+
contract_hours_per_week?: number | null;
|
|
5838
|
+
created_at?: string;
|
|
5839
|
+
hourly_wage?: number | null;
|
|
5840
|
+
id?: string;
|
|
5841
|
+
monteur_id?: string;
|
|
5842
|
+
nmbrs_company_code?: string | null;
|
|
5843
|
+
nmbrs_employee_number?: string;
|
|
5844
|
+
updated_at?: string;
|
|
5845
|
+
};
|
|
5846
|
+
Relationships: [{
|
|
5847
|
+
foreignKeyName: "nmbrs_employee_mapping_monteur_id_fkey";
|
|
5848
|
+
columns: ["monteur_id"];
|
|
5849
|
+
isOneToOne: true;
|
|
5850
|
+
referencedRelation: "monteurs";
|
|
5851
|
+
referencedColumns: ["id"];
|
|
5852
|
+
}];
|
|
5853
|
+
};
|
|
5854
|
+
nmbrs_export_lines: {
|
|
5855
|
+
Row: {
|
|
5856
|
+
amount: number;
|
|
5857
|
+
created_at: string;
|
|
5858
|
+
entry_date: string;
|
|
5859
|
+
hours: number;
|
|
5860
|
+
id: string;
|
|
5861
|
+
monteur_id: string;
|
|
5862
|
+
nmbrs_employee_number: string | null;
|
|
5863
|
+
notes: string | null;
|
|
5864
|
+
run_id: string;
|
|
5865
|
+
source_kind: string | null;
|
|
5866
|
+
source_ref_id: string | null;
|
|
5867
|
+
updated_at: string;
|
|
5868
|
+
wage_code: string;
|
|
5869
|
+
};
|
|
5870
|
+
Insert: {
|
|
5871
|
+
amount?: number;
|
|
5872
|
+
created_at?: string;
|
|
5873
|
+
entry_date: string;
|
|
5874
|
+
hours?: number;
|
|
5875
|
+
id?: string;
|
|
5876
|
+
monteur_id: string;
|
|
5877
|
+
nmbrs_employee_number?: string | null;
|
|
5878
|
+
notes?: string | null;
|
|
5879
|
+
run_id: string;
|
|
5880
|
+
source_kind?: string | null;
|
|
5881
|
+
source_ref_id?: string | null;
|
|
5882
|
+
updated_at?: string;
|
|
5883
|
+
wage_code: string;
|
|
5884
|
+
};
|
|
5885
|
+
Update: {
|
|
5886
|
+
amount?: number;
|
|
5887
|
+
created_at?: string;
|
|
5888
|
+
entry_date?: string;
|
|
5889
|
+
hours?: number;
|
|
5890
|
+
id?: string;
|
|
5891
|
+
monteur_id?: string;
|
|
5892
|
+
nmbrs_employee_number?: string | null;
|
|
5893
|
+
notes?: string | null;
|
|
5894
|
+
run_id?: string;
|
|
5895
|
+
source_kind?: string | null;
|
|
5896
|
+
source_ref_id?: string | null;
|
|
5897
|
+
updated_at?: string;
|
|
5898
|
+
wage_code?: string;
|
|
5899
|
+
};
|
|
5900
|
+
Relationships: [{
|
|
5901
|
+
foreignKeyName: "nmbrs_export_lines_monteur_id_fkey";
|
|
5902
|
+
columns: ["monteur_id"];
|
|
5903
|
+
isOneToOne: false;
|
|
5904
|
+
referencedRelation: "monteurs";
|
|
5905
|
+
referencedColumns: ["id"];
|
|
5906
|
+
}, {
|
|
5907
|
+
foreignKeyName: "nmbrs_export_lines_run_id_fkey";
|
|
5908
|
+
columns: ["run_id"];
|
|
5909
|
+
isOneToOne: false;
|
|
5910
|
+
referencedRelation: "nmbrs_export_runs";
|
|
5911
|
+
referencedColumns: ["id"];
|
|
5912
|
+
}, {
|
|
5913
|
+
foreignKeyName: "nmbrs_export_lines_wage_code_fkey";
|
|
5914
|
+
columns: ["wage_code"];
|
|
5915
|
+
isOneToOne: false;
|
|
5916
|
+
referencedRelation: "nmbrs_wage_components";
|
|
5917
|
+
referencedColumns: ["code"];
|
|
5918
|
+
}];
|
|
5919
|
+
};
|
|
5920
|
+
nmbrs_export_runs: {
|
|
5921
|
+
Row: {
|
|
5922
|
+
created_at: string;
|
|
5923
|
+
file_name: string | null;
|
|
5924
|
+
generated_at: string;
|
|
5925
|
+
generated_by: string | null;
|
|
5926
|
+
id: string;
|
|
5927
|
+
notes: string | null;
|
|
5928
|
+
period_end: string;
|
|
5929
|
+
period_label: string;
|
|
5930
|
+
period_start: string;
|
|
5931
|
+
status: string;
|
|
5932
|
+
total_hours: number;
|
|
5933
|
+
total_lines: number;
|
|
5934
|
+
updated_at: string;
|
|
5935
|
+
};
|
|
5936
|
+
Insert: {
|
|
5937
|
+
created_at?: string;
|
|
5938
|
+
file_name?: string | null;
|
|
5939
|
+
generated_at?: string;
|
|
5940
|
+
generated_by?: string | null;
|
|
5941
|
+
id?: string;
|
|
5942
|
+
notes?: string | null;
|
|
5943
|
+
period_end: string;
|
|
5944
|
+
period_label: string;
|
|
5945
|
+
period_start: string;
|
|
5946
|
+
status?: string;
|
|
5947
|
+
total_hours?: number;
|
|
5948
|
+
total_lines?: number;
|
|
5949
|
+
updated_at?: string;
|
|
5950
|
+
};
|
|
5951
|
+
Update: {
|
|
5952
|
+
created_at?: string;
|
|
5953
|
+
file_name?: string | null;
|
|
5954
|
+
generated_at?: string;
|
|
5955
|
+
generated_by?: string | null;
|
|
5956
|
+
id?: string;
|
|
5957
|
+
notes?: string | null;
|
|
5958
|
+
period_end?: string;
|
|
5959
|
+
period_label?: string;
|
|
5960
|
+
period_start?: string;
|
|
5961
|
+
status?: string;
|
|
5962
|
+
total_hours?: number;
|
|
5963
|
+
total_lines?: number;
|
|
5964
|
+
updated_at?: string;
|
|
5965
|
+
};
|
|
5966
|
+
Relationships: [];
|
|
5967
|
+
};
|
|
5968
|
+
nmbrs_settings: {
|
|
5969
|
+
Row: {
|
|
5970
|
+
created_at: string;
|
|
5971
|
+
default_company_code: string | null;
|
|
5972
|
+
id: boolean;
|
|
5973
|
+
include_travel: boolean;
|
|
5974
|
+
overtime_threshold_daily: number;
|
|
5975
|
+
overtime_threshold_weekly: number;
|
|
5976
|
+
period_type: string;
|
|
5977
|
+
updated_at: string;
|
|
5978
|
+
updated_by: string | null;
|
|
5979
|
+
week_start_day: number;
|
|
5980
|
+
};
|
|
5981
|
+
Insert: {
|
|
5982
|
+
created_at?: string;
|
|
5983
|
+
default_company_code?: string | null;
|
|
5984
|
+
id?: boolean;
|
|
5985
|
+
include_travel?: boolean;
|
|
5986
|
+
overtime_threshold_daily?: number;
|
|
5987
|
+
overtime_threshold_weekly?: number;
|
|
5988
|
+
period_type?: string;
|
|
5989
|
+
updated_at?: string;
|
|
5990
|
+
updated_by?: string | null;
|
|
5991
|
+
week_start_day?: number;
|
|
5992
|
+
};
|
|
5993
|
+
Update: {
|
|
5994
|
+
created_at?: string;
|
|
5995
|
+
default_company_code?: string | null;
|
|
5996
|
+
id?: boolean;
|
|
5997
|
+
include_travel?: boolean;
|
|
5998
|
+
overtime_threshold_daily?: number;
|
|
5999
|
+
overtime_threshold_weekly?: number;
|
|
6000
|
+
period_type?: string;
|
|
6001
|
+
updated_at?: string;
|
|
6002
|
+
updated_by?: string | null;
|
|
6003
|
+
week_start_day?: number;
|
|
6004
|
+
};
|
|
6005
|
+
Relationships: [];
|
|
6006
|
+
};
|
|
6007
|
+
nmbrs_wage_components: {
|
|
6008
|
+
Row: {
|
|
6009
|
+
category: string;
|
|
6010
|
+
code: string;
|
|
6011
|
+
created_at: string;
|
|
6012
|
+
id: string;
|
|
6013
|
+
is_active: boolean;
|
|
6014
|
+
label: string;
|
|
6015
|
+
sort_order: number;
|
|
6016
|
+
unit: string;
|
|
6017
|
+
updated_at: string;
|
|
6018
|
+
};
|
|
6019
|
+
Insert: {
|
|
6020
|
+
category: string;
|
|
6021
|
+
code: string;
|
|
6022
|
+
created_at?: string;
|
|
6023
|
+
id?: string;
|
|
6024
|
+
is_active?: boolean;
|
|
6025
|
+
label: string;
|
|
6026
|
+
sort_order?: number;
|
|
6027
|
+
unit: string;
|
|
6028
|
+
updated_at?: string;
|
|
6029
|
+
};
|
|
6030
|
+
Update: {
|
|
6031
|
+
category?: string;
|
|
6032
|
+
code?: string;
|
|
6033
|
+
created_at?: string;
|
|
6034
|
+
id?: string;
|
|
6035
|
+
is_active?: boolean;
|
|
6036
|
+
label?: string;
|
|
6037
|
+
sort_order?: number;
|
|
6038
|
+
unit?: string;
|
|
6039
|
+
updated_at?: string;
|
|
6040
|
+
};
|
|
6041
|
+
Relationships: [];
|
|
6042
|
+
};
|
|
5170
6043
|
notifications: {
|
|
5171
6044
|
Row: {
|
|
5172
6045
|
created_at: string;
|
|
@@ -6070,6 +6943,66 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
6070
6943
|
};
|
|
6071
6944
|
Relationships: [];
|
|
6072
6945
|
};
|
|
6946
|
+
product_group_items: {
|
|
6947
|
+
Row: {
|
|
6948
|
+
created_at: string;
|
|
6949
|
+
id: string;
|
|
6950
|
+
product_group_id: string;
|
|
6951
|
+
quantity: number;
|
|
6952
|
+
trade_item_id: string;
|
|
6953
|
+
};
|
|
6954
|
+
Insert: {
|
|
6955
|
+
created_at?: string;
|
|
6956
|
+
id?: string;
|
|
6957
|
+
product_group_id: string;
|
|
6958
|
+
quantity?: number;
|
|
6959
|
+
trade_item_id: string;
|
|
6960
|
+
};
|
|
6961
|
+
Update: {
|
|
6962
|
+
created_at?: string;
|
|
6963
|
+
id?: string;
|
|
6964
|
+
product_group_id?: string;
|
|
6965
|
+
quantity?: number;
|
|
6966
|
+
trade_item_id?: string;
|
|
6967
|
+
};
|
|
6968
|
+
Relationships: [{
|
|
6969
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
6970
|
+
columns: ["product_group_id"];
|
|
6971
|
+
isOneToOne: false;
|
|
6972
|
+
referencedRelation: "product_groups";
|
|
6973
|
+
referencedColumns: ["id"];
|
|
6974
|
+
}];
|
|
6975
|
+
};
|
|
6976
|
+
product_groups: {
|
|
6977
|
+
Row: {
|
|
6978
|
+
created_at: string;
|
|
6979
|
+
description: string | null;
|
|
6980
|
+
id: string;
|
|
6981
|
+
is_active: boolean;
|
|
6982
|
+
name: string;
|
|
6983
|
+
tenant_id: string;
|
|
6984
|
+
updated_at: string;
|
|
6985
|
+
};
|
|
6986
|
+
Insert: {
|
|
6987
|
+
created_at?: string;
|
|
6988
|
+
description?: string | null;
|
|
6989
|
+
id?: string;
|
|
6990
|
+
is_active?: boolean;
|
|
6991
|
+
name: string;
|
|
6992
|
+
tenant_id: string;
|
|
6993
|
+
updated_at?: string;
|
|
6994
|
+
};
|
|
6995
|
+
Update: {
|
|
6996
|
+
created_at?: string;
|
|
6997
|
+
description?: string | null;
|
|
6998
|
+
id?: string;
|
|
6999
|
+
is_active?: boolean;
|
|
7000
|
+
name?: string;
|
|
7001
|
+
tenant_id?: string;
|
|
7002
|
+
updated_at?: string;
|
|
7003
|
+
};
|
|
7004
|
+
Relationships: [];
|
|
7005
|
+
};
|
|
6073
7006
|
products: {
|
|
6074
7007
|
Row: {
|
|
6075
7008
|
barcode: string | null;
|
|
@@ -6089,6 +7022,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
6089
7022
|
purchase_price: number | null;
|
|
6090
7023
|
quantity: number;
|
|
6091
7024
|
sale_price: number | null;
|
|
7025
|
+
trade_item_key: string | null;
|
|
6092
7026
|
unit: string;
|
|
6093
7027
|
updated_at: string;
|
|
6094
7028
|
weight: string | null;
|
|
@@ -6111,6 +7045,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
6111
7045
|
purchase_price?: number | null;
|
|
6112
7046
|
quantity?: number;
|
|
6113
7047
|
sale_price?: number | null;
|
|
7048
|
+
trade_item_key?: string | null;
|
|
6114
7049
|
unit?: string;
|
|
6115
7050
|
updated_at?: string;
|
|
6116
7051
|
weight?: string | null;
|
|
@@ -6133,6 +7068,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
6133
7068
|
purchase_price?: number | null;
|
|
6134
7069
|
quantity?: number;
|
|
6135
7070
|
sale_price?: number | null;
|
|
7071
|
+
trade_item_key?: string | null;
|
|
6136
7072
|
unit?: string;
|
|
6137
7073
|
updated_at?: string;
|
|
6138
7074
|
weight?: string | null;
|
|
@@ -6935,20 +7871,116 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
6935
7871
|
description?: string | null;
|
|
6936
7872
|
hourly_rate?: number;
|
|
6937
7873
|
id?: string;
|
|
6938
|
-
image_url?: string | null;
|
|
6939
|
-
is_active?: boolean;
|
|
6940
|
-
name: string;
|
|
7874
|
+
image_url?: string | null;
|
|
7875
|
+
is_active?: boolean;
|
|
7876
|
+
name: string;
|
|
7877
|
+
};
|
|
7878
|
+
Update: {
|
|
7879
|
+
capacity?: number;
|
|
7880
|
+
color_code?: string | null;
|
|
7881
|
+
created_at?: string;
|
|
7882
|
+
description?: string | null;
|
|
7883
|
+
hourly_rate?: number;
|
|
7884
|
+
id?: string;
|
|
7885
|
+
image_url?: string | null;
|
|
7886
|
+
is_active?: boolean;
|
|
7887
|
+
name?: string;
|
|
7888
|
+
};
|
|
7889
|
+
Relationships: [];
|
|
7890
|
+
};
|
|
7891
|
+
stock_import_runs: {
|
|
7892
|
+
Row: {
|
|
7893
|
+
connection_id: string | null;
|
|
7894
|
+
created_at: string;
|
|
7895
|
+
created_rows: number;
|
|
7896
|
+
errors: import("../integrations/supabase/types").Json;
|
|
7897
|
+
filename: string | null;
|
|
7898
|
+
id: string;
|
|
7899
|
+
mutations: import("../integrations/supabase/types").Json;
|
|
7900
|
+
skipped_rows: number;
|
|
7901
|
+
total_rows: number;
|
|
7902
|
+
updated_rows: number;
|
|
7903
|
+
user_id: string;
|
|
7904
|
+
};
|
|
7905
|
+
Insert: {
|
|
7906
|
+
connection_id?: string | null;
|
|
7907
|
+
created_at?: string;
|
|
7908
|
+
created_rows?: number;
|
|
7909
|
+
errors?: import("../integrations/supabase/types").Json;
|
|
7910
|
+
filename?: string | null;
|
|
7911
|
+
id?: string;
|
|
7912
|
+
mutations?: import("../integrations/supabase/types").Json;
|
|
7913
|
+
skipped_rows?: number;
|
|
7914
|
+
total_rows?: number;
|
|
7915
|
+
updated_rows?: number;
|
|
7916
|
+
user_id: string;
|
|
7917
|
+
};
|
|
7918
|
+
Update: {
|
|
7919
|
+
connection_id?: string | null;
|
|
7920
|
+
created_at?: string;
|
|
7921
|
+
created_rows?: number;
|
|
7922
|
+
errors?: import("../integrations/supabase/types").Json;
|
|
7923
|
+
filename?: string | null;
|
|
7924
|
+
id?: string;
|
|
7925
|
+
mutations?: import("../integrations/supabase/types").Json;
|
|
7926
|
+
skipped_rows?: number;
|
|
7927
|
+
total_rows?: number;
|
|
7928
|
+
updated_rows?: number;
|
|
7929
|
+
user_id?: string;
|
|
7930
|
+
};
|
|
7931
|
+
Relationships: [];
|
|
7932
|
+
};
|
|
7933
|
+
stock_mutation_log: {
|
|
7934
|
+
Row: {
|
|
7935
|
+
connection_id: string | null;
|
|
7936
|
+
created_at: string;
|
|
7937
|
+
created_by: string | null;
|
|
7938
|
+
id: string;
|
|
7939
|
+
mutation_type: string;
|
|
7940
|
+
order_id: string | null;
|
|
7941
|
+
order_item_id: string | null;
|
|
7942
|
+
order_source: string | null;
|
|
7943
|
+
physical_after: number | null;
|
|
7944
|
+
physical_before: number | null;
|
|
7945
|
+
qty_delta: number;
|
|
7946
|
+
reason: string | null;
|
|
7947
|
+
reserved_after: number | null;
|
|
7948
|
+
reserved_before: number | null;
|
|
7949
|
+
trade_item_key: string;
|
|
7950
|
+
};
|
|
7951
|
+
Insert: {
|
|
7952
|
+
connection_id?: string | null;
|
|
7953
|
+
created_at?: string;
|
|
7954
|
+
created_by?: string | null;
|
|
7955
|
+
id?: string;
|
|
7956
|
+
mutation_type: string;
|
|
7957
|
+
order_id?: string | null;
|
|
7958
|
+
order_item_id?: string | null;
|
|
7959
|
+
order_source?: string | null;
|
|
7960
|
+
physical_after?: number | null;
|
|
7961
|
+
physical_before?: number | null;
|
|
7962
|
+
qty_delta: number;
|
|
7963
|
+
reason?: string | null;
|
|
7964
|
+
reserved_after?: number | null;
|
|
7965
|
+
reserved_before?: number | null;
|
|
7966
|
+
trade_item_key: string;
|
|
6941
7967
|
};
|
|
6942
7968
|
Update: {
|
|
6943
|
-
|
|
6944
|
-
color_code?: string | null;
|
|
7969
|
+
connection_id?: string | null;
|
|
6945
7970
|
created_at?: string;
|
|
6946
|
-
|
|
6947
|
-
hourly_rate?: number;
|
|
7971
|
+
created_by?: string | null;
|
|
6948
7972
|
id?: string;
|
|
6949
|
-
|
|
6950
|
-
|
|
6951
|
-
|
|
7973
|
+
mutation_type?: string;
|
|
7974
|
+
order_id?: string | null;
|
|
7975
|
+
order_item_id?: string | null;
|
|
7976
|
+
order_source?: string | null;
|
|
7977
|
+
physical_after?: number | null;
|
|
7978
|
+
physical_before?: number | null;
|
|
7979
|
+
qty_delta?: number;
|
|
7980
|
+
reason?: string | null;
|
|
7981
|
+
reserved_after?: number | null;
|
|
7982
|
+
reserved_before?: number | null;
|
|
7983
|
+
trade_item_key?: string;
|
|
6952
7984
|
};
|
|
6953
7985
|
Relationships: [];
|
|
6954
7986
|
};
|
|
@@ -7209,7 +8241,13 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7209
8241
|
connection_id: string | null;
|
|
7210
8242
|
created_at: string;
|
|
7211
8243
|
data: import("../integrations/supabase/types").Json;
|
|
8244
|
+
floriday_id: string | null;
|
|
8245
|
+
floriday_link_error: string | null;
|
|
8246
|
+
floriday_link_status: string;
|
|
7212
8247
|
id: string;
|
|
8248
|
+
last_floriday_sync_at: string | null;
|
|
8249
|
+
missing_required_fields: string[];
|
|
8250
|
+
source: string;
|
|
7213
8251
|
updated_at: string;
|
|
7214
8252
|
user_id: string;
|
|
7215
8253
|
};
|
|
@@ -7217,7 +8255,13 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7217
8255
|
connection_id?: string | null;
|
|
7218
8256
|
created_at?: string;
|
|
7219
8257
|
data?: import("../integrations/supabase/types").Json;
|
|
8258
|
+
floriday_id?: string | null;
|
|
8259
|
+
floriday_link_error?: string | null;
|
|
8260
|
+
floriday_link_status?: string;
|
|
7220
8261
|
id?: string;
|
|
8262
|
+
last_floriday_sync_at?: string | null;
|
|
8263
|
+
missing_required_fields?: string[];
|
|
8264
|
+
source?: string;
|
|
7221
8265
|
updated_at?: string;
|
|
7222
8266
|
user_id: string;
|
|
7223
8267
|
};
|
|
@@ -7225,7 +8269,55 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7225
8269
|
connection_id?: string | null;
|
|
7226
8270
|
created_at?: string;
|
|
7227
8271
|
data?: import("../integrations/supabase/types").Json;
|
|
8272
|
+
floriday_id?: string | null;
|
|
8273
|
+
floriday_link_error?: string | null;
|
|
8274
|
+
floriday_link_status?: string;
|
|
8275
|
+
id?: string;
|
|
8276
|
+
last_floriday_sync_at?: string | null;
|
|
8277
|
+
missing_required_fields?: string[];
|
|
8278
|
+
source?: string;
|
|
8279
|
+
updated_at?: string;
|
|
8280
|
+
user_id?: string;
|
|
8281
|
+
};
|
|
8282
|
+
Relationships: [];
|
|
8283
|
+
};
|
|
8284
|
+
trade_item_stock: {
|
|
8285
|
+
Row: {
|
|
8286
|
+
connection_id: string;
|
|
8287
|
+
created_at: string;
|
|
8288
|
+
id: string;
|
|
8289
|
+
incoming_stock: number;
|
|
8290
|
+
minimum_stock: number;
|
|
8291
|
+
notes: string | null;
|
|
8292
|
+
physical_stock: number;
|
|
8293
|
+
reserved_stock: number;
|
|
8294
|
+
trade_item_key: string;
|
|
8295
|
+
updated_at: string;
|
|
8296
|
+
user_id: string;
|
|
8297
|
+
};
|
|
8298
|
+
Insert: {
|
|
8299
|
+
connection_id: string;
|
|
8300
|
+
created_at?: string;
|
|
8301
|
+
id?: string;
|
|
8302
|
+
incoming_stock?: number;
|
|
8303
|
+
minimum_stock?: number;
|
|
8304
|
+
notes?: string | null;
|
|
8305
|
+
physical_stock?: number;
|
|
8306
|
+
reserved_stock?: number;
|
|
8307
|
+
trade_item_key: string;
|
|
8308
|
+
updated_at?: string;
|
|
8309
|
+
user_id: string;
|
|
8310
|
+
};
|
|
8311
|
+
Update: {
|
|
8312
|
+
connection_id?: string;
|
|
8313
|
+
created_at?: string;
|
|
7228
8314
|
id?: string;
|
|
8315
|
+
incoming_stock?: number;
|
|
8316
|
+
minimum_stock?: number;
|
|
8317
|
+
notes?: string | null;
|
|
8318
|
+
physical_stock?: number;
|
|
8319
|
+
reserved_stock?: number;
|
|
8320
|
+
trade_item_key?: string;
|
|
7229
8321
|
updated_at?: string;
|
|
7230
8322
|
user_id?: string;
|
|
7231
8323
|
};
|
|
@@ -7575,6 +8667,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7575
8667
|
};
|
|
7576
8668
|
twinfield_invoice_sync_logs: {
|
|
7577
8669
|
Row: {
|
|
8670
|
+
action_type: string | null;
|
|
7578
8671
|
created_at: string;
|
|
7579
8672
|
details: import("../integrations/supabase/types").Json | null;
|
|
7580
8673
|
duration_ms: number | null;
|
|
@@ -7587,6 +8680,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7587
8680
|
user_id: string;
|
|
7588
8681
|
};
|
|
7589
8682
|
Insert: {
|
|
8683
|
+
action_type?: string | null;
|
|
7590
8684
|
created_at?: string;
|
|
7591
8685
|
details?: import("../integrations/supabase/types").Json | null;
|
|
7592
8686
|
duration_ms?: number | null;
|
|
@@ -7599,6 +8693,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7599
8693
|
user_id: string;
|
|
7600
8694
|
};
|
|
7601
8695
|
Update: {
|
|
8696
|
+
action_type?: string | null;
|
|
7602
8697
|
created_at?: string;
|
|
7603
8698
|
details?: import("../integrations/supabase/types").Json | null;
|
|
7604
8699
|
duration_ms?: number | null;
|
|
@@ -7834,6 +8929,57 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7834
8929
|
referencedColumns: ["id"];
|
|
7835
8930
|
}];
|
|
7836
8931
|
};
|
|
8932
|
+
twinfield_request_metrics: {
|
|
8933
|
+
Row: {
|
|
8934
|
+
bucket_hour: string;
|
|
8935
|
+
connection_id: string;
|
|
8936
|
+
error_count: number;
|
|
8937
|
+
rate_limited_count: number;
|
|
8938
|
+
request_count: number;
|
|
8939
|
+
updated_at: string;
|
|
8940
|
+
};
|
|
8941
|
+
Insert: {
|
|
8942
|
+
bucket_hour: string;
|
|
8943
|
+
connection_id: string;
|
|
8944
|
+
error_count?: number;
|
|
8945
|
+
rate_limited_count?: number;
|
|
8946
|
+
request_count?: number;
|
|
8947
|
+
updated_at?: string;
|
|
8948
|
+
};
|
|
8949
|
+
Update: {
|
|
8950
|
+
bucket_hour?: string;
|
|
8951
|
+
connection_id?: string;
|
|
8952
|
+
error_count?: number;
|
|
8953
|
+
rate_limited_count?: number;
|
|
8954
|
+
request_count?: number;
|
|
8955
|
+
updated_at?: string;
|
|
8956
|
+
};
|
|
8957
|
+
Relationships: [];
|
|
8958
|
+
};
|
|
8959
|
+
twinfield_session_cache: {
|
|
8960
|
+
Row: {
|
|
8961
|
+
cluster: string;
|
|
8962
|
+
created_at: string;
|
|
8963
|
+
expires_at: string;
|
|
8964
|
+
session_id: string;
|
|
8965
|
+
user_id: string;
|
|
8966
|
+
};
|
|
8967
|
+
Insert: {
|
|
8968
|
+
cluster: string;
|
|
8969
|
+
created_at?: string;
|
|
8970
|
+
expires_at: string;
|
|
8971
|
+
session_id: string;
|
|
8972
|
+
user_id: string;
|
|
8973
|
+
};
|
|
8974
|
+
Update: {
|
|
8975
|
+
cluster?: string;
|
|
8976
|
+
created_at?: string;
|
|
8977
|
+
expires_at?: string;
|
|
8978
|
+
session_id?: string;
|
|
8979
|
+
user_id?: string;
|
|
8980
|
+
};
|
|
8981
|
+
Relationships: [];
|
|
8982
|
+
};
|
|
7837
8983
|
twinfield_settings: {
|
|
7838
8984
|
Row: {
|
|
7839
8985
|
active_environment: string;
|
|
@@ -8415,6 +9561,73 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8415
9561
|
};
|
|
8416
9562
|
Relationships: [];
|
|
8417
9563
|
};
|
|
9564
|
+
floriday_customer_discounts: {
|
|
9565
|
+
Row: {
|
|
9566
|
+
base_price: number | null;
|
|
9567
|
+
buyer_organization_id: string | null;
|
|
9568
|
+
currency: string | null;
|
|
9569
|
+
discount_type: string | null;
|
|
9570
|
+
discount_value: number | null;
|
|
9571
|
+
min_quantity: number | null;
|
|
9572
|
+
net_price: number | null;
|
|
9573
|
+
product_group_id: string | null;
|
|
9574
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
9575
|
+
source: string | null;
|
|
9576
|
+
source_id: string | null;
|
|
9577
|
+
trade_item_id: string | null;
|
|
9578
|
+
valid_from: string | null;
|
|
9579
|
+
valid_until: string | null;
|
|
9580
|
+
};
|
|
9581
|
+
Relationships: [];
|
|
9582
|
+
};
|
|
9583
|
+
local_customer_discounts: {
|
|
9584
|
+
Row: {
|
|
9585
|
+
base_price: number | null;
|
|
9586
|
+
currency: string | null;
|
|
9587
|
+
customer_id: string | null;
|
|
9588
|
+
discount_type: string | null;
|
|
9589
|
+
discount_value: number | null;
|
|
9590
|
+
min_quantity: number | null;
|
|
9591
|
+
net_price: number | null;
|
|
9592
|
+
product_category_id: string | null;
|
|
9593
|
+
product_id: string | null;
|
|
9594
|
+
product_name: string | null;
|
|
9595
|
+
source: string | null;
|
|
9596
|
+
source_id: string | null;
|
|
9597
|
+
valid_from: string | null;
|
|
9598
|
+
valid_until: string | null;
|
|
9599
|
+
};
|
|
9600
|
+
Relationships: [];
|
|
9601
|
+
};
|
|
9602
|
+
manufacture_product_possible_stock_view: {
|
|
9603
|
+
Row: {
|
|
9604
|
+
component_count: number | null;
|
|
9605
|
+
manufacture_product_id: string | null;
|
|
9606
|
+
possible_stock: number | null;
|
|
9607
|
+
};
|
|
9608
|
+
Relationships: [];
|
|
9609
|
+
};
|
|
9610
|
+
product_group_stock_view: {
|
|
9611
|
+
Row: {
|
|
9612
|
+
item_count: number | null;
|
|
9613
|
+
product_group_id: string | null;
|
|
9614
|
+
total_stock: number | null;
|
|
9615
|
+
};
|
|
9616
|
+
Relationships: [{
|
|
9617
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
9618
|
+
columns: ["product_group_id"];
|
|
9619
|
+
isOneToOne: false;
|
|
9620
|
+
referencedRelation: "product_groups";
|
|
9621
|
+
referencedColumns: ["id"];
|
|
9622
|
+
}];
|
|
9623
|
+
};
|
|
9624
|
+
trade_item_stock_view: {
|
|
9625
|
+
Row: {
|
|
9626
|
+
stock: number | null;
|
|
9627
|
+
trade_item_id: string | null;
|
|
9628
|
+
};
|
|
9629
|
+
Relationships: [];
|
|
9630
|
+
};
|
|
8418
9631
|
v_external_customers_exact: {
|
|
8419
9632
|
Row: {
|
|
8420
9633
|
account_number: string | null;
|
|
@@ -8670,6 +9883,68 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8670
9883
|
};
|
|
8671
9884
|
Returns: number;
|
|
8672
9885
|
};
|
|
9886
|
+
afh_city_code: {
|
|
9887
|
+
Args: {
|
|
9888
|
+
_city: string;
|
|
9889
|
+
_country: string;
|
|
9890
|
+
};
|
|
9891
|
+
Returns: string;
|
|
9892
|
+
};
|
|
9893
|
+
afh_normalize_country: {
|
|
9894
|
+
Args: {
|
|
9895
|
+
_raw: string;
|
|
9896
|
+
};
|
|
9897
|
+
Returns: string;
|
|
9898
|
+
};
|
|
9899
|
+
afh_normalize_nl_province: {
|
|
9900
|
+
Args: {
|
|
9901
|
+
_raw: string;
|
|
9902
|
+
};
|
|
9903
|
+
Returns: string;
|
|
9904
|
+
};
|
|
9905
|
+
afh_subtract_workdays: {
|
|
9906
|
+
Args: {
|
|
9907
|
+
_date: string;
|
|
9908
|
+
_days: number;
|
|
9909
|
+
};
|
|
9910
|
+
Returns: string;
|
|
9911
|
+
};
|
|
9912
|
+
apply_stock_consumption: {
|
|
9913
|
+
Args: {
|
|
9914
|
+
p_order_id: string;
|
|
9915
|
+
p_order_item_id: string;
|
|
9916
|
+
p_qty: number;
|
|
9917
|
+
p_reason: string;
|
|
9918
|
+
p_source: string;
|
|
9919
|
+
p_trade_item_key: string;
|
|
9920
|
+
};
|
|
9921
|
+
Returns: undefined;
|
|
9922
|
+
};
|
|
9923
|
+
apply_stock_reservation: {
|
|
9924
|
+
Args: {
|
|
9925
|
+
p_order_id: string;
|
|
9926
|
+
p_order_item_id: string;
|
|
9927
|
+
p_qty: number;
|
|
9928
|
+
p_reason: string;
|
|
9929
|
+
p_source: string;
|
|
9930
|
+
p_trade_item_key: string;
|
|
9931
|
+
};
|
|
9932
|
+
Returns: undefined;
|
|
9933
|
+
};
|
|
9934
|
+
assign_cart_numbers: {
|
|
9935
|
+
Args: {
|
|
9936
|
+
p_carts: import("../integrations/supabase/types").Json;
|
|
9937
|
+
};
|
|
9938
|
+
Returns: {
|
|
9939
|
+
cart_index: number;
|
|
9940
|
+
cart_number: string;
|
|
9941
|
+
day_seq: number;
|
|
9942
|
+
order_id: string;
|
|
9943
|
+
order_source: string;
|
|
9944
|
+
pick_date: string;
|
|
9945
|
+
status: string;
|
|
9946
|
+
}[];
|
|
9947
|
+
};
|
|
8673
9948
|
assign_floriday_order_numbers: {
|
|
8674
9949
|
Args: {
|
|
8675
9950
|
p_ids: string[];
|
|
@@ -8679,20 +9954,75 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8679
9954
|
order_number: string;
|
|
8680
9955
|
}[];
|
|
8681
9956
|
};
|
|
9957
|
+
backfill_open_order_reservations: {
|
|
9958
|
+
Args: never;
|
|
9959
|
+
Returns: {
|
|
9960
|
+
processed_items: number;
|
|
9961
|
+
}[];
|
|
9962
|
+
};
|
|
8682
9963
|
call_exact_route: {
|
|
8683
9964
|
Args: {
|
|
8684
9965
|
path: string;
|
|
8685
9966
|
};
|
|
8686
9967
|
Returns: number;
|
|
8687
9968
|
};
|
|
9969
|
+
check_offer_product_available_stock: {
|
|
9970
|
+
Args: {
|
|
9971
|
+
p_campaign_product_id: string;
|
|
9972
|
+
p_code: string;
|
|
9973
|
+
p_needed_qty?: number;
|
|
9974
|
+
p_product_name?: string;
|
|
9975
|
+
};
|
|
9976
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
9977
|
+
};
|
|
9978
|
+
check_trade_item_available_stock: {
|
|
9979
|
+
Args: {
|
|
9980
|
+
p_connection_id?: string;
|
|
9981
|
+
p_context?: string;
|
|
9982
|
+
p_needed_qty?: number;
|
|
9983
|
+
p_order_id?: string;
|
|
9984
|
+
p_order_item_id?: string;
|
|
9985
|
+
p_owner_id?: string;
|
|
9986
|
+
p_product_name?: string;
|
|
9987
|
+
p_trade_item_key: string;
|
|
9988
|
+
};
|
|
9989
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
9990
|
+
};
|
|
8688
9991
|
cleanup_old_bookings: {
|
|
8689
9992
|
Args: never;
|
|
8690
9993
|
Returns: number;
|
|
8691
9994
|
};
|
|
9995
|
+
control_get_todays_carts: {
|
|
9996
|
+
Args: never;
|
|
9997
|
+
Returns: {
|
|
9998
|
+
cart_index: number;
|
|
9999
|
+
cart_number: string;
|
|
10000
|
+
cart_number_id: string;
|
|
10001
|
+
order_id: string;
|
|
10002
|
+
order_source: string;
|
|
10003
|
+
pick_date: string;
|
|
10004
|
+
status: string;
|
|
10005
|
+
}[];
|
|
10006
|
+
};
|
|
10007
|
+
count_distinct_regulatory_products: {
|
|
10008
|
+
Args: never;
|
|
10009
|
+
Returns: number;
|
|
10010
|
+
};
|
|
8692
10011
|
current_monteur_id: {
|
|
8693
10012
|
Args: never;
|
|
8694
10013
|
Returns: string;
|
|
8695
10014
|
};
|
|
10015
|
+
dashboard_alert_counts: {
|
|
10016
|
+
Args: never;
|
|
10017
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10018
|
+
};
|
|
10019
|
+
dashboard_alert_rows: {
|
|
10020
|
+
Args: {
|
|
10021
|
+
check_id: string;
|
|
10022
|
+
row_limit?: number;
|
|
10023
|
+
};
|
|
10024
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10025
|
+
};
|
|
8696
10026
|
dashboard_list_public_schema: {
|
|
8697
10027
|
Args: never;
|
|
8698
10028
|
Returns: {
|
|
@@ -8701,6 +10031,12 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8701
10031
|
table_name: string;
|
|
8702
10032
|
}[];
|
|
8703
10033
|
};
|
|
10034
|
+
dispatch_carrier_signups_sql: {
|
|
10035
|
+
Args: {
|
|
10036
|
+
_catchup?: string;
|
|
10037
|
+
};
|
|
10038
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10039
|
+
};
|
|
8704
10040
|
email_auth_decrypt: {
|
|
8705
10041
|
Args: {
|
|
8706
10042
|
cipher: string;
|
|
@@ -8736,6 +10072,12 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8736
10072
|
status: string;
|
|
8737
10073
|
}[];
|
|
8738
10074
|
};
|
|
10075
|
+
ensure_trade_item_stock_row: {
|
|
10076
|
+
Args: {
|
|
10077
|
+
p_key: string;
|
|
10078
|
+
};
|
|
10079
|
+
Returns: undefined;
|
|
10080
|
+
};
|
|
8739
10081
|
ensure_user_tenant: {
|
|
8740
10082
|
Args: never;
|
|
8741
10083
|
Returns: string;
|
|
@@ -8773,6 +10115,38 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8773
10115
|
};
|
|
8774
10116
|
Returns: boolean;
|
|
8775
10117
|
};
|
|
10118
|
+
find_trade_item_key: {
|
|
10119
|
+
Args: {
|
|
10120
|
+
p_barcode: string;
|
|
10121
|
+
p_name: string;
|
|
10122
|
+
p_product_id: string;
|
|
10123
|
+
};
|
|
10124
|
+
Returns: string;
|
|
10125
|
+
};
|
|
10126
|
+
floriday_effective_price: {
|
|
10127
|
+
Args: {
|
|
10128
|
+
_buyer_id: string;
|
|
10129
|
+
_on_date?: string;
|
|
10130
|
+
_quantity?: number;
|
|
10131
|
+
_trade_item_id: string;
|
|
10132
|
+
};
|
|
10133
|
+
Returns: {
|
|
10134
|
+
base_price: number;
|
|
10135
|
+
currency: string;
|
|
10136
|
+
discount_type: string;
|
|
10137
|
+
discount_value: number;
|
|
10138
|
+
net_price: number;
|
|
10139
|
+
source: string;
|
|
10140
|
+
source_id: string;
|
|
10141
|
+
}[];
|
|
10142
|
+
};
|
|
10143
|
+
format_cart_number: {
|
|
10144
|
+
Args: {
|
|
10145
|
+
p_pick_date: string;
|
|
10146
|
+
p_seq: number;
|
|
10147
|
+
};
|
|
10148
|
+
Returns: string;
|
|
10149
|
+
};
|
|
8776
10150
|
get_active_floriday_connection_public: {
|
|
8777
10151
|
Args: never;
|
|
8778
10152
|
Returns: {
|
|
@@ -8786,6 +10160,13 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8786
10160
|
preferred_warehouse_name: string;
|
|
8787
10161
|
}[];
|
|
8788
10162
|
};
|
|
10163
|
+
get_active_floriday_context: {
|
|
10164
|
+
Args: never;
|
|
10165
|
+
Returns: {
|
|
10166
|
+
connection_id: string;
|
|
10167
|
+
user_id: string;
|
|
10168
|
+
}[];
|
|
10169
|
+
};
|
|
8789
10170
|
get_active_twinfield_public: {
|
|
8790
10171
|
Args: never;
|
|
8791
10172
|
Returns: {
|
|
@@ -8888,6 +10269,18 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8888
10269
|
};
|
|
8889
10270
|
Returns: import("../integrations/supabase/types").Json;
|
|
8890
10271
|
};
|
|
10272
|
+
get_offer_recipient_by_code: {
|
|
10273
|
+
Args: {
|
|
10274
|
+
p_code: string;
|
|
10275
|
+
};
|
|
10276
|
+
Returns: {
|
|
10277
|
+
campaign_id: string;
|
|
10278
|
+
clicked_at: string;
|
|
10279
|
+
customer_id: string;
|
|
10280
|
+
id: string;
|
|
10281
|
+
ordered_at: string;
|
|
10282
|
+
}[];
|
|
10283
|
+
};
|
|
8891
10284
|
get_or_assign_floriday_order_number: {
|
|
8892
10285
|
Args: {
|
|
8893
10286
|
p_floriday_id: string;
|
|
@@ -8940,6 +10333,34 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8940
10333
|
Args: never;
|
|
8941
10334
|
Returns: boolean;
|
|
8942
10335
|
};
|
|
10336
|
+
local_effective_price: {
|
|
10337
|
+
Args: {
|
|
10338
|
+
_customer_id: string;
|
|
10339
|
+
_on_date?: string;
|
|
10340
|
+
_product_id: string;
|
|
10341
|
+
_quantity?: number;
|
|
10342
|
+
};
|
|
10343
|
+
Returns: {
|
|
10344
|
+
currency: string;
|
|
10345
|
+
discount_type: string;
|
|
10346
|
+
discount_value: number;
|
|
10347
|
+
net_price: number;
|
|
10348
|
+
source: string;
|
|
10349
|
+
source_id: string;
|
|
10350
|
+
}[];
|
|
10351
|
+
};
|
|
10352
|
+
mark_offer_clicked: {
|
|
10353
|
+
Args: {
|
|
10354
|
+
p_code: string;
|
|
10355
|
+
};
|
|
10356
|
+
Returns: undefined;
|
|
10357
|
+
};
|
|
10358
|
+
mark_offer_ordered: {
|
|
10359
|
+
Args: {
|
|
10360
|
+
p_code: string;
|
|
10361
|
+
};
|
|
10362
|
+
Returns: undefined;
|
|
10363
|
+
};
|
|
8943
10364
|
next_order_number: {
|
|
8944
10365
|
Args: {
|
|
8945
10366
|
p_prefix: string;
|
|
@@ -8959,6 +10380,14 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8959
10380
|
};
|
|
8960
10381
|
Returns: string;
|
|
8961
10382
|
};
|
|
10383
|
+
offer_recipient_matches: {
|
|
10384
|
+
Args: {
|
|
10385
|
+
_campaign_id: string;
|
|
10386
|
+
_customer_id: string;
|
|
10387
|
+
_recipient_id: string;
|
|
10388
|
+
};
|
|
10389
|
+
Returns: boolean;
|
|
10390
|
+
};
|
|
8962
10391
|
pickstation_get_orders_raw: {
|
|
8963
10392
|
Args: never;
|
|
8964
10393
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -8977,6 +10406,22 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8977
10406
|
};
|
|
8978
10407
|
Returns: undefined;
|
|
8979
10408
|
};
|
|
10409
|
+
pickstation_set_cart_status: {
|
|
10410
|
+
Args: {
|
|
10411
|
+
p_cart_index: number;
|
|
10412
|
+
p_order_id: string;
|
|
10413
|
+
p_order_source: string;
|
|
10414
|
+
p_status: string;
|
|
10415
|
+
};
|
|
10416
|
+
Returns: undefined;
|
|
10417
|
+
};
|
|
10418
|
+
promote_trade_item_key: {
|
|
10419
|
+
Args: {
|
|
10420
|
+
p_new: string;
|
|
10421
|
+
p_old: string;
|
|
10422
|
+
};
|
|
10423
|
+
Returns: undefined;
|
|
10424
|
+
};
|
|
8980
10425
|
refresh_floricode_derived_code_lists: {
|
|
8981
10426
|
Args: never;
|
|
8982
10427
|
Returns: {
|
|
@@ -8985,6 +10430,12 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8985
10430
|
row_count: number;
|
|
8986
10431
|
}[];
|
|
8987
10432
|
};
|
|
10433
|
+
refresh_floricode_derived_for_product: {
|
|
10434
|
+
Args: {
|
|
10435
|
+
p_product_code: string;
|
|
10436
|
+
};
|
|
10437
|
+
Returns: number;
|
|
10438
|
+
};
|
|
8988
10439
|
reset_floriday_sync_cursor: {
|
|
8989
10440
|
Args: {
|
|
8990
10441
|
p_connection_id: string;
|