@flowselections/floriday-afhandeling-module 1.0.30 → 1.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/afhandeling/LeveringenPage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/LeveringenPage.js +7 -24
- package/dist-lib/components/afhandeling/PickAgendaView.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/PickAgendaView.js +22 -24
- package/dist-lib/components/afhandeling/WeekAgendaView.d.ts +5 -1
- package/dist-lib/components/afhandeling/WeekAgendaView.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/WeekAgendaView.js +19 -29
- package/dist-lib/hooks/useEngineTasks.d.ts +2 -0
- package/dist-lib/hooks/useEngineTasks.d.ts.map +1 -1
- package/dist-lib/hooks/useEngineTasks.js +19 -4
- package/dist-lib/hooks/useOrderPlanning.d.ts +12 -1
- package/dist-lib/hooks/useOrderPlanning.d.ts.map +1 -1
- package/dist-lib/hooks/useOrderPlanning.js +65 -26
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +629 -4
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +629 -4
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +629 -4
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +630 -5
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +12 -1
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +1378 -128
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/agendaRange.d.ts +13 -0
- package/dist-lib/lib/agendaRange.d.ts.map +1 -0
- package/dist-lib/lib/agendaRange.js +25 -0
- package/dist-lib/lib/carriers.functions.d.ts +3265 -140
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.d.ts +3265 -140
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.d.ts +6650 -400
- package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +647 -8
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.js +86 -20
- package/dist-lib/lib/logisticsEngine/engine.d.ts +16 -3
- package/dist-lib/lib/logisticsEngine/engine.d.ts.map +1 -1
- package/dist-lib/lib/logisticsEngine/engine.js +13 -6
- package/package.json +2 -2
|
@@ -22,6 +22,23 @@ export interface FloridayOrder {
|
|
|
22
22
|
/** Floriday salesOrderId — nodig voor afleverbrief PDF via gateway. */
|
|
23
23
|
salesOrderId?: string | null;
|
|
24
24
|
}
|
|
25
|
+
export interface GetFloridayOrdersInput {
|
|
26
|
+
/** Ondergrens leverdatum (YYYY-MM-DD). */
|
|
27
|
+
from?: string;
|
|
28
|
+
/** Bovengrens leverdatum (YYYY-MM-DD). */
|
|
29
|
+
to?: string;
|
|
30
|
+
}
|
|
31
|
+
export interface GetFloridayOrdersResult {
|
|
32
|
+
orders: FloridayOrder[];
|
|
33
|
+
error?: string;
|
|
34
|
+
/** Venster dat daadwerkelijk gebruikt is. */
|
|
35
|
+
range: {
|
|
36
|
+
from: string;
|
|
37
|
+
to: string;
|
|
38
|
+
};
|
|
39
|
+
/** Dichtstbijzijnde leverdatum buiten het venster (voor "spring naar week"). */
|
|
40
|
+
nearestDeliveryDate?: string | null;
|
|
41
|
+
}
|
|
25
42
|
export declare const getFloridayOrders: import("@tanstack/start-client-core").OptionalFetcher<readonly [import("@tanstack/start-client-core").FunctionMiddlewareAfterServer<{}, unknown, undefined, {
|
|
26
43
|
supabase: SupabaseClient<import("../integrations/supabase/types").Database, "public", "public", {
|
|
27
44
|
Tables: {
|
|
@@ -1707,7 +1724,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
1707
1724
|
city: string | null;
|
|
1708
1725
|
country: string | null;
|
|
1709
1726
|
created_at: string;
|
|
1710
|
-
customer_id: string
|
|
1727
|
+
customer_id: string;
|
|
1711
1728
|
external_key: string | null;
|
|
1712
1729
|
external_provider: string | null;
|
|
1713
1730
|
floriday_location_id: string | null;
|
|
@@ -1731,7 +1748,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
1731
1748
|
city?: string | null;
|
|
1732
1749
|
country?: string | null;
|
|
1733
1750
|
created_at?: string;
|
|
1734
|
-
customer_id
|
|
1751
|
+
customer_id: string;
|
|
1735
1752
|
external_key?: string | null;
|
|
1736
1753
|
external_provider?: string | null;
|
|
1737
1754
|
floriday_location_id?: string | null;
|
|
@@ -1755,7 +1772,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
1755
1772
|
city?: string | null;
|
|
1756
1773
|
country?: string | null;
|
|
1757
1774
|
created_at?: string;
|
|
1758
|
-
customer_id?: string
|
|
1775
|
+
customer_id?: string;
|
|
1759
1776
|
external_key?: string | null;
|
|
1760
1777
|
external_provider?: string | null;
|
|
1761
1778
|
floriday_location_id?: string | null;
|
|
@@ -6503,6 +6520,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6503
6520
|
Row: {
|
|
6504
6521
|
buyer_organization_id: string | null;
|
|
6505
6522
|
connection_id: string;
|
|
6523
|
+
controlled_at: string | null;
|
|
6506
6524
|
created_at: string;
|
|
6507
6525
|
data: import("../integrations/supabase/types").Json;
|
|
6508
6526
|
floriday_id: string;
|
|
@@ -6514,6 +6532,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6514
6532
|
Insert: {
|
|
6515
6533
|
buyer_organization_id?: string | null;
|
|
6516
6534
|
connection_id: string;
|
|
6535
|
+
controlled_at?: string | null;
|
|
6517
6536
|
created_at?: string;
|
|
6518
6537
|
data: import("../integrations/supabase/types").Json;
|
|
6519
6538
|
floriday_id: string;
|
|
@@ -6525,6 +6544,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6525
6544
|
Update: {
|
|
6526
6545
|
buyer_organization_id?: string | null;
|
|
6527
6546
|
connection_id?: string;
|
|
6547
|
+
controlled_at?: string | null;
|
|
6528
6548
|
created_at?: string;
|
|
6529
6549
|
data?: import("../integrations/supabase/types").Json;
|
|
6530
6550
|
floriday_id?: string;
|
|
@@ -7426,6 +7446,54 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7426
7446
|
};
|
|
7427
7447
|
Relationships: [];
|
|
7428
7448
|
};
|
|
7449
|
+
invoice_timing_settings: {
|
|
7450
|
+
Row: {
|
|
7451
|
+
anchor: string;
|
|
7452
|
+
business_days_only: boolean;
|
|
7453
|
+
created_at: string;
|
|
7454
|
+
enabled: boolean;
|
|
7455
|
+
id: string;
|
|
7456
|
+
offset_days: number;
|
|
7457
|
+
pickup_anchor: string;
|
|
7458
|
+
pickup_business_days_only: boolean;
|
|
7459
|
+
pickup_offset_days: number;
|
|
7460
|
+
pickup_time_of_day: string;
|
|
7461
|
+
singleton: boolean;
|
|
7462
|
+
time_of_day: string;
|
|
7463
|
+
updated_at: string;
|
|
7464
|
+
};
|
|
7465
|
+
Insert: {
|
|
7466
|
+
anchor?: string;
|
|
7467
|
+
business_days_only?: boolean;
|
|
7468
|
+
created_at?: string;
|
|
7469
|
+
enabled?: boolean;
|
|
7470
|
+
id?: string;
|
|
7471
|
+
offset_days?: number;
|
|
7472
|
+
pickup_anchor?: string;
|
|
7473
|
+
pickup_business_days_only?: boolean;
|
|
7474
|
+
pickup_offset_days?: number;
|
|
7475
|
+
pickup_time_of_day?: string;
|
|
7476
|
+
singleton?: boolean;
|
|
7477
|
+
time_of_day?: string;
|
|
7478
|
+
updated_at?: string;
|
|
7479
|
+
};
|
|
7480
|
+
Update: {
|
|
7481
|
+
anchor?: string;
|
|
7482
|
+
business_days_only?: boolean;
|
|
7483
|
+
created_at?: string;
|
|
7484
|
+
enabled?: boolean;
|
|
7485
|
+
id?: string;
|
|
7486
|
+
offset_days?: number;
|
|
7487
|
+
pickup_anchor?: string;
|
|
7488
|
+
pickup_business_days_only?: boolean;
|
|
7489
|
+
pickup_offset_days?: number;
|
|
7490
|
+
pickup_time_of_day?: string;
|
|
7491
|
+
singleton?: boolean;
|
|
7492
|
+
time_of_day?: string;
|
|
7493
|
+
updated_at?: string;
|
|
7494
|
+
};
|
|
7495
|
+
Relationships: [];
|
|
7496
|
+
};
|
|
7429
7497
|
itk_contact_persons: {
|
|
7430
7498
|
Row: {
|
|
7431
7499
|
created_at: string;
|
|
@@ -8515,6 +8583,69 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8515
8583
|
};
|
|
8516
8584
|
Relationships: [];
|
|
8517
8585
|
};
|
|
8586
|
+
logistics_floriday_pushes: {
|
|
8587
|
+
Row: {
|
|
8588
|
+
attempts: number;
|
|
8589
|
+
created_at: string;
|
|
8590
|
+
first_queued_at: string;
|
|
8591
|
+
fulfillment_order_id: string | null;
|
|
8592
|
+
id: string;
|
|
8593
|
+
last_error: string | null;
|
|
8594
|
+
last_error_at: string | null;
|
|
8595
|
+
last_sent_hash: string | null;
|
|
8596
|
+
locked_by: string | null;
|
|
8597
|
+
locked_until: string | null;
|
|
8598
|
+
next_attempt_at: string;
|
|
8599
|
+
order_ref: string;
|
|
8600
|
+
payload: import("../integrations/supabase/types").Json;
|
|
8601
|
+
payload_hash: string | null;
|
|
8602
|
+
revision: number;
|
|
8603
|
+
sent_at: string | null;
|
|
8604
|
+
status: string;
|
|
8605
|
+
updated_at: string;
|
|
8606
|
+
};
|
|
8607
|
+
Insert: {
|
|
8608
|
+
attempts?: number;
|
|
8609
|
+
created_at?: string;
|
|
8610
|
+
first_queued_at?: string;
|
|
8611
|
+
fulfillment_order_id?: string | null;
|
|
8612
|
+
id?: string;
|
|
8613
|
+
last_error?: string | null;
|
|
8614
|
+
last_error_at?: string | null;
|
|
8615
|
+
last_sent_hash?: string | null;
|
|
8616
|
+
locked_by?: string | null;
|
|
8617
|
+
locked_until?: string | null;
|
|
8618
|
+
next_attempt_at?: string;
|
|
8619
|
+
order_ref: string;
|
|
8620
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
8621
|
+
payload_hash?: string | null;
|
|
8622
|
+
revision?: number;
|
|
8623
|
+
sent_at?: string | null;
|
|
8624
|
+
status?: string;
|
|
8625
|
+
updated_at?: string;
|
|
8626
|
+
};
|
|
8627
|
+
Update: {
|
|
8628
|
+
attempts?: number;
|
|
8629
|
+
created_at?: string;
|
|
8630
|
+
first_queued_at?: string;
|
|
8631
|
+
fulfillment_order_id?: string | null;
|
|
8632
|
+
id?: string;
|
|
8633
|
+
last_error?: string | null;
|
|
8634
|
+
last_error_at?: string | null;
|
|
8635
|
+
last_sent_hash?: string | null;
|
|
8636
|
+
locked_by?: string | null;
|
|
8637
|
+
locked_until?: string | null;
|
|
8638
|
+
next_attempt_at?: string;
|
|
8639
|
+
order_ref?: string;
|
|
8640
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
8641
|
+
payload_hash?: string | null;
|
|
8642
|
+
revision?: number;
|
|
8643
|
+
sent_at?: string | null;
|
|
8644
|
+
status?: string;
|
|
8645
|
+
updated_at?: string;
|
|
8646
|
+
};
|
|
8647
|
+
Relationships: [];
|
|
8648
|
+
};
|
|
8518
8649
|
logistics_formulas: {
|
|
8519
8650
|
Row: {
|
|
8520
8651
|
created_at: string;
|
|
@@ -8593,6 +8724,45 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8593
8724
|
};
|
|
8594
8725
|
Relationships: [];
|
|
8595
8726
|
};
|
|
8727
|
+
logistics_plan_queue: {
|
|
8728
|
+
Row: {
|
|
8729
|
+
attempts: number;
|
|
8730
|
+
claimed_at: string | null;
|
|
8731
|
+
enqueued_at: string;
|
|
8732
|
+
error: string | null;
|
|
8733
|
+
id: string;
|
|
8734
|
+
next_attempt_at: string;
|
|
8735
|
+
order_id: string;
|
|
8736
|
+
reason: string;
|
|
8737
|
+
status: string;
|
|
8738
|
+
updated_at: string;
|
|
8739
|
+
};
|
|
8740
|
+
Insert: {
|
|
8741
|
+
attempts?: number;
|
|
8742
|
+
claimed_at?: string | null;
|
|
8743
|
+
enqueued_at?: string;
|
|
8744
|
+
error?: string | null;
|
|
8745
|
+
id?: string;
|
|
8746
|
+
next_attempt_at?: string;
|
|
8747
|
+
order_id: string;
|
|
8748
|
+
reason?: string;
|
|
8749
|
+
status?: string;
|
|
8750
|
+
updated_at?: string;
|
|
8751
|
+
};
|
|
8752
|
+
Update: {
|
|
8753
|
+
attempts?: number;
|
|
8754
|
+
claimed_at?: string | null;
|
|
8755
|
+
enqueued_at?: string;
|
|
8756
|
+
error?: string | null;
|
|
8757
|
+
id?: string;
|
|
8758
|
+
next_attempt_at?: string;
|
|
8759
|
+
order_id?: string;
|
|
8760
|
+
reason?: string;
|
|
8761
|
+
status?: string;
|
|
8762
|
+
updated_at?: string;
|
|
8763
|
+
};
|
|
8764
|
+
Relationships: [];
|
|
8765
|
+
};
|
|
8596
8766
|
logistics_plan_runs: {
|
|
8597
8767
|
Row: {
|
|
8598
8768
|
created_at: string;
|
|
@@ -8668,6 +8838,24 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8668
8838
|
referencedColumns: ["id"];
|
|
8669
8839
|
}];
|
|
8670
8840
|
};
|
|
8841
|
+
logistics_plan_settings: {
|
|
8842
|
+
Row: {
|
|
8843
|
+
key: string;
|
|
8844
|
+
updated_at: string;
|
|
8845
|
+
value: string;
|
|
8846
|
+
};
|
|
8847
|
+
Insert: {
|
|
8848
|
+
key: string;
|
|
8849
|
+
updated_at?: string;
|
|
8850
|
+
value: string;
|
|
8851
|
+
};
|
|
8852
|
+
Update: {
|
|
8853
|
+
key?: string;
|
|
8854
|
+
updated_at?: string;
|
|
8855
|
+
value?: string;
|
|
8856
|
+
};
|
|
8857
|
+
Relationships: [];
|
|
8858
|
+
};
|
|
8671
8859
|
logistics_rebuffer_state: {
|
|
8672
8860
|
Row: {
|
|
8673
8861
|
created_at: string;
|
|
@@ -9378,14 +9566,17 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9378
9566
|
};
|
|
9379
9567
|
mailbox_messages: {
|
|
9380
9568
|
Row: {
|
|
9569
|
+
attachments: import("../integrations/supabase/types").Json;
|
|
9381
9570
|
body_html: string | null;
|
|
9382
9571
|
body_text: string | null;
|
|
9572
|
+
cc_recipients: import("../integrations/supabase/types").Json;
|
|
9383
9573
|
connection_id: string | null;
|
|
9384
9574
|
created_at: string;
|
|
9385
9575
|
error_message: string | null;
|
|
9386
9576
|
external_id: string | null;
|
|
9387
9577
|
from_email: string | null;
|
|
9388
9578
|
from_name: string | null;
|
|
9579
|
+
has_attachments: boolean;
|
|
9389
9580
|
id: string;
|
|
9390
9581
|
message_id: string | null;
|
|
9391
9582
|
profile_id: string | null;
|
|
@@ -9393,18 +9584,22 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9393
9584
|
received_at: string | null;
|
|
9394
9585
|
status: string;
|
|
9395
9586
|
subject: string | null;
|
|
9587
|
+
to_recipients: import("../integrations/supabase/types").Json;
|
|
9396
9588
|
uid: number | null;
|
|
9397
9589
|
updated_at: string;
|
|
9398
9590
|
};
|
|
9399
9591
|
Insert: {
|
|
9592
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
9400
9593
|
body_html?: string | null;
|
|
9401
9594
|
body_text?: string | null;
|
|
9595
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
9402
9596
|
connection_id?: string | null;
|
|
9403
9597
|
created_at?: string;
|
|
9404
9598
|
error_message?: string | null;
|
|
9405
9599
|
external_id?: string | null;
|
|
9406
9600
|
from_email?: string | null;
|
|
9407
9601
|
from_name?: string | null;
|
|
9602
|
+
has_attachments?: boolean;
|
|
9408
9603
|
id?: string;
|
|
9409
9604
|
message_id?: string | null;
|
|
9410
9605
|
profile_id?: string | null;
|
|
@@ -9412,18 +9607,22 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9412
9607
|
received_at?: string | null;
|
|
9413
9608
|
status?: string;
|
|
9414
9609
|
subject?: string | null;
|
|
9610
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
9415
9611
|
uid?: number | null;
|
|
9416
9612
|
updated_at?: string;
|
|
9417
9613
|
};
|
|
9418
9614
|
Update: {
|
|
9615
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
9419
9616
|
body_html?: string | null;
|
|
9420
9617
|
body_text?: string | null;
|
|
9618
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
9421
9619
|
connection_id?: string | null;
|
|
9422
9620
|
created_at?: string;
|
|
9423
9621
|
error_message?: string | null;
|
|
9424
9622
|
external_id?: string | null;
|
|
9425
9623
|
from_email?: string | null;
|
|
9426
9624
|
from_name?: string | null;
|
|
9625
|
+
has_attachments?: boolean;
|
|
9427
9626
|
id?: string;
|
|
9428
9627
|
message_id?: string | null;
|
|
9429
9628
|
profile_id?: string | null;
|
|
@@ -9431,6 +9630,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9431
9630
|
received_at?: string | null;
|
|
9432
9631
|
status?: string;
|
|
9433
9632
|
subject?: string | null;
|
|
9633
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
9434
9634
|
uid?: number | null;
|
|
9435
9635
|
updated_at?: string;
|
|
9436
9636
|
};
|
|
@@ -9838,6 +10038,36 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9838
10038
|
};
|
|
9839
10039
|
Relationships: [];
|
|
9840
10040
|
};
|
|
10041
|
+
module_registry: {
|
|
10042
|
+
Row: {
|
|
10043
|
+
created_at: string;
|
|
10044
|
+
is_active: boolean;
|
|
10045
|
+
last_seen_at: string;
|
|
10046
|
+
module_id: string;
|
|
10047
|
+
name: string;
|
|
10048
|
+
shell_id: string | null;
|
|
10049
|
+
sort_order: number | null;
|
|
10050
|
+
};
|
|
10051
|
+
Insert: {
|
|
10052
|
+
created_at?: string;
|
|
10053
|
+
is_active?: boolean;
|
|
10054
|
+
last_seen_at?: string;
|
|
10055
|
+
module_id: string;
|
|
10056
|
+
name: string;
|
|
10057
|
+
shell_id?: string | null;
|
|
10058
|
+
sort_order?: number | null;
|
|
10059
|
+
};
|
|
10060
|
+
Update: {
|
|
10061
|
+
created_at?: string;
|
|
10062
|
+
is_active?: boolean;
|
|
10063
|
+
last_seen_at?: string;
|
|
10064
|
+
module_id?: string;
|
|
10065
|
+
name?: string;
|
|
10066
|
+
shell_id?: string | null;
|
|
10067
|
+
sort_order?: number | null;
|
|
10068
|
+
};
|
|
10069
|
+
Relationships: [];
|
|
10070
|
+
};
|
|
9841
10071
|
module_runtime_config: {
|
|
9842
10072
|
Row: {
|
|
9843
10073
|
key: string;
|
|
@@ -10897,6 +11127,45 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10897
11127
|
};
|
|
10898
11128
|
Relationships: [];
|
|
10899
11129
|
};
|
|
11130
|
+
order_invoice_links: {
|
|
11131
|
+
Row: {
|
|
11132
|
+
attempts: number;
|
|
11133
|
+
created_at: string;
|
|
11134
|
+
error_message: string | null;
|
|
11135
|
+
id: string;
|
|
11136
|
+
invoice_number: string | null;
|
|
11137
|
+
next_attempt_at: string;
|
|
11138
|
+
order_id: string;
|
|
11139
|
+
processed_at: string | null;
|
|
11140
|
+
status: string;
|
|
11141
|
+
updated_at: string;
|
|
11142
|
+
};
|
|
11143
|
+
Insert: {
|
|
11144
|
+
attempts?: number;
|
|
11145
|
+
created_at?: string;
|
|
11146
|
+
error_message?: string | null;
|
|
11147
|
+
id?: string;
|
|
11148
|
+
invoice_number?: string | null;
|
|
11149
|
+
next_attempt_at?: string;
|
|
11150
|
+
order_id: string;
|
|
11151
|
+
processed_at?: string | null;
|
|
11152
|
+
status?: string;
|
|
11153
|
+
updated_at?: string;
|
|
11154
|
+
};
|
|
11155
|
+
Update: {
|
|
11156
|
+
attempts?: number;
|
|
11157
|
+
created_at?: string;
|
|
11158
|
+
error_message?: string | null;
|
|
11159
|
+
id?: string;
|
|
11160
|
+
invoice_number?: string | null;
|
|
11161
|
+
next_attempt_at?: string;
|
|
11162
|
+
order_id?: string;
|
|
11163
|
+
processed_at?: string | null;
|
|
11164
|
+
status?: string;
|
|
11165
|
+
updated_at?: string;
|
|
11166
|
+
};
|
|
11167
|
+
Relationships: [];
|
|
11168
|
+
};
|
|
10900
11169
|
order_items: {
|
|
10901
11170
|
Row: {
|
|
10902
11171
|
crates_per_layer: number | null;
|
|
@@ -11079,6 +11348,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
11079
11348
|
delivery_date: string | null;
|
|
11080
11349
|
floriday_sales_order_id: string | null;
|
|
11081
11350
|
id: string;
|
|
11351
|
+
invoice_due_at: string | null;
|
|
11082
11352
|
is_reservation: boolean;
|
|
11083
11353
|
notes: string | null;
|
|
11084
11354
|
order_date: string;
|
|
@@ -11100,6 +11370,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
11100
11370
|
delivery_date?: string | null;
|
|
11101
11371
|
floriday_sales_order_id?: string | null;
|
|
11102
11372
|
id?: string;
|
|
11373
|
+
invoice_due_at?: string | null;
|
|
11103
11374
|
is_reservation?: boolean;
|
|
11104
11375
|
notes?: string | null;
|
|
11105
11376
|
order_date?: string;
|
|
@@ -11121,6 +11392,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
11121
11392
|
delivery_date?: string | null;
|
|
11122
11393
|
floriday_sales_order_id?: string | null;
|
|
11123
11394
|
id?: string;
|
|
11395
|
+
invoice_due_at?: string | null;
|
|
11124
11396
|
is_reservation?: boolean;
|
|
11125
11397
|
notes?: string | null;
|
|
11126
11398
|
order_date?: string;
|
|
@@ -12317,22 +12589,27 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12317
12589
|
created_at: string;
|
|
12318
12590
|
documentnaam: string;
|
|
12319
12591
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12592
|
+
extern_job_id: string | null;
|
|
12320
12593
|
foutmelding: string | null;
|
|
12321
12594
|
gebruiker_id: string | null;
|
|
12322
12595
|
gebruiker_naam: string;
|
|
12323
12596
|
gestart_op: string | null;
|
|
12324
12597
|
id: string;
|
|
12598
|
+
idempotentie_sleutel: string | null;
|
|
12325
12599
|
is_herprint: boolean;
|
|
12326
12600
|
kopieen: number;
|
|
12327
12601
|
layout_id: string | null;
|
|
12328
12602
|
opgepakt_op: string | null;
|
|
12329
12603
|
paginas: number;
|
|
12330
12604
|
payload: import("../integrations/supabase/types").Json;
|
|
12605
|
+
pdf_base64: string | null;
|
|
12606
|
+
pdf_url: string | null;
|
|
12331
12607
|
pogingen: number;
|
|
12332
12608
|
printer_id: string | null;
|
|
12333
12609
|
render_html: string | null;
|
|
12334
12610
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12335
12611
|
updated_at: string;
|
|
12612
|
+
volgende_poging: string | null;
|
|
12336
12613
|
voltooid_op: string | null;
|
|
12337
12614
|
};
|
|
12338
12615
|
Insert: {
|
|
@@ -12341,22 +12618,27 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12341
12618
|
created_at?: string;
|
|
12342
12619
|
documentnaam?: string;
|
|
12343
12620
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12621
|
+
extern_job_id?: string | null;
|
|
12344
12622
|
foutmelding?: string | null;
|
|
12345
12623
|
gebruiker_id?: string | null;
|
|
12346
12624
|
gebruiker_naam?: string;
|
|
12347
12625
|
gestart_op?: string | null;
|
|
12348
12626
|
id?: string;
|
|
12627
|
+
idempotentie_sleutel?: string | null;
|
|
12349
12628
|
is_herprint?: boolean;
|
|
12350
12629
|
kopieen?: number;
|
|
12351
12630
|
layout_id?: string | null;
|
|
12352
12631
|
opgepakt_op?: string | null;
|
|
12353
12632
|
paginas?: number;
|
|
12354
12633
|
payload?: import("../integrations/supabase/types").Json;
|
|
12634
|
+
pdf_base64?: string | null;
|
|
12635
|
+
pdf_url?: string | null;
|
|
12355
12636
|
pogingen?: number;
|
|
12356
12637
|
printer_id?: string | null;
|
|
12357
12638
|
render_html?: string | null;
|
|
12358
12639
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12359
12640
|
updated_at?: string;
|
|
12641
|
+
volgende_poging?: string | null;
|
|
12360
12642
|
voltooid_op?: string | null;
|
|
12361
12643
|
};
|
|
12362
12644
|
Update: {
|
|
@@ -12365,22 +12647,27 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12365
12647
|
created_at?: string;
|
|
12366
12648
|
documentnaam?: string;
|
|
12367
12649
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12650
|
+
extern_job_id?: string | null;
|
|
12368
12651
|
foutmelding?: string | null;
|
|
12369
12652
|
gebruiker_id?: string | null;
|
|
12370
12653
|
gebruiker_naam?: string;
|
|
12371
12654
|
gestart_op?: string | null;
|
|
12372
12655
|
id?: string;
|
|
12656
|
+
idempotentie_sleutel?: string | null;
|
|
12373
12657
|
is_herprint?: boolean;
|
|
12374
12658
|
kopieen?: number;
|
|
12375
12659
|
layout_id?: string | null;
|
|
12376
12660
|
opgepakt_op?: string | null;
|
|
12377
12661
|
paginas?: number;
|
|
12378
12662
|
payload?: import("../integrations/supabase/types").Json;
|
|
12663
|
+
pdf_base64?: string | null;
|
|
12664
|
+
pdf_url?: string | null;
|
|
12379
12665
|
pogingen?: number;
|
|
12380
12666
|
printer_id?: string | null;
|
|
12381
12667
|
render_html?: string | null;
|
|
12382
12668
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12383
12669
|
updated_at?: string;
|
|
12670
|
+
volgende_poging?: string | null;
|
|
12384
12671
|
voltooid_op?: string | null;
|
|
12385
12672
|
};
|
|
12386
12673
|
Relationships: [{
|
|
@@ -12403,6 +12690,63 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12403
12690
|
referencedColumns: ["id"];
|
|
12404
12691
|
}];
|
|
12405
12692
|
};
|
|
12693
|
+
print_queue_runners: {
|
|
12694
|
+
Row: {
|
|
12695
|
+
actief: boolean;
|
|
12696
|
+
basis_url: string;
|
|
12697
|
+
created_at: string;
|
|
12698
|
+
id: string;
|
|
12699
|
+
laatst_gezien: string;
|
|
12700
|
+
tick_sleutel: string;
|
|
12701
|
+
updated_at: string;
|
|
12702
|
+
};
|
|
12703
|
+
Insert: {
|
|
12704
|
+
actief?: boolean;
|
|
12705
|
+
basis_url: string;
|
|
12706
|
+
created_at?: string;
|
|
12707
|
+
id?: string;
|
|
12708
|
+
laatst_gezien?: string;
|
|
12709
|
+
tick_sleutel?: string;
|
|
12710
|
+
updated_at?: string;
|
|
12711
|
+
};
|
|
12712
|
+
Update: {
|
|
12713
|
+
actief?: boolean;
|
|
12714
|
+
basis_url?: string;
|
|
12715
|
+
created_at?: string;
|
|
12716
|
+
id?: string;
|
|
12717
|
+
laatst_gezien?: string;
|
|
12718
|
+
tick_sleutel?: string;
|
|
12719
|
+
updated_at?: string;
|
|
12720
|
+
};
|
|
12721
|
+
Relationships: [];
|
|
12722
|
+
};
|
|
12723
|
+
print_queue_settings: {
|
|
12724
|
+
Row: {
|
|
12725
|
+
bewaar_bestanden_dagen: number;
|
|
12726
|
+
bewaar_opdrachten_dagen: number;
|
|
12727
|
+
created_at: string;
|
|
12728
|
+
dubbel_venster_minuten: number;
|
|
12729
|
+
id: string;
|
|
12730
|
+
updated_at: string;
|
|
12731
|
+
};
|
|
12732
|
+
Insert: {
|
|
12733
|
+
bewaar_bestanden_dagen?: number;
|
|
12734
|
+
bewaar_opdrachten_dagen?: number;
|
|
12735
|
+
created_at?: string;
|
|
12736
|
+
dubbel_venster_minuten?: number;
|
|
12737
|
+
id?: string;
|
|
12738
|
+
updated_at?: string;
|
|
12739
|
+
};
|
|
12740
|
+
Update: {
|
|
12741
|
+
bewaar_bestanden_dagen?: number;
|
|
12742
|
+
bewaar_opdrachten_dagen?: number;
|
|
12743
|
+
created_at?: string;
|
|
12744
|
+
dubbel_venster_minuten?: number;
|
|
12745
|
+
id?: string;
|
|
12746
|
+
updated_at?: string;
|
|
12747
|
+
};
|
|
12748
|
+
Relationships: [];
|
|
12749
|
+
};
|
|
12406
12750
|
print_rules: {
|
|
12407
12751
|
Row: {
|
|
12408
12752
|
actief: boolean;
|
|
@@ -12563,6 +12907,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12563
12907
|
agent_id: string | null;
|
|
12564
12908
|
created_at: string;
|
|
12565
12909
|
driver: string;
|
|
12910
|
+
extern_printer_id: string | null;
|
|
12566
12911
|
id: string;
|
|
12567
12912
|
ip_adres: string | null;
|
|
12568
12913
|
laatst_gezien: string | null;
|
|
@@ -12584,6 +12929,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12584
12929
|
agent_id?: string | null;
|
|
12585
12930
|
created_at?: string;
|
|
12586
12931
|
driver?: string;
|
|
12932
|
+
extern_printer_id?: string | null;
|
|
12587
12933
|
id?: string;
|
|
12588
12934
|
ip_adres?: string | null;
|
|
12589
12935
|
laatst_gezien?: string | null;
|
|
@@ -12605,6 +12951,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12605
12951
|
agent_id?: string | null;
|
|
12606
12952
|
created_at?: string;
|
|
12607
12953
|
driver?: string;
|
|
12954
|
+
extern_printer_id?: string | null;
|
|
12608
12955
|
id?: string;
|
|
12609
12956
|
ip_adres?: string | null;
|
|
12610
12957
|
laatst_gezien?: string | null;
|
|
@@ -15240,6 +15587,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
15240
15587
|
};
|
|
15241
15588
|
twinfield_invoice_settings: {
|
|
15242
15589
|
Row: {
|
|
15590
|
+
auto_invoice_enabled: boolean;
|
|
15591
|
+
auto_invoice_trigger_statuses: string[];
|
|
15243
15592
|
created_at: string;
|
|
15244
15593
|
debtor_gl_account: string;
|
|
15245
15594
|
default_credit_invoice_type: string | null;
|
|
@@ -15260,6 +15609,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
15260
15609
|
vat_code_export: string | null;
|
|
15261
15610
|
};
|
|
15262
15611
|
Insert: {
|
|
15612
|
+
auto_invoice_enabled?: boolean;
|
|
15613
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15263
15614
|
created_at?: string;
|
|
15264
15615
|
debtor_gl_account?: string;
|
|
15265
15616
|
default_credit_invoice_type?: string | null;
|
|
@@ -15280,6 +15631,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
15280
15631
|
vat_code_export?: string | null;
|
|
15281
15632
|
};
|
|
15282
15633
|
Update: {
|
|
15634
|
+
auto_invoice_enabled?: boolean;
|
|
15635
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15283
15636
|
created_at?: string;
|
|
15284
15637
|
debtor_gl_account?: string;
|
|
15285
15638
|
default_credit_invoice_type?: string | null;
|
|
@@ -16342,6 +16695,33 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
16342
16695
|
referencedColumns: ["id"];
|
|
16343
16696
|
}];
|
|
16344
16697
|
};
|
|
16698
|
+
user_module_permissions: {
|
|
16699
|
+
Row: {
|
|
16700
|
+
created_at: string;
|
|
16701
|
+
id: string;
|
|
16702
|
+
module_id: string;
|
|
16703
|
+
permission: string;
|
|
16704
|
+
updated_at: string;
|
|
16705
|
+
user_id: string;
|
|
16706
|
+
};
|
|
16707
|
+
Insert: {
|
|
16708
|
+
created_at?: string;
|
|
16709
|
+
id?: string;
|
|
16710
|
+
module_id: string;
|
|
16711
|
+
permission: string;
|
|
16712
|
+
updated_at?: string;
|
|
16713
|
+
user_id: string;
|
|
16714
|
+
};
|
|
16715
|
+
Update: {
|
|
16716
|
+
created_at?: string;
|
|
16717
|
+
id?: string;
|
|
16718
|
+
module_id?: string;
|
|
16719
|
+
permission?: string;
|
|
16720
|
+
updated_at?: string;
|
|
16721
|
+
user_id?: string;
|
|
16722
|
+
};
|
|
16723
|
+
Relationships: [];
|
|
16724
|
+
};
|
|
16345
16725
|
user_roles: {
|
|
16346
16726
|
Row: {
|
|
16347
16727
|
created_at: string;
|
|
@@ -18175,6 +18555,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
18175
18555
|
processed_items: number;
|
|
18176
18556
|
}[];
|
|
18177
18557
|
};
|
|
18558
|
+
backfill_order_auto_invoice_queue: {
|
|
18559
|
+
Args: never;
|
|
18560
|
+
Returns: number;
|
|
18561
|
+
};
|
|
18178
18562
|
calculate_layer_stock: {
|
|
18179
18563
|
Args: {
|
|
18180
18564
|
p_product_id: string;
|
|
@@ -18209,6 +18593,46 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
18209
18593
|
};
|
|
18210
18594
|
Returns: import("../integrations/supabase/types").Json;
|
|
18211
18595
|
};
|
|
18596
|
+
claim_cloud_print_jobs: {
|
|
18597
|
+
Args: {
|
|
18598
|
+
_max?: number;
|
|
18599
|
+
};
|
|
18600
|
+
Returns: {
|
|
18601
|
+
agent_id: string | null;
|
|
18602
|
+
bron_job_id: string | null;
|
|
18603
|
+
created_at: string;
|
|
18604
|
+
documentnaam: string;
|
|
18605
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
18606
|
+
extern_job_id: string | null;
|
|
18607
|
+
foutmelding: string | null;
|
|
18608
|
+
gebruiker_id: string | null;
|
|
18609
|
+
gebruiker_naam: string;
|
|
18610
|
+
gestart_op: string | null;
|
|
18611
|
+
id: string;
|
|
18612
|
+
idempotentie_sleutel: string | null;
|
|
18613
|
+
is_herprint: boolean;
|
|
18614
|
+
kopieen: number;
|
|
18615
|
+
layout_id: string | null;
|
|
18616
|
+
opgepakt_op: string | null;
|
|
18617
|
+
paginas: number;
|
|
18618
|
+
payload: import("../integrations/supabase/types").Json;
|
|
18619
|
+
pdf_base64: string | null;
|
|
18620
|
+
pdf_url: string | null;
|
|
18621
|
+
pogingen: number;
|
|
18622
|
+
printer_id: string | null;
|
|
18623
|
+
render_html: string | null;
|
|
18624
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
18625
|
+
updated_at: string;
|
|
18626
|
+
volgende_poging: string | null;
|
|
18627
|
+
voltooid_op: string | null;
|
|
18628
|
+
}[];
|
|
18629
|
+
SetofOptions: {
|
|
18630
|
+
from: "*";
|
|
18631
|
+
to: "print_jobs";
|
|
18632
|
+
isOneToOne: false;
|
|
18633
|
+
isSetofReturn: true;
|
|
18634
|
+
};
|
|
18635
|
+
};
|
|
18212
18636
|
claim_floriday_stock_queue: {
|
|
18213
18637
|
Args: {
|
|
18214
18638
|
p_limit?: number;
|
|
@@ -18299,22 +18723,27 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
18299
18723
|
created_at: string;
|
|
18300
18724
|
documentnaam: string;
|
|
18301
18725
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
18726
|
+
extern_job_id: string | null;
|
|
18302
18727
|
foutmelding: string | null;
|
|
18303
18728
|
gebruiker_id: string | null;
|
|
18304
18729
|
gebruiker_naam: string;
|
|
18305
18730
|
gestart_op: string | null;
|
|
18306
18731
|
id: string;
|
|
18732
|
+
idempotentie_sleutel: string | null;
|
|
18307
18733
|
is_herprint: boolean;
|
|
18308
18734
|
kopieen: number;
|
|
18309
18735
|
layout_id: string | null;
|
|
18310
18736
|
opgepakt_op: string | null;
|
|
18311
18737
|
paginas: number;
|
|
18312
18738
|
payload: import("../integrations/supabase/types").Json;
|
|
18739
|
+
pdf_base64: string | null;
|
|
18740
|
+
pdf_url: string | null;
|
|
18313
18741
|
pogingen: number;
|
|
18314
18742
|
printer_id: string | null;
|
|
18315
18743
|
render_html: string | null;
|
|
18316
18744
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
18317
18745
|
updated_at: string;
|
|
18746
|
+
volgende_poging: string | null;
|
|
18318
18747
|
voltooid_op: string | null;
|
|
18319
18748
|
}[];
|
|
18320
18749
|
SetofOptions: {
|
|
@@ -18360,6 +18789,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
18360
18789
|
Args: never;
|
|
18361
18790
|
Returns: undefined;
|
|
18362
18791
|
};
|
|
18792
|
+
cleanup_voorraad_module_history: {
|
|
18793
|
+
Args: never;
|
|
18794
|
+
Returns: undefined;
|
|
18795
|
+
};
|
|
18363
18796
|
complete_floriday_stock_queue: {
|
|
18364
18797
|
Args: {
|
|
18365
18798
|
p_attempt_id?: string;
|
|
@@ -18481,6 +18914,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
18481
18914
|
};
|
|
18482
18915
|
Returns: import("../integrations/supabase/types").Json;
|
|
18483
18916
|
};
|
|
18917
|
+
effective_module_permission: {
|
|
18918
|
+
Args: {
|
|
18919
|
+
_module_id: string;
|
|
18920
|
+
_user_id: string;
|
|
18921
|
+
};
|
|
18922
|
+
Returns: string;
|
|
18923
|
+
};
|
|
18484
18924
|
email_auth_decrypt: {
|
|
18485
18925
|
Args: {
|
|
18486
18926
|
cipher: string;
|
|
@@ -19284,6 +19724,51 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
19284
19724
|
isSetofReturn: false;
|
|
19285
19725
|
};
|
|
19286
19726
|
};
|
|
19727
|
+
logistics_floriday_claim_pushes: {
|
|
19728
|
+
Args: {
|
|
19729
|
+
_lease_seconds?: number;
|
|
19730
|
+
_limit?: number;
|
|
19731
|
+
_worker?: string;
|
|
19732
|
+
};
|
|
19733
|
+
Returns: {
|
|
19734
|
+
attempts: number;
|
|
19735
|
+
fulfillment_order_id: string;
|
|
19736
|
+
id: string;
|
|
19737
|
+
last_sent_hash: string;
|
|
19738
|
+
order_ref: string;
|
|
19739
|
+
payload: import("../integrations/supabase/types").Json;
|
|
19740
|
+
payload_hash: string;
|
|
19741
|
+
revision: number;
|
|
19742
|
+
}[];
|
|
19743
|
+
};
|
|
19744
|
+
logistics_floriday_finish_push: {
|
|
19745
|
+
Args: {
|
|
19746
|
+
_error?: string;
|
|
19747
|
+
_fulfillment_order_id?: string;
|
|
19748
|
+
_id: string;
|
|
19749
|
+
_max_age_hours?: number;
|
|
19750
|
+
_max_attempts?: number;
|
|
19751
|
+
_ok: boolean;
|
|
19752
|
+
_permanent?: boolean;
|
|
19753
|
+
_revision: number;
|
|
19754
|
+
_sent_hash?: string;
|
|
19755
|
+
};
|
|
19756
|
+
Returns: string;
|
|
19757
|
+
};
|
|
19758
|
+
logistics_floriday_prune_pushes: {
|
|
19759
|
+
Args: {
|
|
19760
|
+
_days?: number;
|
|
19761
|
+
};
|
|
19762
|
+
Returns: number;
|
|
19763
|
+
};
|
|
19764
|
+
logistics_floriday_queue_push: {
|
|
19765
|
+
Args: {
|
|
19766
|
+
_order_ref: string;
|
|
19767
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
19768
|
+
_payload_hash?: string;
|
|
19769
|
+
};
|
|
19770
|
+
Returns: string;
|
|
19771
|
+
};
|
|
19287
19772
|
logistics_live_carriers: {
|
|
19288
19773
|
Args: {
|
|
19289
19774
|
p_order_ref: string;
|
|
@@ -19336,6 +19821,65 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
19336
19821
|
};
|
|
19337
19822
|
Returns: number;
|
|
19338
19823
|
};
|
|
19824
|
+
logistics_plan_claim: {
|
|
19825
|
+
Args: {
|
|
19826
|
+
p_limit?: number;
|
|
19827
|
+
};
|
|
19828
|
+
Returns: {
|
|
19829
|
+
attempts: number;
|
|
19830
|
+
id: string;
|
|
19831
|
+
order_id: string;
|
|
19832
|
+
}[];
|
|
19833
|
+
};
|
|
19834
|
+
logistics_plan_enqueue: {
|
|
19835
|
+
Args: {
|
|
19836
|
+
p_order_id: string;
|
|
19837
|
+
p_reason?: string;
|
|
19838
|
+
};
|
|
19839
|
+
Returns: undefined;
|
|
19840
|
+
};
|
|
19841
|
+
logistics_plan_ensure_event: {
|
|
19842
|
+
Args: {
|
|
19843
|
+
p_order_id: string;
|
|
19844
|
+
};
|
|
19845
|
+
Returns: boolean;
|
|
19846
|
+
};
|
|
19847
|
+
logistics_plan_finish: {
|
|
19848
|
+
Args: {
|
|
19849
|
+
p_error?: string;
|
|
19850
|
+
p_id: string;
|
|
19851
|
+
};
|
|
19852
|
+
Returns: undefined;
|
|
19853
|
+
};
|
|
19854
|
+
logistics_plan_impact_orders: {
|
|
19855
|
+
Args: {
|
|
19856
|
+
p_order_id: string;
|
|
19857
|
+
};
|
|
19858
|
+
Returns: {
|
|
19859
|
+
buffer_id: string;
|
|
19860
|
+
order_id: string;
|
|
19861
|
+
plan_date: string;
|
|
19862
|
+
}[];
|
|
19863
|
+
};
|
|
19864
|
+
logistics_plan_kick: {
|
|
19865
|
+
Args: never;
|
|
19866
|
+
Returns: undefined;
|
|
19867
|
+
};
|
|
19868
|
+
logistics_plan_prune: {
|
|
19869
|
+
Args: never;
|
|
19870
|
+
Returns: number;
|
|
19871
|
+
};
|
|
19872
|
+
logistics_plan_release_stale: {
|
|
19873
|
+
Args: never;
|
|
19874
|
+
Returns: number;
|
|
19875
|
+
};
|
|
19876
|
+
logistics_plan_setting: {
|
|
19877
|
+
Args: {
|
|
19878
|
+
p_default: number;
|
|
19879
|
+
p_key: string;
|
|
19880
|
+
};
|
|
19881
|
+
Returns: number;
|
|
19882
|
+
};
|
|
19339
19883
|
logistics_queue_capacity_email: {
|
|
19340
19884
|
Args: {
|
|
19341
19885
|
p_alert_id: string;
|
|
@@ -19574,6 +20118,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
19574
20118
|
};
|
|
19575
20119
|
Returns: undefined;
|
|
19576
20120
|
};
|
|
20121
|
+
my_module_permissions: {
|
|
20122
|
+
Args: never;
|
|
20123
|
+
Returns: {
|
|
20124
|
+
module_id: string;
|
|
20125
|
+
permission: string;
|
|
20126
|
+
}[];
|
|
20127
|
+
};
|
|
19577
20128
|
next_manufacture_partij: {
|
|
19578
20129
|
Args: {
|
|
19579
20130
|
_tenant_id: string;
|
|
@@ -19624,6 +20175,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
19624
20175
|
};
|
|
19625
20176
|
Returns: boolean;
|
|
19626
20177
|
};
|
|
20178
|
+
opruim_print_historie: {
|
|
20179
|
+
Args: never;
|
|
20180
|
+
Returns: {
|
|
20181
|
+
ontdaan: number;
|
|
20182
|
+
verwijderd: number;
|
|
20183
|
+
}[];
|
|
20184
|
+
};
|
|
19627
20185
|
order_number_prefix: {
|
|
19628
20186
|
Args: {
|
|
19629
20187
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -19631,6 +20189,15 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
19631
20189
|
};
|
|
19632
20190
|
Returns: string;
|
|
19633
20191
|
};
|
|
20192
|
+
pick_active_printers: {
|
|
20193
|
+
Args: never;
|
|
20194
|
+
Returns: {
|
|
20195
|
+
id: string;
|
|
20196
|
+
locatie: string;
|
|
20197
|
+
naam: string;
|
|
20198
|
+
online: boolean;
|
|
20199
|
+
}[];
|
|
20200
|
+
};
|
|
19634
20201
|
pick_claim_document: {
|
|
19635
20202
|
Args: {
|
|
19636
20203
|
_queue_item_id: string;
|
|
@@ -19817,6 +20384,52 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
19817
20384
|
};
|
|
19818
20385
|
Returns: undefined;
|
|
19819
20386
|
};
|
|
20387
|
+
pick_reset_print: {
|
|
20388
|
+
Args: {
|
|
20389
|
+
_queue_item_id: string;
|
|
20390
|
+
_session_id: string;
|
|
20391
|
+
};
|
|
20392
|
+
Returns: {
|
|
20393
|
+
announced_at: string;
|
|
20394
|
+
assigned_user_id: string | null;
|
|
20395
|
+
barcode: string | null;
|
|
20396
|
+
cancelled_at: string | null;
|
|
20397
|
+
cart_count: number;
|
|
20398
|
+
completed_at: string | null;
|
|
20399
|
+
country_code: string | null;
|
|
20400
|
+
created_at: string;
|
|
20401
|
+
customer_name: string | null;
|
|
20402
|
+
delivery_address: string | null;
|
|
20403
|
+
document_number: string | null;
|
|
20404
|
+
document_type_id: string | null;
|
|
20405
|
+
due_at: string | null;
|
|
20406
|
+
id: string;
|
|
20407
|
+
is_urgent: boolean;
|
|
20408
|
+
line_count: number;
|
|
20409
|
+
order_number: string | null;
|
|
20410
|
+
order_type: string | null;
|
|
20411
|
+
payload: import("../integrations/supabase/types").Json;
|
|
20412
|
+
print_count: number;
|
|
20413
|
+
print_job_id: string | null;
|
|
20414
|
+
printed_at: string | null;
|
|
20415
|
+
printed_by: string | null;
|
|
20416
|
+
printer_id: string | null;
|
|
20417
|
+
priority: number;
|
|
20418
|
+
reference: string | null;
|
|
20419
|
+
route: string | null;
|
|
20420
|
+
screen_id: string | null;
|
|
20421
|
+
station_id: string | null;
|
|
20422
|
+
status_id: string | null;
|
|
20423
|
+
updated_at: string;
|
|
20424
|
+
warnings: import("../integrations/supabase/types").Json;
|
|
20425
|
+
};
|
|
20426
|
+
SetofOptions: {
|
|
20427
|
+
from: "*";
|
|
20428
|
+
to: "pick_queue";
|
|
20429
|
+
isOneToOne: true;
|
|
20430
|
+
isSetofReturn: false;
|
|
20431
|
+
};
|
|
20432
|
+
};
|
|
19820
20433
|
pick_station_dashboard: {
|
|
19821
20434
|
Args: never;
|
|
19822
20435
|
Returns: {
|
|
@@ -19963,6 +20576,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
19963
20576
|
};
|
|
19964
20577
|
Returns: undefined;
|
|
19965
20578
|
};
|
|
20579
|
+
reset_stalled_floriday_stock_queue: {
|
|
20580
|
+
Args: {
|
|
20581
|
+
p_include_failed?: boolean;
|
|
20582
|
+
};
|
|
20583
|
+
Returns: number;
|
|
20584
|
+
};
|
|
19966
20585
|
resolve_group_allocation: {
|
|
19967
20586
|
Args: {
|
|
19968
20587
|
_needed: number;
|
|
@@ -20007,14 +20626,28 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
20007
20626
|
};
|
|
20008
20627
|
Returns: import("../integrations/supabase/types").Json;
|
|
20009
20628
|
};
|
|
20629
|
+
ruim_print_jobs_op: {
|
|
20630
|
+
Args: {
|
|
20631
|
+
_bewaar_dagen?: number;
|
|
20632
|
+
};
|
|
20633
|
+
Returns: number;
|
|
20634
|
+
};
|
|
20010
20635
|
run_floriday_continuous_stock_sync: {
|
|
20011
20636
|
Args: never;
|
|
20012
20637
|
Returns: undefined;
|
|
20013
20638
|
};
|
|
20639
|
+
run_floriday_stock_queue_process: {
|
|
20640
|
+
Args: never;
|
|
20641
|
+
Returns: undefined;
|
|
20642
|
+
};
|
|
20014
20643
|
run_logistics_tasks_dispatch: {
|
|
20015
20644
|
Args: never;
|
|
20016
20645
|
Returns: undefined;
|
|
20017
20646
|
};
|
|
20647
|
+
run_print_queue_ticks: {
|
|
20648
|
+
Args: never;
|
|
20649
|
+
Returns: number;
|
|
20650
|
+
};
|
|
20018
20651
|
run_twinfield_queue_tick: {
|
|
20019
20652
|
Args: never;
|
|
20020
20653
|
Returns: undefined;
|
|
@@ -20402,6 +21035,15 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
20402
21035
|
};
|
|
20403
21036
|
Returns: undefined;
|
|
20404
21037
|
};
|
|
21038
|
+
trade_item_stock_duplicates: {
|
|
21039
|
+
Args: never;
|
|
21040
|
+
Returns: {
|
|
21041
|
+
keys: string[];
|
|
21042
|
+
product_id: string;
|
|
21043
|
+
product_name: string;
|
|
21044
|
+
row_count: number;
|
|
21045
|
+
}[];
|
|
21046
|
+
};
|
|
20405
21047
|
try_debtor_lock: {
|
|
20406
21048
|
Args: {
|
|
20407
21049
|
_group_key: string;
|
|
@@ -20451,7 +21093,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
20451
21093
|
};
|
|
20452
21094
|
Enums: {
|
|
20453
21095
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
20454
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
21096
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
20455
21097
|
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
20456
21098
|
doc_orientation: "portrait" | "landscape";
|
|
20457
21099
|
exact_env: "staging" | "live";
|
|
@@ -20470,8 +21112,5 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
20470
21112
|
}>;
|
|
20471
21113
|
userId: string;
|
|
20472
21114
|
claims: import("@supabase/auth-js").JwtPayload;
|
|
20473
|
-
}, undefined, undefined, undefined>], undefined, Promise<
|
|
20474
|
-
orders: FloridayOrder[];
|
|
20475
|
-
error?: string;
|
|
20476
|
-
}>>;
|
|
21115
|
+
}, undefined, undefined, undefined>], (input: GetFloridayOrdersInput | undefined) => GetFloridayOrdersInput, Promise<GetFloridayOrdersResult>>;
|
|
20477
21116
|
//# sourceMappingURL=floriday.functions.d.ts.map
|