@flowselections/layout-maker 1.69.5 → 1.69.10

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.
Files changed (48) hide show
  1. package/dist-lib/components/AfleverbriefBuilderPage.d.ts.map +1 -1
  2. package/dist-lib/components/AfleverbriefBuilderPage.js +16 -8
  3. package/dist-lib/components/BlokOntwerperPage.d.ts.map +1 -1
  4. package/dist-lib/components/BlokOntwerperPage.js +15 -8
  5. package/dist-lib/components/FormaatOrientatieBar.d.ts +2 -1
  6. package/dist-lib/components/FormaatOrientatieBar.d.ts.map +1 -1
  7. package/dist-lib/components/FormaatOrientatieBar.js +6 -4
  8. package/dist-lib/components/PakbonBuilderPage.d.ts.map +1 -1
  9. package/dist-lib/components/PakbonBuilderPage.js +16 -8
  10. package/dist-lib/components/ProductiebonBuilderPage.d.ts.map +1 -1
  11. package/dist-lib/components/ProductiebonBuilderPage.js +16 -10
  12. package/dist-lib/components/SysteemLayoutMelding.d.ts +6 -0
  13. package/dist-lib/components/SysteemLayoutMelding.d.ts.map +1 -0
  14. package/dist-lib/components/SysteemLayoutMelding.js +29 -0
  15. package/dist-lib/integrations/supabase/types.d.ts +220 -10
  16. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  17. package/dist-lib/lib/documentProfiles.js +2 -2
  18. package/dist-lib/lib/eigenDocumenten.d.ts.map +1 -1
  19. package/dist-lib/lib/eigenDocumenten.js +1 -0
  20. package/dist-lib/lib/fieldRegistry.js +3 -2
  21. package/dist-lib/lib/htmlPdf.server.d.ts.map +1 -1
  22. package/dist-lib/lib/htmlPdf.server.js +46 -4
  23. package/dist-lib/lib/layoutOpslaan.d.ts +16 -0
  24. package/dist-lib/lib/layoutOpslaan.d.ts.map +1 -0
  25. package/dist-lib/lib/layoutOpslaan.js +56 -0
  26. package/dist-lib/lib/orderData.server.d.ts.map +1 -1
  27. package/dist-lib/lib/orderData.server.js +7 -3
  28. package/dist-lib/lib/pakbonBuilder.d.ts +13 -0
  29. package/dist-lib/lib/pakbonBuilder.d.ts.map +1 -1
  30. package/dist-lib/lib/pakbonBuilder.js +53 -9
  31. package/dist-lib/lib/pakbonHtml.d.ts +2 -0
  32. package/dist-lib/lib/pakbonHtml.d.ts.map +1 -1
  33. package/dist-lib/lib/pakbonHtml.js +35 -7
  34. package/dist-lib/lib/printQueue.server.d.ts +13 -0
  35. package/dist-lib/lib/printQueue.server.d.ts.map +1 -1
  36. package/dist-lib/lib/printQueue.server.js +81 -4
  37. package/dist-lib/lib/profielHtml.d.ts.map +1 -1
  38. package/dist-lib/lib/profielHtml.js +2 -1
  39. package/dist-lib/lib/useDocumentData.d.ts +1 -0
  40. package/dist-lib/lib/useDocumentData.d.ts.map +1 -1
  41. package/dist-lib/lib/useDocumentData.js +9 -2
  42. package/dist-lib/lib/versie.generated.d.ts +1 -1
  43. package/dist-lib/lib/versie.generated.d.ts.map +1 -1
  44. package/dist-lib/lib/versie.generated.js +1 -1
  45. package/dist-lib/lib/vervoerder.d.ts +27 -3
  46. package/dist-lib/lib/vervoerder.d.ts.map +1 -1
  47. package/dist-lib/lib/vervoerder.js +65 -10
  48. package/package.json +2 -2
@@ -7,6 +7,57 @@ export type Database = {
7
7
  };
