@flowselections/floriday-verkoop-module 1.0.9 → 1.0.10

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.
@@ -2642,6 +2642,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
2642
2642
  created_at: string;
2643
2643
  exact_article_id: string | null;
2644
2644
  id: string;
2645
+ image_url: string | null;
2645
2646
  is_active: boolean;
2646
2647
  name: string;
2647
2648
  price: number;
@@ -2652,6 +2653,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
2652
2653
  created_at?: string;
2653
2654
  exact_article_id?: string | null;
2654
2655
  id?: string;
2656
+ image_url?: string | null;
2655
2657
  is_active?: boolean;
2656
2658
  name: string;
2657
2659
  price?: number;
@@ -2662,6 +2664,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
2662
2664
  created_at?: string;
2663
2665
  exact_article_id?: string | null;
2664
2666
  id?: string;
2667
+ image_url?: string | null;
2665
2668
  is_active?: boolean;
2666
2669
  name?: string;
2667
2670
  price?: number;
@@ -3896,6 +3899,24 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
3896
3899
  };
3897
3900
  Relationships: [];
3898
3901
  };
3902
+ floriday_order_number_map: {
3903
+ Row: {
3904
+ created_at: string;
3905
+ floriday_id: string;
3906
+ order_number: string;
3907
+ };
3908
+ Insert: {
3909
+ created_at?: string;
3910
+ floriday_id: string;
3911
+ order_number: string;
3912
+ };
3913
+ Update: {
3914
+ created_at?: string;
3915
+ floriday_id?: string;
3916
+ order_number?: string;
3917
+ };
3918
+ Relationships: [];
3919
+ };
3899
3920
  floriday_packings_cache: {
3900
3921
  Row: {
3901
3922
  connection_id: string;
@@ -5741,6 +5762,24 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
5741
5762
  referencedColumns: ["id"];
5742
5763
  }];
5743
5764
  };
5765
+ order_number_counters: {
5766
+ Row: {
5767
+ last_value: number;
5768
+ updated_at: string;
5769
+ year: number;
5770
+ };
5771
+ Insert: {
5772
+ last_value?: number;
5773
+ updated_at?: string;
5774
+ year: number;
5775
+ };
5776
+ Update: {
5777
+ last_value?: number;
5778
+ updated_at?: string;
5779
+ year?: number;
5780
+ };
5781
+ Relationships: [];
5782
+ };
5744
5783
  orders: {
5745
5784
  Row: {
5746
5785
  created_at: string;
@@ -5753,6 +5792,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
5753
5792
  notes: string | null;
5754
5793
  order_date: string;
5755
5794
  order_number: string;
5795
+ order_source: string;
5756
5796
  status: string;
5757
5797
  total: string;
5758
5798
  updated_at: string;
@@ -5768,6 +5808,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
5768
5808
  notes?: string | null;
5769
5809
  order_date?: string;
5770
5810
  order_number: string;
5811
+ order_source?: string;
5771
5812
  status?: string;
5772
5813
  total?: string;
5773
5814
  updated_at?: string;
@@ -5783,6 +5824,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
5783
5824
  notes?: string | null;
5784
5825
  order_date?: string;
5785
5826
  order_number?: string;
5827
+ order_source?: string;
5786
5828
  status?: string;
5787
5829
  total?: string;
5788
5830
  updated_at?: string;
@@ -7892,6 +7934,72 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
7892
7934
  referencedColumns: ["id"];
7893
7935
  }];
7894
7936
  };
7937
+ voorraad_media_upload_failures: {
7938
+ Row: {
7939
+ action: string;
7940
+ attempt_number: number;
7941
+ caller: string;
7942
+ client_user_id: string | null;
7943
+ content_type: string | null;
7944
+ created_at: string;
7945
+ environment: string;
7946
+ error_message: string | null;
7947
+ filename: string | null;
7948
+ id: string;
7949
+ idempotency_key: string | null;
7950
+ module: string;
7951
+ path: string;
7952
+ reference_id: string | null;
7953
+ request_body_hash: string | null;
7954
+ request_timestamp: number | null;
7955
+ response_content_type: string | null;
7956
+ response_status: number | null;
7957
+ size_bytes: number | null;
7958
+ };
7959
+ Insert: {
7960
+ action?: string;
7961
+ attempt_number?: number;
7962
+ caller?: string;
7963
+ client_user_id?: string | null;
7964
+ content_type?: string | null;
7965
+ created_at?: string;
7966
+ environment: string;
7967
+ error_message?: string | null;
7968
+ filename?: string | null;
7969
+ id?: string;
7970
+ idempotency_key?: string | null;
7971
+ module?: string;
7972
+ path: string;
7973
+ reference_id?: string | null;
7974
+ request_body_hash?: string | null;
7975
+ request_timestamp?: number | null;
7976
+ response_content_type?: string | null;
7977
+ response_status?: number | null;
7978
+ size_bytes?: number | null;
7979
+ };
7980
+ Update: {
7981
+ action?: string;
7982
+ attempt_number?: number;
7983
+ caller?: string;
7984
+ client_user_id?: string | null;
7985
+ content_type?: string | null;
7986
+ created_at?: string;
7987
+ environment?: string;
7988
+ error_message?: string | null;
7989
+ filename?: string | null;
7990
+ id?: string;
7991
+ idempotency_key?: string | null;
7992
+ module?: string;
7993
+ path?: string;
7994
+ reference_id?: string | null;
7995
+ request_body_hash?: string | null;
7996
+ request_timestamp?: number | null;
7997
+ response_content_type?: string | null;
7998
+ response_status?: number | null;
7999
+ size_bytes?: number | null;
8000
+ };
8001
+ Relationships: [];
8002
+ };
7895
8003
  voorraad_publish_attempts: {
7896
8004
  Row: {
7897
8005
  action: string;
@@ -8551,6 +8659,15 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
8551
8659
  };
8552
8660
  Returns: number;
8553
8661
  };
