@flowselections/floriday-voorraad 1.0.90 → 1.0.94
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/voorraad/StockIntegrityAlert.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockIntegrityAlert.js +5 -5
- package/dist-lib/integrations/supabase/types.d.ts +216 -15
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/server-hooks/floriday-follow.d.ts.map +1 -1
- package/dist-lib/server-hooks/floriday-follow.js +11 -1
- package/package.json +1 -1
- package/sql/floriday-voorraad-schema.sql +106 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StockIntegrityAlert.d.ts","sourceRoot":"","sources":["../../../src/components/voorraad/StockIntegrityAlert.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StockIntegrityAlert.d.ts","sourceRoot":"","sources":["../../../src/components/voorraad/StockIntegrityAlert.tsx"],"names":[],"mappings":"AAqCA,wBAAgB,mBAAmB,uCAiIlC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
/**
|
|
3
3
|
* Rode melding wanneer in één transactie twee of meer artikelen van een
|
|
4
4
|
* positieve fysieke voorraad naar 0 zijn gegaan (bewaking in de database:
|
|
@@ -23,11 +23,11 @@ export function StockIntegrityAlert() {
|
|
|
23
23
|
const load = useCallback(async () => {
|
|
24
24
|
const { data, error } = await supabase
|
|
25
25
|
.from("stock_integrity_alerts")
|
|
26
|
-
.select("id, created_at, item_count, items")
|
|
26
|
+
.select("id, created_at, item_count, items, alert_kind")
|
|
27
27
|
.is("acknowledged_at", null)
|
|
28
|
-
.
|
|
28
|
+
.or("alert_kind.eq.FLORIDAY_NOT_UPDATED,item_count.gte.2")
|
|
29
29
|
.order("created_at", { ascending: false })
|
|
30
|
-
.limit(
|
|
30
|
+
.limit(10);
|
|
31
31
|
if (error) {
|
|
32
32
|
console.error("Voorraadbewaking laden mislukt:", error.message);
|
|
33
33
|
return;
|
|
@@ -83,5 +83,5 @@ export function StockIntegrityAlert() {
|
|
|
83
83
|
};
|
|
84
84
|
if (alerts.length === 0)
|
|
85
85
|
return null;
|
|
86
|
-
return (_jsx("div", { className: "space-y-2", children: alerts.map((a) => (_jsxs("div", { className: "flex items-start gap-3 rounded-md border border-destructive/40 bg-destructive/10 p-3 text-sm text-destructive", children: [_jsx(AlertOctagon, { className: "mt-0.5 h-4 w-4 shrink-0" }),
|
|
86
|
+
return (_jsx("div", { className: "space-y-2", children: alerts.map((a) => (_jsxs("div", { className: "flex items-start gap-3 rounded-md border border-destructive/40 bg-destructive/10 p-3 text-sm text-destructive", children: [_jsx(AlertOctagon, { className: "mt-0.5 h-4 w-4 shrink-0" }), _jsx("div", { className: "flex-1 space-y-1", children: a.alert_kind === "FLORIDAY_NOT_UPDATED" ? (_jsxs(_Fragment, { children: [_jsxs("p", { className: "font-medium", children: ["Verkoop niet in Floriday verwerkt \u2013 pas de Floriday-voorraad aan (", new Date(a.created_at).toLocaleString("nl-NL"), ")."] }), _jsx("p", { className: "text-xs text-foreground/80", children: "Floriday leidt deze artikelen. Deze verkoop kwam niet via Floriday, dus Floriday weet er niets van." }), _jsx("ul", { className: "text-xs text-foreground/80", children: (Array.isArray(a.items) ? a.items : []).slice(0, 10).map((it, i) => (_jsxs("li", { children: [label(it, names), ": ", it.qty ?? "?", " stuks", it.order_number ? ` (order ${it.order_number})` : ""] }, `${it.trade_item_key}-${i}`))) })] })) : (_jsxs(_Fragment, { children: [_jsxs("p", { className: "font-medium", children: [a.item_count, " artikelen gingen tegelijk naar voorraad 0 (", new Date(a.created_at).toLocaleString("nl-NL"), "). Controleer of dit klopt."] }), _jsx("ul", { className: "text-xs text-foreground/80", children: (Array.isArray(a.items) ? a.items : []).slice(0, 10).map((it, i) => (_jsxs("li", { children: [label(it, names), ": was ", it.physical_before, it.change_source ? ` (bron ${it.change_source})` : " (bron onbekend)"] }, `${it.trade_item_key}-${i}`))) })] })) }), _jsx("button", { type: "button", className: "rounded-md border border-destructive/40 bg-background px-3 py-1 text-xs font-medium text-foreground hover:bg-muted", onClick: () => void acknowledge(a.id), children: "Gezien" })] }, a.id))) }));
|
|
87
87
|
}
|
|
@@ -606,24 +606,36 @@ export type Database = {
|
|
|
606
606
|
ai_modules: {
|
|
607
607
|
Row: {
|
|
608
608
|
ai_enabled: boolean;
|
|
609
|
+
ai_source: string;
|
|
609
610
|
created_at: string;
|
|
611
|
+
declared_ai: boolean;
|
|
610
612
|
id: string;
|
|
613
|
+
is_in_use: boolean;
|
|
614
|
+
last_declared_at: string | null;
|
|
611
615
|
module_key: string;
|
|
612
616
|
module_name: string;
|
|
613
617
|
updated_at: string;
|
|
614
618
|
};
|
|
615
619
|
Insert: {
|
|
616
620
|
ai_enabled?: boolean;
|
|
621
|
+
ai_source?: string;
|
|
617
622
|
created_at?: string;
|
|
623
|
+
declared_ai?: boolean;
|
|
618
624
|
id?: string;
|
|
625
|
+
is_in_use?: boolean;
|
|
626
|
+
last_declared_at?: string | null;
|
|
619
627
|
module_key: string;
|
|
620
628
|
module_name: string;
|
|
621
629
|
updated_at?: string;
|
|
622
630
|
};
|
|
623
631
|
Update: {
|
|
624
632
|
ai_enabled?: boolean;
|
|
633
|
+
ai_source?: string;
|
|
625
634
|
created_at?: string;
|
|
635
|
+
declared_ai?: boolean;
|
|
626
636
|
id?: string;
|
|
637
|
+
is_in_use?: boolean;
|
|
638
|
+
last_declared_at?: string | null;
|
|
627
639
|
module_key?: string;
|
|
628
640
|
module_name?: string;
|
|
629
641
|
updated_at?: string;
|
|
@@ -14176,6 +14188,7 @@ export type Database = {
|
|
|
14176
14188
|
bron_id: string;
|
|
14177
14189
|
cart_id: string | null;
|
|
14178
14190
|
created_at: string;
|
|
14191
|
+
eigen_sticker_id: string | null;
|
|
14179
14192
|
fulfillment_order_id: string | null;
|
|
14180
14193
|
handled_at: string | null;
|
|
14181
14194
|
handled_error: string | null;
|
|
@@ -14202,6 +14215,7 @@ export type Database = {
|
|
|
14202
14215
|
bron_id: string;
|
|
14203
14216
|
cart_id?: string | null;
|
|
14204
14217
|
created_at?: string;
|
|
14218
|
+
eigen_sticker_id?: string | null;
|
|
14205
14219
|
fulfillment_order_id?: string | null;
|
|
14206
14220
|
handled_at?: string | null;
|
|
14207
14221
|
handled_error?: string | null;
|
|
@@ -14228,6 +14242,7 @@ export type Database = {
|
|
|
14228
14242
|
bron_id?: string;
|
|
14229
14243
|
cart_id?: string | null;
|
|
14230
14244
|
created_at?: string;
|
|
14245
|
+
eigen_sticker_id?: string | null;
|
|
14231
14246
|
fulfillment_order_id?: string | null;
|
|
14232
14247
|
handled_at?: string | null;
|
|
14233
14248
|
handled_error?: string | null;
|
|
@@ -15687,7 +15702,7 @@ export type Database = {
|
|
|
15687
15702
|
name: string;
|
|
15688
15703
|
produced_stock: number;
|
|
15689
15704
|
product_code: string;
|
|
15690
|
-
tenant_id: string;
|
|
15705
|
+
tenant_id: string | null;
|
|
15691
15706
|
updated_at: string;
|
|
15692
15707
|
};
|
|
15693
15708
|
Insert: {
|
|
@@ -15698,7 +15713,7 @@ export type Database = {
|
|
|
15698
15713
|
name: string;
|
|
15699
15714
|
produced_stock?: number;
|
|
15700
15715
|
product_code: string;
|
|
15701
|
-
tenant_id
|
|
15716
|
+
tenant_id?: string | null;
|
|
15702
15717
|
updated_at?: string;
|
|
15703
15718
|
};
|
|
15704
15719
|
Update: {
|
|
@@ -15709,7 +15724,7 @@ export type Database = {
|
|
|
15709
15724
|
name?: string;
|
|
15710
15725
|
produced_stock?: number;
|
|
15711
15726
|
product_code?: string;
|
|
15712
|
-
tenant_id?: string;
|
|
15727
|
+
tenant_id?: string | null;
|
|
15713
15728
|
updated_at?: string;
|
|
15714
15729
|
};
|
|
15715
15730
|
Relationships: [];
|
|
@@ -17504,6 +17519,7 @@ export type Database = {
|
|
|
17504
17519
|
created_at: string;
|
|
17505
17520
|
id: string;
|
|
17506
17521
|
layers_per_cart: number | null;
|
|
17522
|
+
needs_sticker: boolean;
|
|
17507
17523
|
order_id: string;
|
|
17508
17524
|
packing_locked_at: string | null;
|
|
17509
17525
|
packing_locked_by: string | null;
|
|
@@ -17523,6 +17539,7 @@ export type Database = {
|
|
|
17523
17539
|
created_at?: string;
|
|
17524
17540
|
id?: string;
|
|
17525
17541
|
layers_per_cart?: number | null;
|
|
17542
|
+
needs_sticker?: boolean;
|
|
17526
17543
|
order_id: string;
|
|
17527
17544
|
packing_locked_at?: string | null;
|
|
17528
17545
|
packing_locked_by?: string | null;
|
|
@@ -17542,6 +17559,7 @@ export type Database = {
|
|
|
17542
17559
|
created_at?: string;
|
|
17543
17560
|
id?: string;
|
|
17544
17561
|
layers_per_cart?: number | null;
|
|
17562
|
+
needs_sticker?: boolean;
|
|
17545
17563
|
order_id?: string;
|
|
17546
17564
|
packing_locked_at?: string | null;
|
|
17547
17565
|
packing_locked_by?: string | null;
|
|
@@ -20998,7 +21016,7 @@ export type Database = {
|
|
|
20998
21016
|
parent_trade_item_floriday_id: string | null;
|
|
20999
21017
|
quantity: number;
|
|
21000
21018
|
sort_order: number;
|
|
21001
|
-
tenant_id: string;
|
|
21019
|
+
tenant_id: string | null;
|
|
21002
21020
|
unit: string;
|
|
21003
21021
|
updated_at: string;
|
|
21004
21022
|
};
|
|
@@ -21011,7 +21029,7 @@ export type Database = {
|
|
|
21011
21029
|
parent_trade_item_floriday_id?: string | null;
|
|
21012
21030
|
quantity?: number;
|
|
21013
21031
|
sort_order?: number;
|
|
21014
|
-
tenant_id
|
|
21032
|
+
tenant_id?: string | null;
|
|
21015
21033
|
unit?: string;
|
|
21016
21034
|
updated_at?: string;
|
|
21017
21035
|
};
|
|
@@ -21024,7 +21042,7 @@ export type Database = {
|
|
|
21024
21042
|
parent_trade_item_floriday_id?: string | null;
|
|
21025
21043
|
quantity?: number;
|
|
21026
21044
|
sort_order?: number;
|
|
21027
|
-
tenant_id?: string;
|
|
21045
|
+
tenant_id?: string | null;
|
|
21028
21046
|
unit?: string;
|
|
21029
21047
|
updated_at?: string;
|
|
21030
21048
|
};
|
|
@@ -21057,7 +21075,7 @@ export type Database = {
|
|
|
21057
21075
|
parent_trade_item_floriday_id: string | null;
|
|
21058
21076
|
quantity: number;
|
|
21059
21077
|
sort_order: number;
|
|
21060
|
-
tenant_id: string;
|
|
21078
|
+
tenant_id: string | null;
|
|
21061
21079
|
unit: string;
|
|
21062
21080
|
updated_at: string;
|
|
21063
21081
|
};
|
|
@@ -21072,7 +21090,7 @@ export type Database = {
|
|
|
21072
21090
|
parent_trade_item_floriday_id?: string | null;
|
|
21073
21091
|
quantity?: number;
|
|
21074
21092
|
sort_order?: number;
|
|
21075
|
-
tenant_id
|
|
21093
|
+
tenant_id?: string | null;
|
|
21076
21094
|
unit?: string;
|
|
21077
21095
|
updated_at?: string;
|
|
21078
21096
|
};
|
|
@@ -21087,7 +21105,7 @@ export type Database = {
|
|
|
21087
21105
|
parent_trade_item_floriday_id?: string | null;
|
|
21088
21106
|
quantity?: number;
|
|
21089
21107
|
sort_order?: number;
|
|
21090
|
-
tenant_id?: string;
|
|
21108
|
+
tenant_id?: string | null;
|
|
21091
21109
|
unit?: string;
|
|
21092
21110
|
updated_at?: string;
|
|
21093
21111
|
};
|
|
@@ -21267,7 +21285,7 @@ export type Database = {
|
|
|
21267
21285
|
id: string;
|
|
21268
21286
|
is_active: boolean;
|
|
21269
21287
|
name: string;
|
|
21270
|
-
tenant_id: string;
|
|
21288
|
+
tenant_id: string | null;
|
|
21271
21289
|
updated_at: string;
|
|
21272
21290
|
};
|
|
21273
21291
|
Insert: {
|
|
@@ -21278,7 +21296,7 @@ export type Database = {
|
|
|
21278
21296
|
id?: string;
|
|
21279
21297
|
is_active?: boolean;
|
|
21280
21298
|
name: string;
|
|
21281
|
-
tenant_id
|
|
21299
|
+
tenant_id?: string | null;
|
|
21282
21300
|
updated_at?: string;
|
|
21283
21301
|
};
|
|
21284
21302
|
Update: {
|
|
@@ -21289,7 +21307,7 @@ export type Database = {
|
|
|
21289
21307
|
id?: string;
|
|
21290
21308
|
is_active?: boolean;
|
|
21291
21309
|
name?: string;
|
|
21292
|
-
tenant_id?: string;
|
|
21310
|
+
tenant_id?: string | null;
|
|
21293
21311
|
updated_at?: string;
|
|
21294
21312
|
};
|
|
21295
21313
|
Relationships: [
|
|
@@ -21324,7 +21342,7 @@ export type Database = {
|
|
|
21324
21342
|
packages_per_layer: number | null;
|
|
21325
21343
|
packing_configuration_id: string;
|
|
21326
21344
|
product_id: string | null;
|
|
21327
|
-
tenant_id: string;
|
|
21345
|
+
tenant_id: string | null;
|
|
21328
21346
|
trade_item_floriday_id: string | null;
|
|
21329
21347
|
units_per_package: number | null;
|
|
21330
21348
|
updated_at: string;
|
|
@@ -21343,7 +21361,7 @@ export type Database = {
|
|
|
21343
21361
|
packages_per_layer?: number | null;
|
|
21344
21362
|
packing_configuration_id?: string;
|
|
21345
21363
|
product_id?: string | null;
|
|
21346
|
-
tenant_id
|
|
21364
|
+
tenant_id?: string | null;
|
|
21347
21365
|
trade_item_floriday_id?: string | null;
|
|
21348
21366
|
units_per_package?: number | null;
|
|
21349
21367
|
updated_at?: string;
|
|
@@ -21362,7 +21380,7 @@ export type Database = {
|
|
|
21362
21380
|
packages_per_layer?: number | null;
|
|
21363
21381
|
packing_configuration_id?: string;
|
|
21364
21382
|
product_id?: string | null;
|
|
21365
|
-
tenant_id?: string;
|
|
21383
|
+
tenant_id?: string | null;
|
|
21366
21384
|
trade_item_floriday_id?: string | null;
|
|
21367
21385
|
units_per_package?: number | null;
|
|
21368
21386
|
updated_at?: string;
|
|
@@ -24625,6 +24643,10 @@ export type Database = {
|
|
|
24625
24643
|
superseded_at: string | null;
|
|
24626
24644
|
updated_at: string;
|
|
24627
24645
|
user_id: string;
|
|
24646
|
+
write_enabled: boolean;
|
|
24647
|
+
write_enabled_at: string | null;
|
|
24648
|
+
write_enabled_by: string | null;
|
|
24649
|
+
write_enabled_reason: string | null;
|
|
24628
24650
|
};
|
|
24629
24651
|
Insert: {
|
|
24630
24652
|
account_key?: string | null;
|
|
@@ -24651,6 +24673,10 @@ export type Database = {
|
|
|
24651
24673
|
superseded_at?: string | null;
|
|
24652
24674
|
updated_at?: string;
|
|
24653
24675
|
user_id: string;
|
|
24676
|
+
write_enabled?: boolean;
|
|
24677
|
+
write_enabled_at?: string | null;
|
|
24678
|
+
write_enabled_by?: string | null;
|
|
24679
|
+
write_enabled_reason?: string | null;
|
|
24654
24680
|
};
|
|
24655
24681
|
Update: {
|
|
24656
24682
|
account_key?: string | null;
|
|
@@ -24677,6 +24703,10 @@ export type Database = {
|
|
|
24677
24703
|
superseded_at?: string | null;
|
|
24678
24704
|
updated_at?: string;
|
|
24679
24705
|
user_id?: string;
|
|
24706
|
+
write_enabled?: boolean;
|
|
24707
|
+
write_enabled_at?: string | null;
|
|
24708
|
+
write_enabled_by?: string | null;
|
|
24709
|
+
write_enabled_reason?: string | null;
|
|
24680
24710
|
};
|
|
24681
24711
|
Relationships: [];
|
|
24682
24712
|
};
|
|
@@ -25565,6 +25595,21 @@ export type Database = {
|
|
|
25565
25595
|
};
|
|
25566
25596
|
Relationships: [];
|
|
25567
25597
|
};
|
|
25598
|
+
twinfield_schema_upgrades: {
|
|
25599
|
+
Row: {
|
|
25600
|
+
applied_at: string;
|
|
25601
|
+
key: string;
|
|
25602
|
+
};
|
|
25603
|
+
Insert: {
|
|
25604
|
+
applied_at?: string;
|
|
25605
|
+
key: string;
|
|
25606
|
+
};
|
|
25607
|
+
Update: {
|
|
25608
|
+
applied_at?: string;
|
|
25609
|
+
key?: string;
|
|
25610
|
+
};
|
|
25611
|
+
Relationships: [];
|
|
25612
|
+
};
|
|
25568
25613
|
twinfield_session_cache: {
|
|
25569
25614
|
Row: {
|
|
25570
25615
|
cluster: string;
|
|
@@ -29681,6 +29726,26 @@ export type Database = {
|
|
|
29681
29726
|
Args: never;
|
|
29682
29727
|
Returns: Json;
|
|
29683
29728
|
};
|
|
29729
|
+
ai_is_admin: {
|
|
29730
|
+
Args: {
|
|
29731
|
+
_uid: string;
|
|
29732
|
+
};
|
|
29733
|
+
Returns: boolean;
|
|
29734
|
+
};
|
|
29735
|
+
ai_register_consumers: {
|
|
29736
|
+
Args: {
|
|
29737
|
+
_full_list?: boolean;
|
|
29738
|
+
_modules: Json;
|
|
29739
|
+
_source?: string;
|
|
29740
|
+
};
|
|
29741
|
+
Returns: Json;
|
|
29742
|
+
};
|
|
29743
|
+
ai_register_runtime_consumer: {
|
|
29744
|
+
Args: {
|
|
29745
|
+
_module_key: string;
|
|
29746
|
+
};
|
|
29747
|
+
Returns: boolean;
|
|
29748
|
+
};
|
|
29684
29749
|
ai_usage_by_module: {
|
|
29685
29750
|
Args: {
|
|
29686
29751
|
_from: string;
|
|
@@ -31836,10 +31901,29 @@ export type Database = {
|
|
|
31836
31901
|
};
|
|
31837
31902
|
Returns: boolean;
|
|
31838
31903
|
};
|
|
31904
|
+
klanten_auto_promote_status: {
|
|
31905
|
+
Args: never;
|
|
31906
|
+
Returns: Json;
|
|
31907
|
+
};
|
|
31839
31908
|
klanten_install_check: {
|
|
31840
31909
|
Args: never;
|
|
31841
31910
|
Returns: Json;
|
|
31842
31911
|
};
|
|
31912
|
+
klanten_promote_round: {
|
|
31913
|
+
Args: never;
|
|
31914
|
+
Returns: Json;
|
|
31915
|
+
};
|
|
31916
|
+
klanten_refresh_grouped_if_stale: {
|
|
31917
|
+
Args: never;
|
|
31918
|
+
Returns: boolean;
|
|
31919
|
+
};
|
|
31920
|
+
klanten_set_auto_promote: {
|
|
31921
|
+
Args: {
|
|
31922
|
+
p_kind: string;
|
|
31923
|
+
p_on: boolean;
|
|
31924
|
+
};
|
|
31925
|
+
Returns: Json;
|
|
31926
|
+
};
|
|
31843
31927
|
layout_print_document: {
|
|
31844
31928
|
Args: {
|
|
31845
31929
|
_documentnaam: string;
|
|
@@ -32985,6 +33069,13 @@ export type Database = {
|
|
|
32985
33069
|
};
|
|
32986
33070
|
Returns: Json;
|
|
32987
33071
|
};
|
|
33072
|
+
logistics_document_for_order: {
|
|
33073
|
+
Args: {
|
|
33074
|
+
p_documenttype: string;
|
|
33075
|
+
p_order_id: string;
|
|
33076
|
+
};
|
|
33077
|
+
Returns: Json;
|
|
33078
|
+
};
|
|
32988
33079
|
logistics_document_layout: {
|
|
32989
33080
|
Args: {
|
|
32990
33081
|
_document_code: string;
|
|
@@ -32998,6 +33089,10 @@ export type Database = {
|
|
|
32998
33089
|
};
|
|
32999
33090
|
Returns: Json;
|
|
33000
33091
|
};
|
|
33092
|
+
logistics_document_selection_status: {
|
|
33093
|
+
Args: never;
|
|
33094
|
+
Returns: Json;
|
|
33095
|
+
};
|
|
33001
33096
|
logistics_document_station: {
|
|
33002
33097
|
Args: {
|
|
33003
33098
|
_document_code: string;
|
|
@@ -33816,6 +33911,12 @@ export type Database = {
|
|
|
33816
33911
|
Args: never;
|
|
33817
33912
|
Returns: Json;
|
|
33818
33913
|
};
|
|
33914
|
+
logistics_own_sticker_sync: {
|
|
33915
|
+
Args: {
|
|
33916
|
+
p_limit?: number;
|
|
33917
|
+
};
|
|
33918
|
+
Returns: Json;
|
|
33919
|
+
};
|
|
33819
33920
|
logistics_own_transport_departure: {
|
|
33820
33921
|
Args: {
|
|
33821
33922
|
p_delivery_date: string;
|
|
@@ -34368,6 +34469,12 @@ export type Database = {
|
|
|
34368
34469
|
};
|
|
34369
34470
|
Returns: Json;
|
|
34370
34471
|
};
|
|
34472
|
+
logistics_register_tick_apikey: {
|
|
34473
|
+
Args: {
|
|
34474
|
+
p_key: string;
|
|
34475
|
+
};
|
|
34476
|
+
Returns: Json;
|
|
34477
|
+
};
|
|
34371
34478
|
logistics_replan_all: {
|
|
34372
34479
|
Args: {
|
|
34373
34480
|
p_reason?: string;
|
|
@@ -36599,6 +36706,17 @@ export type Database = {
|
|
|
36599
36706
|
};
|
|
36600
36707
|
Returns: string;
|
|
36601
36708
|
};
|
|
36709
|
+
productontwerp_can_write: {
|
|
36710
|
+
Args: never;
|
|
36711
|
+
Returns: boolean;
|
|
36712
|
+
};
|
|
36713
|
+
productontwerp_create_missing_products: {
|
|
36714
|
+
Args: {
|
|
36715
|
+
p_items: Json;
|
|
36716
|
+
p_run_id: string;
|
|
36717
|
+
};
|
|
36718
|
+
Returns: Json;
|
|
36719
|
+
};
|
|
36602
36720
|
productontwerp_export: {
|
|
36603
36721
|
Args: never;
|
|
36604
36722
|
Returns: Json;
|
|
@@ -36610,12 +36728,38 @@ export type Database = {
|
|
|
36610
36728
|
};
|
|
36611
36729
|
Returns: Json;
|
|
36612
36730
|
};
|
|
36731
|
+
productontwerp_nl_error: {
|
|
36732
|
+
Args: {
|
|
36733
|
+
p_detail: string;
|
|
36734
|
+
p_msg: string;
|
|
36735
|
+
p_state: string;
|
|
36736
|
+
};
|
|
36737
|
+
Returns: string;
|
|
36738
|
+
};
|
|
36613
36739
|
productontwerp_product_ref: {
|
|
36614
36740
|
Args: {
|
|
36615
36741
|
p_id: string;
|
|
36616
36742
|
};
|
|
36617
36743
|
Returns: Json;
|
|
36618
36744
|
};
|
|
36745
|
+
productontwerp_queue_count: {
|
|
36746
|
+
Args: never;
|
|
36747
|
+
Returns: number;
|
|
36748
|
+
};
|
|
36749
|
+
productontwerp_rollback_created_products: {
|
|
36750
|
+
Args: {
|
|
36751
|
+
p_run_id: string;
|
|
36752
|
+
};
|
|
36753
|
+
Returns: Json;
|
|
36754
|
+
};
|
|
36755
|
+
productontwerp_unique_group_name: {
|
|
36756
|
+
Args: {
|
|
36757
|
+
p_article: string;
|
|
36758
|
+
p_base: string;
|
|
36759
|
+
p_used: string[];
|
|
36760
|
+
};
|
|
36761
|
+
Returns: string;
|
|
36762
|
+
};
|
|
36619
36763
|
promote_floriday_customer: {
|
|
36620
36764
|
Args: {
|
|
36621
36765
|
_org_id: string;
|
|
@@ -37818,6 +37962,12 @@ export type Database = {
|
|
|
37818
37962
|
};
|
|
37819
37963
|
Returns: boolean;
|
|
37820
37964
|
};
|
|
37965
|
+
twinfield_cancel_queue_item: {
|
|
37966
|
+
Args: {
|
|
37967
|
+
p_id: string;
|
|
37968
|
+
};
|
|
37969
|
+
Returns: boolean;
|
|
37970
|
+
};
|
|
37821
37971
|
twinfield_connection_offices: {
|
|
37822
37972
|
Args: never;
|
|
37823
37973
|
Returns: {
|
|
@@ -37847,6 +37997,19 @@ export type Database = {
|
|
|
37847
37997
|
};
|
|
37848
37998
|
Returns: Json;
|
|
37849
37999
|
};
|
|
38000
|
+
twinfield_gated_queue: {
|
|
38001
|
+
Args: {
|
|
38002
|
+
p_connection_id: string;
|
|
38003
|
+
};
|
|
38004
|
+
Returns: {
|
|
38005
|
+
action: string;
|
|
38006
|
+
created_at: string;
|
|
38007
|
+
customer_id: string;
|
|
38008
|
+
id: string;
|
|
38009
|
+
payload: Json;
|
|
38010
|
+
status: string;
|
|
38011
|
+
}[];
|
|
38012
|
+
};
|
|
37850
38013
|
twinfield_handle_administration_change: {
|
|
37851
38014
|
Args: {
|
|
37852
38015
|
_administration_code: string;
|
|
@@ -37854,6 +38017,10 @@ export type Database = {
|
|
|
37854
38017
|
};
|
|
37855
38018
|
Returns: undefined;
|
|
37856
38019
|
};
|
|
38020
|
+
twinfield_is_admin: {
|
|
38021
|
+
Args: never;
|
|
38022
|
+
Returns: boolean;
|
|
38023
|
+
};
|
|
37857
38024
|
twinfield_prune_push_queue: {
|
|
37858
38025
|
Args: never;
|
|
37859
38026
|
Returns: number;
|
|
@@ -37865,6 +38032,13 @@ export type Database = {
|
|
|
37865
38032
|
};
|
|
37866
38033
|
Returns: Json;
|
|
37867
38034
|
};
|
|
38035
|
+
twinfield_set_write_enabled: {
|
|
38036
|
+
Args: {
|
|
38037
|
+
p_connection_id: string;
|
|
38038
|
+
p_enabled: boolean;
|
|
38039
|
+
};
|
|
38040
|
+
Returns: Json;
|
|
38041
|
+
};
|
|
37868
38042
|
twinfield_sync_apply: {
|
|
37869
38043
|
Args: {
|
|
37870
38044
|
_base: Json;
|
|
@@ -37901,6 +38075,12 @@ export type Database = {
|
|
|
37901
38075
|
};
|
|
37902
38076
|
Returns: Json;
|
|
37903
38077
|
};
|
|
38078
|
+
twinfield_write_allowed: {
|
|
38079
|
+
Args: {
|
|
38080
|
+
p_connection_id: string;
|
|
38081
|
+
};
|
|
38082
|
+
Returns: boolean;
|
|
38083
|
+
};
|
|
37904
38084
|
upsert_auto_fulfillment_log: {
|
|
37905
38085
|
Args: {
|
|
37906
38086
|
p_connection_id: string;
|
|
@@ -38446,6 +38626,15 @@ export type Database = {
|
|
|
38446
38626
|
};
|
|
38447
38627
|
Returns: Json;
|
|
38448
38628
|
};
|
|
38629
|
+
voorraad_alert_floriday_not_updated: {
|
|
38630
|
+
Args: {
|
|
38631
|
+
p_key: string;
|
|
38632
|
+
p_order_id: string;
|
|
38633
|
+
p_order_item_id: string;
|
|
38634
|
+
p_qty: number;
|
|
38635
|
+
};
|
|
38636
|
+
Returns: undefined;
|
|
38637
|
+
};
|
|
38449
38638
|
voorraad_can_write: {
|
|
38450
38639
|
Args: never;
|
|
38451
38640
|
Returns: boolean;
|
|
@@ -38468,6 +38657,12 @@ export type Database = {
|
|
|
38468
38657
|
};
|
|
38469
38658
|
Returns: string[];
|
|
38470
38659
|
};
|
|
38660
|
+
voorraad_floriday_leads_key: {
|
|
38661
|
+
Args: {
|
|
38662
|
+
p_key: string;
|
|
38663
|
+
};
|
|
38664
|
+
Returns: boolean;
|
|
38665
|
+
};
|
|
38471
38666
|
voorraad_hook_base_url: {
|
|
38472
38667
|
Args: never;
|
|
38473
38668
|
Returns: string;
|
|
@@ -38485,6 +38680,12 @@ export type Database = {
|
|
|
38485
38680
|
};
|
|
38486
38681
|
Returns: undefined;
|
|
38487
38682
|
};
|
|
38683
|
+
voorraad_mark_floriday_sold_before_switch: {
|
|
38684
|
+
Args: {
|
|
38685
|
+
p_product_id: string;
|
|
38686
|
+
};
|
|
38687
|
+
Returns: number;
|
|
38688
|
+
};
|
|
38488
38689
|
voorraad_production_enabled: {
|
|
38489
38690
|
Args: never;
|
|
38490
38691
|
Returns: boolean;
|