@flowselections/layout-maker 1.45.8 → 1.45.9

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 (31) hide show
  1. package/README.md +139 -139
  2. package/dist-lib/components/AfdrukKnop.d.ts +19 -19
  3. package/dist-lib/components/NetwerkPrintersDialog.d.ts +7 -7
  4. package/dist-lib/components/PdfMapToestemmingBanner.d.ts.map +1 -1
  5. package/dist-lib/components/PdfMapToestemmingBanner.js +55 -8
  6. package/dist-lib/components/PrinterSetupWizard.js +3 -3
  7. package/dist-lib/components/PrintersRedirectPage.d.ts +1 -1
  8. package/dist-lib/components/PrintersRedirectPage.js +14 -14
  9. package/dist-lib/integrations/supabase/auth-middleware.d.ts +192 -0
  10. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  11. package/dist-lib/integrations/supabase/client.server.d.ts +192 -0
  12. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  13. package/dist-lib/integrations/supabase/moduleClient.d.ts +192 -0
  14. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  15. package/dist-lib/integrations/supabase/types.d.ts +192 -0
  16. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  17. package/dist-lib/lib/aiLayout.functions.d.ts +192 -0
  18. package/dist-lib/lib/aiLayout.functions.d.ts.map +1 -1
  19. package/dist-lib/lib/aiLayout.server.js +9 -9
  20. package/dist-lib/lib/browserPrint.js +1 -1
  21. package/dist-lib/lib/layoutPreview.js +7 -7
  22. package/dist-lib/lib/pakbonHtml.js +58 -58
  23. package/dist-lib/lib/printService.functions.d.ts +768 -0
  24. package/dist-lib/lib/printService.functions.d.ts.map +1 -1
  25. package/dist-lib/lib/productiebonHtml.js +15 -15
  26. package/dist-lib/lib/profielHtml.js +18 -18
  27. package/dist-lib/lib/supabaseAdmin.server.d.ts +5 -5
  28. package/dist-lib/lib/supabaseAdmin.server.js +43 -43
  29. package/dist-lib/lib/testpagina.js +3 -3
  30. package/dist-lib/lib/testprint.js +4 -4
  31. package/package.json +158 -158
@@ -2154,6 +2154,8 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
2154
2154
  created_at: string;
2155
2155
  currency: string;
2156
2156
  distribute_over: string | null;
2157
+ external_id: string | null;
2158
+ external_synced_at: string | null;
2157
2159
  group_type: string;
2158
2160
  handling_fee: number | null;
2159
2161
  id: string;
@@ -2166,6 +2168,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
2166
2168
  rounding: string;
2167
2169
  rounding_step: number;
2168
2170
  sort_order: number;
2171
+ source: string;
2169
2172
  unit: string;
2170
2173
  updated_at: string;
2171
2174
  };
@@ -2176,6 +2179,8 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
2176
2179
  created_at?: string;
2177
2180
  currency?: string;
2178
2181
  distribute_over?: string | null;
2182
+ external_id?: string | null;
2183
+ external_synced_at?: string | null;
2179
2184
  group_type?: string;
2180
2185
  handling_fee?: number | null;
2181
2186
  id?: string;
@@ -2188,6 +2193,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
2188
2193
  rounding?: string;
2189
2194
  rounding_step?: number;
2190
2195
  sort_order?: number;
2196
+ source?: string;
2191
2197
  unit?: string;
2192
2198
  updated_at?: string;
2193
2199
  };
@@ -2198,6 +2204,8 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
2198
2204
  created_at?: string;
2199
2205
  currency?: string;
2200
2206
  distribute_over?: string | null;
2207
+ external_id?: string | null;
2208
+ external_synced_at?: string | null;
2201
2209
  group_type?: string;
2202
2210
  handling_fee?: number | null;
2203
2211
  id?: string;
@@ -2210,6 +2218,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
2210
2218
  rounding?: string;
2211
2219
  rounding_step?: number;
2212
2220
  sort_order?: number;
2221
+ source?: string;
2213
2222
  unit?: string;
2214
2223
  updated_at?: string;
2215
2224
  };
@@ -9073,6 +9082,30 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
9073
9082
  referencedColumns: ["id"];
9074
9083
  }];
9075
9084
  };