8662
+ assign_floriday_order_numbers: {
8663
+ Args: {
8664
+ p_ids: string[];
8665
+ };
8666
+ Returns: {
8667
+ floriday_id: string;
8668
+ order_number: string;
8669
+ }[];
8670
+ };
8554
8671
  call_exact_route: {
8555
8672
  Args: {
8556
8673
  path: string;
@@ -8760,6 +8877,12 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
8760
8877
  };
8761
8878
  Returns: import("../integrations/supabase/types").Json;
8762
8879
  };
8880
+ get_or_assign_floriday_order_number: {
8881
+ Args: {
8882
+ p_floriday_id: string;
8883
+ };
8884
+ Returns: string;
8885
+ };
8763
8886
  get_room_busy_windows: {
8764
8887
  Args: {
8765
8888
  p_from: string;
@@ -8806,6 +8929,12 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
8806
8929
  Args: never;
8807
8930
  Returns: boolean;
8808
8931
  };
8932
+ next_order_number: {
8933
+ Args: {
8934
+ p_prefix: string;
8935
+ };
8936
+ Returns: string;
8937
+ };
8809
8938
  next_work_order_number: {
8810
8939
  Args: {
8811
8940
  p_parent_work_order_id?: string;
@@ -8819,6 +8948,32 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
8819
8948
  };
8820
8949
  Returns: string;
8821
8950
  };
8951
+ pickstation_get_orders_raw: {
8952
+ Args: never;
8953
+ Returns: import("../integrations/supabase/types").Json;
8954
+ };
8955
+ pickstation_get_settings: {
8956
+ Args: never;
8957
+ Returns: import("../integrations/supabase/types").Json;
8958
+ };
8959
+ pickstation_log_print: {
8960
+ Args: {
8961
+ p_customer_name: string;
8962
+ p_documents: string[];
8963
+ p_ip_address: string;
8964
+ p_order_id: string;
8965
+ p_order_number: string;
8966
+ };
8967
+ Returns: undefined;
8968
+ };
8969
+ refresh_floricode_derived_code_lists: {
8970
+ Args: never;
8971
+ Returns: {
8972
+ environment: string;
8973
+ list_name: string;
8974
+ row_count: number;
8975
+ }[];
8976
+ };
8822
8977
  reset_floriday_sync_cursor: {
8823
8978
  Args: {
8824
8979
  p_connection_id: string;
@@ -11779,6 +11934,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
11779
11934
  created_at: string;
11780
11935
  exact_article_id: string | null;
11781
11936
  id: string;
11937
+ image_url: string | null;
11782
11938
  is_active: boolean;
11783
11939
  name: string;
11784
11940
  price: number;
@@ -11789,6 +11945,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
11789
11945
  created_at?: string;
11790
11946
  exact_article_id?: string | null;
11791
11947
  id?: string;
11948
+ image_url?: string | null;
11792
11949
  is_active?: boolean;
11793
11950
  name: string;
11794
11951
  price?: number;
@@ -11799,6 +11956,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
11799
11956
  created_at?: string;
11800
11957
  exact_article_id?: string | null;
11801
11958
  id?: string;
11959
+ image_url?: string | null;
11802
11960
  is_active?: boolean;
11803
11961
  name?: string;
11804
11962
  price?: number;
@@ -13033,6 +13191,24 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
13033
13191
  };
13034
13192
  Relationships: [];
13035
13193
  };
13194
+ floriday_order_number_map: {
13195
+ Row: {
13196
+ created_at: string;
13197
+ floriday_id: string;
13198
+ order_number: string;
13199
+ };
13200
+ Insert: {
13201
+ created_at?: string;
13202
+ floriday_id: string;
13203
+ order_number: string;
13204
+ };
13205
+ Update: {
13206
+ created_at?: string;
13207
+ floriday_id?: string;
13208
+ order_number?: string;
13209
+ };
13210
+ Relationships: [];
13211
+ };
13036
13212
  floriday_packings_cache: {
13037
13213
  Row: {
13038
13214
  connection_id: string;
@@ -14878,6 +15054,24 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
14878
15054
  referencedColumns: ["id"];
14879
15055
  }];
14880
15056
  };
