@flowselections/logistiek-engine 1.0.24 → 1.0.25
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/LogistiekEnginePage.d.ts.map +1 -1
- package/dist-lib/components/LogistiekEnginePage.js +8 -2
- package/dist-lib/components/RegiePage.d.ts.map +1 -1
- package/dist-lib/components/RegiePage.js +1 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +226 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +226 -1
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +226 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +228 -1
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.functions.d.ts +678 -3
- package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
- package/dist-lib/lib/floridayPush.functions.d.ts +226 -1
- package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
- package/dist-lib/lib/handlers/logistics-tick.server.d.ts.map +1 -1
- package/dist-lib/lib/handlers/logistics-tick.server.js +11 -0
- package/dist-lib/lib/loadCarrierPlanner.d.ts +6 -0
- package/dist-lib/lib/loadCarrierPlanner.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierPlanner.js +3 -0
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +1130 -5
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierPlanning.server.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierPlanning.server.js +3 -0
- package/dist-lib/lib/logisticsPlanner.d.ts +2 -0
- package/dist-lib/lib/logisticsPlanner.d.ts.map +1 -1
- package/dist-lib/lib/logisticsPlanner.js +17 -0
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +452 -2
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts +226 -1
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.js +185 -0
- package/package.json +1 -1
|
@@ -2852,6 +2852,84 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
2852
2852
|
};
|
|
2853
2853
|
Relationships: [];
|
|
2854
2854
|
};
|
|
2855
|
+
delivery_notes: {
|
|
2856
|
+
Row: {
|
|
2857
|
+
byte_size: number | null;
|
|
2858
|
+
connection_id: string | null;
|
|
2859
|
+
content_type: string;
|
|
2860
|
+
created_at: string;
|
|
2861
|
+
error_message: string | null;
|
|
2862
|
+
fetched_at: string | null;
|
|
2863
|
+
fulfillment_order_id: string | null;
|
|
2864
|
+
http_status: number | null;
|
|
2865
|
+
id: string;
|
|
2866
|
+
label_code: string | null;
|
|
2867
|
+
letter: string | null;
|
|
2868
|
+
load_carrier_index: number | null;
|
|
2869
|
+
load_carrier_type: string | null;
|
|
2870
|
+
order_id: string | null;
|
|
2871
|
+
order_number: string | null;
|
|
2872
|
+
packages: number | null;
|
|
2873
|
+
source: string;
|
|
2874
|
+
status: string;
|
|
2875
|
+
storage_bucket: string;
|
|
2876
|
+
storage_path: string | null;
|
|
2877
|
+
updated_at: string;
|
|
2878
|
+
};
|
|
2879
|
+
Insert: {
|
|
2880
|
+
byte_size?: number | null;
|
|
2881
|
+
connection_id?: string | null;
|
|
2882
|
+
content_type?: string;
|
|
2883
|
+
created_at?: string;
|
|
2884
|
+
error_message?: string | null;
|
|
2885
|
+
fetched_at?: string | null;
|
|
2886
|
+
fulfillment_order_id?: string | null;
|
|
2887
|
+
http_status?: number | null;
|
|
2888
|
+
id?: string;
|
|
2889
|
+
label_code?: string | null;
|
|
2890
|
+
letter?: string | null;
|
|
2891
|
+
load_carrier_index?: number | null;
|
|
2892
|
+
load_carrier_type?: string | null;
|
|
2893
|
+
order_id?: string | null;
|
|
2894
|
+
order_number?: string | null;
|
|
2895
|
+
packages?: number | null;
|
|
2896
|
+
source?: string;
|
|
2897
|
+
status?: string;
|
|
2898
|
+
storage_bucket?: string;
|
|
2899
|
+
storage_path?: string | null;
|
|
2900
|
+
updated_at?: string;
|
|
2901
|
+
};
|
|
2902
|
+
Update: {
|
|
2903
|
+
byte_size?: number | null;
|
|
2904
|
+
connection_id?: string | null;
|
|
2905
|
+
content_type?: string;
|
|
2906
|
+
created_at?: string;
|
|
2907
|
+
error_message?: string | null;
|
|
2908
|
+
fetched_at?: string | null;
|
|
2909
|
+
fulfillment_order_id?: string | null;
|
|
2910
|
+
http_status?: number | null;
|
|
2911
|
+
id?: string;
|
|
2912
|
+
label_code?: string | null;
|
|
2913
|
+
letter?: string | null;
|
|
2914
|
+
load_carrier_index?: number | null;
|
|
2915
|
+
load_carrier_type?: string | null;
|
|
2916
|
+
order_id?: string | null;
|
|
2917
|
+
order_number?: string | null;
|
|
2918
|
+
packages?: number | null;
|
|
2919
|
+
source?: string;
|
|
2920
|
+
status?: string;
|
|
2921
|
+
storage_bucket?: string;
|
|
2922
|
+
storage_path?: string | null;
|
|
2923
|
+
updated_at?: string;
|
|
2924
|
+
};
|
|
2925
|
+
Relationships: [{
|
|
2926
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
2927
|
+
columns: ["order_id"];
|
|
2928
|
+
isOneToOne: false;
|
|
2929
|
+
referencedRelation: "orders";
|
|
2930
|
+
referencedColumns: ["id"];
|
|
2931
|
+
}];
|
|
2932
|
+
};
|
|
2855
2933
|
document_bronregels: {
|
|
2856
2934
|
Row: {
|
|
2857
2935
|
bron: string;
|
|
@@ -13660,6 +13738,9 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
13660
13738
|
is_herprint: boolean;
|
|
13661
13739
|
kopieen: number;
|
|
13662
13740
|
layout_id: string | null;
|
|
13741
|
+
lokaal_opgeslagen_op: string | null;
|
|
13742
|
+
lokale_pdf_fout: string | null;
|
|
13743
|
+
lokale_pdf_status: string | null;
|
|
13663
13744
|
opgepakt_op: string | null;
|
|
13664
13745
|
paginas: number;
|
|
13665
13746
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -13668,6 +13749,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
13668
13749
|
pogingen: number;
|
|
13669
13750
|
printer_id: string | null;
|
|
13670
13751
|
render_html: string | null;
|
|
13752
|
+
resultaat_pdf_base64: string | null;
|
|
13671
13753
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13672
13754
|
updated_at: string;
|
|
13673
13755
|
volgende_poging: string | null;
|
|
@@ -13692,6 +13774,9 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
13692
13774
|
is_herprint?: boolean;
|
|
13693
13775
|
kopieen?: number;
|
|
13694
13776
|
layout_id?: string | null;
|
|
13777
|
+
lokaal_opgeslagen_op?: string | null;
|
|
13778
|
+
lokale_pdf_fout?: string | null;
|
|
13779
|
+
lokale_pdf_status?: string | null;
|
|
13695
13780
|
opgepakt_op?: string | null;
|
|
13696
13781
|
paginas?: number;
|
|
13697
13782
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -13700,6 +13785,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
13700
13785
|
pogingen?: number;
|
|
13701
13786
|
printer_id?: string | null;
|
|
13702
13787
|
render_html?: string | null;
|
|
13788
|
+
resultaat_pdf_base64?: string | null;
|
|
13703
13789
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13704
13790
|
updated_at?: string;
|
|
13705
13791
|
volgende_poging?: string | null;
|
|
@@ -13724,6 +13810,9 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
13724
13810
|
is_herprint?: boolean;
|
|
13725
13811
|
kopieen?: number;
|
|
13726
13812
|
layout_id?: string | null;
|
|
13813
|
+
lokaal_opgeslagen_op?: string | null;
|
|
13814
|
+
lokale_pdf_fout?: string | null;
|
|
13815
|
+
lokale_pdf_status?: string | null;
|
|
13727
13816
|
opgepakt_op?: string | null;
|
|
13728
13817
|
paginas?: number;
|
|
13729
13818
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -13732,6 +13821,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
13732
13821
|
pogingen?: number;
|
|
13733
13822
|
printer_id?: string | null;
|
|
13734
13823
|
render_html?: string | null;
|
|
13824
|
+
resultaat_pdf_base64?: string | null;
|
|
13735
13825
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13736
13826
|
updated_at?: string;
|
|
13737
13827
|
volgende_poging?: string | null;
|
|
@@ -14122,6 +14212,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
14122
14212
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
14123
14213
|
online: boolean;
|
|
14124
14214
|
papierformaat: string;
|
|
14215
|
+
pdf_map: string | null;
|
|
14125
14216
|
poort: number | null;
|
|
14126
14217
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14127
14218
|
systeemnaam: string;
|
|
@@ -14147,6 +14238,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
14147
14238
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
14148
14239
|
online?: boolean;
|
|
14149
14240
|
papierformaat?: string;
|
|
14241
|
+
pdf_map?: string | null;
|
|
14150
14242
|
poort?: number | null;
|
|
14151
14243
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14152
14244
|
systeemnaam?: string;
|
|
@@ -14172,6 +14264,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
14172
14264
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
14173
14265
|
online?: boolean;
|
|
14174
14266
|
papierformaat?: string;
|
|
14267
|
+
pdf_map?: string | null;
|
|
14175
14268
|
poort?: number | null;
|
|
14176
14269
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14177
14270
|
systeemnaam?: string;
|
|
@@ -20428,6 +20521,9 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
20428
20521
|
is_herprint: boolean;
|
|
20429
20522
|
kopieen: number;
|
|
20430
20523
|
layout_id: string | null;
|
|
20524
|
+
lokaal_opgeslagen_op: string | null;
|
|
20525
|
+
lokale_pdf_fout: string | null;
|
|
20526
|
+
lokale_pdf_status: string | null;
|
|
20431
20527
|
opgepakt_op: string | null;
|
|
20432
20528
|
paginas: number;
|
|
20433
20529
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -20436,6 +20532,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
20436
20532
|
pogingen: number;
|
|
20437
20533
|
printer_id: string | null;
|
|
20438
20534
|
render_html: string | null;
|
|
20535
|
+
resultaat_pdf_base64: string | null;
|
|
20439
20536
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20440
20537
|
updated_at: string;
|
|
20441
20538
|
volgende_poging: string | null;
|
|
@@ -20527,6 +20624,53 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
20527
20624
|
isSetofReturn: true;
|
|
20528
20625
|
};
|
|
20529
20626
|
};
|
|
20627
|
+
claim_pdf_print_jobs: {
|
|
20628
|
+
Args: {
|
|
20629
|
+
_max?: number;
|
|
20630
|
+
};
|
|
20631
|
+
Returns: {
|
|
20632
|
+
agent_id: string | null;
|
|
20633
|
+
bron_job_id: string | null;
|
|
20634
|
+
created_at: string;
|
|
20635
|
+
documentnaam: string;
|
|
20636
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
20637
|
+
extern_job_id: string | null;
|
|
20638
|
+
foutmelding: string | null;
|
|
20639
|
+
gebruiker_id: string | null;
|
|
20640
|
+
gebruiker_naam: string;
|
|
20641
|
+
gebruikte_bron: string | null;
|
|
20642
|
+
gebruikte_layout_id: string | null;
|
|
20643
|
+
gestart_op: string | null;
|
|
20644
|
+
herkomst: string | null;
|
|
20645
|
+
id: string;
|
|
20646
|
+
idempotentie_sleutel: string | null;
|
|
20647
|
+
is_herprint: boolean;
|
|
20648
|
+
kopieen: number;
|
|
20649
|
+
layout_id: string | null;
|
|
20650
|
+
lokaal_opgeslagen_op: string | null;
|
|
20651
|
+
lokale_pdf_fout: string | null;
|
|
20652
|
+
lokale_pdf_status: string | null;
|
|
20653
|
+
opgepakt_op: string | null;
|
|
20654
|
+
paginas: number;
|
|
20655
|
+
payload: import("../integrations/supabase/types").Json;
|
|
20656
|
+
pdf_base64: string | null;
|
|
20657
|
+
pdf_url: string | null;
|
|
20658
|
+
pogingen: number;
|
|
20659
|
+
printer_id: string | null;
|
|
20660
|
+
render_html: string | null;
|
|
20661
|
+
resultaat_pdf_base64: string | null;
|
|
20662
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20663
|
+
updated_at: string;
|
|
20664
|
+
volgende_poging: string | null;
|
|
20665
|
+
voltooid_op: string | null;
|
|
20666
|
+
}[];
|
|
20667
|
+
SetofOptions: {
|
|
20668
|
+
from: "*";
|
|
20669
|
+
to: "print_jobs";
|
|
20670
|
+
isOneToOne: false;
|
|
20671
|
+
isSetofReturn: true;
|
|
20672
|
+
};
|
|
20673
|
+
};
|
|
20530
20674
|
claim_print_jobs: {
|
|
20531
20675
|
Args: {
|
|
20532
20676
|
_agent_id: string;
|
|
@@ -20551,6 +20695,9 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
20551
20695
|
is_herprint: boolean;
|
|
20552
20696
|
kopieen: number;
|
|
20553
20697
|
layout_id: string | null;
|
|
20698
|
+
lokaal_opgeslagen_op: string | null;
|
|
20699
|
+
lokale_pdf_fout: string | null;
|
|
20700
|
+
lokale_pdf_status: string | null;
|
|
20554
20701
|
opgepakt_op: string | null;
|
|
20555
20702
|
paginas: number;
|
|
20556
20703
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -20559,6 +20706,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
20559
20706
|
pogingen: number;
|
|
20560
20707
|
printer_id: string | null;
|
|
20561
20708
|
render_html: string | null;
|
|
20709
|
+
resultaat_pdf_base64: string | null;
|
|
20562
20710
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20563
20711
|
updated_at: string;
|
|
20564
20712
|
volgende_poging: string | null;
|
|
@@ -20699,6 +20847,8 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
20699
20847
|
order_id: string;
|
|
20700
20848
|
order_source: string;
|
|
20701
20849
|
pick_date: string;
|
|
20850
|
+
printed_at: string;
|
|
20851
|
+
printed_today: boolean;
|
|
20702
20852
|
status: string;
|
|
20703
20853
|
}[];
|
|
20704
20854
|
};
|
|
@@ -21407,6 +21557,10 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
21407
21557
|
};
|
|
21408
21558
|
Returns: number;
|
|
21409
21559
|
};
|
|
21560
|
+
logistics_cancel_orphan_tasks: {
|
|
21561
|
+
Args: never;
|
|
21562
|
+
Returns: number;
|
|
21563
|
+
};
|
|
21410
21564
|
logistics_capacity_day_check: {
|
|
21411
21565
|
Args: {
|
|
21412
21566
|
p_from?: string;
|
|
@@ -21427,6 +21581,25 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
21427
21581
|
};
|
|
21428
21582
|
Returns: number;
|
|
21429
21583
|
};
|
|
21584
|
+
logistics_cart_index: {
|
|
21585
|
+
Args: {
|
|
21586
|
+
p_from?: string;
|
|
21587
|
+
p_to?: string;
|
|
21588
|
+
};
|
|
21589
|
+
Returns: {
|
|
21590
|
+
cart_id: string;
|
|
21591
|
+
cart_index: number;
|
|
21592
|
+
cart_label: string;
|
|
21593
|
+
is_shared: boolean;
|
|
21594
|
+
order_number: string;
|
|
21595
|
+
order_source: string;
|
|
21596
|
+
order_uuid: string;
|
|
21597
|
+
pick_date: string;
|
|
21598
|
+
printed_at: string;
|
|
21599
|
+
shifted: boolean;
|
|
21600
|
+
task_status: string;
|
|
21601
|
+
}[];
|
|
21602
|
+
};
|
|
21430
21603
|
logistics_check_order_allowed: {
|
|
21431
21604
|
Args: {
|
|
21432
21605
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -21575,6 +21748,17 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
21575
21748
|
isSetofReturn: false;
|
|
21576
21749
|
};
|
|
21577
21750
|
};
|
|
21751
|
+
logistics_consistency_check: {
|
|
21752
|
+
Args: never;
|
|
21753
|
+
Returns: {
|
|
21754
|
+
agenda_carts: number;
|
|
21755
|
+
control_carts: number;
|
|
21756
|
+
ok: boolean;
|
|
21757
|
+
orphan_tasks: number;
|
|
21758
|
+
pick_date: string;
|
|
21759
|
+
raw_carts: number;
|
|
21760
|
+
}[];
|
|
21761
|
+
};
|
|
21578
21762
|
logistics_delay_customer_email: {
|
|
21579
21763
|
Args: {
|
|
21580
21764
|
p_customer: string;
|
|
@@ -21768,6 +21952,25 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
21768
21952
|
};
|
|
21769
21953
|
Returns: number;
|
|
21770
21954
|
};
|
|
21955
|
+
logistics_order_overview: {
|
|
21956
|
+
Args: {
|
|
21957
|
+
p_from?: string;
|
|
21958
|
+
p_to?: string;
|
|
21959
|
+
};
|
|
21960
|
+
Returns: {
|
|
21961
|
+
cart_count: number;
|
|
21962
|
+
customer_name: string;
|
|
21963
|
+
delivery_date: string;
|
|
21964
|
+
order_number: string;
|
|
21965
|
+
order_source: string;
|
|
21966
|
+
order_uuid: string;
|
|
21967
|
+
pick_date: string;
|
|
21968
|
+
plant_count: number;
|
|
21969
|
+
printed_at: string;
|
|
21970
|
+
shifted: boolean;
|
|
21971
|
+
status: string;
|
|
21972
|
+
}[];
|
|
21973
|
+
};
|
|
21771
21974
|
logistics_order_pick_day: {
|
|
21772
21975
|
Args: {
|
|
21773
21976
|
p_order_ref: string;
|
|
@@ -21780,6 +21983,22 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
21780
21983
|
};
|
|
21781
21984
|
Returns: string;
|
|
21782
21985
|
};
|
|
21986
|
+
logistics_pick_agenda: {
|
|
21987
|
+
Args: {
|
|
21988
|
+
p_from?: string;
|
|
21989
|
+
p_to?: string;
|
|
21990
|
+
};
|
|
21991
|
+
Returns: {
|
|
21992
|
+
cart_count: number;
|
|
21993
|
+
in_preparation: number;
|
|
21994
|
+
order_count: number;
|
|
21995
|
+
orders: import("../integrations/supabase/types").Json;
|
|
21996
|
+
pick_date: string;
|
|
21997
|
+
plant_count: number;
|
|
21998
|
+
ready: number;
|
|
21999
|
+
shifted_count: number;
|
|
22000
|
+
}[];
|
|
22001
|
+
};
|
|
21783
22002
|
logistics_pick_email_purpose: {
|
|
21784
22003
|
Args: never;
|
|
21785
22004
|
Returns: string;
|
|
@@ -22758,6 +22977,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
22758
22977
|
};
|
|
22759
22978
|
Returns: string;
|
|
22760
22979
|
};
|
|
22980
|
+
resolve_print_job_printer_id: {
|
|
22981
|
+
Args: {
|
|
22982
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
22983
|
+
};
|
|
22984
|
+
Returns: string;
|
|
22985
|
+
};
|
|
22761
22986
|
resolve_product_id_for_item: {
|
|
22762
22987
|
Args: {
|
|
22763
22988
|
p_product_name: string;
|
|
@@ -23349,7 +23574,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
23349
23574
|
};
|
|
23350
23575
|
CompositeTypes: { [_ in never]: never; };
|
|
23351
23576
|
}, {
|
|
23352
|
-
PostgrestVersion: "14.
|
|
23577
|
+
PostgrestVersion: "14.5";
|
|
23353
23578
|
}>;
|
|
23354
23579
|
userId: string;
|
|
23355
23580
|
claims: import("@supabase/auth-js").User;
|
|
@@ -26208,6 +26433,84 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
26208
26433
|
};
|
|
26209
26434
|
Relationships: [];
|
|
26210
26435
|
};
|
|
26436
|
+
delivery_notes: {
|
|
26437
|
+
Row: {
|
|
26438
|
+
byte_size: number | null;
|
|
26439
|
+
connection_id: string | null;
|
|
26440
|
+
content_type: string;
|
|
26441
|
+
created_at: string;
|
|
26442
|
+
error_message: string | null;
|
|
26443
|
+
fetched_at: string | null;
|
|
26444
|
+
fulfillment_order_id: string | null;
|
|
26445
|
+
http_status: number | null;
|
|
26446
|
+
id: string;
|
|
26447
|
+
label_code: string | null;
|
|
26448
|
+
letter: string | null;
|
|
26449
|
+
load_carrier_index: number | null;
|
|
26450
|
+
load_carrier_type: string | null;
|
|
26451
|
+
order_id: string | null;
|
|
26452
|
+
order_number: string | null;
|
|
26453
|
+
packages: number | null;
|
|
26454
|
+
source: string;
|
|
26455
|
+
status: string;
|
|
26456
|
+
storage_bucket: string;
|
|
26457
|
+
storage_path: string | null;
|
|
26458
|
+
updated_at: string;
|
|
26459
|
+
};
|
|
26460
|
+
Insert: {
|
|
26461
|
+
byte_size?: number | null;
|
|
26462
|
+
connection_id?: string | null;
|
|
26463
|
+
content_type?: string;
|
|
26464
|
+
created_at?: string;
|
|
26465
|
+
error_message?: string | null;
|
|
26466
|
+
fetched_at?: string | null;
|
|
26467
|
+
fulfillment_order_id?: string | null;
|
|
26468
|
+
http_status?: number | null;
|
|
26469
|
+
id?: string;
|
|
26470
|
+
label_code?: string | null;
|
|
26471
|
+
letter?: string | null;
|
|
26472
|
+
load_carrier_index?: number | null;
|
|
26473
|
+
load_carrier_type?: string | null;
|
|
26474
|
+
order_id?: string | null;
|
|
26475
|
+
order_number?: string | null;
|
|
26476
|
+
packages?: number | null;
|
|
26477
|
+
source?: string;
|
|
26478
|
+
status?: string;
|
|
26479
|
+
storage_bucket?: string;
|
|
26480
|
+
storage_path?: string | null;
|
|
26481
|
+
updated_at?: string;
|
|
26482
|
+
};
|
|
26483
|
+
Update: {
|
|
26484
|
+
byte_size?: number | null;
|
|
26485
|
+
connection_id?: string | null;
|
|
26486
|
+
content_type?: string;
|
|
26487
|
+
created_at?: string;
|
|
26488
|
+
error_message?: string | null;
|
|
26489
|
+
fetched_at?: string | null;
|
|
26490
|
+
fulfillment_order_id?: string | null;
|
|
26491
|
+
http_status?: number | null;
|
|
26492
|
+
id?: string;
|
|
26493
|
+
label_code?: string | null;
|
|
26494
|
+
letter?: string | null;
|
|
26495
|
+
load_carrier_index?: number | null;
|
|
26496
|
+
load_carrier_type?: string | null;
|
|
26497
|
+
order_id?: string | null;
|
|
26498
|
+
order_number?: string | null;
|
|
26499
|
+
packages?: number | null;
|
|
26500
|
+
source?: string;
|
|
26501
|
+
status?: string;
|
|
26502
|
+
storage_bucket?: string;
|
|
26503
|
+
storage_path?: string | null;
|
|
26504
|
+
updated_at?: string;
|
|
26505
|
+
};
|
|
26506
|
+
Relationships: [{
|
|
26507
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
26508
|
+
columns: ["order_id"];
|
|
26509
|
+
isOneToOne: false;
|
|
26510
|
+
referencedRelation: "orders";
|
|
26511
|
+
referencedColumns: ["id"];
|
|
26512
|
+
}];
|
|
26513
|
+
};
|
|
26211
26514
|
document_bronregels: {
|
|
26212
26515
|
Row: {
|
|
26213
26516
|
bron: string;
|
|
@@ -37016,6 +37319,9 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
37016
37319
|
is_herprint: boolean;
|
|
37017
37320
|
kopieen: number;
|
|
37018
37321
|
layout_id: string | null;
|
|
37322
|
+
lokaal_opgeslagen_op: string | null;
|
|
37323
|
+
lokale_pdf_fout: string | null;
|
|
37324
|
+
lokale_pdf_status: string | null;
|
|
37019
37325
|
opgepakt_op: string | null;
|
|
37020
37326
|
paginas: number;
|
|
37021
37327
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -37024,6 +37330,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
37024
37330
|
pogingen: number;
|
|
37025
37331
|
printer_id: string | null;
|
|
37026
37332
|
render_html: string | null;
|
|
37333
|
+
resultaat_pdf_base64: string | null;
|
|
37027
37334
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
37028
37335
|
updated_at: string;
|
|
37029
37336
|
volgende_poging: string | null;
|
|
@@ -37048,6 +37355,9 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
37048
37355
|
is_herprint?: boolean;
|
|
37049
37356
|
kopieen?: number;
|
|
37050
37357
|
layout_id?: string | null;
|
|
37358
|
+
lokaal_opgeslagen_op?: string | null;
|
|
37359
|
+
lokale_pdf_fout?: string | null;
|
|
37360
|
+
lokale_pdf_status?: string | null;
|
|
37051
37361
|
opgepakt_op?: string | null;
|
|
37052
37362
|
paginas?: number;
|
|
37053
37363
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -37056,6 +37366,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
37056
37366
|
pogingen?: number;
|
|
37057
37367
|
printer_id?: string | null;
|
|
37058
37368
|
render_html?: string | null;
|
|
37369
|
+
resultaat_pdf_base64?: string | null;
|
|
37059
37370
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
37060
37371
|
updated_at?: string;
|
|
37061
37372
|
volgende_poging?: string | null;
|
|
@@ -37080,6 +37391,9 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
37080
37391
|
is_herprint?: boolean;
|
|
37081
37392
|
kopieen?: number;
|
|
37082
37393
|
layout_id?: string | null;
|
|
37394
|
+
lokaal_opgeslagen_op?: string | null;
|
|
37395
|
+
lokale_pdf_fout?: string | null;
|
|
37396
|
+
lokale_pdf_status?: string | null;
|
|
37083
37397
|
opgepakt_op?: string | null;
|
|
37084
37398
|
paginas?: number;
|
|
37085
37399
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -37088,6 +37402,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
37088
37402
|
pogingen?: number;
|
|
37089
37403
|
printer_id?: string | null;
|
|
37090
37404
|
render_html?: string | null;
|
|
37405
|
+
resultaat_pdf_base64?: string | null;
|
|
37091
37406
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
37092
37407
|
updated_at?: string;
|
|
37093
37408
|
volgende_poging?: string | null;
|
|
@@ -37478,6 +37793,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
37478
37793
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
37479
37794
|
online: boolean;
|
|
37480
37795
|
papierformaat: string;
|
|
37796
|
+
pdf_map: string | null;
|
|
37481
37797
|
poort: number | null;
|
|
37482
37798
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37483
37799
|
systeemnaam: string;
|
|
@@ -37503,6 +37819,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
37503
37819
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
37504
37820
|
online?: boolean;
|
|
37505
37821
|
papierformaat?: string;
|
|
37822
|
+
pdf_map?: string | null;
|
|
37506
37823
|
poort?: number | null;
|
|
37507
37824
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37508
37825
|
systeemnaam?: string;
|
|
@@ -37528,6 +37845,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
37528
37845
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
37529
37846
|
online?: boolean;
|
|
37530
37847
|
papierformaat?: string;
|
|
37848
|
+
pdf_map?: string | null;
|
|
37531
37849
|
poort?: number | null;
|
|
37532
37850
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37533
37851
|
systeemnaam?: string;
|
|
@@ -43784,6 +44102,9 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
43784
44102
|
is_herprint: boolean;
|
|
43785
44103
|
kopieen: number;
|
|
43786
44104
|
layout_id: string | null;
|
|
44105
|
+
lokaal_opgeslagen_op: string | null;
|
|
44106
|
+
lokale_pdf_fout: string | null;
|
|
44107
|
+
lokale_pdf_status: string | null;
|
|
43787
44108
|
opgepakt_op: string | null;
|
|
43788
44109
|
paginas: number;
|
|
43789
44110
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -43792,6 +44113,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
43792
44113
|
pogingen: number;
|
|
43793
44114
|
printer_id: string | null;
|
|
43794
44115
|
render_html: string | null;
|
|
44116
|
+
resultaat_pdf_base64: string | null;
|
|
43795
44117
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
43796
44118
|
updated_at: string;
|
|
43797
44119
|
volgende_poging: string | null;
|
|
@@ -43883,6 +44205,53 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
43883
44205
|
isSetofReturn: true;
|
|
43884
44206
|
};
|
|
43885
44207
|
};
|
|
44208
|
+
claim_pdf_print_jobs: {
|
|
44209
|
+
Args: {
|
|
44210
|
+
_max?: number;
|
|
44211
|
+
};
|
|
44212
|
+
Returns: {
|
|
44213
|
+
agent_id: string | null;
|
|
44214
|
+
bron_job_id: string | null;
|
|
44215
|
+
created_at: string;
|
|
44216
|
+
documentnaam: string;
|
|
44217
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
44218
|
+
extern_job_id: string | null;
|
|
44219
|
+
foutmelding: string | null;
|
|
44220
|
+
gebruiker_id: string | null;
|
|
44221
|
+
gebruiker_naam: string;
|
|
44222
|
+
gebruikte_bron: string | null;
|
|
44223
|
+
gebruikte_layout_id: string | null;
|
|
44224
|
+
gestart_op: string | null;
|
|
44225
|
+
herkomst: string | null;
|
|
44226
|
+
id: string;
|
|
44227
|
+
idempotentie_sleutel: string | null;
|
|
44228
|
+
is_herprint: boolean;
|
|
44229
|
+
kopieen: number;
|
|
44230
|
+
layout_id: string | null;
|
|
44231
|
+
lokaal_opgeslagen_op: string | null;
|
|
44232
|
+
lokale_pdf_fout: string | null;
|
|
44233
|
+
lokale_pdf_status: string | null;
|
|
44234
|
+
opgepakt_op: string | null;
|
|
44235
|
+
paginas: number;
|
|
44236
|
+
payload: import("../integrations/supabase/types").Json;
|
|
44237
|
+
pdf_base64: string | null;
|
|
44238
|
+
pdf_url: string | null;
|
|
44239
|
+
pogingen: number;
|
|
44240
|
+
printer_id: string | null;
|
|
44241
|
+
render_html: string | null;
|
|
44242
|
+
resultaat_pdf_base64: string | null;
|
|
44243
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
44244
|
+
updated_at: string;
|
|
44245
|
+
volgende_poging: string | null;
|
|
44246
|
+
voltooid_op: string | null;
|
|
44247
|
+
}[];
|
|
44248
|
+
SetofOptions: {
|
|
44249
|
+
from: "*";
|
|
44250
|
+
to: "print_jobs";
|
|
44251
|
+
isOneToOne: false;
|
|
44252
|
+
isSetofReturn: true;
|
|
44253
|
+
};
|
|
44254
|
+
};
|
|
43886
44255
|
claim_print_jobs: {
|
|
43887
44256
|
Args: {
|
|
43888
44257
|
_agent_id: string;
|
|
@@ -43907,6 +44276,9 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
43907
44276
|
is_herprint: boolean;
|
|
43908
44277
|
kopieen: number;
|
|
43909
44278
|
layout_id: string | null;
|
|
44279
|
+
lokaal_opgeslagen_op: string | null;
|
|
44280
|
+
lokale_pdf_fout: string | null;
|
|
44281
|
+
lokale_pdf_status: string | null;
|
|
43910
44282
|
opgepakt_op: string | null;
|
|
43911
44283
|
paginas: number;
|
|
43912
44284
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -43915,6 +44287,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
43915
44287
|
pogingen: number;
|
|
43916
44288
|
printer_id: string | null;
|
|
43917
44289
|
render_html: string | null;
|
|
44290
|
+
resultaat_pdf_base64: string | null;
|
|
43918
44291
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
43919
44292
|
updated_at: string;
|
|
43920
44293
|
volgende_poging: string | null;
|
|
@@ -44055,6 +44428,8 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
44055
44428
|
order_id: string;
|
|
44056
44429
|
order_source: string;
|
|
44057
44430
|
pick_date: string;
|
|
44431
|
+
printed_at: string;
|
|
44432
|
+
printed_today: boolean;
|
|
44058
44433
|
status: string;
|
|
44059
44434
|
}[];
|
|
44060
44435
|
};
|
|
@@ -44763,6 +45138,10 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
44763
45138
|
};
|
|
44764
45139
|
Returns: number;
|
|
44765
45140
|
};
|
|
45141
|
+
logistics_cancel_orphan_tasks: {
|
|
45142
|
+
Args: never;
|
|
45143
|
+
Returns: number;
|
|
45144
|
+
};
|
|
44766
45145
|
logistics_capacity_day_check: {
|
|
44767
45146
|
Args: {
|
|
44768
45147
|
p_from?: string;
|
|
@@ -44783,6 +45162,25 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
44783
45162
|
};
|
|
44784
45163
|
Returns: number;
|
|
44785
45164
|
};
|
|
45165
|
+
logistics_cart_index: {
|
|
45166
|
+
Args: {
|
|
45167
|
+
p_from?: string;
|
|
45168
|
+
p_to?: string;
|
|
45169
|
+
};
|
|
45170
|
+
Returns: {
|
|
45171
|
+
cart_id: string;
|
|
45172
|
+
cart_index: number;
|
|
45173
|
+
cart_label: string;
|
|
45174
|
+
is_shared: boolean;
|
|
45175
|
+
order_number: string;
|
|
45176
|
+
order_source: string;
|
|
45177
|
+
order_uuid: string;
|
|
45178
|
+
pick_date: string;
|
|
45179
|
+
printed_at: string;
|
|
45180
|
+
shifted: boolean;
|
|
45181
|
+
task_status: string;
|
|
45182
|
+
}[];
|
|
45183
|
+
};
|
|
44786
45184
|
logistics_check_order_allowed: {
|
|
44787
45185
|
Args: {
|
|
44788
45186
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -44931,6 +45329,17 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
44931
45329
|
isSetofReturn: false;
|
|
44932
45330
|
};
|
|
44933
45331
|
};
|
|
45332
|
+
logistics_consistency_check: {
|
|
45333
|
+
Args: never;
|
|
45334
|
+
Returns: {
|
|
45335
|
+
agenda_carts: number;
|
|
45336
|
+
control_carts: number;
|
|
45337
|
+
ok: boolean;
|
|
45338
|
+
orphan_tasks: number;
|
|
45339
|
+
pick_date: string;
|
|
45340
|
+
raw_carts: number;
|
|
45341
|
+
}[];
|
|
45342
|
+
};
|
|
44934
45343
|
logistics_delay_customer_email: {
|
|
44935
45344
|
Args: {
|
|
44936
45345
|
p_customer: string;
|
|
@@ -45124,6 +45533,25 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
45124
45533
|
};
|
|
45125
45534
|
Returns: number;
|
|
45126
45535
|
};
|
|
45536
|
+
logistics_order_overview: {
|
|
45537
|
+
Args: {
|
|
45538
|
+
p_from?: string;
|
|
45539
|
+
p_to?: string;
|
|
45540
|
+
};
|
|
45541
|
+
Returns: {
|
|
45542
|
+
cart_count: number;
|
|
45543
|
+
customer_name: string;
|
|
45544
|
+
delivery_date: string;
|
|
45545
|
+
order_number: string;
|
|
45546
|
+
order_source: string;
|
|
45547
|
+
order_uuid: string;
|
|
45548
|
+
pick_date: string;
|
|
45549
|
+
plant_count: number;
|
|
45550
|
+
printed_at: string;
|
|
45551
|
+
shifted: boolean;
|
|
45552
|
+
status: string;
|
|
45553
|
+
}[];
|
|
45554
|
+
};
|
|
45127
45555
|
logistics_order_pick_day: {
|
|
45128
45556
|
Args: {
|
|
45129
45557
|
p_order_ref: string;
|
|
@@ -45136,6 +45564,22 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
45136
45564
|
};
|
|
45137
45565
|
Returns: string;
|
|
45138
45566
|
};
|
|
45567
|
+
logistics_pick_agenda: {
|
|
45568
|
+
Args: {
|
|
45569
|
+
p_from?: string;
|
|
45570
|
+
p_to?: string;
|
|
45571
|
+
};
|
|
45572
|
+
Returns: {
|
|
45573
|
+
cart_count: number;
|
|
45574
|
+
in_preparation: number;
|
|
45575
|
+
order_count: number;
|
|
45576
|
+
orders: import("../integrations/supabase/types").Json;
|
|
45577
|
+
pick_date: string;
|
|
45578
|
+
plant_count: number;
|
|
45579
|
+
ready: number;
|
|
45580
|
+
shifted_count: number;
|
|
45581
|
+
}[];
|
|
45582
|
+
};
|
|
45139
45583
|
logistics_pick_email_purpose: {
|
|
45140
45584
|
Args: never;
|
|
45141
45585
|
Returns: string;
|
|
@@ -46114,6 +46558,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
46114
46558
|
};
|
|
46115
46559
|
Returns: string;
|
|
46116
46560
|
};
|
|
46561
|
+
resolve_print_job_printer_id: {
|
|
46562
|
+
Args: {
|
|
46563
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
46564
|
+
};
|
|
46565
|
+
Returns: string;
|
|
46566
|
+
};
|
|
46117
46567
|
resolve_product_id_for_item: {
|
|
46118
46568
|
Args: {
|
|
46119
46569
|
p_product_name: string;
|
|
@@ -46705,7 +47155,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
46705
47155
|
};
|
|
46706
47156
|
CompositeTypes: { [_ in never]: never; };
|
|
46707
47157
|
}, {
|
|
46708
|
-
PostgrestVersion: "14.
|
|
47158
|
+
PostgrestVersion: "14.5";
|
|
46709
47159
|
}>;
|
|
46710
47160
|
userId: string;
|
|
46711
47161
|
claims: import("@supabase/auth-js").User;
|
|
@@ -49597,6 +50047,84 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
49597
50047
|
};
|
|
49598
50048
|
Relationships: [];
|
|
49599
50049
|
};
|
|
50050
|
+
delivery_notes: {
|
|
50051
|
+
Row: {
|
|
50052
|
+
byte_size: number | null;
|
|
50053
|
+
connection_id: string | null;
|
|
50054
|
+
content_type: string;
|
|
50055
|
+
created_at: string;
|
|
50056
|
+
error_message: string | null;
|
|
50057
|
+
fetched_at: string | null;
|
|
50058
|
+
fulfillment_order_id: string | null;
|
|
50059
|
+
http_status: number | null;
|
|
50060
|
+
id: string;
|
|
50061
|
+
label_code: string | null;
|
|
50062
|
+
letter: string | null;
|
|
50063
|
+
load_carrier_index: number | null;
|
|
50064
|
+
load_carrier_type: string | null;
|
|
50065
|
+
order_id: string | null;
|
|
50066
|
+
order_number: string | null;
|
|
50067
|
+
packages: number | null;
|
|
50068
|
+
source: string;
|
|
50069
|
+
status: string;
|
|
50070
|
+
storage_bucket: string;
|
|
50071
|
+
storage_path: string | null;
|
|
50072
|
+
updated_at: string;
|
|
50073
|
+
};
|
|
50074
|
+
Insert: {
|
|
50075
|
+
byte_size?: number | null;
|
|
50076
|
+
connection_id?: string | null;
|
|
50077
|
+
content_type?: string;
|
|
50078
|
+
created_at?: string;
|
|
50079
|
+
error_message?: string | null;
|
|
50080
|
+
fetched_at?: string | null;
|
|
50081
|
+
fulfillment_order_id?: string | null;
|
|
50082
|
+
http_status?: number | null;
|
|
50083
|
+
id?: string;
|
|
50084
|
+
label_code?: string | null;
|
|
50085
|
+
letter?: string | null;
|
|
50086
|
+
load_carrier_index?: number | null;
|
|
50087
|
+
load_carrier_type?: string | null;
|
|
50088
|
+
order_id?: string | null;
|
|
50089
|
+
order_number?: string | null;
|
|
50090
|
+
packages?: number | null;
|
|
50091
|
+
source?: string;
|
|
50092
|
+
status?: string;
|
|
50093
|
+
storage_bucket?: string;
|
|
50094
|
+
storage_path?: string | null;
|
|
50095
|
+
updated_at?: string;
|
|
50096
|
+
};
|
|
50097
|
+
Update: {
|
|
50098
|
+
byte_size?: number | null;
|
|
50099
|
+
connection_id?: string | null;
|
|
50100
|
+
content_type?: string;
|
|
50101
|
+
created_at?: string;
|
|
50102
|
+
error_message?: string | null;
|
|
50103
|
+
fetched_at?: string | null;
|
|
50104
|
+
fulfillment_order_id?: string | null;
|
|
50105
|
+
http_status?: number | null;
|
|
50106
|
+
id?: string;
|
|
50107
|
+
label_code?: string | null;
|
|
50108
|
+
letter?: string | null;
|
|
50109
|
+
load_carrier_index?: number | null;
|
|
50110
|
+
load_carrier_type?: string | null;
|
|
50111
|
+
order_id?: string | null;
|
|
50112
|
+
order_number?: string | null;
|
|
50113
|
+
packages?: number | null;
|
|
50114
|
+
source?: string;
|
|
50115
|
+
status?: string;
|
|
50116
|
+
storage_bucket?: string;
|
|
50117
|
+
storage_path?: string | null;
|
|
50118
|
+
updated_at?: string;
|
|
50119
|
+
};
|
|
50120
|
+
Relationships: [{
|
|
50121
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
50122
|
+
columns: ["order_id"];
|
|
50123
|
+
isOneToOne: false;
|
|
50124
|
+
referencedRelation: "orders";
|
|
50125
|
+
referencedColumns: ["id"];
|
|
50126
|
+
}];
|
|
50127
|
+
};
|
|
49600
50128
|
document_bronregels: {
|
|
49601
50129
|
Row: {
|
|
49602
50130
|
bron: string;
|
|
@@ -60405,6 +60933,9 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
60405
60933
|
is_herprint: boolean;
|
|
60406
60934
|
kopieen: number;
|
|
60407
60935
|
layout_id: string | null;
|
|
60936
|
+
lokaal_opgeslagen_op: string | null;
|
|
60937
|
+
lokale_pdf_fout: string | null;
|
|
60938
|
+
lokale_pdf_status: string | null;
|
|
60408
60939
|
opgepakt_op: string | null;
|
|
60409
60940
|
paginas: number;
|
|
60410
60941
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -60413,6 +60944,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
60413
60944
|
pogingen: number;
|
|
60414
60945
|
printer_id: string | null;
|
|
60415
60946
|
render_html: string | null;
|
|
60947
|
+
resultaat_pdf_base64: string | null;
|
|
60416
60948
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
60417
60949
|
updated_at: string;
|
|
60418
60950
|
volgende_poging: string | null;
|
|
@@ -60437,6 +60969,9 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
60437
60969
|
is_herprint?: boolean;
|
|
60438
60970
|
kopieen?: number;
|
|
60439
60971
|
layout_id?: string | null;
|
|
60972
|
+
lokaal_opgeslagen_op?: string | null;
|
|
60973
|
+
lokale_pdf_fout?: string | null;
|
|
60974
|
+
lokale_pdf_status?: string | null;
|
|
60440
60975
|
opgepakt_op?: string | null;
|
|
60441
60976
|
paginas?: number;
|
|
60442
60977
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -60445,6 +60980,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
60445
60980
|
pogingen?: number;
|
|
60446
60981
|
printer_id?: string | null;
|
|
60447
60982
|
render_html?: string | null;
|
|
60983
|
+
resultaat_pdf_base64?: string | null;
|
|
60448
60984
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
60449
60985
|
updated_at?: string;
|
|
60450
60986
|
volgende_poging?: string | null;
|
|
@@ -60469,6 +61005,9 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
60469
61005
|
is_herprint?: boolean;
|
|
60470
61006
|
kopieen?: number;
|
|
60471
61007
|
layout_id?: string | null;
|
|
61008
|
+
lokaal_opgeslagen_op?: string | null;
|
|
61009
|
+
lokale_pdf_fout?: string | null;
|
|
61010
|
+
lokale_pdf_status?: string | null;
|
|
60472
61011
|
opgepakt_op?: string | null;
|
|
60473
61012
|
paginas?: number;
|
|
60474
61013
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -60477,6 +61016,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
60477
61016
|
pogingen?: number;
|
|
60478
61017
|
printer_id?: string | null;
|
|
60479
61018
|
render_html?: string | null;
|
|
61019
|
+
resultaat_pdf_base64?: string | null;
|
|
60480
61020
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
60481
61021
|
updated_at?: string;
|
|
60482
61022
|
volgende_poging?: string | null;
|
|
@@ -60867,6 +61407,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
60867
61407
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
60868
61408
|
online: boolean;
|
|
60869
61409
|
papierformaat: string;
|
|
61410
|
+
pdf_map: string | null;
|
|
60870
61411
|
poort: number | null;
|
|
60871
61412
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
60872
61413
|
systeemnaam: string;
|
|
@@ -60892,6 +61433,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
60892
61433
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
60893
61434
|
online?: boolean;
|
|
60894
61435
|
papierformaat?: string;
|
|
61436
|
+
pdf_map?: string | null;
|
|
60895
61437
|
poort?: number | null;
|
|
60896
61438
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
60897
61439
|
systeemnaam?: string;
|
|
@@ -60917,6 +61459,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
60917
61459
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
60918
61460
|
online?: boolean;
|
|
60919
61461
|
papierformaat?: string;
|
|
61462
|
+
pdf_map?: string | null;
|
|
60920
61463
|
poort?: number | null;
|
|
60921
61464
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
60922
61465
|
systeemnaam?: string;
|
|
@@ -67173,6 +67716,9 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
67173
67716
|
is_herprint: boolean;
|
|
67174
67717
|
kopieen: number;
|
|
67175
67718
|
layout_id: string | null;
|
|
67719
|
+
lokaal_opgeslagen_op: string | null;
|
|
67720
|
+
lokale_pdf_fout: string | null;
|
|
67721
|
+
lokale_pdf_status: string | null;
|
|
67176
67722
|
opgepakt_op: string | null;
|
|
67177
67723
|
paginas: number;
|
|
67178
67724
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -67181,6 +67727,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
67181
67727
|
pogingen: number;
|
|
67182
67728
|
printer_id: string | null;
|
|
67183
67729
|
render_html: string | null;
|
|
67730
|
+
resultaat_pdf_base64: string | null;
|
|
67184
67731
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
67185
67732
|
updated_at: string;
|
|
67186
67733
|
volgende_poging: string | null;
|
|
@@ -67272,6 +67819,53 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
67272
67819
|
isSetofReturn: true;
|
|
67273
67820
|
};
|
|
67274
67821
|
};
|
|
67822
|
+
claim_pdf_print_jobs: {
|
|
67823
|
+
Args: {
|
|
67824
|
+
_max?: number;
|
|
67825
|
+
};
|
|
67826
|
+
Returns: {
|
|
67827
|
+
agent_id: string | null;
|
|
67828
|
+
bron_job_id: string | null;
|
|
67829
|
+
created_at: string;
|
|
67830
|
+
documentnaam: string;
|
|
67831
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
67832
|
+
extern_job_id: string | null;
|
|
67833
|
+
foutmelding: string | null;
|
|
67834
|
+
gebruiker_id: string | null;
|
|
67835
|
+
gebruiker_naam: string;
|
|
67836
|
+
gebruikte_bron: string | null;
|
|
67837
|
+
gebruikte_layout_id: string | null;
|
|
67838
|
+
gestart_op: string | null;
|
|
67839
|
+
herkomst: string | null;
|
|
67840
|
+
id: string;
|
|
67841
|
+
idempotentie_sleutel: string | null;
|
|
67842
|
+
is_herprint: boolean;
|
|
67843
|
+
kopieen: number;
|
|
67844
|
+
layout_id: string | null;
|
|
67845
|
+
lokaal_opgeslagen_op: string | null;
|
|
67846
|
+
lokale_pdf_fout: string | null;
|
|
67847
|
+
lokale_pdf_status: string | null;
|
|
67848
|
+
opgepakt_op: string | null;
|
|
67849
|
+
paginas: number;
|
|
67850
|
+
payload: import("../integrations/supabase/types").Json;
|
|
67851
|
+
pdf_base64: string | null;
|
|
67852
|
+
pdf_url: string | null;
|
|
67853
|
+
pogingen: number;
|
|
67854
|
+
printer_id: string | null;
|
|
67855
|
+
render_html: string | null;
|
|
67856
|
+
resultaat_pdf_base64: string | null;
|
|
67857
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
67858
|
+
updated_at: string;
|
|
67859
|
+
volgende_poging: string | null;
|
|
67860
|
+
voltooid_op: string | null;
|
|
67861
|
+
}[];
|
|
67862
|
+
SetofOptions: {
|
|
67863
|
+
from: "*";
|
|
67864
|
+
to: "print_jobs";
|
|
67865
|
+
isOneToOne: false;
|
|
67866
|
+
isSetofReturn: true;
|
|
67867
|
+
};
|
|
67868
|
+
};
|
|
67275
67869
|
claim_print_jobs: {
|
|
67276
67870
|
Args: {
|
|
67277
67871
|
_agent_id: string;
|
|
@@ -67296,6 +67890,9 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
67296
67890
|
is_herprint: boolean;
|
|
67297
67891
|
kopieen: number;
|
|
67298
67892
|
layout_id: string | null;
|
|
67893
|
+
lokaal_opgeslagen_op: string | null;
|
|
67894
|
+
lokale_pdf_fout: string | null;
|
|
67895
|
+
lokale_pdf_status: string | null;
|
|
67299
67896
|
opgepakt_op: string | null;
|
|
67300
67897
|
paginas: number;
|
|
67301
67898
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -67304,6 +67901,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
67304
67901
|
pogingen: number;
|
|
67305
67902
|
printer_id: string | null;
|
|
67306
67903
|
render_html: string | null;
|
|
67904
|
+
resultaat_pdf_base64: string | null;
|
|
67307
67905
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
67308
67906
|
updated_at: string;
|
|
67309
67907
|
volgende_poging: string | null;
|
|
@@ -67444,6 +68042,8 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
67444
68042
|
order_id: string;
|
|
67445
68043
|
order_source: string;
|
|
67446
68044
|
pick_date: string;
|
|
68045
|
+
printed_at: string;
|
|
68046
|
+
printed_today: boolean;
|
|
67447
68047
|
status: string;
|
|
67448
68048
|
}[];
|
|
67449
68049
|
};
|
|
@@ -68152,6 +68752,10 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
68152
68752
|
};
|
|
68153
68753
|
Returns: number;
|
|
68154
68754
|
};
|
|
68755
|
+
logistics_cancel_orphan_tasks: {
|
|
68756
|
+
Args: never;
|
|
68757
|
+
Returns: number;
|
|
68758
|
+
};
|
|
68155
68759
|
logistics_capacity_day_check: {
|
|
68156
68760
|
Args: {
|
|
68157
68761
|
p_from?: string;
|
|
@@ -68172,6 +68776,25 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
68172
68776
|
};
|
|
68173
68777
|
Returns: number;
|
|
68174
68778
|
};
|
|
68779
|
+
logistics_cart_index: {
|
|
68780
|
+
Args: {
|
|
68781
|
+
p_from?: string;
|
|
68782
|
+
p_to?: string;
|
|
68783
|
+
};
|
|
68784
|
+
Returns: {
|
|
68785
|
+
cart_id: string;
|
|
68786
|
+
cart_index: number;
|
|
68787
|
+
cart_label: string;
|
|
68788
|
+
is_shared: boolean;
|
|
68789
|
+
order_number: string;
|
|
68790
|
+
order_source: string;
|
|
68791
|
+
order_uuid: string;
|
|
68792
|
+
pick_date: string;
|
|
68793
|
+
printed_at: string;
|
|
68794
|
+
shifted: boolean;
|
|
68795
|
+
task_status: string;
|
|
68796
|
+
}[];
|
|
68797
|
+
};
|
|
68175
68798
|
logistics_check_order_allowed: {
|
|
68176
68799
|
Args: {
|
|
68177
68800
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -68320,6 +68943,17 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
68320
68943
|
isSetofReturn: false;
|
|
68321
68944
|
};
|
|
68322
68945
|
};
|
|
68946
|
+
logistics_consistency_check: {
|
|
68947
|
+
Args: never;
|
|
68948
|
+
Returns: {
|
|
68949
|
+
agenda_carts: number;
|
|
68950
|
+
control_carts: number;
|
|
68951
|
+
ok: boolean;
|
|
68952
|
+
orphan_tasks: number;
|
|
68953
|
+
pick_date: string;
|
|
68954
|
+
raw_carts: number;
|
|
68955
|
+
}[];
|
|
68956
|
+
};
|
|
68323
68957
|
logistics_delay_customer_email: {
|
|
68324
68958
|
Args: {
|
|
68325
68959
|
p_customer: string;
|
|
@@ -68513,6 +69147,25 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
68513
69147
|
};
|
|
68514
69148
|
Returns: number;
|
|
68515
69149
|
};
|
|
69150
|
+
logistics_order_overview: {
|
|
69151
|
+
Args: {
|
|
69152
|
+
p_from?: string;
|
|
69153
|
+
p_to?: string;
|
|
69154
|
+
};
|
|
69155
|
+
Returns: {
|
|
69156
|
+
cart_count: number;
|
|
69157
|
+
customer_name: string;
|
|
69158
|
+
delivery_date: string;
|
|
69159
|
+
order_number: string;
|
|
69160
|
+
order_source: string;
|
|
69161
|
+
order_uuid: string;
|
|
69162
|
+
pick_date: string;
|
|
69163
|
+
plant_count: number;
|
|
69164
|
+
printed_at: string;
|
|
69165
|
+
shifted: boolean;
|
|
69166
|
+
status: string;
|
|
69167
|
+
}[];
|
|
69168
|
+
};
|
|
68516
69169
|
logistics_order_pick_day: {
|
|
68517
69170
|
Args: {
|
|
68518
69171
|
p_order_ref: string;
|
|
@@ -68525,6 +69178,22 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
68525
69178
|
};
|
|
68526
69179
|
Returns: string;
|
|
68527
69180
|
};
|
|
69181
|
+
logistics_pick_agenda: {
|
|
69182
|
+
Args: {
|
|
69183
|
+
p_from?: string;
|
|
69184
|
+
p_to?: string;
|
|
69185
|
+
};
|
|
69186
|
+
Returns: {
|
|
69187
|
+
cart_count: number;
|
|
69188
|
+
in_preparation: number;
|
|
69189
|
+
order_count: number;
|
|
69190
|
+
orders: import("../integrations/supabase/types").Json;
|
|
69191
|
+
pick_date: string;
|
|
69192
|
+
plant_count: number;
|
|
69193
|
+
ready: number;
|
|
69194
|
+
shifted_count: number;
|
|
69195
|
+
}[];
|
|
69196
|
+
};
|
|
68528
69197
|
logistics_pick_email_purpose: {
|
|
68529
69198
|
Args: never;
|
|
68530
69199
|
Returns: string;
|
|
@@ -69503,6 +70172,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
69503
70172
|
};
|
|
69504
70173
|
Returns: string;
|
|
69505
70174
|
};
|
|
70175
|
+
resolve_print_job_printer_id: {
|
|
70176
|
+
Args: {
|
|
70177
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
70178
|
+
};
|
|
70179
|
+
Returns: string;
|
|
70180
|
+
};
|
|
69506
70181
|
resolve_product_id_for_item: {
|
|
69507
70182
|
Args: {
|
|
69508
70183
|
p_product_name: string;
|
|
@@ -70094,7 +70769,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
70094
70769
|
};
|
|
70095
70770
|
CompositeTypes: { [_ in never]: never; };
|
|
70096
70771
|
}, {
|
|
70097
|
-
PostgrestVersion: "14.
|
|
70772
|
+
PostgrestVersion: "14.5";
|
|
70098
70773
|
}>;
|
|
70099
70774
|
userId: string;
|
|
70100
70775
|
claims: import("@supabase/auth-js").User;
|