@flowselections/floriday-verkoop-module 1.0.46 → 1.0.48
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/verkoop/OrderAfleverbrievenCard.d.ts +3 -1
- package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts.map +1 -1
- package/dist-lib/components/verkoop/OrderAfleverbrievenCard.js +90 -19
- package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrderDetailView.js +4 -13
- package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrdersTable.js +5 -1
- package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.d.ts +6 -0
- package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.d.ts.map +1 -0
- package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.js +26 -0
- package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
- package/dist-lib/components/verkoop/VerkoopOrdersPage.js +2 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +328 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +328 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.js +2 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +328 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/previewAuthStorage.d.ts +6 -0
- package/dist-lib/integrations/supabase/previewAuthStorage.d.ts.map +1 -0
- package/dist-lib/integrations/supabase/previewAuthStorage.js +92 -0
- package/dist-lib/integrations/supabase/types.d.ts +335 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/cart-lock.functions.d.ts +328 -0
- package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-planning-settings.functions.d.ts +4307 -699
- package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.d.ts +984 -0
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.d.ts +7175 -1599
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +984 -0
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +328 -0
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.d.ts +328 -0
- package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.js +39 -10
- package/dist-lib/lib/floriday-public.functions.d.ts +2395 -99
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +1640 -0
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/invoice-timing.functions.d.ts +1312 -0
- package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
- package/dist-lib/lib/load-carriers.functions.d.ts +328 -0
- package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-engine.functions.d.ts +1640 -0
- package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-stock.functions.d.ts +656 -0
- package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-addresses.functions.d.ts +328 -0
- package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-buffers.functions.d.ts +984 -0
- package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-carrier.functions.d.ts +656 -0
- package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-pickup.functions.d.ts +656 -0
- package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-shipments.functions.d.ts +1312 -0
- package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-status.d.ts +7 -10
- package/dist-lib/lib/order-status.d.ts.map +1 -1
- package/dist-lib/lib/order-status.js +6 -3
- package/dist-lib/lib/salesorders-list.functions.d.ts +328 -0
- package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.server.js +15 -22
- package/dist-lib/lib/salesorders-mapping.d.ts +7 -0
- package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
- package/dist-lib/lib/salesorders.functions.d.ts +1640 -0
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders.functions.js +24 -6
- package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +45850 -0
- package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -0
- package/dist-lib/lib/stock-consumption-alerts.functions.js +50 -0
- package/dist-lib/lib/tradeitems.functions.d.ts +328 -0
- package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { createServerFn } from "@tanstack/react-start";
|
|
2
|
+
import { requireSupabaseAuth } from "../integrations/supabase/auth-middleware";
|
|
3
|
+
/**
|
|
4
|
+
* Signalering (punt 4): rijen met mutation_type 'consumption_skipped' of
|
|
5
|
+
* 'consumption_blocked' worden door een databasetrigger doorgezet naar
|
|
6
|
+
* public.stock_consumption_alerts. Zonder deze weergave zou een niet-afgeboekte
|
|
7
|
+
* partij stil in een logtabel verdwijnen.
|
|
8
|
+
*/
|
|
9
|
+
export const listOpenStockConsumptionAlerts = createServerFn({ method: "GET" })
|
|
10
|
+
.middleware([requireSupabaseAuth])
|
|
11
|
+
.handler(async ({ context }) => {
|
|
12
|
+
const { data, error } = await context.supabase
|
|
13
|
+
.from("stock_consumption_alerts")
|
|
14
|
+
.select("id, order_id, alert_type, qty, reason, created_at")
|
|
15
|
+
.is("resolved_at", null)
|
|
16
|
+
.order("created_at", { ascending: false })
|
|
17
|
+
.limit(50);
|
|
18
|
+
if (error)
|
|
19
|
+
throw new Error(error.message);
|
|
20
|
+
const rows = (data ?? []);
|
|
21
|
+
const orderIds = Array.from(new Set(rows.map((r) => r.order_id).filter(Boolean)));
|
|
22
|
+
const numbers = new Map();
|
|
23
|
+
if (orderIds.length) {
|
|
24
|
+
const { data: orders } = await context.supabase
|
|
25
|
+
.from("orders")
|
|
26
|
+
.select("id, order_number")
|
|
27
|
+
.in("id", orderIds);
|
|
28
|
+
for (const o of (orders ?? [])) {
|
|
29
|
+
if (o.order_number)
|
|
30
|
+
numbers.set(o.id, o.order_number);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return rows.map((r) => ({
|
|
34
|
+
...r,
|
|
35
|
+
qty: Number(r.qty ?? 0),
|
|
36
|
+
order_number: r.order_id ? (numbers.get(r.order_id) ?? null) : null,
|
|
37
|
+
}));
|
|
38
|
+
});
|
|
39
|
+
export const resolveStockConsumptionAlert = createServerFn({ method: "POST" })
|
|
40
|
+
.middleware([requireSupabaseAuth])
|
|
41
|
+
.inputValidator((input) => input)
|
|
42
|
+
.handler(async ({ data, context }) => {
|
|
43
|
+
const { error } = await context.supabase
|
|
44
|
+
.from("stock_consumption_alerts")
|
|
45
|
+
.update({ resolved_at: new Date().toISOString(), updated_at: new Date().toISOString() })
|
|
46
|
+
.eq("id", data.id);
|
|
47
|
+
if (error)
|
|
48
|
+
throw new Error(error.message);
|
|
49
|
+
return { ok: true };
|
|
50
|
+
});
|
|
@@ -678,6 +678,99 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
678
678
|
};
|
|
679
679
|
Relationships: [];
|
|
680
680
|
};
|
|
681
|
+
artikelen_cache: {
|
|
682
|
+
Row: {
|
|
683
|
+
artikelcode: string;
|
|
684
|
+
bron: string;
|
|
685
|
+
bruto_prijs_cent: number | null;
|
|
686
|
+
created_at: string;
|
|
687
|
+
eenheid: string;
|
|
688
|
+
fabrikant: string | null;
|
|
689
|
+
fetched_at: string;
|
|
690
|
+
gtin: string | null;
|
|
691
|
+
id: string;
|
|
692
|
+
naam: string;
|
|
693
|
+
netto_prijs_cent: number | null;
|
|
694
|
+
omschrijving: string | null;
|
|
695
|
+
raw: import("../integrations/supabase/types").Json;
|
|
696
|
+
updated_at: string;
|
|
697
|
+
valuta: string;
|
|
698
|
+
};
|
|
699
|
+
Insert: {
|
|
700
|
+
artikelcode: string;
|
|
701
|
+
bron?: string;
|
|
702
|
+
bruto_prijs_cent?: number | null;
|
|
703
|
+
created_at?: string;
|
|
704
|
+
eenheid?: string;
|
|
705
|
+
fabrikant?: string | null;
|
|
706
|
+
fetched_at?: string;
|
|
707
|
+
gtin?: string | null;
|
|
708
|
+
id?: string;
|
|
709
|
+
naam: string;
|
|
710
|
+
netto_prijs_cent?: number | null;
|
|
711
|
+
omschrijving?: string | null;
|
|
712
|
+
raw?: import("../integrations/supabase/types").Json;
|
|
713
|
+
updated_at?: string;
|
|
714
|
+
valuta?: string;
|
|
715
|
+
};
|
|
716
|
+
Update: {
|
|
717
|
+
artikelcode?: string;
|
|
718
|
+
bron?: string;
|
|
719
|
+
bruto_prijs_cent?: number | null;
|
|
720
|
+
created_at?: string;
|
|
721
|
+
eenheid?: string;
|
|
722
|
+
fabrikant?: string | null;
|
|
723
|
+
fetched_at?: string;
|
|
724
|
+
gtin?: string | null;
|
|
725
|
+
id?: string;
|
|
726
|
+
naam?: string;
|
|
727
|
+
netto_prijs_cent?: number | null;
|
|
728
|
+
omschrijving?: string | null;
|
|
729
|
+
raw?: import("../integrations/supabase/types").Json;
|
|
730
|
+
updated_at?: string;
|
|
731
|
+
valuta?: string;
|
|
732
|
+
};
|
|
733
|
+
Relationships: [];
|
|
734
|
+
};
|
|
735
|
+
artikelen_veldconfig: {
|
|
736
|
+
Row: {
|
|
737
|
+
bron_pad: string;
|
|
738
|
+
created_at: string;
|
|
739
|
+
id: string;
|
|
740
|
+
label: string;
|
|
741
|
+
sort_order: number;
|
|
742
|
+
type: string;
|
|
743
|
+
updated_at: string;
|
|
744
|
+
veld_key: string;
|
|
745
|
+
zichtbaar_in_detail: boolean;
|
|
746
|
+
zichtbaar_in_lijst: boolean;
|
|
747
|
+
};
|
|
748
|
+
Insert: {
|
|
749
|
+
bron_pad: string;
|
|
750
|
+
created_at?: string;
|
|
751
|
+
id?: string;
|
|
752
|
+
label: string;
|
|
753
|
+
sort_order?: number;
|
|
754
|
+
type?: string;
|
|
755
|
+
updated_at?: string;
|
|
756
|
+
veld_key: string;
|
|
757
|
+
zichtbaar_in_detail?: boolean;
|
|
758
|
+
zichtbaar_in_lijst?: boolean;
|
|
759
|
+
};
|
|
760
|
+
Update: {
|
|
761
|
+
bron_pad?: string;
|
|
762
|
+
created_at?: string;
|
|
763
|
+
id?: string;
|
|
764
|
+
label?: string;
|
|
765
|
+
sort_order?: number;
|
|
766
|
+
type?: string;
|
|
767
|
+
updated_at?: string;
|
|
768
|
+
veld_key?: string;
|
|
769
|
+
zichtbaar_in_detail?: boolean;
|
|
770
|
+
zichtbaar_in_lijst?: boolean;
|
|
771
|
+
};
|
|
772
|
+
Relationships: [];
|
|
773
|
+
};
|
|
681
774
|
booking_items: {
|
|
682
775
|
Row: {
|
|
683
776
|
booking_id: string;
|
|
@@ -3150,6 +3243,48 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
3150
3243
|
};
|
|
3151
3244
|
Relationships: [];
|
|
3152
3245
|
};
|
|
3246
|
+
document_printplek_printers: {
|
|
3247
|
+
Row: {
|
|
3248
|
+
created_at: string;
|
|
3249
|
+
documenttype: string;
|
|
3250
|
+
id: string;
|
|
3251
|
+
papierformaat: string | null;
|
|
3252
|
+
print_plek_id: string;
|
|
3253
|
+
printer_id: string | null;
|
|
3254
|
+
updated_at: string;
|
|
3255
|
+
};
|
|
3256
|
+
Insert: {
|
|
3257
|
+
created_at?: string;
|
|
3258
|
+
documenttype: string;
|
|
3259
|
+
id?: string;
|
|
3260
|
+
papierformaat?: string | null;
|
|
3261
|
+
print_plek_id: string;
|
|
3262
|
+
printer_id?: string | null;
|
|
3263
|
+
updated_at?: string;
|
|
3264
|
+
};
|
|
3265
|
+
Update: {
|
|
3266
|
+
created_at?: string;
|
|
3267
|
+
documenttype?: string;
|
|
3268
|
+
id?: string;
|
|
3269
|
+
papierformaat?: string | null;
|
|
3270
|
+
print_plek_id?: string;
|
|
3271
|
+
printer_id?: string | null;
|
|
3272
|
+
updated_at?: string;
|
|
3273
|
+
};
|
|
3274
|
+
Relationships: [{
|
|
3275
|
+
foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
|
|
3276
|
+
columns: ["print_plek_id"];
|
|
3277
|
+
isOneToOne: false;
|
|
3278
|
+
referencedRelation: "print_plekken";
|
|
3279
|
+
referencedColumns: ["id"];
|
|
3280
|
+
}, {
|
|
3281
|
+
foreignKeyName: "document_printplek_printers_printer_id_fkey";
|
|
3282
|
+
columns: ["printer_id"];
|
|
3283
|
+
isOneToOne: false;
|
|
3284
|
+
referencedRelation: "printers";
|
|
3285
|
+
referencedColumns: ["id"];
|
|
3286
|
+
}];
|
|
3287
|
+
};
|
|
3153
3288
|
document_werkplek_printers: {
|
|
3154
3289
|
Row: {
|
|
3155
3290
|
created_at: string;
|
|
@@ -9131,6 +9266,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
9131
9266
|
last_error_at: string | null;
|
|
9132
9267
|
last_error_code: string | null;
|
|
9133
9268
|
last_gateway_status: number | null;
|
|
9269
|
+
last_queued_at: string | null;
|
|
9134
9270
|
last_response: import("../integrations/supabase/types").Json | null;
|
|
9135
9271
|
last_sent_hash: string | null;
|
|
9136
9272
|
locked_by: string | null;
|
|
@@ -9154,6 +9290,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
9154
9290
|
last_error_at?: string | null;
|
|
9155
9291
|
last_error_code?: string | null;
|
|
9156
9292
|
last_gateway_status?: number | null;
|
|
9293
|
+
last_queued_at?: string | null;
|
|
9157
9294
|
last_response?: import("../integrations/supabase/types").Json | null;
|
|
9158
9295
|
last_sent_hash?: string | null;
|
|
9159
9296
|
locked_by?: string | null;
|
|
@@ -9177,6 +9314,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
9177
9314
|
last_error_at?: string | null;
|
|
9178
9315
|
last_error_code?: string | null;
|
|
9179
9316
|
last_gateway_status?: number | null;
|
|
9317
|
+
last_queued_at?: string | null;
|
|
9180
9318
|
last_response?: import("../integrations/supabase/types").Json | null;
|
|
9181
9319
|
last_sent_hash?: string | null;
|
|
9182
9320
|
locked_by?: string | null;
|
|
@@ -13347,6 +13485,99 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
13347
13485
|
referencedColumns: ["id"];
|
|
13348
13486
|
}];
|
|
13349
13487
|
};
|
|
13488
|
+
print_plek_computers: {
|
|
13489
|
+
Row: {
|
|
13490
|
+
computer_naam: string;
|
|
13491
|
+
created_at: string;
|
|
13492
|
+
id: string;
|
|
13493
|
+
print_plek_id: string;
|
|
13494
|
+
updated_at: string;
|
|
13495
|
+
};
|
|
13496
|
+
Insert: {
|
|
13497
|
+
computer_naam: string;
|
|
13498
|
+
created_at?: string;
|
|
13499
|
+
id?: string;
|
|
13500
|
+
print_plek_id: string;
|
|
13501
|
+
updated_at?: string;
|
|
13502
|
+
};
|
|
13503
|
+
Update: {
|
|
13504
|
+
computer_naam?: string;
|
|
13505
|
+
created_at?: string;
|
|
13506
|
+
id?: string;
|
|
13507
|
+
print_plek_id?: string;
|
|
13508
|
+
updated_at?: string;
|
|
13509
|
+
};
|
|
13510
|
+
Relationships: [{
|
|
13511
|
+
foreignKeyName: "print_plek_computers_print_plek_id_fkey";
|
|
13512
|
+
columns: ["print_plek_id"];
|
|
13513
|
+
isOneToOne: false;
|
|
13514
|
+
referencedRelation: "print_plekken";
|
|
13515
|
+
referencedColumns: ["id"];
|
|
13516
|
+
}];
|
|
13517
|
+
};
|
|
13518
|
+
print_plek_koppelingen: {
|
|
13519
|
+
Row: {
|
|
13520
|
+
bron: string;
|
|
13521
|
+
bron_id: string;
|
|
13522
|
+
created_at: string;
|
|
13523
|
+
id: string;
|
|
13524
|
+
label: string | null;
|
|
13525
|
+
print_plek_id: string;
|
|
13526
|
+
updated_at: string;
|
|
13527
|
+
};
|
|
13528
|
+
Insert: {
|
|
13529
|
+
bron: string;
|
|
13530
|
+
bron_id: string;
|
|
13531
|
+
created_at?: string;
|
|
13532
|
+
id?: string;
|
|
13533
|
+
label?: string | null;
|
|
13534
|
+
print_plek_id: string;
|
|
13535
|
+
updated_at?: string;
|
|
13536
|
+
};
|
|
13537
|
+
Update: {
|
|
13538
|
+
bron?: string;
|
|
13539
|
+
bron_id?: string;
|
|
13540
|
+
created_at?: string;
|
|
13541
|
+
id?: string;
|
|
13542
|
+
label?: string | null;
|
|
13543
|
+
print_plek_id?: string;
|
|
13544
|
+
updated_at?: string;
|
|
13545
|
+
};
|
|
13546
|
+
Relationships: [{
|
|
13547
|
+
foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
|
|
13548
|
+
columns: ["print_plek_id"];
|
|
13549
|
+
isOneToOne: false;
|
|
13550
|
+
referencedRelation: "print_plekken";
|
|
13551
|
+
referencedColumns: ["id"];
|
|
13552
|
+
}];
|
|
13553
|
+
};
|
|
13554
|
+
print_plekken: {
|
|
13555
|
+
Row: {
|
|
13556
|
+
actief: boolean;
|
|
13557
|
+
created_at: string;
|
|
13558
|
+
id: string;
|
|
13559
|
+
naam: string;
|
|
13560
|
+
omschrijving: string | null;
|
|
13561
|
+
updated_at: string;
|
|
13562
|
+
};
|
|
13563
|
+
Insert: {
|
|
13564
|
+
actief?: boolean;
|
|
13565
|
+
created_at?: string;
|
|
13566
|
+
id?: string;
|
|
13567
|
+
naam: string;
|
|
13568
|
+
omschrijving?: string | null;
|
|
13569
|
+
updated_at?: string;
|
|
13570
|
+
};
|
|
13571
|
+
Update: {
|
|
13572
|
+
actief?: boolean;
|
|
13573
|
+
created_at?: string;
|
|
13574
|
+
id?: string;
|
|
13575
|
+
naam?: string;
|
|
13576
|
+
omschrijving?: string | null;
|
|
13577
|
+
updated_at?: string;
|
|
13578
|
+
};
|
|
13579
|
+
Relationships: [];
|
|
13580
|
+
};
|
|
13350
13581
|
print_queue_runners: {
|
|
13351
13582
|
Row: {
|
|
13352
13583
|
actief: boolean;
|
|
@@ -15501,6 +15732,45 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
15501
15732
|
};
|
|
15502
15733
|
Relationships: [];
|
|
15503
15734
|
};
|
|
15735
|
+
stock_consumption_alerts: {
|
|
15736
|
+
Row: {
|
|
15737
|
+
alert_type: string;
|
|
15738
|
+
created_at: string;
|
|
15739
|
+
id: string;
|
|
15740
|
+
mutation_log_id: string | null;
|
|
15741
|
+
order_id: string | null;
|
|
15742
|
+
order_item_id: string | null;
|
|
15743
|
+
qty: number;
|
|
15744
|
+
reason: string | null;
|
|
15745
|
+
resolved_at: string | null;
|
|
15746
|
+
updated_at: string;
|
|
15747
|
+
};
|
|
15748
|
+
Insert: {
|
|
15749
|
+
alert_type: string;
|
|
15750
|
+
created_at?: string;
|
|
15751
|
+
id?: string;
|
|
15752
|
+
mutation_log_id?: string | null;
|
|
15753
|
+
order_id?: string | null;
|
|
15754
|
+
order_item_id?: string | null;
|
|
15755
|
+
qty?: number;
|
|
15756
|
+
reason?: string | null;
|
|
15757
|
+
resolved_at?: string | null;
|
|
15758
|
+
updated_at?: string;
|
|
15759
|
+
};
|
|
15760
|
+
Update: {
|
|
15761
|
+
alert_type?: string;
|
|
15762
|
+
created_at?: string;
|
|
15763
|
+
id?: string;
|
|
15764
|
+
mutation_log_id?: string | null;
|
|
15765
|
+
order_id?: string | null;
|
|
15766
|
+
order_item_id?: string | null;
|
|
15767
|
+
qty?: number;
|
|
15768
|
+
reason?: string | null;
|
|
15769
|
+
resolved_at?: string | null;
|
|
15770
|
+
updated_at?: string;
|
|
15771
|
+
};
|
|
15772
|
+
Relationships: [];
|
|
15773
|
+
};
|
|
15504
15774
|
stock_import_runs: {
|
|
15505
15775
|
Row: {
|
|
15506
15776
|
connection_id: string | null;
|
|
@@ -21095,6 +21365,24 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
21095
21365
|
};
|
|
21096
21366
|
Returns: string;
|
|
21097
21367
|
};
|
|
21368
|
+
logistics_floriday_finish_push_v3: {
|
|
21369
|
+
Args: {
|
|
21370
|
+
_error?: string;
|
|
21371
|
+
_error_code?: string;
|
|
21372
|
+
_fulfillment_order_id?: string;
|
|
21373
|
+
_gateway_status?: number;
|
|
21374
|
+
_id: string;
|
|
21375
|
+
_max_age_hours?: number;
|
|
21376
|
+
_max_attempts?: number;
|
|
21377
|
+
_outcome: string;
|
|
21378
|
+
_permanent?: boolean;
|
|
21379
|
+
_response?: import("../integrations/supabase/types").Json;
|
|
21380
|
+
_revision: number;
|
|
21381
|
+
_sent_hash?: string;
|
|
21382
|
+
_wait_max_age_hours?: number;
|
|
21383
|
+
};
|
|
21384
|
+
Returns: string;
|
|
21385
|
+
};
|
|
21098
21386
|
logistics_floriday_prune_pushes: {
|
|
21099
21387
|
Args: {
|
|
21100
21388
|
_days?: number;
|
|
@@ -21523,6 +21811,12 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
21523
21811
|
verwijderd: number;
|
|
21524
21812
|
}[];
|
|
21525
21813
|
};
|
|
21814
|
+
order_departure_proof: {
|
|
21815
|
+
Args: {
|
|
21816
|
+
p_order_id: string;
|
|
21817
|
+
};
|
|
21818
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21819
|
+
};
|
|
21526
21820
|
order_number_prefix: {
|
|
21527
21821
|
Args: {
|
|
21528
21822
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -21730,6 +22024,14 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
21730
22024
|
};
|
|
21731
22025
|
Returns: import("../integrations/supabase/types").Json;
|
|
21732
22026
|
};
|
|
22027
|
+
pick_print_plekken: {
|
|
22028
|
+
Args: never;
|
|
22029
|
+
Returns: {
|
|
22030
|
+
id: string;
|
|
22031
|
+
naam: string;
|
|
22032
|
+
omschrijving: string;
|
|
22033
|
+
}[];
|
|
22034
|
+
};
|
|
21733
22035
|
pick_release_expired_locks: {
|
|
21734
22036
|
Args: never;
|
|
21735
22037
|
Returns: number;
|
|
@@ -21794,6 +22096,13 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
21794
22096
|
isSetofReturn: false;
|
|
21795
22097
|
};
|
|
21796
22098
|
};
|
|
22099
|
+
pick_set_station_print_plek: {
|
|
22100
|
+
Args: {
|
|
22101
|
+
_print_plek_id: string;
|
|
22102
|
+
_station_id: string;
|
|
22103
|
+
};
|
|
22104
|
+
Returns: string;
|
|
22105
|
+
};
|
|
21797
22106
|
pick_station_dashboard: {
|
|
21798
22107
|
Args: never;
|
|
21799
22108
|
Returns: {
|
|
@@ -21806,6 +22115,25 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
21806
22115
|
waiting: number;
|
|
21807
22116
|
}[];
|
|
21808
22117
|
};
|
|
22118
|
+
pick_station_print_plek: {
|
|
22119
|
+
Args: {
|
|
22120
|
+
_station_id: string;
|
|
22121
|
+
};
|
|
22122
|
+
Returns: {
|
|
22123
|
+
naam: string;
|
|
22124
|
+
omschrijving: string;
|
|
22125
|
+
print_plek_id: string;
|
|
22126
|
+
}[];
|
|
22127
|
+
};
|
|
22128
|
+
pick_station_print_plekken: {
|
|
22129
|
+
Args: never;
|
|
22130
|
+
Returns: {
|
|
22131
|
+
naam: string;
|
|
22132
|
+
omschrijving: string;
|
|
22133
|
+
print_plek_id: string;
|
|
22134
|
+
station_id: string;
|
|
22135
|
+
}[];
|
|
22136
|
+
};
|
|
21809
22137
|
pick_station_slugify: {
|
|
21810
22138
|
Args: {
|
|
21811
22139
|
_id: string;
|