@flowselections/logistiek-engine 1.0.100 → 1.0.106

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/integrations/supabase/auth-middleware.d.ts +290 -0
  2. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  3. package/dist-lib/integrations/supabase/client.server.d.ts +290 -0
  4. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/moduleClient.d.ts +290 -0
  6. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/types.d.ts +296 -0
  8. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  9. package/dist-lib/lib/cartCoverage.functions.d.ts +290 -0
  10. package/dist-lib/lib/cartCoverage.functions.d.ts.map +1 -1
  11. package/dist-lib/lib/controlScan.server.d.ts.map +1 -1
  12. package/dist-lib/lib/controlScan.server.js +37 -0
  13. package/dist-lib/lib/floridayCartCarriers.d.ts +61 -0
  14. package/dist-lib/lib/floridayCartCarriers.d.ts.map +1 -0
  15. package/dist-lib/lib/floridayCartCarriers.js +113 -0
  16. package/dist-lib/lib/floridayCartCarriers.test.d.ts +2 -0
  17. package/dist-lib/lib/floridayCartCarriers.test.d.ts.map +1 -0
  18. package/dist-lib/lib/floridayCartCarriers.test.js +66 -0
  19. package/dist-lib/lib/floridayDocuments.functions.d.ts +870 -0
  20. package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
  21. package/dist-lib/lib/floridayDocuments.server.d.ts +7 -0
  22. package/dist-lib/lib/floridayDocuments.server.d.ts.map +1 -1
  23. package/dist-lib/lib/floridayDocuments.server.js +16 -1
  24. package/dist-lib/lib/floridayPush.functions.d.ts +290 -0
  25. package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/floridayPush.server.d.ts +2 -0
  27. package/dist-lib/lib/floridayPush.server.d.ts.map +1 -1
  28. package/dist-lib/lib/floridayPush.server.js +54 -3
  29. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +1450 -0
  30. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/loadCarrierPlanning.server.d.ts.map +1 -1
  32. package/dist-lib/lib/loadCarrierPlanning.server.js +6 -3
  33. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +580 -0
  34. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/logisticsRecalculate.functions.d.ts +290 -0
  36. package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
  38. package/dist-lib/lib/modulePrompts.js +81 -0
  39. package/dist-lib/lib/moduleVersion.d.ts +1 -1
  40. package/dist-lib/lib/moduleVersion.js +1 -1
  41. package/dist-lib/lib/plannerDiff.functions.d.ts +290 -0
  42. package/dist-lib/lib/plannerDiff.functions.d.ts.map +1 -1
  43. package/dist-lib/lib/quarantineFilter.test.d.ts +2 -0
  44. package/dist-lib/lib/quarantineFilter.test.d.ts.map +1 -0
  45. package/dist-lib/lib/quarantineFilter.test.js +18 -0
  46. package/dist-lib/lib/shippingNoteQueue.server.d.ts.map +1 -1
  47. package/dist-lib/lib/shippingNoteQueue.server.js +29 -1
  48. package/package.json +3 -3
@@ -7231,6 +7231,39 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
7231
7231
  referencedColumns: ["id"];
7232
7232
  }];
7233
7233
  };
7234
+ floriday_merge_log: {
7235
+ Row: {
7236
+ action: string;
7237
+ created_at: string;
7238
+ floriday_sales_order_ids: import("../integrations/supabase/types").Json;
7239
+ id: string;
7240
+ kept_order_id: string | null;
7241
+ lines: import("../integrations/supabase/types").Json;
7242
+ reason: string | null;
7243
+ removed_order_id: string | null;
7244
+ };
7245
+ Insert: {
7246
+ action: string;
7247
+ created_at?: string;
7248
+ floriday_sales_order_ids?: import("../integrations/supabase/types").Json;
7249
+ id?: string;
7250
+ kept_order_id?: string | null;
7251
+ lines?: import("../integrations/supabase/types").Json;
7252
+ reason?: string | null;
7253
+ removed_order_id?: string | null;
7254
+ };
7255
+ Update: {
7256
+ action?: string;
7257
+ created_at?: string;
7258
+ floriday_sales_order_ids?: import("../integrations/supabase/types").Json;
7259
+ id?: string;
7260
+ kept_order_id?: string | null;
7261
+ lines?: import("../integrations/supabase/types").Json;
7262
+ reason?: string | null;
7263
+ removed_order_id?: string | null;
7264
+ };
7265
+ Relationships: [];
7266
+ };
7234
7267
  floriday_network_cache: {
7235
7268
  Row: {
7236
7269
  city: string | null;
@@ -7936,6 +7969,144 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
7936
7969
  referencedColumns: ["id"];
7937
7970
  }];
7938
7971
  };
7972
+ floriday_webhook_events: {
7973
+ Row: {
7974
+ aggregate_id: string | null;
7975
+ aggregate_type: string | null;
7976
+ attempts: number;
7977
+ connection_id: string | null;
7978
+ dedupe_key: string;
7979
+ duplicate_count: number;
7980
+ event_type: string | null;
7981
+ id: string;
7982
+ last_error: string | null;
7983
+ max_attempts: number;
7984
+ message_type: string | null;
7985
+ next_attempt_at: string | null;
7986
+ payload: import("../integrations/supabase/types").Json | null;
7987
+ processed_at: string | null;
7988
+ received_at: string;
7989
+ status: string;
7990
+ updated_at: string;
7991
+ };
7992
+ Insert: {
7993
+ aggregate_id?: string | null;
7994
+ aggregate_type?: string | null;
7995
+ attempts?: number;
7996
+ connection_id?: string | null;
7997
+ dedupe_key: string;
7998
+ duplicate_count?: number;
7999
+ event_type?: string | null;
8000
+ id?: string;
8001
+ last_error?: string | null;
8002
+ max_attempts?: number;
8003
+ message_type?: string | null;
8004
+ next_attempt_at?: string | null;
8005
+ payload?: import("../integrations/supabase/types").Json | null;
8006
+ processed_at?: string | null;
8007
+ received_at?: string;
8008
+ status?: string;
8009
+ updated_at?: string;
8010
+ };
8011
+ Update: {
8012
+ aggregate_id?: string | null;
8013
+ aggregate_type?: string | null;
8014
+ attempts?: number;
8015
+ connection_id?: string | null;
8016
+ dedupe_key?: string;
8017
+ duplicate_count?: number;
8018
+ event_type?: string | null;
8019
+ id?: string;
8020
+ last_error?: string | null;
8021
+ max_attempts?: number;
8022
+ message_type?: string | null;
8023
+ next_attempt_at?: string | null;
8024
+ payload?: import("../integrations/supabase/types").Json | null;
8025
+ processed_at?: string | null;
8026
+ received_at?: string;
8027
+ status?: string;
8028
+ updated_at?: string;
8029
+ };
8030
+ Relationships: [{
8031
+ foreignKeyName: "floriday_webhook_events_connection_id_fkey";
8032
+ columns: ["connection_id"];
8033
+ isOneToOne: false;
8034
+ referencedRelation: "floriday_connections";
8035
+ referencedColumns: ["id"];
8036
+ }];
8037
+ };
8038
+ floriday_webhook_subscriptions: {
8039
+ Row: {
8040
+ attempts: number;
8041
+ callback_token_hash: string;
8042
+ callback_url: string;
8043
+ confirmed_at: string | null;
8044
+ connection_id: string;
8045
+ created_at: string;
8046
+ environment: string;
8047
+ id: string;
8048
+ last_attempt_at: string | null;
8049
+ last_error: string | null;
8050
+ last_error_kind: string | null;
8051
+ last_event_at: string | null;
8052
+ locked_until: string | null;
8053
+ managed_by: string;
8054
+ next_attempt_at: string | null;
8055
+ status: string;
8056
+ subscribe_url: string | null;
8057
+ subscribed_at: string;
8058
+ updated_at: string;
8059
+ };
8060
+ Insert: {
8061
+ attempts?: number;
8062
+ callback_token_hash: string;
8063
+ callback_url: string;
8064
+ confirmed_at?: string | null;
8065
+ connection_id: string;
8066
+ created_at?: string;
8067
+ environment: string;
8068
+ id?: string;
8069
+ last_attempt_at?: string | null;
8070
+ last_error?: string | null;
8071
+ last_error_kind?: string | null;
8072
+ last_event_at?: string | null;
8073
+ locked_until?: string | null;
8074
+ managed_by?: string;
8075
+ next_attempt_at?: string | null;
8076
+ status?: string;
8077
+ subscribe_url?: string | null;
8078
+ subscribed_at?: string;
8079
+ updated_at?: string;
8080
+ };
8081
+ Update: {
8082
+ attempts?: number;
8083
+ callback_token_hash?: string;
8084
+ callback_url?: string;
8085
+ confirmed_at?: string | null;
8086
+ connection_id?: string;
8087
+ created_at?: string;
8088
+ environment?: string;
8089
+ id?: string;
8090
+ last_attempt_at?: string | null;
8091
+ last_error?: string | null;
8092
+ last_error_kind?: string | null;
8093
+ last_event_at?: string | null;
8094
+ locked_until?: string | null;
8095
+ managed_by?: string;
8096
+ next_attempt_at?: string | null;
8097
+ status?: string;
8098
+ subscribe_url?: string | null;
8099
+ subscribed_at?: string;
8100
+ updated_at?: string;
8101
+ };
8102
+ Relationships: [{
8103
+ foreignKeyName: "floriday_webhook_subscriptions_connection_id_fkey";
8104
+ columns: ["connection_id"];
8105
+ isOneToOne: true;
8106
+ referencedRelation: "floriday_connections";
8107
+ referencedColumns: ["id"];
8108
+ }];
8109
+ };
7939
8110
  floriday_write_log: {
7940
8111
  Row: {
7941
8112
  action: string;
@@ -11305,6 +11476,60 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
11305
11476
  };
11306
11477
  Relationships: [];
11307
11478
  };
