@flowselections/floriday-verkoop-module 1.0.45 → 1.0.47

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 (69) hide show
  1. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts +3 -1
  2. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts.map +1 -1
  3. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.js +90 -19
  4. package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts.map +1 -1
  5. package/dist-lib/components/verkoop/SalesOrderDetailView.js +1 -1
  6. package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.d.ts +6 -0
  7. package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.d.ts.map +1 -0
  8. package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.js +26 -0
  9. package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
  10. package/dist-lib/components/verkoop/VerkoopOrdersPage.js +2 -1
  11. package/dist-lib/integrations/supabase/auth-middleware.d.ts +864 -161
  12. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  13. package/dist-lib/integrations/supabase/client.d.ts +864 -161
  14. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  15. package/dist-lib/integrations/supabase/client.js +2 -1
  16. package/dist-lib/integrations/supabase/client.server.d.ts +864 -161
  17. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  18. package/dist-lib/integrations/supabase/previewAuthStorage.d.ts +6 -0
  19. package/dist-lib/integrations/supabase/previewAuthStorage.d.ts.map +1 -0
  20. package/dist-lib/integrations/supabase/previewAuthStorage.js +92 -0
  21. package/dist-lib/integrations/supabase/types.d.ts +904 -185
  22. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  23. package/dist-lib/lib/cart-lock.functions.d.ts +864 -161
  24. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  25. package/dist-lib/lib/cart-planning-settings.functions.d.ts +9577 -1844
  26. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/cart-replan.functions.d.ts +2544 -435
  28. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/create-order.functions.d.ts +14914 -2963
  30. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +2544 -435
  32. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +864 -161
  34. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/floriday-mirror.functions.d.ts +864 -161
  36. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/floriday-mirror.functions.js +39 -10
  38. package/dist-lib/lib/floriday-public.functions.d.ts +6019 -1098
  39. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/floriday-writes.functions.d.ts +4240 -725
  41. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  42. package/dist-lib/lib/invoice-timing.functions.d.ts +3392 -580
  43. package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
  44. package/dist-lib/lib/load-carriers.functions.d.ts +864 -161
  45. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  46. package/dist-lib/lib/logistics-engine.functions.d.ts +4240 -725
  47. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  48. package/dist-lib/lib/logistics-stock.functions.d.ts +1696 -290
  49. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  50. package/dist-lib/lib/order-addresses.functions.d.ts +864 -161
  51. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  52. package/dist-lib/lib/order-buffers.functions.d.ts +2544 -435
  53. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  54. package/dist-lib/lib/order-carrier.functions.d.ts +1696 -290
  55. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  56. package/dist-lib/lib/order-pickup.functions.d.ts +1696 -290
  57. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  58. package/dist-lib/lib/order-shipments.functions.d.ts +3392 -580
  59. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  60. package/dist-lib/lib/salesorders-list.functions.d.ts +864 -161
  61. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  62. package/dist-lib/lib/salesorders.functions.d.ts +4240 -725
  63. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  64. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +45850 -0
  65. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -0
  66. package/dist-lib/lib/stock-consumption-alerts.functions.js +50 -0
  67. package/dist-lib/lib/tradeitems.functions.d.ts +864 -161
  68. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  69. package/package.json +2 -1
@@ -686,6 +686,99 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
686
686
  };
687
687
  Relationships: [];
688
688
  };
689
+ artikelen_cache: {
690
+ Row: {
691
+ artikelcode: string;
692
+ bron: string;
693
+ bruto_prijs_cent: number | null;
694
+ created_at: string;
695
+ eenheid: string;
696
+ fabrikant: string | null;
697
+ fetched_at: string;
698
+ gtin: string | null;
699
+ id: string;
700
+ naam: string;
701
+ netto_prijs_cent: number | null;
702
+ omschrijving: string | null;
703
+ raw: import("../integrations/supabase/types").Json;
704
+ updated_at: string;
705
+ valuta: string;
706
+ };
707
+ Insert: {
708
+ artikelcode: string;
709
+ bron?: string;
710
+ bruto_prijs_cent?: number | null;
711
+ created_at?: string;
712
+ eenheid?: string;
713
+ fabrikant?: string | null;
714
+ fetched_at?: string;
715
+ gtin?: string | null;
716
+ id?: string;
717
+ naam: string;
718
+ netto_prijs_cent?: number | null;
719
+ omschrijving?: string | null;
720
+ raw?: import("../integrations/supabase/types").Json;
721
+ updated_at?: string;
722
+ valuta?: string;
723
+ };
724
+ Update: {
725
+ artikelcode?: string;
726
+ bron?: string;
727
+ bruto_prijs_cent?: number | null;
728
+ created_at?: string;
729
+ eenheid?: string;
730
+ fabrikant?: string | null;
731
+ fetched_at?: string;
732
+ gtin?: string | null;
733
+ id?: string;
734
+ naam?: string;
735
+ netto_prijs_cent?: number | null;
736
+ omschrijving?: string | null;
737
+ raw?: import("../integrations/supabase/types").Json;
738
+ updated_at?: string;
739
+ valuta?: string;
740
+ };
741
+ Relationships: [];
742
+ };
743
+ artikelen_veldconfig: {
744
+ Row: {
745
+ bron_pad: string;
746
+ created_at: string;
747
+ id: string;
748
+ label: string;
749
+ sort_order: number;
750
+ type: string;
751
+ updated_at: string;
752
+ veld_key: string;
753
+ zichtbaar_in_detail: boolean;
754
+ zichtbaar_in_lijst: boolean;
755
+ };
756
+ Insert: {
757
+ bron_pad: string;
758
+ created_at?: string;
759
+ id?: string;
760
+ label: string;
761
+ sort_order?: number;
762
+ type?: string;
763
+ updated_at?: string;
764
+ veld_key: string;
765
+ zichtbaar_in_detail?: boolean;
766
+ zichtbaar_in_lijst?: boolean;
767
+ };
768
+ Update: {
769
+ bron_pad?: string;
770
+ created_at?: string;
771
+ id?: string;
772
+ label?: string;
773
+ sort_order?: number;
774
+ type?: string;
775
+ updated_at?: string;
776
+ veld_key?: string;
777
+ zichtbaar_in_detail?: boolean;
778
+ zichtbaar_in_lijst?: boolean;
779
+ };
780
+ Relationships: [];
781
+ };
689
782
  booking_items: {
690
783
  Row: {
691
784
  booking_id: string;
@@ -2771,6 +2864,42 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
2771
2864
  };
2772
2865
  Relationships: [];
2773
2866
  };
