@flowselections/floriday-voorraad 1.0.33 → 1.0.35
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/voorraad/ArtikelWizard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.js +11 -5
- package/dist-lib/components/voorraad/ModuleHealthCard.d.ts +2 -0
- package/dist-lib/components/voorraad/ModuleHealthCard.d.ts.map +1 -0
- package/dist-lib/components/voorraad/ModuleHealthCard.js +40 -0
- package/dist-lib/components/voorraad/StockBulkButtons.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockBulkButtons.js +5 -2
- package/dist-lib/components/voorraad/StockPushMonitor.d.ts +4 -0
- package/dist-lib/components/voorraad/StockPushMonitor.d.ts.map +1 -0
- package/dist-lib/components/voorraad/StockPushMonitor.js +110 -0
- package/dist-lib/components/voorraad/VoorraadPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadPage.js +2 -1
- package/dist-lib/components/voorraad/VoorraadStockCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadStockCard.js +114 -10
- package/dist-lib/hooks/useStockPushJobs.d.ts +23 -0
- package/dist-lib/hooks/useStockPushJobs.d.ts.map +1 -0
- package/dist-lib/hooks/useStockPushJobs.js +86 -0
- package/dist-lib/hooks/useTradeItemStock.d.ts +19 -5
- package/dist-lib/hooks/useTradeItemStock.d.ts.map +1 -1
- package/dist-lib/hooks/useTradeItemStock.js +36 -18
- package/dist-lib/hooks/useVoorraadData.d.ts.map +1 -1
- package/dist-lib/hooks/useVoorraadData.js +11 -3
- package/dist-lib/index.d.ts +1 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +6 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +410 -4
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +410 -4
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +410 -4
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +411 -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/centralSecrets.server.js +1 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts +410 -4
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts +410 -4
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-env.functions.d.ts +820 -8
- package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.functions.d.ts +2460 -24
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.server.d.ts +14 -0
- package/dist-lib/lib/floriday-gateway.server.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.server.js +62 -10
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts +820 -8
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +1230 -12
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +820 -8
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/module-health.functions.d.ts +41725 -0
- package/dist-lib/lib/module-health.functions.d.ts.map +1 -0
- package/dist-lib/lib/module-health.functions.js +261 -0
- package/dist-lib/lib/module-runtime.server.d.ts +8 -1
- package/dist-lib/lib/module-runtime.server.d.ts.map +1 -1
- package/dist-lib/lib/module-runtime.server.js +103 -12
- package/dist-lib/lib/stock-sync.functions.d.ts +21302 -31
- package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
- package/dist-lib/lib/stock-sync.functions.js +46 -3
- package/package.json +2 -2
|
@@ -1719,7 +1719,7 @@ export type Database = {
|
|
|
1719
1719
|
city: string | null;
|
|
1720
1720
|
country: string | null;
|
|
1721
1721
|
created_at: string;
|
|
1722
|
-
customer_id: string
|
|
1722
|
+
customer_id: string;
|
|
1723
1723
|
external_key: string | null;
|
|
1724
1724
|
external_provider: string | null;
|
|
1725
1725
|
floriday_location_id: string | null;
|
|
@@ -1743,7 +1743,7 @@ export type Database = {
|
|
|
1743
1743
|
city?: string | null;
|
|
1744
1744
|
country?: string | null;
|
|
1745
1745
|
created_at?: string;
|
|
1746
|
-
customer_id
|
|
1746
|
+
customer_id: string;
|
|
1747
1747
|
external_key?: string | null;
|
|
1748
1748
|
external_provider?: string | null;
|
|
1749
1749
|
floriday_location_id?: string | null;
|
|
@@ -1767,7 +1767,7 @@ export type Database = {
|
|
|
1767
1767
|
city?: string | null;
|
|
1768
1768
|
country?: string | null;
|
|
1769
1769
|
created_at?: string;
|
|
1770
|
-
customer_id?: string
|
|
1770
|
+
customer_id?: string;
|
|
1771
1771
|
external_key?: string | null;
|
|
1772
1772
|
external_provider?: string | null;
|
|
1773
1773
|
floriday_location_id?: string | null;
|
|
@@ -8724,6 +8724,69 @@ export type Database = {
|
|
|
8724
8724
|
};
|
|
8725
8725
|
Relationships: [];
|
|
8726
8726
|
};
|
|
8727
|
+
logistics_floriday_pushes: {
|
|
8728
|
+
Row: {
|
|
8729
|
+
attempts: number;
|
|
8730
|
+
created_at: string;
|
|
8731
|
+
first_queued_at: string;
|
|
8732
|
+
fulfillment_order_id: string | null;
|
|
8733
|
+
id: string;
|
|
8734
|
+
last_error: string | null;
|
|
8735
|
+
last_error_at: string | null;
|
|
8736
|
+
last_sent_hash: string | null;
|
|
8737
|
+
locked_by: string | null;
|
|
8738
|
+
locked_until: string | null;
|
|
8739
|
+
next_attempt_at: string;
|
|
8740
|
+
order_ref: string;
|
|
8741
|
+
payload: Json;
|
|
8742
|
+
payload_hash: string | null;
|
|
8743
|
+
revision: number;
|
|
8744
|
+
sent_at: string | null;
|
|
8745
|
+
status: string;
|
|
8746
|
+
updated_at: string;
|
|
8747
|
+
};
|
|
8748
|
+
Insert: {
|
|
8749
|
+
attempts?: number;
|
|
8750
|
+
created_at?: string;
|
|
8751
|
+
first_queued_at?: string;
|
|
8752
|
+
fulfillment_order_id?: string | null;
|
|
8753
|
+
id?: string;
|
|
8754
|
+
last_error?: string | null;
|
|
8755
|
+
last_error_at?: string | null;
|
|
8756
|
+
last_sent_hash?: string | null;
|
|
8757
|
+
locked_by?: string | null;
|
|
8758
|
+
locked_until?: string | null;
|
|
8759
|
+
next_attempt_at?: string;
|
|
8760
|
+
order_ref: string;
|
|
8761
|
+
payload?: Json;
|
|
8762
|
+
payload_hash?: string | null;
|
|
8763
|
+
revision?: number;
|
|
8764
|
+
sent_at?: string | null;
|
|
8765
|
+
status?: string;
|
|
8766
|
+
updated_at?: string;
|
|
8767
|
+
};
|
|
8768
|
+
Update: {
|
|
8769
|
+
attempts?: number;
|
|
8770
|
+
created_at?: string;
|
|
8771
|
+
first_queued_at?: string;
|
|
8772
|
+
fulfillment_order_id?: string | null;
|
|
8773
|
+
id?: string;
|
|
8774
|
+
last_error?: string | null;
|
|
8775
|
+
last_error_at?: string | null;
|
|
8776
|
+
last_sent_hash?: string | null;
|
|
8777
|
+
locked_by?: string | null;
|
|
8778
|
+
locked_until?: string | null;
|
|
8779
|
+
next_attempt_at?: string;
|
|
8780
|
+
order_ref?: string;
|
|
8781
|
+
payload?: Json;
|
|
8782
|
+
payload_hash?: string | null;
|
|
8783
|
+
revision?: number;
|
|
8784
|
+
sent_at?: string | null;
|
|
8785
|
+
status?: string;
|
|
8786
|
+
updated_at?: string;
|
|
8787
|
+
};
|
|
8788
|
+
Relationships: [];
|
|
8789
|
+
};
|
|
8727
8790
|
logistics_formulas: {
|
|
8728
8791
|
Row: {
|
|
8729
8792
|
created_at: string;
|
|
@@ -9602,14 +9665,17 @@ export type Database = {
|
|
|
9602
9665
|
};
|
|
9603
9666
|
mailbox_messages: {
|
|
9604
9667
|
Row: {
|
|
9668
|
+
attachments: Json;
|
|
9605
9669
|
body_html: string | null;
|
|
9606
9670
|
body_text: string | null;
|
|
9671
|
+
cc_recipients: Json;
|
|
9607
9672
|
connection_id: string | null;
|
|
9608
9673
|
created_at: string;
|
|
9609
9674
|
error_message: string | null;
|
|
9610
9675
|
external_id: string | null;
|
|
9611
9676
|
from_email: string | null;
|
|
9612
9677
|
from_name: string | null;
|
|
9678
|
+
has_attachments: boolean;
|
|
9613
9679
|
id: string;
|
|
9614
9680
|
message_id: string | null;
|
|
9615
9681
|
profile_id: string | null;
|
|
@@ -9617,18 +9683,22 @@ export type Database = {
|
|
|
9617
9683
|
received_at: string | null;
|
|
9618
9684
|
status: string;
|
|
9619
9685
|
subject: string | null;
|
|
9686
|
+
to_recipients: Json;
|
|
9620
9687
|
uid: number | null;
|
|
9621
9688
|
updated_at: string;
|
|
9622
9689
|
};
|
|
9623
9690
|
Insert: {
|
|
9691
|
+
attachments?: Json;
|
|
9624
9692
|
body_html?: string | null;
|
|
9625
9693
|
body_text?: string | null;
|
|
9694
|
+
cc_recipients?: Json;
|
|
9626
9695
|
connection_id?: string | null;
|
|
9627
9696
|
created_at?: string;
|
|
9628
9697
|
error_message?: string | null;
|
|
9629
9698
|
external_id?: string | null;
|
|
9630
9699
|
from_email?: string | null;
|
|
9631
9700
|
from_name?: string | null;
|
|
9701
|
+
has_attachments?: boolean;
|
|
9632
9702
|
id?: string;
|
|
9633
9703
|
message_id?: string | null;
|
|
9634
9704
|
profile_id?: string | null;
|
|
@@ -9636,18 +9706,22 @@ export type Database = {
|
|
|
9636
9706
|
received_at?: string | null;
|
|
9637
9707
|
status?: string;
|
|
9638
9708
|
subject?: string | null;
|
|
9709
|
+
to_recipients?: Json;
|
|
9639
9710
|
uid?: number | null;
|
|
9640
9711
|
updated_at?: string;
|
|
9641
9712
|
};
|
|
9642
9713
|
Update: {
|
|
9714
|
+
attachments?: Json;
|
|
9643
9715
|
body_html?: string | null;
|
|
9644
9716
|
body_text?: string | null;
|
|
9717
|
+
cc_recipients?: Json;
|
|
9645
9718
|
connection_id?: string | null;
|
|
9646
9719
|
created_at?: string;
|
|
9647
9720
|
error_message?: string | null;
|
|
9648
9721
|
external_id?: string | null;
|
|
9649
9722
|
from_email?: string | null;
|
|
9650
9723
|
from_name?: string | null;
|
|
9724
|
+
has_attachments?: boolean;
|
|
9651
9725
|
id?: string;
|
|
9652
9726
|
message_id?: string | null;
|
|
9653
9727
|
profile_id?: string | null;
|
|
@@ -9655,6 +9729,7 @@ export type Database = {
|
|
|
9655
9729
|
received_at?: string | null;
|
|
9656
9730
|
status?: string;
|
|
9657
9731
|
subject?: string | null;
|
|
9732
|
+
to_recipients?: Json;
|
|
9658
9733
|
uid?: number | null;
|
|
9659
9734
|
updated_at?: string;
|
|
9660
9735
|
};
|
|
@@ -10079,6 +10154,36 @@ export type Database = {
|
|
|
10079
10154
|
};
|
|
10080
10155
|
Relationships: [];
|
|
10081
10156
|
};
|
|
10157
|
+
module_registry: {
|
|
10158
|
+
Row: {
|
|
10159
|
+
created_at: string;
|
|
10160
|
+
is_active: boolean;
|
|
10161
|
+
last_seen_at: string;
|
|
10162
|
+
module_id: string;
|
|
10163
|
+
name: string;
|
|
10164
|
+
shell_id: string | null;
|
|
10165
|
+
sort_order: number | null;
|
|
10166
|
+
};
|
|
10167
|
+
Insert: {
|
|
10168
|
+
created_at?: string;
|
|
10169
|
+
is_active?: boolean;
|
|
10170
|
+
last_seen_at?: string;
|
|
10171
|
+
module_id: string;
|
|
10172
|
+
name: string;
|
|
10173
|
+
shell_id?: string | null;
|
|
10174
|
+
sort_order?: number | null;
|
|
10175
|
+
};
|
|
10176
|
+
Update: {
|
|
10177
|
+
created_at?: string;
|
|
10178
|
+
is_active?: boolean;
|
|
10179
|
+
last_seen_at?: string;
|
|
10180
|
+
module_id?: string;
|
|
10181
|
+
name?: string;
|
|
10182
|
+
shell_id?: string | null;
|
|
10183
|
+
sort_order?: number | null;
|
|
10184
|
+
};
|
|
10185
|
+
Relationships: [];
|
|
10186
|
+
};
|
|
10082
10187
|
module_runtime_config: {
|
|
10083
10188
|
Row: {
|
|
10084
10189
|
key: string;
|
|
@@ -12648,22 +12753,27 @@ export type Database = {
|
|
|
12648
12753
|
created_at: string;
|
|
12649
12754
|
documentnaam: string;
|
|
12650
12755
|
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
12756
|
+
extern_job_id: string | null;
|
|
12651
12757
|
foutmelding: string | null;
|
|
12652
12758
|
gebruiker_id: string | null;
|
|
12653
12759
|
gebruiker_naam: string;
|
|
12654
12760
|
gestart_op: string | null;
|
|
12655
12761
|
id: string;
|
|
12762
|
+
idempotentie_sleutel: string | null;
|
|
12656
12763
|
is_herprint: boolean;
|
|
12657
12764
|
kopieen: number;
|
|
12658
12765
|
layout_id: string | null;
|
|
12659
12766
|
opgepakt_op: string | null;
|
|
12660
12767
|
paginas: number;
|
|
12661
12768
|
payload: Json;
|
|
12769
|
+
pdf_base64: string | null;
|
|
12770
|
+
pdf_url: string | null;
|
|
12662
12771
|
pogingen: number;
|
|
12663
12772
|
printer_id: string | null;
|
|
12664
12773
|
render_html: string | null;
|
|
12665
12774
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
12666
12775
|
updated_at: string;
|
|
12776
|
+
volgende_poging: string | null;
|
|
12667
12777
|
voltooid_op: string | null;
|
|
12668
12778
|
};
|
|
12669
12779
|
Insert: {
|
|
@@ -12672,22 +12782,27 @@ export type Database = {
|
|
|
12672
12782
|
created_at?: string;
|
|
12673
12783
|
documentnaam?: string;
|
|
12674
12784
|
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
12785
|
+
extern_job_id?: string | null;
|
|
12675
12786
|
foutmelding?: string | null;
|
|
12676
12787
|
gebruiker_id?: string | null;
|
|
12677
12788
|
gebruiker_naam?: string;
|
|
12678
12789
|
gestart_op?: string | null;
|
|
12679
12790
|
id?: string;
|
|
12791
|
+
idempotentie_sleutel?: string | null;
|
|
12680
12792
|
is_herprint?: boolean;
|
|
12681
12793
|
kopieen?: number;
|
|
12682
12794
|
layout_id?: string | null;
|
|
12683
12795
|
opgepakt_op?: string | null;
|
|
12684
12796
|
paginas?: number;
|
|
12685
12797
|
payload?: Json;
|
|
12798
|
+
pdf_base64?: string | null;
|
|
12799
|
+
pdf_url?: string | null;
|
|
12686
12800
|
pogingen?: number;
|
|
12687
12801
|
printer_id?: string | null;
|
|
12688
12802
|
render_html?: string | null;
|
|
12689
12803
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
12690
12804
|
updated_at?: string;
|
|
12805
|
+
volgende_poging?: string | null;
|
|
12691
12806
|
voltooid_op?: string | null;
|
|
12692
12807
|
};
|
|
12693
12808
|
Update: {
|
|
@@ -12696,22 +12811,27 @@ export type Database = {
|
|
|
12696
12811
|
created_at?: string;
|
|
12697
12812
|
documentnaam?: string;
|
|
12698
12813
|
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
12814
|
+
extern_job_id?: string | null;
|
|
12699
12815
|
foutmelding?: string | null;
|
|
12700
12816
|
gebruiker_id?: string | null;
|
|
12701
12817
|
gebruiker_naam?: string;
|
|
12702
12818
|
gestart_op?: string | null;
|
|
12703
12819
|
id?: string;
|
|
12820
|
+
idempotentie_sleutel?: string | null;
|
|
12704
12821
|
is_herprint?: boolean;
|
|
12705
12822
|
kopieen?: number;
|
|
12706
12823
|
layout_id?: string | null;
|
|
12707
12824
|
opgepakt_op?: string | null;
|
|
12708
12825
|
paginas?: number;
|
|
12709
12826
|
payload?: Json;
|
|
12827
|
+
pdf_base64?: string | null;
|
|
12828
|
+
pdf_url?: string | null;
|
|
12710
12829
|
pogingen?: number;
|
|
12711
12830
|
printer_id?: string | null;
|
|
12712
12831
|
render_html?: string | null;
|
|
12713
12832
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
12714
12833
|
updated_at?: string;
|
|
12834
|
+
volgende_poging?: string | null;
|
|
12715
12835
|
voltooid_op?: string | null;
|
|
12716
12836
|
};
|
|
12717
12837
|
Relationships: [
|
|
@@ -12738,6 +12858,63 @@ export type Database = {
|
|
|
12738
12858
|
}
|
|
12739
12859
|
];
|
|
12740
12860
|
};
|
|
12861
|
+
print_queue_runners: {
|
|
12862
|
+
Row: {
|
|
12863
|
+
actief: boolean;
|
|
12864
|
+
basis_url: string;
|
|
12865
|
+
created_at: string;
|
|
12866
|
+
id: string;
|
|
12867
|
+
laatst_gezien: string;
|
|
12868
|
+
tick_sleutel: string;
|
|
12869
|
+
updated_at: string;
|
|
12870
|
+
};
|
|
12871
|
+
Insert: {
|
|
12872
|
+
actief?: boolean;
|
|
12873
|
+
basis_url: string;
|
|
12874
|
+
created_at?: string;
|
|
12875
|
+
id?: string;
|
|
12876
|
+
laatst_gezien?: string;
|
|
12877
|
+
tick_sleutel?: string;
|
|
12878
|
+
updated_at?: string;
|
|
12879
|
+
};
|
|
12880
|
+
Update: {
|
|
12881
|
+
actief?: boolean;
|
|
12882
|
+
basis_url?: string;
|
|
12883
|
+
created_at?: string;
|
|
12884
|
+
id?: string;
|
|
12885
|
+
laatst_gezien?: string;
|
|
12886
|
+
tick_sleutel?: string;
|
|
12887
|
+
updated_at?: string;
|
|
12888
|
+
};
|
|
12889
|
+
Relationships: [];
|
|
12890
|
+
};
|
|
12891
|
+
print_queue_settings: {
|
|
12892
|
+
Row: {
|
|
12893
|
+
bewaar_bestanden_dagen: number;
|
|
12894
|
+
bewaar_opdrachten_dagen: number;
|
|
12895
|
+
created_at: string;
|
|
12896
|
+
dubbel_venster_minuten: number;
|
|
12897
|
+
id: string;
|
|
12898
|
+
updated_at: string;
|
|
12899
|
+
};
|
|
12900
|
+
Insert: {
|
|
12901
|
+
bewaar_bestanden_dagen?: number;
|
|
12902
|
+
bewaar_opdrachten_dagen?: number;
|
|
12903
|
+
created_at?: string;
|
|
12904
|
+
dubbel_venster_minuten?: number;
|
|
12905
|
+
id?: string;
|
|
12906
|
+
updated_at?: string;
|
|
12907
|
+
};
|
|
12908
|
+
Update: {
|
|
12909
|
+
bewaar_bestanden_dagen?: number;
|
|
12910
|
+
bewaar_opdrachten_dagen?: number;
|
|
12911
|
+
created_at?: string;
|
|
12912
|
+
dubbel_venster_minuten?: number;
|
|
12913
|
+
id?: string;
|
|
12914
|
+
updated_at?: string;
|
|
12915
|
+
};
|
|
12916
|
+
Relationships: [];
|
|
12917
|
+
};
|
|
12741
12918
|
print_rules: {
|
|
12742
12919
|
Row: {
|
|
12743
12920
|
actief: boolean;
|
|
@@ -12906,6 +13083,7 @@ export type Database = {
|
|
|
12906
13083
|
agent_id: string | null;
|
|
12907
13084
|
created_at: string;
|
|
12908
13085
|
driver: string;
|
|
13086
|
+
extern_printer_id: string | null;
|
|
12909
13087
|
id: string;
|
|
12910
13088
|
ip_adres: string | null;
|
|
12911
13089
|
laatst_gezien: string | null;
|
|
@@ -12927,6 +13105,7 @@ export type Database = {
|
|
|
12927
13105
|
agent_id?: string | null;
|
|
12928
13106
|
created_at?: string;
|
|
12929
13107
|
driver?: string;
|
|
13108
|
+
extern_printer_id?: string | null;
|
|
12930
13109
|
id?: string;
|
|
12931
13110
|
ip_adres?: string | null;
|
|
12932
13111
|
laatst_gezien?: string | null;
|
|
@@ -12948,6 +13127,7 @@ export type Database = {
|
|
|
12948
13127
|
agent_id?: string | null;
|
|
12949
13128
|
created_at?: string;
|
|
12950
13129
|
driver?: string;
|
|
13130
|
+
extern_printer_id?: string | null;
|
|
12951
13131
|
id?: string;
|
|
12952
13132
|
ip_adres?: string | null;
|
|
12953
13133
|
laatst_gezien?: string | null;
|
|
@@ -16786,6 +16966,33 @@ export type Database = {
|
|
|
16786
16966
|
}
|
|
16787
16967
|
];
|
|
16788
16968
|
};
|
|
16969
|
+
user_module_permissions: {
|
|
16970
|
+
Row: {
|
|
16971
|
+
created_at: string;
|
|
16972
|
+
id: string;
|
|
16973
|
+
module_id: string;
|
|
16974
|
+
permission: string;
|
|
16975
|
+
updated_at: string;
|
|
16976
|
+
user_id: string;
|
|
16977
|
+
};
|
|
16978
|
+
Insert: {
|
|
16979
|
+
created_at?: string;
|
|
16980
|
+
id?: string;
|
|
16981
|
+
module_id: string;
|
|
16982
|
+
permission: string;
|
|
16983
|
+
updated_at?: string;
|
|
16984
|
+
user_id: string;
|
|
16985
|
+
};
|
|
16986
|
+
Update: {
|
|
16987
|
+
created_at?: string;
|
|
16988
|
+
id?: string;
|
|
16989
|
+
module_id?: string;
|
|
16990
|
+
permission?: string;
|
|
16991
|
+
updated_at?: string;
|
|
16992
|
+
user_id?: string;
|
|
16993
|
+
};
|
|
16994
|
+
Relationships: [];
|
|
16995
|
+
};
|
|
16789
16996
|
user_roles: {
|
|
16790
16997
|
Row: {
|
|
16791
16998
|
created_at: string;
|
|
@@ -18695,6 +18902,46 @@ export type Database = {
|
|
|
18695
18902
|
};
|
|
18696
18903
|
Returns: Json;
|
|
18697
18904
|
};
|
|
18905
|
+
claim_cloud_print_jobs: {
|
|
18906
|
+
Args: {
|
|
18907
|
+
_max?: number;
|
|
18908
|
+
};
|
|
18909
|
+
Returns: {
|
|
18910
|
+
agent_id: string | null;
|
|
18911
|
+
bron_job_id: string | null;
|
|
18912
|
+
created_at: string;
|
|
18913
|
+
documentnaam: string;
|
|
18914
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
18915
|
+
extern_job_id: string | null;
|
|
18916
|
+
foutmelding: string | null;
|
|
18917
|
+
gebruiker_id: string | null;
|
|
18918
|
+
gebruiker_naam: string;
|
|
18919
|
+
gestart_op: string | null;
|
|
18920
|
+
id: string;
|
|
18921
|
+
idempotentie_sleutel: string | null;
|
|
18922
|
+
is_herprint: boolean;
|
|
18923
|
+
kopieen: number;
|
|
18924
|
+
layout_id: string | null;
|
|
18925
|
+
opgepakt_op: string | null;
|
|
18926
|
+
paginas: number;
|
|
18927
|
+
payload: Json;
|
|
18928
|
+
pdf_base64: string | null;
|
|
18929
|
+
pdf_url: string | null;
|
|
18930
|
+
pogingen: number;
|
|
18931
|
+
printer_id: string | null;
|
|
18932
|
+
render_html: string | null;
|
|
18933
|
+
status: Database["public"]["Enums"]["print_job_status"];
|
|
18934
|
+
updated_at: string;
|
|
18935
|
+
volgende_poging: string | null;
|
|
18936
|
+
voltooid_op: string | null;
|
|
18937
|
+
}[];
|
|
18938
|
+
SetofOptions: {
|
|
18939
|
+
from: "*";
|
|
18940
|
+
to: "print_jobs";
|
|
18941
|
+
isOneToOne: false;
|
|
18942
|
+
isSetofReturn: true;
|
|
18943
|
+
};
|
|
18944
|
+
};
|
|
18698
18945
|
claim_floriday_stock_queue: {
|
|
18699
18946
|
Args: {
|
|
18700
18947
|
p_limit?: number;
|
|
@@ -18785,22 +19032,27 @@ export type Database = {
|
|
|
18785
19032
|
created_at: string;
|
|
18786
19033
|
documentnaam: string;
|
|
18787
19034
|
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
19035
|
+
extern_job_id: string | null;
|
|
18788
19036
|
foutmelding: string | null;
|
|
18789
19037
|
gebruiker_id: string | null;
|
|
18790
19038
|
gebruiker_naam: string;
|
|
18791
19039
|
gestart_op: string | null;
|
|
18792
19040
|
id: string;
|
|
19041
|
+
idempotentie_sleutel: string | null;
|
|
18793
19042
|
is_herprint: boolean;
|
|
18794
19043
|
kopieen: number;
|
|
18795
19044
|
layout_id: string | null;
|
|
18796
19045
|
opgepakt_op: string | null;
|
|
18797
19046
|
paginas: number;
|
|
18798
19047
|
payload: Json;
|
|
19048
|
+
pdf_base64: string | null;
|
|
19049
|
+
pdf_url: string | null;
|
|
18799
19050
|
pogingen: number;
|
|
18800
19051
|
printer_id: string | null;
|
|
18801
19052
|
render_html: string | null;
|
|
18802
19053
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
18803
19054
|
updated_at: string;
|
|
19055
|
+
volgende_poging: string | null;
|
|
18804
19056
|
voltooid_op: string | null;
|
|
18805
19057
|
}[];
|
|
18806
19058
|
SetofOptions: {
|
|
@@ -18846,6 +19098,10 @@ export type Database = {
|
|
|
18846
19098
|
Args: never;
|
|
18847
19099
|
Returns: undefined;
|
|
18848
19100
|
};
|
|
19101
|
+
cleanup_voorraad_module_history: {
|
|
19102
|
+
Args: never;
|
|
19103
|
+
Returns: undefined;
|
|
19104
|
+
};
|
|
18849
19105
|
complete_floriday_stock_queue: {
|
|
18850
19106
|
Args: {
|
|
18851
19107
|
p_attempt_id?: string;
|
|
@@ -18967,6 +19223,13 @@ export type Database = {
|
|
|
18967
19223
|
};
|
|
18968
19224
|
Returns: Json;
|
|
18969
19225
|
};
|
|
19226
|
+
effective_module_permission: {
|
|
19227
|
+
Args: {
|
|
19228
|
+
_module_id: string;
|
|
19229
|
+
_user_id: string;
|
|
19230
|
+
};
|
|
19231
|
+
Returns: string;
|
|
19232
|
+
};
|
|
18970
19233
|
email_auth_decrypt: {
|
|
18971
19234
|
Args: {
|
|
18972
19235
|
cipher: string;
|
|
@@ -19770,6 +20033,51 @@ export type Database = {
|
|
|
19770
20033
|
isSetofReturn: false;
|
|
19771
20034
|
};
|
|
19772
20035
|
};
|
|
20036
|
+
logistics_floriday_claim_pushes: {
|
|
20037
|
+
Args: {
|
|
20038
|
+
_lease_seconds?: number;
|
|
20039
|
+
_limit?: number;
|
|
20040
|
+
_worker?: string;
|
|
20041
|
+
};
|
|
20042
|
+
Returns: {
|
|
20043
|
+
attempts: number;
|
|
20044
|
+
fulfillment_order_id: string;
|
|
20045
|
+
id: string;
|
|
20046
|
+
last_sent_hash: string;
|
|
20047
|
+
order_ref: string;
|
|
20048
|
+
payload: Json;
|
|
20049
|
+
payload_hash: string;
|
|
20050
|
+
revision: number;
|
|
20051
|
+
}[];
|
|
20052
|
+
};
|
|
20053
|
+
logistics_floriday_finish_push: {
|
|
20054
|
+
Args: {
|
|
20055
|
+
_error?: string;
|
|
20056
|
+
_fulfillment_order_id?: string;
|
|
20057
|
+
_id: string;
|
|
20058
|
+
_max_age_hours?: number;
|
|
20059
|
+
_max_attempts?: number;
|
|
20060
|
+
_ok: boolean;
|
|
20061
|
+
_permanent?: boolean;
|
|
20062
|
+
_revision: number;
|
|
20063
|
+
_sent_hash?: string;
|
|
20064
|
+
};
|
|
20065
|
+
Returns: string;
|
|
20066
|
+
};
|
|
20067
|
+
logistics_floriday_prune_pushes: {
|
|
20068
|
+
Args: {
|
|
20069
|
+
_days?: number;
|
|
20070
|
+
};
|
|
20071
|
+
Returns: number;
|
|
20072
|
+
};
|
|
20073
|
+
logistics_floriday_queue_push: {
|
|
20074
|
+
Args: {
|
|
20075
|
+
_order_ref: string;
|
|
20076
|
+
_payload?: Json;
|
|
20077
|
+
_payload_hash?: string;
|
|
20078
|
+
};
|
|
20079
|
+
Returns: string;
|
|
20080
|
+
};
|
|
19773
20081
|
logistics_live_carriers: {
|
|
19774
20082
|
Args: {
|
|
19775
20083
|
p_order_ref: string;
|
|
@@ -20060,6 +20368,13 @@ export type Database = {
|
|
|
20060
20368
|
};
|
|
20061
20369
|
Returns: undefined;
|
|
20062
20370
|
};
|
|
20371
|
+
my_module_permissions: {
|
|
20372
|
+
Args: never;
|
|
20373
|
+
Returns: {
|
|
20374
|
+
module_id: string;
|
|
20375
|
+
permission: string;
|
|
20376
|
+
}[];
|
|
20377
|
+
};
|
|
20063
20378
|
next_manufacture_partij: {
|
|
20064
20379
|
Args: {
|
|
20065
20380
|
_tenant_id: string;
|
|
@@ -20110,6 +20425,13 @@ export type Database = {
|
|
|
20110
20425
|
};
|
|
20111
20426
|
Returns: boolean;
|
|
20112
20427
|
};
|
|
20428
|
+
opruim_print_historie: {
|
|
20429
|
+
Args: never;
|
|
20430
|
+
Returns: {
|
|
20431
|
+
ontdaan: number;
|
|
20432
|
+
verwijderd: number;
|
|
20433
|
+
}[];
|
|
20434
|
+
};
|
|
20113
20435
|
order_number_prefix: {
|
|
20114
20436
|
Args: {
|
|
20115
20437
|
p_custom_fields?: Json;
|
|
@@ -20117,6 +20439,15 @@ export type Database = {
|
|
|
20117
20439
|
};
|
|
20118
20440
|
Returns: string;
|
|
20119
20441
|
};
|
|
20442
|
+
pick_active_printers: {
|
|
20443
|
+
Args: never;
|
|
20444
|
+
Returns: {
|
|
20445
|
+
id: string;
|
|
20446
|
+
locatie: string;
|
|
20447
|
+
naam: string;
|
|
20448
|
+
online: boolean;
|
|
20449
|
+
}[];
|
|
20450
|
+
};
|
|
20120
20451
|
pick_claim_document: {
|
|
20121
20452
|
Args: {
|
|
20122
20453
|
_queue_item_id: string;
|
|
@@ -20303,6 +20634,52 @@ export type Database = {
|
|
|
20303
20634
|
};
|
|
20304
20635
|
Returns: undefined;
|
|
20305
20636
|
};
|
|
20637
|
+
pick_reset_print: {
|
|
20638
|
+
Args: {
|
|
20639
|
+
_queue_item_id: string;
|
|
20640
|
+
_session_id: string;
|
|
20641
|
+
};
|
|
20642
|
+
Returns: {
|
|
20643
|
+
announced_at: string;
|
|
20644
|
+
assigned_user_id: string | null;
|
|
20645
|
+
barcode: string | null;
|
|
20646
|
+
cancelled_at: string | null;
|
|
20647
|
+
cart_count: number;
|
|
20648
|
+
completed_at: string | null;
|
|
20649
|
+
country_code: string | null;
|
|
20650
|
+
created_at: string;
|
|
20651
|
+
customer_name: string | null;
|
|
20652
|
+
delivery_address: string | null;
|
|
20653
|
+
document_number: string | null;
|
|
20654
|
+
document_type_id: string | null;
|
|
20655
|
+
due_at: string | null;
|
|
20656
|
+
id: string;
|
|
20657
|
+
is_urgent: boolean;
|
|
20658
|
+
line_count: number;
|
|
20659
|
+
order_number: string | null;
|
|
20660
|
+
order_type: string | null;
|
|
20661
|
+
payload: Json;
|
|
20662
|
+
print_count: number;
|
|
20663
|
+
print_job_id: string | null;
|
|
20664
|
+
printed_at: string | null;
|
|
20665
|
+
printed_by: string | null;
|
|
20666
|
+
printer_id: string | null;
|
|
20667
|
+
priority: number;
|
|
20668
|
+
reference: string | null;
|
|
20669
|
+
route: string | null;
|
|
20670
|
+
screen_id: string | null;
|
|
20671
|
+
station_id: string | null;
|
|
20672
|
+
status_id: string | null;
|
|
20673
|
+
updated_at: string;
|
|
20674
|
+
warnings: Json;
|
|
20675
|
+
};
|
|
20676
|
+
SetofOptions: {
|
|
20677
|
+
from: "*";
|
|
20678
|
+
to: "pick_queue";
|
|
20679
|
+
isOneToOne: true;
|
|
20680
|
+
isSetofReturn: false;
|
|
20681
|
+
};
|
|
20682
|
+
};
|
|
20306
20683
|
pick_station_dashboard: {
|
|
20307
20684
|
Args: never;
|
|
20308
20685
|
Returns: {
|
|
@@ -20449,6 +20826,12 @@ export type Database = {
|
|
|
20449
20826
|
};
|
|
20450
20827
|
Returns: undefined;
|
|
20451
20828
|
};
|
|
20829
|
+
reset_stalled_floriday_stock_queue: {
|
|
20830
|
+
Args: {
|
|
20831
|
+
p_include_failed?: boolean;
|
|
20832
|
+
};
|
|
20833
|
+
Returns: number;
|
|
20834
|
+
};
|
|
20452
20835
|
resolve_group_allocation: {
|
|
20453
20836
|
Args: {
|
|
20454
20837
|
_needed: number;
|
|
@@ -20493,14 +20876,28 @@ export type Database = {
|
|
|
20493
20876
|
};
|
|
20494
20877
|
Returns: Json;
|
|
20495
20878
|
};
|
|
20879
|
+
ruim_print_jobs_op: {
|
|
20880
|
+
Args: {
|
|
20881
|
+
_bewaar_dagen?: number;
|
|
20882
|
+
};
|
|
20883
|
+
Returns: number;
|
|
20884
|
+
};
|
|
20496
20885
|
run_floriday_continuous_stock_sync: {
|
|
20497
20886
|
Args: never;
|
|
20498
20887
|
Returns: undefined;
|
|
20499
20888
|
};
|
|
20889
|
+
run_floriday_stock_queue_process: {
|
|
20890
|
+
Args: never;
|
|
20891
|
+
Returns: undefined;
|
|
20892
|
+
};
|
|
20500
20893
|
run_logistics_tasks_dispatch: {
|
|
20501
20894
|
Args: never;
|
|
20502
20895
|
Returns: undefined;
|
|
20503
20896
|
};
|
|
20897
|
+
run_print_queue_ticks: {
|
|
20898
|
+
Args: never;
|
|
20899
|
+
Returns: number;
|
|
20900
|
+
};
|
|
20504
20901
|
run_twinfield_queue_tick: {
|
|
20505
20902
|
Args: never;
|
|
20506
20903
|
Returns: undefined;
|
|
@@ -20888,6 +21285,15 @@ export type Database = {
|
|
|
20888
21285
|
};
|
|
20889
21286
|
Returns: undefined;
|
|
20890
21287
|
};
|
|
21288
|
+
trade_item_stock_duplicates: {
|
|
21289
|
+
Args: never;
|
|
21290
|
+
Returns: {
|
|
21291
|
+
keys: string[];
|
|
21292
|
+
product_id: string;
|
|
21293
|
+
product_name: string;
|
|
21294
|
+
row_count: number;
|
|
21295
|
+
}[];
|
|
21296
|
+
};
|
|
20891
21297
|
try_debtor_lock: {
|
|
20892
21298
|
Args: {
|
|
20893
21299
|
_group_key: string;
|
|
@@ -20937,7 +21343,7 @@ export type Database = {
|
|
|
20937
21343
|
};
|
|
20938
21344
|
Enums: {
|
|
20939
21345
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
20940
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
21346
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
20941
21347
|
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
20942
21348
|
doc_orientation: "portrait" | "landscape";
|
|
20943
21349
|
exact_env: "staging" | "live";
|
|
@@ -21008,7 +21414,7 @@ export declare const Constants: {
|
|
|
21008
21414
|
readonly public: {
|
|
21009
21415
|
readonly Enums: {
|
|
21010
21416
|
readonly ai_import_status: readonly ["nieuw", "verwerken", "bevestigen", "klaar", "mislukt"];
|
|
21011
|
-
readonly app_role: readonly ["admin", "planner", "monteur", "administratie", "ai_admin"];
|
|
21417
|
+
readonly app_role: readonly ["admin", "planner", "monteur", "administratie", "ai_admin", "manager", "warehouse", "sales", "developer", "receptie"];
|
|
21012
21418
|
readonly doc_layout_type: readonly ["pakbon", "factuur", "offerte", "orderbevestiging", "etiket", "verzendlabel", "productlabel", "barcode_label", "magazijnlijst", "controlelijst", "transportdocument", "vrij", "sticker", "productiebon"];
|
|
21013
21419
|
readonly doc_orientation: readonly ["portrait", "landscape"];
|
|
21014
21420
|
readonly exact_env: readonly ["staging", "live"];
|