@flowselections/floriday-verkoop-module 1.0.45 → 1.0.46

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 (51) hide show
  1. package/dist-lib/integrations/supabase/auth-middleware.d.ts +520 -145
  2. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  3. package/dist-lib/integrations/supabase/client.d.ts +520 -145
  4. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/client.server.d.ts +520 -145
  6. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/types.d.ts +545 -161
  8. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  9. package/dist-lib/lib/cart-lock.functions.d.ts +520 -145
  10. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  11. package/dist-lib/lib/cart-planning-settings.functions.d.ts +5720 -1595
  12. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  13. package/dist-lib/lib/cart-replan.functions.d.ts +1560 -435
  14. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  15. package/dist-lib/lib/create-order.functions.d.ts +8840 -2465
  16. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  17. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +1560 -435
  18. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  19. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +520 -145
  20. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  21. package/dist-lib/lib/floriday-mirror.functions.d.ts +520 -145
  22. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  23. package/dist-lib/lib/floriday-public.functions.d.ts +3640 -1015
  24. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  25. package/dist-lib/lib/floriday-writes.functions.d.ts +2600 -725
  26. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/invoice-timing.functions.d.ts +2080 -580
  28. package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/load-carriers.functions.d.ts +520 -145
  30. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/logistics-engine.functions.d.ts +2600 -725
  32. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/logistics-stock.functions.d.ts +1040 -290
  34. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/order-addresses.functions.d.ts +520 -145
  36. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/order-buffers.functions.d.ts +1560 -435
  38. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  39. package/dist-lib/lib/order-carrier.functions.d.ts +1040 -290
  40. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  41. package/dist-lib/lib/order-pickup.functions.d.ts +1040 -290
  42. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  43. package/dist-lib/lib/order-shipments.functions.d.ts +2080 -580
  44. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  45. package/dist-lib/lib/salesorders-list.functions.d.ts +520 -145
  46. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  47. package/dist-lib/lib/salesorders.functions.d.ts +2600 -725
  48. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  49. package/dist-lib/lib/tradeitems.functions.d.ts +520 -145
  50. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  51. package/package.json +1 -1
@@ -2759,6 +2759,42 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
2759
2759
  };
2760
2760
  Relationships: [];
2761
2761
  };
