@flowselections/floriday-verkoop-module 1.0.44 → 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 (116) hide show
  1. package/dist-lib/components/floriday/FlorydaySyncHealthBanner.d.ts +9 -0
  2. package/dist-lib/components/floriday/FlorydaySyncHealthBanner.d.ts.map +1 -0
  3. package/dist-lib/components/floriday/FlorydaySyncHealthBanner.js +26 -0
  4. package/dist-lib/components/karindeling/AfmetingenTab.d.ts +6 -0
  5. package/dist-lib/components/karindeling/AfmetingenTab.d.ts.map +1 -0
  6. package/dist-lib/components/karindeling/AfmetingenTab.js +128 -0
  7. package/dist-lib/components/karindeling/KarindelingPage.d.ts +2 -0
  8. package/dist-lib/components/karindeling/KarindelingPage.d.ts.map +1 -0
  9. package/dist-lib/components/karindeling/KarindelingPage.js +102 -0
  10. package/dist-lib/components/ui/dropdown-menu.d.ts +9 -0
  11. package/dist-lib/components/ui/dropdown-menu.d.ts.map +1 -0
  12. package/dist-lib/components/ui/dropdown-menu.js +14 -0
  13. package/dist-lib/components/verkoop/AnalyticsCards.d.ts +1 -1
  14. package/dist-lib/components/verkoop/AnalyticsCards.d.ts.map +1 -1
  15. package/dist-lib/components/verkoop/AutoFulfillmentStatusCard.d.ts +1 -1
  16. package/dist-lib/components/verkoop/AutoFulfillmentStatusCard.d.ts.map +1 -1
  17. package/dist-lib/components/verkoop/CartAssignmentWizard.d.ts +1 -1
  18. package/dist-lib/components/verkoop/CartAssignmentWizard.d.ts.map +1 -1
  19. package/dist-lib/components/verkoop/CreateOrderDialog.d.ts +5 -0
  20. package/dist-lib/components/verkoop/CreateOrderDialog.d.ts.map +1 -0
  21. package/dist-lib/components/verkoop/CreateOrderDialog.js +33 -0
  22. package/dist-lib/components/verkoop/CreateOrderPage.d.ts +1 -1
  23. package/dist-lib/components/verkoop/CreateOrderPage.d.ts.map +1 -1
  24. package/dist-lib/components/verkoop/DiagnoseConnectionDialog.d.ts +1 -1
  25. package/dist-lib/components/verkoop/DiagnoseConnectionDialog.d.ts.map +1 -1
  26. package/dist-lib/components/verkoop/EditLocalOrderDialog.d.ts +1 -1
  27. package/dist-lib/components/verkoop/EditLocalOrderDialog.d.ts.map +1 -1
  28. package/dist-lib/components/verkoop/EngineBufferCard.d.ts +1 -1
  29. package/dist-lib/components/verkoop/EngineBufferCard.d.ts.map +1 -1
  30. package/dist-lib/components/verkoop/InvoiceTimingSettings.d.ts +1 -1
  31. package/dist-lib/components/verkoop/InvoiceTimingSettings.d.ts.map +1 -1
  32. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts +1 -1
  33. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts.map +1 -1
  34. package/dist-lib/components/verkoop/OrderCarrierPicker.d.ts +1 -1
  35. package/dist-lib/components/verkoop/OrderCarrierPicker.d.ts.map +1 -1
  36. package/dist-lib/components/verkoop/OrderControlStatusCard.d.ts +1 -1
  37. package/dist-lib/components/verkoop/OrderControlStatusCard.d.ts.map +1 -1
  38. package/dist-lib/components/verkoop/OrderKarindelingCard.d.ts +1 -1
  39. package/dist-lib/components/verkoop/OrderKarindelingCard.d.ts.map +1 -1
  40. package/dist-lib/components/verkoop/OrderPickupMomentPicker.d.ts +1 -1
  41. package/dist-lib/components/verkoop/OrderPickupMomentPicker.d.ts.map +1 -1
  42. package/dist-lib/components/verkoop/OrderShipmentsCard.d.ts +1 -1
  43. package/dist-lib/components/verkoop/OrderShipmentsCard.d.ts.map +1 -1
  44. package/dist-lib/components/verkoop/SalesOrderDetailPage.d.ts +1 -1
  45. package/dist-lib/components/verkoop/SalesOrderDetailPage.d.ts.map +1 -1
  46. package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts +1 -1
  47. package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts.map +1 -1
  48. package/dist-lib/components/verkoop/SalesOrdersFilterPanel.d.ts +1 -1
  49. package/dist-lib/components/verkoop/SalesOrdersFilterPanel.d.ts.map +1 -1
  50. package/dist-lib/components/verkoop/SalesOrdersFilters.d.ts +1 -1
  51. package/dist-lib/components/verkoop/SalesOrdersFilters.d.ts.map +1 -1
  52. package/dist-lib/components/verkoop/SalesOrdersTable.d.ts +1 -2
  53. package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
  54. package/dist-lib/components/verkoop/SearchableSelect.d.ts +1 -1
  55. package/dist-lib/components/verkoop/SearchableSelect.d.ts.map +1 -1
  56. package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts +1 -1
  57. package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
  58. package/dist-lib/components/verkoop/WeekCalendar.d.ts +1 -1
  59. package/dist-lib/components/verkoop/WeekCalendar.d.ts.map +1 -1
  60. package/dist-lib/integrations/supabase/auth-middleware.d.ts +520 -145
  61. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  62. package/dist-lib/integrations/supabase/client.d.ts +520 -145
  63. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  64. package/dist-lib/integrations/supabase/client.server.d.ts +520 -145
  65. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  66. package/dist-lib/integrations/supabase/types.d.ts +545 -161
  67. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  68. package/dist-lib/lib/cart-lock.functions.d.ts +520 -145
  69. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  70. package/dist-lib/lib/cart-planning-settings.functions.d.ts +5720 -1595
  71. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  72. package/dist-lib/lib/cart-replan.functions.d.ts +1560 -435
  73. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  74. package/dist-lib/lib/create-order.functions.d.ts +8840 -2465
  75. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  76. package/dist-lib/lib/floriday/floriday.server.d.ts +14 -0
  77. package/dist-lib/lib/floriday/floriday.server.d.ts.map +1 -0
  78. package/dist-lib/lib/floriday/floriday.server.js +92 -0
  79. package/dist-lib/lib/floriday/sales-orders.functions.d.ts +4736 -0
  80. package/dist-lib/lib/floriday/sales-orders.functions.d.ts.map +1 -0
  81. package/dist-lib/lib/floriday/sales-orders.functions.js +193 -0
  82. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +1560 -435
  83. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  84. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +520 -145
  85. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  86. package/dist-lib/lib/floriday-mirror.functions.d.ts +520 -145
  87. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  88. package/dist-lib/lib/floriday-public.functions.d.ts +3640 -1015
  89. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  90. package/dist-lib/lib/floriday-writes.functions.d.ts +2600 -725
  91. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  92. package/dist-lib/lib/invoice-timing.functions.d.ts +2080 -580
  93. package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
  94. package/dist-lib/lib/load-carriers.functions.d.ts +520 -145
  95. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  96. package/dist-lib/lib/logistics-engine.functions.d.ts +2600 -725
  97. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  98. package/dist-lib/lib/logistics-stock.functions.d.ts +1040 -290
  99. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  100. package/dist-lib/lib/order-addresses.functions.d.ts +520 -145
  101. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  102. package/dist-lib/lib/order-buffers.functions.d.ts +1560 -435
  103. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  104. package/dist-lib/lib/order-carrier.functions.d.ts +1040 -290
  105. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  106. package/dist-lib/lib/order-pickup.functions.d.ts +1040 -290
  107. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  108. package/dist-lib/lib/order-shipments.functions.d.ts +2080 -580
  109. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  110. package/dist-lib/lib/salesorders-list.functions.d.ts +520 -145
  111. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  112. package/dist-lib/lib/salesorders.functions.d.ts +2600 -725
  113. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  114. package/dist-lib/lib/tradeitems.functions.d.ts +520 -145
  115. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  116. package/package.json +3 -3
@@ -2758,6 +2758,42 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
2758
2758
  };
2759
2759
  Relationships: [];
2760
2760
  };