15057
+ order_number_counters: {
15058
+ Row: {
15059
+ last_value: number;
15060
+ updated_at: string;
15061
+ year: number;
15062
+ };
15063
+ Insert: {
15064
+ last_value?: number;
15065
+ updated_at?: string;
15066
+ year: number;
15067
+ };
15068
+ Update: {
15069
+ last_value?: number;
15070
+ updated_at?: string;
15071
+ year?: number;
15072
+ };
15073
+ Relationships: [];
15074
+ };
14881
15075
  orders: {
14882
15076
  Row: {
14883
15077
  created_at: string;
@@ -14890,6 +15084,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
14890
15084
  notes: string | null;
14891
15085
  order_date: string;
14892
15086
  order_number: string;
15087
+ order_source: string;
14893
15088
  status: string;
14894
15089
  total: string;
14895
15090
  updated_at: string;
@@ -14905,6 +15100,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
14905
15100
  notes?: string | null;
14906
15101
  order_date?: string;
14907
15102
  order_number: string;
15103
+ order_source?: string;
14908
15104
  status?: string;
14909
15105
  total?: string;
14910
15106
  updated_at?: string;
@@ -14920,6 +15116,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
14920
15116
  notes?: string | null;
14921
15117
  order_date?: string;
14922
15118
  order_number?: string;
15119
+ order_source?: string;
14923
15120
  status?: string;
14924
15121
  total?: string;
14925
15122
  updated_at?: string;
@@ -17029,6 +17226,72 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
17029
17226
  referencedColumns: ["id"];
17030
17227
  }];
17031
17228
  };
17229
+ voorraad_media_upload_failures: {
17230
+ Row: {
17231
+ action: string;
17232
+ attempt_number: number;
17233
+ caller: string;
17234
+ client_user_id: string | null;
17235
+ content_type: string | null;
17236
+ created_at: string;
17237
+ environment: string;
17238
+ error_message: string | null;
17239
+ filename: string | null;
17240
+ id: string;
17241
+ idempotency_key: string | null;
17242
+ module: string;
17243
+ path: string;
17244
+ reference_id: string | null;
17245
+ request_body_hash: string | null;
17246
+ request_timestamp: number | null;
17247
+ response_content_type: string | null;
17248
+ response_status: number | null;
17249
+ size_bytes: number | null;
17250
+ };
17251
+ Insert: {
17252
+ action?: string;
17253
+ attempt_number?: number;
17254
+ caller?: string;
17255
+ client_user_id?: string | null;
17256
+ content_type?: string | null;
17257
+ created_at?: string;
17258
+ environment: string;
17259
+ error_message?: string | null;
17260
+ filename?: string | null;
17261
+ id?: string;
17262
+ idempotency_key?: string | null;
17263
+ module?: string;
17264
+ path: string;
17265
+ reference_id?: string | null;
17266
+ request_body_hash?: string | null;
17267
+ request_timestamp?: number | null;
17268
+ response_content_type?: string | null;
17269
+ response_status?: number | null;
17270
+ size_bytes?: number | null;
17271
+ };
17272
+ Update: {
17273
+ action?: string;
17274
+ attempt_number?: number;
17275
+ caller?: string;
17276
+ client_user_id?: string | null;
17277
+ content_type?: string | null;
17278
+ created_at?: string;
17279
+ environment?: string;
17280
+ error_message?: string | null;
17281
+ filename?: string | null;
17282
+ id?: string;
17283
+ idempotency_key?: string | null;
17284
+ module?: string;
17285
+ path?: string;
17286
+ reference_id?: string | null;
17287
+ request_body_hash?: string | null;
17288
+ request_timestamp?: number | null;
17289
+ response_content_type?: string | null;
17290
+ response_status?: number | null;
17291
+ size_bytes?: number | null;
17292
+ };
17293
+ Relationships: [];
17294
+ };
17032
17295
  voorraad_publish_attempts: {
17033
17296
  Row: {
17034
17297
  action: string;
@@ -17688,6 +17951,15 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
17688
17951
  };
17689
17952
  Returns: number;
17690
17953
  };
17954
+ assign_floriday_order_numbers: {
17955
+ Args: {
17956
+ p_ids: string[];
17957
+ };
17958
+ Returns: {
17959
+ floriday_id: string;
17960
+ order_number: string;
17961
+ }[];
17962
+ };
17691
17963
  call_exact_route: {
17692
17964
  Args: {
17693
17965
  path: string;
@@ -17897,6 +18169,12 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
17897
18169
  };
17898
18170
  Returns: import("../integrations/supabase/types").Json;
17899
18171
  };
