@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.
@@ -2641,6 +2641,7 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
2641
2641
  created_at: string;
2642
2642
  exact_article_id: string | null;
2643
2643
  id: string;
2644
+ image_url: string | null;
2644
2645
  is_active: boolean;
2645
2646
  name: string;
2646
2647
  price: number;
@@ -2651,6 +2652,7 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
2651
2652
  created_at?: string;
2652
2653
  exact_article_id?: string | null;
2653
2654
  id?: string;
2655
+ image_url?: string | null;
2654
2656
  is_active?: boolean;
2655
2657
  name: string;
2656
2658
  price?: number;
@@ -2661,6 +2663,7 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
2661
2663
  created_at?: string;
2662
2664
  exact_article_id?: string | null;
2663
2665
  id?: string;
2666
+ image_url?: string | null;
2664
2667
  is_active?: boolean;
2665
2668
  name?: string;
2666
2669
  price?: number;
@@ -3895,6 +3898,24 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
3895
3898
  };
3896
3899
  Relationships: [];
3897
3900
  };
3901
+ floriday_order_number_map: {
3902
+ Row: {
3903
+ created_at: string;
3904
+ floriday_id: string;
3905
+ order_number: string;
3906
+ };
3907
+ Insert: {
3908
+ created_at?: string;
3909
+ floriday_id: string;
3910
+ order_number: string;
3911
+ };
3912
+ Update: {
3913
+ created_at?: string;
3914
+ floriday_id?: string;
3915
+ order_number?: string;
3916
+ };
3917
+ Relationships: [];
3918
+ };
3898
3919
  floriday_packings_cache: {
3899
3920
  Row: {
3900
3921
  connection_id: string;
@@ -5740,6 +5761,24 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
5740
5761
  referencedColumns: ["id"];
5741
5762
  }];
5742
5763
  };
5764
+ order_number_counters: {
5765
+ Row: {
5766
+ last_value: number;
5767
+ updated_at: string;
5768
+ year: number;
5769
+ };
5770
+ Insert: {
5771
+ last_value?: number;
5772
+ updated_at?: string;
5773
+ year: number;
5774
+ };
5775
+ Update: {
5776
+ last_value?: number;
5777
+ updated_at?: string;
5778
+ year?: number;
5779
+ };
5780
+ Relationships: [];
5781
+ };
5743
5782
  orders: {
5744
5783
  Row: {
5745
5784
  created_at: string;
@@ -5752,6 +5791,7 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
5752
5791
  notes: string | null;
5753
5792
  order_date: string;
5754
5793
  order_number: string;
5794
+ order_source: string;
5755
5795
  status: string;
5756
5796
  total: string;
5757
5797
  updated_at: string;
@@ -5767,6 +5807,7 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
5767
5807
  notes?: string | null;
5768
5808
  order_date?: string;
5769
5809
  order_number: string;
5810
+ order_source?: string;
5770
5811
  status?: string;
5771
5812
  total?: string;
5772
5813
  updated_at?: string;
@@ -5782,6 +5823,7 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
5782
5823
  notes?: string | null;
5783
5824
  order_date?: string;
5784
5825
  order_number?: string;
5826
+ order_source?: string;
5785
5827
  status?: string;
5786
5828
  total?: string;
5787
5829
  updated_at?: string;
@@ -7891,6 +7933,72 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
7891
7933
  referencedColumns: ["id"];
7892
7934
  }];
7893
7935
  };
7936
+ voorraad_media_upload_failures: {
7937
+ Row: {
7938
+ action: string;
7939
+ attempt_number: number;
7940
+ caller: string;
7941
+ client_user_id: string | null;
7942
+ content_type: string | null;
7943
+ created_at: string;
7944
+ environment: string;
7945
+ error_message: string | null;
7946
+ filename: string | null;
7947
+ id: string;
7948
+ idempotency_key: string | null;
7949
+ module: string;
7950
+ path: string;
7951
+ reference_id: string | null;
7952
+ request_body_hash: string | null;
7953
+ request_timestamp: number | null;
7954
+ response_content_type: string | null;
7955
+ response_status: number | null;
7956
+ size_bytes: number | null;
7957
+ };
7958
+ Insert: {
7959
+ action?: string;
7960
+ attempt_number?: number;
7961
+ caller?: string;
7962
+ client_user_id?: string | null;
7963
+ content_type?: string | null;
7964
+ created_at?: string;
7965
+ environment: string;
7966
+ error_message?: string | null;
7967
+ filename?: string | null;
7968
+ id?: string;
7969
+ idempotency_key?: string | null;
7970
+ module?: string;
7971
+ path: string;
7972
+ reference_id?: string | null;
7973
+ request_body_hash?: string | null;
7974
+ request_timestamp?: number | null;
7975
+ response_content_type?: string | null;
7976
+ response_status?: number | null;
7977
+ size_bytes?: number | null;
7978
+ };
7979
+ Update: {
7980
+ action?: string;
7981
+ attempt_number?: number;
7982
+ caller?: string;
7983
+ client_user_id?: string | null;
7984
+ content_type?: string | null;
7985
+ created_at?: string;
7986
+ environment?: string;
7987
+ error_message?: string | null;
7988
+ filename?: string | null;
7989
+ id?: string;
7990
+ idempotency_key?: string | null;
7991
+ module?: string;
7992
+ path?: string;
7993
+ reference_id?: string | null;
7994
+ request_body_hash?: string | null;
7995
+ request_timestamp?: number | null;
7996
+ response_content_type?: string | null;
7997
+ response_status?: number | null;
7998
+ size_bytes?: number | null;
7999
+ };
8000
+ Relationships: [];
8001
+ };
7894
8002
  voorraad_publish_attempts: {
7895
8003
  Row: {
7896
8004
  action: string;
@@ -8550,6 +8658,15 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
8550
8658
  };
8551
8659
  Returns: number;
8552
8660
  };
8661
+ assign_floriday_order_numbers: {
8662
+ Args: {
8663
+ p_ids: string[];
8664
+ };
8665
+ Returns: {
8666
+ floriday_id: string;
8667
+ order_number: string;
8668
+ }[];
8669
+ };
8553
8670
  call_exact_route: {
8554
8671
  Args: {
8555
8672
  path: string;
@@ -8759,6 +8876,12 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
8759
8876
  };
8760
8877
  Returns: import("../integrations/supabase/types").Json;
8761
8878
  };
