@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
@@ -673,6 +673,99 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
673
673
  };
674
674
  Relationships: [];
675
675
  };
676
+ artikelen_cache: {
677
+ Row: {
678
+ artikelcode: string;
679
+ bron: string;
680
+ bruto_prijs_cent: number | null;
681
+ created_at: string;
682
+ eenheid: string;
683
+ fabrikant: string | null;
684
+ fetched_at: string;
685
+ gtin: string | null;
686
+ id: string;
687
+ naam: string;
688
+ netto_prijs_cent: number | null;
689
+ omschrijving: string | null;
690
+ raw: import("./types").Json;
691
+ updated_at: string;
692
+ valuta: string;
693
+ };
694
+ Insert: {
695
+ artikelcode: string;
696
+ bron?: string;
697
+ bruto_prijs_cent?: number | null;
698
+ created_at?: string;
699
+ eenheid?: string;
700
+ fabrikant?: string | null;
701
+ fetched_at?: string;
702
+ gtin?: string | null;
703
+ id?: string;
704
+ naam: string;
705
+ netto_prijs_cent?: number | null;
706
+ omschrijving?: string | null;
707
+ raw?: import("./types").Json;
708
+ updated_at?: string;
709
+ valuta?: string;
710
+ };
711
+ Update: {
712
+ artikelcode?: string;
713
+ bron?: string;
714
+ bruto_prijs_cent?: number | null;
715
+ created_at?: string;
716
+ eenheid?: string;
717
+ fabrikant?: string | null;
718
+ fetched_at?: string;
719
+ gtin?: string | null;
720
+ id?: string;
721
+ naam?: string;
722
+ netto_prijs_cent?: number | null;
723
+ omschrijving?: string | null;
724
+ raw?: import("./types").Json;
725
+ updated_at?: string;
726
+ valuta?: string;
727
+ };
728
+ Relationships: [];
729
+ };
730
+ artikelen_veldconfig: {
731
+ Row: {
732
+ bron_pad: string;
733
+ created_at: string;
734
+ id: string;
735
+ label: string;
736
+ sort_order: number;
737
+ type: string;
738
+ updated_at: string;
739
+ veld_key: string;
740
+ zichtbaar_in_detail: boolean;
741
+ zichtbaar_in_lijst: boolean;
742
+ };
743
+ Insert: {
744
+ bron_pad: string;
745
+ created_at?: string;
746
+ id?: string;
747
+ label: string;
748
+ sort_order?: number;
749
+ type?: string;
750
+ updated_at?: string;
751
+ veld_key: string;
752
+ zichtbaar_in_detail?: boolean;
753
+ zichtbaar_in_lijst?: boolean;
754
+ };
755
+ Update: {
756
+ bron_pad?: string;
757
+ created_at?: string;
758
+ id?: string;
759
+ label?: string;
760
+ sort_order?: number;
761
+ type?: string;
762
+ updated_at?: string;
763
+ veld_key?: string;
764
+ zichtbaar_in_detail?: boolean;
765
+ zichtbaar_in_lijst?: boolean;
766
+ };
767
+ Relationships: [];
768
+ };
676
769
  booking_items: {
677
770
  Row: {
678
771
  booking_id: string;
@@ -2758,6 +2851,42 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
2758
2851
  };
2759
2852
  Relationships: [];
2760
2853
  };