11479
+ logistics_order_merge_lines: {
11480
+ Row: {
11481
+ from_order_id: string;
11482
+ from_order_number: string | null;
11483
+ group_key: string;
11484
+ id: string;
11485
+ merged_at: string;
11486
+ order_item_id: string;
11487
+ ordered_at: string | null;
11488
+ product_id: string | null;
11489
+ product_name: string | null;
11490
+ quantity: number | null;
11491
+ reason: string;
11492
+ sales_order_id: string | null;
11493
+ source_line_key: string | null;
11494
+ to_order_id: string;
11495
+ to_order_number: string | null;
11496
+ };
11497
+ Insert: {
11498
+ from_order_id: string;
11499
+ from_order_number?: string | null;
11500
+ group_key: string;
11501
+ id?: string;
11502
+ merged_at?: string;
11503
+ order_item_id: string;
11504
+ ordered_at?: string | null;
11505
+ product_id?: string | null;
11506
+ product_name?: string | null;
11507
+ quantity?: number | null;
11508
+ reason: string;
11509
+ sales_order_id?: string | null;
11510
+ source_line_key?: string | null;
11511
+ to_order_id: string;
11512
+ to_order_number?: string | null;
11513
+ };
11514
+ Update: {
11515
+ from_order_id?: string;
11516
+ from_order_number?: string | null;
11517
+ group_key?: string;
11518
+ id?: string;
11519
+ merged_at?: string;
11520
+ order_item_id?: string;
11521
+ ordered_at?: string | null;
11522
+ product_id?: string | null;
11523
+ product_name?: string | null;
11524
+ quantity?: number | null;
11525
+ reason?: string;
11526
+ sales_order_id?: string | null;
11527
+ source_line_key?: string | null;
11528
+ to_order_id?: string;
11529
+ to_order_number?: string | null;
11530
+ };
11531
+ Relationships: [];
11532
+ };
11308
11533
  logistics_order_merges: {
11309
11534
  Row: {
11310
11535
  group_key: string;
@@ -14945,6 +15170,9 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
14945
15170
  product_id: string | null;
14946
15171
  product_name: string;
14947
15172
  quantity: number;
15173
+ quarantine_reason: string | null;
15174
+ quarantined_at: string | null;
15175
+ quarantined_into_order_id: string | null;
14948
15176
  source_line_key: string | null;
14949
15177
  unit: string;
14950
15178
  unit_price: number | null;
@@ -14961,6 +15189,9 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
14961
15189
  product_id?: string | null;
14962
15190
  product_name: string;
14963
15191
  quantity?: number;
15192
+ quarantine_reason?: string | null;
15193
+ quarantined_at?: string | null;
15194
+ quarantined_into_order_id?: string | null;
14964
15195
  source_line_key?: string | null;
14965
15196
  unit?: string;
14966
15197
  unit_price?: number | null;
@@ -14977,6 +15208,9 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
14977
15208
  product_id?: string | null;
14978
15209
  product_name?: string;
14979
15210
  quantity?: number;
15211
+ quarantine_reason?: string | null;
15212
+ quarantined_at?: string | null;
15213
+ quarantined_into_order_id?: string | null;
14980
15214
  source_line_key?: string | null;
14981
15215
  unit?: string;
14982
15216
  unit_price?: number | null;
@@ -16413,6 +16647,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
16413
16647
  created_at: string;
16414
16648
  end_at: string;
16415
16649
  id: string;
16650
+ kind: string;
16416
16651
  outbox_id: string | null;
16417
16652
  planning_item_id: string;
16418
16653
  reason: string | null;
@@ -16424,6 +16659,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
16424
16659
  created_at?: string;
16425
16660
  end_at: string;
16426
16661
  id?: string;
16662
+ kind?: string;
16427
16663
  outbox_id?: string | null;
16428
16664
  planning_item_id: string;
16429
16665
  reason?: string | null;
@@ -16435,6 +16671,7 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
16435
16671
  created_at?: string;
16436
16672
  end_at?: string;
16437
16673
  id?: string;
16674
+ kind?: string;
16438
16675
  outbox_id?: string | null;
16439
16676
  planning_item_id?: string;
16440
16677
  reason?: string | null;
@@ -16550,6 +16787,8 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
16550
16787
  enabled: boolean;
16551
16788
  id: boolean;
16552
16789
  reply_to: string | null;
16790
+ reschedule_body_template: string;
16791
+ reschedule_subject_template: string;
16553
16792
  subject_template: string;
16554
16793
  timezone: string;
16555
16794
  updated_at: string;
@@ -16564,6 +16803,8 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
16564
16803
  enabled?: boolean;
16565
16804
  id?: boolean;
16566
16805
  reply_to?: string | null;
16806
+ reschedule_body_template?: string;
16807
+ reschedule_subject_template?: string;
16567
16808
  subject_template?: string;
16568
16809
  timezone?: string;
16569
16810
  updated_at?: string;
@@ -16578,6 +16819,8 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
16578
16819
  enabled?: boolean;
16579
16820
  id?: boolean;
16580
16821
  reply_to?: string | null;
16822
+ reschedule_body_template?: string;
16823
+ reschedule_subject_template?: string;
16581
16824
  subject_template?: string;
16582
16825
  timezone?: string;
16583
16826
  updated_at?: string;
@@ -22030,6 +22273,30 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
22030
22273
  };
22031
22274
  Relationships: [];
22032
22275
  };
22276
+ uren_pagina_toegang: {
22277
+ Row: {
22278
+ created_at: string;
22279
+ id: string;
22280
+ user_id: string;
22281
+ };
22282
+ Insert: {
22283
+ created_at?: string;
22284
+ id?: string;
22285
+ user_id: string;
22286
+ };
22287
+ Update: {
22288
+ created_at?: string;
22289
+ id?: string;
22290
+ user_id?: string;
22291
+ };
22292
+ Relationships: [{
22293
+ foreignKeyName: "uren_pagina_toegang_user_id_fkey";
22294
+ columns: ["user_id"];
22295
+ isOneToOne: true;
22296
+ referencedRelation: "profiles";
22297
+ referencedColumns: ["id"];
22298
+ }];
22299
+ };
22033
22300
  uren_settings: {
22034
22301
  Row: {
22035
22302
  break_minutes: number;
@@ -29979,6 +30246,12 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
29979
30246
  };
29980
30247
  Returns: undefined;
29981
30248
  };
30249
+ planning_html_escape: {
30250
+ Args: {
30251
+ t: string;
30252
+ };
30253
+ Returns: string;
30254
+ };
29982
30255
  planning_list: {
29983
30256
  Args: {
29984
30257
  _from: string;
@@ -30033,6 +30306,12 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
30033
30306
  id: string;
30034
30307
  }[];
30035
30308
  };
30309
+ planning_urlencode: {
30310
+ Args: {
30311
+ t: string;
30312
+ };
30313
+ Returns: string;
30314
+ };
30036
30315
  print_preview_toestaan: {
30037
30316
  Args: {
30038
30317
  _max?: number;
@@ -31178,6 +31457,10 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
31178
31457
  };
31179
31458
  Returns: number;
31180
31459
  };
31460
+ uren_heeft_pagina_toegang: {
31461
+ Args: never;
31462
+ Returns: boolean;
31463
+ };
31181
31464
  uren_is_beheerder: {
31182
31465
  Args: never;
31183
31466
  Returns: boolean;
@@ -31261,6 +31544,13 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
31261
31544
  Args: never;
31262
31545
  Returns: string;
31263
31546
  };
31547
+ uren_pagina_toegang_instellen: {
31548
+ Args: {
31549
+ _toegang: boolean;
31550
+ _user_id: string;
31551
+ };
31552
+ Returns: undefined;
31553
+ };
31264
31554
  uren_planning_dagagenda: {
31265
31555
  Args: {
31266
31556
  _tot: string;
@@ -38896,6 +39186,39 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
38896
39186
  referencedColumns: ["id"];
38897
39187
  }];
38898
39188
  };
39189
+ floriday_merge_log: {
39190
+ Row: {
39191
+ action: string;
39192
+ created_at: string;
39193
+ floriday_sales_order_ids: import("../integrations/supabase/types").Json;
39194
+ id: string;
39195
+ kept_order_id: string | null;
39196
+ lines: import("../integrations/supabase/types").Json;
39197
+ reason: string | null;
39198
+ removed_order_id: string | null;
39199
+ };
39200
+ Insert: {
39201
+ action: string;
39202
+ created_at?: string;
39203
+ floriday_sales_order_ids?: import("../integrations/supabase/types").Json;
39204
+ id?: string;
39205
+ kept_order_id?: string | null;
39206
+ lines?: import("../integrations/supabase/types").Json;
39207
+ reason?: string | null;
39208
+ removed_order_id?: string | null;
39209
+ };
39210
+ Update: {
39211
+ action?: string;
39212
+ created_at?: string;
39213
+ floriday_sales_order_ids?: import("../integrations/supabase/types").Json;
39214
+ id?: string;
39215
+ kept_order_id?: string | null;
39216
+ lines?: import("../integrations/supabase/types").Json;
39217
+ reason?: string | null;
39218
+ removed_order_id?: string | null;
39219
+ };
39220
+ Relationships: [];
39221
+ };
38899
39222
  floriday_network_cache: {
38900
39223
  Row: {
38901
39224
  city: string | null;
@@ -39601,6 +39924,144 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
39601
39924
  referencedColumns: ["id"];
39602
39925
  }];
