@flowselections/mailbox-orders 1.0.26 → 1.0.27
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/CartAssignmentWizard.d.ts +6 -0
- package/dist-lib/components/CartAssignmentWizard.d.ts.map +1 -0
- package/dist-lib/components/CartAssignmentWizard.js +199 -0
- package/dist-lib/components/MailboxInboxPage.d.ts +2 -0
- package/dist-lib/components/MailboxInboxPage.d.ts.map +1 -0
- package/dist-lib/components/MailboxInboxPage.js +120 -0
- package/dist-lib/components/MailboxProcessedPage.js +1 -1
- package/dist-lib/components/MailboxProposalsPage.js +5 -5
- package/dist-lib/components/settings/ImapAccountsCard.d.ts +2 -0
- package/dist-lib/components/settings/ImapAccountsCard.d.ts.map +1 -0
- package/dist-lib/components/settings/ImapAccountsCard.js +136 -0
- package/dist-lib/components/settings/ImapProfilesCard.d.ts +2 -0
- package/dist-lib/components/settings/ImapProfilesCard.d.ts.map +1 -0
- package/dist-lib/components/settings/ImapProfilesCard.js +101 -0
- package/dist-lib/components/settings/MailboxAiPromptCard.js +2 -2
- package/dist-lib/components/settings/MailboxOrderTemplateCard.js +1 -1
- package/dist-lib/components/settings/MailboxSettingsCard.d.ts +2 -0
- package/dist-lib/components/settings/MailboxSettingsCard.d.ts.map +1 -0
- package/dist-lib/components/settings/MailboxSettingsCard.js +85 -0
- package/dist-lib/integrations/supabase/client.server.js +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +2746 -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/ai-config.server.d.ts +1 -1
- package/dist-lib/lib/imap.functions.d.ts +32852 -0
- package/dist-lib/lib/imap.functions.d.ts.map +1 -0
- package/dist-lib/lib/imap.functions.js +235 -0
- package/dist-lib/lib/mailbox-ai-settings.functions.d.ts +2 -2
- 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-auto.server.d.ts +9 -0
- package/dist-lib/lib/mailbox-auto.server.d.ts.map +1 -0
- package/dist-lib/lib/mailbox-auto.server.js +198 -0
- package/dist-lib/lib/mailbox-ingest.server.d.ts +1 -1
- package/dist-lib/lib/mailbox-ingest.server.js +1 -1
- package/dist-lib/lib/mailbox-template.functions.d.ts +6 -6
- package/dist-lib/lib/mailbox-template.functions.js +1 -1
- package/dist-lib/lib/mailbox.functions.d.ts +25 -24
- package/dist-lib/lib/mailbox.functions.d.ts.map +1 -1
- package/dist-lib/lib/mailbox.functions.js +22 -22
- 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 +38 -6
|
@@ -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,59 @@ 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;
|
|
1228
1240
|
outbox_id: string | null;
|
|
1229
1241
|
pickup_date: string;
|
|
1230
1242
|
pickup_moment_key: string;
|
|
1243
|
+
previous_cart_count: number | null;
|
|
1244
|
+
recipient: string | null;
|
|
1231
1245
|
sent_at: string;
|
|
1232
1246
|
signup_deadline: string;
|
|
1247
|
+
source: string;
|
|
1248
|
+
version: number;
|
|
1233
1249
|
};
|
|
1234
1250
|
Insert: {
|
|
1235
1251
|
carrier_id: string;
|
|
1236
1252
|
cart_count?: number;
|
|
1253
|
+
cart_ids?: string[] | null;
|
|
1237
1254
|
created_at?: string;
|
|
1255
|
+
fingerprint?: string | null;
|
|
1238
1256
|
id?: string;
|
|
1257
|
+
kind?: string;
|
|
1239
1258
|
order_count?: number;
|
|
1240
1259
|
outbox_id?: string | null;
|
|
1241
1260
|
pickup_date: string;
|
|
1242
1261
|
pickup_moment_key: string;
|
|
1262
|
+
previous_cart_count?: number | null;
|
|
1263
|
+
recipient?: string | null;
|
|
1243
1264
|
sent_at?: string;
|
|
1244
1265
|
signup_deadline: string;
|
|
1266
|
+
source?: string;
|
|
1267
|
+
version?: number;
|
|
1245
1268
|
};
|
|
1246
1269
|
Update: {
|
|
1247
1270
|
carrier_id?: string;
|
|
1248
1271
|
cart_count?: number;
|
|
1272
|
+
cart_ids?: string[] | null;
|
|
1249
1273
|
created_at?: string;
|
|
1274
|
+
fingerprint?: string | null;
|
|
1250
1275
|
id?: string;
|
|
1276
|
+
kind?: string;
|
|
1251
1277
|
order_count?: number;
|
|
1252
1278
|
outbox_id?: string | null;
|
|
1253
1279
|
pickup_date?: string;
|
|
1254
1280
|
pickup_moment_key?: string;
|
|
1281
|
+
previous_cart_count?: number | null;
|
|
1282
|
+
recipient?: string | null;
|
|
1255
1283
|
sent_at?: string;
|
|
1256
1284
|
signup_deadline?: string;
|
|
1285
|
+
source?: string;
|
|
1286
|
+
version?: number;
|
|
1257
1287
|
};
|
|
1258
1288
|
Relationships: [
|
|
1259
1289
|
{
|
|
@@ -2602,6 +2632,7 @@ export type Database = {
|
|
|
2602
2632
|
twinfield_base_snapshot: Json | null;
|
|
2603
2633
|
twinfield_base_version: number | null;
|
|
2604
2634
|
twinfield_code: string | null;
|
|
2635
|
+
twinfield_create_on_insert: boolean;
|
|
2605
2636
|
twinfield_last_hash: string | null;
|
|
2606
2637
|
twinfield_missing_since: string | null;
|
|
2607
2638
|
twinfield_present: boolean;
|
|
@@ -2693,6 +2724,7 @@ export type Database = {
|
|
|
2693
2724
|
twinfield_base_snapshot?: Json | null;
|
|
2694
2725
|
twinfield_base_version?: number | null;
|
|
2695
2726
|
twinfield_code?: string | null;
|
|
2727
|
+
twinfield_create_on_insert?: boolean;
|
|
2696
2728
|
twinfield_last_hash?: string | null;
|
|
2697
2729
|
twinfield_missing_since?: string | null;
|
|
2698
2730
|
twinfield_present?: boolean;
|
|
@@ -2784,6 +2816,7 @@ export type Database = {
|
|
|
2784
2816
|
twinfield_base_snapshot?: Json | null;
|
|
2785
2817
|
twinfield_base_version?: number | null;
|
|
2786
2818
|
twinfield_code?: string | null;
|
|
2819
|
+
twinfield_create_on_insert?: boolean;
|
|
2787
2820
|
twinfield_last_hash?: string | null;
|
|
2788
2821
|
twinfield_missing_since?: string | null;
|
|
2789
2822
|
twinfield_present?: boolean;
|
|
@@ -3059,6 +3092,27 @@ export type Database = {
|
|
|
3059
3092
|
}
|
|
3060
3093
|
];
|
|
3061
3094
|
};
|
|
3095
|
+
dashboard_funnel_indelingen: {
|
|
3096
|
+
Row: {
|
|
3097
|
+
created_at: string;
|
|
3098
|
+
posities: Json;
|
|
3099
|
+
updated_at: string;
|
|
3100
|
+
user_id: string;
|
|
3101
|
+
};
|
|
3102
|
+
Insert: {
|
|
3103
|
+
created_at?: string;
|
|
3104
|
+
posities?: Json;
|
|
3105
|
+
updated_at?: string;
|
|
3106
|
+
user_id?: string;
|
|
3107
|
+
};
|
|
3108
|
+
Update: {
|
|
3109
|
+
created_at?: string;
|
|
3110
|
+
posities?: Json;
|
|
3111
|
+
updated_at?: string;
|
|
3112
|
+
user_id?: string;
|
|
3113
|
+
};
|
|
3114
|
+
Relationships: [];
|
|
3115
|
+
};
|
|
3062
3116
|
dashboard_pages: {
|
|
3063
3117
|
Row: {
|
|
3064
3118
|
created_at: string;
|
|
@@ -3125,6 +3179,165 @@ export type Database = {
|
|
|
3125
3179
|
};
|
|
3126
3180
|
Relationships: [];
|
|
3127
3181
|
};
|
|
3182
|
+
dashboard_snelkoppelingen: {
|
|
3183
|
+
Row: {
|
|
3184
|
+
created_at: string;
|
|
3185
|
+
id: string;
|
|
3186
|
+
pad: string;
|
|
3187
|
+
titel: string;
|
|
3188
|
+
updated_at: string;
|
|
3189
|
+
user_id: string;
|
|
3190
|
+
volgorde: number;
|
|
3191
|
+
};
|
|
3192
|
+
Insert: {
|
|
3193
|
+
created_at?: string;
|
|
3194
|
+
id?: string;
|
|
3195
|
+
pad: string;
|
|
3196
|
+
titel: string;
|
|
3197
|
+
updated_at?: string;
|
|
3198
|
+
user_id?: string;
|
|
3199
|
+
volgorde?: number;
|
|
3200
|
+
};
|
|
3201
|
+
Update: {
|
|
3202
|
+
created_at?: string;
|
|
3203
|
+
id?: string;
|
|
3204
|
+
pad?: string;
|
|
3205
|
+
titel?: string;
|
|
3206
|
+
updated_at?: string;
|
|
3207
|
+
user_id?: string;
|
|
3208
|
+
volgorde?: number;
|
|
3209
|
+
};
|
|
3210
|
+
Relationships: [];
|
|
3211
|
+
};
|
|
3212
|
+
dashboard_werkbon_dagtellers: {
|
|
3213
|
+
Row: {
|
|
3214
|
+
aantal: number;
|
|
3215
|
+
created_at: string;
|
|
3216
|
+
datum: string;
|
|
3217
|
+
soort: string;
|
|
3218
|
+
updated_at: string;
|
|
3219
|
+
};
|
|
3220
|
+
Insert: {
|
|
3221
|
+
aantal?: number;
|
|
3222
|
+
created_at?: string;
|
|
3223
|
+
datum: string;
|
|
3224
|
+
soort: string;
|
|
3225
|
+
updated_at?: string;
|
|
3226
|
+
};
|
|
3227
|
+
Update: {
|
|
3228
|
+
aantal?: number;
|
|
3229
|
+
created_at?: string;
|
|
3230
|
+
datum?: string;
|
|
3231
|
+
soort?: string;
|
|
3232
|
+
updated_at?: string;
|
|
3233
|
+
};
|
|
3234
|
+
Relationships: [];
|
|
3235
|
+
};
|
|
3236
|
+
dashboard_werkbon_factuurhistorie: {
|
|
3237
|
+
Row: {
|
|
3238
|
+
bedrag_cents: number;
|
|
3239
|
+
created_at: string;
|
|
3240
|
+
factuur_id: string;
|
|
3241
|
+
status: string;
|
|
3242
|
+
updated_at: string;
|
|
3243
|
+
werkbon_id: string;
|
|
3244
|
+
};
|
|
3245
|
+
Insert: {
|
|
3246
|
+
bedrag_cents: number;
|
|
3247
|
+
created_at?: string;
|
|
3248
|
+
factuur_id: string;
|
|
3249
|
+
status: string;
|
|
3250
|
+
updated_at?: string;
|
|
3251
|
+
werkbon_id: string;
|
|
3252
|
+
};
|
|
3253
|
+
Update: {
|
|
3254
|
+
bedrag_cents?: number;
|
|
3255
|
+
created_at?: string;
|
|
3256
|
+
factuur_id?: string;
|
|
3257
|
+
status?: string;
|
|
3258
|
+
updated_at?: string;
|
|
3259
|
+
werkbon_id?: string;
|
|
3260
|
+
};
|
|
3261
|
+
Relationships: [];
|
|
3262
|
+
};
|
|
3263
|
+
dashboard_werkbon_historie: {
|
|
3264
|
+
Row: {
|
|
3265
|
+
aangemaakt_op: string;
|
|
3266
|
+
afgerond_op: string | null;
|
|
3267
|
+
created_at: string;
|
|
3268
|
+
parent_werkbon_id: string | null;
|
|
3269
|
+
soort: string;
|
|
3270
|
+
updated_at: string;
|
|
3271
|
+
werkbon_id: string;
|
|
3272
|
+
};
|
|
3273
|
+
Insert: {
|
|
3274
|
+
aangemaakt_op: string;
|
|
3275
|
+
afgerond_op?: string | null;
|
|
3276
|
+
created_at?: string;
|
|
3277
|
+
parent_werkbon_id?: string | null;
|
|
3278
|
+
soort: string;
|
|
3279
|
+
updated_at?: string;
|
|
3280
|
+
werkbon_id: string;
|
|
3281
|
+
};
|
|
3282
|
+
Update: {
|
|
3283
|
+
aangemaakt_op?: string;
|
|
3284
|
+
afgerond_op?: string | null;
|
|
3285
|
+
created_at?: string;
|
|
3286
|
+
parent_werkbon_id?: string | null;
|
|
3287
|
+
soort?: string;
|
|
3288
|
+
updated_at?: string;
|
|
3289
|
+
werkbon_id?: string;
|
|
3290
|
+
};
|
|
3291
|
+
Relationships: [];
|
|
3292
|
+
};
|
|
3293
|
+
dashboard_werkbon_mailhistorie: {
|
|
3294
|
+
Row: {
|
|
3295
|
+
created_at: string;
|
|
3296
|
+
goedgekeurd_op: string;
|
|
3297
|
+
updated_at: string;
|
|
3298
|
+
voorstel_id: string;
|
|
3299
|
+
werkbon_id: string | null;
|
|
3300
|
+
};
|
|
3301
|
+
Insert: {
|
|
3302
|
+
created_at?: string;
|
|
3303
|
+
goedgekeurd_op: string;
|
|
3304
|
+
updated_at?: string;
|
|
3305
|
+
voorstel_id: string;
|
|
3306
|
+
werkbon_id?: string | null;
|
|
3307
|
+
};
|
|
3308
|
+
Update: {
|
|
3309
|
+
created_at?: string;
|
|
3310
|
+
goedgekeurd_op?: string;
|
|
3311
|
+
updated_at?: string;
|
|
3312
|
+
voorstel_id?: string;
|
|
3313
|
+
werkbon_id?: string | null;
|
|
3314
|
+
};
|
|
3315
|
+
Relationships: [];
|
|
3316
|
+
};
|
|
3317
|
+
dashboard_werkbon_tellers: {
|
|
3318
|
+
Row: {
|
|
3319
|
+
aantal: number;
|
|
3320
|
+
jaar: number;
|
|
3321
|
+
maand: number;
|
|
3322
|
+
soort: string;
|
|
3323
|
+
updated_at: string;
|
|
3324
|
+
};
|
|
3325
|
+
Insert: {
|
|
3326
|
+
aantal?: number;
|
|
3327
|
+
jaar: number;
|
|
3328
|
+
maand: number;
|
|
3329
|
+
soort: string;
|
|
3330
|
+
updated_at?: string;
|
|
3331
|
+
};
|
|
3332
|
+
Update: {
|
|
3333
|
+
aantal?: number;
|
|
3334
|
+
jaar?: number;
|
|
3335
|
+
maand?: number;
|
|
3336
|
+
soort?: string;
|
|
3337
|
+
updated_at?: string;
|
|
3338
|
+
};
|
|
3339
|
+
Relationships: [];
|
|
3340
|
+
};
|
|
3128
3341
|
delivery_notes: {
|
|
3129
3342
|
Row: {
|
|
3130
3343
|
byte_size: number | null;
|
|
@@ -6648,19 +6861,26 @@ export type Database = {
|
|
|
6648
6861
|
Row: {
|
|
6649
6862
|
attempts: number;
|
|
6650
6863
|
availability_sent_at: string | null;
|
|
6864
|
+
base_supply_outcome: string | null;
|
|
6651
6865
|
connection_id: string;
|
|
6652
6866
|
created_at: string;
|
|
6653
6867
|
dead_lettered_at: string | null;
|
|
6654
6868
|
desired_available: boolean | null;
|
|
6655
6869
|
gateway_attempt_id: string | null;
|
|
6870
|
+
gateway_unreachable_since: string | null;
|
|
6656
6871
|
id: string;
|
|
6657
6872
|
last_error: string | null;
|
|
6658
6873
|
locked_at: string | null;
|
|
6659
6874
|
locked_by: string | null;
|
|
6660
6875
|
next_attempt_at: string;
|
|
6661
6876
|
number_of_pieces: number;
|
|
6877
|
+
price_note: string | null;
|
|
6878
|
+
price_previous: number | null;
|
|
6879
|
+
price_sent: number | null;
|
|
6880
|
+
price_status: string | null;
|
|
6662
6881
|
product_id: string | null;
|
|
6663
6882
|
quantity_sent_at: string | null;
|
|
6883
|
+
result_label: string | null;
|
|
6664
6884
|
sent_at: string | null;
|
|
6665
6885
|
skip_reason: string | null;
|
|
6666
6886
|
status: string;
|
|
@@ -6675,19 +6895,26 @@ export type Database = {
|
|
|
6675
6895
|
Insert: {
|
|
6676
6896
|
attempts?: number;
|
|
6677
6897
|
availability_sent_at?: string | null;
|
|
6898
|
+
base_supply_outcome?: string | null;
|
|
6678
6899
|
connection_id: string;
|
|
6679
6900
|
created_at?: string;
|
|
6680
6901
|
dead_lettered_at?: string | null;
|
|
6681
6902
|
desired_available?: boolean | null;
|
|
6682
6903
|
gateway_attempt_id?: string | null;
|
|
6904
|
+
gateway_unreachable_since?: string | null;
|
|
6683
6905
|
id?: string;
|
|
6684
6906
|
last_error?: string | null;
|
|
6685
6907
|
locked_at?: string | null;
|
|
6686
6908
|
locked_by?: string | null;
|
|
6687
6909
|
next_attempt_at?: string;
|
|
6688
6910
|
number_of_pieces?: number;
|
|
6911
|
+
price_note?: string | null;
|
|
6912
|
+
price_previous?: number | null;
|
|
6913
|
+
price_sent?: number | null;
|
|
6914
|
+
price_status?: string | null;
|
|
6689
6915
|
product_id?: string | null;
|
|
6690
6916
|
quantity_sent_at?: string | null;
|
|
6917
|
+
result_label?: string | null;
|
|
6691
6918
|
sent_at?: string | null;
|
|
6692
6919
|
skip_reason?: string | null;
|
|
6693
6920
|
status?: string;
|
|
@@ -6702,19 +6929,26 @@ export type Database = {
|
|
|
6702
6929
|
Update: {
|
|
6703
6930
|
attempts?: number;
|
|
6704
6931
|
availability_sent_at?: string | null;
|
|
6932
|
+
base_supply_outcome?: string | null;
|
|
6705
6933
|
connection_id?: string;
|
|
6706
6934
|
created_at?: string;
|
|
6707
6935
|
dead_lettered_at?: string | null;
|
|
6708
6936
|
desired_available?: boolean | null;
|
|
6709
6937
|
gateway_attempt_id?: string | null;
|
|
6938
|
+
gateway_unreachable_since?: string | null;
|
|
6710
6939
|
id?: string;
|
|
6711
6940
|
last_error?: string | null;
|
|
6712
6941
|
locked_at?: string | null;
|
|
6713
6942
|
locked_by?: string | null;
|
|
6714
6943
|
next_attempt_at?: string;
|
|
6715
6944
|
number_of_pieces?: number;
|
|
6945
|
+
price_note?: string | null;
|
|
6946
|
+
price_previous?: number | null;
|
|
6947
|
+
price_sent?: number | null;
|
|
6948
|
+
price_status?: string | null;
|
|
6716
6949
|
product_id?: string | null;
|
|
6717
6950
|
quantity_sent_at?: string | null;
|
|
6951
|
+
result_label?: string | null;
|
|
6718
6952
|
sent_at?: string | null;
|
|
6719
6953
|
skip_reason?: string | null;
|
|
6720
6954
|
status?: string;
|
|
@@ -6851,6 +7085,59 @@ export type Database = {
|
|
|
6851
7085
|
}
|
|
6852
7086
|
];
|
|
6853
7087
|
};
|
|
7088
|
+
floriday_customer_sticker_upload_requests_cache: {
|
|
7089
|
+
Row: {
|
|
7090
|
+
connection_id: string;
|
|
7091
|
+
created_at: string;
|
|
7092
|
+
customer_sticker_id: string | null;
|
|
7093
|
+
data: Json;
|
|
7094
|
+
expires_on: string | null;
|
|
7095
|
+
fetched_at: string;
|
|
7096
|
+
floriday_id: string;
|
|
7097
|
+
id: string;
|
|
7098
|
+
responded_on: string | null;
|
|
7099
|
+
sales_order_id: string | null;
|
|
7100
|
+
sequence_number: number;
|
|
7101
|
+
status: string | null;
|
|
7102
|
+
};
|
|
7103
|
+
Insert: {
|
|
7104
|
+
connection_id: string;
|
|
7105
|
+
created_at?: string;
|
|
7106
|
+
customer_sticker_id?: string | null;
|
|
7107
|
+
data?: Json;
|
|
7108
|
+
expires_on?: string | null;
|
|
7109
|
+
fetched_at?: string;
|
|
7110
|
+
floriday_id: string;
|
|
7111
|
+
id?: string;
|
|
7112
|
+
responded_on?: string | null;
|
|
7113
|
+
sales_order_id?: string | null;
|
|
7114
|
+
sequence_number?: number;
|
|
7115
|
+
status?: string | null;
|
|
7116
|
+
};
|
|
7117
|
+
Update: {
|
|
7118
|
+
connection_id?: string;
|
|
7119
|
+
created_at?: string;
|
|
7120
|
+
customer_sticker_id?: string | null;
|
|
7121
|
+
data?: Json;
|
|
7122
|
+
expires_on?: string | null;
|
|
7123
|
+
fetched_at?: string;
|
|
7124
|
+
floriday_id?: string;
|
|
7125
|
+
id?: string;
|
|
7126
|
+
responded_on?: string | null;
|
|
7127
|
+
sales_order_id?: string | null;
|
|
7128
|
+
sequence_number?: number;
|
|
7129
|
+
status?: string | null;
|
|
7130
|
+
};
|
|
7131
|
+
Relationships: [
|
|
7132
|
+
{
|
|
7133
|
+
foreignKeyName: "floriday_customer_sticker_upload_requests_ca_connection_id_fkey";
|
|
7134
|
+
columns: ["connection_id"];
|
|
7135
|
+
isOneToOne: false;
|
|
7136
|
+
referencedRelation: "floriday_connections";
|
|
7137
|
+
referencedColumns: ["id"];
|
|
7138
|
+
}
|
|
7139
|
+
];
|
|
7140
|
+
};
|
|
6854
7141
|
floriday_customer_stickers_cache: {
|
|
6855
7142
|
Row: {
|
|
6856
7143
|
connection_id: string;
|
|
@@ -7178,6 +7465,59 @@ export type Database = {
|
|
|
7178
7465
|
}
|
|
7179
7466
|
];
|
|
7180
7467
|
};
|
|
7468
|
+
floriday_document_versions: {
|
|
7469
|
+
Row: {
|
|
7470
|
+
bucket: string;
|
|
7471
|
+
byte_size: number | null;
|
|
7472
|
+
connection_id: string;
|
|
7473
|
+
content_sha256: string;
|
|
7474
|
+
content_type: string | null;
|
|
7475
|
+
created_at: string;
|
|
7476
|
+
delivery_date: string | null;
|
|
7477
|
+
document_id: string;
|
|
7478
|
+
document_kind: string;
|
|
7479
|
+
id: string;
|
|
7480
|
+
storage_path: string;
|
|
7481
|
+
version: number;
|
|
7482
|
+
};
|
|
7483
|
+
Insert: {
|
|
7484
|
+
bucket: string;
|
|
7485
|
+
byte_size?: number | null;
|
|
7486
|
+
connection_id: string;
|
|
7487
|
+
content_sha256: string;
|
|
7488
|
+
content_type?: string | null;
|
|
7489
|
+
created_at?: string;
|
|
7490
|
+
delivery_date?: string | null;
|
|
7491
|
+
document_id: string;
|
|
7492
|
+
document_kind: string;
|
|
7493
|
+
id?: string;
|
|
7494
|
+
storage_path: string;
|
|
7495
|
+
version: number;
|
|
7496
|
+
};
|
|
7497
|
+
Update: {
|
|
7498
|
+
bucket?: string;
|
|
7499
|
+
byte_size?: number | null;
|
|
7500
|
+
connection_id?: string;
|
|
7501
|
+
content_sha256?: string;
|
|
7502
|
+
content_type?: string | null;
|
|
7503
|
+
created_at?: string;
|
|
7504
|
+
delivery_date?: string | null;
|
|
7505
|
+
document_id?: string;
|
|
7506
|
+
document_kind?: string;
|
|
7507
|
+
id?: string;
|
|
7508
|
+
storage_path?: string;
|
|
7509
|
+
version?: number;
|
|
7510
|
+
};
|
|
7511
|
+
Relationships: [
|
|
7512
|
+
{
|
|
7513
|
+
foreignKeyName: "floriday_document_versions_connection_id_fkey";
|
|
7514
|
+
columns: ["connection_id"];
|
|
7515
|
+
isOneToOne: false;
|
|
7516
|
+
referencedRelation: "floriday_connections";
|
|
7517
|
+
referencedColumns: ["id"];
|
|
7518
|
+
}
|
|
7519
|
+
];
|
|
7520
|
+
};
|
|
7181
7521
|
floriday_fulfillment_orders_cache: {
|
|
7182
7522
|
Row: {
|
|
7183
7523
|
auction_date: string | null;
|
|
@@ -7337,7 +7677,22 @@ export type Database = {
|
|
|
7337
7677
|
updated_by?: string | null;
|
|
7338
7678
|
user_id?: string;
|
|
7339
7679
|
};
|
|
7340
|
-
Relationships: [
|
|
7680
|
+
Relationships: [
|
|
7681
|
+
{
|
|
7682
|
+
foreignKeyName: "floriday_inventory_settings_product_id_fkey";
|
|
7683
|
+
columns: ["product_id"];
|
|
7684
|
+
isOneToOne: false;
|
|
7685
|
+
referencedRelation: "logistics_product_dimensions";
|
|
7686
|
+
referencedColumns: ["product_id"];
|
|
7687
|
+
},
|
|
7688
|
+
{
|
|
7689
|
+
foreignKeyName: "floriday_inventory_settings_product_id_fkey";
|
|
7690
|
+
columns: ["product_id"];
|
|
7691
|
+
isOneToOne: false;
|
|
7692
|
+
referencedRelation: "products";
|
|
7693
|
+
referencedColumns: ["id"];
|
|
7694
|
+
}
|
|
7695
|
+
];
|
|
7341
7696
|
};
|
|
7342
7697
|
floriday_invoices_cache: {
|
|
7343
7698
|
Row: {
|
|
@@ -7425,6 +7780,87 @@ export type Database = {
|
|
|
7425
7780
|
};
|
|
7426
7781
|
Relationships: [];
|
|
7427
7782
|
};
|
|
7783
|
+
floriday_loading_attempts: {
|
|
7784
|
+
Row: {
|
|
7785
|
+
code: string | null;
|
|
7786
|
+
created_at: string;
|
|
7787
|
+
created_by: string | null;
|
|
7788
|
+
delivery_note_url: string | null;
|
|
7789
|
+
delivery_order_id: string | null;
|
|
7790
|
+
fulfillment_order_id: string;
|
|
7791
|
+
http_status: number | null;
|
|
7792
|
+
id: string;
|
|
7793
|
+
message: string | null;
|
|
7794
|
+
order_refs: string[];
|
|
7795
|
+
request_summary: Json;
|
|
7796
|
+
sales_order_ids: string[];
|
|
7797
|
+
skipped_requests: Json;
|
|
7798
|
+
step: string;
|
|
7799
|
+
warnings: Json;
|
|
7800
|
+
};
|
|
7801
|
+
Insert: {
|
|
7802
|
+
code?: string | null;
|
|
7803
|
+
created_at?: string;
|
|
7804
|
+
created_by?: string | null;
|
|
7805
|
+
delivery_note_url?: string | null;
|
|
7806
|
+
delivery_order_id?: string | null;
|
|
7807
|
+
fulfillment_order_id: string;
|
|
7808
|
+
http_status?: number | null;
|
|
7809
|
+
id?: string;
|
|
7810
|
+
message?: string | null;
|
|
7811
|
+
order_refs?: string[];
|
|
7812
|
+
request_summary?: Json;
|
|
7813
|
+
sales_order_ids?: string[];
|
|
7814
|
+
skipped_requests?: Json;
|
|
7815
|
+
step: string;
|
|
7816
|
+
warnings?: Json;
|
|
7817
|
+
};
|
|
7818
|
+
Update: {
|
|
7819
|
+
code?: string | null;
|
|
7820
|
+
created_at?: string;
|
|
7821
|
+
created_by?: string | null;
|
|
7822
|
+
delivery_note_url?: string | null;
|
|
7823
|
+
delivery_order_id?: string | null;
|
|
7824
|
+
fulfillment_order_id?: string;
|
|
7825
|
+
http_status?: number | null;
|
|
7826
|
+
id?: string;
|
|
7827
|
+
message?: string | null;
|
|
7828
|
+
order_refs?: string[];
|
|
7829
|
+
request_summary?: Json;
|
|
7830
|
+
sales_order_ids?: string[];
|
|
7831
|
+
skipped_requests?: Json;
|
|
7832
|
+
step?: string;
|
|
7833
|
+
warnings?: Json;
|
|
7834
|
+
};
|
|
7835
|
+
Relationships: [];
|
|
7836
|
+
};
|
|
7837
|
+
floriday_loading_identifiers: {
|
|
7838
|
+
Row: {
|
|
7839
|
+
created_at: string;
|
|
7840
|
+
created_by: string | null;
|
|
7841
|
+
id: string;
|
|
7842
|
+
identifier: string;
|
|
7843
|
+
natural_key: string;
|
|
7844
|
+
scope: string;
|
|
7845
|
+
};
|
|
7846
|
+
Insert: {
|
|
7847
|
+
created_at?: string;
|
|
7848
|
+
created_by?: string | null;
|
|
7849
|
+
id?: string;
|
|
7850
|
+
identifier?: string;
|
|
7851
|
+
natural_key: string;
|
|
7852
|
+
scope: string;
|
|
7853
|
+
};
|
|
7854
|
+
Update: {
|
|
7855
|
+
created_at?: string;
|
|
7856
|
+
created_by?: string | null;
|
|
7857
|
+
id?: string;
|
|
7858
|
+
identifier?: string;
|
|
7859
|
+
natural_key?: string;
|
|
7860
|
+
scope?: string;
|
|
7861
|
+
};
|
|
7862
|
+
Relationships: [];
|
|
7863
|
+
};
|
|
7428
7864
|
floriday_log_retention: {
|
|
7429
7865
|
Row: {
|
|
7430
7866
|
created_at: string;
|
|
@@ -7686,6 +8122,39 @@ export type Database = {
|
|
|
7686
8122
|
}
|
|
7687
8123
|
];
|
|
7688
8124
|
};
|
|
8125
|
+
floriday_queue_cleanup_runs: {
|
|
8126
|
+
Row: {
|
|
8127
|
+
created_at: string;
|
|
8128
|
+
deleted: Json;
|
|
8129
|
+
error: string | null;
|
|
8130
|
+
finished_at: string | null;
|
|
8131
|
+
id: string;
|
|
8132
|
+
more_remaining: boolean;
|
|
8133
|
+
orphan_settings: number | null;
|
|
8134
|
+
started_at: string;
|
|
8135
|
+
};
|
|
8136
|
+
Insert: {
|
|
8137
|
+
created_at?: string;
|
|
8138
|
+
deleted?: Json;
|
|
8139
|
+
error?: string | null;
|
|
8140
|
+
finished_at?: string | null;
|
|
8141
|
+
id?: string;
|
|
8142
|
+
more_remaining?: boolean;
|
|
8143
|
+
orphan_settings?: number | null;
|
|
8144
|
+
started_at?: string;
|
|
8145
|
+
};
|
|
8146
|
+
Update: {
|
|
8147
|
+
created_at?: string;
|
|
8148
|
+
deleted?: Json;
|
|
8149
|
+
error?: string | null;
|
|
8150
|
+
finished_at?: string | null;
|
|
8151
|
+
id?: string;
|
|
8152
|
+
more_remaining?: boolean;
|
|
8153
|
+
orphan_settings?: number | null;
|
|
8154
|
+
started_at?: string;
|
|
8155
|
+
};
|
|
8156
|
+
Relationships: [];
|
|
8157
|
+
};
|
|
7689
8158
|
floriday_rate_limit_state: {
|
|
7690
8159
|
Row: {
|
|
7691
8160
|
bucket: string;
|
|
@@ -8597,7 +9066,7 @@ export type Database = {
|
|
|
8597
9066
|
note?: string | null;
|
|
8598
9067
|
reason?: string;
|
|
8599
9068
|
trade_item_key?: string | null;
|
|
8600
|
-
user_id
|
|
9069
|
+
user_id?: string;
|
|
8601
9070
|
};
|
|
8602
9071
|
Update: {
|
|
8603
9072
|
created_at?: string;
|
|
@@ -8658,7 +9127,7 @@ export type Database = {
|
|
|
8658
9127
|
stock?: number;
|
|
8659
9128
|
updated_at?: string;
|
|
8660
9129
|
used_by_count?: number;
|
|
8661
|
-
user_id
|
|
9130
|
+
user_id?: string;
|
|
8662
9131
|
vbn_code?: number | null;
|
|
8663
9132
|
width_mm?: number | null;
|
|
8664
9133
|
};
|
|
@@ -8842,24 +9311,72 @@ export type Database = {
|
|
|
8842
9311
|
};
|
|
8843
9312
|
inventory_recompute_limits: {
|
|
8844
9313
|
Row: {
|
|
9314
|
+
base_supply_batch: number;
|
|
9315
|
+
base_supply_uses_catalog_availability: boolean;
|
|
8845
9316
|
drain_batch: number;
|
|
8846
9317
|
id: boolean;
|
|
9318
|
+
import_chunk_size: number;
|
|
9319
|
+
import_max_bytes: number;
|
|
9320
|
+
import_max_rows: number;
|
|
9321
|
+
import_new_chunk_size: number;
|
|
9322
|
+
import_retention_days: number;
|
|
8847
9323
|
max_ms_inline: number;
|
|
8848
9324
|
max_parents_inline: number;
|
|
9325
|
+
queue_base_supply_timeout_minutes: number;
|
|
9326
|
+
queue_cleanup_batch: number;
|
|
9327
|
+
queue_cleanup_max_batches: number;
|
|
9328
|
+
queue_failed_days: number;
|
|
9329
|
+
queue_gateway_backoff_minutes: number[];
|
|
9330
|
+
queue_gateway_give_up_hours: number;
|
|
9331
|
+
queue_sent_days: number;
|
|
9332
|
+
queue_skipped_days: number;
|
|
9333
|
+
queue_superseded_days: number;
|
|
8849
9334
|
updated_at: string;
|
|
8850
9335
|
};
|
|
8851
9336
|
Insert: {
|
|
9337
|
+
base_supply_batch?: number;
|
|
9338
|
+
base_supply_uses_catalog_availability?: boolean;
|
|
8852
9339
|
drain_batch?: number;
|
|
8853
9340
|
id?: boolean;
|
|
9341
|
+
import_chunk_size?: number;
|
|
9342
|
+
import_max_bytes?: number;
|
|
9343
|
+
import_max_rows?: number;
|
|
9344
|
+
import_new_chunk_size?: number;
|
|
9345
|
+
import_retention_days?: number;
|
|
8854
9346
|
max_ms_inline?: number;
|
|
8855
9347
|
max_parents_inline?: number;
|
|
9348
|
+
queue_base_supply_timeout_minutes?: number;
|
|
9349
|
+
queue_cleanup_batch?: number;
|
|
9350
|
+
queue_cleanup_max_batches?: number;
|
|
9351
|
+
queue_failed_days?: number;
|
|
9352
|
+
queue_gateway_backoff_minutes?: number[];
|
|
9353
|
+
queue_gateway_give_up_hours?: number;
|
|
9354
|
+
queue_sent_days?: number;
|
|
9355
|
+
queue_skipped_days?: number;
|
|
9356
|
+
queue_superseded_days?: number;
|
|
8856
9357
|
updated_at?: string;
|
|
8857
9358
|
};
|
|
8858
9359
|
Update: {
|
|
9360
|
+
base_supply_batch?: number;
|
|
9361
|
+
base_supply_uses_catalog_availability?: boolean;
|
|
8859
9362
|
drain_batch?: number;
|
|
8860
9363
|
id?: boolean;
|
|
9364
|
+
import_chunk_size?: number;
|
|
9365
|
+
import_max_bytes?: number;
|
|
9366
|
+
import_max_rows?: number;
|
|
9367
|
+
import_new_chunk_size?: number;
|
|
9368
|
+
import_retention_days?: number;
|
|
8861
9369
|
max_ms_inline?: number;
|
|
8862
9370
|
max_parents_inline?: number;
|
|
9371
|
+
queue_base_supply_timeout_minutes?: number;
|
|
9372
|
+
queue_cleanup_batch?: number;
|
|
9373
|
+
queue_cleanup_max_batches?: number;
|
|
9374
|
+
queue_failed_days?: number;
|
|
9375
|
+
queue_gateway_backoff_minutes?: number[];
|
|
9376
|
+
queue_gateway_give_up_hours?: number;
|
|
9377
|
+
queue_sent_days?: number;
|
|
9378
|
+
queue_skipped_days?: number;
|
|
9379
|
+
queue_superseded_days?: number;
|
|
8863
9380
|
updated_at?: string;
|
|
8864
9381
|
};
|
|
8865
9382
|
Relationships: [];
|
|
@@ -11092,6 +11609,129 @@ export type Database = {
|
|
|
11092
11609
|
};
|
|
11093
11610
|
Relationships: [];
|
|
11094
11611
|
};
|
|
11612
|
+
logistics_allocation_fingerprint: {
|
|
11613
|
+
Row: {
|
|
11614
|
+
created_at: string;
|
|
11615
|
+
fingerprint: string;
|
|
11616
|
+
last_replan_at: string | null;
|
|
11617
|
+
order_id: string;
|
|
11618
|
+
pending_since: string | null;
|
|
11619
|
+
updated_at: string;
|
|
11620
|
+
};
|
|
11621
|
+
Insert: {
|
|
11622
|
+
created_at?: string;
|
|
11623
|
+
fingerprint: string;
|
|
11624
|
+
last_replan_at?: string | null;
|
|
11625
|
+
order_id: string;
|
|
11626
|
+
pending_since?: string | null;
|
|
11627
|
+
updated_at?: string;
|
|
11628
|
+
};
|
|
11629
|
+
Update: {
|
|
11630
|
+
created_at?: string;
|
|
11631
|
+
fingerprint?: string;
|
|
11632
|
+
last_replan_at?: string | null;
|
|
11633
|
+
order_id?: string;
|
|
11634
|
+
pending_since?: string | null;
|
|
11635
|
+
updated_at?: string;
|
|
11636
|
+
};
|
|
11637
|
+
Relationships: [];
|
|
11638
|
+
};
|
|
11639
|
+
logistics_auto_send: {
|
|
11640
|
+
Row: {
|
|
11641
|
+
attempts: number;
|
|
11642
|
+
buffer_id: string | null;
|
|
11643
|
+
cart_ids: string[];
|
|
11644
|
+
created_at: string;
|
|
11645
|
+
id: string;
|
|
11646
|
+
idempotency_key: string;
|
|
11647
|
+
last_http_status: number | null;
|
|
11648
|
+
locked_until: string | null;
|
|
11649
|
+
max_attempts: number;
|
|
11650
|
+
next_attempt_at: string;
|
|
11651
|
+
order_id: string;
|
|
11652
|
+
order_ids: string[];
|
|
11653
|
+
reason: string | null;
|
|
11654
|
+
sent_at: string | null;
|
|
11655
|
+
sent_how: string | null;
|
|
11656
|
+
status: string;
|
|
11657
|
+
updated_at: string;
|
|
11658
|
+
};
|
|
11659
|
+
Insert: {
|
|
11660
|
+
attempts?: number;
|
|
11661
|
+
buffer_id?: string | null;
|
|
11662
|
+
cart_ids?: string[];
|
|
11663
|
+
created_at?: string;
|
|
11664
|
+
id?: string;
|
|
11665
|
+
idempotency_key: string;
|
|
11666
|
+
last_http_status?: number | null;
|
|
11667
|
+
locked_until?: string | null;
|
|
11668
|
+
max_attempts?: number;
|
|
11669
|
+
next_attempt_at?: string;
|
|
11670
|
+
order_id: string;
|
|
11671
|
+
order_ids?: string[];
|
|
11672
|
+
reason?: string | null;
|
|
11673
|
+
sent_at?: string | null;
|
|
11674
|
+
sent_how?: string | null;
|
|
11675
|
+
status?: string;
|
|
11676
|
+
updated_at?: string;
|
|
11677
|
+
};
|
|
11678
|
+
Update: {
|
|
11679
|
+
attempts?: number;
|
|
11680
|
+
buffer_id?: string | null;
|
|
11681
|
+
cart_ids?: string[];
|
|
11682
|
+
created_at?: string;
|
|
11683
|
+
id?: string;
|
|
11684
|
+
idempotency_key?: string;
|
|
11685
|
+
last_http_status?: number | null;
|
|
11686
|
+
locked_until?: string | null;
|
|
11687
|
+
max_attempts?: number;
|
|
11688
|
+
next_attempt_at?: string;
|
|
11689
|
+
order_id?: string;
|
|
11690
|
+
order_ids?: string[];
|
|
11691
|
+
reason?: string | null;
|
|
11692
|
+
sent_at?: string | null;
|
|
11693
|
+
sent_how?: string | null;
|
|
11694
|
+
status?: string;
|
|
11695
|
+
updated_at?: string;
|
|
11696
|
+
};
|
|
11697
|
+
Relationships: [];
|
|
11698
|
+
};
|
|
11699
|
+
logistics_autolink_audit: {
|
|
11700
|
+
Row: {
|
|
11701
|
+
created_at: string;
|
|
11702
|
+
id: string;
|
|
11703
|
+
match_type: string;
|
|
11704
|
+
order_id: string | null;
|
|
11705
|
+
order_item_id: string | null;
|
|
11706
|
+
order_source: string | null;
|
|
11707
|
+
product_floriday_id: string | null;
|
|
11708
|
+
product_id: string | null;
|
|
11709
|
+
product_name: string | null;
|
|
11710
|
+
};
|
|
11711
|
+
Insert: {
|
|
11712
|
+
created_at?: string;
|
|
11713
|
+
id?: string;
|
|
11714
|
+
match_type: string;
|
|
11715
|
+
order_id?: string | null;
|
|
11716
|
+
order_item_id?: string | null;
|
|
11717
|
+
order_source?: string | null;
|
|
11718
|
+
product_floriday_id?: string | null;
|
|
11719
|
+
product_id?: string | null;
|
|
11720
|
+
product_name?: string | null;
|
|
11721
|
+
};
|
|
11722
|
+
Update: {
|
|
11723
|
+
created_at?: string;
|
|
11724
|
+
id?: string;
|
|
11725
|
+
match_type?: string;
|
|
11726
|
+
order_id?: string | null;
|
|
11727
|
+
order_item_id?: string | null;
|
|
11728
|
+
order_source?: string | null;
|
|
11729
|
+
product_floriday_id?: string | null;
|
|
11730
|
+
product_id?: string | null;
|
|
11731
|
+
product_name?: string | null;
|
|
11732
|
+
};
|
|
11733
|
+
Relationships: [];
|
|
11734
|
+
};
|
|
11095
11735
|
logistics_base_url_checks: {
|
|
11096
11736
|
Row: {
|
|
11097
11737
|
candidate_host: string | null;
|
|
@@ -11345,6 +11985,7 @@ export type Database = {
|
|
|
11345
11985
|
approved_at: string | null;
|
|
11346
11986
|
attempts: number;
|
|
11347
11987
|
barcode: string;
|
|
11988
|
+
bron: string | null;
|
|
11348
11989
|
cart_id: string;
|
|
11349
11990
|
created_at: string;
|
|
11350
11991
|
document_url: string | null;
|
|
@@ -11367,6 +12008,7 @@ export type Database = {
|
|
|
11367
12008
|
approved_at?: string | null;
|
|
11368
12009
|
attempts?: number;
|
|
11369
12010
|
barcode: string;
|
|
12011
|
+
bron?: string | null;
|
|
11370
12012
|
cart_id: string;
|
|
11371
12013
|
created_at?: string;
|
|
11372
12014
|
document_url?: string | null;
|
|
@@ -11389,6 +12031,7 @@ export type Database = {
|
|
|
11389
12031
|
approved_at?: string | null;
|
|
11390
12032
|
attempts?: number;
|
|
11391
12033
|
barcode?: string;
|
|
12034
|
+
bron?: string | null;
|
|
11392
12035
|
cart_id?: string;
|
|
11393
12036
|
created_at?: string;
|
|
11394
12037
|
document_url?: string | null;
|
|
@@ -12131,6 +12774,101 @@ export type Database = {
|
|
|
12131
12774
|
};
|
|
12132
12775
|
Relationships: [];
|
|
12133
12776
|
};
|
|
12777
|
+
logistics_order_pick_day: {
|
|
12778
|
+
Row: {
|
|
12779
|
+
order_id: string;
|
|
12780
|
+
pick_date: string;
|
|
12781
|
+
pinned_at: string;
|
|
12782
|
+
source: string;
|
|
12783
|
+
};
|
|
12784
|
+
Insert: {
|
|
12785
|
+
order_id: string;
|
|
12786
|
+
pick_date: string;
|
|
12787
|
+
pinned_at?: string;
|
|
12788
|
+
source?: string;
|
|
12789
|
+
};
|
|
12790
|
+
Update: {
|
|
12791
|
+
order_id?: string;
|
|
12792
|
+
pick_date?: string;
|
|
12793
|
+
pinned_at?: string;
|
|
12794
|
+
source?: string;
|
|
12795
|
+
};
|
|
12796
|
+
Relationships: [];
|
|
12797
|
+
};
|
|
12798
|
+
logistics_order_plan_exclusion: {
|
|
12799
|
+
Row: {
|
|
12800
|
+
created_at: string;
|
|
12801
|
+
order_id: string;
|
|
12802
|
+
reason: string;
|
|
12803
|
+
};
|
|
12804
|
+
Insert: {
|
|
12805
|
+
created_at?: string;
|
|
12806
|
+
order_id: string;
|
|
12807
|
+
reason: string;
|
|
12808
|
+
};
|
|
12809
|
+
Update: {
|
|
12810
|
+
created_at?: string;
|
|
12811
|
+
order_id?: string;
|
|
12812
|
+
reason?: string;
|
|
12813
|
+
};
|
|
12814
|
+
Relationships: [
|
|
12815
|
+
{
|
|
12816
|
+
foreignKeyName: "logistics_order_plan_exclusion_order_id_fkey";
|
|
12817
|
+
columns: ["order_id"];
|
|
12818
|
+
isOneToOne: true;
|
|
12819
|
+
referencedRelation: "orders";
|
|
12820
|
+
referencedColumns: ["id"];
|
|
12821
|
+
}
|
|
12822
|
+
];
|
|
12823
|
+
};
|
|
12824
|
+
logistics_order_sticker_warnings: {
|
|
12825
|
+
Row: {
|
|
12826
|
+
benodigd_breedte_mm: number | null;
|
|
12827
|
+
benodigd_hoogte_mm: number | null;
|
|
12828
|
+
bron_id: string;
|
|
12829
|
+
created_at: string;
|
|
12830
|
+
geladen_breedte_mm: number | null;
|
|
12831
|
+
geladen_hoogte_mm: number | null;
|
|
12832
|
+
id: string;
|
|
12833
|
+
melding: string;
|
|
12834
|
+
opgelost_op: string | null;
|
|
12835
|
+
order_id: string;
|
|
12836
|
+
plek: string | null;
|
|
12837
|
+
soort: string;
|
|
12838
|
+
updated_at: string;
|
|
12839
|
+
};
|
|
12840
|
+
Insert: {
|
|
12841
|
+
benodigd_breedte_mm?: number | null;
|
|
12842
|
+
benodigd_hoogte_mm?: number | null;
|
|
12843
|
+
bron_id: string;
|
|
12844
|
+
created_at?: string;
|
|
12845
|
+
geladen_breedte_mm?: number | null;
|
|
12846
|
+
geladen_hoogte_mm?: number | null;
|
|
12847
|
+
id?: string;
|
|
12848
|
+
melding: string;
|
|
12849
|
+
opgelost_op?: string | null;
|
|
12850
|
+
order_id: string;
|
|
12851
|
+
plek?: string | null;
|
|
12852
|
+
soort: string;
|
|
12853
|
+
updated_at?: string;
|
|
12854
|
+
};
|
|
12855
|
+
Update: {
|
|
12856
|
+
benodigd_breedte_mm?: number | null;
|
|
12857
|
+
benodigd_hoogte_mm?: number | null;
|
|
12858
|
+
bron_id?: string;
|
|
12859
|
+
created_at?: string;
|
|
12860
|
+
geladen_breedte_mm?: number | null;
|
|
12861
|
+
geladen_hoogte_mm?: number | null;
|
|
12862
|
+
id?: string;
|
|
12863
|
+
melding?: string;
|
|
12864
|
+
opgelost_op?: string | null;
|
|
12865
|
+
order_id?: string;
|
|
12866
|
+
plek?: string | null;
|
|
12867
|
+
soort?: string;
|
|
12868
|
+
updated_at?: string;
|
|
12869
|
+
};
|
|
12870
|
+
Relationships: [];
|
|
12871
|
+
};
|
|
12134
12872
|
logistics_packing_deviations: {
|
|
12135
12873
|
Row: {
|
|
12136
12874
|
auto_fixed_at: string | null;
|
|
@@ -12275,6 +13013,33 @@ export type Database = {
|
|
|
12275
13013
|
};
|
|
12276
13014
|
Relationships: [];
|
|
12277
13015
|
};
|
|
13016
|
+
logistics_plan_coverage_retries: {
|
|
13017
|
+
Row: {
|
|
13018
|
+
attempts: number;
|
|
13019
|
+
gave_up_at: string | null;
|
|
13020
|
+
last_at: string;
|
|
13021
|
+
last_pct: number | null;
|
|
13022
|
+
next_at: string;
|
|
13023
|
+
order_id: string;
|
|
13024
|
+
};
|
|
13025
|
+
Insert: {
|
|
13026
|
+
attempts?: number;
|
|
13027
|
+
gave_up_at?: string | null;
|
|
13028
|
+
last_at?: string;
|
|
13029
|
+
last_pct?: number | null;
|
|
13030
|
+
next_at?: string;
|
|
13031
|
+
order_id: string;
|
|
13032
|
+
};
|
|
13033
|
+
Update: {
|
|
13034
|
+
attempts?: number;
|
|
13035
|
+
gave_up_at?: string | null;
|
|
13036
|
+
last_at?: string;
|
|
13037
|
+
last_pct?: number | null;
|
|
13038
|
+
next_at?: string;
|
|
13039
|
+
order_id?: string;
|
|
13040
|
+
};
|
|
13041
|
+
Relationships: [];
|
|
13042
|
+
};
|
|
12278
13043
|
logistics_plan_locks: {
|
|
12279
13044
|
Row: {
|
|
12280
13045
|
created_at: string;
|
|
@@ -12671,6 +13436,7 @@ export type Database = {
|
|
|
12671
13436
|
created_at: string;
|
|
12672
13437
|
group_id: string | null;
|
|
12673
13438
|
id: string;
|
|
13439
|
+
line_qty: number | null;
|
|
12674
13440
|
order_item_id: string;
|
|
12675
13441
|
qty: number;
|
|
12676
13442
|
source: string;
|
|
@@ -12682,6 +13448,7 @@ export type Database = {
|
|
|
12682
13448
|
created_at?: string;
|
|
12683
13449
|
group_id?: string | null;
|
|
12684
13450
|
id?: string;
|
|
13451
|
+
line_qty?: number | null;
|
|
12685
13452
|
order_item_id: string;
|
|
12686
13453
|
qty: number;
|
|
12687
13454
|
source: string;
|
|
@@ -12693,6 +13460,7 @@ export type Database = {
|
|
|
12693
13460
|
created_at?: string;
|
|
12694
13461
|
group_id?: string | null;
|
|
12695
13462
|
id?: string;
|
|
13463
|
+
line_qty?: number | null;
|
|
12696
13464
|
order_item_id?: string;
|
|
12697
13465
|
qty?: number;
|
|
12698
13466
|
source?: string;
|
|
@@ -12930,6 +13698,78 @@ export type Database = {
|
|
|
12930
13698
|
};
|
|
12931
13699
|
Relationships: [];
|
|
12932
13700
|
};
|
|
13701
|
+
logistics_sticker_prints: {
|
|
13702
|
+
Row: {
|
|
13703
|
+
attempts: number;
|
|
13704
|
+
breedte_mm: number | null;
|
|
13705
|
+
bron_id: string;
|
|
13706
|
+
cart_id: string | null;
|
|
13707
|
+
created_at: string;
|
|
13708
|
+
fulfillment_order_id: string | null;
|
|
13709
|
+
handled_at: string | null;
|
|
13710
|
+
handled_error: string | null;
|
|
13711
|
+
handled_next_at: string | null;
|
|
13712
|
+
hoogte_mm: number | null;
|
|
13713
|
+
id: string;
|
|
13714
|
+
kopieen: number;
|
|
13715
|
+
next_attempt_at: string | null;
|
|
13716
|
+
order_id: string | null;
|
|
13717
|
+
order_number: string | null;
|
|
13718
|
+
print_job_id: string | null;
|
|
13719
|
+
print_plek_id: string | null;
|
|
13720
|
+
reden: string | null;
|
|
13721
|
+
soort: string;
|
|
13722
|
+
status: string;
|
|
13723
|
+
updated_at: string;
|
|
13724
|
+
};
|
|
13725
|
+
Insert: {
|
|
13726
|
+
attempts?: number;
|
|
13727
|
+
breedte_mm?: number | null;
|
|
13728
|
+
bron_id: string;
|
|
13729
|
+
cart_id?: string | null;
|
|
13730
|
+
created_at?: string;
|
|
13731
|
+
fulfillment_order_id?: string | null;
|
|
13732
|
+
handled_at?: string | null;
|
|
13733
|
+
handled_error?: string | null;
|
|
13734
|
+
handled_next_at?: string | null;
|
|
13735
|
+
hoogte_mm?: number | null;
|
|
13736
|
+
id?: string;
|
|
13737
|
+
kopieen?: number;
|
|
13738
|
+
next_attempt_at?: string | null;
|
|
13739
|
+
order_id?: string | null;
|
|
13740
|
+
order_number?: string | null;
|
|
13741
|
+
print_job_id?: string | null;
|
|
13742
|
+
print_plek_id?: string | null;
|
|
13743
|
+
reden?: string | null;
|
|
13744
|
+
soort: string;
|
|
13745
|
+
status?: string;
|
|
13746
|
+
updated_at?: string;
|
|
13747
|
+
};
|
|
13748
|
+
Update: {
|
|
13749
|
+
attempts?: number;
|
|
13750
|
+
breedte_mm?: number | null;
|
|
13751
|
+
bron_id?: string;
|
|
13752
|
+
cart_id?: string | null;
|
|
13753
|
+
created_at?: string;
|
|
13754
|
+
fulfillment_order_id?: string | null;
|
|
13755
|
+
handled_at?: string | null;
|
|
13756
|
+
handled_error?: string | null;
|
|
13757
|
+
handled_next_at?: string | null;
|
|
13758
|
+
hoogte_mm?: number | null;
|
|
13759
|
+
id?: string;
|
|
13760
|
+
kopieen?: number;
|
|
13761
|
+
next_attempt_at?: string | null;
|
|
13762
|
+
order_id?: string | null;
|
|
13763
|
+
order_number?: string | null;
|
|
13764
|
+
print_job_id?: string | null;
|
|
13765
|
+
print_plek_id?: string | null;
|
|
13766
|
+
reden?: string | null;
|
|
13767
|
+
soort?: string;
|
|
13768
|
+
status?: string;
|
|
13769
|
+
updated_at?: string;
|
|
13770
|
+
};
|
|
13771
|
+
Relationships: [];
|
|
13772
|
+
};
|
|
12933
13773
|
logistics_stock_alerts: {
|
|
12934
13774
|
Row: {
|
|
12935
13775
|
created_at: string;
|
|
@@ -12946,6 +13786,7 @@ export type Database = {
|
|
|
12946
13786
|
order_id: string | null;
|
|
12947
13787
|
order_ref: string;
|
|
12948
13788
|
priority: number;
|
|
13789
|
+
resolution_reason: string | null;
|
|
12949
13790
|
resolved_at: string | null;
|
|
12950
13791
|
resolved_by: string | null;
|
|
12951
13792
|
shortages: Json;
|
|
@@ -12968,6 +13809,7 @@ export type Database = {
|
|
|
12968
13809
|
order_id?: string | null;
|
|
12969
13810
|
order_ref: string;
|
|
12970
13811
|
priority?: number;
|
|
13812
|
+
resolution_reason?: string | null;
|
|
12971
13813
|
resolved_at?: string | null;
|
|
12972
13814
|
resolved_by?: string | null;
|
|
12973
13815
|
shortages?: Json;
|
|
@@ -12990,6 +13832,7 @@ export type Database = {
|
|
|
12990
13832
|
order_id?: string | null;
|
|
12991
13833
|
order_ref?: string;
|
|
12992
13834
|
priority?: number;
|
|
13835
|
+
resolution_reason?: string | null;
|
|
12993
13836
|
resolved_at?: string | null;
|
|
12994
13837
|
resolved_by?: string | null;
|
|
12995
13838
|
shortages?: Json;
|
|
@@ -15448,6 +16291,7 @@ export type Database = {
|
|
|
15448
16291
|
Row: {
|
|
15449
16292
|
boxes: number | null;
|
|
15450
16293
|
cart_id: string;
|
|
16294
|
+
components: Json | null;
|
|
15451
16295
|
crates: number;
|
|
15452
16296
|
crates_in_layer: number | null;
|
|
15453
16297
|
crates_per_layer: number;
|
|
@@ -15466,6 +16310,7 @@ export type Database = {
|
|
|
15466
16310
|
Insert: {
|
|
15467
16311
|
boxes?: number | null;
|
|
15468
16312
|
cart_id: string;
|
|
16313
|
+
components?: Json | null;
|
|
15469
16314
|
crates: number;
|
|
15470
16315
|
crates_in_layer?: number | null;
|
|
15471
16316
|
crates_per_layer?: number;
|
|
@@ -15484,6 +16329,7 @@ export type Database = {
|
|
|
15484
16329
|
Update: {
|
|
15485
16330
|
boxes?: number | null;
|
|
15486
16331
|
cart_id?: string;
|
|
16332
|
+
components?: Json | null;
|
|
15487
16333
|
crates?: number;
|
|
15488
16334
|
crates_in_layer?: number | null;
|
|
15489
16335
|
crates_per_layer?: number;
|
|
@@ -15984,6 +16830,44 @@ export type Database = {
|
|
|
15984
16830
|
};
|
|
15985
16831
|
Relationships: [];
|
|
15986
16832
|
};
|
|
16833
|
+
order_review_dismissals: {
|
|
16834
|
+
Row: {
|
|
16835
|
+
dismissed_at: string;
|
|
16836
|
+
dismissed_by: string | null;
|
|
16837
|
+
id: string;
|
|
16838
|
+
kind: string;
|
|
16839
|
+
note: string | null;
|
|
16840
|
+
order_id: string;
|
|
16841
|
+
review_reason: string;
|
|
16842
|
+
};
|
|
16843
|
+
Insert: {
|
|
16844
|
+
dismissed_at?: string;
|
|
16845
|
+
dismissed_by?: string | null;
|
|
16846
|
+
id?: string;
|
|
16847
|
+
kind: string;
|
|
16848
|
+
note?: string | null;
|
|
16849
|
+
order_id: string;
|
|
16850
|
+
review_reason: string;
|
|
16851
|
+
};
|
|
16852
|
+
Update: {
|
|
16853
|
+
dismissed_at?: string;
|
|
16854
|
+
dismissed_by?: string | null;
|
|
16855
|
+
id?: string;
|
|
16856
|
+
kind?: string;
|
|
16857
|
+
note?: string | null;
|
|
16858
|
+
order_id?: string;
|
|
16859
|
+
review_reason?: string;
|
|
16860
|
+
};
|
|
16861
|
+
Relationships: [
|
|
16862
|
+
{
|
|
16863
|
+
foreignKeyName: "order_review_dismissals_order_id_fkey";
|
|
16864
|
+
columns: ["order_id"];
|
|
16865
|
+
isOneToOne: false;
|
|
16866
|
+
referencedRelation: "orders";
|
|
16867
|
+
referencedColumns: ["id"];
|
|
16868
|
+
}
|
|
16869
|
+
];
|
|
16870
|
+
};
|
|
15987
16871
|
order_shipment_items: {
|
|
15988
16872
|
Row: {
|
|
15989
16873
|
created_at: string;
|
|
@@ -17639,6 +18523,12 @@ export type Database = {
|
|
|
17639
18523
|
email_purpose: string | null;
|
|
17640
18524
|
enabled: boolean;
|
|
17641
18525
|
id: boolean;
|
|
18526
|
+
overrun_auto_mail: boolean;
|
|
18527
|
+
overrun_body_template: string;
|
|
18528
|
+
overrun_enabled: boolean;
|
|
18529
|
+
overrun_mail_minutes: number;
|
|
18530
|
+
overrun_notice_minutes: number;
|
|
18531
|
+
overrun_subject_template: string;
|
|
17642
18532
|
reply_to: string | null;
|
|
17643
18533
|
reschedule_body_template: string;
|
|
17644
18534
|
reschedule_subject_template: string;
|
|
@@ -17655,6 +18545,12 @@ export type Database = {
|
|
|
17655
18545
|
email_purpose?: string | null;
|
|
17656
18546
|
enabled?: boolean;
|
|
17657
18547
|
id?: boolean;
|
|
18548
|
+
overrun_auto_mail?: boolean;
|
|
18549
|
+
overrun_body_template?: string;
|
|
18550
|
+
overrun_enabled?: boolean;
|
|
18551
|
+
overrun_mail_minutes?: number;
|
|
18552
|
+
overrun_notice_minutes?: number;
|
|
18553
|
+
overrun_subject_template?: string;
|
|
17658
18554
|
reply_to?: string | null;
|
|
17659
18555
|
reschedule_body_template?: string;
|
|
17660
18556
|
reschedule_subject_template?: string;
|
|
@@ -17671,6 +18567,12 @@ export type Database = {
|
|
|
17671
18567
|
email_purpose?: string | null;
|
|
17672
18568
|
enabled?: boolean;
|
|
17673
18569
|
id?: boolean;
|
|
18570
|
+
overrun_auto_mail?: boolean;
|
|
18571
|
+
overrun_body_template?: string;
|
|
18572
|
+
overrun_enabled?: boolean;
|
|
18573
|
+
overrun_mail_minutes?: number;
|
|
18574
|
+
overrun_notice_minutes?: number;
|
|
18575
|
+
overrun_subject_template?: string;
|
|
17674
18576
|
reply_to?: string | null;
|
|
17675
18577
|
reschedule_body_template?: string;
|
|
17676
18578
|
reschedule_subject_template?: string;
|
|
@@ -17731,6 +18633,7 @@ export type Database = {
|
|
|
17731
18633
|
created_at: string;
|
|
17732
18634
|
default_end: string;
|
|
17733
18635
|
default_start: string;
|
|
18636
|
+
eigen_vervoer: boolean;
|
|
17734
18637
|
end_address: string | null;
|
|
17735
18638
|
home_address: string | null;
|
|
17736
18639
|
id: string;
|
|
@@ -17742,6 +18645,7 @@ export type Database = {
|
|
|
17742
18645
|
created_at?: string;
|
|
17743
18646
|
default_end?: string;
|
|
17744
18647
|
default_start?: string;
|
|
18648
|
+
eigen_vervoer?: boolean;
|
|
17745
18649
|
end_address?: string | null;
|
|
17746
18650
|
home_address?: string | null;
|
|
17747
18651
|
id?: string;
|
|
@@ -17753,6 +18657,7 @@ export type Database = {
|
|
|
17753
18657
|
created_at?: string;
|
|
17754
18658
|
default_end?: string;
|
|
17755
18659
|
default_start?: string;
|
|
18660
|
+
eigen_vervoer?: boolean;
|
|
17756
18661
|
end_address?: string | null;
|
|
17757
18662
|
home_address?: string | null;
|
|
17758
18663
|
id?: string;
|
|
@@ -17762,6 +18667,66 @@ export type Database = {
|
|
|
17762
18667
|
};
|
|
17763
18668
|
Relationships: [];
|
|
17764
18669
|
};
|
|
18670
|
+
planning_overrun_events: {
|
|
18671
|
+
Row: {
|
|
18672
|
+
created_at: string;
|
|
18673
|
+
id: string;
|
|
18674
|
+
mail_level: number;
|
|
18675
|
+
mailed_at: string | null;
|
|
18676
|
+
mailed_item_id: string | null;
|
|
18677
|
+
mailed_items: Json;
|
|
18678
|
+
monteur_id: string | null;
|
|
18679
|
+
original_end_at: string;
|
|
18680
|
+
overrun_minutes: number;
|
|
18681
|
+
planning_item_id: string;
|
|
18682
|
+
shifted: Json;
|
|
18683
|
+
updated_at: string;
|
|
18684
|
+
};
|
|
18685
|
+
Insert: {
|
|
18686
|
+
created_at?: string;
|
|
18687
|
+
id?: string;
|
|
18688
|
+
mail_level?: number;
|
|
18689
|
+
mailed_at?: string | null;
|
|
18690
|
+
mailed_item_id?: string | null;
|
|
18691
|
+
mailed_items?: Json;
|
|
18692
|
+
monteur_id?: string | null;
|
|
18693
|
+
original_end_at: string;
|
|
18694
|
+
overrun_minutes?: number;
|
|
18695
|
+
planning_item_id: string;
|
|
18696
|
+
shifted?: Json;
|
|
18697
|
+
updated_at?: string;
|
|
18698
|
+
};
|
|
18699
|
+
Update: {
|
|
18700
|
+
created_at?: string;
|
|
18701
|
+
id?: string;
|
|
18702
|
+
mail_level?: number;
|
|
18703
|
+
mailed_at?: string | null;
|
|
18704
|
+
mailed_item_id?: string | null;
|
|
18705
|
+
mailed_items?: Json;
|
|
18706
|
+
monteur_id?: string | null;
|
|
18707
|
+
original_end_at?: string;
|
|
18708
|
+
overrun_minutes?: number;
|
|
18709
|
+
planning_item_id?: string;
|
|
18710
|
+
shifted?: Json;
|
|
18711
|
+
updated_at?: string;
|
|
18712
|
+
};
|
|
18713
|
+
Relationships: [
|
|
18714
|
+
{
|
|
18715
|
+
foreignKeyName: "planning_overrun_events_planning_item_id_fkey";
|
|
18716
|
+
columns: ["planning_item_id"];
|
|
18717
|
+
isOneToOne: true;
|
|
18718
|
+
referencedRelation: "planning_items";
|
|
18719
|
+
referencedColumns: ["id"];
|
|
18720
|
+
},
|
|
18721
|
+
{
|
|
18722
|
+
foreignKeyName: "planning_overrun_events_planning_item_id_fkey";
|
|
18723
|
+
columns: ["planning_item_id"];
|
|
18724
|
+
isOneToOne: true;
|
|
18725
|
+
referencedRelation: "planning_overview";
|
|
18726
|
+
referencedColumns: ["id"];
|
|
18727
|
+
}
|
|
18728
|
+
];
|
|
18729
|
+
};
|
|
17765
18730
|
planning_settings: {
|
|
17766
18731
|
Row: {
|
|
17767
18732
|
company_address: string | null;
|
|
@@ -18062,6 +19027,36 @@ export type Database = {
|
|
|
18062
19027
|
};
|
|
18063
19028
|
Relationships: [];
|
|
18064
19029
|
};
|
|
19030
|
+
print_computer_status: {
|
|
19031
|
+
Row: {
|
|
19032
|
+
bijgewerkt_op: string;
|
|
19033
|
+
created_at: string;
|
|
19034
|
+
extern_computer_id: string;
|
|
19035
|
+
naam: string | null;
|
|
19036
|
+
status: string | null;
|
|
19037
|
+
updated_at: string;
|
|
19038
|
+
verbonden: boolean;
|
|
19039
|
+
};
|
|
19040
|
+
Insert: {
|
|
19041
|
+
bijgewerkt_op?: string;
|
|
19042
|
+
created_at?: string;
|
|
19043
|
+
extern_computer_id: string;
|
|
19044
|
+
naam?: string | null;
|
|
19045
|
+
status?: string | null;
|
|
19046
|
+
updated_at?: string;
|
|
19047
|
+
verbonden?: boolean;
|
|
19048
|
+
};
|
|
19049
|
+
Update: {
|
|
19050
|
+
bijgewerkt_op?: string;
|
|
19051
|
+
created_at?: string;
|
|
19052
|
+
extern_computer_id?: string;
|
|
19053
|
+
naam?: string | null;
|
|
19054
|
+
status?: string | null;
|
|
19055
|
+
updated_at?: string;
|
|
19056
|
+
verbonden?: boolean;
|
|
19057
|
+
};
|
|
19058
|
+
Relationships: [];
|
|
19059
|
+
};
|
|
18065
19060
|
print_dedupe_events: {
|
|
18066
19061
|
Row: {
|
|
18067
19062
|
bestaande_job_id: string | null;
|
|
@@ -18095,6 +19090,35 @@ export type Database = {
|
|
|
18095
19090
|
};
|
|
18096
19091
|
Relationships: [];
|
|
18097
19092
|
};
|
|
19093
|
+
print_gebruiker_werkplek: {
|
|
19094
|
+
Row: {
|
|
19095
|
+
created_at: string;
|
|
19096
|
+
updated_at: string;
|
|
19097
|
+
user_id: string;
|
|
19098
|
+
werkplek_id: string;
|
|
19099
|
+
};
|
|
19100
|
+
Insert: {
|
|
19101
|
+
created_at?: string;
|
|
19102
|
+
updated_at?: string;
|
|
19103
|
+
user_id: string;
|
|
19104
|
+
werkplek_id: string;
|
|
19105
|
+
};
|
|
19106
|
+
Update: {
|
|
19107
|
+
created_at?: string;
|
|
19108
|
+
updated_at?: string;
|
|
19109
|
+
user_id?: string;
|
|
19110
|
+
werkplek_id?: string;
|
|
19111
|
+
};
|
|
19112
|
+
Relationships: [
|
|
19113
|
+
{
|
|
19114
|
+
foreignKeyName: "print_gebruiker_werkplek_werkplek_id_fkey";
|
|
19115
|
+
columns: ["werkplek_id"];
|
|
19116
|
+
isOneToOne: false;
|
|
19117
|
+
referencedRelation: "print_werkplekken";
|
|
19118
|
+
referencedColumns: ["id"];
|
|
19119
|
+
}
|
|
19120
|
+
];
|
|
19121
|
+
};
|
|
18098
19122
|
print_genegeerde_computers: {
|
|
18099
19123
|
Row: {
|
|
18100
19124
|
computer_naam: string;
|
|
@@ -18184,16 +19208,21 @@ export type Database = {
|
|
|
18184
19208
|
lokale_pdf_print_plek_id: string | null;
|
|
18185
19209
|
lokale_pdf_status: string | null;
|
|
18186
19210
|
opgepakt_op: string | null;
|
|
19211
|
+
origineel_sleutel: string | null;
|
|
18187
19212
|
paginas: number;
|
|
18188
19213
|
payload: Json;
|
|
18189
19214
|
pdf_base64: string | null;
|
|
18190
19215
|
pdf_url: string | null;
|
|
18191
19216
|
pogingen: number;
|
|
18192
19217
|
printer_id: string | null;
|
|
19218
|
+
printnode_bericht: string | null;
|
|
19219
|
+
printnode_status: string | null;
|
|
19220
|
+
printnode_status_op: string | null;
|
|
18193
19221
|
render_html: string | null;
|
|
18194
19222
|
resultaat_pdf_base64: string | null;
|
|
18195
19223
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
18196
19224
|
updated_at: string;
|
|
19225
|
+
verloopt_na_s: number | null;
|
|
18197
19226
|
verwerkingsfase: string;
|
|
18198
19227
|
volgende_poging: string | null;
|
|
18199
19228
|
voltooid_op: string | null;
|
|
@@ -18233,16 +19262,21 @@ export type Database = {
|
|
|
18233
19262
|
lokale_pdf_print_plek_id?: string | null;
|
|
18234
19263
|
lokale_pdf_status?: string | null;
|
|
18235
19264
|
opgepakt_op?: string | null;
|
|
19265
|
+
origineel_sleutel?: string | null;
|
|
18236
19266
|
paginas?: number;
|
|
18237
19267
|
payload?: Json;
|
|
18238
19268
|
pdf_base64?: string | null;
|
|
18239
19269
|
pdf_url?: string | null;
|
|
18240
19270
|
pogingen?: number;
|
|
18241
19271
|
printer_id?: string | null;
|
|
19272
|
+
printnode_bericht?: string | null;
|
|
19273
|
+
printnode_status?: string | null;
|
|
19274
|
+
printnode_status_op?: string | null;
|
|
18242
19275
|
render_html?: string | null;
|
|
18243
19276
|
resultaat_pdf_base64?: string | null;
|
|
18244
19277
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
18245
19278
|
updated_at?: string;
|
|
19279
|
+
verloopt_na_s?: number | null;
|
|
18246
19280
|
verwerkingsfase?: string;
|
|
18247
19281
|
volgende_poging?: string | null;
|
|
18248
19282
|
voltooid_op?: string | null;
|
|
@@ -18282,16 +19316,21 @@ export type Database = {
|
|
|
18282
19316
|
lokale_pdf_print_plek_id?: string | null;
|
|
18283
19317
|
lokale_pdf_status?: string | null;
|
|
18284
19318
|
opgepakt_op?: string | null;
|
|
19319
|
+
origineel_sleutel?: string | null;
|
|
18285
19320
|
paginas?: number;
|
|
18286
19321
|
payload?: Json;
|
|
18287
19322
|
pdf_base64?: string | null;
|
|
18288
19323
|
pdf_url?: string | null;
|
|
18289
19324
|
pogingen?: number;
|
|
18290
19325
|
printer_id?: string | null;
|
|
19326
|
+
printnode_bericht?: string | null;
|
|
19327
|
+
printnode_status?: string | null;
|
|
19328
|
+
printnode_status_op?: string | null;
|
|
18291
19329
|
render_html?: string | null;
|
|
18292
19330
|
resultaat_pdf_base64?: string | null;
|
|
18293
19331
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
18294
19332
|
updated_at?: string;
|
|
19333
|
+
verloopt_na_s?: number | null;
|
|
18295
19334
|
verwerkingsfase?: string;
|
|
18296
19335
|
volgende_poging?: string | null;
|
|
18297
19336
|
voltooid_op?: string | null;
|
|
@@ -18646,6 +19685,103 @@ export type Database = {
|
|
|
18646
19685
|
}
|
|
18647
19686
|
];
|
|
18648
19687
|
};
|
|
19688
|
+
print_werkplek_afwijkingen: {
|
|
19689
|
+
Row: {
|
|
19690
|
+
created_at: string;
|
|
19691
|
+
documenttype: string;
|
|
19692
|
+
id: string;
|
|
19693
|
+
printer_id: string | null;
|
|
19694
|
+
updated_at: string;
|
|
19695
|
+
werkplek_id: string;
|
|
19696
|
+
};
|
|
19697
|
+
Insert: {
|
|
19698
|
+
created_at?: string;
|
|
19699
|
+
documenttype: string;
|
|
19700
|
+
id?: string;
|
|
19701
|
+
printer_id?: string | null;
|
|
19702
|
+
updated_at?: string;
|
|
19703
|
+
werkplek_id: string;
|
|
19704
|
+
};
|
|
19705
|
+
Update: {
|
|
19706
|
+
created_at?: string;
|
|
19707
|
+
documenttype?: string;
|
|
19708
|
+
id?: string;
|
|
19709
|
+
printer_id?: string | null;
|
|
19710
|
+
updated_at?: string;
|
|
19711
|
+
werkplek_id?: string;
|
|
19712
|
+
};
|
|
19713
|
+
Relationships: [
|
|
19714
|
+
{
|
|
19715
|
+
foreignKeyName: "print_werkplek_afwijkingen_printer_id_fkey";
|
|
19716
|
+
columns: ["printer_id"];
|
|
19717
|
+
isOneToOne: false;
|
|
19718
|
+
referencedRelation: "printers";
|
|
19719
|
+
referencedColumns: ["id"];
|
|
19720
|
+
},
|
|
19721
|
+
{
|
|
19722
|
+
foreignKeyName: "print_werkplek_afwijkingen_werkplek_id_fkey";
|
|
19723
|
+
columns: ["werkplek_id"];
|
|
19724
|
+
isOneToOne: false;
|
|
19725
|
+
referencedRelation: "print_werkplekken";
|
|
19726
|
+
referencedColumns: ["id"];
|
|
19727
|
+
}
|
|
19728
|
+
];
|
|
19729
|
+
};
|
|
19730
|
+
print_werkplekken: {
|
|
19731
|
+
Row: {
|
|
19732
|
+
a4_printer_id: string | null;
|
|
19733
|
+
actief: boolean;
|
|
19734
|
+
created_at: string;
|
|
19735
|
+
id: string;
|
|
19736
|
+
label_printer_id: string | null;
|
|
19737
|
+
naam: string;
|
|
19738
|
+
print_plek_id: string | null;
|
|
19739
|
+
updated_at: string;
|
|
19740
|
+
};
|
|
19741
|
+
Insert: {
|
|
19742
|
+
a4_printer_id?: string | null;
|
|
19743
|
+
actief?: boolean;
|
|
19744
|
+
created_at?: string;
|
|
19745
|
+
id?: string;
|
|
19746
|
+
label_printer_id?: string | null;
|
|
19747
|
+
naam: string;
|
|
19748
|
+
print_plek_id?: string | null;
|
|
19749
|
+
updated_at?: string;
|
|
19750
|
+
};
|
|
19751
|
+
Update: {
|
|
19752
|
+
a4_printer_id?: string | null;
|
|
19753
|
+
actief?: boolean;
|
|
19754
|
+
created_at?: string;
|
|
19755
|
+
id?: string;
|
|
19756
|
+
label_printer_id?: string | null;
|
|
19757
|
+
naam?: string;
|
|
19758
|
+
print_plek_id?: string | null;
|
|
19759
|
+
updated_at?: string;
|
|
19760
|
+
};
|
|
19761
|
+
Relationships: [
|
|
19762
|
+
{
|
|
19763
|
+
foreignKeyName: "print_werkplekken_a4_printer_id_fkey";
|
|
19764
|
+
columns: ["a4_printer_id"];
|
|
19765
|
+
isOneToOne: false;
|
|
19766
|
+
referencedRelation: "printers";
|
|
19767
|
+
referencedColumns: ["id"];
|
|
19768
|
+
},
|
|
19769
|
+
{
|
|
19770
|
+
foreignKeyName: "print_werkplekken_label_printer_id_fkey";
|
|
19771
|
+
columns: ["label_printer_id"];
|
|
19772
|
+
isOneToOne: false;
|
|
19773
|
+
referencedRelation: "printers";
|
|
19774
|
+
referencedColumns: ["id"];
|
|
19775
|
+
},
|
|
19776
|
+
{
|
|
19777
|
+
foreignKeyName: "print_werkplekken_print_plek_id_fkey";
|
|
19778
|
+
columns: ["print_plek_id"];
|
|
19779
|
+
isOneToOne: false;
|
|
19780
|
+
referencedRelation: "print_plekken";
|
|
19781
|
+
referencedColumns: ["id"];
|
|
19782
|
+
}
|
|
19783
|
+
];
|
|
19784
|
+
};
|
|
18649
19785
|
printer_mappings: {
|
|
18650
19786
|
Row: {
|
|
18651
19787
|
created_at: string;
|
|
@@ -18753,6 +19889,47 @@ export type Database = {
|
|
|
18753
19889
|
}
|
|
18754
19890
|
];
|
|
18755
19891
|
};
|
|
19892
|
+
printer_routes: {
|
|
19893
|
+
Row: {
|
|
19894
|
+
computer_naam: string | null;
|
|
19895
|
+
created_at: string;
|
|
19896
|
+
extern_printer_id: string;
|
|
19897
|
+
geladen_etiket: Json | null;
|
|
19898
|
+
id: string;
|
|
19899
|
+
printer_id: string;
|
|
19900
|
+
prioriteit: number;
|
|
19901
|
+
updated_at: string;
|
|
19902
|
+
};
|
|
19903
|
+
Insert: {
|
|
19904
|
+
computer_naam?: string | null;
|
|
19905
|
+
created_at?: string;
|
|
19906
|
+
extern_printer_id: string;
|
|
19907
|
+
geladen_etiket?: Json | null;
|
|
19908
|
+
id?: string;
|
|
19909
|
+
printer_id: string;
|
|
19910
|
+
prioriteit?: number;
|
|
19911
|
+
updated_at?: string;
|
|
19912
|
+
};
|
|
19913
|
+
Update: {
|
|
19914
|
+
computer_naam?: string | null;
|
|
19915
|
+
created_at?: string;
|
|
19916
|
+
extern_printer_id?: string;
|
|
19917
|
+
geladen_etiket?: Json | null;
|
|
19918
|
+
id?: string;
|
|
19919
|
+
printer_id?: string;
|
|
19920
|
+
prioriteit?: number;
|
|
19921
|
+
updated_at?: string;
|
|
19922
|
+
};
|
|
19923
|
+
Relationships: [
|
|
19924
|
+
{
|
|
19925
|
+
foreignKeyName: "printer_routes_printer_id_fkey";
|
|
19926
|
+
columns: ["printer_id"];
|
|
19927
|
+
isOneToOne: false;
|
|
19928
|
+
referencedRelation: "printers";
|
|
19929
|
+
referencedColumns: ["id"];
|
|
19930
|
+
}
|
|
19931
|
+
];
|
|
19932
|
+
};
|
|
18756
19933
|
printers: {
|
|
18757
19934
|
Row: {
|
|
18758
19935
|
actief: boolean;
|
|
@@ -18762,8 +19939,10 @@ export type Database = {
|
|
|
18762
19939
|
driver: string;
|
|
18763
19940
|
extern_printer_id: string | null;
|
|
18764
19941
|
formaten_bijgewerkt_op: string | null;
|
|
19942
|
+
geladen_etiket: Json | null;
|
|
18765
19943
|
id: string;
|
|
18766
19944
|
ip_adres: string | null;
|
|
19945
|
+
is_virtueel: boolean;
|
|
18767
19946
|
laatst_gezien: string | null;
|
|
18768
19947
|
locatie: string;
|
|
18769
19948
|
merk: string;
|
|
@@ -18779,6 +19958,8 @@ export type Database = {
|
|
|
18779
19958
|
systeemnaam: string;
|
|
18780
19959
|
updated_at: string;
|
|
18781
19960
|
verbinding: Database["public"]["Enums"]["printer_connection"];
|
|
19961
|
+
verborgen: boolean;
|
|
19962
|
+
weergavenaam: string | null;
|
|
18782
19963
|
};
|
|
18783
19964
|
Insert: {
|
|
18784
19965
|
actief?: boolean;
|
|
@@ -18788,8 +19969,10 @@ export type Database = {
|
|
|
18788
19969
|
driver?: string;
|
|
18789
19970
|
extern_printer_id?: string | null;
|
|
18790
19971
|
formaten_bijgewerkt_op?: string | null;
|
|
19972
|
+
geladen_etiket?: Json | null;
|
|
18791
19973
|
id?: string;
|
|
18792
19974
|
ip_adres?: string | null;
|
|
19975
|
+
is_virtueel?: boolean;
|
|
18793
19976
|
laatst_gezien?: string | null;
|
|
18794
19977
|
locatie?: string;
|
|
18795
19978
|
merk?: string;
|
|
@@ -18805,6 +19988,8 @@ export type Database = {
|
|
|
18805
19988
|
systeemnaam?: string;
|
|
18806
19989
|
updated_at?: string;
|
|
18807
19990
|
verbinding?: Database["public"]["Enums"]["printer_connection"];
|
|
19991
|
+
verborgen?: boolean;
|
|
19992
|
+
weergavenaam?: string | null;
|
|
18808
19993
|
};
|
|
18809
19994
|
Update: {
|
|
18810
19995
|
actief?: boolean;
|
|
@@ -18814,8 +19999,10 @@ export type Database = {
|
|
|
18814
19999
|
driver?: string;
|
|
18815
20000
|
extern_printer_id?: string | null;
|
|
18816
20001
|
formaten_bijgewerkt_op?: string | null;
|
|
20002
|
+
geladen_etiket?: Json | null;
|
|
18817
20003
|
id?: string;
|
|
18818
20004
|
ip_adres?: string | null;
|
|
20005
|
+
is_virtueel?: boolean;
|
|
18819
20006
|
laatst_gezien?: string | null;
|
|
18820
20007
|
locatie?: string;
|
|
18821
20008
|
merk?: string;
|
|
@@ -18831,6 +20018,8 @@ export type Database = {
|
|
|
18831
20018
|
systeemnaam?: string;
|
|
18832
20019
|
updated_at?: string;
|
|
18833
20020
|
verbinding?: Database["public"]["Enums"]["printer_connection"];
|
|
20021
|
+
verborgen?: boolean;
|
|
20022
|
+
weergavenaam?: string | null;
|
|
18834
20023
|
};
|
|
18835
20024
|
Relationships: [
|
|
18836
20025
|
{
|
|
@@ -18842,6 +20031,117 @@ export type Database = {
|
|
|
18842
20031
|
}
|
|
18843
20032
|
];
|
|
18844
20033
|
};
|
|
20034
|
+
printnode_webhook_koppeling: {
|
|
20035
|
+
Row: {
|
|
20036
|
+
bereikbaar: string | null;
|
|
20037
|
+
created_at: string;
|
|
20038
|
+
fout: string | null;
|
|
20039
|
+
geheim: string | null;
|
|
20040
|
+
gekoppeld_op: string | null;
|
|
20041
|
+
id: number;
|
|
20042
|
+
laatst_ontvangen_op: string | null;
|
|
20043
|
+
laatste_poging_op: string | null;
|
|
20044
|
+
melding: string | null;
|
|
20045
|
+
pn_geslaagd: number | null;
|
|
20046
|
+
pn_geslaagd_vorig: number | null;
|
|
20047
|
+
pn_mislukt: number | null;
|
|
20048
|
+
pn_ontvangen: number | null;
|
|
20049
|
+
pn_opgehaald_op: string | null;
|
|
20050
|
+
pn_url: string | null;
|
|
20051
|
+
pn_weggegooid: number | null;
|
|
20052
|
+
secret_veld: string | null;
|
|
20053
|
+
status: string;
|
|
20054
|
+
updated_at: string;
|
|
20055
|
+
url: string | null;
|
|
20056
|
+
webhook_id: number | null;
|
|
20057
|
+
zelftest_fout: string | null;
|
|
20058
|
+
zelftest_op: string | null;
|
|
20059
|
+
};
|
|
20060
|
+
Insert: {
|
|
20061
|
+
bereikbaar?: string | null;
|
|
20062
|
+
created_at?: string;
|
|
20063
|
+
fout?: string | null;
|
|
20064
|
+
geheim?: string | null;
|
|
20065
|
+
gekoppeld_op?: string | null;
|
|
20066
|
+
id?: number;
|
|
20067
|
+
laatst_ontvangen_op?: string | null;
|
|
20068
|
+
laatste_poging_op?: string | null;
|
|
20069
|
+
melding?: string | null;
|
|
20070
|
+
pn_geslaagd?: number | null;
|
|
20071
|
+
pn_geslaagd_vorig?: number | null;
|
|
20072
|
+
pn_mislukt?: number | null;
|
|
20073
|
+
pn_ontvangen?: number | null;
|
|
20074
|
+
pn_opgehaald_op?: string | null;
|
|
20075
|
+
pn_url?: string | null;
|
|
20076
|
+
pn_weggegooid?: number | null;
|
|
20077
|
+
secret_veld?: string | null;
|
|
20078
|
+
status?: string;
|
|
20079
|
+
updated_at?: string;
|
|
20080
|
+
url?: string | null;
|
|
20081
|
+
webhook_id?: number | null;
|
|
20082
|
+
zelftest_fout?: string | null;
|
|
20083
|
+
zelftest_op?: string | null;
|
|
20084
|
+
};
|
|
20085
|
+
Update: {
|
|
20086
|
+
bereikbaar?: string | null;
|
|
20087
|
+
created_at?: string;
|
|
20088
|
+
fout?: string | null;
|
|
20089
|
+
geheim?: string | null;
|
|
20090
|
+
gekoppeld_op?: string | null;
|
|
20091
|
+
id?: number;
|
|
20092
|
+
laatst_ontvangen_op?: string | null;
|
|
20093
|
+
laatste_poging_op?: string | null;
|
|
20094
|
+
melding?: string | null;
|
|
20095
|
+
pn_geslaagd?: number | null;
|
|
20096
|
+
pn_geslaagd_vorig?: number | null;
|
|
20097
|
+
pn_mislukt?: number | null;
|
|
20098
|
+
pn_ontvangen?: number | null;
|
|
20099
|
+
pn_opgehaald_op?: string | null;
|
|
20100
|
+
pn_url?: string | null;
|
|
20101
|
+
pn_weggegooid?: number | null;
|
|
20102
|
+
secret_veld?: string | null;
|
|
20103
|
+
status?: string;
|
|
20104
|
+
updated_at?: string;
|
|
20105
|
+
url?: string | null;
|
|
20106
|
+
webhook_id?: number | null;
|
|
20107
|
+
zelftest_fout?: string | null;
|
|
20108
|
+
zelftest_op?: string | null;
|
|
20109
|
+
};
|
|
20110
|
+
Relationships: [];
|
|
20111
|
+
};
|
|
20112
|
+
printnode_webhook_meldingen: {
|
|
20113
|
+
Row: {
|
|
20114
|
+
antwoord: Json | null;
|
|
20115
|
+
gematcht: number;
|
|
20116
|
+
http_status: number;
|
|
20117
|
+
id: number;
|
|
20118
|
+
niet_gematcht: string[];
|
|
20119
|
+
ontvangen_op: string;
|
|
20120
|
+
printnode_ids: string[];
|
|
20121
|
+
soorten: string[];
|
|
20122
|
+
};
|
|
20123
|
+
Insert: {
|
|
20124
|
+
antwoord?: Json | null;
|
|
20125
|
+
gematcht?: number;
|
|
20126
|
+
http_status: number;
|
|
20127
|
+
id?: never;
|
|
20128
|
+
niet_gematcht?: string[];
|
|
20129
|
+
ontvangen_op?: string;
|
|
20130
|
+
printnode_ids?: string[];
|
|
20131
|
+
soorten?: string[];
|
|
20132
|
+
};
|
|
20133
|
+
Update: {
|
|
20134
|
+
antwoord?: Json | null;
|
|
20135
|
+
gematcht?: number;
|
|
20136
|
+
http_status?: number;
|
|
20137
|
+
id?: never;
|
|
20138
|
+
niet_gematcht?: string[];
|
|
20139
|
+
ontvangen_op?: string;
|
|
20140
|
+
printnode_ids?: string[];
|
|
20141
|
+
soorten?: string[];
|
|
20142
|
+
};
|
|
20143
|
+
Relationships: [];
|
|
20144
|
+
};
|
|
18845
20145
|
product_bom_external_items: {
|
|
18846
20146
|
Row: {
|
|
18847
20147
|
created_at: string;
|
|
@@ -21046,43 +22346,212 @@ export type Database = {
|
|
|
21046
22346
|
};
|
|
21047
22347
|
Relationships: [];
|
|
21048
22348
|
};
|
|
22349
|
+
stock_import_chunks: {
|
|
22350
|
+
Row: {
|
|
22351
|
+
chunk_no: number;
|
|
22352
|
+
created_at: string;
|
|
22353
|
+
duration_ms: number | null;
|
|
22354
|
+
processed_at: string | null;
|
|
22355
|
+
run_id: string;
|
|
22356
|
+
status: string;
|
|
22357
|
+
undone_at: string | null;
|
|
22358
|
+
updated_at: string;
|
|
22359
|
+
};
|
|
22360
|
+
Insert: {
|
|
22361
|
+
chunk_no: number;
|
|
22362
|
+
created_at?: string;
|
|
22363
|
+
duration_ms?: number | null;
|
|
22364
|
+
processed_at?: string | null;
|
|
22365
|
+
run_id: string;
|
|
22366
|
+
status?: string;
|
|
22367
|
+
undone_at?: string | null;
|
|
22368
|
+
updated_at?: string;
|
|
22369
|
+
};
|
|
22370
|
+
Update: {
|
|
22371
|
+
chunk_no?: number;
|
|
22372
|
+
created_at?: string;
|
|
22373
|
+
duration_ms?: number | null;
|
|
22374
|
+
processed_at?: string | null;
|
|
22375
|
+
run_id?: string;
|
|
22376
|
+
status?: string;
|
|
22377
|
+
undone_at?: string | null;
|
|
22378
|
+
updated_at?: string;
|
|
22379
|
+
};
|
|
22380
|
+
Relationships: [
|
|
22381
|
+
{
|
|
22382
|
+
foreignKeyName: "stock_import_chunks_run_id_fkey";
|
|
22383
|
+
columns: ["run_id"];
|
|
22384
|
+
isOneToOne: false;
|
|
22385
|
+
referencedRelation: "stock_import_runs";
|
|
22386
|
+
referencedColumns: ["id"];
|
|
22387
|
+
}
|
|
22388
|
+
];
|
|
22389
|
+
};
|
|
22390
|
+
stock_import_rows: {
|
|
22391
|
+
Row: {
|
|
22392
|
+
article_code: string | null;
|
|
22393
|
+
article_name: string | null;
|
|
22394
|
+
chunk_no: number;
|
|
22395
|
+
connection_id: string | null;
|
|
22396
|
+
created_at: string;
|
|
22397
|
+
custom_values: Json | null;
|
|
22398
|
+
error: string | null;
|
|
22399
|
+
id: string;
|
|
22400
|
+
incoming_after: number | null;
|
|
22401
|
+
incoming_before: number | null;
|
|
22402
|
+
incoming_in: number | null;
|
|
22403
|
+
is_new: boolean;
|
|
22404
|
+
minimum_after: number | null;
|
|
22405
|
+
minimum_before: number | null;
|
|
22406
|
+
minimum_in: number | null;
|
|
22407
|
+
new_payload: Json | null;
|
|
22408
|
+
note: string | null;
|
|
22409
|
+
physical_after: number | null;
|
|
22410
|
+
physical_before: number | null;
|
|
22411
|
+
physical_in: number | null;
|
|
22412
|
+
processed_at: string | null;
|
|
22413
|
+
product_id: string | null;
|
|
22414
|
+
row_no: number;
|
|
22415
|
+
run_id: string;
|
|
22416
|
+
status: string;
|
|
22417
|
+
trade_item_key: string | null;
|
|
22418
|
+
updated_at: string;
|
|
22419
|
+
};
|
|
22420
|
+
Insert: {
|
|
22421
|
+
article_code?: string | null;
|
|
22422
|
+
article_name?: string | null;
|
|
22423
|
+
chunk_no: number;
|
|
22424
|
+
connection_id?: string | null;
|
|
22425
|
+
created_at?: string;
|
|
22426
|
+
custom_values?: Json | null;
|
|
22427
|
+
error?: string | null;
|
|
22428
|
+
id?: string;
|
|
22429
|
+
incoming_after?: number | null;
|
|
22430
|
+
incoming_before?: number | null;
|
|
22431
|
+
incoming_in?: number | null;
|
|
22432
|
+
is_new?: boolean;
|
|
22433
|
+
minimum_after?: number | null;
|
|
22434
|
+
minimum_before?: number | null;
|
|
22435
|
+
minimum_in?: number | null;
|
|
22436
|
+
new_payload?: Json | null;
|
|
22437
|
+
note?: string | null;
|
|
22438
|
+
physical_after?: number | null;
|
|
22439
|
+
physical_before?: number | null;
|
|
22440
|
+
physical_in?: number | null;
|
|
22441
|
+
processed_at?: string | null;
|
|
22442
|
+
product_id?: string | null;
|
|
22443
|
+
row_no: number;
|
|
22444
|
+
run_id: string;
|
|
22445
|
+
status?: string;
|
|
22446
|
+
trade_item_key?: string | null;
|
|
22447
|
+
updated_at?: string;
|
|
22448
|
+
};
|
|
22449
|
+
Update: {
|
|
22450
|
+
article_code?: string | null;
|
|
22451
|
+
article_name?: string | null;
|
|
22452
|
+
chunk_no?: number;
|
|
22453
|
+
connection_id?: string | null;
|
|
22454
|
+
created_at?: string;
|
|
22455
|
+
custom_values?: Json | null;
|
|
22456
|
+
error?: string | null;
|
|
22457
|
+
id?: string;
|
|
22458
|
+
incoming_after?: number | null;
|
|
22459
|
+
incoming_before?: number | null;
|
|
22460
|
+
incoming_in?: number | null;
|
|
22461
|
+
is_new?: boolean;
|
|
22462
|
+
minimum_after?: number | null;
|
|
22463
|
+
minimum_before?: number | null;
|
|
22464
|
+
minimum_in?: number | null;
|
|
22465
|
+
new_payload?: Json | null;
|
|
22466
|
+
note?: string | null;
|
|
22467
|
+
physical_after?: number | null;
|
|
22468
|
+
physical_before?: number | null;
|
|
22469
|
+
physical_in?: number | null;
|
|
22470
|
+
processed_at?: string | null;
|
|
22471
|
+
product_id?: string | null;
|
|
22472
|
+
row_no?: number;
|
|
22473
|
+
run_id?: string;
|
|
22474
|
+
status?: string;
|
|
22475
|
+
trade_item_key?: string | null;
|
|
22476
|
+
updated_at?: string;
|
|
22477
|
+
};
|
|
22478
|
+
Relationships: [
|
|
22479
|
+
{
|
|
22480
|
+
foreignKeyName: "stock_import_rows_run_id_fkey";
|
|
22481
|
+
columns: ["run_id"];
|
|
22482
|
+
isOneToOne: false;
|
|
22483
|
+
referencedRelation: "stock_import_runs";
|
|
22484
|
+
referencedColumns: ["id"];
|
|
22485
|
+
}
|
|
22486
|
+
];
|
|
22487
|
+
};
|
|
21049
22488
|
stock_import_runs: {
|
|
21050
22489
|
Row: {
|
|
22490
|
+
chunk_size: number | null;
|
|
21051
22491
|
connection_id: string | null;
|
|
21052
22492
|
created_at: string;
|
|
21053
22493
|
created_rows: number;
|
|
22494
|
+
done_chunks: number;
|
|
21054
22495
|
errors: Json;
|
|
22496
|
+
file_hash: string | null;
|
|
21055
22497
|
filename: string | null;
|
|
22498
|
+
finished_at: string | null;
|
|
21056
22499
|
id: string;
|
|
21057
22500
|
mutations: Json;
|
|
22501
|
+
rows_purged_at: string | null;
|
|
21058
22502
|
skipped_rows: number;
|
|
22503
|
+
status: string;
|
|
22504
|
+
total_chunks: number;
|
|
21059
22505
|
total_rows: number;
|
|
22506
|
+
undo_skipped_rows: number;
|
|
22507
|
+
undone_rows: number;
|
|
22508
|
+
updated_at: string;
|
|
21060
22509
|
updated_rows: number;
|
|
21061
22510
|
user_id: string;
|
|
21062
22511
|
};
|
|
21063
22512
|
Insert: {
|
|
22513
|
+
chunk_size?: number | null;
|
|
21064
22514
|
connection_id?: string | null;
|
|
21065
22515
|
created_at?: string;
|
|
21066
22516
|
created_rows?: number;
|
|
22517
|
+
done_chunks?: number;
|
|
21067
22518
|
errors?: Json;
|
|
22519
|
+
file_hash?: string | null;
|
|
21068
22520
|
filename?: string | null;
|
|
22521
|
+
finished_at?: string | null;
|
|
21069
22522
|
id?: string;
|
|
21070
22523
|
mutations?: Json;
|
|
22524
|
+
rows_purged_at?: string | null;
|
|
21071
22525
|
skipped_rows?: number;
|
|
22526
|
+
status?: string;
|
|
22527
|
+
total_chunks?: number;
|
|
21072
22528
|
total_rows?: number;
|
|
22529
|
+
undo_skipped_rows?: number;
|
|
22530
|
+
undone_rows?: number;
|
|
22531
|
+
updated_at?: string;
|
|
21073
22532
|
updated_rows?: number;
|
|
21074
22533
|
user_id: string;
|
|
21075
22534
|
};
|
|
21076
22535
|
Update: {
|
|
22536
|
+
chunk_size?: number | null;
|
|
21077
22537
|
connection_id?: string | null;
|
|
21078
22538
|
created_at?: string;
|
|
21079
22539
|
created_rows?: number;
|
|
22540
|
+
done_chunks?: number;
|
|
21080
22541
|
errors?: Json;
|
|
22542
|
+
file_hash?: string | null;
|
|
21081
22543
|
filename?: string | null;
|
|
22544
|
+
finished_at?: string | null;
|
|
21082
22545
|
id?: string;
|
|
21083
22546
|
mutations?: Json;
|
|
22547
|
+
rows_purged_at?: string | null;
|
|
21084
22548
|
skipped_rows?: number;
|
|
22549
|
+
status?: string;
|
|
22550
|
+
total_chunks?: number;
|
|
21085
22551
|
total_rows?: number;
|
|
22552
|
+
undo_skipped_rows?: number;
|
|
22553
|
+
undone_rows?: number;
|
|
22554
|
+
updated_at?: string;
|
|
21086
22555
|
updated_rows?: number;
|
|
21087
22556
|
user_id?: string;
|
|
21088
22557
|
};
|
|
@@ -22093,7 +23562,7 @@ export type Database = {
|
|
|
22093
23562
|
reserved_stock?: number;
|
|
22094
23563
|
trade_item_key: string;
|
|
22095
23564
|
updated_at?: string;
|
|
22096
|
-
user_id
|
|
23565
|
+
user_id?: string;
|
|
22097
23566
|
};
|
|
22098
23567
|
Update: {
|
|
22099
23568
|
change_source?: string;
|
|
@@ -25591,9 +27060,59 @@ export type Database = {
|
|
|
25591
27060
|
};
|
|
25592
27061
|
Relationships: [];
|
|
25593
27062
|
};
|
|
27063
|
+
werkbon_standby_tijdvakken: {
|
|
27064
|
+
Row: {
|
|
27065
|
+
created_at: string;
|
|
27066
|
+
datum: string;
|
|
27067
|
+
eind_tijd: string;
|
|
27068
|
+
id: string;
|
|
27069
|
+
monteur_id: string;
|
|
27070
|
+
start_tijd: string;
|
|
27071
|
+
updated_at: string;
|
|
27072
|
+
werkbon_id: string;
|
|
27073
|
+
};
|
|
27074
|
+
Insert: {
|
|
27075
|
+
created_at?: string;
|
|
27076
|
+
datum: string;
|
|
27077
|
+
eind_tijd: string;
|
|
27078
|
+
id?: string;
|
|
27079
|
+
monteur_id: string;
|
|
27080
|
+
start_tijd: string;
|
|
27081
|
+
updated_at?: string;
|
|
27082
|
+
werkbon_id: string;
|
|
27083
|
+
};
|
|
27084
|
+
Update: {
|
|
27085
|
+
created_at?: string;
|
|
27086
|
+
datum?: string;
|
|
27087
|
+
eind_tijd?: string;
|
|
27088
|
+
id?: string;
|
|
27089
|
+
monteur_id?: string;
|
|
27090
|
+
start_tijd?: string;
|
|
27091
|
+
updated_at?: string;
|
|
27092
|
+
werkbon_id?: string;
|
|
27093
|
+
};
|
|
27094
|
+
Relationships: [
|
|
27095
|
+
{
|
|
27096
|
+
foreignKeyName: "werkbon_standby_tijdvakken_werkbon_id_fkey";
|
|
27097
|
+
columns: ["werkbon_id"];
|
|
27098
|
+
isOneToOne: false;
|
|
27099
|
+
referencedRelation: "werkbonnen";
|
|
27100
|
+
referencedColumns: ["id"];
|
|
27101
|
+
},
|
|
27102
|
+
{
|
|
27103
|
+
foreignKeyName: "werkbon_standby_tijdvakken_werkbon_id_fkey";
|
|
27104
|
+
columns: ["werkbon_id"];
|
|
27105
|
+
isOneToOne: false;
|
|
27106
|
+
referencedRelation: "wo_overview";
|
|
27107
|
+
referencedColumns: ["id"];
|
|
27108
|
+
}
|
|
27109
|
+
];
|
|
27110
|
+
};
|
|
25594
27111
|
werkbon_time_logs: {
|
|
25595
27112
|
Row: {
|
|
25596
27113
|
activity: string;
|
|
27114
|
+
auto_stop_reason: string | null;
|
|
27115
|
+
auto_stopped: boolean;
|
|
25597
27116
|
created_at: string;
|
|
25598
27117
|
ended_at: string | null;
|
|
25599
27118
|
id: string;
|
|
@@ -25604,6 +27123,8 @@ export type Database = {
|
|
|
25604
27123
|
};
|
|
25605
27124
|
Insert: {
|
|
25606
27125
|
activity: string;
|
|
27126
|
+
auto_stop_reason?: string | null;
|
|
27127
|
+
auto_stopped?: boolean;
|
|
25607
27128
|
created_at?: string;
|
|
25608
27129
|
ended_at?: string | null;
|
|
25609
27130
|
id?: string;
|
|
@@ -25614,6 +27135,8 @@ export type Database = {
|
|
|
25614
27135
|
};
|
|
25615
27136
|
Update: {
|
|
25616
27137
|
activity?: string;
|
|
27138
|
+
auto_stop_reason?: string | null;
|
|
27139
|
+
auto_stopped?: boolean;
|
|
25617
27140
|
created_at?: string;
|
|
25618
27141
|
ended_at?: string | null;
|
|
25619
27142
|
id?: string;
|
|
@@ -25647,6 +27170,7 @@ export type Database = {
|
|
|
25647
27170
|
created_by: string;
|
|
25648
27171
|
customer_id: string | null;
|
|
25649
27172
|
id: string;
|
|
27173
|
+
offerte_id: string | null;
|
|
25650
27174
|
payload: Json;
|
|
25651
27175
|
reden: string | null;
|
|
25652
27176
|
status: string;
|
|
@@ -25662,6 +27186,7 @@ export type Database = {
|
|
|
25662
27186
|
created_by?: string;
|
|
25663
27187
|
customer_id?: string | null;
|
|
25664
27188
|
id?: string;
|
|
27189
|
+
offerte_id?: string | null;
|
|
25665
27190
|
payload?: Json;
|
|
25666
27191
|
reden?: string | null;
|
|
25667
27192
|
status?: string;
|
|
@@ -25677,6 +27202,7 @@ export type Database = {
|
|
|
25677
27202
|
created_by?: string;
|
|
25678
27203
|
customer_id?: string | null;
|
|
25679
27204
|
id?: string;
|
|
27205
|
+
offerte_id?: string | null;
|
|
25680
27206
|
payload?: Json;
|
|
25681
27207
|
reden?: string | null;
|
|
25682
27208
|
status?: string;
|
|
@@ -25735,6 +27261,8 @@ export type Database = {
|
|
|
25735
27261
|
id: string;
|
|
25736
27262
|
internal_notes: string | null;
|
|
25737
27263
|
needs_detail_review: boolean;
|
|
27264
|
+
offerte_teruggestuurd_id: string | null;
|
|
27265
|
+
offerte_teruggestuurd_op: string | null;
|
|
25738
27266
|
parent_werkbon_id: string | null;
|
|
25739
27267
|
parsed_payload: Json | null;
|
|
25740
27268
|
planning_status: string;
|
|
@@ -25779,6 +27307,8 @@ export type Database = {
|
|
|
25779
27307
|
id?: string;
|
|
25780
27308
|
internal_notes?: string | null;
|
|
25781
27309
|
needs_detail_review?: boolean;
|
|
27310
|
+
offerte_teruggestuurd_id?: string | null;
|
|
27311
|
+
offerte_teruggestuurd_op?: string | null;
|
|
25782
27312
|
parent_werkbon_id?: string | null;
|
|
25783
27313
|
parsed_payload?: Json | null;
|
|
25784
27314
|
planning_status?: string;
|
|
@@ -25823,6 +27353,8 @@ export type Database = {
|
|
|
25823
27353
|
id?: string;
|
|
25824
27354
|
internal_notes?: string | null;
|
|
25825
27355
|
needs_detail_review?: boolean;
|
|
27356
|
+
offerte_teruggestuurd_id?: string | null;
|
|
27357
|
+
offerte_teruggestuurd_op?: string | null;
|
|
25826
27358
|
parent_werkbon_id?: string | null;
|
|
25827
27359
|
parsed_payload?: Json | null;
|
|
25828
27360
|
planning_status?: string;
|
|
@@ -26990,6 +28522,15 @@ export type Database = {
|
|
|
26990
28522
|
};
|
|
26991
28523
|
};
|
|
26992
28524
|
Functions: {
|
|
28525
|
+
_floriday_queue_cleanup_batch: {
|
|
28526
|
+
Args: {
|
|
28527
|
+
p_days: number;
|
|
28528
|
+
p_keep_latest: boolean;
|
|
28529
|
+
p_limit: number;
|
|
28530
|
+
p_statuses: string[];
|
|
28531
|
+
};
|
|
28532
|
+
Returns: number;
|
|
28533
|
+
};
|
|
26993
28534
|
_floriday_schedule_job: {
|
|
26994
28535
|
Args: {
|
|
26995
28536
|
p_apikey: string;
|
|
@@ -27000,6 +28541,14 @@ export type Database = {
|
|
|
27000
28541
|
};
|
|
27001
28542
|
Returns: number;
|
|
27002
28543
|
};
|
|
28544
|
+
_jsonb_paden_met_waarde: {
|
|
28545
|
+
Args: {
|
|
28546
|
+
_j: Json;
|
|
28547
|
+
_pad?: string[];
|
|
28548
|
+
_w: string;
|
|
28549
|
+
};
|
|
28550
|
+
Returns: string[][];
|
|
28551
|
+
};
|
|
27003
28552
|
_migrate_rewrite_stock_key: {
|
|
27004
28553
|
Args: {
|
|
27005
28554
|
_from_key: string;
|
|
@@ -27013,6 +28562,18 @@ export type Database = {
|
|
|
27013
28562
|
};
|
|
27014
28563
|
Returns: Json;
|
|
27015
28564
|
};
|
|
28565
|
+
_scan_kar_voortgang: {
|
|
28566
|
+
Args: {
|
|
28567
|
+
p_cart_id: string;
|
|
28568
|
+
};
|
|
28569
|
+
Returns: Json;
|
|
28570
|
+
};
|
|
28571
|
+
_stock_import_caller: {
|
|
28572
|
+
Args: {
|
|
28573
|
+
p_owner: string;
|
|
28574
|
+
};
|
|
28575
|
+
Returns: boolean;
|
|
28576
|
+
};
|
|
27016
28577
|
_wo_is_planner: {
|
|
27017
28578
|
Args: never;
|
|
27018
28579
|
Returns: boolean;
|
|
@@ -27024,6 +28585,18 @@ export type Database = {
|
|
|
27024
28585
|
};
|
|
27025
28586
|
Returns: string;
|
|
27026
28587
|
};
|
|
28588
|
+
afh_html: {
|
|
28589
|
+
Args: {
|
|
28590
|
+
_s: string;
|
|
28591
|
+
};
|
|
28592
|
+
Returns: string;
|
|
28593
|
+
};
|
|
28594
|
+
afh_nl_date: {
|
|
28595
|
+
Args: {
|
|
28596
|
+
_d: string;
|
|
28597
|
+
};
|
|
28598
|
+
Returns: string;
|
|
28599
|
+
};
|
|
27027
28600
|
afh_normalize_country: {
|
|
27028
28601
|
Args: {
|
|
27029
28602
|
_raw: string;
|
|
@@ -27036,6 +28609,46 @@ export type Database = {
|
|
|
27036
28609
|
};
|
|
27037
28610
|
Returns: string;
|
|
27038
28611
|
};
|
|
28612
|
+
afh_signup_config: {
|
|
28613
|
+
Args: never;
|
|
28614
|
+
Returns: Json;
|
|
28615
|
+
};
|
|
28616
|
+
afh_signup_find_group: {
|
|
28617
|
+
Args: {
|
|
28618
|
+
p_carrier_id: string;
|
|
28619
|
+
p_moment_key: string;
|
|
28620
|
+
p_pickup_date: string;
|
|
28621
|
+
p_tz: string;
|
|
28622
|
+
};
|
|
28623
|
+
Returns: Json;
|
|
28624
|
+
};
|
|
28625
|
+
afh_signup_groups: {
|
|
28626
|
+
Args: {
|
|
28627
|
+
p_from: string;
|
|
28628
|
+
p_to: string;
|
|
28629
|
+
p_tz: string;
|
|
28630
|
+
};
|
|
28631
|
+
Returns: Json;
|
|
28632
|
+
};
|
|
28633
|
+
afh_signup_mail: {
|
|
28634
|
+
Args: {
|
|
28635
|
+
g: Json;
|
|
28636
|
+
p_prev: number;
|
|
28637
|
+
p_tz: string;
|
|
28638
|
+
};
|
|
28639
|
+
Returns: Json;
|
|
28640
|
+
};
|
|
28641
|
+
afh_signup_send_group: {
|
|
28642
|
+
Args: {
|
|
28643
|
+
g: Json;
|
|
28644
|
+
p_connection: string;
|
|
28645
|
+
p_purpose: string;
|
|
28646
|
+
p_source: string;
|
|
28647
|
+
p_tz: string;
|
|
28648
|
+
p_user: string;
|
|
28649
|
+
};
|
|
28650
|
+
Returns: Json;
|
|
28651
|
+
};
|
|
27039
28652
|
afh_subtract_workdays: {
|
|
27040
28653
|
Args: {
|
|
27041
28654
|
_date: string;
|
|
@@ -27043,6 +28656,14 @@ export type Database = {
|
|
|
27043
28656
|
};
|
|
27044
28657
|
Returns: string;
|
|
27045
28658
|
};
|
|
28659
|
+
afhandeling_signup_cron_status: {
|
|
28660
|
+
Args: never;
|
|
28661
|
+
Returns: Json;
|
|
28662
|
+
};
|
|
28663
|
+
afhandeling_sync_signup_cron: {
|
|
28664
|
+
Args: never;
|
|
28665
|
+
Returns: Json;
|
|
28666
|
+
};
|
|
27046
28667
|
ai_usage_by_module: {
|
|
27047
28668
|
Args: {
|
|
27048
28669
|
_from: string;
|
|
@@ -27184,6 +28805,29 @@ export type Database = {
|
|
|
27184
28805
|
id: string;
|
|
27185
28806
|
}[];
|
|
27186
28807
|
};
|
|
28808
|
+
carrier_signup_overview: {
|
|
28809
|
+
Args: {
|
|
28810
|
+
p_from: string;
|
|
28811
|
+
p_to: string;
|
|
28812
|
+
};
|
|
28813
|
+
Returns: Json;
|
|
28814
|
+
};
|
|
28815
|
+
carrier_signup_preview: {
|
|
28816
|
+
Args: {
|
|
28817
|
+
p_carrier_id: string;
|
|
28818
|
+
p_moment_key: string;
|
|
28819
|
+
p_pickup_date: string;
|
|
28820
|
+
};
|
|
28821
|
+
Returns: Json;
|
|
28822
|
+
};
|
|
28823
|
+
carrier_signup_send_now: {
|
|
28824
|
+
Args: {
|
|
28825
|
+
p_carrier_id: string;
|
|
28826
|
+
p_moment_key: string;
|
|
28827
|
+
p_pickup_date: string;
|
|
28828
|
+
};
|
|
28829
|
+
Returns: Json;
|
|
28830
|
+
};
|
|
27187
28831
|
check_offer_product_available_stock: {
|
|
27188
28832
|
Args: {
|
|
27189
28833
|
p_campaign_product_id: string;
|
|
@@ -27258,16 +28902,21 @@ export type Database = {
|
|
|
27258
28902
|
lokale_pdf_print_plek_id: string | null;
|
|
27259
28903
|
lokale_pdf_status: string | null;
|
|
27260
28904
|
opgepakt_op: string | null;
|
|
28905
|
+
origineel_sleutel: string | null;
|
|
27261
28906
|
paginas: number;
|
|
27262
28907
|
payload: Json;
|
|
27263
28908
|
pdf_base64: string | null;
|
|
27264
28909
|
pdf_url: string | null;
|
|
27265
28910
|
pogingen: number;
|
|
27266
28911
|
printer_id: string | null;
|
|
28912
|
+
printnode_bericht: string | null;
|
|
28913
|
+
printnode_status: string | null;
|
|
28914
|
+
printnode_status_op: string | null;
|
|
27267
28915
|
render_html: string | null;
|
|
27268
28916
|
resultaat_pdf_base64: string | null;
|
|
27269
28917
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
27270
28918
|
updated_at: string;
|
|
28919
|
+
verloopt_na_s: number | null;
|
|
27271
28920
|
verwerkingsfase: string;
|
|
27272
28921
|
volgende_poging: string | null;
|
|
27273
28922
|
voltooid_op: string | null;
|
|
@@ -27279,6 +28928,24 @@ export type Database = {
|
|
|
27279
28928
|
isSetofReturn: true;
|
|
27280
28929
|
};
|
|
27281
28930
|
};
|
|
28931
|
+
claim_floriday_base_supply: {
|
|
28932
|
+
Args: {
|
|
28933
|
+
p_worker?: string;
|
|
28934
|
+
};
|
|
28935
|
+
Returns: {
|
|
28936
|
+
attempts: number;
|
|
28937
|
+
id: string;
|
|
28938
|
+
number_of_pieces: number;
|
|
28939
|
+
product_id: string;
|
|
28940
|
+
sale_price: number;
|
|
28941
|
+
stock_mode: string;
|
|
28942
|
+
target_week: number;
|
|
28943
|
+
target_year: number;
|
|
28944
|
+
trade_item_id: string;
|
|
28945
|
+
unit: string;
|
|
28946
|
+
uses_catalog_availability: boolean;
|
|
28947
|
+
}[];
|
|
28948
|
+
};
|
|
27282
28949
|
claim_floriday_stock_queue: {
|
|
27283
28950
|
Args: {
|
|
27284
28951
|
p_limit?: number;
|
|
@@ -27287,19 +28954,26 @@ export type Database = {
|
|
|
27287
28954
|
Returns: {
|
|
27288
28955
|
attempts: number;
|
|
27289
28956
|
availability_sent_at: string | null;
|
|
28957
|
+
base_supply_outcome: string | null;
|
|
27290
28958
|
connection_id: string;
|
|
27291
28959
|
created_at: string;
|
|
27292
28960
|
dead_lettered_at: string | null;
|
|
27293
28961
|
desired_available: boolean | null;
|
|
27294
28962
|
gateway_attempt_id: string | null;
|
|
28963
|
+
gateway_unreachable_since: string | null;
|
|
27295
28964
|
id: string;
|
|
27296
28965
|
last_error: string | null;
|
|
27297
28966
|
locked_at: string | null;
|
|
27298
28967
|
locked_by: string | null;
|
|
27299
28968
|
next_attempt_at: string;
|
|
27300
28969
|
number_of_pieces: number;
|
|
28970
|
+
price_note: string | null;
|
|
28971
|
+
price_previous: number | null;
|
|
28972
|
+
price_sent: number | null;
|
|
28973
|
+
price_status: string | null;
|
|
27301
28974
|
product_id: string | null;
|
|
27302
28975
|
quantity_sent_at: string | null;
|
|
28976
|
+
result_label: string | null;
|
|
27303
28977
|
sent_at: string | null;
|
|
27304
28978
|
skip_reason: string | null;
|
|
27305
28979
|
status: string;
|
|
@@ -27424,16 +29098,21 @@ export type Database = {
|
|
|
27424
29098
|
lokale_pdf_print_plek_id: string | null;
|
|
27425
29099
|
lokale_pdf_status: string | null;
|
|
27426
29100
|
opgepakt_op: string | null;
|
|
29101
|
+
origineel_sleutel: string | null;
|
|
27427
29102
|
paginas: number;
|
|
27428
29103
|
payload: Json;
|
|
27429
29104
|
pdf_base64: string | null;
|
|
27430
29105
|
pdf_url: string | null;
|
|
27431
29106
|
pogingen: number;
|
|
27432
29107
|
printer_id: string | null;
|
|
29108
|
+
printnode_bericht: string | null;
|
|
29109
|
+
printnode_status: string | null;
|
|
29110
|
+
printnode_status_op: string | null;
|
|
27433
29111
|
render_html: string | null;
|
|
27434
29112
|
resultaat_pdf_base64: string | null;
|
|
27435
29113
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
27436
29114
|
updated_at: string;
|
|
29115
|
+
verloopt_na_s: number | null;
|
|
27437
29116
|
verwerkingsfase: string;
|
|
27438
29117
|
volgende_poging: string | null;
|
|
27439
29118
|
voltooid_op: string | null;
|
|
@@ -27485,16 +29164,21 @@ export type Database = {
|
|
|
27485
29164
|
lokale_pdf_print_plek_id: string | null;
|
|
27486
29165
|
lokale_pdf_status: string | null;
|
|
27487
29166
|
opgepakt_op: string | null;
|
|
29167
|
+
origineel_sleutel: string | null;
|
|
27488
29168
|
paginas: number;
|
|
27489
29169
|
payload: Json;
|
|
27490
29170
|
pdf_base64: string | null;
|
|
27491
29171
|
pdf_url: string | null;
|
|
27492
29172
|
pogingen: number;
|
|
27493
29173
|
printer_id: string | null;
|
|
29174
|
+
printnode_bericht: string | null;
|
|
29175
|
+
printnode_status: string | null;
|
|
29176
|
+
printnode_status_op: string | null;
|
|
27494
29177
|
render_html: string | null;
|
|
27495
29178
|
resultaat_pdf_base64: string | null;
|
|
27496
29179
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
27497
29180
|
updated_at: string;
|
|
29181
|
+
verloopt_na_s: number | null;
|
|
27498
29182
|
verwerkingsfase: string;
|
|
27499
29183
|
volgende_poging: string | null;
|
|
27500
29184
|
voltooid_op: string | null;
|
|
@@ -27563,6 +29247,19 @@ export type Database = {
|
|
|
27563
29247
|
Args: never;
|
|
27564
29248
|
Returns: undefined;
|
|
27565
29249
|
};
|
|
29250
|
+
complete_floriday_base_supply: {
|
|
29251
|
+
Args: {
|
|
29252
|
+
p_attempt_id?: string;
|
|
29253
|
+
p_error?: string;
|
|
29254
|
+
p_id: string;
|
|
29255
|
+
p_kind: string;
|
|
29256
|
+
p_label?: string;
|
|
29257
|
+
p_outcome?: string;
|
|
29258
|
+
p_price?: number;
|
|
29259
|
+
p_price_status?: string;
|
|
29260
|
+
};
|
|
29261
|
+
Returns: string;
|
|
29262
|
+
};
|
|
27566
29263
|
complete_floriday_stock_queue: {
|
|
27567
29264
|
Args: {
|
|
27568
29265
|
p_attempt_id?: string;
|
|
@@ -27677,6 +29374,13 @@ export type Database = {
|
|
|
27677
29374
|
status: string;
|
|
27678
29375
|
}[];
|
|
27679
29376
|
};
|
|
29377
|
+
control_mark_cart_delivered_by_cart: {
|
|
29378
|
+
Args: {
|
|
29379
|
+
p_afmeld_bron?: string;
|
|
29380
|
+
p_cart_id: string;
|
|
29381
|
+
};
|
|
29382
|
+
Returns: Json;
|
|
29383
|
+
};
|
|
27680
29384
|
control_mark_carts_delivered: {
|
|
27681
29385
|
Args: {
|
|
27682
29386
|
p_carts: Json;
|
|
@@ -27696,6 +29400,13 @@ export type Database = {
|
|
|
27696
29400
|
outcome: string;
|
|
27697
29401
|
}[];
|
|
27698
29402
|
};
|
|
29403
|
+
control_post_mark_cart_delivered: {
|
|
29404
|
+
Args: {
|
|
29405
|
+
p_cart_id: string;
|
|
29406
|
+
p_slug: string;
|
|
29407
|
+
};
|
|
29408
|
+
Returns: Json;
|
|
29409
|
+
};
|
|
27699
29410
|
count_distinct_regulatory_products: {
|
|
27700
29411
|
Args: never;
|
|
27701
29412
|
Returns: number;
|
|
@@ -27732,6 +29443,10 @@ export type Database = {
|
|
|
27732
29443
|
Args: never;
|
|
27733
29444
|
Returns: Json;
|
|
27734
29445
|
};
|
|
29446
|
+
dashboard_alert_counts_v2: {
|
|
29447
|
+
Args: never;
|
|
29448
|
+
Returns: Json;
|
|
29449
|
+
};
|
|
27735
29450
|
dashboard_alert_rows: {
|
|
27736
29451
|
Args: {
|
|
27737
29452
|
check_id: string;
|
|
@@ -27739,6 +29454,30 @@ export type Database = {
|
|
|
27739
29454
|
};
|
|
27740
29455
|
Returns: Json;
|
|
27741
29456
|
};
|
|
29457
|
+
dashboard_alert_rows_v2: {
|
|
29458
|
+
Args: {
|
|
29459
|
+
check_id: string;
|
|
29460
|
+
row_limit?: number;
|
|
29461
|
+
};
|
|
29462
|
+
Returns: Json;
|
|
29463
|
+
};
|
|
29464
|
+
dashboard_ensure_start_page: {
|
|
29465
|
+
Args: never;
|
|
29466
|
+
Returns: string;
|
|
29467
|
+
};
|
|
29468
|
+
dashboard_funnel_betaald: {
|
|
29469
|
+
Args: {
|
|
29470
|
+
_bedragen: number[];
|
|
29471
|
+
_statussen: string[];
|
|
29472
|
+
};
|
|
29473
|
+
Returns: boolean;
|
|
29474
|
+
};
|
|
29475
|
+
dashboard_jaar_start: {
|
|
29476
|
+
Args: {
|
|
29477
|
+
_vandaag: string;
|
|
29478
|
+
};
|
|
29479
|
+
Returns: string;
|
|
29480
|
+
};
|
|
27742
29481
|
dashboard_list_public_schema: {
|
|
27743
29482
|
Args: never;
|
|
27744
29483
|
Returns: {
|
|
@@ -27747,6 +29486,42 @@ export type Database = {
|
|
|
27747
29486
|
table_name: string;
|
|
27748
29487
|
}[];
|
|
27749
29488
|
};
|
|
29489
|
+
dashboard_order_state: {
|
|
29490
|
+
Args: {
|
|
29491
|
+
_order_id: string;
|
|
29492
|
+
};
|
|
29493
|
+
Returns: string;
|
|
29494
|
+
};
|
|
29495
|
+
dashboard_pit_tellingen: {
|
|
29496
|
+
Args: {
|
|
29497
|
+
_mail_connecties?: string[];
|
|
29498
|
+
_vandaag: string;
|
|
29499
|
+
};
|
|
29500
|
+
Returns: Json;
|
|
29501
|
+
};
|
|
29502
|
+
dashboard_werkbon_funnel: {
|
|
29503
|
+
Args: {
|
|
29504
|
+
_periode?: string;
|
|
29505
|
+
};
|
|
29506
|
+
Returns: Json;
|
|
29507
|
+
};
|
|
29508
|
+
dashboard_werkbon_jaarstats: {
|
|
29509
|
+
Args: never;
|
|
29510
|
+
Returns: Json;
|
|
29511
|
+
};
|
|
29512
|
+
dashboard_werkbon_soort: {
|
|
29513
|
+
Args: {
|
|
29514
|
+
_source: string;
|
|
29515
|
+
};
|
|
29516
|
+
Returns: string;
|
|
29517
|
+
};
|
|
29518
|
+
dashboard_werkbon_teller_plus: {
|
|
29519
|
+
Args: {
|
|
29520
|
+
_soort: string;
|
|
29521
|
+
_ts: string;
|
|
29522
|
+
};
|
|
29523
|
+
Returns: undefined;
|
|
29524
|
+
};
|
|
27750
29525
|
delete_samenstelling: {
|
|
27751
29526
|
Args: {
|
|
27752
29527
|
p_parent_id: string;
|
|
@@ -27953,7 +29728,7 @@ export type Database = {
|
|
|
27953
29728
|
};
|
|
27954
29729
|
floriday_cleanup_stock_queue_v2: {
|
|
27955
29730
|
Args: never;
|
|
27956
|
-
Returns:
|
|
29731
|
+
Returns: Json;
|
|
27957
29732
|
};
|
|
27958
29733
|
floriday_compact_stock_snapshots: {
|
|
27959
29734
|
Args: never;
|
|
@@ -28005,6 +29780,10 @@ export type Database = {
|
|
|
28005
29780
|
};
|
|
28006
29781
|
Returns: number;
|
|
28007
29782
|
};
|
|
29783
|
+
floriday_orphan_settings_count: {
|
|
29784
|
+
Args: never;
|
|
29785
|
+
Returns: number;
|
|
29786
|
+
};
|
|
28008
29787
|
floriday_publish_horizon_weeks: {
|
|
28009
29788
|
Args: never;
|
|
28010
29789
|
Returns: number;
|
|
@@ -28036,6 +29815,24 @@ export type Database = {
|
|
|
28036
29815
|
};
|
|
28037
29816
|
Returns: string;
|
|
28038
29817
|
};
|
|
29818
|
+
fust_negative_stock_report: {
|
|
29819
|
+
Args: never;
|
|
29820
|
+
Returns: {
|
|
29821
|
+
duplicate_names: number;
|
|
29822
|
+
fust_key: string;
|
|
29823
|
+
fust_type_id: string;
|
|
29824
|
+
name: string;
|
|
29825
|
+
shortage: number;
|
|
29826
|
+
stock: number;
|
|
29827
|
+
}[];
|
|
29828
|
+
};
|
|
29829
|
+
geladen_etiketten: {
|
|
29830
|
+
Args: {
|
|
29831
|
+
_print_plek_id?: string;
|
|
29832
|
+
_werkplek_id?: string;
|
|
29833
|
+
};
|
|
29834
|
+
Returns: Json;
|
|
29835
|
+
};
|
|
28039
29836
|
get_active_floriday_connection_public: {
|
|
28040
29837
|
Args: never;
|
|
28041
29838
|
Returns: {
|
|
@@ -28742,6 +30539,19 @@ export type Database = {
|
|
|
28742
30539
|
};
|
|
28743
30540
|
Returns: Json;
|
|
28744
30541
|
};
|
|
30542
|
+
invoice_register_send: {
|
|
30543
|
+
Args: {
|
|
30544
|
+
_invoice_id: string;
|
|
30545
|
+
_outbox_id: string;
|
|
30546
|
+
};
|
|
30547
|
+
Returns: Json;
|
|
30548
|
+
};
|
|
30549
|
+
invoice_resync_concept_from_work_order: {
|
|
30550
|
+
Args: {
|
|
30551
|
+
_werkbon_id: string;
|
|
30552
|
+
};
|
|
30553
|
+
Returns: undefined;
|
|
30554
|
+
};
|
|
28745
30555
|
invoice_save_branding_settings: {
|
|
28746
30556
|
Args: {
|
|
28747
30557
|
_payload: Json;
|
|
@@ -28761,6 +30571,13 @@ export type Database = {
|
|
|
28761
30571
|
};
|
|
28762
30572
|
Returns: Json;
|
|
28763
30573
|
};
|
|
30574
|
+
invoice_status_transition_ok: {
|
|
30575
|
+
Args: {
|
|
30576
|
+
_from: string;
|
|
30577
|
+
_to: string;
|
|
30578
|
+
};
|
|
30579
|
+
Returns: boolean;
|
|
30580
|
+
};
|
|
28764
30581
|
invoice_update_full: {
|
|
28765
30582
|
Args: {
|
|
28766
30583
|
_invoice_id: string;
|
|
@@ -28803,6 +30620,19 @@ export type Database = {
|
|
|
28803
30620
|
Args: never;
|
|
28804
30621
|
Returns: boolean;
|
|
28805
30622
|
};
|
|
30623
|
+
itk_customer_stats: {
|
|
30624
|
+
Args: {
|
|
30625
|
+
_customer_ids: string[];
|
|
30626
|
+
};
|
|
30627
|
+
Returns: {
|
|
30628
|
+
afgerond: number;
|
|
30629
|
+
bezig: number;
|
|
30630
|
+
customer_id: string;
|
|
30631
|
+
klussen: number;
|
|
30632
|
+
omzet_cents: number;
|
|
30633
|
+
open: number;
|
|
30634
|
+
}[];
|
|
30635
|
+
};
|
|
28806
30636
|
itk_offerte_naar_werkbon: {
|
|
28807
30637
|
Args: {
|
|
28808
30638
|
_offerte_id: string;
|
|
@@ -28816,6 +30646,16 @@ export type Database = {
|
|
|
28816
30646
|
};
|
|
28817
30647
|
Returns: number;
|
|
28818
30648
|
};
|
|
30649
|
+
itk_top_customers_by_revenue: {
|
|
30650
|
+
Args: {
|
|
30651
|
+
_limit?: number;
|
|
30652
|
+
};
|
|
30653
|
+
Returns: {
|
|
30654
|
+
customer_id: string;
|
|
30655
|
+
name: string;
|
|
30656
|
+
omzet_cents: number;
|
|
30657
|
+
}[];
|
|
30658
|
+
};
|
|
28819
30659
|
jwt_has_role: {
|
|
28820
30660
|
Args: {
|
|
28821
30661
|
_role: Database["public"]["Enums"]["app_role"];
|
|
@@ -28831,6 +30671,7 @@ export type Database = {
|
|
|
28831
30671
|
_is_herprint?: boolean;
|
|
28832
30672
|
_kopieen?: number;
|
|
28833
30673
|
_layout_id?: string;
|
|
30674
|
+
_mislukt_reden?: string;
|
|
28834
30675
|
_payload?: Json;
|
|
28835
30676
|
_pdf_base64?: string;
|
|
28836
30677
|
_pdf_url?: string;
|
|
@@ -28839,10 +30680,27 @@ export type Database = {
|
|
|
28839
30680
|
};
|
|
28840
30681
|
Returns: {
|
|
28841
30682
|
bestaand: boolean;
|
|
30683
|
+
fout_bericht: string;
|
|
30684
|
+
fout_code: string;
|
|
28842
30685
|
job_id: string;
|
|
30686
|
+
mislukt: boolean;
|
|
28843
30687
|
printer_id: string;
|
|
30688
|
+
status: string;
|
|
28844
30689
|
}[];
|
|
28845
30690
|
};
|
|
30691
|
+
layout_verwijzing_omzetten: {
|
|
30692
|
+
Args: {
|
|
30693
|
+
_nieuw: string;
|
|
30694
|
+
_oud: string;
|
|
30695
|
+
_rij_id: string;
|
|
30696
|
+
_tabel: string;
|
|
30697
|
+
};
|
|
30698
|
+
Returns: undefined;
|
|
30699
|
+
};
|
|
30700
|
+
layout_verwijzingen: {
|
|
30701
|
+
Args: never;
|
|
30702
|
+
Returns: Json;
|
|
30703
|
+
};
|
|
28846
30704
|
list_medewerkers: {
|
|
28847
30705
|
Args: never;
|
|
28848
30706
|
Returns: {
|
|
@@ -28948,6 +30806,30 @@ export type Database = {
|
|
|
28948
30806
|
};
|
|
28949
30807
|
Returns: string;
|
|
28950
30808
|
};
|
|
30809
|
+
logistics_afhandeling_fulfillment_order: {
|
|
30810
|
+
Args: {
|
|
30811
|
+
_order_id: string;
|
|
30812
|
+
};
|
|
30813
|
+
Returns: Json;
|
|
30814
|
+
};
|
|
30815
|
+
logistics_allocation_check_changes: {
|
|
30816
|
+
Args: {
|
|
30817
|
+
p_order_item_ids?: string[];
|
|
30818
|
+
};
|
|
30819
|
+
Returns: Json;
|
|
30820
|
+
};
|
|
30821
|
+
logistics_allocation_fp: {
|
|
30822
|
+
Args: {
|
|
30823
|
+
p_order_id: string;
|
|
30824
|
+
};
|
|
30825
|
+
Returns: string;
|
|
30826
|
+
};
|
|
30827
|
+
logistics_allocation_frozen: {
|
|
30828
|
+
Args: {
|
|
30829
|
+
p_order_id: string;
|
|
30830
|
+
};
|
|
30831
|
+
Returns: boolean;
|
|
30832
|
+
};
|
|
28951
30833
|
logistics_allowed_load_carriers: {
|
|
28952
30834
|
Args: {
|
|
28953
30835
|
p_strategy_id?: string;
|
|
@@ -28961,6 +30843,13 @@ export type Database = {
|
|
|
28961
30843
|
};
|
|
28962
30844
|
Returns: string;
|
|
28963
30845
|
};
|
|
30846
|
+
logistics_apply_cart_swap: {
|
|
30847
|
+
Args: {
|
|
30848
|
+
p_delete_ids: string[];
|
|
30849
|
+
p_new_carts: Json;
|
|
30850
|
+
};
|
|
30851
|
+
Returns: Json;
|
|
30852
|
+
};
|
|
28964
30853
|
logistics_apply_document_layouts: {
|
|
28965
30854
|
Args: never;
|
|
28966
30855
|
Returns: undefined;
|
|
@@ -28977,6 +30866,89 @@ export type Database = {
|
|
|
28977
30866
|
};
|
|
28978
30867
|
Returns: boolean;
|
|
28979
30868
|
};
|
|
30869
|
+
logistics_archived_orders: {
|
|
30870
|
+
Args: never;
|
|
30871
|
+
Returns: {
|
|
30872
|
+
archived_at: string;
|
|
30873
|
+
attempts: number;
|
|
30874
|
+
delivery_date: string;
|
|
30875
|
+
last_error: string;
|
|
30876
|
+
order_id: string;
|
|
30877
|
+
order_ref: string;
|
|
30878
|
+
queue_id: string;
|
|
30879
|
+
reason: string;
|
|
30880
|
+
reason_code: string;
|
|
30881
|
+
}[];
|
|
30882
|
+
};
|
|
30883
|
+
logistics_auto_send_claim: {
|
|
30884
|
+
Args: {
|
|
30885
|
+
p_limit?: number;
|
|
30886
|
+
};
|
|
30887
|
+
Returns: {
|
|
30888
|
+
attempts: number;
|
|
30889
|
+
buffer_id: string | null;
|
|
30890
|
+
cart_ids: string[];
|
|
30891
|
+
created_at: string;
|
|
30892
|
+
id: string;
|
|
30893
|
+
idempotency_key: string;
|
|
30894
|
+
last_http_status: number | null;
|
|
30895
|
+
locked_until: string | null;
|
|
30896
|
+
max_attempts: number;
|
|
30897
|
+
next_attempt_at: string;
|
|
30898
|
+
order_id: string;
|
|
30899
|
+
order_ids: string[];
|
|
30900
|
+
reason: string | null;
|
|
30901
|
+
sent_at: string | null;
|
|
30902
|
+
sent_how: string | null;
|
|
30903
|
+
status: string;
|
|
30904
|
+
updated_at: string;
|
|
30905
|
+
}[];
|
|
30906
|
+
SetofOptions: {
|
|
30907
|
+
from: "*";
|
|
30908
|
+
to: "logistics_auto_send";
|
|
30909
|
+
isOneToOne: false;
|
|
30910
|
+
isSetofReturn: true;
|
|
30911
|
+
};
|
|
30912
|
+
};
|
|
30913
|
+
logistics_auto_send_enqueue_for_order: {
|
|
30914
|
+
Args: {
|
|
30915
|
+
p_order_id: string;
|
|
30916
|
+
};
|
|
30917
|
+
Returns: boolean;
|
|
30918
|
+
};
|
|
30919
|
+
logistics_auto_send_finish: {
|
|
30920
|
+
Args: {
|
|
30921
|
+
p_config_missing?: boolean;
|
|
30922
|
+
p_definitief?: boolean;
|
|
30923
|
+
p_http?: number;
|
|
30924
|
+
p_id: string;
|
|
30925
|
+
p_ok: boolean;
|
|
30926
|
+
p_reason: string;
|
|
30927
|
+
};
|
|
30928
|
+
Returns: Json;
|
|
30929
|
+
};
|
|
30930
|
+
logistics_auto_send_route_missing: {
|
|
30931
|
+
Args: never;
|
|
30932
|
+
Returns: boolean;
|
|
30933
|
+
};
|
|
30934
|
+
logistics_auto_send_sent_elsewhere: {
|
|
30935
|
+
Args: {
|
|
30936
|
+
p_order_id: string;
|
|
30937
|
+
};
|
|
30938
|
+
Returns: string;
|
|
30939
|
+
};
|
|
30940
|
+
logistics_auto_send_status: {
|
|
30941
|
+
Args: {
|
|
30942
|
+
p_order_id: string;
|
|
30943
|
+
};
|
|
30944
|
+
Returns: Json;
|
|
30945
|
+
};
|
|
30946
|
+
logistics_auto_send_status_core: {
|
|
30947
|
+
Args: {
|
|
30948
|
+
p_order_id: string;
|
|
30949
|
+
};
|
|
30950
|
+
Returns: Json;
|
|
30951
|
+
};
|
|
28980
30952
|
logistics_backorder_allowed: {
|
|
28981
30953
|
Args: {
|
|
28982
30954
|
p_strategy_id?: string;
|
|
@@ -28997,6 +30969,10 @@ export type Database = {
|
|
|
28997
30969
|
Args: never;
|
|
28998
30970
|
Returns: number;
|
|
28999
30971
|
};
|
|
30972
|
+
logistics_belading_verstuurder: {
|
|
30973
|
+
Args: never;
|
|
30974
|
+
Returns: string;
|
|
30975
|
+
};
|
|
29000
30976
|
logistics_block_reason_code: {
|
|
29001
30977
|
Args: {
|
|
29002
30978
|
p_details?: Json;
|
|
@@ -29021,6 +30997,13 @@ export type Database = {
|
|
|
29021
30997
|
Args: never;
|
|
29022
30998
|
Returns: Json;
|
|
29023
30999
|
};
|
|
31000
|
+
logistics_brief_transport: {
|
|
31001
|
+
Args: {
|
|
31002
|
+
p_cart_id?: string;
|
|
31003
|
+
p_order_id: string;
|
|
31004
|
+
};
|
|
31005
|
+
Returns: Json;
|
|
31006
|
+
};
|
|
29024
31007
|
logistics_buffer_criteria: {
|
|
29025
31008
|
Args: {
|
|
29026
31009
|
p_settings: Json;
|
|
@@ -29150,6 +31133,12 @@ export type Database = {
|
|
|
29150
31133
|
Args: never;
|
|
29151
31134
|
Returns: Json;
|
|
29152
31135
|
};
|
|
31136
|
+
logistics_cart_fixed_numbering: {
|
|
31137
|
+
Args: {
|
|
31138
|
+
p_cart_id: string;
|
|
31139
|
+
};
|
|
31140
|
+
Returns: Json;
|
|
31141
|
+
};
|
|
29153
31142
|
logistics_cart_handled: {
|
|
29154
31143
|
Args: {
|
|
29155
31144
|
p_cart_index: number;
|
|
@@ -29157,6 +31146,12 @@ export type Database = {
|
|
|
29157
31146
|
};
|
|
29158
31147
|
Returns: boolean;
|
|
29159
31148
|
};
|
|
31149
|
+
logistics_cart_ids_frozen: {
|
|
31150
|
+
Args: {
|
|
31151
|
+
p_cart_ids: string[];
|
|
31152
|
+
};
|
|
31153
|
+
Returns: string[];
|
|
31154
|
+
};
|
|
29160
31155
|
logistics_cart_index: {
|
|
29161
31156
|
Args: {
|
|
29162
31157
|
p_from?: string;
|
|
@@ -29183,16 +31178,34 @@ export type Database = {
|
|
|
29183
31178
|
task_status: string;
|
|
29184
31179
|
}[];
|
|
29185
31180
|
};
|
|
31181
|
+
logistics_cart_is_frozen: {
|
|
31182
|
+
Args: {
|
|
31183
|
+
p_cart_id: string;
|
|
31184
|
+
};
|
|
31185
|
+
Returns: boolean;
|
|
31186
|
+
};
|
|
29186
31187
|
logistics_cart_is_full: {
|
|
29187
31188
|
Args: {
|
|
29188
31189
|
p_cart_id: string;
|
|
29189
31190
|
};
|
|
29190
31191
|
Returns: boolean;
|
|
29191
31192
|
};
|
|
31193
|
+
logistics_cart_json_fixed: {
|
|
31194
|
+
Args: {
|
|
31195
|
+
p_cart: Json;
|
|
31196
|
+
};
|
|
31197
|
+
Returns: Json;
|
|
31198
|
+
};
|
|
29192
31199
|
logistics_cart_layout_method: {
|
|
29193
31200
|
Args: never;
|
|
29194
31201
|
Returns: Json;
|
|
29195
31202
|
};
|
|
31203
|
+
logistics_cart_order_ids: {
|
|
31204
|
+
Args: {
|
|
31205
|
+
p_cart_id: string;
|
|
31206
|
+
};
|
|
31207
|
+
Returns: string[];
|
|
31208
|
+
};
|
|
29196
31209
|
logistics_cart_order_refs: {
|
|
29197
31210
|
Args: {
|
|
29198
31211
|
p_cart_id: string;
|
|
@@ -29236,6 +31249,12 @@ export type Database = {
|
|
|
29236
31249
|
};
|
|
29237
31250
|
Returns: boolean;
|
|
29238
31251
|
};
|
|
31252
|
+
logistics_cart_scanned: {
|
|
31253
|
+
Args: {
|
|
31254
|
+
p_cart_id: string;
|
|
31255
|
+
};
|
|
31256
|
+
Returns: boolean;
|
|
31257
|
+
};
|
|
29239
31258
|
logistics_cart_seq: {
|
|
29240
31259
|
Args: {
|
|
29241
31260
|
p_order_uuid?: string;
|
|
@@ -29255,6 +31274,12 @@ export type Database = {
|
|
|
29255
31274
|
};
|
|
29256
31275
|
Returns: Json;
|
|
29257
31276
|
};
|
|
31277
|
+
logistics_cart_sticker_state: {
|
|
31278
|
+
Args: {
|
|
31279
|
+
p_cart_id: string;
|
|
31280
|
+
};
|
|
31281
|
+
Returns: Json;
|
|
31282
|
+
};
|
|
29258
31283
|
logistics_cart_units: {
|
|
29259
31284
|
Args: {
|
|
29260
31285
|
p_from?: string;
|
|
@@ -29286,6 +31311,12 @@ export type Database = {
|
|
|
29286
31311
|
unit_ref: string;
|
|
29287
31312
|
}[];
|
|
29288
31313
|
};
|
|
31314
|
+
logistics_cart_wait_until: {
|
|
31315
|
+
Args: {
|
|
31316
|
+
p_cart_id: string;
|
|
31317
|
+
};
|
|
31318
|
+
Returns: string;
|
|
31319
|
+
};
|
|
29289
31320
|
logistics_carts_per_print: {
|
|
29290
31321
|
Args: never;
|
|
29291
31322
|
Returns: number;
|
|
@@ -29502,6 +31533,7 @@ export type Database = {
|
|
|
29502
31533
|
approved_at: string | null;
|
|
29503
31534
|
attempts: number;
|
|
29504
31535
|
barcode: string;
|
|
31536
|
+
bron: string | null;
|
|
29505
31537
|
cart_id: string;
|
|
29506
31538
|
created_at: string;
|
|
29507
31539
|
document_url: string | null;
|
|
@@ -29560,6 +31592,20 @@ export type Database = {
|
|
|
29560
31592
|
};
|
|
29561
31593
|
Returns: Json;
|
|
29562
31594
|
};
|
|
31595
|
+
logistics_control_scan_record_afmelding: {
|
|
31596
|
+
Args: {
|
|
31597
|
+
p_bron: string;
|
|
31598
|
+
p_order_id: string;
|
|
31599
|
+
};
|
|
31600
|
+
Returns: number;
|
|
31601
|
+
};
|
|
31602
|
+
logistics_control_scan_record_afmelding_cart: {
|
|
31603
|
+
Args: {
|
|
31604
|
+
p_bron: string;
|
|
31605
|
+
p_cart_id: string;
|
|
31606
|
+
};
|
|
31607
|
+
Returns: number;
|
|
31608
|
+
};
|
|
29563
31609
|
logistics_control_scan_retry: {
|
|
29564
31610
|
Args: {
|
|
29565
31611
|
_id: string;
|
|
@@ -29637,6 +31683,15 @@ export type Database = {
|
|
|
29637
31683
|
};
|
|
29638
31684
|
Returns: Database["public"]["Enums"]["doc_layout_type"][];
|
|
29639
31685
|
};
|
|
31686
|
+
logistics_double_group_lines: {
|
|
31687
|
+
Args: {
|
|
31688
|
+
p_order_id?: string;
|
|
31689
|
+
};
|
|
31690
|
+
Returns: {
|
|
31691
|
+
group_id: string;
|
|
31692
|
+
order_item_id: string;
|
|
31693
|
+
}[];
|
|
31694
|
+
};
|
|
29640
31695
|
logistics_emit_event: {
|
|
29641
31696
|
Args: {
|
|
29642
31697
|
p_event_type: string;
|
|
@@ -29839,6 +31894,12 @@ export type Database = {
|
|
|
29839
31894
|
Args: never;
|
|
29840
31895
|
Returns: Json;
|
|
29841
31896
|
};
|
|
31897
|
+
logistics_floriday_layout_id: {
|
|
31898
|
+
Args: {
|
|
31899
|
+
p_documenttype: string;
|
|
31900
|
+
};
|
|
31901
|
+
Returns: Json;
|
|
31902
|
+
};
|
|
29842
31903
|
logistics_floriday_log_refusal: {
|
|
29843
31904
|
Args: {
|
|
29844
31905
|
_action?: string;
|
|
@@ -29895,6 +31956,18 @@ export type Database = {
|
|
|
29895
31956
|
};
|
|
29896
31957
|
Returns: boolean;
|
|
29897
31958
|
};
|
|
31959
|
+
logistics_frozen_allocation_scaled: {
|
|
31960
|
+
Args: {
|
|
31961
|
+
p_new_qty: number;
|
|
31962
|
+
p_order_item_id: string;
|
|
31963
|
+
};
|
|
31964
|
+
Returns: {
|
|
31965
|
+
group_id: string;
|
|
31966
|
+
qty: number;
|
|
31967
|
+
source: string;
|
|
31968
|
+
trade_item_key: string;
|
|
31969
|
+
}[];
|
|
31970
|
+
};
|
|
29898
31971
|
logistics_fulfill_barcode_requests: {
|
|
29899
31972
|
Args: {
|
|
29900
31973
|
p_limit?: number;
|
|
@@ -29909,6 +31982,10 @@ export type Database = {
|
|
|
29909
31982
|
Args: never;
|
|
29910
31983
|
Returns: number;
|
|
29911
31984
|
};
|
|
31985
|
+
logistics_is_beheer: {
|
|
31986
|
+
Args: never;
|
|
31987
|
+
Returns: boolean;
|
|
31988
|
+
};
|
|
29912
31989
|
logistics_is_engine_response: {
|
|
29913
31990
|
Args: {
|
|
29914
31991
|
p_content: string;
|
|
@@ -29916,12 +31993,24 @@ export type Database = {
|
|
|
29916
31993
|
};
|
|
29917
31994
|
Returns: boolean;
|
|
29918
31995
|
};
|
|
31996
|
+
logistics_is_group_label: {
|
|
31997
|
+
Args: {
|
|
31998
|
+
p_label: string;
|
|
31999
|
+
};
|
|
32000
|
+
Returns: boolean;
|
|
32001
|
+
};
|
|
29919
32002
|
logistics_is_pick_workday: {
|
|
29920
32003
|
Args: {
|
|
29921
32004
|
p_date: string;
|
|
29922
32005
|
};
|
|
29923
32006
|
Returns: boolean;
|
|
29924
32007
|
};
|
|
32008
|
+
logistics_key_product: {
|
|
32009
|
+
Args: {
|
|
32010
|
+
p_key: string;
|
|
32011
|
+
};
|
|
32012
|
+
Returns: string;
|
|
32013
|
+
};
|
|
29925
32014
|
logistics_layout_method_status: {
|
|
29926
32015
|
Args: never;
|
|
29927
32016
|
Returns: Json;
|
|
@@ -29944,6 +32033,23 @@ export type Database = {
|
|
|
29944
32033
|
};
|
|
29945
32034
|
Returns: number;
|
|
29946
32035
|
};
|
|
32036
|
+
logistics_local_hhmi: {
|
|
32037
|
+
Args: {
|
|
32038
|
+
p_ts: string;
|
|
32039
|
+
};
|
|
32040
|
+
Returns: string;
|
|
32041
|
+
};
|
|
32042
|
+
logistics_local_today: {
|
|
32043
|
+
Args: never;
|
|
32044
|
+
Returns: string;
|
|
32045
|
+
};
|
|
32046
|
+
logistics_mark_cart_delivered_core: {
|
|
32047
|
+
Args: {
|
|
32048
|
+
p_bron: string;
|
|
32049
|
+
p_cart_id: string;
|
|
32050
|
+
};
|
|
32051
|
+
Returns: Json;
|
|
32052
|
+
};
|
|
29947
32053
|
logistics_merge_decision: {
|
|
29948
32054
|
Args: {
|
|
29949
32055
|
p_lines: Json;
|
|
@@ -29996,12 +32102,30 @@ export type Database = {
|
|
|
29996
32102
|
Args: never;
|
|
29997
32103
|
Returns: string;
|
|
29998
32104
|
};
|
|
32105
|
+
logistics_order_afgemeld: {
|
|
32106
|
+
Args: {
|
|
32107
|
+
p_order_id: string;
|
|
32108
|
+
};
|
|
32109
|
+
Returns: boolean;
|
|
32110
|
+
};
|
|
32111
|
+
logistics_order_all_carts_scanned: {
|
|
32112
|
+
Args: {
|
|
32113
|
+
p_order_id: string;
|
|
32114
|
+
};
|
|
32115
|
+
Returns: boolean;
|
|
32116
|
+
};
|
|
29999
32117
|
logistics_order_backlog_info: {
|
|
30000
32118
|
Args: {
|
|
30001
32119
|
p_order_id: string;
|
|
30002
32120
|
};
|
|
30003
32121
|
Returns: Json;
|
|
30004
32122
|
};
|
|
32123
|
+
logistics_order_buffer_excluded: {
|
|
32124
|
+
Args: {
|
|
32125
|
+
p_order_id: string;
|
|
32126
|
+
};
|
|
32127
|
+
Returns: boolean;
|
|
32128
|
+
};
|
|
30005
32129
|
logistics_order_cart_approval: {
|
|
30006
32130
|
Args: {
|
|
30007
32131
|
_order_ref: string;
|
|
@@ -30017,6 +32141,12 @@ export type Database = {
|
|
|
30017
32141
|
};
|
|
30018
32142
|
Returns: number;
|
|
30019
32143
|
};
|
|
32144
|
+
logistics_order_cart_ids: {
|
|
32145
|
+
Args: {
|
|
32146
|
+
p_order_id: string;
|
|
32147
|
+
};
|
|
32148
|
+
Returns: string[];
|
|
32149
|
+
};
|
|
30020
32150
|
logistics_order_changed: {
|
|
30021
32151
|
Args: {
|
|
30022
32152
|
p_order_id: string;
|
|
@@ -30024,6 +32154,18 @@ export type Database = {
|
|
|
30024
32154
|
};
|
|
30025
32155
|
Returns: undefined;
|
|
30026
32156
|
};
|
|
32157
|
+
logistics_order_current_warnings: {
|
|
32158
|
+
Args: {
|
|
32159
|
+
p_order_id: string;
|
|
32160
|
+
};
|
|
32161
|
+
Returns: string[];
|
|
32162
|
+
};
|
|
32163
|
+
logistics_order_definitively_blocked: {
|
|
32164
|
+
Args: {
|
|
32165
|
+
p_order_id: string;
|
|
32166
|
+
};
|
|
32167
|
+
Returns: Json;
|
|
32168
|
+
};
|
|
30027
32169
|
logistics_order_documents_ready: {
|
|
30028
32170
|
Args: {
|
|
30029
32171
|
p_order_ref: string;
|
|
@@ -30092,12 +32234,24 @@ export type Database = {
|
|
|
30092
32234
|
};
|
|
30093
32235
|
Returns: boolean;
|
|
30094
32236
|
};
|
|
32237
|
+
logistics_order_is_archived: {
|
|
32238
|
+
Args: {
|
|
32239
|
+
p_order_id: string;
|
|
32240
|
+
};
|
|
32241
|
+
Returns: Json;
|
|
32242
|
+
};
|
|
30095
32243
|
logistics_order_is_backlog: {
|
|
30096
32244
|
Args: {
|
|
30097
32245
|
p_order_id: string;
|
|
30098
32246
|
};
|
|
30099
32247
|
Returns: boolean;
|
|
30100
32248
|
};
|
|
32249
|
+
logistics_order_is_frozen: {
|
|
32250
|
+
Args: {
|
|
32251
|
+
p_order_id: string;
|
|
32252
|
+
};
|
|
32253
|
+
Returns: boolean;
|
|
32254
|
+
};
|
|
30101
32255
|
logistics_order_is_topick: {
|
|
30102
32256
|
Args: {
|
|
30103
32257
|
p_order_id: string;
|
|
@@ -30135,6 +32289,12 @@ export type Database = {
|
|
|
30135
32289
|
};
|
|
30136
32290
|
Returns: boolean;
|
|
30137
32291
|
};
|
|
32292
|
+
logistics_order_on_frozen_shared_cart: {
|
|
32293
|
+
Args: {
|
|
32294
|
+
p_order_id: string;
|
|
32295
|
+
};
|
|
32296
|
+
Returns: boolean;
|
|
32297
|
+
};
|
|
30138
32298
|
logistics_order_overview: {
|
|
30139
32299
|
Args: {
|
|
30140
32300
|
p_from?: string;
|
|
@@ -30160,12 +32320,46 @@ export type Database = {
|
|
|
30160
32320
|
};
|
|
30161
32321
|
Returns: string;
|
|
30162
32322
|
};
|
|
32323
|
+
logistics_order_plan_coverage: {
|
|
32324
|
+
Args: {
|
|
32325
|
+
p_order_id: string;
|
|
32326
|
+
};
|
|
32327
|
+
Returns: Json;
|
|
32328
|
+
};
|
|
32329
|
+
logistics_order_plan_coverage_list: {
|
|
32330
|
+
Args: {
|
|
32331
|
+
p_order_ids: string[];
|
|
32332
|
+
};
|
|
32333
|
+
Returns: {
|
|
32334
|
+
buffer_id: string;
|
|
32335
|
+
cart_count: number;
|
|
32336
|
+
label: string;
|
|
32337
|
+
order_id: string;
|
|
32338
|
+
order_number: string;
|
|
32339
|
+
pick_row_count: number;
|
|
32340
|
+
pick_status: string;
|
|
32341
|
+
picked_at: string;
|
|
32342
|
+
progress_pct: number;
|
|
32343
|
+
reason: string;
|
|
32344
|
+
state: string;
|
|
32345
|
+
}[];
|
|
32346
|
+
};
|
|
30163
32347
|
logistics_order_released: {
|
|
30164
32348
|
Args: {
|
|
30165
32349
|
p_order_ref: string;
|
|
30166
32350
|
};
|
|
30167
32351
|
Returns: boolean;
|
|
30168
32352
|
};
|
|
32353
|
+
logistics_order_sticker_meldingen: {
|
|
32354
|
+
Args: {
|
|
32355
|
+
p_order_id: string;
|
|
32356
|
+
};
|
|
32357
|
+
Returns: Json;
|
|
32358
|
+
};
|
|
32359
|
+
logistics_orphan_carts_summary: {
|
|
32360
|
+
Args: never;
|
|
32361
|
+
Returns: Json;
|
|
32362
|
+
};
|
|
30169
32363
|
logistics_packing_autofix: {
|
|
30170
32364
|
Args: {
|
|
30171
32365
|
p_limit?: number;
|
|
@@ -30223,12 +32417,26 @@ export type Database = {
|
|
|
30223
32417
|
};
|
|
30224
32418
|
Returns: boolean;
|
|
30225
32419
|
};
|
|
32420
|
+
logistics_pakbon_old_order_row: {
|
|
32421
|
+
Args: {
|
|
32422
|
+
p_ids: string[];
|
|
32423
|
+
};
|
|
32424
|
+
Returns: boolean;
|
|
32425
|
+
};
|
|
32426
|
+
logistics_pakbon_oude_orderregels: {
|
|
32427
|
+
Args: never;
|
|
32428
|
+
Returns: Json;
|
|
32429
|
+
};
|
|
30226
32430
|
logistics_parse_pickup: {
|
|
30227
32431
|
Args: {
|
|
30228
32432
|
p_value: string;
|
|
30229
32433
|
};
|
|
30230
32434
|
Returns: string;
|
|
30231
32435
|
};
|
|
32436
|
+
logistics_partial_wait_minutes: {
|
|
32437
|
+
Args: never;
|
|
32438
|
+
Returns: number;
|
|
32439
|
+
};
|
|
30232
32440
|
logistics_payload_is_floriday: {
|
|
30233
32441
|
Args: {
|
|
30234
32442
|
_payload: Json;
|
|
@@ -30271,6 +32479,14 @@ export type Database = {
|
|
|
30271
32479
|
Args: never;
|
|
30272
32480
|
Returns: string;
|
|
30273
32481
|
};
|
|
32482
|
+
logistics_pick_queue_close: {
|
|
32483
|
+
Args: {
|
|
32484
|
+
p_ids: string[];
|
|
32485
|
+
p_mode: string;
|
|
32486
|
+
p_reason: string;
|
|
32487
|
+
};
|
|
32488
|
+
Returns: number;
|
|
32489
|
+
};
|
|
30274
32490
|
logistics_pick_start_estimate: {
|
|
30275
32491
|
Args: {
|
|
30276
32492
|
p_order: Json;
|
|
@@ -30320,12 +32536,30 @@ export type Database = {
|
|
|
30320
32536
|
order_id: string;
|
|
30321
32537
|
}[];
|
|
30322
32538
|
};
|
|
32539
|
+
logistics_plan_close_claim: {
|
|
32540
|
+
Args: {
|
|
32541
|
+
p_id: string;
|
|
32542
|
+
p_reason: string;
|
|
32543
|
+
p_reason_code?: string;
|
|
32544
|
+
};
|
|
32545
|
+
Returns: boolean;
|
|
32546
|
+
};
|
|
32547
|
+
logistics_plan_coverage_check: {
|
|
32548
|
+
Args: {
|
|
32549
|
+
p_limit?: number;
|
|
32550
|
+
};
|
|
32551
|
+
Returns: Json;
|
|
32552
|
+
};
|
|
30323
32553
|
logistics_plan_defer: {
|
|
30324
32554
|
Args: {
|
|
30325
32555
|
p_id: string;
|
|
30326
32556
|
};
|
|
30327
32557
|
Returns: undefined;
|
|
30328
32558
|
};
|
|
32559
|
+
logistics_plan_due_count: {
|
|
32560
|
+
Args: never;
|
|
32561
|
+
Returns: number;
|
|
32562
|
+
};
|
|
30329
32563
|
logistics_plan_enqueue: {
|
|
30330
32564
|
Args: {
|
|
30331
32565
|
p_order_id: string;
|
|
@@ -30365,6 +32599,10 @@ export type Database = {
|
|
|
30365
32599
|
};
|
|
30366
32600
|
Returns: number;
|
|
30367
32601
|
};
|
|
32602
|
+
logistics_plan_housekeeping: {
|
|
32603
|
+
Args: never;
|
|
32604
|
+
Returns: Json;
|
|
32605
|
+
};
|
|
30368
32606
|
logistics_plan_impact_orders: {
|
|
30369
32607
|
Args: {
|
|
30370
32608
|
p_order_id: string;
|
|
@@ -30476,6 +32714,27 @@ export type Database = {
|
|
|
30476
32714
|
Args: never;
|
|
30477
32715
|
Returns: number;
|
|
30478
32716
|
};
|
|
32717
|
+
logistics_plan_unarchive: {
|
|
32718
|
+
Args: {
|
|
32719
|
+
p_order_ids: string[];
|
|
32720
|
+
};
|
|
32721
|
+
Returns: number;
|
|
32722
|
+
};
|
|
32723
|
+
logistics_plan_wachttijd: {
|
|
32724
|
+
Args: {
|
|
32725
|
+
p_order_id: string;
|
|
32726
|
+
p_reason: string;
|
|
32727
|
+
};
|
|
32728
|
+
Returns: Json;
|
|
32729
|
+
};
|
|
32730
|
+
logistics_plan_wachttijd_melden: {
|
|
32731
|
+
Args: {
|
|
32732
|
+
p_order_id: string;
|
|
32733
|
+
p_reason: string;
|
|
32734
|
+
p_wacht: Json;
|
|
32735
|
+
};
|
|
32736
|
+
Returns: undefined;
|
|
32737
|
+
};
|
|
30479
32738
|
logistics_planner_cart_snapshot: {
|
|
30480
32739
|
Args: {
|
|
30481
32740
|
p_buffer_id: string;
|
|
@@ -30491,12 +32750,35 @@ export type Database = {
|
|
|
30491
32750
|
Args: never;
|
|
30492
32751
|
Returns: number;
|
|
30493
32752
|
};
|
|
32753
|
+
logistics_planner_lines: {
|
|
32754
|
+
Args: {
|
|
32755
|
+
p_order_id: string;
|
|
32756
|
+
};
|
|
32757
|
+
Returns: {
|
|
32758
|
+
components: Json;
|
|
32759
|
+
frozen: boolean;
|
|
32760
|
+
group_id: string;
|
|
32761
|
+
note: string;
|
|
32762
|
+
order_item_id: string;
|
|
32763
|
+
product_id: string;
|
|
32764
|
+
product_name: string;
|
|
32765
|
+
qty: number;
|
|
32766
|
+
trade_item_key: string;
|
|
32767
|
+
unit_kind: string;
|
|
32768
|
+
}[];
|
|
32769
|
+
};
|
|
30494
32770
|
logistics_prepare_pick_documents: {
|
|
30495
32771
|
Args: {
|
|
30496
32772
|
p_limit?: number;
|
|
30497
32773
|
};
|
|
30498
32774
|
Returns: Json;
|
|
30499
32775
|
};
|
|
32776
|
+
logistics_print_job_state: {
|
|
32777
|
+
Args: {
|
|
32778
|
+
p_job_id: string;
|
|
32779
|
+
};
|
|
32780
|
+
Returns: string;
|
|
32781
|
+
};
|
|
30500
32782
|
logistics_print_via_layout: {
|
|
30501
32783
|
Args: {
|
|
30502
32784
|
_documentnaam: string;
|
|
@@ -30532,6 +32814,12 @@ export type Database = {
|
|
|
30532
32814
|
};
|
|
30533
32815
|
Returns: string;
|
|
30534
32816
|
};
|
|
32817
|
+
logistics_queue_row_has_open_peer: {
|
|
32818
|
+
Args: {
|
|
32819
|
+
p_payload: Json;
|
|
32820
|
+
};
|
|
32821
|
+
Returns: boolean;
|
|
32822
|
+
};
|
|
30535
32823
|
logistics_queue_stock_email: {
|
|
30536
32824
|
Args: {
|
|
30537
32825
|
p_alert_id: string;
|
|
@@ -30602,6 +32890,16 @@ export type Database = {
|
|
|
30602
32890
|
};
|
|
30603
32891
|
Returns: Json;
|
|
30604
32892
|
};
|
|
32893
|
+
logistics_replan_candidates: {
|
|
32894
|
+
Args: {
|
|
32895
|
+
p_delivery_date?: string;
|
|
32896
|
+
p_include_frozen?: boolean;
|
|
32897
|
+
};
|
|
32898
|
+
Returns: {
|
|
32899
|
+
frozen: boolean;
|
|
32900
|
+
order_id: string;
|
|
32901
|
+
}[];
|
|
32902
|
+
};
|
|
30605
32903
|
logistics_replan_clear_foreign_cart_items: {
|
|
30606
32904
|
Args: {
|
|
30607
32905
|
p_order_id: string;
|
|
@@ -30621,6 +32919,28 @@ export type Database = {
|
|
|
30621
32919
|
};
|
|
30622
32920
|
Returns: Json;
|
|
30623
32921
|
};
|
|
32922
|
+
logistics_replan_preview: {
|
|
32923
|
+
Args: {
|
|
32924
|
+
p_delivery_date?: string;
|
|
32925
|
+
p_include_frozen?: boolean;
|
|
32926
|
+
};
|
|
32927
|
+
Returns: Json;
|
|
32928
|
+
};
|
|
32929
|
+
logistics_replan_selected: {
|
|
32930
|
+
Args: {
|
|
32931
|
+
p_confirm_count: number;
|
|
32932
|
+
p_delivery_date?: string;
|
|
32933
|
+
p_include_frozen?: boolean;
|
|
32934
|
+
};
|
|
32935
|
+
Returns: Json;
|
|
32936
|
+
};
|
|
32937
|
+
logistics_replan_selected_orders: {
|
|
32938
|
+
Args: {
|
|
32939
|
+
p_order_ids: string[];
|
|
32940
|
+
p_reason?: string;
|
|
32941
|
+
};
|
|
32942
|
+
Returns: Json;
|
|
32943
|
+
};
|
|
30624
32944
|
logistics_report_delay: {
|
|
30625
32945
|
Args: {
|
|
30626
32946
|
p_expected_date?: string;
|
|
@@ -30637,6 +32957,12 @@ export type Database = {
|
|
|
30637
32957
|
};
|
|
30638
32958
|
Returns: string;
|
|
30639
32959
|
};
|
|
32960
|
+
logistics_report_frozen_shortage: {
|
|
32961
|
+
Args: {
|
|
32962
|
+
p_order_item_ids: string[];
|
|
32963
|
+
};
|
|
32964
|
+
Returns: undefined;
|
|
32965
|
+
};
|
|
30640
32966
|
logistics_rescan_orders: {
|
|
30641
32967
|
Args: {
|
|
30642
32968
|
p_days?: number;
|
|
@@ -30665,12 +32991,25 @@ export type Database = {
|
|
|
30665
32991
|
};
|
|
30666
32992
|
Returns: Json;
|
|
30667
32993
|
};
|
|
32994
|
+
logistics_reserved_fast_skip: {
|
|
32995
|
+
Args: {
|
|
32996
|
+
p_key: string;
|
|
32997
|
+
p_raw: string;
|
|
32998
|
+
};
|
|
32999
|
+
Returns: boolean;
|
|
33000
|
+
};
|
|
30668
33001
|
logistics_reserved_key: {
|
|
30669
33002
|
Args: {
|
|
30670
33003
|
p_key: string;
|
|
30671
33004
|
};
|
|
30672
33005
|
Returns: string;
|
|
30673
33006
|
};
|
|
33007
|
+
logistics_reserved_order_excluded: {
|
|
33008
|
+
Args: {
|
|
33009
|
+
p_order_id: string;
|
|
33010
|
+
};
|
|
33011
|
+
Returns: boolean;
|
|
33012
|
+
};
|
|
30674
33013
|
logistics_reserved_stock_nightly: {
|
|
30675
33014
|
Args: never;
|
|
30676
33015
|
Returns: undefined;
|
|
@@ -30690,6 +33029,12 @@ export type Database = {
|
|
|
30690
33029
|
};
|
|
30691
33030
|
Returns: string;
|
|
30692
33031
|
};
|
|
33032
|
+
logistics_resolve_product_match: {
|
|
33033
|
+
Args: {
|
|
33034
|
+
p_label: string;
|
|
33035
|
+
};
|
|
33036
|
+
Returns: Record<string, unknown>;
|
|
33037
|
+
};
|
|
30693
33038
|
logistics_resolve_settings: {
|
|
30694
33039
|
Args: {
|
|
30695
33040
|
p_config_id: string;
|
|
@@ -30764,6 +33109,13 @@ export type Database = {
|
|
|
30764
33109
|
};
|
|
30765
33110
|
Returns: number;
|
|
30766
33111
|
};
|
|
33112
|
+
logistics_set_components_scaled: {
|
|
33113
|
+
Args: {
|
|
33114
|
+
p_order_item_id: string;
|
|
33115
|
+
p_plants: number;
|
|
33116
|
+
};
|
|
33117
|
+
Returns: Json;
|
|
33118
|
+
};
|
|
30767
33119
|
logistics_set_order_priority: {
|
|
30768
33120
|
Args: {
|
|
30769
33121
|
p_order_ref: string;
|
|
@@ -30779,6 +33131,17 @@ export type Database = {
|
|
|
30779
33131
|
};
|
|
30780
33132
|
Returns: Json;
|
|
30781
33133
|
};
|
|
33134
|
+
logistics_shared_cart_peers: {
|
|
33135
|
+
Args: {
|
|
33136
|
+
p_order_id: string;
|
|
33137
|
+
};
|
|
33138
|
+
Returns: {
|
|
33139
|
+
buffer_id: string;
|
|
33140
|
+
cart_id: string;
|
|
33141
|
+
cart_number: number;
|
|
33142
|
+
peer_order_id: string;
|
|
33143
|
+
}[];
|
|
33144
|
+
};
|
|
30782
33145
|
logistics_shift_to_workday: {
|
|
30783
33146
|
Args: {
|
|
30784
33147
|
p_days: string[];
|
|
@@ -30827,6 +33190,14 @@ export type Database = {
|
|
|
30827
33190
|
};
|
|
30828
33191
|
Returns: Json;
|
|
30829
33192
|
};
|
|
33193
|
+
logistics_shipping_note_wait_reasons: {
|
|
33194
|
+
Args: never;
|
|
33195
|
+
Returns: {
|
|
33196
|
+
order_number: string;
|
|
33197
|
+
reden: string;
|
|
33198
|
+
wacht_sinds: string;
|
|
33199
|
+
}[];
|
|
33200
|
+
};
|
|
30830
33201
|
logistics_shipping_note_wake: {
|
|
30831
33202
|
Args: {
|
|
30832
33203
|
_slip_job_id: string;
|
|
@@ -30895,6 +33266,27 @@ export type Database = {
|
|
|
30895
33266
|
};
|
|
30896
33267
|
Returns: undefined;
|
|
30897
33268
|
};
|
|
33269
|
+
logistics_slip_note_hold_belading: {
|
|
33270
|
+
Args: {
|
|
33271
|
+
_id: string;
|
|
33272
|
+
_reason: string;
|
|
33273
|
+
};
|
|
33274
|
+
Returns: undefined;
|
|
33275
|
+
};
|
|
33276
|
+
logistics_slip_note_hold_kenmerk: {
|
|
33277
|
+
Args: {
|
|
33278
|
+
_id: string;
|
|
33279
|
+
_reason: string;
|
|
33280
|
+
};
|
|
33281
|
+
Returns: undefined;
|
|
33282
|
+
};
|
|
33283
|
+
logistics_slip_note_hold_layout: {
|
|
33284
|
+
Args: {
|
|
33285
|
+
_id: string;
|
|
33286
|
+
_reason: string;
|
|
33287
|
+
};
|
|
33288
|
+
Returns: undefined;
|
|
33289
|
+
};
|
|
30898
33290
|
logistics_slip_note_keep_waiting: {
|
|
30899
33291
|
Args: {
|
|
30900
33292
|
_class?: string;
|
|
@@ -30903,16 +33295,64 @@ export type Database = {
|
|
|
30903
33295
|
};
|
|
30904
33296
|
Returns: undefined;
|
|
30905
33297
|
};
|
|
33298
|
+
logistics_slip_note_release_layout: {
|
|
33299
|
+
Args: never;
|
|
33300
|
+
Returns: number;
|
|
33301
|
+
};
|
|
30906
33302
|
logistics_slip_note_retry: {
|
|
30907
33303
|
Args: {
|
|
30908
33304
|
_id: string;
|
|
30909
33305
|
};
|
|
30910
33306
|
Returns: Json;
|
|
30911
33307
|
};
|
|
33308
|
+
logistics_sticker_cart_plek: {
|
|
33309
|
+
Args: {
|
|
33310
|
+
_cart: string;
|
|
33311
|
+
_fallback: string;
|
|
33312
|
+
};
|
|
33313
|
+
Returns: string;
|
|
33314
|
+
};
|
|
30912
33315
|
logistics_sticker_follows_slip: {
|
|
30913
33316
|
Args: never;
|
|
30914
33317
|
Returns: boolean;
|
|
30915
33318
|
};
|
|
33319
|
+
logistics_sticker_moment: {
|
|
33320
|
+
Args: {
|
|
33321
|
+
_cart: string;
|
|
33322
|
+
_hours: number;
|
|
33323
|
+
_order_number: string;
|
|
33324
|
+
_release: string;
|
|
33325
|
+
};
|
|
33326
|
+
Returns: boolean;
|
|
33327
|
+
};
|
|
33328
|
+
logistics_sticker_parse_size: {
|
|
33329
|
+
Args: {
|
|
33330
|
+
p: Json;
|
|
33331
|
+
};
|
|
33332
|
+
Returns: number[];
|
|
33333
|
+
};
|
|
33334
|
+
logistics_sticker_sync: {
|
|
33335
|
+
Args: {
|
|
33336
|
+
p_limit?: number;
|
|
33337
|
+
};
|
|
33338
|
+
Returns: Json;
|
|
33339
|
+
};
|
|
33340
|
+
logistics_sticker_upsert: {
|
|
33341
|
+
Args: {
|
|
33342
|
+
_bron: string;
|
|
33343
|
+
_cart: string;
|
|
33344
|
+
_fo: string;
|
|
33345
|
+
_kopieen: number;
|
|
33346
|
+
_order: string;
|
|
33347
|
+
_order_number: string;
|
|
33348
|
+
_plek: string;
|
|
33349
|
+
_reden: string;
|
|
33350
|
+
_size: number[];
|
|
33351
|
+
_soort: string;
|
|
33352
|
+
_status: string;
|
|
33353
|
+
};
|
|
33354
|
+
Returns: undefined;
|
|
33355
|
+
};
|
|
30916
33356
|
logistics_subtract_working_minutes: {
|
|
30917
33357
|
Args: {
|
|
30918
33358
|
p_deadline: string;
|
|
@@ -31169,6 +33609,22 @@ export type Database = {
|
|
|
31169
33609
|
};
|
|
31170
33610
|
Returns: Json;
|
|
31171
33611
|
};
|
|
33612
|
+
logistics_tz: {
|
|
33613
|
+
Args: never;
|
|
33614
|
+
Returns: string;
|
|
33615
|
+
};
|
|
33616
|
+
logistics_unit_all_carts_scanned: {
|
|
33617
|
+
Args: {
|
|
33618
|
+
p_order_id: string;
|
|
33619
|
+
};
|
|
33620
|
+
Returns: boolean;
|
|
33621
|
+
};
|
|
33622
|
+
logistics_unit_order_ids: {
|
|
33623
|
+
Args: {
|
|
33624
|
+
p_order_id: string;
|
|
33625
|
+
};
|
|
33626
|
+
Returns: string[];
|
|
33627
|
+
};
|
|
31172
33628
|
logistics_upsert_task: {
|
|
31173
33629
|
Args: {
|
|
31174
33630
|
p_buffer_ref: string;
|
|
@@ -31384,6 +33840,12 @@ export type Database = {
|
|
|
31384
33840
|
Args: never;
|
|
31385
33841
|
Returns: Json;
|
|
31386
33842
|
};
|
|
33843
|
+
pick_assert_printable: {
|
|
33844
|
+
Args: {
|
|
33845
|
+
_item: Database["public"]["Tables"]["pick_queue"]["Row"];
|
|
33846
|
+
};
|
|
33847
|
+
Returns: undefined;
|
|
33848
|
+
};
|
|
31387
33849
|
pick_available_pick_days: {
|
|
31388
33850
|
Args: {
|
|
31389
33851
|
_max_days?: number;
|
|
@@ -31665,6 +34127,13 @@ export type Database = {
|
|
|
31665
34127
|
};
|
|
31666
34128
|
Returns: string;
|
|
31667
34129
|
};
|
|
34130
|
+
pick_find_sent_elsewhere: {
|
|
34131
|
+
Args: {
|
|
34132
|
+
_cart_id: string;
|
|
34133
|
+
_queue_item_id: string;
|
|
34134
|
+
};
|
|
34135
|
+
Returns: Json;
|
|
34136
|
+
};
|
|
31668
34137
|
pick_is_reference_admin: {
|
|
31669
34138
|
Args: never;
|
|
31670
34139
|
Returns: boolean;
|
|
@@ -32098,6 +34567,20 @@ export type Database = {
|
|
|
32098
34567
|
};
|
|
32099
34568
|
Returns: Json;
|
|
32100
34569
|
};
|
|
34570
|
+
pickstation_auto_send_status: {
|
|
34571
|
+
Args: {
|
|
34572
|
+
p_order_id: string;
|
|
34573
|
+
p_slug: string;
|
|
34574
|
+
};
|
|
34575
|
+
Returns: Json;
|
|
34576
|
+
};
|
|
34577
|
+
pickstation_cart_sticker_state: {
|
|
34578
|
+
Args: {
|
|
34579
|
+
p_cart_id: string;
|
|
34580
|
+
p_slug: string;
|
|
34581
|
+
};
|
|
34582
|
+
Returns: Json;
|
|
34583
|
+
};
|
|
32101
34584
|
pickstation_get_orders_raw: {
|
|
32102
34585
|
Args: never;
|
|
32103
34586
|
Returns: Json;
|
|
@@ -32120,6 +34603,13 @@ export type Database = {
|
|
|
32120
34603
|
};
|
|
32121
34604
|
Returns: undefined;
|
|
32122
34605
|
};
|
|
34606
|
+
pickstation_order_sticker_meldingen: {
|
|
34607
|
+
Args: {
|
|
34608
|
+
p_order_id: string;
|
|
34609
|
+
p_slug: string;
|
|
34610
|
+
};
|
|
34611
|
+
Returns: Json;
|
|
34612
|
+
};
|
|
32123
34613
|
pickstation_resolve_delivery_orders: {
|
|
32124
34614
|
Args: {
|
|
32125
34615
|
p_sales_order_ids: string[];
|
|
@@ -32185,6 +34675,12 @@ export type Database = {
|
|
|
32185
34675
|
};
|
|
32186
34676
|
Returns: undefined;
|
|
32187
34677
|
};
|
|
34678
|
+
planning_cleanup_old_logs: {
|
|
34679
|
+
Args: {
|
|
34680
|
+
_keep_days?: number;
|
|
34681
|
+
};
|
|
34682
|
+
Returns: number;
|
|
34683
|
+
};
|
|
32188
34684
|
planning_html_escape: {
|
|
32189
34685
|
Args: {
|
|
32190
34686
|
t: string;
|
|
@@ -32225,6 +34721,10 @@ export type Database = {
|
|
|
32225
34721
|
isSetofReturn: true;
|
|
32226
34722
|
};
|
|
32227
34723
|
};
|
|
34724
|
+
planning_mijn_eigen_vervoer: {
|
|
34725
|
+
Args: never;
|
|
34726
|
+
Returns: boolean;
|
|
34727
|
+
};
|
|
32228
34728
|
planning_set_assistants: {
|
|
32229
34729
|
Args: {
|
|
32230
34730
|
_monteur_ids: string[];
|
|
@@ -32251,6 +34751,35 @@ export type Database = {
|
|
|
32251
34751
|
};
|
|
32252
34752
|
Returns: string;
|
|
32253
34753
|
};
|
|
34754
|
+
print_formaat_klasse: {
|
|
34755
|
+
Args: {
|
|
34756
|
+
_code: string;
|
|
34757
|
+
};
|
|
34758
|
+
Returns: string;
|
|
34759
|
+
};
|
|
34760
|
+
print_is_etiketsoort: {
|
|
34761
|
+
Args: {
|
|
34762
|
+
_t: string;
|
|
34763
|
+
};
|
|
34764
|
+
Returns: boolean;
|
|
34765
|
+
};
|
|
34766
|
+
print_is_labelprinter: {
|
|
34767
|
+
Args: {
|
|
34768
|
+
_printer_id: string;
|
|
34769
|
+
};
|
|
34770
|
+
Returns: boolean;
|
|
34771
|
+
};
|
|
34772
|
+
print_job_status_uitgebreid: {
|
|
34773
|
+
Args: {
|
|
34774
|
+
_job_id: string;
|
|
34775
|
+
};
|
|
34776
|
+
Returns: {
|
|
34777
|
+
fout_bericht: string;
|
|
34778
|
+
fout_code: string;
|
|
34779
|
+
mislukt: boolean;
|
|
34780
|
+
status: string;
|
|
34781
|
+
}[];
|
|
34782
|
+
};
|
|
32254
34783
|
print_preview_toestaan: {
|
|
32255
34784
|
Args: {
|
|
32256
34785
|
_max?: number;
|
|
@@ -32269,6 +34798,14 @@ export type Database = {
|
|
|
32269
34798
|
};
|
|
32270
34799
|
Returns: undefined;
|
|
32271
34800
|
};
|
|
34801
|
+
print_werkplek_keuze: {
|
|
34802
|
+
Args: {
|
|
34803
|
+
_documenttype: string;
|
|
34804
|
+
_klasse: string;
|
|
34805
|
+
_werkplek_id: string;
|
|
34806
|
+
};
|
|
34807
|
+
Returns: Json;
|
|
34808
|
+
};
|
|
32272
34809
|
printer_gebruik: {
|
|
32273
34810
|
Args: {
|
|
32274
34811
|
_printer: string;
|
|
@@ -32282,6 +34819,7 @@ export type Database = {
|
|
|
32282
34819
|
_papierformaat?: string;
|
|
32283
34820
|
_print_plek_id?: string;
|
|
32284
34821
|
_werkplek?: string;
|
|
34822
|
+
_werkplek_id?: string;
|
|
32285
34823
|
};
|
|
32286
34824
|
Returns: Json;
|
|
32287
34825
|
};
|
|
@@ -32724,6 +35262,10 @@ export type Database = {
|
|
|
32724
35262
|
};
|
|
32725
35263
|
Returns: number;
|
|
32726
35264
|
};
|
|
35265
|
+
run_floriday_base_supply_process: {
|
|
35266
|
+
Args: never;
|
|
35267
|
+
Returns: undefined;
|
|
35268
|
+
};
|
|
32727
35269
|
run_floriday_continuous_stock_sync: {
|
|
32728
35270
|
Args: never;
|
|
32729
35271
|
Returns: undefined;
|
|
@@ -32847,6 +35389,14 @@ export type Database = {
|
|
|
32847
35389
|
};
|
|
32848
35390
|
Returns: Json;
|
|
32849
35391
|
};
|
|
35392
|
+
scan_kar_voortgang: {
|
|
35393
|
+
Args: {
|
|
35394
|
+
p_cart_id: string;
|
|
35395
|
+
p_scanner_id?: string;
|
|
35396
|
+
p_slug?: string;
|
|
35397
|
+
};
|
|
35398
|
+
Returns: Json;
|
|
35399
|
+
};
|
|
32850
35400
|
scan_log_code: {
|
|
32851
35401
|
Args: {
|
|
32852
35402
|
p_code: string;
|
|
@@ -32864,6 +35414,12 @@ export type Database = {
|
|
|
32864
35414
|
};
|
|
32865
35415
|
Returns: Json;
|
|
32866
35416
|
};
|
|
35417
|
+
scan_order_klant: {
|
|
35418
|
+
Args: {
|
|
35419
|
+
p_order_id: string;
|
|
35420
|
+
};
|
|
35421
|
+
Returns: Json;
|
|
35422
|
+
};
|
|
32867
35423
|
scan_pakbon_lookup: {
|
|
32868
35424
|
Args: {
|
|
32869
35425
|
p_barcode: string;
|
|
@@ -32970,6 +35526,10 @@ export type Database = {
|
|
|
32970
35526
|
};
|
|
32971
35527
|
Returns: Json;
|
|
32972
35528
|
};
|
|
35529
|
+
scan_tijdzone: {
|
|
35530
|
+
Args: never;
|
|
35531
|
+
Returns: string;
|
|
35532
|
+
};
|
|
32973
35533
|
scan_verzendbrief_regels: {
|
|
32974
35534
|
Args: {
|
|
32975
35535
|
p_sessie_id: string;
|
|
@@ -33298,6 +35858,26 @@ export type Database = {
|
|
|
33298
35858
|
trade_item_key: string;
|
|
33299
35859
|
updated_at: string;
|
|
33300
35860
|
}[];
|
|
35861
|
+
} | {
|
|
35862
|
+
Args: {
|
|
35863
|
+
p_change_source?: string;
|
|
35864
|
+
p_incoming_stock?: number;
|
|
35865
|
+
p_minimum_stock?: number;
|
|
35866
|
+
p_notes?: string;
|
|
35867
|
+
p_physical_stock: number;
|
|
35868
|
+
p_product_id: string;
|
|
35869
|
+
};
|
|
35870
|
+
Returns: {
|
|
35871
|
+
connection_id: string;
|
|
35872
|
+
incoming_stock: number;
|
|
35873
|
+
minimum_stock: number;
|
|
35874
|
+
notes: string;
|
|
35875
|
+
physical_stock: number;
|
|
35876
|
+
product_id: string;
|
|
35877
|
+
reserved_stock: number;
|
|
35878
|
+
trade_item_key: string;
|
|
35879
|
+
updated_at: string;
|
|
35880
|
+
}[];
|
|
33301
35881
|
};
|
|
33302
35882
|
show_limit: {
|
|
33303
35883
|
Args: never;
|
|
@@ -33320,6 +35900,40 @@ export type Database = {
|
|
|
33320
35900
|
};
|
|
33321
35901
|
Returns: Json;
|
|
33322
35902
|
};
|
|
35903
|
+
stock_import_cleanup: {
|
|
35904
|
+
Args: never;
|
|
35905
|
+
Returns: number;
|
|
35906
|
+
};
|
|
35907
|
+
stock_import_create: {
|
|
35908
|
+
Args: {
|
|
35909
|
+
p_connection_id: string;
|
|
35910
|
+
p_file_hash: string;
|
|
35911
|
+
p_filename: string;
|
|
35912
|
+
p_force?: boolean;
|
|
35913
|
+
p_rows: Json;
|
|
35914
|
+
};
|
|
35915
|
+
Returns: Json;
|
|
35916
|
+
};
|
|
35917
|
+
stock_import_process_chunk: {
|
|
35918
|
+
Args: {
|
|
35919
|
+
p_chunk_no: number;
|
|
35920
|
+
p_run_id: string;
|
|
35921
|
+
};
|
|
35922
|
+
Returns: Json;
|
|
35923
|
+
};
|
|
35924
|
+
stock_import_stop: {
|
|
35925
|
+
Args: {
|
|
35926
|
+
p_run_id: string;
|
|
35927
|
+
};
|
|
35928
|
+
Returns: Json;
|
|
35929
|
+
};
|
|
35930
|
+
stock_import_undo_chunk: {
|
|
35931
|
+
Args: {
|
|
35932
|
+
p_chunk_no: number;
|
|
35933
|
+
p_run_id: string;
|
|
35934
|
+
};
|
|
35935
|
+
Returns: Json;
|
|
35936
|
+
};
|
|
33323
35937
|
stop_time_log: {
|
|
33324
35938
|
Args: {
|
|
33325
35939
|
p_employee_id: string;
|
|
@@ -33555,6 +36169,10 @@ export type Database = {
|
|
|
33555
36169
|
};
|
|
33556
36170
|
Returns: undefined;
|
|
33557
36171
|
};
|
|
36172
|
+
uren_cao_settings_zorg: {
|
|
36173
|
+
Args: never;
|
|
36174
|
+
Returns: string;
|
|
36175
|
+
};
|
|
33558
36176
|
uren_collega_agenda: {
|
|
33559
36177
|
Args: {
|
|
33560
36178
|
_monteur: string;
|
|
@@ -33715,10 +36333,22 @@ export type Database = {
|
|
|
33715
36333
|
Args: never;
|
|
33716
36334
|
Returns: number;
|
|
33717
36335
|
};
|
|
36336
|
+
uren_module_gezondheid: {
|
|
36337
|
+
Args: never;
|
|
36338
|
+
Returns: Json;
|
|
36339
|
+
};
|
|
36340
|
+
uren_module_status: {
|
|
36341
|
+
Args: never;
|
|
36342
|
+
Returns: Json;
|
|
36343
|
+
};
|
|
33718
36344
|
uren_my_monteur_id: {
|
|
33719
36345
|
Args: never;
|
|
33720
36346
|
Returns: string;
|
|
33721
36347
|
};
|
|
36348
|
+
uren_opschonen_indien_nodig: {
|
|
36349
|
+
Args: never;
|
|
36350
|
+
Returns: boolean;
|
|
36351
|
+
};
|
|
33722
36352
|
uren_overuren_indienen: {
|
|
33723
36353
|
Args: {
|
|
33724
36354
|
_datum: string;
|
|
@@ -33729,6 +36359,12 @@ export type Database = {
|
|
|
33729
36359
|
};
|
|
33730
36360
|
Returns: undefined;
|
|
33731
36361
|
};
|
|
36362
|
+
uren_overuren_intrekken: {
|
|
36363
|
+
Args: {
|
|
36364
|
+
_datum: string;
|
|
36365
|
+
};
|
|
36366
|
+
Returns: undefined;
|
|
36367
|
+
};
|
|
33732
36368
|
uren_pagina_toegang_instellen: {
|
|
33733
36369
|
Args: {
|
|
33734
36370
|
_toegang: boolean;
|
|
@@ -34049,16 +36685,57 @@ export type Database = {
|
|
|
34049
36685
|
};
|
|
34050
36686
|
Returns: Json;
|
|
34051
36687
|
};
|
|
36688
|
+
voorraad_can_write: {
|
|
36689
|
+
Args: never;
|
|
36690
|
+
Returns: boolean;
|
|
36691
|
+
};
|
|
34052
36692
|
voorraad_cleanup_old_rows: {
|
|
34053
36693
|
Args: never;
|
|
34054
36694
|
Returns: Json;
|
|
34055
36695
|
};
|
|
36696
|
+
voorraad_hook_base_url: {
|
|
36697
|
+
Args: never;
|
|
36698
|
+
Returns: string;
|
|
36699
|
+
};
|
|
36700
|
+
voorraad_hook_on: {
|
|
36701
|
+
Args: {
|
|
36702
|
+
p_name: string;
|
|
36703
|
+
};
|
|
36704
|
+
Returns: boolean;
|
|
36705
|
+
};
|
|
36706
|
+
voorraad_hook_post: {
|
|
36707
|
+
Args: {
|
|
36708
|
+
p_path: string;
|
|
36709
|
+
p_timeout?: number;
|
|
36710
|
+
};
|
|
36711
|
+
Returns: undefined;
|
|
36712
|
+
};
|
|
36713
|
+
voorraad_production_enabled: {
|
|
36714
|
+
Args: never;
|
|
36715
|
+
Returns: boolean;
|
|
36716
|
+
};
|
|
36717
|
+
voorraad_week_is_past: {
|
|
36718
|
+
Args: {
|
|
36719
|
+
p_week: number;
|
|
36720
|
+
p_year: number;
|
|
36721
|
+
};
|
|
36722
|
+
Returns: boolean;
|
|
36723
|
+
};
|
|
34056
36724
|
wake_print_queue: {
|
|
34057
36725
|
Args: {
|
|
34058
36726
|
_min_interval_ms?: number;
|
|
34059
36727
|
};
|
|
34060
36728
|
Returns: number;
|
|
34061
36729
|
};
|
|
36730
|
+
werkbon_format_project_number: {
|
|
36731
|
+
Args: {
|
|
36732
|
+
_parent_project_number?: string;
|
|
36733
|
+
_sequence_number: number;
|
|
36734
|
+
_source_type: string;
|
|
36735
|
+
_version: number;
|
|
36736
|
+
};
|
|
36737
|
+
Returns: string;
|
|
36738
|
+
};
|
|
34062
36739
|
werkbon_pakket_tijden: {
|
|
34063
36740
|
Args: {
|
|
34064
36741
|
_werkbon_id: string;
|
|
@@ -34081,6 +36758,31 @@ export type Database = {
|
|
|
34081
36758
|
total_minutes: number;
|
|
34082
36759
|
}[];
|
|
34083
36760
|
};
|
|
36761
|
+
werkplek_omzetting_toepassen: {
|
|
36762
|
+
Args: {
|
|
36763
|
+
_werkplekken: Json;
|
|
36764
|
+
};
|
|
36765
|
+
Returns: Json;
|
|
36766
|
+
};
|
|
36767
|
+
werkplek_omzetting_voorstel: {
|
|
36768
|
+
Args: never;
|
|
36769
|
+
Returns: Json;
|
|
36770
|
+
};
|
|
36771
|
+
wo_boek_standby_tijdvakken: {
|
|
36772
|
+
Args: {
|
|
36773
|
+
_tijdvakken: Json;
|
|
36774
|
+
_werkbon_id: string;
|
|
36775
|
+
};
|
|
36776
|
+
Returns: Json;
|
|
36777
|
+
};
|
|
36778
|
+
wo_boek_standby_uren: {
|
|
36779
|
+
Args: {
|
|
36780
|
+
_datum: string;
|
|
36781
|
+
_minuten: number;
|
|
36782
|
+
_werkbon_id: string;
|
|
36783
|
+
};
|
|
36784
|
+
Returns: Json;
|
|
36785
|
+
};
|
|
34084
36786
|
wo_create_from_source: {
|
|
34085
36787
|
Args: {
|
|
34086
36788
|
_payload?: Json;
|
|
@@ -34167,6 +36869,19 @@ export type Database = {
|
|
|
34167
36869
|
};
|
|
34168
36870
|
Returns: Json;
|
|
34169
36871
|
};
|
|
36872
|
+
wo_send_proposal_to_quote: {
|
|
36873
|
+
Args: {
|
|
36874
|
+
_id: string;
|
|
36875
|
+
_overrides?: Json;
|
|
36876
|
+
};
|
|
36877
|
+
Returns: Json;
|
|
36878
|
+
};
|
|
36879
|
+
wo_send_to_quote: {
|
|
36880
|
+
Args: {
|
|
36881
|
+
_werkbon_id: string;
|
|
36882
|
+
};
|
|
36883
|
+
Returns: Json;
|
|
36884
|
+
};
|
|
34170
36885
|
wo_set_status: {
|
|
34171
36886
|
Args: {
|
|
34172
36887
|
_reason?: string;
|
|
@@ -34175,11 +36890,35 @@ export type Database = {
|
|
|
34175
36890
|
};
|
|
34176
36891
|
Returns: Json;
|
|
34177
36892
|
};
|
|
36893
|
+
wo_standby_dag_herberekenen: {
|
|
36894
|
+
Args: {
|
|
36895
|
+
_datum: string;
|
|
36896
|
+
_monteur: string;
|
|
36897
|
+
};
|
|
36898
|
+
Returns: Json;
|
|
36899
|
+
};
|
|
36900
|
+
wo_standby_ov_dag: {
|
|
36901
|
+
Args: {
|
|
36902
|
+
_dienst: Json;
|
|
36903
|
+
_dow: number;
|
|
36904
|
+
_feest: boolean;
|
|
36905
|
+
_vakken: Json;
|
|
36906
|
+
};
|
|
36907
|
+
Returns: Json;
|
|
36908
|
+
};
|
|
36909
|
+
wo_standby_tijdzone: {
|
|
36910
|
+
Args: never;
|
|
36911
|
+
Returns: string;
|
|
36912
|
+
};
|
|
36913
|
+
wo_timer_stop_0400: {
|
|
36914
|
+
Args: never;
|
|
36915
|
+
Returns: number;
|
|
36916
|
+
};
|
|
34178
36917
|
};
|
|
34179
36918
|
Enums: {
|
|
34180
36919
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
34181
36920
|
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";
|
|
36921
|
+
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief" | "traysticker";
|
|
34183
36922
|
doc_orientation: "portrait" | "landscape";
|
|
34184
36923
|
exact_env: "staging" | "live";
|
|
34185
36924
|
exact_push_status: "pending" | "sent" | "error";
|
|
@@ -34250,7 +36989,7 @@ export declare const Constants: {
|
|
|
34250
36989
|
readonly Enums: {
|
|
34251
36990
|
readonly ai_import_status: readonly ["nieuw", "verwerken", "bevestigen", "klaar", "mislukt"];
|
|
34252
36991
|
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"];
|
|
36992
|
+
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
36993
|
readonly doc_orientation: readonly ["portrait", "landscape"];
|
|
34255
36994
|
readonly exact_env: readonly ["staging", "live"];
|
|
34256
36995
|
readonly exact_push_status: readonly ["pending", "sent", "error"];
|