2867
+ document_bronregels: {
2868
+ Row: {
2869
+ bron: string;
2870
+ created_at: string;
2871
+ documenttype: string;
2872
+ herkomst: string;
2873
+ id: string;
2874
+ layout_id: string | null;
2875
+ updated_at: string;
2876
+ };
2877
+ Insert: {
2878
+ bron?: string;
2879
+ created_at?: string;
2880
+ documenttype: string;
2881
+ herkomst: string;
2882
+ id?: string;
2883
+ layout_id?: string | null;
2884
+ updated_at?: string;
2885
+ };
2886
+ Update: {
2887
+ bron?: string;
2888
+ created_at?: string;
2889
+ documenttype?: string;
2890
+ herkomst?: string;
2891
+ id?: string;
2892
+ layout_id?: string | null;
2893
+ updated_at?: string;
2894
+ };
2895
+ Relationships: [{
2896
+ foreignKeyName: "document_bronregels_layout_id_fkey";
2897
+ columns: ["layout_id"];
2898
+ isOneToOne: false;
2899
+ referencedRelation: "document_layouts";
2900
+ referencedColumns: ["id"];
2901
+ }];
2902
+ };
2774
2903
  document_formaat_printers: {
2775
2904
  Row: {
2776
2905
  created_at: string;
@@ -3048,6 +3177,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
3048
3177
  Row: {
3049
3178
  actief: boolean;
3050
3179
  breedte_mm: number;
3180
+ bron: string;
3051
3181
  config: import("../integrations/supabase/types").Json;
3052
3182
  created_at: string;
3053
3183
  created_by: string | null;
@@ -3065,12 +3195,14 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
3065
3195
  orientatie: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
3066
3196
  page_settings: import("../integrations/supabase/types").Json;
3067
3197
  papierformaat: string;
3198
+ systeem: boolean;
3068
3199
  thumbnail_url: string | null;
3069
3200
  updated_at: string;
3070
3201
  };
3071
3202
  Insert: {
3072
3203
  actief?: boolean;
3073
3204
  breedte_mm?: number;
3205
+ bron?: string;
3074
3206
  config?: import("../integrations/supabase/types").Json;
3075
3207
  created_at?: string;
3076
3208
  created_by?: string | null;
@@ -3088,12 +3220,14 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
3088
3220
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
3089
3221
  page_settings?: import("../integrations/supabase/types").Json;
3090
3222
  papierformaat?: string;
3223
+ systeem?: boolean;
3091
3224
  thumbnail_url?: string | null;
3092
3225
  updated_at?: string;
3093
3226
  };
3094
3227
  Update: {
3095
3228
  actief?: boolean;
3096
3229
  breedte_mm?: number;
3230
+ bron?: string;
3097
3231
  config?: import("../integrations/supabase/types").Json;
3098
3232
  created_at?: string;
3099
3233
  created_by?: string | null;
@@ -3111,11 +3245,90 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
3111
3245
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
3112
3246
  page_settings?: import("../integrations/supabase/types").Json;
3113
3247
  papierformaat?: string;
3248
+ systeem?: boolean;
3114
3249
  thumbnail_url?: string | null;
3115
3250
  updated_at?: string;
3116
3251
  };
3117
3252
  Relationships: [];
3118
3253
  };
3254
+ document_printplek_printers: {
3255
+ Row: {
3256
+ created_at: string;
3257
+ documenttype: string;
3258
+ id: string;
3259
+ papierformaat: string | null;
3260
+ print_plek_id: string;
3261
+ printer_id: string | null;
3262
+ updated_at: string;
3263
+ };
3264
+ Insert: {
3265
+ created_at?: string;
3266
+ documenttype: string;
3267
+ id?: string;
3268
+ papierformaat?: string | null;
3269
+ print_plek_id: string;
3270
+ printer_id?: string | null;
3271
+ updated_at?: string;
3272
+ };
3273
+ Update: {
3274
+ created_at?: string;
3275
+ documenttype?: string;
3276
+ id?: string;
3277
+ papierformaat?: string | null;
3278
+ print_plek_id?: string;
3279
+ printer_id?: string | null;
3280
+ updated_at?: string;
3281
+ };
3282
+ Relationships: [{
3283
+ foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
3284
+ columns: ["print_plek_id"];
3285
+ isOneToOne: false;
3286
+ referencedRelation: "print_plekken";
3287
+ referencedColumns: ["id"];
3288
+ }, {
3289
+ foreignKeyName: "document_printplek_printers_printer_id_fkey";
3290
+ columns: ["printer_id"];
3291
+ isOneToOne: false;
3292
+ referencedRelation: "printers";
3293
+ referencedColumns: ["id"];
3294
+ }];
3295
+ };
3296
+ document_werkplek_printers: {
3297
+ Row: {
3298
+ created_at: string;
3299
+ documenttype: string;
3300
+ id: string;
3301
+ papierformaat: string | null;
3302
+ printer_id: string | null;
3303
+ updated_at: string;
3304
+ werkplek: string;
3305
+ };
3306
+ Insert: {
3307
+ created_at?: string;
3308
+ documenttype: string;
3309
+ id?: string;
3310
+ papierformaat?: string | null;
3311
+ printer_id?: string | null;
3312
+ updated_at?: string;
3313
+ werkplek: string;
3314
+ };
3315
+ Update: {
3316
+ created_at?: string;
3317
+ documenttype?: string;
3318
+ id?: string;
3319
+ papierformaat?: string | null;
3320
+ printer_id?: string | null;
3321
+ updated_at?: string;
3322
+ werkplek?: string;
3323
+ };
3324
+ Relationships: [{
3325
+ foreignKeyName: "document_werkplek_printers_printer_id_fkey";
3326
+ columns: ["printer_id"];
3327
+ isOneToOne: false;
3328
+ referencedRelation: "printers";
3329
+ referencedColumns: ["id"];
3330
+ }];
3331
+ };
3119
3332
  email_auth_connections: {
3120
3333
  Row: {
3121
3334
  access_token_encrypted: string | null;
@@ -5057,42 +5270,6 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
5057
5270
  };
5058
5271
  Relationships: [];
5059
5272
  };
5060
- facturen: {
5061
- Row: {
5062
- bedrag_incl_btw: number;
5063
- created_at: string;
5064
- datum: string;
5065
- factuurnummer: string;
5066
- id: string;
5067
- klantnaam: string;
5068
- status: string;
5069
- updated_at: string;
5070
- user_id: string;
5071
- };
5072
- Insert: {
5073
- bedrag_incl_btw: number;
5074
- created_at?: string;
5075
- datum?: string;
5076
- factuurnummer: string;
5077
- id?: string;
5078
- klantnaam: string;
5079
- status?: string;
5080
- updated_at?: string;
5081
- user_id?: string;
5082
- };
5083
- Update: {
5084
- bedrag_incl_btw?: number;
5085
- created_at?: string;
5086
- datum?: string;
5087
- factuurnummer?: string;
5088
- id?: string;
5089
- klantnaam?: string;
5090
- status?: string;
5091
- updated_at?: string;
5092
- user_id?: string;
5093
- };
5094
- Relationships: [];
5095
- };
5096
5273
  floricode_connection_settings: {
5097
5274
  Row: {
5098
5275
  catalog_key: string | null;
@@ -7397,8 +7574,63 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
7397
7574
  };
7398
7575
  Relationships: [];
7399
7576
  };
7577
+ invoice_items: {
7578
+ Row: {
7579
+ created_at: string;
7580
+ description: string;
7581
+ id: string;
7582
+ invoice_id: string;
7583
+ kind: string;
7584
+ quantity: number;
7585
+ sort_order: number;
7586
+ source_line_ref: string | null;
7587
+ total_cents: number;
7588
+ unit: string;
7589
+ unit_price_cents: number;
7590
+ };
7591
+ Insert: {
7592
+ created_at?: string;
7593
+ description?: string;
7594
+ id?: string;
7595
+ invoice_id: string;
7596
+ kind?: string;
7597
+ quantity?: number;
7598
+ sort_order?: number;
7599
+ source_line_ref?: string | null;
7600
+ total_cents?: number;
7601
+ unit?: string;
7602
+ unit_price_cents?: number;
7603
+ };
7604
+ Update: {
7605
+ created_at?: string;
7606
+ description?: string;
7607
+ id?: string;
7608
+ invoice_id?: string;
7609
+ kind?: string;
7610
+ quantity?: number;
7611
+ sort_order?: number;
7612
+ source_line_ref?: string | null;
7613
+ total_cents?: number;
7614
+ unit?: string;
7615
+ unit_price_cents?: number;
7616
+ };
7617
+ Relationships: [{
7618
+ foreignKeyName: "invoice_items_invoice_id_fkey";
7619
+ columns: ["invoice_id"];
7620
+ isOneToOne: false;
7621
+ referencedRelation: "invoices";
7622
+ referencedColumns: ["id"];
7623
+ }, {
7624
+ foreignKeyName: "invoice_items_invoice_id_fkey";
7625
+ columns: ["invoice_id"];
7626
+ isOneToOne: false;
7627
+ referencedRelation: "uren_facturen";
7628
+ referencedColumns: ["id"];
7629
+ }];
7630
+ };
7400
7631
  invoice_post_idempotency: {
7401
7632
  Row: {
7633
+ administration_code: string;
7402
7634
  client_request_id: string;
7403
7635
  completed_at: string | null;
7404
7636
  created_at: string;
@@ -7408,6 +7640,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
7408
7640
  user_id: string;
7409
7641
  };
7410
7642
  Insert: {
7643
+ administration_code?: string;
7411
7644
  client_request_id: string;
7412
7645
  completed_at?: string | null;
7413
7646
  created_at?: string;
@@ -7417,6 +7650,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
7417
7650
  user_id: string;
7418
7651
  };
7419
7652
  Update: {
7653
+ administration_code?: string;
7420
7654
  client_request_id?: string;
7421
7655
  completed_at?: string | null;
7422
7656
  created_at?: string;
@@ -7622,34 +7856,103 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
7622
7856
  };
7623
7857
  Relationships: [];
7624
7858
  };
7625
- itk_contact_persons: {
7859
+ invoices: {
7626
7860
  Row: {
7627
7861
  created_at: string;
7628
- customer_id: string;
7629
- email: string | null;
7862
+ created_by: string | null;
7863
+ customer_id: string | null;
7864
+ customer_name: string | null;
7865
+ due_date: string | null;
7630
7866
  id: string;
7631
- name: string;
7632
- phone: string | null;
7633
- role: string | null;
7867
+ invoice_date: string;
7868
+ invoice_number: string | null;
7869
+ note: string | null;
7870
+ source_number: string | null;
7871
+ source_ref: string | null;
7872
+ source_type: string;
7873
+ status: string;
7874
+ subtotal_cents: number;
7875
+ total_cents: number;
7634
7876
  updated_at: string;
7877
+ vat_cents: number;
7878
+ vat_rate: number;
7635
7879
  };
7636
7880
  Insert: {
7637
7881
  created_at?: string;
7638
- customer_id: string;
7639
- email?: string | null;
7882
+ created_by?: string | null;
7883
+ customer_id?: string | null;
7884
+ customer_name?: string | null;
7885
+ due_date?: string | null;
7640
7886
  id?: string;
7641
- name: string;
7642
- phone?: string | null;
7643
- role?: string | null;
7887
+ invoice_date?: string;
7888
+ invoice_number?: string | null;
7889
+ note?: string | null;
7890
+ source_number?: string | null;
7891
+ source_ref?: string | null;
7892
+ source_type?: string;
7893
+ status?: string;
7894
+ subtotal_cents?: number;
7895
+ total_cents?: number;
7644
7896
  updated_at?: string;
7897
+ vat_cents?: number;
7898
+ vat_rate?: number;
7645
7899
  };
7646
7900
  Update: {
7647
7901
  created_at?: string;
7648
- customer_id?: string;
7649
- email?: string | null;
7650
- id?: string;
7651
- name?: string;
7652
- phone?: string | null;
7902
+ created_by?: string | null;
7903
+ customer_id?: string | null;
7904
+ customer_name?: string | null;
7905
+ due_date?: string | null;
7906
+ id?: string;
7907
+ invoice_date?: string;
7908
+ invoice_number?: string | null;
7909
+ note?: string | null;
7910
+ source_number?: string | null;
7911
+ source_ref?: string | null;
7912
+ source_type?: string;
7913
+ status?: string;
7914
+ subtotal_cents?: number;
7915
+ total_cents?: number;
7916
+ updated_at?: string;
7917
+ vat_cents?: number;
7918
+ vat_rate?: number;
7919
+ };
7920
+ Relationships: [{
7921
+ foreignKeyName: "invoices_customer_id_fkey";
7922
+ columns: ["customer_id"];
7923
+ isOneToOne: false;
7924
+ referencedRelation: "itk_customers";
7925
+ referencedColumns: ["id"];
7926
+ }];
7927
+ };
7928
+ itk_contact_persons: {
7929
+ Row: {
7930
+ created_at: string;
7931
+ customer_id: string;
7932
+ email: string | null;
7933
+ id: string;
7934
+ name: string;
7935
+ phone: string | null;
7936
+ role: string | null;
7937
+ updated_at: string;
7938
+ };
7939
+ Insert: {
7940
+ created_at?: string;
7941
+ customer_id: string;
7942
+ email?: string | null;
7943
+ id?: string;
7944
+ name: string;
7945
+ phone?: string | null;
7946
+ role?: string | null;
7947
+ updated_at?: string;
7948
+ };
7949
+ Update: {
7950
+ created_at?: string;
7951
+ customer_id?: string;
7952
+ email?: string | null;
7953
+ id?: string;
7954
+ name?: string;
7955
+ phone?: string | null;
7653
7956
  role?: string | null;
7654
7957
  updated_at?: string;
7655
7958
  };
@@ -8969,6 +9272,10 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
8969
9272
  id: string;
8970
9273
  last_error: string | null;
8971
9274
  last_error_at: string | null;
9275
+ last_error_code: string | null;
9276
+ last_gateway_status: number | null;
9277
+ last_queued_at: string | null;
9278
+ last_response: import("../integrations/supabase/types").Json | null;
8972
9279
  last_sent_hash: string | null;
8973
9280
  locked_by: string | null;
8974
9281
  locked_until: string | null;
@@ -8989,6 +9296,10 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
8989
9296
  id?: string;
8990
9297
  last_error?: string | null;
8991
9298
  last_error_at?: string | null;
9299
+ last_error_code?: string | null;
9300
+ last_gateway_status?: number | null;
9301
+ last_queued_at?: string | null;
9302
+ last_response?: import("../integrations/supabase/types").Json | null;
8992
9303
  last_sent_hash?: string | null;
8993
9304
  locked_by?: string | null;
8994
9305
  locked_until?: string | null;
@@ -9009,6 +9320,10 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
9009
9320
  id?: string;
9010
9321
  last_error?: string | null;
9011
9322
  last_error_at?: string | null;
9323
+ last_error_code?: string | null;
9324
+ last_gateway_status?: number | null;
9325
+ last_queued_at?: string | null;
9326
+ last_response?: import("../integrations/supabase/types").Json | null;
9012
9327
  last_sent_hash?: string | null;
9013
9328
  locked_by?: string | null;
9014
9329
  locked_until?: string | null;
@@ -10562,6 +10877,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
10562
10877
  enforce: boolean;
10563
10878
  is_active: boolean;
10564
10879
  last_seen_at: string;
10880
+ missing_count: number;
10565
10881
  module_id: string;
10566
10882
  name: string;
10567
10883
  shell_id: string | null;
@@ -10572,6 +10888,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
10572
10888
  enforce?: boolean;
10573
10889
  is_active?: boolean;
10574
10890
  last_seen_at?: string;
10891
+ missing_count?: number;
10575
10892
  module_id: string;
10576
10893
  name: string;
10577
10894
  shell_id?: string | null;
@@ -10582,6 +10899,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
10582
10899
  enforce?: boolean;
10583
10900
  is_active?: boolean;
10584
10901
  last_seen_at?: string;
10902
+ missing_count?: number;
10585
10903
  module_id?: string;
10586
10904
  name?: string;
10587
10905
  shell_id?: string | null;
@@ -11581,6 +11899,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
11581
11899
  };
11582
11900
  order_invoice_links: {
11583
11901
  Row: {
11902
+ administration_code: string | null;
11584
11903
  attempts: number;
11585
11904
  created_at: string;
11586
11905
  error_message: string | null;
@@ -11593,6 +11912,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
11593
11912
  updated_at: string;
11594
11913
  };
11595
11914
  Insert: {
11915
+ administration_code?: string | null;
11596
11916
  attempts?: number;
11597
11917
  created_at?: string;
11598
11918
  error_message?: string | null;
@@ -11605,6 +11925,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
11605
11925
  updated_at?: string;
11606
11926
  };
11607
11927
  Update: {
11928
+ administration_code?: string | null;
11608
11929
  attempts?: number;
11609
11930
  created_at?: string;
11610
11931
  error_message?: string | null;
@@ -12770,6 +13091,27 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
12770
13091
  referencedColumns: ["id"];
12771
13092
  }];
12772
13093
  };
13094
+ pick_sync_state: {
13095
+ Row: {
13096
+ id: boolean;
13097
+ last_cleanup_at: string | null;
13098
+ last_sync_at: string | null;
13099
+ updated_at: string;
13100
+ };
13101
+ Insert: {
13102
+ id?: boolean;
13103
+ last_cleanup_at?: string | null;
13104
+ last_sync_at?: string | null;
13105
+ updated_at?: string;
13106
+ };
13107
+ Update: {
13108
+ id?: boolean;
13109
+ last_cleanup_at?: string | null;
13110
+ last_sync_at?: string | null;
13111
+ updated_at?: string;
13112
+ };
13113
+ Relationships: [];
13114
+ };
12773
13115
  pick_task_document_types: {
12774
13116
  Row: {
12775
13117
  created_at: string;
@@ -13052,6 +13394,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
13052
13394
  gebruiker_id: string | null;
13053
13395
  gebruiker_naam: string;
13054
13396
  gestart_op: string | null;
13397
+ herkomst: string | null;
13055
13398
  id: string;
13056
13399
  idempotentie_sleutel: string | null;
13057
13400
  is_herprint: boolean;
@@ -13081,6 +13424,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
13081
13424
  gebruiker_id?: string | null;
13082
13425
  gebruiker_naam?: string;
13083
13426
  gestart_op?: string | null;
13427
+ herkomst?: string | null;
13084
13428
  id?: string;
13085
13429
  idempotentie_sleutel?: string | null;
13086
13430
  is_herprint?: boolean;
@@ -13110,6 +13454,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
13110
13454
  gebruiker_id?: string | null;
13111
13455
  gebruiker_naam?: string;
13112
13456
  gestart_op?: string | null;
13457
+ herkomst?: string | null;
13113
13458
  id?: string;
13114
13459
  idempotentie_sleutel?: string | null;
13115
13460
  is_herprint?: boolean;
@@ -13148,6 +13493,99 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
13148
13493
  referencedColumns: ["id"];
13149
13494
  }];
13150
13495
  };