39603
39926
  };
39927
+ floriday_webhook_events: {
39928
+ Row: {
39929
+ aggregate_id: string | null;
39930
+ aggregate_type: string | null;
39931
+ attempts: number;
39932
+ connection_id: string | null;
39933
+ dedupe_key: string;
39934
+ duplicate_count: number;
39935
+ event_type: string | null;
39936
+ id: string;
39937
+ last_error: string | null;
39938
+ max_attempts: number;
39939
+ message_type: string | null;
39940
+ next_attempt_at: string | null;
39941
+ payload: import("../integrations/supabase/types").Json | null;
39942
+ processed_at: string | null;
39943
+ received_at: string;
39944
+ status: string;
39945
+ updated_at: string;
39946
+ };
39947
+ Insert: {
39948
+ aggregate_id?: string | null;
39949
+ aggregate_type?: string | null;
39950
+ attempts?: number;
39951
+ connection_id?: string | null;
39952
+ dedupe_key: string;
39953
+ duplicate_count?: number;
39954
+ event_type?: string | null;
39955
+ id?: string;
39956
+ last_error?: string | null;
39957
+ max_attempts?: number;
39958
+ message_type?: string | null;
39959
+ next_attempt_at?: string | null;
39960
+ payload?: import("../integrations/supabase/types").Json | null;
39961
+ processed_at?: string | null;
39962
+ received_at?: string;
39963
+ status?: string;
39964
+ updated_at?: string;
39965
+ };
39966
+ Update: {
39967
+ aggregate_id?: string | null;
39968
+ aggregate_type?: string | null;
39969
+ attempts?: number;
39970
+ connection_id?: string | null;
39971
+ dedupe_key?: string;
39972
+ duplicate_count?: number;
39973
+ event_type?: string | null;
39974
+ id?: string;
39975
+ last_error?: string | null;
39976
+ max_attempts?: number;
39977
+ message_type?: string | null;
39978
+ next_attempt_at?: string | null;
39979
+ payload?: import("../integrations/supabase/types").Json | null;
39980
+ processed_at?: string | null;
39981
+ received_at?: string;
39982
+ status?: string;
39983
+ updated_at?: string;
39984
+ };
39985
+ Relationships: [{
39986
+ foreignKeyName: "floriday_webhook_events_connection_id_fkey";
39987
+ columns: ["connection_id"];
39988
+ isOneToOne: false;
39989
+ referencedRelation: "floriday_connections";
39990
+ referencedColumns: ["id"];
39991
+ }];
39992
+ };
39993
+ floriday_webhook_subscriptions: {
39994
+ Row: {
39995
+ attempts: number;
39996
+ callback_token_hash: string;
39997
+ callback_url: string;
39998
+ confirmed_at: string | null;
39999
+ connection_id: string;
40000
+ created_at: string;
40001
+ environment: string;
40002
+ id: string;
40003
+ last_attempt_at: string | null;
40004
+ last_error: string | null;
40005
+ last_error_kind: string | null;
40006
+ last_event_at: string | null;
40007
+ locked_until: string | null;
40008
+ managed_by: string;
40009
+ next_attempt_at: string | null;
40010
+ status: string;
40011
+ subscribe_url: string | null;
40012
+ subscribed_at: string;
40013
+ updated_at: string;
40014
+ };
40015
+ Insert: {
40016
+ attempts?: number;
40017
+ callback_token_hash: string;
40018
+ callback_url: string;
40019
+ confirmed_at?: string | null;
40020
+ connection_id: string;
40021
+ created_at?: string;
40022
+ environment: string;
40023
+ id?: string;
40024
+ last_attempt_at?: string | null;
40025
+ last_error?: string | null;
40026
+ last_error_kind?: string | null;
40027
+ last_event_at?: string | null;
40028
+ locked_until?: string | null;
40029
+ managed_by?: string;
40030
+ next_attempt_at?: string | null;
40031
+ status?: string;
40032
+ subscribe_url?: string | null;
40033
+ subscribed_at?: string;
40034
+ updated_at?: string;
40035
+ };
40036
+ Update: {
40037
+ attempts?: number;
40038
+ callback_token_hash?: string;
40039
+ callback_url?: string;
40040
+ confirmed_at?: string | null;
40041
+ connection_id?: string;
40042
+ created_at?: string;
40043
+ environment?: string;
40044
+ id?: string;
40045
+ last_attempt_at?: string | null;
40046
+ last_error?: string | null;
40047
+ last_error_kind?: string | null;
40048
+ last_event_at?: string | null;
40049
+ locked_until?: string | null;
40050
+ managed_by?: string;
40051
+ next_attempt_at?: string | null;
40052
+ status?: string;
40053
+ subscribe_url?: string | null;
40054
+ subscribed_at?: string;
40055
+ updated_at?: string;
40056
+ };
40057
+ Relationships: [{
40058
+ foreignKeyName: "floriday_webhook_subscriptions_connection_id_fkey";
40059
+ columns: ["connection_id"];
40060
+ isOneToOne: true;
40061
+ referencedRelation: "floriday_connections";
40062
+ referencedColumns: ["id"];
40063
+ }];
40064
+ };
39604
40065
  floriday_write_log: {
39605
40066
  Row: {
39606
40067
  action: string;
@@ -42970,6 +43431,60 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
42970
43431
  };
42971
43432
  Relationships: [];
42972
43433
  };
43434
+ logistics_order_merge_lines: {
43435
+ Row: {
43436
+ from_order_id: string;
43437
+ from_order_number: string | null;
43438
+ group_key: string;
43439
+ id: string;
43440
+ merged_at: string;
43441
+ order_item_id: string;
43442
+ ordered_at: string | null;
43443
+ product_id: string | null;
43444
+ product_name: string | null;
43445
+ quantity: number | null;
43446
+ reason: string;
43447
+ sales_order_id: string | null;
43448
+ source_line_key: string | null;
43449
+ to_order_id: string;
43450
+ to_order_number: string | null;
43451
+ };
43452
+ Insert: {
43453
+ from_order_id: string;
43454
+ from_order_number?: string | null;
43455
+ group_key: string;
43456
+ id?: string;
43457
+ merged_at?: string;
43458
+ order_item_id: string;
43459
+ ordered_at?: string | null;
43460
+ product_id?: string | null;
43461
+ product_name?: string | null;
43462
+ quantity?: number | null;
43463
+ reason: string;
43464
+ sales_order_id?: string | null;
43465
+ source_line_key?: string | null;
43466
+ to_order_id: string;
43467
+ to_order_number?: string | null;
43468
+ };
43469
+ Update: {
43470
+ from_order_id?: string;
43471
+ from_order_number?: string | null;
43472
+ group_key?: string;
43473
+ id?: string;
43474
+ merged_at?: string;
43475
+ order_item_id?: string;
43476
+ ordered_at?: string | null;
43477
+ product_id?: string | null;
43478
+ product_name?: string | null;
43479
+ quantity?: number | null;
43480
+ reason?: string;
43481
+ sales_order_id?: string | null;
43482
+ source_line_key?: string | null;
43483
+ to_order_id?: string;
43484
+ to_order_number?: string | null;
43485
+ };
43486
+ Relationships: [];
43487
+ };
42973
43488
  logistics_order_merges: {
42974
43489
  Row: {
42975
43490
  group_key: string;
@@ -46610,6 +47125,9 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
46610
47125
  product_id: string | null;
46611
47126
  product_name: string;
46612
47127
  quantity: number;
47128
+ quarantine_reason: string | null;
47129
+ quarantined_at: string | null;
47130
+ quarantined_into_order_id: string | null;
46613
47131
  source_line_key: string | null;
46614
47132
  unit: string;
46615
47133
  unit_price: number | null;
@@ -46626,6 +47144,9 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
46626
47144
  product_id?: string | null;
46627
47145
  product_name: string;
46628
47146
  quantity?: number;
47147
+ quarantine_reason?: string | null;
47148
+ quarantined_at?: string | null;
47149
+ quarantined_into_order_id?: string | null;
46629
47150
  source_line_key?: string | null;
46630
47151
  unit?: string;
46631
47152
  unit_price?: number | null;
@@ -46642,6 +47163,9 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
46642
47163
  product_id?: string | null;
46643
47164
  product_name?: string;
46644
47165
  quantity?: number;
47166
+ quarantine_reason?: string | null;
47167
+ quarantined_at?: string | null;
47168
+ quarantined_into_order_id?: string | null;
46645
47169
  source_line_key?: string | null;
46646
47170
  unit?: string;
46647
47171
  unit_price?: number | null;
@@ -48078,6 +48602,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
48078
48602
  created_at: string;
48079
48603
  end_at: string;
48080
48604
  id: string;
48605
+ kind: string;
48081
48606
  outbox_id: string | null;
48082
48607
  planning_item_id: string;
48083
48608
  reason: string | null;
@@ -48089,6 +48614,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
48089
48614
  created_at?: string;
48090
48615
  end_at: string;
48091
48616
  id?: string;
48617
+ kind?: string;
48092
48618
  outbox_id?: string | null;
48093
48619
  planning_item_id: string;
48094
48620
  reason?: string | null;
@@ -48100,6 +48626,7 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
48100
48626
  created_at?: string;
48101
48627
  end_at?: string;
48102
48628
  id?: string;
48629
+ kind?: string;
48103
48630
  outbox_id?: string | null;
48104
48631
  planning_item_id?: string;
48105
48632
  reason?: string | null;
@@ -48215,6 +48742,8 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
48215
48742
  enabled: boolean;
48216
48743
  id: boolean;
48217
48744
  reply_to: string | null;
48745
+ reschedule_body_template: string;
48746
+ reschedule_subject_template: string;
48218
48747
  subject_template: string;
48219
48748
  timezone: string;
48220
48749
  updated_at: string;
@@ -48229,6 +48758,8 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
48229
48758
  enabled?: boolean;
48230
48759
  id?: boolean;
48231
48760
  reply_to?: string | null;
48761
+ reschedule_body_template?: string;
48762
+ reschedule_subject_template?: string;
48232
48763
  subject_template?: string;
48233
48764
  timezone?: string;
48234
48765
  updated_at?: string;
@@ -48243,6 +48774,8 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
48243
48774
  enabled?: boolean;
48244
48775
  id?: boolean;
48245
48776
  reply_to?: string | null;
48777
+ reschedule_body_template?: string;
48778
+ reschedule_subject_template?: string;
48246
48779
  subject_template?: string;
48247
48780
  timezone?: string;
48248
48781
  updated_at?: string;
@@ -53695,6 +54228,30 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
53695
54228
  };
53696
54229
  Relationships: [];
53697
54230
  };
