@flowselections/logistiek-engine 1.0.151 → 1.0.153
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/AutomatischVersturenCard.d.ts.map +1 -1
- package/dist-lib/components/AutomatischVersturenCard.js +1 -1
- package/dist-lib/components/ConsistentieCard.d.ts.map +1 -1
- package/dist-lib/components/ConsistentieCard.js +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +225 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/autoSend.d.ts +1 -0
- package/dist-lib/lib/autoSend.d.ts.map +1 -1
- package/dist-lib/lib/autoSend.functions.d.ts +1 -0
- package/dist-lib/lib/autoSend.functions.d.ts.map +1 -1
- package/dist-lib/lib/autoSend.functions.js +2 -0
- package/dist-lib/lib/autoSend.js +3 -0
- package/dist-lib/lib/floridayCartCarriers.js +1 -1
- package/dist-lib/lib/floridayPush.server.js +1 -1
- package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.js +67 -0
- package/dist-lib/lib/moduleVersion.d.ts +1 -1
- package/dist-lib/lib/moduleVersion.js +1 -1
- package/dist-lib/lib/ruleEngineSchema.d.ts.map +1 -1
- package/dist-lib/lib/ruleEngineSchema.js +8 -1
- package/dist-lib/lib/shippingNoteQueue.server.js +1 -1
- package/dist-lib/lib/stickerRules.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AutomatischVersturenCard.d.ts","sourceRoot":"","sources":["../../src/components/AutomatischVersturenCard.tsx"],"names":[],"mappings":"AAMA,wBAAgB,wBAAwB,
|
|
1
|
+
{"version":3,"file":"AutomatischVersturenCard.d.ts","sourceRoot":"","sources":["../../src/components/AutomatischVersturenCard.tsx"],"names":[],"mappings":"AAMA,wBAAgB,wBAAwB,gCA+CvC"}
|
|
@@ -18,5 +18,5 @@ export function AutomatischVersturenCard() {
|
|
|
18
18
|
};
|
|
19
19
|
}, [lees]);
|
|
20
20
|
const jaNee = (v) => (v ? "ja" : "nee");
|
|
21
|
-
return (_jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "Automatisch versturen" }), _jsx(CardDescription, { children: "Alleen voor Floriday-orders, als \"Automatisch versturen\" in de werkwijze aan staat. Is de sleutel niet op te halen of ontbreekt het Shell-adres, dan wordt er niets verstuurd." })] }), _jsx(CardContent, { className: "space-y-1 text-sm", children: fout ? (_jsxs("p", { className: "text-destructive", children: ["Stand onbekend: ", fout] })) : !stand ? (_jsx("p", { className: "text-muted-foreground", children: "Bezig met controleren\u2026" })) : (_jsxs(_Fragment, { children: [_jsxs("p", { children: ["Sleutel op te halen: ", jaNee(stand.sleutelOpTeHalen), !stand.sleutelOpTeHalen && stand.sleutelReden ? ` (${stand.sleutelReden})` : ""] }), _jsxs("p", { children: ["Shell-adres aanwezig: ", jaNee(stand.adresAanwezig)] })] })) })] }));
|
|
21
|
+
return (_jsxs(Card, { children: [_jsxs(CardHeader, { children: [_jsx(CardTitle, { children: "Automatisch versturen" }), _jsx(CardDescription, { children: "Alleen voor Floriday-orders, als \"Automatisch versturen\" in de werkwijze aan staat. Is de sleutel niet op te halen of ontbreekt het Shell-adres, dan wordt er niets verstuurd." })] }), _jsx(CardContent, { className: "space-y-1 text-sm", children: fout ? (_jsxs("p", { className: "text-destructive", children: ["Stand onbekend: ", fout] })) : !stand ? (_jsx("p", { className: "text-muted-foreground", children: "Bezig met controleren\u2026" })) : (_jsxs(_Fragment, { children: [_jsxs("p", { children: ["Sleutel op te halen: ", jaNee(stand.sleutelOpTeHalen), !stand.sleutelOpTeHalen && stand.sleutelReden ? ` (${stand.sleutelReden})` : ""] }), _jsxs("p", { children: ["Shell-adres aanwezig: ", jaNee(stand.adresAanwezig)] }), stand.routeOntbreekt ? (_jsx("p", { className: "text-destructive", children: "Het adres voor automatisch versturen bestaat niet in deze Shell. Werk Afhandeling bij en publiceer de Shell opnieuw." })) : null] })) })] }));
|
|
22
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConsistentieCard.d.ts","sourceRoot":"","sources":["../../src/components/ConsistentieCard.tsx"],"names":[],"mappings":"AAuCA,wBAAgB,gBAAgB,
|
|
1
|
+
{"version":3,"file":"ConsistentieCard.d.ts","sourceRoot":"","sources":["../../src/components/ConsistentieCard.tsx"],"names":[],"mappings":"AAuCA,wBAAgB,gBAAgB,gCAsF/B"}
|
|
@@ -34,5 +34,5 @@ export function ConsistentieCard() {
|
|
|
34
34
|
{ label: "Aangemeld in pickwachtrij", waarde: check.announced_carts },
|
|
35
35
|
]
|
|
36
36
|
: [];
|
|
37
|
-
return (_jsxs(Card, { children: [_jsxs(CardHeader, { className: "flex flex-row items-start justify-between gap-4", children: [_jsxs("div", { children: [_jsxs(CardTitle, { className: "flex items-center gap-2", children: [_jsx(Scale, { className: "h-5 w-5 text-primary" }), "Zelfde cijfers in elke module"] }), _jsx(CardDescription, { children: "Karren van vandaag per venster. Alle vensters horen hetzelfde te tellen; de lever agenda telt alleen wat vandaag geleverd wordt." })] }), _jsx(Button, { variant: "outline", size: "sm", onClick: () => void laden(), disabled: loading, children: _jsx(RefreshCw, { className: `h-4 w-4 ${loading ? "animate-spin" : ""}` }) })] }), _jsx(CardContent, { className: "space-y-4", children: loading && !check ? (_jsx(Skeleton, { className: "h-24 w-full" })) : !check ? (_jsx("p", { className: "text-muted-foreground text-sm", children: "Geen meting beschikbaar." })) : (_jsxs(_Fragment, { children: [_jsxs("div", { className: "flex flex-wrap items-center gap-2", children: [_jsx(Badge, { variant: check.ok ? "default" : "destructive", children: check.ok ? "Alles gelijk" : "Afwijking gevonden" }), check.orphan_tasks > 0 ? (_jsxs(Badge, { variant: "destructive", children: [check.orphan_tasks, " weestaken"] })) : null, (check.duplicate_carts ?? 0) > 0 ? (_jsxs(Badge, { variant: "destructive", children: [check.duplicate_carts, " dubbele karren"] })) : null, (check.orphan_carts ?? 0) > 0 ? (_jsxs(Badge, { variant: "destructive", children: [check.orphan_carts, " karren uit een oude buffer"] })) : null, _jsxs("span", { className: "text-muted-foreground text-xs", children: ["Peildag ", check.pick_date] })] }), _jsx("div", { className: "grid gap-3 sm:grid-cols-2 lg:grid-cols-4", children: vensters.map((v) => (_jsxs("div", { className: "rounded-lg border p-3", children: [_jsx("div", { className: "text-muted-foreground text-xs", children: v.label }), _jsx("div", { className: "text-2xl font-semibold tabular-nums", children: v.waarde })] }, v.label))) }), !check.ok ? (_jsx("p", { className: "text-muted-foreground text-sm", children: "
|
|
37
|
+
return (_jsxs(Card, { children: [_jsxs(CardHeader, { className: "flex flex-row items-start justify-between gap-4", children: [_jsxs("div", { children: [_jsxs(CardTitle, { className: "flex items-center gap-2", children: [_jsx(Scale, { className: "h-5 w-5 text-primary" }), "Zelfde cijfers in elke module"] }), _jsx(CardDescription, { children: "Karren van vandaag per venster. Alle vensters horen hetzelfde te tellen; de lever agenda telt alleen wat vandaag geleverd wordt." })] }), _jsx(Button, { variant: "outline", size: "sm", onClick: () => void laden(), disabled: loading, children: _jsx(RefreshCw, { className: `h-4 w-4 ${loading ? "animate-spin" : ""}` }) })] }), _jsx(CardContent, { className: "space-y-4", children: loading && !check ? (_jsx(Skeleton, { className: "h-24 w-full" })) : !check ? (_jsx("p", { className: "text-muted-foreground text-sm", children: "Geen meting beschikbaar." })) : (_jsxs(_Fragment, { children: [_jsxs("div", { className: "flex flex-wrap items-center gap-2", children: [_jsx(Badge, { variant: check.ok ? "default" : "destructive", children: check.ok ? "Alles gelijk" : "Afwijking gevonden" }), check.orphan_tasks > 0 ? (_jsxs(Badge, { variant: "destructive", children: [check.orphan_tasks, " weestaken"] })) : null, (check.duplicate_carts ?? 0) > 0 ? (_jsxs(Badge, { variant: "destructive", children: [check.duplicate_carts, " dubbele karren"] })) : null, (check.orphan_carts ?? 0) > 0 ? (_jsxs(Badge, { variant: "destructive", children: [check.orphan_carts, " karren uit een oude buffer"] })) : null, _jsxs("span", { className: "text-muted-foreground text-xs", children: ["Peildag ", check.pick_date] })] }), _jsx("div", { className: "grid gap-3 sm:grid-cols-2 lg:grid-cols-4", children: vensters.map((v) => (_jsxs("div", { className: "rounded-lg border p-3", children: [_jsx("div", { className: "text-muted-foreground text-xs", children: v.label }), _jsx("div", { className: "text-2xl font-semibold tabular-nums", children: v.waarde })] }, v.label))) }), !check.ok ? (_jsx("p", { className: "text-muted-foreground text-sm", children: "Aantallen verschillen tussen schermen. Meld dit bij Flow Selections." })) : null] })) })] }));
|
|
38
38
|
}
|
|
@@ -11618,6 +11618,7 @@ export type Database = {
|
|
|
11618
11618
|
logistics_auto_send: {
|
|
11619
11619
|
Row: {
|
|
11620
11620
|
attempts: number;
|
|
11621
|
+
buffer_id: string | null;
|
|
11621
11622
|
cart_ids: string[];
|
|
11622
11623
|
created_at: string;
|
|
11623
11624
|
id: string;
|
|
@@ -11627,13 +11628,16 @@ export type Database = {
|
|
|
11627
11628
|
max_attempts: number;
|
|
11628
11629
|
next_attempt_at: string;
|
|
11629
11630
|
order_id: string;
|
|
11631
|
+
order_ids: string[];
|
|
11630
11632
|
reason: string | null;
|
|
11631
11633
|
sent_at: string | null;
|
|
11634
|
+
sent_how: string | null;
|
|
11632
11635
|
status: string;
|
|
11633
11636
|
updated_at: string;
|
|
11634
11637
|
};
|
|
11635
11638
|
Insert: {
|
|
11636
11639
|
attempts?: number;
|
|
11640
|
+
buffer_id?: string | null;
|
|
11637
11641
|
cart_ids?: string[];
|
|
11638
11642
|
created_at?: string;
|
|
11639
11643
|
id?: string;
|
|
@@ -11643,13 +11647,16 @@ export type Database = {
|
|
|
11643
11647
|
max_attempts?: number;
|
|
11644
11648
|
next_attempt_at?: string;
|
|
11645
11649
|
order_id: string;
|
|
11650
|
+
order_ids?: string[];
|
|
11646
11651
|
reason?: string | null;
|
|
11647
11652
|
sent_at?: string | null;
|
|
11653
|
+
sent_how?: string | null;
|
|
11648
11654
|
status?: string;
|
|
11649
11655
|
updated_at?: string;
|
|
11650
11656
|
};
|
|
11651
11657
|
Update: {
|
|
11652
11658
|
attempts?: number;
|
|
11659
|
+
buffer_id?: string | null;
|
|
11653
11660
|
cart_ids?: string[];
|
|
11654
11661
|
created_at?: string;
|
|
11655
11662
|
id?: string;
|
|
@@ -11659,8 +11666,10 @@ export type Database = {
|
|
|
11659
11666
|
max_attempts?: number;
|
|
11660
11667
|
next_attempt_at?: string;
|
|
11661
11668
|
order_id?: string;
|
|
11669
|
+
order_ids?: string[];
|
|
11662
11670
|
reason?: string | null;
|
|
11663
11671
|
sent_at?: string | null;
|
|
11672
|
+
sent_how?: string | null;
|
|
11664
11673
|
status?: string;
|
|
11665
11674
|
updated_at?: string;
|
|
11666
11675
|
};
|
|
@@ -16800,6 +16809,44 @@ export type Database = {
|
|
|
16800
16809
|
};
|
|
16801
16810
|
Relationships: [];
|
|
16802
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
|
+
};
|
|
16803
16850
|
order_shipment_items: {
|
|
16804
16851
|
Row: {
|
|
16805
16852
|
created_at: string;
|
|
@@ -28494,6 +28541,12 @@ export type Database = {
|
|
|
28494
28541
|
};
|
|
28495
28542
|
Returns: Json;
|
|
28496
28543
|
};
|
|
28544
|
+
_scan_kar_voortgang: {
|
|
28545
|
+
Args: {
|
|
28546
|
+
p_cart_id: string;
|
|
28547
|
+
};
|
|
28548
|
+
Returns: Json;
|
|
28549
|
+
};
|
|
28497
28550
|
_stock_import_caller: {
|
|
28498
28551
|
Args: {
|
|
28499
28552
|
p_owner: string;
|
|
@@ -29217,6 +29270,13 @@ export type Database = {
|
|
|
29217
29270
|
status: string;
|
|
29218
29271
|
}[];
|
|
29219
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
|
+
};
|
|
29220
29280
|
control_mark_carts_delivered: {
|
|
29221
29281
|
Args: {
|
|
29222
29282
|
p_carts: Json;
|
|
@@ -29236,6 +29296,13 @@ export type Database = {
|
|
|
29236
29296
|
outcome: string;
|
|
29237
29297
|
}[];
|
|
29238
29298
|
};
|
|
29299
|
+
control_post_mark_cart_delivered: {
|
|
29300
|
+
Args: {
|
|
29301
|
+
p_cart_id: string;
|
|
29302
|
+
p_slug: string;
|
|
29303
|
+
};
|
|
29304
|
+
Returns: Json;
|
|
29305
|
+
};
|
|
29239
29306
|
count_distinct_regulatory_products: {
|
|
29240
29307
|
Args: never;
|
|
29241
29308
|
Returns: number;
|
|
@@ -30715,6 +30782,7 @@ export type Database = {
|
|
|
30715
30782
|
};
|
|
30716
30783
|
Returns: {
|
|
30717
30784
|
attempts: number;
|
|
30785
|
+
buffer_id: string | null;
|
|
30718
30786
|
cart_ids: string[];
|
|
30719
30787
|
created_at: string;
|
|
30720
30788
|
id: string;
|
|
@@ -30724,8 +30792,10 @@ export type Database = {
|
|
|
30724
30792
|
max_attempts: number;
|
|
30725
30793
|
next_attempt_at: string;
|
|
30726
30794
|
order_id: string;
|
|
30795
|
+
order_ids: string[];
|
|
30727
30796
|
reason: string | null;
|
|
30728
30797
|
sent_at: string | null;
|
|
30798
|
+
sent_how: string | null;
|
|
30729
30799
|
status: string;
|
|
30730
30800
|
updated_at: string;
|
|
30731
30801
|
}[];
|
|
@@ -30753,12 +30823,28 @@ export type Database = {
|
|
|
30753
30823
|
};
|
|
30754
30824
|
Returns: Json;
|
|
30755
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
|
+
};
|
|
30756
30836
|
logistics_auto_send_status: {
|
|
30757
30837
|
Args: {
|
|
30758
30838
|
p_order_id: string;
|
|
30759
30839
|
};
|
|
30760
30840
|
Returns: Json;
|
|
30761
30841
|
};
|
|
30842
|
+
logistics_auto_send_status_core: {
|
|
30843
|
+
Args: {
|
|
30844
|
+
p_order_id: string;
|
|
30845
|
+
};
|
|
30846
|
+
Returns: Json;
|
|
30847
|
+
};
|
|
30762
30848
|
logistics_backorder_allowed: {
|
|
30763
30849
|
Args: {
|
|
30764
30850
|
p_strategy_id?: string;
|
|
@@ -30943,6 +31029,12 @@ export type Database = {
|
|
|
30943
31029
|
Args: never;
|
|
30944
31030
|
Returns: Json;
|
|
30945
31031
|
};
|
|
31032
|
+
logistics_cart_fixed_numbering: {
|
|
31033
|
+
Args: {
|
|
31034
|
+
p_cart_id: string;
|
|
31035
|
+
};
|
|
31036
|
+
Returns: Json;
|
|
31037
|
+
};
|
|
30946
31038
|
logistics_cart_handled: {
|
|
30947
31039
|
Args: {
|
|
30948
31040
|
p_cart_index: number;
|
|
@@ -30994,10 +31086,22 @@ export type Database = {
|
|
|
30994
31086
|
};
|
|
30995
31087
|
Returns: boolean;
|
|
30996
31088
|
};
|
|
31089
|
+
logistics_cart_json_fixed: {
|
|
31090
|
+
Args: {
|
|
31091
|
+
p_cart: Json;
|
|
31092
|
+
};
|
|
31093
|
+
Returns: Json;
|
|
31094
|
+
};
|
|
30997
31095
|
logistics_cart_layout_method: {
|
|
30998
31096
|
Args: never;
|
|
30999
31097
|
Returns: Json;
|
|
31000
31098
|
};
|
|
31099
|
+
logistics_cart_order_ids: {
|
|
31100
|
+
Args: {
|
|
31101
|
+
p_cart_id: string;
|
|
31102
|
+
};
|
|
31103
|
+
Returns: string[];
|
|
31104
|
+
};
|
|
31001
31105
|
logistics_cart_order_refs: {
|
|
31002
31106
|
Args: {
|
|
31003
31107
|
p_cart_id: string;
|
|
@@ -31041,6 +31145,12 @@ export type Database = {
|
|
|
31041
31145
|
};
|
|
31042
31146
|
Returns: boolean;
|
|
31043
31147
|
};
|
|
31148
|
+
logistics_cart_scanned: {
|
|
31149
|
+
Args: {
|
|
31150
|
+
p_cart_id: string;
|
|
31151
|
+
};
|
|
31152
|
+
Returns: boolean;
|
|
31153
|
+
};
|
|
31044
31154
|
logistics_cart_seq: {
|
|
31045
31155
|
Args: {
|
|
31046
31156
|
p_order_uuid?: string;
|
|
@@ -31097,6 +31207,12 @@ export type Database = {
|
|
|
31097
31207
|
unit_ref: string;
|
|
31098
31208
|
}[];
|
|
31099
31209
|
};
|
|
31210
|
+
logistics_cart_wait_until: {
|
|
31211
|
+
Args: {
|
|
31212
|
+
p_cart_id: string;
|
|
31213
|
+
};
|
|
31214
|
+
Returns: string;
|
|
31215
|
+
};
|
|
31100
31216
|
logistics_carts_per_print: {
|
|
31101
31217
|
Args: never;
|
|
31102
31218
|
Returns: number;
|
|
@@ -31379,6 +31495,13 @@ export type Database = {
|
|
|
31379
31495
|
};
|
|
31380
31496
|
Returns: number;
|
|
31381
31497
|
};
|
|
31498
|
+
logistics_control_scan_record_afmelding_cart: {
|
|
31499
|
+
Args: {
|
|
31500
|
+
p_bron: string;
|
|
31501
|
+
p_cart_id: string;
|
|
31502
|
+
};
|
|
31503
|
+
Returns: number;
|
|
31504
|
+
};
|
|
31382
31505
|
logistics_control_scan_retry: {
|
|
31383
31506
|
Args: {
|
|
31384
31507
|
_id: string;
|
|
@@ -31806,6 +31929,23 @@ export type Database = {
|
|
|
31806
31929
|
};
|
|
31807
31930
|
Returns: number;
|
|
31808
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
|
+
};
|
|
31809
31949
|
logistics_merge_decision: {
|
|
31810
31950
|
Args: {
|
|
31811
31951
|
p_lines: Json;
|
|
@@ -31864,6 +32004,12 @@ export type Database = {
|
|
|
31864
32004
|
};
|
|
31865
32005
|
Returns: boolean;
|
|
31866
32006
|
};
|
|
32007
|
+
logistics_order_all_carts_scanned: {
|
|
32008
|
+
Args: {
|
|
32009
|
+
p_order_id: string;
|
|
32010
|
+
};
|
|
32011
|
+
Returns: boolean;
|
|
32012
|
+
};
|
|
31867
32013
|
logistics_order_backlog_info: {
|
|
31868
32014
|
Args: {
|
|
31869
32015
|
p_order_id: string;
|
|
@@ -31891,6 +32037,12 @@ export type Database = {
|
|
|
31891
32037
|
};
|
|
31892
32038
|
Returns: number;
|
|
31893
32039
|
};
|
|
32040
|
+
logistics_order_cart_ids: {
|
|
32041
|
+
Args: {
|
|
32042
|
+
p_order_id: string;
|
|
32043
|
+
};
|
|
32044
|
+
Returns: string[];
|
|
32045
|
+
};
|
|
31894
32046
|
logistics_order_changed: {
|
|
31895
32047
|
Args: {
|
|
31896
32048
|
p_order_id: string;
|
|
@@ -32177,6 +32329,10 @@ export type Database = {
|
|
|
32177
32329
|
};
|
|
32178
32330
|
Returns: string;
|
|
32179
32331
|
};
|
|
32332
|
+
logistics_partial_wait_minutes: {
|
|
32333
|
+
Args: never;
|
|
32334
|
+
Returns: number;
|
|
32335
|
+
};
|
|
32180
32336
|
logistics_payload_is_floriday: {
|
|
32181
32337
|
Args: {
|
|
32182
32338
|
_payload: Json;
|
|
@@ -32219,6 +32375,14 @@ export type Database = {
|
|
|
32219
32375
|
Args: never;
|
|
32220
32376
|
Returns: string;
|
|
32221
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
|
+
};
|
|
32222
32386
|
logistics_pick_start_estimate: {
|
|
32223
32387
|
Args: {
|
|
32224
32388
|
p_order: Json;
|
|
@@ -33341,6 +33505,22 @@ export type Database = {
|
|
|
33341
33505
|
};
|
|
33342
33506
|
Returns: Json;
|
|
33343
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
|
+
};
|
|
33344
33524
|
logistics_upsert_task: {
|
|
33345
33525
|
Args: {
|
|
33346
33526
|
p_buffer_ref: string;
|
|
@@ -34277,6 +34457,13 @@ export type Database = {
|
|
|
34277
34457
|
};
|
|
34278
34458
|
Returns: Json;
|
|
34279
34459
|
};
|
|
34460
|
+
pickstation_auto_send_status: {
|
|
34461
|
+
Args: {
|
|
34462
|
+
p_order_id: string;
|
|
34463
|
+
p_slug: string;
|
|
34464
|
+
};
|
|
34465
|
+
Returns: Json;
|
|
34466
|
+
};
|
|
34280
34467
|
pickstation_cart_sticker_state: {
|
|
34281
34468
|
Args: {
|
|
34282
34469
|
p_cart_id: string;
|
|
@@ -35092,6 +35279,14 @@ export type Database = {
|
|
|
35092
35279
|
};
|
|
35093
35280
|
Returns: Json;
|
|
35094
35281
|
};
|
|
35282
|
+
scan_kar_voortgang: {
|
|
35283
|
+
Args: {
|
|
35284
|
+
p_cart_id: string;
|
|
35285
|
+
p_scanner_id?: string;
|
|
35286
|
+
p_slug?: string;
|
|
35287
|
+
};
|
|
35288
|
+
Returns: Json;
|
|
35289
|
+
};
|
|
35095
35290
|
scan_log_code: {
|
|
35096
35291
|
Args: {
|
|
35097
35292
|
p_code: string;
|
|
@@ -35109,6 +35304,12 @@ export type Database = {
|
|
|
35109
35304
|
};
|
|
35110
35305
|
Returns: Json;
|
|
35111
35306
|
};
|
|
35307
|
+
scan_order_klant: {
|
|
35308
|
+
Args: {
|
|
35309
|
+
p_order_id: string;
|
|
35310
|
+
};
|
|
35311
|
+
Returns: Json;
|
|
35312
|
+
};
|
|
35112
35313
|
scan_pakbon_lookup: {
|
|
35113
35314
|
Args: {
|
|
35114
35315
|
p_barcode: string;
|
|
@@ -35215,6 +35416,10 @@ export type Database = {
|
|
|
35215
35416
|
};
|
|
35216
35417
|
Returns: Json;
|
|
35217
35418
|
};
|
|
35419
|
+
scan_tijdzone: {
|
|
35420
|
+
Args: never;
|
|
35421
|
+
Returns: string;
|
|
35422
|
+
};
|
|
35218
35423
|
scan_verzendbrief_regels: {
|
|
35219
35424
|
Args: {
|
|
35220
35425
|
p_sessie_id: string;
|
|
@@ -35543,6 +35748,26 @@ export type Database = {
|
|
|
35543
35748
|
trade_item_key: string;
|
|
35544
35749
|
updated_at: string;
|
|
35545
35750
|
}[];
|
|
35751
|
+
} | {
|
|
35752
|
+
Args: {
|
|
35753
|
+
p_change_source?: string;
|
|
35754
|
+
p_incoming_stock?: number;
|
|
35755
|
+
p_minimum_stock?: number;
|
|
35756
|
+
p_notes?: string;
|
|
35757
|
+
p_physical_stock: number;
|
|
35758
|
+
p_product_id: string;
|
|
35759
|
+
};
|
|
35760
|
+
Returns: {
|
|
35761
|
+
connection_id: string;
|
|
35762
|
+
incoming_stock: number;
|
|
35763
|
+
minimum_stock: number;
|
|
35764
|
+
notes: string;
|
|
35765
|
+
physical_stock: number;
|
|
35766
|
+
product_id: string;
|
|
35767
|
+
reserved_stock: number;
|
|
35768
|
+
trade_item_key: string;
|
|
35769
|
+
updated_at: string;
|
|
35770
|
+
}[];
|
|
35546
35771
|
};
|
|
35547
35772
|
show_limit: {
|
|
35548
35773
|
Args: never;
|