@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
|
@@ -9,6 +9,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9
9
|
max_workdays_earlier_pick: number;
|
|
10
10
|
pick_days_before_transport: number;
|
|
11
11
|
pick_distribution_enabled: boolean;
|
|
12
|
+
pick_weekdays: number[];
|
|
13
|
+
signup_mail_enabled: boolean;
|
|
14
|
+
signup_mail_lead_minutes: number;
|
|
15
|
+
signup_mail_purpose: string;
|
|
12
16
|
transport_register_days_before: number;
|
|
13
17
|
updated_at: string;
|
|
14
18
|
user_id: string;
|
|
@@ -19,6 +23,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19
23
|
max_workdays_earlier_pick?: number;
|
|
20
24
|
pick_days_before_transport?: number;
|
|
21
25
|
pick_distribution_enabled?: boolean;
|
|
26
|
+
pick_weekdays?: number[];
|
|
27
|
+
signup_mail_enabled?: boolean;
|
|
28
|
+
signup_mail_lead_minutes?: number;
|
|
29
|
+
signup_mail_purpose?: string;
|
|
22
30
|
transport_register_days_before?: number;
|
|
23
31
|
updated_at?: string;
|
|
24
32
|
user_id: string;
|
|
@@ -29,6 +37,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
29
37
|
max_workdays_earlier_pick?: number;
|
|
30
38
|
pick_days_before_transport?: number;
|
|
31
39
|
pick_distribution_enabled?: boolean;
|
|
40
|
+
pick_weekdays?: number[];
|
|
41
|
+
signup_mail_enabled?: boolean;
|
|
42
|
+
signup_mail_lead_minutes?: number;
|
|
43
|
+
signup_mail_purpose?: string;
|
|
32
44
|
transport_register_days_before?: number;
|
|
33
45
|
updated_at?: string;
|
|
34
46
|
user_id?: string;
|
|
@@ -437,12 +449,100 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
437
449
|
referencedColumns: ["id"];
|
|
438
450
|
}];
|
|
439
451
|
};
|
|
452
|
+
carrier_signup_dispatch_runs: {
|
|
453
|
+
Row: {
|
|
454
|
+
detail: import("./types").Json | null;
|
|
455
|
+
error: string | null;
|
|
456
|
+
finished_at: string | null;
|
|
457
|
+
groups: number;
|
|
458
|
+
id: string;
|
|
459
|
+
ok: boolean;
|
|
460
|
+
reason: string | null;
|
|
461
|
+
sent: number;
|
|
462
|
+
skipped: import("./types").Json;
|
|
463
|
+
started_at: string;
|
|
464
|
+
unassigned: import("./types").Json;
|
|
465
|
+
};
|
|
466
|
+
Insert: {
|
|
467
|
+
detail?: import("./types").Json | null;
|
|
468
|
+
error?: string | null;
|
|
469
|
+
finished_at?: string | null;
|
|
470
|
+
groups?: number;
|
|
471
|
+
id?: string;
|
|
472
|
+
ok?: boolean;
|
|
473
|
+
reason?: string | null;
|
|
474
|
+
sent?: number;
|
|
475
|
+
skipped?: import("./types").Json;
|
|
476
|
+
started_at?: string;
|
|
477
|
+
unassigned?: import("./types").Json;
|
|
478
|
+
};
|
|
479
|
+
Update: {
|
|
480
|
+
detail?: import("./types").Json | null;
|
|
481
|
+
error?: string | null;
|
|
482
|
+
finished_at?: string | null;
|
|
483
|
+
groups?: number;
|
|
484
|
+
id?: string;
|
|
485
|
+
ok?: boolean;
|
|
486
|
+
reason?: string | null;
|
|
487
|
+
sent?: number;
|
|
488
|
+
skipped?: import("./types").Json;
|
|
489
|
+
started_at?: string;
|
|
490
|
+
unassigned?: import("./types").Json;
|
|
491
|
+
};
|
|
492
|
+
Relationships: [];
|
|
493
|
+
};
|
|
494
|
+
carrier_signup_dispatches: {
|
|
495
|
+
Row: {
|
|
496
|
+
carrier_id: string;
|
|
497
|
+
cart_count: number;
|
|
498
|
+
created_at: string;
|
|
499
|
+
id: string;
|
|
500
|
+
order_count: number;
|
|
501
|
+
outbox_id: string | null;
|
|
502
|
+
pickup_date: string;
|
|
503
|
+
pickup_moment_key: string;
|
|
504
|
+
sent_at: string;
|
|
505
|
+
signup_deadline: string;
|
|
506
|
+
};
|
|
507
|
+
Insert: {
|
|
508
|
+
carrier_id: string;
|
|
509
|
+
cart_count?: number;
|
|
510
|
+
created_at?: string;
|
|
511
|
+
id?: string;
|
|
512
|
+
order_count?: number;
|
|
513
|
+
outbox_id?: string | null;
|
|
514
|
+
pickup_date: string;
|
|
515
|
+
pickup_moment_key: string;
|
|
516
|
+
sent_at?: string;
|
|
517
|
+
signup_deadline: string;
|
|
518
|
+
};
|
|
519
|
+
Update: {
|
|
520
|
+
carrier_id?: string;
|
|
521
|
+
cart_count?: number;
|
|
522
|
+
created_at?: string;
|
|
523
|
+
id?: string;
|
|
524
|
+
order_count?: number;
|
|
525
|
+
outbox_id?: string | null;
|
|
526
|
+
pickup_date?: string;
|
|
527
|
+
pickup_moment_key?: string;
|
|
528
|
+
sent_at?: string;
|
|
529
|
+
signup_deadline?: string;
|
|
530
|
+
};
|
|
531
|
+
Relationships: [{
|
|
532
|
+
foreignKeyName: "carrier_signup_dispatches_carrier_id_fkey";
|
|
533
|
+
columns: ["carrier_id"];
|
|
534
|
+
isOneToOne: false;
|
|
535
|
+
referencedRelation: "carriers";
|
|
536
|
+
referencedColumns: ["id"];
|
|
537
|
+
}];
|
|
538
|
+
};
|
|
440
539
|
carriers: {
|
|
441
540
|
Row: {
|
|
442
541
|
address: string | null;
|
|
443
542
|
contact_person: string | null;
|
|
444
543
|
created_at: string;
|
|
445
544
|
delivery_days: number | null;
|
|
545
|
+
delivery_weekdays: number[];
|
|
446
546
|
email: string | null;
|
|
447
547
|
id: string;
|
|
448
548
|
is_default: boolean;
|
|
@@ -450,9 +550,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
450
550
|
notes: string | null;
|
|
451
551
|
phone: string | null;
|
|
452
552
|
pickup_moments: import("./types").Json;
|
|
553
|
+
pickup_weekdays: number[];
|
|
554
|
+
service_cities: string[];
|
|
555
|
+
service_countries: string[];
|
|
556
|
+
service_provinces: string[];
|
|
453
557
|
signup_days_before_delivery: number;
|
|
454
558
|
signup_time_1: string | null;
|
|
455
559
|
signup_time_2: string | null;
|
|
560
|
+
sort_order: number;
|
|
456
561
|
updated_at: string;
|
|
457
562
|
user_id: string;
|
|
458
563
|
};
|
|
@@ -461,6 +566,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
461
566
|
contact_person?: string | null;
|
|
462
567
|
created_at?: string;
|
|
463
568
|
delivery_days?: number | null;
|
|
569
|
+
delivery_weekdays?: number[];
|
|
464
570
|
email?: string | null;
|
|
465
571
|
id?: string;
|
|
466
572
|
is_default?: boolean;
|
|
@@ -468,9 +574,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
468
574
|
notes?: string | null;
|
|
469
575
|
phone?: string | null;
|
|
470
576
|
pickup_moments?: import("./types").Json;
|
|
577
|
+
pickup_weekdays?: number[];
|
|
578
|
+
service_cities?: string[];
|
|
579
|
+
service_countries?: string[];
|
|
580
|
+
service_provinces?: string[];
|
|
471
581
|
signup_days_before_delivery?: number;
|
|
472
582
|
signup_time_1?: string | null;
|
|
473
583
|
signup_time_2?: string | null;
|
|
584
|
+
sort_order?: number;
|
|
474
585
|
updated_at?: string;
|
|
475
586
|
user_id: string;
|
|
476
587
|
};
|
|
@@ -479,6 +590,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
479
590
|
contact_person?: string | null;
|
|
480
591
|
created_at?: string;
|
|
481
592
|
delivery_days?: number | null;
|
|
593
|
+
delivery_weekdays?: number[];
|
|
482
594
|
email?: string | null;
|
|
483
595
|
id?: string;
|
|
484
596
|
is_default?: boolean;
|
|
@@ -486,14 +598,229 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
486
598
|
notes?: string | null;
|
|
487
599
|
phone?: string | null;
|
|
488
600
|
pickup_moments?: import("./types").Json;
|
|
601
|
+
pickup_weekdays?: number[];
|
|
602
|
+
service_cities?: string[];
|
|
603
|
+
service_countries?: string[];
|
|
604
|
+
service_provinces?: string[];
|
|
489
605
|
signup_days_before_delivery?: number;
|
|
490
606
|
signup_time_1?: string | null;
|
|
491
607
|
signup_time_2?: string | null;
|
|
608
|
+
sort_order?: number;
|
|
609
|
+
updated_at?: string;
|
|
610
|
+
user_id?: string;
|
|
611
|
+
};
|
|
612
|
+
Relationships: [];
|
|
613
|
+
};
|
|
614
|
+
cart_control_draft: {
|
|
615
|
+
Row: {
|
|
616
|
+
cart_states: import("./types").Json;
|
|
617
|
+
checked_keys: import("./types").Json;
|
|
618
|
+
draft_date: string;
|
|
619
|
+
form_state: import("./types").Json;
|
|
620
|
+
notes: string;
|
|
621
|
+
updated_at: string;
|
|
622
|
+
user_id: string;
|
|
623
|
+
};
|
|
624
|
+
Insert: {
|
|
625
|
+
cart_states?: import("./types").Json;
|
|
626
|
+
checked_keys?: import("./types").Json;
|
|
627
|
+
draft_date: string;
|
|
628
|
+
form_state?: import("./types").Json;
|
|
629
|
+
notes?: string;
|
|
630
|
+
updated_at?: string;
|
|
631
|
+
user_id: string;
|
|
632
|
+
};
|
|
633
|
+
Update: {
|
|
634
|
+
cart_states?: import("./types").Json;
|
|
635
|
+
checked_keys?: import("./types").Json;
|
|
636
|
+
draft_date?: string;
|
|
637
|
+
form_state?: import("./types").Json;
|
|
638
|
+
notes?: string;
|
|
639
|
+
updated_at?: string;
|
|
640
|
+
user_id?: string;
|
|
641
|
+
};
|
|
642
|
+
Relationships: [];
|
|
643
|
+
};
|
|
644
|
+
cart_control_items: {
|
|
645
|
+
Row: {
|
|
646
|
+
action: string;
|
|
647
|
+
block_reason: string | null;
|
|
648
|
+
carrier_name: string | null;
|
|
649
|
+
cart_index: number;
|
|
650
|
+
cart_number_id: string | null;
|
|
651
|
+
cart_number_label: string | null;
|
|
652
|
+
created_at: string;
|
|
653
|
+
customer_name: string | null;
|
|
654
|
+
delivery_date: string | null;
|
|
655
|
+
id: string;
|
|
656
|
+
new_pick_date: string | null;
|
|
657
|
+
order_id: string;
|
|
658
|
+
order_number: string | null;
|
|
659
|
+
order_source: string;
|
|
660
|
+
pickup_date: string | null;
|
|
661
|
+
session_id: string;
|
|
662
|
+
};
|
|
663
|
+
Insert: {
|
|
664
|
+
action: string;
|
|
665
|
+
block_reason?: string | null;
|
|
666
|
+
carrier_name?: string | null;
|
|
667
|
+
cart_index: number;
|
|
668
|
+
cart_number_id?: string | null;
|
|
669
|
+
cart_number_label?: string | null;
|
|
670
|
+
created_at?: string;
|
|
671
|
+
customer_name?: string | null;
|
|
672
|
+
delivery_date?: string | null;
|
|
673
|
+
id?: string;
|
|
674
|
+
new_pick_date?: string | null;
|
|
675
|
+
order_id: string;
|
|
676
|
+
order_number?: string | null;
|
|
677
|
+
order_source: string;
|
|
678
|
+
pickup_date?: string | null;
|
|
679
|
+
session_id: string;
|
|
680
|
+
};
|
|
681
|
+
Update: {
|
|
682
|
+
action?: string;
|
|
683
|
+
block_reason?: string | null;
|
|
684
|
+
carrier_name?: string | null;
|
|
685
|
+
cart_index?: number;
|
|
686
|
+
cart_number_id?: string | null;
|
|
687
|
+
cart_number_label?: string | null;
|
|
688
|
+
created_at?: string;
|
|
689
|
+
customer_name?: string | null;
|
|
690
|
+
delivery_date?: string | null;
|
|
691
|
+
id?: string;
|
|
692
|
+
new_pick_date?: string | null;
|
|
693
|
+
order_id?: string;
|
|
694
|
+
order_number?: string | null;
|
|
695
|
+
order_source?: string;
|
|
696
|
+
pickup_date?: string | null;
|
|
697
|
+
session_id?: string;
|
|
698
|
+
};
|
|
699
|
+
Relationships: [{
|
|
700
|
+
foreignKeyName: "cart_control_items_session_id_fkey";
|
|
701
|
+
columns: ["session_id"];
|
|
702
|
+
isOneToOne: false;
|
|
703
|
+
referencedRelation: "cart_control_sessions";
|
|
704
|
+
referencedColumns: ["id"];
|
|
705
|
+
}];
|
|
706
|
+
};
|
|
707
|
+
cart_control_sessions: {
|
|
708
|
+
Row: {
|
|
709
|
+
blocked_count: number;
|
|
710
|
+
checked_count: number;
|
|
711
|
+
control_date: string;
|
|
712
|
+
created_at: string;
|
|
713
|
+
id: string;
|
|
714
|
+
notes: string | null;
|
|
715
|
+
performed_at: string;
|
|
716
|
+
rescheduled_count: number;
|
|
717
|
+
total_carts: number;
|
|
718
|
+
updated_at: string;
|
|
719
|
+
user_id: string;
|
|
720
|
+
};
|
|
721
|
+
Insert: {
|
|
722
|
+
blocked_count?: number;
|
|
723
|
+
checked_count?: number;
|
|
724
|
+
control_date?: string;
|
|
725
|
+
created_at?: string;
|
|
726
|
+
id?: string;
|
|
727
|
+
notes?: string | null;
|
|
728
|
+
performed_at?: string;
|
|
729
|
+
rescheduled_count?: number;
|
|
730
|
+
total_carts?: number;
|
|
731
|
+
updated_at?: string;
|
|
732
|
+
user_id: string;
|
|
733
|
+
};
|
|
734
|
+
Update: {
|
|
735
|
+
blocked_count?: number;
|
|
736
|
+
checked_count?: number;
|
|
737
|
+
control_date?: string;
|
|
738
|
+
created_at?: string;
|
|
739
|
+
id?: string;
|
|
740
|
+
notes?: string | null;
|
|
741
|
+
performed_at?: string;
|
|
742
|
+
rescheduled_count?: number;
|
|
743
|
+
total_carts?: number;
|
|
492
744
|
updated_at?: string;
|
|
493
745
|
user_id?: string;
|
|
494
746
|
};
|
|
495
747
|
Relationships: [];
|
|
496
748
|
};
|
|
749
|
+
cart_numbers: {
|
|
750
|
+
Row: {
|
|
751
|
+
assigned_at: string;
|
|
752
|
+
cart_index: number;
|
|
753
|
+
cart_number: string;
|
|
754
|
+
day_seq: number;
|
|
755
|
+
id: string;
|
|
756
|
+
order_id: string;
|
|
757
|
+
order_source: string;
|
|
758
|
+
pick_date: string;
|
|
759
|
+
status: string;
|
|
760
|
+
};
|
|
761
|
+
Insert: {
|
|
762
|
+
assigned_at?: string;
|
|
763
|
+
cart_index: number;
|
|
764
|
+
cart_number: string;
|
|
765
|
+
day_seq: number;
|
|
766
|
+
id?: string;
|
|
767
|
+
order_id: string;
|
|
768
|
+
order_source: string;
|
|
769
|
+
pick_date: string;
|
|
770
|
+
status?: string;
|
|
771
|
+
};
|
|
772
|
+
Update: {
|
|
773
|
+
assigned_at?: string;
|
|
774
|
+
cart_index?: number;
|
|
775
|
+
cart_number?: string;
|
|
776
|
+
day_seq?: number;
|
|
777
|
+
id?: string;
|
|
778
|
+
order_id?: string;
|
|
779
|
+
order_source?: string;
|
|
780
|
+
pick_date?: string;
|
|
781
|
+
status?: string;
|
|
782
|
+
};
|
|
783
|
+
Relationships: [];
|
|
784
|
+
};
|
|
785
|
+
cart_pick_overrides: {
|
|
786
|
+
Row: {
|
|
787
|
+
cart_index: number;
|
|
788
|
+
created_at: string;
|
|
789
|
+
id: string;
|
|
790
|
+
moved_from_date: string | null;
|
|
791
|
+
notes: string | null;
|
|
792
|
+
order_id: string;
|
|
793
|
+
order_source: string;
|
|
794
|
+
pick_date: string;
|
|
795
|
+
status: string;
|
|
796
|
+
updated_at: string;
|
|
797
|
+
};
|
|
798
|
+
Insert: {
|
|
799
|
+
cart_index: number;
|
|
800
|
+
created_at?: string;
|
|
801
|
+
id?: string;
|
|
802
|
+
moved_from_date?: string | null;
|
|
803
|
+
notes?: string | null;
|
|
804
|
+
order_id: string;
|
|
805
|
+
order_source: string;
|
|
806
|
+
pick_date: string;
|
|
807
|
+
status?: string;
|
|
808
|
+
updated_at?: string;
|
|
809
|
+
};
|
|
810
|
+
Update: {
|
|
811
|
+
cart_index?: number;
|
|
812
|
+
created_at?: string;
|
|
813
|
+
id?: string;
|
|
814
|
+
moved_from_date?: string | null;
|
|
815
|
+
notes?: string | null;
|
|
816
|
+
order_id?: string;
|
|
817
|
+
order_source?: string;
|
|
818
|
+
pick_date?: string;
|
|
819
|
+
status?: string;
|
|
820
|
+
updated_at?: string;
|
|
821
|
+
};
|
|
822
|
+
Relationships: [];
|
|
823
|
+
};
|
|
497
824
|
collections: {
|
|
498
825
|
Row: {
|
|
499
826
|
created_at: string;
|
|
@@ -605,50 +932,74 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
605
932
|
customer_delivery_locations: {
|
|
606
933
|
Row: {
|
|
607
934
|
address_line: string | null;
|
|
935
|
+
carrier_assignment_source: string;
|
|
936
|
+
carrier_id: string | null;
|
|
608
937
|
city: string | null;
|
|
609
938
|
country: string | null;
|
|
610
939
|
created_at: string;
|
|
611
940
|
customer_id: string;
|
|
612
941
|
floriday_location_id: string | null;
|
|
613
942
|
gln: string | null;
|
|
943
|
+
house_number: string | null;
|
|
614
944
|
id: string;
|
|
615
945
|
is_primary: boolean;
|
|
616
946
|
name: string | null;
|
|
617
947
|
postal_code: string | null;
|
|
948
|
+
province: string | null;
|
|
618
949
|
raw: import("./types").Json | null;
|
|
950
|
+
self_pickup: boolean;
|
|
951
|
+
street: string | null;
|
|
619
952
|
updated_at: string;
|
|
620
953
|
};
|
|
621
954
|
Insert: {
|
|
622
955
|
address_line?: string | null;
|
|
956
|
+
carrier_assignment_source?: string;
|
|
957
|
+
carrier_id?: string | null;
|
|
623
958
|
city?: string | null;
|
|
624
959
|
country?: string | null;
|
|
625
960
|
created_at?: string;
|
|
626
961
|
customer_id: string;
|
|
627
962
|
floriday_location_id?: string | null;
|
|
628
963
|
gln?: string | null;
|
|
964
|
+
house_number?: string | null;
|
|
629
965
|
id?: string;
|
|
630
966
|
is_primary?: boolean;
|
|
631
967
|
name?: string | null;
|
|
632
968
|
postal_code?: string | null;
|
|
969
|
+
province?: string | null;
|
|
633
970
|
raw?: import("./types").Json | null;
|
|
971
|
+
self_pickup?: boolean;
|
|
972
|
+
street?: string | null;
|
|
634
973
|
updated_at?: string;
|
|
635
974
|
};
|
|
636
975
|
Update: {
|
|
637
976
|
address_line?: string | null;
|
|
977
|
+
carrier_assignment_source?: string;
|
|
978
|
+
carrier_id?: string | null;
|
|
638
979
|
city?: string | null;
|
|
639
980
|
country?: string | null;
|
|
640
981
|
created_at?: string;
|
|
641
982
|
customer_id?: string;
|
|
642
983
|
floriday_location_id?: string | null;
|
|
643
984
|
gln?: string | null;
|
|
985
|
+
house_number?: string | null;
|
|
644
986
|
id?: string;
|
|
645
987
|
is_primary?: boolean;
|
|
646
988
|
name?: string | null;
|
|
647
989
|
postal_code?: string | null;
|
|
990
|
+
province?: string | null;
|
|
648
991
|
raw?: import("./types").Json | null;
|
|
992
|
+
self_pickup?: boolean;
|
|
993
|
+
street?: string | null;
|
|
649
994
|
updated_at?: string;
|
|
650
995
|
};
|
|
651
996
|
Relationships: [{
|
|
997
|
+
foreignKeyName: "customer_delivery_locations_carrier_id_fkey";
|
|
998
|
+
columns: ["carrier_id"];
|
|
999
|
+
isOneToOne: false;
|
|
1000
|
+
referencedRelation: "carriers";
|
|
1001
|
+
referencedColumns: ["id"];
|
|
1002
|
+
}, {
|
|
652
1003
|
foreignKeyName: "customer_delivery_locations_customer_id_fkey";
|
|
653
1004
|
columns: ["customer_id"];
|
|
654
1005
|
isOneToOne: false;
|
|
@@ -1103,6 +1454,54 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1103
1454
|
referencedColumns: ["id"];
|
|
1104
1455
|
}];
|
|
1105
1456
|
};
|
|
1457
|
+
dashboard_critical_alerts: {
|
|
1458
|
+
Row: {
|
|
1459
|
+
alert_key: string;
|
|
1460
|
+
alert_type: string;
|
|
1461
|
+
created_at: string;
|
|
1462
|
+
description: string | null;
|
|
1463
|
+
id: string;
|
|
1464
|
+
metadata: import("./types").Json | null;
|
|
1465
|
+
priority: string;
|
|
1466
|
+
raised_at: string;
|
|
1467
|
+
related_cart_ids: string[] | null;
|
|
1468
|
+
resolved_at: string | null;
|
|
1469
|
+
title: string;
|
|
1470
|
+
updated_at: string;
|
|
1471
|
+
user_id: string;
|
|
1472
|
+
};
|
|
1473
|
+
Insert: {
|
|
1474
|
+
alert_key: string;
|
|
1475
|
+
alert_type: string;
|
|
1476
|
+
created_at?: string;
|
|
1477
|
+
description?: string | null;
|
|
1478
|
+
id?: string;
|
|
1479
|
+
metadata?: import("./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
|
+
Update: {
|
|
1489
|
+
alert_key?: string;
|
|
1490
|
+
alert_type?: string;
|
|
1491
|
+
created_at?: string;
|
|
1492
|
+
description?: string | null;
|
|
1493
|
+
id?: string;
|
|
1494
|
+
metadata?: import("./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
|
+
Relationships: [];
|
|
1504
|
+
};
|
|
1106
1505
|
dashboard_daily_reports: {
|
|
1107
1506
|
Row: {
|
|
1108
1507
|
created_at: string;
|
|
@@ -1453,18 +1852,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1453
1852
|
};
|
|
1454
1853
|
email_auth_purpose_settings: {
|
|
1455
1854
|
Row: {
|
|
1855
|
+
default_cc: string[];
|
|
1456
1856
|
purpose: string;
|
|
1457
1857
|
reply_to: string | null;
|
|
1458
1858
|
updated_at: string;
|
|
1459
1859
|
updated_by: string | null;
|
|
1460
1860
|
};
|
|
1461
1861
|
Insert: {
|
|
1862
|
+
default_cc?: string[];
|
|
1462
1863
|
purpose: string;
|
|
1463
1864
|
reply_to?: string | null;
|
|
1464
1865
|
updated_at?: string;
|
|
1465
1866
|
updated_by?: string | null;
|
|
1466
1867
|
};
|
|
1467
1868
|
Update: {
|
|
1869
|
+
default_cc?: string[];
|
|
1468
1870
|
purpose?: string;
|
|
1469
1871
|
reply_to?: string | null;
|
|
1470
1872
|
updated_at?: string;
|
|
@@ -2477,12 +2879,40 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2477
2879
|
};
|
|
2478
2880
|
Relationships: [];
|
|
2479
2881
|
};
|
|
2882
|
+
extra_pricing_types: {
|
|
2883
|
+
Row: {
|
|
2884
|
+
code: string;
|
|
2885
|
+
created_at: string;
|
|
2886
|
+
id: string;
|
|
2887
|
+
label: string;
|
|
2888
|
+
sort_order: number;
|
|
2889
|
+
updated_at: string;
|
|
2890
|
+
};
|
|
2891
|
+
Insert: {
|
|
2892
|
+
code: string;
|
|
2893
|
+
created_at?: string;
|
|
2894
|
+
id?: string;
|
|
2895
|
+
label: string;
|
|
2896
|
+
sort_order?: number;
|
|
2897
|
+
updated_at?: string;
|
|
2898
|
+
};
|
|
2899
|
+
Update: {
|
|
2900
|
+
code?: string;
|
|
2901
|
+
created_at?: string;
|
|
2902
|
+
id?: string;
|
|
2903
|
+
label?: string;
|
|
2904
|
+
sort_order?: number;
|
|
2905
|
+
updated_at?: string;
|
|
2906
|
+
};
|
|
2907
|
+
Relationships: [];
|
|
2908
|
+
};
|
|
2480
2909
|
extras: {
|
|
2481
2910
|
Row: {
|
|
2482
2911
|
category: string;
|
|
2483
2912
|
created_at: string;
|
|
2484
2913
|
exact_article_id: string | null;
|
|
2485
2914
|
id: string;
|
|
2915
|
+
image_url: string | null;
|
|
2486
2916
|
is_active: boolean;
|
|
2487
2917
|
name: string;
|
|
2488
2918
|
price: number;
|
|
@@ -2493,6 +2923,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2493
2923
|
created_at?: string;
|
|
2494
2924
|
exact_article_id?: string | null;
|
|
2495
2925
|
id?: string;
|
|
2926
|
+
image_url?: string | null;
|
|
2496
2927
|
is_active?: boolean;
|
|
2497
2928
|
name: string;
|
|
2498
2929
|
price?: number;
|
|
@@ -2503,6 +2934,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2503
2934
|
created_at?: string;
|
|
2504
2935
|
exact_article_id?: string | null;
|
|
2505
2936
|
id?: string;
|
|
2937
|
+
image_url?: string | null;
|
|
2506
2938
|
is_active?: boolean;
|
|
2507
2939
|
name?: string;
|
|
2508
2940
|
price?: number;
|
|
@@ -2572,6 +3004,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2572
3004
|
};
|
|
2573
3005
|
floricode_sync_state: {
|
|
2574
3006
|
Row: {
|
|
3007
|
+
cursor_skip: number;
|
|
2575
3008
|
error_message: string | null;
|
|
2576
3009
|
last_change_date_time: string | null;
|
|
2577
3010
|
last_sequence_number: number;
|
|
@@ -2581,6 +3014,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2581
3014
|
updated_at: string;
|
|
2582
3015
|
};
|
|
2583
3016
|
Insert: {
|
|
3017
|
+
cursor_skip?: number;
|
|
2584
3018
|
error_message?: string | null;
|
|
2585
3019
|
last_change_date_time?: string | null;
|
|
2586
3020
|
last_sequence_number?: number;
|
|
@@ -2590,6 +3024,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2590
3024
|
updated_at?: string;
|
|
2591
3025
|
};
|
|
2592
3026
|
Update: {
|
|
3027
|
+
cursor_skip?: number;
|
|
2593
3028
|
error_message?: string | null;
|
|
2594
3029
|
last_change_date_time?: string | null;
|
|
2595
3030
|
last_sequence_number?: number;
|
|
@@ -2600,230 +3035,1298 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2600
3035
|
};
|
|
2601
3036
|
Relationships: [];
|
|
2602
3037
|
};
|
|
2603
|
-
|
|
3038
|
+
floriday_additional_services_cache: {
|
|
2604
3039
|
Row: {
|
|
2605
|
-
connection_id: string
|
|
2606
|
-
created_at: string;
|
|
3040
|
+
connection_id: string;
|
|
2607
3041
|
data: import("./types").Json;
|
|
2608
3042
|
fetched_at: string;
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
organization_id: string;
|
|
3043
|
+
floriday_id: string;
|
|
3044
|
+
is_deleted: boolean;
|
|
3045
|
+
sequence_number: number;
|
|
2613
3046
|
updated_at: string;
|
|
2614
3047
|
};
|
|
2615
3048
|
Insert: {
|
|
2616
|
-
connection_id
|
|
2617
|
-
created_at?: string;
|
|
3049
|
+
connection_id: string;
|
|
2618
3050
|
data: import("./types").Json;
|
|
2619
3051
|
fetched_at?: string;
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
organization_id: string;
|
|
3052
|
+
floriday_id: string;
|
|
3053
|
+
is_deleted?: boolean;
|
|
3054
|
+
sequence_number?: number;
|
|
2624
3055
|
updated_at?: string;
|
|
2625
3056
|
};
|
|
2626
3057
|
Update: {
|
|
2627
|
-
connection_id?: string
|
|
2628
|
-
created_at?: string;
|
|
3058
|
+
connection_id?: string;
|
|
2629
3059
|
data?: import("./types").Json;
|
|
2630
3060
|
fetched_at?: string;
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
};
|
|
3061
|
+
floriday_id?: string;
|
|
3062
|
+
is_deleted?: boolean;
|
|
3063
|
+
sequence_number?: number;
|
|
3064
|
+
updated_at?: string;
|
|
3065
|
+
};
|
|
2637
3066
|
Relationships: [{
|
|
2638
|
-
foreignKeyName: "
|
|
3067
|
+
foreignKeyName: "floriday_additional_services_cache_connection_id_fkey";
|
|
2639
3068
|
columns: ["connection_id"];
|
|
2640
3069
|
isOneToOne: false;
|
|
2641
3070
|
referencedRelation: "floriday_connections";
|
|
2642
3071
|
referencedColumns: ["id"];
|
|
2643
3072
|
}];
|
|
2644
3073
|
};
|
|
2645
|
-
|
|
3074
|
+
floriday_agreement_calloffs_cache: {
|
|
2646
3075
|
Row: {
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
3076
|
+
agreement_id: string | null;
|
|
3077
|
+
connection_id: string;
|
|
3078
|
+
data: import("./types").Json;
|
|
3079
|
+
delivery_date: string | null;
|
|
3080
|
+
fetched_at: string;
|
|
3081
|
+
floriday_id: string;
|
|
3082
|
+
id: string;
|
|
3083
|
+
is_deleted: boolean;
|
|
3084
|
+
sequence_number: number;
|
|
3085
|
+
status: string | null;
|
|
3086
|
+
updated_at: string;
|
|
3087
|
+
};
|
|
3088
|
+
Insert: {
|
|
3089
|
+
agreement_id?: string | null;
|
|
3090
|
+
connection_id: string;
|
|
3091
|
+
data?: import("./types").Json;
|
|
3092
|
+
delivery_date?: string | null;
|
|
3093
|
+
fetched_at?: string;
|
|
3094
|
+
floriday_id: string;
|
|
3095
|
+
id?: string;
|
|
3096
|
+
is_deleted?: boolean;
|
|
3097
|
+
sequence_number?: number;
|
|
3098
|
+
status?: string | null;
|
|
3099
|
+
updated_at?: string;
|
|
3100
|
+
};
|
|
3101
|
+
Update: {
|
|
3102
|
+
agreement_id?: string | null;
|
|
3103
|
+
connection_id?: string;
|
|
3104
|
+
data?: import("./types").Json;
|
|
3105
|
+
delivery_date?: string | null;
|
|
3106
|
+
fetched_at?: string;
|
|
3107
|
+
floriday_id?: string;
|
|
3108
|
+
id?: string;
|
|
3109
|
+
is_deleted?: boolean;
|
|
3110
|
+
sequence_number?: number;
|
|
3111
|
+
status?: string | null;
|
|
3112
|
+
updated_at?: string;
|
|
3113
|
+
};
|
|
3114
|
+
Relationships: [{
|
|
3115
|
+
foreignKeyName: "floriday_agreement_calloffs_cache_connection_id_fkey";
|
|
3116
|
+
columns: ["connection_id"];
|
|
3117
|
+
isOneToOne: false;
|
|
3118
|
+
referencedRelation: "floriday_connections";
|
|
3119
|
+
referencedColumns: ["id"];
|
|
3120
|
+
}];
|
|
3121
|
+
};
|
|
3122
|
+
floriday_agreements_cache: {
|
|
3123
|
+
Row: {
|
|
3124
|
+
buyer_organization_id: string | null;
|
|
3125
|
+
connection_id: string;
|
|
3126
|
+
data: import("./types").Json;
|
|
3127
|
+
fetched_at: string;
|
|
3128
|
+
floriday_id: string;
|
|
3129
|
+
id: string;
|
|
3130
|
+
is_deleted: boolean;
|
|
3131
|
+
sequence_number: number;
|
|
3132
|
+
status: string | null;
|
|
3133
|
+
updated_at: string;
|
|
3134
|
+
valid_from: string | null;
|
|
3135
|
+
valid_until: string | null;
|
|
3136
|
+
};
|
|
3137
|
+
Insert: {
|
|
3138
|
+
buyer_organization_id?: string | null;
|
|
3139
|
+
connection_id: string;
|
|
3140
|
+
data?: import("./types").Json;
|
|
3141
|
+
fetched_at?: string;
|
|
3142
|
+
floriday_id: string;
|
|
3143
|
+
id?: string;
|
|
3144
|
+
is_deleted?: boolean;
|
|
3145
|
+
sequence_number?: number;
|
|
3146
|
+
status?: string | null;
|
|
3147
|
+
updated_at?: string;
|
|
3148
|
+
valid_from?: string | null;
|
|
3149
|
+
valid_until?: string | null;
|
|
3150
|
+
};
|
|
3151
|
+
Update: {
|
|
3152
|
+
buyer_organization_id?: string | null;
|
|
3153
|
+
connection_id?: string;
|
|
3154
|
+
data?: import("./types").Json;
|
|
3155
|
+
fetched_at?: string;
|
|
3156
|
+
floriday_id?: string;
|
|
3157
|
+
id?: string;
|
|
3158
|
+
is_deleted?: boolean;
|
|
3159
|
+
sequence_number?: number;
|
|
3160
|
+
status?: string | null;
|
|
3161
|
+
updated_at?: string;
|
|
3162
|
+
valid_from?: string | null;
|
|
3163
|
+
valid_until?: string | null;
|
|
3164
|
+
};
|
|
3165
|
+
Relationships: [{
|
|
3166
|
+
foreignKeyName: "floriday_agreements_cache_connection_id_fkey";
|
|
3167
|
+
columns: ["connection_id"];
|
|
3168
|
+
isOneToOne: false;
|
|
3169
|
+
referencedRelation: "floriday_connections";
|
|
3170
|
+
referencedColumns: ["id"];
|
|
3171
|
+
}];
|
|
3172
|
+
};
|
|
3173
|
+
floriday_auction_letters_cache: {
|
|
3174
|
+
Row: {
|
|
3175
|
+
auction_letter_code: string;
|
|
3176
|
+
clock_supply_id: string;
|
|
3177
|
+
connection_id: string;
|
|
3178
|
+
content_type: string;
|
|
3179
|
+
fetched_at: string;
|
|
3180
|
+
id: string;
|
|
3181
|
+
storage_path: string;
|
|
3182
|
+
};
|
|
3183
|
+
Insert: {
|
|
3184
|
+
auction_letter_code: string;
|
|
3185
|
+
clock_supply_id: string;
|
|
3186
|
+
connection_id: string;
|
|
3187
|
+
content_type?: string;
|
|
3188
|
+
fetched_at?: string;
|
|
3189
|
+
id?: string;
|
|
3190
|
+
storage_path: string;
|
|
3191
|
+
};
|
|
3192
|
+
Update: {
|
|
3193
|
+
auction_letter_code?: string;
|
|
3194
|
+
clock_supply_id?: string;
|
|
3195
|
+
connection_id?: string;
|
|
3196
|
+
content_type?: string;
|
|
3197
|
+
fetched_at?: string;
|
|
3198
|
+
id?: string;
|
|
3199
|
+
storage_path?: string;
|
|
3200
|
+
};
|
|
3201
|
+
Relationships: [{
|
|
3202
|
+
foreignKeyName: "floriday_auction_letters_cache_connection_id_fkey";
|
|
3203
|
+
columns: ["connection_id"];
|
|
3204
|
+
isOneToOne: false;
|
|
3205
|
+
referencedRelation: "floriday_connections";
|
|
3206
|
+
referencedColumns: ["id"];
|
|
3207
|
+
}];
|
|
3208
|
+
};
|
|
3209
|
+
floriday_base_items_cache: {
|
|
3210
|
+
Row: {
|
|
3211
|
+
connection_id: string;
|
|
3212
|
+
data: import("./types").Json;
|
|
3213
|
+
fetched_at: string;
|
|
3214
|
+
floriday_id: string;
|
|
3215
|
+
is_deleted: boolean;
|
|
3216
|
+
sequence_number: number;
|
|
3217
|
+
updated_at: string;
|
|
3218
|
+
};
|
|
3219
|
+
Insert: {
|
|
3220
|
+
connection_id: string;
|
|
3221
|
+
data: import("./types").Json;
|
|
3222
|
+
fetched_at?: string;
|
|
3223
|
+
floriday_id: string;
|
|
3224
|
+
is_deleted?: boolean;
|
|
3225
|
+
sequence_number?: number;
|
|
3226
|
+
updated_at?: string;
|
|
3227
|
+
};
|
|
3228
|
+
Update: {
|
|
3229
|
+
connection_id?: string;
|
|
3230
|
+
data?: import("./types").Json;
|
|
3231
|
+
fetched_at?: string;
|
|
3232
|
+
floriday_id?: string;
|
|
3233
|
+
is_deleted?: boolean;
|
|
3234
|
+
sequence_number?: number;
|
|
3235
|
+
updated_at?: string;
|
|
3236
|
+
};
|
|
3237
|
+
Relationships: [{
|
|
3238
|
+
foreignKeyName: "floriday_base_items_cache_connection_id_fkey";
|
|
3239
|
+
columns: ["connection_id"];
|
|
3240
|
+
isOneToOne: false;
|
|
3241
|
+
referencedRelation: "floriday_connections";
|
|
3242
|
+
referencedColumns: ["id"];
|
|
3243
|
+
}];
|
|
3244
|
+
};
|
|
3245
|
+
floriday_blanket_orders_cache: {
|
|
3246
|
+
Row: {
|
|
3247
|
+
connection_id: string;
|
|
3248
|
+
contract_id: string | null;
|
|
2651
3249
|
created_at: string;
|
|
2652
|
-
|
|
2653
|
-
|
|
3250
|
+
data: import("./types").Json;
|
|
3251
|
+
fetched_at: string;
|
|
3252
|
+
floriday_id: string;
|
|
3253
|
+
id: string;
|
|
3254
|
+
is_deleted: boolean;
|
|
3255
|
+
sequence_number: number;
|
|
3256
|
+
updated_at: string;
|
|
3257
|
+
};
|
|
3258
|
+
Insert: {
|
|
3259
|
+
connection_id: string;
|
|
3260
|
+
contract_id?: string | null;
|
|
3261
|
+
created_at?: string;
|
|
3262
|
+
data: import("./types").Json;
|
|
3263
|
+
fetched_at?: string;
|
|
3264
|
+
floriday_id: string;
|
|
3265
|
+
id?: string;
|
|
3266
|
+
is_deleted?: boolean;
|
|
3267
|
+
sequence_number?: number;
|
|
3268
|
+
updated_at?: string;
|
|
3269
|
+
};
|
|
3270
|
+
Update: {
|
|
3271
|
+
connection_id?: string;
|
|
3272
|
+
contract_id?: string | null;
|
|
3273
|
+
created_at?: string;
|
|
3274
|
+
data?: import("./types").Json;
|
|
3275
|
+
fetched_at?: string;
|
|
3276
|
+
floriday_id?: string;
|
|
3277
|
+
id?: string;
|
|
3278
|
+
is_deleted?: boolean;
|
|
3279
|
+
sequence_number?: number;
|
|
3280
|
+
updated_at?: string;
|
|
3281
|
+
};
|
|
3282
|
+
Relationships: [{
|
|
3283
|
+
foreignKeyName: "floriday_blanket_orders_cache_connection_id_fkey";
|
|
3284
|
+
columns: ["connection_id"];
|
|
3285
|
+
isOneToOne: false;
|
|
3286
|
+
referencedRelation: "floriday_connections";
|
|
3287
|
+
referencedColumns: ["id"];
|
|
3288
|
+
}];
|
|
3289
|
+
};
|
|
3290
|
+
floriday_carriers_cache: {
|
|
3291
|
+
Row: {
|
|
3292
|
+
connection_id: string | null;
|
|
3293
|
+
created_at: string;
|
|
3294
|
+
data: import("./types").Json;
|
|
3295
|
+
fetched_at: string;
|
|
2654
3296
|
gln_code: string | null;
|
|
2655
3297
|
id: string;
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
organization_name: string | null;
|
|
2659
|
-
preferred_warehouse_id: string | null;
|
|
2660
|
-
preferred_warehouse_name: string | null;
|
|
2661
|
-
token_expires_at: string | null;
|
|
3298
|
+
name: string | null;
|
|
3299
|
+
organization_id: string;
|
|
2662
3300
|
updated_at: string;
|
|
2663
3301
|
};
|
|
2664
3302
|
Insert: {
|
|
2665
|
-
|
|
2666
|
-
api_key: string;
|
|
2667
|
-
client_id: string;
|
|
2668
|
-
client_secret: string;
|
|
3303
|
+
connection_id?: string | null;
|
|
2669
3304
|
created_at?: string;
|
|
2670
|
-
|
|
2671
|
-
|
|
3305
|
+
data: import("./types").Json;
|
|
3306
|
+
fetched_at?: string;
|
|
2672
3307
|
gln_code?: string | null;
|
|
2673
3308
|
id?: string;
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
3309
|
+
name?: string | null;
|
|
3310
|
+
organization_id: string;
|
|
3311
|
+
updated_at?: string;
|
|
3312
|
+
};
|
|
3313
|
+
Update: {
|
|
3314
|
+
connection_id?: string | null;
|
|
3315
|
+
created_at?: string;
|
|
3316
|
+
data?: import("./types").Json;
|
|
3317
|
+
fetched_at?: string;
|
|
3318
|
+
gln_code?: string | null;
|
|
3319
|
+
id?: string;
|
|
3320
|
+
name?: string | null;
|
|
3321
|
+
organization_id?: string;
|
|
2680
3322
|
updated_at?: string;
|
|
2681
3323
|
};
|
|
3324
|
+
Relationships: [{
|
|
3325
|
+
foreignKeyName: "floriday_carriers_cache_connection_id_fkey";
|
|
3326
|
+
columns: ["connection_id"];
|
|
3327
|
+
isOneToOne: false;
|
|
3328
|
+
referencedRelation: "floriday_connections";
|
|
3329
|
+
referencedColumns: ["id"];
|
|
3330
|
+
}];
|
|
3331
|
+
};
|
|
3332
|
+
floriday_clock_presales_cache: {
|
|
3333
|
+
Row: {
|
|
3334
|
+
buyer_organization_id: string | null;
|
|
3335
|
+
clock_supply_id: string | null;
|
|
3336
|
+
connection_id: string;
|
|
3337
|
+
data: import("./types").Json;
|
|
3338
|
+
fetched_at: string;
|
|
3339
|
+
floriday_id: string;
|
|
3340
|
+
id: string;
|
|
3341
|
+
is_deleted: boolean;
|
|
3342
|
+
sequence_number: number;
|
|
3343
|
+
updated_at: string;
|
|
3344
|
+
};
|
|
3345
|
+
Insert: {
|
|
3346
|
+
buyer_organization_id?: string | null;
|
|
3347
|
+
clock_supply_id?: string | null;
|
|
3348
|
+
connection_id: string;
|
|
3349
|
+
data?: import("./types").Json;
|
|
3350
|
+
fetched_at?: string;
|
|
3351
|
+
floriday_id: string;
|
|
3352
|
+
id?: string;
|
|
3353
|
+
is_deleted?: boolean;
|
|
3354
|
+
sequence_number?: number;
|
|
3355
|
+
updated_at?: string;
|
|
3356
|
+
};
|
|
3357
|
+
Update: {
|
|
3358
|
+
buyer_organization_id?: string | null;
|
|
3359
|
+
clock_supply_id?: string | null;
|
|
3360
|
+
connection_id?: string;
|
|
3361
|
+
data?: import("./types").Json;
|
|
3362
|
+
fetched_at?: string;
|
|
3363
|
+
floriday_id?: string;
|
|
3364
|
+
id?: string;
|
|
3365
|
+
is_deleted?: boolean;
|
|
3366
|
+
sequence_number?: number;
|
|
3367
|
+
updated_at?: string;
|
|
3368
|
+
};
|
|
3369
|
+
Relationships: [{
|
|
3370
|
+
foreignKeyName: "floriday_clock_presales_cache_connection_id_fkey";
|
|
3371
|
+
columns: ["connection_id"];
|
|
3372
|
+
isOneToOne: false;
|
|
3373
|
+
referencedRelation: "floriday_connections";
|
|
3374
|
+
referencedColumns: ["id"];
|
|
3375
|
+
}];
|
|
3376
|
+
};
|
|
3377
|
+
floriday_clock_supplies_cache: {
|
|
3378
|
+
Row: {
|
|
3379
|
+
auction_date: string | null;
|
|
3380
|
+
connection_id: string;
|
|
3381
|
+
data: import("./types").Json;
|
|
3382
|
+
fetched_at: string;
|
|
3383
|
+
floriday_id: string;
|
|
3384
|
+
id: string;
|
|
3385
|
+
is_deleted: boolean;
|
|
3386
|
+
sequence_number: number;
|
|
3387
|
+
status: string | null;
|
|
3388
|
+
trade_item_id: string | null;
|
|
3389
|
+
updated_at: string;
|
|
3390
|
+
};
|
|
3391
|
+
Insert: {
|
|
3392
|
+
auction_date?: string | null;
|
|
3393
|
+
connection_id: string;
|
|
3394
|
+
data?: import("./types").Json;
|
|
3395
|
+
fetched_at?: string;
|
|
3396
|
+
floriday_id: string;
|
|
3397
|
+
id?: string;
|
|
3398
|
+
is_deleted?: boolean;
|
|
3399
|
+
sequence_number?: number;
|
|
3400
|
+
status?: string | null;
|
|
3401
|
+
trade_item_id?: string | null;
|
|
3402
|
+
updated_at?: string;
|
|
3403
|
+
};
|
|
3404
|
+
Update: {
|
|
3405
|
+
auction_date?: string | null;
|
|
3406
|
+
connection_id?: string;
|
|
3407
|
+
data?: import("./types").Json;
|
|
3408
|
+
fetched_at?: string;
|
|
3409
|
+
floriday_id?: string;
|
|
3410
|
+
id?: string;
|
|
3411
|
+
is_deleted?: boolean;
|
|
3412
|
+
sequence_number?: number;
|
|
3413
|
+
status?: string | null;
|
|
3414
|
+
trade_item_id?: string | null;
|
|
3415
|
+
updated_at?: string;
|
|
3416
|
+
};
|
|
3417
|
+
Relationships: [{
|
|
3418
|
+
foreignKeyName: "floriday_clock_supplies_cache_connection_id_fkey";
|
|
3419
|
+
columns: ["connection_id"];
|
|
3420
|
+
isOneToOne: false;
|
|
3421
|
+
referencedRelation: "floriday_connections";
|
|
3422
|
+
referencedColumns: ["id"];
|
|
3423
|
+
}];
|
|
3424
|
+
};
|
|
3425
|
+
floriday_code_lists_cache: {
|
|
3426
|
+
Row: {
|
|
3427
|
+
code: string;
|
|
3428
|
+
environment: string;
|
|
3429
|
+
label: string | null;
|
|
3430
|
+
list_name: string;
|
|
3431
|
+
payload: import("./types").Json | null;
|
|
3432
|
+
updated_at: string;
|
|
3433
|
+
};
|
|
3434
|
+
Insert: {
|
|
3435
|
+
code: string;
|
|
3436
|
+
environment: string;
|
|
3437
|
+
label?: string | null;
|
|
3438
|
+
list_name: string;
|
|
3439
|
+
payload?: import("./types").Json | null;
|
|
3440
|
+
updated_at?: string;
|
|
3441
|
+
};
|
|
3442
|
+
Update: {
|
|
3443
|
+
code?: string;
|
|
3444
|
+
environment?: string;
|
|
3445
|
+
label?: string | null;
|
|
3446
|
+
list_name?: string;
|
|
3447
|
+
payload?: import("./types").Json | null;
|
|
3448
|
+
updated_at?: string;
|
|
3449
|
+
};
|
|
3450
|
+
Relationships: [];
|
|
3451
|
+
};
|
|
3452
|
+
floriday_collections_cache: {
|
|
3453
|
+
Row: {
|
|
3454
|
+
connection_id: string;
|
|
3455
|
+
data: import("./types").Json;
|
|
3456
|
+
fetched_at: string;
|
|
3457
|
+
floriday_id: string;
|
|
3458
|
+
is_deleted: boolean;
|
|
3459
|
+
sequence_number: number;
|
|
3460
|
+
updated_at: string;
|
|
3461
|
+
};
|
|
3462
|
+
Insert: {
|
|
3463
|
+
connection_id: string;
|
|
3464
|
+
data: import("./types").Json;
|
|
3465
|
+
fetched_at?: string;
|
|
3466
|
+
floriday_id: string;
|
|
3467
|
+
is_deleted?: boolean;
|
|
3468
|
+
sequence_number?: number;
|
|
3469
|
+
updated_at?: string;
|
|
3470
|
+
};
|
|
3471
|
+
Update: {
|
|
3472
|
+
connection_id?: string;
|
|
3473
|
+
data?: import("./types").Json;
|
|
3474
|
+
fetched_at?: string;
|
|
3475
|
+
floriday_id?: string;
|
|
3476
|
+
is_deleted?: boolean;
|
|
3477
|
+
sequence_number?: number;
|
|
3478
|
+
updated_at?: string;
|
|
3479
|
+
};
|
|
3480
|
+
Relationships: [{
|
|
3481
|
+
foreignKeyName: "floriday_collections_cache_connection_id_fkey";
|
|
3482
|
+
columns: ["connection_id"];
|
|
3483
|
+
isOneToOne: false;
|
|
3484
|
+
referencedRelation: "floriday_connections";
|
|
3485
|
+
referencedColumns: ["id"];
|
|
3486
|
+
}];
|
|
3487
|
+
};
|
|
3488
|
+
floriday_commercial_service_types_cache: {
|
|
3489
|
+
Row: {
|
|
3490
|
+
connection_id: string;
|
|
3491
|
+
data: import("./types").Json;
|
|
3492
|
+
fetched_at: string;
|
|
3493
|
+
floriday_id: string;
|
|
3494
|
+
is_deleted: boolean;
|
|
3495
|
+
sequence_number: number;
|
|
3496
|
+
updated_at: string;
|
|
3497
|
+
};
|
|
3498
|
+
Insert: {
|
|
3499
|
+
connection_id: string;
|
|
3500
|
+
data: import("./types").Json;
|
|
3501
|
+
fetched_at?: string;
|
|
3502
|
+
floriday_id: string;
|
|
3503
|
+
is_deleted?: boolean;
|
|
3504
|
+
sequence_number?: number;
|
|
3505
|
+
updated_at?: string;
|
|
3506
|
+
};
|
|
3507
|
+
Update: {
|
|
3508
|
+
connection_id?: string;
|
|
3509
|
+
data?: import("./types").Json;
|
|
3510
|
+
fetched_at?: string;
|
|
3511
|
+
floriday_id?: string;
|
|
3512
|
+
is_deleted?: boolean;
|
|
3513
|
+
sequence_number?: number;
|
|
3514
|
+
updated_at?: string;
|
|
3515
|
+
};
|
|
3516
|
+
Relationships: [{
|
|
3517
|
+
foreignKeyName: "floriday_commercial_service_types_cache_connection_id_fkey";
|
|
3518
|
+
columns: ["connection_id"];
|
|
3519
|
+
isOneToOne: false;
|
|
3520
|
+
referencedRelation: "floriday_connections";
|
|
3521
|
+
referencedColumns: ["id"];
|
|
3522
|
+
}];
|
|
3523
|
+
};
|
|
3524
|
+
floriday_connections: {
|
|
3525
|
+
Row: {
|
|
3526
|
+
access_token: string | null;
|
|
3527
|
+
api_key: string;
|
|
3528
|
+
client_id: string;
|
|
3529
|
+
client_secret: string;
|
|
3530
|
+
created_at: string;
|
|
3531
|
+
customers_endpoint: string | null;
|
|
3532
|
+
environment: string;
|
|
3533
|
+
gln_code: string | null;
|
|
3534
|
+
id: string;
|
|
3535
|
+
is_active: boolean;
|
|
3536
|
+
label: string;
|
|
3537
|
+
organization_name: string | null;
|
|
3538
|
+
preferred_warehouse_id: string | null;
|
|
3539
|
+
preferred_warehouse_name: string | null;
|
|
3540
|
+
token_expires_at: string | null;
|
|
3541
|
+
updated_at: string;
|
|
3542
|
+
};
|
|
3543
|
+
Insert: {
|
|
3544
|
+
access_token?: string | null;
|
|
3545
|
+
api_key: string;
|
|
3546
|
+
client_id: string;
|
|
3547
|
+
client_secret: string;
|
|
3548
|
+
created_at?: string;
|
|
3549
|
+
customers_endpoint?: string | null;
|
|
3550
|
+
environment: string;
|
|
3551
|
+
gln_code?: string | null;
|
|
3552
|
+
id?: string;
|
|
3553
|
+
is_active?: boolean;
|
|
3554
|
+
label?: string;
|
|
3555
|
+
organization_name?: string | null;
|
|
3556
|
+
preferred_warehouse_id?: string | null;
|
|
3557
|
+
preferred_warehouse_name?: string | null;
|
|
3558
|
+
token_expires_at?: string | null;
|
|
3559
|
+
updated_at?: string;
|
|
3560
|
+
};
|
|
3561
|
+
Update: {
|
|
3562
|
+
access_token?: string | null;
|
|
3563
|
+
api_key?: string;
|
|
3564
|
+
client_id?: string;
|
|
3565
|
+
client_secret?: string;
|
|
3566
|
+
created_at?: string;
|
|
3567
|
+
customers_endpoint?: string | null;
|
|
3568
|
+
environment?: string;
|
|
3569
|
+
gln_code?: string | null;
|
|
3570
|
+
id?: string;
|
|
3571
|
+
is_active?: boolean;
|
|
3572
|
+
label?: string;
|
|
3573
|
+
organization_name?: string | null;
|
|
3574
|
+
preferred_warehouse_id?: string | null;
|
|
3575
|
+
preferred_warehouse_name?: string | null;
|
|
3576
|
+
token_expires_at?: string | null;
|
|
3577
|
+
updated_at?: string;
|
|
3578
|
+
};
|
|
3579
|
+
Relationships: [];
|
|
3580
|
+
};
|
|
3581
|
+
floriday_connections_cache: {
|
|
3582
|
+
Row: {
|
|
3583
|
+
buyer_organization_id: string | null;
|
|
3584
|
+
buyer_organization_name: string | null;
|
|
3585
|
+
connection_id: string;
|
|
3586
|
+
data: import("./types").Json;
|
|
3587
|
+
floriday_connection_id: string;
|
|
3588
|
+
is_deleted: boolean;
|
|
3589
|
+
sequence_number: number;
|
|
3590
|
+
status: string | null;
|
|
3591
|
+
synced_at: string;
|
|
3592
|
+
};
|
|
3593
|
+
Insert: {
|
|
3594
|
+
buyer_organization_id?: string | null;
|
|
3595
|
+
buyer_organization_name?: string | null;
|
|
3596
|
+
connection_id: string;
|
|
3597
|
+
data: import("./types").Json;
|
|
3598
|
+
floriday_connection_id: string;
|
|
3599
|
+
is_deleted?: boolean;
|
|
3600
|
+
sequence_number: number;
|
|
3601
|
+
status?: string | null;
|
|
3602
|
+
synced_at?: string;
|
|
3603
|
+
};
|
|
3604
|
+
Update: {
|
|
3605
|
+
buyer_organization_id?: string | null;
|
|
3606
|
+
buyer_organization_name?: string | null;
|
|
3607
|
+
connection_id?: string;
|
|
3608
|
+
data?: import("./types").Json;
|
|
3609
|
+
floriday_connection_id?: string;
|
|
3610
|
+
is_deleted?: boolean;
|
|
3611
|
+
sequence_number?: number;
|
|
3612
|
+
status?: string | null;
|
|
3613
|
+
synced_at?: string;
|
|
3614
|
+
};
|
|
3615
|
+
Relationships: [{
|
|
3616
|
+
foreignKeyName: "floriday_connections_cache_connection_id_fkey";
|
|
3617
|
+
columns: ["connection_id"];
|
|
3618
|
+
isOneToOne: false;
|
|
3619
|
+
referencedRelation: "floriday_connections";
|
|
3620
|
+
referencedColumns: ["id"];
|
|
3621
|
+
}];
|
|
3622
|
+
};
|
|
3623
|
+
floriday_contract_trade_item_groups_cache: {
|
|
3624
|
+
Row: {
|
|
3625
|
+
connection_id: string;
|
|
3626
|
+
data: import("./types").Json;
|
|
3627
|
+
fetched_at: string;
|
|
3628
|
+
floriday_id: string;
|
|
3629
|
+
is_deleted: boolean;
|
|
3630
|
+
sequence_number: number;
|
|
3631
|
+
updated_at: string;
|
|
3632
|
+
};
|
|
3633
|
+
Insert: {
|
|
3634
|
+
connection_id: string;
|
|
3635
|
+
data: import("./types").Json;
|
|
3636
|
+
fetched_at?: string;
|
|
3637
|
+
floriday_id: string;
|
|
3638
|
+
is_deleted?: boolean;
|
|
3639
|
+
sequence_number?: number;
|
|
3640
|
+
updated_at?: string;
|
|
3641
|
+
};
|
|
3642
|
+
Update: {
|
|
3643
|
+
connection_id?: string;
|
|
3644
|
+
data?: import("./types").Json;
|
|
3645
|
+
fetched_at?: string;
|
|
3646
|
+
floriday_id?: string;
|
|
3647
|
+
is_deleted?: boolean;
|
|
3648
|
+
sequence_number?: number;
|
|
3649
|
+
updated_at?: string;
|
|
3650
|
+
};
|
|
3651
|
+
Relationships: [{
|
|
3652
|
+
foreignKeyName: "floriday_contract_trade_item_groups_cache_connection_id_fkey";
|
|
3653
|
+
columns: ["connection_id"];
|
|
3654
|
+
isOneToOne: false;
|
|
3655
|
+
referencedRelation: "floriday_connections";
|
|
3656
|
+
referencedColumns: ["id"];
|
|
3657
|
+
}];
|
|
3658
|
+
};
|
|
3659
|
+
floriday_contracts_cache: {
|
|
3660
|
+
Row: {
|
|
3661
|
+
connection_id: string;
|
|
3662
|
+
created_at: string;
|
|
3663
|
+
data: import("./types").Json;
|
|
3664
|
+
fetched_at: string;
|
|
3665
|
+
floriday_id: string;
|
|
3666
|
+
id: string;
|
|
3667
|
+
is_deleted: boolean;
|
|
3668
|
+
sequence_number: number;
|
|
3669
|
+
updated_at: string;
|
|
3670
|
+
};
|
|
3671
|
+
Insert: {
|
|
3672
|
+
connection_id: string;
|
|
3673
|
+
created_at?: string;
|
|
3674
|
+
data: import("./types").Json;
|
|
3675
|
+
fetched_at?: string;
|
|
3676
|
+
floriday_id: string;
|
|
3677
|
+
id?: string;
|
|
3678
|
+
is_deleted?: boolean;
|
|
3679
|
+
sequence_number?: number;
|
|
3680
|
+
updated_at?: string;
|
|
3681
|
+
};
|
|
3682
|
+
Update: {
|
|
3683
|
+
connection_id?: string;
|
|
3684
|
+
created_at?: string;
|
|
3685
|
+
data?: import("./types").Json;
|
|
3686
|
+
fetched_at?: string;
|
|
3687
|
+
floriday_id?: string;
|
|
3688
|
+
id?: string;
|
|
3689
|
+
is_deleted?: boolean;
|
|
3690
|
+
sequence_number?: number;
|
|
3691
|
+
updated_at?: string;
|
|
3692
|
+
};
|
|
3693
|
+
Relationships: [{
|
|
3694
|
+
foreignKeyName: "floriday_contracts_cache_connection_id_fkey";
|
|
3695
|
+
columns: ["connection_id"];
|
|
3696
|
+
isOneToOne: false;
|
|
3697
|
+
referencedRelation: "floriday_connections";
|
|
3698
|
+
referencedColumns: ["id"];
|
|
3699
|
+
}];
|
|
3700
|
+
};
|
|
3701
|
+
floriday_customer_sticker_pdfs_cache: {
|
|
3702
|
+
Row: {
|
|
3703
|
+
byte_size: number | null;
|
|
3704
|
+
connection_id: string;
|
|
3705
|
+
content_type: string;
|
|
3706
|
+
created_at: string;
|
|
3707
|
+
fetched_at: string;
|
|
3708
|
+
id: string;
|
|
3709
|
+
sticker_id: string;
|
|
3710
|
+
storage_path: string;
|
|
3711
|
+
};
|
|
3712
|
+
Insert: {
|
|
3713
|
+
byte_size?: number | null;
|
|
3714
|
+
connection_id: string;
|
|
3715
|
+
content_type?: string;
|
|
3716
|
+
created_at?: string;
|
|
3717
|
+
fetched_at?: string;
|
|
3718
|
+
id?: string;
|
|
3719
|
+
sticker_id: string;
|
|
3720
|
+
storage_path: string;
|
|
3721
|
+
};
|
|
3722
|
+
Update: {
|
|
3723
|
+
byte_size?: number | null;
|
|
3724
|
+
connection_id?: string;
|
|
3725
|
+
content_type?: string;
|
|
3726
|
+
created_at?: string;
|
|
3727
|
+
fetched_at?: string;
|
|
3728
|
+
id?: string;
|
|
3729
|
+
sticker_id?: string;
|
|
3730
|
+
storage_path?: string;
|
|
3731
|
+
};
|
|
3732
|
+
Relationships: [{
|
|
3733
|
+
foreignKeyName: "floriday_customer_sticker_pdfs_cache_connection_id_fkey";
|
|
3734
|
+
columns: ["connection_id"];
|
|
3735
|
+
isOneToOne: false;
|
|
3736
|
+
referencedRelation: "floriday_connections";
|
|
3737
|
+
referencedColumns: ["id"];
|
|
3738
|
+
}];
|
|
3739
|
+
};
|
|
3740
|
+
floriday_customer_stickers_cache: {
|
|
3741
|
+
Row: {
|
|
3742
|
+
connection_id: string;
|
|
3743
|
+
created_at: string;
|
|
3744
|
+
data: import("./types").Json;
|
|
3745
|
+
fetched_at: string;
|
|
3746
|
+
floriday_id: string;
|
|
3747
|
+
id: string;
|
|
3748
|
+
is_deleted: boolean;
|
|
3749
|
+
quantity: number | null;
|
|
3750
|
+
sales_order_id: string | null;
|
|
3751
|
+
sequence_number: number;
|
|
3752
|
+
status: string | null;
|
|
3753
|
+
trade_item_id: string | null;
|
|
3754
|
+
updated_at: string;
|
|
3755
|
+
};
|
|
3756
|
+
Insert: {
|
|
3757
|
+
connection_id: string;
|
|
3758
|
+
created_at?: string;
|
|
3759
|
+
data?: import("./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
|
+
Update: {
|
|
3772
|
+
connection_id?: string;
|
|
3773
|
+
created_at?: string;
|
|
3774
|
+
data?: import("./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
|
+
Relationships: [{
|
|
3787
|
+
foreignKeyName: "floriday_customer_stickers_cache_connection_id_fkey";
|
|
3788
|
+
columns: ["connection_id"];
|
|
3789
|
+
isOneToOne: false;
|
|
3790
|
+
referencedRelation: "floriday_connections";
|
|
3791
|
+
referencedColumns: ["id"];
|
|
3792
|
+
}];
|
|
3793
|
+
};
|
|
3794
|
+
floriday_customers_cache: {
|
|
3795
|
+
Row: {
|
|
3796
|
+
connection_id: string | null;
|
|
3797
|
+
data: import("./types").Json;
|
|
3798
|
+
fetched_at: string;
|
|
3799
|
+
gln_code: string | null;
|
|
3800
|
+
is_deleted: boolean;
|
|
3801
|
+
name: string | null;
|
|
3802
|
+
organization_id: string;
|
|
3803
|
+
sequence_number: number | null;
|
|
3804
|
+
};
|
|
3805
|
+
Insert: {
|
|
3806
|
+
connection_id?: string | null;
|
|
3807
|
+
data?: import("./types").Json;
|
|
3808
|
+
fetched_at?: string;
|
|
3809
|
+
gln_code?: string | null;
|
|
3810
|
+
is_deleted?: boolean;
|
|
3811
|
+
name?: string | null;
|
|
3812
|
+
organization_id: string;
|
|
3813
|
+
sequence_number?: number | null;
|
|
3814
|
+
};
|
|
3815
|
+
Update: {
|
|
3816
|
+
connection_id?: string | null;
|
|
3817
|
+
data?: import("./types").Json;
|
|
3818
|
+
fetched_at?: string;
|
|
3819
|
+
gln_code?: string | null;
|
|
3820
|
+
is_deleted?: boolean;
|
|
3821
|
+
name?: string | null;
|
|
3822
|
+
organization_id?: string;
|
|
3823
|
+
sequence_number?: number | null;
|
|
3824
|
+
};
|
|
3825
|
+
Relationships: [{
|
|
3826
|
+
foreignKeyName: "floriday_customers_cache_connection_id_fkey";
|
|
3827
|
+
columns: ["connection_id"];
|
|
3828
|
+
isOneToOne: false;
|
|
3829
|
+
referencedRelation: "floriday_connections";
|
|
3830
|
+
referencedColumns: ["id"];
|
|
3831
|
+
}];
|
|
3832
|
+
};
|
|
3833
|
+
floriday_delivery_condition_sets_cache: {
|
|
3834
|
+
Row: {
|
|
3835
|
+
connection_id: string;
|
|
3836
|
+
data: import("./types").Json;
|
|
3837
|
+
fetched_at: string;
|
|
3838
|
+
floriday_id: string;
|
|
3839
|
+
is_deleted: boolean;
|
|
3840
|
+
sequence_number: number;
|
|
3841
|
+
updated_at: string;
|
|
3842
|
+
};
|
|
3843
|
+
Insert: {
|
|
3844
|
+
connection_id: string;
|
|
3845
|
+
data: import("./types").Json;
|
|
3846
|
+
fetched_at?: string;
|
|
3847
|
+
floriday_id: string;
|
|
3848
|
+
is_deleted?: boolean;
|
|
3849
|
+
sequence_number?: number;
|
|
3850
|
+
updated_at?: string;
|
|
3851
|
+
};
|
|
3852
|
+
Update: {
|
|
3853
|
+
connection_id?: string;
|
|
3854
|
+
data?: import("./types").Json;
|
|
3855
|
+
fetched_at?: string;
|
|
3856
|
+
floriday_id?: string;
|
|
3857
|
+
is_deleted?: boolean;
|
|
3858
|
+
sequence_number?: number;
|
|
3859
|
+
updated_at?: string;
|
|
3860
|
+
};
|
|
3861
|
+
Relationships: [{
|
|
3862
|
+
foreignKeyName: "floriday_delivery_condition_sets_cache_connection_id_fkey";
|
|
3863
|
+
columns: ["connection_id"];
|
|
3864
|
+
isOneToOne: false;
|
|
3865
|
+
referencedRelation: "floriday_connections";
|
|
3866
|
+
referencedColumns: ["id"];
|
|
3867
|
+
}];
|
|
3868
|
+
};
|
|
3869
|
+
floriday_delivery_locations_cache: {
|
|
3870
|
+
Row: {
|
|
3871
|
+
connection_id: string;
|
|
3872
|
+
data: import("./types").Json;
|
|
3873
|
+
fetched_at: string;
|
|
3874
|
+
floriday_id: string;
|
|
3875
|
+
gln_code: string | null;
|
|
3876
|
+
id: string;
|
|
3877
|
+
is_deleted: boolean;
|
|
3878
|
+
name: string | null;
|
|
3879
|
+
organization_id: string | null;
|
|
3880
|
+
updated_at: string;
|
|
3881
|
+
};
|
|
3882
|
+
Insert: {
|
|
3883
|
+
connection_id: string;
|
|
3884
|
+
data?: import("./types").Json;
|
|
3885
|
+
fetched_at?: string;
|
|
3886
|
+
floriday_id: string;
|
|
3887
|
+
gln_code?: string | null;
|
|
3888
|
+
id?: string;
|
|
3889
|
+
is_deleted?: boolean;
|
|
3890
|
+
name?: string | null;
|
|
3891
|
+
organization_id?: string | null;
|
|
3892
|
+
updated_at?: string;
|
|
3893
|
+
};
|
|
3894
|
+
Update: {
|
|
3895
|
+
connection_id?: string;
|
|
3896
|
+
data?: import("./types").Json;
|
|
3897
|
+
fetched_at?: string;
|
|
3898
|
+
floriday_id?: string;
|
|
3899
|
+
gln_code?: string | null;
|
|
3900
|
+
id?: string;
|
|
3901
|
+
is_deleted?: boolean;
|
|
3902
|
+
name?: string | null;
|
|
3903
|
+
organization_id?: string | null;
|
|
3904
|
+
updated_at?: string;
|
|
3905
|
+
};
|
|
3906
|
+
Relationships: [{
|
|
3907
|
+
foreignKeyName: "floriday_delivery_locations_cache_connection_id_fkey";
|
|
3908
|
+
columns: ["connection_id"];
|
|
3909
|
+
isOneToOne: false;
|
|
3910
|
+
referencedRelation: "floriday_connections";
|
|
3911
|
+
referencedColumns: ["id"];
|
|
3912
|
+
}];
|
|
3913
|
+
};
|
|
3914
|
+
floriday_delivery_orders_cache: {
|
|
3915
|
+
Row: {
|
|
3916
|
+
auction_date: string | null;
|
|
3917
|
+
connection_id: string;
|
|
3918
|
+
data: import("./types").Json;
|
|
3919
|
+
destination_warehouse_id: string | null;
|
|
3920
|
+
fetched_at: string;
|
|
3921
|
+
floriday_id: string;
|
|
3922
|
+
id: string;
|
|
3923
|
+
is_deleted: boolean;
|
|
3924
|
+
sequence_number: number;
|
|
3925
|
+
status: string | null;
|
|
3926
|
+
trade_item_id: string | null;
|
|
3927
|
+
updated_at: string;
|
|
3928
|
+
};
|
|
3929
|
+
Insert: {
|
|
3930
|
+
auction_date?: string | null;
|
|
3931
|
+
connection_id: string;
|
|
3932
|
+
data?: import("./types").Json;
|
|
3933
|
+
destination_warehouse_id?: string | null;
|
|
3934
|
+
fetched_at?: string;
|
|
3935
|
+
floriday_id: string;
|
|
3936
|
+
id?: string;
|
|
3937
|
+
is_deleted?: boolean;
|
|
3938
|
+
sequence_number?: number;
|
|
3939
|
+
status?: string | null;
|
|
3940
|
+
trade_item_id?: string | null;
|
|
3941
|
+
updated_at?: string;
|
|
3942
|
+
};
|
|
3943
|
+
Update: {
|
|
3944
|
+
auction_date?: string | null;
|
|
3945
|
+
connection_id?: string;
|
|
3946
|
+
data?: import("./types").Json;
|
|
3947
|
+
destination_warehouse_id?: string | null;
|
|
3948
|
+
fetched_at?: string;
|
|
3949
|
+
floriday_id?: string;
|
|
3950
|
+
id?: string;
|
|
3951
|
+
is_deleted?: boolean;
|
|
3952
|
+
sequence_number?: number;
|
|
3953
|
+
status?: string | null;
|
|
3954
|
+
trade_item_id?: string | null;
|
|
3955
|
+
updated_at?: string;
|
|
3956
|
+
};
|
|
3957
|
+
Relationships: [{
|
|
3958
|
+
foreignKeyName: "floriday_delivery_orders_cache_connection_id_fkey";
|
|
3959
|
+
columns: ["connection_id"];
|
|
3960
|
+
isOneToOne: false;
|
|
3961
|
+
referencedRelation: "floriday_connections";
|
|
3962
|
+
referencedColumns: ["id"];
|
|
3963
|
+
}];
|
|
3964
|
+
};
|
|
3965
|
+
floriday_fulfillment_orders_cache: {
|
|
3966
|
+
Row: {
|
|
3967
|
+
auction_date: string | null;
|
|
3968
|
+
connection_id: string;
|
|
3969
|
+
data: import("./types").Json;
|
|
3970
|
+
delivery_order_id: string | null;
|
|
3971
|
+
despatch_warehouse_id: string | null;
|
|
3972
|
+
destination_warehouse_id: string | null;
|
|
3973
|
+
fetched_at: string;
|
|
3974
|
+
floriday_id: string;
|
|
3975
|
+
id: string;
|
|
3976
|
+
is_deleted: boolean | null;
|
|
3977
|
+
latest_delivery_at: string | null;
|
|
3978
|
+
load_carrier_type: string | null;
|
|
3979
|
+
one_label_only: boolean | null;
|
|
3980
|
+
sequence_number: number;
|
|
3981
|
+
status: string | null;
|
|
3982
|
+
};
|
|
3983
|
+
Insert: {
|
|
3984
|
+
auction_date?: string | null;
|
|
3985
|
+
connection_id: string;
|
|
3986
|
+
data: import("./types").Json;
|
|
3987
|
+
delivery_order_id?: string | null;
|
|
3988
|
+
despatch_warehouse_id?: string | null;
|
|
3989
|
+
destination_warehouse_id?: string | null;
|
|
3990
|
+
fetched_at?: string;
|
|
3991
|
+
floriday_id: string;
|
|
3992
|
+
id?: string;
|
|
3993
|
+
is_deleted?: boolean | null;
|
|
3994
|
+
latest_delivery_at?: string | null;
|
|
3995
|
+
load_carrier_type?: string | null;
|
|
3996
|
+
one_label_only?: boolean | null;
|
|
3997
|
+
sequence_number?: number;
|
|
3998
|
+
status?: string | null;
|
|
3999
|
+
};
|
|
4000
|
+
Update: {
|
|
4001
|
+
auction_date?: string | null;
|
|
4002
|
+
connection_id?: string;
|
|
4003
|
+
data?: import("./types").Json;
|
|
4004
|
+
delivery_order_id?: string | null;
|
|
4005
|
+
despatch_warehouse_id?: string | null;
|
|
4006
|
+
destination_warehouse_id?: string | null;
|
|
4007
|
+
fetched_at?: string;
|
|
4008
|
+
floriday_id?: string;
|
|
4009
|
+
id?: string;
|
|
4010
|
+
is_deleted?: boolean | null;
|
|
4011
|
+
latest_delivery_at?: string | null;
|
|
4012
|
+
load_carrier_type?: string | null;
|
|
4013
|
+
one_label_only?: boolean | null;
|
|
4014
|
+
sequence_number?: number;
|
|
4015
|
+
status?: string | null;
|
|
4016
|
+
};
|
|
4017
|
+
Relationships: [{
|
|
4018
|
+
foreignKeyName: "floriday_fulfillment_orders_cache_connection_id_fkey";
|
|
4019
|
+
columns: ["connection_id"];
|
|
4020
|
+
isOneToOne: false;
|
|
4021
|
+
referencedRelation: "floriday_connections";
|
|
4022
|
+
referencedColumns: ["id"];
|
|
4023
|
+
}];
|
|
4024
|
+
};
|
|
4025
|
+
floriday_invoices_cache: {
|
|
4026
|
+
Row: {
|
|
4027
|
+
buyer_organization_id: string | null;
|
|
4028
|
+
connection_id: string;
|
|
4029
|
+
currency: string | null;
|
|
4030
|
+
data: import("./types").Json;
|
|
4031
|
+
fetched_at: string;
|
|
4032
|
+
floriday_id: string;
|
|
4033
|
+
id: string;
|
|
4034
|
+
invoice_date: string | null;
|
|
4035
|
+
invoice_number: string | null;
|
|
4036
|
+
is_deleted: boolean;
|
|
4037
|
+
sequence_number: number;
|
|
4038
|
+
total_amount: number | null;
|
|
4039
|
+
updated_at: string;
|
|
4040
|
+
};
|
|
4041
|
+
Insert: {
|
|
4042
|
+
buyer_organization_id?: string | null;
|
|
4043
|
+
connection_id: string;
|
|
4044
|
+
currency?: string | null;
|
|
4045
|
+
data?: import("./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
|
+
Update: {
|
|
4057
|
+
buyer_organization_id?: string | null;
|
|
4058
|
+
connection_id?: string;
|
|
4059
|
+
currency?: string | null;
|
|
4060
|
+
data?: import("./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
|
+
Relationships: [{
|
|
4072
|
+
foreignKeyName: "floriday_invoices_cache_connection_id_fkey";
|
|
4073
|
+
columns: ["connection_id"];
|
|
4074
|
+
isOneToOne: false;
|
|
4075
|
+
referencedRelation: "floriday_connections";
|
|
4076
|
+
referencedColumns: ["id"];
|
|
4077
|
+
}];
|
|
4078
|
+
};
|
|
4079
|
+
floriday_logistic_labels_cache: {
|
|
4080
|
+
Row: {
|
|
4081
|
+
byte_size: number | null;
|
|
4082
|
+
connection_id: string;
|
|
4083
|
+
content_type: string;
|
|
4084
|
+
fetched_at: string;
|
|
4085
|
+
fulfillment_order_id: string;
|
|
4086
|
+
id: string;
|
|
4087
|
+
logistic_label_code: string;
|
|
4088
|
+
storage_path: string;
|
|
4089
|
+
};
|
|
4090
|
+
Insert: {
|
|
4091
|
+
byte_size?: number | null;
|
|
4092
|
+
connection_id: string;
|
|
4093
|
+
content_type?: string;
|
|
4094
|
+
fetched_at?: string;
|
|
4095
|
+
fulfillment_order_id: string;
|
|
4096
|
+
id?: string;
|
|
4097
|
+
logistic_label_code: string;
|
|
4098
|
+
storage_path: string;
|
|
4099
|
+
};
|
|
4100
|
+
Update: {
|
|
4101
|
+
byte_size?: number | null;
|
|
4102
|
+
connection_id?: string;
|
|
4103
|
+
content_type?: string;
|
|
4104
|
+
fetched_at?: string;
|
|
4105
|
+
fulfillment_order_id?: string;
|
|
4106
|
+
id?: string;
|
|
4107
|
+
logistic_label_code?: string;
|
|
4108
|
+
storage_path?: string;
|
|
4109
|
+
};
|
|
4110
|
+
Relationships: [{
|
|
4111
|
+
foreignKeyName: "floriday_logistic_labels_cache_connection_id_fkey";
|
|
4112
|
+
columns: ["connection_id"];
|
|
4113
|
+
isOneToOne: false;
|
|
4114
|
+
referencedRelation: "floriday_connections";
|
|
4115
|
+
referencedColumns: ["id"];
|
|
4116
|
+
}];
|
|
4117
|
+
};
|
|
4118
|
+
floriday_network_cache: {
|
|
4119
|
+
Row: {
|
|
4120
|
+
city: string | null;
|
|
4121
|
+
connection_id: string;
|
|
4122
|
+
country: string | null;
|
|
4123
|
+
data: import("./types").Json;
|
|
4124
|
+
fetched_at: string;
|
|
4125
|
+
gln: string | null;
|
|
4126
|
+
organization_id: string;
|
|
4127
|
+
organization_name: string | null;
|
|
4128
|
+
};
|
|
4129
|
+
Insert: {
|
|
4130
|
+
city?: string | null;
|
|
4131
|
+
connection_id: string;
|
|
4132
|
+
country?: string | null;
|
|
4133
|
+
data?: import("./types").Json;
|
|
4134
|
+
fetched_at?: string;
|
|
4135
|
+
gln?: string | null;
|
|
4136
|
+
organization_id: string;
|
|
4137
|
+
organization_name?: string | null;
|
|
4138
|
+
};
|
|
4139
|
+
Update: {
|
|
4140
|
+
city?: string | null;
|
|
4141
|
+
connection_id?: string;
|
|
4142
|
+
country?: string | null;
|
|
4143
|
+
data?: import("./types").Json;
|
|
4144
|
+
fetched_at?: string;
|
|
4145
|
+
gln?: string | null;
|
|
4146
|
+
organization_id?: string;
|
|
4147
|
+
organization_name?: string | null;
|
|
4148
|
+
};
|
|
4149
|
+
Relationships: [];
|
|
4150
|
+
};
|
|
4151
|
+
floriday_network_sync_state: {
|
|
4152
|
+
Row: {
|
|
4153
|
+
connection_id: string;
|
|
4154
|
+
last_error: string | null;
|
|
4155
|
+
last_sequence_number: number;
|
|
4156
|
+
last_synced_at: string | null;
|
|
4157
|
+
updated_at: string;
|
|
4158
|
+
};
|
|
4159
|
+
Insert: {
|
|
4160
|
+
connection_id: string;
|
|
4161
|
+
last_error?: string | null;
|
|
4162
|
+
last_sequence_number?: number;
|
|
4163
|
+
last_synced_at?: string | null;
|
|
4164
|
+
updated_at?: string;
|
|
4165
|
+
};
|
|
4166
|
+
Update: {
|
|
4167
|
+
connection_id?: string;
|
|
4168
|
+
last_error?: string | null;
|
|
4169
|
+
last_sequence_number?: number;
|
|
4170
|
+
last_synced_at?: string | null;
|
|
4171
|
+
updated_at?: string;
|
|
4172
|
+
};
|
|
4173
|
+
Relationships: [];
|
|
4174
|
+
};
|
|
4175
|
+
floriday_order_number_map: {
|
|
4176
|
+
Row: {
|
|
4177
|
+
created_at: string;
|
|
4178
|
+
floriday_id: string;
|
|
4179
|
+
order_number: string;
|
|
4180
|
+
};
|
|
4181
|
+
Insert: {
|
|
4182
|
+
created_at?: string;
|
|
4183
|
+
floriday_id: string;
|
|
4184
|
+
order_number: string;
|
|
4185
|
+
};
|
|
2682
4186
|
Update: {
|
|
2683
|
-
access_token?: string | null;
|
|
2684
|
-
api_key?: string;
|
|
2685
|
-
client_id?: string;
|
|
2686
|
-
client_secret?: string;
|
|
2687
4187
|
created_at?: string;
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
gln_code?: string | null;
|
|
2691
|
-
id?: string;
|
|
2692
|
-
is_active?: boolean;
|
|
2693
|
-
label?: string;
|
|
2694
|
-
organization_name?: string | null;
|
|
2695
|
-
preferred_warehouse_id?: string | null;
|
|
2696
|
-
preferred_warehouse_name?: string | null;
|
|
2697
|
-
token_expires_at?: string | null;
|
|
2698
|
-
updated_at?: string;
|
|
4188
|
+
floriday_id?: string;
|
|
4189
|
+
order_number?: string;
|
|
2699
4190
|
};
|
|
2700
4191
|
Relationships: [];
|
|
2701
4192
|
};
|
|
2702
|
-
|
|
4193
|
+
floriday_packings_cache: {
|
|
2703
4194
|
Row: {
|
|
2704
|
-
buyer_organization_id: string | null;
|
|
2705
|
-
buyer_organization_name: string | null;
|
|
2706
4195
|
connection_id: string;
|
|
2707
4196
|
data: import("./types").Json;
|
|
2708
|
-
|
|
4197
|
+
fetched_at: string;
|
|
4198
|
+
floriday_id: string;
|
|
4199
|
+
id: string;
|
|
2709
4200
|
is_deleted: boolean;
|
|
2710
4201
|
sequence_number: number;
|
|
2711
|
-
|
|
2712
|
-
synced_at: string;
|
|
4202
|
+
updated_at: string;
|
|
2713
4203
|
};
|
|
2714
4204
|
Insert: {
|
|
2715
|
-
buyer_organization_id?: string | null;
|
|
2716
|
-
buyer_organization_name?: string | null;
|
|
2717
4205
|
connection_id: string;
|
|
2718
|
-
data
|
|
2719
|
-
|
|
4206
|
+
data?: import("./types").Json;
|
|
4207
|
+
fetched_at?: string;
|
|
4208
|
+
floriday_id: string;
|
|
4209
|
+
id?: string;
|
|
2720
4210
|
is_deleted?: boolean;
|
|
2721
|
-
sequence_number
|
|
2722
|
-
|
|
2723
|
-
synced_at?: string;
|
|
4211
|
+
sequence_number?: number;
|
|
4212
|
+
updated_at?: string;
|
|
2724
4213
|
};
|
|
2725
4214
|
Update: {
|
|
2726
|
-
buyer_organization_id?: string | null;
|
|
2727
|
-
buyer_organization_name?: string | null;
|
|
2728
4215
|
connection_id?: string;
|
|
2729
4216
|
data?: import("./types").Json;
|
|
2730
|
-
|
|
4217
|
+
fetched_at?: string;
|
|
4218
|
+
floriday_id?: string;
|
|
4219
|
+
id?: string;
|
|
2731
4220
|
is_deleted?: boolean;
|
|
2732
4221
|
sequence_number?: number;
|
|
2733
|
-
|
|
2734
|
-
synced_at?: string;
|
|
4222
|
+
updated_at?: string;
|
|
2735
4223
|
};
|
|
2736
4224
|
Relationships: [{
|
|
2737
|
-
foreignKeyName: "
|
|
4225
|
+
foreignKeyName: "floriday_packings_cache_connection_id_fkey";
|
|
2738
4226
|
columns: ["connection_id"];
|
|
2739
4227
|
isOneToOne: false;
|
|
2740
4228
|
referencedRelation: "floriday_connections";
|
|
2741
4229
|
referencedColumns: ["id"];
|
|
2742
4230
|
}];
|
|
2743
4231
|
};
|
|
2744
|
-
|
|
4232
|
+
floriday_price_groups_cache: {
|
|
2745
4233
|
Row: {
|
|
2746
|
-
connection_id: string
|
|
4234
|
+
connection_id: string;
|
|
2747
4235
|
data: import("./types").Json;
|
|
2748
4236
|
fetched_at: string;
|
|
2749
|
-
|
|
4237
|
+
floriday_id: string;
|
|
4238
|
+
is_deleted: boolean;
|
|
4239
|
+
sequence_number: number;
|
|
4240
|
+
updated_at: string;
|
|
2750
4241
|
};
|
|
2751
4242
|
Insert: {
|
|
2752
|
-
connection_id
|
|
2753
|
-
data
|
|
4243
|
+
connection_id: string;
|
|
4244
|
+
data: import("./types").Json;
|
|
2754
4245
|
fetched_at?: string;
|
|
2755
|
-
|
|
4246
|
+
floriday_id: string;
|
|
4247
|
+
is_deleted?: boolean;
|
|
4248
|
+
sequence_number?: number;
|
|
4249
|
+
updated_at?: string;
|
|
2756
4250
|
};
|
|
2757
4251
|
Update: {
|
|
2758
|
-
connection_id?: string
|
|
4252
|
+
connection_id?: string;
|
|
2759
4253
|
data?: import("./types").Json;
|
|
2760
4254
|
fetched_at?: string;
|
|
2761
|
-
|
|
4255
|
+
floriday_id?: string;
|
|
4256
|
+
is_deleted?: boolean;
|
|
4257
|
+
sequence_number?: number;
|
|
4258
|
+
updated_at?: string;
|
|
2762
4259
|
};
|
|
2763
4260
|
Relationships: [{
|
|
2764
|
-
foreignKeyName: "
|
|
4261
|
+
foreignKeyName: "floriday_price_groups_cache_connection_id_fkey";
|
|
2765
4262
|
columns: ["connection_id"];
|
|
2766
4263
|
isOneToOne: false;
|
|
2767
4264
|
referencedRelation: "floriday_connections";
|
|
2768
4265
|
referencedColumns: ["id"];
|
|
2769
4266
|
}];
|
|
2770
4267
|
};
|
|
2771
|
-
|
|
4268
|
+
floriday_resource_schemas: {
|
|
2772
4269
|
Row: {
|
|
2773
|
-
|
|
2774
|
-
connection_id: string;
|
|
2775
|
-
country: string | null;
|
|
2776
|
-
data: import("./types").Json;
|
|
4270
|
+
enums: import("./types").Json;
|
|
2777
4271
|
fetched_at: string;
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
4272
|
+
resource: string;
|
|
4273
|
+
schema: import("./types").Json;
|
|
4274
|
+
source_url: string | null;
|
|
4275
|
+
version: string;
|
|
2781
4276
|
};
|
|
2782
4277
|
Insert: {
|
|
2783
|
-
|
|
2784
|
-
connection_id: string;
|
|
2785
|
-
country?: string | null;
|
|
2786
|
-
data?: import("./types").Json;
|
|
4278
|
+
enums?: import("./types").Json;
|
|
2787
4279
|
fetched_at?: string;
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
4280
|
+
resource: string;
|
|
4281
|
+
schema: import("./types").Json;
|
|
4282
|
+
source_url?: string | null;
|
|
4283
|
+
version: string;
|
|
2791
4284
|
};
|
|
2792
4285
|
Update: {
|
|
2793
|
-
|
|
2794
|
-
connection_id?: string;
|
|
2795
|
-
country?: string | null;
|
|
2796
|
-
data?: import("./types").Json;
|
|
4286
|
+
enums?: import("./types").Json;
|
|
2797
4287
|
fetched_at?: string;
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
4288
|
+
resource?: string;
|
|
4289
|
+
schema?: import("./types").Json;
|
|
4290
|
+
source_url?: string | null;
|
|
4291
|
+
version?: string;
|
|
2801
4292
|
};
|
|
2802
4293
|
Relationships: [];
|
|
2803
4294
|
};
|
|
2804
|
-
|
|
4295
|
+
floriday_sales_strategies_cache: {
|
|
2805
4296
|
Row: {
|
|
2806
4297
|
connection_id: string;
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
4298
|
+
data: import("./types").Json;
|
|
4299
|
+
fetched_at: string;
|
|
4300
|
+
floriday_id: string;
|
|
4301
|
+
is_deleted: boolean;
|
|
4302
|
+
sequence_number: number;
|
|
2810
4303
|
updated_at: string;
|
|
2811
4304
|
};
|
|
2812
4305
|
Insert: {
|
|
2813
4306
|
connection_id: string;
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
4307
|
+
data: import("./types").Json;
|
|
4308
|
+
fetched_at?: string;
|
|
4309
|
+
floriday_id: string;
|
|
4310
|
+
is_deleted?: boolean;
|
|
4311
|
+
sequence_number?: number;
|
|
2817
4312
|
updated_at?: string;
|
|
2818
4313
|
};
|
|
2819
4314
|
Update: {
|
|
2820
4315
|
connection_id?: string;
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
4316
|
+
data?: import("./types").Json;
|
|
4317
|
+
fetched_at?: string;
|
|
4318
|
+
floriday_id?: string;
|
|
4319
|
+
is_deleted?: boolean;
|
|
4320
|
+
sequence_number?: number;
|
|
2824
4321
|
updated_at?: string;
|
|
2825
4322
|
};
|
|
2826
|
-
Relationships: [
|
|
4323
|
+
Relationships: [{
|
|
4324
|
+
foreignKeyName: "floriday_sales_strategies_cache_connection_id_fkey";
|
|
4325
|
+
columns: ["connection_id"];
|
|
4326
|
+
isOneToOne: false;
|
|
4327
|
+
referencedRelation: "floriday_connections";
|
|
4328
|
+
referencedColumns: ["id"];
|
|
4329
|
+
}];
|
|
2827
4330
|
};
|
|
2828
4331
|
floriday_salesorders_cache: {
|
|
2829
4332
|
Row: {
|
|
@@ -2890,7 +4393,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2890
4393
|
connection_id: string;
|
|
2891
4394
|
entity_type: string;
|
|
2892
4395
|
last_error: string | null;
|
|
4396
|
+
last_items_processed: number | null;
|
|
2893
4397
|
last_sequence_number: number;
|
|
4398
|
+
last_success_at: string | null;
|
|
2894
4399
|
last_synced_at: string | null;
|
|
2895
4400
|
updated_at: string;
|
|
2896
4401
|
};
|
|
@@ -2898,7 +4403,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2898
4403
|
connection_id: string;
|
|
2899
4404
|
entity_type: string;
|
|
2900
4405
|
last_error?: string | null;
|
|
4406
|
+
last_items_processed?: number | null;
|
|
2901
4407
|
last_sequence_number?: number;
|
|
4408
|
+
last_success_at?: string | null;
|
|
2902
4409
|
last_synced_at?: string | null;
|
|
2903
4410
|
updated_at?: string;
|
|
2904
4411
|
};
|
|
@@ -2906,7 +4413,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2906
4413
|
connection_id?: string;
|
|
2907
4414
|
entity_type?: string;
|
|
2908
4415
|
last_error?: string | null;
|
|
4416
|
+
last_items_processed?: number | null;
|
|
2909
4417
|
last_sequence_number?: number;
|
|
4418
|
+
last_success_at?: string | null;
|
|
2910
4419
|
last_synced_at?: string | null;
|
|
2911
4420
|
updated_at?: string;
|
|
2912
4421
|
};
|
|
@@ -2947,40 +4456,232 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2947
4456
|
ok?: boolean;
|
|
2948
4457
|
};
|
|
2949
4458
|
Relationships: [{
|
|
2950
|
-
foreignKeyName: "floriday_token_refresh_log_connection_id_fkey";
|
|
4459
|
+
foreignKeyName: "floriday_token_refresh_log_connection_id_fkey";
|
|
4460
|
+
columns: ["connection_id"];
|
|
4461
|
+
isOneToOne: false;
|
|
4462
|
+
referencedRelation: "floriday_connections";
|
|
4463
|
+
referencedColumns: ["id"];
|
|
4464
|
+
}];
|
|
4465
|
+
};
|
|
4466
|
+
floriday_trade_item_classifications_cache: {
|
|
4467
|
+
Row: {
|
|
4468
|
+
connection_id: string;
|
|
4469
|
+
data: import("./types").Json;
|
|
4470
|
+
fetched_at: string;
|
|
4471
|
+
floriday_id: string;
|
|
4472
|
+
id: string;
|
|
4473
|
+
is_deleted: boolean;
|
|
4474
|
+
sequence_number: number;
|
|
4475
|
+
updated_at: string;
|
|
4476
|
+
};
|
|
4477
|
+
Insert: {
|
|
4478
|
+
connection_id: string;
|
|
4479
|
+
data: import("./types").Json;
|
|
4480
|
+
fetched_at?: string;
|
|
4481
|
+
floriday_id: string;
|
|
4482
|
+
id?: string;
|
|
4483
|
+
is_deleted?: boolean;
|
|
4484
|
+
sequence_number?: number;
|
|
4485
|
+
updated_at?: string;
|
|
4486
|
+
};
|
|
4487
|
+
Update: {
|
|
4488
|
+
connection_id?: string;
|
|
4489
|
+
data?: import("./types").Json;
|
|
4490
|
+
fetched_at?: string;
|
|
4491
|
+
floriday_id?: string;
|
|
4492
|
+
id?: string;
|
|
4493
|
+
is_deleted?: boolean;
|
|
4494
|
+
sequence_number?: number;
|
|
4495
|
+
updated_at?: string;
|
|
4496
|
+
};
|
|
4497
|
+
Relationships: [{
|
|
4498
|
+
foreignKeyName: "floriday_trade_item_classifications_cache_connection_id_fkey";
|
|
4499
|
+
columns: ["connection_id"];
|
|
4500
|
+
isOneToOne: false;
|
|
4501
|
+
referencedRelation: "floriday_connections";
|
|
4502
|
+
referencedColumns: ["id"];
|
|
4503
|
+
}];
|
|
4504
|
+
};
|
|
4505
|
+
floriday_trade_items_cache: {
|
|
4506
|
+
Row: {
|
|
4507
|
+
connection_id: string;
|
|
4508
|
+
data: import("./types").Json;
|
|
4509
|
+
fetched_at: string;
|
|
4510
|
+
floriday_id: string;
|
|
4511
|
+
is_deleted: boolean;
|
|
4512
|
+
sequence_number: number;
|
|
4513
|
+
};
|
|
4514
|
+
Insert: {
|
|
4515
|
+
connection_id: string;
|
|
4516
|
+
data?: import("./types").Json;
|
|
4517
|
+
fetched_at?: string;
|
|
4518
|
+
floriday_id: string;
|
|
4519
|
+
is_deleted?: boolean;
|
|
4520
|
+
sequence_number?: number;
|
|
4521
|
+
};
|
|
4522
|
+
Update: {
|
|
4523
|
+
connection_id?: string;
|
|
4524
|
+
data?: import("./types").Json;
|
|
4525
|
+
fetched_at?: string;
|
|
4526
|
+
floriday_id?: string;
|
|
4527
|
+
is_deleted?: boolean;
|
|
4528
|
+
sequence_number?: number;
|
|
4529
|
+
};
|
|
4530
|
+
Relationships: [{
|
|
4531
|
+
foreignKeyName: "floriday_trade_items_cache_connection_id_fkey";
|
|
4532
|
+
columns: ["connection_id"];
|
|
4533
|
+
isOneToOne: false;
|
|
4534
|
+
referencedRelation: "floriday_connections";
|
|
4535
|
+
referencedColumns: ["id"];
|
|
4536
|
+
}];
|
|
4537
|
+
};
|
|
4538
|
+
floriday_trips_cache: {
|
|
4539
|
+
Row: {
|
|
4540
|
+
carrier_organization_id: string | null;
|
|
4541
|
+
connection_id: string;
|
|
4542
|
+
data: import("./types").Json;
|
|
4543
|
+
fetched_at: string;
|
|
4544
|
+
floriday_id: string;
|
|
4545
|
+
id: string;
|
|
4546
|
+
is_deleted: boolean;
|
|
4547
|
+
sequence_number: number;
|
|
4548
|
+
status: string | null;
|
|
4549
|
+
trip_date: string | null;
|
|
4550
|
+
updated_at: string;
|
|
4551
|
+
};
|
|
4552
|
+
Insert: {
|
|
4553
|
+
carrier_organization_id?: string | null;
|
|
4554
|
+
connection_id: string;
|
|
4555
|
+
data?: import("./types").Json;
|
|
4556
|
+
fetched_at?: string;
|
|
4557
|
+
floriday_id: string;
|
|
4558
|
+
id?: string;
|
|
4559
|
+
is_deleted?: boolean;
|
|
4560
|
+
sequence_number?: number;
|
|
4561
|
+
status?: string | null;
|
|
4562
|
+
trip_date?: string | null;
|
|
4563
|
+
updated_at?: string;
|
|
4564
|
+
};
|
|
4565
|
+
Update: {
|
|
4566
|
+
carrier_organization_id?: string | null;
|
|
4567
|
+
connection_id?: string;
|
|
4568
|
+
data?: import("./types").Json;
|
|
4569
|
+
fetched_at?: string;
|
|
4570
|
+
floriday_id?: string;
|
|
4571
|
+
id?: string;
|
|
4572
|
+
is_deleted?: boolean;
|
|
4573
|
+
sequence_number?: number;
|
|
4574
|
+
status?: string | null;
|
|
4575
|
+
trip_date?: string | null;
|
|
4576
|
+
updated_at?: string;
|
|
4577
|
+
};
|
|
4578
|
+
Relationships: [{
|
|
4579
|
+
foreignKeyName: "floriday_trips_cache_connection_id_fkey";
|
|
2951
4580
|
columns: ["connection_id"];
|
|
2952
4581
|
isOneToOne: false;
|
|
2953
4582
|
referencedRelation: "floriday_connections";
|
|
2954
4583
|
referencedColumns: ["id"];
|
|
2955
4584
|
}];
|
|
2956
4585
|
};
|
|
2957
|
-
|
|
4586
|
+
floriday_warehouses_cache: {
|
|
2958
4587
|
Row: {
|
|
2959
4588
|
connection_id: string;
|
|
2960
4589
|
data: import("./types").Json;
|
|
2961
4590
|
fetched_at: string;
|
|
2962
4591
|
floriday_id: string;
|
|
4592
|
+
gln_code: string | null;
|
|
4593
|
+
id: string;
|
|
4594
|
+
is_default: boolean;
|
|
2963
4595
|
is_deleted: boolean;
|
|
2964
|
-
|
|
4596
|
+
name: string | null;
|
|
4597
|
+
updated_at: string;
|
|
2965
4598
|
};
|
|
2966
4599
|
Insert: {
|
|
2967
4600
|
connection_id: string;
|
|
2968
4601
|
data?: import("./types").Json;
|
|
2969
4602
|
fetched_at?: string;
|
|
2970
4603
|
floriday_id: string;
|
|
4604
|
+
gln_code?: string | null;
|
|
4605
|
+
id?: string;
|
|
4606
|
+
is_default?: boolean;
|
|
2971
4607
|
is_deleted?: boolean;
|
|
2972
|
-
|
|
4608
|
+
name?: string | null;
|
|
4609
|
+
updated_at?: string;
|
|
2973
4610
|
};
|
|
2974
4611
|
Update: {
|
|
2975
4612
|
connection_id?: string;
|
|
2976
4613
|
data?: import("./types").Json;
|
|
2977
4614
|
fetched_at?: string;
|
|
2978
4615
|
floriday_id?: string;
|
|
4616
|
+
gln_code?: string | null;
|
|
4617
|
+
id?: string;
|
|
4618
|
+
is_default?: boolean;
|
|
2979
4619
|
is_deleted?: boolean;
|
|
2980
|
-
|
|
4620
|
+
name?: string | null;
|
|
4621
|
+
updated_at?: string;
|
|
2981
4622
|
};
|
|
2982
4623
|
Relationships: [{
|
|
2983
|
-
foreignKeyName: "
|
|
4624
|
+
foreignKeyName: "floriday_warehouses_cache_connection_id_fkey";
|
|
4625
|
+
columns: ["connection_id"];
|
|
4626
|
+
isOneToOne: false;
|
|
4627
|
+
referencedRelation: "floriday_connections";
|
|
4628
|
+
referencedColumns: ["id"];
|
|
4629
|
+
}];
|
|
4630
|
+
};
|
|
4631
|
+
floriday_write_log: {
|
|
4632
|
+
Row: {
|
|
4633
|
+
action: string;
|
|
4634
|
+
caller: string;
|
|
4635
|
+
connection_id: string | null;
|
|
4636
|
+
created_at: string;
|
|
4637
|
+
error: string | null;
|
|
4638
|
+
floriday_id: string | null;
|
|
4639
|
+
http_status: number | null;
|
|
4640
|
+
id: string;
|
|
4641
|
+
idempotency_key: string | null;
|
|
4642
|
+
module: string | null;
|
|
4643
|
+
ok: boolean;
|
|
4644
|
+
request: import("./types").Json | null;
|
|
4645
|
+
resource: string;
|
|
4646
|
+
response: import("./types").Json | null;
|
|
4647
|
+
user_id: string | null;
|
|
4648
|
+
};
|
|
4649
|
+
Insert: {
|
|
4650
|
+
action: string;
|
|
4651
|
+
caller?: string;
|
|
4652
|
+
connection_id?: string | null;
|
|
4653
|
+
created_at?: string;
|
|
4654
|
+
error?: string | null;
|
|
4655
|
+
floriday_id?: string | null;
|
|
4656
|
+
http_status?: number | null;
|
|
4657
|
+
id?: string;
|
|
4658
|
+
idempotency_key?: string | null;
|
|
4659
|
+
module?: string | null;
|
|
4660
|
+
ok: boolean;
|
|
4661
|
+
request?: import("./types").Json | null;
|
|
4662
|
+
resource: string;
|
|
4663
|
+
response?: import("./types").Json | null;
|
|
4664
|
+
user_id?: string | null;
|
|
4665
|
+
};
|
|
4666
|
+
Update: {
|
|
4667
|
+
action?: string;
|
|
4668
|
+
caller?: string;
|
|
4669
|
+
connection_id?: string | null;
|
|
4670
|
+
created_at?: string;
|
|
4671
|
+
error?: string | null;
|
|
4672
|
+
floriday_id?: string | null;
|
|
4673
|
+
http_status?: number | null;
|
|
4674
|
+
id?: string;
|
|
4675
|
+
idempotency_key?: string | null;
|
|
4676
|
+
module?: string | null;
|
|
4677
|
+
ok?: boolean;
|
|
4678
|
+
request?: import("./types").Json | null;
|
|
4679
|
+
resource?: string;
|
|
4680
|
+
response?: import("./types").Json | null;
|
|
4681
|
+
user_id?: string | null;
|
|
4682
|
+
};
|
|
4683
|
+
Relationships: [{
|
|
4684
|
+
foreignKeyName: "floriday_write_log_connection_id_fkey";
|
|
2984
4685
|
columns: ["connection_id"];
|
|
2985
4686
|
isOneToOne: false;
|
|
2986
4687
|
referencedRelation: "floriday_connections";
|
|
@@ -3336,6 +5037,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
3336
5037
|
Row: {
|
|
3337
5038
|
body_html: string | null;
|
|
3338
5039
|
body_text: string | null;
|
|
5040
|
+
connection_id: string | null;
|
|
3339
5041
|
created_at: string;
|
|
3340
5042
|
error_message: string | null;
|
|
3341
5043
|
external_id: string | null;
|
|
@@ -3354,6 +5056,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
3354
5056
|
Insert: {
|
|
3355
5057
|
body_html?: string | null;
|
|
3356
5058
|
body_text?: string | null;
|
|
5059
|
+
connection_id?: string | null;
|
|
3357
5060
|
created_at?: string;
|
|
3358
5061
|
error_message?: string | null;
|
|
3359
5062
|
external_id?: string | null;
|
|
@@ -3372,6 +5075,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
3372
5075
|
Update: {
|
|
3373
5076
|
body_html?: string | null;
|
|
3374
5077
|
body_text?: string | null;
|
|
5078
|
+
connection_id?: string | null;
|
|
3375
5079
|
created_at?: string;
|
|
3376
5080
|
error_message?: string | null;
|
|
3377
5081
|
external_id?: string | null;
|
|
@@ -3388,6 +5092,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
3388
5092
|
updated_at?: string;
|
|
3389
5093
|
};
|
|
3390
5094
|
Relationships: [{
|
|
5095
|
+
foreignKeyName: "mailbox_messages_connection_id_fkey";
|
|
5096
|
+
columns: ["connection_id"];
|
|
5097
|
+
isOneToOne: false;
|
|
5098
|
+
referencedRelation: "email_auth_connections";
|
|
5099
|
+
referencedColumns: ["id"];
|
|
5100
|
+
}, {
|
|
5101
|
+
foreignKeyName: "mailbox_messages_connection_id_fkey";
|
|
5102
|
+
columns: ["connection_id"];
|
|
5103
|
+
isOneToOne: false;
|
|
5104
|
+
referencedRelation: "email_auth_connections_safe";
|
|
5105
|
+
referencedColumns: ["id"];
|
|
5106
|
+
}, {
|
|
3391
5107
|
foreignKeyName: "mailbox_messages_profile_id_fkey";
|
|
3392
5108
|
columns: ["profile_id"];
|
|
3393
5109
|
isOneToOne: false;
|
|
@@ -3656,6 +5372,93 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
3656
5372
|
};
|
|
3657
5373
|
Relationships: [];
|
|
3658
5374
|
};
|
|
5375
|
+
manufacture_product_components: {
|
|
5376
|
+
Row: {
|
|
5377
|
+
component_type: string;
|
|
5378
|
+
created_at: string;
|
|
5379
|
+
id: string;
|
|
5380
|
+
manufacture_product_id: string;
|
|
5381
|
+
product_group_id: string | null;
|
|
5382
|
+
quantity: number;
|
|
5383
|
+
trade_item_id: string | null;
|
|
5384
|
+
unit: string;
|
|
5385
|
+
};
|
|
5386
|
+
Insert: {
|
|
5387
|
+
component_type: string;
|
|
5388
|
+
created_at?: string;
|
|
5389
|
+
id?: string;
|
|
5390
|
+
manufacture_product_id: string;
|
|
5391
|
+
product_group_id?: string | null;
|
|
5392
|
+
quantity?: number;
|
|
5393
|
+
trade_item_id?: string | null;
|
|
5394
|
+
unit?: string;
|
|
5395
|
+
};
|
|
5396
|
+
Update: {
|
|
5397
|
+
component_type?: string;
|
|
5398
|
+
created_at?: string;
|
|
5399
|
+
id?: string;
|
|
5400
|
+
manufacture_product_id?: string;
|
|
5401
|
+
product_group_id?: string | null;
|
|
5402
|
+
quantity?: number;
|
|
5403
|
+
trade_item_id?: string | null;
|
|
5404
|
+
unit?: string;
|
|
5405
|
+
};
|
|
5406
|
+
Relationships: [{
|
|
5407
|
+
foreignKeyName: "manufacture_product_components_manufacture_product_id_fkey";
|
|
5408
|
+
columns: ["manufacture_product_id"];
|
|
5409
|
+
isOneToOne: false;
|
|
5410
|
+
referencedRelation: "manufacture_product_possible_stock_view";
|
|
5411
|
+
referencedColumns: ["manufacture_product_id"];
|
|
5412
|
+
}, {
|
|
5413
|
+
foreignKeyName: "manufacture_product_components_manufacture_product_id_fkey";
|
|
5414
|
+
columns: ["manufacture_product_id"];
|
|
5415
|
+
isOneToOne: false;
|
|
5416
|
+
referencedRelation: "manufacture_products";
|
|
5417
|
+
referencedColumns: ["id"];
|
|
5418
|
+
}, {
|
|
5419
|
+
foreignKeyName: "manufacture_product_components_product_group_id_fkey";
|
|
5420
|
+
columns: ["product_group_id"];
|
|
5421
|
+
isOneToOne: false;
|
|
5422
|
+
referencedRelation: "product_groups";
|
|
5423
|
+
referencedColumns: ["id"];
|
|
5424
|
+
}];
|
|
5425
|
+
};
|
|
5426
|
+
manufacture_products: {
|
|
5427
|
+
Row: {
|
|
5428
|
+
created_at: string;
|
|
5429
|
+
description: string | null;
|
|
5430
|
+
id: string;
|
|
5431
|
+
is_active: boolean;
|
|
5432
|
+
name: string;
|
|
5433
|
+
produced_stock: number;
|
|
5434
|
+
product_code: string;
|
|
5435
|
+
tenant_id: string;
|
|
5436
|
+
updated_at: string;
|
|
5437
|
+
};
|
|
5438
|
+
Insert: {
|
|
5439
|
+
created_at?: string;
|
|
5440
|
+
description?: string | null;
|
|
5441
|
+
id?: string;
|
|
5442
|
+
is_active?: boolean;
|
|
5443
|
+
name: string;
|
|
5444
|
+
produced_stock?: number;
|
|
5445
|
+
product_code: string;
|
|
5446
|
+
tenant_id: string;
|
|
5447
|
+
updated_at?: string;
|
|
5448
|
+
};
|
|
5449
|
+
Update: {
|
|
5450
|
+
created_at?: string;
|
|
5451
|
+
description?: string | null;
|
|
5452
|
+
id?: string;
|
|
5453
|
+
is_active?: boolean;
|
|
5454
|
+
name?: string;
|
|
5455
|
+
produced_stock?: number;
|
|
5456
|
+
product_code?: string;
|
|
5457
|
+
tenant_id?: string;
|
|
5458
|
+
updated_at?: string;
|
|
5459
|
+
};
|
|
5460
|
+
Relationships: [];
|
|
5461
|
+
};
|
|
3659
5462
|
monteurs: {
|
|
3660
5463
|
Row: {
|
|
3661
5464
|
avatar_url: string | null;
|
|
@@ -3671,6 +5474,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
3671
5474
|
role: string;
|
|
3672
5475
|
tenant_id: string;
|
|
3673
5476
|
updated_at: string;
|
|
5477
|
+
user_id: string | null;
|
|
3674
5478
|
};
|
|
3675
5479
|
Insert: {
|
|
3676
5480
|
avatar_url?: string | null;
|
|
@@ -3686,6 +5490,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
3686
5490
|
role?: string;
|
|
3687
5491
|
tenant_id: string;
|
|
3688
5492
|
updated_at?: string;
|
|
5493
|
+
user_id?: string | null;
|
|
3689
5494
|
};
|
|
3690
5495
|
Update: {
|
|
3691
5496
|
avatar_url?: string | null;
|
|
@@ -3701,6 +5506,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
3701
5506
|
role?: string;
|
|
3702
5507
|
tenant_id?: string;
|
|
3703
5508
|
updated_at?: string;
|
|
5509
|
+
user_id?: string | null;
|
|
3704
5510
|
};
|
|
3705
5511
|
Relationships: [{
|
|
3706
5512
|
foreignKeyName: "monteurs_tenant_id_fkey";
|
|
@@ -3837,12 +5643,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
3837
5643
|
isOneToOne: false;
|
|
3838
5644
|
referencedRelation: "offer_campaigns";
|
|
3839
5645
|
referencedColumns: ["id"];
|
|
3840
|
-
}, {
|
|
3841
|
-
foreignKeyName: "offer_campaign_products_product_id_fkey";
|
|
3842
|
-
columns: ["product_id"];
|
|
3843
|
-
isOneToOne: false;
|
|
3844
|
-
referencedRelation: "products";
|
|
3845
|
-
referencedColumns: ["id"];
|
|
3846
5646
|
}];
|
|
3847
5647
|
};
|
|
3848
5648
|
offer_campaigns: {
|
|
@@ -4118,6 +5918,99 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
4118
5918
|
};
|
|
4119
5919
|
Relationships: [];
|
|
4120
5920
|
};
|
|
5921
|
+
order_cart_items: {
|
|
5922
|
+
Row: {
|
|
5923
|
+
cart_id: string;
|
|
5924
|
+
crates: number;
|
|
5925
|
+
crates_per_layer: number;
|
|
5926
|
+
created_at: string;
|
|
5927
|
+
id: string;
|
|
5928
|
+
order_item_id: string | null;
|
|
5929
|
+
plants_per_crate: number;
|
|
5930
|
+
product_id: string | null;
|
|
5931
|
+
product_name: string;
|
|
5932
|
+
};
|
|
5933
|
+
Insert: {
|
|
5934
|
+
cart_id: string;
|
|
5935
|
+
crates: number;
|
|
5936
|
+
crates_per_layer?: number;
|
|
5937
|
+
created_at?: string;
|
|
5938
|
+
id?: string;
|
|
5939
|
+
order_item_id?: string | null;
|
|
5940
|
+
plants_per_crate?: number;
|
|
5941
|
+
product_id?: string | null;
|
|
5942
|
+
product_name: string;
|
|
5943
|
+
};
|
|
5944
|
+
Update: {
|
|
5945
|
+
cart_id?: string;
|
|
5946
|
+
crates?: number;
|
|
5947
|
+
crates_per_layer?: number;
|
|
5948
|
+
created_at?: string;
|
|
5949
|
+
id?: string;
|
|
5950
|
+
order_item_id?: string | null;
|
|
5951
|
+
plants_per_crate?: number;
|
|
5952
|
+
product_id?: string | null;
|
|
5953
|
+
product_name?: string;
|
|
5954
|
+
};
|
|
5955
|
+
Relationships: [{
|
|
5956
|
+
foreignKeyName: "order_cart_items_cart_id_fkey";
|
|
5957
|
+
columns: ["cart_id"];
|
|
5958
|
+
isOneToOne: false;
|
|
5959
|
+
referencedRelation: "order_carts";
|
|
5960
|
+
referencedColumns: ["id"];
|
|
5961
|
+
}, {
|
|
5962
|
+
foreignKeyName: "order_cart_items_order_item_id_fkey";
|
|
5963
|
+
columns: ["order_item_id"];
|
|
5964
|
+
isOneToOne: false;
|
|
5965
|
+
referencedRelation: "order_items";
|
|
5966
|
+
referencedColumns: ["id"];
|
|
5967
|
+
}, {
|
|
5968
|
+
foreignKeyName: "order_cart_items_product_id_fkey";
|
|
5969
|
+
columns: ["product_id"];
|
|
5970
|
+
isOneToOne: false;
|
|
5971
|
+
referencedRelation: "products";
|
|
5972
|
+
referencedColumns: ["id"];
|
|
5973
|
+
}];
|
|
5974
|
+
};
|
|
5975
|
+
order_carts: {
|
|
5976
|
+
Row: {
|
|
5977
|
+
cart_number: number;
|
|
5978
|
+
created_at: string;
|
|
5979
|
+
id: string;
|
|
5980
|
+
is_auto: boolean;
|
|
5981
|
+
is_complete: boolean;
|
|
5982
|
+
notes: string | null;
|
|
5983
|
+
order_id: string;
|
|
5984
|
+
updated_at: string;
|
|
5985
|
+
};
|
|
5986
|
+
Insert: {
|
|
5987
|
+
cart_number: number;
|
|
5988
|
+
created_at?: string;
|
|
5989
|
+
id?: string;
|
|
5990
|
+
is_auto?: boolean;
|
|
5991
|
+
is_complete?: boolean;
|
|
5992
|
+
notes?: string | null;
|
|
5993
|
+
order_id: string;
|
|
5994
|
+
updated_at?: string;
|
|
5995
|
+
};
|
|
5996
|
+
Update: {
|
|
5997
|
+
cart_number?: number;
|
|
5998
|
+
created_at?: string;
|
|
5999
|
+
id?: string;
|
|
6000
|
+
is_auto?: boolean;
|
|
6001
|
+
is_complete?: boolean;
|
|
6002
|
+
notes?: string | null;
|
|
6003
|
+
order_id?: string;
|
|
6004
|
+
updated_at?: string;
|
|
6005
|
+
};
|
|
6006
|
+
Relationships: [{
|
|
6007
|
+
foreignKeyName: "order_carts_order_id_fkey";
|
|
6008
|
+
columns: ["order_id"];
|
|
6009
|
+
isOneToOne: false;
|
|
6010
|
+
referencedRelation: "orders";
|
|
6011
|
+
referencedColumns: ["id"];
|
|
6012
|
+
}];
|
|
6013
|
+
};
|
|
4121
6014
|
order_field_options: {
|
|
4122
6015
|
Row: {
|
|
4123
6016
|
created_at: string;
|
|
@@ -4229,6 +6122,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
4229
6122
|
referencedColumns: ["id"];
|
|
4230
6123
|
}];
|
|
4231
6124
|
};
|
|
6125
|
+
order_number_counters: {
|
|
6126
|
+
Row: {
|
|
6127
|
+
last_value: number;
|
|
6128
|
+
updated_at: string;
|
|
6129
|
+
year: number;
|
|
6130
|
+
};
|
|
6131
|
+
Insert: {
|
|
6132
|
+
last_value?: number;
|
|
6133
|
+
updated_at?: string;
|
|
6134
|
+
year: number;
|
|
6135
|
+
};
|
|
6136
|
+
Update: {
|
|
6137
|
+
last_value?: number;
|
|
6138
|
+
updated_at?: string;
|
|
6139
|
+
year?: number;
|
|
6140
|
+
};
|
|
6141
|
+
Relationships: [];
|
|
6142
|
+
};
|
|
4232
6143
|
orders: {
|
|
4233
6144
|
Row: {
|
|
4234
6145
|
created_at: string;
|
|
@@ -4241,6 +6152,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
4241
6152
|
notes: string | null;
|
|
4242
6153
|
order_date: string;
|
|
4243
6154
|
order_number: string;
|
|
6155
|
+
order_source: string;
|
|
4244
6156
|
status: string;
|
|
4245
6157
|
total: string;
|
|
4246
6158
|
updated_at: string;
|
|
@@ -4256,6 +6168,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
4256
6168
|
notes?: string | null;
|
|
4257
6169
|
order_date?: string;
|
|
4258
6170
|
order_number: string;
|
|
6171
|
+
order_source?: string;
|
|
4259
6172
|
status?: string;
|
|
4260
6173
|
total?: string;
|
|
4261
6174
|
updated_at?: string;
|
|
@@ -4271,6 +6184,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
4271
6184
|
notes?: string | null;
|
|
4272
6185
|
order_date?: string;
|
|
4273
6186
|
order_number?: string;
|
|
6187
|
+
order_source?: string;
|
|
4274
6188
|
status?: string;
|
|
4275
6189
|
total?: string;
|
|
4276
6190
|
updated_at?: string;
|
|
@@ -4493,14 +6407,74 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
4493
6407
|
updated_at?: string;
|
|
4494
6408
|
};
|
|
4495
6409
|
Update: {
|
|
4496
|
-
active_per_category?: import("./types").Json;
|
|
6410
|
+
active_per_category?: import("./types").Json;
|
|
6411
|
+
created_at?: string;
|
|
6412
|
+
field_key?: string;
|
|
6413
|
+
field_label?: string;
|
|
6414
|
+
field_type?: string;
|
|
6415
|
+
id?: string;
|
|
6416
|
+
is_custom?: boolean;
|
|
6417
|
+
sort_order?: number;
|
|
6418
|
+
updated_at?: string;
|
|
6419
|
+
};
|
|
6420
|
+
Relationships: [];
|
|
6421
|
+
};
|
|
6422
|
+
product_group_items: {
|
|
6423
|
+
Row: {
|
|
6424
|
+
created_at: string;
|
|
6425
|
+
id: string;
|
|
6426
|
+
product_group_id: string;
|
|
6427
|
+
quantity: number;
|
|
6428
|
+
trade_item_id: string;
|
|
6429
|
+
};
|
|
6430
|
+
Insert: {
|
|
6431
|
+
created_at?: string;
|
|
6432
|
+
id?: string;
|
|
6433
|
+
product_group_id: string;
|
|
6434
|
+
quantity?: number;
|
|
6435
|
+
trade_item_id: string;
|
|
6436
|
+
};
|
|
6437
|
+
Update: {
|
|
6438
|
+
created_at?: string;
|
|
6439
|
+
id?: string;
|
|
6440
|
+
product_group_id?: string;
|
|
6441
|
+
quantity?: number;
|
|
6442
|
+
trade_item_id?: string;
|
|
6443
|
+
};
|
|
6444
|
+
Relationships: [{
|
|
6445
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
6446
|
+
columns: ["product_group_id"];
|
|
6447
|
+
isOneToOne: false;
|
|
6448
|
+
referencedRelation: "product_groups";
|
|
6449
|
+
referencedColumns: ["id"];
|
|
6450
|
+
}];
|
|
6451
|
+
};
|
|
6452
|
+
product_groups: {
|
|
6453
|
+
Row: {
|
|
6454
|
+
created_at: string;
|
|
6455
|
+
description: string | null;
|
|
6456
|
+
id: string;
|
|
6457
|
+
is_active: boolean;
|
|
6458
|
+
name: string;
|
|
6459
|
+
tenant_id: string;
|
|
6460
|
+
updated_at: string;
|
|
6461
|
+
};
|
|
6462
|
+
Insert: {
|
|
6463
|
+
created_at?: string;
|
|
6464
|
+
description?: string | null;
|
|
6465
|
+
id?: string;
|
|
6466
|
+
is_active?: boolean;
|
|
6467
|
+
name: string;
|
|
6468
|
+
tenant_id: string;
|
|
6469
|
+
updated_at?: string;
|
|
6470
|
+
};
|
|
6471
|
+
Update: {
|
|
4497
6472
|
created_at?: string;
|
|
4498
|
-
|
|
4499
|
-
field_label?: string;
|
|
4500
|
-
field_type?: string;
|
|
6473
|
+
description?: string | null;
|
|
4501
6474
|
id?: string;
|
|
4502
|
-
|
|
4503
|
-
|
|
6475
|
+
is_active?: boolean;
|
|
6476
|
+
name?: string;
|
|
6477
|
+
tenant_id?: string;
|
|
4504
6478
|
updated_at?: string;
|
|
4505
6479
|
};
|
|
4506
6480
|
Relationships: [];
|
|
@@ -4509,13 +6483,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
4509
6483
|
Row: {
|
|
4510
6484
|
barcode: string | null;
|
|
4511
6485
|
batch: string;
|
|
6486
|
+
crates_per_layer: number;
|
|
4512
6487
|
created_at: string;
|
|
4513
6488
|
custom_fields: import("./types").Json;
|
|
4514
6489
|
id: string;
|
|
4515
6490
|
image_url: string | null;
|
|
4516
6491
|
incoming_quantity: number;
|
|
6492
|
+
layers_per_cart: number;
|
|
4517
6493
|
location: string;
|
|
4518
6494
|
min_quantity: number;
|
|
6495
|
+
plants_per_crate: number;
|
|
4519
6496
|
product: string;
|
|
4520
6497
|
product_type: string;
|
|
4521
6498
|
purchase_price: number | null;
|
|
@@ -4528,13 +6505,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
4528
6505
|
Insert: {
|
|
4529
6506
|
barcode?: string | null;
|
|
4530
6507
|
batch: string;
|
|
6508
|
+
crates_per_layer?: number;
|
|
4531
6509
|
created_at?: string;
|
|
4532
6510
|
custom_fields?: import("./types").Json;
|
|
4533
6511
|
id?: string;
|
|
4534
6512
|
image_url?: string | null;
|
|
4535
6513
|
incoming_quantity?: number;
|
|
6514
|
+
layers_per_cart?: number;
|
|
4536
6515
|
location: string;
|
|
4537
6516
|
min_quantity?: number;
|
|
6517
|
+
plants_per_crate?: number;
|
|
4538
6518
|
product: string;
|
|
4539
6519
|
product_type?: string;
|
|
4540
6520
|
purchase_price?: number | null;
|
|
@@ -4547,13 +6527,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
4547
6527
|
Update: {
|
|
4548
6528
|
barcode?: string | null;
|
|
4549
6529
|
batch?: string;
|
|
6530
|
+
crates_per_layer?: number;
|
|
4550
6531
|
created_at?: string;
|
|
4551
6532
|
custom_fields?: import("./types").Json;
|
|
4552
6533
|
id?: string;
|
|
4553
6534
|
image_url?: string | null;
|
|
4554
6535
|
incoming_quantity?: number;
|
|
6536
|
+
layers_per_cart?: number;
|
|
4555
6537
|
location?: string;
|
|
4556
6538
|
min_quantity?: number;
|
|
6539
|
+
plants_per_crate?: number;
|
|
4557
6540
|
product?: string;
|
|
4558
6541
|
product_type?: string;
|
|
4559
6542
|
purchase_price?: number | null;
|
|
@@ -5495,12 +7478,153 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
5495
7478
|
};
|
|
5496
7479
|
Relationships: [];
|
|
5497
7480
|
};
|
|
7481
|
+
time_entries: {
|
|
7482
|
+
Row: {
|
|
7483
|
+
created_at: string;
|
|
7484
|
+
employee_id: string;
|
|
7485
|
+
entry_date: string;
|
|
7486
|
+
hours: number;
|
|
7487
|
+
id: string;
|
|
7488
|
+
notes: string | null;
|
|
7489
|
+
overtime: number;
|
|
7490
|
+
undertime: number;
|
|
7491
|
+
updated_at: string;
|
|
7492
|
+
};
|
|
7493
|
+
Insert: {
|
|
7494
|
+
created_at?: string;
|
|
7495
|
+
employee_id: string;
|
|
7496
|
+
entry_date: string;
|
|
7497
|
+
hours?: number;
|
|
7498
|
+
id?: string;
|
|
7499
|
+
notes?: string | null;
|
|
7500
|
+
overtime?: number;
|
|
7501
|
+
undertime?: number;
|
|
7502
|
+
updated_at?: string;
|
|
7503
|
+
};
|
|
7504
|
+
Update: {
|
|
7505
|
+
created_at?: string;
|
|
7506
|
+
employee_id?: string;
|
|
7507
|
+
entry_date?: string;
|
|
7508
|
+
hours?: number;
|
|
7509
|
+
id?: string;
|
|
7510
|
+
notes?: string | null;
|
|
7511
|
+
overtime?: number;
|
|
7512
|
+
undertime?: number;
|
|
7513
|
+
updated_at?: string;
|
|
7514
|
+
};
|
|
7515
|
+
Relationships: [{
|
|
7516
|
+
foreignKeyName: "time_entries_employee_id_fkey";
|
|
7517
|
+
columns: ["employee_id"];
|
|
7518
|
+
isOneToOne: false;
|
|
7519
|
+
referencedRelation: "monteurs";
|
|
7520
|
+
referencedColumns: ["id"];
|
|
7521
|
+
}];
|
|
7522
|
+
};
|
|
7523
|
+
time_logs: {
|
|
7524
|
+
Row: {
|
|
7525
|
+
created_at: string;
|
|
7526
|
+
employee_id: string;
|
|
7527
|
+
end_time: string | null;
|
|
7528
|
+
id: string;
|
|
7529
|
+
notes: string | null;
|
|
7530
|
+
overtime_hours: number;
|
|
7531
|
+
overtime_type: string | null;
|
|
7532
|
+
regular_hours: number;
|
|
7533
|
+
start_time: string;
|
|
7534
|
+
travel_cost: number | null;
|
|
7535
|
+
travel_distance_km: number | null;
|
|
7536
|
+
type: string;
|
|
7537
|
+
updated_at: string;
|
|
7538
|
+
};
|
|
7539
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
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
|
+
Relationships: [{
|
|
7570
|
+
foreignKeyName: "time_logs_employee_id_fkey";
|
|
7571
|
+
columns: ["employee_id"];
|
|
7572
|
+
isOneToOne: false;
|
|
7573
|
+
referencedRelation: "monteurs";
|
|
7574
|
+
referencedColumns: ["id"];
|
|
7575
|
+
}];
|
|
7576
|
+
};
|
|
7577
|
+
time_off_entries: {
|
|
7578
|
+
Row: {
|
|
7579
|
+
created_at: string;
|
|
7580
|
+
employee_id: string;
|
|
7581
|
+
entry_date: string;
|
|
7582
|
+
hours: number;
|
|
7583
|
+
id: string;
|
|
7584
|
+
notes: string | null;
|
|
7585
|
+
type: string;
|
|
7586
|
+
updated_at: string;
|
|
7587
|
+
};
|
|
7588
|
+
Insert: {
|
|
7589
|
+
created_at?: string;
|
|
7590
|
+
employee_id: string;
|
|
7591
|
+
entry_date: string;
|
|
7592
|
+
hours?: number;
|
|
7593
|
+
id?: string;
|
|
7594
|
+
notes?: string | null;
|
|
7595
|
+
type: string;
|
|
7596
|
+
updated_at?: string;
|
|
7597
|
+
};
|
|
7598
|
+
Update: {
|
|
7599
|
+
created_at?: string;
|
|
7600
|
+
employee_id?: string;
|
|
7601
|
+
entry_date?: string;
|
|
7602
|
+
hours?: number;
|
|
7603
|
+
id?: string;
|
|
7604
|
+
notes?: string | null;
|
|
7605
|
+
type?: string;
|
|
7606
|
+
updated_at?: string;
|
|
7607
|
+
};
|
|
7608
|
+
Relationships: [{
|
|
7609
|
+
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
7610
|
+
columns: ["employee_id"];
|
|
7611
|
+
isOneToOne: false;
|
|
7612
|
+
referencedRelation: "monteurs";
|
|
7613
|
+
referencedColumns: ["id"];
|
|
7614
|
+
}];
|
|
7615
|
+
};
|
|
5498
7616
|
trade_item_drafts: {
|
|
5499
7617
|
Row: {
|
|
5500
7618
|
connection_id: string | null;
|
|
5501
7619
|
created_at: string;
|
|
5502
7620
|
data: import("./types").Json;
|
|
7621
|
+
floriday_id: string | null;
|
|
7622
|
+
floriday_link_error: string | null;
|
|
7623
|
+
floriday_link_status: string;
|
|
5503
7624
|
id: string;
|
|
7625
|
+
last_floriday_sync_at: string | null;
|
|
7626
|
+
missing_required_fields: string[];
|
|
7627
|
+
source: string;
|
|
5504
7628
|
updated_at: string;
|
|
5505
7629
|
user_id: string;
|
|
5506
7630
|
};
|
|
@@ -5508,7 +7632,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
5508
7632
|
connection_id?: string | null;
|
|
5509
7633
|
created_at?: string;
|
|
5510
7634
|
data?: import("./types").Json;
|
|
7635
|
+
floriday_id?: string | null;
|
|
7636
|
+
floriday_link_error?: string | null;
|
|
7637
|
+
floriday_link_status?: string;
|
|
5511
7638
|
id?: string;
|
|
7639
|
+
last_floriday_sync_at?: string | null;
|
|
7640
|
+
missing_required_fields?: string[];
|
|
7641
|
+
source?: string;
|
|
5512
7642
|
updated_at?: string;
|
|
5513
7643
|
user_id: string;
|
|
5514
7644
|
};
|
|
@@ -5516,7 +7646,55 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
5516
7646
|
connection_id?: string | null;
|
|
5517
7647
|
created_at?: string;
|
|
5518
7648
|
data?: import("./types").Json;
|
|
7649
|
+
floriday_id?: string | null;
|
|
7650
|
+
floriday_link_error?: string | null;
|
|
7651
|
+
floriday_link_status?: string;
|
|
7652
|
+
id?: string;
|
|
7653
|
+
last_floriday_sync_at?: string | null;
|
|
7654
|
+
missing_required_fields?: string[];
|
|
7655
|
+
source?: string;
|
|
7656
|
+
updated_at?: string;
|
|
7657
|
+
user_id?: string;
|
|
7658
|
+
};
|
|
7659
|
+
Relationships: [];
|
|
7660
|
+
};
|
|
7661
|
+
trade_item_stock: {
|
|
7662
|
+
Row: {
|
|
7663
|
+
connection_id: string;
|
|
7664
|
+
created_at: string;
|
|
7665
|
+
id: string;
|
|
7666
|
+
incoming_stock: number;
|
|
7667
|
+
minimum_stock: number;
|
|
7668
|
+
notes: string | null;
|
|
7669
|
+
physical_stock: number;
|
|
7670
|
+
reserved_stock: number;
|
|
7671
|
+
trade_item_key: string;
|
|
7672
|
+
updated_at: string;
|
|
7673
|
+
user_id: string;
|
|
7674
|
+
};
|
|
7675
|
+
Insert: {
|
|
7676
|
+
connection_id: string;
|
|
7677
|
+
created_at?: string;
|
|
7678
|
+
id?: string;
|
|
7679
|
+
incoming_stock?: number;
|
|
7680
|
+
minimum_stock?: number;
|
|
7681
|
+
notes?: string | null;
|
|
7682
|
+
physical_stock?: number;
|
|
7683
|
+
reserved_stock?: number;
|
|
7684
|
+
trade_item_key: string;
|
|
7685
|
+
updated_at?: string;
|
|
7686
|
+
user_id: string;
|
|
7687
|
+
};
|
|
7688
|
+
Update: {
|
|
7689
|
+
connection_id?: string;
|
|
7690
|
+
created_at?: string;
|
|
5519
7691
|
id?: string;
|
|
7692
|
+
incoming_stock?: number;
|
|
7693
|
+
minimum_stock?: number;
|
|
7694
|
+
notes?: string | null;
|
|
7695
|
+
physical_stock?: number;
|
|
7696
|
+
reserved_stock?: number;
|
|
7697
|
+
trade_item_key?: string;
|
|
5520
7698
|
updated_at?: string;
|
|
5521
7699
|
user_id?: string;
|
|
5522
7700
|
};
|
|
@@ -5866,6 +8044,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
5866
8044
|
};
|
|
5867
8045
|
twinfield_invoice_sync_logs: {
|
|
5868
8046
|
Row: {
|
|
8047
|
+
action_type: string | null;
|
|
5869
8048
|
created_at: string;
|
|
5870
8049
|
details: import("./types").Json | null;
|
|
5871
8050
|
duration_ms: number | null;
|
|
@@ -5878,6 +8057,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
5878
8057
|
user_id: string;
|
|
5879
8058
|
};
|
|
5880
8059
|
Insert: {
|
|
8060
|
+
action_type?: string | null;
|
|
5881
8061
|
created_at?: string;
|
|
5882
8062
|
details?: import("./types").Json | null;
|
|
5883
8063
|
duration_ms?: number | null;
|
|
@@ -5890,6 +8070,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
5890
8070
|
user_id: string;
|
|
5891
8071
|
};
|
|
5892
8072
|
Update: {
|
|
8073
|
+
action_type?: string | null;
|
|
5893
8074
|
created_at?: string;
|
|
5894
8075
|
details?: import("./types").Json | null;
|
|
5895
8076
|
duration_ms?: number | null;
|
|
@@ -6125,6 +8306,57 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6125
8306
|
referencedColumns: ["id"];
|
|
6126
8307
|
}];
|
|
6127
8308
|
};
|
|
8309
|
+
twinfield_request_metrics: {
|
|
8310
|
+
Row: {
|
|
8311
|
+
bucket_hour: string;
|
|
8312
|
+
connection_id: string;
|
|
8313
|
+
error_count: number;
|
|
8314
|
+
rate_limited_count: number;
|
|
8315
|
+
request_count: number;
|
|
8316
|
+
updated_at: string;
|
|
8317
|
+
};
|
|
8318
|
+
Insert: {
|
|
8319
|
+
bucket_hour: string;
|
|
8320
|
+
connection_id: string;
|
|
8321
|
+
error_count?: number;
|
|
8322
|
+
rate_limited_count?: number;
|
|
8323
|
+
request_count?: number;
|
|
8324
|
+
updated_at?: string;
|
|
8325
|
+
};
|
|
8326
|
+
Update: {
|
|
8327
|
+
bucket_hour?: string;
|
|
8328
|
+
connection_id?: string;
|
|
8329
|
+
error_count?: number;
|
|
8330
|
+
rate_limited_count?: number;
|
|
8331
|
+
request_count?: number;
|
|
8332
|
+
updated_at?: string;
|
|
8333
|
+
};
|
|
8334
|
+
Relationships: [];
|
|
8335
|
+
};
|
|
8336
|
+
twinfield_session_cache: {
|
|
8337
|
+
Row: {
|
|
8338
|
+
cluster: string;
|
|
8339
|
+
created_at: string;
|
|
8340
|
+
expires_at: string;
|
|
8341
|
+
session_id: string;
|
|
8342
|
+
user_id: string;
|
|
8343
|
+
};
|
|
8344
|
+
Insert: {
|
|
8345
|
+
cluster: string;
|
|
8346
|
+
created_at?: string;
|
|
8347
|
+
expires_at: string;
|
|
8348
|
+
session_id: string;
|
|
8349
|
+
user_id: string;
|
|
8350
|
+
};
|
|
8351
|
+
Update: {
|
|
8352
|
+
cluster?: string;
|
|
8353
|
+
created_at?: string;
|
|
8354
|
+
expires_at?: string;
|
|
8355
|
+
session_id?: string;
|
|
8356
|
+
user_id?: string;
|
|
8357
|
+
};
|
|
8358
|
+
Relationships: [];
|
|
8359
|
+
};
|
|
6128
8360
|
twinfield_settings: {
|
|
6129
8361
|
Row: {
|
|
6130
8362
|
active_environment: string;
|
|
@@ -6236,6 +8468,117 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6236
8468
|
referencedColumns: ["id"];
|
|
6237
8469
|
}];
|
|
6238
8470
|
};
|
|
8471
|
+
voorraad_media_upload_failures: {
|
|
8472
|
+
Row: {
|
|
8473
|
+
action: string;
|
|
8474
|
+
attempt_number: number;
|
|
8475
|
+
caller: string;
|
|
8476
|
+
client_user_id: string | null;
|
|
8477
|
+
content_type: string | null;
|
|
8478
|
+
created_at: string;
|
|
8479
|
+
environment: string;
|
|
8480
|
+
error_message: string | null;
|
|
8481
|
+
filename: string | null;
|
|
8482
|
+
id: string;
|
|
8483
|
+
idempotency_key: string | null;
|
|
8484
|
+
module: string;
|
|
8485
|
+
path: string;
|
|
8486
|
+
reference_id: string | null;
|
|
8487
|
+
request_body_hash: string | null;
|
|
8488
|
+
request_timestamp: number | null;
|
|
8489
|
+
response_content_type: string | null;
|
|
8490
|
+
response_status: number | null;
|
|
8491
|
+
size_bytes: number | null;
|
|
8492
|
+
};
|
|
8493
|
+
Insert: {
|
|
8494
|
+
action?: string;
|
|
8495
|
+
attempt_number?: number;
|
|
8496
|
+
caller?: string;
|
|
8497
|
+
client_user_id?: string | null;
|
|
8498
|
+
content_type?: string | null;
|
|
8499
|
+
created_at?: string;
|
|
8500
|
+
environment: string;
|
|
8501
|
+
error_message?: string | null;
|
|
8502
|
+
filename?: string | null;
|
|
8503
|
+
id?: string;
|
|
8504
|
+
idempotency_key?: string | null;
|
|
8505
|
+
module?: string;
|
|
8506
|
+
path: string;
|
|
8507
|
+
reference_id?: string | null;
|
|
8508
|
+
request_body_hash?: string | null;
|
|
8509
|
+
request_timestamp?: number | null;
|
|
8510
|
+
response_content_type?: string | null;
|
|
8511
|
+
response_status?: number | null;
|
|
8512
|
+
size_bytes?: number | null;
|
|
8513
|
+
};
|
|
8514
|
+
Update: {
|
|
8515
|
+
action?: string;
|
|
8516
|
+
attempt_number?: number;
|
|
8517
|
+
caller?: string;
|
|
8518
|
+
client_user_id?: string | null;
|
|
8519
|
+
content_type?: string | null;
|
|
8520
|
+
created_at?: string;
|
|
8521
|
+
environment?: string;
|
|
8522
|
+
error_message?: string | null;
|
|
8523
|
+
filename?: string | null;
|
|
8524
|
+
id?: string;
|
|
8525
|
+
idempotency_key?: string | null;
|
|
8526
|
+
module?: string;
|
|
8527
|
+
path?: string;
|
|
8528
|
+
reference_id?: string | null;
|
|
8529
|
+
request_body_hash?: string | null;
|
|
8530
|
+
request_timestamp?: number | null;
|
|
8531
|
+
response_content_type?: string | null;
|
|
8532
|
+
response_status?: number | null;
|
|
8533
|
+
size_bytes?: number | null;
|
|
8534
|
+
};
|
|
8535
|
+
Relationships: [];
|
|
8536
|
+
};
|
|
8537
|
+
voorraad_publish_attempts: {
|
|
8538
|
+
Row: {
|
|
8539
|
+
action: string;
|
|
8540
|
+
connection_id: string | null;
|
|
8541
|
+
created_at: string;
|
|
8542
|
+
error: string | null;
|
|
8543
|
+
gateway_attempt_id: string | null;
|
|
8544
|
+
gateway_status: number | null;
|
|
8545
|
+
id: string;
|
|
8546
|
+
intent: string;
|
|
8547
|
+
ok: boolean;
|
|
8548
|
+
request_summary: import("./types").Json | null;
|
|
8549
|
+
trade_item_id: string | null;
|
|
8550
|
+
user_id: string;
|
|
8551
|
+
};
|
|
8552
|
+
Insert: {
|
|
8553
|
+
action: string;
|
|
8554
|
+
connection_id?: string | null;
|
|
8555
|
+
created_at?: string;
|
|
8556
|
+
error?: string | null;
|
|
8557
|
+
gateway_attempt_id?: string | null;
|
|
8558
|
+
gateway_status?: number | null;
|
|
8559
|
+
id?: string;
|
|
8560
|
+
intent: string;
|
|
8561
|
+
ok: boolean;
|
|
8562
|
+
request_summary?: import("./types").Json | null;
|
|
8563
|
+
trade_item_id?: string | null;
|
|
8564
|
+
user_id: string;
|
|
8565
|
+
};
|
|
8566
|
+
Update: {
|
|
8567
|
+
action?: string;
|
|
8568
|
+
connection_id?: string | null;
|
|
8569
|
+
created_at?: string;
|
|
8570
|
+
error?: string | null;
|
|
8571
|
+
gateway_attempt_id?: string | null;
|
|
8572
|
+
gateway_status?: number | null;
|
|
8573
|
+
id?: string;
|
|
8574
|
+
intent?: string;
|
|
8575
|
+
ok?: boolean;
|
|
8576
|
+
request_summary?: import("./types").Json | null;
|
|
8577
|
+
trade_item_id?: string | null;
|
|
8578
|
+
user_id?: string;
|
|
8579
|
+
};
|
|
8580
|
+
Relationships: [];
|
|
8581
|
+
};
|
|
6239
8582
|
work_order_monteurs: {
|
|
6240
8583
|
Row: {
|
|
6241
8584
|
created_at: string;
|
|
@@ -6595,6 +8938,35 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6595
8938
|
};
|
|
6596
8939
|
Relationships: [];
|
|
6597
8940
|
};
|
|
8941
|
+
manufacture_product_possible_stock_view: {
|
|
8942
|
+
Row: {
|
|
8943
|
+
component_count: number | null;
|
|
8944
|
+
manufacture_product_id: string | null;
|
|
8945
|
+
possible_stock: number | null;
|
|
8946
|
+
};
|
|
8947
|
+
Relationships: [];
|
|
8948
|
+
};
|
|
8949
|
+
product_group_stock_view: {
|
|
8950
|
+
Row: {
|
|
8951
|
+
item_count: number | null;
|
|
8952
|
+
product_group_id: string | null;
|
|
8953
|
+
total_stock: number | null;
|
|
8954
|
+
};
|
|
8955
|
+
Relationships: [{
|
|
8956
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
8957
|
+
columns: ["product_group_id"];
|
|
8958
|
+
isOneToOne: false;
|
|
8959
|
+
referencedRelation: "product_groups";
|
|
8960
|
+
referencedColumns: ["id"];
|
|
8961
|
+
}];
|
|
8962
|
+
};
|
|
8963
|
+
trade_item_stock_view: {
|
|
8964
|
+
Row: {
|
|
8965
|
+
stock: number | null;
|
|
8966
|
+
trade_item_id: string | null;
|
|
8967
|
+
};
|
|
8968
|
+
Relationships: [];
|
|
8969
|
+
};
|
|
6598
8970
|
v_external_customers_exact: {
|
|
6599
8971
|
Row: {
|
|
6600
8972
|
account_number: string | null;
|
|
@@ -6838,13 +9210,81 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6838
9210
|
referencedColumns: ["id"];
|
|
6839
9211
|
}];
|
|
6840
9212
|
};
|
|
6841
|
-
};
|
|
6842
|
-
Functions: {
|
|
6843
|
-
|
|
9213
|
+
};
|
|
9214
|
+
Functions: {
|
|
9215
|
+
_floriday_schedule_job: {
|
|
9216
|
+
Args: {
|
|
9217
|
+
p_apikey: string;
|
|
9218
|
+
p_jobname: string;
|
|
9219
|
+
p_schedule: string;
|
|
9220
|
+
p_timeout_ms: number;
|
|
9221
|
+
p_url: string;
|
|
9222
|
+
};
|
|
9223
|
+
Returns: number;
|
|
9224
|
+
};
|
|
9225
|
+
assign_cart_numbers: {
|
|
9226
|
+
Args: {
|
|
9227
|
+
p_carts: import("./types").Json;
|
|
9228
|
+
};
|
|
9229
|
+
Returns: {
|
|
9230
|
+
cart_index: number;
|
|
9231
|
+
cart_number: string;
|
|
9232
|
+
day_seq: number;
|
|
9233
|
+
order_id: string;
|
|
9234
|
+
order_source: string;
|
|
9235
|
+
pick_date: string;
|
|
9236
|
+
status: string;
|
|
9237
|
+
}[];
|
|
9238
|
+
};
|
|
9239
|
+
assign_floriday_order_numbers: {
|
|
9240
|
+
Args: {
|
|
9241
|
+
p_ids: string[];
|
|
9242
|
+
};
|
|
9243
|
+
Returns: {
|
|
9244
|
+
floriday_id: string;
|
|
9245
|
+
order_number: string;
|
|
9246
|
+
}[];
|
|
9247
|
+
};
|
|
9248
|
+
call_exact_route: {
|
|
9249
|
+
Args: {
|
|
9250
|
+
path: string;
|
|
9251
|
+
};
|
|
9252
|
+
Returns: number;
|
|
9253
|
+
};
|
|
9254
|
+
cleanup_old_bookings: {
|
|
9255
|
+
Args: never;
|
|
9256
|
+
Returns: number;
|
|
9257
|
+
};
|
|
9258
|
+
control_get_todays_carts: {
|
|
9259
|
+
Args: never;
|
|
9260
|
+
Returns: {
|
|
9261
|
+
cart_index: number;
|
|
9262
|
+
cart_number: string;
|
|
9263
|
+
cart_number_id: string;
|
|
9264
|
+
order_id: string;
|
|
9265
|
+
order_source: string;
|
|
9266
|
+
pick_date: string;
|
|
9267
|
+
status: string;
|
|
9268
|
+
}[];
|
|
9269
|
+
};
|
|
9270
|
+
count_distinct_regulatory_products: {
|
|
9271
|
+
Args: never;
|
|
9272
|
+
Returns: number;
|
|
9273
|
+
};
|
|
9274
|
+
current_monteur_id: {
|
|
9275
|
+
Args: never;
|
|
9276
|
+
Returns: string;
|
|
9277
|
+
};
|
|
9278
|
+
dashboard_alert_counts: {
|
|
9279
|
+
Args: never;
|
|
9280
|
+
Returns: import("./types").Json;
|
|
9281
|
+
};
|
|
9282
|
+
dashboard_alert_rows: {
|
|
6844
9283
|
Args: {
|
|
6845
|
-
|
|
9284
|
+
check_id: string;
|
|
9285
|
+
row_limit?: number;
|
|
6846
9286
|
};
|
|
6847
|
-
Returns:
|
|
9287
|
+
Returns: import("./types").Json;
|
|
6848
9288
|
};
|
|
6849
9289
|
dashboard_list_public_schema: {
|
|
6850
9290
|
Args: never;
|
|
@@ -6926,6 +9366,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6926
9366
|
};
|
|
6927
9367
|
Returns: boolean;
|
|
6928
9368
|
};
|
|
9369
|
+
format_cart_number: {
|
|
9370
|
+
Args: {
|
|
9371
|
+
p_pick_date: string;
|
|
9372
|
+
p_seq: number;
|
|
9373
|
+
};
|
|
9374
|
+
Returns: string;
|
|
9375
|
+
};
|
|
6929
9376
|
get_active_floriday_connection_public: {
|
|
6930
9377
|
Args: never;
|
|
6931
9378
|
Returns: {
|
|
@@ -6950,6 +9397,32 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6950
9397
|
office_code: string;
|
|
6951
9398
|
}[];
|
|
6952
9399
|
};
|
|
9400
|
+
get_floriday_agreements_active: {
|
|
9401
|
+
Args: {
|
|
9402
|
+
p_on_date?: string;
|
|
9403
|
+
};
|
|
9404
|
+
Returns: {
|
|
9405
|
+
buyer_organization_id: string;
|
|
9406
|
+
data: import("./types").Json;
|
|
9407
|
+
floriday_id: string;
|
|
9408
|
+
status: string;
|
|
9409
|
+
valid_from: string;
|
|
9410
|
+
valid_until: string;
|
|
9411
|
+
}[];
|
|
9412
|
+
};
|
|
9413
|
+
get_floriday_clock_supplies_window: {
|
|
9414
|
+
Args: {
|
|
9415
|
+
p_from: string;
|
|
9416
|
+
p_to: string;
|
|
9417
|
+
};
|
|
9418
|
+
Returns: {
|
|
9419
|
+
auction_date: string;
|
|
9420
|
+
data: import("./types").Json;
|
|
9421
|
+
floriday_id: string;
|
|
9422
|
+
status: string;
|
|
9423
|
+
trade_item_id: string;
|
|
9424
|
+
}[];
|
|
9425
|
+
};
|
|
6953
9426
|
get_floriday_cron_jobs: {
|
|
6954
9427
|
Args: never;
|
|
6955
9428
|
Returns: {
|
|
@@ -6959,12 +9432,68 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6959
9432
|
url: string;
|
|
6960
9433
|
}[];
|
|
6961
9434
|
};
|
|
9435
|
+
get_floriday_delivery_locations: {
|
|
9436
|
+
Args: {
|
|
9437
|
+
p_organization_id: string;
|
|
9438
|
+
};
|
|
9439
|
+
Returns: {
|
|
9440
|
+
data: import("./types").Json;
|
|
9441
|
+
floriday_id: string;
|
|
9442
|
+
gln_code: string;
|
|
9443
|
+
name: string;
|
|
9444
|
+
}[];
|
|
9445
|
+
};
|
|
9446
|
+
get_floriday_fulfillment_orders_window: {
|
|
9447
|
+
Args: {
|
|
9448
|
+
p_from: string;
|
|
9449
|
+
p_to: string;
|
|
9450
|
+
};
|
|
9451
|
+
Returns: {
|
|
9452
|
+
auction_date: string;
|
|
9453
|
+
data: import("./types").Json;
|
|
9454
|
+
delivery_order_id: string;
|
|
9455
|
+
destination_warehouse_id: string;
|
|
9456
|
+
floriday_id: string;
|
|
9457
|
+
status: string;
|
|
9458
|
+
}[];
|
|
9459
|
+
};
|
|
9460
|
+
get_floriday_sales_orders_window: {
|
|
9461
|
+
Args: {
|
|
9462
|
+
p_from: string;
|
|
9463
|
+
p_to: string;
|
|
9464
|
+
};
|
|
9465
|
+
Returns: {
|
|
9466
|
+
buyer_organization_id: string;
|
|
9467
|
+
data: import("./types").Json;
|
|
9468
|
+
floriday_id: string;
|
|
9469
|
+
status: string;
|
|
9470
|
+
updated_at: string;
|
|
9471
|
+
}[];
|
|
9472
|
+
};
|
|
9473
|
+
get_floriday_sync_health: {
|
|
9474
|
+
Args: never;
|
|
9475
|
+
Returns: {
|
|
9476
|
+
entity_type: string;
|
|
9477
|
+
last_error: string;
|
|
9478
|
+
last_items_processed: number;
|
|
9479
|
+
last_sequence_number: number;
|
|
9480
|
+
last_success_at: string;
|
|
9481
|
+
last_synced_at: string;
|
|
9482
|
+
minutes_since_success: number;
|
|
9483
|
+
}[];
|
|
9484
|
+
};
|
|
6962
9485
|
get_offer_by_link_code: {
|
|
6963
9486
|
Args: {
|
|
6964
9487
|
p_code: string;
|
|
6965
9488
|
};
|
|
6966
9489
|
Returns: import("./types").Json;
|
|
6967
9490
|
};
|
|
9491
|
+
get_or_assign_floriday_order_number: {
|
|
9492
|
+
Args: {
|
|
9493
|
+
p_floriday_id: string;
|
|
9494
|
+
};
|
|
9495
|
+
Returns: string;
|
|
9496
|
+
};
|
|
6968
9497
|
get_room_busy_windows: {
|
|
6969
9498
|
Args: {
|
|
6970
9499
|
p_from: string;
|
|
@@ -7011,6 +9540,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7011
9540
|
Args: never;
|
|
7012
9541
|
Returns: boolean;
|
|
7013
9542
|
};
|
|
9543
|
+
next_order_number: {
|
|
9544
|
+
Args: {
|
|
9545
|
+
p_prefix: string;
|
|
9546
|
+
};
|
|
9547
|
+
Returns: string;
|
|
9548
|
+
};
|
|
7014
9549
|
next_work_order_number: {
|
|
7015
9550
|
Args: {
|
|
7016
9551
|
p_parent_work_order_id?: string;
|
|
@@ -7024,6 +9559,89 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7024
9559
|
};
|
|
7025
9560
|
Returns: string;
|
|
7026
9561
|
};
|
|
9562
|
+
pickstation_get_orders_raw: {
|
|
9563
|
+
Args: never;
|
|
9564
|
+
Returns: import("./types").Json;
|
|
9565
|
+
};
|
|
9566
|
+
pickstation_get_settings: {
|
|
9567
|
+
Args: never;
|
|
9568
|
+
Returns: import("./types").Json;
|
|
9569
|
+
};
|
|
9570
|
+
pickstation_log_print: {
|
|
9571
|
+
Args: {
|
|
9572
|
+
p_customer_name: string;
|
|
9573
|
+
p_documents: string[];
|
|
9574
|
+
p_ip_address: string;
|
|
9575
|
+
p_order_id: string;
|
|
9576
|
+
p_order_number: string;
|
|
9577
|
+
};
|
|
9578
|
+
Returns: undefined;
|
|
9579
|
+
};
|
|
9580
|
+
pickstation_set_cart_status: {
|
|
9581
|
+
Args: {
|
|
9582
|
+
p_cart_index: number;
|
|
9583
|
+
p_order_id: string;
|
|
9584
|
+
p_order_source: string;
|
|
9585
|
+
p_status: string;
|
|
9586
|
+
};
|
|
9587
|
+
Returns: undefined;
|
|
9588
|
+
};
|
|
9589
|
+
refresh_floricode_derived_code_lists: {
|
|
9590
|
+
Args: never;
|
|
9591
|
+
Returns: {
|
|
9592
|
+
environment: string;
|
|
9593
|
+
list_name: string;
|
|
9594
|
+
row_count: number;
|
|
9595
|
+
}[];
|
|
9596
|
+
};
|
|
9597
|
+
refresh_floricode_derived_for_product: {
|
|
9598
|
+
Args: {
|
|
9599
|
+
p_product_code: string;
|
|
9600
|
+
};
|
|
9601
|
+
Returns: number;
|
|
9602
|
+
};
|
|
9603
|
+
reset_floriday_sync_cursor: {
|
|
9604
|
+
Args: {
|
|
9605
|
+
p_connection_id: string;
|
|
9606
|
+
p_entity_type: string;
|
|
9607
|
+
};
|
|
9608
|
+
Returns: undefined;
|
|
9609
|
+
};
|
|
9610
|
+
schedule_floriday_additional_services_sync: {
|
|
9611
|
+
Args: {
|
|
9612
|
+
p_apikey: string;
|
|
9613
|
+
p_url: string;
|
|
9614
|
+
};
|
|
9615
|
+
Returns: number;
|
|
9616
|
+
};
|
|
9617
|
+
schedule_floriday_agreement_calloffs_sync: {
|
|
9618
|
+
Args: {
|
|
9619
|
+
p_apikey: string;
|
|
9620
|
+
p_url: string;
|
|
9621
|
+
};
|
|
9622
|
+
Returns: number;
|
|
9623
|
+
};
|
|
9624
|
+
schedule_floriday_agreements_sync: {
|
|
9625
|
+
Args: {
|
|
9626
|
+
p_apikey: string;
|
|
9627
|
+
p_url: string;
|
|
9628
|
+
};
|
|
9629
|
+
Returns: number;
|
|
9630
|
+
};
|
|
9631
|
+
schedule_floriday_base_items_sync: {
|
|
9632
|
+
Args: {
|
|
9633
|
+
p_apikey: string;
|
|
9634
|
+
p_url: string;
|
|
9635
|
+
};
|
|
9636
|
+
Returns: number;
|
|
9637
|
+
};
|
|
9638
|
+
schedule_floriday_blanket_orders_sync: {
|
|
9639
|
+
Args: {
|
|
9640
|
+
p_apikey: string;
|
|
9641
|
+
p_url: string;
|
|
9642
|
+
};
|
|
9643
|
+
Returns: number;
|
|
9644
|
+
};
|
|
7027
9645
|
schedule_floriday_carriers_sync: {
|
|
7028
9646
|
Args: {
|
|
7029
9647
|
p_apikey: string;
|
|
@@ -7031,6 +9649,34 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7031
9649
|
};
|
|
7032
9650
|
Returns: number;
|
|
7033
9651
|
};
|
|
9652
|
+
schedule_floriday_clock_presales_sync: {
|
|
9653
|
+
Args: {
|
|
9654
|
+
p_apikey: string;
|
|
9655
|
+
p_url: string;
|
|
9656
|
+
};
|
|
9657
|
+
Returns: number;
|
|
9658
|
+
};
|
|
9659
|
+
schedule_floriday_clock_supplies_sync: {
|
|
9660
|
+
Args: {
|
|
9661
|
+
p_apikey: string;
|
|
9662
|
+
p_url: string;
|
|
9663
|
+
};
|
|
9664
|
+
Returns: number;
|
|
9665
|
+
};
|
|
9666
|
+
schedule_floriday_collections_sync: {
|
|
9667
|
+
Args: {
|
|
9668
|
+
p_apikey: string;
|
|
9669
|
+
p_url: string;
|
|
9670
|
+
};
|
|
9671
|
+
Returns: number;
|
|
9672
|
+
};
|
|
9673
|
+
schedule_floriday_commercial_service_types_sync: {
|
|
9674
|
+
Args: {
|
|
9675
|
+
p_apikey: string;
|
|
9676
|
+
p_url: string;
|
|
9677
|
+
};
|
|
9678
|
+
Returns: number;
|
|
9679
|
+
};
|
|
7034
9680
|
schedule_floriday_connections_sync: {
|
|
7035
9681
|
Args: {
|
|
7036
9682
|
p_apikey: string;
|
|
@@ -7038,6 +9684,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7038
9684
|
};
|
|
7039
9685
|
Returns: number;
|
|
7040
9686
|
};
|
|
9687
|
+
schedule_floriday_contract_trade_item_groups_sync: {
|
|
9688
|
+
Args: {
|
|
9689
|
+
p_apikey: string;
|
|
9690
|
+
p_url: string;
|
|
9691
|
+
};
|
|
9692
|
+
Returns: number;
|
|
9693
|
+
};
|
|
9694
|
+
schedule_floriday_contracts_sync: {
|
|
9695
|
+
Args: {
|
|
9696
|
+
p_apikey: string;
|
|
9697
|
+
p_url: string;
|
|
9698
|
+
};
|
|
9699
|
+
Returns: number;
|
|
9700
|
+
};
|
|
7041
9701
|
schedule_floriday_customer_organizations_sync: {
|
|
7042
9702
|
Args: {
|
|
7043
9703
|
p_apikey: string;
|
|
@@ -7045,6 +9705,48 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7045
9705
|
};
|
|
7046
9706
|
Returns: number;
|
|
7047
9707
|
};
|
|
9708
|
+
schedule_floriday_customer_stickers_sync: {
|
|
9709
|
+
Args: {
|
|
9710
|
+
p_apikey: string;
|
|
9711
|
+
p_url: string;
|
|
9712
|
+
};
|
|
9713
|
+
Returns: number;
|
|
9714
|
+
};
|
|
9715
|
+
schedule_floriday_delivery_condition_sets_sync: {
|
|
9716
|
+
Args: {
|
|
9717
|
+
p_apikey: string;
|
|
9718
|
+
p_url: string;
|
|
9719
|
+
};
|
|
9720
|
+
Returns: number;
|
|
9721
|
+
};
|
|
9722
|
+
schedule_floriday_delivery_locations_sync: {
|
|
9723
|
+
Args: {
|
|
9724
|
+
p_apikey: string;
|
|
9725
|
+
p_url: string;
|
|
9726
|
+
};
|
|
9727
|
+
Returns: number;
|
|
9728
|
+
};
|
|
9729
|
+
schedule_floriday_delivery_orders_sync: {
|
|
9730
|
+
Args: {
|
|
9731
|
+
p_apikey: string;
|
|
9732
|
+
p_url: string;
|
|
9733
|
+
};
|
|
9734
|
+
Returns: number;
|
|
9735
|
+
};
|
|
9736
|
+
schedule_floriday_fulfillment_orders_sync: {
|
|
9737
|
+
Args: {
|
|
9738
|
+
p_apikey: string;
|
|
9739
|
+
p_url: string;
|
|
9740
|
+
};
|
|
9741
|
+
Returns: number;
|
|
9742
|
+
};
|
|
9743
|
+
schedule_floriday_invoices_sync: {
|
|
9744
|
+
Args: {
|
|
9745
|
+
p_apikey: string;
|
|
9746
|
+
p_url: string;
|
|
9747
|
+
};
|
|
9748
|
+
Returns: number;
|
|
9749
|
+
};
|
|
7048
9750
|
schedule_floriday_network_sync: {
|
|
7049
9751
|
Args: {
|
|
7050
9752
|
p_apikey: string;
|
|
@@ -7052,6 +9754,34 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7052
9754
|
};
|
|
7053
9755
|
Returns: number;
|
|
7054
9756
|
};
|
|
9757
|
+
schedule_floriday_packings_sync: {
|
|
9758
|
+
Args: {
|
|
9759
|
+
p_apikey: string;
|
|
9760
|
+
p_url: string;
|
|
9761
|
+
};
|
|
9762
|
+
Returns: number;
|
|
9763
|
+
};
|
|
9764
|
+
schedule_floriday_price_groups_sync: {
|
|
9765
|
+
Args: {
|
|
9766
|
+
p_apikey: string;
|
|
9767
|
+
p_url: string;
|
|
9768
|
+
};
|
|
9769
|
+
Returns: number;
|
|
9770
|
+
};
|
|
9771
|
+
schedule_floriday_reference_data_refresh: {
|
|
9772
|
+
Args: {
|
|
9773
|
+
p_apikey: string;
|
|
9774
|
+
p_url: string;
|
|
9775
|
+
};
|
|
9776
|
+
Returns: number;
|
|
9777
|
+
};
|
|
9778
|
+
schedule_floriday_sales_strategies_sync: {
|
|
9779
|
+
Args: {
|
|
9780
|
+
p_apikey: string;
|
|
9781
|
+
p_url: string;
|
|
9782
|
+
};
|
|
9783
|
+
Returns: number;
|
|
9784
|
+
};
|
|
7055
9785
|
schedule_floriday_salesorders_sync: {
|
|
7056
9786
|
Args: {
|
|
7057
9787
|
p_apikey: string;
|
|
@@ -7066,6 +9796,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7066
9796
|
};
|
|
7067
9797
|
Returns: number;
|
|
7068
9798
|
};
|
|
9799
|
+
schedule_floriday_trade_item_classifications_sync: {
|
|
9800
|
+
Args: {
|
|
9801
|
+
p_apikey: string;
|
|
9802
|
+
p_url: string;
|
|
9803
|
+
};
|
|
9804
|
+
Returns: number;
|
|
9805
|
+
};
|
|
7069
9806
|
schedule_floriday_trade_items_sync: {
|
|
7070
9807
|
Args: {
|
|
7071
9808
|
p_apikey: string;
|
|
@@ -7073,6 +9810,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7073
9810
|
};
|
|
7074
9811
|
Returns: number;
|
|
7075
9812
|
};
|
|
9813
|
+
schedule_floriday_trips_sync: {
|
|
9814
|
+
Args: {
|
|
9815
|
+
p_apikey: string;
|
|
9816
|
+
p_url: string;
|
|
9817
|
+
};
|
|
9818
|
+
Returns: number;
|
|
9819
|
+
};
|
|
9820
|
+
schedule_floriday_warehouses_sync: {
|
|
9821
|
+
Args: {
|
|
9822
|
+
p_apikey: string;
|
|
9823
|
+
p_url: string;
|
|
9824
|
+
};
|
|
9825
|
+
Returns: number;
|
|
9826
|
+
};
|
|
7076
9827
|
schedule_twinfield_customers_sync: {
|
|
7077
9828
|
Args: {
|
|
7078
9829
|
p_apikey: string;
|
|
@@ -7147,7 +9898,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7147
9898
|
};
|
|
7148
9899
|
};
|
|
7149
9900
|
Enums: {
|
|
7150
|
-
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
9901
|
+
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
|
|
7151
9902
|
exact_env: "staging" | "live";
|
|
7152
9903
|
exact_push_status: "pending" | "sent" | "error";
|
|
7153
9904
|
quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
|