18172
+ get_or_assign_floriday_order_number: {
18173
+ Args: {
18174
+ p_floriday_id: string;
18175
+ };
18176
+ Returns: string;
18177
+ };
17900
18178
  get_room_busy_windows: {
17901
18179
  Args: {
17902
18180
  p_from: string;
@@ -17943,6 +18221,12 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
17943
18221
  Args: never;
17944
18222
  Returns: boolean;
17945
18223
  };
18224
+ next_order_number: {
18225
+ Args: {
18226
+ p_prefix: string;
18227
+ };
18228
+ Returns: string;
18229
+ };
17946
18230
  next_work_order_number: {
17947
18231
  Args: {
17948
18232
  p_parent_work_order_id?: string;
@@ -17956,6 +18240,32 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
17956
18240
  };
17957
18241
  Returns: string;
17958
18242
  };
18243
+ pickstation_get_orders_raw: {
18244
+ Args: never;
18245
+ Returns: import("../integrations/supabase/types").Json;
18246
+ };
18247
+ pickstation_get_settings: {
18248
+ Args: never;
18249
+ Returns: import("../integrations/supabase/types").Json;
18250
+ };
18251
+ pickstation_log_print: {
18252
+ Args: {
18253
+ p_customer_name: string;
18254
+ p_documents: string[];
18255
+ p_ip_address: string;
18256
+ p_order_id: string;
18257
+ p_order_number: string;
18258
+ };
18259
+ Returns: undefined;
18260
+ };
18261
+ refresh_floricode_derived_code_lists: {
18262
+ Args: never;
18263
+ Returns: {
18264
+ environment: string;
18265
+ list_name: string;
18266
+ row_count: number;
18267
+ }[];
18268
+ };
17959
18269
  reset_floriday_sync_cursor: {
17960
18270
  Args: {
17961
18271
  p_connection_id: string;
@@ -20913,6 +21223,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
20913
21223
  created_at: string;
20914
21224
  exact_article_id: string | null;
20915
21225
  id: string;
21226
+ image_url: string | null;
20916
21227
  is_active: boolean;
20917
21228
  name: string;
20918
21229
  price: number;
@@ -20923,6 +21234,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
20923
21234
  created_at?: string;
20924
21235
  exact_article_id?: string | null;
20925
21236
  id?: string;
21237
+ image_url?: string | null;
20926
21238
  is_active?: boolean;
20927
21239
  name: string;
20928
21240
  price?: number;
@@ -20933,6 +21245,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
20933
21245
  created_at?: string;
20934
21246
  exact_article_id?: string | null;
20935
21247
  id?: string;
21248
+ image_url?: string | null;
20936
21249
  is_active?: boolean;
20937
21250
  name?: string;
20938
21251
  price?: number;
@@ -22167,6 +22480,24 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
22167
22480
  };
22168
22481
  Relationships: [];
22169
22482
  };
22483
+ floriday_order_number_map: {
22484
+ Row: {
22485
+ created_at: string;
22486
+ floriday_id: string;
22487
+ order_number: string;
22488
+ };
22489
+ Insert: {
22490
+ created_at?: string;
22491
+ floriday_id: string;
22492
+ order_number: string;
22493
+ };
22494
+ Update: {
22495
+ created_at?: string;
22496
+ floriday_id?: string;
22497
+ order_number?: string;
22498
+ };
22499
+ Relationships: [];
22500
+ };
22170
22501
  floriday_packings_cache: {
22171
22502
  Row: {
22172
22503
  connection_id: string;
@@ -24012,6 +24343,24 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
24012
24343
  referencedColumns: ["id"];
24013
24344
  }];
24014
24345
  };
24346
+ order_number_counters: {
24347
+ Row: {
24348
+ last_value: number;
24349
+ updated_at: string;
24350
+ year: number;
24351
+ };
24352
+ Insert: {
24353
+ last_value?: number;
24354
+ updated_at?: string;
24355
+ year: number;
24356
+ };
24357
+ Update: {
24358
+ last_value?: number;
24359
+ updated_at?: string;
24360
+ year?: number;
24361
+ };
24362
+ Relationships: [];
24363
+ };
24015
24364
  orders: {
24016
24365
  Row: {
24017
24366
  created_at: string;
@@ -24024,6 +24373,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
24024
24373
  notes: string | null;
24025
24374
  order_date: string;
24026
24375
  order_number: string;
24376
+ order_source: string;
24027
24377
  status: string;
24028
24378
  total: string;
24029
24379
  updated_at: string;
@@ -24039,6 +24389,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
24039
24389
  notes?: string | null;
24040
24390
  order_date?: string;
24041
24391
  order_number: string;
24392
+ order_source?: string;
24042
24393
  status?: string;
24043
24394
  total?: string;
24044
24395
  updated_at?: string;
@@ -24054,6 +24405,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
24054
24405
  notes?: string | null;
24055
24406
  order_date?: string;
24056
24407
  order_number?: string;
24408
+ order_source?: string;
24057
24409
  status?: string;
24058
24410
  total?: string;
24059
24411
  updated_at?: string;
@@ -26163,6 +26515,72 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
26163
26515
  referencedColumns: ["id"];
26164
26516
  }];
26165
26517
  };
