@flowselections/logistiek-engine 1.0.100 → 1.0.104

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 (45) hide show
  1. package/dist-lib/integrations/supabase/auth-middleware.d.ts +152 -0
  2. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  3. package/dist-lib/integrations/supabase/client.server.d.ts +152 -0
  4. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/moduleClient.d.ts +152 -0
  6. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/types.d.ts +154 -0
  8. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  9. package/dist-lib/lib/cartCoverage.functions.d.ts +152 -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 +456 -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 +152 -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 +760 -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 +304 -0
  34. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/logisticsRecalculate.functions.d.ts +152 -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 +46 -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 +152 -0
  42. package/dist-lib/lib/plannerDiff.functions.d.ts.map +1 -1
  43. package/dist-lib/lib/shippingNoteQueue.server.d.ts.map +1 -1
  44. package/dist-lib/lib/shippingNoteQueue.server.js +29 -1
  45. package/package.json +3 -3
@@ -7232,6 +7232,39 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
7232
7232
  referencedColumns: ["id"];
7233
7233
  }];
7234
7234
  };
7235
+ floriday_merge_log: {
7236
+ Row: {
7237
+ action: string;
7238
+ created_at: string;
7239
+ floriday_sales_order_ids: import("../integrations/supabase/types").Json;
7240
+ id: string;
7241
+ kept_order_id: string | null;
7242
+ lines: import("../integrations/supabase/types").Json;
7243
+ reason: string | null;
7244
+ removed_order_id: string | null;
7245
+ };
7246
+ Insert: {
7247
+ action: string;
7248
+ created_at?: string;
7249
+ floriday_sales_order_ids?: import("../integrations/supabase/types").Json;
7250
+ id?: string;
7251
+ kept_order_id?: string | null;
7252
+ lines?: import("../integrations/supabase/types").Json;
7253
+ reason?: string | null;
7254
+ removed_order_id?: string | null;
7255
+ };
7256
+ Update: {
7257
+ action?: string;
7258
+ created_at?: string;
7259
+ floriday_sales_order_ids?: import("../integrations/supabase/types").Json;
7260
+ id?: string;
7261
+ kept_order_id?: string | null;
7262
+ lines?: import("../integrations/supabase/types").Json;
7263
+ reason?: string | null;
7264
+ removed_order_id?: string | null;
7265
+ };
7266
+ Relationships: [];
7267
+ };
7235
7268
  floriday_network_cache: {
7236
7269
  Row: {
7237
7270
  city: string | null;
@@ -11306,6 +11339,60 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
11306
11339
  };
11307
11340
  Relationships: [];
11308
11341
  };
