@flowselections/floriday-verkoop-module 1.0.40 → 1.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/verkoop/EngineBufferCard.d.ts.map +1 -1
- package/dist-lib/components/verkoop/EngineBufferCard.js +2 -2
- package/dist-lib/components/verkoop/InvoiceTimingSettings.d.ts +3 -0
- package/dist-lib/components/verkoop/InvoiceTimingSettings.d.ts.map +1 -0
- package/dist-lib/components/verkoop/InvoiceTimingSettings.js +54 -0
- package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrdersTable.js +44 -91
- package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
- package/dist-lib/components/verkoop/VerkoopOrdersPage.js +9 -8
- package/dist-lib/index.d.ts +1 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +3 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +577 -4
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +577 -4
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +577 -4
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +578 -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/cart-lock.functions.d.ts +577 -4
- package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-planning-settings.functions.d.ts +6347 -44
- package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.d.ts +1731 -12
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.d.ts +8655 -60
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/cron/index.d.ts +1 -0
- package/dist-lib/lib/cron/index.d.ts.map +1 -1
- package/dist-lib/lib/cron/index.js +1 -0
- package/dist-lib/lib/cron/invoice-due.d.ts +4 -0
- package/dist-lib/lib/cron/invoice-due.d.ts.map +1 -0
- package/dist-lib/lib/cron/invoice-due.js +21 -0
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +1731 -12
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-fulfillment-status.server.d.ts +28 -0
- package/dist-lib/lib/floriday-fulfillment-status.server.d.ts.map +1 -0
- package/dist-lib/lib/floriday-fulfillment-status.server.js +91 -0
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +577 -4
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.d.ts +577 -4
- package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.js +27 -4
- package/dist-lib/lib/floriday-public.functions.d.ts +4039 -28
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +2885 -20
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/invoice-timing.d.ts +38 -0
- package/dist-lib/lib/invoice-timing.d.ts.map +1 -0
- package/dist-lib/lib/invoice-timing.functions.d.ts +83845 -0
- package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -0
- package/dist-lib/lib/invoice-timing.functions.js +88 -0
- package/dist-lib/lib/invoice-timing.js +139 -0
- package/dist-lib/lib/invoice-timing.server.d.ts +22 -0
- package/dist-lib/lib/invoice-timing.server.d.ts.map +1 -0
- package/dist-lib/lib/invoice-timing.server.js +154 -0
- package/dist-lib/lib/load-carriers.functions.d.ts +577 -4
- package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-engine.functions.d.ts +2887 -22
- package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-stock.functions.d.ts +1154 -8
- package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-addresses.functions.d.ts +577 -4
- package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-buffers.functions.d.ts +1731 -12
- package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-carrier.functions.d.ts +1154 -8
- package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-pickup.functions.d.ts +1154 -8
- package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-shipments.functions.d.ts +2308 -16
- package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-status.d.ts +33 -0
- package/dist-lib/lib/order-status.d.ts.map +1 -0
- package/dist-lib/lib/order-status.js +77 -0
- package/dist-lib/lib/salesorders-list.functions.d.ts +578 -5
- package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.functions.js +1 -1
- package/dist-lib/lib/salesorders-list.server.d.ts +2 -1
- package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.server.js +145 -58
- package/dist-lib/lib/salesorders-mapping.d.ts +13 -0
- package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-mapping.js +2 -7
- package/dist-lib/lib/salesorders.functions.d.ts +2885 -20
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/tradeitems.functions.d.ts +577 -4
- package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
- package/dist-lib/lib/useSalesOrdersQuery.d.ts +2 -1
- package/dist-lib/lib/useSalesOrdersQuery.d.ts.map +1 -1
- package/package.json +10 -2
|
@@ -1684,7 +1684,7 @@ export declare const checkOrderStockAllowed: 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 checkOrderStockAllowed: 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 checkOrderStockAllowed: 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;
|
|
@@ -5695,12 +5695,17 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
5695
5695
|
attempts: number;
|
|
5696
5696
|
connection_id: string;
|
|
5697
5697
|
created_at: string;
|
|
5698
|
+
desired_available: boolean | null;
|
|
5698
5699
|
gateway_attempt_id: string | null;
|
|
5699
5700
|
id: string;
|
|
5700
5701
|
last_error: string | null;
|
|
5702
|
+
locked_at: string | null;
|
|
5703
|
+
locked_by: string | null;
|
|
5704
|
+
next_attempt_at: string;
|
|
5701
5705
|
number_of_pieces: number;
|
|
5702
5706
|
sent_at: string | null;
|
|
5703
5707
|
status: string;
|
|
5708
|
+
superseded_by: string | null;
|
|
5704
5709
|
trade_item_id: string;
|
|
5705
5710
|
updated_at: string;
|
|
5706
5711
|
user_id: string;
|
|
@@ -5709,12 +5714,17 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
5709
5714
|
attempts?: number;
|
|
5710
5715
|
connection_id: string;
|
|
5711
5716
|
created_at?: string;
|
|
5717
|
+
desired_available?: boolean | null;
|
|
5712
5718
|
gateway_attempt_id?: string | null;
|
|
5713
5719
|
id?: string;
|
|
5714
5720
|
last_error?: string | null;
|
|
5721
|
+
locked_at?: string | null;
|
|
5722
|
+
locked_by?: string | null;
|
|
5723
|
+
next_attempt_at?: string;
|
|
5715
5724
|
number_of_pieces?: number;
|
|
5716
5725
|
sent_at?: string | null;
|
|
5717
5726
|
status?: string;
|
|
5727
|
+
superseded_by?: string | null;
|
|
5718
5728
|
trade_item_id: string;
|
|
5719
5729
|
updated_at?: string;
|
|
5720
5730
|
user_id: string;
|
|
@@ -5723,12 +5733,17 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
5723
5733
|
attempts?: number;
|
|
5724
5734
|
connection_id?: string;
|
|
5725
5735
|
created_at?: string;
|
|
5736
|
+
desired_available?: boolean | null;
|
|
5726
5737
|
gateway_attempt_id?: string | null;
|
|
5727
5738
|
id?: string;
|
|
5728
5739
|
last_error?: string | null;
|
|
5740
|
+
locked_at?: string | null;
|
|
5741
|
+
locked_by?: string | null;
|
|
5742
|
+
next_attempt_at?: string;
|
|
5729
5743
|
number_of_pieces?: number;
|
|
5730
5744
|
sent_at?: string | null;
|
|
5731
5745
|
status?: string;
|
|
5746
|
+
superseded_by?: string | null;
|
|
5732
5747
|
trade_item_id?: string;
|
|
5733
5748
|
updated_at?: string;
|
|
5734
5749
|
user_id?: string;
|
|
@@ -6465,6 +6480,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
6465
6480
|
Row: {
|
|
6466
6481
|
buyer_organization_id: string | null;
|
|
6467
6482
|
connection_id: string;
|
|
6483
|
+
controlled_at: string | null;
|
|
6468
6484
|
created_at: string;
|
|
6469
6485
|
data: import("../integrations/supabase/types").Json;
|
|
6470
6486
|
floriday_id: string;
|
|
@@ -6476,6 +6492,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
6476
6492
|
Insert: {
|
|
6477
6493
|
buyer_organization_id?: string | null;
|
|
6478
6494
|
connection_id: string;
|
|
6495
|
+
controlled_at?: string | null;
|
|
6479
6496
|
created_at?: string;
|
|
6480
6497
|
data: import("../integrations/supabase/types").Json;
|
|
6481
6498
|
floriday_id: string;
|
|
@@ -6487,6 +6504,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
6487
6504
|
Update: {
|
|
6488
6505
|
buyer_organization_id?: string | null;
|
|
6489
6506
|
connection_id?: string;
|
|
6507
|
+
controlled_at?: string | null;
|
|
6490
6508
|
created_at?: string;
|
|
6491
6509
|
data?: import("../integrations/supabase/types").Json;
|
|
6492
6510
|
floriday_id?: string;
|
|
@@ -7388,6 +7406,54 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
7388
7406
|
};
|
|
7389
7407
|
Relationships: [];
|
|
7390
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
|
+
};
|
|
7391
7457
|
itk_contact_persons: {
|
|
7392
7458
|
Row: {
|
|
7393
7459
|
created_at: string;
|
|
@@ -8477,6 +8543,69 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
8477
8543
|
};
|
|
8478
8544
|
Relationships: [];
|
|
8479
8545
|
};
|
|
8546
|
+
logistics_floriday_pushes: {
|
|
8547
|
+
Row: {
|
|
8548
|
+
attempts: number;
|
|
8549
|
+
created_at: string;
|
|
8550
|
+
first_queued_at: string;
|
|
8551
|
+
fulfillment_order_id: string | null;
|
|
8552
|
+
id: string;
|
|
8553
|
+
last_error: string | null;
|
|
8554
|
+
last_error_at: string | null;
|
|
8555
|
+
last_sent_hash: string | null;
|
|
8556
|
+
locked_by: string | null;
|
|
8557
|
+
locked_until: string | null;
|
|
8558
|
+
next_attempt_at: string;
|
|
8559
|
+
order_ref: string;
|
|
8560
|
+
payload: import("../integrations/supabase/types").Json;
|
|
8561
|
+
payload_hash: string | null;
|
|
8562
|
+
revision: number;
|
|
8563
|
+
sent_at: string | null;
|
|
8564
|
+
status: string;
|
|
8565
|
+
updated_at: string;
|
|
8566
|
+
};
|
|
8567
|
+
Insert: {
|
|
8568
|
+
attempts?: number;
|
|
8569
|
+
created_at?: string;
|
|
8570
|
+
first_queued_at?: string;
|
|
8571
|
+
fulfillment_order_id?: string | null;
|
|
8572
|
+
id?: string;
|
|
8573
|
+
last_error?: string | null;
|
|
8574
|
+
last_error_at?: string | null;
|
|
8575
|
+
last_sent_hash?: string | null;
|
|
8576
|
+
locked_by?: string | null;
|
|
8577
|
+
locked_until?: string | null;
|
|
8578
|
+
next_attempt_at?: string;
|
|
8579
|
+
order_ref: string;
|
|
8580
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
8581
|
+
payload_hash?: string | null;
|
|
8582
|
+
revision?: number;
|
|
8583
|
+
sent_at?: string | null;
|
|
8584
|
+
status?: string;
|
|
8585
|
+
updated_at?: string;
|
|
8586
|
+
};
|
|
8587
|
+
Update: {
|
|
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
|
+
Relationships: [];
|
|
8608
|
+
};
|
|
8480
8609
|
logistics_formulas: {
|
|
8481
8610
|
Row: {
|
|
8482
8611
|
created_at: string;
|
|
@@ -9340,14 +9469,17 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
9340
9469
|
};
|
|
9341
9470
|
mailbox_messages: {
|
|
9342
9471
|
Row: {
|
|
9472
|
+
attachments: import("../integrations/supabase/types").Json;
|
|
9343
9473
|
body_html: string | null;
|
|
9344
9474
|
body_text: string | null;
|
|
9475
|
+
cc_recipients: import("../integrations/supabase/types").Json;
|
|
9345
9476
|
connection_id: string | null;
|
|
9346
9477
|
created_at: string;
|
|
9347
9478
|
error_message: string | null;
|
|
9348
9479
|
external_id: string | null;
|
|
9349
9480
|
from_email: string | null;
|
|
9350
9481
|
from_name: string | null;
|
|
9482
|
+
has_attachments: boolean;
|
|
9351
9483
|
id: string;
|
|
9352
9484
|
message_id: string | null;
|
|
9353
9485
|
profile_id: string | null;
|
|
@@ -9355,18 +9487,22 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
9355
9487
|
received_at: string | null;
|
|
9356
9488
|
status: string;
|
|
9357
9489
|
subject: string | null;
|
|
9490
|
+
to_recipients: import("../integrations/supabase/types").Json;
|
|
9358
9491
|
uid: number | null;
|
|
9359
9492
|
updated_at: string;
|
|
9360
9493
|
};
|
|
9361
9494
|
Insert: {
|
|
9495
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
9362
9496
|
body_html?: string | null;
|
|
9363
9497
|
body_text?: string | null;
|
|
9498
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
9364
9499
|
connection_id?: string | null;
|
|
9365
9500
|
created_at?: string;
|
|
9366
9501
|
error_message?: string | null;
|
|
9367
9502
|
external_id?: string | null;
|
|
9368
9503
|
from_email?: string | null;
|
|
9369
9504
|
from_name?: string | null;
|
|
9505
|
+
has_attachments?: boolean;
|
|
9370
9506
|
id?: string;
|
|
9371
9507
|
message_id?: string | null;
|
|
9372
9508
|
profile_id?: string | null;
|
|
@@ -9374,18 +9510,22 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
9374
9510
|
received_at?: string | null;
|
|
9375
9511
|
status?: string;
|
|
9376
9512
|
subject?: string | null;
|
|
9513
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
9377
9514
|
uid?: number | null;
|
|
9378
9515
|
updated_at?: string;
|
|
9379
9516
|
};
|
|
9380
9517
|
Update: {
|
|
9518
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
9381
9519
|
body_html?: string | null;
|
|
9382
9520
|
body_text?: string | null;
|
|
9521
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
9383
9522
|
connection_id?: string | null;
|
|
9384
9523
|
created_at?: string;
|
|
9385
9524
|
error_message?: string | null;
|
|
9386
9525
|
external_id?: string | null;
|
|
9387
9526
|
from_email?: string | null;
|
|
9388
9527
|
from_name?: string | null;
|
|
9528
|
+
has_attachments?: boolean;
|
|
9389
9529
|
id?: string;
|
|
9390
9530
|
message_id?: string | null;
|
|
9391
9531
|
profile_id?: string | null;
|
|
@@ -9393,6 +9533,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
9393
9533
|
received_at?: string | null;
|
|
9394
9534
|
status?: string;
|
|
9395
9535
|
subject?: string | null;
|
|
9536
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
9396
9537
|
uid?: number | null;
|
|
9397
9538
|
updated_at?: string;
|
|
9398
9539
|
};
|
|
@@ -9800,6 +9941,36 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
9800
9941
|
};
|
|
9801
9942
|
Relationships: [];
|
|
9802
9943
|
};
|
|
9944
|
+
module_registry: {
|
|
9945
|
+
Row: {
|
|
9946
|
+
created_at: string;
|
|
9947
|
+
is_active: boolean;
|
|
9948
|
+
last_seen_at: string;
|
|
9949
|
+
module_id: string;
|
|
9950
|
+
name: string;
|
|
9951
|
+
shell_id: string | null;
|
|
9952
|
+
sort_order: number | null;
|
|
9953
|
+
};
|
|
9954
|
+
Insert: {
|
|
9955
|
+
created_at?: string;
|
|
9956
|
+
is_active?: boolean;
|
|
9957
|
+
last_seen_at?: string;
|
|
9958
|
+
module_id: string;
|
|
9959
|
+
name: string;
|
|
9960
|
+
shell_id?: string | null;
|
|
9961
|
+
sort_order?: number | null;
|
|
9962
|
+
};
|
|
9963
|
+
Update: {
|
|
9964
|
+
created_at?: string;
|
|
9965
|
+
is_active?: boolean;
|
|
9966
|
+
last_seen_at?: string;
|
|
9967
|
+
module_id?: string;
|
|
9968
|
+
name?: string;
|
|
9969
|
+
shell_id?: string | null;
|
|
9970
|
+
sort_order?: number | null;
|
|
9971
|
+
};
|
|
9972
|
+
Relationships: [];
|
|
9973
|
+
};
|
|
9803
9974
|
module_runtime_config: {
|
|
9804
9975
|
Row: {
|
|
9805
9976
|
key: string;
|
|
@@ -10859,6 +11030,42 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
10859
11030
|
};
|
|
10860
11031
|
Relationships: [];
|
|
10861
11032
|
};
|
|
11033
|
+
order_invoice_links: {
|
|
11034
|
+
Row: {
|
|
11035
|
+
attempts: number;
|
|
11036
|
+
created_at: string;
|
|
11037
|
+
error_message: string | null;
|
|
11038
|
+
id: string;
|
|
11039
|
+
invoice_number: string | null;
|
|
11040
|
+
order_id: string;
|
|
11041
|
+
processed_at: string | null;
|
|
11042
|
+
status: string;
|
|
11043
|
+
updated_at: string;
|
|
11044
|
+
};
|
|
11045
|
+
Insert: {
|
|
11046
|
+
attempts?: number;
|
|
11047
|
+
created_at?: string;
|
|
11048
|
+
error_message?: string | null;
|
|
11049
|
+
id?: string;
|
|
11050
|
+
invoice_number?: string | null;
|
|
11051
|
+
order_id: string;
|
|
11052
|
+
processed_at?: string | null;
|
|
11053
|
+
status?: string;
|
|
11054
|
+
updated_at?: string;
|
|
11055
|
+
};
|
|
11056
|
+
Update: {
|
|
11057
|
+
attempts?: number;
|
|
11058
|
+
created_at?: string;
|
|
11059
|
+
error_message?: string | null;
|
|
11060
|
+
id?: string;
|
|
11061
|
+
invoice_number?: string | null;
|
|
11062
|
+
order_id?: string;
|
|
11063
|
+
processed_at?: string | null;
|
|
11064
|
+
status?: string;
|
|
11065
|
+
updated_at?: string;
|
|
11066
|
+
};
|
|
11067
|
+
Relationships: [];
|
|
11068
|
+
};
|
|
10862
11069
|
order_items: {
|
|
10863
11070
|
Row: {
|
|
10864
11071
|
crates_per_layer: number | null;
|
|
@@ -11041,6 +11248,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
11041
11248
|
delivery_date: string | null;
|
|
11042
11249
|
floriday_sales_order_id: string | null;
|
|
11043
11250
|
id: string;
|
|
11251
|
+
invoice_due_at: string | null;
|
|
11044
11252
|
is_reservation: boolean;
|
|
11045
11253
|
notes: string | null;
|
|
11046
11254
|
order_date: string;
|
|
@@ -11062,6 +11270,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
11062
11270
|
delivery_date?: string | null;
|
|
11063
11271
|
floriday_sales_order_id?: string | null;
|
|
11064
11272
|
id?: string;
|
|
11273
|
+
invoice_due_at?: string | null;
|
|
11065
11274
|
is_reservation?: boolean;
|
|
11066
11275
|
notes?: string | null;
|
|
11067
11276
|
order_date?: string;
|
|
@@ -11083,6 +11292,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
11083
11292
|
delivery_date?: string | null;
|
|
11084
11293
|
floriday_sales_order_id?: string | null;
|
|
11085
11294
|
id?: string;
|
|
11295
|
+
invoice_due_at?: string | null;
|
|
11086
11296
|
is_reservation?: boolean;
|
|
11087
11297
|
notes?: string | null;
|
|
11088
11298
|
order_date?: string;
|
|
@@ -12279,22 +12489,27 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
12279
12489
|
created_at: string;
|
|
12280
12490
|
documentnaam: string;
|
|
12281
12491
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12492
|
+
extern_job_id: string | null;
|
|
12282
12493
|
foutmelding: string | null;
|
|
12283
12494
|
gebruiker_id: string | null;
|
|
12284
12495
|
gebruiker_naam: string;
|
|
12285
12496
|
gestart_op: string | null;
|
|
12286
12497
|
id: string;
|
|
12498
|
+
idempotentie_sleutel: string | null;
|
|
12287
12499
|
is_herprint: boolean;
|
|
12288
12500
|
kopieen: number;
|
|
12289
12501
|
layout_id: string | null;
|
|
12290
12502
|
opgepakt_op: string | null;
|
|
12291
12503
|
paginas: number;
|
|
12292
12504
|
payload: import("../integrations/supabase/types").Json;
|
|
12505
|
+
pdf_base64: string | null;
|
|
12506
|
+
pdf_url: string | null;
|
|
12293
12507
|
pogingen: number;
|
|
12294
12508
|
printer_id: string | null;
|
|
12295
12509
|
render_html: string | null;
|
|
12296
12510
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12297
12511
|
updated_at: string;
|
|
12512
|
+
volgende_poging: string | null;
|
|
12298
12513
|
voltooid_op: string | null;
|
|
12299
12514
|
};
|
|
12300
12515
|
Insert: {
|
|
@@ -12303,22 +12518,27 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
12303
12518
|
created_at?: string;
|
|
12304
12519
|
documentnaam?: string;
|
|
12305
12520
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12521
|
+
extern_job_id?: string | null;
|
|
12306
12522
|
foutmelding?: string | null;
|
|
12307
12523
|
gebruiker_id?: string | null;
|
|
12308
12524
|
gebruiker_naam?: string;
|
|
12309
12525
|
gestart_op?: string | null;
|
|
12310
12526
|
id?: string;
|
|
12527
|
+
idempotentie_sleutel?: string | null;
|
|
12311
12528
|
is_herprint?: boolean;
|
|
12312
12529
|
kopieen?: number;
|
|
12313
12530
|
layout_id?: string | null;
|
|
12314
12531
|
opgepakt_op?: string | null;
|
|
12315
12532
|
paginas?: number;
|
|
12316
12533
|
payload?: import("../integrations/supabase/types").Json;
|
|
12534
|
+
pdf_base64?: string | null;
|
|
12535
|
+
pdf_url?: string | null;
|
|
12317
12536
|
pogingen?: number;
|
|
12318
12537
|
printer_id?: string | null;
|
|
12319
12538
|
render_html?: string | null;
|
|
12320
12539
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12321
12540
|
updated_at?: string;
|
|
12541
|
+
volgende_poging?: string | null;
|
|
12322
12542
|
voltooid_op?: string | null;
|
|
12323
12543
|
};
|
|
12324
12544
|
Update: {
|
|
@@ -12327,22 +12547,27 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
12327
12547
|
created_at?: string;
|
|
12328
12548
|
documentnaam?: string;
|
|
12329
12549
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12550
|
+
extern_job_id?: string | null;
|
|
12330
12551
|
foutmelding?: string | null;
|
|
12331
12552
|
gebruiker_id?: string | null;
|
|
12332
12553
|
gebruiker_naam?: string;
|
|
12333
12554
|
gestart_op?: string | null;
|
|
12334
12555
|
id?: string;
|
|
12556
|
+
idempotentie_sleutel?: string | null;
|
|
12335
12557
|
is_herprint?: boolean;
|
|
12336
12558
|
kopieen?: number;
|
|
12337
12559
|
layout_id?: string | null;
|
|
12338
12560
|
opgepakt_op?: string | null;
|
|
12339
12561
|
paginas?: number;
|
|
12340
12562
|
payload?: import("../integrations/supabase/types").Json;
|
|
12563
|
+
pdf_base64?: string | null;
|
|
12564
|
+
pdf_url?: string | null;
|
|
12341
12565
|
pogingen?: number;
|
|
12342
12566
|
printer_id?: string | null;
|
|
12343
12567
|
render_html?: string | null;
|
|
12344
12568
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12345
12569
|
updated_at?: string;
|
|
12570
|
+
volgende_poging?: string | null;
|
|
12346
12571
|
voltooid_op?: string | null;
|
|
12347
12572
|
};
|
|
12348
12573
|
Relationships: [{
|
|
@@ -12365,6 +12590,63 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
12365
12590
|
referencedColumns: ["id"];
|
|
12366
12591
|
}];
|
|
12367
12592
|
};
|
|
12593
|
+
print_queue_runners: {
|
|
12594
|
+
Row: {
|
|
12595
|
+
actief: boolean;
|
|
12596
|
+
basis_url: string;
|
|
12597
|
+
created_at: string;
|
|
12598
|
+
id: string;
|
|
12599
|
+
laatst_gezien: string;
|
|
12600
|
+
tick_sleutel: string;
|
|
12601
|
+
updated_at: string;
|
|
12602
|
+
};
|
|
12603
|
+
Insert: {
|
|
12604
|
+
actief?: boolean;
|
|
12605
|
+
basis_url: string;
|
|
12606
|
+
created_at?: string;
|
|
12607
|
+
id?: string;
|
|
12608
|
+
laatst_gezien?: string;
|
|
12609
|
+
tick_sleutel?: string;
|
|
12610
|
+
updated_at?: string;
|
|
12611
|
+
};
|
|
12612
|
+
Update: {
|
|
12613
|
+
actief?: boolean;
|
|
12614
|
+
basis_url?: string;
|
|
12615
|
+
created_at?: string;
|
|
12616
|
+
id?: string;
|
|
12617
|
+
laatst_gezien?: string;
|
|
12618
|
+
tick_sleutel?: string;
|
|
12619
|
+
updated_at?: string;
|
|
12620
|
+
};
|
|
12621
|
+
Relationships: [];
|
|
12622
|
+
};
|
|
12623
|
+
print_queue_settings: {
|
|
12624
|
+
Row: {
|
|
12625
|
+
bewaar_bestanden_dagen: number;
|
|
12626
|
+
bewaar_opdrachten_dagen: number;
|
|
12627
|
+
created_at: string;
|
|
12628
|
+
dubbel_venster_minuten: number;
|
|
12629
|
+
id: string;
|
|
12630
|
+
updated_at: string;
|
|
12631
|
+
};
|
|
12632
|
+
Insert: {
|
|
12633
|
+
bewaar_bestanden_dagen?: number;
|
|
12634
|
+
bewaar_opdrachten_dagen?: number;
|
|
12635
|
+
created_at?: string;
|
|
12636
|
+
dubbel_venster_minuten?: number;
|
|
12637
|
+
id?: string;
|
|
12638
|
+
updated_at?: string;
|
|
12639
|
+
};
|
|
12640
|
+
Update: {
|
|
12641
|
+
bewaar_bestanden_dagen?: number;
|
|
12642
|
+
bewaar_opdrachten_dagen?: number;
|
|
12643
|
+
created_at?: string;
|
|
12644
|
+
dubbel_venster_minuten?: number;
|
|
12645
|
+
id?: string;
|
|
12646
|
+
updated_at?: string;
|
|
12647
|
+
};
|
|
12648
|
+
Relationships: [];
|
|
12649
|
+
};
|
|
12368
12650
|
print_rules: {
|
|
12369
12651
|
Row: {
|
|
12370
12652
|
actief: boolean;
|
|
@@ -12525,6 +12807,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
12525
12807
|
agent_id: string | null;
|
|
12526
12808
|
created_at: string;
|
|
12527
12809
|
driver: string;
|
|
12810
|
+
extern_printer_id: string | null;
|
|
12528
12811
|
id: string;
|
|
12529
12812
|
ip_adres: string | null;
|
|
12530
12813
|
laatst_gezien: string | null;
|
|
@@ -12546,6 +12829,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
12546
12829
|
agent_id?: string | null;
|
|
12547
12830
|
created_at?: string;
|
|
12548
12831
|
driver?: string;
|
|
12832
|
+
extern_printer_id?: string | null;
|
|
12549
12833
|
id?: string;
|
|
12550
12834
|
ip_adres?: string | null;
|
|
12551
12835
|
laatst_gezien?: string | null;
|
|
@@ -12567,6 +12851,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
12567
12851
|
agent_id?: string | null;
|
|
12568
12852
|
created_at?: string;
|
|
12569
12853
|
driver?: string;
|
|
12854
|
+
extern_printer_id?: string | null;
|
|
12570
12855
|
id?: string;
|
|
12571
12856
|
ip_adres?: string | null;
|
|
12572
12857
|
laatst_gezien?: string | null;
|
|
@@ -15202,6 +15487,8 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
15202
15487
|
};
|
|
15203
15488
|
twinfield_invoice_settings: {
|
|
15204
15489
|
Row: {
|
|
15490
|
+
auto_invoice_enabled: boolean;
|
|
15491
|
+
auto_invoice_trigger_statuses: string[];
|
|
15205
15492
|
created_at: string;
|
|
15206
15493
|
debtor_gl_account: string;
|
|
15207
15494
|
default_credit_invoice_type: string | null;
|
|
@@ -15222,6 +15509,8 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
15222
15509
|
vat_code_export: string | null;
|
|
15223
15510
|
};
|
|
15224
15511
|
Insert: {
|
|
15512
|
+
auto_invoice_enabled?: boolean;
|
|
15513
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15225
15514
|
created_at?: string;
|
|
15226
15515
|
debtor_gl_account?: string;
|
|
15227
15516
|
default_credit_invoice_type?: string | null;
|
|
@@ -15242,6 +15531,8 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
15242
15531
|
vat_code_export?: string | null;
|
|
15243
15532
|
};
|
|
15244
15533
|
Update: {
|
|
15534
|
+
auto_invoice_enabled?: boolean;
|
|
15535
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15245
15536
|
created_at?: string;
|
|
15246
15537
|
debtor_gl_account?: string;
|
|
15247
15538
|
default_credit_invoice_type?: string | null;
|
|
@@ -16304,6 +16595,33 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
16304
16595
|
referencedColumns: ["id"];
|
|
16305
16596
|
}];
|
|
16306
16597
|
};
|
|
16598
|
+
user_module_permissions: {
|
|
16599
|
+
Row: {
|
|
16600
|
+
created_at: string;
|
|
16601
|
+
id: string;
|
|
16602
|
+
module_id: string;
|
|
16603
|
+
permission: string;
|
|
16604
|
+
updated_at: string;
|
|
16605
|
+
user_id: string;
|
|
16606
|
+
};
|
|
16607
|
+
Insert: {
|
|
16608
|
+
created_at?: string;
|
|
16609
|
+
id?: string;
|
|
16610
|
+
module_id: string;
|
|
16611
|
+
permission: string;
|
|
16612
|
+
updated_at?: string;
|
|
16613
|
+
user_id: string;
|
|
16614
|
+
};
|
|
16615
|
+
Update: {
|
|
16616
|
+
created_at?: string;
|
|
16617
|
+
id?: string;
|
|
16618
|
+
module_id?: string;
|
|
16619
|
+
permission?: string;
|
|
16620
|
+
updated_at?: string;
|
|
16621
|
+
user_id?: string;
|
|
16622
|
+
};
|
|
16623
|
+
Relationships: [];
|
|
16624
|
+
};
|
|
16307
16625
|
user_roles: {
|
|
16308
16626
|
Row: {
|
|
16309
16627
|
created_at: string;
|
|
@@ -18137,6 +18455,10 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18137
18455
|
processed_items: number;
|
|
18138
18456
|
}[];
|
|
18139
18457
|
};
|
|
18458
|
+
backfill_order_auto_invoice_queue: {
|
|
18459
|
+
Args: never;
|
|
18460
|
+
Returns: number;
|
|
18461
|
+
};
|
|
18140
18462
|
calculate_layer_stock: {
|
|
18141
18463
|
Args: {
|
|
18142
18464
|
p_product_id: string;
|
|
@@ -18171,6 +18493,77 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18171
18493
|
};
|
|
18172
18494
|
Returns: import("../integrations/supabase/types").Json;
|
|
18173
18495
|
};
|
|
18496
|
+
claim_cloud_print_jobs: {
|
|
18497
|
+
Args: {
|
|
18498
|
+
_max?: number;
|
|
18499
|
+
};
|
|
18500
|
+
Returns: {
|
|
18501
|
+
agent_id: string | null;
|
|
18502
|
+
bron_job_id: string | null;
|
|
18503
|
+
created_at: string;
|
|
18504
|
+
documentnaam: string;
|
|
18505
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
18506
|
+
extern_job_id: string | null;
|
|
18507
|
+
foutmelding: string | null;
|
|
18508
|
+
gebruiker_id: string | null;
|
|
18509
|
+
gebruiker_naam: string;
|
|
18510
|
+
gestart_op: string | null;
|
|
18511
|
+
id: string;
|
|
18512
|
+
idempotentie_sleutel: string | null;
|
|
18513
|
+
is_herprint: boolean;
|
|
18514
|
+
kopieen: number;
|
|
18515
|
+
layout_id: string | null;
|
|
18516
|
+
opgepakt_op: string | null;
|
|
18517
|
+
paginas: number;
|
|
18518
|
+
payload: import("../integrations/supabase/types").Json;
|
|
18519
|
+
pdf_base64: string | null;
|
|
18520
|
+
pdf_url: string | null;
|
|
18521
|
+
pogingen: number;
|
|
18522
|
+
printer_id: string | null;
|
|
18523
|
+
render_html: string | null;
|
|
18524
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
18525
|
+
updated_at: string;
|
|
18526
|
+
volgende_poging: string | null;
|
|
18527
|
+
voltooid_op: string | null;
|
|
18528
|
+
}[];
|
|
18529
|
+
SetofOptions: {
|
|
18530
|
+
from: "*";
|
|
18531
|
+
to: "print_jobs";
|
|
18532
|
+
isOneToOne: false;
|
|
18533
|
+
isSetofReturn: true;
|
|
18534
|
+
};
|
|
18535
|
+
};
|
|
18536
|
+
claim_floriday_stock_queue: {
|
|
18537
|
+
Args: {
|
|
18538
|
+
p_limit?: number;
|
|
18539
|
+
p_worker?: string;
|
|
18540
|
+
};
|
|
18541
|
+
Returns: {
|
|
18542
|
+
attempts: number;
|
|
18543
|
+
connection_id: string;
|
|
18544
|
+
created_at: string;
|
|
18545
|
+
desired_available: boolean | null;
|
|
18546
|
+
gateway_attempt_id: string | null;
|
|
18547
|
+
id: string;
|
|
18548
|
+
last_error: string | null;
|
|
18549
|
+
locked_at: string | null;
|
|
18550
|
+
locked_by: string | null;
|
|
18551
|
+
next_attempt_at: string;
|
|
18552
|
+
number_of_pieces: number;
|
|
18553
|
+
sent_at: string | null;
|
|
18554
|
+
status: string;
|
|
18555
|
+
superseded_by: string | null;
|
|
18556
|
+
trade_item_id: string;
|
|
18557
|
+
updated_at: string;
|
|
18558
|
+
user_id: string;
|
|
18559
|
+
}[];
|
|
18560
|
+
SetofOptions: {
|
|
18561
|
+
from: "*";
|
|
18562
|
+
to: "floriday_continuous_stock_queue";
|
|
18563
|
+
isOneToOne: false;
|
|
18564
|
+
isSetofReturn: true;
|
|
18565
|
+
};
|
|
18566
|
+
};
|
|
18174
18567
|
claim_logistics_tasks: {
|
|
18175
18568
|
Args: {
|
|
18176
18569
|
_limit?: number;
|
|
@@ -18230,22 +18623,27 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18230
18623
|
created_at: string;
|
|
18231
18624
|
documentnaam: string;
|
|
18232
18625
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
18626
|
+
extern_job_id: string | null;
|
|
18233
18627
|
foutmelding: string | null;
|
|
18234
18628
|
gebruiker_id: string | null;
|
|
18235
18629
|
gebruiker_naam: string;
|
|
18236
18630
|
gestart_op: string | null;
|
|
18237
18631
|
id: string;
|
|
18632
|
+
idempotentie_sleutel: string | null;
|
|
18238
18633
|
is_herprint: boolean;
|
|
18239
18634
|
kopieen: number;
|
|
18240
18635
|
layout_id: string | null;
|
|
18241
18636
|
opgepakt_op: string | null;
|
|
18242
18637
|
paginas: number;
|
|
18243
18638
|
payload: import("../integrations/supabase/types").Json;
|
|
18639
|
+
pdf_base64: string | null;
|
|
18640
|
+
pdf_url: string | null;
|
|
18244
18641
|
pogingen: number;
|
|
18245
18642
|
printer_id: string | null;
|
|
18246
18643
|
render_html: string | null;
|
|
18247
18644
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
18248
18645
|
updated_at: string;
|
|
18646
|
+
volgende_poging: string | null;
|
|
18249
18647
|
voltooid_op: string | null;
|
|
18250
18648
|
}[];
|
|
18251
18649
|
SetofOptions: {
|
|
@@ -18283,10 +18681,28 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18283
18681
|
isSetofReturn: true;
|
|
18284
18682
|
};
|
|
18285
18683
|
};
|
|
18684
|
+
cleanup_floriday_stock_queue: {
|
|
18685
|
+
Args: never;
|
|
18686
|
+
Returns: undefined;
|
|
18687
|
+
};
|
|
18286
18688
|
cleanup_old_bookings: {
|
|
18287
18689
|
Args: never;
|
|
18288
18690
|
Returns: undefined;
|
|
18289
18691
|
};
|
|
18692
|
+
cleanup_voorraad_module_history: {
|
|
18693
|
+
Args: never;
|
|
18694
|
+
Returns: undefined;
|
|
18695
|
+
};
|
|
18696
|
+
complete_floriday_stock_queue: {
|
|
18697
|
+
Args: {
|
|
18698
|
+
p_attempt_id?: string;
|
|
18699
|
+
p_error?: string;
|
|
18700
|
+
p_id: string;
|
|
18701
|
+
p_ok: boolean;
|
|
18702
|
+
p_permanent?: boolean;
|
|
18703
|
+
};
|
|
18704
|
+
Returns: undefined;
|
|
18705
|
+
};
|
|
18290
18706
|
consume_bom_for_production: {
|
|
18291
18707
|
Args: {
|
|
18292
18708
|
p_connection_id: string;
|
|
@@ -18398,6 +18814,13 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
18398
18814
|
};
|
|
18399
18815
|
Returns: import("../integrations/supabase/types").Json;
|
|
18400
18816
|
};
|
|
18817
|
+
effective_module_permission: {
|
|
18818
|
+
Args: {
|
|
18819
|
+
_module_id: string;
|
|
18820
|
+
_user_id: string;
|
|
18821
|
+
};
|
|
18822
|
+
Returns: string;
|
|
18823
|
+
};
|
|
18401
18824
|
email_auth_decrypt: {
|
|
18402
18825
|
Args: {
|
|
18403
18826
|
cipher: string;
|
|
@@ -19201,6 +19624,51 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
19201
19624
|
isSetofReturn: false;
|
|
19202
19625
|
};
|
|
19203
19626
|
};
|
|
19627
|
+
logistics_floriday_claim_pushes: {
|
|
19628
|
+
Args: {
|
|
19629
|
+
_lease_seconds?: number;
|
|
19630
|
+
_limit?: number;
|
|
19631
|
+
_worker?: string;
|
|
19632
|
+
};
|
|
19633
|
+
Returns: {
|
|
19634
|
+
attempts: number;
|
|
19635
|
+
fulfillment_order_id: string;
|
|
19636
|
+
id: string;
|
|
19637
|
+
last_sent_hash: string;
|
|
19638
|
+
order_ref: string;
|
|
19639
|
+
payload: import("../integrations/supabase/types").Json;
|
|
19640
|
+
payload_hash: string;
|
|
19641
|
+
revision: number;
|
|
19642
|
+
}[];
|
|
19643
|
+
};
|
|
19644
|
+
logistics_floriday_finish_push: {
|
|
19645
|
+
Args: {
|
|
19646
|
+
_error?: string;
|
|
19647
|
+
_fulfillment_order_id?: string;
|
|
19648
|
+
_id: string;
|
|
19649
|
+
_max_age_hours?: number;
|
|
19650
|
+
_max_attempts?: number;
|
|
19651
|
+
_ok: boolean;
|
|
19652
|
+
_permanent?: boolean;
|
|
19653
|
+
_revision: number;
|
|
19654
|
+
_sent_hash?: string;
|
|
19655
|
+
};
|
|
19656
|
+
Returns: string;
|
|
19657
|
+
};
|
|
19658
|
+
logistics_floriday_prune_pushes: {
|
|
19659
|
+
Args: {
|
|
19660
|
+
_days?: number;
|
|
19661
|
+
};
|
|
19662
|
+
Returns: number;
|
|
19663
|
+
};
|
|
19664
|
+
logistics_floriday_queue_push: {
|
|
19665
|
+
Args: {
|
|
19666
|
+
_order_ref: string;
|
|
19667
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
19668
|
+
_payload_hash?: string;
|
|
19669
|
+
};
|
|
19670
|
+
Returns: string;
|
|
19671
|
+
};
|
|
19204
19672
|
logistics_live_carriers: {
|
|
19205
19673
|
Args: {
|
|
19206
19674
|
p_order_ref: string;
|
|
@@ -19491,6 +19959,13 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
19491
19959
|
};
|
|
19492
19960
|
Returns: undefined;
|
|
19493
19961
|
};
|
|
19962
|
+
my_module_permissions: {
|
|
19963
|
+
Args: never;
|
|
19964
|
+
Returns: {
|
|
19965
|
+
module_id: string;
|
|
19966
|
+
permission: string;
|
|
19967
|
+
}[];
|
|
19968
|
+
};
|
|
19494
19969
|
next_manufacture_partij: {
|
|
19495
19970
|
Args: {
|
|
19496
19971
|
_tenant_id: string;
|
|
@@ -19541,6 +20016,13 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
19541
20016
|
};
|
|
19542
20017
|
Returns: boolean;
|
|
19543
20018
|
};
|
|
20019
|
+
opruim_print_historie: {
|
|
20020
|
+
Args: never;
|
|
20021
|
+
Returns: {
|
|
20022
|
+
ontdaan: number;
|
|
20023
|
+
verwijderd: number;
|
|
20024
|
+
}[];
|
|
20025
|
+
};
|
|
19544
20026
|
order_number_prefix: {
|
|
19545
20027
|
Args: {
|
|
19546
20028
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -19548,6 +20030,15 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
19548
20030
|
};
|
|
19549
20031
|
Returns: string;
|
|
19550
20032
|
};
|
|
20033
|
+
pick_active_printers: {
|
|
20034
|
+
Args: never;
|
|
20035
|
+
Returns: {
|
|
20036
|
+
id: string;
|
|
20037
|
+
locatie: string;
|
|
20038
|
+
naam: string;
|
|
20039
|
+
online: boolean;
|
|
20040
|
+
}[];
|
|
20041
|
+
};
|
|
19551
20042
|
pick_claim_document: {
|
|
19552
20043
|
Args: {
|
|
19553
20044
|
_queue_item_id: string;
|
|
@@ -19734,6 +20225,52 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
19734
20225
|
};
|
|
19735
20226
|
Returns: undefined;
|
|
19736
20227
|
};
|
|
20228
|
+
pick_reset_print: {
|
|
20229
|
+
Args: {
|
|
20230
|
+
_queue_item_id: string;
|
|
20231
|
+
_session_id: string;
|
|
20232
|
+
};
|
|
20233
|
+
Returns: {
|
|
20234
|
+
announced_at: string;
|
|
20235
|
+
assigned_user_id: string | null;
|
|
20236
|
+
barcode: string | null;
|
|
20237
|
+
cancelled_at: string | null;
|
|
20238
|
+
cart_count: number;
|
|
20239
|
+
completed_at: string | null;
|
|
20240
|
+
country_code: string | null;
|
|
20241
|
+
created_at: string;
|
|
20242
|
+
customer_name: string | null;
|
|
20243
|
+
delivery_address: string | null;
|
|
20244
|
+
document_number: string | null;
|
|
20245
|
+
document_type_id: string | null;
|
|
20246
|
+
due_at: string | null;
|
|
20247
|
+
id: string;
|
|
20248
|
+
is_urgent: boolean;
|
|
20249
|
+
line_count: number;
|
|
20250
|
+
order_number: string | null;
|
|
20251
|
+
order_type: string | null;
|
|
20252
|
+
payload: import("../integrations/supabase/types").Json;
|
|
20253
|
+
print_count: number;
|
|
20254
|
+
print_job_id: string | null;
|
|
20255
|
+
printed_at: string | null;
|
|
20256
|
+
printed_by: string | null;
|
|
20257
|
+
printer_id: string | null;
|
|
20258
|
+
priority: number;
|
|
20259
|
+
reference: string | null;
|
|
20260
|
+
route: string | null;
|
|
20261
|
+
screen_id: string | null;
|
|
20262
|
+
station_id: string | null;
|
|
20263
|
+
status_id: string | null;
|
|
20264
|
+
updated_at: string;
|
|
20265
|
+
warnings: import("../integrations/supabase/types").Json;
|
|
20266
|
+
};
|
|
20267
|
+
SetofOptions: {
|
|
20268
|
+
from: "*";
|
|
20269
|
+
to: "pick_queue";
|
|
20270
|
+
isOneToOne: true;
|
|
20271
|
+
isSetofReturn: false;
|
|
20272
|
+
};
|
|
20273
|
+
};
|
|
19737
20274
|
pick_station_dashboard: {
|
|
19738
20275
|
Args: never;
|
|
19739
20276
|
Returns: {
|
|
@@ -19880,6 +20417,12 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
19880
20417
|
};
|
|
19881
20418
|
Returns: undefined;
|
|
19882
20419
|
};
|
|
20420
|
+
reset_stalled_floriday_stock_queue: {
|
|
20421
|
+
Args: {
|
|
20422
|
+
p_include_failed?: boolean;
|
|
20423
|
+
};
|
|
20424
|
+
Returns: number;
|
|
20425
|
+
};
|
|
19883
20426
|
resolve_group_allocation: {
|
|
19884
20427
|
Args: {
|
|
19885
20428
|
_needed: number;
|
|
@@ -19924,14 +20467,28 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
19924
20467
|
};
|
|
19925
20468
|
Returns: import("../integrations/supabase/types").Json;
|
|
19926
20469
|
};
|
|
20470
|
+
ruim_print_jobs_op: {
|
|
20471
|
+
Args: {
|
|
20472
|
+
_bewaar_dagen?: number;
|
|
20473
|
+
};
|
|
20474
|
+
Returns: number;
|
|
20475
|
+
};
|
|
19927
20476
|
run_floriday_continuous_stock_sync: {
|
|
19928
20477
|
Args: never;
|
|
19929
20478
|
Returns: undefined;
|
|
19930
20479
|
};
|
|
20480
|
+
run_floriday_stock_queue_process: {
|
|
20481
|
+
Args: never;
|
|
20482
|
+
Returns: undefined;
|
|
20483
|
+
};
|
|
19931
20484
|
run_logistics_tasks_dispatch: {
|
|
19932
20485
|
Args: never;
|
|
19933
20486
|
Returns: undefined;
|
|
19934
20487
|
};
|
|
20488
|
+
run_print_queue_ticks: {
|
|
20489
|
+
Args: never;
|
|
20490
|
+
Returns: number;
|
|
20491
|
+
};
|
|
19935
20492
|
run_twinfield_queue_tick: {
|
|
19936
20493
|
Args: never;
|
|
19937
20494
|
Returns: undefined;
|
|
@@ -20172,6 +20729,13 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
20172
20729
|
};
|
|
20173
20730
|
Returns: number;
|
|
20174
20731
|
};
|
|
20732
|
+
schedule_floriday_stock_queue_process: {
|
|
20733
|
+
Args: {
|
|
20734
|
+
p_apikey: string;
|
|
20735
|
+
p_url: string;
|
|
20736
|
+
};
|
|
20737
|
+
Returns: number;
|
|
20738
|
+
};
|
|
20175
20739
|
schedule_floriday_token_refresh: {
|
|
20176
20740
|
Args: {
|
|
20177
20741
|
p_apikey: string;
|
|
@@ -20312,6 +20876,15 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
20312
20876
|
};
|
|
20313
20877
|
Returns: undefined;
|
|
20314
20878
|
};
|
|
20879
|
+
trade_item_stock_duplicates: {
|
|
20880
|
+
Args: never;
|
|
20881
|
+
Returns: {
|
|
20882
|
+
keys: string[];
|
|
20883
|
+
product_id: string;
|
|
20884
|
+
product_name: string;
|
|
20885
|
+
row_count: number;
|
|
20886
|
+
}[];
|
|
20887
|
+
};
|
|
20315
20888
|
try_debtor_lock: {
|
|
20316
20889
|
Args: {
|
|
20317
20890
|
_group_key: string;
|
|
@@ -20361,7 +20934,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
20361
20934
|
};
|
|
20362
20935
|
Enums: {
|
|
20363
20936
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
20364
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
20937
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
20365
20938
|
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
20366
20939
|
doc_orientation: "portrait" | "landscape";
|
|
20367
20940
|
exact_env: "staging" | "live";
|
|
@@ -22073,7 +22646,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
22073
22646
|
city: string | null;
|
|
22074
22647
|
country: string | null;
|
|
22075
22648
|
created_at: string;
|
|
22076
|
-
customer_id: string
|
|
22649
|
+
customer_id: string;
|
|
22077
22650
|
external_key: string | null;
|
|
22078
22651
|
external_provider: string | null;
|
|
22079
22652
|
floriday_location_id: string | null;
|
|
@@ -22097,7 +22670,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
22097
22670
|
city?: string | null;
|
|
22098
22671
|
country?: string | null;
|
|
22099
22672
|
created_at?: string;
|
|
22100
|
-
customer_id
|
|
22673
|
+
customer_id: string;
|
|
22101
22674
|
external_key?: string | null;
|
|
22102
22675
|
external_provider?: string | null;
|
|
22103
22676
|
floriday_location_id?: string | null;
|
|
@@ -22121,7 +22694,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
22121
22694
|
city?: string | null;
|
|
22122
22695
|
country?: string | null;
|
|
22123
22696
|
created_at?: string;
|
|
22124
|
-
customer_id?: string
|
|
22697
|
+
customer_id?: string;
|
|
22125
22698
|
external_key?: string | null;
|
|
22126
22699
|
external_provider?: string | null;
|
|
22127
22700
|
floriday_location_id?: string | null;
|
|
@@ -26084,12 +26657,17 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
26084
26657
|
attempts: number;
|
|
26085
26658
|
connection_id: string;
|
|
26086
26659
|
created_at: string;
|
|
26660
|
+
desired_available: boolean | null;
|
|
26087
26661
|
gateway_attempt_id: string | null;
|
|
26088
26662
|
id: string;
|
|
26089
26663
|
last_error: string | null;
|
|
26664
|
+
locked_at: string | null;
|
|
26665
|
+
locked_by: string | null;
|
|
26666
|
+
next_attempt_at: string;
|
|
26090
26667
|
number_of_pieces: number;
|
|
26091
26668
|
sent_at: string | null;
|
|
26092
26669
|
status: string;
|
|
26670
|
+
superseded_by: string | null;
|
|
26093
26671
|
trade_item_id: string;
|
|
26094
26672
|
updated_at: string;
|
|
26095
26673
|
user_id: string;
|
|
@@ -26098,12 +26676,17 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
26098
26676
|
attempts?: number;
|
|
26099
26677
|
connection_id: string;
|
|
26100
26678
|
created_at?: string;
|
|
26679
|
+
desired_available?: boolean | null;
|
|
26101
26680
|
gateway_attempt_id?: string | null;
|
|
26102
26681
|
id?: string;
|
|
26103
26682
|
last_error?: string | null;
|
|
26683
|
+
locked_at?: string | null;
|
|
26684
|
+
locked_by?: string | null;
|
|
26685
|
+
next_attempt_at?: string;
|
|
26104
26686
|
number_of_pieces?: number;
|
|
26105
26687
|
sent_at?: string | null;
|
|
26106
26688
|
status?: string;
|
|
26689
|
+
superseded_by?: string | null;
|
|
26107
26690
|
trade_item_id: string;
|
|
26108
26691
|
updated_at?: string;
|
|
26109
26692
|
user_id: string;
|
|
@@ -26112,12 +26695,17 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
26112
26695
|
attempts?: number;
|
|
26113
26696
|
connection_id?: string;
|
|
26114
26697
|
created_at?: string;
|
|
26698
|
+
desired_available?: boolean | null;
|
|
26115
26699
|
gateway_attempt_id?: string | null;
|
|
26116
26700
|
id?: string;
|
|
26117
26701
|
last_error?: string | null;
|
|
26702
|
+
locked_at?: string | null;
|
|
26703
|
+
locked_by?: string | null;
|
|
26704
|
+
next_attempt_at?: string;
|
|
26118
26705
|
number_of_pieces?: number;
|
|
26119
26706
|
sent_at?: string | null;
|
|
26120
26707
|
status?: string;
|
|
26708
|
+
superseded_by?: string | null;
|
|
26121
26709
|
trade_item_id?: string;
|
|
26122
26710
|
updated_at?: string;
|
|
26123
26711
|
user_id?: string;
|
|
@@ -26854,6 +27442,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
26854
27442
|
Row: {
|
|
26855
27443
|
buyer_organization_id: string | null;
|
|
26856
27444
|
connection_id: string;
|
|
27445
|
+
controlled_at: string | null;
|
|
26857
27446
|
created_at: string;
|
|
26858
27447
|
data: import("../integrations/supabase/types").Json;
|
|
26859
27448
|
floriday_id: string;
|
|
@@ -26865,6 +27454,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
26865
27454
|
Insert: {
|
|
26866
27455
|
buyer_organization_id?: string | null;
|
|
26867
27456
|
connection_id: string;
|
|
27457
|
+
controlled_at?: string | null;
|
|
26868
27458
|
created_at?: string;
|
|
26869
27459
|
data: import("../integrations/supabase/types").Json;
|
|
26870
27460
|
floriday_id: string;
|
|
@@ -26876,6 +27466,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
26876
27466
|
Update: {
|
|
26877
27467
|
buyer_organization_id?: string | null;
|
|
26878
27468
|
connection_id?: string;
|
|
27469
|
+
controlled_at?: string | null;
|
|
26879
27470
|
created_at?: string;
|
|
26880
27471
|
data?: import("../integrations/supabase/types").Json;
|
|
26881
27472
|
floriday_id?: string;
|
|
@@ -27777,6 +28368,54 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
27777
28368
|
};
|
|
27778
28369
|
Relationships: [];
|
|
27779
28370
|
};
|
|
28371
|
+
invoice_timing_settings: {
|
|
28372
|
+
Row: {
|
|
28373
|
+
anchor: string;
|
|
28374
|
+
business_days_only: boolean;
|
|
28375
|
+
created_at: string;
|
|
28376
|
+
enabled: boolean;
|
|
28377
|
+
id: string;
|
|
28378
|
+
offset_days: number;
|
|
28379
|
+
pickup_anchor: string;
|
|
28380
|
+
pickup_business_days_only: boolean;
|
|
28381
|
+
pickup_offset_days: number;
|
|
28382
|
+
pickup_time_of_day: string;
|
|
28383
|
+
singleton: boolean;
|
|
28384
|
+
time_of_day: string;
|
|
28385
|
+
updated_at: string;
|
|
28386
|
+
};
|
|
28387
|
+
Insert: {
|
|
28388
|
+
anchor?: string;
|
|
28389
|
+
business_days_only?: boolean;
|
|
28390
|
+
created_at?: string;
|
|
28391
|
+
enabled?: boolean;
|
|
28392
|
+
id?: string;
|
|
28393
|
+
offset_days?: number;
|
|
28394
|
+
pickup_anchor?: string;
|
|
28395
|
+
pickup_business_days_only?: boolean;
|
|
28396
|
+
pickup_offset_days?: number;
|
|
28397
|
+
pickup_time_of_day?: string;
|
|
28398
|
+
singleton?: boolean;
|
|
28399
|
+
time_of_day?: string;
|
|
28400
|
+
updated_at?: string;
|
|
28401
|
+
};
|
|
28402
|
+
Update: {
|
|
28403
|
+
anchor?: string;
|
|
28404
|
+
business_days_only?: boolean;
|
|
28405
|
+
created_at?: string;
|
|
28406
|
+
enabled?: boolean;
|
|
28407
|
+
id?: string;
|
|
28408
|
+
offset_days?: number;
|
|
28409
|
+
pickup_anchor?: string;
|
|
28410
|
+
pickup_business_days_only?: boolean;
|
|
28411
|
+
pickup_offset_days?: number;
|
|
28412
|
+
pickup_time_of_day?: string;
|
|
28413
|
+
singleton?: boolean;
|
|
28414
|
+
time_of_day?: string;
|
|
28415
|
+
updated_at?: string;
|
|
28416
|
+
};
|
|
28417
|
+
Relationships: [];
|
|
28418
|
+
};
|
|
27780
28419
|
itk_contact_persons: {
|
|
27781
28420
|
Row: {
|
|
27782
28421
|
created_at: string;
|
|
@@ -28866,6 +29505,69 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
28866
29505
|
};
|
|
28867
29506
|
Relationships: [];
|
|
28868
29507
|
};
|
|
29508
|
+
logistics_floriday_pushes: {
|
|
29509
|
+
Row: {
|
|
29510
|
+
attempts: number;
|
|
29511
|
+
created_at: string;
|
|
29512
|
+
first_queued_at: string;
|
|
29513
|
+
fulfillment_order_id: string | null;
|
|
29514
|
+
id: string;
|
|
29515
|
+
last_error: string | null;
|
|
29516
|
+
last_error_at: string | null;
|
|
29517
|
+
last_sent_hash: string | null;
|
|
29518
|
+
locked_by: string | null;
|
|
29519
|
+
locked_until: string | null;
|
|
29520
|
+
next_attempt_at: string;
|
|
29521
|
+
order_ref: string;
|
|
29522
|
+
payload: import("../integrations/supabase/types").Json;
|
|
29523
|
+
payload_hash: string | null;
|
|
29524
|
+
revision: number;
|
|
29525
|
+
sent_at: string | null;
|
|
29526
|
+
status: string;
|
|
29527
|
+
updated_at: string;
|
|
29528
|
+
};
|
|
29529
|
+
Insert: {
|
|
29530
|
+
attempts?: number;
|
|
29531
|
+
created_at?: string;
|
|
29532
|
+
first_queued_at?: string;
|
|
29533
|
+
fulfillment_order_id?: string | null;
|
|
29534
|
+
id?: string;
|
|
29535
|
+
last_error?: string | null;
|
|
29536
|
+
last_error_at?: string | null;
|
|
29537
|
+
last_sent_hash?: string | null;
|
|
29538
|
+
locked_by?: string | null;
|
|
29539
|
+
locked_until?: string | null;
|
|
29540
|
+
next_attempt_at?: string;
|
|
29541
|
+
order_ref: string;
|
|
29542
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
29543
|
+
payload_hash?: string | null;
|
|
29544
|
+
revision?: number;
|
|
29545
|
+
sent_at?: string | null;
|
|
29546
|
+
status?: string;
|
|
29547
|
+
updated_at?: string;
|
|
29548
|
+
};
|
|
29549
|
+
Update: {
|
|
29550
|
+
attempts?: number;
|
|
29551
|
+
created_at?: string;
|
|
29552
|
+
first_queued_at?: string;
|
|
29553
|
+
fulfillment_order_id?: string | null;
|
|
29554
|
+
id?: string;
|
|
29555
|
+
last_error?: string | null;
|
|
29556
|
+
last_error_at?: string | null;
|
|
29557
|
+
last_sent_hash?: string | null;
|
|
29558
|
+
locked_by?: string | null;
|
|
29559
|
+
locked_until?: string | null;
|
|
29560
|
+
next_attempt_at?: string;
|
|
29561
|
+
order_ref?: string;
|
|
29562
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
29563
|
+
payload_hash?: string | null;
|
|
29564
|
+
revision?: number;
|
|
29565
|
+
sent_at?: string | null;
|
|
29566
|
+
status?: string;
|
|
29567
|
+
updated_at?: string;
|
|
29568
|
+
};
|
|
29569
|
+
Relationships: [];
|
|
29570
|
+
};
|
|
28869
29571
|
logistics_formulas: {
|
|
28870
29572
|
Row: {
|
|
28871
29573
|
created_at: string;
|
|
@@ -29729,14 +30431,17 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
29729
30431
|
};
|
|
29730
30432
|
mailbox_messages: {
|
|
29731
30433
|
Row: {
|
|
30434
|
+
attachments: import("../integrations/supabase/types").Json;
|
|
29732
30435
|
body_html: string | null;
|
|
29733
30436
|
body_text: string | null;
|
|
30437
|
+
cc_recipients: import("../integrations/supabase/types").Json;
|
|
29734
30438
|
connection_id: string | null;
|
|
29735
30439
|
created_at: string;
|
|
29736
30440
|
error_message: string | null;
|
|
29737
30441
|
external_id: string | null;
|
|
29738
30442
|
from_email: string | null;
|
|
29739
30443
|
from_name: string | null;
|
|
30444
|
+
has_attachments: boolean;
|
|
29740
30445
|
id: string;
|
|
29741
30446
|
message_id: string | null;
|
|
29742
30447
|
profile_id: string | null;
|
|
@@ -29744,18 +30449,22 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
29744
30449
|
received_at: string | null;
|
|
29745
30450
|
status: string;
|
|
29746
30451
|
subject: string | null;
|
|
30452
|
+
to_recipients: import("../integrations/supabase/types").Json;
|
|
29747
30453
|
uid: number | null;
|
|
29748
30454
|
updated_at: string;
|
|
29749
30455
|
};
|
|
29750
30456
|
Insert: {
|
|
30457
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
29751
30458
|
body_html?: string | null;
|
|
29752
30459
|
body_text?: string | null;
|
|
30460
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
29753
30461
|
connection_id?: string | null;
|
|
29754
30462
|
created_at?: string;
|
|
29755
30463
|
error_message?: string | null;
|
|
29756
30464
|
external_id?: string | null;
|
|
29757
30465
|
from_email?: string | null;
|
|
29758
30466
|
from_name?: string | null;
|
|
30467
|
+
has_attachments?: boolean;
|
|
29759
30468
|
id?: string;
|
|
29760
30469
|
message_id?: string | null;
|
|
29761
30470
|
profile_id?: string | null;
|
|
@@ -29763,18 +30472,22 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
29763
30472
|
received_at?: string | null;
|
|
29764
30473
|
status?: string;
|
|
29765
30474
|
subject?: string | null;
|
|
30475
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
29766
30476
|
uid?: number | null;
|
|
29767
30477
|
updated_at?: string;
|
|
29768
30478
|
};
|
|
29769
30479
|
Update: {
|
|
30480
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
29770
30481
|
body_html?: string | null;
|
|
29771
30482
|
body_text?: string | null;
|
|
30483
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
29772
30484
|
connection_id?: string | null;
|
|
29773
30485
|
created_at?: string;
|
|
29774
30486
|
error_message?: string | null;
|
|
29775
30487
|
external_id?: string | null;
|
|
29776
30488
|
from_email?: string | null;
|
|
29777
30489
|
from_name?: string | null;
|
|
30490
|
+
has_attachments?: boolean;
|
|
29778
30491
|
id?: string;
|
|
29779
30492
|
message_id?: string | null;
|
|
29780
30493
|
profile_id?: string | null;
|
|
@@ -29782,6 +30495,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
29782
30495
|
received_at?: string | null;
|
|
29783
30496
|
status?: string;
|
|
29784
30497
|
subject?: string | null;
|
|
30498
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
29785
30499
|
uid?: number | null;
|
|
29786
30500
|
updated_at?: string;
|
|
29787
30501
|
};
|
|
@@ -30189,6 +30903,36 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
30189
30903
|
};
|
|
30190
30904
|
Relationships: [];
|
|
30191
30905
|
};
|
|
30906
|
+
module_registry: {
|
|
30907
|
+
Row: {
|
|
30908
|
+
created_at: string;
|
|
30909
|
+
is_active: boolean;
|
|
30910
|
+
last_seen_at: string;
|
|
30911
|
+
module_id: string;
|
|
30912
|
+
name: string;
|
|
30913
|
+
shell_id: string | null;
|
|
30914
|
+
sort_order: number | null;
|
|
30915
|
+
};
|
|
30916
|
+
Insert: {
|
|
30917
|
+
created_at?: string;
|
|
30918
|
+
is_active?: boolean;
|
|
30919
|
+
last_seen_at?: string;
|
|
30920
|
+
module_id: string;
|
|
30921
|
+
name: string;
|
|
30922
|
+
shell_id?: string | null;
|
|
30923
|
+
sort_order?: number | null;
|
|
30924
|
+
};
|
|
30925
|
+
Update: {
|
|
30926
|
+
created_at?: string;
|
|
30927
|
+
is_active?: boolean;
|
|
30928
|
+
last_seen_at?: string;
|
|
30929
|
+
module_id?: string;
|
|
30930
|
+
name?: string;
|
|
30931
|
+
shell_id?: string | null;
|
|
30932
|
+
sort_order?: number | null;
|
|
30933
|
+
};
|
|
30934
|
+
Relationships: [];
|
|
30935
|
+
};
|
|
30192
30936
|
module_runtime_config: {
|
|
30193
30937
|
Row: {
|
|
30194
30938
|
key: string;
|
|
@@ -31248,6 +31992,42 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
31248
31992
|
};
|
|
31249
31993
|
Relationships: [];
|
|
31250
31994
|
};
|
|
31995
|
+
order_invoice_links: {
|
|
31996
|
+
Row: {
|
|
31997
|
+
attempts: number;
|
|
31998
|
+
created_at: string;
|
|
31999
|
+
error_message: string | null;
|
|
32000
|
+
id: string;
|
|
32001
|
+
invoice_number: string | null;
|
|
32002
|
+
order_id: string;
|
|
32003
|
+
processed_at: string | null;
|
|
32004
|
+
status: string;
|
|
32005
|
+
updated_at: string;
|
|
32006
|
+
};
|
|
32007
|
+
Insert: {
|
|
32008
|
+
attempts?: number;
|
|
32009
|
+
created_at?: string;
|
|
32010
|
+
error_message?: string | null;
|
|
32011
|
+
id?: string;
|
|
32012
|
+
invoice_number?: string | null;
|
|
32013
|
+
order_id: string;
|
|
32014
|
+
processed_at?: string | null;
|
|
32015
|
+
status?: string;
|
|
32016
|
+
updated_at?: string;
|
|
32017
|
+
};
|
|
32018
|
+
Update: {
|
|
32019
|
+
attempts?: number;
|
|
32020
|
+
created_at?: string;
|
|
32021
|
+
error_message?: string | null;
|
|
32022
|
+
id?: string;
|
|
32023
|
+
invoice_number?: string | null;
|
|
32024
|
+
order_id?: string;
|
|
32025
|
+
processed_at?: string | null;
|
|
32026
|
+
status?: string;
|
|
32027
|
+
updated_at?: string;
|
|
32028
|
+
};
|
|
32029
|
+
Relationships: [];
|
|
32030
|
+
};
|
|
31251
32031
|
order_items: {
|
|
31252
32032
|
Row: {
|
|
31253
32033
|
crates_per_layer: number | null;
|
|
@@ -31430,6 +32210,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
31430
32210
|
delivery_date: string | null;
|
|
31431
32211
|
floriday_sales_order_id: string | null;
|
|
31432
32212
|
id: string;
|
|
32213
|
+
invoice_due_at: string | null;
|
|
31433
32214
|
is_reservation: boolean;
|
|
31434
32215
|
notes: string | null;
|
|
31435
32216
|
order_date: string;
|
|
@@ -31451,6 +32232,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
31451
32232
|
delivery_date?: string | null;
|
|
31452
32233
|
floriday_sales_order_id?: string | null;
|
|
31453
32234
|
id?: string;
|
|
32235
|
+
invoice_due_at?: string | null;
|
|
31454
32236
|
is_reservation?: boolean;
|
|
31455
32237
|
notes?: string | null;
|
|
31456
32238
|
order_date?: string;
|
|
@@ -31472,6 +32254,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
31472
32254
|
delivery_date?: string | null;
|
|
31473
32255
|
floriday_sales_order_id?: string | null;
|
|
31474
32256
|
id?: string;
|
|
32257
|
+
invoice_due_at?: string | null;
|
|
31475
32258
|
is_reservation?: boolean;
|
|
31476
32259
|
notes?: string | null;
|
|
31477
32260
|
order_date?: string;
|
|
@@ -32668,22 +33451,27 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
32668
33451
|
created_at: string;
|
|
32669
33452
|
documentnaam: string;
|
|
32670
33453
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
33454
|
+
extern_job_id: string | null;
|
|
32671
33455
|
foutmelding: string | null;
|
|
32672
33456
|
gebruiker_id: string | null;
|
|
32673
33457
|
gebruiker_naam: string;
|
|
32674
33458
|
gestart_op: string | null;
|
|
32675
33459
|
id: string;
|
|
33460
|
+
idempotentie_sleutel: string | null;
|
|
32676
33461
|
is_herprint: boolean;
|
|
32677
33462
|
kopieen: number;
|
|
32678
33463
|
layout_id: string | null;
|
|
32679
33464
|
opgepakt_op: string | null;
|
|
32680
33465
|
paginas: number;
|
|
32681
33466
|
payload: import("../integrations/supabase/types").Json;
|
|
33467
|
+
pdf_base64: string | null;
|
|
33468
|
+
pdf_url: string | null;
|
|
32682
33469
|
pogingen: number;
|
|
32683
33470
|
printer_id: string | null;
|
|
32684
33471
|
render_html: string | null;
|
|
32685
33472
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
32686
33473
|
updated_at: string;
|
|
33474
|
+
volgende_poging: string | null;
|
|
32687
33475
|
voltooid_op: string | null;
|
|
32688
33476
|
};
|
|
32689
33477
|
Insert: {
|
|
@@ -32692,22 +33480,27 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
32692
33480
|
created_at?: string;
|
|
32693
33481
|
documentnaam?: string;
|
|
32694
33482
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
33483
|
+
extern_job_id?: string | null;
|
|
32695
33484
|
foutmelding?: string | null;
|
|
32696
33485
|
gebruiker_id?: string | null;
|
|
32697
33486
|
gebruiker_naam?: string;
|
|
32698
33487
|
gestart_op?: string | null;
|
|
32699
33488
|
id?: string;
|
|
33489
|
+
idempotentie_sleutel?: string | null;
|
|
32700
33490
|
is_herprint?: boolean;
|
|
32701
33491
|
kopieen?: number;
|
|
32702
33492
|
layout_id?: string | null;
|
|
32703
33493
|
opgepakt_op?: string | null;
|
|
32704
33494
|
paginas?: number;
|
|
32705
33495
|
payload?: import("../integrations/supabase/types").Json;
|
|
33496
|
+
pdf_base64?: string | null;
|
|
33497
|
+
pdf_url?: string | null;
|
|
32706
33498
|
pogingen?: number;
|
|
32707
33499
|
printer_id?: string | null;
|
|
32708
33500
|
render_html?: string | null;
|
|
32709
33501
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
32710
33502
|
updated_at?: string;
|
|
33503
|
+
volgende_poging?: string | null;
|
|
32711
33504
|
voltooid_op?: string | null;
|
|
32712
33505
|
};
|
|
32713
33506
|
Update: {
|
|
@@ -32716,22 +33509,27 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
32716
33509
|
created_at?: string;
|
|
32717
33510
|
documentnaam?: string;
|
|
32718
33511
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
33512
|
+
extern_job_id?: string | null;
|
|
32719
33513
|
foutmelding?: string | null;
|
|
32720
33514
|
gebruiker_id?: string | null;
|
|
32721
33515
|
gebruiker_naam?: string;
|
|
32722
33516
|
gestart_op?: string | null;
|
|
32723
33517
|
id?: string;
|
|
33518
|
+
idempotentie_sleutel?: string | null;
|
|
32724
33519
|
is_herprint?: boolean;
|
|
32725
33520
|
kopieen?: number;
|
|
32726
33521
|
layout_id?: string | null;
|
|
32727
33522
|
opgepakt_op?: string | null;
|
|
32728
33523
|
paginas?: number;
|
|
32729
33524
|
payload?: import("../integrations/supabase/types").Json;
|
|
33525
|
+
pdf_base64?: string | null;
|
|
33526
|
+
pdf_url?: string | null;
|
|
32730
33527
|
pogingen?: number;
|
|
32731
33528
|
printer_id?: string | null;
|
|
32732
33529
|
render_html?: string | null;
|
|
32733
33530
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
32734
33531
|
updated_at?: string;
|
|
33532
|
+
volgende_poging?: string | null;
|
|
32735
33533
|
voltooid_op?: string | null;
|
|
32736
33534
|
};
|
|
32737
33535
|
Relationships: [{
|
|
@@ -32754,6 +33552,63 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
32754
33552
|
referencedColumns: ["id"];
|
|
32755
33553
|
}];
|
|
32756
33554
|
};
|
|
33555
|
+
print_queue_runners: {
|
|
33556
|
+
Row: {
|
|
33557
|
+
actief: boolean;
|
|
33558
|
+
basis_url: string;
|
|
33559
|
+
created_at: string;
|
|
33560
|
+
id: string;
|
|
33561
|
+
laatst_gezien: string;
|
|
33562
|
+
tick_sleutel: string;
|
|
33563
|
+
updated_at: string;
|
|
33564
|
+
};
|
|
33565
|
+
Insert: {
|
|
33566
|
+
actief?: boolean;
|
|
33567
|
+
basis_url: string;
|
|
33568
|
+
created_at?: string;
|
|
33569
|
+
id?: string;
|
|
33570
|
+
laatst_gezien?: string;
|
|
33571
|
+
tick_sleutel?: string;
|
|
33572
|
+
updated_at?: string;
|
|
33573
|
+
};
|
|
33574
|
+
Update: {
|
|
33575
|
+
actief?: boolean;
|
|
33576
|
+
basis_url?: string;
|
|
33577
|
+
created_at?: string;
|
|
33578
|
+
id?: string;
|
|
33579
|
+
laatst_gezien?: string;
|
|
33580
|
+
tick_sleutel?: string;
|
|
33581
|
+
updated_at?: string;
|
|
33582
|
+
};
|
|
33583
|
+
Relationships: [];
|
|
33584
|
+
};
|
|
33585
|
+
print_queue_settings: {
|
|
33586
|
+
Row: {
|
|
33587
|
+
bewaar_bestanden_dagen: number;
|
|
33588
|
+
bewaar_opdrachten_dagen: number;
|
|
33589
|
+
created_at: string;
|
|
33590
|
+
dubbel_venster_minuten: number;
|
|
33591
|
+
id: string;
|
|
33592
|
+
updated_at: string;
|
|
33593
|
+
};
|
|
33594
|
+
Insert: {
|
|
33595
|
+
bewaar_bestanden_dagen?: number;
|
|
33596
|
+
bewaar_opdrachten_dagen?: number;
|
|
33597
|
+
created_at?: string;
|
|
33598
|
+
dubbel_venster_minuten?: number;
|
|
33599
|
+
id?: string;
|
|
33600
|
+
updated_at?: string;
|
|
33601
|
+
};
|
|
33602
|
+
Update: {
|
|
33603
|
+
bewaar_bestanden_dagen?: number;
|
|
33604
|
+
bewaar_opdrachten_dagen?: number;
|
|
33605
|
+
created_at?: string;
|
|
33606
|
+
dubbel_venster_minuten?: number;
|
|
33607
|
+
id?: string;
|
|
33608
|
+
updated_at?: string;
|
|
33609
|
+
};
|
|
33610
|
+
Relationships: [];
|
|
33611
|
+
};
|
|
32757
33612
|
print_rules: {
|
|
32758
33613
|
Row: {
|
|
32759
33614
|
actief: boolean;
|
|
@@ -32914,6 +33769,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
32914
33769
|
agent_id: string | null;
|
|
32915
33770
|
created_at: string;
|
|
32916
33771
|
driver: string;
|
|
33772
|
+
extern_printer_id: string | null;
|
|
32917
33773
|
id: string;
|
|
32918
33774
|
ip_adres: string | null;
|
|
32919
33775
|
laatst_gezien: string | null;
|
|
@@ -32935,6 +33791,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
32935
33791
|
agent_id?: string | null;
|
|
32936
33792
|
created_at?: string;
|
|
32937
33793
|
driver?: string;
|
|
33794
|
+
extern_printer_id?: string | null;
|
|
32938
33795
|
id?: string;
|
|
32939
33796
|
ip_adres?: string | null;
|
|
32940
33797
|
laatst_gezien?: string | null;
|
|
@@ -32956,6 +33813,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
32956
33813
|
agent_id?: string | null;
|
|
32957
33814
|
created_at?: string;
|
|
32958
33815
|
driver?: string;
|
|
33816
|
+
extern_printer_id?: string | null;
|
|
32959
33817
|
id?: string;
|
|
32960
33818
|
ip_adres?: string | null;
|
|
32961
33819
|
laatst_gezien?: string | null;
|
|
@@ -35591,6 +36449,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
35591
36449
|
};
|
|
35592
36450
|
twinfield_invoice_settings: {
|
|
35593
36451
|
Row: {
|
|
36452
|
+
auto_invoice_enabled: boolean;
|
|
36453
|
+
auto_invoice_trigger_statuses: string[];
|
|
35594
36454
|
created_at: string;
|
|
35595
36455
|
debtor_gl_account: string;
|
|
35596
36456
|
default_credit_invoice_type: string | null;
|
|
@@ -35611,6 +36471,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
35611
36471
|
vat_code_export: string | null;
|
|
35612
36472
|
};
|
|
35613
36473
|
Insert: {
|
|
36474
|
+
auto_invoice_enabled?: boolean;
|
|
36475
|
+
auto_invoice_trigger_statuses?: string[];
|
|
35614
36476
|
created_at?: string;
|
|
35615
36477
|
debtor_gl_account?: string;
|
|
35616
36478
|
default_credit_invoice_type?: string | null;
|
|
@@ -35631,6 +36493,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
35631
36493
|
vat_code_export?: string | null;
|
|
35632
36494
|
};
|
|
35633
36495
|
Update: {
|
|
36496
|
+
auto_invoice_enabled?: boolean;
|
|
36497
|
+
auto_invoice_trigger_statuses?: string[];
|
|
35634
36498
|
created_at?: string;
|
|
35635
36499
|
debtor_gl_account?: string;
|
|
35636
36500
|
default_credit_invoice_type?: string | null;
|
|
@@ -36693,6 +37557,33 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
36693
37557
|
referencedColumns: ["id"];
|
|
36694
37558
|
}];
|
|
36695
37559
|
};
|
|
37560
|
+
user_module_permissions: {
|
|
37561
|
+
Row: {
|
|
37562
|
+
created_at: string;
|
|
37563
|
+
id: string;
|
|
37564
|
+
module_id: string;
|
|
37565
|
+
permission: string;
|
|
37566
|
+
updated_at: string;
|
|
37567
|
+
user_id: string;
|
|
37568
|
+
};
|
|
37569
|
+
Insert: {
|
|
37570
|
+
created_at?: string;
|
|
37571
|
+
id?: string;
|
|
37572
|
+
module_id: string;
|
|
37573
|
+
permission: string;
|
|
37574
|
+
updated_at?: string;
|
|
37575
|
+
user_id: string;
|
|
37576
|
+
};
|
|
37577
|
+
Update: {
|
|
37578
|
+
created_at?: string;
|
|
37579
|
+
id?: string;
|
|
37580
|
+
module_id?: string;
|
|
37581
|
+
permission?: string;
|
|
37582
|
+
updated_at?: string;
|
|
37583
|
+
user_id?: string;
|
|
37584
|
+
};
|
|
37585
|
+
Relationships: [];
|
|
37586
|
+
};
|
|
36696
37587
|
user_roles: {
|
|
36697
37588
|
Row: {
|
|
36698
37589
|
created_at: string;
|
|
@@ -38526,6 +39417,10 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
38526
39417
|
processed_items: number;
|
|
38527
39418
|
}[];
|
|
38528
39419
|
};
|
|
39420
|
+
backfill_order_auto_invoice_queue: {
|
|
39421
|
+
Args: never;
|
|
39422
|
+
Returns: number;
|
|
39423
|
+
};
|
|
38529
39424
|
calculate_layer_stock: {
|
|
38530
39425
|
Args: {
|
|
38531
39426
|
p_product_id: string;
|
|
@@ -38560,6 +39455,77 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
38560
39455
|
};
|
|
38561
39456
|
Returns: import("../integrations/supabase/types").Json;
|
|
38562
39457
|
};
|
|
39458
|
+
claim_cloud_print_jobs: {
|
|
39459
|
+
Args: {
|
|
39460
|
+
_max?: number;
|
|
39461
|
+
};
|
|
39462
|
+
Returns: {
|
|
39463
|
+
agent_id: string | null;
|
|
39464
|
+
bron_job_id: string | null;
|
|
39465
|
+
created_at: string;
|
|
39466
|
+
documentnaam: string;
|
|
39467
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
39468
|
+
extern_job_id: string | null;
|
|
39469
|
+
foutmelding: string | null;
|
|
39470
|
+
gebruiker_id: string | null;
|
|
39471
|
+
gebruiker_naam: string;
|
|
39472
|
+
gestart_op: string | null;
|
|
39473
|
+
id: string;
|
|
39474
|
+
idempotentie_sleutel: string | null;
|
|
39475
|
+
is_herprint: boolean;
|
|
39476
|
+
kopieen: number;
|
|
39477
|
+
layout_id: string | null;
|
|
39478
|
+
opgepakt_op: string | null;
|
|
39479
|
+
paginas: number;
|
|
39480
|
+
payload: import("../integrations/supabase/types").Json;
|
|
39481
|
+
pdf_base64: string | null;
|
|
39482
|
+
pdf_url: string | null;
|
|
39483
|
+
pogingen: number;
|
|
39484
|
+
printer_id: string | null;
|
|
39485
|
+
render_html: string | null;
|
|
39486
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
39487
|
+
updated_at: string;
|
|
39488
|
+
volgende_poging: string | null;
|
|
39489
|
+
voltooid_op: string | null;
|
|
39490
|
+
}[];
|
|
39491
|
+
SetofOptions: {
|
|
39492
|
+
from: "*";
|
|
39493
|
+
to: "print_jobs";
|
|
39494
|
+
isOneToOne: false;
|
|
39495
|
+
isSetofReturn: true;
|
|
39496
|
+
};
|
|
39497
|
+
};
|
|
39498
|
+
claim_floriday_stock_queue: {
|
|
39499
|
+
Args: {
|
|
39500
|
+
p_limit?: number;
|
|
39501
|
+
p_worker?: string;
|
|
39502
|
+
};
|
|
39503
|
+
Returns: {
|
|
39504
|
+
attempts: number;
|
|
39505
|
+
connection_id: string;
|
|
39506
|
+
created_at: string;
|
|
39507
|
+
desired_available: boolean | null;
|
|
39508
|
+
gateway_attempt_id: string | null;
|
|
39509
|
+
id: string;
|
|
39510
|
+
last_error: string | null;
|
|
39511
|
+
locked_at: string | null;
|
|
39512
|
+
locked_by: string | null;
|
|
39513
|
+
next_attempt_at: string;
|
|
39514
|
+
number_of_pieces: number;
|
|
39515
|
+
sent_at: string | null;
|
|
39516
|
+
status: string;
|
|
39517
|
+
superseded_by: string | null;
|
|
39518
|
+
trade_item_id: string;
|
|
39519
|
+
updated_at: string;
|
|
39520
|
+
user_id: string;
|
|
39521
|
+
}[];
|
|
39522
|
+
SetofOptions: {
|
|
39523
|
+
from: "*";
|
|
39524
|
+
to: "floriday_continuous_stock_queue";
|
|
39525
|
+
isOneToOne: false;
|
|
39526
|
+
isSetofReturn: true;
|
|
39527
|
+
};
|
|
39528
|
+
};
|
|
38563
39529
|
claim_logistics_tasks: {
|
|
38564
39530
|
Args: {
|
|
38565
39531
|
_limit?: number;
|
|
@@ -38619,22 +39585,27 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
38619
39585
|
created_at: string;
|
|
38620
39586
|
documentnaam: string;
|
|
38621
39587
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
39588
|
+
extern_job_id: string | null;
|
|
38622
39589
|
foutmelding: string | null;
|
|
38623
39590
|
gebruiker_id: string | null;
|
|
38624
39591
|
gebruiker_naam: string;
|
|
38625
39592
|
gestart_op: string | null;
|
|
38626
39593
|
id: string;
|
|
39594
|
+
idempotentie_sleutel: string | null;
|
|
38627
39595
|
is_herprint: boolean;
|
|
38628
39596
|
kopieen: number;
|
|
38629
39597
|
layout_id: string | null;
|
|
38630
39598
|
opgepakt_op: string | null;
|
|
38631
39599
|
paginas: number;
|
|
38632
39600
|
payload: import("../integrations/supabase/types").Json;
|
|
39601
|
+
pdf_base64: string | null;
|
|
39602
|
+
pdf_url: string | null;
|
|
38633
39603
|
pogingen: number;
|
|
38634
39604
|
printer_id: string | null;
|
|
38635
39605
|
render_html: string | null;
|
|
38636
39606
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
38637
39607
|
updated_at: string;
|
|
39608
|
+
volgende_poging: string | null;
|
|
38638
39609
|
voltooid_op: string | null;
|
|
38639
39610
|
}[];
|
|
38640
39611
|
SetofOptions: {
|
|
@@ -38672,10 +39643,28 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
38672
39643
|
isSetofReturn: true;
|
|
38673
39644
|
};
|
|
38674
39645
|
};
|
|
39646
|
+
cleanup_floriday_stock_queue: {
|
|
39647
|
+
Args: never;
|
|
39648
|
+
Returns: undefined;
|
|
39649
|
+
};
|
|
38675
39650
|
cleanup_old_bookings: {
|
|
38676
39651
|
Args: never;
|
|
38677
39652
|
Returns: undefined;
|
|
38678
39653
|
};
|
|
39654
|
+
cleanup_voorraad_module_history: {
|
|
39655
|
+
Args: never;
|
|
39656
|
+
Returns: undefined;
|
|
39657
|
+
};
|
|
39658
|
+
complete_floriday_stock_queue: {
|
|
39659
|
+
Args: {
|
|
39660
|
+
p_attempt_id?: string;
|
|
39661
|
+
p_error?: string;
|
|
39662
|
+
p_id: string;
|
|
39663
|
+
p_ok: boolean;
|
|
39664
|
+
p_permanent?: boolean;
|
|
39665
|
+
};
|
|
39666
|
+
Returns: undefined;
|
|
39667
|
+
};
|
|
38679
39668
|
consume_bom_for_production: {
|
|
38680
39669
|
Args: {
|
|
38681
39670
|
p_connection_id: string;
|
|
@@ -38787,6 +39776,13 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
38787
39776
|
};
|
|
38788
39777
|
Returns: import("../integrations/supabase/types").Json;
|
|
38789
39778
|
};
|
|
39779
|
+
effective_module_permission: {
|
|
39780
|
+
Args: {
|
|
39781
|
+
_module_id: string;
|
|
39782
|
+
_user_id: string;
|
|
39783
|
+
};
|
|
39784
|
+
Returns: string;
|
|
39785
|
+
};
|
|
38790
39786
|
email_auth_decrypt: {
|
|
38791
39787
|
Args: {
|
|
38792
39788
|
cipher: string;
|
|
@@ -39590,6 +40586,51 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
39590
40586
|
isSetofReturn: false;
|
|
39591
40587
|
};
|
|
39592
40588
|
};
|
|
40589
|
+
logistics_floriday_claim_pushes: {
|
|
40590
|
+
Args: {
|
|
40591
|
+
_lease_seconds?: number;
|
|
40592
|
+
_limit?: number;
|
|
40593
|
+
_worker?: string;
|
|
40594
|
+
};
|
|
40595
|
+
Returns: {
|
|
40596
|
+
attempts: number;
|
|
40597
|
+
fulfillment_order_id: string;
|
|
40598
|
+
id: string;
|
|
40599
|
+
last_sent_hash: string;
|
|
40600
|
+
order_ref: string;
|
|
40601
|
+
payload: import("../integrations/supabase/types").Json;
|
|
40602
|
+
payload_hash: string;
|
|
40603
|
+
revision: number;
|
|
40604
|
+
}[];
|
|
40605
|
+
};
|
|
40606
|
+
logistics_floriday_finish_push: {
|
|
40607
|
+
Args: {
|
|
40608
|
+
_error?: string;
|
|
40609
|
+
_fulfillment_order_id?: string;
|
|
40610
|
+
_id: string;
|
|
40611
|
+
_max_age_hours?: number;
|
|
40612
|
+
_max_attempts?: number;
|
|
40613
|
+
_ok: boolean;
|
|
40614
|
+
_permanent?: boolean;
|
|
40615
|
+
_revision: number;
|
|
40616
|
+
_sent_hash?: string;
|
|
40617
|
+
};
|
|
40618
|
+
Returns: string;
|
|
40619
|
+
};
|
|
40620
|
+
logistics_floriday_prune_pushes: {
|
|
40621
|
+
Args: {
|
|
40622
|
+
_days?: number;
|
|
40623
|
+
};
|
|
40624
|
+
Returns: number;
|
|
40625
|
+
};
|
|
40626
|
+
logistics_floriday_queue_push: {
|
|
40627
|
+
Args: {
|
|
40628
|
+
_order_ref: string;
|
|
40629
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
40630
|
+
_payload_hash?: string;
|
|
40631
|
+
};
|
|
40632
|
+
Returns: string;
|
|
40633
|
+
};
|
|
39593
40634
|
logistics_live_carriers: {
|
|
39594
40635
|
Args: {
|
|
39595
40636
|
p_order_ref: string;
|
|
@@ -39880,6 +40921,13 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
39880
40921
|
};
|
|
39881
40922
|
Returns: undefined;
|
|
39882
40923
|
};
|
|
40924
|
+
my_module_permissions: {
|
|
40925
|
+
Args: never;
|
|
40926
|
+
Returns: {
|
|
40927
|
+
module_id: string;
|
|
40928
|
+
permission: string;
|
|
40929
|
+
}[];
|
|
40930
|
+
};
|
|
39883
40931
|
next_manufacture_partij: {
|
|
39884
40932
|
Args: {
|
|
39885
40933
|
_tenant_id: string;
|
|
@@ -39930,6 +40978,13 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
39930
40978
|
};
|
|
39931
40979
|
Returns: boolean;
|
|
39932
40980
|
};
|
|
40981
|
+
opruim_print_historie: {
|
|
40982
|
+
Args: never;
|
|
40983
|
+
Returns: {
|
|
40984
|
+
ontdaan: number;
|
|
40985
|
+
verwijderd: number;
|
|
40986
|
+
}[];
|
|
40987
|
+
};
|
|
39933
40988
|
order_number_prefix: {
|
|
39934
40989
|
Args: {
|
|
39935
40990
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -39937,6 +40992,15 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
39937
40992
|
};
|
|
39938
40993
|
Returns: string;
|
|
39939
40994
|
};
|
|
40995
|
+
pick_active_printers: {
|
|
40996
|
+
Args: never;
|
|
40997
|
+
Returns: {
|
|
40998
|
+
id: string;
|
|
40999
|
+
locatie: string;
|
|
41000
|
+
naam: string;
|
|
41001
|
+
online: boolean;
|
|
41002
|
+
}[];
|
|
41003
|
+
};
|
|
39940
41004
|
pick_claim_document: {
|
|
39941
41005
|
Args: {
|
|
39942
41006
|
_queue_item_id: string;
|
|
@@ -40123,6 +41187,52 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
40123
41187
|
};
|
|
40124
41188
|
Returns: undefined;
|
|
40125
41189
|
};
|
|
41190
|
+
pick_reset_print: {
|
|
41191
|
+
Args: {
|
|
41192
|
+
_queue_item_id: string;
|
|
41193
|
+
_session_id: string;
|
|
41194
|
+
};
|
|
41195
|
+
Returns: {
|
|
41196
|
+
announced_at: string;
|
|
41197
|
+
assigned_user_id: string | null;
|
|
41198
|
+
barcode: string | null;
|
|
41199
|
+
cancelled_at: string | null;
|
|
41200
|
+
cart_count: number;
|
|
41201
|
+
completed_at: string | null;
|
|
41202
|
+
country_code: string | null;
|
|
41203
|
+
created_at: string;
|
|
41204
|
+
customer_name: string | null;
|
|
41205
|
+
delivery_address: string | null;
|
|
41206
|
+
document_number: string | null;
|
|
41207
|
+
document_type_id: string | null;
|
|
41208
|
+
due_at: string | null;
|
|
41209
|
+
id: string;
|
|
41210
|
+
is_urgent: boolean;
|
|
41211
|
+
line_count: number;
|
|
41212
|
+
order_number: string | null;
|
|
41213
|
+
order_type: string | null;
|
|
41214
|
+
payload: import("../integrations/supabase/types").Json;
|
|
41215
|
+
print_count: number;
|
|
41216
|
+
print_job_id: string | null;
|
|
41217
|
+
printed_at: string | null;
|
|
41218
|
+
printed_by: string | null;
|
|
41219
|
+
printer_id: string | null;
|
|
41220
|
+
priority: number;
|
|
41221
|
+
reference: string | null;
|
|
41222
|
+
route: string | null;
|
|
41223
|
+
screen_id: string | null;
|
|
41224
|
+
station_id: string | null;
|
|
41225
|
+
status_id: string | null;
|
|
41226
|
+
updated_at: string;
|
|
41227
|
+
warnings: import("../integrations/supabase/types").Json;
|
|
41228
|
+
};
|
|
41229
|
+
SetofOptions: {
|
|
41230
|
+
from: "*";
|
|
41231
|
+
to: "pick_queue";
|
|
41232
|
+
isOneToOne: true;
|
|
41233
|
+
isSetofReturn: false;
|
|
41234
|
+
};
|
|
41235
|
+
};
|
|
40126
41236
|
pick_station_dashboard: {
|
|
40127
41237
|
Args: never;
|
|
40128
41238
|
Returns: {
|
|
@@ -40269,6 +41379,12 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
40269
41379
|
};
|
|
40270
41380
|
Returns: undefined;
|
|
40271
41381
|
};
|
|
41382
|
+
reset_stalled_floriday_stock_queue: {
|
|
41383
|
+
Args: {
|
|
41384
|
+
p_include_failed?: boolean;
|
|
41385
|
+
};
|
|
41386
|
+
Returns: number;
|
|
41387
|
+
};
|
|
40272
41388
|
resolve_group_allocation: {
|
|
40273
41389
|
Args: {
|
|
40274
41390
|
_needed: number;
|
|
@@ -40313,14 +41429,28 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
40313
41429
|
};
|
|
40314
41430
|
Returns: import("../integrations/supabase/types").Json;
|
|
40315
41431
|
};
|
|
41432
|
+
ruim_print_jobs_op: {
|
|
41433
|
+
Args: {
|
|
41434
|
+
_bewaar_dagen?: number;
|
|
41435
|
+
};
|
|
41436
|
+
Returns: number;
|
|
41437
|
+
};
|
|
40316
41438
|
run_floriday_continuous_stock_sync: {
|
|
40317
41439
|
Args: never;
|
|
40318
41440
|
Returns: undefined;
|
|
40319
41441
|
};
|
|
41442
|
+
run_floriday_stock_queue_process: {
|
|
41443
|
+
Args: never;
|
|
41444
|
+
Returns: undefined;
|
|
41445
|
+
};
|
|
40320
41446
|
run_logistics_tasks_dispatch: {
|
|
40321
41447
|
Args: never;
|
|
40322
41448
|
Returns: undefined;
|
|
40323
41449
|
};
|
|
41450
|
+
run_print_queue_ticks: {
|
|
41451
|
+
Args: never;
|
|
41452
|
+
Returns: number;
|
|
41453
|
+
};
|
|
40324
41454
|
run_twinfield_queue_tick: {
|
|
40325
41455
|
Args: never;
|
|
40326
41456
|
Returns: undefined;
|
|
@@ -40561,6 +41691,13 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
40561
41691
|
};
|
|
40562
41692
|
Returns: number;
|
|
40563
41693
|
};
|
|
41694
|
+
schedule_floriday_stock_queue_process: {
|
|
41695
|
+
Args: {
|
|
41696
|
+
p_apikey: string;
|
|
41697
|
+
p_url: string;
|
|
41698
|
+
};
|
|
41699
|
+
Returns: number;
|
|
41700
|
+
};
|
|
40564
41701
|
schedule_floriday_token_refresh: {
|
|
40565
41702
|
Args: {
|
|
40566
41703
|
p_apikey: string;
|
|
@@ -40701,6 +41838,15 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
40701
41838
|
};
|
|
40702
41839
|
Returns: undefined;
|
|
40703
41840
|
};
|
|
41841
|
+
trade_item_stock_duplicates: {
|
|
41842
|
+
Args: never;
|
|
41843
|
+
Returns: {
|
|
41844
|
+
keys: string[];
|
|
41845
|
+
product_id: string;
|
|
41846
|
+
product_name: string;
|
|
41847
|
+
row_count: number;
|
|
41848
|
+
}[];
|
|
41849
|
+
};
|
|
40704
41850
|
try_debtor_lock: {
|
|
40705
41851
|
Args: {
|
|
40706
41852
|
_group_key: string;
|
|
@@ -40750,7 +41896,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
40750
41896
|
};
|
|
40751
41897
|
Enums: {
|
|
40752
41898
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
40753
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
41899
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
40754
41900
|
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
40755
41901
|
doc_orientation: "portrait" | "landscape";
|
|
40756
41902
|
exact_env: "staging" | "live";
|