2762
+ document_bronregels: {
2763
+ Row: {
2764
+ bron: string;
2765
+ created_at: string;
2766
+ documenttype: string;
2767
+ herkomst: string;
2768
+ id: string;
2769
+ layout_id: string | null;
2770
+ updated_at: string;
2771
+ };
2772
+ Insert: {
2773
+ bron?: string;
2774
+ created_at?: string;
2775
+ documenttype: string;
2776
+ herkomst: string;
2777
+ id?: string;
2778
+ layout_id?: string | null;
2779
+ updated_at?: string;
2780
+ };
2781
+ Update: {
2782
+ bron?: string;
2783
+ created_at?: string;
2784
+ documenttype?: string;
2785
+ herkomst?: string;
2786
+ id?: string;
2787
+ layout_id?: string | null;
2788
+ updated_at?: string;
2789
+ };
2790
+ Relationships: [{
2791
+ foreignKeyName: "document_bronregels_layout_id_fkey";
2792
+ columns: ["layout_id"];
2793
+ isOneToOne: false;
2794
+ referencedRelation: "document_layouts";
2795
+ referencedColumns: ["id"];
2796
+ }];
2797
+ };
2762
2798
  document_formaat_printers: {
2763
2799
  Row: {
2764
2800
  created_at: string;
@@ -3036,6 +3072,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
3036
3072
  Row: {
3037
3073
  actief: boolean;
3038
3074
  breedte_mm: number;
3075
+ bron: string;
3039
3076
  config: import("../integrations/supabase/types").Json;
3040
3077
  created_at: string;
3041
3078
  created_by: string | null;
@@ -3053,12 +3090,14 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
3053
3090
  orientatie: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
3054
3091
  page_settings: import("../integrations/supabase/types").Json;
3055
3092
  papierformaat: string;
3093
+ systeem: boolean;
3056
3094
  thumbnail_url: string | null;
3057
3095
  updated_at: string;
3058
3096
  };
3059
3097
  Insert: {
3060
3098
  actief?: boolean;
3061
3099
  breedte_mm?: number;
3100
+ bron?: string;
3062
3101
  config?: import("../integrations/supabase/types").Json;
3063
3102
  created_at?: string;
3064
3103
  created_by?: string | null;
@@ -3076,12 +3115,14 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
3076
3115
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
3077
3116
  page_settings?: import("../integrations/supabase/types").Json;
3078
3117
  papierformaat?: string;
3118
+ systeem?: boolean;
3079
3119
  thumbnail_url?: string | null;
3080
3120
  updated_at?: string;
3081
3121
  };
3082
3122
  Update: {
3083
3123
  actief?: boolean;
3084
3124
  breedte_mm?: number;
3125
+ bron?: string;
3085
3126
  config?: import("../integrations/supabase/types").Json;
3086
3127
  created_at?: string;
3087
3128
  created_by?: string | null;
@@ -3099,11 +3140,48 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
3099
3140
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
3100
3141
  page_settings?: import("../integrations/supabase/types").Json;
3101
3142
  papierformaat?: string;
3143
+ systeem?: boolean;
3102
3144
  thumbnail_url?: string | null;
3103
3145
  updated_at?: string;
3104
3146
  };
3105
3147
  Relationships: [];
3106
3148
  };
3149
+ document_werkplek_printers: {
3150
+ Row: {
3151
+ created_at: string;
3152
+ documenttype: string;
3153
+ id: string;
3154
+ papierformaat: string | null;
3155
+ printer_id: string | null;
3156
+ updated_at: string;
3157
+ werkplek: string;
3158
+ };
3159
+ Insert: {
3160
+ created_at?: string;
3161
+ documenttype: string;
3162
+ id?: string;
3163
+ papierformaat?: string | null;
3164
+ printer_id?: string | null;
3165
+ updated_at?: string;
3166
+ werkplek: string;
3167
+ };
3168
+ Update: {
3169
+ created_at?: string;
3170
+ documenttype?: string;
3171
+ id?: string;
3172
+ papierformaat?: string | null;
3173
+ printer_id?: string | null;
3174
+ updated_at?: string;
3175
+ werkplek?: string;
3176
+ };
3177
+ Relationships: [{
3178
+ foreignKeyName: "document_werkplek_printers_printer_id_fkey";
3179
+ columns: ["printer_id"];
3180
+ isOneToOne: false;
3181
+ referencedRelation: "printers";
3182
+ referencedColumns: ["id"];
3183
+ }];
3184
+ };
3107
3185
  email_auth_connections: {
3108
3186
  Row: {
3109
3187
  access_token_encrypted: string | null;
@@ -5045,42 +5123,6 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
5045
5123
  };
5046
5124
  Relationships: [];
5047
5125
  };
5048
- facturen: {
5049
- Row: {
5050
- bedrag_incl_btw: number;
5051
- created_at: string;
5052
- datum: string;
5053
- factuurnummer: string;
5054
- id: string;
5055
- klantnaam: string;
5056
- status: string;
5057
- updated_at: string;
5058
- user_id: string;
5059
- };
5060
- Insert: {
5061
- bedrag_incl_btw: number;
5062
- created_at?: string;
5063
- datum?: string;
5064
- factuurnummer: string;
5065
- id?: string;
5066
- klantnaam: string;
5067
- status?: string;
5068
- updated_at?: string;
5069
- user_id?: string;
5070
- };
5071
- Update: {
5072
- bedrag_incl_btw?: number;
5073
- created_at?: string;
5074
- datum?: string;
5075
- factuurnummer?: string;
5076
- id?: string;
5077
- klantnaam?: string;
5078
- status?: string;
5079
- updated_at?: string;
5080
- user_id?: string;
5081
- };
5082
- Relationships: [];
5083
- };
5084
5126
  floricode_connection_settings: {
5085
5127
  Row: {
5086
5128
  catalog_key: string | null;
@@ -7385,8 +7427,63 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
7385
7427
  };
7386
7428
  Relationships: [];
7387
7429
  };
7430
+ invoice_items: {
7431
+ Row: {
7432
+ created_at: string;
7433
+ description: string;
7434
+ id: string;
7435
+ invoice_id: string;
7436
+ kind: string;
7437
+ quantity: number;
7438
+ sort_order: number;
7439
+ source_line_ref: string | null;
7440
+ total_cents: number;
7441
+ unit: string;
7442
+ unit_price_cents: number;
7443
+ };
7444
+ Insert: {
7445
+ created_at?: string;
7446
+ description?: string;
7447
+ id?: string;
7448
+ invoice_id: string;
7449
+ kind?: string;
7450
+ quantity?: number;
7451
+ sort_order?: number;
7452
+ source_line_ref?: string | null;
7453
+ total_cents?: number;
7454
+ unit?: string;
7455
+ unit_price_cents?: number;
7456
+ };
7457
+ Update: {
7458
+ created_at?: string;
7459
+ description?: string;
7460
+ id?: string;
7461
+ invoice_id?: string;
7462
+ kind?: string;
7463
+ quantity?: number;
7464
+ sort_order?: number;
7465
+ source_line_ref?: string | null;
7466
+ total_cents?: number;
7467
+ unit?: string;
7468
+ unit_price_cents?: number;
7469
+ };
7470
+ Relationships: [{
7471
+ foreignKeyName: "invoice_items_invoice_id_fkey";
7472
+ columns: ["invoice_id"];
7473
+ isOneToOne: false;
7474
+ referencedRelation: "invoices";
7475
+ referencedColumns: ["id"];
7476
+ }, {
7477
+ foreignKeyName: "invoice_items_invoice_id_fkey";
7478
+ columns: ["invoice_id"];
7479
+ isOneToOne: false;
7480
+ referencedRelation: "uren_facturen";
7481
+ referencedColumns: ["id"];
7482
+ }];
7483
+ };
7388
7484
  invoice_post_idempotency: {
7389
7485
  Row: {
7486
+ administration_code: string;
7390
7487
  client_request_id: string;
7391
7488
  completed_at: string | null;
7392
7489
  created_at: string;
@@ -7396,6 +7493,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
7396
7493
  user_id: string;
7397
7494
  };
7398
7495
  Insert: {
7496
+ administration_code?: string;
7399
7497
  client_request_id: string;
7400
7498
  completed_at?: string | null;
7401
7499
  created_at?: string;
@@ -7405,6 +7503,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
7405
7503
  user_id: string;
7406
7504
  };
7407
7505
  Update: {
7506
+ administration_code?: string;
7408
7507
  client_request_id?: string;
7409
7508
  completed_at?: string | null;
7410
7509
  created_at?: string;
@@ -7610,6 +7709,75 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
7610
7709
  };
7611
7710
  Relationships: [];
7612
7711
  };
7712
+ invoices: {
7713
+ Row: {
7714
+ created_at: string;
7715
+ created_by: string | null;
7716
+ customer_id: string | null;
7717
+ customer_name: string | null;
7718
+ due_date: string | null;
7719
+ id: string;
7720
+ invoice_date: string;
7721
+ invoice_number: string | null;
7722
+ note: string | null;
7723
+ source_number: string | null;
7724
+ source_ref: string | null;
7725
+ source_type: string;
7726
+ status: string;
7727
+ subtotal_cents: number;
7728
+ total_cents: number;
7729
+ updated_at: string;
7730
+ vat_cents: number;
7731
+ vat_rate: number;
7732
+ };
7733
+ Insert: {
7734
+ created_at?: string;
7735
+ created_by?: string | null;
7736
+ customer_id?: string | null;
7737
+ customer_name?: string | null;
7738
+ due_date?: string | null;
7739
+ id?: string;
7740
+ invoice_date?: string;
7741
+ invoice_number?: string | null;
7742
+ note?: string | null;
7743
+ source_number?: string | null;
7744
+ source_ref?: string | null;
7745
+ source_type?: string;
7746
+ status?: string;
7747
+ subtotal_cents?: number;
7748
+ total_cents?: number;
7749
+ updated_at?: string;
7750
+ vat_cents?: number;
7751
+ vat_rate?: number;
7752
+ };
7753
+ Update: {
7754
+ created_at?: string;
7755
+ created_by?: string | null;
7756
+ customer_id?: string | null;
7757
+ customer_name?: string | null;
7758
+ due_date?: string | null;
7759
+ id?: string;
7760
+ invoice_date?: string;
7761
+ invoice_number?: string | null;
7762
+ note?: string | null;
7763
+ source_number?: string | null;
7764
+ source_ref?: string | null;
7765
+ source_type?: string;
7766
+ status?: string;
7767
+ subtotal_cents?: number;
7768
+ total_cents?: number;
7769
+ updated_at?: string;
7770
+ vat_cents?: number;
7771
+ vat_rate?: number;
7772
+ };
7773
+ Relationships: [{
7774
+ foreignKeyName: "invoices_customer_id_fkey";
7775
+ columns: ["customer_id"];
7776
+ isOneToOne: false;
7777
+ referencedRelation: "itk_customers";
7778
+ referencedColumns: ["id"];
7779
+ }];
7780
+ };
7613
7781
  itk_contact_persons: {
7614
7782
  Row: {
7615
7783
  created_at: string;
@@ -8957,6 +9125,9 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
8957
9125
  id: string;
8958
9126
  last_error: string | null;
8959
9127
  last_error_at: string | null;
9128
+ last_error_code: string | null;
9129
+ last_gateway_status: number | null;
9130
+ last_response: import("../integrations/supabase/types").Json | null;
8960
9131
  last_sent_hash: string | null;
8961
9132
  locked_by: string | null;
8962
9133
  locked_until: string | null;
@@ -8977,6 +9148,9 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
8977
9148
  id?: string;
8978
9149
  last_error?: string | null;
8979
9150
  last_error_at?: string | null;
9151
+ last_error_code?: string | null;
9152
+ last_gateway_status?: number | null;
9153
+ last_response?: import("../integrations/supabase/types").Json | null;
8980
9154
  last_sent_hash?: string | null;
8981
9155
  locked_by?: string | null;
8982
9156
  locked_until?: string | null;
@@ -8997,6 +9171,9 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
8997
9171
  id?: string;
8998
9172
  last_error?: string | null;
8999
9173
  last_error_at?: string | null;
9174
+ last_error_code?: string | null;
9175
+ last_gateway_status?: number | null;
9176
+ last_response?: import("../integrations/supabase/types").Json | null;
9000
9177
  last_sent_hash?: string | null;
9001
9178
  locked_by?: string | null;
9002
9179
  locked_until?: string | null;
@@ -10550,6 +10727,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
10550
10727
  enforce: boolean;
10551
10728
  is_active: boolean;
10552
10729
  last_seen_at: string;
10730
+ missing_count: number;
10553
10731
  module_id: string;
10554
10732
  name: string;
10555
10733
  shell_id: string | null;
@@ -10560,6 +10738,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
10560
10738
  enforce?: boolean;
10561
10739
  is_active?: boolean;
10562
10740
  last_seen_at?: string;
10741
+ missing_count?: number;
10563
10742
  module_id: string;
10564
10743
  name: string;
10565
10744
  shell_id?: string | null;
@@ -10570,6 +10749,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
10570
10749
  enforce?: boolean;
10571
10750
  is_active?: boolean;
10572
10751
  last_seen_at?: string;
10752
+ missing_count?: number;
10573
10753
  module_id?: string;
10574
10754
  name?: string;
10575
10755
  shell_id?: string | null;
@@ -11569,6 +11749,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
11569
11749
  };
11570
11750
  order_invoice_links: {
11571
11751
  Row: {
11752
+ administration_code: string | null;
11572
11753
  attempts: number;
11573
11754
  created_at: string;
11574
11755
  error_message: string | null;
@@ -11581,6 +11762,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
11581
11762
  updated_at: string;
11582
11763
  };
11583
11764
  Insert: {
11765
+ administration_code?: string | null;
11584
11766
  attempts?: number;
11585
11767
  created_at?: string;
11586
11768
  error_message?: string | null;
@@ -11593,6 +11775,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
11593
11775
  updated_at?: string;
11594
11776
  };
11595
11777
  Update: {
11778
+ administration_code?: string | null;
11596
11779
  attempts?: number;
11597
11780
  created_at?: string;
11598
11781
  error_message?: string | null;
@@ -12758,6 +12941,27 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
12758
12941
  referencedColumns: ["id"];
12759
12942
  }];
12760
12943
  };
12944
+ pick_sync_state: {
12945
+ Row: {
12946
+ id: boolean;
12947
+ last_cleanup_at: string | null;
12948
+ last_sync_at: string | null;
12949
+ updated_at: string;
12950
+ };
12951
+ Insert: {
12952
+ id?: boolean;
12953
+ last_cleanup_at?: string | null;
12954
+ last_sync_at?: string | null;
12955
+ updated_at?: string;
12956
+ };
12957
+ Update: {
12958
+ id?: boolean;
12959
+ last_cleanup_at?: string | null;
12960
+ last_sync_at?: string | null;
12961
+ updated_at?: string;
12962
+ };
12963
+ Relationships: [];
12964
+ };
12761
12965
  pick_task_document_types: {
12762
12966
  Row: {
12763
12967
  created_at: string;
@@ -13040,6 +13244,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
13040
13244
  gebruiker_id: string | null;
13041
13245
  gebruiker_naam: string;
13042
13246
  gestart_op: string | null;
13247
+ herkomst: string | null;
13043
13248
  id: string;
13044
13249
  idempotentie_sleutel: string | null;
13045
13250
  is_herprint: boolean;
@@ -13069,6 +13274,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
13069
13274
  gebruiker_id?: string | null;
13070
13275
  gebruiker_naam?: string;
13071
13276
  gestart_op?: string | null;
13277
+ herkomst?: string | null;
13072
13278
  id?: string;
13073
13279
  idempotentie_sleutel?: string | null;
13074
13280
  is_herprint?: boolean;
@@ -13098,6 +13304,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
13098
13304
  gebruiker_id?: string | null;
13099
13305
  gebruiker_naam?: string;
13100
13306
  gestart_op?: string | null;
13307
+ herkomst?: string | null;
13101
13308
  id?: string;
13102
13309
  idempotentie_sleutel?: string | null;
13103
13310
  is_herprint?: boolean;
@@ -16102,12 +16309,16 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
16102
16309
  company_name: string | null;
16103
16310
  connected_at: string | null;
16104
16311
  created_at: string;
16312
+ disconnected_at: string | null;
16105
16313
  environment: string;
16106
16314
  id: string;
16315
+ initial_sync_completed_at: string | null;
16316
+ initial_sync_started_at: string | null;
16107
16317
  is_active: boolean;
16108
16318
  label: string | null;
16109
16319
  office_code: string | null;
16110
16320
  redirect_uri: string | null;
16321
+ superseded_at: string | null;
16111
16322
  updated_at: string;
16112
16323
  user_id: string;
16113
16324
  };
@@ -16118,12 +16329,16 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
16118
16329
  company_name?: string | null;
16119
16330
  connected_at?: string | null;
16120
16331
  created_at?: string;
16332
+ disconnected_at?: string | null;
16121
16333
  environment: string;
16122
16334
  id?: string;
16335
+ initial_sync_completed_at?: string | null;
16336
+ initial_sync_started_at?: string | null;
16123
16337
  is_active?: boolean;
16124
16338
  label?: string | null;
16125
16339
  office_code?: string | null;
16126
16340
  redirect_uri?: string | null;
16341
+ superseded_at?: string | null;
16127
16342
  updated_at?: string;
16128
16343
  user_id: string;
16129
16344
  };
@@ -16134,12 +16349,16 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
16134
16349
  company_name?: string | null;
16135
16350
  connected_at?: string | null;
16136
16351
  created_at?: string;
16352
+ disconnected_at?: string | null;
16137
16353
  environment?: string;
16138
16354
  id?: string;
16355
+ initial_sync_completed_at?: string | null;
16356
+ initial_sync_started_at?: string | null;
16139
16357
  is_active?: boolean;
16140
16358
  label?: string | null;
16141
16359
  office_code?: string | null;
16142
16360
  redirect_uri?: string | null;
16361
+ superseded_at?: string | null;
16143
16362
  updated_at?: string;
16144
16363
  user_id?: string;
16145
16364
  };