8
8
  public: {
9
9
  Tables: {
10
+ afh_shell_settings: {
11
+ Row: {
12
+ changed_at: string | null;
13
+ changed_by: string | null;
14
+ created_at: string;
15
+ id: boolean;
16
+ signup_auto_send: boolean;
17
+ };
18
+ Insert: {
19
+ changed_at?: string | null;
20
+ changed_by?: string | null;
21
+ created_at?: string;
22
+ id?: boolean;
23
+ signup_auto_send?: boolean;
24
+ };
25
+ Update: {
26
+ changed_at?: string | null;
27
+ changed_by?: string | null;
28
+ created_at?: string;
29
+ id?: boolean;
30
+ signup_auto_send?: boolean;
31
+ };
32
+ Relationships: [];
33
+ };
34
+ afh_shell_settings_log: {
35
+ Row: {
36
+ changed_at: string;
37
+ changed_by: string | null;
38
+ id: string;
39
+ new_value: Json | null;
40
+ old_value: Json | null;
41
+ setting: string;
42
+ };
43
+ Insert: {
44
+ changed_at?: string;
45
+ changed_by?: string | null;
46
+ id?: string;
47
+ new_value?: Json | null;
48
+ old_value?: Json | null;
49
+ setting: string;
50
+ };
51
+ Update: {
52
+ changed_at?: string;
53
+ changed_by?: string | null;
54
+ id?: string;
55
+ new_value?: Json | null;
56
+ old_value?: Json | null;
57
+ setting?: string;
58
+ };
59
+ Relationships: [];
60
+ };
10
61
  afhandeling_settings: {
11
62
  Row: {
12
63
  auto_print_delivery_note: boolean;
@@ -1313,13 +1364,17 @@ export type Database = {
1313
1364
  carriers: {
1314
1365
  Row: {
1315
1366
  address: string | null;
1367
+ archived_at: string | null;
1368
+ carrier_kind: string | null;
1316
1369
  contact_person: string | null;
1317
1370
  created_at: string;
1318
1371
  delivery_days: number | null;
1372
+ delivery_location_glns: string[];
1319
1373
  delivery_weekdays: number[];
1320
1374
  email: string | null;
1321
1375
  id: string;
1322
1376
  is_default: boolean;
1377
+ is_favorite: boolean;
1323
1378
  name: string;
1324
1379
  notes: string | null;
1325
1380
  phone: string | null;
@@ -1333,17 +1388,21 @@ export type Database = {
1333
1388
  signup_time_2: string | null;
1334
1389
  sort_order: number;
1335
1390
  updated_at: string;
1336
- user_id: string;
1391
+ user_id: string | null;
1337
1392
  };
1338
1393
  Insert: {
1339
1394
  address?: string | null;
1395
+ archived_at?: string | null;
1396
+ carrier_kind?: string | null;
1340
1397
  contact_person?: string | null;
1341
1398
  created_at?: string;
1342
1399
  delivery_days?: number | null;
1400
+ delivery_location_glns?: string[];
1343
1401
  delivery_weekdays?: number[];
1344
1402
  email?: string | null;
1345
1403
  id?: string;
1346
1404
  is_default?: boolean;
1405
+ is_favorite?: boolean;
1347
1406
  name: string;
1348
1407
  notes?: string | null;
1349
1408
  phone?: string | null;
@@ -1357,17 +1416,21 @@ export type Database = {
1357
1416
  signup_time_2?: string | null;
1358
1417
  sort_order?: number;
1359
1418
  updated_at?: string;
1360
- user_id: string;
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: {
@@ -24812,16 +24886,56 @@ export type Database = {
24812
24886
  }
24813
24887
  ];
24814
24888
  };
24889
+ twinfield_connection_label_log: {
24890
+ Row: {
24891
+ changed_at: string;
24892
+ changed_by: string | null;
24893
+ changed_by_role: string | null;
24894
+ connection_id: string;
24895
+ field: string;
24896
+ id: string;
24897
+ new_value: string | null;
24898
+ note: string | null;
24899
+ office_code: string | null;
24900
+ old_value: string | null;
24901
+ };
24902
+ Insert: {
24903
+ changed_at?: string;
24904
+ changed_by?: string | null;
24905
+ changed_by_role?: string | null;
24906
+ connection_id: string;
24907
+ field: string;
24908
+ id?: string;
24909
+ new_value?: string | null;
24910
+ note?: string | null;
24911
+ office_code?: string | null;
24912
+ old_value?: string | null;
24913
+ };
24914
+ Update: {
24915
+ changed_at?: string;
24916
+ changed_by?: string | null;
24917
+ changed_by_role?: string | null;
24918
+ connection_id?: string;
24919
+ field?: string;
24920
+ id?: string;
24921
+ new_value?: string | null;
24922
+ note?: string | null;
24923
+ office_code?: string | null;
24924
+ old_value?: string | null;
24925
+ };
24926
+ Relationships: [];
24927
+ };
24815
24928
  twinfield_connections: {
24816
24929
  Row: {
24817
24930
  account_key: string | null;
24931
+ central_environment: string | null;
24818
24932
  cluster_uri: string | null;
24819
24933
  company_code: string | null;
24820
24934
  company_name: string | null;
24821
24935
  connected_at: string | null;
24822
24936
  created_at: string;
24823
24937
  disconnected_at: string | null;
24824
- environment: string;
24938
+ environment: string | null;
24825
24939
  granted_scopes: string[] | null;
24826
24940
  id: string;
24827
24941
  initial_sync_completed_at: string | null;
@@ -24830,8 +24944,12 @@ export type Database = {
24830
24944
  initial_sync_started_at: string | null;
24831
24945
  is_active: boolean;
24832
24946
  label: string | null;
24947
+ label_set_at: string | null;
24948
+ label_set_by: string | null;
24949
+ label_source: string | null;
24833
24950
  missing_scopes: string[] | null;
24834
24951
  office_code: string | null;
24952
+ organisation_code: string | null;
24835
24953
  redirect_uri: string | null;
24836
24954
  scope_checked_at: string | null;
24837
24955
  scope_state: string | null;
@@ -24845,13 +24963,14 @@ export type Database = {
24845
24963
  };
24846
24964
  Insert: {
24847
24965
  account_key?: string | null;
24966
+ central_environment?: string | null;
24848
24967
  cluster_uri?: string | null;
24849
24968
  company_code?: string | null;
24850
24969
  company_name?: string | null;
24851
24970
  connected_at?: string | null;
24852
24971
  created_at?: string;
24853
24972
  disconnected_at?: string | null;
24854
- environment: string;
24973
+ environment?: string | null;
24855
24974
  granted_scopes?: string[] | null;
24856
24975
  id?: string;
24857
24976
  initial_sync_completed_at?: string | null;
@@ -24860,8 +24979,12 @@ export type Database = {
24860
24979
  initial_sync_started_at?: string | null;
24861
24980
  is_active?: boolean;
24862
24981
  label?: string | null;
24982
+ label_set_at?: string | null;
24983
+ label_set_by?: string | null;
24984
+ label_source?: string | null;
24863
24985
  missing_scopes?: string[] | null;
24864
24986
  office_code?: string | null;
24987
+ organisation_code?: string | null;
24865
24988
  redirect_uri?: string | null;
24866
24989
  scope_checked_at?: string | null;
24867
24990
  scope_state?: string | null;
@@ -24875,13 +24998,14 @@ export type Database = {
24875
24998
  };
24876
24999
  Update: {
24877
25000
  account_key?: string | null;
25001
+ central_environment?: string | null;
24878
25002
  cluster_uri?: string | null;
24879
25003
  company_code?: string | null;
24880
25004
  company_name?: string | null;
24881
25005
  connected_at?: string | null;
24882
25006
  created_at?: string;
24883
25007
  disconnected_at?: string | null;
24884
- environment?: string;
25008
+ environment?: string | null;
24885
25009
  granted_scopes?: string[] | null;
24886
25010
  id?: string;
24887
25011
  initial_sync_completed_at?: string | null;
@@ -24890,8 +25014,12 @@ export type Database = {
24890
25014
  initial_sync_started_at?: string | null;
24891
25015
  is_active?: boolean;
24892
25016
  label?: string | null;
25017
+ label_set_at?: string | null;
25018
+ label_set_by?: string | null;
25019
+ label_source?: string | null;
24893
25020
  missing_scopes?: string[] | null;
24894
25021
  office_code?: string | null;
25022
+ organisation_code?: string | null;
24895
25023
  redirect_uri?: string | null;
24896
25024
  scope_checked_at?: string | null;
24897
25025
  scope_state?: string | null;
@@ -25831,7 +25959,7 @@ export type Database = {
25831
25959
  };
25832
25960
  twinfield_settings: {
25833
25961
  Row: {
25834
- active_environment: string;
25962
+ active_environment: string | null;
25835
25963
  cron_registered_at: string | null;
25836
25964
  cron_registration_error: string | null;
25837
25965
  cron_schedules: Json;
@@ -25841,7 +25969,7 @@ export type Database = {
25841
25969
  updated_at: string;
25842
25970
  };
25843
25971
  Insert: {
25844
- active_environment?: string;
25972
+ active_environment?: string | null;
25845
25973
  cron_registered_at?: string | null;
25846
25974
  cron_registration_error?: string | null;
25847
25975
  cron_schedules?: Json;
@@ -25851,7 +25979,7 @@ export type Database = {
25851
25979
  updated_at?: string;
25852
25980
  };
25853
25981
  Update: {
25854
- active_environment?: string;
25982
+ active_environment?: string | null;
25855
25983
  cron_registered_at?: string | null;
25856
25984
  cron_registration_error?: string | null;
25857
25985
  cron_schedules?: Json;
@@ -29767,6 +29895,16 @@ export type Database = {
29767
29895
  Args: never;
29768
29896
  Returns: boolean;
29769
29897
  };
29898
+ afh_can_manage_carriers: {
29899
+ Args: {
29900
+ p_user: string;
29901
+ };
29902
+ Returns: boolean;
29903
+ };
29904
+ afh_carrier_managers_count: {
29905
+ Args: never;
29906
+ Returns: number;
29907
+ };
29770
29908
  afh_city_code: {
29771
29909
  Args: {
29772
29910
  _city: string;
@@ -29826,6 +29964,10 @@ export type Database = {
29826
29964
  };
29827
29965
  Returns: string;
29828
29966
  };
29967
+ afh_signup_auto_send_on: {
29968
+ Args: never;
29969
+ Returns: boolean;
29970
+ };
29829
29971
  afh_signup_config: {
29830
29972
  Args: never;
29831
29973
  Returns: Json;
@@ -31052,6 +31194,14 @@ export type Database = {
31052
31194
  Args: never;
31053
31195
  Returns: Json;
31054
31196
  };
31197
+ floriday_background_jobs_status: {
31198
+ Args: never;
31199
+ Returns: {
31200
+ active: boolean;
31201
+ jobname: string;
31202
+ schedule: string;
31203
+ }[];
31204
+ };
31055
31205
  floriday_capture_stock_snapshot: {
31056
31206
  Args: never;
31057
31207
  Returns: number;
@@ -38266,6 +38416,15 @@ export type Database = {
38266
38416
  };
38267
38417
  Returns: boolean;
38268
38418
  };
38419
+ twinfield_auth_install_check: {
38420
+ Args: never;
38421
+ Returns: {
38422
+ object_kind: string;
38423
+ object_name: string;
38424
+ present: boolean;
38425
+ schema_version: string;
38426
+ }[];
38427
+ };
38269
38428
  twinfield_cancel_queue_item: {
38270
38429
  Args: {
38271
38430
  p_id: string;
@@ -38275,11 +38434,32 @@ export type Database = {
38275
38434
  twinfield_connection_offices: {
38276
38435
  Args: never;
38277
38436
  Returns: {
38437
+ company_name: string;
38278
38438
  connection_id: string;
38439
+ environment: string;
38440
+ in_shell_omgeving: boolean;
38279
38441
  is_active: boolean;
38442
+ label_source: string;
38280
38443
  office_code: string;
38281
38444
  }[];
38282
38445
  };
38446
+ twinfield_connection_usage: {
38447
+ Args: never;
38448
+ Returns: {
38449
+ archived: boolean;
38450
+ company_name: string;
38451
+ connected_at: string;
38452
+ connection_id: string;
38453
+ environment: string;
38454
+ gebruikt_door_facturatie: boolean;
38455
+ in_shell_omgeving: boolean;
38456
+ is_active: boolean;
38457
+ label_source: string;
38458
+ leest: boolean;
38459
+ office_code: string;
38460
+ user_id: string;
38461
+ }[];
38462
+ };
38283
38463
  twinfield_cron_lock_acquire: {
38284
38464
  Args: {
38285
38465
  _job_name: string;
@@ -38325,10 +38505,24 @@ export type Database = {
38325
38505
  Args: never;
38326
38506
  Returns: boolean;
38327
38507
  };
38508
+ twinfield_mark_label_pending: {
38509
+ Args: {
38510
+ p_connection_id: string;
38511
+ };
38512
+ Returns: boolean;
38513
+ };
38328
38514
  twinfield_prune_push_queue: {
38329
38515
  Args: never;
38330
38516
  Returns: number;
38331
38517
  };
38518
+ twinfield_record_central_facts: {
38519
+ Args: {
38520
+ p_central_environment: string;
38521
+ p_connection_id: string;
38522
+ p_organisation_code: string;
38523
+ };
38524
+ Returns: Json;
38525
+ };
38332
38526
  twinfield_register_cron: {
38333
38527
  Args: {
38334
38528
  apikey?: string;
@@ -38336,6 +38530,14 @@ export type Database = {
38336
38530
  };
38337
38531
  Returns: Json;
38338
38532
  };
38533
+ twinfield_set_connection_label: {
38534
+ Args: {
38535
+ p_also_shell?: boolean;
38536
+ p_connection_id: string;
38537
+ p_environment: string;
38538
+ };
38539
+ Returns: Json;
38540
+ };
38339
38541
  twinfield_set_write_enabled: {
38340
38542
  Args: {
38341
38543
  p_connection_id: string;
@@ -38917,6 +39119,14 @@ export type Database = {
38917
39119
  };
38918
39120
  Returns: Json;
38919
39121
  };
39122
+ verkoop_insert_manual_order: {
39123
+ Args: {
39124
+ p_idempotency_key: string;
39125
+ p_items: Json;
39126
+ p_order: Json;
39127
+ };
39128
+ Returns: Json;
39129
+ };
38920
39130
  verkoop_packing_drift_apply: {
38921
39131
  Args: {
38922
39132
  p_order_ids: string[];