13496
+ print_plek_computers: {
13497
+ Row: {
13498
+ computer_naam: string;
13499
+ created_at: string;
13500
+ id: string;
13501
+ print_plek_id: string;
13502
+ updated_at: string;
13503
+ };
13504
+ Insert: {
13505
+ computer_naam: string;
13506
+ created_at?: string;
13507
+ id?: string;
13508
+ print_plek_id: string;
13509
+ updated_at?: string;
13510
+ };
13511
+ Update: {
13512
+ computer_naam?: string;
13513
+ created_at?: string;
13514
+ id?: string;
13515
+ print_plek_id?: string;
13516
+ updated_at?: string;
13517
+ };
13518
+ Relationships: [{
13519
+ foreignKeyName: "print_plek_computers_print_plek_id_fkey";
13520
+ columns: ["print_plek_id"];
13521
+ isOneToOne: false;
13522
+ referencedRelation: "print_plekken";
13523
+ referencedColumns: ["id"];
13524
+ }];
13525
+ };
13526
+ print_plek_koppelingen: {
13527
+ Row: {
13528
+ bron: string;
13529
+ bron_id: string;
13530
+ created_at: string;
13531
+ id: string;
13532
+ label: string | null;
13533
+ print_plek_id: string;
13534
+ updated_at: string;
13535
+ };
13536
+ Insert: {
13537
+ bron: string;
13538
+ bron_id: string;
13539
+ created_at?: string;
13540
+ id?: string;
13541
+ label?: string | null;
13542
+ print_plek_id: string;
13543
+ updated_at?: string;
13544
+ };
13545
+ Update: {
13546
+ bron?: string;
13547
+ bron_id?: string;
13548
+ created_at?: string;
13549
+ id?: string;
13550
+ label?: string | null;
13551
+ print_plek_id?: string;
13552
+ updated_at?: string;
13553
+ };
13554
+ Relationships: [{
13555
+ foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
13556
+ columns: ["print_plek_id"];
13557
+ isOneToOne: false;
13558
+ referencedRelation: "print_plekken";
13559
+ referencedColumns: ["id"];
13560
+ }];
13561
+ };
13562
+ print_plekken: {
13563
+ Row: {
13564
+ actief: boolean;
13565
+ created_at: string;
13566
+ id: string;
13567
+ naam: string;
13568
+ omschrijving: string | null;
13569
+ updated_at: string;
13570
+ };
13571
+ Insert: {
13572
+ actief?: boolean;
13573
+ created_at?: string;
13574
+ id?: string;
13575
+ naam: string;
13576
+ omschrijving?: string | null;
13577
+ updated_at?: string;
13578
+ };
13579
+ Update: {
13580
+ actief?: boolean;
13581
+ created_at?: string;
13582
+ id?: string;
13583
+ naam?: string;
13584
+ omschrijving?: string | null;
13585
+ updated_at?: string;
13586
+ };
13587
+ Relationships: [];
13588
+ };
13151
13589
  print_queue_runners: {
13152
13590
  Row: {
13153
13591
  actief: boolean;
@@ -15302,6 +15740,45 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
15302
15740
  };
15303
15741
  Relationships: [];
15304
15742
  };