@@ -16199,6 +16418,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
16199
16418
  twinfield_customers: {
16200
16419
  Row: {
16201
16420
  address: string | null;
16421
+ administration_code: string;
16202
16422
  city: string | null;
16203
16423
  country: string | null;
16204
16424
  created_at: string;
@@ -16218,6 +16438,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
16218
16438
  };
16219
16439
  Insert: {
16220
16440
  address?: string | null;
16441
+ administration_code?: string;
16221
16442
  city?: string | null;
16222
16443
  country?: string | null;
16223
16444
  created_at?: string;
@@ -16237,6 +16458,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
16237
16458
  };
16238
16459
  Update: {
16239
16460
  address?: string | null;
16461
+ administration_code?: string;
16240
16462
  city?: string | null;
16241
16463
  country?: string | null;
16242
16464
  created_at?: string;
@@ -16450,7 +16672,9 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
16450
16672
  };
16451
16673
  twinfield_invoice_settings: {
16452
16674
  Row: {
16675
+ administration_code: string | null;
16453
16676
  auto_invoice_enabled: boolean;
16677
+ auto_invoice_start_date: string | null;
16454
16678
  auto_invoice_trigger_statuses: string[];
16455
16679
  created_at: string;
16456
16680
  debtor_gl_account: string;
@@ -16464,15 +16688,19 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
16464
16688
  invoice_enabled_fo: boolean;
16465
16689
  invoice_enabled_ho: boolean;
16466
16690
  invoice_enabled_mo: boolean;
16691
+ needs_review: boolean;
16467
16692
  payment_gl_account: string;
16468
16693
  payment_journal_code: string;
16694
+ settings_confirmed_at: string | null;
16469
16695
  updated_at: string;
16470
16696
  user_id: string;
16471
16697
  vat_code_eu_reverse: string | null;
16472
16698
  vat_code_export: string | null;
16473
16699
  };
16474
16700
  Insert: {
16701
+ administration_code?: string | null;
16475
16702
  auto_invoice_enabled?: boolean;
16703
+ auto_invoice_start_date?: string | null;
16476
16704
  auto_invoice_trigger_statuses?: string[];
16477
16705
  created_at?: string;
16478
16706
  debtor_gl_account?: string;
@@ -16486,15 +16714,19 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
16486
16714
  invoice_enabled_fo?: boolean;
16487
16715
  invoice_enabled_ho?: boolean;
16488
16716
  invoice_enabled_mo?: boolean;
16717
+ needs_review?: boolean;
16489
16718
  payment_gl_account?: string;
16490
16719
  payment_journal_code?: string;
16720
+ settings_confirmed_at?: string | null;
16491
16721
  updated_at?: string;
16492
16722
  user_id: string;
16493
16723
  vat_code_eu_reverse?: string | null;
16494
16724
  vat_code_export?: string | null;
16495
16725
  };
16496
16726
  Update: {
16727
+ administration_code?: string | null;
16497
16728
  auto_invoice_enabled?: boolean;
16729
+ auto_invoice_start_date?: string | null;
16498
16730
  auto_invoice_trigger_statuses?: string[];
16499
16731
  created_at?: string;
16500
16732
  debtor_gl_account?: string;
@@ -16508,8 +16740,10 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
16508
16740
  invoice_enabled_fo?: boolean;
16509
16741
  invoice_enabled_ho?: boolean;
16510
16742
  invoice_enabled_mo?: boolean;
16743
+ needs_review?: boolean;
16511
16744
  payment_gl_account?: string;
16512
16745
  payment_journal_code?: string;
16746
+ settings_confirmed_at?: string | null;
16513
16747
  updated_at?: string;
16514
16748
  user_id?: string;
16515
16749
  vat_code_eu_reverse?: string | null;
@@ -17114,114 +17348,6 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
17114
17348
  };
17115
17349
  Relationships: [];
17116
17350
  };
17117
- uren_facturen: {
17118
- Row: {
17119
- created_at: string;
17120
- created_by: string | null;
17121
- customer_id: string | null;
17122
- customer_name: string | null;
17123
- id: string;
17124
- invoice_number: string | null;
17125
- note: string | null;
17126
- status: string;
17127
- total_excl_cents: number;
17128
- total_incl_cents: number;
17129
- updated_at: string;
17130
- vat_cents: number;
17131
- vat_percentage: number;
17132
- werkbon_id: string | null;
17133
- };
17134
- Insert: {
17135
- created_at?: string;
17136
- created_by?: string | null;
17137
- customer_id?: string | null;
17138
- customer_name?: string | null;
17139
- id?: string;
17140
- invoice_number?: string | null;
17141
- note?: string | null;
17142
- status?: string;
17143
- total_excl_cents?: number;
17144
- total_incl_cents?: number;
17145
- updated_at?: string;
17146
- vat_cents?: number;
17147
- vat_percentage?: number;
17148
- werkbon_id?: string | null;
17149
- };
17150
- Update: {
17151
- created_at?: string;
17152
- created_by?: string | null;
17153
- customer_id?: string | null;
17154
- customer_name?: string | null;
17155
- id?: string;
17156
- invoice_number?: string | null;
17157
- note?: string | null;
17158
- status?: string;
17159
- total_excl_cents?: number;
17160
- total_incl_cents?: number;
17161
- updated_at?: string;
17162
- vat_cents?: number;
17163
- vat_percentage?: number;
17164
- werkbon_id?: string | null;
17165
- };
17166
- Relationships: [{
17167
- foreignKeyName: "uren_facturen_customer_id_fkey";
17168
- columns: ["customer_id"];
17169
- isOneToOne: false;
17170
- referencedRelation: "itk_customers";
17171
- referencedColumns: ["id"];
17172
- }, {
17173
- foreignKeyName: "uren_facturen_werkbon_id_fkey";
17174
- columns: ["werkbon_id"];
17175
- isOneToOne: true;
17176
- referencedRelation: "werkbonnen";
17177
- referencedColumns: ["id"];
17178
- }];
17179
- };
17180
- uren_factuur_regels: {
17181
- Row: {
17182
- created_at: string;
17183
- description: string;
17184
- factuur_id: string;
17185
- id: string;
17186
- kind: string | null;
17187
- quantity: number;
17188
- sort_order: number;
17189
- total_cents: number;
17190
- unit: string;
17191
- unit_price_cents: number;
17192
- };
17193
- Insert: {
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
- Update: {
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
- Relationships: [{
17218
- foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
17219
- columns: ["factuur_id"];
17220
- isOneToOne: false;
17221
- referencedRelation: "uren_facturen";
17222
- referencedColumns: ["id"];
17223
- }];
17224
- };
17225
17351
  uren_offerte_regels: {
17226
17352
  Row: {
17227
17353
  created_at: string;
@@ -18475,6 +18601,9 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
18475
18601
  scheduled_end_time: string | null;
18476
18602
  scheduled_start_time: string | null;
18477
18603
  sequence_number: number;
18604
+ signature_accepted_at: string | null;
18605
+ signature_by_user_id: string | null;
18606
+ signature_name: string | null;
18478
18607
  source_email_meta: import("../integrations/supabase/types").Json | null;
18479
18608
  source_mailbox_message_id: string | null;
18480
18609
  source_pdf_path: string | null;
@@ -18510,6 +18639,9 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
18510
18639
  scheduled_end_time?: string | null;
18511
18640
  scheduled_start_time?: string | null;
18512
18641
  sequence_number: number;
18642
+ signature_accepted_at?: string | null;
18643
+ signature_by_user_id?: string | null;
18644
+ signature_name?: string | null;
18513
18645
  source_email_meta?: import("../integrations/supabase/types").Json | null;
18514
18646
  source_mailbox_message_id?: string | null;
18515
18647
  source_pdf_path?: string | null;
@@ -18545,6 +18677,9 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
18545
18677
  scheduled_end_time?: string | null;
18546
18678
  scheduled_start_time?: string | null;
18547
18679
  sequence_number?: number;
18680
+ signature_accepted_at?: string | null;
18681
+ signature_by_user_id?: string | null;
18682
+ signature_name?: string | null;
18548
18683
  source_email_meta?: import("../integrations/supabase/types").Json | null;
18549
18684
  source_mailbox_message_id?: string | null;
18550
18685
  source_pdf_path?: string | null;
@@ -19061,6 +19196,114 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
19061
19196
  };
19062
19197
  Relationships: [];
19063
19198
  };
19199
+ uren_facturen: {
19200
+ Row: {
19201
+ created_at: string | null;
19202
+ created_by: string | null;
19203
+ customer_id: string | null;
19204
+ customer_name: string | null;
19205
+ id: string | null;
19206
+ invoice_number: string | null;
19207
+ note: string | null;
19208
+ status: string | null;
19209
+ total_excl_cents: number | null;
19210
+ total_incl_cents: number | null;
19211
+ updated_at: string | null;
19212
+ vat_cents: number | null;
19213
+ vat_percentage: number | null;
19214
+ werkbon_id: string | null;
19215
+ };
19216
+ Insert: {
19217
+ created_at?: string | null;
19218
+ created_by?: string | null;
19219
+ customer_id?: string | null;
19220
+ customer_name?: string | null;
19221
+ id?: string | null;
19222
+ invoice_number?: string | null;
19223
+ note?: string | null;
19224
+ status?: string | null;
19225
+ total_excl_cents?: number | null;
19226
+ total_incl_cents?: number | null;
19227
+ updated_at?: string | null;
19228
+ vat_cents?: number | null;
19229
+ vat_percentage?: number | null;
19230
+ werkbon_id?: never;
19231
+ };
19232
+ Update: {
19233
+ created_at?: string | null;
19234
+ created_by?: string | null;
19235
+ customer_id?: string | null;
19236
+ customer_name?: string | null;
19237
+ id?: string | null;
19238
+ invoice_number?: string | null;
19239
+ note?: string | null;
19240
+ status?: string | null;
19241
+ total_excl_cents?: number | null;
19242
+ total_incl_cents?: number | null;
19243
+ updated_at?: string | null;
19244
+ vat_cents?: number | null;
19245
+ vat_percentage?: number | null;
19246
+ werkbon_id?: never;
19247
+ };
19248
+ Relationships: [{
19249
+ foreignKeyName: "invoices_customer_id_fkey";
19250
+ columns: ["customer_id"];
19251
+ isOneToOne: false;
19252
+ referencedRelation: "itk_customers";
19253
+ referencedColumns: ["id"];
19254
+ }];
19255
+ };
19256
+ uren_factuur_regels: {
19257
+ Row: {
19258
+ created_at: string | null;
19259
+ description: string | null;
19260
+ factuur_id: string | null;
19261
+ id: string | null;
19262
+ kind: string | null;
19263
+ quantity: number | null;
19264
+ sort_order: number | null;
19265
+ total_cents: number | null;
19266
+ unit: string | null;
19267
+ unit_price_cents: number | null;
19268
+ };
19269
+ Insert: {
19270
+ created_at?: string | null;
19271
+ description?: string | null;
19272
+ factuur_id?: string | null;
19273
+ id?: string | null;
19274
+ kind?: string | null;
19275
+ quantity?: number | null;
19276
+ sort_order?: number | null;
19277
+ total_cents?: number | null;
19278
+ unit?: string | null;
19279
+ unit_price_cents?: number | null;
19280
+ };
19281
+ Update: {
19282
+ created_at?: string | null;
19283
+ description?: string | null;
19284
+ factuur_id?: string | null;
19285
+ id?: string | null;
19286
+ kind?: string | null;
19287
+ quantity?: number | null;
19288
+ sort_order?: number | null;
19289
+ total_cents?: number | null;
19290
+ unit?: string | null;
19291
+ unit_price_cents?: number | null;
19292
+ };
19293
+ Relationships: [{
19294
+ foreignKeyName: "invoice_items_invoice_id_fkey";
19295
+ columns: ["factuur_id"];
19296
+ isOneToOne: false;
19297
+ referencedRelation: "invoices";
19298
+ referencedColumns: ["id"];
19299
+ }, {
19300
+ foreignKeyName: "invoice_items_invoice_id_fkey";
19301
+ columns: ["factuur_id"];
19302
+ isOneToOne: false;
19303
+ referencedRelation: "uren_facturen";
19304
+ referencedColumns: ["id"];
19305
+ }];
19306
+ };
19064
19307
  v_external_customers_exact: {
19065
19308
  Row: {
19066
19309
  account_number: string | null;
@@ -19566,6 +19809,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
19566
19809
  gebruiker_id: string | null;
19567
19810
  gebruiker_naam: string;
19568
19811
  gestart_op: string | null;
19812
+ herkomst: string | null;
19569
19813
  id: string;
19570
19814
  idempotentie_sleutel: string | null;
19571
19815
  is_herprint: boolean;
@@ -19686,6 +19930,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
19686
19930
  gebruiker_id: string | null;
19687
19931
  gebruiker_naam: string;
19688
19932
  gestart_op: string | null;
19933
+ herkomst: string | null;
19689
19934
  id: string;
19690
19935
  idempotentie_sleutel: string | null;
19691
19936
  is_herprint: boolean;
@@ -20287,6 +20532,46 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
20287
20532
  Args: never;
20288
20533
  Returns: boolean;
20289
20534
  };
20535
+ invoice_create_from_source: {
20536
+ Args: {
20537
+ _payload?: import("../integrations/supabase/types").Json;
20538
+ _source_id: string;
20539
+ _source_type: string;
20540
+ };
20541
+ Returns: import("../integrations/supabase/types").Json;
20542
+ };
20543
+ invoice_get_billable_lines: {
20544
+ Args: {
20545
+ _invoice_id: string;
20546
+ };
20547
+ Returns: import("../integrations/supabase/types").Json;
20548
+ };
20549
+ invoice_get_for_source: {
20550
+ Args: {
20551
+ _source_id: string;
20552
+ _source_type: string;
20553
+ };
20554
+ Returns: import("../integrations/supabase/types").Json;
20555
+ };
20556
+ invoice_get_summary: {
20557
+ Args: {
20558
+ _invoice_id: string;
20559
+ };
20560
+ Returns: import("../integrations/supabase/types").Json;
20561
+ };
20562
+ invoice_list_sources: {
20563
+ Args: {
20564
+ _limit?: number;
20565
+ _source_type?: string;
20566
+ };
20567
+ Returns: import("../integrations/supabase/types").Json;
20568
+ };
20569
+ invoice_recalc_totals: {
20570
+ Args: {
20571
+ _invoice_id: string;
20572
+ };
20573
+ Returns: import("../integrations/supabase/types").Json;
20574
+ };
20290
20575
  is_authenticated: {
20291
20576
  Args: never;
20292
20577
  Returns: boolean;
@@ -20355,6 +20640,29 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
20355
20640
  roles: string[];
20356
20641
  }[];
20357
20642
  };
20643
+ list_monteur_absences: {
20644
+ Args: {
20645
+ _from: string;
20646
+ _to: string;
20647
+ };
20648
+ Returns: {
20649
+ absence_date: string;
20650
+ end_time: string;
20651
+ full_day: boolean;
20652
+ kind: string;
20653
+ monteur_id: string;
20654
+ start_time: string;
20655
+ }[];
20656
+ };
20657
+ list_monteurs: {
20658
+ Args: never;
20659
+ Returns: {
20660
+ avatar_url: string;
20661
+ display_name: string;
20662
+ email: string;
20663
+ id: string;
20664
+ }[];
20665
+ };
20358
20666
  list_my_planning_items: {
20359
20667
  Args: {
20360
20668
  _from: string;
@@ -20766,6 +21074,23 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
20766
21074
  };
20767
21075
  Returns: string;
20768
21076
  };
21077
+ logistics_floriday_finish_push_v2: {
21078
+ Args: {
21079
+ _error?: string;
21080
+ _error_code?: string;
21081
+ _fulfillment_order_id?: string;
21082
+ _gateway_status?: number;
21083
+ _id: string;
21084
+ _max_age_hours?: number;
21085
+ _max_attempts?: number;
21086
+ _ok: boolean;
21087
+ _permanent?: boolean;
21088
+ _response?: import("../integrations/supabase/types").Json;
21089
+ _revision: number;
21090
+ _sent_hash?: string;
21091
+ };
21092
+ Returns: string;
21093
+ };
20769
21094
  logistics_floriday_prune_pushes: {
20770
21095
  Args: {
20771
21096
  _days?: number;
@@ -21308,6 +21633,13 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
21308
21633
  isSetofReturn: false;
21309
21634
  };
21310
21635
  };
21636
+ pick_cleanup_maintenance: {
21637
+ Args: {
21638
+ _heartbeat_hours?: number;
21639
+ _log_days?: number;
21640
+ };
21641
+ Returns: import("../integrations/supabase/types").Json;
21642
+ };
21311
21643
  pick_complete_print: {
21312
21644
  Args: {
21313
21645
  _printer_id: string;
@@ -21359,6 +21691,14 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
21359
21691
  Args: never;
21360
21692
  Returns: string;
21361
21693
  };
21694
+ pick_day_counts: {
21695
+ Args: {
21696
+ _pick_day?: string;
21697
+ _screen_id?: string;
21698
+ _station_id?: string;
21699
+ };
21700
+ Returns: import("../integrations/supabase/types").Json;
21701
+ };
21362
21702
  pick_document_layout_data: {
21363
21703
  Args: {
21364
21704
  _layout_id: string;
@@ -21396,6 +21736,14 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
21396
21736
  };
21397
21737
  Returns: undefined;
21398
21738
  };
21739
+ pick_reprint_document: {
21740
+ Args: {
21741
+ _queue_item_id: string;
21742
+ _session_id: string;
21743
+ _throttle_seconds?: number;
21744
+ };
21745
+ Returns: string;
21746
+ };
21399
21747
  pick_reset_print: {
21400
21748
  Args: {
21401
21749
  _queue_item_id: string;
@@ -21461,6 +21809,12 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
21461
21809
  };
21462
21810
  Returns: string;
21463
21811
  };
21812
+ pick_sync_queue_throttled: {
21813
+ Args: {
21814
+ _min_seconds?: number;
21815
+ };
21816
+ Returns: import("../integrations/supabase/types").Json;
21817
+ };
21464
21818
  pickstation_get_orders_raw: {
21465
21819
  Args: never;
21466
21820
  Returns: import("../integrations/supabase/types").Json;
@@ -21606,6 +21960,12 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
21606
21960
  };
21607
21961
  Returns: boolean;
21608
21962
  };
21963
+ release_stale_order_invoice_links: {
21964
+ Args: {
21965
+ _minutes?: number;
21966
+ };
21967
+ Returns: number;
21968
+ };
21609
21969
  reorder_customer_price_groups: {
21610
21970
  Args: {
21611
21971
  _ids: string[];
@@ -22124,6 +22484,20 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
22124
22484
  };
22125
22485
  Returns: undefined;
22126
22486
  };
22487
+ twinfield_deactivate_connection: {
22488
+ Args: {
22489
+ p_connection_id: string;
22490
+ p_user_id: string;
22491
+ };
22492
+ Returns: import("../integrations/supabase/types").Json;
22493
+ };
22494
+ twinfield_handle_administration_change: {
22495
+ Args: {
22496
+ _administration_code: string;
22497
+ _user_id: string;
22498
+ };
22499
+ Returns: undefined;
22500
+ };
22127
22501
  twinfield_prune_push_queue: {
22128
22502
  Args: never;
22129
22503
  Returns: number;
@@ -22143,10 +22517,11 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
22143
22517
  p_company_name?: string;
22144
22518
  p_environment: string;
22145
22519
  p_office_code?: string;
22520
+ p_reset_sync?: boolean;
22146
22521
  p_status?: string;
22147
22522
  p_user_id: string;
22148
22523
  };
22149
- Returns: string;
22524
+ Returns: import("../integrations/supabase/types").Json;
22150
22525
  };
22151
22526
  upsert_auto_fulfillment_log: {
22152
22527
  Args: {
@@ -24977,6 +25352,42 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
24977
25352
  };
24978
25353
  Relationships: [];
24979
25354
  };
25355
+ document_bronregels: {
25356
+ Row: {
25357
+ bron: string;
25358
+ created_at: string;
25359
+ documenttype: string;
25360
+ herkomst: string;
25361
+ id: string;
25362
+ layout_id: string | null;
25363
+ updated_at: string;
25364
+ };
25365
+ Insert: {
25366
+ bron?: string;
25367
+ created_at?: string;
25368
+ documenttype: string;
25369
+ herkomst: string;
25370
+ id?: string;
25371
+ layout_id?: string | null;
25372
+ updated_at?: string;
25373
+ };
25374
+ Update: {
25375
+ bron?: string;
25376
+ created_at?: string;
25377
+ documenttype?: string;
25378
+ herkomst?: string;
25379
+ id?: string;
25380
+ layout_id?: string | null;
25381
+ updated_at?: string;
25382
+ };
25383
+ Relationships: [{
25384
+ foreignKeyName: "document_bronregels_layout_id_fkey";
25385
+ columns: ["layout_id"];
25386
+ isOneToOne: false;
25387
+ referencedRelation: "document_layouts";
25388
+ referencedColumns: ["id"];
25389
+ }];
25390
+ };
24980
25391
  document_formaat_printers: {
24981
25392
  Row: {
24982
25393
  created_at: string;
@@ -25254,6 +25665,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
25254
25665
  Row: {
25255
25666
  actief: boolean;
25256
25667
  breedte_mm: number;
25668
+ bron: string;
25257
25669
  config: import("../integrations/supabase/types").Json;
25258
25670
  created_at: string;
25259
25671
  created_by: string | null;
@@ -25271,12 +25683,14 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
25271
25683
  orientatie: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
25272
25684
  page_settings: import("../integrations/supabase/types").Json;
25273
25685
  papierformaat: string;
25686
+ systeem: boolean;
25274
25687
  thumbnail_url: string | null;
25275
25688
  updated_at: string;
25276
25689
  };
25277
25690
  Insert: {
25278
25691
  actief?: boolean;
25279
25692
  breedte_mm?: number;
25693
+ bron?: string;
25280
25694
  config?: import("../integrations/supabase/types").Json;
25281
25695
  created_at?: string;
25282
25696
  created_by?: string | null;
@@ -25294,12 +25708,14 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
25294
25708
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
25295
25709
  page_settings?: import("../integrations/supabase/types").Json;
25296
25710
  papierformaat?: string;
25711
+ systeem?: boolean;
25297
25712
  thumbnail_url?: string | null;
25298
25713
  updated_at?: string;
25299
25714
  };
25300
25715
  Update: {
25301
25716
  actief?: boolean;
25302
25717
  breedte_mm?: number;
25718
+ bron?: string;
25303
25719
  config?: import("../integrations/supabase/types").Json;
25304
25720
  created_at?: string;
25305
25721
  created_by?: string | null;
@@ -25317,11 +25733,48 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
25317
25733
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
25318
25734
  page_settings?: import("../integrations/supabase/types").Json;
25319
25735
  papierformaat?: string;
25736
+ systeem?: boolean;
25320
25737
  thumbnail_url?: string | null;
25321
25738
  updated_at?: string;
25322
25739
  };
25323
25740
  Relationships: [];
25324
25741
  };
25742
+ document_werkplek_printers: {
25743
+ Row: {
25744
+ created_at: string;
25745
+ documenttype: string;
25746
+ id: string;
25747
+ papierformaat: string | null;
25748
+ printer_id: string | null;
25749
+ updated_at: string;
25750
+ werkplek: string;
25751
+ };
25752
+ Insert: {
25753
+ created_at?: string;
25754
+ documenttype: string;
25755
+ id?: string;
25756
+ papierformaat?: string | null;
25757
+ printer_id?: string | null;
25758
+ updated_at?: string;
25759
+ werkplek: string;
25760
+ };
25761
+ Update: {
25762
+ created_at?: string;
25763
+ documenttype?: string;
25764
+ id?: string;
25765
+ papierformaat?: string | null;
25766
+ printer_id?: string | null;
25767
+ updated_at?: string;
25768
+ werkplek?: string;
25769
+ };
25770
+ Relationships: [{
25771
+ foreignKeyName: "document_werkplek_printers_printer_id_fkey";
25772
+ columns: ["printer_id"];
25773
+ isOneToOne: false;
25774
+ referencedRelation: "printers";
25775
+ referencedColumns: ["id"];
25776
+ }];
25777
+ };
25325
25778
  email_auth_connections: {
25326
25779
  Row: {
25327
25780
  access_token_encrypted: string | null;
@@ -27263,42 +27716,6 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
27263
27716
  };
27264
27717
  Relationships: [];
27265
27718
  };
27266
- facturen: {
27267
- Row: {
27268
- bedrag_incl_btw: number;
27269
- created_at: string;
27270
- datum: string;
27271
- factuurnummer: string;
27272
- id: string;
27273
- klantnaam: string;
27274
- status: string;
27275
- updated_at: string;
27276
- user_id: string;
27277
- };
27278
- Insert: {
27279
- bedrag_incl_btw: number;
27280
- created_at?: string;
27281
- datum?: string;
27282
- factuurnummer: string;
27283
- id?: string;
27284
- klantnaam: string;
27285
- status?: string;
27286
- updated_at?: string;
27287
- user_id?: string;
27288
- };
27289
- Update: {
27290
- bedrag_incl_btw?: number;
27291
- created_at?: string;
27292
- datum?: string;
27293
- factuurnummer?: string;
27294
- id?: string;
27295
- klantnaam?: string;
27296
- status?: string;
27297
- updated_at?: string;
27298
- user_id?: string;
27299
- };
27300
- Relationships: [];
27301
- };
27302
27719
  floricode_connection_settings: {
27303
27720
  Row: {
27304
27721
  catalog_key: string | null;
@@ -29603,8 +30020,63 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
29603
30020
  };
29604
30021
  Relationships: [];
29605
30022
  };
30023
+ invoice_items: {
30024
+ Row: {
30025
+ created_at: string;
30026
+ description: string;
30027
+ id: string;
30028
+ invoice_id: string;
30029
+ kind: string;
30030
+ quantity: number;
30031
+ sort_order: number;
30032
+ source_line_ref: string | null;
30033
+ total_cents: number;
30034
+ unit: string;
30035
+ unit_price_cents: number;
30036
+ };
30037
+ Insert: {
30038
+ created_at?: string;
30039
+ description?: string;
30040
+ id?: string;
30041
+ invoice_id: string;
30042
+ kind?: string;
30043
+ quantity?: number;
30044
+ sort_order?: number;
30045
+ source_line_ref?: string | null;
30046
+ total_cents?: number;
30047
+ unit?: string;
30048
+ unit_price_cents?: number;
30049
+ };
30050
+ Update: {
30051
+ created_at?: string;
30052
+ description?: string;
30053
+ id?: string;
30054
+ invoice_id?: string;
30055
+ kind?: string;
30056
+ quantity?: number;
30057
+ sort_order?: number;
30058
+ source_line_ref?: string | null;
30059
+ total_cents?: number;
30060
+ unit?: string;
30061
+ unit_price_cents?: number;
30062
+ };
30063
+ Relationships: [{
30064
+ foreignKeyName: "invoice_items_invoice_id_fkey";
30065
+ columns: ["invoice_id"];
30066
+ isOneToOne: false;
30067
+ referencedRelation: "invoices";
30068
+ referencedColumns: ["id"];
30069
+ }, {
30070
+ foreignKeyName: "invoice_items_invoice_id_fkey";
30071
+ columns: ["invoice_id"];
30072
+ isOneToOne: false;
30073
+ referencedRelation: "uren_facturen";
30074
+ referencedColumns: ["id"];
30075
+ }];
30076
+ };
29606
30077
  invoice_post_idempotency: {
29607
30078
  Row: {
30079
+ administration_code: string;
29608
30080
  client_request_id: string;
29609
30081
  completed_at: string | null;
29610
30082
  created_at: string;
@@ -29614,6 +30086,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
29614
30086
  user_id: string;
29615
30087
  };
29616
30088
  Insert: {
30089
+ administration_code?: string;
29617
30090
  client_request_id: string;
29618
30091
  completed_at?: string | null;
29619
30092
  created_at?: string;
@@ -29623,6 +30096,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
29623
30096
  user_id: string;
29624
30097
  };
29625
30098
  Update: {
30099
+ administration_code?: string;
29626
30100
  client_request_id?: string;
29627
30101
  completed_at?: string | null;
29628
30102
  created_at?: string;
@@ -29828,6 +30302,75 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
29828
30302
  };
29829
30303
  Relationships: [];
29830
30304
  };
30305
+ invoices: {
30306
+ Row: {
30307
+ created_at: string;
30308
+ created_by: string | null;
30309
+ customer_id: string | null;
30310
+ customer_name: string | null;
30311
+ due_date: string | null;
30312
+ id: string;
30313
+ invoice_date: string;
30314
+ invoice_number: string | null;
30315
+ note: string | null;
30316
+ source_number: string | null;
30317
+ source_ref: string | null;
30318
+ source_type: string;
30319
+ status: string;
30320
+ subtotal_cents: number;
30321
+ total_cents: number;
30322
+ updated_at: string;
30323
+ vat_cents: number;
30324
+ vat_rate: number;
30325
+ };
30326
+ Insert: {
30327
+ created_at?: string;
30328
+ created_by?: string | null;
30329
+ customer_id?: string | null;
30330
+ customer_name?: string | null;
30331
+ due_date?: string | null;
30332
+ id?: string;
30333
+ invoice_date?: string;
30334
+ invoice_number?: string | null;
30335
+ note?: string | null;
30336
+ source_number?: string | null;
30337
+ source_ref?: string | null;
30338
+ source_type?: string;
30339
+ status?: string;
30340
+ subtotal_cents?: number;
30341
+ total_cents?: number;
30342
+ updated_at?: string;
30343
+ vat_cents?: number;
30344
+ vat_rate?: number;
30345
+ };
30346
+ Update: {
30347
+ created_at?: string;
30348
+ created_by?: string | null;
30349
+ customer_id?: string | null;
30350
+ customer_name?: string | null;
30351
+ due_date?: string | null;
30352
+ id?: string;
30353
+ invoice_date?: string;
30354
+ invoice_number?: string | null;
30355
+ note?: string | null;
30356
+ source_number?: string | null;
30357
+ source_ref?: string | null;
30358
+ source_type?: string;
30359
+ status?: string;
30360
+ subtotal_cents?: number;
30361
+ total_cents?: number;
30362
+ updated_at?: string;
30363
+ vat_cents?: number;
30364
+ vat_rate?: number;
30365
+ };
30366
+ Relationships: [{
30367
+ foreignKeyName: "invoices_customer_id_fkey";
30368
+ columns: ["customer_id"];
30369
+ isOneToOne: false;
30370
+ referencedRelation: "itk_customers";
30371
+ referencedColumns: ["id"];
30372
+ }];
30373
+ };
29831
30374
  itk_contact_persons: {
29832
30375
  Row: {
29833
30376
  created_at: string;
@@ -31175,6 +31718,9 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
31175
31718
  id: string;
31176
31719
  last_error: string | null;
31177
31720
  last_error_at: string | null;
31721
+ last_error_code: string | null;
31722
+ last_gateway_status: number | null;
31723
+ last_response: import("../integrations/supabase/types").Json | null;
31178
31724
  last_sent_hash: string | null;
31179
31725
  locked_by: string | null;
31180
31726
  locked_until: string | null;
@@ -31195,6 +31741,9 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
31195
31741
  id?: string;
31196
31742
  last_error?: string | null;
31197
31743
  last_error_at?: string | null;
31744
+ last_error_code?: string | null;
31745
+ last_gateway_status?: number | null;
31746
+ last_response?: import("../integrations/supabase/types").Json | null;
31198
31747
  last_sent_hash?: string | null;
31199
31748
  locked_by?: string | null;
31200
31749
  locked_until?: string | null;
@@ -31215,6 +31764,9 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
31215
31764
  id?: string;
31216
31765
  last_error?: string | null;
31217
31766
  last_error_at?: string | null;
31767
+ last_error_code?: string | null;
31768
+ last_gateway_status?: number | null;
31769
+ last_response?: import("../integrations/supabase/types").Json | null;
31218
31770
  last_sent_hash?: string | null;
31219
31771
  locked_by?: string | null;
31220
31772
  locked_until?: string | null;
@@ -32768,6 +33320,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
32768
33320
  enforce: boolean;
32769
33321
  is_active: boolean;
32770
33322
  last_seen_at: string;
33323
+ missing_count: number;
32771
33324
  module_id: string;
32772
33325
  name: string;
32773
33326
  shell_id: string | null;
@@ -32778,6 +33331,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
32778
33331
  enforce?: boolean;
32779
33332
  is_active?: boolean;
32780
33333
  last_seen_at?: string;
33334
+ missing_count?: number;
32781
33335
  module_id: string;
32782
33336
  name: string;
32783
33337
  shell_id?: string | null;
@@ -32788,6 +33342,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
32788
33342
  enforce?: boolean;
32789
33343
  is_active?: boolean;
32790
33344
  last_seen_at?: string;
33345
+ missing_count?: number;
32791
33346
  module_id?: string;
32792
33347
  name?: string;
32793
33348
  shell_id?: string | null;
@@ -33787,6 +34342,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
33787
34342
  };
33788
34343
  order_invoice_links: {
33789
34344
  Row: {
34345
+ administration_code: string | null;
33790
34346
  attempts: number;
33791
34347
  created_at: string;
33792
34348
  error_message: string | null;
@@ -33799,6 +34355,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
33799
34355
  updated_at: string;
33800
34356
  };
33801
34357
  Insert: {
34358
+ administration_code?: string | null;
33802
34359
  attempts?: number;
33803
34360
  created_at?: string;
33804
34361
  error_message?: string | null;
@@ -33811,6 +34368,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
33811
34368
  updated_at?: string;
33812
34369
  };
33813
34370
  Update: {
34371
+ administration_code?: string | null;
33814
34372
  attempts?: number;
33815
34373
  created_at?: string;
33816
34374
  error_message?: string | null;
@@ -34976,6 +35534,27 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
34976
35534
  referencedColumns: ["id"];
34977
35535
  }];
34978
35536
  };
35537
+ pick_sync_state: {
35538
+ Row: {
35539
+ id: boolean;
35540
+ last_cleanup_at: string | null;
35541
+ last_sync_at: string | null;
35542
+ updated_at: string;
35543
+ };
35544
+ Insert: {
35545
+ id?: boolean;
35546
+ last_cleanup_at?: string | null;
35547
+ last_sync_at?: string | null;
35548
+ updated_at?: string;
35549
+ };
35550
+ Update: {
35551
+ id?: boolean;
35552
+ last_cleanup_at?: string | null;
35553
+ last_sync_at?: string | null;
35554
+ updated_at?: string;
35555
+ };
35556
+ Relationships: [];
35557
+ };
34979
35558
  pick_task_document_types: {
34980
35559
  Row: {
34981
35560
  created_at: string;
@@ -35258,6 +35837,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
35258
35837
  gebruiker_id: string | null;
35259
35838
  gebruiker_naam: string;
35260
35839
  gestart_op: string | null;
35840
+ herkomst: string | null;
35261
35841
  id: string;
35262
35842
  idempotentie_sleutel: string | null;
35263
35843
  is_herprint: boolean;
@@ -35287,6 +35867,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
35287
35867
  gebruiker_id?: string | null;
35288
35868
  gebruiker_naam?: string;
35289
35869
  gestart_op?: string | null;
35870
+ herkomst?: string | null;
35290
35871
  id?: string;
35291
35872
  idempotentie_sleutel?: string | null;
35292
35873
  is_herprint?: boolean;
@@ -35316,6 +35897,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
35316
35897
  gebruiker_id?: string | null;
35317
35898
  gebruiker_naam?: string;
35318
35899
  gestart_op?: string | null;
35900
+ herkomst?: string | null;
35319
35901
  id?: string;
35320
35902
  idempotentie_sleutel?: string | null;
35321
35903
  is_herprint?: boolean;
@@ -38320,12 +38902,16 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
38320
38902
  company_name: string | null;
38321
38903
  connected_at: string | null;
38322
38904
  created_at: string;
38905
+ disconnected_at: string | null;
38323
38906
  environment: string;
38324
38907
  id: string;
38908
+ initial_sync_completed_at: string | null;
38909
+ initial_sync_started_at: string | null;
38325
38910
  is_active: boolean;
38326
38911
  label: string | null;
38327
38912
  office_code: string | null;
38328
38913
  redirect_uri: string | null;
38914
+ superseded_at: string | null;
38329
38915
  updated_at: string;
38330
38916
  user_id: string;
38331
38917
  };
@@ -38336,12 +38922,16 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
38336
38922
  company_name?: string | null;
38337
38923
  connected_at?: string | null;
38338
38924
  created_at?: string;
38925
+ disconnected_at?: string | null;
38339
38926
  environment: string;
38340
38927
  id?: string;
38928
+ initial_sync_completed_at?: string | null;
38929
+ initial_sync_started_at?: string | null;
38341
38930
  is_active?: boolean;
38342
38931
  label?: string | null;
38343
38932
  office_code?: string | null;
38344
38933
  redirect_uri?: string | null;
38934
+ superseded_at?: string | null;
38345
38935
  updated_at?: string;
38346
38936
  user_id: string;
38347
38937
  };
@@ -38352,12 +38942,16 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
38352
38942
  company_name?: string | null;
38353
38943
  connected_at?: string | null;
38354
38944
  created_at?: string;
38945
+ disconnected_at?: string | null;
38355
38946
  environment?: string;
38356
38947
  id?: string;
38948
+ initial_sync_completed_at?: string | null;
38949
+ initial_sync_started_at?: string | null;
38357
38950
  is_active?: boolean;
38358
38951
  label?: string | null;
38359
38952
  office_code?: string | null;
38360
38953
  redirect_uri?: string | null;
38954
+ superseded_at?: string | null;
38361
38955
  updated_at?: string;
38362
38956
  user_id?: string;
38363
38957
  };
@@ -38417,6 +39011,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
38417
39011
  twinfield_customers: {
38418
39012
  Row: {
38419
39013
  address: string | null;
39014
+ administration_code: string;
38420
39015
  city: string | null;
38421
39016
  country: string | null;
38422
39017
  created_at: string;
@@ -38436,6 +39031,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
38436
39031
  };
38437
39032
  Insert: {
38438
39033
  address?: string | null;
39034
+ administration_code?: string;
38439
39035
  city?: string | null;
38440
39036
  country?: string | null;
38441
39037
  created_at?: string;
@@ -38455,6 +39051,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
38455
39051
  };
38456
39052
  Update: {
38457
39053
  address?: string | null;
39054
+ administration_code?: string;
38458
39055
  city?: string | null;
38459
39056
  country?: string | null;
38460
39057
  created_at?: string;
@@ -38668,7 +39265,9 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
38668
39265
  };
38669
39266
  twinfield_invoice_settings: {
38670
39267
  Row: {
39268
+ administration_code: string | null;
38671
39269
  auto_invoice_enabled: boolean;
39270
+ auto_invoice_start_date: string | null;
38672
39271
  auto_invoice_trigger_statuses: string[];
38673
39272
  created_at: string;
38674
39273
  debtor_gl_account: string;
@@ -38682,15 +39281,19 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
38682
39281
  invoice_enabled_fo: boolean;
38683
39282
  invoice_enabled_ho: boolean;
38684
39283
  invoice_enabled_mo: boolean;
39284
+ needs_review: boolean;
38685
39285
  payment_gl_account: string;
38686
39286
  payment_journal_code: string;
39287
+ settings_confirmed_at: string | null;
38687
39288
  updated_at: string;
38688
39289
  user_id: string;
38689
39290
  vat_code_eu_reverse: string | null;
38690
39291
  vat_code_export: string | null;
38691
39292
  };
38692
39293
  Insert: {
39294
+ administration_code?: string | null;
38693
39295
  auto_invoice_enabled?: boolean;
39296
+ auto_invoice_start_date?: string | null;
38694
39297
  auto_invoice_trigger_statuses?: string[];
38695
39298
  created_at?: string;
38696
39299
  debtor_gl_account?: string;
@@ -38704,15 +39307,19 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
38704
39307
  invoice_enabled_fo?: boolean;
38705
39308
  invoice_enabled_ho?: boolean;
38706
39309
  invoice_enabled_mo?: boolean;
39310
+ needs_review?: boolean;
38707
39311
  payment_gl_account?: string;
38708
39312
  payment_journal_code?: string;
39313
+ settings_confirmed_at?: string | null;
38709
39314
  updated_at?: string;
38710
39315
  user_id: string;
38711
39316
  vat_code_eu_reverse?: string | null;
38712
39317
  vat_code_export?: string | null;
38713
39318
  };
38714
39319
  Update: {
39320
+ administration_code?: string | null;
38715
39321
  auto_invoice_enabled?: boolean;
39322
+ auto_invoice_start_date?: string | null;
38716
39323
  auto_invoice_trigger_statuses?: string[];
38717
39324
  created_at?: string;
38718
39325
  debtor_gl_account?: string;
@@ -38726,8 +39333,10 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
38726
39333
  invoice_enabled_fo?: boolean;
38727
39334
  invoice_enabled_ho?: boolean;
38728
39335
  invoice_enabled_mo?: boolean;
39336
+ needs_review?: boolean;
38729
39337
  payment_gl_account?: string;
38730
39338
  payment_journal_code?: string;
39339
+ settings_confirmed_at?: string | null;
38731
39340
  updated_at?: string;
38732
39341
  user_id?: string;
38733
39342
  vat_code_eu_reverse?: string | null;
@@ -39332,114 +39941,6 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
39332
39941
  };
39333
39942
  Relationships: [];
39334
39943
  };
39335
- uren_facturen: {
39336
- Row: {
39337
- created_at: string;
39338
- created_by: string | null;
39339
- customer_id: string | null;
39340
- customer_name: string | null;
39341
- id: string;
39342
- invoice_number: string | null;
39343
- note: string | null;
39344
- status: string;
39345
- total_excl_cents: number;
39346
- total_incl_cents: number;
39347
- updated_at: string;
39348
- vat_cents: number;
39349
- vat_percentage: number;
39350
- werkbon_id: string | null;
39351
- };
39352
- Insert: {
39353
- created_at?: string;
39354
- created_by?: string | null;
39355
- customer_id?: string | null;
39356
- customer_name?: string | null;
39357
- id?: string;
39358
- invoice_number?: string | null;
39359
- note?: string | null;
39360
- status?: string;
39361
- total_excl_cents?: number;
39362
- total_incl_cents?: number;
39363
- updated_at?: string;
39364
- vat_cents?: number;
39365
- vat_percentage?: number;
39366
- werkbon_id?: string | null;
39367
- };
39368
- Update: {
39369
- created_at?: string;
39370
- created_by?: string | null;
39371
- customer_id?: string | null;
39372
- customer_name?: string | null;
39373
- id?: string;
39374
- invoice_number?: string | null;
39375
- note?: string | null;
39376
- status?: string;
39377
- total_excl_cents?: number;
39378
- total_incl_cents?: number;
39379
- updated_at?: string;
39380
- vat_cents?: number;
39381
- vat_percentage?: number;
39382
- werkbon_id?: string | null;
39383
- };
39384
- Relationships: [{
39385
- foreignKeyName: "uren_facturen_customer_id_fkey";
39386
- columns: ["customer_id"];
39387
- isOneToOne: false;
39388
- referencedRelation: "itk_customers";
39389
- referencedColumns: ["id"];
39390
- }, {
39391
- foreignKeyName: "uren_facturen_werkbon_id_fkey";
39392
- columns: ["werkbon_id"];
39393
- isOneToOne: true;
39394
- referencedRelation: "werkbonnen";
39395
- referencedColumns: ["id"];
39396
- }];
39397
- };
39398
- uren_factuur_regels: {
39399
- Row: {
39400
- created_at: string;
39401
- description: string;
39402
- factuur_id: string;
39403
- id: string;
39404
- kind: string | null;
39405
- quantity: number;
39406
- sort_order: number;
39407
- total_cents: number;
39408
- unit: string;
39409
- unit_price_cents: number;
39410
- };
39411
- Insert: {
39412
- created_at?: string;
39413
- description: string;
39414
- factuur_id: string;
39415
- id?: string;
39416
- kind?: string | null;
39417
- quantity?: number;
39418
- sort_order?: number;
39419
- total_cents?: number;
39420
- unit?: string;
39421
- unit_price_cents?: number;
39422
- };
39423
- Update: {
39424
- created_at?: string;
39425
- description?: string;
39426
- factuur_id?: string;
39427
- id?: string;
39428
- kind?: string | null;
39429
- quantity?: number;
39430
- sort_order?: number;
39431
- total_cents?: number;
39432
- unit?: string;
39433
- unit_price_cents?: number;
39434
- };
39435
- Relationships: [{
39436
- foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
39437
- columns: ["factuur_id"];
39438
- isOneToOne: false;
39439
- referencedRelation: "uren_facturen";
39440
- referencedColumns: ["id"];
39441
- }];
39442
- };
39443
39944
  uren_offerte_regels: {
39444
39945
  Row: {
39445
39946
  created_at: string;
@@ -40693,6 +41194,9 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
40693
41194
  scheduled_end_time: string | null;
40694
41195
  scheduled_start_time: string | null;
40695
41196
  sequence_number: number;
41197
+ signature_accepted_at: string | null;
41198
+ signature_by_user_id: string | null;
41199
+ signature_name: string | null;
40696
41200
  source_email_meta: import("../integrations/supabase/types").Json | null;
40697
41201
  source_mailbox_message_id: string | null;
40698
41202
  source_pdf_path: string | null;
@@ -40728,6 +41232,9 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
40728
41232
  scheduled_end_time?: string | null;
40729
41233
  scheduled_start_time?: string | null;
40730
41234
  sequence_number: number;
41235
+ signature_accepted_at?: string | null;
41236
+ signature_by_user_id?: string | null;
41237
+ signature_name?: string | null;
40731
41238
  source_email_meta?: import("../integrations/supabase/types").Json | null;
40732
41239
  source_mailbox_message_id?: string | null;
40733
41240
  source_pdf_path?: string | null;
@@ -40763,6 +41270,9 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
40763
41270
  scheduled_end_time?: string | null;
40764
41271
  scheduled_start_time?: string | null;
40765
41272
  sequence_number?: number;
41273
+ signature_accepted_at?: string | null;
41274
+ signature_by_user_id?: string | null;
41275
+ signature_name?: string | null;
40766
41276
  source_email_meta?: import("../integrations/supabase/types").Json | null;
40767
41277
  source_mailbox_message_id?: string | null;
40768
41278
  source_pdf_path?: string | null;
@@ -41279,6 +41789,114 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
41279
41789
  };
41280
41790
  Relationships: [];
41281
41791
  };
41792
+ uren_facturen: {
41793
+ Row: {
41794
+ created_at: string | null;
41795
+ created_by: string | null;
41796
+ customer_id: string | null;
41797
+ customer_name: string | null;
41798
+ id: string | null;
41799
+ invoice_number: string | null;
41800
+ note: string | null;
41801
+ status: string | null;
41802
+ total_excl_cents: number | null;
41803
+ total_incl_cents: number | null;
41804
+ updated_at: string | null;
41805
+ vat_cents: number | null;
41806
+ vat_percentage: number | null;
41807
+ werkbon_id: string | null;
41808
+ };
41809
+ Insert: {
41810
+ created_at?: string | null;
41811
+ created_by?: string | null;
41812
+ customer_id?: string | null;
41813
+ customer_name?: string | null;
41814
+ id?: string | null;
41815
+ invoice_number?: string | null;
41816
+ note?: string | null;
41817
+ status?: string | null;
41818
+ total_excl_cents?: number | null;
41819
+ total_incl_cents?: number | null;
41820
+ updated_at?: string | null;
41821
+ vat_cents?: number | null;
41822
+ vat_percentage?: number | null;
41823
+ werkbon_id?: never;
41824
+ };
41825
+ Update: {
41826
+ created_at?: string | null;
41827
+ created_by?: string | null;
41828
+ customer_id?: string | null;
41829
+ customer_name?: string | null;
41830
+ id?: string | null;
41831
+ invoice_number?: string | null;
41832
+ note?: string | null;
41833
+ status?: string | null;
41834
+ total_excl_cents?: number | null;
41835
+ total_incl_cents?: number | null;
41836
+ updated_at?: string | null;
41837
+ vat_cents?: number | null;
41838
+ vat_percentage?: number | null;
41839
+ werkbon_id?: never;
41840
+ };
41841
+ Relationships: [{
41842
+ foreignKeyName: "invoices_customer_id_fkey";
41843
+ columns: ["customer_id"];
41844
+ isOneToOne: false;
41845
+ referencedRelation: "itk_customers";
41846
+ referencedColumns: ["id"];
41847
+ }];
41848
+ };
41849
+ uren_factuur_regels: {
41850
+ Row: {
41851
+ created_at: string | null;
41852
+ description: string | null;
41853
+ factuur_id: string | null;
41854
+ id: string | null;
41855
+ kind: string | null;
41856
+ quantity: number | null;
41857
+ sort_order: number | null;
41858
+ total_cents: number | null;
41859
+ unit: string | null;
41860
+ unit_price_cents: number | null;
41861
+ };
41862
+ Insert: {
41863
+ created_at?: string | null;
41864
+ description?: string | null;
41865
+ factuur_id?: string | null;
41866
+ id?: string | null;
41867
+ kind?: string | null;
41868
+ quantity?: number | null;
41869
+ sort_order?: number | null;
41870
+ total_cents?: number | null;
41871
+ unit?: string | null;
41872
+ unit_price_cents?: number | null;
41873
+ };
41874
+ Update: {
41875
+ created_at?: string | null;
41876
+ description?: string | null;
41877
+ factuur_id?: string | null;
41878
+ id?: string | null;
41879
+ kind?: string | null;
41880
+ quantity?: number | null;
41881
+ sort_order?: number | null;
41882
+ total_cents?: number | null;
41883
+ unit?: string | null;
41884
+ unit_price_cents?: number | null;
41885
+ };
41886
+ Relationships: [{
41887
+ foreignKeyName: "invoice_items_invoice_id_fkey";
41888
+ columns: ["factuur_id"];
41889
+ isOneToOne: false;
41890
+ referencedRelation: "invoices";
41891
+ referencedColumns: ["id"];
41892
+ }, {
41893
+ foreignKeyName: "invoice_items_invoice_id_fkey";
41894
+ columns: ["factuur_id"];
41895
+ isOneToOne: false;
41896
+ referencedRelation: "uren_facturen";
41897
+ referencedColumns: ["id"];
41898
+ }];
41899
+ };
41282
41900
  v_external_customers_exact: {
41283
41901
  Row: {
41284
41902
  account_number: string | null;
@@ -41784,6 +42402,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
41784
42402
  gebruiker_id: string | null;
41785
42403
  gebruiker_naam: string;
41786
42404
  gestart_op: string | null;
42405
+ herkomst: string | null;
41787
42406
  id: string;
41788
42407
  idempotentie_sleutel: string | null;
41789
42408
  is_herprint: boolean;
@@ -41904,6 +42523,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
41904
42523
  gebruiker_id: string | null;
41905
42524
  gebruiker_naam: string;
41906
42525
  gestart_op: string | null;
42526
+ herkomst: string | null;
41907
42527
  id: string;
41908
42528
  idempotentie_sleutel: string | null;
41909
42529
  is_herprint: boolean;
@@ -42505,6 +43125,46 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
42505
43125
  Args: never;
42506
43126
  Returns: boolean;
42507
43127
  };
43128
+ invoice_create_from_source: {
43129
+ Args: {
43130
+ _payload?: import("../integrations/supabase/types").Json;
43131
+ _source_id: string;
43132
+ _source_type: string;
43133
+ };
43134
+ Returns: import("../integrations/supabase/types").Json;
43135
+ };
43136
+ invoice_get_billable_lines: {
43137
+ Args: {
43138
+ _invoice_id: string;
43139
+ };
43140
+ Returns: import("../integrations/supabase/types").Json;
43141
+ };
43142
+ invoice_get_for_source: {
43143
+ Args: {
43144
+ _source_id: string;
43145
+ _source_type: string;
43146
+ };
43147
+ Returns: import("../integrations/supabase/types").Json;
43148
+ };
43149
+ invoice_get_summary: {
43150
+ Args: {
43151
+ _invoice_id: string;
43152
+ };
43153
+ Returns: import("../integrations/supabase/types").Json;
43154
+ };
43155
+ invoice_list_sources: {
43156
+ Args: {
43157
+ _limit?: number;
43158
+ _source_type?: string;
43159
+ };
43160
+ Returns: import("../integrations/supabase/types").Json;
43161
+ };
43162
+ invoice_recalc_totals: {
43163
+ Args: {
43164
+ _invoice_id: string;
43165
+ };
43166
+ Returns: import("../integrations/supabase/types").Json;
43167
+ };
42508
43168
  is_authenticated: {
42509
43169
  Args: never;
42510
43170
  Returns: boolean;
@@ -42573,6 +43233,29 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
42573
43233
  roles: string[];
42574
43234
  }[];
42575
43235
  };
43236
+ list_monteur_absences: {
43237
+ Args: {
43238
+ _from: string;
43239
+ _to: string;
43240
+ };
43241
+ Returns: {
43242
+ absence_date: string;
43243
+ end_time: string;
43244
+ full_day: boolean;
43245
+ kind: string;
43246
+ monteur_id: string;
43247
+ start_time: string;
43248
+ }[];
43249
+ };
43250
+ list_monteurs: {
43251
+ Args: never;
43252
+ Returns: {
43253
+ avatar_url: string;
43254
+ display_name: string;
43255
+ email: string;
43256
+ id: string;
43257
+ }[];
43258
+ };
42576
43259
  list_my_planning_items: {
42577
43260
  Args: {
42578
43261
  _from: string;
@@ -42984,6 +43667,23 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
42984
43667
  };
42985
43668
  Returns: string;
42986
43669
  };
43670
+ logistics_floriday_finish_push_v2: {
43671
+ Args: {
43672
+ _error?: string;
43673
+ _error_code?: string;
43674
+ _fulfillment_order_id?: string;
43675
+ _gateway_status?: number;
43676
+ _id: string;
43677
+ _max_age_hours?: number;
43678
+ _max_attempts?: number;
43679
+ _ok: boolean;
43680
+ _permanent?: boolean;
43681
+ _response?: import("../integrations/supabase/types").Json;
43682
+ _revision: number;
43683
+ _sent_hash?: string;
43684
+ };
43685
+ Returns: string;
43686
+ };
42987
43687
  logistics_floriday_prune_pushes: {
42988
43688
  Args: {
42989
43689
  _days?: number;
@@ -43526,6 +44226,13 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
43526
44226
  isSetofReturn: false;
43527
44227
  };
43528
44228
  };
44229
+ pick_cleanup_maintenance: {
44230
+ Args: {
44231
+ _heartbeat_hours?: number;
44232
+ _log_days?: number;
44233
+ };
44234
+ Returns: import("../integrations/supabase/types").Json;
44235
+ };
43529
44236
  pick_complete_print: {
43530
44237
  Args: {
43531
44238
  _printer_id: string;
@@ -43577,6 +44284,14 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
43577
44284
  Args: never;
43578
44285
  Returns: string;
43579
44286
  };
44287
+ pick_day_counts: {
44288
+ Args: {
44289
+ _pick_day?: string;
44290
+ _screen_id?: string;
44291
+ _station_id?: string;
44292
+ };
44293
+ Returns: import("../integrations/supabase/types").Json;
44294
+ };
43580
44295
  pick_document_layout_data: {
43581
44296
  Args: {
43582
44297
  _layout_id: string;
@@ -43614,6 +44329,14 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
43614
44329
  };
43615
44330
  Returns: undefined;
43616
44331
  };
44332
+ pick_reprint_document: {
44333
+ Args: {
44334
+ _queue_item_id: string;
44335
+ _session_id: string;
44336
+ _throttle_seconds?: number;
44337
+ };
44338
+ Returns: string;
44339
+ };
43617
44340
  pick_reset_print: {
43618
44341
  Args: {
43619
44342
  _queue_item_id: string;
@@ -43679,6 +44402,12 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
43679
44402
  };
43680
44403
  Returns: string;
43681
44404
  };
44405
+ pick_sync_queue_throttled: {
44406
+ Args: {
44407
+ _min_seconds?: number;
44408
+ };
44409
+ Returns: import("../integrations/supabase/types").Json;
44410
+ };
43682
44411
  pickstation_get_orders_raw: {
43683
44412
  Args: never;
43684
44413
  Returns: import("../integrations/supabase/types").Json;
@@ -43824,6 +44553,12 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
43824
44553
  };
43825
44554
  Returns: boolean;
43826
44555
  };
44556
+ release_stale_order_invoice_links: {
44557
+ Args: {
44558
+ _minutes?: number;
44559
+ };
44560
+ Returns: number;
44561
+ };
43827
44562
  reorder_customer_price_groups: {
43828
44563
  Args: {
43829
44564
  _ids: string[];
@@ -44342,6 +45077,20 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
44342
45077
  };
44343
45078
  Returns: undefined;
44344
45079
  };
45080
+ twinfield_deactivate_connection: {
45081
+ Args: {
45082
+ p_connection_id: string;
45083
+ p_user_id: string;
45084
+ };
45085
+ Returns: import("../integrations/supabase/types").Json;
45086
+ };
45087
+ twinfield_handle_administration_change: {
45088
+ Args: {
45089
+ _administration_code: string;
45090
+ _user_id: string;
45091
+ };
45092
+ Returns: undefined;
45093
+ };
44345
45094
  twinfield_prune_push_queue: {
44346
45095
  Args: never;
44347
45096
  Returns: number;
@@ -44361,10 +45110,11 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
44361
45110
  p_company_name?: string;
44362
45111
  p_environment: string;
44363
45112
  p_office_code?: string;
45113
+ p_reset_sync?: boolean;
44364
45114
  p_status?: string;
44365
45115
  p_user_id: string;
44366
45116
  };
44367
- Returns: string;
45117
+ Returns: import("../integrations/supabase/types").Json;
44368
45118
  };
44369
45119
  upsert_auto_fulfillment_log: {
44370
45120
  Args: {