2761
+ document_bronregels: {
2762
+ Row: {
2763
+ bron: string;
2764
+ created_at: string;
2765
+ documenttype: string;
2766
+ herkomst: string;
2767
+ id: string;
2768
+ layout_id: string | null;
2769
+ updated_at: string;
2770
+ };
2771
+ Insert: {
2772
+ bron?: string;
2773
+ created_at?: string;
2774
+ documenttype: string;
2775
+ herkomst: string;
2776
+ id?: string;
2777
+ layout_id?: string | null;
2778
+ updated_at?: string;
2779
+ };
2780
+ Update: {
2781
+ bron?: string;
2782
+ created_at?: string;
2783
+ documenttype?: string;
2784
+ herkomst?: string;
2785
+ id?: string;
2786
+ layout_id?: string | null;
2787
+ updated_at?: string;
2788
+ };
2789
+ Relationships: [{
2790
+ foreignKeyName: "document_bronregels_layout_id_fkey";
2791
+ columns: ["layout_id"];
2792
+ isOneToOne: false;
2793
+ referencedRelation: "document_layouts";
2794
+ referencedColumns: ["id"];
2795
+ }];
2796
+ };
2761
2797
  document_formaat_printers: {
2762
2798
  Row: {
2763
2799
  created_at: string;
@@ -3035,6 +3071,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
3035
3071
  Row: {
3036
3072
  actief: boolean;
3037
3073
  breedte_mm: number;
3074
+ bron: string;
3038
3075
  config: import("../integrations/supabase/types").Json;
3039
3076
  created_at: string;
3040
3077
  created_by: string | null;
@@ -3052,12 +3089,14 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
3052
3089
  orientatie: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
3053
3090
  page_settings: import("../integrations/supabase/types").Json;
3054
3091
  papierformaat: string;
3092
+ systeem: boolean;
3055
3093
  thumbnail_url: string | null;
3056
3094
  updated_at: string;
3057
3095
  };
3058
3096
  Insert: {
3059
3097
  actief?: boolean;
3060
3098
  breedte_mm?: number;
3099
+ bron?: string;
3061
3100
  config?: import("../integrations/supabase/types").Json;
3062
3101
  created_at?: string;
3063
3102
  created_by?: string | null;
@@ -3075,12 +3114,14 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
3075
3114
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
3076
3115
  page_settings?: import("../integrations/supabase/types").Json;
3077
3116
  papierformaat?: string;
3117
+ systeem?: boolean;
3078
3118
  thumbnail_url?: string | null;
3079
3119
  updated_at?: string;
3080
3120
  };
3081
3121
  Update: {
3082
3122
  actief?: boolean;
3083
3123
  breedte_mm?: number;
3124
+ bron?: string;
3084
3125
  config?: import("../integrations/supabase/types").Json;
3085
3126
  created_at?: string;
3086
3127
  created_by?: string | null;
@@ -3098,11 +3139,48 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
3098
3139
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
3099
3140
  page_settings?: import("../integrations/supabase/types").Json;
3100
3141
  papierformaat?: string;
3142
+ systeem?: boolean;
3101
3143
  thumbnail_url?: string | null;
3102
3144
  updated_at?: string;
3103
3145
  };
3104
3146
  Relationships: [];
3105
3147
  };
3148
+ document_werkplek_printers: {
3149
+ Row: {
3150
+ created_at: string;
3151
+ documenttype: string;
3152
+ id: string;
3153
+ papierformaat: string | null;
3154
+ printer_id: string | null;
3155
+ updated_at: string;
3156
+ werkplek: string;
3157
+ };
3158
+ Insert: {
3159
+ created_at?: string;
3160
+ documenttype: string;
3161
+ id?: string;
3162
+ papierformaat?: string | null;
3163
+ printer_id?: string | null;
3164
+ updated_at?: string;
3165
+ werkplek: string;
3166
+ };
3167
+ Update: {
3168
+ created_at?: string;
3169
+ documenttype?: string;
3170
+ id?: string;
3171
+ papierformaat?: string | null;
3172
+ printer_id?: string | null;
3173
+ updated_at?: string;
3174
+ werkplek?: string;
3175
+ };
3176
+ Relationships: [{
3177
+ foreignKeyName: "document_werkplek_printers_printer_id_fkey";
3178
+ columns: ["printer_id"];
3179
+ isOneToOne: false;
3180
+ referencedRelation: "printers";
3181
+ referencedColumns: ["id"];
3182
+ }];
3183
+ };
3106
3184
  email_auth_connections: {
3107
3185
  Row: {
3108
3186
  access_token_encrypted: string | null;
@@ -5044,42 +5122,6 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
5044
5122
  };
5045
5123
  Relationships: [];
5046
5124
  };
5047
- facturen: {
5048
- Row: {
5049
- bedrag_incl_btw: number;
5050
- created_at: string;
5051
- datum: string;
5052
- factuurnummer: string;
5053
- id: string;
5054
- klantnaam: string;
5055
- status: string;
5056
- updated_at: string;
5057
- user_id: string;
5058
- };
5059
- Insert: {
5060
- bedrag_incl_btw: number;
5061
- created_at?: string;
5062
- datum?: string;
5063
- factuurnummer: string;
5064
- id?: string;
5065
- klantnaam: string;
5066
- status?: string;
5067
- updated_at?: string;
5068
- user_id?: string;
5069
- };
5070
- Update: {
5071
- bedrag_incl_btw?: number;
5072
- created_at?: string;
5073
- datum?: string;
5074
- factuurnummer?: string;
5075
- id?: string;
5076
- klantnaam?: string;
5077
- status?: string;
5078
- updated_at?: string;
5079
- user_id?: string;
5080
- };
5081
- Relationships: [];
5082
- };
5083
5125
  floricode_connection_settings: {
5084
5126
  Row: {
5085
5127
  catalog_key: string | null;
@@ -7384,8 +7426,63 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
7384
7426
  };
7385
7427
  Relationships: [];
7386
7428
  };
7429
+ invoice_items: {
7430
+ Row: {
7431
+ created_at: string;
7432
+ description: string;
7433
+ id: string;
7434
+ invoice_id: string;
7435
+ kind: string;
7436
+ quantity: number;
7437
+ sort_order: number;
7438
+ source_line_ref: string | null;
7439
+ total_cents: number;
7440
+ unit: string;
7441
+ unit_price_cents: number;
7442
+ };
7443
+ Insert: {
7444
+ created_at?: string;
7445
+ description?: string;
7446
+ id?: string;
7447
+ invoice_id: string;
7448
+ kind?: string;
7449
+ quantity?: number;
7450
+ sort_order?: number;
7451
+ source_line_ref?: string | null;
7452
+ total_cents?: number;
7453
+ unit?: string;
7454
+ unit_price_cents?: number;
7455
+ };
7456
+ Update: {
7457
+ created_at?: string;
7458
+ description?: string;
7459
+ id?: string;
7460
+ invoice_id?: string;
7461
+ kind?: string;
7462
+ quantity?: number;
7463
+ sort_order?: number;
7464
+ source_line_ref?: string | null;
7465
+ total_cents?: number;
7466
+ unit?: string;
7467
+ unit_price_cents?: number;
7468
+ };
7469
+ Relationships: [{
7470
+ foreignKeyName: "invoice_items_invoice_id_fkey";
7471
+ columns: ["invoice_id"];
7472
+ isOneToOne: false;
7473
+ referencedRelation: "invoices";
7474
+ referencedColumns: ["id"];
7475
+ }, {
7476
+ foreignKeyName: "invoice_items_invoice_id_fkey";
7477
+ columns: ["invoice_id"];
7478
+ isOneToOne: false;
7479
+ referencedRelation: "uren_facturen";
7480
+ referencedColumns: ["id"];
7481
+ }];
7482
+ };
7387
7483
  invoice_post_idempotency: {
7388
7484
  Row: {
7485
+ administration_code: string;
7389
7486
  client_request_id: string;
7390
7487
  completed_at: string | null;
7391
7488
  created_at: string;
@@ -7395,6 +7492,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
7395
7492
  user_id: string;
7396
7493
  };
7397
7494
  Insert: {
7495
+ administration_code?: string;
7398
7496
  client_request_id: string;
7399
7497
  completed_at?: string | null;
7400
7498
  created_at?: string;
@@ -7404,6 +7502,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
7404
7502
  user_id: string;
7405
7503
  };
7406
7504
  Update: {
7505
+ administration_code?: string;
7407
7506
  client_request_id?: string;
7408
7507
  completed_at?: string | null;
7409
7508
  created_at?: string;
@@ -7609,6 +7708,75 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
7609
7708
  };
7610
7709
  Relationships: [];
7611
7710
  };
7711
+ invoices: {
7712
+ Row: {
7713
+ created_at: string;
7714
+ created_by: string | null;
7715
+ customer_id: string | null;
7716
+ customer_name: string | null;
7717
+ due_date: string | null;
7718
+ id: string;
7719
+ invoice_date: string;
7720
+ invoice_number: string | null;
7721
+ note: string | null;
7722
+ source_number: string | null;
7723
+ source_ref: string | null;
7724
+ source_type: string;
7725
+ status: string;
7726
+ subtotal_cents: number;
7727
+ total_cents: number;
7728
+ updated_at: string;
7729
+ vat_cents: number;
7730
+ vat_rate: number;
7731
+ };
7732
+ Insert: {
7733
+ created_at?: string;
7734
+ created_by?: string | null;
7735
+ customer_id?: string | null;
7736
+ customer_name?: string | null;
7737
+ due_date?: string | null;
7738
+ id?: string;
7739
+ invoice_date?: string;
7740
+ invoice_number?: string | null;
7741
+ note?: string | null;
7742
+ source_number?: string | null;
7743
+ source_ref?: string | null;
7744
+ source_type?: string;
7745
+ status?: string;
7746
+ subtotal_cents?: number;
7747
+ total_cents?: number;
7748
+ updated_at?: string;
7749
+ vat_cents?: number;
7750
+ vat_rate?: number;
7751
+ };
7752
+ Update: {
7753
+ created_at?: string;
7754
+ created_by?: string | null;
7755
+ customer_id?: string | null;
7756
+ customer_name?: string | null;
7757
+ due_date?: string | null;
7758
+ id?: string;
7759
+ invoice_date?: string;
7760
+ invoice_number?: string | null;
7761
+ note?: string | null;
7762
+ source_number?: string | null;
7763
+ source_ref?: string | null;
7764
+ source_type?: string;
7765
+ status?: string;
7766
+ subtotal_cents?: number;
7767
+ total_cents?: number;
7768
+ updated_at?: string;
7769
+ vat_cents?: number;
7770
+ vat_rate?: number;
7771
+ };
7772
+ Relationships: [{
7773
+ foreignKeyName: "invoices_customer_id_fkey";
7774
+ columns: ["customer_id"];
7775
+ isOneToOne: false;
7776
+ referencedRelation: "itk_customers";
7777
+ referencedColumns: ["id"];
7778
+ }];
7779
+ };
7612
7780
  itk_contact_persons: {
7613
7781
  Row: {
7614
7782
  created_at: string;
@@ -8956,6 +9124,9 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
8956
9124
  id: string;
8957
9125
  last_error: string | null;
8958
9126
  last_error_at: string | null;
9127
+ last_error_code: string | null;
9128
+ last_gateway_status: number | null;
9129
+ last_response: import("../integrations/supabase/types").Json | null;
8959
9130
  last_sent_hash: string | null;
8960
9131
  locked_by: string | null;
8961
9132
  locked_until: string | null;
@@ -8976,6 +9147,9 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
8976
9147
  id?: string;
8977
9148
  last_error?: string | null;
8978
9149
  last_error_at?: string | null;
9150
+ last_error_code?: string | null;
9151
+ last_gateway_status?: number | null;
9152
+ last_response?: import("../integrations/supabase/types").Json | null;
8979
9153
  last_sent_hash?: string | null;
8980
9154
  locked_by?: string | null;
8981
9155
  locked_until?: string | null;
@@ -8996,6 +9170,9 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
8996
9170
  id?: string;
8997
9171
  last_error?: string | null;
8998
9172
  last_error_at?: string | null;
9173
+ last_error_code?: string | null;
9174
+ last_gateway_status?: number | null;
9175
+ last_response?: import("../integrations/supabase/types").Json | null;
8999
9176
  last_sent_hash?: string | null;
9000
9177
  locked_by?: string | null;
9001
9178
  locked_until?: string | null;
@@ -10549,6 +10726,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
10549
10726
  enforce: boolean;
10550
10727
  is_active: boolean;
10551
10728
  last_seen_at: string;
10729
+ missing_count: number;
10552
10730
  module_id: string;
10553
10731
  name: string;
10554
10732
  shell_id: string | null;
@@ -10559,6 +10737,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
10559
10737
  enforce?: boolean;
10560
10738
  is_active?: boolean;
10561
10739
  last_seen_at?: string;
10740
+ missing_count?: number;
10562
10741
  module_id: string;
10563
10742
  name: string;
10564
10743
  shell_id?: string | null;
@@ -10569,6 +10748,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
10569
10748
  enforce?: boolean;
10570
10749
  is_active?: boolean;
10571
10750
  last_seen_at?: string;
10751
+ missing_count?: number;
10572
10752
  module_id?: string;
10573
10753
  name?: string;
10574
10754
  shell_id?: string | null;
@@ -11568,6 +11748,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
11568
11748
  };
11569
11749
  order_invoice_links: {
11570
11750
  Row: {
11751
+ administration_code: string | null;
11571
11752
  attempts: number;
11572
11753
  created_at: string;
11573
11754
  error_message: string | null;
@@ -11580,6 +11761,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
11580
11761
  updated_at: string;
11581
11762
  };
11582
11763
  Insert: {
11764
+ administration_code?: string | null;
11583
11765
  attempts?: number;
11584
11766
  created_at?: string;
11585
11767
  error_message?: string | null;
@@ -11592,6 +11774,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
11592
11774
  updated_at?: string;
11593
11775
  };
11594
11776
  Update: {
11777
+ administration_code?: string | null;
11595
11778
  attempts?: number;
11596
11779
  created_at?: string;
11597
11780
  error_message?: string | null;
@@ -12757,6 +12940,27 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
12757
12940
  referencedColumns: ["id"];
12758
12941
  }];
12759
12942
  };
12943
+ pick_sync_state: {
12944
+ Row: {
12945
+ id: boolean;
12946
+ last_cleanup_at: string | null;
12947
+ last_sync_at: string | null;
12948
+ updated_at: string;
12949
+ };
12950
+ Insert: {
12951
+ id?: boolean;
12952
+ last_cleanup_at?: string | null;
12953
+ last_sync_at?: string | null;
12954
+ updated_at?: string;
12955
+ };
12956
+ Update: {
12957
+ id?: boolean;
12958
+ last_cleanup_at?: string | null;
12959
+ last_sync_at?: string | null;
12960
+ updated_at?: string;
12961
+ };
12962
+ Relationships: [];
12963
+ };
12760
12964
  pick_task_document_types: {
12761
12965
  Row: {
12762
12966
  created_at: string;
@@ -13039,6 +13243,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
13039
13243
  gebruiker_id: string | null;
13040
13244
  gebruiker_naam: string;
13041
13245
  gestart_op: string | null;
13246
+ herkomst: string | null;
13042
13247
  id: string;
13043
13248
  idempotentie_sleutel: string | null;
13044
13249
  is_herprint: boolean;
@@ -13068,6 +13273,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
13068
13273
  gebruiker_id?: string | null;
13069
13274
  gebruiker_naam?: string;
13070
13275
  gestart_op?: string | null;
13276
+ herkomst?: string | null;
13071
13277
  id?: string;
13072
13278
  idempotentie_sleutel?: string | null;
13073
13279
  is_herprint?: boolean;
@@ -13097,6 +13303,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
13097
13303
  gebruiker_id?: string | null;
13098
13304
  gebruiker_naam?: string;
13099
13305
  gestart_op?: string | null;
13306
+ herkomst?: string | null;
13100
13307
  id?: string;
13101
13308
  idempotentie_sleutel?: string | null;
13102
13309
  is_herprint?: boolean;
@@ -16101,12 +16308,16 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
16101
16308
  company_name: string | null;
16102
16309
  connected_at: string | null;
16103
16310
  created_at: string;
16311
+ disconnected_at: string | null;
16104
16312
  environment: string;
16105
16313
  id: string;
16314
+ initial_sync_completed_at: string | null;
16315
+ initial_sync_started_at: string | null;
16106
16316
  is_active: boolean;
16107
16317
  label: string | null;
16108
16318
  office_code: string | null;
16109
16319
  redirect_uri: string | null;
16320
+ superseded_at: string | null;
16110
16321
  updated_at: string;
16111
16322
  user_id: string;
16112
16323
  };
@@ -16117,12 +16328,16 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
16117
16328
  company_name?: string | null;
16118
16329
  connected_at?: string | null;
16119
16330
  created_at?: string;
16331
+ disconnected_at?: string | null;
16120
16332
  environment: string;
16121
16333
  id?: string;
16334
+ initial_sync_completed_at?: string | null;
16335
+ initial_sync_started_at?: string | null;
16122
16336
  is_active?: boolean;
16123
16337
  label?: string | null;
16124
16338
  office_code?: string | null;
16125
16339
  redirect_uri?: string | null;
16340
+ superseded_at?: string | null;
16126
16341
  updated_at?: string;
16127
16342
  user_id: string;
16128
16343
  };
@@ -16133,12 +16348,16 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
16133
16348
  company_name?: string | null;
16134
16349
  connected_at?: string | null;
16135
16350
  created_at?: string;
16351
+ disconnected_at?: string | null;
16136
16352
  environment?: string;
16137
16353
  id?: string;
16354
+ initial_sync_completed_at?: string | null;
16355
+ initial_sync_started_at?: string | null;
16138
16356
  is_active?: boolean;
16139
16357
  label?: string | null;
16140
16358
  office_code?: string | null;
16141
16359
  redirect_uri?: string | null;
16360
+ superseded_at?: string | null;
16142
16361
  updated_at?: string;
16143
16362
  user_id?: string;
16144
16363
  };