15743
+ stock_consumption_alerts: {
15744
+ Row: {
15745
+ alert_type: string;
15746
+ created_at: string;
15747
+ id: string;
15748
+ mutation_log_id: string | null;
15749
+ order_id: string | null;
15750
+ order_item_id: string | null;
15751
+ qty: number;
15752
+ reason: string | null;
15753
+ resolved_at: string | null;
15754
+ updated_at: string;
15755
+ };
15756
+ Insert: {
15757
+ alert_type: string;
15758
+ created_at?: string;
15759
+ id?: string;
15760
+ mutation_log_id?: string | null;
15761
+ order_id?: string | null;
15762
+ order_item_id?: string | null;
15763
+ qty?: number;
15764
+ reason?: string | null;
15765
+ resolved_at?: string | null;
15766
+ updated_at?: string;
15767
+ };
15768
+ Update: {
15769
+ alert_type?: string;
15770
+ created_at?: string;
15771
+ id?: string;
15772
+ mutation_log_id?: string | null;
15773
+ order_id?: string | null;
15774
+ order_item_id?: string | null;
15775
+ qty?: number;
15776
+ reason?: string | null;
15777
+ resolved_at?: string | null;
15778
+ updated_at?: string;
15779
+ };
15780
+ Relationships: [];
15781
+ };
15305
15782
  stock_import_runs: {
15306
15783
  Row: {
15307
15784
  connection_id: string | null;
@@ -16114,12 +16591,16 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
16114
16591
  company_name: string | null;
16115
16592
  connected_at: string | null;
16116
16593
  created_at: string;
16594
+ disconnected_at: string | null;
16117
16595
  environment: string;
16118
16596
  id: string;
16597
+ initial_sync_completed_at: string | null;
16598
+ initial_sync_started_at: string | null;
16119
16599
  is_active: boolean;
16120
16600
  label: string | null;
16121
16601
  office_code: string | null;
16122
16602
  redirect_uri: string | null;
16603
+ superseded_at: string | null;
16123
16604
  updated_at: string;
16124
16605
  user_id: string;
16125
16606
  };
@@ -16130,12 +16611,16 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
16130
16611
  company_name?: string | null;
16131
16612
  connected_at?: string | null;
16132
16613
  created_at?: string;
16614
+ disconnected_at?: string | null;
16133
16615
  environment: string;
16134
16616
  id?: string;
16617
+ initial_sync_completed_at?: string | null;
16618
+ initial_sync_started_at?: string | null;
16135
16619
  is_active?: boolean;
16136
16620
  label?: string | null;
16137
16621
  office_code?: string | null;
16138
16622
  redirect_uri?: string | null;
16623
+ superseded_at?: string | null;
16139
16624
  updated_at?: string;
16140
16625
  user_id: string;
16141
16626
  };
