@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
|
@@ -1683,7 +1683,7 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
1683
1683
|
city: string | null;
|
|
1684
1684
|
country: string | null;
|
|
1685
1685
|
created_at: string;
|
|
1686
|
-
customer_id: string
|
|
1686
|
+
customer_id: string;
|
|
1687
1687
|
external_key: string | null;
|
|
1688
1688
|
external_provider: string | null;
|
|
1689
1689
|
floriday_location_id: string | null;
|
|
@@ -1707,7 +1707,7 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
1707
1707
|
city?: string | null;
|
|
1708
1708
|
country?: string | null;
|
|
1709
1709
|
created_at?: string;
|
|
1710
|
-
customer_id
|
|
1710
|
+
customer_id: string;
|
|
1711
1711
|
external_key?: string | null;
|
|
1712
1712
|
external_provider?: string | null;
|
|
1713
1713
|
floriday_location_id?: string | null;
|
|
@@ -1731,7 +1731,7 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
1731
1731
|
city?: string | null;
|
|
1732
1732
|
country?: string | null;
|
|
1733
1733
|
created_at?: string;
|
|
1734
|
-
customer_id?: string
|
|
1734
|
+
customer_id?: string;
|
|
1735
1735
|
external_key?: string | null;
|
|
1736
1736
|
external_provider?: string | null;
|
|
1737
1737
|
floriday_location_id?: string | null;
|
|
@@ -5694,12 +5694,17 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
5694
5694
|
attempts: number;
|
|
5695
5695
|
connection_id: string;
|
|
5696
5696
|
created_at: string;
|
|
5697
|
+
desired_available: boolean | null;
|
|
5697
5698
|
gateway_attempt_id: string | null;
|
|
5698
5699
|
id: string;
|
|
5699
5700
|
last_error: string | null;
|
|
5701
|
+
locked_at: string | null;
|
|
5702
|
+
locked_by: string | null;
|
|
5703
|
+
next_attempt_at: string;
|
|
5700
5704
|
number_of_pieces: number;
|
|
5701
5705
|
sent_at: string | null;
|
|
5702
5706
|
status: string;
|
|
5707
|
+
superseded_by: string | null;
|
|
5703
5708
|
trade_item_id: string;
|
|
5704
5709
|
updated_at: string;
|
|
5705
5710
|
user_id: string;
|
|
@@ -5708,12 +5713,17 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
5708
5713
|
attempts?: number;
|
|
5709
5714
|
connection_id: string;
|
|
5710
5715
|
created_at?: string;
|
|
5716
|
+
desired_available?: boolean | null;
|
|
5711
5717
|
gateway_attempt_id?: string | null;
|
|
5712
5718
|
id?: string;
|
|
5713
5719
|
last_error?: string | null;
|
|
5720
|
+
locked_at?: string | null;
|
|
5721
|
+
locked_by?: string | null;
|
|
5722
|
+
next_attempt_at?: string;
|
|
5714
5723
|
number_of_pieces?: number;
|
|
5715
5724
|
sent_at?: string | null;
|
|
5716
5725
|
status?: string;
|
|
5726
|
+
superseded_by?: string | null;
|
|
5717
5727
|
trade_item_id: string;
|
|
5718
5728
|
updated_at?: string;
|
|
5719
5729
|
user_id: string;
|
|
@@ -5722,12 +5732,17 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
5722
5732
|
attempts?: number;
|
|
5723
5733
|
connection_id?: string;
|
|
5724
5734
|
created_at?: string;
|
|
5735
|
+
desired_available?: boolean | null;
|
|
5725
5736
|
gateway_attempt_id?: string | null;
|
|
5726
5737
|
id?: string;
|
|
5727
5738
|
last_error?: string | null;
|
|
5739
|
+
locked_at?: string | null;
|
|
5740
|
+
locked_by?: string | null;
|
|
5741
|
+
next_attempt_at?: string;
|
|
5728
5742
|
number_of_pieces?: number;
|
|
5729
5743
|
sent_at?: string | null;
|
|
5730
5744
|
status?: string;
|
|
5745
|
+
superseded_by?: string | null;
|
|
5731
5746
|
trade_item_id?: string;
|
|
5732
5747
|
updated_at?: string;
|
|
5733
5748
|
user_id?: string;
|
|
@@ -6464,6 +6479,7 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
6464
6479
|
Row: {
|
|
6465
6480
|
buyer_organization_id: string | null;
|
|
6466
6481
|
connection_id: string;
|
|
6482
|
+
controlled_at: string | null;
|
|
6467
6483
|
created_at: string;
|
|
6468
6484
|
data: import("../integrations/supabase/types").Json;
|
|
6469
6485
|
floriday_id: string;
|
|
@@ -6475,6 +6491,7 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
6475
6491
|
Insert: {
|
|
6476
6492
|
buyer_organization_id?: string | null;
|
|
6477
6493
|
connection_id: string;
|
|
6494
|
+
controlled_at?: string | null;
|
|
6478
6495
|
created_at?: string;
|
|
6479
6496
|
data: import("../integrations/supabase/types").Json;
|
|
6480
6497
|
floriday_id: string;
|
|
@@ -6486,6 +6503,7 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
6486
6503
|
Update: {
|
|
6487
6504
|
buyer_organization_id?: string | null;
|
|
6488
6505
|
connection_id?: string;
|
|
6506
|
+
controlled_at?: string | null;
|
|
6489
6507
|
created_at?: string;
|
|
6490
6508
|
data?: import("../integrations/supabase/types").Json;
|
|
6491
6509
|
floriday_id?: string;
|
|
@@ -7387,6 +7405,54 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
7387
7405
|
};
|
|
7388
7406
|
Relationships: [];
|
|
7389
7407
|
};
|
|
7408
|
+
invoice_timing_settings: {
|
|
7409
|
+
Row: {
|
|
7410
|
+
anchor: string;
|
|
7411
|
+
business_days_only: boolean;
|
|
7412
|
+
created_at: string;
|
|
7413
|
+
enabled: boolean;
|
|
7414
|
+
id: string;
|
|
7415
|
+
offset_days: number;
|
|
7416
|
+
pickup_anchor: string;
|
|
7417
|
+
pickup_business_days_only: boolean;
|
|
7418
|
+
pickup_offset_days: number;
|
|
7419
|
+
pickup_time_of_day: string;
|
|
7420
|
+
singleton: boolean;
|
|
7421
|
+
time_of_day: string;
|
|
7422
|
+
updated_at: string;
|
|
7423
|
+
};
|
|
7424
|
+
Insert: {
|
|
7425
|
+
anchor?: string;
|
|
7426
|
+
business_days_only?: boolean;
|
|
7427
|
+
created_at?: string;
|
|
7428
|
+
enabled?: boolean;
|
|
7429
|
+
id?: string;
|
|
7430
|
+
offset_days?: number;
|
|
7431
|
+
pickup_anchor?: string;
|
|
7432
|
+
pickup_business_days_only?: boolean;
|
|
7433
|
+
pickup_offset_days?: number;
|
|
7434
|
+
pickup_time_of_day?: string;
|
|
7435
|
+
singleton?: boolean;
|
|
7436
|
+
time_of_day?: string;
|
|
7437
|
+
updated_at?: string;
|
|
7438
|
+
};
|
|
7439
|
+
Update: {
|
|
7440
|
+
anchor?: string;
|
|
7441
|
+
business_days_only?: boolean;
|
|
7442
|
+
created_at?: string;
|
|
7443
|
+
enabled?: boolean;
|
|
7444
|
+
id?: string;
|
|
7445
|
+
offset_days?: number;
|
|
7446
|
+
pickup_anchor?: string;
|
|
7447
|
+
pickup_business_days_only?: boolean;
|
|
7448
|
+
pickup_offset_days?: number;
|
|
7449
|
+
pickup_time_of_day?: string;
|
|
7450
|
+
singleton?: boolean;
|
|
7451
|
+
time_of_day?: string;
|
|
7452
|
+
updated_at?: string;
|
|
7453
|
+
};
|
|
7454
|
+
Relationships: [];
|
|
7455
|
+
};
|
|
7390
7456
|
itk_contact_persons: {
|
|
7391
7457
|
Row: {
|
|
7392
7458
|
created_at: string;
|
|
@@ -8476,6 +8542,69 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
8476
8542
|
};
|
|
8477
8543
|
Relationships: [];
|
|
8478
8544
|
};
|
|
8545
|
+
logistics_floriday_pushes: {
|
|
8546
|
+
Row: {
|
|
8547
|
+
attempts: number;
|
|
8548
|
+
created_at: string;
|
|
8549
|
+
first_queued_at: string;
|
|
8550
|
+
fulfillment_order_id: string | null;
|
|
8551
|
+
id: string;
|
|
8552
|
+
last_error: string | null;
|
|
8553
|
+
last_error_at: string | null;
|
|
8554
|
+
last_sent_hash: string | null;
|
|
8555
|
+
locked_by: string | null;
|
|
8556
|
+
locked_until: string | null;
|
|
8557
|
+
next_attempt_at: string;
|
|
8558
|
+
order_ref: string;
|
|
8559
|
+
payload: import("../integrations/supabase/types").Json;
|
|
8560
|
+
payload_hash: string | null;
|
|
8561
|
+
revision: number;
|
|
8562
|
+
sent_at: string | null;
|
|
8563
|
+
status: string;
|
|
8564
|
+
updated_at: string;
|
|
8565
|
+
};
|
|
8566
|
+
Insert: {
|
|
8567
|
+
attempts?: number;
|
|
8568
|
+
created_at?: string;
|
|
8569
|
+
first_queued_at?: string;
|
|
8570
|
+
fulfillment_order_id?: string | null;
|
|
8571
|
+
id?: string;
|
|
8572
|
+
last_error?: string | null;
|
|
8573
|
+
last_error_at?: string | null;
|
|
8574
|
+
last_sent_hash?: string | null;
|
|
8575
|
+
locked_by?: string | null;
|
|
8576
|
+
locked_until?: string | null;
|
|
8577
|
+
next_attempt_at?: string;
|
|
8578
|
+
order_ref: string;
|
|
8579
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
8580
|
+
payload_hash?: string | null;
|
|
8581
|
+
revision?: number;
|
|
8582
|
+
sent_at?: string | null;
|
|
8583
|
+
status?: string;
|
|
8584
|
+
updated_at?: string;
|
|
8585
|
+
};
|
|
8586
|
+
Update: {
|
|
8587
|
+
attempts?: number;
|
|
8588
|
+
created_at?: string;
|
|
8589
|
+
first_queued_at?: string;
|
|
8590
|
+
fulfillment_order_id?: string | null;
|
|
8591
|
+
id?: string;
|
|
8592
|
+
last_error?: string | null;
|
|
8593
|
+
last_error_at?: string | null;
|
|
8594
|
+
last_sent_hash?: string | null;
|
|
8595
|
+
locked_by?: string | null;
|
|
8596
|
+
locked_until?: string | null;
|
|
8597
|
+
next_attempt_at?: string;
|
|
8598
|
+
order_ref?: string;
|
|
8599
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
8600
|
+
payload_hash?: string | null;
|
|
8601
|
+
revision?: number;
|
|
8602
|
+
sent_at?: string | null;
|
|
8603
|
+
status?: string;
|
|
8604
|
+
updated_at?: string;
|
|
8605
|
+
};
|
|
8606
|
+
Relationships: [];
|
|
8607
|
+
};
|
|
8479
8608
|
logistics_formulas: {
|
|
8480
8609
|
Row: {
|
|
8481
8610
|
created_at: string;
|
|
@@ -9339,14 +9468,17 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
9339
9468
|
};
|
|
9340
9469
|
mailbox_messages: {
|
|
9341
9470
|
Row: {
|
|
9471
|
+
attachments: import("../integrations/supabase/types").Json;
|
|
9342
9472
|
body_html: string | null;
|
|
9343
9473
|
body_text: string | null;
|
|
9474
|
+
cc_recipients: import("../integrations/supabase/types").Json;
|
|
9344
9475
|
connection_id: string | null;
|
|
9345
9476
|
created_at: string;
|
|
9346
9477
|
error_message: string | null;
|
|
9347
9478
|
external_id: string | null;
|
|
9348
9479
|
from_email: string | null;
|
|
9349
9480
|
from_name: string | null;
|
|
9481
|
+
has_attachments: boolean;
|
|
9350
9482
|
id: string;
|
|
9351
9483
|
message_id: string | null;
|
|
9352
9484
|
profile_id: string | null;
|
|
@@ -9354,18 +9486,22 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
9354
9486
|
received_at: string | null;
|
|
9355
9487
|
status: string;
|
|
9356
9488
|
subject: string | null;
|
|
9489
|
+
to_recipients: import("../integrations/supabase/types").Json;
|
|
9357
9490
|
uid: number | null;
|
|
9358
9491
|
updated_at: string;
|
|
9359
9492
|
};
|
|
9360
9493
|
Insert: {
|
|
9494
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
9361
9495
|
body_html?: string | null;
|
|
9362
9496
|
body_text?: string | null;
|
|
9497
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
9363
9498
|
connection_id?: string | null;
|
|
9364
9499
|
created_at?: string;
|
|
9365
9500
|
error_message?: string | null;
|
|
9366
9501
|
external_id?: string | null;
|
|
9367
9502
|
from_email?: string | null;
|
|
9368
9503
|
from_name?: string | null;
|
|
9504
|
+
has_attachments?: boolean;
|
|
9369
9505
|
id?: string;
|
|
9370
9506
|
message_id?: string | null;
|
|
9371
9507
|
profile_id?: string | null;
|
|
@@ -9373,18 +9509,22 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
9373
9509
|
received_at?: string | null;
|
|
9374
9510
|
status?: string;
|
|
9375
9511
|
subject?: string | null;
|
|
9512
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
9376
9513
|
uid?: number | null;
|
|
9377
9514
|
updated_at?: string;
|
|
9378
9515
|
};
|
|
9379
9516
|
Update: {
|
|
9517
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
9380
9518
|
body_html?: string | null;
|
|
9381
9519
|
body_text?: string | null;
|
|
9520
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
9382
9521
|
connection_id?: string | null;
|
|
9383
9522
|
created_at?: string;
|
|
9384
9523
|
error_message?: string | null;
|
|
9385
9524
|
external_id?: string | null;
|
|
9386
9525
|
from_email?: string | null;
|
|
9387
9526
|
from_name?: string | null;
|
|
9527
|
+
has_attachments?: boolean;
|
|
9388
9528
|
id?: string;
|
|
9389
9529
|
message_id?: string | null;
|
|
9390
9530
|
profile_id?: string | null;
|
|
@@ -9392,6 +9532,7 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
9392
9532
|
received_at?: string | null;
|
|
9393
9533
|
status?: string;
|
|
9394
9534
|
subject?: string | null;
|
|
9535
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
9395
9536
|
uid?: number | null;
|
|
9396
9537
|
updated_at?: string;
|
|
9397
9538
|
};
|
|
@@ -9799,6 +9940,36 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
9799
9940
|
};
|
|
9800
9941
|
Relationships: [];
|
|
9801
9942
|
};
|
|
9943
|
+
module_registry: {
|
|
9944
|
+
Row: {
|
|
9945
|
+
created_at: string;
|
|
9946
|
+
is_active: boolean;
|
|
9947
|
+
last_seen_at: string;
|
|
9948
|
+
module_id: string;
|
|
9949
|
+
name: string;
|
|
9950
|
+
shell_id: string | null;
|
|
9951
|
+
sort_order: number | null;
|
|
9952
|
+
};
|
|
9953
|
+
Insert: {
|
|
9954
|
+
created_at?: string;
|
|
9955
|
+
is_active?: boolean;
|
|
9956
|
+
last_seen_at?: string;
|
|
9957
|
+
module_id: string;
|
|
9958
|
+
name: string;
|
|
9959
|
+
shell_id?: string | null;
|
|
9960
|
+
sort_order?: number | null;
|
|
9961
|
+
};
|
|
9962
|
+
Update: {
|
|
9963
|
+
created_at?: string;
|
|
9964
|
+
is_active?: boolean;
|
|
9965
|
+
last_seen_at?: string;
|
|
9966
|
+
module_id?: string;
|
|
9967
|
+
name?: string;
|
|
9968
|
+
shell_id?: string | null;
|
|
9969
|
+
sort_order?: number | null;
|
|
9970
|
+
};
|
|
9971
|
+
Relationships: [];
|
|
9972
|
+
};
|
|
9802
9973
|
module_runtime_config: {
|
|
9803
9974
|
Row: {
|
|
9804
9975
|
key: string;
|
|
@@ -10858,6 +11029,42 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
10858
11029
|
};
|
|
10859
11030
|
Relationships: [];
|
|
10860
11031
|
};
|
|
11032
|
+
order_invoice_links: {
|
|
11033
|
+
Row: {
|
|
11034
|
+
attempts: number;
|
|
11035
|
+
created_at: string;
|
|
11036
|
+
error_message: string | null;
|
|
11037
|
+
id: string;
|
|
11038
|
+
invoice_number: string | null;
|
|
11039
|
+
order_id: string;
|
|
11040
|
+
processed_at: string | null;
|
|
11041
|
+
status: string;
|
|
11042
|
+
updated_at: string;
|
|
11043
|
+
};
|
|
11044
|
+
Insert: {
|
|
11045
|
+
attempts?: number;
|
|
11046
|
+
created_at?: string;
|
|
11047
|
+
error_message?: string | null;
|
|
11048
|
+
id?: string;
|
|
11049
|
+
invoice_number?: string | null;
|
|
11050
|
+
order_id: string;
|
|
11051
|
+
processed_at?: string | null;
|
|
11052
|
+
status?: string;
|
|
11053
|
+
updated_at?: string;
|
|
11054
|
+
};
|
|
11055
|
+
Update: {
|
|
11056
|
+
attempts?: number;
|
|
11057
|
+
created_at?: string;
|
|
11058
|
+
error_message?: string | null;
|
|
11059
|
+
id?: string;
|
|
11060
|
+
invoice_number?: string | null;
|
|
11061
|
+
order_id?: string;
|
|
11062
|
+
processed_at?: string | null;
|
|
11063
|
+
status?: string;
|
|
11064
|
+
updated_at?: string;
|
|
11065
|
+
};
|
|
11066
|
+
Relationships: [];
|
|
11067
|
+
};
|
|
10861
11068
|
order_items: {
|
|
10862
11069
|
Row: {
|
|
10863
11070
|
crates_per_layer: number | null;
|
|
@@ -11040,6 +11247,7 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
11040
11247
|
delivery_date: string | null;
|
|
11041
11248
|
floriday_sales_order_id: string | null;
|
|
11042
11249
|
id: string;
|
|
11250
|
+
invoice_due_at: string | null;
|
|
11043
11251
|
is_reservation: boolean;
|
|
11044
11252
|
notes: string | null;
|
|
11045
11253
|
order_date: string;
|
|
@@ -11061,6 +11269,7 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
11061
11269
|
delivery_date?: string | null;
|
|
11062
11270
|
floriday_sales_order_id?: string | null;
|
|
11063
11271
|
id?: string;
|
|
11272
|
+
invoice_due_at?: string | null;
|
|
11064
11273
|
is_reservation?: boolean;
|
|
11065
11274
|
notes?: string | null;
|
|
11066
11275
|
order_date?: string;
|
|
@@ -11082,6 +11291,7 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
11082
11291
|
delivery_date?: string | null;
|
|
11083
11292
|
floriday_sales_order_id?: string | null;
|
|
11084
11293
|
id?: string;
|
|
11294
|
+
invoice_due_at?: string | null;
|
|
11085
11295
|
is_reservation?: boolean;
|
|
11086
11296
|
notes?: string | null;
|
|
11087
11297
|
order_date?: string;
|
|
@@ -12278,22 +12488,27 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
12278
12488
|
created_at: string;
|
|
12279
12489
|
documentnaam: string;
|
|
12280
12490
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12491
|
+
extern_job_id: string | null;
|
|
12281
12492
|
foutmelding: string | null;
|
|
12282
12493
|
gebruiker_id: string | null;
|
|
12283
12494
|
gebruiker_naam: string;
|
|
12284
12495
|
gestart_op: string | null;
|
|
12285
12496
|
id: string;
|
|
12497
|
+
idempotentie_sleutel: string | null;
|
|
12286
12498
|
is_herprint: boolean;
|
|
12287
12499
|
kopieen: number;
|
|
12288
12500
|
layout_id: string | null;
|
|
12289
12501
|
opgepakt_op: string | null;
|
|
12290
12502
|
paginas: number;
|
|
12291
12503
|
payload: import("../integrations/supabase/types").Json;
|
|
12504
|
+
pdf_base64: string | null;
|
|
12505
|
+
pdf_url: string | null;
|
|
12292
12506
|
pogingen: number;
|
|
12293
12507
|
printer_id: string | null;
|
|
12294
12508
|
render_html: string | null;
|
|
12295
12509
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12296
12510
|
updated_at: string;
|
|
12511
|
+
volgende_poging: string | null;
|
|
12297
12512
|
voltooid_op: string | null;
|
|
12298
12513
|
};
|
|
12299
12514
|
Insert: {
|
|
@@ -12302,22 +12517,27 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
12302
12517
|
created_at?: string;
|
|
12303
12518
|
documentnaam?: string;
|
|
12304
12519
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12520
|
+
extern_job_id?: string | null;
|
|
12305
12521
|
foutmelding?: string | null;
|
|
12306
12522
|
gebruiker_id?: string | null;
|
|
12307
12523
|
gebruiker_naam?: string;
|
|
12308
12524
|
gestart_op?: string | null;
|
|
12309
12525
|
id?: string;
|
|
12526
|
+
idempotentie_sleutel?: string | null;
|
|
12310
12527
|
is_herprint?: boolean;
|
|
12311
12528
|
kopieen?: number;
|
|
12312
12529
|
layout_id?: string | null;
|
|
12313
12530
|
opgepakt_op?: string | null;
|
|
12314
12531
|
paginas?: number;
|
|
12315
12532
|
payload?: import("../integrations/supabase/types").Json;
|
|
12533
|
+
pdf_base64?: string | null;
|
|
12534
|
+
pdf_url?: string | null;
|
|
12316
12535
|
pogingen?: number;
|
|
12317
12536
|
printer_id?: string | null;
|
|
12318
12537
|
render_html?: string | null;
|
|
12319
12538
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12320
12539
|
updated_at?: string;
|
|
12540
|
+
volgende_poging?: string | null;
|
|
12321
12541
|
voltooid_op?: string | null;
|
|
12322
12542
|
};
|
|
12323
12543
|
Update: {
|
|
@@ -12326,22 +12546,27 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
12326
12546
|
created_at?: string;
|
|
12327
12547
|
documentnaam?: string;
|
|
12328
12548
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12549
|
+
extern_job_id?: string | null;
|
|
12329
12550
|
foutmelding?: string | null;
|
|
12330
12551
|
gebruiker_id?: string | null;
|
|
12331
12552
|
gebruiker_naam?: string;
|
|
12332
12553
|
gestart_op?: string | null;
|
|
12333
12554
|
id?: string;
|
|
12555
|
+
idempotentie_sleutel?: string | null;
|
|
12334
12556
|
is_herprint?: boolean;
|
|
12335
12557
|
kopieen?: number;
|
|
12336
12558
|
layout_id?: string | null;
|
|
12337
12559
|
opgepakt_op?: string | null;
|
|
12338
12560
|
paginas?: number;
|
|
12339
12561
|
payload?: import("../integrations/supabase/types").Json;
|
|
12562
|
+
pdf_base64?: string | null;
|
|
12563
|
+
pdf_url?: string | null;
|
|
12340
12564
|
pogingen?: number;
|
|
12341
12565
|
printer_id?: string | null;
|
|
12342
12566
|
render_html?: string | null;
|
|
12343
12567
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12344
12568
|
updated_at?: string;
|
|
12569
|
+
volgende_poging?: string | null;
|
|
12345
12570
|
voltooid_op?: string | null;
|
|
12346
12571
|
};
|
|
12347
12572
|
Relationships: [{
|
|
@@ -12364,6 +12589,63 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
12364
12589
|
referencedColumns: ["id"];
|
|
12365
12590
|
}];
|
|
12366
12591
|
};
|
|
12592
|
+
print_queue_runners: {
|
|
12593
|
+
Row: {
|
|
12594
|
+
actief: boolean;
|
|
12595
|
+
basis_url: string;
|
|
12596
|
+
created_at: string;
|
|
12597
|
+
id: string;
|
|
12598
|
+
laatst_gezien: string;
|
|
12599
|
+
tick_sleutel: string;
|
|
12600
|
+
updated_at: string;
|
|
12601
|
+
};
|
|
12602
|
+
Insert: {
|
|
12603
|
+
actief?: boolean;
|
|
12604
|
+
basis_url: string;
|
|
12605
|
+
created_at?: string;
|
|
12606
|
+
id?: string;
|
|
12607
|
+
laatst_gezien?: string;
|
|
12608
|
+
tick_sleutel?: string;
|
|
12609
|
+
updated_at?: string;
|
|
12610
|
+
};
|
|
12611
|
+
Update: {
|
|
12612
|
+
actief?: boolean;
|
|
12613
|
+
basis_url?: string;
|
|
12614
|
+
created_at?: string;
|
|
12615
|
+
id?: string;
|
|
12616
|
+
laatst_gezien?: string;
|
|
12617
|
+
tick_sleutel?: string;
|
|
12618
|
+
updated_at?: string;
|
|
12619
|
+
};
|
|
12620
|
+
Relationships: [];
|
|
12621
|
+
};
|
|
12622
|
+
print_queue_settings: {
|
|
12623
|
+
Row: {
|
|
12624
|
+
bewaar_bestanden_dagen: number;
|
|
12625
|
+
bewaar_opdrachten_dagen: number;
|
|
12626
|
+
created_at: string;
|
|
12627
|
+
dubbel_venster_minuten: number;
|
|
12628
|
+
id: string;
|
|
12629
|
+
updated_at: string;
|
|
12630
|
+
};
|
|
12631
|
+
Insert: {
|
|
12632
|
+
bewaar_bestanden_dagen?: number;
|
|
12633
|
+
bewaar_opdrachten_dagen?: number;
|
|
12634
|
+
created_at?: string;
|
|
12635
|
+
dubbel_venster_minuten?: number;
|
|
12636
|
+
id?: string;
|
|
12637
|
+
updated_at?: string;
|
|
12638
|
+
};
|
|
12639
|
+
Update: {
|
|
12640
|
+
bewaar_bestanden_dagen?: number;
|
|
12641
|
+
bewaar_opdrachten_dagen?: number;
|
|
12642
|
+
created_at?: string;
|
|
12643
|
+
dubbel_venster_minuten?: number;
|
|
12644
|
+
id?: string;
|
|
12645
|
+
updated_at?: string;
|
|
12646
|
+
};
|
|
12647
|
+
Relationships: [];
|
|
12648
|
+
};
|
|
12367
12649
|
print_rules: {
|
|
12368
12650
|
Row: {
|
|
12369
12651
|
actief: boolean;
|
|
@@ -12524,6 +12806,7 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
12524
12806
|
agent_id: string | null;
|
|
12525
12807
|
created_at: string;
|
|
12526
12808
|
driver: string;
|
|
12809
|
+
extern_printer_id: string | null;
|
|
12527
12810
|
id: string;
|
|
12528
12811
|
ip_adres: string | null;
|
|
12529
12812
|
laatst_gezien: string | null;
|
|
@@ -12545,6 +12828,7 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
12545
12828
|
agent_id?: string | null;
|
|
12546
12829
|
created_at?: string;
|
|
12547
12830
|
driver?: string;
|
|
12831
|
+
extern_printer_id?: string | null;
|
|
12548
12832
|
id?: string;
|
|
12549
12833
|
ip_adres?: string | null;
|
|
12550
12834
|
laatst_gezien?: string | null;
|
|
@@ -12566,6 +12850,7 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
12566
12850
|
agent_id?: string | null;
|
|
12567
12851
|
created_at?: string;
|
|
12568
12852
|
driver?: string;
|
|
12853
|
+
extern_printer_id?: string | null;
|
|
12569
12854
|
id?: string;
|
|
12570
12855
|
ip_adres?: string | null;
|
|
12571
12856
|
laatst_gezien?: string | null;
|
|
@@ -15201,6 +15486,8 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
15201
15486
|
};
|
|
15202
15487
|
twinfield_invoice_settings: {
|
|
15203
15488
|
Row: {
|
|
15489
|
+
auto_invoice_enabled: boolean;
|
|
15490
|
+
auto_invoice_trigger_statuses: string[];
|
|
15204
15491
|
created_at: string;
|
|
15205
15492
|
debtor_gl_account: string;
|
|
15206
15493
|
default_credit_invoice_type: string | null;
|
|
@@ -15221,6 +15508,8 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
15221
15508
|
vat_code_export: string | null;
|
|
15222
15509
|
};
|
|
15223
15510
|
Insert: {
|
|
15511
|
+
auto_invoice_enabled?: boolean;
|
|
15512
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15224
15513
|
created_at?: string;
|
|
15225
15514
|
debtor_gl_account?: string;
|
|
15226
15515
|
default_credit_invoice_type?: string | null;
|
|
@@ -15241,6 +15530,8 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
15241
15530
|
vat_code_export?: string | null;
|
|
15242
15531
|
};
|
|
15243
15532
|
Update: {
|
|
15533
|
+
auto_invoice_enabled?: boolean;
|
|
15534
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15244
15535
|
created_at?: string;
|
|
15245
15536
|
debtor_gl_account?: string;
|
|
15246
15537
|
default_credit_invoice_type?: string | null;
|
|
@@ -16303,6 +16594,33 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
16303
16594
|
referencedColumns: ["id"];
|
|
16304
16595
|
}];
|
|
16305
16596
|
};
|
|
16597
|
+
user_module_permissions: {
|
|
16598
|
+
Row: {
|
|
16599
|
+
created_at: string;
|
|
16600
|
+
id: string;
|
|
16601
|
+
module_id: string;
|
|
16602
|
+
permission: string;
|
|
16603
|
+
updated_at: string;
|
|
16604
|
+
user_id: string;
|
|
16605
|
+
};
|
|
16606
|
+
Insert: {
|
|
16607
|
+
created_at?: string;
|
|
16608
|
+
id?: string;
|
|
16609
|
+
module_id: string;
|
|
16610
|
+
permission: string;
|
|
16611
|
+
updated_at?: string;
|
|
16612
|
+
user_id: string;
|
|
16613
|
+
};
|
|
16614
|
+
Update: {
|
|
16615
|
+
created_at?: string;
|
|
16616
|
+
id?: string;
|
|
16617
|
+
module_id?: string;
|
|
16618
|
+
permission?: string;
|
|
16619
|
+
updated_at?: string;
|
|
16620
|
+
user_id?: string;
|
|
16621
|
+
};
|
|
16622
|
+
Relationships: [];
|
|
16623
|
+
};
|
|
16306
16624
|
user_roles: {
|
|
16307
16625
|
Row: {
|
|
16308
16626
|
created_at: string;
|
|
@@ -18136,6 +18454,10 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
18136
18454
|
processed_items: number;
|
|
18137
18455
|
}[];
|
|
18138
18456
|
};
|
|
18457
|
+
backfill_order_auto_invoice_queue: {
|
|
18458
|
+
Args: never;
|
|
18459
|
+
Returns: number;
|
|
18460
|
+
};
|
|
18139
18461
|
calculate_layer_stock: {
|
|
18140
18462
|
Args: {
|
|
18141
18463
|
p_product_id: string;
|
|
@@ -18170,6 +18492,77 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
18170
18492
|
};
|
|
18171
18493
|
Returns: import("../integrations/supabase/types").Json;
|
|
18172
18494
|
};
|
|
18495
|
+
claim_cloud_print_jobs: {
|
|
18496
|
+
Args: {
|
|
18497
|
+
_max?: number;
|
|
18498
|
+
};
|
|
18499
|
+
Returns: {
|
|
18500
|
+
agent_id: string | null;
|
|
18501
|
+
bron_job_id: string | null;
|
|
18502
|
+
created_at: string;
|
|
18503
|
+
documentnaam: string;
|
|
18504
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
18505
|
+
extern_job_id: string | null;
|
|
18506
|
+
foutmelding: string | null;
|
|
18507
|
+
gebruiker_id: string | null;
|
|
18508
|
+
gebruiker_naam: string;
|
|
18509
|
+
gestart_op: string | null;
|
|
18510
|
+
id: string;
|
|
18511
|
+
idempotentie_sleutel: string | null;
|
|
18512
|
+
is_herprint: boolean;
|
|
18513
|
+
kopieen: number;
|
|
18514
|
+
layout_id: string | null;
|
|
18515
|
+
opgepakt_op: string | null;
|
|
18516
|
+
paginas: number;
|
|
18517
|
+
payload: import("../integrations/supabase/types").Json;
|
|
18518
|
+
pdf_base64: string | null;
|
|
18519
|
+
pdf_url: string | null;
|
|
18520
|
+
pogingen: number;
|
|
18521
|
+
printer_id: string | null;
|
|
18522
|
+
render_html: string | null;
|
|
18523
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
18524
|
+
updated_at: string;
|
|
18525
|
+
volgende_poging: string | null;
|
|
18526
|
+
voltooid_op: string | null;
|
|
18527
|
+
}[];
|
|
18528
|
+
SetofOptions: {
|
|
18529
|
+
from: "*";
|
|
18530
|
+
to: "print_jobs";
|
|
18531
|
+
isOneToOne: false;
|
|
18532
|
+
isSetofReturn: true;
|
|
18533
|
+
};
|
|
18534
|
+
};
|
|
18535
|
+
claim_floriday_stock_queue: {
|
|
18536
|
+
Args: {
|
|
18537
|
+
p_limit?: number;
|
|
18538
|
+
p_worker?: string;
|
|
18539
|
+
};
|
|
18540
|
+
Returns: {
|
|
18541
|
+
attempts: number;
|
|
18542
|
+
connection_id: string;
|
|
18543
|
+
created_at: string;
|
|
18544
|
+
desired_available: boolean | null;
|
|
18545
|
+
gateway_attempt_id: string | null;
|
|
18546
|
+
id: string;
|
|
18547
|
+
last_error: string | null;
|
|
18548
|
+
locked_at: string | null;
|
|
18549
|
+
locked_by: string | null;
|
|
18550
|
+
next_attempt_at: string;
|
|
18551
|
+
number_of_pieces: number;
|
|
18552
|
+
sent_at: string | null;
|
|
18553
|
+
status: string;
|
|
18554
|
+
superseded_by: string | null;
|
|
18555
|
+
trade_item_id: string;
|
|
18556
|
+
updated_at: string;
|
|
18557
|
+
user_id: string;
|
|
18558
|
+
}[];
|
|
18559
|
+
SetofOptions: {
|
|
18560
|
+
from: "*";
|
|
18561
|
+
to: "floriday_continuous_stock_queue";
|
|
18562
|
+
isOneToOne: false;
|
|
18563
|
+
isSetofReturn: true;
|
|
18564
|
+
};
|
|
18565
|
+
};
|
|
18173
18566
|
claim_logistics_tasks: {
|
|
18174
18567
|
Args: {
|
|
18175
18568
|
_limit?: number;
|
|
@@ -18229,22 +18622,27 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
18229
18622
|
created_at: string;
|
|
18230
18623
|
documentnaam: string;
|
|
18231
18624
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
18625
|
+
extern_job_id: string | null;
|
|
18232
18626
|
foutmelding: string | null;
|
|
18233
18627
|
gebruiker_id: string | null;
|
|
18234
18628
|
gebruiker_naam: string;
|
|
18235
18629
|
gestart_op: string | null;
|
|
18236
18630
|
id: string;
|
|
18631
|
+
idempotentie_sleutel: string | null;
|
|
18237
18632
|
is_herprint: boolean;
|
|
18238
18633
|
kopieen: number;
|
|
18239
18634
|
layout_id: string | null;
|
|
18240
18635
|
opgepakt_op: string | null;
|
|
18241
18636
|
paginas: number;
|
|
18242
18637
|
payload: import("../integrations/supabase/types").Json;
|
|
18638
|
+
pdf_base64: string | null;
|
|
18639
|
+
pdf_url: string | null;
|
|
18243
18640
|
pogingen: number;
|
|
18244
18641
|
printer_id: string | null;
|
|
18245
18642
|
render_html: string | null;
|
|
18246
18643
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
18247
18644
|
updated_at: string;
|
|
18645
|
+
volgende_poging: string | null;
|
|
18248
18646
|
voltooid_op: string | null;
|
|
18249
18647
|
}[];
|
|
18250
18648
|
SetofOptions: {
|
|
@@ -18282,10 +18680,28 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
18282
18680
|
isSetofReturn: true;
|
|
18283
18681
|
};
|
|
18284
18682
|
};
|
|
18683
|
+
cleanup_floriday_stock_queue: {
|
|
18684
|
+
Args: never;
|
|
18685
|
+
Returns: undefined;
|
|
18686
|
+
};
|
|
18285
18687
|
cleanup_old_bookings: {
|
|
18286
18688
|
Args: never;
|
|
18287
18689
|
Returns: undefined;
|
|
18288
18690
|
};
|
|
18691
|
+
cleanup_voorraad_module_history: {
|
|
18692
|
+
Args: never;
|
|
18693
|
+
Returns: undefined;
|
|
18694
|
+
};
|
|
18695
|
+
complete_floriday_stock_queue: {
|
|
18696
|
+
Args: {
|
|
18697
|
+
p_attempt_id?: string;
|
|
18698
|
+
p_error?: string;
|
|
18699
|
+
p_id: string;
|
|
18700
|
+
p_ok: boolean;
|
|
18701
|
+
p_permanent?: boolean;
|
|
18702
|
+
};
|
|
18703
|
+
Returns: undefined;
|
|
18704
|
+
};
|
|
18289
18705
|
consume_bom_for_production: {
|
|
18290
18706
|
Args: {
|
|
18291
18707
|
p_connection_id: string;
|
|
@@ -18397,6 +18813,13 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
18397
18813
|
};
|
|
18398
18814
|
Returns: import("../integrations/supabase/types").Json;
|
|
18399
18815
|
};
|
|
18816
|
+
effective_module_permission: {
|
|
18817
|
+
Args: {
|
|
18818
|
+
_module_id: string;
|
|
18819
|
+
_user_id: string;
|
|
18820
|
+
};
|
|
18821
|
+
Returns: string;
|
|
18822
|
+
};
|
|
18400
18823
|
email_auth_decrypt: {
|
|
18401
18824
|
Args: {
|
|
18402
18825
|
cipher: string;
|
|
@@ -19200,6 +19623,51 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
19200
19623
|
isSetofReturn: false;
|
|
19201
19624
|
};
|
|
19202
19625
|
};
|
|
19626
|
+
logistics_floriday_claim_pushes: {
|
|
19627
|
+
Args: {
|
|
19628
|
+
_lease_seconds?: number;
|
|
19629
|
+
_limit?: number;
|
|
19630
|
+
_worker?: string;
|
|
19631
|
+
};
|
|
19632
|
+
Returns: {
|
|
19633
|
+
attempts: number;
|
|
19634
|
+
fulfillment_order_id: string;
|
|
19635
|
+
id: string;
|
|
19636
|
+
last_sent_hash: string;
|
|
19637
|
+
order_ref: string;
|
|
19638
|
+
payload: import("../integrations/supabase/types").Json;
|
|
19639
|
+
payload_hash: string;
|
|
19640
|
+
revision: number;
|
|
19641
|
+
}[];
|
|
19642
|
+
};
|
|
19643
|
+
logistics_floriday_finish_push: {
|
|
19644
|
+
Args: {
|
|
19645
|
+
_error?: string;
|
|
19646
|
+
_fulfillment_order_id?: string;
|
|
19647
|
+
_id: string;
|
|
19648
|
+
_max_age_hours?: number;
|
|
19649
|
+
_max_attempts?: number;
|
|
19650
|
+
_ok: boolean;
|
|
19651
|
+
_permanent?: boolean;
|
|
19652
|
+
_revision: number;
|
|
19653
|
+
_sent_hash?: string;
|
|
19654
|
+
};
|
|
19655
|
+
Returns: string;
|
|
19656
|
+
};
|
|
19657
|
+
logistics_floriday_prune_pushes: {
|
|
19658
|
+
Args: {
|
|
19659
|
+
_days?: number;
|
|
19660
|
+
};
|
|
19661
|
+
Returns: number;
|
|
19662
|
+
};
|
|
19663
|
+
logistics_floriday_queue_push: {
|
|
19664
|
+
Args: {
|
|
19665
|
+
_order_ref: string;
|
|
19666
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
19667
|
+
_payload_hash?: string;
|
|
19668
|
+
};
|
|
19669
|
+
Returns: string;
|
|
19670
|
+
};
|
|
19203
19671
|
logistics_live_carriers: {
|
|
19204
19672
|
Args: {
|
|
19205
19673
|
p_order_ref: string;
|
|
@@ -19490,6 +19958,13 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
19490
19958
|
};
|
|
19491
19959
|
Returns: undefined;
|
|
19492
19960
|
};
|
|
19961
|
+
my_module_permissions: {
|
|
19962
|
+
Args: never;
|
|
19963
|
+
Returns: {
|
|
19964
|
+
module_id: string;
|
|
19965
|
+
permission: string;
|
|
19966
|
+
}[];
|
|
19967
|
+
};
|
|
19493
19968
|
next_manufacture_partij: {
|
|
19494
19969
|
Args: {
|
|
19495
19970
|
_tenant_id: string;
|
|
@@ -19540,6 +20015,13 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
19540
20015
|
};
|
|
19541
20016
|
Returns: boolean;
|
|
19542
20017
|
};
|
|
20018
|
+
opruim_print_historie: {
|
|
20019
|
+
Args: never;
|
|
20020
|
+
Returns: {
|
|
20021
|
+
ontdaan: number;
|
|
20022
|
+
verwijderd: number;
|
|
20023
|
+
}[];
|
|
20024
|
+
};
|
|
19543
20025
|
order_number_prefix: {
|
|
19544
20026
|
Args: {
|
|
19545
20027
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -19547,6 +20029,15 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
19547
20029
|
};
|
|
19548
20030
|
Returns: string;
|
|
19549
20031
|
};
|
|
20032
|
+
pick_active_printers: {
|
|
20033
|
+
Args: never;
|
|
20034
|
+
Returns: {
|
|
20035
|
+
id: string;
|
|
20036
|
+
locatie: string;
|
|
20037
|
+
naam: string;
|
|
20038
|
+
online: boolean;
|
|
20039
|
+
}[];
|
|
20040
|
+
};
|
|
19550
20041
|
pick_claim_document: {
|
|
19551
20042
|
Args: {
|
|
19552
20043
|
_queue_item_id: string;
|
|
@@ -19733,6 +20224,52 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
19733
20224
|
};
|
|
19734
20225
|
Returns: undefined;
|
|
19735
20226
|
};
|
|
20227
|
+
pick_reset_print: {
|
|
20228
|
+
Args: {
|
|
20229
|
+
_queue_item_id: string;
|
|
20230
|
+
_session_id: string;
|
|
20231
|
+
};
|
|
20232
|
+
Returns: {
|
|
20233
|
+
announced_at: string;
|
|
20234
|
+
assigned_user_id: string | null;
|
|
20235
|
+
barcode: string | null;
|
|
20236
|
+
cancelled_at: string | null;
|
|
20237
|
+
cart_count: number;
|
|
20238
|
+
completed_at: string | null;
|
|
20239
|
+
country_code: string | null;
|
|
20240
|
+
created_at: string;
|
|
20241
|
+
customer_name: string | null;
|
|
20242
|
+
delivery_address: string | null;
|
|
20243
|
+
document_number: string | null;
|
|
20244
|
+
document_type_id: string | null;
|
|
20245
|
+
due_at: string | null;
|
|
20246
|
+
id: string;
|
|
20247
|
+
is_urgent: boolean;
|
|
20248
|
+
line_count: number;
|
|
20249
|
+
order_number: string | null;
|
|
20250
|
+
order_type: string | null;
|
|
20251
|
+
payload: import("../integrations/supabase/types").Json;
|
|
20252
|
+
print_count: number;
|
|
20253
|
+
print_job_id: string | null;
|
|
20254
|
+
printed_at: string | null;
|
|
20255
|
+
printed_by: string | null;
|
|
20256
|
+
printer_id: string | null;
|
|
20257
|
+
priority: number;
|
|
20258
|
+
reference: string | null;
|
|
20259
|
+
route: string | null;
|
|
20260
|
+
screen_id: string | null;
|
|
20261
|
+
station_id: string | null;
|
|
20262
|
+
status_id: string | null;
|
|
20263
|
+
updated_at: string;
|
|
20264
|
+
warnings: import("../integrations/supabase/types").Json;
|
|
20265
|
+
};
|
|
20266
|
+
SetofOptions: {
|
|
20267
|
+
from: "*";
|
|
20268
|
+
to: "pick_queue";
|
|
20269
|
+
isOneToOne: true;
|
|
20270
|
+
isSetofReturn: false;
|
|
20271
|
+
};
|
|
20272
|
+
};
|
|
19736
20273
|
pick_station_dashboard: {
|
|
19737
20274
|
Args: never;
|
|
19738
20275
|
Returns: {
|
|
@@ -19879,6 +20416,12 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
19879
20416
|
};
|
|
19880
20417
|
Returns: undefined;
|
|
19881
20418
|
};
|
|
20419
|
+
reset_stalled_floriday_stock_queue: {
|
|
20420
|
+
Args: {
|
|
20421
|
+
p_include_failed?: boolean;
|
|
20422
|
+
};
|
|
20423
|
+
Returns: number;
|
|
20424
|
+
};
|
|
19882
20425
|
resolve_group_allocation: {
|
|
19883
20426
|
Args: {
|
|
19884
20427
|
_needed: number;
|
|
@@ -19923,14 +20466,28 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
19923
20466
|
};
|
|
19924
20467
|
Returns: import("../integrations/supabase/types").Json;
|
|
19925
20468
|
};
|
|
20469
|
+
ruim_print_jobs_op: {
|
|
20470
|
+
Args: {
|
|
20471
|
+
_bewaar_dagen?: number;
|
|
20472
|
+
};
|
|
20473
|
+
Returns: number;
|
|
20474
|
+
};
|
|
19926
20475
|
run_floriday_continuous_stock_sync: {
|
|
19927
20476
|
Args: never;
|
|
19928
20477
|
Returns: undefined;
|
|
19929
20478
|
};
|
|
20479
|
+
run_floriday_stock_queue_process: {
|
|
20480
|
+
Args: never;
|
|
20481
|
+
Returns: undefined;
|
|
20482
|
+
};
|
|
19930
20483
|
run_logistics_tasks_dispatch: {
|
|
19931
20484
|
Args: never;
|
|
19932
20485
|
Returns: undefined;
|
|
19933
20486
|
};
|
|
20487
|
+
run_print_queue_ticks: {
|
|
20488
|
+
Args: never;
|
|
20489
|
+
Returns: number;
|
|
20490
|
+
};
|
|
19934
20491
|
run_twinfield_queue_tick: {
|
|
19935
20492
|
Args: never;
|
|
19936
20493
|
Returns: undefined;
|
|
@@ -20171,6 +20728,13 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
20171
20728
|
};
|
|
20172
20729
|
Returns: number;
|
|
20173
20730
|
};
|
|
20731
|
+
schedule_floriday_stock_queue_process: {
|
|
20732
|
+
Args: {
|
|
20733
|
+
p_apikey: string;
|
|
20734
|
+
p_url: string;
|
|
20735
|
+
};
|
|
20736
|
+
Returns: number;
|
|
20737
|
+
};
|
|
20174
20738
|
schedule_floriday_token_refresh: {
|
|
20175
20739
|
Args: {
|
|
20176
20740
|
p_apikey: string;
|
|
@@ -20311,6 +20875,15 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
20311
20875
|
};
|
|
20312
20876
|
Returns: undefined;
|
|
20313
20877
|
};
|
|
20878
|
+
trade_item_stock_duplicates: {
|
|
20879
|
+
Args: never;
|
|
20880
|
+
Returns: {
|
|
20881
|
+
keys: string[];
|
|
20882
|
+
product_id: string;
|
|
20883
|
+
product_name: string;
|
|
20884
|
+
row_count: number;
|
|
20885
|
+
}[];
|
|
20886
|
+
};
|
|
20314
20887
|
try_debtor_lock: {
|
|
20315
20888
|
Args: {
|
|
20316
20889
|
_group_key: string;
|
|
@@ -20360,7 +20933,7 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
20360
20933
|
};
|
|
20361
20934
|
Enums: {
|
|
20362
20935
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
20363
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
20936
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
20364
20937
|
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
20365
20938
|
doc_orientation: "portrait" | "landscape";
|
|
20366
20939
|
exact_env: "staging" | "live";
|
|
@@ -20381,7 +20954,7 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
20381
20954
|
claims: import("@supabase/auth-js").User;
|
|
20382
20955
|
}, undefined, undefined, undefined>], (input: unknown) => {
|
|
20383
20956
|
dateField: "ordered" | "delivery";
|
|
20384
|
-
tab: "
|
|
20957
|
+
tab: "picked" | "shipped" | "incoming" | "topick" | "cancelled" | "all";
|
|
20385
20958
|
page: number;
|
|
20386
20959
|
pageSize: number;
|
|
20387
20960
|
since?: string | undefined;
|