11342
+ logistics_order_merge_lines: {
11343
+ Row: {
11344
+ from_order_id: string;
11345
+ from_order_number: string | null;
11346
+ group_key: string;
11347
+ id: string;
11348
+ merged_at: string;
11349
+ order_item_id: string;
11350
+ ordered_at: string | null;
11351
+ product_id: string | null;
11352
+ product_name: string | null;
11353
+ quantity: number | null;
11354
+ reason: string;
11355
+ sales_order_id: string | null;
11356
+ source_line_key: string | null;
11357
+ to_order_id: string;
11358
+ to_order_number: string | null;
11359
+ };
11360
+ Insert: {
11361
+ from_order_id: string;
11362
+ from_order_number?: string | null;
11363
+ group_key: string;
11364
+ id?: string;
11365
+ merged_at?: string;
11366
+ order_item_id: string;
11367
+ ordered_at?: string | null;
11368
+ product_id?: string | null;
11369
+ product_name?: string | null;
11370
+ quantity?: number | null;
11371
+ reason: string;
11372
+ sales_order_id?: string | null;
11373
+ source_line_key?: string | null;
11374
+ to_order_id: string;
11375
+ to_order_number?: string | null;
11376
+ };
11377
+ Update: {
11378
+ from_order_id?: string;
11379
+ from_order_number?: string | null;
11380
+ group_key?: string;
11381
+ id?: string;
11382
+ merged_at?: string;
11383
+ order_item_id?: string;
11384
+ ordered_at?: string | null;
11385
+ product_id?: string | null;
11386
+ product_name?: string | null;
11387
+ quantity?: number | null;
11388
+ reason?: string;
11389
+ sales_order_id?: string | null;
11390
+ source_line_key?: string | null;
11391
+ to_order_id?: string;
11392
+ to_order_number?: string | null;
11393
+ };
11394
+ Relationships: [];
11395
+ };
11309
11396
  logistics_order_merges: {
11310
11397
  Row: {
11311
11398
  group_key: string;
@@ -14946,6 +15033,9 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
14946
15033
  product_id: string | null;
14947
15034
  product_name: string;
14948
15035
  quantity: number;
15036
+ quarantine_reason: string | null;
15037
+ quarantined_at: string | null;
15038
+ quarantined_into_order_id: string | null;
14949
15039
  source_line_key: string | null;
14950
15040
  unit: string;
14951
15041
  unit_price: number | null;
@@ -14962,6 +15052,9 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
14962
15052
  product_id?: string | null;
14963
15053
  product_name: string;
14964
15054
  quantity?: number;
15055
+ quarantine_reason?: string | null;
15056
+ quarantined_at?: string | null;
15057
+ quarantined_into_order_id?: string | null;
14965
15058
  source_line_key?: string | null;
14966
15059
  unit?: string;
14967
15060
  unit_price?: number | null;
@@ -14978,6 +15071,9 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
14978
15071
  product_id?: string | null;
14979
15072
  product_name?: string;
14980
15073
  quantity?: number;
15074
+ quarantine_reason?: string | null;
15075
+ quarantined_at?: string | null;
15076
+ quarantined_into_order_id?: string | null;
14981
15077
  source_line_key?: string | null;
14982
15078
  unit?: string;
14983
15079
  unit_price?: number | null;
@@ -16414,6 +16510,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
16414
16510
  created_at: string;
16415
16511
  end_at: string;
16416
16512
  id: string;
16513
+ kind: string;
16417
16514
  outbox_id: string | null;
16418
16515
  planning_item_id: string;
16419
16516
  reason: string | null;
@@ -16425,6 +16522,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
16425
16522
  created_at?: string;
16426
16523
  end_at: string;
16427
16524
  id?: string;
16525
+ kind?: string;
16428
16526
  outbox_id?: string | null;
16429
16527
  planning_item_id: string;
16430
16528
  reason?: string | null;
@@ -16436,6 +16534,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
16436
16534
  created_at?: string;
16437
16535
  end_at?: string;
16438
16536
  id?: string;
16537
+ kind?: string;
16439
16538
  outbox_id?: string | null;
16440
16539
  planning_item_id?: string;
16441
16540
  reason?: string | null;
@@ -16551,6 +16650,8 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
16551
16650
  enabled: boolean;
16552
16651
  id: boolean;
16553
16652
  reply_to: string | null;
16653
+ reschedule_body_template: string;
16654
+ reschedule_subject_template: string;
16554
16655
  subject_template: string;
16555
16656
  timezone: string;
16556
16657
  updated_at: string;
@@ -16565,6 +16666,8 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
16565
16666
  enabled?: boolean;
16566
16667
  id?: boolean;
16567
16668
  reply_to?: string | null;
16669
+ reschedule_body_template?: string;
16670
+ reschedule_subject_template?: string;
16568
16671
  subject_template?: string;
16569
16672
  timezone?: string;
16570
16673
  updated_at?: string;
@@ -16579,6 +16682,8 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
16579
16682
  enabled?: boolean;
16580
16683
  id?: boolean;
16581
16684
  reply_to?: string | null;
16685
+ reschedule_body_template?: string;
16686
+ reschedule_subject_template?: string;
16582
16687
  subject_template?: string;
16583
16688
  timezone?: string;
16584
16689
  updated_at?: string;
@@ -22031,6 +22136,30 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
22031
22136
  };
22032
22137
  Relationships: [];
22033
22138
  };
