@flowselections/floriday-klanten-module 1.0.64 → 1.0.67
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/klanten/CarrierAdminCard.d.ts +3 -0
- package/dist-lib/components/klanten/CarrierAdminCard.d.ts.map +1 -0
- package/dist-lib/components/klanten/CarrierAdminCard.js +23 -0
- package/dist-lib/components/klanten/CarrierPicker.d.ts +221 -0
- package/dist-lib/components/klanten/CarrierPicker.d.ts.map +1 -0
- package/dist-lib/components/klanten/CarrierPicker.js +74 -0
- package/dist-lib/components/klanten/CustomerCarrierCard.d.ts +5 -0
- package/dist-lib/components/klanten/CustomerCarrierCard.d.ts.map +1 -0
- package/dist-lib/components/klanten/CustomerCarrierCard.js +36 -0
- package/dist-lib/components/klanten/DeliveryLocationsTab.d.ts.map +1 -1
- package/dist-lib/components/klanten/DeliveryLocationsTab.js +38 -45
- package/dist-lib/components/klanten/KlantDetail.d.ts.map +1 -1
- package/dist-lib/components/klanten/KlantDetail.js +2 -1
- package/dist-lib/components/klanten/KlantFormulier.d.ts.map +1 -1
- package/dist-lib/components/klanten/KlantFormulier.js +8 -12
- package/dist-lib/components/klanten/KlantenOverzicht.d.ts.map +1 -1
- package/dist-lib/components/klanten/KlantenOverzicht.js +7 -3
- package/dist-lib/integrations/supabase/types.d.ts +1357 -28
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/carrier-choice.d.ts +60 -0
- package/dist-lib/lib/carrier-choice.d.ts.map +1 -0
- package/dist-lib/lib/carrier-choice.js +68 -0
- package/dist-lib/lib/carriers.functions.d.ts +82 -0
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -0
- package/dist-lib/lib/carriers.functions.js +180 -0
- package/dist-lib/lib/countries.d.ts +2 -0
- package/dist-lib/lib/countries.d.ts.map +1 -1
- package/dist-lib/lib/countries.js +2 -0
- package/dist-lib/lib/customer-schemas.d.ts +108 -2
- package/dist-lib/lib/customer-schemas.d.ts.map +1 -1
- package/dist-lib/lib/customer-schemas.js +15 -1
- package/dist-lib/lib/customers.functions.d.ts +4 -1
- package/dist-lib/lib/customers.functions.d.ts.map +1 -1
- package/dist-lib/lib/customers.functions.js +7 -0
- package/dist-lib/lib/delivery-locations.functions.d.ts +2 -2
- package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
- package/dist-lib/lib/delivery-locations.functions.js +31 -38
- package/dist-lib/lib/price-groups-local.functions.d.ts.map +1 -1
- package/dist-lib/lib/price-groups-local.functions.js +4 -1
- package/dist-lib/lib/twinfield-adopt.functions.d.ts +2 -1
- package/dist-lib/lib/twinfield-adopt.functions.d.ts.map +1 -1
- package/dist-lib/lib/twinfield-adopt.functions.js +2 -2
- package/dist-lib/lib/twinfield-customer-defaults.server.js +2 -2
- package/package.json +11 -3
- package/schema/klanten.sql +514 -48
|
@@ -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
|
};
|
|
@@ -1531,6 +1594,7 @@ export type Database = {
|
|
|
1531
1594
|
cart_numbers: {
|
|
1532
1595
|
Row: {
|
|
1533
1596
|
assigned_at: string;
|
|
1597
|
+
cart_id: string | null;
|
|
1534
1598
|
cart_index: number;
|
|
1535
1599
|
cart_number: string;
|
|
1536
1600
|
day_seq: number | null;
|
|
@@ -1544,6 +1608,7 @@ export type Database = {
|
|
|
1544
1608
|
};
|
|
1545
1609
|
Insert: {
|
|
1546
1610
|
assigned_at?: string;
|
|
1611
|
+
cart_id?: string | null;
|
|
1547
1612
|
cart_index: number;
|
|
1548
1613
|
cart_number: string;
|
|
1549
1614
|
day_seq?: number | null;
|
|
@@ -1557,6 +1622,7 @@ export type Database = {
|
|
|
1557
1622
|
};
|
|
1558
1623
|
Update: {
|
|
1559
1624
|
assigned_at?: string;
|
|
1625
|
+
cart_id?: string | null;
|
|
1560
1626
|
cart_index?: number;
|
|
1561
1627
|
cart_number?: string;
|
|
1562
1628
|
day_seq?: number | null;
|
|
@@ -2651,6 +2717,7 @@ export type Database = {
|
|
|
2651
2717
|
custom_fields: Json;
|
|
2652
2718
|
customer_class: string | null;
|
|
2653
2719
|
customer_number: string | null;
|
|
2720
|
+
default_carrier_id: string | null;
|
|
2654
2721
|
discount_days: number | null;
|
|
2655
2722
|
discount_percentage: number | null;
|
|
2656
2723
|
discount_surcharge: string;
|
|
@@ -2743,6 +2810,7 @@ export type Database = {
|
|
|
2743
2810
|
custom_fields?: Json;
|
|
2744
2811
|
customer_class?: string | null;
|
|
2745
2812
|
customer_number?: string | null;
|
|
2813
|
+
default_carrier_id?: string | null;
|
|
2746
2814
|
discount_days?: number | null;
|
|
2747
2815
|
discount_percentage?: number | null;
|
|
2748
2816
|
discount_surcharge?: string;
|
|
@@ -2835,6 +2903,7 @@ export type Database = {
|
|
|
2835
2903
|
custom_fields?: Json;
|
|
2836
2904
|
customer_class?: string | null;
|
|
2837
2905
|
customer_number?: string | null;
|
|
2906
|
+
default_carrier_id?: string | null;
|
|
2838
2907
|
discount_days?: number | null;
|
|
2839
2908
|
discount_percentage?: number | null;
|
|
2840
2909
|
discount_surcharge?: string;
|
|
@@ -2888,7 +2957,15 @@ export type Database = {
|
|
|
2888
2957
|
vat_number?: string | null;
|
|
2889
2958
|
website?: string | null;
|
|
2890
2959
|
};
|
|
2891
|
-
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
|
+
];
|
|
2892
2969
|
};
|
|
2893
2970
|
dashboard_ai_conversations: {
|
|
2894
2971
|
Row: {
|
|
@@ -7276,16 +7353,22 @@ export type Database = {
|
|
|
7276
7353
|
connection_id: string;
|
|
7277
7354
|
created_at: string;
|
|
7278
7355
|
data: Json;
|
|
7356
|
+
delivery_date_time: string | null;
|
|
7279
7357
|
fetched_at: string;
|
|
7280
7358
|
floriday_id: string;
|
|
7359
|
+
has_file: boolean | null;
|
|
7281
7360
|
id: string;
|
|
7282
7361
|
is_deleted: boolean;
|
|
7362
|
+
is_handled: boolean | null;
|
|
7363
|
+
last_requested_on: string | null;
|
|
7364
|
+
number_of_copies: number | null;
|
|
7283
7365
|
quantity: number | null;
|
|
7284
7366
|
sales_order_id: string | null;
|
|
7285
7367
|
sequence_number: number;
|
|
7286
7368
|
should_be_printed: boolean | null;
|
|
7287
7369
|
status: string | null;
|
|
7288
7370
|
sticker_height_mm: number | null;
|
|
7371
|
+
sticker_provided_by: string | null;
|
|
7289
7372
|
sticker_type: string | null;
|
|
7290
7373
|
sticker_width_mm: number | null;
|
|
7291
7374
|
trade_item_id: string | null;
|
|
@@ -7295,16 +7378,22 @@ export type Database = {
|
|
|
7295
7378
|
connection_id: string;
|
|
7296
7379
|
created_at?: string;
|
|
7297
7380
|
data?: Json;
|
|
7381
|
+
delivery_date_time?: string | null;
|
|
7298
7382
|
fetched_at?: string;
|
|
7299
7383
|
floriday_id: string;
|
|
7384
|
+
has_file?: boolean | null;
|
|
7300
7385
|
id?: string;
|
|
7301
7386
|
is_deleted?: boolean;
|
|
7387
|
+
is_handled?: boolean | null;
|
|
7388
|
+
last_requested_on?: string | null;
|
|
7389
|
+
number_of_copies?: number | null;
|
|
7302
7390
|
quantity?: number | null;
|
|
7303
7391
|
sales_order_id?: string | null;
|
|
7304
7392
|
sequence_number?: number;
|
|
7305
7393
|
should_be_printed?: boolean | null;
|
|
7306
7394
|
status?: string | null;
|
|
7307
7395
|
sticker_height_mm?: number | null;
|
|
7396
|
+
sticker_provided_by?: string | null;
|
|
7308
7397
|
sticker_type?: string | null;
|
|
7309
7398
|
sticker_width_mm?: number | null;
|
|
7310
7399
|
trade_item_id?: string | null;
|
|
@@ -7314,16 +7403,22 @@ export type Database = {
|
|
|
7314
7403
|
connection_id?: string;
|
|
7315
7404
|
created_at?: string;
|
|
7316
7405
|
data?: Json;
|
|
7406
|
+
delivery_date_time?: string | null;
|
|
7317
7407
|
fetched_at?: string;
|
|
7318
7408
|
floriday_id?: string;
|
|
7409
|
+
has_file?: boolean | null;
|
|
7319
7410
|
id?: string;
|
|
7320
7411
|
is_deleted?: boolean;
|
|
7412
|
+
is_handled?: boolean | null;
|
|
7413
|
+
last_requested_on?: string | null;
|
|
7414
|
+
number_of_copies?: number | null;
|
|
7321
7415
|
quantity?: number | null;
|
|
7322
7416
|
sales_order_id?: string | null;
|
|
7323
7417
|
sequence_number?: number;
|
|
7324
7418
|
should_be_printed?: boolean | null;
|
|
7325
7419
|
status?: string | null;
|
|
7326
7420
|
sticker_height_mm?: number | null;
|
|
7421
|
+
sticker_provided_by?: string | null;
|
|
7327
7422
|
sticker_type?: string | null;
|
|
7328
7423
|
sticker_width_mm?: number | null;
|
|
7329
7424
|
trade_item_id?: string | null;
|
|
@@ -8206,6 +8301,59 @@ export type Database = {
|
|
|
8206
8301
|
};
|
|
8207
8302
|
Relationships: [];
|
|
8208
8303
|
};
|
|
8304
|
+
floriday_packing_mismatches: {
|
|
8305
|
+
Row: {
|
|
8306
|
+
api_value: Json | null;
|
|
8307
|
+
cache_is_deleted: boolean;
|
|
8308
|
+
cache_value: Json | null;
|
|
8309
|
+
check_outcome: string;
|
|
8310
|
+
connection_id: string;
|
|
8311
|
+
details: string | null;
|
|
8312
|
+
detected_at: string;
|
|
8313
|
+
entity: string;
|
|
8314
|
+
floriday_id: string;
|
|
8315
|
+
id: string;
|
|
8316
|
+
last_checked_at: string;
|
|
8317
|
+
resolved_at: string | null;
|
|
8318
|
+
};
|
|
8319
|
+
Insert: {
|
|
8320
|
+
api_value?: Json | null;
|
|
8321
|
+
cache_is_deleted?: boolean;
|
|
8322
|
+
cache_value?: Json | null;
|
|
8323
|
+
check_outcome?: string;
|
|
8324
|
+
connection_id: string;
|
|
8325
|
+
details?: string | null;
|
|
8326
|
+
detected_at?: string;
|
|
8327
|
+
entity: string;
|
|
8328
|
+
floriday_id: string;
|
|
8329
|
+
id?: string;
|
|
8330
|
+
last_checked_at?: string;
|
|
8331
|
+
resolved_at?: string | null;
|
|
8332
|
+
};
|
|
8333
|
+
Update: {
|
|
8334
|
+
api_value?: Json | null;
|
|
8335
|
+
cache_is_deleted?: boolean;
|
|
8336
|
+
cache_value?: Json | null;
|
|
8337
|
+
check_outcome?: string;
|
|
8338
|
+
connection_id?: string;
|
|
8339
|
+
details?: string | null;
|
|
8340
|
+
detected_at?: string;
|
|
8341
|
+
entity?: string;
|
|
8342
|
+
floriday_id?: string;
|
|
8343
|
+
id?: string;
|
|
8344
|
+
last_checked_at?: string;
|
|
8345
|
+
resolved_at?: string | null;
|
|
8346
|
+
};
|
|
8347
|
+
Relationships: [
|
|
8348
|
+
{
|
|
8349
|
+
foreignKeyName: "floriday_packing_mismatches_connection_id_fkey";
|
|
8350
|
+
columns: ["connection_id"];
|
|
8351
|
+
isOneToOne: false;
|
|
8352
|
+
referencedRelation: "floriday_connections";
|
|
8353
|
+
referencedColumns: ["id"];
|
|
8354
|
+
}
|
|
8355
|
+
];
|
|
8356
|
+
};
|
|
8209
8357
|
floriday_packings_cache: {
|
|
8210
8358
|
Row: {
|
|
8211
8359
|
connection_id: string;
|
|
@@ -9335,6 +9483,105 @@ export type Database = {
|
|
|
9335
9483
|
};
|
|
9336
9484
|
Relationships: [];
|
|
9337
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
|
+
};
|
|
9338
9585
|
fust_stock_mutations: {
|
|
9339
9586
|
Row: {
|
|
9340
9587
|
created_at: string;
|
|
@@ -11444,6 +11691,33 @@ export type Database = {
|
|
|
11444
11691
|
};
|
|
11445
11692
|
Relationships: [];
|
|
11446
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
|
+
};
|
|
11447
11721
|
layout_auto_acties: {
|
|
11448
11722
|
Row: {
|
|
11449
11723
|
actie: string;
|
|
@@ -12149,6 +12423,36 @@ export type Database = {
|
|
|
12149
12423
|
};
|
|
12150
12424
|
Relationships: [];
|
|
12151
12425
|
};
|
|
12426
|
+
logistics_belading_bevestigingen: {
|
|
12427
|
+
Row: {
|
|
12428
|
+
bevestigd_door: string | null;
|
|
12429
|
+
bevestigd_op: string;
|
|
12430
|
+
created_at: string;
|
|
12431
|
+
id: string;
|
|
12432
|
+
order_id: string;
|
|
12433
|
+
redenen: string[];
|
|
12434
|
+
verpakking_sleutel: string;
|
|
12435
|
+
};
|
|
12436
|
+
Insert: {
|
|
12437
|
+
bevestigd_door?: string | null;
|
|
12438
|
+
bevestigd_op?: string;
|
|
12439
|
+
created_at?: string;
|
|
12440
|
+
id?: string;
|
|
12441
|
+
order_id: string;
|
|
12442
|
+
redenen?: string[];
|
|
12443
|
+
verpakking_sleutel: string;
|
|
12444
|
+
};
|
|
12445
|
+
Update: {
|
|
12446
|
+
bevestigd_door?: string | null;
|
|
12447
|
+
bevestigd_op?: string;
|
|
12448
|
+
created_at?: string;
|
|
12449
|
+
id?: string;
|
|
12450
|
+
order_id?: string;
|
|
12451
|
+
redenen?: string[];
|
|
12452
|
+
verpakking_sleutel?: string;
|
|
12453
|
+
};
|
|
12454
|
+
Relationships: [];
|
|
12455
|
+
};
|
|
12152
12456
|
logistics_capacity_alerts: {
|
|
12153
12457
|
Row: {
|
|
12154
12458
|
available_minutes: number;
|
|
@@ -12301,6 +12605,81 @@ export type Database = {
|
|
|
12301
12605
|
};
|
|
12302
12606
|
Relationships: [];
|
|
12303
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
|
+
};
|
|
12304
12683
|
logistics_cart_archive_log: {
|
|
12305
12684
|
Row: {
|
|
12306
12685
|
action: string;
|
|
@@ -14198,6 +14577,7 @@ export type Database = {
|
|
|
14198
14577
|
hoogte_mm: number | null;
|
|
14199
14578
|
id: string;
|
|
14200
14579
|
kopieen: number;
|
|
14580
|
+
kopieen_bron: string | null;
|
|
14201
14581
|
next_attempt_at: string | null;
|
|
14202
14582
|
order_id: string | null;
|
|
14203
14583
|
order_number: string | null;
|
|
@@ -14225,6 +14605,7 @@ export type Database = {
|
|
|
14225
14605
|
hoogte_mm?: number | null;
|
|
14226
14606
|
id?: string;
|
|
14227
14607
|
kopieen?: number;
|
|
14608
|
+
kopieen_bron?: string | null;
|
|
14228
14609
|
next_attempt_at?: string | null;
|
|
14229
14610
|
order_id?: string | null;
|
|
14230
14611
|
order_number?: string | null;
|
|
@@ -14252,6 +14633,7 @@ export type Database = {
|
|
|
14252
14633
|
hoogte_mm?: number | null;
|
|
14253
14634
|
id?: string;
|
|
14254
14635
|
kopieen?: number;
|
|
14636
|
+
kopieen_bron?: string | null;
|
|
14255
14637
|
next_attempt_at?: string | null;
|
|
14256
14638
|
order_id?: string | null;
|
|
14257
14639
|
order_number?: string | null;
|
|
@@ -17519,60 +17901,72 @@ export type Database = {
|
|
|
17519
17901
|
created_at: string;
|
|
17520
17902
|
id: string;
|
|
17521
17903
|
layers_per_cart: number | null;
|
|
17904
|
+
load_carrier_type: string | null;
|
|
17522
17905
|
needs_sticker: boolean;
|
|
17523
17906
|
order_id: string;
|
|
17524
17907
|
packing_locked_at: string | null;
|
|
17525
17908
|
packing_locked_by: string | null;
|
|
17909
|
+
packing_source: string | null;
|
|
17526
17910
|
plants_per_crate: number | null;
|
|
17527
17911
|
product_id: string | null;
|
|
17528
17912
|
product_name: string;
|
|
17529
17913
|
quantity: number;
|
|
17914
|
+
quantity_crates: number | null;
|
|
17530
17915
|
quarantine_reason: string | null;
|
|
17531
17916
|
quarantined_at: string | null;
|
|
17532
17917
|
quarantined_into_order_id: string | null;
|
|
17533
17918
|
source_line_key: string | null;
|
|
17534
17919
|
unit: string;
|
|
17535
17920
|
unit_price: number | null;
|
|
17921
|
+
vbn_package_code: string | null;
|
|
17536
17922
|
};
|
|
17537
17923
|
Insert: {
|
|
17538
17924
|
crates_per_layer?: number | null;
|
|
17539
17925
|
created_at?: string;
|
|
17540
17926
|
id?: string;
|
|
17541
17927
|
layers_per_cart?: number | null;
|
|
17928
|
+
load_carrier_type?: string | null;
|
|
17542
17929
|
needs_sticker?: boolean;
|
|
17543
17930
|
order_id: string;
|
|
17544
17931
|
packing_locked_at?: string | null;
|
|
17545
17932
|
packing_locked_by?: string | null;
|
|
17933
|
+
packing_source?: string | null;
|
|
17546
17934
|
plants_per_crate?: number | null;
|
|
17547
17935
|
product_id?: string | null;
|
|
17548
17936
|
product_name: string;
|
|
17549
17937
|
quantity?: number;
|
|
17938
|
+
quantity_crates?: number | null;
|
|
17550
17939
|
quarantine_reason?: string | null;
|
|
17551
17940
|
quarantined_at?: string | null;
|
|
17552
17941
|
quarantined_into_order_id?: string | null;
|
|
17553
17942
|
source_line_key?: string | null;
|
|
17554
17943
|
unit?: string;
|
|
17555
17944
|
unit_price?: number | null;
|
|
17945
|
+
vbn_package_code?: string | null;
|
|
17556
17946
|
};
|
|
17557
17947
|
Update: {
|
|
17558
17948
|
crates_per_layer?: number | null;
|
|
17559
17949
|
created_at?: string;
|
|
17560
17950
|
id?: string;
|
|
17561
17951
|
layers_per_cart?: number | null;
|
|
17952
|
+
load_carrier_type?: string | null;
|
|
17562
17953
|
needs_sticker?: boolean;
|
|
17563
17954
|
order_id?: string;
|
|
17564
17955
|
packing_locked_at?: string | null;
|
|
17565
17956
|
packing_locked_by?: string | null;
|
|
17957
|
+
packing_source?: string | null;
|
|
17566
17958
|
plants_per_crate?: number | null;
|
|
17567
17959
|
product_id?: string | null;
|
|
17568
17960
|
product_name?: string;
|
|
17569
17961
|
quantity?: number;
|
|
17962
|
+
quantity_crates?: number | null;
|
|
17570
17963
|
quarantine_reason?: string | null;
|
|
17571
17964
|
quarantined_at?: string | null;
|
|
17572
17965
|
quarantined_into_order_id?: string | null;
|
|
17573
17966
|
source_line_key?: string | null;
|
|
17574
17967
|
unit?: string;
|
|
17575
17968
|
unit_price?: number | null;
|
|
17969
|
+
vbn_package_code?: string | null;
|
|
17576
17970
|
};
|
|
17577
17971
|
Relationships: [
|
|
17578
17972
|
{
|
|
@@ -17764,6 +18158,12 @@ export type Database = {
|
|
|
17764
18158
|
buffer_id: string | null;
|
|
17765
18159
|
cancel_reason: string | null;
|
|
17766
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;
|
|
17767
18167
|
created_at: string;
|
|
17768
18168
|
custom_fields: Json;
|
|
17769
18169
|
customer_id: string | null;
|
|
@@ -17792,6 +18192,12 @@ export type Database = {
|
|
|
17792
18192
|
buffer_id?: string | null;
|
|
17793
18193
|
cancel_reason?: string | null;
|
|
17794
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;
|
|
17795
18201
|
created_at?: string;
|
|
17796
18202
|
custom_fields?: Json;
|
|
17797
18203
|
customer_id?: string | null;
|
|
@@ -17820,6 +18226,12 @@ export type Database = {
|
|
|
17820
18226
|
buffer_id?: string | null;
|
|
17821
18227
|
cancel_reason?: string | null;
|
|
17822
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;
|
|
17823
18235
|
created_at?: string;
|
|
17824
18236
|
custom_fields?: Json;
|
|
17825
18237
|
customer_id?: string | null;
|
|
@@ -17852,6 +18264,13 @@ export type Database = {
|
|
|
17852
18264
|
referencedRelation: "order_buffers";
|
|
17853
18265
|
referencedColumns: ["id"];
|
|
17854
18266
|
},
|
|
18267
|
+
{
|
|
18268
|
+
foreignKeyName: "orders_carrier_id_fkey";
|
|
18269
|
+
columns: ["carrier_id"];
|
|
18270
|
+
isOneToOne: false;
|
|
18271
|
+
referencedRelation: "carriers";
|
|
18272
|
+
referencedColumns: ["id"];
|
|
18273
|
+
},
|
|
17855
18274
|
{
|
|
17856
18275
|
foreignKeyName: "orders_customer_id_fkey";
|
|
17857
18276
|
columns: ["customer_id"];
|
|
@@ -21442,6 +21861,85 @@ export type Database = {
|
|
|
21442
21861
|
};
|
|
21443
21862
|
Relationships: [];
|
|
21444
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
|
+
};
|
|
21445
21943
|
product_suppliers: {
|
|
21446
21944
|
Row: {
|
|
21447
21945
|
created_at: string;
|
|
@@ -24617,16 +25115,56 @@ export type Database = {
|
|
|
24617
25115
|
}
|
|
24618
25116
|
];
|
|
24619
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
|
+
};
|
|
24620
25157
|
twinfield_connections: {
|
|
24621
25158
|
Row: {
|
|
24622
25159
|
account_key: string | null;
|
|
25160
|
+
central_environment: string | null;
|
|
24623
25161
|
cluster_uri: string | null;
|
|
24624
25162
|
company_code: string | null;
|
|
24625
25163
|
company_name: string | null;
|
|
24626
25164
|
connected_at: string | null;
|
|
24627
25165
|
created_at: string;
|
|
24628
25166
|
disconnected_at: string | null;
|
|
24629
|
-
environment: string;
|
|
25167
|
+
environment: string | null;
|
|
24630
25168
|
granted_scopes: string[] | null;
|
|
24631
25169
|
id: string;
|
|
24632
25170
|
initial_sync_completed_at: string | null;
|
|
@@ -24635,8 +25173,12 @@ export type Database = {
|
|
|
24635
25173
|
initial_sync_started_at: string | null;
|
|
24636
25174
|
is_active: boolean;
|
|
24637
25175
|
label: string | null;
|
|
25176
|
+
label_set_at: string | null;
|
|
25177
|
+
label_set_by: string | null;
|
|
25178
|
+
label_source: string | null;
|
|
24638
25179
|
missing_scopes: string[] | null;
|
|
24639
25180
|
office_code: string | null;
|
|
25181
|
+
organisation_code: string | null;
|
|
24640
25182
|
redirect_uri: string | null;
|
|
24641
25183
|
scope_checked_at: string | null;
|
|
24642
25184
|
scope_state: string | null;
|
|
@@ -24650,13 +25192,14 @@ export type Database = {
|
|
|
24650
25192
|
};
|
|
24651
25193
|
Insert: {
|
|
24652
25194
|
account_key?: string | null;
|
|
25195
|
+
central_environment?: string | null;
|
|
24653
25196
|
cluster_uri?: string | null;
|
|
24654
25197
|
company_code?: string | null;
|
|
24655
25198
|
company_name?: string | null;
|
|
24656
25199
|
connected_at?: string | null;
|
|
24657
25200
|
created_at?: string;
|
|
24658
25201
|
disconnected_at?: string | null;
|
|
24659
|
-
environment
|
|
25202
|
+
environment?: string | null;
|
|
24660
25203
|
granted_scopes?: string[] | null;
|
|
24661
25204
|
id?: string;
|
|
24662
25205
|
initial_sync_completed_at?: string | null;
|
|
@@ -24665,8 +25208,12 @@ export type Database = {
|
|
|
24665
25208
|
initial_sync_started_at?: string | null;
|
|
24666
25209
|
is_active?: boolean;
|
|
24667
25210
|
label?: string | null;
|
|
25211
|
+
label_set_at?: string | null;
|
|
25212
|
+
label_set_by?: string | null;
|
|
25213
|
+
label_source?: string | null;
|
|
24668
25214
|
missing_scopes?: string[] | null;
|
|
24669
25215
|
office_code?: string | null;
|
|
25216
|
+
organisation_code?: string | null;
|
|
24670
25217
|
redirect_uri?: string | null;
|
|
24671
25218
|
scope_checked_at?: string | null;
|
|
24672
25219
|
scope_state?: string | null;
|
|
@@ -24680,13 +25227,14 @@ export type Database = {
|
|
|
24680
25227
|
};
|
|
24681
25228
|
Update: {
|
|
24682
25229
|
account_key?: string | null;
|
|
25230
|
+
central_environment?: string | null;
|
|
24683
25231
|
cluster_uri?: string | null;
|
|
24684
25232
|
company_code?: string | null;
|
|
24685
25233
|
company_name?: string | null;
|
|
24686
25234
|
connected_at?: string | null;
|
|
24687
25235
|
created_at?: string;
|
|
24688
25236
|
disconnected_at?: string | null;
|
|
24689
|
-
environment?: string;
|
|
25237
|
+
environment?: string | null;
|
|
24690
25238
|
granted_scopes?: string[] | null;
|
|
24691
25239
|
id?: string;
|
|
24692
25240
|
initial_sync_completed_at?: string | null;
|
|
@@ -24695,8 +25243,12 @@ export type Database = {
|
|
|
24695
25243
|
initial_sync_started_at?: string | null;
|
|
24696
25244
|
is_active?: boolean;
|
|
24697
25245
|
label?: string | null;
|
|
25246
|
+
label_set_at?: string | null;
|
|
25247
|
+
label_set_by?: string | null;
|
|
25248
|
+
label_source?: string | null;
|
|
24698
25249
|
missing_scopes?: string[] | null;
|
|
24699
25250
|
office_code?: string | null;
|
|
25251
|
+
organisation_code?: string | null;
|
|
24700
25252
|
redirect_uri?: string | null;
|
|
24701
25253
|
scope_checked_at?: string | null;
|
|
24702
25254
|
scope_state?: string | null;
|
|
@@ -25636,33 +26188,36 @@ export type Database = {
|
|
|
25636
26188
|
};
|
|
25637
26189
|
twinfield_settings: {
|
|
25638
26190
|
Row: {
|
|
25639
|
-
active_environment: string;
|
|
26191
|
+
active_environment: string | null;
|
|
25640
26192
|
cron_registered_at: string | null;
|
|
25641
26193
|
cron_registration_error: string | null;
|
|
25642
26194
|
cron_schedules: Json;
|
|
25643
26195
|
cron_timeouts: Json;
|
|
25644
26196
|
id: number;
|
|
25645
26197
|
public_base_url: string | null;
|
|
26198
|
+
token_route_bearer_open: boolean;
|
|
25646
26199
|
updated_at: string;
|
|
25647
26200
|
};
|
|
25648
26201
|
Insert: {
|
|
25649
|
-
active_environment?: string;
|
|
26202
|
+
active_environment?: string | null;
|
|
25650
26203
|
cron_registered_at?: string | null;
|
|
25651
26204
|
cron_registration_error?: string | null;
|
|
25652
26205
|
cron_schedules?: Json;
|
|
25653
26206
|
cron_timeouts?: Json;
|
|
25654
26207
|
id?: number;
|
|
25655
26208
|
public_base_url?: string | null;
|
|
26209
|
+
token_route_bearer_open?: boolean;
|
|
25656
26210
|
updated_at?: string;
|
|
25657
26211
|
};
|
|
25658
26212
|
Update: {
|
|
25659
|
-
active_environment?: string;
|
|
26213
|
+
active_environment?: string | null;
|
|
25660
26214
|
cron_registered_at?: string | null;
|
|
25661
26215
|
cron_registration_error?: string | null;
|
|
25662
26216
|
cron_schedules?: Json;
|
|
25663
26217
|
cron_timeouts?: Json;
|
|
25664
26218
|
id?: number;
|
|
25665
26219
|
public_base_url?: string | null;
|
|
26220
|
+
token_route_bearer_open?: boolean;
|
|
25666
26221
|
updated_at?: string;
|
|
25667
26222
|
};
|
|
25668
26223
|
Relationships: [];
|
|
@@ -25892,6 +26447,39 @@ export type Database = {
|
|
|
25892
26447
|
}
|
|
25893
26448
|
];
|
|
25894
26449
|
};
|
|
26450
|
+
twinfield_token_issue_log: {
|
|
26451
|
+
Row: {
|
|
26452
|
+
caller_kind: string;
|
|
26453
|
+
connection_id: string | null;
|
|
26454
|
+
id: string;
|
|
26455
|
+
issued_at: string;
|
|
26456
|
+
module_id: string | null;
|
|
26457
|
+
outcome: string;
|
|
26458
|
+
route: string;
|
|
26459
|
+
user_id: string | null;
|
|
26460
|
+
};
|
|
26461
|
+
Insert: {
|
|
26462
|
+
caller_kind: string;
|
|
26463
|
+
connection_id?: string | null;
|
|
26464
|
+
id?: string;
|
|
26465
|
+
issued_at?: string;
|
|
26466
|
+
module_id?: string | null;
|
|
26467
|
+
outcome: string;
|
|
26468
|
+
route: string;
|
|
26469
|
+
user_id?: string | null;
|
|
26470
|
+
};
|
|
26471
|
+
Update: {
|
|
26472
|
+
caller_kind?: string;
|
|
26473
|
+
connection_id?: string | null;
|
|
26474
|
+
id?: string;
|
|
26475
|
+
issued_at?: string;
|
|
26476
|
+
module_id?: string | null;
|
|
26477
|
+
outcome?: string;
|
|
26478
|
+
route?: string;
|
|
26479
|
+
user_id?: string | null;
|
|
26480
|
+
};
|
|
26481
|
+
Relationships: [];
|
|
26482
|
+
};
|
|
25895
26483
|
twinfield_vat_code_map: {
|
|
25896
26484
|
Row: {
|
|
25897
26485
|
confirmed_at: string | null;
|
|
@@ -26818,6 +27406,36 @@ export type Database = {
|
|
|
26818
27406
|
};
|
|
26819
27407
|
Relationships: [];
|
|
26820
27408
|
};
|
|
27409
|
+
voorraad_correcties: {
|
|
27410
|
+
Row: {
|
|
27411
|
+
aantallen: Json;
|
|
27412
|
+
correctie: string;
|
|
27413
|
+
hash_ok: boolean | null;
|
|
27414
|
+
id: string;
|
|
27415
|
+
proef: boolean;
|
|
27416
|
+
uitgevoerd_door: string;
|
|
27417
|
+
uitgevoerd_op: string;
|
|
27418
|
+
};
|
|
27419
|
+
Insert: {
|
|
27420
|
+
aantallen?: Json;
|
|
27421
|
+
correctie: string;
|
|
27422
|
+
hash_ok?: boolean | null;
|
|
27423
|
+
id?: string;
|
|
27424
|
+
proef: boolean;
|
|
27425
|
+
uitgevoerd_door: string;
|
|
27426
|
+
uitgevoerd_op?: string;
|
|
27427
|
+
};
|
|
27428
|
+
Update: {
|
|
27429
|
+
aantallen?: Json;
|
|
27430
|
+
correctie?: string;
|
|
27431
|
+
hash_ok?: boolean | null;
|
|
27432
|
+
id?: string;
|
|
27433
|
+
proef?: boolean;
|
|
27434
|
+
uitgevoerd_door?: string;
|
|
27435
|
+
uitgevoerd_op?: string;
|
|
27436
|
+
};
|
|
27437
|
+
Relationships: [];
|
|
27438
|
+
};
|
|
26821
27439
|
voorraad_custom_fields: {
|
|
26822
27440
|
Row: {
|
|
26823
27441
|
created_at: string;
|
|
@@ -29572,6 +30190,28 @@ export type Database = {
|
|
|
29572
30190
|
Args: never;
|
|
29573
30191
|
Returns: boolean;
|
|
29574
30192
|
};
|
|
30193
|
+
afh_assert_ingelogd: {
|
|
30194
|
+
Args: never;
|
|
30195
|
+
Returns: undefined;
|
|
30196
|
+
};
|
|
30197
|
+
afh_assert_intern: {
|
|
30198
|
+
Args: never;
|
|
30199
|
+
Returns: undefined;
|
|
30200
|
+
};
|
|
30201
|
+
afh_assert_server: {
|
|
30202
|
+
Args: never;
|
|
30203
|
+
Returns: undefined;
|
|
30204
|
+
};
|
|
30205
|
+
afh_can_manage_carriers: {
|
|
30206
|
+
Args: {
|
|
30207
|
+
p_user: string;
|
|
30208
|
+
};
|
|
30209
|
+
Returns: boolean;
|
|
30210
|
+
};
|
|
30211
|
+
afh_carrier_managers_count: {
|
|
30212
|
+
Args: never;
|
|
30213
|
+
Returns: number;
|
|
30214
|
+
};
|
|
29575
30215
|
afh_city_code: {
|
|
29576
30216
|
Args: {
|
|
29577
30217
|
_city: string;
|
|
@@ -29579,12 +30219,29 @@ export type Database = {
|
|
|
29579
30219
|
};
|
|
29580
30220
|
Returns: string;
|
|
29581
30221
|
};
|
|
30222
|
+
afh_ensure_defaults: {
|
|
30223
|
+
Args: never;
|
|
30224
|
+
Returns: Json;
|
|
30225
|
+
};
|
|
30226
|
+
afh_favorite_carrier: {
|
|
30227
|
+
Args: never;
|
|
30228
|
+
Returns: {
|
|
30229
|
+
carrier_id: string;
|
|
30230
|
+
carrier_kind: string;
|
|
30231
|
+
email: string;
|
|
30232
|
+
name: string;
|
|
30233
|
+
}[];
|
|
30234
|
+
};
|
|
29582
30235
|
afh_html: {
|
|
29583
30236
|
Args: {
|
|
29584
30237
|
_s: string;
|
|
29585
30238
|
};
|
|
29586
30239
|
Returns: string;
|
|
29587
30240
|
};
|
|
30241
|
+
afh_is_server: {
|
|
30242
|
+
Args: never;
|
|
30243
|
+
Returns: boolean;
|
|
30244
|
+
};
|
|
29588
30245
|
afh_kar_tekst: {
|
|
29589
30246
|
Args: {
|
|
29590
30247
|
n: number;
|
|
@@ -29615,6 +30272,16 @@ export type Database = {
|
|
|
29615
30272
|
};
|
|
29616
30273
|
Returns: boolean;
|
|
29617
30274
|
};
|
|
30275
|
+
afh_order_floriday_herkomst_onbekend: {
|
|
30276
|
+
Args: {
|
|
30277
|
+
p_order_id: string;
|
|
30278
|
+
};
|
|
30279
|
+
Returns: boolean;
|
|
30280
|
+
};
|
|
30281
|
+
afh_orders_have_carrier_id: {
|
|
30282
|
+
Args: never;
|
|
30283
|
+
Returns: boolean;
|
|
30284
|
+
};
|
|
29618
30285
|
afh_pick_workdays: {
|
|
29619
30286
|
Args: {
|
|
29620
30287
|
p_from: string;
|
|
@@ -29622,6 +30289,35 @@ export type Database = {
|
|
|
29622
30289
|
};
|
|
29623
30290
|
Returns: Json;
|
|
29624
30291
|
};
|
|
30292
|
+
afh_resolve_cart_id: {
|
|
30293
|
+
Args: {
|
|
30294
|
+
p_cart_index: number;
|
|
30295
|
+
p_given: string;
|
|
30296
|
+
p_order: string;
|
|
30297
|
+
p_source: string;
|
|
30298
|
+
};
|
|
30299
|
+
Returns: string;
|
|
30300
|
+
};
|
|
30301
|
+
afh_set_favorite_carrier: {
|
|
30302
|
+
Args: {
|
|
30303
|
+
p_carrier_id: string;
|
|
30304
|
+
};
|
|
30305
|
+
Returns: Json;
|
|
30306
|
+
};
|
|
30307
|
+
afh_set_signup_auto_send: {
|
|
30308
|
+
Args: {
|
|
30309
|
+
p_on: boolean;
|
|
30310
|
+
};
|
|
30311
|
+
Returns: Json;
|
|
30312
|
+
};
|
|
30313
|
+
afh_signup_auto_send_on: {
|
|
30314
|
+
Args: never;
|
|
30315
|
+
Returns: boolean;
|
|
30316
|
+
};
|
|
30317
|
+
afh_signup_auto_send_status: {
|
|
30318
|
+
Args: never;
|
|
30319
|
+
Returns: Json;
|
|
30320
|
+
};
|
|
29625
30321
|
afh_signup_config: {
|
|
29626
30322
|
Args: never;
|
|
29627
30323
|
Returns: Json;
|
|
@@ -29657,6 +30353,14 @@ export type Database = {
|
|
|
29657
30353
|
};
|
|
29658
30354
|
Returns: Json;
|
|
29659
30355
|
};
|
|
30356
|
+
afh_signup_groups_floriday: {
|
|
30357
|
+
Args: {
|
|
30358
|
+
p_from: string;
|
|
30359
|
+
p_to: string;
|
|
30360
|
+
p_tz: string;
|
|
30361
|
+
};
|
|
30362
|
+
Returns: Json;
|
|
30363
|
+
};
|
|
29660
30364
|
afh_signup_groups_wacht: {
|
|
29661
30365
|
Args: {
|
|
29662
30366
|
p_from: string;
|
|
@@ -29718,6 +30422,10 @@ export type Database = {
|
|
|
29718
30422
|
};
|
|
29719
30423
|
Returns: string;
|
|
29720
30424
|
};
|
|
30425
|
+
afhandeling_install_check: {
|
|
30426
|
+
Args: never;
|
|
30427
|
+
Returns: Json;
|
|
30428
|
+
};
|
|
29721
30429
|
afhandeling_signup_cron_status: {
|
|
29722
30430
|
Args: never;
|
|
29723
30431
|
Returns: Json;
|
|
@@ -29902,6 +30610,13 @@ export type Database = {
|
|
|
29902
30610
|
};
|
|
29903
30611
|
Returns: Json;
|
|
29904
30612
|
};
|
|
30613
|
+
carrier_signup_ready_list: {
|
|
30614
|
+
Args: {
|
|
30615
|
+
p_from: string;
|
|
30616
|
+
p_to: string;
|
|
30617
|
+
};
|
|
30618
|
+
Returns: Json;
|
|
30619
|
+
};
|
|
29905
30620
|
carrier_signup_send_now: {
|
|
29906
30621
|
Args: {
|
|
29907
30622
|
p_carrier_id: string;
|
|
@@ -30450,9 +31165,12 @@ export type Database = {
|
|
|
30450
31165
|
control_get_todays_carts: {
|
|
30451
31166
|
Args: never;
|
|
30452
31167
|
Returns: {
|
|
31168
|
+
carrier_name: string;
|
|
30453
31169
|
cart_index: number;
|
|
30454
31170
|
cart_number: string;
|
|
30455
31171
|
cart_number_id: string;
|
|
31172
|
+
country_code: string;
|
|
31173
|
+
crates_on_cart: number;
|
|
30456
31174
|
order_id: string;
|
|
30457
31175
|
order_number: string;
|
|
30458
31176
|
order_source: string;
|
|
@@ -30842,10 +31560,49 @@ export type Database = {
|
|
|
30842
31560
|
};
|
|
30843
31561
|
Returns: Json;
|
|
30844
31562
|
};
|
|
31563
|
+
floriday_assert_caller: {
|
|
31564
|
+
Args: {
|
|
31565
|
+
p_fn: string;
|
|
31566
|
+
p_level: string;
|
|
31567
|
+
};
|
|
31568
|
+
Returns: boolean;
|
|
31569
|
+
};
|
|
31570
|
+
floriday_authenticatie_install_check: {
|
|
31571
|
+
Args: never;
|
|
31572
|
+
Returns: {
|
|
31573
|
+
aanwezig: boolean;
|
|
31574
|
+
anon_uitvoer: boolean;
|
|
31575
|
+
authenticated_uitvoer: boolean;
|
|
31576
|
+
interne_controle: boolean;
|
|
31577
|
+
melding: string;
|
|
31578
|
+
naam: string;
|
|
31579
|
+
niveau: string;
|
|
31580
|
+
soort: string;
|
|
31581
|
+
}[];
|
|
31582
|
+
};
|
|
30845
31583
|
floriday_autoheal_connections: {
|
|
30846
31584
|
Args: never;
|
|
30847
31585
|
Returns: Json;
|
|
30848
31586
|
};
|
|
31587
|
+
floriday_background_jobs_status: {
|
|
31588
|
+
Args: never;
|
|
31589
|
+
Returns: {
|
|
31590
|
+
active: boolean;
|
|
31591
|
+
jobname: string;
|
|
31592
|
+
schedule: string;
|
|
31593
|
+
}[];
|
|
31594
|
+
};
|
|
31595
|
+
floriday_beschermde_functies: {
|
|
31596
|
+
Args: never;
|
|
31597
|
+
Returns: {
|
|
31598
|
+
naam: string;
|
|
31599
|
+
niveau: string;
|
|
31600
|
+
}[];
|
|
31601
|
+
};
|
|
31602
|
+
floriday_caller_is_server: {
|
|
31603
|
+
Args: never;
|
|
31604
|
+
Returns: boolean;
|
|
31605
|
+
};
|
|
30849
31606
|
floriday_capture_stock_snapshot: {
|
|
30850
31607
|
Args: never;
|
|
30851
31608
|
Returns: number;
|
|
@@ -30962,6 +31719,10 @@ export type Database = {
|
|
|
30962
31719
|
};
|
|
30963
31720
|
Returns: Json;
|
|
30964
31721
|
};
|
|
31722
|
+
floriday_legacy_packing_sync_present: {
|
|
31723
|
+
Args: never;
|
|
31724
|
+
Returns: Json;
|
|
31725
|
+
};
|
|
30965
31726
|
floriday_make_erp_leading: {
|
|
30966
31727
|
Args: {
|
|
30967
31728
|
p_connection_id: string;
|
|
@@ -31043,6 +31804,35 @@ export type Database = {
|
|
|
31043
31804
|
Args: never;
|
|
31044
31805
|
Returns: Json;
|
|
31045
31806
|
};
|
|
31807
|
+
flowselections_central_status: {
|
|
31808
|
+
Args: never;
|
|
31809
|
+
Returns: {
|
|
31810
|
+
central_url_aanwezig: boolean;
|
|
31811
|
+
laatste_status: string;
|
|
31812
|
+
laatste_sync: string;
|
|
31813
|
+
token_aanwezig: boolean;
|
|
31814
|
+
}[];
|
|
31815
|
+
};
|
|
31816
|
+
flowselections_central_sync: {
|
|
31817
|
+
Args: never;
|
|
31818
|
+
Returns: string;
|
|
31819
|
+
};
|
|
31820
|
+
flowselections_cron_post: {
|
|
31821
|
+
Args: {
|
|
31822
|
+
p_auth?: string;
|
|
31823
|
+
p_body?: Json;
|
|
31824
|
+
p_path: string;
|
|
31825
|
+
p_timeout_ms?: number;
|
|
31826
|
+
};
|
|
31827
|
+
Returns: number;
|
|
31828
|
+
};
|
|
31829
|
+
flowselections_set_central_link: {
|
|
31830
|
+
Args: {
|
|
31831
|
+
p_central_url: string;
|
|
31832
|
+
p_read_token: string;
|
|
31833
|
+
};
|
|
31834
|
+
Returns: string;
|
|
31835
|
+
};
|
|
31046
31836
|
format_cart_number: {
|
|
31047
31837
|
Args: {
|
|
31048
31838
|
p_pick_date: string;
|
|
@@ -31905,10 +32695,26 @@ export type Database = {
|
|
|
31905
32695
|
Args: never;
|
|
31906
32696
|
Returns: Json;
|
|
31907
32697
|
};
|
|
32698
|
+
klanten_correctie_landcodes: {
|
|
32699
|
+
Args: {
|
|
32700
|
+
p_uitvoeren?: boolean;
|
|
32701
|
+
};
|
|
32702
|
+
Returns: Json;
|
|
32703
|
+
};
|
|
31908
32704
|
klanten_install_check: {
|
|
31909
32705
|
Args: never;
|
|
31910
32706
|
Returns: Json;
|
|
31911
32707
|
};
|
|
32708
|
+
klanten_is_server: {
|
|
32709
|
+
Args: never;
|
|
32710
|
+
Returns: boolean;
|
|
32711
|
+
};
|
|
32712
|
+
klanten_landnaam_kandidaten: {
|
|
32713
|
+
Args: {
|
|
32714
|
+
p_waarde: string;
|
|
32715
|
+
};
|
|
32716
|
+
Returns: string[];
|
|
32717
|
+
};
|
|
31912
32718
|
klanten_promote_round: {
|
|
31913
32719
|
Args: never;
|
|
31914
32720
|
Returns: Json;
|
|
@@ -31924,6 +32730,12 @@ export type Database = {
|
|
|
31924
32730
|
};
|
|
31925
32731
|
Returns: Json;
|
|
31926
32732
|
};
|
|
32733
|
+
klanten_toegang: {
|
|
32734
|
+
Args: {
|
|
32735
|
+
p_niveau: string;
|
|
32736
|
+
};
|
|
32737
|
+
Returns: undefined;
|
|
32738
|
+
};
|
|
31927
32739
|
layout_print_document: {
|
|
31928
32740
|
Args: {
|
|
31929
32741
|
_documentnaam: string;
|
|
@@ -31975,6 +32787,13 @@ export type Database = {
|
|
|
31975
32787
|
Args: never;
|
|
31976
32788
|
Returns: Json;
|
|
31977
32789
|
};
|
|
32790
|
+
layout_voor_document: {
|
|
32791
|
+
Args: {
|
|
32792
|
+
p_documenttype: string;
|
|
32793
|
+
p_order_id: string;
|
|
32794
|
+
};
|
|
32795
|
+
Returns: Json;
|
|
32796
|
+
};
|
|
31978
32797
|
layout_zorg_systeemlayouts: {
|
|
31979
32798
|
Args: never;
|
|
31980
32799
|
Returns: number;
|
|
@@ -32078,6 +32897,38 @@ export type Database = {
|
|
|
32078
32897
|
};
|
|
32079
32898
|
Returns: boolean;
|
|
32080
32899
|
};
|
|
32900
|
+
logistics_acc_direct: {
|
|
32901
|
+
Args: {
|
|
32902
|
+
p_fn: string;
|
|
32903
|
+
};
|
|
32904
|
+
Returns: boolean;
|
|
32905
|
+
};
|
|
32906
|
+
logistics_acc_guard: {
|
|
32907
|
+
Args: {
|
|
32908
|
+
p_fn: string;
|
|
32909
|
+
p_level: string;
|
|
32910
|
+
};
|
|
32911
|
+
Returns: undefined;
|
|
32912
|
+
};
|
|
32913
|
+
logistics_acc_is_server: {
|
|
32914
|
+
Args: never;
|
|
32915
|
+
Returns: boolean;
|
|
32916
|
+
};
|
|
32917
|
+
logistics_acc_levels: {
|
|
32918
|
+
Args: never;
|
|
32919
|
+
Returns: {
|
|
32920
|
+
functie: string;
|
|
32921
|
+
niveau: string;
|
|
32922
|
+
}[];
|
|
32923
|
+
};
|
|
32924
|
+
logistics_access_check: {
|
|
32925
|
+
Args: never;
|
|
32926
|
+
Returns: {
|
|
32927
|
+
ok: boolean;
|
|
32928
|
+
onderdeel: string;
|
|
32929
|
+
toelichting: string;
|
|
32930
|
+
}[];
|
|
32931
|
+
};
|
|
32081
32932
|
logistics_active_layout_method: {
|
|
32082
32933
|
Args: never;
|
|
32083
32934
|
Returns: string;
|
|
@@ -32261,6 +33112,14 @@ export type Database = {
|
|
|
32261
33112
|
Args: never;
|
|
32262
33113
|
Returns: number;
|
|
32263
33114
|
};
|
|
33115
|
+
logistics_belading_bevestig: {
|
|
33116
|
+
Args: {
|
|
33117
|
+
p_order_id: string;
|
|
33118
|
+
p_redenen?: string[];
|
|
33119
|
+
p_sleutel: string;
|
|
33120
|
+
};
|
|
33121
|
+
Returns: Json;
|
|
33122
|
+
};
|
|
32264
33123
|
logistics_belading_verstuurder: {
|
|
32265
33124
|
Args: never;
|
|
32266
33125
|
Returns: string;
|
|
@@ -32420,6 +33279,17 @@ export type Database = {
|
|
|
32420
33279
|
};
|
|
32421
33280
|
Returns: Json;
|
|
32422
33281
|
};
|
|
33282
|
+
logistics_carrier_enqueue: {
|
|
33283
|
+
Args: {
|
|
33284
|
+
p_order_ids: string[];
|
|
33285
|
+
p_reden: string;
|
|
33286
|
+
};
|
|
33287
|
+
Returns: number;
|
|
33288
|
+
};
|
|
33289
|
+
logistics_carrier_favorite_id: {
|
|
33290
|
+
Args: never;
|
|
33291
|
+
Returns: string;
|
|
33292
|
+
};
|
|
32423
33293
|
logistics_carrier_for_location: {
|
|
32424
33294
|
Args: {
|
|
32425
33295
|
p_customer_id: string;
|
|
@@ -32427,6 +33297,12 @@ export type Database = {
|
|
|
32427
33297
|
};
|
|
32428
33298
|
Returns: string;
|
|
32429
33299
|
};
|
|
33300
|
+
logistics_carrier_frozen_reason: {
|
|
33301
|
+
Args: {
|
|
33302
|
+
p_order_id: string;
|
|
33303
|
+
};
|
|
33304
|
+
Returns: string;
|
|
33305
|
+
};
|
|
32430
33306
|
logistics_carrier_minutes: {
|
|
32431
33307
|
Args: {
|
|
32432
33308
|
p_carrier: string;
|
|
@@ -32434,6 +33310,86 @@ export type Database = {
|
|
|
32434
33310
|
};
|
|
32435
33311
|
Returns: number;
|
|
32436
33312
|
};
|
|
33313
|
+
logistics_carrier_picks_up_for: {
|
|
33314
|
+
Args: {
|
|
33315
|
+
p_carrier_id: string;
|
|
33316
|
+
p_delivery_date: string;
|
|
33317
|
+
};
|
|
33318
|
+
Returns: boolean;
|
|
33319
|
+
};
|
|
33320
|
+
logistics_carrier_preview_existing: {
|
|
33321
|
+
Args: {
|
|
33322
|
+
p_limit?: number;
|
|
33323
|
+
};
|
|
33324
|
+
Returns: {
|
|
33325
|
+
bevroren: string;
|
|
33326
|
+
bron: string;
|
|
33327
|
+
carrier_id: string;
|
|
33328
|
+
carrier_kind: string;
|
|
33329
|
+
carrier_name: string;
|
|
33330
|
+
delivery_date: string;
|
|
33331
|
+
huidig_custom_carrier: string;
|
|
33332
|
+
order_id: string;
|
|
33333
|
+
order_number: string;
|
|
33334
|
+
order_source: string;
|
|
33335
|
+
reden: string;
|
|
33336
|
+
}[];
|
|
33337
|
+
};
|
|
33338
|
+
logistics_carrier_promote_oud: {
|
|
33339
|
+
Args: {
|
|
33340
|
+
p_confirm_count: number;
|
|
33341
|
+
p_order_ids: string[];
|
|
33342
|
+
};
|
|
33343
|
+
Returns: number;
|
|
33344
|
+
};
|
|
33345
|
+
logistics_carrier_recalc_run: {
|
|
33346
|
+
Args: {
|
|
33347
|
+
p_limit?: number;
|
|
33348
|
+
};
|
|
33349
|
+
Returns: Json;
|
|
33350
|
+
};
|
|
33351
|
+
logistics_carrier_result: {
|
|
33352
|
+
Args: {
|
|
33353
|
+
p_bron: string;
|
|
33354
|
+
p_carrier_id: string;
|
|
33355
|
+
p_reden: string;
|
|
33356
|
+
p_skips: string[];
|
|
33357
|
+
};
|
|
33358
|
+
Returns: Json;
|
|
33359
|
+
};
|
|
33360
|
+
logistics_carrier_set_backfill: {
|
|
33361
|
+
Args: {
|
|
33362
|
+
p_on: boolean;
|
|
33363
|
+
};
|
|
33364
|
+
Returns: Json;
|
|
33365
|
+
};
|
|
33366
|
+
logistics_carrier_settings_ensure: {
|
|
33367
|
+
Args: never;
|
|
33368
|
+
Returns: {
|
|
33369
|
+
backfill_existing: boolean;
|
|
33370
|
+
backfill_set_at: string | null;
|
|
33371
|
+
backfill_set_by: string | null;
|
|
33372
|
+
id: boolean;
|
|
33373
|
+
installed_at: string;
|
|
33374
|
+
updated_at: string;
|
|
33375
|
+
};
|
|
33376
|
+
SetofOptions: {
|
|
33377
|
+
from: "*";
|
|
33378
|
+
to: "logistics_carrier_settings";
|
|
33379
|
+
isOneToOne: true;
|
|
33380
|
+
isSetofReturn: false;
|
|
33381
|
+
};
|
|
33382
|
+
};
|
|
33383
|
+
logistics_carrier_skip_reason: {
|
|
33384
|
+
Args: {
|
|
33385
|
+
p_carrier_id: string;
|
|
33386
|
+
};
|
|
33387
|
+
Returns: string;
|
|
33388
|
+
};
|
|
33389
|
+
logistics_carrier_status: {
|
|
33390
|
+
Args: never;
|
|
33391
|
+
Returns: Json;
|
|
33392
|
+
};
|
|
32437
33393
|
logistics_cart_archive: {
|
|
32438
33394
|
Args: {
|
|
32439
33395
|
p_confirm_count: number;
|
|
@@ -32647,6 +33603,16 @@ export type Database = {
|
|
|
32647
33603
|
order_uuid: string;
|
|
32648
33604
|
}[];
|
|
32649
33605
|
};
|
|
33606
|
+
logistics_cart_seq_dubbel: {
|
|
33607
|
+
Args: {
|
|
33608
|
+
p_order_uuid?: string;
|
|
33609
|
+
};
|
|
33610
|
+
Returns: {
|
|
33611
|
+
cart_ids: string[];
|
|
33612
|
+
cart_index: number;
|
|
33613
|
+
order_uuid: string;
|
|
33614
|
+
}[];
|
|
33615
|
+
};
|
|
32650
33616
|
logistics_cart_slip_plan: {
|
|
32651
33617
|
Args: {
|
|
32652
33618
|
p_order_id: string;
|
|
@@ -33398,6 +34364,12 @@ export type Database = {
|
|
|
33398
34364
|
Args: never;
|
|
33399
34365
|
Returns: Json;
|
|
33400
34366
|
};
|
|
34367
|
+
logistics_floriday_shipping_document: {
|
|
34368
|
+
Args: {
|
|
34369
|
+
p_order_id: string;
|
|
34370
|
+
};
|
|
34371
|
+
Returns: Json;
|
|
34372
|
+
};
|
|
33401
34373
|
logistics_floriday_status_updates_enabled: {
|
|
33402
34374
|
Args: never;
|
|
33403
34375
|
Returns: boolean;
|
|
@@ -33438,6 +34410,14 @@ export type Database = {
|
|
|
33438
34410
|
Args: never;
|
|
33439
34411
|
Returns: number;
|
|
33440
34412
|
};
|
|
34413
|
+
logistics_install_check: {
|
|
34414
|
+
Args: never;
|
|
34415
|
+
Returns: {
|
|
34416
|
+
ok: boolean;
|
|
34417
|
+
onderdeel: string;
|
|
34418
|
+
toelichting: string;
|
|
34419
|
+
}[];
|
|
34420
|
+
};
|
|
33441
34421
|
logistics_is_beheer: {
|
|
33442
34422
|
Args: never;
|
|
33443
34423
|
Returns: boolean;
|
|
@@ -33608,6 +34588,18 @@ export type Database = {
|
|
|
33608
34588
|
};
|
|
33609
34589
|
Returns: string;
|
|
33610
34590
|
};
|
|
34591
|
+
logistics_order_carrier_info: {
|
|
34592
|
+
Args: {
|
|
34593
|
+
p_order_id: string;
|
|
34594
|
+
};
|
|
34595
|
+
Returns: Json;
|
|
34596
|
+
};
|
|
34597
|
+
logistics_order_carrier_label: {
|
|
34598
|
+
Args: {
|
|
34599
|
+
p_order_id: string;
|
|
34600
|
+
};
|
|
34601
|
+
Returns: string;
|
|
34602
|
+
};
|
|
33611
34603
|
logistics_order_cart_approval: {
|
|
33612
34604
|
Args: {
|
|
33613
34605
|
_order_ref: string;
|
|
@@ -33911,6 +34903,15 @@ export type Database = {
|
|
|
33911
34903
|
Args: never;
|
|
33912
34904
|
Returns: Json;
|
|
33913
34905
|
};
|
|
34906
|
+
logistics_own_sticker_count: {
|
|
34907
|
+
Args: {
|
|
34908
|
+
p_ppc_product: number;
|
|
34909
|
+
p_ppc_regel: number;
|
|
34910
|
+
p_quantity: number;
|
|
34911
|
+
p_unit: string;
|
|
34912
|
+
};
|
|
34913
|
+
Returns: number;
|
|
34914
|
+
};
|
|
33914
34915
|
logistics_own_sticker_sync: {
|
|
33915
34916
|
Args: {
|
|
33916
34917
|
p_limit?: number;
|
|
@@ -33924,6 +34925,18 @@ export type Database = {
|
|
|
33924
34925
|
};
|
|
33925
34926
|
Returns: Json;
|
|
33926
34927
|
};
|
|
34928
|
+
logistics_own_traysticker_payload: {
|
|
34929
|
+
Args: {
|
|
34930
|
+
p_id: string;
|
|
34931
|
+
};
|
|
34932
|
+
Returns: Json;
|
|
34933
|
+
};
|
|
34934
|
+
logistics_own_traysticker_sync: {
|
|
34935
|
+
Args: {
|
|
34936
|
+
p_limit?: number;
|
|
34937
|
+
};
|
|
34938
|
+
Returns: Json;
|
|
34939
|
+
};
|
|
33927
34940
|
logistics_packing_autofix: {
|
|
33928
34941
|
Args: {
|
|
33929
34942
|
p_limit?: number;
|
|
@@ -34224,6 +35237,15 @@ export type Database = {
|
|
|
34224
35237
|
Args: never;
|
|
34225
35238
|
Returns: number;
|
|
34226
35239
|
};
|
|
35240
|
+
logistics_plan_queue_dubbel: {
|
|
35241
|
+
Args: never;
|
|
35242
|
+
Returns: {
|
|
35243
|
+
nieuwste: string;
|
|
35244
|
+
open_opdrachten: number;
|
|
35245
|
+
order_id: string;
|
|
35246
|
+
oudste: string;
|
|
35247
|
+
}[];
|
|
35248
|
+
};
|
|
34227
35249
|
logistics_plan_queue_list: {
|
|
34228
35250
|
Args: {
|
|
34229
35251
|
p_limit?: number;
|
|
@@ -34265,6 +35287,13 @@ export type Database = {
|
|
|
34265
35287
|
};
|
|
34266
35288
|
Returns: number;
|
|
34267
35289
|
};
|
|
35290
|
+
logistics_plan_retry_later: {
|
|
35291
|
+
Args: {
|
|
35292
|
+
p_id: string;
|
|
35293
|
+
p_seconds?: number;
|
|
35294
|
+
};
|
|
35295
|
+
Returns: undefined;
|
|
35296
|
+
};
|
|
34268
35297
|
logistics_plan_setting: {
|
|
34269
35298
|
Args: {
|
|
34270
35299
|
p_default: number;
|
|
@@ -34611,6 +35640,59 @@ export type Database = {
|
|
|
34611
35640
|
Args: never;
|
|
34612
35641
|
Returns: undefined;
|
|
34613
35642
|
};
|
|
35643
|
+
logistics_resolve_carrier: {
|
|
35644
|
+
Args: {
|
|
35645
|
+
p_order_id: string;
|
|
35646
|
+
};
|
|
35647
|
+
Returns: Json;
|
|
35648
|
+
};
|
|
35649
|
+
logistics_resolve_carrier_core: {
|
|
35650
|
+
Args: {
|
|
35651
|
+
p_order: Json;
|
|
35652
|
+
p_skip_manual?: boolean;
|
|
35653
|
+
};
|
|
35654
|
+
Returns: Json;
|
|
35655
|
+
};
|
|
35656
|
+
logistics_resolve_carrier_for_location: {
|
|
35657
|
+
Args: {
|
|
35658
|
+
p_customer_id: string;
|
|
35659
|
+
p_location_id: string;
|
|
35660
|
+
};
|
|
35661
|
+
Returns: Json;
|
|
35662
|
+
};
|
|
35663
|
+
logistics_resolve_carrier_for_location_many: {
|
|
35664
|
+
Args: {
|
|
35665
|
+
p_items: Json;
|
|
35666
|
+
};
|
|
35667
|
+
Returns: {
|
|
35668
|
+
bron: string;
|
|
35669
|
+
carrier_id: string;
|
|
35670
|
+
carrier_kind: string;
|
|
35671
|
+
carrier_name: string;
|
|
35672
|
+
customer_id: string;
|
|
35673
|
+
location_id: string;
|
|
35674
|
+
reden: string;
|
|
35675
|
+
waarschuwing: string;
|
|
35676
|
+
}[];
|
|
35677
|
+
} | {
|
|
35678
|
+
Args: {
|
|
35679
|
+
p_customer_id: string;
|
|
35680
|
+
p_location_ids: string[];
|
|
35681
|
+
};
|
|
35682
|
+
Returns: {
|
|
35683
|
+
location_id: string;
|
|
35684
|
+
resultaat: Json;
|
|
35685
|
+
}[];
|
|
35686
|
+
};
|
|
35687
|
+
logistics_resolve_carrier_many: {
|
|
35688
|
+
Args: {
|
|
35689
|
+
p_order_ids: string[];
|
|
35690
|
+
};
|
|
35691
|
+
Returns: {
|
|
35692
|
+
order_id: string;
|
|
35693
|
+
resultaat: Json;
|
|
35694
|
+
}[];
|
|
35695
|
+
};
|
|
34614
35696
|
logistics_resolve_pick_document: {
|
|
34615
35697
|
Args: {
|
|
34616
35698
|
_is_herprint: boolean;
|
|
@@ -34720,6 +35802,20 @@ export type Database = {
|
|
|
34720
35802
|
};
|
|
34721
35803
|
Returns: Json;
|
|
34722
35804
|
};
|
|
35805
|
+
logistics_set_order_carrier: {
|
|
35806
|
+
Args: {
|
|
35807
|
+
p_carrier_id: string;
|
|
35808
|
+
p_order_id: string;
|
|
35809
|
+
};
|
|
35810
|
+
Returns: Json;
|
|
35811
|
+
} | {
|
|
35812
|
+
Args: {
|
|
35813
|
+
p_actor: string;
|
|
35814
|
+
p_carrier_id: string;
|
|
35815
|
+
p_order_id: string;
|
|
35816
|
+
};
|
|
35817
|
+
Returns: Json;
|
|
35818
|
+
};
|
|
34723
35819
|
logistics_set_order_priority: {
|
|
34724
35820
|
Args: {
|
|
34725
35821
|
p_order_ref: string;
|
|
@@ -34955,6 +36051,16 @@ export type Database = {
|
|
|
34955
36051
|
};
|
|
34956
36052
|
Returns: string;
|
|
34957
36053
|
};
|
|
36054
|
+
logistics_sticker_copies: {
|
|
36055
|
+
Args: {
|
|
36056
|
+
p_fi: Json;
|
|
36057
|
+
p_order: string;
|
|
36058
|
+
p_sticker: string;
|
|
36059
|
+
p_trade_item: string;
|
|
36060
|
+
p_type: string;
|
|
36061
|
+
};
|
|
36062
|
+
Returns: Json;
|
|
36063
|
+
};
|
|
34958
36064
|
logistics_sticker_distribution: {
|
|
34959
36065
|
Args: {
|
|
34960
36066
|
p_copies: number;
|
|
@@ -34969,6 +36075,10 @@ export type Database = {
|
|
|
34969
36075
|
pieces: number;
|
|
34970
36076
|
}[];
|
|
34971
36077
|
};
|
|
36078
|
+
logistics_sticker_etiket_status: {
|
|
36079
|
+
Args: never;
|
|
36080
|
+
Returns: Json;
|
|
36081
|
+
};
|
|
34972
36082
|
logistics_sticker_external_fulfilled: {
|
|
34973
36083
|
Args: {
|
|
34974
36084
|
p_sticker_print_id: string;
|
|
@@ -34988,6 +36098,13 @@ export type Database = {
|
|
|
34988
36098
|
};
|
|
34989
36099
|
Returns: boolean;
|
|
34990
36100
|
};
|
|
36101
|
+
logistics_sticker_order_counts: {
|
|
36102
|
+
Args: {
|
|
36103
|
+
p_order: string;
|
|
36104
|
+
p_trade_item: string;
|
|
36105
|
+
};
|
|
36106
|
+
Returns: Json;
|
|
36107
|
+
};
|
|
34991
36108
|
logistics_sticker_parse_size: {
|
|
34992
36109
|
Args: {
|
|
34993
36110
|
p: Json;
|
|
@@ -35299,6 +36416,15 @@ export type Database = {
|
|
|
35299
36416
|
};
|
|
35300
36417
|
Returns: Json;
|
|
35301
36418
|
};
|
|
36419
|
+
logistics_tray_plants: {
|
|
36420
|
+
Args: {
|
|
36421
|
+
p_fust: number;
|
|
36422
|
+
p_fusten: number;
|
|
36423
|
+
p_ppc: number;
|
|
36424
|
+
p_regel_totaal: number;
|
|
36425
|
+
};
|
|
36426
|
+
Returns: number;
|
|
36427
|
+
};
|
|
35302
36428
|
logistics_try_uuid: {
|
|
35303
36429
|
Args: {
|
|
35304
36430
|
p: string;
|
|
@@ -36303,6 +37429,13 @@ export type Database = {
|
|
|
36303
37429
|
};
|
|
36304
37430
|
Returns: Json;
|
|
36305
37431
|
};
|
|
37432
|
+
pickstation_document_for_order: {
|
|
37433
|
+
Args: {
|
|
37434
|
+
p_queue_item_id: string;
|
|
37435
|
+
p_slug: string;
|
|
37436
|
+
};
|
|
37437
|
+
Returns: Json;
|
|
37438
|
+
};
|
|
36306
37439
|
pickstation_get_orders_raw: {
|
|
36307
37440
|
Args: never;
|
|
36308
37441
|
Returns: Json;
|
|
@@ -36669,6 +37802,34 @@ export type Database = {
|
|
|
36669
37802
|
};
|
|
36670
37803
|
Returns: Record<string, unknown>;
|
|
36671
37804
|
};
|
|
37805
|
+
product_packings_derive: {
|
|
37806
|
+
Args: {
|
|
37807
|
+
p_product_id: string;
|
|
37808
|
+
};
|
|
37809
|
+
Returns: undefined;
|
|
37810
|
+
};
|
|
37811
|
+
product_packings_replace: {
|
|
37812
|
+
Args: {
|
|
37813
|
+
p_packings: Json;
|
|
37814
|
+
p_product_id: string;
|
|
37815
|
+
p_source: string;
|
|
37816
|
+
};
|
|
37817
|
+
Returns: number;
|
|
37818
|
+
};
|
|
37819
|
+
product_packings_sync_from_floriday: {
|
|
37820
|
+
Args: {
|
|
37821
|
+
p_connection_id: string;
|
|
37822
|
+
p_only_existing?: boolean;
|
|
37823
|
+
p_product_ids: string[];
|
|
37824
|
+
};
|
|
37825
|
+
Returns: Json;
|
|
37826
|
+
};
|
|
37827
|
+
product_primary_pieces: {
|
|
37828
|
+
Args: {
|
|
37829
|
+
p_product_id: string;
|
|
37830
|
+
};
|
|
37831
|
+
Returns: number;
|
|
37832
|
+
};
|
|
36672
37833
|
product_set_depth_above: {
|
|
36673
37834
|
Args: {
|
|
36674
37835
|
p_path?: string[];
|
|
@@ -37892,12 +39053,6 @@ export type Database = {
|
|
|
37892
39053
|
Args: never;
|
|
37893
39054
|
Returns: undefined;
|
|
37894
39055
|
};
|
|
37895
|
-
sync_cached_packing_from_product: {
|
|
37896
|
-
Args: {
|
|
37897
|
-
p_product_id: string;
|
|
37898
|
-
};
|
|
37899
|
-
Returns: undefined;
|
|
37900
|
-
};
|
|
37901
39056
|
sync_floriday_prices_into_price_groups: {
|
|
37902
39057
|
Args: never;
|
|
37903
39058
|
Returns: number;
|
|
@@ -37908,12 +39063,6 @@ export type Database = {
|
|
|
37908
39063
|
};
|
|
37909
39064
|
Returns: undefined;
|
|
37910
39065
|
};
|
|
37911
|
-
sync_order_cart_item_packing_from_product: {
|
|
37912
|
-
Args: {
|
|
37913
|
-
p_product_id: string;
|
|
37914
|
-
};
|
|
37915
|
-
Returns: undefined;
|
|
37916
|
-
};
|
|
37917
39066
|
sync_order_item_fusten: {
|
|
37918
39067
|
Args: {
|
|
37919
39068
|
_order_item_id: string;
|
|
@@ -37926,12 +39075,6 @@ export type Database = {
|
|
|
37926
39075
|
};
|
|
37927
39076
|
Returns: undefined;
|
|
37928
39077
|
};
|
|
37929
|
-
sync_product_packing_from_floriday_cache: {
|
|
37930
|
-
Args: {
|
|
37931
|
-
p_floriday_id: string;
|
|
37932
|
-
};
|
|
37933
|
-
Returns: undefined;
|
|
37934
|
-
};
|
|
37935
39078
|
sync_sick_time_off: {
|
|
37936
39079
|
Args: {
|
|
37937
39080
|
_period_id: string;
|
|
@@ -37962,6 +39105,26 @@ export type Database = {
|
|
|
37962
39105
|
};
|
|
37963
39106
|
Returns: boolean;
|
|
37964
39107
|
};
|
|
39108
|
+
twinfield_assert_caller: {
|
|
39109
|
+
Args: {
|
|
39110
|
+
p_level: string;
|
|
39111
|
+
p_owner?: string;
|
|
39112
|
+
};
|
|
39113
|
+
Returns: undefined;
|
|
39114
|
+
};
|
|
39115
|
+
twinfield_auth_install_check: {
|
|
39116
|
+
Args: never;
|
|
39117
|
+
Returns: {
|
|
39118
|
+
object_kind: string;
|
|
39119
|
+
object_name: string;
|
|
39120
|
+
present: boolean;
|
|
39121
|
+
schema_version: string;
|
|
39122
|
+
}[];
|
|
39123
|
+
};
|
|
39124
|
+
twinfield_caller_is_server: {
|
|
39125
|
+
Args: never;
|
|
39126
|
+
Returns: boolean;
|
|
39127
|
+
};
|
|
37965
39128
|
twinfield_cancel_queue_item: {
|
|
37966
39129
|
Args: {
|
|
37967
39130
|
p_id: string;
|
|
@@ -37971,11 +39134,32 @@ export type Database = {
|
|
|
37971
39134
|
twinfield_connection_offices: {
|
|
37972
39135
|
Args: never;
|
|
37973
39136
|
Returns: {
|
|
39137
|
+
company_name: string;
|
|
37974
39138
|
connection_id: string;
|
|
39139
|
+
environment: string;
|
|
39140
|
+
in_shell_omgeving: boolean;
|
|
37975
39141
|
is_active: boolean;
|
|
39142
|
+
label_source: string;
|
|
37976
39143
|
office_code: string;
|
|
37977
39144
|
}[];
|
|
37978
39145
|
};
|
|
39146
|
+
twinfield_connection_usage: {
|
|
39147
|
+
Args: never;
|
|
39148
|
+
Returns: {
|
|
39149
|
+
archived: boolean;
|
|
39150
|
+
company_name: string;
|
|
39151
|
+
connected_at: string;
|
|
39152
|
+
connection_id: string;
|
|
39153
|
+
environment: string;
|
|
39154
|
+
gebruikt_door_facturatie: boolean;
|
|
39155
|
+
in_shell_omgeving: boolean;
|
|
39156
|
+
is_active: boolean;
|
|
39157
|
+
label_source: string;
|
|
39158
|
+
leest: boolean;
|
|
39159
|
+
office_code: string;
|
|
39160
|
+
user_id: string;
|
|
39161
|
+
}[];
|
|
39162
|
+
};
|
|
37979
39163
|
twinfield_cron_lock_acquire: {
|
|
37980
39164
|
Args: {
|
|
37981
39165
|
_job_name: string;
|
|
@@ -37997,6 +39181,26 @@ export type Database = {
|
|
|
37997
39181
|
};
|
|
37998
39182
|
Returns: Json;
|
|
37999
39183
|
};
|
|
39184
|
+
twinfield_facturatie_assert_server: {
|
|
39185
|
+
Args: {
|
|
39186
|
+
_functie: string;
|
|
39187
|
+
};
|
|
39188
|
+
Returns: undefined;
|
|
39189
|
+
};
|
|
39190
|
+
twinfield_facturatie_assert_trigger_or_server: {
|
|
39191
|
+
Args: {
|
|
39192
|
+
_functie: string;
|
|
39193
|
+
};
|
|
39194
|
+
Returns: undefined;
|
|
39195
|
+
};
|
|
39196
|
+
twinfield_facturatie_install_check: {
|
|
39197
|
+
Args: never;
|
|
39198
|
+
Returns: Json;
|
|
39199
|
+
};
|
|
39200
|
+
twinfield_facturatie_is_server: {
|
|
39201
|
+
Args: never;
|
|
39202
|
+
Returns: boolean;
|
|
39203
|
+
};
|
|
38000
39204
|
twinfield_gated_queue: {
|
|
38001
39205
|
Args: {
|
|
38002
39206
|
p_connection_id: string;
|
|
@@ -38021,10 +39225,24 @@ export type Database = {
|
|
|
38021
39225
|
Args: never;
|
|
38022
39226
|
Returns: boolean;
|
|
38023
39227
|
};
|
|
39228
|
+
twinfield_mark_label_pending: {
|
|
39229
|
+
Args: {
|
|
39230
|
+
p_connection_id: string;
|
|
39231
|
+
};
|
|
39232
|
+
Returns: boolean;
|
|
39233
|
+
};
|
|
38024
39234
|
twinfield_prune_push_queue: {
|
|
38025
39235
|
Args: never;
|
|
38026
39236
|
Returns: number;
|
|
38027
39237
|
};
|
|
39238
|
+
twinfield_record_central_facts: {
|
|
39239
|
+
Args: {
|
|
39240
|
+
p_central_environment: string;
|
|
39241
|
+
p_connection_id: string;
|
|
39242
|
+
p_organisation_code: string;
|
|
39243
|
+
};
|
|
39244
|
+
Returns: Json;
|
|
39245
|
+
};
|
|
38028
39246
|
twinfield_register_cron: {
|
|
38029
39247
|
Args: {
|
|
38030
39248
|
apikey?: string;
|
|
@@ -38032,6 +39250,14 @@ export type Database = {
|
|
|
38032
39250
|
};
|
|
38033
39251
|
Returns: Json;
|
|
38034
39252
|
};
|
|
39253
|
+
twinfield_set_connection_label: {
|
|
39254
|
+
Args: {
|
|
39255
|
+
p_also_shell?: boolean;
|
|
39256
|
+
p_connection_id: string;
|
|
39257
|
+
p_environment: string;
|
|
39258
|
+
};
|
|
39259
|
+
Returns: Json;
|
|
39260
|
+
};
|
|
38035
39261
|
twinfield_set_write_enabled: {
|
|
38036
39262
|
Args: {
|
|
38037
39263
|
p_connection_id: string;
|
|
@@ -38595,6 +39821,13 @@ export type Database = {
|
|
|
38595
39821
|
};
|
|
38596
39822
|
Returns: number;
|
|
38597
39823
|
};
|
|
39824
|
+
verkoop_assert_caller: {
|
|
39825
|
+
Args: {
|
|
39826
|
+
p_level: string;
|
|
39827
|
+
p_roles?: Database["public"]["Enums"]["app_role"][];
|
|
39828
|
+
};
|
|
39829
|
+
Returns: undefined;
|
|
39830
|
+
};
|
|
38598
39831
|
verkoop_create_order: {
|
|
38599
39832
|
Args: {
|
|
38600
39833
|
p_accept_late_signup?: boolean;
|
|
@@ -38613,6 +39846,75 @@ export type Database = {
|
|
|
38613
39846
|
};
|
|
38614
39847
|
Returns: Json;
|
|
38615
39848
|
};
|
|
39849
|
+
verkoop_guarded_functions: {
|
|
39850
|
+
Args: never;
|
|
39851
|
+
Returns: {
|
|
39852
|
+
niveau: string;
|
|
39853
|
+
opmerking: string;
|
|
39854
|
+
rollen: string;
|
|
39855
|
+
sig: string;
|
|
39856
|
+
}[];
|
|
39857
|
+
};
|
|
39858
|
+
verkoop_insert_manual_order: {
|
|
39859
|
+
Args: {
|
|
39860
|
+
p_idempotency_key: string;
|
|
39861
|
+
p_items: Json;
|
|
39862
|
+
p_order: Json;
|
|
39863
|
+
};
|
|
39864
|
+
Returns: Json;
|
|
39865
|
+
};
|
|
39866
|
+
verkoop_install_check: {
|
|
39867
|
+
Args: never;
|
|
39868
|
+
Returns: {
|
|
39869
|
+
aanwezig: boolean;
|
|
39870
|
+
anon_uitvoerrecht: boolean;
|
|
39871
|
+
authenticated_uitvoerrecht: boolean;
|
|
39872
|
+
naam: string;
|
|
39873
|
+
niveau: string;
|
|
39874
|
+
opmerking: string;
|
|
39875
|
+
poort_aanwezig: boolean;
|
|
39876
|
+
soort: string;
|
|
39877
|
+
}[];
|
|
39878
|
+
};
|
|
39879
|
+
verkoop_is_server: {
|
|
39880
|
+
Args: never;
|
|
39881
|
+
Returns: boolean;
|
|
39882
|
+
};
|
|
39883
|
+
verkoop_packing_drift_apply: {
|
|
39884
|
+
Args: {
|
|
39885
|
+
p_order_ids: string[];
|
|
39886
|
+
};
|
|
39887
|
+
Returns: {
|
|
39888
|
+
lines_updated: number;
|
|
39889
|
+
order_id: string;
|
|
39890
|
+
order_number: string;
|
|
39891
|
+
replan_event: string;
|
|
39892
|
+
}[];
|
|
39893
|
+
};
|
|
39894
|
+
verkoop_packing_drift_report: {
|
|
39895
|
+
Args: never;
|
|
39896
|
+
Returns: {
|
|
39897
|
+
afgesloten: boolean;
|
|
39898
|
+
cache_match: string;
|
|
39899
|
+
cur_crates_per_layer: number;
|
|
39900
|
+
cur_layers_per_cart: number;
|
|
39901
|
+
cur_load_carrier_type: string;
|
|
39902
|
+
cur_packing_source: string;
|
|
39903
|
+
cur_plants_per_crate: number;
|
|
39904
|
+
cur_vbn_package_code: string;
|
|
39905
|
+
fd_crates_per_layer: number;
|
|
39906
|
+
fd_layers_per_cart: number;
|
|
39907
|
+
fd_load_carrier_type: string;
|
|
39908
|
+
fd_plants_per_crate: number;
|
|
39909
|
+
fd_vbn_package_code: string;
|
|
39910
|
+
order_id: string;
|
|
39911
|
+
order_item_id: string;
|
|
39912
|
+
order_number: string;
|
|
39913
|
+
order_status: string;
|
|
39914
|
+
sales_order_id: string;
|
|
39915
|
+
vastgezet: boolean;
|
|
39916
|
+
}[];
|
|
39917
|
+
};
|
|
38616
39918
|
vervang_printer: {
|
|
38617
39919
|
Args: {
|
|
38618
39920
|
_nieuw: string;
|
|
@@ -38651,6 +39953,18 @@ export type Database = {
|
|
|
38651
39953
|
};
|
|
38652
39954
|
Returns: number;
|
|
38653
39955
|
};
|
|
39956
|
+
voorraad_correctie_1098: {
|
|
39957
|
+
Args: {
|
|
39958
|
+
p_uitvoeren?: boolean;
|
|
39959
|
+
};
|
|
39960
|
+
Returns: Json;
|
|
39961
|
+
};
|
|
39962
|
+
voorraad_correctie_status: {
|
|
39963
|
+
Args: {
|
|
39964
|
+
p_correctie?: string;
|
|
39965
|
+
};
|
|
39966
|
+
Returns: Json;
|
|
39967
|
+
};
|
|
38654
39968
|
voorraad_external_fulfilled_ids: {
|
|
38655
39969
|
Args: {
|
|
38656
39970
|
p_cf: Json;
|
|
@@ -38680,6 +39994,14 @@ export type Database = {
|
|
|
38680
39994
|
};
|
|
38681
39995
|
Returns: undefined;
|
|
38682
39996
|
};
|
|
39997
|
+
voorraad_install_check: {
|
|
39998
|
+
Args: never;
|
|
39999
|
+
Returns: Json;
|
|
40000
|
+
};
|
|
40001
|
+
voorraad_is_server: {
|
|
40002
|
+
Args: never;
|
|
40003
|
+
Returns: boolean;
|
|
40004
|
+
};
|
|
38683
40005
|
voorraad_mark_floriday_sold_before_switch: {
|
|
38684
40006
|
Args: {
|
|
38685
40007
|
p_product_id: string;
|
|
@@ -38697,6 +40019,13 @@ export type Database = {
|
|
|
38697
40019
|
};
|
|
38698
40020
|
Returns: string;
|
|
38699
40021
|
};
|
|
40022
|
+
voorraad_vereis: {
|
|
40023
|
+
Args: {
|
|
40024
|
+
p_functie: string;
|
|
40025
|
+
p_niveau: string;
|
|
40026
|
+
};
|
|
40027
|
+
Returns: undefined;
|
|
40028
|
+
};
|
|
38700
40029
|
voorraad_week_is_past: {
|
|
38701
40030
|
Args: {
|
|
38702
40031
|
p_week: number;
|