@flowselections/floriday-klanten-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.
Files changed (34) 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/KlantDetail.d.ts +4 -0
  5. package/dist-lib/components/klanten/KlantDetail.d.ts.map +1 -0
  6. package/dist-lib/components/klanten/KlantDetail.js +43 -0
  7. package/dist-lib/components/klanten/NetwerkPagina.d.ts +2 -0
  8. package/dist-lib/components/klanten/NetwerkPagina.d.ts.map +1 -0
  9. package/dist-lib/components/klanten/NetwerkPagina.js +23 -0
  10. package/dist-lib/components/klanten/NieuweKlant.d.ts +2 -0
  11. package/dist-lib/components/klanten/NieuweKlant.d.ts.map +1 -0
  12. package/dist-lib/components/klanten/NieuweKlant.js +57 -0
  13. package/dist-lib/index.d.ts +4 -0
  14. package/dist-lib/index.d.ts.map +1 -1
  15. package/dist-lib/index.js +4 -0
  16. package/dist-lib/integrations/supabase/auth-middleware.d.ts +63 -3
  17. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  18. package/dist-lib/integrations/supabase/client.d.ts +63 -3
  19. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  20. package/dist-lib/integrations/supabase/client.server.d.ts +63 -3
  21. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  22. package/dist-lib/integrations/supabase/types.d.ts +63 -3
  23. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  24. package/dist-lib/lib/accounting.functions.d.ts +189 -9
  25. package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/customer-analytics.functions.d.ts +63 -3
  27. package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/customers.functions.d.ts +441 -21
  29. package/dist-lib/lib/customers.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/delivery-locations.functions.d.ts +252 -12
  31. package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
  32. package/dist-lib/lib/external-customers.functions.d.ts +252 -12
  33. package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
  34. package/package.json +1 -1
@@ -3952,6 +3952,24 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
3952
3952
  };
3953
3953
  Relationships: [];
3954
3954
  };
3955
+ floriday_order_number_map: {
3956
+ Row: {
3957
+ created_at: string;
3958
+ floriday_id: string;
3959
+ order_number: string;
3960
+ };
3961
+ Insert: {
3962
+ created_at?: string;
3963
+ floriday_id: string;
3964
+ order_number: string;
3965
+ };
3966
+ Update: {
3967
+ created_at?: string;
3968
+ floriday_id?: string;
3969
+ order_number?: string;
3970
+ };
3971
+ Relationships: [];
3972
+ };
3955
3973
  floriday_packings_cache: {
3956
3974
  Row: {
3957
3975
  connection_id: string;
@@ -5797,6 +5815,24 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
5797
5815
  referencedColumns: ["id"];
5798
5816
  }];
5799
5817
  };
5818
+ order_number_counters: {
5819
+ Row: {
5820
+ last_value: number;
5821
+ updated_at: string;
5822
+ year: number;
5823
+ };
5824
+ Insert: {
5825
+ last_value?: number;
5826
+ updated_at?: string;
5827
+ year: number;
5828
+ };
5829
+ Update: {
5830
+ last_value?: number;
5831
+ updated_at?: string;
5832
+ year?: number;
5833
+ };
5834
+ Relationships: [];
5835
+ };
5800
5836
  orders: {
5801
5837
  Row: {
5802
5838
  created_at: string;
@@ -5809,6 +5845,7 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
5809
5845
  notes: string | null;
5810
5846
  order_date: string;
5811
5847
  order_number: string;
5848
+ order_source: string;
5812
5849
  status: string;
5813
5850
  total: string;
5814
5851
  updated_at: string;
@@ -5824,6 +5861,7 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
5824
5861
  notes?: string | null;
5825
5862
  order_date?: string;
5826
5863
  order_number: string;
5864
+ order_source?: string;
5827
5865
  status?: string;
5828
5866
  total?: string;
5829
5867
  updated_at?: string;
@@ -5839,6 +5877,7 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
5839
5877
  notes?: string | null;
5840
5878
  order_date?: string;
5841
5879
  order_number?: string;
5880
+ order_source?: string;
5842
5881
  status?: string;
5843
5882
  total?: string;
5844
5883
  updated_at?: string;
@@ -8673,6 +8712,15 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
8673
8712
  };
8674
8713
  Returns: number;
8675
8714
  };
8715
+ assign_floriday_order_numbers: {
8716
+ Args: {
8717
+ p_ids: string[];
8718
+ };
8719
+ Returns: {
8720
+ floriday_id: string;
8721
+ order_number: string;
8722
+ }[];
8723
+ };
8676
8724
  call_exact_route: {
8677
8725
  Args: {
8678
8726
  path: string;
@@ -8882,6 +8930,12 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
8882
8930
  };
8883
8931
  Returns: import("../integrations/supabase/types").Json;
8884
8932
  };