54231
+ uren_pagina_toegang: {
54232
+ Row: {
54233
+ created_at: string;
54234
+ id: string;
54235
+ user_id: string;
54236
+ };
54237
+ Insert: {
54238
+ created_at?: string;
54239
+ id?: string;
54240
+ user_id: string;
54241
+ };
54242
+ Update: {
54243
+ created_at?: string;
54244
+ id?: string;
54245
+ user_id?: string;
54246
+ };
54247
+ Relationships: [{
54248
+ foreignKeyName: "uren_pagina_toegang_user_id_fkey";
54249
+ columns: ["user_id"];
54250
+ isOneToOne: true;
54251
+ referencedRelation: "profiles";
54252
+ referencedColumns: ["id"];
54253
+ }];
54254
+ };
53698
54255
  uren_settings: {
53699
54256
  Row: {
53700
54257
  break_minutes: number;
@@ -61644,6 +62201,12 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
61644
62201
  };
61645
62202
  Returns: undefined;
61646
62203
  };
62204
+ planning_html_escape: {
62205
+ Args: {
62206
+ t: string;
62207
+ };
62208
+ Returns: string;
62209
+ };
61647
62210
  planning_list: {
61648
62211
  Args: {
61649
62212
  _from: string;
@@ -61698,6 +62261,12 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
61698
62261
  id: string;
61699
62262
  }[];
61700
62263
  };
62264
+ planning_urlencode: {
62265
+ Args: {
62266
+ t: string;
62267
+ };
62268
+ Returns: string;
62269
+ };
61701
62270
  print_preview_toestaan: {
61702
62271
  Args: {
61703
62272
  _max?: number;
@@ -62843,6 +63412,10 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
62843
63412
  };
62844
63413
  Returns: number;
62845
63414
  };
63415
+ uren_heeft_pagina_toegang: {
63416
+ Args: never;
63417
+ Returns: boolean;
63418
+ };
62846
63419
  uren_is_beheerder: {
62847
63420
  Args: never;
62848
63421
  Returns: boolean;
@@ -62926,6 +63499,13 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
62926
63499
  Args: never;
62927
63500
  Returns: string;
62928
63501
  };
63502
+ uren_pagina_toegang_instellen: {
63503
+ Args: {
63504
+ _toegang: boolean;
63505
+ _user_id: string;
63506
+ };
63507
+ Returns: undefined;
63508
+ };
62929
63509
  uren_planning_dagagenda: {
62930
63510
  Args: {
62931
63511
  _tot: string;
@@ -70565,6 +71145,39 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
70565
71145
  referencedColumns: ["id"];
70566
71146
  }];
70567
71147
  };
71148
+ floriday_merge_log: {
71149
+ Row: {
71150
+ action: string;
71151
+ created_at: string;
71152
+ floriday_sales_order_ids: import("../integrations/supabase/types").Json;
71153
+ id: string;
71154
+ kept_order_id: string | null;
71155
+ lines: import("../integrations/supabase/types").Json;
71156
+ reason: string | null;
71157
+ removed_order_id: string | null;
71158
+ };
71159
+ Insert: {
71160
+ action: string;
71161
+ created_at?: string;
71162
+ floriday_sales_order_ids?: import("../integrations/supabase/types").Json;
71163
+ id?: string;
71164
+ kept_order_id?: string | null;
71165
+ lines?: import("../integrations/supabase/types").Json;
71166
+ reason?: string | null;
71167
+ removed_order_id?: string | null;
71168
+ };
71169
+ Update: {
71170
+ action?: string;
71171
+ created_at?: string;
71172
+ floriday_sales_order_ids?: import("../integrations/supabase/types").Json;
71173
+ id?: string;
71174
+ kept_order_id?: string | null;
71175
+ lines?: import("../integrations/supabase/types").Json;
71176
+ reason?: string | null;
71177
+ removed_order_id?: string | null;
71178
+ };
71179
+ Relationships: [];
71180
+ };
70568
71181
  floriday_network_cache: {
70569
71182
  Row: {
70570
71183
  city: string | null;
@@ -71270,6 +71883,144 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
71270
71883
  referencedColumns: ["id"];
71271
71884
  }];
71272
71885
  };
71886
+ floriday_webhook_events: {
71887
+ Row: {
71888
+ aggregate_id: string | null;
71889
+ aggregate_type: string | null;
71890
+ attempts: number;
71891
+ connection_id: string | null;
71892
+ dedupe_key: string;
71893
+ duplicate_count: number;
71894
+ event_type: string | null;
71895
+ id: string;
71896
+ last_error: string | null;
71897
+ max_attempts: number;
71898
+ message_type: string | null;
71899
+ next_attempt_at: string | null;
71900
+ payload: import("../integrations/supabase/types").Json | null;
71901
+ processed_at: string | null;
71902
+ received_at: string;
71903
+ status: string;
71904
+ updated_at: string;
71905
+ };
71906
+ Insert: {
71907
+ aggregate_id?: string | null;
71908
+ aggregate_type?: string | null;
71909
+ attempts?: number;
71910
+ connection_id?: string | null;
71911
+ dedupe_key: string;
71912
+ duplicate_count?: number;
71913
+ event_type?: string | null;
71914
+ id?: string;
71915
+ last_error?: string | null;
71916
+ max_attempts?: number;
71917
+ message_type?: string | null;
71918
+ next_attempt_at?: string | null;
71919
+ payload?: import("../integrations/supabase/types").Json | null;
71920
+ processed_at?: string | null;
71921
+ received_at?: string;
71922
+ status?: string;
71923
+ updated_at?: string;
71924
+ };
71925
+ Update: {
71926
+ aggregate_id?: string | null;
71927
+ aggregate_type?: string | null;
71928
+ attempts?: number;
71929
+ connection_id?: string | null;
71930
+ dedupe_key?: string;
71931
+ duplicate_count?: number;
71932
+ event_type?: string | null;
71933
+ id?: string;
71934
+ last_error?: string | null;
71935
+ max_attempts?: number;
71936
+ message_type?: string | null;
71937
+ next_attempt_at?: string | null;
71938
+ payload?: import("../integrations/supabase/types").Json | null;
71939
+ processed_at?: string | null;
71940
+ received_at?: string;
71941
+ status?: string;
71942
+ updated_at?: string;
71943
+ };
71944
+ Relationships: [{
71945
+ foreignKeyName: "floriday_webhook_events_connection_id_fkey";
71946
+ columns: ["connection_id"];
71947
+ isOneToOne: false;
71948
+ referencedRelation: "floriday_connections";
71949
+ referencedColumns: ["id"];
71950
+ }];
71951
+ };
71952
+ floriday_webhook_subscriptions: {
71953
+ Row: {
71954
+ attempts: number;
71955
+ callback_token_hash: string;
71956
+ callback_url: string;
71957
+ confirmed_at: string | null;
71958
+ connection_id: string;
71959
+ created_at: string;
71960
+ environment: string;
71961
+ id: string;
71962
+ last_attempt_at: string | null;
71963
+ last_error: string | null;
71964
+ last_error_kind: string | null;
71965
+ last_event_at: string | null;
71966
+ locked_until: string | null;
71967
+ managed_by: string;
71968
+ next_attempt_at: string | null;
71969
+ status: string;
71970
+ subscribe_url: string | null;
71971
+ subscribed_at: string;
71972
+ updated_at: string;
71973
+ };
71974
+ Insert: {
71975
+ attempts?: number;
71976
+ callback_token_hash: string;
71977
+ callback_url: string;
71978
+ confirmed_at?: string | null;
71979
+ connection_id: string;
71980
+ created_at?: string;
71981
+ environment: string;
71982
+ id?: string;
71983
+ last_attempt_at?: string | null;
71984
+ last_error?: string | null;
71985
+ last_error_kind?: string | null;
71986
+ last_event_at?: string | null;
71987
+ locked_until?: string | null;
71988
+ managed_by?: string;
71989
+ next_attempt_at?: string | null;
71990
+ status?: string;
71991
+ subscribe_url?: string | null;
71992
+ subscribed_at?: string;
71993
+ updated_at?: string;
71994
+ };
71995
+ Update: {
71996
+ attempts?: number;
71997
+ callback_token_hash?: string;
71998
+ callback_url?: string;
71999
+ confirmed_at?: string | null;
72000
+ connection_id?: string;
72001
+ created_at?: string;
72002
+ environment?: string;
72003
+ id?: string;
72004
+ last_attempt_at?: string | null;
72005
+ last_error?: string | null;
72006
+ last_error_kind?: string | null;
72007
+ last_event_at?: string | null;
72008
+ locked_until?: string | null;
72009
+ managed_by?: string;
72010
+ next_attempt_at?: string | null;
72011
+ status?: string;
72012
+ subscribe_url?: string | null;
72013
+ subscribed_at?: string;
72014
+ updated_at?: string;
72015
+ };
72016
+ Relationships: [{
72017
+ foreignKeyName: "floriday_webhook_subscriptions_connection_id_fkey";
72018
+ columns: ["connection_id"];
72019
+ isOneToOne: true;
72020
+ referencedRelation: "floriday_connections";
72021
+ referencedColumns: ["id"];
72022
+ }];
72023
+ };
71273
72024
  floriday_write_log: {
71274
72025
  Row: {
71275
72026
  action: string;
@@ -74639,6 +75390,60 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
74639
75390
  };
74640
75391
  Relationships: [];
74641
75392
  };
