@flowselections/layout-maker 1.63.2 → 1.63.5
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/PrintQueuePage.d.ts.map +1 -1
- package/dist-lib/components/PrintQueuePage.js +2 -1
- package/dist-lib/integrations/supabase/types.d.ts +239 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/etiketControle.js +1 -1
- package/dist-lib/lib/printQueue.server.d.ts +2 -0
- package/dist-lib/lib/printQueue.server.d.ts.map +1 -1
- package/dist-lib/lib/printQueue.server.js +44 -3
- package/dist-lib/lib/printService.server.d.ts +2 -0
- package/dist-lib/lib/printService.server.d.ts.map +1 -1
- package/dist-lib/lib/printService.server.js +2 -1
- package/dist-lib/lib/printnodeStatus.d.ts +2 -0
- package/dist-lib/lib/printnodeStatus.d.ts.map +1 -1
- package/dist-lib/lib/printnodeStatus.js +10 -0
- package/dist-lib/lib/shellPoort.d.ts +1 -1
- package/dist-lib/lib/shellPoort.js +1 -1
- package/dist-lib/lib/stickerFormaat.d.ts +25 -0
- package/dist-lib/lib/stickerFormaat.d.ts.map +1 -1
- package/dist-lib/lib/stickerFormaat.js +57 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrintQueuePage.d.ts","sourceRoot":"","sources":["../../src/components/PrintQueuePage.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PrintQueuePage.d.ts","sourceRoot":"","sources":["../../src/components/PrintQueuePage.tsx"],"names":[],"mappings":"AAyFA,wBAAgB,cAAc,gCAkb7B"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { aantalLabel } from "../lib/printnodeStatus.js";
|
|
2
3
|
import { scanLabel } from "../lib/printnodeStatus.js";
|
|
3
4
|
import { useEffect, useMemo, useRef, useState } from "react";
|
|
4
5
|
import { Badge, Button, Card, CardContent, CardDescription, CardHeader, CardTitle, Input, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, toast, } from "@flowselections/core";
|
|
@@ -203,7 +204,7 @@ export function PrintQueuePage() {
|
|
|
203
204
|
setAnnuleertAlles(false);
|
|
204
205
|
await reload(true);
|
|
205
206
|
}
|
|
206
|
-
}, children: [_jsx(XCircle, { className: "mr-2 h-4 w-4" }), annuleertAlles ? "Bezig…" : `Alles annuleren (${openJobs.length})`] })] })] }), _jsx(PrintStatusBanner, { fout: tickFout }), _jsx("div", { className: "grid gap-4 md:grid-cols-4", children: ["wachtend", "bezig", "voltooid", "mislukt"].map((s) => (_jsx(Card, { children: _jsxs(CardHeader, { className: "pb-2", children: [_jsx(CardDescription, { className: "capitalize", children: s }), _jsx(CardTitle, { className: "text-2xl", title: tellingFout ?? undefined, children: tellingFout && !tellingen ? "—" : tellingen ? (tellingen[s] ?? 0) : "laden…" }), tellingFout ? _jsx("p", { className: "text-destructive text-xs", children: tellingFout }) : null] }) }, s))) }), _jsxs(Card, { children: [_jsxs(CardHeader, { className: "pb-3", children: [_jsx(CardTitle, { className: "text-base", children: "Opdrachten" }), _jsx(CardDescription, { children: loading ? "Laden…" : `${gefilterd.length} opdrachten` })] }), _jsxs(CardContent, { className: "space-y-4", children: [_jsxs("div", { className: "grid gap-3 md:grid-cols-4", children: [_jsxs("div", { className: "relative md:col-span-2", children: [_jsx(Search, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" }), _jsx(Input, { className: "pl-9", placeholder: "Zoek op document of gebruiker", value: zoek, onChange: (e) => setZoek(e.target.value) })] }), _jsxs(Select, { value: status, onValueChange: setStatus, children: [_jsx(SelectTrigger, { children: _jsx(SelectValue, {}) }), _jsxs(SelectContent, { children: [_jsx(SelectItem, { value: "alle", children: "Alle statussen" }), ["wachtend", "bezig", "voltooid", "mislukt", "geannuleerd"].map((s) => (_jsx(SelectItem, { value: s, children: s }, s)))] })] }), _jsxs(Select, { value: plekFilter, onValueChange: setPlekFilter, children: [_jsx(SelectTrigger, { children: _jsx(SelectValue, {}) }), _jsxs(SelectContent, { children: [_jsx(SelectItem, { value: "alle", children: "Alle printplekken" }), plekOpties.map((p) => (_jsx(SelectItem, { value: p, children: p }, p))), _jsx(SelectItem, { value: "\u2014", children: "Zonder printplek" })] })] })] }), _jsxs(Table, { children: [_jsx(TableHeader, { children: _jsxs(TableRow, { children: [_jsx(TableHead, { children: "Document" }), _jsx(TableHead, { children: "Printplek" }), _jsx(TableHead, { children: "Ontwerp" }), _jsx(TableHead, { children: "Printer" }), _jsx(TableHead, { children: "Status" }), _jsx(TableHead, { children: "Tijdstip" }), _jsx(TableHead, { className: "text-right", children: "Acties" })] }) }), _jsxs(TableBody, { children: [gefilterd.length === 0 && (_jsx(TableRow, { children: _jsx(TableCell, { colSpan: 7, className: "py-10 text-center text-sm text-muted-foreground", children: "Geen printopdrachten." }) })), gefilterd.map((j) => (_jsxs(TableRow, { children: [_jsxs(TableCell, { children: [_jsx("span", { className: "font-medium", children: j.documentnaam ?? documentTypeLabel(j.documenttype) }), j.is_herprint && (_jsx(Badge, { variant: "outline", className: "ml-2", children: "herprint" })), !heeftOrderKenmerk(j) && !isTestprintJob(j) && (_jsx(Badge, { variant: "outline", className: "ml-2 text-amber-600", children: "geen orderkenmerk" })), j.foutmelding && (_jsx("span", { className: "block text-xs text-destructive", title: `Details voor beheer: ${j.foutmelding}`, children: gebruikersTekst(j.foutmelding, documentTypeLabel) ??
|
|
207
|
+
}, children: [_jsx(XCircle, { className: "mr-2 h-4 w-4" }), annuleertAlles ? "Bezig…" : `Alles annuleren (${openJobs.length})`] })] })] }), _jsx(PrintStatusBanner, { fout: tickFout }), _jsx("div", { className: "grid gap-4 md:grid-cols-4", children: ["wachtend", "bezig", "voltooid", "mislukt"].map((s) => (_jsx(Card, { children: _jsxs(CardHeader, { className: "pb-2", children: [_jsx(CardDescription, { className: "capitalize", children: s }), _jsx(CardTitle, { className: "text-2xl", title: tellingFout ?? undefined, children: tellingFout && !tellingen ? "—" : tellingen ? (tellingen[s] ?? 0) : "laden…" }), tellingFout ? _jsx("p", { className: "text-destructive text-xs", children: tellingFout }) : null] }) }, s))) }), _jsxs(Card, { children: [_jsxs(CardHeader, { className: "pb-3", children: [_jsx(CardTitle, { className: "text-base", children: "Opdrachten" }), _jsx(CardDescription, { children: loading ? "Laden…" : `${gefilterd.length} opdrachten` })] }), _jsxs(CardContent, { className: "space-y-4", children: [_jsxs("div", { className: "grid gap-3 md:grid-cols-4", children: [_jsxs("div", { className: "relative md:col-span-2", children: [_jsx(Search, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" }), _jsx(Input, { className: "pl-9", placeholder: "Zoek op document of gebruiker", value: zoek, onChange: (e) => setZoek(e.target.value) })] }), _jsxs(Select, { value: status, onValueChange: setStatus, children: [_jsx(SelectTrigger, { children: _jsx(SelectValue, {}) }), _jsxs(SelectContent, { children: [_jsx(SelectItem, { value: "alle", children: "Alle statussen" }), ["wachtend", "bezig", "voltooid", "mislukt", "geannuleerd"].map((s) => (_jsx(SelectItem, { value: s, children: s }, s)))] })] }), _jsxs(Select, { value: plekFilter, onValueChange: setPlekFilter, children: [_jsx(SelectTrigger, { children: _jsx(SelectValue, {}) }), _jsxs(SelectContent, { children: [_jsx(SelectItem, { value: "alle", children: "Alle printplekken" }), plekOpties.map((p) => (_jsx(SelectItem, { value: p, children: p }, p))), _jsx(SelectItem, { value: "\u2014", children: "Zonder printplek" })] })] })] }), _jsxs(Table, { children: [_jsx(TableHeader, { children: _jsxs(TableRow, { children: [_jsx(TableHead, { children: "Document" }), _jsx(TableHead, { children: "Printplek" }), _jsx(TableHead, { children: "Ontwerp" }), _jsx(TableHead, { children: "Printer" }), _jsx(TableHead, { children: "Status" }), _jsx(TableHead, { children: "Tijdstip" }), _jsx(TableHead, { className: "text-right", children: "Acties" })] }) }), _jsxs(TableBody, { children: [gefilterd.length === 0 && (_jsx(TableRow, { children: _jsx(TableCell, { colSpan: 7, className: "py-10 text-center text-sm text-muted-foreground", children: "Geen printopdrachten." }) })), gefilterd.map((j) => (_jsxs(TableRow, { children: [_jsxs(TableCell, { children: [_jsx("span", { className: "font-medium", children: j.documentnaam ?? documentTypeLabel(j.documenttype) }), aantalLabel(j.documenttype, j.kopieen) && (_jsx("span", { className: "ml-2 text-sm text-muted-foreground", children: aantalLabel(j.documenttype, j.kopieen) })), j.is_herprint && (_jsx(Badge, { variant: "outline", className: "ml-2", children: "herprint" })), !heeftOrderKenmerk(j) && !isTestprintJob(j) && (_jsx(Badge, { variant: "outline", className: "ml-2 text-amber-600", children: "geen orderkenmerk" })), j.foutmelding && (_jsx("span", { className: "block text-xs text-destructive", title: `Details voor beheer: ${j.foutmelding}`, children: gebruikersTekst(j.foutmelding, documentTypeLabel) ??
|
|
207
208
|
String(j.foutmelding).replace(/^[A-Z_]+:\s*/, "") }))] }), _jsx(TableCell, { className: "text-sm text-muted-foreground", children: plekPerJob.get(j.id) || "—" }), _jsx(TableCell, { className: "text-sm text-muted-foreground", children: _jsxs("span", { className: "block", title: "Gebruikt ontwerp", children: [_jsx("span", { children: j.gebruikte_layout_id
|
|
208
209
|
? layoutNaam.get(j.gebruikte_layout_id) ?? "Onbekend ontwerp"
|
|
209
210
|
: j.gebruikte_bron
|
|
@@ -12284,6 +12284,33 @@ export type Database = {
|
|
|
12284
12284
|
}
|
|
12285
12285
|
];
|
|
12286
12286
|
};
|
|
12287
|
+
logistics_departure_check: {
|
|
12288
|
+
Row: {
|
|
12289
|
+
after: Json | null;
|
|
12290
|
+
before: Json | null;
|
|
12291
|
+
check_run: string;
|
|
12292
|
+
created_at: string;
|
|
12293
|
+
id: number;
|
|
12294
|
+
order_id: string;
|
|
12295
|
+
};
|
|
12296
|
+
Insert: {
|
|
12297
|
+
after?: Json | null;
|
|
12298
|
+
before?: Json | null;
|
|
12299
|
+
check_run: string;
|
|
12300
|
+
created_at?: string;
|
|
12301
|
+
id?: never;
|
|
12302
|
+
order_id: string;
|
|
12303
|
+
};
|
|
12304
|
+
Update: {
|
|
12305
|
+
after?: Json | null;
|
|
12306
|
+
before?: Json | null;
|
|
12307
|
+
check_run?: string;
|
|
12308
|
+
created_at?: string;
|
|
12309
|
+
id?: never;
|
|
12310
|
+
order_id?: string;
|
|
12311
|
+
};
|
|
12312
|
+
Relationships: [];
|
|
12313
|
+
};
|
|
12287
12314
|
logistics_document_prints: {
|
|
12288
12315
|
Row: {
|
|
12289
12316
|
created_at: string;
|
|
@@ -13334,7 +13361,9 @@ export type Database = {
|
|
|
13334
13361
|
id: boolean;
|
|
13335
13362
|
last_checked: number;
|
|
13336
13363
|
last_duration_ms: number;
|
|
13364
|
+
last_error: string | null;
|
|
13337
13365
|
last_mode: string | null;
|
|
13366
|
+
last_report: Json | null;
|
|
13338
13367
|
last_run_at: string | null;
|
|
13339
13368
|
last_updated: number;
|
|
13340
13369
|
last_would_change: number | null;
|
|
@@ -13347,7 +13376,9 @@ export type Database = {
|
|
|
13347
13376
|
id?: boolean;
|
|
13348
13377
|
last_checked?: number;
|
|
13349
13378
|
last_duration_ms?: number;
|
|
13379
|
+
last_error?: string | null;
|
|
13350
13380
|
last_mode?: string | null;
|
|
13381
|
+
last_report?: Json | null;
|
|
13351
13382
|
last_run_at?: string | null;
|
|
13352
13383
|
last_updated?: number;
|
|
13353
13384
|
last_would_change?: number | null;
|
|
@@ -13360,7 +13391,9 @@ export type Database = {
|
|
|
13360
13391
|
id?: boolean;
|
|
13361
13392
|
last_checked?: number;
|
|
13362
13393
|
last_duration_ms?: number;
|
|
13394
|
+
last_error?: string | null;
|
|
13363
13395
|
last_mode?: string | null;
|
|
13396
|
+
last_report?: Json | null;
|
|
13364
13397
|
last_run_at?: string | null;
|
|
13365
13398
|
last_updated?: number;
|
|
13366
13399
|
last_would_change?: number | null;
|
|
@@ -13781,6 +13814,8 @@ export type Database = {
|
|
|
13781
13814
|
handled_at: string | null;
|
|
13782
13815
|
handled_error: string | null;
|
|
13783
13816
|
handled_next_at: string | null;
|
|
13817
|
+
herprint_reden: string | null;
|
|
13818
|
+
herprint_requested_at: string | null;
|
|
13784
13819
|
hoogte_mm: number | null;
|
|
13785
13820
|
id: string;
|
|
13786
13821
|
kopieen: number;
|
|
@@ -13792,6 +13827,7 @@ export type Database = {
|
|
|
13792
13827
|
reden: string | null;
|
|
13793
13828
|
soort: string;
|
|
13794
13829
|
status: string;
|
|
13830
|
+
sticker_type: string | null;
|
|
13795
13831
|
updated_at: string;
|
|
13796
13832
|
};
|
|
13797
13833
|
Insert: {
|
|
@@ -13804,6 +13840,8 @@ export type Database = {
|
|
|
13804
13840
|
handled_at?: string | null;
|
|
13805
13841
|
handled_error?: string | null;
|
|
13806
13842
|
handled_next_at?: string | null;
|
|
13843
|
+
herprint_reden?: string | null;
|
|
13844
|
+
herprint_requested_at?: string | null;
|
|
13807
13845
|
hoogte_mm?: number | null;
|
|
13808
13846
|
id?: string;
|
|
13809
13847
|
kopieen?: number;
|
|
@@ -13815,6 +13853,7 @@ export type Database = {
|
|
|
13815
13853
|
reden?: string | null;
|
|
13816
13854
|
soort: string;
|
|
13817
13855
|
status?: string;
|
|
13856
|
+
sticker_type?: string | null;
|
|
13818
13857
|
updated_at?: string;
|
|
13819
13858
|
};
|
|
13820
13859
|
Update: {
|
|
@@ -13827,6 +13866,8 @@ export type Database = {
|
|
|
13827
13866
|
handled_at?: string | null;
|
|
13828
13867
|
handled_error?: string | null;
|
|
13829
13868
|
handled_next_at?: string | null;
|
|
13869
|
+
herprint_reden?: string | null;
|
|
13870
|
+
herprint_requested_at?: string | null;
|
|
13830
13871
|
hoogte_mm?: number | null;
|
|
13831
13872
|
id?: string;
|
|
13832
13873
|
kopieen?: number;
|
|
@@ -13838,6 +13879,7 @@ export type Database = {
|
|
|
13838
13879
|
reden?: string | null;
|
|
13839
13880
|
soort?: string;
|
|
13840
13881
|
status?: string;
|
|
13882
|
+
sticker_type?: string | null;
|
|
13841
13883
|
updated_at?: string;
|
|
13842
13884
|
};
|
|
13843
13885
|
Relationships: [];
|
|
@@ -14187,6 +14229,33 @@ export type Database = {
|
|
|
14187
14229
|
};
|
|
14188
14230
|
Relationships: [];
|
|
14189
14231
|
};
|
|
14232
|
+
logistics_tick_runs: {
|
|
14233
|
+
Row: {
|
|
14234
|
+
duration_ms: number | null;
|
|
14235
|
+
finished_at: string | null;
|
|
14236
|
+
has_error: boolean;
|
|
14237
|
+
id: number;
|
|
14238
|
+
started_at: string;
|
|
14239
|
+
steps: Json;
|
|
14240
|
+
};
|
|
14241
|
+
Insert: {
|
|
14242
|
+
duration_ms?: number | null;
|
|
14243
|
+
finished_at?: string | null;
|
|
14244
|
+
has_error?: boolean;
|
|
14245
|
+
id?: never;
|
|
14246
|
+
started_at?: string;
|
|
14247
|
+
steps?: Json;
|
|
14248
|
+
};
|
|
14249
|
+
Update: {
|
|
14250
|
+
duration_ms?: number | null;
|
|
14251
|
+
finished_at?: string | null;
|
|
14252
|
+
has_error?: boolean;
|
|
14253
|
+
id?: never;
|
|
14254
|
+
started_at?: string;
|
|
14255
|
+
steps?: Json;
|
|
14256
|
+
};
|
|
14257
|
+
Relationships: [];
|
|
14258
|
+
};
|
|
14190
14259
|
logistics_time_settings: {
|
|
14191
14260
|
Row: {
|
|
14192
14261
|
departure_rule_since: string | null;
|
|
@@ -28742,6 +28811,18 @@ export type Database = {
|
|
|
28742
28811
|
};
|
|
28743
28812
|
Returns: undefined;
|
|
28744
28813
|
};
|
|
28814
|
+
_pick_station_for_cart: {
|
|
28815
|
+
Args: {
|
|
28816
|
+
p_cart_id: string;
|
|
28817
|
+
};
|
|
28818
|
+
Returns: string;
|
|
28819
|
+
};
|
|
28820
|
+
_pick_sticker_ids_for_cart: {
|
|
28821
|
+
Args: {
|
|
28822
|
+
p_cart_id: string;
|
|
28823
|
+
};
|
|
28824
|
+
Returns: string[];
|
|
28825
|
+
};
|
|
28745
28826
|
_print_meld_stilstand: {
|
|
28746
28827
|
Args: {
|
|
28747
28828
|
_reden: string;
|
|
@@ -31286,6 +31367,12 @@ export type Database = {
|
|
|
31286
31367
|
};
|
|
31287
31368
|
Returns: Json;
|
|
31288
31369
|
};
|
|
31370
|
+
logistics_buffer_closed_for_join: {
|
|
31371
|
+
Args: {
|
|
31372
|
+
p_buffer: string;
|
|
31373
|
+
};
|
|
31374
|
+
Returns: boolean;
|
|
31375
|
+
};
|
|
31289
31376
|
logistics_buffer_criteria: {
|
|
31290
31377
|
Args: {
|
|
31291
31378
|
p_settings: Json;
|
|
@@ -31314,6 +31401,12 @@ export type Database = {
|
|
|
31314
31401
|
};
|
|
31315
31402
|
Returns: Json;
|
|
31316
31403
|
};
|
|
31404
|
+
logistics_buffer_frozen: {
|
|
31405
|
+
Args: {
|
|
31406
|
+
p_buffer: string;
|
|
31407
|
+
};
|
|
31408
|
+
Returns: boolean;
|
|
31409
|
+
};
|
|
31317
31410
|
logistics_buffer_frozen_order: {
|
|
31318
31411
|
Args: {
|
|
31319
31412
|
p_order_id: string;
|
|
@@ -31354,6 +31447,12 @@ export type Database = {
|
|
|
31354
31447
|
};
|
|
31355
31448
|
Returns: Json;
|
|
31356
31449
|
};
|
|
31450
|
+
logistics_buffer_target: {
|
|
31451
|
+
Args: {
|
|
31452
|
+
p_order_id: string;
|
|
31453
|
+
};
|
|
31454
|
+
Returns: Json;
|
|
31455
|
+
};
|
|
31357
31456
|
logistics_buffer_value: {
|
|
31358
31457
|
Args: {
|
|
31359
31458
|
p_criterion: string;
|
|
@@ -31392,6 +31491,13 @@ export type Database = {
|
|
|
31392
31491
|
};
|
|
31393
31492
|
Returns: Json;
|
|
31394
31493
|
};
|
|
31494
|
+
logistics_carrier_for_location: {
|
|
31495
|
+
Args: {
|
|
31496
|
+
p_customer_id: string;
|
|
31497
|
+
p_location: string;
|
|
31498
|
+
};
|
|
31499
|
+
Returns: string;
|
|
31500
|
+
};
|
|
31395
31501
|
logistics_carrier_minutes: {
|
|
31396
31502
|
Args: {
|
|
31397
31503
|
p_carrier: string;
|
|
@@ -31612,6 +31718,12 @@ export type Database = {
|
|
|
31612
31718
|
};
|
|
31613
31719
|
Returns: Json;
|
|
31614
31720
|
};
|
|
31721
|
+
logistics_cart_slip_queued: {
|
|
31722
|
+
Args: {
|
|
31723
|
+
p_cart: string;
|
|
31724
|
+
};
|
|
31725
|
+
Returns: boolean;
|
|
31726
|
+
};
|
|
31615
31727
|
logistics_cart_sticker_state: {
|
|
31616
31728
|
Args: {
|
|
31617
31729
|
p_cart_id: string;
|
|
@@ -32003,6 +32115,24 @@ export type Database = {
|
|
|
32003
32115
|
printed_count: number;
|
|
32004
32116
|
}[];
|
|
32005
32117
|
};
|
|
32118
|
+
logistics_departure_calc: {
|
|
32119
|
+
Args: {
|
|
32120
|
+
p_carrier_id: string;
|
|
32121
|
+
p_delivery_date: string;
|
|
32122
|
+
p_moment_key?: string;
|
|
32123
|
+
p_ref_at: string;
|
|
32124
|
+
};
|
|
32125
|
+
Returns: Json;
|
|
32126
|
+
};
|
|
32127
|
+
logistics_departure_preview: {
|
|
32128
|
+
Args: {
|
|
32129
|
+
p_carrier_id: string;
|
|
32130
|
+
p_delivery_date: string;
|
|
32131
|
+
p_delivery_location: string;
|
|
32132
|
+
p_moment_key?: string;
|
|
32133
|
+
};
|
|
32134
|
+
Returns: Json;
|
|
32135
|
+
};
|
|
32006
32136
|
logistics_document_layout: {
|
|
32007
32137
|
Args: {
|
|
32008
32138
|
_document_code: string;
|
|
@@ -32435,6 +32565,13 @@ export type Database = {
|
|
|
32435
32565
|
};
|
|
32436
32566
|
Returns: string;
|
|
32437
32567
|
};
|
|
32568
|
+
logistics_nl_moment: {
|
|
32569
|
+
Args: {
|
|
32570
|
+
p_at: string;
|
|
32571
|
+
p_tz: string;
|
|
32572
|
+
};
|
|
32573
|
+
Returns: string;
|
|
32574
|
+
};
|
|
32438
32575
|
logistics_normalize_product_label: {
|
|
32439
32576
|
Args: {
|
|
32440
32577
|
p_label: string;
|
|
@@ -32527,6 +32664,21 @@ export type Database = {
|
|
|
32527
32664
|
};
|
|
32528
32665
|
Returns: Json;
|
|
32529
32666
|
};
|
|
32667
|
+
logistics_order_departure_list: {
|
|
32668
|
+
Args: {
|
|
32669
|
+
p_order_ids: string[];
|
|
32670
|
+
};
|
|
32671
|
+
Returns: {
|
|
32672
|
+
carrierId: string;
|
|
32673
|
+
departureAt: string;
|
|
32674
|
+
lateSignup: boolean;
|
|
32675
|
+
momentKey: string;
|
|
32676
|
+
ok: boolean;
|
|
32677
|
+
order_id: string;
|
|
32678
|
+
reason: string;
|
|
32679
|
+
signupDeadline: string;
|
|
32680
|
+
}[];
|
|
32681
|
+
};
|
|
32530
32682
|
logistics_order_documents_ready: {
|
|
32531
32683
|
Args: {
|
|
32532
32684
|
p_order_ref: string;
|
|
@@ -33225,6 +33377,12 @@ export type Database = {
|
|
|
33225
33377
|
Args: never;
|
|
33226
33378
|
Returns: number;
|
|
33227
33379
|
};
|
|
33380
|
+
logistics_rebuffer_candidates: {
|
|
33381
|
+
Args: never;
|
|
33382
|
+
Returns: {
|
|
33383
|
+
order_id: string;
|
|
33384
|
+
}[];
|
|
33385
|
+
};
|
|
33228
33386
|
logistics_rebuffer_open_orders: {
|
|
33229
33387
|
Args: {
|
|
33230
33388
|
p_strategy_id?: string;
|
|
@@ -33241,6 +33399,23 @@ export type Database = {
|
|
|
33241
33399
|
Args: never;
|
|
33242
33400
|
Returns: Json;
|
|
33243
33401
|
};
|
|
33402
|
+
logistics_rebuffer_report: {
|
|
33403
|
+
Args: never;
|
|
33404
|
+
Returns: Json;
|
|
33405
|
+
};
|
|
33406
|
+
logistics_rebuffer_simulate_open: {
|
|
33407
|
+
Args: never;
|
|
33408
|
+
Returns: {
|
|
33409
|
+
buffer_id: string;
|
|
33410
|
+
changed: boolean;
|
|
33411
|
+
cur_label: string;
|
|
33412
|
+
delivery_date: string;
|
|
33413
|
+
id: string;
|
|
33414
|
+
new_label: string;
|
|
33415
|
+
order_number: string;
|
|
33416
|
+
reason: string;
|
|
33417
|
+
}[];
|
|
33418
|
+
};
|
|
33244
33419
|
logistics_recalc_tick_kick: {
|
|
33245
33420
|
Args: never;
|
|
33246
33421
|
Returns: number;
|
|
@@ -33713,6 +33888,10 @@ export type Database = {
|
|
|
33713
33888
|
};
|
|
33714
33889
|
Returns: boolean;
|
|
33715
33890
|
};
|
|
33891
|
+
logistics_sticker_blocked_list: {
|
|
33892
|
+
Args: never;
|
|
33893
|
+
Returns: Json;
|
|
33894
|
+
};
|
|
33716
33895
|
logistics_sticker_cart_plek: {
|
|
33717
33896
|
Args: {
|
|
33718
33897
|
_cart: string;
|
|
@@ -33720,6 +33899,20 @@ export type Database = {
|
|
|
33720
33899
|
};
|
|
33721
33900
|
Returns: string;
|
|
33722
33901
|
};
|
|
33902
|
+
logistics_sticker_distribution: {
|
|
33903
|
+
Args: {
|
|
33904
|
+
p_copies: number;
|
|
33905
|
+
p_order: string;
|
|
33906
|
+
p_trade_item: string;
|
|
33907
|
+
p_type: string;
|
|
33908
|
+
};
|
|
33909
|
+
Returns: {
|
|
33910
|
+
cart_id: string;
|
|
33911
|
+
crates: number;
|
|
33912
|
+
kopieen: number;
|
|
33913
|
+
pieces: number;
|
|
33914
|
+
}[];
|
|
33915
|
+
};
|
|
33723
33916
|
logistics_sticker_follows_slip: {
|
|
33724
33917
|
Args: never;
|
|
33725
33918
|
Returns: boolean;
|
|
@@ -33859,6 +34052,10 @@ export type Database = {
|
|
|
33859
34052
|
Args: never;
|
|
33860
34053
|
Returns: string;
|
|
33861
34054
|
};
|
|
34055
|
+
logistics_tick_runs_prune: {
|
|
34056
|
+
Args: never;
|
|
34057
|
+
Returns: number;
|
|
34058
|
+
};
|
|
33862
34059
|
logistics_timezone_options: {
|
|
33863
34060
|
Args: never;
|
|
33864
34061
|
Returns: {
|
|
@@ -34034,6 +34231,12 @@ export type Database = {
|
|
|
34034
34231
|
};
|
|
34035
34232
|
Returns: Json;
|
|
34036
34233
|
};
|
|
34234
|
+
logistics_try_uuid: {
|
|
34235
|
+
Args: {
|
|
34236
|
+
p: string;
|
|
34237
|
+
};
|
|
34238
|
+
Returns: string;
|
|
34239
|
+
};
|
|
34037
34240
|
logistics_tz: {
|
|
34038
34241
|
Args: never;
|
|
34039
34242
|
Returns: string;
|
|
@@ -34980,6 +35183,12 @@ export type Database = {
|
|
|
34980
35183
|
};
|
|
34981
35184
|
Returns: string;
|
|
34982
35185
|
};
|
|
35186
|
+
pick_sticker_past_controle: {
|
|
35187
|
+
Args: {
|
|
35188
|
+
p_cart_id: string;
|
|
35189
|
+
};
|
|
35190
|
+
Returns: Json;
|
|
35191
|
+
};
|
|
34983
35192
|
pick_sync_pick_day: {
|
|
34984
35193
|
Args: {
|
|
34985
35194
|
_day: string;
|
|
@@ -35059,6 +35268,21 @@ export type Database = {
|
|
|
35059
35268
|
};
|
|
35060
35269
|
Returns: undefined;
|
|
35061
35270
|
};
|
|
35271
|
+
pickstation_sticker_past_controle: {
|
|
35272
|
+
Args: {
|
|
35273
|
+
p_cart_id: string;
|
|
35274
|
+
p_slug: string;
|
|
35275
|
+
};
|
|
35276
|
+
Returns: Json;
|
|
35277
|
+
};
|
|
35278
|
+
pickstation_sticker_reprint: {
|
|
35279
|
+
Args: {
|
|
35280
|
+
p_cart_id: string;
|
|
35281
|
+
p_reden?: string;
|
|
35282
|
+
p_slug: string;
|
|
35283
|
+
};
|
|
35284
|
+
Returns: Json;
|
|
35285
|
+
};
|
|
35062
35286
|
plan_standby_batch: {
|
|
35063
35287
|
Args: {
|
|
35064
35288
|
_items: Json;
|
|
@@ -35211,6 +35435,14 @@ export type Database = {
|
|
|
35211
35435
|
status: string;
|
|
35212
35436
|
}[];
|
|
35213
35437
|
};
|
|
35438
|
+
print_kopieen_aantal: {
|
|
35439
|
+
Args: {
|
|
35440
|
+
_kopieen: number;
|
|
35441
|
+
_payload: Json;
|
|
35442
|
+
_type: string;
|
|
35443
|
+
};
|
|
35444
|
+
Returns: number;
|
|
35445
|
+
};
|
|
35214
35446
|
print_preview_toestaan: {
|
|
35215
35447
|
Args: {
|
|
35216
35448
|
_max?: number;
|
|
@@ -36363,6 +36595,13 @@ export type Database = {
|
|
|
36363
36595
|
};
|
|
36364
36596
|
Returns: Json;
|
|
36365
36597
|
};
|
|
36598
|
+
sticker_past_controle: {
|
|
36599
|
+
Args: {
|
|
36600
|
+
_print_plek_id?: string;
|
|
36601
|
+
_sticker_ids: string[];
|
|
36602
|
+
};
|
|
36603
|
+
Returns: Json;
|
|
36604
|
+
};
|
|
36366
36605
|
stock_import_cleanup: {
|
|
36367
36606
|
Args: never;
|
|
36368
36607
|
Returns: number;
|