@flowselections/mailbox-orders 1.0.26 → 1.0.28
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/MailboxProcessedPage.js +3 -3
- package/dist-lib/components/MailboxProposalsPage.js +5 -5
- package/dist-lib/index.d.ts +7 -7
- package/dist-lib/index.js +9 -9
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1 -1
- package/dist-lib/integrations/supabase/auth-middleware.js +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +3092 -7
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +1 -0
- package/dist-lib/lib/mailbox-ai-settings.functions.js +1 -1
- package/dist-lib/lib/mailbox-ai.server.d.ts +1 -1
- package/dist-lib/lib/mailbox-ai.server.js +3 -3
- package/dist-lib/lib/mailbox-ingest.server.d.ts +1 -1
- package/dist-lib/lib/mailbox-ingest.server.js +7 -7
- package/dist-lib/lib/mailbox-template.functions.d.ts +2 -2
- package/dist-lib/lib/mailbox.functions.d.ts +2 -1
- package/dist-lib/lib/mailbox.functions.d.ts.map +1 -1
- package/dist-lib/lib/mailbox.functions.js +2 -2
- package/dist-lib/server-routes.d.ts +9 -0
- package/dist-lib/server-routes.d.ts.map +1 -0
- package/dist-lib/server-routes.js +34 -0
- package/package.json +39 -7
|
@@ -1056,10 +1056,13 @@ export type Database = {
|
|
|
1056
1056
|
created_at: string;
|
|
1057
1057
|
daily_regular_hours: number;
|
|
1058
1058
|
default_hourly_rate: number;
|
|
1059
|
+
default_vacation_days: number;
|
|
1059
1060
|
id: string;
|
|
1061
|
+
last_cleanup_on: string | null;
|
|
1060
1062
|
materials_markup_percent: number;
|
|
1061
1063
|
max_daily_hours: number;
|
|
1062
1064
|
max_weekly_hours: number;
|
|
1065
|
+
meal_after_minutes: number;
|
|
1063
1066
|
meal_allowance_amount: number;
|
|
1064
1067
|
overtime_pct_178: number;
|
|
1065
1068
|
overtime_pct_189: number;
|
|
@@ -1088,10 +1091,13 @@ export type Database = {
|
|
|
1088
1091
|
created_at?: string;
|
|
1089
1092
|
daily_regular_hours?: number;
|
|
1090
1093
|
default_hourly_rate?: number;
|
|
1094
|
+
default_vacation_days?: number;
|
|
1091
1095
|
id?: string;
|
|
1096
|
+
last_cleanup_on?: string | null;
|
|
1092
1097
|
materials_markup_percent?: number;
|
|
1093
1098
|
max_daily_hours?: number;
|
|
1094
1099
|
max_weekly_hours?: number;
|
|
1100
|
+
meal_after_minutes?: number;
|
|
1095
1101
|
meal_allowance_amount?: number;
|
|
1096
1102
|
overtime_pct_178?: number;
|
|
1097
1103
|
overtime_pct_189?: number;
|
|
@@ -1120,10 +1126,13 @@ export type Database = {
|
|
|
1120
1126
|
created_at?: string;
|
|
1121
1127
|
daily_regular_hours?: number;
|
|
1122
1128
|
default_hourly_rate?: number;
|
|
1129
|
+
default_vacation_days?: number;
|
|
1123
1130
|
id?: string;
|
|
1131
|
+
last_cleanup_on?: string | null;
|
|
1124
1132
|
materials_markup_percent?: number;
|
|
1125
1133
|
max_daily_hours?: number;
|
|
1126
1134
|
max_weekly_hours?: number;
|
|
1135
|
+
meal_after_minutes?: number;
|
|
1127
1136
|
meal_allowance_amount?: number;
|
|
1128
1137
|
overtime_pct_178?: number;
|
|
1129
1138
|
overtime_pct_189?: number;
|
|
@@ -1222,38 +1231,62 @@ export type Database = {
|
|
|
1222
1231
|
Row: {
|
|
1223
1232
|
carrier_id: string;
|
|
1224
1233
|
cart_count: number;
|
|
1234
|
+
cart_ids: string[] | null;
|
|
1225
1235
|
created_at: string;
|
|
1236
|
+
fingerprint: string | null;
|
|
1226
1237
|
id: string;
|
|
1238
|
+
kind: string;
|
|
1227
1239
|
order_count: number;
|
|
1240
|
+
order_ids: string[] | null;
|
|
1228
1241
|
outbox_id: string | null;
|
|
1229
1242
|
pickup_date: string;
|
|
1230
1243
|
pickup_moment_key: string;
|
|
1244
|
+
previous_cart_count: number | null;
|
|
1245
|
+
recipient: string | null;
|
|
1231
1246
|
sent_at: string;
|
|
1232
1247
|
signup_deadline: string;
|
|
1248
|
+
source: string;
|
|
1249
|
+
version: number;
|
|
1233
1250
|
};
|
|
1234
1251
|
Insert: {
|
|
1235
1252
|
carrier_id: string;
|
|
1236
1253
|
cart_count?: number;
|
|
1254
|
+
cart_ids?: string[] | null;
|
|
1237
1255
|
created_at?: string;
|
|
1256
|
+
fingerprint?: string | null;
|
|
1238
1257
|
id?: string;
|
|
1258
|
+
kind?: string;
|
|
1239
1259
|
order_count?: number;
|
|
1260
|
+
order_ids?: string[] | null;
|
|
1240
1261
|
outbox_id?: string | null;
|
|
1241
1262
|
pickup_date: string;
|
|
1242
1263
|
pickup_moment_key: string;
|
|
1264
|
+
previous_cart_count?: number | null;
|
|
1265
|
+
recipient?: string | null;
|
|
1243
1266
|
sent_at?: string;
|
|
1244
1267
|
signup_deadline: string;
|
|
1268
|
+
source?: string;
|
|
1269
|
+
version?: number;
|
|
1245
1270
|
};
|
|
1246
1271
|
Update: {
|
|
1247
1272
|
carrier_id?: string;
|
|
1248
1273
|
cart_count?: number;
|
|
1274
|
+
cart_ids?: string[] | null;
|
|
1249
1275
|
created_at?: string;
|
|
1276
|
+
fingerprint?: string | null;
|
|
1250
1277
|
id?: string;
|
|
1278
|
+
kind?: string;
|
|
1251
1279
|
order_count?: number;
|
|
1280
|
+
order_ids?: string[] | null;
|
|
1252
1281
|
outbox_id?: string | null;
|
|
1253
1282
|
pickup_date?: string;
|
|
1254
1283
|
pickup_moment_key?: string;
|
|
1284
|
+
previous_cart_count?: number | null;
|
|
1285
|
+
recipient?: string | null;
|
|
1255
1286
|
sent_at?: string;
|
|
1256
1287
|
signup_deadline?: string;
|
|
1288
|
+
source?: string;
|
|
1289
|
+
version?: number;
|
|
1257
1290
|
};
|
|
1258
1291
|
Relationships: [
|
|
1259
1292
|
{
|
|
@@ -2602,6 +2635,7 @@ export type Database = {
|
|
|
2602
2635
|
twinfield_base_snapshot: Json | null;
|
|
2603
2636
|
twinfield_base_version: number | null;
|
|
2604
2637
|
twinfield_code: string | null;
|
|
2638
|
+
twinfield_create_on_insert: boolean;
|
|
2605
2639
|
twinfield_last_hash: string | null;
|
|
2606
2640
|
twinfield_missing_since: string | null;
|
|
2607
2641
|
twinfield_present: boolean;
|
|
@@ -2693,6 +2727,7 @@ export type Database = {
|
|
|
2693
2727
|
twinfield_base_snapshot?: Json | null;
|
|
2694
2728
|
twinfield_base_version?: number | null;
|
|
2695
2729
|
twinfield_code?: string | null;
|
|
2730
|
+
twinfield_create_on_insert?: boolean;
|
|
2696
2731
|
twinfield_last_hash?: string | null;
|
|
2697
2732
|
twinfield_missing_since?: string | null;
|
|
2698
2733
|
twinfield_present?: boolean;
|
|
@@ -2784,6 +2819,7 @@ export type Database = {
|
|
|
2784
2819
|
twinfield_base_snapshot?: Json | null;
|
|
2785
2820
|
twinfield_base_version?: number | null;
|
|
2786
2821
|
twinfield_code?: string | null;
|
|
2822
|
+
twinfield_create_on_insert?: boolean;
|
|
2787
2823
|
twinfield_last_hash?: string | null;
|
|
2788
2824
|
twinfield_missing_since?: string | null;
|
|
2789
2825
|
twinfield_present?: boolean;
|
|
@@ -3059,6 +3095,27 @@ export type Database = {
|
|
|
3059
3095
|
}
|
|
3060
3096
|
];
|
|
3061
3097
|
};
|
|
3098
|
+
dashboard_funnel_indelingen: {
|
|
3099
|
+
Row: {
|
|
3100
|
+
created_at: string;
|
|
3101
|
+
posities: Json;
|
|
3102
|
+
updated_at: string;
|
|
3103
|
+
user_id: string;
|
|
3104
|
+
};
|
|
3105
|
+
Insert: {
|
|
3106
|
+
created_at?: string;
|
|
3107
|
+
posities?: Json;
|
|
3108
|
+
updated_at?: string;
|
|
3109
|
+
user_id?: string;
|
|
3110
|
+
};
|
|
3111
|
+
Update: {
|
|
3112
|
+
created_at?: string;
|
|
3113
|
+
posities?: Json;
|
|
3114
|
+
updated_at?: string;
|
|
3115
|
+
user_id?: string;
|
|
3116
|
+
};
|
|
3117
|
+
Relationships: [];
|
|
3118
|
+
};
|
|
3062
3119
|
dashboard_pages: {
|
|
3063
3120
|
Row: {
|
|
3064
3121
|
created_at: string;
|
|
@@ -3125,6 +3182,165 @@ export type Database = {
|
|
|
3125
3182
|
};
|
|
3126
3183
|
Relationships: [];
|
|
3127
3184
|
};
|
|
3185
|
+
dashboard_snelkoppelingen: {
|
|
3186
|
+
Row: {
|
|
3187
|
+
created_at: string;
|
|
3188
|
+
id: string;
|
|
3189
|
+
pad: string;
|
|
3190
|
+
titel: string;
|
|
3191
|
+
updated_at: string;
|
|
3192
|
+
user_id: string;
|
|
3193
|
+
volgorde: number;
|
|
3194
|
+
};
|
|
3195
|
+
Insert: {
|
|
3196
|
+
created_at?: string;
|
|
3197
|
+
id?: string;
|
|
3198
|
+
pad: string;
|
|
3199
|
+
titel: string;
|
|
3200
|
+
updated_at?: string;
|
|
3201
|
+
user_id?: string;
|
|
3202
|
+
volgorde?: number;
|
|
3203
|
+
};
|
|
3204
|
+
Update: {
|
|
3205
|
+
created_at?: string;
|
|
3206
|
+
id?: string;
|
|
3207
|
+
pad?: string;
|
|
3208
|
+
titel?: string;
|
|
3209
|
+
updated_at?: string;
|
|
3210
|
+
user_id?: string;
|
|
3211
|
+
volgorde?: number;
|
|
3212
|
+
};
|
|
3213
|
+
Relationships: [];
|
|
3214
|
+
};
|
|
3215
|
+
dashboard_werkbon_dagtellers: {
|
|
3216
|
+
Row: {
|
|
3217
|
+
aantal: number;
|
|
3218
|
+
created_at: string;
|
|
3219
|
+
datum: string;
|
|
3220
|
+
soort: string;
|
|
3221
|
+
updated_at: string;
|
|
3222
|
+
};
|
|
3223
|
+
Insert: {
|
|
3224
|
+
aantal?: number;
|
|
3225
|
+
created_at?: string;
|
|
3226
|
+
datum: string;
|
|
3227
|
+
soort: string;
|
|
3228
|
+
updated_at?: string;
|
|
3229
|
+
};
|
|
3230
|
+
Update: {
|
|
3231
|
+
aantal?: number;
|
|
3232
|
+
created_at?: string;
|
|
3233
|
+
datum?: string;
|
|
3234
|
+
soort?: string;
|
|
3235
|
+
updated_at?: string;
|
|
3236
|
+
};
|
|
3237
|
+
Relationships: [];
|
|
3238
|
+
};
|
|
3239
|
+
dashboard_werkbon_factuurhistorie: {
|
|
3240
|
+
Row: {
|
|
3241
|
+
bedrag_cents: number;
|
|
3242
|
+
created_at: string;
|
|
3243
|
+
factuur_id: string;
|
|
3244
|
+
status: string;
|
|
3245
|
+
updated_at: string;
|
|
3246
|
+
werkbon_id: string;
|
|
3247
|
+
};
|
|
3248
|
+
Insert: {
|
|
3249
|
+
bedrag_cents: number;
|
|
3250
|
+
created_at?: string;
|
|
3251
|
+
factuur_id: string;
|
|
3252
|
+
status: string;
|
|
3253
|
+
updated_at?: string;
|
|
3254
|
+
werkbon_id: string;
|
|
3255
|
+
};
|
|
3256
|
+
Update: {
|
|
3257
|
+
bedrag_cents?: number;
|
|
3258
|
+
created_at?: string;
|
|
3259
|
+
factuur_id?: string;
|
|
3260
|
+
status?: string;
|
|
3261
|
+
updated_at?: string;
|
|
3262
|
+
werkbon_id?: string;
|
|
3263
|
+
};
|
|
3264
|
+
Relationships: [];
|
|
3265
|
+
};
|
|
3266
|
+
dashboard_werkbon_historie: {
|
|
3267
|
+
Row: {
|
|
3268
|
+
aangemaakt_op: string;
|
|
3269
|
+
afgerond_op: string | null;
|
|
3270
|
+
created_at: string;
|
|
3271
|
+
parent_werkbon_id: string | null;
|
|
3272
|
+
soort: string;
|
|
3273
|
+
updated_at: string;
|
|
3274
|
+
werkbon_id: string;
|
|
3275
|
+
};
|
|
3276
|
+
Insert: {
|
|
3277
|
+
aangemaakt_op: string;
|
|
3278
|
+
afgerond_op?: string | null;
|
|
3279
|
+
created_at?: string;
|
|
3280
|
+
parent_werkbon_id?: string | null;
|
|
3281
|
+
soort: string;
|
|
3282
|
+
updated_at?: string;
|
|
3283
|
+
werkbon_id: string;
|
|
3284
|
+
};
|
|
3285
|
+
Update: {
|
|
3286
|
+
aangemaakt_op?: string;
|
|
3287
|
+
afgerond_op?: string | null;
|
|
3288
|
+
created_at?: string;
|
|
3289
|
+
parent_werkbon_id?: string | null;
|
|
3290
|
+
soort?: string;
|
|
3291
|
+
updated_at?: string;
|
|
3292
|
+
werkbon_id?: string;
|
|
3293
|
+
};
|
|
3294
|
+
Relationships: [];
|
|
3295
|
+
};
|
|
3296
|
+
dashboard_werkbon_mailhistorie: {
|
|
3297
|
+
Row: {
|
|
3298
|
+
created_at: string;
|
|
3299
|
+
goedgekeurd_op: string;
|
|
3300
|
+
updated_at: string;
|
|
3301
|
+
voorstel_id: string;
|
|
3302
|
+
werkbon_id: string | null;
|
|
3303
|
+
};
|
|
3304
|
+
Insert: {
|
|
3305
|
+
created_at?: string;
|
|
3306
|
+
goedgekeurd_op: string;
|
|
3307
|
+
updated_at?: string;
|
|
3308
|
+
voorstel_id: string;
|
|
3309
|
+
werkbon_id?: string | null;
|
|
3310
|
+
};
|
|
3311
|
+
Update: {
|
|
3312
|
+
created_at?: string;
|
|
3313
|
+
goedgekeurd_op?: string;
|
|
3314
|
+
updated_at?: string;
|
|
3315
|
+
voorstel_id?: string;
|
|
3316
|
+
werkbon_id?: string | null;
|
|
3317
|
+
};
|
|
3318
|
+
Relationships: [];
|
|
3319
|
+
};
|
|
3320
|
+
dashboard_werkbon_tellers: {
|
|
3321
|
+
Row: {
|
|
3322
|
+
aantal: number;
|
|
3323
|
+
jaar: number;
|
|
3324
|
+
maand: number;
|
|
3325
|
+
soort: string;
|
|
3326
|
+
updated_at: string;
|
|
3327
|
+
};
|
|
3328
|
+
Insert: {
|
|
3329
|
+
aantal?: number;
|
|
3330
|
+
jaar: number;
|
|
3331
|
+
maand: number;
|
|
3332
|
+
soort: string;
|
|
3333
|
+
updated_at?: string;
|
|
3334
|
+
};
|
|
3335
|
+
Update: {
|
|
3336
|
+
aantal?: number;
|
|
3337
|
+
jaar?: number;
|
|
3338
|
+
maand?: number;
|
|
3339
|
+
soort?: string;
|
|
3340
|
+
updated_at?: string;
|
|
3341
|
+
};
|
|
3342
|
+
Relationships: [];
|
|
3343
|
+
};
|
|
3128
3344
|
delivery_notes: {
|
|
3129
3345
|
Row: {
|
|
3130
3346
|
byte_size: number | null;
|
|
@@ -6648,19 +6864,26 @@ export type Database = {
|
|
|
6648
6864
|
Row: {
|
|
6649
6865
|
attempts: number;
|
|
6650
6866
|
availability_sent_at: string | null;
|
|
6867
|
+
base_supply_outcome: string | null;
|
|
6651
6868
|
connection_id: string;
|
|
6652
6869
|
created_at: string;
|
|
6653
6870
|
dead_lettered_at: string | null;
|
|
6654
6871
|
desired_available: boolean | null;
|
|
6655
6872
|
gateway_attempt_id: string | null;
|
|
6873
|
+
gateway_unreachable_since: string | null;
|
|
6656
6874
|
id: string;
|
|
6657
6875
|
last_error: string | null;
|
|
6658
6876
|
locked_at: string | null;
|
|
6659
6877
|
locked_by: string | null;
|
|
6660
6878
|
next_attempt_at: string;
|
|
6661
6879
|
number_of_pieces: number;
|
|
6880
|
+
price_note: string | null;
|
|
6881
|
+
price_previous: number | null;
|
|
6882
|
+
price_sent: number | null;
|
|
6883
|
+
price_status: string | null;
|
|
6662
6884
|
product_id: string | null;
|
|
6663
6885
|
quantity_sent_at: string | null;
|
|
6886
|
+
result_label: string | null;
|
|
6664
6887
|
sent_at: string | null;
|
|
6665
6888
|
skip_reason: string | null;
|
|
6666
6889
|
status: string;
|
|
@@ -6675,19 +6898,26 @@ export type Database = {
|
|
|
6675
6898
|
Insert: {
|
|
6676
6899
|
attempts?: number;
|
|
6677
6900
|
availability_sent_at?: string | null;
|
|
6901
|
+
base_supply_outcome?: string | null;
|
|
6678
6902
|
connection_id: string;
|
|
6679
6903
|
created_at?: string;
|
|
6680
6904
|
dead_lettered_at?: string | null;
|
|
6681
6905
|
desired_available?: boolean | null;
|
|
6682
6906
|
gateway_attempt_id?: string | null;
|
|
6907
|
+
gateway_unreachable_since?: string | null;
|
|
6683
6908
|
id?: string;
|
|
6684
6909
|
last_error?: string | null;
|
|
6685
6910
|
locked_at?: string | null;
|
|
6686
6911
|
locked_by?: string | null;
|
|
6687
6912
|
next_attempt_at?: string;
|
|
6688
6913
|
number_of_pieces?: number;
|
|
6914
|
+
price_note?: string | null;
|
|
6915
|
+
price_previous?: number | null;
|
|
6916
|
+
price_sent?: number | null;
|
|
6917
|
+
price_status?: string | null;
|
|
6689
6918
|
product_id?: string | null;
|
|
6690
6919
|
quantity_sent_at?: string | null;
|
|
6920
|
+
result_label?: string | null;
|
|
6691
6921
|
sent_at?: string | null;
|
|
6692
6922
|
skip_reason?: string | null;
|
|
6693
6923
|
status?: string;
|
|
@@ -6702,19 +6932,26 @@ export type Database = {
|
|
|
6702
6932
|
Update: {
|
|
6703
6933
|
attempts?: number;
|
|
6704
6934
|
availability_sent_at?: string | null;
|
|
6935
|
+
base_supply_outcome?: string | null;
|
|
6705
6936
|
connection_id?: string;
|
|
6706
6937
|
created_at?: string;
|
|
6707
6938
|
dead_lettered_at?: string | null;
|
|
6708
6939
|
desired_available?: boolean | null;
|
|
6709
6940
|
gateway_attempt_id?: string | null;
|
|
6941
|
+
gateway_unreachable_since?: string | null;
|
|
6710
6942
|
id?: string;
|
|
6711
6943
|
last_error?: string | null;
|
|
6712
6944
|
locked_at?: string | null;
|
|
6713
6945
|
locked_by?: string | null;
|
|
6714
6946
|
next_attempt_at?: string;
|
|
6715
6947
|
number_of_pieces?: number;
|
|
6948
|
+
price_note?: string | null;
|
|
6949
|
+
price_previous?: number | null;
|
|
6950
|
+
price_sent?: number | null;
|
|
6951
|
+
price_status?: string | null;
|
|
6716
6952
|
product_id?: string | null;
|
|
6717
6953
|
quantity_sent_at?: string | null;
|
|
6954
|
+
result_label?: string | null;
|
|
6718
6955
|
sent_at?: string | null;
|
|
6719
6956
|
skip_reason?: string | null;
|
|
6720
6957
|
status?: string;
|
|
@@ -6851,6 +7088,59 @@ export type Database = {
|
|
|
6851
7088
|
}
|
|
6852
7089
|
];
|
|
6853
7090
|
};
|
|
7091
|
+
floriday_customer_sticker_upload_requests_cache: {
|
|
7092
|
+
Row: {
|
|
7093
|
+
connection_id: string;
|
|
7094
|
+
created_at: string;
|
|
7095
|
+
customer_sticker_id: string | null;
|
|
7096
|
+
data: Json;
|
|
7097
|
+
expires_on: string | null;
|
|
7098
|
+
fetched_at: string;
|
|
7099
|
+
floriday_id: string;
|
|
7100
|
+
id: string;
|
|
7101
|
+
responded_on: string | null;
|
|
7102
|
+
sales_order_id: string | null;
|
|
7103
|
+
sequence_number: number;
|
|
7104
|
+
status: string | null;
|
|
7105
|
+
};
|
|
7106
|
+
Insert: {
|
|
7107
|
+
connection_id: string;
|
|
7108
|
+
created_at?: string;
|
|
7109
|
+
customer_sticker_id?: string | null;
|
|
7110
|
+
data?: Json;
|
|
7111
|
+
expires_on?: string | null;
|
|
7112
|
+
fetched_at?: string;
|
|
7113
|
+
floriday_id: string;
|
|
7114
|
+
id?: string;
|
|
7115
|
+
responded_on?: string | null;
|
|
7116
|
+
sales_order_id?: string | null;
|
|
7117
|
+
sequence_number?: number;
|
|
7118
|
+
status?: string | null;
|
|
7119
|
+
};
|
|
7120
|
+
Update: {
|
|
7121
|
+
connection_id?: string;
|
|
7122
|
+
created_at?: string;
|
|
7123
|
+
customer_sticker_id?: string | null;
|
|
7124
|
+
data?: Json;
|
|
7125
|
+
expires_on?: string | null;
|
|
7126
|
+
fetched_at?: string;
|
|
7127
|
+
floriday_id?: string;
|
|
7128
|
+
id?: string;
|
|
7129
|
+
responded_on?: string | null;
|
|
7130
|
+
sales_order_id?: string | null;
|
|
7131
|
+
sequence_number?: number;
|
|
7132
|
+
status?: string | null;
|
|
7133
|
+
};
|
|
7134
|
+
Relationships: [
|
|
7135
|
+
{
|
|
7136
|
+
foreignKeyName: "floriday_customer_sticker_upload_requests_ca_connection_id_fkey";
|
|
7137
|
+
columns: ["connection_id"];
|
|
7138
|
+
isOneToOne: false;
|
|
7139
|
+
referencedRelation: "floriday_connections";
|
|
7140
|
+
referencedColumns: ["id"];
|
|
7141
|
+
}
|
|
7142
|
+
];
|
|
7143
|
+
};
|
|
6854
7144
|
floriday_customer_stickers_cache: {
|
|
6855
7145
|
Row: {
|
|
6856
7146
|
connection_id: string;
|
|
@@ -7178,6 +7468,59 @@ export type Database = {
|
|
|
7178
7468
|
}
|
|
7179
7469
|
];
|
|
7180
7470
|
};
|
|
7471
|
+
floriday_document_versions: {
|
|
7472
|
+
Row: {
|
|
7473
|
+
bucket: string;
|
|
7474
|
+
byte_size: number | null;
|
|
7475
|
+
connection_id: string;
|
|
7476
|
+
content_sha256: string;
|
|
7477
|
+
content_type: string | null;
|
|
7478
|
+
created_at: string;
|
|
7479
|
+
delivery_date: string | null;
|
|
7480
|
+
document_id: string;
|
|
7481
|
+
document_kind: string;
|
|
7482
|
+
id: string;
|
|
7483
|
+
storage_path: string;
|
|
7484
|
+
version: number;
|
|
7485
|
+
};
|
|
7486
|
+
Insert: {
|
|
7487
|
+
bucket: string;
|
|
7488
|
+
byte_size?: number | null;
|
|
7489
|
+
connection_id: string;
|
|
7490
|
+
content_sha256: string;
|
|
7491
|
+
content_type?: string | null;
|
|
7492
|
+
created_at?: string;
|
|
7493
|
+
delivery_date?: string | null;
|
|
7494
|
+
document_id: string;
|
|
7495
|
+
document_kind: string;
|
|
7496
|
+
id?: string;
|
|
7497
|
+
storage_path: string;
|
|
7498
|
+
version: number;
|
|
7499
|
+
};
|
|
7500
|
+
Update: {
|
|
7501
|
+
bucket?: string;
|
|
7502
|
+
byte_size?: number | null;
|
|
7503
|
+
connection_id?: string;
|
|
7504
|
+
content_sha256?: string;
|
|
7505
|
+
content_type?: string | null;
|
|
7506
|
+
created_at?: string;
|
|
7507
|
+
delivery_date?: string | null;
|
|
7508
|
+
document_id?: string;
|
|
7509
|
+
document_kind?: string;
|
|
7510
|
+
id?: string;
|
|
7511
|
+
storage_path?: string;
|
|
7512
|
+
version?: number;
|
|
7513
|
+
};
|
|
7514
|
+
Relationships: [
|
|
7515
|
+
{
|
|
7516
|
+
foreignKeyName: "floriday_document_versions_connection_id_fkey";
|
|
7517
|
+
columns: ["connection_id"];
|
|
7518
|
+
isOneToOne: false;
|
|
7519
|
+
referencedRelation: "floriday_connections";
|
|
7520
|
+
referencedColumns: ["id"];
|
|
7521
|
+
}
|
|
7522
|
+
];
|
|
7523
|
+
};
|
|
7181
7524
|
floriday_fulfillment_orders_cache: {
|
|
7182
7525
|
Row: {
|
|
7183
7526
|
auction_date: string | null;
|
|
@@ -7337,7 +7680,22 @@ export type Database = {
|
|
|
7337
7680
|
updated_by?: string | null;
|
|
7338
7681
|
user_id?: string;
|
|
7339
7682
|
};
|
|
7340
|
-
Relationships: [
|
|
7683
|
+
Relationships: [
|
|
7684
|
+
{
|
|
7685
|
+
foreignKeyName: "floriday_inventory_settings_product_id_fkey";
|
|
7686
|
+
columns: ["product_id"];
|
|
7687
|
+
isOneToOne: false;
|
|
7688
|
+
referencedRelation: "logistics_product_dimensions";
|
|
7689
|
+
referencedColumns: ["product_id"];
|
|
7690
|
+
},
|
|
7691
|
+
{
|
|
7692
|
+
foreignKeyName: "floriday_inventory_settings_product_id_fkey";
|
|
7693
|
+
columns: ["product_id"];
|
|
7694
|
+
isOneToOne: false;
|
|
7695
|
+
referencedRelation: "products";
|
|
7696
|
+
referencedColumns: ["id"];
|
|
7697
|
+
}
|
|
7698
|
+
];
|
|
7341
7699
|
};
|
|
7342
7700
|
floriday_invoices_cache: {
|
|
7343
7701
|
Row: {
|
|
@@ -7425,6 +7783,87 @@ export type Database = {
|
|
|
7425
7783
|
};
|
|
7426
7784
|
Relationships: [];
|
|
7427
7785
|
};
|
|
7786
|
+
floriday_loading_attempts: {
|
|
7787
|
+
Row: {
|
|
7788
|
+
code: string | null;
|
|
7789
|
+
created_at: string;
|
|
7790
|
+
created_by: string | null;
|
|
7791
|
+
delivery_note_url: string | null;
|
|
7792
|
+
delivery_order_id: string | null;
|
|
7793
|
+
fulfillment_order_id: string;
|
|
7794
|
+
http_status: number | null;
|
|
7795
|
+
id: string;
|
|
7796
|
+
message: string | null;
|
|
7797
|
+
order_refs: string[];
|
|
7798
|
+
request_summary: Json;
|
|
7799
|
+
sales_order_ids: string[];
|
|
7800
|
+
skipped_requests: Json;
|
|
7801
|
+
step: string;
|
|
7802
|
+
warnings: Json;
|
|
7803
|
+
};
|
|
7804
|
+
Insert: {
|
|
7805
|
+
code?: string | null;
|
|
7806
|
+
created_at?: string;
|
|
7807
|
+
created_by?: string | null;
|
|
7808
|
+
delivery_note_url?: string | null;
|
|
7809
|
+
delivery_order_id?: string | null;
|
|
7810
|
+
fulfillment_order_id: string;
|
|
7811
|
+
http_status?: number | null;
|
|
7812
|
+
id?: string;
|
|
7813
|
+
message?: string | null;
|
|
7814
|
+
order_refs?: string[];
|
|
7815
|
+
request_summary?: Json;
|
|
7816
|
+
sales_order_ids?: string[];
|
|
7817
|
+
skipped_requests?: Json;
|
|
7818
|
+
step: string;
|
|
7819
|
+
warnings?: Json;
|
|
7820
|
+
};
|
|
7821
|
+
Update: {
|
|
7822
|
+
code?: string | null;
|
|
7823
|
+
created_at?: string;
|
|
7824
|
+
created_by?: string | null;
|
|
7825
|
+
delivery_note_url?: string | null;
|
|
7826
|
+
delivery_order_id?: string | null;
|
|
7827
|
+
fulfillment_order_id?: string;
|
|
7828
|
+
http_status?: number | null;
|
|
7829
|
+
id?: string;
|
|
7830
|
+
message?: string | null;
|
|
7831
|
+
order_refs?: string[];
|
|
7832
|
+
request_summary?: Json;
|
|
7833
|
+
sales_order_ids?: string[];
|
|
7834
|
+
skipped_requests?: Json;
|
|
7835
|
+
step?: string;
|
|
7836
|
+
warnings?: Json;
|
|
7837
|
+
};
|
|
7838
|
+
Relationships: [];
|
|
7839
|
+
};
|
|
7840
|
+
floriday_loading_identifiers: {
|
|
7841
|
+
Row: {
|
|
7842
|
+
created_at: string;
|
|
7843
|
+
created_by: string | null;
|
|
7844
|
+
id: string;
|
|
7845
|
+
identifier: string;
|
|
7846
|
+
natural_key: string;
|
|
7847
|
+
scope: string;
|
|
7848
|
+
};
|
|
7849
|
+
Insert: {
|
|
7850
|
+
created_at?: string;
|
|
7851
|
+
created_by?: string | null;
|
|
7852
|
+
id?: string;
|
|
7853
|
+
identifier?: string;
|
|
7854
|
+
natural_key: string;
|
|
7855
|
+
scope: string;
|
|
7856
|
+
};
|
|
7857
|
+
Update: {
|
|
7858
|
+
created_at?: string;
|
|
7859
|
+
created_by?: string | null;
|
|
7860
|
+
id?: string;
|
|
7861
|
+
identifier?: string;
|
|
7862
|
+
natural_key?: string;
|
|
7863
|
+
scope?: string;
|
|
7864
|
+
};
|
|
7865
|
+
Relationships: [];
|
|
7866
|
+
};
|
|
7428
7867
|
floriday_log_retention: {
|
|
7429
7868
|
Row: {
|
|
7430
7869
|
created_at: string;
|
|
@@ -7686,6 +8125,39 @@ export type Database = {
|
|
|
7686
8125
|
}
|
|
7687
8126
|
];
|
|
7688
8127
|
};
|
|
8128
|
+
floriday_queue_cleanup_runs: {
|
|
8129
|
+
Row: {
|
|
8130
|
+
created_at: string;
|
|
8131
|
+
deleted: Json;
|
|
8132
|
+
error: string | null;
|
|
8133
|
+
finished_at: string | null;
|
|
8134
|
+
id: string;
|
|
8135
|
+
more_remaining: boolean;
|
|
8136
|
+
orphan_settings: number | null;
|
|
8137
|
+
started_at: string;
|
|
8138
|
+
};
|
|
8139
|
+
Insert: {
|
|
8140
|
+
created_at?: string;
|
|
8141
|
+
deleted?: Json;
|
|
8142
|
+
error?: string | null;
|
|
8143
|
+
finished_at?: string | null;
|
|
8144
|
+
id?: string;
|
|
8145
|
+
more_remaining?: boolean;
|
|
8146
|
+
orphan_settings?: number | null;
|
|
8147
|
+
started_at?: string;
|
|
8148
|
+
};
|
|
8149
|
+
Update: {
|
|
8150
|
+
created_at?: string;
|
|
8151
|
+
deleted?: Json;
|
|
8152
|
+
error?: string | null;
|
|
8153
|
+
finished_at?: string | null;
|
|
8154
|
+
id?: string;
|
|
8155
|
+
more_remaining?: boolean;
|
|
8156
|
+
orphan_settings?: number | null;
|
|
8157
|
+
started_at?: string;
|
|
8158
|
+
};
|
|
8159
|
+
Relationships: [];
|
|
8160
|
+
};
|
|
7689
8161
|
floriday_rate_limit_state: {
|
|
7690
8162
|
Row: {
|
|
7691
8163
|
bucket: string;
|
|
@@ -8007,6 +8479,7 @@ export type Database = {
|
|
|
8007
8479
|
entity_type: string;
|
|
8008
8480
|
last_error: string | null;
|
|
8009
8481
|
last_items_processed: number | null;
|
|
8482
|
+
last_max_sequence_seen: number | null;
|
|
8010
8483
|
last_sequence_number: number;
|
|
8011
8484
|
last_success_at: string | null;
|
|
8012
8485
|
last_synced_at: string | null;
|
|
@@ -8017,6 +8490,7 @@ export type Database = {
|
|
|
8017
8490
|
entity_type: string;
|
|
8018
8491
|
last_error?: string | null;
|
|
8019
8492
|
last_items_processed?: number | null;
|
|
8493
|
+
last_max_sequence_seen?: number | null;
|
|
8020
8494
|
last_sequence_number?: number;
|
|
8021
8495
|
last_success_at?: string | null;
|
|
8022
8496
|
last_synced_at?: string | null;
|
|
@@ -8027,6 +8501,7 @@ export type Database = {
|
|
|
8027
8501
|
entity_type?: string;
|
|
8028
8502
|
last_error?: string | null;
|
|
8029
8503
|
last_items_processed?: number | null;
|
|
8504
|
+
last_max_sequence_seen?: number | null;
|
|
8030
8505
|
last_sequence_number?: number;
|
|
8031
8506
|
last_success_at?: string | null;
|
|
8032
8507
|
last_synced_at?: string | null;
|
|
@@ -8597,7 +9072,7 @@ export type Database = {
|
|
|
8597
9072
|
note?: string | null;
|
|
8598
9073
|
reason?: string;
|
|
8599
9074
|
trade_item_key?: string | null;
|
|
8600
|
-
user_id
|
|
9075
|
+
user_id?: string;
|
|
8601
9076
|
};
|
|
8602
9077
|
Update: {
|
|
8603
9078
|
created_at?: string;
|
|
@@ -8658,7 +9133,7 @@ export type Database = {
|
|
|
8658
9133
|
stock?: number;
|
|
8659
9134
|
updated_at?: string;
|
|
8660
9135
|
used_by_count?: number;
|
|
8661
|
-
user_id
|
|
9136
|
+
user_id?: string;
|
|
8662
9137
|
vbn_code?: number | null;
|
|
8663
9138
|
width_mm?: number | null;
|
|
8664
9139
|
};
|
|
@@ -8842,24 +9317,72 @@ export type Database = {
|
|
|
8842
9317
|
};
|
|
8843
9318
|
inventory_recompute_limits: {
|
|
8844
9319
|
Row: {
|
|
9320
|
+
base_supply_batch: number;
|
|
9321
|
+
base_supply_uses_catalog_availability: boolean;
|
|
8845
9322
|
drain_batch: number;
|
|
8846
9323
|
id: boolean;
|
|
9324
|
+
import_chunk_size: number;
|
|
9325
|
+
import_max_bytes: number;
|
|
9326
|
+
import_max_rows: number;
|
|
9327
|
+
import_new_chunk_size: number;
|
|
9328
|
+
import_retention_days: number;
|
|
8847
9329
|
max_ms_inline: number;
|
|
8848
9330
|
max_parents_inline: number;
|
|
9331
|
+
queue_base_supply_timeout_minutes: number;
|
|
9332
|
+
queue_cleanup_batch: number;
|
|
9333
|
+
queue_cleanup_max_batches: number;
|
|
9334
|
+
queue_failed_days: number;
|
|
9335
|
+
queue_gateway_backoff_minutes: number[];
|
|
9336
|
+
queue_gateway_give_up_hours: number;
|
|
9337
|
+
queue_sent_days: number;
|
|
9338
|
+
queue_skipped_days: number;
|
|
9339
|
+
queue_superseded_days: number;
|
|
8849
9340
|
updated_at: string;
|
|
8850
9341
|
};
|
|
8851
9342
|
Insert: {
|
|
9343
|
+
base_supply_batch?: number;
|
|
9344
|
+
base_supply_uses_catalog_availability?: boolean;
|
|
8852
9345
|
drain_batch?: number;
|
|
8853
9346
|
id?: boolean;
|
|
9347
|
+
import_chunk_size?: number;
|
|
9348
|
+
import_max_bytes?: number;
|
|
9349
|
+
import_max_rows?: number;
|
|
9350
|
+
import_new_chunk_size?: number;
|
|
9351
|
+
import_retention_days?: number;
|
|
8854
9352
|
max_ms_inline?: number;
|
|
8855
9353
|
max_parents_inline?: number;
|
|
9354
|
+
queue_base_supply_timeout_minutes?: number;
|
|
9355
|
+
queue_cleanup_batch?: number;
|
|
9356
|
+
queue_cleanup_max_batches?: number;
|
|
9357
|
+
queue_failed_days?: number;
|
|
9358
|
+
queue_gateway_backoff_minutes?: number[];
|
|
9359
|
+
queue_gateway_give_up_hours?: number;
|
|
9360
|
+
queue_sent_days?: number;
|
|
9361
|
+
queue_skipped_days?: number;
|
|
9362
|
+
queue_superseded_days?: number;
|
|
8856
9363
|
updated_at?: string;
|
|
8857
9364
|
};
|
|
8858
9365
|
Update: {
|
|
9366
|
+
base_supply_batch?: number;
|
|
9367
|
+
base_supply_uses_catalog_availability?: boolean;
|
|
8859
9368
|
drain_batch?: number;
|
|
8860
9369
|
id?: boolean;
|
|
9370
|
+
import_chunk_size?: number;
|
|
9371
|
+
import_max_bytes?: number;
|
|
9372
|
+
import_max_rows?: number;
|
|
9373
|
+
import_new_chunk_size?: number;
|
|
9374
|
+
import_retention_days?: number;
|
|
8861
9375
|
max_ms_inline?: number;
|
|
8862
9376
|
max_parents_inline?: number;
|
|
9377
|
+
queue_base_supply_timeout_minutes?: number;
|
|
9378
|
+
queue_cleanup_batch?: number;
|
|
9379
|
+
queue_cleanup_max_batches?: number;
|
|
9380
|
+
queue_failed_days?: number;
|
|
9381
|
+
queue_gateway_backoff_minutes?: number[];
|
|
9382
|
+
queue_gateway_give_up_hours?: number;
|
|
9383
|
+
queue_sent_days?: number;
|
|
9384
|
+
queue_skipped_days?: number;
|
|
9385
|
+
queue_superseded_days?: number;
|
|
8863
9386
|
updated_at?: string;
|
|
8864
9387
|
};
|
|
8865
9388
|
Relationships: [];
|
|
@@ -11092,6 +11615,129 @@ export type Database = {
|
|
|
11092
11615
|
};
|
|
11093
11616
|
Relationships: [];
|
|
11094
11617
|
};
|
|
11618
|
+
logistics_allocation_fingerprint: {
|
|
11619
|
+
Row: {
|
|
11620
|
+
created_at: string;
|
|
11621
|
+
fingerprint: string;
|
|
11622
|
+
last_replan_at: string | null;
|
|
11623
|
+
order_id: string;
|
|
11624
|
+
pending_since: string | null;
|
|
11625
|
+
updated_at: string;
|
|
11626
|
+
};
|
|
11627
|
+
Insert: {
|
|
11628
|
+
created_at?: string;
|
|
11629
|
+
fingerprint: string;
|
|
11630
|
+
last_replan_at?: string | null;
|
|
11631
|
+
order_id: string;
|
|
11632
|
+
pending_since?: string | null;
|
|
11633
|
+
updated_at?: string;
|
|
11634
|
+
};
|
|
11635
|
+
Update: {
|
|
11636
|
+
created_at?: string;
|
|
11637
|
+
fingerprint?: string;
|
|
11638
|
+
last_replan_at?: string | null;
|
|
11639
|
+
order_id?: string;
|
|
11640
|
+
pending_since?: string | null;
|
|
11641
|
+
updated_at?: string;
|
|
11642
|
+
};
|
|
11643
|
+
Relationships: [];
|
|
11644
|
+
};
|
|
11645
|
+
logistics_auto_send: {
|
|
11646
|
+
Row: {
|
|
11647
|
+
attempts: number;
|
|
11648
|
+
buffer_id: string | null;
|
|
11649
|
+
cart_ids: string[];
|
|
11650
|
+
created_at: string;
|
|
11651
|
+
id: string;
|
|
11652
|
+
idempotency_key: string;
|
|
11653
|
+
last_http_status: number | null;
|
|
11654
|
+
locked_until: string | null;
|
|
11655
|
+
max_attempts: number;
|
|
11656
|
+
next_attempt_at: string;
|
|
11657
|
+
order_id: string;
|
|
11658
|
+
order_ids: string[];
|
|
11659
|
+
reason: string | null;
|
|
11660
|
+
sent_at: string | null;
|
|
11661
|
+
sent_how: string | null;
|
|
11662
|
+
status: string;
|
|
11663
|
+
updated_at: string;
|
|
11664
|
+
};
|
|
11665
|
+
Insert: {
|
|
11666
|
+
attempts?: number;
|
|
11667
|
+
buffer_id?: string | null;
|
|
11668
|
+
cart_ids?: string[];
|
|
11669
|
+
created_at?: string;
|
|
11670
|
+
id?: string;
|
|
11671
|
+
idempotency_key: string;
|
|
11672
|
+
last_http_status?: number | null;
|
|
11673
|
+
locked_until?: string | null;
|
|
11674
|
+
max_attempts?: number;
|
|
11675
|
+
next_attempt_at?: string;
|
|
11676
|
+
order_id: string;
|
|
11677
|
+
order_ids?: string[];
|
|
11678
|
+
reason?: string | null;
|
|
11679
|
+
sent_at?: string | null;
|
|
11680
|
+
sent_how?: string | null;
|
|
11681
|
+
status?: string;
|
|
11682
|
+
updated_at?: string;
|
|
11683
|
+
};
|
|
11684
|
+
Update: {
|
|
11685
|
+
attempts?: number;
|
|
11686
|
+
buffer_id?: string | null;
|
|
11687
|
+
cart_ids?: string[];
|
|
11688
|
+
created_at?: string;
|
|
11689
|
+
id?: string;
|
|
11690
|
+
idempotency_key?: string;
|
|
11691
|
+
last_http_status?: number | null;
|
|
11692
|
+
locked_until?: string | null;
|
|
11693
|
+
max_attempts?: number;
|
|
11694
|
+
next_attempt_at?: string;
|
|
11695
|
+
order_id?: string;
|
|
11696
|
+
order_ids?: string[];
|
|
11697
|
+
reason?: string | null;
|
|
11698
|
+
sent_at?: string | null;
|
|
11699
|
+
sent_how?: string | null;
|
|
11700
|
+
status?: string;
|
|
11701
|
+
updated_at?: string;
|
|
11702
|
+
};
|
|
11703
|
+
Relationships: [];
|
|
11704
|
+
};
|
|
11705
|
+
logistics_autolink_audit: {
|
|
11706
|
+
Row: {
|
|
11707
|
+
created_at: string;
|
|
11708
|
+
id: string;
|
|
11709
|
+
match_type: string;
|
|
11710
|
+
order_id: string | null;
|
|
11711
|
+
order_item_id: string | null;
|
|
11712
|
+
order_source: string | null;
|
|
11713
|
+
product_floriday_id: string | null;
|
|
11714
|
+
product_id: string | null;
|
|
11715
|
+
product_name: string | null;
|
|
11716
|
+
};
|
|
11717
|
+
Insert: {
|
|
11718
|
+
created_at?: string;
|
|
11719
|
+
id?: string;
|
|
11720
|
+
match_type: string;
|
|
11721
|
+
order_id?: string | null;
|
|
11722
|
+
order_item_id?: string | null;
|
|
11723
|
+
order_source?: string | null;
|
|
11724
|
+
product_floriday_id?: string | null;
|
|
11725
|
+
product_id?: string | null;
|
|
11726
|
+
product_name?: string | null;
|
|
11727
|
+
};
|
|
11728
|
+
Update: {
|
|
11729
|
+
created_at?: string;
|
|
11730
|
+
id?: string;
|
|
11731
|
+
match_type?: string;
|
|
11732
|
+
order_id?: string | null;
|
|
11733
|
+
order_item_id?: string | null;
|
|
11734
|
+
order_source?: string | null;
|
|
11735
|
+
product_floriday_id?: string | null;
|
|
11736
|
+
product_id?: string | null;
|
|
11737
|
+
product_name?: string | null;
|
|
11738
|
+
};
|
|
11739
|
+
Relationships: [];
|
|
11740
|
+
};
|
|
11095
11741
|
logistics_base_url_checks: {
|
|
11096
11742
|
Row: {
|
|
11097
11743
|
candidate_host: string | null;
|
|
@@ -11295,6 +11941,36 @@ export type Database = {
|
|
|
11295
11941
|
};
|
|
11296
11942
|
Relationships: [];
|
|
11297
11943
|
};
|
|
11944
|
+
logistics_cart_archive_log: {
|
|
11945
|
+
Row: {
|
|
11946
|
+
action: string;
|
|
11947
|
+
actor: string | null;
|
|
11948
|
+
cart_id: string;
|
|
11949
|
+
created_at: string;
|
|
11950
|
+
id: string;
|
|
11951
|
+
reason: string | null;
|
|
11952
|
+
snapshot: Json | null;
|
|
11953
|
+
};
|
|
11954
|
+
Insert: {
|
|
11955
|
+
action: string;
|
|
11956
|
+
actor?: string | null;
|
|
11957
|
+
cart_id: string;
|
|
11958
|
+
created_at?: string;
|
|
11959
|
+
id?: string;
|
|
11960
|
+
reason?: string | null;
|
|
11961
|
+
snapshot?: Json | null;
|
|
11962
|
+
};
|
|
11963
|
+
Update: {
|
|
11964
|
+
action?: string;
|
|
11965
|
+
actor?: string | null;
|
|
11966
|
+
cart_id?: string;
|
|
11967
|
+
created_at?: string;
|
|
11968
|
+
id?: string;
|
|
11969
|
+
reason?: string | null;
|
|
11970
|
+
snapshot?: Json | null;
|
|
11971
|
+
};
|
|
11972
|
+
Relationships: [];
|
|
11973
|
+
};
|
|
11298
11974
|
logistics_cart_barcode: {
|
|
11299
11975
|
Row: {
|
|
11300
11976
|
barcode: string;
|
|
@@ -11345,6 +12021,7 @@ export type Database = {
|
|
|
11345
12021
|
approved_at: string | null;
|
|
11346
12022
|
attempts: number;
|
|
11347
12023
|
barcode: string;
|
|
12024
|
+
bron: string | null;
|
|
11348
12025
|
cart_id: string;
|
|
11349
12026
|
created_at: string;
|
|
11350
12027
|
document_url: string | null;
|
|
@@ -11367,6 +12044,7 @@ export type Database = {
|
|
|
11367
12044
|
approved_at?: string | null;
|
|
11368
12045
|
attempts?: number;
|
|
11369
12046
|
barcode: string;
|
|
12047
|
+
bron?: string | null;
|
|
11370
12048
|
cart_id: string;
|
|
11371
12049
|
created_at?: string;
|
|
11372
12050
|
document_url?: string | null;
|
|
@@ -11389,6 +12067,7 @@ export type Database = {
|
|
|
11389
12067
|
approved_at?: string | null;
|
|
11390
12068
|
attempts?: number;
|
|
11391
12069
|
barcode?: string;
|
|
12070
|
+
bron?: string | null;
|
|
11392
12071
|
cart_id?: string;
|
|
11393
12072
|
created_at?: string;
|
|
11394
12073
|
document_url?: string | null;
|
|
@@ -11993,6 +12672,27 @@ export type Database = {
|
|
|
11993
12672
|
};
|
|
11994
12673
|
Relationships: [];
|
|
11995
12674
|
};
|
|
12675
|
+
logistics_order_change_fp: {
|
|
12676
|
+
Row: {
|
|
12677
|
+
fp: string | null;
|
|
12678
|
+
frozen_fp: string | null;
|
|
12679
|
+
order_id: string;
|
|
12680
|
+
updated_at: string;
|
|
12681
|
+
};
|
|
12682
|
+
Insert: {
|
|
12683
|
+
fp?: string | null;
|
|
12684
|
+
frozen_fp?: string | null;
|
|
12685
|
+
order_id: string;
|
|
12686
|
+
updated_at?: string;
|
|
12687
|
+
};
|
|
12688
|
+
Update: {
|
|
12689
|
+
fp?: string | null;
|
|
12690
|
+
frozen_fp?: string | null;
|
|
12691
|
+
order_id?: string;
|
|
12692
|
+
updated_at?: string;
|
|
12693
|
+
};
|
|
12694
|
+
Relationships: [];
|
|
12695
|
+
};
|
|
11996
12696
|
logistics_order_finalize_queue: {
|
|
11997
12697
|
Row: {
|
|
11998
12698
|
attempts: number;
|
|
@@ -12131,6 +12831,101 @@ export type Database = {
|
|
|
12131
12831
|
};
|
|
12132
12832
|
Relationships: [];
|
|
12133
12833
|
};
|
|
12834
|
+
logistics_order_pick_day: {
|
|
12835
|
+
Row: {
|
|
12836
|
+
order_id: string;
|
|
12837
|
+
pick_date: string;
|
|
12838
|
+
pinned_at: string;
|
|
12839
|
+
source: string;
|
|
12840
|
+
};
|
|
12841
|
+
Insert: {
|
|
12842
|
+
order_id: string;
|
|
12843
|
+
pick_date: string;
|
|
12844
|
+
pinned_at?: string;
|
|
12845
|
+
source?: string;
|
|
12846
|
+
};
|
|
12847
|
+
Update: {
|
|
12848
|
+
order_id?: string;
|
|
12849
|
+
pick_date?: string;
|
|
12850
|
+
pinned_at?: string;
|
|
12851
|
+
source?: string;
|
|
12852
|
+
};
|
|
12853
|
+
Relationships: [];
|
|
12854
|
+
};
|
|
12855
|
+
logistics_order_plan_exclusion: {
|
|
12856
|
+
Row: {
|
|
12857
|
+
created_at: string;
|
|
12858
|
+
order_id: string;
|
|
12859
|
+
reason: string;
|
|
12860
|
+
};
|
|
12861
|
+
Insert: {
|
|
12862
|
+
created_at?: string;
|
|
12863
|
+
order_id: string;
|
|
12864
|
+
reason: string;
|
|
12865
|
+
};
|
|
12866
|
+
Update: {
|
|
12867
|
+
created_at?: string;
|
|
12868
|
+
order_id?: string;
|
|
12869
|
+
reason?: string;
|
|
12870
|
+
};
|
|
12871
|
+
Relationships: [
|
|
12872
|
+
{
|
|
12873
|
+
foreignKeyName: "logistics_order_plan_exclusion_order_id_fkey";
|
|
12874
|
+
columns: ["order_id"];
|
|
12875
|
+
isOneToOne: true;
|
|
12876
|
+
referencedRelation: "orders";
|
|
12877
|
+
referencedColumns: ["id"];
|
|
12878
|
+
}
|
|
12879
|
+
];
|
|
12880
|
+
};
|
|
12881
|
+
logistics_order_sticker_warnings: {
|
|
12882
|
+
Row: {
|
|
12883
|
+
benodigd_breedte_mm: number | null;
|
|
12884
|
+
benodigd_hoogte_mm: number | null;
|
|
12885
|
+
bron_id: string;
|
|
12886
|
+
created_at: string;
|
|
12887
|
+
geladen_breedte_mm: number | null;
|
|
12888
|
+
geladen_hoogte_mm: number | null;
|
|
12889
|
+
id: string;
|
|
12890
|
+
melding: string;
|
|
12891
|
+
opgelost_op: string | null;
|
|
12892
|
+
order_id: string;
|
|
12893
|
+
plek: string | null;
|
|
12894
|
+
soort: string;
|
|
12895
|
+
updated_at: string;
|
|
12896
|
+
};
|
|
12897
|
+
Insert: {
|
|
12898
|
+
benodigd_breedte_mm?: number | null;
|
|
12899
|
+
benodigd_hoogte_mm?: number | null;
|
|
12900
|
+
bron_id: string;
|
|
12901
|
+
created_at?: string;
|
|
12902
|
+
geladen_breedte_mm?: number | null;
|
|
12903
|
+
geladen_hoogte_mm?: number | null;
|
|
12904
|
+
id?: string;
|
|
12905
|
+
melding: string;
|
|
12906
|
+
opgelost_op?: string | null;
|
|
12907
|
+
order_id: string;
|
|
12908
|
+
plek?: string | null;
|
|
12909
|
+
soort: string;
|
|
12910
|
+
updated_at?: string;
|
|
12911
|
+
};
|
|
12912
|
+
Update: {
|
|
12913
|
+
benodigd_breedte_mm?: number | null;
|
|
12914
|
+
benodigd_hoogte_mm?: number | null;
|
|
12915
|
+
bron_id?: string;
|
|
12916
|
+
created_at?: string;
|
|
12917
|
+
geladen_breedte_mm?: number | null;
|
|
12918
|
+
geladen_hoogte_mm?: number | null;
|
|
12919
|
+
id?: string;
|
|
12920
|
+
melding?: string;
|
|
12921
|
+
opgelost_op?: string | null;
|
|
12922
|
+
order_id?: string;
|
|
12923
|
+
plek?: string | null;
|
|
12924
|
+
soort?: string;
|
|
12925
|
+
updated_at?: string;
|
|
12926
|
+
};
|
|
12927
|
+
Relationships: [];
|
|
12928
|
+
};
|
|
12134
12929
|
logistics_packing_deviations: {
|
|
12135
12930
|
Row: {
|
|
12136
12931
|
auto_fixed_at: string | null;
|
|
@@ -12275,6 +13070,33 @@ export type Database = {
|
|
|
12275
13070
|
};
|
|
12276
13071
|
Relationships: [];
|
|
12277
13072
|
};
|
|
13073
|
+
logistics_plan_coverage_retries: {
|
|
13074
|
+
Row: {
|
|
13075
|
+
attempts: number;
|
|
13076
|
+
gave_up_at: string | null;
|
|
13077
|
+
last_at: string;
|
|
13078
|
+
last_pct: number | null;
|
|
13079
|
+
next_at: string;
|
|
13080
|
+
order_id: string;
|
|
13081
|
+
};
|
|
13082
|
+
Insert: {
|
|
13083
|
+
attempts?: number;
|
|
13084
|
+
gave_up_at?: string | null;
|
|
13085
|
+
last_at?: string;
|
|
13086
|
+
last_pct?: number | null;
|
|
13087
|
+
next_at?: string;
|
|
13088
|
+
order_id: string;
|
|
13089
|
+
};
|
|
13090
|
+
Update: {
|
|
13091
|
+
attempts?: number;
|
|
13092
|
+
gave_up_at?: string | null;
|
|
13093
|
+
last_at?: string;
|
|
13094
|
+
last_pct?: number | null;
|
|
13095
|
+
next_at?: string;
|
|
13096
|
+
order_id?: string;
|
|
13097
|
+
};
|
|
13098
|
+
Relationships: [];
|
|
13099
|
+
};
|
|
12278
13100
|
logistics_plan_locks: {
|
|
12279
13101
|
Row: {
|
|
12280
13102
|
created_at: string;
|
|
@@ -12671,6 +13493,7 @@ export type Database = {
|
|
|
12671
13493
|
created_at: string;
|
|
12672
13494
|
group_id: string | null;
|
|
12673
13495
|
id: string;
|
|
13496
|
+
line_qty: number | null;
|
|
12674
13497
|
order_item_id: string;
|
|
12675
13498
|
qty: number;
|
|
12676
13499
|
source: string;
|
|
@@ -12682,6 +13505,7 @@ export type Database = {
|
|
|
12682
13505
|
created_at?: string;
|
|
12683
13506
|
group_id?: string | null;
|
|
12684
13507
|
id?: string;
|
|
13508
|
+
line_qty?: number | null;
|
|
12685
13509
|
order_item_id: string;
|
|
12686
13510
|
qty: number;
|
|
12687
13511
|
source: string;
|
|
@@ -12693,6 +13517,7 @@ export type Database = {
|
|
|
12693
13517
|
created_at?: string;
|
|
12694
13518
|
group_id?: string | null;
|
|
12695
13519
|
id?: string;
|
|
13520
|
+
line_qty?: number | null;
|
|
12696
13521
|
order_item_id?: string;
|
|
12697
13522
|
qty?: number;
|
|
12698
13523
|
source?: string;
|
|
@@ -12930,6 +13755,78 @@ export type Database = {
|
|
|
12930
13755
|
};
|
|
12931
13756
|
Relationships: [];
|
|
12932
13757
|
};
|
|
13758
|
+
logistics_sticker_prints: {
|
|
13759
|
+
Row: {
|
|
13760
|
+
attempts: number;
|
|
13761
|
+
breedte_mm: number | null;
|
|
13762
|
+
bron_id: string;
|
|
13763
|
+
cart_id: string | null;
|
|
13764
|
+
created_at: string;
|
|
13765
|
+
fulfillment_order_id: string | null;
|
|
13766
|
+
handled_at: string | null;
|
|
13767
|
+
handled_error: string | null;
|
|
13768
|
+
handled_next_at: string | null;
|
|
13769
|
+
hoogte_mm: number | null;
|
|
13770
|
+
id: string;
|
|
13771
|
+
kopieen: number;
|
|
13772
|
+
next_attempt_at: string | null;
|
|
13773
|
+
order_id: string | null;
|
|
13774
|
+
order_number: string | null;
|
|
13775
|
+
print_job_id: string | null;
|
|
13776
|
+
print_plek_id: string | null;
|
|
13777
|
+
reden: string | null;
|
|
13778
|
+
soort: string;
|
|
13779
|
+
status: string;
|
|
13780
|
+
updated_at: string;
|
|
13781
|
+
};
|
|
13782
|
+
Insert: {
|
|
13783
|
+
attempts?: number;
|
|
13784
|
+
breedte_mm?: number | null;
|
|
13785
|
+
bron_id: string;
|
|
13786
|
+
cart_id?: string | null;
|
|
13787
|
+
created_at?: string;
|
|
13788
|
+
fulfillment_order_id?: string | null;
|
|
13789
|
+
handled_at?: string | null;
|
|
13790
|
+
handled_error?: string | null;
|
|
13791
|
+
handled_next_at?: string | null;
|
|
13792
|
+
hoogte_mm?: number | null;
|
|
13793
|
+
id?: string;
|
|
13794
|
+
kopieen?: number;
|
|
13795
|
+
next_attempt_at?: string | null;
|
|
13796
|
+
order_id?: string | null;
|
|
13797
|
+
order_number?: string | null;
|
|
13798
|
+
print_job_id?: string | null;
|
|
13799
|
+
print_plek_id?: string | null;
|
|
13800
|
+
reden?: string | null;
|
|
13801
|
+
soort: string;
|
|
13802
|
+
status?: string;
|
|
13803
|
+
updated_at?: string;
|
|
13804
|
+
};
|
|
13805
|
+
Update: {
|
|
13806
|
+
attempts?: number;
|
|
13807
|
+
breedte_mm?: number | null;
|
|
13808
|
+
bron_id?: string;
|
|
13809
|
+
cart_id?: string | null;
|
|
13810
|
+
created_at?: string;
|
|
13811
|
+
fulfillment_order_id?: string | null;
|
|
13812
|
+
handled_at?: string | null;
|
|
13813
|
+
handled_error?: string | null;
|
|
13814
|
+
handled_next_at?: string | null;
|
|
13815
|
+
hoogte_mm?: number | null;
|
|
13816
|
+
id?: string;
|
|
13817
|
+
kopieen?: number;
|
|
13818
|
+
next_attempt_at?: string | null;
|
|
13819
|
+
order_id?: string | null;
|
|
13820
|
+
order_number?: string | null;
|
|
13821
|
+
print_job_id?: string | null;
|
|
13822
|
+
print_plek_id?: string | null;
|
|
13823
|
+
reden?: string | null;
|
|
13824
|
+
soort?: string;
|
|
13825
|
+
status?: string;
|
|
13826
|
+
updated_at?: string;
|
|
13827
|
+
};
|
|
13828
|
+
Relationships: [];
|
|
13829
|
+
};
|
|
12933
13830
|
logistics_stock_alerts: {
|
|
12934
13831
|
Row: {
|
|
12935
13832
|
created_at: string;
|
|
@@ -12946,6 +13843,7 @@ export type Database = {
|
|
|
12946
13843
|
order_id: string | null;
|
|
12947
13844
|
order_ref: string;
|
|
12948
13845
|
priority: number;
|
|
13846
|
+
resolution_reason: string | null;
|
|
12949
13847
|
resolved_at: string | null;
|
|
12950
13848
|
resolved_by: string | null;
|
|
12951
13849
|
shortages: Json;
|
|
@@ -12968,6 +13866,7 @@ export type Database = {
|
|
|
12968
13866
|
order_id?: string | null;
|
|
12969
13867
|
order_ref: string;
|
|
12970
13868
|
priority?: number;
|
|
13869
|
+
resolution_reason?: string | null;
|
|
12971
13870
|
resolved_at?: string | null;
|
|
12972
13871
|
resolved_by?: string | null;
|
|
12973
13872
|
shortages?: Json;
|
|
@@ -12990,6 +13889,7 @@ export type Database = {
|
|
|
12990
13889
|
order_id?: string | null;
|
|
12991
13890
|
order_ref?: string;
|
|
12992
13891
|
priority?: number;
|
|
13892
|
+
resolution_reason?: string | null;
|
|
12993
13893
|
resolved_at?: string | null;
|
|
12994
13894
|
resolved_by?: string | null;
|
|
12995
13895
|
shortages?: Json;
|
|
@@ -13274,16 +14174,19 @@ export type Database = {
|
|
|
13274
14174
|
};
|
|
13275
14175
|
logistics_time_settings: {
|
|
13276
14176
|
Row: {
|
|
14177
|
+
departure_rule_since: string | null;
|
|
13277
14178
|
id: boolean;
|
|
13278
14179
|
timezone: string;
|
|
13279
14180
|
updated_at: string;
|
|
13280
14181
|
};
|
|
13281
14182
|
Insert: {
|
|
14183
|
+
departure_rule_since?: string | null;
|
|
13282
14184
|
id?: boolean;
|
|
13283
14185
|
timezone: string;
|
|
13284
14186
|
updated_at?: string;
|
|
13285
14187
|
};
|
|
13286
14188
|
Update: {
|
|
14189
|
+
departure_rule_since?: string | null;
|
|
13287
14190
|
id?: boolean;
|
|
13288
14191
|
timezone?: string;
|
|
13289
14192
|
updated_at?: string;
|
|
@@ -15448,6 +16351,7 @@ export type Database = {
|
|
|
15448
16351
|
Row: {
|
|
15449
16352
|
boxes: number | null;
|
|
15450
16353
|
cart_id: string;
|
|
16354
|
+
components: Json | null;
|
|
15451
16355
|
crates: number;
|
|
15452
16356
|
crates_in_layer: number | null;
|
|
15453
16357
|
crates_per_layer: number;
|
|
@@ -15466,6 +16370,7 @@ export type Database = {
|
|
|
15466
16370
|
Insert: {
|
|
15467
16371
|
boxes?: number | null;
|
|
15468
16372
|
cart_id: string;
|
|
16373
|
+
components?: Json | null;
|
|
15469
16374
|
crates: number;
|
|
15470
16375
|
crates_in_layer?: number | null;
|
|
15471
16376
|
crates_per_layer?: number;
|
|
@@ -15484,6 +16389,7 @@ export type Database = {
|
|
|
15484
16389
|
Update: {
|
|
15485
16390
|
boxes?: number | null;
|
|
15486
16391
|
cart_id?: string;
|
|
16392
|
+
components?: Json | null;
|
|
15487
16393
|
crates?: number;
|
|
15488
16394
|
crates_in_layer?: number | null;
|
|
15489
16395
|
crates_per_layer?: number;
|
|
@@ -15622,14 +16528,20 @@ export type Database = {
|
|
|
15622
16528
|
order_carts: {
|
|
15623
16529
|
Row: {
|
|
15624
16530
|
algorithm_version: number;
|
|
16531
|
+
archived_at: string | null;
|
|
16532
|
+
archived_by: string | null;
|
|
16533
|
+
archived_reason: string | null;
|
|
15625
16534
|
buffer_id: string | null;
|
|
16535
|
+
carrier_id: string | null;
|
|
15626
16536
|
carrier_type: string;
|
|
15627
16537
|
carrier_type_id: string | null;
|
|
15628
16538
|
cart_number: number;
|
|
15629
16539
|
created_at: string;
|
|
16540
|
+
departure_at: string | null;
|
|
15630
16541
|
id: string;
|
|
15631
16542
|
is_auto: boolean;
|
|
15632
16543
|
is_complete: boolean;
|
|
16544
|
+
late_signup: boolean;
|
|
15633
16545
|
layout_method: string | null;
|
|
15634
16546
|
max_layers: number | null;
|
|
15635
16547
|
moved_at: string | null;
|
|
@@ -15640,6 +16552,7 @@ export type Database = {
|
|
|
15640
16552
|
order_id: string | null;
|
|
15641
16553
|
pickup_locked: boolean;
|
|
15642
16554
|
pickup_moment_id: string | null;
|
|
16555
|
+
pickup_moment_key: string | null;
|
|
15643
16556
|
source: string;
|
|
15644
16557
|
total_carts: number | null;
|
|
15645
16558
|
total_layers_used: number;
|
|
@@ -15648,14 +16561,20 @@ export type Database = {
|
|
|
15648
16561
|
};
|
|
15649
16562
|
Insert: {
|
|
15650
16563
|
algorithm_version?: number;
|
|
16564
|
+
archived_at?: string | null;
|
|
16565
|
+
archived_by?: string | null;
|
|
16566
|
+
archived_reason?: string | null;
|
|
15651
16567
|
buffer_id?: string | null;
|
|
16568
|
+
carrier_id?: string | null;
|
|
15652
16569
|
carrier_type?: string;
|
|
15653
16570
|
carrier_type_id?: string | null;
|
|
15654
16571
|
cart_number: number;
|
|
15655
16572
|
created_at?: string;
|
|
16573
|
+
departure_at?: string | null;
|
|
15656
16574
|
id?: string;
|
|
15657
16575
|
is_auto?: boolean;
|
|
15658
16576
|
is_complete?: boolean;
|
|
16577
|
+
late_signup?: boolean;
|
|
15659
16578
|
layout_method?: string | null;
|
|
15660
16579
|
max_layers?: number | null;
|
|
15661
16580
|
moved_at?: string | null;
|
|
@@ -15666,6 +16585,7 @@ export type Database = {
|
|
|
15666
16585
|
order_id?: string | null;
|
|
15667
16586
|
pickup_locked?: boolean;
|
|
15668
16587
|
pickup_moment_id?: string | null;
|
|
16588
|
+
pickup_moment_key?: string | null;
|
|
15669
16589
|
source?: string;
|
|
15670
16590
|
total_carts?: number | null;
|
|
15671
16591
|
total_layers_used?: number;
|
|
@@ -15674,14 +16594,20 @@ export type Database = {
|
|
|
15674
16594
|
};
|
|
15675
16595
|
Update: {
|
|
15676
16596
|
algorithm_version?: number;
|
|
16597
|
+
archived_at?: string | null;
|
|
16598
|
+
archived_by?: string | null;
|
|
16599
|
+
archived_reason?: string | null;
|
|
15677
16600
|
buffer_id?: string | null;
|
|
16601
|
+
carrier_id?: string | null;
|
|
15678
16602
|
carrier_type?: string;
|
|
15679
16603
|
carrier_type_id?: string | null;
|
|
15680
16604
|
cart_number?: number;
|
|
15681
16605
|
created_at?: string;
|
|
16606
|
+
departure_at?: string | null;
|
|
15682
16607
|
id?: string;
|
|
15683
16608
|
is_auto?: boolean;
|
|
15684
16609
|
is_complete?: boolean;
|
|
16610
|
+
late_signup?: boolean;
|
|
15685
16611
|
layout_method?: string | null;
|
|
15686
16612
|
max_layers?: number | null;
|
|
15687
16613
|
moved_at?: string | null;
|
|
@@ -15692,6 +16618,7 @@ export type Database = {
|
|
|
15692
16618
|
order_id?: string | null;
|
|
15693
16619
|
pickup_locked?: boolean;
|
|
15694
16620
|
pickup_moment_id?: string | null;
|
|
16621
|
+
pickup_moment_key?: string | null;
|
|
15695
16622
|
source?: string;
|
|
15696
16623
|
total_carts?: number | null;
|
|
15697
16624
|
total_layers_used?: number;
|
|
@@ -15843,6 +16770,7 @@ export type Database = {
|
|
|
15843
16770
|
Row: {
|
|
15844
16771
|
administration_code: string | null;
|
|
15845
16772
|
attempts: number;
|
|
16773
|
+
block_reason: string | null;
|
|
15846
16774
|
created_at: string;
|
|
15847
16775
|
error_message: string | null;
|
|
15848
16776
|
id: string;
|
|
@@ -15850,6 +16778,8 @@ export type Database = {
|
|
|
15850
16778
|
next_attempt_at: string;
|
|
15851
16779
|
order_id: string;
|
|
15852
16780
|
processed_at: string | null;
|
|
16781
|
+
revive_reason: string | null;
|
|
16782
|
+
revived_at: string | null;
|
|
15853
16783
|
send_error: string | null;
|
|
15854
16784
|
status: string;
|
|
15855
16785
|
updated_at: string;
|
|
@@ -15857,6 +16787,7 @@ export type Database = {
|
|
|
15857
16787
|
Insert: {
|
|
15858
16788
|
administration_code?: string | null;
|
|
15859
16789
|
attempts?: number;
|
|
16790
|
+
block_reason?: string | null;
|
|
15860
16791
|
created_at?: string;
|
|
15861
16792
|
error_message?: string | null;
|
|
15862
16793
|
id?: string;
|
|
@@ -15864,6 +16795,8 @@ export type Database = {
|
|
|
15864
16795
|
next_attempt_at?: string;
|
|
15865
16796
|
order_id: string;
|
|
15866
16797
|
processed_at?: string | null;
|
|
16798
|
+
revive_reason?: string | null;
|
|
16799
|
+
revived_at?: string | null;
|
|
15867
16800
|
send_error?: string | null;
|
|
15868
16801
|
status?: string;
|
|
15869
16802
|
updated_at?: string;
|
|
@@ -15871,6 +16804,7 @@ export type Database = {
|
|
|
15871
16804
|
Update: {
|
|
15872
16805
|
administration_code?: string | null;
|
|
15873
16806
|
attempts?: number;
|
|
16807
|
+
block_reason?: string | null;
|
|
15874
16808
|
created_at?: string;
|
|
15875
16809
|
error_message?: string | null;
|
|
15876
16810
|
id?: string;
|
|
@@ -15878,6 +16812,8 @@ export type Database = {
|
|
|
15878
16812
|
next_attempt_at?: string;
|
|
15879
16813
|
order_id?: string;
|
|
15880
16814
|
processed_at?: string | null;
|
|
16815
|
+
revive_reason?: string | null;
|
|
16816
|
+
revived_at?: string | null;
|
|
15881
16817
|
send_error?: string | null;
|
|
15882
16818
|
status?: string;
|
|
15883
16819
|
updated_at?: string;
|
|
@@ -15984,6 +16920,44 @@ export type Database = {
|
|
|
15984
16920
|
};
|
|
15985
16921
|
Relationships: [];
|
|
15986
16922
|
};
|
|
16923
|
+
order_review_dismissals: {
|
|
16924
|
+
Row: {
|
|
16925
|
+
dismissed_at: string;
|
|
16926
|
+
dismissed_by: string | null;
|
|
16927
|
+
id: string;
|
|
16928
|
+
kind: string;
|
|
16929
|
+
note: string | null;
|
|
16930
|
+
order_id: string;
|
|
16931
|
+
review_reason: string;
|
|
16932
|
+
};
|
|
16933
|
+
Insert: {
|
|
16934
|
+
dismissed_at?: string;
|
|
16935
|
+
dismissed_by?: string | null;
|
|
16936
|
+
id?: string;
|
|
16937
|
+
kind: string;
|
|
16938
|
+
note?: string | null;
|
|
16939
|
+
order_id: string;
|
|
16940
|
+
review_reason: string;
|
|
16941
|
+
};
|
|
16942
|
+
Update: {
|
|
16943
|
+
dismissed_at?: string;
|
|
16944
|
+
dismissed_by?: string | null;
|
|
16945
|
+
id?: string;
|
|
16946
|
+
kind?: string;
|
|
16947
|
+
note?: string | null;
|
|
16948
|
+
order_id?: string;
|
|
16949
|
+
review_reason?: string;
|
|
16950
|
+
};
|
|
16951
|
+
Relationships: [
|
|
16952
|
+
{
|
|
16953
|
+
foreignKeyName: "order_review_dismissals_order_id_fkey";
|
|
16954
|
+
columns: ["order_id"];
|
|
16955
|
+
isOneToOne: false;
|
|
16956
|
+
referencedRelation: "orders";
|
|
16957
|
+
referencedColumns: ["id"];
|
|
16958
|
+
}
|
|
16959
|
+
];
|
|
16960
|
+
};
|
|
15987
16961
|
order_shipment_items: {
|
|
15988
16962
|
Row: {
|
|
15989
16963
|
created_at: string;
|
|
@@ -17639,6 +18613,12 @@ export type Database = {
|
|
|
17639
18613
|
email_purpose: string | null;
|
|
17640
18614
|
enabled: boolean;
|
|
17641
18615
|
id: boolean;
|
|
18616
|
+
overrun_auto_mail: boolean;
|
|
18617
|
+
overrun_body_template: string;
|
|
18618
|
+
overrun_enabled: boolean;
|
|
18619
|
+
overrun_mail_minutes: number;
|
|
18620
|
+
overrun_notice_minutes: number;
|
|
18621
|
+
overrun_subject_template: string;
|
|
17642
18622
|
reply_to: string | null;
|
|
17643
18623
|
reschedule_body_template: string;
|
|
17644
18624
|
reschedule_subject_template: string;
|
|
@@ -17655,6 +18635,12 @@ export type Database = {
|
|
|
17655
18635
|
email_purpose?: string | null;
|
|
17656
18636
|
enabled?: boolean;
|
|
17657
18637
|
id?: boolean;
|
|
18638
|
+
overrun_auto_mail?: boolean;
|
|
18639
|
+
overrun_body_template?: string;
|
|
18640
|
+
overrun_enabled?: boolean;
|
|
18641
|
+
overrun_mail_minutes?: number;
|
|
18642
|
+
overrun_notice_minutes?: number;
|
|
18643
|
+
overrun_subject_template?: string;
|
|
17658
18644
|
reply_to?: string | null;
|
|
17659
18645
|
reschedule_body_template?: string;
|
|
17660
18646
|
reschedule_subject_template?: string;
|
|
@@ -17671,6 +18657,12 @@ export type Database = {
|
|
|
17671
18657
|
email_purpose?: string | null;
|
|
17672
18658
|
enabled?: boolean;
|
|
17673
18659
|
id?: boolean;
|
|
18660
|
+
overrun_auto_mail?: boolean;
|
|
18661
|
+
overrun_body_template?: string;
|
|
18662
|
+
overrun_enabled?: boolean;
|
|
18663
|
+
overrun_mail_minutes?: number;
|
|
18664
|
+
overrun_notice_minutes?: number;
|
|
18665
|
+
overrun_subject_template?: string;
|
|
17674
18666
|
reply_to?: string | null;
|
|
17675
18667
|
reschedule_body_template?: string;
|
|
17676
18668
|
reschedule_subject_template?: string;
|
|
@@ -17731,6 +18723,7 @@ export type Database = {
|
|
|
17731
18723
|
created_at: string;
|
|
17732
18724
|
default_end: string;
|
|
17733
18725
|
default_start: string;
|
|
18726
|
+
eigen_vervoer: boolean;
|
|
17734
18727
|
end_address: string | null;
|
|
17735
18728
|
home_address: string | null;
|
|
17736
18729
|
id: string;
|
|
@@ -17742,6 +18735,7 @@ export type Database = {
|
|
|
17742
18735
|
created_at?: string;
|
|
17743
18736
|
default_end?: string;
|
|
17744
18737
|
default_start?: string;
|
|
18738
|
+
eigen_vervoer?: boolean;
|
|
17745
18739
|
end_address?: string | null;
|
|
17746
18740
|
home_address?: string | null;
|
|
17747
18741
|
id?: string;
|
|
@@ -17753,6 +18747,7 @@ export type Database = {
|
|
|
17753
18747
|
created_at?: string;
|
|
17754
18748
|
default_end?: string;
|
|
17755
18749
|
default_start?: string;
|
|
18750
|
+
eigen_vervoer?: boolean;
|
|
17756
18751
|
end_address?: string | null;
|
|
17757
18752
|
home_address?: string | null;
|
|
17758
18753
|
id?: string;
|
|
@@ -17762,6 +18757,66 @@ export type Database = {
|
|
|
17762
18757
|
};
|
|
17763
18758
|
Relationships: [];
|
|
17764
18759
|
};
|
|
18760
|
+
planning_overrun_events: {
|
|
18761
|
+
Row: {
|
|
18762
|
+
created_at: string;
|
|
18763
|
+
id: string;
|
|
18764
|
+
mail_level: number;
|
|
18765
|
+
mailed_at: string | null;
|
|
18766
|
+
mailed_item_id: string | null;
|
|
18767
|
+
mailed_items: Json;
|
|
18768
|
+
monteur_id: string | null;
|
|
18769
|
+
original_end_at: string;
|
|
18770
|
+
overrun_minutes: number;
|
|
18771
|
+
planning_item_id: string;
|
|
18772
|
+
shifted: Json;
|
|
18773
|
+
updated_at: string;
|
|
18774
|
+
};
|
|
18775
|
+
Insert: {
|
|
18776
|
+
created_at?: string;
|
|
18777
|
+
id?: string;
|
|
18778
|
+
mail_level?: number;
|
|
18779
|
+
mailed_at?: string | null;
|
|
18780
|
+
mailed_item_id?: string | null;
|
|
18781
|
+
mailed_items?: Json;
|
|
18782
|
+
monteur_id?: string | null;
|
|
18783
|
+
original_end_at: string;
|
|
18784
|
+
overrun_minutes?: number;
|
|
18785
|
+
planning_item_id: string;
|
|
18786
|
+
shifted?: Json;
|
|
18787
|
+
updated_at?: string;
|
|
18788
|
+
};
|
|
18789
|
+
Update: {
|
|
18790
|
+
created_at?: string;
|
|
18791
|
+
id?: string;
|
|
18792
|
+
mail_level?: number;
|
|
18793
|
+
mailed_at?: string | null;
|
|
18794
|
+
mailed_item_id?: string | null;
|
|
18795
|
+
mailed_items?: Json;
|
|
18796
|
+
monteur_id?: string | null;
|
|
18797
|
+
original_end_at?: string;
|
|
18798
|
+
overrun_minutes?: number;
|
|
18799
|
+
planning_item_id?: string;
|
|
18800
|
+
shifted?: Json;
|
|
18801
|
+
updated_at?: string;
|
|
18802
|
+
};
|
|
18803
|
+
Relationships: [
|
|
18804
|
+
{
|
|
18805
|
+
foreignKeyName: "planning_overrun_events_planning_item_id_fkey";
|
|
18806
|
+
columns: ["planning_item_id"];
|
|
18807
|
+
isOneToOne: true;
|
|
18808
|
+
referencedRelation: "planning_items";
|
|
18809
|
+
referencedColumns: ["id"];
|
|
18810
|
+
},
|
|
18811
|
+
{
|
|
18812
|
+
foreignKeyName: "planning_overrun_events_planning_item_id_fkey";
|
|
18813
|
+
columns: ["planning_item_id"];
|
|
18814
|
+
isOneToOne: true;
|
|
18815
|
+
referencedRelation: "planning_overview";
|
|
18816
|
+
referencedColumns: ["id"];
|
|
18817
|
+
}
|
|
18818
|
+
];
|
|
18819
|
+
};
|
|
17765
18820
|
planning_settings: {
|
|
17766
18821
|
Row: {
|
|
17767
18822
|
company_address: string | null;
|
|
@@ -18062,6 +19117,36 @@ export type Database = {
|
|
|
18062
19117
|
};
|
|
18063
19118
|
Relationships: [];
|
|
18064
19119
|
};
|
|
19120
|
+
print_computer_status: {
|
|
19121
|
+
Row: {
|
|
19122
|
+
bijgewerkt_op: string;
|
|
19123
|
+
created_at: string;
|
|
19124
|
+
extern_computer_id: string;
|
|
19125
|
+
naam: string | null;
|
|
19126
|
+
status: string | null;
|
|
19127
|
+
updated_at: string;
|
|
19128
|
+
verbonden: boolean;
|
|
19129
|
+
};
|
|
19130
|
+
Insert: {
|
|
19131
|
+
bijgewerkt_op?: string;
|
|
19132
|
+
created_at?: string;
|
|
19133
|
+
extern_computer_id: string;
|
|
19134
|
+
naam?: string | null;
|
|
19135
|
+
status?: string | null;
|
|
19136
|
+
updated_at?: string;
|
|
19137
|
+
verbonden?: boolean;
|
|
19138
|
+
};
|
|
19139
|
+
Update: {
|
|
19140
|
+
bijgewerkt_op?: string;
|
|
19141
|
+
created_at?: string;
|
|
19142
|
+
extern_computer_id?: string;
|
|
19143
|
+
naam?: string | null;
|
|
19144
|
+
status?: string | null;
|
|
19145
|
+
updated_at?: string;
|
|
19146
|
+
verbonden?: boolean;
|
|
19147
|
+
};
|
|
19148
|
+
Relationships: [];
|
|
19149
|
+
};
|
|
18065
19150
|
print_dedupe_events: {
|
|
18066
19151
|
Row: {
|
|
18067
19152
|
bestaande_job_id: string | null;
|
|
@@ -18095,24 +19180,56 @@ export type Database = {
|
|
|
18095
19180
|
};
|
|
18096
19181
|
Relationships: [];
|
|
18097
19182
|
};
|
|
19183
|
+
print_gebruiker_werkplek: {
|
|
19184
|
+
Row: {
|
|
19185
|
+
created_at: string;
|
|
19186
|
+
updated_at: string;
|
|
19187
|
+
user_id: string;
|
|
19188
|
+
werkplek_id: string;
|
|
19189
|
+
};
|
|
19190
|
+
Insert: {
|
|
19191
|
+
created_at?: string;
|
|
19192
|
+
updated_at?: string;
|
|
19193
|
+
user_id: string;
|
|
19194
|
+
werkplek_id: string;
|
|
19195
|
+
};
|
|
19196
|
+
Update: {
|
|
19197
|
+
created_at?: string;
|
|
19198
|
+
updated_at?: string;
|
|
19199
|
+
user_id?: string;
|
|
19200
|
+
werkplek_id?: string;
|
|
19201
|
+
};
|
|
19202
|
+
Relationships: [
|
|
19203
|
+
{
|
|
19204
|
+
foreignKeyName: "print_gebruiker_werkplek_werkplek_id_fkey";
|
|
19205
|
+
columns: ["werkplek_id"];
|
|
19206
|
+
isOneToOne: false;
|
|
19207
|
+
referencedRelation: "print_werkplekken";
|
|
19208
|
+
referencedColumns: ["id"];
|
|
19209
|
+
}
|
|
19210
|
+
];
|
|
19211
|
+
};
|
|
18098
19212
|
print_genegeerde_computers: {
|
|
18099
19213
|
Row: {
|
|
18100
19214
|
computer_naam: string;
|
|
18101
19215
|
genegeerd_door: string | null;
|
|
18102
19216
|
genegeerd_op: string;
|
|
18103
19217
|
id: string;
|
|
19218
|
+
printnode_computer_id: number | null;
|
|
18104
19219
|
};
|
|
18105
19220
|
Insert: {
|
|
18106
19221
|
computer_naam: string;
|
|
18107
19222
|
genegeerd_door?: string | null;
|
|
18108
19223
|
genegeerd_op?: string;
|
|
18109
19224
|
id?: string;
|
|
19225
|
+
printnode_computer_id?: number | null;
|
|
18110
19226
|
};
|
|
18111
19227
|
Update: {
|
|
18112
19228
|
computer_naam?: string;
|
|
18113
19229
|
genegeerd_door?: string | null;
|
|
18114
19230
|
genegeerd_op?: string;
|
|
18115
19231
|
id?: string;
|
|
19232
|
+
printnode_computer_id?: number | null;
|
|
18116
19233
|
};
|
|
18117
19234
|
Relationships: [];
|
|
18118
19235
|
};
|
|
@@ -18184,17 +19301,24 @@ export type Database = {
|
|
|
18184
19301
|
lokale_pdf_print_plek_id: string | null;
|
|
18185
19302
|
lokale_pdf_status: string | null;
|
|
18186
19303
|
opgepakt_op: string | null;
|
|
19304
|
+
origineel_sleutel: string | null;
|
|
18187
19305
|
paginas: number;
|
|
18188
19306
|
payload: Json;
|
|
18189
19307
|
pdf_base64: string | null;
|
|
18190
19308
|
pdf_url: string | null;
|
|
18191
19309
|
pogingen: number;
|
|
18192
19310
|
printer_id: string | null;
|
|
19311
|
+
printnode_bericht: string | null;
|
|
19312
|
+
printnode_status: string | null;
|
|
19313
|
+
printnode_status_op: string | null;
|
|
18193
19314
|
render_html: string | null;
|
|
18194
19315
|
resultaat_pdf_base64: string | null;
|
|
18195
19316
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
18196
19317
|
updated_at: string;
|
|
19318
|
+
verloopt_na_s: number | null;
|
|
18197
19319
|
verwerkingsfase: string;
|
|
19320
|
+
verwerkt_door_runner: string | null;
|
|
19321
|
+
verwerkt_met_versie: string | null;
|
|
18198
19322
|
volgende_poging: string | null;
|
|
18199
19323
|
voltooid_op: string | null;
|
|
18200
19324
|
};
|
|
@@ -18233,17 +19357,24 @@ export type Database = {
|
|
|
18233
19357
|
lokale_pdf_print_plek_id?: string | null;
|
|
18234
19358
|
lokale_pdf_status?: string | null;
|
|
18235
19359
|
opgepakt_op?: string | null;
|
|
19360
|
+
origineel_sleutel?: string | null;
|
|
18236
19361
|
paginas?: number;
|
|
18237
19362
|
payload?: Json;
|
|
18238
19363
|
pdf_base64?: string | null;
|
|
18239
19364
|
pdf_url?: string | null;
|
|
18240
19365
|
pogingen?: number;
|
|
18241
19366
|
printer_id?: string | null;
|
|
19367
|
+
printnode_bericht?: string | null;
|
|
19368
|
+
printnode_status?: string | null;
|
|
19369
|
+
printnode_status_op?: string | null;
|
|
18242
19370
|
render_html?: string | null;
|
|
18243
19371
|
resultaat_pdf_base64?: string | null;
|
|
18244
19372
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
18245
19373
|
updated_at?: string;
|
|
19374
|
+
verloopt_na_s?: number | null;
|
|
18246
19375
|
verwerkingsfase?: string;
|
|
19376
|
+
verwerkt_door_runner?: string | null;
|
|
19377
|
+
verwerkt_met_versie?: string | null;
|
|
18247
19378
|
volgende_poging?: string | null;
|
|
18248
19379
|
voltooid_op?: string | null;
|
|
18249
19380
|
};
|
|
@@ -18282,17 +19413,24 @@ export type Database = {
|
|
|
18282
19413
|
lokale_pdf_print_plek_id?: string | null;
|
|
18283
19414
|
lokale_pdf_status?: string | null;
|
|
18284
19415
|
opgepakt_op?: string | null;
|
|
19416
|
+
origineel_sleutel?: string | null;
|
|
18285
19417
|
paginas?: number;
|
|
18286
19418
|
payload?: Json;
|
|
18287
19419
|
pdf_base64?: string | null;
|
|
18288
19420
|
pdf_url?: string | null;
|
|
18289
19421
|
pogingen?: number;
|
|
18290
19422
|
printer_id?: string | null;
|
|
19423
|
+
printnode_bericht?: string | null;
|
|
19424
|
+
printnode_status?: string | null;
|
|
19425
|
+
printnode_status_op?: string | null;
|
|
18291
19426
|
render_html?: string | null;
|
|
18292
19427
|
resultaat_pdf_base64?: string | null;
|
|
18293
19428
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
18294
19429
|
updated_at?: string;
|
|
19430
|
+
verloopt_na_s?: number | null;
|
|
18295
19431
|
verwerkingsfase?: string;
|
|
19432
|
+
verwerkt_door_runner?: string | null;
|
|
19433
|
+
verwerkt_met_versie?: string | null;
|
|
18296
19434
|
volgende_poging?: string | null;
|
|
18297
19435
|
voltooid_op?: string | null;
|
|
18298
19436
|
};
|
|
@@ -18333,6 +19471,7 @@ export type Database = {
|
|
|
18333
19471
|
created_at: string;
|
|
18334
19472
|
id: string;
|
|
18335
19473
|
print_plek_id: string;
|
|
19474
|
+
printnode_computer_id: number | null;
|
|
18336
19475
|
updated_at: string;
|
|
18337
19476
|
};
|
|
18338
19477
|
Insert: {
|
|
@@ -18340,6 +19479,7 @@ export type Database = {
|
|
|
18340
19479
|
created_at?: string;
|
|
18341
19480
|
id?: string;
|
|
18342
19481
|
print_plek_id: string;
|
|
19482
|
+
printnode_computer_id?: number | null;
|
|
18343
19483
|
updated_at?: string;
|
|
18344
19484
|
};
|
|
18345
19485
|
Update: {
|
|
@@ -18347,6 +19487,7 @@ export type Database = {
|
|
|
18347
19487
|
created_at?: string;
|
|
18348
19488
|
id?: string;
|
|
18349
19489
|
print_plek_id?: string;
|
|
19490
|
+
printnode_computer_id?: number | null;
|
|
18350
19491
|
updated_at?: string;
|
|
18351
19492
|
};
|
|
18352
19493
|
Relationships: [
|
|
@@ -18525,10 +19666,12 @@ export type Database = {
|
|
|
18525
19666
|
id: string;
|
|
18526
19667
|
laatst_gezien: string;
|
|
18527
19668
|
laatste_fout: string | null;
|
|
19669
|
+
laatste_ok: string | null;
|
|
18528
19670
|
laatste_request_id: number | null;
|
|
18529
19671
|
laatste_wakeup: string | null;
|
|
18530
19672
|
mislukte_posts: number;
|
|
18531
19673
|
mislukte_wakeups: number;
|
|
19674
|
+
module_versie: string | null;
|
|
18532
19675
|
tick_sleutel: string;
|
|
18533
19676
|
updated_at: string;
|
|
18534
19677
|
};
|
|
@@ -18539,10 +19682,12 @@ export type Database = {
|
|
|
18539
19682
|
id?: string;
|
|
18540
19683
|
laatst_gezien?: string;
|
|
18541
19684
|
laatste_fout?: string | null;
|
|
19685
|
+
laatste_ok?: string | null;
|
|
18542
19686
|
laatste_request_id?: number | null;
|
|
18543
19687
|
laatste_wakeup?: string | null;
|
|
18544
19688
|
mislukte_posts?: number;
|
|
18545
19689
|
mislukte_wakeups?: number;
|
|
19690
|
+
module_versie?: string | null;
|
|
18546
19691
|
tick_sleutel?: string;
|
|
18547
19692
|
updated_at?: string;
|
|
18548
19693
|
};
|
|
@@ -18553,10 +19698,12 @@ export type Database = {
|
|
|
18553
19698
|
id?: string;
|
|
18554
19699
|
laatst_gezien?: string;
|
|
18555
19700
|
laatste_fout?: string | null;
|
|
19701
|
+
laatste_ok?: string | null;
|
|
18556
19702
|
laatste_request_id?: number | null;
|
|
18557
19703
|
laatste_wakeup?: string | null;
|
|
18558
19704
|
mislukte_posts?: number;
|
|
18559
19705
|
mislukte_wakeups?: number;
|
|
19706
|
+
module_versie?: string | null;
|
|
18560
19707
|
tick_sleutel?: string;
|
|
18561
19708
|
updated_at?: string;
|
|
18562
19709
|
};
|
|
@@ -18646,6 +19793,127 @@ export type Database = {
|
|
|
18646
19793
|
}
|
|
18647
19794
|
];
|
|
18648
19795
|
};
|
|
19796
|
+
print_shell_stilstand: {
|
|
19797
|
+
Row: {
|
|
19798
|
+
gemeld_op: string;
|
|
19799
|
+
id: number;
|
|
19800
|
+
opgelost_op: string | null;
|
|
19801
|
+
reden: string;
|
|
19802
|
+
sinds: string | null;
|
|
19803
|
+
};
|
|
19804
|
+
Insert: {
|
|
19805
|
+
gemeld_op?: string;
|
|
19806
|
+
id?: number;
|
|
19807
|
+
opgelost_op?: string | null;
|
|
19808
|
+
reden: string;
|
|
19809
|
+
sinds?: string | null;
|
|
19810
|
+
};
|
|
19811
|
+
Update: {
|
|
19812
|
+
gemeld_op?: string;
|
|
19813
|
+
id?: number;
|
|
19814
|
+
opgelost_op?: string | null;
|
|
19815
|
+
reden?: string;
|
|
19816
|
+
sinds?: string | null;
|
|
19817
|
+
};
|
|
19818
|
+
Relationships: [];
|
|
19819
|
+
};
|
|
19820
|
+
print_werkplek_afwijkingen: {
|
|
19821
|
+
Row: {
|
|
19822
|
+
created_at: string;
|
|
19823
|
+
documenttype: string;
|
|
19824
|
+
id: string;
|
|
19825
|
+
printer_id: string | null;
|
|
19826
|
+
updated_at: string;
|
|
19827
|
+
werkplek_id: string;
|
|
19828
|
+
};
|
|
19829
|
+
Insert: {
|
|
19830
|
+
created_at?: string;
|
|
19831
|
+
documenttype: string;
|
|
19832
|
+
id?: string;
|
|
19833
|
+
printer_id?: string | null;
|
|
19834
|
+
updated_at?: string;
|
|
19835
|
+
werkplek_id: string;
|
|
19836
|
+
};
|
|
19837
|
+
Update: {
|
|
19838
|
+
created_at?: string;
|
|
19839
|
+
documenttype?: string;
|
|
19840
|
+
id?: string;
|
|
19841
|
+
printer_id?: string | null;
|
|
19842
|
+
updated_at?: string;
|
|
19843
|
+
werkplek_id?: string;
|
|
19844
|
+
};
|
|
19845
|
+
Relationships: [
|
|
19846
|
+
{
|
|
19847
|
+
foreignKeyName: "print_werkplek_afwijkingen_printer_id_fkey";
|
|
19848
|
+
columns: ["printer_id"];
|
|
19849
|
+
isOneToOne: false;
|
|
19850
|
+
referencedRelation: "printers";
|
|
19851
|
+
referencedColumns: ["id"];
|
|
19852
|
+
},
|
|
19853
|
+
{
|
|
19854
|
+
foreignKeyName: "print_werkplek_afwijkingen_werkplek_id_fkey";
|
|
19855
|
+
columns: ["werkplek_id"];
|
|
19856
|
+
isOneToOne: false;
|
|
19857
|
+
referencedRelation: "print_werkplekken";
|
|
19858
|
+
referencedColumns: ["id"];
|
|
19859
|
+
}
|
|
19860
|
+
];
|
|
19861
|
+
};
|
|
19862
|
+
print_werkplekken: {
|
|
19863
|
+
Row: {
|
|
19864
|
+
a4_printer_id: string | null;
|
|
19865
|
+
actief: boolean;
|
|
19866
|
+
created_at: string;
|
|
19867
|
+
id: string;
|
|
19868
|
+
label_printer_id: string | null;
|
|
19869
|
+
naam: string;
|
|
19870
|
+
print_plek_id: string | null;
|
|
19871
|
+
updated_at: string;
|
|
19872
|
+
};
|
|
19873
|
+
Insert: {
|
|
19874
|
+
a4_printer_id?: string | null;
|
|
19875
|
+
actief?: boolean;
|
|
19876
|
+
created_at?: string;
|
|
19877
|
+
id?: string;
|
|
19878
|
+
label_printer_id?: string | null;
|
|
19879
|
+
naam: string;
|
|
19880
|
+
print_plek_id?: string | null;
|
|
19881
|
+
updated_at?: string;
|
|
19882
|
+
};
|
|
19883
|
+
Update: {
|
|
19884
|
+
a4_printer_id?: string | null;
|
|
19885
|
+
actief?: boolean;
|
|
19886
|
+
created_at?: string;
|
|
19887
|
+
id?: string;
|
|
19888
|
+
label_printer_id?: string | null;
|
|
19889
|
+
naam?: string;
|
|
19890
|
+
print_plek_id?: string | null;
|
|
19891
|
+
updated_at?: string;
|
|
19892
|
+
};
|
|
19893
|
+
Relationships: [
|
|
19894
|
+
{
|
|
19895
|
+
foreignKeyName: "print_werkplekken_a4_printer_id_fkey";
|
|
19896
|
+
columns: ["a4_printer_id"];
|
|
19897
|
+
isOneToOne: false;
|
|
19898
|
+
referencedRelation: "printers";
|
|
19899
|
+
referencedColumns: ["id"];
|
|
19900
|
+
},
|
|
19901
|
+
{
|
|
19902
|
+
foreignKeyName: "print_werkplekken_label_printer_id_fkey";
|
|
19903
|
+
columns: ["label_printer_id"];
|
|
19904
|
+
isOneToOne: false;
|
|
19905
|
+
referencedRelation: "printers";
|
|
19906
|
+
referencedColumns: ["id"];
|
|
19907
|
+
},
|
|
19908
|
+
{
|
|
19909
|
+
foreignKeyName: "print_werkplekken_print_plek_id_fkey";
|
|
19910
|
+
columns: ["print_plek_id"];
|
|
19911
|
+
isOneToOne: false;
|
|
19912
|
+
referencedRelation: "print_plekken";
|
|
19913
|
+
referencedColumns: ["id"];
|
|
19914
|
+
}
|
|
19915
|
+
];
|
|
19916
|
+
};
|
|
18649
19917
|
printer_mappings: {
|
|
18650
19918
|
Row: {
|
|
18651
19919
|
created_at: string;
|
|
@@ -18753,6 +20021,47 @@ export type Database = {
|
|
|
18753
20021
|
}
|
|
18754
20022
|
];
|
|
18755
20023
|
};
|
|
20024
|
+
printer_routes: {
|
|
20025
|
+
Row: {
|
|
20026
|
+
computer_naam: string | null;
|
|
20027
|
+
created_at: string;
|
|
20028
|
+
extern_printer_id: string;
|
|
20029
|
+
geladen_etiket: Json | null;
|
|
20030
|
+
id: string;
|
|
20031
|
+
printer_id: string;
|
|
20032
|
+
prioriteit: number;
|
|
20033
|
+
updated_at: string;
|
|
20034
|
+
};
|
|
20035
|
+
Insert: {
|
|
20036
|
+
computer_naam?: string | null;
|
|
20037
|
+
created_at?: string;
|
|
20038
|
+
extern_printer_id: string;
|
|
20039
|
+
geladen_etiket?: Json | null;
|
|
20040
|
+
id?: string;
|
|
20041
|
+
printer_id: string;
|
|
20042
|
+
prioriteit?: number;
|
|
20043
|
+
updated_at?: string;
|
|
20044
|
+
};
|
|
20045
|
+
Update: {
|
|
20046
|
+
computer_naam?: string | null;
|
|
20047
|
+
created_at?: string;
|
|
20048
|
+
extern_printer_id?: string;
|
|
20049
|
+
geladen_etiket?: Json | null;
|
|
20050
|
+
id?: string;
|
|
20051
|
+
printer_id?: string;
|
|
20052
|
+
prioriteit?: number;
|
|
20053
|
+
updated_at?: string;
|
|
20054
|
+
};
|
|
20055
|
+
Relationships: [
|
|
20056
|
+
{
|
|
20057
|
+
foreignKeyName: "printer_routes_printer_id_fkey";
|
|
20058
|
+
columns: ["printer_id"];
|
|
20059
|
+
isOneToOne: false;
|
|
20060
|
+
referencedRelation: "printers";
|
|
20061
|
+
referencedColumns: ["id"];
|
|
20062
|
+
}
|
|
20063
|
+
];
|
|
20064
|
+
};
|
|
18756
20065
|
printers: {
|
|
18757
20066
|
Row: {
|
|
18758
20067
|
actief: boolean;
|
|
@@ -18762,8 +20071,10 @@ export type Database = {
|
|
|
18762
20071
|
driver: string;
|
|
18763
20072
|
extern_printer_id: string | null;
|
|
18764
20073
|
formaten_bijgewerkt_op: string | null;
|
|
20074
|
+
geladen_etiket: Json | null;
|
|
18765
20075
|
id: string;
|
|
18766
20076
|
ip_adres: string | null;
|
|
20077
|
+
is_virtueel: boolean;
|
|
18767
20078
|
laatst_gezien: string | null;
|
|
18768
20079
|
locatie: string;
|
|
18769
20080
|
merk: string;
|
|
@@ -18779,6 +20090,8 @@ export type Database = {
|
|
|
18779
20090
|
systeemnaam: string;
|
|
18780
20091
|
updated_at: string;
|
|
18781
20092
|
verbinding: Database["public"]["Enums"]["printer_connection"];
|
|
20093
|
+
verborgen: boolean;
|
|
20094
|
+
weergavenaam: string | null;
|
|
18782
20095
|
};
|
|
18783
20096
|
Insert: {
|
|
18784
20097
|
actief?: boolean;
|
|
@@ -18788,8 +20101,10 @@ export type Database = {
|
|
|
18788
20101
|
driver?: string;
|
|
18789
20102
|
extern_printer_id?: string | null;
|
|
18790
20103
|
formaten_bijgewerkt_op?: string | null;
|
|
20104
|
+
geladen_etiket?: Json | null;
|
|
18791
20105
|
id?: string;
|
|
18792
20106
|
ip_adres?: string | null;
|
|
20107
|
+
is_virtueel?: boolean;
|
|
18793
20108
|
laatst_gezien?: string | null;
|
|
18794
20109
|
locatie?: string;
|
|
18795
20110
|
merk?: string;
|
|
@@ -18805,6 +20120,8 @@ export type Database = {
|
|
|
18805
20120
|
systeemnaam?: string;
|
|
18806
20121
|
updated_at?: string;
|
|
18807
20122
|
verbinding?: Database["public"]["Enums"]["printer_connection"];
|
|
20123
|
+
verborgen?: boolean;
|
|
20124
|
+
weergavenaam?: string | null;
|
|
18808
20125
|
};
|
|
18809
20126
|
Update: {
|
|
18810
20127
|
actief?: boolean;
|
|
@@ -18814,8 +20131,10 @@ export type Database = {
|
|
|
18814
20131
|
driver?: string;
|
|
18815
20132
|
extern_printer_id?: string | null;
|
|
18816
20133
|
formaten_bijgewerkt_op?: string | null;
|
|
20134
|
+
geladen_etiket?: Json | null;
|
|
18817
20135
|
id?: string;
|
|
18818
20136
|
ip_adres?: string | null;
|
|
20137
|
+
is_virtueel?: boolean;
|
|
18819
20138
|
laatst_gezien?: string | null;
|
|
18820
20139
|
locatie?: string;
|
|
18821
20140
|
merk?: string;
|
|
@@ -18831,6 +20150,8 @@ export type Database = {
|
|
|
18831
20150
|
systeemnaam?: string;
|
|
18832
20151
|
updated_at?: string;
|
|
18833
20152
|
verbinding?: Database["public"]["Enums"]["printer_connection"];
|
|
20153
|
+
verborgen?: boolean;
|
|
20154
|
+
weergavenaam?: string | null;
|
|
18834
20155
|
};
|
|
18835
20156
|
Relationships: [
|
|
18836
20157
|
{
|
|
@@ -18842,6 +20163,117 @@ export type Database = {
|
|
|
18842
20163
|
}
|
|
18843
20164
|
];
|
|
18844
20165
|
};
|
|
20166
|
+
printnode_webhook_koppeling: {
|
|
20167
|
+
Row: {
|
|
20168
|
+
bereikbaar: string | null;
|
|
20169
|
+
created_at: string;
|
|
20170
|
+
fout: string | null;
|
|
20171
|
+
geheim: string | null;
|
|
20172
|
+
gekoppeld_op: string | null;
|
|
20173
|
+
id: number;
|
|
20174
|
+
laatst_ontvangen_op: string | null;
|
|
20175
|
+
laatste_poging_op: string | null;
|
|
20176
|
+
melding: string | null;
|
|
20177
|
+
pn_geslaagd: number | null;
|
|
20178
|
+
pn_geslaagd_vorig: number | null;
|
|
20179
|
+
pn_mislukt: number | null;
|
|
20180
|
+
pn_ontvangen: number | null;
|
|
20181
|
+
pn_opgehaald_op: string | null;
|
|
20182
|
+
pn_url: string | null;
|
|
20183
|
+
pn_weggegooid: number | null;
|
|
20184
|
+
secret_veld: string | null;
|
|
20185
|
+
status: string;
|
|
20186
|
+
updated_at: string;
|
|
20187
|
+
url: string | null;
|
|
20188
|
+
webhook_id: number | null;
|
|
20189
|
+
zelftest_fout: string | null;
|
|
20190
|
+
zelftest_op: string | null;
|
|
20191
|
+
};
|
|
20192
|
+
Insert: {
|
|
20193
|
+
bereikbaar?: string | null;
|
|
20194
|
+
created_at?: string;
|
|
20195
|
+
fout?: string | null;
|
|
20196
|
+
geheim?: string | null;
|
|
20197
|
+
gekoppeld_op?: string | null;
|
|
20198
|
+
id?: number;
|
|
20199
|
+
laatst_ontvangen_op?: string | null;
|
|
20200
|
+
laatste_poging_op?: string | null;
|
|
20201
|
+
melding?: string | null;
|
|
20202
|
+
pn_geslaagd?: number | null;
|
|
20203
|
+
pn_geslaagd_vorig?: number | null;
|
|
20204
|
+
pn_mislukt?: number | null;
|
|
20205
|
+
pn_ontvangen?: number | null;
|
|
20206
|
+
pn_opgehaald_op?: string | null;
|
|
20207
|
+
pn_url?: string | null;
|
|
20208
|
+
pn_weggegooid?: number | null;
|
|
20209
|
+
secret_veld?: string | null;
|
|
20210
|
+
status?: string;
|
|
20211
|
+
updated_at?: string;
|
|
20212
|
+
url?: string | null;
|
|
20213
|
+
webhook_id?: number | null;
|
|
20214
|
+
zelftest_fout?: string | null;
|
|
20215
|
+
zelftest_op?: string | null;
|
|
20216
|
+
};
|
|
20217
|
+
Update: {
|
|
20218
|
+
bereikbaar?: string | null;
|
|
20219
|
+
created_at?: string;
|
|
20220
|
+
fout?: string | null;
|
|
20221
|
+
geheim?: string | null;
|
|
20222
|
+
gekoppeld_op?: string | null;
|
|
20223
|
+
id?: number;
|
|
20224
|
+
laatst_ontvangen_op?: string | null;
|
|
20225
|
+
laatste_poging_op?: string | null;
|
|
20226
|
+
melding?: string | null;
|
|
20227
|
+
pn_geslaagd?: number | null;
|
|
20228
|
+
pn_geslaagd_vorig?: number | null;
|
|
20229
|
+
pn_mislukt?: number | null;
|
|
20230
|
+
pn_ontvangen?: number | null;
|
|
20231
|
+
pn_opgehaald_op?: string | null;
|
|
20232
|
+
pn_url?: string | null;
|
|
20233
|
+
pn_weggegooid?: number | null;
|
|
20234
|
+
secret_veld?: string | null;
|
|
20235
|
+
status?: string;
|
|
20236
|
+
updated_at?: string;
|
|
20237
|
+
url?: string | null;
|
|
20238
|
+
webhook_id?: number | null;
|
|
20239
|
+
zelftest_fout?: string | null;
|
|
20240
|
+
zelftest_op?: string | null;
|
|
20241
|
+
};
|
|
20242
|
+
Relationships: [];
|
|
20243
|
+
};
|
|
20244
|
+
printnode_webhook_meldingen: {
|
|
20245
|
+
Row: {
|
|
20246
|
+
antwoord: Json | null;
|
|
20247
|
+
gematcht: number;
|
|
20248
|
+
http_status: number;
|
|
20249
|
+
id: number;
|
|
20250
|
+
niet_gematcht: string[];
|
|
20251
|
+
ontvangen_op: string;
|
|
20252
|
+
printnode_ids: string[];
|
|
20253
|
+
soorten: string[];
|
|
20254
|
+
};
|
|
20255
|
+
Insert: {
|
|
20256
|
+
antwoord?: Json | null;
|
|
20257
|
+
gematcht?: number;
|
|
20258
|
+
http_status: number;
|
|
20259
|
+
id?: never;
|
|
20260
|
+
niet_gematcht?: string[];
|
|
20261
|
+
ontvangen_op?: string;
|
|
20262
|
+
printnode_ids?: string[];
|
|
20263
|
+
soorten?: string[];
|
|
20264
|
+
};
|
|
20265
|
+
Update: {
|
|
20266
|
+
antwoord?: Json | null;
|
|
20267
|
+
gematcht?: number;
|
|
20268
|
+
http_status?: number;
|
|
20269
|
+
id?: never;
|
|
20270
|
+
niet_gematcht?: string[];
|
|
20271
|
+
ontvangen_op?: string;
|
|
20272
|
+
printnode_ids?: string[];
|
|
20273
|
+
soorten?: string[];
|
|
20274
|
+
};
|
|
20275
|
+
Relationships: [];
|
|
20276
|
+
};
|
|
18845
20277
|
product_bom_external_items: {
|
|
18846
20278
|
Row: {
|
|
18847
20279
|
created_at: string;
|
|
@@ -21046,43 +22478,212 @@ export type Database = {
|
|
|
21046
22478
|
};
|
|
21047
22479
|
Relationships: [];
|
|
21048
22480
|
};
|
|
22481
|
+
stock_import_chunks: {
|
|
22482
|
+
Row: {
|
|
22483
|
+
chunk_no: number;
|
|
22484
|
+
created_at: string;
|
|
22485
|
+
duration_ms: number | null;
|
|
22486
|
+
processed_at: string | null;
|
|
22487
|
+
run_id: string;
|
|
22488
|
+
status: string;
|
|
22489
|
+
undone_at: string | null;
|
|
22490
|
+
updated_at: string;
|
|
22491
|
+
};
|
|
22492
|
+
Insert: {
|
|
22493
|
+
chunk_no: number;
|
|
22494
|
+
created_at?: string;
|
|
22495
|
+
duration_ms?: number | null;
|
|
22496
|
+
processed_at?: string | null;
|
|
22497
|
+
run_id: string;
|
|
22498
|
+
status?: string;
|
|
22499
|
+
undone_at?: string | null;
|
|
22500
|
+
updated_at?: string;
|
|
22501
|
+
};
|
|
22502
|
+
Update: {
|
|
22503
|
+
chunk_no?: number;
|
|
22504
|
+
created_at?: string;
|
|
22505
|
+
duration_ms?: number | null;
|
|
22506
|
+
processed_at?: string | null;
|
|
22507
|
+
run_id?: string;
|
|
22508
|
+
status?: string;
|
|
22509
|
+
undone_at?: string | null;
|
|
22510
|
+
updated_at?: string;
|
|
22511
|
+
};
|
|
22512
|
+
Relationships: [
|
|
22513
|
+
{
|
|
22514
|
+
foreignKeyName: "stock_import_chunks_run_id_fkey";
|
|
22515
|
+
columns: ["run_id"];
|
|
22516
|
+
isOneToOne: false;
|
|
22517
|
+
referencedRelation: "stock_import_runs";
|
|
22518
|
+
referencedColumns: ["id"];
|
|
22519
|
+
}
|
|
22520
|
+
];
|
|
22521
|
+
};
|
|
22522
|
+
stock_import_rows: {
|
|
22523
|
+
Row: {
|
|
22524
|
+
article_code: string | null;
|
|
22525
|
+
article_name: string | null;
|
|
22526
|
+
chunk_no: number;
|
|
22527
|
+
connection_id: string | null;
|
|
22528
|
+
created_at: string;
|
|
22529
|
+
custom_values: Json | null;
|
|
22530
|
+
error: string | null;
|
|
22531
|
+
id: string;
|
|
22532
|
+
incoming_after: number | null;
|
|
22533
|
+
incoming_before: number | null;
|
|
22534
|
+
incoming_in: number | null;
|
|
22535
|
+
is_new: boolean;
|
|
22536
|
+
minimum_after: number | null;
|
|
22537
|
+
minimum_before: number | null;
|
|
22538
|
+
minimum_in: number | null;
|
|
22539
|
+
new_payload: Json | null;
|
|
22540
|
+
note: string | null;
|
|
22541
|
+
physical_after: number | null;
|
|
22542
|
+
physical_before: number | null;
|
|
22543
|
+
physical_in: number | null;
|
|
22544
|
+
processed_at: string | null;
|
|
22545
|
+
product_id: string | null;
|
|
22546
|
+
row_no: number;
|
|
22547
|
+
run_id: string;
|
|
22548
|
+
status: string;
|
|
22549
|
+
trade_item_key: string | null;
|
|
22550
|
+
updated_at: string;
|
|
22551
|
+
};
|
|
22552
|
+
Insert: {
|
|
22553
|
+
article_code?: string | null;
|
|
22554
|
+
article_name?: string | null;
|
|
22555
|
+
chunk_no: number;
|
|
22556
|
+
connection_id?: string | null;
|
|
22557
|
+
created_at?: string;
|
|
22558
|
+
custom_values?: Json | null;
|
|
22559
|
+
error?: string | null;
|
|
22560
|
+
id?: string;
|
|
22561
|
+
incoming_after?: number | null;
|
|
22562
|
+
incoming_before?: number | null;
|
|
22563
|
+
incoming_in?: number | null;
|
|
22564
|
+
is_new?: boolean;
|
|
22565
|
+
minimum_after?: number | null;
|
|
22566
|
+
minimum_before?: number | null;
|
|
22567
|
+
minimum_in?: number | null;
|
|
22568
|
+
new_payload?: Json | null;
|
|
22569
|
+
note?: string | null;
|
|
22570
|
+
physical_after?: number | null;
|
|
22571
|
+
physical_before?: number | null;
|
|
22572
|
+
physical_in?: number | null;
|
|
22573
|
+
processed_at?: string | null;
|
|
22574
|
+
product_id?: string | null;
|
|
22575
|
+
row_no: number;
|
|
22576
|
+
run_id: string;
|
|
22577
|
+
status?: string;
|
|
22578
|
+
trade_item_key?: string | null;
|
|
22579
|
+
updated_at?: string;
|
|
22580
|
+
};
|
|
22581
|
+
Update: {
|
|
22582
|
+
article_code?: string | null;
|
|
22583
|
+
article_name?: string | null;
|
|
22584
|
+
chunk_no?: number;
|
|
22585
|
+
connection_id?: string | null;
|
|
22586
|
+
created_at?: string;
|
|
22587
|
+
custom_values?: Json | null;
|
|
22588
|
+
error?: string | null;
|
|
22589
|
+
id?: string;
|
|
22590
|
+
incoming_after?: number | null;
|
|
22591
|
+
incoming_before?: number | null;
|
|
22592
|
+
incoming_in?: number | null;
|
|
22593
|
+
is_new?: boolean;
|
|
22594
|
+
minimum_after?: number | null;
|
|
22595
|
+
minimum_before?: number | null;
|
|
22596
|
+
minimum_in?: number | null;
|
|
22597
|
+
new_payload?: Json | null;
|
|
22598
|
+
note?: string | null;
|
|
22599
|
+
physical_after?: number | null;
|
|
22600
|
+
physical_before?: number | null;
|
|
22601
|
+
physical_in?: number | null;
|
|
22602
|
+
processed_at?: string | null;
|
|
22603
|
+
product_id?: string | null;
|
|
22604
|
+
row_no?: number;
|
|
22605
|
+
run_id?: string;
|
|
22606
|
+
status?: string;
|
|
22607
|
+
trade_item_key?: string | null;
|
|
22608
|
+
updated_at?: string;
|
|
22609
|
+
};
|
|
22610
|
+
Relationships: [
|
|
22611
|
+
{
|
|
22612
|
+
foreignKeyName: "stock_import_rows_run_id_fkey";
|
|
22613
|
+
columns: ["run_id"];
|
|
22614
|
+
isOneToOne: false;
|
|
22615
|
+
referencedRelation: "stock_import_runs";
|
|
22616
|
+
referencedColumns: ["id"];
|
|
22617
|
+
}
|
|
22618
|
+
];
|
|
22619
|
+
};
|
|
21049
22620
|
stock_import_runs: {
|
|
21050
22621
|
Row: {
|
|
22622
|
+
chunk_size: number | null;
|
|
21051
22623
|
connection_id: string | null;
|
|
21052
22624
|
created_at: string;
|
|
21053
22625
|
created_rows: number;
|
|
22626
|
+
done_chunks: number;
|
|
21054
22627
|
errors: Json;
|
|
22628
|
+
file_hash: string | null;
|
|
21055
22629
|
filename: string | null;
|
|
22630
|
+
finished_at: string | null;
|
|
21056
22631
|
id: string;
|
|
21057
22632
|
mutations: Json;
|
|
22633
|
+
rows_purged_at: string | null;
|
|
21058
22634
|
skipped_rows: number;
|
|
22635
|
+
status: string;
|
|
22636
|
+
total_chunks: number;
|
|
21059
22637
|
total_rows: number;
|
|
22638
|
+
undo_skipped_rows: number;
|
|
22639
|
+
undone_rows: number;
|
|
22640
|
+
updated_at: string;
|
|
21060
22641
|
updated_rows: number;
|
|
21061
22642
|
user_id: string;
|
|
21062
22643
|
};
|
|
21063
22644
|
Insert: {
|
|
22645
|
+
chunk_size?: number | null;
|
|
21064
22646
|
connection_id?: string | null;
|
|
21065
22647
|
created_at?: string;
|
|
21066
22648
|
created_rows?: number;
|
|
22649
|
+
done_chunks?: number;
|
|
21067
22650
|
errors?: Json;
|
|
22651
|
+
file_hash?: string | null;
|
|
21068
22652
|
filename?: string | null;
|
|
22653
|
+
finished_at?: string | null;
|
|
21069
22654
|
id?: string;
|
|
21070
22655
|
mutations?: Json;
|
|
22656
|
+
rows_purged_at?: string | null;
|
|
21071
22657
|
skipped_rows?: number;
|
|
22658
|
+
status?: string;
|
|
22659
|
+
total_chunks?: number;
|
|
21072
22660
|
total_rows?: number;
|
|
22661
|
+
undo_skipped_rows?: number;
|
|
22662
|
+
undone_rows?: number;
|
|
22663
|
+
updated_at?: string;
|
|
21073
22664
|
updated_rows?: number;
|
|
21074
22665
|
user_id: string;
|
|
21075
22666
|
};
|
|
21076
22667
|
Update: {
|
|
22668
|
+
chunk_size?: number | null;
|
|
21077
22669
|
connection_id?: string | null;
|
|
21078
22670
|
created_at?: string;
|
|
21079
22671
|
created_rows?: number;
|
|
22672
|
+
done_chunks?: number;
|
|
21080
22673
|
errors?: Json;
|
|
22674
|
+
file_hash?: string | null;
|
|
21081
22675
|
filename?: string | null;
|
|
22676
|
+
finished_at?: string | null;
|
|
21082
22677
|
id?: string;
|
|
21083
22678
|
mutations?: Json;
|
|
22679
|
+
rows_purged_at?: string | null;
|
|
21084
22680
|
skipped_rows?: number;
|
|
22681
|
+
status?: string;
|
|
22682
|
+
total_chunks?: number;
|
|
21085
22683
|
total_rows?: number;
|
|
22684
|
+
undo_skipped_rows?: number;
|
|
22685
|
+
undone_rows?: number;
|
|
22686
|
+
updated_at?: string;
|
|
21086
22687
|
updated_rows?: number;
|
|
21087
22688
|
user_id?: string;
|
|
21088
22689
|
};
|
|
@@ -22093,7 +23694,7 @@ export type Database = {
|
|
|
22093
23694
|
reserved_stock?: number;
|
|
22094
23695
|
trade_item_key: string;
|
|
22095
23696
|
updated_at?: string;
|
|
22096
|
-
user_id
|
|
23697
|
+
user_id?: string;
|
|
22097
23698
|
};
|
|
22098
23699
|
Update: {
|
|
22099
23700
|
change_source?: string;
|
|
@@ -25591,9 +27192,59 @@ export type Database = {
|
|
|
25591
27192
|
};
|
|
25592
27193
|
Relationships: [];
|
|
25593
27194
|
};
|
|
27195
|
+
werkbon_standby_tijdvakken: {
|
|
27196
|
+
Row: {
|
|
27197
|
+
created_at: string;
|
|
27198
|
+
datum: string;
|
|
27199
|
+
eind_tijd: string;
|
|
27200
|
+
id: string;
|
|
27201
|
+
monteur_id: string;
|
|
27202
|
+
start_tijd: string;
|
|
27203
|
+
updated_at: string;
|
|
27204
|
+
werkbon_id: string;
|
|
27205
|
+
};
|
|
27206
|
+
Insert: {
|
|
27207
|
+
created_at?: string;
|
|
27208
|
+
datum: string;
|
|
27209
|
+
eind_tijd: string;
|
|
27210
|
+
id?: string;
|
|
27211
|
+
monteur_id: string;
|
|
27212
|
+
start_tijd: string;
|
|
27213
|
+
updated_at?: string;
|
|
27214
|
+
werkbon_id: string;
|
|
27215
|
+
};
|
|
27216
|
+
Update: {
|
|
27217
|
+
created_at?: string;
|
|
27218
|
+
datum?: string;
|
|
27219
|
+
eind_tijd?: string;
|
|
27220
|
+
id?: string;
|
|
27221
|
+
monteur_id?: string;
|
|
27222
|
+
start_tijd?: string;
|
|
27223
|
+
updated_at?: string;
|
|
27224
|
+
werkbon_id?: string;
|
|
27225
|
+
};
|
|
27226
|
+
Relationships: [
|
|
27227
|
+
{
|
|
27228
|
+
foreignKeyName: "werkbon_standby_tijdvakken_werkbon_id_fkey";
|
|
27229
|
+
columns: ["werkbon_id"];
|
|
27230
|
+
isOneToOne: false;
|
|
27231
|
+
referencedRelation: "werkbonnen";
|
|
27232
|
+
referencedColumns: ["id"];
|
|
27233
|
+
},
|
|
27234
|
+
{
|
|
27235
|
+
foreignKeyName: "werkbon_standby_tijdvakken_werkbon_id_fkey";
|
|
27236
|
+
columns: ["werkbon_id"];
|
|
27237
|
+
isOneToOne: false;
|
|
27238
|
+
referencedRelation: "wo_overview";
|
|
27239
|
+
referencedColumns: ["id"];
|
|
27240
|
+
}
|
|
27241
|
+
];
|
|
27242
|
+
};
|
|
25594
27243
|
werkbon_time_logs: {
|
|
25595
27244
|
Row: {
|
|
25596
27245
|
activity: string;
|
|
27246
|
+
auto_stop_reason: string | null;
|
|
27247
|
+
auto_stopped: boolean;
|
|
25597
27248
|
created_at: string;
|
|
25598
27249
|
ended_at: string | null;
|
|
25599
27250
|
id: string;
|
|
@@ -25604,6 +27255,8 @@ export type Database = {
|
|
|
25604
27255
|
};
|
|
25605
27256
|
Insert: {
|
|
25606
27257
|
activity: string;
|
|
27258
|
+
auto_stop_reason?: string | null;
|
|
27259
|
+
auto_stopped?: boolean;
|
|
25607
27260
|
created_at?: string;
|
|
25608
27261
|
ended_at?: string | null;
|
|
25609
27262
|
id?: string;
|
|
@@ -25614,6 +27267,8 @@ export type Database = {
|
|
|
25614
27267
|
};
|
|
25615
27268
|
Update: {
|
|
25616
27269
|
activity?: string;
|
|
27270
|
+
auto_stop_reason?: string | null;
|
|
27271
|
+
auto_stopped?: boolean;
|
|
25617
27272
|
created_at?: string;
|
|
25618
27273
|
ended_at?: string | null;
|
|
25619
27274
|
id?: string;
|
|
@@ -25647,6 +27302,7 @@ export type Database = {
|
|
|
25647
27302
|
created_by: string;
|
|
25648
27303
|
customer_id: string | null;
|
|
25649
27304
|
id: string;
|
|
27305
|
+
offerte_id: string | null;
|
|
25650
27306
|
payload: Json;
|
|
25651
27307
|
reden: string | null;
|
|
25652
27308
|
status: string;
|
|
@@ -25662,6 +27318,7 @@ export type Database = {
|
|
|
25662
27318
|
created_by?: string;
|
|
25663
27319
|
customer_id?: string | null;
|
|
25664
27320
|
id?: string;
|
|
27321
|
+
offerte_id?: string | null;
|
|
25665
27322
|
payload?: Json;
|
|
25666
27323
|
reden?: string | null;
|
|
25667
27324
|
status?: string;
|
|
@@ -25677,6 +27334,7 @@ export type Database = {
|
|
|
25677
27334
|
created_by?: string;
|
|
25678
27335
|
customer_id?: string | null;
|
|
25679
27336
|
id?: string;
|
|
27337
|
+
offerte_id?: string | null;
|
|
25680
27338
|
payload?: Json;
|
|
25681
27339
|
reden?: string | null;
|
|
25682
27340
|
status?: string;
|
|
@@ -25735,6 +27393,8 @@ export type Database = {
|
|
|
25735
27393
|
id: string;
|
|
25736
27394
|
internal_notes: string | null;
|
|
25737
27395
|
needs_detail_review: boolean;
|
|
27396
|
+
offerte_teruggestuurd_id: string | null;
|
|
27397
|
+
offerte_teruggestuurd_op: string | null;
|
|
25738
27398
|
parent_werkbon_id: string | null;
|
|
25739
27399
|
parsed_payload: Json | null;
|
|
25740
27400
|
planning_status: string;
|
|
@@ -25779,6 +27439,8 @@ export type Database = {
|
|
|
25779
27439
|
id?: string;
|
|
25780
27440
|
internal_notes?: string | null;
|
|
25781
27441
|
needs_detail_review?: boolean;
|
|
27442
|
+
offerte_teruggestuurd_id?: string | null;
|
|
27443
|
+
offerte_teruggestuurd_op?: string | null;
|
|
25782
27444
|
parent_werkbon_id?: string | null;
|
|
25783
27445
|
parsed_payload?: Json | null;
|
|
25784
27446
|
planning_status?: string;
|
|
@@ -25823,6 +27485,8 @@ export type Database = {
|
|
|
25823
27485
|
id?: string;
|
|
25824
27486
|
internal_notes?: string | null;
|
|
25825
27487
|
needs_detail_review?: boolean;
|
|
27488
|
+
offerte_teruggestuurd_id?: string | null;
|
|
27489
|
+
offerte_teruggestuurd_op?: string | null;
|
|
25826
27490
|
parent_werkbon_id?: string | null;
|
|
25827
27491
|
parsed_payload?: Json | null;
|
|
25828
27492
|
planning_status?: string;
|
|
@@ -26990,6 +28654,15 @@ export type Database = {
|
|
|
26990
28654
|
};
|
|
26991
28655
|
};
|
|
26992
28656
|
Functions: {
|
|
28657
|
+
_floriday_queue_cleanup_batch: {
|
|
28658
|
+
Args: {
|
|
28659
|
+
p_days: number;
|
|
28660
|
+
p_keep_latest: boolean;
|
|
28661
|
+
p_limit: number;
|
|
28662
|
+
p_statuses: string[];
|
|
28663
|
+
};
|
|
28664
|
+
Returns: number;
|
|
28665
|
+
};
|
|
26993
28666
|
_floriday_schedule_job: {
|
|
26994
28667
|
Args: {
|
|
26995
28668
|
p_apikey: string;
|
|
@@ -27000,6 +28673,14 @@ export type Database = {
|
|
|
27000
28673
|
};
|
|
27001
28674
|
Returns: number;
|
|
27002
28675
|
};
|
|
28676
|
+
_jsonb_paden_met_waarde: {
|
|
28677
|
+
Args: {
|
|
28678
|
+
_j: Json;
|
|
28679
|
+
_pad?: string[];
|
|
28680
|
+
_w: string;
|
|
28681
|
+
};
|
|
28682
|
+
Returns: string[][];
|
|
28683
|
+
};
|
|
27003
28684
|
_migrate_rewrite_stock_key: {
|
|
27004
28685
|
Args: {
|
|
27005
28686
|
_from_key: string;
|
|
@@ -27007,12 +28688,31 @@ export type Database = {
|
|
|
27007
28688
|
};
|
|
27008
28689
|
Returns: undefined;
|
|
27009
28690
|
};
|
|
28691
|
+
_print_meld_stilstand: {
|
|
28692
|
+
Args: {
|
|
28693
|
+
_reden: string;
|
|
28694
|
+
_sinds: string;
|
|
28695
|
+
};
|
|
28696
|
+
Returns: undefined;
|
|
28697
|
+
};
|
|
27010
28698
|
_quote_release_work_order_intern: {
|
|
27011
28699
|
Args: {
|
|
27012
28700
|
_offerte_id: string;
|
|
27013
28701
|
};
|
|
27014
28702
|
Returns: Json;
|
|
27015
28703
|
};
|
|
28704
|
+
_scan_kar_voortgang: {
|
|
28705
|
+
Args: {
|
|
28706
|
+
p_cart_id: string;
|
|
28707
|
+
};
|
|
28708
|
+
Returns: Json;
|
|
28709
|
+
};
|
|
28710
|
+
_stock_import_caller: {
|
|
28711
|
+
Args: {
|
|
28712
|
+
p_owner: string;
|
|
28713
|
+
};
|
|
28714
|
+
Returns: boolean;
|
|
28715
|
+
};
|
|
27016
28716
|
_wo_is_planner: {
|
|
27017
28717
|
Args: never;
|
|
27018
28718
|
Returns: boolean;
|
|
@@ -27024,6 +28724,24 @@ export type Database = {
|
|
|
27024
28724
|
};
|
|
27025
28725
|
Returns: string;
|
|
27026
28726
|
};
|
|
28727
|
+
afh_html: {
|
|
28728
|
+
Args: {
|
|
28729
|
+
_s: string;
|
|
28730
|
+
};
|
|
28731
|
+
Returns: string;
|
|
28732
|
+
};
|
|
28733
|
+
afh_kar_tekst: {
|
|
28734
|
+
Args: {
|
|
28735
|
+
n: number;
|
|
28736
|
+
};
|
|
28737
|
+
Returns: string;
|
|
28738
|
+
};
|
|
28739
|
+
afh_nl_date: {
|
|
28740
|
+
Args: {
|
|
28741
|
+
_d: string;
|
|
28742
|
+
};
|
|
28743
|
+
Returns: string;
|
|
28744
|
+
};
|
|
27027
28745
|
afh_normalize_country: {
|
|
27028
28746
|
Args: {
|
|
27029
28747
|
_raw: string;
|
|
@@ -27036,6 +28754,59 @@ export type Database = {
|
|
|
27036
28754
|
};
|
|
27037
28755
|
Returns: string;
|
|
27038
28756
|
};
|
|
28757
|
+
afh_pick_workdays: {
|
|
28758
|
+
Args: {
|
|
28759
|
+
p_from: string;
|
|
28760
|
+
p_to: string;
|
|
28761
|
+
};
|
|
28762
|
+
Returns: Json;
|
|
28763
|
+
};
|
|
28764
|
+
afh_signup_config: {
|
|
28765
|
+
Args: never;
|
|
28766
|
+
Returns: Json;
|
|
28767
|
+
};
|
|
28768
|
+
afh_signup_engine_moments: {
|
|
28769
|
+
Args: {
|
|
28770
|
+
p_order_ids: string[];
|
|
28771
|
+
};
|
|
28772
|
+
Returns: Json;
|
|
28773
|
+
};
|
|
28774
|
+
afh_signup_find_group: {
|
|
28775
|
+
Args: {
|
|
28776
|
+
p_carrier_id: string;
|
|
28777
|
+
p_moment_key: string;
|
|
28778
|
+
p_pickup_date: string;
|
|
28779
|
+
p_tz: string;
|
|
28780
|
+
};
|
|
28781
|
+
Returns: Json;
|
|
28782
|
+
};
|
|
28783
|
+
afh_signup_groups: {
|
|
28784
|
+
Args: {
|
|
28785
|
+
p_from: string;
|
|
28786
|
+
p_to: string;
|
|
28787
|
+
p_tz: string;
|
|
28788
|
+
};
|
|
28789
|
+
Returns: Json;
|
|
28790
|
+
};
|
|
28791
|
+
afh_signup_mail: {
|
|
28792
|
+
Args: {
|
|
28793
|
+
g: Json;
|
|
28794
|
+
p_prev: number;
|
|
28795
|
+
p_tz: string;
|
|
28796
|
+
};
|
|
28797
|
+
Returns: Json;
|
|
28798
|
+
};
|
|
28799
|
+
afh_signup_send_group: {
|
|
28800
|
+
Args: {
|
|
28801
|
+
g: Json;
|
|
28802
|
+
p_connection: string;
|
|
28803
|
+
p_purpose: string;
|
|
28804
|
+
p_source: string;
|
|
28805
|
+
p_tz: string;
|
|
28806
|
+
p_user: string;
|
|
28807
|
+
};
|
|
28808
|
+
Returns: Json;
|
|
28809
|
+
};
|
|
27039
28810
|
afh_subtract_workdays: {
|
|
27040
28811
|
Args: {
|
|
27041
28812
|
_date: string;
|
|
@@ -27043,6 +28814,14 @@ export type Database = {
|
|
|
27043
28814
|
};
|
|
27044
28815
|
Returns: string;
|
|
27045
28816
|
};
|
|
28817
|
+
afhandeling_signup_cron_status: {
|
|
28818
|
+
Args: never;
|
|
28819
|
+
Returns: Json;
|
|
28820
|
+
};
|
|
28821
|
+
afhandeling_sync_signup_cron: {
|
|
28822
|
+
Args: never;
|
|
28823
|
+
Returns: Json;
|
|
28824
|
+
};
|
|
27046
28825
|
ai_usage_by_module: {
|
|
27047
28826
|
Args: {
|
|
27048
28827
|
_from: string;
|
|
@@ -27184,6 +28963,29 @@ export type Database = {
|
|
|
27184
28963
|
id: string;
|
|
27185
28964
|
}[];
|
|
27186
28965
|
};
|
|
28966
|
+
carrier_signup_overview: {
|
|
28967
|
+
Args: {
|
|
28968
|
+
p_from: string;
|
|
28969
|
+
p_to: string;
|
|
28970
|
+
};
|
|
28971
|
+
Returns: Json;
|
|
28972
|
+
};
|
|
28973
|
+
carrier_signup_preview: {
|
|
28974
|
+
Args: {
|
|
28975
|
+
p_carrier_id: string;
|
|
28976
|
+
p_moment_key: string;
|
|
28977
|
+
p_pickup_date: string;
|
|
28978
|
+
};
|
|
28979
|
+
Returns: Json;
|
|
28980
|
+
};
|
|
28981
|
+
carrier_signup_send_now: {
|
|
28982
|
+
Args: {
|
|
28983
|
+
p_carrier_id: string;
|
|
28984
|
+
p_moment_key: string;
|
|
28985
|
+
p_pickup_date: string;
|
|
28986
|
+
};
|
|
28987
|
+
Returns: Json;
|
|
28988
|
+
};
|
|
27187
28989
|
check_offer_product_available_stock: {
|
|
27188
28990
|
Args: {
|
|
27189
28991
|
p_campaign_product_id: string;
|
|
@@ -27258,17 +29060,24 @@ export type Database = {
|
|
|
27258
29060
|
lokale_pdf_print_plek_id: string | null;
|
|
27259
29061
|
lokale_pdf_status: string | null;
|
|
27260
29062
|
opgepakt_op: string | null;
|
|
29063
|
+
origineel_sleutel: string | null;
|
|
27261
29064
|
paginas: number;
|
|
27262
29065
|
payload: Json;
|
|
27263
29066
|
pdf_base64: string | null;
|
|
27264
29067
|
pdf_url: string | null;
|
|
27265
29068
|
pogingen: number;
|
|
27266
29069
|
printer_id: string | null;
|
|
29070
|
+
printnode_bericht: string | null;
|
|
29071
|
+
printnode_status: string | null;
|
|
29072
|
+
printnode_status_op: string | null;
|
|
27267
29073
|
render_html: string | null;
|
|
27268
29074
|
resultaat_pdf_base64: string | null;
|
|
27269
29075
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
27270
29076
|
updated_at: string;
|
|
29077
|
+
verloopt_na_s: number | null;
|
|
27271
29078
|
verwerkingsfase: string;
|
|
29079
|
+
verwerkt_door_runner: string | null;
|
|
29080
|
+
verwerkt_met_versie: string | null;
|
|
27272
29081
|
volgende_poging: string | null;
|
|
27273
29082
|
voltooid_op: string | null;
|
|
27274
29083
|
}[];
|
|
@@ -27279,6 +29088,24 @@ export type Database = {
|
|
|
27279
29088
|
isSetofReturn: true;
|
|
27280
29089
|
};
|
|
27281
29090
|
};
|
|
29091
|
+
claim_floriday_base_supply: {
|
|
29092
|
+
Args: {
|
|
29093
|
+
p_worker?: string;
|
|
29094
|
+
};
|
|
29095
|
+
Returns: {
|
|
29096
|
+
attempts: number;
|
|
29097
|
+
id: string;
|
|
29098
|
+
number_of_pieces: number;
|
|
29099
|
+
product_id: string;
|
|
29100
|
+
sale_price: number;
|
|
29101
|
+
stock_mode: string;
|
|
29102
|
+
target_week: number;
|
|
29103
|
+
target_year: number;
|
|
29104
|
+
trade_item_id: string;
|
|
29105
|
+
unit: string;
|
|
29106
|
+
uses_catalog_availability: boolean;
|
|
29107
|
+
}[];
|
|
29108
|
+
};
|
|
27282
29109
|
claim_floriday_stock_queue: {
|
|
27283
29110
|
Args: {
|
|
27284
29111
|
p_limit?: number;
|
|
@@ -27287,19 +29114,26 @@ export type Database = {
|
|
|
27287
29114
|
Returns: {
|
|
27288
29115
|
attempts: number;
|
|
27289
29116
|
availability_sent_at: string | null;
|
|
29117
|
+
base_supply_outcome: string | null;
|
|
27290
29118
|
connection_id: string;
|
|
27291
29119
|
created_at: string;
|
|
27292
29120
|
dead_lettered_at: string | null;
|
|
27293
29121
|
desired_available: boolean | null;
|
|
27294
29122
|
gateway_attempt_id: string | null;
|
|
29123
|
+
gateway_unreachable_since: string | null;
|
|
27295
29124
|
id: string;
|
|
27296
29125
|
last_error: string | null;
|
|
27297
29126
|
locked_at: string | null;
|
|
27298
29127
|
locked_by: string | null;
|
|
27299
29128
|
next_attempt_at: string;
|
|
27300
29129
|
number_of_pieces: number;
|
|
29130
|
+
price_note: string | null;
|
|
29131
|
+
price_previous: number | null;
|
|
29132
|
+
price_sent: number | null;
|
|
29133
|
+
price_status: string | null;
|
|
27301
29134
|
product_id: string | null;
|
|
27302
29135
|
quantity_sent_at: string | null;
|
|
29136
|
+
result_label: string | null;
|
|
27303
29137
|
sent_at: string | null;
|
|
27304
29138
|
skip_reason: string | null;
|
|
27305
29139
|
status: string;
|
|
@@ -27424,17 +29258,24 @@ export type Database = {
|
|
|
27424
29258
|
lokale_pdf_print_plek_id: string | null;
|
|
27425
29259
|
lokale_pdf_status: string | null;
|
|
27426
29260
|
opgepakt_op: string | null;
|
|
29261
|
+
origineel_sleutel: string | null;
|
|
27427
29262
|
paginas: number;
|
|
27428
29263
|
payload: Json;
|
|
27429
29264
|
pdf_base64: string | null;
|
|
27430
29265
|
pdf_url: string | null;
|
|
27431
29266
|
pogingen: number;
|
|
27432
29267
|
printer_id: string | null;
|
|
29268
|
+
printnode_bericht: string | null;
|
|
29269
|
+
printnode_status: string | null;
|
|
29270
|
+
printnode_status_op: string | null;
|
|
27433
29271
|
render_html: string | null;
|
|
27434
29272
|
resultaat_pdf_base64: string | null;
|
|
27435
29273
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
27436
29274
|
updated_at: string;
|
|
29275
|
+
verloopt_na_s: number | null;
|
|
27437
29276
|
verwerkingsfase: string;
|
|
29277
|
+
verwerkt_door_runner: string | null;
|
|
29278
|
+
verwerkt_met_versie: string | null;
|
|
27438
29279
|
volgende_poging: string | null;
|
|
27439
29280
|
voltooid_op: string | null;
|
|
27440
29281
|
}[];
|
|
@@ -27485,17 +29326,24 @@ export type Database = {
|
|
|
27485
29326
|
lokale_pdf_print_plek_id: string | null;
|
|
27486
29327
|
lokale_pdf_status: string | null;
|
|
27487
29328
|
opgepakt_op: string | null;
|
|
29329
|
+
origineel_sleutel: string | null;
|
|
27488
29330
|
paginas: number;
|
|
27489
29331
|
payload: Json;
|
|
27490
29332
|
pdf_base64: string | null;
|
|
27491
29333
|
pdf_url: string | null;
|
|
27492
29334
|
pogingen: number;
|
|
27493
29335
|
printer_id: string | null;
|
|
29336
|
+
printnode_bericht: string | null;
|
|
29337
|
+
printnode_status: string | null;
|
|
29338
|
+
printnode_status_op: string | null;
|
|
27494
29339
|
render_html: string | null;
|
|
27495
29340
|
resultaat_pdf_base64: string | null;
|
|
27496
29341
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
27497
29342
|
updated_at: string;
|
|
29343
|
+
verloopt_na_s: number | null;
|
|
27498
29344
|
verwerkingsfase: string;
|
|
29345
|
+
verwerkt_door_runner: string | null;
|
|
29346
|
+
verwerkt_met_versie: string | null;
|
|
27499
29347
|
volgende_poging: string | null;
|
|
27500
29348
|
voltooid_op: string | null;
|
|
27501
29349
|
}[];
|
|
@@ -27563,6 +29411,19 @@ export type Database = {
|
|
|
27563
29411
|
Args: never;
|
|
27564
29412
|
Returns: undefined;
|
|
27565
29413
|
};
|
|
29414
|
+
complete_floriday_base_supply: {
|
|
29415
|
+
Args: {
|
|
29416
|
+
p_attempt_id?: string;
|
|
29417
|
+
p_error?: string;
|
|
29418
|
+
p_id: string;
|
|
29419
|
+
p_kind: string;
|
|
29420
|
+
p_label?: string;
|
|
29421
|
+
p_outcome?: string;
|
|
29422
|
+
p_price?: number;
|
|
29423
|
+
p_price_status?: string;
|
|
29424
|
+
};
|
|
29425
|
+
Returns: string;
|
|
29426
|
+
};
|
|
27566
29427
|
complete_floriday_stock_queue: {
|
|
27567
29428
|
Args: {
|
|
27568
29429
|
p_attempt_id?: string;
|
|
@@ -27677,6 +29538,13 @@ export type Database = {
|
|
|
27677
29538
|
status: string;
|
|
27678
29539
|
}[];
|
|
27679
29540
|
};
|
|
29541
|
+
control_mark_cart_delivered_by_cart: {
|
|
29542
|
+
Args: {
|
|
29543
|
+
p_afmeld_bron?: string;
|
|
29544
|
+
p_cart_id: string;
|
|
29545
|
+
};
|
|
29546
|
+
Returns: Json;
|
|
29547
|
+
};
|
|
27680
29548
|
control_mark_carts_delivered: {
|
|
27681
29549
|
Args: {
|
|
27682
29550
|
p_carts: Json;
|
|
@@ -27696,6 +29564,17 @@ export type Database = {
|
|
|
27696
29564
|
outcome: string;
|
|
27697
29565
|
}[];
|
|
27698
29566
|
};
|
|
29567
|
+
control_post_mark_cart_delivered: {
|
|
29568
|
+
Args: {
|
|
29569
|
+
p_cart_id: string;
|
|
29570
|
+
p_slug: string;
|
|
29571
|
+
};
|
|
29572
|
+
Returns: Json;
|
|
29573
|
+
};
|
|
29574
|
+
control_today_scan_summary: {
|
|
29575
|
+
Args: never;
|
|
29576
|
+
Returns: Json;
|
|
29577
|
+
};
|
|
27699
29578
|
count_distinct_regulatory_products: {
|
|
27700
29579
|
Args: never;
|
|
27701
29580
|
Returns: number;
|
|
@@ -27732,6 +29611,14 @@ export type Database = {
|
|
|
27732
29611
|
Args: never;
|
|
27733
29612
|
Returns: Json;
|
|
27734
29613
|
};
|
|
29614
|
+
dashboard_alert_counts_v2: {
|
|
29615
|
+
Args: never;
|
|
29616
|
+
Returns: Json;
|
|
29617
|
+
};
|
|
29618
|
+
dashboard_alert_counts_v3: {
|
|
29619
|
+
Args: never;
|
|
29620
|
+
Returns: Json;
|
|
29621
|
+
};
|
|
27735
29622
|
dashboard_alert_rows: {
|
|
27736
29623
|
Args: {
|
|
27737
29624
|
check_id: string;
|
|
@@ -27739,6 +29626,30 @@ export type Database = {
|
|
|
27739
29626
|
};
|
|
27740
29627
|
Returns: Json;
|
|
27741
29628
|
};
|
|
29629
|
+
dashboard_alert_rows_v2: {
|
|
29630
|
+
Args: {
|
|
29631
|
+
check_id: string;
|
|
29632
|
+
row_limit?: number;
|
|
29633
|
+
};
|
|
29634
|
+
Returns: Json;
|
|
29635
|
+
};
|
|
29636
|
+
dashboard_ensure_start_page: {
|
|
29637
|
+
Args: never;
|
|
29638
|
+
Returns: string;
|
|
29639
|
+
};
|
|
29640
|
+
dashboard_funnel_betaald: {
|
|
29641
|
+
Args: {
|
|
29642
|
+
_bedragen: number[];
|
|
29643
|
+
_statussen: string[];
|
|
29644
|
+
};
|
|
29645
|
+
Returns: boolean;
|
|
29646
|
+
};
|
|
29647
|
+
dashboard_jaar_start: {
|
|
29648
|
+
Args: {
|
|
29649
|
+
_vandaag: string;
|
|
29650
|
+
};
|
|
29651
|
+
Returns: string;
|
|
29652
|
+
};
|
|
27742
29653
|
dashboard_list_public_schema: {
|
|
27743
29654
|
Args: never;
|
|
27744
29655
|
Returns: {
|
|
@@ -27747,6 +29658,46 @@ export type Database = {
|
|
|
27747
29658
|
table_name: string;
|
|
27748
29659
|
}[];
|
|
27749
29660
|
};
|
|
29661
|
+
dashboard_order_state: {
|
|
29662
|
+
Args: {
|
|
29663
|
+
_order_id: string;
|
|
29664
|
+
};
|
|
29665
|
+
Returns: string;
|
|
29666
|
+
};
|
|
29667
|
+
dashboard_pit_tellingen: {
|
|
29668
|
+
Args: {
|
|
29669
|
+
_mail_connecties?: string[];
|
|
29670
|
+
_vandaag: string;
|
|
29671
|
+
};
|
|
29672
|
+
Returns: Json;
|
|
29673
|
+
};
|
|
29674
|
+
dashboard_today_summary: {
|
|
29675
|
+
Args: never;
|
|
29676
|
+
Returns: Json;
|
|
29677
|
+
};
|
|
29678
|
+
dashboard_werkbon_funnel: {
|
|
29679
|
+
Args: {
|
|
29680
|
+
_periode?: string;
|
|
29681
|
+
};
|
|
29682
|
+
Returns: Json;
|
|
29683
|
+
};
|
|
29684
|
+
dashboard_werkbon_jaarstats: {
|
|
29685
|
+
Args: never;
|
|
29686
|
+
Returns: Json;
|
|
29687
|
+
};
|
|
29688
|
+
dashboard_werkbon_soort: {
|
|
29689
|
+
Args: {
|
|
29690
|
+
_source: string;
|
|
29691
|
+
};
|
|
29692
|
+
Returns: string;
|
|
29693
|
+
};
|
|
29694
|
+
dashboard_werkbon_teller_plus: {
|
|
29695
|
+
Args: {
|
|
29696
|
+
_soort: string;
|
|
29697
|
+
_ts: string;
|
|
29698
|
+
};
|
|
29699
|
+
Returns: undefined;
|
|
29700
|
+
};
|
|
27750
29701
|
delete_samenstelling: {
|
|
27751
29702
|
Args: {
|
|
27752
29703
|
p_parent_id: string;
|
|
@@ -27953,7 +29904,7 @@ export type Database = {
|
|
|
27953
29904
|
};
|
|
27954
29905
|
floriday_cleanup_stock_queue_v2: {
|
|
27955
29906
|
Args: never;
|
|
27956
|
-
Returns:
|
|
29907
|
+
Returns: Json;
|
|
27957
29908
|
};
|
|
27958
29909
|
floriday_compact_stock_snapshots: {
|
|
27959
29910
|
Args: never;
|
|
@@ -28005,6 +29956,21 @@ export type Database = {
|
|
|
28005
29956
|
};
|
|
28006
29957
|
Returns: number;
|
|
28007
29958
|
};
|
|
29959
|
+
floriday_network_status: {
|
|
29960
|
+
Args: {
|
|
29961
|
+
p_organization_id: string;
|
|
29962
|
+
};
|
|
29963
|
+
Returns: {
|
|
29964
|
+
in_network: boolean;
|
|
29965
|
+
is_deleted: boolean;
|
|
29966
|
+
list_synced_at: string;
|
|
29967
|
+
synced_at: string;
|
|
29968
|
+
}[];
|
|
29969
|
+
};
|
|
29970
|
+
floriday_orphan_settings_count: {
|
|
29971
|
+
Args: never;
|
|
29972
|
+
Returns: number;
|
|
29973
|
+
};
|
|
28008
29974
|
floriday_publish_horizon_weeks: {
|
|
28009
29975
|
Args: never;
|
|
28010
29976
|
Returns: number;
|
|
@@ -28029,6 +29995,10 @@ export type Database = {
|
|
|
28029
29995
|
};
|
|
28030
29996
|
Returns: number;
|
|
28031
29997
|
};
|
|
29998
|
+
floriday_today_announce_summary: {
|
|
29999
|
+
Args: never;
|
|
30000
|
+
Returns: Json;
|
|
30001
|
+
};
|
|
28032
30002
|
format_cart_number: {
|
|
28033
30003
|
Args: {
|
|
28034
30004
|
p_pick_date: string;
|
|
@@ -28036,6 +30006,24 @@ export type Database = {
|
|
|
28036
30006
|
};
|
|
28037
30007
|
Returns: string;
|
|
28038
30008
|
};
|
|
30009
|
+
fust_negative_stock_report: {
|
|
30010
|
+
Args: never;
|
|
30011
|
+
Returns: {
|
|
30012
|
+
duplicate_names: number;
|
|
30013
|
+
fust_key: string;
|
|
30014
|
+
fust_type_id: string;
|
|
30015
|
+
name: string;
|
|
30016
|
+
shortage: number;
|
|
30017
|
+
stock: number;
|
|
30018
|
+
}[];
|
|
30019
|
+
};
|
|
30020
|
+
geladen_etiketten: {
|
|
30021
|
+
Args: {
|
|
30022
|
+
_print_plek_id?: string;
|
|
30023
|
+
_werkplek_id?: string;
|
|
30024
|
+
};
|
|
30025
|
+
Returns: Json;
|
|
30026
|
+
};
|
|
28039
30027
|
get_active_floriday_connection_public: {
|
|
28040
30028
|
Args: never;
|
|
28041
30029
|
Returns: {
|
|
@@ -28742,6 +30730,19 @@ export type Database = {
|
|
|
28742
30730
|
};
|
|
28743
30731
|
Returns: Json;
|
|
28744
30732
|
};
|
|
30733
|
+
invoice_register_send: {
|
|
30734
|
+
Args: {
|
|
30735
|
+
_invoice_id: string;
|
|
30736
|
+
_outbox_id: string;
|
|
30737
|
+
};
|
|
30738
|
+
Returns: Json;
|
|
30739
|
+
};
|
|
30740
|
+
invoice_resync_concept_from_work_order: {
|
|
30741
|
+
Args: {
|
|
30742
|
+
_werkbon_id: string;
|
|
30743
|
+
};
|
|
30744
|
+
Returns: undefined;
|
|
30745
|
+
};
|
|
28745
30746
|
invoice_save_branding_settings: {
|
|
28746
30747
|
Args: {
|
|
28747
30748
|
_payload: Json;
|
|
@@ -28761,6 +30762,13 @@ export type Database = {
|
|
|
28761
30762
|
};
|
|
28762
30763
|
Returns: Json;
|
|
28763
30764
|
};
|
|
30765
|
+
invoice_status_transition_ok: {
|
|
30766
|
+
Args: {
|
|
30767
|
+
_from: string;
|
|
30768
|
+
_to: string;
|
|
30769
|
+
};
|
|
30770
|
+
Returns: boolean;
|
|
30771
|
+
};
|
|
28764
30772
|
invoice_update_full: {
|
|
28765
30773
|
Args: {
|
|
28766
30774
|
_invoice_id: string;
|
|
@@ -28774,6 +30782,10 @@ export type Database = {
|
|
|
28774
30782
|
};
|
|
28775
30783
|
Returns: Json;
|
|
28776
30784
|
};
|
|
30785
|
+
invoices_ready_summary: {
|
|
30786
|
+
Args: never;
|
|
30787
|
+
Returns: Json;
|
|
30788
|
+
};
|
|
28777
30789
|
is_authenticated: {
|
|
28778
30790
|
Args: never;
|
|
28779
30791
|
Returns: boolean;
|
|
@@ -28803,6 +30815,19 @@ export type Database = {
|
|
|
28803
30815
|
Args: never;
|
|
28804
30816
|
Returns: boolean;
|
|
28805
30817
|
};
|
|
30818
|
+
itk_customer_stats: {
|
|
30819
|
+
Args: {
|
|
30820
|
+
_customer_ids: string[];
|
|
30821
|
+
};
|
|
30822
|
+
Returns: {
|
|
30823
|
+
afgerond: number;
|
|
30824
|
+
bezig: number;
|
|
30825
|
+
customer_id: string;
|
|
30826
|
+
klussen: number;
|
|
30827
|
+
omzet_cents: number;
|
|
30828
|
+
open: number;
|
|
30829
|
+
}[];
|
|
30830
|
+
};
|
|
28806
30831
|
itk_offerte_naar_werkbon: {
|
|
28807
30832
|
Args: {
|
|
28808
30833
|
_offerte_id: string;
|
|
@@ -28816,6 +30841,16 @@ export type Database = {
|
|
|
28816
30841
|
};
|
|
28817
30842
|
Returns: number;
|
|
28818
30843
|
};
|
|
30844
|
+
itk_top_customers_by_revenue: {
|
|
30845
|
+
Args: {
|
|
30846
|
+
_limit?: number;
|
|
30847
|
+
};
|
|
30848
|
+
Returns: {
|
|
30849
|
+
customer_id: string;
|
|
30850
|
+
name: string;
|
|
30851
|
+
omzet_cents: number;
|
|
30852
|
+
}[];
|
|
30853
|
+
};
|
|
28819
30854
|
jwt_has_role: {
|
|
28820
30855
|
Args: {
|
|
28821
30856
|
_role: Database["public"]["Enums"]["app_role"];
|
|
@@ -28831,6 +30866,7 @@ export type Database = {
|
|
|
28831
30866
|
_is_herprint?: boolean;
|
|
28832
30867
|
_kopieen?: number;
|
|
28833
30868
|
_layout_id?: string;
|
|
30869
|
+
_mislukt_reden?: string;
|
|
28834
30870
|
_payload?: Json;
|
|
28835
30871
|
_pdf_base64?: string;
|
|
28836
30872
|
_pdf_url?: string;
|
|
@@ -28839,10 +30875,27 @@ export type Database = {
|
|
|
28839
30875
|
};
|
|
28840
30876
|
Returns: {
|
|
28841
30877
|
bestaand: boolean;
|
|
30878
|
+
fout_bericht: string;
|
|
30879
|
+
fout_code: string;
|
|
28842
30880
|
job_id: string;
|
|
30881
|
+
mislukt: boolean;
|
|
28843
30882
|
printer_id: string;
|
|
30883
|
+
status: string;
|
|
28844
30884
|
}[];
|
|
28845
30885
|
};
|
|
30886
|
+
layout_verwijzing_omzetten: {
|
|
30887
|
+
Args: {
|
|
30888
|
+
_nieuw: string;
|
|
30889
|
+
_oud: string;
|
|
30890
|
+
_rij_id: string;
|
|
30891
|
+
_tabel: string;
|
|
30892
|
+
};
|
|
30893
|
+
Returns: undefined;
|
|
30894
|
+
};
|
|
30895
|
+
layout_verwijzingen: {
|
|
30896
|
+
Args: never;
|
|
30897
|
+
Returns: Json;
|
|
30898
|
+
};
|
|
28846
30899
|
list_medewerkers: {
|
|
28847
30900
|
Args: never;
|
|
28848
30901
|
Returns: {
|
|
@@ -28948,6 +31001,30 @@ export type Database = {
|
|
|
28948
31001
|
};
|
|
28949
31002
|
Returns: string;
|
|
28950
31003
|
};
|
|
31004
|
+
logistics_afhandeling_fulfillment_order: {
|
|
31005
|
+
Args: {
|
|
31006
|
+
_order_id: string;
|
|
31007
|
+
};
|
|
31008
|
+
Returns: Json;
|
|
31009
|
+
};
|
|
31010
|
+
logistics_allocation_check_changes: {
|
|
31011
|
+
Args: {
|
|
31012
|
+
p_order_item_ids?: string[];
|
|
31013
|
+
};
|
|
31014
|
+
Returns: Json;
|
|
31015
|
+
};
|
|
31016
|
+
logistics_allocation_fp: {
|
|
31017
|
+
Args: {
|
|
31018
|
+
p_order_id: string;
|
|
31019
|
+
};
|
|
31020
|
+
Returns: string;
|
|
31021
|
+
};
|
|
31022
|
+
logistics_allocation_frozen: {
|
|
31023
|
+
Args: {
|
|
31024
|
+
p_order_id: string;
|
|
31025
|
+
};
|
|
31026
|
+
Returns: boolean;
|
|
31027
|
+
};
|
|
28951
31028
|
logistics_allowed_load_carriers: {
|
|
28952
31029
|
Args: {
|
|
28953
31030
|
p_strategy_id?: string;
|
|
@@ -28961,6 +31038,13 @@ export type Database = {
|
|
|
28961
31038
|
};
|
|
28962
31039
|
Returns: string;
|
|
28963
31040
|
};
|
|
31041
|
+
logistics_apply_cart_swap: {
|
|
31042
|
+
Args: {
|
|
31043
|
+
p_delete_ids: string[];
|
|
31044
|
+
p_new_carts: Json;
|
|
31045
|
+
};
|
|
31046
|
+
Returns: Json;
|
|
31047
|
+
};
|
|
28964
31048
|
logistics_apply_document_layouts: {
|
|
28965
31049
|
Args: never;
|
|
28966
31050
|
Returns: undefined;
|
|
@@ -28977,6 +31061,89 @@ export type Database = {
|
|
|
28977
31061
|
};
|
|
28978
31062
|
Returns: boolean;
|
|
28979
31063
|
};
|
|
31064
|
+
logistics_archived_orders: {
|
|
31065
|
+
Args: never;
|
|
31066
|
+
Returns: {
|
|
31067
|
+
archived_at: string;
|
|
31068
|
+
attempts: number;
|
|
31069
|
+
delivery_date: string;
|
|
31070
|
+
last_error: string;
|
|
31071
|
+
order_id: string;
|
|
31072
|
+
order_ref: string;
|
|
31073
|
+
queue_id: string;
|
|
31074
|
+
reason: string;
|
|
31075
|
+
reason_code: string;
|
|
31076
|
+
}[];
|
|
31077
|
+
};
|
|
31078
|
+
logistics_auto_send_claim: {
|
|
31079
|
+
Args: {
|
|
31080
|
+
p_limit?: number;
|
|
31081
|
+
};
|
|
31082
|
+
Returns: {
|
|
31083
|
+
attempts: number;
|
|
31084
|
+
buffer_id: string | null;
|
|
31085
|
+
cart_ids: string[];
|
|
31086
|
+
created_at: string;
|
|
31087
|
+
id: string;
|
|
31088
|
+
idempotency_key: string;
|
|
31089
|
+
last_http_status: number | null;
|
|
31090
|
+
locked_until: string | null;
|
|
31091
|
+
max_attempts: number;
|
|
31092
|
+
next_attempt_at: string;
|
|
31093
|
+
order_id: string;
|
|
31094
|
+
order_ids: string[];
|
|
31095
|
+
reason: string | null;
|
|
31096
|
+
sent_at: string | null;
|
|
31097
|
+
sent_how: string | null;
|
|
31098
|
+
status: string;
|
|
31099
|
+
updated_at: string;
|
|
31100
|
+
}[];
|
|
31101
|
+
SetofOptions: {
|
|
31102
|
+
from: "*";
|
|
31103
|
+
to: "logistics_auto_send";
|
|
31104
|
+
isOneToOne: false;
|
|
31105
|
+
isSetofReturn: true;
|
|
31106
|
+
};
|
|
31107
|
+
};
|
|
31108
|
+
logistics_auto_send_enqueue_for_order: {
|
|
31109
|
+
Args: {
|
|
31110
|
+
p_order_id: string;
|
|
31111
|
+
};
|
|
31112
|
+
Returns: boolean;
|
|
31113
|
+
};
|
|
31114
|
+
logistics_auto_send_finish: {
|
|
31115
|
+
Args: {
|
|
31116
|
+
p_config_missing?: boolean;
|
|
31117
|
+
p_definitief?: boolean;
|
|
31118
|
+
p_http?: number;
|
|
31119
|
+
p_id: string;
|
|
31120
|
+
p_ok: boolean;
|
|
31121
|
+
p_reason: string;
|
|
31122
|
+
};
|
|
31123
|
+
Returns: Json;
|
|
31124
|
+
};
|
|
31125
|
+
logistics_auto_send_route_missing: {
|
|
31126
|
+
Args: never;
|
|
31127
|
+
Returns: boolean;
|
|
31128
|
+
};
|
|
31129
|
+
logistics_auto_send_sent_elsewhere: {
|
|
31130
|
+
Args: {
|
|
31131
|
+
p_order_id: string;
|
|
31132
|
+
};
|
|
31133
|
+
Returns: string;
|
|
31134
|
+
};
|
|
31135
|
+
logistics_auto_send_status: {
|
|
31136
|
+
Args: {
|
|
31137
|
+
p_order_id: string;
|
|
31138
|
+
};
|
|
31139
|
+
Returns: Json;
|
|
31140
|
+
};
|
|
31141
|
+
logistics_auto_send_status_core: {
|
|
31142
|
+
Args: {
|
|
31143
|
+
p_order_id: string;
|
|
31144
|
+
};
|
|
31145
|
+
Returns: Json;
|
|
31146
|
+
};
|
|
28980
31147
|
logistics_backorder_allowed: {
|
|
28981
31148
|
Args: {
|
|
28982
31149
|
p_strategy_id?: string;
|
|
@@ -28997,6 +31164,10 @@ export type Database = {
|
|
|
28997
31164
|
Args: never;
|
|
28998
31165
|
Returns: number;
|
|
28999
31166
|
};
|
|
31167
|
+
logistics_belading_verstuurder: {
|
|
31168
|
+
Args: never;
|
|
31169
|
+
Returns: string;
|
|
31170
|
+
};
|
|
29000
31171
|
logistics_block_reason_code: {
|
|
29001
31172
|
Args: {
|
|
29002
31173
|
p_details?: Json;
|
|
@@ -29021,6 +31192,13 @@ export type Database = {
|
|
|
29021
31192
|
Args: never;
|
|
29022
31193
|
Returns: Json;
|
|
29023
31194
|
};
|
|
31195
|
+
logistics_brief_transport: {
|
|
31196
|
+
Args: {
|
|
31197
|
+
p_cart_id?: string;
|
|
31198
|
+
p_order_id: string;
|
|
31199
|
+
};
|
|
31200
|
+
Returns: Json;
|
|
31201
|
+
};
|
|
29024
31202
|
logistics_buffer_criteria: {
|
|
29025
31203
|
Args: {
|
|
29026
31204
|
p_settings: Json;
|
|
@@ -29128,6 +31306,32 @@ export type Database = {
|
|
|
29128
31306
|
};
|
|
29129
31307
|
Returns: number;
|
|
29130
31308
|
};
|
|
31309
|
+
logistics_cart_archive: {
|
|
31310
|
+
Args: {
|
|
31311
|
+
p_confirm_count: number;
|
|
31312
|
+
p_ids: string[];
|
|
31313
|
+
p_reason: string;
|
|
31314
|
+
};
|
|
31315
|
+
Returns: Json;
|
|
31316
|
+
};
|
|
31317
|
+
logistics_cart_archive_classify: {
|
|
31318
|
+
Args: never;
|
|
31319
|
+
Returns: {
|
|
31320
|
+
buffer_id: string;
|
|
31321
|
+
cart_id: string;
|
|
31322
|
+
cart_number: number;
|
|
31323
|
+
created_at: string;
|
|
31324
|
+
deel: string;
|
|
31325
|
+
groep: string;
|
|
31326
|
+
order_id: string;
|
|
31327
|
+
order_number: string;
|
|
31328
|
+
reden: string;
|
|
31329
|
+
}[];
|
|
31330
|
+
};
|
|
31331
|
+
logistics_cart_archive_preview: {
|
|
31332
|
+
Args: never;
|
|
31333
|
+
Returns: Json;
|
|
31334
|
+
};
|
|
29131
31335
|
logistics_cart_barcode_opschonen: {
|
|
29132
31336
|
Args: {
|
|
29133
31337
|
p_portie?: number;
|
|
@@ -29150,6 +31354,18 @@ export type Database = {
|
|
|
29150
31354
|
Args: never;
|
|
29151
31355
|
Returns: Json;
|
|
29152
31356
|
};
|
|
31357
|
+
logistics_cart_extra_fields: {
|
|
31358
|
+
Args: {
|
|
31359
|
+
p_cart_id: string;
|
|
31360
|
+
};
|
|
31361
|
+
Returns: Json;
|
|
31362
|
+
};
|
|
31363
|
+
logistics_cart_fixed_numbering: {
|
|
31364
|
+
Args: {
|
|
31365
|
+
p_cart_id: string;
|
|
31366
|
+
};
|
|
31367
|
+
Returns: Json;
|
|
31368
|
+
};
|
|
29153
31369
|
logistics_cart_handled: {
|
|
29154
31370
|
Args: {
|
|
29155
31371
|
p_cart_index: number;
|
|
@@ -29157,6 +31373,12 @@ export type Database = {
|
|
|
29157
31373
|
};
|
|
29158
31374
|
Returns: boolean;
|
|
29159
31375
|
};
|
|
31376
|
+
logistics_cart_ids_frozen: {
|
|
31377
|
+
Args: {
|
|
31378
|
+
p_cart_ids: string[];
|
|
31379
|
+
};
|
|
31380
|
+
Returns: string[];
|
|
31381
|
+
};
|
|
29160
31382
|
logistics_cart_index: {
|
|
29161
31383
|
Args: {
|
|
29162
31384
|
p_from?: string;
|
|
@@ -29183,22 +31405,52 @@ export type Database = {
|
|
|
29183
31405
|
task_status: string;
|
|
29184
31406
|
}[];
|
|
29185
31407
|
};
|
|
31408
|
+
logistics_cart_is_archived: {
|
|
31409
|
+
Args: {
|
|
31410
|
+
p_cart_id: string;
|
|
31411
|
+
};
|
|
31412
|
+
Returns: boolean;
|
|
31413
|
+
};
|
|
31414
|
+
logistics_cart_is_frozen: {
|
|
31415
|
+
Args: {
|
|
31416
|
+
p_cart_id: string;
|
|
31417
|
+
};
|
|
31418
|
+
Returns: boolean;
|
|
31419
|
+
};
|
|
29186
31420
|
logistics_cart_is_full: {
|
|
29187
31421
|
Args: {
|
|
29188
31422
|
p_cart_id: string;
|
|
29189
31423
|
};
|
|
29190
31424
|
Returns: boolean;
|
|
29191
31425
|
};
|
|
31426
|
+
logistics_cart_json_fixed: {
|
|
31427
|
+
Args: {
|
|
31428
|
+
p_cart: Json;
|
|
31429
|
+
};
|
|
31430
|
+
Returns: Json;
|
|
31431
|
+
};
|
|
29192
31432
|
logistics_cart_layout_method: {
|
|
29193
31433
|
Args: never;
|
|
29194
31434
|
Returns: Json;
|
|
29195
31435
|
};
|
|
31436
|
+
logistics_cart_order_ids: {
|
|
31437
|
+
Args: {
|
|
31438
|
+
p_cart_id: string;
|
|
31439
|
+
};
|
|
31440
|
+
Returns: string[];
|
|
31441
|
+
};
|
|
29196
31442
|
logistics_cart_order_refs: {
|
|
29197
31443
|
Args: {
|
|
29198
31444
|
p_cart_id: string;
|
|
29199
31445
|
};
|
|
29200
31446
|
Returns: string[];
|
|
29201
31447
|
};
|
|
31448
|
+
logistics_cart_pick_starts_at: {
|
|
31449
|
+
Args: {
|
|
31450
|
+
p_cart_id: string;
|
|
31451
|
+
};
|
|
31452
|
+
Returns: string;
|
|
31453
|
+
};
|
|
29202
31454
|
logistics_cart_plan_overview: {
|
|
29203
31455
|
Args: {
|
|
29204
31456
|
p_days?: number;
|
|
@@ -29224,6 +31476,12 @@ export type Database = {
|
|
|
29224
31476
|
};
|
|
29225
31477
|
Returns: Json;
|
|
29226
31478
|
};
|
|
31479
|
+
logistics_cart_plan_status_core_v152: {
|
|
31480
|
+
Args: {
|
|
31481
|
+
p_ref: string;
|
|
31482
|
+
};
|
|
31483
|
+
Returns: Json;
|
|
31484
|
+
};
|
|
29227
31485
|
logistics_cart_release_reason: {
|
|
29228
31486
|
Args: {
|
|
29229
31487
|
p_cart_id: string;
|
|
@@ -29236,6 +31494,12 @@ export type Database = {
|
|
|
29236
31494
|
};
|
|
29237
31495
|
Returns: boolean;
|
|
29238
31496
|
};
|
|
31497
|
+
logistics_cart_scanned: {
|
|
31498
|
+
Args: {
|
|
31499
|
+
p_cart_id: string;
|
|
31500
|
+
};
|
|
31501
|
+
Returns: boolean;
|
|
31502
|
+
};
|
|
29239
31503
|
logistics_cart_seq: {
|
|
29240
31504
|
Args: {
|
|
29241
31505
|
p_order_uuid?: string;
|
|
@@ -29255,6 +31519,19 @@ export type Database = {
|
|
|
29255
31519
|
};
|
|
29256
31520
|
Returns: Json;
|
|
29257
31521
|
};
|
|
31522
|
+
logistics_cart_sticker_state: {
|
|
31523
|
+
Args: {
|
|
31524
|
+
p_cart_id: string;
|
|
31525
|
+
};
|
|
31526
|
+
Returns: Json;
|
|
31527
|
+
};
|
|
31528
|
+
logistics_cart_unarchive: {
|
|
31529
|
+
Args: {
|
|
31530
|
+
p_ids: string[];
|
|
31531
|
+
p_reason: string;
|
|
31532
|
+
};
|
|
31533
|
+
Returns: Json;
|
|
31534
|
+
};
|
|
29258
31535
|
logistics_cart_units: {
|
|
29259
31536
|
Args: {
|
|
29260
31537
|
p_from?: string;
|
|
@@ -29286,6 +31563,12 @@ export type Database = {
|
|
|
29286
31563
|
unit_ref: string;
|
|
29287
31564
|
}[];
|
|
29288
31565
|
};
|
|
31566
|
+
logistics_cart_wait_until: {
|
|
31567
|
+
Args: {
|
|
31568
|
+
p_cart_id: string;
|
|
31569
|
+
};
|
|
31570
|
+
Returns: string;
|
|
31571
|
+
};
|
|
29289
31572
|
logistics_carts_per_print: {
|
|
29290
31573
|
Args: never;
|
|
29291
31574
|
Returns: number;
|
|
@@ -29502,6 +31785,7 @@ export type Database = {
|
|
|
29502
31785
|
approved_at: string | null;
|
|
29503
31786
|
attempts: number;
|
|
29504
31787
|
barcode: string;
|
|
31788
|
+
bron: string | null;
|
|
29505
31789
|
cart_id: string;
|
|
29506
31790
|
created_at: string;
|
|
29507
31791
|
document_url: string | null;
|
|
@@ -29560,6 +31844,20 @@ export type Database = {
|
|
|
29560
31844
|
};
|
|
29561
31845
|
Returns: Json;
|
|
29562
31846
|
};
|
|
31847
|
+
logistics_control_scan_record_afmelding: {
|
|
31848
|
+
Args: {
|
|
31849
|
+
p_bron: string;
|
|
31850
|
+
p_order_id: string;
|
|
31851
|
+
};
|
|
31852
|
+
Returns: number;
|
|
31853
|
+
};
|
|
31854
|
+
logistics_control_scan_record_afmelding_cart: {
|
|
31855
|
+
Args: {
|
|
31856
|
+
p_bron: string;
|
|
31857
|
+
p_cart_id: string;
|
|
31858
|
+
};
|
|
31859
|
+
Returns: number;
|
|
31860
|
+
};
|
|
29563
31861
|
logistics_control_scan_retry: {
|
|
29564
31862
|
Args: {
|
|
29565
31863
|
_id: string;
|
|
@@ -29637,6 +31935,15 @@ export type Database = {
|
|
|
29637
31935
|
};
|
|
29638
31936
|
Returns: Database["public"]["Enums"]["doc_layout_type"][];
|
|
29639
31937
|
};
|
|
31938
|
+
logistics_double_group_lines: {
|
|
31939
|
+
Args: {
|
|
31940
|
+
p_order_id?: string;
|
|
31941
|
+
};
|
|
31942
|
+
Returns: {
|
|
31943
|
+
group_id: string;
|
|
31944
|
+
order_item_id: string;
|
|
31945
|
+
}[];
|
|
31946
|
+
};
|
|
29640
31947
|
logistics_emit_event: {
|
|
29641
31948
|
Args: {
|
|
29642
31949
|
p_event_type: string;
|
|
@@ -29839,6 +32146,12 @@ export type Database = {
|
|
|
29839
32146
|
Args: never;
|
|
29840
32147
|
Returns: Json;
|
|
29841
32148
|
};
|
|
32149
|
+
logistics_floriday_layout_id: {
|
|
32150
|
+
Args: {
|
|
32151
|
+
p_documenttype: string;
|
|
32152
|
+
};
|
|
32153
|
+
Returns: Json;
|
|
32154
|
+
};
|
|
29842
32155
|
logistics_floriday_log_refusal: {
|
|
29843
32156
|
Args: {
|
|
29844
32157
|
_action?: string;
|
|
@@ -29895,6 +32208,18 @@ export type Database = {
|
|
|
29895
32208
|
};
|
|
29896
32209
|
Returns: boolean;
|
|
29897
32210
|
};
|
|
32211
|
+
logistics_frozen_allocation_scaled: {
|
|
32212
|
+
Args: {
|
|
32213
|
+
p_new_qty: number;
|
|
32214
|
+
p_order_item_id: string;
|
|
32215
|
+
};
|
|
32216
|
+
Returns: {
|
|
32217
|
+
group_id: string;
|
|
32218
|
+
qty: number;
|
|
32219
|
+
source: string;
|
|
32220
|
+
trade_item_key: string;
|
|
32221
|
+
}[];
|
|
32222
|
+
};
|
|
29898
32223
|
logistics_fulfill_barcode_requests: {
|
|
29899
32224
|
Args: {
|
|
29900
32225
|
p_limit?: number;
|
|
@@ -29909,6 +32234,10 @@ export type Database = {
|
|
|
29909
32234
|
Args: never;
|
|
29910
32235
|
Returns: number;
|
|
29911
32236
|
};
|
|
32237
|
+
logistics_is_beheer: {
|
|
32238
|
+
Args: never;
|
|
32239
|
+
Returns: boolean;
|
|
32240
|
+
};
|
|
29912
32241
|
logistics_is_engine_response: {
|
|
29913
32242
|
Args: {
|
|
29914
32243
|
p_content: string;
|
|
@@ -29916,12 +32245,24 @@ export type Database = {
|
|
|
29916
32245
|
};
|
|
29917
32246
|
Returns: boolean;
|
|
29918
32247
|
};
|
|
32248
|
+
logistics_is_group_label: {
|
|
32249
|
+
Args: {
|
|
32250
|
+
p_label: string;
|
|
32251
|
+
};
|
|
32252
|
+
Returns: boolean;
|
|
32253
|
+
};
|
|
29919
32254
|
logistics_is_pick_workday: {
|
|
29920
32255
|
Args: {
|
|
29921
32256
|
p_date: string;
|
|
29922
32257
|
};
|
|
29923
32258
|
Returns: boolean;
|
|
29924
32259
|
};
|
|
32260
|
+
logistics_key_product: {
|
|
32261
|
+
Args: {
|
|
32262
|
+
p_key: string;
|
|
32263
|
+
};
|
|
32264
|
+
Returns: string;
|
|
32265
|
+
};
|
|
29925
32266
|
logistics_layout_method_status: {
|
|
29926
32267
|
Args: never;
|
|
29927
32268
|
Returns: Json;
|
|
@@ -29944,6 +32285,23 @@ export type Database = {
|
|
|
29944
32285
|
};
|
|
29945
32286
|
Returns: number;
|
|
29946
32287
|
};
|
|
32288
|
+
logistics_local_hhmi: {
|
|
32289
|
+
Args: {
|
|
32290
|
+
p_ts: string;
|
|
32291
|
+
};
|
|
32292
|
+
Returns: string;
|
|
32293
|
+
};
|
|
32294
|
+
logistics_local_today: {
|
|
32295
|
+
Args: never;
|
|
32296
|
+
Returns: string;
|
|
32297
|
+
};
|
|
32298
|
+
logistics_mark_cart_delivered_core: {
|
|
32299
|
+
Args: {
|
|
32300
|
+
p_bron: string;
|
|
32301
|
+
p_cart_id: string;
|
|
32302
|
+
};
|
|
32303
|
+
Returns: Json;
|
|
32304
|
+
};
|
|
29947
32305
|
logistics_merge_decision: {
|
|
29948
32306
|
Args: {
|
|
29949
32307
|
p_lines: Json;
|
|
@@ -29996,12 +32354,36 @@ export type Database = {
|
|
|
29996
32354
|
Args: never;
|
|
29997
32355
|
Returns: string;
|
|
29998
32356
|
};
|
|
32357
|
+
logistics_order_afgemeld: {
|
|
32358
|
+
Args: {
|
|
32359
|
+
p_order_id: string;
|
|
32360
|
+
};
|
|
32361
|
+
Returns: boolean;
|
|
32362
|
+
};
|
|
32363
|
+
logistics_order_all_carts_scanned: {
|
|
32364
|
+
Args: {
|
|
32365
|
+
p_order_id: string;
|
|
32366
|
+
};
|
|
32367
|
+
Returns: boolean;
|
|
32368
|
+
};
|
|
29999
32369
|
logistics_order_backlog_info: {
|
|
30000
32370
|
Args: {
|
|
30001
32371
|
p_order_id: string;
|
|
30002
32372
|
};
|
|
30003
32373
|
Returns: Json;
|
|
30004
32374
|
};
|
|
32375
|
+
logistics_order_buffer_excluded: {
|
|
32376
|
+
Args: {
|
|
32377
|
+
p_order_id: string;
|
|
32378
|
+
};
|
|
32379
|
+
Returns: boolean;
|
|
32380
|
+
};
|
|
32381
|
+
logistics_order_carrier_id: {
|
|
32382
|
+
Args: {
|
|
32383
|
+
p_order_id: string;
|
|
32384
|
+
};
|
|
32385
|
+
Returns: string;
|
|
32386
|
+
};
|
|
30005
32387
|
logistics_order_cart_approval: {
|
|
30006
32388
|
Args: {
|
|
30007
32389
|
_order_ref: string;
|
|
@@ -30017,6 +32399,12 @@ export type Database = {
|
|
|
30017
32399
|
};
|
|
30018
32400
|
Returns: number;
|
|
30019
32401
|
};
|
|
32402
|
+
logistics_order_cart_ids: {
|
|
32403
|
+
Args: {
|
|
32404
|
+
p_order_id: string;
|
|
32405
|
+
};
|
|
32406
|
+
Returns: string[];
|
|
32407
|
+
};
|
|
30020
32408
|
logistics_order_changed: {
|
|
30021
32409
|
Args: {
|
|
30022
32410
|
p_order_id: string;
|
|
@@ -30024,6 +32412,24 @@ export type Database = {
|
|
|
30024
32412
|
};
|
|
30025
32413
|
Returns: undefined;
|
|
30026
32414
|
};
|
|
32415
|
+
logistics_order_current_warnings: {
|
|
32416
|
+
Args: {
|
|
32417
|
+
p_order_id: string;
|
|
32418
|
+
};
|
|
32419
|
+
Returns: string[];
|
|
32420
|
+
};
|
|
32421
|
+
logistics_order_definitively_blocked: {
|
|
32422
|
+
Args: {
|
|
32423
|
+
p_order_id: string;
|
|
32424
|
+
};
|
|
32425
|
+
Returns: Json;
|
|
32426
|
+
};
|
|
32427
|
+
logistics_order_departure: {
|
|
32428
|
+
Args: {
|
|
32429
|
+
p_order_id: string;
|
|
32430
|
+
};
|
|
32431
|
+
Returns: Json;
|
|
32432
|
+
};
|
|
30027
32433
|
logistics_order_documents_ready: {
|
|
30028
32434
|
Args: {
|
|
30029
32435
|
p_order_ref: string;
|
|
@@ -30080,6 +32486,12 @@ export type Database = {
|
|
|
30080
32486
|
};
|
|
30081
32487
|
Returns: number;
|
|
30082
32488
|
};
|
|
32489
|
+
logistics_order_fp: {
|
|
32490
|
+
Args: {
|
|
32491
|
+
p_order_id: string;
|
|
32492
|
+
};
|
|
32493
|
+
Returns: string;
|
|
32494
|
+
};
|
|
30083
32495
|
logistics_order_frozen: {
|
|
30084
32496
|
Args: {
|
|
30085
32497
|
p_order_id: string;
|
|
@@ -30092,12 +32504,24 @@ export type Database = {
|
|
|
30092
32504
|
};
|
|
30093
32505
|
Returns: boolean;
|
|
30094
32506
|
};
|
|
32507
|
+
logistics_order_is_archived: {
|
|
32508
|
+
Args: {
|
|
32509
|
+
p_order_id: string;
|
|
32510
|
+
};
|
|
32511
|
+
Returns: Json;
|
|
32512
|
+
};
|
|
30095
32513
|
logistics_order_is_backlog: {
|
|
30096
32514
|
Args: {
|
|
30097
32515
|
p_order_id: string;
|
|
30098
32516
|
};
|
|
30099
32517
|
Returns: boolean;
|
|
30100
32518
|
};
|
|
32519
|
+
logistics_order_is_frozen: {
|
|
32520
|
+
Args: {
|
|
32521
|
+
p_order_id: string;
|
|
32522
|
+
};
|
|
32523
|
+
Returns: boolean;
|
|
32524
|
+
};
|
|
30101
32525
|
logistics_order_is_topick: {
|
|
30102
32526
|
Args: {
|
|
30103
32527
|
p_order_id: string;
|
|
@@ -30135,6 +32559,12 @@ export type Database = {
|
|
|
30135
32559
|
};
|
|
30136
32560
|
Returns: boolean;
|
|
30137
32561
|
};
|
|
32562
|
+
logistics_order_on_frozen_shared_cart: {
|
|
32563
|
+
Args: {
|
|
32564
|
+
p_order_id: string;
|
|
32565
|
+
};
|
|
32566
|
+
Returns: boolean;
|
|
32567
|
+
};
|
|
30138
32568
|
logistics_order_overview: {
|
|
30139
32569
|
Args: {
|
|
30140
32570
|
p_from?: string;
|
|
@@ -30160,12 +32590,70 @@ export type Database = {
|
|
|
30160
32590
|
};
|
|
30161
32591
|
Returns: string;
|
|
30162
32592
|
};
|
|
32593
|
+
logistics_order_plan_coverage: {
|
|
32594
|
+
Args: {
|
|
32595
|
+
p_order_id: string;
|
|
32596
|
+
};
|
|
32597
|
+
Returns: Json;
|
|
32598
|
+
};
|
|
32599
|
+
logistics_order_plan_coverage_list: {
|
|
32600
|
+
Args: {
|
|
32601
|
+
p_order_ids: string[];
|
|
32602
|
+
};
|
|
32603
|
+
Returns: {
|
|
32604
|
+
buffer_cart_count: number;
|
|
32605
|
+
buffer_id: string;
|
|
32606
|
+
buffer_order_count: number;
|
|
32607
|
+
cart_count: number;
|
|
32608
|
+
label: string;
|
|
32609
|
+
order_id: string;
|
|
32610
|
+
order_number: string;
|
|
32611
|
+
pick_row_count: number;
|
|
32612
|
+
pick_status: string;
|
|
32613
|
+
picked_at: string;
|
|
32614
|
+
progress_pct: number;
|
|
32615
|
+
reason: string;
|
|
32616
|
+
state: string;
|
|
32617
|
+
}[];
|
|
32618
|
+
};
|
|
32619
|
+
logistics_order_plan_coverage_list_v152: {
|
|
32620
|
+
Args: {
|
|
32621
|
+
p_order_ids: string[];
|
|
32622
|
+
};
|
|
32623
|
+
Returns: {
|
|
32624
|
+
buffer_id: string;
|
|
32625
|
+
cart_count: number;
|
|
32626
|
+
label: string;
|
|
32627
|
+
order_id: string;
|
|
32628
|
+
order_number: string;
|
|
32629
|
+
pick_row_count: number;
|
|
32630
|
+
pick_status: string;
|
|
32631
|
+
picked_at: string;
|
|
32632
|
+
progress_pct: number;
|
|
32633
|
+
reason: string;
|
|
32634
|
+
state: string;
|
|
32635
|
+
}[];
|
|
32636
|
+
};
|
|
30163
32637
|
logistics_order_released: {
|
|
30164
32638
|
Args: {
|
|
30165
32639
|
p_order_ref: string;
|
|
30166
32640
|
};
|
|
30167
32641
|
Returns: boolean;
|
|
30168
32642
|
};
|
|
32643
|
+
logistics_order_sticker_meldingen: {
|
|
32644
|
+
Args: {
|
|
32645
|
+
p_order_id: string;
|
|
32646
|
+
};
|
|
32647
|
+
Returns: Json;
|
|
32648
|
+
};
|
|
32649
|
+
logistics_orphan_carts_list: {
|
|
32650
|
+
Args: never;
|
|
32651
|
+
Returns: Json;
|
|
32652
|
+
};
|
|
32653
|
+
logistics_orphan_carts_summary: {
|
|
32654
|
+
Args: never;
|
|
32655
|
+
Returns: Json;
|
|
32656
|
+
};
|
|
30169
32657
|
logistics_packing_autofix: {
|
|
30170
32658
|
Args: {
|
|
30171
32659
|
p_limit?: number;
|
|
@@ -30223,12 +32711,26 @@ export type Database = {
|
|
|
30223
32711
|
};
|
|
30224
32712
|
Returns: boolean;
|
|
30225
32713
|
};
|
|
32714
|
+
logistics_pakbon_old_order_row: {
|
|
32715
|
+
Args: {
|
|
32716
|
+
p_ids: string[];
|
|
32717
|
+
};
|
|
32718
|
+
Returns: boolean;
|
|
32719
|
+
};
|
|
32720
|
+
logistics_pakbon_oude_orderregels: {
|
|
32721
|
+
Args: never;
|
|
32722
|
+
Returns: Json;
|
|
32723
|
+
};
|
|
30226
32724
|
logistics_parse_pickup: {
|
|
30227
32725
|
Args: {
|
|
30228
32726
|
p_value: string;
|
|
30229
32727
|
};
|
|
30230
32728
|
Returns: string;
|
|
30231
32729
|
};
|
|
32730
|
+
logistics_partial_wait_minutes: {
|
|
32731
|
+
Args: never;
|
|
32732
|
+
Returns: number;
|
|
32733
|
+
};
|
|
30232
32734
|
logistics_payload_is_floriday: {
|
|
30233
32735
|
Args: {
|
|
30234
32736
|
_payload: Json;
|
|
@@ -30271,6 +32773,14 @@ export type Database = {
|
|
|
30271
32773
|
Args: never;
|
|
30272
32774
|
Returns: string;
|
|
30273
32775
|
};
|
|
32776
|
+
logistics_pick_queue_close: {
|
|
32777
|
+
Args: {
|
|
32778
|
+
p_ids: string[];
|
|
32779
|
+
p_mode: string;
|
|
32780
|
+
p_reason: string;
|
|
32781
|
+
};
|
|
32782
|
+
Returns: number;
|
|
32783
|
+
};
|
|
30274
32784
|
logistics_pick_start_estimate: {
|
|
30275
32785
|
Args: {
|
|
30276
32786
|
p_order: Json;
|
|
@@ -30290,6 +32800,10 @@ export type Database = {
|
|
|
30290
32800
|
unit_ref: string;
|
|
30291
32801
|
}[];
|
|
30292
32802
|
};
|
|
32803
|
+
logistics_pickup_moments_today: {
|
|
32804
|
+
Args: never;
|
|
32805
|
+
Returns: Json;
|
|
32806
|
+
};
|
|
30293
32807
|
logistics_plan_all: {
|
|
30294
32808
|
Args: {
|
|
30295
32809
|
p_user_id?: string;
|
|
@@ -30320,12 +32834,30 @@ export type Database = {
|
|
|
30320
32834
|
order_id: string;
|
|
30321
32835
|
}[];
|
|
30322
32836
|
};
|
|
32837
|
+
logistics_plan_close_claim: {
|
|
32838
|
+
Args: {
|
|
32839
|
+
p_id: string;
|
|
32840
|
+
p_reason: string;
|
|
32841
|
+
p_reason_code?: string;
|
|
32842
|
+
};
|
|
32843
|
+
Returns: boolean;
|
|
32844
|
+
};
|
|
32845
|
+
logistics_plan_coverage_check: {
|
|
32846
|
+
Args: {
|
|
32847
|
+
p_limit?: number;
|
|
32848
|
+
};
|
|
32849
|
+
Returns: Json;
|
|
32850
|
+
};
|
|
30323
32851
|
logistics_plan_defer: {
|
|
30324
32852
|
Args: {
|
|
30325
32853
|
p_id: string;
|
|
30326
32854
|
};
|
|
30327
32855
|
Returns: undefined;
|
|
30328
32856
|
};
|
|
32857
|
+
logistics_plan_due_count: {
|
|
32858
|
+
Args: never;
|
|
32859
|
+
Returns: number;
|
|
32860
|
+
};
|
|
30329
32861
|
logistics_plan_enqueue: {
|
|
30330
32862
|
Args: {
|
|
30331
32863
|
p_order_id: string;
|
|
@@ -30365,6 +32897,10 @@ export type Database = {
|
|
|
30365
32897
|
};
|
|
30366
32898
|
Returns: number;
|
|
30367
32899
|
};
|
|
32900
|
+
logistics_plan_housekeeping: {
|
|
32901
|
+
Args: never;
|
|
32902
|
+
Returns: Json;
|
|
32903
|
+
};
|
|
30368
32904
|
logistics_plan_impact_orders: {
|
|
30369
32905
|
Args: {
|
|
30370
32906
|
p_order_id: string;
|
|
@@ -30476,6 +33012,27 @@ export type Database = {
|
|
|
30476
33012
|
Args: never;
|
|
30477
33013
|
Returns: number;
|
|
30478
33014
|
};
|
|
33015
|
+
logistics_plan_unarchive: {
|
|
33016
|
+
Args: {
|
|
33017
|
+
p_order_ids: string[];
|
|
33018
|
+
};
|
|
33019
|
+
Returns: number;
|
|
33020
|
+
};
|
|
33021
|
+
logistics_plan_wachttijd: {
|
|
33022
|
+
Args: {
|
|
33023
|
+
p_order_id: string;
|
|
33024
|
+
p_reason: string;
|
|
33025
|
+
};
|
|
33026
|
+
Returns: Json;
|
|
33027
|
+
};
|
|
33028
|
+
logistics_plan_wachttijd_melden: {
|
|
33029
|
+
Args: {
|
|
33030
|
+
p_order_id: string;
|
|
33031
|
+
p_reason: string;
|
|
33032
|
+
p_wacht: Json;
|
|
33033
|
+
};
|
|
33034
|
+
Returns: undefined;
|
|
33035
|
+
};
|
|
30479
33036
|
logistics_planner_cart_snapshot: {
|
|
30480
33037
|
Args: {
|
|
30481
33038
|
p_buffer_id: string;
|
|
@@ -30491,12 +33048,35 @@ export type Database = {
|
|
|
30491
33048
|
Args: never;
|
|
30492
33049
|
Returns: number;
|
|
30493
33050
|
};
|
|
33051
|
+
logistics_planner_lines: {
|
|
33052
|
+
Args: {
|
|
33053
|
+
p_order_id: string;
|
|
33054
|
+
};
|
|
33055
|
+
Returns: {
|
|
33056
|
+
components: Json;
|
|
33057
|
+
frozen: boolean;
|
|
33058
|
+
group_id: string;
|
|
33059
|
+
note: string;
|
|
33060
|
+
order_item_id: string;
|
|
33061
|
+
product_id: string;
|
|
33062
|
+
product_name: string;
|
|
33063
|
+
qty: number;
|
|
33064
|
+
trade_item_key: string;
|
|
33065
|
+
unit_kind: string;
|
|
33066
|
+
}[];
|
|
33067
|
+
};
|
|
30494
33068
|
logistics_prepare_pick_documents: {
|
|
30495
33069
|
Args: {
|
|
30496
33070
|
p_limit?: number;
|
|
30497
33071
|
};
|
|
30498
33072
|
Returns: Json;
|
|
30499
33073
|
};
|
|
33074
|
+
logistics_print_job_state: {
|
|
33075
|
+
Args: {
|
|
33076
|
+
p_job_id: string;
|
|
33077
|
+
};
|
|
33078
|
+
Returns: string;
|
|
33079
|
+
};
|
|
30500
33080
|
logistics_print_via_layout: {
|
|
30501
33081
|
Args: {
|
|
30502
33082
|
_documentnaam: string;
|
|
@@ -30532,6 +33112,12 @@ export type Database = {
|
|
|
30532
33112
|
};
|
|
30533
33113
|
Returns: string;
|
|
30534
33114
|
};
|
|
33115
|
+
logistics_queue_row_has_open_peer: {
|
|
33116
|
+
Args: {
|
|
33117
|
+
p_payload: Json;
|
|
33118
|
+
};
|
|
33119
|
+
Returns: boolean;
|
|
33120
|
+
};
|
|
30535
33121
|
logistics_queue_stock_email: {
|
|
30536
33122
|
Args: {
|
|
30537
33123
|
p_alert_id: string;
|
|
@@ -30602,6 +33188,16 @@ export type Database = {
|
|
|
30602
33188
|
};
|
|
30603
33189
|
Returns: Json;
|
|
30604
33190
|
};
|
|
33191
|
+
logistics_replan_candidates: {
|
|
33192
|
+
Args: {
|
|
33193
|
+
p_delivery_date?: string;
|
|
33194
|
+
p_include_frozen?: boolean;
|
|
33195
|
+
};
|
|
33196
|
+
Returns: {
|
|
33197
|
+
frozen: boolean;
|
|
33198
|
+
order_id: string;
|
|
33199
|
+
}[];
|
|
33200
|
+
};
|
|
30605
33201
|
logistics_replan_clear_foreign_cart_items: {
|
|
30606
33202
|
Args: {
|
|
30607
33203
|
p_order_id: string;
|
|
@@ -30621,6 +33217,28 @@ export type Database = {
|
|
|
30621
33217
|
};
|
|
30622
33218
|
Returns: Json;
|
|
30623
33219
|
};
|
|
33220
|
+
logistics_replan_preview: {
|
|
33221
|
+
Args: {
|
|
33222
|
+
p_delivery_date?: string;
|
|
33223
|
+
p_include_frozen?: boolean;
|
|
33224
|
+
};
|
|
33225
|
+
Returns: Json;
|
|
33226
|
+
};
|
|
33227
|
+
logistics_replan_selected: {
|
|
33228
|
+
Args: {
|
|
33229
|
+
p_confirm_count: number;
|
|
33230
|
+
p_delivery_date?: string;
|
|
33231
|
+
p_include_frozen?: boolean;
|
|
33232
|
+
};
|
|
33233
|
+
Returns: Json;
|
|
33234
|
+
};
|
|
33235
|
+
logistics_replan_selected_orders: {
|
|
33236
|
+
Args: {
|
|
33237
|
+
p_order_ids: string[];
|
|
33238
|
+
p_reason?: string;
|
|
33239
|
+
};
|
|
33240
|
+
Returns: Json;
|
|
33241
|
+
};
|
|
30624
33242
|
logistics_report_delay: {
|
|
30625
33243
|
Args: {
|
|
30626
33244
|
p_expected_date?: string;
|
|
@@ -30637,6 +33255,12 @@ export type Database = {
|
|
|
30637
33255
|
};
|
|
30638
33256
|
Returns: string;
|
|
30639
33257
|
};
|
|
33258
|
+
logistics_report_frozen_shortage: {
|
|
33259
|
+
Args: {
|
|
33260
|
+
p_order_item_ids: string[];
|
|
33261
|
+
};
|
|
33262
|
+
Returns: undefined;
|
|
33263
|
+
};
|
|
30640
33264
|
logistics_rescan_orders: {
|
|
30641
33265
|
Args: {
|
|
30642
33266
|
p_days?: number;
|
|
@@ -30665,12 +33289,25 @@ export type Database = {
|
|
|
30665
33289
|
};
|
|
30666
33290
|
Returns: Json;
|
|
30667
33291
|
};
|
|
33292
|
+
logistics_reserved_fast_skip: {
|
|
33293
|
+
Args: {
|
|
33294
|
+
p_key: string;
|
|
33295
|
+
p_raw: string;
|
|
33296
|
+
};
|
|
33297
|
+
Returns: boolean;
|
|
33298
|
+
};
|
|
30668
33299
|
logistics_reserved_key: {
|
|
30669
33300
|
Args: {
|
|
30670
33301
|
p_key: string;
|
|
30671
33302
|
};
|
|
30672
33303
|
Returns: string;
|
|
30673
33304
|
};
|
|
33305
|
+
logistics_reserved_order_excluded: {
|
|
33306
|
+
Args: {
|
|
33307
|
+
p_order_id: string;
|
|
33308
|
+
};
|
|
33309
|
+
Returns: boolean;
|
|
33310
|
+
};
|
|
30674
33311
|
logistics_reserved_stock_nightly: {
|
|
30675
33312
|
Args: never;
|
|
30676
33313
|
Returns: undefined;
|
|
@@ -30690,6 +33327,12 @@ export type Database = {
|
|
|
30690
33327
|
};
|
|
30691
33328
|
Returns: string;
|
|
30692
33329
|
};
|
|
33330
|
+
logistics_resolve_product_match: {
|
|
33331
|
+
Args: {
|
|
33332
|
+
p_label: string;
|
|
33333
|
+
};
|
|
33334
|
+
Returns: Record<string, unknown>;
|
|
33335
|
+
};
|
|
30693
33336
|
logistics_resolve_settings: {
|
|
30694
33337
|
Args: {
|
|
30695
33338
|
p_config_id: string;
|
|
@@ -30764,6 +33407,13 @@ export type Database = {
|
|
|
30764
33407
|
};
|
|
30765
33408
|
Returns: number;
|
|
30766
33409
|
};
|
|
33410
|
+
logistics_set_components_scaled: {
|
|
33411
|
+
Args: {
|
|
33412
|
+
p_order_item_id: string;
|
|
33413
|
+
p_plants: number;
|
|
33414
|
+
};
|
|
33415
|
+
Returns: Json;
|
|
33416
|
+
};
|
|
30767
33417
|
logistics_set_order_priority: {
|
|
30768
33418
|
Args: {
|
|
30769
33419
|
p_order_ref: string;
|
|
@@ -30779,6 +33429,17 @@ export type Database = {
|
|
|
30779
33429
|
};
|
|
30780
33430
|
Returns: Json;
|
|
30781
33431
|
};
|
|
33432
|
+
logistics_shared_cart_peers: {
|
|
33433
|
+
Args: {
|
|
33434
|
+
p_order_id: string;
|
|
33435
|
+
};
|
|
33436
|
+
Returns: {
|
|
33437
|
+
buffer_id: string;
|
|
33438
|
+
cart_id: string;
|
|
33439
|
+
cart_number: number;
|
|
33440
|
+
peer_order_id: string;
|
|
33441
|
+
}[];
|
|
33442
|
+
};
|
|
30782
33443
|
logistics_shift_to_workday: {
|
|
30783
33444
|
Args: {
|
|
30784
33445
|
p_days: string[];
|
|
@@ -30792,6 +33453,13 @@ export type Database = {
|
|
|
30792
33453
|
};
|
|
30793
33454
|
Returns: Json;
|
|
30794
33455
|
};
|
|
33456
|
+
logistics_shipping_note_ensure_accepted: {
|
|
33457
|
+
Args: {
|
|
33458
|
+
p_limit?: number;
|
|
33459
|
+
p_order_id?: string;
|
|
33460
|
+
};
|
|
33461
|
+
Returns: number;
|
|
33462
|
+
};
|
|
30795
33463
|
logistics_shipping_note_follows_slip: {
|
|
30796
33464
|
Args: never;
|
|
30797
33465
|
Returns: boolean;
|
|
@@ -30827,6 +33495,14 @@ export type Database = {
|
|
|
30827
33495
|
};
|
|
30828
33496
|
Returns: Json;
|
|
30829
33497
|
};
|
|
33498
|
+
logistics_shipping_note_wait_reasons: {
|
|
33499
|
+
Args: never;
|
|
33500
|
+
Returns: {
|
|
33501
|
+
order_number: string;
|
|
33502
|
+
reden: string;
|
|
33503
|
+
wacht_sinds: string;
|
|
33504
|
+
}[];
|
|
33505
|
+
};
|
|
30830
33506
|
logistics_shipping_note_wake: {
|
|
30831
33507
|
Args: {
|
|
30832
33508
|
_slip_job_id: string;
|
|
@@ -30895,6 +33571,27 @@ export type Database = {
|
|
|
30895
33571
|
};
|
|
30896
33572
|
Returns: undefined;
|
|
30897
33573
|
};
|
|
33574
|
+
logistics_slip_note_hold_belading: {
|
|
33575
|
+
Args: {
|
|
33576
|
+
_id: string;
|
|
33577
|
+
_reason: string;
|
|
33578
|
+
};
|
|
33579
|
+
Returns: undefined;
|
|
33580
|
+
};
|
|
33581
|
+
logistics_slip_note_hold_kenmerk: {
|
|
33582
|
+
Args: {
|
|
33583
|
+
_id: string;
|
|
33584
|
+
_reason: string;
|
|
33585
|
+
};
|
|
33586
|
+
Returns: undefined;
|
|
33587
|
+
};
|
|
33588
|
+
logistics_slip_note_hold_layout: {
|
|
33589
|
+
Args: {
|
|
33590
|
+
_id: string;
|
|
33591
|
+
_reason: string;
|
|
33592
|
+
};
|
|
33593
|
+
Returns: undefined;
|
|
33594
|
+
};
|
|
30898
33595
|
logistics_slip_note_keep_waiting: {
|
|
30899
33596
|
Args: {
|
|
30900
33597
|
_class?: string;
|
|
@@ -30903,16 +33600,77 @@ export type Database = {
|
|
|
30903
33600
|
};
|
|
30904
33601
|
Returns: undefined;
|
|
30905
33602
|
};
|
|
33603
|
+
logistics_slip_note_release_layout: {
|
|
33604
|
+
Args: never;
|
|
33605
|
+
Returns: number;
|
|
33606
|
+
};
|
|
30906
33607
|
logistics_slip_note_retry: {
|
|
30907
33608
|
Args: {
|
|
30908
33609
|
_id: string;
|
|
30909
33610
|
};
|
|
30910
33611
|
Returns: Json;
|
|
30911
33612
|
};
|
|
33613
|
+
logistics_status_after_shipping: {
|
|
33614
|
+
Args: {
|
|
33615
|
+
p_status: string;
|
|
33616
|
+
};
|
|
33617
|
+
Returns: boolean;
|
|
33618
|
+
};
|
|
33619
|
+
logistics_sticker_cart_plek: {
|
|
33620
|
+
Args: {
|
|
33621
|
+
_cart: string;
|
|
33622
|
+
_fallback: string;
|
|
33623
|
+
};
|
|
33624
|
+
Returns: string;
|
|
33625
|
+
};
|
|
30912
33626
|
logistics_sticker_follows_slip: {
|
|
30913
33627
|
Args: never;
|
|
30914
33628
|
Returns: boolean;
|
|
30915
33629
|
};
|
|
33630
|
+
logistics_sticker_moment: {
|
|
33631
|
+
Args: {
|
|
33632
|
+
_cart: string;
|
|
33633
|
+
_hours: number;
|
|
33634
|
+
_order_number: string;
|
|
33635
|
+
_release: string;
|
|
33636
|
+
};
|
|
33637
|
+
Returns: boolean;
|
|
33638
|
+
};
|
|
33639
|
+
logistics_sticker_parse_size: {
|
|
33640
|
+
Args: {
|
|
33641
|
+
p: Json;
|
|
33642
|
+
};
|
|
33643
|
+
Returns: number[];
|
|
33644
|
+
};
|
|
33645
|
+
logistics_sticker_sync: {
|
|
33646
|
+
Args: {
|
|
33647
|
+
p_limit?: number;
|
|
33648
|
+
};
|
|
33649
|
+
Returns: Json;
|
|
33650
|
+
};
|
|
33651
|
+
logistics_sticker_upsert: {
|
|
33652
|
+
Args: {
|
|
33653
|
+
_bron: string;
|
|
33654
|
+
_cart: string;
|
|
33655
|
+
_fo: string;
|
|
33656
|
+
_kopieen: number;
|
|
33657
|
+
_order: string;
|
|
33658
|
+
_order_number: string;
|
|
33659
|
+
_plek: string;
|
|
33660
|
+
_reden: string;
|
|
33661
|
+
_size: number[];
|
|
33662
|
+
_soort: string;
|
|
33663
|
+
_status: string;
|
|
33664
|
+
};
|
|
33665
|
+
Returns: undefined;
|
|
33666
|
+
};
|
|
33667
|
+
logistics_subtract_pick_workdays: {
|
|
33668
|
+
Args: {
|
|
33669
|
+
p_day: string;
|
|
33670
|
+
p_days: number;
|
|
33671
|
+
};
|
|
33672
|
+
Returns: string;
|
|
33673
|
+
};
|
|
30916
33674
|
logistics_subtract_working_minutes: {
|
|
30917
33675
|
Args: {
|
|
30918
33676
|
p_deadline: string;
|
|
@@ -31004,6 +33762,10 @@ export type Database = {
|
|
|
31004
33762
|
name: string;
|
|
31005
33763
|
}[];
|
|
31006
33764
|
};
|
|
33765
|
+
logistics_today_cart_ids: {
|
|
33766
|
+
Args: never;
|
|
33767
|
+
Returns: string[];
|
|
33768
|
+
};
|
|
31007
33769
|
logistics_trace: {
|
|
31008
33770
|
Args: {
|
|
31009
33771
|
p: Json;
|
|
@@ -31169,6 +33931,22 @@ export type Database = {
|
|
|
31169
33931
|
};
|
|
31170
33932
|
Returns: Json;
|
|
31171
33933
|
};
|
|
33934
|
+
logistics_tz: {
|
|
33935
|
+
Args: never;
|
|
33936
|
+
Returns: string;
|
|
33937
|
+
};
|
|
33938
|
+
logistics_unit_all_carts_scanned: {
|
|
33939
|
+
Args: {
|
|
33940
|
+
p_order_id: string;
|
|
33941
|
+
};
|
|
33942
|
+
Returns: boolean;
|
|
33943
|
+
};
|
|
33944
|
+
logistics_unit_order_ids: {
|
|
33945
|
+
Args: {
|
|
33946
|
+
p_order_id: string;
|
|
33947
|
+
};
|
|
33948
|
+
Returns: string[];
|
|
33949
|
+
};
|
|
31172
33950
|
logistics_upsert_task: {
|
|
31173
33951
|
Args: {
|
|
31174
33952
|
p_buffer_ref: string;
|
|
@@ -31384,6 +34162,12 @@ export type Database = {
|
|
|
31384
34162
|
Args: never;
|
|
31385
34163
|
Returns: Json;
|
|
31386
34164
|
};
|
|
34165
|
+
pick_assert_printable: {
|
|
34166
|
+
Args: {
|
|
34167
|
+
_item: Database["public"]["Tables"]["pick_queue"]["Row"];
|
|
34168
|
+
};
|
|
34169
|
+
Returns: undefined;
|
|
34170
|
+
};
|
|
31387
34171
|
pick_available_pick_days: {
|
|
31388
34172
|
Args: {
|
|
31389
34173
|
_max_days?: number;
|
|
@@ -31665,6 +34449,13 @@ export type Database = {
|
|
|
31665
34449
|
};
|
|
31666
34450
|
Returns: string;
|
|
31667
34451
|
};
|
|
34452
|
+
pick_find_sent_elsewhere: {
|
|
34453
|
+
Args: {
|
|
34454
|
+
_cart_id: string;
|
|
34455
|
+
_queue_item_id: string;
|
|
34456
|
+
};
|
|
34457
|
+
Returns: Json;
|
|
34458
|
+
};
|
|
31668
34459
|
pick_is_reference_admin: {
|
|
31669
34460
|
Args: never;
|
|
31670
34461
|
Returns: boolean;
|
|
@@ -31757,6 +34548,12 @@ export type Database = {
|
|
|
31757
34548
|
};
|
|
31758
34549
|
Returns: Json;
|
|
31759
34550
|
};
|
|
34551
|
+
pick_queue_cart_plan_v152: {
|
|
34552
|
+
Args: {
|
|
34553
|
+
_queue_item_id: string;
|
|
34554
|
+
};
|
|
34555
|
+
Returns: Json;
|
|
34556
|
+
};
|
|
31760
34557
|
pick_reference_data_status: {
|
|
31761
34558
|
Args: never;
|
|
31762
34559
|
Returns: Json;
|
|
@@ -32098,6 +34895,20 @@ export type Database = {
|
|
|
32098
34895
|
};
|
|
32099
34896
|
Returns: Json;
|
|
32100
34897
|
};
|
|
34898
|
+
pickstation_auto_send_status: {
|
|
34899
|
+
Args: {
|
|
34900
|
+
p_order_id: string;
|
|
34901
|
+
p_slug: string;
|
|
34902
|
+
};
|
|
34903
|
+
Returns: Json;
|
|
34904
|
+
};
|
|
34905
|
+
pickstation_cart_sticker_state: {
|
|
34906
|
+
Args: {
|
|
34907
|
+
p_cart_id: string;
|
|
34908
|
+
p_slug: string;
|
|
34909
|
+
};
|
|
34910
|
+
Returns: Json;
|
|
34911
|
+
};
|
|
32101
34912
|
pickstation_get_orders_raw: {
|
|
32102
34913
|
Args: never;
|
|
32103
34914
|
Returns: Json;
|
|
@@ -32120,6 +34931,13 @@ export type Database = {
|
|
|
32120
34931
|
};
|
|
32121
34932
|
Returns: undefined;
|
|
32122
34933
|
};
|
|
34934
|
+
pickstation_order_sticker_meldingen: {
|
|
34935
|
+
Args: {
|
|
34936
|
+
p_order_id: string;
|
|
34937
|
+
p_slug: string;
|
|
34938
|
+
};
|
|
34939
|
+
Returns: Json;
|
|
34940
|
+
};
|
|
32123
34941
|
pickstation_resolve_delivery_orders: {
|
|
32124
34942
|
Args: {
|
|
32125
34943
|
p_sales_order_ids: string[];
|
|
@@ -32185,6 +35003,12 @@ export type Database = {
|
|
|
32185
35003
|
};
|
|
32186
35004
|
Returns: undefined;
|
|
32187
35005
|
};
|
|
35006
|
+
planning_cleanup_old_logs: {
|
|
35007
|
+
Args: {
|
|
35008
|
+
_keep_days?: number;
|
|
35009
|
+
};
|
|
35010
|
+
Returns: number;
|
|
35011
|
+
};
|
|
32188
35012
|
planning_html_escape: {
|
|
32189
35013
|
Args: {
|
|
32190
35014
|
t: string;
|
|
@@ -32225,6 +35049,10 @@ export type Database = {
|
|
|
32225
35049
|
isSetofReturn: true;
|
|
32226
35050
|
};
|
|
32227
35051
|
};
|
|
35052
|
+
planning_mijn_eigen_vervoer: {
|
|
35053
|
+
Args: never;
|
|
35054
|
+
Returns: boolean;
|
|
35055
|
+
};
|
|
32228
35056
|
planning_set_assistants: {
|
|
32229
35057
|
Args: {
|
|
32230
35058
|
_monteur_ids: string[];
|
|
@@ -32251,6 +35079,35 @@ export type Database = {
|
|
|
32251
35079
|
};
|
|
32252
35080
|
Returns: string;
|
|
32253
35081
|
};
|
|
35082
|
+
print_formaat_klasse: {
|
|
35083
|
+
Args: {
|
|
35084
|
+
_code: string;
|
|
35085
|
+
};
|
|
35086
|
+
Returns: string;
|
|
35087
|
+
};
|
|
35088
|
+
print_is_etiketsoort: {
|
|
35089
|
+
Args: {
|
|
35090
|
+
_t: string;
|
|
35091
|
+
};
|
|
35092
|
+
Returns: boolean;
|
|
35093
|
+
};
|
|
35094
|
+
print_is_labelprinter: {
|
|
35095
|
+
Args: {
|
|
35096
|
+
_printer_id: string;
|
|
35097
|
+
};
|
|
35098
|
+
Returns: boolean;
|
|
35099
|
+
};
|
|
35100
|
+
print_job_status_uitgebreid: {
|
|
35101
|
+
Args: {
|
|
35102
|
+
_job_id: string;
|
|
35103
|
+
};
|
|
35104
|
+
Returns: {
|
|
35105
|
+
fout_bericht: string;
|
|
35106
|
+
fout_code: string;
|
|
35107
|
+
mislukt: boolean;
|
|
35108
|
+
status: string;
|
|
35109
|
+
}[];
|
|
35110
|
+
};
|
|
32254
35111
|
print_preview_toestaan: {
|
|
32255
35112
|
Args: {
|
|
32256
35113
|
_max?: number;
|
|
@@ -32269,6 +35126,24 @@ export type Database = {
|
|
|
32269
35126
|
};
|
|
32270
35127
|
Returns: undefined;
|
|
32271
35128
|
};
|
|
35129
|
+
print_shell_url: {
|
|
35130
|
+
Args: never;
|
|
35131
|
+
Returns: string;
|
|
35132
|
+
};
|
|
35133
|
+
print_url_norm: {
|
|
35134
|
+
Args: {
|
|
35135
|
+
_u: string;
|
|
35136
|
+
};
|
|
35137
|
+
Returns: string;
|
|
35138
|
+
};
|
|
35139
|
+
print_werkplek_keuze: {
|
|
35140
|
+
Args: {
|
|
35141
|
+
_documenttype: string;
|
|
35142
|
+
_klasse: string;
|
|
35143
|
+
_werkplek_id: string;
|
|
35144
|
+
};
|
|
35145
|
+
Returns: Json;
|
|
35146
|
+
};
|
|
32272
35147
|
printer_gebruik: {
|
|
32273
35148
|
Args: {
|
|
32274
35149
|
_printer: string;
|
|
@@ -32282,6 +35157,7 @@ export type Database = {
|
|
|
32282
35157
|
_papierformaat?: string;
|
|
32283
35158
|
_print_plek_id?: string;
|
|
32284
35159
|
_werkplek?: string;
|
|
35160
|
+
_werkplek_id?: string;
|
|
32285
35161
|
};
|
|
32286
35162
|
Returns: Json;
|
|
32287
35163
|
};
|
|
@@ -32724,6 +35600,10 @@ export type Database = {
|
|
|
32724
35600
|
};
|
|
32725
35601
|
Returns: number;
|
|
32726
35602
|
};
|
|
35603
|
+
run_floriday_base_supply_process: {
|
|
35604
|
+
Args: never;
|
|
35605
|
+
Returns: undefined;
|
|
35606
|
+
};
|
|
32727
35607
|
run_floriday_continuous_stock_sync: {
|
|
32728
35608
|
Args: never;
|
|
32729
35609
|
Returns: undefined;
|
|
@@ -32847,6 +35727,14 @@ export type Database = {
|
|
|
32847
35727
|
};
|
|
32848
35728
|
Returns: Json;
|
|
32849
35729
|
};
|
|
35730
|
+
scan_kar_voortgang: {
|
|
35731
|
+
Args: {
|
|
35732
|
+
p_cart_id: string;
|
|
35733
|
+
p_scanner_id?: string;
|
|
35734
|
+
p_slug?: string;
|
|
35735
|
+
};
|
|
35736
|
+
Returns: Json;
|
|
35737
|
+
};
|
|
32850
35738
|
scan_log_code: {
|
|
32851
35739
|
Args: {
|
|
32852
35740
|
p_code: string;
|
|
@@ -32864,6 +35752,12 @@ export type Database = {
|
|
|
32864
35752
|
};
|
|
32865
35753
|
Returns: Json;
|
|
32866
35754
|
};
|
|
35755
|
+
scan_order_klant: {
|
|
35756
|
+
Args: {
|
|
35757
|
+
p_order_id: string;
|
|
35758
|
+
};
|
|
35759
|
+
Returns: Json;
|
|
35760
|
+
};
|
|
32867
35761
|
scan_pakbon_lookup: {
|
|
32868
35762
|
Args: {
|
|
32869
35763
|
p_barcode: string;
|
|
@@ -32970,6 +35864,10 @@ export type Database = {
|
|
|
32970
35864
|
};
|
|
32971
35865
|
Returns: Json;
|
|
32972
35866
|
};
|
|
35867
|
+
scan_tijdzone: {
|
|
35868
|
+
Args: never;
|
|
35869
|
+
Returns: string;
|
|
35870
|
+
};
|
|
32973
35871
|
scan_verzendbrief_regels: {
|
|
32974
35872
|
Args: {
|
|
32975
35873
|
p_sessie_id: string;
|
|
@@ -33298,6 +36196,26 @@ export type Database = {
|
|
|
33298
36196
|
trade_item_key: string;
|
|
33299
36197
|
updated_at: string;
|
|
33300
36198
|
}[];
|
|
36199
|
+
} | {
|
|
36200
|
+
Args: {
|
|
36201
|
+
p_change_source?: string;
|
|
36202
|
+
p_incoming_stock?: number;
|
|
36203
|
+
p_minimum_stock?: number;
|
|
36204
|
+
p_notes?: string;
|
|
36205
|
+
p_physical_stock: number;
|
|
36206
|
+
p_product_id: string;
|
|
36207
|
+
};
|
|
36208
|
+
Returns: {
|
|
36209
|
+
connection_id: string;
|
|
36210
|
+
incoming_stock: number;
|
|
36211
|
+
minimum_stock: number;
|
|
36212
|
+
notes: string;
|
|
36213
|
+
physical_stock: number;
|
|
36214
|
+
product_id: string;
|
|
36215
|
+
reserved_stock: number;
|
|
36216
|
+
trade_item_key: string;
|
|
36217
|
+
updated_at: string;
|
|
36218
|
+
}[];
|
|
33301
36219
|
};
|
|
33302
36220
|
show_limit: {
|
|
33303
36221
|
Args: never;
|
|
@@ -33320,6 +36238,40 @@ export type Database = {
|
|
|
33320
36238
|
};
|
|
33321
36239
|
Returns: Json;
|
|
33322
36240
|
};
|
|
36241
|
+
stock_import_cleanup: {
|
|
36242
|
+
Args: never;
|
|
36243
|
+
Returns: number;
|
|
36244
|
+
};
|
|
36245
|
+
stock_import_create: {
|
|
36246
|
+
Args: {
|
|
36247
|
+
p_connection_id: string;
|
|
36248
|
+
p_file_hash: string;
|
|
36249
|
+
p_filename: string;
|
|
36250
|
+
p_force?: boolean;
|
|
36251
|
+
p_rows: Json;
|
|
36252
|
+
};
|
|
36253
|
+
Returns: Json;
|
|
36254
|
+
};
|
|
36255
|
+
stock_import_process_chunk: {
|
|
36256
|
+
Args: {
|
|
36257
|
+
p_chunk_no: number;
|
|
36258
|
+
p_run_id: string;
|
|
36259
|
+
};
|
|
36260
|
+
Returns: Json;
|
|
36261
|
+
};
|
|
36262
|
+
stock_import_stop: {
|
|
36263
|
+
Args: {
|
|
36264
|
+
p_run_id: string;
|
|
36265
|
+
};
|
|
36266
|
+
Returns: Json;
|
|
36267
|
+
};
|
|
36268
|
+
stock_import_undo_chunk: {
|
|
36269
|
+
Args: {
|
|
36270
|
+
p_chunk_no: number;
|
|
36271
|
+
p_run_id: string;
|
|
36272
|
+
};
|
|
36273
|
+
Returns: Json;
|
|
36274
|
+
};
|
|
33323
36275
|
stop_time_log: {
|
|
33324
36276
|
Args: {
|
|
33325
36277
|
p_employee_id: string;
|
|
@@ -33469,6 +36421,14 @@ export type Database = {
|
|
|
33469
36421
|
};
|
|
33470
36422
|
Returns: boolean;
|
|
33471
36423
|
};
|
|
36424
|
+
twinfield_connection_offices: {
|
|
36425
|
+
Args: never;
|
|
36426
|
+
Returns: {
|
|
36427
|
+
connection_id: string;
|
|
36428
|
+
is_active: boolean;
|
|
36429
|
+
office_code: string;
|
|
36430
|
+
}[];
|
|
36431
|
+
};
|
|
33472
36432
|
twinfield_cron_lock_acquire: {
|
|
33473
36433
|
Args: {
|
|
33474
36434
|
_job_name: string;
|
|
@@ -33555,6 +36515,10 @@ export type Database = {
|
|
|
33555
36515
|
};
|
|
33556
36516
|
Returns: undefined;
|
|
33557
36517
|
};
|
|
36518
|
+
uren_cao_settings_zorg: {
|
|
36519
|
+
Args: never;
|
|
36520
|
+
Returns: string;
|
|
36521
|
+
};
|
|
33558
36522
|
uren_collega_agenda: {
|
|
33559
36523
|
Args: {
|
|
33560
36524
|
_monteur: string;
|
|
@@ -33715,10 +36679,22 @@ export type Database = {
|
|
|
33715
36679
|
Args: never;
|
|
33716
36680
|
Returns: number;
|
|
33717
36681
|
};
|
|
36682
|
+
uren_module_gezondheid: {
|
|
36683
|
+
Args: never;
|
|
36684
|
+
Returns: Json;
|
|
36685
|
+
};
|
|
36686
|
+
uren_module_status: {
|
|
36687
|
+
Args: never;
|
|
36688
|
+
Returns: Json;
|
|
36689
|
+
};
|
|
33718
36690
|
uren_my_monteur_id: {
|
|
33719
36691
|
Args: never;
|
|
33720
36692
|
Returns: string;
|
|
33721
36693
|
};
|
|
36694
|
+
uren_opschonen_indien_nodig: {
|
|
36695
|
+
Args: never;
|
|
36696
|
+
Returns: boolean;
|
|
36697
|
+
};
|
|
33722
36698
|
uren_overuren_indienen: {
|
|
33723
36699
|
Args: {
|
|
33724
36700
|
_datum: string;
|
|
@@ -33729,6 +36705,12 @@ export type Database = {
|
|
|
33729
36705
|
};
|
|
33730
36706
|
Returns: undefined;
|
|
33731
36707
|
};
|
|
36708
|
+
uren_overuren_intrekken: {
|
|
36709
|
+
Args: {
|
|
36710
|
+
_datum: string;
|
|
36711
|
+
};
|
|
36712
|
+
Returns: undefined;
|
|
36713
|
+
};
|
|
33732
36714
|
uren_pagina_toegang_instellen: {
|
|
33733
36715
|
Args: {
|
|
33734
36716
|
_toegang: boolean;
|
|
@@ -34049,16 +37031,57 @@ export type Database = {
|
|
|
34049
37031
|
};
|
|
34050
37032
|
Returns: Json;
|
|
34051
37033
|
};
|
|
37034
|
+
voorraad_can_write: {
|
|
37035
|
+
Args: never;
|
|
37036
|
+
Returns: boolean;
|
|
37037
|
+
};
|
|
34052
37038
|
voorraad_cleanup_old_rows: {
|
|
34053
37039
|
Args: never;
|
|
34054
37040
|
Returns: Json;
|
|
34055
37041
|
};
|
|
37042
|
+
voorraad_hook_base_url: {
|
|
37043
|
+
Args: never;
|
|
37044
|
+
Returns: string;
|
|
37045
|
+
};
|
|
37046
|
+
voorraad_hook_on: {
|
|
37047
|
+
Args: {
|
|
37048
|
+
p_name: string;
|
|
37049
|
+
};
|
|
37050
|
+
Returns: boolean;
|
|
37051
|
+
};
|
|
37052
|
+
voorraad_hook_post: {
|
|
37053
|
+
Args: {
|
|
37054
|
+
p_path: string;
|
|
37055
|
+
p_timeout?: number;
|
|
37056
|
+
};
|
|
37057
|
+
Returns: undefined;
|
|
37058
|
+
};
|
|
37059
|
+
voorraad_production_enabled: {
|
|
37060
|
+
Args: never;
|
|
37061
|
+
Returns: boolean;
|
|
37062
|
+
};
|
|
37063
|
+
voorraad_week_is_past: {
|
|
37064
|
+
Args: {
|
|
37065
|
+
p_week: number;
|
|
37066
|
+
p_year: number;
|
|
37067
|
+
};
|
|
37068
|
+
Returns: boolean;
|
|
37069
|
+
};
|
|
34056
37070
|
wake_print_queue: {
|
|
34057
37071
|
Args: {
|
|
34058
37072
|
_min_interval_ms?: number;
|
|
34059
37073
|
};
|
|
34060
37074
|
Returns: number;
|
|
34061
37075
|
};
|
|
37076
|
+
werkbon_format_project_number: {
|
|
37077
|
+
Args: {
|
|
37078
|
+
_parent_project_number?: string;
|
|
37079
|
+
_sequence_number: number;
|
|
37080
|
+
_source_type: string;
|
|
37081
|
+
_version: number;
|
|
37082
|
+
};
|
|
37083
|
+
Returns: string;
|
|
37084
|
+
};
|
|
34062
37085
|
werkbon_pakket_tijden: {
|
|
34063
37086
|
Args: {
|
|
34064
37087
|
_werkbon_id: string;
|
|
@@ -34081,6 +37104,31 @@ export type Database = {
|
|
|
34081
37104
|
total_minutes: number;
|
|
34082
37105
|
}[];
|
|
34083
37106
|
};
|
|
37107
|
+
werkplek_omzetting_toepassen: {
|
|
37108
|
+
Args: {
|
|
37109
|
+
_werkplekken: Json;
|
|
37110
|
+
};
|
|
37111
|
+
Returns: Json;
|
|
37112
|
+
};
|
|
37113
|
+
werkplek_omzetting_voorstel: {
|
|
37114
|
+
Args: never;
|
|
37115
|
+
Returns: Json;
|
|
37116
|
+
};
|
|
37117
|
+
wo_boek_standby_tijdvakken: {
|
|
37118
|
+
Args: {
|
|
37119
|
+
_tijdvakken: Json;
|
|
37120
|
+
_werkbon_id: string;
|
|
37121
|
+
};
|
|
37122
|
+
Returns: Json;
|
|
37123
|
+
};
|
|
37124
|
+
wo_boek_standby_uren: {
|
|
37125
|
+
Args: {
|
|
37126
|
+
_datum: string;
|
|
37127
|
+
_minuten: number;
|
|
37128
|
+
_werkbon_id: string;
|
|
37129
|
+
};
|
|
37130
|
+
Returns: Json;
|
|
37131
|
+
};
|
|
34084
37132
|
wo_create_from_source: {
|
|
34085
37133
|
Args: {
|
|
34086
37134
|
_payload?: Json;
|
|
@@ -34167,6 +37215,19 @@ export type Database = {
|
|
|
34167
37215
|
};
|
|
34168
37216
|
Returns: Json;
|
|
34169
37217
|
};
|
|
37218
|
+
wo_send_proposal_to_quote: {
|
|
37219
|
+
Args: {
|
|
37220
|
+
_id: string;
|
|
37221
|
+
_overrides?: Json;
|
|
37222
|
+
};
|
|
37223
|
+
Returns: Json;
|
|
37224
|
+
};
|
|
37225
|
+
wo_send_to_quote: {
|
|
37226
|
+
Args: {
|
|
37227
|
+
_werkbon_id: string;
|
|
37228
|
+
};
|
|
37229
|
+
Returns: Json;
|
|
37230
|
+
};
|
|
34170
37231
|
wo_set_status: {
|
|
34171
37232
|
Args: {
|
|
34172
37233
|
_reason?: string;
|
|
@@ -34175,11 +37236,35 @@ export type Database = {
|
|
|
34175
37236
|
};
|
|
34176
37237
|
Returns: Json;
|
|
34177
37238
|
};
|
|
37239
|
+
wo_standby_dag_herberekenen: {
|
|
37240
|
+
Args: {
|
|
37241
|
+
_datum: string;
|
|
37242
|
+
_monteur: string;
|
|
37243
|
+
};
|
|
37244
|
+
Returns: Json;
|
|
37245
|
+
};
|
|
37246
|
+
wo_standby_ov_dag: {
|
|
37247
|
+
Args: {
|
|
37248
|
+
_dienst: Json;
|
|
37249
|
+
_dow: number;
|
|
37250
|
+
_feest: boolean;
|
|
37251
|
+
_vakken: Json;
|
|
37252
|
+
};
|
|
37253
|
+
Returns: Json;
|
|
37254
|
+
};
|
|
37255
|
+
wo_standby_tijdzone: {
|
|
37256
|
+
Args: never;
|
|
37257
|
+
Returns: string;
|
|
37258
|
+
};
|
|
37259
|
+
wo_timer_stop_0400: {
|
|
37260
|
+
Args: never;
|
|
37261
|
+
Returns: number;
|
|
37262
|
+
};
|
|
34178
37263
|
};
|
|
34179
37264
|
Enums: {
|
|
34180
37265
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
34181
37266
|
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "superadmin";
|
|
34182
|
-
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
|
|
37267
|
+
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief" | "traysticker";
|
|
34183
37268
|
doc_orientation: "portrait" | "landscape";
|
|
34184
37269
|
exact_env: "staging" | "live";
|
|
34185
37270
|
exact_push_status: "pending" | "sent" | "error";
|
|
@@ -34250,7 +37335,7 @@ export declare const Constants: {
|
|
|
34250
37335
|
readonly Enums: {
|
|
34251
37336
|
readonly ai_import_status: readonly ["nieuw", "verwerken", "bevestigen", "klaar", "mislukt"];
|
|
34252
37337
|
readonly app_role: readonly ["admin", "planner", "monteur", "administratie", "ai_admin", "manager", "warehouse", "sales", "developer", "receptie", "superadmin"];
|
|
34253
|
-
readonly doc_layout_type: readonly ["pakbon", "factuur", "offerte", "orderbevestiging", "etiket", "verzendlabel", "productlabel", "barcode_label", "magazijnlijst", "controlelijst", "transportdocument", "vrij", "sticker", "productiebon", "veilingbon", "afleverbrief", "veilingbrief"];
|
|
37338
|
+
readonly doc_layout_type: readonly ["pakbon", "factuur", "offerte", "orderbevestiging", "etiket", "verzendlabel", "productlabel", "barcode_label", "magazijnlijst", "controlelijst", "transportdocument", "vrij", "sticker", "productiebon", "veilingbon", "afleverbrief", "veilingbrief", "traysticker"];
|
|
34254
37339
|
readonly doc_orientation: readonly ["portrait", "landscape"];
|
|
34255
37340
|
readonly exact_env: readonly ["staging", "live"];
|
|
34256
37341
|
readonly exact_push_status: readonly ["pending", "sent", "error"];
|