@@ -16146,12 +16631,16 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
16146
16631
  company_name?: string | null;
16147
16632
  connected_at?: string | null;
16148
16633
  created_at?: string;
16634
+ disconnected_at?: string | null;
16149
16635
  environment?: string;
16150
16636
  id?: string;
16637
+ initial_sync_completed_at?: string | null;
16638
+ initial_sync_started_at?: string | null;
16151
16639
  is_active?: boolean;
16152
16640
  label?: string | null;
16153
16641
  office_code?: string | null;
16154
16642
  redirect_uri?: string | null;
16643
+ superseded_at?: string | null;
16155
16644
  updated_at?: string;
16156
16645
  user_id?: string;
16157
16646
  };
@@ -16211,6 +16700,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
16211
16700
  twinfield_customers: {
16212
16701
  Row: {
16213
16702
  address: string | null;
16703
+ administration_code: string;
16214
16704
  city: string | null;
16215
16705
  country: string | null;
16216
16706
  created_at: string;
@@ -16230,6 +16720,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
16230
16720
  };
16231
16721
  Insert: {
16232
16722
  address?: string | null;
16723
+ administration_code?: string;
16233
16724
  city?: string | null;
16234
16725
  country?: string | null;
16235
16726
  created_at?: string;
@@ -16249,6 +16740,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
16249
16740
  };
16250
16741
  Update: {
16251
16742
  address?: string | null;
16743
+ administration_code?: string;
16252
16744
  city?: string | null;
16253
16745
  country?: string | null;
16254
16746
  created_at?: string;
@@ -16462,7 +16954,9 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
16462
16954
  };
16463
16955
  twinfield_invoice_settings: {
16464
16956
  Row: {
16957
+ administration_code: string | null;
16465
16958
  auto_invoice_enabled: boolean;
16959
+ auto_invoice_start_date: string | null;
16466
16960
  auto_invoice_trigger_statuses: string[];
16467
16961
  created_at: string;
16468
16962
  debtor_gl_account: string;
@@ -16476,15 +16970,19 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
16476
16970
  invoice_enabled_fo: boolean;
16477
16971
  invoice_enabled_ho: boolean;
16478
16972
  invoice_enabled_mo: boolean;
16973
+ needs_review: boolean;
16479
16974
  payment_gl_account: string;
16480
16975
  payment_journal_code: string;
16976
+ settings_confirmed_at: string | null;
16481
16977
  updated_at: string;
16482
16978
  user_id: string;
16483
16979
  vat_code_eu_reverse: string | null;
16484
16980
  vat_code_export: string | null;
16485
16981
  };
16486
16982
  Insert: {
16983
+ administration_code?: string | null;
16487
16984
  auto_invoice_enabled?: boolean;
16985
+ auto_invoice_start_date?: string | null;
16488
16986
  auto_invoice_trigger_statuses?: string[];
16489
16987
  created_at?: string;
16490
16988
  debtor_gl_account?: string;
@@ -16498,15 +16996,19 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
16498
16996
  invoice_enabled_fo?: boolean;
16499
16997
  invoice_enabled_ho?: boolean;
16500
16998
  invoice_enabled_mo?: boolean;
16999
+ needs_review?: boolean;
16501
17000
  payment_gl_account?: string;
16502
17001
  payment_journal_code?: string;
17002
+ settings_confirmed_at?: string | null;
16503
17003
  updated_at?: string;
16504
17004
  user_id: string;
16505
17005
  vat_code_eu_reverse?: string | null;
16506
17006
  vat_code_export?: string | null;
16507
17007
  };
16508
17008
  Update: {
17009
+ administration_code?: string | null;
16509
17010
  auto_invoice_enabled?: boolean;
17011
+ auto_invoice_start_date?: string | null;
16510
17012
  auto_invoice_trigger_statuses?: string[];
16511
17013
  created_at?: string;
16512
17014
  debtor_gl_account?: string;
@@ -16520,8 +17022,10 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
16520
17022
  invoice_enabled_fo?: boolean;
16521
17023
  invoice_enabled_ho?: boolean;
16522
17024
  invoice_enabled_mo?: boolean;
17025
+ needs_review?: boolean;
16523
17026
  payment_gl_account?: string;
16524
17027
  payment_journal_code?: string;
17028
+ settings_confirmed_at?: string | null;
16525
17029
  updated_at?: string;
16526
17030
  user_id?: string;
16527
17031
  vat_code_eu_reverse?: string | null;
@@ -17126,114 +17630,6 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
17126
17630
  };
17127
17631
  Relationships: [];
17128
17632
  };
17129
- uren_facturen: {
17130
- Row: {
17131
- created_at: string;
17132
- created_by: string | null;
17133
- customer_id: string | null;
17134
- customer_name: string | null;
17135
- id: string;
17136
- invoice_number: string | null;
17137
- note: string | null;
17138
- status: string;
17139
- total_excl_cents: number;
17140
- total_incl_cents: number;
17141
- updated_at: string;
17142
- vat_cents: number;
17143
- vat_percentage: number;
17144
- werkbon_id: string | null;
17145
- };
17146
- Insert: {
17147
- created_at?: string;
17148
- created_by?: string | null;
17149
- customer_id?: string | null;
17150
- customer_name?: string | null;
17151
- id?: string;
17152
- invoice_number?: string | null;
17153
- note?: string | null;
17154
- status?: string;
17155
- total_excl_cents?: number;
17156
- total_incl_cents?: number;
17157
- updated_at?: string;
17158
- vat_cents?: number;
17159
- vat_percentage?: number;
17160
- werkbon_id?: string | null;
17161
- };
17162
- Update: {
17163
- created_at?: string;
17164
- created_by?: string | null;
17165
- customer_id?: string | null;
17166
- customer_name?: string | null;
17167
- id?: string;
17168
- invoice_number?: string | null;
17169
- note?: string | null;
17170
- status?: string;
17171
- total_excl_cents?: number;
17172
- total_incl_cents?: number;
17173
- updated_at?: string;
17174
- vat_cents?: number;
17175
- vat_percentage?: number;
17176
- werkbon_id?: string | null;
17177
- };
17178
- Relationships: [{
17179
- foreignKeyName: "uren_facturen_customer_id_fkey";
17180
- columns: ["customer_id"];
17181
- isOneToOne: false;
17182
- referencedRelation: "itk_customers";
17183
- referencedColumns: ["id"];
17184
- }, {
17185
- foreignKeyName: "uren_facturen_werkbon_id_fkey";
17186
- columns: ["werkbon_id"];
17187
- isOneToOne: true;
17188
- referencedRelation: "werkbonnen";
17189
- referencedColumns: ["id"];
17190
- }];
17191
- };
17192
- uren_factuur_regels: {
17193
- Row: {
17194
- created_at: string;
17195
- description: string;
17196
- factuur_id: string;
17197
- id: string;
17198
- kind: string | null;
17199
- quantity: number;
17200
- sort_order: number;
17201
- total_cents: number;
17202
- unit: string;
17203
- unit_price_cents: number;
17204
- };
17205
- Insert: {
17206
- created_at?: string;
17207
- description: string;
17208
- factuur_id: string;
17209
- id?: string;
17210
- kind?: string | null;
17211
- quantity?: number;
17212
- sort_order?: number;
17213
- total_cents?: number;
17214
- unit?: string;
17215
- unit_price_cents?: number;
17216
- };
17217
- Update: {
17218
- created_at?: string;
17219
- description?: string;
17220
- factuur_id?: string;
17221
- id?: string;
17222
- kind?: string | null;
17223
- quantity?: number;
17224
- sort_order?: number;
17225
- total_cents?: number;
17226
- unit?: string;
17227
- unit_price_cents?: number;
17228
- };
17229
- Relationships: [{
17230
- foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
17231
- columns: ["factuur_id"];
17232
- isOneToOne: false;
17233
- referencedRelation: "uren_facturen";
17234
- referencedColumns: ["id"];
17235
- }];
17236
- };
17237
17633
  uren_offerte_regels: {
17238
17634
  Row: {
17239
17635
  created_at: string;
@@ -18487,6 +18883,9 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
18487
18883
  scheduled_end_time: string | null;
18488
18884
  scheduled_start_time: string | null;
18489
18885
  sequence_number: number;
18886
+ signature_accepted_at: string | null;
18887
+ signature_by_user_id: string | null;
18888
+ signature_name: string | null;
18490
18889
  source_email_meta: import("../integrations/supabase/types").Json | null;
18491
18890
  source_mailbox_message_id: string | null;
18492
18891
  source_pdf_path: string | null;
@@ -18522,6 +18921,9 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
18522
18921
  scheduled_end_time?: string | null;
18523
18922
  scheduled_start_time?: string | null;
18524
18923
  sequence_number: number;
18924
+ signature_accepted_at?: string | null;
18925
+ signature_by_user_id?: string | null;
18926
+ signature_name?: string | null;
18525
18927
  source_email_meta?: import("../integrations/supabase/types").Json | null;
18526
18928
  source_mailbox_message_id?: string | null;
18527
18929
  source_pdf_path?: string | null;
@@ -18557,6 +18959,9 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
18557
18959
  scheduled_end_time?: string | null;
18558
18960
  scheduled_start_time?: string | null;
18559
18961
  sequence_number?: number;
18962
+ signature_accepted_at?: string | null;
18963
+ signature_by_user_id?: string | null;
18964
+ signature_name?: string | null;
18560
18965
  source_email_meta?: import("../integrations/supabase/types").Json | null;
18561
18966
  source_mailbox_message_id?: string | null;
18562
18967
  source_pdf_path?: string | null;
@@ -19073,6 +19478,114 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
19073
19478
  };
19074
19479
  Relationships: [];
19075
19480
  };
19481
+ uren_facturen: {
19482
+ Row: {
19483
+ created_at: string | null;
19484
+ created_by: string | null;
19485
+ customer_id: string | null;
19486
+ customer_name: string | null;
19487
+ id: string | null;
19488
+ invoice_number: string | null;
19489
+ note: string | null;
19490
+ status: string | null;
19491
+ total_excl_cents: number | null;
19492
+ total_incl_cents: number | null;
19493
+ updated_at: string | null;
19494
+ vat_cents: number | null;
19495
+ vat_percentage: number | null;
19496
+ werkbon_id: string | null;
19497
+ };
19498
+ Insert: {
19499
+ created_at?: string | null;
19500
+ created_by?: string | null;
19501
+ customer_id?: string | null;
19502
+ customer_name?: string | null;
19503
+ id?: string | null;
19504
+ invoice_number?: string | null;
19505
+ note?: string | null;
19506
+ status?: string | null;
19507
+ total_excl_cents?: number | null;
19508
+ total_incl_cents?: number | null;
19509
+ updated_at?: string | null;
19510
+ vat_cents?: number | null;
19511
+ vat_percentage?: number | null;
19512
+ werkbon_id?: never;
19513
+ };
19514
+ Update: {
19515
+ created_at?: string | null;
19516
+ created_by?: string | null;
19517
+ customer_id?: string | null;
19518
+ customer_name?: string | null;
19519
+ id?: string | null;
19520
+ invoice_number?: string | null;
19521
+ note?: string | null;
19522
+ status?: string | null;
19523
+ total_excl_cents?: number | null;
19524
+ total_incl_cents?: number | null;
19525
+ updated_at?: string | null;
19526
+ vat_cents?: number | null;
19527
+ vat_percentage?: number | null;
19528
+ werkbon_id?: never;
19529
+ };
19530
+ Relationships: [{
19531
+ foreignKeyName: "invoices_customer_id_fkey";
19532
+ columns: ["customer_id"];
19533
+ isOneToOne: false;
19534
+ referencedRelation: "itk_customers";
19535
+ referencedColumns: ["id"];
19536
+ }];
19537
+ };
19538
+ uren_factuur_regels: {
19539
+ Row: {
19540
+ created_at: string | null;
19541
+ description: string | null;
19542
+ factuur_id: string | null;
19543
+ id: string | null;
19544
+ kind: string | null;
19545
+ quantity: number | null;
19546
+ sort_order: number | null;
19547
+ total_cents: number | null;
19548
+ unit: string | null;
19549
+ unit_price_cents: number | null;
19550
+ };
19551
+ Insert: {
19552
+ created_at?: string | null;
19553
+ description?: string | null;
19554
+ factuur_id?: string | null;
19555
+ id?: string | null;
19556
+ kind?: string | null;
19557
+ quantity?: number | null;
19558
+ sort_order?: number | null;
19559
+ total_cents?: number | null;
19560
+ unit?: string | null;
19561
+ unit_price_cents?: number | null;
19562
+ };
19563
+ Update: {
19564
+ created_at?: string | null;
19565
+ description?: string | null;
19566
+ factuur_id?: string | null;
19567
+ id?: string | null;
19568
+ kind?: string | null;
19569
+ quantity?: number | null;
19570
+ sort_order?: number | null;
19571
+ total_cents?: number | null;
19572
+ unit?: string | null;
19573
+ unit_price_cents?: number | null;
19574
+ };
19575
+ Relationships: [{
19576
+ foreignKeyName: "invoice_items_invoice_id_fkey";
19577
+ columns: ["factuur_id"];
19578
+ isOneToOne: false;
19579
+ referencedRelation: "invoices";
19580
+ referencedColumns: ["id"];
19581
+ }, {
19582
+ foreignKeyName: "invoice_items_invoice_id_fkey";
19583
+ columns: ["factuur_id"];
19584
+ isOneToOne: false;
19585
+ referencedRelation: "uren_facturen";
19586
+ referencedColumns: ["id"];
19587
+ }];
19588
+ };
19076
19589
  v_external_customers_exact: {
19077
19590
  Row: {
19078
19591
  account_number: string | null;
@@ -19578,6 +20091,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
19578
20091
  gebruiker_id: string | null;
19579
20092
  gebruiker_naam: string;
19580
20093
  gestart_op: string | null;
20094
+ herkomst: string | null;
19581
20095
  id: string;
19582
20096
  idempotentie_sleutel: string | null;
19583
20097
  is_herprint: boolean;
@@ -19698,6 +20212,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
19698
20212
  gebruiker_id: string | null;
19699
20213
  gebruiker_naam: string;
19700
20214
  gestart_op: string | null;
20215
+ herkomst: string | null;
19701
20216
  id: string;
19702
20217
  idempotentie_sleutel: string | null;
19703
20218
  is_herprint: boolean;
@@ -20299,6 +20814,46 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
20299
20814
  Args: never;
20300
20815
  Returns: boolean;
20301
20816
  };
20817
+ invoice_create_from_source: {
20818
+ Args: {
20819
+ _payload?: import("../integrations/supabase/types").Json;
20820
+ _source_id: string;
20821
+ _source_type: string;
20822
+ };
20823
+ Returns: import("../integrations/supabase/types").Json;
20824
+ };
20825
+ invoice_get_billable_lines: {
20826
+ Args: {
20827
+ _invoice_id: string;
20828
+ };
20829
+ Returns: import("../integrations/supabase/types").Json;
20830
+ };
20831
+ invoice_get_for_source: {
20832
+ Args: {
20833
+ _source_id: string;
20834
+ _source_type: string;
20835
+ };
20836
+ Returns: import("../integrations/supabase/types").Json;
20837
+ };
20838
+ invoice_get_summary: {
20839
+ Args: {
20840
+ _invoice_id: string;
20841
+ };
20842
+ Returns: import("../integrations/supabase/types").Json;
20843
+ };
20844
+ invoice_list_sources: {
20845
+ Args: {
20846
+ _limit?: number;
20847
+ _source_type?: string;
20848
+ };
20849
+ Returns: import("../integrations/supabase/types").Json;
20850
+ };
20851
+ invoice_recalc_totals: {
20852
+ Args: {
20853
+ _invoice_id: string;
20854
+ };
20855
+ Returns: import("../integrations/supabase/types").Json;
20856
+ };
20302
20857
  is_authenticated: {
20303
20858
  Args: never;
20304
20859
  Returns: boolean;
@@ -20367,6 +20922,29 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
20367
20922
  roles: string[];
20368
20923
  }[];
20369
20924
  };
20925
+ list_monteur_absences: {
20926
+ Args: {
20927
+ _from: string;
20928
+ _to: string;
20929
+ };
20930
+ Returns: {
20931
+ absence_date: string;
20932
+ end_time: string;
20933
+ full_day: boolean;
20934
+ kind: string;
20935
+ monteur_id: string;
20936
+ start_time: string;
20937
+ }[];
20938
+ };
20939
+ list_monteurs: {
20940
+ Args: never;
20941
+ Returns: {
20942
+ avatar_url: string;
20943
+ display_name: string;
20944
+ email: string;
20945
+ id: string;
20946
+ }[];
20947
+ };
20370
20948
  list_my_planning_items: {
20371
20949
  Args: {
20372
20950
  _from: string;
@@ -20778,6 +21356,41 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
20778
21356
  };
20779
21357
  Returns: string;
20780
21358
  };
21359
+ logistics_floriday_finish_push_v2: {
21360
+ Args: {
21361
+ _error?: string;
21362
+ _error_code?: string;
21363
+ _fulfillment_order_id?: string;
21364
+ _gateway_status?: number;
21365
+ _id: string;
21366
+ _max_age_hours?: number;
21367
+ _max_attempts?: number;
21368
+ _ok: boolean;
21369
+ _permanent?: boolean;
21370
+ _response?: import("../integrations/supabase/types").Json;
21371
+ _revision: number;
21372
+ _sent_hash?: string;
21373
+ };
21374
+ Returns: string;
21375
+ };
21376
+ logistics_floriday_finish_push_v3: {
21377
+ Args: {
21378
+ _error?: string;
21379
+ _error_code?: string;
21380
+ _fulfillment_order_id?: string;
21381
+ _gateway_status?: number;
21382
+ _id: string;
21383
+ _max_age_hours?: number;
21384
+ _max_attempts?: number;
21385
+ _outcome: string;
21386
+ _permanent?: boolean;
21387
+ _response?: import("../integrations/supabase/types").Json;
21388
+ _revision: number;
21389
+ _sent_hash?: string;
21390
+ _wait_max_age_hours?: number;
21391
+ };
21392
+ Returns: string;
21393
+ };
20781
21394
  logistics_floriday_prune_pushes: {
20782
21395
  Args: {
20783
21396
  _days?: number;
@@ -21206,6 +21819,12 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
21206
21819
  verwijderd: number;
21207
21820
  }[];
21208
21821
  };
21822
+ order_departure_proof: {
21823
+ Args: {
21824
+ p_order_id: string;
21825
+ };
21826
+ Returns: import("../integrations/supabase/types").Json;
21827
+ };
21209
21828
  order_number_prefix: {
21210
21829
  Args: {
21211
21830
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -21320,6 +21939,13 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
21320
21939
  isSetofReturn: false;
21321
21940
  };
21322
21941
  };
21942
+ pick_cleanup_maintenance: {
21943
+ Args: {
21944
+ _heartbeat_hours?: number;
21945
+ _log_days?: number;
21946
+ };
21947
+ Returns: import("../integrations/supabase/types").Json;
21948
+ };
21323
21949
  pick_complete_print: {
21324
21950
  Args: {
21325
21951
  _printer_id: string;
@@ -21371,6 +21997,14 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
21371
21997
  Args: never;
21372
21998
  Returns: string;
21373
21999
  };
22000
+ pick_day_counts: {
22001
+ Args: {
22002
+ _pick_day?: string;
22003
+ _screen_id?: string;
22004
+ _station_id?: string;
22005
+ };
22006
+ Returns: import("../integrations/supabase/types").Json;
22007
+ };
21374
22008
  pick_document_layout_data: {
21375
22009
  Args: {
21376
22010
  _layout_id: string;
@@ -21398,6 +22032,14 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
21398
22032
  };
21399
22033
  Returns: import("../integrations/supabase/types").Json;
21400
22034
  };
22035
+ pick_print_plekken: {
22036
+ Args: never;
22037
+ Returns: {
22038
+ id: string;
22039
+ naam: string;
22040
+ omschrijving: string;
22041
+ }[];
22042
+ };
21401
22043
  pick_release_expired_locks: {
21402
22044
  Args: never;
21403
22045
  Returns: number;
@@ -21408,6 +22050,14 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
21408
22050
  };
21409
22051
  Returns: undefined;
21410
22052
  };
22053
+ pick_reprint_document: {
22054
+ Args: {
22055
+ _queue_item_id: string;
22056
+ _session_id: string;
22057
+ _throttle_seconds?: number;
22058
+ };
22059
+ Returns: string;
22060
+ };
21411
22061
  pick_reset_print: {
21412
22062
  Args: {
21413
22063
  _queue_item_id: string;
@@ -21454,6 +22104,13 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
21454
22104
  isSetofReturn: false;
21455
22105
  };
21456
22106
  };
22107
+ pick_set_station_print_plek: {
22108
+ Args: {
22109
+ _print_plek_id: string;
22110
+ _station_id: string;
22111
+ };
22112
+ Returns: string;
22113
+ };
21457
22114
  pick_station_dashboard: {
21458
22115
  Args: never;
21459
22116
  Returns: {
@@ -21466,6 +22123,25 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
21466
22123
  waiting: number;
21467
22124
  }[];
21468
22125
  };
22126
+ pick_station_print_plek: {
22127
+ Args: {
22128
+ _station_id: string;
22129
+ };
22130
+ Returns: {
22131
+ naam: string;
22132
+ omschrijving: string;
22133
+ print_plek_id: string;
22134
+ }[];
22135
+ };
22136
+ pick_station_print_plekken: {
22137
+ Args: never;
22138
+ Returns: {
22139
+ naam: string;
22140
+ omschrijving: string;
22141
+ print_plek_id: string;
22142
+ station_id: string;
22143
+ }[];
22144
+ };
21469
22145
  pick_station_slugify: {
21470
22146
  Args: {
21471
22147
  _id: string;
@@ -21473,6 +22149,12 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
21473
22149
  };
21474
22150
  Returns: string;
21475
22151
  };
22152
+ pick_sync_queue_throttled: {
22153
+ Args: {
22154
+ _min_seconds?: number;
22155
+ };
22156
+ Returns: import("../integrations/supabase/types").Json;
22157
+ };
21476
22158
  pickstation_get_orders_raw: {
21477
22159
  Args: never;
21478
22160
  Returns: import("../integrations/supabase/types").Json;
@@ -21618,6 +22300,12 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
21618
22300
  };
21619
22301
  Returns: boolean;
21620
22302
  };