26518
+ voorraad_media_upload_failures: {
26519
+ Row: {
26520
+ action: string;
26521
+ attempt_number: number;
26522
+ caller: string;
26523
+ client_user_id: string | null;
26524
+ content_type: string | null;
26525
+ created_at: string;
26526
+ environment: string;
26527
+ error_message: string | null;
26528
+ filename: string | null;
26529
+ id: string;
26530
+ idempotency_key: string | null;
26531
+ module: string;
26532
+ path: string;
26533
+ reference_id: string | null;
26534
+ request_body_hash: string | null;
26535
+ request_timestamp: number | null;
26536
+ response_content_type: string | null;
26537
+ response_status: number | null;
26538
+ size_bytes: number | null;
26539
+ };
26540
+ Insert: {
26541
+ action?: string;
26542
+ attempt_number?: number;
26543
+ caller?: string;
26544
+ client_user_id?: string | null;
26545
+ content_type?: string | null;
26546
+ created_at?: string;
26547
+ environment: string;
26548
+ error_message?: string | null;
26549
+ filename?: string | null;
26550
+ id?: string;
26551
+ idempotency_key?: string | null;
26552
+ module?: string;
26553
+ path: string;
26554
+ reference_id?: string | null;
26555
+ request_body_hash?: string | null;
26556
+ request_timestamp?: number | null;
26557
+ response_content_type?: string | null;
26558
+ response_status?: number | null;
26559
+ size_bytes?: number | null;
26560
+ };
26561
+ Update: {
26562
+ action?: string;
26563
+ attempt_number?: number;
26564
+ caller?: string;
26565
+ client_user_id?: string | null;
26566
+ content_type?: string | null;
26567
+ created_at?: string;
26568
+ environment?: string;
26569
+ error_message?: string | null;
26570
+ filename?: string | null;
26571
+ id?: string;
26572
+ idempotency_key?: string | null;
26573
+ module?: string;
26574
+ path?: string;
26575
+ reference_id?: string | null;
26576
+ request_body_hash?: string | null;
26577
+ request_timestamp?: number | null;
26578
+ response_content_type?: string | null;
26579
+ response_status?: number | null;
26580
+ size_bytes?: number | null;
26581
+ };
26582
+ Relationships: [];
26583
+ };
26166
26584
  voorraad_publish_attempts: {
26167
26585
  Row: {
26168
26586
  action: string;
@@ -26822,6 +27240,15 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
26822
27240
  };
26823
27241
  Returns: number;
26824
27242
  };
27243
+ assign_floriday_order_numbers: {
27244
+ Args: {
27245
+ p_ids: string[];
27246
+ };
27247
+ Returns: {
27248
+ floriday_id: string;
27249
+ order_number: string;
27250
+ }[];
27251
+ };
26825
27252
  call_exact_route: {
26826
27253
  Args: {
26827
27254
  path: string;
@@ -27031,6 +27458,12 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
27031
27458
  };
27032
27459
  Returns: import("../integrations/supabase/types").Json;
27033
27460
  };
27461
+ get_or_assign_floriday_order_number: {
27462
+ Args: {
27463
+ p_floriday_id: string;
27464
+ };
27465
+ Returns: string;
27466
+ };
27034
27467
  get_room_busy_windows: {
27035
27468
  Args: {
27036
27469
  p_from: string;
@@ -27077,6 +27510,12 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
27077
27510
  Args: never;
27078
27511
  Returns: boolean;
27079
27512
  };
27513
+ next_order_number: {
27514
+ Args: {
27515
+ p_prefix: string;
27516
+ };
27517
+ Returns: string;
27518
+ };
27080
27519
  next_work_order_number: {
27081
27520
  Args: {
27082
27521
  p_parent_work_order_id?: string;
@@ -27090,6 +27529,32 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
27090
27529
  };
27091
27530
  Returns: string;
27092
27531
  };
27532
+ pickstation_get_orders_raw: {
27533
+ Args: never;
27534
+ Returns: import("../integrations/supabase/types").Json;
27535
+ };
27536
+ pickstation_get_settings: {
27537
+ Args: never;
27538
+ Returns: import("../integrations/supabase/types").Json;
27539
+ };
27540
+ pickstation_log_print: {
27541
+ Args: {
27542
+ p_customer_name: string;
27543
+ p_documents: string[];
27544
+ p_ip_address: string;
27545
+ p_order_id: string;
27546
+ p_order_number: string;
27547
+ };
27548
+ Returns: undefined;
27549
+ };
27550
+ refresh_floricode_derived_code_lists: {
27551
+ Args: never;
27552
+ Returns: {
27553
+ environment: string;
27554
+ list_name: string;
27555
+ row_count: number;
27556
+ }[];
27557
+ };
27093
27558
  reset_floriday_sync_cursor: {
27094
27559
  Args: {
27095
27560
  p_connection_id: string;
@@ -30050,6 +30515,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
30050
30515
  created_at: string;
30051
30516
  exact_article_id: string | null;
30052
30517
  id: string;
30518
+ image_url: string | null;
30053
30519
  is_active: boolean;
30054
30520
  name: string;
30055
30521
  price: number;
@@ -30060,6 +30526,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
30060
30526
  created_at?: string;
30061
30527
  exact_article_id?: string | null;
30062
30528
  id?: string;
30529
+ image_url?: string | null;
30063
30530
  is_active?: boolean;
30064
30531
  name: string;
30065
30532
  price?: number;
@@ -30070,6 +30537,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
30070
30537
  created_at?: string;
30071
30538
  exact_article_id?: string | null;
30072
30539
  id?: string;
30540
+ image_url?: string | null;
30073
30541
  is_active?: boolean;
30074
30542
  name?: string;
30075
30543
  price?: number;
@@ -31304,6 +31772,24 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
31304
31772
  };
31305
31773
  Relationships: [];
31306
31774
  };
31775
+ floriday_order_number_map: {
31776
+ Row: {
31777
+ created_at: string;
31778
+ floriday_id: string;
31779
+ order_number: string;
31780
+ };
31781
+ Insert: {
31782
+ created_at?: string;
31783
+ floriday_id: string;
31784
+ order_number: string;
31785
+ };
31786
+ Update: {
31787
+ created_at?: string;
31788
+ floriday_id?: string;
31789
+ order_number?: string;
31790
+ };
31791
+ Relationships: [];
31792
+ };
31307
31793
  floriday_packings_cache: {
31308
31794
  Row: {
31309
31795
  connection_id: string;
@@ -33149,6 +33635,24 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
33149
33635
  referencedColumns: ["id"];
33150
33636
  }];
33151
33637
  };
