@flowselections/layout-maker 1.6.6 → 1.7.1
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/README.md +30 -0
- package/dist-lib/index.d.ts +1 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +2 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +347 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +347 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +347 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/aiLayout.functions.d.ts +347 -0
- package/dist-lib/lib/aiLayout.functions.d.ts.map +1 -1
- package/dist-lib/lib/orderData.server.d.ts.map +1 -1
- package/dist-lib/lib/orderData.server.js +28 -14
- package/dist-lib/lib/printApi.d.ts.map +1 -1
- package/dist-lib/lib/printApi.js +13 -0
- package/dist-lib/lib/printService.functions.d.ts +1735 -0
- package/dist-lib/lib/printService.functions.d.ts.map +1 -1
- package/dist-lib/lib/queueTick.d.ts +6 -0
- package/dist-lib/lib/queueTick.d.ts.map +1 -0
- package/dist-lib/lib/queueTick.js +44 -0
- package/package.json +10 -1
- package/dist-lib/components/settings/MijnModuleSettingsCard.d.ts +0 -2
- package/dist-lib/components/settings/MijnModuleSettingsCard.d.ts.map +0 -1
- package/dist-lib/components/settings/MijnModuleSettingsCard.js +0 -42
- package/dist-lib/hooks/useMijnModuleData.d.ts +0 -13
- package/dist-lib/hooks/useMijnModuleData.d.ts.map +0 -1
- package/dist-lib/hooks/useMijnModuleData.js +0 -49
|
@@ -6479,6 +6479,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
6479
6479
|
Row: {
|
|
6480
6480
|
buyer_organization_id: string | null;
|
|
6481
6481
|
connection_id: string;
|
|
6482
|
+
controlled_at: string | null;
|
|
6482
6483
|
created_at: string;
|
|
6483
6484
|
data: import("../integrations/supabase/types").Json;
|
|
6484
6485
|
floriday_id: string;
|
|
@@ -6490,6 +6491,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
6490
6491
|
Insert: {
|
|
6491
6492
|
buyer_organization_id?: string | null;
|
|
6492
6493
|
connection_id: string;
|
|
6494
|
+
controlled_at?: string | null;
|
|
6493
6495
|
created_at?: string;
|
|
6494
6496
|
data: import("../integrations/supabase/types").Json;
|
|
6495
6497
|
floriday_id: string;
|
|
@@ -6501,6 +6503,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
6501
6503
|
Update: {
|
|
6502
6504
|
buyer_organization_id?: string | null;
|
|
6503
6505
|
connection_id?: string;
|
|
6506
|
+
controlled_at?: string | null;
|
|
6504
6507
|
created_at?: string;
|
|
6505
6508
|
data?: import("../integrations/supabase/types").Json;
|
|
6506
6509
|
floriday_id?: string;
|
|
@@ -7402,6 +7405,54 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
7402
7405
|
};
|
|
7403
7406
|
Relationships: [];
|
|
7404
7407
|
};
|
|
7408
|
+
invoice_timing_settings: {
|
|
7409
|
+
Row: {
|
|
7410
|
+
anchor: string;
|
|
7411
|
+
business_days_only: boolean;
|
|
7412
|
+
created_at: string;
|
|
7413
|
+
enabled: boolean;
|
|
7414
|
+
id: string;
|
|
7415
|
+
offset_days: number;
|
|
7416
|
+
pickup_anchor: string;
|
|
7417
|
+
pickup_business_days_only: boolean;
|
|
7418
|
+
pickup_offset_days: number;
|
|
7419
|
+
pickup_time_of_day: string;
|
|
7420
|
+
singleton: boolean;
|
|
7421
|
+
time_of_day: string;
|
|
7422
|
+
updated_at: string;
|
|
7423
|
+
};
|
|
7424
|
+
Insert: {
|
|
7425
|
+
anchor?: string;
|
|
7426
|
+
business_days_only?: boolean;
|
|
7427
|
+
created_at?: string;
|
|
7428
|
+
enabled?: boolean;
|
|
7429
|
+
id?: string;
|
|
7430
|
+
offset_days?: number;
|
|
7431
|
+
pickup_anchor?: string;
|
|
7432
|
+
pickup_business_days_only?: boolean;
|
|
7433
|
+
pickup_offset_days?: number;
|
|
7434
|
+
pickup_time_of_day?: string;
|
|
7435
|
+
singleton?: boolean;
|
|
7436
|
+
time_of_day?: string;
|
|
7437
|
+
updated_at?: string;
|
|
7438
|
+
};
|
|
7439
|
+
Update: {
|
|
7440
|
+
anchor?: string;
|
|
7441
|
+
business_days_only?: boolean;
|
|
7442
|
+
created_at?: string;
|
|
7443
|
+
enabled?: boolean;
|
|
7444
|
+
id?: string;
|
|
7445
|
+
offset_days?: number;
|
|
7446
|
+
pickup_anchor?: string;
|
|
7447
|
+
pickup_business_days_only?: boolean;
|
|
7448
|
+
pickup_offset_days?: number;
|
|
7449
|
+
pickup_time_of_day?: string;
|
|
7450
|
+
singleton?: boolean;
|
|
7451
|
+
time_of_day?: string;
|
|
7452
|
+
updated_at?: string;
|
|
7453
|
+
};
|
|
7454
|
+
Relationships: [];
|
|
7455
|
+
};
|
|
7405
7456
|
itk_contact_persons: {
|
|
7406
7457
|
Row: {
|
|
7407
7458
|
created_at: string;
|
|
@@ -8632,6 +8683,45 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
8632
8683
|
};
|
|
8633
8684
|
Relationships: [];
|
|
8634
8685
|
};
|
|
8686
|
+
logistics_plan_queue: {
|
|
8687
|
+
Row: {
|
|
8688
|
+
attempts: number;
|
|
8689
|
+
claimed_at: string | null;
|
|
8690
|
+
enqueued_at: string;
|
|
8691
|
+
error: string | null;
|
|
8692
|
+
id: string;
|
|
8693
|
+
next_attempt_at: string;
|
|
8694
|
+
order_id: string;
|
|
8695
|
+
reason: string;
|
|
8696
|
+
status: string;
|
|
8697
|
+
updated_at: string;
|
|
8698
|
+
};
|
|
8699
|
+
Insert: {
|
|
8700
|
+
attempts?: number;
|
|
8701
|
+
claimed_at?: string | null;
|
|
8702
|
+
enqueued_at?: string;
|
|
8703
|
+
error?: string | null;
|
|
8704
|
+
id?: string;
|
|
8705
|
+
next_attempt_at?: string;
|
|
8706
|
+
order_id: string;
|
|
8707
|
+
reason?: string;
|
|
8708
|
+
status?: string;
|
|
8709
|
+
updated_at?: string;
|
|
8710
|
+
};
|
|
8711
|
+
Update: {
|
|
8712
|
+
attempts?: number;
|
|
8713
|
+
claimed_at?: string | null;
|
|
8714
|
+
enqueued_at?: string;
|
|
8715
|
+
error?: string | null;
|
|
8716
|
+
id?: string;
|
|
8717
|
+
next_attempt_at?: string;
|
|
8718
|
+
order_id?: string;
|
|
8719
|
+
reason?: string;
|
|
8720
|
+
status?: string;
|
|
8721
|
+
updated_at?: string;
|
|
8722
|
+
};
|
|
8723
|
+
Relationships: [];
|
|
8724
|
+
};
|
|
8635
8725
|
logistics_plan_runs: {
|
|
8636
8726
|
Row: {
|
|
8637
8727
|
created_at: string;
|
|
@@ -8707,6 +8797,24 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
8707
8797
|
referencedColumns: ["id"];
|
|
8708
8798
|
}];
|
|
8709
8799
|
};
|
|
8800
|
+
logistics_plan_settings: {
|
|
8801
|
+
Row: {
|
|
8802
|
+
key: string;
|
|
8803
|
+
updated_at: string;
|
|
8804
|
+
value: string;
|
|
8805
|
+
};
|
|
8806
|
+
Insert: {
|
|
8807
|
+
key: string;
|
|
8808
|
+
updated_at?: string;
|
|
8809
|
+
value: string;
|
|
8810
|
+
};
|
|
8811
|
+
Update: {
|
|
8812
|
+
key?: string;
|
|
8813
|
+
updated_at?: string;
|
|
8814
|
+
value?: string;
|
|
8815
|
+
};
|
|
8816
|
+
Relationships: [];
|
|
8817
|
+
};
|
|
8710
8818
|
logistics_rebuffer_state: {
|
|
8711
8819
|
Row: {
|
|
8712
8820
|
created_at: string;
|
|
@@ -9417,14 +9525,17 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
9417
9525
|
};
|
|
9418
9526
|
mailbox_messages: {
|
|
9419
9527
|
Row: {
|
|
9528
|
+
attachments: import("../integrations/supabase/types").Json;
|
|
9420
9529
|
body_html: string | null;
|
|
9421
9530
|
body_text: string | null;
|
|
9531
|
+
cc_recipients: import("../integrations/supabase/types").Json;
|
|
9422
9532
|
connection_id: string | null;
|
|
9423
9533
|
created_at: string;
|
|
9424
9534
|
error_message: string | null;
|
|
9425
9535
|
external_id: string | null;
|
|
9426
9536
|
from_email: string | null;
|
|
9427
9537
|
from_name: string | null;
|
|
9538
|
+
has_attachments: boolean;
|
|
9428
9539
|
id: string;
|
|
9429
9540
|
message_id: string | null;
|
|
9430
9541
|
profile_id: string | null;
|
|
@@ -9432,18 +9543,22 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
9432
9543
|
received_at: string | null;
|
|
9433
9544
|
status: string;
|
|
9434
9545
|
subject: string | null;
|
|
9546
|
+
to_recipients: import("../integrations/supabase/types").Json;
|
|
9435
9547
|
uid: number | null;
|
|
9436
9548
|
updated_at: string;
|
|
9437
9549
|
};
|
|
9438
9550
|
Insert: {
|
|
9551
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
9439
9552
|
body_html?: string | null;
|
|
9440
9553
|
body_text?: string | null;
|
|
9554
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
9441
9555
|
connection_id?: string | null;
|
|
9442
9556
|
created_at?: string;
|
|
9443
9557
|
error_message?: string | null;
|
|
9444
9558
|
external_id?: string | null;
|
|
9445
9559
|
from_email?: string | null;
|
|
9446
9560
|
from_name?: string | null;
|
|
9561
|
+
has_attachments?: boolean;
|
|
9447
9562
|
id?: string;
|
|
9448
9563
|
message_id?: string | null;
|
|
9449
9564
|
profile_id?: string | null;
|
|
@@ -9451,18 +9566,22 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
9451
9566
|
received_at?: string | null;
|
|
9452
9567
|
status?: string;
|
|
9453
9568
|
subject?: string | null;
|
|
9569
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
9454
9570
|
uid?: number | null;
|
|
9455
9571
|
updated_at?: string;
|
|
9456
9572
|
};
|
|
9457
9573
|
Update: {
|
|
9574
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
9458
9575
|
body_html?: string | null;
|
|
9459
9576
|
body_text?: string | null;
|
|
9577
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
9460
9578
|
connection_id?: string | null;
|
|
9461
9579
|
created_at?: string;
|
|
9462
9580
|
error_message?: string | null;
|
|
9463
9581
|
external_id?: string | null;
|
|
9464
9582
|
from_email?: string | null;
|
|
9465
9583
|
from_name?: string | null;
|
|
9584
|
+
has_attachments?: boolean;
|
|
9466
9585
|
id?: string;
|
|
9467
9586
|
message_id?: string | null;
|
|
9468
9587
|
profile_id?: string | null;
|
|
@@ -9470,6 +9589,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
9470
9589
|
received_at?: string | null;
|
|
9471
9590
|
status?: string;
|
|
9472
9591
|
subject?: string | null;
|
|
9592
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
9473
9593
|
uid?: number | null;
|
|
9474
9594
|
updated_at?: string;
|
|
9475
9595
|
};
|
|
@@ -9877,6 +9997,36 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
9877
9997
|
};
|
|
9878
9998
|
Relationships: [];
|
|
9879
9999
|
};
|
|
10000
|
+
module_registry: {
|
|
10001
|
+
Row: {
|
|
10002
|
+
created_at: string;
|
|
10003
|
+
is_active: boolean;
|
|
10004
|
+
last_seen_at: string;
|
|
10005
|
+
module_id: string;
|
|
10006
|
+
name: string;
|
|
10007
|
+
shell_id: string | null;
|
|
10008
|
+
sort_order: number | null;
|
|
10009
|
+
};
|
|
10010
|
+
Insert: {
|
|
10011
|
+
created_at?: string;
|
|
10012
|
+
is_active?: boolean;
|
|
10013
|
+
last_seen_at?: string;
|
|
10014
|
+
module_id: string;
|
|
10015
|
+
name: string;
|
|
10016
|
+
shell_id?: string | null;
|
|
10017
|
+
sort_order?: number | null;
|
|
10018
|
+
};
|
|
10019
|
+
Update: {
|
|
10020
|
+
created_at?: string;
|
|
10021
|
+
is_active?: boolean;
|
|
10022
|
+
last_seen_at?: string;
|
|
10023
|
+
module_id?: string;
|
|
10024
|
+
name?: string;
|
|
10025
|
+
shell_id?: string | null;
|
|
10026
|
+
sort_order?: number | null;
|
|
10027
|
+
};
|
|
10028
|
+
Relationships: [];
|
|
10029
|
+
};
|
|
9880
10030
|
module_runtime_config: {
|
|
9881
10031
|
Row: {
|
|
9882
10032
|
key: string;
|
|
@@ -10936,6 +11086,45 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
10936
11086
|
};
|
|
10937
11087
|
Relationships: [];
|
|
10938
11088
|
};
|
|
11089
|
+
order_invoice_links: {
|
|
11090
|
+
Row: {
|
|
11091
|
+
attempts: number;
|
|
11092
|
+
created_at: string;
|
|
11093
|
+
error_message: string | null;
|
|
11094
|
+
id: string;
|
|
11095
|
+
invoice_number: string | null;
|
|
11096
|
+
next_attempt_at: string;
|
|
11097
|
+
order_id: string;
|
|
11098
|
+
processed_at: string | null;
|
|
11099
|
+
status: string;
|
|
11100
|
+
updated_at: string;
|
|
11101
|
+
};
|
|
11102
|
+
Insert: {
|
|
11103
|
+
attempts?: number;
|
|
11104
|
+
created_at?: string;
|
|
11105
|
+
error_message?: string | null;
|
|
11106
|
+
id?: string;
|
|
11107
|
+
invoice_number?: string | null;
|
|
11108
|
+
next_attempt_at?: string;
|
|
11109
|
+
order_id: string;
|
|
11110
|
+
processed_at?: string | null;
|
|
11111
|
+
status?: string;
|
|
11112
|
+
updated_at?: string;
|
|
11113
|
+
};
|
|
11114
|
+
Update: {
|
|
11115
|
+
attempts?: number;
|
|
11116
|
+
created_at?: string;
|
|
11117
|
+
error_message?: string | null;
|
|
11118
|
+
id?: string;
|
|
11119
|
+
invoice_number?: string | null;
|
|
11120
|
+
next_attempt_at?: string;
|
|
11121
|
+
order_id?: string;
|
|
11122
|
+
processed_at?: string | null;
|
|
11123
|
+
status?: string;
|
|
11124
|
+
updated_at?: string;
|
|
11125
|
+
};
|
|
11126
|
+
Relationships: [];
|
|
11127
|
+
};
|
|
10939
11128
|
order_items: {
|
|
10940
11129
|
Row: {
|
|
10941
11130
|
crates_per_layer: number | null;
|
|
@@ -11118,6 +11307,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
11118
11307
|
delivery_date: string | null;
|
|
11119
11308
|
floriday_sales_order_id: string | null;
|
|
11120
11309
|
id: string;
|
|
11310
|
+
invoice_due_at: string | null;
|
|
11121
11311
|
is_reservation: boolean;
|
|
11122
11312
|
notes: string | null;
|
|
11123
11313
|
order_date: string;
|
|
@@ -11139,6 +11329,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
11139
11329
|
delivery_date?: string | null;
|
|
11140
11330
|
floriday_sales_order_id?: string | null;
|
|
11141
11331
|
id?: string;
|
|
11332
|
+
invoice_due_at?: string | null;
|
|
11142
11333
|
is_reservation?: boolean;
|
|
11143
11334
|
notes?: string | null;
|
|
11144
11335
|
order_date?: string;
|
|
@@ -11160,6 +11351,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
11160
11351
|
delivery_date?: string | null;
|
|
11161
11352
|
floriday_sales_order_id?: string | null;
|
|
11162
11353
|
id?: string;
|
|
11354
|
+
invoice_due_at?: string | null;
|
|
11163
11355
|
is_reservation?: boolean;
|
|
11164
11356
|
notes?: string | null;
|
|
11165
11357
|
order_date?: string;
|
|
@@ -12464,6 +12656,9 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
12464
12656
|
created_at: string;
|
|
12465
12657
|
id: string;
|
|
12466
12658
|
laatst_gezien: string;
|
|
12659
|
+
laatste_fout: string | null;
|
|
12660
|
+
laatste_request_id: number | null;
|
|
12661
|
+
mislukte_posts: number;
|
|
12467
12662
|
tick_sleutel: string;
|
|
12468
12663
|
updated_at: string;
|
|
12469
12664
|
};
|
|
@@ -12473,6 +12668,9 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
12473
12668
|
created_at?: string;
|
|
12474
12669
|
id?: string;
|
|
12475
12670
|
laatst_gezien?: string;
|
|
12671
|
+
laatste_fout?: string | null;
|
|
12672
|
+
laatste_request_id?: number | null;
|
|
12673
|
+
mislukte_posts?: number;
|
|
12476
12674
|
tick_sleutel?: string;
|
|
12477
12675
|
updated_at?: string;
|
|
12478
12676
|
};
|
|
@@ -12482,6 +12680,9 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
12482
12680
|
created_at?: string;
|
|
12483
12681
|
id?: string;
|
|
12484
12682
|
laatst_gezien?: string;
|
|
12683
|
+
laatste_fout?: string | null;
|
|
12684
|
+
laatste_request_id?: number | null;
|
|
12685
|
+
mislukte_posts?: number;
|
|
12485
12686
|
tick_sleutel?: string;
|
|
12486
12687
|
updated_at?: string;
|
|
12487
12688
|
};
|
|
@@ -12489,18 +12690,24 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
12489
12690
|
};
|
|
12490
12691
|
print_queue_settings: {
|
|
12491
12692
|
Row: {
|
|
12693
|
+
bewaar_bestanden_dagen: number;
|
|
12694
|
+
bewaar_opdrachten_dagen: number;
|
|
12492
12695
|
created_at: string;
|
|
12493
12696
|
dubbel_venster_minuten: number;
|
|
12494
12697
|
id: string;
|
|
12495
12698
|
updated_at: string;
|
|
12496
12699
|
};
|
|
12497
12700
|
Insert: {
|
|
12701
|
+
bewaar_bestanden_dagen?: number;
|
|
12702
|
+
bewaar_opdrachten_dagen?: number;
|
|
12498
12703
|
created_at?: string;
|
|
12499
12704
|
dubbel_venster_minuten?: number;
|
|
12500
12705
|
id?: string;
|
|
12501
12706
|
updated_at?: string;
|
|
12502
12707
|
};
|
|
12503
12708
|
Update: {
|
|
12709
|
+
bewaar_bestanden_dagen?: number;
|
|
12710
|
+
bewaar_opdrachten_dagen?: number;
|
|
12504
12711
|
created_at?: string;
|
|
12505
12712
|
dubbel_venster_minuten?: number;
|
|
12506
12713
|
id?: string;
|
|
@@ -15348,6 +15555,8 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
15348
15555
|
};
|
|
15349
15556
|
twinfield_invoice_settings: {
|
|
15350
15557
|
Row: {
|
|
15558
|
+
auto_invoice_enabled: boolean;
|
|
15559
|
+
auto_invoice_trigger_statuses: string[];
|
|
15351
15560
|
created_at: string;
|
|
15352
15561
|
debtor_gl_account: string;
|
|
15353
15562
|
default_credit_invoice_type: string | null;
|
|
@@ -15368,6 +15577,8 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
15368
15577
|
vat_code_export: string | null;
|
|
15369
15578
|
};
|
|
15370
15579
|
Insert: {
|
|
15580
|
+
auto_invoice_enabled?: boolean;
|
|
15581
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15371
15582
|
created_at?: string;
|
|
15372
15583
|
debtor_gl_account?: string;
|
|
15373
15584
|
default_credit_invoice_type?: string | null;
|
|
@@ -15388,6 +15599,8 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
15388
15599
|
vat_code_export?: string | null;
|
|
15389
15600
|
};
|
|
15390
15601
|
Update: {
|
|
15602
|
+
auto_invoice_enabled?: boolean;
|
|
15603
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15391
15604
|
created_at?: string;
|
|
15392
15605
|
debtor_gl_account?: string;
|
|
15393
15606
|
default_credit_invoice_type?: string | null;
|
|
@@ -16450,6 +16663,33 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
16450
16663
|
referencedColumns: ["id"];
|
|
16451
16664
|
}];
|
|
16452
16665
|
};
|
|
16666
|
+
user_module_permissions: {
|
|
16667
|
+
Row: {
|
|
16668
|
+
created_at: string;
|
|
16669
|
+
id: string;
|
|
16670
|
+
module_id: string;
|
|
16671
|
+
permission: string;
|
|
16672
|
+
updated_at: string;
|
|
16673
|
+
user_id: string;
|
|
16674
|
+
};
|
|
16675
|
+
Insert: {
|
|
16676
|
+
created_at?: string;
|
|
16677
|
+
id?: string;
|
|
16678
|
+
module_id: string;
|
|
16679
|
+
permission: string;
|
|
16680
|
+
updated_at?: string;
|
|
16681
|
+
user_id: string;
|
|
16682
|
+
};
|
|
16683
|
+
Update: {
|
|
16684
|
+
created_at?: string;
|
|
16685
|
+
id?: string;
|
|
16686
|
+
module_id?: string;
|
|
16687
|
+
permission?: string;
|
|
16688
|
+
updated_at?: string;
|
|
16689
|
+
user_id?: string;
|
|
16690
|
+
};
|
|
16691
|
+
Relationships: [];
|
|
16692
|
+
};
|
|
16453
16693
|
user_roles: {
|
|
16454
16694
|
Row: {
|
|
16455
16695
|
created_at: string;
|
|
@@ -18283,6 +18523,10 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
18283
18523
|
processed_items: number;
|
|
18284
18524
|
}[];
|
|
18285
18525
|
};
|
|
18526
|
+
backfill_order_auto_invoice_queue: {
|
|
18527
|
+
Args: never;
|
|
18528
|
+
Returns: number;
|
|
18529
|
+
};
|
|
18286
18530
|
calculate_layer_stock: {
|
|
18287
18531
|
Args: {
|
|
18288
18532
|
p_product_id: string;
|
|
@@ -18513,6 +18757,10 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
18513
18757
|
Args: never;
|
|
18514
18758
|
Returns: undefined;
|
|
18515
18759
|
};
|
|
18760
|
+
cleanup_voorraad_module_history: {
|
|
18761
|
+
Args: never;
|
|
18762
|
+
Returns: undefined;
|
|
18763
|
+
};
|
|
18516
18764
|
complete_floriday_stock_queue: {
|
|
18517
18765
|
Args: {
|
|
18518
18766
|
p_attempt_id?: string;
|
|
@@ -18634,6 +18882,13 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
18634
18882
|
};
|
|
18635
18883
|
Returns: import("../integrations/supabase/types").Json;
|
|
18636
18884
|
};
|
|
18885
|
+
effective_module_permission: {
|
|
18886
|
+
Args: {
|
|
18887
|
+
_module_id: string;
|
|
18888
|
+
_user_id: string;
|
|
18889
|
+
};
|
|
18890
|
+
Returns: string;
|
|
18891
|
+
};
|
|
18637
18892
|
email_auth_decrypt: {
|
|
18638
18893
|
Args: {
|
|
18639
18894
|
cipher: string;
|
|
@@ -19534,6 +19789,65 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
19534
19789
|
};
|
|
19535
19790
|
Returns: number;
|
|
19536
19791
|
};
|
|
19792
|
+
logistics_plan_claim: {
|
|
19793
|
+
Args: {
|
|
19794
|
+
p_limit?: number;
|
|
19795
|
+
};
|
|
19796
|
+
Returns: {
|
|
19797
|
+
attempts: number;
|
|
19798
|
+
id: string;
|
|
19799
|
+
order_id: string;
|
|
19800
|
+
}[];
|
|
19801
|
+
};
|
|
19802
|
+
logistics_plan_enqueue: {
|
|
19803
|
+
Args: {
|
|
19804
|
+
p_order_id: string;
|
|
19805
|
+
p_reason?: string;
|
|
19806
|
+
};
|
|
19807
|
+
Returns: undefined;
|
|
19808
|
+
};
|
|
19809
|
+
logistics_plan_ensure_event: {
|
|
19810
|
+
Args: {
|
|
19811
|
+
p_order_id: string;
|
|
19812
|
+
};
|
|
19813
|
+
Returns: boolean;
|
|
19814
|
+
};
|
|
19815
|
+
logistics_plan_finish: {
|
|
19816
|
+
Args: {
|
|
19817
|
+
p_error?: string;
|
|
19818
|
+
p_id: string;
|
|
19819
|
+
};
|
|
19820
|
+
Returns: undefined;
|
|
19821
|
+
};
|
|
19822
|
+
logistics_plan_impact_orders: {
|
|
19823
|
+
Args: {
|
|
19824
|
+
p_order_id: string;
|
|
19825
|
+
};
|
|
19826
|
+
Returns: {
|
|
19827
|
+
buffer_id: string;
|
|
19828
|
+
order_id: string;
|
|
19829
|
+
plan_date: string;
|
|
19830
|
+
}[];
|
|
19831
|
+
};
|
|
19832
|
+
logistics_plan_kick: {
|
|
19833
|
+
Args: never;
|
|
19834
|
+
Returns: undefined;
|
|
19835
|
+
};
|
|
19836
|
+
logistics_plan_prune: {
|
|
19837
|
+
Args: never;
|
|
19838
|
+
Returns: number;
|
|
19839
|
+
};
|
|
19840
|
+
logistics_plan_release_stale: {
|
|
19841
|
+
Args: never;
|
|
19842
|
+
Returns: number;
|
|
19843
|
+
};
|
|
19844
|
+
logistics_plan_setting: {
|
|
19845
|
+
Args: {
|
|
19846
|
+
p_default: number;
|
|
19847
|
+
p_key: string;
|
|
19848
|
+
};
|
|
19849
|
+
Returns: number;
|
|
19850
|
+
};
|
|
19537
19851
|
logistics_queue_capacity_email: {
|
|
19538
19852
|
Args: {
|
|
19539
19853
|
p_alert_id: string;
|
|
@@ -19772,6 +20086,13 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
19772
20086
|
};
|
|
19773
20087
|
Returns: undefined;
|
|
19774
20088
|
};
|
|
20089
|
+
my_module_permissions: {
|
|
20090
|
+
Args: never;
|
|
20091
|
+
Returns: {
|
|
20092
|
+
module_id: string;
|
|
20093
|
+
permission: string;
|
|
20094
|
+
}[];
|
|
20095
|
+
};
|
|
19775
20096
|
next_manufacture_partij: {
|
|
19776
20097
|
Args: {
|
|
19777
20098
|
_tenant_id: string;
|
|
@@ -19822,6 +20143,13 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
19822
20143
|
};
|
|
19823
20144
|
Returns: boolean;
|
|
19824
20145
|
};
|
|
20146
|
+
opruim_print_historie: {
|
|
20147
|
+
Args: never;
|
|
20148
|
+
Returns: {
|
|
20149
|
+
ontdaan: number;
|
|
20150
|
+
verwijderd: number;
|
|
20151
|
+
}[];
|
|
20152
|
+
};
|
|
19825
20153
|
order_number_prefix: {
|
|
19826
20154
|
Args: {
|
|
19827
20155
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -20216,6 +20544,12 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
20216
20544
|
};
|
|
20217
20545
|
Returns: undefined;
|
|
20218
20546
|
};
|
|
20547
|
+
reset_stalled_floriday_stock_queue: {
|
|
20548
|
+
Args: {
|
|
20549
|
+
p_include_failed?: boolean;
|
|
20550
|
+
};
|
|
20551
|
+
Returns: number;
|
|
20552
|
+
};
|
|
20219
20553
|
resolve_group_allocation: {
|
|
20220
20554
|
Args: {
|
|
20221
20555
|
_needed: number;
|
|
@@ -20270,6 +20604,10 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
20270
20604
|
Args: never;
|
|
20271
20605
|
Returns: undefined;
|
|
20272
20606
|
};
|
|
20607
|
+
run_floriday_stock_queue_process: {
|
|
20608
|
+
Args: never;
|
|
20609
|
+
Returns: undefined;
|
|
20610
|
+
};
|
|
20273
20611
|
run_logistics_tasks_dispatch: {
|
|
20274
20612
|
Args: never;
|
|
20275
20613
|
Returns: undefined;
|
|
@@ -20665,6 +21003,15 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
20665
21003
|
};
|
|
20666
21004
|
Returns: undefined;
|
|
20667
21005
|
};
|
|
21006
|
+
trade_item_stock_duplicates: {
|
|
21007
|
+
Args: never;
|
|
21008
|
+
Returns: {
|
|
21009
|
+
keys: string[];
|
|
21010
|
+
product_id: string;
|
|
21011
|
+
product_name: string;
|
|
21012
|
+
row_count: number;
|
|
21013
|
+
}[];
|
|
21014
|
+
};
|
|
20668
21015
|
try_debtor_lock: {
|
|
20669
21016
|
Args: {
|
|
20670
21017
|
_group_key: string;
|
|
@@ -27223,6 +27570,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
27223
27570
|
Row: {
|
|
27224
27571
|
buyer_organization_id: string | null;
|
|
27225
27572
|
connection_id: string;
|
|
27573
|
+
controlled_at: string | null;
|
|
27226
27574
|
created_at: string;
|
|
27227
27575
|
data: import("../integrations/supabase/types").Json;
|
|
27228
27576
|
floriday_id: string;
|
|
@@ -27234,6 +27582,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
27234
27582
|
Insert: {
|
|
27235
27583
|
buyer_organization_id?: string | null;
|
|
27236
27584
|
connection_id: string;
|
|
27585
|
+
controlled_at?: string | null;
|
|
27237
27586
|
created_at?: string;
|
|
27238
27587
|
data: import("../integrations/supabase/types").Json;
|
|
27239
27588
|
floriday_id: string;
|
|
@@ -27245,6 +27594,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
27245
27594
|
Update: {
|
|
27246
27595
|
buyer_organization_id?: string | null;
|
|
27247
27596
|
connection_id?: string;
|
|
27597
|
+
controlled_at?: string | null;
|
|
27248
27598
|
created_at?: string;
|
|
27249
27599
|
data?: import("../integrations/supabase/types").Json;
|
|
27250
27600
|
floriday_id?: string;
|
|
@@ -28146,6 +28496,54 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
28146
28496
|
};
|
|
28147
28497
|
Relationships: [];
|
|
28148
28498
|
};
|
|
28499
|
+
invoice_timing_settings: {
|
|
28500
|
+
Row: {
|
|
28501
|
+
anchor: string;
|
|
28502
|
+
business_days_only: boolean;
|
|
28503
|
+
created_at: string;
|
|
28504
|
+
enabled: boolean;
|
|
28505
|
+
id: string;
|
|
28506
|
+
offset_days: number;
|
|
28507
|
+
pickup_anchor: string;
|
|
28508
|
+
pickup_business_days_only: boolean;
|
|
28509
|
+
pickup_offset_days: number;
|
|
28510
|
+
pickup_time_of_day: string;
|
|
28511
|
+
singleton: boolean;
|
|
28512
|
+
time_of_day: string;
|
|
28513
|
+
updated_at: string;
|
|
28514
|
+
};
|
|
28515
|
+
Insert: {
|
|
28516
|
+
anchor?: string;
|
|
28517
|
+
business_days_only?: boolean;
|
|
28518
|
+
created_at?: string;
|
|
28519
|
+
enabled?: boolean;
|
|
28520
|
+
id?: string;
|
|
28521
|
+
offset_days?: number;
|
|
28522
|
+
pickup_anchor?: string;
|
|
28523
|
+
pickup_business_days_only?: boolean;
|
|
28524
|
+
pickup_offset_days?: number;
|
|
28525
|
+
pickup_time_of_day?: string;
|
|
28526
|
+
singleton?: boolean;
|
|
28527
|
+
time_of_day?: string;
|
|
28528
|
+
updated_at?: string;
|
|
28529
|
+
};
|
|
28530
|
+
Update: {
|
|
28531
|
+
anchor?: string;
|
|
28532
|
+
business_days_only?: boolean;
|
|
28533
|
+
created_at?: string;
|
|
28534
|
+
enabled?: boolean;
|
|
28535
|
+
id?: string;
|
|
28536
|
+
offset_days?: number;
|
|
28537
|
+
pickup_anchor?: string;
|
|
28538
|
+
pickup_business_days_only?: boolean;
|
|
28539
|
+
pickup_offset_days?: number;
|
|
28540
|
+
pickup_time_of_day?: string;
|
|
28541
|
+
singleton?: boolean;
|
|
28542
|
+
time_of_day?: string;
|
|
28543
|
+
updated_at?: string;
|
|
28544
|
+
};
|
|
28545
|
+
Relationships: [];
|
|
28546
|
+
};
|
|
28149
28547
|
itk_contact_persons: {
|
|
28150
28548
|
Row: {
|
|
28151
28549
|
created_at: string;
|
|
@@ -29376,6 +29774,45 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
29376
29774
|
};
|
|
29377
29775
|
Relationships: [];
|
|
29378
29776
|
};
|
|
29777
|
+
logistics_plan_queue: {
|
|
29778
|
+
Row: {
|
|
29779
|
+
attempts: number;
|
|
29780
|
+
claimed_at: string | null;
|
|
29781
|
+
enqueued_at: string;
|
|
29782
|
+
error: string | null;
|
|
29783
|
+
id: string;
|
|
29784
|
+
next_attempt_at: string;
|
|
29785
|
+
order_id: string;
|
|
29786
|
+
reason: string;
|
|
29787
|
+
status: string;
|
|
29788
|
+
updated_at: string;
|
|
29789
|
+
};
|
|
29790
|
+
Insert: {
|
|
29791
|
+
attempts?: number;
|
|
29792
|
+
claimed_at?: string | null;
|
|
29793
|
+
enqueued_at?: string;
|
|
29794
|
+
error?: string | null;
|
|
29795
|
+
id?: string;
|
|
29796
|
+
next_attempt_at?: string;
|
|
29797
|
+
order_id: string;
|
|
29798
|
+
reason?: string;
|
|
29799
|
+
status?: string;
|
|
29800
|
+
updated_at?: string;
|
|
29801
|
+
};
|
|
29802
|
+
Update: {
|
|
29803
|
+
attempts?: number;
|
|
29804
|
+
claimed_at?: string | null;
|
|
29805
|
+
enqueued_at?: string;
|
|
29806
|
+
error?: string | null;
|
|
29807
|
+
id?: string;
|
|
29808
|
+
next_attempt_at?: string;
|
|
29809
|
+
order_id?: string;
|
|
29810
|
+
reason?: string;
|
|
29811
|
+
status?: string;
|
|
29812
|
+
updated_at?: string;
|
|
29813
|
+
};
|
|
29814
|
+
Relationships: [];
|
|
29815
|
+
};
|
|
29379
29816
|
logistics_plan_runs: {
|
|
29380
29817
|
Row: {
|
|
29381
29818
|
created_at: string;
|
|
@@ -29451,6 +29888,24 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
29451
29888
|
referencedColumns: ["id"];
|
|
29452
29889
|
}];
|
|
29453
29890
|
};
|
|
29891
|
+
logistics_plan_settings: {
|
|
29892
|
+
Row: {
|
|
29893
|
+
key: string;
|
|
29894
|
+
updated_at: string;
|
|
29895
|
+
value: string;
|
|
29896
|
+
};
|
|
29897
|
+
Insert: {
|
|
29898
|
+
key: string;
|
|
29899
|
+
updated_at?: string;
|
|
29900
|
+
value: string;
|
|
29901
|
+
};
|
|
29902
|
+
Update: {
|
|
29903
|
+
key?: string;
|
|
29904
|
+
updated_at?: string;
|
|
29905
|
+
value?: string;
|
|
29906
|
+
};
|
|
29907
|
+
Relationships: [];
|
|
29908
|
+
};
|
|
29454
29909
|
logistics_rebuffer_state: {
|
|
29455
29910
|
Row: {
|
|
29456
29911
|
created_at: string;
|
|
@@ -30161,14 +30616,17 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
30161
30616
|
};
|
|
30162
30617
|
mailbox_messages: {
|
|
30163
30618
|
Row: {
|
|
30619
|
+
attachments: import("../integrations/supabase/types").Json;
|
|
30164
30620
|
body_html: string | null;
|
|
30165
30621
|
body_text: string | null;
|
|
30622
|
+
cc_recipients: import("../integrations/supabase/types").Json;
|
|
30166
30623
|
connection_id: string | null;
|
|
30167
30624
|
created_at: string;
|
|
30168
30625
|
error_message: string | null;
|
|
30169
30626
|
external_id: string | null;
|
|
30170
30627
|
from_email: string | null;
|
|
30171
30628
|
from_name: string | null;
|
|
30629
|
+
has_attachments: boolean;
|
|
30172
30630
|
id: string;
|
|
30173
30631
|
message_id: string | null;
|
|
30174
30632
|
profile_id: string | null;
|
|
@@ -30176,18 +30634,22 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
30176
30634
|
received_at: string | null;
|
|
30177
30635
|
status: string;
|
|
30178
30636
|
subject: string | null;
|
|
30637
|
+
to_recipients: import("../integrations/supabase/types").Json;
|
|
30179
30638
|
uid: number | null;
|
|
30180
30639
|
updated_at: string;
|
|
30181
30640
|
};
|
|
30182
30641
|
Insert: {
|
|
30642
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
30183
30643
|
body_html?: string | null;
|
|
30184
30644
|
body_text?: string | null;
|
|
30645
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
30185
30646
|
connection_id?: string | null;
|
|
30186
30647
|
created_at?: string;
|
|
30187
30648
|
error_message?: string | null;
|
|
30188
30649
|
external_id?: string | null;
|
|
30189
30650
|
from_email?: string | null;
|
|
30190
30651
|
from_name?: string | null;
|
|
30652
|
+
has_attachments?: boolean;
|
|
30191
30653
|
id?: string;
|
|
30192
30654
|
message_id?: string | null;
|
|
30193
30655
|
profile_id?: string | null;
|
|
@@ -30195,18 +30657,22 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
30195
30657
|
received_at?: string | null;
|
|
30196
30658
|
status?: string;
|
|
30197
30659
|
subject?: string | null;
|
|
30660
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
30198
30661
|
uid?: number | null;
|
|
30199
30662
|
updated_at?: string;
|
|
30200
30663
|
};
|
|
30201
30664
|
Update: {
|
|
30665
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
30202
30666
|
body_html?: string | null;
|
|
30203
30667
|
body_text?: string | null;
|
|
30668
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
30204
30669
|
connection_id?: string | null;
|
|
30205
30670
|
created_at?: string;
|
|
30206
30671
|
error_message?: string | null;
|
|
30207
30672
|
external_id?: string | null;
|
|
30208
30673
|
from_email?: string | null;
|
|
30209
30674
|
from_name?: string | null;
|
|
30675
|
+
has_attachments?: boolean;
|
|
30210
30676
|
id?: string;
|
|
30211
30677
|
message_id?: string | null;
|
|
30212
30678
|
profile_id?: string | null;
|
|
@@ -30214,6 +30680,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
30214
30680
|
received_at?: string | null;
|
|
30215
30681
|
status?: string;
|
|
30216
30682
|
subject?: string | null;
|
|
30683
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
30217
30684
|
uid?: number | null;
|
|
30218
30685
|
updated_at?: string;
|
|
30219
30686
|
};
|
|
@@ -30621,6 +31088,36 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
30621
31088
|
};
|
|
30622
31089
|
Relationships: [];
|
|
30623
31090
|
};
|
|
31091
|
+
module_registry: {
|
|
31092
|
+
Row: {
|
|
31093
|
+
created_at: string;
|
|
31094
|
+
is_active: boolean;
|
|
31095
|
+
last_seen_at: string;
|
|
31096
|
+
module_id: string;
|
|
31097
|
+
name: string;
|
|
31098
|
+
shell_id: string | null;
|
|
31099
|
+
sort_order: number | null;
|
|
31100
|
+
};
|
|
31101
|
+
Insert: {
|
|
31102
|
+
created_at?: string;
|
|
31103
|
+
is_active?: boolean;
|
|
31104
|
+
last_seen_at?: string;
|
|
31105
|
+
module_id: string;
|
|
31106
|
+
name: string;
|
|
31107
|
+
shell_id?: string | null;
|
|
31108
|
+
sort_order?: number | null;
|
|
31109
|
+
};
|
|
31110
|
+
Update: {
|
|
31111
|
+
created_at?: string;
|
|
31112
|
+
is_active?: boolean;
|
|
31113
|
+
last_seen_at?: string;
|
|
31114
|
+
module_id?: string;
|
|
31115
|
+
name?: string;
|
|
31116
|
+
shell_id?: string | null;
|
|
31117
|
+
sort_order?: number | null;
|
|
31118
|
+
};
|
|
31119
|
+
Relationships: [];
|
|
31120
|
+
};
|
|
30624
31121
|
module_runtime_config: {
|
|
30625
31122
|
Row: {
|
|
30626
31123
|
key: string;
|
|
@@ -31680,6 +32177,45 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
31680
32177
|
};
|
|
31681
32178
|
Relationships: [];
|
|
31682
32179
|
};
|
|
32180
|
+
order_invoice_links: {
|
|
32181
|
+
Row: {
|
|
32182
|
+
attempts: number;
|
|
32183
|
+
created_at: string;
|
|
32184
|
+
error_message: string | null;
|
|
32185
|
+
id: string;
|
|
32186
|
+
invoice_number: string | null;
|
|
32187
|
+
next_attempt_at: string;
|
|
32188
|
+
order_id: string;
|
|
32189
|
+
processed_at: string | null;
|
|
32190
|
+
status: string;
|
|
32191
|
+
updated_at: string;
|
|
32192
|
+
};
|
|
32193
|
+
Insert: {
|
|
32194
|
+
attempts?: number;
|
|
32195
|
+
created_at?: string;
|
|
32196
|
+
error_message?: string | null;
|
|
32197
|
+
id?: string;
|
|
32198
|
+
invoice_number?: string | null;
|
|
32199
|
+
next_attempt_at?: string;
|
|
32200
|
+
order_id: string;
|
|
32201
|
+
processed_at?: string | null;
|
|
32202
|
+
status?: string;
|
|
32203
|
+
updated_at?: string;
|
|
32204
|
+
};
|
|
32205
|
+
Update: {
|
|
32206
|
+
attempts?: number;
|
|
32207
|
+
created_at?: string;
|
|
32208
|
+
error_message?: string | null;
|
|
32209
|
+
id?: string;
|
|
32210
|
+
invoice_number?: string | null;
|
|
32211
|
+
next_attempt_at?: string;
|
|
32212
|
+
order_id?: string;
|
|
32213
|
+
processed_at?: string | null;
|
|
32214
|
+
status?: string;
|
|
32215
|
+
updated_at?: string;
|
|
32216
|
+
};
|
|
32217
|
+
Relationships: [];
|
|
32218
|
+
};
|
|
31683
32219
|
order_items: {
|
|
31684
32220
|
Row: {
|
|
31685
32221
|
crates_per_layer: number | null;
|
|
@@ -31862,6 +32398,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
31862
32398
|
delivery_date: string | null;
|
|
31863
32399
|
floriday_sales_order_id: string | null;
|
|
31864
32400
|
id: string;
|
|
32401
|
+
invoice_due_at: string | null;
|
|
31865
32402
|
is_reservation: boolean;
|
|
31866
32403
|
notes: string | null;
|
|
31867
32404
|
order_date: string;
|
|
@@ -31883,6 +32420,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
31883
32420
|
delivery_date?: string | null;
|
|
31884
32421
|
floriday_sales_order_id?: string | null;
|
|
31885
32422
|
id?: string;
|
|
32423
|
+
invoice_due_at?: string | null;
|
|
31886
32424
|
is_reservation?: boolean;
|
|
31887
32425
|
notes?: string | null;
|
|
31888
32426
|
order_date?: string;
|
|
@@ -31904,6 +32442,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
31904
32442
|
delivery_date?: string | null;
|
|
31905
32443
|
floriday_sales_order_id?: string | null;
|
|
31906
32444
|
id?: string;
|
|
32445
|
+
invoice_due_at?: string | null;
|
|
31907
32446
|
is_reservation?: boolean;
|
|
31908
32447
|
notes?: string | null;
|
|
31909
32448
|
order_date?: string;
|
|
@@ -33208,6 +33747,9 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
33208
33747
|
created_at: string;
|
|
33209
33748
|
id: string;
|
|
33210
33749
|
laatst_gezien: string;
|
|
33750
|
+
laatste_fout: string | null;
|
|
33751
|
+
laatste_request_id: number | null;
|
|
33752
|
+
mislukte_posts: number;
|
|
33211
33753
|
tick_sleutel: string;
|
|
33212
33754
|
updated_at: string;
|
|
33213
33755
|
};
|
|
@@ -33217,6 +33759,9 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
33217
33759
|
created_at?: string;
|
|
33218
33760
|
id?: string;
|
|
33219
33761
|
laatst_gezien?: string;
|
|
33762
|
+
laatste_fout?: string | null;
|
|
33763
|
+
laatste_request_id?: number | null;
|
|
33764
|
+
mislukte_posts?: number;
|
|
33220
33765
|
tick_sleutel?: string;
|
|
33221
33766
|
updated_at?: string;
|
|
33222
33767
|
};
|
|
@@ -33226,6 +33771,9 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
33226
33771
|
created_at?: string;
|
|
33227
33772
|
id?: string;
|
|
33228
33773
|
laatst_gezien?: string;
|
|
33774
|
+
laatste_fout?: string | null;
|
|
33775
|
+
laatste_request_id?: number | null;
|
|
33776
|
+
mislukte_posts?: number;
|
|
33229
33777
|
tick_sleutel?: string;
|
|
33230
33778
|
updated_at?: string;
|
|
33231
33779
|
};
|
|
@@ -33233,18 +33781,24 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
33233
33781
|
};
|
|
33234
33782
|
print_queue_settings: {
|
|
33235
33783
|
Row: {
|
|
33784
|
+
bewaar_bestanden_dagen: number;
|
|
33785
|
+
bewaar_opdrachten_dagen: number;
|
|
33236
33786
|
created_at: string;
|
|
33237
33787
|
dubbel_venster_minuten: number;
|
|
33238
33788
|
id: string;
|
|
33239
33789
|
updated_at: string;
|
|
33240
33790
|
};
|
|
33241
33791
|
Insert: {
|
|
33792
|
+
bewaar_bestanden_dagen?: number;
|
|
33793
|
+
bewaar_opdrachten_dagen?: number;
|
|
33242
33794
|
created_at?: string;
|
|
33243
33795
|
dubbel_venster_minuten?: number;
|
|
33244
33796
|
id?: string;
|
|
33245
33797
|
updated_at?: string;
|
|
33246
33798
|
};
|
|
33247
33799
|
Update: {
|
|
33800
|
+
bewaar_bestanden_dagen?: number;
|
|
33801
|
+
bewaar_opdrachten_dagen?: number;
|
|
33248
33802
|
created_at?: string;
|
|
33249
33803
|
dubbel_venster_minuten?: number;
|
|
33250
33804
|
id?: string;
|
|
@@ -36092,6 +36646,8 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
36092
36646
|
};
|
|
36093
36647
|
twinfield_invoice_settings: {
|
|
36094
36648
|
Row: {
|
|
36649
|
+
auto_invoice_enabled: boolean;
|
|
36650
|
+
auto_invoice_trigger_statuses: string[];
|
|
36095
36651
|
created_at: string;
|
|
36096
36652
|
debtor_gl_account: string;
|
|
36097
36653
|
default_credit_invoice_type: string | null;
|
|
@@ -36112,6 +36668,8 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
36112
36668
|
vat_code_export: string | null;
|
|
36113
36669
|
};
|
|
36114
36670
|
Insert: {
|
|
36671
|
+
auto_invoice_enabled?: boolean;
|
|
36672
|
+
auto_invoice_trigger_statuses?: string[];
|
|
36115
36673
|
created_at?: string;
|
|
36116
36674
|
debtor_gl_account?: string;
|
|
36117
36675
|
default_credit_invoice_type?: string | null;
|
|
@@ -36132,6 +36690,8 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
36132
36690
|
vat_code_export?: string | null;
|
|
36133
36691
|
};
|
|
36134
36692
|
Update: {
|
|
36693
|
+
auto_invoice_enabled?: boolean;
|
|
36694
|
+
auto_invoice_trigger_statuses?: string[];
|
|
36135
36695
|
created_at?: string;
|
|
36136
36696
|
debtor_gl_account?: string;
|
|
36137
36697
|
default_credit_invoice_type?: string | null;
|
|
@@ -37194,6 +37754,33 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
37194
37754
|
referencedColumns: ["id"];
|
|
37195
37755
|
}];
|
|
37196
37756
|
};
|
|
37757
|
+
user_module_permissions: {
|
|
37758
|
+
Row: {
|
|
37759
|
+
created_at: string;
|
|
37760
|
+
id: string;
|
|
37761
|
+
module_id: string;
|
|
37762
|
+
permission: string;
|
|
37763
|
+
updated_at: string;
|
|
37764
|
+
user_id: string;
|
|
37765
|
+
};
|
|
37766
|
+
Insert: {
|
|
37767
|
+
created_at?: string;
|
|
37768
|
+
id?: string;
|
|
37769
|
+
module_id: string;
|
|
37770
|
+
permission: string;
|
|
37771
|
+
updated_at?: string;
|
|
37772
|
+
user_id: string;
|
|
37773
|
+
};
|
|
37774
|
+
Update: {
|
|
37775
|
+
created_at?: string;
|
|
37776
|
+
id?: string;
|
|
37777
|
+
module_id?: string;
|
|
37778
|
+
permission?: string;
|
|
37779
|
+
updated_at?: string;
|
|
37780
|
+
user_id?: string;
|
|
37781
|
+
};
|
|
37782
|
+
Relationships: [];
|
|
37783
|
+
};
|
|
37197
37784
|
user_roles: {
|
|
37198
37785
|
Row: {
|
|
37199
37786
|
created_at: string;
|
|
@@ -39027,6 +39614,10 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
39027
39614
|
processed_items: number;
|
|
39028
39615
|
}[];
|
|
39029
39616
|
};
|
|
39617
|
+
backfill_order_auto_invoice_queue: {
|
|
39618
|
+
Args: never;
|
|
39619
|
+
Returns: number;
|
|
39620
|
+
};
|
|
39030
39621
|
calculate_layer_stock: {
|
|
39031
39622
|
Args: {
|
|
39032
39623
|
p_product_id: string;
|
|
@@ -39257,6 +39848,10 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
39257
39848
|
Args: never;
|
|
39258
39849
|
Returns: undefined;
|
|
39259
39850
|
};
|
|
39851
|
+
cleanup_voorraad_module_history: {
|
|
39852
|
+
Args: never;
|
|
39853
|
+
Returns: undefined;
|
|
39854
|
+
};
|
|
39260
39855
|
complete_floriday_stock_queue: {
|
|
39261
39856
|
Args: {
|
|
39262
39857
|
p_attempt_id?: string;
|
|
@@ -39378,6 +39973,13 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
39378
39973
|
};
|
|
39379
39974
|
Returns: import("../integrations/supabase/types").Json;
|
|
39380
39975
|
};
|
|
39976
|
+
effective_module_permission: {
|
|
39977
|
+
Args: {
|
|
39978
|
+
_module_id: string;
|
|
39979
|
+
_user_id: string;
|
|
39980
|
+
};
|
|
39981
|
+
Returns: string;
|
|
39982
|
+
};
|
|
39381
39983
|
email_auth_decrypt: {
|
|
39382
39984
|
Args: {
|
|
39383
39985
|
cipher: string;
|
|
@@ -40278,6 +40880,65 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
40278
40880
|
};
|
|
40279
40881
|
Returns: number;
|
|
40280
40882
|
};
|
|
40883
|
+
logistics_plan_claim: {
|
|
40884
|
+
Args: {
|
|
40885
|
+
p_limit?: number;
|
|
40886
|
+
};
|
|
40887
|
+
Returns: {
|
|
40888
|
+
attempts: number;
|
|
40889
|
+
id: string;
|
|
40890
|
+
order_id: string;
|
|
40891
|
+
}[];
|
|
40892
|
+
};
|
|
40893
|
+
logistics_plan_enqueue: {
|
|
40894
|
+
Args: {
|
|
40895
|
+
p_order_id: string;
|
|
40896
|
+
p_reason?: string;
|
|
40897
|
+
};
|
|
40898
|
+
Returns: undefined;
|
|
40899
|
+
};
|
|
40900
|
+
logistics_plan_ensure_event: {
|
|
40901
|
+
Args: {
|
|
40902
|
+
p_order_id: string;
|
|
40903
|
+
};
|
|
40904
|
+
Returns: boolean;
|
|
40905
|
+
};
|
|
40906
|
+
logistics_plan_finish: {
|
|
40907
|
+
Args: {
|
|
40908
|
+
p_error?: string;
|
|
40909
|
+
p_id: string;
|
|
40910
|
+
};
|
|
40911
|
+
Returns: undefined;
|
|
40912
|
+
};
|
|
40913
|
+
logistics_plan_impact_orders: {
|
|
40914
|
+
Args: {
|
|
40915
|
+
p_order_id: string;
|
|
40916
|
+
};
|
|
40917
|
+
Returns: {
|
|
40918
|
+
buffer_id: string;
|
|
40919
|
+
order_id: string;
|
|
40920
|
+
plan_date: string;
|
|
40921
|
+
}[];
|
|
40922
|
+
};
|
|
40923
|
+
logistics_plan_kick: {
|
|
40924
|
+
Args: never;
|
|
40925
|
+
Returns: undefined;
|
|
40926
|
+
};
|
|
40927
|
+
logistics_plan_prune: {
|
|
40928
|
+
Args: never;
|
|
40929
|
+
Returns: number;
|
|
40930
|
+
};
|
|
40931
|
+
logistics_plan_release_stale: {
|
|
40932
|
+
Args: never;
|
|
40933
|
+
Returns: number;
|
|
40934
|
+
};
|
|
40935
|
+
logistics_plan_setting: {
|
|
40936
|
+
Args: {
|
|
40937
|
+
p_default: number;
|
|
40938
|
+
p_key: string;
|
|
40939
|
+
};
|
|
40940
|
+
Returns: number;
|
|
40941
|
+
};
|
|
40281
40942
|
logistics_queue_capacity_email: {
|
|
40282
40943
|
Args: {
|
|
40283
40944
|
p_alert_id: string;
|
|
@@ -40516,6 +41177,13 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
40516
41177
|
};
|
|
40517
41178
|
Returns: undefined;
|
|
40518
41179
|
};
|
|
41180
|
+
my_module_permissions: {
|
|
41181
|
+
Args: never;
|
|
41182
|
+
Returns: {
|
|
41183
|
+
module_id: string;
|
|
41184
|
+
permission: string;
|
|
41185
|
+
}[];
|
|
41186
|
+
};
|
|
40519
41187
|
next_manufacture_partij: {
|
|
40520
41188
|
Args: {
|
|
40521
41189
|
_tenant_id: string;
|
|
@@ -40566,6 +41234,13 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
40566
41234
|
};
|
|
40567
41235
|
Returns: boolean;
|
|
40568
41236
|
};
|
|
41237
|
+
opruim_print_historie: {
|
|
41238
|
+
Args: never;
|
|
41239
|
+
Returns: {
|
|
41240
|
+
ontdaan: number;
|
|
41241
|
+
verwijderd: number;
|
|
41242
|
+
}[];
|
|
41243
|
+
};
|
|
40569
41244
|
order_number_prefix: {
|
|
40570
41245
|
Args: {
|
|
40571
41246
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -40960,6 +41635,12 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
40960
41635
|
};
|
|
40961
41636
|
Returns: undefined;
|
|
40962
41637
|
};
|
|
41638
|
+
reset_stalled_floriday_stock_queue: {
|
|
41639
|
+
Args: {
|
|
41640
|
+
p_include_failed?: boolean;
|
|
41641
|
+
};
|
|
41642
|
+
Returns: number;
|
|
41643
|
+
};
|
|
40963
41644
|
resolve_group_allocation: {
|
|
40964
41645
|
Args: {
|
|
40965
41646
|
_needed: number;
|
|
@@ -41014,6 +41695,10 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
41014
41695
|
Args: never;
|
|
41015
41696
|
Returns: undefined;
|
|
41016
41697
|
};
|
|
41698
|
+
run_floriday_stock_queue_process: {
|
|
41699
|
+
Args: never;
|
|
41700
|
+
Returns: undefined;
|
|
41701
|
+
};
|
|
41017
41702
|
run_logistics_tasks_dispatch: {
|
|
41018
41703
|
Args: never;
|
|
41019
41704
|
Returns: undefined;
|
|
@@ -41409,6 +42094,15 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
41409
42094
|
};
|
|
41410
42095
|
Returns: undefined;
|
|
41411
42096
|
};
|
|
42097
|
+
trade_item_stock_duplicates: {
|
|
42098
|
+
Args: never;
|
|
42099
|
+
Returns: {
|
|
42100
|
+
keys: string[];
|
|
42101
|
+
product_id: string;
|
|
42102
|
+
product_name: string;
|
|
42103
|
+
row_count: number;
|
|
42104
|
+
}[];
|
|
42105
|
+
};
|
|
41412
42106
|
try_debtor_lock: {
|
|
41413
42107
|
Args: {
|
|
41414
42108
|
_group_key: string;
|
|
@@ -47977,6 +48671,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
47977
48671
|
Row: {
|
|
47978
48672
|
buyer_organization_id: string | null;
|
|
47979
48673
|
connection_id: string;
|
|
48674
|
+
controlled_at: string | null;
|
|
47980
48675
|
created_at: string;
|
|
47981
48676
|
data: import("../integrations/supabase/types").Json;
|
|
47982
48677
|
floriday_id: string;
|
|
@@ -47988,6 +48683,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
47988
48683
|
Insert: {
|
|
47989
48684
|
buyer_organization_id?: string | null;
|
|
47990
48685
|
connection_id: string;
|
|
48686
|
+
controlled_at?: string | null;
|
|
47991
48687
|
created_at?: string;
|
|
47992
48688
|
data: import("../integrations/supabase/types").Json;
|
|
47993
48689
|
floriday_id: string;
|
|
@@ -47999,6 +48695,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
47999
48695
|
Update: {
|
|
48000
48696
|
buyer_organization_id?: string | null;
|
|
48001
48697
|
connection_id?: string;
|
|
48698
|
+
controlled_at?: string | null;
|
|
48002
48699
|
created_at?: string;
|
|
48003
48700
|
data?: import("../integrations/supabase/types").Json;
|
|
48004
48701
|
floriday_id?: string;
|
|
@@ -48900,6 +49597,54 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
48900
49597
|
};
|
|
48901
49598
|
Relationships: [];
|
|
48902
49599
|
};
|
|
49600
|
+
invoice_timing_settings: {
|
|
49601
|
+
Row: {
|
|
49602
|
+
anchor: string;
|
|
49603
|
+
business_days_only: boolean;
|
|
49604
|
+
created_at: string;
|
|
49605
|
+
enabled: boolean;
|
|
49606
|
+
id: string;
|
|
49607
|
+
offset_days: number;
|
|
49608
|
+
pickup_anchor: string;
|
|
49609
|
+
pickup_business_days_only: boolean;
|
|
49610
|
+
pickup_offset_days: number;
|
|
49611
|
+
pickup_time_of_day: string;
|
|
49612
|
+
singleton: boolean;
|
|
49613
|
+
time_of_day: string;
|
|
49614
|
+
updated_at: string;
|
|
49615
|
+
};
|
|
49616
|
+
Insert: {
|
|
49617
|
+
anchor?: string;
|
|
49618
|
+
business_days_only?: boolean;
|
|
49619
|
+
created_at?: string;
|
|
49620
|
+
enabled?: boolean;
|
|
49621
|
+
id?: string;
|
|
49622
|
+
offset_days?: number;
|
|
49623
|
+
pickup_anchor?: string;
|
|
49624
|
+
pickup_business_days_only?: boolean;
|
|
49625
|
+
pickup_offset_days?: number;
|
|
49626
|
+
pickup_time_of_day?: string;
|
|
49627
|
+
singleton?: boolean;
|
|
49628
|
+
time_of_day?: string;
|
|
49629
|
+
updated_at?: string;
|
|
49630
|
+
};
|
|
49631
|
+
Update: {
|
|
49632
|
+
anchor?: string;
|
|
49633
|
+
business_days_only?: boolean;
|
|
49634
|
+
created_at?: string;
|
|
49635
|
+
enabled?: boolean;
|
|
49636
|
+
id?: string;
|
|
49637
|
+
offset_days?: number;
|
|
49638
|
+
pickup_anchor?: string;
|
|
49639
|
+
pickup_business_days_only?: boolean;
|
|
49640
|
+
pickup_offset_days?: number;
|
|
49641
|
+
pickup_time_of_day?: string;
|
|
49642
|
+
singleton?: boolean;
|
|
49643
|
+
time_of_day?: string;
|
|
49644
|
+
updated_at?: string;
|
|
49645
|
+
};
|
|
49646
|
+
Relationships: [];
|
|
49647
|
+
};
|
|
48903
49648
|
itk_contact_persons: {
|
|
48904
49649
|
Row: {
|
|
48905
49650
|
created_at: string;
|
|
@@ -50130,6 +50875,45 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
50130
50875
|
};
|
|
50131
50876
|
Relationships: [];
|
|
50132
50877
|
};
|
|
50878
|
+
logistics_plan_queue: {
|
|
50879
|
+
Row: {
|
|
50880
|
+
attempts: number;
|
|
50881
|
+
claimed_at: string | null;
|
|
50882
|
+
enqueued_at: string;
|
|
50883
|
+
error: string | null;
|
|
50884
|
+
id: string;
|
|
50885
|
+
next_attempt_at: string;
|
|
50886
|
+
order_id: string;
|
|
50887
|
+
reason: string;
|
|
50888
|
+
status: string;
|
|
50889
|
+
updated_at: string;
|
|
50890
|
+
};
|
|
50891
|
+
Insert: {
|
|
50892
|
+
attempts?: number;
|
|
50893
|
+
claimed_at?: string | null;
|
|
50894
|
+
enqueued_at?: string;
|
|
50895
|
+
error?: string | null;
|
|
50896
|
+
id?: string;
|
|
50897
|
+
next_attempt_at?: string;
|
|
50898
|
+
order_id: string;
|
|
50899
|
+
reason?: string;
|
|
50900
|
+
status?: string;
|
|
50901
|
+
updated_at?: string;
|
|
50902
|
+
};
|
|
50903
|
+
Update: {
|
|
50904
|
+
attempts?: number;
|
|
50905
|
+
claimed_at?: string | null;
|
|
50906
|
+
enqueued_at?: string;
|
|
50907
|
+
error?: string | null;
|
|
50908
|
+
id?: string;
|
|
50909
|
+
next_attempt_at?: string;
|
|
50910
|
+
order_id?: string;
|
|
50911
|
+
reason?: string;
|
|
50912
|
+
status?: string;
|
|
50913
|
+
updated_at?: string;
|
|
50914
|
+
};
|
|
50915
|
+
Relationships: [];
|
|
50916
|
+
};
|
|
50133
50917
|
logistics_plan_runs: {
|
|
50134
50918
|
Row: {
|
|
50135
50919
|
created_at: string;
|
|
@@ -50205,6 +50989,24 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
50205
50989
|
referencedColumns: ["id"];
|
|
50206
50990
|
}];
|
|
50207
50991
|
};
|
|
50992
|
+
logistics_plan_settings: {
|
|
50993
|
+
Row: {
|
|
50994
|
+
key: string;
|
|
50995
|
+
updated_at: string;
|
|
50996
|
+
value: string;
|
|
50997
|
+
};
|
|
50998
|
+
Insert: {
|
|
50999
|
+
key: string;
|
|
51000
|
+
updated_at?: string;
|
|
51001
|
+
value: string;
|
|
51002
|
+
};
|
|
51003
|
+
Update: {
|
|
51004
|
+
key?: string;
|
|
51005
|
+
updated_at?: string;
|
|
51006
|
+
value?: string;
|
|
51007
|
+
};
|
|
51008
|
+
Relationships: [];
|
|
51009
|
+
};
|
|
50208
51010
|
logistics_rebuffer_state: {
|
|
50209
51011
|
Row: {
|
|
50210
51012
|
created_at: string;
|
|
@@ -50915,14 +51717,17 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
50915
51717
|
};
|
|
50916
51718
|
mailbox_messages: {
|
|
50917
51719
|
Row: {
|
|
51720
|
+
attachments: import("../integrations/supabase/types").Json;
|
|
50918
51721
|
body_html: string | null;
|
|
50919
51722
|
body_text: string | null;
|
|
51723
|
+
cc_recipients: import("../integrations/supabase/types").Json;
|
|
50920
51724
|
connection_id: string | null;
|
|
50921
51725
|
created_at: string;
|
|
50922
51726
|
error_message: string | null;
|
|
50923
51727
|
external_id: string | null;
|
|
50924
51728
|
from_email: string | null;
|
|
50925
51729
|
from_name: string | null;
|
|
51730
|
+
has_attachments: boolean;
|
|
50926
51731
|
id: string;
|
|
50927
51732
|
message_id: string | null;
|
|
50928
51733
|
profile_id: string | null;
|
|
@@ -50930,18 +51735,22 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
50930
51735
|
received_at: string | null;
|
|
50931
51736
|
status: string;
|
|
50932
51737
|
subject: string | null;
|
|
51738
|
+
to_recipients: import("../integrations/supabase/types").Json;
|
|
50933
51739
|
uid: number | null;
|
|
50934
51740
|
updated_at: string;
|
|
50935
51741
|
};
|
|
50936
51742
|
Insert: {
|
|
51743
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
50937
51744
|
body_html?: string | null;
|
|
50938
51745
|
body_text?: string | null;
|
|
51746
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
50939
51747
|
connection_id?: string | null;
|
|
50940
51748
|
created_at?: string;
|
|
50941
51749
|
error_message?: string | null;
|
|
50942
51750
|
external_id?: string | null;
|
|
50943
51751
|
from_email?: string | null;
|
|
50944
51752
|
from_name?: string | null;
|
|
51753
|
+
has_attachments?: boolean;
|
|
50945
51754
|
id?: string;
|
|
50946
51755
|
message_id?: string | null;
|
|
50947
51756
|
profile_id?: string | null;
|
|
@@ -50949,18 +51758,22 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
50949
51758
|
received_at?: string | null;
|
|
50950
51759
|
status?: string;
|
|
50951
51760
|
subject?: string | null;
|
|
51761
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
50952
51762
|
uid?: number | null;
|
|
50953
51763
|
updated_at?: string;
|
|
50954
51764
|
};
|
|
50955
51765
|
Update: {
|
|
51766
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
50956
51767
|
body_html?: string | null;
|
|
50957
51768
|
body_text?: string | null;
|
|
51769
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
50958
51770
|
connection_id?: string | null;
|
|
50959
51771
|
created_at?: string;
|
|
50960
51772
|
error_message?: string | null;
|
|
50961
51773
|
external_id?: string | null;
|
|
50962
51774
|
from_email?: string | null;
|
|
50963
51775
|
from_name?: string | null;
|
|
51776
|
+
has_attachments?: boolean;
|
|
50964
51777
|
id?: string;
|
|
50965
51778
|
message_id?: string | null;
|
|
50966
51779
|
profile_id?: string | null;
|
|
@@ -50968,6 +51781,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
50968
51781
|
received_at?: string | null;
|
|
50969
51782
|
status?: string;
|
|
50970
51783
|
subject?: string | null;
|
|
51784
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
50971
51785
|
uid?: number | null;
|
|
50972
51786
|
updated_at?: string;
|
|
50973
51787
|
};
|
|
@@ -51375,6 +52189,36 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
51375
52189
|
};
|
|
51376
52190
|
Relationships: [];
|
|
51377
52191
|
};
|
|
52192
|
+
module_registry: {
|
|
52193
|
+
Row: {
|
|
52194
|
+
created_at: string;
|
|
52195
|
+
is_active: boolean;
|
|
52196
|
+
last_seen_at: string;
|
|
52197
|
+
module_id: string;
|
|
52198
|
+
name: string;
|
|
52199
|
+
shell_id: string | null;
|
|
52200
|
+
sort_order: number | null;
|
|
52201
|
+
};
|
|
52202
|
+
Insert: {
|
|
52203
|
+
created_at?: string;
|
|
52204
|
+
is_active?: boolean;
|
|
52205
|
+
last_seen_at?: string;
|
|
52206
|
+
module_id: string;
|
|
52207
|
+
name: string;
|
|
52208
|
+
shell_id?: string | null;
|
|
52209
|
+
sort_order?: number | null;
|
|
52210
|
+
};
|
|
52211
|
+
Update: {
|
|
52212
|
+
created_at?: string;
|
|
52213
|
+
is_active?: boolean;
|
|
52214
|
+
last_seen_at?: string;
|
|
52215
|
+
module_id?: string;
|
|
52216
|
+
name?: string;
|
|
52217
|
+
shell_id?: string | null;
|
|
52218
|
+
sort_order?: number | null;
|
|
52219
|
+
};
|
|
52220
|
+
Relationships: [];
|
|
52221
|
+
};
|
|
51378
52222
|
module_runtime_config: {
|
|
51379
52223
|
Row: {
|
|
51380
52224
|
key: string;
|
|
@@ -52434,6 +53278,45 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
52434
53278
|
};
|
|
52435
53279
|
Relationships: [];
|
|
52436
53280
|
};
|
|
53281
|
+
order_invoice_links: {
|
|
53282
|
+
Row: {
|
|
53283
|
+
attempts: number;
|
|
53284
|
+
created_at: string;
|
|
53285
|
+
error_message: string | null;
|
|
53286
|
+
id: string;
|
|
53287
|
+
invoice_number: string | null;
|
|
53288
|
+
next_attempt_at: string;
|
|
53289
|
+
order_id: string;
|
|
53290
|
+
processed_at: string | null;
|
|
53291
|
+
status: string;
|
|
53292
|
+
updated_at: string;
|
|
53293
|
+
};
|
|
53294
|
+
Insert: {
|
|
53295
|
+
attempts?: number;
|
|
53296
|
+
created_at?: string;
|
|
53297
|
+
error_message?: string | null;
|
|
53298
|
+
id?: string;
|
|
53299
|
+
invoice_number?: string | null;
|
|
53300
|
+
next_attempt_at?: string;
|
|
53301
|
+
order_id: string;
|
|
53302
|
+
processed_at?: string | null;
|
|
53303
|
+
status?: string;
|
|
53304
|
+
updated_at?: string;
|
|
53305
|
+
};
|
|
53306
|
+
Update: {
|
|
53307
|
+
attempts?: number;
|
|
53308
|
+
created_at?: string;
|
|
53309
|
+
error_message?: string | null;
|
|
53310
|
+
id?: string;
|
|
53311
|
+
invoice_number?: string | null;
|
|
53312
|
+
next_attempt_at?: string;
|
|
53313
|
+
order_id?: string;
|
|
53314
|
+
processed_at?: string | null;
|
|
53315
|
+
status?: string;
|
|
53316
|
+
updated_at?: string;
|
|
53317
|
+
};
|
|
53318
|
+
Relationships: [];
|
|
53319
|
+
};
|
|
52437
53320
|
order_items: {
|
|
52438
53321
|
Row: {
|
|
52439
53322
|
crates_per_layer: number | null;
|
|
@@ -52616,6 +53499,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
52616
53499
|
delivery_date: string | null;
|
|
52617
53500
|
floriday_sales_order_id: string | null;
|
|
52618
53501
|
id: string;
|
|
53502
|
+
invoice_due_at: string | null;
|
|
52619
53503
|
is_reservation: boolean;
|
|
52620
53504
|
notes: string | null;
|
|
52621
53505
|
order_date: string;
|
|
@@ -52637,6 +53521,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
52637
53521
|
delivery_date?: string | null;
|
|
52638
53522
|
floriday_sales_order_id?: string | null;
|
|
52639
53523
|
id?: string;
|
|
53524
|
+
invoice_due_at?: string | null;
|
|
52640
53525
|
is_reservation?: boolean;
|
|
52641
53526
|
notes?: string | null;
|
|
52642
53527
|
order_date?: string;
|
|
@@ -52658,6 +53543,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
52658
53543
|
delivery_date?: string | null;
|
|
52659
53544
|
floriday_sales_order_id?: string | null;
|
|
52660
53545
|
id?: string;
|
|
53546
|
+
invoice_due_at?: string | null;
|
|
52661
53547
|
is_reservation?: boolean;
|
|
52662
53548
|
notes?: string | null;
|
|
52663
53549
|
order_date?: string;
|
|
@@ -53962,6 +54848,9 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
53962
54848
|
created_at: string;
|
|
53963
54849
|
id: string;
|
|
53964
54850
|
laatst_gezien: string;
|
|
54851
|
+
laatste_fout: string | null;
|
|
54852
|
+
laatste_request_id: number | null;
|
|
54853
|
+
mislukte_posts: number;
|
|
53965
54854
|
tick_sleutel: string;
|
|
53966
54855
|
updated_at: string;
|
|
53967
54856
|
};
|
|
@@ -53971,6 +54860,9 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
53971
54860
|
created_at?: string;
|
|
53972
54861
|
id?: string;
|
|
53973
54862
|
laatst_gezien?: string;
|
|
54863
|
+
laatste_fout?: string | null;
|
|
54864
|
+
laatste_request_id?: number | null;
|
|
54865
|
+
mislukte_posts?: number;
|
|
53974
54866
|
tick_sleutel?: string;
|
|
53975
54867
|
updated_at?: string;
|
|
53976
54868
|
};
|
|
@@ -53980,6 +54872,9 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
53980
54872
|
created_at?: string;
|
|
53981
54873
|
id?: string;
|
|
53982
54874
|
laatst_gezien?: string;
|
|
54875
|
+
laatste_fout?: string | null;
|
|
54876
|
+
laatste_request_id?: number | null;
|
|
54877
|
+
mislukte_posts?: number;
|
|
53983
54878
|
tick_sleutel?: string;
|
|
53984
54879
|
updated_at?: string;
|
|
53985
54880
|
};
|
|
@@ -53987,18 +54882,24 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
53987
54882
|
};
|
|
53988
54883
|
print_queue_settings: {
|
|
53989
54884
|
Row: {
|
|
54885
|
+
bewaar_bestanden_dagen: number;
|
|
54886
|
+
bewaar_opdrachten_dagen: number;
|
|
53990
54887
|
created_at: string;
|
|
53991
54888
|
dubbel_venster_minuten: number;
|
|
53992
54889
|
id: string;
|
|
53993
54890
|
updated_at: string;
|
|
53994
54891
|
};
|
|
53995
54892
|
Insert: {
|
|
54893
|
+
bewaar_bestanden_dagen?: number;
|
|
54894
|
+
bewaar_opdrachten_dagen?: number;
|
|
53996
54895
|
created_at?: string;
|
|
53997
54896
|
dubbel_venster_minuten?: number;
|
|
53998
54897
|
id?: string;
|
|
53999
54898
|
updated_at?: string;
|
|
54000
54899
|
};
|
|
54001
54900
|
Update: {
|
|
54901
|
+
bewaar_bestanden_dagen?: number;
|
|
54902
|
+
bewaar_opdrachten_dagen?: number;
|
|
54002
54903
|
created_at?: string;
|
|
54003
54904
|
dubbel_venster_minuten?: number;
|
|
54004
54905
|
id?: string;
|
|
@@ -56846,6 +57747,8 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
56846
57747
|
};
|
|
56847
57748
|
twinfield_invoice_settings: {
|
|
56848
57749
|
Row: {
|
|
57750
|
+
auto_invoice_enabled: boolean;
|
|
57751
|
+
auto_invoice_trigger_statuses: string[];
|
|
56849
57752
|
created_at: string;
|
|
56850
57753
|
debtor_gl_account: string;
|
|
56851
57754
|
default_credit_invoice_type: string | null;
|
|
@@ -56866,6 +57769,8 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
56866
57769
|
vat_code_export: string | null;
|
|
56867
57770
|
};
|
|
56868
57771
|
Insert: {
|
|
57772
|
+
auto_invoice_enabled?: boolean;
|
|
57773
|
+
auto_invoice_trigger_statuses?: string[];
|
|
56869
57774
|
created_at?: string;
|
|
56870
57775
|
debtor_gl_account?: string;
|
|
56871
57776
|
default_credit_invoice_type?: string | null;
|
|
@@ -56886,6 +57791,8 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
56886
57791
|
vat_code_export?: string | null;
|
|
56887
57792
|
};
|
|
56888
57793
|
Update: {
|
|
57794
|
+
auto_invoice_enabled?: boolean;
|
|
57795
|
+
auto_invoice_trigger_statuses?: string[];
|
|
56889
57796
|
created_at?: string;
|
|
56890
57797
|
debtor_gl_account?: string;
|
|
56891
57798
|
default_credit_invoice_type?: string | null;
|
|
@@ -57948,6 +58855,33 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
57948
58855
|
referencedColumns: ["id"];
|
|
57949
58856
|
}];
|
|
57950
58857
|
};
|
|
58858
|
+
user_module_permissions: {
|
|
58859
|
+
Row: {
|
|
58860
|
+
created_at: string;
|
|
58861
|
+
id: string;
|
|
58862
|
+
module_id: string;
|
|
58863
|
+
permission: string;
|
|
58864
|
+
updated_at: string;
|
|
58865
|
+
user_id: string;
|
|
58866
|
+
};
|
|
58867
|
+
Insert: {
|
|
58868
|
+
created_at?: string;
|
|
58869
|
+
id?: string;
|
|
58870
|
+
module_id: string;
|
|
58871
|
+
permission: string;
|
|
58872
|
+
updated_at?: string;
|
|
58873
|
+
user_id: string;
|
|
58874
|
+
};
|
|
58875
|
+
Update: {
|
|
58876
|
+
created_at?: string;
|
|
58877
|
+
id?: string;
|
|
58878
|
+
module_id?: string;
|
|
58879
|
+
permission?: string;
|
|
58880
|
+
updated_at?: string;
|
|
58881
|
+
user_id?: string;
|
|
58882
|
+
};
|
|
58883
|
+
Relationships: [];
|
|
58884
|
+
};
|
|
57951
58885
|
user_roles: {
|
|
57952
58886
|
Row: {
|
|
57953
58887
|
created_at: string;
|
|
@@ -59781,6 +60715,10 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
59781
60715
|
processed_items: number;
|
|
59782
60716
|
}[];
|
|
59783
60717
|
};
|
|
60718
|
+
backfill_order_auto_invoice_queue: {
|
|
60719
|
+
Args: never;
|
|
60720
|
+
Returns: number;
|
|
60721
|
+
};
|
|
59784
60722
|
calculate_layer_stock: {
|
|
59785
60723
|
Args: {
|
|
59786
60724
|
p_product_id: string;
|
|
@@ -60011,6 +60949,10 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
60011
60949
|
Args: never;
|
|
60012
60950
|
Returns: undefined;
|
|
60013
60951
|
};
|
|
60952
|
+
cleanup_voorraad_module_history: {
|
|
60953
|
+
Args: never;
|
|
60954
|
+
Returns: undefined;
|
|
60955
|
+
};
|
|
60014
60956
|
complete_floriday_stock_queue: {
|
|
60015
60957
|
Args: {
|
|
60016
60958
|
p_attempt_id?: string;
|
|
@@ -60132,6 +61074,13 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
60132
61074
|
};
|
|
60133
61075
|
Returns: import("../integrations/supabase/types").Json;
|
|
60134
61076
|
};
|
|
61077
|
+
effective_module_permission: {
|
|
61078
|
+
Args: {
|
|
61079
|
+
_module_id: string;
|
|
61080
|
+
_user_id: string;
|
|
61081
|
+
};
|
|
61082
|
+
Returns: string;
|
|
61083
|
+
};
|
|
60135
61084
|
email_auth_decrypt: {
|
|
60136
61085
|
Args: {
|
|
60137
61086
|
cipher: string;
|
|
@@ -61032,6 +61981,65 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
61032
61981
|
};
|
|
61033
61982
|
Returns: number;
|
|
61034
61983
|
};
|
|
61984
|
+
logistics_plan_claim: {
|
|
61985
|
+
Args: {
|
|
61986
|
+
p_limit?: number;
|
|
61987
|
+
};
|
|
61988
|
+
Returns: {
|
|
61989
|
+
attempts: number;
|
|
61990
|
+
id: string;
|
|
61991
|
+
order_id: string;
|
|
61992
|
+
}[];
|
|
61993
|
+
};
|
|
61994
|
+
logistics_plan_enqueue: {
|
|
61995
|
+
Args: {
|
|
61996
|
+
p_order_id: string;
|
|
61997
|
+
p_reason?: string;
|
|
61998
|
+
};
|
|
61999
|
+
Returns: undefined;
|
|
62000
|
+
};
|
|
62001
|
+
logistics_plan_ensure_event: {
|
|
62002
|
+
Args: {
|
|
62003
|
+
p_order_id: string;
|
|
62004
|
+
};
|
|
62005
|
+
Returns: boolean;
|
|
62006
|
+
};
|
|
62007
|
+
logistics_plan_finish: {
|
|
62008
|
+
Args: {
|
|
62009
|
+
p_error?: string;
|
|
62010
|
+
p_id: string;
|
|
62011
|
+
};
|
|
62012
|
+
Returns: undefined;
|
|
62013
|
+
};
|
|
62014
|
+
logistics_plan_impact_orders: {
|
|
62015
|
+
Args: {
|
|
62016
|
+
p_order_id: string;
|
|
62017
|
+
};
|
|
62018
|
+
Returns: {
|
|
62019
|
+
buffer_id: string;
|
|
62020
|
+
order_id: string;
|
|
62021
|
+
plan_date: string;
|
|
62022
|
+
}[];
|
|
62023
|
+
};
|
|
62024
|
+
logistics_plan_kick: {
|
|
62025
|
+
Args: never;
|
|
62026
|
+
Returns: undefined;
|
|
62027
|
+
};
|
|
62028
|
+
logistics_plan_prune: {
|
|
62029
|
+
Args: never;
|
|
62030
|
+
Returns: number;
|
|
62031
|
+
};
|
|
62032
|
+
logistics_plan_release_stale: {
|
|
62033
|
+
Args: never;
|
|
62034
|
+
Returns: number;
|
|
62035
|
+
};
|
|
62036
|
+
logistics_plan_setting: {
|
|
62037
|
+
Args: {
|
|
62038
|
+
p_default: number;
|
|
62039
|
+
p_key: string;
|
|
62040
|
+
};
|
|
62041
|
+
Returns: number;
|
|
62042
|
+
};
|
|
61035
62043
|
logistics_queue_capacity_email: {
|
|
61036
62044
|
Args: {
|
|
61037
62045
|
p_alert_id: string;
|
|
@@ -61270,6 +62278,13 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
61270
62278
|
};
|
|
61271
62279
|
Returns: undefined;
|
|
61272
62280
|
};
|
|
62281
|
+
my_module_permissions: {
|
|
62282
|
+
Args: never;
|
|
62283
|
+
Returns: {
|
|
62284
|
+
module_id: string;
|
|
62285
|
+
permission: string;
|
|
62286
|
+
}[];
|
|
62287
|
+
};
|
|
61273
62288
|
next_manufacture_partij: {
|
|
61274
62289
|
Args: {
|
|
61275
62290
|
_tenant_id: string;
|
|
@@ -61320,6 +62335,13 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
61320
62335
|
};
|
|
61321
62336
|
Returns: boolean;
|
|
61322
62337
|
};
|
|
62338
|
+
opruim_print_historie: {
|
|
62339
|
+
Args: never;
|
|
62340
|
+
Returns: {
|
|
62341
|
+
ontdaan: number;
|
|
62342
|
+
verwijderd: number;
|
|
62343
|
+
}[];
|
|
62344
|
+
};
|
|
61323
62345
|
order_number_prefix: {
|
|
61324
62346
|
Args: {
|
|
61325
62347
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -61714,6 +62736,12 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
61714
62736
|
};
|
|
61715
62737
|
Returns: undefined;
|
|
61716
62738
|
};
|
|
62739
|
+
reset_stalled_floriday_stock_queue: {
|
|
62740
|
+
Args: {
|
|
62741
|
+
p_include_failed?: boolean;
|
|
62742
|
+
};
|
|
62743
|
+
Returns: number;
|
|
62744
|
+
};
|
|
61717
62745
|
resolve_group_allocation: {
|
|
61718
62746
|
Args: {
|
|
61719
62747
|
_needed: number;
|
|
@@ -61768,6 +62796,10 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
61768
62796
|
Args: never;
|
|
61769
62797
|
Returns: undefined;
|
|
61770
62798
|
};
|
|
62799
|
+
run_floriday_stock_queue_process: {
|
|
62800
|
+
Args: never;
|
|
62801
|
+
Returns: undefined;
|
|
62802
|
+
};
|
|
61771
62803
|
run_logistics_tasks_dispatch: {
|
|
61772
62804
|
Args: never;
|
|
61773
62805
|
Returns: undefined;
|
|
@@ -62163,6 +63195,15 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
62163
63195
|
};
|
|
62164
63196
|
Returns: undefined;
|
|
62165
63197
|
};
|
|
63198
|
+
trade_item_stock_duplicates: {
|
|
63199
|
+
Args: never;
|
|
63200
|
+
Returns: {
|
|
63201
|
+
keys: string[];
|
|
63202
|
+
product_id: string;
|
|
63203
|
+
product_name: string;
|
|
63204
|
+
row_count: number;
|
|
63205
|
+
}[];
|
|
63206
|
+
};
|
|
62166
63207
|
try_debtor_lock: {
|
|
62167
63208
|
Args: {
|
|
62168
63209
|
_group_key: string;
|
|
@@ -68725,6 +69766,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
68725
69766
|
Row: {
|
|
68726
69767
|
buyer_organization_id: string | null;
|
|
68727
69768
|
connection_id: string;
|
|
69769
|
+
controlled_at: string | null;
|
|
68728
69770
|
created_at: string;
|
|
68729
69771
|
data: import("../integrations/supabase/types").Json;
|
|
68730
69772
|
floriday_id: string;
|
|
@@ -68736,6 +69778,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
68736
69778
|
Insert: {
|
|
68737
69779
|
buyer_organization_id?: string | null;
|
|
68738
69780
|
connection_id: string;
|
|
69781
|
+
controlled_at?: string | null;
|
|
68739
69782
|
created_at?: string;
|
|
68740
69783
|
data: import("../integrations/supabase/types").Json;
|
|
68741
69784
|
floriday_id: string;
|
|
@@ -68747,6 +69790,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
68747
69790
|
Update: {
|
|
68748
69791
|
buyer_organization_id?: string | null;
|
|
68749
69792
|
connection_id?: string;
|
|
69793
|
+
controlled_at?: string | null;
|
|
68750
69794
|
created_at?: string;
|
|
68751
69795
|
data?: import("../integrations/supabase/types").Json;
|
|
68752
69796
|
floriday_id?: string;
|
|
@@ -69648,6 +70692,54 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
69648
70692
|
};
|
|
69649
70693
|
Relationships: [];
|
|
69650
70694
|
};
|
|
70695
|
+
invoice_timing_settings: {
|
|
70696
|
+
Row: {
|
|
70697
|
+
anchor: string;
|
|
70698
|
+
business_days_only: boolean;
|
|
70699
|
+
created_at: string;
|
|
70700
|
+
enabled: boolean;
|
|
70701
|
+
id: string;
|
|
70702
|
+
offset_days: number;
|
|
70703
|
+
pickup_anchor: string;
|
|
70704
|
+
pickup_business_days_only: boolean;
|
|
70705
|
+
pickup_offset_days: number;
|
|
70706
|
+
pickup_time_of_day: string;
|
|
70707
|
+
singleton: boolean;
|
|
70708
|
+
time_of_day: string;
|
|
70709
|
+
updated_at: string;
|
|
70710
|
+
};
|
|
70711
|
+
Insert: {
|
|
70712
|
+
anchor?: string;
|
|
70713
|
+
business_days_only?: boolean;
|
|
70714
|
+
created_at?: string;
|
|
70715
|
+
enabled?: boolean;
|
|
70716
|
+
id?: string;
|
|
70717
|
+
offset_days?: number;
|
|
70718
|
+
pickup_anchor?: string;
|
|
70719
|
+
pickup_business_days_only?: boolean;
|
|
70720
|
+
pickup_offset_days?: number;
|
|
70721
|
+
pickup_time_of_day?: string;
|
|
70722
|
+
singleton?: boolean;
|
|
70723
|
+
time_of_day?: string;
|
|
70724
|
+
updated_at?: string;
|
|
70725
|
+
};
|
|
70726
|
+
Update: {
|
|
70727
|
+
anchor?: string;
|
|
70728
|
+
business_days_only?: boolean;
|
|
70729
|
+
created_at?: string;
|
|
70730
|
+
enabled?: boolean;
|
|
70731
|
+
id?: string;
|
|
70732
|
+
offset_days?: number;
|
|
70733
|
+
pickup_anchor?: string;
|
|
70734
|
+
pickup_business_days_only?: boolean;
|
|
70735
|
+
pickup_offset_days?: number;
|
|
70736
|
+
pickup_time_of_day?: string;
|
|
70737
|
+
singleton?: boolean;
|
|
70738
|
+
time_of_day?: string;
|
|
70739
|
+
updated_at?: string;
|
|
70740
|
+
};
|
|
70741
|
+
Relationships: [];
|
|
70742
|
+
};
|
|
69651
70743
|
itk_contact_persons: {
|
|
69652
70744
|
Row: {
|
|
69653
70745
|
created_at: string;
|
|
@@ -70878,6 +71970,45 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
70878
71970
|
};
|
|
70879
71971
|
Relationships: [];
|
|
70880
71972
|
};
|
|
71973
|
+
logistics_plan_queue: {
|
|
71974
|
+
Row: {
|
|
71975
|
+
attempts: number;
|
|
71976
|
+
claimed_at: string | null;
|
|
71977
|
+
enqueued_at: string;
|
|
71978
|
+
error: string | null;
|
|
71979
|
+
id: string;
|
|
71980
|
+
next_attempt_at: string;
|
|
71981
|
+
order_id: string;
|
|
71982
|
+
reason: string;
|
|
71983
|
+
status: string;
|
|
71984
|
+
updated_at: string;
|
|
71985
|
+
};
|
|
71986
|
+
Insert: {
|
|
71987
|
+
attempts?: number;
|
|
71988
|
+
claimed_at?: string | null;
|
|
71989
|
+
enqueued_at?: string;
|
|
71990
|
+
error?: string | null;
|
|
71991
|
+
id?: string;
|
|
71992
|
+
next_attempt_at?: string;
|
|
71993
|
+
order_id: string;
|
|
71994
|
+
reason?: string;
|
|
71995
|
+
status?: string;
|
|
71996
|
+
updated_at?: string;
|
|
71997
|
+
};
|
|
71998
|
+
Update: {
|
|
71999
|
+
attempts?: number;
|
|
72000
|
+
claimed_at?: string | null;
|
|
72001
|
+
enqueued_at?: string;
|
|
72002
|
+
error?: string | null;
|
|
72003
|
+
id?: string;
|
|
72004
|
+
next_attempt_at?: string;
|
|
72005
|
+
order_id?: string;
|
|
72006
|
+
reason?: string;
|
|
72007
|
+
status?: string;
|
|
72008
|
+
updated_at?: string;
|
|
72009
|
+
};
|
|
72010
|
+
Relationships: [];
|
|
72011
|
+
};
|
|
70881
72012
|
logistics_plan_runs: {
|
|
70882
72013
|
Row: {
|
|
70883
72014
|
created_at: string;
|
|
@@ -70953,6 +72084,24 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
70953
72084
|
referencedColumns: ["id"];
|
|
70954
72085
|
}];
|
|
70955
72086
|
};
|
|
72087
|
+
logistics_plan_settings: {
|
|
72088
|
+
Row: {
|
|
72089
|
+
key: string;
|
|
72090
|
+
updated_at: string;
|
|
72091
|
+
value: string;
|
|
72092
|
+
};
|
|
72093
|
+
Insert: {
|
|
72094
|
+
key: string;
|
|
72095
|
+
updated_at?: string;
|
|
72096
|
+
value: string;
|
|
72097
|
+
};
|
|
72098
|
+
Update: {
|
|
72099
|
+
key?: string;
|
|
72100
|
+
updated_at?: string;
|
|
72101
|
+
value?: string;
|
|
72102
|
+
};
|
|
72103
|
+
Relationships: [];
|
|
72104
|
+
};
|
|
70956
72105
|
logistics_rebuffer_state: {
|
|
70957
72106
|
Row: {
|
|
70958
72107
|
created_at: string;
|
|
@@ -71663,14 +72812,17 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
71663
72812
|
};
|
|
71664
72813
|
mailbox_messages: {
|
|
71665
72814
|
Row: {
|
|
72815
|
+
attachments: import("../integrations/supabase/types").Json;
|
|
71666
72816
|
body_html: string | null;
|
|
71667
72817
|
body_text: string | null;
|
|
72818
|
+
cc_recipients: import("../integrations/supabase/types").Json;
|
|
71668
72819
|
connection_id: string | null;
|
|
71669
72820
|
created_at: string;
|
|
71670
72821
|
error_message: string | null;
|
|
71671
72822
|
external_id: string | null;
|
|
71672
72823
|
from_email: string | null;
|
|
71673
72824
|
from_name: string | null;
|
|
72825
|
+
has_attachments: boolean;
|
|
71674
72826
|
id: string;
|
|
71675
72827
|
message_id: string | null;
|
|
71676
72828
|
profile_id: string | null;
|
|
@@ -71678,18 +72830,22 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
71678
72830
|
received_at: string | null;
|
|
71679
72831
|
status: string;
|
|
71680
72832
|
subject: string | null;
|
|
72833
|
+
to_recipients: import("../integrations/supabase/types").Json;
|
|
71681
72834
|
uid: number | null;
|
|
71682
72835
|
updated_at: string;
|
|
71683
72836
|
};
|
|
71684
72837
|
Insert: {
|
|
72838
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
71685
72839
|
body_html?: string | null;
|
|
71686
72840
|
body_text?: string | null;
|
|
72841
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
71687
72842
|
connection_id?: string | null;
|
|
71688
72843
|
created_at?: string;
|
|
71689
72844
|
error_message?: string | null;
|
|
71690
72845
|
external_id?: string | null;
|
|
71691
72846
|
from_email?: string | null;
|
|
71692
72847
|
from_name?: string | null;
|
|
72848
|
+
has_attachments?: boolean;
|
|
71693
72849
|
id?: string;
|
|
71694
72850
|
message_id?: string | null;
|
|
71695
72851
|
profile_id?: string | null;
|
|
@@ -71697,18 +72853,22 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
71697
72853
|
received_at?: string | null;
|
|
71698
72854
|
status?: string;
|
|
71699
72855
|
subject?: string | null;
|
|
72856
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
71700
72857
|
uid?: number | null;
|
|
71701
72858
|
updated_at?: string;
|
|
71702
72859
|
};
|
|
71703
72860
|
Update: {
|
|
72861
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
71704
72862
|
body_html?: string | null;
|
|
71705
72863
|
body_text?: string | null;
|
|
72864
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
71706
72865
|
connection_id?: string | null;
|
|
71707
72866
|
created_at?: string;
|
|
71708
72867
|
error_message?: string | null;
|
|
71709
72868
|
external_id?: string | null;
|
|
71710
72869
|
from_email?: string | null;
|
|
71711
72870
|
from_name?: string | null;
|
|
72871
|
+
has_attachments?: boolean;
|
|
71712
72872
|
id?: string;
|
|
71713
72873
|
message_id?: string | null;
|
|
71714
72874
|
profile_id?: string | null;
|
|
@@ -71716,6 +72876,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
71716
72876
|
received_at?: string | null;
|
|
71717
72877
|
status?: string;
|
|
71718
72878
|
subject?: string | null;
|
|
72879
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
71719
72880
|
uid?: number | null;
|
|
71720
72881
|
updated_at?: string;
|
|
71721
72882
|
};
|
|
@@ -72123,6 +73284,36 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
72123
73284
|
};
|
|
72124
73285
|
Relationships: [];
|
|
72125
73286
|
};
|
|
73287
|
+
module_registry: {
|
|
73288
|
+
Row: {
|
|
73289
|
+
created_at: string;
|
|
73290
|
+
is_active: boolean;
|
|
73291
|
+
last_seen_at: string;
|
|
73292
|
+
module_id: string;
|
|
73293
|
+
name: string;
|
|
73294
|
+
shell_id: string | null;
|
|
73295
|
+
sort_order: number | null;
|
|
73296
|
+
};
|
|
73297
|
+
Insert: {
|
|
73298
|
+
created_at?: string;
|
|
73299
|
+
is_active?: boolean;
|
|
73300
|
+
last_seen_at?: string;
|
|
73301
|
+
module_id: string;
|
|
73302
|
+
name: string;
|
|
73303
|
+
shell_id?: string | null;
|
|
73304
|
+
sort_order?: number | null;
|
|
73305
|
+
};
|
|
73306
|
+
Update: {
|
|
73307
|
+
created_at?: string;
|
|
73308
|
+
is_active?: boolean;
|
|
73309
|
+
last_seen_at?: string;
|
|
73310
|
+
module_id?: string;
|
|
73311
|
+
name?: string;
|
|
73312
|
+
shell_id?: string | null;
|
|
73313
|
+
sort_order?: number | null;
|
|
73314
|
+
};
|
|
73315
|
+
Relationships: [];
|
|
73316
|
+
};
|
|
72126
73317
|
module_runtime_config: {
|
|
72127
73318
|
Row: {
|
|
72128
73319
|
key: string;
|
|
@@ -73182,6 +74373,45 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
73182
74373
|
};
|
|
73183
74374
|
Relationships: [];
|
|
73184
74375
|
};
|
|
74376
|
+
order_invoice_links: {
|
|
74377
|
+
Row: {
|
|
74378
|
+
attempts: number;
|
|
74379
|
+
created_at: string;
|
|
74380
|
+
error_message: string | null;
|
|
74381
|
+
id: string;
|
|
74382
|
+
invoice_number: string | null;
|
|
74383
|
+
next_attempt_at: string;
|
|
74384
|
+
order_id: string;
|
|
74385
|
+
processed_at: string | null;
|
|
74386
|
+
status: string;
|
|
74387
|
+
updated_at: string;
|
|
74388
|
+
};
|
|
74389
|
+
Insert: {
|
|
74390
|
+
attempts?: number;
|
|
74391
|
+
created_at?: string;
|
|
74392
|
+
error_message?: string | null;
|
|
74393
|
+
id?: string;
|
|
74394
|
+
invoice_number?: string | null;
|
|
74395
|
+
next_attempt_at?: string;
|
|
74396
|
+
order_id: string;
|
|
74397
|
+
processed_at?: string | null;
|
|
74398
|
+
status?: string;
|
|
74399
|
+
updated_at?: string;
|
|
74400
|
+
};
|
|
74401
|
+
Update: {
|
|
74402
|
+
attempts?: number;
|
|
74403
|
+
created_at?: string;
|
|
74404
|
+
error_message?: string | null;
|
|
74405
|
+
id?: string;
|
|
74406
|
+
invoice_number?: string | null;
|
|
74407
|
+
next_attempt_at?: string;
|
|
74408
|
+
order_id?: string;
|
|
74409
|
+
processed_at?: string | null;
|
|
74410
|
+
status?: string;
|
|
74411
|
+
updated_at?: string;
|
|
74412
|
+
};
|
|
74413
|
+
Relationships: [];
|
|
74414
|
+
};
|
|
73185
74415
|
order_items: {
|
|
73186
74416
|
Row: {
|
|
73187
74417
|
crates_per_layer: number | null;
|
|
@@ -73364,6 +74594,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
73364
74594
|
delivery_date: string | null;
|
|
73365
74595
|
floriday_sales_order_id: string | null;
|
|
73366
74596
|
id: string;
|
|
74597
|
+
invoice_due_at: string | null;
|
|
73367
74598
|
is_reservation: boolean;
|
|
73368
74599
|
notes: string | null;
|
|
73369
74600
|
order_date: string;
|
|
@@ -73385,6 +74616,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
73385
74616
|
delivery_date?: string | null;
|
|
73386
74617
|
floriday_sales_order_id?: string | null;
|
|
73387
74618
|
id?: string;
|
|
74619
|
+
invoice_due_at?: string | null;
|
|
73388
74620
|
is_reservation?: boolean;
|
|
73389
74621
|
notes?: string | null;
|
|
73390
74622
|
order_date?: string;
|
|
@@ -73406,6 +74638,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
73406
74638
|
delivery_date?: string | null;
|
|
73407
74639
|
floriday_sales_order_id?: string | null;
|
|
73408
74640
|
id?: string;
|
|
74641
|
+
invoice_due_at?: string | null;
|
|
73409
74642
|
is_reservation?: boolean;
|
|
73410
74643
|
notes?: string | null;
|
|
73411
74644
|
order_date?: string;
|
|
@@ -74710,6 +75943,9 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
74710
75943
|
created_at: string;
|
|
74711
75944
|
id: string;
|
|
74712
75945
|
laatst_gezien: string;
|
|
75946
|
+
laatste_fout: string | null;
|
|
75947
|
+
laatste_request_id: number | null;
|
|
75948
|
+
mislukte_posts: number;
|
|
74713
75949
|
tick_sleutel: string;
|
|
74714
75950
|
updated_at: string;
|
|
74715
75951
|
};
|
|
@@ -74719,6 +75955,9 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
74719
75955
|
created_at?: string;
|
|
74720
75956
|
id?: string;
|
|
74721
75957
|
laatst_gezien?: string;
|
|
75958
|
+
laatste_fout?: string | null;
|
|
75959
|
+
laatste_request_id?: number | null;
|
|
75960
|
+
mislukte_posts?: number;
|
|
74722
75961
|
tick_sleutel?: string;
|
|
74723
75962
|
updated_at?: string;
|
|
74724
75963
|
};
|
|
@@ -74728,6 +75967,9 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
74728
75967
|
created_at?: string;
|
|
74729
75968
|
id?: string;
|
|
74730
75969
|
laatst_gezien?: string;
|
|
75970
|
+
laatste_fout?: string | null;
|
|
75971
|
+
laatste_request_id?: number | null;
|
|
75972
|
+
mislukte_posts?: number;
|
|
74731
75973
|
tick_sleutel?: string;
|
|
74732
75974
|
updated_at?: string;
|
|
74733
75975
|
};
|
|
@@ -74735,18 +75977,24 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
74735
75977
|
};
|
|
74736
75978
|
print_queue_settings: {
|
|
74737
75979
|
Row: {
|
|
75980
|
+
bewaar_bestanden_dagen: number;
|
|
75981
|
+
bewaar_opdrachten_dagen: number;
|
|
74738
75982
|
created_at: string;
|
|
74739
75983
|
dubbel_venster_minuten: number;
|
|
74740
75984
|
id: string;
|
|
74741
75985
|
updated_at: string;
|
|
74742
75986
|
};
|
|
74743
75987
|
Insert: {
|
|
75988
|
+
bewaar_bestanden_dagen?: number;
|
|
75989
|
+
bewaar_opdrachten_dagen?: number;
|
|
74744
75990
|
created_at?: string;
|
|
74745
75991
|
dubbel_venster_minuten?: number;
|
|
74746
75992
|
id?: string;
|
|
74747
75993
|
updated_at?: string;
|
|
74748
75994
|
};
|
|
74749
75995
|
Update: {
|
|
75996
|
+
bewaar_bestanden_dagen?: number;
|
|
75997
|
+
bewaar_opdrachten_dagen?: number;
|
|
74750
75998
|
created_at?: string;
|
|
74751
75999
|
dubbel_venster_minuten?: number;
|
|
74752
76000
|
id?: string;
|
|
@@ -77594,6 +78842,8 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
77594
78842
|
};
|
|
77595
78843
|
twinfield_invoice_settings: {
|
|
77596
78844
|
Row: {
|
|
78845
|
+
auto_invoice_enabled: boolean;
|
|
78846
|
+
auto_invoice_trigger_statuses: string[];
|
|
77597
78847
|
created_at: string;
|
|
77598
78848
|
debtor_gl_account: string;
|
|
77599
78849
|
default_credit_invoice_type: string | null;
|
|
@@ -77614,6 +78864,8 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
77614
78864
|
vat_code_export: string | null;
|
|
77615
78865
|
};
|
|
77616
78866
|
Insert: {
|
|
78867
|
+
auto_invoice_enabled?: boolean;
|
|
78868
|
+
auto_invoice_trigger_statuses?: string[];
|
|
77617
78869
|
created_at?: string;
|
|
77618
78870
|
debtor_gl_account?: string;
|
|
77619
78871
|
default_credit_invoice_type?: string | null;
|
|
@@ -77634,6 +78886,8 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
77634
78886
|
vat_code_export?: string | null;
|
|
77635
78887
|
};
|
|
77636
78888
|
Update: {
|
|
78889
|
+
auto_invoice_enabled?: boolean;
|
|
78890
|
+
auto_invoice_trigger_statuses?: string[];
|
|
77637
78891
|
created_at?: string;
|
|
77638
78892
|
debtor_gl_account?: string;
|
|
77639
78893
|
default_credit_invoice_type?: string | null;
|
|
@@ -78696,6 +79950,33 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
78696
79950
|
referencedColumns: ["id"];
|
|
78697
79951
|
}];
|
|
78698
79952
|
};
|
|
79953
|
+
user_module_permissions: {
|
|
79954
|
+
Row: {
|
|
79955
|
+
created_at: string;
|
|
79956
|
+
id: string;
|
|
79957
|
+
module_id: string;
|
|
79958
|
+
permission: string;
|
|
79959
|
+
updated_at: string;
|
|
79960
|
+
user_id: string;
|
|
79961
|
+
};
|
|
79962
|
+
Insert: {
|
|
79963
|
+
created_at?: string;
|
|
79964
|
+
id?: string;
|
|
79965
|
+
module_id: string;
|
|
79966
|
+
permission: string;
|
|
79967
|
+
updated_at?: string;
|
|
79968
|
+
user_id: string;
|
|
79969
|
+
};
|
|
79970
|
+
Update: {
|
|
79971
|
+
created_at?: string;
|
|
79972
|
+
id?: string;
|
|
79973
|
+
module_id?: string;
|
|
79974
|
+
permission?: string;
|
|
79975
|
+
updated_at?: string;
|
|
79976
|
+
user_id?: string;
|
|
79977
|
+
};
|
|
79978
|
+
Relationships: [];
|
|
79979
|
+
};
|
|
78699
79980
|
user_roles: {
|
|
78700
79981
|
Row: {
|
|
78701
79982
|
created_at: string;
|
|
@@ -80529,6 +81810,10 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
80529
81810
|
processed_items: number;
|
|
80530
81811
|
}[];
|
|
80531
81812
|
};
|
|
81813
|
+
backfill_order_auto_invoice_queue: {
|
|
81814
|
+
Args: never;
|
|
81815
|
+
Returns: number;
|
|
81816
|
+
};
|
|
80532
81817
|
calculate_layer_stock: {
|
|
80533
81818
|
Args: {
|
|
80534
81819
|
p_product_id: string;
|
|
@@ -80759,6 +82044,10 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
80759
82044
|
Args: never;
|
|
80760
82045
|
Returns: undefined;
|
|
80761
82046
|
};
|
|
82047
|
+
cleanup_voorraad_module_history: {
|
|
82048
|
+
Args: never;
|
|
82049
|
+
Returns: undefined;
|
|
82050
|
+
};
|
|
80762
82051
|
complete_floriday_stock_queue: {
|
|
80763
82052
|
Args: {
|
|
80764
82053
|
p_attempt_id?: string;
|
|
@@ -80880,6 +82169,13 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
80880
82169
|
};
|
|
80881
82170
|
Returns: import("../integrations/supabase/types").Json;
|
|
80882
82171
|
};
|
|
82172
|
+
effective_module_permission: {
|
|
82173
|
+
Args: {
|
|
82174
|
+
_module_id: string;
|
|
82175
|
+
_user_id: string;
|
|
82176
|
+
};
|
|
82177
|
+
Returns: string;
|
|
82178
|
+
};
|
|
80883
82179
|
email_auth_decrypt: {
|
|
80884
82180
|
Args: {
|
|
80885
82181
|
cipher: string;
|
|
@@ -81780,6 +83076,65 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
81780
83076
|
};
|
|
81781
83077
|
Returns: number;
|
|
81782
83078
|
};
|
|
83079
|
+
logistics_plan_claim: {
|
|
83080
|
+
Args: {
|
|
83081
|
+
p_limit?: number;
|
|
83082
|
+
};
|
|
83083
|
+
Returns: {
|
|
83084
|
+
attempts: number;
|
|
83085
|
+
id: string;
|
|
83086
|
+
order_id: string;
|
|
83087
|
+
}[];
|
|
83088
|
+
};
|
|
83089
|
+
logistics_plan_enqueue: {
|
|
83090
|
+
Args: {
|
|
83091
|
+
p_order_id: string;
|
|
83092
|
+
p_reason?: string;
|
|
83093
|
+
};
|
|
83094
|
+
Returns: undefined;
|
|
83095
|
+
};
|
|
83096
|
+
logistics_plan_ensure_event: {
|
|
83097
|
+
Args: {
|
|
83098
|
+
p_order_id: string;
|
|
83099
|
+
};
|
|
83100
|
+
Returns: boolean;
|
|
83101
|
+
};
|
|
83102
|
+
logistics_plan_finish: {
|
|
83103
|
+
Args: {
|
|
83104
|
+
p_error?: string;
|
|
83105
|
+
p_id: string;
|
|
83106
|
+
};
|
|
83107
|
+
Returns: undefined;
|
|
83108
|
+
};
|
|
83109
|
+
logistics_plan_impact_orders: {
|
|
83110
|
+
Args: {
|
|
83111
|
+
p_order_id: string;
|
|
83112
|
+
};
|
|
83113
|
+
Returns: {
|
|
83114
|
+
buffer_id: string;
|
|
83115
|
+
order_id: string;
|
|
83116
|
+
plan_date: string;
|
|
83117
|
+
}[];
|
|
83118
|
+
};
|
|
83119
|
+
logistics_plan_kick: {
|
|
83120
|
+
Args: never;
|
|
83121
|
+
Returns: undefined;
|
|
83122
|
+
};
|
|
83123
|
+
logistics_plan_prune: {
|
|
83124
|
+
Args: never;
|
|
83125
|
+
Returns: number;
|
|
83126
|
+
};
|
|
83127
|
+
logistics_plan_release_stale: {
|
|
83128
|
+
Args: never;
|
|
83129
|
+
Returns: number;
|
|
83130
|
+
};
|
|
83131
|
+
logistics_plan_setting: {
|
|
83132
|
+
Args: {
|
|
83133
|
+
p_default: number;
|
|
83134
|
+
p_key: string;
|
|
83135
|
+
};
|
|
83136
|
+
Returns: number;
|
|
83137
|
+
};
|
|
81783
83138
|
logistics_queue_capacity_email: {
|
|
81784
83139
|
Args: {
|
|
81785
83140
|
p_alert_id: string;
|
|
@@ -82018,6 +83373,13 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
82018
83373
|
};
|
|
82019
83374
|
Returns: undefined;
|
|
82020
83375
|
};
|
|
83376
|
+
my_module_permissions: {
|
|
83377
|
+
Args: never;
|
|
83378
|
+
Returns: {
|
|
83379
|
+
module_id: string;
|
|
83380
|
+
permission: string;
|
|
83381
|
+
}[];
|
|
83382
|
+
};
|
|
82021
83383
|
next_manufacture_partij: {
|
|
82022
83384
|
Args: {
|
|
82023
83385
|
_tenant_id: string;
|
|
@@ -82068,6 +83430,13 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
82068
83430
|
};
|
|
82069
83431
|
Returns: boolean;
|
|
82070
83432
|
};
|
|
83433
|
+
opruim_print_historie: {
|
|
83434
|
+
Args: never;
|
|
83435
|
+
Returns: {
|
|
83436
|
+
ontdaan: number;
|
|
83437
|
+
verwijderd: number;
|
|
83438
|
+
}[];
|
|
83439
|
+
};
|
|
82071
83440
|
order_number_prefix: {
|
|
82072
83441
|
Args: {
|
|
82073
83442
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -82462,6 +83831,12 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
82462
83831
|
};
|
|
82463
83832
|
Returns: undefined;
|
|
82464
83833
|
};
|
|
83834
|
+
reset_stalled_floriday_stock_queue: {
|
|
83835
|
+
Args: {
|
|
83836
|
+
p_include_failed?: boolean;
|
|
83837
|
+
};
|
|
83838
|
+
Returns: number;
|
|
83839
|
+
};
|
|
82465
83840
|
resolve_group_allocation: {
|
|
82466
83841
|
Args: {
|
|
82467
83842
|
_needed: number;
|
|
@@ -82516,6 +83891,10 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
82516
83891
|
Args: never;
|
|
82517
83892
|
Returns: undefined;
|
|
82518
83893
|
};
|
|
83894
|
+
run_floriday_stock_queue_process: {
|
|
83895
|
+
Args: never;
|
|
83896
|
+
Returns: undefined;
|
|
83897
|
+
};
|
|
82519
83898
|
run_logistics_tasks_dispatch: {
|
|
82520
83899
|
Args: never;
|
|
82521
83900
|
Returns: undefined;
|
|
@@ -82911,6 +84290,15 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
82911
84290
|
};
|
|
82912
84291
|
Returns: undefined;
|
|
82913
84292
|
};
|
|
84293
|
+
trade_item_stock_duplicates: {
|
|
84294
|
+
Args: never;
|
|
84295
|
+
Returns: {
|
|
84296
|
+
keys: string[];
|
|
84297
|
+
product_id: string;
|
|
84298
|
+
product_name: string;
|
|
84299
|
+
row_count: number;
|
|
84300
|
+
}[];
|
|
84301
|
+
};
|
|
82914
84302
|
try_debtor_lock: {
|
|
82915
84303
|
Args: {
|
|
82916
84304
|
_group_key: string;
|
|
@@ -89474,6 +90862,7 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
89474
90862
|
Row: {
|
|
89475
90863
|
buyer_organization_id: string | null;
|
|
89476
90864
|
connection_id: string;
|
|
90865
|
+
controlled_at: string | null;
|
|
89477
90866
|
created_at: string;
|
|
89478
90867
|
data: import("../integrations/supabase/types").Json;
|
|
89479
90868
|
floriday_id: string;
|
|
@@ -89485,6 +90874,7 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
89485
90874
|
Insert: {
|
|
89486
90875
|
buyer_organization_id?: string | null;
|
|
89487
90876
|
connection_id: string;
|
|
90877
|
+
controlled_at?: string | null;
|
|
89488
90878
|
created_at?: string;
|
|
89489
90879
|
data: import("../integrations/supabase/types").Json;
|
|
89490
90880
|
floriday_id: string;
|
|
@@ -89496,6 +90886,7 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
89496
90886
|
Update: {
|
|
89497
90887
|
buyer_organization_id?: string | null;
|
|
89498
90888
|
connection_id?: string;
|
|
90889
|
+
controlled_at?: string | null;
|
|
89499
90890
|
created_at?: string;
|
|
89500
90891
|
data?: import("../integrations/supabase/types").Json;
|
|
89501
90892
|
floriday_id?: string;
|
|
@@ -90397,6 +91788,54 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
90397
91788
|
};
|
|
90398
91789
|
Relationships: [];
|
|
90399
91790
|
};
|
|
91791
|
+
invoice_timing_settings: {
|
|
91792
|
+
Row: {
|
|
91793
|
+
anchor: string;
|
|
91794
|
+
business_days_only: boolean;
|
|
91795
|
+
created_at: string;
|
|
91796
|
+
enabled: boolean;
|
|
91797
|
+
id: string;
|
|
91798
|
+
offset_days: number;
|
|
91799
|
+
pickup_anchor: string;
|
|
91800
|
+
pickup_business_days_only: boolean;
|
|
91801
|
+
pickup_offset_days: number;
|
|
91802
|
+
pickup_time_of_day: string;
|
|
91803
|
+
singleton: boolean;
|
|
91804
|
+
time_of_day: string;
|
|
91805
|
+
updated_at: string;
|
|
91806
|
+
};
|
|
91807
|
+
Insert: {
|
|
91808
|
+
anchor?: string;
|
|
91809
|
+
business_days_only?: boolean;
|
|
91810
|
+
created_at?: string;
|
|
91811
|
+
enabled?: boolean;
|
|
91812
|
+
id?: string;
|
|
91813
|
+
offset_days?: number;
|
|
91814
|
+
pickup_anchor?: string;
|
|
91815
|
+
pickup_business_days_only?: boolean;
|
|
91816
|
+
pickup_offset_days?: number;
|
|
91817
|
+
pickup_time_of_day?: string;
|
|
91818
|
+
singleton?: boolean;
|
|
91819
|
+
time_of_day?: string;
|
|
91820
|
+
updated_at?: string;
|
|
91821
|
+
};
|
|
91822
|
+
Update: {
|
|
91823
|
+
anchor?: string;
|
|
91824
|
+
business_days_only?: boolean;
|
|
91825
|
+
created_at?: string;
|
|
91826
|
+
enabled?: boolean;
|
|
91827
|
+
id?: string;
|
|
91828
|
+
offset_days?: number;
|
|
91829
|
+
pickup_anchor?: string;
|
|
91830
|
+
pickup_business_days_only?: boolean;
|
|
91831
|
+
pickup_offset_days?: number;
|
|
91832
|
+
pickup_time_of_day?: string;
|
|
91833
|
+
singleton?: boolean;
|
|
91834
|
+
time_of_day?: string;
|
|
91835
|
+
updated_at?: string;
|
|
91836
|
+
};
|
|
91837
|
+
Relationships: [];
|
|
91838
|
+
};
|
|
90400
91839
|
itk_contact_persons: {
|
|
90401
91840
|
Row: {
|
|
90402
91841
|
created_at: string;
|
|
@@ -91627,6 +93066,45 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
91627
93066
|
};
|
|
91628
93067
|
Relationships: [];
|
|
91629
93068
|
};
|
|
93069
|
+
logistics_plan_queue: {
|
|
93070
|
+
Row: {
|
|
93071
|
+
attempts: number;
|
|
93072
|
+
claimed_at: string | null;
|
|
93073
|
+
enqueued_at: string;
|
|
93074
|
+
error: string | null;
|
|
93075
|
+
id: string;
|
|
93076
|
+
next_attempt_at: string;
|
|
93077
|
+
order_id: string;
|
|
93078
|
+
reason: string;
|
|
93079
|
+
status: string;
|
|
93080
|
+
updated_at: string;
|
|
93081
|
+
};
|
|
93082
|
+
Insert: {
|
|
93083
|
+
attempts?: number;
|
|
93084
|
+
claimed_at?: string | null;
|
|
93085
|
+
enqueued_at?: string;
|
|
93086
|
+
error?: string | null;
|
|
93087
|
+
id?: string;
|
|
93088
|
+
next_attempt_at?: string;
|
|
93089
|
+
order_id: string;
|
|
93090
|
+
reason?: string;
|
|
93091
|
+
status?: string;
|
|
93092
|
+
updated_at?: string;
|
|
93093
|
+
};
|
|
93094
|
+
Update: {
|
|
93095
|
+
attempts?: number;
|
|
93096
|
+
claimed_at?: string | null;
|
|
93097
|
+
enqueued_at?: string;
|
|
93098
|
+
error?: string | null;
|
|
93099
|
+
id?: string;
|
|
93100
|
+
next_attempt_at?: string;
|
|
93101
|
+
order_id?: string;
|
|
93102
|
+
reason?: string;
|
|
93103
|
+
status?: string;
|
|
93104
|
+
updated_at?: string;
|
|
93105
|
+
};
|
|
93106
|
+
Relationships: [];
|
|
93107
|
+
};
|
|
91630
93108
|
logistics_plan_runs: {
|
|
91631
93109
|
Row: {
|
|
91632
93110
|
created_at: string;
|
|
@@ -91702,6 +93180,24 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
91702
93180
|
referencedColumns: ["id"];
|
|
91703
93181
|
}];
|
|
91704
93182
|
};
|
|
93183
|
+
logistics_plan_settings: {
|
|
93184
|
+
Row: {
|
|
93185
|
+
key: string;
|
|
93186
|
+
updated_at: string;
|
|
93187
|
+
value: string;
|
|
93188
|
+
};
|
|
93189
|
+
Insert: {
|
|
93190
|
+
key: string;
|
|
93191
|
+
updated_at?: string;
|
|
93192
|
+
value: string;
|
|
93193
|
+
};
|
|
93194
|
+
Update: {
|
|
93195
|
+
key?: string;
|
|
93196
|
+
updated_at?: string;
|
|
93197
|
+
value?: string;
|
|
93198
|
+
};
|
|
93199
|
+
Relationships: [];
|
|
93200
|
+
};
|
|
91705
93201
|
logistics_rebuffer_state: {
|
|
91706
93202
|
Row: {
|
|
91707
93203
|
created_at: string;
|
|
@@ -92412,14 +93908,17 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
92412
93908
|
};
|
|
92413
93909
|
mailbox_messages: {
|
|
92414
93910
|
Row: {
|
|
93911
|
+
attachments: import("../integrations/supabase/types").Json;
|
|
92415
93912
|
body_html: string | null;
|
|
92416
93913
|
body_text: string | null;
|
|
93914
|
+
cc_recipients: import("../integrations/supabase/types").Json;
|
|
92417
93915
|
connection_id: string | null;
|
|
92418
93916
|
created_at: string;
|
|
92419
93917
|
error_message: string | null;
|
|
92420
93918
|
external_id: string | null;
|
|
92421
93919
|
from_email: string | null;
|
|
92422
93920
|
from_name: string | null;
|
|
93921
|
+
has_attachments: boolean;
|
|
92423
93922
|
id: string;
|
|
92424
93923
|
message_id: string | null;
|
|
92425
93924
|
profile_id: string | null;
|
|
@@ -92427,18 +93926,22 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
92427
93926
|
received_at: string | null;
|
|
92428
93927
|
status: string;
|
|
92429
93928
|
subject: string | null;
|
|
93929
|
+
to_recipients: import("../integrations/supabase/types").Json;
|
|
92430
93930
|
uid: number | null;
|
|
92431
93931
|
updated_at: string;
|
|
92432
93932
|
};
|
|
92433
93933
|
Insert: {
|
|
93934
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
92434
93935
|
body_html?: string | null;
|
|
92435
93936
|
body_text?: string | null;
|
|
93937
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
92436
93938
|
connection_id?: string | null;
|
|
92437
93939
|
created_at?: string;
|
|
92438
93940
|
error_message?: string | null;
|
|
92439
93941
|
external_id?: string | null;
|
|
92440
93942
|
from_email?: string | null;
|
|
92441
93943
|
from_name?: string | null;
|
|
93944
|
+
has_attachments?: boolean;
|
|
92442
93945
|
id?: string;
|
|
92443
93946
|
message_id?: string | null;
|
|
92444
93947
|
profile_id?: string | null;
|
|
@@ -92446,18 +93949,22 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
92446
93949
|
received_at?: string | null;
|
|
92447
93950
|
status?: string;
|
|
92448
93951
|
subject?: string | null;
|
|
93952
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
92449
93953
|
uid?: number | null;
|
|
92450
93954
|
updated_at?: string;
|
|
92451
93955
|
};
|
|
92452
93956
|
Update: {
|
|
93957
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
92453
93958
|
body_html?: string | null;
|
|
92454
93959
|
body_text?: string | null;
|
|
93960
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
92455
93961
|
connection_id?: string | null;
|
|
92456
93962
|
created_at?: string;
|
|
92457
93963
|
error_message?: string | null;
|
|
92458
93964
|
external_id?: string | null;
|
|
92459
93965
|
from_email?: string | null;
|
|
92460
93966
|
from_name?: string | null;
|
|
93967
|
+
has_attachments?: boolean;
|
|
92461
93968
|
id?: string;
|
|
92462
93969
|
message_id?: string | null;
|
|
92463
93970
|
profile_id?: string | null;
|
|
@@ -92465,6 +93972,7 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
92465
93972
|
received_at?: string | null;
|
|
92466
93973
|
status?: string;
|
|
92467
93974
|
subject?: string | null;
|
|
93975
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
92468
93976
|
uid?: number | null;
|
|
92469
93977
|
updated_at?: string;
|
|
92470
93978
|
};
|
|
@@ -92872,6 +94380,36 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
92872
94380
|
};
|
|
92873
94381
|
Relationships: [];
|
|
92874
94382
|
};
|
|
94383
|
+
module_registry: {
|
|
94384
|
+
Row: {
|
|
94385
|
+
created_at: string;
|
|
94386
|
+
is_active: boolean;
|
|
94387
|
+
last_seen_at: string;
|
|
94388
|
+
module_id: string;
|
|
94389
|
+
name: string;
|
|
94390
|
+
shell_id: string | null;
|
|
94391
|
+
sort_order: number | null;
|
|
94392
|
+
};
|
|
94393
|
+
Insert: {
|
|
94394
|
+
created_at?: string;
|
|
94395
|
+
is_active?: boolean;
|
|
94396
|
+
last_seen_at?: string;
|
|
94397
|
+
module_id: string;
|
|
94398
|
+
name: string;
|
|
94399
|
+
shell_id?: string | null;
|
|
94400
|
+
sort_order?: number | null;
|
|
94401
|
+
};
|
|
94402
|
+
Update: {
|
|
94403
|
+
created_at?: string;
|
|
94404
|
+
is_active?: boolean;
|
|
94405
|
+
last_seen_at?: string;
|
|
94406
|
+
module_id?: string;
|
|
94407
|
+
name?: string;
|
|
94408
|
+
shell_id?: string | null;
|
|
94409
|
+
sort_order?: number | null;
|
|
94410
|
+
};
|
|
94411
|
+
Relationships: [];
|
|
94412
|
+
};
|
|
92875
94413
|
module_runtime_config: {
|
|
92876
94414
|
Row: {
|
|
92877
94415
|
key: string;
|
|
@@ -93931,6 +95469,45 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
93931
95469
|
};
|
|
93932
95470
|
Relationships: [];
|
|
93933
95471
|
};
|
|
95472
|
+
order_invoice_links: {
|
|
95473
|
+
Row: {
|
|
95474
|
+
attempts: number;
|
|
95475
|
+
created_at: string;
|
|
95476
|
+
error_message: string | null;
|
|
95477
|
+
id: string;
|
|
95478
|
+
invoice_number: string | null;
|
|
95479
|
+
next_attempt_at: string;
|
|
95480
|
+
order_id: string;
|
|
95481
|
+
processed_at: string | null;
|
|
95482
|
+
status: string;
|
|
95483
|
+
updated_at: string;
|
|
95484
|
+
};
|
|
95485
|
+
Insert: {
|
|
95486
|
+
attempts?: number;
|
|
95487
|
+
created_at?: string;
|
|
95488
|
+
error_message?: string | null;
|
|
95489
|
+
id?: string;
|
|
95490
|
+
invoice_number?: string | null;
|
|
95491
|
+
next_attempt_at?: string;
|
|
95492
|
+
order_id: string;
|
|
95493
|
+
processed_at?: string | null;
|
|
95494
|
+
status?: string;
|
|
95495
|
+
updated_at?: string;
|
|
95496
|
+
};
|
|
95497
|
+
Update: {
|
|
95498
|
+
attempts?: number;
|
|
95499
|
+
created_at?: string;
|
|
95500
|
+
error_message?: string | null;
|
|
95501
|
+
id?: string;
|
|
95502
|
+
invoice_number?: string | null;
|
|
95503
|
+
next_attempt_at?: string;
|
|
95504
|
+
order_id?: string;
|
|
95505
|
+
processed_at?: string | null;
|
|
95506
|
+
status?: string;
|
|
95507
|
+
updated_at?: string;
|
|
95508
|
+
};
|
|
95509
|
+
Relationships: [];
|
|
95510
|
+
};
|
|
93934
95511
|
order_items: {
|
|
93935
95512
|
Row: {
|
|
93936
95513
|
crates_per_layer: number | null;
|
|
@@ -94113,6 +95690,7 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
94113
95690
|
delivery_date: string | null;
|
|
94114
95691
|
floriday_sales_order_id: string | null;
|
|
94115
95692
|
id: string;
|
|
95693
|
+
invoice_due_at: string | null;
|
|
94116
95694
|
is_reservation: boolean;
|
|
94117
95695
|
notes: string | null;
|
|
94118
95696
|
order_date: string;
|
|
@@ -94134,6 +95712,7 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
94134
95712
|
delivery_date?: string | null;
|
|
94135
95713
|
floriday_sales_order_id?: string | null;
|
|
94136
95714
|
id?: string;
|
|
95715
|
+
invoice_due_at?: string | null;
|
|
94137
95716
|
is_reservation?: boolean;
|
|
94138
95717
|
notes?: string | null;
|
|
94139
95718
|
order_date?: string;
|
|
@@ -94155,6 +95734,7 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
94155
95734
|
delivery_date?: string | null;
|
|
94156
95735
|
floriday_sales_order_id?: string | null;
|
|
94157
95736
|
id?: string;
|
|
95737
|
+
invoice_due_at?: string | null;
|
|
94158
95738
|
is_reservation?: boolean;
|
|
94159
95739
|
notes?: string | null;
|
|
94160
95740
|
order_date?: string;
|
|
@@ -95459,6 +97039,9 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
95459
97039
|
created_at: string;
|
|
95460
97040
|
id: string;
|
|
95461
97041
|
laatst_gezien: string;
|
|
97042
|
+
laatste_fout: string | null;
|
|
97043
|
+
laatste_request_id: number | null;
|
|
97044
|
+
mislukte_posts: number;
|
|
95462
97045
|
tick_sleutel: string;
|
|
95463
97046
|
updated_at: string;
|
|
95464
97047
|
};
|
|
@@ -95468,6 +97051,9 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
95468
97051
|
created_at?: string;
|
|
95469
97052
|
id?: string;
|
|
95470
97053
|
laatst_gezien?: string;
|
|
97054
|
+
laatste_fout?: string | null;
|
|
97055
|
+
laatste_request_id?: number | null;
|
|
97056
|
+
mislukte_posts?: number;
|
|
95471
97057
|
tick_sleutel?: string;
|
|
95472
97058
|
updated_at?: string;
|
|
95473
97059
|
};
|
|
@@ -95477,6 +97063,9 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
95477
97063
|
created_at?: string;
|
|
95478
97064
|
id?: string;
|
|
95479
97065
|
laatst_gezien?: string;
|
|
97066
|
+
laatste_fout?: string | null;
|
|
97067
|
+
laatste_request_id?: number | null;
|
|
97068
|
+
mislukte_posts?: number;
|
|
95480
97069
|
tick_sleutel?: string;
|
|
95481
97070
|
updated_at?: string;
|
|
95482
97071
|
};
|
|
@@ -95484,18 +97073,24 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
95484
97073
|
};
|
|
95485
97074
|
print_queue_settings: {
|
|
95486
97075
|
Row: {
|
|
97076
|
+
bewaar_bestanden_dagen: number;
|
|
97077
|
+
bewaar_opdrachten_dagen: number;
|
|
95487
97078
|
created_at: string;
|
|
95488
97079
|
dubbel_venster_minuten: number;
|
|
95489
97080
|
id: string;
|
|
95490
97081
|
updated_at: string;
|
|
95491
97082
|
};
|
|
95492
97083
|
Insert: {
|
|
97084
|
+
bewaar_bestanden_dagen?: number;
|
|
97085
|
+
bewaar_opdrachten_dagen?: number;
|
|
95493
97086
|
created_at?: string;
|
|
95494
97087
|
dubbel_venster_minuten?: number;
|
|
95495
97088
|
id?: string;
|
|
95496
97089
|
updated_at?: string;
|
|
95497
97090
|
};
|
|
95498
97091
|
Update: {
|
|
97092
|
+
bewaar_bestanden_dagen?: number;
|
|
97093
|
+
bewaar_opdrachten_dagen?: number;
|
|
95499
97094
|
created_at?: string;
|
|
95500
97095
|
dubbel_venster_minuten?: number;
|
|
95501
97096
|
id?: string;
|
|
@@ -98343,6 +99938,8 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
98343
99938
|
};
|
|
98344
99939
|
twinfield_invoice_settings: {
|
|
98345
99940
|
Row: {
|
|
99941
|
+
auto_invoice_enabled: boolean;
|
|
99942
|
+
auto_invoice_trigger_statuses: string[];
|
|
98346
99943
|
created_at: string;
|
|
98347
99944
|
debtor_gl_account: string;
|
|
98348
99945
|
default_credit_invoice_type: string | null;
|
|
@@ -98363,6 +99960,8 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
98363
99960
|
vat_code_export: string | null;
|
|
98364
99961
|
};
|
|
98365
99962
|
Insert: {
|
|
99963
|
+
auto_invoice_enabled?: boolean;
|
|
99964
|
+
auto_invoice_trigger_statuses?: string[];
|
|
98366
99965
|
created_at?: string;
|
|
98367
99966
|
debtor_gl_account?: string;
|
|
98368
99967
|
default_credit_invoice_type?: string | null;
|
|
@@ -98383,6 +99982,8 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
98383
99982
|
vat_code_export?: string | null;
|
|
98384
99983
|
};
|
|
98385
99984
|
Update: {
|
|
99985
|
+
auto_invoice_enabled?: boolean;
|
|
99986
|
+
auto_invoice_trigger_statuses?: string[];
|
|
98386
99987
|
created_at?: string;
|
|
98387
99988
|
debtor_gl_account?: string;
|
|
98388
99989
|
default_credit_invoice_type?: string | null;
|
|
@@ -99445,6 +101046,33 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
99445
101046
|
referencedColumns: ["id"];
|
|
99446
101047
|
}];
|
|
99447
101048
|
};
|
|
101049
|
+
user_module_permissions: {
|
|
101050
|
+
Row: {
|
|
101051
|
+
created_at: string;
|
|
101052
|
+
id: string;
|
|
101053
|
+
module_id: string;
|
|
101054
|
+
permission: string;
|
|
101055
|
+
updated_at: string;
|
|
101056
|
+
user_id: string;
|
|
101057
|
+
};
|
|
101058
|
+
Insert: {
|
|
101059
|
+
created_at?: string;
|
|
101060
|
+
id?: string;
|
|
101061
|
+
module_id: string;
|
|
101062
|
+
permission: string;
|
|
101063
|
+
updated_at?: string;
|
|
101064
|
+
user_id: string;
|
|
101065
|
+
};
|
|
101066
|
+
Update: {
|
|
101067
|
+
created_at?: string;
|
|
101068
|
+
id?: string;
|
|
101069
|
+
module_id?: string;
|
|
101070
|
+
permission?: string;
|
|
101071
|
+
updated_at?: string;
|
|
101072
|
+
user_id?: string;
|
|
101073
|
+
};
|
|
101074
|
+
Relationships: [];
|
|
101075
|
+
};
|
|
99448
101076
|
user_roles: {
|
|
99449
101077
|
Row: {
|
|
99450
101078
|
created_at: string;
|
|
@@ -101278,6 +102906,10 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
101278
102906
|
processed_items: number;
|
|
101279
102907
|
}[];
|
|
101280
102908
|
};
|
|
102909
|
+
backfill_order_auto_invoice_queue: {
|
|
102910
|
+
Args: never;
|
|
102911
|
+
Returns: number;
|
|
102912
|
+
};
|
|
101281
102913
|
calculate_layer_stock: {
|
|
101282
102914
|
Args: {
|
|
101283
102915
|
p_product_id: string;
|
|
@@ -101508,6 +103140,10 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
101508
103140
|
Args: never;
|
|
101509
103141
|
Returns: undefined;
|
|
101510
103142
|
};
|
|
103143
|
+
cleanup_voorraad_module_history: {
|
|
103144
|
+
Args: never;
|
|
103145
|
+
Returns: undefined;
|
|
103146
|
+
};
|
|
101511
103147
|
complete_floriday_stock_queue: {
|
|
101512
103148
|
Args: {
|
|
101513
103149
|
p_attempt_id?: string;
|
|
@@ -101629,6 +103265,13 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
101629
103265
|
};
|
|
101630
103266
|
Returns: import("../integrations/supabase/types").Json;
|
|
101631
103267
|
};
|
|
103268
|
+
effective_module_permission: {
|
|
103269
|
+
Args: {
|
|
103270
|
+
_module_id: string;
|
|
103271
|
+
_user_id: string;
|
|
103272
|
+
};
|
|
103273
|
+
Returns: string;
|
|
103274
|
+
};
|
|
101632
103275
|
email_auth_decrypt: {
|
|
101633
103276
|
Args: {
|
|
101634
103277
|
cipher: string;
|
|
@@ -102529,6 +104172,65 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
102529
104172
|
};
|
|
102530
104173
|
Returns: number;
|
|
102531
104174
|
};
|
|
104175
|
+
logistics_plan_claim: {
|
|
104176
|
+
Args: {
|
|
104177
|
+
p_limit?: number;
|
|
104178
|
+
};
|
|
104179
|
+
Returns: {
|
|
104180
|
+
attempts: number;
|
|
104181
|
+
id: string;
|
|
104182
|
+
order_id: string;
|
|
104183
|
+
}[];
|
|
104184
|
+
};
|
|
104185
|
+
logistics_plan_enqueue: {
|
|
104186
|
+
Args: {
|
|
104187
|
+
p_order_id: string;
|
|
104188
|
+
p_reason?: string;
|
|
104189
|
+
};
|
|
104190
|
+
Returns: undefined;
|
|
104191
|
+
};
|
|
104192
|
+
logistics_plan_ensure_event: {
|
|
104193
|
+
Args: {
|
|
104194
|
+
p_order_id: string;
|
|
104195
|
+
};
|
|
104196
|
+
Returns: boolean;
|
|
104197
|
+
};
|
|
104198
|
+
logistics_plan_finish: {
|
|
104199
|
+
Args: {
|
|
104200
|
+
p_error?: string;
|
|
104201
|
+
p_id: string;
|
|
104202
|
+
};
|
|
104203
|
+
Returns: undefined;
|
|
104204
|
+
};
|
|
104205
|
+
logistics_plan_impact_orders: {
|
|
104206
|
+
Args: {
|
|
104207
|
+
p_order_id: string;
|
|
104208
|
+
};
|
|
104209
|
+
Returns: {
|
|
104210
|
+
buffer_id: string;
|
|
104211
|
+
order_id: string;
|
|
104212
|
+
plan_date: string;
|
|
104213
|
+
}[];
|
|
104214
|
+
};
|
|
104215
|
+
logistics_plan_kick: {
|
|
104216
|
+
Args: never;
|
|
104217
|
+
Returns: undefined;
|
|
104218
|
+
};
|
|
104219
|
+
logistics_plan_prune: {
|
|
104220
|
+
Args: never;
|
|
104221
|
+
Returns: number;
|
|
104222
|
+
};
|
|
104223
|
+
logistics_plan_release_stale: {
|
|
104224
|
+
Args: never;
|
|
104225
|
+
Returns: number;
|
|
104226
|
+
};
|
|
104227
|
+
logistics_plan_setting: {
|
|
104228
|
+
Args: {
|
|
104229
|
+
p_default: number;
|
|
104230
|
+
p_key: string;
|
|
104231
|
+
};
|
|
104232
|
+
Returns: number;
|
|
104233
|
+
};
|
|
102532
104234
|
logistics_queue_capacity_email: {
|
|
102533
104235
|
Args: {
|
|
102534
104236
|
p_alert_id: string;
|
|
@@ -102767,6 +104469,13 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
102767
104469
|
};
|
|
102768
104470
|
Returns: undefined;
|
|
102769
104471
|
};
|
|
104472
|
+
my_module_permissions: {
|
|
104473
|
+
Args: never;
|
|
104474
|
+
Returns: {
|
|
104475
|
+
module_id: string;
|
|
104476
|
+
permission: string;
|
|
104477
|
+
}[];
|
|
104478
|
+
};
|
|
102770
104479
|
next_manufacture_partij: {
|
|
102771
104480
|
Args: {
|
|
102772
104481
|
_tenant_id: string;
|
|
@@ -102817,6 +104526,13 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
102817
104526
|
};
|
|
102818
104527
|
Returns: boolean;
|
|
102819
104528
|
};
|
|
104529
|
+
opruim_print_historie: {
|
|
104530
|
+
Args: never;
|
|
104531
|
+
Returns: {
|
|
104532
|
+
ontdaan: number;
|
|
104533
|
+
verwijderd: number;
|
|
104534
|
+
}[];
|
|
104535
|
+
};
|
|
102820
104536
|
order_number_prefix: {
|
|
102821
104537
|
Args: {
|
|
102822
104538
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -103211,6 +104927,12 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
103211
104927
|
};
|
|
103212
104928
|
Returns: undefined;
|
|
103213
104929
|
};
|
|
104930
|
+
reset_stalled_floriday_stock_queue: {
|
|
104931
|
+
Args: {
|
|
104932
|
+
p_include_failed?: boolean;
|
|
104933
|
+
};
|
|
104934
|
+
Returns: number;
|
|
104935
|
+
};
|
|
103214
104936
|
resolve_group_allocation: {
|
|
103215
104937
|
Args: {
|
|
103216
104938
|
_needed: number;
|
|
@@ -103265,6 +104987,10 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
103265
104987
|
Args: never;
|
|
103266
104988
|
Returns: undefined;
|
|
103267
104989
|
};
|
|
104990
|
+
run_floriday_stock_queue_process: {
|
|
104991
|
+
Args: never;
|
|
104992
|
+
Returns: undefined;
|
|
104993
|
+
};
|
|
103268
104994
|
run_logistics_tasks_dispatch: {
|
|
103269
104995
|
Args: never;
|
|
103270
104996
|
Returns: undefined;
|
|
@@ -103660,6 +105386,15 @@ export declare const wachtrijTick: import("@tanstack/start-client-core").Optiona
|
|
|
103660
105386
|
};
|
|
103661
105387
|
Returns: undefined;
|
|
103662
105388
|
};
|
|
105389
|
+
trade_item_stock_duplicates: {
|
|
105390
|
+
Args: never;
|
|
105391
|
+
Returns: {
|
|
105392
|
+
keys: string[];
|
|
105393
|
+
product_id: string;
|
|
105394
|
+
product_name: string;
|
|
105395
|
+
row_count: number;
|
|
105396
|
+
}[];
|
|
105397
|
+
};
|
|
103663
105398
|
try_debtor_lock: {
|
|
103664
105399
|
Args: {
|
|
103665
105400
|
_group_key: string;
|