@@ -16198,6 +16417,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
16198
16417
  twinfield_customers: {
16199
16418
  Row: {
16200
16419
  address: string | null;
16420
+ administration_code: string;
16201
16421
  city: string | null;
16202
16422
  country: string | null;
16203
16423
  created_at: string;
@@ -16217,6 +16437,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
16217
16437
  };
16218
16438
  Insert: {
16219
16439
  address?: string | null;
16440
+ administration_code?: string;
16220
16441
  city?: string | null;
16221
16442
  country?: string | null;
16222
16443
  created_at?: string;
@@ -16236,6 +16457,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
16236
16457
  };
16237
16458
  Update: {
16238
16459
  address?: string | null;
16460
+ administration_code?: string;
16239
16461
  city?: string | null;
16240
16462
  country?: string | null;
16241
16463
  created_at?: string;
@@ -16449,7 +16671,9 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
16449
16671
  };
16450
16672
  twinfield_invoice_settings: {
16451
16673
  Row: {
16674
+ administration_code: string | null;
16452
16675
  auto_invoice_enabled: boolean;
16676
+ auto_invoice_start_date: string | null;
16453
16677
  auto_invoice_trigger_statuses: string[];
16454
16678
  created_at: string;
16455
16679
  debtor_gl_account: string;
@@ -16463,15 +16687,19 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
16463
16687
  invoice_enabled_fo: boolean;
16464
16688
  invoice_enabled_ho: boolean;
16465
16689
  invoice_enabled_mo: boolean;
16690
+ needs_review: boolean;
16466
16691
  payment_gl_account: string;
16467
16692
  payment_journal_code: string;
16693
+ settings_confirmed_at: string | null;
16468
16694
  updated_at: string;
16469
16695
  user_id: string;
16470
16696
  vat_code_eu_reverse: string | null;
16471
16697
  vat_code_export: string | null;
16472
16698
  };
16473
16699
  Insert: {
16700
+ administration_code?: string | null;
16474
16701
  auto_invoice_enabled?: boolean;
16702
+ auto_invoice_start_date?: string | null;
16475
16703
  auto_invoice_trigger_statuses?: string[];
16476
16704
  created_at?: string;
16477
16705
  debtor_gl_account?: string;
@@ -16485,15 +16713,19 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
16485
16713
  invoice_enabled_fo?: boolean;
16486
16714
  invoice_enabled_ho?: boolean;
16487
16715
  invoice_enabled_mo?: boolean;
16716
+ needs_review?: boolean;
16488
16717
  payment_gl_account?: string;
16489
16718
  payment_journal_code?: string;
16719
+ settings_confirmed_at?: string | null;
16490
16720
  updated_at?: string;
16491
16721
  user_id: string;
16492
16722
  vat_code_eu_reverse?: string | null;
16493
16723
  vat_code_export?: string | null;
16494
16724
  };
16495
16725
  Update: {
16726
+ administration_code?: string | null;
16496
16727
  auto_invoice_enabled?: boolean;
16728
+ auto_invoice_start_date?: string | null;
16497
16729
  auto_invoice_trigger_statuses?: string[];
16498
16730
  created_at?: string;
16499
16731
  debtor_gl_account?: string;
@@ -16507,8 +16739,10 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
16507
16739
  invoice_enabled_fo?: boolean;
16508
16740
  invoice_enabled_ho?: boolean;
16509
16741
  invoice_enabled_mo?: boolean;
16742
+ needs_review?: boolean;
16510
16743
  payment_gl_account?: string;
16511
16744
  payment_journal_code?: string;
16745
+ settings_confirmed_at?: string | null;
16512
16746
  updated_at?: string;
16513
16747
  user_id?: string;
16514
16748
  vat_code_eu_reverse?: string | null;
@@ -17113,114 +17347,6 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
17113
17347
  };
17114
17348
  Relationships: [];
17115
17349
  };
17116
- uren_facturen: {
17117
- Row: {
17118
- created_at: string;
17119
- created_by: string | null;
17120
- customer_id: string | null;
17121
- customer_name: string | null;
17122
- id: string;
17123
- invoice_number: string | null;
17124
- note: string | null;
17125
- status: string;
17126
- total_excl_cents: number;
17127
- total_incl_cents: number;
17128
- updated_at: string;
17129
- vat_cents: number;
17130
- vat_percentage: number;
17131
- werkbon_id: string | null;
17132
- };
17133
- Insert: {
17134
- created_at?: string;
17135
- created_by?: string | null;
17136
- customer_id?: string | null;
17137
- customer_name?: string | null;
17138
- id?: string;
17139
- invoice_number?: string | null;
17140
- note?: string | null;
17141
- status?: string;
17142
- total_excl_cents?: number;
17143
- total_incl_cents?: number;
17144
- updated_at?: string;
17145
- vat_cents?: number;
17146
- vat_percentage?: number;
17147
- werkbon_id?: string | null;
17148
- };
17149
- Update: {
17150
- created_at?: string;
17151
- created_by?: string | null;
17152
- customer_id?: string | null;
17153
- customer_name?: string | null;
17154
- id?: string;
17155
- invoice_number?: string | null;
17156
- note?: string | null;
17157
- status?: string;
17158
- total_excl_cents?: number;
17159
- total_incl_cents?: number;
17160
- updated_at?: string;
17161
- vat_cents?: number;
17162
- vat_percentage?: number;
17163
- werkbon_id?: string | null;
17164
- };
17165
- Relationships: [{
17166
- foreignKeyName: "uren_facturen_customer_id_fkey";
17167
- columns: ["customer_id"];
17168
- isOneToOne: false;
17169
- referencedRelation: "itk_customers";
17170
- referencedColumns: ["id"];
17171
- }, {
17172
- foreignKeyName: "uren_facturen_werkbon_id_fkey";
17173
- columns: ["werkbon_id"];
17174
- isOneToOne: true;
17175
- referencedRelation: "werkbonnen";
17176
- referencedColumns: ["id"];
17177
- }];
17178
- };
17179
- uren_factuur_regels: {
17180
- Row: {
17181
- created_at: string;
17182
- description: string;
17183
- factuur_id: string;
17184
- id: string;
17185
- kind: string | null;
17186
- quantity: number;
17187
- sort_order: number;
17188
- total_cents: number;
17189
- unit: string;
17190
- unit_price_cents: number;
17191
- };
17192
- Insert: {
17193
- created_at?: string;
17194
- description: string;
17195
- factuur_id: string;
17196
- id?: string;
17197
- kind?: string | null;
17198
- quantity?: number;
17199
- sort_order?: number;
17200
- total_cents?: number;
17201
- unit?: string;
17202
- unit_price_cents?: number;
17203
- };
17204
- Update: {
17205
- created_at?: string;
17206
- description?: string;
17207
- factuur_id?: string;
17208
- id?: string;
17209
- kind?: string | null;
17210
- quantity?: number;
17211
- sort_order?: number;
17212
- total_cents?: number;
17213
- unit?: string;
17214
- unit_price_cents?: number;
17215
- };
17216
- Relationships: [{
17217
- foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
17218
- columns: ["factuur_id"];
17219
- isOneToOne: false;
17220
- referencedRelation: "uren_facturen";
17221
- referencedColumns: ["id"];
17222
- }];
17223
- };
17224
17350
  uren_offerte_regels: {
17225
17351
  Row: {
17226
17352
  created_at: string;
@@ -18474,6 +18600,9 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
18474
18600
  scheduled_end_time: string | null;
18475
18601
  scheduled_start_time: string | null;
18476
18602
  sequence_number: number;
18603
+ signature_accepted_at: string | null;
18604
+ signature_by_user_id: string | null;
18605
+ signature_name: string | null;
18477
18606
  source_email_meta: import("../integrations/supabase/types").Json | null;
18478
18607
  source_mailbox_message_id: string | null;
18479
18608
  source_pdf_path: string | null;
@@ -18509,6 +18638,9 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
18509
18638
  scheduled_end_time?: string | null;
18510
18639
  scheduled_start_time?: string | null;
18511
18640
  sequence_number: number;
18641
+ signature_accepted_at?: string | null;
18642
+ signature_by_user_id?: string | null;
18643
+ signature_name?: string | null;
18512
18644
  source_email_meta?: import("../integrations/supabase/types").Json | null;
18513
18645
  source_mailbox_message_id?: string | null;
18514
18646
  source_pdf_path?: string | null;
@@ -18544,6 +18676,9 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
18544
18676
  scheduled_end_time?: string | null;
18545
18677
  scheduled_start_time?: string | null;
18546
18678
  sequence_number?: number;
18679
+ signature_accepted_at?: string | null;
18680
+ signature_by_user_id?: string | null;
18681
+ signature_name?: string | null;
18547
18682
  source_email_meta?: import("../integrations/supabase/types").Json | null;
18548
18683
  source_mailbox_message_id?: string | null;
18549
18684
  source_pdf_path?: string | null;
@@ -19060,6 +19195,114 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
19060
19195
  };
19061
19196
  Relationships: [];
19062
19197
  };
19198
+ uren_facturen: {
19199
+ Row: {
19200
+ created_at: string | null;
19201
+ created_by: string | null;
19202
+ customer_id: string | null;
19203
+ customer_name: string | null;
19204
+ id: string | null;
19205
+ invoice_number: string | null;
19206
+ note: string | null;
19207
+ status: string | null;
19208
+ total_excl_cents: number | null;
19209
+ total_incl_cents: number | null;
19210
+ updated_at: string | null;
19211
+ vat_cents: number | null;
19212
+ vat_percentage: number | null;
19213
+ werkbon_id: string | null;
19214
+ };
19215
+ Insert: {
19216
+ created_at?: string | null;
19217
+ created_by?: string | null;
19218
+ customer_id?: string | null;
19219
+ customer_name?: string | null;
19220
+ id?: string | null;
19221
+ invoice_number?: string | null;
19222
+ note?: string | null;
19223
+ status?: string | null;
19224
+ total_excl_cents?: number | null;
19225
+ total_incl_cents?: number | null;
19226
+ updated_at?: string | null;
19227
+ vat_cents?: number | null;
19228
+ vat_percentage?: number | null;
19229
+ werkbon_id?: never;
19230
+ };
19231
+ Update: {
19232
+ created_at?: string | null;
19233
+ created_by?: string | null;
19234
+ customer_id?: string | null;
19235
+ customer_name?: string | null;
19236
+ id?: string | null;
19237
+ invoice_number?: string | null;
19238
+ note?: string | null;
19239
+ status?: string | null;
19240
+ total_excl_cents?: number | null;
19241
+ total_incl_cents?: number | null;
19242
+ updated_at?: string | null;
19243
+ vat_cents?: number | null;
19244
+ vat_percentage?: number | null;
19245
+ werkbon_id?: never;
19246
+ };
19247
+ Relationships: [{
19248
+ foreignKeyName: "invoices_customer_id_fkey";
19249
+ columns: ["customer_id"];
19250
+ isOneToOne: false;
19251
+ referencedRelation: "itk_customers";
19252
+ referencedColumns: ["id"];
19253
+ }];
19254
+ };
19255
+ uren_factuur_regels: {
19256
+ Row: {
19257
+ created_at: string | null;
19258
+ description: string | null;
19259
+ factuur_id: string | null;
19260
+ id: string | null;
19261
+ kind: string | null;
19262
+ quantity: number | null;
19263
+ sort_order: number | null;
19264
+ total_cents: number | null;
19265
+ unit: string | null;
19266
+ unit_price_cents: number | null;
19267
+ };
19268
+ Insert: {
19269
+ created_at?: string | null;
19270
+ description?: string | null;
19271
+ factuur_id?: string | null;
19272
+ id?: string | null;
19273
+ kind?: string | null;
19274
+ quantity?: number | null;
19275
+ sort_order?: number | null;
19276
+ total_cents?: number | null;
19277
+ unit?: string | null;
19278
+ unit_price_cents?: number | null;
19279
+ };
19280
+ Update: {
19281
+ created_at?: string | null;
19282
+ description?: string | null;
19283
+ factuur_id?: string | null;
19284
+ id?: string | null;
19285
+ kind?: string | null;
19286
+ quantity?: number | null;
19287
+ sort_order?: number | null;
19288
+ total_cents?: number | null;
19289
+ unit?: string | null;
19290
+ unit_price_cents?: number | null;
19291
+ };
19292
+ Relationships: [{
19293
+ foreignKeyName: "invoice_items_invoice_id_fkey";
19294
+ columns: ["factuur_id"];
19295
+ isOneToOne: false;
19296
+ referencedRelation: "invoices";
19297
+ referencedColumns: ["id"];
19298
+ }, {
19299
+ foreignKeyName: "invoice_items_invoice_id_fkey";
19300
+ columns: ["factuur_id"];
19301
+ isOneToOne: false;
19302
+ referencedRelation: "uren_facturen";
19303
+ referencedColumns: ["id"];
19304
+ }];
19305
+ };
19063
19306
  v_external_customers_exact: {
19064
19307
  Row: {
19065
19308
  account_number: string | null;
@@ -19565,6 +19808,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
19565
19808
  gebruiker_id: string | null;
19566
19809
  gebruiker_naam: string;
19567
19810
  gestart_op: string | null;
19811
+ herkomst: string | null;
19568
19812
  id: string;
19569
19813
  idempotentie_sleutel: string | null;
19570
19814
  is_herprint: boolean;
@@ -19685,6 +19929,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
19685
19929
  gebruiker_id: string | null;
19686
19930
  gebruiker_naam: string;
19687
19931
  gestart_op: string | null;
19932
+ herkomst: string | null;
19688
19933
  id: string;
19689
19934
  idempotentie_sleutel: string | null;
19690
19935
  is_herprint: boolean;
@@ -20286,6 +20531,46 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
20286
20531
  Args: never;
20287
20532
  Returns: boolean;
20288
20533
  };
20534
+ invoice_create_from_source: {
20535
+ Args: {
20536
+ _payload?: import("../integrations/supabase/types").Json;
20537
+ _source_id: string;
20538
+ _source_type: string;
20539
+ };
20540
+ Returns: import("../integrations/supabase/types").Json;
20541
+ };
20542
+ invoice_get_billable_lines: {
20543
+ Args: {
20544
+ _invoice_id: string;
20545
+ };
20546
+ Returns: import("../integrations/supabase/types").Json;
20547
+ };
20548
+ invoice_get_for_source: {
20549
+ Args: {
20550
+ _source_id: string;
20551
+ _source_type: string;
20552
+ };
20553
+ Returns: import("../integrations/supabase/types").Json;
20554
+ };
20555
+ invoice_get_summary: {
20556
+ Args: {
20557
+ _invoice_id: string;
20558
+ };
20559
+ Returns: import("../integrations/supabase/types").Json;
20560
+ };
20561
+ invoice_list_sources: {
20562
+ Args: {
20563
+ _limit?: number;
20564
+ _source_type?: string;
20565
+ };
20566
+ Returns: import("../integrations/supabase/types").Json;
20567
+ };
20568
+ invoice_recalc_totals: {
20569
+ Args: {
20570
+ _invoice_id: string;
20571
+ };
20572
+ Returns: import("../integrations/supabase/types").Json;
20573
+ };
20289
20574
  is_authenticated: {
20290
20575
  Args: never;
20291
20576
  Returns: boolean;
@@ -20354,6 +20639,29 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
20354
20639
  roles: string[];
20355
20640
  }[];
20356
20641
  };
20642
+ list_monteur_absences: {
20643
+ Args: {
20644
+ _from: string;
20645
+ _to: string;
20646
+ };
20647
+ Returns: {
20648
+ absence_date: string;
20649
+ end_time: string;
20650
+ full_day: boolean;
20651
+ kind: string;
20652
+ monteur_id: string;
20653
+ start_time: string;
20654
+ }[];
20655
+ };
20656
+ list_monteurs: {
20657
+ Args: never;
20658
+ Returns: {
20659
+ avatar_url: string;
20660
+ display_name: string;
20661
+ email: string;
20662
+ id: string;
20663
+ }[];
20664
+ };
20357
20665
  list_my_planning_items: {
20358
20666
  Args: {
20359
20667
  _from: string;
@@ -20765,6 +21073,23 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
20765
21073
  };
20766
21074
  Returns: string;
20767
21075
  };
21076
+ logistics_floriday_finish_push_v2: {
21077
+ Args: {
21078
+ _error?: string;
21079
+ _error_code?: string;
21080
+ _fulfillment_order_id?: string;
21081
+ _gateway_status?: number;
21082
+ _id: string;
21083
+ _max_age_hours?: number;
21084
+ _max_attempts?: number;
21085
+ _ok: boolean;
21086
+ _permanent?: boolean;
21087
+ _response?: import("../integrations/supabase/types").Json;
21088
+ _revision: number;
21089
+ _sent_hash?: string;
21090
+ };
21091
+ Returns: string;
21092
+ };
20768
21093
  logistics_floriday_prune_pushes: {
20769
21094
  Args: {
20770
21095
  _days?: number;
@@ -21307,6 +21632,13 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
21307
21632
  isSetofReturn: false;
21308
21633
  };
21309
21634
  };
21635
+ pick_cleanup_maintenance: {
21636
+ Args: {
21637
+ _heartbeat_hours?: number;
21638
+ _log_days?: number;
21639
+ };
21640
+ Returns: import("../integrations/supabase/types").Json;
21641
+ };
21310
21642
  pick_complete_print: {
21311
21643
  Args: {
21312
21644
  _printer_id: string;
@@ -21358,6 +21690,14 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
21358
21690
  Args: never;
21359
21691
  Returns: string;
21360
21692
  };
21693
+ pick_day_counts: {
21694
+ Args: {
21695
+ _pick_day?: string;
21696
+ _screen_id?: string;
21697
+ _station_id?: string;
21698
+ };
21699
+ Returns: import("../integrations/supabase/types").Json;
21700
+ };
21361
21701
  pick_document_layout_data: {
21362
21702
  Args: {
21363
21703
  _layout_id: string;
@@ -21395,6 +21735,14 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
21395
21735
  };
21396
21736
  Returns: undefined;
21397
21737
  };
21738
+ pick_reprint_document: {
21739
+ Args: {
21740
+ _queue_item_id: string;
21741
+ _session_id: string;
21742
+ _throttle_seconds?: number;
21743
+ };
21744
+ Returns: string;
21745
+ };
21398
21746
  pick_reset_print: {
21399
21747
  Args: {
21400
21748
  _queue_item_id: string;
@@ -21460,6 +21808,12 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
21460
21808
  };
21461
21809
  Returns: string;
21462
21810
  };
21811
+ pick_sync_queue_throttled: {
21812
+ Args: {
21813
+ _min_seconds?: number;
21814
+ };
21815
+ Returns: import("../integrations/supabase/types").Json;
21816
+ };
21463
21817
  pickstation_get_orders_raw: {
21464
21818
  Args: never;
21465
21819
  Returns: import("../integrations/supabase/types").Json;
@@ -21605,6 +21959,12 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
21605
21959
  };
21606
21960
  Returns: boolean;
21607
21961
  };
21962
+ release_stale_order_invoice_links: {
21963
+ Args: {
21964
+ _minutes?: number;
21965
+ };
21966
+ Returns: number;
21967
+ };
21608
21968
  reorder_customer_price_groups: {
21609
21969
  Args: {
21610
21970
  _ids: string[];
@@ -22123,6 +22483,20 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
22123
22483
  };
22124
22484
  Returns: undefined;
22125
22485
  };
22486
+ twinfield_deactivate_connection: {
22487
+ Args: {
22488
+ p_connection_id: string;
22489
+ p_user_id: string;
22490
+ };
22491
+ Returns: import("../integrations/supabase/types").Json;
22492
+ };
22493
+ twinfield_handle_administration_change: {
22494
+ Args: {
22495
+ _administration_code: string;
22496
+ _user_id: string;
22497
+ };
22498
+ Returns: undefined;
22499
+ };
22126
22500
  twinfield_prune_push_queue: {
22127
22501
  Args: never;
22128
22502
  Returns: number;
@@ -22142,10 +22516,11 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
22142
22516
  p_company_name?: string;
22143
22517
  p_environment: string;
22144
22518
  p_office_code?: string;
22519
+ p_reset_sync?: boolean;
22145
22520
  p_status?: string;
22146
22521
  p_user_id: string;
22147
22522
  };
22148
- Returns: string;
22523
+ Returns: import("../integrations/supabase/types").Json;
22149
22524
  };
