@flowselections/floriday-afhandeling-module 1.0.40 → 1.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/afhandeling/ControleLijstPrint.js +54 -54
- package/dist-lib/components/afhandeling/ControlePage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/ControlePage.js +36 -2
- package/dist-lib/components/afhandeling/DagDetailDialog.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/DagDetailDialog.js +3 -2
- package/dist-lib/components/afhandeling/WeekAgendaView.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/WeekAgendaView.js +38 -45
- package/dist-lib/components/pickstation/PakbonTemplate.js +70 -70
- package/dist-lib/hooks/useCartIndex.d.ts +11 -0
- package/dist-lib/hooks/useCartIndex.d.ts.map +1 -0
- package/dist-lib/hooks/useCartIndex.js +56 -0
- package/dist-lib/hooks/useConsistencyCheck.d.ts +8 -0
- package/dist-lib/hooks/useConsistencyCheck.d.ts.map +1 -0
- package/dist-lib/hooks/useConsistencyCheck.js +22 -0
- package/dist-lib/hooks/useOrderPlanning.d.ts.map +1 -1
- package/dist-lib/hooks/useOrderPlanning.js +6 -2
- package/dist-lib/hooks/usePickAgenda.d.ts +32 -0
- package/dist-lib/hooks/usePickAgenda.d.ts.map +1 -0
- package/dist-lib/hooks/usePickAgenda.js +75 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +164 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +164 -1
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +164 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +164 -1
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +330 -4
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/carrierSignupMail.server.js +26 -26
- package/dist-lib/lib/carriers.functions.d.ts +820 -5
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.d.ts +820 -5
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.d.ts +1743 -124
- package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.js +92 -127
- package/dist-lib/lib/floriday.functions.d.ts +165 -2
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ export type Json = string | number | boolean | null | {
|
|
|
3
3
|
} | Json[];
|
|
4
4
|
export type Database = {
|
|
5
5
|
__InternalSupabase: {
|
|
6
|
-
PostgrestVersion: "14.
|
|
6
|
+
PostgrestVersion: "14.5";
|
|
7
7
|
};
|
|
8
8
|
public: {
|
|
9
9
|
Tables: {
|
|
@@ -14041,6 +14041,9 @@ export type Database = {
|
|
|
14041
14041
|
is_herprint: boolean;
|
|
14042
14042
|
kopieen: number;
|
|
14043
14043
|
layout_id: string | null;
|
|
14044
|
+
lokaal_opgeslagen_op: string | null;
|
|
14045
|
+
lokale_pdf_fout: string | null;
|
|
14046
|
+
lokale_pdf_status: string | null;
|
|
14044
14047
|
opgepakt_op: string | null;
|
|
14045
14048
|
paginas: number;
|
|
14046
14049
|
payload: Json;
|
|
@@ -14049,6 +14052,7 @@ export type Database = {
|
|
|
14049
14052
|
pogingen: number;
|
|
14050
14053
|
printer_id: string | null;
|
|
14051
14054
|
render_html: string | null;
|
|
14055
|
+
resultaat_pdf_base64: string | null;
|
|
14052
14056
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
14053
14057
|
updated_at: string;
|
|
14054
14058
|
volgende_poging: string | null;
|
|
@@ -14073,6 +14077,9 @@ export type Database = {
|
|
|
14073
14077
|
is_herprint?: boolean;
|
|
14074
14078
|
kopieen?: number;
|
|
14075
14079
|
layout_id?: string | null;
|
|
14080
|
+
lokaal_opgeslagen_op?: string | null;
|
|
14081
|
+
lokale_pdf_fout?: string | null;
|
|
14082
|
+
lokale_pdf_status?: string | null;
|
|
14076
14083
|
opgepakt_op?: string | null;
|
|
14077
14084
|
paginas?: number;
|
|
14078
14085
|
payload?: Json;
|
|
@@ -14081,6 +14088,7 @@ export type Database = {
|
|
|
14081
14088
|
pogingen?: number;
|
|
14082
14089
|
printer_id?: string | null;
|
|
14083
14090
|
render_html?: string | null;
|
|
14091
|
+
resultaat_pdf_base64?: string | null;
|
|
14084
14092
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
14085
14093
|
updated_at?: string;
|
|
14086
14094
|
volgende_poging?: string | null;
|
|
@@ -14105,6 +14113,9 @@ export type Database = {
|
|
|
14105
14113
|
is_herprint?: boolean;
|
|
14106
14114
|
kopieen?: number;
|
|
14107
14115
|
layout_id?: string | null;
|
|
14116
|
+
lokaal_opgeslagen_op?: string | null;
|
|
14117
|
+
lokale_pdf_fout?: string | null;
|
|
14118
|
+
lokale_pdf_status?: string | null;
|
|
14108
14119
|
opgepakt_op?: string | null;
|
|
14109
14120
|
paginas?: number;
|
|
14110
14121
|
payload?: Json;
|
|
@@ -14113,6 +14124,7 @@ export type Database = {
|
|
|
14113
14124
|
pogingen?: number;
|
|
14114
14125
|
printer_id?: string | null;
|
|
14115
14126
|
render_html?: string | null;
|
|
14127
|
+
resultaat_pdf_base64?: string | null;
|
|
14116
14128
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
14117
14129
|
updated_at?: string;
|
|
14118
14130
|
volgende_poging?: string | null;
|
|
@@ -14519,6 +14531,7 @@ export type Database = {
|
|
|
14519
14531
|
ondersteunde_laden: Json | null;
|
|
14520
14532
|
online: boolean;
|
|
14521
14533
|
papierformaat: string;
|
|
14534
|
+
pdf_map: string | null;
|
|
14522
14535
|
poort: number | null;
|
|
14523
14536
|
soort: Database["public"]["Enums"]["printer_kind"];
|
|
14524
14537
|
systeemnaam: string;
|
|
@@ -14544,6 +14557,7 @@ export type Database = {
|
|
|
14544
14557
|
ondersteunde_laden?: Json | null;
|
|
14545
14558
|
online?: boolean;
|
|
14546
14559
|
papierformaat?: string;
|
|
14560
|
+
pdf_map?: string | null;
|
|
14547
14561
|
poort?: number | null;
|
|
14548
14562
|
soort?: Database["public"]["Enums"]["printer_kind"];
|
|
14549
14563
|
systeemnaam?: string;
|
|
@@ -14569,6 +14583,7 @@ export type Database = {
|
|
|
14569
14583
|
ondersteunde_laden?: Json | null;
|
|
14570
14584
|
online?: boolean;
|
|
14571
14585
|
papierformaat?: string;
|
|
14586
|
+
pdf_map?: string | null;
|
|
14572
14587
|
poort?: number | null;
|
|
14573
14588
|
soort?: Database["public"]["Enums"]["printer_kind"];
|
|
14574
14589
|
systeemnaam?: string;
|
|
@@ -20986,6 +21001,9 @@ export type Database = {
|
|
|
20986
21001
|
is_herprint: boolean;
|
|
20987
21002
|
kopieen: number;
|
|
20988
21003
|
layout_id: string | null;
|
|
21004
|
+
lokaal_opgeslagen_op: string | null;
|
|
21005
|
+
lokale_pdf_fout: string | null;
|
|
21006
|
+
lokale_pdf_status: string | null;
|
|
20989
21007
|
opgepakt_op: string | null;
|
|
20990
21008
|
paginas: number;
|
|
20991
21009
|
payload: Json;
|
|
@@ -20994,6 +21012,7 @@ export type Database = {
|
|
|
20994
21012
|
pogingen: number;
|
|
20995
21013
|
printer_id: string | null;
|
|
20996
21014
|
render_html: string | null;
|
|
21015
|
+
resultaat_pdf_base64: string | null;
|
|
20997
21016
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
20998
21017
|
updated_at: string;
|
|
20999
21018
|
volgende_poging: string | null;
|
|
@@ -21085,6 +21104,53 @@ export type Database = {
|
|
|
21085
21104
|
isSetofReturn: true;
|
|
21086
21105
|
};
|
|
21087
21106
|
};
|
|
21107
|
+
claim_pdf_print_jobs: {
|
|
21108
|
+
Args: {
|
|
21109
|
+
_max?: number;
|
|
21110
|
+
};
|
|
21111
|
+
Returns: {
|
|
21112
|
+
agent_id: string | null;
|
|
21113
|
+
bron_job_id: string | null;
|
|
21114
|
+
created_at: string;
|
|
21115
|
+
documentnaam: string;
|
|
21116
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
21117
|
+
extern_job_id: string | null;
|
|
21118
|
+
foutmelding: string | null;
|
|
21119
|
+
gebruiker_id: string | null;
|
|
21120
|
+
gebruiker_naam: string;
|
|
21121
|
+
gebruikte_bron: string | null;
|
|
21122
|
+
gebruikte_layout_id: string | null;
|
|
21123
|
+
gestart_op: string | null;
|
|
21124
|
+
herkomst: string | null;
|
|
21125
|
+
id: string;
|
|
21126
|
+
idempotentie_sleutel: string | null;
|
|
21127
|
+
is_herprint: boolean;
|
|
21128
|
+
kopieen: number;
|
|
21129
|
+
layout_id: string | null;
|
|
21130
|
+
lokaal_opgeslagen_op: string | null;
|
|
21131
|
+
lokale_pdf_fout: string | null;
|
|
21132
|
+
lokale_pdf_status: string | null;
|
|
21133
|
+
opgepakt_op: string | null;
|
|
21134
|
+
paginas: number;
|
|
21135
|
+
payload: Json;
|
|
21136
|
+
pdf_base64: string | null;
|
|
21137
|
+
pdf_url: string | null;
|
|
21138
|
+
pogingen: number;
|
|
21139
|
+
printer_id: string | null;
|
|
21140
|
+
render_html: string | null;
|
|
21141
|
+
resultaat_pdf_base64: string | null;
|
|
21142
|
+
status: Database["public"]["Enums"]["print_job_status"];
|
|
21143
|
+
updated_at: string;
|
|
21144
|
+
volgende_poging: string | null;
|
|
21145
|
+
voltooid_op: string | null;
|
|
21146
|
+
}[];
|
|
21147
|
+
SetofOptions: {
|
|
21148
|
+
from: "*";
|
|
21149
|
+
to: "print_jobs";
|
|
21150
|
+
isOneToOne: false;
|
|
21151
|
+
isSetofReturn: true;
|
|
21152
|
+
};
|
|
21153
|
+
};
|
|
21088
21154
|
claim_print_jobs: {
|
|
21089
21155
|
Args: {
|
|
21090
21156
|
_agent_id: string;
|
|
@@ -21109,6 +21175,9 @@ export type Database = {
|
|
|
21109
21175
|
is_herprint: boolean;
|
|
21110
21176
|
kopieen: number;
|
|
21111
21177
|
layout_id: string | null;
|
|
21178
|
+
lokaal_opgeslagen_op: string | null;
|
|
21179
|
+
lokale_pdf_fout: string | null;
|
|
21180
|
+
lokale_pdf_status: string | null;
|
|
21112
21181
|
opgepakt_op: string | null;
|
|
21113
21182
|
paginas: number;
|
|
21114
21183
|
payload: Json;
|
|
@@ -21117,6 +21186,7 @@ export type Database = {
|
|
|
21117
21186
|
pogingen: number;
|
|
21118
21187
|
printer_id: string | null;
|
|
21119
21188
|
render_html: string | null;
|
|
21189
|
+
resultaat_pdf_base64: string | null;
|
|
21120
21190
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
21121
21191
|
updated_at: string;
|
|
21122
21192
|
volgende_poging: string | null;
|
|
@@ -21257,6 +21327,8 @@ export type Database = {
|
|
|
21257
21327
|
order_id: string;
|
|
21258
21328
|
order_source: string;
|
|
21259
21329
|
pick_date: string;
|
|
21330
|
+
printed_at: string;
|
|
21331
|
+
printed_today: boolean;
|
|
21260
21332
|
status: string;
|
|
21261
21333
|
}[];
|
|
21262
21334
|
};
|
|
@@ -21965,6 +22037,10 @@ export type Database = {
|
|
|
21965
22037
|
};
|
|
21966
22038
|
Returns: number;
|
|
21967
22039
|
};
|
|
22040
|
+
logistics_cancel_orphan_tasks: {
|
|
22041
|
+
Args: never;
|
|
22042
|
+
Returns: number;
|
|
22043
|
+
};
|
|
21968
22044
|
logistics_capacity_day_check: {
|
|
21969
22045
|
Args: {
|
|
21970
22046
|
p_from?: string;
|
|
@@ -21985,6 +22061,25 @@ export type Database = {
|
|
|
21985
22061
|
};
|
|
21986
22062
|
Returns: number;
|
|
21987
22063
|
};
|
|
22064
|
+
logistics_cart_index: {
|
|
22065
|
+
Args: {
|
|
22066
|
+
p_from?: string;
|
|
22067
|
+
p_to?: string;
|
|
22068
|
+
};
|
|
22069
|
+
Returns: {
|
|
22070
|
+
cart_id: string;
|
|
22071
|
+
cart_index: number;
|
|
22072
|
+
cart_label: string;
|
|
22073
|
+
is_shared: boolean;
|
|
22074
|
+
order_number: string;
|
|
22075
|
+
order_source: string;
|
|
22076
|
+
order_uuid: string;
|
|
22077
|
+
pick_date: string;
|
|
22078
|
+
printed_at: string;
|
|
22079
|
+
shifted: boolean;
|
|
22080
|
+
task_status: string;
|
|
22081
|
+
}[];
|
|
22082
|
+
};
|
|
21988
22083
|
logistics_check_order_allowed: {
|
|
21989
22084
|
Args: {
|
|
21990
22085
|
p_lines: Json;
|
|
@@ -22133,6 +22228,17 @@ export type Database = {
|
|
|
22133
22228
|
isSetofReturn: false;
|
|
22134
22229
|
};
|
|
22135
22230
|
};
|
|
22231
|
+
logistics_consistency_check: {
|
|
22232
|
+
Args: never;
|
|
22233
|
+
Returns: {
|
|
22234
|
+
agenda_carts: number;
|
|
22235
|
+
control_carts: number;
|
|
22236
|
+
ok: boolean;
|
|
22237
|
+
orphan_tasks: number;
|
|
22238
|
+
pick_date: string;
|
|
22239
|
+
raw_carts: number;
|
|
22240
|
+
}[];
|
|
22241
|
+
};
|
|
22136
22242
|
logistics_delay_customer_email: {
|
|
22137
22243
|
Args: {
|
|
22138
22244
|
p_customer: string;
|
|
@@ -22326,6 +22432,25 @@ export type Database = {
|
|
|
22326
22432
|
};
|
|
22327
22433
|
Returns: number;
|
|
22328
22434
|
};
|
|
22435
|
+
logistics_order_overview: {
|
|
22436
|
+
Args: {
|
|
22437
|
+
p_from?: string;
|
|
22438
|
+
p_to?: string;
|
|
22439
|
+
};
|
|
22440
|
+
Returns: {
|
|
22441
|
+
cart_count: number;
|
|
22442
|
+
customer_name: string;
|
|
22443
|
+
delivery_date: string;
|
|
22444
|
+
order_number: string;
|
|
22445
|
+
order_source: string;
|
|
22446
|
+
order_uuid: string;
|
|
22447
|
+
pick_date: string;
|
|
22448
|
+
plant_count: number;
|
|
22449
|
+
printed_at: string;
|
|
22450
|
+
shifted: boolean;
|
|
22451
|
+
status: string;
|
|
22452
|
+
}[];
|
|
22453
|
+
};
|
|
22329
22454
|
logistics_order_pick_day: {
|
|
22330
22455
|
Args: {
|
|
22331
22456
|
p_order_ref: string;
|
|
@@ -22338,6 +22463,22 @@ export type Database = {
|
|
|
22338
22463
|
};
|
|
22339
22464
|
Returns: string;
|
|
22340
22465
|
};
|
|
22466
|
+
logistics_pick_agenda: {
|
|
22467
|
+
Args: {
|
|
22468
|
+
p_from?: string;
|
|
22469
|
+
p_to?: string;
|
|
22470
|
+
};
|
|
22471
|
+
Returns: {
|
|
22472
|
+
cart_count: number;
|
|
22473
|
+
in_preparation: number;
|
|
22474
|
+
order_count: number;
|
|
22475
|
+
orders: Json;
|
|
22476
|
+
pick_date: string;
|
|
22477
|
+
plant_count: number;
|
|
22478
|
+
ready: number;
|
|
22479
|
+
shifted_count: number;
|
|
22480
|
+
}[];
|
|
22481
|
+
};
|
|
22341
22482
|
logistics_pick_email_purpose: {
|
|
22342
22483
|
Args: never;
|
|
22343
22484
|
Returns: string;
|
|
@@ -22497,6 +22638,15 @@ export type Database = {
|
|
|
22497
22638
|
};
|
|
22498
22639
|
Returns: Json;
|
|
22499
22640
|
};
|
|
22641
|
+
logistics_resolve_pick_document: {
|
|
22642
|
+
Args: {
|
|
22643
|
+
_is_herprint: boolean;
|
|
22644
|
+
_queue_item_id: string;
|
|
22645
|
+
_session_id: string;
|
|
22646
|
+
_voorbeeld: boolean;
|
|
22647
|
+
};
|
|
22648
|
+
Returns: Json;
|
|
22649
|
+
};
|
|
22500
22650
|
logistics_resolve_settings: {
|
|
22501
22651
|
Args: {
|
|
22502
22652
|
p_config_id: string;
|
|
@@ -22951,6 +23101,13 @@ export type Database = {
|
|
|
22951
23101
|
};
|
|
22952
23102
|
Returns: Json;
|
|
22953
23103
|
};
|
|
23104
|
+
pick_preview_job: {
|
|
23105
|
+
Args: {
|
|
23106
|
+
_queue_item_id: string;
|
|
23107
|
+
_station_slug: string;
|
|
23108
|
+
};
|
|
23109
|
+
Returns: Json;
|
|
23110
|
+
};
|
|
22954
23111
|
pick_print_job_status: {
|
|
22955
23112
|
Args: {
|
|
22956
23113
|
_job_id: string;
|
|
@@ -23300,6 +23457,12 @@ export type Database = {
|
|
|
23300
23457
|
};
|
|
23301
23458
|
Returns: string;
|
|
23302
23459
|
};
|
|
23460
|
+
resolve_print_job_printer_id: {
|
|
23461
|
+
Args: {
|
|
23462
|
+
_job: Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
23463
|
+
};
|
|
23464
|
+
Returns: string;
|
|
23465
|
+
};
|
|
23303
23466
|
resolve_product_id_for_item: {
|
|
23304
23467
|
Args: {
|
|
23305
23468
|
p_product_name: string;
|