9085
+ job_locks: {
9086
+ Row: {
9087
+ created_at: string;
9088
+ lock_key: string;
9089
+ locked_until: string;
9090
+ owner: string | null;
9091
+ updated_at: string;
9092
+ };
9093
+ Insert: {
9094
+ created_at?: string;
9095
+ lock_key: string;
9096
+ locked_until: string;
9097
+ owner?: string | null;
9098
+ updated_at?: string;
9099
+ };
9100
+ Update: {
9101
+ created_at?: string;
9102
+ lock_key?: string;
9103
+ locked_until?: string;
9104
+ owner?: string | null;
9105
+ updated_at?: string;
9106
+ };
9107
+ Relationships: [];
9108
+ };
9076
9109
  layout_logos: {
9077
9110
  Row: {
9078
9111
  bestand_url: string;
@@ -10235,6 +10268,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
10235
10268
  next_attempt_at: string;
10236
10269
  order_id: string;
10237
10270
  reason: string;
10271
+ reason_code: string | null;
10238
10272
  status: string;
10239
10273
  updated_at: string;
10240
10274
  };
@@ -10247,6 +10281,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
10247
10281
  next_attempt_at?: string;
10248
10282
  order_id: string;
10249
10283
  reason?: string;
10284
+ reason_code?: string | null;
10250
10285
  status?: string;
10251
10286
  updated_at?: string;
10252
10287
  };
@@ -10259,6 +10294,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
10259
10294
  next_attempt_at?: string;
10260
10295
  order_id?: string;
10261
10296
  reason?: string;
10297
+ reason_code?: string | null;
10262
10298
  status?: string;
10263
10299
  updated_at?: string;
10264
10300
  };
@@ -10963,6 +10999,21 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
10963
10999
  referencedColumns: ["id"];
10964
11000
  }];
10965
11001
  };
11002
+ logistics_tick_heartbeat: {
11003
+ Row: {
11004
+ id: boolean;
11005
+ last_tick_at: string;
11006
+ };
11007
+ Insert: {
11008
+ id?: boolean;
11009
+ last_tick_at?: string;
11010
+ };
11011
+ Update: {
11012
+ id?: boolean;
11013
+ last_tick_at?: string;
11014
+ };
11015
+ Relationships: [];
11016
+ };
10966
11017
  logistics_variables: {
10967
11018
  Row: {
10968
11019
  created_at: string;
@@ -13600,6 +13651,27 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
13600
13651
  };
13601
13652
  Relationships: [];
13602
13653
  };
13654
+ pick_buffer_event_cursor: {
13655
+ Row: {
13656
+ created_at: string;
13657
+ id: boolean;
13658
+ last_event_at: string;
13659
+ updated_at: string;
13660
+ };
13661
+ Insert: {
13662
+ created_at?: string;
13663
+ id?: boolean;
13664
+ last_event_at?: string;
13665
+ updated_at?: string;
13666
+ };
13667
+ Update: {
13668
+ created_at?: string;
13669
+ id?: boolean;
13670
+ last_event_at?: string;
13671
+ updated_at?: string;
13672
+ };
13673
+ Relationships: [];
13674
+ };
13603
13675
  pick_countries: {
13604
13676
  Row: {
13605
13677
  active: boolean;
@@ -22116,6 +22188,17 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22116
22188
  };
22117
22189
  Returns: boolean;
22118
22190
  };
22191
+ floriday_adopt_connection: {
22192
+ Args: {
22193
+ p_new: string;
22194
+ p_old: string;
22195
+ };
22196
+ Returns: import("../integrations/supabase/types.js").Json;
22197
+ };
22198
+ floriday_autoheal_connections: {
22199
+ Args: never;
22200
+ Returns: import("../integrations/supabase/types.js").Json;
22201
+ };
22119
22202
  floriday_capture_stock_snapshot: {
22120
22203
  Args: never;
22121
22204
  Returns: number;
@@ -22173,6 +22256,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22173
22256
  };
22174
22257
  Returns: undefined;
22175
22258
  };
22259
+ floriday_relink_products: {
22260
+ Args: {
22261
+ p_connection_id?: string;
22262
+ };
22263
+ Returns: import("../integrations/supabase/types.js").Json;
22264
+ };
22176
22265
  floriday_requeue_dead_letters: {
22177
22266
  Args: {
22178
22267
  p_connection_id?: string;
@@ -22845,6 +22934,30 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22845
22934
  };
22846
22935
  Returns: import("../integrations/supabase/types.js").Json;
22847
22936
  };
22937
+ logistics_block_reason_code: {
22938
+ Args: {
22939
+ p_details?: import("../integrations/supabase/types.js").Json;
22940
+ p_reason: string;
22941
+ };
22942
+ Returns: string;
22943
+ };
22944
+ logistics_blocked_orders: {
22945
+ Args: never;
22946
+ Returns: {
22947
+ attempts: number;
22948
+ blocked_since: string;
22949
+ delivery_date: string;
22950
+ order_id: string;
22951
+ order_ref: string;
22952
+ queue_id: string;
22953
+ reason: string;
22954
+ reason_code: string;
22955
+ }[];
22956
+ };
22957
+ logistics_blocked_overview: {
22958
+ Args: never;
22959
+ Returns: import("../integrations/supabase/types.js").Json;
22960
+ };
22848
22961
  logistics_buffer_criteria: {
22849
22962
  Args: {
22850
22963
  p_settings: import("../integrations/supabase/types.js").Json;
@@ -22859,6 +22972,39 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22859
22972
  };
22860
22973
  Returns: import("../integrations/supabase/types.js").Json;
22861
22974
  };
