@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
@@ -2156,6 +2156,8 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
2156
2156
  created_at: string;
2157
2157
  currency: string;
2158
2158
  distribute_over: string | null;
2159
+ external_id: string | null;
2160
+ external_synced_at: string | null;
2159
2161
  group_type: string;
2160
2162
  handling_fee: number | null;
2161
2163
  id: string;
@@ -2168,6 +2170,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
2168
2170
  rounding: string;
2169
2171
  rounding_step: number;
2170
2172
  sort_order: number;
2173
+ source: string;
2171
2174
  unit: string;
2172
2175
  updated_at: string;
2173
2176
  };
@@ -2178,6 +2181,8 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
2178
2181
  created_at?: string;
2179
2182
  currency?: string;
2180
2183
  distribute_over?: string | null;
2184
+ external_id?: string | null;
2185
+ external_synced_at?: string | null;
2181
2186
  group_type?: string;
2182
2187
  handling_fee?: number | null;
2183
2188
  id?: string;
@@ -2190,6 +2195,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
2190
2195
  rounding?: string;
2191
2196
  rounding_step?: number;
2192
2197
  sort_order?: number;
2198
+ source?: string;
2193
2199
  unit?: string;
2194
2200
  updated_at?: string;
2195
2201
  };
@@ -2200,6 +2206,8 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
2200
2206
  created_at?: string;
2201
2207
  currency?: string;
2202
2208
  distribute_over?: string | null;
2209
+ external_id?: string | null;
2210
+ external_synced_at?: string | null;
2203
2211
  group_type?: string;
2204
2212
  handling_fee?: number | null;
2205
2213
  id?: string;
@@ -2212,6 +2220,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
2212
2220
  rounding?: string;
2213
2221
  rounding_step?: number;
2214
2222
  sort_order?: number;
2223
+ source?: string;
2215
2224
  unit?: string;
2216
2225
  updated_at?: string;
2217
2226
  };
@@ -9075,6 +9084,30 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
9075
9084
  referencedColumns: ["id"];
9076
9085
  }];
9077
9086
  };
9087
+ job_locks: {
9088
+ Row: {
9089
+ created_at: string;
9090
+ lock_key: string;
9091
+ locked_until: string;
9092
+ owner: string | null;
9093
+ updated_at: string;
9094
+ };
9095
+ Insert: {
9096
+ created_at?: string;
9097
+ lock_key: string;
9098
+ locked_until: string;
9099
+ owner?: string | null;
9100
+ updated_at?: string;
9101
+ };
9102
+ Update: {
9103
+ created_at?: string;
9104
+ lock_key?: string;
9105
+ locked_until?: string;
9106
+ owner?: string | null;
9107
+ updated_at?: string;
9108
+ };
9109
+ Relationships: [];
9110
+ };
9078
9111
  layout_logos: {
9079
9112
  Row: {
9080
9113
  bestand_url: string;
@@ -10237,6 +10270,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
10237
10270
  next_attempt_at: string;
10238
10271
  order_id: string;
10239
10272
  reason: string;
10273
+ reason_code: string | null;
10240
10274
  status: string;
10241
10275
  updated_at: string;
10242
10276
  };
@@ -10249,6 +10283,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
10249
10283
  next_attempt_at?: string;
10250
10284
  order_id: string;
10251
10285
  reason?: string;
10286
+ reason_code?: string | null;
10252
10287
  status?: string;
10253
10288
  updated_at?: string;
10254
10289
  };
@@ -10261,6 +10296,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
10261
10296
  next_attempt_at?: string;
10262
10297
  order_id?: string;
10263
10298
  reason?: string;
10299
+ reason_code?: string | null;
10264
10300
  status?: string;
10265
10301
  updated_at?: string;
10266
10302
  };
@@ -10965,6 +11001,21 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
10965
11001
  referencedColumns: ["id"];
10966
11002
  }];
10967
11003
  };