8879
+ get_or_assign_floriday_order_number: {
8880
+ Args: {
8881
+ p_floriday_id: string;
8882
+ };
8883
+ Returns: string;
8884
+ };
8762
8885
  get_room_busy_windows: {
8763
8886
  Args: {
8764
8887
  p_from: string;
@@ -8805,6 +8928,12 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
8805
8928
  Args: never;
8806
8929
  Returns: boolean;
8807
8930
  };
8931
+ next_order_number: {
8932
+ Args: {
8933
+ p_prefix: string;
8934
+ };
8935
+ Returns: string;
8936
+ };
8808
8937
  next_work_order_number: {
8809
8938
  Args: {
8810
8939
  p_parent_work_order_id?: string;
@@ -8818,6 +8947,32 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
8818
8947
  };
8819
8948
  Returns: string;
8820
8949
  };
8950
+ pickstation_get_orders_raw: {
8951
+ Args: never;
8952
+ Returns: import("../integrations/supabase/types").Json;
8953
+ };
8954
+ pickstation_get_settings: {
8955
+ Args: never;
8956
+ Returns: import("../integrations/supabase/types").Json;
8957
+ };
8958
+ pickstation_log_print: {
8959
+ Args: {
8960
+ p_customer_name: string;
8961
+ p_documents: string[];
8962
+ p_ip_address: string;
8963
+ p_order_id: string;
8964
+ p_order_number: string;
8965
+ };
8966
+ Returns: undefined;
8967
+ };
8968
+ refresh_floricode_derived_code_lists: {
8969
+ Args: never;
8970
+ Returns: {
8971
+ environment: string;
8972
+ list_name: string;
8973
+ row_count: number;
8974
+ }[];
8975
+ };
8821
8976
  reset_floriday_sync_cursor: {
8822
8977
  Args: {
8823
8978
  p_connection_id: string;
@@ -11778,6 +11933,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
11778
11933
  created_at: string;
11779
11934
  exact_article_id: string | null;
11780
11935
  id: string;
11936
+ image_url: string | null;
11781
11937
  is_active: boolean;
11782
11938
  name: string;
11783
11939
  price: number;
@@ -11788,6 +11944,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
11788
11944
  created_at?: string;
11789
11945
  exact_article_id?: string | null;
11790
11946
  id?: string;
11947
+ image_url?: string | null;
11791
11948
  is_active?: boolean;
11792
11949
  name: string;
11793
11950
  price?: number;
@@ -11798,6 +11955,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
11798
11955
  created_at?: string;
11799
11956
  exact_article_id?: string | null;
11800
11957
  id?: string;
11958
+ image_url?: string | null;
11801
11959
  is_active?: boolean;
11802
11960
  name?: string;
11803
11961
  price?: number;
@@ -13032,6 +13190,24 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
13032
13190
  };
13033
13191
  Relationships: [];
13034
13192
  };
13193
+ floriday_order_number_map: {
13194
+ Row: {
13195
+ created_at: string;
13196
+ floriday_id: string;
13197
+ order_number: string;
13198
+ };
13199
+ Insert: {
13200
+ created_at?: string;
13201
+ floriday_id: string;
13202
+ order_number: string;
13203
+ };
13204
+ Update: {
13205
+ created_at?: string;
13206
+ floriday_id?: string;
13207
+ order_number?: string;
13208
+ };
13209
+ Relationships: [];
13210
+ };
13035
13211
  floriday_packings_cache: {
13036
13212
  Row: {
13037
13213
  connection_id: string;
@@ -14877,6 +15053,24 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
14877
15053
  referencedColumns: ["id"];
14878
15054
  }];
14879
15055
  };
15056
+ order_number_counters: {
15057
+ Row: {
15058
+ last_value: number;
15059
+ updated_at: string;
15060
+ year: number;
15061
+ };
15062
+ Insert: {
15063
+ last_value?: number;
15064
+ updated_at?: string;
15065
+ year: number;
15066
+ };
15067
+ Update: {
15068
+ last_value?: number;
15069
+ updated_at?: string;
15070
+ year?: number;
15071
+ };
15072
+ Relationships: [];
15073
+ };
14880
15074
  orders: {
14881
15075
  Row: {
14882
15076
  created_at: string;
@@ -14889,6 +15083,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
14889
15083
  notes: string | null;
14890
15084
  order_date: string;
14891
15085
  order_number: string;
15086
+ order_source: string;
14892
15087
  status: string;
14893
15088
  total: string;
14894
15089
  updated_at: string;
@@ -14904,6 +15099,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
14904
15099
  notes?: string | null;
14905
15100
  order_date?: string;
14906
15101
  order_number: string;
15102
+ order_source?: string;
14907
15103
  status?: string;
14908
15104
  total?: string;
14909
15105
  updated_at?: string;
@@ -14919,6 +15115,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
14919
15115
  notes?: string | null;
14920
15116
  order_date?: string;
14921
15117
  order_number?: string;
15118
+ order_source?: string;
14922
15119
  status?: string;
14923
15120
  total?: string;
14924
15121
  updated_at?: string;
@@ -17028,6 +17225,72 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
17028
17225
  referencedColumns: ["id"];
17029
17226
  }];
17030
17227
  };
