@flowselections/logistiek-engine 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/LogistiekEnginePage.d.ts.map +1 -1
- package/dist-lib/components/LogistiekEnginePage.js +19 -4
- package/dist-lib/components/StrategieDialog.d.ts.map +1 -1
- package/dist-lib/components/StrategieDialog.js +1 -1
- package/dist-lib/hooks/useLogistiekStrategieen.d.ts +2 -1
- package/dist-lib/hooks/useLogistiekStrategieen.d.ts.map +1 -1
- package/dist-lib/hooks/useLogistiekStrategieen.js +72 -2
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +396 -3
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +396 -3
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +396 -3
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +396 -3
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.functions.d.ts +1188 -9
- package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
- package/dist-lib/lib/floridayPush.functions.d.ts +396 -3
- package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
- package/dist-lib/lib/handlers/logistics-tick.server.d.ts.map +1 -1
- package/dist-lib/lib/handlers/logistics-tick.server.js +12 -1
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +1980 -15
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +792 -6
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts +396 -3
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.js +25 -0
- package/dist-lib/lib/planQueue.server.d.ts +17 -0
- package/dist-lib/lib/planQueue.server.d.ts.map +1 -0
- package/dist-lib/lib/planQueue.server.js +124 -0
- package/package.json +1 -1
|
@@ -1684,7 +1684,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
1684
1684
|
city: string | null;
|
|
1685
1685
|
country: string | null;
|
|
1686
1686
|
created_at: string;
|
|
1687
|
-
customer_id: string
|
|
1687
|
+
customer_id: string;
|
|
1688
1688
|
external_key: string | null;
|
|
1689
1689
|
external_provider: string | null;
|
|
1690
1690
|
floriday_location_id: string | null;
|
|
@@ -1708,7 +1708,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
1708
1708
|
city?: string | null;
|
|
1709
1709
|
country?: string | null;
|
|
1710
1710
|
created_at?: string;
|
|
1711
|
-
customer_id
|
|
1711
|
+
customer_id: string;
|
|
1712
1712
|
external_key?: string | null;
|
|
1713
1713
|
external_provider?: string | null;
|
|
1714
1714
|
floriday_location_id?: string | null;
|
|
@@ -1732,7 +1732,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
1732
1732
|
city?: string | null;
|
|
1733
1733
|
country?: string | null;
|
|
1734
1734
|
created_at?: string;
|
|
1735
|
-
customer_id?: string
|
|
1735
|
+
customer_id?: string;
|
|
1736
1736
|
external_key?: string | null;
|
|
1737
1737
|
external_provider?: string | null;
|
|
1738
1738
|
floriday_location_id?: string | null;
|
|
@@ -6480,6 +6480,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
6480
6480
|
Row: {
|
|
6481
6481
|
buyer_organization_id: string | null;
|
|
6482
6482
|
connection_id: string;
|
|
6483
|
+
controlled_at: string | null;
|
|
6483
6484
|
created_at: string;
|
|
6484
6485
|
data: import("../integrations/supabase/types").Json;
|
|
6485
6486
|
floriday_id: string;
|
|
@@ -6491,6 +6492,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
6491
6492
|
Insert: {
|
|
6492
6493
|
buyer_organization_id?: string | null;
|
|
6493
6494
|
connection_id: string;
|
|
6495
|
+
controlled_at?: string | null;
|
|
6494
6496
|
created_at?: string;
|
|
6495
6497
|
data: import("../integrations/supabase/types").Json;
|
|
6496
6498
|
floriday_id: string;
|
|
@@ -6502,6 +6504,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
6502
6504
|
Update: {
|
|
6503
6505
|
buyer_organization_id?: string | null;
|
|
6504
6506
|
connection_id?: string;
|
|
6507
|
+
controlled_at?: string | null;
|
|
6505
6508
|
created_at?: string;
|
|
6506
6509
|
data?: import("../integrations/supabase/types").Json;
|
|
6507
6510
|
floriday_id?: string;
|
|
@@ -7403,6 +7406,54 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
7403
7406
|
};
|
|
7404
7407
|
Relationships: [];
|
|
7405
7408
|
};
|
|
7409
|
+
invoice_timing_settings: {
|
|
7410
|
+
Row: {
|
|
7411
|
+
anchor: string;
|
|
7412
|
+
business_days_only: boolean;
|
|
7413
|
+
created_at: string;
|
|
7414
|
+
enabled: boolean;
|
|
7415
|
+
id: string;
|
|
7416
|
+
offset_days: number;
|
|
7417
|
+
pickup_anchor: string;
|
|
7418
|
+
pickup_business_days_only: boolean;
|
|
7419
|
+
pickup_offset_days: number;
|
|
7420
|
+
pickup_time_of_day: string;
|
|
7421
|
+
singleton: boolean;
|
|
7422
|
+
time_of_day: string;
|
|
7423
|
+
updated_at: string;
|
|
7424
|
+
};
|
|
7425
|
+
Insert: {
|
|
7426
|
+
anchor?: string;
|
|
7427
|
+
business_days_only?: boolean;
|
|
7428
|
+
created_at?: string;
|
|
7429
|
+
enabled?: boolean;
|
|
7430
|
+
id?: string;
|
|
7431
|
+
offset_days?: number;
|
|
7432
|
+
pickup_anchor?: string;
|
|
7433
|
+
pickup_business_days_only?: boolean;
|
|
7434
|
+
pickup_offset_days?: number;
|
|
7435
|
+
pickup_time_of_day?: string;
|
|
7436
|
+
singleton?: boolean;
|
|
7437
|
+
time_of_day?: string;
|
|
7438
|
+
updated_at?: string;
|
|
7439
|
+
};
|
|
7440
|
+
Update: {
|
|
7441
|
+
anchor?: string;
|
|
7442
|
+
business_days_only?: boolean;
|
|
7443
|
+
created_at?: string;
|
|
7444
|
+
enabled?: boolean;
|
|
7445
|
+
id?: string;
|
|
7446
|
+
offset_days?: number;
|
|
7447
|
+
pickup_anchor?: string;
|
|
7448
|
+
pickup_business_days_only?: boolean;
|
|
7449
|
+
pickup_offset_days?: number;
|
|
7450
|
+
pickup_time_of_day?: string;
|
|
7451
|
+
singleton?: boolean;
|
|
7452
|
+
time_of_day?: string;
|
|
7453
|
+
updated_at?: string;
|
|
7454
|
+
};
|
|
7455
|
+
Relationships: [];
|
|
7456
|
+
};
|
|
7406
7457
|
itk_contact_persons: {
|
|
7407
7458
|
Row: {
|
|
7408
7459
|
created_at: string;
|
|
@@ -8633,6 +8684,45 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
8633
8684
|
};
|
|
8634
8685
|
Relationships: [];
|
|
8635
8686
|
};
|
|
8687
|
+
logistics_plan_queue: {
|
|
8688
|
+
Row: {
|
|
8689
|
+
attempts: number;
|
|
8690
|
+
claimed_at: string | null;
|
|
8691
|
+
enqueued_at: string;
|
|
8692
|
+
error: string | null;
|
|
8693
|
+
id: string;
|
|
8694
|
+
next_attempt_at: string;
|
|
8695
|
+
order_id: string;
|
|
8696
|
+
reason: string;
|
|
8697
|
+
status: string;
|
|
8698
|
+
updated_at: string;
|
|
8699
|
+
};
|
|
8700
|
+
Insert: {
|
|
8701
|
+
attempts?: number;
|
|
8702
|
+
claimed_at?: string | null;
|
|
8703
|
+
enqueued_at?: string;
|
|
8704
|
+
error?: string | null;
|
|
8705
|
+
id?: string;
|
|
8706
|
+
next_attempt_at?: string;
|
|
8707
|
+
order_id: string;
|
|
8708
|
+
reason?: string;
|
|
8709
|
+
status?: string;
|
|
8710
|
+
updated_at?: string;
|
|
8711
|
+
};
|
|
8712
|
+
Update: {
|
|
8713
|
+
attempts?: number;
|
|
8714
|
+
claimed_at?: string | null;
|
|
8715
|
+
enqueued_at?: string;
|
|
8716
|
+
error?: string | null;
|
|
8717
|
+
id?: string;
|
|
8718
|
+
next_attempt_at?: string;
|
|
8719
|
+
order_id?: string;
|
|
8720
|
+
reason?: string;
|
|
8721
|
+
status?: string;
|
|
8722
|
+
updated_at?: string;
|
|
8723
|
+
};
|
|
8724
|
+
Relationships: [];
|
|
8725
|
+
};
|
|
8636
8726
|
logistics_plan_runs: {
|
|
8637
8727
|
Row: {
|
|
8638
8728
|
created_at: string;
|
|
@@ -8708,6 +8798,24 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
8708
8798
|
referencedColumns: ["id"];
|
|
8709
8799
|
}];
|
|
8710
8800
|
};
|
|
8801
|
+
logistics_plan_settings: {
|
|
8802
|
+
Row: {
|
|
8803
|
+
key: string;
|
|
8804
|
+
updated_at: string;
|
|
8805
|
+
value: string;
|
|
8806
|
+
};
|
|
8807
|
+
Insert: {
|
|
8808
|
+
key: string;
|
|
8809
|
+
updated_at?: string;
|
|
8810
|
+
value: string;
|
|
8811
|
+
};
|
|
8812
|
+
Update: {
|
|
8813
|
+
key?: string;
|
|
8814
|
+
updated_at?: string;
|
|
8815
|
+
value?: string;
|
|
8816
|
+
};
|
|
8817
|
+
Relationships: [];
|
|
8818
|
+
};
|
|
8711
8819
|
logistics_rebuffer_state: {
|
|
8712
8820
|
Row: {
|
|
8713
8821
|
created_at: string;
|
|
@@ -9418,14 +9526,17 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
9418
9526
|
};
|
|
9419
9527
|
mailbox_messages: {
|
|
9420
9528
|
Row: {
|
|
9529
|
+
attachments: import("../integrations/supabase/types").Json;
|
|
9421
9530
|
body_html: string | null;
|
|
9422
9531
|
body_text: string | null;
|
|
9532
|
+
cc_recipients: import("../integrations/supabase/types").Json;
|
|
9423
9533
|
connection_id: string | null;
|
|
9424
9534
|
created_at: string;
|
|
9425
9535
|
error_message: string | null;
|
|
9426
9536
|
external_id: string | null;
|
|
9427
9537
|
from_email: string | null;
|
|
9428
9538
|
from_name: string | null;
|
|
9539
|
+
has_attachments: boolean;
|
|
9429
9540
|
id: string;
|
|
9430
9541
|
message_id: string | null;
|
|
9431
9542
|
profile_id: string | null;
|
|
@@ -9433,18 +9544,22 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
9433
9544
|
received_at: string | null;
|
|
9434
9545
|
status: string;
|
|
9435
9546
|
subject: string | null;
|
|
9547
|
+
to_recipients: import("../integrations/supabase/types").Json;
|
|
9436
9548
|
uid: number | null;
|
|
9437
9549
|
updated_at: string;
|
|
9438
9550
|
};
|
|
9439
9551
|
Insert: {
|
|
9552
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
9440
9553
|
body_html?: string | null;
|
|
9441
9554
|
body_text?: string | null;
|
|
9555
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
9442
9556
|
connection_id?: string | null;
|
|
9443
9557
|
created_at?: string;
|
|
9444
9558
|
error_message?: string | null;
|
|
9445
9559
|
external_id?: string | null;
|
|
9446
9560
|
from_email?: string | null;
|
|
9447
9561
|
from_name?: string | null;
|
|
9562
|
+
has_attachments?: boolean;
|
|
9448
9563
|
id?: string;
|
|
9449
9564
|
message_id?: string | null;
|
|
9450
9565
|
profile_id?: string | null;
|
|
@@ -9452,18 +9567,22 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
9452
9567
|
received_at?: string | null;
|
|
9453
9568
|
status?: string;
|
|
9454
9569
|
subject?: string | null;
|
|
9570
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
9455
9571
|
uid?: number | null;
|
|
9456
9572
|
updated_at?: string;
|
|
9457
9573
|
};
|
|
9458
9574
|
Update: {
|
|
9575
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
9459
9576
|
body_html?: string | null;
|
|
9460
9577
|
body_text?: string | null;
|
|
9578
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
9461
9579
|
connection_id?: string | null;
|
|
9462
9580
|
created_at?: string;
|
|
9463
9581
|
error_message?: string | null;
|
|
9464
9582
|
external_id?: string | null;
|
|
9465
9583
|
from_email?: string | null;
|
|
9466
9584
|
from_name?: string | null;
|
|
9585
|
+
has_attachments?: boolean;
|
|
9467
9586
|
id?: string;
|
|
9468
9587
|
message_id?: string | null;
|
|
9469
9588
|
profile_id?: string | null;
|
|
@@ -9471,6 +9590,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
9471
9590
|
received_at?: string | null;
|
|
9472
9591
|
status?: string;
|
|
9473
9592
|
subject?: string | null;
|
|
9593
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
9474
9594
|
uid?: number | null;
|
|
9475
9595
|
updated_at?: string;
|
|
9476
9596
|
};
|
|
@@ -9878,6 +9998,36 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
9878
9998
|
};
|
|
9879
9999
|
Relationships: [];
|
|
9880
10000
|
};
|
|
10001
|
+
module_registry: {
|
|
10002
|
+
Row: {
|
|
10003
|
+
created_at: string;
|
|
10004
|
+
is_active: boolean;
|
|
10005
|
+
last_seen_at: string;
|
|
10006
|
+
module_id: string;
|
|
10007
|
+
name: string;
|
|
10008
|
+
shell_id: string | null;
|
|
10009
|
+
sort_order: number | null;
|
|
10010
|
+
};
|
|
10011
|
+
Insert: {
|
|
10012
|
+
created_at?: string;
|
|
10013
|
+
is_active?: boolean;
|
|
10014
|
+
last_seen_at?: string;
|
|
10015
|
+
module_id: string;
|
|
10016
|
+
name: string;
|
|
10017
|
+
shell_id?: string | null;
|
|
10018
|
+
sort_order?: number | null;
|
|
10019
|
+
};
|
|
10020
|
+
Update: {
|
|
10021
|
+
created_at?: string;
|
|
10022
|
+
is_active?: boolean;
|
|
10023
|
+
last_seen_at?: string;
|
|
10024
|
+
module_id?: string;
|
|
10025
|
+
name?: string;
|
|
10026
|
+
shell_id?: string | null;
|
|
10027
|
+
sort_order?: number | null;
|
|
10028
|
+
};
|
|
10029
|
+
Relationships: [];
|
|
10030
|
+
};
|
|
9881
10031
|
module_runtime_config: {
|
|
9882
10032
|
Row: {
|
|
9883
10033
|
key: string;
|
|
@@ -10937,6 +11087,45 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
10937
11087
|
};
|
|
10938
11088
|
Relationships: [];
|
|
10939
11089
|
};
|
|
11090
|
+
order_invoice_links: {
|
|
11091
|
+
Row: {
|
|
11092
|
+
attempts: number;
|
|
11093
|
+
created_at: string;
|
|
11094
|
+
error_message: string | null;
|
|
11095
|
+
id: string;
|
|
11096
|
+
invoice_number: string | null;
|
|
11097
|
+
next_attempt_at: string;
|
|
11098
|
+
order_id: string;
|
|
11099
|
+
processed_at: string | null;
|
|
11100
|
+
status: string;
|
|
11101
|
+
updated_at: string;
|
|
11102
|
+
};
|
|
11103
|
+
Insert: {
|
|
11104
|
+
attempts?: number;
|
|
11105
|
+
created_at?: string;
|
|
11106
|
+
error_message?: string | null;
|
|
11107
|
+
id?: string;
|
|
11108
|
+
invoice_number?: string | null;
|
|
11109
|
+
next_attempt_at?: string;
|
|
11110
|
+
order_id: string;
|
|
11111
|
+
processed_at?: string | null;
|
|
11112
|
+
status?: string;
|
|
11113
|
+
updated_at?: string;
|
|
11114
|
+
};
|
|
11115
|
+
Update: {
|
|
11116
|
+
attempts?: number;
|
|
11117
|
+
created_at?: string;
|
|
11118
|
+
error_message?: string | null;
|
|
11119
|
+
id?: string;
|
|
11120
|
+
invoice_number?: string | null;
|
|
11121
|
+
next_attempt_at?: string;
|
|
11122
|
+
order_id?: string;
|
|
11123
|
+
processed_at?: string | null;
|
|
11124
|
+
status?: string;
|
|
11125
|
+
updated_at?: string;
|
|
11126
|
+
};
|
|
11127
|
+
Relationships: [];
|
|
11128
|
+
};
|
|
10940
11129
|
order_items: {
|
|
10941
11130
|
Row: {
|
|
10942
11131
|
crates_per_layer: number | null;
|
|
@@ -11119,6 +11308,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
11119
11308
|
delivery_date: string | null;
|
|
11120
11309
|
floriday_sales_order_id: string | null;
|
|
11121
11310
|
id: string;
|
|
11311
|
+
invoice_due_at: string | null;
|
|
11122
11312
|
is_reservation: boolean;
|
|
11123
11313
|
notes: string | null;
|
|
11124
11314
|
order_date: string;
|
|
@@ -11140,6 +11330,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
11140
11330
|
delivery_date?: string | null;
|
|
11141
11331
|
floriday_sales_order_id?: string | null;
|
|
11142
11332
|
id?: string;
|
|
11333
|
+
invoice_due_at?: string | null;
|
|
11143
11334
|
is_reservation?: boolean;
|
|
11144
11335
|
notes?: string | null;
|
|
11145
11336
|
order_date?: string;
|
|
@@ -11161,6 +11352,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
11161
11352
|
delivery_date?: string | null;
|
|
11162
11353
|
floriday_sales_order_id?: string | null;
|
|
11163
11354
|
id?: string;
|
|
11355
|
+
invoice_due_at?: string | null;
|
|
11164
11356
|
is_reservation?: boolean;
|
|
11165
11357
|
notes?: string | null;
|
|
11166
11358
|
order_date?: string;
|
|
@@ -12458,6 +12650,63 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
12458
12650
|
referencedColumns: ["id"];
|
|
12459
12651
|
}];
|
|
12460
12652
|
};
|
|
12653
|
+
print_queue_runners: {
|
|
12654
|
+
Row: {
|
|
12655
|
+
actief: boolean;
|
|
12656
|
+
basis_url: string;
|
|
12657
|
+
created_at: string;
|
|
12658
|
+
id: string;
|
|
12659
|
+
laatst_gezien: string;
|
|
12660
|
+
tick_sleutel: string;
|
|
12661
|
+
updated_at: string;
|
|
12662
|
+
};
|
|
12663
|
+
Insert: {
|
|
12664
|
+
actief?: boolean;
|
|
12665
|
+
basis_url: string;
|
|
12666
|
+
created_at?: string;
|
|
12667
|
+
id?: string;
|
|
12668
|
+
laatst_gezien?: string;
|
|
12669
|
+
tick_sleutel?: string;
|
|
12670
|
+
updated_at?: string;
|
|
12671
|
+
};
|
|
12672
|
+
Update: {
|
|
12673
|
+
actief?: boolean;
|
|
12674
|
+
basis_url?: string;
|
|
12675
|
+
created_at?: string;
|
|
12676
|
+
id?: string;
|
|
12677
|
+
laatst_gezien?: string;
|
|
12678
|
+
tick_sleutel?: string;
|
|
12679
|
+
updated_at?: string;
|
|
12680
|
+
};
|
|
12681
|
+
Relationships: [];
|
|
12682
|
+
};
|
|
12683
|
+
print_queue_settings: {
|
|
12684
|
+
Row: {
|
|
12685
|
+
bewaar_bestanden_dagen: number;
|
|
12686
|
+
bewaar_opdrachten_dagen: number;
|
|
12687
|
+
created_at: string;
|
|
12688
|
+
dubbel_venster_minuten: number;
|
|
12689
|
+
id: string;
|
|
12690
|
+
updated_at: string;
|
|
12691
|
+
};
|
|
12692
|
+
Insert: {
|
|
12693
|
+
bewaar_bestanden_dagen?: number;
|
|
12694
|
+
bewaar_opdrachten_dagen?: number;
|
|
12695
|
+
created_at?: string;
|
|
12696
|
+
dubbel_venster_minuten?: number;
|
|
12697
|
+
id?: string;
|
|
12698
|
+
updated_at?: string;
|
|
12699
|
+
};
|
|
12700
|
+
Update: {
|
|
12701
|
+
bewaar_bestanden_dagen?: number;
|
|
12702
|
+
bewaar_opdrachten_dagen?: number;
|
|
12703
|
+
created_at?: string;
|
|
12704
|
+
dubbel_venster_minuten?: number;
|
|
12705
|
+
id?: string;
|
|
12706
|
+
updated_at?: string;
|
|
12707
|
+
};
|
|
12708
|
+
Relationships: [];
|
|
12709
|
+
};
|
|
12461
12710
|
print_rules: {
|
|
12462
12711
|
Row: {
|
|
12463
12712
|
actief: boolean;
|
|
@@ -15298,6 +15547,8 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
15298
15547
|
};
|
|
15299
15548
|
twinfield_invoice_settings: {
|
|
15300
15549
|
Row: {
|
|
15550
|
+
auto_invoice_enabled: boolean;
|
|
15551
|
+
auto_invoice_trigger_statuses: string[];
|
|
15301
15552
|
created_at: string;
|
|
15302
15553
|
debtor_gl_account: string;
|
|
15303
15554
|
default_credit_invoice_type: string | null;
|
|
@@ -15318,6 +15569,8 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
15318
15569
|
vat_code_export: string | null;
|
|
15319
15570
|
};
|
|
15320
15571
|
Insert: {
|
|
15572
|
+
auto_invoice_enabled?: boolean;
|
|
15573
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15321
15574
|
created_at?: string;
|
|
15322
15575
|
debtor_gl_account?: string;
|
|
15323
15576
|
default_credit_invoice_type?: string | null;
|
|
@@ -15338,6 +15591,8 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
15338
15591
|
vat_code_export?: string | null;
|
|
15339
15592
|
};
|
|
15340
15593
|
Update: {
|
|
15594
|
+
auto_invoice_enabled?: boolean;
|
|
15595
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15341
15596
|
created_at?: string;
|
|
15342
15597
|
debtor_gl_account?: string;
|
|
15343
15598
|
default_credit_invoice_type?: string | null;
|
|
@@ -16400,6 +16655,33 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
16400
16655
|
referencedColumns: ["id"];
|
|
16401
16656
|
}];
|
|
16402
16657
|
};
|
|
16658
|
+
user_module_permissions: {
|
|
16659
|
+
Row: {
|
|
16660
|
+
created_at: string;
|
|
16661
|
+
id: string;
|
|
16662
|
+
module_id: string;
|
|
16663
|
+
permission: string;
|
|
16664
|
+
updated_at: string;
|
|
16665
|
+
user_id: string;
|
|
16666
|
+
};
|
|
16667
|
+
Insert: {
|
|
16668
|
+
created_at?: string;
|
|
16669
|
+
id?: string;
|
|
16670
|
+
module_id: string;
|
|
16671
|
+
permission: string;
|
|
16672
|
+
updated_at?: string;
|
|
16673
|
+
user_id: string;
|
|
16674
|
+
};
|
|
16675
|
+
Update: {
|
|
16676
|
+
created_at?: string;
|
|
16677
|
+
id?: string;
|
|
16678
|
+
module_id?: string;
|
|
16679
|
+
permission?: string;
|
|
16680
|
+
updated_at?: string;
|
|
16681
|
+
user_id?: string;
|
|
16682
|
+
};
|
|
16683
|
+
Relationships: [];
|
|
16684
|
+
};
|
|
16403
16685
|
user_roles: {
|
|
16404
16686
|
Row: {
|
|
16405
16687
|
created_at: string;
|
|
@@ -18233,6 +18515,10 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
18233
18515
|
processed_items: number;
|
|
18234
18516
|
}[];
|
|
18235
18517
|
};
|
|
18518
|
+
backfill_order_auto_invoice_queue: {
|
|
18519
|
+
Args: never;
|
|
18520
|
+
Returns: number;
|
|
18521
|
+
};
|
|
18236
18522
|
calculate_layer_stock: {
|
|
18237
18523
|
Args: {
|
|
18238
18524
|
p_product_id: string;
|
|
@@ -18463,6 +18749,10 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
18463
18749
|
Args: never;
|
|
18464
18750
|
Returns: undefined;
|
|
18465
18751
|
};
|
|
18752
|
+
cleanup_voorraad_module_history: {
|
|
18753
|
+
Args: never;
|
|
18754
|
+
Returns: undefined;
|
|
18755
|
+
};
|
|
18466
18756
|
complete_floriday_stock_queue: {
|
|
18467
18757
|
Args: {
|
|
18468
18758
|
p_attempt_id?: string;
|
|
@@ -18584,6 +18874,13 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
18584
18874
|
};
|
|
18585
18875
|
Returns: import("../integrations/supabase/types").Json;
|
|
18586
18876
|
};
|
|
18877
|
+
effective_module_permission: {
|
|
18878
|
+
Args: {
|
|
18879
|
+
_module_id: string;
|
|
18880
|
+
_user_id: string;
|
|
18881
|
+
};
|
|
18882
|
+
Returns: string;
|
|
18883
|
+
};
|
|
18587
18884
|
email_auth_decrypt: {
|
|
18588
18885
|
Args: {
|
|
18589
18886
|
cipher: string;
|
|
@@ -19484,6 +19781,65 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
19484
19781
|
};
|
|
19485
19782
|
Returns: number;
|
|
19486
19783
|
};
|
|
19784
|
+
logistics_plan_claim: {
|
|
19785
|
+
Args: {
|
|
19786
|
+
p_limit?: number;
|
|
19787
|
+
};
|
|
19788
|
+
Returns: {
|
|
19789
|
+
attempts: number;
|
|
19790
|
+
id: string;
|
|
19791
|
+
order_id: string;
|
|
19792
|
+
}[];
|
|
19793
|
+
};
|
|
19794
|
+
logistics_plan_enqueue: {
|
|
19795
|
+
Args: {
|
|
19796
|
+
p_order_id: string;
|
|
19797
|
+
p_reason?: string;
|
|
19798
|
+
};
|
|
19799
|
+
Returns: undefined;
|
|
19800
|
+
};
|
|
19801
|
+
logistics_plan_ensure_event: {
|
|
19802
|
+
Args: {
|
|
19803
|
+
p_order_id: string;
|
|
19804
|
+
};
|
|
19805
|
+
Returns: boolean;
|
|
19806
|
+
};
|
|
19807
|
+
logistics_plan_finish: {
|
|
19808
|
+
Args: {
|
|
19809
|
+
p_error?: string;
|
|
19810
|
+
p_id: string;
|
|
19811
|
+
};
|
|
19812
|
+
Returns: undefined;
|
|
19813
|
+
};
|
|
19814
|
+
logistics_plan_impact_orders: {
|
|
19815
|
+
Args: {
|
|
19816
|
+
p_order_id: string;
|
|
19817
|
+
};
|
|
19818
|
+
Returns: {
|
|
19819
|
+
buffer_id: string;
|
|
19820
|
+
order_id: string;
|
|
19821
|
+
plan_date: string;
|
|
19822
|
+
}[];
|
|
19823
|
+
};
|
|
19824
|
+
logistics_plan_kick: {
|
|
19825
|
+
Args: never;
|
|
19826
|
+
Returns: undefined;
|
|
19827
|
+
};
|
|
19828
|
+
logistics_plan_prune: {
|
|
19829
|
+
Args: never;
|
|
19830
|
+
Returns: number;
|
|
19831
|
+
};
|
|
19832
|
+
logistics_plan_release_stale: {
|
|
19833
|
+
Args: never;
|
|
19834
|
+
Returns: number;
|
|
19835
|
+
};
|
|
19836
|
+
logistics_plan_setting: {
|
|
19837
|
+
Args: {
|
|
19838
|
+
p_default: number;
|
|
19839
|
+
p_key: string;
|
|
19840
|
+
};
|
|
19841
|
+
Returns: number;
|
|
19842
|
+
};
|
|
19487
19843
|
logistics_queue_capacity_email: {
|
|
19488
19844
|
Args: {
|
|
19489
19845
|
p_alert_id: string;
|
|
@@ -19722,6 +20078,13 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
19722
20078
|
};
|
|
19723
20079
|
Returns: undefined;
|
|
19724
20080
|
};
|
|
20081
|
+
my_module_permissions: {
|
|
20082
|
+
Args: never;
|
|
20083
|
+
Returns: {
|
|
20084
|
+
module_id: string;
|
|
20085
|
+
permission: string;
|
|
20086
|
+
}[];
|
|
20087
|
+
};
|
|
19725
20088
|
next_manufacture_partij: {
|
|
19726
20089
|
Args: {
|
|
19727
20090
|
_tenant_id: string;
|
|
@@ -19772,6 +20135,13 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
19772
20135
|
};
|
|
19773
20136
|
Returns: boolean;
|
|
19774
20137
|
};
|
|
20138
|
+
opruim_print_historie: {
|
|
20139
|
+
Args: never;
|
|
20140
|
+
Returns: {
|
|
20141
|
+
ontdaan: number;
|
|
20142
|
+
verwijderd: number;
|
|
20143
|
+
}[];
|
|
20144
|
+
};
|
|
19775
20145
|
order_number_prefix: {
|
|
19776
20146
|
Args: {
|
|
19777
20147
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -20166,6 +20536,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
20166
20536
|
};
|
|
20167
20537
|
Returns: undefined;
|
|
20168
20538
|
};
|
|
20539
|
+
reset_stalled_floriday_stock_queue: {
|
|
20540
|
+
Args: {
|
|
20541
|
+
p_include_failed?: boolean;
|
|
20542
|
+
};
|
|
20543
|
+
Returns: number;
|
|
20544
|
+
};
|
|
20169
20545
|
resolve_group_allocation: {
|
|
20170
20546
|
Args: {
|
|
20171
20547
|
_needed: number;
|
|
@@ -20220,10 +20596,18 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
20220
20596
|
Args: never;
|
|
20221
20597
|
Returns: undefined;
|
|
20222
20598
|
};
|
|
20599
|
+
run_floriday_stock_queue_process: {
|
|
20600
|
+
Args: never;
|
|
20601
|
+
Returns: undefined;
|
|
20602
|
+
};
|
|
20223
20603
|
run_logistics_tasks_dispatch: {
|
|
20224
20604
|
Args: never;
|
|
20225
20605
|
Returns: undefined;
|
|
20226
20606
|
};
|
|
20607
|
+
run_print_queue_ticks: {
|
|
20608
|
+
Args: never;
|
|
20609
|
+
Returns: number;
|
|
20610
|
+
};
|
|
20227
20611
|
run_twinfield_queue_tick: {
|
|
20228
20612
|
Args: never;
|
|
20229
20613
|
Returns: undefined;
|
|
@@ -20611,6 +20995,15 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
20611
20995
|
};
|
|
20612
20996
|
Returns: undefined;
|
|
20613
20997
|
};
|
|
20998
|
+
trade_item_stock_duplicates: {
|
|
20999
|
+
Args: never;
|
|
21000
|
+
Returns: {
|
|
21001
|
+
keys: string[];
|
|
21002
|
+
product_id: string;
|
|
21003
|
+
product_name: string;
|
|
21004
|
+
row_count: number;
|
|
21005
|
+
}[];
|
|
21006
|
+
};
|
|
20614
21007
|
try_debtor_lock: {
|
|
20615
21008
|
Args: {
|
|
20616
21009
|
_group_key: string;
|
|
@@ -22366,7 +22759,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
22366
22759
|
city: string | null;
|
|
22367
22760
|
country: string | null;
|
|
22368
22761
|
created_at: string;
|
|
22369
|
-
customer_id: string
|
|
22762
|
+
customer_id: string;
|
|
22370
22763
|
external_key: string | null;
|
|
22371
22764
|
external_provider: string | null;
|
|
22372
22765
|
floriday_location_id: string | null;
|
|
@@ -22390,7 +22783,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
22390
22783
|
city?: string | null;
|
|
22391
22784
|
country?: string | null;
|
|
22392
22785
|
created_at?: string;
|
|
22393
|
-
customer_id
|
|
22786
|
+
customer_id: string;
|
|
22394
22787
|
external_key?: string | null;
|
|
22395
22788
|
external_provider?: string | null;
|
|
22396
22789
|
floriday_location_id?: string | null;
|
|
@@ -22414,7 +22807,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
22414
22807
|
city?: string | null;
|
|
22415
22808
|
country?: string | null;
|
|
22416
22809
|
created_at?: string;
|
|
22417
|
-
customer_id?: string
|
|
22810
|
+
customer_id?: string;
|
|
22418
22811
|
external_key?: string | null;
|
|
22419
22812
|
external_provider?: string | null;
|
|
22420
22813
|
floriday_location_id?: string | null;
|
|
@@ -27162,6 +27555,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
27162
27555
|
Row: {
|
|
27163
27556
|
buyer_organization_id: string | null;
|
|
27164
27557
|
connection_id: string;
|
|
27558
|
+
controlled_at: string | null;
|
|
27165
27559
|
created_at: string;
|
|
27166
27560
|
data: import("../integrations/supabase/types").Json;
|
|
27167
27561
|
floriday_id: string;
|
|
@@ -27173,6 +27567,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
27173
27567
|
Insert: {
|
|
27174
27568
|
buyer_organization_id?: string | null;
|
|
27175
27569
|
connection_id: string;
|
|
27570
|
+
controlled_at?: string | null;
|
|
27176
27571
|
created_at?: string;
|
|
27177
27572
|
data: import("../integrations/supabase/types").Json;
|
|
27178
27573
|
floriday_id: string;
|
|
@@ -27184,6 +27579,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
27184
27579
|
Update: {
|
|
27185
27580
|
buyer_organization_id?: string | null;
|
|
27186
27581
|
connection_id?: string;
|
|
27582
|
+
controlled_at?: string | null;
|
|
27187
27583
|
created_at?: string;
|
|
27188
27584
|
data?: import("../integrations/supabase/types").Json;
|
|
27189
27585
|
floriday_id?: string;
|
|
@@ -28085,6 +28481,54 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
28085
28481
|
};
|
|
28086
28482
|
Relationships: [];
|
|
28087
28483
|
};
|
|
28484
|
+
invoice_timing_settings: {
|
|
28485
|
+
Row: {
|
|
28486
|
+
anchor: string;
|
|
28487
|
+
business_days_only: boolean;
|
|
28488
|
+
created_at: string;
|
|
28489
|
+
enabled: boolean;
|
|
28490
|
+
id: string;
|
|
28491
|
+
offset_days: number;
|
|
28492
|
+
pickup_anchor: string;
|
|
28493
|
+
pickup_business_days_only: boolean;
|
|
28494
|
+
pickup_offset_days: number;
|
|
28495
|
+
pickup_time_of_day: string;
|
|
28496
|
+
singleton: boolean;
|
|
28497
|
+
time_of_day: string;
|
|
28498
|
+
updated_at: string;
|
|
28499
|
+
};
|
|
28500
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
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
|
+
Relationships: [];
|
|
28531
|
+
};
|
|
28088
28532
|
itk_contact_persons: {
|
|
28089
28533
|
Row: {
|
|
28090
28534
|
created_at: string;
|
|
@@ -29315,6 +29759,45 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
29315
29759
|
};
|
|
29316
29760
|
Relationships: [];
|
|
29317
29761
|
};
|
|
29762
|
+
logistics_plan_queue: {
|
|
29763
|
+
Row: {
|
|
29764
|
+
attempts: number;
|
|
29765
|
+
claimed_at: string | null;
|
|
29766
|
+
enqueued_at: string;
|
|
29767
|
+
error: string | null;
|
|
29768
|
+
id: string;
|
|
29769
|
+
next_attempt_at: string;
|
|
29770
|
+
order_id: string;
|
|
29771
|
+
reason: string;
|
|
29772
|
+
status: string;
|
|
29773
|
+
updated_at: string;
|
|
29774
|
+
};
|
|
29775
|
+
Insert: {
|
|
29776
|
+
attempts?: number;
|
|
29777
|
+
claimed_at?: string | null;
|
|
29778
|
+
enqueued_at?: string;
|
|
29779
|
+
error?: string | null;
|
|
29780
|
+
id?: string;
|
|
29781
|
+
next_attempt_at?: string;
|
|
29782
|
+
order_id: string;
|
|
29783
|
+
reason?: string;
|
|
29784
|
+
status?: string;
|
|
29785
|
+
updated_at?: string;
|
|
29786
|
+
};
|
|
29787
|
+
Update: {
|
|
29788
|
+
attempts?: number;
|
|
29789
|
+
claimed_at?: string | null;
|
|
29790
|
+
enqueued_at?: string;
|
|
29791
|
+
error?: string | null;
|
|
29792
|
+
id?: string;
|
|
29793
|
+
next_attempt_at?: string;
|
|
29794
|
+
order_id?: string;
|
|
29795
|
+
reason?: string;
|
|
29796
|
+
status?: string;
|
|
29797
|
+
updated_at?: string;
|
|
29798
|
+
};
|
|
29799
|
+
Relationships: [];
|
|
29800
|
+
};
|
|
29318
29801
|
logistics_plan_runs: {
|
|
29319
29802
|
Row: {
|
|
29320
29803
|
created_at: string;
|
|
@@ -29390,6 +29873,24 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
29390
29873
|
referencedColumns: ["id"];
|
|
29391
29874
|
}];
|
|
29392
29875
|
};
|
|
29876
|
+
logistics_plan_settings: {
|
|
29877
|
+
Row: {
|
|
29878
|
+
key: string;
|
|
29879
|
+
updated_at: string;
|
|
29880
|
+
value: string;
|
|
29881
|
+
};
|
|
29882
|
+
Insert: {
|
|
29883
|
+
key: string;
|
|
29884
|
+
updated_at?: string;
|
|
29885
|
+
value: string;
|
|
29886
|
+
};
|
|
29887
|
+
Update: {
|
|
29888
|
+
key?: string;
|
|
29889
|
+
updated_at?: string;
|
|
29890
|
+
value?: string;
|
|
29891
|
+
};
|
|
29892
|
+
Relationships: [];
|
|
29893
|
+
};
|
|
29393
29894
|
logistics_rebuffer_state: {
|
|
29394
29895
|
Row: {
|
|
29395
29896
|
created_at: string;
|
|
@@ -30100,14 +30601,17 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
30100
30601
|
};
|
|
30101
30602
|
mailbox_messages: {
|
|
30102
30603
|
Row: {
|
|
30604
|
+
attachments: import("../integrations/supabase/types").Json;
|
|
30103
30605
|
body_html: string | null;
|
|
30104
30606
|
body_text: string | null;
|
|
30607
|
+
cc_recipients: import("../integrations/supabase/types").Json;
|
|
30105
30608
|
connection_id: string | null;
|
|
30106
30609
|
created_at: string;
|
|
30107
30610
|
error_message: string | null;
|
|
30108
30611
|
external_id: string | null;
|
|
30109
30612
|
from_email: string | null;
|
|
30110
30613
|
from_name: string | null;
|
|
30614
|
+
has_attachments: boolean;
|
|
30111
30615
|
id: string;
|
|
30112
30616
|
message_id: string | null;
|
|
30113
30617
|
profile_id: string | null;
|
|
@@ -30115,18 +30619,22 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
30115
30619
|
received_at: string | null;
|
|
30116
30620
|
status: string;
|
|
30117
30621
|
subject: string | null;
|
|
30622
|
+
to_recipients: import("../integrations/supabase/types").Json;
|
|
30118
30623
|
uid: number | null;
|
|
30119
30624
|
updated_at: string;
|
|
30120
30625
|
};
|
|
30121
30626
|
Insert: {
|
|
30627
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
30122
30628
|
body_html?: string | null;
|
|
30123
30629
|
body_text?: string | null;
|
|
30630
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
30124
30631
|
connection_id?: string | null;
|
|
30125
30632
|
created_at?: string;
|
|
30126
30633
|
error_message?: string | null;
|
|
30127
30634
|
external_id?: string | null;
|
|
30128
30635
|
from_email?: string | null;
|
|
30129
30636
|
from_name?: string | null;
|
|
30637
|
+
has_attachments?: boolean;
|
|
30130
30638
|
id?: string;
|
|
30131
30639
|
message_id?: string | null;
|
|
30132
30640
|
profile_id?: string | null;
|
|
@@ -30134,18 +30642,22 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
30134
30642
|
received_at?: string | null;
|
|
30135
30643
|
status?: string;
|
|
30136
30644
|
subject?: string | null;
|
|
30645
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
30137
30646
|
uid?: number | null;
|
|
30138
30647
|
updated_at?: string;
|
|
30139
30648
|
};
|
|
30140
30649
|
Update: {
|
|
30650
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
30141
30651
|
body_html?: string | null;
|
|
30142
30652
|
body_text?: string | null;
|
|
30653
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
30143
30654
|
connection_id?: string | null;
|
|
30144
30655
|
created_at?: string;
|
|
30145
30656
|
error_message?: string | null;
|
|
30146
30657
|
external_id?: string | null;
|
|
30147
30658
|
from_email?: string | null;
|
|
30148
30659
|
from_name?: string | null;
|
|
30660
|
+
has_attachments?: boolean;
|
|
30149
30661
|
id?: string;
|
|
30150
30662
|
message_id?: string | null;
|
|
30151
30663
|
profile_id?: string | null;
|
|
@@ -30153,6 +30665,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
30153
30665
|
received_at?: string | null;
|
|
30154
30666
|
status?: string;
|
|
30155
30667
|
subject?: string | null;
|
|
30668
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
30156
30669
|
uid?: number | null;
|
|
30157
30670
|
updated_at?: string;
|
|
30158
30671
|
};
|
|
@@ -30560,6 +31073,36 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
30560
31073
|
};
|
|
30561
31074
|
Relationships: [];
|
|
30562
31075
|
};
|
|
31076
|
+
module_registry: {
|
|
31077
|
+
Row: {
|
|
31078
|
+
created_at: string;
|
|
31079
|
+
is_active: boolean;
|
|
31080
|
+
last_seen_at: string;
|
|
31081
|
+
module_id: string;
|
|
31082
|
+
name: string;
|
|
31083
|
+
shell_id: string | null;
|
|
31084
|
+
sort_order: number | null;
|
|
31085
|
+
};
|
|
31086
|
+
Insert: {
|
|
31087
|
+
created_at?: string;
|
|
31088
|
+
is_active?: boolean;
|
|
31089
|
+
last_seen_at?: string;
|
|
31090
|
+
module_id: string;
|
|
31091
|
+
name: string;
|
|
31092
|
+
shell_id?: string | null;
|
|
31093
|
+
sort_order?: number | null;
|
|
31094
|
+
};
|
|
31095
|
+
Update: {
|
|
31096
|
+
created_at?: string;
|
|
31097
|
+
is_active?: boolean;
|
|
31098
|
+
last_seen_at?: string;
|
|
31099
|
+
module_id?: string;
|
|
31100
|
+
name?: string;
|
|
31101
|
+
shell_id?: string | null;
|
|
31102
|
+
sort_order?: number | null;
|
|
31103
|
+
};
|
|
31104
|
+
Relationships: [];
|
|
31105
|
+
};
|
|
30563
31106
|
module_runtime_config: {
|
|
30564
31107
|
Row: {
|
|
30565
31108
|
key: string;
|
|
@@ -31619,6 +32162,45 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
31619
32162
|
};
|
|
31620
32163
|
Relationships: [];
|
|
31621
32164
|
};
|
|
32165
|
+
order_invoice_links: {
|
|
32166
|
+
Row: {
|
|
32167
|
+
attempts: number;
|
|
32168
|
+
created_at: string;
|
|
32169
|
+
error_message: string | null;
|
|
32170
|
+
id: string;
|
|
32171
|
+
invoice_number: string | null;
|
|
32172
|
+
next_attempt_at: string;
|
|
32173
|
+
order_id: string;
|
|
32174
|
+
processed_at: string | null;
|
|
32175
|
+
status: string;
|
|
32176
|
+
updated_at: string;
|
|
32177
|
+
};
|
|
32178
|
+
Insert: {
|
|
32179
|
+
attempts?: number;
|
|
32180
|
+
created_at?: string;
|
|
32181
|
+
error_message?: string | null;
|
|
32182
|
+
id?: string;
|
|
32183
|
+
invoice_number?: string | null;
|
|
32184
|
+
next_attempt_at?: string;
|
|
32185
|
+
order_id: string;
|
|
32186
|
+
processed_at?: string | null;
|
|
32187
|
+
status?: string;
|
|
32188
|
+
updated_at?: string;
|
|
32189
|
+
};
|
|
32190
|
+
Update: {
|
|
32191
|
+
attempts?: number;
|
|
32192
|
+
created_at?: string;
|
|
32193
|
+
error_message?: string | null;
|
|
32194
|
+
id?: string;
|
|
32195
|
+
invoice_number?: string | null;
|
|
32196
|
+
next_attempt_at?: string;
|
|
32197
|
+
order_id?: string;
|
|
32198
|
+
processed_at?: string | null;
|
|
32199
|
+
status?: string;
|
|
32200
|
+
updated_at?: string;
|
|
32201
|
+
};
|
|
32202
|
+
Relationships: [];
|
|
32203
|
+
};
|
|
31622
32204
|
order_items: {
|
|
31623
32205
|
Row: {
|
|
31624
32206
|
crates_per_layer: number | null;
|
|
@@ -31801,6 +32383,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
31801
32383
|
delivery_date: string | null;
|
|
31802
32384
|
floriday_sales_order_id: string | null;
|
|
31803
32385
|
id: string;
|
|
32386
|
+
invoice_due_at: string | null;
|
|
31804
32387
|
is_reservation: boolean;
|
|
31805
32388
|
notes: string | null;
|
|
31806
32389
|
order_date: string;
|
|
@@ -31822,6 +32405,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
31822
32405
|
delivery_date?: string | null;
|
|
31823
32406
|
floriday_sales_order_id?: string | null;
|
|
31824
32407
|
id?: string;
|
|
32408
|
+
invoice_due_at?: string | null;
|
|
31825
32409
|
is_reservation?: boolean;
|
|
31826
32410
|
notes?: string | null;
|
|
31827
32411
|
order_date?: string;
|
|
@@ -31843,6 +32427,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
31843
32427
|
delivery_date?: string | null;
|
|
31844
32428
|
floriday_sales_order_id?: string | null;
|
|
31845
32429
|
id?: string;
|
|
32430
|
+
invoice_due_at?: string | null;
|
|
31846
32431
|
is_reservation?: boolean;
|
|
31847
32432
|
notes?: string | null;
|
|
31848
32433
|
order_date?: string;
|
|
@@ -33140,6 +33725,63 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
33140
33725
|
referencedColumns: ["id"];
|
|
33141
33726
|
}];
|
|
33142
33727
|
};
|
|
33728
|
+
print_queue_runners: {
|
|
33729
|
+
Row: {
|
|
33730
|
+
actief: boolean;
|
|
33731
|
+
basis_url: string;
|
|
33732
|
+
created_at: string;
|
|
33733
|
+
id: string;
|
|
33734
|
+
laatst_gezien: string;
|
|
33735
|
+
tick_sleutel: string;
|
|
33736
|
+
updated_at: string;
|
|
33737
|
+
};
|
|
33738
|
+
Insert: {
|
|
33739
|
+
actief?: boolean;
|
|
33740
|
+
basis_url: string;
|
|
33741
|
+
created_at?: string;
|
|
33742
|
+
id?: string;
|
|
33743
|
+
laatst_gezien?: string;
|
|
33744
|
+
tick_sleutel?: string;
|
|
33745
|
+
updated_at?: string;
|
|
33746
|
+
};
|
|
33747
|
+
Update: {
|
|
33748
|
+
actief?: boolean;
|
|
33749
|
+
basis_url?: string;
|
|
33750
|
+
created_at?: string;
|
|
33751
|
+
id?: string;
|
|
33752
|
+
laatst_gezien?: string;
|
|
33753
|
+
tick_sleutel?: string;
|
|
33754
|
+
updated_at?: string;
|
|
33755
|
+
};
|
|
33756
|
+
Relationships: [];
|
|
33757
|
+
};
|
|
33758
|
+
print_queue_settings: {
|
|
33759
|
+
Row: {
|
|
33760
|
+
bewaar_bestanden_dagen: number;
|
|
33761
|
+
bewaar_opdrachten_dagen: number;
|
|
33762
|
+
created_at: string;
|
|
33763
|
+
dubbel_venster_minuten: number;
|
|
33764
|
+
id: string;
|
|
33765
|
+
updated_at: string;
|
|
33766
|
+
};
|
|
33767
|
+
Insert: {
|
|
33768
|
+
bewaar_bestanden_dagen?: number;
|
|
33769
|
+
bewaar_opdrachten_dagen?: number;
|
|
33770
|
+
created_at?: string;
|
|
33771
|
+
dubbel_venster_minuten?: number;
|
|
33772
|
+
id?: string;
|
|
33773
|
+
updated_at?: string;
|
|
33774
|
+
};
|
|
33775
|
+
Update: {
|
|
33776
|
+
bewaar_bestanden_dagen?: number;
|
|
33777
|
+
bewaar_opdrachten_dagen?: number;
|
|
33778
|
+
created_at?: string;
|
|
33779
|
+
dubbel_venster_minuten?: number;
|
|
33780
|
+
id?: string;
|
|
33781
|
+
updated_at?: string;
|
|
33782
|
+
};
|
|
33783
|
+
Relationships: [];
|
|
33784
|
+
};
|
|
33143
33785
|
print_rules: {
|
|
33144
33786
|
Row: {
|
|
33145
33787
|
actief: boolean;
|
|
@@ -35980,6 +36622,8 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
35980
36622
|
};
|
|
35981
36623
|
twinfield_invoice_settings: {
|
|
35982
36624
|
Row: {
|
|
36625
|
+
auto_invoice_enabled: boolean;
|
|
36626
|
+
auto_invoice_trigger_statuses: string[];
|
|
35983
36627
|
created_at: string;
|
|
35984
36628
|
debtor_gl_account: string;
|
|
35985
36629
|
default_credit_invoice_type: string | null;
|
|
@@ -36000,6 +36644,8 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
36000
36644
|
vat_code_export: string | null;
|
|
36001
36645
|
};
|
|
36002
36646
|
Insert: {
|
|
36647
|
+
auto_invoice_enabled?: boolean;
|
|
36648
|
+
auto_invoice_trigger_statuses?: string[];
|
|
36003
36649
|
created_at?: string;
|
|
36004
36650
|
debtor_gl_account?: string;
|
|
36005
36651
|
default_credit_invoice_type?: string | null;
|
|
@@ -36020,6 +36666,8 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
36020
36666
|
vat_code_export?: string | null;
|
|
36021
36667
|
};
|
|
36022
36668
|
Update: {
|
|
36669
|
+
auto_invoice_enabled?: boolean;
|
|
36670
|
+
auto_invoice_trigger_statuses?: string[];
|
|
36023
36671
|
created_at?: string;
|
|
36024
36672
|
debtor_gl_account?: string;
|
|
36025
36673
|
default_credit_invoice_type?: string | null;
|
|
@@ -37082,6 +37730,33 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
37082
37730
|
referencedColumns: ["id"];
|
|
37083
37731
|
}];
|
|
37084
37732
|
};
|
|
37733
|
+
user_module_permissions: {
|
|
37734
|
+
Row: {
|
|
37735
|
+
created_at: string;
|
|
37736
|
+
id: string;
|
|
37737
|
+
module_id: string;
|
|
37738
|
+
permission: string;
|
|
37739
|
+
updated_at: string;
|
|
37740
|
+
user_id: string;
|
|
37741
|
+
};
|
|
37742
|
+
Insert: {
|
|
37743
|
+
created_at?: string;
|
|
37744
|
+
id?: string;
|
|
37745
|
+
module_id: string;
|
|
37746
|
+
permission: string;
|
|
37747
|
+
updated_at?: string;
|
|
37748
|
+
user_id: string;
|
|
37749
|
+
};
|
|
37750
|
+
Update: {
|
|
37751
|
+
created_at?: string;
|
|
37752
|
+
id?: string;
|
|
37753
|
+
module_id?: string;
|
|
37754
|
+
permission?: string;
|
|
37755
|
+
updated_at?: string;
|
|
37756
|
+
user_id?: string;
|
|
37757
|
+
};
|
|
37758
|
+
Relationships: [];
|
|
37759
|
+
};
|
|
37085
37760
|
user_roles: {
|
|
37086
37761
|
Row: {
|
|
37087
37762
|
created_at: string;
|
|
@@ -38915,6 +39590,10 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
38915
39590
|
processed_items: number;
|
|
38916
39591
|
}[];
|
|
38917
39592
|
};
|
|
39593
|
+
backfill_order_auto_invoice_queue: {
|
|
39594
|
+
Args: never;
|
|
39595
|
+
Returns: number;
|
|
39596
|
+
};
|
|
38918
39597
|
calculate_layer_stock: {
|
|
38919
39598
|
Args: {
|
|
38920
39599
|
p_product_id: string;
|
|
@@ -39145,6 +39824,10 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
39145
39824
|
Args: never;
|
|
39146
39825
|
Returns: undefined;
|
|
39147
39826
|
};
|
|
39827
|
+
cleanup_voorraad_module_history: {
|
|
39828
|
+
Args: never;
|
|
39829
|
+
Returns: undefined;
|
|
39830
|
+
};
|
|
39148
39831
|
complete_floriday_stock_queue: {
|
|
39149
39832
|
Args: {
|
|
39150
39833
|
p_attempt_id?: string;
|
|
@@ -39266,6 +39949,13 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
39266
39949
|
};
|
|
39267
39950
|
Returns: import("../integrations/supabase/types").Json;
|
|
39268
39951
|
};
|
|
39952
|
+
effective_module_permission: {
|
|
39953
|
+
Args: {
|
|
39954
|
+
_module_id: string;
|
|
39955
|
+
_user_id: string;
|
|
39956
|
+
};
|
|
39957
|
+
Returns: string;
|
|
39958
|
+
};
|
|
39269
39959
|
email_auth_decrypt: {
|
|
39270
39960
|
Args: {
|
|
39271
39961
|
cipher: string;
|
|
@@ -40166,6 +40856,65 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
40166
40856
|
};
|
|
40167
40857
|
Returns: number;
|
|
40168
40858
|
};
|
|
40859
|
+
logistics_plan_claim: {
|
|
40860
|
+
Args: {
|
|
40861
|
+
p_limit?: number;
|
|
40862
|
+
};
|
|
40863
|
+
Returns: {
|
|
40864
|
+
attempts: number;
|
|
40865
|
+
id: string;
|
|
40866
|
+
order_id: string;
|
|
40867
|
+
}[];
|
|
40868
|
+
};
|
|
40869
|
+
logistics_plan_enqueue: {
|
|
40870
|
+
Args: {
|
|
40871
|
+
p_order_id: string;
|
|
40872
|
+
p_reason?: string;
|
|
40873
|
+
};
|
|
40874
|
+
Returns: undefined;
|
|
40875
|
+
};
|
|
40876
|
+
logistics_plan_ensure_event: {
|
|
40877
|
+
Args: {
|
|
40878
|
+
p_order_id: string;
|
|
40879
|
+
};
|
|
40880
|
+
Returns: boolean;
|
|
40881
|
+
};
|
|
40882
|
+
logistics_plan_finish: {
|
|
40883
|
+
Args: {
|
|
40884
|
+
p_error?: string;
|
|
40885
|
+
p_id: string;
|
|
40886
|
+
};
|
|
40887
|
+
Returns: undefined;
|
|
40888
|
+
};
|
|
40889
|
+
logistics_plan_impact_orders: {
|
|
40890
|
+
Args: {
|
|
40891
|
+
p_order_id: string;
|
|
40892
|
+
};
|
|
40893
|
+
Returns: {
|
|
40894
|
+
buffer_id: string;
|
|
40895
|
+
order_id: string;
|
|
40896
|
+
plan_date: string;
|
|
40897
|
+
}[];
|
|
40898
|
+
};
|
|
40899
|
+
logistics_plan_kick: {
|
|
40900
|
+
Args: never;
|
|
40901
|
+
Returns: undefined;
|
|
40902
|
+
};
|
|
40903
|
+
logistics_plan_prune: {
|
|
40904
|
+
Args: never;
|
|
40905
|
+
Returns: number;
|
|
40906
|
+
};
|
|
40907
|
+
logistics_plan_release_stale: {
|
|
40908
|
+
Args: never;
|
|
40909
|
+
Returns: number;
|
|
40910
|
+
};
|
|
40911
|
+
logistics_plan_setting: {
|
|
40912
|
+
Args: {
|
|
40913
|
+
p_default: number;
|
|
40914
|
+
p_key: string;
|
|
40915
|
+
};
|
|
40916
|
+
Returns: number;
|
|
40917
|
+
};
|
|
40169
40918
|
logistics_queue_capacity_email: {
|
|
40170
40919
|
Args: {
|
|
40171
40920
|
p_alert_id: string;
|
|
@@ -40404,6 +41153,13 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
40404
41153
|
};
|
|
40405
41154
|
Returns: undefined;
|
|
40406
41155
|
};
|
|
41156
|
+
my_module_permissions: {
|
|
41157
|
+
Args: never;
|
|
41158
|
+
Returns: {
|
|
41159
|
+
module_id: string;
|
|
41160
|
+
permission: string;
|
|
41161
|
+
}[];
|
|
41162
|
+
};
|
|
40407
41163
|
next_manufacture_partij: {
|
|
40408
41164
|
Args: {
|
|
40409
41165
|
_tenant_id: string;
|
|
@@ -40454,6 +41210,13 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
40454
41210
|
};
|
|
40455
41211
|
Returns: boolean;
|
|
40456
41212
|
};
|
|
41213
|
+
opruim_print_historie: {
|
|
41214
|
+
Args: never;
|
|
41215
|
+
Returns: {
|
|
41216
|
+
ontdaan: number;
|
|
41217
|
+
verwijderd: number;
|
|
41218
|
+
}[];
|
|
41219
|
+
};
|
|
40457
41220
|
order_number_prefix: {
|
|
40458
41221
|
Args: {
|
|
40459
41222
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -40848,6 +41611,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
40848
41611
|
};
|
|
40849
41612
|
Returns: undefined;
|
|
40850
41613
|
};
|
|
41614
|
+
reset_stalled_floriday_stock_queue: {
|
|
41615
|
+
Args: {
|
|
41616
|
+
p_include_failed?: boolean;
|
|
41617
|
+
};
|
|
41618
|
+
Returns: number;
|
|
41619
|
+
};
|
|
40851
41620
|
resolve_group_allocation: {
|
|
40852
41621
|
Args: {
|
|
40853
41622
|
_needed: number;
|
|
@@ -40902,10 +41671,18 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
40902
41671
|
Args: never;
|
|
40903
41672
|
Returns: undefined;
|
|
40904
41673
|
};
|
|
41674
|
+
run_floriday_stock_queue_process: {
|
|
41675
|
+
Args: never;
|
|
41676
|
+
Returns: undefined;
|
|
41677
|
+
};
|
|
40905
41678
|
run_logistics_tasks_dispatch: {
|
|
40906
41679
|
Args: never;
|
|
40907
41680
|
Returns: undefined;
|
|
40908
41681
|
};
|
|
41682
|
+
run_print_queue_ticks: {
|
|
41683
|
+
Args: never;
|
|
41684
|
+
Returns: number;
|
|
41685
|
+
};
|
|
40909
41686
|
run_twinfield_queue_tick: {
|
|
40910
41687
|
Args: never;
|
|
40911
41688
|
Returns: undefined;
|
|
@@ -41293,6 +42070,15 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
41293
42070
|
};
|
|
41294
42071
|
Returns: undefined;
|
|
41295
42072
|
};
|
|
42073
|
+
trade_item_stock_duplicates: {
|
|
42074
|
+
Args: never;
|
|
42075
|
+
Returns: {
|
|
42076
|
+
keys: string[];
|
|
42077
|
+
product_id: string;
|
|
42078
|
+
product_name: string;
|
|
42079
|
+
row_count: number;
|
|
42080
|
+
}[];
|
|
42081
|
+
};
|
|
41296
42082
|
try_debtor_lock: {
|
|
41297
42083
|
Args: {
|
|
41298
42084
|
_group_key: string;
|
|
@@ -43081,7 +43867,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
43081
43867
|
city: string | null;
|
|
43082
43868
|
country: string | null;
|
|
43083
43869
|
created_at: string;
|
|
43084
|
-
customer_id: string
|
|
43870
|
+
customer_id: string;
|
|
43085
43871
|
external_key: string | null;
|
|
43086
43872
|
external_provider: string | null;
|
|
43087
43873
|
floriday_location_id: string | null;
|
|
@@ -43105,7 +43891,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
43105
43891
|
city?: string | null;
|
|
43106
43892
|
country?: string | null;
|
|
43107
43893
|
created_at?: string;
|
|
43108
|
-
customer_id
|
|
43894
|
+
customer_id: string;
|
|
43109
43895
|
external_key?: string | null;
|
|
43110
43896
|
external_provider?: string | null;
|
|
43111
43897
|
floriday_location_id?: string | null;
|
|
@@ -43129,7 +43915,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
43129
43915
|
city?: string | null;
|
|
43130
43916
|
country?: string | null;
|
|
43131
43917
|
created_at?: string;
|
|
43132
|
-
customer_id?: string
|
|
43918
|
+
customer_id?: string;
|
|
43133
43919
|
external_key?: string | null;
|
|
43134
43920
|
external_provider?: string | null;
|
|
43135
43921
|
floriday_location_id?: string | null;
|
|
@@ -47877,6 +48663,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
47877
48663
|
Row: {
|
|
47878
48664
|
buyer_organization_id: string | null;
|
|
47879
48665
|
connection_id: string;
|
|
48666
|
+
controlled_at: string | null;
|
|
47880
48667
|
created_at: string;
|
|
47881
48668
|
data: import("../integrations/supabase/types").Json;
|
|
47882
48669
|
floriday_id: string;
|
|
@@ -47888,6 +48675,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
47888
48675
|
Insert: {
|
|
47889
48676
|
buyer_organization_id?: string | null;
|
|
47890
48677
|
connection_id: string;
|
|
48678
|
+
controlled_at?: string | null;
|
|
47891
48679
|
created_at?: string;
|
|
47892
48680
|
data: import("../integrations/supabase/types").Json;
|
|
47893
48681
|
floriday_id: string;
|
|
@@ -47899,6 +48687,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
47899
48687
|
Update: {
|
|
47900
48688
|
buyer_organization_id?: string | null;
|
|
47901
48689
|
connection_id?: string;
|
|
48690
|
+
controlled_at?: string | null;
|
|
47902
48691
|
created_at?: string;
|
|
47903
48692
|
data?: import("../integrations/supabase/types").Json;
|
|
47904
48693
|
floriday_id?: string;
|
|
@@ -48800,6 +49589,54 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
48800
49589
|
};
|
|
48801
49590
|
Relationships: [];
|
|
48802
49591
|
};
|
|
49592
|
+
invoice_timing_settings: {
|
|
49593
|
+
Row: {
|
|
49594
|
+
anchor: string;
|
|
49595
|
+
business_days_only: boolean;
|
|
49596
|
+
created_at: string;
|
|
49597
|
+
enabled: boolean;
|
|
49598
|
+
id: string;
|
|
49599
|
+
offset_days: number;
|
|
49600
|
+
pickup_anchor: string;
|
|
49601
|
+
pickup_business_days_only: boolean;
|
|
49602
|
+
pickup_offset_days: number;
|
|
49603
|
+
pickup_time_of_day: string;
|
|
49604
|
+
singleton: boolean;
|
|
49605
|
+
time_of_day: string;
|
|
49606
|
+
updated_at: string;
|
|
49607
|
+
};
|
|
49608
|
+
Insert: {
|
|
49609
|
+
anchor?: string;
|
|
49610
|
+
business_days_only?: boolean;
|
|
49611
|
+
created_at?: string;
|
|
49612
|
+
enabled?: boolean;
|
|
49613
|
+
id?: string;
|
|
49614
|
+
offset_days?: number;
|
|
49615
|
+
pickup_anchor?: string;
|
|
49616
|
+
pickup_business_days_only?: boolean;
|
|
49617
|
+
pickup_offset_days?: number;
|
|
49618
|
+
pickup_time_of_day?: string;
|
|
49619
|
+
singleton?: boolean;
|
|
49620
|
+
time_of_day?: string;
|
|
49621
|
+
updated_at?: string;
|
|
49622
|
+
};
|
|
49623
|
+
Update: {
|
|
49624
|
+
anchor?: string;
|
|
49625
|
+
business_days_only?: boolean;
|
|
49626
|
+
created_at?: string;
|
|
49627
|
+
enabled?: boolean;
|
|
49628
|
+
id?: string;
|
|
49629
|
+
offset_days?: number;
|
|
49630
|
+
pickup_anchor?: string;
|
|
49631
|
+
pickup_business_days_only?: boolean;
|
|
49632
|
+
pickup_offset_days?: number;
|
|
49633
|
+
pickup_time_of_day?: string;
|
|
49634
|
+
singleton?: boolean;
|
|
49635
|
+
time_of_day?: string;
|
|
49636
|
+
updated_at?: string;
|
|
49637
|
+
};
|
|
49638
|
+
Relationships: [];
|
|
49639
|
+
};
|
|
48803
49640
|
itk_contact_persons: {
|
|
48804
49641
|
Row: {
|
|
48805
49642
|
created_at: string;
|
|
@@ -50030,6 +50867,45 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
50030
50867
|
};
|
|
50031
50868
|
Relationships: [];
|
|
50032
50869
|
};
|
|
50870
|
+
logistics_plan_queue: {
|
|
50871
|
+
Row: {
|
|
50872
|
+
attempts: number;
|
|
50873
|
+
claimed_at: string | null;
|
|
50874
|
+
enqueued_at: string;
|
|
50875
|
+
error: string | null;
|
|
50876
|
+
id: string;
|
|
50877
|
+
next_attempt_at: string;
|
|
50878
|
+
order_id: string;
|
|
50879
|
+
reason: string;
|
|
50880
|
+
status: string;
|
|
50881
|
+
updated_at: string;
|
|
50882
|
+
};
|
|
50883
|
+
Insert: {
|
|
50884
|
+
attempts?: number;
|
|
50885
|
+
claimed_at?: string | null;
|
|
50886
|
+
enqueued_at?: string;
|
|
50887
|
+
error?: string | null;
|
|
50888
|
+
id?: string;
|
|
50889
|
+
next_attempt_at?: string;
|
|
50890
|
+
order_id: string;
|
|
50891
|
+
reason?: string;
|
|
50892
|
+
status?: string;
|
|
50893
|
+
updated_at?: string;
|
|
50894
|
+
};
|
|
50895
|
+
Update: {
|
|
50896
|
+
attempts?: number;
|
|
50897
|
+
claimed_at?: string | null;
|
|
50898
|
+
enqueued_at?: string;
|
|
50899
|
+
error?: string | null;
|
|
50900
|
+
id?: string;
|
|
50901
|
+
next_attempt_at?: string;
|
|
50902
|
+
order_id?: string;
|
|
50903
|
+
reason?: string;
|
|
50904
|
+
status?: string;
|
|
50905
|
+
updated_at?: string;
|
|
50906
|
+
};
|
|
50907
|
+
Relationships: [];
|
|
50908
|
+
};
|
|
50033
50909
|
logistics_plan_runs: {
|
|
50034
50910
|
Row: {
|
|
50035
50911
|
created_at: string;
|
|
@@ -50105,6 +50981,24 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
50105
50981
|
referencedColumns: ["id"];
|
|
50106
50982
|
}];
|
|
50107
50983
|
};
|
|
50984
|
+
logistics_plan_settings: {
|
|
50985
|
+
Row: {
|
|
50986
|
+
key: string;
|
|
50987
|
+
updated_at: string;
|
|
50988
|
+
value: string;
|
|
50989
|
+
};
|
|
50990
|
+
Insert: {
|
|
50991
|
+
key: string;
|
|
50992
|
+
updated_at?: string;
|
|
50993
|
+
value: string;
|
|
50994
|
+
};
|
|
50995
|
+
Update: {
|
|
50996
|
+
key?: string;
|
|
50997
|
+
updated_at?: string;
|
|
50998
|
+
value?: string;
|
|
50999
|
+
};
|
|
51000
|
+
Relationships: [];
|
|
51001
|
+
};
|
|
50108
51002
|
logistics_rebuffer_state: {
|
|
50109
51003
|
Row: {
|
|
50110
51004
|
created_at: string;
|
|
@@ -50815,14 +51709,17 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
50815
51709
|
};
|
|
50816
51710
|
mailbox_messages: {
|
|
50817
51711
|
Row: {
|
|
51712
|
+
attachments: import("../integrations/supabase/types").Json;
|
|
50818
51713
|
body_html: string | null;
|
|
50819
51714
|
body_text: string | null;
|
|
51715
|
+
cc_recipients: import("../integrations/supabase/types").Json;
|
|
50820
51716
|
connection_id: string | null;
|
|
50821
51717
|
created_at: string;
|
|
50822
51718
|
error_message: string | null;
|
|
50823
51719
|
external_id: string | null;
|
|
50824
51720
|
from_email: string | null;
|
|
50825
51721
|
from_name: string | null;
|
|
51722
|
+
has_attachments: boolean;
|
|
50826
51723
|
id: string;
|
|
50827
51724
|
message_id: string | null;
|
|
50828
51725
|
profile_id: string | null;
|
|
@@ -50830,18 +51727,22 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
50830
51727
|
received_at: string | null;
|
|
50831
51728
|
status: string;
|
|
50832
51729
|
subject: string | null;
|
|
51730
|
+
to_recipients: import("../integrations/supabase/types").Json;
|
|
50833
51731
|
uid: number | null;
|
|
50834
51732
|
updated_at: string;
|
|
50835
51733
|
};
|
|
50836
51734
|
Insert: {
|
|
51735
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
50837
51736
|
body_html?: string | null;
|
|
50838
51737
|
body_text?: string | null;
|
|
51738
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
50839
51739
|
connection_id?: string | null;
|
|
50840
51740
|
created_at?: string;
|
|
50841
51741
|
error_message?: string | null;
|
|
50842
51742
|
external_id?: string | null;
|
|
50843
51743
|
from_email?: string | null;
|
|
50844
51744
|
from_name?: string | null;
|
|
51745
|
+
has_attachments?: boolean;
|
|
50845
51746
|
id?: string;
|
|
50846
51747
|
message_id?: string | null;
|
|
50847
51748
|
profile_id?: string | null;
|
|
@@ -50849,18 +51750,22 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
50849
51750
|
received_at?: string | null;
|
|
50850
51751
|
status?: string;
|
|
50851
51752
|
subject?: string | null;
|
|
51753
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
50852
51754
|
uid?: number | null;
|
|
50853
51755
|
updated_at?: string;
|
|
50854
51756
|
};
|
|
50855
51757
|
Update: {
|
|
51758
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
50856
51759
|
body_html?: string | null;
|
|
50857
51760
|
body_text?: string | null;
|
|
51761
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
50858
51762
|
connection_id?: string | null;
|
|
50859
51763
|
created_at?: string;
|
|
50860
51764
|
error_message?: string | null;
|
|
50861
51765
|
external_id?: string | null;
|
|
50862
51766
|
from_email?: string | null;
|
|
50863
51767
|
from_name?: string | null;
|
|
51768
|
+
has_attachments?: boolean;
|
|
50864
51769
|
id?: string;
|
|
50865
51770
|
message_id?: string | null;
|
|
50866
51771
|
profile_id?: string | null;
|
|
@@ -50868,6 +51773,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
50868
51773
|
received_at?: string | null;
|
|
50869
51774
|
status?: string;
|
|
50870
51775
|
subject?: string | null;
|
|
51776
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
50871
51777
|
uid?: number | null;
|
|
50872
51778
|
updated_at?: string;
|
|
50873
51779
|
};
|
|
@@ -51275,6 +52181,36 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
51275
52181
|
};
|
|
51276
52182
|
Relationships: [];
|
|
51277
52183
|
};
|
|
52184
|
+
module_registry: {
|
|
52185
|
+
Row: {
|
|
52186
|
+
created_at: string;
|
|
52187
|
+
is_active: boolean;
|
|
52188
|
+
last_seen_at: string;
|
|
52189
|
+
module_id: string;
|
|
52190
|
+
name: string;
|
|
52191
|
+
shell_id: string | null;
|
|
52192
|
+
sort_order: number | null;
|
|
52193
|
+
};
|
|
52194
|
+
Insert: {
|
|
52195
|
+
created_at?: string;
|
|
52196
|
+
is_active?: boolean;
|
|
52197
|
+
last_seen_at?: string;
|
|
52198
|
+
module_id: string;
|
|
52199
|
+
name: string;
|
|
52200
|
+
shell_id?: string | null;
|
|
52201
|
+
sort_order?: number | null;
|
|
52202
|
+
};
|
|
52203
|
+
Update: {
|
|
52204
|
+
created_at?: string;
|
|
52205
|
+
is_active?: boolean;
|
|
52206
|
+
last_seen_at?: string;
|
|
52207
|
+
module_id?: string;
|
|
52208
|
+
name?: string;
|
|
52209
|
+
shell_id?: string | null;
|
|
52210
|
+
sort_order?: number | null;
|
|
52211
|
+
};
|
|
52212
|
+
Relationships: [];
|
|
52213
|
+
};
|
|
51278
52214
|
module_runtime_config: {
|
|
51279
52215
|
Row: {
|
|
51280
52216
|
key: string;
|
|
@@ -52334,6 +53270,45 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
52334
53270
|
};
|
|
52335
53271
|
Relationships: [];
|
|
52336
53272
|
};
|
|
53273
|
+
order_invoice_links: {
|
|
53274
|
+
Row: {
|
|
53275
|
+
attempts: number;
|
|
53276
|
+
created_at: string;
|
|
53277
|
+
error_message: string | null;
|
|
53278
|
+
id: string;
|
|
53279
|
+
invoice_number: string | null;
|
|
53280
|
+
next_attempt_at: string;
|
|
53281
|
+
order_id: string;
|
|
53282
|
+
processed_at: string | null;
|
|
53283
|
+
status: string;
|
|
53284
|
+
updated_at: string;
|
|
53285
|
+
};
|
|
53286
|
+
Insert: {
|
|
53287
|
+
attempts?: number;
|
|
53288
|
+
created_at?: string;
|
|
53289
|
+
error_message?: string | null;
|
|
53290
|
+
id?: string;
|
|
53291
|
+
invoice_number?: string | null;
|
|
53292
|
+
next_attempt_at?: string;
|
|
53293
|
+
order_id: string;
|
|
53294
|
+
processed_at?: string | null;
|
|
53295
|
+
status?: string;
|
|
53296
|
+
updated_at?: string;
|
|
53297
|
+
};
|
|
53298
|
+
Update: {
|
|
53299
|
+
attempts?: number;
|
|
53300
|
+
created_at?: string;
|
|
53301
|
+
error_message?: string | null;
|
|
53302
|
+
id?: string;
|
|
53303
|
+
invoice_number?: string | null;
|
|
53304
|
+
next_attempt_at?: string;
|
|
53305
|
+
order_id?: string;
|
|
53306
|
+
processed_at?: string | null;
|
|
53307
|
+
status?: string;
|
|
53308
|
+
updated_at?: string;
|
|
53309
|
+
};
|
|
53310
|
+
Relationships: [];
|
|
53311
|
+
};
|
|
52337
53312
|
order_items: {
|
|
52338
53313
|
Row: {
|
|
52339
53314
|
crates_per_layer: number | null;
|
|
@@ -52516,6 +53491,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
52516
53491
|
delivery_date: string | null;
|
|
52517
53492
|
floriday_sales_order_id: string | null;
|
|
52518
53493
|
id: string;
|
|
53494
|
+
invoice_due_at: string | null;
|
|
52519
53495
|
is_reservation: boolean;
|
|
52520
53496
|
notes: string | null;
|
|
52521
53497
|
order_date: string;
|
|
@@ -52537,6 +53513,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
52537
53513
|
delivery_date?: string | null;
|
|
52538
53514
|
floriday_sales_order_id?: string | null;
|
|
52539
53515
|
id?: string;
|
|
53516
|
+
invoice_due_at?: string | null;
|
|
52540
53517
|
is_reservation?: boolean;
|
|
52541
53518
|
notes?: string | null;
|
|
52542
53519
|
order_date?: string;
|
|
@@ -52558,6 +53535,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
52558
53535
|
delivery_date?: string | null;
|
|
52559
53536
|
floriday_sales_order_id?: string | null;
|
|
52560
53537
|
id?: string;
|
|
53538
|
+
invoice_due_at?: string | null;
|
|
52561
53539
|
is_reservation?: boolean;
|
|
52562
53540
|
notes?: string | null;
|
|
52563
53541
|
order_date?: string;
|
|
@@ -53855,6 +54833,63 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
53855
54833
|
referencedColumns: ["id"];
|
|
53856
54834
|
}];
|
|
53857
54835
|
};
|
|
54836
|
+
print_queue_runners: {
|
|
54837
|
+
Row: {
|
|
54838
|
+
actief: boolean;
|
|
54839
|
+
basis_url: string;
|
|
54840
|
+
created_at: string;
|
|
54841
|
+
id: string;
|
|
54842
|
+
laatst_gezien: string;
|
|
54843
|
+
tick_sleutel: string;
|
|
54844
|
+
updated_at: string;
|
|
54845
|
+
};
|
|
54846
|
+
Insert: {
|
|
54847
|
+
actief?: boolean;
|
|
54848
|
+
basis_url: string;
|
|
54849
|
+
created_at?: string;
|
|
54850
|
+
id?: string;
|
|
54851
|
+
laatst_gezien?: string;
|
|
54852
|
+
tick_sleutel?: string;
|
|
54853
|
+
updated_at?: string;
|
|
54854
|
+
};
|
|
54855
|
+
Update: {
|
|
54856
|
+
actief?: boolean;
|
|
54857
|
+
basis_url?: string;
|
|
54858
|
+
created_at?: string;
|
|
54859
|
+
id?: string;
|
|
54860
|
+
laatst_gezien?: string;
|
|
54861
|
+
tick_sleutel?: string;
|
|
54862
|
+
updated_at?: string;
|
|
54863
|
+
};
|
|
54864
|
+
Relationships: [];
|
|
54865
|
+
};
|
|
54866
|
+
print_queue_settings: {
|
|
54867
|
+
Row: {
|
|
54868
|
+
bewaar_bestanden_dagen: number;
|
|
54869
|
+
bewaar_opdrachten_dagen: number;
|
|
54870
|
+
created_at: string;
|
|
54871
|
+
dubbel_venster_minuten: number;
|
|
54872
|
+
id: string;
|
|
54873
|
+
updated_at: string;
|
|
54874
|
+
};
|
|
54875
|
+
Insert: {
|
|
54876
|
+
bewaar_bestanden_dagen?: number;
|
|
54877
|
+
bewaar_opdrachten_dagen?: number;
|
|
54878
|
+
created_at?: string;
|
|
54879
|
+
dubbel_venster_minuten?: number;
|
|
54880
|
+
id?: string;
|
|
54881
|
+
updated_at?: string;
|
|
54882
|
+
};
|
|
54883
|
+
Update: {
|
|
54884
|
+
bewaar_bestanden_dagen?: number;
|
|
54885
|
+
bewaar_opdrachten_dagen?: number;
|
|
54886
|
+
created_at?: string;
|
|
54887
|
+
dubbel_venster_minuten?: number;
|
|
54888
|
+
id?: string;
|
|
54889
|
+
updated_at?: string;
|
|
54890
|
+
};
|
|
54891
|
+
Relationships: [];
|
|
54892
|
+
};
|
|
53858
54893
|
print_rules: {
|
|
53859
54894
|
Row: {
|
|
53860
54895
|
actief: boolean;
|
|
@@ -56695,6 +57730,8 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
56695
57730
|
};
|
|
56696
57731
|
twinfield_invoice_settings: {
|
|
56697
57732
|
Row: {
|
|
57733
|
+
auto_invoice_enabled: boolean;
|
|
57734
|
+
auto_invoice_trigger_statuses: string[];
|
|
56698
57735
|
created_at: string;
|
|
56699
57736
|
debtor_gl_account: string;
|
|
56700
57737
|
default_credit_invoice_type: string | null;
|
|
@@ -56715,6 +57752,8 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
56715
57752
|
vat_code_export: string | null;
|
|
56716
57753
|
};
|
|
56717
57754
|
Insert: {
|
|
57755
|
+
auto_invoice_enabled?: boolean;
|
|
57756
|
+
auto_invoice_trigger_statuses?: string[];
|
|
56718
57757
|
created_at?: string;
|
|
56719
57758
|
debtor_gl_account?: string;
|
|
56720
57759
|
default_credit_invoice_type?: string | null;
|
|
@@ -56735,6 +57774,8 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
56735
57774
|
vat_code_export?: string | null;
|
|
56736
57775
|
};
|
|
56737
57776
|
Update: {
|
|
57777
|
+
auto_invoice_enabled?: boolean;
|
|
57778
|
+
auto_invoice_trigger_statuses?: string[];
|
|
56738
57779
|
created_at?: string;
|
|
56739
57780
|
debtor_gl_account?: string;
|
|
56740
57781
|
default_credit_invoice_type?: string | null;
|
|
@@ -57797,6 +58838,33 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
57797
58838
|
referencedColumns: ["id"];
|
|
57798
58839
|
}];
|
|
57799
58840
|
};
|
|
58841
|
+
user_module_permissions: {
|
|
58842
|
+
Row: {
|
|
58843
|
+
created_at: string;
|
|
58844
|
+
id: string;
|
|
58845
|
+
module_id: string;
|
|
58846
|
+
permission: string;
|
|
58847
|
+
updated_at: string;
|
|
58848
|
+
user_id: string;
|
|
58849
|
+
};
|
|
58850
|
+
Insert: {
|
|
58851
|
+
created_at?: string;
|
|
58852
|
+
id?: string;
|
|
58853
|
+
module_id: string;
|
|
58854
|
+
permission: string;
|
|
58855
|
+
updated_at?: string;
|
|
58856
|
+
user_id: string;
|
|
58857
|
+
};
|
|
58858
|
+
Update: {
|
|
58859
|
+
created_at?: string;
|
|
58860
|
+
id?: string;
|
|
58861
|
+
module_id?: string;
|
|
58862
|
+
permission?: string;
|
|
58863
|
+
updated_at?: string;
|
|
58864
|
+
user_id?: string;
|
|
58865
|
+
};
|
|
58866
|
+
Relationships: [];
|
|
58867
|
+
};
|
|
57800
58868
|
user_roles: {
|
|
57801
58869
|
Row: {
|
|
57802
58870
|
created_at: string;
|
|
@@ -59630,6 +60698,10 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
59630
60698
|
processed_items: number;
|
|
59631
60699
|
}[];
|
|
59632
60700
|
};
|
|
60701
|
+
backfill_order_auto_invoice_queue: {
|
|
60702
|
+
Args: never;
|
|
60703
|
+
Returns: number;
|
|
60704
|
+
};
|
|
59633
60705
|
calculate_layer_stock: {
|
|
59634
60706
|
Args: {
|
|
59635
60707
|
p_product_id: string;
|
|
@@ -59860,6 +60932,10 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
59860
60932
|
Args: never;
|
|
59861
60933
|
Returns: undefined;
|
|
59862
60934
|
};
|
|
60935
|
+
cleanup_voorraad_module_history: {
|
|
60936
|
+
Args: never;
|
|
60937
|
+
Returns: undefined;
|
|
60938
|
+
};
|
|
59863
60939
|
complete_floriday_stock_queue: {
|
|
59864
60940
|
Args: {
|
|
59865
60941
|
p_attempt_id?: string;
|
|
@@ -59981,6 +61057,13 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
59981
61057
|
};
|
|
59982
61058
|
Returns: import("../integrations/supabase/types").Json;
|
|
59983
61059
|
};
|
|
61060
|
+
effective_module_permission: {
|
|
61061
|
+
Args: {
|
|
61062
|
+
_module_id: string;
|
|
61063
|
+
_user_id: string;
|
|
61064
|
+
};
|
|
61065
|
+
Returns: string;
|
|
61066
|
+
};
|
|
59984
61067
|
email_auth_decrypt: {
|
|
59985
61068
|
Args: {
|
|
59986
61069
|
cipher: string;
|
|
@@ -60881,6 +61964,65 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
60881
61964
|
};
|
|
60882
61965
|
Returns: number;
|
|
60883
61966
|
};
|
|
61967
|
+
logistics_plan_claim: {
|
|
61968
|
+
Args: {
|
|
61969
|
+
p_limit?: number;
|
|
61970
|
+
};
|
|
61971
|
+
Returns: {
|
|
61972
|
+
attempts: number;
|
|
61973
|
+
id: string;
|
|
61974
|
+
order_id: string;
|
|
61975
|
+
}[];
|
|
61976
|
+
};
|
|
61977
|
+
logistics_plan_enqueue: {
|
|
61978
|
+
Args: {
|
|
61979
|
+
p_order_id: string;
|
|
61980
|
+
p_reason?: string;
|
|
61981
|
+
};
|
|
61982
|
+
Returns: undefined;
|
|
61983
|
+
};
|
|
61984
|
+
logistics_plan_ensure_event: {
|
|
61985
|
+
Args: {
|
|
61986
|
+
p_order_id: string;
|
|
61987
|
+
};
|
|
61988
|
+
Returns: boolean;
|
|
61989
|
+
};
|
|
61990
|
+
logistics_plan_finish: {
|
|
61991
|
+
Args: {
|
|
61992
|
+
p_error?: string;
|
|
61993
|
+
p_id: string;
|
|
61994
|
+
};
|
|
61995
|
+
Returns: undefined;
|
|
61996
|
+
};
|
|
61997
|
+
logistics_plan_impact_orders: {
|
|
61998
|
+
Args: {
|
|
61999
|
+
p_order_id: string;
|
|
62000
|
+
};
|
|
62001
|
+
Returns: {
|
|
62002
|
+
buffer_id: string;
|
|
62003
|
+
order_id: string;
|
|
62004
|
+
plan_date: string;
|
|
62005
|
+
}[];
|
|
62006
|
+
};
|
|
62007
|
+
logistics_plan_kick: {
|
|
62008
|
+
Args: never;
|
|
62009
|
+
Returns: undefined;
|
|
62010
|
+
};
|
|
62011
|
+
logistics_plan_prune: {
|
|
62012
|
+
Args: never;
|
|
62013
|
+
Returns: number;
|
|
62014
|
+
};
|
|
62015
|
+
logistics_plan_release_stale: {
|
|
62016
|
+
Args: never;
|
|
62017
|
+
Returns: number;
|
|
62018
|
+
};
|
|
62019
|
+
logistics_plan_setting: {
|
|
62020
|
+
Args: {
|
|
62021
|
+
p_default: number;
|
|
62022
|
+
p_key: string;
|
|
62023
|
+
};
|
|
62024
|
+
Returns: number;
|
|
62025
|
+
};
|
|
60884
62026
|
logistics_queue_capacity_email: {
|
|
60885
62027
|
Args: {
|
|
60886
62028
|
p_alert_id: string;
|
|
@@ -61119,6 +62261,13 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
61119
62261
|
};
|
|
61120
62262
|
Returns: undefined;
|
|
61121
62263
|
};
|
|
62264
|
+
my_module_permissions: {
|
|
62265
|
+
Args: never;
|
|
62266
|
+
Returns: {
|
|
62267
|
+
module_id: string;
|
|
62268
|
+
permission: string;
|
|
62269
|
+
}[];
|
|
62270
|
+
};
|
|
61122
62271
|
next_manufacture_partij: {
|
|
61123
62272
|
Args: {
|
|
61124
62273
|
_tenant_id: string;
|
|
@@ -61169,6 +62318,13 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
61169
62318
|
};
|
|
61170
62319
|
Returns: boolean;
|
|
61171
62320
|
};
|
|
62321
|
+
opruim_print_historie: {
|
|
62322
|
+
Args: never;
|
|
62323
|
+
Returns: {
|
|
62324
|
+
ontdaan: number;
|
|
62325
|
+
verwijderd: number;
|
|
62326
|
+
}[];
|
|
62327
|
+
};
|
|
61172
62328
|
order_number_prefix: {
|
|
61173
62329
|
Args: {
|
|
61174
62330
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -61563,6 +62719,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
61563
62719
|
};
|
|
61564
62720
|
Returns: undefined;
|
|
61565
62721
|
};
|
|
62722
|
+
reset_stalled_floriday_stock_queue: {
|
|
62723
|
+
Args: {
|
|
62724
|
+
p_include_failed?: boolean;
|
|
62725
|
+
};
|
|
62726
|
+
Returns: number;
|
|
62727
|
+
};
|
|
61566
62728
|
resolve_group_allocation: {
|
|
61567
62729
|
Args: {
|
|
61568
62730
|
_needed: number;
|
|
@@ -61617,10 +62779,18 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
61617
62779
|
Args: never;
|
|
61618
62780
|
Returns: undefined;
|
|
61619
62781
|
};
|
|
62782
|
+
run_floriday_stock_queue_process: {
|
|
62783
|
+
Args: never;
|
|
62784
|
+
Returns: undefined;
|
|
62785
|
+
};
|
|
61620
62786
|
run_logistics_tasks_dispatch: {
|
|
61621
62787
|
Args: never;
|
|
61622
62788
|
Returns: undefined;
|
|
61623
62789
|
};
|
|
62790
|
+
run_print_queue_ticks: {
|
|
62791
|
+
Args: never;
|
|
62792
|
+
Returns: number;
|
|
62793
|
+
};
|
|
61624
62794
|
run_twinfield_queue_tick: {
|
|
61625
62795
|
Args: never;
|
|
61626
62796
|
Returns: undefined;
|
|
@@ -62008,6 +63178,15 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
62008
63178
|
};
|
|
62009
63179
|
Returns: undefined;
|
|
62010
63180
|
};
|
|
63181
|
+
trade_item_stock_duplicates: {
|
|
63182
|
+
Args: never;
|
|
63183
|
+
Returns: {
|
|
63184
|
+
keys: string[];
|
|
63185
|
+
product_id: string;
|
|
63186
|
+
product_name: string;
|
|
63187
|
+
row_count: number;
|
|
63188
|
+
}[];
|
|
63189
|
+
};
|
|
62011
63190
|
try_debtor_lock: {
|
|
62012
63191
|
Args: {
|
|
62013
63192
|
_group_key: string;
|