11004
+ logistics_tick_heartbeat: {
11005
+ Row: {
11006
+ id: boolean;
11007
+ last_tick_at: string;
11008
+ };
11009
+ Insert: {
11010
+ id?: boolean;
11011
+ last_tick_at?: string;
11012
+ };
11013
+ Update: {
11014
+ id?: boolean;
11015
+ last_tick_at?: string;
11016
+ };
11017
+ Relationships: [];
11018
+ };
10968
11019
  logistics_variables: {
10969
11020
  Row: {
10970
11021
  created_at: string;
@@ -13602,6 +13653,27 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
13602
13653
  };
13603
13654
  Relationships: [];
13604
13655
  };
13656
+ pick_buffer_event_cursor: {
13657
+ Row: {
13658
+ created_at: string;
13659
+ id: boolean;
13660
+ last_event_at: string;
13661
+ updated_at: string;
13662
+ };
13663
+ Insert: {
13664
+ created_at?: string;
13665
+ id?: boolean;
13666
+ last_event_at?: string;
13667
+ updated_at?: string;
13668
+ };
13669
+ Update: {
13670
+ created_at?: string;
13671
+ id?: boolean;
13672
+ last_event_at?: string;
13673
+ updated_at?: string;
13674
+ };
13675
+ Relationships: [];
13676
+ };
13605
13677
  pick_countries: {
13606
13678
  Row: {
13607
13679
  active: boolean;
@@ -22118,6 +22190,17 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
22118
22190
  };
22119
22191
  Returns: boolean;
22120
22192
  };
22193
+ floriday_adopt_connection: {
22194
+ Args: {
22195
+ p_new: string;
22196
+ p_old: string;
22197
+ };
22198
+ Returns: import("./types.js").Json;
22199
+ };
22200
+ floriday_autoheal_connections: {
22201
+ Args: never;
22202
+ Returns: import("./types.js").Json;
22203
+ };
22121
22204
  floriday_capture_stock_snapshot: {
22122
22205
  Args: never;
22123
22206
  Returns: number;
@@ -22175,6 +22258,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
22175
22258
  };
22176
22259
  Returns: undefined;
22177
22260
  };
22261
+ floriday_relink_products: {
22262
+ Args: {
22263
+ p_connection_id?: string;
22264
+ };
22265
+ Returns: import("./types.js").Json;
22266
+ };
22178
22267
  floriday_requeue_dead_letters: {
22179
22268
  Args: {
22180
22269
  p_connection_id?: string;
@@ -22847,6 +22936,30 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
22847
22936
  };
22848
22937
  Returns: import("./types.js").Json;
22849
22938
  };
22939
+ logistics_block_reason_code: {
22940
+ Args: {
22941
+ p_details?: import("./types.js").Json;
22942
+ p_reason: string;
22943
+ };
22944
+ Returns: string;
22945
+ };
22946
+ logistics_blocked_orders: {
22947
+ Args: never;
22948
+ Returns: {
22949
+ attempts: number;
22950
+ blocked_since: string;
22951
+ delivery_date: string;
22952
+ order_id: string;
22953
+ order_ref: string;
22954
+ queue_id: string;
22955
+ reason: string;
22956
+ reason_code: string;
22957
+ }[];
22958
+ };
22959
+ logistics_blocked_overview: {
22960
+ Args: never;
22961
+ Returns: import("./types.js").Json;
22962
+ };
22850
22963
  logistics_buffer_criteria: {
22851
22964
  Args: {
22852
22965
  p_settings: import("./types.js").Json;
@@ -22861,6 +22974,39 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
22861
22974
  };
22862
22975
  Returns: import("./types.js").Json;
22863
22976
  };