17228
+ voorraad_media_upload_failures: {
17229
+ Row: {
17230
+ action: string;
17231
+ attempt_number: number;
17232
+ caller: string;
17233
+ client_user_id: string | null;
17234
+ content_type: string | null;
17235
+ created_at: string;
17236
+ environment: string;
17237
+ error_message: string | null;
17238
+ filename: string | null;
17239
+ id: string;
17240
+ idempotency_key: string | null;
17241
+ module: string;
17242
+ path: string;
17243
+ reference_id: string | null;
17244
+ request_body_hash: string | null;
17245
+ request_timestamp: number | null;
17246
+ response_content_type: string | null;
17247
+ response_status: number | null;
17248
+ size_bytes: number | null;
17249
+ };
17250
+ Insert: {
17251
+ action?: string;
17252
+ attempt_number?: number;
17253
+ caller?: string;
17254
+ client_user_id?: string | null;
17255
+ content_type?: string | null;
17256
+ created_at?: string;
17257
+ environment: string;
17258
+ error_message?: string | null;
17259
+ filename?: string | null;
17260
+ id?: string;
17261
+ idempotency_key?: string | null;
17262
+ module?: string;
17263
+ path: string;
17264
+ reference_id?: string | null;
17265
+ request_body_hash?: string | null;
17266
+ request_timestamp?: number | null;
17267
+ response_content_type?: string | null;
17268
+ response_status?: number | null;
17269
+ size_bytes?: number | null;
17270
+ };
17271
+ Update: {
17272
+ action?: string;
17273
+ attempt_number?: number;
17274
+ caller?: string;
17275
+ client_user_id?: string | null;
17276
+ content_type?: string | null;
17277
+ created_at?: string;
17278
+ environment?: string;
17279
+ error_message?: string | null;
17280
+ filename?: string | null;
17281
+ id?: string;
17282
+ idempotency_key?: string | null;
17283
+ module?: string;
17284
+ path?: string;
17285
+ reference_id?: string | null;
17286
+ request_body_hash?: string | null;
17287
+ request_timestamp?: number | null;
17288
+ response_content_type?: string | null;
17289
+ response_status?: number | null;
17290
+ size_bytes?: number | null;
17291
+ };
17292
+ Relationships: [];
17293
+ };
17031
17294
  voorraad_publish_attempts: {
17032
17295
  Row: {
17033
17296
  action: string;
@@ -17687,6 +17950,15 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
17687
17950
  };
17688
17951
  Returns: number;
17689
17952
  };
17953
+ assign_floriday_order_numbers: {
17954
+ Args: {
17955
+ p_ids: string[];
17956
+ };
17957
+ Returns: {
17958
+ floriday_id: string;
17959
+ order_number: string;
17960
+ }[];
17961
+ };
17690
17962
  call_exact_route: {
17691
17963
  Args: {
17692
17964
  path: string;
@@ -17896,6 +18168,12 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
17896
18168
  };
17897
18169
  Returns: import("../integrations/supabase/types").Json;
17898
18170
  };
18171
+ get_or_assign_floriday_order_number: {
18172
+ Args: {
18173
+ p_floriday_id: string;
18174
+ };
18175
+ Returns: string;
18176
+ };
17899
18177
  get_room_busy_windows: {
17900
18178
  Args: {
17901
18179
  p_from: string;
@@ -17942,6 +18220,12 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
17942
18220
  Args: never;
17943
18221
  Returns: boolean;
17944
18222
  };
18223
+ next_order_number: {
18224
+ Args: {
18225
+ p_prefix: string;
18226
+ };
18227
+ Returns: string;
18228
+ };
17945
18229
  next_work_order_number: {
17946
18230
  Args: {
17947
18231
  p_parent_work_order_id?: string;
@@ -17955,6 +18239,32 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
17955
18239
  };
17956
18240
  Returns: string;
17957
18241
  };
18242
+ pickstation_get_orders_raw: {
18243
+ Args: never;
18244
+ Returns: import("../integrations/supabase/types").Json;
18245
+ };
18246
+ pickstation_get_settings: {
18247
+ Args: never;
18248
+ Returns: import("../integrations/supabase/types").Json;
18249
+ };
18250
+ pickstation_log_print: {
18251
+ Args: {
18252
+ p_customer_name: string;
18253
+ p_documents: string[];
18254
+ p_ip_address: string;
18255
+ p_order_id: string;
18256
+ p_order_number: string;
18257
+ };
18258
+ Returns: undefined;
18259
+ };
18260
+ refresh_floricode_derived_code_lists: {
18261
+ Args: never;
18262
+ Returns: {
18263
+ environment: string;
18264
+ list_name: string;
18265
+ row_count: number;
18266
+ }[];
18267
+ };
17958
18268
  reset_floriday_sync_cursor: {
17959
18269
  Args: {
17960
18270
  p_connection_id: string;
@@ -20914,6 +21224,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
20914
21224
  created_at: string;
20915
21225
  exact_article_id: string | null;
20916
21226
  id: string;
21227
+ image_url: string | null;
20917
21228
  is_active: boolean;
20918
21229
  name: string;
20919
21230
  price: number;
@@ -20924,6 +21235,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
20924
21235
  created_at?: string;
20925
21236
  exact_article_id?: string | null;
20926
21237
  id?: string;
21238
+ image_url?: string | null;
20927
21239
  is_active?: boolean;
20928
21240
  name: string;
20929
21241
  price?: number;
@@ -20934,6 +21246,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
20934
21246
  created_at?: string;
20935
21247
  exact_article_id?: string | null;
20936
21248
  id?: string;
21249
+ image_url?: string | null;
20937
21250
  is_active?: boolean;
20938
21251
  name?: string;
20939
21252
  price?: number;
@@ -22168,6 +22481,24 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
22168
22481
  };
22169
22482
  Relationships: [];
22170
22483
  };
22484
+ floriday_order_number_map: {
22485
+ Row: {
22486
+ created_at: string;
22487
+ floriday_id: string;
22488
+ order_number: string;
22489
+ };
22490
+ Insert: {
22491
+ created_at?: string;
22492
+ floriday_id: string;
22493
+ order_number: string;
22494
+ };
22495
+ Update: {
22496
+ created_at?: string;
22497
+ floriday_id?: string;
22498
+ order_number?: string;
22499
+ };
22500
+ Relationships: [];
22501
+ };
22171
22502
  floriday_packings_cache: {
22172
22503
  Row: {
22173
22504
  connection_id: string;
@@ -24013,6 +24344,24 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
24013
24344
  referencedColumns: ["id"];
24014
24345
  }];
24015
24346
  };
24347
+ order_number_counters: {
24348
+ Row: {
24349
+ last_value: number;
24350
+ updated_at: string;
24351
+ year: number;
24352
+ };
24353
+ Insert: {
24354
+ last_value?: number;
24355
+ updated_at?: string;
24356
+ year: number;
24357
+ };
24358
+ Update: {
24359
+ last_value?: number;
24360
+ updated_at?: string;
24361
+ year?: number;
24362
+ };
24363
+ Relationships: [];
24364
+ };
24016
24365
  orders: {
24017
24366
  Row: {
24018
24367
  created_at: string;
@@ -24025,6 +24374,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
24025
24374
  notes: string | null;
24026
24375
  order_date: string;
24027
24376
  order_number: string;
24377
+ order_source: string;
24028
24378
  status: string;
24029
24379
  total: string;
24030
24380
  updated_at: string;
@@ -24040,6 +24390,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
24040
24390
  notes?: string | null;
24041
24391
  order_date?: string;
24042
24392
  order_number: string;
24393
+ order_source?: string;
24043
24394
  status?: string;
24044
24395
  total?: string;
24045
24396
  updated_at?: string;
@@ -24055,6 +24406,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
24055
24406
  notes?: string | null;
24056
24407
  order_date?: string;
24057
24408
  order_number?: string;
24409
+ order_source?: string;
24058
24410
  status?: string;
24059
24411
  total?: string;
24060
24412
  updated_at?: string;
@@ -26164,6 +26516,72 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
26164
26516
  referencedColumns: ["id"];
26165
26517
  }];