22303
+ release_stale_order_invoice_links: {
22304
+ Args: {
22305
+ _minutes?: number;
22306
+ };
22307
+ Returns: number;
22308
+ };
21621
22309
  reorder_customer_price_groups: {
21622
22310
  Args: {
21623
22311
  _ids: string[];
@@ -22136,6 +22824,20 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
22136
22824
  };
22137
22825
  Returns: undefined;
22138
22826
  };
22827
+ twinfield_deactivate_connection: {
22828
+ Args: {
22829
+ p_connection_id: string;
22830
+ p_user_id: string;
22831
+ };
22832
+ Returns: import("../integrations/supabase/types").Json;
22833
+ };
22834
+ twinfield_handle_administration_change: {
22835
+ Args: {
22836
+ _administration_code: string;
22837
+ _user_id: string;
22838
+ };
22839
+ Returns: undefined;
22840
+ };
22139
22841
  twinfield_prune_push_queue: {
22140
22842
  Args: never;
22141
22843
  Returns: number;
@@ -22155,10 +22857,11 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
22155
22857
  p_company_name?: string;
22156
22858
  p_environment: string;
22157
22859
  p_office_code?: string;
22860
+ p_reset_sync?: boolean;
22158
22861
  p_status?: string;
22159
22862
  p_user_id: string;
22160
22863
  };
22161
- Returns: string;
22864
+ Returns: import("../integrations/supabase/types").Json;
22162
22865
  };
22163
22866
  upsert_auto_fulfillment_log: {
22164
22867
  Args: {