@flowselections/floriday-afhandeling-module 1.0.29 → 1.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/afhandeling/LeveringenPage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/LeveringenPage.js +7 -24
- package/dist-lib/components/afhandeling/PickAgendaView.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/PickAgendaView.js +22 -24
- package/dist-lib/components/afhandeling/WeekAgendaView.d.ts +5 -1
- package/dist-lib/components/afhandeling/WeekAgendaView.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/WeekAgendaView.js +19 -29
- package/dist-lib/hooks/useEngineTasks.d.ts +2 -0
- package/dist-lib/hooks/useEngineTasks.d.ts.map +1 -1
- package/dist-lib/hooks/useEngineTasks.js +19 -4
- package/dist-lib/hooks/useOrderPlanning.d.ts +12 -1
- package/dist-lib/hooks/useOrderPlanning.d.ts.map +1 -1
- package/dist-lib/hooks/useOrderPlanning.js +65 -26
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +629 -4
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +629 -4
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +629 -4
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +630 -5
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +12 -1
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +1378 -128
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/agendaRange.d.ts +13 -0
- package/dist-lib/lib/agendaRange.d.ts.map +1 -0
- package/dist-lib/lib/agendaRange.js +25 -0
- package/dist-lib/lib/carriers.functions.d.ts +3265 -140
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.d.ts +3265 -140
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.d.ts +6650 -400
- package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +647 -8
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.js +86 -20
- package/dist-lib/lib/logisticsEngine/engine.d.ts +16 -3
- package/dist-lib/lib/logisticsEngine/engine.d.ts.map +1 -1
- package/dist-lib/lib/logisticsEngine/engine.js +13 -6
- package/package.json +2 -2
|
@@ -1683,7 +1683,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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;
|
|
@@ -6479,6 +6479,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
6479
6479
|
Row: {
|
|
6480
6480
|
buyer_organization_id: string | null;
|
|
6481
6481
|
connection_id: string;
|
|
6482
|
+
controlled_at: string | null;
|
|
6482
6483
|
created_at: string;
|
|
6483
6484
|
data: import("./types").Json;
|
|
6484
6485
|
floriday_id: string;
|
|
@@ -6490,6 +6491,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
6490
6491
|
Insert: {
|
|
6491
6492
|
buyer_organization_id?: string | null;
|
|
6492
6493
|
connection_id: string;
|
|
6494
|
+
controlled_at?: string | null;
|
|
6493
6495
|
created_at?: string;
|
|
6494
6496
|
data: import("./types").Json;
|
|
6495
6497
|
floriday_id: string;
|
|
@@ -6501,6 +6503,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
6501
6503
|
Update: {
|
|
6502
6504
|
buyer_organization_id?: string | null;
|
|
6503
6505
|
connection_id?: string;
|
|
6506
|
+
controlled_at?: string | null;
|
|
6504
6507
|
created_at?: string;
|
|
6505
6508
|
data?: import("./types").Json;
|
|
6506
6509
|
floriday_id?: string;
|
|
@@ -7402,6 +7405,54 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7402
7405
|
};
|
|
7403
7406
|
Relationships: [];
|
|
7404
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
|
+
};
|
|
7405
7456
|
itk_contact_persons: {
|
|
7406
7457
|
Row: {
|
|
7407
7458
|
created_at: string;
|
|
@@ -8491,6 +8542,69 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8491
8542
|
};
|
|
8492
8543
|
Relationships: [];
|
|
8493
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("./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("./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("./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
|
+
};
|
|
8494
8608
|
logistics_formulas: {
|
|
8495
8609
|
Row: {
|
|
8496
8610
|
created_at: string;
|
|
@@ -8569,6 +8683,45 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8569
8683
|
};
|
|
8570
8684
|
Relationships: [];
|
|
8571
8685
|
};
|
|
8686
|
+
logistics_plan_queue: {
|
|
8687
|
+
Row: {
|
|
8688
|
+
attempts: number;
|
|
8689
|
+
claimed_at: string | null;
|
|
8690
|
+
enqueued_at: string;
|
|
8691
|
+
error: string | null;
|
|
8692
|
+
id: string;
|
|
8693
|
+
next_attempt_at: string;
|
|
8694
|
+
order_id: string;
|
|
8695
|
+
reason: string;
|
|
8696
|
+
status: string;
|
|
8697
|
+
updated_at: string;
|
|
8698
|
+
};
|
|
8699
|
+
Insert: {
|
|
8700
|
+
attempts?: number;
|
|
8701
|
+
claimed_at?: string | null;
|
|
8702
|
+
enqueued_at?: string;
|
|
8703
|
+
error?: string | null;
|
|
8704
|
+
id?: string;
|
|
8705
|
+
next_attempt_at?: string;
|
|
8706
|
+
order_id: string;
|
|
8707
|
+
reason?: string;
|
|
8708
|
+
status?: string;
|
|
8709
|
+
updated_at?: string;
|
|
8710
|
+
};
|
|
8711
|
+
Update: {
|
|
8712
|
+
attempts?: number;
|
|
8713
|
+
claimed_at?: string | null;
|
|
8714
|
+
enqueued_at?: string;
|
|
8715
|
+
error?: string | null;
|
|
8716
|
+
id?: string;
|
|
8717
|
+
next_attempt_at?: string;
|
|
8718
|
+
order_id?: string;
|
|
8719
|
+
reason?: string;
|
|
8720
|
+
status?: string;
|
|
8721
|
+
updated_at?: string;
|
|
8722
|
+
};
|
|
8723
|
+
Relationships: [];
|
|
8724
|
+
};
|
|
8572
8725
|
logistics_plan_runs: {
|
|
8573
8726
|
Row: {
|
|
8574
8727
|
created_at: string;
|
|
@@ -8644,6 +8797,24 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8644
8797
|
referencedColumns: ["id"];
|
|
8645
8798
|
}];
|
|
8646
8799
|
};
|
|
8800
|
+
logistics_plan_settings: {
|
|
8801
|
+
Row: {
|
|
8802
|
+
key: string;
|
|
8803
|
+
updated_at: string;
|
|
8804
|
+
value: string;
|
|
8805
|
+
};
|
|
8806
|
+
Insert: {
|
|
8807
|
+
key: string;
|
|
8808
|
+
updated_at?: string;
|
|
8809
|
+
value: string;
|
|
8810
|
+
};
|
|
8811
|
+
Update: {
|
|
8812
|
+
key?: string;
|
|
8813
|
+
updated_at?: string;
|
|
8814
|
+
value?: string;
|
|
8815
|
+
};
|
|
8816
|
+
Relationships: [];
|
|
8817
|
+
};
|
|
8647
8818
|
logistics_rebuffer_state: {
|
|
8648
8819
|
Row: {
|
|
8649
8820
|
created_at: string;
|
|
@@ -9354,14 +9525,17 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9354
9525
|
};
|
|
9355
9526
|
mailbox_messages: {
|
|
9356
9527
|
Row: {
|
|
9528
|
+
attachments: import("./types").Json;
|
|
9357
9529
|
body_html: string | null;
|
|
9358
9530
|
body_text: string | null;
|
|
9531
|
+
cc_recipients: import("./types").Json;
|
|
9359
9532
|
connection_id: string | null;
|
|
9360
9533
|
created_at: string;
|
|
9361
9534
|
error_message: string | null;
|
|
9362
9535
|
external_id: string | null;
|
|
9363
9536
|
from_email: string | null;
|
|
9364
9537
|
from_name: string | null;
|
|
9538
|
+
has_attachments: boolean;
|
|
9365
9539
|
id: string;
|
|
9366
9540
|
message_id: string | null;
|
|
9367
9541
|
profile_id: string | null;
|
|
@@ -9369,18 +9543,22 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9369
9543
|
received_at: string | null;
|
|
9370
9544
|
status: string;
|
|
9371
9545
|
subject: string | null;
|
|
9546
|
+
to_recipients: import("./types").Json;
|
|
9372
9547
|
uid: number | null;
|
|
9373
9548
|
updated_at: string;
|
|
9374
9549
|
};
|
|
9375
9550
|
Insert: {
|
|
9551
|
+
attachments?: import("./types").Json;
|
|
9376
9552
|
body_html?: string | null;
|
|
9377
9553
|
body_text?: string | null;
|
|
9554
|
+
cc_recipients?: import("./types").Json;
|
|
9378
9555
|
connection_id?: string | null;
|
|
9379
9556
|
created_at?: string;
|
|
9380
9557
|
error_message?: string | null;
|
|
9381
9558
|
external_id?: string | null;
|
|
9382
9559
|
from_email?: string | null;
|
|
9383
9560
|
from_name?: string | null;
|
|
9561
|
+
has_attachments?: boolean;
|
|
9384
9562
|
id?: string;
|
|
9385
9563
|
message_id?: string | null;
|
|
9386
9564
|
profile_id?: string | null;
|
|
@@ -9388,18 +9566,22 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9388
9566
|
received_at?: string | null;
|
|
9389
9567
|
status?: string;
|
|
9390
9568
|
subject?: string | null;
|
|
9569
|
+
to_recipients?: import("./types").Json;
|
|
9391
9570
|
uid?: number | null;
|
|
9392
9571
|
updated_at?: string;
|
|
9393
9572
|
};
|
|
9394
9573
|
Update: {
|
|
9574
|
+
attachments?: import("./types").Json;
|
|
9395
9575
|
body_html?: string | null;
|
|
9396
9576
|
body_text?: string | null;
|
|
9577
|
+
cc_recipients?: import("./types").Json;
|
|
9397
9578
|
connection_id?: string | null;
|
|
9398
9579
|
created_at?: string;
|
|
9399
9580
|
error_message?: string | null;
|
|
9400
9581
|
external_id?: string | null;
|
|
9401
9582
|
from_email?: string | null;
|
|
9402
9583
|
from_name?: string | null;
|
|
9584
|
+
has_attachments?: boolean;
|
|
9403
9585
|
id?: string;
|
|
9404
9586
|
message_id?: string | null;
|
|
9405
9587
|
profile_id?: string | null;
|
|
@@ -9407,6 +9589,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9407
9589
|
received_at?: string | null;
|
|
9408
9590
|
status?: string;
|
|
9409
9591
|
subject?: string | null;
|
|
9592
|
+
to_recipients?: import("./types").Json;
|
|
9410
9593
|
uid?: number | null;
|
|
9411
9594
|
updated_at?: string;
|
|
9412
9595
|
};
|
|
@@ -9814,6 +9997,36 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9814
9997
|
};
|
|
9815
9998
|
Relationships: [];
|
|
9816
9999
|
};
|
|
10000
|
+
module_registry: {
|
|
10001
|
+
Row: {
|
|
10002
|
+
created_at: string;
|
|
10003
|
+
is_active: boolean;
|
|
10004
|
+
last_seen_at: string;
|
|
10005
|
+
module_id: string;
|
|
10006
|
+
name: string;
|
|
10007
|
+
shell_id: string | null;
|
|
10008
|
+
sort_order: number | null;
|
|
10009
|
+
};
|
|
10010
|
+
Insert: {
|
|
10011
|
+
created_at?: string;
|
|
10012
|
+
is_active?: boolean;
|
|
10013
|
+
last_seen_at?: string;
|
|
10014
|
+
module_id: string;
|
|
10015
|
+
name: string;
|
|
10016
|
+
shell_id?: string | null;
|
|
10017
|
+
sort_order?: number | null;
|
|
10018
|
+
};
|
|
10019
|
+
Update: {
|
|
10020
|
+
created_at?: string;
|
|
10021
|
+
is_active?: boolean;
|
|
10022
|
+
last_seen_at?: string;
|
|
10023
|
+
module_id?: string;
|
|
10024
|
+
name?: string;
|
|
10025
|
+
shell_id?: string | null;
|
|
10026
|
+
sort_order?: number | null;
|
|
10027
|
+
};
|
|
10028
|
+
Relationships: [];
|
|
10029
|
+
};
|
|
9817
10030
|
module_runtime_config: {
|
|
9818
10031
|
Row: {
|
|
9819
10032
|
key: string;
|
|
@@ -10873,6 +11086,45 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10873
11086
|
};
|
|
10874
11087
|
Relationships: [];
|
|
10875
11088
|
};
|
|
11089
|
+
order_invoice_links: {
|
|
11090
|
+
Row: {
|
|
11091
|
+
attempts: number;
|
|
11092
|
+
created_at: string;
|
|
11093
|
+
error_message: string | null;
|
|
11094
|
+
id: string;
|
|
11095
|
+
invoice_number: string | null;
|
|
11096
|
+
next_attempt_at: string;
|
|
11097
|
+
order_id: string;
|
|
11098
|
+
processed_at: string | null;
|
|
11099
|
+
status: string;
|
|
11100
|
+
updated_at: string;
|
|
11101
|
+
};
|
|
11102
|
+
Insert: {
|
|
11103
|
+
attempts?: number;
|
|
11104
|
+
created_at?: string;
|
|
11105
|
+
error_message?: string | null;
|
|
11106
|
+
id?: string;
|
|
11107
|
+
invoice_number?: string | null;
|
|
11108
|
+
next_attempt_at?: string;
|
|
11109
|
+
order_id: string;
|
|
11110
|
+
processed_at?: string | null;
|
|
11111
|
+
status?: string;
|
|
11112
|
+
updated_at?: string;
|
|
11113
|
+
};
|
|
11114
|
+
Update: {
|
|
11115
|
+
attempts?: number;
|
|
11116
|
+
created_at?: string;
|
|
11117
|
+
error_message?: string | null;
|
|
11118
|
+
id?: string;
|
|
11119
|
+
invoice_number?: string | null;
|
|
11120
|
+
next_attempt_at?: string;
|
|
11121
|
+
order_id?: string;
|
|
11122
|
+
processed_at?: string | null;
|
|
11123
|
+
status?: string;
|
|
11124
|
+
updated_at?: string;
|
|
11125
|
+
};
|
|
11126
|
+
Relationships: [];
|
|
11127
|
+
};
|
|
10876
11128
|
order_items: {
|
|
10877
11129
|
Row: {
|
|
10878
11130
|
crates_per_layer: number | null;
|
|
@@ -11055,6 +11307,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11055
11307
|
delivery_date: string | null;
|
|
11056
11308
|
floriday_sales_order_id: string | null;
|
|
11057
11309
|
id: string;
|
|
11310
|
+
invoice_due_at: string | null;
|
|
11058
11311
|
is_reservation: boolean;
|
|
11059
11312
|
notes: string | null;
|
|
11060
11313
|
order_date: string;
|
|
@@ -11076,6 +11329,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11076
11329
|
delivery_date?: string | null;
|
|
11077
11330
|
floriday_sales_order_id?: string | null;
|
|
11078
11331
|
id?: string;
|
|
11332
|
+
invoice_due_at?: string | null;
|
|
11079
11333
|
is_reservation?: boolean;
|
|
11080
11334
|
notes?: string | null;
|
|
11081
11335
|
order_date?: string;
|
|
@@ -11097,6 +11351,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11097
11351
|
delivery_date?: string | null;
|
|
11098
11352
|
floriday_sales_order_id?: string | null;
|
|
11099
11353
|
id?: string;
|
|
11354
|
+
invoice_due_at?: string | null;
|
|
11100
11355
|
is_reservation?: boolean;
|
|
11101
11356
|
notes?: string | null;
|
|
11102
11357
|
order_date?: string;
|
|
@@ -12293,22 +12548,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12293
12548
|
created_at: string;
|
|
12294
12549
|
documentnaam: string;
|
|
12295
12550
|
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
12551
|
+
extern_job_id: string | null;
|
|
12296
12552
|
foutmelding: string | null;
|
|
12297
12553
|
gebruiker_id: string | null;
|
|
12298
12554
|
gebruiker_naam: string;
|
|
12299
12555
|
gestart_op: string | null;
|
|
12300
12556
|
id: string;
|
|
12557
|
+
idempotentie_sleutel: string | null;
|
|
12301
12558
|
is_herprint: boolean;
|
|
12302
12559
|
kopieen: number;
|
|
12303
12560
|
layout_id: string | null;
|
|
12304
12561
|
opgepakt_op: string | null;
|
|
12305
12562
|
paginas: number;
|
|
12306
12563
|
payload: import("./types").Json;
|
|
12564
|
+
pdf_base64: string | null;
|
|
12565
|
+
pdf_url: string | null;
|
|
12307
12566
|
pogingen: number;
|
|
12308
12567
|
printer_id: string | null;
|
|
12309
12568
|
render_html: string | null;
|
|
12310
12569
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
12311
12570
|
updated_at: string;
|
|
12571
|
+
volgende_poging: string | null;
|
|
12312
12572
|
voltooid_op: string | null;
|
|
12313
12573
|
};
|
|
12314
12574
|
Insert: {
|
|
@@ -12317,22 +12577,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12317
12577
|
created_at?: string;
|
|
12318
12578
|
documentnaam?: string;
|
|
12319
12579
|
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
12580
|
+
extern_job_id?: string | null;
|
|
12320
12581
|
foutmelding?: string | null;
|
|
12321
12582
|
gebruiker_id?: string | null;
|
|
12322
12583
|
gebruiker_naam?: string;
|
|
12323
12584
|
gestart_op?: string | null;
|
|
12324
12585
|
id?: string;
|
|
12586
|
+
idempotentie_sleutel?: string | null;
|
|
12325
12587
|
is_herprint?: boolean;
|
|
12326
12588
|
kopieen?: number;
|
|
12327
12589
|
layout_id?: string | null;
|
|
12328
12590
|
opgepakt_op?: string | null;
|
|
12329
12591
|
paginas?: number;
|
|
12330
12592
|
payload?: import("./types").Json;
|
|
12593
|
+
pdf_base64?: string | null;
|
|
12594
|
+
pdf_url?: string | null;
|
|
12331
12595
|
pogingen?: number;
|
|
12332
12596
|
printer_id?: string | null;
|
|
12333
12597
|
render_html?: string | null;
|
|
12334
12598
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
12335
12599
|
updated_at?: string;
|
|
12600
|
+
volgende_poging?: string | null;
|
|
12336
12601
|
voltooid_op?: string | null;
|
|
12337
12602
|
};
|
|
12338
12603
|
Update: {
|
|
@@ -12341,22 +12606,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12341
12606
|
created_at?: string;
|
|
12342
12607
|
documentnaam?: string;
|
|
12343
12608
|
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
12609
|
+
extern_job_id?: string | null;
|
|
12344
12610
|
foutmelding?: string | null;
|
|
12345
12611
|
gebruiker_id?: string | null;
|
|
12346
12612
|
gebruiker_naam?: string;
|
|
12347
12613
|
gestart_op?: string | null;
|
|
12348
12614
|
id?: string;
|
|
12615
|
+
idempotentie_sleutel?: string | null;
|
|
12349
12616
|
is_herprint?: boolean;
|
|
12350
12617
|
kopieen?: number;
|
|
12351
12618
|
layout_id?: string | null;
|
|
12352
12619
|
opgepakt_op?: string | null;
|
|
12353
12620
|
paginas?: number;
|
|
12354
12621
|
payload?: import("./types").Json;
|
|
12622
|
+
pdf_base64?: string | null;
|
|
12623
|
+
pdf_url?: string | null;
|
|
12355
12624
|
pogingen?: number;
|
|
12356
12625
|
printer_id?: string | null;
|
|
12357
12626
|
render_html?: string | null;
|
|
12358
12627
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
12359
12628
|
updated_at?: string;
|
|
12629
|
+
volgende_poging?: string | null;
|
|
12360
12630
|
voltooid_op?: string | null;
|
|
12361
12631
|
};
|
|
12362
12632
|
Relationships: [{
|
|
@@ -12379,6 +12649,63 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12379
12649
|
referencedColumns: ["id"];
|
|
12380
12650
|
}];
|
|
12381
12651
|
};
|
|
12652
|
+
print_queue_runners: {
|
|
12653
|
+
Row: {
|
|
12654
|
+
actief: boolean;
|
|
12655
|
+
basis_url: string;
|
|
12656
|
+
created_at: string;
|
|
12657
|
+
id: string;
|
|
12658
|
+
laatst_gezien: string;
|
|
12659
|
+
tick_sleutel: string;
|
|
12660
|
+
updated_at: string;
|
|
12661
|
+
};
|
|
12662
|
+
Insert: {
|
|
12663
|
+
actief?: boolean;
|
|
12664
|
+
basis_url: string;
|
|
12665
|
+
created_at?: string;
|
|
12666
|
+
id?: string;
|
|
12667
|
+
laatst_gezien?: string;
|
|
12668
|
+
tick_sleutel?: string;
|
|
12669
|
+
updated_at?: string;
|
|
12670
|
+
};
|
|
12671
|
+
Update: {
|
|
12672
|
+
actief?: boolean;
|
|
12673
|
+
basis_url?: string;
|
|
12674
|
+
created_at?: string;
|
|
12675
|
+
id?: string;
|
|
12676
|
+
laatst_gezien?: string;
|
|
12677
|
+
tick_sleutel?: string;
|
|
12678
|
+
updated_at?: string;
|
|
12679
|
+
};
|
|
12680
|
+
Relationships: [];
|
|
12681
|
+
};
|
|
12682
|
+
print_queue_settings: {
|
|
12683
|
+
Row: {
|
|
12684
|
+
bewaar_bestanden_dagen: number;
|
|
12685
|
+
bewaar_opdrachten_dagen: number;
|
|
12686
|
+
created_at: string;
|
|
12687
|
+
dubbel_venster_minuten: number;
|
|
12688
|
+
id: string;
|
|
12689
|
+
updated_at: string;
|
|
12690
|
+
};
|
|
12691
|
+
Insert: {
|
|
12692
|
+
bewaar_bestanden_dagen?: number;
|
|
12693
|
+
bewaar_opdrachten_dagen?: number;
|
|
12694
|
+
created_at?: string;
|
|
12695
|
+
dubbel_venster_minuten?: number;
|
|
12696
|
+
id?: string;
|
|
12697
|
+
updated_at?: string;
|
|
12698
|
+
};
|
|
12699
|
+
Update: {
|
|
12700
|
+
bewaar_bestanden_dagen?: number;
|
|
12701
|
+
bewaar_opdrachten_dagen?: number;
|
|
12702
|
+
created_at?: string;
|
|
12703
|
+
dubbel_venster_minuten?: number;
|
|
12704
|
+
id?: string;
|
|
12705
|
+
updated_at?: string;
|
|
12706
|
+
};
|
|
12707
|
+
Relationships: [];
|
|
12708
|
+
};
|
|
12382
12709
|
print_rules: {
|
|
12383
12710
|
Row: {
|
|
12384
12711
|
actief: boolean;
|
|
@@ -12539,6 +12866,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12539
12866
|
agent_id: string | null;
|
|
12540
12867
|
created_at: string;
|
|
12541
12868
|
driver: string;
|
|
12869
|
+
extern_printer_id: string | null;
|
|
12542
12870
|
id: string;
|
|
12543
12871
|
ip_adres: string | null;
|
|
12544
12872
|
laatst_gezien: string | null;
|
|
@@ -12560,6 +12888,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12560
12888
|
agent_id?: string | null;
|
|
12561
12889
|
created_at?: string;
|
|
12562
12890
|
driver?: string;
|
|
12891
|
+
extern_printer_id?: string | null;
|
|
12563
12892
|
id?: string;
|
|
12564
12893
|
ip_adres?: string | null;
|
|
12565
12894
|
laatst_gezien?: string | null;
|
|
@@ -12581,6 +12910,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12581
12910
|
agent_id?: string | null;
|
|
12582
12911
|
created_at?: string;
|
|
12583
12912
|
driver?: string;
|
|
12913
|
+
extern_printer_id?: string | null;
|
|
12584
12914
|
id?: string;
|
|
12585
12915
|
ip_adres?: string | null;
|
|
12586
12916
|
laatst_gezien?: string | null;
|
|
@@ -15216,6 +15546,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15216
15546
|
};
|
|
15217
15547
|
twinfield_invoice_settings: {
|
|
15218
15548
|
Row: {
|
|
15549
|
+
auto_invoice_enabled: boolean;
|
|
15550
|
+
auto_invoice_trigger_statuses: string[];
|
|
15219
15551
|
created_at: string;
|
|
15220
15552
|
debtor_gl_account: string;
|
|
15221
15553
|
default_credit_invoice_type: string | null;
|
|
@@ -15236,6 +15568,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15236
15568
|
vat_code_export: string | null;
|
|
15237
15569
|
};
|
|
15238
15570
|
Insert: {
|
|
15571
|
+
auto_invoice_enabled?: boolean;
|
|
15572
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15239
15573
|
created_at?: string;
|
|
15240
15574
|
debtor_gl_account?: string;
|
|
15241
15575
|
default_credit_invoice_type?: string | null;
|
|
@@ -15256,6 +15590,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15256
15590
|
vat_code_export?: string | null;
|
|
15257
15591
|
};
|
|
15258
15592
|
Update: {
|
|
15593
|
+
auto_invoice_enabled?: boolean;
|
|
15594
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15259
15595
|
created_at?: string;
|
|
15260
15596
|
debtor_gl_account?: string;
|
|
15261
15597
|
default_credit_invoice_type?: string | null;
|
|
@@ -16318,6 +16654,33 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16318
16654
|
referencedColumns: ["id"];
|
|
16319
16655
|
}];
|
|
16320
16656
|
};
|
|
16657
|
+
user_module_permissions: {
|
|
16658
|
+
Row: {
|
|
16659
|
+
created_at: string;
|
|
16660
|
+
id: string;
|
|
16661
|
+
module_id: string;
|
|
16662
|
+
permission: string;
|
|
16663
|
+
updated_at: string;
|
|
16664
|
+
user_id: string;
|
|
16665
|
+
};
|
|
16666
|
+
Insert: {
|
|
16667
|
+
created_at?: string;
|
|
16668
|
+
id?: string;
|
|
16669
|
+
module_id: string;
|
|
16670
|
+
permission: string;
|
|
16671
|
+
updated_at?: string;
|
|
16672
|
+
user_id: string;
|
|
16673
|
+
};
|
|
16674
|
+
Update: {
|
|
16675
|
+
created_at?: string;
|
|
16676
|
+
id?: string;
|
|
16677
|
+
module_id?: string;
|
|
16678
|
+
permission?: string;
|
|
16679
|
+
updated_at?: string;
|
|
16680
|
+
user_id?: string;
|
|
16681
|
+
};
|
|
16682
|
+
Relationships: [];
|
|
16683
|
+
};
|
|
16321
16684
|
user_roles: {
|
|
16322
16685
|
Row: {
|
|
16323
16686
|
created_at: string;
|
|
@@ -18151,6 +18514,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18151
18514
|
processed_items: number;
|
|
18152
18515
|
}[];
|
|
18153
18516
|
};
|
|
18517
|
+
backfill_order_auto_invoice_queue: {
|
|
18518
|
+
Args: never;
|
|
18519
|
+
Returns: number;
|
|
18520
|
+
};
|
|
18154
18521
|
calculate_layer_stock: {
|
|
18155
18522
|
Args: {
|
|
18156
18523
|
p_product_id: string;
|
|
@@ -18185,6 +18552,46 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18185
18552
|
};
|
|
18186
18553
|
Returns: import("./types").Json;
|
|
18187
18554
|
};
|
|
18555
|
+
claim_cloud_print_jobs: {
|
|
18556
|
+
Args: {
|
|
18557
|
+
_max?: number;
|
|
18558
|
+
};
|
|
18559
|
+
Returns: {
|
|
18560
|
+
agent_id: string | null;
|
|
18561
|
+
bron_job_id: string | null;
|
|
18562
|
+
created_at: string;
|
|
18563
|
+
documentnaam: string;
|
|
18564
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
18565
|
+
extern_job_id: string | null;
|
|
18566
|
+
foutmelding: string | null;
|
|
18567
|
+
gebruiker_id: string | null;
|
|
18568
|
+
gebruiker_naam: string;
|
|
18569
|
+
gestart_op: string | null;
|
|
18570
|
+
id: string;
|
|
18571
|
+
idempotentie_sleutel: string | null;
|
|
18572
|
+
is_herprint: boolean;
|
|
18573
|
+
kopieen: number;
|
|
18574
|
+
layout_id: string | null;
|
|
18575
|
+
opgepakt_op: string | null;
|
|
18576
|
+
paginas: number;
|
|
18577
|
+
payload: import("./types").Json;
|
|
18578
|
+
pdf_base64: string | null;
|
|
18579
|
+
pdf_url: string | null;
|
|
18580
|
+
pogingen: number;
|
|
18581
|
+
printer_id: string | null;
|
|
18582
|
+
render_html: string | null;
|
|
18583
|
+
status: Database["public"]["Enums"]["print_job_status"];
|
|
18584
|
+
updated_at: string;
|
|
18585
|
+
volgende_poging: string | null;
|
|
18586
|
+
voltooid_op: string | null;
|
|
18587
|
+
}[];
|
|
18588
|
+
SetofOptions: {
|
|
18589
|
+
from: "*";
|
|
18590
|
+
to: "print_jobs";
|
|
18591
|
+
isOneToOne: false;
|
|
18592
|
+
isSetofReturn: true;
|
|
18593
|
+
};
|
|
18594
|
+
};
|
|
18188
18595
|
claim_floriday_stock_queue: {
|
|
18189
18596
|
Args: {
|
|
18190
18597
|
p_limit?: number;
|
|
@@ -18275,22 +18682,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18275
18682
|
created_at: string;
|
|
18276
18683
|
documentnaam: string;
|
|
18277
18684
|
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
18685
|
+
extern_job_id: string | null;
|
|
18278
18686
|
foutmelding: string | null;
|
|
18279
18687
|
gebruiker_id: string | null;
|
|
18280
18688
|
gebruiker_naam: string;
|
|
18281
18689
|
gestart_op: string | null;
|
|
18282
18690
|
id: string;
|
|
18691
|
+
idempotentie_sleutel: string | null;
|
|
18283
18692
|
is_herprint: boolean;
|
|
18284
18693
|
kopieen: number;
|
|
18285
18694
|
layout_id: string | null;
|
|
18286
18695
|
opgepakt_op: string | null;
|
|
18287
18696
|
paginas: number;
|
|
18288
18697
|
payload: import("./types").Json;
|
|
18698
|
+
pdf_base64: string | null;
|
|
18699
|
+
pdf_url: string | null;
|
|
18289
18700
|
pogingen: number;
|
|
18290
18701
|
printer_id: string | null;
|
|
18291
18702
|
render_html: string | null;
|
|
18292
18703
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
18293
18704
|
updated_at: string;
|
|
18705
|
+
volgende_poging: string | null;
|
|
18294
18706
|
voltooid_op: string | null;
|
|
18295
18707
|
}[];
|
|
18296
18708
|
SetofOptions: {
|
|
@@ -18336,6 +18748,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18336
18748
|
Args: never;
|
|
18337
18749
|
Returns: undefined;
|
|
18338
18750
|
};
|
|
18751
|
+
cleanup_voorraad_module_history: {
|
|
18752
|
+
Args: never;
|
|
18753
|
+
Returns: undefined;
|
|
18754
|
+
};
|
|
18339
18755
|
complete_floriday_stock_queue: {
|
|
18340
18756
|
Args: {
|
|
18341
18757
|
p_attempt_id?: string;
|
|
@@ -18457,6 +18873,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18457
18873
|
};
|
|
18458
18874
|
Returns: import("./types").Json;
|
|
18459
18875
|
};
|
|
18876
|
+
effective_module_permission: {
|
|
18877
|
+
Args: {
|
|
18878
|
+
_module_id: string;
|
|
18879
|
+
_user_id: string;
|
|
18880
|
+
};
|
|
18881
|
+
Returns: string;
|
|
18882
|
+
};
|
|
18460
18883
|
email_auth_decrypt: {
|
|
18461
18884
|
Args: {
|
|
18462
18885
|
cipher: string;
|
|
@@ -19260,6 +19683,51 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19260
19683
|
isSetofReturn: false;
|
|
19261
19684
|
};
|
|
19262
19685
|
};
|
|
19686
|
+
logistics_floriday_claim_pushes: {
|
|
19687
|
+
Args: {
|
|
19688
|
+
_lease_seconds?: number;
|
|
19689
|
+
_limit?: number;
|
|
19690
|
+
_worker?: string;
|
|
19691
|
+
};
|
|
19692
|
+
Returns: {
|
|
19693
|
+
attempts: number;
|
|
19694
|
+
fulfillment_order_id: string;
|
|
19695
|
+
id: string;
|
|
19696
|
+
last_sent_hash: string;
|
|
19697
|
+
order_ref: string;
|
|
19698
|
+
payload: import("./types").Json;
|
|
19699
|
+
payload_hash: string;
|
|
19700
|
+
revision: number;
|
|
19701
|
+
}[];
|
|
19702
|
+
};
|
|
19703
|
+
logistics_floriday_finish_push: {
|
|
19704
|
+
Args: {
|
|
19705
|
+
_error?: string;
|
|
19706
|
+
_fulfillment_order_id?: string;
|
|
19707
|
+
_id: string;
|
|
19708
|
+
_max_age_hours?: number;
|
|
19709
|
+
_max_attempts?: number;
|
|
19710
|
+
_ok: boolean;
|
|
19711
|
+
_permanent?: boolean;
|
|
19712
|
+
_revision: number;
|
|
19713
|
+
_sent_hash?: string;
|
|
19714
|
+
};
|
|
19715
|
+
Returns: string;
|
|
19716
|
+
};
|
|
19717
|
+
logistics_floriday_prune_pushes: {
|
|
19718
|
+
Args: {
|
|
19719
|
+
_days?: number;
|
|
19720
|
+
};
|
|
19721
|
+
Returns: number;
|
|
19722
|
+
};
|
|
19723
|
+
logistics_floriday_queue_push: {
|
|
19724
|
+
Args: {
|
|
19725
|
+
_order_ref: string;
|
|
19726
|
+
_payload?: import("./types").Json;
|
|
19727
|
+
_payload_hash?: string;
|
|
19728
|
+
};
|
|
19729
|
+
Returns: string;
|
|
19730
|
+
};
|
|
19263
19731
|
logistics_live_carriers: {
|
|
19264
19732
|
Args: {
|
|
19265
19733
|
p_order_ref: string;
|
|
@@ -19312,6 +19780,65 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19312
19780
|
};
|
|
19313
19781
|
Returns: number;
|
|
19314
19782
|
};
|
|
19783
|
+
logistics_plan_claim: {
|
|
19784
|
+
Args: {
|
|
19785
|
+
p_limit?: number;
|
|
19786
|
+
};
|
|
19787
|
+
Returns: {
|
|
19788
|
+
attempts: number;
|
|
19789
|
+
id: string;
|
|
19790
|
+
order_id: string;
|
|
19791
|
+
}[];
|
|
19792
|
+
};
|
|
19793
|
+
logistics_plan_enqueue: {
|
|
19794
|
+
Args: {
|
|
19795
|
+
p_order_id: string;
|
|
19796
|
+
p_reason?: string;
|
|
19797
|
+
};
|
|
19798
|
+
Returns: undefined;
|
|
19799
|
+
};
|
|
19800
|
+
logistics_plan_ensure_event: {
|
|
19801
|
+
Args: {
|
|
19802
|
+
p_order_id: string;
|
|
19803
|
+
};
|
|
19804
|
+
Returns: boolean;
|
|
19805
|
+
};
|
|
19806
|
+
logistics_plan_finish: {
|
|
19807
|
+
Args: {
|
|
19808
|
+
p_error?: string;
|
|
19809
|
+
p_id: string;
|
|
19810
|
+
};
|
|
19811
|
+
Returns: undefined;
|
|
19812
|
+
};
|
|
19813
|
+
logistics_plan_impact_orders: {
|
|
19814
|
+
Args: {
|
|
19815
|
+
p_order_id: string;
|
|
19816
|
+
};
|
|
19817
|
+
Returns: {
|
|
19818
|
+
buffer_id: string;
|
|
19819
|
+
order_id: string;
|
|
19820
|
+
plan_date: string;
|
|
19821
|
+
}[];
|
|
19822
|
+
};
|
|
19823
|
+
logistics_plan_kick: {
|
|
19824
|
+
Args: never;
|
|
19825
|
+
Returns: undefined;
|
|
19826
|
+
};
|
|
19827
|
+
logistics_plan_prune: {
|
|
19828
|
+
Args: never;
|
|
19829
|
+
Returns: number;
|
|
19830
|
+
};
|
|
19831
|
+
logistics_plan_release_stale: {
|
|
19832
|
+
Args: never;
|
|
19833
|
+
Returns: number;
|
|
19834
|
+
};
|
|
19835
|
+
logistics_plan_setting: {
|
|
19836
|
+
Args: {
|
|
19837
|
+
p_default: number;
|
|
19838
|
+
p_key: string;
|
|
19839
|
+
};
|
|
19840
|
+
Returns: number;
|
|
19841
|
+
};
|
|
19315
19842
|
logistics_queue_capacity_email: {
|
|
19316
19843
|
Args: {
|
|
19317
19844
|
p_alert_id: string;
|
|
@@ -19550,6 +20077,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19550
20077
|
};
|
|
19551
20078
|
Returns: undefined;
|
|
19552
20079
|
};
|
|
20080
|
+
my_module_permissions: {
|
|
20081
|
+
Args: never;
|
|
20082
|
+
Returns: {
|
|
20083
|
+
module_id: string;
|
|
20084
|
+
permission: string;
|
|
20085
|
+
}[];
|
|
20086
|
+
};
|
|
19553
20087
|
next_manufacture_partij: {
|
|
19554
20088
|
Args: {
|
|
19555
20089
|
_tenant_id: string;
|
|
@@ -19600,6 +20134,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19600
20134
|
};
|
|
19601
20135
|
Returns: boolean;
|
|
19602
20136
|
};
|
|
20137
|
+
opruim_print_historie: {
|
|
20138
|
+
Args: never;
|
|
20139
|
+
Returns: {
|
|
20140
|
+
ontdaan: number;
|
|
20141
|
+
verwijderd: number;
|
|
20142
|
+
}[];
|
|
20143
|
+
};
|
|
19603
20144
|
order_number_prefix: {
|
|
19604
20145
|
Args: {
|
|
19605
20146
|
p_custom_fields?: import("./types").Json;
|
|
@@ -19607,6 +20148,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19607
20148
|
};
|
|
19608
20149
|
Returns: string;
|
|
19609
20150
|
};
|
|
20151
|
+
pick_active_printers: {
|
|
20152
|
+
Args: never;
|
|
20153
|
+
Returns: {
|
|
20154
|
+
id: string;
|
|
20155
|
+
locatie: string;
|
|
20156
|
+
naam: string;
|
|
20157
|
+
online: boolean;
|
|
20158
|
+
}[];
|
|
20159
|
+
};
|
|
19610
20160
|
pick_claim_document: {
|
|
19611
20161
|
Args: {
|
|
19612
20162
|
_queue_item_id: string;
|
|
@@ -19793,6 +20343,52 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19793
20343
|
};
|
|
19794
20344
|
Returns: undefined;
|
|
19795
20345
|
};
|
|
20346
|
+
pick_reset_print: {
|
|
20347
|
+
Args: {
|
|
20348
|
+
_queue_item_id: string;
|
|
20349
|
+
_session_id: string;
|
|
20350
|
+
};
|
|
20351
|
+
Returns: {
|
|
20352
|
+
announced_at: string;
|
|
20353
|
+
assigned_user_id: string | null;
|
|
20354
|
+
barcode: string | null;
|
|
20355
|
+
cancelled_at: string | null;
|
|
20356
|
+
cart_count: number;
|
|
20357
|
+
completed_at: string | null;
|
|
20358
|
+
country_code: string | null;
|
|
20359
|
+
created_at: string;
|
|
20360
|
+
customer_name: string | null;
|
|
20361
|
+
delivery_address: string | null;
|
|
20362
|
+
document_number: string | null;
|
|
20363
|
+
document_type_id: string | null;
|
|
20364
|
+
due_at: string | null;
|
|
20365
|
+
id: string;
|
|
20366
|
+
is_urgent: boolean;
|
|
20367
|
+
line_count: number;
|
|
20368
|
+
order_number: string | null;
|
|
20369
|
+
order_type: string | null;
|
|
20370
|
+
payload: import("./types").Json;
|
|
20371
|
+
print_count: number;
|
|
20372
|
+
print_job_id: string | null;
|
|
20373
|
+
printed_at: string | null;
|
|
20374
|
+
printed_by: string | null;
|
|
20375
|
+
printer_id: string | null;
|
|
20376
|
+
priority: number;
|
|
20377
|
+
reference: string | null;
|
|
20378
|
+
route: string | null;
|
|
20379
|
+
screen_id: string | null;
|
|
20380
|
+
station_id: string | null;
|
|
20381
|
+
status_id: string | null;
|
|
20382
|
+
updated_at: string;
|
|
20383
|
+
warnings: import("./types").Json;
|
|
20384
|
+
};
|
|
20385
|
+
SetofOptions: {
|
|
20386
|
+
from: "*";
|
|
20387
|
+
to: "pick_queue";
|
|
20388
|
+
isOneToOne: true;
|
|
20389
|
+
isSetofReturn: false;
|
|
20390
|
+
};
|
|
20391
|
+
};
|
|
19796
20392
|
pick_station_dashboard: {
|
|
19797
20393
|
Args: never;
|
|
19798
20394
|
Returns: {
|
|
@@ -19939,6 +20535,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19939
20535
|
};
|
|
19940
20536
|
Returns: undefined;
|
|
19941
20537
|
};
|
|
20538
|
+
reset_stalled_floriday_stock_queue: {
|
|
20539
|
+
Args: {
|
|
20540
|
+
p_include_failed?: boolean;
|
|
20541
|
+
};
|
|
20542
|
+
Returns: number;
|
|
20543
|
+
};
|
|
19942
20544
|
resolve_group_allocation: {
|
|
19943
20545
|
Args: {
|
|
19944
20546
|
_needed: number;
|
|
@@ -19983,14 +20585,28 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19983
20585
|
};
|
|
19984
20586
|
Returns: import("./types").Json;
|
|
19985
20587
|
};
|
|
20588
|
+
ruim_print_jobs_op: {
|
|
20589
|
+
Args: {
|
|
20590
|
+
_bewaar_dagen?: number;
|
|
20591
|
+
};
|
|
20592
|
+
Returns: number;
|
|
20593
|
+
};
|
|
19986
20594
|
run_floriday_continuous_stock_sync: {
|
|
19987
20595
|
Args: never;
|
|
19988
20596
|
Returns: undefined;
|
|
19989
20597
|
};
|
|
20598
|
+
run_floriday_stock_queue_process: {
|
|
20599
|
+
Args: never;
|
|
20600
|
+
Returns: undefined;
|
|
20601
|
+
};
|
|
19990
20602
|
run_logistics_tasks_dispatch: {
|
|
19991
20603
|
Args: never;
|
|
19992
20604
|
Returns: undefined;
|
|
19993
20605
|
};
|
|
20606
|
+
run_print_queue_ticks: {
|
|
20607
|
+
Args: never;
|
|
20608
|
+
Returns: number;
|
|
20609
|
+
};
|
|
19994
20610
|
run_twinfield_queue_tick: {
|
|
19995
20611
|
Args: never;
|
|
19996
20612
|
Returns: undefined;
|
|
@@ -20378,6 +20994,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20378
20994
|
};
|
|
20379
20995
|
Returns: undefined;
|
|
20380
20996
|
};
|
|
20997
|
+
trade_item_stock_duplicates: {
|
|
20998
|
+
Args: never;
|
|
20999
|
+
Returns: {
|
|
21000
|
+
keys: string[];
|
|
21001
|
+
product_id: string;
|
|
21002
|
+
product_name: string;
|
|
21003
|
+
row_count: number;
|
|
21004
|
+
}[];
|
|
21005
|
+
};
|
|
20381
21006
|
try_debtor_lock: {
|
|
20382
21007
|
Args: {
|
|
20383
21008
|
_group_key: string;
|
|
@@ -20427,7 +21052,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20427
21052
|
};
|
|
20428
21053
|
Enums: {
|
|
20429
21054
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
20430
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
21055
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
20431
21056
|
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
20432
21057
|
doc_orientation: "portrait" | "landscape";
|
|
20433
21058
|
exact_env: "staging" | "live";
|