@flowselections/floriday-afhandeling-module 1.0.37 → 1.0.39
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/afhandeling/ControleLijstPrint.js +54 -54
- package/dist-lib/components/afhandeling/ControlePage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/ControlePage.js +1 -3
- package/dist-lib/components/afhandeling/DagDetailDialog.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/DagDetailDialog.js +5 -38
- package/dist-lib/components/afhandeling/LeveringenPage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/LeveringenPage.js +1 -1
- package/dist-lib/components/afhandeling/WeekAgendaView.d.ts +1 -3
- package/dist-lib/components/afhandeling/WeekAgendaView.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/WeekAgendaView.js +6 -57
- package/dist-lib/components/pickstation/PakbonTemplate.js +70 -70
- package/dist-lib/components/settings/AfhandelingSettingsCard.d.ts.map +1 -1
- package/dist-lib/components/settings/AfhandelingSettingsCard.js +4 -55
- package/dist-lib/hooks/useOrderPlanning.d.ts.map +1 -1
- package/dist-lib/hooks/useOrderPlanning.js +6 -27
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +426 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +426 -1
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +426 -1
- package/dist-lib/integrations/supabase/moduleClient.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 +436 -1
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +862 -4
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/carrierSignupMail.server.js +26 -26
- package/dist-lib/lib/carriers.functions.d.ts +2130 -5
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.d.ts +2130 -5
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.d.ts +4290 -20
- package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +427 -2
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/printing.d.ts +2 -11
- package/dist-lib/lib/printing.d.ts.map +1 -1
- package/dist-lib/lib/printing.js +8 -64
- package/package.json +1 -1
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import type { SupabaseClient } from "@supabase/supabase-js";
|
|
2
|
+
/**
|
|
3
|
+
* Let op: de planning- en printvelden (pickDaysBeforeTransport,
|
|
4
|
+
* extraPickDaysWithStickers, pickWeekdays, pickDistributionEnabled,
|
|
5
|
+
* maxWorkdaysEarlierPick, autoProcessPaused, autoPrintDeliveryNote) zijn
|
|
6
|
+
* legacy. De Logistics Engine bepaalt de pickplanning en de Layout maker de
|
|
7
|
+
* printerkeuze. De kolommen blijven bestaan, maar de UI leest of schrijft ze
|
|
8
|
+
* niet meer. Alleen de aanmeldmail-instellingen zijn nog in gebruik.
|
|
9
|
+
*/
|
|
2
10
|
export interface AfhandelingSettings {
|
|
3
11
|
pickDaysBeforeTransport: number;
|
|
4
12
|
transportRegisterDaysBefore: number;
|
|
@@ -43,7 +51,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
43
51
|
created_at?: string;
|
|
44
52
|
extra_pick_days_with_stickers?: number;
|
|
45
53
|
id?: string;
|
|
46
|
-
max_workdays_earlier_pick
|
|
54
|
+
max_workdays_earlier_pick? /** Print de afleverbrief automatisch zodra hij beschikbaar is in de cache. */: number;
|
|
47
55
|
pick_days_before_transport?: number;
|
|
48
56
|
pick_distribution_enabled?: boolean;
|
|
49
57
|
pick_weekdays?: number[];
|
|
@@ -691,6 +699,99 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
691
699
|
};
|
|
692
700
|
Relationships: [];
|
|
693
701
|
};
|
|
702
|
+
artikelen_cache: {
|
|
703
|
+
Row: {
|
|
704
|
+
artikelcode: string;
|
|
705
|
+
bron: string;
|
|
706
|
+
bruto_prijs_cent: number | null;
|
|
707
|
+
created_at: string;
|
|
708
|
+
eenheid: string;
|
|
709
|
+
fabrikant: string | null;
|
|
710
|
+
fetched_at: string;
|
|
711
|
+
gtin: string | null;
|
|
712
|
+
id: string;
|
|
713
|
+
naam: string;
|
|
714
|
+
netto_prijs_cent: number | null;
|
|
715
|
+
omschrijving: string | null;
|
|
716
|
+
raw: import("../integrations/supabase/types").Json;
|
|
717
|
+
updated_at: string;
|
|
718
|
+
valuta: string;
|
|
719
|
+
};
|
|
720
|
+
Insert: {
|
|
721
|
+
artikelcode: string;
|
|
722
|
+
bron?: string;
|
|
723
|
+
bruto_prijs_cent?: number | null;
|
|
724
|
+
created_at?: string;
|
|
725
|
+
eenheid?: string;
|
|
726
|
+
fabrikant?: string | null;
|
|
727
|
+
fetched_at?: string;
|
|
728
|
+
gtin?: string | null;
|
|
729
|
+
id?: string;
|
|
730
|
+
naam: string;
|
|
731
|
+
netto_prijs_cent?: number | null;
|
|
732
|
+
omschrijving?: string | null;
|
|
733
|
+
raw?: import("../integrations/supabase/types").Json;
|
|
734
|
+
updated_at?: string;
|
|
735
|
+
valuta?: string;
|
|
736
|
+
};
|
|
737
|
+
Update: {
|
|
738
|
+
artikelcode?: string;
|
|
739
|
+
bron?: string;
|
|
740
|
+
bruto_prijs_cent?: number | null;
|
|
741
|
+
created_at?: string;
|
|
742
|
+
eenheid?: string;
|
|
743
|
+
fabrikant?: string | null;
|
|
744
|
+
fetched_at?: string;
|
|
745
|
+
gtin?: string | null;
|
|
746
|
+
id?: string;
|
|
747
|
+
naam?: string;
|
|
748
|
+
netto_prijs_cent?: number | null;
|
|
749
|
+
omschrijving?: string | null;
|
|
750
|
+
raw?: import("../integrations/supabase/types").Json;
|
|
751
|
+
updated_at?: string;
|
|
752
|
+
valuta?: string;
|
|
753
|
+
};
|
|
754
|
+
Relationships: [];
|
|
755
|
+
};
|
|
756
|
+
artikelen_veldconfig: {
|
|
757
|
+
Row: {
|
|
758
|
+
bron_pad: string;
|
|
759
|
+
created_at: string;
|
|
760
|
+
id: string;
|
|
761
|
+
label: string;
|
|
762
|
+
sort_order: number;
|
|
763
|
+
type: string;
|
|
764
|
+
updated_at: string;
|
|
765
|
+
veld_key: string;
|
|
766
|
+
zichtbaar_in_detail: boolean;
|
|
767
|
+
zichtbaar_in_lijst: boolean;
|
|
768
|
+
};
|
|
769
|
+
Insert: {
|
|
770
|
+
bron_pad: string;
|
|
771
|
+
created_at?: string;
|
|
772
|
+
id?: string;
|
|
773
|
+
label: string;
|
|
774
|
+
sort_order?: number;
|
|
775
|
+
type?: string;
|
|
776
|
+
updated_at?: string;
|
|
777
|
+
veld_key: string;
|
|
778
|
+
zichtbaar_in_detail?: boolean;
|
|
779
|
+
zichtbaar_in_lijst?: boolean;
|
|
780
|
+
};
|
|
781
|
+
Update: {
|
|
782
|
+
bron_pad?: string;
|
|
783
|
+
created_at?: string;
|
|
784
|
+
id?: string;
|
|
785
|
+
label?: string;
|
|
786
|
+
sort_order?: number;
|
|
787
|
+
type?: string;
|
|
788
|
+
updated_at?: string;
|
|
789
|
+
veld_key?: string;
|
|
790
|
+
zichtbaar_in_detail?: boolean;
|
|
791
|
+
zichtbaar_in_lijst?: boolean;
|
|
792
|
+
};
|
|
793
|
+
Relationships: [];
|
|
794
|
+
};
|
|
694
795
|
booking_items: {
|
|
695
796
|
Row: {
|
|
696
797
|
booking_id: string;
|
|
@@ -3163,6 +3264,48 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
3163
3264
|
};
|
|
3164
3265
|
Relationships: [];
|
|
3165
3266
|
};
|
|
3267
|
+
document_printplek_printers: {
|
|
3268
|
+
Row: {
|
|
3269
|
+
created_at: string;
|
|
3270
|
+
documenttype: string;
|
|
3271
|
+
id: string;
|
|
3272
|
+
papierformaat: string | null;
|
|
3273
|
+
print_plek_id: string;
|
|
3274
|
+
printer_id: string | null;
|
|
3275
|
+
updated_at: string;
|
|
3276
|
+
};
|
|
3277
|
+
Insert: {
|
|
3278
|
+
created_at?: string;
|
|
3279
|
+
documenttype: string;
|
|
3280
|
+
id?: string;
|
|
3281
|
+
papierformaat?: string | null;
|
|
3282
|
+
print_plek_id: string;
|
|
3283
|
+
printer_id?: string | null;
|
|
3284
|
+
updated_at?: string;
|
|
3285
|
+
};
|
|
3286
|
+
Update: {
|
|
3287
|
+
created_at?: string;
|
|
3288
|
+
documenttype?: string;
|
|
3289
|
+
id?: string;
|
|
3290
|
+
papierformaat?: string | null;
|
|
3291
|
+
print_plek_id?: string;
|
|
3292
|
+
printer_id?: string | null;
|
|
3293
|
+
updated_at?: string;
|
|
3294
|
+
};
|
|
3295
|
+
Relationships: [{
|
|
3296
|
+
foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
|
|
3297
|
+
columns: ["print_plek_id"];
|
|
3298
|
+
isOneToOne: false;
|
|
3299
|
+
referencedRelation: "print_plekken";
|
|
3300
|
+
referencedColumns: ["id"];
|
|
3301
|
+
}, {
|
|
3302
|
+
foreignKeyName: "document_printplek_printers_printer_id_fkey";
|
|
3303
|
+
columns: ["printer_id"];
|
|
3304
|
+
isOneToOne: false;
|
|
3305
|
+
referencedRelation: "printers";
|
|
3306
|
+
referencedColumns: ["id"];
|
|
3307
|
+
}];
|
|
3308
|
+
};
|
|
3166
3309
|
document_werkplek_printers: {
|
|
3167
3310
|
Row: {
|
|
3168
3311
|
created_at: string;
|
|
@@ -9142,6 +9285,10 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
9142
9285
|
id: string;
|
|
9143
9286
|
last_error: string | null;
|
|
9144
9287
|
last_error_at: string | null;
|
|
9288
|
+
last_error_code: string | null;
|
|
9289
|
+
last_gateway_status: number | null;
|
|
9290
|
+
last_queued_at: string | null;
|
|
9291
|
+
last_response: import("../integrations/supabase/types").Json | null;
|
|
9145
9292
|
last_sent_hash: string | null;
|
|
9146
9293
|
locked_by: string | null;
|
|
9147
9294
|
locked_until: string | null;
|
|
@@ -9162,6 +9309,10 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
9162
9309
|
id?: string;
|
|
9163
9310
|
last_error?: string | null;
|
|
9164
9311
|
last_error_at?: string | null;
|
|
9312
|
+
last_error_code?: string | null;
|
|
9313
|
+
last_gateway_status?: number | null;
|
|
9314
|
+
last_queued_at?: string | null;
|
|
9315
|
+
last_response?: import("../integrations/supabase/types").Json | null;
|
|
9165
9316
|
last_sent_hash?: string | null;
|
|
9166
9317
|
locked_by?: string | null;
|
|
9167
9318
|
locked_until?: string | null;
|
|
@@ -9182,6 +9333,10 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
9182
9333
|
id?: string;
|
|
9183
9334
|
last_error?: string | null;
|
|
9184
9335
|
last_error_at?: string | null;
|
|
9336
|
+
last_error_code?: string | null;
|
|
9337
|
+
last_gateway_status?: number | null;
|
|
9338
|
+
last_queued_at?: string | null;
|
|
9339
|
+
last_response?: import("../integrations/supabase/types").Json | null;
|
|
9185
9340
|
last_sent_hash?: string | null;
|
|
9186
9341
|
locked_by?: string | null;
|
|
9187
9342
|
locked_until?: string | null;
|
|
@@ -13351,6 +13506,99 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
13351
13506
|
referencedColumns: ["id"];
|
|
13352
13507
|
}];
|
|
13353
13508
|
};
|
|
13509
|
+
print_plek_computers: {
|
|
13510
|
+
Row: {
|
|
13511
|
+
computer_naam: string;
|
|
13512
|
+
created_at: string;
|
|
13513
|
+
id: string;
|
|
13514
|
+
print_plek_id: string;
|
|
13515
|
+
updated_at: string;
|
|
13516
|
+
};
|
|
13517
|
+
Insert: {
|
|
13518
|
+
computer_naam: string;
|
|
13519
|
+
created_at?: string;
|
|
13520
|
+
id?: string;
|
|
13521
|
+
print_plek_id: string;
|
|
13522
|
+
updated_at?: string;
|
|
13523
|
+
};
|
|
13524
|
+
Update: {
|
|
13525
|
+
computer_naam?: string;
|
|
13526
|
+
created_at?: string;
|
|
13527
|
+
id?: string;
|
|
13528
|
+
print_plek_id?: string;
|
|
13529
|
+
updated_at?: string;
|
|
13530
|
+
};
|
|
13531
|
+
Relationships: [{
|
|
13532
|
+
foreignKeyName: "print_plek_computers_print_plek_id_fkey";
|
|
13533
|
+
columns: ["print_plek_id"];
|
|
13534
|
+
isOneToOne: false;
|
|
13535
|
+
referencedRelation: "print_plekken";
|
|
13536
|
+
referencedColumns: ["id"];
|
|
13537
|
+
}];
|
|
13538
|
+
};
|
|
13539
|
+
print_plek_koppelingen: {
|
|
13540
|
+
Row: {
|
|
13541
|
+
bron: string;
|
|
13542
|
+
bron_id: string;
|
|
13543
|
+
created_at: string;
|
|
13544
|
+
id: string;
|
|
13545
|
+
label: string | null;
|
|
13546
|
+
print_plek_id: string;
|
|
13547
|
+
updated_at: string;
|
|
13548
|
+
};
|
|
13549
|
+
Insert: {
|
|
13550
|
+
bron: string;
|
|
13551
|
+
bron_id: string;
|
|
13552
|
+
created_at?: string;
|
|
13553
|
+
id?: string;
|
|
13554
|
+
label?: string | null;
|
|
13555
|
+
print_plek_id: string;
|
|
13556
|
+
updated_at?: string;
|
|
13557
|
+
};
|
|
13558
|
+
Update: {
|
|
13559
|
+
bron?: string;
|
|
13560
|
+
bron_id?: string;
|
|
13561
|
+
created_at?: string;
|
|
13562
|
+
id?: string;
|
|
13563
|
+
label?: string | null;
|
|
13564
|
+
print_plek_id?: string;
|
|
13565
|
+
updated_at?: string;
|
|
13566
|
+
};
|
|
13567
|
+
Relationships: [{
|
|
13568
|
+
foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
|
|
13569
|
+
columns: ["print_plek_id"];
|
|
13570
|
+
isOneToOne: false;
|
|
13571
|
+
referencedRelation: "print_plekken";
|
|
13572
|
+
referencedColumns: ["id"];
|
|
13573
|
+
}];
|
|
13574
|
+
};
|
|
13575
|
+
print_plekken: {
|
|
13576
|
+
Row: {
|
|
13577
|
+
actief: boolean;
|
|
13578
|
+
created_at: string;
|
|
13579
|
+
id: string;
|
|
13580
|
+
naam: string;
|
|
13581
|
+
omschrijving: string | null;
|
|
13582
|
+
updated_at: string;
|
|
13583
|
+
};
|
|
13584
|
+
Insert: {
|
|
13585
|
+
actief?: boolean;
|
|
13586
|
+
created_at?: string;
|
|
13587
|
+
id?: string;
|
|
13588
|
+
naam: string;
|
|
13589
|
+
omschrijving?: string | null;
|
|
13590
|
+
updated_at?: string;
|
|
13591
|
+
};
|
|
13592
|
+
Update: {
|
|
13593
|
+
actief?: boolean;
|
|
13594
|
+
created_at?: string;
|
|
13595
|
+
id?: string;
|
|
13596
|
+
naam?: string;
|
|
13597
|
+
omschrijving?: string | null;
|
|
13598
|
+
updated_at?: string;
|
|
13599
|
+
};
|
|
13600
|
+
Relationships: [];
|
|
13601
|
+
};
|
|
13354
13602
|
print_queue_runners: {
|
|
13355
13603
|
Row: {
|
|
13356
13604
|
actief: boolean;
|
|
@@ -15505,6 +15753,45 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
15505
15753
|
};
|
|
15506
15754
|
Relationships: [];
|
|
15507
15755
|
};
|
|
15756
|
+
stock_consumption_alerts: {
|
|
15757
|
+
Row: {
|
|
15758
|
+
alert_type: string;
|
|
15759
|
+
created_at: string;
|
|
15760
|
+
id: string;
|
|
15761
|
+
mutation_log_id: string | null;
|
|
15762
|
+
order_id: string | null;
|
|
15763
|
+
order_item_id: string | null;
|
|
15764
|
+
qty: number;
|
|
15765
|
+
reason: string | null;
|
|
15766
|
+
resolved_at: string | null;
|
|
15767
|
+
updated_at: string;
|
|
15768
|
+
};
|
|
15769
|
+
Insert: {
|
|
15770
|
+
alert_type: string;
|
|
15771
|
+
created_at?: string;
|
|
15772
|
+
id?: string;
|
|
15773
|
+
mutation_log_id?: string | null;
|
|
15774
|
+
order_id?: string | null;
|
|
15775
|
+
order_item_id?: string | null;
|
|
15776
|
+
qty?: number;
|
|
15777
|
+
reason?: string | null;
|
|
15778
|
+
resolved_at?: string | null;
|
|
15779
|
+
updated_at?: string;
|
|
15780
|
+
};
|
|
15781
|
+
Update: {
|
|
15782
|
+
alert_type?: string;
|
|
15783
|
+
created_at?: string;
|
|
15784
|
+
id?: string;
|
|
15785
|
+
mutation_log_id?: string | null;
|
|
15786
|
+
order_id?: string | null;
|
|
15787
|
+
order_item_id?: string | null;
|
|
15788
|
+
qty?: number;
|
|
15789
|
+
reason?: string | null;
|
|
15790
|
+
resolved_at?: string | null;
|
|
15791
|
+
updated_at?: string;
|
|
15792
|
+
};
|
|
15793
|
+
Relationships: [];
|
|
15794
|
+
};
|
|
15508
15795
|
stock_import_runs: {
|
|
15509
15796
|
Row: {
|
|
15510
15797
|
connection_id: string | null;
|
|
@@ -18358,6 +18645,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
18358
18645
|
werkbon_package_items: {
|
|
18359
18646
|
Row: {
|
|
18360
18647
|
article_number: string | null;
|
|
18648
|
+
artikel_id: string | null;
|
|
18361
18649
|
created_at: string;
|
|
18362
18650
|
gtin: string | null;
|
|
18363
18651
|
id: string;
|
|
@@ -18375,6 +18663,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
18375
18663
|
};
|
|
18376
18664
|
Insert: {
|
|
18377
18665
|
article_number?: string | null;
|
|
18666
|
+
artikel_id?: string | null;
|
|
18378
18667
|
created_at?: string;
|
|
18379
18668
|
gtin?: string | null;
|
|
18380
18669
|
id?: string;
|
|
@@ -18392,6 +18681,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
18392
18681
|
};
|
|
18393
18682
|
Update: {
|
|
18394
18683
|
article_number?: string | null;
|
|
18684
|
+
artikel_id?: string | null;
|
|
18395
18685
|
created_at?: string;
|
|
18396
18686
|
gtin?: string | null;
|
|
18397
18687
|
id?: string;
|
|
@@ -18408,6 +18698,12 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
18408
18698
|
updated_at?: string;
|
|
18409
18699
|
};
|
|
18410
18700
|
Relationships: [{
|
|
18701
|
+
foreignKeyName: "werkbon_package_items_artikel_id_fkey";
|
|
18702
|
+
columns: ["artikel_id"];
|
|
18703
|
+
isOneToOne: false;
|
|
18704
|
+
referencedRelation: "artikelen_cache";
|
|
18705
|
+
referencedColumns: ["id"];
|
|
18706
|
+
}, {
|
|
18411
18707
|
foreignKeyName: "werkbon_package_items_package_id_fkey";
|
|
18412
18708
|
columns: ["package_id"];
|
|
18413
18709
|
isOneToOne: false;
|
|
@@ -18609,6 +18905,9 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
18609
18905
|
scheduled_end_time: string | null;
|
|
18610
18906
|
scheduled_start_time: string | null;
|
|
18611
18907
|
sequence_number: number;
|
|
18908
|
+
signature_accepted_at: string | null;
|
|
18909
|
+
signature_by_user_id: string | null;
|
|
18910
|
+
signature_name: string | null;
|
|
18612
18911
|
source_email_meta: import("../integrations/supabase/types").Json | null;
|
|
18613
18912
|
source_mailbox_message_id: string | null;
|
|
18614
18913
|
source_pdf_path: string | null;
|
|
@@ -18644,6 +18943,9 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
18644
18943
|
scheduled_end_time?: string | null;
|
|
18645
18944
|
scheduled_start_time?: string | null;
|
|
18646
18945
|
sequence_number: number;
|
|
18946
|
+
signature_accepted_at?: string | null;
|
|
18947
|
+
signature_by_user_id?: string | null;
|
|
18948
|
+
signature_name?: string | null;
|
|
18647
18949
|
source_email_meta?: import("../integrations/supabase/types").Json | null;
|
|
18648
18950
|
source_mailbox_message_id?: string | null;
|
|
18649
18951
|
source_pdf_path?: string | null;
|
|
@@ -18679,6 +18981,9 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
18679
18981
|
scheduled_end_time?: string | null;
|
|
18680
18982
|
scheduled_start_time?: string | null;
|
|
18681
18983
|
sequence_number?: number;
|
|
18984
|
+
signature_accepted_at?: string | null;
|
|
18985
|
+
signature_by_user_id?: string | null;
|
|
18986
|
+
signature_name?: string | null;
|
|
18682
18987
|
source_email_meta?: import("../integrations/supabase/types").Json | null;
|
|
18683
18988
|
source_mailbox_message_id?: string | null;
|
|
18684
18989
|
source_pdf_path?: string | null;
|
|
@@ -19621,6 +19926,20 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
19621
19926
|
referencedColumns: ["id"];
|
|
19622
19927
|
}];
|
|
19623
19928
|
};
|
|
19929
|
+
v_werkbon_totalen: {
|
|
19930
|
+
Row: {
|
|
19931
|
+
packages_cents: number | null;
|
|
19932
|
+
packages_minutes: number | null;
|
|
19933
|
+
werkbon_id: string | null;
|
|
19934
|
+
};
|
|
19935
|
+
Relationships: [{
|
|
19936
|
+
foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
|
|
19937
|
+
columns: ["werkbon_id"];
|
|
19938
|
+
isOneToOne: false;
|
|
19939
|
+
referencedRelation: "werkbonnen";
|
|
19940
|
+
referencedColumns: ["id"];
|
|
19941
|
+
}];
|
|
19942
|
+
};
|
|
19624
19943
|
};
|
|
19625
19944
|
Functions: {
|
|
19626
19945
|
_floriday_schedule_job: {
|
|
@@ -21073,6 +21392,41 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
21073
21392
|
};
|
|
21074
21393
|
Returns: string;
|
|
21075
21394
|
};
|
|
21395
|
+
logistics_floriday_finish_push_v2: {
|
|
21396
|
+
Args: {
|
|
21397
|
+
_error?: string;
|
|
21398
|
+
_error_code?: string;
|
|
21399
|
+
_fulfillment_order_id?: string;
|
|
21400
|
+
_gateway_status?: number;
|
|
21401
|
+
_id: string;
|
|
21402
|
+
_max_age_hours?: number;
|
|
21403
|
+
_max_attempts?: number;
|
|
21404
|
+
_ok: boolean;
|
|
21405
|
+
_permanent?: boolean;
|
|
21406
|
+
_response?: import("../integrations/supabase/types").Json;
|
|
21407
|
+
_revision: number;
|
|
21408
|
+
_sent_hash?: string;
|
|
21409
|
+
};
|
|
21410
|
+
Returns: string;
|
|
21411
|
+
};
|
|
21412
|
+
logistics_floriday_finish_push_v3: {
|
|
21413
|
+
Args: {
|
|
21414
|
+
_error?: string;
|
|
21415
|
+
_error_code?: string;
|
|
21416
|
+
_fulfillment_order_id?: string;
|
|
21417
|
+
_gateway_status?: number;
|
|
21418
|
+
_id: string;
|
|
21419
|
+
_max_age_hours?: number;
|
|
21420
|
+
_max_attempts?: number;
|
|
21421
|
+
_outcome: string;
|
|
21422
|
+
_permanent?: boolean;
|
|
21423
|
+
_response?: import("../integrations/supabase/types").Json;
|
|
21424
|
+
_revision: number;
|
|
21425
|
+
_sent_hash?: string;
|
|
21426
|
+
_wait_max_age_hours?: number;
|
|
21427
|
+
};
|
|
21428
|
+
Returns: string;
|
|
21429
|
+
};
|
|
21076
21430
|
logistics_floriday_prune_pushes: {
|
|
21077
21431
|
Args: {
|
|
21078
21432
|
_days?: number;
|
|
@@ -21133,6 +21487,14 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
21133
21487
|
};
|
|
21134
21488
|
Returns: import("../integrations/supabase/types").Json;
|
|
21135
21489
|
};
|
|
21490
|
+
logistics_plan_block: {
|
|
21491
|
+
Args: {
|
|
21492
|
+
p_details?: import("../integrations/supabase/types").Json;
|
|
21493
|
+
p_order_ids: string[];
|
|
21494
|
+
p_reason: string;
|
|
21495
|
+
};
|
|
21496
|
+
Returns: number;
|
|
21497
|
+
};
|
|
21136
21498
|
logistics_plan_buffer_sql: {
|
|
21137
21499
|
Args: {
|
|
21138
21500
|
p_buffer_id: string;
|
|
@@ -21501,6 +21863,12 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
21501
21863
|
verwijderd: number;
|
|
21502
21864
|
}[];
|
|
21503
21865
|
};
|
|
21866
|
+
order_departure_proof: {
|
|
21867
|
+
Args: {
|
|
21868
|
+
p_order_id: string;
|
|
21869
|
+
};
|
|
21870
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21871
|
+
};
|
|
21504
21872
|
order_number_prefix: {
|
|
21505
21873
|
Args: {
|
|
21506
21874
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -21508,6 +21876,25 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
21508
21876
|
};
|
|
21509
21877
|
Returns: string;
|
|
21510
21878
|
};
|
|
21879
|
+
pakket_suggesties_voor_tekst: {
|
|
21880
|
+
Args: {
|
|
21881
|
+
_tekst: string;
|
|
21882
|
+
};
|
|
21883
|
+
Returns: {
|
|
21884
|
+
hit_type: string;
|
|
21885
|
+
package_id: string;
|
|
21886
|
+
priority: number;
|
|
21887
|
+
}[];
|
|
21888
|
+
};
|
|
21889
|
+
pakket_voor_reistijd: {
|
|
21890
|
+
Args: {
|
|
21891
|
+
_minuten: number;
|
|
21892
|
+
};
|
|
21893
|
+
Returns: {
|
|
21894
|
+
package_id: string;
|
|
21895
|
+
priority: number;
|
|
21896
|
+
}[];
|
|
21897
|
+
};
|
|
21511
21898
|
pick_active_printers: {
|
|
21512
21899
|
Args: never;
|
|
21513
21900
|
Returns: {
|
|
@@ -21708,6 +22095,14 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
21708
22095
|
};
|
|
21709
22096
|
Returns: import("../integrations/supabase/types").Json;
|
|
21710
22097
|
};
|
|
22098
|
+
pick_print_plekken: {
|
|
22099
|
+
Args: never;
|
|
22100
|
+
Returns: {
|
|
22101
|
+
id: string;
|
|
22102
|
+
naam: string;
|
|
22103
|
+
omschrijving: string;
|
|
22104
|
+
}[];
|
|
22105
|
+
};
|
|
21711
22106
|
pick_release_expired_locks: {
|
|
21712
22107
|
Args: never;
|
|
21713
22108
|
Returns: number;
|
|
@@ -21772,6 +22167,13 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
21772
22167
|
isSetofReturn: false;
|
|
21773
22168
|
};
|
|
21774
22169
|
};
|
|
22170
|
+
pick_set_station_print_plek: {
|
|
22171
|
+
Args: {
|
|
22172
|
+
_print_plek_id: string;
|
|
22173
|
+
_station_id: string;
|
|
22174
|
+
};
|
|
22175
|
+
Returns: string;
|
|
22176
|
+
};
|
|
21775
22177
|
pick_station_dashboard: {
|
|
21776
22178
|
Args: never;
|
|
21777
22179
|
Returns: {
|
|
@@ -21784,6 +22186,25 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
21784
22186
|
waiting: number;
|
|
21785
22187
|
}[];
|
|
21786
22188
|
};
|
|
22189
|
+
pick_station_print_plek: {
|
|
22190
|
+
Args: {
|
|
22191
|
+
_station_id: string;
|
|
22192
|
+
};
|
|
22193
|
+
Returns: {
|
|
22194
|
+
naam: string;
|
|
22195
|
+
omschrijving: string;
|
|
22196
|
+
print_plek_id: string;
|
|
22197
|
+
}[];
|
|
22198
|
+
};
|
|
22199
|
+
pick_station_print_plekken: {
|
|
22200
|
+
Args: never;
|
|
22201
|
+
Returns: {
|
|
22202
|
+
naam: string;
|
|
22203
|
+
omschrijving: string;
|
|
22204
|
+
print_plek_id: string;
|
|
22205
|
+
station_id: string;
|
|
22206
|
+
}[];
|
|
22207
|
+
};
|
|
21787
22208
|
pick_station_slugify: {
|
|
21788
22209
|
Args: {
|
|
21789
22210
|
_id: string;
|
|
@@ -22524,6 +22945,18 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
22524
22945
|
Args: never;
|
|
22525
22946
|
Returns: string;
|
|
22526
22947
|
};
|
|
22948
|
+
werkbon_totalen: {
|
|
22949
|
+
Args: {
|
|
22950
|
+
_werkbon_id: string;
|
|
22951
|
+
};
|
|
22952
|
+
Returns: {
|
|
22953
|
+
materials_cents: number;
|
|
22954
|
+
packages_cents: number;
|
|
22955
|
+
packages_minutes: number;
|
|
22956
|
+
total_cents: number;
|
|
22957
|
+
total_minutes: number;
|
|
22958
|
+
}[];
|
|
22959
|
+
};
|
|
22527
22960
|
wo_create_from_source: {
|
|
22528
22961
|
Args: {
|
|
22529
22962
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -22562,7 +22995,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
22562
22995
|
};
|
|
22563
22996
|
CompositeTypes: { [_ in never]: never; };
|
|
22564
22997
|
}, {
|
|
22565
|
-
PostgrestVersion: "14.
|
|
22998
|
+
PostgrestVersion: "14.17";
|
|
22566
22999
|
}>;
|
|
22567
23000
|
userId: string;
|
|
22568
23001
|
claims: import("@supabase/auth-js").JwtPayload;
|
|
@@ -22594,7 +23027,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
22594
23027
|
created_at?: string;
|
|
22595
23028
|
extra_pick_days_with_stickers?: number;
|
|
22596
23029
|
id?: string;
|
|
22597
|
-
max_workdays_earlier_pick
|
|
23030
|
+
max_workdays_earlier_pick? /** Print de afleverbrief automatisch zodra hij beschikbaar is in de cache. */: number;
|
|
22598
23031
|
pick_days_before_transport?: number;
|
|
22599
23032
|
pick_distribution_enabled?: boolean;
|
|
22600
23033
|
pick_weekdays?: number[];
|
|
@@ -23242,6 +23675,99 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
23242
23675
|
};
|
|
23243
23676
|
Relationships: [];
|
|
23244
23677
|
};
|
|
23678
|
+
artikelen_cache: {
|
|
23679
|
+
Row: {
|
|
23680
|
+
artikelcode: string;
|
|
23681
|
+
bron: string;
|
|
23682
|
+
bruto_prijs_cent: number | null;
|
|
23683
|
+
created_at: string;
|
|
23684
|
+
eenheid: string;
|
|
23685
|
+
fabrikant: string | null;
|
|
23686
|
+
fetched_at: string;
|
|
23687
|
+
gtin: string | null;
|
|
23688
|
+
id: string;
|
|
23689
|
+
naam: string;
|
|
23690
|
+
netto_prijs_cent: number | null;
|
|
23691
|
+
omschrijving: string | null;
|
|
23692
|
+
raw: import("../integrations/supabase/types").Json;
|
|
23693
|
+
updated_at: string;
|
|
23694
|
+
valuta: string;
|
|
23695
|
+
};
|
|
23696
|
+
Insert: {
|
|
23697
|
+
artikelcode: string;
|
|
23698
|
+
bron?: string;
|
|
23699
|
+
bruto_prijs_cent?: number | null;
|
|
23700
|
+
created_at?: string;
|
|
23701
|
+
eenheid?: string;
|
|
23702
|
+
fabrikant?: string | null;
|
|
23703
|
+
fetched_at?: string;
|
|
23704
|
+
gtin?: string | null;
|
|
23705
|
+
id?: string;
|
|
23706
|
+
naam: string;
|
|
23707
|
+
netto_prijs_cent?: number | null;
|
|
23708
|
+
omschrijving?: string | null;
|
|
23709
|
+
raw?: import("../integrations/supabase/types").Json;
|
|
23710
|
+
updated_at?: string;
|
|
23711
|
+
valuta?: string;
|
|
23712
|
+
};
|
|
23713
|
+
Update: {
|
|
23714
|
+
artikelcode?: string;
|
|
23715
|
+
bron?: string;
|
|
23716
|
+
bruto_prijs_cent?: number | null;
|
|
23717
|
+
created_at?: string;
|
|
23718
|
+
eenheid?: string;
|
|
23719
|
+
fabrikant?: string | null;
|
|
23720
|
+
fetched_at?: string;
|
|
23721
|
+
gtin?: string | null;
|
|
23722
|
+
id?: string;
|
|
23723
|
+
naam?: string;
|
|
23724
|
+
netto_prijs_cent?: number | null;
|
|
23725
|
+
omschrijving?: string | null;
|
|
23726
|
+
raw?: import("../integrations/supabase/types").Json;
|
|
23727
|
+
updated_at?: string;
|
|
23728
|
+
valuta?: string;
|
|
23729
|
+
};
|
|
23730
|
+
Relationships: [];
|
|
23731
|
+
};
|
|
23732
|
+
artikelen_veldconfig: {
|
|
23733
|
+
Row: {
|
|
23734
|
+
bron_pad: string;
|
|
23735
|
+
created_at: string;
|
|
23736
|
+
id: string;
|
|
23737
|
+
label: string;
|
|
23738
|
+
sort_order: number;
|
|
23739
|
+
type: string;
|
|
23740
|
+
updated_at: string;
|
|
23741
|
+
veld_key: string;
|
|
23742
|
+
zichtbaar_in_detail: boolean;
|
|
23743
|
+
zichtbaar_in_lijst: boolean;
|
|
23744
|
+
};
|
|
23745
|
+
Insert: {
|
|
23746
|
+
bron_pad: string;
|
|
23747
|
+
created_at?: string;
|
|
23748
|
+
id?: string;
|
|
23749
|
+
label: string;
|
|
23750
|
+
sort_order?: number;
|
|
23751
|
+
type?: string;
|
|
23752
|
+
updated_at?: string;
|
|
23753
|
+
veld_key: string;
|
|
23754
|
+
zichtbaar_in_detail?: boolean;
|
|
23755
|
+
zichtbaar_in_lijst?: boolean;
|
|
23756
|
+
};
|
|
23757
|
+
Update: {
|
|
23758
|
+
bron_pad?: string;
|
|
23759
|
+
created_at?: string;
|
|
23760
|
+
id?: string;
|
|
23761
|
+
label?: string;
|
|
23762
|
+
sort_order?: number;
|
|
23763
|
+
type?: string;
|
|
23764
|
+
updated_at?: string;
|
|
23765
|
+
veld_key?: string;
|
|
23766
|
+
zichtbaar_in_detail?: boolean;
|
|
23767
|
+
zichtbaar_in_lijst?: boolean;
|
|
23768
|
+
};
|
|
23769
|
+
Relationships: [];
|
|
23770
|
+
};
|
|
23245
23771
|
booking_items: {
|
|
23246
23772
|
Row: {
|
|
23247
23773
|
booking_id: string;
|
|
@@ -25714,6 +26240,48 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
25714
26240
|
};
|
|
25715
26241
|
Relationships: [];
|
|
25716
26242
|
};
|
|
26243
|
+
document_printplek_printers: {
|
|
26244
|
+
Row: {
|
|
26245
|
+
created_at: string;
|
|
26246
|
+
documenttype: string;
|
|
26247
|
+
id: string;
|
|
26248
|
+
papierformaat: string | null;
|
|
26249
|
+
print_plek_id: string;
|
|
26250
|
+
printer_id: string | null;
|
|
26251
|
+
updated_at: string;
|
|
26252
|
+
};
|
|
26253
|
+
Insert: {
|
|
26254
|
+
created_at?: string;
|
|
26255
|
+
documenttype: string;
|
|
26256
|
+
id?: string;
|
|
26257
|
+
papierformaat?: string | null;
|
|
26258
|
+
print_plek_id: string;
|
|
26259
|
+
printer_id?: string | null;
|
|
26260
|
+
updated_at?: string;
|
|
26261
|
+
};
|
|
26262
|
+
Update: {
|
|
26263
|
+
created_at?: string;
|
|
26264
|
+
documenttype?: string;
|
|
26265
|
+
id?: string;
|
|
26266
|
+
papierformaat?: string | null;
|
|
26267
|
+
print_plek_id?: string;
|
|
26268
|
+
printer_id?: string | null;
|
|
26269
|
+
updated_at?: string;
|
|
26270
|
+
};
|
|
26271
|
+
Relationships: [{
|
|
26272
|
+
foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
|
|
26273
|
+
columns: ["print_plek_id"];
|
|
26274
|
+
isOneToOne: false;
|
|
26275
|
+
referencedRelation: "print_plekken";
|
|
26276
|
+
referencedColumns: ["id"];
|
|
26277
|
+
}, {
|
|
26278
|
+
foreignKeyName: "document_printplek_printers_printer_id_fkey";
|
|
26279
|
+
columns: ["printer_id"];
|
|
26280
|
+
isOneToOne: false;
|
|
26281
|
+
referencedRelation: "printers";
|
|
26282
|
+
referencedColumns: ["id"];
|
|
26283
|
+
}];
|
|
26284
|
+
};
|
|
25717
26285
|
document_werkplek_printers: {
|
|
25718
26286
|
Row: {
|
|
25719
26287
|
created_at: string;
|
|
@@ -31693,6 +32261,10 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
31693
32261
|
id: string;
|
|
31694
32262
|
last_error: string | null;
|
|
31695
32263
|
last_error_at: string | null;
|
|
32264
|
+
last_error_code: string | null;
|
|
32265
|
+
last_gateway_status: number | null;
|
|
32266
|
+
last_queued_at: string | null;
|
|
32267
|
+
last_response: import("../integrations/supabase/types").Json | null;
|
|
31696
32268
|
last_sent_hash: string | null;
|
|
31697
32269
|
locked_by: string | null;
|
|
31698
32270
|
locked_until: string | null;
|
|
@@ -31713,6 +32285,10 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
31713
32285
|
id?: string;
|
|
31714
32286
|
last_error?: string | null;
|
|
31715
32287
|
last_error_at?: string | null;
|
|
32288
|
+
last_error_code?: string | null;
|
|
32289
|
+
last_gateway_status?: number | null;
|
|
32290
|
+
last_queued_at?: string | null;
|
|
32291
|
+
last_response?: import("../integrations/supabase/types").Json | null;
|
|
31716
32292
|
last_sent_hash?: string | null;
|
|
31717
32293
|
locked_by?: string | null;
|
|
31718
32294
|
locked_until?: string | null;
|
|
@@ -31733,6 +32309,10 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
31733
32309
|
id?: string;
|
|
31734
32310
|
last_error?: string | null;
|
|
31735
32311
|
last_error_at?: string | null;
|
|
32312
|
+
last_error_code?: string | null;
|
|
32313
|
+
last_gateway_status?: number | null;
|
|
32314
|
+
last_queued_at?: string | null;
|
|
32315
|
+
last_response?: import("../integrations/supabase/types").Json | null;
|
|
31736
32316
|
last_sent_hash?: string | null;
|
|
31737
32317
|
locked_by?: string | null;
|
|
31738
32318
|
locked_until?: string | null;
|
|
@@ -35902,6 +36482,99 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
35902
36482
|
referencedColumns: ["id"];
|
|
35903
36483
|
}];
|
|
35904
36484
|
};
|
|
36485
|
+
print_plek_computers: {
|
|
36486
|
+
Row: {
|
|
36487
|
+
computer_naam: string;
|
|
36488
|
+
created_at: string;
|
|
36489
|
+
id: string;
|
|
36490
|
+
print_plek_id: string;
|
|
36491
|
+
updated_at: string;
|
|
36492
|
+
};
|
|
36493
|
+
Insert: {
|
|
36494
|
+
computer_naam: string;
|
|
36495
|
+
created_at?: string;
|
|
36496
|
+
id?: string;
|
|
36497
|
+
print_plek_id: string;
|
|
36498
|
+
updated_at?: string;
|
|
36499
|
+
};
|
|
36500
|
+
Update: {
|
|
36501
|
+
computer_naam?: string;
|
|
36502
|
+
created_at?: string;
|
|
36503
|
+
id?: string;
|
|
36504
|
+
print_plek_id?: string;
|
|
36505
|
+
updated_at?: string;
|
|
36506
|
+
};
|
|
36507
|
+
Relationships: [{
|
|
36508
|
+
foreignKeyName: "print_plek_computers_print_plek_id_fkey";
|
|
36509
|
+
columns: ["print_plek_id"];
|
|
36510
|
+
isOneToOne: false;
|
|
36511
|
+
referencedRelation: "print_plekken";
|
|
36512
|
+
referencedColumns: ["id"];
|
|
36513
|
+
}];
|
|
36514
|
+
};
|
|
36515
|
+
print_plek_koppelingen: {
|
|
36516
|
+
Row: {
|
|
36517
|
+
bron: string;
|
|
36518
|
+
bron_id: string;
|
|
36519
|
+
created_at: string;
|
|
36520
|
+
id: string;
|
|
36521
|
+
label: string | null;
|
|
36522
|
+
print_plek_id: string;
|
|
36523
|
+
updated_at: string;
|
|
36524
|
+
};
|
|
36525
|
+
Insert: {
|
|
36526
|
+
bron: string;
|
|
36527
|
+
bron_id: string;
|
|
36528
|
+
created_at?: string;
|
|
36529
|
+
id?: string;
|
|
36530
|
+
label?: string | null;
|
|
36531
|
+
print_plek_id: string;
|
|
36532
|
+
updated_at?: string;
|
|
36533
|
+
};
|
|
36534
|
+
Update: {
|
|
36535
|
+
bron?: string;
|
|
36536
|
+
bron_id?: string;
|
|
36537
|
+
created_at?: string;
|
|
36538
|
+
id?: string;
|
|
36539
|
+
label?: string | null;
|
|
36540
|
+
print_plek_id?: string;
|
|
36541
|
+
updated_at?: string;
|
|
36542
|
+
};
|
|
36543
|
+
Relationships: [{
|
|
36544
|
+
foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
|
|
36545
|
+
columns: ["print_plek_id"];
|
|
36546
|
+
isOneToOne: false;
|
|
36547
|
+
referencedRelation: "print_plekken";
|
|
36548
|
+
referencedColumns: ["id"];
|
|
36549
|
+
}];
|
|
36550
|
+
};
|
|
36551
|
+
print_plekken: {
|
|
36552
|
+
Row: {
|
|
36553
|
+
actief: boolean;
|
|
36554
|
+
created_at: string;
|
|
36555
|
+
id: string;
|
|
36556
|
+
naam: string;
|
|
36557
|
+
omschrijving: string | null;
|
|
36558
|
+
updated_at: string;
|
|
36559
|
+
};
|
|
36560
|
+
Insert: {
|
|
36561
|
+
actief?: boolean;
|
|
36562
|
+
created_at?: string;
|
|
36563
|
+
id?: string;
|
|
36564
|
+
naam: string;
|
|
36565
|
+
omschrijving?: string | null;
|
|
36566
|
+
updated_at?: string;
|
|
36567
|
+
};
|
|
36568
|
+
Update: {
|
|
36569
|
+
actief?: boolean;
|
|
36570
|
+
created_at?: string;
|
|
36571
|
+
id?: string;
|
|
36572
|
+
naam?: string;
|
|
36573
|
+
omschrijving?: string | null;
|
|
36574
|
+
updated_at?: string;
|
|
36575
|
+
};
|
|
36576
|
+
Relationships: [];
|
|
36577
|
+
};
|
|
35905
36578
|
print_queue_runners: {
|
|
35906
36579
|
Row: {
|
|
35907
36580
|
actief: boolean;
|
|
@@ -38056,6 +38729,45 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
38056
38729
|
};
|
|
38057
38730
|
Relationships: [];
|
|
38058
38731
|
};
|
|
38732
|
+
stock_consumption_alerts: {
|
|
38733
|
+
Row: {
|
|
38734
|
+
alert_type: string;
|
|
38735
|
+
created_at: string;
|
|
38736
|
+
id: string;
|
|
38737
|
+
mutation_log_id: string | null;
|
|
38738
|
+
order_id: string | null;
|
|
38739
|
+
order_item_id: string | null;
|
|
38740
|
+
qty: number;
|
|
38741
|
+
reason: string | null;
|
|
38742
|
+
resolved_at: string | null;
|
|
38743
|
+
updated_at: string;
|
|
38744
|
+
};
|
|
38745
|
+
Insert: {
|
|
38746
|
+
alert_type: string;
|
|
38747
|
+
created_at?: string;
|
|
38748
|
+
id?: string;
|
|
38749
|
+
mutation_log_id?: string | null;
|
|
38750
|
+
order_id?: string | null;
|
|
38751
|
+
order_item_id?: string | null;
|
|
38752
|
+
qty?: number;
|
|
38753
|
+
reason?: string | null;
|
|
38754
|
+
resolved_at?: string | null;
|
|
38755
|
+
updated_at?: string;
|
|
38756
|
+
};
|
|
38757
|
+
Update: {
|
|
38758
|
+
alert_type?: string;
|
|
38759
|
+
created_at?: string;
|
|
38760
|
+
id?: string;
|
|
38761
|
+
mutation_log_id?: string | null;
|
|
38762
|
+
order_id?: string | null;
|
|
38763
|
+
order_item_id?: string | null;
|
|
38764
|
+
qty?: number;
|
|
38765
|
+
reason?: string | null;
|
|
38766
|
+
resolved_at?: string | null;
|
|
38767
|
+
updated_at?: string;
|
|
38768
|
+
};
|
|
38769
|
+
Relationships: [];
|
|
38770
|
+
};
|
|
38059
38771
|
stock_import_runs: {
|
|
38060
38772
|
Row: {
|
|
38061
38773
|
connection_id: string | null;
|
|
@@ -40909,6 +41621,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
40909
41621
|
werkbon_package_items: {
|
|
40910
41622
|
Row: {
|
|
40911
41623
|
article_number: string | null;
|
|
41624
|
+
artikel_id: string | null;
|
|
40912
41625
|
created_at: string;
|
|
40913
41626
|
gtin: string | null;
|
|
40914
41627
|
id: string;
|
|
@@ -40926,6 +41639,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
40926
41639
|
};
|
|
40927
41640
|
Insert: {
|
|
40928
41641
|
article_number?: string | null;
|
|
41642
|
+
artikel_id?: string | null;
|
|
40929
41643
|
created_at?: string;
|
|
40930
41644
|
gtin?: string | null;
|
|
40931
41645
|
id?: string;
|
|
@@ -40943,6 +41657,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
40943
41657
|
};
|
|
40944
41658
|
Update: {
|
|
40945
41659
|
article_number?: string | null;
|
|
41660
|
+
artikel_id?: string | null;
|
|
40946
41661
|
created_at?: string;
|
|
40947
41662
|
gtin?: string | null;
|
|
40948
41663
|
id?: string;
|
|
@@ -40959,6 +41674,12 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
40959
41674
|
updated_at?: string;
|
|
40960
41675
|
};
|
|
40961
41676
|
Relationships: [{
|
|
41677
|
+
foreignKeyName: "werkbon_package_items_artikel_id_fkey";
|
|
41678
|
+
columns: ["artikel_id"];
|
|
41679
|
+
isOneToOne: false;
|
|
41680
|
+
referencedRelation: "artikelen_cache";
|
|
41681
|
+
referencedColumns: ["id"];
|
|
41682
|
+
}, {
|
|
40962
41683
|
foreignKeyName: "werkbon_package_items_package_id_fkey";
|
|
40963
41684
|
columns: ["package_id"];
|
|
40964
41685
|
isOneToOne: false;
|
|
@@ -41160,6 +41881,9 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
41160
41881
|
scheduled_end_time: string | null;
|
|
41161
41882
|
scheduled_start_time: string | null;
|
|
41162
41883
|
sequence_number: number;
|
|
41884
|
+
signature_accepted_at: string | null;
|
|
41885
|
+
signature_by_user_id: string | null;
|
|
41886
|
+
signature_name: string | null;
|
|
41163
41887
|
source_email_meta: import("../integrations/supabase/types").Json | null;
|
|
41164
41888
|
source_mailbox_message_id: string | null;
|
|
41165
41889
|
source_pdf_path: string | null;
|
|
@@ -41195,6 +41919,9 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
41195
41919
|
scheduled_end_time?: string | null;
|
|
41196
41920
|
scheduled_start_time?: string | null;
|
|
41197
41921
|
sequence_number: number;
|
|
41922
|
+
signature_accepted_at?: string | null;
|
|
41923
|
+
signature_by_user_id?: string | null;
|
|
41924
|
+
signature_name?: string | null;
|
|
41198
41925
|
source_email_meta?: import("../integrations/supabase/types").Json | null;
|
|
41199
41926
|
source_mailbox_message_id?: string | null;
|
|
41200
41927
|
source_pdf_path?: string | null;
|
|
@@ -41230,6 +41957,9 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
41230
41957
|
scheduled_end_time?: string | null;
|
|
41231
41958
|
scheduled_start_time?: string | null;
|
|
41232
41959
|
sequence_number?: number;
|
|
41960
|
+
signature_accepted_at?: string | null;
|
|
41961
|
+
signature_by_user_id?: string | null;
|
|
41962
|
+
signature_name?: string | null;
|
|
41233
41963
|
source_email_meta?: import("../integrations/supabase/types").Json | null;
|
|
41234
41964
|
source_mailbox_message_id?: string | null;
|
|
41235
41965
|
source_pdf_path?: string | null;
|
|
@@ -42172,6 +42902,20 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
42172
42902
|
referencedColumns: ["id"];
|
|
42173
42903
|
}];
|
|
42174
42904
|
};
|
|
42905
|
+
v_werkbon_totalen: {
|
|
42906
|
+
Row: {
|
|
42907
|
+
packages_cents: number | null;
|
|
42908
|
+
packages_minutes: number | null;
|
|
42909
|
+
werkbon_id: string | null;
|
|
42910
|
+
};
|
|
42911
|
+
Relationships: [{
|
|
42912
|
+
foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
|
|
42913
|
+
columns: ["werkbon_id"];
|
|
42914
|
+
isOneToOne: false;
|
|
42915
|
+
referencedRelation: "werkbonnen";
|
|
42916
|
+
referencedColumns: ["id"];
|
|
42917
|
+
}];
|
|
42918
|
+
};
|
|
42175
42919
|
};
|
|
42176
42920
|
Functions: {
|
|
42177
42921
|
_floriday_schedule_job: {
|
|
@@ -43624,6 +44368,41 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
43624
44368
|
};
|
|
43625
44369
|
Returns: string;
|
|
43626
44370
|
};
|
|
44371
|
+
logistics_floriday_finish_push_v2: {
|
|
44372
|
+
Args: {
|
|
44373
|
+
_error?: string;
|
|
44374
|
+
_error_code?: string;
|
|
44375
|
+
_fulfillment_order_id?: string;
|
|
44376
|
+
_gateway_status?: number;
|
|
44377
|
+
_id: string;
|
|
44378
|
+
_max_age_hours?: number;
|
|
44379
|
+
_max_attempts?: number;
|
|
44380
|
+
_ok: boolean;
|
|
44381
|
+
_permanent?: boolean;
|
|
44382
|
+
_response?: import("../integrations/supabase/types").Json;
|
|
44383
|
+
_revision: number;
|
|
44384
|
+
_sent_hash?: string;
|
|
44385
|
+
};
|
|
44386
|
+
Returns: string;
|
|
44387
|
+
};
|
|
44388
|
+
logistics_floriday_finish_push_v3: {
|
|
44389
|
+
Args: {
|
|
44390
|
+
_error?: string;
|
|
44391
|
+
_error_code?: string;
|
|
44392
|
+
_fulfillment_order_id?: string;
|
|
44393
|
+
_gateway_status?: number;
|
|
44394
|
+
_id: string;
|
|
44395
|
+
_max_age_hours?: number;
|
|
44396
|
+
_max_attempts?: number;
|
|
44397
|
+
_outcome: string;
|
|
44398
|
+
_permanent?: boolean;
|
|
44399
|
+
_response?: import("../integrations/supabase/types").Json;
|
|
44400
|
+
_revision: number;
|
|
44401
|
+
_sent_hash?: string;
|
|
44402
|
+
_wait_max_age_hours?: number;
|
|
44403
|
+
};
|
|
44404
|
+
Returns: string;
|
|
44405
|
+
};
|
|
43627
44406
|
logistics_floriday_prune_pushes: {
|
|
43628
44407
|
Args: {
|
|
43629
44408
|
_days?: number;
|
|
@@ -43684,6 +44463,14 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
43684
44463
|
};
|
|
43685
44464
|
Returns: import("../integrations/supabase/types").Json;
|
|
43686
44465
|
};
|
|
44466
|
+
logistics_plan_block: {
|
|
44467
|
+
Args: {
|
|
44468
|
+
p_details?: import("../integrations/supabase/types").Json;
|
|
44469
|
+
p_order_ids: string[];
|
|
44470
|
+
p_reason: string;
|
|
44471
|
+
};
|
|
44472
|
+
Returns: number;
|
|
44473
|
+
};
|
|
43687
44474
|
logistics_plan_buffer_sql: {
|
|
43688
44475
|
Args: {
|
|
43689
44476
|
p_buffer_id: string;
|
|
@@ -44052,6 +44839,12 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
44052
44839
|
verwijderd: number;
|
|
44053
44840
|
}[];
|
|
44054
44841
|
};
|
|
44842
|
+
order_departure_proof: {
|
|
44843
|
+
Args: {
|
|
44844
|
+
p_order_id: string;
|
|
44845
|
+
};
|
|
44846
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
44847
|
+
};
|
|
44055
44848
|
order_number_prefix: {
|
|
44056
44849
|
Args: {
|
|
44057
44850
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -44059,6 +44852,25 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
44059
44852
|
};
|
|
44060
44853
|
Returns: string;
|
|
44061
44854
|
};
|
|
44855
|
+
pakket_suggesties_voor_tekst: {
|
|
44856
|
+
Args: {
|
|
44857
|
+
_tekst: string;
|
|
44858
|
+
};
|
|
44859
|
+
Returns: {
|
|
44860
|
+
hit_type: string;
|
|
44861
|
+
package_id: string;
|
|
44862
|
+
priority: number;
|
|
44863
|
+
}[];
|
|
44864
|
+
};
|
|
44865
|
+
pakket_voor_reistijd: {
|
|
44866
|
+
Args: {
|
|
44867
|
+
_minuten: number;
|
|
44868
|
+
};
|
|
44869
|
+
Returns: {
|
|
44870
|
+
package_id: string;
|
|
44871
|
+
priority: number;
|
|
44872
|
+
}[];
|
|
44873
|
+
};
|
|
44062
44874
|
pick_active_printers: {
|
|
44063
44875
|
Args: never;
|
|
44064
44876
|
Returns: {
|
|
@@ -44259,6 +45071,14 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
44259
45071
|
};
|
|
44260
45072
|
Returns: import("../integrations/supabase/types").Json;
|
|
44261
45073
|
};
|
|
45074
|
+
pick_print_plekken: {
|
|
45075
|
+
Args: never;
|
|
45076
|
+
Returns: {
|
|
45077
|
+
id: string;
|
|
45078
|
+
naam: string;
|
|
45079
|
+
omschrijving: string;
|
|
45080
|
+
}[];
|
|
45081
|
+
};
|
|
44262
45082
|
pick_release_expired_locks: {
|
|
44263
45083
|
Args: never;
|
|
44264
45084
|
Returns: number;
|
|
@@ -44323,6 +45143,13 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
44323
45143
|
isSetofReturn: false;
|
|
44324
45144
|
};
|
|
44325
45145
|
};
|
|
45146
|
+
pick_set_station_print_plek: {
|
|
45147
|
+
Args: {
|
|
45148
|
+
_print_plek_id: string;
|
|
45149
|
+
_station_id: string;
|
|
45150
|
+
};
|
|
45151
|
+
Returns: string;
|
|
45152
|
+
};
|
|
44326
45153
|
pick_station_dashboard: {
|
|
44327
45154
|
Args: never;
|
|
44328
45155
|
Returns: {
|
|
@@ -44335,6 +45162,25 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
44335
45162
|
waiting: number;
|
|
44336
45163
|
}[];
|
|
44337
45164
|
};
|
|
45165
|
+
pick_station_print_plek: {
|
|
45166
|
+
Args: {
|
|
45167
|
+
_station_id: string;
|
|
45168
|
+
};
|
|
45169
|
+
Returns: {
|
|
45170
|
+
naam: string;
|
|
45171
|
+
omschrijving: string;
|
|
45172
|
+
print_plek_id: string;
|
|
45173
|
+
}[];
|
|
45174
|
+
};
|
|
45175
|
+
pick_station_print_plekken: {
|
|
45176
|
+
Args: never;
|
|
45177
|
+
Returns: {
|
|
45178
|
+
naam: string;
|
|
45179
|
+
omschrijving: string;
|
|
45180
|
+
print_plek_id: string;
|
|
45181
|
+
station_id: string;
|
|
45182
|
+
}[];
|
|
45183
|
+
};
|
|
44338
45184
|
pick_station_slugify: {
|
|
44339
45185
|
Args: {
|
|
44340
45186
|
_id: string;
|
|
@@ -45075,6 +45921,18 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
45075
45921
|
Args: never;
|
|
45076
45922
|
Returns: string;
|
|
45077
45923
|
};
|
|
45924
|
+
werkbon_totalen: {
|
|
45925
|
+
Args: {
|
|
45926
|
+
_werkbon_id: string;
|
|
45927
|
+
};
|
|
45928
|
+
Returns: {
|
|
45929
|
+
materials_cents: number;
|
|
45930
|
+
packages_cents: number;
|
|
45931
|
+
packages_minutes: number;
|
|
45932
|
+
total_cents: number;
|
|
45933
|
+
total_minutes: number;
|
|
45934
|
+
}[];
|
|
45935
|
+
};
|
|
45078
45936
|
wo_create_from_source: {
|
|
45079
45937
|
Args: {
|
|
45080
45938
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -45113,7 +45971,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
45113
45971
|
};
|
|
45114
45972
|
CompositeTypes: { [_ in never]: never; };
|
|
45115
45973
|
}, {
|
|
45116
|
-
PostgrestVersion: "14.
|
|
45974
|
+
PostgrestVersion: "14.17";
|
|
45117
45975
|
}>;
|
|
45118
45976
|
userId: string;
|
|
45119
45977
|
claims: import("@supabase/auth-js").JwtPayload;
|