75393
+ logistics_order_merge_lines: {
75394
+ Row: {
75395
+ from_order_id: string;
75396
+ from_order_number: string | null;
75397
+ group_key: string;
75398
+ id: string;
75399
+ merged_at: string;
75400
+ order_item_id: string;
75401
+ ordered_at: string | null;
75402
+ product_id: string | null;
75403
+ product_name: string | null;
75404
+ quantity: number | null;
75405
+ reason: string;
75406
+ sales_order_id: string | null;
75407
+ source_line_key: string | null;
75408
+ to_order_id: string;
75409
+ to_order_number: string | null;
75410
+ };
75411
+ Insert: {
75412
+ from_order_id: string;
75413
+ from_order_number?: string | null;
75414
+ group_key: string;
75415
+ id?: string;
75416
+ merged_at?: string;
75417
+ order_item_id: string;
75418
+ ordered_at?: string | null;
75419
+ product_id?: string | null;
75420
+ product_name?: string | null;
75421
+ quantity?: number | null;
75422
+ reason: string;
75423
+ sales_order_id?: string | null;
75424
+ source_line_key?: string | null;
75425
+ to_order_id: string;
75426
+ to_order_number?: string | null;
75427
+ };
75428
+ Update: {
75429
+ from_order_id?: string;
75430
+ from_order_number?: string | null;
75431
+ group_key?: string;
75432
+ id?: string;
75433
+ merged_at?: string;
75434
+ order_item_id?: string;
75435
+ ordered_at?: string | null;
75436
+ product_id?: string | null;
75437
+ product_name?: string | null;
75438
+ quantity?: number | null;
75439
+ reason?: string;
75440
+ sales_order_id?: string | null;
75441
+ source_line_key?: string | null;
75442
+ to_order_id?: string;
75443
+ to_order_number?: string | null;
75444
+ };
75445
+ Relationships: [];
75446
+ };
74642
75447
  logistics_order_merges: {
74643
75448
  Row: {
74644
75449
  group_key: string;
@@ -78279,6 +79084,9 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
78279
79084
  product_id: string | null;
78280
79085
  product_name: string;
78281
79086
  quantity: number;
79087
+ quarantine_reason: string | null;
79088
+ quarantined_at: string | null;
79089
+ quarantined_into_order_id: string | null;
78282
79090
  source_line_key: string | null;
78283
79091
  unit: string;
78284
79092
  unit_price: number | null;
@@ -78295,6 +79103,9 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
78295
79103
  product_id?: string | null;
78296
79104
  product_name: string;
78297
79105
  quantity?: number;
79106
+ quarantine_reason?: string | null;
79107
+ quarantined_at?: string | null;
79108
+ quarantined_into_order_id?: string | null;
78298
79109
  source_line_key?: string | null;
78299
79110
  unit?: string;
78300
79111
  unit_price?: number | null;
@@ -78311,6 +79122,9 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
78311
79122
  product_id?: string | null;
78312
79123
  product_name?: string;
78313
79124
  quantity?: number;
79125
+ quarantine_reason?: string | null;
79126
+ quarantined_at?: string | null;
79127
+ quarantined_into_order_id?: string | null;
78314
79128
  source_line_key?: string | null;
78315
79129
  unit?: string;
78316
79130
  unit_price?: number | null;
@@ -79747,6 +80561,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
79747
80561
  created_at: string;
79748
80562
  end_at: string;
79749
80563
  id: string;
80564
+ kind: string;
79750
80565
  outbox_id: string | null;
79751
80566
  planning_item_id: string;
79752
80567
  reason: string | null;
@@ -79758,6 +80573,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
79758
80573
  created_at?: string;
79759
80574
  end_at: string;
79760
80575
  id?: string;
80576
+ kind?: string;
79761
80577
  outbox_id?: string | null;
79762
80578
  planning_item_id: string;
79763
80579
  reason?: string | null;
@@ -79769,6 +80585,7 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
79769
80585
  created_at?: string;
79770
80586
  end_at?: string;
79771
80587
  id?: string;
80588
+ kind?: string;
79772
80589
  outbox_id?: string | null;
79773
80590
  planning_item_id?: string;
79774
80591
  reason?: string | null;
@@ -79884,6 +80701,8 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
79884
80701
  enabled: boolean;
79885
80702
  id: boolean;
79886
80703
  reply_to: string | null;
80704
+ reschedule_body_template: string;
80705
+ reschedule_subject_template: string;
79887
80706
  subject_template: string;
79888
80707
  timezone: string;
79889
80708
  updated_at: string;
@@ -79898,6 +80717,8 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
79898
80717
  enabled?: boolean;
79899
80718
  id?: boolean;
79900
80719
  reply_to?: string | null;
80720
+ reschedule_body_template?: string;
80721
+ reschedule_subject_template?: string;
79901
80722
  subject_template?: string;
79902
80723
  timezone?: string;
79903
80724
  updated_at?: string;
@@ -79912,6 +80733,8 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
79912
80733
  enabled?: boolean;
79913
80734
  id?: boolean;
79914
80735
  reply_to?: string | null;
80736
+ reschedule_body_template?: string;
80737
+ reschedule_subject_template?: string;
79915
80738
  subject_template?: string;
79916
80739
  timezone?: string;
79917
80740
  updated_at?: string;
@@ -85364,6 +86187,30 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
85364
86187
  };
85365
86188
  Relationships: [];
85366
86189
  };
86190
+ uren_pagina_toegang: {
86191
+ Row: {
86192
+ created_at: string;
86193
+ id: string;
86194
+ user_id: string;
86195
+ };
86196
+ Insert: {
86197
+ created_at?: string;
86198
+ id?: string;
86199
+ user_id: string;
86200
+ };
86201
+ Update: {
86202
+ created_at?: string;
86203
+ id?: string;
86204
+ user_id?: string;
86205
+ };
86206
+ Relationships: [{
86207
+ foreignKeyName: "uren_pagina_toegang_user_id_fkey";
86208
+ columns: ["user_id"];
86209
+ isOneToOne: true;
86210
+ referencedRelation: "profiles";
86211
+ referencedColumns: ["id"];
86212
+ }];
86213
+ };
85367
86214
  uren_settings: {
85368
86215
  Row: {
85369
86216
  break_minutes: number;
@@ -93313,6 +94160,12 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
93313
94160
  };
93314
94161
  Returns: undefined;
93315
94162
  };
94163
+ planning_html_escape: {
94164
+ Args: {
94165
+ t: string;
94166
+ };
94167
+ Returns: string;
94168
+ };
93316
94169
  planning_list: {
93317
94170
  Args: {
93318
94171
  _from: string;
@@ -93367,6 +94220,12 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
93367
94220
  id: string;
93368
94221
  }[];
93369
94222
  };
94223
+ planning_urlencode: {
94224
+ Args: {
94225
+ t: string;
94226
+ };
94227
+ Returns: string;
94228
+ };
93370
94229
  print_preview_toestaan: {
93371
94230
  Args: {
93372
94231
  _max?: number;
@@ -94512,6 +95371,10 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
94512
95371
  };
94513
95372
  Returns: number;
94514
95373
  };
95374
+ uren_heeft_pagina_toegang: {
95375
+ Args: never;
95376
+ Returns: boolean;
95377
+ };
94515
95378
  uren_is_beheerder: {
94516
95379
  Args: never;
94517
95380
  Returns: boolean;
@@ -94595,6 +95458,13 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
94595
95458
  Args: never;
94596
95459
  Returns: string;
94597
95460
  };
95461
+ uren_pagina_toegang_instellen: {
95462
+ Args: {
95463
+ _toegang: boolean;
95464
+ _user_id: string;
95465
+ };
95466
+ Returns: undefined;
95467
+ };
94598
95468
  uren_planning_dagagenda: {
94599
95469
  Args: {
94600
95470
  _tot: string;
@@ -102234,6 +103104,39 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
102234
103104
  referencedColumns: ["id"];
102235
103105
  }];
102236
103106
  };
