@flowselections/floriday-afhandeling-module 1.0.38 → 1.0.40
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 +1 -3
- package/dist-lib/components/afhandeling/DagDetailDialog.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/DagDetailDialog.js +5 -38
- package/dist-lib/components/afhandeling/LeveringenPage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/LeveringenPage.js +1 -1
- package/dist-lib/components/afhandeling/WeekAgendaView.d.ts +1 -3
- package/dist-lib/components/afhandeling/WeekAgendaView.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/WeekAgendaView.js +6 -57
- package/dist-lib/components/pickstation/PakbonTemplate.js +70 -70
- package/dist-lib/components/settings/AfhandelingSettingsCard.d.ts.map +1 -1
- package/dist-lib/components/settings/AfhandelingSettingsCard.js +4 -55
- package/dist-lib/hooks/useOrderPlanning.d.ts.map +1 -1
- package/dist-lib/hooks/useOrderPlanning.js +6 -27
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +471 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +471 -1
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +471 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +477 -1
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +952 -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 +2355 -5
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.d.ts +2355 -5
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.d.ts +4740 -20
- package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +472 -2
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/printing.d.ts +2 -11
- package/dist-lib/lib/printing.d.ts.map +1 -1
- package/dist-lib/lib/printing.js +8 -64
- 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.17";
|
|
7
7
|
};
|
|
8
8
|
public: {
|
|
9
9
|
Tables: {
|
|
@@ -10978,6 +10978,246 @@ export type Database = {
|
|
|
10978
10978
|
};
|
|
10979
10979
|
Relationships: [];
|
|
10980
10980
|
};
|
|
10981
|
+
maps_addresses: {
|
|
10982
|
+
Row: {
|
|
10983
|
+
address_hash: string;
|
|
10984
|
+
created_at: string;
|
|
10985
|
+
error_reason: string | null;
|
|
10986
|
+
formatted_address: string | null;
|
|
10987
|
+
id: string;
|
|
10988
|
+
lat: number | null;
|
|
10989
|
+
lng: number | null;
|
|
10990
|
+
place_id: string | null;
|
|
10991
|
+
raw_address: string;
|
|
10992
|
+
resolved_at: string | null;
|
|
10993
|
+
status: string;
|
|
10994
|
+
updated_at: string;
|
|
10995
|
+
};
|
|
10996
|
+
Insert: {
|
|
10997
|
+
address_hash: string;
|
|
10998
|
+
created_at?: string;
|
|
10999
|
+
error_reason?: string | null;
|
|
11000
|
+
formatted_address?: string | null;
|
|
11001
|
+
id?: string;
|
|
11002
|
+
lat?: number | null;
|
|
11003
|
+
lng?: number | null;
|
|
11004
|
+
place_id?: string | null;
|
|
11005
|
+
raw_address: string;
|
|
11006
|
+
resolved_at?: string | null;
|
|
11007
|
+
status?: string;
|
|
11008
|
+
updated_at?: string;
|
|
11009
|
+
};
|
|
11010
|
+
Update: {
|
|
11011
|
+
address_hash?: string;
|
|
11012
|
+
created_at?: string;
|
|
11013
|
+
error_reason?: string | null;
|
|
11014
|
+
formatted_address?: string | null;
|
|
11015
|
+
id?: string;
|
|
11016
|
+
lat?: number | null;
|
|
11017
|
+
lng?: number | null;
|
|
11018
|
+
place_id?: string | null;
|
|
11019
|
+
raw_address?: string;
|
|
11020
|
+
resolved_at?: string | null;
|
|
11021
|
+
status?: string;
|
|
11022
|
+
updated_at?: string;
|
|
11023
|
+
};
|
|
11024
|
+
Relationships: [];
|
|
11025
|
+
};
|
|
11026
|
+
maps_job_lease: {
|
|
11027
|
+
Row: {
|
|
11028
|
+
job: string;
|
|
11029
|
+
locked_until: string;
|
|
11030
|
+
updated_at: string;
|
|
11031
|
+
};
|
|
11032
|
+
Insert: {
|
|
11033
|
+
job: string;
|
|
11034
|
+
locked_until?: string;
|
|
11035
|
+
updated_at?: string;
|
|
11036
|
+
};
|
|
11037
|
+
Update: {
|
|
11038
|
+
job?: string;
|
|
11039
|
+
locked_until?: string;
|
|
11040
|
+
updated_at?: string;
|
|
11041
|
+
};
|
|
11042
|
+
Relationships: [];
|
|
11043
|
+
};
|
|
11044
|
+
maps_request_queue: {
|
|
11045
|
+
Row: {
|
|
11046
|
+
attempts: number;
|
|
11047
|
+
created_at: string;
|
|
11048
|
+
destination_hash: string | null;
|
|
11049
|
+
id: string;
|
|
11050
|
+
kind: string;
|
|
11051
|
+
last_error: string | null;
|
|
11052
|
+
mode: string;
|
|
11053
|
+
origin_hash: string | null;
|
|
11054
|
+
processed_at: string | null;
|
|
11055
|
+
raw_destination: string | null;
|
|
11056
|
+
raw_origin: string | null;
|
|
11057
|
+
requested_by: string | null;
|
|
11058
|
+
status: string;
|
|
11059
|
+
updated_at: string;
|
|
11060
|
+
};
|
|
11061
|
+
Insert: {
|
|
11062
|
+
attempts?: number;
|
|
11063
|
+
created_at?: string;
|
|
11064
|
+
destination_hash?: string | null;
|
|
11065
|
+
id?: string;
|
|
11066
|
+
kind: string;
|
|
11067
|
+
last_error?: string | null;
|
|
11068
|
+
mode?: string;
|
|
11069
|
+
origin_hash?: string | null;
|
|
11070
|
+
processed_at?: string | null;
|
|
11071
|
+
raw_destination?: string | null;
|
|
11072
|
+
raw_origin?: string | null;
|
|
11073
|
+
requested_by?: string | null;
|
|
11074
|
+
status?: string;
|
|
11075
|
+
updated_at?: string;
|
|
11076
|
+
};
|
|
11077
|
+
Update: {
|
|
11078
|
+
attempts?: number;
|
|
11079
|
+
created_at?: string;
|
|
11080
|
+
destination_hash?: string | null;
|
|
11081
|
+
id?: string;
|
|
11082
|
+
kind?: string;
|
|
11083
|
+
last_error?: string | null;
|
|
11084
|
+
mode?: string;
|
|
11085
|
+
origin_hash?: string | null;
|
|
11086
|
+
processed_at?: string | null;
|
|
11087
|
+
raw_destination?: string | null;
|
|
11088
|
+
raw_origin?: string | null;
|
|
11089
|
+
requested_by?: string | null;
|
|
11090
|
+
status?: string;
|
|
11091
|
+
updated_at?: string;
|
|
11092
|
+
};
|
|
11093
|
+
Relationships: [];
|
|
11094
|
+
};
|
|
11095
|
+
maps_settings: {
|
|
11096
|
+
Row: {
|
|
11097
|
+
allow_estimate_fallback: boolean;
|
|
11098
|
+
cache_ttl_days: number;
|
|
11099
|
+
created_at: string;
|
|
11100
|
+
daily_call_limit: number;
|
|
11101
|
+
id: string;
|
|
11102
|
+
last_error: string | null;
|
|
11103
|
+
last_error_at: string | null;
|
|
11104
|
+
last_success_at: string | null;
|
|
11105
|
+
provider: string;
|
|
11106
|
+
updated_at: string;
|
|
11107
|
+
};
|
|
11108
|
+
Insert: {
|
|
11109
|
+
allow_estimate_fallback?: boolean;
|
|
11110
|
+
cache_ttl_days?: number;
|
|
11111
|
+
created_at?: string;
|
|
11112
|
+
daily_call_limit?: number;
|
|
11113
|
+
id?: string;
|
|
11114
|
+
last_error?: string | null;
|
|
11115
|
+
last_error_at?: string | null;
|
|
11116
|
+
last_success_at?: string | null;
|
|
11117
|
+
provider?: string;
|
|
11118
|
+
updated_at?: string;
|
|
11119
|
+
};
|
|
11120
|
+
Update: {
|
|
11121
|
+
allow_estimate_fallback?: boolean;
|
|
11122
|
+
cache_ttl_days?: number;
|
|
11123
|
+
created_at?: string;
|
|
11124
|
+
daily_call_limit?: number;
|
|
11125
|
+
id?: string;
|
|
11126
|
+
last_error?: string | null;
|
|
11127
|
+
last_error_at?: string | null;
|
|
11128
|
+
last_success_at?: string | null;
|
|
11129
|
+
provider?: string;
|
|
11130
|
+
updated_at?: string;
|
|
11131
|
+
};
|
|
11132
|
+
Relationships: [];
|
|
11133
|
+
};
|
|
11134
|
+
maps_travel_times: {
|
|
11135
|
+
Row: {
|
|
11136
|
+
created_at: string;
|
|
11137
|
+
destination_id: string;
|
|
11138
|
+
distance_m: number | null;
|
|
11139
|
+
duration_sec: number;
|
|
11140
|
+
expires_at: string;
|
|
11141
|
+
id: string;
|
|
11142
|
+
mode: string;
|
|
11143
|
+
origin_id: string;
|
|
11144
|
+
source: string;
|
|
11145
|
+
updated_at: string;
|
|
11146
|
+
};
|
|
11147
|
+
Insert: {
|
|
11148
|
+
created_at?: string;
|
|
11149
|
+
destination_id: string;
|
|
11150
|
+
distance_m?: number | null;
|
|
11151
|
+
duration_sec: number;
|
|
11152
|
+
expires_at?: string;
|
|
11153
|
+
id?: string;
|
|
11154
|
+
mode?: string;
|
|
11155
|
+
origin_id: string;
|
|
11156
|
+
source?: string;
|
|
11157
|
+
updated_at?: string;
|
|
11158
|
+
};
|
|
11159
|
+
Update: {
|
|
11160
|
+
created_at?: string;
|
|
11161
|
+
destination_id?: string;
|
|
11162
|
+
distance_m?: number | null;
|
|
11163
|
+
duration_sec?: number;
|
|
11164
|
+
expires_at?: string;
|
|
11165
|
+
id?: string;
|
|
11166
|
+
mode?: string;
|
|
11167
|
+
origin_id?: string;
|
|
11168
|
+
source?: string;
|
|
11169
|
+
updated_at?: string;
|
|
11170
|
+
};
|
|
11171
|
+
Relationships: [
|
|
11172
|
+
{
|
|
11173
|
+
foreignKeyName: "maps_travel_times_destination_id_fkey";
|
|
11174
|
+
columns: ["destination_id"];
|
|
11175
|
+
isOneToOne: false;
|
|
11176
|
+
referencedRelation: "maps_addresses";
|
|
11177
|
+
referencedColumns: ["id"];
|
|
11178
|
+
},
|
|
11179
|
+
{
|
|
11180
|
+
foreignKeyName: "maps_travel_times_origin_id_fkey";
|
|
11181
|
+
columns: ["origin_id"];
|
|
11182
|
+
isOneToOne: false;
|
|
11183
|
+
referencedRelation: "maps_addresses";
|
|
11184
|
+
referencedColumns: ["id"];
|
|
11185
|
+
}
|
|
11186
|
+
];
|
|
11187
|
+
};
|
|
11188
|
+
maps_usage_log: {
|
|
11189
|
+
Row: {
|
|
11190
|
+
cache_hits: number;
|
|
11191
|
+
call_type: string;
|
|
11192
|
+
created_at: string;
|
|
11193
|
+
day: string;
|
|
11194
|
+
detail: string | null;
|
|
11195
|
+
elements: number;
|
|
11196
|
+
id: string;
|
|
11197
|
+
outcome: string;
|
|
11198
|
+
};
|
|
11199
|
+
Insert: {
|
|
11200
|
+
cache_hits?: number;
|
|
11201
|
+
call_type: string;
|
|
11202
|
+
created_at?: string;
|
|
11203
|
+
day?: string;
|
|
11204
|
+
detail?: string | null;
|
|
11205
|
+
elements?: number;
|
|
11206
|
+
id?: string;
|
|
11207
|
+
outcome?: string;
|
|
11208
|
+
};
|
|
11209
|
+
Update: {
|
|
11210
|
+
cache_hits?: number;
|
|
11211
|
+
call_type?: string;
|
|
11212
|
+
created_at?: string;
|
|
11213
|
+
day?: string;
|
|
11214
|
+
detail?: string | null;
|
|
11215
|
+
elements?: number;
|
|
11216
|
+
id?: string;
|
|
11217
|
+
outcome?: string;
|
|
11218
|
+
};
|
|
11219
|
+
Relationships: [];
|
|
11220
|
+
};
|
|
10981
11221
|
material_usage: {
|
|
10982
11222
|
Row: {
|
|
10983
11223
|
created_at: string;
|
|
@@ -13716,6 +13956,39 @@ export type Database = {
|
|
|
13716
13956
|
};
|
|
13717
13957
|
Relationships: [];
|
|
13718
13958
|
};
|
|
13959
|
+
print_dedupe_events: {
|
|
13960
|
+
Row: {
|
|
13961
|
+
bestaande_job_id: string | null;
|
|
13962
|
+
created_at: string;
|
|
13963
|
+
detail: string | null;
|
|
13964
|
+
documentnaam: string | null;
|
|
13965
|
+
documenttype: string | null;
|
|
13966
|
+
id: string;
|
|
13967
|
+
idempotentie_sleutel: string;
|
|
13968
|
+
reden: string;
|
|
13969
|
+
};
|
|
13970
|
+
Insert: {
|
|
13971
|
+
bestaande_job_id?: string | null;
|
|
13972
|
+
created_at?: string;
|
|
13973
|
+
detail?: string | null;
|
|
13974
|
+
documentnaam?: string | null;
|
|
13975
|
+
documenttype?: string | null;
|
|
13976
|
+
id?: string;
|
|
13977
|
+
idempotentie_sleutel: string;
|
|
13978
|
+
reden: string;
|
|
13979
|
+
};
|
|
13980
|
+
Update: {
|
|
13981
|
+
bestaande_job_id?: string | null;
|
|
13982
|
+
created_at?: string;
|
|
13983
|
+
detail?: string | null;
|
|
13984
|
+
documentnaam?: string | null;
|
|
13985
|
+
documenttype?: string | null;
|
|
13986
|
+
id?: string;
|
|
13987
|
+
idempotentie_sleutel?: string;
|
|
13988
|
+
reden?: string;
|
|
13989
|
+
};
|
|
13990
|
+
Relationships: [];
|
|
13991
|
+
};
|
|
13719
13992
|
print_job_logs: {
|
|
13720
13993
|
Row: {
|
|
13721
13994
|
created_at: string;
|
|
@@ -13759,6 +14032,8 @@ export type Database = {
|
|
|
13759
14032
|
foutmelding: string | null;
|
|
13760
14033
|
gebruiker_id: string | null;
|
|
13761
14034
|
gebruiker_naam: string;
|
|
14035
|
+
gebruikte_bron: string | null;
|
|
14036
|
+
gebruikte_layout_id: string | null;
|
|
13762
14037
|
gestart_op: string | null;
|
|
13763
14038
|
herkomst: string | null;
|
|
13764
14039
|
id: string;
|
|
@@ -13789,6 +14064,8 @@ export type Database = {
|
|
|
13789
14064
|
foutmelding?: string | null;
|
|
13790
14065
|
gebruiker_id?: string | null;
|
|
13791
14066
|
gebruiker_naam?: string;
|
|
14067
|
+
gebruikte_bron?: string | null;
|
|
14068
|
+
gebruikte_layout_id?: string | null;
|
|
13792
14069
|
gestart_op?: string | null;
|
|
13793
14070
|
herkomst?: string | null;
|
|
13794
14071
|
id?: string;
|
|
@@ -13819,6 +14096,8 @@ export type Database = {
|
|
|
13819
14096
|
foutmelding?: string | null;
|
|
13820
14097
|
gebruiker_id?: string | null;
|
|
13821
14098
|
gebruiker_naam?: string;
|
|
14099
|
+
gebruikte_bron?: string | null;
|
|
14100
|
+
gebruikte_layout_id?: string | null;
|
|
13822
14101
|
gestart_op?: string | null;
|
|
13823
14102
|
herkomst?: string | null;
|
|
13824
14103
|
id?: string;
|
|
@@ -13960,6 +14239,39 @@ export type Database = {
|
|
|
13960
14239
|
};
|
|
13961
14240
|
Relationships: [];
|
|
13962
14241
|
};
|
|
14242
|
+
print_preview_events: {
|
|
14243
|
+
Row: {
|
|
14244
|
+
code: string | null;
|
|
14245
|
+
created_at: string;
|
|
14246
|
+
detail: Json;
|
|
14247
|
+
id: string;
|
|
14248
|
+
queue_item_id: string | null;
|
|
14249
|
+
reden: string | null;
|
|
14250
|
+
station_slug: string | null;
|
|
14251
|
+
uitkomst: string;
|
|
14252
|
+
};
|
|
14253
|
+
Insert: {
|
|
14254
|
+
code?: string | null;
|
|
14255
|
+
created_at?: string;
|
|
14256
|
+
detail?: Json;
|
|
14257
|
+
id?: string;
|
|
14258
|
+
queue_item_id?: string | null;
|
|
14259
|
+
reden?: string | null;
|
|
14260
|
+
station_slug?: string | null;
|
|
14261
|
+
uitkomst?: string;
|
|
14262
|
+
};
|
|
14263
|
+
Update: {
|
|
14264
|
+
code?: string | null;
|
|
14265
|
+
created_at?: string;
|
|
14266
|
+
detail?: Json;
|
|
14267
|
+
id?: string;
|
|
14268
|
+
queue_item_id?: string | null;
|
|
14269
|
+
reden?: string | null;
|
|
14270
|
+
station_slug?: string | null;
|
|
14271
|
+
uitkomst?: string;
|
|
14272
|
+
};
|
|
14273
|
+
Relationships: [];
|
|
14274
|
+
};
|
|
13963
14275
|
print_queue_runners: {
|
|
13964
14276
|
Row: {
|
|
13965
14277
|
actief: boolean;
|
|
@@ -14195,6 +14507,7 @@ export type Database = {
|
|
|
14195
14507
|
created_at: string;
|
|
14196
14508
|
driver: string;
|
|
14197
14509
|
extern_printer_id: string | null;
|
|
14510
|
+
formaten_bijgewerkt_op: string | null;
|
|
14198
14511
|
id: string;
|
|
14199
14512
|
ip_adres: string | null;
|
|
14200
14513
|
laatst_gezien: string | null;
|
|
@@ -14202,6 +14515,8 @@ export type Database = {
|
|
|
14202
14515
|
merk: string;
|
|
14203
14516
|
naam: string;
|
|
14204
14517
|
omschrijving: string;
|
|
14518
|
+
ondersteunde_formaten: Json | null;
|
|
14519
|
+
ondersteunde_laden: Json | null;
|
|
14205
14520
|
online: boolean;
|
|
14206
14521
|
papierformaat: string;
|
|
14207
14522
|
poort: number | null;
|
|
@@ -14217,6 +14532,7 @@ export type Database = {
|
|
|
14217
14532
|
created_at?: string;
|
|
14218
14533
|
driver?: string;
|
|
14219
14534
|
extern_printer_id?: string | null;
|
|
14535
|
+
formaten_bijgewerkt_op?: string | null;
|
|
14220
14536
|
id?: string;
|
|
14221
14537
|
ip_adres?: string | null;
|
|
14222
14538
|
laatst_gezien?: string | null;
|
|
@@ -14224,6 +14540,8 @@ export type Database = {
|
|
|
14224
14540
|
merk?: string;
|
|
14225
14541
|
naam: string;
|
|
14226
14542
|
omschrijving?: string;
|
|
14543
|
+
ondersteunde_formaten?: Json | null;
|
|
14544
|
+
ondersteunde_laden?: Json | null;
|
|
14227
14545
|
online?: boolean;
|
|
14228
14546
|
papierformaat?: string;
|
|
14229
14547
|
poort?: number | null;
|
|
@@ -14239,6 +14557,7 @@ export type Database = {
|
|
|
14239
14557
|
created_at?: string;
|
|
14240
14558
|
driver?: string;
|
|
14241
14559
|
extern_printer_id?: string | null;
|
|
14560
|
+
formaten_bijgewerkt_op?: string | null;
|
|
14242
14561
|
id?: string;
|
|
14243
14562
|
ip_adres?: string | null;
|
|
14244
14563
|
laatst_gezien?: string | null;
|
|
@@ -14246,6 +14565,8 @@ export type Database = {
|
|
|
14246
14565
|
merk?: string;
|
|
14247
14566
|
naam?: string;
|
|
14248
14567
|
omschrijving?: string;
|
|
14568
|
+
ondersteunde_formaten?: Json | null;
|
|
14569
|
+
ondersteunde_laden?: Json | null;
|
|
14249
14570
|
online?: boolean;
|
|
14250
14571
|
papierformaat?: string;
|
|
14251
14572
|
poort?: number | null;
|
|
@@ -16192,6 +16513,45 @@ export type Database = {
|
|
|
16192
16513
|
};
|
|
16193
16514
|
Relationships: [];
|
|
16194
16515
|
};
|
|
16516
|
+
stock_consumption_alerts: {
|
|
16517
|
+
Row: {
|
|
16518
|
+
alert_type: string;
|
|
16519
|
+
created_at: string;
|
|
16520
|
+
id: string;
|
|
16521
|
+
mutation_log_id: string | null;
|
|
16522
|
+
order_id: string | null;
|
|
16523
|
+
order_item_id: string | null;
|
|
16524
|
+
qty: number;
|
|
16525
|
+
reason: string | null;
|
|
16526
|
+
resolved_at: string | null;
|
|
16527
|
+
updated_at: string;
|
|
16528
|
+
};
|
|
16529
|
+
Insert: {
|
|
16530
|
+
alert_type: string;
|
|
16531
|
+
created_at?: string;
|
|
16532
|
+
id?: string;
|
|
16533
|
+
mutation_log_id?: string | null;
|
|
16534
|
+
order_id?: string | null;
|
|
16535
|
+
order_item_id?: string | null;
|
|
16536
|
+
qty?: number;
|
|
16537
|
+
reason?: string | null;
|
|
16538
|
+
resolved_at?: string | null;
|
|
16539
|
+
updated_at?: string;
|
|
16540
|
+
};
|
|
16541
|
+
Update: {
|
|
16542
|
+
alert_type?: string;
|
|
16543
|
+
created_at?: string;
|
|
16544
|
+
id?: string;
|
|
16545
|
+
mutation_log_id?: string | null;
|
|
16546
|
+
order_id?: string | null;
|
|
16547
|
+
order_item_id?: string | null;
|
|
16548
|
+
qty?: number;
|
|
16549
|
+
reason?: string | null;
|
|
16550
|
+
resolved_at?: string | null;
|
|
16551
|
+
updated_at?: string;
|
|
16552
|
+
};
|
|
16553
|
+
Relationships: [];
|
|
16554
|
+
};
|
|
16195
16555
|
stock_import_runs: {
|
|
16196
16556
|
Row: {
|
|
16197
16557
|
connection_id: string | null;
|
|
@@ -19094,6 +19454,7 @@ export type Database = {
|
|
|
19094
19454
|
werkbon_package_items: {
|
|
19095
19455
|
Row: {
|
|
19096
19456
|
article_number: string | null;
|
|
19457
|
+
artikel_id: string | null;
|
|
19097
19458
|
created_at: string;
|
|
19098
19459
|
gtin: string | null;
|
|
19099
19460
|
id: string;
|
|
@@ -19111,6 +19472,7 @@ export type Database = {
|
|
|
19111
19472
|
};
|
|
19112
19473
|
Insert: {
|
|
19113
19474
|
article_number?: string | null;
|
|
19475
|
+
artikel_id?: string | null;
|
|
19114
19476
|
created_at?: string;
|
|
19115
19477
|
gtin?: string | null;
|
|
19116
19478
|
id?: string;
|
|
@@ -19128,6 +19490,7 @@ export type Database = {
|
|
|
19128
19490
|
};
|
|
19129
19491
|
Update: {
|
|
19130
19492
|
article_number?: string | null;
|
|
19493
|
+
artikel_id?: string | null;
|
|
19131
19494
|
created_at?: string;
|
|
19132
19495
|
gtin?: string | null;
|
|
19133
19496
|
id?: string;
|
|
@@ -19144,6 +19507,13 @@ export type Database = {
|
|
|
19144
19507
|
updated_at?: string;
|
|
19145
19508
|
};
|
|
19146
19509
|
Relationships: [
|
|
19510
|
+
{
|
|
19511
|
+
foreignKeyName: "werkbon_package_items_artikel_id_fkey";
|
|
19512
|
+
columns: ["artikel_id"];
|
|
19513
|
+
isOneToOne: false;
|
|
19514
|
+
referencedRelation: "artikelen_cache";
|
|
19515
|
+
referencedColumns: ["id"];
|
|
19516
|
+
},
|
|
19147
19517
|
{
|
|
19148
19518
|
foreignKeyName: "werkbon_package_items_package_id_fkey";
|
|
19149
19519
|
columns: ["package_id"];
|
|
@@ -20405,6 +20775,22 @@ export type Database = {
|
|
|
20405
20775
|
}
|
|
20406
20776
|
];
|
|
20407
20777
|
};
|
|
20778
|
+
v_werkbon_totalen: {
|
|
20779
|
+
Row: {
|
|
20780
|
+
packages_cents: number | null;
|
|
20781
|
+
packages_minutes: number | null;
|
|
20782
|
+
werkbon_id: string | null;
|
|
20783
|
+
};
|
|
20784
|
+
Relationships: [
|
|
20785
|
+
{
|
|
20786
|
+
foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
|
|
20787
|
+
columns: ["werkbon_id"];
|
|
20788
|
+
isOneToOne: false;
|
|
20789
|
+
referencedRelation: "werkbonnen";
|
|
20790
|
+
referencedColumns: ["id"];
|
|
20791
|
+
}
|
|
20792
|
+
];
|
|
20793
|
+
};
|
|
20408
20794
|
};
|
|
20409
20795
|
Functions: {
|
|
20410
20796
|
_floriday_schedule_job: {
|
|
@@ -20591,6 +20977,8 @@ export type Database = {
|
|
|
20591
20977
|
foutmelding: string | null;
|
|
20592
20978
|
gebruiker_id: string | null;
|
|
20593
20979
|
gebruiker_naam: string;
|
|
20980
|
+
gebruikte_bron: string | null;
|
|
20981
|
+
gebruikte_layout_id: string | null;
|
|
20594
20982
|
gestart_op: string | null;
|
|
20595
20983
|
herkomst: string | null;
|
|
20596
20984
|
id: string;
|
|
@@ -20712,6 +21100,8 @@ export type Database = {
|
|
|
20712
21100
|
foutmelding: string | null;
|
|
20713
21101
|
gebruiker_id: string | null;
|
|
20714
21102
|
gebruiker_naam: string;
|
|
21103
|
+
gebruikte_bron: string | null;
|
|
21104
|
+
gebruikte_layout_id: string | null;
|
|
20715
21105
|
gestart_op: string | null;
|
|
20716
21106
|
herkomst: string | null;
|
|
20717
21107
|
id: string;
|
|
@@ -21768,6 +22158,12 @@ export type Database = {
|
|
|
21768
22158
|
};
|
|
21769
22159
|
Returns: string;
|
|
21770
22160
|
};
|
|
22161
|
+
logistics_document_type_map: {
|
|
22162
|
+
Args: {
|
|
22163
|
+
_document_code: string;
|
|
22164
|
+
};
|
|
22165
|
+
Returns: Database["public"]["Enums"]["doc_layout_type"][];
|
|
22166
|
+
};
|
|
21771
22167
|
logistics_emit_event: {
|
|
21772
22168
|
Args: {
|
|
21773
22169
|
p_event_type: string;
|
|
@@ -21952,6 +22348,14 @@ export type Database = {
|
|
|
21952
22348
|
};
|
|
21953
22349
|
Returns: Json;
|
|
21954
22350
|
};
|
|
22351
|
+
logistics_plan_block: {
|
|
22352
|
+
Args: {
|
|
22353
|
+
p_details?: Json;
|
|
22354
|
+
p_order_ids: string[];
|
|
22355
|
+
p_reason: string;
|
|
22356
|
+
};
|
|
22357
|
+
Returns: number;
|
|
22358
|
+
};
|
|
21955
22359
|
logistics_plan_buffer_sql: {
|
|
21956
22360
|
Args: {
|
|
21957
22361
|
p_buffer_id: string;
|
|
@@ -22320,6 +22724,12 @@ export type Database = {
|
|
|
22320
22724
|
verwijderd: number;
|
|
22321
22725
|
}[];
|
|
22322
22726
|
};
|
|
22727
|
+
order_departure_proof: {
|
|
22728
|
+
Args: {
|
|
22729
|
+
p_order_id: string;
|
|
22730
|
+
};
|
|
22731
|
+
Returns: Json;
|
|
22732
|
+
};
|
|
22323
22733
|
order_number_prefix: {
|
|
22324
22734
|
Args: {
|
|
22325
22735
|
p_custom_fields?: Json;
|
|
@@ -22327,6 +22737,25 @@ export type Database = {
|
|
|
22327
22737
|
};
|
|
22328
22738
|
Returns: string;
|
|
22329
22739
|
};
|
|
22740
|
+
pakket_suggesties_voor_tekst: {
|
|
22741
|
+
Args: {
|
|
22742
|
+
_tekst: string;
|
|
22743
|
+
};
|
|
22744
|
+
Returns: {
|
|
22745
|
+
hit_type: string;
|
|
22746
|
+
package_id: string;
|
|
22747
|
+
priority: number;
|
|
22748
|
+
}[];
|
|
22749
|
+
};
|
|
22750
|
+
pakket_voor_reistijd: {
|
|
22751
|
+
Args: {
|
|
22752
|
+
_minuten: number;
|
|
22753
|
+
};
|
|
22754
|
+
Returns: {
|
|
22755
|
+
package_id: string;
|
|
22756
|
+
priority: number;
|
|
22757
|
+
}[];
|
|
22758
|
+
};
|
|
22330
22759
|
pick_active_printers: {
|
|
22331
22760
|
Args: never;
|
|
22332
22761
|
Returns: {
|
|
@@ -22508,6 +22937,7 @@ export type Database = {
|
|
|
22508
22937
|
};
|
|
22509
22938
|
pick_enqueue_print_job: {
|
|
22510
22939
|
Args: {
|
|
22940
|
+
_is_herprint?: boolean;
|
|
22511
22941
|
_printer_id?: string;
|
|
22512
22942
|
_queue_item_id: string;
|
|
22513
22943
|
_session_id?: string;
|
|
@@ -22535,6 +22965,10 @@ export type Database = {
|
|
|
22535
22965
|
omschrijving: string;
|
|
22536
22966
|
}[];
|
|
22537
22967
|
};
|
|
22968
|
+
pick_reference_data_status: {
|
|
22969
|
+
Args: never;
|
|
22970
|
+
Returns: Json;
|
|
22971
|
+
};
|
|
22538
22972
|
pick_release_expired_locks: {
|
|
22539
22973
|
Args: never;
|
|
22540
22974
|
Returns: number;
|
|
@@ -22599,6 +23033,10 @@ export type Database = {
|
|
|
22599
23033
|
isSetofReturn: false;
|
|
22600
23034
|
};
|
|
22601
23035
|
};
|
|
23036
|
+
pick_seed_reference_data: {
|
|
23037
|
+
Args: never;
|
|
23038
|
+
Returns: Json;
|
|
23039
|
+
};
|
|
22602
23040
|
pick_set_station_print_plek: {
|
|
22603
23041
|
Args: {
|
|
22604
23042
|
_print_plek_id: string;
|
|
@@ -22690,6 +23128,24 @@ export type Database = {
|
|
|
22690
23128
|
};
|
|
22691
23129
|
Returns: undefined;
|
|
22692
23130
|
};
|
|
23131
|
+
print_preview_toestaan: {
|
|
23132
|
+
Args: {
|
|
23133
|
+
_max?: number;
|
|
23134
|
+
_queue_item_id: string;
|
|
23135
|
+
_station_slug: string;
|
|
23136
|
+
_venster_sec?: number;
|
|
23137
|
+
};
|
|
23138
|
+
Returns: Json;
|
|
23139
|
+
};
|
|
23140
|
+
print_preview_weiger: {
|
|
23141
|
+
Args: {
|
|
23142
|
+
_code: string;
|
|
23143
|
+
_queue_item_id: string;
|
|
23144
|
+
_reden: string;
|
|
23145
|
+
_station_slug: string;
|
|
23146
|
+
};
|
|
23147
|
+
Returns: undefined;
|
|
23148
|
+
};
|
|
22693
23149
|
process_logistics_event: {
|
|
22694
23150
|
Args: {
|
|
22695
23151
|
p_event_id: string;
|
|
@@ -22807,6 +23263,14 @@ export type Database = {
|
|
|
22807
23263
|
};
|
|
22808
23264
|
Returns: undefined;
|
|
22809
23265
|
};
|
|
23266
|
+
replace_order_carts: {
|
|
23267
|
+
Args: {
|
|
23268
|
+
p_buffer_id: string;
|
|
23269
|
+
p_carts: Json;
|
|
23270
|
+
p_order_id: string;
|
|
23271
|
+
};
|
|
23272
|
+
Returns: Json;
|
|
23273
|
+
};
|
|
22810
23274
|
reset_floriday_sync_cursor: {
|
|
22811
23275
|
Args: {
|
|
22812
23276
|
p_connection_id: string;
|
|
@@ -23377,6 +23841,18 @@ export type Database = {
|
|
|
23377
23841
|
Args: never;
|
|
23378
23842
|
Returns: string;
|
|
23379
23843
|
};
|
|
23844
|
+
werkbon_totalen: {
|
|
23845
|
+
Args: {
|
|
23846
|
+
_werkbon_id: string;
|
|
23847
|
+
};
|
|
23848
|
+
Returns: {
|
|
23849
|
+
materials_cents: number;
|
|
23850
|
+
packages_cents: number;
|
|
23851
|
+
packages_minutes: number;
|
|
23852
|
+
total_cents: number;
|
|
23853
|
+
total_minutes: number;
|
|
23854
|
+
}[];
|
|
23855
|
+
};
|
|
23380
23856
|
wo_create_from_source: {
|
|
23381
23857
|
Args: {
|
|
23382
23858
|
_payload?: Json;
|