@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
@@ -3937,6 +3937,24 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
3937
3937
  };
3938
3938
  Relationships: [];
3939
3939
  };
3940
+ floriday_order_number_map: {
3941
+ Row: {
3942
+ created_at: string;
3943
+ floriday_id: string;
3944
+ order_number: string;
3945
+ };
3946
+ Insert: {
3947
+ created_at?: string;
3948
+ floriday_id: string;
3949
+ order_number: string;
3950
+ };
3951
+ Update: {
3952
+ created_at?: string;
3953
+ floriday_id?: string;
3954
+ order_number?: string;
3955
+ };
3956
+ Relationships: [];
3957
+ };
3940
3958
  floriday_packings_cache: {
3941
3959
  Row: {
3942
3960
  connection_id: string;
@@ -5782,6 +5800,24 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
5782
5800
  referencedColumns: ["id"];
5783
5801
  }];
5784
5802
  };
5803
+ order_number_counters: {
5804
+ Row: {
5805
+ last_value: number;
5806
+ updated_at: string;
5807
+ year: number;
5808
+ };
5809
+ Insert: {
5810
+ last_value?: number;
5811
+ updated_at?: string;
5812
+ year: number;
5813
+ };
5814
+ Update: {
5815
+ last_value?: number;
5816
+ updated_at?: string;
5817
+ year?: number;
5818
+ };
5819
+ Relationships: [];
5820
+ };
5785
5821
  orders: {
5786
5822
  Row: {
5787
5823
  created_at: string;
@@ -5794,6 +5830,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
5794
5830
  notes: string | null;
5795
5831
  order_date: string;
5796
5832
  order_number: string;
5833
+ order_source: string;
5797
5834
  status: string;
5798
5835
  total: string;
5799
5836
  updated_at: string;
@@ -5809,6 +5846,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
5809
5846
  notes?: string | null;
5810
5847
  order_date?: string;
5811
5848
  order_number: string;
5849
+ order_source?: string;
5812
5850
  status?: string;
5813
5851
  total?: string;
5814
5852
  updated_at?: string;
@@ -5824,6 +5862,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
5824
5862
  notes?: string | null;
5825
5863
  order_date?: string;
5826
5864
  order_number?: string;
5865
+ order_source?: string;
5827
5866
  status?: string;
5828
5867
  total?: string;
5829
5868
  updated_at?: string;
@@ -8658,6 +8697,15 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
8658
8697
  };
8659
8698
  Returns: number;
8660
8699
  };
8700
+ assign_floriday_order_numbers: {
8701
+ Args: {
8702
+ p_ids: string[];
8703
+ };
8704
+ Returns: {
8705
+ floriday_id: string;
8706
+ order_number: string;
8707
+ }[];
8708
+ };
8661
8709
  call_exact_route: {
8662
8710
  Args: {
8663
8711
  path: string;
@@ -8867,6 +8915,12 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
8867
8915
  };
8868
8916
  Returns: import("../integrations/supabase/types").Json;
8869
8917
  };
