@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
|
@@ -2852,6 +2852,84 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
2852
2852
|
};
|
|
2853
2853
|
Relationships: [];
|
|
2854
2854
|
};
|
|
2855
|
+
delivery_notes: {
|
|
2856
|
+
Row: {
|
|
2857
|
+
byte_size: number | null;
|
|
2858
|
+
connection_id: string | null;
|
|
2859
|
+
content_type: string;
|
|
2860
|
+
created_at: string;
|
|
2861
|
+
error_message: string | null;
|
|
2862
|
+
fetched_at: string | null;
|
|
2863
|
+
fulfillment_order_id: string | null;
|
|
2864
|
+
http_status: number | null;
|
|
2865
|
+
id: string;
|
|
2866
|
+
label_code: string | null;
|
|
2867
|
+
letter: string | null;
|
|
2868
|
+
load_carrier_index: number | null;
|
|
2869
|
+
load_carrier_type: string | null;
|
|
2870
|
+
order_id: string | null;
|
|
2871
|
+
order_number: string | null;
|
|
2872
|
+
packages: number | null;
|
|
2873
|
+
source: string;
|
|
2874
|
+
status: string;
|
|
2875
|
+
storage_bucket: string;
|
|
2876
|
+
storage_path: string | null;
|
|
2877
|
+
updated_at: string;
|
|
2878
|
+
};
|
|
2879
|
+
Insert: {
|
|
2880
|
+
byte_size?: number | null;
|
|
2881
|
+
connection_id?: string | null;
|
|
2882
|
+
content_type?: string;
|
|
2883
|
+
created_at?: string;
|
|
2884
|
+
error_message?: string | null;
|
|
2885
|
+
fetched_at?: string | null;
|
|
2886
|
+
fulfillment_order_id?: string | null;
|
|
2887
|
+
http_status?: number | null;
|
|
2888
|
+
id?: string;
|
|
2889
|
+
label_code?: string | null;
|
|
2890
|
+
letter?: string | null;
|
|
2891
|
+
load_carrier_index?: number | null;
|
|
2892
|
+
load_carrier_type?: string | null;
|
|
2893
|
+
order_id?: string | null;
|
|
2894
|
+
order_number?: string | null;
|
|
2895
|
+
packages?: number | null;
|
|
2896
|
+
source?: string;
|
|
2897
|
+
status?: string;
|
|
2898
|
+
storage_bucket?: string;
|
|
2899
|
+
storage_path?: string | null;
|
|
2900
|
+
updated_at?: string;
|
|
2901
|
+
};
|
|
2902
|
+
Update: {
|
|
2903
|
+
byte_size?: number | null;
|
|
2904
|
+
connection_id?: string | null;
|
|
2905
|
+
content_type?: string;
|
|
2906
|
+
created_at?: string;
|
|
2907
|
+
error_message?: string | null;
|
|
2908
|
+
fetched_at?: string | null;
|
|
2909
|
+
fulfillment_order_id?: string | null;
|
|
2910
|
+
http_status?: number | null;
|
|
2911
|
+
id?: string;
|
|
2912
|
+
label_code?: string | null;
|
|
2913
|
+
letter?: string | null;
|
|
2914
|
+
load_carrier_index?: number | null;
|
|
2915
|
+
load_carrier_type?: string | null;
|
|
2916
|
+
order_id?: string | null;
|
|
2917
|
+
order_number?: string | null;
|
|
2918
|
+
packages?: number | null;
|
|
2919
|
+
source?: string;
|
|
2920
|
+
status?: string;
|
|
2921
|
+
storage_bucket?: string;
|
|
2922
|
+
storage_path?: string | null;
|
|
2923
|
+
updated_at?: string;
|
|
2924
|
+
};
|
|
2925
|
+
Relationships: [{
|
|
2926
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
2927
|
+
columns: ["order_id"];
|
|
2928
|
+
isOneToOne: false;
|
|
2929
|
+
referencedRelation: "orders";
|
|
2930
|
+
referencedColumns: ["id"];
|
|
2931
|
+
}];
|
|
2932
|
+
};
|
|
2855
2933
|
document_bronregels: {
|
|
2856
2934
|
Row: {
|
|
2857
2935
|
bron: string;
|
|
@@ -13577,6 +13655,39 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
13577
13655
|
};
|
|
13578
13656
|
Relationships: [];
|
|
13579
13657
|
};
|
|
13658
|
+
print_dedupe_events: {
|
|
13659
|
+
Row: {
|
|
13660
|
+
bestaande_job_id: string | null;
|
|
13661
|
+
created_at: string;
|
|
13662
|
+
detail: string | null;
|
|
13663
|
+
documentnaam: string | null;
|
|
13664
|
+
documenttype: string | null;
|
|
13665
|
+
id: string;
|
|
13666
|
+
idempotentie_sleutel: string;
|
|
13667
|
+
reden: string;
|
|
13668
|
+
};
|
|
13669
|
+
Insert: {
|
|
13670
|
+
bestaande_job_id?: string | null;
|
|
13671
|
+
created_at?: string;
|
|
13672
|
+
detail?: string | null;
|
|
13673
|
+
documentnaam?: string | null;
|
|
13674
|
+
documenttype?: string | null;
|
|
13675
|
+
id?: string;
|
|
13676
|
+
idempotentie_sleutel: string;
|
|
13677
|
+
reden: string;
|
|
13678
|
+
};
|
|
13679
|
+
Update: {
|
|
13680
|
+
bestaande_job_id?: string | null;
|
|
13681
|
+
created_at?: string;
|
|
13682
|
+
detail?: string | null;
|
|
13683
|
+
documentnaam?: string | null;
|
|
13684
|
+
documenttype?: string | null;
|
|
13685
|
+
id?: string;
|
|
13686
|
+
idempotentie_sleutel?: string;
|
|
13687
|
+
reden?: string;
|
|
13688
|
+
};
|
|
13689
|
+
Relationships: [];
|
|
13690
|
+
};
|
|
13580
13691
|
print_job_logs: {
|
|
13581
13692
|
Row: {
|
|
13582
13693
|
created_at: string;
|
|
@@ -13627,6 +13738,9 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
13627
13738
|
is_herprint: boolean;
|
|
13628
13739
|
kopieen: number;
|
|
13629
13740
|
layout_id: string | null;
|
|
13741
|
+
lokaal_opgeslagen_op: string | null;
|
|
13742
|
+
lokale_pdf_fout: string | null;
|
|
13743
|
+
lokale_pdf_status: string | null;
|
|
13630
13744
|
opgepakt_op: string | null;
|
|
13631
13745
|
paginas: number;
|
|
13632
13746
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -13635,6 +13749,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
13635
13749
|
pogingen: number;
|
|
13636
13750
|
printer_id: string | null;
|
|
13637
13751
|
render_html: string | null;
|
|
13752
|
+
resultaat_pdf_base64: string | null;
|
|
13638
13753
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13639
13754
|
updated_at: string;
|
|
13640
13755
|
volgende_poging: string | null;
|
|
@@ -13659,6 +13774,9 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
13659
13774
|
is_herprint?: boolean;
|
|
13660
13775
|
kopieen?: number;
|
|
13661
13776
|
layout_id?: string | null;
|
|
13777
|
+
lokaal_opgeslagen_op?: string | null;
|
|
13778
|
+
lokale_pdf_fout?: string | null;
|
|
13779
|
+
lokale_pdf_status?: string | null;
|
|
13662
13780
|
opgepakt_op?: string | null;
|
|
13663
13781
|
paginas?: number;
|
|
13664
13782
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -13667,6 +13785,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
13667
13785
|
pogingen?: number;
|
|
13668
13786
|
printer_id?: string | null;
|
|
13669
13787
|
render_html?: string | null;
|
|
13788
|
+
resultaat_pdf_base64?: string | null;
|
|
13670
13789
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13671
13790
|
updated_at?: string;
|
|
13672
13791
|
volgende_poging?: string | null;
|
|
@@ -13691,6 +13810,9 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
13691
13810
|
is_herprint?: boolean;
|
|
13692
13811
|
kopieen?: number;
|
|
13693
13812
|
layout_id?: string | null;
|
|
13813
|
+
lokaal_opgeslagen_op?: string | null;
|
|
13814
|
+
lokale_pdf_fout?: string | null;
|
|
13815
|
+
lokale_pdf_status?: string | null;
|
|
13694
13816
|
opgepakt_op?: string | null;
|
|
13695
13817
|
paginas?: number;
|
|
13696
13818
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -13699,6 +13821,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
13699
13821
|
pogingen?: number;
|
|
13700
13822
|
printer_id?: string | null;
|
|
13701
13823
|
render_html?: string | null;
|
|
13824
|
+
resultaat_pdf_base64?: string | null;
|
|
13702
13825
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13703
13826
|
updated_at?: string;
|
|
13704
13827
|
volgende_poging?: string | null;
|
|
@@ -13817,6 +13940,39 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
13817
13940
|
};
|
|
13818
13941
|
Relationships: [];
|
|
13819
13942
|
};
|
|
13943
|
+
print_preview_events: {
|
|
13944
|
+
Row: {
|
|
13945
|
+
code: string | null;
|
|
13946
|
+
created_at: string;
|
|
13947
|
+
detail: import("../integrations/supabase/types").Json;
|
|
13948
|
+
id: string;
|
|
13949
|
+
queue_item_id: string | null;
|
|
13950
|
+
reden: string | null;
|
|
13951
|
+
station_slug: string | null;
|
|
13952
|
+
uitkomst: string;
|
|
13953
|
+
};
|
|
13954
|
+
Insert: {
|
|
13955
|
+
code?: string | null;
|
|
13956
|
+
created_at?: string;
|
|
13957
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
13958
|
+
id?: string;
|
|
13959
|
+
queue_item_id?: string | null;
|
|
13960
|
+
reden?: string | null;
|
|
13961
|
+
station_slug?: string | null;
|
|
13962
|
+
uitkomst?: string;
|
|
13963
|
+
};
|
|
13964
|
+
Update: {
|
|
13965
|
+
code?: string | null;
|
|
13966
|
+
created_at?: string;
|
|
13967
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
13968
|
+
id?: string;
|
|
13969
|
+
queue_item_id?: string | null;
|
|
13970
|
+
reden?: string | null;
|
|
13971
|
+
station_slug?: string | null;
|
|
13972
|
+
uitkomst?: string;
|
|
13973
|
+
};
|
|
13974
|
+
Relationships: [];
|
|
13975
|
+
};
|
|
13820
13976
|
print_queue_runners: {
|
|
13821
13977
|
Row: {
|
|
13822
13978
|
actief: boolean;
|
|
@@ -14056,6 +14212,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
14056
14212
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
14057
14213
|
online: boolean;
|
|
14058
14214
|
papierformaat: string;
|
|
14215
|
+
pdf_map: string | null;
|
|
14059
14216
|
poort: number | null;
|
|
14060
14217
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14061
14218
|
systeemnaam: string;
|
|
@@ -14081,6 +14238,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
14081
14238
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
14082
14239
|
online?: boolean;
|
|
14083
14240
|
papierformaat?: string;
|
|
14241
|
+
pdf_map?: string | null;
|
|
14084
14242
|
poort?: number | null;
|
|
14085
14243
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14086
14244
|
systeemnaam?: string;
|
|
@@ -14106,6 +14264,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
14106
14264
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
14107
14265
|
online?: boolean;
|
|
14108
14266
|
papierformaat?: string;
|
|
14267
|
+
pdf_map?: string | null;
|
|
14109
14268
|
poort?: number | null;
|
|
14110
14269
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14111
14270
|
systeemnaam?: string;
|
|
@@ -20362,6 +20521,9 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
20362
20521
|
is_herprint: boolean;
|
|
20363
20522
|
kopieen: number;
|
|
20364
20523
|
layout_id: string | null;
|
|
20524
|
+
lokaal_opgeslagen_op: string | null;
|
|
20525
|
+
lokale_pdf_fout: string | null;
|
|
20526
|
+
lokale_pdf_status: string | null;
|
|
20365
20527
|
opgepakt_op: string | null;
|
|
20366
20528
|
paginas: number;
|
|
20367
20529
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -20370,6 +20532,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
20370
20532
|
pogingen: number;
|
|
20371
20533
|
printer_id: string | null;
|
|
20372
20534
|
render_html: string | null;
|
|
20535
|
+
resultaat_pdf_base64: string | null;
|
|
20373
20536
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20374
20537
|
updated_at: string;
|
|
20375
20538
|
volgende_poging: string | null;
|
|
@@ -20461,6 +20624,53 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
20461
20624
|
isSetofReturn: true;
|
|
20462
20625
|
};
|
|
20463
20626
|
};
|
|
20627
|
+
claim_pdf_print_jobs: {
|
|
20628
|
+
Args: {
|
|
20629
|
+
_max?: number;
|
|
20630
|
+
};
|
|
20631
|
+
Returns: {
|
|
20632
|
+
agent_id: string | null;
|
|
20633
|
+
bron_job_id: string | null;
|
|
20634
|
+
created_at: string;
|
|
20635
|
+
documentnaam: string;
|
|
20636
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
20637
|
+
extern_job_id: string | null;
|
|
20638
|
+
foutmelding: string | null;
|
|
20639
|
+
gebruiker_id: string | null;
|
|
20640
|
+
gebruiker_naam: string;
|
|
20641
|
+
gebruikte_bron: string | null;
|
|
20642
|
+
gebruikte_layout_id: string | null;
|
|
20643
|
+
gestart_op: string | null;
|
|
20644
|
+
herkomst: string | null;
|
|
20645
|
+
id: string;
|
|
20646
|
+
idempotentie_sleutel: string | null;
|
|
20647
|
+
is_herprint: boolean;
|
|
20648
|
+
kopieen: number;
|
|
20649
|
+
layout_id: string | null;
|
|
20650
|
+
lokaal_opgeslagen_op: string | null;
|
|
20651
|
+
lokale_pdf_fout: string | null;
|
|
20652
|
+
lokale_pdf_status: string | null;
|
|
20653
|
+
opgepakt_op: string | null;
|
|
20654
|
+
paginas: number;
|
|
20655
|
+
payload: import("../integrations/supabase/types").Json;
|
|
20656
|
+
pdf_base64: string | null;
|
|
20657
|
+
pdf_url: string | null;
|
|
20658
|
+
pogingen: number;
|
|
20659
|
+
printer_id: string | null;
|
|
20660
|
+
render_html: string | null;
|
|
20661
|
+
resultaat_pdf_base64: string | null;
|
|
20662
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20663
|
+
updated_at: string;
|
|
20664
|
+
volgende_poging: string | null;
|
|
20665
|
+
voltooid_op: string | null;
|
|
20666
|
+
}[];
|
|
20667
|
+
SetofOptions: {
|
|
20668
|
+
from: "*";
|
|
20669
|
+
to: "print_jobs";
|
|
20670
|
+
isOneToOne: false;
|
|
20671
|
+
isSetofReturn: true;
|
|
20672
|
+
};
|
|
20673
|
+
};
|
|
20464
20674
|
claim_print_jobs: {
|
|
20465
20675
|
Args: {
|
|
20466
20676
|
_agent_id: string;
|
|
@@ -20485,6 +20695,9 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
20485
20695
|
is_herprint: boolean;
|
|
20486
20696
|
kopieen: number;
|
|
20487
20697
|
layout_id: string | null;
|
|
20698
|
+
lokaal_opgeslagen_op: string | null;
|
|
20699
|
+
lokale_pdf_fout: string | null;
|
|
20700
|
+
lokale_pdf_status: string | null;
|
|
20488
20701
|
opgepakt_op: string | null;
|
|
20489
20702
|
paginas: number;
|
|
20490
20703
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -20493,6 +20706,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
20493
20706
|
pogingen: number;
|
|
20494
20707
|
printer_id: string | null;
|
|
20495
20708
|
render_html: string | null;
|
|
20709
|
+
resultaat_pdf_base64: string | null;
|
|
20496
20710
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20497
20711
|
updated_at: string;
|
|
20498
20712
|
volgende_poging: string | null;
|
|
@@ -20633,6 +20847,8 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
20633
20847
|
order_id: string;
|
|
20634
20848
|
order_source: string;
|
|
20635
20849
|
pick_date: string;
|
|
20850
|
+
printed_at: string;
|
|
20851
|
+
printed_today: boolean;
|
|
20636
20852
|
status: string;
|
|
20637
20853
|
}[];
|
|
20638
20854
|
};
|
|
@@ -21341,6 +21557,10 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
21341
21557
|
};
|
|
21342
21558
|
Returns: number;
|
|
21343
21559
|
};
|
|
21560
|
+
logistics_cancel_orphan_tasks: {
|
|
21561
|
+
Args: never;
|
|
21562
|
+
Returns: number;
|
|
21563
|
+
};
|
|
21344
21564
|
logistics_capacity_day_check: {
|
|
21345
21565
|
Args: {
|
|
21346
21566
|
p_from?: string;
|
|
@@ -21361,6 +21581,25 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
21361
21581
|
};
|
|
21362
21582
|
Returns: number;
|
|
21363
21583
|
};
|
|
21584
|
+
logistics_cart_index: {
|
|
21585
|
+
Args: {
|
|
21586
|
+
p_from?: string;
|
|
21587
|
+
p_to?: string;
|
|
21588
|
+
};
|
|
21589
|
+
Returns: {
|
|
21590
|
+
cart_id: string;
|
|
21591
|
+
cart_index: number;
|
|
21592
|
+
cart_label: string;
|
|
21593
|
+
is_shared: boolean;
|
|
21594
|
+
order_number: string;
|
|
21595
|
+
order_source: string;
|
|
21596
|
+
order_uuid: string;
|
|
21597
|
+
pick_date: string;
|
|
21598
|
+
printed_at: string;
|
|
21599
|
+
shifted: boolean;
|
|
21600
|
+
task_status: string;
|
|
21601
|
+
}[];
|
|
21602
|
+
};
|
|
21364
21603
|
logistics_check_order_allowed: {
|
|
21365
21604
|
Args: {
|
|
21366
21605
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -21509,6 +21748,17 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
21509
21748
|
isSetofReturn: false;
|
|
21510
21749
|
};
|
|
21511
21750
|
};
|
|
21751
|
+
logistics_consistency_check: {
|
|
21752
|
+
Args: never;
|
|
21753
|
+
Returns: {
|
|
21754
|
+
agenda_carts: number;
|
|
21755
|
+
control_carts: number;
|
|
21756
|
+
ok: boolean;
|
|
21757
|
+
orphan_tasks: number;
|
|
21758
|
+
pick_date: string;
|
|
21759
|
+
raw_carts: number;
|
|
21760
|
+
}[];
|
|
21761
|
+
};
|
|
21512
21762
|
logistics_delay_customer_email: {
|
|
21513
21763
|
Args: {
|
|
21514
21764
|
p_customer: string;
|
|
@@ -21702,6 +21952,25 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
21702
21952
|
};
|
|
21703
21953
|
Returns: number;
|
|
21704
21954
|
};
|
|
21955
|
+
logistics_order_overview: {
|
|
21956
|
+
Args: {
|
|
21957
|
+
p_from?: string;
|
|
21958
|
+
p_to?: string;
|
|
21959
|
+
};
|
|
21960
|
+
Returns: {
|
|
21961
|
+
cart_count: number;
|
|
21962
|
+
customer_name: string;
|
|
21963
|
+
delivery_date: string;
|
|
21964
|
+
order_number: string;
|
|
21965
|
+
order_source: string;
|
|
21966
|
+
order_uuid: string;
|
|
21967
|
+
pick_date: string;
|
|
21968
|
+
plant_count: number;
|
|
21969
|
+
printed_at: string;
|
|
21970
|
+
shifted: boolean;
|
|
21971
|
+
status: string;
|
|
21972
|
+
}[];
|
|
21973
|
+
};
|
|
21705
21974
|
logistics_order_pick_day: {
|
|
21706
21975
|
Args: {
|
|
21707
21976
|
p_order_ref: string;
|
|
@@ -21714,6 +21983,22 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
21714
21983
|
};
|
|
21715
21984
|
Returns: string;
|
|
21716
21985
|
};
|
|
21986
|
+
logistics_pick_agenda: {
|
|
21987
|
+
Args: {
|
|
21988
|
+
p_from?: string;
|
|
21989
|
+
p_to?: string;
|
|
21990
|
+
};
|
|
21991
|
+
Returns: {
|
|
21992
|
+
cart_count: number;
|
|
21993
|
+
in_preparation: number;
|
|
21994
|
+
order_count: number;
|
|
21995
|
+
orders: import("../integrations/supabase/types").Json;
|
|
21996
|
+
pick_date: string;
|
|
21997
|
+
plant_count: number;
|
|
21998
|
+
ready: number;
|
|
21999
|
+
shifted_count: number;
|
|
22000
|
+
}[];
|
|
22001
|
+
};
|
|
21717
22002
|
logistics_pick_email_purpose: {
|
|
21718
22003
|
Args: never;
|
|
21719
22004
|
Returns: string;
|
|
@@ -21873,6 +22158,15 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
21873
22158
|
};
|
|
21874
22159
|
Returns: import("../integrations/supabase/types").Json;
|
|
21875
22160
|
};
|
|
22161
|
+
logistics_resolve_pick_document: {
|
|
22162
|
+
Args: {
|
|
22163
|
+
_is_herprint: boolean;
|
|
22164
|
+
_queue_item_id: string;
|
|
22165
|
+
_session_id: string;
|
|
22166
|
+
_voorbeeld: boolean;
|
|
22167
|
+
};
|
|
22168
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22169
|
+
};
|
|
21876
22170
|
logistics_resolve_settings: {
|
|
21877
22171
|
Args: {
|
|
21878
22172
|
p_config_id: string;
|
|
@@ -22313,6 +22607,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
22313
22607
|
};
|
|
22314
22608
|
pick_enqueue_print_job: {
|
|
22315
22609
|
Args: {
|
|
22610
|
+
_is_herprint?: boolean;
|
|
22316
22611
|
_printer_id?: string;
|
|
22317
22612
|
_queue_item_id: string;
|
|
22318
22613
|
_session_id?: string;
|
|
@@ -22326,6 +22621,13 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
22326
22621
|
};
|
|
22327
22622
|
Returns: import("../integrations/supabase/types").Json;
|
|
22328
22623
|
};
|
|
22624
|
+
pick_preview_job: {
|
|
22625
|
+
Args: {
|
|
22626
|
+
_queue_item_id: string;
|
|
22627
|
+
_station_slug: string;
|
|
22628
|
+
};
|
|
22629
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22630
|
+
};
|
|
22329
22631
|
pick_print_job_status: {
|
|
22330
22632
|
Args: {
|
|
22331
22633
|
_job_id: string;
|
|
@@ -22503,6 +22805,24 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
22503
22805
|
};
|
|
22504
22806
|
Returns: undefined;
|
|
22505
22807
|
};
|
|
22808
|
+
print_preview_toestaan: {
|
|
22809
|
+
Args: {
|
|
22810
|
+
_max?: number;
|
|
22811
|
+
_queue_item_id: string;
|
|
22812
|
+
_station_slug: string;
|
|
22813
|
+
_venster_sec?: number;
|
|
22814
|
+
};
|
|
22815
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22816
|
+
};
|
|
22817
|
+
print_preview_weiger: {
|
|
22818
|
+
Args: {
|
|
22819
|
+
_code: string;
|
|
22820
|
+
_queue_item_id: string;
|
|
22821
|
+
_reden: string;
|
|
22822
|
+
_station_slug: string;
|
|
22823
|
+
};
|
|
22824
|
+
Returns: undefined;
|
|
22825
|
+
};
|
|
22506
22826
|
process_logistics_event: {
|
|
22507
22827
|
Args: {
|
|
22508
22828
|
p_event_id: string;
|
|
@@ -22620,6 +22940,14 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
22620
22940
|
};
|
|
22621
22941
|
Returns: undefined;
|
|
22622
22942
|
};
|
|
22943
|
+
replace_order_carts: {
|
|
22944
|
+
Args: {
|
|
22945
|
+
p_buffer_id: string;
|
|
22946
|
+
p_carts: import("../integrations/supabase/types").Json;
|
|
22947
|
+
p_order_id: string;
|
|
22948
|
+
};
|
|
22949
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22950
|
+
};
|
|
22623
22951
|
reset_floriday_sync_cursor: {
|
|
22624
22952
|
Args: {
|
|
22625
22953
|
p_connection_id: string;
|
|
@@ -22649,6 +22977,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
22649
22977
|
};
|
|
22650
22978
|
Returns: string;
|
|
22651
22979
|
};
|
|
22980
|
+
resolve_print_job_printer_id: {
|
|
22981
|
+
Args: {
|
|
22982
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
22983
|
+
};
|
|
22984
|
+
Returns: string;
|
|
22985
|
+
};
|
|
22652
22986
|
resolve_product_id_for_item: {
|
|
22653
22987
|
Args: {
|
|
22654
22988
|
p_product_name: string;
|
|
@@ -23240,7 +23574,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
23240
23574
|
};
|
|
23241
23575
|
CompositeTypes: { [_ in never]: never; };
|
|
23242
23576
|
}, {
|
|
23243
|
-
PostgrestVersion: "14.
|
|
23577
|
+
PostgrestVersion: "14.5";
|
|
23244
23578
|
}>;
|
|
23245
23579
|
userId: string;
|
|
23246
23580
|
claims: import("@supabase/auth-js").User;
|
|
@@ -26099,6 +26433,84 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
26099
26433
|
};
|
|
26100
26434
|
Relationships: [];
|
|
26101
26435
|
};
|
|
26436
|
+
delivery_notes: {
|
|
26437
|
+
Row: {
|
|
26438
|
+
byte_size: number | null;
|
|
26439
|
+
connection_id: string | null;
|
|
26440
|
+
content_type: string;
|
|
26441
|
+
created_at: string;
|
|
26442
|
+
error_message: string | null;
|
|
26443
|
+
fetched_at: string | null;
|
|
26444
|
+
fulfillment_order_id: string | null;
|
|
26445
|
+
http_status: number | null;
|
|
26446
|
+
id: string;
|
|
26447
|
+
label_code: string | null;
|
|
26448
|
+
letter: string | null;
|
|
26449
|
+
load_carrier_index: number | null;
|
|
26450
|
+
load_carrier_type: string | null;
|
|
26451
|
+
order_id: string | null;
|
|
26452
|
+
order_number: string | null;
|
|
26453
|
+
packages: number | null;
|
|
26454
|
+
source: string;
|
|
26455
|
+
status: string;
|
|
26456
|
+
storage_bucket: string;
|
|
26457
|
+
storage_path: string | null;
|
|
26458
|
+
updated_at: string;
|
|
26459
|
+
};
|
|
26460
|
+
Insert: {
|
|
26461
|
+
byte_size?: number | null;
|
|
26462
|
+
connection_id?: string | null;
|
|
26463
|
+
content_type?: string;
|
|
26464
|
+
created_at?: string;
|
|
26465
|
+
error_message?: string | null;
|
|
26466
|
+
fetched_at?: string | null;
|
|
26467
|
+
fulfillment_order_id?: string | null;
|
|
26468
|
+
http_status?: number | null;
|
|
26469
|
+
id?: string;
|
|
26470
|
+
label_code?: string | null;
|
|
26471
|
+
letter?: string | null;
|
|
26472
|
+
load_carrier_index?: number | null;
|
|
26473
|
+
load_carrier_type?: string | null;
|
|
26474
|
+
order_id?: string | null;
|
|
26475
|
+
order_number?: string | null;
|
|
26476
|
+
packages?: number | null;
|
|
26477
|
+
source?: string;
|
|
26478
|
+
status?: string;
|
|
26479
|
+
storage_bucket?: string;
|
|
26480
|
+
storage_path?: string | null;
|
|
26481
|
+
updated_at?: string;
|
|
26482
|
+
};
|
|
26483
|
+
Update: {
|
|
26484
|
+
byte_size?: number | null;
|
|
26485
|
+
connection_id?: string | null;
|
|
26486
|
+
content_type?: string;
|
|
26487
|
+
created_at?: string;
|
|
26488
|
+
error_message?: string | null;
|
|
26489
|
+
fetched_at?: string | null;
|
|
26490
|
+
fulfillment_order_id?: string | null;
|
|
26491
|
+
http_status?: number | null;
|
|
26492
|
+
id?: string;
|
|
26493
|
+
label_code?: string | null;
|
|
26494
|
+
letter?: string | null;
|
|
26495
|
+
load_carrier_index?: number | null;
|
|
26496
|
+
load_carrier_type?: string | null;
|
|
26497
|
+
order_id?: string | null;
|
|
26498
|
+
order_number?: string | null;
|
|
26499
|
+
packages?: number | null;
|
|
26500
|
+
source?: string;
|
|
26501
|
+
status?: string;
|
|
26502
|
+
storage_bucket?: string;
|
|
26503
|
+
storage_path?: string | null;
|
|
26504
|
+
updated_at?: string;
|
|
26505
|
+
};
|
|
26506
|
+
Relationships: [{
|
|
26507
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
26508
|
+
columns: ["order_id"];
|
|
26509
|
+
isOneToOne: false;
|
|
26510
|
+
referencedRelation: "orders";
|
|
26511
|
+
referencedColumns: ["id"];
|
|
26512
|
+
}];
|
|
26513
|
+
};
|
|
26102
26514
|
document_bronregels: {
|
|
26103
26515
|
Row: {
|
|
26104
26516
|
bron: string;
|
|
@@ -36824,6 +37236,39 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
36824
37236
|
};
|
|
36825
37237
|
Relationships: [];
|
|
36826
37238
|
};
|
|
37239
|
+
print_dedupe_events: {
|
|
37240
|
+
Row: {
|
|
37241
|
+
bestaande_job_id: string | null;
|
|
37242
|
+
created_at: string;
|
|
37243
|
+
detail: string | null;
|
|
37244
|
+
documentnaam: string | null;
|
|
37245
|
+
documenttype: string | null;
|
|
37246
|
+
id: string;
|
|
37247
|
+
idempotentie_sleutel: string;
|
|
37248
|
+
reden: string;
|
|
37249
|
+
};
|
|
37250
|
+
Insert: {
|
|
37251
|
+
bestaande_job_id?: string | null;
|
|
37252
|
+
created_at?: string;
|
|
37253
|
+
detail?: string | null;
|
|
37254
|
+
documentnaam?: string | null;
|
|
37255
|
+
documenttype?: string | null;
|
|
37256
|
+
id?: string;
|
|
37257
|
+
idempotentie_sleutel: string;
|
|
37258
|
+
reden: string;
|
|
37259
|
+
};
|
|
37260
|
+
Update: {
|
|
37261
|
+
bestaande_job_id?: string | null;
|
|
37262
|
+
created_at?: string;
|
|
37263
|
+
detail?: string | null;
|
|
37264
|
+
documentnaam?: string | null;
|
|
37265
|
+
documenttype?: string | null;
|
|
37266
|
+
id?: string;
|
|
37267
|
+
idempotentie_sleutel?: string;
|
|
37268
|
+
reden?: string;
|
|
37269
|
+
};
|
|
37270
|
+
Relationships: [];
|
|
37271
|
+
};
|
|
36827
37272
|
print_job_logs: {
|
|
36828
37273
|
Row: {
|
|
36829
37274
|
created_at: string;
|
|
@@ -36874,6 +37319,9 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
36874
37319
|
is_herprint: boolean;
|
|
36875
37320
|
kopieen: number;
|
|
36876
37321
|
layout_id: string | null;
|
|
37322
|
+
lokaal_opgeslagen_op: string | null;
|
|
37323
|
+
lokale_pdf_fout: string | null;
|
|
37324
|
+
lokale_pdf_status: string | null;
|
|
36877
37325
|
opgepakt_op: string | null;
|
|
36878
37326
|
paginas: number;
|
|
36879
37327
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -36882,6 +37330,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
36882
37330
|
pogingen: number;
|
|
36883
37331
|
printer_id: string | null;
|
|
36884
37332
|
render_html: string | null;
|
|
37333
|
+
resultaat_pdf_base64: string | null;
|
|
36885
37334
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
36886
37335
|
updated_at: string;
|
|
36887
37336
|
volgende_poging: string | null;
|
|
@@ -36906,6 +37355,9 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
36906
37355
|
is_herprint?: boolean;
|
|
36907
37356
|
kopieen?: number;
|
|
36908
37357
|
layout_id?: string | null;
|
|
37358
|
+
lokaal_opgeslagen_op?: string | null;
|
|
37359
|
+
lokale_pdf_fout?: string | null;
|
|
37360
|
+
lokale_pdf_status?: string | null;
|
|
36909
37361
|
opgepakt_op?: string | null;
|
|
36910
37362
|
paginas?: number;
|
|
36911
37363
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -36914,6 +37366,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
36914
37366
|
pogingen?: number;
|
|
36915
37367
|
printer_id?: string | null;
|
|
36916
37368
|
render_html?: string | null;
|
|
37369
|
+
resultaat_pdf_base64?: string | null;
|
|
36917
37370
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
36918
37371
|
updated_at?: string;
|
|
36919
37372
|
volgende_poging?: string | null;
|
|
@@ -36938,6 +37391,9 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
36938
37391
|
is_herprint?: boolean;
|
|
36939
37392
|
kopieen?: number;
|
|
36940
37393
|
layout_id?: string | null;
|
|
37394
|
+
lokaal_opgeslagen_op?: string | null;
|
|
37395
|
+
lokale_pdf_fout?: string | null;
|
|
37396
|
+
lokale_pdf_status?: string | null;
|
|
36941
37397
|
opgepakt_op?: string | null;
|
|
36942
37398
|
paginas?: number;
|
|
36943
37399
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -36946,6 +37402,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
36946
37402
|
pogingen?: number;
|
|
36947
37403
|
printer_id?: string | null;
|
|
36948
37404
|
render_html?: string | null;
|
|
37405
|
+
resultaat_pdf_base64?: string | null;
|
|
36949
37406
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
36950
37407
|
updated_at?: string;
|
|
36951
37408
|
volgende_poging?: string | null;
|
|
@@ -37064,6 +37521,39 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
37064
37521
|
};
|
|
37065
37522
|
Relationships: [];
|
|
37066
37523
|
};
|
|
37524
|
+
print_preview_events: {
|
|
37525
|
+
Row: {
|
|
37526
|
+
code: string | null;
|
|
37527
|
+
created_at: string;
|
|
37528
|
+
detail: import("../integrations/supabase/types").Json;
|
|
37529
|
+
id: string;
|
|
37530
|
+
queue_item_id: string | null;
|
|
37531
|
+
reden: string | null;
|
|
37532
|
+
station_slug: string | null;
|
|
37533
|
+
uitkomst: string;
|
|
37534
|
+
};
|
|
37535
|
+
Insert: {
|
|
37536
|
+
code?: string | null;
|
|
37537
|
+
created_at?: string;
|
|
37538
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
37539
|
+
id?: string;
|
|
37540
|
+
queue_item_id?: string | null;
|
|
37541
|
+
reden?: string | null;
|
|
37542
|
+
station_slug?: string | null;
|
|
37543
|
+
uitkomst?: string;
|
|
37544
|
+
};
|
|
37545
|
+
Update: {
|
|
37546
|
+
code?: string | null;
|
|
37547
|
+
created_at?: string;
|
|
37548
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
37549
|
+
id?: string;
|
|
37550
|
+
queue_item_id?: string | null;
|
|
37551
|
+
reden?: string | null;
|
|
37552
|
+
station_slug?: string | null;
|
|
37553
|
+
uitkomst?: string;
|
|
37554
|
+
};
|
|
37555
|
+
Relationships: [];
|
|
37556
|
+
};
|
|
37067
37557
|
print_queue_runners: {
|
|
37068
37558
|
Row: {
|
|
37069
37559
|
actief: boolean;
|
|
@@ -37303,6 +37793,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
37303
37793
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
37304
37794
|
online: boolean;
|
|
37305
37795
|
papierformaat: string;
|
|
37796
|
+
pdf_map: string | null;
|
|
37306
37797
|
poort: number | null;
|
|
37307
37798
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37308
37799
|
systeemnaam: string;
|
|
@@ -37328,6 +37819,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
37328
37819
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
37329
37820
|
online?: boolean;
|
|
37330
37821
|
papierformaat?: string;
|
|
37822
|
+
pdf_map?: string | null;
|
|
37331
37823
|
poort?: number | null;
|
|
37332
37824
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37333
37825
|
systeemnaam?: string;
|
|
@@ -37353,6 +37845,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
37353
37845
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
37354
37846
|
online?: boolean;
|
|
37355
37847
|
papierformaat?: string;
|
|
37848
|
+
pdf_map?: string | null;
|
|
37356
37849
|
poort?: number | null;
|
|
37357
37850
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37358
37851
|
systeemnaam?: string;
|
|
@@ -43609,6 +44102,9 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
43609
44102
|
is_herprint: boolean;
|
|
43610
44103
|
kopieen: number;
|
|
43611
44104
|
layout_id: string | null;
|
|
44105
|
+
lokaal_opgeslagen_op: string | null;
|
|
44106
|
+
lokale_pdf_fout: string | null;
|
|
44107
|
+
lokale_pdf_status: string | null;
|
|
43612
44108
|
opgepakt_op: string | null;
|
|
43613
44109
|
paginas: number;
|
|
43614
44110
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -43617,6 +44113,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
43617
44113
|
pogingen: number;
|
|
43618
44114
|
printer_id: string | null;
|
|
43619
44115
|
render_html: string | null;
|
|
44116
|
+
resultaat_pdf_base64: string | null;
|
|
43620
44117
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
43621
44118
|
updated_at: string;
|
|
43622
44119
|
volgende_poging: string | null;
|
|
@@ -43708,6 +44205,53 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
43708
44205
|
isSetofReturn: true;
|
|
43709
44206
|
};
|
|
43710
44207
|
};
|
|
44208
|
+
claim_pdf_print_jobs: {
|
|
44209
|
+
Args: {
|
|
44210
|
+
_max?: number;
|
|
44211
|
+
};
|
|
44212
|
+
Returns: {
|
|
44213
|
+
agent_id: string | null;
|
|
44214
|
+
bron_job_id: string | null;
|
|
44215
|
+
created_at: string;
|
|
44216
|
+
documentnaam: string;
|
|
44217
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
44218
|
+
extern_job_id: string | null;
|
|
44219
|
+
foutmelding: string | null;
|
|
44220
|
+
gebruiker_id: string | null;
|
|
44221
|
+
gebruiker_naam: string;
|
|
44222
|
+
gebruikte_bron: string | null;
|
|
44223
|
+
gebruikte_layout_id: string | null;
|
|
44224
|
+
gestart_op: string | null;
|
|
44225
|
+
herkomst: string | null;
|
|
44226
|
+
id: string;
|
|
44227
|
+
idempotentie_sleutel: string | null;
|
|
44228
|
+
is_herprint: boolean;
|
|
44229
|
+
kopieen: number;
|
|
44230
|
+
layout_id: string | null;
|
|
44231
|
+
lokaal_opgeslagen_op: string | null;
|
|
44232
|
+
lokale_pdf_fout: string | null;
|
|
44233
|
+
lokale_pdf_status: string | null;
|
|
44234
|
+
opgepakt_op: string | null;
|
|
44235
|
+
paginas: number;
|
|
44236
|
+
payload: import("../integrations/supabase/types").Json;
|
|
44237
|
+
pdf_base64: string | null;
|
|
44238
|
+
pdf_url: string | null;
|
|
44239
|
+
pogingen: number;
|
|
44240
|
+
printer_id: string | null;
|
|
44241
|
+
render_html: string | null;
|
|
44242
|
+
resultaat_pdf_base64: string | null;
|
|
44243
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
44244
|
+
updated_at: string;
|
|
44245
|
+
volgende_poging: string | null;
|
|
44246
|
+
voltooid_op: string | null;
|
|
44247
|
+
}[];
|
|
44248
|
+
SetofOptions: {
|
|
44249
|
+
from: "*";
|
|
44250
|
+
to: "print_jobs";
|
|
44251
|
+
isOneToOne: false;
|
|
44252
|
+
isSetofReturn: true;
|
|
44253
|
+
};
|
|
44254
|
+
};
|
|
43711
44255
|
claim_print_jobs: {
|
|
43712
44256
|
Args: {
|
|
43713
44257
|
_agent_id: string;
|
|
@@ -43732,6 +44276,9 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
43732
44276
|
is_herprint: boolean;
|
|
43733
44277
|
kopieen: number;
|
|
43734
44278
|
layout_id: string | null;
|
|
44279
|
+
lokaal_opgeslagen_op: string | null;
|
|
44280
|
+
lokale_pdf_fout: string | null;
|
|
44281
|
+
lokale_pdf_status: string | null;
|
|
43735
44282
|
opgepakt_op: string | null;
|
|
43736
44283
|
paginas: number;
|
|
43737
44284
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -43740,6 +44287,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
43740
44287
|
pogingen: number;
|
|
43741
44288
|
printer_id: string | null;
|
|
43742
44289
|
render_html: string | null;
|
|
44290
|
+
resultaat_pdf_base64: string | null;
|
|
43743
44291
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
43744
44292
|
updated_at: string;
|
|
43745
44293
|
volgende_poging: string | null;
|
|
@@ -43880,6 +44428,8 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
43880
44428
|
order_id: string;
|
|
43881
44429
|
order_source: string;
|
|
43882
44430
|
pick_date: string;
|
|
44431
|
+
printed_at: string;
|
|
44432
|
+
printed_today: boolean;
|
|
43883
44433
|
status: string;
|
|
43884
44434
|
}[];
|
|
43885
44435
|
};
|
|
@@ -44588,6 +45138,10 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
44588
45138
|
};
|
|
44589
45139
|
Returns: number;
|
|
44590
45140
|
};
|
|
45141
|
+
logistics_cancel_orphan_tasks: {
|
|
45142
|
+
Args: never;
|
|
45143
|
+
Returns: number;
|
|
45144
|
+
};
|
|
44591
45145
|
logistics_capacity_day_check: {
|
|
44592
45146
|
Args: {
|
|
44593
45147
|
p_from?: string;
|
|
@@ -44608,6 +45162,25 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
44608
45162
|
};
|
|
44609
45163
|
Returns: number;
|
|
44610
45164
|
};
|
|
45165
|
+
logistics_cart_index: {
|
|
45166
|
+
Args: {
|
|
45167
|
+
p_from?: string;
|
|
45168
|
+
p_to?: string;
|
|
45169
|
+
};
|
|
45170
|
+
Returns: {
|
|
45171
|
+
cart_id: string;
|
|
45172
|
+
cart_index: number;
|
|
45173
|
+
cart_label: string;
|
|
45174
|
+
is_shared: boolean;
|
|
45175
|
+
order_number: string;
|
|
45176
|
+
order_source: string;
|
|
45177
|
+
order_uuid: string;
|
|
45178
|
+
pick_date: string;
|
|
45179
|
+
printed_at: string;
|
|
45180
|
+
shifted: boolean;
|
|
45181
|
+
task_status: string;
|
|
45182
|
+
}[];
|
|
45183
|
+
};
|
|
44611
45184
|
logistics_check_order_allowed: {
|
|
44612
45185
|
Args: {
|
|
44613
45186
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -44756,6 +45329,17 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
44756
45329
|
isSetofReturn: false;
|
|
44757
45330
|
};
|
|
44758
45331
|
};
|
|
45332
|
+
logistics_consistency_check: {
|
|
45333
|
+
Args: never;
|
|
45334
|
+
Returns: {
|
|
45335
|
+
agenda_carts: number;
|
|
45336
|
+
control_carts: number;
|
|
45337
|
+
ok: boolean;
|
|
45338
|
+
orphan_tasks: number;
|
|
45339
|
+
pick_date: string;
|
|
45340
|
+
raw_carts: number;
|
|
45341
|
+
}[];
|
|
45342
|
+
};
|
|
44759
45343
|
logistics_delay_customer_email: {
|
|
44760
45344
|
Args: {
|
|
44761
45345
|
p_customer: string;
|
|
@@ -44949,6 +45533,25 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
44949
45533
|
};
|
|
44950
45534
|
Returns: number;
|
|
44951
45535
|
};
|
|
45536
|
+
logistics_order_overview: {
|
|
45537
|
+
Args: {
|
|
45538
|
+
p_from?: string;
|
|
45539
|
+
p_to?: string;
|
|
45540
|
+
};
|
|
45541
|
+
Returns: {
|
|
45542
|
+
cart_count: number;
|
|
45543
|
+
customer_name: string;
|
|
45544
|
+
delivery_date: string;
|
|
45545
|
+
order_number: string;
|
|
45546
|
+
order_source: string;
|
|
45547
|
+
order_uuid: string;
|
|
45548
|
+
pick_date: string;
|
|
45549
|
+
plant_count: number;
|
|
45550
|
+
printed_at: string;
|
|
45551
|
+
shifted: boolean;
|
|
45552
|
+
status: string;
|
|
45553
|
+
}[];
|
|
45554
|
+
};
|
|
44952
45555
|
logistics_order_pick_day: {
|
|
44953
45556
|
Args: {
|
|
44954
45557
|
p_order_ref: string;
|
|
@@ -44961,6 +45564,22 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
44961
45564
|
};
|
|
44962
45565
|
Returns: string;
|
|
44963
45566
|
};
|
|
45567
|
+
logistics_pick_agenda: {
|
|
45568
|
+
Args: {
|
|
45569
|
+
p_from?: string;
|
|
45570
|
+
p_to?: string;
|
|
45571
|
+
};
|
|
45572
|
+
Returns: {
|
|
45573
|
+
cart_count: number;
|
|
45574
|
+
in_preparation: number;
|
|
45575
|
+
order_count: number;
|
|
45576
|
+
orders: import("../integrations/supabase/types").Json;
|
|
45577
|
+
pick_date: string;
|
|
45578
|
+
plant_count: number;
|
|
45579
|
+
ready: number;
|
|
45580
|
+
shifted_count: number;
|
|
45581
|
+
}[];
|
|
45582
|
+
};
|
|
44964
45583
|
logistics_pick_email_purpose: {
|
|
44965
45584
|
Args: never;
|
|
44966
45585
|
Returns: string;
|
|
@@ -45120,6 +45739,15 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
45120
45739
|
};
|
|
45121
45740
|
Returns: import("../integrations/supabase/types").Json;
|
|
45122
45741
|
};
|
|
45742
|
+
logistics_resolve_pick_document: {
|
|
45743
|
+
Args: {
|
|
45744
|
+
_is_herprint: boolean;
|
|
45745
|
+
_queue_item_id: string;
|
|
45746
|
+
_session_id: string;
|
|
45747
|
+
_voorbeeld: boolean;
|
|
45748
|
+
};
|
|
45749
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
45750
|
+
};
|
|
45123
45751
|
logistics_resolve_settings: {
|
|
45124
45752
|
Args: {
|
|
45125
45753
|
p_config_id: string;
|
|
@@ -45560,6 +46188,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
45560
46188
|
};
|
|
45561
46189
|
pick_enqueue_print_job: {
|
|
45562
46190
|
Args: {
|
|
46191
|
+
_is_herprint?: boolean;
|
|
45563
46192
|
_printer_id?: string;
|
|
45564
46193
|
_queue_item_id: string;
|
|
45565
46194
|
_session_id?: string;
|
|
@@ -45573,6 +46202,13 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
45573
46202
|
};
|
|
45574
46203
|
Returns: import("../integrations/supabase/types").Json;
|
|
45575
46204
|
};
|
|
46205
|
+
pick_preview_job: {
|
|
46206
|
+
Args: {
|
|
46207
|
+
_queue_item_id: string;
|
|
46208
|
+
_station_slug: string;
|
|
46209
|
+
};
|
|
46210
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
46211
|
+
};
|
|
45576
46212
|
pick_print_job_status: {
|
|
45577
46213
|
Args: {
|
|
45578
46214
|
_job_id: string;
|
|
@@ -45750,6 +46386,24 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
45750
46386
|
};
|
|
45751
46387
|
Returns: undefined;
|
|
45752
46388
|
};
|
|
46389
|
+
print_preview_toestaan: {
|
|
46390
|
+
Args: {
|
|
46391
|
+
_max?: number;
|
|
46392
|
+
_queue_item_id: string;
|
|
46393
|
+
_station_slug: string;
|
|
46394
|
+
_venster_sec?: number;
|
|
46395
|
+
};
|
|
46396
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
46397
|
+
};
|
|
46398
|
+
print_preview_weiger: {
|
|
46399
|
+
Args: {
|
|
46400
|
+
_code: string;
|
|
46401
|
+
_queue_item_id: string;
|
|
46402
|
+
_reden: string;
|
|
46403
|
+
_station_slug: string;
|
|
46404
|
+
};
|
|
46405
|
+
Returns: undefined;
|
|
46406
|
+
};
|
|
45753
46407
|
process_logistics_event: {
|
|
45754
46408
|
Args: {
|
|
45755
46409
|
p_event_id: string;
|
|
@@ -45867,6 +46521,14 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
45867
46521
|
};
|
|
45868
46522
|
Returns: undefined;
|
|
45869
46523
|
};
|
|
46524
|
+
replace_order_carts: {
|
|
46525
|
+
Args: {
|
|
46526
|
+
p_buffer_id: string;
|
|
46527
|
+
p_carts: import("../integrations/supabase/types").Json;
|
|
46528
|
+
p_order_id: string;
|
|
46529
|
+
};
|
|
46530
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
46531
|
+
};
|
|
45870
46532
|
reset_floriday_sync_cursor: {
|
|
45871
46533
|
Args: {
|
|
45872
46534
|
p_connection_id: string;
|
|
@@ -45896,6 +46558,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
45896
46558
|
};
|
|
45897
46559
|
Returns: string;
|
|
45898
46560
|
};
|
|
46561
|
+
resolve_print_job_printer_id: {
|
|
46562
|
+
Args: {
|
|
46563
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
46564
|
+
};
|
|
46565
|
+
Returns: string;
|
|
46566
|
+
};
|
|
45899
46567
|
resolve_product_id_for_item: {
|
|
45900
46568
|
Args: {
|
|
45901
46569
|
p_product_name: string;
|
|
@@ -46487,7 +47155,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
46487
47155
|
};
|
|
46488
47156
|
CompositeTypes: { [_ in never]: never; };
|
|
46489
47157
|
}, {
|
|
46490
|
-
PostgrestVersion: "14.
|
|
47158
|
+
PostgrestVersion: "14.5";
|
|
46491
47159
|
}>;
|
|
46492
47160
|
userId: string;
|
|
46493
47161
|
claims: import("@supabase/auth-js").User;
|
|
@@ -49379,6 +50047,84 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
49379
50047
|
};
|
|
49380
50048
|
Relationships: [];
|
|
49381
50049
|
};
|
|
50050
|
+
delivery_notes: {
|
|
50051
|
+
Row: {
|
|
50052
|
+
byte_size: number | null;
|
|
50053
|
+
connection_id: string | null;
|
|
50054
|
+
content_type: string;
|
|
50055
|
+
created_at: string;
|
|
50056
|
+
error_message: string | null;
|
|
50057
|
+
fetched_at: string | null;
|
|
50058
|
+
fulfillment_order_id: string | null;
|
|
50059
|
+
http_status: number | null;
|
|
50060
|
+
id: string;
|
|
50061
|
+
label_code: string | null;
|
|
50062
|
+
letter: string | null;
|
|
50063
|
+
load_carrier_index: number | null;
|
|
50064
|
+
load_carrier_type: string | null;
|
|
50065
|
+
order_id: string | null;
|
|
50066
|
+
order_number: string | null;
|
|
50067
|
+
packages: number | null;
|
|
50068
|
+
source: string;
|
|
50069
|
+
status: string;
|
|
50070
|
+
storage_bucket: string;
|
|
50071
|
+
storage_path: string | null;
|
|
50072
|
+
updated_at: string;
|
|
50073
|
+
};
|
|
50074
|
+
Insert: {
|
|
50075
|
+
byte_size?: number | null;
|
|
50076
|
+
connection_id?: string | null;
|
|
50077
|
+
content_type?: string;
|
|
50078
|
+
created_at?: string;
|
|
50079
|
+
error_message?: string | null;
|
|
50080
|
+
fetched_at?: string | null;
|
|
50081
|
+
fulfillment_order_id?: string | null;
|
|
50082
|
+
http_status?: number | null;
|
|
50083
|
+
id?: string;
|
|
50084
|
+
label_code?: string | null;
|
|
50085
|
+
letter?: string | null;
|
|
50086
|
+
load_carrier_index?: number | null;
|
|
50087
|
+
load_carrier_type?: string | null;
|
|
50088
|
+
order_id?: string | null;
|
|
50089
|
+
order_number?: string | null;
|
|
50090
|
+
packages?: number | null;
|
|
50091
|
+
source?: string;
|
|
50092
|
+
status?: string;
|
|
50093
|
+
storage_bucket?: string;
|
|
50094
|
+
storage_path?: string | null;
|
|
50095
|
+
updated_at?: string;
|
|
50096
|
+
};
|
|
50097
|
+
Update: {
|
|
50098
|
+
byte_size?: number | null;
|
|
50099
|
+
connection_id?: string | null;
|
|
50100
|
+
content_type?: string;
|
|
50101
|
+
created_at?: string;
|
|
50102
|
+
error_message?: string | null;
|
|
50103
|
+
fetched_at?: string | null;
|
|
50104
|
+
fulfillment_order_id?: string | null;
|
|
50105
|
+
http_status?: number | null;
|
|
50106
|
+
id?: string;
|
|
50107
|
+
label_code?: string | null;
|
|
50108
|
+
letter?: string | null;
|
|
50109
|
+
load_carrier_index?: number | null;
|
|
50110
|
+
load_carrier_type?: string | null;
|
|
50111
|
+
order_id?: string | null;
|
|
50112
|
+
order_number?: string | null;
|
|
50113
|
+
packages?: number | null;
|
|
50114
|
+
source?: string;
|
|
50115
|
+
status?: string;
|
|
50116
|
+
storage_bucket?: string;
|
|
50117
|
+
storage_path?: string | null;
|
|
50118
|
+
updated_at?: string;
|
|
50119
|
+
};
|
|
50120
|
+
Relationships: [{
|
|
50121
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
50122
|
+
columns: ["order_id"];
|
|
50123
|
+
isOneToOne: false;
|
|
50124
|
+
referencedRelation: "orders";
|
|
50125
|
+
referencedColumns: ["id"];
|
|
50126
|
+
}];
|
|
50127
|
+
};
|
|
49382
50128
|
document_bronregels: {
|
|
49383
50129
|
Row: {
|
|
49384
50130
|
bron: string;
|
|
@@ -60104,6 +60850,39 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
60104
60850
|
};
|
|
60105
60851
|
Relationships: [];
|
|
60106
60852
|
};
|
|
60853
|
+
print_dedupe_events: {
|
|
60854
|
+
Row: {
|
|
60855
|
+
bestaande_job_id: string | null;
|
|
60856
|
+
created_at: string;
|
|
60857
|
+
detail: string | null;
|
|
60858
|
+
documentnaam: string | null;
|
|
60859
|
+
documenttype: string | null;
|
|
60860
|
+
id: string;
|
|
60861
|
+
idempotentie_sleutel: string;
|
|
60862
|
+
reden: string;
|
|
60863
|
+
};
|
|
60864
|
+
Insert: {
|
|
60865
|
+
bestaande_job_id?: string | null;
|
|
60866
|
+
created_at?: string;
|
|
60867
|
+
detail?: string | null;
|
|
60868
|
+
documentnaam?: string | null;
|
|
60869
|
+
documenttype?: string | null;
|
|
60870
|
+
id?: string;
|
|
60871
|
+
idempotentie_sleutel: string;
|
|
60872
|
+
reden: string;
|
|
60873
|
+
};
|
|
60874
|
+
Update: {
|
|
60875
|
+
bestaande_job_id?: string | null;
|
|
60876
|
+
created_at?: string;
|
|
60877
|
+
detail?: string | null;
|
|
60878
|
+
documentnaam?: string | null;
|
|
60879
|
+
documenttype?: string | null;
|
|
60880
|
+
id?: string;
|
|
60881
|
+
idempotentie_sleutel?: string;
|
|
60882
|
+
reden?: string;
|
|
60883
|
+
};
|
|
60884
|
+
Relationships: [];
|
|
60885
|
+
};
|
|
60107
60886
|
print_job_logs: {
|
|
60108
60887
|
Row: {
|
|
60109
60888
|
created_at: string;
|
|
@@ -60154,6 +60933,9 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
60154
60933
|
is_herprint: boolean;
|
|
60155
60934
|
kopieen: number;
|
|
60156
60935
|
layout_id: string | null;
|
|
60936
|
+
lokaal_opgeslagen_op: string | null;
|
|
60937
|
+
lokale_pdf_fout: string | null;
|
|
60938
|
+
lokale_pdf_status: string | null;
|
|
60157
60939
|
opgepakt_op: string | null;
|
|
60158
60940
|
paginas: number;
|
|
60159
60941
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -60162,6 +60944,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
60162
60944
|
pogingen: number;
|
|
60163
60945
|
printer_id: string | null;
|
|
60164
60946
|
render_html: string | null;
|
|
60947
|
+
resultaat_pdf_base64: string | null;
|
|
60165
60948
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
60166
60949
|
updated_at: string;
|
|
60167
60950
|
volgende_poging: string | null;
|
|
@@ -60186,6 +60969,9 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
60186
60969
|
is_herprint?: boolean;
|
|
60187
60970
|
kopieen?: number;
|
|
60188
60971
|
layout_id?: string | null;
|
|
60972
|
+
lokaal_opgeslagen_op?: string | null;
|
|
60973
|
+
lokale_pdf_fout?: string | null;
|
|
60974
|
+
lokale_pdf_status?: string | null;
|
|
60189
60975
|
opgepakt_op?: string | null;
|
|
60190
60976
|
paginas?: number;
|
|
60191
60977
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -60194,6 +60980,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
60194
60980
|
pogingen?: number;
|
|
60195
60981
|
printer_id?: string | null;
|
|
60196
60982
|
render_html?: string | null;
|
|
60983
|
+
resultaat_pdf_base64?: string | null;
|
|
60197
60984
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
60198
60985
|
updated_at?: string;
|
|
60199
60986
|
volgende_poging?: string | null;
|
|
@@ -60218,6 +61005,9 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
60218
61005
|
is_herprint?: boolean;
|
|
60219
61006
|
kopieen?: number;
|
|
60220
61007
|
layout_id?: string | null;
|
|
61008
|
+
lokaal_opgeslagen_op?: string | null;
|
|
61009
|
+
lokale_pdf_fout?: string | null;
|
|
61010
|
+
lokale_pdf_status?: string | null;
|
|
60221
61011
|
opgepakt_op?: string | null;
|
|
60222
61012
|
paginas?: number;
|
|
60223
61013
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -60226,6 +61016,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
60226
61016
|
pogingen?: number;
|
|
60227
61017
|
printer_id?: string | null;
|
|
60228
61018
|
render_html?: string | null;
|
|
61019
|
+
resultaat_pdf_base64?: string | null;
|
|
60229
61020
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
60230
61021
|
updated_at?: string;
|
|
60231
61022
|
volgende_poging?: string | null;
|
|
@@ -60344,6 +61135,39 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
60344
61135
|
};
|
|
60345
61136
|
Relationships: [];
|
|
60346
61137
|
};
|
|
61138
|
+
print_preview_events: {
|
|
61139
|
+
Row: {
|
|
61140
|
+
code: string | null;
|
|
61141
|
+
created_at: string;
|
|
61142
|
+
detail: import("../integrations/supabase/types").Json;
|
|
61143
|
+
id: string;
|
|
61144
|
+
queue_item_id: string | null;
|
|
61145
|
+
reden: string | null;
|
|
61146
|
+
station_slug: string | null;
|
|
61147
|
+
uitkomst: string;
|
|
61148
|
+
};
|
|
61149
|
+
Insert: {
|
|
61150
|
+
code?: string | null;
|
|
61151
|
+
created_at?: string;
|
|
61152
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
61153
|
+
id?: string;
|
|
61154
|
+
queue_item_id?: string | null;
|
|
61155
|
+
reden?: string | null;
|
|
61156
|
+
station_slug?: string | null;
|
|
61157
|
+
uitkomst?: string;
|
|
61158
|
+
};
|
|
61159
|
+
Update: {
|
|
61160
|
+
code?: string | null;
|
|
61161
|
+
created_at?: string;
|
|
61162
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
61163
|
+
id?: string;
|
|
61164
|
+
queue_item_id?: string | null;
|
|
61165
|
+
reden?: string | null;
|
|
61166
|
+
station_slug?: string | null;
|
|
61167
|
+
uitkomst?: string;
|
|
61168
|
+
};
|
|
61169
|
+
Relationships: [];
|
|
61170
|
+
};
|
|
60347
61171
|
print_queue_runners: {
|
|
60348
61172
|
Row: {
|
|
60349
61173
|
actief: boolean;
|
|
@@ -60583,6 +61407,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
60583
61407
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
60584
61408
|
online: boolean;
|
|
60585
61409
|
papierformaat: string;
|
|
61410
|
+
pdf_map: string | null;
|
|
60586
61411
|
poort: number | null;
|
|
60587
61412
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
60588
61413
|
systeemnaam: string;
|
|
@@ -60608,6 +61433,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
60608
61433
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
60609
61434
|
online?: boolean;
|
|
60610
61435
|
papierformaat?: string;
|
|
61436
|
+
pdf_map?: string | null;
|
|
60611
61437
|
poort?: number | null;
|
|
60612
61438
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
60613
61439
|
systeemnaam?: string;
|
|
@@ -60633,6 +61459,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
60633
61459
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
60634
61460
|
online?: boolean;
|
|
60635
61461
|
papierformaat?: string;
|
|
61462
|
+
pdf_map?: string | null;
|
|
60636
61463
|
poort?: number | null;
|
|
60637
61464
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
60638
61465
|
systeemnaam?: string;
|
|
@@ -66889,6 +67716,9 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
66889
67716
|
is_herprint: boolean;
|
|
66890
67717
|
kopieen: number;
|
|
66891
67718
|
layout_id: string | null;
|
|
67719
|
+
lokaal_opgeslagen_op: string | null;
|
|
67720
|
+
lokale_pdf_fout: string | null;
|
|
67721
|
+
lokale_pdf_status: string | null;
|
|
66892
67722
|
opgepakt_op: string | null;
|
|
66893
67723
|
paginas: number;
|
|
66894
67724
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -66897,6 +67727,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
66897
67727
|
pogingen: number;
|
|
66898
67728
|
printer_id: string | null;
|
|
66899
67729
|
render_html: string | null;
|
|
67730
|
+
resultaat_pdf_base64: string | null;
|
|
66900
67731
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
66901
67732
|
updated_at: string;
|
|
66902
67733
|
volgende_poging: string | null;
|
|
@@ -66988,6 +67819,53 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
66988
67819
|
isSetofReturn: true;
|
|
66989
67820
|
};
|
|
66990
67821
|
};
|
|
67822
|
+
claim_pdf_print_jobs: {
|
|
67823
|
+
Args: {
|
|
67824
|
+
_max?: number;
|
|
67825
|
+
};
|
|
67826
|
+
Returns: {
|
|
67827
|
+
agent_id: string | null;
|
|
67828
|
+
bron_job_id: string | null;
|
|
67829
|
+
created_at: string;
|
|
67830
|
+
documentnaam: string;
|
|
67831
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
67832
|
+
extern_job_id: string | null;
|
|
67833
|
+
foutmelding: string | null;
|
|
67834
|
+
gebruiker_id: string | null;
|
|
67835
|
+
gebruiker_naam: string;
|
|
67836
|
+
gebruikte_bron: string | null;
|
|
67837
|
+
gebruikte_layout_id: string | null;
|
|
67838
|
+
gestart_op: string | null;
|
|
67839
|
+
herkomst: string | null;
|
|
67840
|
+
id: string;
|
|
67841
|
+
idempotentie_sleutel: string | null;
|
|
67842
|
+
is_herprint: boolean;
|
|
67843
|
+
kopieen: number;
|
|
67844
|
+
layout_id: string | null;
|
|
67845
|
+
lokaal_opgeslagen_op: string | null;
|
|
67846
|
+
lokale_pdf_fout: string | null;
|
|
67847
|
+
lokale_pdf_status: string | null;
|
|
67848
|
+
opgepakt_op: string | null;
|
|
67849
|
+
paginas: number;
|
|
67850
|
+
payload: import("../integrations/supabase/types").Json;
|
|
67851
|
+
pdf_base64: string | null;
|
|
67852
|
+
pdf_url: string | null;
|
|
67853
|
+
pogingen: number;
|
|
67854
|
+
printer_id: string | null;
|
|
67855
|
+
render_html: string | null;
|
|
67856
|
+
resultaat_pdf_base64: string | null;
|
|
67857
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
67858
|
+
updated_at: string;
|
|
67859
|
+
volgende_poging: string | null;
|
|
67860
|
+
voltooid_op: string | null;
|
|
67861
|
+
}[];
|
|
67862
|
+
SetofOptions: {
|
|
67863
|
+
from: "*";
|
|
67864
|
+
to: "print_jobs";
|
|
67865
|
+
isOneToOne: false;
|
|
67866
|
+
isSetofReturn: true;
|
|
67867
|
+
};
|
|
67868
|
+
};
|
|
66991
67869
|
claim_print_jobs: {
|
|
66992
67870
|
Args: {
|
|
66993
67871
|
_agent_id: string;
|
|
@@ -67012,6 +67890,9 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
67012
67890
|
is_herprint: boolean;
|
|
67013
67891
|
kopieen: number;
|
|
67014
67892
|
layout_id: string | null;
|
|
67893
|
+
lokaal_opgeslagen_op: string | null;
|
|
67894
|
+
lokale_pdf_fout: string | null;
|
|
67895
|
+
lokale_pdf_status: string | null;
|
|
67015
67896
|
opgepakt_op: string | null;
|
|
67016
67897
|
paginas: number;
|
|
67017
67898
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -67020,6 +67901,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
67020
67901
|
pogingen: number;
|
|
67021
67902
|
printer_id: string | null;
|
|
67022
67903
|
render_html: string | null;
|
|
67904
|
+
resultaat_pdf_base64: string | null;
|
|
67023
67905
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
67024
67906
|
updated_at: string;
|
|
67025
67907
|
volgende_poging: string | null;
|
|
@@ -67160,6 +68042,8 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
67160
68042
|
order_id: string;
|
|
67161
68043
|
order_source: string;
|
|
67162
68044
|
pick_date: string;
|
|
68045
|
+
printed_at: string;
|
|
68046
|
+
printed_today: boolean;
|
|
67163
68047
|
status: string;
|
|
67164
68048
|
}[];
|
|
67165
68049
|
};
|
|
@@ -67868,6 +68752,10 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
67868
68752
|
};
|
|
67869
68753
|
Returns: number;
|
|
67870
68754
|
};
|
|
68755
|
+
logistics_cancel_orphan_tasks: {
|
|
68756
|
+
Args: never;
|
|
68757
|
+
Returns: number;
|
|
68758
|
+
};
|
|
67871
68759
|
logistics_capacity_day_check: {
|
|
67872
68760
|
Args: {
|
|
67873
68761
|
p_from?: string;
|
|
@@ -67888,6 +68776,25 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
67888
68776
|
};
|
|
67889
68777
|
Returns: number;
|
|
67890
68778
|
};
|
|
68779
|
+
logistics_cart_index: {
|
|
68780
|
+
Args: {
|
|
68781
|
+
p_from?: string;
|
|
68782
|
+
p_to?: string;
|
|
68783
|
+
};
|
|
68784
|
+
Returns: {
|
|
68785
|
+
cart_id: string;
|
|
68786
|
+
cart_index: number;
|
|
68787
|
+
cart_label: string;
|
|
68788
|
+
is_shared: boolean;
|
|
68789
|
+
order_number: string;
|
|
68790
|
+
order_source: string;
|
|
68791
|
+
order_uuid: string;
|
|
68792
|
+
pick_date: string;
|
|
68793
|
+
printed_at: string;
|
|
68794
|
+
shifted: boolean;
|
|
68795
|
+
task_status: string;
|
|
68796
|
+
}[];
|
|
68797
|
+
};
|
|
67891
68798
|
logistics_check_order_allowed: {
|
|
67892
68799
|
Args: {
|
|
67893
68800
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -68036,6 +68943,17 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
68036
68943
|
isSetofReturn: false;
|
|
68037
68944
|
};
|
|
68038
68945
|
};
|
|
68946
|
+
logistics_consistency_check: {
|
|
68947
|
+
Args: never;
|
|
68948
|
+
Returns: {
|
|
68949
|
+
agenda_carts: number;
|
|
68950
|
+
control_carts: number;
|
|
68951
|
+
ok: boolean;
|
|
68952
|
+
orphan_tasks: number;
|
|
68953
|
+
pick_date: string;
|
|
68954
|
+
raw_carts: number;
|
|
68955
|
+
}[];
|
|
68956
|
+
};
|
|
68039
68957
|
logistics_delay_customer_email: {
|
|
68040
68958
|
Args: {
|
|
68041
68959
|
p_customer: string;
|
|
@@ -68229,6 +69147,25 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
68229
69147
|
};
|
|
68230
69148
|
Returns: number;
|
|
68231
69149
|
};
|
|
69150
|
+
logistics_order_overview: {
|
|
69151
|
+
Args: {
|
|
69152
|
+
p_from?: string;
|
|
69153
|
+
p_to?: string;
|
|
69154
|
+
};
|
|
69155
|
+
Returns: {
|
|
69156
|
+
cart_count: number;
|
|
69157
|
+
customer_name: string;
|
|
69158
|
+
delivery_date: string;
|
|
69159
|
+
order_number: string;
|
|
69160
|
+
order_source: string;
|
|
69161
|
+
order_uuid: string;
|
|
69162
|
+
pick_date: string;
|
|
69163
|
+
plant_count: number;
|
|
69164
|
+
printed_at: string;
|
|
69165
|
+
shifted: boolean;
|
|
69166
|
+
status: string;
|
|
69167
|
+
}[];
|
|
69168
|
+
};
|
|
68232
69169
|
logistics_order_pick_day: {
|
|
68233
69170
|
Args: {
|
|
68234
69171
|
p_order_ref: string;
|
|
@@ -68241,6 +69178,22 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
68241
69178
|
};
|
|
68242
69179
|
Returns: string;
|
|
68243
69180
|
};
|
|
69181
|
+
logistics_pick_agenda: {
|
|
69182
|
+
Args: {
|
|
69183
|
+
p_from?: string;
|
|
69184
|
+
p_to?: string;
|
|
69185
|
+
};
|
|
69186
|
+
Returns: {
|
|
69187
|
+
cart_count: number;
|
|
69188
|
+
in_preparation: number;
|
|
69189
|
+
order_count: number;
|
|
69190
|
+
orders: import("../integrations/supabase/types").Json;
|
|
69191
|
+
pick_date: string;
|
|
69192
|
+
plant_count: number;
|
|
69193
|
+
ready: number;
|
|
69194
|
+
shifted_count: number;
|
|
69195
|
+
}[];
|
|
69196
|
+
};
|
|
68244
69197
|
logistics_pick_email_purpose: {
|
|
68245
69198
|
Args: never;
|
|
68246
69199
|
Returns: string;
|
|
@@ -68400,6 +69353,15 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
68400
69353
|
};
|
|
68401
69354
|
Returns: import("../integrations/supabase/types").Json;
|
|
68402
69355
|
};
|
|
69356
|
+
logistics_resolve_pick_document: {
|
|
69357
|
+
Args: {
|
|
69358
|
+
_is_herprint: boolean;
|
|
69359
|
+
_queue_item_id: string;
|
|
69360
|
+
_session_id: string;
|
|
69361
|
+
_voorbeeld: boolean;
|
|
69362
|
+
};
|
|
69363
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
69364
|
+
};
|
|
68403
69365
|
logistics_resolve_settings: {
|
|
68404
69366
|
Args: {
|
|
68405
69367
|
p_config_id: string;
|
|
@@ -68840,6 +69802,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
68840
69802
|
};
|
|
68841
69803
|
pick_enqueue_print_job: {
|
|
68842
69804
|
Args: {
|
|
69805
|
+
_is_herprint?: boolean;
|
|
68843
69806
|
_printer_id?: string;
|
|
68844
69807
|
_queue_item_id: string;
|
|
68845
69808
|
_session_id?: string;
|
|
@@ -68853,6 +69816,13 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
68853
69816
|
};
|
|
68854
69817
|
Returns: import("../integrations/supabase/types").Json;
|
|
68855
69818
|
};
|
|
69819
|
+
pick_preview_job: {
|
|
69820
|
+
Args: {
|
|
69821
|
+
_queue_item_id: string;
|
|
69822
|
+
_station_slug: string;
|
|
69823
|
+
};
|
|
69824
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
69825
|
+
};
|
|
68856
69826
|
pick_print_job_status: {
|
|
68857
69827
|
Args: {
|
|
68858
69828
|
_job_id: string;
|
|
@@ -69030,6 +70000,24 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
69030
70000
|
};
|
|
69031
70001
|
Returns: undefined;
|
|
69032
70002
|
};
|
|
70003
|
+
print_preview_toestaan: {
|
|
70004
|
+
Args: {
|
|
70005
|
+
_max?: number;
|
|
70006
|
+
_queue_item_id: string;
|
|
70007
|
+
_station_slug: string;
|
|
70008
|
+
_venster_sec?: number;
|
|
70009
|
+
};
|
|
70010
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
70011
|
+
};
|
|
70012
|
+
print_preview_weiger: {
|
|
70013
|
+
Args: {
|
|
70014
|
+
_code: string;
|
|
70015
|
+
_queue_item_id: string;
|
|
70016
|
+
_reden: string;
|
|
70017
|
+
_station_slug: string;
|
|
70018
|
+
};
|
|
70019
|
+
Returns: undefined;
|
|
70020
|
+
};
|
|
69033
70021
|
process_logistics_event: {
|
|
69034
70022
|
Args: {
|
|
69035
70023
|
p_event_id: string;
|
|
@@ -69147,6 +70135,14 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
69147
70135
|
};
|
|
69148
70136
|
Returns: undefined;
|
|
69149
70137
|
};
|
|
70138
|
+
replace_order_carts: {
|
|
70139
|
+
Args: {
|
|
70140
|
+
p_buffer_id: string;
|
|
70141
|
+
p_carts: import("../integrations/supabase/types").Json;
|
|
70142
|
+
p_order_id: string;
|
|
70143
|
+
};
|
|
70144
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
70145
|
+
};
|
|
69150
70146
|
reset_floriday_sync_cursor: {
|
|
69151
70147
|
Args: {
|
|
69152
70148
|
p_connection_id: string;
|
|
@@ -69176,6 +70172,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
69176
70172
|
};
|
|
69177
70173
|
Returns: string;
|
|
69178
70174
|
};
|
|
70175
|
+
resolve_print_job_printer_id: {
|
|
70176
|
+
Args: {
|
|
70177
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
70178
|
+
};
|
|
70179
|
+
Returns: string;
|
|
70180
|
+
};
|
|
69179
70181
|
resolve_product_id_for_item: {
|
|
69180
70182
|
Args: {
|
|
69181
70183
|
p_product_name: string;
|
|
@@ -69767,7 +70769,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
69767
70769
|
};
|
|
69768
70770
|
CompositeTypes: { [_ in never]: never; };
|
|
69769
70771
|
}, {
|
|
69770
|
-
PostgrestVersion: "14.
|
|
70772
|
+
PostgrestVersion: "14.5";
|
|
69771
70773
|
}>;
|
|
69772
70774
|
userId: string;
|
|
69773
70775
|
claims: import("@supabase/auth-js").User;
|