@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
@@ -2762,6 +2762,42 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
2762
2762
  };
2763
2763
  Relationships: [];
2764
2764
  };
2765
+ document_bronregels: {
2766
+ Row: {
2767
+ bron: string;
2768
+ created_at: string;
2769
+ documenttype: string;
2770
+ herkomst: string;
2771
+ id: string;
2772
+ layout_id: string | null;
2773
+ updated_at: string;
2774
+ };
2775
+ Insert: {
2776
+ bron?: string;
2777
+ created_at?: string;
2778
+ documenttype: string;
2779
+ herkomst: string;
2780
+ id?: string;
2781
+ layout_id?: string | null;
2782
+ updated_at?: string;
2783
+ };
2784
+ Update: {
2785
+ bron?: string;
2786
+ created_at?: string;
2787
+ documenttype?: string;
2788
+ herkomst?: string;
2789
+ id?: string;
2790
+ layout_id?: string | null;
2791
+ updated_at?: string;
2792
+ };
2793
+ Relationships: [{
2794
+ foreignKeyName: "document_bronregels_layout_id_fkey";
2795
+ columns: ["layout_id"];
2796
+ isOneToOne: false;
2797
+ referencedRelation: "document_layouts";
2798
+ referencedColumns: ["id"];
2799
+ }];
2800
+ };
2765
2801
  document_formaat_printers: {
2766
2802
  Row: {
2767
2803
  created_at: string;
@@ -3039,6 +3075,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
3039
3075
  Row: {
3040
3076
  actief: boolean;
3041
3077
  breedte_mm: number;
3078
+ bron: string;
3042
3079
  config: import("../integrations/supabase/types").Json;
3043
3080
  created_at: string;
3044
3081
  created_by: string | null;
@@ -3056,12 +3093,14 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
3056
3093
  orientatie: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
3057
3094
  page_settings: import("../integrations/supabase/types").Json;
3058
3095
  papierformaat: string;
3096
+ systeem: boolean;
3059
3097
  thumbnail_url: string | null;
3060
3098
  updated_at: string;
3061
3099
  };
3062
3100
  Insert: {
3063
3101
  actief?: boolean;
3064
3102
  breedte_mm?: number;
3103
+ bron?: string;
3065
3104
  config?: import("../integrations/supabase/types").Json;
3066
3105
  created_at?: string;
3067
3106
  created_by?: string | null;
@@ -3079,12 +3118,14 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
3079
3118
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
3080
3119
  page_settings?: import("../integrations/supabase/types").Json;
3081
3120
  papierformaat?: string;
3121
+ systeem?: boolean;
3082
3122
  thumbnail_url?: string | null;
3083
3123
  updated_at?: string;
3084
3124
  };
3085
3125
  Update: {
3086
3126
  actief?: boolean;
3087
3127
  breedte_mm?: number;
3128
+ bron?: string;
3088
3129
  config?: import("../integrations/supabase/types").Json;
3089
3130
  created_at?: string;
3090
3131
  created_by?: string | null;
@@ -3102,11 +3143,48 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
3102
3143
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
3103
3144
  page_settings?: import("../integrations/supabase/types").Json;
3104
3145
  papierformaat?: string;
3146
+ systeem?: boolean;
3105
3147
  thumbnail_url?: string | null;
3106
3148
  updated_at?: string;
3107
3149
  };
3108
3150
  Relationships: [];
3109
3151
  };
3152
+ document_werkplek_printers: {
3153
+ Row: {
3154
+ created_at: string;
3155
+ documenttype: string;
3156
+ id: string;
3157
+ papierformaat: string | null;
3158
+ printer_id: string | null;
3159
+ updated_at: string;
3160
+ werkplek: string;
3161
+ };
3162
+ Insert: {
3163
+ created_at?: string;
3164
+ documenttype: string;
3165
+ id?: string;
3166
+ papierformaat?: string | null;
3167
+ printer_id?: string | null;
3168
+ updated_at?: string;
3169
+ werkplek: string;
3170
+ };
3171
+ Update: {
3172
+ created_at?: string;
3173
+ documenttype?: string;
3174
+ id?: string;
3175
+ papierformaat?: string | null;
3176
+ printer_id?: string | null;
3177
+ updated_at?: string;
3178
+ werkplek?: string;
3179
+ };
3180
+ Relationships: [{
3181
+ foreignKeyName: "document_werkplek_printers_printer_id_fkey";
3182
+ columns: ["printer_id"];
3183
+ isOneToOne: false;
3184
+ referencedRelation: "printers";
3185
+ referencedColumns: ["id"];
3186
+ }];
3187
+ };
3110
3188
  email_auth_connections: {
3111
3189
  Row: {
3112
3190
  access_token_encrypted: string | null;
@@ -5048,42 +5126,6 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
5048
5126
  };
5049
5127
  Relationships: [];
5050
5128
  };
5051
- facturen: {
5052
- Row: {
5053
- bedrag_incl_btw: number;
5054
- created_at: string;
5055
- datum: string;
5056
- factuurnummer: string;
5057
- id: string;
5058
- klantnaam: string;
5059
- status: string;
5060
- updated_at: string;
5061
- user_id: string;
5062
- };
5063
- Insert: {
5064
- bedrag_incl_btw: number;
5065
- created_at?: string;
5066
- datum?: string;
5067
- factuurnummer: string;
5068
- id?: string;
5069
- klantnaam: string;
5070
- status?: string;
5071
- updated_at?: string;
5072
- user_id?: string;
5073
- };
5074
- Update: {
5075
- bedrag_incl_btw?: number;
5076
- created_at?: string;
5077
- datum?: string;
5078
- factuurnummer?: string;
5079
- id?: string;
5080
- klantnaam?: string;
5081
- status?: string;
5082
- updated_at?: string;
5083
- user_id?: string;
5084
- };
5085
- Relationships: [];
5086
- };
5087
5129
  floricode_connection_settings: {
5088
5130
  Row: {
5089
5131
  catalog_key: string | null;
@@ -7388,8 +7430,63 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
7388
7430
  };
7389
7431
  Relationships: [];
7390
7432
  };
7433
+ invoice_items: {
7434
+ Row: {
7435
+ created_at: string;
7436
+ description: string;
7437
+ id: string;
7438
+ invoice_id: string;
7439
+ kind: string;
7440
+ quantity: number;
7441
+ sort_order: number;
7442
+ source_line_ref: string | null;
7443
+ total_cents: number;
7444
+ unit: string;
7445
+ unit_price_cents: number;
7446
+ };
7447
+ Insert: {
7448
+ created_at?: string;
7449
+ description?: string;
7450
+ id?: string;
7451
+ invoice_id: string;
7452
+ kind?: string;
7453
+ quantity?: number;
7454
+ sort_order?: number;
7455
+ source_line_ref?: string | null;
7456
+ total_cents?: number;
7457
+ unit?: string;
7458
+ unit_price_cents?: number;
7459
+ };
7460
+ Update: {
7461
+ created_at?: string;
7462
+ description?: string;
7463
+ id?: string;
7464
+ invoice_id?: string;
7465
+ kind?: string;
7466
+ quantity?: number;
7467
+ sort_order?: number;
7468
+ source_line_ref?: string | null;
7469
+ total_cents?: number;
7470
+ unit?: string;
7471
+ unit_price_cents?: number;
7472
+ };
7473
+ Relationships: [{
7474
+ foreignKeyName: "invoice_items_invoice_id_fkey";
7475
+ columns: ["invoice_id"];
7476
+ isOneToOne: false;
7477
+ referencedRelation: "invoices";
7478
+ referencedColumns: ["id"];
7479
+ }, {
7480
+ foreignKeyName: "invoice_items_invoice_id_fkey";
7481
+ columns: ["invoice_id"];
7482
+ isOneToOne: false;
7483
+ referencedRelation: "uren_facturen";
7484
+ referencedColumns: ["id"];
7485
+ }];
7486
+ };
7391
7487
  invoice_post_idempotency: {
7392
7488
  Row: {
7489
+ administration_code: string;
7393
7490
  client_request_id: string;
7394
7491
  completed_at: string | null;
7395
7492
  created_at: string;
@@ -7399,6 +7496,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
7399
7496
  user_id: string;
7400
7497
  };
7401
7498
  Insert: {
7499
+ administration_code?: string;
7402
7500
  client_request_id: string;
7403
7501
  completed_at?: string | null;
7404
7502
  created_at?: string;
@@ -7408,6 +7506,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
7408
7506
  user_id: string;
7409
7507
  };
7410
7508
  Update: {
7509
+ administration_code?: string;
7411
7510
  client_request_id?: string;
7412
7511
  completed_at?: string | null;
7413
7512
  created_at?: string;
@@ -7613,6 +7712,75 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
7613
7712
  };
7614
7713
  Relationships: [];
7615
7714
  };
7715
+ invoices: {
7716
+ Row: {
7717
+ created_at: string;
7718
+ created_by: string | null;
7719
+ customer_id: string | null;
7720
+ customer_name: string | null;
7721
+ due_date: string | null;
7722
+ id: string;
7723
+ invoice_date: string;
7724
+ invoice_number: string | null;
7725
+ note: string | null;
7726
+ source_number: string | null;
7727
+ source_ref: string | null;
7728
+ source_type: string;
7729
+ status: string;
7730
+ subtotal_cents: number;
7731
+ total_cents: number;
7732
+ updated_at: string;
7733
+ vat_cents: number;
7734
+ vat_rate: number;
7735
+ };
7736
+ Insert: {
7737
+ created_at?: string;
7738
+ created_by?: string | null;
7739
+ customer_id?: string | null;
7740
+ customer_name?: string | null;
7741
+ due_date?: string | null;
7742
+ id?: string;
7743
+ invoice_date?: string;
7744
+ invoice_number?: string | null;
7745
+ note?: string | null;
7746
+ source_number?: string | null;
7747
+ source_ref?: string | null;
7748
+ source_type?: string;
7749
+ status?: string;
7750
+ subtotal_cents?: number;
7751
+ total_cents?: number;
7752
+ updated_at?: string;
7753
+ vat_cents?: number;
7754
+ vat_rate?: number;
7755
+ };
7756
+ Update: {
7757
+ created_at?: string;
7758
+ created_by?: string | null;
7759
+ customer_id?: string | null;
7760
+ customer_name?: string | null;
7761
+ due_date?: string | null;
7762
+ id?: string;
7763
+ invoice_date?: string;
7764
+ invoice_number?: string | null;
7765
+ note?: string | null;
7766
+ source_number?: string | null;
7767
+ source_ref?: string | null;
7768
+ source_type?: string;
7769
+ status?: string;
7770
+ subtotal_cents?: number;
7771
+ total_cents?: number;
7772
+ updated_at?: string;
7773
+ vat_cents?: number;
7774
+ vat_rate?: number;
7775
+ };
7776
+ Relationships: [{
7777
+ foreignKeyName: "invoices_customer_id_fkey";
7778
+ columns: ["customer_id"];
7779
+ isOneToOne: false;
7780
+ referencedRelation: "itk_customers";
7781
+ referencedColumns: ["id"];
7782
+ }];
7783
+ };
7616
7784
  itk_contact_persons: {
7617
7785
  Row: {
7618
7786
  created_at: string;
@@ -8960,6 +9128,9 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
8960
9128
  id: string;
8961
9129
  last_error: string | null;
8962
9130
  last_error_at: string | null;
9131
+ last_error_code: string | null;
9132
+ last_gateway_status: number | null;
9133
+ last_response: import("../integrations/supabase/types").Json | null;
8963
9134
  last_sent_hash: string | null;
8964
9135
  locked_by: string | null;
8965
9136
  locked_until: string | null;
@@ -8980,6 +9151,9 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
8980
9151
  id?: string;
8981
9152
  last_error?: string | null;
8982
9153
  last_error_at?: string | null;
9154
+ last_error_code?: string | null;
9155
+ last_gateway_status?: number | null;
9156
+ last_response?: import("../integrations/supabase/types").Json | null;
8983
9157
  last_sent_hash?: string | null;
8984
9158
  locked_by?: string | null;
8985
9159
  locked_until?: string | null;
@@ -9000,6 +9174,9 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
9000
9174
  id?: string;
9001
9175
  last_error?: string | null;
9002
9176
  last_error_at?: string | null;
9177
+ last_error_code?: string | null;
9178
+ last_gateway_status?: number | null;
9179
+ last_response?: import("../integrations/supabase/types").Json | null;
9003
9180
  last_sent_hash?: string | null;
9004
9181
  locked_by?: string | null;
9005
9182
  locked_until?: string | null;
@@ -10553,6 +10730,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
10553
10730
  enforce: boolean;
10554
10731
  is_active: boolean;
10555
10732
  last_seen_at: string;
10733
+ missing_count: number;
10556
10734
  module_id: string;
10557
10735
  name: string;
10558
10736
  shell_id: string | null;
@@ -10563,6 +10741,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
10563
10741
  enforce?: boolean;
10564
10742
  is_active?: boolean;
10565
10743
  last_seen_at?: string;
10744
+ missing_count?: number;
10566
10745
  module_id: string;
10567
10746
  name: string;
10568
10747
  shell_id?: string | null;
@@ -10573,6 +10752,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
10573
10752
  enforce?: boolean;
10574
10753
  is_active?: boolean;
10575
10754
  last_seen_at?: string;
10755
+ missing_count?: number;
10576
10756
  module_id?: string;
10577
10757
  name?: string;
10578
10758
  shell_id?: string | null;
@@ -11572,6 +11752,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
11572
11752
  };
11573
11753
  order_invoice_links: {
11574
11754
  Row: {
11755
+ administration_code: string | null;
11575
11756
  attempts: number;
11576
11757
  created_at: string;
11577
11758
  error_message: string | null;
@@ -11584,6 +11765,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
11584
11765
  updated_at: string;
11585
11766
  };
11586
11767
  Insert: {
11768
+ administration_code?: string | null;
11587
11769
  attempts?: number;
11588
11770
  created_at?: string;
11589
11771
  error_message?: string | null;
@@ -11596,6 +11778,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
11596
11778
  updated_at?: string;
11597
11779
  };
11598
11780
  Update: {
11781
+ administration_code?: string | null;
11599
11782
  attempts?: number;
11600
11783
  created_at?: string;
11601
11784
  error_message?: string | null;
@@ -12761,6 +12944,27 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
12761
12944
  referencedColumns: ["id"];
12762
12945
  }];
12763
12946
  };
12947
+ pick_sync_state: {
12948
+ Row: {
12949
+ id: boolean;
12950
+ last_cleanup_at: string | null;
12951
+ last_sync_at: string | null;
12952
+ updated_at: string;
12953
+ };
12954
+ Insert: {
12955
+ id?: boolean;
12956
+ last_cleanup_at?: string | null;
12957
+ last_sync_at?: string | null;
12958
+ updated_at?: string;
12959
+ };
12960
+ Update: {
12961
+ id?: boolean;
12962
+ last_cleanup_at?: string | null;
12963
+ last_sync_at?: string | null;
12964
+ updated_at?: string;
12965
+ };
12966
+ Relationships: [];
12967
+ };
12764
12968
  pick_task_document_types: {
12765
12969
  Row: {
12766
12970
  created_at: string;
@@ -13043,6 +13247,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13043
13247
  gebruiker_id: string | null;
13044
13248
  gebruiker_naam: string;
13045
13249
  gestart_op: string | null;
13250
+ herkomst: string | null;
13046
13251
  id: string;
13047
13252
  idempotentie_sleutel: string | null;
13048
13253
  is_herprint: boolean;
@@ -13072,6 +13277,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13072
13277
  gebruiker_id?: string | null;
13073
13278
  gebruiker_naam?: string;
13074
13279
  gestart_op?: string | null;
13280
+ herkomst?: string | null;
13075
13281
  id?: string;
13076
13282
  idempotentie_sleutel?: string | null;
13077
13283
  is_herprint?: boolean;
@@ -13101,6 +13307,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13101
13307
  gebruiker_id?: string | null;
13102
13308
  gebruiker_naam?: string;
13103
13309
  gestart_op?: string | null;
13310
+ herkomst?: string | null;
13104
13311
  id?: string;
13105
13312
  idempotentie_sleutel?: string | null;
13106
13313
  is_herprint?: boolean;
@@ -16105,12 +16312,16 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
16105
16312
  company_name: string | null;
16106
16313
  connected_at: string | null;
16107
16314
  created_at: string;
16315
+ disconnected_at: string | null;
16108
16316
  environment: string;
16109
16317
  id: string;
16318
+ initial_sync_completed_at: string | null;
16319
+ initial_sync_started_at: string | null;
16110
16320
  is_active: boolean;
16111
16321
  label: string | null;
16112
16322
  office_code: string | null;
16113
16323
  redirect_uri: string | null;
16324
+ superseded_at: string | null;
16114
16325
  updated_at: string;
16115
16326
  user_id: string;
16116
16327
  };
@@ -16121,12 +16332,16 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
16121
16332
  company_name?: string | null;
16122
16333
  connected_at?: string | null;
16123
16334
  created_at?: string;
16335
+ disconnected_at?: string | null;
16124
16336
  environment: string;
16125
16337
  id?: string;
16338
+ initial_sync_completed_at?: string | null;
16339
+ initial_sync_started_at?: string | null;
16126
16340
  is_active?: boolean;
16127
16341
  label?: string | null;
16128
16342
  office_code?: string | null;
16129
16343
  redirect_uri?: string | null;
16344
+ superseded_at?: string | null;
16130
16345
  updated_at?: string;
16131
16346
  user_id: string;
16132
16347
  };
@@ -16137,12 +16352,16 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
16137
16352
  company_name?: string | null;
16138
16353
  connected_at?: string | null;
16139
16354
  created_at?: string;
16355
+ disconnected_at?: string | null;
16140
16356
  environment?: string;
16141
16357
  id?: string;
16358
+ initial_sync_completed_at?: string | null;
16359
+ initial_sync_started_at?: string | null;
16142
16360
  is_active?: boolean;
16143
16361
  label?: string | null;
16144
16362
  office_code?: string | null;
16145
16363
  redirect_uri?: string | null;
16364
+ superseded_at?: string | null;
16146
16365
  updated_at?: string;
16147
16366
  user_id?: string;
16148
16367
  };