103107
+ floriday_merge_log: {
103108
+ Row: {
103109
+ action: string;
103110
+ created_at: string;
103111
+ floriday_sales_order_ids: import("../integrations/supabase/types").Json;
103112
+ id: string;
103113
+ kept_order_id: string | null;
103114
+ lines: import("../integrations/supabase/types").Json;
103115
+ reason: string | null;
103116
+ removed_order_id: string | null;
103117
+ };
103118
+ Insert: {
103119
+ action: string;
103120
+ created_at?: string;
103121
+ floriday_sales_order_ids?: import("../integrations/supabase/types").Json;
103122
+ id?: string;
103123
+ kept_order_id?: string | null;
103124
+ lines?: import("../integrations/supabase/types").Json;
103125
+ reason?: string | null;
103126
+ removed_order_id?: string | null;
103127
+ };
103128
+ Update: {
103129
+ action?: string;
103130
+ created_at?: string;
103131
+ floriday_sales_order_ids?: import("../integrations/supabase/types").Json;
103132
+ id?: string;
103133
+ kept_order_id?: string | null;
103134
+ lines?: import("../integrations/supabase/types").Json;
103135
+ reason?: string | null;
103136
+ removed_order_id?: string | null;
103137
+ };
103138
+ Relationships: [];
103139
+ };
102237
103140
  floriday_network_cache: {
102238
103141
  Row: {
102239
103142
  city: string | null;
@@ -102939,6 +103842,144 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
102939
103842
  referencedColumns: ["id"];
102940
103843
  }];
102941
103844
  };
103845
+ floriday_webhook_events: {
103846
+ Row: {
103847
+ aggregate_id: string | null;
103848
+ aggregate_type: string | null;
103849
+ attempts: number;
103850
+ connection_id: string | null;
103851
+ dedupe_key: string;
103852
+ duplicate_count: number;
103853
+ event_type: string | null;
103854
+ id: string;
103855
+ last_error: string | null;
103856
+ max_attempts: number;
103857
+ message_type: string | null;
103858
+ next_attempt_at: string | null;
103859
+ payload: import("../integrations/supabase/types").Json | null;
103860
+ processed_at: string | null;
103861
+ received_at: string;
103862
+ status: string;
103863
+ updated_at: string;
103864
+ };
103865
+ Insert: {
103866
+ aggregate_id?: string | null;
103867
+ aggregate_type?: string | null;
103868
+ attempts?: number;
103869
+ connection_id?: string | null;
103870
+ dedupe_key: string;
103871
+ duplicate_count?: number;
103872
+ event_type?: string | null;
103873
+ id?: string;
103874
+ last_error?: string | null;
103875
+ max_attempts?: number;
103876
+ message_type?: string | null;
103877
+ next_attempt_at?: string | null;
103878
+ payload?: import("../integrations/supabase/types").Json | null;
103879
+ processed_at?: string | null;
103880
+ received_at?: string;
103881
+ status?: string;
103882
+ updated_at?: string;
103883
+ };
103884
+ Update: {
103885
+ aggregate_id?: string | null;
103886
+ aggregate_type?: string | null;
103887
+ attempts?: number;
103888
+ connection_id?: string | null;
103889
+ dedupe_key?: string;
103890
+ duplicate_count?: number;
103891
+ event_type?: string | null;
103892
+ id?: string;
103893
+ last_error?: string | null;
103894
+ max_attempts?: number;
103895
+ message_type?: string | null;
103896
+ next_attempt_at?: string | null;
103897
+ payload?: import("../integrations/supabase/types").Json | null;
103898
+ processed_at?: string | null;
103899
+ received_at?: string;
103900
+ status?: string;
103901
+ updated_at?: string;
103902
+ };
103903
+ Relationships: [{
103904
+ foreignKeyName: "floriday_webhook_events_connection_id_fkey";
103905
+ columns: ["connection_id"];
103906
+ isOneToOne: false;
103907
+ referencedRelation: "floriday_connections";
103908
+ referencedColumns: ["id"];
103909
+ }];
103910
+ };
103911
+ floriday_webhook_subscriptions: {
103912
+ Row: {
103913
+ attempts: number;
103914
+ callback_token_hash: string;
103915
+ callback_url: string;
103916
+ confirmed_at: string | null;
103917
+ connection_id: string;
103918
+ created_at: string;
103919
+ environment: string;
103920
+ id: string;
103921
+ last_attempt_at: string | null;
103922
+ last_error: string | null;
103923
+ last_error_kind: string | null;
103924
+ last_event_at: string | null;
103925
+ locked_until: string | null;
103926
+ managed_by: string;
103927
+ next_attempt_at: string | null;
103928
+ status: string;
103929
+ subscribe_url: string | null;
103930
+ subscribed_at: string;
103931
+ updated_at: string;
103932
+ };
103933
+ Insert: {
103934
+ attempts?: number;
103935
+ callback_token_hash: string;
103936
+ callback_url: string;
103937
+ confirmed_at?: string | null;
103938
+ connection_id: string;
103939
+ created_at?: string;
103940
+ environment: string;
103941
+ id?: string;
103942
+ last_attempt_at?: string | null;
103943
+ last_error?: string | null;
103944
+ last_error_kind?: string | null;
103945
+ last_event_at?: string | null;
103946
+ locked_until?: string | null;
103947
+ managed_by?: string;
103948
+ next_attempt_at?: string | null;
103949
+ status?: string;
103950
+ subscribe_url?: string | null;
103951
+ subscribed_at?: string;
103952
+ updated_at?: string;
103953
+ };
103954
+ Update: {
103955
+ attempts?: number;
103956
+ callback_token_hash?: string;
103957
+ callback_url?: string;
103958
+ confirmed_at?: string | null;
103959
+ connection_id?: string;
103960
+ created_at?: string;
103961
+ environment?: string;
103962
+ id?: string;
103963
+ last_attempt_at?: string | null;
103964
+ last_error?: string | null;
103965
+ last_error_kind?: string | null;
103966
+ last_event_at?: string | null;
103967
+ locked_until?: string | null;
103968
+ managed_by?: string;
103969
+ next_attempt_at?: string | null;
103970
+ status?: string;
103971
+ subscribe_url?: string | null;
103972
+ subscribed_at?: string;
103973
+ updated_at?: string;
103974
+ };
103975
+ Relationships: [{
103976
+ foreignKeyName: "floriday_webhook_subscriptions_connection_id_fkey";
103977
+ columns: ["connection_id"];
103978
+ isOneToOne: true;
103979
+ referencedRelation: "floriday_connections";
103980
+ referencedColumns: ["id"];
103981
+ }];
103982
+ };
102942
103983
  floriday_write_log: {
102943
103984
  Row: {
102944
103985
  action: string;
@@ -106308,6 +107349,60 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
106308
107349
  };
106309
107350
  Relationships: [];
106310
107351
  };
107352
+ logistics_order_merge_lines: {
107353
+ Row: {
107354
+ from_order_id: string;
107355
+ from_order_number: string | null;
107356
+ group_key: string;
107357
+ id: string;
107358
+ merged_at: string;
107359
+ order_item_id: string;
107360
+ ordered_at: string | null;
107361
+ product_id: string | null;
107362
+ product_name: string | null;
107363
+ quantity: number | null;
107364
+ reason: string;
107365
+ sales_order_id: string | null;
107366
+ source_line_key: string | null;
107367
+ to_order_id: string;
107368
+ to_order_number: string | null;
107369
+ };
107370
+ Insert: {
107371
+ from_order_id: string;
107372
+ from_order_number?: string | null;
107373
+ group_key: string;
107374
+ id?: string;
107375
+ merged_at?: string;
107376
+ order_item_id: string;
107377
+ ordered_at?: string | null;
107378
+ product_id?: string | null;
107379
+ product_name?: string | null;
107380
+ quantity?: number | null;
107381
+ reason: string;
107382
+ sales_order_id?: string | null;
107383
+ source_line_key?: string | null;
107384
+ to_order_id: string;
107385
+ to_order_number?: string | null;
107386
+ };
107387
+ Update: {
107388
+ from_order_id?: string;
107389
+ from_order_number?: string | null;
107390
+ group_key?: string;
107391
+ id?: string;
107392
+ merged_at?: string;
107393
+ order_item_id?: string;
107394
+ ordered_at?: string | null;
107395
+ product_id?: string | null;
107396
+ product_name?: string | null;
107397
+ quantity?: number | null;
107398
+ reason?: string;
107399
+ sales_order_id?: string | null;
107400
+ source_line_key?: string | null;
107401
+ to_order_id?: string;
107402
+ to_order_number?: string | null;
107403
+ };
107404
+ Relationships: [];
107405
+ };
106311
107406
  logistics_order_merges: {
106312
107407
  Row: {
106313
107408
  group_key: string;
@@ -109948,6 +111043,9 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
109948
111043
  product_id: string | null;
109949
111044
  product_name: string;
109950
111045
  quantity: number;
111046
+ quarantine_reason: string | null;
111047
+ quarantined_at: string | null;
111048
+ quarantined_into_order_id: string | null;
109951
111049
  source_line_key: string | null;
109952
111050
  unit: string;
109953
111051
  unit_price: number | null;
@@ -109964,6 +111062,9 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
109964
111062
  product_id?: string | null;
109965
111063
  product_name: string;
109966
111064
  quantity?: number;
111065
+ quarantine_reason?: string | null;
111066
+ quarantined_at?: string | null;
111067
+ quarantined_into_order_id?: string | null;
109967
111068
  source_line_key?: string | null;
109968
111069
  unit?: string;
109969
111070
  unit_price?: number | null;
@@ -109980,6 +111081,9 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
109980
111081
  product_id?: string | null;
109981
111082
  product_name?: string;
109982
111083
  quantity?: number;
111084
+ quarantine_reason?: string | null;
111085
+ quarantined_at?: string | null;
111086
+ quarantined_into_order_id?: string | null;
109983
111087
  source_line_key?: string | null;
109984
111088
  unit?: string;
109985
111089
  unit_price?: number | null;
@@ -111416,6 +112520,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
111416
112520
  created_at: string;
111417
112521
  end_at: string;
111418
112522
  id: string;
112523
+ kind: string;
111419
112524
  outbox_id: string | null;
111420
112525
  planning_item_id: string;
111421
112526
  reason: string | null;
@@ -111427,6 +112532,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
111427
112532
  created_at?: string;
111428
112533
  end_at: string;
111429
112534
  id?: string;
112535
+ kind?: string;
111430
112536
  outbox_id?: string | null;
111431
112537
  planning_item_id: string;
111432
112538
  reason?: string | null;
@@ -111438,6 +112544,7 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
111438
112544
  created_at?: string;
111439
112545
  end_at?: string;
111440
112546
  id?: string;
112547
+ kind?: string;
111441
112548
  outbox_id?: string | null;
111442
112549
  planning_item_id?: string;
111443
112550
  reason?: string | null;
@@ -111553,6 +112660,8 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
111553
112660
  enabled: boolean;
111554
112661
  id: boolean;
111555
112662
  reply_to: string | null;
112663
+ reschedule_body_template: string;
112664
+ reschedule_subject_template: string;
111556
112665
  subject_template: string;
111557
112666
  timezone: string;
111558
112667
  updated_at: string;
@@ -111567,6 +112676,8 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
111567
112676
  enabled?: boolean;
111568
112677
  id?: boolean;
111569
112678
  reply_to?: string | null;
112679
+ reschedule_body_template?: string;
112680
+ reschedule_subject_template?: string;
111570
112681
  subject_template?: string;
111571
112682
  timezone?: string;
111572
112683
  updated_at?: string;
@@ -111581,6 +112692,8 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
111581
112692
  enabled?: boolean;
111582
112693
  id?: boolean;
111583
112694
  reply_to?: string | null;
112695
+ reschedule_body_template?: string;
112696
+ reschedule_subject_template?: string;
111584
112697
  subject_template?: string;
111585
112698
  timezone?: string;
111586
112699
  updated_at?: string;
@@ -117033,6 +118146,30 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
117033
118146
  };
117034
118147
  Relationships: [];
117035
118148
  };