26166
26518
  };
26519
+ voorraad_media_upload_failures: {
26520
+ Row: {
26521
+ action: string;
26522
+ attempt_number: number;
26523
+ caller: string;
26524
+ client_user_id: string | null;
26525
+ content_type: string | null;
26526
+ created_at: string;
26527
+ environment: string;
26528
+ error_message: string | null;
26529
+ filename: string | null;
26530
+ id: string;
26531
+ idempotency_key: string | null;
26532
+ module: string;
26533
+ path: string;
26534
+ reference_id: string | null;
26535
+ request_body_hash: string | null;
26536
+ request_timestamp: number | null;
26537
+ response_content_type: string | null;
26538
+ response_status: number | null;
26539
+ size_bytes: number | null;
26540
+ };
26541
+ Insert: {
26542
+ action?: string;
26543
+ attempt_number?: number;
26544
+ caller?: string;
26545
+ client_user_id?: string | null;
26546
+ content_type?: string | null;
26547
+ created_at?: string;
26548
+ environment: string;
26549
+ error_message?: string | null;
26550
+ filename?: string | null;
26551
+ id?: string;
26552
+ idempotency_key?: string | null;
26553
+ module?: string;
26554
+ path: string;
26555
+ reference_id?: string | null;
26556
+ request_body_hash?: string | null;
26557
+ request_timestamp?: number | null;
26558
+ response_content_type?: string | null;
26559
+ response_status?: number | null;
26560
+ size_bytes?: number | null;
26561
+ };
26562
+ Update: {
26563
+ action?: string;
26564
+ attempt_number?: number;
26565
+ caller?: string;
26566
+ client_user_id?: string | null;
26567
+ content_type?: string | null;
26568
+ created_at?: string;
26569
+ environment?: string;
26570
+ error_message?: string | null;
26571
+ filename?: string | null;
26572
+ id?: string;
26573
+ idempotency_key?: string | null;
26574
+ module?: string;
26575
+ path?: string;
26576
+ reference_id?: string | null;
26577
+ request_body_hash?: string | null;
26578
+ request_timestamp?: number | null;
26579
+ response_content_type?: string | null;
26580
+ response_status?: number | null;
26581
+ size_bytes?: number | null;
26582
+ };
26583
+ Relationships: [];
26584
+ };
26167
26585
  voorraad_publish_attempts: {
26168
26586
  Row: {
26169
26587
  action: string;
@@ -26823,6 +27241,15 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
26823
27241
  };
26824
27242
  Returns: number;
26825
27243
  };
27244
+ assign_floriday_order_numbers: {
27245
+ Args: {
27246
+ p_ids: string[];
27247
+ };
27248
+ Returns: {
27249
+ floriday_id: string;
27250
+ order_number: string;
27251
+ }[];
27252
+ };
26826
27253
  call_exact_route: {
26827
27254
  Args: {
26828
27255
  path: string;
@@ -27032,6 +27459,12 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
27032
27459
  };
27033
27460
  Returns: import("../integrations/supabase/types").Json;
27034
27461
  };
27462
+ get_or_assign_floriday_order_number: {
27463
+ Args: {
27464
+ p_floriday_id: string;
27465
+ };
27466
+ Returns: string;
27467
+ };
27035
27468
  get_room_busy_windows: {
27036
27469
  Args: {
27037
27470
  p_from: string;
@@ -27078,6 +27511,12 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
27078
27511
  Args: never;
27079
27512
  Returns: boolean;
27080
27513
  };
27514
+ next_order_number: {
27515
+ Args: {
27516
+ p_prefix: string;
27517
+ };
27518
+ Returns: string;
27519
+ };
27081
27520
  next_work_order_number: {
27082
27521
  Args: {
27083
27522
  p_parent_work_order_id?: string;
@@ -27091,6 +27530,32 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
27091
27530
  };
27092
27531
  Returns: string;
27093
27532
  };
27533
+ pickstation_get_orders_raw: {
27534
+ Args: never;
27535
+ Returns: import("../integrations/supabase/types").Json;
27536
+ };
27537
+ pickstation_get_settings: {
27538
+ Args: never;
27539
+ Returns: import("../integrations/supabase/types").Json;
27540
+ };
27541
+ pickstation_log_print: {
27542
+ Args: {
27543
+ p_customer_name: string;
27544
+ p_documents: string[];
27545
+ p_ip_address: string;
27546
+ p_order_id: string;
27547
+ p_order_number: string;
27548
+ };
27549
+ Returns: undefined;
27550
+ };
27551
+ refresh_floricode_derived_code_lists: {
27552
+ Args: never;
27553
+ Returns: {
27554
+ environment: string;
27555
+ list_name: string;
27556
+ row_count: number;
27557
+ }[];
27558
+ };
27094
27559
  reset_floriday_sync_cursor: {
27095
27560
  Args: {
27096
27561
  p_connection_id: string;
@@ -30050,6 +30515,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
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 assertFlorydayValue: import("@tanstack/start-client-core").
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 assertFlorydayValue: import("@tanstack/start-client-core").
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 assertFlorydayValue: import("@tanstack/start-client-core").
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 assertFlorydayValue: import("@tanstack/start-client-core").
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 assertFlorydayValue: import("@tanstack/start-client-core").
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 assertFlorydayValue: import("@tanstack/start-client-core").
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 assertFlorydayValue: import("@tanstack/start-client-core").
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 assertFlorydayValue: import("@tanstack/start-client-core").
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 assertFlorydayValue: import("@tanstack/start-client-core").
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 assertFlorydayValue: import("@tanstack/start-client-core").
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 assertFlorydayValue: import("@tanstack/start-client-core").
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 assertFlorydayValue: import("@tanstack/start-client-core").
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;
@@ -39196,6 +39816,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
39196
39816
  created_at: string;
39197
39817
  exact_article_id: string | null;
39198
39818
  id: string;
39819
+ image_url: string | null;
39199
39820
  is_active: boolean;
39200
39821
  name: string;
39201
39822
  price: number;
@@ -39206,6 +39827,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
39206
39827
  created_at?: string;
39207
39828
  exact_article_id?: string | null;
39208
39829
  id?: string;
39830
+ image_url?: string | null;
39209
39831
  is_active?: boolean;
39210
39832
  name: string;
39211
39833
  price?: number;
@@ -39216,6 +39838,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
39216
39838
  created_at?: string;
39217
39839
  exact_article_id?: string | null;
39218
39840
  id?: string;
39841
+ image_url?: string | null;
39219
39842
  is_active?: boolean;
39220
39843
  name?: string;
39221
39844
  price?: number;
@@ -40450,6 +41073,24 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
40450
41073
  };
40451
41074
  Relationships: [];
40452
41075
  };
41076
+ floriday_order_number_map: {
41077
+ Row: {
41078
+ created_at: string;
41079
+ floriday_id: string;
41080
+ order_number: string;
41081
+ };
41082
+ Insert: {
41083
+ created_at?: string;
41084
+ floriday_id: string;
41085
+ order_number: string;
41086
+ };
41087
+ Update: {
41088
+ created_at?: string;
41089
+ floriday_id?: string;
41090
+ order_number?: string;
41091
+ };
41092
+ Relationships: [];
41093
+ };
40453
41094
  floriday_packings_cache: {
40454
41095
  Row: {
40455
41096
  connection_id: string;
@@ -42295,6 +42936,24 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
42295
42936
  referencedColumns: ["id"];
42296
42937
  }];
42297
42938
  };
