@flowselections/pick-schermen-kwekers 1.0.16 → 1.0.17
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/pick/QueueTable.d.ts.map +1 -1
- package/dist-lib/components/pick/QueueTable.js +11 -5
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +104 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +104 -1
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +104 -1
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +104 -1
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/pickPreview.d.ts.map +1 -1
- package/dist-lib/lib/pickPreview.js +22 -1
- package/dist-lib/lib/pickTypes.d.ts +6 -0
- package/dist-lib/lib/pickTypes.d.ts.map +1 -1
- package/dist-lib/lib/pickTypes.js +14 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueueTable.d.ts","sourceRoot":"","sources":["../../../src/components/pick/QueueTable.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEvF,OAAO,EAAqB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAE5E,UAAU,KAAK;IACb,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACvB,QAAQ,EAAE,UAAU,EAAE,CAAC;IACvB,aAAa,EAAE,gBAAgB,EAAE,CAAC;IAClC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IACtC,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IAC1C,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IAC1C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,CAAC,CAAC,EAAE,cAAc,CAAC;CACpB;AASD,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,SAAS,EACT,QAAQ,EACR,aAAa,EACb,MAAM,EACN,MAAM,EACN,SAAS,EACT,SAAS,EACT,QAAQ,EACR,CAAC,EAAE,UAAU,GACd,EAAE,KAAK,+
|
|
1
|
+
{"version":3,"file":"QueueTable.d.ts","sourceRoot":"","sources":["../../../src/components/pick/QueueTable.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEvF,OAAO,EAAqB,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAE5E,UAAU,KAAK;IACb,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACvB,QAAQ,EAAE,UAAU,EAAE,CAAC;IACvB,aAAa,EAAE,gBAAgB,EAAE,CAAC;IAClC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IACtC,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IAC1C,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IAC1C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,CAAC,CAAC,EAAE,cAAc,CAAC;CACpB;AASD,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,SAAS,EACT,QAAQ,EACR,aAAa,EACb,MAAM,EACN,MAAM,EACN,SAAS,EACT,SAAS,EACT,QAAQ,EACR,CAAC,EAAE,UAAU,GACd,EAAE,KAAK,+BA6QP"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { Badge, Button, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from "@flowselections/core";
|
|
3
3
|
import { AlertTriangle, Eye, Lock, Printer, RotateCcw } from "lucide-react";
|
|
4
|
-
import { sinceLabel } from "../../lib/pickTypes";
|
|
4
|
+
import { displayCartCount, displayPageCount, sinceLabel } from "../../lib/pickTypes";
|
|
5
5
|
import { getPickTranslator } from "../../lib/pickI18n";
|
|
6
6
|
function priorityTone(priority, urgent) {
|
|
7
7
|
if (urgent)
|
|
@@ -16,12 +16,15 @@ export function QueueTable({ items, lockedIds, statuses, documentTypes, busyId,
|
|
|
16
16
|
const t = translator ?? getPickTranslator("nl");
|
|
17
17
|
const safeItems = Array.isArray(items) ? items : [];
|
|
18
18
|
const docById = new Map((Array.isArray(documentTypes) ? documentTypes : []).map((d) => [d.id, d]));
|
|
19
|
-
return (_jsxs(_Fragment, { children: [_jsx("div", { className: "hidden overflow-x-auto rounded-lg border md:block", children: _jsxs(Table, { children: [_jsx(TableHeader, { children: _jsxs(TableRow, { children: [_jsx(TableHead, { children: t("document") }), _jsx(TableHead, { children: t("order") }), _jsx(TableHead, { children: t("customer") }), _jsx(TableHead, { className: "
|
|
19
|
+
return (_jsxs(_Fragment, { children: [_jsx("div", { className: "hidden overflow-x-auto rounded-lg border md:block", children: _jsxs(Table, { children: [_jsx(TableHeader, { children: _jsxs(TableRow, { children: [_jsx(TableHead, { children: t("document") }), _jsx(TableHead, { children: t("order") }), _jsx(TableHead, { children: t("customer") }), _jsx(TableHead, { className: "text-right", children: t("lines") }), _jsx(TableHead, { className: "text-right", children: t("carts") }), _jsx(TableHead, { className: "text-right", children: t("page") }), _jsx(TableHead, { children: t("status") }), _jsx(TableHead, { children: t("priority") }), _jsx(TableHead, { children: t("announced") }), _jsx(TableHead, { children: t("waiting") }), _jsx(TableHead, { className: "text-right", children: t("action") })] }) }), _jsxs(TableBody, { children: [safeItems.map((item) => {
|
|
20
20
|
const printed = !!item.printed_at;
|
|
21
21
|
const locked = !printed && lockedIds.has(item.id);
|
|
22
22
|
const doc = item.document_type_id ? docById.get(item.document_type_id) : undefined;
|
|
23
23
|
const warnings = Array.isArray(item.warnings) ? item.warnings : [];
|
|
24
|
-
return (_jsxs(TableRow, { className: locked || printed ? "opacity-60" : undefined, children: [_jsxs(TableCell, { className: "font-medium", children: [_jsxs("div", { className: "flex items-center gap-2", children: [item.document_number, warnings.length > 0 && (_jsx(AlertTriangle, { className: "h-4 w-4 text-destructive", "aria-label": t("warning") }))] }), _jsx("div", { className: "text-xs text-muted-foreground", children: doc?.name ?? "-" })] }), _jsx(TableCell, { children: item.order_number }), _jsx(TableCell, { children: item.customer_name }), _jsx(TableCell, { className: "
|
|
24
|
+
return (_jsxs(TableRow, { className: locked || printed ? "opacity-60" : undefined, children: [_jsxs(TableCell, { className: "font-medium", children: [_jsxs("div", { className: "flex items-center gap-2", children: [item.document_number, warnings.length > 0 && (_jsx(AlertTriangle, { className: "h-4 w-4 text-destructive", "aria-label": t("warning") }))] }), _jsx("div", { className: "text-xs text-muted-foreground", children: doc?.name ?? "-" })] }), _jsx(TableCell, { children: item.order_number }), _jsx(TableCell, { children: item.customer_name }), _jsx(TableCell, { className: "text-right", children: item.line_count }), _jsx(TableCell, { className: "text-right", children: displayCartCount(item.cart_count) }), _jsx(TableCell, { className: "text-right", children: displayPageCount(item.line_count) }), _jsxs(TableCell, { children: [_jsx(Badge, { variant: printed ? "secondary" : "default", children: printed ? t("statusPrinted") : t("statusToPrint") }), printed && (_jsx("div", { className: "mt-1 text-xs text-muted-foreground", children: new Date(item.printed_at).toLocaleTimeString([], {
|
|
25
|
+
hour: "2-digit",
|
|
26
|
+
minute: "2-digit",
|
|
27
|
+
}) }))] }), _jsx(TableCell, { children: _jsx("span", { className: "rounded px-2 py-1 text-xs font-semibold " +
|
|
25
28
|
priorityTone(item.priority, item.is_urgent), children: item.is_urgent ? t("urgent") : item.priority }) }), _jsx(TableCell, { className: "whitespace-nowrap text-sm", children: new Date(item.announced_at).toLocaleTimeString(t.locale, {
|
|
26
29
|
hour: "2-digit",
|
|
27
30
|
minute: "2-digit",
|
|
@@ -37,8 +40,11 @@ export function QueueTable({ items, lockedIds, statuses, documentTypes, busyId,
|
|
|
37
40
|
return (_jsxs("div", { className: "rounded-lg border bg-card p-4 " + (locked || printed ? "opacity-60" : ""), children: [_jsxs("div", { className: "grid grid-cols-[minmax(0,1fr)_auto] items-start gap-3", children: [_jsxs("div", { className: "min-w-0", children: [_jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [_jsx("span", { className: "truncate text-lg font-bold text-foreground", children: item.document_number }), warnings.length > 0 && (_jsx(AlertTriangle, { className: "h-4 w-4 shrink-0 text-destructive", "aria-label": t("warning") }))] }), _jsx("p", { className: "truncate text-xs text-muted-foreground", children: doc?.name ?? "-" })] }), _jsxs("div", { className: "flex shrink-0 items-start gap-1", children: [onPreview && (_jsx("button", { type: "button", "aria-label": "Voorbeeld " + item.document_number, title: "Voorbeeld " + item.document_number, className: "inline-flex h-11 w-11 shrink-0 items-center justify-center rounded-md text-muted-foreground hover:bg-muted hover:text-foreground", onClick: (e) => {
|
|
38
41
|
e.stopPropagation();
|
|
39
42
|
onPreview(item);
|
|
40
|
-
}, children: _jsx(Eye, { className: "h-5 w-5" }) })), _jsxs("div", { className: "flex shrink-0 flex-col items-end gap-1", children: [_jsx(Badge, { variant: printed ? "secondary" : "default", children: printed ? t("statusPrinted") : t("statusToPrint") }), _jsx("span", { className: "
|
|
41
|
-
|
|
43
|
+
}, children: _jsx(Eye, { className: "h-5 w-5" }) })), _jsxs("div", { className: "flex shrink-0 flex-col items-end gap-1", children: [_jsx(Badge, { variant: printed ? "secondary" : "default", children: printed ? t("statusPrinted") : t("statusToPrint") }), printed && (_jsx("span", { className: "text-xs text-muted-foreground", children: new Date(item.printed_at).toLocaleTimeString([], {
|
|
44
|
+
hour: "2-digit",
|
|
45
|
+
minute: "2-digit",
|
|
46
|
+
}) })), _jsx("span", { className: "rounded px-2 py-0.5 text-xs font-semibold " +
|
|
47
|
+
priorityTone(item.priority, item.is_urgent), children: item.is_urgent ? t("urgent") : item.priority })] })] })] }), _jsxs("div", { className: "mt-2 min-w-0 space-y-0.5 text-sm", children: [_jsx("p", { className: "truncate text-foreground", children: item.order_number }), _jsx("p", { className: "truncate text-muted-foreground", children: item.customer_name })] }), _jsxs("div", { className: "mt-2 flex flex-wrap gap-x-3 gap-y-1 text-xs text-muted-foreground", children: [_jsxs("span", { children: [t("lines"), ": ", item.line_count] }), _jsxs("span", { children: [t("carts"), ": ", displayCartCount(item.cart_count)] }), _jsxs("span", { children: [t("page"), ": ", displayPageCount(item.line_count)] }), _jsxs("span", { children: [t("announced"), ":", " ", new Date(item.announced_at).toLocaleTimeString(t.locale, {
|
|
42
48
|
hour: "2-digit",
|
|
43
49
|
minute: "2-digit",
|
|
44
50
|
})] }), _jsxs("span", { children: [t("waiting"), ": ", sinceLabel(item.announced_at)] })] }), _jsx("div", { className: "mt-3", children: printed ? (_jsxs(Button, { size: "lg", variant: "outline", className: "h-12 w-full", disabled: readOnly || busyId === item.id, onClick: () => (onReprint ?? onPick)(item), children: [_jsx(RotateCcw, { className: "mr-2 h-4 w-4" }), t("print")] })) : locked ? (_jsxs("span", { className: "inline-flex items-center gap-1 text-xs text-muted-foreground", children: [_jsx(Lock, { className: "h-3.5 w-3.5" }), " ", t("inProgress")] })) : (_jsxs(Button, { size: "lg", className: "h-12 w-full", disabled: readOnly || busyId === item.id, onClick: () => onPick(item), children: [_jsx(Printer, { className: "mr-2 h-4 w-4" }), t("print")] })) })] }, item.id));
|
|
@@ -13660,6 +13660,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13660
13660
|
is_herprint: boolean;
|
|
13661
13661
|
kopieen: number;
|
|
13662
13662
|
layout_id: string | null;
|
|
13663
|
+
lokaal_opgeslagen_op: string | null;
|
|
13664
|
+
lokale_pdf_fout: string | null;
|
|
13665
|
+
lokale_pdf_status: string | null;
|
|
13663
13666
|
opgepakt_op: string | null;
|
|
13664
13667
|
paginas: number;
|
|
13665
13668
|
payload: import("./types").Json;
|
|
@@ -13668,6 +13671,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13668
13671
|
pogingen: number;
|
|
13669
13672
|
printer_id: string | null;
|
|
13670
13673
|
render_html: string | null;
|
|
13674
|
+
resultaat_pdf_base64: string | null;
|
|
13671
13675
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
13672
13676
|
updated_at: string;
|
|
13673
13677
|
volgende_poging: string | null;
|
|
@@ -13692,6 +13696,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13692
13696
|
is_herprint?: boolean;
|
|
13693
13697
|
kopieen?: number;
|
|
13694
13698
|
layout_id?: string | null;
|
|
13699
|
+
lokaal_opgeslagen_op?: string | null;
|
|
13700
|
+
lokale_pdf_fout?: string | null;
|
|
13701
|
+
lokale_pdf_status?: string | null;
|
|
13695
13702
|
opgepakt_op?: string | null;
|
|
13696
13703
|
paginas?: number;
|
|
13697
13704
|
payload?: import("./types").Json;
|
|
@@ -13700,6 +13707,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13700
13707
|
pogingen?: number;
|
|
13701
13708
|
printer_id?: string | null;
|
|
13702
13709
|
render_html?: string | null;
|
|
13710
|
+
resultaat_pdf_base64?: string | null;
|
|
13703
13711
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
13704
13712
|
updated_at?: string;
|
|
13705
13713
|
volgende_poging?: string | null;
|
|
@@ -13724,6 +13732,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13724
13732
|
is_herprint?: boolean;
|
|
13725
13733
|
kopieen?: number;
|
|
13726
13734
|
layout_id?: string | null;
|
|
13735
|
+
lokaal_opgeslagen_op?: string | null;
|
|
13736
|
+
lokale_pdf_fout?: string | null;
|
|
13737
|
+
lokale_pdf_status?: string | null;
|
|
13727
13738
|
opgepakt_op?: string | null;
|
|
13728
13739
|
paginas?: number;
|
|
13729
13740
|
payload?: import("./types").Json;
|
|
@@ -13732,6 +13743,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13732
13743
|
pogingen?: number;
|
|
13733
13744
|
printer_id?: string | null;
|
|
13734
13745
|
render_html?: string | null;
|
|
13746
|
+
resultaat_pdf_base64?: string | null;
|
|
13735
13747
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
13736
13748
|
updated_at?: string;
|
|
13737
13749
|
volgende_poging?: string | null;
|
|
@@ -14122,6 +14134,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14122
14134
|
ondersteunde_laden: import("./types").Json | null;
|
|
14123
14135
|
online: boolean;
|
|
14124
14136
|
papierformaat: string;
|
|
14137
|
+
pdf_map: string | null;
|
|
14125
14138
|
poort: number | null;
|
|
14126
14139
|
soort: Database["public"]["Enums"]["printer_kind"];
|
|
14127
14140
|
systeemnaam: string;
|
|
@@ -14147,6 +14160,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14147
14160
|
ondersteunde_laden?: import("./types").Json | null;
|
|
14148
14161
|
online?: boolean;
|
|
14149
14162
|
papierformaat?: string;
|
|
14163
|
+
pdf_map?: string | null;
|
|
14150
14164
|
poort?: number | null;
|
|
14151
14165
|
soort?: Database["public"]["Enums"]["printer_kind"];
|
|
14152
14166
|
systeemnaam?: string;
|
|
@@ -14172,6 +14186,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14172
14186
|
ondersteunde_laden?: import("./types").Json | null;
|
|
14173
14187
|
online?: boolean;
|
|
14174
14188
|
papierformaat?: string;
|
|
14189
|
+
pdf_map?: string | null;
|
|
14175
14190
|
poort?: number | null;
|
|
14176
14191
|
soort?: Database["public"]["Enums"]["printer_kind"];
|
|
14177
14192
|
systeemnaam?: string;
|
|
@@ -20428,6 +20443,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20428
20443
|
is_herprint: boolean;
|
|
20429
20444
|
kopieen: number;
|
|
20430
20445
|
layout_id: string | null;
|
|
20446
|
+
lokaal_opgeslagen_op: string | null;
|
|
20447
|
+
lokale_pdf_fout: string | null;
|
|
20448
|
+
lokale_pdf_status: string | null;
|
|
20431
20449
|
opgepakt_op: string | null;
|
|
20432
20450
|
paginas: number;
|
|
20433
20451
|
payload: import("./types").Json;
|
|
@@ -20436,6 +20454,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20436
20454
|
pogingen: number;
|
|
20437
20455
|
printer_id: string | null;
|
|
20438
20456
|
render_html: string | null;
|
|
20457
|
+
resultaat_pdf_base64: string | null;
|
|
20439
20458
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
20440
20459
|
updated_at: string;
|
|
20441
20460
|
volgende_poging: string | null;
|
|
@@ -20527,6 +20546,53 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20527
20546
|
isSetofReturn: true;
|
|
20528
20547
|
};
|
|
20529
20548
|
};
|
|
20549
|
+
claim_pdf_print_jobs: {
|
|
20550
|
+
Args: {
|
|
20551
|
+
_max?: number;
|
|
20552
|
+
};
|
|
20553
|
+
Returns: {
|
|
20554
|
+
agent_id: string | null;
|
|
20555
|
+
bron_job_id: string | null;
|
|
20556
|
+
created_at: string;
|
|
20557
|
+
documentnaam: string;
|
|
20558
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
20559
|
+
extern_job_id: string | null;
|
|
20560
|
+
foutmelding: string | null;
|
|
20561
|
+
gebruiker_id: string | null;
|
|
20562
|
+
gebruiker_naam: string;
|
|
20563
|
+
gebruikte_bron: string | null;
|
|
20564
|
+
gebruikte_layout_id: string | null;
|
|
20565
|
+
gestart_op: string | null;
|
|
20566
|
+
herkomst: string | null;
|
|
20567
|
+
id: string;
|
|
20568
|
+
idempotentie_sleutel: string | null;
|
|
20569
|
+
is_herprint: boolean;
|
|
20570
|
+
kopieen: number;
|
|
20571
|
+
layout_id: string | null;
|
|
20572
|
+
lokaal_opgeslagen_op: string | null;
|
|
20573
|
+
lokale_pdf_fout: string | null;
|
|
20574
|
+
lokale_pdf_status: string | null;
|
|
20575
|
+
opgepakt_op: string | null;
|
|
20576
|
+
paginas: number;
|
|
20577
|
+
payload: import("./types").Json;
|
|
20578
|
+
pdf_base64: string | null;
|
|
20579
|
+
pdf_url: string | null;
|
|
20580
|
+
pogingen: number;
|
|
20581
|
+
printer_id: string | null;
|
|
20582
|
+
render_html: string | null;
|
|
20583
|
+
resultaat_pdf_base64: string | null;
|
|
20584
|
+
status: Database["public"]["Enums"]["print_job_status"];
|
|
20585
|
+
updated_at: string;
|
|
20586
|
+
volgende_poging: string | null;
|
|
20587
|
+
voltooid_op: string | null;
|
|
20588
|
+
}[];
|
|
20589
|
+
SetofOptions: {
|
|
20590
|
+
from: "*";
|
|
20591
|
+
to: "print_jobs";
|
|
20592
|
+
isOneToOne: false;
|
|
20593
|
+
isSetofReturn: true;
|
|
20594
|
+
};
|
|
20595
|
+
};
|
|
20530
20596
|
claim_print_jobs: {
|
|
20531
20597
|
Args: {
|
|
20532
20598
|
_agent_id: string;
|
|
@@ -20551,6 +20617,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20551
20617
|
is_herprint: boolean;
|
|
20552
20618
|
kopieen: number;
|
|
20553
20619
|
layout_id: string | null;
|
|
20620
|
+
lokaal_opgeslagen_op: string | null;
|
|
20621
|
+
lokale_pdf_fout: string | null;
|
|
20622
|
+
lokale_pdf_status: string | null;
|
|
20554
20623
|
opgepakt_op: string | null;
|
|
20555
20624
|
paginas: number;
|
|
20556
20625
|
payload: import("./types").Json;
|
|
@@ -20559,6 +20628,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20559
20628
|
pogingen: number;
|
|
20560
20629
|
printer_id: string | null;
|
|
20561
20630
|
render_html: string | null;
|
|
20631
|
+
resultaat_pdf_base64: string | null;
|
|
20562
20632
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
20563
20633
|
updated_at: string;
|
|
20564
20634
|
volgende_poging: string | null;
|
|
@@ -20699,6 +20769,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20699
20769
|
order_id: string;
|
|
20700
20770
|
order_source: string;
|
|
20701
20771
|
pick_date: string;
|
|
20772
|
+
printed_at: string;
|
|
20773
|
+
printed_today: boolean;
|
|
20702
20774
|
status: string;
|
|
20703
20775
|
}[];
|
|
20704
20776
|
};
|
|
@@ -21780,6 +21852,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21780
21852
|
};
|
|
21781
21853
|
Returns: string;
|
|
21782
21854
|
};
|
|
21855
|
+
logistics_pick_agenda: {
|
|
21856
|
+
Args: {
|
|
21857
|
+
p_from?: string;
|
|
21858
|
+
p_to?: string;
|
|
21859
|
+
};
|
|
21860
|
+
Returns: {
|
|
21861
|
+
cart_count: number;
|
|
21862
|
+
in_preparation: number;
|
|
21863
|
+
order_count: number;
|
|
21864
|
+
orders: import("./types").Json;
|
|
21865
|
+
pick_date: string;
|
|
21866
|
+
plant_count: number;
|
|
21867
|
+
ready: number;
|
|
21868
|
+
shifted_count: number;
|
|
21869
|
+
}[];
|
|
21870
|
+
};
|
|
21783
21871
|
logistics_pick_email_purpose: {
|
|
21784
21872
|
Args: never;
|
|
21785
21873
|
Returns: string;
|
|
@@ -21939,6 +22027,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21939
22027
|
};
|
|
21940
22028
|
Returns: import("./types").Json;
|
|
21941
22029
|
};
|
|
22030
|
+
logistics_resolve_pick_document: {
|
|
22031
|
+
Args: {
|
|
22032
|
+
_is_herprint: boolean;
|
|
22033
|
+
_queue_item_id: string;
|
|
22034
|
+
_session_id: string;
|
|
22035
|
+
_voorbeeld: boolean;
|
|
22036
|
+
};
|
|
22037
|
+
Returns: import("./types").Json;
|
|
22038
|
+
};
|
|
21942
22039
|
logistics_resolve_settings: {
|
|
21943
22040
|
Args: {
|
|
21944
22041
|
p_config_id: string;
|
|
@@ -22749,6 +22846,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22749
22846
|
};
|
|
22750
22847
|
Returns: string;
|
|
22751
22848
|
};
|
|
22849
|
+
resolve_print_job_printer_id: {
|
|
22850
|
+
Args: {
|
|
22851
|
+
_job: Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
22852
|
+
};
|
|
22853
|
+
Returns: string;
|
|
22854
|
+
};
|
|
22752
22855
|
resolve_product_id_for_item: {
|
|
22753
22856
|
Args: {
|
|
22754
22857
|
p_product_name: string;
|
|
@@ -23340,7 +23443,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23340
23443
|
};
|
|
23341
23444
|
CompositeTypes: { [_ in never]: never; };
|
|
23342
23445
|
}, {
|
|
23343
|
-
PostgrestVersion: "14.
|
|
23446
|
+
PostgrestVersion: "14.5";
|
|
23344
23447
|
}>;
|
|
23345
23448
|
userId: string;
|
|
23346
23449
|
claims: import("@supabase/auth-js").JwtPayload;
|