22150
22525
  upsert_auto_fulfillment_log: {
22151
22526
  Args: {
@@ -24972,6 +25347,42 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
24972
25347
  };
24973
25348
  Relationships: [];
24974
25349
  };
25350
+ document_bronregels: {
25351
+ Row: {
25352
+ bron: string;
25353
+ created_at: string;
25354
+ documenttype: string;
25355
+ herkomst: string;
25356
+ id: string;
25357
+ layout_id: string | null;
25358
+ updated_at: string;
25359
+ };
25360
+ Insert: {
25361
+ bron?: string;
25362
+ created_at?: string;
25363
+ documenttype: string;
25364
+ herkomst: string;
25365
+ id?: string;
25366
+ layout_id?: string | null;
25367
+ updated_at?: string;
25368
+ };
25369
+ Update: {
25370
+ bron?: string;
25371
+ created_at?: string;
25372
+ documenttype?: string;
25373
+ herkomst?: string;
25374
+ id?: string;
25375
+ layout_id?: string | null;
25376
+ updated_at?: string;
25377
+ };
25378
+ Relationships: [{
25379
+ foreignKeyName: "document_bronregels_layout_id_fkey";
25380
+ columns: ["layout_id"];
25381
+ isOneToOne: false;
25382
+ referencedRelation: "document_layouts";
25383
+ referencedColumns: ["id"];
25384
+ }];
25385
+ };
24975
25386
  document_formaat_printers: {
24976
25387
  Row: {
24977
25388
  created_at: string;
@@ -25249,6 +25660,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
25249
25660
  Row: {
25250
25661
  actief: boolean;
25251
25662
  breedte_mm: number;
25663
+ bron: string;
25252
25664
  config: import("../integrations/supabase/types").Json;
25253
25665
  created_at: string;
25254
25666
  created_by: string | null;
@@ -25266,12 +25678,14 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
25266
25678
  orientatie: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
25267
25679
  page_settings: import("../integrations/supabase/types").Json;
25268
25680
  papierformaat: string;
25681
+ systeem: boolean;
25269
25682
  thumbnail_url: string | null;
25270
25683
  updated_at: string;
25271
25684
  };
25272
25685
  Insert: {
25273
25686
  actief?: boolean;
25274
25687
  breedte_mm?: number;
25688
+ bron?: string;
25275
25689
  config?: import("../integrations/supabase/types").Json;
25276
25690
  created_at?: string;
25277
25691
  created_by?: string | null;
@@ -25289,12 +25703,14 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
25289
25703
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
25290
25704
  page_settings?: import("../integrations/supabase/types").Json;
25291
25705
  papierformaat?: string;
25706
+ systeem?: boolean;
25292
25707
  thumbnail_url?: string | null;
25293
25708
  updated_at?: string;
25294
25709
  };
25295
25710
  Update: {
25296
25711
  actief?: boolean;
25297
25712
  breedte_mm?: number;
25713
+ bron?: string;
25298
25714
  config?: import("../integrations/supabase/types").Json;
25299
25715
  created_at?: string;
25300
25716
  created_by?: string | null;
@@ -25312,11 +25728,48 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
25312
25728
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
25313
25729
  page_settings?: import("../integrations/supabase/types").Json;
25314
25730
  papierformaat?: string;
25731
+ systeem?: boolean;
25315
25732
  thumbnail_url?: string | null;
25316
25733
  updated_at?: string;
25317
25734
  };
25318
25735
  Relationships: [];
25319
25736
  };
25737
+ document_werkplek_printers: {
25738
+ Row: {
25739
+ created_at: string;
25740
+ documenttype: string;
25741
+ id: string;
25742
+ papierformaat: string | null;
25743
+ printer_id: string | null;
25744
+ updated_at: string;
25745
+ werkplek: string;
25746
+ };
25747
+ Insert: {
25748
+ created_at?: string;
25749
+ documenttype: string;
25750
+ id?: string;
25751
+ papierformaat?: string | null;
25752
+ printer_id?: string | null;
25753
+ updated_at?: string;
25754
+ werkplek: string;
25755
+ };
25756
+ Update: {
25757
+ created_at?: string;
25758
+ documenttype?: string;
25759
+ id?: string;
25760
+ papierformaat?: string | null;
25761
+ printer_id?: string | null;
25762
+ updated_at?: string;
25763
+ werkplek?: string;
25764
+ };
25765
+ Relationships: [{
25766
+ foreignKeyName: "document_werkplek_printers_printer_id_fkey";
25767
+ columns: ["printer_id"];
25768
+ isOneToOne: false;
25769
+ referencedRelation: "printers";
25770
+ referencedColumns: ["id"];
25771
+ }];
25772
+ };
25320
25773
  email_auth_connections: {
25321
25774
  Row: {
25322
25775
  access_token_encrypted: string | null;
@@ -27258,42 +27711,6 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
27258
27711
  };
27259
27712
  Relationships: [];
27260
27713
  };
27261
- facturen: {
27262
- Row: {
27263
- bedrag_incl_btw: number;
27264
- created_at: string;
27265
- datum: string;
27266
- factuurnummer: string;
27267
- id: string;
27268
- klantnaam: string;
27269
- status: string;
27270
- updated_at: string;
27271
- user_id: string;
27272
- };
27273
- Insert: {
27274
- bedrag_incl_btw: number;
27275
- created_at?: string;
27276
- datum?: string;
27277
- factuurnummer: string;
27278
- id?: string;
27279
- klantnaam: string;
27280
- status?: string;
27281
- updated_at?: string;
27282
- user_id?: string;
27283
- };
27284
- Update: {
27285
- bedrag_incl_btw?: number;
27286
- created_at?: string;
27287
- datum?: string;
27288
- factuurnummer?: string;
27289
- id?: string;
27290
- klantnaam?: string;
27291
- status?: string;
27292
- updated_at?: string;
27293
- user_id?: string;
27294
- };
27295
- Relationships: [];
27296
- };
27297
27714
  floricode_connection_settings: {
27298
27715
  Row: {
27299
27716
  catalog_key: string | null;
@@ -29598,8 +30015,63 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
29598
30015
  };
29599
30016
  Relationships: [];
29600
30017
  };
30018
+ invoice_items: {
30019
+ Row: {
30020
+ created_at: string;
30021
+ description: string;
30022
+ id: string;
30023
+ invoice_id: string;
30024
+ kind: string;
30025
+ quantity: number;
30026
+ sort_order: number;
30027
+ source_line_ref: string | null;
30028
+ total_cents: number;
30029
+ unit: string;
30030
+ unit_price_cents: number;
30031
+ };
30032
+ Insert: {
30033
+ created_at?: string;
30034
+ description?: string;
30035
+ id?: string;
30036
+ invoice_id: string;
30037
+ kind?: string;
30038
+ quantity?: number;
30039
+ sort_order?: number;
30040
+ source_line_ref?: string | null;
30041
+ total_cents?: number;
30042
+ unit?: string;
30043
+ unit_price_cents?: number;
30044
+ };
30045
+ Update: {
30046
+ created_at?: string;
30047
+ description?: string;
30048
+ id?: string;
30049
+ invoice_id?: string;
30050
+ kind?: string;
30051
+ quantity?: number;
30052
+ sort_order?: number;
30053
+ source_line_ref?: string | null;
30054
+ total_cents?: number;
30055
+ unit?: string;
30056
+ unit_price_cents?: number;
30057
+ };
30058
+ Relationships: [{
30059
+ foreignKeyName: "invoice_items_invoice_id_fkey";
30060
+ columns: ["invoice_id"];
30061
+ isOneToOne: false;
30062
+ referencedRelation: "invoices";
30063
+ referencedColumns: ["id"];
30064
+ }, {
30065
+ foreignKeyName: "invoice_items_invoice_id_fkey";
30066
+ columns: ["invoice_id"];
30067
+ isOneToOne: false;
30068
+ referencedRelation: "uren_facturen";
30069
+ referencedColumns: ["id"];
30070
+ }];
30071
+ };
29601
30072
  invoice_post_idempotency: {
29602
30073
  Row: {
30074
+ administration_code: string;
29603
30075
  client_request_id: string;
29604
30076
  completed_at: string | null;
29605
30077
  created_at: string;
@@ -29609,6 +30081,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
29609
30081
  user_id: string;
29610
30082
  };
29611
30083
  Insert: {
30084
+ administration_code?: string;
29612
30085
  client_request_id: string;
29613
30086
  completed_at?: string | null;
29614
30087
  created_at?: string;
@@ -29618,6 +30091,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
29618
30091
  user_id: string;
29619
30092
  };
29620
30093
  Update: {
30094
+ administration_code?: string;
29621
30095
  client_request_id?: string;
29622
30096
  completed_at?: string | null;
29623
30097
  created_at?: string;
@@ -29823,6 +30297,75 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
29823
30297
  };
29824
30298
  Relationships: [];
29825
30299
  };
30300
+ invoices: {
30301
+ Row: {
30302
+ created_at: string;
30303
+ created_by: string | null;
30304
+ customer_id: string | null;
30305
+ customer_name: string | null;
30306
+ due_date: string | null;
30307
+ id: string;
30308
+ invoice_date: string;
30309
+ invoice_number: string | null;
30310
+ note: string | null;
30311
+ source_number: string | null;
30312
+ source_ref: string | null;
30313
+ source_type: string;
30314
+ status: string;
30315
+ subtotal_cents: number;
30316
+ total_cents: number;
30317
+ updated_at: string;
30318
+ vat_cents: number;
30319
+ vat_rate: number;
30320
+ };
30321
+ Insert: {
30322
+ created_at?: string;
30323
+ created_by?: string | null;
30324
+ customer_id?: string | null;
30325
+ customer_name?: string | null;
30326
+ due_date?: string | null;
30327
+ id?: string;
30328
+ invoice_date?: string;
30329
+ invoice_number?: string | null;
30330
+ note?: string | null;
30331
+ source_number?: string | null;
30332
+ source_ref?: string | null;
30333
+ source_type?: string;
30334
+ status?: string;
30335
+ subtotal_cents?: number;
30336
+ total_cents?: number;
30337
+ updated_at?: string;
30338
+ vat_cents?: number;
30339
+ vat_rate?: number;
30340
+ };
30341
+ Update: {
30342
+ created_at?: string;
30343
+ created_by?: string | null;
30344
+ customer_id?: string | null;
30345
+ customer_name?: string | null;
30346
+ due_date?: string | null;
30347
+ id?: string;
30348
+ invoice_date?: string;
30349
+ invoice_number?: string | null;
30350
+ note?: string | null;
30351
+ source_number?: string | null;
30352
+ source_ref?: string | null;
30353
+ source_type?: string;
30354
+ status?: string;
30355
+ subtotal_cents?: number;
30356
+ total_cents?: number;
30357
+ updated_at?: string;
30358
+ vat_cents?: number;
30359
+ vat_rate?: number;
30360
+ };
30361
+ Relationships: [{
30362
+ foreignKeyName: "invoices_customer_id_fkey";
30363
+ columns: ["customer_id"];
30364
+ isOneToOne: false;
30365
+ referencedRelation: "itk_customers";
30366
+ referencedColumns: ["id"];
30367
+ }];
30368
+ };
29826
30369
  itk_contact_persons: {
29827
30370
  Row: {
29828
30371
  created_at: string;
@@ -31170,6 +31713,9 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
31170
31713
  id: string;
31171
31714
  last_error: string | null;
31172
31715
  last_error_at: string | null;
31716
+ last_error_code: string | null;
31717
+ last_gateway_status: number | null;
31718
+ last_response: import("../integrations/supabase/types").Json | null;
31173
31719
  last_sent_hash: string | null;
31174
31720
  locked_by: string | null;
31175
31721
  locked_until: string | null;
@@ -31190,6 +31736,9 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
31190
31736
  id?: string;
31191
31737
  last_error?: string | null;
31192
31738
  last_error_at?: string | null;
31739
+ last_error_code?: string | null;
31740
+ last_gateway_status?: number | null;
31741
+ last_response?: import("../integrations/supabase/types").Json | null;
31193
31742
  last_sent_hash?: string | null;
31194
31743
  locked_by?: string | null;
31195
31744
  locked_until?: string | null;
@@ -31210,6 +31759,9 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
31210
31759
  id?: string;
31211
31760
  last_error?: string | null;
31212
31761
  last_error_at?: string | null;
31762
+ last_error_code?: string | null;
31763
+ last_gateway_status?: number | null;
31764
+ last_response?: import("../integrations/supabase/types").Json | null;
31213
31765
  last_sent_hash?: string | null;
31214
31766
  locked_by?: string | null;
31215
31767
  locked_until?: string | null;
@@ -32763,6 +33315,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
32763
33315
  enforce: boolean;
32764
33316
  is_active: boolean;
32765
33317
  last_seen_at: string;
33318
+ missing_count: number;
32766
33319
  module_id: string;
32767
33320
  name: string;
32768
33321
  shell_id: string | null;
@@ -32773,6 +33326,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
32773
33326
  enforce?: boolean;
32774
33327
  is_active?: boolean;
32775
33328
  last_seen_at?: string;
33329
+ missing_count?: number;
32776
33330
  module_id: string;
32777
33331
  name: string;
32778
33332
  shell_id?: string | null;
@@ -32783,6 +33337,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
32783
33337
  enforce?: boolean;
32784
33338
  is_active?: boolean;
32785
33339
  last_seen_at?: string;
33340
+ missing_count?: number;
32786
33341
  module_id?: string;
32787
33342
  name?: string;
32788
33343
  shell_id?: string | null;
@@ -33782,6 +34337,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
33782
34337
  };
33783
34338
  order_invoice_links: {
33784
34339
  Row: {
34340
+ administration_code: string | null;
33785
34341
  attempts: number;
33786
34342
  created_at: string;
33787
34343
  error_message: string | null;
@@ -33794,6 +34350,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
33794
34350
  updated_at: string;
33795
34351
  };
33796
34352
  Insert: {
34353
+ administration_code?: string | null;
33797
34354
  attempts?: number;
33798
34355
  created_at?: string;
33799
34356
  error_message?: string | null;
@@ -33806,6 +34363,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
33806
34363
  updated_at?: string;
33807
34364
  };
33808
34365
  Update: {
34366
+ administration_code?: string | null;
33809
34367
  attempts?: number;
33810
34368
  created_at?: string;
33811
34369
  error_message?: string | null;
@@ -34971,6 +35529,27 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
34971
35529
  referencedColumns: ["id"];
34972
35530
  }];
34973
35531
  };
35532
+ pick_sync_state: {
35533
+ Row: {
35534
+ id: boolean;
35535
+ last_cleanup_at: string | null;
35536
+ last_sync_at: string | null;
35537
+ updated_at: string;
35538
+ };
35539
+ Insert: {
35540
+ id?: boolean;
35541
+ last_cleanup_at?: string | null;
35542
+ last_sync_at?: string | null;
35543
+ updated_at?: string;
35544
+ };
35545
+ Update: {
35546
+ id?: boolean;
35547
+ last_cleanup_at?: string | null;
35548
+ last_sync_at?: string | null;
35549
+ updated_at?: string;
35550
+ };
35551
+ Relationships: [];
35552
+ };
34974
35553
  pick_task_document_types: {
34975
35554
  Row: {
34976
35555
  created_at: string;
@@ -35253,6 +35832,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
35253
35832
  gebruiker_id: string | null;
35254
35833
  gebruiker_naam: string;
35255
35834
  gestart_op: string | null;
35835
+ herkomst: string | null;
35256
35836
  id: string;
35257
35837
  idempotentie_sleutel: string | null;
35258
35838
  is_herprint: boolean;
@@ -35282,6 +35862,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
35282
35862
  gebruiker_id?: string | null;
35283
35863
  gebruiker_naam?: string;
35284
35864
  gestart_op?: string | null;
35865
+ herkomst?: string | null;
35285
35866
  id?: string;
35286
35867
  idempotentie_sleutel?: string | null;
35287
35868
  is_herprint?: boolean;
@@ -35311,6 +35892,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
35311
35892
  gebruiker_id?: string | null;
35312
35893
  gebruiker_naam?: string;
35313
35894
  gestart_op?: string | null;
35895
+ herkomst?: string | null;
35314
35896
  id?: string;
35315
35897
  idempotentie_sleutel?: string | null;
35316
35898
  is_herprint?: boolean;
@@ -38315,12 +38897,16 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
38315
38897
  company_name: string | null;
38316
38898
  connected_at: string | null;
38317
38899
  created_at: string;
38900
+ disconnected_at: string | null;
38318
38901
  environment: string;
38319
38902
  id: string;
38903
+ initial_sync_completed_at: string | null;
38904
+ initial_sync_started_at: string | null;
38320
38905
  is_active: boolean;
38321
38906
  label: string | null;
38322
38907
  office_code: string | null;
38323
38908
  redirect_uri: string | null;
38909
+ superseded_at: string | null;
38324
38910
  updated_at: string;
38325
38911
  user_id: string;
38326
38912
  };
@@ -38331,12 +38917,16 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
38331
38917
  company_name?: string | null;
38332
38918
  connected_at?: string | null;
38333
38919
  created_at?: string;
38920
+ disconnected_at?: string | null;
38334
38921
  environment: string;
38335
38922
  id?: string;
38923
+ initial_sync_completed_at?: string | null;
38924
+ initial_sync_started_at?: string | null;
38336
38925
  is_active?: boolean;
38337
38926
  label?: string | null;
38338
38927
  office_code?: string | null;
38339
38928
  redirect_uri?: string | null;
38929
+ superseded_at?: string | null;
38340
38930
  updated_at?: string;
38341
38931
  user_id: string;
38342
38932
  };
@@ -38347,12 +38937,16 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
38347
38937
  company_name?: string | null;
38348
38938
  connected_at?: string | null;
38349
38939
  created_at?: string;
38940
+ disconnected_at?: string | null;
38350
38941
  environment?: string;
38351
38942
  id?: string;
38943
+ initial_sync_completed_at?: string | null;
38944
+ initial_sync_started_at?: string | null;
38352
38945
  is_active?: boolean;
38353
38946
  label?: string | null;
38354
38947
  office_code?: string | null;
38355
38948
  redirect_uri?: string | null;
38949
+ superseded_at?: string | null;
38356
38950
  updated_at?: string;
38357
38951
  user_id?: string;
38358
38952
  };