42939
+ order_number_counters: {
42940
+ Row: {
42941
+ last_value: number;
42942
+ updated_at: string;
42943
+ year: number;
42944
+ };
42945
+ Insert: {
42946
+ last_value?: number;
42947
+ updated_at?: string;
42948
+ year: number;
42949
+ };
42950
+ Update: {
42951
+ last_value?: number;
42952
+ updated_at?: string;
42953
+ year?: number;
42954
+ };
42955
+ Relationships: [];
42956
+ };
42298
42957
  orders: {
42299
42958
  Row: {
42300
42959
  created_at: string;
@@ -42307,6 +42966,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
42307
42966
  notes: string | null;
42308
42967
  order_date: string;
42309
42968
  order_number: string;
42969
+ order_source: string;
42310
42970
  status: string;
42311
42971
  total: string;
42312
42972
  updated_at: string;
@@ -42322,6 +42982,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
42322
42982
  notes?: string | null;
42323
42983
  order_date?: string;
42324
42984
  order_number: string;
42985
+ order_source?: string;
42325
42986
  status?: string;
42326
42987
  total?: string;
42327
42988
  updated_at?: string;
@@ -42337,6 +42998,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
42337
42998
  notes?: string | null;
42338
42999
  order_date?: string;
42339
43000
  order_number?: string;
43001
+ order_source?: string;
42340
43002
  status?: string;
42341
43003
  total?: string;
42342
43004
  updated_at?: string;
@@ -44446,6 +45108,72 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
44446
45108
  referencedColumns: ["id"];
44447
45109
  }];
44448
45110
  };
45111
+ voorraad_media_upload_failures: {
45112
+ Row: {
45113
+ action: string;
45114
+ attempt_number: number;
45115
+ caller: string;
45116
+ client_user_id: string | null;
45117
+ content_type: string | null;
45118
+ created_at: string;
45119
+ environment: string;
45120
+ error_message: string | null;
45121
+ filename: string | null;
45122
+ id: string;
45123
+ idempotency_key: string | null;
45124
+ module: string;
45125
+ path: string;
45126
+ reference_id: string | null;
45127
+ request_body_hash: string | null;
45128
+ request_timestamp: number | null;
45129
+ response_content_type: string | null;
45130
+ response_status: number | null;
45131
+ size_bytes: number | null;
45132
+ };
45133
+ Insert: {
45134
+ action?: string;
45135
+ attempt_number?: number;
45136
+ caller?: string;
45137
+ client_user_id?: string | null;
45138
+ content_type?: string | null;
45139
+ created_at?: string;
45140
+ environment: string;
45141
+ error_message?: string | null;
45142
+ filename?: string | null;
45143
+ id?: string;
45144
+ idempotency_key?: string | null;
45145
+ module?: string;
45146
+ path: string;
45147
+ reference_id?: string | null;
45148
+ request_body_hash?: string | null;
45149
+ request_timestamp?: number | null;
45150
+ response_content_type?: string | null;
45151
+ response_status?: number | null;
45152
+ size_bytes?: number | null;
45153
+ };
45154
+ Update: {
45155
+ action?: string;
45156
+ attempt_number?: number;
45157
+ caller?: string;
45158
+ client_user_id?: string | null;
45159
+ content_type?: string | null;
45160
+ created_at?: string;
45161
+ environment?: string;
45162
+ error_message?: string | null;
45163
+ filename?: string | null;
45164
+ id?: string;
45165
+ idempotency_key?: string | null;
45166
+ module?: string;
45167
+ path?: string;
45168
+ reference_id?: string | null;
45169
+ request_body_hash?: string | null;
45170
+ request_timestamp?: number | null;
45171
+ response_content_type?: string | null;
45172
+ response_status?: number | null;
45173
+ size_bytes?: number | null;
45174
+ };
45175
+ Relationships: [];
45176
+ };
44449
45177
  voorraad_publish_attempts: {
44450
45178
  Row: {
44451
45179
  action: string;
@@ -45105,6 +45833,15 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
45105
45833
  };
45106
45834
  Returns: number;
45107
45835
  };
45836
+ assign_floriday_order_numbers: {
45837
+ Args: {
45838
+ p_ids: string[];
45839
+ };
45840
+ Returns: {
45841
+ floriday_id: string;
45842
+ order_number: string;
45843
+ }[];
45844
+ };
45108
45845
  call_exact_route: {
45109
45846
  Args: {
45110
45847
  path: string;
@@ -45314,6 +46051,12 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
45314
46051
  };
45315
46052
  Returns: import("../integrations/supabase/types").Json;
45316
46053
  };