22139
+ uren_pagina_toegang: {
22140
+ Row: {
22141
+ created_at: string;
22142
+ id: string;
22143
+ user_id: string;
22144
+ };
22145
+ Insert: {
22146
+ created_at?: string;
22147
+ id?: string;
22148
+ user_id: string;
22149
+ };
22150
+ Update: {
22151
+ created_at?: string;
22152
+ id?: string;
22153
+ user_id?: string;
22154
+ };
22155
+ Relationships: [{
22156
+ foreignKeyName: "uren_pagina_toegang_user_id_fkey";
22157
+ columns: ["user_id"];
22158
+ isOneToOne: true;
22159
+ referencedRelation: "profiles";
22160
+ referencedColumns: ["id"];
22161
+ }];
22162
+ };
22034
22163
  uren_settings: {
22035
22164
  Row: {
22036
22165
  break_minutes: number;
@@ -29980,6 +30109,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
29980
30109
  };
29981
30110
  Returns: undefined;
29982
30111
  };
30112
+ planning_html_escape: {
30113
+ Args: {
30114
+ t: string;
30115
+ };
30116
+ Returns: string;
30117
+ };
29983
30118
  planning_list: {
29984
30119
  Args: {
29985
30120
  _from: string;
@@ -30034,6 +30169,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
30034
30169
  id: string;
30035
30170
  }[];
30036
30171
  };
30172
+ planning_urlencode: {
30173
+ Args: {
30174
+ t: string;
30175
+ };
30176
+ Returns: string;
30177
+ };
30037
30178
  print_preview_toestaan: {
30038
30179
  Args: {
30039
30180
  _max?: number;
@@ -31179,6 +31320,10 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
31179
31320
  };
31180
31321
  Returns: number;
31181
31322
  };
31323
+ uren_heeft_pagina_toegang: {
31324
+ Args: never;
31325
+ Returns: boolean;
31326
+ };
31182
31327
  uren_is_beheerder: {
31183
31328
  Args: never;
31184
31329
  Returns: boolean;
@@ -31262,6 +31407,13 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
31262
31407
  Args: never;
31263
31408
  Returns: string;
31264
31409
  };
31410
+ uren_pagina_toegang_instellen: {
31411
+ Args: {
31412
+ _toegang: boolean;
31413
+ _user_id: string;
31414
+ };
31415
+ Returns: undefined;
31416
+ };
31265
31417
  uren_planning_dagagenda: {
31266
31418
  Args: {
31267
31419
  _tot: string;
@@ -38890,6 +39042,39 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
38890
39042
  referencedColumns: ["id"];
38891
39043
  }];
38892
39044
  };
39045
+ floriday_merge_log: {
39046
+ Row: {
39047
+ action: string;
39048
+ created_at: string;
39049
+ floriday_sales_order_ids: import("../integrations/supabase/types").Json;
39050
+ id: string;
39051
+ kept_order_id: string | null;
39052
+ lines: import("../integrations/supabase/types").Json;
39053
+ reason: string | null;
39054
+ removed_order_id: string | null;
39055
+ };
39056
+ Insert: {
39057
+ action: string;
39058
+ created_at?: string;
39059
+ floriday_sales_order_ids?: import("../integrations/supabase/types").Json;
39060
+ id?: string;
39061
+ kept_order_id?: string | null;
39062
+ lines?: import("../integrations/supabase/types").Json;
39063
+ reason?: string | null;
39064
+ removed_order_id?: string | null;
39065
+ };
39066
+ Update: {
39067
+ action?: string;
39068
+ created_at?: string;
39069
+ floriday_sales_order_ids?: import("../integrations/supabase/types").Json;
39070
+ id?: string;
39071
+ kept_order_id?: string | null;
39072
+ lines?: import("../integrations/supabase/types").Json;
39073
+ reason?: string | null;
39074
+ removed_order_id?: string | null;
39075
+ };
39076
+ Relationships: [];
39077
+ };
38893
39078
  floriday_network_cache: {
38894
39079
  Row: {
38895
39080
  city: string | null;
@@ -42964,6 +43149,60 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
42964
43149
  };
42965
43150
  Relationships: [];
42966
43151
  };