@@ -38412,6 +39006,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
38412
39006
  twinfield_customers: {
38413
39007
  Row: {
38414
39008
  address: string | null;
39009
+ administration_code: string;
38415
39010
  city: string | null;
38416
39011
  country: string | null;
38417
39012
  created_at: string;
@@ -38431,6 +39026,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
38431
39026
  };
38432
39027
  Insert: {
38433
39028
  address?: string | null;
39029
+ administration_code?: string;
38434
39030
  city?: string | null;
38435
39031
  country?: string | null;
38436
39032
  created_at?: string;
@@ -38450,6 +39046,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
38450
39046
  };
38451
39047
  Update: {
38452
39048
  address?: string | null;
39049
+ administration_code?: string;
38453
39050
  city?: string | null;
38454
39051
  country?: string | null;
38455
39052
  created_at?: string;
@@ -38663,7 +39260,9 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
38663
39260
  };
38664
39261
  twinfield_invoice_settings: {
38665
39262
  Row: {
39263
+ administration_code: string | null;
38666
39264
  auto_invoice_enabled: boolean;
39265
+ auto_invoice_start_date: string | null;
38667
39266
  auto_invoice_trigger_statuses: string[];
38668
39267
  created_at: string;
38669
39268
  debtor_gl_account: string;
@@ -38677,15 +39276,19 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
38677
39276
  invoice_enabled_fo: boolean;
38678
39277
  invoice_enabled_ho: boolean;
38679
39278
  invoice_enabled_mo: boolean;
39279
+ needs_review: boolean;
38680
39280
  payment_gl_account: string;
38681
39281
  payment_journal_code: string;
39282
+ settings_confirmed_at: string | null;
38682
39283
  updated_at: string;
38683
39284
  user_id: string;
38684
39285
  vat_code_eu_reverse: string | null;
38685
39286
  vat_code_export: string | null;
38686
39287
  };
38687
39288
  Insert: {
39289
+ administration_code?: string | null;
38688
39290
  auto_invoice_enabled?: boolean;
39291
+ auto_invoice_start_date?: string | null;
38689
39292
  auto_invoice_trigger_statuses?: string[];
38690
39293
  created_at?: string;
38691
39294
  debtor_gl_account?: string;
@@ -38699,15 +39302,19 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
38699
39302
  invoice_enabled_fo?: boolean;
38700
39303
  invoice_enabled_ho?: boolean;
38701
39304
  invoice_enabled_mo?: boolean;
39305
+ needs_review?: boolean;
38702
39306
  payment_gl_account?: string;
38703
39307
  payment_journal_code?: string;
39308
+ settings_confirmed_at?: string | null;
38704
39309
  updated_at?: string;
38705
39310
  user_id: string;
38706
39311
  vat_code_eu_reverse?: string | null;
38707
39312
  vat_code_export?: string | null;
38708
39313
  };
38709
39314
  Update: {
39315
+ administration_code?: string | null;
38710
39316
  auto_invoice_enabled?: boolean;
39317
+ auto_invoice_start_date?: string | null;
38711
39318
  auto_invoice_trigger_statuses?: string[];
38712
39319
  created_at?: string;
38713
39320
  debtor_gl_account?: string;
@@ -38721,8 +39328,10 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
38721
39328
  invoice_enabled_fo?: boolean;
38722
39329
  invoice_enabled_ho?: boolean;
38723
39330
  invoice_enabled_mo?: boolean;
39331
+ needs_review?: boolean;
38724
39332
  payment_gl_account?: string;
38725
39333
  payment_journal_code?: string;
39334
+ settings_confirmed_at?: string | null;
38726
39335
  updated_at?: string;
38727
39336
  user_id?: string;
38728
39337
  vat_code_eu_reverse?: string | null;
@@ -39327,114 +39936,6 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
39327
39936
  };
39328
39937
  Relationships: [];
39329
39938
  };
39330
- uren_facturen: {
39331
- Row: {
39332
- created_at: string;
39333
- created_by: string | null;
39334
- customer_id: string | null;
39335
- customer_name: string | null;
39336
- id: string;
39337
- invoice_number: string | null;
39338
- note: string | null;
39339
- status: string;
39340
- total_excl_cents: number;
39341
- total_incl_cents: number;
39342
- updated_at: string;
39343
- vat_cents: number;
39344
- vat_percentage: number;
39345
- werkbon_id: string | null;
39346
- };
39347
- Insert: {
39348
- created_at?: string;
39349
- created_by?: string | null;
39350
- customer_id?: string | null;
39351
- customer_name?: string | null;
39352
- id?: string;
39353
- invoice_number?: string | null;
39354
- note?: string | null;
39355
- status?: string;
39356
- total_excl_cents?: number;
39357
- total_incl_cents?: number;
39358
- updated_at?: string;
39359
- vat_cents?: number;
39360
- vat_percentage?: number;
39361
- werkbon_id?: string | null;
39362
- };
39363
- Update: {
39364
- created_at?: string;
39365
- created_by?: string | null;
39366
- customer_id?: string | null;
39367
- customer_name?: string | null;
39368
- id?: string;
39369
- invoice_number?: string | null;
39370
- note?: string | null;
39371
- status?: string;
39372
- total_excl_cents?: number;
39373
- total_incl_cents?: number;
39374
- updated_at?: string;
39375
- vat_cents?: number;
39376
- vat_percentage?: number;
39377
- werkbon_id?: string | null;
39378
- };
39379
- Relationships: [{
39380
- foreignKeyName: "uren_facturen_customer_id_fkey";
39381
- columns: ["customer_id"];
39382
- isOneToOne: false;
39383
- referencedRelation: "itk_customers";
39384
- referencedColumns: ["id"];
39385
- }, {
39386
- foreignKeyName: "uren_facturen_werkbon_id_fkey";
39387
- columns: ["werkbon_id"];
39388
- isOneToOne: true;
39389
- referencedRelation: "werkbonnen";
39390
- referencedColumns: ["id"];
39391
- }];
39392
- };
39393
- uren_factuur_regels: {
39394
- Row: {
39395
- created_at: string;
39396
- description: string;
39397
- factuur_id: string;
39398
- id: string;
39399
- kind: string | null;
39400
- quantity: number;
39401
- sort_order: number;
39402
- total_cents: number;
39403
- unit: string;
39404
- unit_price_cents: number;
39405
- };
39406
- Insert: {
39407
- created_at?: string;
39408
- description: string;
39409
- factuur_id: string;
39410
- id?: string;
39411
- kind?: string | null;
39412
- quantity?: number;
39413
- sort_order?: number;
39414
- total_cents?: number;
39415
- unit?: string;
39416
- unit_price_cents?: number;
39417
- };
39418
- Update: {
39419
- created_at?: string;
39420
- description?: string;
39421
- factuur_id?: string;
39422
- id?: string;
39423
- kind?: string | null;
39424
- quantity?: number;
39425
- sort_order?: number;
39426
- total_cents?: number;
39427
- unit?: string;
39428
- unit_price_cents?: number;
39429
- };
39430
- Relationships: [{
39431
- foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
39432
- columns: ["factuur_id"];
39433
- isOneToOne: false;
39434
- referencedRelation: "uren_facturen";
39435
- referencedColumns: ["id"];
39436
- }];
39437
- };
39438
39939
  uren_offerte_regels: {
39439
39940
  Row: {
39440
39941
  created_at: string;
@@ -40688,6 +41189,9 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
40688
41189
  scheduled_end_time: string | null;
40689
41190
  scheduled_start_time: string | null;
40690
41191
  sequence_number: number;
41192
+ signature_accepted_at: string | null;
41193
+ signature_by_user_id: string | null;
41194
+ signature_name: string | null;
40691
41195
  source_email_meta: import("../integrations/supabase/types").Json | null;
40692
41196
  source_mailbox_message_id: string | null;
40693
41197
  source_pdf_path: string | null;
@@ -40723,6 +41227,9 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
40723
41227
  scheduled_end_time?: string | null;
40724
41228
  scheduled_start_time?: string | null;
40725
41229
  sequence_number: number;
41230
+ signature_accepted_at?: string | null;
41231
+ signature_by_user_id?: string | null;
41232
+ signature_name?: string | null;
40726
41233
  source_email_meta?: import("../integrations/supabase/types").Json | null;
40727
41234
  source_mailbox_message_id?: string | null;
40728
41235
  source_pdf_path?: string | null;
@@ -40758,6 +41265,9 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
40758
41265
  scheduled_end_time?: string | null;
40759
41266
  scheduled_start_time?: string | null;
40760
41267
  sequence_number?: number;
41268
+ signature_accepted_at?: string | null;
41269
+ signature_by_user_id?: string | null;
41270
+ signature_name?: string | null;
40761
41271
  source_email_meta?: import("../integrations/supabase/types").Json | null;
40762
41272
  source_mailbox_message_id?: string | null;
40763
41273
  source_pdf_path?: string | null;
@@ -41274,6 +41784,114 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
41274
41784
  };
41275
41785
  Relationships: [];
41276
41786
  };
41787
+ uren_facturen: {
41788
+ Row: {
41789
+ created_at: string | null;
41790
+ created_by: string | null;
41791
+ customer_id: string | null;
41792
+ customer_name: string | null;
41793
+ id: string | null;
41794
+ invoice_number: string | null;
41795
+ note: string | null;
41796
+ status: string | null;
41797
+ total_excl_cents: number | null;
41798
+ total_incl_cents: number | null;
41799
+ updated_at: string | null;
41800
+ vat_cents: number | null;
41801
+ vat_percentage: number | null;
41802
+ werkbon_id: string | null;
41803
+ };
41804
+ Insert: {
41805
+ created_at?: string | null;
41806
+ created_by?: string | null;
41807
+ customer_id?: string | null;
41808
+ customer_name?: string | null;
41809
+ id?: string | null;
41810
+ invoice_number?: string | null;
41811
+ note?: string | null;
41812
+ status?: string | null;
41813
+ total_excl_cents?: number | null;
41814
+ total_incl_cents?: number | null;
41815
+ updated_at?: string | null;
41816
+ vat_cents?: number | null;
41817
+ vat_percentage?: number | null;
41818
+ werkbon_id?: never;
41819
+ };
41820
+ Update: {
41821
+ created_at?: string | null;
41822
+ created_by?: string | null;
41823
+ customer_id?: string | null;
41824
+ customer_name?: string | null;
41825
+ id?: string | null;
41826
+ invoice_number?: string | null;
41827
+ note?: string | null;
41828
+ status?: string | null;
41829
+ total_excl_cents?: number | null;
41830
+ total_incl_cents?: number | null;
41831
+ updated_at?: string | null;
41832
+ vat_cents?: number | null;
41833
+ vat_percentage?: number | null;
41834
+ werkbon_id?: never;
41835
+ };
41836
+ Relationships: [{
41837
+ foreignKeyName: "invoices_customer_id_fkey";
41838
+ columns: ["customer_id"];
41839
+ isOneToOne: false;
41840
+ referencedRelation: "itk_customers";
41841
+ referencedColumns: ["id"];
41842
+ }];
41843
+ };
41844
+ uren_factuur_regels: {
41845
+ Row: {
41846
+ created_at: string | null;
41847
+ description: string | null;
41848
+ factuur_id: string | null;
41849
+ id: string | null;
41850
+ kind: string | null;
41851
+ quantity: number | null;
41852
+ sort_order: number | null;
41853
+ total_cents: number | null;
41854
+ unit: string | null;
41855
+ unit_price_cents: number | null;
41856
+ };
41857
+ Insert: {
41858
+ created_at?: string | null;
41859
+ description?: string | null;
41860
+ factuur_id?: string | null;
41861
+ id?: string | null;
41862
+ kind?: string | null;
41863
+ quantity?: number | null;
41864
+ sort_order?: number | null;
41865
+ total_cents?: number | null;
41866
+ unit?: string | null;
41867
+ unit_price_cents?: number | null;
41868
+ };
41869
+ Update: {
41870
+ created_at?: string | null;
41871
+ description?: string | null;
41872
+ factuur_id?: string | null;
41873
+ id?: string | null;
41874
+ kind?: string | null;
41875
+ quantity?: number | null;
41876
+ sort_order?: number | null;
41877
+ total_cents?: number | null;
41878
+ unit?: string | null;
41879
+ unit_price_cents?: number | null;
41880
+ };
41881
+ Relationships: [{
41882
+ foreignKeyName: "invoice_items_invoice_id_fkey";
41883
+ columns: ["factuur_id"];
41884
+ isOneToOne: false;
41885
+ referencedRelation: "invoices";
41886
+ referencedColumns: ["id"];
41887
+ }, {
41888
+ foreignKeyName: "invoice_items_invoice_id_fkey";
41889
+ columns: ["factuur_id"];
41890
+ isOneToOne: false;
41891
+ referencedRelation: "uren_facturen";
41892
+ referencedColumns: ["id"];
41893
+ }];
41894
+ };
41277
41895
  v_external_customers_exact: {
41278
41896
  Row: {
41279
41897
  account_number: string | null;
@@ -41779,6 +42397,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
41779
42397
  gebruiker_id: string | null;
41780
42398
  gebruiker_naam: string;
41781
42399
  gestart_op: string | null;
42400
+ herkomst: string | null;
41782
42401
  id: string;
41783
42402
  idempotentie_sleutel: string | null;
41784
42403
  is_herprint: boolean;
@@ -41899,6 +42518,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
41899
42518
  gebruiker_id: string | null;
41900
42519
  gebruiker_naam: string;
41901
42520
  gestart_op: string | null;
42521
+ herkomst: string | null;
41902
42522
  id: string;
41903
42523
  idempotentie_sleutel: string | null;
41904
42524
  is_herprint: boolean;
@@ -42500,6 +43120,46 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
42500
43120
  Args: never;
42501
43121
  Returns: boolean;
42502
43122
  };
43123
+ invoice_create_from_source: {
43124
+ Args: {
43125
+ _payload?: import("../integrations/supabase/types").Json;
43126
+ _source_id: string;
43127
+ _source_type: string;
43128
+ };
43129
+ Returns: import("../integrations/supabase/types").Json;
43130
+ };
43131
+ invoice_get_billable_lines: {
43132
+ Args: {
43133
+ _invoice_id: string;
43134
+ };
43135
+ Returns: import("../integrations/supabase/types").Json;
43136
+ };
43137
+ invoice_get_for_source: {
43138
+ Args: {
43139
+ _source_id: string;
43140
+ _source_type: string;
43141
+ };
43142
+ Returns: import("../integrations/supabase/types").Json;
43143
+ };
43144
+ invoice_get_summary: {
43145
+ Args: {
43146
+ _invoice_id: string;
43147
+ };
43148
+ Returns: import("../integrations/supabase/types").Json;
43149
+ };
43150
+ invoice_list_sources: {
43151
+ Args: {
43152
+ _limit?: number;
43153
+ _source_type?: string;
43154
+ };
43155
+ Returns: import("../integrations/supabase/types").Json;
43156
+ };
43157
+ invoice_recalc_totals: {
43158
+ Args: {
43159
+ _invoice_id: string;
43160
+ };
43161
+ Returns: import("../integrations/supabase/types").Json;
43162
+ };
42503
43163
  is_authenticated: {
42504
43164
  Args: never;
42505
43165
  Returns: boolean;
@@ -42568,6 +43228,29 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
42568
43228
  roles: string[];
42569
43229
  }[];
42570
43230
  };
43231
+ list_monteur_absences: {
43232
+ Args: {
43233
+ _from: string;
43234
+ _to: string;
43235
+ };
43236
+ Returns: {
43237
+ absence_date: string;
43238
+ end_time: string;
43239
+ full_day: boolean;
43240
+ kind: string;
43241
+ monteur_id: string;
43242
+ start_time: string;
43243
+ }[];
43244
+ };
43245
+ list_monteurs: {
43246
+ Args: never;
43247
+ Returns: {
43248
+ avatar_url: string;
43249
+ display_name: string;
43250
+ email: string;
43251
+ id: string;
43252
+ }[];
43253
+ };
42571
43254
  list_my_planning_items: {
42572
43255
  Args: {
42573
43256
  _from: string;
@@ -42979,6 +43662,23 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
42979
43662
  };
42980
43663
  Returns: string;
42981
43664
  };
43665
+ logistics_floriday_finish_push_v2: {
43666
+ Args: {
43667
+ _error?: string;
43668
+ _error_code?: string;
43669
+ _fulfillment_order_id?: string;
43670
+ _gateway_status?: number;
43671
+ _id: string;
43672
+ _max_age_hours?: number;
43673
+ _max_attempts?: number;
43674
+ _ok: boolean;
43675
+ _permanent?: boolean;
43676
+ _response?: import("../integrations/supabase/types").Json;
43677
+ _revision: number;
43678
+ _sent_hash?: string;
43679
+ };
43680
+ Returns: string;
43681
+ };
42982
43682
  logistics_floriday_prune_pushes: {
42983
43683
  Args: {
42984
43684
  _days?: number;
@@ -43521,6 +44221,13 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
43521
44221
  isSetofReturn: false;
43522
44222
  };
43523
44223
  };
44224
+ pick_cleanup_maintenance: {
44225
+ Args: {
44226
+ _heartbeat_hours?: number;
44227
+ _log_days?: number;
44228
+ };
44229
+ Returns: import("../integrations/supabase/types").Json;
44230
+ };
43524
44231
  pick_complete_print: {
43525
44232
  Args: {
43526
44233
  _printer_id: string;
@@ -43572,6 +44279,14 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
43572
44279
  Args: never;
43573
44280
  Returns: string;
43574
44281
  };
44282
+ pick_day_counts: {
44283
+ Args: {
44284
+ _pick_day?: string;
44285
+ _screen_id?: string;
44286
+ _station_id?: string;
44287
+ };
44288
+ Returns: import("../integrations/supabase/types").Json;
44289
+ };
43575
44290
  pick_document_layout_data: {
43576
44291
  Args: {
43577
44292
  _layout_id: string;
@@ -43609,6 +44324,14 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
43609
44324
  };
43610
44325
  Returns: undefined;
43611
44326
  };
44327
+ pick_reprint_document: {
44328
+ Args: {
44329
+ _queue_item_id: string;
44330
+ _session_id: string;
44331
+ _throttle_seconds?: number;
44332
+ };
44333
+ Returns: string;
44334
+ };
43612
44335
  pick_reset_print: {
43613
44336
  Args: {
43614
44337
  _queue_item_id: string;
@@ -43674,6 +44397,12 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
43674
44397
  };
43675
44398
  Returns: string;
43676
44399
  };
44400
+ pick_sync_queue_throttled: {
44401
+ Args: {
44402
+ _min_seconds?: number;
44403
+ };
44404
+ Returns: import("../integrations/supabase/types").Json;
44405
+ };
43677
44406
  pickstation_get_orders_raw: {
43678
44407
  Args: never;
43679
44408
  Returns: import("../integrations/supabase/types").Json;
@@ -43819,6 +44548,12 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
43819
44548
  };
43820
44549
  Returns: boolean;
43821
44550
  };
44551
+ release_stale_order_invoice_links: {
44552
+ Args: {
44553
+ _minutes?: number;
44554
+ };
44555
+ Returns: number;
44556
+ };
43822
44557
  reorder_customer_price_groups: {
43823
44558
  Args: {
43824
44559
  _ids: string[];
@@ -44337,6 +45072,20 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
44337
45072
  };
44338
45073
  Returns: undefined;
44339
45074
  };
45075
+ twinfield_deactivate_connection: {
45076
+ Args: {
45077
+ p_connection_id: string;
45078
+ p_user_id: string;
45079
+ };
45080
+ Returns: import("../integrations/supabase/types").Json;
45081
+ };
45082
+ twinfield_handle_administration_change: {
45083
+ Args: {
45084
+ _administration_code: string;
45085
+ _user_id: string;
45086
+ };
45087
+ Returns: undefined;
45088
+ };
44340
45089
  twinfield_prune_push_queue: {
44341
45090
  Args: never;
44342
45091
  Returns: number;
@@ -44356,10 +45105,11 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
44356
45105
  p_company_name?: string;
44357
45106
  p_environment: string;
44358
45107
  p_office_code?: string;
45108
+ p_reset_sync?: boolean;
44359
45109
  p_status?: string;
44360
45110
  p_user_id: string;
44361
45111
  };
44362
- Returns: string;
45112
+ Returns: import("../integrations/supabase/types").Json;
44363
45113
  };
