@flowselections/floriday-verkoop-module 1.0.39 → 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
|
@@ -1693,7 +1693,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
1693
1693
|
city: string | null;
|
|
1694
1694
|
country: string | null;
|
|
1695
1695
|
created_at: string;
|
|
1696
|
-
customer_id: string
|
|
1696
|
+
customer_id: string;
|
|
1697
1697
|
external_key: string | null;
|
|
1698
1698
|
external_provider: string | null;
|
|
1699
1699
|
floriday_location_id: string | null;
|
|
@@ -1717,7 +1717,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
1717
1717
|
city?: string | null;
|
|
1718
1718
|
country?: string | null;
|
|
1719
1719
|
created_at?: string;
|
|
1720
|
-
customer_id
|
|
1720
|
+
customer_id: string;
|
|
1721
1721
|
external_key?: string | null;
|
|
1722
1722
|
external_provider?: string | null;
|
|
1723
1723
|
floriday_location_id?: string | null;
|
|
@@ -1741,7 +1741,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
1741
1741
|
city?: string | null;
|
|
1742
1742
|
country?: string | null;
|
|
1743
1743
|
created_at?: string;
|
|
1744
|
-
customer_id?: string
|
|
1744
|
+
customer_id?: string;
|
|
1745
1745
|
external_key?: string | null;
|
|
1746
1746
|
external_provider?: string | null;
|
|
1747
1747
|
floriday_location_id?: string | null;
|
|
@@ -5704,12 +5704,17 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
5704
5704
|
attempts: number;
|
|
5705
5705
|
connection_id: string;
|
|
5706
5706
|
created_at: string;
|
|
5707
|
+
desired_available: boolean | null;
|
|
5707
5708
|
gateway_attempt_id: string | null;
|
|
5708
5709
|
id: string;
|
|
5709
5710
|
last_error: string | null;
|
|
5711
|
+
locked_at: string | null;
|
|
5712
|
+
locked_by: string | null;
|
|
5713
|
+
next_attempt_at: string;
|
|
5710
5714
|
number_of_pieces: number;
|
|
5711
5715
|
sent_at: string | null;
|
|
5712
5716
|
status: string;
|
|
5717
|
+
superseded_by: string | null;
|
|
5713
5718
|
trade_item_id: string;
|
|
5714
5719
|
updated_at: string;
|
|
5715
5720
|
user_id: string;
|
|
@@ -5718,12 +5723,17 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
5718
5723
|
attempts?: number;
|
|
5719
5724
|
connection_id: string;
|
|
5720
5725
|
created_at?: string;
|
|
5726
|
+
desired_available?: boolean | null;
|
|
5721
5727
|
gateway_attempt_id?: string | null;
|
|
5722
5728
|
id?: string;
|
|
5723
5729
|
last_error?: string | null;
|
|
5730
|
+
locked_at?: string | null;
|
|
5731
|
+
locked_by?: string | null;
|
|
5732
|
+
next_attempt_at?: string;
|
|
5724
5733
|
number_of_pieces?: number;
|
|
5725
5734
|
sent_at?: string | null;
|
|
5726
5735
|
status?: string;
|
|
5736
|
+
superseded_by?: string | null;
|
|
5727
5737
|
trade_item_id: string;
|
|
5728
5738
|
updated_at?: string;
|
|
5729
5739
|
user_id: string;
|
|
@@ -5732,12 +5742,17 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
5732
5742
|
attempts?: number;
|
|
5733
5743
|
connection_id?: string;
|
|
5734
5744
|
created_at?: string;
|
|
5745
|
+
desired_available?: boolean | null;
|
|
5735
5746
|
gateway_attempt_id?: string | null;
|
|
5736
5747
|
id?: string;
|
|
5737
5748
|
last_error?: string | null;
|
|
5749
|
+
locked_at?: string | null;
|
|
5750
|
+
locked_by?: string | null;
|
|
5751
|
+
next_attempt_at?: string;
|
|
5738
5752
|
number_of_pieces?: number;
|
|
5739
5753
|
sent_at?: string | null;
|
|
5740
5754
|
status?: string;
|
|
5755
|
+
superseded_by?: string | null;
|
|
5741
5756
|
trade_item_id?: string;
|
|
5742
5757
|
updated_at?: string;
|
|
5743
5758
|
user_id?: string;
|
|
@@ -6474,6 +6489,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
6474
6489
|
Row: {
|
|
6475
6490
|
buyer_organization_id: string | null;
|
|
6476
6491
|
connection_id: string;
|
|
6492
|
+
controlled_at: string | null;
|
|
6477
6493
|
created_at: string;
|
|
6478
6494
|
data: import("../integrations/supabase/types").Json;
|
|
6479
6495
|
floriday_id: string;
|
|
@@ -6485,6 +6501,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
6485
6501
|
Insert: {
|
|
6486
6502
|
buyer_organization_id?: string | null;
|
|
6487
6503
|
connection_id: string;
|
|
6504
|
+
controlled_at?: string | null;
|
|
6488
6505
|
created_at?: string;
|
|
6489
6506
|
data: import("../integrations/supabase/types").Json;
|
|
6490
6507
|
floriday_id: string;
|
|
@@ -6496,6 +6513,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
6496
6513
|
Update: {
|
|
6497
6514
|
buyer_organization_id?: string | null;
|
|
6498
6515
|
connection_id?: string;
|
|
6516
|
+
controlled_at?: string | null;
|
|
6499
6517
|
created_at?: string;
|
|
6500
6518
|
data?: import("../integrations/supabase/types").Json;
|
|
6501
6519
|
floriday_id?: string;
|
|
@@ -7397,6 +7415,54 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
7397
7415
|
};
|
|
7398
7416
|
Relationships: [];
|
|
7399
7417
|
};
|
|
7418
|
+
invoice_timing_settings: {
|
|
7419
|
+
Row: {
|
|
7420
|
+
anchor: string;
|
|
7421
|
+
business_days_only: boolean;
|
|
7422
|
+
created_at: string;
|
|
7423
|
+
enabled: boolean;
|
|
7424
|
+
id: string;
|
|
7425
|
+
offset_days: number;
|
|
7426
|
+
pickup_anchor: string;
|
|
7427
|
+
pickup_business_days_only: boolean;
|
|
7428
|
+
pickup_offset_days: number;
|
|
7429
|
+
pickup_time_of_day: string;
|
|
7430
|
+
singleton: boolean;
|
|
7431
|
+
time_of_day: string;
|
|
7432
|
+
updated_at: string;
|
|
7433
|
+
};
|
|
7434
|
+
Insert: {
|
|
7435
|
+
anchor?: string;
|
|
7436
|
+
business_days_only?: boolean;
|
|
7437
|
+
created_at?: string;
|
|
7438
|
+
enabled?: boolean;
|
|
7439
|
+
id?: string;
|
|
7440
|
+
offset_days?: number;
|
|
7441
|
+
pickup_anchor?: string;
|
|
7442
|
+
pickup_business_days_only?: boolean;
|
|
7443
|
+
pickup_offset_days?: number;
|
|
7444
|
+
pickup_time_of_day?: string;
|
|
7445
|
+
singleton?: boolean;
|
|
7446
|
+
time_of_day?: string;
|
|
7447
|
+
updated_at?: string;
|
|
7448
|
+
};
|
|
7449
|
+
Update: {
|
|
7450
|
+
anchor?: string;
|
|
7451
|
+
business_days_only?: boolean;
|
|
7452
|
+
created_at?: string;
|
|
7453
|
+
enabled?: boolean;
|
|
7454
|
+
id?: string;
|
|
7455
|
+
offset_days?: number;
|
|
7456
|
+
pickup_anchor?: string;
|
|
7457
|
+
pickup_business_days_only?: boolean;
|
|
7458
|
+
pickup_offset_days?: number;
|
|
7459
|
+
pickup_time_of_day?: string;
|
|
7460
|
+
singleton?: boolean;
|
|
7461
|
+
time_of_day?: string;
|
|
7462
|
+
updated_at?: string;
|
|
7463
|
+
};
|
|
7464
|
+
Relationships: [];
|
|
7465
|
+
};
|
|
7400
7466
|
itk_contact_persons: {
|
|
7401
7467
|
Row: {
|
|
7402
7468
|
created_at: string;
|
|
@@ -8486,6 +8552,69 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
8486
8552
|
};
|
|
8487
8553
|
Relationships: [];
|
|
8488
8554
|
};
|
|
8555
|
+
logistics_floriday_pushes: {
|
|
8556
|
+
Row: {
|
|
8557
|
+
attempts: number;
|
|
8558
|
+
created_at: string;
|
|
8559
|
+
first_queued_at: string;
|
|
8560
|
+
fulfillment_order_id: string | null;
|
|
8561
|
+
id: string;
|
|
8562
|
+
last_error: string | null;
|
|
8563
|
+
last_error_at: string | null;
|
|
8564
|
+
last_sent_hash: string | null;
|
|
8565
|
+
locked_by: string | null;
|
|
8566
|
+
locked_until: string | null;
|
|
8567
|
+
next_attempt_at: string;
|
|
8568
|
+
order_ref: string;
|
|
8569
|
+
payload: import("../integrations/supabase/types").Json;
|
|
8570
|
+
payload_hash: string | null;
|
|
8571
|
+
revision: number;
|
|
8572
|
+
sent_at: string | null;
|
|
8573
|
+
status: string;
|
|
8574
|
+
updated_at: string;
|
|
8575
|
+
};
|
|
8576
|
+
Insert: {
|
|
8577
|
+
attempts?: number;
|
|
8578
|
+
created_at?: string;
|
|
8579
|
+
first_queued_at?: string;
|
|
8580
|
+
fulfillment_order_id?: string | null;
|
|
8581
|
+
id?: string;
|
|
8582
|
+
last_error?: string | null;
|
|
8583
|
+
last_error_at?: string | null;
|
|
8584
|
+
last_sent_hash?: string | null;
|
|
8585
|
+
locked_by?: string | null;
|
|
8586
|
+
locked_until?: string | null;
|
|
8587
|
+
next_attempt_at?: string;
|
|
8588
|
+
order_ref: string;
|
|
8589
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
8590
|
+
payload_hash?: string | null;
|
|
8591
|
+
revision?: number;
|
|
8592
|
+
sent_at?: string | null;
|
|
8593
|
+
status?: string;
|
|
8594
|
+
updated_at?: string;
|
|
8595
|
+
};
|
|
8596
|
+
Update: {
|
|
8597
|
+
attempts?: number;
|
|
8598
|
+
created_at?: string;
|
|
8599
|
+
first_queued_at?: string;
|
|
8600
|
+
fulfillment_order_id?: string | null;
|
|
8601
|
+
id?: string;
|
|
8602
|
+
last_error?: string | null;
|
|
8603
|
+
last_error_at?: string | null;
|
|
8604
|
+
last_sent_hash?: string | null;
|
|
8605
|
+
locked_by?: string | null;
|
|
8606
|
+
locked_until?: string | null;
|
|
8607
|
+
next_attempt_at?: string;
|
|
8608
|
+
order_ref?: string;
|
|
8609
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
8610
|
+
payload_hash?: string | null;
|
|
8611
|
+
revision?: number;
|
|
8612
|
+
sent_at?: string | null;
|
|
8613
|
+
status?: string;
|
|
8614
|
+
updated_at?: string;
|
|
8615
|
+
};
|
|
8616
|
+
Relationships: [];
|
|
8617
|
+
};
|
|
8489
8618
|
logistics_formulas: {
|
|
8490
8619
|
Row: {
|
|
8491
8620
|
created_at: string;
|
|
@@ -9349,14 +9478,17 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
9349
9478
|
};
|
|
9350
9479
|
mailbox_messages: {
|
|
9351
9480
|
Row: {
|
|
9481
|
+
attachments: import("../integrations/supabase/types").Json;
|
|
9352
9482
|
body_html: string | null;
|
|
9353
9483
|
body_text: string | null;
|
|
9484
|
+
cc_recipients: import("../integrations/supabase/types").Json;
|
|
9354
9485
|
connection_id: string | null;
|
|
9355
9486
|
created_at: string;
|
|
9356
9487
|
error_message: string | null;
|
|
9357
9488
|
external_id: string | null;
|
|
9358
9489
|
from_email: string | null;
|
|
9359
9490
|
from_name: string | null;
|
|
9491
|
+
has_attachments: boolean;
|
|
9360
9492
|
id: string;
|
|
9361
9493
|
message_id: string | null;
|
|
9362
9494
|
profile_id: string | null;
|
|
@@ -9364,18 +9496,22 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
9364
9496
|
received_at: string | null;
|
|
9365
9497
|
status: string;
|
|
9366
9498
|
subject: string | null;
|
|
9499
|
+
to_recipients: import("../integrations/supabase/types").Json;
|
|
9367
9500
|
uid: number | null;
|
|
9368
9501
|
updated_at: string;
|
|
9369
9502
|
};
|
|
9370
9503
|
Insert: {
|
|
9504
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
9371
9505
|
body_html?: string | null;
|
|
9372
9506
|
body_text?: string | null;
|
|
9507
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
9373
9508
|
connection_id?: string | null;
|
|
9374
9509
|
created_at?: string;
|
|
9375
9510
|
error_message?: string | null;
|
|
9376
9511
|
external_id?: string | null;
|
|
9377
9512
|
from_email?: string | null;
|
|
9378
9513
|
from_name?: string | null;
|
|
9514
|
+
has_attachments?: boolean;
|
|
9379
9515
|
id?: string;
|
|
9380
9516
|
message_id?: string | null;
|
|
9381
9517
|
profile_id?: string | null;
|
|
@@ -9383,18 +9519,22 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
9383
9519
|
received_at?: string | null;
|
|
9384
9520
|
status?: string;
|
|
9385
9521
|
subject?: string | null;
|
|
9522
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
9386
9523
|
uid?: number | null;
|
|
9387
9524
|
updated_at?: string;
|
|
9388
9525
|
};
|
|
9389
9526
|
Update: {
|
|
9527
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
9390
9528
|
body_html?: string | null;
|
|
9391
9529
|
body_text?: string | null;
|
|
9530
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
9392
9531
|
connection_id?: string | null;
|
|
9393
9532
|
created_at?: string;
|
|
9394
9533
|
error_message?: string | null;
|
|
9395
9534
|
external_id?: string | null;
|
|
9396
9535
|
from_email?: string | null;
|
|
9397
9536
|
from_name?: string | null;
|
|
9537
|
+
has_attachments?: boolean;
|
|
9398
9538
|
id?: string;
|
|
9399
9539
|
message_id?: string | null;
|
|
9400
9540
|
profile_id?: string | null;
|
|
@@ -9402,6 +9542,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
9402
9542
|
received_at?: string | null;
|
|
9403
9543
|
status?: string;
|
|
9404
9544
|
subject?: string | null;
|
|
9545
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
9405
9546
|
uid?: number | null;
|
|
9406
9547
|
updated_at?: string;
|
|
9407
9548
|
};
|
|
@@ -9809,6 +9950,36 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
9809
9950
|
};
|
|
9810
9951
|
Relationships: [];
|
|
9811
9952
|
};
|
|
9953
|
+
module_registry: {
|
|
9954
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
9973
|
+
created_at?: string;
|
|
9974
|
+
is_active?: boolean;
|
|
9975
|
+
last_seen_at?: string;
|
|
9976
|
+
module_id?: string;
|
|
9977
|
+
name?: string;
|
|
9978
|
+
shell_id?: string | null;
|
|
9979
|
+
sort_order?: number | null;
|
|
9980
|
+
};
|
|
9981
|
+
Relationships: [];
|
|
9982
|
+
};
|
|
9812
9983
|
module_runtime_config: {
|
|
9813
9984
|
Row: {
|
|
9814
9985
|
key: string;
|
|
@@ -10868,6 +11039,42 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
10868
11039
|
};
|
|
10869
11040
|
Relationships: [];
|
|
10870
11041
|
};
|
|
11042
|
+
order_invoice_links: {
|
|
11043
|
+
Row: {
|
|
11044
|
+
attempts: number;
|
|
11045
|
+
created_at: string;
|
|
11046
|
+
error_message: string | null;
|
|
11047
|
+
id: string;
|
|
11048
|
+
invoice_number: string | null;
|
|
11049
|
+
order_id: string;
|
|
11050
|
+
processed_at: string | null;
|
|
11051
|
+
status: string;
|
|
11052
|
+
updated_at: string;
|
|
11053
|
+
};
|
|
11054
|
+
Insert: {
|
|
11055
|
+
attempts?: number;
|
|
11056
|
+
created_at?: string;
|
|
11057
|
+
error_message?: string | null;
|
|
11058
|
+
id?: string;
|
|
11059
|
+
invoice_number?: string | null;
|
|
11060
|
+
order_id: string;
|
|
11061
|
+
processed_at?: string | null;
|
|
11062
|
+
status?: string;
|
|
11063
|
+
updated_at?: string;
|
|
11064
|
+
};
|
|
11065
|
+
Update: {
|
|
11066
|
+
attempts?: number;
|
|
11067
|
+
created_at?: string;
|
|
11068
|
+
error_message?: string | null;
|
|
11069
|
+
id?: string;
|
|
11070
|
+
invoice_number?: string | null;
|
|
11071
|
+
order_id?: string;
|
|
11072
|
+
processed_at?: string | null;
|
|
11073
|
+
status?: string;
|
|
11074
|
+
updated_at?: string;
|
|
11075
|
+
};
|
|
11076
|
+
Relationships: [];
|
|
11077
|
+
};
|
|
10871
11078
|
order_items: {
|
|
10872
11079
|
Row: {
|
|
10873
11080
|
crates_per_layer: number | null;
|
|
@@ -11050,6 +11257,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
11050
11257
|
delivery_date: string | null;
|
|
11051
11258
|
floriday_sales_order_id: string | null;
|
|
11052
11259
|
id: string;
|
|
11260
|
+
invoice_due_at: string | null;
|
|
11053
11261
|
is_reservation: boolean;
|
|
11054
11262
|
notes: string | null;
|
|
11055
11263
|
order_date: string;
|
|
@@ -11071,6 +11279,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
11071
11279
|
delivery_date?: string | null;
|
|
11072
11280
|
floriday_sales_order_id?: string | null;
|
|
11073
11281
|
id?: string;
|
|
11282
|
+
invoice_due_at?: string | null;
|
|
11074
11283
|
is_reservation?: boolean;
|
|
11075
11284
|
notes?: string | null;
|
|
11076
11285
|
order_date?: string;
|
|
@@ -11092,6 +11301,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
11092
11301
|
delivery_date?: string | null;
|
|
11093
11302
|
floriday_sales_order_id?: string | null;
|
|
11094
11303
|
id?: string;
|
|
11304
|
+
invoice_due_at?: string | null;
|
|
11095
11305
|
is_reservation?: boolean;
|
|
11096
11306
|
notes?: string | null;
|
|
11097
11307
|
order_date?: string;
|
|
@@ -12288,22 +12498,27 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
12288
12498
|
created_at: string;
|
|
12289
12499
|
documentnaam: string;
|
|
12290
12500
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12501
|
+
extern_job_id: string | null;
|
|
12291
12502
|
foutmelding: string | null;
|
|
12292
12503
|
gebruiker_id: string | null;
|
|
12293
12504
|
gebruiker_naam: string;
|
|
12294
12505
|
gestart_op: string | null;
|
|
12295
12506
|
id: string;
|
|
12507
|
+
idempotentie_sleutel: string | null;
|
|
12296
12508
|
is_herprint: boolean;
|
|
12297
12509
|
kopieen: number;
|
|
12298
12510
|
layout_id: string | null;
|
|
12299
12511
|
opgepakt_op: string | null;
|
|
12300
12512
|
paginas: number;
|
|
12301
12513
|
payload: import("../integrations/supabase/types").Json;
|
|
12514
|
+
pdf_base64: string | null;
|
|
12515
|
+
pdf_url: string | null;
|
|
12302
12516
|
pogingen: number;
|
|
12303
12517
|
printer_id: string | null;
|
|
12304
12518
|
render_html: string | null;
|
|
12305
12519
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12306
12520
|
updated_at: string;
|
|
12521
|
+
volgende_poging: string | null;
|
|
12307
12522
|
voltooid_op: string | null;
|
|
12308
12523
|
};
|
|
12309
12524
|
Insert: {
|
|
@@ -12312,22 +12527,27 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
12312
12527
|
created_at?: string;
|
|
12313
12528
|
documentnaam?: string;
|
|
12314
12529
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12530
|
+
extern_job_id?: string | null;
|
|
12315
12531
|
foutmelding?: string | null;
|
|
12316
12532
|
gebruiker_id?: string | null;
|
|
12317
12533
|
gebruiker_naam?: string;
|
|
12318
12534
|
gestart_op?: string | null;
|
|
12319
12535
|
id?: string;
|
|
12536
|
+
idempotentie_sleutel?: string | null;
|
|
12320
12537
|
is_herprint?: boolean;
|
|
12321
12538
|
kopieen?: number;
|
|
12322
12539
|
layout_id?: string | null;
|
|
12323
12540
|
opgepakt_op?: string | null;
|
|
12324
12541
|
paginas?: number;
|
|
12325
12542
|
payload?: import("../integrations/supabase/types").Json;
|
|
12543
|
+
pdf_base64?: string | null;
|
|
12544
|
+
pdf_url?: string | null;
|
|
12326
12545
|
pogingen?: number;
|
|
12327
12546
|
printer_id?: string | null;
|
|
12328
12547
|
render_html?: string | null;
|
|
12329
12548
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12330
12549
|
updated_at?: string;
|
|
12550
|
+
volgende_poging?: string | null;
|
|
12331
12551
|
voltooid_op?: string | null;
|
|
12332
12552
|
};
|
|
12333
12553
|
Update: {
|
|
@@ -12336,22 +12556,27 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
12336
12556
|
created_at?: string;
|
|
12337
12557
|
documentnaam?: string;
|
|
12338
12558
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
12559
|
+
extern_job_id?: string | null;
|
|
12339
12560
|
foutmelding?: string | null;
|
|
12340
12561
|
gebruiker_id?: string | null;
|
|
12341
12562
|
gebruiker_naam?: string;
|
|
12342
12563
|
gestart_op?: string | null;
|
|
12343
12564
|
id?: string;
|
|
12565
|
+
idempotentie_sleutel?: string | null;
|
|
12344
12566
|
is_herprint?: boolean;
|
|
12345
12567
|
kopieen?: number;
|
|
12346
12568
|
layout_id?: string | null;
|
|
12347
12569
|
opgepakt_op?: string | null;
|
|
12348
12570
|
paginas?: number;
|
|
12349
12571
|
payload?: import("../integrations/supabase/types").Json;
|
|
12572
|
+
pdf_base64?: string | null;
|
|
12573
|
+
pdf_url?: string | null;
|
|
12350
12574
|
pogingen?: number;
|
|
12351
12575
|
printer_id?: string | null;
|
|
12352
12576
|
render_html?: string | null;
|
|
12353
12577
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
12354
12578
|
updated_at?: string;
|
|
12579
|
+
volgende_poging?: string | null;
|
|
12355
12580
|
voltooid_op?: string | null;
|
|
12356
12581
|
};
|
|
12357
12582
|
Relationships: [{
|
|
@@ -12374,6 +12599,63 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
12374
12599
|
referencedColumns: ["id"];
|
|
12375
12600
|
}];
|
|
12376
12601
|
};
|
|
12602
|
+
print_queue_runners: {
|
|
12603
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
12622
|
+
actief?: boolean;
|
|
12623
|
+
basis_url?: string;
|
|
12624
|
+
created_at?: string;
|
|
12625
|
+
id?: string;
|
|
12626
|
+
laatst_gezien?: string;
|
|
12627
|
+
tick_sleutel?: string;
|
|
12628
|
+
updated_at?: string;
|
|
12629
|
+
};
|
|
12630
|
+
Relationships: [];
|
|
12631
|
+
};
|
|
12632
|
+
print_queue_settings: {
|
|
12633
|
+
Row: {
|
|
12634
|
+
bewaar_bestanden_dagen: number;
|
|
12635
|
+
bewaar_opdrachten_dagen: number;
|
|
12636
|
+
created_at: string;
|
|
12637
|
+
dubbel_venster_minuten: number;
|
|
12638
|
+
id: string;
|
|
12639
|
+
updated_at: string;
|
|
12640
|
+
};
|
|
12641
|
+
Insert: {
|
|
12642
|
+
bewaar_bestanden_dagen?: number;
|
|
12643
|
+
bewaar_opdrachten_dagen?: number;
|
|
12644
|
+
created_at?: string;
|
|
12645
|
+
dubbel_venster_minuten?: number;
|
|
12646
|
+
id?: string;
|
|
12647
|
+
updated_at?: string;
|
|
12648
|
+
};
|
|
12649
|
+
Update: {
|
|
12650
|
+
bewaar_bestanden_dagen?: number;
|
|
12651
|
+
bewaar_opdrachten_dagen?: number;
|
|
12652
|
+
created_at?: string;
|
|
12653
|
+
dubbel_venster_minuten?: number;
|
|
12654
|
+
id?: string;
|
|
12655
|
+
updated_at?: string;
|
|
12656
|
+
};
|
|
12657
|
+
Relationships: [];
|
|
12658
|
+
};
|
|
12377
12659
|
print_rules: {
|
|
12378
12660
|
Row: {
|
|
12379
12661
|
actief: boolean;
|
|
@@ -12534,6 +12816,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
12534
12816
|
agent_id: string | null;
|
|
12535
12817
|
created_at: string;
|
|
12536
12818
|
driver: string;
|
|
12819
|
+
extern_printer_id: string | null;
|
|
12537
12820
|
id: string;
|
|
12538
12821
|
ip_adres: string | null;
|
|
12539
12822
|
laatst_gezien: string | null;
|
|
@@ -12555,6 +12838,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
12555
12838
|
agent_id?: string | null;
|
|
12556
12839
|
created_at?: string;
|
|
12557
12840
|
driver?: string;
|
|
12841
|
+
extern_printer_id?: string | null;
|
|
12558
12842
|
id?: string;
|
|
12559
12843
|
ip_adres?: string | null;
|
|
12560
12844
|
laatst_gezien?: string | null;
|
|
@@ -12576,6 +12860,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
12576
12860
|
agent_id?: string | null;
|
|
12577
12861
|
created_at?: string;
|
|
12578
12862
|
driver?: string;
|
|
12863
|
+
extern_printer_id?: string | null;
|
|
12579
12864
|
id?: string;
|
|
12580
12865
|
ip_adres?: string | null;
|
|
12581
12866
|
laatst_gezien?: string | null;
|
|
@@ -15211,6 +15496,8 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
15211
15496
|
};
|
|
15212
15497
|
twinfield_invoice_settings: {
|
|
15213
15498
|
Row: {
|
|
15499
|
+
auto_invoice_enabled: boolean;
|
|
15500
|
+
auto_invoice_trigger_statuses: string[];
|
|
15214
15501
|
created_at: string;
|
|
15215
15502
|
debtor_gl_account: string;
|
|
15216
15503
|
default_credit_invoice_type: string | null;
|
|
@@ -15231,6 +15518,8 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
15231
15518
|
vat_code_export: string | null;
|
|
15232
15519
|
};
|
|
15233
15520
|
Insert: {
|
|
15521
|
+
auto_invoice_enabled?: boolean;
|
|
15522
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15234
15523
|
created_at?: string;
|
|
15235
15524
|
debtor_gl_account?: string;
|
|
15236
15525
|
default_credit_invoice_type?: string | null;
|
|
@@ -15251,6 +15540,8 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
15251
15540
|
vat_code_export?: string | null;
|
|
15252
15541
|
};
|
|
15253
15542
|
Update: {
|
|
15543
|
+
auto_invoice_enabled?: boolean;
|
|
15544
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15254
15545
|
created_at?: string;
|
|
15255
15546
|
debtor_gl_account?: string;
|
|
15256
15547
|
default_credit_invoice_type?: string | null;
|
|
@@ -16313,6 +16604,33 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
16313
16604
|
referencedColumns: ["id"];
|
|
16314
16605
|
}];
|
|
16315
16606
|
};
|
|
16607
|
+
user_module_permissions: {
|
|
16608
|
+
Row: {
|
|
16609
|
+
created_at: string;
|
|
16610
|
+
id: string;
|
|
16611
|
+
module_id: string;
|
|
16612
|
+
permission: string;
|
|
16613
|
+
updated_at: string;
|
|
16614
|
+
user_id: string;
|
|
16615
|
+
};
|
|
16616
|
+
Insert: {
|
|
16617
|
+
created_at?: string;
|
|
16618
|
+
id?: string;
|
|
16619
|
+
module_id: string;
|
|
16620
|
+
permission: string;
|
|
16621
|
+
updated_at?: string;
|
|
16622
|
+
user_id: string;
|
|
16623
|
+
};
|
|
16624
|
+
Update: {
|
|
16625
|
+
created_at?: string;
|
|
16626
|
+
id?: string;
|
|
16627
|
+
module_id?: string;
|
|
16628
|
+
permission?: string;
|
|
16629
|
+
updated_at?: string;
|
|
16630
|
+
user_id?: string;
|
|
16631
|
+
};
|
|
16632
|
+
Relationships: [];
|
|
16633
|
+
};
|
|
16316
16634
|
user_roles: {
|
|
16317
16635
|
Row: {
|
|
16318
16636
|
created_at: string;
|
|
@@ -18146,6 +18464,10 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
18146
18464
|
processed_items: number;
|
|
18147
18465
|
}[];
|
|
18148
18466
|
};
|
|
18467
|
+
backfill_order_auto_invoice_queue: {
|
|
18468
|
+
Args: never;
|
|
18469
|
+
Returns: number;
|
|
18470
|
+
};
|
|
18149
18471
|
calculate_layer_stock: {
|
|
18150
18472
|
Args: {
|
|
18151
18473
|
p_product_id: string;
|
|
@@ -18180,6 +18502,77 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
18180
18502
|
};
|
|
18181
18503
|
Returns: import("../integrations/supabase/types").Json;
|
|
18182
18504
|
};
|
|
18505
|
+
claim_cloud_print_jobs: {
|
|
18506
|
+
Args: {
|
|
18507
|
+
_max?: number;
|
|
18508
|
+
};
|
|
18509
|
+
Returns: {
|
|
18510
|
+
agent_id: string | null;
|
|
18511
|
+
bron_job_id: string | null;
|
|
18512
|
+
created_at: string;
|
|
18513
|
+
documentnaam: string;
|
|
18514
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
18515
|
+
extern_job_id: string | null;
|
|
18516
|
+
foutmelding: string | null;
|
|
18517
|
+
gebruiker_id: string | null;
|
|
18518
|
+
gebruiker_naam: string;
|
|
18519
|
+
gestart_op: string | null;
|
|
18520
|
+
id: string;
|
|
18521
|
+
idempotentie_sleutel: string | null;
|
|
18522
|
+
is_herprint: boolean;
|
|
18523
|
+
kopieen: number;
|
|
18524
|
+
layout_id: string | null;
|
|
18525
|
+
opgepakt_op: string | null;
|
|
18526
|
+
paginas: number;
|
|
18527
|
+
payload: import("../integrations/supabase/types").Json;
|
|
18528
|
+
pdf_base64: string | null;
|
|
18529
|
+
pdf_url: string | null;
|
|
18530
|
+
pogingen: number;
|
|
18531
|
+
printer_id: string | null;
|
|
18532
|
+
render_html: string | null;
|
|
18533
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
18534
|
+
updated_at: string;
|
|
18535
|
+
volgende_poging: string | null;
|
|
18536
|
+
voltooid_op: string | null;
|
|
18537
|
+
}[];
|
|
18538
|
+
SetofOptions: {
|
|
18539
|
+
from: "*";
|
|
18540
|
+
to: "print_jobs";
|
|
18541
|
+
isOneToOne: false;
|
|
18542
|
+
isSetofReturn: true;
|
|
18543
|
+
};
|
|
18544
|
+
};
|
|
18545
|
+
claim_floriday_stock_queue: {
|
|
18546
|
+
Args: {
|
|
18547
|
+
p_limit?: number;
|
|
18548
|
+
p_worker?: string;
|
|
18549
|
+
};
|
|
18550
|
+
Returns: {
|
|
18551
|
+
attempts: number;
|
|
18552
|
+
connection_id: string;
|
|
18553
|
+
created_at: string;
|
|
18554
|
+
desired_available: boolean | null;
|
|
18555
|
+
gateway_attempt_id: string | null;
|
|
18556
|
+
id: string;
|
|
18557
|
+
last_error: string | null;
|
|
18558
|
+
locked_at: string | null;
|
|
18559
|
+
locked_by: string | null;
|
|
18560
|
+
next_attempt_at: string;
|
|
18561
|
+
number_of_pieces: number;
|
|
18562
|
+
sent_at: string | null;
|
|
18563
|
+
status: string;
|
|
18564
|
+
superseded_by: string | null;
|
|
18565
|
+
trade_item_id: string;
|
|
18566
|
+
updated_at: string;
|
|
18567
|
+
user_id: string;
|
|
18568
|
+
}[];
|
|
18569
|
+
SetofOptions: {
|
|
18570
|
+
from: "*";
|
|
18571
|
+
to: "floriday_continuous_stock_queue";
|
|
18572
|
+
isOneToOne: false;
|
|
18573
|
+
isSetofReturn: true;
|
|
18574
|
+
};
|
|
18575
|
+
};
|
|
18183
18576
|
claim_logistics_tasks: {
|
|
18184
18577
|
Args: {
|
|
18185
18578
|
_limit?: number;
|
|
@@ -18239,22 +18632,27 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
18239
18632
|
created_at: string;
|
|
18240
18633
|
documentnaam: string;
|
|
18241
18634
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
18635
|
+
extern_job_id: string | null;
|
|
18242
18636
|
foutmelding: string | null;
|
|
18243
18637
|
gebruiker_id: string | null;
|
|
18244
18638
|
gebruiker_naam: string;
|
|
18245
18639
|
gestart_op: string | null;
|
|
18246
18640
|
id: string;
|
|
18641
|
+
idempotentie_sleutel: string | null;
|
|
18247
18642
|
is_herprint: boolean;
|
|
18248
18643
|
kopieen: number;
|
|
18249
18644
|
layout_id: string | null;
|
|
18250
18645
|
opgepakt_op: string | null;
|
|
18251
18646
|
paginas: number;
|
|
18252
18647
|
payload: import("../integrations/supabase/types").Json;
|
|
18648
|
+
pdf_base64: string | null;
|
|
18649
|
+
pdf_url: string | null;
|
|
18253
18650
|
pogingen: number;
|
|
18254
18651
|
printer_id: string | null;
|
|
18255
18652
|
render_html: string | null;
|
|
18256
18653
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
18257
18654
|
updated_at: string;
|
|
18655
|
+
volgende_poging: string | null;
|
|
18258
18656
|
voltooid_op: string | null;
|
|
18259
18657
|
}[];
|
|
18260
18658
|
SetofOptions: {
|
|
@@ -18292,10 +18690,28 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
18292
18690
|
isSetofReturn: true;
|
|
18293
18691
|
};
|
|
18294
18692
|
};
|
|
18693
|
+
cleanup_floriday_stock_queue: {
|
|
18694
|
+
Args: never;
|
|
18695
|
+
Returns: undefined;
|
|
18696
|
+
};
|
|
18295
18697
|
cleanup_old_bookings: {
|
|
18296
18698
|
Args: never;
|
|
18297
18699
|
Returns: undefined;
|
|
18298
18700
|
};
|
|
18701
|
+
cleanup_voorraad_module_history: {
|
|
18702
|
+
Args: never;
|
|
18703
|
+
Returns: undefined;
|
|
18704
|
+
};
|
|
18705
|
+
complete_floriday_stock_queue: {
|
|
18706
|
+
Args: {
|
|
18707
|
+
p_attempt_id?: string;
|
|
18708
|
+
p_error?: string;
|
|
18709
|
+
p_id: string;
|
|
18710
|
+
p_ok: boolean;
|
|
18711
|
+
p_permanent?: boolean;
|
|
18712
|
+
};
|
|
18713
|
+
Returns: undefined;
|
|
18714
|
+
};
|
|
18299
18715
|
consume_bom_for_production: {
|
|
18300
18716
|
Args: {
|
|
18301
18717
|
p_connection_id: string;
|
|
@@ -18407,6 +18823,13 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
18407
18823
|
};
|
|
18408
18824
|
Returns: import("../integrations/supabase/types").Json;
|
|
18409
18825
|
};
|
|
18826
|
+
effective_module_permission: {
|
|
18827
|
+
Args: {
|
|
18828
|
+
_module_id: string;
|
|
18829
|
+
_user_id: string;
|
|
18830
|
+
};
|
|
18831
|
+
Returns: string;
|
|
18832
|
+
};
|
|
18410
18833
|
email_auth_decrypt: {
|
|
18411
18834
|
Args: {
|
|
18412
18835
|
cipher: string;
|
|
@@ -19210,6 +19633,51 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
19210
19633
|
isSetofReturn: false;
|
|
19211
19634
|
};
|
|
19212
19635
|
};
|
|
19636
|
+
logistics_floriday_claim_pushes: {
|
|
19637
|
+
Args: {
|
|
19638
|
+
_lease_seconds?: number;
|
|
19639
|
+
_limit?: number;
|
|
19640
|
+
_worker?: string;
|
|
19641
|
+
};
|
|
19642
|
+
Returns: {
|
|
19643
|
+
attempts: number;
|
|
19644
|
+
fulfillment_order_id: string;
|
|
19645
|
+
id: string;
|
|
19646
|
+
last_sent_hash: string;
|
|
19647
|
+
order_ref: string;
|
|
19648
|
+
payload: import("../integrations/supabase/types").Json;
|
|
19649
|
+
payload_hash: string;
|
|
19650
|
+
revision: number;
|
|
19651
|
+
}[];
|
|
19652
|
+
};
|
|
19653
|
+
logistics_floriday_finish_push: {
|
|
19654
|
+
Args: {
|
|
19655
|
+
_error?: string;
|
|
19656
|
+
_fulfillment_order_id?: string;
|
|
19657
|
+
_id: string;
|
|
19658
|
+
_max_age_hours?: number;
|
|
19659
|
+
_max_attempts?: number;
|
|
19660
|
+
_ok: boolean;
|
|
19661
|
+
_permanent?: boolean;
|
|
19662
|
+
_revision: number;
|
|
19663
|
+
_sent_hash?: string;
|
|
19664
|
+
};
|
|
19665
|
+
Returns: string;
|
|
19666
|
+
};
|
|
19667
|
+
logistics_floriday_prune_pushes: {
|
|
19668
|
+
Args: {
|
|
19669
|
+
_days?: number;
|
|
19670
|
+
};
|
|
19671
|
+
Returns: number;
|
|
19672
|
+
};
|
|
19673
|
+
logistics_floriday_queue_push: {
|
|
19674
|
+
Args: {
|
|
19675
|
+
_order_ref: string;
|
|
19676
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
19677
|
+
_payload_hash?: string;
|
|
19678
|
+
};
|
|
19679
|
+
Returns: string;
|
|
19680
|
+
};
|
|
19213
19681
|
logistics_live_carriers: {
|
|
19214
19682
|
Args: {
|
|
19215
19683
|
p_order_ref: string;
|
|
@@ -19500,6 +19968,13 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
19500
19968
|
};
|
|
19501
19969
|
Returns: undefined;
|
|
19502
19970
|
};
|
|
19971
|
+
my_module_permissions: {
|
|
19972
|
+
Args: never;
|
|
19973
|
+
Returns: {
|
|
19974
|
+
module_id: string;
|
|
19975
|
+
permission: string;
|
|
19976
|
+
}[];
|
|
19977
|
+
};
|
|
19503
19978
|
next_manufacture_partij: {
|
|
19504
19979
|
Args: {
|
|
19505
19980
|
_tenant_id: string;
|
|
@@ -19550,6 +20025,13 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
19550
20025
|
};
|
|
19551
20026
|
Returns: boolean;
|
|
19552
20027
|
};
|
|
20028
|
+
opruim_print_historie: {
|
|
20029
|
+
Args: never;
|
|
20030
|
+
Returns: {
|
|
20031
|
+
ontdaan: number;
|
|
20032
|
+
verwijderd: number;
|
|
20033
|
+
}[];
|
|
20034
|
+
};
|
|
19553
20035
|
order_number_prefix: {
|
|
19554
20036
|
Args: {
|
|
19555
20037
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -19557,6 +20039,15 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
19557
20039
|
};
|
|
19558
20040
|
Returns: string;
|
|
19559
20041
|
};
|
|
20042
|
+
pick_active_printers: {
|
|
20043
|
+
Args: never;
|
|
20044
|
+
Returns: {
|
|
20045
|
+
id: string;
|
|
20046
|
+
locatie: string;
|
|
20047
|
+
naam: string;
|
|
20048
|
+
online: boolean;
|
|
20049
|
+
}[];
|
|
20050
|
+
};
|
|
19560
20051
|
pick_claim_document: {
|
|
19561
20052
|
Args: {
|
|
19562
20053
|
_queue_item_id: string;
|
|
@@ -19743,6 +20234,52 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
19743
20234
|
};
|
|
19744
20235
|
Returns: undefined;
|
|
19745
20236
|
};
|
|
20237
|
+
pick_reset_print: {
|
|
20238
|
+
Args: {
|
|
20239
|
+
_queue_item_id: string;
|
|
20240
|
+
_session_id: string;
|
|
20241
|
+
};
|
|
20242
|
+
Returns: {
|
|
20243
|
+
announced_at: string;
|
|
20244
|
+
assigned_user_id: string | null;
|
|
20245
|
+
barcode: string | null;
|
|
20246
|
+
cancelled_at: string | null;
|
|
20247
|
+
cart_count: number;
|
|
20248
|
+
completed_at: string | null;
|
|
20249
|
+
country_code: string | null;
|
|
20250
|
+
created_at: string;
|
|
20251
|
+
customer_name: string | null;
|
|
20252
|
+
delivery_address: string | null;
|
|
20253
|
+
document_number: string | null;
|
|
20254
|
+
document_type_id: string | null;
|
|
20255
|
+
due_at: string | null;
|
|
20256
|
+
id: string;
|
|
20257
|
+
is_urgent: boolean;
|
|
20258
|
+
line_count: number;
|
|
20259
|
+
order_number: string | null;
|
|
20260
|
+
order_type: string | null;
|
|
20261
|
+
payload: import("../integrations/supabase/types").Json;
|
|
20262
|
+
print_count: number;
|
|
20263
|
+
print_job_id: string | null;
|
|
20264
|
+
printed_at: string | null;
|
|
20265
|
+
printed_by: string | null;
|
|
20266
|
+
printer_id: string | null;
|
|
20267
|
+
priority: number;
|
|
20268
|
+
reference: string | null;
|
|
20269
|
+
route: string | null;
|
|
20270
|
+
screen_id: string | null;
|
|
20271
|
+
station_id: string | null;
|
|
20272
|
+
status_id: string | null;
|
|
20273
|
+
updated_at: string;
|
|
20274
|
+
warnings: import("../integrations/supabase/types").Json;
|
|
20275
|
+
};
|
|
20276
|
+
SetofOptions: {
|
|
20277
|
+
from: "*";
|
|
20278
|
+
to: "pick_queue";
|
|
20279
|
+
isOneToOne: true;
|
|
20280
|
+
isSetofReturn: false;
|
|
20281
|
+
};
|
|
20282
|
+
};
|
|
19746
20283
|
pick_station_dashboard: {
|
|
19747
20284
|
Args: never;
|
|
19748
20285
|
Returns: {
|
|
@@ -19889,6 +20426,12 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
19889
20426
|
};
|
|
19890
20427
|
Returns: undefined;
|
|
19891
20428
|
};
|
|
20429
|
+
reset_stalled_floriday_stock_queue: {
|
|
20430
|
+
Args: {
|
|
20431
|
+
p_include_failed?: boolean;
|
|
20432
|
+
};
|
|
20433
|
+
Returns: number;
|
|
20434
|
+
};
|
|
19892
20435
|
resolve_group_allocation: {
|
|
19893
20436
|
Args: {
|
|
19894
20437
|
_needed: number;
|
|
@@ -19933,14 +20476,28 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
19933
20476
|
};
|
|
19934
20477
|
Returns: import("../integrations/supabase/types").Json;
|
|
19935
20478
|
};
|
|
20479
|
+
ruim_print_jobs_op: {
|
|
20480
|
+
Args: {
|
|
20481
|
+
_bewaar_dagen?: number;
|
|
20482
|
+
};
|
|
20483
|
+
Returns: number;
|
|
20484
|
+
};
|
|
19936
20485
|
run_floriday_continuous_stock_sync: {
|
|
19937
20486
|
Args: never;
|
|
19938
20487
|
Returns: undefined;
|
|
19939
20488
|
};
|
|
20489
|
+
run_floriday_stock_queue_process: {
|
|
20490
|
+
Args: never;
|
|
20491
|
+
Returns: undefined;
|
|
20492
|
+
};
|
|
19940
20493
|
run_logistics_tasks_dispatch: {
|
|
19941
20494
|
Args: never;
|
|
19942
20495
|
Returns: undefined;
|
|
19943
20496
|
};
|
|
20497
|
+
run_print_queue_ticks: {
|
|
20498
|
+
Args: never;
|
|
20499
|
+
Returns: number;
|
|
20500
|
+
};
|
|
19944
20501
|
run_twinfield_queue_tick: {
|
|
19945
20502
|
Args: never;
|
|
19946
20503
|
Returns: undefined;
|
|
@@ -20181,6 +20738,13 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
20181
20738
|
};
|
|
20182
20739
|
Returns: number;
|
|
20183
20740
|
};
|
|
20741
|
+
schedule_floriday_stock_queue_process: {
|
|
20742
|
+
Args: {
|
|
20743
|
+
p_apikey: string;
|
|
20744
|
+
p_url: string;
|
|
20745
|
+
};
|
|
20746
|
+
Returns: number;
|
|
20747
|
+
};
|
|
20184
20748
|
schedule_floriday_token_refresh: {
|
|
20185
20749
|
Args: {
|
|
20186
20750
|
p_apikey: string;
|
|
@@ -20321,6 +20885,15 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
20321
20885
|
};
|
|
20322
20886
|
Returns: undefined;
|
|
20323
20887
|
};
|
|
20888
|
+
trade_item_stock_duplicates: {
|
|
20889
|
+
Args: never;
|
|
20890
|
+
Returns: {
|
|
20891
|
+
keys: string[];
|
|
20892
|
+
product_id: string;
|
|
20893
|
+
product_name: string;
|
|
20894
|
+
row_count: number;
|
|
20895
|
+
}[];
|
|
20896
|
+
};
|
|
20324
20897
|
try_debtor_lock: {
|
|
20325
20898
|
Args: {
|
|
20326
20899
|
_group_key: string;
|
|
@@ -20370,7 +20943,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
20370
20943
|
};
|
|
20371
20944
|
Enums: {
|
|
20372
20945
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
20373
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
20946
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
20374
20947
|
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
20375
20948
|
doc_orientation: "portrait" | "landscape";
|
|
20376
20949
|
exact_env: "staging" | "live";
|
|
@@ -22087,7 +22660,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
22087
22660
|
city: string | null;
|
|
22088
22661
|
country: string | null;
|
|
22089
22662
|
created_at: string;
|
|
22090
|
-
customer_id: string
|
|
22663
|
+
customer_id: string;
|
|
22091
22664
|
external_key: string | null;
|
|
22092
22665
|
external_provider: string | null;
|
|
22093
22666
|
floriday_location_id: string | null;
|
|
@@ -22111,7 +22684,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
22111
22684
|
city?: string | null;
|
|
22112
22685
|
country?: string | null;
|
|
22113
22686
|
created_at?: string;
|
|
22114
|
-
customer_id
|
|
22687
|
+
customer_id: string;
|
|
22115
22688
|
external_key?: string | null;
|
|
22116
22689
|
external_provider?: string | null;
|
|
22117
22690
|
floriday_location_id?: string | null;
|
|
@@ -22135,7 +22708,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
22135
22708
|
city?: string | null;
|
|
22136
22709
|
country?: string | null;
|
|
22137
22710
|
created_at?: string;
|
|
22138
|
-
customer_id?: string
|
|
22711
|
+
customer_id?: string;
|
|
22139
22712
|
external_key?: string | null;
|
|
22140
22713
|
external_provider?: string | null;
|
|
22141
22714
|
floriday_location_id?: string | null;
|
|
@@ -26098,12 +26671,17 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
26098
26671
|
attempts: number;
|
|
26099
26672
|
connection_id: string;
|
|
26100
26673
|
created_at: string;
|
|
26674
|
+
desired_available: boolean | null;
|
|
26101
26675
|
gateway_attempt_id: string | null;
|
|
26102
26676
|
id: string;
|
|
26103
26677
|
last_error: string | null;
|
|
26678
|
+
locked_at: string | null;
|
|
26679
|
+
locked_by: string | null;
|
|
26680
|
+
next_attempt_at: string;
|
|
26104
26681
|
number_of_pieces: number;
|
|
26105
26682
|
sent_at: string | null;
|
|
26106
26683
|
status: string;
|
|
26684
|
+
superseded_by: string | null;
|
|
26107
26685
|
trade_item_id: string;
|
|
26108
26686
|
updated_at: string;
|
|
26109
26687
|
user_id: string;
|
|
@@ -26112,12 +26690,17 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
26112
26690
|
attempts?: number;
|
|
26113
26691
|
connection_id: string;
|
|
26114
26692
|
created_at?: string;
|
|
26693
|
+
desired_available?: boolean | null;
|
|
26115
26694
|
gateway_attempt_id?: string | null;
|
|
26116
26695
|
id?: string;
|
|
26117
26696
|
last_error?: string | null;
|
|
26697
|
+
locked_at?: string | null;
|
|
26698
|
+
locked_by?: string | null;
|
|
26699
|
+
next_attempt_at?: string;
|
|
26118
26700
|
number_of_pieces?: number;
|
|
26119
26701
|
sent_at?: string | null;
|
|
26120
26702
|
status?: string;
|
|
26703
|
+
superseded_by?: string | null;
|
|
26121
26704
|
trade_item_id: string;
|
|
26122
26705
|
updated_at?: string;
|
|
26123
26706
|
user_id: string;
|
|
@@ -26126,12 +26709,17 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
26126
26709
|
attempts?: number;
|
|
26127
26710
|
connection_id?: string;
|
|
26128
26711
|
created_at?: string;
|
|
26712
|
+
desired_available?: boolean | null;
|
|
26129
26713
|
gateway_attempt_id?: string | null;
|
|
26130
26714
|
id?: string;
|
|
26131
26715
|
last_error?: string | null;
|
|
26716
|
+
locked_at?: string | null;
|
|
26717
|
+
locked_by?: string | null;
|
|
26718
|
+
next_attempt_at?: string;
|
|
26132
26719
|
number_of_pieces?: number;
|
|
26133
26720
|
sent_at?: string | null;
|
|
26134
26721
|
status?: string;
|
|
26722
|
+
superseded_by?: string | null;
|
|
26135
26723
|
trade_item_id?: string;
|
|
26136
26724
|
updated_at?: string;
|
|
26137
26725
|
user_id?: string;
|
|
@@ -26868,6 +27456,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
26868
27456
|
Row: {
|
|
26869
27457
|
buyer_organization_id: string | null;
|
|
26870
27458
|
connection_id: string;
|
|
27459
|
+
controlled_at: string | null;
|
|
26871
27460
|
created_at: string;
|
|
26872
27461
|
data: import("../integrations/supabase/types").Json;
|
|
26873
27462
|
floriday_id: string;
|
|
@@ -26879,6 +27468,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
26879
27468
|
Insert: {
|
|
26880
27469
|
buyer_organization_id?: string | null;
|
|
26881
27470
|
connection_id: string;
|
|
27471
|
+
controlled_at?: string | null;
|
|
26882
27472
|
created_at?: string;
|
|
26883
27473
|
data: import("../integrations/supabase/types").Json;
|
|
26884
27474
|
floriday_id: string;
|
|
@@ -26890,6 +27480,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
26890
27480
|
Update: {
|
|
26891
27481
|
buyer_organization_id?: string | null;
|
|
26892
27482
|
connection_id?: string;
|
|
27483
|
+
controlled_at?: string | null;
|
|
26893
27484
|
created_at?: string;
|
|
26894
27485
|
data?: import("../integrations/supabase/types").Json;
|
|
26895
27486
|
floriday_id?: string;
|
|
@@ -27791,6 +28382,54 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
27791
28382
|
};
|
|
27792
28383
|
Relationships: [];
|
|
27793
28384
|
};
|
|
28385
|
+
invoice_timing_settings: {
|
|
28386
|
+
Row: {
|
|
28387
|
+
anchor: string;
|
|
28388
|
+
business_days_only: boolean;
|
|
28389
|
+
created_at: string;
|
|
28390
|
+
enabled: boolean;
|
|
28391
|
+
id: string;
|
|
28392
|
+
offset_days: number;
|
|
28393
|
+
pickup_anchor: string;
|
|
28394
|
+
pickup_business_days_only: boolean;
|
|
28395
|
+
pickup_offset_days: number;
|
|
28396
|
+
pickup_time_of_day: string;
|
|
28397
|
+
singleton: boolean;
|
|
28398
|
+
time_of_day: string;
|
|
28399
|
+
updated_at: string;
|
|
28400
|
+
};
|
|
28401
|
+
Insert: {
|
|
28402
|
+
anchor?: string;
|
|
28403
|
+
business_days_only?: boolean;
|
|
28404
|
+
created_at?: string;
|
|
28405
|
+
enabled?: boolean;
|
|
28406
|
+
id?: string;
|
|
28407
|
+
offset_days?: number;
|
|
28408
|
+
pickup_anchor?: string;
|
|
28409
|
+
pickup_business_days_only?: boolean;
|
|
28410
|
+
pickup_offset_days?: number;
|
|
28411
|
+
pickup_time_of_day?: string;
|
|
28412
|
+
singleton?: boolean;
|
|
28413
|
+
time_of_day?: string;
|
|
28414
|
+
updated_at?: string;
|
|
28415
|
+
};
|
|
28416
|
+
Update: {
|
|
28417
|
+
anchor?: string;
|
|
28418
|
+
business_days_only?: boolean;
|
|
28419
|
+
created_at?: string;
|
|
28420
|
+
enabled?: boolean;
|
|
28421
|
+
id?: string;
|
|
28422
|
+
offset_days?: number;
|
|
28423
|
+
pickup_anchor?: string;
|
|
28424
|
+
pickup_business_days_only?: boolean;
|
|
28425
|
+
pickup_offset_days?: number;
|
|
28426
|
+
pickup_time_of_day?: string;
|
|
28427
|
+
singleton?: boolean;
|
|
28428
|
+
time_of_day?: string;
|
|
28429
|
+
updated_at?: string;
|
|
28430
|
+
};
|
|
28431
|
+
Relationships: [];
|
|
28432
|
+
};
|
|
27794
28433
|
itk_contact_persons: {
|
|
27795
28434
|
Row: {
|
|
27796
28435
|
created_at: string;
|
|
@@ -28880,6 +29519,69 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
28880
29519
|
};
|
|
28881
29520
|
Relationships: [];
|
|
28882
29521
|
};
|
|
29522
|
+
logistics_floriday_pushes: {
|
|
29523
|
+
Row: {
|
|
29524
|
+
attempts: number;
|
|
29525
|
+
created_at: string;
|
|
29526
|
+
first_queued_at: string;
|
|
29527
|
+
fulfillment_order_id: string | null;
|
|
29528
|
+
id: string;
|
|
29529
|
+
last_error: string | null;
|
|
29530
|
+
last_error_at: string | null;
|
|
29531
|
+
last_sent_hash: string | null;
|
|
29532
|
+
locked_by: string | null;
|
|
29533
|
+
locked_until: string | null;
|
|
29534
|
+
next_attempt_at: string;
|
|
29535
|
+
order_ref: string;
|
|
29536
|
+
payload: import("../integrations/supabase/types").Json;
|
|
29537
|
+
payload_hash: string | null;
|
|
29538
|
+
revision: number;
|
|
29539
|
+
sent_at: string | null;
|
|
29540
|
+
status: string;
|
|
29541
|
+
updated_at: string;
|
|
29542
|
+
};
|
|
29543
|
+
Insert: {
|
|
29544
|
+
attempts?: number;
|
|
29545
|
+
created_at?: string;
|
|
29546
|
+
first_queued_at?: string;
|
|
29547
|
+
fulfillment_order_id?: string | null;
|
|
29548
|
+
id?: string;
|
|
29549
|
+
last_error?: string | null;
|
|
29550
|
+
last_error_at?: string | null;
|
|
29551
|
+
last_sent_hash?: string | null;
|
|
29552
|
+
locked_by?: string | null;
|
|
29553
|
+
locked_until?: string | null;
|
|
29554
|
+
next_attempt_at?: string;
|
|
29555
|
+
order_ref: string;
|
|
29556
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
29557
|
+
payload_hash?: string | null;
|
|
29558
|
+
revision?: number;
|
|
29559
|
+
sent_at?: string | null;
|
|
29560
|
+
status?: string;
|
|
29561
|
+
updated_at?: string;
|
|
29562
|
+
};
|
|
29563
|
+
Update: {
|
|
29564
|
+
attempts?: number;
|
|
29565
|
+
created_at?: string;
|
|
29566
|
+
first_queued_at?: string;
|
|
29567
|
+
fulfillment_order_id?: string | null;
|
|
29568
|
+
id?: string;
|
|
29569
|
+
last_error?: string | null;
|
|
29570
|
+
last_error_at?: string | null;
|
|
29571
|
+
last_sent_hash?: string | null;
|
|
29572
|
+
locked_by?: string | null;
|
|
29573
|
+
locked_until?: string | null;
|
|
29574
|
+
next_attempt_at?: string;
|
|
29575
|
+
order_ref?: string;
|
|
29576
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
29577
|
+
payload_hash?: string | null;
|
|
29578
|
+
revision?: number;
|
|
29579
|
+
sent_at?: string | null;
|
|
29580
|
+
status?: string;
|
|
29581
|
+
updated_at?: string;
|
|
29582
|
+
};
|
|
29583
|
+
Relationships: [];
|
|
29584
|
+
};
|
|
28883
29585
|
logistics_formulas: {
|
|
28884
29586
|
Row: {
|
|
28885
29587
|
created_at: string;
|
|
@@ -29743,14 +30445,17 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
29743
30445
|
};
|
|
29744
30446
|
mailbox_messages: {
|
|
29745
30447
|
Row: {
|
|
30448
|
+
attachments: import("../integrations/supabase/types").Json;
|
|
29746
30449
|
body_html: string | null;
|
|
29747
30450
|
body_text: string | null;
|
|
30451
|
+
cc_recipients: import("../integrations/supabase/types").Json;
|
|
29748
30452
|
connection_id: string | null;
|
|
29749
30453
|
created_at: string;
|
|
29750
30454
|
error_message: string | null;
|
|
29751
30455
|
external_id: string | null;
|
|
29752
30456
|
from_email: string | null;
|
|
29753
30457
|
from_name: string | null;
|
|
30458
|
+
has_attachments: boolean;
|
|
29754
30459
|
id: string;
|
|
29755
30460
|
message_id: string | null;
|
|
29756
30461
|
profile_id: string | null;
|
|
@@ -29758,18 +30463,22 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
29758
30463
|
received_at: string | null;
|
|
29759
30464
|
status: string;
|
|
29760
30465
|
subject: string | null;
|
|
30466
|
+
to_recipients: import("../integrations/supabase/types").Json;
|
|
29761
30467
|
uid: number | null;
|
|
29762
30468
|
updated_at: string;
|
|
29763
30469
|
};
|
|
29764
30470
|
Insert: {
|
|
30471
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
29765
30472
|
body_html?: string | null;
|
|
29766
30473
|
body_text?: string | null;
|
|
30474
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
29767
30475
|
connection_id?: string | null;
|
|
29768
30476
|
created_at?: string;
|
|
29769
30477
|
error_message?: string | null;
|
|
29770
30478
|
external_id?: string | null;
|
|
29771
30479
|
from_email?: string | null;
|
|
29772
30480
|
from_name?: string | null;
|
|
30481
|
+
has_attachments?: boolean;
|
|
29773
30482
|
id?: string;
|
|
29774
30483
|
message_id?: string | null;
|
|
29775
30484
|
profile_id?: string | null;
|
|
@@ -29777,18 +30486,22 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
29777
30486
|
received_at?: string | null;
|
|
29778
30487
|
status?: string;
|
|
29779
30488
|
subject?: string | null;
|
|
30489
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
29780
30490
|
uid?: number | null;
|
|
29781
30491
|
updated_at?: string;
|
|
29782
30492
|
};
|
|
29783
30493
|
Update: {
|
|
30494
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
29784
30495
|
body_html?: string | null;
|
|
29785
30496
|
body_text?: string | null;
|
|
30497
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
29786
30498
|
connection_id?: string | null;
|
|
29787
30499
|
created_at?: string;
|
|
29788
30500
|
error_message?: string | null;
|
|
29789
30501
|
external_id?: string | null;
|
|
29790
30502
|
from_email?: string | null;
|
|
29791
30503
|
from_name?: string | null;
|
|
30504
|
+
has_attachments?: boolean;
|
|
29792
30505
|
id?: string;
|
|
29793
30506
|
message_id?: string | null;
|
|
29794
30507
|
profile_id?: string | null;
|
|
@@ -29796,6 +30509,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
29796
30509
|
received_at?: string | null;
|
|
29797
30510
|
status?: string;
|
|
29798
30511
|
subject?: string | null;
|
|
30512
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
29799
30513
|
uid?: number | null;
|
|
29800
30514
|
updated_at?: string;
|
|
29801
30515
|
};
|
|
@@ -30203,6 +30917,36 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
30203
30917
|
};
|
|
30204
30918
|
Relationships: [];
|
|
30205
30919
|
};
|
|
30920
|
+
module_registry: {
|
|
30921
|
+
Row: {
|
|
30922
|
+
created_at: string;
|
|
30923
|
+
is_active: boolean;
|
|
30924
|
+
last_seen_at: string;
|
|
30925
|
+
module_id: string;
|
|
30926
|
+
name: string;
|
|
30927
|
+
shell_id: string | null;
|
|
30928
|
+
sort_order: number | null;
|
|
30929
|
+
};
|
|
30930
|
+
Insert: {
|
|
30931
|
+
created_at?: string;
|
|
30932
|
+
is_active?: boolean;
|
|
30933
|
+
last_seen_at?: string;
|
|
30934
|
+
module_id: string;
|
|
30935
|
+
name: string;
|
|
30936
|
+
shell_id?: string | null;
|
|
30937
|
+
sort_order?: number | null;
|
|
30938
|
+
};
|
|
30939
|
+
Update: {
|
|
30940
|
+
created_at?: string;
|
|
30941
|
+
is_active?: boolean;
|
|
30942
|
+
last_seen_at?: string;
|
|
30943
|
+
module_id?: string;
|
|
30944
|
+
name?: string;
|
|
30945
|
+
shell_id?: string | null;
|
|
30946
|
+
sort_order?: number | null;
|
|
30947
|
+
};
|
|
30948
|
+
Relationships: [];
|
|
30949
|
+
};
|
|
30206
30950
|
module_runtime_config: {
|
|
30207
30951
|
Row: {
|
|
30208
30952
|
key: string;
|
|
@@ -31262,6 +32006,42 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
31262
32006
|
};
|
|
31263
32007
|
Relationships: [];
|
|
31264
32008
|
};
|
|
32009
|
+
order_invoice_links: {
|
|
32010
|
+
Row: {
|
|
32011
|
+
attempts: number;
|
|
32012
|
+
created_at: string;
|
|
32013
|
+
error_message: string | null;
|
|
32014
|
+
id: string;
|
|
32015
|
+
invoice_number: string | null;
|
|
32016
|
+
order_id: string;
|
|
32017
|
+
processed_at: string | null;
|
|
32018
|
+
status: string;
|
|
32019
|
+
updated_at: string;
|
|
32020
|
+
};
|
|
32021
|
+
Insert: {
|
|
32022
|
+
attempts?: number;
|
|
32023
|
+
created_at?: string;
|
|
32024
|
+
error_message?: string | null;
|
|
32025
|
+
id?: string;
|
|
32026
|
+
invoice_number?: string | null;
|
|
32027
|
+
order_id: string;
|
|
32028
|
+
processed_at?: string | null;
|
|
32029
|
+
status?: string;
|
|
32030
|
+
updated_at?: string;
|
|
32031
|
+
};
|
|
32032
|
+
Update: {
|
|
32033
|
+
attempts?: number;
|
|
32034
|
+
created_at?: string;
|
|
32035
|
+
error_message?: string | null;
|
|
32036
|
+
id?: string;
|
|
32037
|
+
invoice_number?: string | null;
|
|
32038
|
+
order_id?: string;
|
|
32039
|
+
processed_at?: string | null;
|
|
32040
|
+
status?: string;
|
|
32041
|
+
updated_at?: string;
|
|
32042
|
+
};
|
|
32043
|
+
Relationships: [];
|
|
32044
|
+
};
|
|
31265
32045
|
order_items: {
|
|
31266
32046
|
Row: {
|
|
31267
32047
|
crates_per_layer: number | null;
|
|
@@ -31444,6 +32224,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
31444
32224
|
delivery_date: string | null;
|
|
31445
32225
|
floriday_sales_order_id: string | null;
|
|
31446
32226
|
id: string;
|
|
32227
|
+
invoice_due_at: string | null;
|
|
31447
32228
|
is_reservation: boolean;
|
|
31448
32229
|
notes: string | null;
|
|
31449
32230
|
order_date: string;
|
|
@@ -31465,6 +32246,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
31465
32246
|
delivery_date?: string | null;
|
|
31466
32247
|
floriday_sales_order_id?: string | null;
|
|
31467
32248
|
id?: string;
|
|
32249
|
+
invoice_due_at?: string | null;
|
|
31468
32250
|
is_reservation?: boolean;
|
|
31469
32251
|
notes?: string | null;
|
|
31470
32252
|
order_date?: string;
|
|
@@ -31486,6 +32268,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
31486
32268
|
delivery_date?: string | null;
|
|
31487
32269
|
floriday_sales_order_id?: string | null;
|
|
31488
32270
|
id?: string;
|
|
32271
|
+
invoice_due_at?: string | null;
|
|
31489
32272
|
is_reservation?: boolean;
|
|
31490
32273
|
notes?: string | null;
|
|
31491
32274
|
order_date?: string;
|
|
@@ -32682,22 +33465,27 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
32682
33465
|
created_at: string;
|
|
32683
33466
|
documentnaam: string;
|
|
32684
33467
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
33468
|
+
extern_job_id: string | null;
|
|
32685
33469
|
foutmelding: string | null;
|
|
32686
33470
|
gebruiker_id: string | null;
|
|
32687
33471
|
gebruiker_naam: string;
|
|
32688
33472
|
gestart_op: string | null;
|
|
32689
33473
|
id: string;
|
|
33474
|
+
idempotentie_sleutel: string | null;
|
|
32690
33475
|
is_herprint: boolean;
|
|
32691
33476
|
kopieen: number;
|
|
32692
33477
|
layout_id: string | null;
|
|
32693
33478
|
opgepakt_op: string | null;
|
|
32694
33479
|
paginas: number;
|
|
32695
33480
|
payload: import("../integrations/supabase/types").Json;
|
|
33481
|
+
pdf_base64: string | null;
|
|
33482
|
+
pdf_url: string | null;
|
|
32696
33483
|
pogingen: number;
|
|
32697
33484
|
printer_id: string | null;
|
|
32698
33485
|
render_html: string | null;
|
|
32699
33486
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
32700
33487
|
updated_at: string;
|
|
33488
|
+
volgende_poging: string | null;
|
|
32701
33489
|
voltooid_op: string | null;
|
|
32702
33490
|
};
|
|
32703
33491
|
Insert: {
|
|
@@ -32706,22 +33494,27 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
32706
33494
|
created_at?: string;
|
|
32707
33495
|
documentnaam?: string;
|
|
32708
33496
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
33497
|
+
extern_job_id?: string | null;
|
|
32709
33498
|
foutmelding?: string | null;
|
|
32710
33499
|
gebruiker_id?: string | null;
|
|
32711
33500
|
gebruiker_naam?: string;
|
|
32712
33501
|
gestart_op?: string | null;
|
|
32713
33502
|
id?: string;
|
|
33503
|
+
idempotentie_sleutel?: string | null;
|
|
32714
33504
|
is_herprint?: boolean;
|
|
32715
33505
|
kopieen?: number;
|
|
32716
33506
|
layout_id?: string | null;
|
|
32717
33507
|
opgepakt_op?: string | null;
|
|
32718
33508
|
paginas?: number;
|
|
32719
33509
|
payload?: import("../integrations/supabase/types").Json;
|
|
33510
|
+
pdf_base64?: string | null;
|
|
33511
|
+
pdf_url?: string | null;
|
|
32720
33512
|
pogingen?: number;
|
|
32721
33513
|
printer_id?: string | null;
|
|
32722
33514
|
render_html?: string | null;
|
|
32723
33515
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
32724
33516
|
updated_at?: string;
|
|
33517
|
+
volgende_poging?: string | null;
|
|
32725
33518
|
voltooid_op?: string | null;
|
|
32726
33519
|
};
|
|
32727
33520
|
Update: {
|
|
@@ -32730,22 +33523,27 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
32730
33523
|
created_at?: string;
|
|
32731
33524
|
documentnaam?: string;
|
|
32732
33525
|
documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
33526
|
+
extern_job_id?: string | null;
|
|
32733
33527
|
foutmelding?: string | null;
|
|
32734
33528
|
gebruiker_id?: string | null;
|
|
32735
33529
|
gebruiker_naam?: string;
|
|
32736
33530
|
gestart_op?: string | null;
|
|
32737
33531
|
id?: string;
|
|
33532
|
+
idempotentie_sleutel?: string | null;
|
|
32738
33533
|
is_herprint?: boolean;
|
|
32739
33534
|
kopieen?: number;
|
|
32740
33535
|
layout_id?: string | null;
|
|
32741
33536
|
opgepakt_op?: string | null;
|
|
32742
33537
|
paginas?: number;
|
|
32743
33538
|
payload?: import("../integrations/supabase/types").Json;
|
|
33539
|
+
pdf_base64?: string | null;
|
|
33540
|
+
pdf_url?: string | null;
|
|
32744
33541
|
pogingen?: number;
|
|
32745
33542
|
printer_id?: string | null;
|
|
32746
33543
|
render_html?: string | null;
|
|
32747
33544
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
32748
33545
|
updated_at?: string;
|
|
33546
|
+
volgende_poging?: string | null;
|
|
32749
33547
|
voltooid_op?: string | null;
|
|
32750
33548
|
};
|
|
32751
33549
|
Relationships: [{
|
|
@@ -32768,6 +33566,63 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
32768
33566
|
referencedColumns: ["id"];
|
|
32769
33567
|
}];
|
|
32770
33568
|
};
|
|
33569
|
+
print_queue_runners: {
|
|
33570
|
+
Row: {
|
|
33571
|
+
actief: boolean;
|
|
33572
|
+
basis_url: string;
|
|
33573
|
+
created_at: string;
|
|
33574
|
+
id: string;
|
|
33575
|
+
laatst_gezien: string;
|
|
33576
|
+
tick_sleutel: string;
|
|
33577
|
+
updated_at: string;
|
|
33578
|
+
};
|
|
33579
|
+
Insert: {
|
|
33580
|
+
actief?: boolean;
|
|
33581
|
+
basis_url: string;
|
|
33582
|
+
created_at?: string;
|
|
33583
|
+
id?: string;
|
|
33584
|
+
laatst_gezien?: string;
|
|
33585
|
+
tick_sleutel?: string;
|
|
33586
|
+
updated_at?: string;
|
|
33587
|
+
};
|
|
33588
|
+
Update: {
|
|
33589
|
+
actief?: boolean;
|
|
33590
|
+
basis_url?: string;
|
|
33591
|
+
created_at?: string;
|
|
33592
|
+
id?: string;
|
|
33593
|
+
laatst_gezien?: string;
|
|
33594
|
+
tick_sleutel?: string;
|
|
33595
|
+
updated_at?: string;
|
|
33596
|
+
};
|
|
33597
|
+
Relationships: [];
|
|
33598
|
+
};
|
|
33599
|
+
print_queue_settings: {
|
|
33600
|
+
Row: {
|
|
33601
|
+
bewaar_bestanden_dagen: number;
|
|
33602
|
+
bewaar_opdrachten_dagen: number;
|
|
33603
|
+
created_at: string;
|
|
33604
|
+
dubbel_venster_minuten: number;
|
|
33605
|
+
id: string;
|
|
33606
|
+
updated_at: string;
|
|
33607
|
+
};
|
|
33608
|
+
Insert: {
|
|
33609
|
+
bewaar_bestanden_dagen?: number;
|
|
33610
|
+
bewaar_opdrachten_dagen?: number;
|
|
33611
|
+
created_at?: string;
|
|
33612
|
+
dubbel_venster_minuten?: number;
|
|
33613
|
+
id?: string;
|
|
33614
|
+
updated_at?: string;
|
|
33615
|
+
};
|
|
33616
|
+
Update: {
|
|
33617
|
+
bewaar_bestanden_dagen?: number;
|
|
33618
|
+
bewaar_opdrachten_dagen?: number;
|
|
33619
|
+
created_at?: string;
|
|
33620
|
+
dubbel_venster_minuten?: number;
|
|
33621
|
+
id?: string;
|
|
33622
|
+
updated_at?: string;
|
|
33623
|
+
};
|
|
33624
|
+
Relationships: [];
|
|
33625
|
+
};
|
|
32771
33626
|
print_rules: {
|
|
32772
33627
|
Row: {
|
|
32773
33628
|
actief: boolean;
|
|
@@ -32928,6 +33783,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
32928
33783
|
agent_id: string | null;
|
|
32929
33784
|
created_at: string;
|
|
32930
33785
|
driver: string;
|
|
33786
|
+
extern_printer_id: string | null;
|
|
32931
33787
|
id: string;
|
|
32932
33788
|
ip_adres: string | null;
|
|
32933
33789
|
laatst_gezien: string | null;
|
|
@@ -32949,6 +33805,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
32949
33805
|
agent_id?: string | null;
|
|
32950
33806
|
created_at?: string;
|
|
32951
33807
|
driver?: string;
|
|
33808
|
+
extern_printer_id?: string | null;
|
|
32952
33809
|
id?: string;
|
|
32953
33810
|
ip_adres?: string | null;
|
|
32954
33811
|
laatst_gezien?: string | null;
|
|
@@ -32970,6 +33827,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
32970
33827
|
agent_id?: string | null;
|
|
32971
33828
|
created_at?: string;
|
|
32972
33829
|
driver?: string;
|
|
33830
|
+
extern_printer_id?: string | null;
|
|
32973
33831
|
id?: string;
|
|
32974
33832
|
ip_adres?: string | null;
|
|
32975
33833
|
laatst_gezien?: string | null;
|
|
@@ -35605,6 +36463,8 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
35605
36463
|
};
|
|
35606
36464
|
twinfield_invoice_settings: {
|
|
35607
36465
|
Row: {
|
|
36466
|
+
auto_invoice_enabled: boolean;
|
|
36467
|
+
auto_invoice_trigger_statuses: string[];
|
|
35608
36468
|
created_at: string;
|
|
35609
36469
|
debtor_gl_account: string;
|
|
35610
36470
|
default_credit_invoice_type: string | null;
|
|
@@ -35625,6 +36485,8 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
35625
36485
|
vat_code_export: string | null;
|
|
35626
36486
|
};
|
|
35627
36487
|
Insert: {
|
|
36488
|
+
auto_invoice_enabled?: boolean;
|
|
36489
|
+
auto_invoice_trigger_statuses?: string[];
|
|
35628
36490
|
created_at?: string;
|
|
35629
36491
|
debtor_gl_account?: string;
|
|
35630
36492
|
default_credit_invoice_type?: string | null;
|
|
@@ -35645,6 +36507,8 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
35645
36507
|
vat_code_export?: string | null;
|
|
35646
36508
|
};
|
|
35647
36509
|
Update: {
|
|
36510
|
+
auto_invoice_enabled?: boolean;
|
|
36511
|
+
auto_invoice_trigger_statuses?: string[];
|
|
35648
36512
|
created_at?: string;
|
|
35649
36513
|
debtor_gl_account?: string;
|
|
35650
36514
|
default_credit_invoice_type?: string | null;
|
|
@@ -36707,6 +37571,33 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
36707
37571
|
referencedColumns: ["id"];
|
|
36708
37572
|
}];
|
|
36709
37573
|
};
|
|
37574
|
+
user_module_permissions: {
|
|
37575
|
+
Row: {
|
|
37576
|
+
created_at: string;
|
|
37577
|
+
id: string;
|
|
37578
|
+
module_id: string;
|
|
37579
|
+
permission: string;
|
|
37580
|
+
updated_at: string;
|
|
37581
|
+
user_id: string;
|
|
37582
|
+
};
|
|
37583
|
+
Insert: {
|
|
37584
|
+
created_at?: string;
|
|
37585
|
+
id?: string;
|
|
37586
|
+
module_id: string;
|
|
37587
|
+
permission: string;
|
|
37588
|
+
updated_at?: string;
|
|
37589
|
+
user_id: string;
|
|
37590
|
+
};
|
|
37591
|
+
Update: {
|
|
37592
|
+
created_at?: string;
|
|
37593
|
+
id?: string;
|
|
37594
|
+
module_id?: string;
|
|
37595
|
+
permission?: string;
|
|
37596
|
+
updated_at?: string;
|
|
37597
|
+
user_id?: string;
|
|
37598
|
+
};
|
|
37599
|
+
Relationships: [];
|
|
37600
|
+
};
|
|
36710
37601
|
user_roles: {
|
|
36711
37602
|
Row: {
|
|
36712
37603
|
created_at: string;
|
|
@@ -38540,6 +39431,10 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
38540
39431
|
processed_items: number;
|
|
38541
39432
|
}[];
|
|
38542
39433
|
};
|
|
39434
|
+
backfill_order_auto_invoice_queue: {
|
|
39435
|
+
Args: never;
|
|
39436
|
+
Returns: number;
|
|
39437
|
+
};
|
|
38543
39438
|
calculate_layer_stock: {
|
|
38544
39439
|
Args: {
|
|
38545
39440
|
p_product_id: string;
|
|
@@ -38574,6 +39469,77 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
38574
39469
|
};
|
|
38575
39470
|
Returns: import("../integrations/supabase/types").Json;
|
|
38576
39471
|
};
|
|
39472
|
+
claim_cloud_print_jobs: {
|
|
39473
|
+
Args: {
|
|
39474
|
+
_max?: number;
|
|
39475
|
+
};
|
|
39476
|
+
Returns: {
|
|
39477
|
+
agent_id: string | null;
|
|
39478
|
+
bron_job_id: string | null;
|
|
39479
|
+
created_at: string;
|
|
39480
|
+
documentnaam: string;
|
|
39481
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
39482
|
+
extern_job_id: string | null;
|
|
39483
|
+
foutmelding: string | null;
|
|
39484
|
+
gebruiker_id: string | null;
|
|
39485
|
+
gebruiker_naam: string;
|
|
39486
|
+
gestart_op: string | null;
|
|
39487
|
+
id: string;
|
|
39488
|
+
idempotentie_sleutel: string | null;
|
|
39489
|
+
is_herprint: boolean;
|
|
39490
|
+
kopieen: number;
|
|
39491
|
+
layout_id: string | null;
|
|
39492
|
+
opgepakt_op: string | null;
|
|
39493
|
+
paginas: number;
|
|
39494
|
+
payload: import("../integrations/supabase/types").Json;
|
|
39495
|
+
pdf_base64: string | null;
|
|
39496
|
+
pdf_url: string | null;
|
|
39497
|
+
pogingen: number;
|
|
39498
|
+
printer_id: string | null;
|
|
39499
|
+
render_html: string | null;
|
|
39500
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
39501
|
+
updated_at: string;
|
|
39502
|
+
volgende_poging: string | null;
|
|
39503
|
+
voltooid_op: string | null;
|
|
39504
|
+
}[];
|
|
39505
|
+
SetofOptions: {
|
|
39506
|
+
from: "*";
|
|
39507
|
+
to: "print_jobs";
|
|
39508
|
+
isOneToOne: false;
|
|
39509
|
+
isSetofReturn: true;
|
|
39510
|
+
};
|
|
39511
|
+
};
|
|
39512
|
+
claim_floriday_stock_queue: {
|
|
39513
|
+
Args: {
|
|
39514
|
+
p_limit?: number;
|
|
39515
|
+
p_worker?: string;
|
|
39516
|
+
};
|
|
39517
|
+
Returns: {
|
|
39518
|
+
attempts: number;
|
|
39519
|
+
connection_id: string;
|
|
39520
|
+
created_at: string;
|
|
39521
|
+
desired_available: boolean | null;
|
|
39522
|
+
gateway_attempt_id: string | null;
|
|
39523
|
+
id: string;
|
|
39524
|
+
last_error: string | null;
|
|
39525
|
+
locked_at: string | null;
|
|
39526
|
+
locked_by: string | null;
|
|
39527
|
+
next_attempt_at: string;
|
|
39528
|
+
number_of_pieces: number;
|
|
39529
|
+
sent_at: string | null;
|
|
39530
|
+
status: string;
|
|
39531
|
+
superseded_by: string | null;
|
|
39532
|
+
trade_item_id: string;
|
|
39533
|
+
updated_at: string;
|
|
39534
|
+
user_id: string;
|
|
39535
|
+
}[];
|
|
39536
|
+
SetofOptions: {
|
|
39537
|
+
from: "*";
|
|
39538
|
+
to: "floriday_continuous_stock_queue";
|
|
39539
|
+
isOneToOne: false;
|
|
39540
|
+
isSetofReturn: true;
|
|
39541
|
+
};
|
|
39542
|
+
};
|
|
38577
39543
|
claim_logistics_tasks: {
|
|
38578
39544
|
Args: {
|
|
38579
39545
|
_limit?: number;
|
|
@@ -38633,22 +39599,27 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
38633
39599
|
created_at: string;
|
|
38634
39600
|
documentnaam: string;
|
|
38635
39601
|
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
39602
|
+
extern_job_id: string | null;
|
|
38636
39603
|
foutmelding: string | null;
|
|
38637
39604
|
gebruiker_id: string | null;
|
|
38638
39605
|
gebruiker_naam: string;
|
|
38639
39606
|
gestart_op: string | null;
|
|
38640
39607
|
id: string;
|
|
39608
|
+
idempotentie_sleutel: string | null;
|
|
38641
39609
|
is_herprint: boolean;
|
|
38642
39610
|
kopieen: number;
|
|
38643
39611
|
layout_id: string | null;
|
|
38644
39612
|
opgepakt_op: string | null;
|
|
38645
39613
|
paginas: number;
|
|
38646
39614
|
payload: import("../integrations/supabase/types").Json;
|
|
39615
|
+
pdf_base64: string | null;
|
|
39616
|
+
pdf_url: string | null;
|
|
38647
39617
|
pogingen: number;
|
|
38648
39618
|
printer_id: string | null;
|
|
38649
39619
|
render_html: string | null;
|
|
38650
39620
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
38651
39621
|
updated_at: string;
|
|
39622
|
+
volgende_poging: string | null;
|
|
38652
39623
|
voltooid_op: string | null;
|
|
38653
39624
|
}[];
|
|
38654
39625
|
SetofOptions: {
|
|
@@ -38686,10 +39657,28 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
38686
39657
|
isSetofReturn: true;
|
|
38687
39658
|
};
|
|
38688
39659
|
};
|
|
39660
|
+
cleanup_floriday_stock_queue: {
|
|
39661
|
+
Args: never;
|
|
39662
|
+
Returns: undefined;
|
|
39663
|
+
};
|
|
38689
39664
|
cleanup_old_bookings: {
|
|
38690
39665
|
Args: never;
|
|
38691
39666
|
Returns: undefined;
|
|
38692
39667
|
};
|
|
39668
|
+
cleanup_voorraad_module_history: {
|
|
39669
|
+
Args: never;
|
|
39670
|
+
Returns: undefined;
|
|
39671
|
+
};
|
|
39672
|
+
complete_floriday_stock_queue: {
|
|
39673
|
+
Args: {
|
|
39674
|
+
p_attempt_id?: string;
|
|
39675
|
+
p_error?: string;
|
|
39676
|
+
p_id: string;
|
|
39677
|
+
p_ok: boolean;
|
|
39678
|
+
p_permanent?: boolean;
|
|
39679
|
+
};
|
|
39680
|
+
Returns: undefined;
|
|
39681
|
+
};
|
|
38693
39682
|
consume_bom_for_production: {
|
|
38694
39683
|
Args: {
|
|
38695
39684
|
p_connection_id: string;
|
|
@@ -38801,6 +39790,13 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
38801
39790
|
};
|
|
38802
39791
|
Returns: import("../integrations/supabase/types").Json;
|
|
38803
39792
|
};
|
|
39793
|
+
effective_module_permission: {
|
|
39794
|
+
Args: {
|
|
39795
|
+
_module_id: string;
|
|
39796
|
+
_user_id: string;
|
|
39797
|
+
};
|
|
39798
|
+
Returns: string;
|
|
39799
|
+
};
|
|
38804
39800
|
email_auth_decrypt: {
|
|
38805
39801
|
Args: {
|
|
38806
39802
|
cipher: string;
|
|
@@ -39604,6 +40600,51 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
39604
40600
|
isSetofReturn: false;
|
|
39605
40601
|
};
|
|
39606
40602
|
};
|
|
40603
|
+
logistics_floriday_claim_pushes: {
|
|
40604
|
+
Args: {
|
|
40605
|
+
_lease_seconds?: number;
|
|
40606
|
+
_limit?: number;
|
|
40607
|
+
_worker?: string;
|
|
40608
|
+
};
|
|
40609
|
+
Returns: {
|
|
40610
|
+
attempts: number;
|
|
40611
|
+
fulfillment_order_id: string;
|
|
40612
|
+
id: string;
|
|
40613
|
+
last_sent_hash: string;
|
|
40614
|
+
order_ref: string;
|
|
40615
|
+
payload: import("../integrations/supabase/types").Json;
|
|
40616
|
+
payload_hash: string;
|
|
40617
|
+
revision: number;
|
|
40618
|
+
}[];
|
|
40619
|
+
};
|
|
40620
|
+
logistics_floriday_finish_push: {
|
|
40621
|
+
Args: {
|
|
40622
|
+
_error?: string;
|
|
40623
|
+
_fulfillment_order_id?: string;
|
|
40624
|
+
_id: string;
|
|
40625
|
+
_max_age_hours?: number;
|
|
40626
|
+
_max_attempts?: number;
|
|
40627
|
+
_ok: boolean;
|
|
40628
|
+
_permanent?: boolean;
|
|
40629
|
+
_revision: number;
|
|
40630
|
+
_sent_hash?: string;
|
|
40631
|
+
};
|
|
40632
|
+
Returns: string;
|
|
40633
|
+
};
|
|
40634
|
+
logistics_floriday_prune_pushes: {
|
|
40635
|
+
Args: {
|
|
40636
|
+
_days?: number;
|
|
40637
|
+
};
|
|
40638
|
+
Returns: number;
|
|
40639
|
+
};
|
|
40640
|
+
logistics_floriday_queue_push: {
|
|
40641
|
+
Args: {
|
|
40642
|
+
_order_ref: string;
|
|
40643
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
40644
|
+
_payload_hash?: string;
|
|
40645
|
+
};
|
|
40646
|
+
Returns: string;
|
|
40647
|
+
};
|
|
39607
40648
|
logistics_live_carriers: {
|
|
39608
40649
|
Args: {
|
|
39609
40650
|
p_order_ref: string;
|
|
@@ -39894,6 +40935,13 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
39894
40935
|
};
|
|
39895
40936
|
Returns: undefined;
|
|
39896
40937
|
};
|
|
40938
|
+
my_module_permissions: {
|
|
40939
|
+
Args: never;
|
|
40940
|
+
Returns: {
|
|
40941
|
+
module_id: string;
|
|
40942
|
+
permission: string;
|
|
40943
|
+
}[];
|
|
40944
|
+
};
|
|
39897
40945
|
next_manufacture_partij: {
|
|
39898
40946
|
Args: {
|
|
39899
40947
|
_tenant_id: string;
|
|
@@ -39944,6 +40992,13 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
39944
40992
|
};
|
|
39945
40993
|
Returns: boolean;
|
|
39946
40994
|
};
|
|
40995
|
+
opruim_print_historie: {
|
|
40996
|
+
Args: never;
|
|
40997
|
+
Returns: {
|
|
40998
|
+
ontdaan: number;
|
|
40999
|
+
verwijderd: number;
|
|
41000
|
+
}[];
|
|
41001
|
+
};
|
|
39947
41002
|
order_number_prefix: {
|
|
39948
41003
|
Args: {
|
|
39949
41004
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -39951,6 +41006,15 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
39951
41006
|
};
|
|
39952
41007
|
Returns: string;
|
|
39953
41008
|
};
|
|
41009
|
+
pick_active_printers: {
|
|
41010
|
+
Args: never;
|
|
41011
|
+
Returns: {
|
|
41012
|
+
id: string;
|
|
41013
|
+
locatie: string;
|
|
41014
|
+
naam: string;
|
|
41015
|
+
online: boolean;
|
|
41016
|
+
}[];
|
|
41017
|
+
};
|
|
39954
41018
|
pick_claim_document: {
|
|
39955
41019
|
Args: {
|
|
39956
41020
|
_queue_item_id: string;
|
|
@@ -40137,6 +41201,52 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
40137
41201
|
};
|
|
40138
41202
|
Returns: undefined;
|
|
40139
41203
|
};
|
|
41204
|
+
pick_reset_print: {
|
|
41205
|
+
Args: {
|
|
41206
|
+
_queue_item_id: string;
|
|
41207
|
+
_session_id: string;
|
|
41208
|
+
};
|
|
41209
|
+
Returns: {
|
|
41210
|
+
announced_at: string;
|
|
41211
|
+
assigned_user_id: string | null;
|
|
41212
|
+
barcode: string | null;
|
|
41213
|
+
cancelled_at: string | null;
|
|
41214
|
+
cart_count: number;
|
|
41215
|
+
completed_at: string | null;
|
|
41216
|
+
country_code: string | null;
|
|
41217
|
+
created_at: string;
|
|
41218
|
+
customer_name: string | null;
|
|
41219
|
+
delivery_address: string | null;
|
|
41220
|
+
document_number: string | null;
|
|
41221
|
+
document_type_id: string | null;
|
|
41222
|
+
due_at: string | null;
|
|
41223
|
+
id: string;
|
|
41224
|
+
is_urgent: boolean;
|
|
41225
|
+
line_count: number;
|
|
41226
|
+
order_number: string | null;
|
|
41227
|
+
order_type: string | null;
|
|
41228
|
+
payload: import("../integrations/supabase/types").Json;
|
|
41229
|
+
print_count: number;
|
|
41230
|
+
print_job_id: string | null;
|
|
41231
|
+
printed_at: string | null;
|
|
41232
|
+
printed_by: string | null;
|
|
41233
|
+
printer_id: string | null;
|
|
41234
|
+
priority: number;
|
|
41235
|
+
reference: string | null;
|
|
41236
|
+
route: string | null;
|
|
41237
|
+
screen_id: string | null;
|
|
41238
|
+
station_id: string | null;
|
|
41239
|
+
status_id: string | null;
|
|
41240
|
+
updated_at: string;
|
|
41241
|
+
warnings: import("../integrations/supabase/types").Json;
|
|
41242
|
+
};
|
|
41243
|
+
SetofOptions: {
|
|
41244
|
+
from: "*";
|
|
41245
|
+
to: "pick_queue";
|
|
41246
|
+
isOneToOne: true;
|
|
41247
|
+
isSetofReturn: false;
|
|
41248
|
+
};
|
|
41249
|
+
};
|
|
40140
41250
|
pick_station_dashboard: {
|
|
40141
41251
|
Args: never;
|
|
40142
41252
|
Returns: {
|
|
@@ -40283,6 +41393,12 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
40283
41393
|
};
|
|
40284
41394
|
Returns: undefined;
|
|
40285
41395
|
};
|
|
41396
|
+
reset_stalled_floriday_stock_queue: {
|
|
41397
|
+
Args: {
|
|
41398
|
+
p_include_failed?: boolean;
|
|
41399
|
+
};
|
|
41400
|
+
Returns: number;
|
|
41401
|
+
};
|
|
40286
41402
|
resolve_group_allocation: {
|
|
40287
41403
|
Args: {
|
|
40288
41404
|
_needed: number;
|
|
@@ -40327,14 +41443,28 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
40327
41443
|
};
|
|
40328
41444
|
Returns: import("../integrations/supabase/types").Json;
|
|
40329
41445
|
};
|
|
41446
|
+
ruim_print_jobs_op: {
|
|
41447
|
+
Args: {
|
|
41448
|
+
_bewaar_dagen?: number;
|
|
41449
|
+
};
|
|
41450
|
+
Returns: number;
|
|
41451
|
+
};
|
|
40330
41452
|
run_floriday_continuous_stock_sync: {
|
|
40331
41453
|
Args: never;
|
|
40332
41454
|
Returns: undefined;
|
|
40333
41455
|
};
|
|
41456
|
+
run_floriday_stock_queue_process: {
|
|
41457
|
+
Args: never;
|
|
41458
|
+
Returns: undefined;
|
|
41459
|
+
};
|
|
40334
41460
|
run_logistics_tasks_dispatch: {
|
|
40335
41461
|
Args: never;
|
|
40336
41462
|
Returns: undefined;
|
|
40337
41463
|
};
|
|
41464
|
+
run_print_queue_ticks: {
|
|
41465
|
+
Args: never;
|
|
41466
|
+
Returns: number;
|
|
41467
|
+
};
|
|
40338
41468
|
run_twinfield_queue_tick: {
|
|
40339
41469
|
Args: never;
|
|
40340
41470
|
Returns: undefined;
|
|
@@ -40575,6 +41705,13 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
40575
41705
|
};
|
|
40576
41706
|
Returns: number;
|
|
40577
41707
|
};
|
|
41708
|
+
schedule_floriday_stock_queue_process: {
|
|
41709
|
+
Args: {
|
|
41710
|
+
p_apikey: string;
|
|
41711
|
+
p_url: string;
|
|
41712
|
+
};
|
|
41713
|
+
Returns: number;
|
|
41714
|
+
};
|
|
40578
41715
|
schedule_floriday_token_refresh: {
|
|
40579
41716
|
Args: {
|
|
40580
41717
|
p_apikey: string;
|
|
@@ -40715,6 +41852,15 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
40715
41852
|
};
|
|
40716
41853
|
Returns: undefined;
|
|
40717
41854
|
};
|
|
41855
|
+
trade_item_stock_duplicates: {
|
|
41856
|
+
Args: never;
|
|
41857
|
+
Returns: {
|
|
41858
|
+
keys: string[];
|
|
41859
|
+
product_id: string;
|
|
41860
|
+
product_name: string;
|
|
41861
|
+
row_count: number;
|
|
41862
|
+
}[];
|
|
41863
|
+
};
|
|
40718
41864
|
try_debtor_lock: {
|
|
40719
41865
|
Args: {
|
|
40720
41866
|
_group_key: string;
|
|
@@ -40764,7 +41910,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
40764
41910
|
};
|
|
40765
41911
|
Enums: {
|
|
40766
41912
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
40767
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
41913
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
40768
41914
|
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
40769
41915
|
doc_orientation: "portrait" | "landscape";
|
|
40770
41916
|
exact_env: "staging" | "live";
|