@flowselections/logistiek-engine 1.0.183 → 1.0.187
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/db/schema/logistiek-engine.sql +3683 -4541
- package/dist-lib/components/BeheerPage.d.ts.map +1 -1
- package/dist-lib/components/BeheerPage.js +2 -1
- package/dist-lib/components/VervoerderBewakingCard.d.ts +15 -0
- package/dist-lib/components/VervoerderBewakingCard.d.ts.map +1 -0
- package/dist-lib/components/VervoerderBewakingCard.js +56 -0
- package/dist-lib/index.d.ts +1 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +1 -0
- package/dist-lib/integrations/supabase/types.d.ts +1198 -28
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.js +188 -0
- package/dist-lib/lib/moduleVersion.d.ts +1 -1
- package/dist-lib/lib/moduleVersion.js +1 -1
- package/package.json +2 -2
|
@@ -7,6 +7,57 @@ export type Database = {
|
|
|
7
7
|
};
|
|
8
8
|
public: {
|
|
9
9
|
Tables: {
|
|
10
|
+
afh_shell_settings: {
|
|
11
|
+
Row: {
|
|
12
|
+
changed_at: string | null;
|
|
13
|
+
changed_by: string | null;
|
|
14
|
+
created_at: string;
|
|
15
|
+
id: boolean;
|
|
16
|
+
signup_auto_send: boolean;
|
|
17
|
+
};
|
|
18
|
+
Insert: {
|
|
19
|
+
changed_at?: string | null;
|
|
20
|
+
changed_by?: string | null;
|
|
21
|
+
created_at?: string;
|
|
22
|
+
id?: boolean;
|
|
23
|
+
signup_auto_send?: boolean;
|
|
24
|
+
};
|
|
25
|
+
Update: {
|
|
26
|
+
changed_at?: string | null;
|
|
27
|
+
changed_by?: string | null;
|
|
28
|
+
created_at?: string;
|
|
29
|
+
id?: boolean;
|
|
30
|
+
signup_auto_send?: boolean;
|
|
31
|
+
};
|
|
32
|
+
Relationships: [];
|
|
33
|
+
};
|
|
34
|
+
afh_shell_settings_log: {
|
|
35
|
+
Row: {
|
|
36
|
+
changed_at: string;
|
|
37
|
+
changed_by: string | null;
|
|
38
|
+
id: string;
|
|
39
|
+
new_value: Json | null;
|
|
40
|
+
old_value: Json | null;
|
|
41
|
+
setting: string;
|
|
42
|
+
};
|
|
43
|
+
Insert: {
|
|
44
|
+
changed_at?: string;
|
|
45
|
+
changed_by?: string | null;
|
|
46
|
+
id?: string;
|
|
47
|
+
new_value?: Json | null;
|
|
48
|
+
old_value?: Json | null;
|
|
49
|
+
setting: string;
|
|
50
|
+
};
|
|
51
|
+
Update: {
|
|
52
|
+
changed_at?: string;
|
|
53
|
+
changed_by?: string | null;
|
|
54
|
+
id?: string;
|
|
55
|
+
new_value?: Json | null;
|
|
56
|
+
old_value?: Json | null;
|
|
57
|
+
setting?: string;
|
|
58
|
+
};
|
|
59
|
+
Relationships: [];
|
|
60
|
+
};
|
|
10
61
|
afhandeling_settings: {
|
|
11
62
|
Row: {
|
|
12
63
|
auto_print_delivery_note: boolean;
|
|
@@ -1313,13 +1364,17 @@ export type Database = {
|
|
|
1313
1364
|
carriers: {
|
|
1314
1365
|
Row: {
|
|
1315
1366
|
address: string | null;
|
|
1367
|
+
archived_at: string | null;
|
|
1368
|
+
carrier_kind: string | null;
|
|
1316
1369
|
contact_person: string | null;
|
|
1317
1370
|
created_at: string;
|
|
1318
1371
|
delivery_days: number | null;
|
|
1372
|
+
delivery_location_glns: string[];
|
|
1319
1373
|
delivery_weekdays: number[];
|
|
1320
1374
|
email: string | null;
|
|
1321
1375
|
id: string;
|
|
1322
1376
|
is_default: boolean;
|
|
1377
|
+
is_favorite: boolean;
|
|
1323
1378
|
name: string;
|
|
1324
1379
|
notes: string | null;
|
|
1325
1380
|
phone: string | null;
|
|
@@ -1333,17 +1388,21 @@ export type Database = {
|
|
|
1333
1388
|
signup_time_2: string | null;
|
|
1334
1389
|
sort_order: number;
|
|
1335
1390
|
updated_at: string;
|
|
1336
|
-
user_id: string;
|
|
1391
|
+
user_id: string | null;
|
|
1337
1392
|
};
|
|
1338
1393
|
Insert: {
|
|
1339
1394
|
address?: string | null;
|
|
1395
|
+
archived_at?: string | null;
|
|
1396
|
+
carrier_kind?: string | null;
|
|
1340
1397
|
contact_person?: string | null;
|
|
1341
1398
|
created_at?: string;
|
|
1342
1399
|
delivery_days?: number | null;
|
|
1400
|
+
delivery_location_glns?: string[];
|
|
1343
1401
|
delivery_weekdays?: number[];
|
|
1344
1402
|
email?: string | null;
|
|
1345
1403
|
id?: string;
|
|
1346
1404
|
is_default?: boolean;
|
|
1405
|
+
is_favorite?: boolean;
|
|
1347
1406
|
name: string;
|
|
1348
1407
|
notes?: string | null;
|
|
1349
1408
|
phone?: string | null;
|
|
@@ -1357,17 +1416,21 @@ export type Database = {
|
|
|
1357
1416
|
signup_time_2?: string | null;
|
|
1358
1417
|
sort_order?: number;
|
|
1359
1418
|
updated_at?: string;
|
|
1360
|
-
user_id
|
|
1419
|
+
user_id?: string | null;
|
|
1361
1420
|
};
|
|
1362
1421
|
Update: {
|
|
1363
1422
|
address?: string | null;
|
|
1423
|
+
archived_at?: string | null;
|
|
1424
|
+
carrier_kind?: string | null;
|
|
1364
1425
|
contact_person?: string | null;
|
|
1365
1426
|
created_at?: string;
|
|
1366
1427
|
delivery_days?: number | null;
|
|
1428
|
+
delivery_location_glns?: string[];
|
|
1367
1429
|
delivery_weekdays?: number[];
|
|
1368
1430
|
email?: string | null;
|
|
1369
1431
|
id?: string;
|
|
1370
1432
|
is_default?: boolean;
|
|
1433
|
+
is_favorite?: boolean;
|
|
1371
1434
|
name?: string;
|
|
1372
1435
|
notes?: string | null;
|
|
1373
1436
|
phone?: string | null;
|
|
@@ -1381,7 +1444,7 @@ export type Database = {
|
|
|
1381
1444
|
signup_time_2?: string | null;
|
|
1382
1445
|
sort_order?: number;
|
|
1383
1446
|
updated_at?: string;
|
|
1384
|
-
user_id?: string;
|
|
1447
|
+
user_id?: string | null;
|
|
1385
1448
|
};
|
|
1386
1449
|
Relationships: [];
|
|
1387
1450
|
};
|
|
@@ -2654,6 +2717,7 @@ export type Database = {
|
|
|
2654
2717
|
custom_fields: Json;
|
|
2655
2718
|
customer_class: string | null;
|
|
2656
2719
|
customer_number: string | null;
|
|
2720
|
+
default_carrier_id: string | null;
|
|
2657
2721
|
discount_days: number | null;
|
|
2658
2722
|
discount_percentage: number | null;
|
|
2659
2723
|
discount_surcharge: string;
|
|
@@ -2746,6 +2810,7 @@ export type Database = {
|
|
|
2746
2810
|
custom_fields?: Json;
|
|
2747
2811
|
customer_class?: string | null;
|
|
2748
2812
|
customer_number?: string | null;
|
|
2813
|
+
default_carrier_id?: string | null;
|
|
2749
2814
|
discount_days?: number | null;
|
|
2750
2815
|
discount_percentage?: number | null;
|
|
2751
2816
|
discount_surcharge?: string;
|
|
@@ -2838,6 +2903,7 @@ export type Database = {
|
|
|
2838
2903
|
custom_fields?: Json;
|
|
2839
2904
|
customer_class?: string | null;
|
|
2840
2905
|
customer_number?: string | null;
|
|
2906
|
+
default_carrier_id?: string | null;
|
|
2841
2907
|
discount_days?: number | null;
|
|
2842
2908
|
discount_percentage?: number | null;
|
|
2843
2909
|
discount_surcharge?: string;
|
|
@@ -2891,7 +2957,15 @@ export type Database = {
|
|
|
2891
2957
|
vat_number?: string | null;
|
|
2892
2958
|
website?: string | null;
|
|
2893
2959
|
};
|
|
2894
|
-
Relationships: [
|
|
2960
|
+
Relationships: [
|
|
2961
|
+
{
|
|
2962
|
+
foreignKeyName: "customers_default_carrier_id_fkey";
|
|
2963
|
+
columns: ["default_carrier_id"];
|
|
2964
|
+
isOneToOne: false;
|
|
2965
|
+
referencedRelation: "carriers";
|
|
2966
|
+
referencedColumns: ["id"];
|
|
2967
|
+
}
|
|
2968
|
+
];
|
|
2895
2969
|
};
|
|
2896
2970
|
dashboard_ai_conversations: {
|
|
2897
2971
|
Row: {
|
|
@@ -7279,16 +7353,22 @@ export type Database = {
|
|
|
7279
7353
|
connection_id: string;
|
|
7280
7354
|
created_at: string;
|
|
7281
7355
|
data: Json;
|
|
7356
|
+
delivery_date_time: string | null;
|
|
7282
7357
|
fetched_at: string;
|
|
7283
7358
|
floriday_id: string;
|
|
7359
|
+
has_file: boolean | null;
|
|
7284
7360
|
id: string;
|
|
7285
7361
|
is_deleted: boolean;
|
|
7362
|
+
is_handled: boolean | null;
|
|
7363
|
+
last_requested_on: string | null;
|
|
7364
|
+
number_of_copies: number | null;
|
|
7286
7365
|
quantity: number | null;
|
|
7287
7366
|
sales_order_id: string | null;
|
|
7288
7367
|
sequence_number: number;
|
|
7289
7368
|
should_be_printed: boolean | null;
|
|
7290
7369
|
status: string | null;
|
|
7291
7370
|
sticker_height_mm: number | null;
|
|
7371
|
+
sticker_provided_by: string | null;
|
|
7292
7372
|
sticker_type: string | null;
|
|
7293
7373
|
sticker_width_mm: number | null;
|
|
7294
7374
|
trade_item_id: string | null;
|
|
@@ -7298,16 +7378,22 @@ export type Database = {
|
|
|
7298
7378
|
connection_id: string;
|
|
7299
7379
|
created_at?: string;
|
|
7300
7380
|
data?: Json;
|
|
7381
|
+
delivery_date_time?: string | null;
|
|
7301
7382
|
fetched_at?: string;
|
|
7302
7383
|
floriday_id: string;
|
|
7384
|
+
has_file?: boolean | null;
|
|
7303
7385
|
id?: string;
|
|
7304
7386
|
is_deleted?: boolean;
|
|
7387
|
+
is_handled?: boolean | null;
|
|
7388
|
+
last_requested_on?: string | null;
|
|
7389
|
+
number_of_copies?: number | null;
|
|
7305
7390
|
quantity?: number | null;
|
|
7306
7391
|
sales_order_id?: string | null;
|
|
7307
7392
|
sequence_number?: number;
|
|
7308
7393
|
should_be_printed?: boolean | null;
|
|
7309
7394
|
status?: string | null;
|
|
7310
7395
|
sticker_height_mm?: number | null;
|
|
7396
|
+
sticker_provided_by?: string | null;
|
|
7311
7397
|
sticker_type?: string | null;
|
|
7312
7398
|
sticker_width_mm?: number | null;
|
|
7313
7399
|
trade_item_id?: string | null;
|
|
@@ -7317,16 +7403,22 @@ export type Database = {
|
|
|
7317
7403
|
connection_id?: string;
|
|
7318
7404
|
created_at?: string;
|
|
7319
7405
|
data?: Json;
|
|
7406
|
+
delivery_date_time?: string | null;
|
|
7320
7407
|
fetched_at?: string;
|
|
7321
7408
|
floriday_id?: string;
|
|
7409
|
+
has_file?: boolean | null;
|
|
7322
7410
|
id?: string;
|
|
7323
7411
|
is_deleted?: boolean;
|
|
7412
|
+
is_handled?: boolean | null;
|
|
7413
|
+
last_requested_on?: string | null;
|
|
7414
|
+
number_of_copies?: number | null;
|
|
7324
7415
|
quantity?: number | null;
|
|
7325
7416
|
sales_order_id?: string | null;
|
|
7326
7417
|
sequence_number?: number;
|
|
7327
7418
|
should_be_printed?: boolean | null;
|
|
7328
7419
|
status?: string | null;
|
|
7329
7420
|
sticker_height_mm?: number | null;
|
|
7421
|
+
sticker_provided_by?: string | null;
|
|
7330
7422
|
sticker_type?: string | null;
|
|
7331
7423
|
sticker_width_mm?: number | null;
|
|
7332
7424
|
trade_item_id?: string | null;
|
|
@@ -8212,7 +8304,9 @@ export type Database = {
|
|
|
8212
8304
|
floriday_packing_mismatches: {
|
|
8213
8305
|
Row: {
|
|
8214
8306
|
api_value: Json | null;
|
|
8307
|
+
cache_is_deleted: boolean;
|
|
8215
8308
|
cache_value: Json | null;
|
|
8309
|
+
check_outcome: string;
|
|
8216
8310
|
connection_id: string;
|
|
8217
8311
|
details: string | null;
|
|
8218
8312
|
detected_at: string;
|
|
@@ -8224,7 +8318,9 @@ export type Database = {
|
|
|
8224
8318
|
};
|
|
8225
8319
|
Insert: {
|
|
8226
8320
|
api_value?: Json | null;
|
|
8321
|
+
cache_is_deleted?: boolean;
|
|
8227
8322
|
cache_value?: Json | null;
|
|
8323
|
+
check_outcome?: string;
|
|
8228
8324
|
connection_id: string;
|
|
8229
8325
|
details?: string | null;
|
|
8230
8326
|
detected_at?: string;
|
|
@@ -8236,7 +8332,9 @@ export type Database = {
|
|
|
8236
8332
|
};
|
|
8237
8333
|
Update: {
|
|
8238
8334
|
api_value?: Json | null;
|
|
8335
|
+
cache_is_deleted?: boolean;
|
|
8239
8336
|
cache_value?: Json | null;
|
|
8337
|
+
check_outcome?: string;
|
|
8240
8338
|
connection_id?: string;
|
|
8241
8339
|
details?: string | null;
|
|
8242
8340
|
detected_at?: string;
|
|
@@ -9385,6 +9483,105 @@ export type Database = {
|
|
|
9385
9483
|
};
|
|
9386
9484
|
Relationships: [];
|
|
9387
9485
|
};
|
|
9486
|
+
flowselections_central_sync_state: {
|
|
9487
|
+
Row: {
|
|
9488
|
+
id: number;
|
|
9489
|
+
last_error_at: string | null;
|
|
9490
|
+
last_logged_at: string | null;
|
|
9491
|
+
last_logged_status: string | null;
|
|
9492
|
+
last_ok_at: string | null;
|
|
9493
|
+
last_status: string | null;
|
|
9494
|
+
request_id: number | null;
|
|
9495
|
+
requested_at: string | null;
|
|
9496
|
+
};
|
|
9497
|
+
Insert: {
|
|
9498
|
+
id: number;
|
|
9499
|
+
last_error_at?: string | null;
|
|
9500
|
+
last_logged_at?: string | null;
|
|
9501
|
+
last_logged_status?: string | null;
|
|
9502
|
+
last_ok_at?: string | null;
|
|
9503
|
+
last_status?: string | null;
|
|
9504
|
+
request_id?: number | null;
|
|
9505
|
+
requested_at?: string | null;
|
|
9506
|
+
};
|
|
9507
|
+
Update: {
|
|
9508
|
+
id?: number;
|
|
9509
|
+
last_error_at?: string | null;
|
|
9510
|
+
last_logged_at?: string | null;
|
|
9511
|
+
last_logged_status?: string | null;
|
|
9512
|
+
last_ok_at?: string | null;
|
|
9513
|
+
last_status?: string | null;
|
|
9514
|
+
request_id?: number | null;
|
|
9515
|
+
requested_at?: string | null;
|
|
9516
|
+
};
|
|
9517
|
+
Relationships: [];
|
|
9518
|
+
};
|
|
9519
|
+
flowselections_cron_claims: {
|
|
9520
|
+
Row: {
|
|
9521
|
+
jobname: string;
|
|
9522
|
+
module: string;
|
|
9523
|
+
placed_at: string;
|
|
9524
|
+
version: string | null;
|
|
9525
|
+
};
|
|
9526
|
+
Insert: {
|
|
9527
|
+
jobname: string;
|
|
9528
|
+
module: string;
|
|
9529
|
+
placed_at?: string;
|
|
9530
|
+
version?: string | null;
|
|
9531
|
+
};
|
|
9532
|
+
Update: {
|
|
9533
|
+
jobname?: string;
|
|
9534
|
+
module?: string;
|
|
9535
|
+
placed_at?: string;
|
|
9536
|
+
version?: string | null;
|
|
9537
|
+
};
|
|
9538
|
+
Relationships: [];
|
|
9539
|
+
};
|
|
9540
|
+
flowselections_cron_log: {
|
|
9541
|
+
Row: {
|
|
9542
|
+
detail: string | null;
|
|
9543
|
+
id: number;
|
|
9544
|
+
path: string | null;
|
|
9545
|
+
status: string;
|
|
9546
|
+
ts: string;
|
|
9547
|
+
};
|
|
9548
|
+
Insert: {
|
|
9549
|
+
detail?: string | null;
|
|
9550
|
+
id?: never;
|
|
9551
|
+
path?: string | null;
|
|
9552
|
+
status: string;
|
|
9553
|
+
ts?: string;
|
|
9554
|
+
};
|
|
9555
|
+
Update: {
|
|
9556
|
+
detail?: string | null;
|
|
9557
|
+
id?: never;
|
|
9558
|
+
path?: string | null;
|
|
9559
|
+
status?: string;
|
|
9560
|
+
ts?: string;
|
|
9561
|
+
};
|
|
9562
|
+
Relationships: [];
|
|
9563
|
+
};
|
|
9564
|
+
flowselections_cron_override: {
|
|
9565
|
+
Row: {
|
|
9566
|
+
aangemaakt_op: string;
|
|
9567
|
+
base_url: string;
|
|
9568
|
+
notitie: string | null;
|
|
9569
|
+
path_prefix: string;
|
|
9570
|
+
};
|
|
9571
|
+
Insert: {
|
|
9572
|
+
aangemaakt_op?: string;
|
|
9573
|
+
base_url: string;
|
|
9574
|
+
notitie?: string | null;
|
|
9575
|
+
path_prefix: string;
|
|
9576
|
+
};
|
|
9577
|
+
Update: {
|
|
9578
|
+
aangemaakt_op?: string;
|
|
9579
|
+
base_url?: string;
|
|
9580
|
+
notitie?: string | null;
|
|
9581
|
+
path_prefix?: string;
|
|
9582
|
+
};
|
|
9583
|
+
Relationships: [];
|
|
9584
|
+
};
|
|
9388
9585
|
fust_stock_mutations: {
|
|
9389
9586
|
Row: {
|
|
9390
9587
|
created_at: string;
|
|
@@ -11494,6 +11691,33 @@ export type Database = {
|
|
|
11494
11691
|
};
|
|
11495
11692
|
Relationships: [];
|
|
11496
11693
|
};
|
|
11694
|
+
klanten_correctie_log: {
|
|
11695
|
+
Row: {
|
|
11696
|
+
aanroeper: string | null;
|
|
11697
|
+
created_at: string;
|
|
11698
|
+
functie: string;
|
|
11699
|
+
id: string;
|
|
11700
|
+
resultaat: Json;
|
|
11701
|
+
uitgevoerd: boolean;
|
|
11702
|
+
};
|
|
11703
|
+
Insert: {
|
|
11704
|
+
aanroeper?: string | null;
|
|
11705
|
+
created_at?: string;
|
|
11706
|
+
functie: string;
|
|
11707
|
+
id?: string;
|
|
11708
|
+
resultaat: Json;
|
|
11709
|
+
uitgevoerd: boolean;
|
|
11710
|
+
};
|
|
11711
|
+
Update: {
|
|
11712
|
+
aanroeper?: string | null;
|
|
11713
|
+
created_at?: string;
|
|
11714
|
+
functie?: string;
|
|
11715
|
+
id?: string;
|
|
11716
|
+
resultaat?: Json;
|
|
11717
|
+
uitgevoerd?: boolean;
|
|
11718
|
+
};
|
|
11719
|
+
Relationships: [];
|
|
11720
|
+
};
|
|
11497
11721
|
layout_auto_acties: {
|
|
11498
11722
|
Row: {
|
|
11499
11723
|
actie: string;
|
|
@@ -12381,6 +12605,81 @@ export type Database = {
|
|
|
12381
12605
|
};
|
|
12382
12606
|
Relationships: [];
|
|
12383
12607
|
};
|
|
12608
|
+
logistics_carrier_events: {
|
|
12609
|
+
Row: {
|
|
12610
|
+
bericht: string;
|
|
12611
|
+
created_at: string;
|
|
12612
|
+
id: number;
|
|
12613
|
+
order_id: string;
|
|
12614
|
+
soort: string;
|
|
12615
|
+
};
|
|
12616
|
+
Insert: {
|
|
12617
|
+
bericht: string;
|
|
12618
|
+
created_at?: string;
|
|
12619
|
+
id?: number;
|
|
12620
|
+
order_id: string;
|
|
12621
|
+
soort?: string;
|
|
12622
|
+
};
|
|
12623
|
+
Update: {
|
|
12624
|
+
bericht?: string;
|
|
12625
|
+
created_at?: string;
|
|
12626
|
+
id?: number;
|
|
12627
|
+
order_id?: string;
|
|
12628
|
+
soort?: string;
|
|
12629
|
+
};
|
|
12630
|
+
Relationships: [];
|
|
12631
|
+
};
|
|
12632
|
+
logistics_carrier_recalc_queue: {
|
|
12633
|
+
Row: {
|
|
12634
|
+
last_checked_at: string | null;
|
|
12635
|
+
order_id: string;
|
|
12636
|
+
processed_at: string | null;
|
|
12637
|
+
queued_at: string;
|
|
12638
|
+
reden: string;
|
|
12639
|
+
};
|
|
12640
|
+
Insert: {
|
|
12641
|
+
last_checked_at?: string | null;
|
|
12642
|
+
order_id: string;
|
|
12643
|
+
processed_at?: string | null;
|
|
12644
|
+
queued_at?: string;
|
|
12645
|
+
reden: string;
|
|
12646
|
+
};
|
|
12647
|
+
Update: {
|
|
12648
|
+
last_checked_at?: string | null;
|
|
12649
|
+
order_id?: string;
|
|
12650
|
+
processed_at?: string | null;
|
|
12651
|
+
queued_at?: string;
|
|
12652
|
+
reden?: string;
|
|
12653
|
+
};
|
|
12654
|
+
Relationships: [];
|
|
12655
|
+
};
|
|
12656
|
+
logistics_carrier_settings: {
|
|
12657
|
+
Row: {
|
|
12658
|
+
backfill_existing: boolean;
|
|
12659
|
+
backfill_set_at: string | null;
|
|
12660
|
+
backfill_set_by: string | null;
|
|
12661
|
+
id: boolean;
|
|
12662
|
+
installed_at: string;
|
|
12663
|
+
updated_at: string;
|
|
12664
|
+
};
|
|
12665
|
+
Insert: {
|
|
12666
|
+
backfill_existing?: boolean;
|
|
12667
|
+
backfill_set_at?: string | null;
|
|
12668
|
+
backfill_set_by?: string | null;
|
|
12669
|
+
id?: boolean;
|
|
12670
|
+
installed_at?: string;
|
|
12671
|
+
updated_at?: string;
|
|
12672
|
+
};
|
|
12673
|
+
Update: {
|
|
12674
|
+
backfill_existing?: boolean;
|
|
12675
|
+
backfill_set_at?: string | null;
|
|
12676
|
+
backfill_set_by?: string | null;
|
|
12677
|
+
id?: boolean;
|
|
12678
|
+
installed_at?: string;
|
|
12679
|
+
updated_at?: string;
|
|
12680
|
+
};
|
|
12681
|
+
Relationships: [];
|
|
12682
|
+
};
|
|
12384
12683
|
logistics_cart_archive_log: {
|
|
12385
12684
|
Row: {
|
|
12386
12685
|
action: string;
|
|
@@ -14278,6 +14577,7 @@ export type Database = {
|
|
|
14278
14577
|
hoogte_mm: number | null;
|
|
14279
14578
|
id: string;
|
|
14280
14579
|
kopieen: number;
|
|
14580
|
+
kopieen_bron: string | null;
|
|
14281
14581
|
next_attempt_at: string | null;
|
|
14282
14582
|
order_id: string | null;
|
|
14283
14583
|
order_number: string | null;
|
|
@@ -14305,6 +14605,7 @@ export type Database = {
|
|
|
14305
14605
|
hoogte_mm?: number | null;
|
|
14306
14606
|
id?: string;
|
|
14307
14607
|
kopieen?: number;
|
|
14608
|
+
kopieen_bron?: string | null;
|
|
14308
14609
|
next_attempt_at?: string | null;
|
|
14309
14610
|
order_id?: string | null;
|
|
14310
14611
|
order_number?: string | null;
|
|
@@ -14332,6 +14633,7 @@ export type Database = {
|
|
|
14332
14633
|
hoogte_mm?: number | null;
|
|
14333
14634
|
id?: string;
|
|
14334
14635
|
kopieen?: number;
|
|
14636
|
+
kopieen_bron?: string | null;
|
|
14335
14637
|
next_attempt_at?: string | null;
|
|
14336
14638
|
order_id?: string | null;
|
|
14337
14639
|
order_number?: string | null;
|
|
@@ -17599,60 +17901,72 @@ export type Database = {
|
|
|
17599
17901
|
created_at: string;
|
|
17600
17902
|
id: string;
|
|
17601
17903
|
layers_per_cart: number | null;
|
|
17904
|
+
load_carrier_type: string | null;
|
|
17602
17905
|
needs_sticker: boolean;
|
|
17603
17906
|
order_id: string;
|
|
17604
17907
|
packing_locked_at: string | null;
|
|
17605
17908
|
packing_locked_by: string | null;
|
|
17909
|
+
packing_source: string | null;
|
|
17606
17910
|
plants_per_crate: number | null;
|
|
17607
17911
|
product_id: string | null;
|
|
17608
17912
|
product_name: string;
|
|
17609
17913
|
quantity: number;
|
|
17914
|
+
quantity_crates: number | null;
|
|
17610
17915
|
quarantine_reason: string | null;
|
|
17611
17916
|
quarantined_at: string | null;
|
|
17612
17917
|
quarantined_into_order_id: string | null;
|
|
17613
17918
|
source_line_key: string | null;
|
|
17614
17919
|
unit: string;
|
|
17615
17920
|
unit_price: number | null;
|
|
17921
|
+
vbn_package_code: string | null;
|
|
17616
17922
|
};
|
|
17617
17923
|
Insert: {
|
|
17618
17924
|
crates_per_layer?: number | null;
|
|
17619
17925
|
created_at?: string;
|
|
17620
17926
|
id?: string;
|
|
17621
17927
|
layers_per_cart?: number | null;
|
|
17928
|
+
load_carrier_type?: string | null;
|
|
17622
17929
|
needs_sticker?: boolean;
|
|
17623
17930
|
order_id: string;
|
|
17624
17931
|
packing_locked_at?: string | null;
|
|
17625
17932
|
packing_locked_by?: string | null;
|
|
17933
|
+
packing_source?: string | null;
|
|
17626
17934
|
plants_per_crate?: number | null;
|
|
17627
17935
|
product_id?: string | null;
|
|
17628
17936
|
product_name: string;
|
|
17629
17937
|
quantity?: number;
|
|
17938
|
+
quantity_crates?: number | null;
|
|
17630
17939
|
quarantine_reason?: string | null;
|
|
17631
17940
|
quarantined_at?: string | null;
|
|
17632
17941
|
quarantined_into_order_id?: string | null;
|
|
17633
17942
|
source_line_key?: string | null;
|
|
17634
17943
|
unit?: string;
|
|
17635
17944
|
unit_price?: number | null;
|
|
17945
|
+
vbn_package_code?: string | null;
|
|
17636
17946
|
};
|
|
17637
17947
|
Update: {
|
|
17638
17948
|
crates_per_layer?: number | null;
|
|
17639
17949
|
created_at?: string;
|
|
17640
17950
|
id?: string;
|
|
17641
17951
|
layers_per_cart?: number | null;
|
|
17952
|
+
load_carrier_type?: string | null;
|
|
17642
17953
|
needs_sticker?: boolean;
|
|
17643
17954
|
order_id?: string;
|
|
17644
17955
|
packing_locked_at?: string | null;
|
|
17645
17956
|
packing_locked_by?: string | null;
|
|
17957
|
+
packing_source?: string | null;
|
|
17646
17958
|
plants_per_crate?: number | null;
|
|
17647
17959
|
product_id?: string | null;
|
|
17648
17960
|
product_name?: string;
|
|
17649
17961
|
quantity?: number;
|
|
17962
|
+
quantity_crates?: number | null;
|
|
17650
17963
|
quarantine_reason?: string | null;
|
|
17651
17964
|
quarantined_at?: string | null;
|
|
17652
17965
|
quarantined_into_order_id?: string | null;
|
|
17653
17966
|
source_line_key?: string | null;
|
|
17654
17967
|
unit?: string;
|
|
17655
17968
|
unit_price?: number | null;
|
|
17969
|
+
vbn_package_code?: string | null;
|
|
17656
17970
|
};
|
|
17657
17971
|
Relationships: [
|
|
17658
17972
|
{
|
|
@@ -17844,6 +18158,12 @@ export type Database = {
|
|
|
17844
18158
|
buffer_id: string | null;
|
|
17845
18159
|
cancel_reason: string | null;
|
|
17846
18160
|
cancelled_at: string | null;
|
|
18161
|
+
carrier_id: string | null;
|
|
18162
|
+
carrier_reason: string | null;
|
|
18163
|
+
carrier_resolved_at: string | null;
|
|
18164
|
+
carrier_set_at: string | null;
|
|
18165
|
+
carrier_set_by: string | null;
|
|
18166
|
+
carrier_source: string | null;
|
|
17847
18167
|
created_at: string;
|
|
17848
18168
|
custom_fields: Json;
|
|
17849
18169
|
customer_id: string | null;
|
|
@@ -17872,6 +18192,12 @@ export type Database = {
|
|
|
17872
18192
|
buffer_id?: string | null;
|
|
17873
18193
|
cancel_reason?: string | null;
|
|
17874
18194
|
cancelled_at?: string | null;
|
|
18195
|
+
carrier_id?: string | null;
|
|
18196
|
+
carrier_reason?: string | null;
|
|
18197
|
+
carrier_resolved_at?: string | null;
|
|
18198
|
+
carrier_set_at?: string | null;
|
|
18199
|
+
carrier_set_by?: string | null;
|
|
18200
|
+
carrier_source?: string | null;
|
|
17875
18201
|
created_at?: string;
|
|
17876
18202
|
custom_fields?: Json;
|
|
17877
18203
|
customer_id?: string | null;
|
|
@@ -17900,6 +18226,12 @@ export type Database = {
|
|
|
17900
18226
|
buffer_id?: string | null;
|
|
17901
18227
|
cancel_reason?: string | null;
|
|
17902
18228
|
cancelled_at?: string | null;
|
|
18229
|
+
carrier_id?: string | null;
|
|
18230
|
+
carrier_reason?: string | null;
|
|
18231
|
+
carrier_resolved_at?: string | null;
|
|
18232
|
+
carrier_set_at?: string | null;
|
|
18233
|
+
carrier_set_by?: string | null;
|
|
18234
|
+
carrier_source?: string | null;
|
|
17903
18235
|
created_at?: string;
|
|
17904
18236
|
custom_fields?: Json;
|
|
17905
18237
|
customer_id?: string | null;
|
|
@@ -17932,6 +18264,13 @@ export type Database = {
|
|
|
17932
18264
|
referencedRelation: "order_buffers";
|
|
17933
18265
|
referencedColumns: ["id"];
|
|
17934
18266
|
},
|
|
18267
|
+
{
|
|
18268
|
+
foreignKeyName: "orders_carrier_id_fkey";
|
|
18269
|
+
columns: ["carrier_id"];
|
|
18270
|
+
isOneToOne: false;
|
|
18271
|
+
referencedRelation: "carriers";
|
|
18272
|
+
referencedColumns: ["id"];
|
|
18273
|
+
},
|
|
17935
18274
|
{
|
|
17936
18275
|
foreignKeyName: "orders_customer_id_fkey";
|
|
17937
18276
|
columns: ["customer_id"];
|
|
@@ -21522,6 +21861,85 @@ export type Database = {
|
|
|
21522
21861
|
};
|
|
21523
21862
|
Relationships: [];
|
|
21524
21863
|
};
|
|
21864
|
+
product_packings: {
|
|
21865
|
+
Row: {
|
|
21866
|
+
created_at: string;
|
|
21867
|
+
custom_package_id: string | null;
|
|
21868
|
+
customer_organization_ids: string[];
|
|
21869
|
+
floriday_packing_id: string | null;
|
|
21870
|
+
fust_type_id: string | null;
|
|
21871
|
+
id: string;
|
|
21872
|
+
is_primary: boolean;
|
|
21873
|
+
layers_per_load_carrier: number | null;
|
|
21874
|
+
load_carrier: string | null;
|
|
21875
|
+
packages_per_layer: number | null;
|
|
21876
|
+
pieces_per_package: number | null;
|
|
21877
|
+
product_id: string;
|
|
21878
|
+
sort_order: number;
|
|
21879
|
+
source: string;
|
|
21880
|
+
updated_at: string;
|
|
21881
|
+
vbn_package_code: number | null;
|
|
21882
|
+
};
|
|
21883
|
+
Insert: {
|
|
21884
|
+
created_at?: string;
|
|
21885
|
+
custom_package_id?: string | null;
|
|
21886
|
+
customer_organization_ids?: string[];
|
|
21887
|
+
floriday_packing_id?: string | null;
|
|
21888
|
+
fust_type_id?: string | null;
|
|
21889
|
+
id?: string;
|
|
21890
|
+
is_primary?: boolean;
|
|
21891
|
+
layers_per_load_carrier?: number | null;
|
|
21892
|
+
load_carrier?: string | null;
|
|
21893
|
+
packages_per_layer?: number | null;
|
|
21894
|
+
pieces_per_package?: number | null;
|
|
21895
|
+
product_id: string;
|
|
21896
|
+
sort_order?: number;
|
|
21897
|
+
source?: string;
|
|
21898
|
+
updated_at?: string;
|
|
21899
|
+
vbn_package_code?: number | null;
|
|
21900
|
+
};
|
|
21901
|
+
Update: {
|
|
21902
|
+
created_at?: string;
|
|
21903
|
+
custom_package_id?: string | null;
|
|
21904
|
+
customer_organization_ids?: string[];
|
|
21905
|
+
floriday_packing_id?: string | null;
|
|
21906
|
+
fust_type_id?: string | null;
|
|
21907
|
+
id?: string;
|
|
21908
|
+
is_primary?: boolean;
|
|
21909
|
+
layers_per_load_carrier?: number | null;
|
|
21910
|
+
load_carrier?: string | null;
|
|
21911
|
+
packages_per_layer?: number | null;
|
|
21912
|
+
pieces_per_package?: number | null;
|
|
21913
|
+
product_id?: string;
|
|
21914
|
+
sort_order?: number;
|
|
21915
|
+
source?: string;
|
|
21916
|
+
updated_at?: string;
|
|
21917
|
+
vbn_package_code?: number | null;
|
|
21918
|
+
};
|
|
21919
|
+
Relationships: [
|
|
21920
|
+
{
|
|
21921
|
+
foreignKeyName: "product_packings_fust_type_id_fkey";
|
|
21922
|
+
columns: ["fust_type_id"];
|
|
21923
|
+
isOneToOne: false;
|
|
21924
|
+
referencedRelation: "fust_types";
|
|
21925
|
+
referencedColumns: ["id"];
|
|
21926
|
+
},
|
|
21927
|
+
{
|
|
21928
|
+
foreignKeyName: "product_packings_product_id_fkey";
|
|
21929
|
+
columns: ["product_id"];
|
|
21930
|
+
isOneToOne: false;
|
|
21931
|
+
referencedRelation: "logistics_product_dimensions";
|
|
21932
|
+
referencedColumns: ["product_id"];
|
|
21933
|
+
},
|
|
21934
|
+
{
|
|
21935
|
+
foreignKeyName: "product_packings_product_id_fkey";
|
|
21936
|
+
columns: ["product_id"];
|
|
21937
|
+
isOneToOne: false;
|
|
21938
|
+
referencedRelation: "products";
|
|
21939
|
+
referencedColumns: ["id"];
|
|
21940
|
+
}
|
|
21941
|
+
];
|
|
21942
|
+
};
|
|
21525
21943
|
product_suppliers: {
|
|
21526
21944
|
Row: {
|
|
21527
21945
|
created_at: string;
|
|
@@ -24697,16 +25115,56 @@ export type Database = {
|
|
|
24697
25115
|
}
|
|
24698
25116
|
];
|
|
24699
25117
|
};
|
|
25118
|
+
twinfield_connection_label_log: {
|
|
25119
|
+
Row: {
|
|
25120
|
+
changed_at: string;
|
|
25121
|
+
changed_by: string | null;
|
|
25122
|
+
changed_by_role: string | null;
|
|
25123
|
+
connection_id: string;
|
|
25124
|
+
field: string;
|
|
25125
|
+
id: string;
|
|
25126
|
+
new_value: string | null;
|
|
25127
|
+
note: string | null;
|
|
25128
|
+
office_code: string | null;
|
|
25129
|
+
old_value: string | null;
|
|
25130
|
+
};
|
|
25131
|
+
Insert: {
|
|
25132
|
+
changed_at?: string;
|
|
25133
|
+
changed_by?: string | null;
|
|
25134
|
+
changed_by_role?: string | null;
|
|
25135
|
+
connection_id: string;
|
|
25136
|
+
field: string;
|
|
25137
|
+
id?: string;
|
|
25138
|
+
new_value?: string | null;
|
|
25139
|
+
note?: string | null;
|
|
25140
|
+
office_code?: string | null;
|
|
25141
|
+
old_value?: string | null;
|
|
25142
|
+
};
|
|
25143
|
+
Update: {
|
|
25144
|
+
changed_at?: string;
|
|
25145
|
+
changed_by?: string | null;
|
|
25146
|
+
changed_by_role?: string | null;
|
|
25147
|
+
connection_id?: string;
|
|
25148
|
+
field?: string;
|
|
25149
|
+
id?: string;
|
|
25150
|
+
new_value?: string | null;
|
|
25151
|
+
note?: string | null;
|
|
25152
|
+
office_code?: string | null;
|
|
25153
|
+
old_value?: string | null;
|
|
25154
|
+
};
|
|
25155
|
+
Relationships: [];
|
|
25156
|
+
};
|
|
24700
25157
|
twinfield_connections: {
|
|
24701
25158
|
Row: {
|
|
24702
25159
|
account_key: string | null;
|
|
25160
|
+
central_environment: string | null;
|
|
24703
25161
|
cluster_uri: string | null;
|
|
24704
25162
|
company_code: string | null;
|
|
24705
25163
|
company_name: string | null;
|
|
24706
25164
|
connected_at: string | null;
|
|
24707
25165
|
created_at: string;
|
|
24708
25166
|
disconnected_at: string | null;
|
|
24709
|
-
environment: string;
|
|
25167
|
+
environment: string | null;
|
|
24710
25168
|
granted_scopes: string[] | null;
|
|
24711
25169
|
id: string;
|
|
24712
25170
|
initial_sync_completed_at: string | null;
|
|
@@ -24715,8 +25173,12 @@ export type Database = {
|
|
|
24715
25173
|
initial_sync_started_at: string | null;
|
|
24716
25174
|
is_active: boolean;
|
|
24717
25175
|
label: string | null;
|
|
25176
|
+
label_set_at: string | null;
|
|
25177
|
+
label_set_by: string | null;
|
|
25178
|
+
label_source: string | null;
|
|
24718
25179
|
missing_scopes: string[] | null;
|
|
24719
25180
|
office_code: string | null;
|
|
25181
|
+
organisation_code: string | null;
|
|
24720
25182
|
redirect_uri: string | null;
|
|
24721
25183
|
scope_checked_at: string | null;
|
|
24722
25184
|
scope_state: string | null;
|
|
@@ -24730,13 +25192,14 @@ export type Database = {
|
|
|
24730
25192
|
};
|
|
24731
25193
|
Insert: {
|
|
24732
25194
|
account_key?: string | null;
|
|
25195
|
+
central_environment?: string | null;
|
|
24733
25196
|
cluster_uri?: string | null;
|
|
24734
25197
|
company_code?: string | null;
|
|
24735
25198
|
company_name?: string | null;
|
|
24736
25199
|
connected_at?: string | null;
|
|
24737
25200
|
created_at?: string;
|
|
24738
25201
|
disconnected_at?: string | null;
|
|
24739
|
-
environment
|
|
25202
|
+
environment?: string | null;
|
|
24740
25203
|
granted_scopes?: string[] | null;
|
|
24741
25204
|
id?: string;
|
|
24742
25205
|
initial_sync_completed_at?: string | null;
|
|
@@ -24745,8 +25208,12 @@ export type Database = {
|
|
|
24745
25208
|
initial_sync_started_at?: string | null;
|
|
24746
25209
|
is_active?: boolean;
|
|
24747
25210
|
label?: string | null;
|
|
25211
|
+
label_set_at?: string | null;
|
|
25212
|
+
label_set_by?: string | null;
|
|
25213
|
+
label_source?: string | null;
|
|
24748
25214
|
missing_scopes?: string[] | null;
|
|
24749
25215
|
office_code?: string | null;
|
|
25216
|
+
organisation_code?: string | null;
|
|
24750
25217
|
redirect_uri?: string | null;
|
|
24751
25218
|
scope_checked_at?: string | null;
|
|
24752
25219
|
scope_state?: string | null;
|
|
@@ -24760,13 +25227,14 @@ export type Database = {
|
|
|
24760
25227
|
};
|
|
24761
25228
|
Update: {
|
|
24762
25229
|
account_key?: string | null;
|
|
25230
|
+
central_environment?: string | null;
|
|
24763
25231
|
cluster_uri?: string | null;
|
|
24764
25232
|
company_code?: string | null;
|
|
24765
25233
|
company_name?: string | null;
|
|
24766
25234
|
connected_at?: string | null;
|
|
24767
25235
|
created_at?: string;
|
|
24768
25236
|
disconnected_at?: string | null;
|
|
24769
|
-
environment?: string;
|
|
25237
|
+
environment?: string | null;
|
|
24770
25238
|
granted_scopes?: string[] | null;
|
|
24771
25239
|
id?: string;
|
|
24772
25240
|
initial_sync_completed_at?: string | null;
|
|
@@ -24775,8 +25243,12 @@ export type Database = {
|
|
|
24775
25243
|
initial_sync_started_at?: string | null;
|
|
24776
25244
|
is_active?: boolean;
|
|
24777
25245
|
label?: string | null;
|
|
25246
|
+
label_set_at?: string | null;
|
|
25247
|
+
label_set_by?: string | null;
|
|
25248
|
+
label_source?: string | null;
|
|
24778
25249
|
missing_scopes?: string[] | null;
|
|
24779
25250
|
office_code?: string | null;
|
|
25251
|
+
organisation_code?: string | null;
|
|
24780
25252
|
redirect_uri?: string | null;
|
|
24781
25253
|
scope_checked_at?: string | null;
|
|
24782
25254
|
scope_state?: string | null;
|
|
@@ -25716,33 +26188,36 @@ export type Database = {
|
|
|
25716
26188
|
};
|
|
25717
26189
|
twinfield_settings: {
|
|
25718
26190
|
Row: {
|
|
25719
|
-
active_environment: string;
|
|
26191
|
+
active_environment: string | null;
|
|
25720
26192
|
cron_registered_at: string | null;
|
|
25721
26193
|
cron_registration_error: string | null;
|
|
25722
26194
|
cron_schedules: Json;
|
|
25723
26195
|
cron_timeouts: Json;
|
|
25724
26196
|
id: number;
|
|
25725
26197
|
public_base_url: string | null;
|
|
26198
|
+
token_route_bearer_open: boolean;
|
|
25726
26199
|
updated_at: string;
|
|
25727
26200
|
};
|
|
25728
26201
|
Insert: {
|
|
25729
|
-
active_environment?: string;
|
|
26202
|
+
active_environment?: string | null;
|
|
25730
26203
|
cron_registered_at?: string | null;
|
|
25731
26204
|
cron_registration_error?: string | null;
|
|
25732
26205
|
cron_schedules?: Json;
|
|
25733
26206
|
cron_timeouts?: Json;
|
|
25734
26207
|
id?: number;
|
|
25735
26208
|
public_base_url?: string | null;
|
|
26209
|
+
token_route_bearer_open?: boolean;
|
|
25736
26210
|
updated_at?: string;
|
|
25737
26211
|
};
|
|
25738
26212
|
Update: {
|
|
25739
|
-
active_environment?: string;
|
|
26213
|
+
active_environment?: string | null;
|
|
25740
26214
|
cron_registered_at?: string | null;
|
|
25741
26215
|
cron_registration_error?: string | null;
|
|
25742
26216
|
cron_schedules?: Json;
|
|
25743
26217
|
cron_timeouts?: Json;
|
|
25744
26218
|
id?: number;
|
|
25745
26219
|
public_base_url?: string | null;
|
|
26220
|
+
token_route_bearer_open?: boolean;
|
|
25746
26221
|
updated_at?: string;
|
|
25747
26222
|
};
|
|
25748
26223
|
Relationships: [];
|
|
@@ -25972,6 +26447,42 @@ export type Database = {
|
|
|
25972
26447
|
}
|
|
25973
26448
|
];
|
|
25974
26449
|
};
|
|
26450
|
+
twinfield_token_issue_log: {
|
|
26451
|
+
Row: {
|
|
26452
|
+
acting_user_id: string | null;
|
|
26453
|
+
caller_kind: string;
|
|
26454
|
+
connection_id: string | null;
|
|
26455
|
+
id: string;
|
|
26456
|
+
issued_at: string;
|
|
26457
|
+
module_id: string | null;
|
|
26458
|
+
outcome: string;
|
|
26459
|
+
route: string;
|
|
26460
|
+
user_id: string | null;
|
|
26461
|
+
};
|
|
26462
|
+
Insert: {
|
|
26463
|
+
acting_user_id?: string | null;
|
|
26464
|
+
caller_kind: string;
|
|
26465
|
+
connection_id?: string | null;
|
|
26466
|
+
id?: string;
|
|
26467
|
+
issued_at?: string;
|
|
26468
|
+
module_id?: string | null;
|
|
26469
|
+
outcome: string;
|
|
26470
|
+
route: string;
|
|
26471
|
+
user_id?: string | null;
|
|
26472
|
+
};
|
|
26473
|
+
Update: {
|
|
26474
|
+
acting_user_id?: string | null;
|
|
26475
|
+
caller_kind?: string;
|
|
26476
|
+
connection_id?: string | null;
|
|
26477
|
+
id?: string;
|
|
26478
|
+
issued_at?: string;
|
|
26479
|
+
module_id?: string | null;
|
|
26480
|
+
outcome?: string;
|
|
26481
|
+
route?: string;
|
|
26482
|
+
user_id?: string | null;
|
|
26483
|
+
};
|
|
26484
|
+
Relationships: [];
|
|
26485
|
+
};
|
|
25975
26486
|
twinfield_vat_code_map: {
|
|
25976
26487
|
Row: {
|
|
25977
26488
|
confirmed_at: string | null;
|
|
@@ -26898,6 +27409,36 @@ export type Database = {
|
|
|
26898
27409
|
};
|
|
26899
27410
|
Relationships: [];
|
|
26900
27411
|
};
|
|
27412
|
+
voorraad_correcties: {
|
|
27413
|
+
Row: {
|
|
27414
|
+
aantallen: Json;
|
|
27415
|
+
correctie: string;
|
|
27416
|
+
hash_ok: boolean | null;
|
|
27417
|
+
id: string;
|
|
27418
|
+
proef: boolean;
|
|
27419
|
+
uitgevoerd_door: string;
|
|
27420
|
+
uitgevoerd_op: string;
|
|
27421
|
+
};
|
|
27422
|
+
Insert: {
|
|
27423
|
+
aantallen?: Json;
|
|
27424
|
+
correctie: string;
|
|
27425
|
+
hash_ok?: boolean | null;
|
|
27426
|
+
id?: string;
|
|
27427
|
+
proef: boolean;
|
|
27428
|
+
uitgevoerd_door: string;
|
|
27429
|
+
uitgevoerd_op?: string;
|
|
27430
|
+
};
|
|
27431
|
+
Update: {
|
|
27432
|
+
aantallen?: Json;
|
|
27433
|
+
correctie?: string;
|
|
27434
|
+
hash_ok?: boolean | null;
|
|
27435
|
+
id?: string;
|
|
27436
|
+
proef?: boolean;
|
|
27437
|
+
uitgevoerd_door?: string;
|
|
27438
|
+
uitgevoerd_op?: string;
|
|
27439
|
+
};
|
|
27440
|
+
Relationships: [];
|
|
27441
|
+
};
|
|
26901
27442
|
voorraad_custom_fields: {
|
|
26902
27443
|
Row: {
|
|
26903
27444
|
created_at: string;
|
|
@@ -29652,6 +30193,28 @@ export type Database = {
|
|
|
29652
30193
|
Args: never;
|
|
29653
30194
|
Returns: boolean;
|
|
29654
30195
|
};
|
|
30196
|
+
afh_assert_ingelogd: {
|
|
30197
|
+
Args: never;
|
|
30198
|
+
Returns: undefined;
|
|
30199
|
+
};
|
|
30200
|
+
afh_assert_intern: {
|
|
30201
|
+
Args: never;
|
|
30202
|
+
Returns: undefined;
|
|
30203
|
+
};
|
|
30204
|
+
afh_assert_server: {
|
|
30205
|
+
Args: never;
|
|
30206
|
+
Returns: undefined;
|
|
30207
|
+
};
|
|
30208
|
+
afh_can_manage_carriers: {
|
|
30209
|
+
Args: {
|
|
30210
|
+
p_user: string;
|
|
30211
|
+
};
|
|
30212
|
+
Returns: boolean;
|
|
30213
|
+
};
|
|
30214
|
+
afh_carrier_managers_count: {
|
|
30215
|
+
Args: never;
|
|
30216
|
+
Returns: number;
|
|
30217
|
+
};
|
|
29655
30218
|
afh_city_code: {
|
|
29656
30219
|
Args: {
|
|
29657
30220
|
_city: string;
|
|
@@ -29659,12 +30222,29 @@ export type Database = {
|
|
|
29659
30222
|
};
|
|
29660
30223
|
Returns: string;
|
|
29661
30224
|
};
|
|
30225
|
+
afh_ensure_defaults: {
|
|
30226
|
+
Args: never;
|
|
30227
|
+
Returns: Json;
|
|
30228
|
+
};
|
|
30229
|
+
afh_favorite_carrier: {
|
|
30230
|
+
Args: never;
|
|
30231
|
+
Returns: {
|
|
30232
|
+
carrier_id: string;
|
|
30233
|
+
carrier_kind: string;
|
|
30234
|
+
email: string;
|
|
30235
|
+
name: string;
|
|
30236
|
+
}[];
|
|
30237
|
+
};
|
|
29662
30238
|
afh_html: {
|
|
29663
30239
|
Args: {
|
|
29664
30240
|
_s: string;
|
|
29665
30241
|
};
|
|
29666
30242
|
Returns: string;
|
|
29667
30243
|
};
|
|
30244
|
+
afh_is_server: {
|
|
30245
|
+
Args: never;
|
|
30246
|
+
Returns: boolean;
|
|
30247
|
+
};
|
|
29668
30248
|
afh_kar_tekst: {
|
|
29669
30249
|
Args: {
|
|
29670
30250
|
n: number;
|
|
@@ -29695,6 +30275,16 @@ export type Database = {
|
|
|
29695
30275
|
};
|
|
29696
30276
|
Returns: boolean;
|
|
29697
30277
|
};
|
|
30278
|
+
afh_order_floriday_herkomst_onbekend: {
|
|
30279
|
+
Args: {
|
|
30280
|
+
p_order_id: string;
|
|
30281
|
+
};
|
|
30282
|
+
Returns: boolean;
|
|
30283
|
+
};
|
|
30284
|
+
afh_orders_have_carrier_id: {
|
|
30285
|
+
Args: never;
|
|
30286
|
+
Returns: boolean;
|
|
30287
|
+
};
|
|
29698
30288
|
afh_pick_workdays: {
|
|
29699
30289
|
Args: {
|
|
29700
30290
|
p_from: string;
|
|
@@ -29702,6 +30292,35 @@ export type Database = {
|
|
|
29702
30292
|
};
|
|
29703
30293
|
Returns: Json;
|
|
29704
30294
|
};
|
|
30295
|
+
afh_resolve_cart_id: {
|
|
30296
|
+
Args: {
|
|
30297
|
+
p_cart_index: number;
|
|
30298
|
+
p_given: string;
|
|
30299
|
+
p_order: string;
|
|
30300
|
+
p_source: string;
|
|
30301
|
+
};
|
|
30302
|
+
Returns: string;
|
|
30303
|
+
};
|
|
30304
|
+
afh_set_favorite_carrier: {
|
|
30305
|
+
Args: {
|
|
30306
|
+
p_carrier_id: string;
|
|
30307
|
+
};
|
|
30308
|
+
Returns: Json;
|
|
30309
|
+
};
|
|
30310
|
+
afh_set_signup_auto_send: {
|
|
30311
|
+
Args: {
|
|
30312
|
+
p_on: boolean;
|
|
30313
|
+
};
|
|
30314
|
+
Returns: Json;
|
|
30315
|
+
};
|
|
30316
|
+
afh_signup_auto_send_on: {
|
|
30317
|
+
Args: never;
|
|
30318
|
+
Returns: boolean;
|
|
30319
|
+
};
|
|
30320
|
+
afh_signup_auto_send_status: {
|
|
30321
|
+
Args: never;
|
|
30322
|
+
Returns: Json;
|
|
30323
|
+
};
|
|
29705
30324
|
afh_signup_config: {
|
|
29706
30325
|
Args: never;
|
|
29707
30326
|
Returns: Json;
|
|
@@ -29737,6 +30356,14 @@ export type Database = {
|
|
|
29737
30356
|
};
|
|
29738
30357
|
Returns: Json;
|
|
29739
30358
|
};
|
|
30359
|
+
afh_signup_groups_floriday: {
|
|
30360
|
+
Args: {
|
|
30361
|
+
p_from: string;
|
|
30362
|
+
p_to: string;
|
|
30363
|
+
p_tz: string;
|
|
30364
|
+
};
|
|
30365
|
+
Returns: Json;
|
|
30366
|
+
};
|
|
29740
30367
|
afh_signup_groups_wacht: {
|
|
29741
30368
|
Args: {
|
|
29742
30369
|
p_from: string;
|
|
@@ -29798,6 +30425,10 @@ export type Database = {
|
|
|
29798
30425
|
};
|
|
29799
30426
|
Returns: string;
|
|
29800
30427
|
};
|
|
30428
|
+
afhandeling_install_check: {
|
|
30429
|
+
Args: never;
|
|
30430
|
+
Returns: Json;
|
|
30431
|
+
};
|
|
29801
30432
|
afhandeling_signup_cron_status: {
|
|
29802
30433
|
Args: never;
|
|
29803
30434
|
Returns: Json;
|
|
@@ -29982,6 +30613,13 @@ export type Database = {
|
|
|
29982
30613
|
};
|
|
29983
30614
|
Returns: Json;
|
|
29984
30615
|
};
|
|
30616
|
+
carrier_signup_ready_list: {
|
|
30617
|
+
Args: {
|
|
30618
|
+
p_from: string;
|
|
30619
|
+
p_to: string;
|
|
30620
|
+
};
|
|
30621
|
+
Returns: Json;
|
|
30622
|
+
};
|
|
29985
30623
|
carrier_signup_send_now: {
|
|
29986
30624
|
Args: {
|
|
29987
30625
|
p_carrier_id: string;
|
|
@@ -30530,6 +31168,7 @@ export type Database = {
|
|
|
30530
31168
|
control_get_todays_carts: {
|
|
30531
31169
|
Args: never;
|
|
30532
31170
|
Returns: {
|
|
31171
|
+
carrier_name: string;
|
|
30533
31172
|
cart_index: number;
|
|
30534
31173
|
cart_number: string;
|
|
30535
31174
|
cart_number_id: string;
|
|
@@ -30924,10 +31563,49 @@ export type Database = {
|
|
|
30924
31563
|
};
|
|
30925
31564
|
Returns: Json;
|
|
30926
31565
|
};
|
|
31566
|
+
floriday_assert_caller: {
|
|
31567
|
+
Args: {
|
|
31568
|
+
p_fn: string;
|
|
31569
|
+
p_level: string;
|
|
31570
|
+
};
|
|
31571
|
+
Returns: boolean;
|
|
31572
|
+
};
|
|
31573
|
+
floriday_authenticatie_install_check: {
|
|
31574
|
+
Args: never;
|
|
31575
|
+
Returns: {
|
|
31576
|
+
aanwezig: boolean;
|
|
31577
|
+
anon_uitvoer: boolean;
|
|
31578
|
+
authenticated_uitvoer: boolean;
|
|
31579
|
+
interne_controle: boolean;
|
|
31580
|
+
melding: string;
|
|
31581
|
+
naam: string;
|
|
31582
|
+
niveau: string;
|
|
31583
|
+
soort: string;
|
|
31584
|
+
}[];
|
|
31585
|
+
};
|
|
30927
31586
|
floriday_autoheal_connections: {
|
|
30928
31587
|
Args: never;
|
|
30929
31588
|
Returns: Json;
|
|
30930
31589
|
};
|
|
31590
|
+
floriday_background_jobs_status: {
|
|
31591
|
+
Args: never;
|
|
31592
|
+
Returns: {
|
|
31593
|
+
active: boolean;
|
|
31594
|
+
jobname: string;
|
|
31595
|
+
schedule: string;
|
|
31596
|
+
}[];
|
|
31597
|
+
};
|
|
31598
|
+
floriday_beschermde_functies: {
|
|
31599
|
+
Args: never;
|
|
31600
|
+
Returns: {
|
|
31601
|
+
naam: string;
|
|
31602
|
+
niveau: string;
|
|
31603
|
+
}[];
|
|
31604
|
+
};
|
|
31605
|
+
floriday_caller_is_server: {
|
|
31606
|
+
Args: never;
|
|
31607
|
+
Returns: boolean;
|
|
31608
|
+
};
|
|
30931
31609
|
floriday_capture_stock_snapshot: {
|
|
30932
31610
|
Args: never;
|
|
30933
31611
|
Returns: number;
|
|
@@ -31044,6 +31722,10 @@ export type Database = {
|
|
|
31044
31722
|
};
|
|
31045
31723
|
Returns: Json;
|
|
31046
31724
|
};
|
|
31725
|
+
floriday_legacy_packing_sync_present: {
|
|
31726
|
+
Args: never;
|
|
31727
|
+
Returns: Json;
|
|
31728
|
+
};
|
|
31047
31729
|
floriday_make_erp_leading: {
|
|
31048
31730
|
Args: {
|
|
31049
31731
|
p_connection_id: string;
|
|
@@ -31125,6 +31807,35 @@ export type Database = {
|
|
|
31125
31807
|
Args: never;
|
|
31126
31808
|
Returns: Json;
|
|
31127
31809
|
};
|
|
31810
|
+
flowselections_central_status: {
|
|
31811
|
+
Args: never;
|
|
31812
|
+
Returns: {
|
|
31813
|
+
central_url_aanwezig: boolean;
|
|
31814
|
+
laatste_status: string;
|
|
31815
|
+
laatste_sync: string;
|
|
31816
|
+
token_aanwezig: boolean;
|
|
31817
|
+
}[];
|
|
31818
|
+
};
|
|
31819
|
+
flowselections_central_sync: {
|
|
31820
|
+
Args: never;
|
|
31821
|
+
Returns: string;
|
|
31822
|
+
};
|
|
31823
|
+
flowselections_cron_post: {
|
|
31824
|
+
Args: {
|
|
31825
|
+
p_auth?: string;
|
|
31826
|
+
p_body?: Json;
|
|
31827
|
+
p_path: string;
|
|
31828
|
+
p_timeout_ms?: number;
|
|
31829
|
+
};
|
|
31830
|
+
Returns: number;
|
|
31831
|
+
};
|
|
31832
|
+
flowselections_set_central_link: {
|
|
31833
|
+
Args: {
|
|
31834
|
+
p_central_url: string;
|
|
31835
|
+
p_read_token: string;
|
|
31836
|
+
};
|
|
31837
|
+
Returns: string;
|
|
31838
|
+
};
|
|
31128
31839
|
format_cart_number: {
|
|
31129
31840
|
Args: {
|
|
31130
31841
|
p_pick_date: string;
|
|
@@ -31987,10 +32698,26 @@ export type Database = {
|
|
|
31987
32698
|
Args: never;
|
|
31988
32699
|
Returns: Json;
|
|
31989
32700
|
};
|
|
32701
|
+
klanten_correctie_landcodes: {
|
|
32702
|
+
Args: {
|
|
32703
|
+
p_uitvoeren?: boolean;
|
|
32704
|
+
};
|
|
32705
|
+
Returns: Json;
|
|
32706
|
+
};
|
|
31990
32707
|
klanten_install_check: {
|
|
31991
32708
|
Args: never;
|
|
31992
32709
|
Returns: Json;
|
|
31993
32710
|
};
|
|
32711
|
+
klanten_is_server: {
|
|
32712
|
+
Args: never;
|
|
32713
|
+
Returns: boolean;
|
|
32714
|
+
};
|
|
32715
|
+
klanten_landnaam_kandidaten: {
|
|
32716
|
+
Args: {
|
|
32717
|
+
p_waarde: string;
|
|
32718
|
+
};
|
|
32719
|
+
Returns: string[];
|
|
32720
|
+
};
|
|
31994
32721
|
klanten_promote_round: {
|
|
31995
32722
|
Args: never;
|
|
31996
32723
|
Returns: Json;
|
|
@@ -32006,6 +32733,12 @@ export type Database = {
|
|
|
32006
32733
|
};
|
|
32007
32734
|
Returns: Json;
|
|
32008
32735
|
};
|
|
32736
|
+
klanten_toegang: {
|
|
32737
|
+
Args: {
|
|
32738
|
+
p_niveau: string;
|
|
32739
|
+
};
|
|
32740
|
+
Returns: undefined;
|
|
32741
|
+
};
|
|
32009
32742
|
layout_print_document: {
|
|
32010
32743
|
Args: {
|
|
32011
32744
|
_documentnaam: string;
|
|
@@ -32167,6 +32900,42 @@ export type Database = {
|
|
|
32167
32900
|
};
|
|
32168
32901
|
Returns: boolean;
|
|
32169
32902
|
};
|
|
32903
|
+
logistics_acc_direct: {
|
|
32904
|
+
Args: {
|
|
32905
|
+
p_fn: string;
|
|
32906
|
+
};
|
|
32907
|
+
Returns: boolean;
|
|
32908
|
+
};
|
|
32909
|
+
logistics_acc_entry: {
|
|
32910
|
+
Args: never;
|
|
32911
|
+
Returns: string;
|
|
32912
|
+
};
|
|
32913
|
+
logistics_acc_guard: {
|
|
32914
|
+
Args: {
|
|
32915
|
+
p_fn: string;
|
|
32916
|
+
p_level: string;
|
|
32917
|
+
};
|
|
32918
|
+
Returns: undefined;
|
|
32919
|
+
};
|
|
32920
|
+
logistics_acc_is_server: {
|
|
32921
|
+
Args: never;
|
|
32922
|
+
Returns: boolean;
|
|
32923
|
+
};
|
|
32924
|
+
logistics_acc_levels: {
|
|
32925
|
+
Args: never;
|
|
32926
|
+
Returns: {
|
|
32927
|
+
functie: string;
|
|
32928
|
+
niveau: string;
|
|
32929
|
+
}[];
|
|
32930
|
+
};
|
|
32931
|
+
logistics_access_check: {
|
|
32932
|
+
Args: never;
|
|
32933
|
+
Returns: {
|
|
32934
|
+
ok: boolean;
|
|
32935
|
+
onderdeel: string;
|
|
32936
|
+
toelichting: string;
|
|
32937
|
+
}[];
|
|
32938
|
+
};
|
|
32170
32939
|
logistics_active_layout_method: {
|
|
32171
32940
|
Args: never;
|
|
32172
32941
|
Returns: string;
|
|
@@ -32517,6 +33286,17 @@ export type Database = {
|
|
|
32517
33286
|
};
|
|
32518
33287
|
Returns: Json;
|
|
32519
33288
|
};
|
|
33289
|
+
logistics_carrier_enqueue: {
|
|
33290
|
+
Args: {
|
|
33291
|
+
p_order_ids: string[];
|
|
33292
|
+
p_reden: string;
|
|
33293
|
+
};
|
|
33294
|
+
Returns: number;
|
|
33295
|
+
};
|
|
33296
|
+
logistics_carrier_favorite_id: {
|
|
33297
|
+
Args: never;
|
|
33298
|
+
Returns: string;
|
|
33299
|
+
};
|
|
32520
33300
|
logistics_carrier_for_location: {
|
|
32521
33301
|
Args: {
|
|
32522
33302
|
p_customer_id: string;
|
|
@@ -32524,6 +33304,12 @@ export type Database = {
|
|
|
32524
33304
|
};
|
|
32525
33305
|
Returns: string;
|
|
32526
33306
|
};
|
|
33307
|
+
logistics_carrier_frozen_reason: {
|
|
33308
|
+
Args: {
|
|
33309
|
+
p_order_id: string;
|
|
33310
|
+
};
|
|
33311
|
+
Returns: string;
|
|
33312
|
+
};
|
|
32527
33313
|
logistics_carrier_minutes: {
|
|
32528
33314
|
Args: {
|
|
32529
33315
|
p_carrier: string;
|
|
@@ -32531,6 +33317,86 @@ export type Database = {
|
|
|
32531
33317
|
};
|
|
32532
33318
|
Returns: number;
|
|
32533
33319
|
};
|
|
33320
|
+
logistics_carrier_picks_up_for: {
|
|
33321
|
+
Args: {
|
|
33322
|
+
p_carrier_id: string;
|
|
33323
|
+
p_delivery_date: string;
|
|
33324
|
+
};
|
|
33325
|
+
Returns: boolean;
|
|
33326
|
+
};
|
|
33327
|
+
logistics_carrier_preview_existing: {
|
|
33328
|
+
Args: {
|
|
33329
|
+
p_limit?: number;
|
|
33330
|
+
};
|
|
33331
|
+
Returns: {
|
|
33332
|
+
bevroren: string;
|
|
33333
|
+
bron: string;
|
|
33334
|
+
carrier_id: string;
|
|
33335
|
+
carrier_kind: string;
|
|
33336
|
+
carrier_name: string;
|
|
33337
|
+
delivery_date: string;
|
|
33338
|
+
huidig_custom_carrier: string;
|
|
33339
|
+
order_id: string;
|
|
33340
|
+
order_number: string;
|
|
33341
|
+
order_source: string;
|
|
33342
|
+
reden: string;
|
|
33343
|
+
}[];
|
|
33344
|
+
};
|
|
33345
|
+
logistics_carrier_promote_oud: {
|
|
33346
|
+
Args: {
|
|
33347
|
+
p_confirm_count: number;
|
|
33348
|
+
p_order_ids: string[];
|
|
33349
|
+
};
|
|
33350
|
+
Returns: number;
|
|
33351
|
+
};
|
|
33352
|
+
logistics_carrier_recalc_run: {
|
|
33353
|
+
Args: {
|
|
33354
|
+
p_limit?: number;
|
|
33355
|
+
};
|
|
33356
|
+
Returns: Json;
|
|
33357
|
+
};
|
|
33358
|
+
logistics_carrier_result: {
|
|
33359
|
+
Args: {
|
|
33360
|
+
p_bron: string;
|
|
33361
|
+
p_carrier_id: string;
|
|
33362
|
+
p_reden: string;
|
|
33363
|
+
p_skips: string[];
|
|
33364
|
+
};
|
|
33365
|
+
Returns: Json;
|
|
33366
|
+
};
|
|
33367
|
+
logistics_carrier_set_backfill: {
|
|
33368
|
+
Args: {
|
|
33369
|
+
p_on: boolean;
|
|
33370
|
+
};
|
|
33371
|
+
Returns: Json;
|
|
33372
|
+
};
|
|
33373
|
+
logistics_carrier_settings_ensure: {
|
|
33374
|
+
Args: never;
|
|
33375
|
+
Returns: {
|
|
33376
|
+
backfill_existing: boolean;
|
|
33377
|
+
backfill_set_at: string | null;
|
|
33378
|
+
backfill_set_by: string | null;
|
|
33379
|
+
id: boolean;
|
|
33380
|
+
installed_at: string;
|
|
33381
|
+
updated_at: string;
|
|
33382
|
+
};
|
|
33383
|
+
SetofOptions: {
|
|
33384
|
+
from: "*";
|
|
33385
|
+
to: "logistics_carrier_settings";
|
|
33386
|
+
isOneToOne: true;
|
|
33387
|
+
isSetofReturn: false;
|
|
33388
|
+
};
|
|
33389
|
+
};
|
|
33390
|
+
logistics_carrier_skip_reason: {
|
|
33391
|
+
Args: {
|
|
33392
|
+
p_carrier_id: string;
|
|
33393
|
+
};
|
|
33394
|
+
Returns: string;
|
|
33395
|
+
};
|
|
33396
|
+
logistics_carrier_status: {
|
|
33397
|
+
Args: never;
|
|
33398
|
+
Returns: Json;
|
|
33399
|
+
};
|
|
32534
33400
|
logistics_cart_archive: {
|
|
32535
33401
|
Args: {
|
|
32536
33402
|
p_confirm_count: number;
|
|
@@ -33551,6 +34417,14 @@ export type Database = {
|
|
|
33551
34417
|
Args: never;
|
|
33552
34418
|
Returns: number;
|
|
33553
34419
|
};
|
|
34420
|
+
logistics_install_check: {
|
|
34421
|
+
Args: never;
|
|
34422
|
+
Returns: {
|
|
34423
|
+
ok: boolean;
|
|
34424
|
+
onderdeel: string;
|
|
34425
|
+
toelichting: string;
|
|
34426
|
+
}[];
|
|
34427
|
+
};
|
|
33554
34428
|
logistics_is_beheer: {
|
|
33555
34429
|
Args: never;
|
|
33556
34430
|
Returns: boolean;
|
|
@@ -33721,6 +34595,18 @@ export type Database = {
|
|
|
33721
34595
|
};
|
|
33722
34596
|
Returns: string;
|
|
33723
34597
|
};
|
|
34598
|
+
logistics_order_carrier_info: {
|
|
34599
|
+
Args: {
|
|
34600
|
+
p_order_id: string;
|
|
34601
|
+
};
|
|
34602
|
+
Returns: Json;
|
|
34603
|
+
};
|
|
34604
|
+
logistics_order_carrier_label: {
|
|
34605
|
+
Args: {
|
|
34606
|
+
p_order_id: string;
|
|
34607
|
+
};
|
|
34608
|
+
Returns: string;
|
|
34609
|
+
};
|
|
33724
34610
|
logistics_order_cart_approval: {
|
|
33725
34611
|
Args: {
|
|
33726
34612
|
_order_ref: string;
|
|
@@ -34761,6 +35647,59 @@ export type Database = {
|
|
|
34761
35647
|
Args: never;
|
|
34762
35648
|
Returns: undefined;
|
|
34763
35649
|
};
|
|
35650
|
+
logistics_resolve_carrier: {
|
|
35651
|
+
Args: {
|
|
35652
|
+
p_order_id: string;
|
|
35653
|
+
};
|
|
35654
|
+
Returns: Json;
|
|
35655
|
+
};
|
|
35656
|
+
logistics_resolve_carrier_core: {
|
|
35657
|
+
Args: {
|
|
35658
|
+
p_order: Json;
|
|
35659
|
+
p_skip_manual?: boolean;
|
|
35660
|
+
};
|
|
35661
|
+
Returns: Json;
|
|
35662
|
+
};
|
|
35663
|
+
logistics_resolve_carrier_for_location: {
|
|
35664
|
+
Args: {
|
|
35665
|
+
p_customer_id: string;
|
|
35666
|
+
p_location_id: string;
|
|
35667
|
+
};
|
|
35668
|
+
Returns: Json;
|
|
35669
|
+
};
|
|
35670
|
+
logistics_resolve_carrier_for_location_many: {
|
|
35671
|
+
Args: {
|
|
35672
|
+
p_items: Json;
|
|
35673
|
+
};
|
|
35674
|
+
Returns: {
|
|
35675
|
+
bron: string;
|
|
35676
|
+
carrier_id: string;
|
|
35677
|
+
carrier_kind: string;
|
|
35678
|
+
carrier_name: string;
|
|
35679
|
+
customer_id: string;
|
|
35680
|
+
location_id: string;
|
|
35681
|
+
reden: string;
|
|
35682
|
+
waarschuwing: string;
|
|
35683
|
+
}[];
|
|
35684
|
+
} | {
|
|
35685
|
+
Args: {
|
|
35686
|
+
p_customer_id: string;
|
|
35687
|
+
p_location_ids: string[];
|
|
35688
|
+
};
|
|
35689
|
+
Returns: {
|
|
35690
|
+
location_id: string;
|
|
35691
|
+
resultaat: Json;
|
|
35692
|
+
}[];
|
|
35693
|
+
};
|
|
35694
|
+
logistics_resolve_carrier_many: {
|
|
35695
|
+
Args: {
|
|
35696
|
+
p_order_ids: string[];
|
|
35697
|
+
};
|
|
35698
|
+
Returns: {
|
|
35699
|
+
order_id: string;
|
|
35700
|
+
resultaat: Json;
|
|
35701
|
+
}[];
|
|
35702
|
+
};
|
|
34764
35703
|
logistics_resolve_pick_document: {
|
|
34765
35704
|
Args: {
|
|
34766
35705
|
_is_herprint: boolean;
|
|
@@ -34870,6 +35809,20 @@ export type Database = {
|
|
|
34870
35809
|
};
|
|
34871
35810
|
Returns: Json;
|
|
34872
35811
|
};
|
|
35812
|
+
logistics_set_order_carrier: {
|
|
35813
|
+
Args: {
|
|
35814
|
+
p_carrier_id: string;
|
|
35815
|
+
p_order_id: string;
|
|
35816
|
+
};
|
|
35817
|
+
Returns: Json;
|
|
35818
|
+
} | {
|
|
35819
|
+
Args: {
|
|
35820
|
+
p_actor: string;
|
|
35821
|
+
p_carrier_id: string;
|
|
35822
|
+
p_order_id: string;
|
|
35823
|
+
};
|
|
35824
|
+
Returns: Json;
|
|
35825
|
+
};
|
|
34873
35826
|
logistics_set_order_priority: {
|
|
34874
35827
|
Args: {
|
|
34875
35828
|
p_order_ref: string;
|
|
@@ -35105,6 +36058,16 @@ export type Database = {
|
|
|
35105
36058
|
};
|
|
35106
36059
|
Returns: string;
|
|
35107
36060
|
};
|
|
36061
|
+
logistics_sticker_copies: {
|
|
36062
|
+
Args: {
|
|
36063
|
+
p_fi: Json;
|
|
36064
|
+
p_order: string;
|
|
36065
|
+
p_sticker: string;
|
|
36066
|
+
p_trade_item: string;
|
|
36067
|
+
p_type: string;
|
|
36068
|
+
};
|
|
36069
|
+
Returns: Json;
|
|
36070
|
+
};
|
|
35108
36071
|
logistics_sticker_distribution: {
|
|
35109
36072
|
Args: {
|
|
35110
36073
|
p_copies: number;
|
|
@@ -35119,6 +36082,10 @@ export type Database = {
|
|
|
35119
36082
|
pieces: number;
|
|
35120
36083
|
}[];
|
|
35121
36084
|
};
|
|
36085
|
+
logistics_sticker_etiket_status: {
|
|
36086
|
+
Args: never;
|
|
36087
|
+
Returns: Json;
|
|
36088
|
+
};
|
|
35122
36089
|
logistics_sticker_external_fulfilled: {
|
|
35123
36090
|
Args: {
|
|
35124
36091
|
p_sticker_print_id: string;
|
|
@@ -35138,6 +36105,13 @@ export type Database = {
|
|
|
35138
36105
|
};
|
|
35139
36106
|
Returns: boolean;
|
|
35140
36107
|
};
|
|
36108
|
+
logistics_sticker_order_counts: {
|
|
36109
|
+
Args: {
|
|
36110
|
+
p_order: string;
|
|
36111
|
+
p_trade_item: string;
|
|
36112
|
+
};
|
|
36113
|
+
Returns: Json;
|
|
36114
|
+
};
|
|
35141
36115
|
logistics_sticker_parse_size: {
|
|
35142
36116
|
Args: {
|
|
35143
36117
|
p: Json;
|
|
@@ -36835,6 +37809,34 @@ export type Database = {
|
|
|
36835
37809
|
};
|
|
36836
37810
|
Returns: Record<string, unknown>;
|
|
36837
37811
|
};
|
|
37812
|
+
product_packings_derive: {
|
|
37813
|
+
Args: {
|
|
37814
|
+
p_product_id: string;
|
|
37815
|
+
};
|
|
37816
|
+
Returns: undefined;
|
|
37817
|
+
};
|
|
37818
|
+
product_packings_replace: {
|
|
37819
|
+
Args: {
|
|
37820
|
+
p_packings: Json;
|
|
37821
|
+
p_product_id: string;
|
|
37822
|
+
p_source: string;
|
|
37823
|
+
};
|
|
37824
|
+
Returns: number;
|
|
37825
|
+
};
|
|
37826
|
+
product_packings_sync_from_floriday: {
|
|
37827
|
+
Args: {
|
|
37828
|
+
p_connection_id: string;
|
|
37829
|
+
p_only_existing?: boolean;
|
|
37830
|
+
p_product_ids: string[];
|
|
37831
|
+
};
|
|
37832
|
+
Returns: Json;
|
|
37833
|
+
};
|
|
37834
|
+
product_primary_pieces: {
|
|
37835
|
+
Args: {
|
|
37836
|
+
p_product_id: string;
|
|
37837
|
+
};
|
|
37838
|
+
Returns: number;
|
|
37839
|
+
};
|
|
36838
37840
|
product_set_depth_above: {
|
|
36839
37841
|
Args: {
|
|
36840
37842
|
p_path?: string[];
|
|
@@ -38058,12 +39060,6 @@ export type Database = {
|
|
|
38058
39060
|
Args: never;
|
|
38059
39061
|
Returns: undefined;
|
|
38060
39062
|
};
|
|
38061
|
-
sync_cached_packing_from_product: {
|
|
38062
|
-
Args: {
|
|
38063
|
-
p_product_id: string;
|
|
38064
|
-
};
|
|
38065
|
-
Returns: undefined;
|
|
38066
|
-
};
|
|
38067
39063
|
sync_floriday_prices_into_price_groups: {
|
|
38068
39064
|
Args: never;
|
|
38069
39065
|
Returns: number;
|
|
@@ -38074,12 +39070,6 @@ export type Database = {
|
|
|
38074
39070
|
};
|
|
38075
39071
|
Returns: undefined;
|
|
38076
39072
|
};
|
|
38077
|
-
sync_order_cart_item_packing_from_product: {
|
|
38078
|
-
Args: {
|
|
38079
|
-
p_product_id: string;
|
|
38080
|
-
};
|
|
38081
|
-
Returns: undefined;
|
|
38082
|
-
};
|
|
38083
39073
|
sync_order_item_fusten: {
|
|
38084
39074
|
Args: {
|
|
38085
39075
|
_order_item_id: string;
|
|
@@ -38092,12 +39082,6 @@ export type Database = {
|
|
|
38092
39082
|
};
|
|
38093
39083
|
Returns: undefined;
|
|
38094
39084
|
};
|
|
38095
|
-
sync_product_packing_from_floriday_cache: {
|
|
38096
|
-
Args: {
|
|
38097
|
-
p_floriday_id: string;
|
|
38098
|
-
};
|
|
38099
|
-
Returns: undefined;
|
|
38100
|
-
};
|
|
38101
39085
|
sync_sick_time_off: {
|
|
38102
39086
|
Args: {
|
|
38103
39087
|
_period_id: string;
|
|
@@ -38128,6 +39112,26 @@ export type Database = {
|
|
|
38128
39112
|
};
|
|
38129
39113
|
Returns: boolean;
|
|
38130
39114
|
};
|
|
39115
|
+
twinfield_assert_caller: {
|
|
39116
|
+
Args: {
|
|
39117
|
+
p_level: string;
|
|
39118
|
+
p_owner?: string;
|
|
39119
|
+
};
|
|
39120
|
+
Returns: undefined;
|
|
39121
|
+
};
|
|
39122
|
+
twinfield_auth_install_check: {
|
|
39123
|
+
Args: never;
|
|
39124
|
+
Returns: {
|
|
39125
|
+
object_kind: string;
|
|
39126
|
+
object_name: string;
|
|
39127
|
+
present: boolean;
|
|
39128
|
+
schema_version: string;
|
|
39129
|
+
}[];
|
|
39130
|
+
};
|
|
39131
|
+
twinfield_caller_is_server: {
|
|
39132
|
+
Args: never;
|
|
39133
|
+
Returns: boolean;
|
|
39134
|
+
};
|
|
38131
39135
|
twinfield_cancel_queue_item: {
|
|
38132
39136
|
Args: {
|
|
38133
39137
|
p_id: string;
|
|
@@ -38137,11 +39141,32 @@ export type Database = {
|
|
|
38137
39141
|
twinfield_connection_offices: {
|
|
38138
39142
|
Args: never;
|
|
38139
39143
|
Returns: {
|
|
39144
|
+
company_name: string;
|
|
38140
39145
|
connection_id: string;
|
|
39146
|
+
environment: string;
|
|
39147
|
+
in_shell_omgeving: boolean;
|
|
38141
39148
|
is_active: boolean;
|
|
39149
|
+
label_source: string;
|
|
38142
39150
|
office_code: string;
|
|
38143
39151
|
}[];
|
|
38144
39152
|
};
|
|
39153
|
+
twinfield_connection_usage: {
|
|
39154
|
+
Args: never;
|
|
39155
|
+
Returns: {
|
|
39156
|
+
archived: boolean;
|
|
39157
|
+
company_name: string;
|
|
39158
|
+
connected_at: string;
|
|
39159
|
+
connection_id: string;
|
|
39160
|
+
environment: string;
|
|
39161
|
+
gebruikt_door_facturatie: boolean;
|
|
39162
|
+
in_shell_omgeving: boolean;
|
|
39163
|
+
is_active: boolean;
|
|
39164
|
+
label_source: string;
|
|
39165
|
+
leest: boolean;
|
|
39166
|
+
office_code: string;
|
|
39167
|
+
user_id: string;
|
|
39168
|
+
}[];
|
|
39169
|
+
};
|
|
38145
39170
|
twinfield_cron_lock_acquire: {
|
|
38146
39171
|
Args: {
|
|
38147
39172
|
_job_name: string;
|
|
@@ -38163,6 +39188,26 @@ export type Database = {
|
|
|
38163
39188
|
};
|
|
38164
39189
|
Returns: Json;
|
|
38165
39190
|
};
|
|
39191
|
+
twinfield_facturatie_assert_server: {
|
|
39192
|
+
Args: {
|
|
39193
|
+
_functie: string;
|
|
39194
|
+
};
|
|
39195
|
+
Returns: undefined;
|
|
39196
|
+
};
|
|
39197
|
+
twinfield_facturatie_assert_trigger_or_server: {
|
|
39198
|
+
Args: {
|
|
39199
|
+
_functie: string;
|
|
39200
|
+
};
|
|
39201
|
+
Returns: undefined;
|
|
39202
|
+
};
|
|
39203
|
+
twinfield_facturatie_install_check: {
|
|
39204
|
+
Args: never;
|
|
39205
|
+
Returns: Json;
|
|
39206
|
+
};
|
|
39207
|
+
twinfield_facturatie_is_server: {
|
|
39208
|
+
Args: never;
|
|
39209
|
+
Returns: boolean;
|
|
39210
|
+
};
|
|
38166
39211
|
twinfield_gated_queue: {
|
|
38167
39212
|
Args: {
|
|
38168
39213
|
p_connection_id: string;
|
|
@@ -38187,10 +39232,24 @@ export type Database = {
|
|
|
38187
39232
|
Args: never;
|
|
38188
39233
|
Returns: boolean;
|
|
38189
39234
|
};
|
|
39235
|
+
twinfield_mark_label_pending: {
|
|
39236
|
+
Args: {
|
|
39237
|
+
p_connection_id: string;
|
|
39238
|
+
};
|
|
39239
|
+
Returns: boolean;
|
|
39240
|
+
};
|
|
38190
39241
|
twinfield_prune_push_queue: {
|
|
38191
39242
|
Args: never;
|
|
38192
39243
|
Returns: number;
|
|
38193
39244
|
};
|
|
39245
|
+
twinfield_record_central_facts: {
|
|
39246
|
+
Args: {
|
|
39247
|
+
p_central_environment: string;
|
|
39248
|
+
p_connection_id: string;
|
|
39249
|
+
p_organisation_code: string;
|
|
39250
|
+
};
|
|
39251
|
+
Returns: Json;
|
|
39252
|
+
};
|
|
38194
39253
|
twinfield_register_cron: {
|
|
38195
39254
|
Args: {
|
|
38196
39255
|
apikey?: string;
|
|
@@ -38198,6 +39257,14 @@ export type Database = {
|
|
|
38198
39257
|
};
|
|
38199
39258
|
Returns: Json;
|
|
38200
39259
|
};
|
|
39260
|
+
twinfield_set_connection_label: {
|
|
39261
|
+
Args: {
|
|
39262
|
+
p_also_shell?: boolean;
|
|
39263
|
+
p_connection_id: string;
|
|
39264
|
+
p_environment: string;
|
|
39265
|
+
};
|
|
39266
|
+
Returns: Json;
|
|
39267
|
+
};
|
|
38201
39268
|
twinfield_set_write_enabled: {
|
|
38202
39269
|
Args: {
|
|
38203
39270
|
p_connection_id: string;
|
|
@@ -38761,6 +39828,13 @@ export type Database = {
|
|
|
38761
39828
|
};
|
|
38762
39829
|
Returns: number;
|
|
38763
39830
|
};
|
|
39831
|
+
verkoop_assert_caller: {
|
|
39832
|
+
Args: {
|
|
39833
|
+
p_level: string;
|
|
39834
|
+
p_roles?: Database["public"]["Enums"]["app_role"][];
|
|
39835
|
+
};
|
|
39836
|
+
Returns: undefined;
|
|
39837
|
+
};
|
|
38764
39838
|
verkoop_create_order: {
|
|
38765
39839
|
Args: {
|
|
38766
39840
|
p_accept_late_signup?: boolean;
|
|
@@ -38779,6 +39853,75 @@ export type Database = {
|
|
|
38779
39853
|
};
|
|
38780
39854
|
Returns: Json;
|
|
38781
39855
|
};
|
|
39856
|
+
verkoop_guarded_functions: {
|
|
39857
|
+
Args: never;
|
|
39858
|
+
Returns: {
|
|
39859
|
+
niveau: string;
|
|
39860
|
+
opmerking: string;
|
|
39861
|
+
rollen: string;
|
|
39862
|
+
sig: string;
|
|
39863
|
+
}[];
|
|
39864
|
+
};
|
|
39865
|
+
verkoop_insert_manual_order: {
|
|
39866
|
+
Args: {
|
|
39867
|
+
p_idempotency_key: string;
|
|
39868
|
+
p_items: Json;
|
|
39869
|
+
p_order: Json;
|
|
39870
|
+
};
|
|
39871
|
+
Returns: Json;
|
|
39872
|
+
};
|
|
39873
|
+
verkoop_install_check: {
|
|
39874
|
+
Args: never;
|
|
39875
|
+
Returns: {
|
|
39876
|
+
aanwezig: boolean;
|
|
39877
|
+
anon_uitvoerrecht: boolean;
|
|
39878
|
+
authenticated_uitvoerrecht: boolean;
|
|
39879
|
+
naam: string;
|
|
39880
|
+
niveau: string;
|
|
39881
|
+
opmerking: string;
|
|
39882
|
+
poort_aanwezig: boolean;
|
|
39883
|
+
soort: string;
|
|
39884
|
+
}[];
|
|
39885
|
+
};
|
|
39886
|
+
verkoop_is_server: {
|
|
39887
|
+
Args: never;
|
|
39888
|
+
Returns: boolean;
|
|
39889
|
+
};
|
|
39890
|
+
verkoop_packing_drift_apply: {
|
|
39891
|
+
Args: {
|
|
39892
|
+
p_order_ids: string[];
|
|
39893
|
+
};
|
|
39894
|
+
Returns: {
|
|
39895
|
+
lines_updated: number;
|
|
39896
|
+
order_id: string;
|
|
39897
|
+
order_number: string;
|
|
39898
|
+
replan_event: string;
|
|
39899
|
+
}[];
|
|
39900
|
+
};
|
|
39901
|
+
verkoop_packing_drift_report: {
|
|
39902
|
+
Args: never;
|
|
39903
|
+
Returns: {
|
|
39904
|
+
afgesloten: boolean;
|
|
39905
|
+
cache_match: string;
|
|
39906
|
+
cur_crates_per_layer: number;
|
|
39907
|
+
cur_layers_per_cart: number;
|
|
39908
|
+
cur_load_carrier_type: string;
|
|
39909
|
+
cur_packing_source: string;
|
|
39910
|
+
cur_plants_per_crate: number;
|
|
39911
|
+
cur_vbn_package_code: string;
|
|
39912
|
+
fd_crates_per_layer: number;
|
|
39913
|
+
fd_layers_per_cart: number;
|
|
39914
|
+
fd_load_carrier_type: string;
|
|
39915
|
+
fd_plants_per_crate: number;
|
|
39916
|
+
fd_vbn_package_code: string;
|
|
39917
|
+
order_id: string;
|
|
39918
|
+
order_item_id: string;
|
|
39919
|
+
order_number: string;
|
|
39920
|
+
order_status: string;
|
|
39921
|
+
sales_order_id: string;
|
|
39922
|
+
vastgezet: boolean;
|
|
39923
|
+
}[];
|
|
39924
|
+
};
|
|
38782
39925
|
vervang_printer: {
|
|
38783
39926
|
Args: {
|
|
38784
39927
|
_nieuw: string;
|
|
@@ -38817,6 +39960,18 @@ export type Database = {
|
|
|
38817
39960
|
};
|
|
38818
39961
|
Returns: number;
|
|
38819
39962
|
};
|
|
39963
|
+
voorraad_correctie_1098: {
|
|
39964
|
+
Args: {
|
|
39965
|
+
p_uitvoeren?: boolean;
|
|
39966
|
+
};
|
|
39967
|
+
Returns: Json;
|
|
39968
|
+
};
|
|
39969
|
+
voorraad_correctie_status: {
|
|
39970
|
+
Args: {
|
|
39971
|
+
p_correctie?: string;
|
|
39972
|
+
};
|
|
39973
|
+
Returns: Json;
|
|
39974
|
+
};
|
|
38820
39975
|
voorraad_external_fulfilled_ids: {
|
|
38821
39976
|
Args: {
|
|
38822
39977
|
p_cf: Json;
|
|
@@ -38846,6 +40001,14 @@ export type Database = {
|
|
|
38846
40001
|
};
|
|
38847
40002
|
Returns: undefined;
|
|
38848
40003
|
};
|
|
40004
|
+
voorraad_install_check: {
|
|
40005
|
+
Args: never;
|
|
40006
|
+
Returns: Json;
|
|
40007
|
+
};
|
|
40008
|
+
voorraad_is_server: {
|
|
40009
|
+
Args: never;
|
|
40010
|
+
Returns: boolean;
|
|
40011
|
+
};
|
|
38849
40012
|
voorraad_mark_floriday_sold_before_switch: {
|
|
38850
40013
|
Args: {
|
|
38851
40014
|
p_product_id: string;
|
|
@@ -38863,6 +40026,13 @@ export type Database = {
|
|
|
38863
40026
|
};
|
|
38864
40027
|
Returns: string;
|
|
38865
40028
|
};
|
|
40029
|
+
voorraad_vereis: {
|
|
40030
|
+
Args: {
|
|
40031
|
+
p_functie: string;
|
|
40032
|
+
p_niveau: string;
|
|
40033
|
+
};
|
|
40034
|
+
Returns: undefined;
|
|
40035
|
+
};
|
|
38866
40036
|
voorraad_week_is_past: {
|
|
38867
40037
|
Args: {
|
|
38868
40038
|
p_week: number;
|