22977
+ logistics_buffer_detach_late_orders: {
22978
+ Args: {
22979
+ p_buffer?: string;
22980
+ };
22981
+ Returns: import("./types.js").Json;
22982
+ };
22983
+ logistics_buffer_frozen_order: {
22984
+ Args: {
22985
+ p_order_id: string;
22986
+ };
22987
+ Returns: boolean;
22988
+ };
22989
+ logistics_buffer_handled: {
22990
+ Args: {
22991
+ p_buffer: string;
22992
+ };
22993
+ Returns: boolean;
22994
+ };
22995
+ logistics_buffer_notify: {
22996
+ Args: {
22997
+ p_event_type: string;
22998
+ p_idempotency_key: string;
22999
+ p_order_ref: string;
23000
+ p_payload: import("./types.js").Json;
23001
+ };
23002
+ Returns: string;
23003
+ };
23004
+ logistics_buffer_open_key: {
23005
+ Args: {
23006
+ p_base_key: string;
23007
+ };
23008
+ Returns: string;
23009
+ };
22864
23010
  logistics_buffer_simulate: {
22865
23011
  Args: {
22866
23012
  p_orders?: import("./types.js").Json;
@@ -23502,6 +23648,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
23502
23648
  };
23503
23649
  Returns: boolean;
23504
23650
  };
23651
+ logistics_link_order_items: {
23652
+ Args: {
23653
+ p_order?: string;
23654
+ };
23655
+ Returns: import("./types.js").Json;
23656
+ };
23505
23657
  logistics_live_carriers: {
23506
23658
  Args: {
23507
23659
  p_order_ref: string;
@@ -23528,6 +23680,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
23528
23680
  };
23529
23681
  Returns: string;
23530
23682
  };
23683
+ logistics_normalize_product_label: {
23684
+ Args: {
23685
+ p_label: string;
23686
+ };
23687
+ Returns: string;
23688
+ };
23531
23689
  logistics_not_past: {
23532
23690
  Args: {
23533
23691
  p_ts: string;
@@ -23716,6 +23874,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
23716
23874
  Args: never;
23717
23875
  Returns: number;
23718
23876
  };
23877
+ logistics_plan_retry: {
23878
+ Args: {
23879
+ p_order_ids: string[];
23880
+ };
23881
+ Returns: number;
23882
+ };
23719
23883
  logistics_plan_setting: {
23720
23884
  Args: {
23721
23885
  p_default: number;
@@ -23822,6 +23986,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
23822
23986
  };
23823
23987
  Returns: import("./types.js").Json;
23824
23988
  };
23989
+ logistics_resolve_product_id: {
23990
+ Args: {
23991
+ p_label: string;
23992
+ };
23993
+ Returns: string;
23994
+ };
23825
23995
  logistics_resolve_settings: {
23826
23996
  Args: {
23827
23997
  p_config_id: string;
@@ -23951,6 +24121,10 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
23951
24121
  };
23952
24122
  Returns: number;
23953
24123
  };
24124
+ logistics_tick_ping: {
24125
+ Args: never;
24126
+ Returns: string;
24127
+ };
23954
24128
  logistics_upsert_task: {
23955
24129
  Args: {
23956
24130
  p_buffer_ref: string;
@@ -24135,6 +24309,10 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
24135
24309
  online: boolean;
24136
24310
  }[];
24137
24311
  };
24312
+ pick_apply_buffer_events: {
24313
+ Args: never;
24314
+ Returns: import("./types.js").Json;
24315
+ };
24138
24316
  pick_available_pick_days: {
24139
24317
  Args: {
24140
24318
  _max_days?: number;
@@ -25062,6 +25240,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
25062
25240
  };
25063
25241
  Returns: boolean;
25064
25242
  };
25243
+ release_job_lock: {
25244
+ Args: {
25245
+ _key: string;
25246
+ };
25247
+ Returns: undefined;
25248
+ };
25065
25249
  release_local_pdf_job: {
25066
25250
  Args: {
25067
25251
  _job_id: string;
@@ -25750,6 +25934,14 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
25750
25934
  row_count: number;
25751
25935
  }[];
25752
25936
  };
25937
+ try_acquire_job_lock: {
25938
+ Args: {
25939
+ _key: string;
25940
+ _owner?: string;
25941
+ _seconds?: number;
25942
+ };
25943
+ Returns: boolean;
25944
+ };
25753
25945
  try_debtor_lock: {
25754
25946
  Args: {
25755
25947
  _group_key: string;