43152
+ logistics_order_merge_lines: {
43153
+ Row: {
43154
+ from_order_id: string;
43155
+ from_order_number: string | null;
43156
+ group_key: string;
43157
+ id: string;
43158
+ merged_at: string;
43159
+ order_item_id: string;
43160
+ ordered_at: string | null;
43161
+ product_id: string | null;
43162
+ product_name: string | null;
43163
+ quantity: number | null;
43164
+ reason: string;
43165
+ sales_order_id: string | null;
43166
+ source_line_key: string | null;
43167
+ to_order_id: string;
43168
+ to_order_number: string | null;
43169
+ };
43170
+ Insert: {
43171
+ from_order_id: string;
43172
+ from_order_number?: string | null;
43173
+ group_key: string;
43174
+ id?: string;
43175
+ merged_at?: string;
43176
+ order_item_id: string;
43177
+ ordered_at?: string | null;
43178
+ product_id?: string | null;
43179
+ product_name?: string | null;
43180
+ quantity?: number | null;
43181
+ reason: string;
43182
+ sales_order_id?: string | null;
43183
+ source_line_key?: string | null;
43184
+ to_order_id: string;
43185
+ to_order_number?: string | null;
43186
+ };
43187
+ Update: {
43188
+ from_order_id?: string;
43189
+ from_order_number?: string | null;
43190
+ group_key?: string;
43191
+ id?: string;
43192
+ merged_at?: string;
43193
+ order_item_id?: string;
43194
+ ordered_at?: string | null;
43195
+ product_id?: string | null;
43196
+ product_name?: string | null;
43197
+ quantity?: number | null;
43198
+ reason?: string;
43199
+ sales_order_id?: string | null;
43200
+ source_line_key?: string | null;
43201
+ to_order_id?: string;
43202
+ to_order_number?: string | null;
43203
+ };
43204
+ Relationships: [];
43205
+ };
42967
43206
  logistics_order_merges: {
42968
43207
  Row: {
42969
43208
  group_key: string;
@@ -46604,6 +46843,9 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
46604
46843
  product_id: string | null;
46605
46844
  product_name: string;
46606
46845
  quantity: number;
46846
+ quarantine_reason: string | null;
46847
+ quarantined_at: string | null;
46848
+ quarantined_into_order_id: string | null;
46607
46849
  source_line_key: string | null;
46608
46850
  unit: string;
46609
46851
  unit_price: number | null;
@@ -46620,6 +46862,9 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
46620
46862
  product_id?: string | null;
46621
46863
  product_name: string;
46622
46864
  quantity?: number;
46865
+ quarantine_reason?: string | null;
46866
+ quarantined_at?: string | null;
46867
+ quarantined_into_order_id?: string | null;
46623
46868
  source_line_key?: string | null;
46624
46869
  unit?: string;
46625
46870
  unit_price?: number | null;
@@ -46636,6 +46881,9 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
46636
46881
  product_id?: string | null;
46637
46882
  product_name?: string;
46638
46883
  quantity?: number;
46884
+ quarantine_reason?: string | null;
46885
+ quarantined_at?: string | null;
46886
+ quarantined_into_order_id?: string | null;
46639
46887
  source_line_key?: string | null;
46640
46888
  unit?: string;
46641
46889
  unit_price?: number | null;
@@ -48072,6 +48320,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
48072
48320
  created_at: string;
48073
48321
  end_at: string;
48074
48322
  id: string;
48323
+ kind: string;
48075
48324
  outbox_id: string | null;
48076
48325
  planning_item_id: string;
48077
48326
  reason: string | null;
@@ -48083,6 +48332,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
48083
48332
  created_at?: string;
48084
48333
  end_at: string;
48085
48334
  id?: string;
48335
+ kind?: string;
48086
48336
  outbox_id?: string | null;
48087
48337
  planning_item_id: string;
48088
48338
  reason?: string | null;
@@ -48094,6 +48344,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
48094
48344
  created_at?: string;
48095
48345
  end_at?: string;
48096
48346
  id?: string;
48347
+ kind?: string;
48097
48348
  outbox_id?: string | null;
48098
48349
  planning_item_id?: string;
48099
48350
  reason?: string | null;
@@ -48209,6 +48460,8 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
48209
48460
  enabled: boolean;
48210
48461
  id: boolean;
48211
48462
  reply_to: string | null;
48463
+ reschedule_body_template: string;
48464
+ reschedule_subject_template: string;
48212
48465
  subject_template: string;
48213
48466
  timezone: string;
48214
48467
  updated_at: string;
@@ -48223,6 +48476,8 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
48223
48476
  enabled?: boolean;
48224
48477
  id?: boolean;
48225
48478
  reply_to?: string | null;
48479
+ reschedule_body_template?: string;
48480
+ reschedule_subject_template?: string;
48226
48481
  subject_template?: string;
48227
48482
  timezone?: string;
48228
48483
  updated_at?: string;
@@ -48237,6 +48492,8 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
48237
48492
  enabled?: boolean;
48238
48493
  id?: boolean;
48239
48494
  reply_to?: string | null;
48495
+ reschedule_body_template?: string;
48496
+ reschedule_subject_template?: string;
48240
48497
  subject_template?: string;
48241
48498
  timezone?: string;
48242
48499
  updated_at?: string;
@@ -53689,6 +53946,30 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
53689
53946
  };
53690
53947
  Relationships: [];
53691
53948
  };