@@ -16202,6 +16421,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
16202
16421
  twinfield_customers: {
16203
16422
  Row: {
16204
16423
  address: string | null;
16424
+ administration_code: string;
16205
16425
  city: string | null;
16206
16426
  country: string | null;
16207
16427
  created_at: string;
@@ -16221,6 +16441,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
16221
16441
  };
16222
16442
  Insert: {
16223
16443
  address?: string | null;
16444
+ administration_code?: string;
16224
16445
  city?: string | null;
16225
16446
  country?: string | null;
16226
16447
  created_at?: string;
@@ -16240,6 +16461,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
16240
16461
  };
16241
16462
  Update: {
16242
16463
  address?: string | null;
16464
+ administration_code?: string;
16243
16465
  city?: string | null;
16244
16466
  country?: string | null;
16245
16467
  created_at?: string;
@@ -16453,7 +16675,9 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
16453
16675
  };
16454
16676
  twinfield_invoice_settings: {
16455
16677
  Row: {
16678
+ administration_code: string | null;
16456
16679
  auto_invoice_enabled: boolean;
16680
+ auto_invoice_start_date: string | null;
16457
16681
  auto_invoice_trigger_statuses: string[];
16458
16682
  created_at: string;
16459
16683
  debtor_gl_account: string;
@@ -16467,15 +16691,19 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
16467
16691
  invoice_enabled_fo: boolean;
16468
16692
  invoice_enabled_ho: boolean;
16469
16693
  invoice_enabled_mo: boolean;
16694
+ needs_review: boolean;
16470
16695
  payment_gl_account: string;
16471
16696
  payment_journal_code: string;
16697
+ settings_confirmed_at: string | null;
16472
16698
  updated_at: string;
16473
16699
  user_id: string;
16474
16700
  vat_code_eu_reverse: string | null;
16475
16701
  vat_code_export: string | null;
16476
16702
  };
16477
16703
  Insert: {
16704
+ administration_code?: string | null;
16478
16705
  auto_invoice_enabled?: boolean;
16706
+ auto_invoice_start_date?: string | null;
16479
16707
  auto_invoice_trigger_statuses?: string[];
16480
16708
  created_at?: string;
16481
16709
  debtor_gl_account?: string;
@@ -16489,15 +16717,19 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
16489
16717
  invoice_enabled_fo?: boolean;
16490
16718
  invoice_enabled_ho?: boolean;
16491
16719
  invoice_enabled_mo?: boolean;
16720
+ needs_review?: boolean;
16492
16721
  payment_gl_account?: string;
16493
16722
  payment_journal_code?: string;
16723
+ settings_confirmed_at?: string | null;
16494
16724
  updated_at?: string;
16495
16725
  user_id: string;
16496
16726
  vat_code_eu_reverse?: string | null;
16497
16727
  vat_code_export?: string | null;
16498
16728
  };
16499
16729
  Update: {
16730
+ administration_code?: string | null;
16500
16731
  auto_invoice_enabled?: boolean;
16732
+ auto_invoice_start_date?: string | null;
16501
16733
  auto_invoice_trigger_statuses?: string[];
16502
16734
  created_at?: string;
16503
16735
  debtor_gl_account?: string;
@@ -16511,8 +16743,10 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
16511
16743
  invoice_enabled_fo?: boolean;
16512
16744
  invoice_enabled_ho?: boolean;
16513
16745
  invoice_enabled_mo?: boolean;
16746
+ needs_review?: boolean;
16514
16747
  payment_gl_account?: string;
16515
16748
  payment_journal_code?: string;
16749
+ settings_confirmed_at?: string | null;
16516
16750
  updated_at?: string;
16517
16751
  user_id?: string;
16518
16752
  vat_code_eu_reverse?: string | null;
@@ -17117,114 +17351,6 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
17117
17351
  };
17118
17352
  Relationships: [];
17119
17353
  };
17120
- uren_facturen: {
17121
- Row: {
17122
- created_at: string;
17123
- created_by: string | null;
17124
- customer_id: string | null;
17125
- customer_name: string | null;
17126
- id: string;
17127
- invoice_number: string | null;
17128
- note: string | null;
17129
- status: string;
17130
- total_excl_cents: number;
17131
- total_incl_cents: number;
17132
- updated_at: string;
17133
- vat_cents: number;
17134
- vat_percentage: number;
17135
- werkbon_id: string | null;
17136
- };
17137
- Insert: {
17138
- created_at?: string;
17139
- created_by?: string | null;
17140
- customer_id?: string | null;
17141
- customer_name?: string | null;
17142
- id?: string;
17143
- invoice_number?: string | null;
17144
- note?: string | null;
17145
- status?: string;
17146
- total_excl_cents?: number;
17147
- total_incl_cents?: number;
17148
- updated_at?: string;
17149
- vat_cents?: number;
17150
- vat_percentage?: number;
17151
- werkbon_id?: string | null;
17152
- };
17153
- Update: {
17154
- created_at?: string;
17155
- created_by?: string | null;
17156
- customer_id?: string | null;
17157
- customer_name?: string | null;
17158
- id?: string;
17159
- invoice_number?: string | null;
17160
- note?: string | null;
17161
- status?: string;
17162
- total_excl_cents?: number;
17163
- total_incl_cents?: number;
17164
- updated_at?: string;
17165
- vat_cents?: number;
17166
- vat_percentage?: number;
17167
- werkbon_id?: string | null;
17168
- };
17169
- Relationships: [{
17170
- foreignKeyName: "uren_facturen_customer_id_fkey";
17171
- columns: ["customer_id"];
17172
- isOneToOne: false;
17173
- referencedRelation: "itk_customers";
17174
- referencedColumns: ["id"];
17175
- }, {
17176
- foreignKeyName: "uren_facturen_werkbon_id_fkey";
17177
- columns: ["werkbon_id"];
17178
- isOneToOne: true;
17179
- referencedRelation: "werkbonnen";
17180
- referencedColumns: ["id"];
17181
- }];
17182
- };
17183
- uren_factuur_regels: {
17184
- Row: {
17185
- created_at: string;
17186
- description: string;
17187
- factuur_id: string;
17188
- id: string;
17189
- kind: string | null;
17190
- quantity: number;
17191
- sort_order: number;
17192
- total_cents: number;
17193
- unit: string;
17194
- unit_price_cents: number;
17195
- };
17196
- Insert: {
17197
- created_at?: string;
17198
- description: string;
17199
- factuur_id: string;
17200
- id?: string;
17201
- kind?: string | null;
17202
- quantity?: number;
17203
- sort_order?: number;
17204
- total_cents?: number;
17205
- unit?: string;
17206
- unit_price_cents?: number;
17207
- };
17208
- Update: {
17209
- created_at?: string;
17210
- description?: string;
17211
- factuur_id?: string;
17212
- id?: string;
17213
- kind?: string | null;
17214
- quantity?: number;
17215
- sort_order?: number;
17216
- total_cents?: number;
17217
- unit?: string;
17218
- unit_price_cents?: number;
17219
- };
17220
- Relationships: [{
17221
- foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
17222
- columns: ["factuur_id"];
17223
- isOneToOne: false;
17224
- referencedRelation: "uren_facturen";
17225
- referencedColumns: ["id"];
17226
- }];
17227
- };
17228
17354
  uren_offerte_regels: {
17229
17355
  Row: {
17230
17356
  created_at: string;
@@ -18478,6 +18604,9 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
18478
18604
  scheduled_end_time: string | null;
18479
18605
  scheduled_start_time: string | null;
18480
18606
  sequence_number: number;
18607
+ signature_accepted_at: string | null;
18608
+ signature_by_user_id: string | null;
18609
+ signature_name: string | null;
18481
18610
  source_email_meta: import("../integrations/supabase/types").Json | null;
18482
18611
  source_mailbox_message_id: string | null;
18483
18612
  source_pdf_path: string | null;
@@ -18513,6 +18642,9 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
18513
18642
  scheduled_end_time?: string | null;
18514
18643
  scheduled_start_time?: string | null;
18515
18644
  sequence_number: number;
18645
+ signature_accepted_at?: string | null;
18646
+ signature_by_user_id?: string | null;
18647
+ signature_name?: string | null;
18516
18648
  source_email_meta?: import("../integrations/supabase/types").Json | null;
18517
18649
  source_mailbox_message_id?: string | null;
18518
18650
  source_pdf_path?: string | null;
@@ -18548,6 +18680,9 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
18548
18680
  scheduled_end_time?: string | null;
18549
18681
  scheduled_start_time?: string | null;
18550
18682
  sequence_number?: number;
18683
+ signature_accepted_at?: string | null;
18684
+ signature_by_user_id?: string | null;
18685
+ signature_name?: string | null;
18551
18686
  source_email_meta?: import("../integrations/supabase/types").Json | null;
18552
18687
  source_mailbox_message_id?: string | null;
18553
18688
  source_pdf_path?: string | null;
@@ -19064,6 +19199,114 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
19064
19199
  };
19065
19200
  Relationships: [];
19066
19201
  };
19202
+ uren_facturen: {
19203
+ Row: {
19204
+ created_at: string | null;
19205
+ created_by: string | null;
19206
+ customer_id: string | null;
19207
+ customer_name: string | null;
19208
+ id: string | null;
19209
+ invoice_number: string | null;
19210
+ note: string | null;
19211
+ status: string | null;
19212
+ total_excl_cents: number | null;
19213
+ total_incl_cents: number | null;
19214
+ updated_at: string | null;
19215
+ vat_cents: number | null;
19216
+ vat_percentage: number | null;
19217
+ werkbon_id: string | null;
19218
+ };
19219
+ Insert: {
19220
+ created_at?: string | null;
19221
+ created_by?: string | null;
19222
+ customer_id?: string | null;
19223
+ customer_name?: string | null;
19224
+ id?: string | null;
19225
+ invoice_number?: string | null;
19226
+ note?: string | null;
19227
+ status?: string | null;
19228
+ total_excl_cents?: number | null;
19229
+ total_incl_cents?: number | null;
19230
+ updated_at?: string | null;
19231
+ vat_cents?: number | null;
19232
+ vat_percentage?: number | null;
19233
+ werkbon_id?: never;
19234
+ };
19235
+ Update: {
19236
+ created_at?: string | null;
19237
+ created_by?: string | null;
19238
+ customer_id?: string | null;
19239
+ customer_name?: string | null;
19240
+ id?: string | null;
19241
+ invoice_number?: string | null;
19242
+ note?: string | null;
19243
+ status?: string | null;
19244
+ total_excl_cents?: number | null;
19245
+ total_incl_cents?: number | null;
19246
+ updated_at?: string | null;
19247
+ vat_cents?: number | null;
19248
+ vat_percentage?: number | null;
19249
+ werkbon_id?: never;
19250
+ };
19251
+ Relationships: [{
19252
+ foreignKeyName: "invoices_customer_id_fkey";
19253
+ columns: ["customer_id"];
19254
+ isOneToOne: false;
19255
+ referencedRelation: "itk_customers";
19256
+ referencedColumns: ["id"];
19257
+ }];
19258
+ };
19259
+ uren_factuur_regels: {
19260
+ Row: {
19261
+ created_at: string | null;
19262
+ description: string | null;
19263
+ factuur_id: string | null;
19264
+ id: string | null;
19265
+ kind: string | null;
19266
+ quantity: number | null;
19267
+ sort_order: number | null;
19268
+ total_cents: number | null;
19269
+ unit: string | null;
19270
+ unit_price_cents: number | null;
19271
+ };
19272
+ Insert: {
19273
+ created_at?: string | null;
19274
+ description?: string | null;
19275
+ factuur_id?: string | null;
19276
+ id?: string | null;
19277
+ kind?: string | null;
19278
+ quantity?: number | null;
19279
+ sort_order?: number | null;
19280
+ total_cents?: number | null;
19281
+ unit?: string | null;
19282
+ unit_price_cents?: number | null;
19283
+ };
19284
+ Update: {
19285
+ created_at?: string | null;
19286
+ description?: string | null;
19287
+ factuur_id?: string | null;
19288
+ id?: string | null;
19289
+ kind?: string | null;
19290
+ quantity?: number | null;
19291
+ sort_order?: number | null;
19292
+ total_cents?: number | null;
19293
+ unit?: string | null;
19294
+ unit_price_cents?: number | null;
19295
+ };
19296
+ Relationships: [{
19297
+ foreignKeyName: "invoice_items_invoice_id_fkey";
19298
+ columns: ["factuur_id"];
19299
+ isOneToOne: false;
19300
+ referencedRelation: "invoices";
19301
+ referencedColumns: ["id"];
19302
+ }, {
19303
+ foreignKeyName: "invoice_items_invoice_id_fkey";
19304
+ columns: ["factuur_id"];
19305
+ isOneToOne: false;
19306
+ referencedRelation: "uren_facturen";
19307
+ referencedColumns: ["id"];
19308
+ }];
19309
+ };
19067
19310
  v_external_customers_exact: {
19068
19311
  Row: {
19069
19312
  account_number: string | null;
@@ -19569,6 +19812,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
19569
19812
  gebruiker_id: string | null;
19570
19813
  gebruiker_naam: string;
19571
19814
  gestart_op: string | null;
19815
+ herkomst: string | null;
19572
19816
  id: string;
19573
19817
  idempotentie_sleutel: string | null;
19574
19818
  is_herprint: boolean;
@@ -19689,6 +19933,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
19689
19933
  gebruiker_id: string | null;
19690
19934
  gebruiker_naam: string;
19691
19935
  gestart_op: string | null;
19936
+ herkomst: string | null;
19692
19937
  id: string;
19693
19938
  idempotentie_sleutel: string | null;
19694
19939
  is_herprint: boolean;
@@ -20290,6 +20535,46 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
20290
20535
  Args: never;
20291
20536
  Returns: boolean;
20292
20537
  };
20538
+ invoice_create_from_source: {
20539
+ Args: {
20540
+ _payload?: import("../integrations/supabase/types").Json;
20541
+ _source_id: string;
20542
+ _source_type: string;
20543
+ };
20544
+ Returns: import("../integrations/supabase/types").Json;
20545
+ };
20546
+ invoice_get_billable_lines: {
20547
+ Args: {
20548
+ _invoice_id: string;
20549
+ };
20550
+ Returns: import("../integrations/supabase/types").Json;
20551
+ };
20552
+ invoice_get_for_source: {
20553
+ Args: {
20554
+ _source_id: string;
20555
+ _source_type: string;
20556
+ };
20557
+ Returns: import("../integrations/supabase/types").Json;
20558
+ };
20559
+ invoice_get_summary: {
20560
+ Args: {
20561
+ _invoice_id: string;
20562
+ };
20563
+ Returns: import("../integrations/supabase/types").Json;
20564
+ };
20565
+ invoice_list_sources: {
20566
+ Args: {
20567
+ _limit?: number;
20568
+ _source_type?: string;
20569
+ };
20570
+ Returns: import("../integrations/supabase/types").Json;
20571
+ };
20572
+ invoice_recalc_totals: {
20573
+ Args: {
20574
+ _invoice_id: string;
20575
+ };
20576
+ Returns: import("../integrations/supabase/types").Json;
20577
+ };
20293
20578
  is_authenticated: {
20294
20579
  Args: never;
20295
20580
  Returns: boolean;
@@ -20358,6 +20643,29 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
20358
20643
  roles: string[];
20359
20644
  }[];
20360
20645
  };
20646
+ list_monteur_absences: {
20647
+ Args: {
20648
+ _from: string;
20649
+ _to: string;
20650
+ };
20651
+ Returns: {
20652
+ absence_date: string;
20653
+ end_time: string;
20654
+ full_day: boolean;
20655
+ kind: string;
20656
+ monteur_id: string;
20657
+ start_time: string;
20658
+ }[];
20659
+ };
20660
+ list_monteurs: {
20661
+ Args: never;
20662
+ Returns: {
20663
+ avatar_url: string;
20664
+ display_name: string;
20665
+ email: string;
20666
+ id: string;
20667
+ }[];
20668
+ };
20361
20669
  list_my_planning_items: {
20362
20670
  Args: {
20363
20671
  _from: string;
@@ -20769,6 +21077,23 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
20769
21077
  };
20770
21078
  Returns: string;
20771
21079
  };
21080
+ logistics_floriday_finish_push_v2: {
21081
+ Args: {
21082
+ _error?: string;
21083
+ _error_code?: string;
21084
+ _fulfillment_order_id?: string;
21085
+ _gateway_status?: number;
21086
+ _id: string;
21087
+ _max_age_hours?: number;
21088
+ _max_attempts?: number;
21089
+ _ok: boolean;
21090
+ _permanent?: boolean;
21091
+ _response?: import("../integrations/supabase/types").Json;
21092
+ _revision: number;
21093
+ _sent_hash?: string;
21094
+ };
21095
+ Returns: string;
21096
+ };
20772
21097
  logistics_floriday_prune_pushes: {
20773
21098
  Args: {
20774
21099
  _days?: number;
@@ -21311,6 +21636,13 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
21311
21636
  isSetofReturn: false;
21312
21637
  };
21313
21638
  };
21639
+ pick_cleanup_maintenance: {
21640
+ Args: {
21641
+ _heartbeat_hours?: number;
21642
+ _log_days?: number;
21643
+ };
21644
+ Returns: import("../integrations/supabase/types").Json;
21645
+ };
21314
21646
  pick_complete_print: {
21315
21647
  Args: {
21316
21648
  _printer_id: string;
@@ -21362,6 +21694,14 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
21362
21694
  Args: never;
21363
21695
  Returns: string;
21364
21696
  };
21697
+ pick_day_counts: {
21698
+ Args: {
21699
+ _pick_day?: string;
21700
+ _screen_id?: string;
21701
+ _station_id?: string;
21702
+ };
21703
+ Returns: import("../integrations/supabase/types").Json;
21704
+ };
21365
21705
  pick_document_layout_data: {
21366
21706
  Args: {
21367
21707
  _layout_id: string;
@@ -21399,6 +21739,14 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
21399
21739
  };
21400
21740
  Returns: undefined;
21401
21741
  };
21742
+ pick_reprint_document: {
21743
+ Args: {
21744
+ _queue_item_id: string;
21745
+ _session_id: string;
21746
+ _throttle_seconds?: number;
21747
+ };
21748
+ Returns: string;
21749
+ };
21402
21750
  pick_reset_print: {
21403
21751
  Args: {
21404
21752
  _queue_item_id: string;
@@ -21464,6 +21812,12 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
21464
21812
  };
21465
21813
  Returns: string;
21466
21814
  };
21815
+ pick_sync_queue_throttled: {
21816
+ Args: {
21817
+ _min_seconds?: number;
21818
+ };
21819
+ Returns: import("../integrations/supabase/types").Json;
21820
+ };
21467
21821
  pickstation_get_orders_raw: {
21468
21822
  Args: never;
21469
21823
  Returns: import("../integrations/supabase/types").Json;
@@ -21609,6 +21963,12 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
21609
21963
  };
21610
21964
  Returns: boolean;
21611
21965
  };
21966
+ release_stale_order_invoice_links: {
21967
+ Args: {
21968
+ _minutes?: number;
21969
+ };
21970
+ Returns: number;
21971
+ };
21612
21972
  reorder_customer_price_groups: {
21613
21973
  Args: {
21614
21974
  _ids: string[];
@@ -22127,6 +22487,20 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
22127
22487
  };
22128
22488
  Returns: undefined;
22129
22489
  };
22490
+ twinfield_deactivate_connection: {
22491
+ Args: {
22492
+ p_connection_id: string;
22493
+ p_user_id: string;
22494
+ };
22495
+ Returns: import("../integrations/supabase/types").Json;
22496
+ };
22497
+ twinfield_handle_administration_change: {
22498
+ Args: {
22499
+ _administration_code: string;
22500
+ _user_id: string;
22501
+ };
22502
+ Returns: undefined;
22503
+ };
22130
22504
  twinfield_prune_push_queue: {
22131
22505
  Args: never;
22132
22506
  Returns: number;
@@ -22146,10 +22520,11 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
22146
22520
  p_company_name?: string;
22147
22521
  p_environment: string;
22148
22522
  p_office_code?: string;
22523
+ p_reset_sync?: boolean;
22149
22524
  p_status?: string;
22150
22525
  p_user_id: string;
22151
22526
  };
22152
- Returns: string;
22527
+ Returns: import("../integrations/supabase/types").Json;
22153
22528
  };