33638
+ order_number_counters: {
33639
+ Row: {
33640
+ last_value: number;
33641
+ updated_at: string;
33642
+ year: number;
33643
+ };
33644
+ Insert: {
33645
+ last_value?: number;
33646
+ updated_at?: string;
33647
+ year: number;
33648
+ };
33649
+ Update: {
33650
+ last_value?: number;
33651
+ updated_at?: string;
33652
+ year?: number;
33653
+ };
33654
+ Relationships: [];
33655
+ };
33152
33656
  orders: {
33153
33657
  Row: {
33154
33658
  created_at: string;
@@ -33161,6 +33665,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
33161
33665
  notes: string | null;
33162
33666
  order_date: string;
33163
33667
  order_number: string;
33668
+ order_source: string;
33164
33669
  status: string;
33165
33670
  total: string;
33166
33671
  updated_at: string;
@@ -33176,6 +33681,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
33176
33681
  notes?: string | null;
33177
33682
  order_date?: string;
33178
33683
  order_number: string;
33684
+ order_source?: string;
33179
33685
  status?: string;
33180
33686
  total?: string;
33181
33687
  updated_at?: string;
@@ -33191,6 +33697,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
33191
33697
  notes?: string | null;
33192
33698
  order_date?: string;
33193
33699
  order_number?: string;
33700
+ order_source?: string;
33194
33701
  status?: string;
33195
33702
  total?: string;
33196
33703
  updated_at?: string;
@@ -35300,6 +35807,72 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
35300
35807
  referencedColumns: ["id"];
35301
35808
  }];
35302
35809
  };
35810
+ voorraad_media_upload_failures: {
35811
+ Row: {
35812
+ action: string;
35813
+ attempt_number: number;
35814
+ caller: string;
35815
+ client_user_id: string | null;
35816
+ content_type: string | null;
35817
+ created_at: string;
35818
+ environment: string;
35819
+ error_message: string | null;
35820
+ filename: string | null;
35821
+ id: string;
35822
+ idempotency_key: string | null;
35823
+ module: string;
35824
+ path: string;
35825
+ reference_id: string | null;
35826
+ request_body_hash: string | null;
35827
+ request_timestamp: number | null;
35828
+ response_content_type: string | null;
35829
+ response_status: number | null;
35830
+ size_bytes: number | null;
35831
+ };
35832
+ Insert: {
35833
+ action?: string;
35834
+ attempt_number?: number;
35835
+ caller?: string;
35836
+ client_user_id?: string | null;
35837
+ content_type?: string | null;
35838
+ created_at?: string;
35839
+ environment: string;
35840
+ error_message?: string | null;
35841
+ filename?: string | null;
35842
+ id?: string;
35843
+ idempotency_key?: string | null;
35844
+ module?: string;
35845
+ path: string;
35846
+ reference_id?: string | null;
35847
+ request_body_hash?: string | null;
35848
+ request_timestamp?: number | null;
35849
+ response_content_type?: string | null;
35850
+ response_status?: number | null;
35851
+ size_bytes?: number | null;
35852
+ };
35853
+ Update: {
35854
+ action?: string;
35855
+ attempt_number?: number;
35856
+ caller?: string;
35857
+ client_user_id?: string | null;
35858
+ content_type?: string | null;
35859
+ created_at?: string;
35860
+ environment?: string;
35861
+ error_message?: string | null;
35862
+ filename?: string | null;
35863
+ id?: string;
35864
+ idempotency_key?: string | null;
35865
+ module?: string;
35866
+ path?: string;
35867
+ reference_id?: string | null;
35868
+ request_body_hash?: string | null;
35869
+ request_timestamp?: number | null;
35870
+ response_content_type?: string | null;
35871
+ response_status?: number | null;
35872
+ size_bytes?: number | null;
35873
+ };
35874
+ Relationships: [];
35875
+ };
35303
35876
  voorraad_publish_attempts: {
35304
35877
  Row: {
35305
35878
  action: string;
@@ -35959,6 +36532,15 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
35959
36532
  };
35960
36533
  Returns: number;
35961
36534
  };
36535
+ assign_floriday_order_numbers: {
36536
+ Args: {
36537
+ p_ids: string[];
36538
+ };
36539
+ Returns: {
36540
+ floriday_id: string;
36541
+ order_number: string;
36542
+ }[];
36543
+ };
35962
36544
  call_exact_route: {
35963
36545
  Args: {
35964
36546
  path: string;
@@ -36168,6 +36750,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
36168
36750
  };
36169
36751
  Returns: import("../integrations/supabase/types").Json;
36170
36752
  };
