@flowselections/floriday-klanten-module 1.0.9 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist-lib/components/klanten/GroupedKlantDetail.d.ts +4 -0
  2. package/dist-lib/components/klanten/GroupedKlantDetail.d.ts.map +1 -0
  3. package/dist-lib/components/klanten/GroupedKlantDetail.js +152 -0
  4. package/dist-lib/components/klanten/GroupedKlantDetailRoute.d.ts +2 -0
  5. package/dist-lib/components/klanten/GroupedKlantDetailRoute.d.ts.map +1 -0
  6. package/dist-lib/components/klanten/GroupedKlantDetailRoute.js +8 -0
  7. package/dist-lib/components/klanten/KlantDetail.d.ts +4 -0
  8. package/dist-lib/components/klanten/KlantDetail.d.ts.map +1 -0
  9. package/dist-lib/components/klanten/KlantDetail.js +43 -0
  10. package/dist-lib/components/klanten/KlantDetailRoute.d.ts +2 -0
  11. package/dist-lib/components/klanten/KlantDetailRoute.d.ts.map +1 -0
  12. package/dist-lib/components/klanten/KlantDetailRoute.js +8 -0
  13. package/dist-lib/components/klanten/NetwerkPagina.d.ts +2 -0
  14. package/dist-lib/components/klanten/NetwerkPagina.d.ts.map +1 -0
  15. package/dist-lib/components/klanten/NetwerkPagina.js +23 -0
  16. package/dist-lib/components/klanten/NieuweKlant.d.ts +2 -0
  17. package/dist-lib/components/klanten/NieuweKlant.d.ts.map +1 -0
  18. package/dist-lib/components/klanten/NieuweKlant.js +57 -0
  19. package/dist-lib/index.d.ts +6 -0
  20. package/dist-lib/index.d.ts.map +1 -1
  21. package/dist-lib/index.js +6 -0
  22. package/dist-lib/integrations/supabase/auth-middleware.d.ts +63 -3
  23. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  24. package/dist-lib/integrations/supabase/client.d.ts +63 -3
  25. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  26. package/dist-lib/integrations/supabase/client.server.d.ts +63 -3
  27. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  28. package/dist-lib/integrations/supabase/types.d.ts +63 -3
  29. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  30. package/dist-lib/lib/accounting.functions.d.ts +189 -9
  31. package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
  32. package/dist-lib/lib/customer-analytics.functions.d.ts +63 -3
  33. package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
  34. package/dist-lib/lib/customers.functions.d.ts +441 -21
  35. package/dist-lib/lib/customers.functions.d.ts.map +1 -1
  36. package/dist-lib/lib/delivery-locations.functions.d.ts +252 -12
  37. package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
  38. package/dist-lib/lib/external-customers.functions.d.ts +252 -12
  39. package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
  40. package/package.json +25 -1
@@ -3899,6 +3899,24 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
3899
3899
  };
3900
3900
  Relationships: [];
3901
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
+ };
3902
3920
  floriday_packings_cache: {
3903
3921
  Row: {
3904
3922
  connection_id: string;
@@ -5744,6 +5762,24 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
5744
5762
  referencedColumns: ["id"];
5745
5763
  }];
5746
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
+ };
5747
5783
  orders: {
5748
5784
  Row: {
5749
5785
  created_at: string;
@@ -5756,6 +5792,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
5756
5792
  notes: string | null;
5757
5793
  order_date: string;
5758
5794
  order_number: string;
5795
+ order_source: string;
5759
5796
  status: string;
5760
5797
  total: string;
5761
5798
  updated_at: string;
@@ -5771,6 +5808,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
5771
5808
  notes?: string | null;
5772
5809
  order_date?: string;
5773
5810
  order_number: string;
5811
+ order_source?: string;
5774
5812
  status?: string;
5775
5813
  total?: string;
5776
5814
  updated_at?: string;
@@ -5786,6 +5824,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
5786
5824
  notes?: string | null;
5787
5825
  order_date?: string;
5788
5826
  order_number?: string;
5827
+ order_source?: string;
5789
5828
  status?: string;
5790
5829
  total?: string;
5791
5830
  updated_at?: string;
@@ -8620,6 +8659,15 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
8620
8659
  };
8621
8660
  Returns: number;
8622
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
+ };
8623
8671
  call_exact_route: {
8624
8672
  Args: {
8625
8673
  path: string;
@@ -8829,6 +8877,12 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
8829
8877
  };
8830
8878
  Returns: import("../integrations/supabase/types").Json;
8831
8879
  };
