@flowselections/floriday-afhandeling-module 1.0.9 → 1.0.11
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/afhandeling/ControleLijstPrint.d.ts +7 -0
- package/dist-lib/components/afhandeling/ControleLijstPrint.d.ts.map +1 -0
- package/dist-lib/components/afhandeling/ControleLijstPrint.js +67 -0
- package/dist-lib/components/afhandeling/ControlePage.d.ts +2 -0
- package/dist-lib/components/afhandeling/ControlePage.d.ts.map +1 -0
- package/dist-lib/components/afhandeling/ControlePage.js +456 -0
- package/dist-lib/components/afhandeling/DagDetailDialog.d.ts +9 -0
- package/dist-lib/components/afhandeling/DagDetailDialog.d.ts.map +1 -0
- package/dist-lib/components/afhandeling/DagDetailDialog.js +149 -0
- package/dist-lib/components/afhandeling/LeveringenPage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/LeveringenPage.js +11 -5
- package/dist-lib/components/afhandeling/PickAgendaView.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/PickAgendaView.js +13 -4
- package/dist-lib/components/afhandeling/PlanningAgendaPage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/PlanningAgendaPage.js +2 -2
- package/dist-lib/components/afhandeling/ServiceAreaSelect.d.ts +12 -0
- package/dist-lib/components/afhandeling/ServiceAreaSelect.d.ts.map +1 -0
- package/dist-lib/components/afhandeling/ServiceAreaSelect.js +79 -0
- package/dist-lib/components/afhandeling/VervoerderForm.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/VervoerderForm.js +62 -6
- package/dist-lib/components/afhandeling/VervoerdersPage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/VervoerdersPage.js +25 -6
- package/dist-lib/components/afhandeling/WeekAgendaView.d.ts +2 -1
- package/dist-lib/components/afhandeling/WeekAgendaView.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/WeekAgendaView.js +63 -18
- package/dist-lib/components/afhandeling/WeekdayPicker.d.ts +12 -0
- package/dist-lib/components/afhandeling/WeekdayPicker.d.ts.map +1 -0
- package/dist-lib/components/afhandeling/WeekdayPicker.js +30 -0
- package/dist-lib/components/pickstation/PakbonTemplate.d.ts +6 -2
- package/dist-lib/components/pickstation/PakbonTemplate.d.ts.map +1 -1
- package/dist-lib/components/pickstation/PakbonTemplate.js +37 -12
- package/dist-lib/components/settings/AfhandelingSettingsCard.d.ts.map +1 -1
- package/dist-lib/components/settings/AfhandelingSettingsCard.js +25 -6
- package/dist-lib/components/ui/responsive-dialog.d.ts +20 -0
- package/dist-lib/components/ui/responsive-dialog.d.ts.map +1 -0
- package/dist-lib/components/ui/responsive-dialog.js +44 -0
- package/dist-lib/hooks/useOrderPlanning.d.ts +3 -0
- package/dist-lib/hooks/useOrderPlanning.d.ts.map +1 -1
- package/dist-lib/hooks/useOrderPlanning.js +64 -12
- package/dist-lib/index.d.ts +1 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +4 -2
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +2898 -147
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +2898 -147
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +2898 -147
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +2986 -155
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +1 -0
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +10666 -5151
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/afhandelingSettings.functions.js +42 -2
- package/dist-lib/lib/carrierMatch.server.d.ts +27 -0
- package/dist-lib/lib/carrierMatch.server.d.ts.map +1 -0
- package/dist-lib/lib/carrierMatch.server.js +75 -0
- package/dist-lib/lib/carrierSignupMail.server.d.ts +56 -0
- package/dist-lib/lib/carrierSignupMail.server.d.ts.map +1 -0
- package/dist-lib/lib/carrierSignupMail.server.js +229 -0
- package/dist-lib/lib/carriers.functions.d.ts +36404 -15470
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/carriers.functions.js +43 -2
- package/dist-lib/lib/cartAssignments.functions.d.ts +49609 -0
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -0
- package/dist-lib/lib/cartAssignments.functions.js +130 -0
- package/dist-lib/lib/cartControl.functions.d.ts +99259 -0
- package/dist-lib/lib/cartControl.functions.d.ts.map +1 -0
- package/dist-lib/lib/cartControl.functions.js +489 -0
- package/dist-lib/lib/cartMoveImpact.d.ts +8 -0
- package/dist-lib/lib/cartMoveImpact.d.ts.map +1 -0
- package/dist-lib/lib/cartMoveImpact.js +26 -0
- package/dist-lib/lib/cartRescheduling.d.ts +30 -0
- package/dist-lib/lib/cartRescheduling.d.ts.map +1 -0
- package/dist-lib/lib/cartRescheduling.js +71 -0
- package/dist-lib/lib/floriday.functions.d.ts +2902 -147
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.js +178 -98
- package/dist-lib/lib/geo/euServiceAreas.d.ts +30 -0
- package/dist-lib/lib/geo/euServiceAreas.d.ts.map +1 -0
- package/dist-lib/lib/geo/euServiceAreas.js +277 -0
- package/dist-lib/lib/invalidatePlanning.d.ts +11 -0
- package/dist-lib/lib/invalidatePlanning.d.ts.map +1 -0
- package/dist-lib/lib/invalidatePlanning.js +25 -0
- package/dist-lib/lib/pickstationI18n.d.ts +12 -0
- package/dist-lib/lib/pickstationI18n.d.ts.map +1 -1
- package/dist-lib/lib/pickstationI18n.js +72 -0
- package/dist-lib/lib/pickstationOrders.server.d.ts +2 -1
- package/dist-lib/lib/pickstationOrders.server.d.ts.map +1 -1
- package/dist-lib/lib/pickstationOrders.server.js +393 -178
- package/dist-lib/lib/pickstationTypes.d.ts +23 -2
- package/dist-lib/lib/pickstationTypes.d.ts.map +1 -1
- package/dist-lib/lib/planning.d.ts +41 -2
- package/dist-lib/lib/planning.d.ts.map +1 -1
- package/dist-lib/lib/planning.js +159 -36
- package/package.json +2 -2
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import type { SupabaseClient } from "@supabase/supabase-js";
|
|
2
2
|
export interface FloridayOrder {
|
|
3
3
|
id: string;
|
|
4
|
+
source: "floriday" | "manual";
|
|
4
5
|
orderNumber: string;
|
|
5
6
|
customerName: string;
|
|
6
7
|
deliveryDate: string | null;
|
|
7
8
|
deliveryType: string;
|
|
8
9
|
status: string;
|
|
9
10
|
lineCount: number;
|
|
11
|
+
cartCount: number | null;
|
|
12
|
+
plantCount: number | null;
|
|
10
13
|
totalAmount: number | null;
|
|
11
14
|
currency: string | null;
|
|
12
15
|
createdAt: string | null;
|
|
@@ -21,6 +24,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
21
24
|
max_workdays_earlier_pick: number;
|
|
22
25
|
pick_days_before_transport: number;
|
|
23
26
|
pick_distribution_enabled: boolean;
|
|
27
|
+
pick_weekdays: number[];
|
|
28
|
+
signup_mail_enabled: boolean;
|
|
29
|
+
signup_mail_lead_minutes: number;
|
|
30
|
+
signup_mail_purpose: string;
|
|
24
31
|
transport_register_days_before: number;
|
|
25
32
|
updated_at: string;
|
|
26
33
|
user_id: string;
|
|
@@ -31,6 +38,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
31
38
|
max_workdays_earlier_pick?: number;
|
|
32
39
|
pick_days_before_transport?: number;
|
|
33
40
|
pick_distribution_enabled?: boolean;
|
|
41
|
+
pick_weekdays?: number[];
|
|
42
|
+
signup_mail_enabled?: boolean;
|
|
43
|
+
signup_mail_lead_minutes?: number;
|
|
44
|
+
signup_mail_purpose?: string;
|
|
34
45
|
transport_register_days_before?: number;
|
|
35
46
|
updated_at?: string;
|
|
36
47
|
user_id: string;
|
|
@@ -41,6 +52,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
41
52
|
max_workdays_earlier_pick?: number;
|
|
42
53
|
pick_days_before_transport?: number;
|
|
43
54
|
pick_distribution_enabled?: boolean;
|
|
55
|
+
pick_weekdays?: number[];
|
|
56
|
+
signup_mail_enabled?: boolean;
|
|
57
|
+
signup_mail_lead_minutes?: number;
|
|
58
|
+
signup_mail_purpose?: string;
|
|
44
59
|
transport_register_days_before?: number;
|
|
45
60
|
updated_at?: string;
|
|
46
61
|
user_id?: string;
|
|
@@ -449,12 +464,100 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
449
464
|
referencedColumns: ["id"];
|
|
450
465
|
}];
|
|
451
466
|
};
|
|
467
|
+
carrier_signup_dispatch_runs: {
|
|
468
|
+
Row: {
|
|
469
|
+
detail: import("../integrations/supabase/types").Json | null;
|
|
470
|
+
error: string | null;
|
|
471
|
+
finished_at: string | null;
|
|
472
|
+
groups: number;
|
|
473
|
+
id: string;
|
|
474
|
+
ok: boolean;
|
|
475
|
+
reason: string | null;
|
|
476
|
+
sent: number;
|
|
477
|
+
skipped: import("../integrations/supabase/types").Json;
|
|
478
|
+
started_at: string;
|
|
479
|
+
unassigned: import("../integrations/supabase/types").Json;
|
|
480
|
+
};
|
|
481
|
+
Insert: {
|
|
482
|
+
detail?: import("../integrations/supabase/types").Json | null;
|
|
483
|
+
error?: string | null;
|
|
484
|
+
finished_at?: string | null;
|
|
485
|
+
groups?: number;
|
|
486
|
+
id?: string;
|
|
487
|
+
ok?: boolean;
|
|
488
|
+
reason?: string | null;
|
|
489
|
+
sent?: number;
|
|
490
|
+
skipped?: import("../integrations/supabase/types").Json;
|
|
491
|
+
started_at?: string;
|
|
492
|
+
unassigned?: import("../integrations/supabase/types").Json;
|
|
493
|
+
};
|
|
494
|
+
Update: {
|
|
495
|
+
detail?: import("../integrations/supabase/types").Json | null;
|
|
496
|
+
error?: string | null;
|
|
497
|
+
finished_at?: string | null;
|
|
498
|
+
groups?: number;
|
|
499
|
+
id?: string;
|
|
500
|
+
ok?: boolean;
|
|
501
|
+
reason?: string | null;
|
|
502
|
+
sent?: number;
|
|
503
|
+
skipped?: import("../integrations/supabase/types").Json;
|
|
504
|
+
started_at?: string;
|
|
505
|
+
unassigned?: import("../integrations/supabase/types").Json;
|
|
506
|
+
};
|
|
507
|
+
Relationships: [];
|
|
508
|
+
};
|
|
509
|
+
carrier_signup_dispatches: {
|
|
510
|
+
Row: {
|
|
511
|
+
carrier_id: string;
|
|
512
|
+
cart_count: number;
|
|
513
|
+
created_at: string;
|
|
514
|
+
id: string;
|
|
515
|
+
order_count: number;
|
|
516
|
+
outbox_id: string | null;
|
|
517
|
+
pickup_date: string;
|
|
518
|
+
pickup_moment_key: string;
|
|
519
|
+
sent_at: string;
|
|
520
|
+
signup_deadline: string;
|
|
521
|
+
};
|
|
522
|
+
Insert: {
|
|
523
|
+
carrier_id: string;
|
|
524
|
+
cart_count?: number;
|
|
525
|
+
created_at?: string;
|
|
526
|
+
id?: string;
|
|
527
|
+
order_count?: number;
|
|
528
|
+
outbox_id?: string | null;
|
|
529
|
+
pickup_date: string;
|
|
530
|
+
pickup_moment_key: string;
|
|
531
|
+
sent_at?: string;
|
|
532
|
+
signup_deadline: string;
|
|
533
|
+
};
|
|
534
|
+
Update: {
|
|
535
|
+
carrier_id?: string;
|
|
536
|
+
cart_count?: number;
|
|
537
|
+
created_at?: string;
|
|
538
|
+
id?: string;
|
|
539
|
+
order_count?: number;
|
|
540
|
+
outbox_id?: string | null;
|
|
541
|
+
pickup_date?: string;
|
|
542
|
+
pickup_moment_key?: string;
|
|
543
|
+
sent_at?: string;
|
|
544
|
+
signup_deadline?: string;
|
|
545
|
+
};
|
|
546
|
+
Relationships: [{
|
|
547
|
+
foreignKeyName: "carrier_signup_dispatches_carrier_id_fkey";
|
|
548
|
+
columns: ["carrier_id"];
|
|
549
|
+
isOneToOne: false;
|
|
550
|
+
referencedRelation: "carriers";
|
|
551
|
+
referencedColumns: ["id"];
|
|
552
|
+
}];
|
|
553
|
+
};
|
|
452
554
|
carriers: {
|
|
453
555
|
Row: {
|
|
454
556
|
address: string | null;
|
|
455
557
|
contact_person: string | null;
|
|
456
558
|
created_at: string;
|
|
457
559
|
delivery_days: number | null;
|
|
560
|
+
delivery_weekdays: number[];
|
|
458
561
|
email: string | null;
|
|
459
562
|
id: string;
|
|
460
563
|
is_default: boolean;
|
|
@@ -462,9 +565,14 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
462
565
|
notes: string | null;
|
|
463
566
|
phone: string | null;
|
|
464
567
|
pickup_moments: import("../integrations/supabase/types").Json;
|
|
568
|
+
pickup_weekdays: number[];
|
|
569
|
+
service_cities: string[];
|
|
570
|
+
service_countries: string[];
|
|
571
|
+
service_provinces: string[];
|
|
465
572
|
signup_days_before_delivery: number;
|
|
466
573
|
signup_time_1: string | null;
|
|
467
574
|
signup_time_2: string | null;
|
|
575
|
+
sort_order: number;
|
|
468
576
|
updated_at: string;
|
|
469
577
|
user_id: string;
|
|
470
578
|
};
|
|
@@ -473,6 +581,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
473
581
|
contact_person?: string | null;
|
|
474
582
|
created_at?: string;
|
|
475
583
|
delivery_days?: number | null;
|
|
584
|
+
delivery_weekdays?: number[];
|
|
476
585
|
email?: string | null;
|
|
477
586
|
id?: string;
|
|
478
587
|
is_default?: boolean;
|
|
@@ -480,9 +589,14 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
480
589
|
notes?: string | null;
|
|
481
590
|
phone?: string | null;
|
|
482
591
|
pickup_moments?: import("../integrations/supabase/types").Json;
|
|
592
|
+
pickup_weekdays?: number[];
|
|
593
|
+
service_cities?: string[];
|
|
594
|
+
service_countries?: string[];
|
|
595
|
+
service_provinces?: string[];
|
|
483
596
|
signup_days_before_delivery?: number;
|
|
484
597
|
signup_time_1?: string | null;
|
|
485
598
|
signup_time_2?: string | null;
|
|
599
|
+
sort_order?: number;
|
|
486
600
|
updated_at?: string;
|
|
487
601
|
user_id: string;
|
|
488
602
|
};
|
|
@@ -491,6 +605,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
491
605
|
contact_person?: string | null;
|
|
492
606
|
created_at?: string;
|
|
493
607
|
delivery_days?: number | null;
|
|
608
|
+
delivery_weekdays?: number[];
|
|
494
609
|
email?: string | null;
|
|
495
610
|
id?: string;
|
|
496
611
|
is_default?: boolean;
|
|
@@ -498,14 +613,229 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
498
613
|
notes?: string | null;
|
|
499
614
|
phone?: string | null;
|
|
500
615
|
pickup_moments?: import("../integrations/supabase/types").Json;
|
|
616
|
+
pickup_weekdays?: number[];
|
|
617
|
+
service_cities?: string[];
|
|
618
|
+
service_countries?: string[];
|
|
619
|
+
service_provinces?: string[];
|
|
501
620
|
signup_days_before_delivery?: number;
|
|
502
621
|
signup_time_1?: string | null;
|
|
503
622
|
signup_time_2?: string | null;
|
|
623
|
+
sort_order?: number;
|
|
624
|
+
updated_at?: string;
|
|
625
|
+
user_id?: string;
|
|
626
|
+
};
|
|
627
|
+
Relationships: [];
|
|
628
|
+
};
|
|
629
|
+
cart_control_draft: {
|
|
630
|
+
Row: {
|
|
631
|
+
cart_states: import("../integrations/supabase/types").Json;
|
|
632
|
+
checked_keys: import("../integrations/supabase/types").Json;
|
|
633
|
+
draft_date: string;
|
|
634
|
+
form_state: import("../integrations/supabase/types").Json;
|
|
635
|
+
notes: string;
|
|
636
|
+
updated_at: string;
|
|
637
|
+
user_id: string;
|
|
638
|
+
};
|
|
639
|
+
Insert: {
|
|
640
|
+
cart_states?: import("../integrations/supabase/types").Json;
|
|
641
|
+
checked_keys?: import("../integrations/supabase/types").Json;
|
|
642
|
+
draft_date: string;
|
|
643
|
+
form_state?: import("../integrations/supabase/types").Json;
|
|
644
|
+
notes?: string;
|
|
645
|
+
updated_at?: string;
|
|
646
|
+
user_id: string;
|
|
647
|
+
};
|
|
648
|
+
Update: {
|
|
649
|
+
cart_states?: import("../integrations/supabase/types").Json;
|
|
650
|
+
checked_keys?: import("../integrations/supabase/types").Json;
|
|
651
|
+
draft_date?: string;
|
|
652
|
+
form_state?: import("../integrations/supabase/types").Json;
|
|
653
|
+
notes?: string;
|
|
654
|
+
updated_at?: string;
|
|
655
|
+
user_id?: string;
|
|
656
|
+
};
|
|
657
|
+
Relationships: [];
|
|
658
|
+
};
|
|
659
|
+
cart_control_items: {
|
|
660
|
+
Row: {
|
|
661
|
+
action: string;
|
|
662
|
+
block_reason: string | null;
|
|
663
|
+
carrier_name: string | null;
|
|
664
|
+
cart_index: number;
|
|
665
|
+
cart_number_id: string | null;
|
|
666
|
+
cart_number_label: string | null;
|
|
667
|
+
created_at: string;
|
|
668
|
+
customer_name: string | null;
|
|
669
|
+
delivery_date: string | null;
|
|
670
|
+
id: string;
|
|
671
|
+
new_pick_date: string | null;
|
|
672
|
+
order_id: string;
|
|
673
|
+
order_number: string | null;
|
|
674
|
+
order_source: string;
|
|
675
|
+
pickup_date: string | null;
|
|
676
|
+
session_id: string;
|
|
677
|
+
};
|
|
678
|
+
Insert: {
|
|
679
|
+
action: string;
|
|
680
|
+
block_reason?: string | null;
|
|
681
|
+
carrier_name?: string | null;
|
|
682
|
+
cart_index: number;
|
|
683
|
+
cart_number_id?: string | null;
|
|
684
|
+
cart_number_label?: string | null;
|
|
685
|
+
created_at?: string;
|
|
686
|
+
customer_name?: string | null;
|
|
687
|
+
delivery_date?: string | null;
|
|
688
|
+
id?: string;
|
|
689
|
+
new_pick_date?: string | null;
|
|
690
|
+
order_id: string;
|
|
691
|
+
order_number?: string | null;
|
|
692
|
+
order_source: string;
|
|
693
|
+
pickup_date?: string | null;
|
|
694
|
+
session_id: string;
|
|
695
|
+
};
|
|
696
|
+
Update: {
|
|
697
|
+
action?: string;
|
|
698
|
+
block_reason?: string | null;
|
|
699
|
+
carrier_name?: string | null;
|
|
700
|
+
cart_index?: number;
|
|
701
|
+
cart_number_id?: string | null;
|
|
702
|
+
cart_number_label?: string | null;
|
|
703
|
+
created_at?: string;
|
|
704
|
+
customer_name?: string | null;
|
|
705
|
+
delivery_date?: string | null;
|
|
706
|
+
id?: string;
|
|
707
|
+
new_pick_date?: string | null;
|
|
708
|
+
order_id?: string;
|
|
709
|
+
order_number?: string | null;
|
|
710
|
+
order_source?: string;
|
|
711
|
+
pickup_date?: string | null;
|
|
712
|
+
session_id?: string;
|
|
713
|
+
};
|
|
714
|
+
Relationships: [{
|
|
715
|
+
foreignKeyName: "cart_control_items_session_id_fkey";
|
|
716
|
+
columns: ["session_id"];
|
|
717
|
+
isOneToOne: false;
|
|
718
|
+
referencedRelation: "cart_control_sessions";
|
|
719
|
+
referencedColumns: ["id"];
|
|
720
|
+
}];
|
|
721
|
+
};
|
|
722
|
+
cart_control_sessions: {
|
|
723
|
+
Row: {
|
|
724
|
+
blocked_count: number;
|
|
725
|
+
checked_count: number;
|
|
726
|
+
control_date: string;
|
|
727
|
+
created_at: string;
|
|
728
|
+
id: string;
|
|
729
|
+
notes: string | null;
|
|
730
|
+
performed_at: string;
|
|
731
|
+
rescheduled_count: number;
|
|
732
|
+
total_carts: number;
|
|
733
|
+
updated_at: string;
|
|
734
|
+
user_id: string;
|
|
735
|
+
};
|
|
736
|
+
Insert: {
|
|
737
|
+
blocked_count?: number;
|
|
738
|
+
checked_count?: number;
|
|
739
|
+
control_date?: string;
|
|
740
|
+
created_at?: string;
|
|
741
|
+
id?: string;
|
|
742
|
+
notes?: string | null;
|
|
743
|
+
performed_at?: string;
|
|
744
|
+
rescheduled_count?: number;
|
|
745
|
+
total_carts?: number;
|
|
746
|
+
updated_at?: string;
|
|
747
|
+
user_id: string;
|
|
748
|
+
};
|
|
749
|
+
Update: {
|
|
750
|
+
blocked_count?: number;
|
|
751
|
+
checked_count?: number;
|
|
752
|
+
control_date?: string;
|
|
753
|
+
created_at?: string;
|
|
754
|
+
id?: string;
|
|
755
|
+
notes?: string | null;
|
|
756
|
+
performed_at?: string;
|
|
757
|
+
rescheduled_count?: number;
|
|
758
|
+
total_carts?: number;
|
|
504
759
|
updated_at?: string;
|
|
505
760
|
user_id?: string;
|
|
506
761
|
};
|
|
507
762
|
Relationships: [];
|
|
508
763
|
};
|
|
764
|
+
cart_numbers: {
|
|
765
|
+
Row: {
|
|
766
|
+
assigned_at: string;
|
|
767
|
+
cart_index: number;
|
|
768
|
+
cart_number: string;
|
|
769
|
+
day_seq: number;
|
|
770
|
+
id: string;
|
|
771
|
+
order_id: string;
|
|
772
|
+
order_source: string;
|
|
773
|
+
pick_date: string;
|
|
774
|
+
status: string;
|
|
775
|
+
};
|
|
776
|
+
Insert: {
|
|
777
|
+
assigned_at?: string;
|
|
778
|
+
cart_index: number;
|
|
779
|
+
cart_number: string;
|
|
780
|
+
day_seq: number;
|
|
781
|
+
id?: string;
|
|
782
|
+
order_id: string;
|
|
783
|
+
order_source: string;
|
|
784
|
+
pick_date: string;
|
|
785
|
+
status?: string;
|
|
786
|
+
};
|
|
787
|
+
Update: {
|
|
788
|
+
assigned_at?: string;
|
|
789
|
+
cart_index?: number;
|
|
790
|
+
cart_number?: string;
|
|
791
|
+
day_seq?: number;
|
|
792
|
+
id?: string;
|
|
793
|
+
order_id?: string;
|
|
794
|
+
order_source?: string;
|
|
795
|
+
pick_date?: string;
|
|
796
|
+
status?: string;
|
|
797
|
+
};
|
|
798
|
+
Relationships: [];
|
|
799
|
+
};
|
|
800
|
+
cart_pick_overrides: {
|
|
801
|
+
Row: {
|
|
802
|
+
cart_index: number;
|
|
803
|
+
created_at: string;
|
|
804
|
+
id: string;
|
|
805
|
+
moved_from_date: string | null;
|
|
806
|
+
notes: string | null;
|
|
807
|
+
order_id: string;
|
|
808
|
+
order_source: string;
|
|
809
|
+
pick_date: string;
|
|
810
|
+
status: string;
|
|
811
|
+
updated_at: string;
|
|
812
|
+
};
|
|
813
|
+
Insert: {
|
|
814
|
+
cart_index: number;
|
|
815
|
+
created_at?: string;
|
|
816
|
+
id?: string;
|
|
817
|
+
moved_from_date?: string | null;
|
|
818
|
+
notes?: string | null;
|
|
819
|
+
order_id: string;
|
|
820
|
+
order_source: string;
|
|
821
|
+
pick_date: string;
|
|
822
|
+
status?: string;
|
|
823
|
+
updated_at?: string;
|
|
824
|
+
};
|
|
825
|
+
Update: {
|
|
826
|
+
cart_index?: number;
|
|
827
|
+
created_at?: string;
|
|
828
|
+
id?: string;
|
|
829
|
+
moved_from_date?: string | null;
|
|
830
|
+
notes?: string | null;
|
|
831
|
+
order_id?: string;
|
|
832
|
+
order_source?: string;
|
|
833
|
+
pick_date?: string;
|
|
834
|
+
status?: string;
|
|
835
|
+
updated_at?: string;
|
|
836
|
+
};
|
|
837
|
+
Relationships: [];
|
|
838
|
+
};
|
|
509
839
|
collections: {
|
|
510
840
|
Row: {
|
|
511
841
|
created_at: string;
|
|
@@ -617,50 +947,74 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
617
947
|
customer_delivery_locations: {
|
|
618
948
|
Row: {
|
|
619
949
|
address_line: string | null;
|
|
950
|
+
carrier_assignment_source: string;
|
|
951
|
+
carrier_id: string | null;
|
|
620
952
|
city: string | null;
|
|
621
953
|
country: string | null;
|
|
622
954
|
created_at: string;
|
|
623
955
|
customer_id: string;
|
|
624
956
|
floriday_location_id: string | null;
|
|
625
957
|
gln: string | null;
|
|
958
|
+
house_number: string | null;
|
|
626
959
|
id: string;
|
|
627
960
|
is_primary: boolean;
|
|
628
961
|
name: string | null;
|
|
629
962
|
postal_code: string | null;
|
|
963
|
+
province: string | null;
|
|
630
964
|
raw: import("../integrations/supabase/types").Json | null;
|
|
965
|
+
self_pickup: boolean;
|
|
966
|
+
street: string | null;
|
|
631
967
|
updated_at: string;
|
|
632
968
|
};
|
|
633
969
|
Insert: {
|
|
634
970
|
address_line?: string | null;
|
|
971
|
+
carrier_assignment_source?: string;
|
|
972
|
+
carrier_id?: string | null;
|
|
635
973
|
city?: string | null;
|
|
636
974
|
country?: string | null;
|
|
637
975
|
created_at?: string;
|
|
638
976
|
customer_id: string;
|
|
639
977
|
floriday_location_id?: string | null;
|
|
640
978
|
gln?: string | null;
|
|
979
|
+
house_number?: string | null;
|
|
641
980
|
id?: string;
|
|
642
981
|
is_primary?: boolean;
|
|
643
982
|
name?: string | null;
|
|
644
983
|
postal_code?: string | null;
|
|
984
|
+
province?: string | null;
|
|
645
985
|
raw?: import("../integrations/supabase/types").Json | null;
|
|
986
|
+
self_pickup?: boolean;
|
|
987
|
+
street?: string | null;
|
|
646
988
|
updated_at?: string;
|
|
647
989
|
};
|
|
648
990
|
Update: {
|
|
649
991
|
address_line?: string | null;
|
|
992
|
+
carrier_assignment_source?: string;
|
|
993
|
+
carrier_id?: string | null;
|
|
650
994
|
city?: string | null;
|
|
651
995
|
country?: string | null;
|
|
652
996
|
created_at?: string;
|
|
653
997
|
customer_id?: string;
|
|
654
998
|
floriday_location_id?: string | null;
|
|
655
999
|
gln?: string | null;
|
|
1000
|
+
house_number?: string | null;
|
|
656
1001
|
id?: string;
|
|
657
1002
|
is_primary?: boolean;
|
|
658
1003
|
name?: string | null;
|
|
659
1004
|
postal_code?: string | null;
|
|
1005
|
+
province?: string | null;
|
|
660
1006
|
raw?: import("../integrations/supabase/types").Json | null;
|
|
1007
|
+
self_pickup?: boolean;
|
|
1008
|
+
street?: string | null;
|
|
661
1009
|
updated_at?: string;
|
|
662
1010
|
};
|
|
663
1011
|
Relationships: [{
|
|
1012
|
+
foreignKeyName: "customer_delivery_locations_carrier_id_fkey";
|
|
1013
|
+
columns: ["carrier_id"];
|
|
1014
|
+
isOneToOne: false;
|
|
1015
|
+
referencedRelation: "carriers";
|
|
1016
|
+
referencedColumns: ["id"];
|
|
1017
|
+
}, {
|
|
664
1018
|
foreignKeyName: "customer_delivery_locations_customer_id_fkey";
|
|
665
1019
|
columns: ["customer_id"];
|
|
666
1020
|
isOneToOne: false;
|
|
@@ -1115,6 +1469,54 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
1115
1469
|
referencedColumns: ["id"];
|
|
1116
1470
|
}];
|
|
1117
1471
|
};
|
|
1472
|
+
dashboard_critical_alerts: {
|
|
1473
|
+
Row: {
|
|
1474
|
+
alert_key: string;
|
|
1475
|
+
alert_type: string;
|
|
1476
|
+
created_at: string;
|
|
1477
|
+
description: string | null;
|
|
1478
|
+
id: string;
|
|
1479
|
+
metadata: import("../integrations/supabase/types").Json | null;
|
|
1480
|
+
priority: string;
|
|
1481
|
+
raised_at: string;
|
|
1482
|
+
related_cart_ids: string[] | null;
|
|
1483
|
+
resolved_at: string | null;
|
|
1484
|
+
title: string;
|
|
1485
|
+
updated_at: string;
|
|
1486
|
+
user_id: string;
|
|
1487
|
+
};
|
|
1488
|
+
Insert: {
|
|
1489
|
+
alert_key: string;
|
|
1490
|
+
alert_type: string;
|
|
1491
|
+
created_at?: string;
|
|
1492
|
+
description?: string | null;
|
|
1493
|
+
id?: string;
|
|
1494
|
+
metadata?: import("../integrations/supabase/types").Json | null;
|
|
1495
|
+
priority?: string;
|
|
1496
|
+
raised_at?: string;
|
|
1497
|
+
related_cart_ids?: string[] | null;
|
|
1498
|
+
resolved_at?: string | null;
|
|
1499
|
+
title: string;
|
|
1500
|
+
updated_at?: string;
|
|
1501
|
+
user_id: string;
|
|
1502
|
+
};
|
|
1503
|
+
Update: {
|
|
1504
|
+
alert_key?: string;
|
|
1505
|
+
alert_type?: string;
|
|
1506
|
+
created_at?: string;
|
|
1507
|
+
description?: string | null;
|
|
1508
|
+
id?: string;
|
|
1509
|
+
metadata?: import("../integrations/supabase/types").Json | null;
|
|
1510
|
+
priority?: string;
|
|
1511
|
+
raised_at?: string;
|
|
1512
|
+
related_cart_ids?: string[] | null;
|
|
1513
|
+
resolved_at?: string | null;
|
|
1514
|
+
title?: string;
|
|
1515
|
+
updated_at?: string;
|
|
1516
|
+
user_id?: string;
|
|
1517
|
+
};
|
|
1518
|
+
Relationships: [];
|
|
1519
|
+
};
|
|
1118
1520
|
dashboard_daily_reports: {
|
|
1119
1521
|
Row: {
|
|
1120
1522
|
created_at: string;
|
|
@@ -1465,18 +1867,21 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
1465
1867
|
};
|
|
1466
1868
|
email_auth_purpose_settings: {
|
|
1467
1869
|
Row: {
|
|
1870
|
+
default_cc: string[];
|
|
1468
1871
|
purpose: string;
|
|
1469
1872
|
reply_to: string | null;
|
|
1470
1873
|
updated_at: string;
|
|
1471
1874
|
updated_by: string | null;
|
|
1472
1875
|
};
|
|
1473
1876
|
Insert: {
|
|
1877
|
+
default_cc?: string[];
|
|
1474
1878
|
purpose: string;
|
|
1475
1879
|
reply_to?: string | null;
|
|
1476
1880
|
updated_at?: string;
|
|
1477
1881
|
updated_by?: string | null;
|
|
1478
1882
|
};
|
|
1479
1883
|
Update: {
|
|
1884
|
+
default_cc?: string[];
|
|
1480
1885
|
purpose?: string;
|
|
1481
1886
|
reply_to?: string | null;
|
|
1482
1887
|
updated_at?: string;
|
|
@@ -2489,12 +2894,40 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2489
2894
|
};
|
|
2490
2895
|
Relationships: [];
|
|
2491
2896
|
};
|
|
2897
|
+
extra_pricing_types: {
|
|
2898
|
+
Row: {
|
|
2899
|
+
code: string;
|
|
2900
|
+
created_at: string;
|
|
2901
|
+
id: string;
|
|
2902
|
+
label: string;
|
|
2903
|
+
sort_order: number;
|
|
2904
|
+
updated_at: string;
|
|
2905
|
+
};
|
|
2906
|
+
Insert: {
|
|
2907
|
+
code: string;
|
|
2908
|
+
created_at?: string;
|
|
2909
|
+
id?: string;
|
|
2910
|
+
label: string;
|
|
2911
|
+
sort_order?: number;
|
|
2912
|
+
updated_at?: string;
|
|
2913
|
+
};
|
|
2914
|
+
Update: {
|
|
2915
|
+
code?: string;
|
|
2916
|
+
created_at?: string;
|
|
2917
|
+
id?: string;
|
|
2918
|
+
label?: string;
|
|
2919
|
+
sort_order?: number;
|
|
2920
|
+
updated_at?: string;
|
|
2921
|
+
};
|
|
2922
|
+
Relationships: [];
|
|
2923
|
+
};
|
|
2492
2924
|
extras: {
|
|
2493
2925
|
Row: {
|
|
2494
2926
|
category: string;
|
|
2495
2927
|
created_at: string;
|
|
2496
2928
|
exact_article_id: string | null;
|
|
2497
2929
|
id: string;
|
|
2930
|
+
image_url: string | null;
|
|
2498
2931
|
is_active: boolean;
|
|
2499
2932
|
name: string;
|
|
2500
2933
|
price: number;
|
|
@@ -2505,6 +2938,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2505
2938
|
created_at?: string;
|
|
2506
2939
|
exact_article_id?: string | null;
|
|
2507
2940
|
id?: string;
|
|
2941
|
+
image_url?: string | null;
|
|
2508
2942
|
is_active?: boolean;
|
|
2509
2943
|
name: string;
|
|
2510
2944
|
price?: number;
|
|
@@ -2515,6 +2949,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2515
2949
|
created_at?: string;
|
|
2516
2950
|
exact_article_id?: string | null;
|
|
2517
2951
|
id?: string;
|
|
2952
|
+
image_url?: string | null;
|
|
2518
2953
|
is_active?: boolean;
|
|
2519
2954
|
name?: string;
|
|
2520
2955
|
price?: number;
|
|
@@ -2584,6 +3019,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2584
3019
|
};
|
|
2585
3020
|
floricode_sync_state: {
|
|
2586
3021
|
Row: {
|
|
3022
|
+
cursor_skip: number;
|
|
2587
3023
|
error_message: string | null;
|
|
2588
3024
|
last_change_date_time: string | null;
|
|
2589
3025
|
last_sequence_number: number;
|
|
@@ -2593,6 +3029,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2593
3029
|
updated_at: string;
|
|
2594
3030
|
};
|
|
2595
3031
|
Insert: {
|
|
3032
|
+
cursor_skip?: number;
|
|
2596
3033
|
error_message?: string | null;
|
|
2597
3034
|
last_change_date_time?: string | null;
|
|
2598
3035
|
last_sequence_number?: number;
|
|
@@ -2602,6 +3039,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2602
3039
|
updated_at?: string;
|
|
2603
3040
|
};
|
|
2604
3041
|
Update: {
|
|
3042
|
+
cursor_skip?: number;
|
|
2605
3043
|
error_message?: string | null;
|
|
2606
3044
|
last_change_date_time?: string | null;
|
|
2607
3045
|
last_sequence_number?: number;
|
|
@@ -2612,230 +3050,1298 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2612
3050
|
};
|
|
2613
3051
|
Relationships: [];
|
|
2614
3052
|
};
|
|
2615
|
-
|
|
3053
|
+
floriday_additional_services_cache: {
|
|
2616
3054
|
Row: {
|
|
2617
|
-
connection_id: string
|
|
2618
|
-
created_at: string;
|
|
3055
|
+
connection_id: string;
|
|
2619
3056
|
data: import("../integrations/supabase/types").Json;
|
|
2620
3057
|
fetched_at: string;
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
organization_id: string;
|
|
3058
|
+
floriday_id: string;
|
|
3059
|
+
is_deleted: boolean;
|
|
3060
|
+
sequence_number: number;
|
|
2625
3061
|
updated_at: string;
|
|
2626
3062
|
};
|
|
2627
3063
|
Insert: {
|
|
2628
|
-
connection_id
|
|
2629
|
-
created_at?: string;
|
|
3064
|
+
connection_id: string;
|
|
2630
3065
|
data: import("../integrations/supabase/types").Json;
|
|
2631
3066
|
fetched_at?: string;
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
organization_id: string;
|
|
3067
|
+
floriday_id: string;
|
|
3068
|
+
is_deleted?: boolean;
|
|
3069
|
+
sequence_number?: number;
|
|
2636
3070
|
updated_at?: string;
|
|
2637
3071
|
};
|
|
2638
3072
|
Update: {
|
|
2639
|
-
connection_id?: string
|
|
2640
|
-
created_at?: string;
|
|
3073
|
+
connection_id?: string;
|
|
2641
3074
|
data?: import("../integrations/supabase/types").Json;
|
|
2642
3075
|
fetched_at?: string;
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
};
|
|
3076
|
+
floriday_id?: string;
|
|
3077
|
+
is_deleted?: boolean;
|
|
3078
|
+
sequence_number?: number;
|
|
3079
|
+
updated_at?: string;
|
|
3080
|
+
};
|
|
2649
3081
|
Relationships: [{
|
|
2650
|
-
foreignKeyName: "
|
|
3082
|
+
foreignKeyName: "floriday_additional_services_cache_connection_id_fkey";
|
|
2651
3083
|
columns: ["connection_id"];
|
|
2652
3084
|
isOneToOne: false;
|
|
2653
3085
|
referencedRelation: "floriday_connections";
|
|
2654
3086
|
referencedColumns: ["id"];
|
|
2655
3087
|
}];
|
|
2656
3088
|
};
|
|
2657
|
-
|
|
3089
|
+
floriday_agreement_calloffs_cache: {
|
|
2658
3090
|
Row: {
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
3091
|
+
agreement_id: string | null;
|
|
3092
|
+
connection_id: string;
|
|
3093
|
+
data: import("../integrations/supabase/types").Json;
|
|
3094
|
+
delivery_date: string | null;
|
|
3095
|
+
fetched_at: string;
|
|
3096
|
+
floriday_id: string;
|
|
3097
|
+
id: string;
|
|
3098
|
+
is_deleted: boolean;
|
|
3099
|
+
sequence_number: number;
|
|
3100
|
+
status: string | null;
|
|
3101
|
+
updated_at: string;
|
|
3102
|
+
};
|
|
3103
|
+
Insert: {
|
|
3104
|
+
agreement_id?: string | null;
|
|
3105
|
+
connection_id: string;
|
|
3106
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3107
|
+
delivery_date?: string | null;
|
|
3108
|
+
fetched_at?: string;
|
|
3109
|
+
floriday_id: string;
|
|
3110
|
+
id?: string;
|
|
3111
|
+
is_deleted?: boolean;
|
|
3112
|
+
sequence_number?: number;
|
|
3113
|
+
status?: string | null;
|
|
3114
|
+
updated_at?: string;
|
|
3115
|
+
};
|
|
3116
|
+
Update: {
|
|
3117
|
+
agreement_id?: string | null;
|
|
3118
|
+
connection_id?: string;
|
|
3119
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3120
|
+
delivery_date?: string | null;
|
|
3121
|
+
fetched_at?: string;
|
|
3122
|
+
floriday_id?: string;
|
|
3123
|
+
id?: string;
|
|
3124
|
+
is_deleted?: boolean;
|
|
3125
|
+
sequence_number?: number;
|
|
3126
|
+
status?: string | null;
|
|
3127
|
+
updated_at?: string;
|
|
3128
|
+
};
|
|
3129
|
+
Relationships: [{
|
|
3130
|
+
foreignKeyName: "floriday_agreement_calloffs_cache_connection_id_fkey";
|
|
3131
|
+
columns: ["connection_id"];
|
|
3132
|
+
isOneToOne: false;
|
|
3133
|
+
referencedRelation: "floriday_connections";
|
|
3134
|
+
referencedColumns: ["id"];
|
|
3135
|
+
}];
|
|
3136
|
+
};
|
|
3137
|
+
floriday_agreements_cache: {
|
|
3138
|
+
Row: {
|
|
3139
|
+
buyer_organization_id: string | null;
|
|
3140
|
+
connection_id: string;
|
|
3141
|
+
data: import("../integrations/supabase/types").Json;
|
|
3142
|
+
fetched_at: string;
|
|
3143
|
+
floriday_id: string;
|
|
3144
|
+
id: string;
|
|
3145
|
+
is_deleted: boolean;
|
|
3146
|
+
sequence_number: number;
|
|
3147
|
+
status: string | null;
|
|
3148
|
+
updated_at: string;
|
|
3149
|
+
valid_from: string | null;
|
|
3150
|
+
valid_until: string | null;
|
|
3151
|
+
};
|
|
3152
|
+
Insert: {
|
|
3153
|
+
buyer_organization_id?: string | null;
|
|
3154
|
+
connection_id: string;
|
|
3155
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3156
|
+
fetched_at?: string;
|
|
3157
|
+
floriday_id: string;
|
|
3158
|
+
id?: string;
|
|
3159
|
+
is_deleted?: boolean;
|
|
3160
|
+
sequence_number?: number;
|
|
3161
|
+
status?: string | null;
|
|
3162
|
+
updated_at?: string;
|
|
3163
|
+
valid_from?: string | null;
|
|
3164
|
+
valid_until?: string | null;
|
|
3165
|
+
};
|
|
3166
|
+
Update: {
|
|
3167
|
+
buyer_organization_id?: string | null;
|
|
3168
|
+
connection_id?: string;
|
|
3169
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3170
|
+
fetched_at?: string;
|
|
3171
|
+
floriday_id?: string;
|
|
3172
|
+
id?: string;
|
|
3173
|
+
is_deleted?: boolean;
|
|
3174
|
+
sequence_number?: number;
|
|
3175
|
+
status?: string | null;
|
|
3176
|
+
updated_at?: string;
|
|
3177
|
+
valid_from?: string | null;
|
|
3178
|
+
valid_until?: string | null;
|
|
3179
|
+
};
|
|
3180
|
+
Relationships: [{
|
|
3181
|
+
foreignKeyName: "floriday_agreements_cache_connection_id_fkey";
|
|
3182
|
+
columns: ["connection_id"];
|
|
3183
|
+
isOneToOne: false;
|
|
3184
|
+
referencedRelation: "floriday_connections";
|
|
3185
|
+
referencedColumns: ["id"];
|
|
3186
|
+
}];
|
|
3187
|
+
};
|
|
3188
|
+
floriday_auction_letters_cache: {
|
|
3189
|
+
Row: {
|
|
3190
|
+
auction_letter_code: string;
|
|
3191
|
+
clock_supply_id: string;
|
|
3192
|
+
connection_id: string;
|
|
3193
|
+
content_type: string;
|
|
3194
|
+
fetched_at: string;
|
|
3195
|
+
id: string;
|
|
3196
|
+
storage_path: string;
|
|
3197
|
+
};
|
|
3198
|
+
Insert: {
|
|
3199
|
+
auction_letter_code: string;
|
|
3200
|
+
clock_supply_id: string;
|
|
3201
|
+
connection_id: string;
|
|
3202
|
+
content_type?: string;
|
|
3203
|
+
fetched_at?: string;
|
|
3204
|
+
id?: string;
|
|
3205
|
+
storage_path: string;
|
|
3206
|
+
};
|
|
3207
|
+
Update: {
|
|
3208
|
+
auction_letter_code?: string;
|
|
3209
|
+
clock_supply_id?: string;
|
|
3210
|
+
connection_id?: string;
|
|
3211
|
+
content_type?: string;
|
|
3212
|
+
fetched_at?: string;
|
|
3213
|
+
id?: string;
|
|
3214
|
+
storage_path?: string;
|
|
3215
|
+
};
|
|
3216
|
+
Relationships: [{
|
|
3217
|
+
foreignKeyName: "floriday_auction_letters_cache_connection_id_fkey";
|
|
3218
|
+
columns: ["connection_id"];
|
|
3219
|
+
isOneToOne: false;
|
|
3220
|
+
referencedRelation: "floriday_connections";
|
|
3221
|
+
referencedColumns: ["id"];
|
|
3222
|
+
}];
|
|
3223
|
+
};
|
|
3224
|
+
floriday_base_items_cache: {
|
|
3225
|
+
Row: {
|
|
3226
|
+
connection_id: string;
|
|
3227
|
+
data: import("../integrations/supabase/types").Json;
|
|
3228
|
+
fetched_at: string;
|
|
3229
|
+
floriday_id: string;
|
|
3230
|
+
is_deleted: boolean;
|
|
3231
|
+
sequence_number: number;
|
|
3232
|
+
updated_at: string;
|
|
3233
|
+
};
|
|
3234
|
+
Insert: {
|
|
3235
|
+
connection_id: string;
|
|
3236
|
+
data: import("../integrations/supabase/types").Json;
|
|
3237
|
+
fetched_at?: string;
|
|
3238
|
+
floriday_id: string;
|
|
3239
|
+
is_deleted?: boolean;
|
|
3240
|
+
sequence_number?: number;
|
|
3241
|
+
updated_at?: string;
|
|
3242
|
+
};
|
|
3243
|
+
Update: {
|
|
3244
|
+
connection_id?: string;
|
|
3245
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3246
|
+
fetched_at?: string;
|
|
3247
|
+
floriday_id?: string;
|
|
3248
|
+
is_deleted?: boolean;
|
|
3249
|
+
sequence_number?: number;
|
|
3250
|
+
updated_at?: string;
|
|
3251
|
+
};
|
|
3252
|
+
Relationships: [{
|
|
3253
|
+
foreignKeyName: "floriday_base_items_cache_connection_id_fkey";
|
|
3254
|
+
columns: ["connection_id"];
|
|
3255
|
+
isOneToOne: false;
|
|
3256
|
+
referencedRelation: "floriday_connections";
|
|
3257
|
+
referencedColumns: ["id"];
|
|
3258
|
+
}];
|
|
3259
|
+
};
|
|
3260
|
+
floriday_blanket_orders_cache: {
|
|
3261
|
+
Row: {
|
|
3262
|
+
connection_id: string;
|
|
3263
|
+
contract_id: string | null;
|
|
2663
3264
|
created_at: string;
|
|
2664
|
-
|
|
2665
|
-
|
|
3265
|
+
data: import("../integrations/supabase/types").Json;
|
|
3266
|
+
fetched_at: string;
|
|
3267
|
+
floriday_id: string;
|
|
3268
|
+
id: string;
|
|
3269
|
+
is_deleted: boolean;
|
|
3270
|
+
sequence_number: number;
|
|
3271
|
+
updated_at: string;
|
|
3272
|
+
};
|
|
3273
|
+
Insert: {
|
|
3274
|
+
connection_id: string;
|
|
3275
|
+
contract_id?: string | null;
|
|
3276
|
+
created_at?: string;
|
|
3277
|
+
data: import("../integrations/supabase/types").Json;
|
|
3278
|
+
fetched_at?: string;
|
|
3279
|
+
floriday_id: string;
|
|
3280
|
+
id?: string;
|
|
3281
|
+
is_deleted?: boolean;
|
|
3282
|
+
sequence_number?: number;
|
|
3283
|
+
updated_at?: string;
|
|
3284
|
+
};
|
|
3285
|
+
Update: {
|
|
3286
|
+
connection_id?: string;
|
|
3287
|
+
contract_id?: string | null;
|
|
3288
|
+
created_at?: string;
|
|
3289
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3290
|
+
fetched_at?: string;
|
|
3291
|
+
floriday_id?: string;
|
|
3292
|
+
id?: string;
|
|
3293
|
+
is_deleted?: boolean;
|
|
3294
|
+
sequence_number?: number;
|
|
3295
|
+
updated_at?: string;
|
|
3296
|
+
};
|
|
3297
|
+
Relationships: [{
|
|
3298
|
+
foreignKeyName: "floriday_blanket_orders_cache_connection_id_fkey";
|
|
3299
|
+
columns: ["connection_id"];
|
|
3300
|
+
isOneToOne: false;
|
|
3301
|
+
referencedRelation: "floriday_connections";
|
|
3302
|
+
referencedColumns: ["id"];
|
|
3303
|
+
}];
|
|
3304
|
+
};
|
|
3305
|
+
floriday_carriers_cache: {
|
|
3306
|
+
Row: {
|
|
3307
|
+
connection_id: string | null;
|
|
3308
|
+
created_at: string;
|
|
3309
|
+
data: import("../integrations/supabase/types").Json;
|
|
3310
|
+
fetched_at: string;
|
|
2666
3311
|
gln_code: string | null;
|
|
2667
3312
|
id: string;
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
organization_name: string | null;
|
|
2671
|
-
preferred_warehouse_id: string | null;
|
|
2672
|
-
preferred_warehouse_name: string | null;
|
|
2673
|
-
token_expires_at: string | null;
|
|
3313
|
+
name: string | null;
|
|
3314
|
+
organization_id: string;
|
|
2674
3315
|
updated_at: string;
|
|
2675
3316
|
};
|
|
2676
3317
|
Insert: {
|
|
2677
|
-
|
|
2678
|
-
api_key: string;
|
|
2679
|
-
client_id: string;
|
|
2680
|
-
client_secret: string;
|
|
3318
|
+
connection_id?: string | null;
|
|
2681
3319
|
created_at?: string;
|
|
2682
|
-
|
|
2683
|
-
|
|
3320
|
+
data: import("../integrations/supabase/types").Json;
|
|
3321
|
+
fetched_at?: string;
|
|
2684
3322
|
gln_code?: string | null;
|
|
2685
3323
|
id?: string;
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
3324
|
+
name?: string | null;
|
|
3325
|
+
organization_id: string;
|
|
3326
|
+
updated_at?: string;
|
|
3327
|
+
};
|
|
3328
|
+
Update: {
|
|
3329
|
+
connection_id?: string | null;
|
|
3330
|
+
created_at?: string;
|
|
3331
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3332
|
+
fetched_at?: string;
|
|
3333
|
+
gln_code?: string | null;
|
|
3334
|
+
id?: string;
|
|
3335
|
+
name?: string | null;
|
|
3336
|
+
organization_id?: string;
|
|
2692
3337
|
updated_at?: string;
|
|
2693
3338
|
};
|
|
3339
|
+
Relationships: [{
|
|
3340
|
+
foreignKeyName: "floriday_carriers_cache_connection_id_fkey";
|
|
3341
|
+
columns: ["connection_id"];
|
|
3342
|
+
isOneToOne: false;
|
|
3343
|
+
referencedRelation: "floriday_connections";
|
|
3344
|
+
referencedColumns: ["id"];
|
|
3345
|
+
}];
|
|
3346
|
+
};
|
|
3347
|
+
floriday_clock_presales_cache: {
|
|
3348
|
+
Row: {
|
|
3349
|
+
buyer_organization_id: string | null;
|
|
3350
|
+
clock_supply_id: string | null;
|
|
3351
|
+
connection_id: string;
|
|
3352
|
+
data: import("../integrations/supabase/types").Json;
|
|
3353
|
+
fetched_at: string;
|
|
3354
|
+
floriday_id: string;
|
|
3355
|
+
id: string;
|
|
3356
|
+
is_deleted: boolean;
|
|
3357
|
+
sequence_number: number;
|
|
3358
|
+
updated_at: string;
|
|
3359
|
+
};
|
|
3360
|
+
Insert: {
|
|
3361
|
+
buyer_organization_id?: string | null;
|
|
3362
|
+
clock_supply_id?: string | null;
|
|
3363
|
+
connection_id: string;
|
|
3364
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3365
|
+
fetched_at?: string;
|
|
3366
|
+
floriday_id: string;
|
|
3367
|
+
id?: string;
|
|
3368
|
+
is_deleted?: boolean;
|
|
3369
|
+
sequence_number?: number;
|
|
3370
|
+
updated_at?: string;
|
|
3371
|
+
};
|
|
3372
|
+
Update: {
|
|
3373
|
+
buyer_organization_id?: string | null;
|
|
3374
|
+
clock_supply_id?: string | null;
|
|
3375
|
+
connection_id?: string;
|
|
3376
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3377
|
+
fetched_at?: string;
|
|
3378
|
+
floriday_id?: string;
|
|
3379
|
+
id?: string;
|
|
3380
|
+
is_deleted?: boolean;
|
|
3381
|
+
sequence_number?: number;
|
|
3382
|
+
updated_at?: string;
|
|
3383
|
+
};
|
|
3384
|
+
Relationships: [{
|
|
3385
|
+
foreignKeyName: "floriday_clock_presales_cache_connection_id_fkey";
|
|
3386
|
+
columns: ["connection_id"];
|
|
3387
|
+
isOneToOne: false;
|
|
3388
|
+
referencedRelation: "floriday_connections";
|
|
3389
|
+
referencedColumns: ["id"];
|
|
3390
|
+
}];
|
|
3391
|
+
};
|
|
3392
|
+
floriday_clock_supplies_cache: {
|
|
3393
|
+
Row: {
|
|
3394
|
+
auction_date: string | null;
|
|
3395
|
+
connection_id: string;
|
|
3396
|
+
data: import("../integrations/supabase/types").Json;
|
|
3397
|
+
fetched_at: string;
|
|
3398
|
+
floriday_id: string;
|
|
3399
|
+
id: string;
|
|
3400
|
+
is_deleted: boolean;
|
|
3401
|
+
sequence_number: number;
|
|
3402
|
+
status: string | null;
|
|
3403
|
+
trade_item_id: string | null;
|
|
3404
|
+
updated_at: string;
|
|
3405
|
+
};
|
|
3406
|
+
Insert: {
|
|
3407
|
+
auction_date?: string | null;
|
|
3408
|
+
connection_id: string;
|
|
3409
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3410
|
+
fetched_at?: string;
|
|
3411
|
+
floriday_id: string;
|
|
3412
|
+
id?: string;
|
|
3413
|
+
is_deleted?: boolean;
|
|
3414
|
+
sequence_number?: number;
|
|
3415
|
+
status?: string | null;
|
|
3416
|
+
trade_item_id?: string | null;
|
|
3417
|
+
updated_at?: string;
|
|
3418
|
+
};
|
|
3419
|
+
Update: {
|
|
3420
|
+
auction_date?: string | null;
|
|
3421
|
+
connection_id?: string;
|
|
3422
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3423
|
+
fetched_at?: string;
|
|
3424
|
+
floriday_id?: string;
|
|
3425
|
+
id?: string;
|
|
3426
|
+
is_deleted?: boolean;
|
|
3427
|
+
sequence_number?: number;
|
|
3428
|
+
status?: string | null;
|
|
3429
|
+
trade_item_id?: string | null;
|
|
3430
|
+
updated_at?: string;
|
|
3431
|
+
};
|
|
3432
|
+
Relationships: [{
|
|
3433
|
+
foreignKeyName: "floriday_clock_supplies_cache_connection_id_fkey";
|
|
3434
|
+
columns: ["connection_id"];
|
|
3435
|
+
isOneToOne: false;
|
|
3436
|
+
referencedRelation: "floriday_connections";
|
|
3437
|
+
referencedColumns: ["id"];
|
|
3438
|
+
}];
|
|
3439
|
+
};
|
|
3440
|
+
floriday_code_lists_cache: {
|
|
3441
|
+
Row: {
|
|
3442
|
+
code: string;
|
|
3443
|
+
environment: string;
|
|
3444
|
+
label: string | null;
|
|
3445
|
+
list_name: string;
|
|
3446
|
+
payload: import("../integrations/supabase/types").Json | null;
|
|
3447
|
+
updated_at: string;
|
|
3448
|
+
};
|
|
3449
|
+
Insert: {
|
|
3450
|
+
code: string;
|
|
3451
|
+
environment: string;
|
|
3452
|
+
label?: string | null;
|
|
3453
|
+
list_name: string;
|
|
3454
|
+
payload?: import("../integrations/supabase/types").Json | null;
|
|
3455
|
+
updated_at?: string;
|
|
3456
|
+
};
|
|
3457
|
+
Update: {
|
|
3458
|
+
code?: string;
|
|
3459
|
+
environment?: string;
|
|
3460
|
+
label?: string | null;
|
|
3461
|
+
list_name?: string;
|
|
3462
|
+
payload?: import("../integrations/supabase/types").Json | null;
|
|
3463
|
+
updated_at?: string;
|
|
3464
|
+
};
|
|
3465
|
+
Relationships: [];
|
|
3466
|
+
};
|
|
3467
|
+
floriday_collections_cache: {
|
|
3468
|
+
Row: {
|
|
3469
|
+
connection_id: string;
|
|
3470
|
+
data: import("../integrations/supabase/types").Json;
|
|
3471
|
+
fetched_at: string;
|
|
3472
|
+
floriday_id: string;
|
|
3473
|
+
is_deleted: boolean;
|
|
3474
|
+
sequence_number: number;
|
|
3475
|
+
updated_at: string;
|
|
3476
|
+
};
|
|
3477
|
+
Insert: {
|
|
3478
|
+
connection_id: string;
|
|
3479
|
+
data: import("../integrations/supabase/types").Json;
|
|
3480
|
+
fetched_at?: string;
|
|
3481
|
+
floriday_id: string;
|
|
3482
|
+
is_deleted?: boolean;
|
|
3483
|
+
sequence_number?: number;
|
|
3484
|
+
updated_at?: string;
|
|
3485
|
+
};
|
|
3486
|
+
Update: {
|
|
3487
|
+
connection_id?: string;
|
|
3488
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3489
|
+
fetched_at?: string;
|
|
3490
|
+
floriday_id?: string;
|
|
3491
|
+
is_deleted?: boolean;
|
|
3492
|
+
sequence_number?: number;
|
|
3493
|
+
updated_at?: string;
|
|
3494
|
+
};
|
|
3495
|
+
Relationships: [{
|
|
3496
|
+
foreignKeyName: "floriday_collections_cache_connection_id_fkey";
|
|
3497
|
+
columns: ["connection_id"];
|
|
3498
|
+
isOneToOne: false;
|
|
3499
|
+
referencedRelation: "floriday_connections";
|
|
3500
|
+
referencedColumns: ["id"];
|
|
3501
|
+
}];
|
|
3502
|
+
};
|
|
3503
|
+
floriday_commercial_service_types_cache: {
|
|
3504
|
+
Row: {
|
|
3505
|
+
connection_id: string;
|
|
3506
|
+
data: import("../integrations/supabase/types").Json;
|
|
3507
|
+
fetched_at: string;
|
|
3508
|
+
floriday_id: string;
|
|
3509
|
+
is_deleted: boolean;
|
|
3510
|
+
sequence_number: number;
|
|
3511
|
+
updated_at: string;
|
|
3512
|
+
};
|
|
3513
|
+
Insert: {
|
|
3514
|
+
connection_id: string;
|
|
3515
|
+
data: import("../integrations/supabase/types").Json;
|
|
3516
|
+
fetched_at?: string;
|
|
3517
|
+
floriday_id: string;
|
|
3518
|
+
is_deleted?: boolean;
|
|
3519
|
+
sequence_number?: number;
|
|
3520
|
+
updated_at?: string;
|
|
3521
|
+
};
|
|
3522
|
+
Update: {
|
|
3523
|
+
connection_id?: string;
|
|
3524
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3525
|
+
fetched_at?: string;
|
|
3526
|
+
floriday_id?: string;
|
|
3527
|
+
is_deleted?: boolean;
|
|
3528
|
+
sequence_number?: number;
|
|
3529
|
+
updated_at?: string;
|
|
3530
|
+
};
|
|
3531
|
+
Relationships: [{
|
|
3532
|
+
foreignKeyName: "floriday_commercial_service_types_cache_connection_id_fkey";
|
|
3533
|
+
columns: ["connection_id"];
|
|
3534
|
+
isOneToOne: false;
|
|
3535
|
+
referencedRelation: "floriday_connections";
|
|
3536
|
+
referencedColumns: ["id"];
|
|
3537
|
+
}];
|
|
3538
|
+
};
|
|
3539
|
+
floriday_connections: {
|
|
3540
|
+
Row: {
|
|
3541
|
+
access_token: string | null;
|
|
3542
|
+
api_key: string;
|
|
3543
|
+
client_id: string;
|
|
3544
|
+
client_secret: string;
|
|
3545
|
+
created_at: string;
|
|
3546
|
+
customers_endpoint: string | null;
|
|
3547
|
+
environment: string;
|
|
3548
|
+
gln_code: string | null;
|
|
3549
|
+
id: string;
|
|
3550
|
+
is_active: boolean;
|
|
3551
|
+
label: string;
|
|
3552
|
+
organization_name: string | null;
|
|
3553
|
+
preferred_warehouse_id: string | null;
|
|
3554
|
+
preferred_warehouse_name: string | null;
|
|
3555
|
+
token_expires_at: string | null;
|
|
3556
|
+
updated_at: string;
|
|
3557
|
+
};
|
|
3558
|
+
Insert: {
|
|
3559
|
+
access_token?: string | null;
|
|
3560
|
+
api_key: string;
|
|
3561
|
+
client_id: string;
|
|
3562
|
+
client_secret: string;
|
|
3563
|
+
created_at?: string;
|
|
3564
|
+
customers_endpoint?: string | null;
|
|
3565
|
+
environment: string;
|
|
3566
|
+
gln_code?: string | null;
|
|
3567
|
+
id?: string;
|
|
3568
|
+
is_active?: boolean;
|
|
3569
|
+
label?: string;
|
|
3570
|
+
organization_name?: string | null;
|
|
3571
|
+
preferred_warehouse_id?: string | null;
|
|
3572
|
+
preferred_warehouse_name?: string | null;
|
|
3573
|
+
token_expires_at?: string | null;
|
|
3574
|
+
updated_at?: string;
|
|
3575
|
+
};
|
|
3576
|
+
Update: {
|
|
3577
|
+
access_token?: string | null;
|
|
3578
|
+
api_key?: string;
|
|
3579
|
+
client_id?: string;
|
|
3580
|
+
client_secret?: string;
|
|
3581
|
+
created_at?: string;
|
|
3582
|
+
customers_endpoint?: string | null;
|
|
3583
|
+
environment?: string;
|
|
3584
|
+
gln_code?: string | null;
|
|
3585
|
+
id?: string;
|
|
3586
|
+
is_active?: boolean;
|
|
3587
|
+
label?: string;
|
|
3588
|
+
organization_name?: string | null;
|
|
3589
|
+
preferred_warehouse_id?: string | null;
|
|
3590
|
+
preferred_warehouse_name?: string | null;
|
|
3591
|
+
token_expires_at?: string | null;
|
|
3592
|
+
updated_at?: string;
|
|
3593
|
+
};
|
|
3594
|
+
Relationships: [];
|
|
3595
|
+
};
|
|
3596
|
+
floriday_connections_cache: {
|
|
3597
|
+
Row: {
|
|
3598
|
+
buyer_organization_id: string | null;
|
|
3599
|
+
buyer_organization_name: string | null;
|
|
3600
|
+
connection_id: string;
|
|
3601
|
+
data: import("../integrations/supabase/types").Json;
|
|
3602
|
+
floriday_connection_id: string;
|
|
3603
|
+
is_deleted: boolean;
|
|
3604
|
+
sequence_number: number;
|
|
3605
|
+
status: string | null;
|
|
3606
|
+
synced_at: string;
|
|
3607
|
+
};
|
|
3608
|
+
Insert: {
|
|
3609
|
+
buyer_organization_id?: string | null;
|
|
3610
|
+
buyer_organization_name?: string | null;
|
|
3611
|
+
connection_id: string;
|
|
3612
|
+
data: import("../integrations/supabase/types").Json;
|
|
3613
|
+
floriday_connection_id: string;
|
|
3614
|
+
is_deleted?: boolean;
|
|
3615
|
+
sequence_number: number;
|
|
3616
|
+
status?: string | null;
|
|
3617
|
+
synced_at?: string;
|
|
3618
|
+
};
|
|
3619
|
+
Update: {
|
|
3620
|
+
buyer_organization_id?: string | null;
|
|
3621
|
+
buyer_organization_name?: string | null;
|
|
3622
|
+
connection_id?: string;
|
|
3623
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3624
|
+
floriday_connection_id?: string;
|
|
3625
|
+
is_deleted?: boolean;
|
|
3626
|
+
sequence_number?: number;
|
|
3627
|
+
status?: string | null;
|
|
3628
|
+
synced_at?: string;
|
|
3629
|
+
};
|
|
3630
|
+
Relationships: [{
|
|
3631
|
+
foreignKeyName: "floriday_connections_cache_connection_id_fkey";
|
|
3632
|
+
columns: ["connection_id"];
|
|
3633
|
+
isOneToOne: false;
|
|
3634
|
+
referencedRelation: "floriday_connections";
|
|
3635
|
+
referencedColumns: ["id"];
|
|
3636
|
+
}];
|
|
3637
|
+
};
|
|
3638
|
+
floriday_contract_trade_item_groups_cache: {
|
|
3639
|
+
Row: {
|
|
3640
|
+
connection_id: string;
|
|
3641
|
+
data: import("../integrations/supabase/types").Json;
|
|
3642
|
+
fetched_at: string;
|
|
3643
|
+
floriday_id: string;
|
|
3644
|
+
is_deleted: boolean;
|
|
3645
|
+
sequence_number: number;
|
|
3646
|
+
updated_at: string;
|
|
3647
|
+
};
|
|
3648
|
+
Insert: {
|
|
3649
|
+
connection_id: string;
|
|
3650
|
+
data: import("../integrations/supabase/types").Json;
|
|
3651
|
+
fetched_at?: string;
|
|
3652
|
+
floriday_id: string;
|
|
3653
|
+
is_deleted?: boolean;
|
|
3654
|
+
sequence_number?: number;
|
|
3655
|
+
updated_at?: string;
|
|
3656
|
+
};
|
|
3657
|
+
Update: {
|
|
3658
|
+
connection_id?: string;
|
|
3659
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3660
|
+
fetched_at?: string;
|
|
3661
|
+
floriday_id?: string;
|
|
3662
|
+
is_deleted?: boolean;
|
|
3663
|
+
sequence_number?: number;
|
|
3664
|
+
updated_at?: string;
|
|
3665
|
+
};
|
|
3666
|
+
Relationships: [{
|
|
3667
|
+
foreignKeyName: "floriday_contract_trade_item_groups_cache_connection_id_fkey";
|
|
3668
|
+
columns: ["connection_id"];
|
|
3669
|
+
isOneToOne: false;
|
|
3670
|
+
referencedRelation: "floriday_connections";
|
|
3671
|
+
referencedColumns: ["id"];
|
|
3672
|
+
}];
|
|
3673
|
+
};
|
|
3674
|
+
floriday_contracts_cache: {
|
|
3675
|
+
Row: {
|
|
3676
|
+
connection_id: string;
|
|
3677
|
+
created_at: string;
|
|
3678
|
+
data: import("../integrations/supabase/types").Json;
|
|
3679
|
+
fetched_at: string;
|
|
3680
|
+
floriday_id: string;
|
|
3681
|
+
id: string;
|
|
3682
|
+
is_deleted: boolean;
|
|
3683
|
+
sequence_number: number;
|
|
3684
|
+
updated_at: string;
|
|
3685
|
+
};
|
|
3686
|
+
Insert: {
|
|
3687
|
+
connection_id: string;
|
|
3688
|
+
created_at?: string;
|
|
3689
|
+
data: import("../integrations/supabase/types").Json;
|
|
3690
|
+
fetched_at?: string;
|
|
3691
|
+
floriday_id: string;
|
|
3692
|
+
id?: string;
|
|
3693
|
+
is_deleted?: boolean;
|
|
3694
|
+
sequence_number?: number;
|
|
3695
|
+
updated_at?: string;
|
|
3696
|
+
};
|
|
3697
|
+
Update: {
|
|
3698
|
+
connection_id?: string;
|
|
3699
|
+
created_at?: string;
|
|
3700
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3701
|
+
fetched_at?: string;
|
|
3702
|
+
floriday_id?: string;
|
|
3703
|
+
id?: string;
|
|
3704
|
+
is_deleted?: boolean;
|
|
3705
|
+
sequence_number?: number;
|
|
3706
|
+
updated_at?: string;
|
|
3707
|
+
};
|
|
3708
|
+
Relationships: [{
|
|
3709
|
+
foreignKeyName: "floriday_contracts_cache_connection_id_fkey";
|
|
3710
|
+
columns: ["connection_id"];
|
|
3711
|
+
isOneToOne: false;
|
|
3712
|
+
referencedRelation: "floriday_connections";
|
|
3713
|
+
referencedColumns: ["id"];
|
|
3714
|
+
}];
|
|
3715
|
+
};
|
|
3716
|
+
floriday_customer_sticker_pdfs_cache: {
|
|
3717
|
+
Row: {
|
|
3718
|
+
byte_size: number | null;
|
|
3719
|
+
connection_id: string;
|
|
3720
|
+
content_type: string;
|
|
3721
|
+
created_at: string;
|
|
3722
|
+
fetched_at: string;
|
|
3723
|
+
id: string;
|
|
3724
|
+
sticker_id: string;
|
|
3725
|
+
storage_path: string;
|
|
3726
|
+
};
|
|
3727
|
+
Insert: {
|
|
3728
|
+
byte_size?: number | null;
|
|
3729
|
+
connection_id: string;
|
|
3730
|
+
content_type?: string;
|
|
3731
|
+
created_at?: string;
|
|
3732
|
+
fetched_at?: string;
|
|
3733
|
+
id?: string;
|
|
3734
|
+
sticker_id: string;
|
|
3735
|
+
storage_path: string;
|
|
3736
|
+
};
|
|
3737
|
+
Update: {
|
|
3738
|
+
byte_size?: number | null;
|
|
3739
|
+
connection_id?: string;
|
|
3740
|
+
content_type?: string;
|
|
3741
|
+
created_at?: string;
|
|
3742
|
+
fetched_at?: string;
|
|
3743
|
+
id?: string;
|
|
3744
|
+
sticker_id?: string;
|
|
3745
|
+
storage_path?: string;
|
|
3746
|
+
};
|
|
3747
|
+
Relationships: [{
|
|
3748
|
+
foreignKeyName: "floriday_customer_sticker_pdfs_cache_connection_id_fkey";
|
|
3749
|
+
columns: ["connection_id"];
|
|
3750
|
+
isOneToOne: false;
|
|
3751
|
+
referencedRelation: "floriday_connections";
|
|
3752
|
+
referencedColumns: ["id"];
|
|
3753
|
+
}];
|
|
3754
|
+
};
|
|
3755
|
+
floriday_customer_stickers_cache: {
|
|
3756
|
+
Row: {
|
|
3757
|
+
connection_id: string;
|
|
3758
|
+
created_at: string;
|
|
3759
|
+
data: import("../integrations/supabase/types").Json;
|
|
3760
|
+
fetched_at: string;
|
|
3761
|
+
floriday_id: string;
|
|
3762
|
+
id: string;
|
|
3763
|
+
is_deleted: boolean;
|
|
3764
|
+
quantity: number | null;
|
|
3765
|
+
sales_order_id: string | null;
|
|
3766
|
+
sequence_number: number;
|
|
3767
|
+
status: string | null;
|
|
3768
|
+
trade_item_id: string | null;
|
|
3769
|
+
updated_at: string;
|
|
3770
|
+
};
|
|
3771
|
+
Insert: {
|
|
3772
|
+
connection_id: string;
|
|
3773
|
+
created_at?: string;
|
|
3774
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3775
|
+
fetched_at?: string;
|
|
3776
|
+
floriday_id: string;
|
|
3777
|
+
id?: string;
|
|
3778
|
+
is_deleted?: boolean;
|
|
3779
|
+
quantity?: number | null;
|
|
3780
|
+
sales_order_id?: string | null;
|
|
3781
|
+
sequence_number?: number;
|
|
3782
|
+
status?: string | null;
|
|
3783
|
+
trade_item_id?: string | null;
|
|
3784
|
+
updated_at?: string;
|
|
3785
|
+
};
|
|
3786
|
+
Update: {
|
|
3787
|
+
connection_id?: string;
|
|
3788
|
+
created_at?: string;
|
|
3789
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3790
|
+
fetched_at?: string;
|
|
3791
|
+
floriday_id?: string;
|
|
3792
|
+
id?: string;
|
|
3793
|
+
is_deleted?: boolean;
|
|
3794
|
+
quantity?: number | null;
|
|
3795
|
+
sales_order_id?: string | null;
|
|
3796
|
+
sequence_number?: number;
|
|
3797
|
+
status?: string | null;
|
|
3798
|
+
trade_item_id?: string | null;
|
|
3799
|
+
updated_at?: string;
|
|
3800
|
+
};
|
|
3801
|
+
Relationships: [{
|
|
3802
|
+
foreignKeyName: "floriday_customer_stickers_cache_connection_id_fkey";
|
|
3803
|
+
columns: ["connection_id"];
|
|
3804
|
+
isOneToOne: false;
|
|
3805
|
+
referencedRelation: "floriday_connections";
|
|
3806
|
+
referencedColumns: ["id"];
|
|
3807
|
+
}];
|
|
3808
|
+
};
|
|
3809
|
+
floriday_customers_cache: {
|
|
3810
|
+
Row: {
|
|
3811
|
+
connection_id: string | null;
|
|
3812
|
+
data: import("../integrations/supabase/types").Json;
|
|
3813
|
+
fetched_at: string;
|
|
3814
|
+
gln_code: string | null;
|
|
3815
|
+
is_deleted: boolean;
|
|
3816
|
+
name: string | null;
|
|
3817
|
+
organization_id: string;
|
|
3818
|
+
sequence_number: number | null;
|
|
3819
|
+
};
|
|
3820
|
+
Insert: {
|
|
3821
|
+
connection_id?: string | null;
|
|
3822
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3823
|
+
fetched_at?: string;
|
|
3824
|
+
gln_code?: string | null;
|
|
3825
|
+
is_deleted?: boolean;
|
|
3826
|
+
name?: string | null;
|
|
3827
|
+
organization_id: string;
|
|
3828
|
+
sequence_number?: number | null;
|
|
3829
|
+
};
|
|
3830
|
+
Update: {
|
|
3831
|
+
connection_id?: string | null;
|
|
3832
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3833
|
+
fetched_at?: string;
|
|
3834
|
+
gln_code?: string | null;
|
|
3835
|
+
is_deleted?: boolean;
|
|
3836
|
+
name?: string | null;
|
|
3837
|
+
organization_id?: string;
|
|
3838
|
+
sequence_number?: number | null;
|
|
3839
|
+
};
|
|
3840
|
+
Relationships: [{
|
|
3841
|
+
foreignKeyName: "floriday_customers_cache_connection_id_fkey";
|
|
3842
|
+
columns: ["connection_id"];
|
|
3843
|
+
isOneToOne: false;
|
|
3844
|
+
referencedRelation: "floriday_connections";
|
|
3845
|
+
referencedColumns: ["id"];
|
|
3846
|
+
}];
|
|
3847
|
+
};
|
|
3848
|
+
floriday_delivery_condition_sets_cache: {
|
|
3849
|
+
Row: {
|
|
3850
|
+
connection_id: string;
|
|
3851
|
+
data: import("../integrations/supabase/types").Json;
|
|
3852
|
+
fetched_at: string;
|
|
3853
|
+
floriday_id: string;
|
|
3854
|
+
is_deleted: boolean;
|
|
3855
|
+
sequence_number: number;
|
|
3856
|
+
updated_at: string;
|
|
3857
|
+
};
|
|
3858
|
+
Insert: {
|
|
3859
|
+
connection_id: string;
|
|
3860
|
+
data: import("../integrations/supabase/types").Json;
|
|
3861
|
+
fetched_at?: string;
|
|
3862
|
+
floriday_id: string;
|
|
3863
|
+
is_deleted?: boolean;
|
|
3864
|
+
sequence_number?: number;
|
|
3865
|
+
updated_at?: string;
|
|
3866
|
+
};
|
|
3867
|
+
Update: {
|
|
3868
|
+
connection_id?: string;
|
|
3869
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3870
|
+
fetched_at?: string;
|
|
3871
|
+
floriday_id?: string;
|
|
3872
|
+
is_deleted?: boolean;
|
|
3873
|
+
sequence_number?: number;
|
|
3874
|
+
updated_at?: string;
|
|
3875
|
+
};
|
|
3876
|
+
Relationships: [{
|
|
3877
|
+
foreignKeyName: "floriday_delivery_condition_sets_cache_connection_id_fkey";
|
|
3878
|
+
columns: ["connection_id"];
|
|
3879
|
+
isOneToOne: false;
|
|
3880
|
+
referencedRelation: "floriday_connections";
|
|
3881
|
+
referencedColumns: ["id"];
|
|
3882
|
+
}];
|
|
3883
|
+
};
|
|
3884
|
+
floriday_delivery_locations_cache: {
|
|
3885
|
+
Row: {
|
|
3886
|
+
connection_id: string;
|
|
3887
|
+
data: import("../integrations/supabase/types").Json;
|
|
3888
|
+
fetched_at: string;
|
|
3889
|
+
floriday_id: string;
|
|
3890
|
+
gln_code: string | null;
|
|
3891
|
+
id: string;
|
|
3892
|
+
is_deleted: boolean;
|
|
3893
|
+
name: string | null;
|
|
3894
|
+
organization_id: string | null;
|
|
3895
|
+
updated_at: string;
|
|
3896
|
+
};
|
|
3897
|
+
Insert: {
|
|
3898
|
+
connection_id: string;
|
|
3899
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3900
|
+
fetched_at?: string;
|
|
3901
|
+
floriday_id: string;
|
|
3902
|
+
gln_code?: string | null;
|
|
3903
|
+
id?: string;
|
|
3904
|
+
is_deleted?: boolean;
|
|
3905
|
+
name?: string | null;
|
|
3906
|
+
organization_id?: string | null;
|
|
3907
|
+
updated_at?: string;
|
|
3908
|
+
};
|
|
3909
|
+
Update: {
|
|
3910
|
+
connection_id?: string;
|
|
3911
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3912
|
+
fetched_at?: string;
|
|
3913
|
+
floriday_id?: string;
|
|
3914
|
+
gln_code?: string | null;
|
|
3915
|
+
id?: string;
|
|
3916
|
+
is_deleted?: boolean;
|
|
3917
|
+
name?: string | null;
|
|
3918
|
+
organization_id?: string | null;
|
|
3919
|
+
updated_at?: string;
|
|
3920
|
+
};
|
|
3921
|
+
Relationships: [{
|
|
3922
|
+
foreignKeyName: "floriday_delivery_locations_cache_connection_id_fkey";
|
|
3923
|
+
columns: ["connection_id"];
|
|
3924
|
+
isOneToOne: false;
|
|
3925
|
+
referencedRelation: "floriday_connections";
|
|
3926
|
+
referencedColumns: ["id"];
|
|
3927
|
+
}];
|
|
3928
|
+
};
|
|
3929
|
+
floriday_delivery_orders_cache: {
|
|
3930
|
+
Row: {
|
|
3931
|
+
auction_date: string | null;
|
|
3932
|
+
connection_id: string;
|
|
3933
|
+
data: import("../integrations/supabase/types").Json;
|
|
3934
|
+
destination_warehouse_id: string | null;
|
|
3935
|
+
fetched_at: string;
|
|
3936
|
+
floriday_id: string;
|
|
3937
|
+
id: string;
|
|
3938
|
+
is_deleted: boolean;
|
|
3939
|
+
sequence_number: number;
|
|
3940
|
+
status: string | null;
|
|
3941
|
+
trade_item_id: string | null;
|
|
3942
|
+
updated_at: string;
|
|
3943
|
+
};
|
|
3944
|
+
Insert: {
|
|
3945
|
+
auction_date?: string | null;
|
|
3946
|
+
connection_id: string;
|
|
3947
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3948
|
+
destination_warehouse_id?: string | null;
|
|
3949
|
+
fetched_at?: string;
|
|
3950
|
+
floriday_id: string;
|
|
3951
|
+
id?: string;
|
|
3952
|
+
is_deleted?: boolean;
|
|
3953
|
+
sequence_number?: number;
|
|
3954
|
+
status?: string | null;
|
|
3955
|
+
trade_item_id?: string | null;
|
|
3956
|
+
updated_at?: string;
|
|
3957
|
+
};
|
|
3958
|
+
Update: {
|
|
3959
|
+
auction_date?: string | null;
|
|
3960
|
+
connection_id?: string;
|
|
3961
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3962
|
+
destination_warehouse_id?: string | null;
|
|
3963
|
+
fetched_at?: string;
|
|
3964
|
+
floriday_id?: string;
|
|
3965
|
+
id?: string;
|
|
3966
|
+
is_deleted?: boolean;
|
|
3967
|
+
sequence_number?: number;
|
|
3968
|
+
status?: string | null;
|
|
3969
|
+
trade_item_id?: string | null;
|
|
3970
|
+
updated_at?: string;
|
|
3971
|
+
};
|
|
3972
|
+
Relationships: [{
|
|
3973
|
+
foreignKeyName: "floriday_delivery_orders_cache_connection_id_fkey";
|
|
3974
|
+
columns: ["connection_id"];
|
|
3975
|
+
isOneToOne: false;
|
|
3976
|
+
referencedRelation: "floriday_connections";
|
|
3977
|
+
referencedColumns: ["id"];
|
|
3978
|
+
}];
|
|
3979
|
+
};
|
|
3980
|
+
floriday_fulfillment_orders_cache: {
|
|
3981
|
+
Row: {
|
|
3982
|
+
auction_date: string | null;
|
|
3983
|
+
connection_id: string;
|
|
3984
|
+
data: import("../integrations/supabase/types").Json;
|
|
3985
|
+
delivery_order_id: string | null;
|
|
3986
|
+
despatch_warehouse_id: string | null;
|
|
3987
|
+
destination_warehouse_id: string | null;
|
|
3988
|
+
fetched_at: string;
|
|
3989
|
+
floriday_id: string;
|
|
3990
|
+
id: string;
|
|
3991
|
+
is_deleted: boolean | null;
|
|
3992
|
+
latest_delivery_at: string | null;
|
|
3993
|
+
load_carrier_type: string | null;
|
|
3994
|
+
one_label_only: boolean | null;
|
|
3995
|
+
sequence_number: number;
|
|
3996
|
+
status: string | null;
|
|
3997
|
+
};
|
|
3998
|
+
Insert: {
|
|
3999
|
+
auction_date?: string | null;
|
|
4000
|
+
connection_id: string;
|
|
4001
|
+
data: import("../integrations/supabase/types").Json;
|
|
4002
|
+
delivery_order_id?: string | null;
|
|
4003
|
+
despatch_warehouse_id?: string | null;
|
|
4004
|
+
destination_warehouse_id?: string | null;
|
|
4005
|
+
fetched_at?: string;
|
|
4006
|
+
floriday_id: string;
|
|
4007
|
+
id?: string;
|
|
4008
|
+
is_deleted?: boolean | null;
|
|
4009
|
+
latest_delivery_at?: string | null;
|
|
4010
|
+
load_carrier_type?: string | null;
|
|
4011
|
+
one_label_only?: boolean | null;
|
|
4012
|
+
sequence_number?: number;
|
|
4013
|
+
status?: string | null;
|
|
4014
|
+
};
|
|
4015
|
+
Update: {
|
|
4016
|
+
auction_date?: string | null;
|
|
4017
|
+
connection_id?: string;
|
|
4018
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4019
|
+
delivery_order_id?: string | null;
|
|
4020
|
+
despatch_warehouse_id?: string | null;
|
|
4021
|
+
destination_warehouse_id?: string | null;
|
|
4022
|
+
fetched_at?: string;
|
|
4023
|
+
floriday_id?: string;
|
|
4024
|
+
id?: string;
|
|
4025
|
+
is_deleted?: boolean | null;
|
|
4026
|
+
latest_delivery_at?: string | null;
|
|
4027
|
+
load_carrier_type?: string | null;
|
|
4028
|
+
one_label_only?: boolean | null;
|
|
4029
|
+
sequence_number?: number;
|
|
4030
|
+
status?: string | null;
|
|
4031
|
+
};
|
|
4032
|
+
Relationships: [{
|
|
4033
|
+
foreignKeyName: "floriday_fulfillment_orders_cache_connection_id_fkey";
|
|
4034
|
+
columns: ["connection_id"];
|
|
4035
|
+
isOneToOne: false;
|
|
4036
|
+
referencedRelation: "floriday_connections";
|
|
4037
|
+
referencedColumns: ["id"];
|
|
4038
|
+
}];
|
|
4039
|
+
};
|
|
4040
|
+
floriday_invoices_cache: {
|
|
4041
|
+
Row: {
|
|
4042
|
+
buyer_organization_id: string | null;
|
|
4043
|
+
connection_id: string;
|
|
4044
|
+
currency: string | null;
|
|
4045
|
+
data: import("../integrations/supabase/types").Json;
|
|
4046
|
+
fetched_at: string;
|
|
4047
|
+
floriday_id: string;
|
|
4048
|
+
id: string;
|
|
4049
|
+
invoice_date: string | null;
|
|
4050
|
+
invoice_number: string | null;
|
|
4051
|
+
is_deleted: boolean;
|
|
4052
|
+
sequence_number: number;
|
|
4053
|
+
total_amount: number | null;
|
|
4054
|
+
updated_at: string;
|
|
4055
|
+
};
|
|
4056
|
+
Insert: {
|
|
4057
|
+
buyer_organization_id?: string | null;
|
|
4058
|
+
connection_id: string;
|
|
4059
|
+
currency?: string | null;
|
|
4060
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4061
|
+
fetched_at?: string;
|
|
4062
|
+
floriday_id: string;
|
|
4063
|
+
id?: string;
|
|
4064
|
+
invoice_date?: string | null;
|
|
4065
|
+
invoice_number?: string | null;
|
|
4066
|
+
is_deleted?: boolean;
|
|
4067
|
+
sequence_number?: number;
|
|
4068
|
+
total_amount?: number | null;
|
|
4069
|
+
updated_at?: string;
|
|
4070
|
+
};
|
|
4071
|
+
Update: {
|
|
4072
|
+
buyer_organization_id?: string | null;
|
|
4073
|
+
connection_id?: string;
|
|
4074
|
+
currency?: string | null;
|
|
4075
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4076
|
+
fetched_at?: string;
|
|
4077
|
+
floriday_id?: string;
|
|
4078
|
+
id?: string;
|
|
4079
|
+
invoice_date?: string | null;
|
|
4080
|
+
invoice_number?: string | null;
|
|
4081
|
+
is_deleted?: boolean;
|
|
4082
|
+
sequence_number?: number;
|
|
4083
|
+
total_amount?: number | null;
|
|
4084
|
+
updated_at?: string;
|
|
4085
|
+
};
|
|
4086
|
+
Relationships: [{
|
|
4087
|
+
foreignKeyName: "floriday_invoices_cache_connection_id_fkey";
|
|
4088
|
+
columns: ["connection_id"];
|
|
4089
|
+
isOneToOne: false;
|
|
4090
|
+
referencedRelation: "floriday_connections";
|
|
4091
|
+
referencedColumns: ["id"];
|
|
4092
|
+
}];
|
|
4093
|
+
};
|
|
4094
|
+
floriday_logistic_labels_cache: {
|
|
4095
|
+
Row: {
|
|
4096
|
+
byte_size: number | null;
|
|
4097
|
+
connection_id: string;
|
|
4098
|
+
content_type: string;
|
|
4099
|
+
fetched_at: string;
|
|
4100
|
+
fulfillment_order_id: string;
|
|
4101
|
+
id: string;
|
|
4102
|
+
logistic_label_code: string;
|
|
4103
|
+
storage_path: string;
|
|
4104
|
+
};
|
|
4105
|
+
Insert: {
|
|
4106
|
+
byte_size?: number | null;
|
|
4107
|
+
connection_id: string;
|
|
4108
|
+
content_type?: string;
|
|
4109
|
+
fetched_at?: string;
|
|
4110
|
+
fulfillment_order_id: string;
|
|
4111
|
+
id?: string;
|
|
4112
|
+
logistic_label_code: string;
|
|
4113
|
+
storage_path: string;
|
|
4114
|
+
};
|
|
4115
|
+
Update: {
|
|
4116
|
+
byte_size?: number | null;
|
|
4117
|
+
connection_id?: string;
|
|
4118
|
+
content_type?: string;
|
|
4119
|
+
fetched_at?: string;
|
|
4120
|
+
fulfillment_order_id?: string;
|
|
4121
|
+
id?: string;
|
|
4122
|
+
logistic_label_code?: string;
|
|
4123
|
+
storage_path?: string;
|
|
4124
|
+
};
|
|
4125
|
+
Relationships: [{
|
|
4126
|
+
foreignKeyName: "floriday_logistic_labels_cache_connection_id_fkey";
|
|
4127
|
+
columns: ["connection_id"];
|
|
4128
|
+
isOneToOne: false;
|
|
4129
|
+
referencedRelation: "floriday_connections";
|
|
4130
|
+
referencedColumns: ["id"];
|
|
4131
|
+
}];
|
|
4132
|
+
};
|
|
4133
|
+
floriday_network_cache: {
|
|
4134
|
+
Row: {
|
|
4135
|
+
city: string | null;
|
|
4136
|
+
connection_id: string;
|
|
4137
|
+
country: string | null;
|
|
4138
|
+
data: import("../integrations/supabase/types").Json;
|
|
4139
|
+
fetched_at: string;
|
|
4140
|
+
gln: string | null;
|
|
4141
|
+
organization_id: string;
|
|
4142
|
+
organization_name: string | null;
|
|
4143
|
+
};
|
|
4144
|
+
Insert: {
|
|
4145
|
+
city?: string | null;
|
|
4146
|
+
connection_id: string;
|
|
4147
|
+
country?: string | null;
|
|
4148
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4149
|
+
fetched_at?: string;
|
|
4150
|
+
gln?: string | null;
|
|
4151
|
+
organization_id: string;
|
|
4152
|
+
organization_name?: string | null;
|
|
4153
|
+
};
|
|
4154
|
+
Update: {
|
|
4155
|
+
city?: string | null;
|
|
4156
|
+
connection_id?: string;
|
|
4157
|
+
country?: string | null;
|
|
4158
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4159
|
+
fetched_at?: string;
|
|
4160
|
+
gln?: string | null;
|
|
4161
|
+
organization_id?: string;
|
|
4162
|
+
organization_name?: string | null;
|
|
4163
|
+
};
|
|
4164
|
+
Relationships: [];
|
|
4165
|
+
};
|
|
4166
|
+
floriday_network_sync_state: {
|
|
4167
|
+
Row: {
|
|
4168
|
+
connection_id: string;
|
|
4169
|
+
last_error: string | null;
|
|
4170
|
+
last_sequence_number: number;
|
|
4171
|
+
last_synced_at: string | null;
|
|
4172
|
+
updated_at: string;
|
|
4173
|
+
};
|
|
4174
|
+
Insert: {
|
|
4175
|
+
connection_id: string;
|
|
4176
|
+
last_error?: string | null;
|
|
4177
|
+
last_sequence_number?: number;
|
|
4178
|
+
last_synced_at?: string | null;
|
|
4179
|
+
updated_at?: string;
|
|
4180
|
+
};
|
|
4181
|
+
Update: {
|
|
4182
|
+
connection_id?: string;
|
|
4183
|
+
last_error?: string | null;
|
|
4184
|
+
last_sequence_number?: number;
|
|
4185
|
+
last_synced_at?: string | null;
|
|
4186
|
+
updated_at?: string;
|
|
4187
|
+
};
|
|
4188
|
+
Relationships: [];
|
|
4189
|
+
};
|
|
4190
|
+
floriday_order_number_map: {
|
|
4191
|
+
Row: {
|
|
4192
|
+
created_at: string;
|
|
4193
|
+
floriday_id: string;
|
|
4194
|
+
order_number: string;
|
|
4195
|
+
};
|
|
4196
|
+
Insert: {
|
|
4197
|
+
created_at?: string;
|
|
4198
|
+
floriday_id: string;
|
|
4199
|
+
order_number: string;
|
|
4200
|
+
};
|
|
2694
4201
|
Update: {
|
|
2695
|
-
access_token?: string | null;
|
|
2696
|
-
api_key?: string;
|
|
2697
|
-
client_id?: string;
|
|
2698
|
-
client_secret?: string;
|
|
2699
4202
|
created_at?: string;
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
gln_code?: string | null;
|
|
2703
|
-
id?: string;
|
|
2704
|
-
is_active?: boolean;
|
|
2705
|
-
label?: string;
|
|
2706
|
-
organization_name?: string | null;
|
|
2707
|
-
preferred_warehouse_id?: string | null;
|
|
2708
|
-
preferred_warehouse_name?: string | null;
|
|
2709
|
-
token_expires_at?: string | null;
|
|
2710
|
-
updated_at?: string;
|
|
4203
|
+
floriday_id?: string;
|
|
4204
|
+
order_number?: string;
|
|
2711
4205
|
};
|
|
2712
4206
|
Relationships: [];
|
|
2713
4207
|
};
|
|
2714
|
-
|
|
4208
|
+
floriday_packings_cache: {
|
|
2715
4209
|
Row: {
|
|
2716
|
-
buyer_organization_id: string | null;
|
|
2717
|
-
buyer_organization_name: string | null;
|
|
2718
4210
|
connection_id: string;
|
|
2719
4211
|
data: import("../integrations/supabase/types").Json;
|
|
2720
|
-
|
|
4212
|
+
fetched_at: string;
|
|
4213
|
+
floriday_id: string;
|
|
4214
|
+
id: string;
|
|
2721
4215
|
is_deleted: boolean;
|
|
2722
4216
|
sequence_number: number;
|
|
2723
|
-
|
|
2724
|
-
synced_at: string;
|
|
4217
|
+
updated_at: string;
|
|
2725
4218
|
};
|
|
2726
4219
|
Insert: {
|
|
2727
|
-
buyer_organization_id?: string | null;
|
|
2728
|
-
buyer_organization_name?: string | null;
|
|
2729
4220
|
connection_id: string;
|
|
2730
|
-
data
|
|
2731
|
-
|
|
4221
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4222
|
+
fetched_at?: string;
|
|
4223
|
+
floriday_id: string;
|
|
4224
|
+
id?: string;
|
|
2732
4225
|
is_deleted?: boolean;
|
|
2733
|
-
sequence_number
|
|
2734
|
-
|
|
2735
|
-
synced_at?: string;
|
|
4226
|
+
sequence_number?: number;
|
|
4227
|
+
updated_at?: string;
|
|
2736
4228
|
};
|
|
2737
4229
|
Update: {
|
|
2738
|
-
buyer_organization_id?: string | null;
|
|
2739
|
-
buyer_organization_name?: string | null;
|
|
2740
4230
|
connection_id?: string;
|
|
2741
4231
|
data?: import("../integrations/supabase/types").Json;
|
|
2742
|
-
|
|
4232
|
+
fetched_at?: string;
|
|
4233
|
+
floriday_id?: string;
|
|
4234
|
+
id?: string;
|
|
2743
4235
|
is_deleted?: boolean;
|
|
2744
4236
|
sequence_number?: number;
|
|
2745
|
-
|
|
2746
|
-
synced_at?: string;
|
|
4237
|
+
updated_at?: string;
|
|
2747
4238
|
};
|
|
2748
4239
|
Relationships: [{
|
|
2749
|
-
foreignKeyName: "
|
|
4240
|
+
foreignKeyName: "floriday_packings_cache_connection_id_fkey";
|
|
2750
4241
|
columns: ["connection_id"];
|
|
2751
4242
|
isOneToOne: false;
|
|
2752
4243
|
referencedRelation: "floriday_connections";
|
|
2753
4244
|
referencedColumns: ["id"];
|
|
2754
4245
|
}];
|
|
2755
4246
|
};
|
|
2756
|
-
|
|
4247
|
+
floriday_price_groups_cache: {
|
|
2757
4248
|
Row: {
|
|
2758
|
-
connection_id: string
|
|
4249
|
+
connection_id: string;
|
|
2759
4250
|
data: import("../integrations/supabase/types").Json;
|
|
2760
4251
|
fetched_at: string;
|
|
2761
|
-
|
|
4252
|
+
floriday_id: string;
|
|
4253
|
+
is_deleted: boolean;
|
|
4254
|
+
sequence_number: number;
|
|
4255
|
+
updated_at: string;
|
|
2762
4256
|
};
|
|
2763
4257
|
Insert: {
|
|
2764
|
-
connection_id
|
|
2765
|
-
data
|
|
4258
|
+
connection_id: string;
|
|
4259
|
+
data: import("../integrations/supabase/types").Json;
|
|
2766
4260
|
fetched_at?: string;
|
|
2767
|
-
|
|
4261
|
+
floriday_id: string;
|
|
4262
|
+
is_deleted?: boolean;
|
|
4263
|
+
sequence_number?: number;
|
|
4264
|
+
updated_at?: string;
|
|
2768
4265
|
};
|
|
2769
4266
|
Update: {
|
|
2770
|
-
connection_id?: string
|
|
4267
|
+
connection_id?: string;
|
|
2771
4268
|
data?: import("../integrations/supabase/types").Json;
|
|
2772
4269
|
fetched_at?: string;
|
|
2773
|
-
|
|
4270
|
+
floriday_id?: string;
|
|
4271
|
+
is_deleted?: boolean;
|
|
4272
|
+
sequence_number?: number;
|
|
4273
|
+
updated_at?: string;
|
|
2774
4274
|
};
|
|
2775
4275
|
Relationships: [{
|
|
2776
|
-
foreignKeyName: "
|
|
4276
|
+
foreignKeyName: "floriday_price_groups_cache_connection_id_fkey";
|
|
2777
4277
|
columns: ["connection_id"];
|
|
2778
4278
|
isOneToOne: false;
|
|
2779
4279
|
referencedRelation: "floriday_connections";
|
|
2780
4280
|
referencedColumns: ["id"];
|
|
2781
4281
|
}];
|
|
2782
4282
|
};
|
|
2783
|
-
|
|
4283
|
+
floriday_resource_schemas: {
|
|
2784
4284
|
Row: {
|
|
2785
|
-
|
|
2786
|
-
connection_id: string;
|
|
2787
|
-
country: string | null;
|
|
2788
|
-
data: import("../integrations/supabase/types").Json;
|
|
4285
|
+
enums: import("../integrations/supabase/types").Json;
|
|
2789
4286
|
fetched_at: string;
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
4287
|
+
resource: string;
|
|
4288
|
+
schema: import("../integrations/supabase/types").Json;
|
|
4289
|
+
source_url: string | null;
|
|
4290
|
+
version: string;
|
|
2793
4291
|
};
|
|
2794
4292
|
Insert: {
|
|
2795
|
-
|
|
2796
|
-
connection_id: string;
|
|
2797
|
-
country?: string | null;
|
|
2798
|
-
data?: import("../integrations/supabase/types").Json;
|
|
4293
|
+
enums?: import("../integrations/supabase/types").Json;
|
|
2799
4294
|
fetched_at?: string;
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
4295
|
+
resource: string;
|
|
4296
|
+
schema: import("../integrations/supabase/types").Json;
|
|
4297
|
+
source_url?: string | null;
|
|
4298
|
+
version: string;
|
|
2803
4299
|
};
|
|
2804
4300
|
Update: {
|
|
2805
|
-
|
|
2806
|
-
connection_id?: string;
|
|
2807
|
-
country?: string | null;
|
|
2808
|
-
data?: import("../integrations/supabase/types").Json;
|
|
4301
|
+
enums?: import("../integrations/supabase/types").Json;
|
|
2809
4302
|
fetched_at?: string;
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
4303
|
+
resource?: string;
|
|
4304
|
+
schema?: import("../integrations/supabase/types").Json;
|
|
4305
|
+
source_url?: string | null;
|
|
4306
|
+
version?: string;
|
|
2813
4307
|
};
|
|
2814
4308
|
Relationships: [];
|
|
2815
4309
|
};
|
|
2816
|
-
|
|
4310
|
+
floriday_sales_strategies_cache: {
|
|
2817
4311
|
Row: {
|
|
2818
4312
|
connection_id: string;
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
4313
|
+
data: import("../integrations/supabase/types").Json;
|
|
4314
|
+
fetched_at: string;
|
|
4315
|
+
floriday_id: string;
|
|
4316
|
+
is_deleted: boolean;
|
|
4317
|
+
sequence_number: number;
|
|
2822
4318
|
updated_at: string;
|
|
2823
4319
|
};
|
|
2824
4320
|
Insert: {
|
|
2825
4321
|
connection_id: string;
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
4322
|
+
data: import("../integrations/supabase/types").Json;
|
|
4323
|
+
fetched_at?: string;
|
|
4324
|
+
floriday_id: string;
|
|
4325
|
+
is_deleted?: boolean;
|
|
4326
|
+
sequence_number?: number;
|
|
2829
4327
|
updated_at?: string;
|
|
2830
4328
|
};
|
|
2831
4329
|
Update: {
|
|
2832
4330
|
connection_id?: string;
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
4331
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4332
|
+
fetched_at?: string;
|
|
4333
|
+
floriday_id?: string;
|
|
4334
|
+
is_deleted?: boolean;
|
|
4335
|
+
sequence_number?: number;
|
|
2836
4336
|
updated_at?: string;
|
|
2837
4337
|
};
|
|
2838
|
-
Relationships: [
|
|
4338
|
+
Relationships: [{
|
|
4339
|
+
foreignKeyName: "floriday_sales_strategies_cache_connection_id_fkey";
|
|
4340
|
+
columns: ["connection_id"];
|
|
4341
|
+
isOneToOne: false;
|
|
4342
|
+
referencedRelation: "floriday_connections";
|
|
4343
|
+
referencedColumns: ["id"];
|
|
4344
|
+
}];
|
|
2839
4345
|
};
|
|
2840
4346
|
floriday_salesorders_cache: {
|
|
2841
4347
|
Row: {
|
|
@@ -2902,7 +4408,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2902
4408
|
connection_id: string;
|
|
2903
4409
|
entity_type: string;
|
|
2904
4410
|
last_error: string | null;
|
|
4411
|
+
last_items_processed: number | null;
|
|
2905
4412
|
last_sequence_number: number;
|
|
4413
|
+
last_success_at: string | null;
|
|
2906
4414
|
last_synced_at: string | null;
|
|
2907
4415
|
updated_at: string;
|
|
2908
4416
|
};
|
|
@@ -2910,7 +4418,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2910
4418
|
connection_id: string;
|
|
2911
4419
|
entity_type: string;
|
|
2912
4420
|
last_error?: string | null;
|
|
4421
|
+
last_items_processed?: number | null;
|
|
2913
4422
|
last_sequence_number?: number;
|
|
4423
|
+
last_success_at?: string | null;
|
|
2914
4424
|
last_synced_at?: string | null;
|
|
2915
4425
|
updated_at?: string;
|
|
2916
4426
|
};
|
|
@@ -2918,7 +4428,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2918
4428
|
connection_id?: string;
|
|
2919
4429
|
entity_type?: string;
|
|
2920
4430
|
last_error?: string | null;
|
|
4431
|
+
last_items_processed?: number | null;
|
|
2921
4432
|
last_sequence_number?: number;
|
|
4433
|
+
last_success_at?: string | null;
|
|
2922
4434
|
last_synced_at?: string | null;
|
|
2923
4435
|
updated_at?: string;
|
|
2924
4436
|
};
|
|
@@ -2959,40 +4471,232 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2959
4471
|
ok?: boolean;
|
|
2960
4472
|
};
|
|
2961
4473
|
Relationships: [{
|
|
2962
|
-
foreignKeyName: "floriday_token_refresh_log_connection_id_fkey";
|
|
4474
|
+
foreignKeyName: "floriday_token_refresh_log_connection_id_fkey";
|
|
4475
|
+
columns: ["connection_id"];
|
|
4476
|
+
isOneToOne: false;
|
|
4477
|
+
referencedRelation: "floriday_connections";
|
|
4478
|
+
referencedColumns: ["id"];
|
|
4479
|
+
}];
|
|
4480
|
+
};
|
|
4481
|
+
floriday_trade_item_classifications_cache: {
|
|
4482
|
+
Row: {
|
|
4483
|
+
connection_id: string;
|
|
4484
|
+
data: import("../integrations/supabase/types").Json;
|
|
4485
|
+
fetched_at: string;
|
|
4486
|
+
floriday_id: string;
|
|
4487
|
+
id: string;
|
|
4488
|
+
is_deleted: boolean;
|
|
4489
|
+
sequence_number: number;
|
|
4490
|
+
updated_at: string;
|
|
4491
|
+
};
|
|
4492
|
+
Insert: {
|
|
4493
|
+
connection_id: string;
|
|
4494
|
+
data: import("../integrations/supabase/types").Json;
|
|
4495
|
+
fetched_at?: string;
|
|
4496
|
+
floriday_id: string;
|
|
4497
|
+
id?: string;
|
|
4498
|
+
is_deleted?: boolean;
|
|
4499
|
+
sequence_number?: number;
|
|
4500
|
+
updated_at?: string;
|
|
4501
|
+
};
|
|
4502
|
+
Update: {
|
|
4503
|
+
connection_id?: string;
|
|
4504
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4505
|
+
fetched_at?: string;
|
|
4506
|
+
floriday_id?: string;
|
|
4507
|
+
id?: string;
|
|
4508
|
+
is_deleted?: boolean;
|
|
4509
|
+
sequence_number?: number;
|
|
4510
|
+
updated_at?: string;
|
|
4511
|
+
};
|
|
4512
|
+
Relationships: [{
|
|
4513
|
+
foreignKeyName: "floriday_trade_item_classifications_cache_connection_id_fkey";
|
|
4514
|
+
columns: ["connection_id"];
|
|
4515
|
+
isOneToOne: false;
|
|
4516
|
+
referencedRelation: "floriday_connections";
|
|
4517
|
+
referencedColumns: ["id"];
|
|
4518
|
+
}];
|
|
4519
|
+
};
|
|
4520
|
+
floriday_trade_items_cache: {
|
|
4521
|
+
Row: {
|
|
4522
|
+
connection_id: string;
|
|
4523
|
+
data: import("../integrations/supabase/types").Json;
|
|
4524
|
+
fetched_at: string;
|
|
4525
|
+
floriday_id: string;
|
|
4526
|
+
is_deleted: boolean;
|
|
4527
|
+
sequence_number: number;
|
|
4528
|
+
};
|
|
4529
|
+
Insert: {
|
|
4530
|
+
connection_id: string;
|
|
4531
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4532
|
+
fetched_at?: string;
|
|
4533
|
+
floriday_id: string;
|
|
4534
|
+
is_deleted?: boolean;
|
|
4535
|
+
sequence_number?: number;
|
|
4536
|
+
};
|
|
4537
|
+
Update: {
|
|
4538
|
+
connection_id?: string;
|
|
4539
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4540
|
+
fetched_at?: string;
|
|
4541
|
+
floriday_id?: string;
|
|
4542
|
+
is_deleted?: boolean;
|
|
4543
|
+
sequence_number?: number;
|
|
4544
|
+
};
|
|
4545
|
+
Relationships: [{
|
|
4546
|
+
foreignKeyName: "floriday_trade_items_cache_connection_id_fkey";
|
|
4547
|
+
columns: ["connection_id"];
|
|
4548
|
+
isOneToOne: false;
|
|
4549
|
+
referencedRelation: "floriday_connections";
|
|
4550
|
+
referencedColumns: ["id"];
|
|
4551
|
+
}];
|
|
4552
|
+
};
|
|
4553
|
+
floriday_trips_cache: {
|
|
4554
|
+
Row: {
|
|
4555
|
+
carrier_organization_id: string | null;
|
|
4556
|
+
connection_id: string;
|
|
4557
|
+
data: import("../integrations/supabase/types").Json;
|
|
4558
|
+
fetched_at: string;
|
|
4559
|
+
floriday_id: string;
|
|
4560
|
+
id: string;
|
|
4561
|
+
is_deleted: boolean;
|
|
4562
|
+
sequence_number: number;
|
|
4563
|
+
status: string | null;
|
|
4564
|
+
trip_date: string | null;
|
|
4565
|
+
updated_at: string;
|
|
4566
|
+
};
|
|
4567
|
+
Insert: {
|
|
4568
|
+
carrier_organization_id?: string | null;
|
|
4569
|
+
connection_id: string;
|
|
4570
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4571
|
+
fetched_at?: string;
|
|
4572
|
+
floriday_id: string;
|
|
4573
|
+
id?: string;
|
|
4574
|
+
is_deleted?: boolean;
|
|
4575
|
+
sequence_number?: number;
|
|
4576
|
+
status?: string | null;
|
|
4577
|
+
trip_date?: string | null;
|
|
4578
|
+
updated_at?: string;
|
|
4579
|
+
};
|
|
4580
|
+
Update: {
|
|
4581
|
+
carrier_organization_id?: string | null;
|
|
4582
|
+
connection_id?: string;
|
|
4583
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4584
|
+
fetched_at?: string;
|
|
4585
|
+
floriday_id?: string;
|
|
4586
|
+
id?: string;
|
|
4587
|
+
is_deleted?: boolean;
|
|
4588
|
+
sequence_number?: number;
|
|
4589
|
+
status?: string | null;
|
|
4590
|
+
trip_date?: string | null;
|
|
4591
|
+
updated_at?: string;
|
|
4592
|
+
};
|
|
4593
|
+
Relationships: [{
|
|
4594
|
+
foreignKeyName: "floriday_trips_cache_connection_id_fkey";
|
|
2963
4595
|
columns: ["connection_id"];
|
|
2964
4596
|
isOneToOne: false;
|
|
2965
4597
|
referencedRelation: "floriday_connections";
|
|
2966
4598
|
referencedColumns: ["id"];
|
|
2967
4599
|
}];
|
|
2968
4600
|
};
|
|
2969
|
-
|
|
4601
|
+
floriday_warehouses_cache: {
|
|
2970
4602
|
Row: {
|
|
2971
4603
|
connection_id: string;
|
|
2972
4604
|
data: import("../integrations/supabase/types").Json;
|
|
2973
4605
|
fetched_at: string;
|
|
2974
4606
|
floriday_id: string;
|
|
4607
|
+
gln_code: string | null;
|
|
4608
|
+
id: string;
|
|
4609
|
+
is_default: boolean;
|
|
2975
4610
|
is_deleted: boolean;
|
|
2976
|
-
|
|
4611
|
+
name: string | null;
|
|
4612
|
+
updated_at: string;
|
|
2977
4613
|
};
|
|
2978
4614
|
Insert: {
|
|
2979
4615
|
connection_id: string;
|
|
2980
4616
|
data?: import("../integrations/supabase/types").Json;
|
|
2981
4617
|
fetched_at?: string;
|
|
2982
4618
|
floriday_id: string;
|
|
4619
|
+
gln_code?: string | null;
|
|
4620
|
+
id?: string;
|
|
4621
|
+
is_default?: boolean;
|
|
2983
4622
|
is_deleted?: boolean;
|
|
2984
|
-
|
|
4623
|
+
name?: string | null;
|
|
4624
|
+
updated_at?: string;
|
|
2985
4625
|
};
|
|
2986
4626
|
Update: {
|
|
2987
4627
|
connection_id?: string;
|
|
2988
4628
|
data?: import("../integrations/supabase/types").Json;
|
|
2989
4629
|
fetched_at?: string;
|
|
2990
4630
|
floriday_id?: string;
|
|
4631
|
+
gln_code?: string | null;
|
|
4632
|
+
id?: string;
|
|
4633
|
+
is_default?: boolean;
|
|
2991
4634
|
is_deleted?: boolean;
|
|
2992
|
-
|
|
4635
|
+
name?: string | null;
|
|
4636
|
+
updated_at?: string;
|
|
2993
4637
|
};
|
|
2994
4638
|
Relationships: [{
|
|
2995
|
-
foreignKeyName: "
|
|
4639
|
+
foreignKeyName: "floriday_warehouses_cache_connection_id_fkey";
|
|
4640
|
+
columns: ["connection_id"];
|
|
4641
|
+
isOneToOne: false;
|
|
4642
|
+
referencedRelation: "floriday_connections";
|
|
4643
|
+
referencedColumns: ["id"];
|
|
4644
|
+
}];
|
|
4645
|
+
};
|
|
4646
|
+
floriday_write_log: {
|
|
4647
|
+
Row: {
|
|
4648
|
+
action: string;
|
|
4649
|
+
caller: string;
|
|
4650
|
+
connection_id: string | null;
|
|
4651
|
+
created_at: string;
|
|
4652
|
+
error: string | null;
|
|
4653
|
+
floriday_id: string | null;
|
|
4654
|
+
http_status: number | null;
|
|
4655
|
+
id: string;
|
|
4656
|
+
idempotency_key: string | null;
|
|
4657
|
+
module: string | null;
|
|
4658
|
+
ok: boolean;
|
|
4659
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
4660
|
+
resource: string;
|
|
4661
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
4662
|
+
user_id: string | null;
|
|
4663
|
+
};
|
|
4664
|
+
Insert: {
|
|
4665
|
+
action: string;
|
|
4666
|
+
caller?: string;
|
|
4667
|
+
connection_id?: string | null;
|
|
4668
|
+
created_at?: string;
|
|
4669
|
+
error?: string | null;
|
|
4670
|
+
floriday_id?: string | null;
|
|
4671
|
+
http_status?: number | null;
|
|
4672
|
+
id?: string;
|
|
4673
|
+
idempotency_key?: string | null;
|
|
4674
|
+
module?: string | null;
|
|
4675
|
+
ok: boolean;
|
|
4676
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
4677
|
+
resource: string;
|
|
4678
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
4679
|
+
user_id?: string | null;
|
|
4680
|
+
};
|
|
4681
|
+
Update: {
|
|
4682
|
+
action?: string;
|
|
4683
|
+
caller?: string;
|
|
4684
|
+
connection_id?: string | null;
|
|
4685
|
+
created_at?: string;
|
|
4686
|
+
error?: string | null;
|
|
4687
|
+
floriday_id?: string | null;
|
|
4688
|
+
http_status?: number | null;
|
|
4689
|
+
id?: string;
|
|
4690
|
+
idempotency_key?: string | null;
|
|
4691
|
+
module?: string | null;
|
|
4692
|
+
ok?: boolean;
|
|
4693
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
4694
|
+
resource?: string;
|
|
4695
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
4696
|
+
user_id?: string | null;
|
|
4697
|
+
};
|
|
4698
|
+
Relationships: [{
|
|
4699
|
+
foreignKeyName: "floriday_write_log_connection_id_fkey";
|
|
2996
4700
|
columns: ["connection_id"];
|
|
2997
4701
|
isOneToOne: false;
|
|
2998
4702
|
referencedRelation: "floriday_connections";
|
|
@@ -3348,6 +5052,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
3348
5052
|
Row: {
|
|
3349
5053
|
body_html: string | null;
|
|
3350
5054
|
body_text: string | null;
|
|
5055
|
+
connection_id: string | null;
|
|
3351
5056
|
created_at: string;
|
|
3352
5057
|
error_message: string | null;
|
|
3353
5058
|
external_id: string | null;
|
|
@@ -3366,6 +5071,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
3366
5071
|
Insert: {
|
|
3367
5072
|
body_html?: string | null;
|
|
3368
5073
|
body_text?: string | null;
|
|
5074
|
+
connection_id?: string | null;
|
|
3369
5075
|
created_at?: string;
|
|
3370
5076
|
error_message?: string | null;
|
|
3371
5077
|
external_id?: string | null;
|
|
@@ -3384,6 +5090,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
3384
5090
|
Update: {
|
|
3385
5091
|
body_html?: string | null;
|
|
3386
5092
|
body_text?: string | null;
|
|
5093
|
+
connection_id?: string | null;
|
|
3387
5094
|
created_at?: string;
|
|
3388
5095
|
error_message?: string | null;
|
|
3389
5096
|
external_id?: string | null;
|
|
@@ -3400,6 +5107,18 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
3400
5107
|
updated_at?: string;
|
|
3401
5108
|
};
|
|
3402
5109
|
Relationships: [{
|
|
5110
|
+
foreignKeyName: "mailbox_messages_connection_id_fkey";
|
|
5111
|
+
columns: ["connection_id"];
|
|
5112
|
+
isOneToOne: false;
|
|
5113
|
+
referencedRelation: "email_auth_connections";
|
|
5114
|
+
referencedColumns: ["id"];
|
|
5115
|
+
}, {
|
|
5116
|
+
foreignKeyName: "mailbox_messages_connection_id_fkey";
|
|
5117
|
+
columns: ["connection_id"];
|
|
5118
|
+
isOneToOne: false;
|
|
5119
|
+
referencedRelation: "email_auth_connections_safe";
|
|
5120
|
+
referencedColumns: ["id"];
|
|
5121
|
+
}, {
|
|
3403
5122
|
foreignKeyName: "mailbox_messages_profile_id_fkey";
|
|
3404
5123
|
columns: ["profile_id"];
|
|
3405
5124
|
isOneToOne: false;
|
|
@@ -3668,6 +5387,93 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
3668
5387
|
};
|
|
3669
5388
|
Relationships: [];
|
|
3670
5389
|
};
|
|
5390
|
+
manufacture_product_components: {
|
|
5391
|
+
Row: {
|
|
5392
|
+
component_type: string;
|
|
5393
|
+
created_at: string;
|
|
5394
|
+
id: string;
|
|
5395
|
+
manufacture_product_id: string;
|
|
5396
|
+
product_group_id: string | null;
|
|
5397
|
+
quantity: number;
|
|
5398
|
+
trade_item_id: string | null;
|
|
5399
|
+
unit: string;
|
|
5400
|
+
};
|
|
5401
|
+
Insert: {
|
|
5402
|
+
component_type: string;
|
|
5403
|
+
created_at?: string;
|
|
5404
|
+
id?: string;
|
|
5405
|
+
manufacture_product_id: string;
|
|
5406
|
+
product_group_id?: string | null;
|
|
5407
|
+
quantity?: number;
|
|
5408
|
+
trade_item_id?: string | null;
|
|
5409
|
+
unit?: string;
|
|
5410
|
+
};
|
|
5411
|
+
Update: {
|
|
5412
|
+
component_type?: string;
|
|
5413
|
+
created_at?: string;
|
|
5414
|
+
id?: string;
|
|
5415
|
+
manufacture_product_id?: string;
|
|
5416
|
+
product_group_id?: string | null;
|
|
5417
|
+
quantity?: number;
|
|
5418
|
+
trade_item_id?: string | null;
|
|
5419
|
+
unit?: string;
|
|
5420
|
+
};
|
|
5421
|
+
Relationships: [{
|
|
5422
|
+
foreignKeyName: "manufacture_product_components_manufacture_product_id_fkey";
|
|
5423
|
+
columns: ["manufacture_product_id"];
|
|
5424
|
+
isOneToOne: false;
|
|
5425
|
+
referencedRelation: "manufacture_product_possible_stock_view";
|
|
5426
|
+
referencedColumns: ["manufacture_product_id"];
|
|
5427
|
+
}, {
|
|
5428
|
+
foreignKeyName: "manufacture_product_components_manufacture_product_id_fkey";
|
|
5429
|
+
columns: ["manufacture_product_id"];
|
|
5430
|
+
isOneToOne: false;
|
|
5431
|
+
referencedRelation: "manufacture_products";
|
|
5432
|
+
referencedColumns: ["id"];
|
|
5433
|
+
}, {
|
|
5434
|
+
foreignKeyName: "manufacture_product_components_product_group_id_fkey";
|
|
5435
|
+
columns: ["product_group_id"];
|
|
5436
|
+
isOneToOne: false;
|
|
5437
|
+
referencedRelation: "product_groups";
|
|
5438
|
+
referencedColumns: ["id"];
|
|
5439
|
+
}];
|
|
5440
|
+
};
|
|
5441
|
+
manufacture_products: {
|
|
5442
|
+
Row: {
|
|
5443
|
+
created_at: string;
|
|
5444
|
+
description: string | null;
|
|
5445
|
+
id: string;
|
|
5446
|
+
is_active: boolean;
|
|
5447
|
+
name: string;
|
|
5448
|
+
produced_stock: number;
|
|
5449
|
+
product_code: string;
|
|
5450
|
+
tenant_id: string;
|
|
5451
|
+
updated_at: string;
|
|
5452
|
+
};
|
|
5453
|
+
Insert: {
|
|
5454
|
+
created_at?: string;
|
|
5455
|
+
description?: string | null;
|
|
5456
|
+
id?: string;
|
|
5457
|
+
is_active?: boolean;
|
|
5458
|
+
name: string;
|
|
5459
|
+
produced_stock?: number;
|
|
5460
|
+
product_code: string;
|
|
5461
|
+
tenant_id: string;
|
|
5462
|
+
updated_at?: string;
|
|
5463
|
+
};
|
|
5464
|
+
Update: {
|
|
5465
|
+
created_at?: string;
|
|
5466
|
+
description?: string | null;
|
|
5467
|
+
id?: string;
|
|
5468
|
+
is_active?: boolean;
|
|
5469
|
+
name?: string;
|
|
5470
|
+
produced_stock?: number;
|
|
5471
|
+
product_code?: string;
|
|
5472
|
+
tenant_id?: string;
|
|
5473
|
+
updated_at?: string;
|
|
5474
|
+
};
|
|
5475
|
+
Relationships: [];
|
|
5476
|
+
};
|
|
3671
5477
|
monteurs: {
|
|
3672
5478
|
Row: {
|
|
3673
5479
|
avatar_url: string | null;
|
|
@@ -3683,6 +5489,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
3683
5489
|
role: string;
|
|
3684
5490
|
tenant_id: string;
|
|
3685
5491
|
updated_at: string;
|
|
5492
|
+
user_id: string | null;
|
|
3686
5493
|
};
|
|
3687
5494
|
Insert: {
|
|
3688
5495
|
avatar_url?: string | null;
|
|
@@ -3698,6 +5505,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
3698
5505
|
role?: string;
|
|
3699
5506
|
tenant_id: string;
|
|
3700
5507
|
updated_at?: string;
|
|
5508
|
+
user_id?: string | null;
|
|
3701
5509
|
};
|
|
3702
5510
|
Update: {
|
|
3703
5511
|
avatar_url?: string | null;
|
|
@@ -3713,6 +5521,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
3713
5521
|
role?: string;
|
|
3714
5522
|
tenant_id?: string;
|
|
3715
5523
|
updated_at?: string;
|
|
5524
|
+
user_id?: string | null;
|
|
3716
5525
|
};
|
|
3717
5526
|
Relationships: [{
|
|
3718
5527
|
foreignKeyName: "monteurs_tenant_id_fkey";
|
|
@@ -3849,12 +5658,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
3849
5658
|
isOneToOne: false;
|
|
3850
5659
|
referencedRelation: "offer_campaigns";
|
|
3851
5660
|
referencedColumns: ["id"];
|
|
3852
|
-
}, {
|
|
3853
|
-
foreignKeyName: "offer_campaign_products_product_id_fkey";
|
|
3854
|
-
columns: ["product_id"];
|
|
3855
|
-
isOneToOne: false;
|
|
3856
|
-
referencedRelation: "products";
|
|
3857
|
-
referencedColumns: ["id"];
|
|
3858
5661
|
}];
|
|
3859
5662
|
};
|
|
3860
5663
|
offer_campaigns: {
|
|
@@ -4130,6 +5933,99 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4130
5933
|
};
|
|
4131
5934
|
Relationships: [];
|
|
4132
5935
|
};
|
|
5936
|
+
order_cart_items: {
|
|
5937
|
+
Row: {
|
|
5938
|
+
cart_id: string;
|
|
5939
|
+
crates: number;
|
|
5940
|
+
crates_per_layer: number;
|
|
5941
|
+
created_at: string;
|
|
5942
|
+
id: string;
|
|
5943
|
+
order_item_id: string | null;
|
|
5944
|
+
plants_per_crate: number;
|
|
5945
|
+
product_id: string | null;
|
|
5946
|
+
product_name: string;
|
|
5947
|
+
};
|
|
5948
|
+
Insert: {
|
|
5949
|
+
cart_id: string;
|
|
5950
|
+
crates: number;
|
|
5951
|
+
crates_per_layer?: number;
|
|
5952
|
+
created_at?: string;
|
|
5953
|
+
id?: string;
|
|
5954
|
+
order_item_id?: string | null;
|
|
5955
|
+
plants_per_crate?: number;
|
|
5956
|
+
product_id?: string | null;
|
|
5957
|
+
product_name: string;
|
|
5958
|
+
};
|
|
5959
|
+
Update: {
|
|
5960
|
+
cart_id?: string;
|
|
5961
|
+
crates?: number;
|
|
5962
|
+
crates_per_layer?: number;
|
|
5963
|
+
created_at?: string;
|
|
5964
|
+
id?: string;
|
|
5965
|
+
order_item_id?: string | null;
|
|
5966
|
+
plants_per_crate?: number;
|
|
5967
|
+
product_id?: string | null;
|
|
5968
|
+
product_name?: string;
|
|
5969
|
+
};
|
|
5970
|
+
Relationships: [{
|
|
5971
|
+
foreignKeyName: "order_cart_items_cart_id_fkey";
|
|
5972
|
+
columns: ["cart_id"];
|
|
5973
|
+
isOneToOne: false;
|
|
5974
|
+
referencedRelation: "order_carts";
|
|
5975
|
+
referencedColumns: ["id"];
|
|
5976
|
+
}, {
|
|
5977
|
+
foreignKeyName: "order_cart_items_order_item_id_fkey";
|
|
5978
|
+
columns: ["order_item_id"];
|
|
5979
|
+
isOneToOne: false;
|
|
5980
|
+
referencedRelation: "order_items";
|
|
5981
|
+
referencedColumns: ["id"];
|
|
5982
|
+
}, {
|
|
5983
|
+
foreignKeyName: "order_cart_items_product_id_fkey";
|
|
5984
|
+
columns: ["product_id"];
|
|
5985
|
+
isOneToOne: false;
|
|
5986
|
+
referencedRelation: "products";
|
|
5987
|
+
referencedColumns: ["id"];
|
|
5988
|
+
}];
|
|
5989
|
+
};
|
|
5990
|
+
order_carts: {
|
|
5991
|
+
Row: {
|
|
5992
|
+
cart_number: number;
|
|
5993
|
+
created_at: string;
|
|
5994
|
+
id: string;
|
|
5995
|
+
is_auto: boolean;
|
|
5996
|
+
is_complete: boolean;
|
|
5997
|
+
notes: string | null;
|
|
5998
|
+
order_id: string;
|
|
5999
|
+
updated_at: string;
|
|
6000
|
+
};
|
|
6001
|
+
Insert: {
|
|
6002
|
+
cart_number: number;
|
|
6003
|
+
created_at?: string;
|
|
6004
|
+
id?: string;
|
|
6005
|
+
is_auto?: boolean;
|
|
6006
|
+
is_complete?: boolean;
|
|
6007
|
+
notes?: string | null;
|
|
6008
|
+
order_id: string;
|
|
6009
|
+
updated_at?: string;
|
|
6010
|
+
};
|
|
6011
|
+
Update: {
|
|
6012
|
+
cart_number?: number;
|
|
6013
|
+
created_at?: string;
|
|
6014
|
+
id?: string;
|
|
6015
|
+
is_auto?: boolean;
|
|
6016
|
+
is_complete?: boolean;
|
|
6017
|
+
notes?: string | null;
|
|
6018
|
+
order_id?: string;
|
|
6019
|
+
updated_at?: string;
|
|
6020
|
+
};
|
|
6021
|
+
Relationships: [{
|
|
6022
|
+
foreignKeyName: "order_carts_order_id_fkey";
|
|
6023
|
+
columns: ["order_id"];
|
|
6024
|
+
isOneToOne: false;
|
|
6025
|
+
referencedRelation: "orders";
|
|
6026
|
+
referencedColumns: ["id"];
|
|
6027
|
+
}];
|
|
6028
|
+
};
|
|
4133
6029
|
order_field_options: {
|
|
4134
6030
|
Row: {
|
|
4135
6031
|
created_at: string;
|
|
@@ -4241,6 +6137,24 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4241
6137
|
referencedColumns: ["id"];
|
|
4242
6138
|
}];
|
|
4243
6139
|
};
|
|
6140
|
+
order_number_counters: {
|
|
6141
|
+
Row: {
|
|
6142
|
+
last_value: number;
|
|
6143
|
+
updated_at: string;
|
|
6144
|
+
year: number;
|
|
6145
|
+
};
|
|
6146
|
+
Insert: {
|
|
6147
|
+
last_value?: number;
|
|
6148
|
+
updated_at?: string;
|
|
6149
|
+
year: number;
|
|
6150
|
+
};
|
|
6151
|
+
Update: {
|
|
6152
|
+
last_value?: number;
|
|
6153
|
+
updated_at?: string;
|
|
6154
|
+
year?: number;
|
|
6155
|
+
};
|
|
6156
|
+
Relationships: [];
|
|
6157
|
+
};
|
|
4244
6158
|
orders: {
|
|
4245
6159
|
Row: {
|
|
4246
6160
|
created_at: string;
|
|
@@ -4253,6 +6167,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4253
6167
|
notes: string | null;
|
|
4254
6168
|
order_date: string;
|
|
4255
6169
|
order_number: string;
|
|
6170
|
+
order_source: string;
|
|
4256
6171
|
status: string;
|
|
4257
6172
|
total: string;
|
|
4258
6173
|
updated_at: string;
|
|
@@ -4268,6 +6183,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4268
6183
|
notes?: string | null;
|
|
4269
6184
|
order_date?: string;
|
|
4270
6185
|
order_number: string;
|
|
6186
|
+
order_source?: string;
|
|
4271
6187
|
status?: string;
|
|
4272
6188
|
total?: string;
|
|
4273
6189
|
updated_at?: string;
|
|
@@ -4283,6 +6199,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4283
6199
|
notes?: string | null;
|
|
4284
6200
|
order_date?: string;
|
|
4285
6201
|
order_number?: string;
|
|
6202
|
+
order_source?: string;
|
|
4286
6203
|
status?: string;
|
|
4287
6204
|
total?: string;
|
|
4288
6205
|
updated_at?: string;
|
|
@@ -4505,14 +6422,74 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4505
6422
|
updated_at?: string;
|
|
4506
6423
|
};
|
|
4507
6424
|
Update: {
|
|
4508
|
-
active_per_category?: import("../integrations/supabase/types").Json;
|
|
6425
|
+
active_per_category?: import("../integrations/supabase/types").Json;
|
|
6426
|
+
created_at?: string;
|
|
6427
|
+
field_key?: string;
|
|
6428
|
+
field_label?: string;
|
|
6429
|
+
field_type?: string;
|
|
6430
|
+
id?: string;
|
|
6431
|
+
is_custom?: boolean;
|
|
6432
|
+
sort_order?: number;
|
|
6433
|
+
updated_at?: string;
|
|
6434
|
+
};
|
|
6435
|
+
Relationships: [];
|
|
6436
|
+
};
|
|
6437
|
+
product_group_items: {
|
|
6438
|
+
Row: {
|
|
6439
|
+
created_at: string;
|
|
6440
|
+
id: string;
|
|
6441
|
+
product_group_id: string;
|
|
6442
|
+
quantity: number;
|
|
6443
|
+
trade_item_id: string;
|
|
6444
|
+
};
|
|
6445
|
+
Insert: {
|
|
6446
|
+
created_at?: string;
|
|
6447
|
+
id?: string;
|
|
6448
|
+
product_group_id: string;
|
|
6449
|
+
quantity?: number;
|
|
6450
|
+
trade_item_id: string;
|
|
6451
|
+
};
|
|
6452
|
+
Update: {
|
|
6453
|
+
created_at?: string;
|
|
6454
|
+
id?: string;
|
|
6455
|
+
product_group_id?: string;
|
|
6456
|
+
quantity?: number;
|
|
6457
|
+
trade_item_id?: string;
|
|
6458
|
+
};
|
|
6459
|
+
Relationships: [{
|
|
6460
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
6461
|
+
columns: ["product_group_id"];
|
|
6462
|
+
isOneToOne: false;
|
|
6463
|
+
referencedRelation: "product_groups";
|
|
6464
|
+
referencedColumns: ["id"];
|
|
6465
|
+
}];
|
|
6466
|
+
};
|
|
6467
|
+
product_groups: {
|
|
6468
|
+
Row: {
|
|
6469
|
+
created_at: string;
|
|
6470
|
+
description: string | null;
|
|
6471
|
+
id: string;
|
|
6472
|
+
is_active: boolean;
|
|
6473
|
+
name: string;
|
|
6474
|
+
tenant_id: string;
|
|
6475
|
+
updated_at: string;
|
|
6476
|
+
};
|
|
6477
|
+
Insert: {
|
|
6478
|
+
created_at?: string;
|
|
6479
|
+
description?: string | null;
|
|
6480
|
+
id?: string;
|
|
6481
|
+
is_active?: boolean;
|
|
6482
|
+
name: string;
|
|
6483
|
+
tenant_id: string;
|
|
6484
|
+
updated_at?: string;
|
|
6485
|
+
};
|
|
6486
|
+
Update: {
|
|
4509
6487
|
created_at?: string;
|
|
4510
|
-
|
|
4511
|
-
field_label?: string;
|
|
4512
|
-
field_type?: string;
|
|
6488
|
+
description?: string | null;
|
|
4513
6489
|
id?: string;
|
|
4514
|
-
|
|
4515
|
-
|
|
6490
|
+
is_active?: boolean;
|
|
6491
|
+
name?: string;
|
|
6492
|
+
tenant_id?: string;
|
|
4516
6493
|
updated_at?: string;
|
|
4517
6494
|
};
|
|
4518
6495
|
Relationships: [];
|
|
@@ -4521,13 +6498,16 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4521
6498
|
Row: {
|
|
4522
6499
|
barcode: string | null;
|
|
4523
6500
|
batch: string;
|
|
6501
|
+
crates_per_layer: number;
|
|
4524
6502
|
created_at: string;
|
|
4525
6503
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
4526
6504
|
id: string;
|
|
4527
6505
|
image_url: string | null;
|
|
4528
6506
|
incoming_quantity: number;
|
|
6507
|
+
layers_per_cart: number;
|
|
4529
6508
|
location: string;
|
|
4530
6509
|
min_quantity: number;
|
|
6510
|
+
plants_per_crate: number;
|
|
4531
6511
|
product: string;
|
|
4532
6512
|
product_type: string;
|
|
4533
6513
|
purchase_price: number | null;
|
|
@@ -4540,13 +6520,16 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4540
6520
|
Insert: {
|
|
4541
6521
|
barcode?: string | null;
|
|
4542
6522
|
batch: string;
|
|
6523
|
+
crates_per_layer?: number;
|
|
4543
6524
|
created_at?: string;
|
|
4544
6525
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
4545
6526
|
id?: string;
|
|
4546
6527
|
image_url?: string | null;
|
|
4547
6528
|
incoming_quantity?: number;
|
|
6529
|
+
layers_per_cart?: number;
|
|
4548
6530
|
location: string;
|
|
4549
6531
|
min_quantity?: number;
|
|
6532
|
+
plants_per_crate?: number;
|
|
4550
6533
|
product: string;
|
|
4551
6534
|
product_type?: string;
|
|
4552
6535
|
purchase_price?: number | null;
|
|
@@ -4559,13 +6542,16 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4559
6542
|
Update: {
|
|
4560
6543
|
barcode?: string | null;
|
|
4561
6544
|
batch?: string;
|
|
6545
|
+
crates_per_layer?: number;
|
|
4562
6546
|
created_at?: string;
|
|
4563
6547
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
4564
6548
|
id?: string;
|
|
4565
6549
|
image_url?: string | null;
|
|
4566
6550
|
incoming_quantity?: number;
|
|
6551
|
+
layers_per_cart?: number;
|
|
4567
6552
|
location?: string;
|
|
4568
6553
|
min_quantity?: number;
|
|
6554
|
+
plants_per_crate?: number;
|
|
4569
6555
|
product?: string;
|
|
4570
6556
|
product_type?: string;
|
|
4571
6557
|
purchase_price?: number | null;
|
|
@@ -5507,12 +7493,153 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
5507
7493
|
};
|
|
5508
7494
|
Relationships: [];
|
|
5509
7495
|
};
|
|
7496
|
+
time_entries: {
|
|
7497
|
+
Row: {
|
|
7498
|
+
created_at: string;
|
|
7499
|
+
employee_id: string;
|
|
7500
|
+
entry_date: string;
|
|
7501
|
+
hours: number;
|
|
7502
|
+
id: string;
|
|
7503
|
+
notes: string | null;
|
|
7504
|
+
overtime: number;
|
|
7505
|
+
undertime: number;
|
|
7506
|
+
updated_at: string;
|
|
7507
|
+
};
|
|
7508
|
+
Insert: {
|
|
7509
|
+
created_at?: string;
|
|
7510
|
+
employee_id: string;
|
|
7511
|
+
entry_date: string;
|
|
7512
|
+
hours?: number;
|
|
7513
|
+
id?: string;
|
|
7514
|
+
notes?: string | null;
|
|
7515
|
+
overtime?: number;
|
|
7516
|
+
undertime?: number;
|
|
7517
|
+
updated_at?: string;
|
|
7518
|
+
};
|
|
7519
|
+
Update: {
|
|
7520
|
+
created_at?: string;
|
|
7521
|
+
employee_id?: string;
|
|
7522
|
+
entry_date?: string;
|
|
7523
|
+
hours?: number;
|
|
7524
|
+
id?: string;
|
|
7525
|
+
notes?: string | null;
|
|
7526
|
+
overtime?: number;
|
|
7527
|
+
undertime?: number;
|
|
7528
|
+
updated_at?: string;
|
|
7529
|
+
};
|
|
7530
|
+
Relationships: [{
|
|
7531
|
+
foreignKeyName: "time_entries_employee_id_fkey";
|
|
7532
|
+
columns: ["employee_id"];
|
|
7533
|
+
isOneToOne: false;
|
|
7534
|
+
referencedRelation: "monteurs";
|
|
7535
|
+
referencedColumns: ["id"];
|
|
7536
|
+
}];
|
|
7537
|
+
};
|
|
7538
|
+
time_logs: {
|
|
7539
|
+
Row: {
|
|
7540
|
+
created_at: string;
|
|
7541
|
+
employee_id: string;
|
|
7542
|
+
end_time: string | null;
|
|
7543
|
+
id: string;
|
|
7544
|
+
notes: string | null;
|
|
7545
|
+
overtime_hours: number;
|
|
7546
|
+
overtime_type: string | null;
|
|
7547
|
+
regular_hours: number;
|
|
7548
|
+
start_time: string;
|
|
7549
|
+
travel_cost: number | null;
|
|
7550
|
+
travel_distance_km: number | null;
|
|
7551
|
+
type: string;
|
|
7552
|
+
updated_at: string;
|
|
7553
|
+
};
|
|
7554
|
+
Insert: {
|
|
7555
|
+
created_at?: string;
|
|
7556
|
+
employee_id: string;
|
|
7557
|
+
end_time?: string | null;
|
|
7558
|
+
id?: string;
|
|
7559
|
+
notes?: string | null;
|
|
7560
|
+
overtime_hours?: number;
|
|
7561
|
+
overtime_type?: string | null;
|
|
7562
|
+
regular_hours?: number;
|
|
7563
|
+
start_time?: string;
|
|
7564
|
+
travel_cost?: number | null;
|
|
7565
|
+
travel_distance_km?: number | null;
|
|
7566
|
+
type: string;
|
|
7567
|
+
updated_at?: string;
|
|
7568
|
+
};
|
|
7569
|
+
Update: {
|
|
7570
|
+
created_at?: string;
|
|
7571
|
+
employee_id?: string;
|
|
7572
|
+
end_time?: string | null;
|
|
7573
|
+
id?: string;
|
|
7574
|
+
notes?: string | null;
|
|
7575
|
+
overtime_hours?: number;
|
|
7576
|
+
overtime_type?: string | null;
|
|
7577
|
+
regular_hours?: number;
|
|
7578
|
+
start_time?: string;
|
|
7579
|
+
travel_cost?: number | null;
|
|
7580
|
+
travel_distance_km?: number | null;
|
|
7581
|
+
type?: string;
|
|
7582
|
+
updated_at?: string;
|
|
7583
|
+
};
|
|
7584
|
+
Relationships: [{
|
|
7585
|
+
foreignKeyName: "time_logs_employee_id_fkey";
|
|
7586
|
+
columns: ["employee_id"];
|
|
7587
|
+
isOneToOne: false;
|
|
7588
|
+
referencedRelation: "monteurs";
|
|
7589
|
+
referencedColumns: ["id"];
|
|
7590
|
+
}];
|
|
7591
|
+
};
|
|
7592
|
+
time_off_entries: {
|
|
7593
|
+
Row: {
|
|
7594
|
+
created_at: string;
|
|
7595
|
+
employee_id: string;
|
|
7596
|
+
entry_date: string;
|
|
7597
|
+
hours: number;
|
|
7598
|
+
id: string;
|
|
7599
|
+
notes: string | null;
|
|
7600
|
+
type: string;
|
|
7601
|
+
updated_at: string;
|
|
7602
|
+
};
|
|
7603
|
+
Insert: {
|
|
7604
|
+
created_at?: string;
|
|
7605
|
+
employee_id: string;
|
|
7606
|
+
entry_date: string;
|
|
7607
|
+
hours?: number;
|
|
7608
|
+
id?: string;
|
|
7609
|
+
notes?: string | null;
|
|
7610
|
+
type: string;
|
|
7611
|
+
updated_at?: string;
|
|
7612
|
+
};
|
|
7613
|
+
Update: {
|
|
7614
|
+
created_at?: string;
|
|
7615
|
+
employee_id?: string;
|
|
7616
|
+
entry_date?: string;
|
|
7617
|
+
hours?: number;
|
|
7618
|
+
id?: string;
|
|
7619
|
+
notes?: string | null;
|
|
7620
|
+
type?: string;
|
|
7621
|
+
updated_at?: string;
|
|
7622
|
+
};
|
|
7623
|
+
Relationships: [{
|
|
7624
|
+
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
7625
|
+
columns: ["employee_id"];
|
|
7626
|
+
isOneToOne: false;
|
|
7627
|
+
referencedRelation: "monteurs";
|
|
7628
|
+
referencedColumns: ["id"];
|
|
7629
|
+
}];
|
|
7630
|
+
};
|
|
5510
7631
|
trade_item_drafts: {
|
|
5511
7632
|
Row: {
|
|
5512
7633
|
connection_id: string | null;
|
|
5513
7634
|
created_at: string;
|
|
5514
7635
|
data: import("../integrations/supabase/types").Json;
|
|
7636
|
+
floriday_id: string | null;
|
|
7637
|
+
floriday_link_error: string | null;
|
|
7638
|
+
floriday_link_status: string;
|
|
5515
7639
|
id: string;
|
|
7640
|
+
last_floriday_sync_at: string | null;
|
|
7641
|
+
missing_required_fields: string[];
|
|
7642
|
+
source: string;
|
|
5516
7643
|
updated_at: string;
|
|
5517
7644
|
user_id: string;
|
|
5518
7645
|
};
|
|
@@ -5520,7 +7647,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
5520
7647
|
connection_id?: string | null;
|
|
5521
7648
|
created_at?: string;
|
|
5522
7649
|
data?: import("../integrations/supabase/types").Json;
|
|
7650
|
+
floriday_id?: string | null;
|
|
7651
|
+
floriday_link_error?: string | null;
|
|
7652
|
+
floriday_link_status?: string;
|
|
5523
7653
|
id?: string;
|
|
7654
|
+
last_floriday_sync_at?: string | null;
|
|
7655
|
+
missing_required_fields?: string[];
|
|
7656
|
+
source?: string;
|
|
5524
7657
|
updated_at?: string;
|
|
5525
7658
|
user_id: string;
|
|
5526
7659
|
};
|
|
@@ -5528,7 +7661,55 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
5528
7661
|
connection_id?: string | null;
|
|
5529
7662
|
created_at?: string;
|
|
5530
7663
|
data?: import("../integrations/supabase/types").Json;
|
|
7664
|
+
floriday_id?: string | null;
|
|
7665
|
+
floriday_link_error?: string | null;
|
|
7666
|
+
floriday_link_status?: string;
|
|
7667
|
+
id?: string;
|
|
7668
|
+
last_floriday_sync_at?: string | null;
|
|
7669
|
+
missing_required_fields?: string[];
|
|
7670
|
+
source?: string;
|
|
7671
|
+
updated_at?: string;
|
|
7672
|
+
user_id?: string;
|
|
7673
|
+
};
|
|
7674
|
+
Relationships: [];
|
|
7675
|
+
};
|
|
7676
|
+
trade_item_stock: {
|
|
7677
|
+
Row: {
|
|
7678
|
+
connection_id: string;
|
|
7679
|
+
created_at: string;
|
|
7680
|
+
id: string;
|
|
7681
|
+
incoming_stock: number;
|
|
7682
|
+
minimum_stock: number;
|
|
7683
|
+
notes: string | null;
|
|
7684
|
+
physical_stock: number;
|
|
7685
|
+
reserved_stock: number;
|
|
7686
|
+
trade_item_key: string;
|
|
7687
|
+
updated_at: string;
|
|
7688
|
+
user_id: string;
|
|
7689
|
+
};
|
|
7690
|
+
Insert: {
|
|
7691
|
+
connection_id: string;
|
|
7692
|
+
created_at?: string;
|
|
7693
|
+
id?: string;
|
|
7694
|
+
incoming_stock?: number;
|
|
7695
|
+
minimum_stock?: number;
|
|
7696
|
+
notes?: string | null;
|
|
7697
|
+
physical_stock?: number;
|
|
7698
|
+
reserved_stock?: number;
|
|
7699
|
+
trade_item_key: string;
|
|
7700
|
+
updated_at?: string;
|
|
7701
|
+
user_id: string;
|
|
7702
|
+
};
|
|
7703
|
+
Update: {
|
|
7704
|
+
connection_id?: string;
|
|
7705
|
+
created_at?: string;
|
|
5531
7706
|
id?: string;
|
|
7707
|
+
incoming_stock?: number;
|
|
7708
|
+
minimum_stock?: number;
|
|
7709
|
+
notes?: string | null;
|
|
7710
|
+
physical_stock?: number;
|
|
7711
|
+
reserved_stock?: number;
|
|
7712
|
+
trade_item_key?: string;
|
|
5532
7713
|
updated_at?: string;
|
|
5533
7714
|
user_id?: string;
|
|
5534
7715
|
};
|
|
@@ -5878,6 +8059,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
5878
8059
|
};
|
|
5879
8060
|
twinfield_invoice_sync_logs: {
|
|
5880
8061
|
Row: {
|
|
8062
|
+
action_type: string | null;
|
|
5881
8063
|
created_at: string;
|
|
5882
8064
|
details: import("../integrations/supabase/types").Json | null;
|
|
5883
8065
|
duration_ms: number | null;
|
|
@@ -5890,6 +8072,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
5890
8072
|
user_id: string;
|
|
5891
8073
|
};
|
|
5892
8074
|
Insert: {
|
|
8075
|
+
action_type?: string | null;
|
|
5893
8076
|
created_at?: string;
|
|
5894
8077
|
details?: import("../integrations/supabase/types").Json | null;
|
|
5895
8078
|
duration_ms?: number | null;
|
|
@@ -5902,6 +8085,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
5902
8085
|
user_id: string;
|
|
5903
8086
|
};
|
|
5904
8087
|
Update: {
|
|
8088
|
+
action_type?: string | null;
|
|
5905
8089
|
created_at?: string;
|
|
5906
8090
|
details?: import("../integrations/supabase/types").Json | null;
|
|
5907
8091
|
duration_ms?: number | null;
|
|
@@ -6137,6 +8321,57 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6137
8321
|
referencedColumns: ["id"];
|
|
6138
8322
|
}];
|
|
6139
8323
|
};
|
|
8324
|
+
twinfield_request_metrics: {
|
|
8325
|
+
Row: {
|
|
8326
|
+
bucket_hour: string;
|
|
8327
|
+
connection_id: string;
|
|
8328
|
+
error_count: number;
|
|
8329
|
+
rate_limited_count: number;
|
|
8330
|
+
request_count: number;
|
|
8331
|
+
updated_at: string;
|
|
8332
|
+
};
|
|
8333
|
+
Insert: {
|
|
8334
|
+
bucket_hour: string;
|
|
8335
|
+
connection_id: string;
|
|
8336
|
+
error_count?: number;
|
|
8337
|
+
rate_limited_count?: number;
|
|
8338
|
+
request_count?: number;
|
|
8339
|
+
updated_at?: string;
|
|
8340
|
+
};
|
|
8341
|
+
Update: {
|
|
8342
|
+
bucket_hour?: string;
|
|
8343
|
+
connection_id?: string;
|
|
8344
|
+
error_count?: number;
|
|
8345
|
+
rate_limited_count?: number;
|
|
8346
|
+
request_count?: number;
|
|
8347
|
+
updated_at?: string;
|
|
8348
|
+
};
|
|
8349
|
+
Relationships: [];
|
|
8350
|
+
};
|
|
8351
|
+
twinfield_session_cache: {
|
|
8352
|
+
Row: {
|
|
8353
|
+
cluster: string;
|
|
8354
|
+
created_at: string;
|
|
8355
|
+
expires_at: string;
|
|
8356
|
+
session_id: string;
|
|
8357
|
+
user_id: string;
|
|
8358
|
+
};
|
|
8359
|
+
Insert: {
|
|
8360
|
+
cluster: string;
|
|
8361
|
+
created_at?: string;
|
|
8362
|
+
expires_at: string;
|
|
8363
|
+
session_id: string;
|
|
8364
|
+
user_id: string;
|
|
8365
|
+
};
|
|
8366
|
+
Update: {
|
|
8367
|
+
cluster?: string;
|
|
8368
|
+
created_at?: string;
|
|
8369
|
+
expires_at?: string;
|
|
8370
|
+
session_id?: string;
|
|
8371
|
+
user_id?: string;
|
|
8372
|
+
};
|
|
8373
|
+
Relationships: [];
|
|
8374
|
+
};
|
|
6140
8375
|
twinfield_settings: {
|
|
6141
8376
|
Row: {
|
|
6142
8377
|
active_environment: string;
|
|
@@ -6248,6 +8483,117 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6248
8483
|
referencedColumns: ["id"];
|
|
6249
8484
|
}];
|
|
6250
8485
|
};
|
|
8486
|
+
voorraad_media_upload_failures: {
|
|
8487
|
+
Row: {
|
|
8488
|
+
action: string;
|
|
8489
|
+
attempt_number: number;
|
|
8490
|
+
caller: string;
|
|
8491
|
+
client_user_id: string | null;
|
|
8492
|
+
content_type: string | null;
|
|
8493
|
+
created_at: string;
|
|
8494
|
+
environment: string;
|
|
8495
|
+
error_message: string | null;
|
|
8496
|
+
filename: string | null;
|
|
8497
|
+
id: string;
|
|
8498
|
+
idempotency_key: string | null;
|
|
8499
|
+
module: string;
|
|
8500
|
+
path: string;
|
|
8501
|
+
reference_id: string | null;
|
|
8502
|
+
request_body_hash: string | null;
|
|
8503
|
+
request_timestamp: number | null;
|
|
8504
|
+
response_content_type: string | null;
|
|
8505
|
+
response_status: number | null;
|
|
8506
|
+
size_bytes: number | null;
|
|
8507
|
+
};
|
|
8508
|
+
Insert: {
|
|
8509
|
+
action?: string;
|
|
8510
|
+
attempt_number?: number;
|
|
8511
|
+
caller?: string;
|
|
8512
|
+
client_user_id?: string | null;
|
|
8513
|
+
content_type?: string | null;
|
|
8514
|
+
created_at?: string;
|
|
8515
|
+
environment: string;
|
|
8516
|
+
error_message?: string | null;
|
|
8517
|
+
filename?: string | null;
|
|
8518
|
+
id?: string;
|
|
8519
|
+
idempotency_key?: string | null;
|
|
8520
|
+
module?: string;
|
|
8521
|
+
path: string;
|
|
8522
|
+
reference_id?: string | null;
|
|
8523
|
+
request_body_hash?: string | null;
|
|
8524
|
+
request_timestamp?: number | null;
|
|
8525
|
+
response_content_type?: string | null;
|
|
8526
|
+
response_status?: number | null;
|
|
8527
|
+
size_bytes?: number | null;
|
|
8528
|
+
};
|
|
8529
|
+
Update: {
|
|
8530
|
+
action?: string;
|
|
8531
|
+
attempt_number?: number;
|
|
8532
|
+
caller?: string;
|
|
8533
|
+
client_user_id?: string | null;
|
|
8534
|
+
content_type?: string | null;
|
|
8535
|
+
created_at?: string;
|
|
8536
|
+
environment?: string;
|
|
8537
|
+
error_message?: string | null;
|
|
8538
|
+
filename?: string | null;
|
|
8539
|
+
id?: string;
|
|
8540
|
+
idempotency_key?: string | null;
|
|
8541
|
+
module?: string;
|
|
8542
|
+
path?: string;
|
|
8543
|
+
reference_id?: string | null;
|
|
8544
|
+
request_body_hash?: string | null;
|
|
8545
|
+
request_timestamp?: number | null;
|
|
8546
|
+
response_content_type?: string | null;
|
|
8547
|
+
response_status?: number | null;
|
|
8548
|
+
size_bytes?: number | null;
|
|
8549
|
+
};
|
|
8550
|
+
Relationships: [];
|
|
8551
|
+
};
|
|
8552
|
+
voorraad_publish_attempts: {
|
|
8553
|
+
Row: {
|
|
8554
|
+
action: string;
|
|
8555
|
+
connection_id: string | null;
|
|
8556
|
+
created_at: string;
|
|
8557
|
+
error: string | null;
|
|
8558
|
+
gateway_attempt_id: string | null;
|
|
8559
|
+
gateway_status: number | null;
|
|
8560
|
+
id: string;
|
|
8561
|
+
intent: string;
|
|
8562
|
+
ok: boolean;
|
|
8563
|
+
request_summary: import("../integrations/supabase/types").Json | null;
|
|
8564
|
+
trade_item_id: string | null;
|
|
8565
|
+
user_id: string;
|
|
8566
|
+
};
|
|
8567
|
+
Insert: {
|
|
8568
|
+
action: string;
|
|
8569
|
+
connection_id?: string | null;
|
|
8570
|
+
created_at?: string;
|
|
8571
|
+
error?: string | null;
|
|
8572
|
+
gateway_attempt_id?: string | null;
|
|
8573
|
+
gateway_status?: number | null;
|
|
8574
|
+
id?: string;
|
|
8575
|
+
intent: string;
|
|
8576
|
+
ok: boolean;
|
|
8577
|
+
request_summary?: import("../integrations/supabase/types").Json | null;
|
|
8578
|
+
trade_item_id?: string | null;
|
|
8579
|
+
user_id: string;
|
|
8580
|
+
};
|
|
8581
|
+
Update: {
|
|
8582
|
+
action?: string;
|
|
8583
|
+
connection_id?: string | null;
|
|
8584
|
+
created_at?: string;
|
|
8585
|
+
error?: string | null;
|
|
8586
|
+
gateway_attempt_id?: string | null;
|
|
8587
|
+
gateway_status?: number | null;
|
|
8588
|
+
id?: string;
|
|
8589
|
+
intent?: string;
|
|
8590
|
+
ok?: boolean;
|
|
8591
|
+
request_summary?: import("../integrations/supabase/types").Json | null;
|
|
8592
|
+
trade_item_id?: string | null;
|
|
8593
|
+
user_id?: string;
|
|
8594
|
+
};
|
|
8595
|
+
Relationships: [];
|
|
8596
|
+
};
|
|
6251
8597
|
work_order_monteurs: {
|
|
6252
8598
|
Row: {
|
|
6253
8599
|
created_at: string;
|
|
@@ -6607,6 +8953,35 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6607
8953
|
};
|
|
6608
8954
|
Relationships: [];
|
|
6609
8955
|
};
|
|
8956
|
+
manufacture_product_possible_stock_view: {
|
|
8957
|
+
Row: {
|
|
8958
|
+
component_count: number | null;
|
|
8959
|
+
manufacture_product_id: string | null;
|
|
8960
|
+
possible_stock: number | null;
|
|
8961
|
+
};
|
|
8962
|
+
Relationships: [];
|
|
8963
|
+
};
|
|
8964
|
+
product_group_stock_view: {
|
|
8965
|
+
Row: {
|
|
8966
|
+
item_count: number | null;
|
|
8967
|
+
product_group_id: string | null;
|
|
8968
|
+
total_stock: number | null;
|
|
8969
|
+
};
|
|
8970
|
+
Relationships: [{
|
|
8971
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
8972
|
+
columns: ["product_group_id"];
|
|
8973
|
+
isOneToOne: false;
|
|
8974
|
+
referencedRelation: "product_groups";
|
|
8975
|
+
referencedColumns: ["id"];
|
|
8976
|
+
}];
|
|
8977
|
+
};
|
|
8978
|
+
trade_item_stock_view: {
|
|
8979
|
+
Row: {
|
|
8980
|
+
stock: number | null;
|
|
8981
|
+
trade_item_id: string | null;
|
|
8982
|
+
};
|
|
8983
|
+
Relationships: [];
|
|
8984
|
+
};
|
|
6610
8985
|
v_external_customers_exact: {
|
|
6611
8986
|
Row: {
|
|
6612
8987
|
account_number: string | null;
|
|
@@ -6850,13 +9225,81 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6850
9225
|
referencedColumns: ["id"];
|
|
6851
9226
|
}];
|
|
6852
9227
|
};
|
|
6853
|
-
};
|
|
6854
|
-
Functions: {
|
|
6855
|
-
|
|
9228
|
+
};
|
|
9229
|
+
Functions: {
|
|
9230
|
+
_floriday_schedule_job: {
|
|
9231
|
+
Args: {
|
|
9232
|
+
p_apikey: string;
|
|
9233
|
+
p_jobname: string;
|
|
9234
|
+
p_schedule: string;
|
|
9235
|
+
p_timeout_ms: number;
|
|
9236
|
+
p_url: string;
|
|
9237
|
+
};
|
|
9238
|
+
Returns: number;
|
|
9239
|
+
};
|
|
9240
|
+
assign_cart_numbers: {
|
|
9241
|
+
Args: {
|
|
9242
|
+
p_carts: import("../integrations/supabase/types").Json;
|
|
9243
|
+
};
|
|
9244
|
+
Returns: {
|
|
9245
|
+
cart_index: number;
|
|
9246
|
+
cart_number: string;
|
|
9247
|
+
day_seq: number;
|
|
9248
|
+
order_id: string;
|
|
9249
|
+
order_source: string;
|
|
9250
|
+
pick_date: string;
|
|
9251
|
+
status: string;
|
|
9252
|
+
}[];
|
|
9253
|
+
};
|
|
9254
|
+
assign_floriday_order_numbers: {
|
|
9255
|
+
Args: {
|
|
9256
|
+
p_ids: string[];
|
|
9257
|
+
};
|
|
9258
|
+
Returns: {
|
|
9259
|
+
floriday_id: string;
|
|
9260
|
+
order_number: string;
|
|
9261
|
+
}[];
|
|
9262
|
+
};
|
|
9263
|
+
call_exact_route: {
|
|
9264
|
+
Args: {
|
|
9265
|
+
path: string;
|
|
9266
|
+
};
|
|
9267
|
+
Returns: number;
|
|
9268
|
+
};
|
|
9269
|
+
cleanup_old_bookings: {
|
|
9270
|
+
Args: never;
|
|
9271
|
+
Returns: number;
|
|
9272
|
+
};
|
|
9273
|
+
control_get_todays_carts: {
|
|
9274
|
+
Args: never;
|
|
9275
|
+
Returns: {
|
|
9276
|
+
cart_index: number;
|
|
9277
|
+
cart_number: string;
|
|
9278
|
+
cart_number_id: string;
|
|
9279
|
+
order_id: string;
|
|
9280
|
+
order_source: string;
|
|
9281
|
+
pick_date: string;
|
|
9282
|
+
status: string;
|
|
9283
|
+
}[];
|
|
9284
|
+
};
|
|
9285
|
+
count_distinct_regulatory_products: {
|
|
9286
|
+
Args: never;
|
|
9287
|
+
Returns: number;
|
|
9288
|
+
};
|
|
9289
|
+
current_monteur_id: {
|
|
9290
|
+
Args: never;
|
|
9291
|
+
Returns: string;
|
|
9292
|
+
};
|
|
9293
|
+
dashboard_alert_counts: {
|
|
9294
|
+
Args: never;
|
|
9295
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
9296
|
+
};
|
|
9297
|
+
dashboard_alert_rows: {
|
|
6856
9298
|
Args: {
|
|
6857
|
-
|
|
9299
|
+
check_id: string;
|
|
9300
|
+
row_limit?: number;
|
|
6858
9301
|
};
|
|
6859
|
-
Returns:
|
|
9302
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
6860
9303
|
};
|
|
6861
9304
|
dashboard_list_public_schema: {
|
|
6862
9305
|
Args: never;
|
|
@@ -6938,6 +9381,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6938
9381
|
};
|
|
6939
9382
|
Returns: boolean;
|
|
6940
9383
|
};
|
|
9384
|
+
format_cart_number: {
|
|
9385
|
+
Args: {
|
|
9386
|
+
p_pick_date: string;
|
|
9387
|
+
p_seq: number;
|
|
9388
|
+
};
|
|
9389
|
+
Returns: string;
|
|
9390
|
+
};
|
|
6941
9391
|
get_active_floriday_connection_public: {
|
|
6942
9392
|
Args: never;
|
|
6943
9393
|
Returns: {
|
|
@@ -6962,6 +9412,32 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6962
9412
|
office_code: string;
|
|
6963
9413
|
}[];
|
|
6964
9414
|
};
|
|
9415
|
+
get_floriday_agreements_active: {
|
|
9416
|
+
Args: {
|
|
9417
|
+
p_on_date?: string;
|
|
9418
|
+
};
|
|
9419
|
+
Returns: {
|
|
9420
|
+
buyer_organization_id: string;
|
|
9421
|
+
data: import("../integrations/supabase/types").Json;
|
|
9422
|
+
floriday_id: string;
|
|
9423
|
+
status: string;
|
|
9424
|
+
valid_from: string;
|
|
9425
|
+
valid_until: string;
|
|
9426
|
+
}[];
|
|
9427
|
+
};
|
|
9428
|
+
get_floriday_clock_supplies_window: {
|
|
9429
|
+
Args: {
|
|
9430
|
+
p_from: string;
|
|
9431
|
+
p_to: string;
|
|
9432
|
+
};
|
|
9433
|
+
Returns: {
|
|
9434
|
+
auction_date: string;
|
|
9435
|
+
data: import("../integrations/supabase/types").Json;
|
|
9436
|
+
floriday_id: string;
|
|
9437
|
+
status: string;
|
|
9438
|
+
trade_item_id: string;
|
|
9439
|
+
}[];
|
|
9440
|
+
};
|
|
6965
9441
|
get_floriday_cron_jobs: {
|
|
6966
9442
|
Args: never;
|
|
6967
9443
|
Returns: {
|
|
@@ -6971,12 +9447,68 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6971
9447
|
url: string;
|
|
6972
9448
|
}[];
|
|
6973
9449
|
};
|
|
9450
|
+
get_floriday_delivery_locations: {
|
|
9451
|
+
Args: {
|
|
9452
|
+
p_organization_id: string;
|
|
9453
|
+
};
|
|
9454
|
+
Returns: {
|
|
9455
|
+
data: import("../integrations/supabase/types").Json;
|
|
9456
|
+
floriday_id: string;
|
|
9457
|
+
gln_code: string;
|
|
9458
|
+
name: string;
|
|
9459
|
+
}[];
|
|
9460
|
+
};
|
|
9461
|
+
get_floriday_fulfillment_orders_window: {
|
|
9462
|
+
Args: {
|
|
9463
|
+
p_from: string;
|
|
9464
|
+
p_to: string;
|
|
9465
|
+
};
|
|
9466
|
+
Returns: {
|
|
9467
|
+
auction_date: string;
|
|
9468
|
+
data: import("../integrations/supabase/types").Json;
|
|
9469
|
+
delivery_order_id: string;
|
|
9470
|
+
destination_warehouse_id: string;
|
|
9471
|
+
floriday_id: string;
|
|
9472
|
+
status: string;
|
|
9473
|
+
}[];
|
|
9474
|
+
};
|
|
9475
|
+
get_floriday_sales_orders_window: {
|
|
9476
|
+
Args: {
|
|
9477
|
+
p_from: string;
|
|
9478
|
+
p_to: string;
|
|
9479
|
+
};
|
|
9480
|
+
Returns: {
|
|
9481
|
+
buyer_organization_id: string;
|
|
9482
|
+
data: import("../integrations/supabase/types").Json;
|
|
9483
|
+
floriday_id: string;
|
|
9484
|
+
status: string;
|
|
9485
|
+
updated_at: string;
|
|
9486
|
+
}[];
|
|
9487
|
+
};
|
|
9488
|
+
get_floriday_sync_health: {
|
|
9489
|
+
Args: never;
|
|
9490
|
+
Returns: {
|
|
9491
|
+
entity_type: string;
|
|
9492
|
+
last_error: string;
|
|
9493
|
+
last_items_processed: number;
|
|
9494
|
+
last_sequence_number: number;
|
|
9495
|
+
last_success_at: string;
|
|
9496
|
+
last_synced_at: string;
|
|
9497
|
+
minutes_since_success: number;
|
|
9498
|
+
}[];
|
|
9499
|
+
};
|
|
6974
9500
|
get_offer_by_link_code: {
|
|
6975
9501
|
Args: {
|
|
6976
9502
|
p_code: string;
|
|
6977
9503
|
};
|
|
6978
9504
|
Returns: import("../integrations/supabase/types").Json;
|
|
6979
9505
|
};
|
|
9506
|
+
get_or_assign_floriday_order_number: {
|
|
9507
|
+
Args: {
|
|
9508
|
+
p_floriday_id: string;
|
|
9509
|
+
};
|
|
9510
|
+
Returns: string;
|
|
9511
|
+
};
|
|
6980
9512
|
get_room_busy_windows: {
|
|
6981
9513
|
Args: {
|
|
6982
9514
|
p_from: string;
|
|
@@ -7023,6 +9555,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7023
9555
|
Args: never;
|
|
7024
9556
|
Returns: boolean;
|
|
7025
9557
|
};
|
|
9558
|
+
next_order_number: {
|
|
9559
|
+
Args: {
|
|
9560
|
+
p_prefix: string;
|
|
9561
|
+
};
|
|
9562
|
+
Returns: string;
|
|
9563
|
+
};
|
|
7026
9564
|
next_work_order_number: {
|
|
7027
9565
|
Args: {
|
|
7028
9566
|
p_parent_work_order_id?: string;
|
|
@@ -7036,6 +9574,89 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7036
9574
|
};
|
|
7037
9575
|
Returns: string;
|
|
7038
9576
|
};
|
|
9577
|
+
pickstation_get_orders_raw: {
|
|
9578
|
+
Args: never;
|
|
9579
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
9580
|
+
};
|
|
9581
|
+
pickstation_get_settings: {
|
|
9582
|
+
Args: never;
|
|
9583
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
9584
|
+
};
|
|
9585
|
+
pickstation_log_print: {
|
|
9586
|
+
Args: {
|
|
9587
|
+
p_customer_name: string;
|
|
9588
|
+
p_documents: string[];
|
|
9589
|
+
p_ip_address: string;
|
|
9590
|
+
p_order_id: string;
|
|
9591
|
+
p_order_number: string;
|
|
9592
|
+
};
|
|
9593
|
+
Returns: undefined;
|
|
9594
|
+
};
|
|
9595
|
+
pickstation_set_cart_status: {
|
|
9596
|
+
Args: {
|
|
9597
|
+
p_cart_index: number;
|
|
9598
|
+
p_order_id: string;
|
|
9599
|
+
p_order_source: string;
|
|
9600
|
+
p_status: string;
|
|
9601
|
+
};
|
|
9602
|
+
Returns: undefined;
|
|
9603
|
+
};
|
|
9604
|
+
refresh_floricode_derived_code_lists: {
|
|
9605
|
+
Args: never;
|
|
9606
|
+
Returns: {
|
|
9607
|
+
environment: string;
|
|
9608
|
+
list_name: string;
|
|
9609
|
+
row_count: number;
|
|
9610
|
+
}[];
|
|
9611
|
+
};
|
|
9612
|
+
refresh_floricode_derived_for_product: {
|
|
9613
|
+
Args: {
|
|
9614
|
+
p_product_code: string;
|
|
9615
|
+
};
|
|
9616
|
+
Returns: number;
|
|
9617
|
+
};
|
|
9618
|
+
reset_floriday_sync_cursor: {
|
|
9619
|
+
Args: {
|
|
9620
|
+
p_connection_id: string;
|
|
9621
|
+
p_entity_type: string;
|
|
9622
|
+
};
|
|
9623
|
+
Returns: undefined;
|
|
9624
|
+
};
|
|
9625
|
+
schedule_floriday_additional_services_sync: {
|
|
9626
|
+
Args: {
|
|
9627
|
+
p_apikey: string;
|
|
9628
|
+
p_url: string;
|
|
9629
|
+
};
|
|
9630
|
+
Returns: number;
|
|
9631
|
+
};
|
|
9632
|
+
schedule_floriday_agreement_calloffs_sync: {
|
|
9633
|
+
Args: {
|
|
9634
|
+
p_apikey: string;
|
|
9635
|
+
p_url: string;
|
|
9636
|
+
};
|
|
9637
|
+
Returns: number;
|
|
9638
|
+
};
|
|
9639
|
+
schedule_floriday_agreements_sync: {
|
|
9640
|
+
Args: {
|
|
9641
|
+
p_apikey: string;
|
|
9642
|
+
p_url: string;
|
|
9643
|
+
};
|
|
9644
|
+
Returns: number;
|
|
9645
|
+
};
|
|
9646
|
+
schedule_floriday_base_items_sync: {
|
|
9647
|
+
Args: {
|
|
9648
|
+
p_apikey: string;
|
|
9649
|
+
p_url: string;
|
|
9650
|
+
};
|
|
9651
|
+
Returns: number;
|
|
9652
|
+
};
|
|
9653
|
+
schedule_floriday_blanket_orders_sync: {
|
|
9654
|
+
Args: {
|
|
9655
|
+
p_apikey: string;
|
|
9656
|
+
p_url: string;
|
|
9657
|
+
};
|
|
9658
|
+
Returns: number;
|
|
9659
|
+
};
|
|
7039
9660
|
schedule_floriday_carriers_sync: {
|
|
7040
9661
|
Args: {
|
|
7041
9662
|
p_apikey: string;
|
|
@@ -7043,6 +9664,34 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7043
9664
|
};
|
|
7044
9665
|
Returns: number;
|
|
7045
9666
|
};
|
|
9667
|
+
schedule_floriday_clock_presales_sync: {
|
|
9668
|
+
Args: {
|
|
9669
|
+
p_apikey: string;
|
|
9670
|
+
p_url: string;
|
|
9671
|
+
};
|
|
9672
|
+
Returns: number;
|
|
9673
|
+
};
|
|
9674
|
+
schedule_floriday_clock_supplies_sync: {
|
|
9675
|
+
Args: {
|
|
9676
|
+
p_apikey: string;
|
|
9677
|
+
p_url: string;
|
|
9678
|
+
};
|
|
9679
|
+
Returns: number;
|
|
9680
|
+
};
|
|
9681
|
+
schedule_floriday_collections_sync: {
|
|
9682
|
+
Args: {
|
|
9683
|
+
p_apikey: string;
|
|
9684
|
+
p_url: string;
|
|
9685
|
+
};
|
|
9686
|
+
Returns: number;
|
|
9687
|
+
};
|
|
9688
|
+
schedule_floriday_commercial_service_types_sync: {
|
|
9689
|
+
Args: {
|
|
9690
|
+
p_apikey: string;
|
|
9691
|
+
p_url: string;
|
|
9692
|
+
};
|
|
9693
|
+
Returns: number;
|
|
9694
|
+
};
|
|
7046
9695
|
schedule_floriday_connections_sync: {
|
|
7047
9696
|
Args: {
|
|
7048
9697
|
p_apikey: string;
|
|
@@ -7050,6 +9699,20 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7050
9699
|
};
|
|
7051
9700
|
Returns: number;
|
|
7052
9701
|
};
|
|
9702
|
+
schedule_floriday_contract_trade_item_groups_sync: {
|
|
9703
|
+
Args: {
|
|
9704
|
+
p_apikey: string;
|
|
9705
|
+
p_url: string;
|
|
9706
|
+
};
|
|
9707
|
+
Returns: number;
|
|
9708
|
+
};
|
|
9709
|
+
schedule_floriday_contracts_sync: {
|
|
9710
|
+
Args: {
|
|
9711
|
+
p_apikey: string;
|
|
9712
|
+
p_url: string;
|
|
9713
|
+
};
|
|
9714
|
+
Returns: number;
|
|
9715
|
+
};
|
|
7053
9716
|
schedule_floriday_customer_organizations_sync: {
|
|
7054
9717
|
Args: {
|
|
7055
9718
|
p_apikey: string;
|
|
@@ -7057,6 +9720,48 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7057
9720
|
};
|
|
7058
9721
|
Returns: number;
|
|
7059
9722
|
};
|
|
9723
|
+
schedule_floriday_customer_stickers_sync: {
|
|
9724
|
+
Args: {
|
|
9725
|
+
p_apikey: string;
|
|
9726
|
+
p_url: string;
|
|
9727
|
+
};
|
|
9728
|
+
Returns: number;
|
|
9729
|
+
};
|
|
9730
|
+
schedule_floriday_delivery_condition_sets_sync: {
|
|
9731
|
+
Args: {
|
|
9732
|
+
p_apikey: string;
|
|
9733
|
+
p_url: string;
|
|
9734
|
+
};
|
|
9735
|
+
Returns: number;
|
|
9736
|
+
};
|
|
9737
|
+
schedule_floriday_delivery_locations_sync: {
|
|
9738
|
+
Args: {
|
|
9739
|
+
p_apikey: string;
|
|
9740
|
+
p_url: string;
|
|
9741
|
+
};
|
|
9742
|
+
Returns: number;
|
|
9743
|
+
};
|
|
9744
|
+
schedule_floriday_delivery_orders_sync: {
|
|
9745
|
+
Args: {
|
|
9746
|
+
p_apikey: string;
|
|
9747
|
+
p_url: string;
|
|
9748
|
+
};
|
|
9749
|
+
Returns: number;
|
|
9750
|
+
};
|
|
9751
|
+
schedule_floriday_fulfillment_orders_sync: {
|
|
9752
|
+
Args: {
|
|
9753
|
+
p_apikey: string;
|
|
9754
|
+
p_url: string;
|
|
9755
|
+
};
|
|
9756
|
+
Returns: number;
|
|
9757
|
+
};
|
|
9758
|
+
schedule_floriday_invoices_sync: {
|
|
9759
|
+
Args: {
|
|
9760
|
+
p_apikey: string;
|
|
9761
|
+
p_url: string;
|
|
9762
|
+
};
|
|
9763
|
+
Returns: number;
|
|
9764
|
+
};
|
|
7060
9765
|
schedule_floriday_network_sync: {
|
|
7061
9766
|
Args: {
|
|
7062
9767
|
p_apikey: string;
|
|
@@ -7064,6 +9769,34 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7064
9769
|
};
|
|
7065
9770
|
Returns: number;
|
|
7066
9771
|
};
|
|
9772
|
+
schedule_floriday_packings_sync: {
|
|
9773
|
+
Args: {
|
|
9774
|
+
p_apikey: string;
|
|
9775
|
+
p_url: string;
|
|
9776
|
+
};
|
|
9777
|
+
Returns: number;
|
|
9778
|
+
};
|
|
9779
|
+
schedule_floriday_price_groups_sync: {
|
|
9780
|
+
Args: {
|
|
9781
|
+
p_apikey: string;
|
|
9782
|
+
p_url: string;
|
|
9783
|
+
};
|
|
9784
|
+
Returns: number;
|
|
9785
|
+
};
|
|
9786
|
+
schedule_floriday_reference_data_refresh: {
|
|
9787
|
+
Args: {
|
|
9788
|
+
p_apikey: string;
|
|
9789
|
+
p_url: string;
|
|
9790
|
+
};
|
|
9791
|
+
Returns: number;
|
|
9792
|
+
};
|
|
9793
|
+
schedule_floriday_sales_strategies_sync: {
|
|
9794
|
+
Args: {
|
|
9795
|
+
p_apikey: string;
|
|
9796
|
+
p_url: string;
|
|
9797
|
+
};
|
|
9798
|
+
Returns: number;
|
|
9799
|
+
};
|
|
7067
9800
|
schedule_floriday_salesorders_sync: {
|
|
7068
9801
|
Args: {
|
|
7069
9802
|
p_apikey: string;
|
|
@@ -7078,6 +9811,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7078
9811
|
};
|
|
7079
9812
|
Returns: number;
|
|
7080
9813
|
};
|
|
9814
|
+
schedule_floriday_trade_item_classifications_sync: {
|
|
9815
|
+
Args: {
|
|
9816
|
+
p_apikey: string;
|
|
9817
|
+
p_url: string;
|
|
9818
|
+
};
|
|
9819
|
+
Returns: number;
|
|
9820
|
+
};
|
|
7081
9821
|
schedule_floriday_trade_items_sync: {
|
|
7082
9822
|
Args: {
|
|
7083
9823
|
p_apikey: string;
|
|
@@ -7085,6 +9825,20 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7085
9825
|
};
|
|
7086
9826
|
Returns: number;
|
|
7087
9827
|
};
|
|
9828
|
+
schedule_floriday_trips_sync: {
|
|
9829
|
+
Args: {
|
|
9830
|
+
p_apikey: string;
|
|
9831
|
+
p_url: string;
|
|
9832
|
+
};
|
|
9833
|
+
Returns: number;
|
|
9834
|
+
};
|
|
9835
|
+
schedule_floriday_warehouses_sync: {
|
|
9836
|
+
Args: {
|
|
9837
|
+
p_apikey: string;
|
|
9838
|
+
p_url: string;
|
|
9839
|
+
};
|
|
9840
|
+
Returns: number;
|
|
9841
|
+
};
|
|
7088
9842
|
schedule_twinfield_customers_sync: {
|
|
7089
9843
|
Args: {
|
|
7090
9844
|
p_apikey: string;
|
|
@@ -7159,7 +9913,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7159
9913
|
};
|
|
7160
9914
|
};
|
|
7161
9915
|
Enums: {
|
|
7162
|
-
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
9916
|
+
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
|
|
7163
9917
|
exact_env: "staging" | "live";
|
|
7164
9918
|
exact_push_status: "pending" | "sent" | "error";
|
|
7165
9919
|
quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
|
|
@@ -7172,5 +9926,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7172
9926
|
claims: import("@supabase/auth-js").JwtPayload;
|
|
7173
9927
|
}, undefined, undefined, undefined>], undefined, Promise<{
|
|
7174
9928
|
orders: FloridayOrder[];
|
|
9929
|
+
error?: string;
|
|
7175
9930
|
}>>;
|
|
7176
9931
|
//# sourceMappingURL=floriday.functions.d.ts.map
|