53949
+ uren_pagina_toegang: {
53950
+ Row: {
53951
+ created_at: string;
53952
+ id: string;
53953
+ user_id: string;
53954
+ };
53955
+ Insert: {
53956
+ created_at?: string;
53957
+ id?: string;
53958
+ user_id: string;
53959
+ };
53960
+ Update: {
53961
+ created_at?: string;
53962
+ id?: string;
53963
+ user_id?: string;
53964
+ };
53965
+ Relationships: [{
53966
+ foreignKeyName: "uren_pagina_toegang_user_id_fkey";
53967
+ columns: ["user_id"];
53968
+ isOneToOne: true;
53969
+ referencedRelation: "profiles";
53970
+ referencedColumns: ["id"];
53971
+ }];
53972
+ };
53692
53973
  uren_settings: {
53693
53974
  Row: {
53694
53975
  break_minutes: number;
@@ -61638,6 +61919,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
61638
61919
  };
61639
61920
  Returns: undefined;
61640
61921
  };
61922
+ planning_html_escape: {
61923
+ Args: {
61924
+ t: string;
61925
+ };
61926
+ Returns: string;
61927
+ };
61641
61928
  planning_list: {
61642
61929
  Args: {
61643
61930
  _from: string;
@@ -61692,6 +61979,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
61692
61979
  id: string;
61693
61980
  }[];
61694
61981
  };
61982
+ planning_urlencode: {
61983
+ Args: {
61984
+ t: string;
61985
+ };
61986
+ Returns: string;
61987
+ };
61695
61988
  print_preview_toestaan: {
61696
61989
  Args: {
61697
61990
  _max?: number;
@@ -62837,6 +63130,10 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
62837
63130
  };
62838
63131
  Returns: number;
62839
63132
  };
63133
+ uren_heeft_pagina_toegang: {
63134
+ Args: never;
63135
+ Returns: boolean;
63136
+ };
62840
63137
  uren_is_beheerder: {
62841
63138
  Args: never;
62842
63139
  Returns: boolean;
@@ -62920,6 +63217,13 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
62920
63217
  Args: never;
62921
63218
  Returns: string;
62922
63219
  };
63220
+ uren_pagina_toegang_instellen: {
63221
+ Args: {
63222
+ _toegang: boolean;
63223
+ _user_id: string;
63224
+ };
63225
+ Returns: undefined;
63226
+ };
62923
63227
  uren_planning_dagagenda: {
62924
63228
  Args: {
62925
63229
  _tot: string;
@@ -70581,6 +70885,39 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
70581
70885
  referencedColumns: ["id"];
70582
70886
  }];
70583
70887
  };
70888
+ floriday_merge_log: {
70889
+ Row: {
70890
+ action: string;
70891
+ created_at: string;
70892
+ floriday_sales_order_ids: import("../integrations/supabase/types").Json;
70893
+ id: string;
70894
+ kept_order_id: string | null;
70895
+ lines: import("../integrations/supabase/types").Json;
70896
+ reason: string | null;
70897
+ removed_order_id: string | null;
70898
+ };
70899
+ Insert: {
70900
+ action: string;
70901
+ created_at?: string;
70902
+ floriday_sales_order_ids?: import("../integrations/supabase/types").Json;
70903
+ id?: string;
70904
+ kept_order_id?: string | null;
70905
+ lines?: import("../integrations/supabase/types").Json;
70906
+ reason?: string | null;
70907
+ removed_order_id?: string | null;
70908
+ };
70909
+ Update: {
70910
+ action?: string;
70911
+ created_at?: string;
70912
+ floriday_sales_order_ids?: import("../integrations/supabase/types").Json;
70913
+ id?: string;
70914
+ kept_order_id?: string | null;
70915
+ lines?: import("../integrations/supabase/types").Json;
70916
+ reason?: string | null;
70917
+ removed_order_id?: string | null;
70918
+ };
70919
+ Relationships: [];
70920
+ };
70584
70921
  floriday_network_cache: {
70585
70922
  Row: {
70586
70923
  city: string | null;
@@ -74655,6 +74992,60 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
74655
74992
  };
74656
74993
  Relationships: [];
74657
74994
  };