2854
+ document_bronregels: {
2855
+ Row: {
2856
+ bron: string;
2857
+ created_at: string;
2858
+ documenttype: string;
2859
+ herkomst: string;
2860
+ id: string;
2861
+ layout_id: string | null;
2862
+ updated_at: string;
2863
+ };
2864
+ Insert: {
2865
+ bron?: string;
2866
+ created_at?: string;
2867
+ documenttype: string;
2868
+ herkomst: string;
2869
+ id?: string;
2870
+ layout_id?: string | null;
2871
+ updated_at?: string;
2872
+ };
2873
+ Update: {
2874
+ bron?: string;
2875
+ created_at?: string;
2876
+ documenttype?: string;
2877
+ herkomst?: string;
2878
+ id?: string;
2879
+ layout_id?: string | null;
2880
+ updated_at?: string;
2881
+ };
2882
+ Relationships: [{
2883
+ foreignKeyName: "document_bronregels_layout_id_fkey";
2884
+ columns: ["layout_id"];
2885
+ isOneToOne: false;
2886
+ referencedRelation: "document_layouts";
2887
+ referencedColumns: ["id"];
2888
+ }];
2889
+ };
2761
2890
  document_formaat_printers: {
2762
2891
  Row: {
2763
2892
  created_at: string;
@@ -3035,6 +3164,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3035
3164
  Row: {
3036
3165
  actief: boolean;
3037
3166
  breedte_mm: number;
3167
+ bron: string;
3038
3168
  config: import("./types").Json;
3039
3169
  created_at: string;
3040
3170
  created_by: string | null;
@@ -3052,12 +3182,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3052
3182
  orientatie: Database["public"]["Enums"]["doc_orientation"];
3053
3183
  page_settings: import("./types").Json;
3054
3184
  papierformaat: string;
3185
+ systeem: boolean;
3055
3186
  thumbnail_url: string | null;
3056
3187
  updated_at: string;
3057
3188
  };
3058
3189
  Insert: {
3059
3190
  actief?: boolean;
3060
3191
  breedte_mm?: number;
3192
+ bron?: string;
3061
3193
  config?: import("./types").Json;
3062
3194
  created_at?: string;
3063
3195
  created_by?: string | null;
@@ -3075,12 +3207,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3075
3207
  orientatie?: Database["public"]["Enums"]["doc_orientation"];
3076
3208
  page_settings?: import("./types").Json;
3077
3209
  papierformaat?: string;
3210
+ systeem?: boolean;
3078
3211
  thumbnail_url?: string | null;
3079
3212
  updated_at?: string;
3080
3213
  };
3081
3214
  Update: {
3082
3215
  actief?: boolean;
3083
3216
  breedte_mm?: number;
3217
+ bron?: string;
3084
3218
  config?: import("./types").Json;
3085
3219
  created_at?: string;
3086
3220
  created_by?: string | null;
@@ -3098,11 +3232,90 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
3098
3232
  orientatie?: Database["public"]["Enums"]["doc_orientation"];
3099
3233
  page_settings?: import("./types").Json;
3100
3234
  papierformaat?: string;
3235
+ systeem?: boolean;
3101
3236
  thumbnail_url?: string | null;
3102
3237
  updated_at?: string;
3103
3238
  };
3104
3239
  Relationships: [];
3105
3240
  };
3241
+ document_printplek_printers: {
3242
+ Row: {
3243
+ created_at: string;
3244
+ documenttype: string;
3245
+ id: string;
3246
+ papierformaat: string | null;
3247
+ print_plek_id: string;
3248
+ printer_id: string | null;
3249
+ updated_at: string;
3250
+ };
3251
+ Insert: {
3252
+ created_at?: string;
3253
+ documenttype: string;
3254
+ id?: string;
3255
+ papierformaat?: string | null;
3256
+ print_plek_id: string;
3257
+ printer_id?: string | null;
3258
+ updated_at?: string;
3259
+ };
3260
+ Update: {
3261
+ created_at?: string;
3262
+ documenttype?: string;
3263
+ id?: string;
3264
+ papierformaat?: string | null;
3265
+ print_plek_id?: string;
3266
+ printer_id?: string | null;
3267
+ updated_at?: string;
3268
+ };
3269
+ Relationships: [{
3270
+ foreignKeyName: "document_printplek_printers_print_plek_id_fkey";
3271
+ columns: ["print_plek_id"];
3272
+ isOneToOne: false;
3273
+ referencedRelation: "print_plekken";
3274
+ referencedColumns: ["id"];
3275
+ }, {
3276
+ foreignKeyName: "document_printplek_printers_printer_id_fkey";
3277
+ columns: ["printer_id"];
3278
+ isOneToOne: false;
3279
+ referencedRelation: "printers";
3280
+ referencedColumns: ["id"];
3281
+ }];
3282
+ };
3283
+ document_werkplek_printers: {
3284
+ Row: {
3285
+ created_at: string;
3286
+ documenttype: string;
3287
+ id: string;
3288
+ papierformaat: string | null;
3289
+ printer_id: string | null;
3290
+ updated_at: string;
3291
+ werkplek: string;
3292
+ };
3293
+ Insert: {
3294
+ created_at?: string;
3295
+ documenttype: string;
3296
+ id?: string;
3297
+ papierformaat?: string | null;
3298
+ printer_id?: string | null;
3299
+ updated_at?: string;
3300
+ werkplek: string;
3301
+ };
3302
+ Update: {
3303
+ created_at?: string;
3304
+ documenttype?: string;
3305
+ id?: string;
3306
+ papierformaat?: string | null;
3307
+ printer_id?: string | null;
3308
+ updated_at?: string;
3309
+ werkplek?: string;
3310
+ };
3311
+ Relationships: [{
3312
+ foreignKeyName: "document_werkplek_printers_printer_id_fkey";
3313
+ columns: ["printer_id"];
3314
+ isOneToOne: false;
3315
+ referencedRelation: "printers";
3316
+ referencedColumns: ["id"];
3317
+ }];
3318
+ };
3106
3319
  email_auth_connections: {
3107
3320
  Row: {
3108
3321
  access_token_encrypted: string | null;
@@ -5044,42 +5257,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
5044
5257
  };
5045
5258
  Relationships: [];
5046
5259
  };
5047
- facturen: {
5048
- Row: {
5049
- bedrag_incl_btw: number;
5050
- created_at: string;
5051
- datum: string;
5052
- factuurnummer: string;
5053
- id: string;
5054
- klantnaam: string;
5055
- status: string;
5056
- updated_at: string;
5057
- user_id: string;
5058
- };
5059
- Insert: {
5060
- bedrag_incl_btw: number;
5061
- created_at?: string;
5062
- datum?: string;
5063
- factuurnummer: string;
5064
- id?: string;
5065
- klantnaam: string;
5066
- status?: string;
5067
- updated_at?: string;
5068
- user_id?: string;
5069
- };
5070
- Update: {
5071
- bedrag_incl_btw?: number;
5072
- created_at?: string;
5073
- datum?: string;
5074
- factuurnummer?: string;
5075
- id?: string;
5076
- klantnaam?: string;
5077
- status?: string;
5078
- updated_at?: string;
5079
- user_id?: string;
5080
- };
5081
- Relationships: [];
5082
- };
5083
5260
  floricode_connection_settings: {
5084
5261
  Row: {
5085
5262
  catalog_key: string | null;
@@ -7384,8 +7561,63 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
7384
7561
  };
7385
7562
  Relationships: [];
7386
7563
  };
7564
+ invoice_items: {
7565
+ Row: {
7566
+ created_at: string;
7567
+ description: string;
7568
+ id: string;
7569
+ invoice_id: string;
7570
+ kind: string;
7571
+ quantity: number;
7572
+ sort_order: number;
7573
+ source_line_ref: string | null;
7574
+ total_cents: number;
7575
+ unit: string;
7576
+ unit_price_cents: number;
7577
+ };
7578
+ Insert: {
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
+ Update: {
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
+ Relationships: [{
7605
+ foreignKeyName: "invoice_items_invoice_id_fkey";
7606
+ columns: ["invoice_id"];
7607
+ isOneToOne: false;
7608
+ referencedRelation: "invoices";
7609
+ referencedColumns: ["id"];
7610
+ }, {
7611
+ foreignKeyName: "invoice_items_invoice_id_fkey";
7612
+ columns: ["invoice_id"];
7613
+ isOneToOne: false;
7614
+ referencedRelation: "uren_facturen";
7615
+ referencedColumns: ["id"];
7616
+ }];
7617
+ };
7387
7618
  invoice_post_idempotency: {
7388
7619
  Row: {
7620
+ administration_code: string;
7389
7621
  client_request_id: string;
7390
7622
  completed_at: string | null;
7391
7623
  created_at: string;
@@ -7395,6 +7627,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
7395
7627
  user_id: string;
7396
7628
  };
7397
7629
  Insert: {
7630
+ administration_code?: string;
7398
7631
  client_request_id: string;
7399
7632
  completed_at?: string | null;
7400
7633
  created_at?: string;
@@ -7404,6 +7637,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
7404
7637
  user_id: string;
7405
7638
  };
7406
7639
  Update: {
7640
+ administration_code?: string;
7407
7641
  client_request_id?: string;
7408
7642
  completed_at?: string | null;
7409
7643
  created_at?: string;
@@ -7609,34 +7843,103 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
7609
7843
  };
7610
7844
  Relationships: [];
7611
7845
  };
7612
- itk_contact_persons: {
7846
+ invoices: {
7613
7847
  Row: {
7614
7848
  created_at: string;
7615
- customer_id: string;
7616
- email: string | null;
7849
+ created_by: string | null;
7850
+ customer_id: string | null;
7851
+ customer_name: string | null;
7852
+ due_date: string | null;
7617
7853
  id: string;
7618
- name: string;
7619
- phone: string | null;
7620
- role: string | null;
7854
+ invoice_date: string;
7855
+ invoice_number: string | null;
7856
+ note: string | null;
7857
+ source_number: string | null;
7858
+ source_ref: string | null;
7859
+ source_type: string;
7860
+ status: string;
7861
+ subtotal_cents: number;
7862
+ total_cents: number;
7621
7863
  updated_at: string;
7864
+ vat_cents: number;
7865
+ vat_rate: number;
7622
7866
  };
7623
7867
  Insert: {
7624
7868
  created_at?: string;
7625
- customer_id: string;
7626
- email?: string | null;
7869
+ created_by?: string | null;
7870
+ customer_id?: string | null;
7871
+ customer_name?: string | null;
7872
+ due_date?: string | null;
7627
7873
  id?: string;
7628
- name: string;
7629
- phone?: string | null;
7630
- role?: string | null;
7874
+ invoice_date?: string;
7875
+ invoice_number?: string | null;
7876
+ note?: string | null;
7877
+ source_number?: string | null;
7878
+ source_ref?: string | null;
7879
+ source_type?: string;
7880
+ status?: string;
7881
+ subtotal_cents?: number;
7882
+ total_cents?: number;
7631
7883
  updated_at?: string;
7884
+ vat_cents?: number;
7885
+ vat_rate?: number;
7632
7886
  };
7633
7887
  Update: {
7634
7888
  created_at?: string;
7635
- customer_id?: string;
7636
- email?: string | null;
7637
- id?: string;
7638
- name?: string;
7639
- phone?: string | null;
7889
+ created_by?: string | null;
7890
+ customer_id?: string | null;
7891
+ customer_name?: string | null;
7892
+ due_date?: string | null;
7893
+ id?: string;
7894
+ invoice_date?: string;
7895
+ invoice_number?: string | null;
7896
+ note?: string | null;
7897
+ source_number?: string | null;
7898
+ source_ref?: string | null;
7899
+ source_type?: string;
7900
+ status?: string;
7901
+ subtotal_cents?: number;
7902
+ total_cents?: number;
7903
+ updated_at?: string;
7904
+ vat_cents?: number;
7905
+ vat_rate?: number;
7906
+ };
7907
+ Relationships: [{
7908
+ foreignKeyName: "invoices_customer_id_fkey";
7909
+ columns: ["customer_id"];
7910
+ isOneToOne: false;
7911
+ referencedRelation: "itk_customers";
7912
+ referencedColumns: ["id"];
7913
+ }];
7914
+ };
7915
+ itk_contact_persons: {
7916
+ Row: {
7917
+ created_at: string;
7918
+ customer_id: string;
7919
+ email: string | null;
7920
+ id: string;
7921
+ name: string;
7922
+ phone: string | null;
7923
+ role: string | null;
7924
+ updated_at: string;
7925
+ };
7926
+ Insert: {
7927
+ created_at?: string;
7928
+ customer_id: string;
7929
+ email?: string | null;
7930
+ id?: string;
7931
+ name: string;
7932
+ phone?: string | null;
7933
+ role?: string | null;
7934
+ updated_at?: string;
7935
+ };
7936
+ Update: {
7937
+ created_at?: string;
7938
+ customer_id?: string;
7939
+ email?: string | null;
7940
+ id?: string;
7941
+ name?: string;
7942
+ phone?: string | null;
7640
7943
  role?: string | null;
7641
7944
  updated_at?: string;
7642
7945
  };
@@ -8956,6 +9259,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8956
9259
  id: string;
8957
9260
  last_error: string | null;
8958
9261
  last_error_at: string | null;
9262
+ last_error_code: string | null;
9263
+ last_gateway_status: number | null;
9264
+ last_queued_at: string | null;
9265
+ last_response: import("./types").Json | null;
8959
9266
  last_sent_hash: string | null;
8960
9267
  locked_by: string | null;
8961
9268
  locked_until: string | null;
@@ -8976,6 +9283,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8976
9283
  id?: string;
8977
9284
  last_error?: string | null;
8978
9285
  last_error_at?: string | null;
9286
+ last_error_code?: string | null;
9287
+ last_gateway_status?: number | null;
9288
+ last_queued_at?: string | null;
9289
+ last_response?: import("./types").Json | null;
8979
9290
  last_sent_hash?: string | null;
8980
9291
  locked_by?: string | null;
8981
9292
  locked_until?: string | null;
@@ -8996,6 +9307,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8996
9307
  id?: string;
8997
9308
  last_error?: string | null;
8998
9309
  last_error_at?: string | null;
9310
+ last_error_code?: string | null;
9311
+ last_gateway_status?: number | null;
9312
+ last_queued_at?: string | null;
9313
+ last_response?: import("./types").Json | null;
8999
9314
  last_sent_hash?: string | null;
9000
9315
  locked_by?: string | null;
9001
9316
  locked_until?: string | null;
@@ -10549,6 +10864,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
10549
10864
  enforce: boolean;
10550
10865
  is_active: boolean;
10551
10866
  last_seen_at: string;
10867
+ missing_count: number;
10552
10868
  module_id: string;
10553
10869
  name: string;
10554
10870
  shell_id: string | null;
@@ -10559,6 +10875,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
10559
10875
  enforce?: boolean;
10560
10876
  is_active?: boolean;
10561
10877
  last_seen_at?: string;
10878
+ missing_count?: number;
10562
10879
  module_id: string;
10563
10880
  name: string;
10564
10881
  shell_id?: string | null;
@@ -10569,6 +10886,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
10569
10886
  enforce?: boolean;
10570
10887
  is_active?: boolean;
10571
10888
  last_seen_at?: string;
10889
+ missing_count?: number;
10572
10890
  module_id?: string;
10573
10891
  name?: string;
10574
10892
  shell_id?: string | null;
@@ -11568,6 +11886,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
11568
11886
  };
11569
11887
  order_invoice_links: {
11570
11888
  Row: {
11889
+ administration_code: string | null;
11571
11890
  attempts: number;
11572
11891
  created_at: string;
11573
11892
  error_message: string | null;
@@ -11580,6 +11899,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
11580
11899
  updated_at: string;
11581
11900
  };
11582
11901
  Insert: {
11902
+ administration_code?: string | null;
11583
11903
  attempts?: number;
11584
11904
  created_at?: string;
11585
11905
  error_message?: string | null;
@@ -11592,6 +11912,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
11592
11912
  updated_at?: string;
11593
11913
  };
11594
11914
  Update: {
11915
+ administration_code?: string | null;
11595
11916
  attempts?: number;
11596
11917
  created_at?: string;
11597
11918
  error_message?: string | null;
@@ -12757,6 +13078,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12757
13078
  referencedColumns: ["id"];
12758
13079
  }];
12759
13080
  };
13081
+ pick_sync_state: {
13082
+ Row: {
13083
+ id: boolean;
13084
+ last_cleanup_at: string | null;
13085
+ last_sync_at: string | null;
13086
+ updated_at: string;
13087
+ };
13088
+ Insert: {
13089
+ id?: boolean;
13090
+ last_cleanup_at?: string | null;
13091
+ last_sync_at?: string | null;
13092
+ updated_at?: string;
13093
+ };
13094
+ Update: {
13095
+ id?: boolean;
13096
+ last_cleanup_at?: string | null;
13097
+ last_sync_at?: string | null;
13098
+ updated_at?: string;
13099
+ };
13100
+ Relationships: [];
13101
+ };
12760
13102
  pick_task_document_types: {
12761
13103
  Row: {
12762
13104
  created_at: string;
@@ -13039,6 +13381,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13039
13381
  gebruiker_id: string | null;
13040
13382
  gebruiker_naam: string;
13041
13383
  gestart_op: string | null;
13384
+ herkomst: string | null;
13042
13385
  id: string;
13043
13386
  idempotentie_sleutel: string | null;
13044
13387
  is_herprint: boolean;
@@ -13068,6 +13411,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13068
13411
  gebruiker_id?: string | null;
13069
13412
  gebruiker_naam?: string;
13070
13413
  gestart_op?: string | null;
13414
+ herkomst?: string | null;
13071
13415
  id?: string;
13072
13416
  idempotentie_sleutel?: string | null;
13073
13417
  is_herprint?: boolean;
@@ -13097,6 +13441,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13097
13441
  gebruiker_id?: string | null;
13098
13442
  gebruiker_naam?: string;
13099
13443
  gestart_op?: string | null;
13444
+ herkomst?: string | null;
13100
13445
  id?: string;
13101
13446
  idempotentie_sleutel?: string | null;
13102
13447
  is_herprint?: boolean;
@@ -13135,6 +13480,99 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13135
13480
  referencedColumns: ["id"];
13136
13481
  }];
13137
13482
  };
13483
+ print_plek_computers: {
13484
+ Row: {
13485
+ computer_naam: string;
13486
+ created_at: string;
13487
+ id: string;
13488
+ print_plek_id: string;
13489
+ updated_at: string;
13490
+ };
13491
+ Insert: {
13492
+ computer_naam: string;
13493
+ created_at?: string;
13494
+ id?: string;
13495
+ print_plek_id: string;
13496
+ updated_at?: string;
13497
+ };
13498
+ Update: {
13499
+ computer_naam?: string;
13500
+ created_at?: string;
13501
+ id?: string;
13502
+ print_plek_id?: string;
13503
+ updated_at?: string;
13504
+ };
13505
+ Relationships: [{
13506
+ foreignKeyName: "print_plek_computers_print_plek_id_fkey";
13507
+ columns: ["print_plek_id"];
13508
+ isOneToOne: false;
13509
+ referencedRelation: "print_plekken";
13510
+ referencedColumns: ["id"];
13511
+ }];
13512
+ };
13513
+ print_plek_koppelingen: {
13514
+ Row: {
13515
+ bron: string;
13516
+ bron_id: string;
13517
+ created_at: string;
13518
+ id: string;
13519
+ label: string | null;
13520
+ print_plek_id: string;
13521
+ updated_at: string;
13522
+ };
13523
+ Insert: {
13524
+ bron: string;
13525
+ bron_id: string;
13526
+ created_at?: string;
13527
+ id?: string;
13528
+ label?: string | null;
13529
+ print_plek_id: string;
13530
+ updated_at?: string;
13531
+ };
13532
+ Update: {
13533
+ bron?: string;
13534
+ bron_id?: string;
13535
+ created_at?: string;
13536
+ id?: string;
13537
+ label?: string | null;
13538
+ print_plek_id?: string;
13539
+ updated_at?: string;
13540
+ };
13541
+ Relationships: [{
13542
+ foreignKeyName: "print_plek_koppelingen_print_plek_id_fkey";
13543
+ columns: ["print_plek_id"];
13544
+ isOneToOne: false;
13545
+ referencedRelation: "print_plekken";
13546
+ referencedColumns: ["id"];
13547
+ }];
13548
+ };
13549
+ print_plekken: {
13550
+ Row: {
13551
+ actief: boolean;
13552
+ created_at: string;
13553
+ id: string;
13554
+ naam: string;
13555
+ omschrijving: string | null;
13556
+ updated_at: string;
13557
+ };
13558
+ Insert: {
13559
+ actief?: boolean;
13560
+ created_at?: string;
13561
+ id?: string;
13562
+ naam: string;
13563
+ omschrijving?: string | null;
13564
+ updated_at?: string;
13565
+ };
13566
+ Update: {
13567
+ actief?: boolean;
13568
+ created_at?: string;
13569
+ id?: string;
13570
+ naam?: string;
13571
+ omschrijving?: string | null;
13572
+ updated_at?: string;
13573
+ };
13574
+ Relationships: [];
13575
+ };
13138
13576
  print_queue_runners: {
13139
13577
  Row: {
13140
13578
  actief: boolean;
@@ -15289,6 +15727,45 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
15289
15727
  };
15290
15728
  Relationships: [];
15291
15729
  };
15730
+ stock_consumption_alerts: {
15731
+ Row: {
15732
+ alert_type: string;
15733
+ created_at: string;
15734
+ id: string;
15735
+ mutation_log_id: string | null;
15736
+ order_id: string | null;
15737
+ order_item_id: string | null;
15738
+ qty: number;
15739
+ reason: string | null;
15740
+ resolved_at: string | null;
15741
+ updated_at: string;
15742
+ };
15743
+ Insert: {
15744
+ alert_type: string;
15745
+ created_at?: string;
15746
+ id?: string;
15747
+ mutation_log_id?: string | null;
15748
+ order_id?: string | null;
15749
+ order_item_id?: string | null;
15750
+ qty?: number;
15751
+ reason?: string | null;
15752
+ resolved_at?: string | null;
15753
+ updated_at?: string;
15754
+ };
15755
+ Update: {
15756
+ alert_type?: string;
15757
+ created_at?: string;
15758
+ id?: string;
15759
+ mutation_log_id?: string | null;
15760
+ order_id?: string | null;
15761
+ order_item_id?: string | null;
15762
+ qty?: number;
15763
+ reason?: string | null;
15764
+ resolved_at?: string | null;
15765
+ updated_at?: string;
15766
+ };
15767
+ Relationships: [];
15768
+ };
15292
15769
  stock_import_runs: {
15293
15770
  Row: {
15294
15771
  connection_id: string | null;
@@ -16101,12 +16578,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16101
16578
  company_name: string | null;
16102
16579
  connected_at: string | null;
16103
16580
  created_at: string;
16581
+ disconnected_at: string | null;
16104
16582
  environment: string;
16105
16583
  id: string;
16584
+ initial_sync_completed_at: string | null;
16585
+ initial_sync_started_at: string | null;
16106
16586
  is_active: boolean;
16107
16587
  label: string | null;
16108
16588
  office_code: string | null;
16109
16589
  redirect_uri: string | null;
16590
+ superseded_at: string | null;
16110
16591
  updated_at: string;
16111
16592
  user_id: string;
16112
16593
  };
@@ -16117,12 +16598,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16117
16598
  company_name?: string | null;
16118
16599
  connected_at?: string | null;
16119
16600
  created_at?: string;
16601
+ disconnected_at?: string | null;
16120
16602
  environment: string;
16121
16603
  id?: string;
16604
+ initial_sync_completed_at?: string | null;
16605
+ initial_sync_started_at?: string | null;
16122
16606
  is_active?: boolean;
16123
16607
  label?: string | null;
16124
16608
  office_code?: string | null;
16125
16609
  redirect_uri?: string | null;
16610
+ superseded_at?: string | null;
16126
16611
  updated_at?: string;
16127
16612
  user_id: string;
16128
16613
  };
@@ -16133,12 +16618,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16133
16618
  company_name?: string | null;
16134
16619
  connected_at?: string | null;
16135
16620
  created_at?: string;
16621
+ disconnected_at?: string | null;
16136
16622
  environment?: string;
16137
16623
  id?: string;
16624
+ initial_sync_completed_at?: string | null;
16625
+ initial_sync_started_at?: string | null;
16138
16626
  is_active?: boolean;
16139
16627
  label?: string | null;
16140
16628
  office_code?: string | null;
16141
16629
  redirect_uri?: string | null;
16630
+ superseded_at?: string | null;
16142
16631
  updated_at?: string;
16143
16632
  user_id?: string;
16144
16633
  };
@@ -16198,6 +16687,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16198
16687
  twinfield_customers: {
16199
16688
  Row: {
16200
16689
  address: string | null;
16690
+ administration_code: string;
16201
16691
  city: string | null;
16202
16692
  country: string | null;
16203
16693
  created_at: string;
@@ -16217,6 +16707,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16217
16707
  };
16218
16708
  Insert: {
16219
16709
  address?: string | null;
16710
+ administration_code?: string;
16220
16711
  city?: string | null;
16221
16712
  country?: string | null;
16222
16713
  created_at?: string;
@@ -16236,6 +16727,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16236
16727
  };
16237
16728
  Update: {
16238
16729
  address?: string | null;
16730
+ administration_code?: string;
16239
16731
  city?: string | null;
16240
16732
  country?: string | null;
16241
16733
  created_at?: string;
@@ -16449,7 +16941,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16449
16941
  };
16450
16942
  twinfield_invoice_settings: {
16451
16943
  Row: {
16944
+ administration_code: string | null;
16452
16945
  auto_invoice_enabled: boolean;
16946
+ auto_invoice_start_date: string | null;
16453
16947
  auto_invoice_trigger_statuses: string[];
16454
16948
  created_at: string;
16455
16949
  debtor_gl_account: string;
@@ -16463,15 +16957,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16463
16957
  invoice_enabled_fo: boolean;
16464
16958
  invoice_enabled_ho: boolean;
16465
16959
  invoice_enabled_mo: boolean;
16960
+ needs_review: boolean;
16466
16961
  payment_gl_account: string;
16467
16962
  payment_journal_code: string;
16963
+ settings_confirmed_at: string | null;
16468
16964
  updated_at: string;
16469
16965
  user_id: string;
16470
16966
  vat_code_eu_reverse: string | null;
16471
16967
  vat_code_export: string | null;
16472
16968
  };
16473
16969
  Insert: {
16970
+ administration_code?: string | null;
16474
16971
  auto_invoice_enabled?: boolean;
16972
+ auto_invoice_start_date?: string | null;
16475
16973
  auto_invoice_trigger_statuses?: string[];
16476
16974
  created_at?: string;
16477
16975
  debtor_gl_account?: string;
@@ -16485,15 +16983,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16485
16983
  invoice_enabled_fo?: boolean;
16486
16984
  invoice_enabled_ho?: boolean;
16487
16985
  invoice_enabled_mo?: boolean;
16986
+ needs_review?: boolean;
16488
16987
  payment_gl_account?: string;
16489
16988
  payment_journal_code?: string;
16989
+ settings_confirmed_at?: string | null;
16490
16990
  updated_at?: string;
16491
16991
  user_id: string;
16492
16992
  vat_code_eu_reverse?: string | null;
16493
16993
  vat_code_export?: string | null;
16494
16994
  };
16495
16995
  Update: {
16996
+ administration_code?: string | null;
16496
16997
  auto_invoice_enabled?: boolean;
16998
+ auto_invoice_start_date?: string | null;
16497
16999
  auto_invoice_trigger_statuses?: string[];
16498
17000
  created_at?: string;
16499
17001
  debtor_gl_account?: string;
@@ -16507,8 +17009,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16507
17009
  invoice_enabled_fo?: boolean;
16508
17010
  invoice_enabled_ho?: boolean;
16509
17011
  invoice_enabled_mo?: boolean;
17012
+ needs_review?: boolean;
16510
17013
  payment_gl_account?: string;
16511
17014
  payment_journal_code?: string;
17015
+ settings_confirmed_at?: string | null;
16512
17016
  updated_at?: string;
16513
17017
  user_id?: string;
16514
17018
  vat_code_eu_reverse?: string | null;
@@ -17113,114 +17617,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
17113
17617
  };
17114
17618
  Relationships: [];
17115
17619
  };
17116
- uren_facturen: {
17117
- Row: {
17118
- created_at: string;
17119
- created_by: string | null;
17120
- customer_id: string | null;
17121
- customer_name: string | null;
17122
- id: string;
17123
- invoice_number: string | null;
17124
- note: string | null;
17125
- status: string;
17126
- total_excl_cents: number;
17127
- total_incl_cents: number;
17128
- updated_at: string;
17129
- vat_cents: number;
17130
- vat_percentage: number;
17131
- werkbon_id: string | null;
17132
- };
17133
- Insert: {
17134
- created_at?: string;
17135
- created_by?: string | null;
17136
- customer_id?: string | null;
17137
- customer_name?: string | null;
17138
- id?: string;
17139
- invoice_number?: string | null;
17140
- note?: string | null;
17141
- status?: string;
17142
- total_excl_cents?: number;
17143
- total_incl_cents?: number;
17144
- updated_at?: string;
17145
- vat_cents?: number;
17146
- vat_percentage?: number;
17147
- werkbon_id?: string | null;
17148
- };
17149
- Update: {
17150
- created_at?: string;
17151
- created_by?: string | null;
17152
- customer_id?: string | null;
17153
- customer_name?: string | null;
17154
- id?: string;
17155
- invoice_number?: string | null;
17156
- note?: string | null;
17157
- status?: string;
17158
- total_excl_cents?: number;
17159
- total_incl_cents?: number;
17160
- updated_at?: string;
17161
- vat_cents?: number;
17162
- vat_percentage?: number;
17163
- werkbon_id?: string | null;
17164
- };
17165
- Relationships: [{
17166
- foreignKeyName: "uren_facturen_customer_id_fkey";
17167
- columns: ["customer_id"];
17168
- isOneToOne: false;
17169
- referencedRelation: "itk_customers";
17170
- referencedColumns: ["id"];
17171
- }, {
17172
- foreignKeyName: "uren_facturen_werkbon_id_fkey";
17173
- columns: ["werkbon_id"];
17174
- isOneToOne: true;
17175
- referencedRelation: "werkbonnen";
17176
- referencedColumns: ["id"];
17177
- }];
17178
- };
17179
- uren_factuur_regels: {
17180
- Row: {
17181
- created_at: string;
17182
- description: string;
17183
- factuur_id: string;
17184
- id: string;
17185
- kind: string | null;
17186
- quantity: number;
17187
- sort_order: number;
17188
- total_cents: number;
17189
- unit: string;
17190
- unit_price_cents: number;
17191
- };
17192
- Insert: {
17193
- created_at?: string;
17194
- description: string;
17195
- factuur_id: string;
17196
- id?: string;
17197
- kind?: string | null;
17198
- quantity?: number;
17199
- sort_order?: number;
17200
- total_cents?: number;
17201
- unit?: string;
17202
- unit_price_cents?: number;
17203
- };
17204
- Update: {
17205
- created_at?: string;
17206
- description?: string;
17207
- factuur_id?: string;
17208
- id?: string;
17209
- kind?: string | null;
17210
- quantity?: number;
17211
- sort_order?: number;
17212
- total_cents?: number;
17213
- unit?: string;
17214
- unit_price_cents?: number;
17215
- };
17216
- Relationships: [{
17217
- foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
17218
- columns: ["factuur_id"];
17219
- isOneToOne: false;
17220
- referencedRelation: "uren_facturen";
17221
- referencedColumns: ["id"];
17222
- }];
17223
- };
17224
17620
  uren_offerte_regels: {
17225
17621
  Row: {
17226
17622
  created_at: string;
@@ -18474,6 +18870,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18474
18870
  scheduled_end_time: string | null;
18475
18871
  scheduled_start_time: string | null;
18476
18872
  sequence_number: number;
18873
+ signature_accepted_at: string | null;
18874
+ signature_by_user_id: string | null;
18875
+ signature_name: string | null;
18477
18876
  source_email_meta: import("./types").Json | null;
18478
18877
  source_mailbox_message_id: string | null;
18479
18878
  source_pdf_path: string | null;
@@ -18509,6 +18908,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18509
18908
  scheduled_end_time?: string | null;
18510
18909
  scheduled_start_time?: string | null;
18511
18910
  sequence_number: number;
18911
+ signature_accepted_at?: string | null;
18912
+ signature_by_user_id?: string | null;
18913
+ signature_name?: string | null;
18512
18914
  source_email_meta?: import("./types").Json | null;
18513
18915
  source_mailbox_message_id?: string | null;
18514
18916
  source_pdf_path?: string | null;
@@ -18544,6 +18946,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
18544
18946
  scheduled_end_time?: string | null;
18545
18947
  scheduled_start_time?: string | null;
18546
18948
  sequence_number?: number;
18949
+ signature_accepted_at?: string | null;
18950
+ signature_by_user_id?: string | null;
18951
+ signature_name?: string | null;
18547
18952
  source_email_meta?: import("./types").Json | null;
18548
18953
  source_mailbox_message_id?: string | null;
18549
18954
  source_pdf_path?: string | null;
@@ -19060,6 +19465,114 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
19060
19465
  };
19061
19466
  Relationships: [];
19062
19467
  };
19468
+ uren_facturen: {
19469
+ Row: {
19470
+ created_at: string | null;
19471
+ created_by: string | null;
19472
+ customer_id: string | null;
19473
+ customer_name: string | null;
19474
+ id: string | null;
19475
+ invoice_number: string | null;
19476
+ note: string | null;
19477
+ status: string | null;
19478
+ total_excl_cents: number | null;
19479
+ total_incl_cents: number | null;
19480
+ updated_at: string | null;
19481
+ vat_cents: number | null;
19482
+ vat_percentage: number | null;
19483
+ werkbon_id: string | null;
19484
+ };
19485
+ Insert: {
19486
+ created_at?: string | null;
19487
+ created_by?: string | null;
19488
+ customer_id?: string | null;
19489
+ customer_name?: string | null;
19490
+ id?: string | null;
19491
+ invoice_number?: string | null;
19492
+ note?: string | null;
19493
+ status?: string | null;
19494
+ total_excl_cents?: number | null;
19495
+ total_incl_cents?: number | null;
19496
+ updated_at?: string | null;
19497
+ vat_cents?: number | null;
19498
+ vat_percentage?: number | null;
19499
+ werkbon_id?: never;
19500
+ };
19501
+ Update: {
19502
+ created_at?: string | null;
19503
+ created_by?: string | null;
19504
+ customer_id?: string | null;
19505
+ customer_name?: string | null;
19506
+ id?: string | null;
19507
+ invoice_number?: string | null;
19508
+ note?: string | null;
19509
+ status?: string | null;
19510
+ total_excl_cents?: number | null;
19511
+ total_incl_cents?: number | null;
19512
+ updated_at?: string | null;
19513
+ vat_cents?: number | null;
19514
+ vat_percentage?: number | null;
19515
+ werkbon_id?: never;
19516
+ };
19517
+ Relationships: [{
19518
+ foreignKeyName: "invoices_customer_id_fkey";
19519
+ columns: ["customer_id"];
19520
+ isOneToOne: false;
19521
+ referencedRelation: "itk_customers";
19522
+ referencedColumns: ["id"];
19523
+ }];
19524
+ };
19525
+ uren_factuur_regels: {
19526
+ Row: {
19527
+ created_at: string | null;
19528
+ description: string | null;
19529
+ factuur_id: string | null;
19530
+ id: string | null;
19531
+ kind: string | null;
19532
+ quantity: number | null;
19533
+ sort_order: number | null;
19534
+ total_cents: number | null;
19535
+ unit: string | null;
19536
+ unit_price_cents: number | null;
19537
+ };
19538
+ Insert: {
19539
+ created_at?: string | null;
19540
+ description?: string | null;
19541
+ factuur_id?: string | null;
19542
+ id?: string | null;
19543
+ kind?: string | null;
19544
+ quantity?: number | null;
19545
+ sort_order?: number | null;
19546
+ total_cents?: number | null;
19547
+ unit?: string | null;
19548
+ unit_price_cents?: number | null;
19549
+ };
19550
+ Update: {
19551
+ created_at?: string | null;
19552
+ description?: string | null;
19553
+ factuur_id?: string | null;
19554
+ id?: string | null;
19555
+ kind?: string | null;
19556
+ quantity?: number | null;
19557
+ sort_order?: number | null;
19558
+ total_cents?: number | null;
19559
+ unit?: string | null;
19560
+ unit_price_cents?: number | null;
19561
+ };
19562
+ Relationships: [{
19563
+ foreignKeyName: "invoice_items_invoice_id_fkey";
19564
+ columns: ["factuur_id"];
19565
+ isOneToOne: false;
19566
+ referencedRelation: "invoices";
19567
+ referencedColumns: ["id"];
19568
+ }, {
19569
+ foreignKeyName: "invoice_items_invoice_id_fkey";
19570
+ columns: ["factuur_id"];
19571
+ isOneToOne: false;
19572
+ referencedRelation: "uren_facturen";
19573
+ referencedColumns: ["id"];
19574
+ }];
19575
+ };
19063
19576
  v_external_customers_exact: {
19064
19577
  Row: {
19065
19578
  account_number: string | null;
@@ -19565,6 +20078,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
19565
20078
  gebruiker_id: string | null;
19566
20079
  gebruiker_naam: string;
19567
20080
  gestart_op: string | null;
20081
+ herkomst: string | null;
19568
20082
  id: string;
19569
20083
  idempotentie_sleutel: string | null;
19570
20084
  is_herprint: boolean;
@@ -19685,6 +20199,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
19685
20199
  gebruiker_id: string | null;
19686
20200
  gebruiker_naam: string;
19687
20201
  gestart_op: string | null;
20202
+ herkomst: string | null;
19688
20203
  id: string;
19689
20204
  idempotentie_sleutel: string | null;
19690
20205
  is_herprint: boolean;
@@ -20286,6 +20801,46 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20286
20801
  Args: never;
20287
20802
  Returns: boolean;
20288
20803
  };
20804
+ invoice_create_from_source: {
20805
+ Args: {
20806
+ _payload?: import("./types").Json;
20807
+ _source_id: string;
20808
+ _source_type: string;
20809
+ };
20810
+ Returns: import("./types").Json;
20811
+ };
20812
+ invoice_get_billable_lines: {
20813
+ Args: {
20814
+ _invoice_id: string;
20815
+ };
20816
+ Returns: import("./types").Json;
20817
+ };
20818
+ invoice_get_for_source: {
20819
+ Args: {
20820
+ _source_id: string;
20821
+ _source_type: string;
20822
+ };
20823
+ Returns: import("./types").Json;
20824
+ };
20825
+ invoice_get_summary: {
20826
+ Args: {
20827
+ _invoice_id: string;
20828
+ };
20829
+ Returns: import("./types").Json;
20830
+ };
20831
+ invoice_list_sources: {
20832
+ Args: {
20833
+ _limit?: number;
20834
+ _source_type?: string;
20835
+ };
20836
+ Returns: import("./types").Json;
20837
+ };
20838
+ invoice_recalc_totals: {
20839
+ Args: {
20840
+ _invoice_id: string;
20841
+ };
20842
+ Returns: import("./types").Json;
20843
+ };
20289
20844
  is_authenticated: {
20290
20845
  Args: never;
20291
20846
  Returns: boolean;
@@ -20354,6 +20909,29 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20354
20909
  roles: string[];
20355
20910
  }[];
20356
20911
  };
20912
+ list_monteur_absences: {
20913
+ Args: {
20914
+ _from: string;
20915
+ _to: string;
20916
+ };
20917
+ Returns: {
20918
+ absence_date: string;
20919
+ end_time: string;
20920
+ full_day: boolean;
20921
+ kind: string;
20922
+ monteur_id: string;
20923
+ start_time: string;
20924
+ }[];
20925
+ };
20926
+ list_monteurs: {
20927
+ Args: never;
20928
+ Returns: {
20929
+ avatar_url: string;
20930
+ display_name: string;
20931
+ email: string;
20932
+ id: string;
20933
+ }[];
20934
+ };
20357
20935
  list_my_planning_items: {
20358
20936
  Args: {
20359
20937
  _from: string;
@@ -20765,6 +21343,41 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20765
21343
  };
20766
21344
  Returns: string;
20767
21345
  };
21346
+ logistics_floriday_finish_push_v2: {
21347
+ Args: {
21348
+ _error?: string;
21349
+ _error_code?: string;
21350
+ _fulfillment_order_id?: string;
21351
+ _gateway_status?: number;
21352
+ _id: string;
21353
+ _max_age_hours?: number;
21354
+ _max_attempts?: number;
21355
+ _ok: boolean;
21356
+ _permanent?: boolean;
21357
+ _response?: import("./types").Json;
21358
+ _revision: number;
21359
+ _sent_hash?: string;
21360
+ };
21361
+ Returns: string;
21362
+ };
21363
+ logistics_floriday_finish_push_v3: {
21364
+ Args: {
21365
+ _error?: string;
21366
+ _error_code?: string;
21367
+ _fulfillment_order_id?: string;
21368
+ _gateway_status?: number;
21369
+ _id: string;
21370
+ _max_age_hours?: number;
21371
+ _max_attempts?: number;
21372
+ _outcome: string;
21373
+ _permanent?: boolean;
21374
+ _response?: import("./types").Json;
21375
+ _revision: number;
21376
+ _sent_hash?: string;
21377
+ _wait_max_age_hours?: number;
21378
+ };
21379
+ Returns: string;
21380
+ };
20768
21381
  logistics_floriday_prune_pushes: {
20769
21382
  Args: {
20770
21383
  _days?: number;
@@ -21193,6 +21806,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21193
21806
  verwijderd: number;
21194
21807
  }[];
21195
21808
  };
21809
+ order_departure_proof: {
21810
+ Args: {
21811
+ p_order_id: string;
21812
+ };
21813
+ Returns: import("./types").Json;
21814
+ };
21196
21815
  order_number_prefix: {
21197
21816
  Args: {
21198
21817
  p_custom_fields?: import("./types").Json;
@@ -21307,6 +21926,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21307
21926
  isSetofReturn: false;
21308
21927
  };
21309
21928
  };
21929
+ pick_cleanup_maintenance: {
21930
+ Args: {
21931
+ _heartbeat_hours?: number;
21932
+ _log_days?: number;
21933
+ };
21934
+ Returns: import("./types").Json;
21935
+ };
21310
21936
  pick_complete_print: {
21311
21937
  Args: {
21312
21938
  _printer_id: string;
@@ -21358,6 +21984,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21358
21984
  Args: never;
21359
21985
  Returns: string;
21360
21986
  };
21987
+ pick_day_counts: {
21988
+ Args: {
21989
+ _pick_day?: string;
21990
+ _screen_id?: string;
21991
+ _station_id?: string;
21992
+ };
21993
+ Returns: import("./types").Json;
21994
+ };
21361
21995
  pick_document_layout_data: {
21362
21996
  Args: {
21363
21997
  _layout_id: string;
@@ -21385,6 +22019,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21385
22019
  };
21386
22020
  Returns: import("./types").Json;
21387
22021
  };
22022
+ pick_print_plekken: {
22023
+ Args: never;
22024
+ Returns: {
22025
+ id: string;
22026
+ naam: string;
22027
+ omschrijving: string;
22028
+ }[];
22029
+ };
21388
22030
  pick_release_expired_locks: {
21389
22031
  Args: never;
21390
22032
  Returns: number;
@@ -21395,6 +22037,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21395
22037
  };
21396
22038
  Returns: undefined;
21397
22039
  };
22040
+ pick_reprint_document: {
22041
+ Args: {
22042
+ _queue_item_id: string;
22043
+ _session_id: string;
22044
+ _throttle_seconds?: number;
22045
+ };
22046
+ Returns: string;
22047
+ };
21398
22048
  pick_reset_print: {
21399
22049
  Args: {
21400
22050
  _queue_item_id: string;
@@ -21441,6 +22091,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21441
22091
  isSetofReturn: false;
21442
22092
  };
21443
22093
  };
22094
+ pick_set_station_print_plek: {
22095
+ Args: {
22096
+ _print_plek_id: string;
22097
+ _station_id: string;
22098
+ };
22099
+ Returns: string;
22100
+ };
21444
22101
  pick_station_dashboard: {
21445
22102
  Args: never;
21446
22103
  Returns: {
@@ -21453,6 +22110,25 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21453
22110
  waiting: number;
21454
22111
  }[];
21455
22112
  };
22113
+ pick_station_print_plek: {
22114
+ Args: {
22115
+ _station_id: string;
22116
+ };
22117
+ Returns: {
22118
+ naam: string;
22119
+ omschrijving: string;
22120
+ print_plek_id: string;
22121
+ }[];
22122
+ };
22123
+ pick_station_print_plekken: {
22124
+ Args: never;
22125
+ Returns: {
22126
+ naam: string;
22127
+ omschrijving: string;
22128
+ print_plek_id: string;
22129
+ station_id: string;
22130
+ }[];
22131
+ };
21456
22132
  pick_station_slugify: {
21457
22133
  Args: {
21458
22134
  _id: string;
@@ -21460,6 +22136,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21460
22136
  };
21461
22137
  Returns: string;
21462
22138
  };
22139
+ pick_sync_queue_throttled: {
22140
+ Args: {
22141
+ _min_seconds?: number;
22142
+ };
22143
+ Returns: import("./types").Json;
22144
+ };
21463
22145
  pickstation_get_orders_raw: {
21464
22146
  Args: never;
21465
22147
  Returns: import("./types").Json;
@@ -21605,6 +22287,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21605
22287
  };
21606
22288
  Returns: boolean;
21607
22289
  };
22290
+ release_stale_order_invoice_links: {
22291
+ Args: {
22292
+ _minutes?: number;
22293
+ };
22294
+ Returns: number;
22295
+ };
21608
22296
  reorder_customer_price_groups: {
21609
22297
  Args: {
21610
22298
  _ids: string[];
@@ -22123,6 +22811,20 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22123
22811
  };
22124
22812
  Returns: undefined;
22125
22813
  };
22814
+ twinfield_deactivate_connection: {
22815
+ Args: {
22816
+ p_connection_id: string;
22817
+ p_user_id: string;
22818
+ };
22819
+ Returns: import("./types").Json;
22820
+ };
22821
+ twinfield_handle_administration_change: {
22822
+ Args: {
22823
+ _administration_code: string;
22824
+ _user_id: string;
22825
+ };
22826
+ Returns: undefined;
22827
+ };
22126
22828
  twinfield_prune_push_queue: {
22127
22829
  Args: never;
22128
22830
  Returns: number;
@@ -22142,10 +22844,11 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22142
22844
  p_company_name?: string;
22143
22845
  p_environment: string;
22144
22846
  p_office_code?: string;
22847
+ p_reset_sync?: boolean;
22145
22848
  p_status?: string;
22146
22849
  p_user_id: string;
22147
22850
  };
22148
- Returns: string;
22851
+ Returns: import("./types").Json;
22149
22852
  };
22150
22853
  upsert_auto_fulfillment_log: {
22151
22854
  Args: {