36753
+ get_or_assign_floriday_order_number: {
36754
+ Args: {
36755
+ p_floriday_id: string;
36756
+ };
36757
+ Returns: string;
36758
+ };
36171
36759
  get_room_busy_windows: {
36172
36760
  Args: {
36173
36761
  p_from: string;
@@ -36214,6 +36802,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
36214
36802
  Args: never;
36215
36803
  Returns: boolean;
36216
36804
  };
36805
+ next_order_number: {
36806
+ Args: {
36807
+ p_prefix: string;
36808
+ };
36809
+ Returns: string;
36810
+ };
36217
36811
  next_work_order_number: {
36218
36812
  Args: {
36219
36813
  p_parent_work_order_id?: string;
@@ -36227,6 +36821,32 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
36227
36821
  };
36228
36822
  Returns: string;
36229
36823
  };
36824
+ pickstation_get_orders_raw: {
36825
+ Args: never;
36826
+ Returns: import("../integrations/supabase/types").Json;
36827
+ };
36828
+ pickstation_get_settings: {
36829
+ Args: never;
36830
+ Returns: import("../integrations/supabase/types").Json;
36831
+ };
36832
+ pickstation_log_print: {
36833
+ Args: {
36834
+ p_customer_name: string;
36835
+ p_documents: string[];
36836
+ p_ip_address: string;
36837
+ p_order_id: string;
36838
+ p_order_number: string;
36839
+ };
36840
+ Returns: undefined;
36841
+ };
36842
+ refresh_floricode_derived_code_lists: {
36843
+ Args: never;
36844
+ Returns: {
36845
+ environment: string;
36846
+ list_name: string;
36847
+ row_count: number;
36848
+ }[];
36849
+ };
36230
36850
  reset_floriday_sync_cursor: {
36231
36851
  Args: {
36232
36852
  p_connection_id: string;
@@ -39184,6 +39804,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
39184
39804
  created_at: string;
39185
39805
  exact_article_id: string | null;
39186
39806
  id: string;
39807
+ image_url: string | null;
39187
39808
  is_active: boolean;
39188
39809
  name: string;
39189
39810
  price: number;
@@ -39194,6 +39815,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
39194
39815
  created_at?: string;
39195
39816
  exact_article_id?: string | null;
39196
39817
  id?: string;
39818
+ image_url?: string | null;
39197
39819
  is_active?: boolean;
39198
39820
  name: string;
39199
39821
  price?: number;
@@ -39204,6 +39826,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
39204
39826
  created_at?: string;
39205
39827
  exact_article_id?: string | null;
39206
39828
  id?: string;
39829
+ image_url?: string | null;
39207
39830
  is_active?: boolean;
39208
39831
  name?: string;
39209
39832
  price?: number;
@@ -40438,6 +41061,24 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
40438
41061
  };
40439
41062
  Relationships: [];
40440
41063
  };
41064
+ floriday_order_number_map: {
41065
+ Row: {
41066
+ created_at: string;
41067
+ floriday_id: string;
41068
+ order_number: string;
41069
+ };
41070
+ Insert: {
41071
+ created_at?: string;
41072
+ floriday_id: string;
41073
+ order_number: string;
41074
+ };
41075
+ Update: {
41076
+ created_at?: string;
41077
+ floriday_id?: string;
41078
+ order_number?: string;
41079
+ };
41080
+ Relationships: [];
41081
+ };
40441
41082
  floriday_packings_cache: {
40442
41083
  Row: {
40443
41084
  connection_id: string;
@@ -42283,6 +42924,24 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
42283
42924
  referencedColumns: ["id"];
42284
42925
  }];
42285
42926
  };
42927
+ order_number_counters: {
42928
+ Row: {
42929
+ last_value: number;
42930
+ updated_at: string;
42931
+ year: number;
42932
+ };
42933
+ Insert: {
42934
+ last_value?: number;
42935
+ updated_at?: string;
42936
+ year: number;
42937
+ };
42938
+ Update: {
42939
+ last_value?: number;
42940
+ updated_at?: string;
42941
+ year?: number;
42942
+ };
42943
+ Relationships: [];
42944
+ };
42286
42945
  orders: {
42287
42946
  Row: {
42288
42947
  created_at: string;
@@ -42295,6 +42954,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
42295
42954
  notes: string | null;
42296
42955
  order_date: string;
42297
42956
  order_number: string;
42957
+ order_source: string;
42298
42958
  status: string;
42299
42959
  total: string;
42300
42960
  updated_at: string;
@@ -42310,6 +42970,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
42310
42970
  notes?: string | null;
42311
42971
  order_date?: string;
42312
42972
  order_number: string;
42973
+ order_source?: string;
42313
42974
  status?: string;
42314
42975
  total?: string;
42315
42976
  updated_at?: string;
@@ -42325,6 +42986,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
42325
42986
  notes?: string | null;
42326
42987
  order_date?: string;
42327
42988
  order_number?: string;
42989
+ order_source?: string;
42328
42990
  status?: string;
42329
42991
  total?: string;
42330
42992
  updated_at?: string;
@@ -44434,6 +45096,72 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
44434
45096
  referencedColumns: ["id"];
44435
45097
  }];