8933
+ get_or_assign_floriday_order_number: {
8934
+ Args: {
8935
+ p_floriday_id: string;
8936
+ };
8937
+ Returns: string;
8938
+ };
8885
8939
  get_room_busy_windows: {
8886
8940
  Args: {
8887
8941
  p_from: string;
@@ -8928,6 +8982,12 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
8928
8982
  Args: never;
8929
8983
  Returns: boolean;
8930
8984
  };
8985
+ next_order_number: {
8986
+ Args: {
8987
+ p_prefix: string;
8988
+ };
8989
+ Returns: string;
8990
+ };
8931
8991
  next_work_order_number: {
8932
8992
  Args: {
8933
8993
  p_parent_work_order_id?: string;
@@ -8962,9 +9022,9 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
8962
9022
  refresh_floricode_derived_code_lists: {
8963
9023
  Args: never;
8964
9024
  Returns: {
8965
- out_environment: string;
8966
- out_list_name: string;
8967
- out_row_count: number;
9025
+ environment: string;
9026
+ list_name: string;
9027
+ row_count: number;
8968
9028
  }[];
8969
9029
  };
8970
9030
  reset_floriday_sync_cursor: {
@@ -13179,6 +13239,24 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
13179
13239
  };
13180
13240
  Relationships: [];
13181
13241
  };
13242
+ floriday_order_number_map: {
13243
+ Row: {
13244
+ created_at: string;
13245
+ floriday_id: string;
13246
+ order_number: string;
13247
+ };
13248
+ Insert: {
13249
+ created_at?: string;
13250
+ floriday_id: string;
13251
+ order_number: string;
13252
+ };
13253
+ Update: {
13254
+ created_at?: string;
13255
+ floriday_id?: string;
13256
+ order_number?: string;
13257
+ };
13258
+ Relationships: [];
13259
+ };
13182
13260
  floriday_packings_cache: {
13183
13261
  Row: {
13184
13262
  connection_id: string;
@@ -15024,6 +15102,24 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
15024
15102
  referencedColumns: ["id"];
15025
15103
  }];
15026
15104
  };
15105
+ order_number_counters: {
15106
+ Row: {
15107
+ last_value: number;
15108
+ updated_at: string;
15109
+ year: number;
15110
+ };
15111
+ Insert: {
15112
+ last_value?: number;
15113
+ updated_at?: string;
15114
+ year: number;
15115
+ };
15116
+ Update: {
15117
+ last_value?: number;
15118
+ updated_at?: string;
15119
+ year?: number;
15120
+ };
15121
+ Relationships: [];
15122
+ };
15027
15123
  orders: {
15028
15124
  Row: {
15029
15125
  created_at: string;
@@ -15036,6 +15132,7 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
15036
15132
  notes: string | null;
15037
15133
  order_date: string;
15038
15134
  order_number: string;
15135
+ order_source: string;
15039
15136
  status: string;
15040
15137
  total: string;
15041
15138
  updated_at: string;
@@ -15051,6 +15148,7 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
15051
15148
  notes?: string | null;
15052
15149
  order_date?: string;
15053
15150
  order_number: string;
15151
+ order_source?: string;
15054
15152
  status?: string;
15055
15153
  total?: string;
15056
15154
  updated_at?: string;
@@ -15066,6 +15164,7 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
15066
15164
  notes?: string | null;
15067
15165
  order_date?: string;
15068
15166
  order_number?: string;
15167
+ order_source?: string;
15069
15168
  status?: string;
15070
15169
  total?: string;
15071
15170
  updated_at?: string;
@@ -17900,6 +17999,15 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
17900
17999
  };
17901
18000
  Returns: number;
17902
18001
  };
18002
+ assign_floriday_order_numbers: {
18003
+ Args: {
18004
+ p_ids: string[];
18005
+ };
18006
+ Returns: {
18007
+ floriday_id: string;
18008
+ order_number: string;
18009
+ }[];
18010
+ };
17903
18011
  call_exact_route: {
17904
18012
  Args: {
17905
18013
  path: string;
@@ -18109,6 +18217,12 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
18109
18217
  };
18110
18218
  Returns: import("../integrations/supabase/types").Json;
18111
18219
  };
18220
+ get_or_assign_floriday_order_number: {
18221
+ Args: {
18222
+ p_floriday_id: string;
18223
+ };
18224
+ Returns: string;
18225
+ };
18112
18226
  get_room_busy_windows: {
18113
18227
  Args: {
18114
18228
  p_from: string;
@@ -18155,6 +18269,12 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
18155
18269
  Args: never;
18156
18270
  Returns: boolean;
18157
18271
  };
18272
+ next_order_number: {
18273
+ Args: {
18274
+ p_prefix: string;
18275
+ };
18276
+ Returns: string;
18277
+ };
18158
18278
  next_work_order_number: {
18159
18279
  Args: {
18160
18280
  p_parent_work_order_id?: string;
@@ -18189,9 +18309,9 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
18189
18309
  refresh_floricode_derived_code_lists: {
18190
18310
  Args: never;
18191
18311
  Returns: {
18192
- out_environment: string;
18193
- out_list_name: string;
18194
- out_row_count: number;
18312
+ environment: string;
18313
+ list_name: string;
18314
+ row_count: number;
18195
18315
  }[];
18196
18316
  };
18197
18317
  reset_floriday_sync_cursor: {
@@ -22413,6 +22533,24 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
22413
22533
  };
22414
22534
  Relationships: [];
22415
22535
  };
22536
+ floriday_order_number_map: {
22537
+ Row: {
22538
+ created_at: string;
22539
+ floriday_id: string;
22540
+ order_number: string;
22541
+ };
22542
+ Insert: {
22543
+ created_at?: string;
22544
+ floriday_id: string;
22545
+ order_number: string;
22546
+ };
22547
+ Update: {
22548
+ created_at?: string;
22549
+ floriday_id?: string;
22550
+ order_number?: string;
22551
+ };
22552
+ Relationships: [];
22553
+ };
22416
22554
  floriday_packings_cache: {
22417
22555
  Row: {
22418
22556
  connection_id: string;
@@ -24258,6 +24396,24 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
24258
24396
  referencedColumns: ["id"];
24259
24397
  }];
24260
24398
  };
24399
+ order_number_counters: {
24400
+ Row: {
24401
+ last_value: number;
24402
+ updated_at: string;
24403
+ year: number;
24404
+ };
24405
+ Insert: {
24406
+ last_value?: number;
24407
+ updated_at?: string;
24408
+ year: number;
24409
+ };
24410
+ Update: {
24411
+ last_value?: number;
24412
+ updated_at?: string;
24413
+ year?: number;
24414
+ };
24415
+ Relationships: [];
24416
+ };
24261
24417
  orders: {
24262
24418
  Row: {
24263
24419
  created_at: string;
@@ -24270,6 +24426,7 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
24270
24426
  notes: string | null;
24271
24427
  order_date: string;
24272
24428
  order_number: string;
24429
+ order_source: string;
24273
24430
  status: string;
24274
24431
  total: string;
24275
24432
  updated_at: string;
@@ -24285,6 +24442,7 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
24285
24442
  notes?: string | null;
24286
24443
  order_date?: string;
24287
24444
  order_number: string;
24445
+ order_source?: string;
24288
24446
  status?: string;
24289
24447
  total?: string;
24290
24448
  updated_at?: string;
@@ -24300,6 +24458,7 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
24300
24458
  notes?: string | null;
24301
24459
  order_date?: string;
24302
24460
  order_number?: string;
24461
+ order_source?: string;
24303
24462
  status?: string;
24304
24463
  total?: string;
24305
24464
  updated_at?: string;
@@ -27134,6 +27293,15 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
27134
27293
  };
27135
27294
  Returns: number;
27136
27295
  };
27296
+ assign_floriday_order_numbers: {
27297
+ Args: {
27298
+ p_ids: string[];
27299
+ };
27300
+ Returns: {
27301
+ floriday_id: string;
27302
+ order_number: string;
27303
+ }[];
27304
+ };
27137
27305
  call_exact_route: {
27138
27306
  Args: {
27139
27307
  path: string;
@@ -27343,6 +27511,12 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
27343
27511
  };
27344
27512
  Returns: import("../integrations/supabase/types").Json;
27345
27513
  };
27514
+ get_or_assign_floriday_order_number: {
27515
+ Args: {
27516
+ p_floriday_id: string;
27517
+ };
27518
+ Returns: string;
27519
+ };
27346
27520
  get_room_busy_windows: {
27347
27521
  Args: {
27348
27522
  p_from: string;
@@ -27389,6 +27563,12 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
27389
27563
  Args: never;
27390
27564
  Returns: boolean;
27391
27565
  };
27566
+ next_order_number: {
27567
+ Args: {
27568
+ p_prefix: string;
27569
+ };
27570
+ Returns: string;
27571
+ };
27392
27572
  next_work_order_number: {
27393
27573
  Args: {
27394
27574
  p_parent_work_order_id?: string;
@@ -27423,9 +27603,9 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
27423
27603
  refresh_floricode_derived_code_lists: {
27424
27604
  Args: never;
27425
27605
  Returns: {
27426
- out_environment: string;
27427
- out_list_name: string;
27428
- out_row_count: number;
27606
+ environment: string;
27607
+ list_name: string;
27608
+ row_count: number;
27429
27609
  }[];
27430
27610
  };
27431
27611
  reset_floriday_sync_cursor: {
@@ -31645,6 +31825,24 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
31645
31825
  };
31646
31826
  Relationships: [];
31647
31827
  };
31828
+ floriday_order_number_map: {
31829
+ Row: {
31830
+ created_at: string;
31831
+ floriday_id: string;
31832
+ order_number: string;
31833
+ };
31834
+ Insert: {
31835
+ created_at?: string;
31836
+ floriday_id: string;
31837
+ order_number: string;
31838
+ };
31839
+ Update: {
31840
+ created_at?: string;
31841
+ floriday_id?: string;
31842
+ order_number?: string;
31843
+ };
31844
+ Relationships: [];
31845
+ };
31648
31846
  floriday_packings_cache: {
31649
31847
  Row: {
31650
31848
  connection_id: string;
@@ -33490,6 +33688,24 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
33490
33688
  referencedColumns: ["id"];
33491
33689
  }];
33492
33690
  };
33691
+ order_number_counters: {
33692
+ Row: {
33693
+ last_value: number;
33694
+ updated_at: string;
33695
+ year: number;
33696
+ };
33697
+ Insert: {
33698
+ last_value?: number;
33699
+ updated_at?: string;
33700
+ year: number;
33701
+ };
33702
+ Update: {
33703
+ last_value?: number;
33704
+ updated_at?: string;
33705
+ year?: number;
33706
+ };
33707
+ Relationships: [];
33708
+ };
33493
33709
  orders: {
33494
33710
  Row: {
33495
33711
  created_at: string;
@@ -33502,6 +33718,7 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
33502
33718
  notes: string | null;
33503
33719
  order_date: string;
33504
33720
  order_number: string;
33721
+ order_source: string;
33505
33722
  status: string;
33506
33723
  total: string;
33507
33724
  updated_at: string;
@@ -33517,6 +33734,7 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
33517
33734
  notes?: string | null;
33518
33735
  order_date?: string;
33519
33736
  order_number: string;
33737
+ order_source?: string;
33520
33738
  status?: string;
33521
33739
  total?: string;
33522
33740
  updated_at?: string;
@@ -33532,6 +33750,7 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
33532
33750
  notes?: string | null;
33533
33751
  order_date?: string;
33534
33752
  order_number?: string;
33753
+ order_source?: string;
33535
33754
  status?: string;
33536
33755
  total?: string;
33537
33756
  updated_at?: string;
@@ -36366,6 +36585,15 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
36366
36585
  };
36367
36586
  Returns: number;
36368
36587
  };
36588
+ assign_floriday_order_numbers: {
36589
+ Args: {
36590
+ p_ids: string[];
36591
+ };
36592
+ Returns: {
36593
+ floriday_id: string;
36594
+ order_number: string;
36595
+ }[];
36596
+ };
36369
36597
  call_exact_route: {
36370
36598
  Args: {
36371
36599
  path: string;
@@ -36575,6 +36803,12 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
36575
36803
  };
36576
36804
  Returns: import("../integrations/supabase/types").Json;
36577
36805
  };
36806
+ get_or_assign_floriday_order_number: {
36807
+ Args: {
36808
+ p_floriday_id: string;
36809
+ };
36810
+ Returns: string;
36811
+ };
36578
36812
  get_room_busy_windows: {
36579
36813
  Args: {
36580
36814
  p_from: string;
@@ -36621,6 +36855,12 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
36621
36855
  Args: never;
36622
36856
  Returns: boolean;
36623
36857
  };
36858
+ next_order_number: {
36859
+ Args: {
36860
+ p_prefix: string;
36861
+ };
36862
+ Returns: string;
36863
+ };
36624
36864
  next_work_order_number: {
36625
36865
  Args: {
36626
36866
  p_parent_work_order_id?: string;
@@ -36655,9 +36895,9 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
36655
36895
  refresh_floricode_derived_code_lists: {
36656
36896
  Args: never;
36657
36897
  Returns: {
36658
- out_environment: string;
36659
- out_list_name: string;
36660
- out_row_count: number;
36898
+ environment: string;
36899
+ list_name: string;
36900
+ row_count: number;
36661
36901
  }[];
36662
36902
  };
36663
36903
  reset_floriday_sync_cursor: {