46054
+ get_or_assign_floriday_order_number: {
46055
+ Args: {
46056
+ p_floriday_id: string;
46057
+ };
46058
+ Returns: string;
46059
+ };
45317
46060
  get_room_busy_windows: {
45318
46061
  Args: {
45319
46062
  p_from: string;
@@ -45360,6 +46103,12 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
45360
46103
  Args: never;
45361
46104
  Returns: boolean;
45362
46105
  };
46106
+ next_order_number: {
46107
+ Args: {
46108
+ p_prefix: string;
46109
+ };
46110
+ Returns: string;
46111
+ };
45363
46112
  next_work_order_number: {
45364
46113
  Args: {
45365
46114
  p_parent_work_order_id?: string;
@@ -45373,6 +46122,32 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
45373
46122
  };
45374
46123
  Returns: string;
45375
46124
  };
46125
+ pickstation_get_orders_raw: {
46126
+ Args: never;
46127
+ Returns: import("../integrations/supabase/types").Json;
46128
+ };
46129
+ pickstation_get_settings: {
46130
+ Args: never;
46131
+ Returns: import("../integrations/supabase/types").Json;
46132
+ };
46133
+ pickstation_log_print: {
46134
+ Args: {
46135
+ p_customer_name: string;
46136
+ p_documents: string[];
46137
+ p_ip_address: string;
46138
+ p_order_id: string;
46139
+ p_order_number: string;
46140
+ };
46141
+ Returns: undefined;
46142
+ };
46143
+ refresh_floricode_derived_code_lists: {
46144
+ Args: never;
46145
+ Returns: {
46146
+ environment: string;
46147
+ list_name: string;
46148
+ row_count: number;
46149
+ }[];
46150
+ };
45376
46151
  reset_floriday_sync_cursor: {
45377
46152
  Args: {
45378
46153
  p_connection_id: string;
@@ -48332,6 +49107,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
48332
49107
  created_at: string;
48333
49108
  exact_article_id: string | null;
48334
49109
  id: string;
49110
+ image_url: string | null;
48335
49111
  is_active: boolean;
48336
49112
  name: string;
48337
49113
  price: number;
@@ -48342,6 +49118,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
48342
49118
  created_at?: string;
48343
49119
  exact_article_id?: string | null;
48344
49120
  id?: string;
49121
+ image_url?: string | null;
48345
49122
  is_active?: boolean;
48346
49123
  name: string;
48347
49124
  price?: number;
@@ -48352,6 +49129,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
48352
49129
  created_at?: string;
48353
49130
  exact_article_id?: string | null;
48354
49131
  id?: string;
49132
+ image_url?: string | null;
48355
49133
  is_active?: boolean;
48356
49134
  name?: string;
48357
49135
  price?: number;
@@ -49586,6 +50364,24 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
49586
50364
  };
49587
50365
  Relationships: [];
49588
50366
  };
50367
+ floriday_order_number_map: {
50368
+ Row: {
50369
+ created_at: string;
50370
+ floriday_id: string;
50371
+ order_number: string;
50372
+ };
50373
+ Insert: {
50374
+ created_at?: string;
50375
+ floriday_id: string;
50376
+ order_number: string;
50377
+ };
50378
+ Update: {
50379
+ created_at?: string;
50380
+ floriday_id?: string;
50381
+ order_number?: string;
50382
+ };
50383
+ Relationships: [];
50384
+ };
49589
50385
  floriday_packings_cache: {
49590
50386
  Row: {
49591
50387
  connection_id: string;
@@ -51431,6 +52227,24 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
51431
52227
  referencedColumns: ["id"];
51432
52228
  }];
51433
52229
  };
52230
+ order_number_counters: {
52231
+ Row: {
52232
+ last_value: number;
52233
+ updated_at: string;
52234
+ year: number;
52235
+ };
52236
+ Insert: {
52237
+ last_value?: number;
52238
+ updated_at?: string;
52239
+ year: number;
52240
+ };
52241
+ Update: {
52242
+ last_value?: number;
52243
+ updated_at?: string;
52244
+ year?: number;
52245
+ };
52246
+ Relationships: [];
52247
+ };
51434
52248
  orders: {
51435
52249
  Row: {
51436
52250
  created_at: string;
@@ -51443,6 +52257,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
51443
52257
  notes: string | null;
51444
52258
  order_date: string;
51445
52259
  order_number: string;
52260
+ order_source: string;
51446
52261
  status: string;
51447
52262
  total: string;
51448
52263
  updated_at: string;
@@ -51458,6 +52273,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
51458
52273
  notes?: string | null;
51459
52274
  order_date?: string;
51460
52275
  order_number: string;
52276
+ order_source?: string;
51461
52277
  status?: string;
51462
52278
  total?: string;
51463
52279
  updated_at?: string;
@@ -51473,6 +52289,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
51473
52289
  notes?: string | null;
51474
52290
  order_date?: string;
51475
52291
  order_number?: string;
52292
+ order_source?: string;
51476
52293
  status?: string;
51477
52294
  total?: string;
51478
52295
  updated_at?: string;
@@ -53582,6 +54399,72 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
53582
54399
  referencedColumns: ["id"];
53583
54400
  }];
53584
54401
  };
54402
+ voorraad_media_upload_failures: {
54403
+ Row: {
54404
+ action: string;
54405
+ attempt_number: number;
54406
+ caller: string;
54407
+ client_user_id: string | null;
54408
+ content_type: string | null;
54409
+ created_at: string;
54410
+ environment: string;
54411
+ error_message: string | null;
54412
+ filename: string | null;
54413
+ id: string;
54414
+ idempotency_key: string | null;
54415
+ module: string;
54416
+ path: string;
54417
+ reference_id: string | null;
54418
+ request_body_hash: string | null;
54419
+ request_timestamp: number | null;
54420
+ response_content_type: string | null;
54421
+ response_status: number | null;
54422
+ size_bytes: number | null;
54423
+ };
54424
+ Insert: {
54425
+ action?: string;
54426
+ attempt_number?: number;
54427
+ caller?: string;
54428
+ client_user_id?: string | null;
54429
+ content_type?: string | null;
54430
+ created_at?: string;
54431
+ environment: string;
54432
+ error_message?: string | null;
54433
+ filename?: string | null;
54434
+ id?: string;
54435
+ idempotency_key?: string | null;
54436
+ module?: string;
54437
+ path: string;
54438
+ reference_id?: string | null;
54439
+ request_body_hash?: string | null;
54440
+ request_timestamp?: number | null;
54441
+ response_content_type?: string | null;
54442
+ response_status?: number | null;
54443
+ size_bytes?: number | null;
54444
+ };
54445
+ Update: {
54446
+ action?: string;
54447
+ attempt_number?: number;
54448
+ caller?: string;
54449
+ client_user_id?: string | null;
54450
+ content_type?: string | null;
54451
+ created_at?: string;
54452
+ environment?: string;
54453
+ error_message?: string | null;
54454
+ filename?: string | null;
54455
+ id?: string;
54456
+ idempotency_key?: string | null;
54457
+ module?: string;
54458
+ path?: string;
54459
+ reference_id?: string | null;
54460
+ request_body_hash?: string | null;
54461
+ request_timestamp?: number | null;
54462
+ response_content_type?: string | null;
54463
+ response_status?: number | null;
54464
+ size_bytes?: number | null;
54465
+ };
54466
+ Relationships: [];
54467
+ };
53585
54468
  voorraad_publish_attempts: {
53586
54469
  Row: {
53587
54470
  action: string;
@@ -54241,6 +55124,15 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
54241
55124
  };
54242
55125
  Returns: number;
54243
55126
  };