44436
45098
  };
45099
+ voorraad_media_upload_failures: {
45100
+ Row: {
45101
+ action: string;
45102
+ attempt_number: number;
45103
+ caller: string;
45104
+ client_user_id: string | null;
45105
+ content_type: string | null;
45106
+ created_at: string;
45107
+ environment: string;
45108
+ error_message: string | null;
45109
+ filename: string | null;
45110
+ id: string;
45111
+ idempotency_key: string | null;
45112
+ module: string;
45113
+ path: string;
45114
+ reference_id: string | null;
45115
+ request_body_hash: string | null;
45116
+ request_timestamp: number | null;
45117
+ response_content_type: string | null;
45118
+ response_status: number | null;
45119
+ size_bytes: number | null;
45120
+ };
45121
+ Insert: {
45122
+ action?: string;
45123
+ attempt_number?: number;
45124
+ caller?: string;
45125
+ client_user_id?: string | null;
45126
+ content_type?: string | null;
45127
+ created_at?: string;
45128
+ environment: string;
45129
+ error_message?: string | null;
45130
+ filename?: string | null;
45131
+ id?: string;
45132
+ idempotency_key?: string | null;
45133
+ module?: string;
45134
+ path: string;
45135
+ reference_id?: string | null;
45136
+ request_body_hash?: string | null;
45137
+ request_timestamp?: number | null;
45138
+ response_content_type?: string | null;
45139
+ response_status?: number | null;
45140
+ size_bytes?: number | null;
45141
+ };
45142
+ Update: {
45143
+ action?: string;
45144
+ attempt_number?: number;
45145
+ caller?: string;
45146
+ client_user_id?: string | null;
45147
+ content_type?: string | null;
45148
+ created_at?: string;
45149
+ environment?: string;
45150
+ error_message?: string | null;
45151
+ filename?: string | null;
45152
+ id?: string;
45153
+ idempotency_key?: string | null;
45154
+ module?: string;
45155
+ path?: string;
45156
+ reference_id?: string | null;
45157
+ request_body_hash?: string | null;
45158
+ request_timestamp?: number | null;
45159
+ response_content_type?: string | null;
45160
+ response_status?: number | null;
45161
+ size_bytes?: number | null;
45162
+ };
45163
+ Relationships: [];
45164
+ };
44437
45165
  voorraad_publish_attempts: {
44438
45166
  Row: {
44439
45167
  action: string;
@@ -45093,6 +45821,15 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
45093
45821
  };
45094
45822
  Returns: number;
45095
45823
  };
45824
+ assign_floriday_order_numbers: {
45825
+ Args: {
45826
+ p_ids: string[];
45827
+ };
45828
+ Returns: {
45829
+ floriday_id: string;
45830
+ order_number: string;
45831
+ }[];
45832
+ };
45096
45833
  call_exact_route: {
45097
45834
  Args: {
45098
45835
  path: string;
@@ -45302,6 +46039,12 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
45302
46039
  };
45303
46040
  Returns: import("../integrations/supabase/types").Json;
45304
46041
  };
46042
+ get_or_assign_floriday_order_number: {
46043
+ Args: {
46044
+ p_floriday_id: string;
46045
+ };
46046
+ Returns: string;
46047
+ };
45305
46048
  get_room_busy_windows: {
45306
46049
  Args: {
45307
46050
  p_from: string;
@@ -45348,6 +46091,12 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
45348
46091
  Args: never;
45349
46092
  Returns: boolean;
45350
46093
  };
46094
+ next_order_number: {
46095
+ Args: {
46096
+ p_prefix: string;
46097
+ };
46098
+ Returns: string;
46099
+ };
45351
46100
  next_work_order_number: {
45352
46101
  Args: {
45353
46102
  p_parent_work_order_id?: string;
@@ -45361,6 +46110,32 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
45361
46110
  };
45362
46111
  Returns: string;
45363
46112
  };
46113
+ pickstation_get_orders_raw: {
46114
+ Args: never;
46115
+ Returns: import("../integrations/supabase/types").Json;
46116
+ };
46117
+ pickstation_get_settings: {
46118
+ Args: never;
46119
+ Returns: import("../integrations/supabase/types").Json;
46120
+ };
46121
+ pickstation_log_print: {
46122
+ Args: {
46123
+ p_customer_name: string;
46124
+ p_documents: string[];
46125
+ p_ip_address: string;
46126
+ p_order_id: string;
46127
+ p_order_number: string;
46128
+ };
46129
+ Returns: undefined;
46130
+ };
46131
+ refresh_floricode_derived_code_lists: {
46132
+ Args: never;
46133
+ Returns: {
46134
+ environment: string;
46135
+ list_name: string;
46136
+ row_count: number;
46137
+ }[];
46138
+ };
45364
46139
  reset_floriday_sync_cursor: {
45365
46140
  Args: {
45366
46141
  p_connection_id: string;