@flowselections/floriday-authenticatie-module 1.0.81 → 1.0.83
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/floriday/FlorydayApiLogPage.d.ts.map +1 -1
- package/dist-lib/components/floriday/FlorydayApiLogPage.js +28 -2
- package/dist-lib/components/floriday/TokenHealthCard.d.ts.map +1 -1
- package/dist-lib/components/floriday/TokenHealthCard.js +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +338 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +4 -1
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.js +47 -26
- package/dist-lib/lib/module-version.d.ts +1 -1
- package/dist-lib/lib/module-version.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlorydayApiLogPage.d.ts","sourceRoot":"","sources":["../../../src/components/floriday/FlorydayApiLogPage.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FlorydayApiLogPage.d.ts","sourceRoot":"","sources":["../../../src/components/floriday/FlorydayApiLogPage.tsx"],"names":[],"mappings":"AA0FA,wBAAgB,kBAAkB,gCAyZjC"}
|
|
@@ -32,6 +32,32 @@ function describeKind(row) {
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
const POLL_KINDS = new Set(["poll-check", "poll-empty", "poll-changed"]);
|
|
35
|
+
/** Nederlandse naam voor de kolom Soort. */
|
|
36
|
+
const SOORT_NL = {
|
|
37
|
+
"sales-order": "Verkooporder",
|
|
38
|
+
"fulfillment-order": "Levering",
|
|
39
|
+
"delivery-order": "Leveropdracht",
|
|
40
|
+
"trade-item": "Artikel",
|
|
41
|
+
"supply-line": "Aanbod",
|
|
42
|
+
"base-supply": "Weekaanbod",
|
|
43
|
+
"clock-supply": "Klokaanbod",
|
|
44
|
+
customer: "Klant",
|
|
45
|
+
warehouse: "Magazijn",
|
|
46
|
+
"delivery-location": "Afleverlocatie",
|
|
47
|
+
connection: "Connectie",
|
|
48
|
+
"price-group": "Prijsgroep",
|
|
49
|
+
"catalog-price": "Catalogusprijs",
|
|
50
|
+
trip: "Rit",
|
|
51
|
+
packing: "Verpakking",
|
|
52
|
+
"logistic-label": "Verzendlabel",
|
|
53
|
+
"auction-letter": "Veilingbrief",
|
|
54
|
+
"customer-sticker": "Sticker",
|
|
55
|
+
};
|
|
56
|
+
function soortLabel(type, templateLabel) {
|
|
57
|
+
if (type && SOORT_NL[type])
|
|
58
|
+
return SOORT_NL[type];
|
|
59
|
+
return templateLabel ?? type ?? "—";
|
|
60
|
+
}
|
|
35
61
|
export function FlorydayApiLogPage() {
|
|
36
62
|
const [direction, setDirection] = useState("all");
|
|
37
63
|
const [onlyFailed, setOnlyFailed] = useState(false);
|
|
@@ -122,7 +148,7 @@ export function FlorydayApiLogPage() {
|
|
|
122
148
|
}, children: "Alleen wijzigingen" }), _jsx("input", { className: "h-9 min-w-[16rem] flex-1 rounded-md border border-input bg-background px-3 text-sm", placeholder: "Zoek op Floriday-referentie, ons kenmerk of pad", value: search, onChange: (e) => {
|
|
123
149
|
setSearch(e.target.value);
|
|
124
150
|
setPage(0);
|
|
125
|
-
} }), _jsx(Button, { size: "sm", variant: "outline", onClick: () => logQuery.refetch(), children: "Vernieuwen" })] }), _jsx("div", { className: "
|
|
151
|
+
} }), _jsx(Button, { size: "sm", variant: "outline", onClick: () => logQuery.refetch(), children: "Vernieuwen" })] }), _jsx("div", { className: "w-full", children: _jsxs("table", { className: "w-full table-fixed text-sm [&_td]:break-words [&_td]:[overflow-wrap:anywhere]", children: [_jsxs("colgroup", { children: [_jsx("col", { className: "w-[9%]" }), _jsx("col", { className: "w-[9%]" }), _jsx("col", { className: "w-[13%]" }), _jsx("col", { className: "w-[10%]" }), _jsx("col", { className: "w-[25%]" }), _jsx("col", { className: "w-[10%]" }), _jsx("col", { className: "w-[14%]" }), _jsx("col", { className: "w-[10%]" })] }), _jsx("thead", { className: "text-left text-muted-foreground", children: _jsxs("tr", { children: [_jsx("th", { className: "py-2 pr-3", children: "Tijd" }), _jsx("th", { className: "py-2 pr-3", children: "Richting" }), _jsx("th", { className: "py-2 pr-3", children: "Aard" }), _jsx("th", { className: "py-2 pr-3", children: "Soort" }), _jsx("th", { className: "py-2 pr-3", children: "Actie" }), _jsx("th", { className: "py-2 pr-3", children: "Status" }), _jsx("th", { className: "py-2 pr-3", children: "Floriday-referentie" }), _jsx("th", { className: "py-2 pr-3", children: "Ons item" })] }) }), _jsxs("tbody", { children: [rows.map((row) => {
|
|
126
152
|
const tpl = row.resource_type ? templateByType.get(row.resource_type) : undefined;
|
|
127
153
|
// Een ophaalronde zonder herkenbaar item blijft een "routineronde";
|
|
128
154
|
// zodra we er één order/artikel uit konden halen tonen we die gewoon.
|
|
@@ -137,7 +163,7 @@ export function FlorydayApiLogPage() {
|
|
|
137
163
|
const floridayHref = !isPoll && tpl?.floriday_url_template && row.floriday_id
|
|
138
164
|
? fillTemplate(tpl.floriday_url_template, row)
|
|
139
165
|
: null;
|
|
140
|
-
return (_jsxs("tr", { className: "border-t border-border align-top", children: [_jsx("td", { className: "py-2 pr-3
|
|
166
|
+
return (_jsxs("tr", { className: "border-t border-border align-top", children: [_jsx("td", { className: "py-2 pr-3", children: new Date(row.created_at).toLocaleString("nl-NL") }), _jsx("td", { className: "py-2 pr-3", children: _jsx(Badge, { variant: row.direction === "outbound" ? "default" : "secondary", children: row.direction === "outbound" ? "Versturen" : "Ophalen" }) }), _jsxs("td", { className: "py-2 pr-3", children: [_jsx("div", { children: kind.label }), kind.hint ? (_jsx("div", { className: "text-xs text-muted-foreground", children: kind.hint })) : null] }), _jsx("td", { className: "py-2 pr-3", children: soortLabel(row.resource_type, tpl?.label) }), _jsxs("td", { className: "py-2 pr-3", children: [_jsx("div", { children: row.action ?? `${row.method} ${row.path}` }), row.cursor_from != null ? (_jsxs("div", { className: "text-xs text-muted-foreground", children: ["vanaf volgnummer ", row.cursor_from] })) : null, row.error ? _jsx(FullErrorMessage, { error: row.error, response: row.response, createdAt: row.created_at }) : null] }), _jsx("td", { className: "py-2 pr-3", children: _jsxs(Badge, { variant: row.ok ? "secondary" : "destructive", children: [row.ok ? "Gelukt" : "Mislukt", " ", row.http_status || ""] }) }), _jsx("td", { className: "py-2 pr-3", children: isPoll ? null : floridayShown ? (_jsxs("div", { className: "flex items-center gap-2", children: [_jsx("span", { className: "font-mono text-xs", title: row.floriday_id ?? undefined, children: floridayShown }), _jsx(Button, { size: "sm", variant: "ghost", onClick: () => {
|
|
141
167
|
navigator.clipboard?.writeText(floridayShown);
|
|
142
168
|
toast.success("Referentie gekopieerd");
|
|
143
169
|
}, children: "Kopieer" }), floridayHref ? (_jsx("a", { className: "text-xs underline", href: floridayHref, target: "_blank", rel: "noreferrer", children: "Floriday" })) : null] })) : ("—") }), _jsx("td", { className: "py-2 pr-3", children: isPoll ? ("—") : localHref ? (_jsx("a", { href: localHref, className: "text-xs underline", title: localShown ?? undefined, children: localShown ?? "Openen" })) : localShown ? (_jsx("div", { className: "flex items-center gap-2", children: _jsx("span", { className: "font-mono text-xs", title: row.local_id ?? undefined, children: localShown }) })) : tpl?.local_url_template ? (_jsx("span", { className: "text-xs text-muted-foreground", children: "Nog niet in onze cache" })) : (_jsx("span", { className: "text-xs text-muted-foreground", title: "Geen pagina in deze module voor dit type", children: "\u2014" })) })] }, row.id));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TokenHealthCard.d.ts","sourceRoot":"","sources":["../../../src/components/floriday/TokenHealthCard.tsx"],"names":[],"mappings":"AA2DA,wBAAgB,eAAe,
|
|
1
|
+
{"version":3,"file":"TokenHealthCard.d.ts","sourceRoot":"","sources":["../../../src/components/floriday/TokenHealthCard.tsx"],"names":[],"mappings":"AA2DA,wBAAgB,eAAe,gCAoL9B"}
|
|
@@ -87,7 +87,7 @@ export function TokenHealthCard() {
|
|
|
87
87
|
const jobs = (cronStatus.data?.jobs ?? []);
|
|
88
88
|
const tokenJob = jobs.find((j) => j.jobname === "refresh-floriday-tokens-hourly");
|
|
89
89
|
const cronUrlMismatch = Boolean(expectedBase && tokenJob?.url && !tokenJob.url.startsWith(expectedBase));
|
|
90
|
-
return (_jsxs("div", { className: "rounded-lg border p-4 space-y-4", children: [_jsxs("div", { className: "flex items-start justify-between gap-4", children: [_jsxs("div", { children: [_jsx("h2", { className: "font-semibold", children: "Token gezondheid" }), _jsx("p", { className: "text-xs text-muted-foreground mt-1", children: "De
|
|
90
|
+
return (_jsxs("div", { className: "rounded-lg border p-4 space-y-4", children: [_jsxs("div", { className: "flex items-start justify-between gap-4", children: [_jsxs("div", { children: [_jsx("h2", { className: "font-semibold", children: "Token gezondheid" }), _jsx("p", { className: "text-xs text-muted-foreground mt-1", children: "De koppeling wordt elke 15 minuten automatisch vernieuwd." })] }), lastOk && (_jsxs("span", { className: "text-xs text-muted-foreground shrink-0", children: ["Laatste succesvolle refresh:", " ", new Date(lastOk.attempted_at).toLocaleString("nl-NL")] }))] }), conns.length === 0 ? (_jsx("p", { className: "text-sm text-muted-foreground", children: "Geen actieve koppelingen." })) : (_jsx("ul", { className: "space-y-2", children: conns.map((c) => {
|
|
91
91
|
const st = statusFromLog(recent.filter((r) => r.connection_id === c.id));
|
|
92
92
|
return (_jsxs("li", { className: "flex items-center justify-between gap-3 text-sm", children: [_jsxs("div", { className: "flex items-center gap-2 min-w-0", children: [_jsx("span", { className: `inline-block h-2.5 w-2.5 rounded-full shrink-0 ${st.color}` }), _jsx("span", { className: "font-medium capitalize", children: c.environment }), _jsx("span", { className: st.bad ? "text-red-600" : "text-muted-foreground", title: st.error ?? undefined, children: st.label })] }), _jsx("button", { type: "button", onClick: () => refresh.mutate(c.environment), disabled: busyEnv === c.environment, className: "rounded-md border px-2.5 py-1 text-xs hover:bg-muted disabled:opacity-50 shrink-0", children: busyEnv === c.environment ? "Vernieuwen…" : "Nu vernieuwen" })] }, c.id));
|
|
93
93
|
}) })), _jsxs("div", { className: "border-t pt-3 space-y-2", children: [_jsxs("div", { className: "flex items-center justify-between gap-3", children: [_jsx("h3", { className: "text-sm font-medium", children: "Geplande cron-taken" }), _jsx("button", { type: "button", onClick: () => reinstallMutation.mutate(), disabled: reinstallMutation.isPending, className: "rounded-md border px-2.5 py-1 text-xs hover:bg-muted disabled:opacity-50", children: reinstallMutation.isPending ? "Installeren…" : "Cron opnieuw installeren" })] }), cronStatus.isLoading ? (_jsx("p", { className: "text-xs text-muted-foreground", children: "Status laden\u2026" })) : jobs.length === 0 ? (_jsx("p", { className: "text-xs text-amber-600", children: "Geen Floriday-cron jobs gevonden. Klik \"Cron opnieuw installeren\" om ze in te plannen." })) : (_jsx("ul", { className: "space-y-1 text-xs", children: jobs.map((j) => {
|
|
@@ -11615,6 +11615,66 @@ export type Database = {
|
|
|
11615
11615
|
};
|
|
11616
11616
|
Relationships: [];
|
|
11617
11617
|
};
|
|
11618
|
+
logistics_auto_send: {
|
|
11619
|
+
Row: {
|
|
11620
|
+
attempts: number;
|
|
11621
|
+
buffer_id: string | null;
|
|
11622
|
+
cart_ids: string[];
|
|
11623
|
+
created_at: string;
|
|
11624
|
+
id: string;
|
|
11625
|
+
idempotency_key: string;
|
|
11626
|
+
last_http_status: number | null;
|
|
11627
|
+
locked_until: string | null;
|
|
11628
|
+
max_attempts: number;
|
|
11629
|
+
next_attempt_at: string;
|
|
11630
|
+
order_id: string;
|
|
11631
|
+
order_ids: string[];
|
|
11632
|
+
reason: string | null;
|
|
11633
|
+
sent_at: string | null;
|
|
11634
|
+
sent_how: string | null;
|
|
11635
|
+
status: string;
|
|
11636
|
+
updated_at: string;
|
|
11637
|
+
};
|
|
11638
|
+
Insert: {
|
|
11639
|
+
attempts?: number;
|
|
11640
|
+
buffer_id?: string | null;
|
|
11641
|
+
cart_ids?: string[];
|
|
11642
|
+
created_at?: string;
|
|
11643
|
+
id?: string;
|
|
11644
|
+
idempotency_key: string;
|
|
11645
|
+
last_http_status?: number | null;
|
|
11646
|
+
locked_until?: string | null;
|
|
11647
|
+
max_attempts?: number;
|
|
11648
|
+
next_attempt_at?: string;
|
|
11649
|
+
order_id: string;
|
|
11650
|
+
order_ids?: string[];
|
|
11651
|
+
reason?: string | null;
|
|
11652
|
+
sent_at?: string | null;
|
|
11653
|
+
sent_how?: string | null;
|
|
11654
|
+
status?: string;
|
|
11655
|
+
updated_at?: string;
|
|
11656
|
+
};
|
|
11657
|
+
Update: {
|
|
11658
|
+
attempts?: number;
|
|
11659
|
+
buffer_id?: string | null;
|
|
11660
|
+
cart_ids?: string[];
|
|
11661
|
+
created_at?: string;
|
|
11662
|
+
id?: string;
|
|
11663
|
+
idempotency_key?: string;
|
|
11664
|
+
last_http_status?: number | null;
|
|
11665
|
+
locked_until?: string | null;
|
|
11666
|
+
max_attempts?: number;
|
|
11667
|
+
next_attempt_at?: string;
|
|
11668
|
+
order_id?: string;
|
|
11669
|
+
order_ids?: string[];
|
|
11670
|
+
reason?: string | null;
|
|
11671
|
+
sent_at?: string | null;
|
|
11672
|
+
sent_how?: string | null;
|
|
11673
|
+
status?: string;
|
|
11674
|
+
updated_at?: string;
|
|
11675
|
+
};
|
|
11676
|
+
Relationships: [];
|
|
11677
|
+
};
|
|
11618
11678
|
logistics_autolink_audit: {
|
|
11619
11679
|
Row: {
|
|
11620
11680
|
created_at: string;
|
|
@@ -16749,6 +16809,44 @@ export type Database = {
|
|
|
16749
16809
|
};
|
|
16750
16810
|
Relationships: [];
|
|
16751
16811
|
};
|
|
16812
|
+
order_review_dismissals: {
|
|
16813
|
+
Row: {
|
|
16814
|
+
dismissed_at: string;
|
|
16815
|
+
dismissed_by: string | null;
|
|
16816
|
+
id: string;
|
|
16817
|
+
kind: string;
|
|
16818
|
+
note: string | null;
|
|
16819
|
+
order_id: string;
|
|
16820
|
+
review_reason: string;
|
|
16821
|
+
};
|
|
16822
|
+
Insert: {
|
|
16823
|
+
dismissed_at?: string;
|
|
16824
|
+
dismissed_by?: string | null;
|
|
16825
|
+
id?: string;
|
|
16826
|
+
kind: string;
|
|
16827
|
+
note?: string | null;
|
|
16828
|
+
order_id: string;
|
|
16829
|
+
review_reason: string;
|
|
16830
|
+
};
|
|
16831
|
+
Update: {
|
|
16832
|
+
dismissed_at?: string;
|
|
16833
|
+
dismissed_by?: string | null;
|
|
16834
|
+
id?: string;
|
|
16835
|
+
kind?: string;
|
|
16836
|
+
note?: string | null;
|
|
16837
|
+
order_id?: string;
|
|
16838
|
+
review_reason?: string;
|
|
16839
|
+
};
|
|
16840
|
+
Relationships: [
|
|
16841
|
+
{
|
|
16842
|
+
foreignKeyName: "order_review_dismissals_order_id_fkey";
|
|
16843
|
+
columns: ["order_id"];
|
|
16844
|
+
isOneToOne: false;
|
|
16845
|
+
referencedRelation: "orders";
|
|
16846
|
+
referencedColumns: ["id"];
|
|
16847
|
+
}
|
|
16848
|
+
];
|
|
16849
|
+
};
|
|
16752
16850
|
order_shipment_items: {
|
|
16753
16851
|
Row: {
|
|
16754
16852
|
created_at: string;
|
|
@@ -28443,6 +28541,12 @@ export type Database = {
|
|
|
28443
28541
|
};
|
|
28444
28542
|
Returns: Json;
|
|
28445
28543
|
};
|
|
28544
|
+
_scan_kar_voortgang: {
|
|
28545
|
+
Args: {
|
|
28546
|
+
p_cart_id: string;
|
|
28547
|
+
};
|
|
28548
|
+
Returns: Json;
|
|
28549
|
+
};
|
|
28446
28550
|
_stock_import_caller: {
|
|
28447
28551
|
Args: {
|
|
28448
28552
|
p_owner: string;
|
|
@@ -29166,6 +29270,13 @@ export type Database = {
|
|
|
29166
29270
|
status: string;
|
|
29167
29271
|
}[];
|
|
29168
29272
|
};
|
|
29273
|
+
control_mark_cart_delivered_by_cart: {
|
|
29274
|
+
Args: {
|
|
29275
|
+
p_afmeld_bron?: string;
|
|
29276
|
+
p_cart_id: string;
|
|
29277
|
+
};
|
|
29278
|
+
Returns: Json;
|
|
29279
|
+
};
|
|
29169
29280
|
control_mark_carts_delivered: {
|
|
29170
29281
|
Args: {
|
|
29171
29282
|
p_carts: Json;
|
|
@@ -29185,6 +29296,13 @@ export type Database = {
|
|
|
29185
29296
|
outcome: string;
|
|
29186
29297
|
}[];
|
|
29187
29298
|
};
|
|
29299
|
+
control_post_mark_cart_delivered: {
|
|
29300
|
+
Args: {
|
|
29301
|
+
p_cart_id: string;
|
|
29302
|
+
p_slug: string;
|
|
29303
|
+
};
|
|
29304
|
+
Returns: Json;
|
|
29305
|
+
};
|
|
29188
29306
|
count_distinct_regulatory_products: {
|
|
29189
29307
|
Args: never;
|
|
29190
29308
|
Returns: number;
|
|
@@ -30658,6 +30776,75 @@ export type Database = {
|
|
|
30658
30776
|
reason_code: string;
|
|
30659
30777
|
}[];
|
|
30660
30778
|
};
|
|
30779
|
+
logistics_auto_send_claim: {
|
|
30780
|
+
Args: {
|
|
30781
|
+
p_limit?: number;
|
|
30782
|
+
};
|
|
30783
|
+
Returns: {
|
|
30784
|
+
attempts: number;
|
|
30785
|
+
buffer_id: string | null;
|
|
30786
|
+
cart_ids: string[];
|
|
30787
|
+
created_at: string;
|
|
30788
|
+
id: string;
|
|
30789
|
+
idempotency_key: string;
|
|
30790
|
+
last_http_status: number | null;
|
|
30791
|
+
locked_until: string | null;
|
|
30792
|
+
max_attempts: number;
|
|
30793
|
+
next_attempt_at: string;
|
|
30794
|
+
order_id: string;
|
|
30795
|
+
order_ids: string[];
|
|
30796
|
+
reason: string | null;
|
|
30797
|
+
sent_at: string | null;
|
|
30798
|
+
sent_how: string | null;
|
|
30799
|
+
status: string;
|
|
30800
|
+
updated_at: string;
|
|
30801
|
+
}[];
|
|
30802
|
+
SetofOptions: {
|
|
30803
|
+
from: "*";
|
|
30804
|
+
to: "logistics_auto_send";
|
|
30805
|
+
isOneToOne: false;
|
|
30806
|
+
isSetofReturn: true;
|
|
30807
|
+
};
|
|
30808
|
+
};
|
|
30809
|
+
logistics_auto_send_enqueue_for_order: {
|
|
30810
|
+
Args: {
|
|
30811
|
+
p_order_id: string;
|
|
30812
|
+
};
|
|
30813
|
+
Returns: boolean;
|
|
30814
|
+
};
|
|
30815
|
+
logistics_auto_send_finish: {
|
|
30816
|
+
Args: {
|
|
30817
|
+
p_config_missing?: boolean;
|
|
30818
|
+
p_definitief?: boolean;
|
|
30819
|
+
p_http?: number;
|
|
30820
|
+
p_id: string;
|
|
30821
|
+
p_ok: boolean;
|
|
30822
|
+
p_reason: string;
|
|
30823
|
+
};
|
|
30824
|
+
Returns: Json;
|
|
30825
|
+
};
|
|
30826
|
+
logistics_auto_send_route_missing: {
|
|
30827
|
+
Args: never;
|
|
30828
|
+
Returns: boolean;
|
|
30829
|
+
};
|
|
30830
|
+
logistics_auto_send_sent_elsewhere: {
|
|
30831
|
+
Args: {
|
|
30832
|
+
p_order_id: string;
|
|
30833
|
+
};
|
|
30834
|
+
Returns: string;
|
|
30835
|
+
};
|
|
30836
|
+
logistics_auto_send_status: {
|
|
30837
|
+
Args: {
|
|
30838
|
+
p_order_id: string;
|
|
30839
|
+
};
|
|
30840
|
+
Returns: Json;
|
|
30841
|
+
};
|
|
30842
|
+
logistics_auto_send_status_core: {
|
|
30843
|
+
Args: {
|
|
30844
|
+
p_order_id: string;
|
|
30845
|
+
};
|
|
30846
|
+
Returns: Json;
|
|
30847
|
+
};
|
|
30661
30848
|
logistics_backorder_allowed: {
|
|
30662
30849
|
Args: {
|
|
30663
30850
|
p_strategy_id?: string;
|
|
@@ -30842,6 +31029,12 @@ export type Database = {
|
|
|
30842
31029
|
Args: never;
|
|
30843
31030
|
Returns: Json;
|
|
30844
31031
|
};
|
|
31032
|
+
logistics_cart_fixed_numbering: {
|
|
31033
|
+
Args: {
|
|
31034
|
+
p_cart_id: string;
|
|
31035
|
+
};
|
|
31036
|
+
Returns: Json;
|
|
31037
|
+
};
|
|
30845
31038
|
logistics_cart_handled: {
|
|
30846
31039
|
Args: {
|
|
30847
31040
|
p_cart_index: number;
|
|
@@ -30893,10 +31086,22 @@ export type Database = {
|
|
|
30893
31086
|
};
|
|
30894
31087
|
Returns: boolean;
|
|
30895
31088
|
};
|
|
31089
|
+
logistics_cart_json_fixed: {
|
|
31090
|
+
Args: {
|
|
31091
|
+
p_cart: Json;
|
|
31092
|
+
};
|
|
31093
|
+
Returns: Json;
|
|
31094
|
+
};
|
|
30896
31095
|
logistics_cart_layout_method: {
|
|
30897
31096
|
Args: never;
|
|
30898
31097
|
Returns: Json;
|
|
30899
31098
|
};
|
|
31099
|
+
logistics_cart_order_ids: {
|
|
31100
|
+
Args: {
|
|
31101
|
+
p_cart_id: string;
|
|
31102
|
+
};
|
|
31103
|
+
Returns: string[];
|
|
31104
|
+
};
|
|
30900
31105
|
logistics_cart_order_refs: {
|
|
30901
31106
|
Args: {
|
|
30902
31107
|
p_cart_id: string;
|
|
@@ -30940,6 +31145,12 @@ export type Database = {
|
|
|
30940
31145
|
};
|
|
30941
31146
|
Returns: boolean;
|
|
30942
31147
|
};
|
|
31148
|
+
logistics_cart_scanned: {
|
|
31149
|
+
Args: {
|
|
31150
|
+
p_cart_id: string;
|
|
31151
|
+
};
|
|
31152
|
+
Returns: boolean;
|
|
31153
|
+
};
|
|
30943
31154
|
logistics_cart_seq: {
|
|
30944
31155
|
Args: {
|
|
30945
31156
|
p_order_uuid?: string;
|
|
@@ -30996,6 +31207,12 @@ export type Database = {
|
|
|
30996
31207
|
unit_ref: string;
|
|
30997
31208
|
}[];
|
|
30998
31209
|
};
|
|
31210
|
+
logistics_cart_wait_until: {
|
|
31211
|
+
Args: {
|
|
31212
|
+
p_cart_id: string;
|
|
31213
|
+
};
|
|
31214
|
+
Returns: string;
|
|
31215
|
+
};
|
|
30999
31216
|
logistics_carts_per_print: {
|
|
31000
31217
|
Args: never;
|
|
31001
31218
|
Returns: number;
|
|
@@ -31278,6 +31495,13 @@ export type Database = {
|
|
|
31278
31495
|
};
|
|
31279
31496
|
Returns: number;
|
|
31280
31497
|
};
|
|
31498
|
+
logistics_control_scan_record_afmelding_cart: {
|
|
31499
|
+
Args: {
|
|
31500
|
+
p_bron: string;
|
|
31501
|
+
p_cart_id: string;
|
|
31502
|
+
};
|
|
31503
|
+
Returns: number;
|
|
31504
|
+
};
|
|
31281
31505
|
logistics_control_scan_retry: {
|
|
31282
31506
|
Args: {
|
|
31283
31507
|
_id: string;
|
|
@@ -31705,6 +31929,23 @@ export type Database = {
|
|
|
31705
31929
|
};
|
|
31706
31930
|
Returns: number;
|
|
31707
31931
|
};
|
|
31932
|
+
logistics_local_hhmi: {
|
|
31933
|
+
Args: {
|
|
31934
|
+
p_ts: string;
|
|
31935
|
+
};
|
|
31936
|
+
Returns: string;
|
|
31937
|
+
};
|
|
31938
|
+
logistics_local_today: {
|
|
31939
|
+
Args: never;
|
|
31940
|
+
Returns: string;
|
|
31941
|
+
};
|
|
31942
|
+
logistics_mark_cart_delivered_core: {
|
|
31943
|
+
Args: {
|
|
31944
|
+
p_bron: string;
|
|
31945
|
+
p_cart_id: string;
|
|
31946
|
+
};
|
|
31947
|
+
Returns: Json;
|
|
31948
|
+
};
|
|
31708
31949
|
logistics_merge_decision: {
|
|
31709
31950
|
Args: {
|
|
31710
31951
|
p_lines: Json;
|
|
@@ -31763,6 +32004,12 @@ export type Database = {
|
|
|
31763
32004
|
};
|
|
31764
32005
|
Returns: boolean;
|
|
31765
32006
|
};
|
|
32007
|
+
logistics_order_all_carts_scanned: {
|
|
32008
|
+
Args: {
|
|
32009
|
+
p_order_id: string;
|
|
32010
|
+
};
|
|
32011
|
+
Returns: boolean;
|
|
32012
|
+
};
|
|
31766
32013
|
logistics_order_backlog_info: {
|
|
31767
32014
|
Args: {
|
|
31768
32015
|
p_order_id: string;
|
|
@@ -31790,6 +32037,12 @@ export type Database = {
|
|
|
31790
32037
|
};
|
|
31791
32038
|
Returns: number;
|
|
31792
32039
|
};
|
|
32040
|
+
logistics_order_cart_ids: {
|
|
32041
|
+
Args: {
|
|
32042
|
+
p_order_id: string;
|
|
32043
|
+
};
|
|
32044
|
+
Returns: string[];
|
|
32045
|
+
};
|
|
31793
32046
|
logistics_order_changed: {
|
|
31794
32047
|
Args: {
|
|
31795
32048
|
p_order_id: string;
|
|
@@ -32076,6 +32329,10 @@ export type Database = {
|
|
|
32076
32329
|
};
|
|
32077
32330
|
Returns: string;
|
|
32078
32331
|
};
|
|
32332
|
+
logistics_partial_wait_minutes: {
|
|
32333
|
+
Args: never;
|
|
32334
|
+
Returns: number;
|
|
32335
|
+
};
|
|
32079
32336
|
logistics_payload_is_floriday: {
|
|
32080
32337
|
Args: {
|
|
32081
32338
|
_payload: Json;
|
|
@@ -32118,6 +32375,14 @@ export type Database = {
|
|
|
32118
32375
|
Args: never;
|
|
32119
32376
|
Returns: string;
|
|
32120
32377
|
};
|
|
32378
|
+
logistics_pick_queue_close: {
|
|
32379
|
+
Args: {
|
|
32380
|
+
p_ids: string[];
|
|
32381
|
+
p_mode: string;
|
|
32382
|
+
p_reason: string;
|
|
32383
|
+
};
|
|
32384
|
+
Returns: number;
|
|
32385
|
+
};
|
|
32121
32386
|
logistics_pick_start_estimate: {
|
|
32122
32387
|
Args: {
|
|
32123
32388
|
p_order: Json;
|
|
@@ -32635,6 +32900,12 @@ export type Database = {
|
|
|
32635
32900
|
};
|
|
32636
32901
|
Returns: string;
|
|
32637
32902
|
};
|
|
32903
|
+
logistics_reserved_order_excluded: {
|
|
32904
|
+
Args: {
|
|
32905
|
+
p_order_id: string;
|
|
32906
|
+
};
|
|
32907
|
+
Returns: boolean;
|
|
32908
|
+
};
|
|
32638
32909
|
logistics_reserved_stock_nightly: {
|
|
32639
32910
|
Args: never;
|
|
32640
32911
|
Returns: undefined;
|
|
@@ -33234,6 +33505,22 @@ export type Database = {
|
|
|
33234
33505
|
};
|
|
33235
33506
|
Returns: Json;
|
|
33236
33507
|
};
|
|
33508
|
+
logistics_tz: {
|
|
33509
|
+
Args: never;
|
|
33510
|
+
Returns: string;
|
|
33511
|
+
};
|
|
33512
|
+
logistics_unit_all_carts_scanned: {
|
|
33513
|
+
Args: {
|
|
33514
|
+
p_order_id: string;
|
|
33515
|
+
};
|
|
33516
|
+
Returns: boolean;
|
|
33517
|
+
};
|
|
33518
|
+
logistics_unit_order_ids: {
|
|
33519
|
+
Args: {
|
|
33520
|
+
p_order_id: string;
|
|
33521
|
+
};
|
|
33522
|
+
Returns: string[];
|
|
33523
|
+
};
|
|
33237
33524
|
logistics_upsert_task: {
|
|
33238
33525
|
Args: {
|
|
33239
33526
|
p_buffer_ref: string;
|
|
@@ -33449,6 +33736,12 @@ export type Database = {
|
|
|
33449
33736
|
Args: never;
|
|
33450
33737
|
Returns: Json;
|
|
33451
33738
|
};
|
|
33739
|
+
pick_assert_printable: {
|
|
33740
|
+
Args: {
|
|
33741
|
+
_item: Database["public"]["Tables"]["pick_queue"]["Row"];
|
|
33742
|
+
};
|
|
33743
|
+
Returns: undefined;
|
|
33744
|
+
};
|
|
33452
33745
|
pick_available_pick_days: {
|
|
33453
33746
|
Args: {
|
|
33454
33747
|
_max_days?: number;
|
|
@@ -34170,6 +34463,13 @@ export type Database = {
|
|
|
34170
34463
|
};
|
|
34171
34464
|
Returns: Json;
|
|
34172
34465
|
};
|
|
34466
|
+
pickstation_auto_send_status: {
|
|
34467
|
+
Args: {
|
|
34468
|
+
p_order_id: string;
|
|
34469
|
+
p_slug: string;
|
|
34470
|
+
};
|
|
34471
|
+
Returns: Json;
|
|
34472
|
+
};
|
|
34173
34473
|
pickstation_cart_sticker_state: {
|
|
34174
34474
|
Args: {
|
|
34175
34475
|
p_cart_id: string;
|
|
@@ -34985,6 +35285,14 @@ export type Database = {
|
|
|
34985
35285
|
};
|
|
34986
35286
|
Returns: Json;
|
|
34987
35287
|
};
|
|
35288
|
+
scan_kar_voortgang: {
|
|
35289
|
+
Args: {
|
|
35290
|
+
p_cart_id: string;
|
|
35291
|
+
p_scanner_id?: string;
|
|
35292
|
+
p_slug?: string;
|
|
35293
|
+
};
|
|
35294
|
+
Returns: Json;
|
|
35295
|
+
};
|
|
34988
35296
|
scan_log_code: {
|
|
34989
35297
|
Args: {
|
|
34990
35298
|
p_code: string;
|
|
@@ -35002,6 +35310,12 @@ export type Database = {
|
|
|
35002
35310
|
};
|
|
35003
35311
|
Returns: Json;
|
|
35004
35312
|
};
|
|
35313
|
+
scan_order_klant: {
|
|
35314
|
+
Args: {
|
|
35315
|
+
p_order_id: string;
|
|
35316
|
+
};
|
|
35317
|
+
Returns: Json;
|
|
35318
|
+
};
|
|
35005
35319
|
scan_pakbon_lookup: {
|
|
35006
35320
|
Args: {
|
|
35007
35321
|
p_barcode: string;
|
|
@@ -35108,6 +35422,10 @@ export type Database = {
|
|
|
35108
35422
|
};
|
|
35109
35423
|
Returns: Json;
|
|
35110
35424
|
};
|
|
35425
|
+
scan_tijdzone: {
|
|
35426
|
+
Args: never;
|
|
35427
|
+
Returns: string;
|
|
35428
|
+
};
|
|
35111
35429
|
scan_verzendbrief_regels: {
|
|
35112
35430
|
Args: {
|
|
35113
35431
|
p_sessie_id: string;
|
|
@@ -35436,6 +35754,26 @@ export type Database = {
|
|
|
35436
35754
|
trade_item_key: string;
|
|
35437
35755
|
updated_at: string;
|
|
35438
35756
|
}[];
|
|
35757
|
+
} | {
|
|
35758
|
+
Args: {
|
|
35759
|
+
p_change_source?: string;
|
|
35760
|
+
p_incoming_stock?: number;
|
|
35761
|
+
p_minimum_stock?: number;
|
|
35762
|
+
p_notes?: string;
|
|
35763
|
+
p_physical_stock: number;
|
|
35764
|
+
p_product_id: string;
|
|
35765
|
+
};
|
|
35766
|
+
Returns: {
|
|
35767
|
+
connection_id: string;
|
|
35768
|
+
incoming_stock: number;
|
|
35769
|
+
minimum_stock: number;
|
|
35770
|
+
notes: string;
|
|
35771
|
+
physical_stock: number;
|
|
35772
|
+
product_id: string;
|
|
35773
|
+
reserved_stock: number;
|
|
35774
|
+
trade_item_key: string;
|
|
35775
|
+
updated_at: string;
|
|
35776
|
+
}[];
|
|
35439
35777
|
};
|
|
35440
35778
|
show_limit: {
|
|
35441
35779
|
Args: never;
|