118149
+ uren_pagina_toegang: {
118150
+ Row: {
118151
+ created_at: string;
118152
+ id: string;
118153
+ user_id: string;
118154
+ };
118155
+ Insert: {
118156
+ created_at?: string;
118157
+ id?: string;
118158
+ user_id: string;
118159
+ };
118160
+ Update: {
118161
+ created_at?: string;
118162
+ id?: string;
118163
+ user_id?: string;
118164
+ };
118165
+ Relationships: [{
118166
+ foreignKeyName: "uren_pagina_toegang_user_id_fkey";
118167
+ columns: ["user_id"];
118168
+ isOneToOne: true;
118169
+ referencedRelation: "profiles";
118170
+ referencedColumns: ["id"];
118171
+ }];
118172
+ };
117036
118173
  uren_settings: {
117037
118174
  Row: {
117038
118175
  break_minutes: number;
@@ -124982,6 +126119,12 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
124982
126119
  };
124983
126120
  Returns: undefined;
124984
126121
  };
126122
+ planning_html_escape: {
126123
+ Args: {
126124
+ t: string;
126125
+ };
126126
+ Returns: string;
126127
+ };
124985
126128
  planning_list: {
124986
126129
  Args: {
124987
126130
  _from: string;
@@ -125036,6 +126179,12 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
125036
126179
  id: string;
125037
126180
  }[];
125038
126181
  };
126182
+ planning_urlencode: {
126183
+ Args: {
126184
+ t: string;
126185
+ };
126186
+ Returns: string;
126187
+ };
125039
126188
  print_preview_toestaan: {
125040
126189
  Args: {
125041
126190
  _max?: number;
@@ -126181,6 +127330,10 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
126181
127330
  };
126182
127331
  Returns: number;
126183
127332
  };
127333
+ uren_heeft_pagina_toegang: {
127334
+ Args: never;
127335
+ Returns: boolean;
127336
+ };
126184
127337
  uren_is_beheerder: {
126185
127338
  Args: never;
126186
127339
  Returns: boolean;
@@ -126264,6 +127417,13 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
126264
127417
  Args: never;
126265
127418
  Returns: string;
126266
127419
  };
127420
+ uren_pagina_toegang_instellen: {
127421
+ Args: {
127422
+ _toegang: boolean;
127423
+ _user_id: string;
127424
+ };
127425
+ Returns: undefined;
127426
+ };
126267
127427
  uren_planning_dagagenda: {
126268
127428
  Args: {
126269
127429
  _tot: string;
@@ -133901,6 +135061,39 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
133901
135061
  referencedColumns: ["id"];
133902
135062
  }];
133903
135063
  };
135064
+ floriday_merge_log: {
135065
+ Row: {
135066
+ action: string;
135067
+ created_at: string;
135068
+ floriday_sales_order_ids: import("../integrations/supabase/types").Json;
135069
+ id: string;
135070
+ kept_order_id: string | null;
135071
+ lines: import("../integrations/supabase/types").Json;
135072
+ reason: string | null;
135073
+ removed_order_id: string | null;
135074
+ };
135075
+ Insert: {
135076
+ action: string;
135077
+ created_at?: string;
135078
+ floriday_sales_order_ids?: import("../integrations/supabase/types").Json;
135079
+ id?: string;
135080
+ kept_order_id?: string | null;
135081
+ lines?: import("../integrations/supabase/types").Json;
135082
+ reason?: string | null;
135083
+ removed_order_id?: string | null;
135084
+ };
135085
+ Update: {
135086
+ action?: string;
135087
+ created_at?: string;
135088
+ floriday_sales_order_ids?: import("../integrations/supabase/types").Json;
135089
+ id?: string;
135090
+ kept_order_id?: string | null;
135091
+ lines?: import("../integrations/supabase/types").Json;
135092
+ reason?: string | null;
135093
+ removed_order_id?: string | null;
135094
+ };
135095
+ Relationships: [];
135096
+ };
133904
135097
  floriday_network_cache: {
133905
135098
  Row: {
133906
135099
  city: string | null;
@@ -134606,6 +135799,144 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
134606
135799
  referencedColumns: ["id"];
134607
135800
  }];
134608
135801
  };
135802
+ floriday_webhook_events: {
135803
+ Row: {
135804
+ aggregate_id: string | null;
135805
+ aggregate_type: string | null;
135806
+ attempts: number;
135807
+ connection_id: string | null;
135808
+ dedupe_key: string;
135809
+ duplicate_count: number;
135810
+ event_type: string | null;
135811
+ id: string;
135812
+ last_error: string | null;
135813
+ max_attempts: number;
135814
+ message_type: string | null;
135815
+ next_attempt_at: string | null;
135816
+ payload: import("../integrations/supabase/types").Json | null;
135817
+ processed_at: string | null;
135818
+ received_at: string;
135819
+ status: string;
135820
+ updated_at: string;
135821
+ };
135822
+ Insert: {
135823
+ aggregate_id?: string | null;
135824
+ aggregate_type?: string | null;
135825
+ attempts?: number;
135826
+ connection_id?: string | null;
135827
+ dedupe_key: string;
135828
+ duplicate_count?: number;
135829
+ event_type?: string | null;
135830
+ id?: string;
135831
+ last_error?: string | null;
135832
+ max_attempts?: number;
135833
+ message_type?: string | null;
135834
+ next_attempt_at?: string | null;
135835
+ payload?: import("../integrations/supabase/types").Json | null;
135836
+ processed_at?: string | null;
135837
+ received_at?: string;
135838
+ status?: string;
135839
+ updated_at?: string;
135840
+ };
135841
+ Update: {
135842
+ aggregate_id?: string | null;
135843
+ aggregate_type?: string | null;
135844
+ attempts?: number;
135845
+ connection_id?: string | null;
135846
+ dedupe_key?: string;
135847
+ duplicate_count?: number;
135848
+ event_type?: string | null;
135849
+ id?: string;
135850
+ last_error?: string | null;
135851
+ max_attempts?: number;
135852
+ message_type?: string | null;
135853
+ next_attempt_at?: string | null;
135854
+ payload?: import("../integrations/supabase/types").Json | null;
135855
+ processed_at?: string | null;
135856
+ received_at?: string;
135857
+ status?: string;
135858
+ updated_at?: string;
135859
+ };
135860
+ Relationships: [{
135861
+ foreignKeyName: "floriday_webhook_events_connection_id_fkey";
135862
+ columns: ["connection_id"];
135863
+ isOneToOne: false;
135864
+ referencedRelation: "floriday_connections";
135865
+ referencedColumns: ["id"];
135866
+ }];
135867
+ };
135868
+ floriday_webhook_subscriptions: {
135869
+ Row: {
135870
+ attempts: number;
135871
+ callback_token_hash: string;
135872
+ callback_url: string;
135873
+ confirmed_at: string | null;
135874
+ connection_id: string;
135875
+ created_at: string;
135876
+ environment: string;
135877
+ id: string;
135878
+ last_attempt_at: string | null;
135879
+ last_error: string | null;
135880
+ last_error_kind: string | null;
135881
+ last_event_at: string | null;
135882
+ locked_until: string | null;
135883
+ managed_by: string;
135884
+ next_attempt_at: string | null;
135885
+ status: string;
135886
+ subscribe_url: string | null;
135887
+ subscribed_at: string;
135888
+ updated_at: string;
135889
+ };
135890
+ Insert: {
135891
+ attempts?: number;
135892
+ callback_token_hash: string;
135893
+ callback_url: string;
135894
+ confirmed_at?: string | null;
135895
+ connection_id: string;
135896
+ created_at?: string;
135897
+ environment: string;
135898
+ id?: string;
135899
+ last_attempt_at?: string | null;
135900
+ last_error?: string | null;
135901
+ last_error_kind?: string | null;
135902
+ last_event_at?: string | null;
135903
+ locked_until?: string | null;
135904
+ managed_by?: string;
135905
+ next_attempt_at?: string | null;
135906
+ status?: string;
135907
+ subscribe_url?: string | null;
135908
+ subscribed_at?: string;
135909
+ updated_at?: string;
135910
+ };
135911
+ Update: {
135912
+ attempts?: number;
135913
+ callback_token_hash?: string;
135914
+ callback_url?: string;
135915
+ confirmed_at?: string | null;
135916
+ connection_id?: string;
135917
+ created_at?: string;
135918
+ environment?: string;
135919
+ id?: string;
135920
+ last_attempt_at?: string | null;
135921
+ last_error?: string | null;
135922
+ last_error_kind?: string | null;
135923
+ last_event_at?: string | null;
135924
+ locked_until?: string | null;
135925
+ managed_by?: string;
135926
+ next_attempt_at?: string | null;
135927
+ status?: string;
135928
+ subscribe_url?: string | null;
135929
+ subscribed_at?: string;
135930
+ updated_at?: string;
135931
+ };
135932
+ Relationships: [{
135933
+ foreignKeyName: "floriday_webhook_subscriptions_connection_id_fkey";
135934
+ columns: ["connection_id"];
135935
+ isOneToOne: true;
135936
+ referencedRelation: "floriday_connections";
135937
+ referencedColumns: ["id"];
135938
+ }];
135939
+ };
134609
135940
  floriday_write_log: {
134610
135941
  Row: {
134611
135942
  action: string;
@@ -137975,6 +139306,60 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
137975
139306
  };
137976
139307
  Relationships: [];
137977
139308
  };
