@flowselections/logistiek-engine 1.0.23 → 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 +335 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +335 -1
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +335 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +337 -1
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.functions.d.ts +1005 -3
- package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
- package/dist-lib/lib/floridayPush.functions.d.ts +335 -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 +1675 -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 +670 -2
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts +335 -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 +7 -4
|
@@ -2856,6 +2856,84 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
2856
2856
|
};
|
|
2857
2857
|
Relationships: [];
|
|
2858
2858
|
};
|
|
2859
|
+
delivery_notes: {
|
|
2860
|
+
Row: {
|
|
2861
|
+
byte_size: number | null;
|
|
2862
|
+
connection_id: string | null;
|
|
2863
|
+
content_type: string;
|
|
2864
|
+
created_at: string;
|
|
2865
|
+
error_message: string | null;
|
|
2866
|
+
fetched_at: string | null;
|
|
2867
|
+
fulfillment_order_id: string | null;
|
|
2868
|
+
http_status: number | null;
|
|
2869
|
+
id: string;
|
|
2870
|
+
label_code: string | null;
|
|
2871
|
+
letter: string | null;
|
|
2872
|
+
load_carrier_index: number | null;
|
|
2873
|
+
load_carrier_type: string | null;
|
|
2874
|
+
order_id: string | null;
|
|
2875
|
+
order_number: string | null;
|
|
2876
|
+
packages: number | null;
|
|
2877
|
+
source: string;
|
|
2878
|
+
status: string;
|
|
2879
|
+
storage_bucket: string;
|
|
2880
|
+
storage_path: string | null;
|
|
2881
|
+
updated_at: string;
|
|
2882
|
+
};
|
|
2883
|
+
Insert: {
|
|
2884
|
+
byte_size?: number | null;
|
|
2885
|
+
connection_id?: string | null;
|
|
2886
|
+
content_type?: string;
|
|
2887
|
+
created_at?: string;
|
|
2888
|
+
error_message?: string | null;
|
|
2889
|
+
fetched_at?: string | null;
|
|
2890
|
+
fulfillment_order_id?: string | null;
|
|
2891
|
+
http_status?: number | null;
|
|
2892
|
+
id?: string;
|
|
2893
|
+
label_code?: string | null;
|
|
2894
|
+
letter?: string | null;
|
|
2895
|
+
load_carrier_index?: number | null;
|
|
2896
|
+
load_carrier_type?: string | null;
|
|
2897
|
+
order_id?: string | null;
|
|
2898
|
+
order_number?: string | null;
|
|
2899
|
+
packages?: number | null;
|
|
2900
|
+
source?: string;
|
|
2901
|
+
status?: string;
|
|
2902
|
+
storage_bucket?: string;
|
|
2903
|
+
storage_path?: string | null;
|
|
2904
|
+
updated_at?: string;
|
|
2905
|
+
};
|
|
2906
|
+
Update: {
|
|
2907
|
+
byte_size?: number | null;
|
|
2908
|
+
connection_id?: string | null;
|
|
2909
|
+
content_type?: string;
|
|
2910
|
+
created_at?: string;
|
|
2911
|
+
error_message?: string | null;
|
|
2912
|
+
fetched_at?: string | null;
|
|
2913
|
+
fulfillment_order_id?: string | null;
|
|
2914
|
+
http_status?: number | null;
|
|
2915
|
+
id?: string;
|
|
2916
|
+
label_code?: string | null;
|
|
2917
|
+
letter?: string | null;
|
|
2918
|
+
load_carrier_index?: number | null;
|
|
2919
|
+
load_carrier_type?: string | null;
|
|
2920
|
+
order_id?: string | null;
|
|
2921
|
+
order_number?: string | null;
|
|
2922
|
+
packages?: number | null;
|
|
2923
|
+
source?: string;
|
|
2924
|
+
status?: string;
|
|
2925
|
+
storage_bucket?: string;
|
|
2926
|
+
storage_path?: string | null;
|
|
2927
|
+
updated_at?: string;
|
|
2928
|
+
};
|
|
2929
|
+
Relationships: [{
|
|
2930
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
2931
|
+
columns: ["order_id"];
|
|
2932
|
+
isOneToOne: false;
|
|
2933
|
+
referencedRelation: "orders";
|
|
2934
|
+
referencedColumns: ["id"];
|
|
2935
|
+
}];
|
|
2936
|
+
};
|
|
2859
2937
|
document_bronregels: {
|
|
2860
2938
|
Row: {
|
|
2861
2939
|
bron: string;
|
|
@@ -13581,6 +13659,39 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
13581
13659
|
};
|
|
13582
13660
|
Relationships: [];
|
|
13583
13661
|
};
|
|
13662
|
+
print_dedupe_events: {
|
|
13663
|
+
Row: {
|
|
13664
|
+
bestaande_job_id: string | null;
|
|
13665
|
+
created_at: string;
|
|
13666
|
+
detail: string | null;
|
|
13667
|
+
documentnaam: string | null;
|
|
13668
|
+
documenttype: string | null;
|
|
13669
|
+
id: string;
|
|
13670
|
+
idempotentie_sleutel: string;
|
|
13671
|
+
reden: string;
|
|
13672
|
+
};
|
|
13673
|
+
Insert: {
|
|
13674
|
+
bestaande_job_id?: string | null;
|
|
13675
|
+
created_at?: string;
|
|
13676
|
+
detail?: string | null;
|
|
13677
|
+
documentnaam?: string | null;
|
|
13678
|
+
documenttype?: string | null;
|
|
13679
|
+
id?: string;
|
|
13680
|
+
idempotentie_sleutel: string;
|
|
13681
|
+
reden: string;
|
|
13682
|
+
};
|
|
13683
|
+
Update: {
|
|
13684
|
+
bestaande_job_id?: string | null;
|
|
13685
|
+
created_at?: string;
|
|
13686
|
+
detail?: string | null;
|
|
13687
|
+
documentnaam?: string | null;
|
|
13688
|
+
documenttype?: string | null;
|
|
13689
|
+
id?: string;
|
|
13690
|
+
idempotentie_sleutel?: string;
|
|
13691
|
+
reden?: string;
|
|
13692
|
+
};
|
|
13693
|
+
Relationships: [];
|
|
13694
|
+
};
|
|
13584
13695
|
print_job_logs: {
|
|
13585
13696
|
Row: {
|
|
13586
13697
|
created_at: string;
|
|
@@ -13631,6 +13742,9 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
13631
13742
|
is_herprint: boolean;
|
|
13632
13743
|
kopieen: number;
|
|
13633
13744
|
layout_id: string | null;
|
|
13745
|
+
lokaal_opgeslagen_op: string | null;
|
|
13746
|
+
lokale_pdf_fout: string | null;
|
|
13747
|
+
lokale_pdf_status: string | null;
|
|
13634
13748
|
opgepakt_op: string | null;
|
|
13635
13749
|
paginas: number;
|
|
13636
13750
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -13639,6 +13753,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
13639
13753
|
pogingen: number;
|
|
13640
13754
|
printer_id: string | null;
|
|
13641
13755
|
render_html: string | null;
|
|
13756
|
+
resultaat_pdf_base64: string | null;
|
|
13642
13757
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13643
13758
|
updated_at: string;
|
|
13644
13759
|
volgende_poging: string | null;
|
|
@@ -13663,6 +13778,9 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
13663
13778
|
is_herprint?: boolean;
|
|
13664
13779
|
kopieen?: number;
|
|
13665
13780
|
layout_id?: string | null;
|
|
13781
|
+
lokaal_opgeslagen_op?: string | null;
|
|
13782
|
+
lokale_pdf_fout?: string | null;
|
|
13783
|
+
lokale_pdf_status?: string | null;
|
|
13666
13784
|
opgepakt_op?: string | null;
|
|
13667
13785
|
paginas?: number;
|
|
13668
13786
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -13671,6 +13789,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
13671
13789
|
pogingen?: number;
|
|
13672
13790
|
printer_id?: string | null;
|
|
13673
13791
|
render_html?: string | null;
|
|
13792
|
+
resultaat_pdf_base64?: string | null;
|
|
13674
13793
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13675
13794
|
updated_at?: string;
|
|
13676
13795
|
volgende_poging?: string | null;
|
|
@@ -13695,6 +13814,9 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
13695
13814
|
is_herprint?: boolean;
|
|
13696
13815
|
kopieen?: number;
|
|
13697
13816
|
layout_id?: string | null;
|
|
13817
|
+
lokaal_opgeslagen_op?: string | null;
|
|
13818
|
+
lokale_pdf_fout?: string | null;
|
|
13819
|
+
lokale_pdf_status?: string | null;
|
|
13698
13820
|
opgepakt_op?: string | null;
|
|
13699
13821
|
paginas?: number;
|
|
13700
13822
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -13703,6 +13825,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
13703
13825
|
pogingen?: number;
|
|
13704
13826
|
printer_id?: string | null;
|
|
13705
13827
|
render_html?: string | null;
|
|
13828
|
+
resultaat_pdf_base64?: string | null;
|
|
13706
13829
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13707
13830
|
updated_at?: string;
|
|
13708
13831
|
volgende_poging?: string | null;
|
|
@@ -13821,6 +13944,39 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
13821
13944
|
};
|
|
13822
13945
|
Relationships: [];
|
|
13823
13946
|
};
|
|
13947
|
+
print_preview_events: {
|
|
13948
|
+
Row: {
|
|
13949
|
+
code: string | null;
|
|
13950
|
+
created_at: string;
|
|
13951
|
+
detail: import("../integrations/supabase/types").Json;
|
|
13952
|
+
id: string;
|
|
13953
|
+
queue_item_id: string | null;
|
|
13954
|
+
reden: string | null;
|
|
13955
|
+
station_slug: string | null;
|
|
13956
|
+
uitkomst: string;
|
|
13957
|
+
};
|
|
13958
|
+
Insert: {
|
|
13959
|
+
code?: string | null;
|
|
13960
|
+
created_at?: string;
|
|
13961
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
13962
|
+
id?: string;
|
|
13963
|
+
queue_item_id?: string | null;
|
|
13964
|
+
reden?: string | null;
|
|
13965
|
+
station_slug?: string | null;
|
|
13966
|
+
uitkomst?: string;
|
|
13967
|
+
};
|
|
13968
|
+
Update: {
|
|
13969
|
+
code?: string | null;
|
|
13970
|
+
created_at?: string;
|
|
13971
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
13972
|
+
id?: string;
|
|
13973
|
+
queue_item_id?: string | null;
|
|
13974
|
+
reden?: string | null;
|
|
13975
|
+
station_slug?: string | null;
|
|
13976
|
+
uitkomst?: string;
|
|
13977
|
+
};
|
|
13978
|
+
Relationships: [];
|
|
13979
|
+
};
|
|
13824
13980
|
print_queue_runners: {
|
|
13825
13981
|
Row: {
|
|
13826
13982
|
actief: boolean;
|
|
@@ -14060,6 +14216,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
14060
14216
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
14061
14217
|
online: boolean;
|
|
14062
14218
|
papierformaat: string;
|
|
14219
|
+
pdf_map: string | null;
|
|
14063
14220
|
poort: number | null;
|
|
14064
14221
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14065
14222
|
systeemnaam: string;
|
|
@@ -14085,6 +14242,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
14085
14242
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
14086
14243
|
online?: boolean;
|
|
14087
14244
|
papierformaat?: string;
|
|
14245
|
+
pdf_map?: string | null;
|
|
14088
14246
|
poort?: number | null;
|
|
14089
14247
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14090
14248
|
systeemnaam?: string;
|
|
@@ -14110,6 +14268,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
14110
14268
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
14111
14269
|
online?: boolean;
|
|
14112
14270
|
papierformaat?: string;
|
|
14271
|
+
pdf_map?: string | null;
|
|
14113
14272
|
poort?: number | null;
|
|
14114
14273
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14115
14274
|
systeemnaam?: string;
|
|
@@ -20366,6 +20525,9 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
20366
20525
|
is_herprint: boolean;
|
|
20367
20526
|
kopieen: number;
|
|
20368
20527
|
layout_id: string | null;
|
|
20528
|
+
lokaal_opgeslagen_op: string | null;
|
|
20529
|
+
lokale_pdf_fout: string | null;
|
|
20530
|
+
lokale_pdf_status: string | null;
|
|
20369
20531
|
opgepakt_op: string | null;
|
|
20370
20532
|
paginas: number;
|
|
20371
20533
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -20374,6 +20536,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
20374
20536
|
pogingen: number;
|
|
20375
20537
|
printer_id: string | null;
|
|
20376
20538
|
render_html: string | null;
|
|
20539
|
+
resultaat_pdf_base64: string | null;
|
|
20377
20540
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20378
20541
|
updated_at: string;
|
|
20379
20542
|
volgende_poging: string | null;
|
|
@@ -20465,6 +20628,53 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
20465
20628
|
isSetofReturn: true;
|
|
20466
20629
|
};
|
|
20467
20630
|
};
|
|
20631
|
+
claim_pdf_print_jobs: {
|
|
20632
|
+
Args: {
|
|
20633
|
+
_max?: number;
|
|
20634
|
+
};
|
|
20635
|
+
Returns: {
|
|
20636
|
+
agent_id: string | null;
|
|
20637
|
+
bron_job_id: string | null;
|
|
20638
|
+
created_at: string;
|
|
20639
|
+
documentnaam: string;
|
|
20640
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
20641
|
+
extern_job_id: string | null;
|
|
20642
|
+
foutmelding: string | null;
|
|
20643
|
+
gebruiker_id: string | null;
|
|
20644
|
+
gebruiker_naam: string;
|
|
20645
|
+
gebruikte_bron: string | null;
|
|
20646
|
+
gebruikte_layout_id: string | null;
|
|
20647
|
+
gestart_op: string | null;
|
|
20648
|
+
herkomst: string | null;
|
|
20649
|
+
id: string;
|
|
20650
|
+
idempotentie_sleutel: string | null;
|
|
20651
|
+
is_herprint: boolean;
|
|
20652
|
+
kopieen: number;
|
|
20653
|
+
layout_id: string | null;
|
|
20654
|
+
lokaal_opgeslagen_op: string | null;
|
|
20655
|
+
lokale_pdf_fout: string | null;
|
|
20656
|
+
lokale_pdf_status: string | null;
|
|
20657
|
+
opgepakt_op: string | null;
|
|
20658
|
+
paginas: number;
|
|
20659
|
+
payload: import("../integrations/supabase/types").Json;
|
|
20660
|
+
pdf_base64: string | null;
|
|
20661
|
+
pdf_url: string | null;
|
|
20662
|
+
pogingen: number;
|
|
20663
|
+
printer_id: string | null;
|
|
20664
|
+
render_html: string | null;
|
|
20665
|
+
resultaat_pdf_base64: string | null;
|
|
20666
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20667
|
+
updated_at: string;
|
|
20668
|
+
volgende_poging: string | null;
|
|
20669
|
+
voltooid_op: string | null;
|
|
20670
|
+
}[];
|
|
20671
|
+
SetofOptions: {
|
|
20672
|
+
from: "*";
|
|
20673
|
+
to: "print_jobs";
|
|
20674
|
+
isOneToOne: false;
|
|
20675
|
+
isSetofReturn: true;
|
|
20676
|
+
};
|
|
20677
|
+
};
|
|
20468
20678
|
claim_print_jobs: {
|
|
20469
20679
|
Args: {
|
|
20470
20680
|
_agent_id: string;
|
|
@@ -20489,6 +20699,9 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
20489
20699
|
is_herprint: boolean;
|
|
20490
20700
|
kopieen: number;
|
|
20491
20701
|
layout_id: string | null;
|
|
20702
|
+
lokaal_opgeslagen_op: string | null;
|
|
20703
|
+
lokale_pdf_fout: string | null;
|
|
20704
|
+
lokale_pdf_status: string | null;
|
|
20492
20705
|
opgepakt_op: string | null;
|
|
20493
20706
|
paginas: number;
|
|
20494
20707
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -20497,6 +20710,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
20497
20710
|
pogingen: number;
|
|
20498
20711
|
printer_id: string | null;
|
|
20499
20712
|
render_html: string | null;
|
|
20713
|
+
resultaat_pdf_base64: string | null;
|
|
20500
20714
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20501
20715
|
updated_at: string;
|
|
20502
20716
|
volgende_poging: string | null;
|
|
@@ -20637,6 +20851,8 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
20637
20851
|
order_id: string;
|
|
20638
20852
|
order_source: string;
|
|
20639
20853
|
pick_date: string;
|
|
20854
|
+
printed_at: string;
|
|
20855
|
+
printed_today: boolean;
|
|
20640
20856
|
status: string;
|
|
20641
20857
|
}[];
|
|
20642
20858
|
};
|
|
@@ -21345,6 +21561,10 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
21345
21561
|
};
|
|
21346
21562
|
Returns: number;
|
|
21347
21563
|
};
|
|
21564
|
+
logistics_cancel_orphan_tasks: {
|
|
21565
|
+
Args: never;
|
|
21566
|
+
Returns: number;
|
|
21567
|
+
};
|
|
21348
21568
|
logistics_capacity_day_check: {
|
|
21349
21569
|
Args: {
|
|
21350
21570
|
p_from?: string;
|
|
@@ -21365,6 +21585,25 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
21365
21585
|
};
|
|
21366
21586
|
Returns: number;
|
|
21367
21587
|
};
|
|
21588
|
+
logistics_cart_index: {
|
|
21589
|
+
Args: {
|
|
21590
|
+
p_from?: string;
|
|
21591
|
+
p_to?: string;
|
|
21592
|
+
};
|
|
21593
|
+
Returns: {
|
|
21594
|
+
cart_id: string;
|
|
21595
|
+
cart_index: number;
|
|
21596
|
+
cart_label: string;
|
|
21597
|
+
is_shared: boolean;
|
|
21598
|
+
order_number: string;
|
|
21599
|
+
order_source: string;
|
|
21600
|
+
order_uuid: string;
|
|
21601
|
+
pick_date: string;
|
|
21602
|
+
printed_at: string;
|
|
21603
|
+
shifted: boolean;
|
|
21604
|
+
task_status: string;
|
|
21605
|
+
}[];
|
|
21606
|
+
};
|
|
21368
21607
|
logistics_check_order_allowed: {
|
|
21369
21608
|
Args: {
|
|
21370
21609
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -21513,6 +21752,17 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
21513
21752
|
isSetofReturn: false;
|
|
21514
21753
|
};
|
|
21515
21754
|
};
|
|
21755
|
+
logistics_consistency_check: {
|
|
21756
|
+
Args: never;
|
|
21757
|
+
Returns: {
|
|
21758
|
+
agenda_carts: number;
|
|
21759
|
+
control_carts: number;
|
|
21760
|
+
ok: boolean;
|
|
21761
|
+
orphan_tasks: number;
|
|
21762
|
+
pick_date: string;
|
|
21763
|
+
raw_carts: number;
|
|
21764
|
+
}[];
|
|
21765
|
+
};
|
|
21516
21766
|
logistics_delay_customer_email: {
|
|
21517
21767
|
Args: {
|
|
21518
21768
|
p_customer: string;
|
|
@@ -21706,6 +21956,25 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
21706
21956
|
};
|
|
21707
21957
|
Returns: number;
|
|
21708
21958
|
};
|
|
21959
|
+
logistics_order_overview: {
|
|
21960
|
+
Args: {
|
|
21961
|
+
p_from?: string;
|
|
21962
|
+
p_to?: string;
|
|
21963
|
+
};
|
|
21964
|
+
Returns: {
|
|
21965
|
+
cart_count: number;
|
|
21966
|
+
customer_name: string;
|
|
21967
|
+
delivery_date: string;
|
|
21968
|
+
order_number: string;
|
|
21969
|
+
order_source: string;
|
|
21970
|
+
order_uuid: string;
|
|
21971
|
+
pick_date: string;
|
|
21972
|
+
plant_count: number;
|
|
21973
|
+
printed_at: string;
|
|
21974
|
+
shifted: boolean;
|
|
21975
|
+
status: string;
|
|
21976
|
+
}[];
|
|
21977
|
+
};
|
|
21709
21978
|
logistics_order_pick_day: {
|
|
21710
21979
|
Args: {
|
|
21711
21980
|
p_order_ref: string;
|
|
@@ -21718,6 +21987,22 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
21718
21987
|
};
|
|
21719
21988
|
Returns: string;
|
|
21720
21989
|
};
|
|
21990
|
+
logistics_pick_agenda: {
|
|
21991
|
+
Args: {
|
|
21992
|
+
p_from?: string;
|
|
21993
|
+
p_to?: string;
|
|
21994
|
+
};
|
|
21995
|
+
Returns: {
|
|
21996
|
+
cart_count: number;
|
|
21997
|
+
in_preparation: number;
|
|
21998
|
+
order_count: number;
|
|
21999
|
+
orders: import("../integrations/supabase/types").Json;
|
|
22000
|
+
pick_date: string;
|
|
22001
|
+
plant_count: number;
|
|
22002
|
+
ready: number;
|
|
22003
|
+
shifted_count: number;
|
|
22004
|
+
}[];
|
|
22005
|
+
};
|
|
21721
22006
|
logistics_pick_email_purpose: {
|
|
21722
22007
|
Args: never;
|
|
21723
22008
|
Returns: string;
|
|
@@ -21877,6 +22162,15 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
21877
22162
|
};
|
|
21878
22163
|
Returns: import("../integrations/supabase/types").Json;
|
|
21879
22164
|
};
|
|
22165
|
+
logistics_resolve_pick_document: {
|
|
22166
|
+
Args: {
|
|
22167
|
+
_is_herprint: boolean;
|
|
22168
|
+
_queue_item_id: string;
|
|
22169
|
+
_session_id: string;
|
|
22170
|
+
_voorbeeld: boolean;
|
|
22171
|
+
};
|
|
22172
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22173
|
+
};
|
|
21880
22174
|
logistics_resolve_settings: {
|
|
21881
22175
|
Args: {
|
|
21882
22176
|
p_config_id: string;
|
|
@@ -22317,6 +22611,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
22317
22611
|
};
|
|
22318
22612
|
pick_enqueue_print_job: {
|
|
22319
22613
|
Args: {
|
|
22614
|
+
_is_herprint?: boolean;
|
|
22320
22615
|
_printer_id?: string;
|
|
22321
22616
|
_queue_item_id: string;
|
|
22322
22617
|
_session_id?: string;
|
|
@@ -22330,6 +22625,13 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
22330
22625
|
};
|
|
22331
22626
|
Returns: import("../integrations/supabase/types").Json;
|
|
22332
22627
|
};
|
|
22628
|
+
pick_preview_job: {
|
|
22629
|
+
Args: {
|
|
22630
|
+
_queue_item_id: string;
|
|
22631
|
+
_station_slug: string;
|
|
22632
|
+
};
|
|
22633
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22634
|
+
};
|
|
22333
22635
|
pick_print_job_status: {
|
|
22334
22636
|
Args: {
|
|
22335
22637
|
_job_id: string;
|
|
@@ -22507,6 +22809,24 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
22507
22809
|
};
|
|
22508
22810
|
Returns: undefined;
|
|
22509
22811
|
};
|
|
22812
|
+
print_preview_toestaan: {
|
|
22813
|
+
Args: {
|
|
22814
|
+
_max?: number;
|
|
22815
|
+
_queue_item_id: string;
|
|
22816
|
+
_station_slug: string;
|
|
22817
|
+
_venster_sec?: number;
|
|
22818
|
+
};
|
|
22819
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22820
|
+
};
|
|
22821
|
+
print_preview_weiger: {
|
|
22822
|
+
Args: {
|
|
22823
|
+
_code: string;
|
|
22824
|
+
_queue_item_id: string;
|
|
22825
|
+
_reden: string;
|
|
22826
|
+
_station_slug: string;
|
|
22827
|
+
};
|
|
22828
|
+
Returns: undefined;
|
|
22829
|
+
};
|
|
22510
22830
|
process_logistics_event: {
|
|
22511
22831
|
Args: {
|
|
22512
22832
|
p_event_id: string;
|
|
@@ -22624,6 +22944,14 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
22624
22944
|
};
|
|
22625
22945
|
Returns: undefined;
|
|
22626
22946
|
};
|
|
22947
|
+
replace_order_carts: {
|
|
22948
|
+
Args: {
|
|
22949
|
+
p_buffer_id: string;
|
|
22950
|
+
p_carts: import("../integrations/supabase/types").Json;
|
|
22951
|
+
p_order_id: string;
|
|
22952
|
+
};
|
|
22953
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22954
|
+
};
|
|
22627
22955
|
reset_floriday_sync_cursor: {
|
|
22628
22956
|
Args: {
|
|
22629
22957
|
p_connection_id: string;
|
|
@@ -22653,6 +22981,12 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
22653
22981
|
};
|
|
22654
22982
|
Returns: string;
|
|
22655
22983
|
};
|
|
22984
|
+
resolve_print_job_printer_id: {
|
|
22985
|
+
Args: {
|
|
22986
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
22987
|
+
};
|
|
22988
|
+
Returns: string;
|
|
22989
|
+
};
|
|
22656
22990
|
resolve_product_id_for_item: {
|
|
22657
22991
|
Args: {
|
|
22658
22992
|
p_product_name: string;
|
|
@@ -23244,7 +23578,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
23244
23578
|
};
|
|
23245
23579
|
CompositeTypes: { [_ in never]: never; };
|
|
23246
23580
|
}, {
|
|
23247
|
-
PostgrestVersion: "14.
|
|
23581
|
+
PostgrestVersion: "14.5";
|
|
23248
23582
|
}>;
|
|
23249
23583
|
userId: string;
|
|
23250
23584
|
claims: import("@supabase/auth-js").User;
|
|
@@ -26115,6 +26449,84 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
26115
26449
|
};
|
|
26116
26450
|
Relationships: [];
|
|
26117
26451
|
};
|
|
26452
|
+
delivery_notes: {
|
|
26453
|
+
Row: {
|
|
26454
|
+
byte_size: number | null;
|
|
26455
|
+
connection_id: string | null;
|
|
26456
|
+
content_type: string;
|
|
26457
|
+
created_at: string;
|
|
26458
|
+
error_message: string | null;
|
|
26459
|
+
fetched_at: string | null;
|
|
26460
|
+
fulfillment_order_id: string | null;
|
|
26461
|
+
http_status: number | null;
|
|
26462
|
+
id: string;
|
|
26463
|
+
label_code: string | null;
|
|
26464
|
+
letter: string | null;
|
|
26465
|
+
load_carrier_index: number | null;
|
|
26466
|
+
load_carrier_type: string | null;
|
|
26467
|
+
order_id: string | null;
|
|
26468
|
+
order_number: string | null;
|
|
26469
|
+
packages: number | null;
|
|
26470
|
+
source: string;
|
|
26471
|
+
status: string;
|
|
26472
|
+
storage_bucket: string;
|
|
26473
|
+
storage_path: string | null;
|
|
26474
|
+
updated_at: string;
|
|
26475
|
+
};
|
|
26476
|
+
Insert: {
|
|
26477
|
+
byte_size?: number | null;
|
|
26478
|
+
connection_id?: string | null;
|
|
26479
|
+
content_type?: string;
|
|
26480
|
+
created_at?: string;
|
|
26481
|
+
error_message?: string | null;
|
|
26482
|
+
fetched_at?: string | null;
|
|
26483
|
+
fulfillment_order_id?: string | null;
|
|
26484
|
+
http_status?: number | null;
|
|
26485
|
+
id?: string;
|
|
26486
|
+
label_code?: string | null;
|
|
26487
|
+
letter?: string | null;
|
|
26488
|
+
load_carrier_index?: number | null;
|
|
26489
|
+
load_carrier_type?: string | null;
|
|
26490
|
+
order_id?: string | null;
|
|
26491
|
+
order_number?: string | null;
|
|
26492
|
+
packages?: number | null;
|
|
26493
|
+
source?: string;
|
|
26494
|
+
status?: string;
|
|
26495
|
+
storage_bucket?: string;
|
|
26496
|
+
storage_path?: string | null;
|
|
26497
|
+
updated_at?: string;
|
|
26498
|
+
};
|
|
26499
|
+
Update: {
|
|
26500
|
+
byte_size?: number | null;
|
|
26501
|
+
connection_id?: string | null;
|
|
26502
|
+
content_type?: string;
|
|
26503
|
+
created_at?: string;
|
|
26504
|
+
error_message?: string | null;
|
|
26505
|
+
fetched_at?: string | null;
|
|
26506
|
+
fulfillment_order_id?: string | null;
|
|
26507
|
+
http_status?: number | null;
|
|
26508
|
+
id?: string;
|
|
26509
|
+
label_code?: string | null;
|
|
26510
|
+
letter?: string | null;
|
|
26511
|
+
load_carrier_index?: number | null;
|
|
26512
|
+
load_carrier_type?: string | null;
|
|
26513
|
+
order_id?: string | null;
|
|
26514
|
+
order_number?: string | null;
|
|
26515
|
+
packages?: number | null;
|
|
26516
|
+
source?: string;
|
|
26517
|
+
status?: string;
|
|
26518
|
+
storage_bucket?: string;
|
|
26519
|
+
storage_path?: string | null;
|
|
26520
|
+
updated_at?: string;
|
|
26521
|
+
};
|
|
26522
|
+
Relationships: [{
|
|
26523
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
26524
|
+
columns: ["order_id"];
|
|
26525
|
+
isOneToOne: false;
|
|
26526
|
+
referencedRelation: "orders";
|
|
26527
|
+
referencedColumns: ["id"];
|
|
26528
|
+
}];
|
|
26529
|
+
};
|
|
26118
26530
|
document_bronregels: {
|
|
26119
26531
|
Row: {
|
|
26120
26532
|
bron: string;
|
|
@@ -36840,6 +37252,39 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
36840
37252
|
};
|
|
36841
37253
|
Relationships: [];
|
|
36842
37254
|
};
|
|
37255
|
+
print_dedupe_events: {
|
|
37256
|
+
Row: {
|
|
37257
|
+
bestaande_job_id: string | null;
|
|
37258
|
+
created_at: string;
|
|
37259
|
+
detail: string | null;
|
|
37260
|
+
documentnaam: string | null;
|
|
37261
|
+
documenttype: string | null;
|
|
37262
|
+
id: string;
|
|
37263
|
+
idempotentie_sleutel: string;
|
|
37264
|
+
reden: string;
|
|
37265
|
+
};
|
|
37266
|
+
Insert: {
|
|
37267
|
+
bestaande_job_id?: string | null;
|
|
37268
|
+
created_at?: string;
|
|
37269
|
+
detail?: string | null;
|
|
37270
|
+
documentnaam?: string | null;
|
|
37271
|
+
documenttype?: string | null;
|
|
37272
|
+
id?: string;
|
|
37273
|
+
idempotentie_sleutel: string;
|
|
37274
|
+
reden: string;
|
|
37275
|
+
};
|
|
37276
|
+
Update: {
|
|
37277
|
+
bestaande_job_id?: string | null;
|
|
37278
|
+
created_at?: string;
|
|
37279
|
+
detail?: string | null;
|
|
37280
|
+
documentnaam?: string | null;
|
|
37281
|
+
documenttype?: string | null;
|
|
37282
|
+
id?: string;
|
|
37283
|
+
idempotentie_sleutel?: string;
|
|
37284
|
+
reden?: string;
|
|
37285
|
+
};
|
|
37286
|
+
Relationships: [];
|
|
37287
|
+
};
|
|
36843
37288
|
print_job_logs: {
|
|
36844
37289
|
Row: {
|
|
36845
37290
|
created_at: string;
|
|
@@ -36890,6 +37335,9 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
36890
37335
|
is_herprint: boolean;
|
|
36891
37336
|
kopieen: number;
|
|
36892
37337
|
layout_id: string | null;
|
|
37338
|
+
lokaal_opgeslagen_op: string | null;
|
|
37339
|
+
lokale_pdf_fout: string | null;
|
|
37340
|
+
lokale_pdf_status: string | null;
|
|
36893
37341
|
opgepakt_op: string | null;
|
|
36894
37342
|
paginas: number;
|
|
36895
37343
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -36898,6 +37346,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
36898
37346
|
pogingen: number;
|
|
36899
37347
|
printer_id: string | null;
|
|
36900
37348
|
render_html: string | null;
|
|
37349
|
+
resultaat_pdf_base64: string | null;
|
|
36901
37350
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
36902
37351
|
updated_at: string;
|
|
36903
37352
|
volgende_poging: string | null;
|
|
@@ -36922,6 +37371,9 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
36922
37371
|
is_herprint?: boolean;
|
|
36923
37372
|
kopieen?: number;
|
|
36924
37373
|
layout_id?: string | null;
|
|
37374
|
+
lokaal_opgeslagen_op?: string | null;
|
|
37375
|
+
lokale_pdf_fout?: string | null;
|
|
37376
|
+
lokale_pdf_status?: string | null;
|
|
36925
37377
|
opgepakt_op?: string | null;
|
|
36926
37378
|
paginas?: number;
|
|
36927
37379
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -36930,6 +37382,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
36930
37382
|
pogingen?: number;
|
|
36931
37383
|
printer_id?: string | null;
|
|
36932
37384
|
render_html?: string | null;
|
|
37385
|
+
resultaat_pdf_base64?: string | null;
|
|
36933
37386
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
36934
37387
|
updated_at?: string;
|
|
36935
37388
|
volgende_poging?: string | null;
|
|
@@ -36954,6 +37407,9 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
36954
37407
|
is_herprint?: boolean;
|
|
36955
37408
|
kopieen?: number;
|
|
36956
37409
|
layout_id?: string | null;
|
|
37410
|
+
lokaal_opgeslagen_op?: string | null;
|
|
37411
|
+
lokale_pdf_fout?: string | null;
|
|
37412
|
+
lokale_pdf_status?: string | null;
|
|
36957
37413
|
opgepakt_op?: string | null;
|
|
36958
37414
|
paginas?: number;
|
|
36959
37415
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -36962,6 +37418,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
36962
37418
|
pogingen?: number;
|
|
36963
37419
|
printer_id?: string | null;
|
|
36964
37420
|
render_html?: string | null;
|
|
37421
|
+
resultaat_pdf_base64?: string | null;
|
|
36965
37422
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
36966
37423
|
updated_at?: string;
|
|
36967
37424
|
volgende_poging?: string | null;
|
|
@@ -37080,6 +37537,39 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
37080
37537
|
};
|
|
37081
37538
|
Relationships: [];
|
|
37082
37539
|
};
|
|
37540
|
+
print_preview_events: {
|
|
37541
|
+
Row: {
|
|
37542
|
+
code: string | null;
|
|
37543
|
+
created_at: string;
|
|
37544
|
+
detail: import("../integrations/supabase/types").Json;
|
|
37545
|
+
id: string;
|
|
37546
|
+
queue_item_id: string | null;
|
|
37547
|
+
reden: string | null;
|
|
37548
|
+
station_slug: string | null;
|
|
37549
|
+
uitkomst: string;
|
|
37550
|
+
};
|
|
37551
|
+
Insert: {
|
|
37552
|
+
code?: string | null;
|
|
37553
|
+
created_at?: string;
|
|
37554
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
37555
|
+
id?: string;
|
|
37556
|
+
queue_item_id?: string | null;
|
|
37557
|
+
reden?: string | null;
|
|
37558
|
+
station_slug?: string | null;
|
|
37559
|
+
uitkomst?: string;
|
|
37560
|
+
};
|
|
37561
|
+
Update: {
|
|
37562
|
+
code?: string | null;
|
|
37563
|
+
created_at?: string;
|
|
37564
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
37565
|
+
id?: string;
|
|
37566
|
+
queue_item_id?: string | null;
|
|
37567
|
+
reden?: string | null;
|
|
37568
|
+
station_slug?: string | null;
|
|
37569
|
+
uitkomst?: string;
|
|
37570
|
+
};
|
|
37571
|
+
Relationships: [];
|
|
37572
|
+
};
|
|
37083
37573
|
print_queue_runners: {
|
|
37084
37574
|
Row: {
|
|
37085
37575
|
actief: boolean;
|
|
@@ -37319,6 +37809,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
37319
37809
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
37320
37810
|
online: boolean;
|
|
37321
37811
|
papierformaat: string;
|
|
37812
|
+
pdf_map: string | null;
|
|
37322
37813
|
poort: number | null;
|
|
37323
37814
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37324
37815
|
systeemnaam: string;
|
|
@@ -37344,6 +37835,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
37344
37835
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
37345
37836
|
online?: boolean;
|
|
37346
37837
|
papierformaat?: string;
|
|
37838
|
+
pdf_map?: string | null;
|
|
37347
37839
|
poort?: number | null;
|
|
37348
37840
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37349
37841
|
systeemnaam?: string;
|
|
@@ -37369,6 +37861,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
37369
37861
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
37370
37862
|
online?: boolean;
|
|
37371
37863
|
papierformaat?: string;
|
|
37864
|
+
pdf_map?: string | null;
|
|
37372
37865
|
poort?: number | null;
|
|
37373
37866
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37374
37867
|
systeemnaam?: string;
|
|
@@ -43625,6 +44118,9 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
43625
44118
|
is_herprint: boolean;
|
|
43626
44119
|
kopieen: number;
|
|
43627
44120
|
layout_id: string | null;
|
|
44121
|
+
lokaal_opgeslagen_op: string | null;
|
|
44122
|
+
lokale_pdf_fout: string | null;
|
|
44123
|
+
lokale_pdf_status: string | null;
|
|
43628
44124
|
opgepakt_op: string | null;
|
|
43629
44125
|
paginas: number;
|
|
43630
44126
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -43633,6 +44129,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
43633
44129
|
pogingen: number;
|
|
43634
44130
|
printer_id: string | null;
|
|
43635
44131
|
render_html: string | null;
|
|
44132
|
+
resultaat_pdf_base64: string | null;
|
|
43636
44133
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
43637
44134
|
updated_at: string;
|
|
43638
44135
|
volgende_poging: string | null;
|
|
@@ -43724,6 +44221,53 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
43724
44221
|
isSetofReturn: true;
|
|
43725
44222
|
};
|
|
43726
44223
|
};
|
|
44224
|
+
claim_pdf_print_jobs: {
|
|
44225
|
+
Args: {
|
|
44226
|
+
_max?: number;
|
|
44227
|
+
};
|
|
44228
|
+
Returns: {
|
|
44229
|
+
agent_id: string | null;
|
|
44230
|
+
bron_job_id: string | null;
|
|
44231
|
+
created_at: string;
|
|
44232
|
+
documentnaam: string;
|
|
44233
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
44234
|
+
extern_job_id: string | null;
|
|
44235
|
+
foutmelding: string | null;
|
|
44236
|
+
gebruiker_id: string | null;
|
|
44237
|
+
gebruiker_naam: string;
|
|
44238
|
+
gebruikte_bron: string | null;
|
|
44239
|
+
gebruikte_layout_id: string | null;
|
|
44240
|
+
gestart_op: string | null;
|
|
44241
|
+
herkomst: string | null;
|
|
44242
|
+
id: string;
|
|
44243
|
+
idempotentie_sleutel: string | null;
|
|
44244
|
+
is_herprint: boolean;
|
|
44245
|
+
kopieen: number;
|
|
44246
|
+
layout_id: string | null;
|
|
44247
|
+
lokaal_opgeslagen_op: string | null;
|
|
44248
|
+
lokale_pdf_fout: string | null;
|
|
44249
|
+
lokale_pdf_status: string | null;
|
|
44250
|
+
opgepakt_op: string | null;
|
|
44251
|
+
paginas: number;
|
|
44252
|
+
payload: import("../integrations/supabase/types").Json;
|
|
44253
|
+
pdf_base64: string | null;
|
|
44254
|
+
pdf_url: string | null;
|
|
44255
|
+
pogingen: number;
|
|
44256
|
+
printer_id: string | null;
|
|
44257
|
+
render_html: string | null;
|
|
44258
|
+
resultaat_pdf_base64: string | null;
|
|
44259
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
44260
|
+
updated_at: string;
|
|
44261
|
+
volgende_poging: string | null;
|
|
44262
|
+
voltooid_op: string | null;
|
|
44263
|
+
}[];
|
|
44264
|
+
SetofOptions: {
|
|
44265
|
+
from: "*";
|
|
44266
|
+
to: "print_jobs";
|
|
44267
|
+
isOneToOne: false;
|
|
44268
|
+
isSetofReturn: true;
|
|
44269
|
+
};
|
|
44270
|
+
};
|
|
43727
44271
|
claim_print_jobs: {
|
|
43728
44272
|
Args: {
|
|
43729
44273
|
_agent_id: string;
|
|
@@ -43748,6 +44292,9 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
43748
44292
|
is_herprint: boolean;
|
|
43749
44293
|
kopieen: number;
|
|
43750
44294
|
layout_id: string | null;
|
|
44295
|
+
lokaal_opgeslagen_op: string | null;
|
|
44296
|
+
lokale_pdf_fout: string | null;
|
|
44297
|
+
lokale_pdf_status: string | null;
|
|
43751
44298
|
opgepakt_op: string | null;
|
|
43752
44299
|
paginas: number;
|
|
43753
44300
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -43756,6 +44303,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
43756
44303
|
pogingen: number;
|
|
43757
44304
|
printer_id: string | null;
|
|
43758
44305
|
render_html: string | null;
|
|
44306
|
+
resultaat_pdf_base64: string | null;
|
|
43759
44307
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
43760
44308
|
updated_at: string;
|
|
43761
44309
|
volgende_poging: string | null;
|
|
@@ -43896,6 +44444,8 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
43896
44444
|
order_id: string;
|
|
43897
44445
|
order_source: string;
|
|
43898
44446
|
pick_date: string;
|
|
44447
|
+
printed_at: string;
|
|
44448
|
+
printed_today: boolean;
|
|
43899
44449
|
status: string;
|
|
43900
44450
|
}[];
|
|
43901
44451
|
};
|
|
@@ -44604,6 +45154,10 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
44604
45154
|
};
|
|
44605
45155
|
Returns: number;
|
|
44606
45156
|
};
|
|
45157
|
+
logistics_cancel_orphan_tasks: {
|
|
45158
|
+
Args: never;
|
|
45159
|
+
Returns: number;
|
|
45160
|
+
};
|
|
44607
45161
|
logistics_capacity_day_check: {
|
|
44608
45162
|
Args: {
|
|
44609
45163
|
p_from?: string;
|
|
@@ -44624,6 +45178,25 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
44624
45178
|
};
|
|
44625
45179
|
Returns: number;
|
|
44626
45180
|
};
|
|
45181
|
+
logistics_cart_index: {
|
|
45182
|
+
Args: {
|
|
45183
|
+
p_from?: string;
|
|
45184
|
+
p_to?: string;
|
|
45185
|
+
};
|
|
45186
|
+
Returns: {
|
|
45187
|
+
cart_id: string;
|
|
45188
|
+
cart_index: number;
|
|
45189
|
+
cart_label: string;
|
|
45190
|
+
is_shared: boolean;
|
|
45191
|
+
order_number: string;
|
|
45192
|
+
order_source: string;
|
|
45193
|
+
order_uuid: string;
|
|
45194
|
+
pick_date: string;
|
|
45195
|
+
printed_at: string;
|
|
45196
|
+
shifted: boolean;
|
|
45197
|
+
task_status: string;
|
|
45198
|
+
}[];
|
|
45199
|
+
};
|
|
44627
45200
|
logistics_check_order_allowed: {
|
|
44628
45201
|
Args: {
|
|
44629
45202
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -44772,6 +45345,17 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
44772
45345
|
isSetofReturn: false;
|
|
44773
45346
|
};
|
|
44774
45347
|
};
|
|
45348
|
+
logistics_consistency_check: {
|
|
45349
|
+
Args: never;
|
|
45350
|
+
Returns: {
|
|
45351
|
+
agenda_carts: number;
|
|
45352
|
+
control_carts: number;
|
|
45353
|
+
ok: boolean;
|
|
45354
|
+
orphan_tasks: number;
|
|
45355
|
+
pick_date: string;
|
|
45356
|
+
raw_carts: number;
|
|
45357
|
+
}[];
|
|
45358
|
+
};
|
|
44775
45359
|
logistics_delay_customer_email: {
|
|
44776
45360
|
Args: {
|
|
44777
45361
|
p_customer: string;
|
|
@@ -44965,6 +45549,25 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
44965
45549
|
};
|
|
44966
45550
|
Returns: number;
|
|
44967
45551
|
};
|
|
45552
|
+
logistics_order_overview: {
|
|
45553
|
+
Args: {
|
|
45554
|
+
p_from?: string;
|
|
45555
|
+
p_to?: string;
|
|
45556
|
+
};
|
|
45557
|
+
Returns: {
|
|
45558
|
+
cart_count: number;
|
|
45559
|
+
customer_name: string;
|
|
45560
|
+
delivery_date: string;
|
|
45561
|
+
order_number: string;
|
|
45562
|
+
order_source: string;
|
|
45563
|
+
order_uuid: string;
|
|
45564
|
+
pick_date: string;
|
|
45565
|
+
plant_count: number;
|
|
45566
|
+
printed_at: string;
|
|
45567
|
+
shifted: boolean;
|
|
45568
|
+
status: string;
|
|
45569
|
+
}[];
|
|
45570
|
+
};
|
|
44968
45571
|
logistics_order_pick_day: {
|
|
44969
45572
|
Args: {
|
|
44970
45573
|
p_order_ref: string;
|
|
@@ -44977,6 +45580,22 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
44977
45580
|
};
|
|
44978
45581
|
Returns: string;
|
|
44979
45582
|
};
|
|
45583
|
+
logistics_pick_agenda: {
|
|
45584
|
+
Args: {
|
|
45585
|
+
p_from?: string;
|
|
45586
|
+
p_to?: string;
|
|
45587
|
+
};
|
|
45588
|
+
Returns: {
|
|
45589
|
+
cart_count: number;
|
|
45590
|
+
in_preparation: number;
|
|
45591
|
+
order_count: number;
|
|
45592
|
+
orders: import("../integrations/supabase/types").Json;
|
|
45593
|
+
pick_date: string;
|
|
45594
|
+
plant_count: number;
|
|
45595
|
+
ready: number;
|
|
45596
|
+
shifted_count: number;
|
|
45597
|
+
}[];
|
|
45598
|
+
};
|
|
44980
45599
|
logistics_pick_email_purpose: {
|
|
44981
45600
|
Args: never;
|
|
44982
45601
|
Returns: string;
|
|
@@ -45136,6 +45755,15 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
45136
45755
|
};
|
|
45137
45756
|
Returns: import("../integrations/supabase/types").Json;
|
|
45138
45757
|
};
|
|
45758
|
+
logistics_resolve_pick_document: {
|
|
45759
|
+
Args: {
|
|
45760
|
+
_is_herprint: boolean;
|
|
45761
|
+
_queue_item_id: string;
|
|
45762
|
+
_session_id: string;
|
|
45763
|
+
_voorbeeld: boolean;
|
|
45764
|
+
};
|
|
45765
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
45766
|
+
};
|
|
45139
45767
|
logistics_resolve_settings: {
|
|
45140
45768
|
Args: {
|
|
45141
45769
|
p_config_id: string;
|
|
@@ -45576,6 +46204,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
45576
46204
|
};
|
|
45577
46205
|
pick_enqueue_print_job: {
|
|
45578
46206
|
Args: {
|
|
46207
|
+
_is_herprint?: boolean;
|
|
45579
46208
|
_printer_id?: string;
|
|
45580
46209
|
_queue_item_id: string;
|
|
45581
46210
|
_session_id?: string;
|
|
@@ -45589,6 +46218,13 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
45589
46218
|
};
|
|
45590
46219
|
Returns: import("../integrations/supabase/types").Json;
|
|
45591
46220
|
};
|
|
46221
|
+
pick_preview_job: {
|
|
46222
|
+
Args: {
|
|
46223
|
+
_queue_item_id: string;
|
|
46224
|
+
_station_slug: string;
|
|
46225
|
+
};
|
|
46226
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
46227
|
+
};
|
|
45592
46228
|
pick_print_job_status: {
|
|
45593
46229
|
Args: {
|
|
45594
46230
|
_job_id: string;
|
|
@@ -45766,6 +46402,24 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
45766
46402
|
};
|
|
45767
46403
|
Returns: undefined;
|
|
45768
46404
|
};
|
|
46405
|
+
print_preview_toestaan: {
|
|
46406
|
+
Args: {
|
|
46407
|
+
_max?: number;
|
|
46408
|
+
_queue_item_id: string;
|
|
46409
|
+
_station_slug: string;
|
|
46410
|
+
_venster_sec?: number;
|
|
46411
|
+
};
|
|
46412
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
46413
|
+
};
|
|
46414
|
+
print_preview_weiger: {
|
|
46415
|
+
Args: {
|
|
46416
|
+
_code: string;
|
|
46417
|
+
_queue_item_id: string;
|
|
46418
|
+
_reden: string;
|
|
46419
|
+
_station_slug: string;
|
|
46420
|
+
};
|
|
46421
|
+
Returns: undefined;
|
|
46422
|
+
};
|
|
45769
46423
|
process_logistics_event: {
|
|
45770
46424
|
Args: {
|
|
45771
46425
|
p_event_id: string;
|
|
@@ -45883,6 +46537,14 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
45883
46537
|
};
|
|
45884
46538
|
Returns: undefined;
|
|
45885
46539
|
};
|
|
46540
|
+
replace_order_carts: {
|
|
46541
|
+
Args: {
|
|
46542
|
+
p_buffer_id: string;
|
|
46543
|
+
p_carts: import("../integrations/supabase/types").Json;
|
|
46544
|
+
p_order_id: string;
|
|
46545
|
+
};
|
|
46546
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
46547
|
+
};
|
|
45886
46548
|
reset_floriday_sync_cursor: {
|
|
45887
46549
|
Args: {
|
|
45888
46550
|
p_connection_id: string;
|
|
@@ -45912,6 +46574,12 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
45912
46574
|
};
|
|
45913
46575
|
Returns: string;
|
|
45914
46576
|
};
|
|
46577
|
+
resolve_print_job_printer_id: {
|
|
46578
|
+
Args: {
|
|
46579
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
46580
|
+
};
|
|
46581
|
+
Returns: string;
|
|
46582
|
+
};
|
|
45915
46583
|
resolve_product_id_for_item: {
|
|
45916
46584
|
Args: {
|
|
45917
46585
|
p_product_name: string;
|
|
@@ -46503,7 +47171,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
46503
47171
|
};
|
|
46504
47172
|
CompositeTypes: { [_ in never]: never; };
|
|
46505
47173
|
}, {
|
|
46506
|
-
PostgrestVersion: "14.
|
|
47174
|
+
PostgrestVersion: "14.5";
|
|
46507
47175
|
}>;
|
|
46508
47176
|
userId: string;
|
|
46509
47177
|
claims: import("@supabase/auth-js").User;
|
|
@@ -49378,6 +50046,84 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
49378
50046
|
};
|
|
49379
50047
|
Relationships: [];
|
|
49380
50048
|
};
|
|
50049
|
+
delivery_notes: {
|
|
50050
|
+
Row: {
|
|
50051
|
+
byte_size: number | null;
|
|
50052
|
+
connection_id: string | null;
|
|
50053
|
+
content_type: string;
|
|
50054
|
+
created_at: string;
|
|
50055
|
+
error_message: string | null;
|
|
50056
|
+
fetched_at: string | null;
|
|
50057
|
+
fulfillment_order_id: string | null;
|
|
50058
|
+
http_status: number | null;
|
|
50059
|
+
id: string;
|
|
50060
|
+
label_code: string | null;
|
|
50061
|
+
letter: string | null;
|
|
50062
|
+
load_carrier_index: number | null;
|
|
50063
|
+
load_carrier_type: string | null;
|
|
50064
|
+
order_id: string | null;
|
|
50065
|
+
order_number: string | null;
|
|
50066
|
+
packages: number | null;
|
|
50067
|
+
source: string;
|
|
50068
|
+
status: string;
|
|
50069
|
+
storage_bucket: string;
|
|
50070
|
+
storage_path: string | null;
|
|
50071
|
+
updated_at: string;
|
|
50072
|
+
};
|
|
50073
|
+
Insert: {
|
|
50074
|
+
byte_size?: number | null;
|
|
50075
|
+
connection_id?: string | null;
|
|
50076
|
+
content_type?: string;
|
|
50077
|
+
created_at?: string;
|
|
50078
|
+
error_message?: string | null;
|
|
50079
|
+
fetched_at?: string | null;
|
|
50080
|
+
fulfillment_order_id?: string | null;
|
|
50081
|
+
http_status?: number | null;
|
|
50082
|
+
id?: string;
|
|
50083
|
+
label_code?: string | null;
|
|
50084
|
+
letter?: string | null;
|
|
50085
|
+
load_carrier_index?: number | null;
|
|
50086
|
+
load_carrier_type?: string | null;
|
|
50087
|
+
order_id?: string | null;
|
|
50088
|
+
order_number?: string | null;
|
|
50089
|
+
packages?: number | null;
|
|
50090
|
+
source?: string;
|
|
50091
|
+
status?: string;
|
|
50092
|
+
storage_bucket?: string;
|
|
50093
|
+
storage_path?: string | null;
|
|
50094
|
+
updated_at?: string;
|
|
50095
|
+
};
|
|
50096
|
+
Update: {
|
|
50097
|
+
byte_size?: number | null;
|
|
50098
|
+
connection_id?: string | null;
|
|
50099
|
+
content_type?: string;
|
|
50100
|
+
created_at?: string;
|
|
50101
|
+
error_message?: string | null;
|
|
50102
|
+
fetched_at?: string | null;
|
|
50103
|
+
fulfillment_order_id?: string | null;
|
|
50104
|
+
http_status?: number | null;
|
|
50105
|
+
id?: string;
|
|
50106
|
+
label_code?: string | null;
|
|
50107
|
+
letter?: string | null;
|
|
50108
|
+
load_carrier_index?: number | null;
|
|
50109
|
+
load_carrier_type?: string | null;
|
|
50110
|
+
order_id?: string | null;
|
|
50111
|
+
order_number?: string | null;
|
|
50112
|
+
packages?: number | null;
|
|
50113
|
+
source?: string;
|
|
50114
|
+
status?: string;
|
|
50115
|
+
storage_bucket?: string;
|
|
50116
|
+
storage_path?: string | null;
|
|
50117
|
+
updated_at?: string;
|
|
50118
|
+
};
|
|
50119
|
+
Relationships: [{
|
|
50120
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
50121
|
+
columns: ["order_id"];
|
|
50122
|
+
isOneToOne: false;
|
|
50123
|
+
referencedRelation: "orders";
|
|
50124
|
+
referencedColumns: ["id"];
|
|
50125
|
+
}];
|
|
50126
|
+
};
|
|
49381
50127
|
document_bronregels: {
|
|
49382
50128
|
Row: {
|
|
49383
50129
|
bron: string;
|
|
@@ -60103,6 +60849,39 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
60103
60849
|
};
|
|
60104
60850
|
Relationships: [];
|
|
60105
60851
|
};
|
|
60852
|
+
print_dedupe_events: {
|
|
60853
|
+
Row: {
|
|
60854
|
+
bestaande_job_id: string | null;
|
|
60855
|
+
created_at: string;
|
|
60856
|
+
detail: string | null;
|
|
60857
|
+
documentnaam: string | null;
|
|
60858
|
+
documenttype: string | null;
|
|
60859
|
+
id: string;
|
|
60860
|
+
idempotentie_sleutel: string;
|
|
60861
|
+
reden: string;
|
|
60862
|
+
};
|
|
60863
|
+
Insert: {
|
|
60864
|
+
bestaande_job_id?: string | null;
|
|
60865
|
+
created_at?: string;
|
|
60866
|
+
detail?: string | null;
|
|
60867
|
+
documentnaam?: string | null;
|
|
60868
|
+
documenttype?: string | null;
|
|
60869
|
+
id?: string;
|
|
60870
|
+
idempotentie_sleutel: string;
|
|
60871
|
+
reden: string;
|
|
60872
|
+
};
|
|
60873
|
+
Update: {
|
|
60874
|
+
bestaande_job_id?: string | null;
|
|
60875
|
+
created_at?: string;
|
|
60876
|
+
detail?: string | null;
|
|
60877
|
+
documentnaam?: string | null;
|
|
60878
|
+
documenttype?: string | null;
|
|
60879
|
+
id?: string;
|
|
60880
|
+
idempotentie_sleutel?: string;
|
|
60881
|
+
reden?: string;
|
|
60882
|
+
};
|
|
60883
|
+
Relationships: [];
|
|
60884
|
+
};
|
|
60106
60885
|
print_job_logs: {
|
|
60107
60886
|
Row: {
|
|
60108
60887
|
created_at: string;
|
|
@@ -60153,6 +60932,9 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
60153
60932
|
is_herprint: boolean;
|
|
60154
60933
|
kopieen: number;
|
|
60155
60934
|
layout_id: string | null;
|
|
60935
|
+
lokaal_opgeslagen_op: string | null;
|
|
60936
|
+
lokale_pdf_fout: string | null;
|
|
60937
|
+
lokale_pdf_status: string | null;
|
|
60156
60938
|
opgepakt_op: string | null;
|
|
60157
60939
|
paginas: number;
|
|
60158
60940
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -60161,6 +60943,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
60161
60943
|
pogingen: number;
|
|
60162
60944
|
printer_id: string | null;
|
|
60163
60945
|
render_html: string | null;
|
|
60946
|
+
resultaat_pdf_base64: string | null;
|
|
60164
60947
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
60165
60948
|
updated_at: string;
|
|
60166
60949
|
volgende_poging: string | null;
|
|
@@ -60185,6 +60968,9 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
60185
60968
|
is_herprint?: boolean;
|
|
60186
60969
|
kopieen?: number;
|
|
60187
60970
|
layout_id?: string | null;
|
|
60971
|
+
lokaal_opgeslagen_op?: string | null;
|
|
60972
|
+
lokale_pdf_fout?: string | null;
|
|
60973
|
+
lokale_pdf_status?: string | null;
|
|
60188
60974
|
opgepakt_op?: string | null;
|
|
60189
60975
|
paginas?: number;
|
|
60190
60976
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -60193,6 +60979,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
60193
60979
|
pogingen?: number;
|
|
60194
60980
|
printer_id?: string | null;
|
|
60195
60981
|
render_html?: string | null;
|
|
60982
|
+
resultaat_pdf_base64?: string | null;
|
|
60196
60983
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
60197
60984
|
updated_at?: string;
|
|
60198
60985
|
volgende_poging?: string | null;
|
|
@@ -60217,6 +61004,9 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
60217
61004
|
is_herprint?: boolean;
|
|
60218
61005
|
kopieen?: number;
|
|
60219
61006
|
layout_id?: string | null;
|
|
61007
|
+
lokaal_opgeslagen_op?: string | null;
|
|
61008
|
+
lokale_pdf_fout?: string | null;
|
|
61009
|
+
lokale_pdf_status?: string | null;
|
|
60220
61010
|
opgepakt_op?: string | null;
|
|
60221
61011
|
paginas?: number;
|
|
60222
61012
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -60225,6 +61015,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
60225
61015
|
pogingen?: number;
|
|
60226
61016
|
printer_id?: string | null;
|
|
60227
61017
|
render_html?: string | null;
|
|
61018
|
+
resultaat_pdf_base64?: string | null;
|
|
60228
61019
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
60229
61020
|
updated_at?: string;
|
|
60230
61021
|
volgende_poging?: string | null;
|
|
@@ -60343,6 +61134,39 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
60343
61134
|
};
|
|
60344
61135
|
Relationships: [];
|
|
60345
61136
|
};
|
|
61137
|
+
print_preview_events: {
|
|
61138
|
+
Row: {
|
|
61139
|
+
code: string | null;
|
|
61140
|
+
created_at: string;
|
|
61141
|
+
detail: import("../integrations/supabase/types").Json;
|
|
61142
|
+
id: string;
|
|
61143
|
+
queue_item_id: string | null;
|
|
61144
|
+
reden: string | null;
|
|
61145
|
+
station_slug: string | null;
|
|
61146
|
+
uitkomst: string;
|
|
61147
|
+
};
|
|
61148
|
+
Insert: {
|
|
61149
|
+
code?: string | null;
|
|
61150
|
+
created_at?: string;
|
|
61151
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
61152
|
+
id?: string;
|
|
61153
|
+
queue_item_id?: string | null;
|
|
61154
|
+
reden?: string | null;
|
|
61155
|
+
station_slug?: string | null;
|
|
61156
|
+
uitkomst?: string;
|
|
61157
|
+
};
|
|
61158
|
+
Update: {
|
|
61159
|
+
code?: string | null;
|
|
61160
|
+
created_at?: string;
|
|
61161
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
61162
|
+
id?: string;
|
|
61163
|
+
queue_item_id?: string | null;
|
|
61164
|
+
reden?: string | null;
|
|
61165
|
+
station_slug?: string | null;
|
|
61166
|
+
uitkomst?: string;
|
|
61167
|
+
};
|
|
61168
|
+
Relationships: [];
|
|
61169
|
+
};
|
|
60346
61170
|
print_queue_runners: {
|
|
60347
61171
|
Row: {
|
|
60348
61172
|
actief: boolean;
|
|
@@ -60582,6 +61406,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
60582
61406
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
60583
61407
|
online: boolean;
|
|
60584
61408
|
papierformaat: string;
|
|
61409
|
+
pdf_map: string | null;
|
|
60585
61410
|
poort: number | null;
|
|
60586
61411
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
60587
61412
|
systeemnaam: string;
|
|
@@ -60607,6 +61432,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
60607
61432
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
60608
61433
|
online?: boolean;
|
|
60609
61434
|
papierformaat?: string;
|
|
61435
|
+
pdf_map?: string | null;
|
|
60610
61436
|
poort?: number | null;
|
|
60611
61437
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
60612
61438
|
systeemnaam?: string;
|
|
@@ -60632,6 +61458,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
60632
61458
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
60633
61459
|
online?: boolean;
|
|
60634
61460
|
papierformaat?: string;
|
|
61461
|
+
pdf_map?: string | null;
|
|
60635
61462
|
poort?: number | null;
|
|
60636
61463
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
60637
61464
|
systeemnaam?: string;
|
|
@@ -66888,6 +67715,9 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
66888
67715
|
is_herprint: boolean;
|
|
66889
67716
|
kopieen: number;
|
|
66890
67717
|
layout_id: string | null;
|
|
67718
|
+
lokaal_opgeslagen_op: string | null;
|
|
67719
|
+
lokale_pdf_fout: string | null;
|
|
67720
|
+
lokale_pdf_status: string | null;
|
|
66891
67721
|
opgepakt_op: string | null;
|
|
66892
67722
|
paginas: number;
|
|
66893
67723
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -66896,6 +67726,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
66896
67726
|
pogingen: number;
|
|
66897
67727
|
printer_id: string | null;
|
|
66898
67728
|
render_html: string | null;
|
|
67729
|
+
resultaat_pdf_base64: string | null;
|
|
66899
67730
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
66900
67731
|
updated_at: string;
|
|
66901
67732
|
volgende_poging: string | null;
|
|
@@ -66987,6 +67818,53 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
66987
67818
|
isSetofReturn: true;
|
|
66988
67819
|
};
|
|
66989
67820
|
};
|
|
67821
|
+
claim_pdf_print_jobs: {
|
|
67822
|
+
Args: {
|
|
67823
|
+
_max?: number;
|
|
67824
|
+
};
|
|
67825
|
+
Returns: {
|
|
67826
|
+
agent_id: string | null;
|
|
67827
|
+
bron_job_id: string | null;
|
|
67828
|
+
created_at: string;
|
|
67829
|
+
documentnaam: string;
|
|
67830
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
67831
|
+
extern_job_id: string | null;
|
|
67832
|
+
foutmelding: string | null;
|
|
67833
|
+
gebruiker_id: string | null;
|
|
67834
|
+
gebruiker_naam: string;
|
|
67835
|
+
gebruikte_bron: string | null;
|
|
67836
|
+
gebruikte_layout_id: string | null;
|
|
67837
|
+
gestart_op: string | null;
|
|
67838
|
+
herkomst: string | null;
|
|
67839
|
+
id: string;
|
|
67840
|
+
idempotentie_sleutel: string | null;
|
|
67841
|
+
is_herprint: boolean;
|
|
67842
|
+
kopieen: number;
|
|
67843
|
+
layout_id: string | null;
|
|
67844
|
+
lokaal_opgeslagen_op: string | null;
|
|
67845
|
+
lokale_pdf_fout: string | null;
|
|
67846
|
+
lokale_pdf_status: string | null;
|
|
67847
|
+
opgepakt_op: string | null;
|
|
67848
|
+
paginas: number;
|
|
67849
|
+
payload: import("../integrations/supabase/types").Json;
|
|
67850
|
+
pdf_base64: string | null;
|
|
67851
|
+
pdf_url: string | null;
|
|
67852
|
+
pogingen: number;
|
|
67853
|
+
printer_id: string | null;
|
|
67854
|
+
render_html: string | null;
|
|
67855
|
+
resultaat_pdf_base64: string | null;
|
|
67856
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
67857
|
+
updated_at: string;
|
|
67858
|
+
volgende_poging: string | null;
|
|
67859
|
+
voltooid_op: string | null;
|
|
67860
|
+
}[];
|
|
67861
|
+
SetofOptions: {
|
|
67862
|
+
from: "*";
|
|
67863
|
+
to: "print_jobs";
|
|
67864
|
+
isOneToOne: false;
|
|
67865
|
+
isSetofReturn: true;
|
|
67866
|
+
};
|
|
67867
|
+
};
|
|
66990
67868
|
claim_print_jobs: {
|
|
66991
67869
|
Args: {
|
|
66992
67870
|
_agent_id: string;
|
|
@@ -67011,6 +67889,9 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
67011
67889
|
is_herprint: boolean;
|
|
67012
67890
|
kopieen: number;
|
|
67013
67891
|
layout_id: string | null;
|
|
67892
|
+
lokaal_opgeslagen_op: string | null;
|
|
67893
|
+
lokale_pdf_fout: string | null;
|
|
67894
|
+
lokale_pdf_status: string | null;
|
|
67014
67895
|
opgepakt_op: string | null;
|
|
67015
67896
|
paginas: number;
|
|
67016
67897
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -67019,6 +67900,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
67019
67900
|
pogingen: number;
|
|
67020
67901
|
printer_id: string | null;
|
|
67021
67902
|
render_html: string | null;
|
|
67903
|
+
resultaat_pdf_base64: string | null;
|
|
67022
67904
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
67023
67905
|
updated_at: string;
|
|
67024
67906
|
volgende_poging: string | null;
|
|
@@ -67159,6 +68041,8 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
67159
68041
|
order_id: string;
|
|
67160
68042
|
order_source: string;
|
|
67161
68043
|
pick_date: string;
|
|
68044
|
+
printed_at: string;
|
|
68045
|
+
printed_today: boolean;
|
|
67162
68046
|
status: string;
|
|
67163
68047
|
}[];
|
|
67164
68048
|
};
|
|
@@ -67867,6 +68751,10 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
67867
68751
|
};
|
|
67868
68752
|
Returns: number;
|
|
67869
68753
|
};
|
|
68754
|
+
logistics_cancel_orphan_tasks: {
|
|
68755
|
+
Args: never;
|
|
68756
|
+
Returns: number;
|
|
68757
|
+
};
|
|
67870
68758
|
logistics_capacity_day_check: {
|
|
67871
68759
|
Args: {
|
|
67872
68760
|
p_from?: string;
|
|
@@ -67887,6 +68775,25 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
67887
68775
|
};
|
|
67888
68776
|
Returns: number;
|
|
67889
68777
|
};
|
|
68778
|
+
logistics_cart_index: {
|
|
68779
|
+
Args: {
|
|
68780
|
+
p_from?: string;
|
|
68781
|
+
p_to?: string;
|
|
68782
|
+
};
|
|
68783
|
+
Returns: {
|
|
68784
|
+
cart_id: string;
|
|
68785
|
+
cart_index: number;
|
|
68786
|
+
cart_label: string;
|
|
68787
|
+
is_shared: boolean;
|
|
68788
|
+
order_number: string;
|
|
68789
|
+
order_source: string;
|
|
68790
|
+
order_uuid: string;
|
|
68791
|
+
pick_date: string;
|
|
68792
|
+
printed_at: string;
|
|
68793
|
+
shifted: boolean;
|
|
68794
|
+
task_status: string;
|
|
68795
|
+
}[];
|
|
68796
|
+
};
|
|
67890
68797
|
logistics_check_order_allowed: {
|
|
67891
68798
|
Args: {
|
|
67892
68799
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -68035,6 +68942,17 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
68035
68942
|
isSetofReturn: false;
|
|
68036
68943
|
};
|
|
68037
68944
|
};
|
|
68945
|
+
logistics_consistency_check: {
|
|
68946
|
+
Args: never;
|
|
68947
|
+
Returns: {
|
|
68948
|
+
agenda_carts: number;
|
|
68949
|
+
control_carts: number;
|
|
68950
|
+
ok: boolean;
|
|
68951
|
+
orphan_tasks: number;
|
|
68952
|
+
pick_date: string;
|
|
68953
|
+
raw_carts: number;
|
|
68954
|
+
}[];
|
|
68955
|
+
};
|
|
68038
68956
|
logistics_delay_customer_email: {
|
|
68039
68957
|
Args: {
|
|
68040
68958
|
p_customer: string;
|
|
@@ -68228,6 +69146,25 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
68228
69146
|
};
|
|
68229
69147
|
Returns: number;
|
|
68230
69148
|
};
|
|
69149
|
+
logistics_order_overview: {
|
|
69150
|
+
Args: {
|
|
69151
|
+
p_from?: string;
|
|
69152
|
+
p_to?: string;
|
|
69153
|
+
};
|
|
69154
|
+
Returns: {
|
|
69155
|
+
cart_count: number;
|
|
69156
|
+
customer_name: string;
|
|
69157
|
+
delivery_date: string;
|
|
69158
|
+
order_number: string;
|
|
69159
|
+
order_source: string;
|
|
69160
|
+
order_uuid: string;
|
|
69161
|
+
pick_date: string;
|
|
69162
|
+
plant_count: number;
|
|
69163
|
+
printed_at: string;
|
|
69164
|
+
shifted: boolean;
|
|
69165
|
+
status: string;
|
|
69166
|
+
}[];
|
|
69167
|
+
};
|
|
68231
69168
|
logistics_order_pick_day: {
|
|
68232
69169
|
Args: {
|
|
68233
69170
|
p_order_ref: string;
|
|
@@ -68240,6 +69177,22 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
68240
69177
|
};
|
|
68241
69178
|
Returns: string;
|
|
68242
69179
|
};
|
|
69180
|
+
logistics_pick_agenda: {
|
|
69181
|
+
Args: {
|
|
69182
|
+
p_from?: string;
|
|
69183
|
+
p_to?: string;
|
|
69184
|
+
};
|
|
69185
|
+
Returns: {
|
|
69186
|
+
cart_count: number;
|
|
69187
|
+
in_preparation: number;
|
|
69188
|
+
order_count: number;
|
|
69189
|
+
orders: import("../integrations/supabase/types").Json;
|
|
69190
|
+
pick_date: string;
|
|
69191
|
+
plant_count: number;
|
|
69192
|
+
ready: number;
|
|
69193
|
+
shifted_count: number;
|
|
69194
|
+
}[];
|
|
69195
|
+
};
|
|
68243
69196
|
logistics_pick_email_purpose: {
|
|
68244
69197
|
Args: never;
|
|
68245
69198
|
Returns: string;
|
|
@@ -68399,6 +69352,15 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
68399
69352
|
};
|
|
68400
69353
|
Returns: import("../integrations/supabase/types").Json;
|
|
68401
69354
|
};
|
|
69355
|
+
logistics_resolve_pick_document: {
|
|
69356
|
+
Args: {
|
|
69357
|
+
_is_herprint: boolean;
|
|
69358
|
+
_queue_item_id: string;
|
|
69359
|
+
_session_id: string;
|
|
69360
|
+
_voorbeeld: boolean;
|
|
69361
|
+
};
|
|
69362
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
69363
|
+
};
|
|
68402
69364
|
logistics_resolve_settings: {
|
|
68403
69365
|
Args: {
|
|
68404
69366
|
p_config_id: string;
|
|
@@ -68839,6 +69801,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
68839
69801
|
};
|
|
68840
69802
|
pick_enqueue_print_job: {
|
|
68841
69803
|
Args: {
|
|
69804
|
+
_is_herprint?: boolean;
|
|
68842
69805
|
_printer_id?: string;
|
|
68843
69806
|
_queue_item_id: string;
|
|
68844
69807
|
_session_id?: string;
|
|
@@ -68852,6 +69815,13 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
68852
69815
|
};
|
|
68853
69816
|
Returns: import("../integrations/supabase/types").Json;
|
|
68854
69817
|
};
|
|
69818
|
+
pick_preview_job: {
|
|
69819
|
+
Args: {
|
|
69820
|
+
_queue_item_id: string;
|
|
69821
|
+
_station_slug: string;
|
|
69822
|
+
};
|
|
69823
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
69824
|
+
};
|
|
68855
69825
|
pick_print_job_status: {
|
|
68856
69826
|
Args: {
|
|
68857
69827
|
_job_id: string;
|
|
@@ -69029,6 +69999,24 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
69029
69999
|
};
|
|
69030
70000
|
Returns: undefined;
|
|
69031
70001
|
};
|
|
70002
|
+
print_preview_toestaan: {
|
|
70003
|
+
Args: {
|
|
70004
|
+
_max?: number;
|
|
70005
|
+
_queue_item_id: string;
|
|
70006
|
+
_station_slug: string;
|
|
70007
|
+
_venster_sec?: number;
|
|
70008
|
+
};
|
|
70009
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
70010
|
+
};
|
|
70011
|
+
print_preview_weiger: {
|
|
70012
|
+
Args: {
|
|
70013
|
+
_code: string;
|
|
70014
|
+
_queue_item_id: string;
|
|
70015
|
+
_reden: string;
|
|
70016
|
+
_station_slug: string;
|
|
70017
|
+
};
|
|
70018
|
+
Returns: undefined;
|
|
70019
|
+
};
|
|
69032
70020
|
process_logistics_event: {
|
|
69033
70021
|
Args: {
|
|
69034
70022
|
p_event_id: string;
|
|
@@ -69146,6 +70134,14 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
69146
70134
|
};
|
|
69147
70135
|
Returns: undefined;
|
|
69148
70136
|
};
|
|
70137
|
+
replace_order_carts: {
|
|
70138
|
+
Args: {
|
|
70139
|
+
p_buffer_id: string;
|
|
70140
|
+
p_carts: import("../integrations/supabase/types").Json;
|
|
70141
|
+
p_order_id: string;
|
|
70142
|
+
};
|
|
70143
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
70144
|
+
};
|
|
69149
70145
|
reset_floriday_sync_cursor: {
|
|
69150
70146
|
Args: {
|
|
69151
70147
|
p_connection_id: string;
|
|
@@ -69175,6 +70171,12 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
69175
70171
|
};
|
|
69176
70172
|
Returns: string;
|
|
69177
70173
|
};
|
|
70174
|
+
resolve_print_job_printer_id: {
|
|
70175
|
+
Args: {
|
|
70176
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
70177
|
+
};
|
|
70178
|
+
Returns: string;
|
|
70179
|
+
};
|
|
69178
70180
|
resolve_product_id_for_item: {
|
|
69179
70181
|
Args: {
|
|
69180
70182
|
p_product_name: string;
|
|
@@ -69766,7 +70768,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
69766
70768
|
};
|
|
69767
70769
|
CompositeTypes: { [_ in never]: never; };
|
|
69768
70770
|
}, {
|
|
69769
|
-
PostgrestVersion: "14.
|
|
70771
|
+
PostgrestVersion: "14.5";
|
|
69770
70772
|
}>;
|
|
69771
70773
|
userId: string;
|
|
69772
70774
|
claims: import("@supabase/auth-js").User;
|
|
@@ -72641,6 +73643,84 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
72641
73643
|
};
|
|
72642
73644
|
Relationships: [];
|
|
72643
73645
|
};
|
|
73646
|
+
delivery_notes: {
|
|
73647
|
+
Row: {
|
|
73648
|
+
byte_size: number | null;
|
|
73649
|
+
connection_id: string | null;
|
|
73650
|
+
content_type: string;
|
|
73651
|
+
created_at: string;
|
|
73652
|
+
error_message: string | null;
|
|
73653
|
+
fetched_at: string | null;
|
|
73654
|
+
fulfillment_order_id: string | null;
|
|
73655
|
+
http_status: number | null;
|
|
73656
|
+
id: string;
|
|
73657
|
+
label_code: string | null;
|
|
73658
|
+
letter: string | null;
|
|
73659
|
+
load_carrier_index: number | null;
|
|
73660
|
+
load_carrier_type: string | null;
|
|
73661
|
+
order_id: string | null;
|
|
73662
|
+
order_number: string | null;
|
|
73663
|
+
packages: number | null;
|
|
73664
|
+
source: string;
|
|
73665
|
+
status: string;
|
|
73666
|
+
storage_bucket: string;
|
|
73667
|
+
storage_path: string | null;
|
|
73668
|
+
updated_at: string;
|
|
73669
|
+
};
|
|
73670
|
+
Insert: {
|
|
73671
|
+
byte_size?: number | null;
|
|
73672
|
+
connection_id?: string | null;
|
|
73673
|
+
content_type?: string;
|
|
73674
|
+
created_at?: string;
|
|
73675
|
+
error_message?: string | null;
|
|
73676
|
+
fetched_at?: string | null;
|
|
73677
|
+
fulfillment_order_id?: string | null;
|
|
73678
|
+
http_status?: number | null;
|
|
73679
|
+
id?: string;
|
|
73680
|
+
label_code?: string | null;
|
|
73681
|
+
letter?: string | null;
|
|
73682
|
+
load_carrier_index?: number | null;
|
|
73683
|
+
load_carrier_type?: string | null;
|
|
73684
|
+
order_id?: string | null;
|
|
73685
|
+
order_number?: string | null;
|
|
73686
|
+
packages?: number | null;
|
|
73687
|
+
source?: string;
|
|
73688
|
+
status?: string;
|
|
73689
|
+
storage_bucket?: string;
|
|
73690
|
+
storage_path?: string | null;
|
|
73691
|
+
updated_at?: string;
|
|
73692
|
+
};
|
|
73693
|
+
Update: {
|
|
73694
|
+
byte_size?: number | null;
|
|
73695
|
+
connection_id?: string | null;
|
|
73696
|
+
content_type?: string;
|
|
73697
|
+
created_at?: string;
|
|
73698
|
+
error_message?: string | null;
|
|
73699
|
+
fetched_at?: string | null;
|
|
73700
|
+
fulfillment_order_id?: string | null;
|
|
73701
|
+
http_status?: number | null;
|
|
73702
|
+
id?: string;
|
|
73703
|
+
label_code?: string | null;
|
|
73704
|
+
letter?: string | null;
|
|
73705
|
+
load_carrier_index?: number | null;
|
|
73706
|
+
load_carrier_type?: string | null;
|
|
73707
|
+
order_id?: string | null;
|
|
73708
|
+
order_number?: string | null;
|
|
73709
|
+
packages?: number | null;
|
|
73710
|
+
source?: string;
|
|
73711
|
+
status?: string;
|
|
73712
|
+
storage_bucket?: string;
|
|
73713
|
+
storage_path?: string | null;
|
|
73714
|
+
updated_at?: string;
|
|
73715
|
+
};
|
|
73716
|
+
Relationships: [{
|
|
73717
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
73718
|
+
columns: ["order_id"];
|
|
73719
|
+
isOneToOne: false;
|
|
73720
|
+
referencedRelation: "orders";
|
|
73721
|
+
referencedColumns: ["id"];
|
|
73722
|
+
}];
|
|
73723
|
+
};
|
|
72644
73724
|
document_bronregels: {
|
|
72645
73725
|
Row: {
|
|
72646
73726
|
bron: string;
|
|
@@ -83366,6 +84446,39 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
83366
84446
|
};
|
|
83367
84447
|
Relationships: [];
|
|
83368
84448
|
};
|
|
84449
|
+
print_dedupe_events: {
|
|
84450
|
+
Row: {
|
|
84451
|
+
bestaande_job_id: string | null;
|
|
84452
|
+
created_at: string;
|
|
84453
|
+
detail: string | null;
|
|
84454
|
+
documentnaam: string | null;
|
|
84455
|
+
documenttype: string | null;
|
|
84456
|
+
id: string;
|
|
84457
|
+
idempotentie_sleutel: string;
|
|
84458
|
+
reden: string;
|
|
84459
|
+
};
|
|
84460
|
+
Insert: {
|
|
84461
|
+
bestaande_job_id?: string | null;
|
|
84462
|
+
created_at?: string;
|
|
84463
|
+
detail?: string | null;
|
|
84464
|
+
documentnaam?: string | null;
|
|
84465
|
+
documenttype?: string | null;
|
|
84466
|
+
id?: string;
|
|
84467
|
+
idempotentie_sleutel: string;
|
|
84468
|
+
reden: string;
|
|
84469
|
+
};
|
|
84470
|
+
Update: {
|
|
84471
|
+
bestaande_job_id?: string | null;
|
|
84472
|
+
created_at?: string;
|
|
84473
|
+
detail?: string | null;
|
|
84474
|
+
documentnaam?: string | null;
|
|
84475
|
+
documenttype?: string | null;
|
|
84476
|
+
id?: string;
|
|
84477
|
+
idempotentie_sleutel?: string;
|
|
84478
|
+
reden?: string;
|
|
84479
|
+
};
|
|
84480
|
+
Relationships: [];
|
|
84481
|
+
};
|
|
83369
84482
|
print_job_logs: {
|
|
83370
84483
|
Row: {
|
|
83371
84484
|
created_at: string;
|
|
@@ -83416,6 +84529,9 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
83416
84529
|
is_herprint: boolean;
|
|
83417
84530
|
kopieen: number;
|
|
83418
84531
|
layout_id: string | null;
|
|
84532
|
+
lokaal_opgeslagen_op: string | null;
|
|
84533
|
+
lokale_pdf_fout: string | null;
|
|
84534
|
+
lokale_pdf_status: string | null;
|
|
83419
84535
|
opgepakt_op: string | null;
|
|
83420
84536
|
paginas: number;
|
|
83421
84537
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -83424,6 +84540,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
83424
84540
|
pogingen: number;
|
|
83425
84541
|
printer_id: string | null;
|
|
83426
84542
|
render_html: string | null;
|
|
84543
|
+
resultaat_pdf_base64: string | null;
|
|
83427
84544
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
83428
84545
|
updated_at: string;
|
|
83429
84546
|
volgende_poging: string | null;
|
|
@@ -83448,6 +84565,9 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
83448
84565
|
is_herprint?: boolean;
|
|
83449
84566
|
kopieen?: number;
|
|
83450
84567
|
layout_id?: string | null;
|
|
84568
|
+
lokaal_opgeslagen_op?: string | null;
|
|
84569
|
+
lokale_pdf_fout?: string | null;
|
|
84570
|
+
lokale_pdf_status?: string | null;
|
|
83451
84571
|
opgepakt_op?: string | null;
|
|
83452
84572
|
paginas?: number;
|
|
83453
84573
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -83456,6 +84576,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
83456
84576
|
pogingen?: number;
|
|
83457
84577
|
printer_id?: string | null;
|
|
83458
84578
|
render_html?: string | null;
|
|
84579
|
+
resultaat_pdf_base64?: string | null;
|
|
83459
84580
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
83460
84581
|
updated_at?: string;
|
|
83461
84582
|
volgende_poging?: string | null;
|
|
@@ -83480,6 +84601,9 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
83480
84601
|
is_herprint?: boolean;
|
|
83481
84602
|
kopieen?: number;
|
|
83482
84603
|
layout_id?: string | null;
|
|
84604
|
+
lokaal_opgeslagen_op?: string | null;
|
|
84605
|
+
lokale_pdf_fout?: string | null;
|
|
84606
|
+
lokale_pdf_status?: string | null;
|
|
83483
84607
|
opgepakt_op?: string | null;
|
|
83484
84608
|
paginas?: number;
|
|
83485
84609
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -83488,6 +84612,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
83488
84612
|
pogingen?: number;
|
|
83489
84613
|
printer_id?: string | null;
|
|
83490
84614
|
render_html?: string | null;
|
|
84615
|
+
resultaat_pdf_base64?: string | null;
|
|
83491
84616
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
83492
84617
|
updated_at?: string;
|
|
83493
84618
|
volgende_poging?: string | null;
|
|
@@ -83606,6 +84731,39 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
83606
84731
|
};
|
|
83607
84732
|
Relationships: [];
|
|
83608
84733
|
};
|
|
84734
|
+
print_preview_events: {
|
|
84735
|
+
Row: {
|
|
84736
|
+
code: string | null;
|
|
84737
|
+
created_at: string;
|
|
84738
|
+
detail: import("../integrations/supabase/types").Json;
|
|
84739
|
+
id: string;
|
|
84740
|
+
queue_item_id: string | null;
|
|
84741
|
+
reden: string | null;
|
|
84742
|
+
station_slug: string | null;
|
|
84743
|
+
uitkomst: string;
|
|
84744
|
+
};
|
|
84745
|
+
Insert: {
|
|
84746
|
+
code?: string | null;
|
|
84747
|
+
created_at?: string;
|
|
84748
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
84749
|
+
id?: string;
|
|
84750
|
+
queue_item_id?: string | null;
|
|
84751
|
+
reden?: string | null;
|
|
84752
|
+
station_slug?: string | null;
|
|
84753
|
+
uitkomst?: string;
|
|
84754
|
+
};
|
|
84755
|
+
Update: {
|
|
84756
|
+
code?: string | null;
|
|
84757
|
+
created_at?: string;
|
|
84758
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
84759
|
+
id?: string;
|
|
84760
|
+
queue_item_id?: string | null;
|
|
84761
|
+
reden?: string | null;
|
|
84762
|
+
station_slug?: string | null;
|
|
84763
|
+
uitkomst?: string;
|
|
84764
|
+
};
|
|
84765
|
+
Relationships: [];
|
|
84766
|
+
};
|
|
83609
84767
|
print_queue_runners: {
|
|
83610
84768
|
Row: {
|
|
83611
84769
|
actief: boolean;
|
|
@@ -83845,6 +85003,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
83845
85003
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
83846
85004
|
online: boolean;
|
|
83847
85005
|
papierformaat: string;
|
|
85006
|
+
pdf_map: string | null;
|
|
83848
85007
|
poort: number | null;
|
|
83849
85008
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
83850
85009
|
systeemnaam: string;
|
|
@@ -83870,6 +85029,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
83870
85029
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
83871
85030
|
online?: boolean;
|
|
83872
85031
|
papierformaat?: string;
|
|
85032
|
+
pdf_map?: string | null;
|
|
83873
85033
|
poort?: number | null;
|
|
83874
85034
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
83875
85035
|
systeemnaam?: string;
|
|
@@ -83895,6 +85055,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
83895
85055
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
83896
85056
|
online?: boolean;
|
|
83897
85057
|
papierformaat?: string;
|
|
85058
|
+
pdf_map?: string | null;
|
|
83898
85059
|
poort?: number | null;
|
|
83899
85060
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
83900
85061
|
systeemnaam?: string;
|
|
@@ -90151,6 +91312,9 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
90151
91312
|
is_herprint: boolean;
|
|
90152
91313
|
kopieen: number;
|
|
90153
91314
|
layout_id: string | null;
|
|
91315
|
+
lokaal_opgeslagen_op: string | null;
|
|
91316
|
+
lokale_pdf_fout: string | null;
|
|
91317
|
+
lokale_pdf_status: string | null;
|
|
90154
91318
|
opgepakt_op: string | null;
|
|
90155
91319
|
paginas: number;
|
|
90156
91320
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -90159,6 +91323,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
90159
91323
|
pogingen: number;
|
|
90160
91324
|
printer_id: string | null;
|
|
90161
91325
|
render_html: string | null;
|
|
91326
|
+
resultaat_pdf_base64: string | null;
|
|
90162
91327
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
90163
91328
|
updated_at: string;
|
|
90164
91329
|
volgende_poging: string | null;
|
|
@@ -90250,6 +91415,53 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
90250
91415
|
isSetofReturn: true;
|
|
90251
91416
|
};
|
|
90252
91417
|
};
|
|
91418
|
+
claim_pdf_print_jobs: {
|
|
91419
|
+
Args: {
|
|
91420
|
+
_max?: number;
|
|
91421
|
+
};
|
|
91422
|
+
Returns: {
|
|
91423
|
+
agent_id: string | null;
|
|
91424
|
+
bron_job_id: string | null;
|
|
91425
|
+
created_at: string;
|
|
91426
|
+
documentnaam: string;
|
|
91427
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
91428
|
+
extern_job_id: string | null;
|
|
91429
|
+
foutmelding: string | null;
|
|
91430
|
+
gebruiker_id: string | null;
|
|
91431
|
+
gebruiker_naam: string;
|
|
91432
|
+
gebruikte_bron: string | null;
|
|
91433
|
+
gebruikte_layout_id: string | null;
|
|
91434
|
+
gestart_op: string | null;
|
|
91435
|
+
herkomst: string | null;
|
|
91436
|
+
id: string;
|
|
91437
|
+
idempotentie_sleutel: string | null;
|
|
91438
|
+
is_herprint: boolean;
|
|
91439
|
+
kopieen: number;
|
|
91440
|
+
layout_id: string | null;
|
|
91441
|
+
lokaal_opgeslagen_op: string | null;
|
|
91442
|
+
lokale_pdf_fout: string | null;
|
|
91443
|
+
lokale_pdf_status: string | null;
|
|
91444
|
+
opgepakt_op: string | null;
|
|
91445
|
+
paginas: number;
|
|
91446
|
+
payload: import("../integrations/supabase/types").Json;
|
|
91447
|
+
pdf_base64: string | null;
|
|
91448
|
+
pdf_url: string | null;
|
|
91449
|
+
pogingen: number;
|
|
91450
|
+
printer_id: string | null;
|
|
91451
|
+
render_html: string | null;
|
|
91452
|
+
resultaat_pdf_base64: string | null;
|
|
91453
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
91454
|
+
updated_at: string;
|
|
91455
|
+
volgende_poging: string | null;
|
|
91456
|
+
voltooid_op: string | null;
|
|
91457
|
+
}[];
|
|
91458
|
+
SetofOptions: {
|
|
91459
|
+
from: "*";
|
|
91460
|
+
to: "print_jobs";
|
|
91461
|
+
isOneToOne: false;
|
|
91462
|
+
isSetofReturn: true;
|
|
91463
|
+
};
|
|
91464
|
+
};
|
|
90253
91465
|
claim_print_jobs: {
|
|
90254
91466
|
Args: {
|
|
90255
91467
|
_agent_id: string;
|
|
@@ -90274,6 +91486,9 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
90274
91486
|
is_herprint: boolean;
|
|
90275
91487
|
kopieen: number;
|
|
90276
91488
|
layout_id: string | null;
|
|
91489
|
+
lokaal_opgeslagen_op: string | null;
|
|
91490
|
+
lokale_pdf_fout: string | null;
|
|
91491
|
+
lokale_pdf_status: string | null;
|
|
90277
91492
|
opgepakt_op: string | null;
|
|
90278
91493
|
paginas: number;
|
|
90279
91494
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -90282,6 +91497,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
90282
91497
|
pogingen: number;
|
|
90283
91498
|
printer_id: string | null;
|
|
90284
91499
|
render_html: string | null;
|
|
91500
|
+
resultaat_pdf_base64: string | null;
|
|
90285
91501
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
90286
91502
|
updated_at: string;
|
|
90287
91503
|
volgende_poging: string | null;
|
|
@@ -90422,6 +91638,8 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
90422
91638
|
order_id: string;
|
|
90423
91639
|
order_source: string;
|
|
90424
91640
|
pick_date: string;
|
|
91641
|
+
printed_at: string;
|
|
91642
|
+
printed_today: boolean;
|
|
90425
91643
|
status: string;
|
|
90426
91644
|
}[];
|
|
90427
91645
|
};
|
|
@@ -91130,6 +92348,10 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
91130
92348
|
};
|
|
91131
92349
|
Returns: number;
|
|
91132
92350
|
};
|
|
92351
|
+
logistics_cancel_orphan_tasks: {
|
|
92352
|
+
Args: never;
|
|
92353
|
+
Returns: number;
|
|
92354
|
+
};
|
|
91133
92355
|
logistics_capacity_day_check: {
|
|
91134
92356
|
Args: {
|
|
91135
92357
|
p_from?: string;
|
|
@@ -91150,6 +92372,25 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
91150
92372
|
};
|
|
91151
92373
|
Returns: number;
|
|
91152
92374
|
};
|
|
92375
|
+
logistics_cart_index: {
|
|
92376
|
+
Args: {
|
|
92377
|
+
p_from?: string;
|
|
92378
|
+
p_to?: string;
|
|
92379
|
+
};
|
|
92380
|
+
Returns: {
|
|
92381
|
+
cart_id: string;
|
|
92382
|
+
cart_index: number;
|
|
92383
|
+
cart_label: string;
|
|
92384
|
+
is_shared: boolean;
|
|
92385
|
+
order_number: string;
|
|
92386
|
+
order_source: string;
|
|
92387
|
+
order_uuid: string;
|
|
92388
|
+
pick_date: string;
|
|
92389
|
+
printed_at: string;
|
|
92390
|
+
shifted: boolean;
|
|
92391
|
+
task_status: string;
|
|
92392
|
+
}[];
|
|
92393
|
+
};
|
|
91153
92394
|
logistics_check_order_allowed: {
|
|
91154
92395
|
Args: {
|
|
91155
92396
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -91298,6 +92539,17 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
91298
92539
|
isSetofReturn: false;
|
|
91299
92540
|
};
|
|
91300
92541
|
};
|
|
92542
|
+
logistics_consistency_check: {
|
|
92543
|
+
Args: never;
|
|
92544
|
+
Returns: {
|
|
92545
|
+
agenda_carts: number;
|
|
92546
|
+
control_carts: number;
|
|
92547
|
+
ok: boolean;
|
|
92548
|
+
orphan_tasks: number;
|
|
92549
|
+
pick_date: string;
|
|
92550
|
+
raw_carts: number;
|
|
92551
|
+
}[];
|
|
92552
|
+
};
|
|
91301
92553
|
logistics_delay_customer_email: {
|
|
91302
92554
|
Args: {
|
|
91303
92555
|
p_customer: string;
|
|
@@ -91491,6 +92743,25 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
91491
92743
|
};
|
|
91492
92744
|
Returns: number;
|
|
91493
92745
|
};
|
|
92746
|
+
logistics_order_overview: {
|
|
92747
|
+
Args: {
|
|
92748
|
+
p_from?: string;
|
|
92749
|
+
p_to?: string;
|
|
92750
|
+
};
|
|
92751
|
+
Returns: {
|
|
92752
|
+
cart_count: number;
|
|
92753
|
+
customer_name: string;
|
|
92754
|
+
delivery_date: string;
|
|
92755
|
+
order_number: string;
|
|
92756
|
+
order_source: string;
|
|
92757
|
+
order_uuid: string;
|
|
92758
|
+
pick_date: string;
|
|
92759
|
+
plant_count: number;
|
|
92760
|
+
printed_at: string;
|
|
92761
|
+
shifted: boolean;
|
|
92762
|
+
status: string;
|
|
92763
|
+
}[];
|
|
92764
|
+
};
|
|
91494
92765
|
logistics_order_pick_day: {
|
|
91495
92766
|
Args: {
|
|
91496
92767
|
p_order_ref: string;
|
|
@@ -91503,6 +92774,22 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
91503
92774
|
};
|
|
91504
92775
|
Returns: string;
|
|
91505
92776
|
};
|
|
92777
|
+
logistics_pick_agenda: {
|
|
92778
|
+
Args: {
|
|
92779
|
+
p_from?: string;
|
|
92780
|
+
p_to?: string;
|
|
92781
|
+
};
|
|
92782
|
+
Returns: {
|
|
92783
|
+
cart_count: number;
|
|
92784
|
+
in_preparation: number;
|
|
92785
|
+
order_count: number;
|
|
92786
|
+
orders: import("../integrations/supabase/types").Json;
|
|
92787
|
+
pick_date: string;
|
|
92788
|
+
plant_count: number;
|
|
92789
|
+
ready: number;
|
|
92790
|
+
shifted_count: number;
|
|
92791
|
+
}[];
|
|
92792
|
+
};
|
|
91506
92793
|
logistics_pick_email_purpose: {
|
|
91507
92794
|
Args: never;
|
|
91508
92795
|
Returns: string;
|
|
@@ -91662,6 +92949,15 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
91662
92949
|
};
|
|
91663
92950
|
Returns: import("../integrations/supabase/types").Json;
|
|
91664
92951
|
};
|
|
92952
|
+
logistics_resolve_pick_document: {
|
|
92953
|
+
Args: {
|
|
92954
|
+
_is_herprint: boolean;
|
|
92955
|
+
_queue_item_id: string;
|
|
92956
|
+
_session_id: string;
|
|
92957
|
+
_voorbeeld: boolean;
|
|
92958
|
+
};
|
|
92959
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
92960
|
+
};
|
|
91665
92961
|
logistics_resolve_settings: {
|
|
91666
92962
|
Args: {
|
|
91667
92963
|
p_config_id: string;
|
|
@@ -92102,6 +93398,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
92102
93398
|
};
|
|
92103
93399
|
pick_enqueue_print_job: {
|
|
92104
93400
|
Args: {
|
|
93401
|
+
_is_herprint?: boolean;
|
|
92105
93402
|
_printer_id?: string;
|
|
92106
93403
|
_queue_item_id: string;
|
|
92107
93404
|
_session_id?: string;
|
|
@@ -92115,6 +93412,13 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
92115
93412
|
};
|
|
92116
93413
|
Returns: import("../integrations/supabase/types").Json;
|
|
92117
93414
|
};
|
|
93415
|
+
pick_preview_job: {
|
|
93416
|
+
Args: {
|
|
93417
|
+
_queue_item_id: string;
|
|
93418
|
+
_station_slug: string;
|
|
93419
|
+
};
|
|
93420
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
93421
|
+
};
|
|
92118
93422
|
pick_print_job_status: {
|
|
92119
93423
|
Args: {
|
|
92120
93424
|
_job_id: string;
|
|
@@ -92292,6 +93596,24 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
92292
93596
|
};
|
|
92293
93597
|
Returns: undefined;
|
|
92294
93598
|
};
|
|
93599
|
+
print_preview_toestaan: {
|
|
93600
|
+
Args: {
|
|
93601
|
+
_max?: number;
|
|
93602
|
+
_queue_item_id: string;
|
|
93603
|
+
_station_slug: string;
|
|
93604
|
+
_venster_sec?: number;
|
|
93605
|
+
};
|
|
93606
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
93607
|
+
};
|
|
93608
|
+
print_preview_weiger: {
|
|
93609
|
+
Args: {
|
|
93610
|
+
_code: string;
|
|
93611
|
+
_queue_item_id: string;
|
|
93612
|
+
_reden: string;
|
|
93613
|
+
_station_slug: string;
|
|
93614
|
+
};
|
|
93615
|
+
Returns: undefined;
|
|
93616
|
+
};
|
|
92295
93617
|
process_logistics_event: {
|
|
92296
93618
|
Args: {
|
|
92297
93619
|
p_event_id: string;
|
|
@@ -92409,6 +93731,14 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
92409
93731
|
};
|
|
92410
93732
|
Returns: undefined;
|
|
92411
93733
|
};
|
|
93734
|
+
replace_order_carts: {
|
|
93735
|
+
Args: {
|
|
93736
|
+
p_buffer_id: string;
|
|
93737
|
+
p_carts: import("../integrations/supabase/types").Json;
|
|
93738
|
+
p_order_id: string;
|
|
93739
|
+
};
|
|
93740
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
93741
|
+
};
|
|
92412
93742
|
reset_floriday_sync_cursor: {
|
|
92413
93743
|
Args: {
|
|
92414
93744
|
p_connection_id: string;
|
|
@@ -92438,6 +93768,12 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
92438
93768
|
};
|
|
92439
93769
|
Returns: string;
|
|
92440
93770
|
};
|
|
93771
|
+
resolve_print_job_printer_id: {
|
|
93772
|
+
Args: {
|
|
93773
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
93774
|
+
};
|
|
93775
|
+
Returns: string;
|
|
93776
|
+
};
|
|
92441
93777
|
resolve_product_id_for_item: {
|
|
92442
93778
|
Args: {
|
|
92443
93779
|
p_product_name: string;
|
|
@@ -93029,7 +94365,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
93029
94365
|
};
|
|
93030
94366
|
CompositeTypes: { [_ in never]: never; };
|
|
93031
94367
|
}, {
|
|
93032
|
-
PostgrestVersion: "14.
|
|
94368
|
+
PostgrestVersion: "14.5";
|
|
93033
94369
|
}>;
|
|
93034
94370
|
userId: string;
|
|
93035
94371
|
claims: import("@supabase/auth-js").User;
|
|
@@ -95902,6 +97238,84 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
95902
97238
|
};
|
|
95903
97239
|
Relationships: [];
|
|
95904
97240
|
};
|
|
97241
|
+
delivery_notes: {
|
|
97242
|
+
Row: {
|
|
97243
|
+
byte_size: number | null;
|
|
97244
|
+
connection_id: string | null;
|
|
97245
|
+
content_type: string;
|
|
97246
|
+
created_at: string;
|
|
97247
|
+
error_message: string | null;
|
|
97248
|
+
fetched_at: string | null;
|
|
97249
|
+
fulfillment_order_id: string | null;
|
|
97250
|
+
http_status: number | null;
|
|
97251
|
+
id: string;
|
|
97252
|
+
label_code: string | null;
|
|
97253
|
+
letter: string | null;
|
|
97254
|
+
load_carrier_index: number | null;
|
|
97255
|
+
load_carrier_type: string | null;
|
|
97256
|
+
order_id: string | null;
|
|
97257
|
+
order_number: string | null;
|
|
97258
|
+
packages: number | null;
|
|
97259
|
+
source: string;
|
|
97260
|
+
status: string;
|
|
97261
|
+
storage_bucket: string;
|
|
97262
|
+
storage_path: string | null;
|
|
97263
|
+
updated_at: string;
|
|
97264
|
+
};
|
|
97265
|
+
Insert: {
|
|
97266
|
+
byte_size?: number | null;
|
|
97267
|
+
connection_id?: string | null;
|
|
97268
|
+
content_type?: string;
|
|
97269
|
+
created_at?: string;
|
|
97270
|
+
error_message?: string | null;
|
|
97271
|
+
fetched_at?: string | null;
|
|
97272
|
+
fulfillment_order_id?: string | null;
|
|
97273
|
+
http_status?: number | null;
|
|
97274
|
+
id?: string;
|
|
97275
|
+
label_code?: string | null;
|
|
97276
|
+
letter?: string | null;
|
|
97277
|
+
load_carrier_index?: number | null;
|
|
97278
|
+
load_carrier_type?: string | null;
|
|
97279
|
+
order_id?: string | null;
|
|
97280
|
+
order_number?: string | null;
|
|
97281
|
+
packages?: number | null;
|
|
97282
|
+
source?: string;
|
|
97283
|
+
status?: string;
|
|
97284
|
+
storage_bucket?: string;
|
|
97285
|
+
storage_path?: string | null;
|
|
97286
|
+
updated_at?: string;
|
|
97287
|
+
};
|
|
97288
|
+
Update: {
|
|
97289
|
+
byte_size?: number | null;
|
|
97290
|
+
connection_id?: string | null;
|
|
97291
|
+
content_type?: string;
|
|
97292
|
+
created_at?: string;
|
|
97293
|
+
error_message?: string | null;
|
|
97294
|
+
fetched_at?: string | null;
|
|
97295
|
+
fulfillment_order_id?: string | null;
|
|
97296
|
+
http_status?: number | null;
|
|
97297
|
+
id?: string;
|
|
97298
|
+
label_code?: string | null;
|
|
97299
|
+
letter?: string | null;
|
|
97300
|
+
load_carrier_index?: number | null;
|
|
97301
|
+
load_carrier_type?: string | null;
|
|
97302
|
+
order_id?: string | null;
|
|
97303
|
+
order_number?: string | null;
|
|
97304
|
+
packages?: number | null;
|
|
97305
|
+
source?: string;
|
|
97306
|
+
status?: string;
|
|
97307
|
+
storage_bucket?: string;
|
|
97308
|
+
storage_path?: string | null;
|
|
97309
|
+
updated_at?: string;
|
|
97310
|
+
};
|
|
97311
|
+
Relationships: [{
|
|
97312
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
97313
|
+
columns: ["order_id"];
|
|
97314
|
+
isOneToOne: false;
|
|
97315
|
+
referencedRelation: "orders";
|
|
97316
|
+
referencedColumns: ["id"];
|
|
97317
|
+
}];
|
|
97318
|
+
};
|
|
95905
97319
|
document_bronregels: {
|
|
95906
97320
|
Row: {
|
|
95907
97321
|
bron: string;
|
|
@@ -106627,6 +108041,39 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
106627
108041
|
};
|
|
106628
108042
|
Relationships: [];
|
|
106629
108043
|
};
|
|
108044
|
+
print_dedupe_events: {
|
|
108045
|
+
Row: {
|
|
108046
|
+
bestaande_job_id: string | null;
|
|
108047
|
+
created_at: string;
|
|
108048
|
+
detail: string | null;
|
|
108049
|
+
documentnaam: string | null;
|
|
108050
|
+
documenttype: string | null;
|
|
108051
|
+
id: string;
|
|
108052
|
+
idempotentie_sleutel: string;
|
|
108053
|
+
reden: string;
|
|
108054
|
+
};
|
|
108055
|
+
Insert: {
|
|
108056
|
+
bestaande_job_id?: string | null;
|
|
108057
|
+
created_at?: string;
|
|
108058
|
+
detail?: string | null;
|
|
108059
|
+
documentnaam?: string | null;
|
|
108060
|
+
documenttype?: string | null;
|
|
108061
|
+
id?: string;
|
|
108062
|
+
idempotentie_sleutel: string;
|
|
108063
|
+
reden: string;
|
|
108064
|
+
};
|
|
108065
|
+
Update: {
|
|
108066
|
+
bestaande_job_id?: string | null;
|
|
108067
|
+
created_at?: string;
|
|
108068
|
+
detail?: string | null;
|
|
108069
|
+
documentnaam?: string | null;
|
|
108070
|
+
documenttype?: string | null;
|
|
108071
|
+
id?: string;
|
|
108072
|
+
idempotentie_sleutel?: string;
|
|
108073
|
+
reden?: string;
|
|
108074
|
+
};
|
|
108075
|
+
Relationships: [];
|
|
108076
|
+
};
|
|
106630
108077
|
print_job_logs: {
|
|
106631
108078
|
Row: {
|
|
106632
108079
|
created_at: string;
|
|
@@ -106677,6 +108124,9 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
106677
108124
|
is_herprint: boolean;
|
|
106678
108125
|
kopieen: number;
|
|
106679
108126
|
layout_id: string | null;
|
|
108127
|
+
lokaal_opgeslagen_op: string | null;
|
|
108128
|
+
lokale_pdf_fout: string | null;
|
|
108129
|
+
lokale_pdf_status: string | null;
|
|
106680
108130
|
opgepakt_op: string | null;
|
|
106681
108131
|
paginas: number;
|
|
106682
108132
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -106685,6 +108135,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
106685
108135
|
pogingen: number;
|
|
106686
108136
|
printer_id: string | null;
|
|
106687
108137
|
render_html: string | null;
|
|
108138
|
+
resultaat_pdf_base64: string | null;
|
|
106688
108139
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
106689
108140
|
updated_at: string;
|
|
106690
108141
|
volgende_poging: string | null;
|
|
@@ -106709,6 +108160,9 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
106709
108160
|
is_herprint?: boolean;
|
|
106710
108161
|
kopieen?: number;
|
|
106711
108162
|
layout_id?: string | null;
|
|
108163
|
+
lokaal_opgeslagen_op?: string | null;
|
|
108164
|
+
lokale_pdf_fout?: string | null;
|
|
108165
|
+
lokale_pdf_status?: string | null;
|
|
106712
108166
|
opgepakt_op?: string | null;
|
|
106713
108167
|
paginas?: number;
|
|
106714
108168
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -106717,6 +108171,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
106717
108171
|
pogingen?: number;
|
|
106718
108172
|
printer_id?: string | null;
|
|
106719
108173
|
render_html?: string | null;
|
|
108174
|
+
resultaat_pdf_base64?: string | null;
|
|
106720
108175
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
106721
108176
|
updated_at?: string;
|
|
106722
108177
|
volgende_poging?: string | null;
|
|
@@ -106741,6 +108196,9 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
106741
108196
|
is_herprint?: boolean;
|
|
106742
108197
|
kopieen?: number;
|
|
106743
108198
|
layout_id?: string | null;
|
|
108199
|
+
lokaal_opgeslagen_op?: string | null;
|
|
108200
|
+
lokale_pdf_fout?: string | null;
|
|
108201
|
+
lokale_pdf_status?: string | null;
|
|
106744
108202
|
opgepakt_op?: string | null;
|
|
106745
108203
|
paginas?: number;
|
|
106746
108204
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -106749,6 +108207,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
106749
108207
|
pogingen?: number;
|
|
106750
108208
|
printer_id?: string | null;
|
|
106751
108209
|
render_html?: string | null;
|
|
108210
|
+
resultaat_pdf_base64?: string | null;
|
|
106752
108211
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
106753
108212
|
updated_at?: string;
|
|
106754
108213
|
volgende_poging?: string | null;
|
|
@@ -106867,6 +108326,39 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
106867
108326
|
};
|
|
106868
108327
|
Relationships: [];
|
|
106869
108328
|
};
|
|
108329
|
+
print_preview_events: {
|
|
108330
|
+
Row: {
|
|
108331
|
+
code: string | null;
|
|
108332
|
+
created_at: string;
|
|
108333
|
+
detail: import("../integrations/supabase/types").Json;
|
|
108334
|
+
id: string;
|
|
108335
|
+
queue_item_id: string | null;
|
|
108336
|
+
reden: string | null;
|
|
108337
|
+
station_slug: string | null;
|
|
108338
|
+
uitkomst: string;
|
|
108339
|
+
};
|
|
108340
|
+
Insert: {
|
|
108341
|
+
code?: string | null;
|
|
108342
|
+
created_at?: string;
|
|
108343
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
108344
|
+
id?: string;
|
|
108345
|
+
queue_item_id?: string | null;
|
|
108346
|
+
reden?: string | null;
|
|
108347
|
+
station_slug?: string | null;
|
|
108348
|
+
uitkomst?: string;
|
|
108349
|
+
};
|
|
108350
|
+
Update: {
|
|
108351
|
+
code?: string | null;
|
|
108352
|
+
created_at?: string;
|
|
108353
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
108354
|
+
id?: string;
|
|
108355
|
+
queue_item_id?: string | null;
|
|
108356
|
+
reden?: string | null;
|
|
108357
|
+
station_slug?: string | null;
|
|
108358
|
+
uitkomst?: string;
|
|
108359
|
+
};
|
|
108360
|
+
Relationships: [];
|
|
108361
|
+
};
|
|
106870
108362
|
print_queue_runners: {
|
|
106871
108363
|
Row: {
|
|
106872
108364
|
actief: boolean;
|
|
@@ -107106,6 +108598,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
107106
108598
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
107107
108599
|
online: boolean;
|
|
107108
108600
|
papierformaat: string;
|
|
108601
|
+
pdf_map: string | null;
|
|
107109
108602
|
poort: number | null;
|
|
107110
108603
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
107111
108604
|
systeemnaam: string;
|
|
@@ -107131,6 +108624,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
107131
108624
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
107132
108625
|
online?: boolean;
|
|
107133
108626
|
papierformaat?: string;
|
|
108627
|
+
pdf_map?: string | null;
|
|
107134
108628
|
poort?: number | null;
|
|
107135
108629
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
107136
108630
|
systeemnaam?: string;
|
|
@@ -107156,6 +108650,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
107156
108650
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
107157
108651
|
online?: boolean;
|
|
107158
108652
|
papierformaat?: string;
|
|
108653
|
+
pdf_map?: string | null;
|
|
107159
108654
|
poort?: number | null;
|
|
107160
108655
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
107161
108656
|
systeemnaam?: string;
|
|
@@ -113412,6 +114907,9 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
113412
114907
|
is_herprint: boolean;
|
|
113413
114908
|
kopieen: number;
|
|
113414
114909
|
layout_id: string | null;
|
|
114910
|
+
lokaal_opgeslagen_op: string | null;
|
|
114911
|
+
lokale_pdf_fout: string | null;
|
|
114912
|
+
lokale_pdf_status: string | null;
|
|
113415
114913
|
opgepakt_op: string | null;
|
|
113416
114914
|
paginas: number;
|
|
113417
114915
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -113420,6 +114918,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
113420
114918
|
pogingen: number;
|
|
113421
114919
|
printer_id: string | null;
|
|
113422
114920
|
render_html: string | null;
|
|
114921
|
+
resultaat_pdf_base64: string | null;
|
|
113423
114922
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
113424
114923
|
updated_at: string;
|
|
113425
114924
|
volgende_poging: string | null;
|
|
@@ -113511,6 +115010,53 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
113511
115010
|
isSetofReturn: true;
|
|
113512
115011
|
};
|
|
113513
115012
|
};
|
|
115013
|
+
claim_pdf_print_jobs: {
|
|
115014
|
+
Args: {
|
|
115015
|
+
_max?: number;
|
|
115016
|
+
};
|
|
115017
|
+
Returns: {
|
|
115018
|
+
agent_id: string | null;
|
|
115019
|
+
bron_job_id: string | null;
|
|
115020
|
+
created_at: string;
|
|
115021
|
+
documentnaam: string;
|
|
115022
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
115023
|
+
extern_job_id: string | null;
|
|
115024
|
+
foutmelding: string | null;
|
|
115025
|
+
gebruiker_id: string | null;
|
|
115026
|
+
gebruiker_naam: string;
|
|
115027
|
+
gebruikte_bron: string | null;
|
|
115028
|
+
gebruikte_layout_id: string | null;
|
|
115029
|
+
gestart_op: string | null;
|
|
115030
|
+
herkomst: string | null;
|
|
115031
|
+
id: string;
|
|
115032
|
+
idempotentie_sleutel: string | null;
|
|
115033
|
+
is_herprint: boolean;
|
|
115034
|
+
kopieen: number;
|
|
115035
|
+
layout_id: string | null;
|
|
115036
|
+
lokaal_opgeslagen_op: string | null;
|
|
115037
|
+
lokale_pdf_fout: string | null;
|
|
115038
|
+
lokale_pdf_status: string | null;
|
|
115039
|
+
opgepakt_op: string | null;
|
|
115040
|
+
paginas: number;
|
|
115041
|
+
payload: import("../integrations/supabase/types").Json;
|
|
115042
|
+
pdf_base64: string | null;
|
|
115043
|
+
pdf_url: string | null;
|
|
115044
|
+
pogingen: number;
|
|
115045
|
+
printer_id: string | null;
|
|
115046
|
+
render_html: string | null;
|
|
115047
|
+
resultaat_pdf_base64: string | null;
|
|
115048
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
115049
|
+
updated_at: string;
|
|
115050
|
+
volgende_poging: string | null;
|
|
115051
|
+
voltooid_op: string | null;
|
|
115052
|
+
}[];
|
|
115053
|
+
SetofOptions: {
|
|
115054
|
+
from: "*";
|
|
115055
|
+
to: "print_jobs";
|
|
115056
|
+
isOneToOne: false;
|
|
115057
|
+
isSetofReturn: true;
|
|
115058
|
+
};
|
|
115059
|
+
};
|
|
113514
115060
|
claim_print_jobs: {
|
|
113515
115061
|
Args: {
|
|
113516
115062
|
_agent_id: string;
|
|
@@ -113535,6 +115081,9 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
113535
115081
|
is_herprint: boolean;
|
|
113536
115082
|
kopieen: number;
|
|
113537
115083
|
layout_id: string | null;
|
|
115084
|
+
lokaal_opgeslagen_op: string | null;
|
|
115085
|
+
lokale_pdf_fout: string | null;
|
|
115086
|
+
lokale_pdf_status: string | null;
|
|
113538
115087
|
opgepakt_op: string | null;
|
|
113539
115088
|
paginas: number;
|
|
113540
115089
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -113543,6 +115092,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
113543
115092
|
pogingen: number;
|
|
113544
115093
|
printer_id: string | null;
|
|
113545
115094
|
render_html: string | null;
|
|
115095
|
+
resultaat_pdf_base64: string | null;
|
|
113546
115096
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
113547
115097
|
updated_at: string;
|
|
113548
115098
|
volgende_poging: string | null;
|
|
@@ -113683,6 +115233,8 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
113683
115233
|
order_id: string;
|
|
113684
115234
|
order_source: string;
|
|
113685
115235
|
pick_date: string;
|
|
115236
|
+
printed_at: string;
|
|
115237
|
+
printed_today: boolean;
|
|
113686
115238
|
status: string;
|
|
113687
115239
|
}[];
|
|
113688
115240
|
};
|
|
@@ -114391,6 +115943,10 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
114391
115943
|
};
|
|
114392
115944
|
Returns: number;
|
|
114393
115945
|
};
|
|
115946
|
+
logistics_cancel_orphan_tasks: {
|
|
115947
|
+
Args: never;
|
|
115948
|
+
Returns: number;
|
|
115949
|
+
};
|
|
114394
115950
|
logistics_capacity_day_check: {
|
|
114395
115951
|
Args: {
|
|
114396
115952
|
p_from?: string;
|
|
@@ -114411,6 +115967,25 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
114411
115967
|
};
|
|
114412
115968
|
Returns: number;
|
|
114413
115969
|
};
|
|
115970
|
+
logistics_cart_index: {
|
|
115971
|
+
Args: {
|
|
115972
|
+
p_from?: string;
|
|
115973
|
+
p_to?: string;
|
|
115974
|
+
};
|
|
115975
|
+
Returns: {
|
|
115976
|
+
cart_id: string;
|
|
115977
|
+
cart_index: number;
|
|
115978
|
+
cart_label: string;
|
|
115979
|
+
is_shared: boolean;
|
|
115980
|
+
order_number: string;
|
|
115981
|
+
order_source: string;
|
|
115982
|
+
order_uuid: string;
|
|
115983
|
+
pick_date: string;
|
|
115984
|
+
printed_at: string;
|
|
115985
|
+
shifted: boolean;
|
|
115986
|
+
task_status: string;
|
|
115987
|
+
}[];
|
|
115988
|
+
};
|
|
114414
115989
|
logistics_check_order_allowed: {
|
|
114415
115990
|
Args: {
|
|
114416
115991
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -114559,6 +116134,17 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
114559
116134
|
isSetofReturn: false;
|
|
114560
116135
|
};
|
|
114561
116136
|
};
|
|
116137
|
+
logistics_consistency_check: {
|
|
116138
|
+
Args: never;
|
|
116139
|
+
Returns: {
|
|
116140
|
+
agenda_carts: number;
|
|
116141
|
+
control_carts: number;
|
|
116142
|
+
ok: boolean;
|
|
116143
|
+
orphan_tasks: number;
|
|
116144
|
+
pick_date: string;
|
|
116145
|
+
raw_carts: number;
|
|
116146
|
+
}[];
|
|
116147
|
+
};
|
|
114562
116148
|
logistics_delay_customer_email: {
|
|
114563
116149
|
Args: {
|
|
114564
116150
|
p_customer: string;
|
|
@@ -114752,6 +116338,25 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
114752
116338
|
};
|
|
114753
116339
|
Returns: number;
|
|
114754
116340
|
};
|
|
116341
|
+
logistics_order_overview: {
|
|
116342
|
+
Args: {
|
|
116343
|
+
p_from?: string;
|
|
116344
|
+
p_to?: string;
|
|
116345
|
+
};
|
|
116346
|
+
Returns: {
|
|
116347
|
+
cart_count: number;
|
|
116348
|
+
customer_name: string;
|
|
116349
|
+
delivery_date: string;
|
|
116350
|
+
order_number: string;
|
|
116351
|
+
order_source: string;
|
|
116352
|
+
order_uuid: string;
|
|
116353
|
+
pick_date: string;
|
|
116354
|
+
plant_count: number;
|
|
116355
|
+
printed_at: string;
|
|
116356
|
+
shifted: boolean;
|
|
116357
|
+
status: string;
|
|
116358
|
+
}[];
|
|
116359
|
+
};
|
|
114755
116360
|
logistics_order_pick_day: {
|
|
114756
116361
|
Args: {
|
|
114757
116362
|
p_order_ref: string;
|
|
@@ -114764,6 +116369,22 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
114764
116369
|
};
|
|
114765
116370
|
Returns: string;
|
|
114766
116371
|
};
|
|
116372
|
+
logistics_pick_agenda: {
|
|
116373
|
+
Args: {
|
|
116374
|
+
p_from?: string;
|
|
116375
|
+
p_to?: string;
|
|
116376
|
+
};
|
|
116377
|
+
Returns: {
|
|
116378
|
+
cart_count: number;
|
|
116379
|
+
in_preparation: number;
|
|
116380
|
+
order_count: number;
|
|
116381
|
+
orders: import("../integrations/supabase/types").Json;
|
|
116382
|
+
pick_date: string;
|
|
116383
|
+
plant_count: number;
|
|
116384
|
+
ready: number;
|
|
116385
|
+
shifted_count: number;
|
|
116386
|
+
}[];
|
|
116387
|
+
};
|
|
114767
116388
|
logistics_pick_email_purpose: {
|
|
114768
116389
|
Args: never;
|
|
114769
116390
|
Returns: string;
|
|
@@ -114923,6 +116544,15 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
114923
116544
|
};
|
|
114924
116545
|
Returns: import("../integrations/supabase/types").Json;
|
|
114925
116546
|
};
|
|
116547
|
+
logistics_resolve_pick_document: {
|
|
116548
|
+
Args: {
|
|
116549
|
+
_is_herprint: boolean;
|
|
116550
|
+
_queue_item_id: string;
|
|
116551
|
+
_session_id: string;
|
|
116552
|
+
_voorbeeld: boolean;
|
|
116553
|
+
};
|
|
116554
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
116555
|
+
};
|
|
114926
116556
|
logistics_resolve_settings: {
|
|
114927
116557
|
Args: {
|
|
114928
116558
|
p_config_id: string;
|
|
@@ -115363,6 +116993,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
115363
116993
|
};
|
|
115364
116994
|
pick_enqueue_print_job: {
|
|
115365
116995
|
Args: {
|
|
116996
|
+
_is_herprint?: boolean;
|
|
115366
116997
|
_printer_id?: string;
|
|
115367
116998
|
_queue_item_id: string;
|
|
115368
116999
|
_session_id?: string;
|
|
@@ -115376,6 +117007,13 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
115376
117007
|
};
|
|
115377
117008
|
Returns: import("../integrations/supabase/types").Json;
|
|
115378
117009
|
};
|
|
117010
|
+
pick_preview_job: {
|
|
117011
|
+
Args: {
|
|
117012
|
+
_queue_item_id: string;
|
|
117013
|
+
_station_slug: string;
|
|
117014
|
+
};
|
|
117015
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
117016
|
+
};
|
|
115379
117017
|
pick_print_job_status: {
|
|
115380
117018
|
Args: {
|
|
115381
117019
|
_job_id: string;
|
|
@@ -115553,6 +117191,24 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
115553
117191
|
};
|
|
115554
117192
|
Returns: undefined;
|
|
115555
117193
|
};
|
|
117194
|
+
print_preview_toestaan: {
|
|
117195
|
+
Args: {
|
|
117196
|
+
_max?: number;
|
|
117197
|
+
_queue_item_id: string;
|
|
117198
|
+
_station_slug: string;
|
|
117199
|
+
_venster_sec?: number;
|
|
117200
|
+
};
|
|
117201
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
117202
|
+
};
|
|
117203
|
+
print_preview_weiger: {
|
|
117204
|
+
Args: {
|
|
117205
|
+
_code: string;
|
|
117206
|
+
_queue_item_id: string;
|
|
117207
|
+
_reden: string;
|
|
117208
|
+
_station_slug: string;
|
|
117209
|
+
};
|
|
117210
|
+
Returns: undefined;
|
|
117211
|
+
};
|
|
115556
117212
|
process_logistics_event: {
|
|
115557
117213
|
Args: {
|
|
115558
117214
|
p_event_id: string;
|
|
@@ -115670,6 +117326,14 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
115670
117326
|
};
|
|
115671
117327
|
Returns: undefined;
|
|
115672
117328
|
};
|
|
117329
|
+
replace_order_carts: {
|
|
117330
|
+
Args: {
|
|
117331
|
+
p_buffer_id: string;
|
|
117332
|
+
p_carts: import("../integrations/supabase/types").Json;
|
|
117333
|
+
p_order_id: string;
|
|
117334
|
+
};
|
|
117335
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
117336
|
+
};
|
|
115673
117337
|
reset_floriday_sync_cursor: {
|
|
115674
117338
|
Args: {
|
|
115675
117339
|
p_connection_id: string;
|
|
@@ -115699,6 +117363,12 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
115699
117363
|
};
|
|
115700
117364
|
Returns: string;
|
|
115701
117365
|
};
|
|
117366
|
+
resolve_print_job_printer_id: {
|
|
117367
|
+
Args: {
|
|
117368
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
117369
|
+
};
|
|
117370
|
+
Returns: string;
|
|
117371
|
+
};
|
|
115702
117372
|
resolve_product_id_for_item: {
|
|
115703
117373
|
Args: {
|
|
115704
117374
|
p_product_name: string;
|
|
@@ -116290,7 +117960,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
116290
117960
|
};
|
|
116291
117961
|
CompositeTypes: { [_ in never]: never; };
|
|
116292
117962
|
}, {
|
|
116293
|
-
PostgrestVersion: "14.
|
|
117963
|
+
PostgrestVersion: "14.5";
|
|
116294
117964
|
}>;
|
|
116295
117965
|
userId: string;
|
|
116296
117966
|
claims: import("@supabase/auth-js").User;
|