44364
45114
  upsert_auto_fulfillment_log: {
44365
45115
  Args: {
@@ -47195,6 +47945,42 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
47195
47945
  };
47196
47946
  Relationships: [];
47197
47947
  };
47948
+ document_bronregels: {
47949
+ Row: {
47950
+ bron: string;
47951
+ created_at: string;
47952
+ documenttype: string;
47953
+ herkomst: string;
47954
+ id: string;
47955
+ layout_id: string | null;
47956
+ updated_at: string;
47957
+ };
47958
+ Insert: {
47959
+ bron?: string;
47960
+ created_at?: string;
47961
+ documenttype: string;
47962
+ herkomst: string;
47963
+ id?: string;
47964
+ layout_id?: string | null;
47965
+ updated_at?: string;
47966
+ };
47967
+ Update: {
47968
+ bron?: string;
47969
+ created_at?: string;
47970
+ documenttype?: string;
47971
+ herkomst?: string;
47972
+ id?: string;
47973
+ layout_id?: string | null;
47974
+ updated_at?: string;
47975
+ };
47976
+ Relationships: [{
47977
+ foreignKeyName: "document_bronregels_layout_id_fkey";
47978
+ columns: ["layout_id"];
47979
+ isOneToOne: false;
47980
+ referencedRelation: "document_layouts";
47981
+ referencedColumns: ["id"];
47982
+ }];
47983
+ };
47198
47984
  document_formaat_printers: {
47199
47985
  Row: {
47200
47986
  created_at: string;
@@ -47472,6 +48258,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
47472
48258
  Row: {
47473
48259
  actief: boolean;
47474
48260
  breedte_mm: number;
48261
+ bron: string;
47475
48262
  config: import("../integrations/supabase/types").Json;
47476
48263
  created_at: string;
47477
48264
  created_by: string | null;
@@ -47489,12 +48276,14 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
47489
48276
  orientatie: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
47490
48277
  page_settings: import("../integrations/supabase/types").Json;
47491
48278
  papierformaat: string;
48279
+ systeem: boolean;
47492
48280
  thumbnail_url: string | null;
47493
48281
  updated_at: string;
47494
48282
  };
47495
48283
  Insert: {
47496
48284
  actief?: boolean;
47497
48285
  breedte_mm?: number;
48286
+ bron?: string;
47498
48287
  config?: import("../integrations/supabase/types").Json;
47499
48288
  created_at?: string;
47500
48289
  created_by?: string | null;
@@ -47512,12 +48301,14 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
47512
48301
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
47513
48302
  page_settings?: import("../integrations/supabase/types").Json;
47514
48303
  papierformaat?: string;
48304
+ systeem?: boolean;
47515
48305
  thumbnail_url?: string | null;
47516
48306
  updated_at?: string;
47517
48307
  };
47518
48308
  Update: {
47519
48309
  actief?: boolean;
47520
48310
  breedte_mm?: number;
48311
+ bron?: string;
47521
48312
  config?: import("../integrations/supabase/types").Json;
47522
48313
  created_at?: string;
47523
48314
  created_by?: string | null;
@@ -47535,11 +48326,48 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
47535
48326
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
47536
48327
  page_settings?: import("../integrations/supabase/types").Json;
47537
48328
  papierformaat?: string;
48329
+ systeem?: boolean;
47538
48330
  thumbnail_url?: string | null;
47539
48331
  updated_at?: string;
47540
48332
  };
47541
48333
  Relationships: [];
47542
48334
  };
48335
+ document_werkplek_printers: {
48336
+ Row: {
48337
+ created_at: string;
48338
+ documenttype: string;
48339
+ id: string;
48340
+ papierformaat: string | null;
48341
+ printer_id: string | null;
48342
+ updated_at: string;
48343
+ werkplek: string;
48344
+ };
48345
+ Insert: {
48346
+ created_at?: string;
48347
+ documenttype: string;
48348
+ id?: string;
48349
+ papierformaat?: string | null;
48350
+ printer_id?: string | null;
48351
+ updated_at?: string;
48352
+ werkplek: string;
48353
+ };
48354
+ Update: {
48355
+ created_at?: string;
48356
+ documenttype?: string;
48357
+ id?: string;
48358
+ papierformaat?: string | null;
48359
+ printer_id?: string | null;
48360
+ updated_at?: string;
48361
+ werkplek?: string;
48362
+ };
48363
+ Relationships: [{
48364
+ foreignKeyName: "document_werkplek_printers_printer_id_fkey";
48365
+ columns: ["printer_id"];
48366
+ isOneToOne: false;
48367
+ referencedRelation: "printers";
48368
+ referencedColumns: ["id"];
48369
+ }];
48370
+ };
47543
48371
  email_auth_connections: {
47544
48372
  Row: {
47545
48373
  access_token_encrypted: string | null;
@@ -49481,42 +50309,6 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
49481
50309
  };
49482
50310
  Relationships: [];
49483
50311
  };
49484
- facturen: {
49485
- Row: {
49486
- bedrag_incl_btw: number;
49487
- created_at: string;
49488
- datum: string;
49489
- factuurnummer: string;
49490
- id: string;
49491
- klantnaam: string;
49492
- status: string;
49493
- updated_at: string;
49494
- user_id: string;
49495
- };
49496
- Insert: {
49497
- bedrag_incl_btw: number;
49498
- created_at?: string;
49499
- datum?: string;
49500
- factuurnummer: string;
49501
- id?: string;
49502
- klantnaam: string;
49503
- status?: string;
49504
- updated_at?: string;
49505
- user_id?: string;
49506
- };
49507
- Update: {
49508
- bedrag_incl_btw?: number;
49509
- created_at?: string;
49510
- datum?: string;
49511
- factuurnummer?: string;
49512
- id?: string;
49513
- klantnaam?: string;
49514
- status?: string;
49515
- updated_at?: string;
49516
- user_id?: string;
49517
- };
49518
- Relationships: [];
49519
- };
49520
50312
  floricode_connection_settings: {
49521
50313
  Row: {
49522
50314
  catalog_key: string | null;
@@ -51821,8 +52613,63 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
51821
52613
  };
51822
52614
  Relationships: [];
51823
52615
  };
52616
+ invoice_items: {
52617
+ Row: {
52618
+ created_at: string;
52619
+ description: string;
52620
+ id: string;
52621
+ invoice_id: string;
52622
+ kind: string;
52623
+ quantity: number;
52624
+ sort_order: number;
52625
+ source_line_ref: string | null;
52626
+ total_cents: number;
52627
+ unit: string;
52628
+ unit_price_cents: number;
52629
+ };
52630
+ Insert: {
52631
+ created_at?: string;
52632
+ description?: string;
52633
+ id?: string;
52634
+ invoice_id: string;
52635
+ kind?: string;
52636
+ quantity?: number;
52637
+ sort_order?: number;
52638
+ source_line_ref?: string | null;
52639
+ total_cents?: number;
52640
+ unit?: string;
52641
+ unit_price_cents?: number;
52642
+ };
52643
+ Update: {
52644
+ created_at?: string;
52645
+ description?: string;
52646
+ id?: string;
52647
+ invoice_id?: string;
52648
+ kind?: string;
52649
+ quantity?: number;
52650
+ sort_order?: number;
52651
+ source_line_ref?: string | null;
52652
+ total_cents?: number;
52653
+ unit?: string;
52654
+ unit_price_cents?: number;
52655
+ };
52656
+ Relationships: [{
52657
+ foreignKeyName: "invoice_items_invoice_id_fkey";
52658
+ columns: ["invoice_id"];
52659
+ isOneToOne: false;
52660
+ referencedRelation: "invoices";
52661
+ referencedColumns: ["id"];
52662
+ }, {
52663
+ foreignKeyName: "invoice_items_invoice_id_fkey";
52664
+ columns: ["invoice_id"];
52665
+ isOneToOne: false;
52666
+ referencedRelation: "uren_facturen";
52667
+ referencedColumns: ["id"];
52668
+ }];
52669
+ };
51824
52670
  invoice_post_idempotency: {
51825
52671
  Row: {
52672
+ administration_code: string;
51826
52673
  client_request_id: string;
51827
52674
  completed_at: string | null;
51828
52675
  created_at: string;
@@ -51832,6 +52679,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
51832
52679
  user_id: string;
51833
52680
  };
51834
52681
  Insert: {
52682
+ administration_code?: string;
51835
52683
  client_request_id: string;
51836
52684
  completed_at?: string | null;
51837
52685
  created_at?: string;
@@ -51841,6 +52689,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
51841
52689
  user_id: string;
51842
52690
  };
51843
52691
  Update: {
52692
+ administration_code?: string;
51844
52693
  client_request_id?: string;
51845
52694
  completed_at?: string | null;
51846
52695
  created_at?: string;
@@ -52046,6 +52895,75 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
52046
52895
  };
52047
52896
  Relationships: [];
52048
52897
  };
52898
+ invoices: {
52899
+ Row: {
52900
+ created_at: string;
52901
+ created_by: string | null;
52902
+ customer_id: string | null;
52903
+ customer_name: string | null;
52904
+ due_date: string | null;
52905
+ id: string;
52906
+ invoice_date: string;
52907
+ invoice_number: string | null;
52908
+ note: string | null;
52909
+ source_number: string | null;
52910
+ source_ref: string | null;
52911
+ source_type: string;
52912
+ status: string;
52913
+ subtotal_cents: number;
52914
+ total_cents: number;
52915
+ updated_at: string;
52916
+ vat_cents: number;
52917
+ vat_rate: number;
52918
+ };
52919
+ Insert: {
52920
+ created_at?: string;
52921
+ created_by?: string | null;
52922
+ customer_id?: string | null;
52923
+ customer_name?: string | null;
52924
+ due_date?: string | null;
52925
+ id?: string;
52926
+ invoice_date?: string;
52927
+ invoice_number?: string | null;
52928
+ note?: string | null;
52929
+ source_number?: string | null;
52930
+ source_ref?: string | null;
52931
+ source_type?: string;
52932
+ status?: string;
52933
+ subtotal_cents?: number;
52934
+ total_cents?: number;
52935
+ updated_at?: string;
52936
+ vat_cents?: number;
52937
+ vat_rate?: number;
52938
+ };
52939
+ Update: {
52940
+ created_at?: string;
52941
+ created_by?: string | null;
52942
+ customer_id?: string | null;
52943
+ customer_name?: string | null;
52944
+ due_date?: string | null;
52945
+ id?: string;
52946
+ invoice_date?: string;
52947
+ invoice_number?: string | null;
52948
+ note?: string | null;
52949
+ source_number?: string | null;
52950
+ source_ref?: string | null;
52951
+ source_type?: string;
52952
+ status?: string;
52953
+ subtotal_cents?: number;
52954
+ total_cents?: number;
52955
+ updated_at?: string;
52956
+ vat_cents?: number;
52957
+ vat_rate?: number;
52958
+ };
52959
+ Relationships: [{
52960
+ foreignKeyName: "invoices_customer_id_fkey";
52961
+ columns: ["customer_id"];
52962
+ isOneToOne: false;
52963
+ referencedRelation: "itk_customers";
52964
+ referencedColumns: ["id"];
52965
+ }];
52966
+ };
52049
52967
  itk_contact_persons: {
52050
52968
  Row: {
52051
52969
  created_at: string;
@@ -53393,6 +54311,9 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
53393
54311
  id: string;
53394
54312
  last_error: string | null;
53395
54313
  last_error_at: string | null;
54314
+ last_error_code: string | null;
54315
+ last_gateway_status: number | null;
54316
+ last_response: import("../integrations/supabase/types").Json | null;
53396
54317
  last_sent_hash: string | null;
53397
54318
  locked_by: string | null;
53398
54319
  locked_until: string | null;
@@ -53413,6 +54334,9 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
53413
54334
  id?: string;
53414
54335
  last_error?: string | null;
53415
54336
  last_error_at?: string | null;
54337
+ last_error_code?: string | null;
54338
+ last_gateway_status?: number | null;
54339
+ last_response?: import("../integrations/supabase/types").Json | null;
53416
54340
  last_sent_hash?: string | null;
53417
54341
  locked_by?: string | null;
53418
54342
  locked_until?: string | null;
@@ -53433,6 +54357,9 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
53433
54357
  id?: string;
53434
54358
  last_error?: string | null;
53435
54359
  last_error_at?: string | null;
54360
+ last_error_code?: string | null;
54361
+ last_gateway_status?: number | null;
54362
+ last_response?: import("../integrations/supabase/types").Json | null;
53436
54363
  last_sent_hash?: string | null;
53437
54364
  locked_by?: string | null;
53438
54365
  locked_until?: string | null;
@@ -54986,6 +55913,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
54986
55913
  enforce: boolean;
54987
55914
  is_active: boolean;
54988
55915
  last_seen_at: string;
55916
+ missing_count: number;
54989
55917
  module_id: string;
54990
55918
  name: string;
54991
55919
  shell_id: string | null;
@@ -54996,6 +55924,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
54996
55924
  enforce?: boolean;
54997
55925
  is_active?: boolean;
54998
55926
  last_seen_at?: string;
55927
+ missing_count?: number;
54999
55928
  module_id: string;
55000
55929
  name: string;
55001
55930
  shell_id?: string | null;
@@ -55006,6 +55935,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
55006
55935
  enforce?: boolean;
55007
55936
  is_active?: boolean;
55008
55937
  last_seen_at?: string;
55938
+ missing_count?: number;
55009
55939
  module_id?: string;
55010
55940
  name?: string;
55011
55941
  shell_id?: string | null;
@@ -56005,6 +56935,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
56005
56935
  };
56006
56936
  order_invoice_links: {
56007
56937
  Row: {
56938
+ administration_code: string | null;
56008
56939
  attempts: number;
56009
56940
  created_at: string;
56010
56941
  error_message: string | null;
@@ -56017,6 +56948,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
56017
56948
  updated_at: string;
56018
56949
  };
56019
56950
  Insert: {
56951
+ administration_code?: string | null;
56020
56952
  attempts?: number;
56021
56953
  created_at?: string;
56022
56954
  error_message?: string | null;
@@ -56029,6 +56961,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
56029
56961
  updated_at?: string;
56030
56962
  };
56031
56963
  Update: {
56964
+ administration_code?: string | null;
56032
56965
  attempts?: number;
56033
56966
  created_at?: string;
56034
56967
  error_message?: string | null;
@@ -57194,6 +58127,27 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
57194
58127
  referencedColumns: ["id"];
57195
58128
  }];
57196
58129
  };
58130
+ pick_sync_state: {
58131
+ Row: {
58132
+ id: boolean;
58133
+ last_cleanup_at: string | null;
58134
+ last_sync_at: string | null;
58135
+ updated_at: string;
58136
+ };
58137
+ Insert: {
58138
+ id?: boolean;
58139
+ last_cleanup_at?: string | null;
58140
+ last_sync_at?: string | null;
58141
+ updated_at?: string;
58142
+ };
58143
+ Update: {
58144
+ id?: boolean;
58145
+ last_cleanup_at?: string | null;
58146
+ last_sync_at?: string | null;
58147
+ updated_at?: string;
58148
+ };
58149
+ Relationships: [];
58150
+ };
57197
58151
  pick_task_document_types: {
57198
58152
  Row: {
57199
58153
  created_at: string;
@@ -57476,6 +58430,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
57476
58430
  gebruiker_id: string | null;
57477
58431
  gebruiker_naam: string;
57478
58432
  gestart_op: string | null;
58433
+ herkomst: string | null;
57479
58434
  id: string;
57480
58435
  idempotentie_sleutel: string | null;
57481
58436
  is_herprint: boolean;
@@ -57505,6 +58460,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
57505
58460
  gebruiker_id?: string | null;
57506
58461
  gebruiker_naam?: string;
57507
58462
  gestart_op?: string | null;
58463
+ herkomst?: string | null;
57508
58464
  id?: string;
57509
58465
  idempotentie_sleutel?: string | null;
57510
58466
  is_herprint?: boolean;
@@ -57534,6 +58490,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
57534
58490
  gebruiker_id?: string | null;
57535
58491
  gebruiker_naam?: string;
57536
58492
  gestart_op?: string | null;
58493
+ herkomst?: string | null;
57537
58494
  id?: string;
57538
58495
  idempotentie_sleutel?: string | null;
57539
58496
  is_herprint?: boolean;
@@ -60538,12 +61495,16 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
60538
61495
  company_name: string | null;
60539
61496
  connected_at: string | null;
60540
61497
  created_at: string;
61498
+ disconnected_at: string | null;
60541
61499
  environment: string;
60542
61500
  id: string;
61501
+ initial_sync_completed_at: string | null;
61502
+ initial_sync_started_at: string | null;
60543
61503
  is_active: boolean;
60544
61504
  label: string | null;
60545
61505
  office_code: string | null;
60546
61506
  redirect_uri: string | null;
61507
+ superseded_at: string | null;
60547
61508
  updated_at: string;
60548
61509
  user_id: string;
60549
61510
  };
@@ -60554,12 +61515,16 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
60554
61515
  company_name?: string | null;
60555
61516
  connected_at?: string | null;
60556
61517
  created_at?: string;
61518
+ disconnected_at?: string | null;
60557
61519
  environment: string;
60558
61520
  id?: string;
61521
+ initial_sync_completed_at?: string | null;
61522
+ initial_sync_started_at?: string | null;
60559
61523
  is_active?: boolean;
60560
61524
  label?: string | null;
60561
61525
  office_code?: string | null;
60562
61526
  redirect_uri?: string | null;
61527
+ superseded_at?: string | null;
60563
61528
  updated_at?: string;
60564
61529
  user_id: string;
60565
61530
  };
@@ -60570,12 +61535,16 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
60570
61535
  company_name?: string | null;
60571
61536
  connected_at?: string | null;
60572
61537
  created_at?: string;
61538
+ disconnected_at?: string | null;
60573
61539
  environment?: string;
60574
61540
  id?: string;
61541
+ initial_sync_completed_at?: string | null;
61542
+ initial_sync_started_at?: string | null;
60575
61543
  is_active?: boolean;
60576
61544
  label?: string | null;
60577
61545
  office_code?: string | null;
60578
61546
  redirect_uri?: string | null;
61547
+ superseded_at?: string | null;
60579
61548
  updated_at?: string;
60580
61549
  user_id?: string;
60581
61550
  };