8880
+ get_or_assign_floriday_order_number: {
8881
+ Args: {
8882
+ p_floriday_id: string;
8883
+ };
8884
+ Returns: string;
8885
+ };
8832
8886
  get_room_busy_windows: {
8833
8887
  Args: {
8834
8888
  p_from: string;
@@ -8875,6 +8929,12 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
8875
8929
  Args: never;
8876
8930
  Returns: boolean;
8877
8931
  };
8932
+ next_order_number: {
8933
+ Args: {
8934
+ p_prefix: string;
8935
+ };
8936
+ Returns: string;
8937
+ };
8878
8938
  next_work_order_number: {
8879
8939
  Args: {
8880
8940
  p_parent_work_order_id?: string;
@@ -8909,9 +8969,9 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
8909
8969
  refresh_floricode_derived_code_lists: {
8910
8970
  Args: never;
8911
8971
  Returns: {
8912
- out_environment: string;
8913
- out_list_name: string;
8914
- out_row_count: number;
8972
+ environment: string;
8973
+ list_name: string;
8974
+ row_count: number;
8915
8975
  }[];
8916
8976
  };
8917
8977
  reset_floriday_sync_cursor: {
@@ -13126,6 +13186,24 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
13126
13186
  };
13127
13187
  Relationships: [];
13128
13188
  };
13189
+ floriday_order_number_map: {
13190
+ Row: {
13191
+ created_at: string;
13192
+ floriday_id: string;
13193
+ order_number: string;
13194
+ };
13195
+ Insert: {
13196
+ created_at?: string;
13197
+ floriday_id: string;
13198
+ order_number: string;
13199
+ };
13200
+ Update: {
13201
+ created_at?: string;
13202
+ floriday_id?: string;
13203
+ order_number?: string;
13204
+ };
13205
+ Relationships: [];
13206
+ };
13129
13207
  floriday_packings_cache: {
13130
13208
  Row: {
13131
13209
  connection_id: string;
@@ -14971,6 +15049,24 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
14971
15049
  referencedColumns: ["id"];
14972
15050
  }];
14973
15051
  };
15052
+ order_number_counters: {
15053
+ Row: {
15054
+ last_value: number;
15055
+ updated_at: string;
15056
+ year: number;
15057
+ };
15058
+ Insert: {
15059
+ last_value?: number;
15060
+ updated_at?: string;
15061
+ year: number;
15062
+ };
15063
+ Update: {
15064
+ last_value?: number;
15065
+ updated_at?: string;
15066
+ year?: number;
15067
+ };
15068
+ Relationships: [];
15069
+ };
14974
15070
  orders: {
14975
15071
  Row: {
14976
15072
  created_at: string;
@@ -14983,6 +15079,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
14983
15079
  notes: string | null;
14984
15080
  order_date: string;
14985
15081
  order_number: string;
15082
+ order_source: string;
14986
15083
  status: string;
14987
15084
  total: string;
14988
15085
  updated_at: string;
@@ -14998,6 +15095,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
14998
15095
  notes?: string | null;
14999
15096
  order_date?: string;
15000
15097
  order_number: string;
15098
+ order_source?: string;
15001
15099
  status?: string;
15002
15100
  total?: string;
15003
15101
  updated_at?: string;
@@ -15013,6 +15111,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
15013
15111
  notes?: string | null;
15014
15112
  order_date?: string;
15015
15113
  order_number?: string;
15114
+ order_source?: string;
15016
15115
  status?: string;
15017
15116
  total?: string;
15018
15117
  updated_at?: string;
@@ -17847,6 +17946,15 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
17847
17946
  };
17848
17947
  Returns: number;
17849
17948
  };
17949
+ assign_floriday_order_numbers: {
17950
+ Args: {
17951
+ p_ids: string[];
17952
+ };
17953
+ Returns: {
17954
+ floriday_id: string;
17955
+ order_number: string;
17956
+ }[];
17957
+ };
17850
17958
  call_exact_route: {
17851
17959
  Args: {
17852
17960
  path: string;
@@ -18056,6 +18164,12 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
18056
18164
  };
18057
18165
  Returns: import("../integrations/supabase/types").Json;
18058
18166
  };
18167
+ get_or_assign_floriday_order_number: {
18168
+ Args: {
18169
+ p_floriday_id: string;
18170
+ };
18171
+ Returns: string;
18172
+ };
18059
18173
  get_room_busy_windows: {
18060
18174
  Args: {
18061
18175
  p_from: string;
@@ -18102,6 +18216,12 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
18102
18216
  Args: never;
18103
18217
  Returns: boolean;
18104
18218
  };
18219
+ next_order_number: {
18220
+ Args: {
18221
+ p_prefix: string;
18222
+ };
18223
+ Returns: string;
18224
+ };
18105
18225
  next_work_order_number: {
18106
18226
  Args: {
18107
18227
  p_parent_work_order_id?: string;
@@ -18136,9 +18256,9 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
18136
18256
  refresh_floricode_derived_code_lists: {
18137
18257
  Args: never;
18138
18258
  Returns: {
18139
- out_environment: string;
18140
- out_list_name: string;
18141
- out_row_count: number;
18259
+ environment: string;
18260
+ list_name: string;
18261
+ row_count: number;
18142
18262
  }[];
18143
18263
  };
18144
18264
  reset_floriday_sync_cursor: {
@@ -22353,6 +22473,24 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
22353
22473
  };
22354
22474
  Relationships: [];
22355
22475
  };
22476
+ floriday_order_number_map: {
22477
+ Row: {
22478
+ created_at: string;
22479
+ floriday_id: string;
22480
+ order_number: string;
22481
+ };
22482
+ Insert: {
22483
+ created_at?: string;
22484
+ floriday_id: string;
22485
+ order_number: string;
22486
+ };
22487
+ Update: {
22488
+ created_at?: string;
22489
+ floriday_id?: string;
22490
+ order_number?: string;
22491
+ };
22492
+ Relationships: [];
22493
+ };
22356
22494
  floriday_packings_cache: {
22357
22495
  Row: {
22358
22496
  connection_id: string;
@@ -24198,6 +24336,24 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
24198
24336
  referencedColumns: ["id"];
24199
24337
  }];
24200
24338
  };
24339
+ order_number_counters: {
24340
+ Row: {
24341
+ last_value: number;
24342
+ updated_at: string;
24343
+ year: number;
24344
+ };
24345
+ Insert: {
24346
+ last_value?: number;
24347
+ updated_at?: string;
24348
+ year: number;
24349
+ };
24350
+ Update: {
24351
+ last_value?: number;
24352
+ updated_at?: string;
24353
+ year?: number;
24354
+ };
24355
+ Relationships: [];
24356
+ };
24201
24357
  orders: {
24202
24358
  Row: {
24203
24359
  created_at: string;
@@ -24210,6 +24366,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
24210
24366
  notes: string | null;
24211
24367
  order_date: string;
24212
24368
  order_number: string;
24369
+ order_source: string;
24213
24370
  status: string;
24214
24371
  total: string;
24215
24372
  updated_at: string;
@@ -24225,6 +24382,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
24225
24382
  notes?: string | null;
24226
24383
  order_date?: string;
24227
24384
  order_number: string;
24385
+ order_source?: string;
24228
24386
  status?: string;
24229
24387
  total?: string;
24230
24388
  updated_at?: string;
@@ -24240,6 +24398,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
24240
24398
  notes?: string | null;
24241
24399
  order_date?: string;
24242
24400
  order_number?: string;
24401
+ order_source?: string;
24243
24402
  status?: string;
24244
24403
  total?: string;
24245
24404
  updated_at?: string;
@@ -27074,6 +27233,15 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
27074
27233
  };
27075
27234
  Returns: number;
27076
27235
  };
27236
+ assign_floriday_order_numbers: {
27237
+ Args: {
27238
+ p_ids: string[];
27239
+ };
27240
+ Returns: {
27241
+ floriday_id: string;
27242
+ order_number: string;
27243
+ }[];
27244
+ };
27077
27245
  call_exact_route: {
27078
27246
  Args: {
27079
27247
  path: string;
@@ -27283,6 +27451,12 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
27283
27451
  };
27284
27452
  Returns: import("../integrations/supabase/types").Json;
27285
27453
  };
27454
+ get_or_assign_floriday_order_number: {
27455
+ Args: {
27456
+ p_floriday_id: string;
27457
+ };
27458
+ Returns: string;
27459
+ };
27286
27460
  get_room_busy_windows: {
27287
27461
  Args: {
27288
27462
  p_from: string;
@@ -27329,6 +27503,12 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
27329
27503
  Args: never;
27330
27504
  Returns: boolean;
27331
27505
  };
27506
+ next_order_number: {
27507
+ Args: {
27508
+ p_prefix: string;
27509
+ };
27510
+ Returns: string;
27511
+ };
27332
27512
  next_work_order_number: {
27333
27513
  Args: {
27334
27514
  p_parent_work_order_id?: string;
@@ -27363,9 +27543,9 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
27363
27543
  refresh_floricode_derived_code_lists: {
27364
27544
  Args: never;
27365
27545
  Returns: {
27366
- out_environment: string;
27367
- out_list_name: string;
27368
- out_row_count: number;
27546
+ environment: string;
27547
+ list_name: string;
27548
+ row_count: number;
27369
27549
  }[];
27370
27550
  };
27371
27551
  reset_floriday_sync_cursor: {