55127
+ assign_floriday_order_numbers: {
55128
+ Args: {
55129
+ p_ids: string[];
55130
+ };
55131
+ Returns: {
55132
+ floriday_id: string;
55133
+ order_number: string;
55134
+ }[];
55135
+ };
54244
55136
  call_exact_route: {
54245
55137
  Args: {
54246
55138
  path: string;
@@ -54450,6 +55342,12 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
54450
55342
  };
54451
55343
  Returns: import("../integrations/supabase/types").Json;
54452
55344
  };
55345
+ get_or_assign_floriday_order_number: {
55346
+ Args: {
55347
+ p_floriday_id: string;
55348
+ };
55349
+ Returns: string;
55350
+ };
54453
55351
  get_room_busy_windows: {
54454
55352
  Args: {
54455
55353
  p_from: string;
@@ -54496,6 +55394,12 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
54496
55394
  Args: never;
54497
55395
  Returns: boolean;
54498
55396
  };
55397
+ next_order_number: {
55398
+ Args: {
55399
+ p_prefix: string;
55400
+ };
55401
+ Returns: string;
55402
+ };
54499
55403
  next_work_order_number: {
54500
55404
  Args: {
54501
55405
  p_parent_work_order_id?: string;
@@ -54509,6 +55413,32 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
54509
55413
  };
54510
55414
  Returns: string;
54511
55415
  };
55416
+ pickstation_get_orders_raw: {
55417
+ Args: never;
55418
+ Returns: import("../integrations/supabase/types").Json;
55419
+ };
55420
+ pickstation_get_settings: {
55421
+ Args: never;
55422
+ Returns: import("../integrations/supabase/types").Json;
55423
+ };
55424
+ pickstation_log_print: {
55425
+ Args: {
55426
+ p_customer_name: string;
55427
+ p_documents: string[];
55428
+ p_ip_address: string;
55429
+ p_order_id: string;
55430
+ p_order_number: string;
55431
+ };
55432
+ Returns: undefined;
55433
+ };
55434
+ refresh_floricode_derived_code_lists: {
55435
+ Args: never;
55436
+ Returns: {
55437
+ environment: string;
55438
+ list_name: string;
55439
+ row_count: number;
55440
+ }[];
55441
+ };
54512
55442
  reset_floriday_sync_cursor: {
54513
55443
  Args: {
54514
55444
  p_connection_id: string;
@@ -57465,6 +58395,7 @@ export declare const getFlorydaySyncHealth: import("@tanstack/start-client-core"
57465
58395
  created_at: string;
57466
58396
  exact_article_id: string | null;
57467
58397
  id: string;
58398
+ image_url: string | null;
57468
58399
  is_active: boolean;
57469
58400
  name: string;
57470
58401
  price: number;
@@ -57475,6 +58406,7 @@ export declare const getFlorydaySyncHealth: import("@tanstack/start-client-core"
57475
58406
  created_at?: string;
57476
58407
  exact_article_id?: string | null;
57477
58408
  id?: string;
58409
+ image_url?: string | null;
57478
58410
  is_active?: boolean;
57479
58411
  name: string;
57480
58412
  price?: number;
@@ -57485,6 +58417,7 @@ export declare const getFlorydaySyncHealth: import("@tanstack/start-client-core"
57485
58417
  created_at?: string;
57486
58418
  exact_article_id?: string | null;
57487
58419
  id?: string;
58420
+ image_url?: string | null;
57488
58421
  is_active?: boolean;
57489
58422
  name?: string;
57490
58423
  price?: number;
@@ -58719,6 +59652,24 @@ export declare const getFlorydaySyncHealth: import("@tanstack/start-client-core"
58719
59652
  };
58720
59653
  Relationships: [];
58721
59654
  };
59655
+ floriday_order_number_map: {
59656
+ Row: {
59657
+ created_at: string;
59658
+ floriday_id: string;
59659
+ order_number: string;
59660
+ };
59661
+ Insert: {
59662
+ created_at?: string;
59663
+ floriday_id: string;
59664
+ order_number: string;
59665
+ };
59666
+ Update: {
59667
+ created_at?: string;
59668
+ floriday_id?: string;
59669
+ order_number?: string;
59670
+ };
59671
+ Relationships: [];
59672
+ };
58722
59673
  floriday_packings_cache: {
58723
59674
  Row: {
58724
59675
  connection_id: string;
@@ -60564,6 +61515,24 @@ export declare const getFlorydaySyncHealth: import("@tanstack/start-client-core"
60564
61515
  referencedColumns: ["id"];
60565
61516
  }];
60566
61517
  };
61518
+ order_number_counters: {
61519
+ Row: {
61520
+ last_value: number;
61521
+ updated_at: string;
61522
+ year: number;
61523
+ };
61524
+ Insert: {
61525
+ last_value?: number;
61526
+ updated_at?: string;
61527
+ year: number;
61528
+ };
61529
+ Update: {
61530
+ last_value?: number;
61531
+ updated_at?: string;
61532
+ year?: number;
61533
+ };
61534
+ Relationships: [];
61535
+ };
60567
61536
  orders: {
60568
61537
  Row: {
60569
61538
  created_at: string;
@@ -60576,6 +61545,7 @@ export declare const getFlorydaySyncHealth: import("@tanstack/start-client-core"
60576
61545
  notes: string | null;
60577
61546
  order_date: string;
60578
61547
  order_number: string;
61548
+ order_source: string;
60579
61549
  status: string;
60580
61550
  total: string;
60581
61551
  updated_at: string;
@@ -60591,6 +61561,7 @@ export declare const getFlorydaySyncHealth: import("@tanstack/start-client-core"
60591
61561
  notes?: string | null;
60592
61562
  order_date?: string;
60593
61563
  order_number: string;
61564
+ order_source?: string;
60594
61565
  status?: string;
60595
61566
  total?: string;
60596
61567
  updated_at?: string;
@@ -60606,6 +61577,7 @@ export declare const getFlorydaySyncHealth: import("@tanstack/start-client-core"
60606
61577
  notes?: string | null;
60607
61578
  order_date?: string;
60608
61579
  order_number?: string;
61580
+ order_source?: string;
60609
61581
  status?: string;
60610
61582
  total?: string;
60611
61583
  updated_at?: string;
@@ -62715,6 +63687,72 @@ export declare const getFlorydaySyncHealth: import("@tanstack/start-client-core"
62715
63687
  referencedColumns: ["id"];
62716
63688
  }];
62717
63689
  };
63690
+ voorraad_media_upload_failures: {
63691
+ Row: {
63692
+ action: string;
63693
+ attempt_number: number;
63694
+ caller: string;
63695
+ client_user_id: string | null;
63696
+ content_type: string | null;
63697
+ created_at: string;
63698
+ environment: string;
63699
+ error_message: string | null;
63700
+ filename: string | null;
63701
+ id: string;
63702
+ idempotency_key: string | null;
63703
+ module: string;
63704
+ path: string;
63705
+ reference_id: string | null;
63706
+ request_body_hash: string | null;
63707
+ request_timestamp: number | null;
63708
+ response_content_type: string | null;
63709
+ response_status: number | null;
63710
+ size_bytes: number | null;
63711
+ };
63712
+ Insert: {
63713
+ action?: string;
63714
+ attempt_number?: number;
63715
+ caller?: string;
63716
+ client_user_id?: string | null;
63717
+ content_type?: string | null;
63718
+ created_at?: string;
63719
+ environment: string;
63720
+ error_message?: string | null;
63721
+ filename?: string | null;
63722
+ id?: string;
63723
+ idempotency_key?: string | null;
63724
+ module?: string;
63725
+ path: string;
63726
+ reference_id?: string | null;
63727
+ request_body_hash?: string | null;
63728
+ request_timestamp?: number | null;
63729
+ response_content_type?: string | null;
63730
+ response_status?: number | null;
63731
+ size_bytes?: number | null;
63732
+ };
63733
+ Update: {
63734
+ action?: string;
63735
+ attempt_number?: number;
63736
+ caller?: string;
63737
+ client_user_id?: string | null;
63738
+ content_type?: string | null;
63739
+ created_at?: string;
63740
+ environment?: string;
63741
+ error_message?: string | null;
63742
+ filename?: string | null;
63743
+ id?: string;
63744
+ idempotency_key?: string | null;
63745
+ module?: string;
63746
+ path?: string;
63747
+ reference_id?: string | null;
63748
+ request_body_hash?: string | null;
63749
+ request_timestamp?: number | null;
63750
+ response_content_type?: string | null;
63751
+ response_status?: number | null;
63752
+ size_bytes?: number | null;
63753
+ };
63754
+ Relationships: [];
63755
+ };
62718
63756
  voorraad_publish_attempts: {
62719
63757
  Row: {
62720
63758
  action: string;
@@ -63374,6 +64412,15 @@ export declare const getFlorydaySyncHealth: import("@tanstack/start-client-core"
63374
64412
  };
63375
64413
  Returns: number;
63376
64414
  };
64415
+ assign_floriday_order_numbers: {
64416
+ Args: {
64417
+ p_ids: string[];
64418
+ };
64419
+ Returns: {
64420
+ floriday_id: string;
64421
+ order_number: string;
64422
+ }[];
64423
+ };
63377
64424
  call_exact_route: {
63378
64425
  Args: {
63379
64426
  path: string;
@@ -63583,6 +64630,12 @@ export declare const getFlorydaySyncHealth: import("@tanstack/start-client-core"
63583
64630
  };
63584
64631
  Returns: import("../integrations/supabase/types").Json;
63585
64632
  };
64633
+ get_or_assign_floriday_order_number: {
64634
+ Args: {
64635
+ p_floriday_id: string;
64636
+ };
64637
+ Returns: string;
64638
+ };
63586
64639
  get_room_busy_windows: {
63587
64640
  Args: {
63588
64641
  p_from: string;
@@ -63629,6 +64682,12 @@ export declare const getFlorydaySyncHealth: import("@tanstack/start-client-core"
63629
64682
  Args: never;
63630
64683
  Returns: boolean;
63631
64684
  };
64685
+ next_order_number: {
64686
+ Args: {
64687
+ p_prefix: string;
64688
+ };
64689
+ Returns: string;
64690
+ };
63632
64691
  next_work_order_number: {
63633
64692
  Args: {
63634
64693
  p_parent_work_order_id?: string;
@@ -63642,6 +64701,32 @@ export declare const getFlorydaySyncHealth: import("@tanstack/start-client-core"
63642
64701
  };
63643
64702
  Returns: string;
63644
64703
  };
64704
+ pickstation_get_orders_raw: {
64705
+ Args: never;
64706
+ Returns: import("../integrations/supabase/types").Json;
64707
+ };
64708
+ pickstation_get_settings: {
64709
+ Args: never;
64710
+ Returns: import("../integrations/supabase/types").Json;
64711
+ };
64712
+ pickstation_log_print: {
64713
+ Args: {
64714
+ p_customer_name: string;
64715
+ p_documents: string[];
64716
+ p_ip_address: string;
64717
+ p_order_id: string;
64718
+ p_order_number: string;
64719
+ };
64720
+ Returns: undefined;
64721
+ };
64722
+ refresh_floricode_derived_code_lists: {
64723
+ Args: never;
64724
+ Returns: {
64725
+ environment: string;
64726
+ list_name: string;
64727
+ row_count: number;
64728
+ }[];
64729
+ };
63645
64730
  reset_floriday_sync_cursor: {
63646
64731
  Args: {
63647
64732
  p_connection_id: string;