74995
+ logistics_order_merge_lines: {
74996
+ Row: {
74997
+ from_order_id: string;
74998
+ from_order_number: string | null;
74999
+ group_key: string;
75000
+ id: string;
75001
+ merged_at: string;
75002
+ order_item_id: string;
75003
+ ordered_at: string | null;
75004
+ product_id: string | null;
75005
+ product_name: string | null;
75006
+ quantity: number | null;
75007
+ reason: string;
75008
+ sales_order_id: string | null;
75009
+ source_line_key: string | null;
75010
+ to_order_id: string;
75011
+ to_order_number: string | null;
75012
+ };
75013
+ Insert: {
75014
+ from_order_id: string;
75015
+ from_order_number?: string | null;
75016
+ group_key: string;
75017
+ id?: string;
75018
+ merged_at?: string;
75019
+ order_item_id: string;
75020
+ ordered_at?: string | null;
75021
+ product_id?: string | null;
75022
+ product_name?: string | null;
75023
+ quantity?: number | null;
75024
+ reason: string;
75025
+ sales_order_id?: string | null;
75026
+ source_line_key?: string | null;
75027
+ to_order_id: string;
75028
+ to_order_number?: string | null;
75029
+ };
75030
+ Update: {
75031
+ from_order_id?: string;
75032
+ from_order_number?: string | null;
75033
+ group_key?: string;
75034
+ id?: string;
75035
+ merged_at?: string;
75036
+ order_item_id?: string;
75037
+ ordered_at?: string | null;
75038
+ product_id?: string | null;
75039
+ product_name?: string | null;
75040
+ quantity?: number | null;
75041
+ reason?: string;
75042
+ sales_order_id?: string | null;
75043
+ source_line_key?: string | null;
75044
+ to_order_id?: string;
75045
+ to_order_number?: string | null;
75046
+ };
75047
+ Relationships: [];
75048
+ };
74658
75049
  logistics_order_merges: {
74659
75050
  Row: {
74660
75051
  group_key: string;
@@ -78295,6 +78686,9 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
78295
78686
  product_id: string | null;
78296
78687
  product_name: string;
78297
78688
  quantity: number;
78689
+ quarantine_reason: string | null;
78690
+ quarantined_at: string | null;
78691
+ quarantined_into_order_id: string | null;
78298
78692
  source_line_key: string | null;
78299
78693
  unit: string;
78300
78694
  unit_price: number | null;
@@ -78311,6 +78705,9 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
78311
78705
  product_id?: string | null;
78312
78706
  product_name: string;
78313
78707
  quantity?: number;
78708
+ quarantine_reason?: string | null;
78709
+ quarantined_at?: string | null;
78710
+ quarantined_into_order_id?: string | null;
78314
78711
  source_line_key?: string | null;
78315
78712
  unit?: string;
78316
78713
  unit_price?: number | null;
@@ -78327,6 +78724,9 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
78327
78724
  product_id?: string | null;
78328
78725
  product_name?: string;
78329
78726
  quantity?: number;
78727
+ quarantine_reason?: string | null;
78728
+ quarantined_at?: string | null;
78729
+ quarantined_into_order_id?: string | null;
78330
78730
  source_line_key?: string | null;
78331
78731
  unit?: string;
78332
78732
  unit_price?: number | null;
@@ -79763,6 +80163,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
79763
80163
  created_at: string;
79764
80164
  end_at: string;
79765
80165
  id: string;
80166
+ kind: string;
79766
80167
  outbox_id: string | null;
79767
80168
  planning_item_id: string;
79768
80169
  reason: string | null;
@@ -79774,6 +80175,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
79774
80175
  created_at?: string;
79775
80176
  end_at: string;
79776
80177
  id?: string;
80178
+ kind?: string;
79777
80179
  outbox_id?: string | null;
79778
80180
  planning_item_id: string;
79779
80181
  reason?: string | null;
@@ -79785,6 +80187,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
79785
80187
  created_at?: string;
79786
80188
  end_at?: string;
79787
80189
  id?: string;
80190
+ kind?: string;
79788
80191
  outbox_id?: string | null;
79789
80192
  planning_item_id?: string;
79790
80193
  reason?: string | null;
@@ -79900,6 +80303,8 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
79900
80303
  enabled: boolean;
79901
80304
  id: boolean;
79902
80305
  reply_to: string | null;
80306
+ reschedule_body_template: string;
80307
+ reschedule_subject_template: string;
79903
80308
  subject_template: string;
79904
80309
  timezone: string;
79905
80310
  updated_at: string;
@@ -79914,6 +80319,8 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
79914
80319
  enabled?: boolean;
79915
80320
  id?: boolean;
79916
80321
  reply_to?: string | null;
80322
+ reschedule_body_template?: string;
80323
+ reschedule_subject_template?: string;
79917
80324
  subject_template?: string;
79918
80325
  timezone?: string;
79919
80326
  updated_at?: string;
@@ -79928,6 +80335,8 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
79928
80335
  enabled?: boolean;
79929
80336
  id?: boolean;
79930
80337
  reply_to?: string | null;
80338
+ reschedule_body_template?: string;
80339
+ reschedule_subject_template?: string;
79931
80340
  subject_template?: string;
79932
80341
  timezone?: string;
79933
80342
  updated_at?: string;
@@ -85380,6 +85789,30 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
85380
85789
  };
85381
85790
  Relationships: [];
85382
85791
  };
