@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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 startRecalcJob: import("@tanstack/start-client-core").Optio
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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 tickRecalcJob: import("@tanstack/start-client-core").Option
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;