8918
+ get_or_assign_floriday_order_number: {
8919
+ Args: {
8920
+ p_floriday_id: string;
8921
+ };
8922
+ Returns: string;
8923
+ };
8870
8924
  get_room_busy_windows: {
8871
8925
  Args: {
8872
8926
  p_from: string;
@@ -8913,6 +8967,12 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
8913
8967
  Args: never;
8914
8968
  Returns: boolean;
8915
8969
  };
8970
+ next_order_number: {
8971
+ Args: {
8972
+ p_prefix: string;
8973
+ };
8974
+ Returns: string;
8975
+ };
8916
8976
  next_work_order_number: {
8917
8977
  Args: {
8918
8978
  p_parent_work_order_id?: string;
@@ -8947,9 +9007,9 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
8947
9007
  refresh_floricode_derived_code_lists: {
8948
9008
  Args: never;
8949
9009
  Returns: {
8950
- out_environment: string;
8951
- out_list_name: string;
8952
- out_row_count: number;
9010
+ environment: string;
9011
+ list_name: string;
9012
+ row_count: number;
8953
9013
  }[];
8954
9014
  };
8955
9015
  reset_floriday_sync_cursor: {
@@ -13171,6 +13231,24 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
13171
13231
  };
13172
13232
  Relationships: [];
13173
13233
  };
13234
+ floriday_order_number_map: {
13235
+ Row: {
13236
+ created_at: string;
13237
+ floriday_id: string;
13238
+ order_number: string;
13239
+ };
13240
+ Insert: {
13241
+ created_at?: string;
13242
+ floriday_id: string;
13243
+ order_number: string;
13244
+ };
13245
+ Update: {
13246
+ created_at?: string;
13247
+ floriday_id?: string;
13248
+ order_number?: string;
13249
+ };
13250
+ Relationships: [];
13251
+ };
13174
13252
  floriday_packings_cache: {
13175
13253
  Row: {
13176
13254
  connection_id: string;
@@ -15016,6 +15094,24 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
15016
15094
  referencedColumns: ["id"];
15017
15095
  }];
15018
15096
  };
15097
+ order_number_counters: {
15098
+ Row: {
15099
+ last_value: number;
15100
+ updated_at: string;
15101
+ year: number;
15102
+ };
15103
+ Insert: {
15104
+ last_value?: number;
15105
+ updated_at?: string;
15106
+ year: number;
15107
+ };
15108
+ Update: {
15109
+ last_value?: number;
15110
+ updated_at?: string;
15111
+ year?: number;
15112
+ };
15113
+ Relationships: [];
15114
+ };
15019
15115
  orders: {
15020
15116
  Row: {
15021
15117
  created_at: string;
@@ -15028,6 +15124,7 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
15028
15124
  notes: string | null;
15029
15125
  order_date: string;
15030
15126
  order_number: string;
15127
+ order_source: string;
15031
15128
  status: string;
15032
15129
  total: string;
15033
15130
  updated_at: string;
@@ -15043,6 +15140,7 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
15043
15140
  notes?: string | null;
15044
15141
  order_date?: string;
15045
15142
  order_number: string;
15143
+ order_source?: string;
15046
15144
  status?: string;
15047
15145
  total?: string;
15048
15146
  updated_at?: string;
@@ -15058,6 +15156,7 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
15058
15156
  notes?: string | null;
15059
15157
  order_date?: string;
15060
15158
  order_number?: string;
15159
+ order_source?: string;
15061
15160
  status?: string;
15062
15161
  total?: string;
15063
15162
  updated_at?: string;
@@ -17892,6 +17991,15 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
17892
17991
  };
17893
17992
  Returns: number;
17894
17993
  };
17994
+ assign_floriday_order_numbers: {
17995
+ Args: {
17996
+ p_ids: string[];
17997
+ };
17998
+ Returns: {
17999
+ floriday_id: string;
18000
+ order_number: string;
18001
+ }[];
18002
+ };
17895
18003
  call_exact_route: {
17896
18004
  Args: {
17897
18005
  path: string;
@@ -18101,6 +18209,12 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
18101
18209
  };
18102
18210
  Returns: import("../integrations/supabase/types").Json;
18103
18211
  };
18212
+ get_or_assign_floriday_order_number: {
18213
+ Args: {
18214
+ p_floriday_id: string;
18215
+ };
18216
+ Returns: string;
18217
+ };
18104
18218
  get_room_busy_windows: {
18105
18219
  Args: {
18106
18220
  p_from: string;
@@ -18147,6 +18261,12 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
18147
18261
  Args: never;
18148
18262
  Returns: boolean;
18149
18263
  };
18264
+ next_order_number: {
18265
+ Args: {
18266
+ p_prefix: string;
18267
+ };
18268
+ Returns: string;
18269
+ };
18150
18270
  next_work_order_number: {
18151
18271
  Args: {
18152
18272
  p_parent_work_order_id?: string;
@@ -18181,9 +18301,9 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
18181
18301
  refresh_floricode_derived_code_lists: {
18182
18302
  Args: never;
18183
18303
  Returns: {
18184
- out_environment: string;
18185
- out_list_name: string;
18186
- out_row_count: number;
18304
+ environment: string;
18305
+ list_name: string;
18306
+ row_count: number;
18187
18307
  }[];
18188
18308
  };
18189
18309
  reset_floriday_sync_cursor: {
@@ -22422,6 +22542,24 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
22422
22542
  };
22423
22543
  Relationships: [];
22424
22544
  };
22545
+ floriday_order_number_map: {
22546
+ Row: {
22547
+ created_at: string;
22548
+ floriday_id: string;
22549
+ order_number: string;
22550
+ };
22551
+ Insert: {
22552
+ created_at?: string;
22553
+ floriday_id: string;
22554
+ order_number: string;
22555
+ };
22556
+ Update: {
22557
+ created_at?: string;
22558
+ floriday_id?: string;
22559
+ order_number?: string;
22560
+ };
22561
+ Relationships: [];
22562
+ };
22425
22563
  floriday_packings_cache: {
22426
22564
  Row: {
22427
22565
  connection_id: string;
@@ -24267,6 +24405,24 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
24267
24405
  referencedColumns: ["id"];
24268
24406
  }];
24269
24407
  };
24408
+ order_number_counters: {
24409
+ Row: {
24410
+ last_value: number;
24411
+ updated_at: string;
24412
+ year: number;
24413
+ };
24414
+ Insert: {
24415
+ last_value?: number;
24416
+ updated_at?: string;
24417
+ year: number;
24418
+ };
24419
+ Update: {
24420
+ last_value?: number;
24421
+ updated_at?: string;
24422
+ year?: number;
24423
+ };
24424
+ Relationships: [];
24425
+ };
24270
24426
  orders: {
24271
24427
  Row: {
24272
24428
  created_at: string;
@@ -24279,6 +24435,7 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
24279
24435
  notes: string | null;
24280
24436
  order_date: string;
24281
24437
  order_number: string;
24438
+ order_source: string;
24282
24439
  status: string;
24283
24440
  total: string;
24284
24441
  updated_at: string;
@@ -24294,6 +24451,7 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
24294
24451
  notes?: string | null;
24295
24452
  order_date?: string;
24296
24453
  order_number: string;
24454
+ order_source?: string;
24297
24455
  status?: string;
24298
24456
  total?: string;
24299
24457
  updated_at?: string;
@@ -24309,6 +24467,7 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
24309
24467
  notes?: string | null;
24310
24468
  order_date?: string;
24311
24469
  order_number?: string;
24470
+ order_source?: string;
24312
24471
  status?: string;
24313
24472
  total?: string;
24314
24473
  updated_at?: string;
@@ -27143,6 +27302,15 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
27143
27302
  };
27144
27303
  Returns: number;
27145
27304
  };
27305
+ assign_floriday_order_numbers: {
27306
+ Args: {
27307
+ p_ids: string[];
27308
+ };
27309
+ Returns: {
27310
+ floriday_id: string;
27311
+ order_number: string;
27312
+ }[];
27313
+ };
27146
27314
  call_exact_route: {
27147
27315
  Args: {
27148
27316
  path: string;
@@ -27352,6 +27520,12 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
27352
27520
  };
27353
27521
  Returns: import("../integrations/supabase/types").Json;
27354
27522
  };
27523
+ get_or_assign_floriday_order_number: {
27524
+ Args: {
27525
+ p_floriday_id: string;
27526
+ };
27527
+ Returns: string;
27528
+ };
27355
27529
  get_room_busy_windows: {
27356
27530
  Args: {
27357
27531
  p_from: string;
@@ -27398,6 +27572,12 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
27398
27572
  Args: never;
27399
27573
  Returns: boolean;
27400
27574
  };
27575
+ next_order_number: {
27576
+ Args: {
27577
+ p_prefix: string;
27578
+ };
27579
+ Returns: string;
27580
+ };
27401
27581
  next_work_order_number: {
27402
27582
  Args: {
27403
27583
  p_parent_work_order_id?: string;
@@ -27432,9 +27612,9 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
27432
27612
  refresh_floricode_derived_code_lists: {
27433
27613
  Args: never;
27434
27614
  Returns: {
27435
- out_environment: string;
27436
- out_list_name: string;
27437
- out_row_count: number;
27615
+ environment: string;
27616
+ list_name: string;
27617
+ row_count: number;
27438
27618
  }[];
27439
27619
  };
27440
27620
  reset_floriday_sync_cursor: {
@@ -31683,6 +31863,24 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
31683
31863
  };
31684
31864
  Relationships: [];
31685
31865
  };
31866
+ floriday_order_number_map: {
31867
+ Row: {
31868
+ created_at: string;
31869
+ floriday_id: string;
31870
+ order_number: string;
31871
+ };
31872
+ Insert: {
31873
+ created_at?: string;
31874
+ floriday_id: string;
31875
+ order_number: string;
31876
+ };
31877
+ Update: {
31878
+ created_at?: string;
31879
+ floriday_id?: string;
31880
+ order_number?: string;
31881
+ };
31882
+ Relationships: [];
31883
+ };
31686
31884
  floriday_packings_cache: {
31687
31885
  Row: {
31688
31886
  connection_id: string;
@@ -33528,6 +33726,24 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
33528
33726
  referencedColumns: ["id"];
33529
33727
  }];
33530
33728
  };
33729
+ order_number_counters: {
33730
+ Row: {
33731
+ last_value: number;
33732
+ updated_at: string;
33733
+ year: number;
33734
+ };
33735
+ Insert: {
33736
+ last_value?: number;
33737
+ updated_at?: string;
33738
+ year: number;
33739
+ };
33740
+ Update: {
33741
+ last_value?: number;
33742
+ updated_at?: string;
33743
+ year?: number;
33744
+ };
33745
+ Relationships: [];
33746
+ };
33531
33747
  orders: {
33532
33748
  Row: {
33533
33749
  created_at: string;
@@ -33540,6 +33756,7 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
33540
33756
  notes: string | null;
33541
33757
  order_date: string;
33542
33758
  order_number: string;
33759
+ order_source: string;
33543
33760
  status: string;
33544
33761
  total: string;
33545
33762
  updated_at: string;
@@ -33555,6 +33772,7 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
33555
33772
  notes?: string | null;
33556
33773
  order_date?: string;
33557
33774
  order_number: string;
33775
+ order_source?: string;
33558
33776
  status?: string;
33559
33777
  total?: string;
33560
33778
  updated_at?: string;
@@ -33570,6 +33788,7 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
33570
33788
  notes?: string | null;
33571
33789
  order_date?: string;
33572
33790
  order_number?: string;
33791
+ order_source?: string;
33573
33792
  status?: string;
33574
33793
  total?: string;
33575
33794
  updated_at?: string;
@@ -36404,6 +36623,15 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
36404
36623
  };
36405
36624
  Returns: number;
36406
36625
  };
36626
+ assign_floriday_order_numbers: {
36627
+ Args: {
36628
+ p_ids: string[];
36629
+ };
36630
+ Returns: {
36631
+ floriday_id: string;
36632
+ order_number: string;
36633
+ }[];
36634
+ };
36407
36635
  call_exact_route: {
36408
36636
  Args: {
36409
36637
  path: string;
@@ -36613,6 +36841,12 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
36613
36841
  };
36614
36842
  Returns: import("../integrations/supabase/types").Json;
36615
36843
  };
36844
+ get_or_assign_floriday_order_number: {
36845
+ Args: {
36846
+ p_floriday_id: string;
36847
+ };
36848
+ Returns: string;
36849
+ };
36616
36850
  get_room_busy_windows: {
36617
36851
  Args: {
36618
36852
  p_from: string;
@@ -36659,6 +36893,12 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
36659
36893
  Args: never;
36660
36894
  Returns: boolean;
36661
36895
  };
36896
+ next_order_number: {
36897
+ Args: {
36898
+ p_prefix: string;
36899
+ };
36900
+ Returns: string;
36901
+ };
36662
36902
  next_work_order_number: {
36663
36903
  Args: {
36664
36904
  p_parent_work_order_id?: string;
@@ -36693,9 +36933,9 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
36693
36933
  refresh_floricode_derived_code_lists: {
36694
36934
  Args: never;
36695
36935
  Returns: {
36696
- out_environment: string;
36697
- out_list_name: string;
36698
- out_row_count: number;
36936
+ environment: string;
36937
+ list_name: string;
36938
+ row_count: number;
36699
36939
  }[];
36700
36940
  };
36701
36941
  reset_floriday_sync_cursor: {