@flowselections/mailbox-orders 1.0.4 → 1.0.6
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/MailboxProposalsPage.d.ts.map +1 -1
- package/dist-lib/components/MailboxProposalsPage.js +66 -39
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +771 -3
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +771 -3
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +771 -3
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.js +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +781 -3
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/mailbox-template.functions.d.ts +4746 -138
- package/dist-lib/lib/mailbox-template.functions.d.ts.map +1 -1
- package/dist-lib/lib/mailbox.functions.d.ts +13889 -832
- package/dist-lib/lib/mailbox.functions.d.ts.map +1 -1
- package/dist-lib/lib/mailbox.functions.js +43 -8
- package/package.json +1 -1
|
@@ -8,6 +8,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8
8
|
max_workdays_earlier_pick: number;
|
|
9
9
|
pick_days_before_transport: number;
|
|
10
10
|
pick_distribution_enabled: boolean;
|
|
11
|
+
pick_weekdays: number[];
|
|
11
12
|
signup_mail_enabled: boolean;
|
|
12
13
|
signup_mail_lead_minutes: number;
|
|
13
14
|
signup_mail_purpose: string;
|
|
@@ -21,6 +22,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21
22
|
max_workdays_earlier_pick?: number;
|
|
22
23
|
pick_days_before_transport?: number;
|
|
23
24
|
pick_distribution_enabled?: boolean;
|
|
25
|
+
pick_weekdays?: number[];
|
|
24
26
|
signup_mail_enabled?: boolean;
|
|
25
27
|
signup_mail_lead_minutes?: number;
|
|
26
28
|
signup_mail_purpose?: string;
|
|
@@ -34,6 +36,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
34
36
|
max_workdays_earlier_pick?: number;
|
|
35
37
|
pick_days_before_transport?: number;
|
|
36
38
|
pick_distribution_enabled?: boolean;
|
|
39
|
+
pick_weekdays?: number[];
|
|
37
40
|
signup_mail_enabled?: boolean;
|
|
38
41
|
signup_mail_lead_minutes?: number;
|
|
39
42
|
signup_mail_purpose?: string;
|
|
@@ -445,6 +448,48 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
445
448
|
referencedColumns: ["id"];
|
|
446
449
|
}];
|
|
447
450
|
};
|
|
451
|
+
carrier_signup_dispatch_runs: {
|
|
452
|
+
Row: {
|
|
453
|
+
detail: import("./types").Json | null;
|
|
454
|
+
error: string | null;
|
|
455
|
+
finished_at: string | null;
|
|
456
|
+
groups: number;
|
|
457
|
+
id: string;
|
|
458
|
+
ok: boolean;
|
|
459
|
+
reason: string | null;
|
|
460
|
+
sent: number;
|
|
461
|
+
skipped: import("./types").Json;
|
|
462
|
+
started_at: string;
|
|
463
|
+
unassigned: import("./types").Json;
|
|
464
|
+
};
|
|
465
|
+
Insert: {
|
|
466
|
+
detail?: import("./types").Json | null;
|
|
467
|
+
error?: string | null;
|
|
468
|
+
finished_at?: string | null;
|
|
469
|
+
groups?: number;
|
|
470
|
+
id?: string;
|
|
471
|
+
ok?: boolean;
|
|
472
|
+
reason?: string | null;
|
|
473
|
+
sent?: number;
|
|
474
|
+
skipped?: import("./types").Json;
|
|
475
|
+
started_at?: string;
|
|
476
|
+
unassigned?: import("./types").Json;
|
|
477
|
+
};
|
|
478
|
+
Update: {
|
|
479
|
+
detail?: import("./types").Json | null;
|
|
480
|
+
error?: string | null;
|
|
481
|
+
finished_at?: string | null;
|
|
482
|
+
groups?: number;
|
|
483
|
+
id?: string;
|
|
484
|
+
ok?: boolean;
|
|
485
|
+
reason?: string | null;
|
|
486
|
+
sent?: number;
|
|
487
|
+
skipped?: import("./types").Json;
|
|
488
|
+
started_at?: string;
|
|
489
|
+
unassigned?: import("./types").Json;
|
|
490
|
+
};
|
|
491
|
+
Relationships: [];
|
|
492
|
+
};
|
|
448
493
|
carrier_signup_dispatches: {
|
|
449
494
|
Row: {
|
|
450
495
|
carrier_id: string;
|
|
@@ -496,6 +541,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
496
541
|
contact_person: string | null;
|
|
497
542
|
created_at: string;
|
|
498
543
|
delivery_days: number | null;
|
|
544
|
+
delivery_weekdays: number[];
|
|
499
545
|
email: string | null;
|
|
500
546
|
id: string;
|
|
501
547
|
is_default: boolean;
|
|
@@ -503,6 +549,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
503
549
|
notes: string | null;
|
|
504
550
|
phone: string | null;
|
|
505
551
|
pickup_moments: import("./types").Json;
|
|
552
|
+
pickup_weekdays: number[];
|
|
506
553
|
service_cities: string[];
|
|
507
554
|
service_countries: string[];
|
|
508
555
|
service_provinces: string[];
|
|
@@ -518,6 +565,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
518
565
|
contact_person?: string | null;
|
|
519
566
|
created_at?: string;
|
|
520
567
|
delivery_days?: number | null;
|
|
568
|
+
delivery_weekdays?: number[];
|
|
521
569
|
email?: string | null;
|
|
522
570
|
id?: string;
|
|
523
571
|
is_default?: boolean;
|
|
@@ -525,6 +573,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
525
573
|
notes?: string | null;
|
|
526
574
|
phone?: string | null;
|
|
527
575
|
pickup_moments?: import("./types").Json;
|
|
576
|
+
pickup_weekdays?: number[];
|
|
528
577
|
service_cities?: string[];
|
|
529
578
|
service_countries?: string[];
|
|
530
579
|
service_provinces?: string[];
|
|
@@ -540,6 +589,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
540
589
|
contact_person?: string | null;
|
|
541
590
|
created_at?: string;
|
|
542
591
|
delivery_days?: number | null;
|
|
592
|
+
delivery_weekdays?: number[];
|
|
543
593
|
email?: string | null;
|
|
544
594
|
id?: string;
|
|
545
595
|
is_default?: boolean;
|
|
@@ -547,6 +597,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
547
597
|
notes?: string | null;
|
|
548
598
|
phone?: string | null;
|
|
549
599
|
pickup_moments?: import("./types").Json;
|
|
600
|
+
pickup_weekdays?: number[];
|
|
550
601
|
service_cities?: string[];
|
|
551
602
|
service_countries?: string[];
|
|
552
603
|
service_provinces?: string[];
|
|
@@ -559,6 +610,180 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
559
610
|
};
|
|
560
611
|
Relationships: [];
|
|
561
612
|
};
|
|
613
|
+
cart_control_draft: {
|
|
614
|
+
Row: {
|
|
615
|
+
cart_states: import("./types").Json;
|
|
616
|
+
checked_keys: import("./types").Json;
|
|
617
|
+
draft_date: string;
|
|
618
|
+
form_state: import("./types").Json;
|
|
619
|
+
notes: string;
|
|
620
|
+
updated_at: string;
|
|
621
|
+
user_id: string;
|
|
622
|
+
};
|
|
623
|
+
Insert: {
|
|
624
|
+
cart_states?: import("./types").Json;
|
|
625
|
+
checked_keys?: import("./types").Json;
|
|
626
|
+
draft_date: string;
|
|
627
|
+
form_state?: import("./types").Json;
|
|
628
|
+
notes?: string;
|
|
629
|
+
updated_at?: string;
|
|
630
|
+
user_id: string;
|
|
631
|
+
};
|
|
632
|
+
Update: {
|
|
633
|
+
cart_states?: import("./types").Json;
|
|
634
|
+
checked_keys?: import("./types").Json;
|
|
635
|
+
draft_date?: string;
|
|
636
|
+
form_state?: import("./types").Json;
|
|
637
|
+
notes?: string;
|
|
638
|
+
updated_at?: string;
|
|
639
|
+
user_id?: string;
|
|
640
|
+
};
|
|
641
|
+
Relationships: [];
|
|
642
|
+
};
|
|
643
|
+
cart_control_items: {
|
|
644
|
+
Row: {
|
|
645
|
+
action: string;
|
|
646
|
+
block_reason: string | null;
|
|
647
|
+
carrier_name: string | null;
|
|
648
|
+
cart_index: number;
|
|
649
|
+
cart_number_id: string | null;
|
|
650
|
+
cart_number_label: string | null;
|
|
651
|
+
created_at: string;
|
|
652
|
+
customer_name: string | null;
|
|
653
|
+
delivery_date: string | null;
|
|
654
|
+
id: string;
|
|
655
|
+
new_pick_date: string | null;
|
|
656
|
+
order_id: string;
|
|
657
|
+
order_number: string | null;
|
|
658
|
+
order_source: string;
|
|
659
|
+
pickup_date: string | null;
|
|
660
|
+
session_id: string;
|
|
661
|
+
};
|
|
662
|
+
Insert: {
|
|
663
|
+
action: string;
|
|
664
|
+
block_reason?: string | null;
|
|
665
|
+
carrier_name?: string | null;
|
|
666
|
+
cart_index: number;
|
|
667
|
+
cart_number_id?: string | null;
|
|
668
|
+
cart_number_label?: string | null;
|
|
669
|
+
created_at?: string;
|
|
670
|
+
customer_name?: string | null;
|
|
671
|
+
delivery_date?: string | null;
|
|
672
|
+
id?: string;
|
|
673
|
+
new_pick_date?: string | null;
|
|
674
|
+
order_id: string;
|
|
675
|
+
order_number?: string | null;
|
|
676
|
+
order_source: string;
|
|
677
|
+
pickup_date?: string | null;
|
|
678
|
+
session_id: string;
|
|
679
|
+
};
|
|
680
|
+
Update: {
|
|
681
|
+
action?: string;
|
|
682
|
+
block_reason?: string | null;
|
|
683
|
+
carrier_name?: string | null;
|
|
684
|
+
cart_index?: number;
|
|
685
|
+
cart_number_id?: string | null;
|
|
686
|
+
cart_number_label?: string | null;
|
|
687
|
+
created_at?: string;
|
|
688
|
+
customer_name?: string | null;
|
|
689
|
+
delivery_date?: string | null;
|
|
690
|
+
id?: string;
|
|
691
|
+
new_pick_date?: string | null;
|
|
692
|
+
order_id?: string;
|
|
693
|
+
order_number?: string | null;
|
|
694
|
+
order_source?: string;
|
|
695
|
+
pickup_date?: string | null;
|
|
696
|
+
session_id?: string;
|
|
697
|
+
};
|
|
698
|
+
Relationships: [{
|
|
699
|
+
foreignKeyName: "cart_control_items_session_id_fkey";
|
|
700
|
+
columns: ["session_id"];
|
|
701
|
+
isOneToOne: false;
|
|
702
|
+
referencedRelation: "cart_control_sessions";
|
|
703
|
+
referencedColumns: ["id"];
|
|
704
|
+
}];
|
|
705
|
+
};
|
|
706
|
+
cart_control_sessions: {
|
|
707
|
+
Row: {
|
|
708
|
+
blocked_count: number;
|
|
709
|
+
checked_count: number;
|
|
710
|
+
control_date: string;
|
|
711
|
+
created_at: string;
|
|
712
|
+
id: string;
|
|
713
|
+
notes: string | null;
|
|
714
|
+
performed_at: string;
|
|
715
|
+
rescheduled_count: number;
|
|
716
|
+
stock_consumed_at: string | null;
|
|
717
|
+
total_carts: number;
|
|
718
|
+
updated_at: string;
|
|
719
|
+
user_id: string;
|
|
720
|
+
};
|
|
721
|
+
Insert: {
|
|
722
|
+
blocked_count?: number;
|
|
723
|
+
checked_count?: number;
|
|
724
|
+
control_date?: string;
|
|
725
|
+
created_at?: string;
|
|
726
|
+
id?: string;
|
|
727
|
+
notes?: string | null;
|
|
728
|
+
performed_at?: string;
|
|
729
|
+
rescheduled_count?: number;
|
|
730
|
+
stock_consumed_at?: string | null;
|
|
731
|
+
total_carts?: number;
|
|
732
|
+
updated_at?: string;
|
|
733
|
+
user_id: string;
|
|
734
|
+
};
|
|
735
|
+
Update: {
|
|
736
|
+
blocked_count?: number;
|
|
737
|
+
checked_count?: number;
|
|
738
|
+
control_date?: string;
|
|
739
|
+
created_at?: string;
|
|
740
|
+
id?: string;
|
|
741
|
+
notes?: string | null;
|
|
742
|
+
performed_at?: string;
|
|
743
|
+
rescheduled_count?: number;
|
|
744
|
+
stock_consumed_at?: string | null;
|
|
745
|
+
total_carts?: number;
|
|
746
|
+
updated_at?: string;
|
|
747
|
+
user_id?: string;
|
|
748
|
+
};
|
|
749
|
+
Relationships: [];
|
|
750
|
+
};
|
|
751
|
+
cart_numbers: {
|
|
752
|
+
Row: {
|
|
753
|
+
assigned_at: string;
|
|
754
|
+
cart_index: number;
|
|
755
|
+
cart_number: string;
|
|
756
|
+
day_seq: number;
|
|
757
|
+
id: string;
|
|
758
|
+
order_id: string;
|
|
759
|
+
order_source: string;
|
|
760
|
+
pick_date: string;
|
|
761
|
+
status: string;
|
|
762
|
+
};
|
|
763
|
+
Insert: {
|
|
764
|
+
assigned_at?: string;
|
|
765
|
+
cart_index: number;
|
|
766
|
+
cart_number: string;
|
|
767
|
+
day_seq: number;
|
|
768
|
+
id?: string;
|
|
769
|
+
order_id: string;
|
|
770
|
+
order_source: string;
|
|
771
|
+
pick_date: string;
|
|
772
|
+
status?: string;
|
|
773
|
+
};
|
|
774
|
+
Update: {
|
|
775
|
+
assigned_at?: string;
|
|
776
|
+
cart_index?: number;
|
|
777
|
+
cart_number?: string;
|
|
778
|
+
day_seq?: number;
|
|
779
|
+
id?: string;
|
|
780
|
+
order_id?: string;
|
|
781
|
+
order_source?: string;
|
|
782
|
+
pick_date?: string;
|
|
783
|
+
status?: string;
|
|
784
|
+
};
|
|
785
|
+
Relationships: [];
|
|
786
|
+
};
|
|
562
787
|
cart_pick_overrides: {
|
|
563
788
|
Row: {
|
|
564
789
|
cart_index: number;
|
|
@@ -1231,6 +1456,54 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
1231
1456
|
referencedColumns: ["id"];
|
|
1232
1457
|
}];
|
|
1233
1458
|
};
|
|
1459
|
+
dashboard_critical_alerts: {
|
|
1460
|
+
Row: {
|
|
1461
|
+
alert_key: string;
|
|
1462
|
+
alert_type: string;
|
|
1463
|
+
created_at: string;
|
|
1464
|
+
description: string | null;
|
|
1465
|
+
id: string;
|
|
1466
|
+
metadata: import("./types").Json | null;
|
|
1467
|
+
priority: string;
|
|
1468
|
+
raised_at: string;
|
|
1469
|
+
related_cart_ids: string[] | null;
|
|
1470
|
+
resolved_at: string | null;
|
|
1471
|
+
title: string;
|
|
1472
|
+
updated_at: string;
|
|
1473
|
+
user_id: string;
|
|
1474
|
+
};
|
|
1475
|
+
Insert: {
|
|
1476
|
+
alert_key: string;
|
|
1477
|
+
alert_type: string;
|
|
1478
|
+
created_at?: string;
|
|
1479
|
+
description?: string | null;
|
|
1480
|
+
id?: string;
|
|
1481
|
+
metadata?: import("./types").Json | null;
|
|
1482
|
+
priority?: string;
|
|
1483
|
+
raised_at?: string;
|
|
1484
|
+
related_cart_ids?: string[] | null;
|
|
1485
|
+
resolved_at?: string | null;
|
|
1486
|
+
title: string;
|
|
1487
|
+
updated_at?: string;
|
|
1488
|
+
user_id: string;
|
|
1489
|
+
};
|
|
1490
|
+
Update: {
|
|
1491
|
+
alert_key?: string;
|
|
1492
|
+
alert_type?: string;
|
|
1493
|
+
created_at?: string;
|
|
1494
|
+
description?: string | null;
|
|
1495
|
+
id?: string;
|
|
1496
|
+
metadata?: import("./types").Json | null;
|
|
1497
|
+
priority?: string;
|
|
1498
|
+
raised_at?: string;
|
|
1499
|
+
related_cart_ids?: string[] | null;
|
|
1500
|
+
resolved_at?: string | null;
|
|
1501
|
+
title?: string;
|
|
1502
|
+
updated_at?: string;
|
|
1503
|
+
user_id?: string;
|
|
1504
|
+
};
|
|
1505
|
+
Relationships: [];
|
|
1506
|
+
};
|
|
1234
1507
|
dashboard_daily_reports: {
|
|
1235
1508
|
Row: {
|
|
1236
1509
|
created_at: string;
|
|
@@ -2733,6 +3006,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
2733
3006
|
};
|
|
2734
3007
|
floricode_sync_state: {
|
|
2735
3008
|
Row: {
|
|
3009
|
+
cursor_skip: number;
|
|
2736
3010
|
error_message: string | null;
|
|
2737
3011
|
last_change_date_time: string | null;
|
|
2738
3012
|
last_sequence_number: number;
|
|
@@ -2742,6 +3016,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
2742
3016
|
updated_at: string;
|
|
2743
3017
|
};
|
|
2744
3018
|
Insert: {
|
|
3019
|
+
cursor_skip?: number;
|
|
2745
3020
|
error_message?: string | null;
|
|
2746
3021
|
last_change_date_time?: string | null;
|
|
2747
3022
|
last_sequence_number?: number;
|
|
@@ -2751,6 +3026,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
2751
3026
|
updated_at?: string;
|
|
2752
3027
|
};
|
|
2753
3028
|
Update: {
|
|
3029
|
+
cursor_skip?: number;
|
|
2754
3030
|
error_message?: string | null;
|
|
2755
3031
|
last_change_date_time?: string | null;
|
|
2756
3032
|
last_sequence_number?: number;
|
|
@@ -3898,6 +4174,24 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
3898
4174
|
};
|
|
3899
4175
|
Relationships: [];
|
|
3900
4176
|
};
|
|
4177
|
+
floriday_order_number_map: {
|
|
4178
|
+
Row: {
|
|
4179
|
+
created_at: string;
|
|
4180
|
+
floriday_id: string;
|
|
4181
|
+
order_number: string;
|
|
4182
|
+
};
|
|
4183
|
+
Insert: {
|
|
4184
|
+
created_at?: string;
|
|
4185
|
+
floriday_id: string;
|
|
4186
|
+
order_number: string;
|
|
4187
|
+
};
|
|
4188
|
+
Update: {
|
|
4189
|
+
created_at?: string;
|
|
4190
|
+
floriday_id?: string;
|
|
4191
|
+
order_number?: string;
|
|
4192
|
+
};
|
|
4193
|
+
Relationships: [];
|
|
4194
|
+
};
|
|
3901
4195
|
floriday_packings_cache: {
|
|
3902
4196
|
Row: {
|
|
3903
4197
|
connection_id: string;
|
|
@@ -5080,6 +5374,93 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
5080
5374
|
};
|
|
5081
5375
|
Relationships: [];
|
|
5082
5376
|
};
|
|
5377
|
+
manufacture_product_components: {
|
|
5378
|
+
Row: {
|
|
5379
|
+
component_type: string;
|
|
5380
|
+
created_at: string;
|
|
5381
|
+
id: string;
|
|
5382
|
+
manufacture_product_id: string;
|
|
5383
|
+
product_group_id: string | null;
|
|
5384
|
+
quantity: number;
|
|
5385
|
+
trade_item_id: string | null;
|
|
5386
|
+
unit: string;
|
|
5387
|
+
};
|
|
5388
|
+
Insert: {
|
|
5389
|
+
component_type: string;
|
|
5390
|
+
created_at?: string;
|
|
5391
|
+
id?: string;
|
|
5392
|
+
manufacture_product_id: string;
|
|
5393
|
+
product_group_id?: string | null;
|
|
5394
|
+
quantity?: number;
|
|
5395
|
+
trade_item_id?: string | null;
|
|
5396
|
+
unit?: string;
|
|
5397
|
+
};
|
|
5398
|
+
Update: {
|
|
5399
|
+
component_type?: string;
|
|
5400
|
+
created_at?: string;
|
|
5401
|
+
id?: string;
|
|
5402
|
+
manufacture_product_id?: string;
|
|
5403
|
+
product_group_id?: string | null;
|
|
5404
|
+
quantity?: number;
|
|
5405
|
+
trade_item_id?: string | null;
|
|
5406
|
+
unit?: string;
|
|
5407
|
+
};
|
|
5408
|
+
Relationships: [{
|
|
5409
|
+
foreignKeyName: "manufacture_product_components_manufacture_product_id_fkey";
|
|
5410
|
+
columns: ["manufacture_product_id"];
|
|
5411
|
+
isOneToOne: false;
|
|
5412
|
+
referencedRelation: "manufacture_product_possible_stock_view";
|
|
5413
|
+
referencedColumns: ["manufacture_product_id"];
|
|
5414
|
+
}, {
|
|
5415
|
+
foreignKeyName: "manufacture_product_components_manufacture_product_id_fkey";
|
|
5416
|
+
columns: ["manufacture_product_id"];
|
|
5417
|
+
isOneToOne: false;
|
|
5418
|
+
referencedRelation: "manufacture_products";
|
|
5419
|
+
referencedColumns: ["id"];
|
|
5420
|
+
}, {
|
|
5421
|
+
foreignKeyName: "manufacture_product_components_product_group_id_fkey";
|
|
5422
|
+
columns: ["product_group_id"];
|
|
5423
|
+
isOneToOne: false;
|
|
5424
|
+
referencedRelation: "product_groups";
|
|
5425
|
+
referencedColumns: ["id"];
|
|
5426
|
+
}];
|
|
5427
|
+
};
|
|
5428
|
+
manufacture_products: {
|
|
5429
|
+
Row: {
|
|
5430
|
+
created_at: string;
|
|
5431
|
+
description: string | null;
|
|
5432
|
+
id: string;
|
|
5433
|
+
is_active: boolean;
|
|
5434
|
+
name: string;
|
|
5435
|
+
produced_stock: number;
|
|
5436
|
+
product_code: string;
|
|
5437
|
+
tenant_id: string;
|
|
5438
|
+
updated_at: string;
|
|
5439
|
+
};
|
|
5440
|
+
Insert: {
|
|
5441
|
+
created_at?: string;
|
|
5442
|
+
description?: string | null;
|
|
5443
|
+
id?: string;
|
|
5444
|
+
is_active?: boolean;
|
|
5445
|
+
name: string;
|
|
5446
|
+
produced_stock?: number;
|
|
5447
|
+
product_code: string;
|
|
5448
|
+
tenant_id: string;
|
|
5449
|
+
updated_at?: string;
|
|
5450
|
+
};
|
|
5451
|
+
Update: {
|
|
5452
|
+
created_at?: string;
|
|
5453
|
+
description?: string | null;
|
|
5454
|
+
id?: string;
|
|
5455
|
+
is_active?: boolean;
|
|
5456
|
+
name?: string;
|
|
5457
|
+
produced_stock?: number;
|
|
5458
|
+
product_code?: string;
|
|
5459
|
+
tenant_id?: string;
|
|
5460
|
+
updated_at?: string;
|
|
5461
|
+
};
|
|
5462
|
+
Relationships: [];
|
|
5463
|
+
};
|
|
5083
5464
|
monteurs: {
|
|
5084
5465
|
Row: {
|
|
5085
5466
|
avatar_url: string | null;
|
|
@@ -5743,6 +6124,24 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
5743
6124
|
referencedColumns: ["id"];
|
|
5744
6125
|
}];
|
|
5745
6126
|
};
|
|
6127
|
+
order_number_counters: {
|
|
6128
|
+
Row: {
|
|
6129
|
+
last_value: number;
|
|
6130
|
+
updated_at: string;
|
|
6131
|
+
year: number;
|
|
6132
|
+
};
|
|
6133
|
+
Insert: {
|
|
6134
|
+
last_value?: number;
|
|
6135
|
+
updated_at?: string;
|
|
6136
|
+
year: number;
|
|
6137
|
+
};
|
|
6138
|
+
Update: {
|
|
6139
|
+
last_value?: number;
|
|
6140
|
+
updated_at?: string;
|
|
6141
|
+
year?: number;
|
|
6142
|
+
};
|
|
6143
|
+
Relationships: [];
|
|
6144
|
+
};
|
|
5746
6145
|
orders: {
|
|
5747
6146
|
Row: {
|
|
5748
6147
|
created_at: string;
|
|
@@ -5755,6 +6154,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
5755
6154
|
notes: string | null;
|
|
5756
6155
|
order_date: string;
|
|
5757
6156
|
order_number: string;
|
|
6157
|
+
order_source: string;
|
|
5758
6158
|
status: string;
|
|
5759
6159
|
total: string;
|
|
5760
6160
|
updated_at: string;
|
|
@@ -5770,6 +6170,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
5770
6170
|
notes?: string | null;
|
|
5771
6171
|
order_date?: string;
|
|
5772
6172
|
order_number: string;
|
|
6173
|
+
order_source?: string;
|
|
5773
6174
|
status?: string;
|
|
5774
6175
|
total?: string;
|
|
5775
6176
|
updated_at?: string;
|
|
@@ -5785,6 +6186,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
5785
6186
|
notes?: string | null;
|
|
5786
6187
|
order_date?: string;
|
|
5787
6188
|
order_number?: string;
|
|
6189
|
+
order_source?: string;
|
|
5788
6190
|
status?: string;
|
|
5789
6191
|
total?: string;
|
|
5790
6192
|
updated_at?: string;
|
|
@@ -6019,6 +6421,66 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
6019
6421
|
};
|
|
6020
6422
|
Relationships: [];
|
|
6021
6423
|
};
|
|
6424
|
+
product_group_items: {
|
|
6425
|
+
Row: {
|
|
6426
|
+
created_at: string;
|
|
6427
|
+
id: string;
|
|
6428
|
+
product_group_id: string;
|
|
6429
|
+
quantity: number;
|
|
6430
|
+
trade_item_id: string;
|
|
6431
|
+
};
|
|
6432
|
+
Insert: {
|
|
6433
|
+
created_at?: string;
|
|
6434
|
+
id?: string;
|
|
6435
|
+
product_group_id: string;
|
|
6436
|
+
quantity?: number;
|
|
6437
|
+
trade_item_id: string;
|
|
6438
|
+
};
|
|
6439
|
+
Update: {
|
|
6440
|
+
created_at?: string;
|
|
6441
|
+
id?: string;
|
|
6442
|
+
product_group_id?: string;
|
|
6443
|
+
quantity?: number;
|
|
6444
|
+
trade_item_id?: string;
|
|
6445
|
+
};
|
|
6446
|
+
Relationships: [{
|
|
6447
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
6448
|
+
columns: ["product_group_id"];
|
|
6449
|
+
isOneToOne: false;
|
|
6450
|
+
referencedRelation: "product_groups";
|
|
6451
|
+
referencedColumns: ["id"];
|
|
6452
|
+
}];
|
|
6453
|
+
};
|
|
6454
|
+
product_groups: {
|
|
6455
|
+
Row: {
|
|
6456
|
+
created_at: string;
|
|
6457
|
+
description: string | null;
|
|
6458
|
+
id: string;
|
|
6459
|
+
is_active: boolean;
|
|
6460
|
+
name: string;
|
|
6461
|
+
tenant_id: string;
|
|
6462
|
+
updated_at: string;
|
|
6463
|
+
};
|
|
6464
|
+
Insert: {
|
|
6465
|
+
created_at?: string;
|
|
6466
|
+
description?: string | null;
|
|
6467
|
+
id?: string;
|
|
6468
|
+
is_active?: boolean;
|
|
6469
|
+
name: string;
|
|
6470
|
+
tenant_id: string;
|
|
6471
|
+
updated_at?: string;
|
|
6472
|
+
};
|
|
6473
|
+
Update: {
|
|
6474
|
+
created_at?: string;
|
|
6475
|
+
description?: string | null;
|
|
6476
|
+
id?: string;
|
|
6477
|
+
is_active?: boolean;
|
|
6478
|
+
name?: string;
|
|
6479
|
+
tenant_id?: string;
|
|
6480
|
+
updated_at?: string;
|
|
6481
|
+
};
|
|
6482
|
+
Relationships: [];
|
|
6483
|
+
};
|
|
6022
6484
|
products: {
|
|
6023
6485
|
Row: {
|
|
6024
6486
|
barcode: string | null;
|
|
@@ -6038,6 +6500,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
6038
6500
|
purchase_price: number | null;
|
|
6039
6501
|
quantity: number;
|
|
6040
6502
|
sale_price: number | null;
|
|
6503
|
+
trade_item_key: string | null;
|
|
6041
6504
|
unit: string;
|
|
6042
6505
|
updated_at: string;
|
|
6043
6506
|
weight: string | null;
|
|
@@ -6060,6 +6523,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
6060
6523
|
purchase_price?: number | null;
|
|
6061
6524
|
quantity?: number;
|
|
6062
6525
|
sale_price?: number | null;
|
|
6526
|
+
trade_item_key?: string | null;
|
|
6063
6527
|
unit?: string;
|
|
6064
6528
|
updated_at?: string;
|
|
6065
6529
|
weight?: string | null;
|
|
@@ -6082,6 +6546,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
6082
6546
|
purchase_price?: number | null;
|
|
6083
6547
|
quantity?: number;
|
|
6084
6548
|
sale_price?: number | null;
|
|
6549
|
+
trade_item_key?: string | null;
|
|
6085
6550
|
unit?: string;
|
|
6086
6551
|
updated_at?: string;
|
|
6087
6552
|
weight?: string | null;
|
|
@@ -6901,6 +7366,60 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
6901
7366
|
};
|
|
6902
7367
|
Relationships: [];
|
|
6903
7368
|
};
|
|
7369
|
+
stock_mutation_log: {
|
|
7370
|
+
Row: {
|
|
7371
|
+
connection_id: string | null;
|
|
7372
|
+
created_at: string;
|
|
7373
|
+
created_by: string | null;
|
|
7374
|
+
id: string;
|
|
7375
|
+
mutation_type: string;
|
|
7376
|
+
order_id: string | null;
|
|
7377
|
+
order_item_id: string | null;
|
|
7378
|
+
order_source: string | null;
|
|
7379
|
+
physical_after: number | null;
|
|
7380
|
+
physical_before: number | null;
|
|
7381
|
+
qty_delta: number;
|
|
7382
|
+
reason: string | null;
|
|
7383
|
+
reserved_after: number | null;
|
|
7384
|
+
reserved_before: number | null;
|
|
7385
|
+
trade_item_key: string;
|
|
7386
|
+
};
|
|
7387
|
+
Insert: {
|
|
7388
|
+
connection_id?: string | null;
|
|
7389
|
+
created_at?: string;
|
|
7390
|
+
created_by?: string | null;
|
|
7391
|
+
id?: string;
|
|
7392
|
+
mutation_type: string;
|
|
7393
|
+
order_id?: string | null;
|
|
7394
|
+
order_item_id?: string | null;
|
|
7395
|
+
order_source?: string | null;
|
|
7396
|
+
physical_after?: number | null;
|
|
7397
|
+
physical_before?: number | null;
|
|
7398
|
+
qty_delta: number;
|
|
7399
|
+
reason?: string | null;
|
|
7400
|
+
reserved_after?: number | null;
|
|
7401
|
+
reserved_before?: number | null;
|
|
7402
|
+
trade_item_key: string;
|
|
7403
|
+
};
|
|
7404
|
+
Update: {
|
|
7405
|
+
connection_id?: string | null;
|
|
7406
|
+
created_at?: string;
|
|
7407
|
+
created_by?: string | null;
|
|
7408
|
+
id?: string;
|
|
7409
|
+
mutation_type?: string;
|
|
7410
|
+
order_id?: string | null;
|
|
7411
|
+
order_item_id?: string | null;
|
|
7412
|
+
order_source?: string | null;
|
|
7413
|
+
physical_after?: number | null;
|
|
7414
|
+
physical_before?: number | null;
|
|
7415
|
+
qty_delta?: number;
|
|
7416
|
+
reason?: string | null;
|
|
7417
|
+
reserved_after?: number | null;
|
|
7418
|
+
reserved_before?: number | null;
|
|
7419
|
+
trade_item_key?: string;
|
|
7420
|
+
};
|
|
7421
|
+
Relationships: [];
|
|
7422
|
+
};
|
|
6904
7423
|
supplier_products: {
|
|
6905
7424
|
Row: {
|
|
6906
7425
|
article_number: string | null;
|
|
@@ -7158,7 +7677,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7158
7677
|
connection_id: string | null;
|
|
7159
7678
|
created_at: string;
|
|
7160
7679
|
data: import("./types").Json;
|
|
7680
|
+
floriday_id: string | null;
|
|
7681
|
+
floriday_link_error: string | null;
|
|
7682
|
+
floriday_link_status: string;
|
|
7161
7683
|
id: string;
|
|
7684
|
+
last_floriday_sync_at: string | null;
|
|
7685
|
+
missing_required_fields: string[];
|
|
7686
|
+
source: string;
|
|
7162
7687
|
updated_at: string;
|
|
7163
7688
|
user_id: string;
|
|
7164
7689
|
};
|
|
@@ -7166,7 +7691,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7166
7691
|
connection_id?: string | null;
|
|
7167
7692
|
created_at?: string;
|
|
7168
7693
|
data?: import("./types").Json;
|
|
7694
|
+
floriday_id?: string | null;
|
|
7695
|
+
floriday_link_error?: string | null;
|
|
7696
|
+
floriday_link_status?: string;
|
|
7169
7697
|
id?: string;
|
|
7698
|
+
last_floriday_sync_at?: string | null;
|
|
7699
|
+
missing_required_fields?: string[];
|
|
7700
|
+
source?: string;
|
|
7170
7701
|
updated_at?: string;
|
|
7171
7702
|
user_id: string;
|
|
7172
7703
|
};
|
|
@@ -7174,7 +7705,55 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7174
7705
|
connection_id?: string | null;
|
|
7175
7706
|
created_at?: string;
|
|
7176
7707
|
data?: import("./types").Json;
|
|
7708
|
+
floriday_id?: string | null;
|
|
7709
|
+
floriday_link_error?: string | null;
|
|
7710
|
+
floriday_link_status?: string;
|
|
7177
7711
|
id?: string;
|
|
7712
|
+
last_floriday_sync_at?: string | null;
|
|
7713
|
+
missing_required_fields?: string[];
|
|
7714
|
+
source?: string;
|
|
7715
|
+
updated_at?: string;
|
|
7716
|
+
user_id?: string;
|
|
7717
|
+
};
|
|
7718
|
+
Relationships: [];
|
|
7719
|
+
};
|
|
7720
|
+
trade_item_stock: {
|
|
7721
|
+
Row: {
|
|
7722
|
+
connection_id: string;
|
|
7723
|
+
created_at: string;
|
|
7724
|
+
id: string;
|
|
7725
|
+
incoming_stock: number;
|
|
7726
|
+
minimum_stock: number;
|
|
7727
|
+
notes: string | null;
|
|
7728
|
+
physical_stock: number;
|
|
7729
|
+
reserved_stock: number;
|
|
7730
|
+
trade_item_key: string;
|
|
7731
|
+
updated_at: string;
|
|
7732
|
+
user_id: string;
|
|
7733
|
+
};
|
|
7734
|
+
Insert: {
|
|
7735
|
+
connection_id: string;
|
|
7736
|
+
created_at?: string;
|
|
7737
|
+
id?: string;
|
|
7738
|
+
incoming_stock?: number;
|
|
7739
|
+
minimum_stock?: number;
|
|
7740
|
+
notes?: string | null;
|
|
7741
|
+
physical_stock?: number;
|
|
7742
|
+
reserved_stock?: number;
|
|
7743
|
+
trade_item_key: string;
|
|
7744
|
+
updated_at?: string;
|
|
7745
|
+
user_id: string;
|
|
7746
|
+
};
|
|
7747
|
+
Update: {
|
|
7748
|
+
connection_id?: string;
|
|
7749
|
+
created_at?: string;
|
|
7750
|
+
id?: string;
|
|
7751
|
+
incoming_stock?: number;
|
|
7752
|
+
minimum_stock?: number;
|
|
7753
|
+
notes?: string | null;
|
|
7754
|
+
physical_stock?: number;
|
|
7755
|
+
reserved_stock?: number;
|
|
7756
|
+
trade_item_key?: string;
|
|
7178
7757
|
updated_at?: string;
|
|
7179
7758
|
user_id?: string;
|
|
7180
7759
|
};
|
|
@@ -7524,6 +8103,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7524
8103
|
};
|
|
7525
8104
|
twinfield_invoice_sync_logs: {
|
|
7526
8105
|
Row: {
|
|
8106
|
+
action_type: string | null;
|
|
7527
8107
|
created_at: string;
|
|
7528
8108
|
details: import("./types").Json | null;
|
|
7529
8109
|
duration_ms: number | null;
|
|
@@ -7536,6 +8116,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7536
8116
|
user_id: string;
|
|
7537
8117
|
};
|
|
7538
8118
|
Insert: {
|
|
8119
|
+
action_type?: string | null;
|
|
7539
8120
|
created_at?: string;
|
|
7540
8121
|
details?: import("./types").Json | null;
|
|
7541
8122
|
duration_ms?: number | null;
|
|
@@ -7548,6 +8129,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7548
8129
|
user_id: string;
|
|
7549
8130
|
};
|
|
7550
8131
|
Update: {
|
|
8132
|
+
action_type?: string | null;
|
|
7551
8133
|
created_at?: string;
|
|
7552
8134
|
details?: import("./types").Json | null;
|
|
7553
8135
|
duration_ms?: number | null;
|
|
@@ -7783,6 +8365,57 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7783
8365
|
referencedColumns: ["id"];
|
|
7784
8366
|
}];
|
|
7785
8367
|
};
|
|
8368
|
+
twinfield_request_metrics: {
|
|
8369
|
+
Row: {
|
|
8370
|
+
bucket_hour: string;
|
|
8371
|
+
connection_id: string;
|
|
8372
|
+
error_count: number;
|
|
8373
|
+
rate_limited_count: number;
|
|
8374
|
+
request_count: number;
|
|
8375
|
+
updated_at: string;
|
|
8376
|
+
};
|
|
8377
|
+
Insert: {
|
|
8378
|
+
bucket_hour: string;
|
|
8379
|
+
connection_id: string;
|
|
8380
|
+
error_count?: number;
|
|
8381
|
+
rate_limited_count?: number;
|
|
8382
|
+
request_count?: number;
|
|
8383
|
+
updated_at?: string;
|
|
8384
|
+
};
|
|
8385
|
+
Update: {
|
|
8386
|
+
bucket_hour?: string;
|
|
8387
|
+
connection_id?: string;
|
|
8388
|
+
error_count?: number;
|
|
8389
|
+
rate_limited_count?: number;
|
|
8390
|
+
request_count?: number;
|
|
8391
|
+
updated_at?: string;
|
|
8392
|
+
};
|
|
8393
|
+
Relationships: [];
|
|
8394
|
+
};
|
|
8395
|
+
twinfield_session_cache: {
|
|
8396
|
+
Row: {
|
|
8397
|
+
cluster: string;
|
|
8398
|
+
created_at: string;
|
|
8399
|
+
expires_at: string;
|
|
8400
|
+
session_id: string;
|
|
8401
|
+
user_id: string;
|
|
8402
|
+
};
|
|
8403
|
+
Insert: {
|
|
8404
|
+
cluster: string;
|
|
8405
|
+
created_at?: string;
|
|
8406
|
+
expires_at: string;
|
|
8407
|
+
session_id: string;
|
|
8408
|
+
user_id: string;
|
|
8409
|
+
};
|
|
8410
|
+
Update: {
|
|
8411
|
+
cluster?: string;
|
|
8412
|
+
created_at?: string;
|
|
8413
|
+
expires_at?: string;
|
|
8414
|
+
session_id?: string;
|
|
8415
|
+
user_id?: string;
|
|
8416
|
+
};
|
|
8417
|
+
Relationships: [];
|
|
8418
|
+
};
|
|
7786
8419
|
twinfield_settings: {
|
|
7787
8420
|
Row: {
|
|
7788
8421
|
active_environment: string;
|
|
@@ -8364,6 +8997,35 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8364
8997
|
};
|
|
8365
8998
|
Relationships: [];
|
|
8366
8999
|
};
|
|
9000
|
+
manufacture_product_possible_stock_view: {
|
|
9001
|
+
Row: {
|
|
9002
|
+
component_count: number | null;
|
|
9003
|
+
manufacture_product_id: string | null;
|
|
9004
|
+
possible_stock: number | null;
|
|
9005
|
+
};
|
|
9006
|
+
Relationships: [];
|
|
9007
|
+
};
|
|
9008
|
+
product_group_stock_view: {
|
|
9009
|
+
Row: {
|
|
9010
|
+
item_count: number | null;
|
|
9011
|
+
product_group_id: string | null;
|
|
9012
|
+
total_stock: number | null;
|
|
9013
|
+
};
|
|
9014
|
+
Relationships: [{
|
|
9015
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
9016
|
+
columns: ["product_group_id"];
|
|
9017
|
+
isOneToOne: false;
|
|
9018
|
+
referencedRelation: "product_groups";
|
|
9019
|
+
referencedColumns: ["id"];
|
|
9020
|
+
}];
|
|
9021
|
+
};
|
|
9022
|
+
trade_item_stock_view: {
|
|
9023
|
+
Row: {
|
|
9024
|
+
stock: number | null;
|
|
9025
|
+
trade_item_id: string | null;
|
|
9026
|
+
};
|
|
9027
|
+
Relationships: [];
|
|
9028
|
+
};
|
|
8367
9029
|
v_external_customers_exact: {
|
|
8368
9030
|
Row: {
|
|
8369
9031
|
account_number: string | null;
|
|
@@ -8619,6 +9281,51 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8619
9281
|
};
|
|
8620
9282
|
Returns: number;
|
|
8621
9283
|
};
|
|
9284
|
+
apply_stock_consumption: {
|
|
9285
|
+
Args: {
|
|
9286
|
+
p_order_id: string;
|
|
9287
|
+
p_order_item_id: string;
|
|
9288
|
+
p_qty: number;
|
|
9289
|
+
p_reason: string;
|
|
9290
|
+
p_source: string;
|
|
9291
|
+
p_trade_item_key: string;
|
|
9292
|
+
};
|
|
9293
|
+
Returns: undefined;
|
|
9294
|
+
};
|
|
9295
|
+
apply_stock_reservation: {
|
|
9296
|
+
Args: {
|
|
9297
|
+
p_order_id: string;
|
|
9298
|
+
p_order_item_id: string;
|
|
9299
|
+
p_qty: number;
|
|
9300
|
+
p_reason: string;
|
|
9301
|
+
p_source: string;
|
|
9302
|
+
p_trade_item_key: string;
|
|
9303
|
+
};
|
|
9304
|
+
Returns: undefined;
|
|
9305
|
+
};
|
|
9306
|
+
assign_cart_numbers: {
|
|
9307
|
+
Args: {
|
|
9308
|
+
p_carts: import("./types").Json;
|
|
9309
|
+
};
|
|
9310
|
+
Returns: {
|
|
9311
|
+
cart_index: number;
|
|
9312
|
+
cart_number: string;
|
|
9313
|
+
day_seq: number;
|
|
9314
|
+
order_id: string;
|
|
9315
|
+
order_source: string;
|
|
9316
|
+
pick_date: string;
|
|
9317
|
+
status: string;
|
|
9318
|
+
}[];
|
|
9319
|
+
};
|
|
9320
|
+
assign_floriday_order_numbers: {
|
|
9321
|
+
Args: {
|
|
9322
|
+
p_ids: string[];
|
|
9323
|
+
};
|
|
9324
|
+
Returns: {
|
|
9325
|
+
floriday_id: string;
|
|
9326
|
+
order_number: string;
|
|
9327
|
+
}[];
|
|
9328
|
+
};
|
|
8622
9329
|
call_exact_route: {
|
|
8623
9330
|
Args: {
|
|
8624
9331
|
path: string;
|
|
@@ -8629,10 +9336,37 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8629
9336
|
Args: never;
|
|
8630
9337
|
Returns: number;
|
|
8631
9338
|
};
|
|
9339
|
+
control_get_todays_carts: {
|
|
9340
|
+
Args: never;
|
|
9341
|
+
Returns: {
|
|
9342
|
+
cart_index: number;
|
|
9343
|
+
cart_number: string;
|
|
9344
|
+
cart_number_id: string;
|
|
9345
|
+
order_id: string;
|
|
9346
|
+
order_source: string;
|
|
9347
|
+
pick_date: string;
|
|
9348
|
+
status: string;
|
|
9349
|
+
}[];
|
|
9350
|
+
};
|
|
9351
|
+
count_distinct_regulatory_products: {
|
|
9352
|
+
Args: never;
|
|
9353
|
+
Returns: number;
|
|
9354
|
+
};
|
|
8632
9355
|
current_monteur_id: {
|
|
8633
9356
|
Args: never;
|
|
8634
9357
|
Returns: string;
|
|
8635
9358
|
};
|
|
9359
|
+
dashboard_alert_counts: {
|
|
9360
|
+
Args: never;
|
|
9361
|
+
Returns: import("./types").Json;
|
|
9362
|
+
};
|
|
9363
|
+
dashboard_alert_rows: {
|
|
9364
|
+
Args: {
|
|
9365
|
+
check_id: string;
|
|
9366
|
+
row_limit?: number;
|
|
9367
|
+
};
|
|
9368
|
+
Returns: import("./types").Json;
|
|
9369
|
+
};
|
|
8636
9370
|
dashboard_list_public_schema: {
|
|
8637
9371
|
Args: never;
|
|
8638
9372
|
Returns: {
|
|
@@ -8713,6 +9447,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8713
9447
|
};
|
|
8714
9448
|
Returns: boolean;
|
|
8715
9449
|
};
|
|
9450
|
+
format_cart_number: {
|
|
9451
|
+
Args: {
|
|
9452
|
+
p_pick_date: string;
|
|
9453
|
+
p_seq: number;
|
|
9454
|
+
};
|
|
9455
|
+
Returns: string;
|
|
9456
|
+
};
|
|
8716
9457
|
get_active_floriday_connection_public: {
|
|
8717
9458
|
Args: never;
|
|
8718
9459
|
Returns: {
|
|
@@ -8828,6 +9569,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8828
9569
|
};
|
|
8829
9570
|
Returns: import("./types").Json;
|
|
8830
9571
|
};
|
|
9572
|
+
get_or_assign_floriday_order_number: {
|
|
9573
|
+
Args: {
|
|
9574
|
+
p_floriday_id: string;
|
|
9575
|
+
};
|
|
9576
|
+
Returns: string;
|
|
9577
|
+
};
|
|
8831
9578
|
get_room_busy_windows: {
|
|
8832
9579
|
Args: {
|
|
8833
9580
|
p_from: string;
|
|
@@ -8874,6 +9621,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8874
9621
|
Args: never;
|
|
8875
9622
|
Returns: boolean;
|
|
8876
9623
|
};
|
|
9624
|
+
next_order_number: {
|
|
9625
|
+
Args: {
|
|
9626
|
+
p_prefix: string;
|
|
9627
|
+
};
|
|
9628
|
+
Returns: string;
|
|
9629
|
+
};
|
|
8877
9630
|
next_work_order_number: {
|
|
8878
9631
|
Args: {
|
|
8879
9632
|
p_parent_work_order_id?: string;
|
|
@@ -8905,14 +9658,29 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8905
9658
|
};
|
|
8906
9659
|
Returns: undefined;
|
|
8907
9660
|
};
|
|
9661
|
+
pickstation_set_cart_status: {
|
|
9662
|
+
Args: {
|
|
9663
|
+
p_cart_index: number;
|
|
9664
|
+
p_order_id: string;
|
|
9665
|
+
p_order_source: string;
|
|
9666
|
+
p_status: string;
|
|
9667
|
+
};
|
|
9668
|
+
Returns: undefined;
|
|
9669
|
+
};
|
|
8908
9670
|
refresh_floricode_derived_code_lists: {
|
|
8909
9671
|
Args: never;
|
|
8910
9672
|
Returns: {
|
|
8911
|
-
|
|
8912
|
-
|
|
8913
|
-
|
|
9673
|
+
environment: string;
|
|
9674
|
+
list_name: string;
|
|
9675
|
+
row_count: number;
|
|
8914
9676
|
}[];
|
|
8915
9677
|
};
|
|
9678
|
+
refresh_floricode_derived_for_product: {
|
|
9679
|
+
Args: {
|
|
9680
|
+
p_product_code: string;
|
|
9681
|
+
};
|
|
9682
|
+
Returns: number;
|
|
9683
|
+
};
|
|
8916
9684
|
reset_floriday_sync_cursor: {
|
|
8917
9685
|
Args: {
|
|
8918
9686
|
p_connection_id: string;
|