@flowselections/floriday-verkoop-module 1.0.50 → 1.0.52
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/SalesOrderDetailPage.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrderDetailPage.js +10 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +233 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +233 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +233 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +236 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/cart-lock.functions.d.ts +233 -0
- package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-planning-settings.functions.d.ts +2563 -0
- package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.d.ts +699 -0
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.js +65 -47
- package/dist-lib/lib/create-order.functions.d.ts +3961 -0
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +699 -0
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +233 -0
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.d.ts +233 -0
- package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.js +28 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +1631 -0
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +1165 -0
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/invoice-timing.functions.d.ts +932 -0
- package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
- package/dist-lib/lib/load-carriers.functions.d.ts +233 -0
- package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-engine.functions.d.ts +1165 -0
- package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-stock.functions.d.ts +466 -0
- package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-addresses.functions.d.ts +233 -0
- package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-buffers.functions.d.ts +699 -0
- package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-carrier.functions.d.ts +466 -0
- package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-numbers.server.d.ts +10 -0
- package/dist-lib/lib/order-numbers.server.d.ts.map +1 -0
- package/dist-lib/lib/order-numbers.server.js +30 -0
- package/dist-lib/lib/order-pickup.functions.d.ts +466 -0
- package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-shipments.functions.d.ts +932 -0
- package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.functions.d.ts +233 -0
- 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 +3 -13
- package/dist-lib/lib/salesorders.functions.d.ts +1165 -0
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders.functions.js +9 -9
- package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +466 -0
- package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -1
- package/dist-lib/lib/tradeitems.functions.d.ts +233 -0
- package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type MinimalClient = {
|
|
2
|
+
from: (table: string) => any;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* Vertaalt Floriday sales-order-ids naar centrale ordernummers.
|
|
6
|
+
* Eén batch-query per 400 ids; ids zonder maprij ontbreken in de Map.
|
|
7
|
+
*/
|
|
8
|
+
export declare function resolveOrderNumbers(supabase: MinimalClient, foIds: Iterable<string>): Promise<Map<string, string>>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=order-numbers.server.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"order-numbers.server.d.ts","sourceRoot":"","sources":["../../src/lib/order-numbers.server.ts"],"names":[],"mappings":"AAKA,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,GAAG,CAAC;CAC9B,CAAC;AAIF;;;GAGG;AACH,wBAAsB,mBAAmB,CACvC,QAAQ,EAAE,aAAa,EACvB,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,GACtB,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAoB9B"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// Eén bron voor het ophalen van centrale ordernummers van Floriday-orders.
|
|
2
|
+
// floriday_order_number_map is leidend; deze helper wordt gebruikt door de
|
|
3
|
+
// lijstquery, het orderdetail én de buffer-siblings, zodat er nooit meer
|
|
4
|
+
// verschillende implementaties naast elkaar bestaan.
|
|
5
|
+
const CHUNK = 400;
|
|
6
|
+
/**
|
|
7
|
+
* Vertaalt Floriday sales-order-ids naar centrale ordernummers.
|
|
8
|
+
* Eén batch-query per 400 ids; ids zonder maprij ontbreken in de Map.
|
|
9
|
+
*/
|
|
10
|
+
export async function resolveOrderNumbers(supabase, foIds) {
|
|
11
|
+
const ids = Array.from(new Set(Array.from(foIds).map((v) => String(v ?? "")).filter((v) => v.length > 0)));
|
|
12
|
+
const out = new Map();
|
|
13
|
+
if (ids.length === 0)
|
|
14
|
+
return out;
|
|
15
|
+
for (let i = 0; i < ids.length; i += CHUNK) {
|
|
16
|
+
const chunk = ids.slice(i, i + CHUNK);
|
|
17
|
+
const { data, error } = await supabase
|
|
18
|
+
.from("floriday_order_number_map")
|
|
19
|
+
.select("floriday_id, order_number")
|
|
20
|
+
.in("floriday_id", chunk);
|
|
21
|
+
if (error)
|
|
22
|
+
throw new Error(error.message);
|
|
23
|
+
for (const row of (data ?? [])) {
|
|
24
|
+
const num = String(row?.order_number ?? "").trim();
|
|
25
|
+
if (num)
|
|
26
|
+
out.set(String(row.floriday_id), num);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
return out;
|
|
30
|
+
}
|
|
@@ -10700,6 +10700,222 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
10700
10700
|
};
|
|
10701
10701
|
Relationships: [];
|
|
10702
10702
|
};
|
|
10703
|
+
maps_addresses: {
|
|
10704
|
+
Row: {
|
|
10705
|
+
address_hash: string;
|
|
10706
|
+
created_at: string;
|
|
10707
|
+
error_reason: string | null;
|
|
10708
|
+
formatted_address: string | null;
|
|
10709
|
+
id: string;
|
|
10710
|
+
lat: number | null;
|
|
10711
|
+
lng: number | null;
|
|
10712
|
+
place_id: string | null;
|
|
10713
|
+
raw_address: string;
|
|
10714
|
+
resolved_at: string | null;
|
|
10715
|
+
status: string;
|
|
10716
|
+
updated_at: string;
|
|
10717
|
+
};
|
|
10718
|
+
Insert: {
|
|
10719
|
+
address_hash: string;
|
|
10720
|
+
created_at?: string;
|
|
10721
|
+
error_reason?: string | null;
|
|
10722
|
+
formatted_address?: string | null;
|
|
10723
|
+
id?: string;
|
|
10724
|
+
lat?: number | null;
|
|
10725
|
+
lng?: number | null;
|
|
10726
|
+
place_id?: string | null;
|
|
10727
|
+
raw_address: string;
|
|
10728
|
+
resolved_at?: string | null;
|
|
10729
|
+
status?: string;
|
|
10730
|
+
updated_at?: string;
|
|
10731
|
+
};
|
|
10732
|
+
Update: {
|
|
10733
|
+
address_hash?: string;
|
|
10734
|
+
created_at?: string;
|
|
10735
|
+
error_reason?: string | null;
|
|
10736
|
+
formatted_address?: string | null;
|
|
10737
|
+
id?: string;
|
|
10738
|
+
lat?: number | null;
|
|
10739
|
+
lng?: number | null;
|
|
10740
|
+
place_id?: string | null;
|
|
10741
|
+
raw_address?: string;
|
|
10742
|
+
resolved_at?: string | null;
|
|
10743
|
+
status?: string;
|
|
10744
|
+
updated_at?: string;
|
|
10745
|
+
};
|
|
10746
|
+
Relationships: [];
|
|
10747
|
+
};
|
|
10748
|
+
maps_request_queue: {
|
|
10749
|
+
Row: {
|
|
10750
|
+
attempts: number;
|
|
10751
|
+
created_at: string;
|
|
10752
|
+
destination_hash: string | null;
|
|
10753
|
+
id: string;
|
|
10754
|
+
kind: string;
|
|
10755
|
+
last_error: string | null;
|
|
10756
|
+
mode: string;
|
|
10757
|
+
origin_hash: string | null;
|
|
10758
|
+
processed_at: string | null;
|
|
10759
|
+
raw_destination: string | null;
|
|
10760
|
+
raw_origin: string | null;
|
|
10761
|
+
requested_by: string | null;
|
|
10762
|
+
status: string;
|
|
10763
|
+
updated_at: string;
|
|
10764
|
+
};
|
|
10765
|
+
Insert: {
|
|
10766
|
+
attempts?: number;
|
|
10767
|
+
created_at?: string;
|
|
10768
|
+
destination_hash?: string | null;
|
|
10769
|
+
id?: string;
|
|
10770
|
+
kind: string;
|
|
10771
|
+
last_error?: string | null;
|
|
10772
|
+
mode?: string;
|
|
10773
|
+
origin_hash?: string | null;
|
|
10774
|
+
processed_at?: string | null;
|
|
10775
|
+
raw_destination?: string | null;
|
|
10776
|
+
raw_origin?: string | null;
|
|
10777
|
+
requested_by?: string | null;
|
|
10778
|
+
status?: string;
|
|
10779
|
+
updated_at?: string;
|
|
10780
|
+
};
|
|
10781
|
+
Update: {
|
|
10782
|
+
attempts?: number;
|
|
10783
|
+
created_at?: string;
|
|
10784
|
+
destination_hash?: string | null;
|
|
10785
|
+
id?: string;
|
|
10786
|
+
kind?: string;
|
|
10787
|
+
last_error?: string | null;
|
|
10788
|
+
mode?: string;
|
|
10789
|
+
origin_hash?: string | null;
|
|
10790
|
+
processed_at?: string | null;
|
|
10791
|
+
raw_destination?: string | null;
|
|
10792
|
+
raw_origin?: string | null;
|
|
10793
|
+
requested_by?: string | null;
|
|
10794
|
+
status?: string;
|
|
10795
|
+
updated_at?: string;
|
|
10796
|
+
};
|
|
10797
|
+
Relationships: [];
|
|
10798
|
+
};
|
|
10799
|
+
maps_settings: {
|
|
10800
|
+
Row: {
|
|
10801
|
+
allow_estimate_fallback: boolean;
|
|
10802
|
+
cache_ttl_days: number;
|
|
10803
|
+
created_at: string;
|
|
10804
|
+
daily_call_limit: number;
|
|
10805
|
+
id: string;
|
|
10806
|
+
last_error: string | null;
|
|
10807
|
+
last_error_at: string | null;
|
|
10808
|
+
last_success_at: string | null;
|
|
10809
|
+
updated_at: string;
|
|
10810
|
+
};
|
|
10811
|
+
Insert: {
|
|
10812
|
+
allow_estimate_fallback?: boolean;
|
|
10813
|
+
cache_ttl_days?: number;
|
|
10814
|
+
created_at?: string;
|
|
10815
|
+
daily_call_limit?: number;
|
|
10816
|
+
id?: string;
|
|
10817
|
+
last_error?: string | null;
|
|
10818
|
+
last_error_at?: string | null;
|
|
10819
|
+
last_success_at?: string | null;
|
|
10820
|
+
updated_at?: string;
|
|
10821
|
+
};
|
|
10822
|
+
Update: {
|
|
10823
|
+
allow_estimate_fallback?: boolean;
|
|
10824
|
+
cache_ttl_days?: number;
|
|
10825
|
+
created_at?: string;
|
|
10826
|
+
daily_call_limit?: number;
|
|
10827
|
+
id?: string;
|
|
10828
|
+
last_error?: string | null;
|
|
10829
|
+
last_error_at?: string | null;
|
|
10830
|
+
last_success_at?: string | null;
|
|
10831
|
+
updated_at?: string;
|
|
10832
|
+
};
|
|
10833
|
+
Relationships: [];
|
|
10834
|
+
};
|
|
10835
|
+
maps_travel_times: {
|
|
10836
|
+
Row: {
|
|
10837
|
+
created_at: string;
|
|
10838
|
+
destination_id: string;
|
|
10839
|
+
distance_m: number | null;
|
|
10840
|
+
duration_sec: number;
|
|
10841
|
+
expires_at: string;
|
|
10842
|
+
id: string;
|
|
10843
|
+
mode: string;
|
|
10844
|
+
origin_id: string;
|
|
10845
|
+
source: string;
|
|
10846
|
+
updated_at: string;
|
|
10847
|
+
};
|
|
10848
|
+
Insert: {
|
|
10849
|
+
created_at?: string;
|
|
10850
|
+
destination_id: string;
|
|
10851
|
+
distance_m?: number | null;
|
|
10852
|
+
duration_sec: number;
|
|
10853
|
+
expires_at?: string;
|
|
10854
|
+
id?: string;
|
|
10855
|
+
mode?: string;
|
|
10856
|
+
origin_id: string;
|
|
10857
|
+
source?: string;
|
|
10858
|
+
updated_at?: string;
|
|
10859
|
+
};
|
|
10860
|
+
Update: {
|
|
10861
|
+
created_at?: string;
|
|
10862
|
+
destination_id?: string;
|
|
10863
|
+
distance_m?: number | null;
|
|
10864
|
+
duration_sec?: number;
|
|
10865
|
+
expires_at?: string;
|
|
10866
|
+
id?: string;
|
|
10867
|
+
mode?: string;
|
|
10868
|
+
origin_id?: string;
|
|
10869
|
+
source?: string;
|
|
10870
|
+
updated_at?: string;
|
|
10871
|
+
};
|
|
10872
|
+
Relationships: [{
|
|
10873
|
+
foreignKeyName: "maps_travel_times_destination_id_fkey";
|
|
10874
|
+
columns: ["destination_id"];
|
|
10875
|
+
isOneToOne: false;
|
|
10876
|
+
referencedRelation: "maps_addresses";
|
|
10877
|
+
referencedColumns: ["id"];
|
|
10878
|
+
}, {
|
|
10879
|
+
foreignKeyName: "maps_travel_times_origin_id_fkey";
|
|
10880
|
+
columns: ["origin_id"];
|
|
10881
|
+
isOneToOne: false;
|
|
10882
|
+
referencedRelation: "maps_addresses";
|
|
10883
|
+
referencedColumns: ["id"];
|
|
10884
|
+
}];
|
|
10885
|
+
};
|
|
10886
|
+
maps_usage_log: {
|
|
10887
|
+
Row: {
|
|
10888
|
+
cache_hits: number;
|
|
10889
|
+
call_type: string;
|
|
10890
|
+
created_at: string;
|
|
10891
|
+
day: string;
|
|
10892
|
+
detail: string | null;
|
|
10893
|
+
elements: number;
|
|
10894
|
+
id: string;
|
|
10895
|
+
outcome: string;
|
|
10896
|
+
};
|
|
10897
|
+
Insert: {
|
|
10898
|
+
cache_hits?: number;
|
|
10899
|
+
call_type: string;
|
|
10900
|
+
created_at?: string;
|
|
10901
|
+
day?: string;
|
|
10902
|
+
detail?: string | null;
|
|
10903
|
+
elements?: number;
|
|
10904
|
+
id?: string;
|
|
10905
|
+
outcome?: string;
|
|
10906
|
+
};
|
|
10907
|
+
Update: {
|
|
10908
|
+
cache_hits?: number;
|
|
10909
|
+
call_type?: string;
|
|
10910
|
+
created_at?: string;
|
|
10911
|
+
day?: string;
|
|
10912
|
+
detail?: string | null;
|
|
10913
|
+
elements?: number;
|
|
10914
|
+
id?: string;
|
|
10915
|
+
outcome?: string;
|
|
10916
|
+
};
|
|
10917
|
+
Relationships: [];
|
|
10918
|
+
};
|
|
10703
10919
|
material_usage: {
|
|
10704
10920
|
Row: {
|
|
10705
10921
|
created_at: string;
|
|
@@ -13810,6 +14026,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
13810
14026
|
created_at: string;
|
|
13811
14027
|
driver: string;
|
|
13812
14028
|
extern_printer_id: string | null;
|
|
14029
|
+
formaten_bijgewerkt_op: string | null;
|
|
13813
14030
|
id: string;
|
|
13814
14031
|
ip_adres: string | null;
|
|
13815
14032
|
laatst_gezien: string | null;
|
|
@@ -13817,6 +14034,8 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
13817
14034
|
merk: string;
|
|
13818
14035
|
naam: string;
|
|
13819
14036
|
omschrijving: string;
|
|
14037
|
+
ondersteunde_formaten: import("../integrations/supabase/types").Json | null;
|
|
14038
|
+
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
13820
14039
|
online: boolean;
|
|
13821
14040
|
papierformaat: string;
|
|
13822
14041
|
poort: number | null;
|
|
@@ -13832,6 +14051,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
13832
14051
|
created_at?: string;
|
|
13833
14052
|
driver?: string;
|
|
13834
14053
|
extern_printer_id?: string | null;
|
|
14054
|
+
formaten_bijgewerkt_op?: string | null;
|
|
13835
14055
|
id?: string;
|
|
13836
14056
|
ip_adres?: string | null;
|
|
13837
14057
|
laatst_gezien?: string | null;
|
|
@@ -13839,6 +14059,8 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
13839
14059
|
merk?: string;
|
|
13840
14060
|
naam: string;
|
|
13841
14061
|
omschrijving?: string;
|
|
14062
|
+
ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
|
|
14063
|
+
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
13842
14064
|
online?: boolean;
|
|
13843
14065
|
papierformaat?: string;
|
|
13844
14066
|
poort?: number | null;
|
|
@@ -13854,6 +14076,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
13854
14076
|
created_at?: string;
|
|
13855
14077
|
driver?: string;
|
|
13856
14078
|
extern_printer_id?: string | null;
|
|
14079
|
+
formaten_bijgewerkt_op?: string | null;
|
|
13857
14080
|
id?: string;
|
|
13858
14081
|
ip_adres?: string | null;
|
|
13859
14082
|
laatst_gezien?: string | null;
|
|
@@ -13861,6 +14084,8 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
13861
14084
|
merk?: string;
|
|
13862
14085
|
naam?: string;
|
|
13863
14086
|
omschrijving?: string;
|
|
14087
|
+
ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
|
|
14088
|
+
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
13864
14089
|
online?: boolean;
|
|
13865
14090
|
papierformaat?: string;
|
|
13866
14091
|
poort?: number | null;
|
|
@@ -22087,6 +22312,10 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
22087
22312
|
omschrijving: string;
|
|
22088
22313
|
}[];
|
|
22089
22314
|
};
|
|
22315
|
+
pick_reference_data_status: {
|
|
22316
|
+
Args: never;
|
|
22317
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22318
|
+
};
|
|
22090
22319
|
pick_release_expired_locks: {
|
|
22091
22320
|
Args: never;
|
|
22092
22321
|
Returns: number;
|
|
@@ -22151,6 +22380,10 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
22151
22380
|
isSetofReturn: false;
|
|
22152
22381
|
};
|
|
22153
22382
|
};
|
|
22383
|
+
pick_seed_reference_data: {
|
|
22384
|
+
Args: never;
|
|
22385
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22386
|
+
};
|
|
22154
22387
|
pick_set_station_print_plek: {
|
|
22155
22388
|
Args: {
|
|
22156
22389
|
_print_plek_id: string;
|
|
@@ -33688,6 +33921,222 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
33688
33921
|
};
|
|
33689
33922
|
Relationships: [];
|
|
33690
33923
|
};
|
|
33924
|
+
maps_addresses: {
|
|
33925
|
+
Row: {
|
|
33926
|
+
address_hash: string;
|
|
33927
|
+
created_at: string;
|
|
33928
|
+
error_reason: string | null;
|
|
33929
|
+
formatted_address: string | null;
|
|
33930
|
+
id: string;
|
|
33931
|
+
lat: number | null;
|
|
33932
|
+
lng: number | null;
|
|
33933
|
+
place_id: string | null;
|
|
33934
|
+
raw_address: string;
|
|
33935
|
+
resolved_at: string | null;
|
|
33936
|
+
status: string;
|
|
33937
|
+
updated_at: string;
|
|
33938
|
+
};
|
|
33939
|
+
Insert: {
|
|
33940
|
+
address_hash: string;
|
|
33941
|
+
created_at?: string;
|
|
33942
|
+
error_reason?: string | null;
|
|
33943
|
+
formatted_address?: string | null;
|
|
33944
|
+
id?: string;
|
|
33945
|
+
lat?: number | null;
|
|
33946
|
+
lng?: number | null;
|
|
33947
|
+
place_id?: string | null;
|
|
33948
|
+
raw_address: string;
|
|
33949
|
+
resolved_at?: string | null;
|
|
33950
|
+
status?: string;
|
|
33951
|
+
updated_at?: string;
|
|
33952
|
+
};
|
|
33953
|
+
Update: {
|
|
33954
|
+
address_hash?: string;
|
|
33955
|
+
created_at?: string;
|
|
33956
|
+
error_reason?: string | null;
|
|
33957
|
+
formatted_address?: string | null;
|
|
33958
|
+
id?: string;
|
|
33959
|
+
lat?: number | null;
|
|
33960
|
+
lng?: number | null;
|
|
33961
|
+
place_id?: string | null;
|
|
33962
|
+
raw_address?: string;
|
|
33963
|
+
resolved_at?: string | null;
|
|
33964
|
+
status?: string;
|
|
33965
|
+
updated_at?: string;
|
|
33966
|
+
};
|
|
33967
|
+
Relationships: [];
|
|
33968
|
+
};
|
|
33969
|
+
maps_request_queue: {
|
|
33970
|
+
Row: {
|
|
33971
|
+
attempts: number;
|
|
33972
|
+
created_at: string;
|
|
33973
|
+
destination_hash: string | null;
|
|
33974
|
+
id: string;
|
|
33975
|
+
kind: string;
|
|
33976
|
+
last_error: string | null;
|
|
33977
|
+
mode: string;
|
|
33978
|
+
origin_hash: string | null;
|
|
33979
|
+
processed_at: string | null;
|
|
33980
|
+
raw_destination: string | null;
|
|
33981
|
+
raw_origin: string | null;
|
|
33982
|
+
requested_by: string | null;
|
|
33983
|
+
status: string;
|
|
33984
|
+
updated_at: string;
|
|
33985
|
+
};
|
|
33986
|
+
Insert: {
|
|
33987
|
+
attempts?: number;
|
|
33988
|
+
created_at?: string;
|
|
33989
|
+
destination_hash?: string | null;
|
|
33990
|
+
id?: string;
|
|
33991
|
+
kind: string;
|
|
33992
|
+
last_error?: string | null;
|
|
33993
|
+
mode?: string;
|
|
33994
|
+
origin_hash?: string | null;
|
|
33995
|
+
processed_at?: string | null;
|
|
33996
|
+
raw_destination?: string | null;
|
|
33997
|
+
raw_origin?: string | null;
|
|
33998
|
+
requested_by?: string | null;
|
|
33999
|
+
status?: string;
|
|
34000
|
+
updated_at?: string;
|
|
34001
|
+
};
|
|
34002
|
+
Update: {
|
|
34003
|
+
attempts?: number;
|
|
34004
|
+
created_at?: string;
|
|
34005
|
+
destination_hash?: string | null;
|
|
34006
|
+
id?: string;
|
|
34007
|
+
kind?: string;
|
|
34008
|
+
last_error?: string | null;
|
|
34009
|
+
mode?: string;
|
|
34010
|
+
origin_hash?: string | null;
|
|
34011
|
+
processed_at?: string | null;
|
|
34012
|
+
raw_destination?: string | null;
|
|
34013
|
+
raw_origin?: string | null;
|
|
34014
|
+
requested_by?: string | null;
|
|
34015
|
+
status?: string;
|
|
34016
|
+
updated_at?: string;
|
|
34017
|
+
};
|
|
34018
|
+
Relationships: [];
|
|
34019
|
+
};
|
|
34020
|
+
maps_settings: {
|
|
34021
|
+
Row: {
|
|
34022
|
+
allow_estimate_fallback: boolean;
|
|
34023
|
+
cache_ttl_days: number;
|
|
34024
|
+
created_at: string;
|
|
34025
|
+
daily_call_limit: number;
|
|
34026
|
+
id: string;
|
|
34027
|
+
last_error: string | null;
|
|
34028
|
+
last_error_at: string | null;
|
|
34029
|
+
last_success_at: string | null;
|
|
34030
|
+
updated_at: string;
|
|
34031
|
+
};
|
|
34032
|
+
Insert: {
|
|
34033
|
+
allow_estimate_fallback?: boolean;
|
|
34034
|
+
cache_ttl_days?: number;
|
|
34035
|
+
created_at?: string;
|
|
34036
|
+
daily_call_limit?: number;
|
|
34037
|
+
id?: string;
|
|
34038
|
+
last_error?: string | null;
|
|
34039
|
+
last_error_at?: string | null;
|
|
34040
|
+
last_success_at?: string | null;
|
|
34041
|
+
updated_at?: string;
|
|
34042
|
+
};
|
|
34043
|
+
Update: {
|
|
34044
|
+
allow_estimate_fallback?: boolean;
|
|
34045
|
+
cache_ttl_days?: number;
|
|
34046
|
+
created_at?: string;
|
|
34047
|
+
daily_call_limit?: number;
|
|
34048
|
+
id?: string;
|
|
34049
|
+
last_error?: string | null;
|
|
34050
|
+
last_error_at?: string | null;
|
|
34051
|
+
last_success_at?: string | null;
|
|
34052
|
+
updated_at?: string;
|
|
34053
|
+
};
|
|
34054
|
+
Relationships: [];
|
|
34055
|
+
};
|
|
34056
|
+
maps_travel_times: {
|
|
34057
|
+
Row: {
|
|
34058
|
+
created_at: string;
|
|
34059
|
+
destination_id: string;
|
|
34060
|
+
distance_m: number | null;
|
|
34061
|
+
duration_sec: number;
|
|
34062
|
+
expires_at: string;
|
|
34063
|
+
id: string;
|
|
34064
|
+
mode: string;
|
|
34065
|
+
origin_id: string;
|
|
34066
|
+
source: string;
|
|
34067
|
+
updated_at: string;
|
|
34068
|
+
};
|
|
34069
|
+
Insert: {
|
|
34070
|
+
created_at?: string;
|
|
34071
|
+
destination_id: string;
|
|
34072
|
+
distance_m?: number | null;
|
|
34073
|
+
duration_sec: number;
|
|
34074
|
+
expires_at?: string;
|
|
34075
|
+
id?: string;
|
|
34076
|
+
mode?: string;
|
|
34077
|
+
origin_id: string;
|
|
34078
|
+
source?: string;
|
|
34079
|
+
updated_at?: string;
|
|
34080
|
+
};
|
|
34081
|
+
Update: {
|
|
34082
|
+
created_at?: string;
|
|
34083
|
+
destination_id?: string;
|
|
34084
|
+
distance_m?: number | null;
|
|
34085
|
+
duration_sec?: number;
|
|
34086
|
+
expires_at?: string;
|
|
34087
|
+
id?: string;
|
|
34088
|
+
mode?: string;
|
|
34089
|
+
origin_id?: string;
|
|
34090
|
+
source?: string;
|
|
34091
|
+
updated_at?: string;
|
|
34092
|
+
};
|
|
34093
|
+
Relationships: [{
|
|
34094
|
+
foreignKeyName: "maps_travel_times_destination_id_fkey";
|
|
34095
|
+
columns: ["destination_id"];
|
|
34096
|
+
isOneToOne: false;
|
|
34097
|
+
referencedRelation: "maps_addresses";
|
|
34098
|
+
referencedColumns: ["id"];
|
|
34099
|
+
}, {
|
|
34100
|
+
foreignKeyName: "maps_travel_times_origin_id_fkey";
|
|
34101
|
+
columns: ["origin_id"];
|
|
34102
|
+
isOneToOne: false;
|
|
34103
|
+
referencedRelation: "maps_addresses";
|
|
34104
|
+
referencedColumns: ["id"];
|
|
34105
|
+
}];
|
|
34106
|
+
};
|
|
34107
|
+
maps_usage_log: {
|
|
34108
|
+
Row: {
|
|
34109
|
+
cache_hits: number;
|
|
34110
|
+
call_type: string;
|
|
34111
|
+
created_at: string;
|
|
34112
|
+
day: string;
|
|
34113
|
+
detail: string | null;
|
|
34114
|
+
elements: number;
|
|
34115
|
+
id: string;
|
|
34116
|
+
outcome: string;
|
|
34117
|
+
};
|
|
34118
|
+
Insert: {
|
|
34119
|
+
cache_hits?: number;
|
|
34120
|
+
call_type: string;
|
|
34121
|
+
created_at?: string;
|
|
34122
|
+
day?: string;
|
|
34123
|
+
detail?: string | null;
|
|
34124
|
+
elements?: number;
|
|
34125
|
+
id?: string;
|
|
34126
|
+
outcome?: string;
|
|
34127
|
+
};
|
|
34128
|
+
Update: {
|
|
34129
|
+
cache_hits?: number;
|
|
34130
|
+
call_type?: string;
|
|
34131
|
+
created_at?: string;
|
|
34132
|
+
day?: string;
|
|
34133
|
+
detail?: string | null;
|
|
34134
|
+
elements?: number;
|
|
34135
|
+
id?: string;
|
|
34136
|
+
outcome?: string;
|
|
34137
|
+
};
|
|
34138
|
+
Relationships: [];
|
|
34139
|
+
};
|
|
33691
34140
|
material_usage: {
|
|
33692
34141
|
Row: {
|
|
33693
34142
|
created_at: string;
|
|
@@ -36798,6 +37247,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
36798
37247
|
created_at: string;
|
|
36799
37248
|
driver: string;
|
|
36800
37249
|
extern_printer_id: string | null;
|
|
37250
|
+
formaten_bijgewerkt_op: string | null;
|
|
36801
37251
|
id: string;
|
|
36802
37252
|
ip_adres: string | null;
|
|
36803
37253
|
laatst_gezien: string | null;
|
|
@@ -36805,6 +37255,8 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
36805
37255
|
merk: string;
|
|
36806
37256
|
naam: string;
|
|
36807
37257
|
omschrijving: string;
|
|
37258
|
+
ondersteunde_formaten: import("../integrations/supabase/types").Json | null;
|
|
37259
|
+
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
36808
37260
|
online: boolean;
|
|
36809
37261
|
papierformaat: string;
|
|
36810
37262
|
poort: number | null;
|
|
@@ -36820,6 +37272,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
36820
37272
|
created_at?: string;
|
|
36821
37273
|
driver?: string;
|
|
36822
37274
|
extern_printer_id?: string | null;
|
|
37275
|
+
formaten_bijgewerkt_op?: string | null;
|
|
36823
37276
|
id?: string;
|
|
36824
37277
|
ip_adres?: string | null;
|
|
36825
37278
|
laatst_gezien?: string | null;
|
|
@@ -36827,6 +37280,8 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
36827
37280
|
merk?: string;
|
|
36828
37281
|
naam: string;
|
|
36829
37282
|
omschrijving?: string;
|
|
37283
|
+
ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
|
|
37284
|
+
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
36830
37285
|
online?: boolean;
|
|
36831
37286
|
papierformaat?: string;
|
|
36832
37287
|
poort?: number | null;
|
|
@@ -36842,6 +37297,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
36842
37297
|
created_at?: string;
|
|
36843
37298
|
driver?: string;
|
|
36844
37299
|
extern_printer_id?: string | null;
|
|
37300
|
+
formaten_bijgewerkt_op?: string | null;
|
|
36845
37301
|
id?: string;
|
|
36846
37302
|
ip_adres?: string | null;
|
|
36847
37303
|
laatst_gezien?: string | null;
|
|
@@ -36849,6 +37305,8 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
36849
37305
|
merk?: string;
|
|
36850
37306
|
naam?: string;
|
|
36851
37307
|
omschrijving?: string;
|
|
37308
|
+
ondersteunde_formaten?: import("../integrations/supabase/types").Json | null;
|
|
37309
|
+
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
36852
37310
|
online?: boolean;
|
|
36853
37311
|
papierformaat?: string;
|
|
36854
37312
|
poort?: number | null;
|
|
@@ -45075,6 +45533,10 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
45075
45533
|
omschrijving: string;
|
|
45076
45534
|
}[];
|
|
45077
45535
|
};
|
|
45536
|
+
pick_reference_data_status: {
|
|
45537
|
+
Args: never;
|
|
45538
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
45539
|
+
};
|
|
45078
45540
|
pick_release_expired_locks: {
|
|
45079
45541
|
Args: never;
|
|
45080
45542
|
Returns: number;
|
|
@@ -45139,6 +45601,10 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
45139
45601
|
isSetofReturn: false;
|
|
45140
45602
|
};
|
|
45141
45603
|
};
|
|
45604
|
+
pick_seed_reference_data: {
|
|
45605
|
+
Args: never;
|
|
45606
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
45607
|
+
};
|
|
45142
45608
|
pick_set_station_print_plek: {
|
|
45143
45609
|
Args: {
|
|
45144
45610
|
_print_plek_id: string;
|