22154
22529
  upsert_auto_fulfillment_log: {
22155
22530
  Args: {
@@ -24980,6 +25355,42 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
24980
25355
  };
24981
25356
  Relationships: [];
24982
25357
  };
25358
+ document_bronregels: {
25359
+ Row: {
25360
+ bron: string;
25361
+ created_at: string;
25362
+ documenttype: string;
25363
+ herkomst: string;
25364
+ id: string;
25365
+ layout_id: string | null;
25366
+ updated_at: string;
25367
+ };
25368
+ Insert: {
25369
+ bron?: string;
25370
+ created_at?: string;
25371
+ documenttype: string;
25372
+ herkomst: string;
25373
+ id?: string;
25374
+ layout_id?: string | null;
25375
+ updated_at?: string;
25376
+ };
25377
+ Update: {
25378
+ bron?: string;
25379
+ created_at?: string;
25380
+ documenttype?: string;
25381
+ herkomst?: string;
25382
+ id?: string;
25383
+ layout_id?: string | null;
25384
+ updated_at?: string;
25385
+ };
25386
+ Relationships: [{
25387
+ foreignKeyName: "document_bronregels_layout_id_fkey";
25388
+ columns: ["layout_id"];
25389
+ isOneToOne: false;
25390
+ referencedRelation: "document_layouts";
25391
+ referencedColumns: ["id"];
25392
+ }];
25393
+ };
24983
25394
  document_formaat_printers: {
24984
25395
  Row: {
24985
25396
  created_at: string;
@@ -25257,6 +25668,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
25257
25668
  Row: {
25258
25669
  actief: boolean;
25259
25670
  breedte_mm: number;
25671
+ bron: string;
25260
25672
  config: import("../integrations/supabase/types").Json;
25261
25673
  created_at: string;
25262
25674
  created_by: string | null;
@@ -25274,12 +25686,14 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
25274
25686
  orientatie: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
25275
25687
  page_settings: import("../integrations/supabase/types").Json;
25276
25688
  papierformaat: string;
25689
+ systeem: boolean;
25277
25690
  thumbnail_url: string | null;
25278
25691
  updated_at: string;
25279
25692
  };
25280
25693
  Insert: {
25281
25694
  actief?: boolean;
25282
25695
  breedte_mm?: number;
25696
+ bron?: string;
25283
25697
  config?: import("../integrations/supabase/types").Json;
25284
25698
  created_at?: string;
25285
25699
  created_by?: string | null;
@@ -25297,12 +25711,14 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
25297
25711
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
25298
25712
  page_settings?: import("../integrations/supabase/types").Json;
25299
25713
  papierformaat?: string;
25714
+ systeem?: boolean;
25300
25715
  thumbnail_url?: string | null;
25301
25716
  updated_at?: string;
25302
25717
  };
25303
25718
  Update: {
25304
25719
  actief?: boolean;
25305
25720
  breedte_mm?: number;
25721
+ bron?: string;
25306
25722
  config?: import("../integrations/supabase/types").Json;
25307
25723
  created_at?: string;
25308
25724
  created_by?: string | null;
@@ -25320,11 +25736,48 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
25320
25736
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
25321
25737
  page_settings?: import("../integrations/supabase/types").Json;
25322
25738
  papierformaat?: string;
25739
+ systeem?: boolean;
25323
25740
  thumbnail_url?: string | null;
25324
25741
  updated_at?: string;
25325
25742
  };
25326
25743
  Relationships: [];
25327
25744
  };
25745
+ document_werkplek_printers: {
25746
+ Row: {
25747
+ created_at: string;
25748
+ documenttype: string;
25749
+ id: string;
25750
+ papierformaat: string | null;
25751
+ printer_id: string | null;
25752
+ updated_at: string;
25753
+ werkplek: string;
25754
+ };
25755
+ Insert: {
25756
+ created_at?: string;
25757
+ documenttype: string;
25758
+ id?: string;
25759
+ papierformaat?: string | null;
25760
+ printer_id?: string | null;
25761
+ updated_at?: string;
25762
+ werkplek: string;
25763
+ };
25764
+ Update: {
25765
+ created_at?: string;
25766
+ documenttype?: string;
25767
+ id?: string;
25768
+ papierformaat?: string | null;
25769
+ printer_id?: string | null;
25770
+ updated_at?: string;
25771
+ werkplek?: string;
25772
+ };
25773
+ Relationships: [{
25774
+ foreignKeyName: "document_werkplek_printers_printer_id_fkey";
25775
+ columns: ["printer_id"];
25776
+ isOneToOne: false;
25777
+ referencedRelation: "printers";
25778
+ referencedColumns: ["id"];
25779
+ }];
25780
+ };
25328
25781
  email_auth_connections: {
25329
25782
  Row: {
25330
25783
  access_token_encrypted: string | null;
@@ -27266,42 +27719,6 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
27266
27719
  };
27267
27720
  Relationships: [];
27268
27721
  };
27269
- facturen: {
27270
- Row: {
27271
- bedrag_incl_btw: number;
27272
- created_at: string;
27273
- datum: string;
27274
- factuurnummer: string;
27275
- id: string;
27276
- klantnaam: string;
27277
- status: string;
27278
- updated_at: string;
27279
- user_id: string;
27280
- };
27281
- Insert: {
27282
- bedrag_incl_btw: number;
27283
- created_at?: string;
27284
- datum?: string;
27285
- factuurnummer: string;
27286
- id?: string;
27287
- klantnaam: string;
27288
- status?: string;
27289
- updated_at?: string;
27290
- user_id?: string;
27291
- };
27292
- Update: {
27293
- bedrag_incl_btw?: number;
27294
- created_at?: string;
27295
- datum?: string;
27296
- factuurnummer?: string;
27297
- id?: string;
27298
- klantnaam?: string;
27299
- status?: string;
27300
- updated_at?: string;
27301
- user_id?: string;
27302
- };
27303
- Relationships: [];
27304
- };
27305
27722
  floricode_connection_settings: {
27306
27723
  Row: {
27307
27724
  catalog_key: string | null;
@@ -29606,8 +30023,63 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
29606
30023
  };
29607
30024
  Relationships: [];
29608
30025
  };
30026
+ invoice_items: {
30027
+ Row: {
30028
+ created_at: string;
30029
+ description: string;
30030
+ id: string;
30031
+ invoice_id: string;
30032
+ kind: string;
30033
+ quantity: number;
30034
+ sort_order: number;
30035
+ source_line_ref: string | null;
30036
+ total_cents: number;
30037
+ unit: string;
30038
+ unit_price_cents: number;
30039
+ };
30040
+ Insert: {
30041
+ created_at?: string;
30042
+ description?: string;
30043
+ id?: string;
30044
+ invoice_id: string;
30045
+ kind?: string;
30046
+ quantity?: number;
30047
+ sort_order?: number;
30048
+ source_line_ref?: string | null;
30049
+ total_cents?: number;
30050
+ unit?: string;
30051
+ unit_price_cents?: number;
30052
+ };
30053
+ Update: {
30054
+ created_at?: string;
30055
+ description?: string;
30056
+ id?: string;
30057
+ invoice_id?: string;
30058
+ kind?: string;
30059
+ quantity?: number;
30060
+ sort_order?: number;
30061
+ source_line_ref?: string | null;
30062
+ total_cents?: number;
30063
+ unit?: string;
30064
+ unit_price_cents?: number;
30065
+ };
30066
+ Relationships: [{
30067
+ foreignKeyName: "invoice_items_invoice_id_fkey";
30068
+ columns: ["invoice_id"];
30069
+ isOneToOne: false;
30070
+ referencedRelation: "invoices";
30071
+ referencedColumns: ["id"];
30072
+ }, {
30073
+ foreignKeyName: "invoice_items_invoice_id_fkey";
30074
+ columns: ["invoice_id"];
30075
+ isOneToOne: false;
30076
+ referencedRelation: "uren_facturen";
30077
+ referencedColumns: ["id"];
30078
+ }];
30079
+ };
29609
30080
  invoice_post_idempotency: {
29610
30081
  Row: {
30082
+ administration_code: string;
29611
30083
  client_request_id: string;
29612
30084
  completed_at: string | null;
29613
30085
  created_at: string;
@@ -29617,6 +30089,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
29617
30089
  user_id: string;
29618
30090
  };
29619
30091
  Insert: {
30092
+ administration_code?: string;
29620
30093
  client_request_id: string;
29621
30094
  completed_at?: string | null;
29622
30095
  created_at?: string;
@@ -29626,6 +30099,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
29626
30099
  user_id: string;
29627
30100
  };
29628
30101
  Update: {
30102
+ administration_code?: string;
29629
30103
  client_request_id?: string;
29630
30104
  completed_at?: string | null;
29631
30105
  created_at?: string;
@@ -29831,6 +30305,75 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
29831
30305
  };
29832
30306
  Relationships: [];
29833
30307
  };
30308
+ invoices: {
30309
+ Row: {
30310
+ created_at: string;
30311
+ created_by: string | null;
30312
+ customer_id: string | null;
30313
+ customer_name: string | null;
30314
+ due_date: string | null;
30315
+ id: string;
30316
+ invoice_date: string;
30317
+ invoice_number: string | null;
30318
+ note: string | null;
30319
+ source_number: string | null;
30320
+ source_ref: string | null;
30321
+ source_type: string;
30322
+ status: string;
30323
+ subtotal_cents: number;
30324
+ total_cents: number;
30325
+ updated_at: string;
30326
+ vat_cents: number;
30327
+ vat_rate: number;
30328
+ };
30329
+ Insert: {
30330
+ created_at?: string;
30331
+ created_by?: string | null;
30332
+ customer_id?: string | null;
30333
+ customer_name?: string | null;
30334
+ due_date?: string | null;
30335
+ id?: string;
30336
+ invoice_date?: string;
30337
+ invoice_number?: string | null;
30338
+ note?: string | null;
30339
+ source_number?: string | null;
30340
+ source_ref?: string | null;
30341
+ source_type?: string;
30342
+ status?: string;
30343
+ subtotal_cents?: number;
30344
+ total_cents?: number;
30345
+ updated_at?: string;
30346
+ vat_cents?: number;
30347
+ vat_rate?: number;
30348
+ };
30349
+ Update: {
30350
+ created_at?: string;
30351
+ created_by?: string | null;
30352
+ customer_id?: string | null;
30353
+ customer_name?: string | null;
30354
+ due_date?: string | null;
30355
+ id?: string;
30356
+ invoice_date?: string;
30357
+ invoice_number?: string | null;
30358
+ note?: string | null;
30359
+ source_number?: string | null;
30360
+ source_ref?: string | null;
30361
+ source_type?: string;
30362
+ status?: string;
30363
+ subtotal_cents?: number;
30364
+ total_cents?: number;
30365
+ updated_at?: string;
30366
+ vat_cents?: number;
30367
+ vat_rate?: number;
30368
+ };
30369
+ Relationships: [{
30370
+ foreignKeyName: "invoices_customer_id_fkey";
30371
+ columns: ["customer_id"];
30372
+ isOneToOne: false;
30373
+ referencedRelation: "itk_customers";
30374
+ referencedColumns: ["id"];
30375
+ }];
30376
+ };
29834
30377
  itk_contact_persons: {
29835
30378
  Row: {
29836
30379
  created_at: string;
@@ -31178,6 +31721,9 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
31178
31721
  id: string;
31179
31722
  last_error: string | null;
31180
31723
  last_error_at: string | null;
31724
+ last_error_code: string | null;
31725
+ last_gateway_status: number | null;
31726
+ last_response: import("../integrations/supabase/types").Json | null;
31181
31727
  last_sent_hash: string | null;
31182
31728
  locked_by: string | null;
31183
31729
  locked_until: string | null;
@@ -31198,6 +31744,9 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
31198
31744
  id?: string;
31199
31745
  last_error?: string | null;
31200
31746
  last_error_at?: string | null;
31747
+ last_error_code?: string | null;
31748
+ last_gateway_status?: number | null;
31749
+ last_response?: import("../integrations/supabase/types").Json | null;
31201
31750
  last_sent_hash?: string | null;
31202
31751
  locked_by?: string | null;
31203
31752
  locked_until?: string | null;
@@ -31218,6 +31767,9 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
31218
31767
  id?: string;
31219
31768
  last_error?: string | null;
31220
31769
  last_error_at?: string | null;
31770
+ last_error_code?: string | null;
31771
+ last_gateway_status?: number | null;
31772
+ last_response?: import("../integrations/supabase/types").Json | null;
31221
31773
  last_sent_hash?: string | null;
31222
31774
  locked_by?: string | null;
31223
31775
  locked_until?: string | null;
@@ -32771,6 +33323,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
32771
33323
  enforce: boolean;
32772
33324
  is_active: boolean;
32773
33325
  last_seen_at: string;
33326
+ missing_count: number;
32774
33327
  module_id: string;
32775
33328
  name: string;
32776
33329
  shell_id: string | null;
@@ -32781,6 +33334,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
32781
33334
  enforce?: boolean;
32782
33335
  is_active?: boolean;
32783
33336
  last_seen_at?: string;
33337
+ missing_count?: number;
32784
33338
  module_id: string;
32785
33339
  name: string;
32786
33340
  shell_id?: string | null;
@@ -32791,6 +33345,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
32791
33345
  enforce?: boolean;
32792
33346
  is_active?: boolean;
32793
33347
  last_seen_at?: string;
33348
+ missing_count?: number;
32794
33349
  module_id?: string;
32795
33350
  name?: string;
32796
33351
  shell_id?: string | null;
@@ -33790,6 +34345,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
33790
34345
  };
33791
34346
  order_invoice_links: {
33792
34347
  Row: {
34348
+ administration_code: string | null;
33793
34349
  attempts: number;
33794
34350
  created_at: string;
33795
34351
  error_message: string | null;
@@ -33802,6 +34358,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
33802
34358
  updated_at: string;
33803
34359
  };
33804
34360
  Insert: {
34361
+ administration_code?: string | null;
33805
34362
  attempts?: number;
33806
34363
  created_at?: string;
33807
34364
  error_message?: string | null;
@@ -33814,6 +34371,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
33814
34371
  updated_at?: string;
33815
34372
  };
33816
34373
  Update: {
34374
+ administration_code?: string | null;
33817
34375
  attempts?: number;
33818
34376
  created_at?: string;
33819
34377
  error_message?: string | null;
@@ -34979,6 +35537,27 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
34979
35537
  referencedColumns: ["id"];
34980
35538
  }];
34981
35539
  };
35540
+ pick_sync_state: {
35541
+ Row: {
35542
+ id: boolean;
35543
+ last_cleanup_at: string | null;
35544
+ last_sync_at: string | null;
35545
+ updated_at: string;
35546
+ };
35547
+ Insert: {
35548
+ id?: boolean;
35549
+ last_cleanup_at?: string | null;
35550
+ last_sync_at?: string | null;
35551
+ updated_at?: string;
35552
+ };
35553
+ Update: {
35554
+ id?: boolean;
35555
+ last_cleanup_at?: string | null;
35556
+ last_sync_at?: string | null;
35557
+ updated_at?: string;
35558
+ };
35559
+ Relationships: [];
35560
+ };
34982
35561
  pick_task_document_types: {
34983
35562
  Row: {
34984
35563
  created_at: string;
@@ -35261,6 +35840,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
35261
35840
  gebruiker_id: string | null;
35262
35841
  gebruiker_naam: string;
35263
35842
  gestart_op: string | null;
35843
+ herkomst: string | null;
35264
35844
  id: string;
35265
35845
  idempotentie_sleutel: string | null;
35266
35846
  is_herprint: boolean;
@@ -35290,6 +35870,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
35290
35870
  gebruiker_id?: string | null;
35291
35871
  gebruiker_naam?: string;
35292
35872
  gestart_op?: string | null;
35873
+ herkomst?: string | null;
35293
35874
  id?: string;
35294
35875
  idempotentie_sleutel?: string | null;
35295
35876
  is_herprint?: boolean;
@@ -35319,6 +35900,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
35319
35900
  gebruiker_id?: string | null;
35320
35901
  gebruiker_naam?: string;
35321
35902
  gestart_op?: string | null;
35903
+ herkomst?: string | null;
35322
35904
  id?: string;
35323
35905
  idempotentie_sleutel?: string | null;
35324
35906
  is_herprint?: boolean;
@@ -38323,12 +38905,16 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
38323
38905
  company_name: string | null;
38324
38906
  connected_at: string | null;
38325
38907
  created_at: string;
38908
+ disconnected_at: string | null;
38326
38909
  environment: string;
38327
38910
  id: string;
38911
+ initial_sync_completed_at: string | null;
38912
+ initial_sync_started_at: string | null;
38328
38913
  is_active: boolean;
38329
38914
  label: string | null;
38330
38915
  office_code: string | null;
38331
38916
  redirect_uri: string | null;
38917
+ superseded_at: string | null;
38332
38918
  updated_at: string;
38333
38919
  user_id: string;
38334
38920
  };
@@ -38339,12 +38925,16 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
38339
38925
  company_name?: string | null;
38340
38926
  connected_at?: string | null;
38341
38927
  created_at?: string;
38928
+ disconnected_at?: string | null;
38342
38929
  environment: string;
38343
38930
  id?: string;
38931
+ initial_sync_completed_at?: string | null;
38932
+ initial_sync_started_at?: string | null;
38344
38933
  is_active?: boolean;
38345
38934
  label?: string | null;
38346
38935
  office_code?: string | null;
38347
38936
  redirect_uri?: string | null;
38937
+ superseded_at?: string | null;
38348
38938
  updated_at?: string;
38349
38939
  user_id: string;
38350
38940
  };
@@ -38355,12 +38945,16 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
38355
38945
  company_name?: string | null;
38356
38946
  connected_at?: string | null;
38357
38947
  created_at?: string;
38948
+ disconnected_at?: string | null;
38358
38949
  environment?: string;
38359
38950
  id?: string;
38951
+ initial_sync_completed_at?: string | null;
38952
+ initial_sync_started_at?: string | null;
38360
38953
  is_active?: boolean;
38361
38954
  label?: string | null;
38362
38955
  office_code?: string | null;
38363
38956
  redirect_uri?: string | null;
38957
+ superseded_at?: string | null;
38364
38958
  updated_at?: string;
38365
38959
  user_id?: string;
38366
38960
  };
