@flowselections/floriday-afhandeling-module 1.0.76 → 1.0.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/afhandeling/DeliveryLocationPicker.d.ts +6 -0
- package/dist-lib/components/afhandeling/DeliveryLocationPicker.d.ts.map +1 -0
- package/dist-lib/components/afhandeling/DeliveryLocationPicker.js +29 -0
- package/dist-lib/components/afhandeling/SignupAutoSendBlock.d.ts +5 -0
- package/dist-lib/components/afhandeling/SignupAutoSendBlock.d.ts.map +1 -0
- package/dist-lib/components/afhandeling/SignupAutoSendBlock.js +37 -0
- package/dist-lib/components/afhandeling/VervoerderForm.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/VervoerderForm.js +15 -4
- package/dist-lib/components/afhandeling/VervoerdersPage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/VervoerdersPage.js +27 -4
- package/dist-lib/components/settings/AfhandelingSettingsCard.d.ts.map +1 -1
- package/dist-lib/components/settings/AfhandelingSettingsCard.js +2 -1
- package/dist-lib/components/settings/VervoerdersSettingsCard.js +4 -4
- package/dist-lib/integrations/supabase/types.d.ts +819 -28
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/carrierMatch.server.d.ts +1 -2
- package/dist-lib/lib/carrierMatch.server.d.ts.map +1 -1
- package/dist-lib/lib/carrierMatch.server.js +5 -5
- package/dist-lib/lib/carrierPlanning.d.ts +4 -0
- package/dist-lib/lib/carrierPlanning.d.ts.map +1 -1
- package/dist-lib/lib/carrierPlanning.js +7 -24
- package/dist-lib/lib/carrierReadiness.d.ts +26 -0
- package/dist-lib/lib/carrierReadiness.d.ts.map +1 -0
- package/dist-lib/lib/carrierReadiness.js +32 -0
- package/dist-lib/lib/carrierSignup.functions.d.ts +57 -0
- package/dist-lib/lib/carrierSignup.functions.d.ts.map +1 -1
- package/dist-lib/lib/carrierSignup.functions.js +43 -0
- package/dist-lib/lib/carriers.functions.d.ts +54 -1
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/carriers.functions.js +95 -21
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.js +6 -2
- package/dist-lib/lib/floridayFulfilled.d.ts.map +1 -1
- package/dist-lib/lib/floridayFulfilled.js +2 -0
- package/dist-lib/lib/pickstationOrders.server.d.ts.map +1 -1
- package/dist-lib/lib/pickstationOrders.server.js +15 -1
- package/dist-lib/lib/signupMailText.d.ts +2 -0
- package/dist-lib/lib/signupMailText.d.ts.map +1 -1
- package/dist-lib/lib/signupMailText.js +27 -0
- package/package.json +4 -3
- package/schema/90_afhandeling.sql +1986 -0
|
@@ -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;
|
|
@@ -12381,6 +12578,81 @@ export type Database = {
|
|
|
12381
12578
|
};
|
|
12382
12579
|
Relationships: [];
|
|
12383
12580
|
};
|
|
12581
|
+
logistics_carrier_events: {
|
|
12582
|
+
Row: {
|
|
12583
|
+
bericht: string;
|
|
12584
|
+
created_at: string;
|
|
12585
|
+
id: number;
|
|
12586
|
+
order_id: string;
|
|
12587
|
+
soort: string;
|
|
12588
|
+
};
|
|
12589
|
+
Insert: {
|
|
12590
|
+
bericht: string;
|
|
12591
|
+
created_at?: string;
|
|
12592
|
+
id?: number;
|
|
12593
|
+
order_id: string;
|
|
12594
|
+
soort?: string;
|
|
12595
|
+
};
|
|
12596
|
+
Update: {
|
|
12597
|
+
bericht?: string;
|
|
12598
|
+
created_at?: string;
|
|
12599
|
+
id?: number;
|
|
12600
|
+
order_id?: string;
|
|
12601
|
+
soort?: string;
|
|
12602
|
+
};
|
|
12603
|
+
Relationships: [];
|
|
12604
|
+
};
|
|
12605
|
+
logistics_carrier_recalc_queue: {
|
|
12606
|
+
Row: {
|
|
12607
|
+
last_checked_at: string | null;
|
|
12608
|
+
order_id: string;
|
|
12609
|
+
processed_at: string | null;
|
|
12610
|
+
queued_at: string;
|
|
12611
|
+
reden: string;
|
|
12612
|
+
};
|
|
12613
|
+
Insert: {
|
|
12614
|
+
last_checked_at?: string | null;
|
|
12615
|
+
order_id: string;
|
|
12616
|
+
processed_at?: string | null;
|
|
12617
|
+
queued_at?: string;
|
|
12618
|
+
reden: string;
|
|
12619
|
+
};
|
|
12620
|
+
Update: {
|
|
12621
|
+
last_checked_at?: string | null;
|
|
12622
|
+
order_id?: string;
|
|
12623
|
+
processed_at?: string | null;
|
|
12624
|
+
queued_at?: string;
|
|
12625
|
+
reden?: string;
|
|
12626
|
+
};
|
|
12627
|
+
Relationships: [];
|
|
12628
|
+
};
|
|
12629
|
+
logistics_carrier_settings: {
|
|
12630
|
+
Row: {
|
|
12631
|
+
backfill_existing: boolean;
|
|
12632
|
+
backfill_set_at: string | null;
|
|
12633
|
+
backfill_set_by: string | null;
|
|
12634
|
+
id: boolean;
|
|
12635
|
+
installed_at: string;
|
|
12636
|
+
updated_at: string;
|
|
12637
|
+
};
|
|
12638
|
+
Insert: {
|
|
12639
|
+
backfill_existing?: boolean;
|
|
12640
|
+
backfill_set_at?: string | null;
|
|
12641
|
+
backfill_set_by?: string | null;
|
|
12642
|
+
id?: boolean;
|
|
12643
|
+
installed_at?: string;
|
|
12644
|
+
updated_at?: string;
|
|
12645
|
+
};
|
|
12646
|
+
Update: {
|
|
12647
|
+
backfill_existing?: boolean;
|
|
12648
|
+
backfill_set_at?: string | null;
|
|
12649
|
+
backfill_set_by?: string | null;
|
|
12650
|
+
id?: boolean;
|
|
12651
|
+
installed_at?: string;
|
|
12652
|
+
updated_at?: string;
|
|
12653
|
+
};
|
|
12654
|
+
Relationships: [];
|
|
12655
|
+
};
|
|
12384
12656
|
logistics_cart_archive_log: {
|
|
12385
12657
|
Row: {
|
|
12386
12658
|
action: string;
|
|
@@ -14278,6 +14550,7 @@ export type Database = {
|
|
|
14278
14550
|
hoogte_mm: number | null;
|
|
14279
14551
|
id: string;
|
|
14280
14552
|
kopieen: number;
|
|
14553
|
+
kopieen_bron: string | null;
|
|
14281
14554
|
next_attempt_at: string | null;
|
|
14282
14555
|
order_id: string | null;
|
|
14283
14556
|
order_number: string | null;
|
|
@@ -14305,6 +14578,7 @@ export type Database = {
|
|
|
14305
14578
|
hoogte_mm?: number | null;
|
|
14306
14579
|
id?: string;
|
|
14307
14580
|
kopieen?: number;
|
|
14581
|
+
kopieen_bron?: string | null;
|
|
14308
14582
|
next_attempt_at?: string | null;
|
|
14309
14583
|
order_id?: string | null;
|
|
14310
14584
|
order_number?: string | null;
|
|
@@ -14332,6 +14606,7 @@ export type Database = {
|
|
|
14332
14606
|
hoogte_mm?: number | null;
|
|
14333
14607
|
id?: string;
|
|
14334
14608
|
kopieen?: number;
|
|
14609
|
+
kopieen_bron?: string | null;
|
|
14335
14610
|
next_attempt_at?: string | null;
|
|
14336
14611
|
order_id?: string | null;
|
|
14337
14612
|
order_number?: string | null;
|
|
@@ -17599,60 +17874,72 @@ export type Database = {
|
|
|
17599
17874
|
created_at: string;
|
|
17600
17875
|
id: string;
|
|
17601
17876
|
layers_per_cart: number | null;
|
|
17877
|
+
load_carrier_type: string | null;
|
|
17602
17878
|
needs_sticker: boolean;
|
|
17603
17879
|
order_id: string;
|
|
17604
17880
|
packing_locked_at: string | null;
|
|
17605
17881
|
packing_locked_by: string | null;
|
|
17882
|
+
packing_source: string | null;
|
|
17606
17883
|
plants_per_crate: number | null;
|
|
17607
17884
|
product_id: string | null;
|
|
17608
17885
|
product_name: string;
|
|
17609
17886
|
quantity: number;
|
|
17887
|
+
quantity_crates: number | null;
|
|
17610
17888
|
quarantine_reason: string | null;
|
|
17611
17889
|
quarantined_at: string | null;
|
|
17612
17890
|
quarantined_into_order_id: string | null;
|
|
17613
17891
|
source_line_key: string | null;
|
|
17614
17892
|
unit: string;
|
|
17615
17893
|
unit_price: number | null;
|
|
17894
|
+
vbn_package_code: string | null;
|
|
17616
17895
|
};
|
|
17617
17896
|
Insert: {
|
|
17618
17897
|
crates_per_layer?: number | null;
|
|
17619
17898
|
created_at?: string;
|
|
17620
17899
|
id?: string;
|
|
17621
17900
|
layers_per_cart?: number | null;
|
|
17901
|
+
load_carrier_type?: string | null;
|
|
17622
17902
|
needs_sticker?: boolean;
|
|
17623
17903
|
order_id: string;
|
|
17624
17904
|
packing_locked_at?: string | null;
|
|
17625
17905
|
packing_locked_by?: string | null;
|
|
17906
|
+
packing_source?: string | null;
|
|
17626
17907
|
plants_per_crate?: number | null;
|
|
17627
17908
|
product_id?: string | null;
|
|
17628
17909
|
product_name: string;
|
|
17629
17910
|
quantity?: number;
|
|
17911
|
+
quantity_crates?: number | null;
|
|
17630
17912
|
quarantine_reason?: string | null;
|
|
17631
17913
|
quarantined_at?: string | null;
|
|
17632
17914
|
quarantined_into_order_id?: string | null;
|
|
17633
17915
|
source_line_key?: string | null;
|
|
17634
17916
|
unit?: string;
|
|
17635
17917
|
unit_price?: number | null;
|
|
17918
|
+
vbn_package_code?: string | null;
|
|
17636
17919
|
};
|
|
17637
17920
|
Update: {
|
|
17638
17921
|
crates_per_layer?: number | null;
|
|
17639
17922
|
created_at?: string;
|
|
17640
17923
|
id?: string;
|
|
17641
17924
|
layers_per_cart?: number | null;
|
|
17925
|
+
load_carrier_type?: string | null;
|
|
17642
17926
|
needs_sticker?: boolean;
|
|
17643
17927
|
order_id?: string;
|
|
17644
17928
|
packing_locked_at?: string | null;
|
|
17645
17929
|
packing_locked_by?: string | null;
|
|
17930
|
+
packing_source?: string | null;
|
|
17646
17931
|
plants_per_crate?: number | null;
|
|
17647
17932
|
product_id?: string | null;
|
|
17648
17933
|
product_name?: string;
|
|
17649
17934
|
quantity?: number;
|
|
17935
|
+
quantity_crates?: number | null;
|
|
17650
17936
|
quarantine_reason?: string | null;
|
|
17651
17937
|
quarantined_at?: string | null;
|
|
17652
17938
|
quarantined_into_order_id?: string | null;
|
|
17653
17939
|
source_line_key?: string | null;
|
|
17654
17940
|
unit?: string;
|
|
17655
17941
|
unit_price?: number | null;
|
|
17942
|
+
vbn_package_code?: string | null;
|
|
17656
17943
|
};
|
|
17657
17944
|
Relationships: [
|
|
17658
17945
|
{
|
|
@@ -17844,6 +18131,12 @@ export type Database = {
|
|
|
17844
18131
|
buffer_id: string | null;
|
|
17845
18132
|
cancel_reason: string | null;
|
|
17846
18133
|
cancelled_at: string | null;
|
|
18134
|
+
carrier_id: string | null;
|
|
18135
|
+
carrier_reason: string | null;
|
|
18136
|
+
carrier_resolved_at: string | null;
|
|
18137
|
+
carrier_set_at: string | null;
|
|
18138
|
+
carrier_set_by: string | null;
|
|
18139
|
+
carrier_source: string | null;
|
|
17847
18140
|
created_at: string;
|
|
17848
18141
|
custom_fields: Json;
|
|
17849
18142
|
customer_id: string | null;
|
|
@@ -17872,6 +18165,12 @@ export type Database = {
|
|
|
17872
18165
|
buffer_id?: string | null;
|
|
17873
18166
|
cancel_reason?: string | null;
|
|
17874
18167
|
cancelled_at?: string | null;
|
|
18168
|
+
carrier_id?: string | null;
|
|
18169
|
+
carrier_reason?: string | null;
|
|
18170
|
+
carrier_resolved_at?: string | null;
|
|
18171
|
+
carrier_set_at?: string | null;
|
|
18172
|
+
carrier_set_by?: string | null;
|
|
18173
|
+
carrier_source?: string | null;
|
|
17875
18174
|
created_at?: string;
|
|
17876
18175
|
custom_fields?: Json;
|
|
17877
18176
|
customer_id?: string | null;
|
|
@@ -17900,6 +18199,12 @@ export type Database = {
|
|
|
17900
18199
|
buffer_id?: string | null;
|
|
17901
18200
|
cancel_reason?: string | null;
|
|
17902
18201
|
cancelled_at?: string | null;
|
|
18202
|
+
carrier_id?: string | null;
|
|
18203
|
+
carrier_reason?: string | null;
|
|
18204
|
+
carrier_resolved_at?: string | null;
|
|
18205
|
+
carrier_set_at?: string | null;
|
|
18206
|
+
carrier_set_by?: string | null;
|
|
18207
|
+
carrier_source?: string | null;
|
|
17903
18208
|
created_at?: string;
|
|
17904
18209
|
custom_fields?: Json;
|
|
17905
18210
|
customer_id?: string | null;
|
|
@@ -17932,6 +18237,13 @@ export type Database = {
|
|
|
17932
18237
|
referencedRelation: "order_buffers";
|
|
17933
18238
|
referencedColumns: ["id"];
|
|
17934
18239
|
},
|
|
18240
|
+
{
|
|
18241
|
+
foreignKeyName: "orders_carrier_id_fkey";
|
|
18242
|
+
columns: ["carrier_id"];
|
|
18243
|
+
isOneToOne: false;
|
|
18244
|
+
referencedRelation: "carriers";
|
|
18245
|
+
referencedColumns: ["id"];
|
|
18246
|
+
},
|
|
17935
18247
|
{
|
|
17936
18248
|
foreignKeyName: "orders_customer_id_fkey";
|
|
17937
18249
|
columns: ["customer_id"];
|
|
@@ -24776,16 +25088,56 @@ export type Database = {
|
|
|
24776
25088
|
}
|
|
24777
25089
|
];
|
|
24778
25090
|
};
|
|
25091
|
+
twinfield_connection_label_log: {
|
|
25092
|
+
Row: {
|
|
25093
|
+
changed_at: string;
|
|
25094
|
+
changed_by: string | null;
|
|
25095
|
+
changed_by_role: string | null;
|
|
25096
|
+
connection_id: string;
|
|
25097
|
+
field: string;
|
|
25098
|
+
id: string;
|
|
25099
|
+
new_value: string | null;
|
|
25100
|
+
note: string | null;
|
|
25101
|
+
office_code: string | null;
|
|
25102
|
+
old_value: string | null;
|
|
25103
|
+
};
|
|
25104
|
+
Insert: {
|
|
25105
|
+
changed_at?: string;
|
|
25106
|
+
changed_by?: string | null;
|
|
25107
|
+
changed_by_role?: string | null;
|
|
25108
|
+
connection_id: string;
|
|
25109
|
+
field: string;
|
|
25110
|
+
id?: string;
|
|
25111
|
+
new_value?: string | null;
|
|
25112
|
+
note?: string | null;
|
|
25113
|
+
office_code?: string | null;
|
|
25114
|
+
old_value?: string | null;
|
|
25115
|
+
};
|
|
25116
|
+
Update: {
|
|
25117
|
+
changed_at?: string;
|
|
25118
|
+
changed_by?: string | null;
|
|
25119
|
+
changed_by_role?: string | null;
|
|
25120
|
+
connection_id?: string;
|
|
25121
|
+
field?: string;
|
|
25122
|
+
id?: string;
|
|
25123
|
+
new_value?: string | null;
|
|
25124
|
+
note?: string | null;
|
|
25125
|
+
office_code?: string | null;
|
|
25126
|
+
old_value?: string | null;
|
|
25127
|
+
};
|
|
25128
|
+
Relationships: [];
|
|
25129
|
+
};
|
|
24779
25130
|
twinfield_connections: {
|
|
24780
25131
|
Row: {
|
|
24781
25132
|
account_key: string | null;
|
|
25133
|
+
central_environment: string | null;
|
|
24782
25134
|
cluster_uri: string | null;
|
|
24783
25135
|
company_code: string | null;
|
|
24784
25136
|
company_name: string | null;
|
|
24785
25137
|
connected_at: string | null;
|
|
24786
25138
|
created_at: string;
|
|
24787
25139
|
disconnected_at: string | null;
|
|
24788
|
-
environment: string;
|
|
25140
|
+
environment: string | null;
|
|
24789
25141
|
granted_scopes: string[] | null;
|
|
24790
25142
|
id: string;
|
|
24791
25143
|
initial_sync_completed_at: string | null;
|
|
@@ -24794,8 +25146,12 @@ export type Database = {
|
|
|
24794
25146
|
initial_sync_started_at: string | null;
|
|
24795
25147
|
is_active: boolean;
|
|
24796
25148
|
label: string | null;
|
|
25149
|
+
label_set_at: string | null;
|
|
25150
|
+
label_set_by: string | null;
|
|
25151
|
+
label_source: string | null;
|
|
24797
25152
|
missing_scopes: string[] | null;
|
|
24798
25153
|
office_code: string | null;
|
|
25154
|
+
organisation_code: string | null;
|
|
24799
25155
|
redirect_uri: string | null;
|
|
24800
25156
|
scope_checked_at: string | null;
|
|
24801
25157
|
scope_state: string | null;
|
|
@@ -24809,13 +25165,14 @@ export type Database = {
|
|
|
24809
25165
|
};
|
|
24810
25166
|
Insert: {
|
|
24811
25167
|
account_key?: string | null;
|
|
25168
|
+
central_environment?: string | null;
|
|
24812
25169
|
cluster_uri?: string | null;
|
|
24813
25170
|
company_code?: string | null;
|
|
24814
25171
|
company_name?: string | null;
|
|
24815
25172
|
connected_at?: string | null;
|
|
24816
25173
|
created_at?: string;
|
|
24817
25174
|
disconnected_at?: string | null;
|
|
24818
|
-
environment
|
|
25175
|
+
environment?: string | null;
|
|
24819
25176
|
granted_scopes?: string[] | null;
|
|
24820
25177
|
id?: string;
|
|
24821
25178
|
initial_sync_completed_at?: string | null;
|
|
@@ -24824,8 +25181,12 @@ export type Database = {
|
|
|
24824
25181
|
initial_sync_started_at?: string | null;
|
|
24825
25182
|
is_active?: boolean;
|
|
24826
25183
|
label?: string | null;
|
|
25184
|
+
label_set_at?: string | null;
|
|
25185
|
+
label_set_by?: string | null;
|
|
25186
|
+
label_source?: string | null;
|
|
24827
25187
|
missing_scopes?: string[] | null;
|
|
24828
25188
|
office_code?: string | null;
|
|
25189
|
+
organisation_code?: string | null;
|
|
24829
25190
|
redirect_uri?: string | null;
|
|
24830
25191
|
scope_checked_at?: string | null;
|
|
24831
25192
|
scope_state?: string | null;
|
|
@@ -24839,13 +25200,14 @@ export type Database = {
|
|
|
24839
25200
|
};
|
|
24840
25201
|
Update: {
|
|
24841
25202
|
account_key?: string | null;
|
|
25203
|
+
central_environment?: string | null;
|
|
24842
25204
|
cluster_uri?: string | null;
|
|
24843
25205
|
company_code?: string | null;
|
|
24844
25206
|
company_name?: string | null;
|
|
24845
25207
|
connected_at?: string | null;
|
|
24846
25208
|
created_at?: string;
|
|
24847
25209
|
disconnected_at?: string | null;
|
|
24848
|
-
environment?: string;
|
|
25210
|
+
environment?: string | null;
|
|
24849
25211
|
granted_scopes?: string[] | null;
|
|
24850
25212
|
id?: string;
|
|
24851
25213
|
initial_sync_completed_at?: string | null;
|
|
@@ -24854,8 +25216,12 @@ export type Database = {
|
|
|
24854
25216
|
initial_sync_started_at?: string | null;
|
|
24855
25217
|
is_active?: boolean;
|
|
24856
25218
|
label?: string | null;
|
|
25219
|
+
label_set_at?: string | null;
|
|
25220
|
+
label_set_by?: string | null;
|
|
25221
|
+
label_source?: string | null;
|
|
24857
25222
|
missing_scopes?: string[] | null;
|
|
24858
25223
|
office_code?: string | null;
|
|
25224
|
+
organisation_code?: string | null;
|
|
24859
25225
|
redirect_uri?: string | null;
|
|
24860
25226
|
scope_checked_at?: string | null;
|
|
24861
25227
|
scope_state?: string | null;
|
|
@@ -25795,7 +26161,7 @@ export type Database = {
|
|
|
25795
26161
|
};
|
|
25796
26162
|
twinfield_settings: {
|
|
25797
26163
|
Row: {
|
|
25798
|
-
active_environment: string;
|
|
26164
|
+
active_environment: string | null;
|
|
25799
26165
|
cron_registered_at: string | null;
|
|
25800
26166
|
cron_registration_error: string | null;
|
|
25801
26167
|
cron_schedules: Json;
|
|
@@ -25805,7 +26171,7 @@ export type Database = {
|
|
|
25805
26171
|
updated_at: string;
|
|
25806
26172
|
};
|
|
25807
26173
|
Insert: {
|
|
25808
|
-
active_environment?: string;
|
|
26174
|
+
active_environment?: string | null;
|
|
25809
26175
|
cron_registered_at?: string | null;
|
|
25810
26176
|
cron_registration_error?: string | null;
|
|
25811
26177
|
cron_schedules?: Json;
|
|
@@ -25815,7 +26181,7 @@ export type Database = {
|
|
|
25815
26181
|
updated_at?: string;
|
|
25816
26182
|
};
|
|
25817
26183
|
Update: {
|
|
25818
|
-
active_environment?: string;
|
|
26184
|
+
active_environment?: string | null;
|
|
25819
26185
|
cron_registered_at?: string | null;
|
|
25820
26186
|
cron_registration_error?: string | null;
|
|
25821
26187
|
cron_schedules?: Json;
|
|
@@ -29731,6 +30097,28 @@ export type Database = {
|
|
|
29731
30097
|
Args: never;
|
|
29732
30098
|
Returns: boolean;
|
|
29733
30099
|
};
|
|
30100
|
+
afh_assert_ingelogd: {
|
|
30101
|
+
Args: never;
|
|
30102
|
+
Returns: undefined;
|
|
30103
|
+
};
|
|
30104
|
+
afh_assert_intern: {
|
|
30105
|
+
Args: never;
|
|
30106
|
+
Returns: undefined;
|
|
30107
|
+
};
|
|
30108
|
+
afh_assert_server: {
|
|
30109
|
+
Args: never;
|
|
30110
|
+
Returns: undefined;
|
|
30111
|
+
};
|
|
30112
|
+
afh_can_manage_carriers: {
|
|
30113
|
+
Args: {
|
|
30114
|
+
p_user: string;
|
|
30115
|
+
};
|
|
30116
|
+
Returns: boolean;
|
|
30117
|
+
};
|
|
30118
|
+
afh_carrier_managers_count: {
|
|
30119
|
+
Args: never;
|
|
30120
|
+
Returns: number;
|
|
30121
|
+
};
|
|
29734
30122
|
afh_city_code: {
|
|
29735
30123
|
Args: {
|
|
29736
30124
|
_city: string;
|
|
@@ -29738,12 +30126,29 @@ export type Database = {
|
|
|
29738
30126
|
};
|
|
29739
30127
|
Returns: string;
|
|
29740
30128
|
};
|
|
30129
|
+
afh_ensure_defaults: {
|
|
30130
|
+
Args: never;
|
|
30131
|
+
Returns: Json;
|
|
30132
|
+
};
|
|
30133
|
+
afh_favorite_carrier: {
|
|
30134
|
+
Args: never;
|
|
30135
|
+
Returns: {
|
|
30136
|
+
carrier_id: string;
|
|
30137
|
+
carrier_kind: string;
|
|
30138
|
+
email: string;
|
|
30139
|
+
name: string;
|
|
30140
|
+
}[];
|
|
30141
|
+
};
|
|
29741
30142
|
afh_html: {
|
|
29742
30143
|
Args: {
|
|
29743
30144
|
_s: string;
|
|
29744
30145
|
};
|
|
29745
30146
|
Returns: string;
|
|
29746
30147
|
};
|
|
30148
|
+
afh_is_server: {
|
|
30149
|
+
Args: never;
|
|
30150
|
+
Returns: boolean;
|
|
30151
|
+
};
|
|
29747
30152
|
afh_kar_tekst: {
|
|
29748
30153
|
Args: {
|
|
29749
30154
|
n: number;
|
|
@@ -29774,6 +30179,16 @@ export type Database = {
|
|
|
29774
30179
|
};
|
|
29775
30180
|
Returns: boolean;
|
|
29776
30181
|
};
|
|
30182
|
+
afh_order_floriday_herkomst_onbekend: {
|
|
30183
|
+
Args: {
|
|
30184
|
+
p_order_id: string;
|
|
30185
|
+
};
|
|
30186
|
+
Returns: boolean;
|
|
30187
|
+
};
|
|
30188
|
+
afh_orders_have_carrier_id: {
|
|
30189
|
+
Args: never;
|
|
30190
|
+
Returns: boolean;
|
|
30191
|
+
};
|
|
29777
30192
|
afh_pick_workdays: {
|
|
29778
30193
|
Args: {
|
|
29779
30194
|
p_from: string;
|
|
@@ -29790,6 +30205,26 @@ export type Database = {
|
|
|
29790
30205
|
};
|
|
29791
30206
|
Returns: string;
|
|
29792
30207
|
};
|
|
30208
|
+
afh_set_favorite_carrier: {
|
|
30209
|
+
Args: {
|
|
30210
|
+
p_carrier_id: string;
|
|
30211
|
+
};
|
|
30212
|
+
Returns: Json;
|
|
30213
|
+
};
|
|
30214
|
+
afh_set_signup_auto_send: {
|
|
30215
|
+
Args: {
|
|
30216
|
+
p_on: boolean;
|
|
30217
|
+
};
|
|
30218
|
+
Returns: Json;
|
|
30219
|
+
};
|
|
30220
|
+
afh_signup_auto_send_on: {
|
|
30221
|
+
Args: never;
|
|
30222
|
+
Returns: boolean;
|
|
30223
|
+
};
|
|
30224
|
+
afh_signup_auto_send_status: {
|
|
30225
|
+
Args: never;
|
|
30226
|
+
Returns: Json;
|
|
30227
|
+
};
|
|
29793
30228
|
afh_signup_config: {
|
|
29794
30229
|
Args: never;
|
|
29795
30230
|
Returns: Json;
|
|
@@ -29825,6 +30260,14 @@ export type Database = {
|
|
|
29825
30260
|
};
|
|
29826
30261
|
Returns: Json;
|
|
29827
30262
|
};
|
|
30263
|
+
afh_signup_groups_floriday: {
|
|
30264
|
+
Args: {
|
|
30265
|
+
p_from: string;
|
|
30266
|
+
p_to: string;
|
|
30267
|
+
p_tz: string;
|
|
30268
|
+
};
|
|
30269
|
+
Returns: Json;
|
|
30270
|
+
};
|
|
29828
30271
|
afh_signup_groups_wacht: {
|
|
29829
30272
|
Args: {
|
|
29830
30273
|
p_from: string;
|
|
@@ -29886,6 +30329,10 @@ export type Database = {
|
|
|
29886
30329
|
};
|
|
29887
30330
|
Returns: string;
|
|
29888
30331
|
};
|
|
30332
|
+
afhandeling_install_check: {
|
|
30333
|
+
Args: never;
|
|
30334
|
+
Returns: Json;
|
|
30335
|
+
};
|
|
29889
30336
|
afhandeling_signup_cron_status: {
|
|
29890
30337
|
Args: never;
|
|
29891
30338
|
Returns: Json;
|
|
@@ -30070,6 +30517,13 @@ export type Database = {
|
|
|
30070
30517
|
};
|
|
30071
30518
|
Returns: Json;
|
|
30072
30519
|
};
|
|
30520
|
+
carrier_signup_ready_list: {
|
|
30521
|
+
Args: {
|
|
30522
|
+
p_from: string;
|
|
30523
|
+
p_to: string;
|
|
30524
|
+
};
|
|
30525
|
+
Returns: Json;
|
|
30526
|
+
};
|
|
30073
30527
|
carrier_signup_send_now: {
|
|
30074
30528
|
Args: {
|
|
30075
30529
|
p_carrier_id: string;
|
|
@@ -30618,6 +31072,7 @@ export type Database = {
|
|
|
30618
31072
|
control_get_todays_carts: {
|
|
30619
31073
|
Args: never;
|
|
30620
31074
|
Returns: {
|
|
31075
|
+
carrier_name: string;
|
|
30621
31076
|
cart_index: number;
|
|
30622
31077
|
cart_number: string;
|
|
30623
31078
|
cart_number_id: string;
|
|
@@ -31016,6 +31471,14 @@ export type Database = {
|
|
|
31016
31471
|
Args: never;
|
|
31017
31472
|
Returns: Json;
|
|
31018
31473
|
};
|
|
31474
|
+
floriday_background_jobs_status: {
|
|
31475
|
+
Args: never;
|
|
31476
|
+
Returns: {
|
|
31477
|
+
active: boolean;
|
|
31478
|
+
jobname: string;
|
|
31479
|
+
schedule: string;
|
|
31480
|
+
}[];
|
|
31481
|
+
};
|
|
31019
31482
|
floriday_capture_stock_snapshot: {
|
|
31020
31483
|
Args: never;
|
|
31021
31484
|
Returns: number;
|
|
@@ -31132,6 +31595,10 @@ export type Database = {
|
|
|
31132
31595
|
};
|
|
31133
31596
|
Returns: Json;
|
|
31134
31597
|
};
|
|
31598
|
+
floriday_legacy_packing_sync_present: {
|
|
31599
|
+
Args: never;
|
|
31600
|
+
Returns: Json;
|
|
31601
|
+
};
|
|
31135
31602
|
floriday_make_erp_leading: {
|
|
31136
31603
|
Args: {
|
|
31137
31604
|
p_connection_id: string;
|
|
@@ -31213,6 +31680,35 @@ export type Database = {
|
|
|
31213
31680
|
Args: never;
|
|
31214
31681
|
Returns: Json;
|
|
31215
31682
|
};
|
|
31683
|
+
flowselections_central_status: {
|
|
31684
|
+
Args: never;
|
|
31685
|
+
Returns: {
|
|
31686
|
+
central_url_aanwezig: boolean;
|
|
31687
|
+
laatste_status: string;
|
|
31688
|
+
laatste_sync: string;
|
|
31689
|
+
token_aanwezig: boolean;
|
|
31690
|
+
}[];
|
|
31691
|
+
};
|
|
31692
|
+
flowselections_central_sync: {
|
|
31693
|
+
Args: never;
|
|
31694
|
+
Returns: string;
|
|
31695
|
+
};
|
|
31696
|
+
flowselections_cron_post: {
|
|
31697
|
+
Args: {
|
|
31698
|
+
p_auth?: string;
|
|
31699
|
+
p_body?: Json;
|
|
31700
|
+
p_path: string;
|
|
31701
|
+
p_timeout_ms?: number;
|
|
31702
|
+
};
|
|
31703
|
+
Returns: number;
|
|
31704
|
+
};
|
|
31705
|
+
flowselections_set_central_link: {
|
|
31706
|
+
Args: {
|
|
31707
|
+
p_central_url: string;
|
|
31708
|
+
p_read_token: string;
|
|
31709
|
+
};
|
|
31710
|
+
Returns: string;
|
|
31711
|
+
};
|
|
31216
31712
|
format_cart_number: {
|
|
31217
31713
|
Args: {
|
|
31218
31714
|
p_pick_date: string;
|
|
@@ -32605,6 +33101,17 @@ export type Database = {
|
|
|
32605
33101
|
};
|
|
32606
33102
|
Returns: Json;
|
|
32607
33103
|
};
|
|
33104
|
+
logistics_carrier_enqueue: {
|
|
33105
|
+
Args: {
|
|
33106
|
+
p_order_ids: string[];
|
|
33107
|
+
p_reden: string;
|
|
33108
|
+
};
|
|
33109
|
+
Returns: number;
|
|
33110
|
+
};
|
|
33111
|
+
logistics_carrier_favorite_id: {
|
|
33112
|
+
Args: never;
|
|
33113
|
+
Returns: string;
|
|
33114
|
+
};
|
|
32608
33115
|
logistics_carrier_for_location: {
|
|
32609
33116
|
Args: {
|
|
32610
33117
|
p_customer_id: string;
|
|
@@ -32612,6 +33119,12 @@ export type Database = {
|
|
|
32612
33119
|
};
|
|
32613
33120
|
Returns: string;
|
|
32614
33121
|
};
|
|
33122
|
+
logistics_carrier_frozen_reason: {
|
|
33123
|
+
Args: {
|
|
33124
|
+
p_order_id: string;
|
|
33125
|
+
};
|
|
33126
|
+
Returns: string;
|
|
33127
|
+
};
|
|
32615
33128
|
logistics_carrier_minutes: {
|
|
32616
33129
|
Args: {
|
|
32617
33130
|
p_carrier: string;
|
|
@@ -32619,6 +33132,86 @@ export type Database = {
|
|
|
32619
33132
|
};
|
|
32620
33133
|
Returns: number;
|
|
32621
33134
|
};
|
|
33135
|
+
logistics_carrier_picks_up_for: {
|
|
33136
|
+
Args: {
|
|
33137
|
+
p_carrier_id: string;
|
|
33138
|
+
p_delivery_date: string;
|
|
33139
|
+
};
|
|
33140
|
+
Returns: boolean;
|
|
33141
|
+
};
|
|
33142
|
+
logistics_carrier_preview_existing: {
|
|
33143
|
+
Args: {
|
|
33144
|
+
p_limit?: number;
|
|
33145
|
+
};
|
|
33146
|
+
Returns: {
|
|
33147
|
+
bevroren: string;
|
|
33148
|
+
bron: string;
|
|
33149
|
+
carrier_id: string;
|
|
33150
|
+
carrier_kind: string;
|
|
33151
|
+
carrier_name: string;
|
|
33152
|
+
delivery_date: string;
|
|
33153
|
+
huidig_custom_carrier: string;
|
|
33154
|
+
order_id: string;
|
|
33155
|
+
order_number: string;
|
|
33156
|
+
order_source: string;
|
|
33157
|
+
reden: string;
|
|
33158
|
+
}[];
|
|
33159
|
+
};
|
|
33160
|
+
logistics_carrier_promote_oud: {
|
|
33161
|
+
Args: {
|
|
33162
|
+
p_confirm_count: number;
|
|
33163
|
+
p_order_ids: string[];
|
|
33164
|
+
};
|
|
33165
|
+
Returns: number;
|
|
33166
|
+
};
|
|
33167
|
+
logistics_carrier_recalc_run: {
|
|
33168
|
+
Args: {
|
|
33169
|
+
p_limit?: number;
|
|
33170
|
+
};
|
|
33171
|
+
Returns: Json;
|
|
33172
|
+
};
|
|
33173
|
+
logistics_carrier_result: {
|
|
33174
|
+
Args: {
|
|
33175
|
+
p_bron: string;
|
|
33176
|
+
p_carrier_id: string;
|
|
33177
|
+
p_reden: string;
|
|
33178
|
+
p_skips: string[];
|
|
33179
|
+
};
|
|
33180
|
+
Returns: Json;
|
|
33181
|
+
};
|
|
33182
|
+
logistics_carrier_set_backfill: {
|
|
33183
|
+
Args: {
|
|
33184
|
+
p_on: boolean;
|
|
33185
|
+
};
|
|
33186
|
+
Returns: Json;
|
|
33187
|
+
};
|
|
33188
|
+
logistics_carrier_settings_ensure: {
|
|
33189
|
+
Args: never;
|
|
33190
|
+
Returns: {
|
|
33191
|
+
backfill_existing: boolean;
|
|
33192
|
+
backfill_set_at: string | null;
|
|
33193
|
+
backfill_set_by: string | null;
|
|
33194
|
+
id: boolean;
|
|
33195
|
+
installed_at: string;
|
|
33196
|
+
updated_at: string;
|
|
33197
|
+
};
|
|
33198
|
+
SetofOptions: {
|
|
33199
|
+
from: "*";
|
|
33200
|
+
to: "logistics_carrier_settings";
|
|
33201
|
+
isOneToOne: true;
|
|
33202
|
+
isSetofReturn: false;
|
|
33203
|
+
};
|
|
33204
|
+
};
|
|
33205
|
+
logistics_carrier_skip_reason: {
|
|
33206
|
+
Args: {
|
|
33207
|
+
p_carrier_id: string;
|
|
33208
|
+
};
|
|
33209
|
+
Returns: string;
|
|
33210
|
+
};
|
|
33211
|
+
logistics_carrier_status: {
|
|
33212
|
+
Args: never;
|
|
33213
|
+
Returns: Json;
|
|
33214
|
+
};
|
|
32622
33215
|
logistics_cart_archive: {
|
|
32623
33216
|
Args: {
|
|
32624
33217
|
p_confirm_count: number;
|
|
@@ -33639,6 +34232,14 @@ export type Database = {
|
|
|
33639
34232
|
Args: never;
|
|
33640
34233
|
Returns: number;
|
|
33641
34234
|
};
|
|
34235
|
+
logistics_install_check: {
|
|
34236
|
+
Args: never;
|
|
34237
|
+
Returns: {
|
|
34238
|
+
ok: boolean;
|
|
34239
|
+
onderdeel: string;
|
|
34240
|
+
toelichting: string;
|
|
34241
|
+
}[];
|
|
34242
|
+
};
|
|
33642
34243
|
logistics_is_beheer: {
|
|
33643
34244
|
Args: never;
|
|
33644
34245
|
Returns: boolean;
|
|
@@ -33809,6 +34410,18 @@ export type Database = {
|
|
|
33809
34410
|
};
|
|
33810
34411
|
Returns: string;
|
|
33811
34412
|
};
|
|
34413
|
+
logistics_order_carrier_info: {
|
|
34414
|
+
Args: {
|
|
34415
|
+
p_order_id: string;
|
|
34416
|
+
};
|
|
34417
|
+
Returns: Json;
|
|
34418
|
+
};
|
|
34419
|
+
logistics_order_carrier_label: {
|
|
34420
|
+
Args: {
|
|
34421
|
+
p_order_id: string;
|
|
34422
|
+
};
|
|
34423
|
+
Returns: string;
|
|
34424
|
+
};
|
|
33812
34425
|
logistics_order_cart_approval: {
|
|
33813
34426
|
Args: {
|
|
33814
34427
|
_order_ref: string;
|
|
@@ -34849,6 +35462,59 @@ export type Database = {
|
|
|
34849
35462
|
Args: never;
|
|
34850
35463
|
Returns: undefined;
|
|
34851
35464
|
};
|
|
35465
|
+
logistics_resolve_carrier: {
|
|
35466
|
+
Args: {
|
|
35467
|
+
p_order_id: string;
|
|
35468
|
+
};
|
|
35469
|
+
Returns: Json;
|
|
35470
|
+
};
|
|
35471
|
+
logistics_resolve_carrier_core: {
|
|
35472
|
+
Args: {
|
|
35473
|
+
p_order: Json;
|
|
35474
|
+
p_skip_manual?: boolean;
|
|
35475
|
+
};
|
|
35476
|
+
Returns: Json;
|
|
35477
|
+
};
|
|
35478
|
+
logistics_resolve_carrier_for_location: {
|
|
35479
|
+
Args: {
|
|
35480
|
+
p_customer_id: string;
|
|
35481
|
+
p_location_id: string;
|
|
35482
|
+
};
|
|
35483
|
+
Returns: Json;
|
|
35484
|
+
};
|
|
35485
|
+
logistics_resolve_carrier_for_location_many: {
|
|
35486
|
+
Args: {
|
|
35487
|
+
p_items: Json;
|
|
35488
|
+
};
|
|
35489
|
+
Returns: {
|
|
35490
|
+
bron: string;
|
|
35491
|
+
carrier_id: string;
|
|
35492
|
+
carrier_kind: string;
|
|
35493
|
+
carrier_name: string;
|
|
35494
|
+
customer_id: string;
|
|
35495
|
+
location_id: string;
|
|
35496
|
+
reden: string;
|
|
35497
|
+
waarschuwing: string;
|
|
35498
|
+
}[];
|
|
35499
|
+
} | {
|
|
35500
|
+
Args: {
|
|
35501
|
+
p_customer_id: string;
|
|
35502
|
+
p_location_ids: string[];
|
|
35503
|
+
};
|
|
35504
|
+
Returns: {
|
|
35505
|
+
location_id: string;
|
|
35506
|
+
resultaat: Json;
|
|
35507
|
+
}[];
|
|
35508
|
+
};
|
|
35509
|
+
logistics_resolve_carrier_many: {
|
|
35510
|
+
Args: {
|
|
35511
|
+
p_order_ids: string[];
|
|
35512
|
+
};
|
|
35513
|
+
Returns: {
|
|
35514
|
+
order_id: string;
|
|
35515
|
+
resultaat: Json;
|
|
35516
|
+
}[];
|
|
35517
|
+
};
|
|
34852
35518
|
logistics_resolve_pick_document: {
|
|
34853
35519
|
Args: {
|
|
34854
35520
|
_is_herprint: boolean;
|
|
@@ -34958,6 +35624,13 @@ export type Database = {
|
|
|
34958
35624
|
};
|
|
34959
35625
|
Returns: Json;
|
|
34960
35626
|
};
|
|
35627
|
+
logistics_set_order_carrier: {
|
|
35628
|
+
Args: {
|
|
35629
|
+
p_carrier_id: string;
|
|
35630
|
+
p_order_id: string;
|
|
35631
|
+
};
|
|
35632
|
+
Returns: Json;
|
|
35633
|
+
};
|
|
34961
35634
|
logistics_set_order_priority: {
|
|
34962
35635
|
Args: {
|
|
34963
35636
|
p_order_ref: string;
|
|
@@ -35193,6 +35866,16 @@ export type Database = {
|
|
|
35193
35866
|
};
|
|
35194
35867
|
Returns: string;
|
|
35195
35868
|
};
|
|
35869
|
+
logistics_sticker_copies: {
|
|
35870
|
+
Args: {
|
|
35871
|
+
p_fi: Json;
|
|
35872
|
+
p_order: string;
|
|
35873
|
+
p_sticker: string;
|
|
35874
|
+
p_trade_item: string;
|
|
35875
|
+
p_type: string;
|
|
35876
|
+
};
|
|
35877
|
+
Returns: Json;
|
|
35878
|
+
};
|
|
35196
35879
|
logistics_sticker_distribution: {
|
|
35197
35880
|
Args: {
|
|
35198
35881
|
p_copies: number;
|
|
@@ -35207,6 +35890,10 @@ export type Database = {
|
|
|
35207
35890
|
pieces: number;
|
|
35208
35891
|
}[];
|
|
35209
35892
|
};
|
|
35893
|
+
logistics_sticker_etiket_status: {
|
|
35894
|
+
Args: never;
|
|
35895
|
+
Returns: Json;
|
|
35896
|
+
};
|
|
35210
35897
|
logistics_sticker_external_fulfilled: {
|
|
35211
35898
|
Args: {
|
|
35212
35899
|
p_sticker_print_id: string;
|
|
@@ -35226,6 +35913,13 @@ export type Database = {
|
|
|
35226
35913
|
};
|
|
35227
35914
|
Returns: boolean;
|
|
35228
35915
|
};
|
|
35916
|
+
logistics_sticker_order_counts: {
|
|
35917
|
+
Args: {
|
|
35918
|
+
p_order: string;
|
|
35919
|
+
p_trade_item: string;
|
|
35920
|
+
};
|
|
35921
|
+
Returns: Json;
|
|
35922
|
+
};
|
|
35229
35923
|
logistics_sticker_parse_size: {
|
|
35230
35924
|
Args: {
|
|
35231
35925
|
p: Json;
|
|
@@ -38174,12 +38868,6 @@ export type Database = {
|
|
|
38174
38868
|
Args: never;
|
|
38175
38869
|
Returns: undefined;
|
|
38176
38870
|
};
|
|
38177
|
-
sync_cached_packing_from_product: {
|
|
38178
|
-
Args: {
|
|
38179
|
-
p_product_id: string;
|
|
38180
|
-
};
|
|
38181
|
-
Returns: undefined;
|
|
38182
|
-
};
|
|
38183
38871
|
sync_floriday_prices_into_price_groups: {
|
|
38184
38872
|
Args: never;
|
|
38185
38873
|
Returns: number;
|
|
@@ -38190,12 +38878,6 @@ export type Database = {
|
|
|
38190
38878
|
};
|
|
38191
38879
|
Returns: undefined;
|
|
38192
38880
|
};
|
|
38193
|
-
sync_order_cart_item_packing_from_product: {
|
|
38194
|
-
Args: {
|
|
38195
|
-
p_product_id: string;
|
|
38196
|
-
};
|
|
38197
|
-
Returns: undefined;
|
|
38198
|
-
};
|
|
38199
38881
|
sync_order_item_fusten: {
|
|
38200
38882
|
Args: {
|
|
38201
38883
|
_order_item_id: string;
|
|
@@ -38208,12 +38890,6 @@ export type Database = {
|
|
|
38208
38890
|
};
|
|
38209
38891
|
Returns: undefined;
|
|
38210
38892
|
};
|
|
38211
|
-
sync_product_packing_from_floriday_cache: {
|
|
38212
|
-
Args: {
|
|
38213
|
-
p_floriday_id: string;
|
|
38214
|
-
};
|
|
38215
|
-
Returns: undefined;
|
|
38216
|
-
};
|
|
38217
38893
|
sync_sick_time_off: {
|
|
38218
38894
|
Args: {
|
|
38219
38895
|
_period_id: string;
|
|
@@ -38244,6 +38920,15 @@ export type Database = {
|
|
|
38244
38920
|
};
|
|
38245
38921
|
Returns: boolean;
|
|
38246
38922
|
};
|
|
38923
|
+
twinfield_auth_install_check: {
|
|
38924
|
+
Args: never;
|
|
38925
|
+
Returns: {
|
|
38926
|
+
object_kind: string;
|
|
38927
|
+
object_name: string;
|
|
38928
|
+
present: boolean;
|
|
38929
|
+
schema_version: string;
|
|
38930
|
+
}[];
|
|
38931
|
+
};
|
|
38247
38932
|
twinfield_cancel_queue_item: {
|
|
38248
38933
|
Args: {
|
|
38249
38934
|
p_id: string;
|
|
@@ -38253,9 +38938,30 @@ export type Database = {
|
|
|
38253
38938
|
twinfield_connection_offices: {
|
|
38254
38939
|
Args: never;
|
|
38255
38940
|
Returns: {
|
|
38941
|
+
company_name: string;
|
|
38942
|
+
connection_id: string;
|
|
38943
|
+
environment: string;
|
|
38944
|
+
in_shell_omgeving: boolean;
|
|
38945
|
+
is_active: boolean;
|
|
38946
|
+
label_source: string;
|
|
38947
|
+
office_code: string;
|
|
38948
|
+
}[];
|
|
38949
|
+
};
|
|
38950
|
+
twinfield_connection_usage: {
|
|
38951
|
+
Args: never;
|
|
38952
|
+
Returns: {
|
|
38953
|
+
archived: boolean;
|
|
38954
|
+
company_name: string;
|
|
38955
|
+
connected_at: string;
|
|
38256
38956
|
connection_id: string;
|
|
38957
|
+
environment: string;
|
|
38958
|
+
gebruikt_door_facturatie: boolean;
|
|
38959
|
+
in_shell_omgeving: boolean;
|
|
38257
38960
|
is_active: boolean;
|
|
38961
|
+
label_source: string;
|
|
38962
|
+
leest: boolean;
|
|
38258
38963
|
office_code: string;
|
|
38964
|
+
user_id: string;
|
|
38259
38965
|
}[];
|
|
38260
38966
|
};
|
|
38261
38967
|
twinfield_cron_lock_acquire: {
|
|
@@ -38279,6 +38985,26 @@ export type Database = {
|
|
|
38279
38985
|
};
|
|
38280
38986
|
Returns: Json;
|
|
38281
38987
|
};
|
|
38988
|
+
twinfield_facturatie_assert_server: {
|
|
38989
|
+
Args: {
|
|
38990
|
+
_functie: string;
|
|
38991
|
+
};
|
|
38992
|
+
Returns: undefined;
|
|
38993
|
+
};
|
|
38994
|
+
twinfield_facturatie_assert_trigger_or_server: {
|
|
38995
|
+
Args: {
|
|
38996
|
+
_functie: string;
|
|
38997
|
+
};
|
|
38998
|
+
Returns: undefined;
|
|
38999
|
+
};
|
|
39000
|
+
twinfield_facturatie_install_check: {
|
|
39001
|
+
Args: never;
|
|
39002
|
+
Returns: Json;
|
|
39003
|
+
};
|
|
39004
|
+
twinfield_facturatie_is_server: {
|
|
39005
|
+
Args: never;
|
|
39006
|
+
Returns: boolean;
|
|
39007
|
+
};
|
|
38282
39008
|
twinfield_gated_queue: {
|
|
38283
39009
|
Args: {
|
|
38284
39010
|
p_connection_id: string;
|
|
@@ -38303,10 +39029,24 @@ export type Database = {
|
|
|
38303
39029
|
Args: never;
|
|
38304
39030
|
Returns: boolean;
|
|
38305
39031
|
};
|
|
39032
|
+
twinfield_mark_label_pending: {
|
|
39033
|
+
Args: {
|
|
39034
|
+
p_connection_id: string;
|
|
39035
|
+
};
|
|
39036
|
+
Returns: boolean;
|
|
39037
|
+
};
|
|
38306
39038
|
twinfield_prune_push_queue: {
|
|
38307
39039
|
Args: never;
|
|
38308
39040
|
Returns: number;
|
|
38309
39041
|
};
|
|
39042
|
+
twinfield_record_central_facts: {
|
|
39043
|
+
Args: {
|
|
39044
|
+
p_central_environment: string;
|
|
39045
|
+
p_connection_id: string;
|
|
39046
|
+
p_organisation_code: string;
|
|
39047
|
+
};
|
|
39048
|
+
Returns: Json;
|
|
39049
|
+
};
|
|
38310
39050
|
twinfield_register_cron: {
|
|
38311
39051
|
Args: {
|
|
38312
39052
|
apikey?: string;
|
|
@@ -38314,6 +39054,14 @@ export type Database = {
|
|
|
38314
39054
|
};
|
|
38315
39055
|
Returns: Json;
|
|
38316
39056
|
};
|
|
39057
|
+
twinfield_set_connection_label: {
|
|
39058
|
+
Args: {
|
|
39059
|
+
p_also_shell?: boolean;
|
|
39060
|
+
p_connection_id: string;
|
|
39061
|
+
p_environment: string;
|
|
39062
|
+
};
|
|
39063
|
+
Returns: Json;
|
|
39064
|
+
};
|
|
38317
39065
|
twinfield_set_write_enabled: {
|
|
38318
39066
|
Args: {
|
|
38319
39067
|
p_connection_id: string;
|
|
@@ -38895,6 +39643,49 @@ export type Database = {
|
|
|
38895
39643
|
};
|
|
38896
39644
|
Returns: Json;
|
|
38897
39645
|
};
|
|
39646
|
+
verkoop_insert_manual_order: {
|
|
39647
|
+
Args: {
|
|
39648
|
+
p_idempotency_key: string;
|
|
39649
|
+
p_items: Json;
|
|
39650
|
+
p_order: Json;
|
|
39651
|
+
};
|
|
39652
|
+
Returns: Json;
|
|
39653
|
+
};
|
|
39654
|
+
verkoop_packing_drift_apply: {
|
|
39655
|
+
Args: {
|
|
39656
|
+
p_order_ids: string[];
|
|
39657
|
+
};
|
|
39658
|
+
Returns: {
|
|
39659
|
+
lines_updated: number;
|
|
39660
|
+
order_id: string;
|
|
39661
|
+
order_number: string;
|
|
39662
|
+
replan_event: string;
|
|
39663
|
+
}[];
|
|
39664
|
+
};
|
|
39665
|
+
verkoop_packing_drift_report: {
|
|
39666
|
+
Args: never;
|
|
39667
|
+
Returns: {
|
|
39668
|
+
afgesloten: boolean;
|
|
39669
|
+
cache_match: string;
|
|
39670
|
+
cur_crates_per_layer: number;
|
|
39671
|
+
cur_layers_per_cart: number;
|
|
39672
|
+
cur_load_carrier_type: string;
|
|
39673
|
+
cur_packing_source: string;
|
|
39674
|
+
cur_plants_per_crate: number;
|
|
39675
|
+
cur_vbn_package_code: string;
|
|
39676
|
+
fd_crates_per_layer: number;
|
|
39677
|
+
fd_layers_per_cart: number;
|
|
39678
|
+
fd_load_carrier_type: string;
|
|
39679
|
+
fd_plants_per_crate: number;
|
|
39680
|
+
fd_vbn_package_code: string;
|
|
39681
|
+
order_id: string;
|
|
39682
|
+
order_item_id: string;
|
|
39683
|
+
order_number: string;
|
|
39684
|
+
order_status: string;
|
|
39685
|
+
sales_order_id: string;
|
|
39686
|
+
vastgezet: boolean;
|
|
39687
|
+
}[];
|
|
39688
|
+
};
|
|
38898
39689
|
vervang_printer: {
|
|
38899
39690
|
Args: {
|
|
38900
39691
|
_nieuw: string;
|