139309
+ logistics_order_merge_lines: {
139310
+ Row: {
139311
+ from_order_id: string;
139312
+ from_order_number: string | null;
139313
+ group_key: string;
139314
+ id: string;
139315
+ merged_at: string;
139316
+ order_item_id: string;
139317
+ ordered_at: string | null;
139318
+ product_id: string | null;
139319
+ product_name: string | null;
139320
+ quantity: number | null;
139321
+ reason: string;
139322
+ sales_order_id: string | null;
139323
+ source_line_key: string | null;
139324
+ to_order_id: string;
139325
+ to_order_number: string | null;
139326
+ };
139327
+ Insert: {
139328
+ from_order_id: string;
139329
+ from_order_number?: string | null;
139330
+ group_key: string;
139331
+ id?: string;
139332
+ merged_at?: string;
139333
+ order_item_id: string;
139334
+ ordered_at?: string | null;
139335
+ product_id?: string | null;
139336
+ product_name?: string | null;
139337
+ quantity?: number | null;
139338
+ reason: string;
139339
+ sales_order_id?: string | null;
139340
+ source_line_key?: string | null;
139341
+ to_order_id: string;
139342
+ to_order_number?: string | null;
139343
+ };
139344
+ Update: {
139345
+ from_order_id?: string;
139346
+ from_order_number?: string | null;
139347
+ group_key?: string;
139348
+ id?: string;
139349
+ merged_at?: string;
139350
+ order_item_id?: string;
139351
+ ordered_at?: string | null;
139352
+ product_id?: string | null;
139353
+ product_name?: string | null;
139354
+ quantity?: number | null;
139355
+ reason?: string;
139356
+ sales_order_id?: string | null;
139357
+ source_line_key?: string | null;
139358
+ to_order_id?: string;
139359
+ to_order_number?: string | null;
139360
+ };
139361
+ Relationships: [];
139362
+ };
137978
139363
  logistics_order_merges: {
137979
139364
  Row: {
137980
139365
  group_key: string;
@@ -141615,6 +143000,9 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
141615
143000
  product_id: string | null;
141616
143001
  product_name: string;
141617
143002
  quantity: number;
143003
+ quarantine_reason: string | null;
143004
+ quarantined_at: string | null;
143005
+ quarantined_into_order_id: string | null;
141618
143006
  source_line_key: string | null;
141619
143007
  unit: string;
141620
143008
  unit_price: number | null;
@@ -141631,6 +143019,9 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
141631
143019
  product_id?: string | null;
141632
143020
  product_name: string;
141633
143021
  quantity?: number;
143022
+ quarantine_reason?: string | null;
143023
+ quarantined_at?: string | null;
143024
+ quarantined_into_order_id?: string | null;
141634
143025
  source_line_key?: string | null;
141635
143026
  unit?: string;
141636
143027
  unit_price?: number | null;
@@ -141647,6 +143038,9 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
141647
143038
  product_id?: string | null;
141648
143039
  product_name?: string;
141649
143040
  quantity?: number;
143041
+ quarantine_reason?: string | null;
143042
+ quarantined_at?: string | null;
143043
+ quarantined_into_order_id?: string | null;
141650
143044
  source_line_key?: string | null;
141651
143045
  unit?: string;
141652
143046
  unit_price?: number | null;
@@ -143083,6 +144477,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
143083
144477
  created_at: string;
143084
144478
  end_at: string;
143085
144479
  id: string;
144480
+ kind: string;
143086
144481
  outbox_id: string | null;
143087
144482
  planning_item_id: string;
143088
144483
  reason: string | null;
@@ -143094,6 +144489,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
143094
144489
  created_at?: string;
143095
144490
  end_at: string;
143096
144491
  id?: string;
144492
+ kind?: string;
143097
144493
  outbox_id?: string | null;
143098
144494
  planning_item_id: string;
143099
144495
  reason?: string | null;
@@ -143105,6 +144501,7 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
143105
144501
  created_at?: string;
143106
144502
  end_at?: string;
143107
144503
  id?: string;
144504
+ kind?: string;
143108
144505
  outbox_id?: string | null;
143109
144506
  planning_item_id?: string;
143110
144507
  reason?: string | null;
@@ -143220,6 +144617,8 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
143220
144617
  enabled: boolean;
143221
144618
  id: boolean;
143222
144619
  reply_to: string | null;
144620
+ reschedule_body_template: string;
144621
+ reschedule_subject_template: string;
143223
144622
  subject_template: string;
143224
144623
  timezone: string;
143225
144624
  updated_at: string;
@@ -143234,6 +144633,8 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
143234
144633
  enabled?: boolean;
143235
144634
  id?: boolean;
143236
144635
  reply_to?: string | null;
144636
+ reschedule_body_template?: string;
144637
+ reschedule_subject_template?: string;
143237
144638
  subject_template?: string;
143238
144639
  timezone?: string;
143239
144640
  updated_at?: string;
@@ -143248,6 +144649,8 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
143248
144649
  enabled?: boolean;
143249
144650
  id?: boolean;
143250
144651
  reply_to?: string | null;
144652
+ reschedule_body_template?: string;
144653
+ reschedule_subject_template?: string;
143251
144654
  subject_template?: string;
143252
144655
  timezone?: string;
143253
144656
  updated_at?: string;
@@ -148700,6 +150103,30 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
148700
150103
  };
148701
150104
  Relationships: [];
148702
150105
  };
150106
+ uren_pagina_toegang: {
150107
+ Row: {
150108
+ created_at: string;
150109
+ id: string;
150110
+ user_id: string;
150111
+ };
150112
+ Insert: {
150113
+ created_at?: string;
150114
+ id?: string;
150115
+ user_id: string;
150116
+ };
150117
+ Update: {
150118
+ created_at?: string;
150119
+ id?: string;
150120
+ user_id?: string;
150121
+ };
150122
+ Relationships: [{
150123
+ foreignKeyName: "uren_pagina_toegang_user_id_fkey";
150124
+ columns: ["user_id"];
150125
+ isOneToOne: true;
150126
+ referencedRelation: "profiles";
150127
+ referencedColumns: ["id"];
150128
+ }];
150129
+ };
148703
150130
  uren_settings: {
148704
150131
  Row: {
148705
150132
  break_minutes: number;
@@ -156649,6 +158076,12 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
156649
158076
  };
156650
158077
  Returns: undefined;
156651
158078
  };
158079
+ planning_html_escape: {
158080
+ Args: {
158081
+ t: string;
158082
+ };
158083
+ Returns: string;
158084
+ };
156652
158085
  planning_list: {
156653
158086
  Args: {
156654
158087
  _from: string;
@@ -156703,6 +158136,12 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
156703
158136
  id: string;
156704
158137
  }[];
156705
158138
  };
158139
+ planning_urlencode: {
158140
+ Args: {
158141
+ t: string;
158142
+ };
158143
+ Returns: string;
158144
+ };
156706
158145
  print_preview_toestaan: {
156707
158146
  Args: {
156708
158147
  _max?: number;
@@ -157848,6 +159287,10 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
157848
159287
  };
157849
159288
  Returns: number;
157850
159289
  };
159290
+ uren_heeft_pagina_toegang: {
159291
+ Args: never;
159292
+ Returns: boolean;
159293
+ };
157851
159294
  uren_is_beheerder: {
157852
159295
  Args: never;
157853
159296
  Returns: boolean;
@@ -157931,6 +159374,13 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
157931
159374
  Args: never;
157932
159375
  Returns: string;
157933
159376
  };
159377
+ uren_pagina_toegang_instellen: {
159378
+ Args: {
159379
+ _toegang: boolean;
159380
+ _user_id: string;
159381
+ };
159382
+ Returns: undefined;
159383
+ };
157934
159384
  uren_planning_dagagenda: {
157935
159385
  Args: {
157936
159386
  _tot: string;