@@ -38420,6 +39014,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
38420
39014
  twinfield_customers: {
38421
39015
  Row: {
38422
39016
  address: string | null;
39017
+ administration_code: string;
38423
39018
  city: string | null;
38424
39019
  country: string | null;
38425
39020
  created_at: string;
@@ -38439,6 +39034,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
38439
39034
  };
38440
39035
  Insert: {
38441
39036
  address?: string | null;
39037
+ administration_code?: string;
38442
39038
  city?: string | null;
38443
39039
  country?: string | null;
38444
39040
  created_at?: string;
@@ -38458,6 +39054,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
38458
39054
  };
38459
39055
  Update: {
38460
39056
  address?: string | null;
39057
+ administration_code?: string;
38461
39058
  city?: string | null;
38462
39059
  country?: string | null;
38463
39060
  created_at?: string;
@@ -38671,7 +39268,9 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
38671
39268
  };
38672
39269
  twinfield_invoice_settings: {
38673
39270
  Row: {
39271
+ administration_code: string | null;
38674
39272
  auto_invoice_enabled: boolean;
39273
+ auto_invoice_start_date: string | null;
38675
39274
  auto_invoice_trigger_statuses: string[];
38676
39275
  created_at: string;
38677
39276
  debtor_gl_account: string;
@@ -38685,15 +39284,19 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
38685
39284
  invoice_enabled_fo: boolean;
38686
39285
  invoice_enabled_ho: boolean;
38687
39286
  invoice_enabled_mo: boolean;
39287
+ needs_review: boolean;
38688
39288
  payment_gl_account: string;
38689
39289
  payment_journal_code: string;
39290
+ settings_confirmed_at: string | null;
38690
39291
  updated_at: string;
38691
39292
  user_id: string;
38692
39293
  vat_code_eu_reverse: string | null;
38693
39294
  vat_code_export: string | null;
38694
39295
  };
38695
39296
  Insert: {
39297
+ administration_code?: string | null;
38696
39298
  auto_invoice_enabled?: boolean;
39299
+ auto_invoice_start_date?: string | null;
38697
39300
  auto_invoice_trigger_statuses?: string[];
38698
39301
  created_at?: string;
38699
39302
  debtor_gl_account?: string;
@@ -38707,15 +39310,19 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
38707
39310
  invoice_enabled_fo?: boolean;
38708
39311
  invoice_enabled_ho?: boolean;
38709
39312
  invoice_enabled_mo?: boolean;
39313
+ needs_review?: boolean;
38710
39314
  payment_gl_account?: string;
38711
39315
  payment_journal_code?: string;
39316
+ settings_confirmed_at?: string | null;
38712
39317
  updated_at?: string;
38713
39318
  user_id: string;
38714
39319
  vat_code_eu_reverse?: string | null;
38715
39320
  vat_code_export?: string | null;
38716
39321
  };
38717
39322
  Update: {
39323
+ administration_code?: string | null;
38718
39324
  auto_invoice_enabled?: boolean;
39325
+ auto_invoice_start_date?: string | null;
38719
39326
  auto_invoice_trigger_statuses?: string[];
38720
39327
  created_at?: string;
38721
39328
  debtor_gl_account?: string;
@@ -38729,8 +39336,10 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
38729
39336
  invoice_enabled_fo?: boolean;
38730
39337
  invoice_enabled_ho?: boolean;
38731
39338
  invoice_enabled_mo?: boolean;
39339
+ needs_review?: boolean;
38732
39340
  payment_gl_account?: string;
38733
39341
  payment_journal_code?: string;
39342
+ settings_confirmed_at?: string | null;
38734
39343
  updated_at?: string;
38735
39344
  user_id?: string;
38736
39345
  vat_code_eu_reverse?: string | null;
@@ -39335,114 +39944,6 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
39335
39944
  };
39336
39945
  Relationships: [];
39337
39946
  };
39338
- uren_facturen: {
39339
- Row: {
39340
- created_at: string;
39341
- created_by: string | null;
39342
- customer_id: string | null;
39343
- customer_name: string | null;
39344
- id: string;
39345
- invoice_number: string | null;
39346
- note: string | null;
39347
- status: string;
39348
- total_excl_cents: number;
39349
- total_incl_cents: number;
39350
- updated_at: string;
39351
- vat_cents: number;
39352
- vat_percentage: number;
39353
- werkbon_id: string | null;
39354
- };
39355
- Insert: {
39356
- created_at?: string;
39357
- created_by?: string | null;
39358
- customer_id?: string | null;
39359
- customer_name?: string | null;
39360
- id?: string;
39361
- invoice_number?: string | null;
39362
- note?: string | null;
39363
- status?: string;
39364
- total_excl_cents?: number;
39365
- total_incl_cents?: number;
39366
- updated_at?: string;
39367
- vat_cents?: number;
39368
- vat_percentage?: number;
39369
- werkbon_id?: string | null;
39370
- };
39371
- Update: {
39372
- created_at?: string;
39373
- created_by?: string | null;
39374
- customer_id?: string | null;
39375
- customer_name?: string | null;
39376
- id?: string;
39377
- invoice_number?: string | null;
39378
- note?: string | null;
39379
- status?: string;
39380
- total_excl_cents?: number;
39381
- total_incl_cents?: number;
39382
- updated_at?: string;
39383
- vat_cents?: number;
39384
- vat_percentage?: number;
39385
- werkbon_id?: string | null;
39386
- };
39387
- Relationships: [{
39388
- foreignKeyName: "uren_facturen_customer_id_fkey";
39389
- columns: ["customer_id"];
39390
- isOneToOne: false;
39391
- referencedRelation: "itk_customers";
39392
- referencedColumns: ["id"];
39393
- }, {
39394
- foreignKeyName: "uren_facturen_werkbon_id_fkey";
39395
- columns: ["werkbon_id"];
39396
- isOneToOne: true;
39397
- referencedRelation: "werkbonnen";
39398
- referencedColumns: ["id"];
39399
- }];
39400
- };
39401
- uren_factuur_regels: {
39402
- Row: {
39403
- created_at: string;
39404
- description: string;
39405
- factuur_id: string;
39406
- id: string;
39407
- kind: string | null;
39408
- quantity: number;
39409
- sort_order: number;
39410
- total_cents: number;
39411
- unit: string;
39412
- unit_price_cents: number;
39413
- };
39414
- Insert: {
39415
- created_at?: string;
39416
- description: string;
39417
- factuur_id: string;
39418
- id?: string;
39419
- kind?: string | null;
39420
- quantity?: number;
39421
- sort_order?: number;
39422
- total_cents?: number;
39423
- unit?: string;
39424
- unit_price_cents?: number;
39425
- };
39426
- Update: {
39427
- created_at?: string;
39428
- description?: string;
39429
- factuur_id?: string;
39430
- id?: string;
39431
- kind?: string | null;
39432
- quantity?: number;
39433
- sort_order?: number;
39434
- total_cents?: number;
39435
- unit?: string;
39436
- unit_price_cents?: number;
39437
- };
39438
- Relationships: [{
39439
- foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
39440
- columns: ["factuur_id"];
39441
- isOneToOne: false;
39442
- referencedRelation: "uren_facturen";
39443
- referencedColumns: ["id"];
39444
- }];
39445
- };
39446
39947
  uren_offerte_regels: {
39447
39948
  Row: {
39448
39949
  created_at: string;
@@ -40696,6 +41197,9 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
40696
41197
  scheduled_end_time: string | null;
40697
41198
  scheduled_start_time: string | null;
40698
41199
  sequence_number: number;
41200
+ signature_accepted_at: string | null;
41201
+ signature_by_user_id: string | null;
41202
+ signature_name: string | null;
40699
41203
  source_email_meta: import("../integrations/supabase/types").Json | null;
40700
41204
  source_mailbox_message_id: string | null;
40701
41205
  source_pdf_path: string | null;
@@ -40731,6 +41235,9 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
40731
41235
  scheduled_end_time?: string | null;
40732
41236
  scheduled_start_time?: string | null;
40733
41237
  sequence_number: number;
41238
+ signature_accepted_at?: string | null;
41239
+ signature_by_user_id?: string | null;
41240
+ signature_name?: string | null;
40734
41241
  source_email_meta?: import("../integrations/supabase/types").Json | null;
40735
41242
  source_mailbox_message_id?: string | null;
40736
41243
  source_pdf_path?: string | null;
@@ -40766,6 +41273,9 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
40766
41273
  scheduled_end_time?: string | null;
40767
41274
  scheduled_start_time?: string | null;
40768
41275
  sequence_number?: number;
41276
+ signature_accepted_at?: string | null;
41277
+ signature_by_user_id?: string | null;
41278
+ signature_name?: string | null;
40769
41279
  source_email_meta?: import("../integrations/supabase/types").Json | null;
40770
41280
  source_mailbox_message_id?: string | null;
40771
41281
  source_pdf_path?: string | null;
@@ -41282,6 +41792,114 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
41282
41792
  };
41283
41793
  Relationships: [];
41284
41794
  };
41795
+ uren_facturen: {
41796
+ Row: {
41797
+ created_at: string | null;
41798
+ created_by: string | null;
41799
+ customer_id: string | null;
41800
+ customer_name: string | null;
41801
+ id: string | null;
41802
+ invoice_number: string | null;
41803
+ note: string | null;
41804
+ status: string | null;
41805
+ total_excl_cents: number | null;
41806
+ total_incl_cents: number | null;
41807
+ updated_at: string | null;
41808
+ vat_cents: number | null;
41809
+ vat_percentage: number | null;
41810
+ werkbon_id: string | null;
41811
+ };
41812
+ Insert: {
41813
+ created_at?: string | null;
41814
+ created_by?: string | null;
41815
+ customer_id?: string | null;
41816
+ customer_name?: string | null;
41817
+ id?: string | null;
41818
+ invoice_number?: string | null;
41819
+ note?: string | null;
41820
+ status?: string | null;
41821
+ total_excl_cents?: number | null;
41822
+ total_incl_cents?: number | null;
41823
+ updated_at?: string | null;
41824
+ vat_cents?: number | null;
41825
+ vat_percentage?: number | null;
41826
+ werkbon_id?: never;
41827
+ };
41828
+ Update: {
41829
+ created_at?: string | null;
41830
+ created_by?: string | null;
41831
+ customer_id?: string | null;
41832
+ customer_name?: string | null;
41833
+ id?: string | null;
41834
+ invoice_number?: string | null;
41835
+ note?: string | null;
41836
+ status?: string | null;
41837
+ total_excl_cents?: number | null;
41838
+ total_incl_cents?: number | null;
41839
+ updated_at?: string | null;
41840
+ vat_cents?: number | null;
41841
+ vat_percentage?: number | null;
41842
+ werkbon_id?: never;
41843
+ };
41844
+ Relationships: [{
41845
+ foreignKeyName: "invoices_customer_id_fkey";
41846
+ columns: ["customer_id"];
41847
+ isOneToOne: false;
41848
+ referencedRelation: "itk_customers";
41849
+ referencedColumns: ["id"];
41850
+ }];
41851
+ };
41852
+ uren_factuur_regels: {
41853
+ Row: {
41854
+ created_at: string | null;
41855
+ description: string | null;
41856
+ factuur_id: string | null;
41857
+ id: string | null;
41858
+ kind: string | null;
41859
+ quantity: number | null;
41860
+ sort_order: number | null;
41861
+ total_cents: number | null;
41862
+ unit: string | null;
41863
+ unit_price_cents: number | null;
41864
+ };
41865
+ Insert: {
41866
+ created_at?: string | null;
41867
+ description?: string | null;
41868
+ factuur_id?: string | null;
41869
+ id?: string | null;
41870
+ kind?: string | null;
41871
+ quantity?: number | null;
41872
+ sort_order?: number | null;
41873
+ total_cents?: number | null;
41874
+ unit?: string | null;
41875
+ unit_price_cents?: number | null;
41876
+ };
41877
+ Update: {
41878
+ created_at?: string | null;
41879
+ description?: string | null;
41880
+ factuur_id?: string | null;
41881
+ id?: string | null;
41882
+ kind?: string | null;
41883
+ quantity?: number | null;
41884
+ sort_order?: number | null;
41885
+ total_cents?: number | null;
41886
+ unit?: string | null;
41887
+ unit_price_cents?: number | null;
41888
+ };
41889
+ Relationships: [{
41890
+ foreignKeyName: "invoice_items_invoice_id_fkey";
41891
+ columns: ["factuur_id"];
41892
+ isOneToOne: false;
41893
+ referencedRelation: "invoices";
41894
+ referencedColumns: ["id"];
41895
+ }, {
41896
+ foreignKeyName: "invoice_items_invoice_id_fkey";
41897
+ columns: ["factuur_id"];
41898
+ isOneToOne: false;
41899
+ referencedRelation: "uren_facturen";
41900
+ referencedColumns: ["id"];
41901
+ }];
41902
+ };
41285
41903
  v_external_customers_exact: {
41286
41904
  Row: {
41287
41905
  account_number: string | null;
@@ -41787,6 +42405,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
41787
42405
  gebruiker_id: string | null;
41788
42406
  gebruiker_naam: string;
41789
42407
  gestart_op: string | null;
42408
+ herkomst: string | null;
41790
42409
  id: string;
41791
42410
  idempotentie_sleutel: string | null;
41792
42411
  is_herprint: boolean;
@@ -41907,6 +42526,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
41907
42526
  gebruiker_id: string | null;
41908
42527
  gebruiker_naam: string;
41909
42528
  gestart_op: string | null;
42529
+ herkomst: string | null;
41910
42530
  id: string;
41911
42531
  idempotentie_sleutel: string | null;
41912
42532
  is_herprint: boolean;
@@ -42508,6 +43128,46 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
42508
43128
  Args: never;
42509
43129
  Returns: boolean;
42510
43130
  };
43131
+ invoice_create_from_source: {
43132
+ Args: {
43133
+ _payload?: import("../integrations/supabase/types").Json;
43134
+ _source_id: string;
43135
+ _source_type: string;
43136
+ };
43137
+ Returns: import("../integrations/supabase/types").Json;
43138
+ };
43139
+ invoice_get_billable_lines: {
43140
+ Args: {
43141
+ _invoice_id: string;
43142
+ };
43143
+ Returns: import("../integrations/supabase/types").Json;
43144
+ };
43145
+ invoice_get_for_source: {
43146
+ Args: {
43147
+ _source_id: string;
43148
+ _source_type: string;
43149
+ };
43150
+ Returns: import("../integrations/supabase/types").Json;
43151
+ };
43152
+ invoice_get_summary: {
43153
+ Args: {
43154
+ _invoice_id: string;
43155
+ };
43156
+ Returns: import("../integrations/supabase/types").Json;
43157
+ };
43158
+ invoice_list_sources: {
43159
+ Args: {
43160
+ _limit?: number;
43161
+ _source_type?: string;
43162
+ };
43163
+ Returns: import("../integrations/supabase/types").Json;
43164
+ };
43165
+ invoice_recalc_totals: {
43166
+ Args: {
43167
+ _invoice_id: string;
43168
+ };
43169
+ Returns: import("../integrations/supabase/types").Json;
43170
+ };
42511
43171
  is_authenticated: {
42512
43172
  Args: never;
42513
43173
  Returns: boolean;
@@ -42576,6 +43236,29 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
42576
43236
  roles: string[];
42577
43237
  }[];
42578
43238
  };
43239
+ list_monteur_absences: {
43240
+ Args: {
43241
+ _from: string;
43242
+ _to: string;
43243
+ };
43244
+ Returns: {
43245
+ absence_date: string;
43246
+ end_time: string;
43247
+ full_day: boolean;
43248
+ kind: string;
43249
+ monteur_id: string;
43250
+ start_time: string;
43251
+ }[];
43252
+ };
43253
+ list_monteurs: {
43254
+ Args: never;
43255
+ Returns: {
43256
+ avatar_url: string;
43257
+ display_name: string;
43258
+ email: string;
43259
+ id: string;
43260
+ }[];
43261
+ };
42579
43262
  list_my_planning_items: {
42580
43263
  Args: {
42581
43264
  _from: string;
@@ -42987,6 +43670,23 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
42987
43670
  };
42988
43671
  Returns: string;
42989
43672
  };
43673
+ logistics_floriday_finish_push_v2: {
43674
+ Args: {
43675
+ _error?: string;
43676
+ _error_code?: string;
43677
+ _fulfillment_order_id?: string;
43678
+ _gateway_status?: number;
43679
+ _id: string;
43680
+ _max_age_hours?: number;
43681
+ _max_attempts?: number;
43682
+ _ok: boolean;
43683
+ _permanent?: boolean;
43684
+ _response?: import("../integrations/supabase/types").Json;
43685
+ _revision: number;
43686
+ _sent_hash?: string;
43687
+ };
43688
+ Returns: string;
43689
+ };
42990
43690
  logistics_floriday_prune_pushes: {
42991
43691
  Args: {
42992
43692
  _days?: number;
@@ -43529,6 +44229,13 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
43529
44229
  isSetofReturn: false;
43530
44230
  };
43531
44231
  };
44232
+ pick_cleanup_maintenance: {
44233
+ Args: {
44234
+ _heartbeat_hours?: number;
44235
+ _log_days?: number;
44236
+ };
44237
+ Returns: import("../integrations/supabase/types").Json;
44238
+ };
43532
44239
  pick_complete_print: {
43533
44240
  Args: {
43534
44241
  _printer_id: string;
@@ -43580,6 +44287,14 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
43580
44287
  Args: never;
43581
44288
  Returns: string;
43582
44289
  };
44290
+ pick_day_counts: {
44291
+ Args: {
44292
+ _pick_day?: string;
44293
+ _screen_id?: string;
44294
+ _station_id?: string;
44295
+ };
44296
+ Returns: import("../integrations/supabase/types").Json;
44297
+ };
43583
44298
  pick_document_layout_data: {
43584
44299
  Args: {
43585
44300
  _layout_id: string;
@@ -43617,6 +44332,14 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
43617
44332
  };
43618
44333
  Returns: undefined;
43619
44334
  };
44335
+ pick_reprint_document: {
44336
+ Args: {
44337
+ _queue_item_id: string;
44338
+ _session_id: string;
44339
+ _throttle_seconds?: number;
44340
+ };
44341
+ Returns: string;
44342
+ };
43620
44343
  pick_reset_print: {
43621
44344
  Args: {
43622
44345
  _queue_item_id: string;
@@ -43682,6 +44405,12 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
43682
44405
  };
43683
44406
  Returns: string;
43684
44407
  };
44408
+ pick_sync_queue_throttled: {
44409
+ Args: {
44410
+ _min_seconds?: number;
44411
+ };
44412
+ Returns: import("../integrations/supabase/types").Json;
44413
+ };
43685
44414
  pickstation_get_orders_raw: {
43686
44415
  Args: never;
43687
44416
  Returns: import("../integrations/supabase/types").Json;
@@ -43827,6 +44556,12 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
43827
44556
  };
43828
44557
  Returns: boolean;
43829
44558
  };
44559
+ release_stale_order_invoice_links: {
44560
+ Args: {
44561
+ _minutes?: number;
44562
+ };
44563
+ Returns: number;
44564
+ };
43830
44565
  reorder_customer_price_groups: {
43831
44566
  Args: {
43832
44567
  _ids: string[];
@@ -44345,6 +45080,20 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
44345
45080
  };
44346
45081
  Returns: undefined;
44347
45082
  };
45083
+ twinfield_deactivate_connection: {
45084
+ Args: {
45085
+ p_connection_id: string;
45086
+ p_user_id: string;
45087
+ };
45088
+ Returns: import("../integrations/supabase/types").Json;
45089
+ };
45090
+ twinfield_handle_administration_change: {
45091
+ Args: {
45092
+ _administration_code: string;
45093
+ _user_id: string;
45094
+ };
45095
+ Returns: undefined;
45096
+ };
44348
45097
  twinfield_prune_push_queue: {
44349
45098
  Args: never;
44350
45099
  Returns: number;
@@ -44364,10 +45113,11 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
44364
45113
  p_company_name?: string;
44365
45114
  p_environment: string;
44366
45115
  p_office_code?: string;
45116
+ p_reset_sync?: boolean;
44367
45117
  p_status?: string;
44368
45118
  p_user_id: string;
44369
45119
  };
44370
- Returns: string;
45120
+ Returns: import("../integrations/supabase/types").Json;
44371
45121
  };
44372
45122
  upsert_auto_fulfillment_log: {
44373
45123
  Args: {