@flowselections/floriday-verkoop-module 1.0.55 → 1.0.57
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/verkoop/OrderAfleverbrievenCard.d.ts.map +1 -1
- package/dist-lib/components/verkoop/OrderAfleverbrievenCard.js +5 -5
- package/dist-lib/components/verkoop/OrderKarindelingCard.d.ts.map +1 -1
- package/dist-lib/components/verkoop/OrderKarindelingCard.js +2 -1
- package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrdersTable.js +17 -4
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +355 -18
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +355 -18
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +355 -18
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +357 -18
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/cart-lock.functions.d.ts +355 -18
- package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-planning-settings.functions.d.ts +3948 -241
- package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.d.ts +1065 -54
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.js +38 -31
- package/dist-lib/lib/create-order.functions.d.ts +6164 -435
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +1065 -54
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.server.d.ts +14 -0
- package/dist-lib/lib/floriday-gateway.server.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.server.js +46 -0
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +23972 -28
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-logistic-labels.functions.js +209 -90
- package/dist-lib/lib/floriday-mirror.functions.d.ts +355 -18
- package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +2485 -126
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-sync.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +1775 -90
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/invoice-timing.functions.d.ts +1420 -72
- package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
- package/dist-lib/lib/load-carriers.functions.d.ts +355 -18
- package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-engine.functions.d.ts +1775 -90
- package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-stock.functions.d.ts +710 -36
- package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-addresses.functions.d.ts +355 -18
- package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-buffers.functions.d.ts +1065 -54
- package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-carrier.functions.d.ts +710 -36
- package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-pickup.functions.d.ts +710 -36
- package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-shipments.functions.d.ts +1420 -72
- package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
- package/dist-lib/lib/product-name.d.ts +3 -0
- package/dist-lib/lib/product-name.d.ts.map +1 -0
- package/dist-lib/lib/product-name.js +43 -0
- package/dist-lib/lib/salesorders-list.functions.d.ts +355 -18
- package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.server.js +43 -1
- package/dist-lib/lib/salesorders-mapping.d.ts +8 -0
- package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
- package/dist-lib/lib/salesorders.functions.d.ts +1775 -90
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +710 -36
- package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -1
- package/dist-lib/lib/tradeitems.functions.d.ts +355 -18
- package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
- package/package.json +131 -131
|
@@ -2852,6 +2852,84 @@ export declare const acknowledgeSalesOrder: 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;
|
|
@@ -5905,10 +5983,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
5905
5983
|
};
|
|
5906
5984
|
floriday_connections: {
|
|
5907
5985
|
Row: {
|
|
5908
|
-
access_token: string | null;
|
|
5909
5986
|
api_key: string;
|
|
5910
|
-
client_id: string;
|
|
5911
|
-
client_secret: string;
|
|
5912
5987
|
created_at: string;
|
|
5913
5988
|
customers_endpoint: string | null;
|
|
5914
5989
|
environment: string;
|
|
@@ -5923,10 +5998,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
5923
5998
|
updated_at: string;
|
|
5924
5999
|
};
|
|
5925
6000
|
Insert: {
|
|
5926
|
-
access_token?: string | null;
|
|
5927
6001
|
api_key: string;
|
|
5928
|
-
client_id: string;
|
|
5929
|
-
client_secret: string;
|
|
5930
6002
|
created_at?: string;
|
|
5931
6003
|
customers_endpoint?: string | null;
|
|
5932
6004
|
environment: string;
|
|
@@ -5941,10 +6013,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
5941
6013
|
updated_at?: string;
|
|
5942
6014
|
};
|
|
5943
6015
|
Update: {
|
|
5944
|
-
access_token?: string | null;
|
|
5945
6016
|
api_key?: string;
|
|
5946
|
-
client_id?: string;
|
|
5947
|
-
client_secret?: string;
|
|
5948
6017
|
created_at?: string;
|
|
5949
6018
|
customers_endpoint?: string | null;
|
|
5950
6019
|
environment?: string;
|
|
@@ -10815,6 +10884,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
10815
10884
|
last_error: string | null;
|
|
10816
10885
|
last_error_at: string | null;
|
|
10817
10886
|
last_success_at: string | null;
|
|
10887
|
+
provider: string;
|
|
10818
10888
|
updated_at: string;
|
|
10819
10889
|
};
|
|
10820
10890
|
Insert: {
|
|
@@ -10826,6 +10896,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
10826
10896
|
last_error?: string | null;
|
|
10827
10897
|
last_error_at?: string | null;
|
|
10828
10898
|
last_success_at?: string | null;
|
|
10899
|
+
provider?: string;
|
|
10829
10900
|
updated_at?: string;
|
|
10830
10901
|
};
|
|
10831
10902
|
Update: {
|
|
@@ -10837,6 +10908,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
10837
10908
|
last_error?: string | null;
|
|
10838
10909
|
last_error_at?: string | null;
|
|
10839
10910
|
last_success_at?: string | null;
|
|
10911
|
+
provider?: string;
|
|
10840
10912
|
updated_at?: string;
|
|
10841
10913
|
};
|
|
10842
10914
|
Relationships: [];
|
|
@@ -13574,6 +13646,39 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
13574
13646
|
};
|
|
13575
13647
|
Relationships: [];
|
|
13576
13648
|
};
|
|
13649
|
+
print_dedupe_events: {
|
|
13650
|
+
Row: {
|
|
13651
|
+
bestaande_job_id: string | null;
|
|
13652
|
+
created_at: string;
|
|
13653
|
+
detail: string | null;
|
|
13654
|
+
documentnaam: string | null;
|
|
13655
|
+
documenttype: string | null;
|
|
13656
|
+
id: string;
|
|
13657
|
+
idempotentie_sleutel: string;
|
|
13658
|
+
reden: string;
|
|
13659
|
+
};
|
|
13660
|
+
Insert: {
|
|
13661
|
+
bestaande_job_id?: string | null;
|
|
13662
|
+
created_at?: string;
|
|
13663
|
+
detail?: string | null;
|
|
13664
|
+
documentnaam?: string | null;
|
|
13665
|
+
documenttype?: string | null;
|
|
13666
|
+
id?: string;
|
|
13667
|
+
idempotentie_sleutel: string;
|
|
13668
|
+
reden: string;
|
|
13669
|
+
};
|
|
13670
|
+
Update: {
|
|
13671
|
+
bestaande_job_id?: string | null;
|
|
13672
|
+
created_at?: string;
|
|
13673
|
+
detail?: string | null;
|
|
13674
|
+
documentnaam?: string | null;
|
|
13675
|
+
documenttype?: string | null;
|
|
13676
|
+
id?: string;
|
|
13677
|
+
idempotentie_sleutel?: string;
|
|
13678
|
+
reden?: string;
|
|
13679
|
+
};
|
|
13680
|
+
Relationships: [];
|
|
13681
|
+
};
|
|
13577
13682
|
print_job_logs: {
|
|
13578
13683
|
Row: {
|
|
13579
13684
|
created_at: string;
|
|
@@ -13624,6 +13729,9 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
13624
13729
|
is_herprint: boolean;
|
|
13625
13730
|
kopieen: number;
|
|
13626
13731
|
layout_id: string | null;
|
|
13732
|
+
lokaal_opgeslagen_op: string | null;
|
|
13733
|
+
lokale_pdf_fout: string | null;
|
|
13734
|
+
lokale_pdf_status: string | null;
|
|
13627
13735
|
opgepakt_op: string | null;
|
|
13628
13736
|
paginas: number;
|
|
13629
13737
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -13632,6 +13740,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
13632
13740
|
pogingen: number;
|
|
13633
13741
|
printer_id: string | null;
|
|
13634
13742
|
render_html: string | null;
|
|
13743
|
+
resultaat_pdf_base64: string | null;
|
|
13635
13744
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13636
13745
|
updated_at: string;
|
|
13637
13746
|
volgende_poging: string | null;
|
|
@@ -13656,6 +13765,9 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
13656
13765
|
is_herprint?: boolean;
|
|
13657
13766
|
kopieen?: number;
|
|
13658
13767
|
layout_id?: string | null;
|
|
13768
|
+
lokaal_opgeslagen_op?: string | null;
|
|
13769
|
+
lokale_pdf_fout?: string | null;
|
|
13770
|
+
lokale_pdf_status?: string | null;
|
|
13659
13771
|
opgepakt_op?: string | null;
|
|
13660
13772
|
paginas?: number;
|
|
13661
13773
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -13664,6 +13776,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
13664
13776
|
pogingen?: number;
|
|
13665
13777
|
printer_id?: string | null;
|
|
13666
13778
|
render_html?: string | null;
|
|
13779
|
+
resultaat_pdf_base64?: string | null;
|
|
13667
13780
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13668
13781
|
updated_at?: string;
|
|
13669
13782
|
volgende_poging?: string | null;
|
|
@@ -13688,6 +13801,9 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
13688
13801
|
is_herprint?: boolean;
|
|
13689
13802
|
kopieen?: number;
|
|
13690
13803
|
layout_id?: string | null;
|
|
13804
|
+
lokaal_opgeslagen_op?: string | null;
|
|
13805
|
+
lokale_pdf_fout?: string | null;
|
|
13806
|
+
lokale_pdf_status?: string | null;
|
|
13691
13807
|
opgepakt_op?: string | null;
|
|
13692
13808
|
paginas?: number;
|
|
13693
13809
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -13696,6 +13812,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
13696
13812
|
pogingen?: number;
|
|
13697
13813
|
printer_id?: string | null;
|
|
13698
13814
|
render_html?: string | null;
|
|
13815
|
+
resultaat_pdf_base64?: string | null;
|
|
13699
13816
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13700
13817
|
updated_at?: string;
|
|
13701
13818
|
volgende_poging?: string | null;
|
|
@@ -13814,6 +13931,39 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
13814
13931
|
};
|
|
13815
13932
|
Relationships: [];
|
|
13816
13933
|
};
|
|
13934
|
+
print_preview_events: {
|
|
13935
|
+
Row: {
|
|
13936
|
+
code: string | null;
|
|
13937
|
+
created_at: string;
|
|
13938
|
+
detail: import("../integrations/supabase/types").Json;
|
|
13939
|
+
id: string;
|
|
13940
|
+
queue_item_id: string | null;
|
|
13941
|
+
reden: string | null;
|
|
13942
|
+
station_slug: string | null;
|
|
13943
|
+
uitkomst: string;
|
|
13944
|
+
};
|
|
13945
|
+
Insert: {
|
|
13946
|
+
code?: string | null;
|
|
13947
|
+
created_at?: string;
|
|
13948
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
13949
|
+
id?: string;
|
|
13950
|
+
queue_item_id?: string | null;
|
|
13951
|
+
reden?: string | null;
|
|
13952
|
+
station_slug?: string | null;
|
|
13953
|
+
uitkomst?: string;
|
|
13954
|
+
};
|
|
13955
|
+
Update: {
|
|
13956
|
+
code?: string | null;
|
|
13957
|
+
created_at?: string;
|
|
13958
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
13959
|
+
id?: string;
|
|
13960
|
+
queue_item_id?: string | null;
|
|
13961
|
+
reden?: string | null;
|
|
13962
|
+
station_slug?: string | null;
|
|
13963
|
+
uitkomst?: string;
|
|
13964
|
+
};
|
|
13965
|
+
Relationships: [];
|
|
13966
|
+
};
|
|
13817
13967
|
print_queue_runners: {
|
|
13818
13968
|
Row: {
|
|
13819
13969
|
actief: boolean;
|
|
@@ -14053,6 +14203,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
14053
14203
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
14054
14204
|
online: boolean;
|
|
14055
14205
|
papierformaat: string;
|
|
14206
|
+
pdf_map: string | null;
|
|
14056
14207
|
poort: number | null;
|
|
14057
14208
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14058
14209
|
systeemnaam: string;
|
|
@@ -14078,6 +14229,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
14078
14229
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
14079
14230
|
online?: boolean;
|
|
14080
14231
|
papierformaat?: string;
|
|
14232
|
+
pdf_map?: string | null;
|
|
14081
14233
|
poort?: number | null;
|
|
14082
14234
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14083
14235
|
systeemnaam?: string;
|
|
@@ -14103,6 +14255,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
14103
14255
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
14104
14256
|
online?: boolean;
|
|
14105
14257
|
papierformaat?: string;
|
|
14258
|
+
pdf_map?: string | null;
|
|
14106
14259
|
poort?: number | null;
|
|
14107
14260
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14108
14261
|
systeemnaam?: string;
|
|
@@ -20359,6 +20512,9 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
20359
20512
|
is_herprint: boolean;
|
|
20360
20513
|
kopieen: number;
|
|
20361
20514
|
layout_id: string | null;
|
|
20515
|
+
lokaal_opgeslagen_op: string | null;
|
|
20516
|
+
lokale_pdf_fout: string | null;
|
|
20517
|
+
lokale_pdf_status: string | null;
|
|
20362
20518
|
opgepakt_op: string | null;
|
|
20363
20519
|
paginas: number;
|
|
20364
20520
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -20367,6 +20523,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
20367
20523
|
pogingen: number;
|
|
20368
20524
|
printer_id: string | null;
|
|
20369
20525
|
render_html: string | null;
|
|
20526
|
+
resultaat_pdf_base64: string | null;
|
|
20370
20527
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20371
20528
|
updated_at: string;
|
|
20372
20529
|
volgende_poging: string | null;
|
|
@@ -20458,6 +20615,53 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
20458
20615
|
isSetofReturn: true;
|
|
20459
20616
|
};
|
|
20460
20617
|
};
|
|
20618
|
+
claim_pdf_print_jobs: {
|
|
20619
|
+
Args: {
|
|
20620
|
+
_max?: number;
|
|
20621
|
+
};
|
|
20622
|
+
Returns: {
|
|
20623
|
+
agent_id: string | null;
|
|
20624
|
+
bron_job_id: string | null;
|
|
20625
|
+
created_at: string;
|
|
20626
|
+
documentnaam: string;
|
|
20627
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
20628
|
+
extern_job_id: string | null;
|
|
20629
|
+
foutmelding: string | null;
|
|
20630
|
+
gebruiker_id: string | null;
|
|
20631
|
+
gebruiker_naam: string;
|
|
20632
|
+
gebruikte_bron: string | null;
|
|
20633
|
+
gebruikte_layout_id: string | null;
|
|
20634
|
+
gestart_op: string | null;
|
|
20635
|
+
herkomst: string | null;
|
|
20636
|
+
id: string;
|
|
20637
|
+
idempotentie_sleutel: string | null;
|
|
20638
|
+
is_herprint: boolean;
|
|
20639
|
+
kopieen: number;
|
|
20640
|
+
layout_id: string | null;
|
|
20641
|
+
lokaal_opgeslagen_op: string | null;
|
|
20642
|
+
lokale_pdf_fout: string | null;
|
|
20643
|
+
lokale_pdf_status: string | null;
|
|
20644
|
+
opgepakt_op: string | null;
|
|
20645
|
+
paginas: number;
|
|
20646
|
+
payload: import("../integrations/supabase/types").Json;
|
|
20647
|
+
pdf_base64: string | null;
|
|
20648
|
+
pdf_url: string | null;
|
|
20649
|
+
pogingen: number;
|
|
20650
|
+
printer_id: string | null;
|
|
20651
|
+
render_html: string | null;
|
|
20652
|
+
resultaat_pdf_base64: string | null;
|
|
20653
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20654
|
+
updated_at: string;
|
|
20655
|
+
volgende_poging: string | null;
|
|
20656
|
+
voltooid_op: string | null;
|
|
20657
|
+
}[];
|
|
20658
|
+
SetofOptions: {
|
|
20659
|
+
from: "*";
|
|
20660
|
+
to: "print_jobs";
|
|
20661
|
+
isOneToOne: false;
|
|
20662
|
+
isSetofReturn: true;
|
|
20663
|
+
};
|
|
20664
|
+
};
|
|
20461
20665
|
claim_print_jobs: {
|
|
20462
20666
|
Args: {
|
|
20463
20667
|
_agent_id: string;
|
|
@@ -20482,6 +20686,9 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
20482
20686
|
is_herprint: boolean;
|
|
20483
20687
|
kopieen: number;
|
|
20484
20688
|
layout_id: string | null;
|
|
20689
|
+
lokaal_opgeslagen_op: string | null;
|
|
20690
|
+
lokale_pdf_fout: string | null;
|
|
20691
|
+
lokale_pdf_status: string | null;
|
|
20485
20692
|
opgepakt_op: string | null;
|
|
20486
20693
|
paginas: number;
|
|
20487
20694
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -20490,6 +20697,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
20490
20697
|
pogingen: number;
|
|
20491
20698
|
printer_id: string | null;
|
|
20492
20699
|
render_html: string | null;
|
|
20700
|
+
resultaat_pdf_base64: string | null;
|
|
20493
20701
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20494
20702
|
updated_at: string;
|
|
20495
20703
|
volgende_poging: string | null;
|
|
@@ -20630,6 +20838,8 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
20630
20838
|
order_id: string;
|
|
20631
20839
|
order_source: string;
|
|
20632
20840
|
pick_date: string;
|
|
20841
|
+
printed_at: string;
|
|
20842
|
+
printed_today: boolean;
|
|
20633
20843
|
status: string;
|
|
20634
20844
|
}[];
|
|
20635
20845
|
};
|
|
@@ -21338,6 +21548,10 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
21338
21548
|
};
|
|
21339
21549
|
Returns: number;
|
|
21340
21550
|
};
|
|
21551
|
+
logistics_cancel_orphan_tasks: {
|
|
21552
|
+
Args: never;
|
|
21553
|
+
Returns: number;
|
|
21554
|
+
};
|
|
21341
21555
|
logistics_capacity_day_check: {
|
|
21342
21556
|
Args: {
|
|
21343
21557
|
p_from?: string;
|
|
@@ -21358,6 +21572,25 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
21358
21572
|
};
|
|
21359
21573
|
Returns: number;
|
|
21360
21574
|
};
|
|
21575
|
+
logistics_cart_index: {
|
|
21576
|
+
Args: {
|
|
21577
|
+
p_from?: string;
|
|
21578
|
+
p_to?: string;
|
|
21579
|
+
};
|
|
21580
|
+
Returns: {
|
|
21581
|
+
cart_id: string;
|
|
21582
|
+
cart_index: number;
|
|
21583
|
+
cart_label: string;
|
|
21584
|
+
is_shared: boolean;
|
|
21585
|
+
order_number: string;
|
|
21586
|
+
order_source: string;
|
|
21587
|
+
order_uuid: string;
|
|
21588
|
+
pick_date: string;
|
|
21589
|
+
printed_at: string;
|
|
21590
|
+
shifted: boolean;
|
|
21591
|
+
task_status: string;
|
|
21592
|
+
}[];
|
|
21593
|
+
};
|
|
21361
21594
|
logistics_check_order_allowed: {
|
|
21362
21595
|
Args: {
|
|
21363
21596
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -21506,6 +21739,17 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
21506
21739
|
isSetofReturn: false;
|
|
21507
21740
|
};
|
|
21508
21741
|
};
|
|
21742
|
+
logistics_consistency_check: {
|
|
21743
|
+
Args: never;
|
|
21744
|
+
Returns: {
|
|
21745
|
+
agenda_carts: number;
|
|
21746
|
+
control_carts: number;
|
|
21747
|
+
ok: boolean;
|
|
21748
|
+
orphan_tasks: number;
|
|
21749
|
+
pick_date: string;
|
|
21750
|
+
raw_carts: number;
|
|
21751
|
+
}[];
|
|
21752
|
+
};
|
|
21509
21753
|
logistics_delay_customer_email: {
|
|
21510
21754
|
Args: {
|
|
21511
21755
|
p_customer: string;
|
|
@@ -21595,6 +21839,16 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
21595
21839
|
isSetofReturn: false;
|
|
21596
21840
|
};
|
|
21597
21841
|
};
|
|
21842
|
+
logistics_floriday_cart_plan: {
|
|
21843
|
+
Args: {
|
|
21844
|
+
p_order_id: string;
|
|
21845
|
+
};
|
|
21846
|
+
Returns: {
|
|
21847
|
+
carrier_type: string;
|
|
21848
|
+
idx: number;
|
|
21849
|
+
packages: number;
|
|
21850
|
+
}[];
|
|
21851
|
+
};
|
|
21598
21852
|
logistics_floriday_claim_pushes: {
|
|
21599
21853
|
Args: {
|
|
21600
21854
|
_lease_seconds?: number;
|
|
@@ -21699,6 +21953,25 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
21699
21953
|
};
|
|
21700
21954
|
Returns: number;
|
|
21701
21955
|
};
|
|
21956
|
+
logistics_order_overview: {
|
|
21957
|
+
Args: {
|
|
21958
|
+
p_from?: string;
|
|
21959
|
+
p_to?: string;
|
|
21960
|
+
};
|
|
21961
|
+
Returns: {
|
|
21962
|
+
cart_count: number;
|
|
21963
|
+
customer_name: string;
|
|
21964
|
+
delivery_date: string;
|
|
21965
|
+
order_number: string;
|
|
21966
|
+
order_source: string;
|
|
21967
|
+
order_uuid: string;
|
|
21968
|
+
pick_date: string;
|
|
21969
|
+
plant_count: number;
|
|
21970
|
+
printed_at: string;
|
|
21971
|
+
shifted: boolean;
|
|
21972
|
+
status: string;
|
|
21973
|
+
}[];
|
|
21974
|
+
};
|
|
21702
21975
|
logistics_order_pick_day: {
|
|
21703
21976
|
Args: {
|
|
21704
21977
|
p_order_ref: string;
|
|
@@ -21711,6 +21984,22 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
21711
21984
|
};
|
|
21712
21985
|
Returns: string;
|
|
21713
21986
|
};
|
|
21987
|
+
logistics_pick_agenda: {
|
|
21988
|
+
Args: {
|
|
21989
|
+
p_from?: string;
|
|
21990
|
+
p_to?: string;
|
|
21991
|
+
};
|
|
21992
|
+
Returns: {
|
|
21993
|
+
cart_count: number;
|
|
21994
|
+
in_preparation: number;
|
|
21995
|
+
order_count: number;
|
|
21996
|
+
orders: import("../integrations/supabase/types").Json;
|
|
21997
|
+
pick_date: string;
|
|
21998
|
+
plant_count: number;
|
|
21999
|
+
ready: number;
|
|
22000
|
+
shifted_count: number;
|
|
22001
|
+
}[];
|
|
22002
|
+
};
|
|
21714
22003
|
logistics_pick_email_purpose: {
|
|
21715
22004
|
Args: never;
|
|
21716
22005
|
Returns: string;
|
|
@@ -21765,6 +22054,13 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
21765
22054
|
};
|
|
21766
22055
|
Returns: undefined;
|
|
21767
22056
|
};
|
|
22057
|
+
logistics_plan_floriday_order: {
|
|
22058
|
+
Args: {
|
|
22059
|
+
p_buffer_id?: string;
|
|
22060
|
+
p_order_id: string;
|
|
22061
|
+
};
|
|
22062
|
+
Returns: number;
|
|
22063
|
+
};
|
|
21768
22064
|
logistics_plan_impact_orders: {
|
|
21769
22065
|
Args: {
|
|
21770
22066
|
p_order_id: string;
|
|
@@ -21870,6 +22166,15 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
21870
22166
|
};
|
|
21871
22167
|
Returns: import("../integrations/supabase/types").Json;
|
|
21872
22168
|
};
|
|
22169
|
+
logistics_resolve_pick_document: {
|
|
22170
|
+
Args: {
|
|
22171
|
+
_is_herprint: boolean;
|
|
22172
|
+
_queue_item_id: string;
|
|
22173
|
+
_session_id: string;
|
|
22174
|
+
_voorbeeld: boolean;
|
|
22175
|
+
};
|
|
22176
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22177
|
+
};
|
|
21873
22178
|
logistics_resolve_settings: {
|
|
21874
22179
|
Args: {
|
|
21875
22180
|
p_config_id: string;
|
|
@@ -22000,14 +22305,6 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
22000
22305
|
};
|
|
22001
22306
|
Returns: string;
|
|
22002
22307
|
};
|
|
22003
|
-
maps_cron_token: {
|
|
22004
|
-
Args: never;
|
|
22005
|
-
Returns: string;
|
|
22006
|
-
};
|
|
22007
|
-
maps_kick_queue: {
|
|
22008
|
-
Args: never;
|
|
22009
|
-
Returns: undefined;
|
|
22010
|
-
};
|
|
22011
22308
|
mark_offer_clicked: {
|
|
22012
22309
|
Args: {
|
|
22013
22310
|
p_code: string;
|
|
@@ -22318,6 +22615,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
22318
22615
|
};
|
|
22319
22616
|
pick_enqueue_print_job: {
|
|
22320
22617
|
Args: {
|
|
22618
|
+
_is_herprint?: boolean;
|
|
22321
22619
|
_printer_id?: string;
|
|
22322
22620
|
_queue_item_id: string;
|
|
22323
22621
|
_session_id?: string;
|
|
@@ -22331,6 +22629,13 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
22331
22629
|
};
|
|
22332
22630
|
Returns: import("../integrations/supabase/types").Json;
|
|
22333
22631
|
};
|
|
22632
|
+
pick_preview_job: {
|
|
22633
|
+
Args: {
|
|
22634
|
+
_queue_item_id: string;
|
|
22635
|
+
_station_slug: string;
|
|
22636
|
+
};
|
|
22637
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22638
|
+
};
|
|
22334
22639
|
pick_print_job_status: {
|
|
22335
22640
|
Args: {
|
|
22336
22641
|
_job_id: string;
|
|
@@ -22508,6 +22813,24 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
22508
22813
|
};
|
|
22509
22814
|
Returns: undefined;
|
|
22510
22815
|
};
|
|
22816
|
+
print_preview_toestaan: {
|
|
22817
|
+
Args: {
|
|
22818
|
+
_max?: number;
|
|
22819
|
+
_queue_item_id: string;
|
|
22820
|
+
_station_slug: string;
|
|
22821
|
+
_venster_sec?: number;
|
|
22822
|
+
};
|
|
22823
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22824
|
+
};
|
|
22825
|
+
print_preview_weiger: {
|
|
22826
|
+
Args: {
|
|
22827
|
+
_code: string;
|
|
22828
|
+
_queue_item_id: string;
|
|
22829
|
+
_reden: string;
|
|
22830
|
+
_station_slug: string;
|
|
22831
|
+
};
|
|
22832
|
+
Returns: undefined;
|
|
22833
|
+
};
|
|
22511
22834
|
process_logistics_event: {
|
|
22512
22835
|
Args: {
|
|
22513
22836
|
p_event_id: string;
|
|
@@ -22625,6 +22948,14 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
22625
22948
|
};
|
|
22626
22949
|
Returns: undefined;
|
|
22627
22950
|
};
|
|
22951
|
+
replace_order_carts: {
|
|
22952
|
+
Args: {
|
|
22953
|
+
p_buffer_id: string;
|
|
22954
|
+
p_carts: import("../integrations/supabase/types").Json;
|
|
22955
|
+
p_order_id: string;
|
|
22956
|
+
};
|
|
22957
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22958
|
+
};
|
|
22628
22959
|
reset_floriday_sync_cursor: {
|
|
22629
22960
|
Args: {
|
|
22630
22961
|
p_connection_id: string;
|
|
@@ -22654,6 +22985,12 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
22654
22985
|
};
|
|
22655
22986
|
Returns: string;
|
|
22656
22987
|
};
|
|
22988
|
+
resolve_print_job_printer_id: {
|
|
22989
|
+
Args: {
|
|
22990
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
22991
|
+
};
|
|
22992
|
+
Returns: string;
|
|
22993
|
+
};
|
|
22657
22994
|
resolve_product_id_for_item: {
|
|
22658
22995
|
Args: {
|
|
22659
22996
|
p_product_name: string;
|
|
@@ -23245,7 +23582,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
23245
23582
|
};
|
|
23246
23583
|
CompositeTypes: { [_ in never]: never; };
|
|
23247
23584
|
}, {
|
|
23248
|
-
PostgrestVersion: "14.
|
|
23585
|
+
PostgrestVersion: "14.5";
|
|
23249
23586
|
}>;
|
|
23250
23587
|
userId: string;
|
|
23251
23588
|
claims: import("@supabase/auth-js").User;
|
|
@@ -26110,6 +26447,84 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
26110
26447
|
};
|
|
26111
26448
|
Relationships: [];
|
|
26112
26449
|
};
|
|
26450
|
+
delivery_notes: {
|
|
26451
|
+
Row: {
|
|
26452
|
+
byte_size: number | null;
|
|
26453
|
+
connection_id: string | null;
|
|
26454
|
+
content_type: string;
|
|
26455
|
+
created_at: string;
|
|
26456
|
+
error_message: string | null;
|
|
26457
|
+
fetched_at: string | null;
|
|
26458
|
+
fulfillment_order_id: string | null;
|
|
26459
|
+
http_status: number | null;
|
|
26460
|
+
id: string;
|
|
26461
|
+
label_code: string | null;
|
|
26462
|
+
letter: string | null;
|
|
26463
|
+
load_carrier_index: number | null;
|
|
26464
|
+
load_carrier_type: string | null;
|
|
26465
|
+
order_id: string | null;
|
|
26466
|
+
order_number: string | null;
|
|
26467
|
+
packages: number | null;
|
|
26468
|
+
source: string;
|
|
26469
|
+
status: string;
|
|
26470
|
+
storage_bucket: string;
|
|
26471
|
+
storage_path: string | null;
|
|
26472
|
+
updated_at: string;
|
|
26473
|
+
};
|
|
26474
|
+
Insert: {
|
|
26475
|
+
byte_size?: number | null;
|
|
26476
|
+
connection_id?: string | null;
|
|
26477
|
+
content_type?: string;
|
|
26478
|
+
created_at?: string;
|
|
26479
|
+
error_message?: string | null;
|
|
26480
|
+
fetched_at?: string | null;
|
|
26481
|
+
fulfillment_order_id?: string | null;
|
|
26482
|
+
http_status?: number | null;
|
|
26483
|
+
id?: string;
|
|
26484
|
+
label_code?: string | null;
|
|
26485
|
+
letter?: string | null;
|
|
26486
|
+
load_carrier_index?: number | null;
|
|
26487
|
+
load_carrier_type?: string | null;
|
|
26488
|
+
order_id?: string | null;
|
|
26489
|
+
order_number?: string | null;
|
|
26490
|
+
packages?: number | null;
|
|
26491
|
+
source?: string;
|
|
26492
|
+
status?: string;
|
|
26493
|
+
storage_bucket?: string;
|
|
26494
|
+
storage_path?: string | null;
|
|
26495
|
+
updated_at?: string;
|
|
26496
|
+
};
|
|
26497
|
+
Update: {
|
|
26498
|
+
byte_size?: number | null;
|
|
26499
|
+
connection_id?: string | null;
|
|
26500
|
+
content_type?: string;
|
|
26501
|
+
created_at?: string;
|
|
26502
|
+
error_message?: string | null;
|
|
26503
|
+
fetched_at?: string | null;
|
|
26504
|
+
fulfillment_order_id?: string | null;
|
|
26505
|
+
http_status?: number | null;
|
|
26506
|
+
id?: string;
|
|
26507
|
+
label_code?: string | null;
|
|
26508
|
+
letter?: string | null;
|
|
26509
|
+
load_carrier_index?: number | null;
|
|
26510
|
+
load_carrier_type?: string | null;
|
|
26511
|
+
order_id?: string | null;
|
|
26512
|
+
order_number?: string | null;
|
|
26513
|
+
packages?: number | null;
|
|
26514
|
+
source?: string;
|
|
26515
|
+
status?: string;
|
|
26516
|
+
storage_bucket?: string;
|
|
26517
|
+
storage_path?: string | null;
|
|
26518
|
+
updated_at?: string;
|
|
26519
|
+
};
|
|
26520
|
+
Relationships: [{
|
|
26521
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
26522
|
+
columns: ["order_id"];
|
|
26523
|
+
isOneToOne: false;
|
|
26524
|
+
referencedRelation: "orders";
|
|
26525
|
+
referencedColumns: ["id"];
|
|
26526
|
+
}];
|
|
26527
|
+
};
|
|
26113
26528
|
document_bronregels: {
|
|
26114
26529
|
Row: {
|
|
26115
26530
|
bron: string;
|
|
@@ -29163,10 +29578,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
29163
29578
|
};
|
|
29164
29579
|
floriday_connections: {
|
|
29165
29580
|
Row: {
|
|
29166
|
-
access_token: string | null;
|
|
29167
29581
|
api_key: string;
|
|
29168
|
-
client_id: string;
|
|
29169
|
-
client_secret: string;
|
|
29170
29582
|
created_at: string;
|
|
29171
29583
|
customers_endpoint: string | null;
|
|
29172
29584
|
environment: string;
|
|
@@ -29181,10 +29593,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
29181
29593
|
updated_at: string;
|
|
29182
29594
|
};
|
|
29183
29595
|
Insert: {
|
|
29184
|
-
access_token?: string | null;
|
|
29185
29596
|
api_key: string;
|
|
29186
|
-
client_id: string;
|
|
29187
|
-
client_secret: string;
|
|
29188
29597
|
created_at?: string;
|
|
29189
29598
|
customers_endpoint?: string | null;
|
|
29190
29599
|
environment: string;
|
|
@@ -29199,10 +29608,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
29199
29608
|
updated_at?: string;
|
|
29200
29609
|
};
|
|
29201
29610
|
Update: {
|
|
29202
|
-
access_token?: string | null;
|
|
29203
29611
|
api_key?: string;
|
|
29204
|
-
client_id?: string;
|
|
29205
|
-
client_secret?: string;
|
|
29206
29612
|
created_at?: string;
|
|
29207
29613
|
customers_endpoint?: string | null;
|
|
29208
29614
|
environment?: string;
|
|
@@ -34073,6 +34479,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
34073
34479
|
last_error: string | null;
|
|
34074
34480
|
last_error_at: string | null;
|
|
34075
34481
|
last_success_at: string | null;
|
|
34482
|
+
provider: string;
|
|
34076
34483
|
updated_at: string;
|
|
34077
34484
|
};
|
|
34078
34485
|
Insert: {
|
|
@@ -34084,6 +34491,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
34084
34491
|
last_error?: string | null;
|
|
34085
34492
|
last_error_at?: string | null;
|
|
34086
34493
|
last_success_at?: string | null;
|
|
34494
|
+
provider?: string;
|
|
34087
34495
|
updated_at?: string;
|
|
34088
34496
|
};
|
|
34089
34497
|
Update: {
|
|
@@ -34095,6 +34503,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
34095
34503
|
last_error?: string | null;
|
|
34096
34504
|
last_error_at?: string | null;
|
|
34097
34505
|
last_success_at?: string | null;
|
|
34506
|
+
provider?: string;
|
|
34098
34507
|
updated_at?: string;
|
|
34099
34508
|
};
|
|
34100
34509
|
Relationships: [];
|
|
@@ -36832,6 +37241,39 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
36832
37241
|
};
|
|
36833
37242
|
Relationships: [];
|
|
36834
37243
|
};
|
|
37244
|
+
print_dedupe_events: {
|
|
37245
|
+
Row: {
|
|
37246
|
+
bestaande_job_id: string | null;
|
|
37247
|
+
created_at: string;
|
|
37248
|
+
detail: string | null;
|
|
37249
|
+
documentnaam: string | null;
|
|
37250
|
+
documenttype: string | null;
|
|
37251
|
+
id: string;
|
|
37252
|
+
idempotentie_sleutel: string;
|
|
37253
|
+
reden: string;
|
|
37254
|
+
};
|
|
37255
|
+
Insert: {
|
|
37256
|
+
bestaande_job_id?: string | null;
|
|
37257
|
+
created_at?: string;
|
|
37258
|
+
detail?: string | null;
|
|
37259
|
+
documentnaam?: string | null;
|
|
37260
|
+
documenttype?: string | null;
|
|
37261
|
+
id?: string;
|
|
37262
|
+
idempotentie_sleutel: string;
|
|
37263
|
+
reden: string;
|
|
37264
|
+
};
|
|
37265
|
+
Update: {
|
|
37266
|
+
bestaande_job_id?: string | null;
|
|
37267
|
+
created_at?: string;
|
|
37268
|
+
detail?: string | null;
|
|
37269
|
+
documentnaam?: string | null;
|
|
37270
|
+
documenttype?: string | null;
|
|
37271
|
+
id?: string;
|
|
37272
|
+
idempotentie_sleutel?: string;
|
|
37273
|
+
reden?: string;
|
|
37274
|
+
};
|
|
37275
|
+
Relationships: [];
|
|
37276
|
+
};
|
|
36835
37277
|
print_job_logs: {
|
|
36836
37278
|
Row: {
|
|
36837
37279
|
created_at: string;
|
|
@@ -36882,6 +37324,9 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
36882
37324
|
is_herprint: boolean;
|
|
36883
37325
|
kopieen: number;
|
|
36884
37326
|
layout_id: string | null;
|
|
37327
|
+
lokaal_opgeslagen_op: string | null;
|
|
37328
|
+
lokale_pdf_fout: string | null;
|
|
37329
|
+
lokale_pdf_status: string | null;
|
|
36885
37330
|
opgepakt_op: string | null;
|
|
36886
37331
|
paginas: number;
|
|
36887
37332
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -36890,6 +37335,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
36890
37335
|
pogingen: number;
|
|
36891
37336
|
printer_id: string | null;
|
|
36892
37337
|
render_html: string | null;
|
|
37338
|
+
resultaat_pdf_base64: string | null;
|
|
36893
37339
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
36894
37340
|
updated_at: string;
|
|
36895
37341
|
volgende_poging: string | null;
|
|
@@ -36914,6 +37360,9 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
36914
37360
|
is_herprint?: boolean;
|
|
36915
37361
|
kopieen?: number;
|
|
36916
37362
|
layout_id?: string | null;
|
|
37363
|
+
lokaal_opgeslagen_op?: string | null;
|
|
37364
|
+
lokale_pdf_fout?: string | null;
|
|
37365
|
+
lokale_pdf_status?: string | null;
|
|
36917
37366
|
opgepakt_op?: string | null;
|
|
36918
37367
|
paginas?: number;
|
|
36919
37368
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -36922,6 +37371,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
36922
37371
|
pogingen?: number;
|
|
36923
37372
|
printer_id?: string | null;
|
|
36924
37373
|
render_html?: string | null;
|
|
37374
|
+
resultaat_pdf_base64?: string | null;
|
|
36925
37375
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
36926
37376
|
updated_at?: string;
|
|
36927
37377
|
volgende_poging?: string | null;
|
|
@@ -36946,6 +37396,9 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
36946
37396
|
is_herprint?: boolean;
|
|
36947
37397
|
kopieen?: number;
|
|
36948
37398
|
layout_id?: string | null;
|
|
37399
|
+
lokaal_opgeslagen_op?: string | null;
|
|
37400
|
+
lokale_pdf_fout?: string | null;
|
|
37401
|
+
lokale_pdf_status?: string | null;
|
|
36949
37402
|
opgepakt_op?: string | null;
|
|
36950
37403
|
paginas?: number;
|
|
36951
37404
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -36954,6 +37407,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
36954
37407
|
pogingen?: number;
|
|
36955
37408
|
printer_id?: string | null;
|
|
36956
37409
|
render_html?: string | null;
|
|
37410
|
+
resultaat_pdf_base64?: string | null;
|
|
36957
37411
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
36958
37412
|
updated_at?: string;
|
|
36959
37413
|
volgende_poging?: string | null;
|
|
@@ -37072,6 +37526,39 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
37072
37526
|
};
|
|
37073
37527
|
Relationships: [];
|
|
37074
37528
|
};
|
|
37529
|
+
print_preview_events: {
|
|
37530
|
+
Row: {
|
|
37531
|
+
code: string | null;
|
|
37532
|
+
created_at: string;
|
|
37533
|
+
detail: import("../integrations/supabase/types").Json;
|
|
37534
|
+
id: string;
|
|
37535
|
+
queue_item_id: string | null;
|
|
37536
|
+
reden: string | null;
|
|
37537
|
+
station_slug: string | null;
|
|
37538
|
+
uitkomst: string;
|
|
37539
|
+
};
|
|
37540
|
+
Insert: {
|
|
37541
|
+
code?: string | null;
|
|
37542
|
+
created_at?: string;
|
|
37543
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
37544
|
+
id?: string;
|
|
37545
|
+
queue_item_id?: string | null;
|
|
37546
|
+
reden?: string | null;
|
|
37547
|
+
station_slug?: string | null;
|
|
37548
|
+
uitkomst?: string;
|
|
37549
|
+
};
|
|
37550
|
+
Update: {
|
|
37551
|
+
code?: string | null;
|
|
37552
|
+
created_at?: string;
|
|
37553
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
37554
|
+
id?: string;
|
|
37555
|
+
queue_item_id?: string | null;
|
|
37556
|
+
reden?: string | null;
|
|
37557
|
+
station_slug?: string | null;
|
|
37558
|
+
uitkomst?: string;
|
|
37559
|
+
};
|
|
37560
|
+
Relationships: [];
|
|
37561
|
+
};
|
|
37075
37562
|
print_queue_runners: {
|
|
37076
37563
|
Row: {
|
|
37077
37564
|
actief: boolean;
|
|
@@ -37311,6 +37798,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
37311
37798
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
37312
37799
|
online: boolean;
|
|
37313
37800
|
papierformaat: string;
|
|
37801
|
+
pdf_map: string | null;
|
|
37314
37802
|
poort: number | null;
|
|
37315
37803
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37316
37804
|
systeemnaam: string;
|
|
@@ -37336,6 +37824,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
37336
37824
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
37337
37825
|
online?: boolean;
|
|
37338
37826
|
papierformaat?: string;
|
|
37827
|
+
pdf_map?: string | null;
|
|
37339
37828
|
poort?: number | null;
|
|
37340
37829
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37341
37830
|
systeemnaam?: string;
|
|
@@ -37361,6 +37850,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
37361
37850
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
37362
37851
|
online?: boolean;
|
|
37363
37852
|
papierformaat?: string;
|
|
37853
|
+
pdf_map?: string | null;
|
|
37364
37854
|
poort?: number | null;
|
|
37365
37855
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37366
37856
|
systeemnaam?: string;
|
|
@@ -43617,6 +44107,9 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
43617
44107
|
is_herprint: boolean;
|
|
43618
44108
|
kopieen: number;
|
|
43619
44109
|
layout_id: string | null;
|
|
44110
|
+
lokaal_opgeslagen_op: string | null;
|
|
44111
|
+
lokale_pdf_fout: string | null;
|
|
44112
|
+
lokale_pdf_status: string | null;
|
|
43620
44113
|
opgepakt_op: string | null;
|
|
43621
44114
|
paginas: number;
|
|
43622
44115
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -43625,6 +44118,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
43625
44118
|
pogingen: number;
|
|
43626
44119
|
printer_id: string | null;
|
|
43627
44120
|
render_html: string | null;
|
|
44121
|
+
resultaat_pdf_base64: string | null;
|
|
43628
44122
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
43629
44123
|
updated_at: string;
|
|
43630
44124
|
volgende_poging: string | null;
|
|
@@ -43716,6 +44210,53 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
43716
44210
|
isSetofReturn: true;
|
|
43717
44211
|
};
|
|
43718
44212
|
};
|
|
44213
|
+
claim_pdf_print_jobs: {
|
|
44214
|
+
Args: {
|
|
44215
|
+
_max?: number;
|
|
44216
|
+
};
|
|
44217
|
+
Returns: {
|
|
44218
|
+
agent_id: string | null;
|
|
44219
|
+
bron_job_id: string | null;
|
|
44220
|
+
created_at: string;
|
|
44221
|
+
documentnaam: string;
|
|
44222
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
44223
|
+
extern_job_id: string | null;
|
|
44224
|
+
foutmelding: string | null;
|
|
44225
|
+
gebruiker_id: string | null;
|
|
44226
|
+
gebruiker_naam: string;
|
|
44227
|
+
gebruikte_bron: string | null;
|
|
44228
|
+
gebruikte_layout_id: string | null;
|
|
44229
|
+
gestart_op: string | null;
|
|
44230
|
+
herkomst: string | null;
|
|
44231
|
+
id: string;
|
|
44232
|
+
idempotentie_sleutel: string | null;
|
|
44233
|
+
is_herprint: boolean;
|
|
44234
|
+
kopieen: number;
|
|
44235
|
+
layout_id: string | null;
|
|
44236
|
+
lokaal_opgeslagen_op: string | null;
|
|
44237
|
+
lokale_pdf_fout: string | null;
|
|
44238
|
+
lokale_pdf_status: string | null;
|
|
44239
|
+
opgepakt_op: string | null;
|
|
44240
|
+
paginas: number;
|
|
44241
|
+
payload: import("../integrations/supabase/types").Json;
|
|
44242
|
+
pdf_base64: string | null;
|
|
44243
|
+
pdf_url: string | null;
|
|
44244
|
+
pogingen: number;
|
|
44245
|
+
printer_id: string | null;
|
|
44246
|
+
render_html: string | null;
|
|
44247
|
+
resultaat_pdf_base64: string | null;
|
|
44248
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
44249
|
+
updated_at: string;
|
|
44250
|
+
volgende_poging: string | null;
|
|
44251
|
+
voltooid_op: string | null;
|
|
44252
|
+
}[];
|
|
44253
|
+
SetofOptions: {
|
|
44254
|
+
from: "*";
|
|
44255
|
+
to: "print_jobs";
|
|
44256
|
+
isOneToOne: false;
|
|
44257
|
+
isSetofReturn: true;
|
|
44258
|
+
};
|
|
44259
|
+
};
|
|
43719
44260
|
claim_print_jobs: {
|
|
43720
44261
|
Args: {
|
|
43721
44262
|
_agent_id: string;
|
|
@@ -43740,6 +44281,9 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
43740
44281
|
is_herprint: boolean;
|
|
43741
44282
|
kopieen: number;
|
|
43742
44283
|
layout_id: string | null;
|
|
44284
|
+
lokaal_opgeslagen_op: string | null;
|
|
44285
|
+
lokale_pdf_fout: string | null;
|
|
44286
|
+
lokale_pdf_status: string | null;
|
|
43743
44287
|
opgepakt_op: string | null;
|
|
43744
44288
|
paginas: number;
|
|
43745
44289
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -43748,6 +44292,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
43748
44292
|
pogingen: number;
|
|
43749
44293
|
printer_id: string | null;
|
|
43750
44294
|
render_html: string | null;
|
|
44295
|
+
resultaat_pdf_base64: string | null;
|
|
43751
44296
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
43752
44297
|
updated_at: string;
|
|
43753
44298
|
volgende_poging: string | null;
|
|
@@ -43888,6 +44433,8 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
43888
44433
|
order_id: string;
|
|
43889
44434
|
order_source: string;
|
|
43890
44435
|
pick_date: string;
|
|
44436
|
+
printed_at: string;
|
|
44437
|
+
printed_today: boolean;
|
|
43891
44438
|
status: string;
|
|
43892
44439
|
}[];
|
|
43893
44440
|
};
|
|
@@ -44596,6 +45143,10 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
44596
45143
|
};
|
|
44597
45144
|
Returns: number;
|
|
44598
45145
|
};
|
|
45146
|
+
logistics_cancel_orphan_tasks: {
|
|
45147
|
+
Args: never;
|
|
45148
|
+
Returns: number;
|
|
45149
|
+
};
|
|
44599
45150
|
logistics_capacity_day_check: {
|
|
44600
45151
|
Args: {
|
|
44601
45152
|
p_from?: string;
|
|
@@ -44616,6 +45167,25 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
44616
45167
|
};
|
|
44617
45168
|
Returns: number;
|
|
44618
45169
|
};
|
|
45170
|
+
logistics_cart_index: {
|
|
45171
|
+
Args: {
|
|
45172
|
+
p_from?: string;
|
|
45173
|
+
p_to?: string;
|
|
45174
|
+
};
|
|
45175
|
+
Returns: {
|
|
45176
|
+
cart_id: string;
|
|
45177
|
+
cart_index: number;
|
|
45178
|
+
cart_label: string;
|
|
45179
|
+
is_shared: boolean;
|
|
45180
|
+
order_number: string;
|
|
45181
|
+
order_source: string;
|
|
45182
|
+
order_uuid: string;
|
|
45183
|
+
pick_date: string;
|
|
45184
|
+
printed_at: string;
|
|
45185
|
+
shifted: boolean;
|
|
45186
|
+
task_status: string;
|
|
45187
|
+
}[];
|
|
45188
|
+
};
|
|
44619
45189
|
logistics_check_order_allowed: {
|
|
44620
45190
|
Args: {
|
|
44621
45191
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -44764,6 +45334,17 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
44764
45334
|
isSetofReturn: false;
|
|
44765
45335
|
};
|
|
44766
45336
|
};
|
|
45337
|
+
logistics_consistency_check: {
|
|
45338
|
+
Args: never;
|
|
45339
|
+
Returns: {
|
|
45340
|
+
agenda_carts: number;
|
|
45341
|
+
control_carts: number;
|
|
45342
|
+
ok: boolean;
|
|
45343
|
+
orphan_tasks: number;
|
|
45344
|
+
pick_date: string;
|
|
45345
|
+
raw_carts: number;
|
|
45346
|
+
}[];
|
|
45347
|
+
};
|
|
44767
45348
|
logistics_delay_customer_email: {
|
|
44768
45349
|
Args: {
|
|
44769
45350
|
p_customer: string;
|
|
@@ -44853,6 +45434,16 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
44853
45434
|
isSetofReturn: false;
|
|
44854
45435
|
};
|
|
44855
45436
|
};
|
|
45437
|
+
logistics_floriday_cart_plan: {
|
|
45438
|
+
Args: {
|
|
45439
|
+
p_order_id: string;
|
|
45440
|
+
};
|
|
45441
|
+
Returns: {
|
|
45442
|
+
carrier_type: string;
|
|
45443
|
+
idx: number;
|
|
45444
|
+
packages: number;
|
|
45445
|
+
}[];
|
|
45446
|
+
};
|
|
44856
45447
|
logistics_floriday_claim_pushes: {
|
|
44857
45448
|
Args: {
|
|
44858
45449
|
_lease_seconds?: number;
|
|
@@ -44957,6 +45548,25 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
44957
45548
|
};
|
|
44958
45549
|
Returns: number;
|
|
44959
45550
|
};
|
|
45551
|
+
logistics_order_overview: {
|
|
45552
|
+
Args: {
|
|
45553
|
+
p_from?: string;
|
|
45554
|
+
p_to?: string;
|
|
45555
|
+
};
|
|
45556
|
+
Returns: {
|
|
45557
|
+
cart_count: number;
|
|
45558
|
+
customer_name: string;
|
|
45559
|
+
delivery_date: string;
|
|
45560
|
+
order_number: string;
|
|
45561
|
+
order_source: string;
|
|
45562
|
+
order_uuid: string;
|
|
45563
|
+
pick_date: string;
|
|
45564
|
+
plant_count: number;
|
|
45565
|
+
printed_at: string;
|
|
45566
|
+
shifted: boolean;
|
|
45567
|
+
status: string;
|
|
45568
|
+
}[];
|
|
45569
|
+
};
|
|
44960
45570
|
logistics_order_pick_day: {
|
|
44961
45571
|
Args: {
|
|
44962
45572
|
p_order_ref: string;
|
|
@@ -44969,6 +45579,22 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
44969
45579
|
};
|
|
44970
45580
|
Returns: string;
|
|
44971
45581
|
};
|
|
45582
|
+
logistics_pick_agenda: {
|
|
45583
|
+
Args: {
|
|
45584
|
+
p_from?: string;
|
|
45585
|
+
p_to?: string;
|
|
45586
|
+
};
|
|
45587
|
+
Returns: {
|
|
45588
|
+
cart_count: number;
|
|
45589
|
+
in_preparation: number;
|
|
45590
|
+
order_count: number;
|
|
45591
|
+
orders: import("../integrations/supabase/types").Json;
|
|
45592
|
+
pick_date: string;
|
|
45593
|
+
plant_count: number;
|
|
45594
|
+
ready: number;
|
|
45595
|
+
shifted_count: number;
|
|
45596
|
+
}[];
|
|
45597
|
+
};
|
|
44972
45598
|
logistics_pick_email_purpose: {
|
|
44973
45599
|
Args: never;
|
|
44974
45600
|
Returns: string;
|
|
@@ -45023,6 +45649,13 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
45023
45649
|
};
|
|
45024
45650
|
Returns: undefined;
|
|
45025
45651
|
};
|
|
45652
|
+
logistics_plan_floriday_order: {
|
|
45653
|
+
Args: {
|
|
45654
|
+
p_buffer_id?: string;
|
|
45655
|
+
p_order_id: string;
|
|
45656
|
+
};
|
|
45657
|
+
Returns: number;
|
|
45658
|
+
};
|
|
45026
45659
|
logistics_plan_impact_orders: {
|
|
45027
45660
|
Args: {
|
|
45028
45661
|
p_order_id: string;
|
|
@@ -45128,6 +45761,15 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
45128
45761
|
};
|
|
45129
45762
|
Returns: import("../integrations/supabase/types").Json;
|
|
45130
45763
|
};
|
|
45764
|
+
logistics_resolve_pick_document: {
|
|
45765
|
+
Args: {
|
|
45766
|
+
_is_herprint: boolean;
|
|
45767
|
+
_queue_item_id: string;
|
|
45768
|
+
_session_id: string;
|
|
45769
|
+
_voorbeeld: boolean;
|
|
45770
|
+
};
|
|
45771
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
45772
|
+
};
|
|
45131
45773
|
logistics_resolve_settings: {
|
|
45132
45774
|
Args: {
|
|
45133
45775
|
p_config_id: string;
|
|
@@ -45258,14 +45900,6 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
45258
45900
|
};
|
|
45259
45901
|
Returns: string;
|
|
45260
45902
|
};
|
|
45261
|
-
maps_cron_token: {
|
|
45262
|
-
Args: never;
|
|
45263
|
-
Returns: string;
|
|
45264
|
-
};
|
|
45265
|
-
maps_kick_queue: {
|
|
45266
|
-
Args: never;
|
|
45267
|
-
Returns: undefined;
|
|
45268
|
-
};
|
|
45269
45903
|
mark_offer_clicked: {
|
|
45270
45904
|
Args: {
|
|
45271
45905
|
p_code: string;
|
|
@@ -45576,6 +46210,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
45576
46210
|
};
|
|
45577
46211
|
pick_enqueue_print_job: {
|
|
45578
46212
|
Args: {
|
|
46213
|
+
_is_herprint?: boolean;
|
|
45579
46214
|
_printer_id?: string;
|
|
45580
46215
|
_queue_item_id: string;
|
|
45581
46216
|
_session_id?: string;
|
|
@@ -45589,6 +46224,13 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
45589
46224
|
};
|
|
45590
46225
|
Returns: import("../integrations/supabase/types").Json;
|
|
45591
46226
|
};
|
|
46227
|
+
pick_preview_job: {
|
|
46228
|
+
Args: {
|
|
46229
|
+
_queue_item_id: string;
|
|
46230
|
+
_station_slug: string;
|
|
46231
|
+
};
|
|
46232
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
46233
|
+
};
|
|
45592
46234
|
pick_print_job_status: {
|
|
45593
46235
|
Args: {
|
|
45594
46236
|
_job_id: string;
|
|
@@ -45766,6 +46408,24 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
45766
46408
|
};
|
|
45767
46409
|
Returns: undefined;
|
|
45768
46410
|
};
|
|
46411
|
+
print_preview_toestaan: {
|
|
46412
|
+
Args: {
|
|
46413
|
+
_max?: number;
|
|
46414
|
+
_queue_item_id: string;
|
|
46415
|
+
_station_slug: string;
|
|
46416
|
+
_venster_sec?: number;
|
|
46417
|
+
};
|
|
46418
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
46419
|
+
};
|
|
46420
|
+
print_preview_weiger: {
|
|
46421
|
+
Args: {
|
|
46422
|
+
_code: string;
|
|
46423
|
+
_queue_item_id: string;
|
|
46424
|
+
_reden: string;
|
|
46425
|
+
_station_slug: string;
|
|
46426
|
+
};
|
|
46427
|
+
Returns: undefined;
|
|
46428
|
+
};
|
|
45769
46429
|
process_logistics_event: {
|
|
45770
46430
|
Args: {
|
|
45771
46431
|
p_event_id: string;
|
|
@@ -45883,6 +46543,14 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
45883
46543
|
};
|
|
45884
46544
|
Returns: undefined;
|
|
45885
46545
|
};
|
|
46546
|
+
replace_order_carts: {
|
|
46547
|
+
Args: {
|
|
46548
|
+
p_buffer_id: string;
|
|
46549
|
+
p_carts: import("../integrations/supabase/types").Json;
|
|
46550
|
+
p_order_id: string;
|
|
46551
|
+
};
|
|
46552
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
46553
|
+
};
|
|
45886
46554
|
reset_floriday_sync_cursor: {
|
|
45887
46555
|
Args: {
|
|
45888
46556
|
p_connection_id: string;
|
|
@@ -45912,6 +46580,12 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
45912
46580
|
};
|
|
45913
46581
|
Returns: string;
|
|
45914
46582
|
};
|
|
46583
|
+
resolve_print_job_printer_id: {
|
|
46584
|
+
Args: {
|
|
46585
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
46586
|
+
};
|
|
46587
|
+
Returns: string;
|
|
46588
|
+
};
|
|
45915
46589
|
resolve_product_id_for_item: {
|
|
45916
46590
|
Args: {
|
|
45917
46591
|
p_product_name: string;
|
|
@@ -46503,7 +47177,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
46503
47177
|
};
|
|
46504
47178
|
CompositeTypes: { [_ in never]: never; };
|
|
46505
47179
|
}, {
|
|
46506
|
-
PostgrestVersion: "14.
|
|
47180
|
+
PostgrestVersion: "14.5";
|
|
46507
47181
|
}>;
|
|
46508
47182
|
userId: string;
|
|
46509
47183
|
claims: import("@supabase/auth-js").User;
|
|
@@ -49365,6 +50039,84 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
49365
50039
|
};
|
|
49366
50040
|
Relationships: [];
|
|
49367
50041
|
};
|
|
50042
|
+
delivery_notes: {
|
|
50043
|
+
Row: {
|
|
50044
|
+
byte_size: number | null;
|
|
50045
|
+
connection_id: string | null;
|
|
50046
|
+
content_type: string;
|
|
50047
|
+
created_at: string;
|
|
50048
|
+
error_message: string | null;
|
|
50049
|
+
fetched_at: string | null;
|
|
50050
|
+
fulfillment_order_id: string | null;
|
|
50051
|
+
http_status: number | null;
|
|
50052
|
+
id: string;
|
|
50053
|
+
label_code: string | null;
|
|
50054
|
+
letter: string | null;
|
|
50055
|
+
load_carrier_index: number | null;
|
|
50056
|
+
load_carrier_type: string | null;
|
|
50057
|
+
order_id: string | null;
|
|
50058
|
+
order_number: string | null;
|
|
50059
|
+
packages: number | null;
|
|
50060
|
+
source: string;
|
|
50061
|
+
status: string;
|
|
50062
|
+
storage_bucket: string;
|
|
50063
|
+
storage_path: string | null;
|
|
50064
|
+
updated_at: string;
|
|
50065
|
+
};
|
|
50066
|
+
Insert: {
|
|
50067
|
+
byte_size?: number | null;
|
|
50068
|
+
connection_id?: string | null;
|
|
50069
|
+
content_type?: string;
|
|
50070
|
+
created_at?: string;
|
|
50071
|
+
error_message?: string | null;
|
|
50072
|
+
fetched_at?: string | null;
|
|
50073
|
+
fulfillment_order_id?: string | null;
|
|
50074
|
+
http_status?: number | null;
|
|
50075
|
+
id?: string;
|
|
50076
|
+
label_code?: string | null;
|
|
50077
|
+
letter?: string | null;
|
|
50078
|
+
load_carrier_index?: number | null;
|
|
50079
|
+
load_carrier_type?: string | null;
|
|
50080
|
+
order_id?: string | null;
|
|
50081
|
+
order_number?: string | null;
|
|
50082
|
+
packages?: number | null;
|
|
50083
|
+
source?: string;
|
|
50084
|
+
status?: string;
|
|
50085
|
+
storage_bucket?: string;
|
|
50086
|
+
storage_path?: string | null;
|
|
50087
|
+
updated_at?: string;
|
|
50088
|
+
};
|
|
50089
|
+
Update: {
|
|
50090
|
+
byte_size?: number | null;
|
|
50091
|
+
connection_id?: string | null;
|
|
50092
|
+
content_type?: string;
|
|
50093
|
+
created_at?: string;
|
|
50094
|
+
error_message?: string | null;
|
|
50095
|
+
fetched_at?: string | null;
|
|
50096
|
+
fulfillment_order_id?: string | null;
|
|
50097
|
+
http_status?: number | null;
|
|
50098
|
+
id?: string;
|
|
50099
|
+
label_code?: string | null;
|
|
50100
|
+
letter?: string | null;
|
|
50101
|
+
load_carrier_index?: number | null;
|
|
50102
|
+
load_carrier_type?: string | null;
|
|
50103
|
+
order_id?: string | null;
|
|
50104
|
+
order_number?: string | null;
|
|
50105
|
+
packages?: number | null;
|
|
50106
|
+
source?: string;
|
|
50107
|
+
status?: string;
|
|
50108
|
+
storage_bucket?: string;
|
|
50109
|
+
storage_path?: string | null;
|
|
50110
|
+
updated_at?: string;
|
|
50111
|
+
};
|
|
50112
|
+
Relationships: [{
|
|
50113
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
50114
|
+
columns: ["order_id"];
|
|
50115
|
+
isOneToOne: false;
|
|
50116
|
+
referencedRelation: "orders";
|
|
50117
|
+
referencedColumns: ["id"];
|
|
50118
|
+
}];
|
|
50119
|
+
};
|
|
49368
50120
|
document_bronregels: {
|
|
49369
50121
|
Row: {
|
|
49370
50122
|
bron: string;
|
|
@@ -52418,10 +53170,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
52418
53170
|
};
|
|
52419
53171
|
floriday_connections: {
|
|
52420
53172
|
Row: {
|
|
52421
|
-
access_token: string | null;
|
|
52422
53173
|
api_key: string;
|
|
52423
|
-
client_id: string;
|
|
52424
|
-
client_secret: string;
|
|
52425
53174
|
created_at: string;
|
|
52426
53175
|
customers_endpoint: string | null;
|
|
52427
53176
|
environment: string;
|
|
@@ -52436,10 +53185,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
52436
53185
|
updated_at: string;
|
|
52437
53186
|
};
|
|
52438
53187
|
Insert: {
|
|
52439
|
-
access_token?: string | null;
|
|
52440
53188
|
api_key: string;
|
|
52441
|
-
client_id: string;
|
|
52442
|
-
client_secret: string;
|
|
52443
53189
|
created_at?: string;
|
|
52444
53190
|
customers_endpoint?: string | null;
|
|
52445
53191
|
environment: string;
|
|
@@ -52454,10 +53200,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
52454
53200
|
updated_at?: string;
|
|
52455
53201
|
};
|
|
52456
53202
|
Update: {
|
|
52457
|
-
access_token?: string | null;
|
|
52458
53203
|
api_key?: string;
|
|
52459
|
-
client_id?: string;
|
|
52460
|
-
client_secret?: string;
|
|
52461
53204
|
created_at?: string;
|
|
52462
53205
|
customers_endpoint?: string | null;
|
|
52463
53206
|
environment?: string;
|
|
@@ -57328,6 +58071,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
57328
58071
|
last_error: string | null;
|
|
57329
58072
|
last_error_at: string | null;
|
|
57330
58073
|
last_success_at: string | null;
|
|
58074
|
+
provider: string;
|
|
57331
58075
|
updated_at: string;
|
|
57332
58076
|
};
|
|
57333
58077
|
Insert: {
|
|
@@ -57339,6 +58083,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
57339
58083
|
last_error?: string | null;
|
|
57340
58084
|
last_error_at?: string | null;
|
|
57341
58085
|
last_success_at?: string | null;
|
|
58086
|
+
provider?: string;
|
|
57342
58087
|
updated_at?: string;
|
|
57343
58088
|
};
|
|
57344
58089
|
Update: {
|
|
@@ -57350,6 +58095,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
57350
58095
|
last_error?: string | null;
|
|
57351
58096
|
last_error_at?: string | null;
|
|
57352
58097
|
last_success_at?: string | null;
|
|
58098
|
+
provider?: string;
|
|
57353
58099
|
updated_at?: string;
|
|
57354
58100
|
};
|
|
57355
58101
|
Relationships: [];
|
|
@@ -60087,6 +60833,39 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
60087
60833
|
};
|
|
60088
60834
|
Relationships: [];
|
|
60089
60835
|
};
|
|
60836
|
+
print_dedupe_events: {
|
|
60837
|
+
Row: {
|
|
60838
|
+
bestaande_job_id: string | null;
|
|
60839
|
+
created_at: string;
|
|
60840
|
+
detail: string | null;
|
|
60841
|
+
documentnaam: string | null;
|
|
60842
|
+
documenttype: string | null;
|
|
60843
|
+
id: string;
|
|
60844
|
+
idempotentie_sleutel: string;
|
|
60845
|
+
reden: string;
|
|
60846
|
+
};
|
|
60847
|
+
Insert: {
|
|
60848
|
+
bestaande_job_id?: string | null;
|
|
60849
|
+
created_at?: string;
|
|
60850
|
+
detail?: string | null;
|
|
60851
|
+
documentnaam?: string | null;
|
|
60852
|
+
documenttype?: string | null;
|
|
60853
|
+
id?: string;
|
|
60854
|
+
idempotentie_sleutel: string;
|
|
60855
|
+
reden: string;
|
|
60856
|
+
};
|
|
60857
|
+
Update: {
|
|
60858
|
+
bestaande_job_id?: string | null;
|
|
60859
|
+
created_at?: string;
|
|
60860
|
+
detail?: string | null;
|
|
60861
|
+
documentnaam?: string | null;
|
|
60862
|
+
documenttype?: string | null;
|
|
60863
|
+
id?: string;
|
|
60864
|
+
idempotentie_sleutel?: string;
|
|
60865
|
+
reden?: string;
|
|
60866
|
+
};
|
|
60867
|
+
Relationships: [];
|
|
60868
|
+
};
|
|
60090
60869
|
print_job_logs: {
|
|
60091
60870
|
Row: {
|
|
60092
60871
|
created_at: string;
|
|
@@ -60137,6 +60916,9 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
60137
60916
|
is_herprint: boolean;
|
|
60138
60917
|
kopieen: number;
|
|
60139
60918
|
layout_id: string | null;
|
|
60919
|
+
lokaal_opgeslagen_op: string | null;
|
|
60920
|
+
lokale_pdf_fout: string | null;
|
|
60921
|
+
lokale_pdf_status: string | null;
|
|
60140
60922
|
opgepakt_op: string | null;
|
|
60141
60923
|
paginas: number;
|
|
60142
60924
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -60145,6 +60927,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
60145
60927
|
pogingen: number;
|
|
60146
60928
|
printer_id: string | null;
|
|
60147
60929
|
render_html: string | null;
|
|
60930
|
+
resultaat_pdf_base64: string | null;
|
|
60148
60931
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
60149
60932
|
updated_at: string;
|
|
60150
60933
|
volgende_poging: string | null;
|
|
@@ -60169,6 +60952,9 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
60169
60952
|
is_herprint?: boolean;
|
|
60170
60953
|
kopieen?: number;
|
|
60171
60954
|
layout_id?: string | null;
|
|
60955
|
+
lokaal_opgeslagen_op?: string | null;
|
|
60956
|
+
lokale_pdf_fout?: string | null;
|
|
60957
|
+
lokale_pdf_status?: string | null;
|
|
60172
60958
|
opgepakt_op?: string | null;
|
|
60173
60959
|
paginas?: number;
|
|
60174
60960
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -60177,6 +60963,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
60177
60963
|
pogingen?: number;
|
|
60178
60964
|
printer_id?: string | null;
|
|
60179
60965
|
render_html?: string | null;
|
|
60966
|
+
resultaat_pdf_base64?: string | null;
|
|
60180
60967
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
60181
60968
|
updated_at?: string;
|
|
60182
60969
|
volgende_poging?: string | null;
|
|
@@ -60201,6 +60988,9 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
60201
60988
|
is_herprint?: boolean;
|
|
60202
60989
|
kopieen?: number;
|
|
60203
60990
|
layout_id?: string | null;
|
|
60991
|
+
lokaal_opgeslagen_op?: string | null;
|
|
60992
|
+
lokale_pdf_fout?: string | null;
|
|
60993
|
+
lokale_pdf_status?: string | null;
|
|
60204
60994
|
opgepakt_op?: string | null;
|
|
60205
60995
|
paginas?: number;
|
|
60206
60996
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -60209,6 +60999,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
60209
60999
|
pogingen?: number;
|
|
60210
61000
|
printer_id?: string | null;
|
|
60211
61001
|
render_html?: string | null;
|
|
61002
|
+
resultaat_pdf_base64?: string | null;
|
|
60212
61003
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
60213
61004
|
updated_at?: string;
|
|
60214
61005
|
volgende_poging?: string | null;
|
|
@@ -60327,6 +61118,39 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
60327
61118
|
};
|
|
60328
61119
|
Relationships: [];
|
|
60329
61120
|
};
|
|
61121
|
+
print_preview_events: {
|
|
61122
|
+
Row: {
|
|
61123
|
+
code: string | null;
|
|
61124
|
+
created_at: string;
|
|
61125
|
+
detail: import("../integrations/supabase/types").Json;
|
|
61126
|
+
id: string;
|
|
61127
|
+
queue_item_id: string | null;
|
|
61128
|
+
reden: string | null;
|
|
61129
|
+
station_slug: string | null;
|
|
61130
|
+
uitkomst: string;
|
|
61131
|
+
};
|
|
61132
|
+
Insert: {
|
|
61133
|
+
code?: string | null;
|
|
61134
|
+
created_at?: string;
|
|
61135
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
61136
|
+
id?: string;
|
|
61137
|
+
queue_item_id?: string | null;
|
|
61138
|
+
reden?: string | null;
|
|
61139
|
+
station_slug?: string | null;
|
|
61140
|
+
uitkomst?: string;
|
|
61141
|
+
};
|
|
61142
|
+
Update: {
|
|
61143
|
+
code?: string | null;
|
|
61144
|
+
created_at?: string;
|
|
61145
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
61146
|
+
id?: string;
|
|
61147
|
+
queue_item_id?: string | null;
|
|
61148
|
+
reden?: string | null;
|
|
61149
|
+
station_slug?: string | null;
|
|
61150
|
+
uitkomst?: string;
|
|
61151
|
+
};
|
|
61152
|
+
Relationships: [];
|
|
61153
|
+
};
|
|
60330
61154
|
print_queue_runners: {
|
|
60331
61155
|
Row: {
|
|
60332
61156
|
actief: boolean;
|
|
@@ -60566,6 +61390,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
60566
61390
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
60567
61391
|
online: boolean;
|
|
60568
61392
|
papierformaat: string;
|
|
61393
|
+
pdf_map: string | null;
|
|
60569
61394
|
poort: number | null;
|
|
60570
61395
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
60571
61396
|
systeemnaam: string;
|
|
@@ -60591,6 +61416,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
60591
61416
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
60592
61417
|
online?: boolean;
|
|
60593
61418
|
papierformaat?: string;
|
|
61419
|
+
pdf_map?: string | null;
|
|
60594
61420
|
poort?: number | null;
|
|
60595
61421
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
60596
61422
|
systeemnaam?: string;
|
|
@@ -60616,6 +61442,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
60616
61442
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
60617
61443
|
online?: boolean;
|
|
60618
61444
|
papierformaat?: string;
|
|
61445
|
+
pdf_map?: string | null;
|
|
60619
61446
|
poort?: number | null;
|
|
60620
61447
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
60621
61448
|
systeemnaam?: string;
|
|
@@ -66872,6 +67699,9 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
66872
67699
|
is_herprint: boolean;
|
|
66873
67700
|
kopieen: number;
|
|
66874
67701
|
layout_id: string | null;
|
|
67702
|
+
lokaal_opgeslagen_op: string | null;
|
|
67703
|
+
lokale_pdf_fout: string | null;
|
|
67704
|
+
lokale_pdf_status: string | null;
|
|
66875
67705
|
opgepakt_op: string | null;
|
|
66876
67706
|
paginas: number;
|
|
66877
67707
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -66880,6 +67710,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
66880
67710
|
pogingen: number;
|
|
66881
67711
|
printer_id: string | null;
|
|
66882
67712
|
render_html: string | null;
|
|
67713
|
+
resultaat_pdf_base64: string | null;
|
|
66883
67714
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
66884
67715
|
updated_at: string;
|
|
66885
67716
|
volgende_poging: string | null;
|
|
@@ -66971,6 +67802,53 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
66971
67802
|
isSetofReturn: true;
|
|
66972
67803
|
};
|
|
66973
67804
|
};
|
|
67805
|
+
claim_pdf_print_jobs: {
|
|
67806
|
+
Args: {
|
|
67807
|
+
_max?: number;
|
|
67808
|
+
};
|
|
67809
|
+
Returns: {
|
|
67810
|
+
agent_id: string | null;
|
|
67811
|
+
bron_job_id: string | null;
|
|
67812
|
+
created_at: string;
|
|
67813
|
+
documentnaam: string;
|
|
67814
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
67815
|
+
extern_job_id: string | null;
|
|
67816
|
+
foutmelding: string | null;
|
|
67817
|
+
gebruiker_id: string | null;
|
|
67818
|
+
gebruiker_naam: string;
|
|
67819
|
+
gebruikte_bron: string | null;
|
|
67820
|
+
gebruikte_layout_id: string | null;
|
|
67821
|
+
gestart_op: string | null;
|
|
67822
|
+
herkomst: string | null;
|
|
67823
|
+
id: string;
|
|
67824
|
+
idempotentie_sleutel: string | null;
|
|
67825
|
+
is_herprint: boolean;
|
|
67826
|
+
kopieen: number;
|
|
67827
|
+
layout_id: string | null;
|
|
67828
|
+
lokaal_opgeslagen_op: string | null;
|
|
67829
|
+
lokale_pdf_fout: string | null;
|
|
67830
|
+
lokale_pdf_status: string | null;
|
|
67831
|
+
opgepakt_op: string | null;
|
|
67832
|
+
paginas: number;
|
|
67833
|
+
payload: import("../integrations/supabase/types").Json;
|
|
67834
|
+
pdf_base64: string | null;
|
|
67835
|
+
pdf_url: string | null;
|
|
67836
|
+
pogingen: number;
|
|
67837
|
+
printer_id: string | null;
|
|
67838
|
+
render_html: string | null;
|
|
67839
|
+
resultaat_pdf_base64: string | null;
|
|
67840
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
67841
|
+
updated_at: string;
|
|
67842
|
+
volgende_poging: string | null;
|
|
67843
|
+
voltooid_op: string | null;
|
|
67844
|
+
}[];
|
|
67845
|
+
SetofOptions: {
|
|
67846
|
+
from: "*";
|
|
67847
|
+
to: "print_jobs";
|
|
67848
|
+
isOneToOne: false;
|
|
67849
|
+
isSetofReturn: true;
|
|
67850
|
+
};
|
|
67851
|
+
};
|
|
66974
67852
|
claim_print_jobs: {
|
|
66975
67853
|
Args: {
|
|
66976
67854
|
_agent_id: string;
|
|
@@ -66995,6 +67873,9 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
66995
67873
|
is_herprint: boolean;
|
|
66996
67874
|
kopieen: number;
|
|
66997
67875
|
layout_id: string | null;
|
|
67876
|
+
lokaal_opgeslagen_op: string | null;
|
|
67877
|
+
lokale_pdf_fout: string | null;
|
|
67878
|
+
lokale_pdf_status: string | null;
|
|
66998
67879
|
opgepakt_op: string | null;
|
|
66999
67880
|
paginas: number;
|
|
67000
67881
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -67003,6 +67884,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
67003
67884
|
pogingen: number;
|
|
67004
67885
|
printer_id: string | null;
|
|
67005
67886
|
render_html: string | null;
|
|
67887
|
+
resultaat_pdf_base64: string | null;
|
|
67006
67888
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
67007
67889
|
updated_at: string;
|
|
67008
67890
|
volgende_poging: string | null;
|
|
@@ -67143,6 +68025,8 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
67143
68025
|
order_id: string;
|
|
67144
68026
|
order_source: string;
|
|
67145
68027
|
pick_date: string;
|
|
68028
|
+
printed_at: string;
|
|
68029
|
+
printed_today: boolean;
|
|
67146
68030
|
status: string;
|
|
67147
68031
|
}[];
|
|
67148
68032
|
};
|
|
@@ -67851,6 +68735,10 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
67851
68735
|
};
|
|
67852
68736
|
Returns: number;
|
|
67853
68737
|
};
|
|
68738
|
+
logistics_cancel_orphan_tasks: {
|
|
68739
|
+
Args: never;
|
|
68740
|
+
Returns: number;
|
|
68741
|
+
};
|
|
67854
68742
|
logistics_capacity_day_check: {
|
|
67855
68743
|
Args: {
|
|
67856
68744
|
p_from?: string;
|
|
@@ -67871,6 +68759,25 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
67871
68759
|
};
|
|
67872
68760
|
Returns: number;
|
|
67873
68761
|
};
|
|
68762
|
+
logistics_cart_index: {
|
|
68763
|
+
Args: {
|
|
68764
|
+
p_from?: string;
|
|
68765
|
+
p_to?: string;
|
|
68766
|
+
};
|
|
68767
|
+
Returns: {
|
|
68768
|
+
cart_id: string;
|
|
68769
|
+
cart_index: number;
|
|
68770
|
+
cart_label: string;
|
|
68771
|
+
is_shared: boolean;
|
|
68772
|
+
order_number: string;
|
|
68773
|
+
order_source: string;
|
|
68774
|
+
order_uuid: string;
|
|
68775
|
+
pick_date: string;
|
|
68776
|
+
printed_at: string;
|
|
68777
|
+
shifted: boolean;
|
|
68778
|
+
task_status: string;
|
|
68779
|
+
}[];
|
|
68780
|
+
};
|
|
67874
68781
|
logistics_check_order_allowed: {
|
|
67875
68782
|
Args: {
|
|
67876
68783
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -68019,6 +68926,17 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
68019
68926
|
isSetofReturn: false;
|
|
68020
68927
|
};
|
|
68021
68928
|
};
|
|
68929
|
+
logistics_consistency_check: {
|
|
68930
|
+
Args: never;
|
|
68931
|
+
Returns: {
|
|
68932
|
+
agenda_carts: number;
|
|
68933
|
+
control_carts: number;
|
|
68934
|
+
ok: boolean;
|
|
68935
|
+
orphan_tasks: number;
|
|
68936
|
+
pick_date: string;
|
|
68937
|
+
raw_carts: number;
|
|
68938
|
+
}[];
|
|
68939
|
+
};
|
|
68022
68940
|
logistics_delay_customer_email: {
|
|
68023
68941
|
Args: {
|
|
68024
68942
|
p_customer: string;
|
|
@@ -68108,6 +69026,16 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
68108
69026
|
isSetofReturn: false;
|
|
68109
69027
|
};
|
|
68110
69028
|
};
|
|
69029
|
+
logistics_floriday_cart_plan: {
|
|
69030
|
+
Args: {
|
|
69031
|
+
p_order_id: string;
|
|
69032
|
+
};
|
|
69033
|
+
Returns: {
|
|
69034
|
+
carrier_type: string;
|
|
69035
|
+
idx: number;
|
|
69036
|
+
packages: number;
|
|
69037
|
+
}[];
|
|
69038
|
+
};
|
|
68111
69039
|
logistics_floriday_claim_pushes: {
|
|
68112
69040
|
Args: {
|
|
68113
69041
|
_lease_seconds?: number;
|
|
@@ -68212,6 +69140,25 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
68212
69140
|
};
|
|
68213
69141
|
Returns: number;
|
|
68214
69142
|
};
|
|
69143
|
+
logistics_order_overview: {
|
|
69144
|
+
Args: {
|
|
69145
|
+
p_from?: string;
|
|
69146
|
+
p_to?: string;
|
|
69147
|
+
};
|
|
69148
|
+
Returns: {
|
|
69149
|
+
cart_count: number;
|
|
69150
|
+
customer_name: string;
|
|
69151
|
+
delivery_date: string;
|
|
69152
|
+
order_number: string;
|
|
69153
|
+
order_source: string;
|
|
69154
|
+
order_uuid: string;
|
|
69155
|
+
pick_date: string;
|
|
69156
|
+
plant_count: number;
|
|
69157
|
+
printed_at: string;
|
|
69158
|
+
shifted: boolean;
|
|
69159
|
+
status: string;
|
|
69160
|
+
}[];
|
|
69161
|
+
};
|
|
68215
69162
|
logistics_order_pick_day: {
|
|
68216
69163
|
Args: {
|
|
68217
69164
|
p_order_ref: string;
|
|
@@ -68224,6 +69171,22 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
68224
69171
|
};
|
|
68225
69172
|
Returns: string;
|
|
68226
69173
|
};
|
|
69174
|
+
logistics_pick_agenda: {
|
|
69175
|
+
Args: {
|
|
69176
|
+
p_from?: string;
|
|
69177
|
+
p_to?: string;
|
|
69178
|
+
};
|
|
69179
|
+
Returns: {
|
|
69180
|
+
cart_count: number;
|
|
69181
|
+
in_preparation: number;
|
|
69182
|
+
order_count: number;
|
|
69183
|
+
orders: import("../integrations/supabase/types").Json;
|
|
69184
|
+
pick_date: string;
|
|
69185
|
+
plant_count: number;
|
|
69186
|
+
ready: number;
|
|
69187
|
+
shifted_count: number;
|
|
69188
|
+
}[];
|
|
69189
|
+
};
|
|
68227
69190
|
logistics_pick_email_purpose: {
|
|
68228
69191
|
Args: never;
|
|
68229
69192
|
Returns: string;
|
|
@@ -68278,6 +69241,13 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
68278
69241
|
};
|
|
68279
69242
|
Returns: undefined;
|
|
68280
69243
|
};
|
|
69244
|
+
logistics_plan_floriday_order: {
|
|
69245
|
+
Args: {
|
|
69246
|
+
p_buffer_id?: string;
|
|
69247
|
+
p_order_id: string;
|
|
69248
|
+
};
|
|
69249
|
+
Returns: number;
|
|
69250
|
+
};
|
|
68281
69251
|
logistics_plan_impact_orders: {
|
|
68282
69252
|
Args: {
|
|
68283
69253
|
p_order_id: string;
|
|
@@ -68383,6 +69353,15 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
68383
69353
|
};
|
|
68384
69354
|
Returns: import("../integrations/supabase/types").Json;
|
|
68385
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
|
+
};
|
|
68386
69365
|
logistics_resolve_settings: {
|
|
68387
69366
|
Args: {
|
|
68388
69367
|
p_config_id: string;
|
|
@@ -68513,14 +69492,6 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
68513
69492
|
};
|
|
68514
69493
|
Returns: string;
|
|
68515
69494
|
};
|
|
68516
|
-
maps_cron_token: {
|
|
68517
|
-
Args: never;
|
|
68518
|
-
Returns: string;
|
|
68519
|
-
};
|
|
68520
|
-
maps_kick_queue: {
|
|
68521
|
-
Args: never;
|
|
68522
|
-
Returns: undefined;
|
|
68523
|
-
};
|
|
68524
69495
|
mark_offer_clicked: {
|
|
68525
69496
|
Args: {
|
|
68526
69497
|
p_code: string;
|
|
@@ -68831,6 +69802,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
68831
69802
|
};
|
|
68832
69803
|
pick_enqueue_print_job: {
|
|
68833
69804
|
Args: {
|
|
69805
|
+
_is_herprint?: boolean;
|
|
68834
69806
|
_printer_id?: string;
|
|
68835
69807
|
_queue_item_id: string;
|
|
68836
69808
|
_session_id?: string;
|
|
@@ -68844,6 +69816,13 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
68844
69816
|
};
|
|
68845
69817
|
Returns: import("../integrations/supabase/types").Json;
|
|
68846
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
|
+
};
|
|
68847
69826
|
pick_print_job_status: {
|
|
68848
69827
|
Args: {
|
|
68849
69828
|
_job_id: string;
|
|
@@ -69021,6 +70000,24 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
69021
70000
|
};
|
|
69022
70001
|
Returns: undefined;
|
|
69023
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
|
+
};
|
|
69024
70021
|
process_logistics_event: {
|
|
69025
70022
|
Args: {
|
|
69026
70023
|
p_event_id: string;
|
|
@@ -69138,6 +70135,14 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
69138
70135
|
};
|
|
69139
70136
|
Returns: undefined;
|
|
69140
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
|
+
};
|
|
69141
70146
|
reset_floriday_sync_cursor: {
|
|
69142
70147
|
Args: {
|
|
69143
70148
|
p_connection_id: string;
|
|
@@ -69167,6 +70172,12 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
69167
70172
|
};
|
|
69168
70173
|
Returns: string;
|
|
69169
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
|
+
};
|
|
69170
70181
|
resolve_product_id_for_item: {
|
|
69171
70182
|
Args: {
|
|
69172
70183
|
p_product_name: string;
|
|
@@ -69758,7 +70769,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
69758
70769
|
};
|
|
69759
70770
|
CompositeTypes: { [_ in never]: never; };
|
|
69760
70771
|
}, {
|
|
69761
|
-
PostgrestVersion: "14.
|
|
70772
|
+
PostgrestVersion: "14.5";
|
|
69762
70773
|
}>;
|
|
69763
70774
|
userId: string;
|
|
69764
70775
|
claims: import("@supabase/auth-js").User;
|
|
@@ -72623,6 +73634,84 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
72623
73634
|
};
|
|
72624
73635
|
Relationships: [];
|
|
72625
73636
|
};
|
|
73637
|
+
delivery_notes: {
|
|
73638
|
+
Row: {
|
|
73639
|
+
byte_size: number | null;
|
|
73640
|
+
connection_id: string | null;
|
|
73641
|
+
content_type: string;
|
|
73642
|
+
created_at: string;
|
|
73643
|
+
error_message: string | null;
|
|
73644
|
+
fetched_at: string | null;
|
|
73645
|
+
fulfillment_order_id: string | null;
|
|
73646
|
+
http_status: number | null;
|
|
73647
|
+
id: string;
|
|
73648
|
+
label_code: string | null;
|
|
73649
|
+
letter: string | null;
|
|
73650
|
+
load_carrier_index: number | null;
|
|
73651
|
+
load_carrier_type: string | null;
|
|
73652
|
+
order_id: string | null;
|
|
73653
|
+
order_number: string | null;
|
|
73654
|
+
packages: number | null;
|
|
73655
|
+
source: string;
|
|
73656
|
+
status: string;
|
|
73657
|
+
storage_bucket: string;
|
|
73658
|
+
storage_path: string | null;
|
|
73659
|
+
updated_at: string;
|
|
73660
|
+
};
|
|
73661
|
+
Insert: {
|
|
73662
|
+
byte_size?: number | null;
|
|
73663
|
+
connection_id?: string | null;
|
|
73664
|
+
content_type?: string;
|
|
73665
|
+
created_at?: string;
|
|
73666
|
+
error_message?: string | null;
|
|
73667
|
+
fetched_at?: string | null;
|
|
73668
|
+
fulfillment_order_id?: string | null;
|
|
73669
|
+
http_status?: number | null;
|
|
73670
|
+
id?: string;
|
|
73671
|
+
label_code?: string | null;
|
|
73672
|
+
letter?: string | null;
|
|
73673
|
+
load_carrier_index?: number | null;
|
|
73674
|
+
load_carrier_type?: string | null;
|
|
73675
|
+
order_id?: string | null;
|
|
73676
|
+
order_number?: string | null;
|
|
73677
|
+
packages?: number | null;
|
|
73678
|
+
source?: string;
|
|
73679
|
+
status?: string;
|
|
73680
|
+
storage_bucket?: string;
|
|
73681
|
+
storage_path?: string | null;
|
|
73682
|
+
updated_at?: string;
|
|
73683
|
+
};
|
|
73684
|
+
Update: {
|
|
73685
|
+
byte_size?: number | null;
|
|
73686
|
+
connection_id?: string | null;
|
|
73687
|
+
content_type?: string;
|
|
73688
|
+
created_at?: string;
|
|
73689
|
+
error_message?: string | null;
|
|
73690
|
+
fetched_at?: string | null;
|
|
73691
|
+
fulfillment_order_id?: string | null;
|
|
73692
|
+
http_status?: number | null;
|
|
73693
|
+
id?: string;
|
|
73694
|
+
label_code?: string | null;
|
|
73695
|
+
letter?: string | null;
|
|
73696
|
+
load_carrier_index?: number | null;
|
|
73697
|
+
load_carrier_type?: string | null;
|
|
73698
|
+
order_id?: string | null;
|
|
73699
|
+
order_number?: string | null;
|
|
73700
|
+
packages?: number | null;
|
|
73701
|
+
source?: string;
|
|
73702
|
+
status?: string;
|
|
73703
|
+
storage_bucket?: string;
|
|
73704
|
+
storage_path?: string | null;
|
|
73705
|
+
updated_at?: string;
|
|
73706
|
+
};
|
|
73707
|
+
Relationships: [{
|
|
73708
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
73709
|
+
columns: ["order_id"];
|
|
73710
|
+
isOneToOne: false;
|
|
73711
|
+
referencedRelation: "orders";
|
|
73712
|
+
referencedColumns: ["id"];
|
|
73713
|
+
}];
|
|
73714
|
+
};
|
|
72626
73715
|
document_bronregels: {
|
|
72627
73716
|
Row: {
|
|
72628
73717
|
bron: string;
|
|
@@ -75676,10 +76765,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
75676
76765
|
};
|
|
75677
76766
|
floriday_connections: {
|
|
75678
76767
|
Row: {
|
|
75679
|
-
access_token: string | null;
|
|
75680
76768
|
api_key: string;
|
|
75681
|
-
client_id: string;
|
|
75682
|
-
client_secret: string;
|
|
75683
76769
|
created_at: string;
|
|
75684
76770
|
customers_endpoint: string | null;
|
|
75685
76771
|
environment: string;
|
|
@@ -75694,10 +76780,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
75694
76780
|
updated_at: string;
|
|
75695
76781
|
};
|
|
75696
76782
|
Insert: {
|
|
75697
|
-
access_token?: string | null;
|
|
75698
76783
|
api_key: string;
|
|
75699
|
-
client_id: string;
|
|
75700
|
-
client_secret: string;
|
|
75701
76784
|
created_at?: string;
|
|
75702
76785
|
customers_endpoint?: string | null;
|
|
75703
76786
|
environment: string;
|
|
@@ -75712,10 +76795,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
75712
76795
|
updated_at?: string;
|
|
75713
76796
|
};
|
|
75714
76797
|
Update: {
|
|
75715
|
-
access_token?: string | null;
|
|
75716
76798
|
api_key?: string;
|
|
75717
|
-
client_id?: string;
|
|
75718
|
-
client_secret?: string;
|
|
75719
76799
|
created_at?: string;
|
|
75720
76800
|
customers_endpoint?: string | null;
|
|
75721
76801
|
environment?: string;
|
|
@@ -80586,6 +81666,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
80586
81666
|
last_error: string | null;
|
|
80587
81667
|
last_error_at: string | null;
|
|
80588
81668
|
last_success_at: string | null;
|
|
81669
|
+
provider: string;
|
|
80589
81670
|
updated_at: string;
|
|
80590
81671
|
};
|
|
80591
81672
|
Insert: {
|
|
@@ -80597,6 +81678,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
80597
81678
|
last_error?: string | null;
|
|
80598
81679
|
last_error_at?: string | null;
|
|
80599
81680
|
last_success_at?: string | null;
|
|
81681
|
+
provider?: string;
|
|
80600
81682
|
updated_at?: string;
|
|
80601
81683
|
};
|
|
80602
81684
|
Update: {
|
|
@@ -80608,6 +81690,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
80608
81690
|
last_error?: string | null;
|
|
80609
81691
|
last_error_at?: string | null;
|
|
80610
81692
|
last_success_at?: string | null;
|
|
81693
|
+
provider?: string;
|
|
80611
81694
|
updated_at?: string;
|
|
80612
81695
|
};
|
|
80613
81696
|
Relationships: [];
|
|
@@ -83345,6 +84428,39 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
83345
84428
|
};
|
|
83346
84429
|
Relationships: [];
|
|
83347
84430
|
};
|
|
84431
|
+
print_dedupe_events: {
|
|
84432
|
+
Row: {
|
|
84433
|
+
bestaande_job_id: string | null;
|
|
84434
|
+
created_at: string;
|
|
84435
|
+
detail: string | null;
|
|
84436
|
+
documentnaam: string | null;
|
|
84437
|
+
documenttype: string | null;
|
|
84438
|
+
id: string;
|
|
84439
|
+
idempotentie_sleutel: string;
|
|
84440
|
+
reden: string;
|
|
84441
|
+
};
|
|
84442
|
+
Insert: {
|
|
84443
|
+
bestaande_job_id?: string | null;
|
|
84444
|
+
created_at?: string;
|
|
84445
|
+
detail?: string | null;
|
|
84446
|
+
documentnaam?: string | null;
|
|
84447
|
+
documenttype?: string | null;
|
|
84448
|
+
id?: string;
|
|
84449
|
+
idempotentie_sleutel: string;
|
|
84450
|
+
reden: string;
|
|
84451
|
+
};
|
|
84452
|
+
Update: {
|
|
84453
|
+
bestaande_job_id?: string | null;
|
|
84454
|
+
created_at?: string;
|
|
84455
|
+
detail?: string | null;
|
|
84456
|
+
documentnaam?: string | null;
|
|
84457
|
+
documenttype?: string | null;
|
|
84458
|
+
id?: string;
|
|
84459
|
+
idempotentie_sleutel?: string;
|
|
84460
|
+
reden?: string;
|
|
84461
|
+
};
|
|
84462
|
+
Relationships: [];
|
|
84463
|
+
};
|
|
83348
84464
|
print_job_logs: {
|
|
83349
84465
|
Row: {
|
|
83350
84466
|
created_at: string;
|
|
@@ -83395,6 +84511,9 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
83395
84511
|
is_herprint: boolean;
|
|
83396
84512
|
kopieen: number;
|
|
83397
84513
|
layout_id: string | null;
|
|
84514
|
+
lokaal_opgeslagen_op: string | null;
|
|
84515
|
+
lokale_pdf_fout: string | null;
|
|
84516
|
+
lokale_pdf_status: string | null;
|
|
83398
84517
|
opgepakt_op: string | null;
|
|
83399
84518
|
paginas: number;
|
|
83400
84519
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -83403,6 +84522,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
83403
84522
|
pogingen: number;
|
|
83404
84523
|
printer_id: string | null;
|
|
83405
84524
|
render_html: string | null;
|
|
84525
|
+
resultaat_pdf_base64: string | null;
|
|
83406
84526
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
83407
84527
|
updated_at: string;
|
|
83408
84528
|
volgende_poging: string | null;
|
|
@@ -83427,6 +84547,9 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
83427
84547
|
is_herprint?: boolean;
|
|
83428
84548
|
kopieen?: number;
|
|
83429
84549
|
layout_id?: string | null;
|
|
84550
|
+
lokaal_opgeslagen_op?: string | null;
|
|
84551
|
+
lokale_pdf_fout?: string | null;
|
|
84552
|
+
lokale_pdf_status?: string | null;
|
|
83430
84553
|
opgepakt_op?: string | null;
|
|
83431
84554
|
paginas?: number;
|
|
83432
84555
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -83435,6 +84558,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
83435
84558
|
pogingen?: number;
|
|
83436
84559
|
printer_id?: string | null;
|
|
83437
84560
|
render_html?: string | null;
|
|
84561
|
+
resultaat_pdf_base64?: string | null;
|
|
83438
84562
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
83439
84563
|
updated_at?: string;
|
|
83440
84564
|
volgende_poging?: string | null;
|
|
@@ -83459,6 +84583,9 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
83459
84583
|
is_herprint?: boolean;
|
|
83460
84584
|
kopieen?: number;
|
|
83461
84585
|
layout_id?: string | null;
|
|
84586
|
+
lokaal_opgeslagen_op?: string | null;
|
|
84587
|
+
lokale_pdf_fout?: string | null;
|
|
84588
|
+
lokale_pdf_status?: string | null;
|
|
83462
84589
|
opgepakt_op?: string | null;
|
|
83463
84590
|
paginas?: number;
|
|
83464
84591
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -83467,6 +84594,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
83467
84594
|
pogingen?: number;
|
|
83468
84595
|
printer_id?: string | null;
|
|
83469
84596
|
render_html?: string | null;
|
|
84597
|
+
resultaat_pdf_base64?: string | null;
|
|
83470
84598
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
83471
84599
|
updated_at?: string;
|
|
83472
84600
|
volgende_poging?: string | null;
|
|
@@ -83585,6 +84713,39 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
83585
84713
|
};
|
|
83586
84714
|
Relationships: [];
|
|
83587
84715
|
};
|
|
84716
|
+
print_preview_events: {
|
|
84717
|
+
Row: {
|
|
84718
|
+
code: string | null;
|
|
84719
|
+
created_at: string;
|
|
84720
|
+
detail: import("../integrations/supabase/types").Json;
|
|
84721
|
+
id: string;
|
|
84722
|
+
queue_item_id: string | null;
|
|
84723
|
+
reden: string | null;
|
|
84724
|
+
station_slug: string | null;
|
|
84725
|
+
uitkomst: string;
|
|
84726
|
+
};
|
|
84727
|
+
Insert: {
|
|
84728
|
+
code?: string | null;
|
|
84729
|
+
created_at?: string;
|
|
84730
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
84731
|
+
id?: string;
|
|
84732
|
+
queue_item_id?: string | null;
|
|
84733
|
+
reden?: string | null;
|
|
84734
|
+
station_slug?: string | null;
|
|
84735
|
+
uitkomst?: string;
|
|
84736
|
+
};
|
|
84737
|
+
Update: {
|
|
84738
|
+
code?: string | null;
|
|
84739
|
+
created_at?: string;
|
|
84740
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
84741
|
+
id?: string;
|
|
84742
|
+
queue_item_id?: string | null;
|
|
84743
|
+
reden?: string | null;
|
|
84744
|
+
station_slug?: string | null;
|
|
84745
|
+
uitkomst?: string;
|
|
84746
|
+
};
|
|
84747
|
+
Relationships: [];
|
|
84748
|
+
};
|
|
83588
84749
|
print_queue_runners: {
|
|
83589
84750
|
Row: {
|
|
83590
84751
|
actief: boolean;
|
|
@@ -83824,6 +84985,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
83824
84985
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
83825
84986
|
online: boolean;
|
|
83826
84987
|
papierformaat: string;
|
|
84988
|
+
pdf_map: string | null;
|
|
83827
84989
|
poort: number | null;
|
|
83828
84990
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
83829
84991
|
systeemnaam: string;
|
|
@@ -83849,6 +85011,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
83849
85011
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
83850
85012
|
online?: boolean;
|
|
83851
85013
|
papierformaat?: string;
|
|
85014
|
+
pdf_map?: string | null;
|
|
83852
85015
|
poort?: number | null;
|
|
83853
85016
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
83854
85017
|
systeemnaam?: string;
|
|
@@ -83874,6 +85037,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
83874
85037
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
83875
85038
|
online?: boolean;
|
|
83876
85039
|
papierformaat?: string;
|
|
85040
|
+
pdf_map?: string | null;
|
|
83877
85041
|
poort?: number | null;
|
|
83878
85042
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
83879
85043
|
systeemnaam?: string;
|
|
@@ -90130,6 +91294,9 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
90130
91294
|
is_herprint: boolean;
|
|
90131
91295
|
kopieen: number;
|
|
90132
91296
|
layout_id: string | null;
|
|
91297
|
+
lokaal_opgeslagen_op: string | null;
|
|
91298
|
+
lokale_pdf_fout: string | null;
|
|
91299
|
+
lokale_pdf_status: string | null;
|
|
90133
91300
|
opgepakt_op: string | null;
|
|
90134
91301
|
paginas: number;
|
|
90135
91302
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -90138,6 +91305,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
90138
91305
|
pogingen: number;
|
|
90139
91306
|
printer_id: string | null;
|
|
90140
91307
|
render_html: string | null;
|
|
91308
|
+
resultaat_pdf_base64: string | null;
|
|
90141
91309
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
90142
91310
|
updated_at: string;
|
|
90143
91311
|
volgende_poging: string | null;
|
|
@@ -90229,6 +91397,53 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
90229
91397
|
isSetofReturn: true;
|
|
90230
91398
|
};
|
|
90231
91399
|
};
|
|
91400
|
+
claim_pdf_print_jobs: {
|
|
91401
|
+
Args: {
|
|
91402
|
+
_max?: number;
|
|
91403
|
+
};
|
|
91404
|
+
Returns: {
|
|
91405
|
+
agent_id: string | null;
|
|
91406
|
+
bron_job_id: string | null;
|
|
91407
|
+
created_at: string;
|
|
91408
|
+
documentnaam: string;
|
|
91409
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
91410
|
+
extern_job_id: string | null;
|
|
91411
|
+
foutmelding: string | null;
|
|
91412
|
+
gebruiker_id: string | null;
|
|
91413
|
+
gebruiker_naam: string;
|
|
91414
|
+
gebruikte_bron: string | null;
|
|
91415
|
+
gebruikte_layout_id: string | null;
|
|
91416
|
+
gestart_op: string | null;
|
|
91417
|
+
herkomst: string | null;
|
|
91418
|
+
id: string;
|
|
91419
|
+
idempotentie_sleutel: string | null;
|
|
91420
|
+
is_herprint: boolean;
|
|
91421
|
+
kopieen: number;
|
|
91422
|
+
layout_id: string | null;
|
|
91423
|
+
lokaal_opgeslagen_op: string | null;
|
|
91424
|
+
lokale_pdf_fout: string | null;
|
|
91425
|
+
lokale_pdf_status: string | null;
|
|
91426
|
+
opgepakt_op: string | null;
|
|
91427
|
+
paginas: number;
|
|
91428
|
+
payload: import("../integrations/supabase/types").Json;
|
|
91429
|
+
pdf_base64: string | null;
|
|
91430
|
+
pdf_url: string | null;
|
|
91431
|
+
pogingen: number;
|
|
91432
|
+
printer_id: string | null;
|
|
91433
|
+
render_html: string | null;
|
|
91434
|
+
resultaat_pdf_base64: string | null;
|
|
91435
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
91436
|
+
updated_at: string;
|
|
91437
|
+
volgende_poging: string | null;
|
|
91438
|
+
voltooid_op: string | null;
|
|
91439
|
+
}[];
|
|
91440
|
+
SetofOptions: {
|
|
91441
|
+
from: "*";
|
|
91442
|
+
to: "print_jobs";
|
|
91443
|
+
isOneToOne: false;
|
|
91444
|
+
isSetofReturn: true;
|
|
91445
|
+
};
|
|
91446
|
+
};
|
|
90232
91447
|
claim_print_jobs: {
|
|
90233
91448
|
Args: {
|
|
90234
91449
|
_agent_id: string;
|
|
@@ -90253,6 +91468,9 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
90253
91468
|
is_herprint: boolean;
|
|
90254
91469
|
kopieen: number;
|
|
90255
91470
|
layout_id: string | null;
|
|
91471
|
+
lokaal_opgeslagen_op: string | null;
|
|
91472
|
+
lokale_pdf_fout: string | null;
|
|
91473
|
+
lokale_pdf_status: string | null;
|
|
90256
91474
|
opgepakt_op: string | null;
|
|
90257
91475
|
paginas: number;
|
|
90258
91476
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -90261,6 +91479,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
90261
91479
|
pogingen: number;
|
|
90262
91480
|
printer_id: string | null;
|
|
90263
91481
|
render_html: string | null;
|
|
91482
|
+
resultaat_pdf_base64: string | null;
|
|
90264
91483
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
90265
91484
|
updated_at: string;
|
|
90266
91485
|
volgende_poging: string | null;
|
|
@@ -90401,6 +91620,8 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
90401
91620
|
order_id: string;
|
|
90402
91621
|
order_source: string;
|
|
90403
91622
|
pick_date: string;
|
|
91623
|
+
printed_at: string;
|
|
91624
|
+
printed_today: boolean;
|
|
90404
91625
|
status: string;
|
|
90405
91626
|
}[];
|
|
90406
91627
|
};
|
|
@@ -91109,6 +92330,10 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
91109
92330
|
};
|
|
91110
92331
|
Returns: number;
|
|
91111
92332
|
};
|
|
92333
|
+
logistics_cancel_orphan_tasks: {
|
|
92334
|
+
Args: never;
|
|
92335
|
+
Returns: number;
|
|
92336
|
+
};
|
|
91112
92337
|
logistics_capacity_day_check: {
|
|
91113
92338
|
Args: {
|
|
91114
92339
|
p_from?: string;
|
|
@@ -91129,6 +92354,25 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
91129
92354
|
};
|
|
91130
92355
|
Returns: number;
|
|
91131
92356
|
};
|
|
92357
|
+
logistics_cart_index: {
|
|
92358
|
+
Args: {
|
|
92359
|
+
p_from?: string;
|
|
92360
|
+
p_to?: string;
|
|
92361
|
+
};
|
|
92362
|
+
Returns: {
|
|
92363
|
+
cart_id: string;
|
|
92364
|
+
cart_index: number;
|
|
92365
|
+
cart_label: string;
|
|
92366
|
+
is_shared: boolean;
|
|
92367
|
+
order_number: string;
|
|
92368
|
+
order_source: string;
|
|
92369
|
+
order_uuid: string;
|
|
92370
|
+
pick_date: string;
|
|
92371
|
+
printed_at: string;
|
|
92372
|
+
shifted: boolean;
|
|
92373
|
+
task_status: string;
|
|
92374
|
+
}[];
|
|
92375
|
+
};
|
|
91132
92376
|
logistics_check_order_allowed: {
|
|
91133
92377
|
Args: {
|
|
91134
92378
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -91277,6 +92521,17 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
91277
92521
|
isSetofReturn: false;
|
|
91278
92522
|
};
|
|
91279
92523
|
};
|
|
92524
|
+
logistics_consistency_check: {
|
|
92525
|
+
Args: never;
|
|
92526
|
+
Returns: {
|
|
92527
|
+
agenda_carts: number;
|
|
92528
|
+
control_carts: number;
|
|
92529
|
+
ok: boolean;
|
|
92530
|
+
orphan_tasks: number;
|
|
92531
|
+
pick_date: string;
|
|
92532
|
+
raw_carts: number;
|
|
92533
|
+
}[];
|
|
92534
|
+
};
|
|
91280
92535
|
logistics_delay_customer_email: {
|
|
91281
92536
|
Args: {
|
|
91282
92537
|
p_customer: string;
|
|
@@ -91366,6 +92621,16 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
91366
92621
|
isSetofReturn: false;
|
|
91367
92622
|
};
|
|
91368
92623
|
};
|
|
92624
|
+
logistics_floriday_cart_plan: {
|
|
92625
|
+
Args: {
|
|
92626
|
+
p_order_id: string;
|
|
92627
|
+
};
|
|
92628
|
+
Returns: {
|
|
92629
|
+
carrier_type: string;
|
|
92630
|
+
idx: number;
|
|
92631
|
+
packages: number;
|
|
92632
|
+
}[];
|
|
92633
|
+
};
|
|
91369
92634
|
logistics_floriday_claim_pushes: {
|
|
91370
92635
|
Args: {
|
|
91371
92636
|
_lease_seconds?: number;
|
|
@@ -91470,6 +92735,25 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
91470
92735
|
};
|
|
91471
92736
|
Returns: number;
|
|
91472
92737
|
};
|
|
92738
|
+
logistics_order_overview: {
|
|
92739
|
+
Args: {
|
|
92740
|
+
p_from?: string;
|
|
92741
|
+
p_to?: string;
|
|
92742
|
+
};
|
|
92743
|
+
Returns: {
|
|
92744
|
+
cart_count: number;
|
|
92745
|
+
customer_name: string;
|
|
92746
|
+
delivery_date: string;
|
|
92747
|
+
order_number: string;
|
|
92748
|
+
order_source: string;
|
|
92749
|
+
order_uuid: string;
|
|
92750
|
+
pick_date: string;
|
|
92751
|
+
plant_count: number;
|
|
92752
|
+
printed_at: string;
|
|
92753
|
+
shifted: boolean;
|
|
92754
|
+
status: string;
|
|
92755
|
+
}[];
|
|
92756
|
+
};
|
|
91473
92757
|
logistics_order_pick_day: {
|
|
91474
92758
|
Args: {
|
|
91475
92759
|
p_order_ref: string;
|
|
@@ -91482,6 +92766,22 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
91482
92766
|
};
|
|
91483
92767
|
Returns: string;
|
|
91484
92768
|
};
|
|
92769
|
+
logistics_pick_agenda: {
|
|
92770
|
+
Args: {
|
|
92771
|
+
p_from?: string;
|
|
92772
|
+
p_to?: string;
|
|
92773
|
+
};
|
|
92774
|
+
Returns: {
|
|
92775
|
+
cart_count: number;
|
|
92776
|
+
in_preparation: number;
|
|
92777
|
+
order_count: number;
|
|
92778
|
+
orders: import("../integrations/supabase/types").Json;
|
|
92779
|
+
pick_date: string;
|
|
92780
|
+
plant_count: number;
|
|
92781
|
+
ready: number;
|
|
92782
|
+
shifted_count: number;
|
|
92783
|
+
}[];
|
|
92784
|
+
};
|
|
91485
92785
|
logistics_pick_email_purpose: {
|
|
91486
92786
|
Args: never;
|
|
91487
92787
|
Returns: string;
|
|
@@ -91536,6 +92836,13 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
91536
92836
|
};
|
|
91537
92837
|
Returns: undefined;
|
|
91538
92838
|
};
|
|
92839
|
+
logistics_plan_floriday_order: {
|
|
92840
|
+
Args: {
|
|
92841
|
+
p_buffer_id?: string;
|
|
92842
|
+
p_order_id: string;
|
|
92843
|
+
};
|
|
92844
|
+
Returns: number;
|
|
92845
|
+
};
|
|
91539
92846
|
logistics_plan_impact_orders: {
|
|
91540
92847
|
Args: {
|
|
91541
92848
|
p_order_id: string;
|
|
@@ -91641,6 +92948,15 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
91641
92948
|
};
|
|
91642
92949
|
Returns: import("../integrations/supabase/types").Json;
|
|
91643
92950
|
};
|
|
92951
|
+
logistics_resolve_pick_document: {
|
|
92952
|
+
Args: {
|
|
92953
|
+
_is_herprint: boolean;
|
|
92954
|
+
_queue_item_id: string;
|
|
92955
|
+
_session_id: string;
|
|
92956
|
+
_voorbeeld: boolean;
|
|
92957
|
+
};
|
|
92958
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
92959
|
+
};
|
|
91644
92960
|
logistics_resolve_settings: {
|
|
91645
92961
|
Args: {
|
|
91646
92962
|
p_config_id: string;
|
|
@@ -91771,14 +93087,6 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
91771
93087
|
};
|
|
91772
93088
|
Returns: string;
|
|
91773
93089
|
};
|
|
91774
|
-
maps_cron_token: {
|
|
91775
|
-
Args: never;
|
|
91776
|
-
Returns: string;
|
|
91777
|
-
};
|
|
91778
|
-
maps_kick_queue: {
|
|
91779
|
-
Args: never;
|
|
91780
|
-
Returns: undefined;
|
|
91781
|
-
};
|
|
91782
93090
|
mark_offer_clicked: {
|
|
91783
93091
|
Args: {
|
|
91784
93092
|
p_code: string;
|
|
@@ -92089,6 +93397,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
92089
93397
|
};
|
|
92090
93398
|
pick_enqueue_print_job: {
|
|
92091
93399
|
Args: {
|
|
93400
|
+
_is_herprint?: boolean;
|
|
92092
93401
|
_printer_id?: string;
|
|
92093
93402
|
_queue_item_id: string;
|
|
92094
93403
|
_session_id?: string;
|
|
@@ -92102,6 +93411,13 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
92102
93411
|
};
|
|
92103
93412
|
Returns: import("../integrations/supabase/types").Json;
|
|
92104
93413
|
};
|
|
93414
|
+
pick_preview_job: {
|
|
93415
|
+
Args: {
|
|
93416
|
+
_queue_item_id: string;
|
|
93417
|
+
_station_slug: string;
|
|
93418
|
+
};
|
|
93419
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
93420
|
+
};
|
|
92105
93421
|
pick_print_job_status: {
|
|
92106
93422
|
Args: {
|
|
92107
93423
|
_job_id: string;
|
|
@@ -92279,6 +93595,24 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
92279
93595
|
};
|
|
92280
93596
|
Returns: undefined;
|
|
92281
93597
|
};
|
|
93598
|
+
print_preview_toestaan: {
|
|
93599
|
+
Args: {
|
|
93600
|
+
_max?: number;
|
|
93601
|
+
_queue_item_id: string;
|
|
93602
|
+
_station_slug: string;
|
|
93603
|
+
_venster_sec?: number;
|
|
93604
|
+
};
|
|
93605
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
93606
|
+
};
|
|
93607
|
+
print_preview_weiger: {
|
|
93608
|
+
Args: {
|
|
93609
|
+
_code: string;
|
|
93610
|
+
_queue_item_id: string;
|
|
93611
|
+
_reden: string;
|
|
93612
|
+
_station_slug: string;
|
|
93613
|
+
};
|
|
93614
|
+
Returns: undefined;
|
|
93615
|
+
};
|
|
92282
93616
|
process_logistics_event: {
|
|
92283
93617
|
Args: {
|
|
92284
93618
|
p_event_id: string;
|
|
@@ -92396,6 +93730,14 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
92396
93730
|
};
|
|
92397
93731
|
Returns: undefined;
|
|
92398
93732
|
};
|
|
93733
|
+
replace_order_carts: {
|
|
93734
|
+
Args: {
|
|
93735
|
+
p_buffer_id: string;
|
|
93736
|
+
p_carts: import("../integrations/supabase/types").Json;
|
|
93737
|
+
p_order_id: string;
|
|
93738
|
+
};
|
|
93739
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
93740
|
+
};
|
|
92399
93741
|
reset_floriday_sync_cursor: {
|
|
92400
93742
|
Args: {
|
|
92401
93743
|
p_connection_id: string;
|
|
@@ -92425,6 +93767,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
92425
93767
|
};
|
|
92426
93768
|
Returns: string;
|
|
92427
93769
|
};
|
|
93770
|
+
resolve_print_job_printer_id: {
|
|
93771
|
+
Args: {
|
|
93772
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
93773
|
+
};
|
|
93774
|
+
Returns: string;
|
|
93775
|
+
};
|
|
92428
93776
|
resolve_product_id_for_item: {
|
|
92429
93777
|
Args: {
|
|
92430
93778
|
p_product_name: string;
|
|
@@ -93016,7 +94364,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
93016
94364
|
};
|
|
93017
94365
|
CompositeTypes: { [_ in never]: never; };
|
|
93018
94366
|
}, {
|
|
93019
|
-
PostgrestVersion: "14.
|
|
94367
|
+
PostgrestVersion: "14.5";
|
|
93020
94368
|
}>;
|
|
93021
94369
|
userId: string;
|
|
93022
94370
|
claims: import("@supabase/auth-js").User;
|
|
@@ -95878,6 +97226,84 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
95878
97226
|
};
|
|
95879
97227
|
Relationships: [];
|
|
95880
97228
|
};
|
|
97229
|
+
delivery_notes: {
|
|
97230
|
+
Row: {
|
|
97231
|
+
byte_size: number | null;
|
|
97232
|
+
connection_id: string | null;
|
|
97233
|
+
content_type: string;
|
|
97234
|
+
created_at: string;
|
|
97235
|
+
error_message: string | null;
|
|
97236
|
+
fetched_at: string | null;
|
|
97237
|
+
fulfillment_order_id: string | null;
|
|
97238
|
+
http_status: number | null;
|
|
97239
|
+
id: string;
|
|
97240
|
+
label_code: string | null;
|
|
97241
|
+
letter: string | null;
|
|
97242
|
+
load_carrier_index: number | null;
|
|
97243
|
+
load_carrier_type: string | null;
|
|
97244
|
+
order_id: string | null;
|
|
97245
|
+
order_number: string | null;
|
|
97246
|
+
packages: number | null;
|
|
97247
|
+
source: string;
|
|
97248
|
+
status: string;
|
|
97249
|
+
storage_bucket: string;
|
|
97250
|
+
storage_path: string | null;
|
|
97251
|
+
updated_at: string;
|
|
97252
|
+
};
|
|
97253
|
+
Insert: {
|
|
97254
|
+
byte_size?: number | null;
|
|
97255
|
+
connection_id?: string | null;
|
|
97256
|
+
content_type?: string;
|
|
97257
|
+
created_at?: string;
|
|
97258
|
+
error_message?: string | null;
|
|
97259
|
+
fetched_at?: string | null;
|
|
97260
|
+
fulfillment_order_id?: string | null;
|
|
97261
|
+
http_status?: number | null;
|
|
97262
|
+
id?: string;
|
|
97263
|
+
label_code?: string | null;
|
|
97264
|
+
letter?: string | null;
|
|
97265
|
+
load_carrier_index?: number | null;
|
|
97266
|
+
load_carrier_type?: string | null;
|
|
97267
|
+
order_id?: string | null;
|
|
97268
|
+
order_number?: string | null;
|
|
97269
|
+
packages?: number | null;
|
|
97270
|
+
source?: string;
|
|
97271
|
+
status?: string;
|
|
97272
|
+
storage_bucket?: string;
|
|
97273
|
+
storage_path?: string | null;
|
|
97274
|
+
updated_at?: string;
|
|
97275
|
+
};
|
|
97276
|
+
Update: {
|
|
97277
|
+
byte_size?: number | null;
|
|
97278
|
+
connection_id?: string | null;
|
|
97279
|
+
content_type?: string;
|
|
97280
|
+
created_at?: string;
|
|
97281
|
+
error_message?: string | null;
|
|
97282
|
+
fetched_at?: string | null;
|
|
97283
|
+
fulfillment_order_id?: string | null;
|
|
97284
|
+
http_status?: number | null;
|
|
97285
|
+
id?: string;
|
|
97286
|
+
label_code?: string | null;
|
|
97287
|
+
letter?: string | null;
|
|
97288
|
+
load_carrier_index?: number | null;
|
|
97289
|
+
load_carrier_type?: string | null;
|
|
97290
|
+
order_id?: string | null;
|
|
97291
|
+
order_number?: string | null;
|
|
97292
|
+
packages?: number | null;
|
|
97293
|
+
source?: string;
|
|
97294
|
+
status?: string;
|
|
97295
|
+
storage_bucket?: string;
|
|
97296
|
+
storage_path?: string | null;
|
|
97297
|
+
updated_at?: string;
|
|
97298
|
+
};
|
|
97299
|
+
Relationships: [{
|
|
97300
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
97301
|
+
columns: ["order_id"];
|
|
97302
|
+
isOneToOne: false;
|
|
97303
|
+
referencedRelation: "orders";
|
|
97304
|
+
referencedColumns: ["id"];
|
|
97305
|
+
}];
|
|
97306
|
+
};
|
|
95881
97307
|
document_bronregels: {
|
|
95882
97308
|
Row: {
|
|
95883
97309
|
bron: string;
|
|
@@ -98931,10 +100357,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
98931
100357
|
};
|
|
98932
100358
|
floriday_connections: {
|
|
98933
100359
|
Row: {
|
|
98934
|
-
access_token: string | null;
|
|
98935
100360
|
api_key: string;
|
|
98936
|
-
client_id: string;
|
|
98937
|
-
client_secret: string;
|
|
98938
100361
|
created_at: string;
|
|
98939
100362
|
customers_endpoint: string | null;
|
|
98940
100363
|
environment: string;
|
|
@@ -98949,10 +100372,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
98949
100372
|
updated_at: string;
|
|
98950
100373
|
};
|
|
98951
100374
|
Insert: {
|
|
98952
|
-
access_token?: string | null;
|
|
98953
100375
|
api_key: string;
|
|
98954
|
-
client_id: string;
|
|
98955
|
-
client_secret: string;
|
|
98956
100376
|
created_at?: string;
|
|
98957
100377
|
customers_endpoint?: string | null;
|
|
98958
100378
|
environment: string;
|
|
@@ -98967,10 +100387,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
98967
100387
|
updated_at?: string;
|
|
98968
100388
|
};
|
|
98969
100389
|
Update: {
|
|
98970
|
-
access_token?: string | null;
|
|
98971
100390
|
api_key?: string;
|
|
98972
|
-
client_id?: string;
|
|
98973
|
-
client_secret?: string;
|
|
98974
100391
|
created_at?: string;
|
|
98975
100392
|
customers_endpoint?: string | null;
|
|
98976
100393
|
environment?: string;
|
|
@@ -103841,6 +105258,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
103841
105258
|
last_error: string | null;
|
|
103842
105259
|
last_error_at: string | null;
|
|
103843
105260
|
last_success_at: string | null;
|
|
105261
|
+
provider: string;
|
|
103844
105262
|
updated_at: string;
|
|
103845
105263
|
};
|
|
103846
105264
|
Insert: {
|
|
@@ -103852,6 +105270,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
103852
105270
|
last_error?: string | null;
|
|
103853
105271
|
last_error_at?: string | null;
|
|
103854
105272
|
last_success_at?: string | null;
|
|
105273
|
+
provider?: string;
|
|
103855
105274
|
updated_at?: string;
|
|
103856
105275
|
};
|
|
103857
105276
|
Update: {
|
|
@@ -103863,6 +105282,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
103863
105282
|
last_error?: string | null;
|
|
103864
105283
|
last_error_at?: string | null;
|
|
103865
105284
|
last_success_at?: string | null;
|
|
105285
|
+
provider?: string;
|
|
103866
105286
|
updated_at?: string;
|
|
103867
105287
|
};
|
|
103868
105288
|
Relationships: [];
|
|
@@ -106600,6 +108020,39 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
106600
108020
|
};
|
|
106601
108021
|
Relationships: [];
|
|
106602
108022
|
};
|
|
108023
|
+
print_dedupe_events: {
|
|
108024
|
+
Row: {
|
|
108025
|
+
bestaande_job_id: string | null;
|
|
108026
|
+
created_at: string;
|
|
108027
|
+
detail: string | null;
|
|
108028
|
+
documentnaam: string | null;
|
|
108029
|
+
documenttype: string | null;
|
|
108030
|
+
id: string;
|
|
108031
|
+
idempotentie_sleutel: string;
|
|
108032
|
+
reden: string;
|
|
108033
|
+
};
|
|
108034
|
+
Insert: {
|
|
108035
|
+
bestaande_job_id?: string | null;
|
|
108036
|
+
created_at?: string;
|
|
108037
|
+
detail?: string | null;
|
|
108038
|
+
documentnaam?: string | null;
|
|
108039
|
+
documenttype?: string | null;
|
|
108040
|
+
id?: string;
|
|
108041
|
+
idempotentie_sleutel: string;
|
|
108042
|
+
reden: string;
|
|
108043
|
+
};
|
|
108044
|
+
Update: {
|
|
108045
|
+
bestaande_job_id?: string | null;
|
|
108046
|
+
created_at?: string;
|
|
108047
|
+
detail?: string | null;
|
|
108048
|
+
documentnaam?: string | null;
|
|
108049
|
+
documenttype?: string | null;
|
|
108050
|
+
id?: string;
|
|
108051
|
+
idempotentie_sleutel?: string;
|
|
108052
|
+
reden?: string;
|
|
108053
|
+
};
|
|
108054
|
+
Relationships: [];
|
|
108055
|
+
};
|
|
106603
108056
|
print_job_logs: {
|
|
106604
108057
|
Row: {
|
|
106605
108058
|
created_at: string;
|
|
@@ -106650,6 +108103,9 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
106650
108103
|
is_herprint: boolean;
|
|
106651
108104
|
kopieen: number;
|
|
106652
108105
|
layout_id: string | null;
|
|
108106
|
+
lokaal_opgeslagen_op: string | null;
|
|
108107
|
+
lokale_pdf_fout: string | null;
|
|
108108
|
+
lokale_pdf_status: string | null;
|
|
106653
108109
|
opgepakt_op: string | null;
|
|
106654
108110
|
paginas: number;
|
|
106655
108111
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -106658,6 +108114,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
106658
108114
|
pogingen: number;
|
|
106659
108115
|
printer_id: string | null;
|
|
106660
108116
|
render_html: string | null;
|
|
108117
|
+
resultaat_pdf_base64: string | null;
|
|
106661
108118
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
106662
108119
|
updated_at: string;
|
|
106663
108120
|
volgende_poging: string | null;
|
|
@@ -106682,6 +108139,9 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
106682
108139
|
is_herprint?: boolean;
|
|
106683
108140
|
kopieen?: number;
|
|
106684
108141
|
layout_id?: string | null;
|
|
108142
|
+
lokaal_opgeslagen_op?: string | null;
|
|
108143
|
+
lokale_pdf_fout?: string | null;
|
|
108144
|
+
lokale_pdf_status?: string | null;
|
|
106685
108145
|
opgepakt_op?: string | null;
|
|
106686
108146
|
paginas?: number;
|
|
106687
108147
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -106690,6 +108150,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
106690
108150
|
pogingen?: number;
|
|
106691
108151
|
printer_id?: string | null;
|
|
106692
108152
|
render_html?: string | null;
|
|
108153
|
+
resultaat_pdf_base64?: string | null;
|
|
106693
108154
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
106694
108155
|
updated_at?: string;
|
|
106695
108156
|
volgende_poging?: string | null;
|
|
@@ -106714,6 +108175,9 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
106714
108175
|
is_herprint?: boolean;
|
|
106715
108176
|
kopieen?: number;
|
|
106716
108177
|
layout_id?: string | null;
|
|
108178
|
+
lokaal_opgeslagen_op?: string | null;
|
|
108179
|
+
lokale_pdf_fout?: string | null;
|
|
108180
|
+
lokale_pdf_status?: string | null;
|
|
106717
108181
|
opgepakt_op?: string | null;
|
|
106718
108182
|
paginas?: number;
|
|
106719
108183
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -106722,6 +108186,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
106722
108186
|
pogingen?: number;
|
|
106723
108187
|
printer_id?: string | null;
|
|
106724
108188
|
render_html?: string | null;
|
|
108189
|
+
resultaat_pdf_base64?: string | null;
|
|
106725
108190
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
106726
108191
|
updated_at?: string;
|
|
106727
108192
|
volgende_poging?: string | null;
|
|
@@ -106840,6 +108305,39 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
106840
108305
|
};
|
|
106841
108306
|
Relationships: [];
|
|
106842
108307
|
};
|
|
108308
|
+
print_preview_events: {
|
|
108309
|
+
Row: {
|
|
108310
|
+
code: string | null;
|
|
108311
|
+
created_at: string;
|
|
108312
|
+
detail: import("../integrations/supabase/types").Json;
|
|
108313
|
+
id: string;
|
|
108314
|
+
queue_item_id: string | null;
|
|
108315
|
+
reden: string | null;
|
|
108316
|
+
station_slug: string | null;
|
|
108317
|
+
uitkomst: string;
|
|
108318
|
+
};
|
|
108319
|
+
Insert: {
|
|
108320
|
+
code?: string | null;
|
|
108321
|
+
created_at?: string;
|
|
108322
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
108323
|
+
id?: string;
|
|
108324
|
+
queue_item_id?: string | null;
|
|
108325
|
+
reden?: string | null;
|
|
108326
|
+
station_slug?: string | null;
|
|
108327
|
+
uitkomst?: string;
|
|
108328
|
+
};
|
|
108329
|
+
Update: {
|
|
108330
|
+
code?: string | null;
|
|
108331
|
+
created_at?: string;
|
|
108332
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
108333
|
+
id?: string;
|
|
108334
|
+
queue_item_id?: string | null;
|
|
108335
|
+
reden?: string | null;
|
|
108336
|
+
station_slug?: string | null;
|
|
108337
|
+
uitkomst?: string;
|
|
108338
|
+
};
|
|
108339
|
+
Relationships: [];
|
|
108340
|
+
};
|
|
106843
108341
|
print_queue_runners: {
|
|
106844
108342
|
Row: {
|
|
106845
108343
|
actief: boolean;
|
|
@@ -107079,6 +108577,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
107079
108577
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
107080
108578
|
online: boolean;
|
|
107081
108579
|
papierformaat: string;
|
|
108580
|
+
pdf_map: string | null;
|
|
107082
108581
|
poort: number | null;
|
|
107083
108582
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
107084
108583
|
systeemnaam: string;
|
|
@@ -107104,6 +108603,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
107104
108603
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
107105
108604
|
online?: boolean;
|
|
107106
108605
|
papierformaat?: string;
|
|
108606
|
+
pdf_map?: string | null;
|
|
107107
108607
|
poort?: number | null;
|
|
107108
108608
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
107109
108609
|
systeemnaam?: string;
|
|
@@ -107129,6 +108629,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
107129
108629
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
107130
108630
|
online?: boolean;
|
|
107131
108631
|
papierformaat?: string;
|
|
108632
|
+
pdf_map?: string | null;
|
|
107132
108633
|
poort?: number | null;
|
|
107133
108634
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
107134
108635
|
systeemnaam?: string;
|
|
@@ -113385,6 +114886,9 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
113385
114886
|
is_herprint: boolean;
|
|
113386
114887
|
kopieen: number;
|
|
113387
114888
|
layout_id: string | null;
|
|
114889
|
+
lokaal_opgeslagen_op: string | null;
|
|
114890
|
+
lokale_pdf_fout: string | null;
|
|
114891
|
+
lokale_pdf_status: string | null;
|
|
113388
114892
|
opgepakt_op: string | null;
|
|
113389
114893
|
paginas: number;
|
|
113390
114894
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -113393,6 +114897,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
113393
114897
|
pogingen: number;
|
|
113394
114898
|
printer_id: string | null;
|
|
113395
114899
|
render_html: string | null;
|
|
114900
|
+
resultaat_pdf_base64: string | null;
|
|
113396
114901
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
113397
114902
|
updated_at: string;
|
|
113398
114903
|
volgende_poging: string | null;
|
|
@@ -113484,6 +114989,53 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
113484
114989
|
isSetofReturn: true;
|
|
113485
114990
|
};
|
|
113486
114991
|
};
|
|
114992
|
+
claim_pdf_print_jobs: {
|
|
114993
|
+
Args: {
|
|
114994
|
+
_max?: number;
|
|
114995
|
+
};
|
|
114996
|
+
Returns: {
|
|
114997
|
+
agent_id: string | null;
|
|
114998
|
+
bron_job_id: string | null;
|
|
114999
|
+
created_at: string;
|
|
115000
|
+
documentnaam: string;
|
|
115001
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
115002
|
+
extern_job_id: string | null;
|
|
115003
|
+
foutmelding: string | null;
|
|
115004
|
+
gebruiker_id: string | null;
|
|
115005
|
+
gebruiker_naam: string;
|
|
115006
|
+
gebruikte_bron: string | null;
|
|
115007
|
+
gebruikte_layout_id: string | null;
|
|
115008
|
+
gestart_op: string | null;
|
|
115009
|
+
herkomst: string | null;
|
|
115010
|
+
id: string;
|
|
115011
|
+
idempotentie_sleutel: string | null;
|
|
115012
|
+
is_herprint: boolean;
|
|
115013
|
+
kopieen: number;
|
|
115014
|
+
layout_id: string | null;
|
|
115015
|
+
lokaal_opgeslagen_op: string | null;
|
|
115016
|
+
lokale_pdf_fout: string | null;
|
|
115017
|
+
lokale_pdf_status: string | null;
|
|
115018
|
+
opgepakt_op: string | null;
|
|
115019
|
+
paginas: number;
|
|
115020
|
+
payload: import("../integrations/supabase/types").Json;
|
|
115021
|
+
pdf_base64: string | null;
|
|
115022
|
+
pdf_url: string | null;
|
|
115023
|
+
pogingen: number;
|
|
115024
|
+
printer_id: string | null;
|
|
115025
|
+
render_html: string | null;
|
|
115026
|
+
resultaat_pdf_base64: string | null;
|
|
115027
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
115028
|
+
updated_at: string;
|
|
115029
|
+
volgende_poging: string | null;
|
|
115030
|
+
voltooid_op: string | null;
|
|
115031
|
+
}[];
|
|
115032
|
+
SetofOptions: {
|
|
115033
|
+
from: "*";
|
|
115034
|
+
to: "print_jobs";
|
|
115035
|
+
isOneToOne: false;
|
|
115036
|
+
isSetofReturn: true;
|
|
115037
|
+
};
|
|
115038
|
+
};
|
|
113487
115039
|
claim_print_jobs: {
|
|
113488
115040
|
Args: {
|
|
113489
115041
|
_agent_id: string;
|
|
@@ -113508,6 +115060,9 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
113508
115060
|
is_herprint: boolean;
|
|
113509
115061
|
kopieen: number;
|
|
113510
115062
|
layout_id: string | null;
|
|
115063
|
+
lokaal_opgeslagen_op: string | null;
|
|
115064
|
+
lokale_pdf_fout: string | null;
|
|
115065
|
+
lokale_pdf_status: string | null;
|
|
113511
115066
|
opgepakt_op: string | null;
|
|
113512
115067
|
paginas: number;
|
|
113513
115068
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -113516,6 +115071,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
113516
115071
|
pogingen: number;
|
|
113517
115072
|
printer_id: string | null;
|
|
113518
115073
|
render_html: string | null;
|
|
115074
|
+
resultaat_pdf_base64: string | null;
|
|
113519
115075
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
113520
115076
|
updated_at: string;
|
|
113521
115077
|
volgende_poging: string | null;
|
|
@@ -113656,6 +115212,8 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
113656
115212
|
order_id: string;
|
|
113657
115213
|
order_source: string;
|
|
113658
115214
|
pick_date: string;
|
|
115215
|
+
printed_at: string;
|
|
115216
|
+
printed_today: boolean;
|
|
113659
115217
|
status: string;
|
|
113660
115218
|
}[];
|
|
113661
115219
|
};
|
|
@@ -114364,6 +115922,10 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
114364
115922
|
};
|
|
114365
115923
|
Returns: number;
|
|
114366
115924
|
};
|
|
115925
|
+
logistics_cancel_orphan_tasks: {
|
|
115926
|
+
Args: never;
|
|
115927
|
+
Returns: number;
|
|
115928
|
+
};
|
|
114367
115929
|
logistics_capacity_day_check: {
|
|
114368
115930
|
Args: {
|
|
114369
115931
|
p_from?: string;
|
|
@@ -114384,6 +115946,25 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
114384
115946
|
};
|
|
114385
115947
|
Returns: number;
|
|
114386
115948
|
};
|
|
115949
|
+
logistics_cart_index: {
|
|
115950
|
+
Args: {
|
|
115951
|
+
p_from?: string;
|
|
115952
|
+
p_to?: string;
|
|
115953
|
+
};
|
|
115954
|
+
Returns: {
|
|
115955
|
+
cart_id: string;
|
|
115956
|
+
cart_index: number;
|
|
115957
|
+
cart_label: string;
|
|
115958
|
+
is_shared: boolean;
|
|
115959
|
+
order_number: string;
|
|
115960
|
+
order_source: string;
|
|
115961
|
+
order_uuid: string;
|
|
115962
|
+
pick_date: string;
|
|
115963
|
+
printed_at: string;
|
|
115964
|
+
shifted: boolean;
|
|
115965
|
+
task_status: string;
|
|
115966
|
+
}[];
|
|
115967
|
+
};
|
|
114387
115968
|
logistics_check_order_allowed: {
|
|
114388
115969
|
Args: {
|
|
114389
115970
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -114532,6 +116113,17 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
114532
116113
|
isSetofReturn: false;
|
|
114533
116114
|
};
|
|
114534
116115
|
};
|
|
116116
|
+
logistics_consistency_check: {
|
|
116117
|
+
Args: never;
|
|
116118
|
+
Returns: {
|
|
116119
|
+
agenda_carts: number;
|
|
116120
|
+
control_carts: number;
|
|
116121
|
+
ok: boolean;
|
|
116122
|
+
orphan_tasks: number;
|
|
116123
|
+
pick_date: string;
|
|
116124
|
+
raw_carts: number;
|
|
116125
|
+
}[];
|
|
116126
|
+
};
|
|
114535
116127
|
logistics_delay_customer_email: {
|
|
114536
116128
|
Args: {
|
|
114537
116129
|
p_customer: string;
|
|
@@ -114621,6 +116213,16 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
114621
116213
|
isSetofReturn: false;
|
|
114622
116214
|
};
|
|
114623
116215
|
};
|
|
116216
|
+
logistics_floriday_cart_plan: {
|
|
116217
|
+
Args: {
|
|
116218
|
+
p_order_id: string;
|
|
116219
|
+
};
|
|
116220
|
+
Returns: {
|
|
116221
|
+
carrier_type: string;
|
|
116222
|
+
idx: number;
|
|
116223
|
+
packages: number;
|
|
116224
|
+
}[];
|
|
116225
|
+
};
|
|
114624
116226
|
logistics_floriday_claim_pushes: {
|
|
114625
116227
|
Args: {
|
|
114626
116228
|
_lease_seconds?: number;
|
|
@@ -114725,6 +116327,25 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
114725
116327
|
};
|
|
114726
116328
|
Returns: number;
|
|
114727
116329
|
};
|
|
116330
|
+
logistics_order_overview: {
|
|
116331
|
+
Args: {
|
|
116332
|
+
p_from?: string;
|
|
116333
|
+
p_to?: string;
|
|
116334
|
+
};
|
|
116335
|
+
Returns: {
|
|
116336
|
+
cart_count: number;
|
|
116337
|
+
customer_name: string;
|
|
116338
|
+
delivery_date: string;
|
|
116339
|
+
order_number: string;
|
|
116340
|
+
order_source: string;
|
|
116341
|
+
order_uuid: string;
|
|
116342
|
+
pick_date: string;
|
|
116343
|
+
plant_count: number;
|
|
116344
|
+
printed_at: string;
|
|
116345
|
+
shifted: boolean;
|
|
116346
|
+
status: string;
|
|
116347
|
+
}[];
|
|
116348
|
+
};
|
|
114728
116349
|
logistics_order_pick_day: {
|
|
114729
116350
|
Args: {
|
|
114730
116351
|
p_order_ref: string;
|
|
@@ -114737,6 +116358,22 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
114737
116358
|
};
|
|
114738
116359
|
Returns: string;
|
|
114739
116360
|
};
|
|
116361
|
+
logistics_pick_agenda: {
|
|
116362
|
+
Args: {
|
|
116363
|
+
p_from?: string;
|
|
116364
|
+
p_to?: string;
|
|
116365
|
+
};
|
|
116366
|
+
Returns: {
|
|
116367
|
+
cart_count: number;
|
|
116368
|
+
in_preparation: number;
|
|
116369
|
+
order_count: number;
|
|
116370
|
+
orders: import("../integrations/supabase/types").Json;
|
|
116371
|
+
pick_date: string;
|
|
116372
|
+
plant_count: number;
|
|
116373
|
+
ready: number;
|
|
116374
|
+
shifted_count: number;
|
|
116375
|
+
}[];
|
|
116376
|
+
};
|
|
114740
116377
|
logistics_pick_email_purpose: {
|
|
114741
116378
|
Args: never;
|
|
114742
116379
|
Returns: string;
|
|
@@ -114791,6 +116428,13 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
114791
116428
|
};
|
|
114792
116429
|
Returns: undefined;
|
|
114793
116430
|
};
|
|
116431
|
+
logistics_plan_floriday_order: {
|
|
116432
|
+
Args: {
|
|
116433
|
+
p_buffer_id?: string;
|
|
116434
|
+
p_order_id: string;
|
|
116435
|
+
};
|
|
116436
|
+
Returns: number;
|
|
116437
|
+
};
|
|
114794
116438
|
logistics_plan_impact_orders: {
|
|
114795
116439
|
Args: {
|
|
114796
116440
|
p_order_id: string;
|
|
@@ -114896,6 +116540,15 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
114896
116540
|
};
|
|
114897
116541
|
Returns: import("../integrations/supabase/types").Json;
|
|
114898
116542
|
};
|
|
116543
|
+
logistics_resolve_pick_document: {
|
|
116544
|
+
Args: {
|
|
116545
|
+
_is_herprint: boolean;
|
|
116546
|
+
_queue_item_id: string;
|
|
116547
|
+
_session_id: string;
|
|
116548
|
+
_voorbeeld: boolean;
|
|
116549
|
+
};
|
|
116550
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
116551
|
+
};
|
|
114899
116552
|
logistics_resolve_settings: {
|
|
114900
116553
|
Args: {
|
|
114901
116554
|
p_config_id: string;
|
|
@@ -115026,14 +116679,6 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
115026
116679
|
};
|
|
115027
116680
|
Returns: string;
|
|
115028
116681
|
};
|
|
115029
|
-
maps_cron_token: {
|
|
115030
|
-
Args: never;
|
|
115031
|
-
Returns: string;
|
|
115032
|
-
};
|
|
115033
|
-
maps_kick_queue: {
|
|
115034
|
-
Args: never;
|
|
115035
|
-
Returns: undefined;
|
|
115036
|
-
};
|
|
115037
116682
|
mark_offer_clicked: {
|
|
115038
116683
|
Args: {
|
|
115039
116684
|
p_code: string;
|
|
@@ -115344,6 +116989,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
115344
116989
|
};
|
|
115345
116990
|
pick_enqueue_print_job: {
|
|
115346
116991
|
Args: {
|
|
116992
|
+
_is_herprint?: boolean;
|
|
115347
116993
|
_printer_id?: string;
|
|
115348
116994
|
_queue_item_id: string;
|
|
115349
116995
|
_session_id?: string;
|
|
@@ -115357,6 +117003,13 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
115357
117003
|
};
|
|
115358
117004
|
Returns: import("../integrations/supabase/types").Json;
|
|
115359
117005
|
};
|
|
117006
|
+
pick_preview_job: {
|
|
117007
|
+
Args: {
|
|
117008
|
+
_queue_item_id: string;
|
|
117009
|
+
_station_slug: string;
|
|
117010
|
+
};
|
|
117011
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
117012
|
+
};
|
|
115360
117013
|
pick_print_job_status: {
|
|
115361
117014
|
Args: {
|
|
115362
117015
|
_job_id: string;
|
|
@@ -115534,6 +117187,24 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
115534
117187
|
};
|
|
115535
117188
|
Returns: undefined;
|
|
115536
117189
|
};
|
|
117190
|
+
print_preview_toestaan: {
|
|
117191
|
+
Args: {
|
|
117192
|
+
_max?: number;
|
|
117193
|
+
_queue_item_id: string;
|
|
117194
|
+
_station_slug: string;
|
|
117195
|
+
_venster_sec?: number;
|
|
117196
|
+
};
|
|
117197
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
117198
|
+
};
|
|
117199
|
+
print_preview_weiger: {
|
|
117200
|
+
Args: {
|
|
117201
|
+
_code: string;
|
|
117202
|
+
_queue_item_id: string;
|
|
117203
|
+
_reden: string;
|
|
117204
|
+
_station_slug: string;
|
|
117205
|
+
};
|
|
117206
|
+
Returns: undefined;
|
|
117207
|
+
};
|
|
115537
117208
|
process_logistics_event: {
|
|
115538
117209
|
Args: {
|
|
115539
117210
|
p_event_id: string;
|
|
@@ -115651,6 +117322,14 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
115651
117322
|
};
|
|
115652
117323
|
Returns: undefined;
|
|
115653
117324
|
};
|
|
117325
|
+
replace_order_carts: {
|
|
117326
|
+
Args: {
|
|
117327
|
+
p_buffer_id: string;
|
|
117328
|
+
p_carts: import("../integrations/supabase/types").Json;
|
|
117329
|
+
p_order_id: string;
|
|
117330
|
+
};
|
|
117331
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
117332
|
+
};
|
|
115654
117333
|
reset_floriday_sync_cursor: {
|
|
115655
117334
|
Args: {
|
|
115656
117335
|
p_connection_id: string;
|
|
@@ -115680,6 +117359,12 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
115680
117359
|
};
|
|
115681
117360
|
Returns: string;
|
|
115682
117361
|
};
|
|
117362
|
+
resolve_print_job_printer_id: {
|
|
117363
|
+
Args: {
|
|
117364
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
117365
|
+
};
|
|
117366
|
+
Returns: string;
|
|
117367
|
+
};
|
|
115683
117368
|
resolve_product_id_for_item: {
|
|
115684
117369
|
Args: {
|
|
115685
117370
|
p_product_name: string;
|
|
@@ -116271,7 +117956,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
116271
117956
|
};
|
|
116272
117957
|
CompositeTypes: { [_ in never]: never; };
|
|
116273
117958
|
}, {
|
|
116274
|
-
PostgrestVersion: "14.
|
|
117959
|
+
PostgrestVersion: "14.5";
|
|
116275
117960
|
}>;
|
|
116276
117961
|
userId: string;
|
|
116277
117962
|
claims: import("@supabase/auth-js").User;
|