85792
+ uren_pagina_toegang: {
85793
+ Row: {
85794
+ created_at: string;
85795
+ id: string;
85796
+ user_id: string;
85797
+ };
85798
+ Insert: {
85799
+ created_at?: string;
85800
+ id?: string;
85801
+ user_id: string;
85802
+ };
85803
+ Update: {
85804
+ created_at?: string;
85805
+ id?: string;
85806
+ user_id?: string;
85807
+ };
85808
+ Relationships: [{
85809
+ foreignKeyName: "uren_pagina_toegang_user_id_fkey";
85810
+ columns: ["user_id"];
85811
+ isOneToOne: true;
85812
+ referencedRelation: "profiles";
85813
+ referencedColumns: ["id"];
85814
+ }];
85815
+ };
85383
85816
  uren_settings: {
85384
85817
  Row: {
85385
85818
  break_minutes: number;
@@ -93329,6 +93762,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
93329
93762
  };
93330
93763
  Returns: undefined;
93331
93764
  };
93765
+ planning_html_escape: {
93766
+ Args: {
93767
+ t: string;
93768
+ };
93769
+ Returns: string;
93770
+ };
93332
93771
  planning_list: {
93333
93772
  Args: {
93334
93773
  _from: string;
@@ -93383,6 +93822,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
93383
93822
  id: string;
93384
93823
  }[];
93385
93824
  };
93825
+ planning_urlencode: {
93826
+ Args: {
93827
+ t: string;
93828
+ };
93829
+ Returns: string;
93830
+ };
93386
93831
  print_preview_toestaan: {
93387
93832
  Args: {
93388
93833
  _max?: number;
@@ -94528,6 +94973,10 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
94528
94973
  };
94529
94974
  Returns: number;
94530
94975
  };
94976
+ uren_heeft_pagina_toegang: {
94977
+ Args: never;
94978
+ Returns: boolean;
94979
+ };
94531
94980
  uren_is_beheerder: {
94532
94981
  Args: never;
94533
94982
  Returns: boolean;
@@ -94611,6 +95060,13 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
94611
95060
  Args: never;
94612
95061
  Returns: string;
94613
95062
  };
95063
+ uren_pagina_toegang_instellen: {
95064
+ Args: {
95065
+ _toegang: boolean;
95066
+ _user_id: string;
95067
+ };
95068
+ Returns: undefined;
95069
+ };
94614
95070
  uren_planning_dagagenda: {
94615
95071
  Args: {
94616
95072
  _tot: string;