@flowselections/logistiek-engine 1.0.24 → 1.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/LogistiekEnginePage.d.ts.map +1 -1
- package/dist-lib/components/LogistiekEnginePage.js +8 -2
- package/dist-lib/components/RegiePage.d.ts.map +1 -1
- package/dist-lib/components/RegiePage.js +1 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +226 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +226 -1
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +226 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +228 -1
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.functions.d.ts +678 -3
- package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
- package/dist-lib/lib/floridayPush.functions.d.ts +226 -1
- package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
- package/dist-lib/lib/handlers/logistics-tick.server.d.ts.map +1 -1
- package/dist-lib/lib/handlers/logistics-tick.server.js +11 -0
- package/dist-lib/lib/loadCarrierPlanner.d.ts +6 -0
- package/dist-lib/lib/loadCarrierPlanner.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierPlanner.js +3 -0
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +1130 -5
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierPlanning.server.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierPlanning.server.js +3 -0
- package/dist-lib/lib/logisticsPlanner.d.ts +2 -0
- package/dist-lib/lib/logisticsPlanner.d.ts.map +1 -1
- package/dist-lib/lib/logisticsPlanner.js +17 -0
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +452 -2
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts +226 -1
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.js +185 -0
- package/package.json +1 -1
|
@@ -2851,6 +2851,84 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
2851
2851
|
};
|
|
2852
2852
|
Relationships: [];
|
|
2853
2853
|
};
|
|
2854
|
+
delivery_notes: {
|
|
2855
|
+
Row: {
|
|
2856
|
+
byte_size: number | null;
|
|
2857
|
+
connection_id: string | null;
|
|
2858
|
+
content_type: string;
|
|
2859
|
+
created_at: string;
|
|
2860
|
+
error_message: string | null;
|
|
2861
|
+
fetched_at: string | null;
|
|
2862
|
+
fulfillment_order_id: string | null;
|
|
2863
|
+
http_status: number | null;
|
|
2864
|
+
id: string;
|
|
2865
|
+
label_code: string | null;
|
|
2866
|
+
letter: string | null;
|
|
2867
|
+
load_carrier_index: number | null;
|
|
2868
|
+
load_carrier_type: string | null;
|
|
2869
|
+
order_id: string | null;
|
|
2870
|
+
order_number: string | null;
|
|
2871
|
+
packages: number | null;
|
|
2872
|
+
source: string;
|
|
2873
|
+
status: string;
|
|
2874
|
+
storage_bucket: string;
|
|
2875
|
+
storage_path: string | null;
|
|
2876
|
+
updated_at: string;
|
|
2877
|
+
};
|
|
2878
|
+
Insert: {
|
|
2879
|
+
byte_size?: number | null;
|
|
2880
|
+
connection_id?: string | null;
|
|
2881
|
+
content_type?: string;
|
|
2882
|
+
created_at?: string;
|
|
2883
|
+
error_message?: string | null;
|
|
2884
|
+
fetched_at?: string | null;
|
|
2885
|
+
fulfillment_order_id?: string | null;
|
|
2886
|
+
http_status?: number | null;
|
|
2887
|
+
id?: string;
|
|
2888
|
+
label_code?: string | null;
|
|
2889
|
+
letter?: string | null;
|
|
2890
|
+
load_carrier_index?: number | null;
|
|
2891
|
+
load_carrier_type?: string | null;
|
|
2892
|
+
order_id?: string | null;
|
|
2893
|
+
order_number?: string | null;
|
|
2894
|
+
packages?: number | null;
|
|
2895
|
+
source?: string;
|
|
2896
|
+
status?: string;
|
|
2897
|
+
storage_bucket?: string;
|
|
2898
|
+
storage_path?: string | null;
|
|
2899
|
+
updated_at?: string;
|
|
2900
|
+
};
|
|
2901
|
+
Update: {
|
|
2902
|
+
byte_size?: number | null;
|
|
2903
|
+
connection_id?: string | null;
|
|
2904
|
+
content_type?: string;
|
|
2905
|
+
created_at?: string;
|
|
2906
|
+
error_message?: string | null;
|
|
2907
|
+
fetched_at?: string | null;
|
|
2908
|
+
fulfillment_order_id?: string | null;
|
|
2909
|
+
http_status?: number | null;
|
|
2910
|
+
id?: string;
|
|
2911
|
+
label_code?: string | null;
|
|
2912
|
+
letter?: string | null;
|
|
2913
|
+
load_carrier_index?: number | null;
|
|
2914
|
+
load_carrier_type?: string | null;
|
|
2915
|
+
order_id?: string | null;
|
|
2916
|
+
order_number?: string | null;
|
|
2917
|
+
packages?: number | null;
|
|
2918
|
+
source?: string;
|
|
2919
|
+
status?: string;
|
|
2920
|
+
storage_bucket?: string;
|
|
2921
|
+
storage_path?: string | null;
|
|
2922
|
+
updated_at?: string;
|
|
2923
|
+
};
|
|
2924
|
+
Relationships: [{
|
|
2925
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
2926
|
+
columns: ["order_id"];
|
|
2927
|
+
isOneToOne: false;
|
|
2928
|
+
referencedRelation: "orders";
|
|
2929
|
+
referencedColumns: ["id"];
|
|
2930
|
+
}];
|
|
2931
|
+
};
|
|
2854
2932
|
document_bronregels: {
|
|
2855
2933
|
Row: {
|
|
2856
2934
|
bron: string;
|
|
@@ -13659,6 +13737,9 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
13659
13737
|
is_herprint: boolean;
|
|
13660
13738
|
kopieen: number;
|
|
13661
13739
|
layout_id: string | null;
|
|
13740
|
+
lokaal_opgeslagen_op: string | null;
|
|
13741
|
+
lokale_pdf_fout: string | null;
|
|
13742
|
+
lokale_pdf_status: string | null;
|
|
13662
13743
|
opgepakt_op: string | null;
|
|
13663
13744
|
paginas: number;
|
|
13664
13745
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -13667,6 +13748,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
13667
13748
|
pogingen: number;
|
|
13668
13749
|
printer_id: string | null;
|
|
13669
13750
|
render_html: string | null;
|
|
13751
|
+
resultaat_pdf_base64: string | null;
|
|
13670
13752
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13671
13753
|
updated_at: string;
|
|
13672
13754
|
volgende_poging: string | null;
|
|
@@ -13691,6 +13773,9 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
13691
13773
|
is_herprint?: boolean;
|
|
13692
13774
|
kopieen?: number;
|
|
13693
13775
|
layout_id?: string | null;
|
|
13776
|
+
lokaal_opgeslagen_op?: string | null;
|
|
13777
|
+
lokale_pdf_fout?: string | null;
|
|
13778
|
+
lokale_pdf_status?: string | null;
|
|
13694
13779
|
opgepakt_op?: string | null;
|
|
13695
13780
|
paginas?: number;
|
|
13696
13781
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -13699,6 +13784,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
13699
13784
|
pogingen?: number;
|
|
13700
13785
|
printer_id?: string | null;
|
|
13701
13786
|
render_html?: string | null;
|
|
13787
|
+
resultaat_pdf_base64?: string | null;
|
|
13702
13788
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13703
13789
|
updated_at?: string;
|
|
13704
13790
|
volgende_poging?: string | null;
|
|
@@ -13723,6 +13809,9 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
13723
13809
|
is_herprint?: boolean;
|
|
13724
13810
|
kopieen?: number;
|
|
13725
13811
|
layout_id?: string | null;
|
|
13812
|
+
lokaal_opgeslagen_op?: string | null;
|
|
13813
|
+
lokale_pdf_fout?: string | null;
|
|
13814
|
+
lokale_pdf_status?: string | null;
|
|
13726
13815
|
opgepakt_op?: string | null;
|
|
13727
13816
|
paginas?: number;
|
|
13728
13817
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -13731,6 +13820,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
13731
13820
|
pogingen?: number;
|
|
13732
13821
|
printer_id?: string | null;
|
|
13733
13822
|
render_html?: string | null;
|
|
13823
|
+
resultaat_pdf_base64?: string | null;
|
|
13734
13824
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13735
13825
|
updated_at?: string;
|
|
13736
13826
|
volgende_poging?: string | null;
|
|
@@ -14121,6 +14211,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
14121
14211
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
14122
14212
|
online: boolean;
|
|
14123
14213
|
papierformaat: string;
|
|
14214
|
+
pdf_map: string | null;
|
|
14124
14215
|
poort: number | null;
|
|
14125
14216
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14126
14217
|
systeemnaam: string;
|
|
@@ -14146,6 +14237,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
14146
14237
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
14147
14238
|
online?: boolean;
|
|
14148
14239
|
papierformaat?: string;
|
|
14240
|
+
pdf_map?: string | null;
|
|
14149
14241
|
poort?: number | null;
|
|
14150
14242
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14151
14243
|
systeemnaam?: string;
|
|
@@ -14171,6 +14263,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
14171
14263
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
14172
14264
|
online?: boolean;
|
|
14173
14265
|
papierformaat?: string;
|
|
14266
|
+
pdf_map?: string | null;
|
|
14174
14267
|
poort?: number | null;
|
|
14175
14268
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14176
14269
|
systeemnaam?: string;
|
|
@@ -20427,6 +20520,9 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
20427
20520
|
is_herprint: boolean;
|
|
20428
20521
|
kopieen: number;
|
|
20429
20522
|
layout_id: string | null;
|
|
20523
|
+
lokaal_opgeslagen_op: string | null;
|
|
20524
|
+
lokale_pdf_fout: string | null;
|
|
20525
|
+
lokale_pdf_status: string | null;
|
|
20430
20526
|
opgepakt_op: string | null;
|
|
20431
20527
|
paginas: number;
|
|
20432
20528
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -20435,6 +20531,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
20435
20531
|
pogingen: number;
|
|
20436
20532
|
printer_id: string | null;
|
|
20437
20533
|
render_html: string | null;
|
|
20534
|
+
resultaat_pdf_base64: string | null;
|
|
20438
20535
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20439
20536
|
updated_at: string;
|
|
20440
20537
|
volgende_poging: string | null;
|
|
@@ -20526,6 +20623,53 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
20526
20623
|
isSetofReturn: true;
|
|
20527
20624
|
};
|
|
20528
20625
|
};
|
|
20626
|
+
claim_pdf_print_jobs: {
|
|
20627
|
+
Args: {
|
|
20628
|
+
_max?: number;
|
|
20629
|
+
};
|
|
20630
|
+
Returns: {
|
|
20631
|
+
agent_id: string | null;
|
|
20632
|
+
bron_job_id: string | null;
|
|
20633
|
+
created_at: string;
|
|
20634
|
+
documentnaam: string;
|
|
20635
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
20636
|
+
extern_job_id: string | null;
|
|
20637
|
+
foutmelding: string | null;
|
|
20638
|
+
gebruiker_id: string | null;
|
|
20639
|
+
gebruiker_naam: string;
|
|
20640
|
+
gebruikte_bron: string | null;
|
|
20641
|
+
gebruikte_layout_id: string | null;
|
|
20642
|
+
gestart_op: string | null;
|
|
20643
|
+
herkomst: string | null;
|
|
20644
|
+
id: string;
|
|
20645
|
+
idempotentie_sleutel: string | null;
|
|
20646
|
+
is_herprint: boolean;
|
|
20647
|
+
kopieen: number;
|
|
20648
|
+
layout_id: string | null;
|
|
20649
|
+
lokaal_opgeslagen_op: string | null;
|
|
20650
|
+
lokale_pdf_fout: string | null;
|
|
20651
|
+
lokale_pdf_status: string | null;
|
|
20652
|
+
opgepakt_op: string | null;
|
|
20653
|
+
paginas: number;
|
|
20654
|
+
payload: import("../integrations/supabase/types").Json;
|
|
20655
|
+
pdf_base64: string | null;
|
|
20656
|
+
pdf_url: string | null;
|
|
20657
|
+
pogingen: number;
|
|
20658
|
+
printer_id: string | null;
|
|
20659
|
+
render_html: string | null;
|
|
20660
|
+
resultaat_pdf_base64: string | null;
|
|
20661
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20662
|
+
updated_at: string;
|
|
20663
|
+
volgende_poging: string | null;
|
|
20664
|
+
voltooid_op: string | null;
|
|
20665
|
+
}[];
|
|
20666
|
+
SetofOptions: {
|
|
20667
|
+
from: "*";
|
|
20668
|
+
to: "print_jobs";
|
|
20669
|
+
isOneToOne: false;
|
|
20670
|
+
isSetofReturn: true;
|
|
20671
|
+
};
|
|
20672
|
+
};
|
|
20529
20673
|
claim_print_jobs: {
|
|
20530
20674
|
Args: {
|
|
20531
20675
|
_agent_id: string;
|
|
@@ -20550,6 +20694,9 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
20550
20694
|
is_herprint: boolean;
|
|
20551
20695
|
kopieen: number;
|
|
20552
20696
|
layout_id: string | null;
|
|
20697
|
+
lokaal_opgeslagen_op: string | null;
|
|
20698
|
+
lokale_pdf_fout: string | null;
|
|
20699
|
+
lokale_pdf_status: string | null;
|
|
20553
20700
|
opgepakt_op: string | null;
|
|
20554
20701
|
paginas: number;
|
|
20555
20702
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -20558,6 +20705,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
20558
20705
|
pogingen: number;
|
|
20559
20706
|
printer_id: string | null;
|
|
20560
20707
|
render_html: string | null;
|
|
20708
|
+
resultaat_pdf_base64: string | null;
|
|
20561
20709
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20562
20710
|
updated_at: string;
|
|
20563
20711
|
volgende_poging: string | null;
|
|
@@ -20698,6 +20846,8 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
20698
20846
|
order_id: string;
|
|
20699
20847
|
order_source: string;
|
|
20700
20848
|
pick_date: string;
|
|
20849
|
+
printed_at: string;
|
|
20850
|
+
printed_today: boolean;
|
|
20701
20851
|
status: string;
|
|
20702
20852
|
}[];
|
|
20703
20853
|
};
|
|
@@ -21406,6 +21556,10 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
21406
21556
|
};
|
|
21407
21557
|
Returns: number;
|
|
21408
21558
|
};
|
|
21559
|
+
logistics_cancel_orphan_tasks: {
|
|
21560
|
+
Args: never;
|
|
21561
|
+
Returns: number;
|
|
21562
|
+
};
|
|
21409
21563
|
logistics_capacity_day_check: {
|
|
21410
21564
|
Args: {
|
|
21411
21565
|
p_from?: string;
|
|
@@ -21426,6 +21580,25 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
21426
21580
|
};
|
|
21427
21581
|
Returns: number;
|
|
21428
21582
|
};
|
|
21583
|
+
logistics_cart_index: {
|
|
21584
|
+
Args: {
|
|
21585
|
+
p_from?: string;
|
|
21586
|
+
p_to?: string;
|
|
21587
|
+
};
|
|
21588
|
+
Returns: {
|
|
21589
|
+
cart_id: string;
|
|
21590
|
+
cart_index: number;
|
|
21591
|
+
cart_label: string;
|
|
21592
|
+
is_shared: boolean;
|
|
21593
|
+
order_number: string;
|
|
21594
|
+
order_source: string;
|
|
21595
|
+
order_uuid: string;
|
|
21596
|
+
pick_date: string;
|
|
21597
|
+
printed_at: string;
|
|
21598
|
+
shifted: boolean;
|
|
21599
|
+
task_status: string;
|
|
21600
|
+
}[];
|
|
21601
|
+
};
|
|
21429
21602
|
logistics_check_order_allowed: {
|
|
21430
21603
|
Args: {
|
|
21431
21604
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -21574,6 +21747,17 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
21574
21747
|
isSetofReturn: false;
|
|
21575
21748
|
};
|
|
21576
21749
|
};
|
|
21750
|
+
logistics_consistency_check: {
|
|
21751
|
+
Args: never;
|
|
21752
|
+
Returns: {
|
|
21753
|
+
agenda_carts: number;
|
|
21754
|
+
control_carts: number;
|
|
21755
|
+
ok: boolean;
|
|
21756
|
+
orphan_tasks: number;
|
|
21757
|
+
pick_date: string;
|
|
21758
|
+
raw_carts: number;
|
|
21759
|
+
}[];
|
|
21760
|
+
};
|
|
21577
21761
|
logistics_delay_customer_email: {
|
|
21578
21762
|
Args: {
|
|
21579
21763
|
p_customer: string;
|
|
@@ -21767,6 +21951,25 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
21767
21951
|
};
|
|
21768
21952
|
Returns: number;
|
|
21769
21953
|
};
|
|
21954
|
+
logistics_order_overview: {
|
|
21955
|
+
Args: {
|
|
21956
|
+
p_from?: string;
|
|
21957
|
+
p_to?: string;
|
|
21958
|
+
};
|
|
21959
|
+
Returns: {
|
|
21960
|
+
cart_count: number;
|
|
21961
|
+
customer_name: string;
|
|
21962
|
+
delivery_date: string;
|
|
21963
|
+
order_number: string;
|
|
21964
|
+
order_source: string;
|
|
21965
|
+
order_uuid: string;
|
|
21966
|
+
pick_date: string;
|
|
21967
|
+
plant_count: number;
|
|
21968
|
+
printed_at: string;
|
|
21969
|
+
shifted: boolean;
|
|
21970
|
+
status: string;
|
|
21971
|
+
}[];
|
|
21972
|
+
};
|
|
21770
21973
|
logistics_order_pick_day: {
|
|
21771
21974
|
Args: {
|
|
21772
21975
|
p_order_ref: string;
|
|
@@ -21779,6 +21982,22 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
21779
21982
|
};
|
|
21780
21983
|
Returns: string;
|
|
21781
21984
|
};
|
|
21985
|
+
logistics_pick_agenda: {
|
|
21986
|
+
Args: {
|
|
21987
|
+
p_from?: string;
|
|
21988
|
+
p_to?: string;
|
|
21989
|
+
};
|
|
21990
|
+
Returns: {
|
|
21991
|
+
cart_count: number;
|
|
21992
|
+
in_preparation: number;
|
|
21993
|
+
order_count: number;
|
|
21994
|
+
orders: import("../integrations/supabase/types").Json;
|
|
21995
|
+
pick_date: string;
|
|
21996
|
+
plant_count: number;
|
|
21997
|
+
ready: number;
|
|
21998
|
+
shifted_count: number;
|
|
21999
|
+
}[];
|
|
22000
|
+
};
|
|
21782
22001
|
logistics_pick_email_purpose: {
|
|
21783
22002
|
Args: never;
|
|
21784
22003
|
Returns: string;
|
|
@@ -22757,6 +22976,12 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
22757
22976
|
};
|
|
22758
22977
|
Returns: string;
|
|
22759
22978
|
};
|
|
22979
|
+
resolve_print_job_printer_id: {
|
|
22980
|
+
Args: {
|
|
22981
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
22982
|
+
};
|
|
22983
|
+
Returns: string;
|
|
22984
|
+
};
|
|
22760
22985
|
resolve_product_id_for_item: {
|
|
22761
22986
|
Args: {
|
|
22762
22987
|
p_product_name: string;
|
|
@@ -23348,7 +23573,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
23348
23573
|
};
|
|
23349
23574
|
CompositeTypes: { [_ in never]: never; };
|
|
23350
23575
|
}, {
|
|
23351
|
-
PostgrestVersion: "14.
|
|
23576
|
+
PostgrestVersion: "14.5";
|
|
23352
23577
|
}>;
|
|
23353
23578
|
userId: string;
|
|
23354
23579
|
claims: import("@supabase/auth-js").User;
|
|
@@ -26214,6 +26439,84 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
26214
26439
|
};
|
|
26215
26440
|
Relationships: [];
|
|
26216
26441
|
};
|
|
26442
|
+
delivery_notes: {
|
|
26443
|
+
Row: {
|
|
26444
|
+
byte_size: number | null;
|
|
26445
|
+
connection_id: string | null;
|
|
26446
|
+
content_type: string;
|
|
26447
|
+
created_at: string;
|
|
26448
|
+
error_message: string | null;
|
|
26449
|
+
fetched_at: string | null;
|
|
26450
|
+
fulfillment_order_id: string | null;
|
|
26451
|
+
http_status: number | null;
|
|
26452
|
+
id: string;
|
|
26453
|
+
label_code: string | null;
|
|
26454
|
+
letter: string | null;
|
|
26455
|
+
load_carrier_index: number | null;
|
|
26456
|
+
load_carrier_type: string | null;
|
|
26457
|
+
order_id: string | null;
|
|
26458
|
+
order_number: string | null;
|
|
26459
|
+
packages: number | null;
|
|
26460
|
+
source: string;
|
|
26461
|
+
status: string;
|
|
26462
|
+
storage_bucket: string;
|
|
26463
|
+
storage_path: string | null;
|
|
26464
|
+
updated_at: string;
|
|
26465
|
+
};
|
|
26466
|
+
Insert: {
|
|
26467
|
+
byte_size?: number | null;
|
|
26468
|
+
connection_id?: string | null;
|
|
26469
|
+
content_type?: string;
|
|
26470
|
+
created_at?: string;
|
|
26471
|
+
error_message?: string | null;
|
|
26472
|
+
fetched_at?: string | null;
|
|
26473
|
+
fulfillment_order_id?: string | null;
|
|
26474
|
+
http_status?: number | null;
|
|
26475
|
+
id?: string;
|
|
26476
|
+
label_code?: string | null;
|
|
26477
|
+
letter?: string | null;
|
|
26478
|
+
load_carrier_index?: number | null;
|
|
26479
|
+
load_carrier_type?: string | null;
|
|
26480
|
+
order_id?: string | null;
|
|
26481
|
+
order_number?: string | null;
|
|
26482
|
+
packages?: number | null;
|
|
26483
|
+
source?: string;
|
|
26484
|
+
status?: string;
|
|
26485
|
+
storage_bucket?: string;
|
|
26486
|
+
storage_path?: string | null;
|
|
26487
|
+
updated_at?: string;
|
|
26488
|
+
};
|
|
26489
|
+
Update: {
|
|
26490
|
+
byte_size?: number | null;
|
|
26491
|
+
connection_id?: string | null;
|
|
26492
|
+
content_type?: string;
|
|
26493
|
+
created_at?: string;
|
|
26494
|
+
error_message?: string | null;
|
|
26495
|
+
fetched_at?: string | null;
|
|
26496
|
+
fulfillment_order_id?: string | null;
|
|
26497
|
+
http_status?: number | null;
|
|
26498
|
+
id?: string;
|
|
26499
|
+
label_code?: string | null;
|
|
26500
|
+
letter?: string | null;
|
|
26501
|
+
load_carrier_index?: number | null;
|
|
26502
|
+
load_carrier_type?: string | null;
|
|
26503
|
+
order_id?: string | null;
|
|
26504
|
+
order_number?: string | null;
|
|
26505
|
+
packages?: number | null;
|
|
26506
|
+
source?: string;
|
|
26507
|
+
status?: string;
|
|
26508
|
+
storage_bucket?: string;
|
|
26509
|
+
storage_path?: string | null;
|
|
26510
|
+
updated_at?: string;
|
|
26511
|
+
};
|
|
26512
|
+
Relationships: [{
|
|
26513
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
26514
|
+
columns: ["order_id"];
|
|
26515
|
+
isOneToOne: false;
|
|
26516
|
+
referencedRelation: "orders";
|
|
26517
|
+
referencedColumns: ["id"];
|
|
26518
|
+
}];
|
|
26519
|
+
};
|
|
26217
26520
|
document_bronregels: {
|
|
26218
26521
|
Row: {
|
|
26219
26522
|
bron: string;
|
|
@@ -37022,6 +37325,9 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
37022
37325
|
is_herprint: boolean;
|
|
37023
37326
|
kopieen: number;
|
|
37024
37327
|
layout_id: string | null;
|
|
37328
|
+
lokaal_opgeslagen_op: string | null;
|
|
37329
|
+
lokale_pdf_fout: string | null;
|
|
37330
|
+
lokale_pdf_status: string | null;
|
|
37025
37331
|
opgepakt_op: string | null;
|
|
37026
37332
|
paginas: number;
|
|
37027
37333
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -37030,6 +37336,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
37030
37336
|
pogingen: number;
|
|
37031
37337
|
printer_id: string | null;
|
|
37032
37338
|
render_html: string | null;
|
|
37339
|
+
resultaat_pdf_base64: string | null;
|
|
37033
37340
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
37034
37341
|
updated_at: string;
|
|
37035
37342
|
volgende_poging: string | null;
|
|
@@ -37054,6 +37361,9 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
37054
37361
|
is_herprint?: boolean;
|
|
37055
37362
|
kopieen?: number;
|
|
37056
37363
|
layout_id?: string | null;
|
|
37364
|
+
lokaal_opgeslagen_op?: string | null;
|
|
37365
|
+
lokale_pdf_fout?: string | null;
|
|
37366
|
+
lokale_pdf_status?: string | null;
|
|
37057
37367
|
opgepakt_op?: string | null;
|
|
37058
37368
|
paginas?: number;
|
|
37059
37369
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -37062,6 +37372,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
37062
37372
|
pogingen?: number;
|
|
37063
37373
|
printer_id?: string | null;
|
|
37064
37374
|
render_html?: string | null;
|
|
37375
|
+
resultaat_pdf_base64?: string | null;
|
|
37065
37376
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
37066
37377
|
updated_at?: string;
|
|
37067
37378
|
volgende_poging?: string | null;
|
|
@@ -37086,6 +37397,9 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
37086
37397
|
is_herprint?: boolean;
|
|
37087
37398
|
kopieen?: number;
|
|
37088
37399
|
layout_id?: string | null;
|
|
37400
|
+
lokaal_opgeslagen_op?: string | null;
|
|
37401
|
+
lokale_pdf_fout?: string | null;
|
|
37402
|
+
lokale_pdf_status?: string | null;
|
|
37089
37403
|
opgepakt_op?: string | null;
|
|
37090
37404
|
paginas?: number;
|
|
37091
37405
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -37094,6 +37408,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
37094
37408
|
pogingen?: number;
|
|
37095
37409
|
printer_id?: string | null;
|
|
37096
37410
|
render_html?: string | null;
|
|
37411
|
+
resultaat_pdf_base64?: string | null;
|
|
37097
37412
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
37098
37413
|
updated_at?: string;
|
|
37099
37414
|
volgende_poging?: string | null;
|
|
@@ -37484,6 +37799,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
37484
37799
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
37485
37800
|
online: boolean;
|
|
37486
37801
|
papierformaat: string;
|
|
37802
|
+
pdf_map: string | null;
|
|
37487
37803
|
poort: number | null;
|
|
37488
37804
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37489
37805
|
systeemnaam: string;
|
|
@@ -37509,6 +37825,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
37509
37825
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
37510
37826
|
online?: boolean;
|
|
37511
37827
|
papierformaat?: string;
|
|
37828
|
+
pdf_map?: string | null;
|
|
37512
37829
|
poort?: number | null;
|
|
37513
37830
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37514
37831
|
systeemnaam?: string;
|
|
@@ -37534,6 +37851,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
37534
37851
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
37535
37852
|
online?: boolean;
|
|
37536
37853
|
papierformaat?: string;
|
|
37854
|
+
pdf_map?: string | null;
|
|
37537
37855
|
poort?: number | null;
|
|
37538
37856
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37539
37857
|
systeemnaam?: string;
|
|
@@ -43790,6 +44108,9 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
43790
44108
|
is_herprint: boolean;
|
|
43791
44109
|
kopieen: number;
|
|
43792
44110
|
layout_id: string | null;
|
|
44111
|
+
lokaal_opgeslagen_op: string | null;
|
|
44112
|
+
lokale_pdf_fout: string | null;
|
|
44113
|
+
lokale_pdf_status: string | null;
|
|
43793
44114
|
opgepakt_op: string | null;
|
|
43794
44115
|
paginas: number;
|
|
43795
44116
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -43798,6 +44119,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
43798
44119
|
pogingen: number;
|
|
43799
44120
|
printer_id: string | null;
|
|
43800
44121
|
render_html: string | null;
|
|
44122
|
+
resultaat_pdf_base64: string | null;
|
|
43801
44123
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
43802
44124
|
updated_at: string;
|
|
43803
44125
|
volgende_poging: string | null;
|
|
@@ -43889,6 +44211,53 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
43889
44211
|
isSetofReturn: true;
|
|
43890
44212
|
};
|
|
43891
44213
|
};
|
|
44214
|
+
claim_pdf_print_jobs: {
|
|
44215
|
+
Args: {
|
|
44216
|
+
_max?: number;
|
|
44217
|
+
};
|
|
44218
|
+
Returns: {
|
|
44219
|
+
agent_id: string | null;
|
|
44220
|
+
bron_job_id: string | null;
|
|
44221
|
+
created_at: string;
|
|
44222
|
+
documentnaam: string;
|
|
44223
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
44224
|
+
extern_job_id: string | null;
|
|
44225
|
+
foutmelding: string | null;
|
|
44226
|
+
gebruiker_id: string | null;
|
|
44227
|
+
gebruiker_naam: string;
|
|
44228
|
+
gebruikte_bron: string | null;
|
|
44229
|
+
gebruikte_layout_id: string | null;
|
|
44230
|
+
gestart_op: string | null;
|
|
44231
|
+
herkomst: string | null;
|
|
44232
|
+
id: string;
|
|
44233
|
+
idempotentie_sleutel: string | null;
|
|
44234
|
+
is_herprint: boolean;
|
|
44235
|
+
kopieen: number;
|
|
44236
|
+
layout_id: string | null;
|
|
44237
|
+
lokaal_opgeslagen_op: string | null;
|
|
44238
|
+
lokale_pdf_fout: string | null;
|
|
44239
|
+
lokale_pdf_status: string | null;
|
|
44240
|
+
opgepakt_op: string | null;
|
|
44241
|
+
paginas: number;
|
|
44242
|
+
payload: import("../integrations/supabase/types").Json;
|
|
44243
|
+
pdf_base64: string | null;
|
|
44244
|
+
pdf_url: string | null;
|
|
44245
|
+
pogingen: number;
|
|
44246
|
+
printer_id: string | null;
|
|
44247
|
+
render_html: string | null;
|
|
44248
|
+
resultaat_pdf_base64: string | null;
|
|
44249
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
44250
|
+
updated_at: string;
|
|
44251
|
+
volgende_poging: string | null;
|
|
44252
|
+
voltooid_op: string | null;
|
|
44253
|
+
}[];
|
|
44254
|
+
SetofOptions: {
|
|
44255
|
+
from: "*";
|
|
44256
|
+
to: "print_jobs";
|
|
44257
|
+
isOneToOne: false;
|
|
44258
|
+
isSetofReturn: true;
|
|
44259
|
+
};
|
|
44260
|
+
};
|
|
43892
44261
|
claim_print_jobs: {
|
|
43893
44262
|
Args: {
|
|
43894
44263
|
_agent_id: string;
|
|
@@ -43913,6 +44282,9 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
43913
44282
|
is_herprint: boolean;
|
|
43914
44283
|
kopieen: number;
|
|
43915
44284
|
layout_id: string | null;
|
|
44285
|
+
lokaal_opgeslagen_op: string | null;
|
|
44286
|
+
lokale_pdf_fout: string | null;
|
|
44287
|
+
lokale_pdf_status: string | null;
|
|
43916
44288
|
opgepakt_op: string | null;
|
|
43917
44289
|
paginas: number;
|
|
43918
44290
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -43921,6 +44293,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
43921
44293
|
pogingen: number;
|
|
43922
44294
|
printer_id: string | null;
|
|
43923
44295
|
render_html: string | null;
|
|
44296
|
+
resultaat_pdf_base64: string | null;
|
|
43924
44297
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
43925
44298
|
updated_at: string;
|
|
43926
44299
|
volgende_poging: string | null;
|
|
@@ -44061,6 +44434,8 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
44061
44434
|
order_id: string;
|
|
44062
44435
|
order_source: string;
|
|
44063
44436
|
pick_date: string;
|
|
44437
|
+
printed_at: string;
|
|
44438
|
+
printed_today: boolean;
|
|
44064
44439
|
status: string;
|
|
44065
44440
|
}[];
|
|
44066
44441
|
};
|
|
@@ -44769,6 +45144,10 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
44769
45144
|
};
|
|
44770
45145
|
Returns: number;
|
|
44771
45146
|
};
|
|
45147
|
+
logistics_cancel_orphan_tasks: {
|
|
45148
|
+
Args: never;
|
|
45149
|
+
Returns: number;
|
|
45150
|
+
};
|
|
44772
45151
|
logistics_capacity_day_check: {
|
|
44773
45152
|
Args: {
|
|
44774
45153
|
p_from?: string;
|
|
@@ -44789,6 +45168,25 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
44789
45168
|
};
|
|
44790
45169
|
Returns: number;
|
|
44791
45170
|
};
|
|
45171
|
+
logistics_cart_index: {
|
|
45172
|
+
Args: {
|
|
45173
|
+
p_from?: string;
|
|
45174
|
+
p_to?: string;
|
|
45175
|
+
};
|
|
45176
|
+
Returns: {
|
|
45177
|
+
cart_id: string;
|
|
45178
|
+
cart_index: number;
|
|
45179
|
+
cart_label: string;
|
|
45180
|
+
is_shared: boolean;
|
|
45181
|
+
order_number: string;
|
|
45182
|
+
order_source: string;
|
|
45183
|
+
order_uuid: string;
|
|
45184
|
+
pick_date: string;
|
|
45185
|
+
printed_at: string;
|
|
45186
|
+
shifted: boolean;
|
|
45187
|
+
task_status: string;
|
|
45188
|
+
}[];
|
|
45189
|
+
};
|
|
44792
45190
|
logistics_check_order_allowed: {
|
|
44793
45191
|
Args: {
|
|
44794
45192
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -44937,6 +45335,17 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
44937
45335
|
isSetofReturn: false;
|
|
44938
45336
|
};
|
|
44939
45337
|
};
|
|
45338
|
+
logistics_consistency_check: {
|
|
45339
|
+
Args: never;
|
|
45340
|
+
Returns: {
|
|
45341
|
+
agenda_carts: number;
|
|
45342
|
+
control_carts: number;
|
|
45343
|
+
ok: boolean;
|
|
45344
|
+
orphan_tasks: number;
|
|
45345
|
+
pick_date: string;
|
|
45346
|
+
raw_carts: number;
|
|
45347
|
+
}[];
|
|
45348
|
+
};
|
|
44940
45349
|
logistics_delay_customer_email: {
|
|
44941
45350
|
Args: {
|
|
44942
45351
|
p_customer: string;
|
|
@@ -45130,6 +45539,25 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
45130
45539
|
};
|
|
45131
45540
|
Returns: number;
|
|
45132
45541
|
};
|
|
45542
|
+
logistics_order_overview: {
|
|
45543
|
+
Args: {
|
|
45544
|
+
p_from?: string;
|
|
45545
|
+
p_to?: string;
|
|
45546
|
+
};
|
|
45547
|
+
Returns: {
|
|
45548
|
+
cart_count: number;
|
|
45549
|
+
customer_name: string;
|
|
45550
|
+
delivery_date: string;
|
|
45551
|
+
order_number: string;
|
|
45552
|
+
order_source: string;
|
|
45553
|
+
order_uuid: string;
|
|
45554
|
+
pick_date: string;
|
|
45555
|
+
plant_count: number;
|
|
45556
|
+
printed_at: string;
|
|
45557
|
+
shifted: boolean;
|
|
45558
|
+
status: string;
|
|
45559
|
+
}[];
|
|
45560
|
+
};
|
|
45133
45561
|
logistics_order_pick_day: {
|
|
45134
45562
|
Args: {
|
|
45135
45563
|
p_order_ref: string;
|
|
@@ -45142,6 +45570,22 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
45142
45570
|
};
|
|
45143
45571
|
Returns: string;
|
|
45144
45572
|
};
|
|
45573
|
+
logistics_pick_agenda: {
|
|
45574
|
+
Args: {
|
|
45575
|
+
p_from?: string;
|
|
45576
|
+
p_to?: string;
|
|
45577
|
+
};
|
|
45578
|
+
Returns: {
|
|
45579
|
+
cart_count: number;
|
|
45580
|
+
in_preparation: number;
|
|
45581
|
+
order_count: number;
|
|
45582
|
+
orders: import("../integrations/supabase/types").Json;
|
|
45583
|
+
pick_date: string;
|
|
45584
|
+
plant_count: number;
|
|
45585
|
+
ready: number;
|
|
45586
|
+
shifted_count: number;
|
|
45587
|
+
}[];
|
|
45588
|
+
};
|
|
45145
45589
|
logistics_pick_email_purpose: {
|
|
45146
45590
|
Args: never;
|
|
45147
45591
|
Returns: string;
|
|
@@ -46120,6 +46564,12 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
46120
46564
|
};
|
|
46121
46565
|
Returns: string;
|
|
46122
46566
|
};
|
|
46567
|
+
resolve_print_job_printer_id: {
|
|
46568
|
+
Args: {
|
|
46569
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
46570
|
+
};
|
|
46571
|
+
Returns: string;
|
|
46572
|
+
};
|
|
46123
46573
|
resolve_product_id_for_item: {
|
|
46124
46574
|
Args: {
|
|
46125
46575
|
p_product_name: string;
|
|
@@ -46711,7 +47161,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
46711
47161
|
};
|
|
46712
47162
|
CompositeTypes: { [_ in never]: never; };
|
|
46713
47163
|
}, {
|
|
46714
|
-
PostgrestVersion: "14.
|
|
47164
|
+
PostgrestVersion: "14.5";
|
|
46715
47165
|
}>;
|
|
46716
47166
|
userId: string;
|
|
46717
47167
|
claims: import("@supabase/auth-js").User;
|