22975
+ logistics_buffer_detach_late_orders: {
22976
+ Args: {
22977
+ p_buffer?: string;
22978
+ };
22979
+ Returns: import("../integrations/supabase/types.js").Json;
22980
+ };
22981
+ logistics_buffer_frozen_order: {
22982
+ Args: {
22983
+ p_order_id: string;
22984
+ };
22985
+ Returns: boolean;
22986
+ };
22987
+ logistics_buffer_handled: {
22988
+ Args: {
22989
+ p_buffer: string;
22990
+ };
22991
+ Returns: boolean;
22992
+ };
22993
+ logistics_buffer_notify: {
22994
+ Args: {
22995
+ p_event_type: string;
22996
+ p_idempotency_key: string;
22997
+ p_order_ref: string;
22998
+ p_payload: import("../integrations/supabase/types.js").Json;
22999
+ };
23000
+ Returns: string;
23001
+ };
23002
+ logistics_buffer_open_key: {
23003
+ Args: {
23004
+ p_base_key: string;
23005
+ };
23006
+ Returns: string;
23007
+ };
22862
23008
  logistics_buffer_simulate: {
22863
23009
  Args: {
22864
23010
  p_orders?: import("../integrations/supabase/types.js").Json;
@@ -23500,6 +23646,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
23500
23646
  };
23501
23647
  Returns: boolean;
23502
23648
  };
23649
+ logistics_link_order_items: {
23650
+ Args: {
23651
+ p_order?: string;
23652
+ };
23653
+ Returns: import("../integrations/supabase/types.js").Json;
23654
+ };
23503
23655
  logistics_live_carriers: {
23504
23656
  Args: {
23505
23657
  p_order_ref: string;
@@ -23526,6 +23678,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
23526
23678
  };
23527
23679
  Returns: string;
23528
23680
  };
23681
+ logistics_normalize_product_label: {
23682
+ Args: {
23683
+ p_label: string;
23684
+ };
23685
+ Returns: string;
23686
+ };
23529
23687
  logistics_not_past: {
23530
23688
  Args: {
23531
23689
  p_ts: string;
@@ -23714,6 +23872,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
23714
23872
  Args: never;
23715
23873
  Returns: number;
23716
23874
  };
23875
+ logistics_plan_retry: {
23876
+ Args: {
23877
+ p_order_ids: string[];
23878
+ };
23879
+ Returns: number;
23880
+ };
23717
23881
  logistics_plan_setting: {
23718
23882
  Args: {
23719
23883
  p_default: number;
@@ -23820,6 +23984,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
23820
23984
  };
23821
23985
  Returns: import("../integrations/supabase/types.js").Json;
23822
23986
  };
23987
+ logistics_resolve_product_id: {
23988
+ Args: {
23989
+ p_label: string;
23990
+ };
23991
+ Returns: string;
23992
+ };
23823
23993
  logistics_resolve_settings: {
23824
23994
  Args: {
23825
23995
  p_config_id: string;
@@ -23949,6 +24119,10 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
23949
24119
  };
23950
24120
  Returns: number;
23951
24121
  };
24122
+ logistics_tick_ping: {
24123
+ Args: never;
24124
+ Returns: string;
24125
+ };
23952
24126
  logistics_upsert_task: {
23953
24127
  Args: {
23954
24128
  p_buffer_ref: string;
@@ -24133,6 +24307,10 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
24133
24307
  online: boolean;
24134
24308
  }[];
24135
24309
  };
24310
+ pick_apply_buffer_events: {
24311
+ Args: never;
24312
+ Returns: import("../integrations/supabase/types.js").Json;
24313
+ };
24136
24314
  pick_available_pick_days: {
24137
24315
  Args: {
24138
24316
  _max_days?: number;
@@ -25060,6 +25238,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
25060
25238
  };
25061
25239
  Returns: boolean;
25062
25240
  };
25241
+ release_job_lock: {
25242
+ Args: {
25243
+ _key: string;
25244
+ };
25245
+ Returns: undefined;
25246
+ };
25063
25247
  release_local_pdf_job: {
25064
25248
  Args: {
25065
25249
  _job_id: string;
@@ -25748,6 +25932,14 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
25748
25932
  row_count: number;
25749
25933
  }[];
25750
25934
  };
25935
+ try_acquire_job_lock: {
25936
+ Args: {
25937
+ _key: string;
25938
+ _owner?: string;
25939
+ _seconds?: number;
25940
+ };
25941
+ Returns: boolean;
25942
+ };
25751
25943
  try_debtor_lock: {
25752
25944
  Args: {
25753
25945
  _group_key: string;