@flowselections/mailbox-orders 1.0.10 → 1.0.12
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/MailboxProposalsPage.d.ts +16 -0
- package/dist-lib/components/MailboxProposalsPage.d.ts.map +1 -1
- package/dist-lib/components/MailboxProposalsPage.js +101 -10
- package/dist-lib/integrations/supabase/client.d.ts +162 -4
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +162 -4
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +163 -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/ai-config.server.d.ts +14 -0
- package/dist-lib/lib/ai-config.server.d.ts.map +1 -1
- package/dist-lib/lib/ai-config.server.js +32 -19
- package/dist-lib/lib/mailbox-ai.server.d.ts +7 -0
- package/dist-lib/lib/mailbox-ai.server.d.ts.map +1 -1
- package/dist-lib/lib/mailbox-ai.server.js +83 -38
- package/dist-lib/lib/mailbox-ingest.server.d.ts +13 -0
- package/dist-lib/lib/mailbox-ingest.server.d.ts.map +1 -1
- package/dist-lib/lib/mailbox-ingest.server.js +77 -12
- package/dist-lib/lib/mailbox.functions.d.ts +23 -5
- package/dist-lib/lib/mailbox.functions.d.ts.map +1 -1
- package/dist-lib/lib/mailbox.functions.js +97 -4
- package/package.json +3 -3
- package/dist-lib/components/CartAssignmentWizard.d.ts +0 -6
- package/dist-lib/components/CartAssignmentWizard.d.ts.map +0 -1
- package/dist-lib/components/CartAssignmentWizard.js +0 -199
- package/dist-lib/components/MailboxInboxPage.d.ts +0 -2
- package/dist-lib/components/MailboxInboxPage.d.ts.map +0 -1
- package/dist-lib/components/MailboxInboxPage.js +0 -120
- package/dist-lib/components/settings/ImapAccountsCard.d.ts +0 -2
- package/dist-lib/components/settings/ImapAccountsCard.d.ts.map +0 -1
- package/dist-lib/components/settings/ImapAccountsCard.js +0 -136
- package/dist-lib/components/settings/ImapProfilesCard.d.ts +0 -2
- package/dist-lib/components/settings/ImapProfilesCard.d.ts.map +0 -1
- package/dist-lib/components/settings/ImapProfilesCard.js +0 -101
- package/dist-lib/components/settings/MailboxSettingsCard.d.ts +0 -2
- package/dist-lib/components/settings/MailboxSettingsCard.d.ts.map +0 -1
- package/dist-lib/components/settings/MailboxSettingsCard.js +0 -85
- package/dist-lib/lib/imap.functions.d.ts +0 -32852
- package/dist-lib/lib/imap.functions.d.ts.map +0 -1
- package/dist-lib/lib/imap.functions.js +0 -235
- package/dist-lib/lib/mailbox-auto.server.d.ts +0 -9
- package/dist-lib/lib/mailbox-auto.server.d.ts.map +0 -1
- package/dist-lib/lib/mailbox-auto.server.js +0 -198
|
@@ -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;
|
|
@@ -12711,22 +12711,27 @@ export type Database = {
|
|
|
12711
12711
|
created_at: string;
|
|
12712
12712
|
documentnaam: string;
|
|
12713
12713
|
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
12714
|
+
extern_job_id: string | null;
|
|
12714
12715
|
foutmelding: string | null;
|
|
12715
12716
|
gebruiker_id: string | null;
|
|
12716
12717
|
gebruiker_naam: string;
|
|
12717
12718
|
gestart_op: string | null;
|
|
12718
12719
|
id: string;
|
|
12720
|
+
idempotentie_sleutel: string | null;
|
|
12719
12721
|
is_herprint: boolean;
|
|
12720
12722
|
kopieen: number;
|
|
12721
12723
|
layout_id: string | null;
|
|
12722
12724
|
opgepakt_op: string | null;
|
|
12723
12725
|
paginas: number;
|
|
12724
12726
|
payload: Json;
|
|
12727
|
+
pdf_base64: string | null;
|
|
12728
|
+
pdf_url: string | null;
|
|
12725
12729
|
pogingen: number;
|
|
12726
12730
|
printer_id: string | null;
|
|
12727
12731
|
render_html: string | null;
|
|
12728
12732
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
12729
12733
|
updated_at: string;
|
|
12734
|
+
volgende_poging: string | null;
|
|
12730
12735
|
voltooid_op: string | null;
|
|
12731
12736
|
};
|
|
12732
12737
|
Insert: {
|
|
@@ -12735,22 +12740,27 @@ export type Database = {
|
|
|
12735
12740
|
created_at?: string;
|
|
12736
12741
|
documentnaam?: string;
|
|
12737
12742
|
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
12743
|
+
extern_job_id?: string | null;
|
|
12738
12744
|
foutmelding?: string | null;
|
|
12739
12745
|
gebruiker_id?: string | null;
|
|
12740
12746
|
gebruiker_naam?: string;
|
|
12741
12747
|
gestart_op?: string | null;
|
|
12742
12748
|
id?: string;
|
|
12749
|
+
idempotentie_sleutel?: string | null;
|
|
12743
12750
|
is_herprint?: boolean;
|
|
12744
12751
|
kopieen?: number;
|
|
12745
12752
|
layout_id?: string | null;
|
|
12746
12753
|
opgepakt_op?: string | null;
|
|
12747
12754
|
paginas?: number;
|
|
12748
12755
|
payload?: Json;
|
|
12756
|
+
pdf_base64?: string | null;
|
|
12757
|
+
pdf_url?: string | null;
|
|
12749
12758
|
pogingen?: number;
|
|
12750
12759
|
printer_id?: string | null;
|
|
12751
12760
|
render_html?: string | null;
|
|
12752
12761
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
12753
12762
|
updated_at?: string;
|
|
12763
|
+
volgende_poging?: string | null;
|
|
12754
12764
|
voltooid_op?: string | null;
|
|
12755
12765
|
};
|
|
12756
12766
|
Update: {
|
|
@@ -12759,22 +12769,27 @@ export type Database = {
|
|
|
12759
12769
|
created_at?: string;
|
|
12760
12770
|
documentnaam?: string;
|
|
12761
12771
|
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
12772
|
+
extern_job_id?: string | null;
|
|
12762
12773
|
foutmelding?: string | null;
|
|
12763
12774
|
gebruiker_id?: string | null;
|
|
12764
12775
|
gebruiker_naam?: string;
|
|
12765
12776
|
gestart_op?: string | null;
|
|
12766
12777
|
id?: string;
|
|
12778
|
+
idempotentie_sleutel?: string | null;
|
|
12767
12779
|
is_herprint?: boolean;
|
|
12768
12780
|
kopieen?: number;
|
|
12769
12781
|
layout_id?: string | null;
|
|
12770
12782
|
opgepakt_op?: string | null;
|
|
12771
12783
|
paginas?: number;
|
|
12772
12784
|
payload?: Json;
|
|
12785
|
+
pdf_base64?: string | null;
|
|
12786
|
+
pdf_url?: string | null;
|
|
12773
12787
|
pogingen?: number;
|
|
12774
12788
|
printer_id?: string | null;
|
|
12775
12789
|
render_html?: string | null;
|
|
12776
12790
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
12777
12791
|
updated_at?: string;
|
|
12792
|
+
volgende_poging?: string | null;
|
|
12778
12793
|
voltooid_op?: string | null;
|
|
12779
12794
|
};
|
|
12780
12795
|
Relationships: [
|
|
@@ -12801,6 +12816,36 @@ export type Database = {
|
|
|
12801
12816
|
}
|
|
12802
12817
|
];
|
|
12803
12818
|
};
|
|
12819
|
+
print_queue_runners: {
|
|
12820
|
+
Row: {
|
|
12821
|
+
actief: boolean;
|
|
12822
|
+
basis_url: string;
|
|
12823
|
+
created_at: string;
|
|
12824
|
+
id: string;
|
|
12825
|
+
laatst_gezien: string;
|
|
12826
|
+
tick_sleutel: string;
|
|
12827
|
+
updated_at: string;
|
|
12828
|
+
};
|
|
12829
|
+
Insert: {
|
|
12830
|
+
actief?: boolean;
|
|
12831
|
+
basis_url: string;
|
|
12832
|
+
created_at?: string;
|
|
12833
|
+
id?: string;
|
|
12834
|
+
laatst_gezien?: string;
|
|
12835
|
+
tick_sleutel?: string;
|
|
12836
|
+
updated_at?: string;
|
|
12837
|
+
};
|
|
12838
|
+
Update: {
|
|
12839
|
+
actief?: boolean;
|
|
12840
|
+
basis_url?: string;
|
|
12841
|
+
created_at?: string;
|
|
12842
|
+
id?: string;
|
|
12843
|
+
laatst_gezien?: string;
|
|
12844
|
+
tick_sleutel?: string;
|
|
12845
|
+
updated_at?: string;
|
|
12846
|
+
};
|
|
12847
|
+
Relationships: [];
|
|
12848
|
+
};
|
|
12804
12849
|
print_rules: {
|
|
12805
12850
|
Row: {
|
|
12806
12851
|
actief: boolean;
|
|
@@ -12969,6 +13014,7 @@ export type Database = {
|
|
|
12969
13014
|
agent_id: string | null;
|
|
12970
13015
|
created_at: string;
|
|
12971
13016
|
driver: string;
|
|
13017
|
+
extern_printer_id: string | null;
|
|
12972
13018
|
id: string;
|
|
12973
13019
|
ip_adres: string | null;
|
|
12974
13020
|
laatst_gezien: string | null;
|
|
@@ -12990,6 +13036,7 @@ export type Database = {
|
|
|
12990
13036
|
agent_id?: string | null;
|
|
12991
13037
|
created_at?: string;
|
|
12992
13038
|
driver?: string;
|
|
13039
|
+
extern_printer_id?: string | null;
|
|
12993
13040
|
id?: string;
|
|
12994
13041
|
ip_adres?: string | null;
|
|
12995
13042
|
laatst_gezien?: string | null;
|
|
@@ -13011,6 +13058,7 @@ export type Database = {
|
|
|
13011
13058
|
agent_id?: string | null;
|
|
13012
13059
|
created_at?: string;
|
|
13013
13060
|
driver?: string;
|
|
13061
|
+
extern_printer_id?: string | null;
|
|
13014
13062
|
id?: string;
|
|
13015
13063
|
ip_adres?: string | null;
|
|
13016
13064
|
laatst_gezien?: string | null;
|
|
@@ -18758,6 +18806,46 @@ export type Database = {
|
|
|
18758
18806
|
};
|
|
18759
18807
|
Returns: Json;
|
|
18760
18808
|
};
|
|
18809
|
+
claim_cloud_print_jobs: {
|
|
18810
|
+
Args: {
|
|
18811
|
+
_max?: number;
|
|
18812
|
+
};
|
|
18813
|
+
Returns: {
|
|
18814
|
+
agent_id: string | null;
|
|
18815
|
+
bron_job_id: string | null;
|
|
18816
|
+
created_at: string;
|
|
18817
|
+
documentnaam: string;
|
|
18818
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
18819
|
+
extern_job_id: string | null;
|
|
18820
|
+
foutmelding: string | null;
|
|
18821
|
+
gebruiker_id: string | null;
|
|
18822
|
+
gebruiker_naam: string;
|
|
18823
|
+
gestart_op: string | null;
|
|
18824
|
+
id: string;
|
|
18825
|
+
idempotentie_sleutel: string | null;
|
|
18826
|
+
is_herprint: boolean;
|
|
18827
|
+
kopieen: number;
|
|
18828
|
+
layout_id: string | null;
|
|
18829
|
+
opgepakt_op: string | null;
|
|
18830
|
+
paginas: number;
|
|
18831
|
+
payload: Json;
|
|
18832
|
+
pdf_base64: string | null;
|
|
18833
|
+
pdf_url: string | null;
|
|
18834
|
+
pogingen: number;
|
|
18835
|
+
printer_id: string | null;
|
|
18836
|
+
render_html: string | null;
|
|
18837
|
+
status: Database["public"]["Enums"]["print_job_status"];
|
|
18838
|
+
updated_at: string;
|
|
18839
|
+
volgende_poging: string | null;
|
|
18840
|
+
voltooid_op: string | null;
|
|
18841
|
+
}[];
|
|
18842
|
+
SetofOptions: {
|
|
18843
|
+
from: "*";
|
|
18844
|
+
to: "print_jobs";
|
|
18845
|
+
isOneToOne: false;
|
|
18846
|
+
isSetofReturn: true;
|
|
18847
|
+
};
|
|
18848
|
+
};
|
|
18761
18849
|
claim_floriday_stock_queue: {
|
|
18762
18850
|
Args: {
|
|
18763
18851
|
p_limit?: number;
|
|
@@ -18848,22 +18936,27 @@ export type Database = {
|
|
|
18848
18936
|
created_at: string;
|
|
18849
18937
|
documentnaam: string;
|
|
18850
18938
|
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
18939
|
+
extern_job_id: string | null;
|
|
18851
18940
|
foutmelding: string | null;
|
|
18852
18941
|
gebruiker_id: string | null;
|
|
18853
18942
|
gebruiker_naam: string;
|
|
18854
18943
|
gestart_op: string | null;
|
|
18855
18944
|
id: string;
|
|
18945
|
+
idempotentie_sleutel: string | null;
|
|
18856
18946
|
is_herprint: boolean;
|
|
18857
18947
|
kopieen: number;
|
|
18858
18948
|
layout_id: string | null;
|
|
18859
18949
|
opgepakt_op: string | null;
|
|
18860
18950
|
paginas: number;
|
|
18861
18951
|
payload: Json;
|
|
18952
|
+
pdf_base64: string | null;
|
|
18953
|
+
pdf_url: string | null;
|
|
18862
18954
|
pogingen: number;
|
|
18863
18955
|
printer_id: string | null;
|
|
18864
18956
|
render_html: string | null;
|
|
18865
18957
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
18866
18958
|
updated_at: string;
|
|
18959
|
+
volgende_poging: string | null;
|
|
18867
18960
|
voltooid_op: string | null;
|
|
18868
18961
|
}[];
|
|
18869
18962
|
SetofOptions: {
|
|
@@ -20225,6 +20318,15 @@ export type Database = {
|
|
|
20225
20318
|
};
|
|
20226
20319
|
Returns: string;
|
|
20227
20320
|
};
|
|
20321
|
+
pick_active_printers: {
|
|
20322
|
+
Args: never;
|
|
20323
|
+
Returns: {
|
|
20324
|
+
id: string;
|
|
20325
|
+
locatie: string;
|
|
20326
|
+
naam: string;
|
|
20327
|
+
online: boolean;
|
|
20328
|
+
}[];
|
|
20329
|
+
};
|
|
20228
20330
|
pick_claim_document: {
|
|
20229
20331
|
Args: {
|
|
20230
20332
|
_queue_item_id: string;
|
|
@@ -20411,6 +20513,52 @@ export type Database = {
|
|
|
20411
20513
|
};
|
|
20412
20514
|
Returns: undefined;
|
|
20413
20515
|
};
|
|
20516
|
+
pick_reset_print: {
|
|
20517
|
+
Args: {
|
|
20518
|
+
_queue_item_id: string;
|
|
20519
|
+
_session_id: string;
|
|
20520
|
+
};
|
|
20521
|
+
Returns: {
|
|
20522
|
+
announced_at: string;
|
|
20523
|
+
assigned_user_id: string | null;
|
|
20524
|
+
barcode: string | null;
|
|
20525
|
+
cancelled_at: string | null;
|
|
20526
|
+
cart_count: number;
|
|
20527
|
+
completed_at: string | null;
|
|
20528
|
+
country_code: string | null;
|
|
20529
|
+
created_at: string;
|
|
20530
|
+
customer_name: string | null;
|
|
20531
|
+
delivery_address: string | null;
|
|
20532
|
+
document_number: string | null;
|
|
20533
|
+
document_type_id: string | null;
|
|
20534
|
+
due_at: string | null;
|
|
20535
|
+
id: string;
|
|
20536
|
+
is_urgent: boolean;
|
|
20537
|
+
line_count: number;
|
|
20538
|
+
order_number: string | null;
|
|
20539
|
+
order_type: string | null;
|
|
20540
|
+
payload: Json;
|
|
20541
|
+
print_count: number;
|
|
20542
|
+
print_job_id: string | null;
|
|
20543
|
+
printed_at: string | null;
|
|
20544
|
+
printed_by: string | null;
|
|
20545
|
+
printer_id: string | null;
|
|
20546
|
+
priority: number;
|
|
20547
|
+
reference: string | null;
|
|
20548
|
+
route: string | null;
|
|
20549
|
+
screen_id: string | null;
|
|
20550
|
+
station_id: string | null;
|
|
20551
|
+
status_id: string | null;
|
|
20552
|
+
updated_at: string;
|
|
20553
|
+
warnings: Json;
|
|
20554
|
+
};
|
|
20555
|
+
SetofOptions: {
|
|
20556
|
+
from: "*";
|
|
20557
|
+
to: "pick_queue";
|
|
20558
|
+
isOneToOne: true;
|
|
20559
|
+
isSetofReturn: false;
|
|
20560
|
+
};
|
|
20561
|
+
};
|
|
20414
20562
|
pick_station_dashboard: {
|
|
20415
20563
|
Args: never;
|
|
20416
20564
|
Returns: {
|
|
@@ -20601,6 +20749,12 @@ export type Database = {
|
|
|
20601
20749
|
};
|
|
20602
20750
|
Returns: Json;
|
|
20603
20751
|
};
|
|
20752
|
+
ruim_print_jobs_op: {
|
|
20753
|
+
Args: {
|
|
20754
|
+
_bewaar_dagen?: number;
|
|
20755
|
+
};
|
|
20756
|
+
Returns: number;
|
|
20757
|
+
};
|
|
20604
20758
|
run_floriday_continuous_stock_sync: {
|
|
20605
20759
|
Args: never;
|
|
20606
20760
|
Returns: undefined;
|
|
@@ -20609,6 +20763,10 @@ export type Database = {
|
|
|
20609
20763
|
Args: never;
|
|
20610
20764
|
Returns: undefined;
|
|
20611
20765
|
};
|
|
20766
|
+
run_print_queue_ticks: {
|
|
20767
|
+
Args: never;
|
|
20768
|
+
Returns: number;
|
|
20769
|
+
};
|
|
20612
20770
|
run_twinfield_queue_tick: {
|
|
20613
20771
|
Args: never;
|
|
20614
20772
|
Returns: undefined;
|
|
@@ -21045,7 +21203,7 @@ export type Database = {
|
|
|
21045
21203
|
};
|
|
21046
21204
|
Enums: {
|
|
21047
21205
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
21048
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
21206
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
21049
21207
|
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
21050
21208
|
doc_orientation: "portrait" | "landscape";
|
|
21051
21209
|
exact_env: "staging" | "live";
|
|
@@ -21116,7 +21274,7 @@ export declare const Constants: {
|
|
|
21116
21274
|
readonly public: {
|
|
21117
21275
|
readonly Enums: {
|
|
21118
21276
|
readonly ai_import_status: readonly ["nieuw", "verwerken", "bevestigen", "klaar", "mislukt"];
|
|
21119
|
-
readonly app_role: readonly ["admin", "planner", "monteur", "administratie", "ai_admin"];
|
|
21277
|
+
readonly app_role: readonly ["admin", "planner", "monteur", "administratie", "ai_admin", "manager", "warehouse", "sales", "developer", "receptie"];
|
|
21120
21278
|
readonly doc_layout_type: readonly ["pakbon", "factuur", "offerte", "orderbevestiging", "etiket", "verzendlabel", "productlabel", "barcode_label", "magazijnlijst", "controlelijst", "transportdocument", "vrij", "sticker", "productiebon"];
|
|
21121
21279
|
readonly doc_orientation: readonly ["portrait", "landscape"];
|
|
21122
21280
|
readonly exact_env: readonly ["staging", "live"];
|