@@ -60635,6 +61604,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
60635
61604
  twinfield_customers: {
60636
61605
  Row: {
60637
61606
  address: string | null;
61607
+ administration_code: string;
60638
61608
  city: string | null;
60639
61609
  country: string | null;
60640
61610
  created_at: string;
@@ -60654,6 +61624,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
60654
61624
  };
60655
61625
  Insert: {
60656
61626
  address?: string | null;
61627
+ administration_code?: string;
60657
61628
  city?: string | null;
60658
61629
  country?: string | null;
60659
61630
  created_at?: string;
@@ -60673,6 +61644,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
60673
61644
  };
60674
61645
  Update: {
60675
61646
  address?: string | null;
61647
+ administration_code?: string;
60676
61648
  city?: string | null;
60677
61649
  country?: string | null;
60678
61650
  created_at?: string;
@@ -60886,7 +61858,9 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
60886
61858
  };
60887
61859
  twinfield_invoice_settings: {
60888
61860
  Row: {
61861
+ administration_code: string | null;
60889
61862
  auto_invoice_enabled: boolean;
61863
+ auto_invoice_start_date: string | null;
60890
61864
  auto_invoice_trigger_statuses: string[];
60891
61865
  created_at: string;
60892
61866
  debtor_gl_account: string;
@@ -60900,15 +61874,19 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
60900
61874
  invoice_enabled_fo: boolean;
60901
61875
  invoice_enabled_ho: boolean;
60902
61876
  invoice_enabled_mo: boolean;
61877
+ needs_review: boolean;
60903
61878
  payment_gl_account: string;
60904
61879
  payment_journal_code: string;
61880
+ settings_confirmed_at: string | null;
60905
61881
  updated_at: string;
60906
61882
  user_id: string;
60907
61883
  vat_code_eu_reverse: string | null;
60908
61884
  vat_code_export: string | null;
60909
61885
  };
60910
61886
  Insert: {
61887
+ administration_code?: string | null;
60911
61888
  auto_invoice_enabled?: boolean;
61889
+ auto_invoice_start_date?: string | null;
60912
61890
  auto_invoice_trigger_statuses?: string[];
60913
61891
  created_at?: string;
60914
61892
  debtor_gl_account?: string;
@@ -60922,15 +61900,19 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
60922
61900
  invoice_enabled_fo?: boolean;
60923
61901
  invoice_enabled_ho?: boolean;
60924
61902
  invoice_enabled_mo?: boolean;
61903
+ needs_review?: boolean;
60925
61904
  payment_gl_account?: string;
60926
61905
  payment_journal_code?: string;
61906
+ settings_confirmed_at?: string | null;
60927
61907
  updated_at?: string;
60928
61908
  user_id: string;
60929
61909
  vat_code_eu_reverse?: string | null;
60930
61910
  vat_code_export?: string | null;
60931
61911
  };
60932
61912
  Update: {
61913
+ administration_code?: string | null;
60933
61914
  auto_invoice_enabled?: boolean;
61915
+ auto_invoice_start_date?: string | null;
60934
61916
  auto_invoice_trigger_statuses?: string[];
60935
61917
  created_at?: string;
60936
61918
  debtor_gl_account?: string;
@@ -60944,8 +61926,10 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
60944
61926
  invoice_enabled_fo?: boolean;
60945
61927
  invoice_enabled_ho?: boolean;
60946
61928
  invoice_enabled_mo?: boolean;
61929
+ needs_review?: boolean;
60947
61930
  payment_gl_account?: string;
60948
61931
  payment_journal_code?: string;
61932
+ settings_confirmed_at?: string | null;
60949
61933
  updated_at?: string;
60950
61934
  user_id?: string;
60951
61935
  vat_code_eu_reverse?: string | null;
@@ -61550,114 +62534,6 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
61550
62534
  };
61551
62535
  Relationships: [];
61552
62536
  };
61553
- uren_facturen: {
61554
- Row: {
61555
- created_at: string;
61556
- created_by: string | null;
61557
- customer_id: string | null;
61558
- customer_name: string | null;
61559
- id: string;
61560
- invoice_number: string | null;
61561
- note: string | null;
61562
- status: string;
61563
- total_excl_cents: number;
61564
- total_incl_cents: number;
61565
- updated_at: string;
61566
- vat_cents: number;
61567
- vat_percentage: number;
61568
- werkbon_id: string | null;
61569
- };
61570
- Insert: {
61571
- created_at?: string;
61572
- created_by?: string | null;
61573
- customer_id?: string | null;
61574
- customer_name?: string | null;
61575
- id?: string;
61576
- invoice_number?: string | null;
61577
- note?: string | null;
61578
- status?: string;
61579
- total_excl_cents?: number;
61580
- total_incl_cents?: number;
61581
- updated_at?: string;
61582
- vat_cents?: number;
61583
- vat_percentage?: number;
61584
- werkbon_id?: string | null;
61585
- };
61586
- Update: {
61587
- created_at?: string;
61588
- created_by?: string | null;
61589
- customer_id?: string | null;
61590
- customer_name?: string | null;
61591
- id?: string;
61592
- invoice_number?: string | null;
61593
- note?: string | null;
61594
- status?: string;
61595
- total_excl_cents?: number;
61596
- total_incl_cents?: number;
61597
- updated_at?: string;
61598
- vat_cents?: number;
61599
- vat_percentage?: number;
61600
- werkbon_id?: string | null;
61601
- };
61602
- Relationships: [{
61603
- foreignKeyName: "uren_facturen_customer_id_fkey";
61604
- columns: ["customer_id"];
61605
- isOneToOne: false;
61606
- referencedRelation: "itk_customers";
61607
- referencedColumns: ["id"];
61608
- }, {
61609
- foreignKeyName: "uren_facturen_werkbon_id_fkey";
61610
- columns: ["werkbon_id"];
61611
- isOneToOne: true;
61612
- referencedRelation: "werkbonnen";
61613
- referencedColumns: ["id"];
61614
- }];
61615
- };
61616
- uren_factuur_regels: {
61617
- Row: {
61618
- created_at: string;
61619
- description: string;
61620
- factuur_id: string;
61621
- id: string;
61622
- kind: string | null;
61623
- quantity: number;
61624
- sort_order: number;
61625
- total_cents: number;
61626
- unit: string;
61627
- unit_price_cents: number;
61628
- };
61629
- Insert: {
61630
- created_at?: string;
61631
- description: string;
61632
- factuur_id: string;
61633
- id?: string;
61634
- kind?: string | null;
61635
- quantity?: number;
61636
- sort_order?: number;
61637
- total_cents?: number;
61638
- unit?: string;
61639
- unit_price_cents?: number;
61640
- };
61641
- Update: {
61642
- created_at?: string;
61643
- description?: string;
61644
- factuur_id?: string;
61645
- id?: string;
61646
- kind?: string | null;
61647
- quantity?: number;
61648
- sort_order?: number;
61649
- total_cents?: number;
61650
- unit?: string;
61651
- unit_price_cents?: number;
61652
- };
61653
- Relationships: [{
61654
- foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
61655
- columns: ["factuur_id"];
61656
- isOneToOne: false;
61657
- referencedRelation: "uren_facturen";
61658
- referencedColumns: ["id"];
61659
- }];
61660
- };
61661
62537
  uren_offerte_regels: {
61662
62538
  Row: {
61663
62539
  created_at: string;
@@ -62911,6 +63787,9 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
62911
63787
  scheduled_end_time: string | null;
62912
63788
  scheduled_start_time: string | null;
62913
63789
  sequence_number: number;
63790
+ signature_accepted_at: string | null;
63791
+ signature_by_user_id: string | null;
63792
+ signature_name: string | null;
62914
63793
  source_email_meta: import("../integrations/supabase/types").Json | null;
62915
63794
  source_mailbox_message_id: string | null;
62916
63795
  source_pdf_path: string | null;
@@ -62946,6 +63825,9 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
62946
63825
  scheduled_end_time?: string | null;
62947
63826
  scheduled_start_time?: string | null;
62948
63827
  sequence_number: number;
63828
+ signature_accepted_at?: string | null;
63829
+ signature_by_user_id?: string | null;
63830
+ signature_name?: string | null;
62949
63831
  source_email_meta?: import("../integrations/supabase/types").Json | null;
62950
63832
  source_mailbox_message_id?: string | null;
62951
63833
  source_pdf_path?: string | null;
@@ -62981,6 +63863,9 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
62981
63863
  scheduled_end_time?: string | null;
62982
63864
  scheduled_start_time?: string | null;
62983
63865
  sequence_number?: number;
63866
+ signature_accepted_at?: string | null;
63867
+ signature_by_user_id?: string | null;
63868
+ signature_name?: string | null;
62984
63869
  source_email_meta?: import("../integrations/supabase/types").Json | null;
62985
63870
  source_mailbox_message_id?: string | null;
62986
63871
  source_pdf_path?: string | null;
@@ -63497,6 +64382,114 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
63497
64382
  };
63498
64383
  Relationships: [];
63499
64384
  };
64385
+ uren_facturen: {
64386
+ Row: {
64387
+ created_at: string | null;
64388
+ created_by: string | null;
64389
+ customer_id: string | null;
64390
+ customer_name: string | null;
64391
+ id: string | null;
64392
+ invoice_number: string | null;
64393
+ note: string | null;
64394
+ status: string | null;
64395
+ total_excl_cents: number | null;
64396
+ total_incl_cents: number | null;
64397
+ updated_at: string | null;
64398
+ vat_cents: number | null;
64399
+ vat_percentage: number | null;
64400
+ werkbon_id: string | null;
64401
+ };
64402
+ Insert: {
64403
+ created_at?: string | null;
64404
+ created_by?: string | null;
64405
+ customer_id?: string | null;
64406
+ customer_name?: string | null;
64407
+ id?: string | null;
64408
+ invoice_number?: string | null;
64409
+ note?: string | null;
64410
+ status?: string | null;
64411
+ total_excl_cents?: number | null;
64412
+ total_incl_cents?: number | null;
64413
+ updated_at?: string | null;
64414
+ vat_cents?: number | null;
64415
+ vat_percentage?: number | null;
64416
+ werkbon_id?: never;
64417
+ };
64418
+ Update: {
64419
+ created_at?: string | null;
64420
+ created_by?: string | null;
64421
+ customer_id?: string | null;
64422
+ customer_name?: string | null;
64423
+ id?: string | null;
64424
+ invoice_number?: string | null;
64425
+ note?: string | null;
64426
+ status?: string | null;
64427
+ total_excl_cents?: number | null;
64428
+ total_incl_cents?: number | null;
64429
+ updated_at?: string | null;
64430
+ vat_cents?: number | null;
64431
+ vat_percentage?: number | null;
64432
+ werkbon_id?: never;
64433
+ };
64434
+ Relationships: [{
64435
+ foreignKeyName: "invoices_customer_id_fkey";
64436
+ columns: ["customer_id"];
64437
+ isOneToOne: false;
64438
+ referencedRelation: "itk_customers";
64439
+ referencedColumns: ["id"];
64440
+ }];
64441
+ };
64442
+ uren_factuur_regels: {
64443
+ Row: {
64444
+ created_at: string | null;
64445
+ description: string | null;
64446
+ factuur_id: string | null;
64447
+ id: string | null;
64448
+ kind: string | null;
64449
+ quantity: number | null;
64450
+ sort_order: number | null;
64451
+ total_cents: number | null;
64452
+ unit: string | null;
64453
+ unit_price_cents: number | null;
64454
+ };
64455
+ Insert: {
64456
+ created_at?: string | null;
64457
+ description?: string | null;
64458
+ factuur_id?: string | null;
64459
+ id?: string | null;
64460
+ kind?: string | null;
64461
+ quantity?: number | null;
64462
+ sort_order?: number | null;
64463
+ total_cents?: number | null;
64464
+ unit?: string | null;
64465
+ unit_price_cents?: number | null;
64466
+ };
64467
+ Update: {
64468
+ created_at?: string | null;
64469
+ description?: string | null;
64470
+ factuur_id?: string | null;
64471
+ id?: string | null;
64472
+ kind?: string | null;
64473
+ quantity?: number | null;
64474
+ sort_order?: number | null;
64475
+ total_cents?: number | null;
64476
+ unit?: string | null;
64477
+ unit_price_cents?: number | null;
64478
+ };
64479
+ Relationships: [{
64480
+ foreignKeyName: "invoice_items_invoice_id_fkey";
64481
+ columns: ["factuur_id"];
64482
+ isOneToOne: false;
64483
+ referencedRelation: "invoices";
64484
+ referencedColumns: ["id"];
64485
+ }, {
64486
+ foreignKeyName: "invoice_items_invoice_id_fkey";
64487
+ columns: ["factuur_id"];
64488
+ isOneToOne: false;
64489
+ referencedRelation: "uren_facturen";
64490
+ referencedColumns: ["id"];
64491
+ }];
64492
+ };
63500
64493
  v_external_customers_exact: {
63501
64494
  Row: {
63502
64495
  account_number: string | null;
@@ -64002,6 +64995,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
64002
64995
  gebruiker_id: string | null;
64003
64996
  gebruiker_naam: string;
64004
64997
  gestart_op: string | null;
64998
+ herkomst: string | null;
64005
64999
  id: string;
64006
65000
  idempotentie_sleutel: string | null;
64007
65001
  is_herprint: boolean;
@@ -64122,6 +65116,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
64122
65116
  gebruiker_id: string | null;
64123
65117
  gebruiker_naam: string;
64124
65118
  gestart_op: string | null;
65119
+ herkomst: string | null;
64125
65120
  id: string;
64126
65121
  idempotentie_sleutel: string | null;
64127
65122
  is_herprint: boolean;
@@ -64723,6 +65718,46 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
64723
65718
  Args: never;
64724
65719
  Returns: boolean;
64725
65720
  };
65721
+ invoice_create_from_source: {
65722
+ Args: {
65723
+ _payload?: import("../integrations/supabase/types").Json;
65724
+ _source_id: string;
65725
+ _source_type: string;
65726
+ };
65727
+ Returns: import("../integrations/supabase/types").Json;
65728
+ };
65729
+ invoice_get_billable_lines: {
65730
+ Args: {
65731
+ _invoice_id: string;
65732
+ };
65733
+ Returns: import("../integrations/supabase/types").Json;
65734
+ };
65735
+ invoice_get_for_source: {
65736
+ Args: {
65737
+ _source_id: string;
65738
+ _source_type: string;
65739
+ };
65740
+ Returns: import("../integrations/supabase/types").Json;
65741
+ };
65742
+ invoice_get_summary: {
65743
+ Args: {
65744
+ _invoice_id: string;
65745
+ };
65746
+ Returns: import("../integrations/supabase/types").Json;
65747
+ };
65748
+ invoice_list_sources: {
65749
+ Args: {
65750
+ _limit?: number;
65751
+ _source_type?: string;
65752
+ };
65753
+ Returns: import("../integrations/supabase/types").Json;
65754
+ };
65755
+ invoice_recalc_totals: {
65756
+ Args: {
65757
+ _invoice_id: string;
65758
+ };
65759
+ Returns: import("../integrations/supabase/types").Json;
65760
+ };
64726
65761
  is_authenticated: {
64727
65762
  Args: never;
64728
65763
  Returns: boolean;
@@ -64791,6 +65826,29 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
64791
65826
  roles: string[];
64792
65827
  }[];
64793
65828
  };
65829
+ list_monteur_absences: {
65830
+ Args: {
65831
+ _from: string;
65832
+ _to: string;
65833
+ };
65834
+ Returns: {
65835
+ absence_date: string;
65836
+ end_time: string;
65837
+ full_day: boolean;
65838
+ kind: string;
65839
+ monteur_id: string;
65840
+ start_time: string;
65841
+ }[];
65842
+ };
65843
+ list_monteurs: {
65844
+ Args: never;
65845
+ Returns: {
65846
+ avatar_url: string;
65847
+ display_name: string;
65848
+ email: string;
65849
+ id: string;
65850
+ }[];
65851
+ };
64794
65852
  list_my_planning_items: {
64795
65853
  Args: {
64796
65854
  _from: string;
@@ -65202,6 +66260,23 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
65202
66260
  };
65203
66261
  Returns: string;
65204
66262
  };
66263
+ logistics_floriday_finish_push_v2: {
66264
+ Args: {
66265
+ _error?: string;
66266
+ _error_code?: string;
66267
+ _fulfillment_order_id?: string;
66268
+ _gateway_status?: number;
66269
+ _id: string;
66270
+ _max_age_hours?: number;
66271
+ _max_attempts?: number;
66272
+ _ok: boolean;
66273
+ _permanent?: boolean;
66274
+ _response?: import("../integrations/supabase/types").Json;
66275
+ _revision: number;
66276
+ _sent_hash?: string;
66277
+ };
66278
+ Returns: string;
66279
+ };
65205
66280
  logistics_floriday_prune_pushes: {
65206
66281
  Args: {
65207
66282
  _days?: number;
@@ -65744,6 +66819,13 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
65744
66819
  isSetofReturn: false;
65745
66820
  };
65746
66821
  };
66822
+ pick_cleanup_maintenance: {
66823
+ Args: {
66824
+ _heartbeat_hours?: number;
66825
+ _log_days?: number;
66826
+ };
66827
+ Returns: import("../integrations/supabase/types").Json;
66828
+ };
65747
66829
  pick_complete_print: {
65748
66830
  Args: {
65749
66831
  _printer_id: string;
@@ -65795,6 +66877,14 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
65795
66877
  Args: never;
65796
66878
  Returns: string;
65797
66879
  };
66880
+ pick_day_counts: {
66881
+ Args: {
66882
+ _pick_day?: string;
66883
+ _screen_id?: string;
66884
+ _station_id?: string;
66885
+ };
66886
+ Returns: import("../integrations/supabase/types").Json;
66887
+ };
65798
66888
  pick_document_layout_data: {
65799
66889
  Args: {
65800
66890
  _layout_id: string;
@@ -65832,6 +66922,14 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
65832
66922
  };
65833
66923
  Returns: undefined;
65834
66924
  };
66925
+ pick_reprint_document: {
66926
+ Args: {
66927
+ _queue_item_id: string;
66928
+ _session_id: string;
66929
+ _throttle_seconds?: number;
66930
+ };
66931
+ Returns: string;
66932
+ };
65835
66933
  pick_reset_print: {
65836
66934
  Args: {
65837
66935
  _queue_item_id: string;
@@ -65897,6 +66995,12 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
65897
66995
  };
65898
66996
  Returns: string;
65899
66997
  };
66998
+ pick_sync_queue_throttled: {
66999
+ Args: {
67000
+ _min_seconds?: number;
67001
+ };
67002
+ Returns: import("../integrations/supabase/types").Json;
67003
+ };
65900
67004
  pickstation_get_orders_raw: {
65901
67005
  Args: never;
65902
67006
  Returns: import("../integrations/supabase/types").Json;
@@ -66042,6 +67146,12 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
66042
67146
  };
66043
67147
  Returns: boolean;
66044
67148
  };
67149
+ release_stale_order_invoice_links: {
67150
+ Args: {
67151
+ _minutes?: number;
67152
+ };
67153
+ Returns: number;
67154
+ };
66045
67155
  reorder_customer_price_groups: {
66046
67156
  Args: {
66047
67157
  _ids: string[];
@@ -66560,6 +67670,20 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
66560
67670
  };
66561
67671
  Returns: undefined;
66562
67672
  };
67673
+ twinfield_deactivate_connection: {
67674
+ Args: {
67675
+ p_connection_id: string;
67676
+ p_user_id: string;
67677
+ };
67678
+ Returns: import("../integrations/supabase/types").Json;
67679
+ };
67680
+ twinfield_handle_administration_change: {
67681
+ Args: {
67682
+ _administration_code: string;
67683
+ _user_id: string;
67684
+ };
67685
+ Returns: undefined;
67686
+ };
66563
67687
  twinfield_prune_push_queue: {
66564
67688
  Args: never;
66565
67689
  Returns: number;
@@ -66579,10 +67703,11 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
66579
67703
  p_company_name?: string;
66580
67704
  p_environment: string;
66581
67705
  p_office_code?: string;
67706
+ p_reset_sync?: boolean;
66582
67707
  p_status?: string;
66583
67708
  p_user_id: string;
66584
67709
  };
66585
- Returns: string;
67710
+ Returns: import("../integrations/supabase/types").Json;
66586
67711
  };
66587
67712
  upsert_auto_fulfillment_log: {
66588
67713
  Args: {