@flowselections/floriday-afhandeling-module 1.0.9 → 1.0.10
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/DagDetailDialog.d.ts +9 -0
- package/dist-lib/components/afhandeling/DagDetailDialog.d.ts.map +1 -0
- package/dist-lib/components/afhandeling/DagDetailDialog.js +145 -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 +53 -6
- package/dist-lib/components/afhandeling/VervoerdersPage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/VervoerdersPage.js +23 -5
- 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 +53 -18
- package/dist-lib/components/pickstation/PakbonTemplate.d.ts +5 -2
- package/dist-lib/components/pickstation/PakbonTemplate.d.ts.map +1 -1
- package/dist-lib/components/pickstation/PakbonTemplate.js +12 -10
- package/dist-lib/components/settings/AfhandelingSettingsCard.d.ts.map +1 -1
- package/dist-lib/components/settings/AfhandelingSettingsCard.js +18 -6
- 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 +47 -6
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +2261 -136
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +2261 -136
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +2261 -136
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +2329 -134
- 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 +9431 -5172
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/afhandelingSettings.functions.js +27 -2
- 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 +33377 -15579
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/carriers.functions.js +28 -2
- package/dist-lib/lib/cartAssignments.functions.d.ts +46479 -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/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/floriday.functions.d.ts +2265 -136
- 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 +4 -0
- package/dist-lib/lib/pickstationI18n.d.ts.map +1 -1
- package/dist-lib/lib/pickstationI18n.js +24 -0
- package/dist-lib/lib/pickstationOrders.server.d.ts +1 -1
- package/dist-lib/lib/pickstationOrders.server.d.ts.map +1 -1
- package/dist-lib/lib/pickstationOrders.server.js +305 -177
- package/dist-lib/lib/pickstationTypes.d.ts +11 -2
- package/dist-lib/lib/pickstationTypes.d.ts.map +1 -1
- package/dist-lib/lib/planning.d.ts +18 -2
- package/dist-lib/lib/planning.d.ts.map +1 -1
- package/dist-lib/lib/planning.js +96 -33
- package/package.json +2 -2
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import type { SupabaseClient } from "@supabase/supabase-js";
|
|
2
2
|
export interface FloridayOrder {
|
|
3
3
|
id: string;
|
|
4
|
+
source: "floriday" | "manual";
|
|
4
5
|
orderNumber: string;
|
|
5
6
|
customerName: string;
|
|
6
7
|
deliveryDate: string | null;
|
|
7
8
|
deliveryType: string;
|
|
8
9
|
status: string;
|
|
9
10
|
lineCount: number;
|
|
11
|
+
cartCount: number | null;
|
|
12
|
+
plantCount: number | null;
|
|
10
13
|
totalAmount: number | null;
|
|
11
14
|
currency: string | null;
|
|
12
15
|
createdAt: string | null;
|
|
@@ -21,6 +24,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
21
24
|
max_workdays_earlier_pick: number;
|
|
22
25
|
pick_days_before_transport: number;
|
|
23
26
|
pick_distribution_enabled: boolean;
|
|
27
|
+
signup_mail_enabled: boolean;
|
|
28
|
+
signup_mail_lead_minutes: number;
|
|
29
|
+
signup_mail_purpose: string;
|
|
24
30
|
transport_register_days_before: number;
|
|
25
31
|
updated_at: string;
|
|
26
32
|
user_id: string;
|
|
@@ -31,6 +37,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
31
37
|
max_workdays_earlier_pick?: number;
|
|
32
38
|
pick_days_before_transport?: number;
|
|
33
39
|
pick_distribution_enabled?: boolean;
|
|
40
|
+
signup_mail_enabled?: boolean;
|
|
41
|
+
signup_mail_lead_minutes?: number;
|
|
42
|
+
signup_mail_purpose?: string;
|
|
34
43
|
transport_register_days_before?: number;
|
|
35
44
|
updated_at?: string;
|
|
36
45
|
user_id: string;
|
|
@@ -41,6 +50,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
41
50
|
max_workdays_earlier_pick?: number;
|
|
42
51
|
pick_days_before_transport?: number;
|
|
43
52
|
pick_distribution_enabled?: boolean;
|
|
53
|
+
signup_mail_enabled?: boolean;
|
|
54
|
+
signup_mail_lead_minutes?: number;
|
|
55
|
+
signup_mail_purpose?: string;
|
|
44
56
|
transport_register_days_before?: number;
|
|
45
57
|
updated_at?: string;
|
|
46
58
|
user_id?: string;
|
|
@@ -449,6 +461,51 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
449
461
|
referencedColumns: ["id"];
|
|
450
462
|
}];
|
|
451
463
|
};
|
|
464
|
+
carrier_signup_dispatches: {
|
|
465
|
+
Row: {
|
|
466
|
+
carrier_id: string;
|
|
467
|
+
cart_count: number;
|
|
468
|
+
created_at: string;
|
|
469
|
+
id: string;
|
|
470
|
+
order_count: number;
|
|
471
|
+
outbox_id: string | null;
|
|
472
|
+
pickup_date: string;
|
|
473
|
+
pickup_moment_key: string;
|
|
474
|
+
sent_at: string;
|
|
475
|
+
signup_deadline: string;
|
|
476
|
+
};
|
|
477
|
+
Insert: {
|
|
478
|
+
carrier_id: string;
|
|
479
|
+
cart_count?: number;
|
|
480
|
+
created_at?: string;
|
|
481
|
+
id?: string;
|
|
482
|
+
order_count?: number;
|
|
483
|
+
outbox_id?: string | null;
|
|
484
|
+
pickup_date: string;
|
|
485
|
+
pickup_moment_key: string;
|
|
486
|
+
sent_at?: string;
|
|
487
|
+
signup_deadline: string;
|
|
488
|
+
};
|
|
489
|
+
Update: {
|
|
490
|
+
carrier_id?: string;
|
|
491
|
+
cart_count?: number;
|
|
492
|
+
created_at?: string;
|
|
493
|
+
id?: string;
|
|
494
|
+
order_count?: number;
|
|
495
|
+
outbox_id?: string | null;
|
|
496
|
+
pickup_date?: string;
|
|
497
|
+
pickup_moment_key?: string;
|
|
498
|
+
sent_at?: string;
|
|
499
|
+
signup_deadline?: string;
|
|
500
|
+
};
|
|
501
|
+
Relationships: [{
|
|
502
|
+
foreignKeyName: "carrier_signup_dispatches_carrier_id_fkey";
|
|
503
|
+
columns: ["carrier_id"];
|
|
504
|
+
isOneToOne: false;
|
|
505
|
+
referencedRelation: "carriers";
|
|
506
|
+
referencedColumns: ["id"];
|
|
507
|
+
}];
|
|
508
|
+
};
|
|
452
509
|
carriers: {
|
|
453
510
|
Row: {
|
|
454
511
|
address: string | null;
|
|
@@ -462,9 +519,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
462
519
|
notes: string | null;
|
|
463
520
|
phone: string | null;
|
|
464
521
|
pickup_moments: import("../integrations/supabase/types").Json;
|
|
522
|
+
service_cities: string[];
|
|
523
|
+
service_countries: string[];
|
|
524
|
+
service_provinces: string[];
|
|
465
525
|
signup_days_before_delivery: number;
|
|
466
526
|
signup_time_1: string | null;
|
|
467
527
|
signup_time_2: string | null;
|
|
528
|
+
sort_order: number;
|
|
468
529
|
updated_at: string;
|
|
469
530
|
user_id: string;
|
|
470
531
|
};
|
|
@@ -480,9 +541,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
480
541
|
notes?: string | null;
|
|
481
542
|
phone?: string | null;
|
|
482
543
|
pickup_moments?: import("../integrations/supabase/types").Json;
|
|
544
|
+
service_cities?: string[];
|
|
545
|
+
service_countries?: string[];
|
|
546
|
+
service_provinces?: string[];
|
|
483
547
|
signup_days_before_delivery?: number;
|
|
484
548
|
signup_time_1?: string | null;
|
|
485
549
|
signup_time_2?: string | null;
|
|
550
|
+
sort_order?: number;
|
|
486
551
|
updated_at?: string;
|
|
487
552
|
user_id: string;
|
|
488
553
|
};
|
|
@@ -498,14 +563,57 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
498
563
|
notes?: string | null;
|
|
499
564
|
phone?: string | null;
|
|
500
565
|
pickup_moments?: import("../integrations/supabase/types").Json;
|
|
566
|
+
service_cities?: string[];
|
|
567
|
+
service_countries?: string[];
|
|
568
|
+
service_provinces?: string[];
|
|
501
569
|
signup_days_before_delivery?: number;
|
|
502
570
|
signup_time_1?: string | null;
|
|
503
571
|
signup_time_2?: string | null;
|
|
572
|
+
sort_order?: number;
|
|
504
573
|
updated_at?: string;
|
|
505
574
|
user_id?: string;
|
|
506
575
|
};
|
|
507
576
|
Relationships: [];
|
|
508
577
|
};
|
|
578
|
+
cart_pick_overrides: {
|
|
579
|
+
Row: {
|
|
580
|
+
cart_index: number;
|
|
581
|
+
created_at: string;
|
|
582
|
+
id: string;
|
|
583
|
+
moved_from_date: string | null;
|
|
584
|
+
notes: string | null;
|
|
585
|
+
order_id: string;
|
|
586
|
+
order_source: string;
|
|
587
|
+
pick_date: string;
|
|
588
|
+
status: string;
|
|
589
|
+
updated_at: string;
|
|
590
|
+
};
|
|
591
|
+
Insert: {
|
|
592
|
+
cart_index: number;
|
|
593
|
+
created_at?: string;
|
|
594
|
+
id?: string;
|
|
595
|
+
moved_from_date?: string | null;
|
|
596
|
+
notes?: string | null;
|
|
597
|
+
order_id: string;
|
|
598
|
+
order_source: string;
|
|
599
|
+
pick_date: string;
|
|
600
|
+
status?: string;
|
|
601
|
+
updated_at?: string;
|
|
602
|
+
};
|
|
603
|
+
Update: {
|
|
604
|
+
cart_index?: number;
|
|
605
|
+
created_at?: string;
|
|
606
|
+
id?: string;
|
|
607
|
+
moved_from_date?: string | null;
|
|
608
|
+
notes?: string | null;
|
|
609
|
+
order_id?: string;
|
|
610
|
+
order_source?: string;
|
|
611
|
+
pick_date?: string;
|
|
612
|
+
status?: string;
|
|
613
|
+
updated_at?: string;
|
|
614
|
+
};
|
|
615
|
+
Relationships: [];
|
|
616
|
+
};
|
|
509
617
|
collections: {
|
|
510
618
|
Row: {
|
|
511
619
|
created_at: string;
|
|
@@ -617,50 +725,74 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
617
725
|
customer_delivery_locations: {
|
|
618
726
|
Row: {
|
|
619
727
|
address_line: string | null;
|
|
728
|
+
carrier_assignment_source: string;
|
|
729
|
+
carrier_id: string | null;
|
|
620
730
|
city: string | null;
|
|
621
731
|
country: string | null;
|
|
622
732
|
created_at: string;
|
|
623
733
|
customer_id: string;
|
|
624
734
|
floriday_location_id: string | null;
|
|
625
735
|
gln: string | null;
|
|
736
|
+
house_number: string | null;
|
|
626
737
|
id: string;
|
|
627
738
|
is_primary: boolean;
|
|
628
739
|
name: string | null;
|
|
629
740
|
postal_code: string | null;
|
|
741
|
+
province: string | null;
|
|
630
742
|
raw: import("../integrations/supabase/types").Json | null;
|
|
743
|
+
self_pickup: boolean;
|
|
744
|
+
street: string | null;
|
|
631
745
|
updated_at: string;
|
|
632
746
|
};
|
|
633
747
|
Insert: {
|
|
634
748
|
address_line?: string | null;
|
|
749
|
+
carrier_assignment_source?: string;
|
|
750
|
+
carrier_id?: string | null;
|
|
635
751
|
city?: string | null;
|
|
636
752
|
country?: string | null;
|
|
637
753
|
created_at?: string;
|
|
638
754
|
customer_id: string;
|
|
639
755
|
floriday_location_id?: string | null;
|
|
640
756
|
gln?: string | null;
|
|
757
|
+
house_number?: string | null;
|
|
641
758
|
id?: string;
|
|
642
759
|
is_primary?: boolean;
|
|
643
760
|
name?: string | null;
|
|
644
761
|
postal_code?: string | null;
|
|
762
|
+
province?: string | null;
|
|
645
763
|
raw?: import("../integrations/supabase/types").Json | null;
|
|
764
|
+
self_pickup?: boolean;
|
|
765
|
+
street?: string | null;
|
|
646
766
|
updated_at?: string;
|
|
647
767
|
};
|
|
648
768
|
Update: {
|
|
649
769
|
address_line?: string | null;
|
|
770
|
+
carrier_assignment_source?: string;
|
|
771
|
+
carrier_id?: string | null;
|
|
650
772
|
city?: string | null;
|
|
651
773
|
country?: string | null;
|
|
652
774
|
created_at?: string;
|
|
653
775
|
customer_id?: string;
|
|
654
776
|
floriday_location_id?: string | null;
|
|
655
777
|
gln?: string | null;
|
|
778
|
+
house_number?: string | null;
|
|
656
779
|
id?: string;
|
|
657
780
|
is_primary?: boolean;
|
|
658
781
|
name?: string | null;
|
|
659
782
|
postal_code?: string | null;
|
|
783
|
+
province?: string | null;
|
|
660
784
|
raw?: import("../integrations/supabase/types").Json | null;
|
|
785
|
+
self_pickup?: boolean;
|
|
786
|
+
street?: string | null;
|
|
661
787
|
updated_at?: string;
|
|
662
788
|
};
|
|
663
789
|
Relationships: [{
|
|
790
|
+
foreignKeyName: "customer_delivery_locations_carrier_id_fkey";
|
|
791
|
+
columns: ["carrier_id"];
|
|
792
|
+
isOneToOne: false;
|
|
793
|
+
referencedRelation: "carriers";
|
|
794
|
+
referencedColumns: ["id"];
|
|
795
|
+
}, {
|
|
664
796
|
foreignKeyName: "customer_delivery_locations_customer_id_fkey";
|
|
665
797
|
columns: ["customer_id"];
|
|
666
798
|
isOneToOne: false;
|
|
@@ -1465,18 +1597,21 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
1465
1597
|
};
|
|
1466
1598
|
email_auth_purpose_settings: {
|
|
1467
1599
|
Row: {
|
|
1600
|
+
default_cc: string[];
|
|
1468
1601
|
purpose: string;
|
|
1469
1602
|
reply_to: string | null;
|
|
1470
1603
|
updated_at: string;
|
|
1471
1604
|
updated_by: string | null;
|
|
1472
1605
|
};
|
|
1473
1606
|
Insert: {
|
|
1607
|
+
default_cc?: string[];
|
|
1474
1608
|
purpose: string;
|
|
1475
1609
|
reply_to?: string | null;
|
|
1476
1610
|
updated_at?: string;
|
|
1477
1611
|
updated_by?: string | null;
|
|
1478
1612
|
};
|
|
1479
1613
|
Update: {
|
|
1614
|
+
default_cc?: string[];
|
|
1480
1615
|
purpose?: string;
|
|
1481
1616
|
reply_to?: string | null;
|
|
1482
1617
|
updated_at?: string;
|
|
@@ -2489,12 +2624,40 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2489
2624
|
};
|
|
2490
2625
|
Relationships: [];
|
|
2491
2626
|
};
|
|
2627
|
+
extra_pricing_types: {
|
|
2628
|
+
Row: {
|
|
2629
|
+
code: string;
|
|
2630
|
+
created_at: string;
|
|
2631
|
+
id: string;
|
|
2632
|
+
label: string;
|
|
2633
|
+
sort_order: number;
|
|
2634
|
+
updated_at: string;
|
|
2635
|
+
};
|
|
2636
|
+
Insert: {
|
|
2637
|
+
code: string;
|
|
2638
|
+
created_at?: string;
|
|
2639
|
+
id?: string;
|
|
2640
|
+
label: string;
|
|
2641
|
+
sort_order?: number;
|
|
2642
|
+
updated_at?: string;
|
|
2643
|
+
};
|
|
2644
|
+
Update: {
|
|
2645
|
+
code?: string;
|
|
2646
|
+
created_at?: string;
|
|
2647
|
+
id?: string;
|
|
2648
|
+
label?: string;
|
|
2649
|
+
sort_order?: number;
|
|
2650
|
+
updated_at?: string;
|
|
2651
|
+
};
|
|
2652
|
+
Relationships: [];
|
|
2653
|
+
};
|
|
2492
2654
|
extras: {
|
|
2493
2655
|
Row: {
|
|
2494
2656
|
category: string;
|
|
2495
2657
|
created_at: string;
|
|
2496
2658
|
exact_article_id: string | null;
|
|
2497
2659
|
id: string;
|
|
2660
|
+
image_url: string | null;
|
|
2498
2661
|
is_active: boolean;
|
|
2499
2662
|
name: string;
|
|
2500
2663
|
price: number;
|
|
@@ -2505,6 +2668,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2505
2668
|
created_at?: string;
|
|
2506
2669
|
exact_article_id?: string | null;
|
|
2507
2670
|
id?: string;
|
|
2671
|
+
image_url?: string | null;
|
|
2508
2672
|
is_active?: boolean;
|
|
2509
2673
|
name: string;
|
|
2510
2674
|
price?: number;
|
|
@@ -2515,6 +2679,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2515
2679
|
created_at?: string;
|
|
2516
2680
|
exact_article_id?: string | null;
|
|
2517
2681
|
id?: string;
|
|
2682
|
+
image_url?: string | null;
|
|
2518
2683
|
is_active?: boolean;
|
|
2519
2684
|
name?: string;
|
|
2520
2685
|
price?: number;
|
|
@@ -2612,231 +2777,1299 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2612
2777
|
};
|
|
2613
2778
|
Relationships: [];
|
|
2614
2779
|
};
|
|
2615
|
-
|
|
2780
|
+
floriday_additional_services_cache: {
|
|
2616
2781
|
Row: {
|
|
2617
|
-
connection_id: string
|
|
2618
|
-
created_at: string;
|
|
2782
|
+
connection_id: string;
|
|
2619
2783
|
data: import("../integrations/supabase/types").Json;
|
|
2620
2784
|
fetched_at: string;
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
organization_id: string;
|
|
2785
|
+
floriday_id: string;
|
|
2786
|
+
is_deleted: boolean;
|
|
2787
|
+
sequence_number: number;
|
|
2625
2788
|
updated_at: string;
|
|
2626
2789
|
};
|
|
2627
2790
|
Insert: {
|
|
2628
|
-
connection_id
|
|
2629
|
-
created_at?: string;
|
|
2791
|
+
connection_id: string;
|
|
2630
2792
|
data: import("../integrations/supabase/types").Json;
|
|
2631
2793
|
fetched_at?: string;
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
organization_id: string;
|
|
2794
|
+
floriday_id: string;
|
|
2795
|
+
is_deleted?: boolean;
|
|
2796
|
+
sequence_number?: number;
|
|
2636
2797
|
updated_at?: string;
|
|
2637
2798
|
};
|
|
2638
2799
|
Update: {
|
|
2639
|
-
connection_id?: string
|
|
2640
|
-
created_at?: string;
|
|
2800
|
+
connection_id?: string;
|
|
2641
2801
|
data?: import("../integrations/supabase/types").Json;
|
|
2642
2802
|
fetched_at?: string;
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
organization_id?: string;
|
|
2803
|
+
floriday_id?: string;
|
|
2804
|
+
is_deleted?: boolean;
|
|
2805
|
+
sequence_number?: number;
|
|
2647
2806
|
updated_at?: string;
|
|
2648
2807
|
};
|
|
2649
2808
|
Relationships: [{
|
|
2650
|
-
foreignKeyName: "
|
|
2809
|
+
foreignKeyName: "floriday_additional_services_cache_connection_id_fkey";
|
|
2651
2810
|
columns: ["connection_id"];
|
|
2652
2811
|
isOneToOne: false;
|
|
2653
2812
|
referencedRelation: "floriday_connections";
|
|
2654
2813
|
referencedColumns: ["id"];
|
|
2655
2814
|
}];
|
|
2656
2815
|
};
|
|
2657
|
-
|
|
2816
|
+
floriday_agreement_calloffs_cache: {
|
|
2658
2817
|
Row: {
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
environment: string;
|
|
2666
|
-
gln_code: string | null;
|
|
2818
|
+
agreement_id: string | null;
|
|
2819
|
+
connection_id: string;
|
|
2820
|
+
data: import("../integrations/supabase/types").Json;
|
|
2821
|
+
delivery_date: string | null;
|
|
2822
|
+
fetched_at: string;
|
|
2823
|
+
floriday_id: string;
|
|
2667
2824
|
id: string;
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
preferred_warehouse_id: string | null;
|
|
2672
|
-
preferred_warehouse_name: string | null;
|
|
2673
|
-
token_expires_at: string | null;
|
|
2825
|
+
is_deleted: boolean;
|
|
2826
|
+
sequence_number: number;
|
|
2827
|
+
status: string | null;
|
|
2674
2828
|
updated_at: string;
|
|
2675
2829
|
};
|
|
2676
2830
|
Insert: {
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
environment: string;
|
|
2684
|
-
gln_code?: string | null;
|
|
2831
|
+
agreement_id?: string | null;
|
|
2832
|
+
connection_id: string;
|
|
2833
|
+
data?: import("../integrations/supabase/types").Json;
|
|
2834
|
+
delivery_date?: string | null;
|
|
2835
|
+
fetched_at?: string;
|
|
2836
|
+
floriday_id: string;
|
|
2685
2837
|
id?: string;
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
preferred_warehouse_id?: string | null;
|
|
2690
|
-
preferred_warehouse_name?: string | null;
|
|
2691
|
-
token_expires_at?: string | null;
|
|
2838
|
+
is_deleted?: boolean;
|
|
2839
|
+
sequence_number?: number;
|
|
2840
|
+
status?: string | null;
|
|
2692
2841
|
updated_at?: string;
|
|
2693
2842
|
};
|
|
2694
2843
|
Update: {
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
environment?: string;
|
|
2702
|
-
gln_code?: string | null;
|
|
2844
|
+
agreement_id?: string | null;
|
|
2845
|
+
connection_id?: string;
|
|
2846
|
+
data?: import("../integrations/supabase/types").Json;
|
|
2847
|
+
delivery_date?: string | null;
|
|
2848
|
+
fetched_at?: string;
|
|
2849
|
+
floriday_id?: string;
|
|
2703
2850
|
id?: string;
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
preferred_warehouse_id?: string | null;
|
|
2708
|
-
preferred_warehouse_name?: string | null;
|
|
2709
|
-
token_expires_at?: string | null;
|
|
2851
|
+
is_deleted?: boolean;
|
|
2852
|
+
sequence_number?: number;
|
|
2853
|
+
status?: string | null;
|
|
2710
2854
|
updated_at?: string;
|
|
2711
2855
|
};
|
|
2712
|
-
Relationships: [
|
|
2856
|
+
Relationships: [{
|
|
2857
|
+
foreignKeyName: "floriday_agreement_calloffs_cache_connection_id_fkey";
|
|
2858
|
+
columns: ["connection_id"];
|
|
2859
|
+
isOneToOne: false;
|
|
2860
|
+
referencedRelation: "floriday_connections";
|
|
2861
|
+
referencedColumns: ["id"];
|
|
2862
|
+
}];
|
|
2713
2863
|
};
|
|
2714
|
-
|
|
2864
|
+
floriday_agreements_cache: {
|
|
2715
2865
|
Row: {
|
|
2716
2866
|
buyer_organization_id: string | null;
|
|
2717
|
-
buyer_organization_name: string | null;
|
|
2718
2867
|
connection_id: string;
|
|
2719
2868
|
data: import("../integrations/supabase/types").Json;
|
|
2720
|
-
|
|
2869
|
+
fetched_at: string;
|
|
2870
|
+
floriday_id: string;
|
|
2871
|
+
id: string;
|
|
2721
2872
|
is_deleted: boolean;
|
|
2722
2873
|
sequence_number: number;
|
|
2723
2874
|
status: string | null;
|
|
2724
|
-
|
|
2875
|
+
updated_at: string;
|
|
2876
|
+
valid_from: string | null;
|
|
2877
|
+
valid_until: string | null;
|
|
2725
2878
|
};
|
|
2726
2879
|
Insert: {
|
|
2727
2880
|
buyer_organization_id?: string | null;
|
|
2728
|
-
buyer_organization_name?: string | null;
|
|
2729
2881
|
connection_id: string;
|
|
2730
|
-
data
|
|
2731
|
-
|
|
2882
|
+
data?: import("../integrations/supabase/types").Json;
|
|
2883
|
+
fetched_at?: string;
|
|
2884
|
+
floriday_id: string;
|
|
2885
|
+
id?: string;
|
|
2732
2886
|
is_deleted?: boolean;
|
|
2733
|
-
sequence_number
|
|
2887
|
+
sequence_number?: number;
|
|
2734
2888
|
status?: string | null;
|
|
2735
|
-
|
|
2889
|
+
updated_at?: string;
|
|
2890
|
+
valid_from?: string | null;
|
|
2891
|
+
valid_until?: string | null;
|
|
2736
2892
|
};
|
|
2737
2893
|
Update: {
|
|
2738
2894
|
buyer_organization_id?: string | null;
|
|
2739
|
-
buyer_organization_name?: string | null;
|
|
2740
2895
|
connection_id?: string;
|
|
2741
2896
|
data?: import("../integrations/supabase/types").Json;
|
|
2742
|
-
|
|
2897
|
+
fetched_at?: string;
|
|
2898
|
+
floriday_id?: string;
|
|
2899
|
+
id?: string;
|
|
2743
2900
|
is_deleted?: boolean;
|
|
2744
2901
|
sequence_number?: number;
|
|
2745
2902
|
status?: string | null;
|
|
2746
|
-
|
|
2903
|
+
updated_at?: string;
|
|
2904
|
+
valid_from?: string | null;
|
|
2905
|
+
valid_until?: string | null;
|
|
2747
2906
|
};
|
|
2748
2907
|
Relationships: [{
|
|
2749
|
-
foreignKeyName: "
|
|
2908
|
+
foreignKeyName: "floriday_agreements_cache_connection_id_fkey";
|
|
2750
2909
|
columns: ["connection_id"];
|
|
2751
2910
|
isOneToOne: false;
|
|
2752
2911
|
referencedRelation: "floriday_connections";
|
|
2753
2912
|
referencedColumns: ["id"];
|
|
2754
2913
|
}];
|
|
2755
2914
|
};
|
|
2756
|
-
|
|
2915
|
+
floriday_auction_letters_cache: {
|
|
2757
2916
|
Row: {
|
|
2758
|
-
|
|
2759
|
-
|
|
2917
|
+
auction_letter_code: string;
|
|
2918
|
+
clock_supply_id: string;
|
|
2919
|
+
connection_id: string;
|
|
2920
|
+
content_type: string;
|
|
2760
2921
|
fetched_at: string;
|
|
2761
|
-
|
|
2922
|
+
id: string;
|
|
2923
|
+
storage_path: string;
|
|
2762
2924
|
};
|
|
2763
2925
|
Insert: {
|
|
2764
|
-
|
|
2765
|
-
|
|
2926
|
+
auction_letter_code: string;
|
|
2927
|
+
clock_supply_id: string;
|
|
2928
|
+
connection_id: string;
|
|
2929
|
+
content_type?: string;
|
|
2766
2930
|
fetched_at?: string;
|
|
2767
|
-
|
|
2931
|
+
id?: string;
|
|
2932
|
+
storage_path: string;
|
|
2768
2933
|
};
|
|
2769
2934
|
Update: {
|
|
2770
|
-
|
|
2771
|
-
|
|
2935
|
+
auction_letter_code?: string;
|
|
2936
|
+
clock_supply_id?: string;
|
|
2937
|
+
connection_id?: string;
|
|
2938
|
+
content_type?: string;
|
|
2772
2939
|
fetched_at?: string;
|
|
2773
|
-
|
|
2940
|
+
id?: string;
|
|
2941
|
+
storage_path?: string;
|
|
2774
2942
|
};
|
|
2775
2943
|
Relationships: [{
|
|
2776
|
-
foreignKeyName: "
|
|
2944
|
+
foreignKeyName: "floriday_auction_letters_cache_connection_id_fkey";
|
|
2777
2945
|
columns: ["connection_id"];
|
|
2778
2946
|
isOneToOne: false;
|
|
2779
2947
|
referencedRelation: "floriday_connections";
|
|
2780
2948
|
referencedColumns: ["id"];
|
|
2781
2949
|
}];
|
|
2782
2950
|
};
|
|
2783
|
-
|
|
2951
|
+
floriday_base_items_cache: {
|
|
2784
2952
|
Row: {
|
|
2785
|
-
city: string | null;
|
|
2786
2953
|
connection_id: string;
|
|
2787
|
-
country: string | null;
|
|
2788
2954
|
data: import("../integrations/supabase/types").Json;
|
|
2789
2955
|
fetched_at: string;
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2956
|
+
floriday_id: string;
|
|
2957
|
+
is_deleted: boolean;
|
|
2958
|
+
sequence_number: number;
|
|
2959
|
+
updated_at: string;
|
|
2793
2960
|
};
|
|
2794
2961
|
Insert: {
|
|
2795
|
-
city?: string | null;
|
|
2796
2962
|
connection_id: string;
|
|
2797
|
-
|
|
2798
|
-
data?: import("../integrations/supabase/types").Json;
|
|
2963
|
+
data: import("../integrations/supabase/types").Json;
|
|
2799
2964
|
fetched_at?: string;
|
|
2800
|
-
|
|
2965
|
+
floriday_id: string;
|
|
2966
|
+
is_deleted?: boolean;
|
|
2967
|
+
sequence_number?: number;
|
|
2968
|
+
updated_at?: string;
|
|
2969
|
+
};
|
|
2970
|
+
Update: {
|
|
2971
|
+
connection_id?: string;
|
|
2972
|
+
data?: import("../integrations/supabase/types").Json;
|
|
2973
|
+
fetched_at?: string;
|
|
2974
|
+
floriday_id?: string;
|
|
2975
|
+
is_deleted?: boolean;
|
|
2976
|
+
sequence_number?: number;
|
|
2977
|
+
updated_at?: string;
|
|
2978
|
+
};
|
|
2979
|
+
Relationships: [{
|
|
2980
|
+
foreignKeyName: "floriday_base_items_cache_connection_id_fkey";
|
|
2981
|
+
columns: ["connection_id"];
|
|
2982
|
+
isOneToOne: false;
|
|
2983
|
+
referencedRelation: "floriday_connections";
|
|
2984
|
+
referencedColumns: ["id"];
|
|
2985
|
+
}];
|
|
2986
|
+
};
|
|
2987
|
+
floriday_blanket_orders_cache: {
|
|
2988
|
+
Row: {
|
|
2989
|
+
connection_id: string;
|
|
2990
|
+
contract_id: string | null;
|
|
2991
|
+
created_at: string;
|
|
2992
|
+
data: import("../integrations/supabase/types").Json;
|
|
2993
|
+
fetched_at: string;
|
|
2994
|
+
floriday_id: string;
|
|
2995
|
+
id: string;
|
|
2996
|
+
is_deleted: boolean;
|
|
2997
|
+
sequence_number: number;
|
|
2998
|
+
updated_at: string;
|
|
2999
|
+
};
|
|
3000
|
+
Insert: {
|
|
3001
|
+
connection_id: string;
|
|
3002
|
+
contract_id?: string | null;
|
|
3003
|
+
created_at?: string;
|
|
3004
|
+
data: import("../integrations/supabase/types").Json;
|
|
3005
|
+
fetched_at?: string;
|
|
3006
|
+
floriday_id: string;
|
|
3007
|
+
id?: string;
|
|
3008
|
+
is_deleted?: boolean;
|
|
3009
|
+
sequence_number?: number;
|
|
3010
|
+
updated_at?: string;
|
|
3011
|
+
};
|
|
3012
|
+
Update: {
|
|
3013
|
+
connection_id?: string;
|
|
3014
|
+
contract_id?: string | null;
|
|
3015
|
+
created_at?: string;
|
|
3016
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3017
|
+
fetched_at?: string;
|
|
3018
|
+
floriday_id?: string;
|
|
3019
|
+
id?: string;
|
|
3020
|
+
is_deleted?: boolean;
|
|
3021
|
+
sequence_number?: number;
|
|
3022
|
+
updated_at?: string;
|
|
3023
|
+
};
|
|
3024
|
+
Relationships: [{
|
|
3025
|
+
foreignKeyName: "floriday_blanket_orders_cache_connection_id_fkey";
|
|
3026
|
+
columns: ["connection_id"];
|
|
3027
|
+
isOneToOne: false;
|
|
3028
|
+
referencedRelation: "floriday_connections";
|
|
3029
|
+
referencedColumns: ["id"];
|
|
3030
|
+
}];
|
|
3031
|
+
};
|
|
3032
|
+
floriday_carriers_cache: {
|
|
3033
|
+
Row: {
|
|
3034
|
+
connection_id: string | null;
|
|
3035
|
+
created_at: string;
|
|
3036
|
+
data: import("../integrations/supabase/types").Json;
|
|
3037
|
+
fetched_at: string;
|
|
3038
|
+
gln_code: string | null;
|
|
3039
|
+
id: string;
|
|
3040
|
+
name: string | null;
|
|
3041
|
+
organization_id: string;
|
|
3042
|
+
updated_at: string;
|
|
3043
|
+
};
|
|
3044
|
+
Insert: {
|
|
3045
|
+
connection_id?: string | null;
|
|
3046
|
+
created_at?: string;
|
|
3047
|
+
data: import("../integrations/supabase/types").Json;
|
|
3048
|
+
fetched_at?: string;
|
|
3049
|
+
gln_code?: string | null;
|
|
3050
|
+
id?: string;
|
|
3051
|
+
name?: string | null;
|
|
3052
|
+
organization_id: string;
|
|
3053
|
+
updated_at?: string;
|
|
3054
|
+
};
|
|
3055
|
+
Update: {
|
|
3056
|
+
connection_id?: string | null;
|
|
3057
|
+
created_at?: string;
|
|
3058
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3059
|
+
fetched_at?: string;
|
|
3060
|
+
gln_code?: string | null;
|
|
3061
|
+
id?: string;
|
|
3062
|
+
name?: string | null;
|
|
3063
|
+
organization_id?: string;
|
|
3064
|
+
updated_at?: string;
|
|
3065
|
+
};
|
|
3066
|
+
Relationships: [{
|
|
3067
|
+
foreignKeyName: "floriday_carriers_cache_connection_id_fkey";
|
|
3068
|
+
columns: ["connection_id"];
|
|
3069
|
+
isOneToOne: false;
|
|
3070
|
+
referencedRelation: "floriday_connections";
|
|
3071
|
+
referencedColumns: ["id"];
|
|
3072
|
+
}];
|
|
3073
|
+
};
|
|
3074
|
+
floriday_clock_presales_cache: {
|
|
3075
|
+
Row: {
|
|
3076
|
+
buyer_organization_id: string | null;
|
|
3077
|
+
clock_supply_id: string | null;
|
|
3078
|
+
connection_id: string;
|
|
3079
|
+
data: import("../integrations/supabase/types").Json;
|
|
3080
|
+
fetched_at: string;
|
|
3081
|
+
floriday_id: string;
|
|
3082
|
+
id: string;
|
|
3083
|
+
is_deleted: boolean;
|
|
3084
|
+
sequence_number: number;
|
|
3085
|
+
updated_at: string;
|
|
3086
|
+
};
|
|
3087
|
+
Insert: {
|
|
3088
|
+
buyer_organization_id?: string | null;
|
|
3089
|
+
clock_supply_id?: string | null;
|
|
3090
|
+
connection_id: string;
|
|
3091
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3092
|
+
fetched_at?: string;
|
|
3093
|
+
floriday_id: string;
|
|
3094
|
+
id?: string;
|
|
3095
|
+
is_deleted?: boolean;
|
|
3096
|
+
sequence_number?: number;
|
|
3097
|
+
updated_at?: string;
|
|
3098
|
+
};
|
|
3099
|
+
Update: {
|
|
3100
|
+
buyer_organization_id?: string | null;
|
|
3101
|
+
clock_supply_id?: string | null;
|
|
3102
|
+
connection_id?: string;
|
|
3103
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3104
|
+
fetched_at?: string;
|
|
3105
|
+
floriday_id?: string;
|
|
3106
|
+
id?: string;
|
|
3107
|
+
is_deleted?: boolean;
|
|
3108
|
+
sequence_number?: number;
|
|
3109
|
+
updated_at?: string;
|
|
3110
|
+
};
|
|
3111
|
+
Relationships: [{
|
|
3112
|
+
foreignKeyName: "floriday_clock_presales_cache_connection_id_fkey";
|
|
3113
|
+
columns: ["connection_id"];
|
|
3114
|
+
isOneToOne: false;
|
|
3115
|
+
referencedRelation: "floriday_connections";
|
|
3116
|
+
referencedColumns: ["id"];
|
|
3117
|
+
}];
|
|
3118
|
+
};
|
|
3119
|
+
floriday_clock_supplies_cache: {
|
|
3120
|
+
Row: {
|
|
3121
|
+
auction_date: string | null;
|
|
3122
|
+
connection_id: string;
|
|
3123
|
+
data: import("../integrations/supabase/types").Json;
|
|
3124
|
+
fetched_at: string;
|
|
3125
|
+
floriday_id: string;
|
|
3126
|
+
id: string;
|
|
3127
|
+
is_deleted: boolean;
|
|
3128
|
+
sequence_number: number;
|
|
3129
|
+
status: string | null;
|
|
3130
|
+
trade_item_id: string | null;
|
|
3131
|
+
updated_at: string;
|
|
3132
|
+
};
|
|
3133
|
+
Insert: {
|
|
3134
|
+
auction_date?: string | null;
|
|
3135
|
+
connection_id: string;
|
|
3136
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3137
|
+
fetched_at?: string;
|
|
3138
|
+
floriday_id: string;
|
|
3139
|
+
id?: string;
|
|
3140
|
+
is_deleted?: boolean;
|
|
3141
|
+
sequence_number?: number;
|
|
3142
|
+
status?: string | null;
|
|
3143
|
+
trade_item_id?: string | null;
|
|
3144
|
+
updated_at?: string;
|
|
3145
|
+
};
|
|
3146
|
+
Update: {
|
|
3147
|
+
auction_date?: string | null;
|
|
3148
|
+
connection_id?: string;
|
|
3149
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3150
|
+
fetched_at?: string;
|
|
3151
|
+
floriday_id?: string;
|
|
3152
|
+
id?: string;
|
|
3153
|
+
is_deleted?: boolean;
|
|
3154
|
+
sequence_number?: number;
|
|
3155
|
+
status?: string | null;
|
|
3156
|
+
trade_item_id?: string | null;
|
|
3157
|
+
updated_at?: string;
|
|
3158
|
+
};
|
|
3159
|
+
Relationships: [{
|
|
3160
|
+
foreignKeyName: "floriday_clock_supplies_cache_connection_id_fkey";
|
|
3161
|
+
columns: ["connection_id"];
|
|
3162
|
+
isOneToOne: false;
|
|
3163
|
+
referencedRelation: "floriday_connections";
|
|
3164
|
+
referencedColumns: ["id"];
|
|
3165
|
+
}];
|
|
3166
|
+
};
|
|
3167
|
+
floriday_code_lists_cache: {
|
|
3168
|
+
Row: {
|
|
3169
|
+
code: string;
|
|
3170
|
+
environment: string;
|
|
3171
|
+
label: string | null;
|
|
3172
|
+
list_name: string;
|
|
3173
|
+
payload: import("../integrations/supabase/types").Json | null;
|
|
3174
|
+
updated_at: string;
|
|
3175
|
+
};
|
|
3176
|
+
Insert: {
|
|
3177
|
+
code: string;
|
|
3178
|
+
environment: string;
|
|
3179
|
+
label?: string | null;
|
|
3180
|
+
list_name: string;
|
|
3181
|
+
payload?: import("../integrations/supabase/types").Json | null;
|
|
3182
|
+
updated_at?: string;
|
|
3183
|
+
};
|
|
3184
|
+
Update: {
|
|
3185
|
+
code?: string;
|
|
3186
|
+
environment?: string;
|
|
3187
|
+
label?: string | null;
|
|
3188
|
+
list_name?: string;
|
|
3189
|
+
payload?: import("../integrations/supabase/types").Json | null;
|
|
3190
|
+
updated_at?: string;
|
|
3191
|
+
};
|
|
3192
|
+
Relationships: [];
|
|
3193
|
+
};
|
|
3194
|
+
floriday_collections_cache: {
|
|
3195
|
+
Row: {
|
|
3196
|
+
connection_id: string;
|
|
3197
|
+
data: import("../integrations/supabase/types").Json;
|
|
3198
|
+
fetched_at: string;
|
|
3199
|
+
floriday_id: string;
|
|
3200
|
+
is_deleted: boolean;
|
|
3201
|
+
sequence_number: number;
|
|
3202
|
+
updated_at: string;
|
|
3203
|
+
};
|
|
3204
|
+
Insert: {
|
|
3205
|
+
connection_id: string;
|
|
3206
|
+
data: import("../integrations/supabase/types").Json;
|
|
3207
|
+
fetched_at?: string;
|
|
3208
|
+
floriday_id: string;
|
|
3209
|
+
is_deleted?: boolean;
|
|
3210
|
+
sequence_number?: number;
|
|
3211
|
+
updated_at?: string;
|
|
3212
|
+
};
|
|
3213
|
+
Update: {
|
|
3214
|
+
connection_id?: string;
|
|
3215
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3216
|
+
fetched_at?: string;
|
|
3217
|
+
floriday_id?: string;
|
|
3218
|
+
is_deleted?: boolean;
|
|
3219
|
+
sequence_number?: number;
|
|
3220
|
+
updated_at?: string;
|
|
3221
|
+
};
|
|
3222
|
+
Relationships: [{
|
|
3223
|
+
foreignKeyName: "floriday_collections_cache_connection_id_fkey";
|
|
3224
|
+
columns: ["connection_id"];
|
|
3225
|
+
isOneToOne: false;
|
|
3226
|
+
referencedRelation: "floriday_connections";
|
|
3227
|
+
referencedColumns: ["id"];
|
|
3228
|
+
}];
|
|
3229
|
+
};
|
|
3230
|
+
floriday_commercial_service_types_cache: {
|
|
3231
|
+
Row: {
|
|
3232
|
+
connection_id: string;
|
|
3233
|
+
data: import("../integrations/supabase/types").Json;
|
|
3234
|
+
fetched_at: string;
|
|
3235
|
+
floriday_id: string;
|
|
3236
|
+
is_deleted: boolean;
|
|
3237
|
+
sequence_number: number;
|
|
3238
|
+
updated_at: string;
|
|
3239
|
+
};
|
|
3240
|
+
Insert: {
|
|
3241
|
+
connection_id: string;
|
|
3242
|
+
data: import("../integrations/supabase/types").Json;
|
|
3243
|
+
fetched_at?: string;
|
|
3244
|
+
floriday_id: string;
|
|
3245
|
+
is_deleted?: boolean;
|
|
3246
|
+
sequence_number?: number;
|
|
3247
|
+
updated_at?: string;
|
|
3248
|
+
};
|
|
3249
|
+
Update: {
|
|
3250
|
+
connection_id?: string;
|
|
3251
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3252
|
+
fetched_at?: string;
|
|
3253
|
+
floriday_id?: string;
|
|
3254
|
+
is_deleted?: boolean;
|
|
3255
|
+
sequence_number?: number;
|
|
3256
|
+
updated_at?: string;
|
|
3257
|
+
};
|
|
3258
|
+
Relationships: [{
|
|
3259
|
+
foreignKeyName: "floriday_commercial_service_types_cache_connection_id_fkey";
|
|
3260
|
+
columns: ["connection_id"];
|
|
3261
|
+
isOneToOne: false;
|
|
3262
|
+
referencedRelation: "floriday_connections";
|
|
3263
|
+
referencedColumns: ["id"];
|
|
3264
|
+
}];
|
|
3265
|
+
};
|
|
3266
|
+
floriday_connections: {
|
|
3267
|
+
Row: {
|
|
3268
|
+
access_token: string | null;
|
|
3269
|
+
api_key: string;
|
|
3270
|
+
client_id: string;
|
|
3271
|
+
client_secret: string;
|
|
3272
|
+
created_at: string;
|
|
3273
|
+
customers_endpoint: string | null;
|
|
3274
|
+
environment: string;
|
|
3275
|
+
gln_code: string | null;
|
|
3276
|
+
id: string;
|
|
3277
|
+
is_active: boolean;
|
|
3278
|
+
label: string;
|
|
3279
|
+
organization_name: string | null;
|
|
3280
|
+
preferred_warehouse_id: string | null;
|
|
3281
|
+
preferred_warehouse_name: string | null;
|
|
3282
|
+
token_expires_at: string | null;
|
|
3283
|
+
updated_at: string;
|
|
3284
|
+
};
|
|
3285
|
+
Insert: {
|
|
3286
|
+
access_token?: string | null;
|
|
3287
|
+
api_key: string;
|
|
3288
|
+
client_id: string;
|
|
3289
|
+
client_secret: string;
|
|
3290
|
+
created_at?: string;
|
|
3291
|
+
customers_endpoint?: string | null;
|
|
3292
|
+
environment: string;
|
|
3293
|
+
gln_code?: string | null;
|
|
3294
|
+
id?: string;
|
|
3295
|
+
is_active?: boolean;
|
|
3296
|
+
label?: string;
|
|
3297
|
+
organization_name?: string | null;
|
|
3298
|
+
preferred_warehouse_id?: string | null;
|
|
3299
|
+
preferred_warehouse_name?: string | null;
|
|
3300
|
+
token_expires_at?: string | null;
|
|
3301
|
+
updated_at?: string;
|
|
3302
|
+
};
|
|
3303
|
+
Update: {
|
|
3304
|
+
access_token?: string | null;
|
|
3305
|
+
api_key?: string;
|
|
3306
|
+
client_id?: string;
|
|
3307
|
+
client_secret?: string;
|
|
3308
|
+
created_at?: string;
|
|
3309
|
+
customers_endpoint?: string | null;
|
|
3310
|
+
environment?: string;
|
|
3311
|
+
gln_code?: string | null;
|
|
3312
|
+
id?: string;
|
|
3313
|
+
is_active?: boolean;
|
|
3314
|
+
label?: string;
|
|
3315
|
+
organization_name?: string | null;
|
|
3316
|
+
preferred_warehouse_id?: string | null;
|
|
3317
|
+
preferred_warehouse_name?: string | null;
|
|
3318
|
+
token_expires_at?: string | null;
|
|
3319
|
+
updated_at?: string;
|
|
3320
|
+
};
|
|
3321
|
+
Relationships: [];
|
|
3322
|
+
};
|
|
3323
|
+
floriday_connections_cache: {
|
|
3324
|
+
Row: {
|
|
3325
|
+
buyer_organization_id: string | null;
|
|
3326
|
+
buyer_organization_name: string | null;
|
|
3327
|
+
connection_id: string;
|
|
3328
|
+
data: import("../integrations/supabase/types").Json;
|
|
3329
|
+
floriday_connection_id: string;
|
|
3330
|
+
is_deleted: boolean;
|
|
3331
|
+
sequence_number: number;
|
|
3332
|
+
status: string | null;
|
|
3333
|
+
synced_at: string;
|
|
3334
|
+
};
|
|
3335
|
+
Insert: {
|
|
3336
|
+
buyer_organization_id?: string | null;
|
|
3337
|
+
buyer_organization_name?: string | null;
|
|
3338
|
+
connection_id: string;
|
|
3339
|
+
data: import("../integrations/supabase/types").Json;
|
|
3340
|
+
floriday_connection_id: string;
|
|
3341
|
+
is_deleted?: boolean;
|
|
3342
|
+
sequence_number: number;
|
|
3343
|
+
status?: string | null;
|
|
3344
|
+
synced_at?: string;
|
|
3345
|
+
};
|
|
3346
|
+
Update: {
|
|
3347
|
+
buyer_organization_id?: string | null;
|
|
3348
|
+
buyer_organization_name?: string | null;
|
|
3349
|
+
connection_id?: string;
|
|
3350
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3351
|
+
floriday_connection_id?: string;
|
|
3352
|
+
is_deleted?: boolean;
|
|
3353
|
+
sequence_number?: number;
|
|
3354
|
+
status?: string | null;
|
|
3355
|
+
synced_at?: string;
|
|
3356
|
+
};
|
|
3357
|
+
Relationships: [{
|
|
3358
|
+
foreignKeyName: "floriday_connections_cache_connection_id_fkey";
|
|
3359
|
+
columns: ["connection_id"];
|
|
3360
|
+
isOneToOne: false;
|
|
3361
|
+
referencedRelation: "floriday_connections";
|
|
3362
|
+
referencedColumns: ["id"];
|
|
3363
|
+
}];
|
|
3364
|
+
};
|
|
3365
|
+
floriday_contract_trade_item_groups_cache: {
|
|
3366
|
+
Row: {
|
|
3367
|
+
connection_id: string;
|
|
3368
|
+
data: import("../integrations/supabase/types").Json;
|
|
3369
|
+
fetched_at: string;
|
|
3370
|
+
floriday_id: string;
|
|
3371
|
+
is_deleted: boolean;
|
|
3372
|
+
sequence_number: number;
|
|
3373
|
+
updated_at: string;
|
|
3374
|
+
};
|
|
3375
|
+
Insert: {
|
|
3376
|
+
connection_id: string;
|
|
3377
|
+
data: import("../integrations/supabase/types").Json;
|
|
3378
|
+
fetched_at?: string;
|
|
3379
|
+
floriday_id: string;
|
|
3380
|
+
is_deleted?: boolean;
|
|
3381
|
+
sequence_number?: number;
|
|
3382
|
+
updated_at?: string;
|
|
3383
|
+
};
|
|
3384
|
+
Update: {
|
|
3385
|
+
connection_id?: string;
|
|
3386
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3387
|
+
fetched_at?: string;
|
|
3388
|
+
floriday_id?: string;
|
|
3389
|
+
is_deleted?: boolean;
|
|
3390
|
+
sequence_number?: number;
|
|
3391
|
+
updated_at?: string;
|
|
3392
|
+
};
|
|
3393
|
+
Relationships: [{
|
|
3394
|
+
foreignKeyName: "floriday_contract_trade_item_groups_cache_connection_id_fkey";
|
|
3395
|
+
columns: ["connection_id"];
|
|
3396
|
+
isOneToOne: false;
|
|
3397
|
+
referencedRelation: "floriday_connections";
|
|
3398
|
+
referencedColumns: ["id"];
|
|
3399
|
+
}];
|
|
3400
|
+
};
|
|
3401
|
+
floriday_contracts_cache: {
|
|
3402
|
+
Row: {
|
|
3403
|
+
connection_id: string;
|
|
3404
|
+
created_at: string;
|
|
3405
|
+
data: import("../integrations/supabase/types").Json;
|
|
3406
|
+
fetched_at: string;
|
|
3407
|
+
floriday_id: string;
|
|
3408
|
+
id: string;
|
|
3409
|
+
is_deleted: boolean;
|
|
3410
|
+
sequence_number: number;
|
|
3411
|
+
updated_at: string;
|
|
3412
|
+
};
|
|
3413
|
+
Insert: {
|
|
3414
|
+
connection_id: string;
|
|
3415
|
+
created_at?: string;
|
|
3416
|
+
data: import("../integrations/supabase/types").Json;
|
|
3417
|
+
fetched_at?: string;
|
|
3418
|
+
floriday_id: string;
|
|
3419
|
+
id?: string;
|
|
3420
|
+
is_deleted?: boolean;
|
|
3421
|
+
sequence_number?: number;
|
|
3422
|
+
updated_at?: string;
|
|
3423
|
+
};
|
|
3424
|
+
Update: {
|
|
3425
|
+
connection_id?: string;
|
|
3426
|
+
created_at?: string;
|
|
3427
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3428
|
+
fetched_at?: string;
|
|
3429
|
+
floriday_id?: string;
|
|
3430
|
+
id?: string;
|
|
3431
|
+
is_deleted?: boolean;
|
|
3432
|
+
sequence_number?: number;
|
|
3433
|
+
updated_at?: string;
|
|
3434
|
+
};
|
|
3435
|
+
Relationships: [{
|
|
3436
|
+
foreignKeyName: "floriday_contracts_cache_connection_id_fkey";
|
|
3437
|
+
columns: ["connection_id"];
|
|
3438
|
+
isOneToOne: false;
|
|
3439
|
+
referencedRelation: "floriday_connections";
|
|
3440
|
+
referencedColumns: ["id"];
|
|
3441
|
+
}];
|
|
3442
|
+
};
|
|
3443
|
+
floriday_customer_sticker_pdfs_cache: {
|
|
3444
|
+
Row: {
|
|
3445
|
+
byte_size: number | null;
|
|
3446
|
+
connection_id: string;
|
|
3447
|
+
content_type: string;
|
|
3448
|
+
created_at: string;
|
|
3449
|
+
fetched_at: string;
|
|
3450
|
+
id: string;
|
|
3451
|
+
sticker_id: string;
|
|
3452
|
+
storage_path: string;
|
|
3453
|
+
};
|
|
3454
|
+
Insert: {
|
|
3455
|
+
byte_size?: number | null;
|
|
3456
|
+
connection_id: string;
|
|
3457
|
+
content_type?: string;
|
|
3458
|
+
created_at?: string;
|
|
3459
|
+
fetched_at?: string;
|
|
3460
|
+
id?: string;
|
|
3461
|
+
sticker_id: string;
|
|
3462
|
+
storage_path: string;
|
|
3463
|
+
};
|
|
3464
|
+
Update: {
|
|
3465
|
+
byte_size?: number | null;
|
|
3466
|
+
connection_id?: string;
|
|
3467
|
+
content_type?: string;
|
|
3468
|
+
created_at?: string;
|
|
3469
|
+
fetched_at?: string;
|
|
3470
|
+
id?: string;
|
|
3471
|
+
sticker_id?: string;
|
|
3472
|
+
storage_path?: string;
|
|
3473
|
+
};
|
|
3474
|
+
Relationships: [{
|
|
3475
|
+
foreignKeyName: "floriday_customer_sticker_pdfs_cache_connection_id_fkey";
|
|
3476
|
+
columns: ["connection_id"];
|
|
3477
|
+
isOneToOne: false;
|
|
3478
|
+
referencedRelation: "floriday_connections";
|
|
3479
|
+
referencedColumns: ["id"];
|
|
3480
|
+
}];
|
|
3481
|
+
};
|
|
3482
|
+
floriday_customer_stickers_cache: {
|
|
3483
|
+
Row: {
|
|
3484
|
+
connection_id: string;
|
|
3485
|
+
created_at: string;
|
|
3486
|
+
data: import("../integrations/supabase/types").Json;
|
|
3487
|
+
fetched_at: string;
|
|
3488
|
+
floriday_id: string;
|
|
3489
|
+
id: string;
|
|
3490
|
+
is_deleted: boolean;
|
|
3491
|
+
quantity: number | null;
|
|
3492
|
+
sales_order_id: string | null;
|
|
3493
|
+
sequence_number: number;
|
|
3494
|
+
status: string | null;
|
|
3495
|
+
trade_item_id: string | null;
|
|
3496
|
+
updated_at: string;
|
|
3497
|
+
};
|
|
3498
|
+
Insert: {
|
|
3499
|
+
connection_id: string;
|
|
3500
|
+
created_at?: string;
|
|
3501
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3502
|
+
fetched_at?: string;
|
|
3503
|
+
floriday_id: string;
|
|
3504
|
+
id?: string;
|
|
3505
|
+
is_deleted?: boolean;
|
|
3506
|
+
quantity?: number | null;
|
|
3507
|
+
sales_order_id?: string | null;
|
|
3508
|
+
sequence_number?: number;
|
|
3509
|
+
status?: string | null;
|
|
3510
|
+
trade_item_id?: string | null;
|
|
3511
|
+
updated_at?: string;
|
|
3512
|
+
};
|
|
3513
|
+
Update: {
|
|
3514
|
+
connection_id?: string;
|
|
3515
|
+
created_at?: string;
|
|
3516
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3517
|
+
fetched_at?: string;
|
|
3518
|
+
floriday_id?: string;
|
|
3519
|
+
id?: string;
|
|
3520
|
+
is_deleted?: boolean;
|
|
3521
|
+
quantity?: number | null;
|
|
3522
|
+
sales_order_id?: string | null;
|
|
3523
|
+
sequence_number?: number;
|
|
3524
|
+
status?: string | null;
|
|
3525
|
+
trade_item_id?: string | null;
|
|
3526
|
+
updated_at?: string;
|
|
3527
|
+
};
|
|
3528
|
+
Relationships: [{
|
|
3529
|
+
foreignKeyName: "floriday_customer_stickers_cache_connection_id_fkey";
|
|
3530
|
+
columns: ["connection_id"];
|
|
3531
|
+
isOneToOne: false;
|
|
3532
|
+
referencedRelation: "floriday_connections";
|
|
3533
|
+
referencedColumns: ["id"];
|
|
3534
|
+
}];
|
|
3535
|
+
};
|
|
3536
|
+
floriday_customers_cache: {
|
|
3537
|
+
Row: {
|
|
3538
|
+
connection_id: string | null;
|
|
3539
|
+
data: import("../integrations/supabase/types").Json;
|
|
3540
|
+
fetched_at: string;
|
|
3541
|
+
gln_code: string | null;
|
|
3542
|
+
is_deleted: boolean;
|
|
3543
|
+
name: string | null;
|
|
3544
|
+
organization_id: string;
|
|
3545
|
+
sequence_number: number | null;
|
|
3546
|
+
};
|
|
3547
|
+
Insert: {
|
|
3548
|
+
connection_id?: string | null;
|
|
3549
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3550
|
+
fetched_at?: string;
|
|
3551
|
+
gln_code?: string | null;
|
|
3552
|
+
is_deleted?: boolean;
|
|
3553
|
+
name?: string | null;
|
|
3554
|
+
organization_id: string;
|
|
3555
|
+
sequence_number?: number | null;
|
|
3556
|
+
};
|
|
3557
|
+
Update: {
|
|
3558
|
+
connection_id?: string | null;
|
|
3559
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3560
|
+
fetched_at?: string;
|
|
3561
|
+
gln_code?: string | null;
|
|
3562
|
+
is_deleted?: boolean;
|
|
3563
|
+
name?: string | null;
|
|
3564
|
+
organization_id?: string;
|
|
3565
|
+
sequence_number?: number | null;
|
|
3566
|
+
};
|
|
3567
|
+
Relationships: [{
|
|
3568
|
+
foreignKeyName: "floriday_customers_cache_connection_id_fkey";
|
|
3569
|
+
columns: ["connection_id"];
|
|
3570
|
+
isOneToOne: false;
|
|
3571
|
+
referencedRelation: "floriday_connections";
|
|
3572
|
+
referencedColumns: ["id"];
|
|
3573
|
+
}];
|
|
3574
|
+
};
|
|
3575
|
+
floriday_delivery_condition_sets_cache: {
|
|
3576
|
+
Row: {
|
|
3577
|
+
connection_id: string;
|
|
3578
|
+
data: import("../integrations/supabase/types").Json;
|
|
3579
|
+
fetched_at: string;
|
|
3580
|
+
floriday_id: string;
|
|
3581
|
+
is_deleted: boolean;
|
|
3582
|
+
sequence_number: number;
|
|
3583
|
+
updated_at: string;
|
|
3584
|
+
};
|
|
3585
|
+
Insert: {
|
|
3586
|
+
connection_id: string;
|
|
3587
|
+
data: import("../integrations/supabase/types").Json;
|
|
3588
|
+
fetched_at?: string;
|
|
3589
|
+
floriday_id: string;
|
|
3590
|
+
is_deleted?: boolean;
|
|
3591
|
+
sequence_number?: number;
|
|
3592
|
+
updated_at?: string;
|
|
3593
|
+
};
|
|
3594
|
+
Update: {
|
|
3595
|
+
connection_id?: string;
|
|
3596
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3597
|
+
fetched_at?: string;
|
|
3598
|
+
floriday_id?: string;
|
|
3599
|
+
is_deleted?: boolean;
|
|
3600
|
+
sequence_number?: number;
|
|
3601
|
+
updated_at?: string;
|
|
3602
|
+
};
|
|
3603
|
+
Relationships: [{
|
|
3604
|
+
foreignKeyName: "floriday_delivery_condition_sets_cache_connection_id_fkey";
|
|
3605
|
+
columns: ["connection_id"];
|
|
3606
|
+
isOneToOne: false;
|
|
3607
|
+
referencedRelation: "floriday_connections";
|
|
3608
|
+
referencedColumns: ["id"];
|
|
3609
|
+
}];
|
|
3610
|
+
};
|
|
3611
|
+
floriday_delivery_locations_cache: {
|
|
3612
|
+
Row: {
|
|
3613
|
+
connection_id: string;
|
|
3614
|
+
data: import("../integrations/supabase/types").Json;
|
|
3615
|
+
fetched_at: string;
|
|
3616
|
+
floriday_id: string;
|
|
3617
|
+
gln_code: string | null;
|
|
3618
|
+
id: string;
|
|
3619
|
+
is_deleted: boolean;
|
|
3620
|
+
name: string | null;
|
|
3621
|
+
organization_id: string | null;
|
|
3622
|
+
updated_at: string;
|
|
3623
|
+
};
|
|
3624
|
+
Insert: {
|
|
3625
|
+
connection_id: string;
|
|
3626
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3627
|
+
fetched_at?: string;
|
|
3628
|
+
floriday_id: string;
|
|
3629
|
+
gln_code?: string | null;
|
|
3630
|
+
id?: string;
|
|
3631
|
+
is_deleted?: boolean;
|
|
3632
|
+
name?: string | null;
|
|
3633
|
+
organization_id?: string | null;
|
|
3634
|
+
updated_at?: string;
|
|
3635
|
+
};
|
|
3636
|
+
Update: {
|
|
3637
|
+
connection_id?: string;
|
|
3638
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3639
|
+
fetched_at?: string;
|
|
3640
|
+
floriday_id?: string;
|
|
3641
|
+
gln_code?: string | null;
|
|
3642
|
+
id?: string;
|
|
3643
|
+
is_deleted?: boolean;
|
|
3644
|
+
name?: string | null;
|
|
3645
|
+
organization_id?: string | null;
|
|
3646
|
+
updated_at?: string;
|
|
3647
|
+
};
|
|
3648
|
+
Relationships: [{
|
|
3649
|
+
foreignKeyName: "floriday_delivery_locations_cache_connection_id_fkey";
|
|
3650
|
+
columns: ["connection_id"];
|
|
3651
|
+
isOneToOne: false;
|
|
3652
|
+
referencedRelation: "floriday_connections";
|
|
3653
|
+
referencedColumns: ["id"];
|
|
3654
|
+
}];
|
|
3655
|
+
};
|
|
3656
|
+
floriday_delivery_orders_cache: {
|
|
3657
|
+
Row: {
|
|
3658
|
+
auction_date: string | null;
|
|
3659
|
+
connection_id: string;
|
|
3660
|
+
data: import("../integrations/supabase/types").Json;
|
|
3661
|
+
destination_warehouse_id: string | null;
|
|
3662
|
+
fetched_at: string;
|
|
3663
|
+
floriday_id: string;
|
|
3664
|
+
id: string;
|
|
3665
|
+
is_deleted: boolean;
|
|
3666
|
+
sequence_number: number;
|
|
3667
|
+
status: string | null;
|
|
3668
|
+
trade_item_id: string | null;
|
|
3669
|
+
updated_at: string;
|
|
3670
|
+
};
|
|
3671
|
+
Insert: {
|
|
3672
|
+
auction_date?: string | null;
|
|
3673
|
+
connection_id: string;
|
|
3674
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3675
|
+
destination_warehouse_id?: string | null;
|
|
3676
|
+
fetched_at?: string;
|
|
3677
|
+
floriday_id: string;
|
|
3678
|
+
id?: string;
|
|
3679
|
+
is_deleted?: boolean;
|
|
3680
|
+
sequence_number?: number;
|
|
3681
|
+
status?: string | null;
|
|
3682
|
+
trade_item_id?: string | null;
|
|
3683
|
+
updated_at?: string;
|
|
3684
|
+
};
|
|
3685
|
+
Update: {
|
|
3686
|
+
auction_date?: string | null;
|
|
3687
|
+
connection_id?: string;
|
|
3688
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3689
|
+
destination_warehouse_id?: string | null;
|
|
3690
|
+
fetched_at?: string;
|
|
3691
|
+
floriday_id?: string;
|
|
3692
|
+
id?: string;
|
|
3693
|
+
is_deleted?: boolean;
|
|
3694
|
+
sequence_number?: number;
|
|
3695
|
+
status?: string | null;
|
|
3696
|
+
trade_item_id?: string | null;
|
|
3697
|
+
updated_at?: string;
|
|
3698
|
+
};
|
|
3699
|
+
Relationships: [{
|
|
3700
|
+
foreignKeyName: "floriday_delivery_orders_cache_connection_id_fkey";
|
|
3701
|
+
columns: ["connection_id"];
|
|
3702
|
+
isOneToOne: false;
|
|
3703
|
+
referencedRelation: "floriday_connections";
|
|
3704
|
+
referencedColumns: ["id"];
|
|
3705
|
+
}];
|
|
3706
|
+
};
|
|
3707
|
+
floriday_fulfillment_orders_cache: {
|
|
3708
|
+
Row: {
|
|
3709
|
+
auction_date: string | null;
|
|
3710
|
+
connection_id: string;
|
|
3711
|
+
data: import("../integrations/supabase/types").Json;
|
|
3712
|
+
delivery_order_id: string | null;
|
|
3713
|
+
despatch_warehouse_id: string | null;
|
|
3714
|
+
destination_warehouse_id: string | null;
|
|
3715
|
+
fetched_at: string;
|
|
3716
|
+
floriday_id: string;
|
|
3717
|
+
id: string;
|
|
3718
|
+
is_deleted: boolean | null;
|
|
3719
|
+
latest_delivery_at: string | null;
|
|
3720
|
+
load_carrier_type: string | null;
|
|
3721
|
+
one_label_only: boolean | null;
|
|
3722
|
+
sequence_number: number;
|
|
3723
|
+
status: string | null;
|
|
3724
|
+
};
|
|
3725
|
+
Insert: {
|
|
3726
|
+
auction_date?: string | null;
|
|
3727
|
+
connection_id: string;
|
|
3728
|
+
data: import("../integrations/supabase/types").Json;
|
|
3729
|
+
delivery_order_id?: string | null;
|
|
3730
|
+
despatch_warehouse_id?: string | null;
|
|
3731
|
+
destination_warehouse_id?: string | null;
|
|
3732
|
+
fetched_at?: string;
|
|
3733
|
+
floriday_id: string;
|
|
3734
|
+
id?: string;
|
|
3735
|
+
is_deleted?: boolean | null;
|
|
3736
|
+
latest_delivery_at?: string | null;
|
|
3737
|
+
load_carrier_type?: string | null;
|
|
3738
|
+
one_label_only?: boolean | null;
|
|
3739
|
+
sequence_number?: number;
|
|
3740
|
+
status?: string | null;
|
|
3741
|
+
};
|
|
3742
|
+
Update: {
|
|
3743
|
+
auction_date?: string | null;
|
|
3744
|
+
connection_id?: string;
|
|
3745
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3746
|
+
delivery_order_id?: string | null;
|
|
3747
|
+
despatch_warehouse_id?: string | null;
|
|
3748
|
+
destination_warehouse_id?: string | null;
|
|
3749
|
+
fetched_at?: string;
|
|
3750
|
+
floriday_id?: string;
|
|
3751
|
+
id?: string;
|
|
3752
|
+
is_deleted?: boolean | null;
|
|
3753
|
+
latest_delivery_at?: string | null;
|
|
3754
|
+
load_carrier_type?: string | null;
|
|
3755
|
+
one_label_only?: boolean | null;
|
|
3756
|
+
sequence_number?: number;
|
|
3757
|
+
status?: string | null;
|
|
3758
|
+
};
|
|
3759
|
+
Relationships: [{
|
|
3760
|
+
foreignKeyName: "floriday_fulfillment_orders_cache_connection_id_fkey";
|
|
3761
|
+
columns: ["connection_id"];
|
|
3762
|
+
isOneToOne: false;
|
|
3763
|
+
referencedRelation: "floriday_connections";
|
|
3764
|
+
referencedColumns: ["id"];
|
|
3765
|
+
}];
|
|
3766
|
+
};
|
|
3767
|
+
floriday_invoices_cache: {
|
|
3768
|
+
Row: {
|
|
3769
|
+
buyer_organization_id: string | null;
|
|
3770
|
+
connection_id: string;
|
|
3771
|
+
currency: string | null;
|
|
3772
|
+
data: import("../integrations/supabase/types").Json;
|
|
3773
|
+
fetched_at: string;
|
|
3774
|
+
floriday_id: string;
|
|
3775
|
+
id: string;
|
|
3776
|
+
invoice_date: string | null;
|
|
3777
|
+
invoice_number: string | null;
|
|
3778
|
+
is_deleted: boolean;
|
|
3779
|
+
sequence_number: number;
|
|
3780
|
+
total_amount: number | null;
|
|
3781
|
+
updated_at: string;
|
|
3782
|
+
};
|
|
3783
|
+
Insert: {
|
|
3784
|
+
buyer_organization_id?: string | null;
|
|
3785
|
+
connection_id: string;
|
|
3786
|
+
currency?: string | null;
|
|
3787
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3788
|
+
fetched_at?: string;
|
|
3789
|
+
floriday_id: string;
|
|
3790
|
+
id?: string;
|
|
3791
|
+
invoice_date?: string | null;
|
|
3792
|
+
invoice_number?: string | null;
|
|
3793
|
+
is_deleted?: boolean;
|
|
3794
|
+
sequence_number?: number;
|
|
3795
|
+
total_amount?: number | null;
|
|
3796
|
+
updated_at?: string;
|
|
3797
|
+
};
|
|
3798
|
+
Update: {
|
|
3799
|
+
buyer_organization_id?: string | null;
|
|
3800
|
+
connection_id?: string;
|
|
3801
|
+
currency?: string | null;
|
|
3802
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3803
|
+
fetched_at?: string;
|
|
3804
|
+
floriday_id?: string;
|
|
3805
|
+
id?: string;
|
|
3806
|
+
invoice_date?: string | null;
|
|
3807
|
+
invoice_number?: string | null;
|
|
3808
|
+
is_deleted?: boolean;
|
|
3809
|
+
sequence_number?: number;
|
|
3810
|
+
total_amount?: number | null;
|
|
3811
|
+
updated_at?: string;
|
|
3812
|
+
};
|
|
3813
|
+
Relationships: [{
|
|
3814
|
+
foreignKeyName: "floriday_invoices_cache_connection_id_fkey";
|
|
3815
|
+
columns: ["connection_id"];
|
|
3816
|
+
isOneToOne: false;
|
|
3817
|
+
referencedRelation: "floriday_connections";
|
|
3818
|
+
referencedColumns: ["id"];
|
|
3819
|
+
}];
|
|
3820
|
+
};
|
|
3821
|
+
floriday_logistic_labels_cache: {
|
|
3822
|
+
Row: {
|
|
3823
|
+
byte_size: number | null;
|
|
3824
|
+
connection_id: string;
|
|
3825
|
+
content_type: string;
|
|
3826
|
+
fetched_at: string;
|
|
3827
|
+
fulfillment_order_id: string;
|
|
3828
|
+
id: string;
|
|
3829
|
+
logistic_label_code: string;
|
|
3830
|
+
storage_path: string;
|
|
3831
|
+
};
|
|
3832
|
+
Insert: {
|
|
3833
|
+
byte_size?: number | null;
|
|
3834
|
+
connection_id: string;
|
|
3835
|
+
content_type?: string;
|
|
3836
|
+
fetched_at?: string;
|
|
3837
|
+
fulfillment_order_id: string;
|
|
3838
|
+
id?: string;
|
|
3839
|
+
logistic_label_code: string;
|
|
3840
|
+
storage_path: string;
|
|
3841
|
+
};
|
|
3842
|
+
Update: {
|
|
3843
|
+
byte_size?: number | null;
|
|
3844
|
+
connection_id?: string;
|
|
3845
|
+
content_type?: string;
|
|
3846
|
+
fetched_at?: string;
|
|
3847
|
+
fulfillment_order_id?: string;
|
|
3848
|
+
id?: string;
|
|
3849
|
+
logistic_label_code?: string;
|
|
3850
|
+
storage_path?: string;
|
|
3851
|
+
};
|
|
3852
|
+
Relationships: [{
|
|
3853
|
+
foreignKeyName: "floriday_logistic_labels_cache_connection_id_fkey";
|
|
3854
|
+
columns: ["connection_id"];
|
|
3855
|
+
isOneToOne: false;
|
|
3856
|
+
referencedRelation: "floriday_connections";
|
|
3857
|
+
referencedColumns: ["id"];
|
|
3858
|
+
}];
|
|
3859
|
+
};
|
|
3860
|
+
floriday_network_cache: {
|
|
3861
|
+
Row: {
|
|
3862
|
+
city: string | null;
|
|
3863
|
+
connection_id: string;
|
|
3864
|
+
country: string | null;
|
|
3865
|
+
data: import("../integrations/supabase/types").Json;
|
|
3866
|
+
fetched_at: string;
|
|
3867
|
+
gln: string | null;
|
|
3868
|
+
organization_id: string;
|
|
3869
|
+
organization_name: string | null;
|
|
3870
|
+
};
|
|
3871
|
+
Insert: {
|
|
3872
|
+
city?: string | null;
|
|
3873
|
+
connection_id: string;
|
|
3874
|
+
country?: string | null;
|
|
3875
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3876
|
+
fetched_at?: string;
|
|
3877
|
+
gln?: string | null;
|
|
2801
3878
|
organization_id: string;
|
|
2802
3879
|
organization_name?: string | null;
|
|
2803
3880
|
};
|
|
2804
3881
|
Update: {
|
|
2805
|
-
city?: string | null;
|
|
3882
|
+
city?: string | null;
|
|
3883
|
+
connection_id?: string;
|
|
3884
|
+
country?: string | null;
|
|
3885
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3886
|
+
fetched_at?: string;
|
|
3887
|
+
gln?: string | null;
|
|
3888
|
+
organization_id?: string;
|
|
3889
|
+
organization_name?: string | null;
|
|
3890
|
+
};
|
|
3891
|
+
Relationships: [];
|
|
3892
|
+
};
|
|
3893
|
+
floriday_network_sync_state: {
|
|
3894
|
+
Row: {
|
|
3895
|
+
connection_id: string;
|
|
3896
|
+
last_error: string | null;
|
|
3897
|
+
last_sequence_number: number;
|
|
3898
|
+
last_synced_at: string | null;
|
|
3899
|
+
updated_at: string;
|
|
3900
|
+
};
|
|
3901
|
+
Insert: {
|
|
3902
|
+
connection_id: string;
|
|
3903
|
+
last_error?: string | null;
|
|
3904
|
+
last_sequence_number?: number;
|
|
3905
|
+
last_synced_at?: string | null;
|
|
3906
|
+
updated_at?: string;
|
|
3907
|
+
};
|
|
3908
|
+
Update: {
|
|
3909
|
+
connection_id?: string;
|
|
3910
|
+
last_error?: string | null;
|
|
3911
|
+
last_sequence_number?: number;
|
|
3912
|
+
last_synced_at?: string | null;
|
|
3913
|
+
updated_at?: string;
|
|
3914
|
+
};
|
|
3915
|
+
Relationships: [];
|
|
3916
|
+
};
|
|
3917
|
+
floriday_order_number_map: {
|
|
3918
|
+
Row: {
|
|
3919
|
+
created_at: string;
|
|
3920
|
+
floriday_id: string;
|
|
3921
|
+
order_number: string;
|
|
3922
|
+
};
|
|
3923
|
+
Insert: {
|
|
3924
|
+
created_at?: string;
|
|
3925
|
+
floriday_id: string;
|
|
3926
|
+
order_number: string;
|
|
3927
|
+
};
|
|
3928
|
+
Update: {
|
|
3929
|
+
created_at?: string;
|
|
3930
|
+
floriday_id?: string;
|
|
3931
|
+
order_number?: string;
|
|
3932
|
+
};
|
|
3933
|
+
Relationships: [];
|
|
3934
|
+
};
|
|
3935
|
+
floriday_packings_cache: {
|
|
3936
|
+
Row: {
|
|
3937
|
+
connection_id: string;
|
|
3938
|
+
data: import("../integrations/supabase/types").Json;
|
|
3939
|
+
fetched_at: string;
|
|
3940
|
+
floriday_id: string;
|
|
3941
|
+
id: string;
|
|
3942
|
+
is_deleted: boolean;
|
|
3943
|
+
sequence_number: number;
|
|
3944
|
+
updated_at: string;
|
|
3945
|
+
};
|
|
3946
|
+
Insert: {
|
|
3947
|
+
connection_id: string;
|
|
3948
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3949
|
+
fetched_at?: string;
|
|
3950
|
+
floriday_id: string;
|
|
3951
|
+
id?: string;
|
|
3952
|
+
is_deleted?: boolean;
|
|
3953
|
+
sequence_number?: number;
|
|
3954
|
+
updated_at?: string;
|
|
3955
|
+
};
|
|
3956
|
+
Update: {
|
|
2806
3957
|
connection_id?: string;
|
|
2807
|
-
country?: string | null;
|
|
2808
3958
|
data?: import("../integrations/supabase/types").Json;
|
|
2809
3959
|
fetched_at?: string;
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
3960
|
+
floriday_id?: string;
|
|
3961
|
+
id?: string;
|
|
3962
|
+
is_deleted?: boolean;
|
|
3963
|
+
sequence_number?: number;
|
|
3964
|
+
updated_at?: string;
|
|
2813
3965
|
};
|
|
2814
|
-
Relationships: [
|
|
3966
|
+
Relationships: [{
|
|
3967
|
+
foreignKeyName: "floriday_packings_cache_connection_id_fkey";
|
|
3968
|
+
columns: ["connection_id"];
|
|
3969
|
+
isOneToOne: false;
|
|
3970
|
+
referencedRelation: "floriday_connections";
|
|
3971
|
+
referencedColumns: ["id"];
|
|
3972
|
+
}];
|
|
2815
3973
|
};
|
|
2816
|
-
|
|
3974
|
+
floriday_price_groups_cache: {
|
|
2817
3975
|
Row: {
|
|
2818
3976
|
connection_id: string;
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
3977
|
+
data: import("../integrations/supabase/types").Json;
|
|
3978
|
+
fetched_at: string;
|
|
3979
|
+
floriday_id: string;
|
|
3980
|
+
is_deleted: boolean;
|
|
3981
|
+
sequence_number: number;
|
|
2822
3982
|
updated_at: string;
|
|
2823
3983
|
};
|
|
2824
3984
|
Insert: {
|
|
2825
3985
|
connection_id: string;
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
3986
|
+
data: import("../integrations/supabase/types").Json;
|
|
3987
|
+
fetched_at?: string;
|
|
3988
|
+
floriday_id: string;
|
|
3989
|
+
is_deleted?: boolean;
|
|
3990
|
+
sequence_number?: number;
|
|
2829
3991
|
updated_at?: string;
|
|
2830
3992
|
};
|
|
2831
3993
|
Update: {
|
|
2832
3994
|
connection_id?: string;
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
3995
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3996
|
+
fetched_at?: string;
|
|
3997
|
+
floriday_id?: string;
|
|
3998
|
+
is_deleted?: boolean;
|
|
3999
|
+
sequence_number?: number;
|
|
2836
4000
|
updated_at?: string;
|
|
2837
4001
|
};
|
|
4002
|
+
Relationships: [{
|
|
4003
|
+
foreignKeyName: "floriday_price_groups_cache_connection_id_fkey";
|
|
4004
|
+
columns: ["connection_id"];
|
|
4005
|
+
isOneToOne: false;
|
|
4006
|
+
referencedRelation: "floriday_connections";
|
|
4007
|
+
referencedColumns: ["id"];
|
|
4008
|
+
}];
|
|
4009
|
+
};
|
|
4010
|
+
floriday_resource_schemas: {
|
|
4011
|
+
Row: {
|
|
4012
|
+
enums: import("../integrations/supabase/types").Json;
|
|
4013
|
+
fetched_at: string;
|
|
4014
|
+
resource: string;
|
|
4015
|
+
schema: import("../integrations/supabase/types").Json;
|
|
4016
|
+
source_url: string | null;
|
|
4017
|
+
version: string;
|
|
4018
|
+
};
|
|
4019
|
+
Insert: {
|
|
4020
|
+
enums?: import("../integrations/supabase/types").Json;
|
|
4021
|
+
fetched_at?: string;
|
|
4022
|
+
resource: string;
|
|
4023
|
+
schema: import("../integrations/supabase/types").Json;
|
|
4024
|
+
source_url?: string | null;
|
|
4025
|
+
version: string;
|
|
4026
|
+
};
|
|
4027
|
+
Update: {
|
|
4028
|
+
enums?: import("../integrations/supabase/types").Json;
|
|
4029
|
+
fetched_at?: string;
|
|
4030
|
+
resource?: string;
|
|
4031
|
+
schema?: import("../integrations/supabase/types").Json;
|
|
4032
|
+
source_url?: string | null;
|
|
4033
|
+
version?: string;
|
|
4034
|
+
};
|
|
2838
4035
|
Relationships: [];
|
|
2839
4036
|
};
|
|
4037
|
+
floriday_sales_strategies_cache: {
|
|
4038
|
+
Row: {
|
|
4039
|
+
connection_id: string;
|
|
4040
|
+
data: import("../integrations/supabase/types").Json;
|
|
4041
|
+
fetched_at: string;
|
|
4042
|
+
floriday_id: string;
|
|
4043
|
+
is_deleted: boolean;
|
|
4044
|
+
sequence_number: number;
|
|
4045
|
+
updated_at: string;
|
|
4046
|
+
};
|
|
4047
|
+
Insert: {
|
|
4048
|
+
connection_id: string;
|
|
4049
|
+
data: import("../integrations/supabase/types").Json;
|
|
4050
|
+
fetched_at?: string;
|
|
4051
|
+
floriday_id: string;
|
|
4052
|
+
is_deleted?: boolean;
|
|
4053
|
+
sequence_number?: number;
|
|
4054
|
+
updated_at?: string;
|
|
4055
|
+
};
|
|
4056
|
+
Update: {
|
|
4057
|
+
connection_id?: string;
|
|
4058
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4059
|
+
fetched_at?: string;
|
|
4060
|
+
floriday_id?: string;
|
|
4061
|
+
is_deleted?: boolean;
|
|
4062
|
+
sequence_number?: number;
|
|
4063
|
+
updated_at?: string;
|
|
4064
|
+
};
|
|
4065
|
+
Relationships: [{
|
|
4066
|
+
foreignKeyName: "floriday_sales_strategies_cache_connection_id_fkey";
|
|
4067
|
+
columns: ["connection_id"];
|
|
4068
|
+
isOneToOne: false;
|
|
4069
|
+
referencedRelation: "floriday_connections";
|
|
4070
|
+
referencedColumns: ["id"];
|
|
4071
|
+
}];
|
|
4072
|
+
};
|
|
2840
4073
|
floriday_salesorders_cache: {
|
|
2841
4074
|
Row: {
|
|
2842
4075
|
buyer_organization_id: string | null;
|
|
@@ -2902,7 +4135,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2902
4135
|
connection_id: string;
|
|
2903
4136
|
entity_type: string;
|
|
2904
4137
|
last_error: string | null;
|
|
4138
|
+
last_items_processed: number | null;
|
|
2905
4139
|
last_sequence_number: number;
|
|
4140
|
+
last_success_at: string | null;
|
|
2906
4141
|
last_synced_at: string | null;
|
|
2907
4142
|
updated_at: string;
|
|
2908
4143
|
};
|
|
@@ -2910,7 +4145,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2910
4145
|
connection_id: string;
|
|
2911
4146
|
entity_type: string;
|
|
2912
4147
|
last_error?: string | null;
|
|
4148
|
+
last_items_processed?: number | null;
|
|
2913
4149
|
last_sequence_number?: number;
|
|
4150
|
+
last_success_at?: string | null;
|
|
2914
4151
|
last_synced_at?: string | null;
|
|
2915
4152
|
updated_at?: string;
|
|
2916
4153
|
};
|
|
@@ -2918,7 +4155,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2918
4155
|
connection_id?: string;
|
|
2919
4156
|
entity_type?: string;
|
|
2920
4157
|
last_error?: string | null;
|
|
4158
|
+
last_items_processed?: number | null;
|
|
2921
4159
|
last_sequence_number?: number;
|
|
4160
|
+
last_success_at?: string | null;
|
|
2922
4161
|
last_synced_at?: string | null;
|
|
2923
4162
|
updated_at?: string;
|
|
2924
4163
|
};
|
|
@@ -2966,6 +4205,45 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2966
4205
|
referencedColumns: ["id"];
|
|
2967
4206
|
}];
|
|
2968
4207
|
};
|
|
4208
|
+
floriday_trade_item_classifications_cache: {
|
|
4209
|
+
Row: {
|
|
4210
|
+
connection_id: string;
|
|
4211
|
+
data: import("../integrations/supabase/types").Json;
|
|
4212
|
+
fetched_at: string;
|
|
4213
|
+
floriday_id: string;
|
|
4214
|
+
id: string;
|
|
4215
|
+
is_deleted: boolean;
|
|
4216
|
+
sequence_number: number;
|
|
4217
|
+
updated_at: string;
|
|
4218
|
+
};
|
|
4219
|
+
Insert: {
|
|
4220
|
+
connection_id: string;
|
|
4221
|
+
data: import("../integrations/supabase/types").Json;
|
|
4222
|
+
fetched_at?: string;
|
|
4223
|
+
floriday_id: string;
|
|
4224
|
+
id?: string;
|
|
4225
|
+
is_deleted?: boolean;
|
|
4226
|
+
sequence_number?: number;
|
|
4227
|
+
updated_at?: string;
|
|
4228
|
+
};
|
|
4229
|
+
Update: {
|
|
4230
|
+
connection_id?: string;
|
|
4231
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4232
|
+
fetched_at?: string;
|
|
4233
|
+
floriday_id?: string;
|
|
4234
|
+
id?: string;
|
|
4235
|
+
is_deleted?: boolean;
|
|
4236
|
+
sequence_number?: number;
|
|
4237
|
+
updated_at?: string;
|
|
4238
|
+
};
|
|
4239
|
+
Relationships: [{
|
|
4240
|
+
foreignKeyName: "floriday_trade_item_classifications_cache_connection_id_fkey";
|
|
4241
|
+
columns: ["connection_id"];
|
|
4242
|
+
isOneToOne: false;
|
|
4243
|
+
referencedRelation: "floriday_connections";
|
|
4244
|
+
referencedColumns: ["id"];
|
|
4245
|
+
}];
|
|
4246
|
+
};
|
|
2969
4247
|
floriday_trade_items_cache: {
|
|
2970
4248
|
Row: {
|
|
2971
4249
|
connection_id: string;
|
|
@@ -2984,15 +4262,168 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2984
4262
|
sequence_number?: number;
|
|
2985
4263
|
};
|
|
2986
4264
|
Update: {
|
|
2987
|
-
connection_id?: string;
|
|
2988
|
-
data?: import("../integrations/supabase/types").Json;
|
|
2989
|
-
fetched_at?: string;
|
|
2990
|
-
floriday_id?: string;
|
|
2991
|
-
is_deleted?: boolean;
|
|
2992
|
-
sequence_number?: number;
|
|
4265
|
+
connection_id?: string;
|
|
4266
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4267
|
+
fetched_at?: string;
|
|
4268
|
+
floriday_id?: string;
|
|
4269
|
+
is_deleted?: boolean;
|
|
4270
|
+
sequence_number?: number;
|
|
4271
|
+
};
|
|
4272
|
+
Relationships: [{
|
|
4273
|
+
foreignKeyName: "floriday_trade_items_cache_connection_id_fkey";
|
|
4274
|
+
columns: ["connection_id"];
|
|
4275
|
+
isOneToOne: false;
|
|
4276
|
+
referencedRelation: "floriday_connections";
|
|
4277
|
+
referencedColumns: ["id"];
|
|
4278
|
+
}];
|
|
4279
|
+
};
|
|
4280
|
+
floriday_trips_cache: {
|
|
4281
|
+
Row: {
|
|
4282
|
+
carrier_organization_id: string | null;
|
|
4283
|
+
connection_id: string;
|
|
4284
|
+
data: import("../integrations/supabase/types").Json;
|
|
4285
|
+
fetched_at: string;
|
|
4286
|
+
floriday_id: string;
|
|
4287
|
+
id: string;
|
|
4288
|
+
is_deleted: boolean;
|
|
4289
|
+
sequence_number: number;
|
|
4290
|
+
status: string | null;
|
|
4291
|
+
trip_date: string | null;
|
|
4292
|
+
updated_at: string;
|
|
4293
|
+
};
|
|
4294
|
+
Insert: {
|
|
4295
|
+
carrier_organization_id?: string | null;
|
|
4296
|
+
connection_id: string;
|
|
4297
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4298
|
+
fetched_at?: string;
|
|
4299
|
+
floriday_id: string;
|
|
4300
|
+
id?: string;
|
|
4301
|
+
is_deleted?: boolean;
|
|
4302
|
+
sequence_number?: number;
|
|
4303
|
+
status?: string | null;
|
|
4304
|
+
trip_date?: string | null;
|
|
4305
|
+
updated_at?: string;
|
|
4306
|
+
};
|
|
4307
|
+
Update: {
|
|
4308
|
+
carrier_organization_id?: string | null;
|
|
4309
|
+
connection_id?: string;
|
|
4310
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4311
|
+
fetched_at?: string;
|
|
4312
|
+
floriday_id?: string;
|
|
4313
|
+
id?: string;
|
|
4314
|
+
is_deleted?: boolean;
|
|
4315
|
+
sequence_number?: number;
|
|
4316
|
+
status?: string | null;
|
|
4317
|
+
trip_date?: string | null;
|
|
4318
|
+
updated_at?: string;
|
|
4319
|
+
};
|
|
4320
|
+
Relationships: [{
|
|
4321
|
+
foreignKeyName: "floriday_trips_cache_connection_id_fkey";
|
|
4322
|
+
columns: ["connection_id"];
|
|
4323
|
+
isOneToOne: false;
|
|
4324
|
+
referencedRelation: "floriday_connections";
|
|
4325
|
+
referencedColumns: ["id"];
|
|
4326
|
+
}];
|
|
4327
|
+
};
|
|
4328
|
+
floriday_warehouses_cache: {
|
|
4329
|
+
Row: {
|
|
4330
|
+
connection_id: string;
|
|
4331
|
+
data: import("../integrations/supabase/types").Json;
|
|
4332
|
+
fetched_at: string;
|
|
4333
|
+
floriday_id: string;
|
|
4334
|
+
gln_code: string | null;
|
|
4335
|
+
id: string;
|
|
4336
|
+
is_default: boolean;
|
|
4337
|
+
is_deleted: boolean;
|
|
4338
|
+
name: string | null;
|
|
4339
|
+
updated_at: string;
|
|
4340
|
+
};
|
|
4341
|
+
Insert: {
|
|
4342
|
+
connection_id: string;
|
|
4343
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4344
|
+
fetched_at?: string;
|
|
4345
|
+
floriday_id: string;
|
|
4346
|
+
gln_code?: string | null;
|
|
4347
|
+
id?: string;
|
|
4348
|
+
is_default?: boolean;
|
|
4349
|
+
is_deleted?: boolean;
|
|
4350
|
+
name?: string | null;
|
|
4351
|
+
updated_at?: string;
|
|
4352
|
+
};
|
|
4353
|
+
Update: {
|
|
4354
|
+
connection_id?: string;
|
|
4355
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4356
|
+
fetched_at?: string;
|
|
4357
|
+
floriday_id?: string;
|
|
4358
|
+
gln_code?: string | null;
|
|
4359
|
+
id?: string;
|
|
4360
|
+
is_default?: boolean;
|
|
4361
|
+
is_deleted?: boolean;
|
|
4362
|
+
name?: string | null;
|
|
4363
|
+
updated_at?: string;
|
|
4364
|
+
};
|
|
4365
|
+
Relationships: [{
|
|
4366
|
+
foreignKeyName: "floriday_warehouses_cache_connection_id_fkey";
|
|
4367
|
+
columns: ["connection_id"];
|
|
4368
|
+
isOneToOne: false;
|
|
4369
|
+
referencedRelation: "floriday_connections";
|
|
4370
|
+
referencedColumns: ["id"];
|
|
4371
|
+
}];
|
|
4372
|
+
};
|
|
4373
|
+
floriday_write_log: {
|
|
4374
|
+
Row: {
|
|
4375
|
+
action: string;
|
|
4376
|
+
caller: string;
|
|
4377
|
+
connection_id: string | null;
|
|
4378
|
+
created_at: string;
|
|
4379
|
+
error: string | null;
|
|
4380
|
+
floriday_id: string | null;
|
|
4381
|
+
http_status: number | null;
|
|
4382
|
+
id: string;
|
|
4383
|
+
idempotency_key: string | null;
|
|
4384
|
+
module: string | null;
|
|
4385
|
+
ok: boolean;
|
|
4386
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
4387
|
+
resource: string;
|
|
4388
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
4389
|
+
user_id: string | null;
|
|
4390
|
+
};
|
|
4391
|
+
Insert: {
|
|
4392
|
+
action: string;
|
|
4393
|
+
caller?: string;
|
|
4394
|
+
connection_id?: string | null;
|
|
4395
|
+
created_at?: string;
|
|
4396
|
+
error?: string | null;
|
|
4397
|
+
floriday_id?: string | null;
|
|
4398
|
+
http_status?: number | null;
|
|
4399
|
+
id?: string;
|
|
4400
|
+
idempotency_key?: string | null;
|
|
4401
|
+
module?: string | null;
|
|
4402
|
+
ok: boolean;
|
|
4403
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
4404
|
+
resource: string;
|
|
4405
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
4406
|
+
user_id?: string | null;
|
|
4407
|
+
};
|
|
4408
|
+
Update: {
|
|
4409
|
+
action?: string;
|
|
4410
|
+
caller?: string;
|
|
4411
|
+
connection_id?: string | null;
|
|
4412
|
+
created_at?: string;
|
|
4413
|
+
error?: string | null;
|
|
4414
|
+
floriday_id?: string | null;
|
|
4415
|
+
http_status?: number | null;
|
|
4416
|
+
id?: string;
|
|
4417
|
+
idempotency_key?: string | null;
|
|
4418
|
+
module?: string | null;
|
|
4419
|
+
ok?: boolean;
|
|
4420
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
4421
|
+
resource?: string;
|
|
4422
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
4423
|
+
user_id?: string | null;
|
|
2993
4424
|
};
|
|
2994
4425
|
Relationships: [{
|
|
2995
|
-
foreignKeyName: "
|
|
4426
|
+
foreignKeyName: "floriday_write_log_connection_id_fkey";
|
|
2996
4427
|
columns: ["connection_id"];
|
|
2997
4428
|
isOneToOne: false;
|
|
2998
4429
|
referencedRelation: "floriday_connections";
|
|
@@ -3348,6 +4779,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
3348
4779
|
Row: {
|
|
3349
4780
|
body_html: string | null;
|
|
3350
4781
|
body_text: string | null;
|
|
4782
|
+
connection_id: string | null;
|
|
3351
4783
|
created_at: string;
|
|
3352
4784
|
error_message: string | null;
|
|
3353
4785
|
external_id: string | null;
|
|
@@ -3366,6 +4798,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
3366
4798
|
Insert: {
|
|
3367
4799
|
body_html?: string | null;
|
|
3368
4800
|
body_text?: string | null;
|
|
4801
|
+
connection_id?: string | null;
|
|
3369
4802
|
created_at?: string;
|
|
3370
4803
|
error_message?: string | null;
|
|
3371
4804
|
external_id?: string | null;
|
|
@@ -3384,6 +4817,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
3384
4817
|
Update: {
|
|
3385
4818
|
body_html?: string | null;
|
|
3386
4819
|
body_text?: string | null;
|
|
4820
|
+
connection_id?: string | null;
|
|
3387
4821
|
created_at?: string;
|
|
3388
4822
|
error_message?: string | null;
|
|
3389
4823
|
external_id?: string | null;
|
|
@@ -3400,6 +4834,18 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
3400
4834
|
updated_at?: string;
|
|
3401
4835
|
};
|
|
3402
4836
|
Relationships: [{
|
|
4837
|
+
foreignKeyName: "mailbox_messages_connection_id_fkey";
|
|
4838
|
+
columns: ["connection_id"];
|
|
4839
|
+
isOneToOne: false;
|
|
4840
|
+
referencedRelation: "email_auth_connections";
|
|
4841
|
+
referencedColumns: ["id"];
|
|
4842
|
+
}, {
|
|
4843
|
+
foreignKeyName: "mailbox_messages_connection_id_fkey";
|
|
4844
|
+
columns: ["connection_id"];
|
|
4845
|
+
isOneToOne: false;
|
|
4846
|
+
referencedRelation: "email_auth_connections_safe";
|
|
4847
|
+
referencedColumns: ["id"];
|
|
4848
|
+
}, {
|
|
3403
4849
|
foreignKeyName: "mailbox_messages_profile_id_fkey";
|
|
3404
4850
|
columns: ["profile_id"];
|
|
3405
4851
|
isOneToOne: false;
|
|
@@ -3683,6 +5129,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
3683
5129
|
role: string;
|
|
3684
5130
|
tenant_id: string;
|
|
3685
5131
|
updated_at: string;
|
|
5132
|
+
user_id: string | null;
|
|
3686
5133
|
};
|
|
3687
5134
|
Insert: {
|
|
3688
5135
|
avatar_url?: string | null;
|
|
@@ -3698,6 +5145,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
3698
5145
|
role?: string;
|
|
3699
5146
|
tenant_id: string;
|
|
3700
5147
|
updated_at?: string;
|
|
5148
|
+
user_id?: string | null;
|
|
3701
5149
|
};
|
|
3702
5150
|
Update: {
|
|
3703
5151
|
avatar_url?: string | null;
|
|
@@ -3713,6 +5161,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
3713
5161
|
role?: string;
|
|
3714
5162
|
tenant_id?: string;
|
|
3715
5163
|
updated_at?: string;
|
|
5164
|
+
user_id?: string | null;
|
|
3716
5165
|
};
|
|
3717
5166
|
Relationships: [{
|
|
3718
5167
|
foreignKeyName: "monteurs_tenant_id_fkey";
|
|
@@ -3849,12 +5298,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
3849
5298
|
isOneToOne: false;
|
|
3850
5299
|
referencedRelation: "offer_campaigns";
|
|
3851
5300
|
referencedColumns: ["id"];
|
|
3852
|
-
}, {
|
|
3853
|
-
foreignKeyName: "offer_campaign_products_product_id_fkey";
|
|
3854
|
-
columns: ["product_id"];
|
|
3855
|
-
isOneToOne: false;
|
|
3856
|
-
referencedRelation: "products";
|
|
3857
|
-
referencedColumns: ["id"];
|
|
3858
5301
|
}];
|
|
3859
5302
|
};
|
|
3860
5303
|
offer_campaigns: {
|
|
@@ -4130,6 +5573,99 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4130
5573
|
};
|
|
4131
5574
|
Relationships: [];
|
|
4132
5575
|
};
|
|
5576
|
+
order_cart_items: {
|
|
5577
|
+
Row: {
|
|
5578
|
+
cart_id: string;
|
|
5579
|
+
crates: number;
|
|
5580
|
+
crates_per_layer: number;
|
|
5581
|
+
created_at: string;
|
|
5582
|
+
id: string;
|
|
5583
|
+
order_item_id: string | null;
|
|
5584
|
+
plants_per_crate: number;
|
|
5585
|
+
product_id: string | null;
|
|
5586
|
+
product_name: string;
|
|
5587
|
+
};
|
|
5588
|
+
Insert: {
|
|
5589
|
+
cart_id: string;
|
|
5590
|
+
crates: number;
|
|
5591
|
+
crates_per_layer?: number;
|
|
5592
|
+
created_at?: string;
|
|
5593
|
+
id?: string;
|
|
5594
|
+
order_item_id?: string | null;
|
|
5595
|
+
plants_per_crate?: number;
|
|
5596
|
+
product_id?: string | null;
|
|
5597
|
+
product_name: string;
|
|
5598
|
+
};
|
|
5599
|
+
Update: {
|
|
5600
|
+
cart_id?: string;
|
|
5601
|
+
crates?: number;
|
|
5602
|
+
crates_per_layer?: number;
|
|
5603
|
+
created_at?: string;
|
|
5604
|
+
id?: string;
|
|
5605
|
+
order_item_id?: string | null;
|
|
5606
|
+
plants_per_crate?: number;
|
|
5607
|
+
product_id?: string | null;
|
|
5608
|
+
product_name?: string;
|
|
5609
|
+
};
|
|
5610
|
+
Relationships: [{
|
|
5611
|
+
foreignKeyName: "order_cart_items_cart_id_fkey";
|
|
5612
|
+
columns: ["cart_id"];
|
|
5613
|
+
isOneToOne: false;
|
|
5614
|
+
referencedRelation: "order_carts";
|
|
5615
|
+
referencedColumns: ["id"];
|
|
5616
|
+
}, {
|
|
5617
|
+
foreignKeyName: "order_cart_items_order_item_id_fkey";
|
|
5618
|
+
columns: ["order_item_id"];
|
|
5619
|
+
isOneToOne: false;
|
|
5620
|
+
referencedRelation: "order_items";
|
|
5621
|
+
referencedColumns: ["id"];
|
|
5622
|
+
}, {
|
|
5623
|
+
foreignKeyName: "order_cart_items_product_id_fkey";
|
|
5624
|
+
columns: ["product_id"];
|
|
5625
|
+
isOneToOne: false;
|
|
5626
|
+
referencedRelation: "products";
|
|
5627
|
+
referencedColumns: ["id"];
|
|
5628
|
+
}];
|
|
5629
|
+
};
|
|
5630
|
+
order_carts: {
|
|
5631
|
+
Row: {
|
|
5632
|
+
cart_number: number;
|
|
5633
|
+
created_at: string;
|
|
5634
|
+
id: string;
|
|
5635
|
+
is_auto: boolean;
|
|
5636
|
+
is_complete: boolean;
|
|
5637
|
+
notes: string | null;
|
|
5638
|
+
order_id: string;
|
|
5639
|
+
updated_at: string;
|
|
5640
|
+
};
|
|
5641
|
+
Insert: {
|
|
5642
|
+
cart_number: number;
|
|
5643
|
+
created_at?: string;
|
|
5644
|
+
id?: string;
|
|
5645
|
+
is_auto?: boolean;
|
|
5646
|
+
is_complete?: boolean;
|
|
5647
|
+
notes?: string | null;
|
|
5648
|
+
order_id: string;
|
|
5649
|
+
updated_at?: string;
|
|
5650
|
+
};
|
|
5651
|
+
Update: {
|
|
5652
|
+
cart_number?: number;
|
|
5653
|
+
created_at?: string;
|
|
5654
|
+
id?: string;
|
|
5655
|
+
is_auto?: boolean;
|
|
5656
|
+
is_complete?: boolean;
|
|
5657
|
+
notes?: string | null;
|
|
5658
|
+
order_id?: string;
|
|
5659
|
+
updated_at?: string;
|
|
5660
|
+
};
|
|
5661
|
+
Relationships: [{
|
|
5662
|
+
foreignKeyName: "order_carts_order_id_fkey";
|
|
5663
|
+
columns: ["order_id"];
|
|
5664
|
+
isOneToOne: false;
|
|
5665
|
+
referencedRelation: "orders";
|
|
5666
|
+
referencedColumns: ["id"];
|
|
5667
|
+
}];
|
|
5668
|
+
};
|
|
4133
5669
|
order_field_options: {
|
|
4134
5670
|
Row: {
|
|
4135
5671
|
created_at: string;
|
|
@@ -4241,6 +5777,24 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4241
5777
|
referencedColumns: ["id"];
|
|
4242
5778
|
}];
|
|
4243
5779
|
};
|
|
5780
|
+
order_number_counters: {
|
|
5781
|
+
Row: {
|
|
5782
|
+
last_value: number;
|
|
5783
|
+
updated_at: string;
|
|
5784
|
+
year: number;
|
|
5785
|
+
};
|
|
5786
|
+
Insert: {
|
|
5787
|
+
last_value?: number;
|
|
5788
|
+
updated_at?: string;
|
|
5789
|
+
year: number;
|
|
5790
|
+
};
|
|
5791
|
+
Update: {
|
|
5792
|
+
last_value?: number;
|
|
5793
|
+
updated_at?: string;
|
|
5794
|
+
year?: number;
|
|
5795
|
+
};
|
|
5796
|
+
Relationships: [];
|
|
5797
|
+
};
|
|
4244
5798
|
orders: {
|
|
4245
5799
|
Row: {
|
|
4246
5800
|
created_at: string;
|
|
@@ -4253,6 +5807,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4253
5807
|
notes: string | null;
|
|
4254
5808
|
order_date: string;
|
|
4255
5809
|
order_number: string;
|
|
5810
|
+
order_source: string;
|
|
4256
5811
|
status: string;
|
|
4257
5812
|
total: string;
|
|
4258
5813
|
updated_at: string;
|
|
@@ -4268,6 +5823,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4268
5823
|
notes?: string | null;
|
|
4269
5824
|
order_date?: string;
|
|
4270
5825
|
order_number: string;
|
|
5826
|
+
order_source?: string;
|
|
4271
5827
|
status?: string;
|
|
4272
5828
|
total?: string;
|
|
4273
5829
|
updated_at?: string;
|
|
@@ -4283,6 +5839,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4283
5839
|
notes?: string | null;
|
|
4284
5840
|
order_date?: string;
|
|
4285
5841
|
order_number?: string;
|
|
5842
|
+
order_source?: string;
|
|
4286
5843
|
status?: string;
|
|
4287
5844
|
total?: string;
|
|
4288
5845
|
updated_at?: string;
|
|
@@ -4521,13 +6078,16 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4521
6078
|
Row: {
|
|
4522
6079
|
barcode: string | null;
|
|
4523
6080
|
batch: string;
|
|
6081
|
+
crates_per_layer: number;
|
|
4524
6082
|
created_at: string;
|
|
4525
6083
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
4526
6084
|
id: string;
|
|
4527
6085
|
image_url: string | null;
|
|
4528
6086
|
incoming_quantity: number;
|
|
6087
|
+
layers_per_cart: number;
|
|
4529
6088
|
location: string;
|
|
4530
6089
|
min_quantity: number;
|
|
6090
|
+
plants_per_crate: number;
|
|
4531
6091
|
product: string;
|
|
4532
6092
|
product_type: string;
|
|
4533
6093
|
purchase_price: number | null;
|
|
@@ -4540,13 +6100,16 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4540
6100
|
Insert: {
|
|
4541
6101
|
barcode?: string | null;
|
|
4542
6102
|
batch: string;
|
|
6103
|
+
crates_per_layer?: number;
|
|
4543
6104
|
created_at?: string;
|
|
4544
6105
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
4545
6106
|
id?: string;
|
|
4546
6107
|
image_url?: string | null;
|
|
4547
6108
|
incoming_quantity?: number;
|
|
6109
|
+
layers_per_cart?: number;
|
|
4548
6110
|
location: string;
|
|
4549
6111
|
min_quantity?: number;
|
|
6112
|
+
plants_per_crate?: number;
|
|
4550
6113
|
product: string;
|
|
4551
6114
|
product_type?: string;
|
|
4552
6115
|
purchase_price?: number | null;
|
|
@@ -4559,13 +6122,16 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4559
6122
|
Update: {
|
|
4560
6123
|
barcode?: string | null;
|
|
4561
6124
|
batch?: string;
|
|
6125
|
+
crates_per_layer?: number;
|
|
4562
6126
|
created_at?: string;
|
|
4563
6127
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
4564
6128
|
id?: string;
|
|
4565
6129
|
image_url?: string | null;
|
|
4566
6130
|
incoming_quantity?: number;
|
|
6131
|
+
layers_per_cart?: number;
|
|
4567
6132
|
location?: string;
|
|
4568
6133
|
min_quantity?: number;
|
|
6134
|
+
plants_per_crate?: number;
|
|
4569
6135
|
product?: string;
|
|
4570
6136
|
product_type?: string;
|
|
4571
6137
|
purchase_price?: number | null;
|
|
@@ -5507,6 +7073,141 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
5507
7073
|
};
|
|
5508
7074
|
Relationships: [];
|
|
5509
7075
|
};
|
|
7076
|
+
time_entries: {
|
|
7077
|
+
Row: {
|
|
7078
|
+
created_at: string;
|
|
7079
|
+
employee_id: string;
|
|
7080
|
+
entry_date: string;
|
|
7081
|
+
hours: number;
|
|
7082
|
+
id: string;
|
|
7083
|
+
notes: string | null;
|
|
7084
|
+
overtime: number;
|
|
7085
|
+
undertime: number;
|
|
7086
|
+
updated_at: string;
|
|
7087
|
+
};
|
|
7088
|
+
Insert: {
|
|
7089
|
+
created_at?: string;
|
|
7090
|
+
employee_id: string;
|
|
7091
|
+
entry_date: string;
|
|
7092
|
+
hours?: number;
|
|
7093
|
+
id?: string;
|
|
7094
|
+
notes?: string | null;
|
|
7095
|
+
overtime?: number;
|
|
7096
|
+
undertime?: number;
|
|
7097
|
+
updated_at?: string;
|
|
7098
|
+
};
|
|
7099
|
+
Update: {
|
|
7100
|
+
created_at?: string;
|
|
7101
|
+
employee_id?: string;
|
|
7102
|
+
entry_date?: string;
|
|
7103
|
+
hours?: number;
|
|
7104
|
+
id?: string;
|
|
7105
|
+
notes?: string | null;
|
|
7106
|
+
overtime?: number;
|
|
7107
|
+
undertime?: number;
|
|
7108
|
+
updated_at?: string;
|
|
7109
|
+
};
|
|
7110
|
+
Relationships: [{
|
|
7111
|
+
foreignKeyName: "time_entries_employee_id_fkey";
|
|
7112
|
+
columns: ["employee_id"];
|
|
7113
|
+
isOneToOne: false;
|
|
7114
|
+
referencedRelation: "monteurs";
|
|
7115
|
+
referencedColumns: ["id"];
|
|
7116
|
+
}];
|
|
7117
|
+
};
|
|
7118
|
+
time_logs: {
|
|
7119
|
+
Row: {
|
|
7120
|
+
created_at: string;
|
|
7121
|
+
employee_id: string;
|
|
7122
|
+
end_time: string | null;
|
|
7123
|
+
id: string;
|
|
7124
|
+
notes: string | null;
|
|
7125
|
+
overtime_hours: number;
|
|
7126
|
+
overtime_type: string | null;
|
|
7127
|
+
regular_hours: number;
|
|
7128
|
+
start_time: string;
|
|
7129
|
+
travel_cost: number | null;
|
|
7130
|
+
travel_distance_km: number | null;
|
|
7131
|
+
type: string;
|
|
7132
|
+
updated_at: string;
|
|
7133
|
+
};
|
|
7134
|
+
Insert: {
|
|
7135
|
+
created_at?: string;
|
|
7136
|
+
employee_id: string;
|
|
7137
|
+
end_time?: string | null;
|
|
7138
|
+
id?: string;
|
|
7139
|
+
notes?: string | null;
|
|
7140
|
+
overtime_hours?: number;
|
|
7141
|
+
overtime_type?: string | null;
|
|
7142
|
+
regular_hours?: number;
|
|
7143
|
+
start_time?: string;
|
|
7144
|
+
travel_cost?: number | null;
|
|
7145
|
+
travel_distance_km?: number | null;
|
|
7146
|
+
type: string;
|
|
7147
|
+
updated_at?: string;
|
|
7148
|
+
};
|
|
7149
|
+
Update: {
|
|
7150
|
+
created_at?: string;
|
|
7151
|
+
employee_id?: string;
|
|
7152
|
+
end_time?: string | null;
|
|
7153
|
+
id?: string;
|
|
7154
|
+
notes?: string | null;
|
|
7155
|
+
overtime_hours?: number;
|
|
7156
|
+
overtime_type?: string | null;
|
|
7157
|
+
regular_hours?: number;
|
|
7158
|
+
start_time?: string;
|
|
7159
|
+
travel_cost?: number | null;
|
|
7160
|
+
travel_distance_km?: number | null;
|
|
7161
|
+
type?: string;
|
|
7162
|
+
updated_at?: string;
|
|
7163
|
+
};
|
|
7164
|
+
Relationships: [{
|
|
7165
|
+
foreignKeyName: "time_logs_employee_id_fkey";
|
|
7166
|
+
columns: ["employee_id"];
|
|
7167
|
+
isOneToOne: false;
|
|
7168
|
+
referencedRelation: "monteurs";
|
|
7169
|
+
referencedColumns: ["id"];
|
|
7170
|
+
}];
|
|
7171
|
+
};
|
|
7172
|
+
time_off_entries: {
|
|
7173
|
+
Row: {
|
|
7174
|
+
created_at: string;
|
|
7175
|
+
employee_id: string;
|
|
7176
|
+
entry_date: string;
|
|
7177
|
+
hours: number;
|
|
7178
|
+
id: string;
|
|
7179
|
+
notes: string | null;
|
|
7180
|
+
type: string;
|
|
7181
|
+
updated_at: string;
|
|
7182
|
+
};
|
|
7183
|
+
Insert: {
|
|
7184
|
+
created_at?: string;
|
|
7185
|
+
employee_id: string;
|
|
7186
|
+
entry_date: string;
|
|
7187
|
+
hours?: number;
|
|
7188
|
+
id?: string;
|
|
7189
|
+
notes?: string | null;
|
|
7190
|
+
type: string;
|
|
7191
|
+
updated_at?: string;
|
|
7192
|
+
};
|
|
7193
|
+
Update: {
|
|
7194
|
+
created_at?: string;
|
|
7195
|
+
employee_id?: string;
|
|
7196
|
+
entry_date?: string;
|
|
7197
|
+
hours?: number;
|
|
7198
|
+
id?: string;
|
|
7199
|
+
notes?: string | null;
|
|
7200
|
+
type?: string;
|
|
7201
|
+
updated_at?: string;
|
|
7202
|
+
};
|
|
7203
|
+
Relationships: [{
|
|
7204
|
+
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
7205
|
+
columns: ["employee_id"];
|
|
7206
|
+
isOneToOne: false;
|
|
7207
|
+
referencedRelation: "monteurs";
|
|
7208
|
+
referencedColumns: ["id"];
|
|
7209
|
+
}];
|
|
7210
|
+
};
|
|
5510
7211
|
trade_item_drafts: {
|
|
5511
7212
|
Row: {
|
|
5512
7213
|
connection_id: string | null;
|
|
@@ -6237,16 +7938,127 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6237
7938
|
Update: {
|
|
6238
7939
|
created_at?: string;
|
|
6239
7940
|
id?: string;
|
|
6240
|
-
role?: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
7941
|
+
role?: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
7942
|
+
user_id?: string;
|
|
7943
|
+
};
|
|
7944
|
+
Relationships: [{
|
|
7945
|
+
foreignKeyName: "user_roles_user_id_fkey";
|
|
7946
|
+
columns: ["user_id"];
|
|
7947
|
+
isOneToOne: false;
|
|
7948
|
+
referencedRelation: "profiles";
|
|
7949
|
+
referencedColumns: ["id"];
|
|
7950
|
+
}];
|
|
7951
|
+
};
|
|
7952
|
+
voorraad_media_upload_failures: {
|
|
7953
|
+
Row: {
|
|
7954
|
+
action: string;
|
|
7955
|
+
attempt_number: number;
|
|
7956
|
+
caller: string;
|
|
7957
|
+
client_user_id: string | null;
|
|
7958
|
+
content_type: string | null;
|
|
7959
|
+
created_at: string;
|
|
7960
|
+
environment: string;
|
|
7961
|
+
error_message: string | null;
|
|
7962
|
+
filename: string | null;
|
|
7963
|
+
id: string;
|
|
7964
|
+
idempotency_key: string | null;
|
|
7965
|
+
module: string;
|
|
7966
|
+
path: string;
|
|
7967
|
+
reference_id: string | null;
|
|
7968
|
+
request_body_hash: string | null;
|
|
7969
|
+
request_timestamp: number | null;
|
|
7970
|
+
response_content_type: string | null;
|
|
7971
|
+
response_status: number | null;
|
|
7972
|
+
size_bytes: number | null;
|
|
7973
|
+
};
|
|
7974
|
+
Insert: {
|
|
7975
|
+
action?: string;
|
|
7976
|
+
attempt_number?: number;
|
|
7977
|
+
caller?: string;
|
|
7978
|
+
client_user_id?: string | null;
|
|
7979
|
+
content_type?: string | null;
|
|
7980
|
+
created_at?: string;
|
|
7981
|
+
environment: string;
|
|
7982
|
+
error_message?: string | null;
|
|
7983
|
+
filename?: string | null;
|
|
7984
|
+
id?: string;
|
|
7985
|
+
idempotency_key?: string | null;
|
|
7986
|
+
module?: string;
|
|
7987
|
+
path: string;
|
|
7988
|
+
reference_id?: string | null;
|
|
7989
|
+
request_body_hash?: string | null;
|
|
7990
|
+
request_timestamp?: number | null;
|
|
7991
|
+
response_content_type?: string | null;
|
|
7992
|
+
response_status?: number | null;
|
|
7993
|
+
size_bytes?: number | null;
|
|
7994
|
+
};
|
|
7995
|
+
Update: {
|
|
7996
|
+
action?: string;
|
|
7997
|
+
attempt_number?: number;
|
|
7998
|
+
caller?: string;
|
|
7999
|
+
client_user_id?: string | null;
|
|
8000
|
+
content_type?: string | null;
|
|
8001
|
+
created_at?: string;
|
|
8002
|
+
environment?: string;
|
|
8003
|
+
error_message?: string | null;
|
|
8004
|
+
filename?: string | null;
|
|
8005
|
+
id?: string;
|
|
8006
|
+
idempotency_key?: string | null;
|
|
8007
|
+
module?: string;
|
|
8008
|
+
path?: string;
|
|
8009
|
+
reference_id?: string | null;
|
|
8010
|
+
request_body_hash?: string | null;
|
|
8011
|
+
request_timestamp?: number | null;
|
|
8012
|
+
response_content_type?: string | null;
|
|
8013
|
+
response_status?: number | null;
|
|
8014
|
+
size_bytes?: number | null;
|
|
8015
|
+
};
|
|
8016
|
+
Relationships: [];
|
|
8017
|
+
};
|
|
8018
|
+
voorraad_publish_attempts: {
|
|
8019
|
+
Row: {
|
|
8020
|
+
action: string;
|
|
8021
|
+
connection_id: string | null;
|
|
8022
|
+
created_at: string;
|
|
8023
|
+
error: string | null;
|
|
8024
|
+
gateway_attempt_id: string | null;
|
|
8025
|
+
gateway_status: number | null;
|
|
8026
|
+
id: string;
|
|
8027
|
+
intent: string;
|
|
8028
|
+
ok: boolean;
|
|
8029
|
+
request_summary: import("../integrations/supabase/types").Json | null;
|
|
8030
|
+
trade_item_id: string | null;
|
|
8031
|
+
user_id: string;
|
|
8032
|
+
};
|
|
8033
|
+
Insert: {
|
|
8034
|
+
action: string;
|
|
8035
|
+
connection_id?: string | null;
|
|
8036
|
+
created_at?: string;
|
|
8037
|
+
error?: string | null;
|
|
8038
|
+
gateway_attempt_id?: string | null;
|
|
8039
|
+
gateway_status?: number | null;
|
|
8040
|
+
id?: string;
|
|
8041
|
+
intent: string;
|
|
8042
|
+
ok: boolean;
|
|
8043
|
+
request_summary?: import("../integrations/supabase/types").Json | null;
|
|
8044
|
+
trade_item_id?: string | null;
|
|
8045
|
+
user_id: string;
|
|
8046
|
+
};
|
|
8047
|
+
Update: {
|
|
8048
|
+
action?: string;
|
|
8049
|
+
connection_id?: string | null;
|
|
8050
|
+
created_at?: string;
|
|
8051
|
+
error?: string | null;
|
|
8052
|
+
gateway_attempt_id?: string | null;
|
|
8053
|
+
gateway_status?: number | null;
|
|
8054
|
+
id?: string;
|
|
8055
|
+
intent?: string;
|
|
8056
|
+
ok?: boolean;
|
|
8057
|
+
request_summary?: import("../integrations/supabase/types").Json | null;
|
|
8058
|
+
trade_item_id?: string | null;
|
|
6241
8059
|
user_id?: string;
|
|
6242
8060
|
};
|
|
6243
|
-
Relationships: [
|
|
6244
|
-
foreignKeyName: "user_roles_user_id_fkey";
|
|
6245
|
-
columns: ["user_id"];
|
|
6246
|
-
isOneToOne: false;
|
|
6247
|
-
referencedRelation: "profiles";
|
|
6248
|
-
referencedColumns: ["id"];
|
|
6249
|
-
}];
|
|
8061
|
+
Relationships: [];
|
|
6250
8062
|
};
|
|
6251
8063
|
work_order_monteurs: {
|
|
6252
8064
|
Row: {
|
|
@@ -6852,12 +8664,39 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6852
8664
|
};
|
|
6853
8665
|
};
|
|
6854
8666
|
Functions: {
|
|
8667
|
+
_floriday_schedule_job: {
|
|
8668
|
+
Args: {
|
|
8669
|
+
p_apikey: string;
|
|
8670
|
+
p_jobname: string;
|
|
8671
|
+
p_schedule: string;
|
|
8672
|
+
p_timeout_ms: number;
|
|
8673
|
+
p_url: string;
|
|
8674
|
+
};
|
|
8675
|
+
Returns: number;
|
|
8676
|
+
};
|
|
8677
|
+
assign_floriday_order_numbers: {
|
|
8678
|
+
Args: {
|
|
8679
|
+
p_ids: string[];
|
|
8680
|
+
};
|
|
8681
|
+
Returns: {
|
|
8682
|
+
floriday_id: string;
|
|
8683
|
+
order_number: string;
|
|
8684
|
+
}[];
|
|
8685
|
+
};
|
|
6855
8686
|
call_exact_route: {
|
|
6856
8687
|
Args: {
|
|
6857
8688
|
path: string;
|
|
6858
8689
|
};
|
|
6859
8690
|
Returns: number;
|
|
6860
8691
|
};
|
|
8692
|
+
cleanup_old_bookings: {
|
|
8693
|
+
Args: never;
|
|
8694
|
+
Returns: number;
|
|
8695
|
+
};
|
|
8696
|
+
current_monteur_id: {
|
|
8697
|
+
Args: never;
|
|
8698
|
+
Returns: string;
|
|
8699
|
+
};
|
|
6861
8700
|
dashboard_list_public_schema: {
|
|
6862
8701
|
Args: never;
|
|
6863
8702
|
Returns: {
|
|
@@ -6962,6 +8801,32 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6962
8801
|
office_code: string;
|
|
6963
8802
|
}[];
|
|
6964
8803
|
};
|
|
8804
|
+
get_floriday_agreements_active: {
|
|
8805
|
+
Args: {
|
|
8806
|
+
p_on_date?: string;
|
|
8807
|
+
};
|
|
8808
|
+
Returns: {
|
|
8809
|
+
buyer_organization_id: string;
|
|
8810
|
+
data: import("../integrations/supabase/types").Json;
|
|
8811
|
+
floriday_id: string;
|
|
8812
|
+
status: string;
|
|
8813
|
+
valid_from: string;
|
|
8814
|
+
valid_until: string;
|
|
8815
|
+
}[];
|
|
8816
|
+
};
|
|
8817
|
+
get_floriday_clock_supplies_window: {
|
|
8818
|
+
Args: {
|
|
8819
|
+
p_from: string;
|
|
8820
|
+
p_to: string;
|
|
8821
|
+
};
|
|
8822
|
+
Returns: {
|
|
8823
|
+
auction_date: string;
|
|
8824
|
+
data: import("../integrations/supabase/types").Json;
|
|
8825
|
+
floriday_id: string;
|
|
8826
|
+
status: string;
|
|
8827
|
+
trade_item_id: string;
|
|
8828
|
+
}[];
|
|
8829
|
+
};
|
|
6965
8830
|
get_floriday_cron_jobs: {
|
|
6966
8831
|
Args: never;
|
|
6967
8832
|
Returns: {
|
|
@@ -6971,12 +8836,68 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6971
8836
|
url: string;
|
|
6972
8837
|
}[];
|
|
6973
8838
|
};
|
|
8839
|
+
get_floriday_delivery_locations: {
|
|
8840
|
+
Args: {
|
|
8841
|
+
p_organization_id: string;
|
|
8842
|
+
};
|
|
8843
|
+
Returns: {
|
|
8844
|
+
data: import("../integrations/supabase/types").Json;
|
|
8845
|
+
floriday_id: string;
|
|
8846
|
+
gln_code: string;
|
|
8847
|
+
name: string;
|
|
8848
|
+
}[];
|
|
8849
|
+
};
|
|
8850
|
+
get_floriday_fulfillment_orders_window: {
|
|
8851
|
+
Args: {
|
|
8852
|
+
p_from: string;
|
|
8853
|
+
p_to: string;
|
|
8854
|
+
};
|
|
8855
|
+
Returns: {
|
|
8856
|
+
auction_date: string;
|
|
8857
|
+
data: import("../integrations/supabase/types").Json;
|
|
8858
|
+
delivery_order_id: string;
|
|
8859
|
+
destination_warehouse_id: string;
|
|
8860
|
+
floriday_id: string;
|
|
8861
|
+
status: string;
|
|
8862
|
+
}[];
|
|
8863
|
+
};
|
|
8864
|
+
get_floriday_sales_orders_window: {
|
|
8865
|
+
Args: {
|
|
8866
|
+
p_from: string;
|
|
8867
|
+
p_to: string;
|
|
8868
|
+
};
|
|
8869
|
+
Returns: {
|
|
8870
|
+
buyer_organization_id: string;
|
|
8871
|
+
data: import("../integrations/supabase/types").Json;
|
|
8872
|
+
floriday_id: string;
|
|
8873
|
+
status: string;
|
|
8874
|
+
updated_at: string;
|
|
8875
|
+
}[];
|
|
8876
|
+
};
|
|
8877
|
+
get_floriday_sync_health: {
|
|
8878
|
+
Args: never;
|
|
8879
|
+
Returns: {
|
|
8880
|
+
entity_type: string;
|
|
8881
|
+
last_error: string;
|
|
8882
|
+
last_items_processed: number;
|
|
8883
|
+
last_sequence_number: number;
|
|
8884
|
+
last_success_at: string;
|
|
8885
|
+
last_synced_at: string;
|
|
8886
|
+
minutes_since_success: number;
|
|
8887
|
+
}[];
|
|
8888
|
+
};
|
|
6974
8889
|
get_offer_by_link_code: {
|
|
6975
8890
|
Args: {
|
|
6976
8891
|
p_code: string;
|
|
6977
8892
|
};
|
|
6978
8893
|
Returns: import("../integrations/supabase/types").Json;
|
|
6979
8894
|
};
|
|
8895
|
+
get_or_assign_floriday_order_number: {
|
|
8896
|
+
Args: {
|
|
8897
|
+
p_floriday_id: string;
|
|
8898
|
+
};
|
|
8899
|
+
Returns: string;
|
|
8900
|
+
};
|
|
6980
8901
|
get_room_busy_windows: {
|
|
6981
8902
|
Args: {
|
|
6982
8903
|
p_from: string;
|
|
@@ -7023,6 +8944,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7023
8944
|
Args: never;
|
|
7024
8945
|
Returns: boolean;
|
|
7025
8946
|
};
|
|
8947
|
+
next_order_number: {
|
|
8948
|
+
Args: {
|
|
8949
|
+
p_prefix: string;
|
|
8950
|
+
};
|
|
8951
|
+
Returns: string;
|
|
8952
|
+
};
|
|
7026
8953
|
next_work_order_number: {
|
|
7027
8954
|
Args: {
|
|
7028
8955
|
p_parent_work_order_id?: string;
|
|
@@ -7036,6 +8963,74 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7036
8963
|
};
|
|
7037
8964
|
Returns: string;
|
|
7038
8965
|
};
|
|
8966
|
+
pickstation_get_orders_raw: {
|
|
8967
|
+
Args: never;
|
|
8968
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
8969
|
+
};
|
|
8970
|
+
pickstation_get_settings: {
|
|
8971
|
+
Args: never;
|
|
8972
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
8973
|
+
};
|
|
8974
|
+
pickstation_log_print: {
|
|
8975
|
+
Args: {
|
|
8976
|
+
p_customer_name: string;
|
|
8977
|
+
p_documents: string[];
|
|
8978
|
+
p_ip_address: string;
|
|
8979
|
+
p_order_id: string;
|
|
8980
|
+
p_order_number: string;
|
|
8981
|
+
};
|
|
8982
|
+
Returns: undefined;
|
|
8983
|
+
};
|
|
8984
|
+
refresh_floricode_derived_code_lists: {
|
|
8985
|
+
Args: never;
|
|
8986
|
+
Returns: {
|
|
8987
|
+
out_environment: string;
|
|
8988
|
+
out_list_name: string;
|
|
8989
|
+
out_row_count: number;
|
|
8990
|
+
}[];
|
|
8991
|
+
};
|
|
8992
|
+
reset_floriday_sync_cursor: {
|
|
8993
|
+
Args: {
|
|
8994
|
+
p_connection_id: string;
|
|
8995
|
+
p_entity_type: string;
|
|
8996
|
+
};
|
|
8997
|
+
Returns: undefined;
|
|
8998
|
+
};
|
|
8999
|
+
schedule_floriday_additional_services_sync: {
|
|
9000
|
+
Args: {
|
|
9001
|
+
p_apikey: string;
|
|
9002
|
+
p_url: string;
|
|
9003
|
+
};
|
|
9004
|
+
Returns: number;
|
|
9005
|
+
};
|
|
9006
|
+
schedule_floriday_agreement_calloffs_sync: {
|
|
9007
|
+
Args: {
|
|
9008
|
+
p_apikey: string;
|
|
9009
|
+
p_url: string;
|
|
9010
|
+
};
|
|
9011
|
+
Returns: number;
|
|
9012
|
+
};
|
|
9013
|
+
schedule_floriday_agreements_sync: {
|
|
9014
|
+
Args: {
|
|
9015
|
+
p_apikey: string;
|
|
9016
|
+
p_url: string;
|
|
9017
|
+
};
|
|
9018
|
+
Returns: number;
|
|
9019
|
+
};
|
|
9020
|
+
schedule_floriday_base_items_sync: {
|
|
9021
|
+
Args: {
|
|
9022
|
+
p_apikey: string;
|
|
9023
|
+
p_url: string;
|
|
9024
|
+
};
|
|
9025
|
+
Returns: number;
|
|
9026
|
+
};
|
|
9027
|
+
schedule_floriday_blanket_orders_sync: {
|
|
9028
|
+
Args: {
|
|
9029
|
+
p_apikey: string;
|
|
9030
|
+
p_url: string;
|
|
9031
|
+
};
|
|
9032
|
+
Returns: number;
|
|
9033
|
+
};
|
|
7039
9034
|
schedule_floriday_carriers_sync: {
|
|
7040
9035
|
Args: {
|
|
7041
9036
|
p_apikey: string;
|
|
@@ -7043,6 +9038,34 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7043
9038
|
};
|
|
7044
9039
|
Returns: number;
|
|
7045
9040
|
};
|
|
9041
|
+
schedule_floriday_clock_presales_sync: {
|
|
9042
|
+
Args: {
|
|
9043
|
+
p_apikey: string;
|
|
9044
|
+
p_url: string;
|
|
9045
|
+
};
|
|
9046
|
+
Returns: number;
|
|
9047
|
+
};
|
|
9048
|
+
schedule_floriday_clock_supplies_sync: {
|
|
9049
|
+
Args: {
|
|
9050
|
+
p_apikey: string;
|
|
9051
|
+
p_url: string;
|
|
9052
|
+
};
|
|
9053
|
+
Returns: number;
|
|
9054
|
+
};
|
|
9055
|
+
schedule_floriday_collections_sync: {
|
|
9056
|
+
Args: {
|
|
9057
|
+
p_apikey: string;
|
|
9058
|
+
p_url: string;
|
|
9059
|
+
};
|
|
9060
|
+
Returns: number;
|
|
9061
|
+
};
|
|
9062
|
+
schedule_floriday_commercial_service_types_sync: {
|
|
9063
|
+
Args: {
|
|
9064
|
+
p_apikey: string;
|
|
9065
|
+
p_url: string;
|
|
9066
|
+
};
|
|
9067
|
+
Returns: number;
|
|
9068
|
+
};
|
|
7046
9069
|
schedule_floriday_connections_sync: {
|
|
7047
9070
|
Args: {
|
|
7048
9071
|
p_apikey: string;
|
|
@@ -7050,6 +9073,20 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7050
9073
|
};
|
|
7051
9074
|
Returns: number;
|
|
7052
9075
|
};
|
|
9076
|
+
schedule_floriday_contract_trade_item_groups_sync: {
|
|
9077
|
+
Args: {
|
|
9078
|
+
p_apikey: string;
|
|
9079
|
+
p_url: string;
|
|
9080
|
+
};
|
|
9081
|
+
Returns: number;
|
|
9082
|
+
};
|
|
9083
|
+
schedule_floriday_contracts_sync: {
|
|
9084
|
+
Args: {
|
|
9085
|
+
p_apikey: string;
|
|
9086
|
+
p_url: string;
|
|
9087
|
+
};
|
|
9088
|
+
Returns: number;
|
|
9089
|
+
};
|
|
7053
9090
|
schedule_floriday_customer_organizations_sync: {
|
|
7054
9091
|
Args: {
|
|
7055
9092
|
p_apikey: string;
|
|
@@ -7057,6 +9094,48 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7057
9094
|
};
|
|
7058
9095
|
Returns: number;
|
|
7059
9096
|
};
|
|
9097
|
+
schedule_floriday_customer_stickers_sync: {
|
|
9098
|
+
Args: {
|
|
9099
|
+
p_apikey: string;
|
|
9100
|
+
p_url: string;
|
|
9101
|
+
};
|
|
9102
|
+
Returns: number;
|
|
9103
|
+
};
|
|
9104
|
+
schedule_floriday_delivery_condition_sets_sync: {
|
|
9105
|
+
Args: {
|
|
9106
|
+
p_apikey: string;
|
|
9107
|
+
p_url: string;
|
|
9108
|
+
};
|
|
9109
|
+
Returns: number;
|
|
9110
|
+
};
|
|
9111
|
+
schedule_floriday_delivery_locations_sync: {
|
|
9112
|
+
Args: {
|
|
9113
|
+
p_apikey: string;
|
|
9114
|
+
p_url: string;
|
|
9115
|
+
};
|
|
9116
|
+
Returns: number;
|
|
9117
|
+
};
|
|
9118
|
+
schedule_floriday_delivery_orders_sync: {
|
|
9119
|
+
Args: {
|
|
9120
|
+
p_apikey: string;
|
|
9121
|
+
p_url: string;
|
|
9122
|
+
};
|
|
9123
|
+
Returns: number;
|
|
9124
|
+
};
|
|
9125
|
+
schedule_floriday_fulfillment_orders_sync: {
|
|
9126
|
+
Args: {
|
|
9127
|
+
p_apikey: string;
|
|
9128
|
+
p_url: string;
|
|
9129
|
+
};
|
|
9130
|
+
Returns: number;
|
|
9131
|
+
};
|
|
9132
|
+
schedule_floriday_invoices_sync: {
|
|
9133
|
+
Args: {
|
|
9134
|
+
p_apikey: string;
|
|
9135
|
+
p_url: string;
|
|
9136
|
+
};
|
|
9137
|
+
Returns: number;
|
|
9138
|
+
};
|
|
7060
9139
|
schedule_floriday_network_sync: {
|
|
7061
9140
|
Args: {
|
|
7062
9141
|
p_apikey: string;
|
|
@@ -7064,6 +9143,34 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7064
9143
|
};
|
|
7065
9144
|
Returns: number;
|
|
7066
9145
|
};
|
|
9146
|
+
schedule_floriday_packings_sync: {
|
|
9147
|
+
Args: {
|
|
9148
|
+
p_apikey: string;
|
|
9149
|
+
p_url: string;
|
|
9150
|
+
};
|
|
9151
|
+
Returns: number;
|
|
9152
|
+
};
|
|
9153
|
+
schedule_floriday_price_groups_sync: {
|
|
9154
|
+
Args: {
|
|
9155
|
+
p_apikey: string;
|
|
9156
|
+
p_url: string;
|
|
9157
|
+
};
|
|
9158
|
+
Returns: number;
|
|
9159
|
+
};
|
|
9160
|
+
schedule_floriday_reference_data_refresh: {
|
|
9161
|
+
Args: {
|
|
9162
|
+
p_apikey: string;
|
|
9163
|
+
p_url: string;
|
|
9164
|
+
};
|
|
9165
|
+
Returns: number;
|
|
9166
|
+
};
|
|
9167
|
+
schedule_floriday_sales_strategies_sync: {
|
|
9168
|
+
Args: {
|
|
9169
|
+
p_apikey: string;
|
|
9170
|
+
p_url: string;
|
|
9171
|
+
};
|
|
9172
|
+
Returns: number;
|
|
9173
|
+
};
|
|
7067
9174
|
schedule_floriday_salesorders_sync: {
|
|
7068
9175
|
Args: {
|
|
7069
9176
|
p_apikey: string;
|
|
@@ -7078,6 +9185,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7078
9185
|
};
|
|
7079
9186
|
Returns: number;
|
|
7080
9187
|
};
|
|
9188
|
+
schedule_floriday_trade_item_classifications_sync: {
|
|
9189
|
+
Args: {
|
|
9190
|
+
p_apikey: string;
|
|
9191
|
+
p_url: string;
|
|
9192
|
+
};
|
|
9193
|
+
Returns: number;
|
|
9194
|
+
};
|
|
7081
9195
|
schedule_floriday_trade_items_sync: {
|
|
7082
9196
|
Args: {
|
|
7083
9197
|
p_apikey: string;
|
|
@@ -7085,6 +9199,20 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7085
9199
|
};
|
|
7086
9200
|
Returns: number;
|
|
7087
9201
|
};
|
|
9202
|
+
schedule_floriday_trips_sync: {
|
|
9203
|
+
Args: {
|
|
9204
|
+
p_apikey: string;
|
|
9205
|
+
p_url: string;
|
|
9206
|
+
};
|
|
9207
|
+
Returns: number;
|
|
9208
|
+
};
|
|
9209
|
+
schedule_floriday_warehouses_sync: {
|
|
9210
|
+
Args: {
|
|
9211
|
+
p_apikey: string;
|
|
9212
|
+
p_url: string;
|
|
9213
|
+
};
|
|
9214
|
+
Returns: number;
|
|
9215
|
+
};
|
|
7088
9216
|
schedule_twinfield_customers_sync: {
|
|
7089
9217
|
Args: {
|
|
7090
9218
|
p_apikey: string;
|
|
@@ -7159,7 +9287,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7159
9287
|
};
|
|
7160
9288
|
};
|
|
7161
9289
|
Enums: {
|
|
7162
|
-
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
9290
|
+
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
|
|
7163
9291
|
exact_env: "staging" | "live";
|
|
7164
9292
|
exact_push_status: "pending" | "sent" | "error";
|
|
7165
9293
|
quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
|
|
@@ -7172,5 +9300,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7172
9300
|
claims: import("@supabase/auth-js").JwtPayload;
|
|
7173
9301
|
}, undefined, undefined, undefined>], undefined, Promise<{
|
|
7174
9302
|
orders: FloridayOrder[];
|
|
9303
|
+
error?: string;
|
|
7175
9304
|
}>>;
|
|
7176
9305
|
//# sourceMappingURL=floriday.functions.d.ts.map
|