@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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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 listOrderShipments: import("@tanstack/start-client-core").O
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: {
@@ -25003,6 +25378,42 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
25003
25378
  };
25004
25379
  Relationships: [];
25005
25380
  };
25381
+ document_bronregels: {
25382
+ Row: {
25383
+ bron: string;
25384
+ created_at: string;
25385
+ documenttype: string;
25386
+ herkomst: string;
25387
+ id: string;
25388
+ layout_id: string | null;
25389
+ updated_at: string;
25390
+ };
25391
+ Insert: {
25392
+ bron?: string;
25393
+ created_at?: string;
25394
+ documenttype: string;
25395
+ herkomst: string;
25396
+ id?: string;
25397
+ layout_id?: string | null;
25398
+ updated_at?: string;
25399
+ };
25400
+ Update: {
25401
+ bron?: string;
25402
+ created_at?: string;
25403
+ documenttype?: string;
25404
+ herkomst?: string;
25405
+ id?: string;
25406
+ layout_id?: string | null;
25407
+ updated_at?: string;
25408
+ };
25409
+ Relationships: [{
25410
+ foreignKeyName: "document_bronregels_layout_id_fkey";
25411
+ columns: ["layout_id"];
25412
+ isOneToOne: false;
25413
+ referencedRelation: "document_layouts";
25414
+ referencedColumns: ["id"];
25415
+ }];
25416
+ };
25006
25417
  document_formaat_printers: {
25007
25418
  Row: {
25008
25419
  created_at: string;
@@ -25280,6 +25691,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
25280
25691
  Row: {
25281
25692
  actief: boolean;
25282
25693
  breedte_mm: number;
25694
+ bron: string;
25283
25695
  config: import("../integrations/supabase/types").Json;
25284
25696
  created_at: string;
25285
25697
  created_by: string | null;
@@ -25297,12 +25709,14 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
25297
25709
  orientatie: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
25298
25710
  page_settings: import("../integrations/supabase/types").Json;
25299
25711
  papierformaat: string;
25712
+ systeem: boolean;
25300
25713
  thumbnail_url: string | null;
25301
25714
  updated_at: string;
25302
25715
  };
25303
25716
  Insert: {
25304
25717
  actief?: boolean;
25305
25718
  breedte_mm?: number;
25719
+ bron?: string;
25306
25720
  config?: import("../integrations/supabase/types").Json;
25307
25721
  created_at?: string;
25308
25722
  created_by?: string | null;
@@ -25320,12 +25734,14 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
25320
25734
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
25321
25735
  page_settings?: import("../integrations/supabase/types").Json;
25322
25736
  papierformaat?: string;
25737
+ systeem?: boolean;
25323
25738
  thumbnail_url?: string | null;
25324
25739
  updated_at?: string;
25325
25740
  };
25326
25741
  Update: {
25327
25742
  actief?: boolean;
25328
25743
  breedte_mm?: number;
25744
+ bron?: string;
25329
25745
  config?: import("../integrations/supabase/types").Json;
25330
25746
  created_at?: string;
25331
25747
  created_by?: string | null;
@@ -25343,11 +25759,48 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
25343
25759
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
25344
25760
  page_settings?: import("../integrations/supabase/types").Json;
25345
25761
  papierformaat?: string;
25762
+ systeem?: boolean;
25346
25763
  thumbnail_url?: string | null;
25347
25764
  updated_at?: string;
25348
25765
  };
25349
25766
  Relationships: [];
25350
25767
  };
25768
+ document_werkplek_printers: {
25769
+ Row: {
25770
+ created_at: string;
25771
+ documenttype: string;
25772
+ id: string;
25773
+ papierformaat: string | null;
25774
+ printer_id: string | null;
25775
+ updated_at: string;
25776
+ werkplek: string;
25777
+ };
25778
+ Insert: {
25779
+ created_at?: string;
25780
+ documenttype: string;
25781
+ id?: string;
25782
+ papierformaat?: string | null;
25783
+ printer_id?: string | null;
25784
+ updated_at?: string;
25785
+ werkplek: string;
25786
+ };
25787
+ Update: {
25788
+ created_at?: string;
25789
+ documenttype?: string;
25790
+ id?: string;
25791
+ papierformaat?: string | null;
25792
+ printer_id?: string | null;
25793
+ updated_at?: string;
25794
+ werkplek?: string;
25795
+ };
25796
+ Relationships: [{
25797
+ foreignKeyName: "document_werkplek_printers_printer_id_fkey";
25798
+ columns: ["printer_id"];
25799
+ isOneToOne: false;
25800
+ referencedRelation: "printers";
25801
+ referencedColumns: ["id"];
25802
+ }];
25803
+ };
25351
25804
  email_auth_connections: {
25352
25805
  Row: {
25353
25806
  access_token_encrypted: string | null;
@@ -27289,42 +27742,6 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
27289
27742
  };
27290
27743
  Relationships: [];
27291
27744
  };
27292
- facturen: {
27293
- Row: {
27294
- bedrag_incl_btw: number;
27295
- created_at: string;
27296
- datum: string;
27297
- factuurnummer: string;
27298
- id: string;
27299
- klantnaam: string;
27300
- status: string;
27301
- updated_at: string;
27302
- user_id: string;
27303
- };
27304
- Insert: {
27305
- bedrag_incl_btw: number;
27306
- created_at?: string;
27307
- datum?: string;
27308
- factuurnummer: string;
27309
- id?: string;
27310
- klantnaam: string;
27311
- status?: string;
27312
- updated_at?: string;
27313
- user_id?: string;
27314
- };
27315
- Update: {
27316
- bedrag_incl_btw?: number;
27317
- created_at?: string;
27318
- datum?: string;
27319
- factuurnummer?: string;
27320
- id?: string;
27321
- klantnaam?: string;
27322
- status?: string;
27323
- updated_at?: string;
27324
- user_id?: string;
27325
- };
27326
- Relationships: [];
27327
- };
27328
27745
  floricode_connection_settings: {
27329
27746
  Row: {
27330
27747
  catalog_key: string | null;
@@ -29629,8 +30046,63 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
29629
30046
  };
29630
30047
  Relationships: [];
29631
30048
  };
30049
+ invoice_items: {
30050
+ Row: {
30051
+ created_at: string;
30052
+ description: string;
30053
+ id: string;
30054
+ invoice_id: string;
30055
+ kind: string;
30056
+ quantity: number;
30057
+ sort_order: number;
30058
+ source_line_ref: string | null;
30059
+ total_cents: number;
30060
+ unit: string;
30061
+ unit_price_cents: number;
30062
+ };
30063
+ Insert: {
30064
+ created_at?: string;
30065
+ description?: string;
30066
+ id?: string;
30067
+ invoice_id: string;
30068
+ kind?: string;
30069
+ quantity?: number;
30070
+ sort_order?: number;
30071
+ source_line_ref?: string | null;
30072
+ total_cents?: number;
30073
+ unit?: string;
30074
+ unit_price_cents?: number;
30075
+ };
30076
+ Update: {
30077
+ created_at?: string;
30078
+ description?: string;
30079
+ id?: string;
30080
+ invoice_id?: string;
30081
+ kind?: string;
30082
+ quantity?: number;
30083
+ sort_order?: number;
30084
+ source_line_ref?: string | null;
30085
+ total_cents?: number;
30086
+ unit?: string;
30087
+ unit_price_cents?: number;
30088
+ };
30089
+ Relationships: [{
30090
+ foreignKeyName: "invoice_items_invoice_id_fkey";
30091
+ columns: ["invoice_id"];
30092
+ isOneToOne: false;
30093
+ referencedRelation: "invoices";
30094
+ referencedColumns: ["id"];
30095
+ }, {
30096
+ foreignKeyName: "invoice_items_invoice_id_fkey";
30097
+ columns: ["invoice_id"];
30098
+ isOneToOne: false;
30099
+ referencedRelation: "uren_facturen";
30100
+ referencedColumns: ["id"];
30101
+ }];
30102
+ };
29632
30103
  invoice_post_idempotency: {
29633
30104
  Row: {
30105
+ administration_code: string;
29634
30106
  client_request_id: string;
29635
30107
  completed_at: string | null;
29636
30108
  created_at: string;
@@ -29640,6 +30112,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
29640
30112
  user_id: string;
29641
30113
  };
29642
30114
  Insert: {
30115
+ administration_code?: string;
29643
30116
  client_request_id: string;
29644
30117
  completed_at?: string | null;
29645
30118
  created_at?: string;
@@ -29649,6 +30122,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
29649
30122
  user_id: string;
29650
30123
  };
29651
30124
  Update: {
30125
+ administration_code?: string;
29652
30126
  client_request_id?: string;
29653
30127
  completed_at?: string | null;
29654
30128
  created_at?: string;
@@ -29854,6 +30328,75 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
29854
30328
  };
29855
30329
  Relationships: [];
29856
30330
  };
30331
+ invoices: {
30332
+ Row: {
30333
+ created_at: string;
30334
+ created_by: string | null;
30335
+ customer_id: string | null;
30336
+ customer_name: string | null;
30337
+ due_date: string | null;
30338
+ id: string;
30339
+ invoice_date: string;
30340
+ invoice_number: string | null;
30341
+ note: string | null;
30342
+ source_number: string | null;
30343
+ source_ref: string | null;
30344
+ source_type: string;
30345
+ status: string;
30346
+ subtotal_cents: number;
30347
+ total_cents: number;
30348
+ updated_at: string;
30349
+ vat_cents: number;
30350
+ vat_rate: number;
30351
+ };
30352
+ Insert: {
30353
+ created_at?: string;
30354
+ created_by?: string | null;
30355
+ customer_id?: string | null;
30356
+ customer_name?: string | null;
30357
+ due_date?: string | null;
30358
+ id?: string;
30359
+ invoice_date?: string;
30360
+ invoice_number?: string | null;
30361
+ note?: string | null;
30362
+ source_number?: string | null;
30363
+ source_ref?: string | null;
30364
+ source_type?: string;
30365
+ status?: string;
30366
+ subtotal_cents?: number;
30367
+ total_cents?: number;
30368
+ updated_at?: string;
30369
+ vat_cents?: number;
30370
+ vat_rate?: number;
30371
+ };
30372
+ Update: {
30373
+ created_at?: string;
30374
+ created_by?: string | null;
30375
+ customer_id?: string | null;
30376
+ customer_name?: string | null;
30377
+ due_date?: string | null;
30378
+ id?: string;
30379
+ invoice_date?: string;
30380
+ invoice_number?: string | null;
30381
+ note?: string | null;
30382
+ source_number?: string | null;
30383
+ source_ref?: string | null;
30384
+ source_type?: string;
30385
+ status?: string;
30386
+ subtotal_cents?: number;
30387
+ total_cents?: number;
30388
+ updated_at?: string;
30389
+ vat_cents?: number;
30390
+ vat_rate?: number;
30391
+ };
30392
+ Relationships: [{
30393
+ foreignKeyName: "invoices_customer_id_fkey";
30394
+ columns: ["customer_id"];
30395
+ isOneToOne: false;
30396
+ referencedRelation: "itk_customers";
30397
+ referencedColumns: ["id"];
30398
+ }];
30399
+ };
29857
30400
  itk_contact_persons: {
29858
30401
  Row: {
29859
30402
  created_at: string;
@@ -31201,6 +31744,9 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
31201
31744
  id: string;
31202
31745
  last_error: string | null;
31203
31746
  last_error_at: string | null;
31747
+ last_error_code: string | null;
31748
+ last_gateway_status: number | null;
31749
+ last_response: import("../integrations/supabase/types").Json | null;
31204
31750
  last_sent_hash: string | null;
31205
31751
  locked_by: string | null;
31206
31752
  locked_until: string | null;
@@ -31221,6 +31767,9 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
31221
31767
  id?: string;
31222
31768
  last_error?: string | null;
31223
31769
  last_error_at?: string | null;
31770
+ last_error_code?: string | null;
31771
+ last_gateway_status?: number | null;
31772
+ last_response?: import("../integrations/supabase/types").Json | null;
31224
31773
  last_sent_hash?: string | null;
31225
31774
  locked_by?: string | null;
31226
31775
  locked_until?: string | null;
@@ -31241,6 +31790,9 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
31241
31790
  id?: string;
31242
31791
  last_error?: string | null;
31243
31792
  last_error_at?: string | null;
31793
+ last_error_code?: string | null;
31794
+ last_gateway_status?: number | null;
31795
+ last_response?: import("../integrations/supabase/types").Json | null;
31244
31796
  last_sent_hash?: string | null;
31245
31797
  locked_by?: string | null;
31246
31798
  locked_until?: string | null;
@@ -32794,6 +33346,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
32794
33346
  enforce: boolean;
32795
33347
  is_active: boolean;
32796
33348
  last_seen_at: string;
33349
+ missing_count: number;
32797
33350
  module_id: string;
32798
33351
  name: string;
32799
33352
  shell_id: string | null;
@@ -32804,6 +33357,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
32804
33357
  enforce?: boolean;
32805
33358
  is_active?: boolean;
32806
33359
  last_seen_at?: string;
33360
+ missing_count?: number;
32807
33361
  module_id: string;
32808
33362
  name: string;
32809
33363
  shell_id?: string | null;
@@ -32814,6 +33368,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
32814
33368
  enforce?: boolean;
32815
33369
  is_active?: boolean;
32816
33370
  last_seen_at?: string;
33371
+ missing_count?: number;
32817
33372
  module_id?: string;
32818
33373
  name?: string;
32819
33374
  shell_id?: string | null;
@@ -33813,6 +34368,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
33813
34368
  };
33814
34369
  order_invoice_links: {
33815
34370
  Row: {
34371
+ administration_code: string | null;
33816
34372
  attempts: number;
33817
34373
  created_at: string;
33818
34374
  error_message: string | null;
@@ -33825,6 +34381,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
33825
34381
  updated_at: string;
33826
34382
  };
33827
34383
  Insert: {
34384
+ administration_code?: string | null;
33828
34385
  attempts?: number;
33829
34386
  created_at?: string;
33830
34387
  error_message?: string | null;
@@ -33837,6 +34394,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
33837
34394
  updated_at?: string;
33838
34395
  };
33839
34396
  Update: {
34397
+ administration_code?: string | null;
33840
34398
  attempts?: number;
33841
34399
  created_at?: string;
33842
34400
  error_message?: string | null;
@@ -35002,6 +35560,27 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
35002
35560
  referencedColumns: ["id"];
35003
35561
  }];
35004
35562
  };
35563
+ pick_sync_state: {
35564
+ Row: {
35565
+ id: boolean;
35566
+ last_cleanup_at: string | null;
35567
+ last_sync_at: string | null;
35568
+ updated_at: string;
35569
+ };
35570
+ Insert: {
35571
+ id?: boolean;
35572
+ last_cleanup_at?: string | null;
35573
+ last_sync_at?: string | null;
35574
+ updated_at?: string;
35575
+ };
35576
+ Update: {
35577
+ id?: boolean;
35578
+ last_cleanup_at?: string | null;
35579
+ last_sync_at?: string | null;
35580
+ updated_at?: string;
35581
+ };
35582
+ Relationships: [];
35583
+ };
35005
35584
  pick_task_document_types: {
35006
35585
  Row: {
35007
35586
  created_at: string;
@@ -35284,6 +35863,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
35284
35863
  gebruiker_id: string | null;
35285
35864
  gebruiker_naam: string;
35286
35865
  gestart_op: string | null;
35866
+ herkomst: string | null;
35287
35867
  id: string;
35288
35868
  idempotentie_sleutel: string | null;
35289
35869
  is_herprint: boolean;
@@ -35313,6 +35893,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
35313
35893
  gebruiker_id?: string | null;
35314
35894
  gebruiker_naam?: string;
35315
35895
  gestart_op?: string | null;
35896
+ herkomst?: string | null;
35316
35897
  id?: string;
35317
35898
  idempotentie_sleutel?: string | null;
35318
35899
  is_herprint?: boolean;
@@ -35342,6 +35923,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
35342
35923
  gebruiker_id?: string | null;
35343
35924
  gebruiker_naam?: string;
35344
35925
  gestart_op?: string | null;
35926
+ herkomst?: string | null;
35345
35927
  id?: string;
35346
35928
  idempotentie_sleutel?: string | null;
35347
35929
  is_herprint?: boolean;
@@ -38346,12 +38928,16 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
38346
38928
  company_name: string | null;
38347
38929
  connected_at: string | null;
38348
38930
  created_at: string;
38931
+ disconnected_at: string | null;
38349
38932
  environment: string;
38350
38933
  id: string;
38934
+ initial_sync_completed_at: string | null;
38935
+ initial_sync_started_at: string | null;
38351
38936
  is_active: boolean;
38352
38937
  label: string | null;
38353
38938
  office_code: string | null;
38354
38939
  redirect_uri: string | null;
38940
+ superseded_at: string | null;
38355
38941
  updated_at: string;
38356
38942
  user_id: string;
38357
38943
  };
@@ -38362,12 +38948,16 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
38362
38948
  company_name?: string | null;
38363
38949
  connected_at?: string | null;
38364
38950
  created_at?: string;
38951
+ disconnected_at?: string | null;
38365
38952
  environment: string;
38366
38953
  id?: string;
38954
+ initial_sync_completed_at?: string | null;
38955
+ initial_sync_started_at?: string | null;
38367
38956
  is_active?: boolean;
38368
38957
  label?: string | null;
38369
38958
  office_code?: string | null;
38370
38959
  redirect_uri?: string | null;
38960
+ superseded_at?: string | null;
38371
38961
  updated_at?: string;
38372
38962
  user_id: string;
38373
38963
  };
@@ -38378,12 +38968,16 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
38378
38968
  company_name?: string | null;
38379
38969
  connected_at?: string | null;
38380
38970
  created_at?: string;
38971
+ disconnected_at?: string | null;
38381
38972
  environment?: string;
38382
38973
  id?: string;
38974
+ initial_sync_completed_at?: string | null;
38975
+ initial_sync_started_at?: string | null;
38383
38976
  is_active?: boolean;
38384
38977
  label?: string | null;
38385
38978
  office_code?: string | null;
38386
38979
  redirect_uri?: string | null;
38980
+ superseded_at?: string | null;
38387
38981
  updated_at?: string;
38388
38982
  user_id?: string;
38389
38983
  };
@@ -38443,6 +39037,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
38443
39037
  twinfield_customers: {
38444
39038
  Row: {
38445
39039
  address: string | null;
39040
+ administration_code: string;
38446
39041
  city: string | null;
38447
39042
  country: string | null;
38448
39043
  created_at: string;
@@ -38462,6 +39057,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
38462
39057
  };
38463
39058
  Insert: {
38464
39059
  address?: string | null;
39060
+ administration_code?: string;
38465
39061
  city?: string | null;
38466
39062
  country?: string | null;
38467
39063
  created_at?: string;
@@ -38481,6 +39077,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
38481
39077
  };
38482
39078
  Update: {
38483
39079
  address?: string | null;
39080
+ administration_code?: string;
38484
39081
  city?: string | null;
38485
39082
  country?: string | null;
38486
39083
  created_at?: string;
@@ -38694,7 +39291,9 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
38694
39291
  };
38695
39292
  twinfield_invoice_settings: {
38696
39293
  Row: {
39294
+ administration_code: string | null;
38697
39295
  auto_invoice_enabled: boolean;
39296
+ auto_invoice_start_date: string | null;
38698
39297
  auto_invoice_trigger_statuses: string[];
38699
39298
  created_at: string;
38700
39299
  debtor_gl_account: string;
@@ -38708,15 +39307,19 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
38708
39307
  invoice_enabled_fo: boolean;
38709
39308
  invoice_enabled_ho: boolean;
38710
39309
  invoice_enabled_mo: boolean;
39310
+ needs_review: boolean;
38711
39311
  payment_gl_account: string;
38712
39312
  payment_journal_code: string;
39313
+ settings_confirmed_at: string | null;
38713
39314
  updated_at: string;
38714
39315
  user_id: string;
38715
39316
  vat_code_eu_reverse: string | null;
38716
39317
  vat_code_export: string | null;
38717
39318
  };
38718
39319
  Insert: {
39320
+ administration_code?: string | null;
38719
39321
  auto_invoice_enabled?: boolean;
39322
+ auto_invoice_start_date?: string | null;
38720
39323
  auto_invoice_trigger_statuses?: string[];
38721
39324
  created_at?: string;
38722
39325
  debtor_gl_account?: string;
@@ -38730,15 +39333,19 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
38730
39333
  invoice_enabled_fo?: boolean;
38731
39334
  invoice_enabled_ho?: boolean;
38732
39335
  invoice_enabled_mo?: boolean;
39336
+ needs_review?: boolean;
38733
39337
  payment_gl_account?: string;
38734
39338
  payment_journal_code?: string;
39339
+ settings_confirmed_at?: string | null;
38735
39340
  updated_at?: string;
38736
39341
  user_id: string;
38737
39342
  vat_code_eu_reverse?: string | null;
38738
39343
  vat_code_export?: string | null;
38739
39344
  };
38740
39345
  Update: {
39346
+ administration_code?: string | null;
38741
39347
  auto_invoice_enabled?: boolean;
39348
+ auto_invoice_start_date?: string | null;
38742
39349
  auto_invoice_trigger_statuses?: string[];
38743
39350
  created_at?: string;
38744
39351
  debtor_gl_account?: string;
@@ -38752,8 +39359,10 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
38752
39359
  invoice_enabled_fo?: boolean;
38753
39360
  invoice_enabled_ho?: boolean;
38754
39361
  invoice_enabled_mo?: boolean;
39362
+ needs_review?: boolean;
38755
39363
  payment_gl_account?: string;
38756
39364
  payment_journal_code?: string;
39365
+ settings_confirmed_at?: string | null;
38757
39366
  updated_at?: string;
38758
39367
  user_id?: string;
38759
39368
  vat_code_eu_reverse?: string | null;
@@ -39358,114 +39967,6 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
39358
39967
  };
39359
39968
  Relationships: [];
39360
39969
  };
39361
- uren_facturen: {
39362
- Row: {
39363
- created_at: string;
39364
- created_by: string | null;
39365
- customer_id: string | null;
39366
- customer_name: string | null;
39367
- id: string;
39368
- invoice_number: string | null;
39369
- note: string | null;
39370
- status: string;
39371
- total_excl_cents: number;
39372
- total_incl_cents: number;
39373
- updated_at: string;
39374
- vat_cents: number;
39375
- vat_percentage: number;
39376
- werkbon_id: string | null;
39377
- };
39378
- Insert: {
39379
- created_at?: string;
39380
- created_by?: string | null;
39381
- customer_id?: string | null;
39382
- customer_name?: string | null;
39383
- id?: string;
39384
- invoice_number?: string | null;
39385
- note?: string | null;
39386
- status?: string;
39387
- total_excl_cents?: number;
39388
- total_incl_cents?: number;
39389
- updated_at?: string;
39390
- vat_cents?: number;
39391
- vat_percentage?: number;
39392
- werkbon_id?: string | null;
39393
- };
39394
- Update: {
39395
- created_at?: string;
39396
- created_by?: string | null;
39397
- customer_id?: string | null;
39398
- customer_name?: string | null;
39399
- id?: string;
39400
- invoice_number?: string | null;
39401
- note?: string | null;
39402
- status?: string;
39403
- total_excl_cents?: number;
39404
- total_incl_cents?: number;
39405
- updated_at?: string;
39406
- vat_cents?: number;
39407
- vat_percentage?: number;
39408
- werkbon_id?: string | null;
39409
- };
39410
- Relationships: [{
39411
- foreignKeyName: "uren_facturen_customer_id_fkey";
39412
- columns: ["customer_id"];
39413
- isOneToOne: false;
39414
- referencedRelation: "itk_customers";
39415
- referencedColumns: ["id"];
39416
- }, {
39417
- foreignKeyName: "uren_facturen_werkbon_id_fkey";
39418
- columns: ["werkbon_id"];
39419
- isOneToOne: true;
39420
- referencedRelation: "werkbonnen";
39421
- referencedColumns: ["id"];
39422
- }];
39423
- };
39424
- uren_factuur_regels: {
39425
- Row: {
39426
- created_at: string;
39427
- description: string;
39428
- factuur_id: string;
39429
- id: string;
39430
- kind: string | null;
39431
- quantity: number;
39432
- sort_order: number;
39433
- total_cents: number;
39434
- unit: string;
39435
- unit_price_cents: number;
39436
- };
39437
- Insert: {
39438
- created_at?: string;
39439
- description: string;
39440
- factuur_id: string;
39441
- id?: string;
39442
- kind?: string | null;
39443
- quantity?: number;
39444
- sort_order?: number;
39445
- total_cents?: number;
39446
- unit?: string;
39447
- unit_price_cents?: number;
39448
- };
39449
- Update: {
39450
- created_at?: string;
39451
- description?: string;
39452
- factuur_id?: string;
39453
- id?: string;
39454
- kind?: string | null;
39455
- quantity?: number;
39456
- sort_order?: number;
39457
- total_cents?: number;
39458
- unit?: string;
39459
- unit_price_cents?: number;
39460
- };
39461
- Relationships: [{
39462
- foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
39463
- columns: ["factuur_id"];
39464
- isOneToOne: false;
39465
- referencedRelation: "uren_facturen";
39466
- referencedColumns: ["id"];
39467
- }];
39468
- };
39469
39970
  uren_offerte_regels: {
39470
39971
  Row: {
39471
39972
  created_at: string;
@@ -40719,6 +41220,9 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
40719
41220
  scheduled_end_time: string | null;
40720
41221
  scheduled_start_time: string | null;
40721
41222
  sequence_number: number;
41223
+ signature_accepted_at: string | null;
41224
+ signature_by_user_id: string | null;
41225
+ signature_name: string | null;
40722
41226
  source_email_meta: import("../integrations/supabase/types").Json | null;
40723
41227
  source_mailbox_message_id: string | null;
40724
41228
  source_pdf_path: string | null;
@@ -40754,6 +41258,9 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
40754
41258
  scheduled_end_time?: string | null;
40755
41259
  scheduled_start_time?: string | null;
40756
41260
  sequence_number: number;
41261
+ signature_accepted_at?: string | null;
41262
+ signature_by_user_id?: string | null;
41263
+ signature_name?: string | null;
40757
41264
  source_email_meta?: import("../integrations/supabase/types").Json | null;
40758
41265
  source_mailbox_message_id?: string | null;
40759
41266
  source_pdf_path?: string | null;
@@ -40789,6 +41296,9 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
40789
41296
  scheduled_end_time?: string | null;
40790
41297
  scheduled_start_time?: string | null;
40791
41298
  sequence_number?: number;
41299
+ signature_accepted_at?: string | null;
41300
+ signature_by_user_id?: string | null;
41301
+ signature_name?: string | null;
40792
41302
  source_email_meta?: import("../integrations/supabase/types").Json | null;
40793
41303
  source_mailbox_message_id?: string | null;
40794
41304
  source_pdf_path?: string | null;
@@ -41305,6 +41815,114 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
41305
41815
  };
41306
41816
  Relationships: [];
41307
41817
  };
41818
+ uren_facturen: {
41819
+ Row: {
41820
+ created_at: string | null;
41821
+ created_by: string | null;
41822
+ customer_id: string | null;
41823
+ customer_name: string | null;
41824
+ id: string | null;
41825
+ invoice_number: string | null;
41826
+ note: string | null;
41827
+ status: string | null;
41828
+ total_excl_cents: number | null;
41829
+ total_incl_cents: number | null;
41830
+ updated_at: string | null;
41831
+ vat_cents: number | null;
41832
+ vat_percentage: number | null;
41833
+ werkbon_id: string | null;
41834
+ };
41835
+ Insert: {
41836
+ created_at?: string | null;
41837
+ created_by?: string | null;
41838
+ customer_id?: string | null;
41839
+ customer_name?: string | null;
41840
+ id?: string | null;
41841
+ invoice_number?: string | null;
41842
+ note?: string | null;
41843
+ status?: string | null;
41844
+ total_excl_cents?: number | null;
41845
+ total_incl_cents?: number | null;
41846
+ updated_at?: string | null;
41847
+ vat_cents?: number | null;
41848
+ vat_percentage?: number | null;
41849
+ werkbon_id?: never;
41850
+ };
41851
+ Update: {
41852
+ created_at?: string | null;
41853
+ created_by?: string | null;
41854
+ customer_id?: string | null;
41855
+ customer_name?: string | null;
41856
+ id?: string | null;
41857
+ invoice_number?: string | null;
41858
+ note?: string | null;
41859
+ status?: string | null;
41860
+ total_excl_cents?: number | null;
41861
+ total_incl_cents?: number | null;
41862
+ updated_at?: string | null;
41863
+ vat_cents?: number | null;
41864
+ vat_percentage?: number | null;
41865
+ werkbon_id?: never;
41866
+ };
41867
+ Relationships: [{
41868
+ foreignKeyName: "invoices_customer_id_fkey";
41869
+ columns: ["customer_id"];
41870
+ isOneToOne: false;
41871
+ referencedRelation: "itk_customers";
41872
+ referencedColumns: ["id"];
41873
+ }];
41874
+ };
41875
+ uren_factuur_regels: {
41876
+ Row: {
41877
+ created_at: string | null;
41878
+ description: string | null;
41879
+ factuur_id: string | null;
41880
+ id: string | null;
41881
+ kind: string | null;
41882
+ quantity: number | null;
41883
+ sort_order: number | null;
41884
+ total_cents: number | null;
41885
+ unit: string | null;
41886
+ unit_price_cents: number | null;
41887
+ };
41888
+ Insert: {
41889
+ created_at?: string | null;
41890
+ description?: string | null;
41891
+ factuur_id?: string | null;
41892
+ id?: string | null;
41893
+ kind?: string | null;
41894
+ quantity?: number | null;
41895
+ sort_order?: number | null;
41896
+ total_cents?: number | null;
41897
+ unit?: string | null;
41898
+ unit_price_cents?: number | null;
41899
+ };
41900
+ Update: {
41901
+ created_at?: string | null;
41902
+ description?: string | null;
41903
+ factuur_id?: string | null;
41904
+ id?: string | null;
41905
+ kind?: string | null;
41906
+ quantity?: number | null;
41907
+ sort_order?: number | null;
41908
+ total_cents?: number | null;
41909
+ unit?: string | null;
41910
+ unit_price_cents?: number | null;
41911
+ };
41912
+ Relationships: [{
41913
+ foreignKeyName: "invoice_items_invoice_id_fkey";
41914
+ columns: ["factuur_id"];
41915
+ isOneToOne: false;
41916
+ referencedRelation: "invoices";
41917
+ referencedColumns: ["id"];
41918
+ }, {
41919
+ foreignKeyName: "invoice_items_invoice_id_fkey";
41920
+ columns: ["factuur_id"];
41921
+ isOneToOne: false;
41922
+ referencedRelation: "uren_facturen";
41923
+ referencedColumns: ["id"];
41924
+ }];
41925
+ };
41308
41926
  v_external_customers_exact: {
41309
41927
  Row: {
41310
41928
  account_number: string | null;
@@ -41810,6 +42428,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
41810
42428
  gebruiker_id: string | null;
41811
42429
  gebruiker_naam: string;
41812
42430
  gestart_op: string | null;
42431
+ herkomst: string | null;
41813
42432
  id: string;
41814
42433
  idempotentie_sleutel: string | null;
41815
42434
  is_herprint: boolean;
@@ -41930,6 +42549,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
41930
42549
  gebruiker_id: string | null;
41931
42550
  gebruiker_naam: string;
41932
42551
  gestart_op: string | null;
42552
+ herkomst: string | null;
41933
42553
  id: string;
41934
42554
  idempotentie_sleutel: string | null;
41935
42555
  is_herprint: boolean;
@@ -42531,6 +43151,46 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
42531
43151
  Args: never;
42532
43152
  Returns: boolean;
42533
43153
  };
43154
+ invoice_create_from_source: {
43155
+ Args: {
43156
+ _payload?: import("../integrations/supabase/types").Json;
43157
+ _source_id: string;
43158
+ _source_type: string;
43159
+ };
43160
+ Returns: import("../integrations/supabase/types").Json;
43161
+ };
43162
+ invoice_get_billable_lines: {
43163
+ Args: {
43164
+ _invoice_id: string;
43165
+ };
43166
+ Returns: import("../integrations/supabase/types").Json;
43167
+ };
43168
+ invoice_get_for_source: {
43169
+ Args: {
43170
+ _source_id: string;
43171
+ _source_type: string;
43172
+ };
43173
+ Returns: import("../integrations/supabase/types").Json;
43174
+ };
43175
+ invoice_get_summary: {
43176
+ Args: {
43177
+ _invoice_id: string;
43178
+ };
43179
+ Returns: import("../integrations/supabase/types").Json;
43180
+ };
43181
+ invoice_list_sources: {
43182
+ Args: {
43183
+ _limit?: number;
43184
+ _source_type?: string;
43185
+ };
43186
+ Returns: import("../integrations/supabase/types").Json;
43187
+ };
43188
+ invoice_recalc_totals: {
43189
+ Args: {
43190
+ _invoice_id: string;
43191
+ };
43192
+ Returns: import("../integrations/supabase/types").Json;
43193
+ };
42534
43194
  is_authenticated: {
42535
43195
  Args: never;
42536
43196
  Returns: boolean;
@@ -42599,6 +43259,29 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
42599
43259
  roles: string[];
42600
43260
  }[];
42601
43261
  };
43262
+ list_monteur_absences: {
43263
+ Args: {
43264
+ _from: string;
43265
+ _to: string;
43266
+ };
43267
+ Returns: {
43268
+ absence_date: string;
43269
+ end_time: string;
43270
+ full_day: boolean;
43271
+ kind: string;
43272
+ monteur_id: string;
43273
+ start_time: string;
43274
+ }[];
43275
+ };
43276
+ list_monteurs: {
43277
+ Args: never;
43278
+ Returns: {
43279
+ avatar_url: string;
43280
+ display_name: string;
43281
+ email: string;
43282
+ id: string;
43283
+ }[];
43284
+ };
42602
43285
  list_my_planning_items: {
42603
43286
  Args: {
42604
43287
  _from: string;
@@ -43010,6 +43693,23 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
43010
43693
  };
43011
43694
  Returns: string;
43012
43695
  };
43696
+ logistics_floriday_finish_push_v2: {
43697
+ Args: {
43698
+ _error?: string;
43699
+ _error_code?: string;
43700
+ _fulfillment_order_id?: string;
43701
+ _gateway_status?: number;
43702
+ _id: string;
43703
+ _max_age_hours?: number;
43704
+ _max_attempts?: number;
43705
+ _ok: boolean;
43706
+ _permanent?: boolean;
43707
+ _response?: import("../integrations/supabase/types").Json;
43708
+ _revision: number;
43709
+ _sent_hash?: string;
43710
+ };
43711
+ Returns: string;
43712
+ };
43013
43713
  logistics_floriday_prune_pushes: {
43014
43714
  Args: {
43015
43715
  _days?: number;
@@ -43552,6 +44252,13 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
43552
44252
  isSetofReturn: false;
43553
44253
  };
43554
44254
  };
44255
+ pick_cleanup_maintenance: {
44256
+ Args: {
44257
+ _heartbeat_hours?: number;
44258
+ _log_days?: number;
44259
+ };
44260
+ Returns: import("../integrations/supabase/types").Json;
44261
+ };
43555
44262
  pick_complete_print: {
43556
44263
  Args: {
43557
44264
  _printer_id: string;
@@ -43603,6 +44310,14 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
43603
44310
  Args: never;
43604
44311
  Returns: string;
43605
44312
  };
44313
+ pick_day_counts: {
44314
+ Args: {
44315
+ _pick_day?: string;
44316
+ _screen_id?: string;
44317
+ _station_id?: string;
44318
+ };
44319
+ Returns: import("../integrations/supabase/types").Json;
44320
+ };
43606
44321
  pick_document_layout_data: {
43607
44322
  Args: {
43608
44323
  _layout_id: string;
@@ -43640,6 +44355,14 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
43640
44355
  };
43641
44356
  Returns: undefined;
43642
44357
  };
44358
+ pick_reprint_document: {
44359
+ Args: {
44360
+ _queue_item_id: string;
44361
+ _session_id: string;
44362
+ _throttle_seconds?: number;
44363
+ };
44364
+ Returns: string;
44365
+ };
43643
44366
  pick_reset_print: {
43644
44367
  Args: {
43645
44368
  _queue_item_id: string;
@@ -43705,6 +44428,12 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
43705
44428
  };
43706
44429
  Returns: string;
43707
44430
  };
44431
+ pick_sync_queue_throttled: {
44432
+ Args: {
44433
+ _min_seconds?: number;
44434
+ };
44435
+ Returns: import("../integrations/supabase/types").Json;
44436
+ };
43708
44437
  pickstation_get_orders_raw: {
43709
44438
  Args: never;
43710
44439
  Returns: import("../integrations/supabase/types").Json;
@@ -43850,6 +44579,12 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
43850
44579
  };
43851
44580
  Returns: boolean;
43852
44581
  };
44582
+ release_stale_order_invoice_links: {
44583
+ Args: {
44584
+ _minutes?: number;
44585
+ };
44586
+ Returns: number;
44587
+ };
43853
44588
  reorder_customer_price_groups: {
43854
44589
  Args: {
43855
44590
  _ids: string[];
@@ -44368,6 +45103,20 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
44368
45103
  };
44369
45104
  Returns: undefined;
44370
45105
  };
45106
+ twinfield_deactivate_connection: {
45107
+ Args: {
45108
+ p_connection_id: string;
45109
+ p_user_id: string;
45110
+ };
45111
+ Returns: import("../integrations/supabase/types").Json;
45112
+ };
45113
+ twinfield_handle_administration_change: {
45114
+ Args: {
45115
+ _administration_code: string;
45116
+ _user_id: string;
45117
+ };
45118
+ Returns: undefined;
45119
+ };
44371
45120
  twinfield_prune_push_queue: {
44372
45121
  Args: never;
44373
45122
  Returns: number;
@@ -44387,10 +45136,11 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
44387
45136
  p_company_name?: string;
44388
45137
  p_environment: string;
44389
45138
  p_office_code?: string;
45139
+ p_reset_sync?: boolean;
44390
45140
  p_status?: string;
44391
45141
  p_user_id: string;
44392
45142
  };
44393
- Returns: string;
45143
+ Returns: import("../integrations/supabase/types").Json;
44394
45144
  };
44395
45145
  upsert_auto_fulfillment_log: {
44396
45146
  Args: {
@@ -47229,6 +47979,42 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
47229
47979
  };
47230
47980
  Relationships: [];
47231
47981
  };
47982
+ document_bronregels: {
47983
+ Row: {
47984
+ bron: string;
47985
+ created_at: string;
47986
+ documenttype: string;
47987
+ herkomst: string;
47988
+ id: string;
47989
+ layout_id: string | null;
47990
+ updated_at: string;
47991
+ };
47992
+ Insert: {
47993
+ bron?: string;
47994
+ created_at?: string;
47995
+ documenttype: string;
47996
+ herkomst: string;
47997
+ id?: string;
47998
+ layout_id?: string | null;
47999
+ updated_at?: string;
48000
+ };
48001
+ Update: {
48002
+ bron?: string;
48003
+ created_at?: string;
48004
+ documenttype?: string;
48005
+ herkomst?: string;
48006
+ id?: string;
48007
+ layout_id?: string | null;
48008
+ updated_at?: string;
48009
+ };
48010
+ Relationships: [{
48011
+ foreignKeyName: "document_bronregels_layout_id_fkey";
48012
+ columns: ["layout_id"];
48013
+ isOneToOne: false;
48014
+ referencedRelation: "document_layouts";
48015
+ referencedColumns: ["id"];
48016
+ }];
48017
+ };
47232
48018
  document_formaat_printers: {
47233
48019
  Row: {
47234
48020
  created_at: string;
@@ -47506,6 +48292,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
47506
48292
  Row: {
47507
48293
  actief: boolean;
47508
48294
  breedte_mm: number;
48295
+ bron: string;
47509
48296
  config: import("../integrations/supabase/types").Json;
47510
48297
  created_at: string;
47511
48298
  created_by: string | null;
@@ -47523,12 +48310,14 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
47523
48310
  orientatie: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
47524
48311
  page_settings: import("../integrations/supabase/types").Json;
47525
48312
  papierformaat: string;
48313
+ systeem: boolean;
47526
48314
  thumbnail_url: string | null;
47527
48315
  updated_at: string;
47528
48316
  };
47529
48317
  Insert: {
47530
48318
  actief?: boolean;
47531
48319
  breedte_mm?: number;
48320
+ bron?: string;
47532
48321
  config?: import("../integrations/supabase/types").Json;
47533
48322
  created_at?: string;
47534
48323
  created_by?: string | null;
@@ -47546,12 +48335,14 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
47546
48335
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
47547
48336
  page_settings?: import("../integrations/supabase/types").Json;
47548
48337
  papierformaat?: string;
48338
+ systeem?: boolean;
47549
48339
  thumbnail_url?: string | null;
47550
48340
  updated_at?: string;
47551
48341
  };
47552
48342
  Update: {
47553
48343
  actief?: boolean;
47554
48344
  breedte_mm?: number;
48345
+ bron?: string;
47555
48346
  config?: import("../integrations/supabase/types").Json;
47556
48347
  created_at?: string;
47557
48348
  created_by?: string | null;
@@ -47569,11 +48360,48 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
47569
48360
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
47570
48361
  page_settings?: import("../integrations/supabase/types").Json;
47571
48362
  papierformaat?: string;
48363
+ systeem?: boolean;
47572
48364
  thumbnail_url?: string | null;
47573
48365
  updated_at?: string;
47574
48366
  };
47575
48367
  Relationships: [];
47576
48368
  };
48369
+ document_werkplek_printers: {
48370
+ Row: {
48371
+ created_at: string;
48372
+ documenttype: string;
48373
+ id: string;
48374
+ papierformaat: string | null;
48375
+ printer_id: string | null;
48376
+ updated_at: string;
48377
+ werkplek: string;
48378
+ };
48379
+ Insert: {
48380
+ created_at?: string;
48381
+ documenttype: string;
48382
+ id?: string;
48383
+ papierformaat?: string | null;
48384
+ printer_id?: string | null;
48385
+ updated_at?: string;
48386
+ werkplek: string;
48387
+ };
48388
+ Update: {
48389
+ created_at?: string;
48390
+ documenttype?: string;
48391
+ id?: string;
48392
+ papierformaat?: string | null;
48393
+ printer_id?: string | null;
48394
+ updated_at?: string;
48395
+ werkplek?: string;
48396
+ };
48397
+ Relationships: [{
48398
+ foreignKeyName: "document_werkplek_printers_printer_id_fkey";
48399
+ columns: ["printer_id"];
48400
+ isOneToOne: false;
48401
+ referencedRelation: "printers";
48402
+ referencedColumns: ["id"];
48403
+ }];
48404
+ };
47577
48405
  email_auth_connections: {
47578
48406
  Row: {
47579
48407
  access_token_encrypted: string | null;
@@ -49515,42 +50343,6 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
49515
50343
  };
49516
50344
  Relationships: [];
49517
50345
  };
49518
- facturen: {
49519
- Row: {
49520
- bedrag_incl_btw: number;
49521
- created_at: string;
49522
- datum: string;
49523
- factuurnummer: string;
49524
- id: string;
49525
- klantnaam: string;
49526
- status: string;
49527
- updated_at: string;
49528
- user_id: string;
49529
- };
49530
- Insert: {
49531
- bedrag_incl_btw: number;
49532
- created_at?: string;
49533
- datum?: string;
49534
- factuurnummer: string;
49535
- id?: string;
49536
- klantnaam: string;
49537
- status?: string;
49538
- updated_at?: string;
49539
- user_id?: string;
49540
- };
49541
- Update: {
49542
- bedrag_incl_btw?: number;
49543
- created_at?: string;
49544
- datum?: string;
49545
- factuurnummer?: string;
49546
- id?: string;
49547
- klantnaam?: string;
49548
- status?: string;
49549
- updated_at?: string;
49550
- user_id?: string;
49551
- };
49552
- Relationships: [];
49553
- };
49554
50346
  floricode_connection_settings: {
49555
50347
  Row: {
49556
50348
  catalog_key: string | null;
@@ -51855,8 +52647,63 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
51855
52647
  };
51856
52648
  Relationships: [];
51857
52649
  };
52650
+ invoice_items: {
52651
+ Row: {
52652
+ created_at: string;
52653
+ description: string;
52654
+ id: string;
52655
+ invoice_id: string;
52656
+ kind: string;
52657
+ quantity: number;
52658
+ sort_order: number;
52659
+ source_line_ref: string | null;
52660
+ total_cents: number;
52661
+ unit: string;
52662
+ unit_price_cents: number;
52663
+ };
52664
+ Insert: {
52665
+ created_at?: string;
52666
+ description?: string;
52667
+ id?: string;
52668
+ invoice_id: string;
52669
+ kind?: string;
52670
+ quantity?: number;
52671
+ sort_order?: number;
52672
+ source_line_ref?: string | null;
52673
+ total_cents?: number;
52674
+ unit?: string;
52675
+ unit_price_cents?: number;
52676
+ };
52677
+ Update: {
52678
+ created_at?: string;
52679
+ description?: string;
52680
+ id?: string;
52681
+ invoice_id?: string;
52682
+ kind?: string;
52683
+ quantity?: number;
52684
+ sort_order?: number;
52685
+ source_line_ref?: string | null;
52686
+ total_cents?: number;
52687
+ unit?: string;
52688
+ unit_price_cents?: number;
52689
+ };
52690
+ Relationships: [{
52691
+ foreignKeyName: "invoice_items_invoice_id_fkey";
52692
+ columns: ["invoice_id"];
52693
+ isOneToOne: false;
52694
+ referencedRelation: "invoices";
52695
+ referencedColumns: ["id"];
52696
+ }, {
52697
+ foreignKeyName: "invoice_items_invoice_id_fkey";
52698
+ columns: ["invoice_id"];
52699
+ isOneToOne: false;
52700
+ referencedRelation: "uren_facturen";
52701
+ referencedColumns: ["id"];
52702
+ }];
52703
+ };
51858
52704
  invoice_post_idempotency: {
51859
52705
  Row: {
52706
+ administration_code: string;
51860
52707
  client_request_id: string;
51861
52708
  completed_at: string | null;
51862
52709
  created_at: string;
@@ -51866,6 +52713,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
51866
52713
  user_id: string;
51867
52714
  };
51868
52715
  Insert: {
52716
+ administration_code?: string;
51869
52717
  client_request_id: string;
51870
52718
  completed_at?: string | null;
51871
52719
  created_at?: string;
@@ -51875,6 +52723,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
51875
52723
  user_id: string;
51876
52724
  };
51877
52725
  Update: {
52726
+ administration_code?: string;
51878
52727
  client_request_id?: string;
51879
52728
  completed_at?: string | null;
51880
52729
  created_at?: string;
@@ -52080,6 +52929,75 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
52080
52929
  };
52081
52930
  Relationships: [];
52082
52931
  };
52932
+ invoices: {
52933
+ Row: {
52934
+ created_at: string;
52935
+ created_by: string | null;
52936
+ customer_id: string | null;
52937
+ customer_name: string | null;
52938
+ due_date: string | null;
52939
+ id: string;
52940
+ invoice_date: string;
52941
+ invoice_number: string | null;
52942
+ note: string | null;
52943
+ source_number: string | null;
52944
+ source_ref: string | null;
52945
+ source_type: string;
52946
+ status: string;
52947
+ subtotal_cents: number;
52948
+ total_cents: number;
52949
+ updated_at: string;
52950
+ vat_cents: number;
52951
+ vat_rate: number;
52952
+ };
52953
+ Insert: {
52954
+ created_at?: string;
52955
+ created_by?: string | null;
52956
+ customer_id?: string | null;
52957
+ customer_name?: string | null;
52958
+ due_date?: string | null;
52959
+ id?: string;
52960
+ invoice_date?: string;
52961
+ invoice_number?: string | null;
52962
+ note?: string | null;
52963
+ source_number?: string | null;
52964
+ source_ref?: string | null;
52965
+ source_type?: string;
52966
+ status?: string;
52967
+ subtotal_cents?: number;
52968
+ total_cents?: number;
52969
+ updated_at?: string;
52970
+ vat_cents?: number;
52971
+ vat_rate?: number;
52972
+ };
52973
+ Update: {
52974
+ created_at?: string;
52975
+ created_by?: string | null;
52976
+ customer_id?: string | null;
52977
+ customer_name?: string | null;
52978
+ due_date?: string | null;
52979
+ id?: string;
52980
+ invoice_date?: string;
52981
+ invoice_number?: string | null;
52982
+ note?: string | null;
52983
+ source_number?: string | null;
52984
+ source_ref?: string | null;
52985
+ source_type?: string;
52986
+ status?: string;
52987
+ subtotal_cents?: number;
52988
+ total_cents?: number;
52989
+ updated_at?: string;
52990
+ vat_cents?: number;
52991
+ vat_rate?: number;
52992
+ };
52993
+ Relationships: [{
52994
+ foreignKeyName: "invoices_customer_id_fkey";
52995
+ columns: ["customer_id"];
52996
+ isOneToOne: false;
52997
+ referencedRelation: "itk_customers";
52998
+ referencedColumns: ["id"];
52999
+ }];
53000
+ };
52083
53001
  itk_contact_persons: {
52084
53002
  Row: {
52085
53003
  created_at: string;
@@ -53427,6 +54345,9 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
53427
54345
  id: string;
53428
54346
  last_error: string | null;
53429
54347
  last_error_at: string | null;
54348
+ last_error_code: string | null;
54349
+ last_gateway_status: number | null;
54350
+ last_response: import("../integrations/supabase/types").Json | null;
53430
54351
  last_sent_hash: string | null;
53431
54352
  locked_by: string | null;
53432
54353
  locked_until: string | null;
@@ -53447,6 +54368,9 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
53447
54368
  id?: string;
53448
54369
  last_error?: string | null;
53449
54370
  last_error_at?: string | null;
54371
+ last_error_code?: string | null;
54372
+ last_gateway_status?: number | null;
54373
+ last_response?: import("../integrations/supabase/types").Json | null;
53450
54374
  last_sent_hash?: string | null;
53451
54375
  locked_by?: string | null;
53452
54376
  locked_until?: string | null;
@@ -53467,6 +54391,9 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
53467
54391
  id?: string;
53468
54392
  last_error?: string | null;
53469
54393
  last_error_at?: string | null;
54394
+ last_error_code?: string | null;
54395
+ last_gateway_status?: number | null;
54396
+ last_response?: import("../integrations/supabase/types").Json | null;
53470
54397
  last_sent_hash?: string | null;
53471
54398
  locked_by?: string | null;
53472
54399
  locked_until?: string | null;
@@ -55020,6 +55947,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
55020
55947
  enforce: boolean;
55021
55948
  is_active: boolean;
55022
55949
  last_seen_at: string;
55950
+ missing_count: number;
55023
55951
  module_id: string;
55024
55952
  name: string;
55025
55953
  shell_id: string | null;
@@ -55030,6 +55958,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
55030
55958
  enforce?: boolean;
55031
55959
  is_active?: boolean;
55032
55960
  last_seen_at?: string;
55961
+ missing_count?: number;
55033
55962
  module_id: string;
55034
55963
  name: string;
55035
55964
  shell_id?: string | null;
@@ -55040,6 +55969,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
55040
55969
  enforce?: boolean;
55041
55970
  is_active?: boolean;
55042
55971
  last_seen_at?: string;
55972
+ missing_count?: number;
55043
55973
  module_id?: string;
55044
55974
  name?: string;
55045
55975
  shell_id?: string | null;
@@ -56039,6 +56969,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
56039
56969
  };
56040
56970
  order_invoice_links: {
56041
56971
  Row: {
56972
+ administration_code: string | null;
56042
56973
  attempts: number;
56043
56974
  created_at: string;
56044
56975
  error_message: string | null;
@@ -56051,6 +56982,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
56051
56982
  updated_at: string;
56052
56983
  };
56053
56984
  Insert: {
56985
+ administration_code?: string | null;
56054
56986
  attempts?: number;
56055
56987
  created_at?: string;
56056
56988
  error_message?: string | null;
@@ -56063,6 +56995,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
56063
56995
  updated_at?: string;
56064
56996
  };
56065
56997
  Update: {
56998
+ administration_code?: string | null;
56066
56999
  attempts?: number;
56067
57000
  created_at?: string;
56068
57001
  error_message?: string | null;
@@ -57228,6 +58161,27 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
57228
58161
  referencedColumns: ["id"];
57229
58162
  }];
57230
58163
  };
58164
+ pick_sync_state: {
58165
+ Row: {
58166
+ id: boolean;
58167
+ last_cleanup_at: string | null;
58168
+ last_sync_at: string | null;
58169
+ updated_at: string;
58170
+ };
58171
+ Insert: {
58172
+ id?: boolean;
58173
+ last_cleanup_at?: string | null;
58174
+ last_sync_at?: string | null;
58175
+ updated_at?: string;
58176
+ };
58177
+ Update: {
58178
+ id?: boolean;
58179
+ last_cleanup_at?: string | null;
58180
+ last_sync_at?: string | null;
58181
+ updated_at?: string;
58182
+ };
58183
+ Relationships: [];
58184
+ };
57231
58185
  pick_task_document_types: {
57232
58186
  Row: {
57233
58187
  created_at: string;
@@ -57510,6 +58464,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
57510
58464
  gebruiker_id: string | null;
57511
58465
  gebruiker_naam: string;
57512
58466
  gestart_op: string | null;
58467
+ herkomst: string | null;
57513
58468
  id: string;
57514
58469
  idempotentie_sleutel: string | null;
57515
58470
  is_herprint: boolean;
@@ -57539,6 +58494,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
57539
58494
  gebruiker_id?: string | null;
57540
58495
  gebruiker_naam?: string;
57541
58496
  gestart_op?: string | null;
58497
+ herkomst?: string | null;
57542
58498
  id?: string;
57543
58499
  idempotentie_sleutel?: string | null;
57544
58500
  is_herprint?: boolean;
@@ -57568,6 +58524,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
57568
58524
  gebruiker_id?: string | null;
57569
58525
  gebruiker_naam?: string;
57570
58526
  gestart_op?: string | null;
58527
+ herkomst?: string | null;
57571
58528
  id?: string;
57572
58529
  idempotentie_sleutel?: string | null;
57573
58530
  is_herprint?: boolean;
@@ -60572,12 +61529,16 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
60572
61529
  company_name: string | null;
60573
61530
  connected_at: string | null;
60574
61531
  created_at: string;
61532
+ disconnected_at: string | null;
60575
61533
  environment: string;
60576
61534
  id: string;
61535
+ initial_sync_completed_at: string | null;
61536
+ initial_sync_started_at: string | null;
60577
61537
  is_active: boolean;
60578
61538
  label: string | null;
60579
61539
  office_code: string | null;
60580
61540
  redirect_uri: string | null;
61541
+ superseded_at: string | null;
60581
61542
  updated_at: string;
60582
61543
  user_id: string;
60583
61544
  };
@@ -60588,12 +61549,16 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
60588
61549
  company_name?: string | null;
60589
61550
  connected_at?: string | null;
60590
61551
  created_at?: string;
61552
+ disconnected_at?: string | null;
60591
61553
  environment: string;
60592
61554
  id?: string;
61555
+ initial_sync_completed_at?: string | null;
61556
+ initial_sync_started_at?: string | null;
60593
61557
  is_active?: boolean;
60594
61558
  label?: string | null;
60595
61559
  office_code?: string | null;
60596
61560
  redirect_uri?: string | null;
61561
+ superseded_at?: string | null;
60597
61562
  updated_at?: string;
60598
61563
  user_id: string;
60599
61564
  };
@@ -60604,12 +61569,16 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
60604
61569
  company_name?: string | null;
60605
61570
  connected_at?: string | null;
60606
61571
  created_at?: string;
61572
+ disconnected_at?: string | null;
60607
61573
  environment?: string;
60608
61574
  id?: string;
61575
+ initial_sync_completed_at?: string | null;
61576
+ initial_sync_started_at?: string | null;
60609
61577
  is_active?: boolean;
60610
61578
  label?: string | null;
60611
61579
  office_code?: string | null;
60612
61580
  redirect_uri?: string | null;
61581
+ superseded_at?: string | null;
60613
61582
  updated_at?: string;
60614
61583
  user_id?: string;
60615
61584
  };
@@ -60669,6 +61638,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
60669
61638
  twinfield_customers: {
60670
61639
  Row: {
60671
61640
  address: string | null;
61641
+ administration_code: string;
60672
61642
  city: string | null;
60673
61643
  country: string | null;
60674
61644
  created_at: string;
@@ -60688,6 +61658,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
60688
61658
  };
60689
61659
  Insert: {
60690
61660
  address?: string | null;
61661
+ administration_code?: string;
60691
61662
  city?: string | null;
60692
61663
  country?: string | null;
60693
61664
  created_at?: string;
@@ -60707,6 +61678,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
60707
61678
  };
60708
61679
  Update: {
60709
61680
  address?: string | null;
61681
+ administration_code?: string;
60710
61682
  city?: string | null;
60711
61683
  country?: string | null;
60712
61684
  created_at?: string;
@@ -60920,7 +61892,9 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
60920
61892
  };
60921
61893
  twinfield_invoice_settings: {
60922
61894
  Row: {
61895
+ administration_code: string | null;
60923
61896
  auto_invoice_enabled: boolean;
61897
+ auto_invoice_start_date: string | null;
60924
61898
  auto_invoice_trigger_statuses: string[];
60925
61899
  created_at: string;
60926
61900
  debtor_gl_account: string;
@@ -60934,15 +61908,19 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
60934
61908
  invoice_enabled_fo: boolean;
60935
61909
  invoice_enabled_ho: boolean;
60936
61910
  invoice_enabled_mo: boolean;
61911
+ needs_review: boolean;
60937
61912
  payment_gl_account: string;
60938
61913
  payment_journal_code: string;
61914
+ settings_confirmed_at: string | null;
60939
61915
  updated_at: string;
60940
61916
  user_id: string;
60941
61917
  vat_code_eu_reverse: string | null;
60942
61918
  vat_code_export: string | null;
60943
61919
  };
60944
61920
  Insert: {
61921
+ administration_code?: string | null;
60945
61922
  auto_invoice_enabled?: boolean;
61923
+ auto_invoice_start_date?: string | null;
60946
61924
  auto_invoice_trigger_statuses?: string[];
60947
61925
  created_at?: string;
60948
61926
  debtor_gl_account?: string;
@@ -60956,15 +61934,19 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
60956
61934
  invoice_enabled_fo?: boolean;
60957
61935
  invoice_enabled_ho?: boolean;
60958
61936
  invoice_enabled_mo?: boolean;
61937
+ needs_review?: boolean;
60959
61938
  payment_gl_account?: string;
60960
61939
  payment_journal_code?: string;
61940
+ settings_confirmed_at?: string | null;
60961
61941
  updated_at?: string;
60962
61942
  user_id: string;
60963
61943
  vat_code_eu_reverse?: string | null;
60964
61944
  vat_code_export?: string | null;
60965
61945
  };
60966
61946
  Update: {
61947
+ administration_code?: string | null;
60967
61948
  auto_invoice_enabled?: boolean;
61949
+ auto_invoice_start_date?: string | null;
60968
61950
  auto_invoice_trigger_statuses?: string[];
60969
61951
  created_at?: string;
60970
61952
  debtor_gl_account?: string;
@@ -60978,8 +61960,10 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
60978
61960
  invoice_enabled_fo?: boolean;
60979
61961
  invoice_enabled_ho?: boolean;
60980
61962
  invoice_enabled_mo?: boolean;
61963
+ needs_review?: boolean;
60981
61964
  payment_gl_account?: string;
60982
61965
  payment_journal_code?: string;
61966
+ settings_confirmed_at?: string | null;
60983
61967
  updated_at?: string;
60984
61968
  user_id?: string;
60985
61969
  vat_code_eu_reverse?: string | null;
@@ -61584,114 +62568,6 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
61584
62568
  };
61585
62569
  Relationships: [];
61586
62570
  };
61587
- uren_facturen: {
61588
- Row: {
61589
- created_at: string;
61590
- created_by: string | null;
61591
- customer_id: string | null;
61592
- customer_name: string | null;
61593
- id: string;
61594
- invoice_number: string | null;
61595
- note: string | null;
61596
- status: string;
61597
- total_excl_cents: number;
61598
- total_incl_cents: number;
61599
- updated_at: string;
61600
- vat_cents: number;
61601
- vat_percentage: number;
61602
- werkbon_id: string | null;
61603
- };
61604
- Insert: {
61605
- created_at?: string;
61606
- created_by?: string | null;
61607
- customer_id?: string | null;
61608
- customer_name?: string | null;
61609
- id?: string;
61610
- invoice_number?: string | null;
61611
- note?: string | null;
61612
- status?: string;
61613
- total_excl_cents?: number;
61614
- total_incl_cents?: number;
61615
- updated_at?: string;
61616
- vat_cents?: number;
61617
- vat_percentage?: number;
61618
- werkbon_id?: string | null;
61619
- };
61620
- Update: {
61621
- created_at?: string;
61622
- created_by?: string | null;
61623
- customer_id?: string | null;
61624
- customer_name?: string | null;
61625
- id?: string;
61626
- invoice_number?: string | null;
61627
- note?: string | null;
61628
- status?: string;
61629
- total_excl_cents?: number;
61630
- total_incl_cents?: number;
61631
- updated_at?: string;
61632
- vat_cents?: number;
61633
- vat_percentage?: number;
61634
- werkbon_id?: string | null;
61635
- };
61636
- Relationships: [{
61637
- foreignKeyName: "uren_facturen_customer_id_fkey";
61638
- columns: ["customer_id"];
61639
- isOneToOne: false;
61640
- referencedRelation: "itk_customers";
61641
- referencedColumns: ["id"];
61642
- }, {
61643
- foreignKeyName: "uren_facturen_werkbon_id_fkey";
61644
- columns: ["werkbon_id"];
61645
- isOneToOne: true;
61646
- referencedRelation: "werkbonnen";
61647
- referencedColumns: ["id"];
61648
- }];
61649
- };
61650
- uren_factuur_regels: {
61651
- Row: {
61652
- created_at: string;
61653
- description: string;
61654
- factuur_id: string;
61655
- id: string;
61656
- kind: string | null;
61657
- quantity: number;
61658
- sort_order: number;
61659
- total_cents: number;
61660
- unit: string;
61661
- unit_price_cents: number;
61662
- };
61663
- Insert: {
61664
- created_at?: string;
61665
- description: string;
61666
- factuur_id: string;
61667
- id?: string;
61668
- kind?: string | null;
61669
- quantity?: number;
61670
- sort_order?: number;
61671
- total_cents?: number;
61672
- unit?: string;
61673
- unit_price_cents?: number;
61674
- };
61675
- Update: {
61676
- created_at?: string;
61677
- description?: string;
61678
- factuur_id?: string;
61679
- id?: string;
61680
- kind?: string | null;
61681
- quantity?: number;
61682
- sort_order?: number;
61683
- total_cents?: number;
61684
- unit?: string;
61685
- unit_price_cents?: number;
61686
- };
61687
- Relationships: [{
61688
- foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
61689
- columns: ["factuur_id"];
61690
- isOneToOne: false;
61691
- referencedRelation: "uren_facturen";
61692
- referencedColumns: ["id"];
61693
- }];
61694
- };
61695
62571
  uren_offerte_regels: {
61696
62572
  Row: {
61697
62573
  created_at: string;
@@ -62945,6 +63821,9 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
62945
63821
  scheduled_end_time: string | null;
62946
63822
  scheduled_start_time: string | null;
62947
63823
  sequence_number: number;
63824
+ signature_accepted_at: string | null;
63825
+ signature_by_user_id: string | null;
63826
+ signature_name: string | null;
62948
63827
  source_email_meta: import("../integrations/supabase/types").Json | null;
62949
63828
  source_mailbox_message_id: string | null;
62950
63829
  source_pdf_path: string | null;
@@ -62980,6 +63859,9 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
62980
63859
  scheduled_end_time?: string | null;
62981
63860
  scheduled_start_time?: string | null;
62982
63861
  sequence_number: number;
63862
+ signature_accepted_at?: string | null;
63863
+ signature_by_user_id?: string | null;
63864
+ signature_name?: string | null;
62983
63865
  source_email_meta?: import("../integrations/supabase/types").Json | null;
62984
63866
  source_mailbox_message_id?: string | null;
62985
63867
  source_pdf_path?: string | null;
@@ -63015,6 +63897,9 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
63015
63897
  scheduled_end_time?: string | null;
63016
63898
  scheduled_start_time?: string | null;
63017
63899
  sequence_number?: number;
63900
+ signature_accepted_at?: string | null;
63901
+ signature_by_user_id?: string | null;
63902
+ signature_name?: string | null;
63018
63903
  source_email_meta?: import("../integrations/supabase/types").Json | null;
63019
63904
  source_mailbox_message_id?: string | null;
63020
63905
  source_pdf_path?: string | null;
@@ -63531,6 +64416,114 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
63531
64416
  };
63532
64417
  Relationships: [];
63533
64418
  };
64419
+ uren_facturen: {
64420
+ Row: {
64421
+ created_at: string | null;
64422
+ created_by: string | null;
64423
+ customer_id: string | null;
64424
+ customer_name: string | null;
64425
+ id: string | null;
64426
+ invoice_number: string | null;
64427
+ note: string | null;
64428
+ status: string | null;
64429
+ total_excl_cents: number | null;
64430
+ total_incl_cents: number | null;
64431
+ updated_at: string | null;
64432
+ vat_cents: number | null;
64433
+ vat_percentage: number | null;
64434
+ werkbon_id: string | null;
64435
+ };
64436
+ Insert: {
64437
+ created_at?: string | null;
64438
+ created_by?: string | null;
64439
+ customer_id?: string | null;
64440
+ customer_name?: string | null;
64441
+ id?: string | null;
64442
+ invoice_number?: string | null;
64443
+ note?: string | null;
64444
+ status?: string | null;
64445
+ total_excl_cents?: number | null;
64446
+ total_incl_cents?: number | null;
64447
+ updated_at?: string | null;
64448
+ vat_cents?: number | null;
64449
+ vat_percentage?: number | null;
64450
+ werkbon_id?: never;
64451
+ };
64452
+ Update: {
64453
+ created_at?: string | null;
64454
+ created_by?: string | null;
64455
+ customer_id?: string | null;
64456
+ customer_name?: string | null;
64457
+ id?: string | null;
64458
+ invoice_number?: string | null;
64459
+ note?: string | null;
64460
+ status?: string | null;
64461
+ total_excl_cents?: number | null;
64462
+ total_incl_cents?: number | null;
64463
+ updated_at?: string | null;
64464
+ vat_cents?: number | null;
64465
+ vat_percentage?: number | null;
64466
+ werkbon_id?: never;
64467
+ };
64468
+ Relationships: [{
64469
+ foreignKeyName: "invoices_customer_id_fkey";
64470
+ columns: ["customer_id"];
64471
+ isOneToOne: false;
64472
+ referencedRelation: "itk_customers";
64473
+ referencedColumns: ["id"];
64474
+ }];
64475
+ };
64476
+ uren_factuur_regels: {
64477
+ Row: {
64478
+ created_at: string | null;
64479
+ description: string | null;
64480
+ factuur_id: string | null;
64481
+ id: string | null;
64482
+ kind: string | null;
64483
+ quantity: number | null;
64484
+ sort_order: number | null;
64485
+ total_cents: number | null;
64486
+ unit: string | null;
64487
+ unit_price_cents: number | null;
64488
+ };
64489
+ Insert: {
64490
+ created_at?: string | null;
64491
+ description?: string | null;
64492
+ factuur_id?: string | null;
64493
+ id?: string | null;
64494
+ kind?: string | null;
64495
+ quantity?: number | null;
64496
+ sort_order?: number | null;
64497
+ total_cents?: number | null;
64498
+ unit?: string | null;
64499
+ unit_price_cents?: number | null;
64500
+ };
64501
+ Update: {
64502
+ created_at?: string | null;
64503
+ description?: string | null;
64504
+ factuur_id?: string | null;
64505
+ id?: string | null;
64506
+ kind?: string | null;
64507
+ quantity?: number | null;
64508
+ sort_order?: number | null;
64509
+ total_cents?: number | null;
64510
+ unit?: string | null;
64511
+ unit_price_cents?: number | null;
64512
+ };
64513
+ Relationships: [{
64514
+ foreignKeyName: "invoice_items_invoice_id_fkey";
64515
+ columns: ["factuur_id"];
64516
+ isOneToOne: false;
64517
+ referencedRelation: "invoices";
64518
+ referencedColumns: ["id"];
64519
+ }, {
64520
+ foreignKeyName: "invoice_items_invoice_id_fkey";
64521
+ columns: ["factuur_id"];
64522
+ isOneToOne: false;
64523
+ referencedRelation: "uren_facturen";
64524
+ referencedColumns: ["id"];
64525
+ }];
64526
+ };
63534
64527
  v_external_customers_exact: {
63535
64528
  Row: {
63536
64529
  account_number: string | null;
@@ -64036,6 +65029,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
64036
65029
  gebruiker_id: string | null;
64037
65030
  gebruiker_naam: string;
64038
65031
  gestart_op: string | null;
65032
+ herkomst: string | null;
64039
65033
  id: string;
64040
65034
  idempotentie_sleutel: string | null;
64041
65035
  is_herprint: boolean;
@@ -64156,6 +65150,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
64156
65150
  gebruiker_id: string | null;
64157
65151
  gebruiker_naam: string;
64158
65152
  gestart_op: string | null;
65153
+ herkomst: string | null;
64159
65154
  id: string;
64160
65155
  idempotentie_sleutel: string | null;
64161
65156
  is_herprint: boolean;
@@ -64757,6 +65752,46 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
64757
65752
  Args: never;
64758
65753
  Returns: boolean;
64759
65754
  };
65755
+ invoice_create_from_source: {
65756
+ Args: {
65757
+ _payload?: import("../integrations/supabase/types").Json;
65758
+ _source_id: string;
65759
+ _source_type: string;
65760
+ };
65761
+ Returns: import("../integrations/supabase/types").Json;
65762
+ };
65763
+ invoice_get_billable_lines: {
65764
+ Args: {
65765
+ _invoice_id: string;
65766
+ };
65767
+ Returns: import("../integrations/supabase/types").Json;
65768
+ };
65769
+ invoice_get_for_source: {
65770
+ Args: {
65771
+ _source_id: string;
65772
+ _source_type: string;
65773
+ };
65774
+ Returns: import("../integrations/supabase/types").Json;
65775
+ };
65776
+ invoice_get_summary: {
65777
+ Args: {
65778
+ _invoice_id: string;
65779
+ };
65780
+ Returns: import("../integrations/supabase/types").Json;
65781
+ };
65782
+ invoice_list_sources: {
65783
+ Args: {
65784
+ _limit?: number;
65785
+ _source_type?: string;
65786
+ };
65787
+ Returns: import("../integrations/supabase/types").Json;
65788
+ };
65789
+ invoice_recalc_totals: {
65790
+ Args: {
65791
+ _invoice_id: string;
65792
+ };
65793
+ Returns: import("../integrations/supabase/types").Json;
65794
+ };
64760
65795
  is_authenticated: {
64761
65796
  Args: never;
64762
65797
  Returns: boolean;
@@ -64825,6 +65860,29 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
64825
65860
  roles: string[];
64826
65861
  }[];
64827
65862
  };
65863
+ list_monteur_absences: {
65864
+ Args: {
65865
+ _from: string;
65866
+ _to: string;
65867
+ };
65868
+ Returns: {
65869
+ absence_date: string;
65870
+ end_time: string;
65871
+ full_day: boolean;
65872
+ kind: string;
65873
+ monteur_id: string;
65874
+ start_time: string;
65875
+ }[];
65876
+ };
65877
+ list_monteurs: {
65878
+ Args: never;
65879
+ Returns: {
65880
+ avatar_url: string;
65881
+ display_name: string;
65882
+ email: string;
65883
+ id: string;
65884
+ }[];
65885
+ };
64828
65886
  list_my_planning_items: {
64829
65887
  Args: {
64830
65888
  _from: string;
@@ -65236,6 +66294,23 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
65236
66294
  };
65237
66295
  Returns: string;
65238
66296
  };
66297
+ logistics_floriday_finish_push_v2: {
66298
+ Args: {
66299
+ _error?: string;
66300
+ _error_code?: string;
66301
+ _fulfillment_order_id?: string;
66302
+ _gateway_status?: number;
66303
+ _id: string;
66304
+ _max_age_hours?: number;
66305
+ _max_attempts?: number;
66306
+ _ok: boolean;
66307
+ _permanent?: boolean;
66308
+ _response?: import("../integrations/supabase/types").Json;
66309
+ _revision: number;
66310
+ _sent_hash?: string;
66311
+ };
66312
+ Returns: string;
66313
+ };
65239
66314
  logistics_floriday_prune_pushes: {
65240
66315
  Args: {
65241
66316
  _days?: number;
@@ -65778,6 +66853,13 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
65778
66853
  isSetofReturn: false;
65779
66854
  };
65780
66855
  };
66856
+ pick_cleanup_maintenance: {
66857
+ Args: {
66858
+ _heartbeat_hours?: number;
66859
+ _log_days?: number;
66860
+ };
66861
+ Returns: import("../integrations/supabase/types").Json;
66862
+ };
65781
66863
  pick_complete_print: {
65782
66864
  Args: {
65783
66865
  _printer_id: string;
@@ -65829,6 +66911,14 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
65829
66911
  Args: never;
65830
66912
  Returns: string;
65831
66913
  };
66914
+ pick_day_counts: {
66915
+ Args: {
66916
+ _pick_day?: string;
66917
+ _screen_id?: string;
66918
+ _station_id?: string;
66919
+ };
66920
+ Returns: import("../integrations/supabase/types").Json;
66921
+ };
65832
66922
  pick_document_layout_data: {
65833
66923
  Args: {
65834
66924
  _layout_id: string;
@@ -65866,6 +66956,14 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
65866
66956
  };
65867
66957
  Returns: undefined;
65868
66958
  };
66959
+ pick_reprint_document: {
66960
+ Args: {
66961
+ _queue_item_id: string;
66962
+ _session_id: string;
66963
+ _throttle_seconds?: number;
66964
+ };
66965
+ Returns: string;
66966
+ };
65869
66967
  pick_reset_print: {
65870
66968
  Args: {
65871
66969
  _queue_item_id: string;
@@ -65931,6 +67029,12 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
65931
67029
  };
65932
67030
  Returns: string;
65933
67031
  };
67032
+ pick_sync_queue_throttled: {
67033
+ Args: {
67034
+ _min_seconds?: number;
67035
+ };
67036
+ Returns: import("../integrations/supabase/types").Json;
67037
+ };
65934
67038
  pickstation_get_orders_raw: {
65935
67039
  Args: never;
65936
67040
  Returns: import("../integrations/supabase/types").Json;
@@ -66076,6 +67180,12 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
66076
67180
  };
66077
67181
  Returns: boolean;
66078
67182
  };
67183
+ release_stale_order_invoice_links: {
67184
+ Args: {
67185
+ _minutes?: number;
67186
+ };
67187
+ Returns: number;
67188
+ };
66079
67189
  reorder_customer_price_groups: {
66080
67190
  Args: {
66081
67191
  _ids: string[];
@@ -66594,6 +67704,20 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
66594
67704
  };
66595
67705
  Returns: undefined;
66596
67706
  };
67707
+ twinfield_deactivate_connection: {
67708
+ Args: {
67709
+ p_connection_id: string;
67710
+ p_user_id: string;
67711
+ };
67712
+ Returns: import("../integrations/supabase/types").Json;
67713
+ };
67714
+ twinfield_handle_administration_change: {
67715
+ Args: {
67716
+ _administration_code: string;
67717
+ _user_id: string;
67718
+ };
67719
+ Returns: undefined;
67720
+ };
66597
67721
  twinfield_prune_push_queue: {
66598
67722
  Args: never;
66599
67723
  Returns: number;
@@ -66613,10 +67737,11 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
66613
67737
  p_company_name?: string;
66614
67738
  p_environment: string;
66615
67739
  p_office_code?: string;
67740
+ p_reset_sync?: boolean;
66616
67741
  p_status?: string;
66617
67742
  p_user_id: string;
66618
67743
  };
66619
- Returns: string;
67744
+ Returns: import("../integrations/supabase/types").Json;
66620
67745
  };
66621
67746
  upsert_auto_fulfillment_log: {
66622
67747
  Args: {
@@ -69444,6 +70569,42 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
69444
70569
  };
69445
70570
  Relationships: [];
69446
70571
  };
70572
+ document_bronregels: {
70573
+ Row: {
70574
+ bron: string;
70575
+ created_at: string;
70576
+ documenttype: string;
70577
+ herkomst: string;
70578
+ id: string;
70579
+ layout_id: string | null;
70580
+ updated_at: string;
70581
+ };
70582
+ Insert: {
70583
+ bron?: string;
70584
+ created_at?: string;
70585
+ documenttype: string;
70586
+ herkomst: string;
70587
+ id?: string;
70588
+ layout_id?: string | null;
70589
+ updated_at?: string;
70590
+ };
70591
+ Update: {
70592
+ bron?: string;
70593
+ created_at?: string;
70594
+ documenttype?: string;
70595
+ herkomst?: string;
70596
+ id?: string;
70597
+ layout_id?: string | null;
70598
+ updated_at?: string;
70599
+ };
70600
+ Relationships: [{
70601
+ foreignKeyName: "document_bronregels_layout_id_fkey";
70602
+ columns: ["layout_id"];
70603
+ isOneToOne: false;
70604
+ referencedRelation: "document_layouts";
70605
+ referencedColumns: ["id"];
70606
+ }];
70607
+ };
69447
70608
  document_formaat_printers: {
69448
70609
  Row: {
69449
70610
  created_at: string;
@@ -69721,6 +70882,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
69721
70882
  Row: {
69722
70883
  actief: boolean;
69723
70884
  breedte_mm: number;
70885
+ bron: string;
69724
70886
  config: import("../integrations/supabase/types").Json;
69725
70887
  created_at: string;
69726
70888
  created_by: string | null;
@@ -69738,12 +70900,14 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
69738
70900
  orientatie: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
69739
70901
  page_settings: import("../integrations/supabase/types").Json;
69740
70902
  papierformaat: string;
70903
+ systeem: boolean;
69741
70904
  thumbnail_url: string | null;
69742
70905
  updated_at: string;
69743
70906
  };
69744
70907
  Insert: {
69745
70908
  actief?: boolean;
69746
70909
  breedte_mm?: number;
70910
+ bron?: string;
69747
70911
  config?: import("../integrations/supabase/types").Json;
69748
70912
  created_at?: string;
69749
70913
  created_by?: string | null;
@@ -69761,12 +70925,14 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
69761
70925
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
69762
70926
  page_settings?: import("../integrations/supabase/types").Json;
69763
70927
  papierformaat?: string;
70928
+ systeem?: boolean;
69764
70929
  thumbnail_url?: string | null;
69765
70930
  updated_at?: string;
69766
70931
  };
69767
70932
  Update: {
69768
70933
  actief?: boolean;
69769
70934
  breedte_mm?: number;
70935
+ bron?: string;
69770
70936
  config?: import("../integrations/supabase/types").Json;
69771
70937
  created_at?: string;
69772
70938
  created_by?: string | null;
@@ -69784,11 +70950,48 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
69784
70950
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
69785
70951
  page_settings?: import("../integrations/supabase/types").Json;
69786
70952
  papierformaat?: string;
70953
+ systeem?: boolean;
69787
70954
  thumbnail_url?: string | null;
69788
70955
  updated_at?: string;
69789
70956
  };
69790
70957
  Relationships: [];
69791
70958
  };
70959
+ document_werkplek_printers: {
70960
+ Row: {
70961
+ created_at: string;
70962
+ documenttype: string;
70963
+ id: string;
70964
+ papierformaat: string | null;
70965
+ printer_id: string | null;
70966
+ updated_at: string;
70967
+ werkplek: string;
70968
+ };
70969
+ Insert: {
70970
+ created_at?: string;
70971
+ documenttype: string;
70972
+ id?: string;
70973
+ papierformaat?: string | null;
70974
+ printer_id?: string | null;
70975
+ updated_at?: string;
70976
+ werkplek: string;
70977
+ };
70978
+ Update: {
70979
+ created_at?: string;
70980
+ documenttype?: string;
70981
+ id?: string;
70982
+ papierformaat?: string | null;
70983
+ printer_id?: string | null;
70984
+ updated_at?: string;
70985
+ werkplek?: string;
70986
+ };
70987
+ Relationships: [{
70988
+ foreignKeyName: "document_werkplek_printers_printer_id_fkey";
70989
+ columns: ["printer_id"];
70990
+ isOneToOne: false;
70991
+ referencedRelation: "printers";
70992
+ referencedColumns: ["id"];
70993
+ }];
70994
+ };
69792
70995
  email_auth_connections: {
69793
70996
  Row: {
69794
70997
  access_token_encrypted: string | null;
@@ -71730,42 +72933,6 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
71730
72933
  };
71731
72934
  Relationships: [];
71732
72935
  };
71733
- facturen: {
71734
- Row: {
71735
- bedrag_incl_btw: number;
71736
- created_at: string;
71737
- datum: string;
71738
- factuurnummer: string;
71739
- id: string;
71740
- klantnaam: string;
71741
- status: string;
71742
- updated_at: string;
71743
- user_id: string;
71744
- };
71745
- Insert: {
71746
- bedrag_incl_btw: number;
71747
- created_at?: string;
71748
- datum?: string;
71749
- factuurnummer: string;
71750
- id?: string;
71751
- klantnaam: string;
71752
- status?: string;
71753
- updated_at?: string;
71754
- user_id?: string;
71755
- };
71756
- Update: {
71757
- bedrag_incl_btw?: number;
71758
- created_at?: string;
71759
- datum?: string;
71760
- factuurnummer?: string;
71761
- id?: string;
71762
- klantnaam?: string;
71763
- status?: string;
71764
- updated_at?: string;
71765
- user_id?: string;
71766
- };
71767
- Relationships: [];
71768
- };
71769
72936
  floricode_connection_settings: {
71770
72937
  Row: {
71771
72938
  catalog_key: string | null;
@@ -74070,8 +75237,63 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
74070
75237
  };
74071
75238
  Relationships: [];
74072
75239
  };
75240
+ invoice_items: {
75241
+ Row: {
75242
+ created_at: string;
75243
+ description: string;
75244
+ id: string;
75245
+ invoice_id: string;
75246
+ kind: string;
75247
+ quantity: number;
75248
+ sort_order: number;
75249
+ source_line_ref: string | null;
75250
+ total_cents: number;
75251
+ unit: string;
75252
+ unit_price_cents: number;
75253
+ };
75254
+ Insert: {
75255
+ created_at?: string;
75256
+ description?: string;
75257
+ id?: string;
75258
+ invoice_id: string;
75259
+ kind?: string;
75260
+ quantity?: number;
75261
+ sort_order?: number;
75262
+ source_line_ref?: string | null;
75263
+ total_cents?: number;
75264
+ unit?: string;
75265
+ unit_price_cents?: number;
75266
+ };
75267
+ Update: {
75268
+ created_at?: string;
75269
+ description?: string;
75270
+ id?: string;
75271
+ invoice_id?: string;
75272
+ kind?: string;
75273
+ quantity?: number;
75274
+ sort_order?: number;
75275
+ source_line_ref?: string | null;
75276
+ total_cents?: number;
75277
+ unit?: string;
75278
+ unit_price_cents?: number;
75279
+ };
75280
+ Relationships: [{
75281
+ foreignKeyName: "invoice_items_invoice_id_fkey";
75282
+ columns: ["invoice_id"];
75283
+ isOneToOne: false;
75284
+ referencedRelation: "invoices";
75285
+ referencedColumns: ["id"];
75286
+ }, {
75287
+ foreignKeyName: "invoice_items_invoice_id_fkey";
75288
+ columns: ["invoice_id"];
75289
+ isOneToOne: false;
75290
+ referencedRelation: "uren_facturen";
75291
+ referencedColumns: ["id"];
75292
+ }];
75293
+ };
74073
75294
  invoice_post_idempotency: {
74074
75295
  Row: {
75296
+ administration_code: string;
74075
75297
  client_request_id: string;
74076
75298
  completed_at: string | null;
74077
75299
  created_at: string;
@@ -74081,6 +75303,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
74081
75303
  user_id: string;
74082
75304
  };
74083
75305
  Insert: {
75306
+ administration_code?: string;
74084
75307
  client_request_id: string;
74085
75308
  completed_at?: string | null;
74086
75309
  created_at?: string;
@@ -74090,6 +75313,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
74090
75313
  user_id: string;
74091
75314
  };
74092
75315
  Update: {
75316
+ administration_code?: string;
74093
75317
  client_request_id?: string;
74094
75318
  completed_at?: string | null;
74095
75319
  created_at?: string;
@@ -74295,6 +75519,75 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
74295
75519
  };
74296
75520
  Relationships: [];
74297
75521
  };
75522
+ invoices: {
75523
+ Row: {
75524
+ created_at: string;
75525
+ created_by: string | null;
75526
+ customer_id: string | null;
75527
+ customer_name: string | null;
75528
+ due_date: string | null;
75529
+ id: string;
75530
+ invoice_date: string;
75531
+ invoice_number: string | null;
75532
+ note: string | null;
75533
+ source_number: string | null;
75534
+ source_ref: string | null;
75535
+ source_type: string;
75536
+ status: string;
75537
+ subtotal_cents: number;
75538
+ total_cents: number;
75539
+ updated_at: string;
75540
+ vat_cents: number;
75541
+ vat_rate: number;
75542
+ };
75543
+ Insert: {
75544
+ created_at?: string;
75545
+ created_by?: string | null;
75546
+ customer_id?: string | null;
75547
+ customer_name?: string | null;
75548
+ due_date?: string | null;
75549
+ id?: string;
75550
+ invoice_date?: string;
75551
+ invoice_number?: string | null;
75552
+ note?: string | null;
75553
+ source_number?: string | null;
75554
+ source_ref?: string | null;
75555
+ source_type?: string;
75556
+ status?: string;
75557
+ subtotal_cents?: number;
75558
+ total_cents?: number;
75559
+ updated_at?: string;
75560
+ vat_cents?: number;
75561
+ vat_rate?: number;
75562
+ };
75563
+ Update: {
75564
+ created_at?: string;
75565
+ created_by?: string | null;
75566
+ customer_id?: string | null;
75567
+ customer_name?: string | null;
75568
+ due_date?: string | null;
75569
+ id?: string;
75570
+ invoice_date?: string;
75571
+ invoice_number?: string | null;
75572
+ note?: string | null;
75573
+ source_number?: string | null;
75574
+ source_ref?: string | null;
75575
+ source_type?: string;
75576
+ status?: string;
75577
+ subtotal_cents?: number;
75578
+ total_cents?: number;
75579
+ updated_at?: string;
75580
+ vat_cents?: number;
75581
+ vat_rate?: number;
75582
+ };
75583
+ Relationships: [{
75584
+ foreignKeyName: "invoices_customer_id_fkey";
75585
+ columns: ["customer_id"];
75586
+ isOneToOne: false;
75587
+ referencedRelation: "itk_customers";
75588
+ referencedColumns: ["id"];
75589
+ }];
75590
+ };
74298
75591
  itk_contact_persons: {
74299
75592
  Row: {
74300
75593
  created_at: string;
@@ -75642,6 +76935,9 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
75642
76935
  id: string;
75643
76936
  last_error: string | null;
75644
76937
  last_error_at: string | null;
76938
+ last_error_code: string | null;
76939
+ last_gateway_status: number | null;
76940
+ last_response: import("../integrations/supabase/types").Json | null;
75645
76941
  last_sent_hash: string | null;
75646
76942
  locked_by: string | null;
75647
76943
  locked_until: string | null;
@@ -75662,6 +76958,9 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
75662
76958
  id?: string;
75663
76959
  last_error?: string | null;
75664
76960
  last_error_at?: string | null;
76961
+ last_error_code?: string | null;
76962
+ last_gateway_status?: number | null;
76963
+ last_response?: import("../integrations/supabase/types").Json | null;
75665
76964
  last_sent_hash?: string | null;
75666
76965
  locked_by?: string | null;
75667
76966
  locked_until?: string | null;
@@ -75682,6 +76981,9 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
75682
76981
  id?: string;
75683
76982
  last_error?: string | null;
75684
76983
  last_error_at?: string | null;
76984
+ last_error_code?: string | null;
76985
+ last_gateway_status?: number | null;
76986
+ last_response?: import("../integrations/supabase/types").Json | null;
75685
76987
  last_sent_hash?: string | null;
75686
76988
  locked_by?: string | null;
75687
76989
  locked_until?: string | null;
@@ -77235,6 +78537,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
77235
78537
  enforce: boolean;
77236
78538
  is_active: boolean;
77237
78539
  last_seen_at: string;
78540
+ missing_count: number;
77238
78541
  module_id: string;
77239
78542
  name: string;
77240
78543
  shell_id: string | null;
@@ -77245,6 +78548,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
77245
78548
  enforce?: boolean;
77246
78549
  is_active?: boolean;
77247
78550
  last_seen_at?: string;
78551
+ missing_count?: number;
77248
78552
  module_id: string;
77249
78553
  name: string;
77250
78554
  shell_id?: string | null;
@@ -77255,6 +78559,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
77255
78559
  enforce?: boolean;
77256
78560
  is_active?: boolean;
77257
78561
  last_seen_at?: string;
78562
+ missing_count?: number;
77258
78563
  module_id?: string;
77259
78564
  name?: string;
77260
78565
  shell_id?: string | null;
@@ -78254,6 +79559,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
78254
79559
  };
78255
79560
  order_invoice_links: {
78256
79561
  Row: {
79562
+ administration_code: string | null;
78257
79563
  attempts: number;
78258
79564
  created_at: string;
78259
79565
  error_message: string | null;
@@ -78266,6 +79572,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
78266
79572
  updated_at: string;
78267
79573
  };
78268
79574
  Insert: {
79575
+ administration_code?: string | null;
78269
79576
  attempts?: number;
78270
79577
  created_at?: string;
78271
79578
  error_message?: string | null;
@@ -78278,6 +79585,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
78278
79585
  updated_at?: string;
78279
79586
  };
78280
79587
  Update: {
79588
+ administration_code?: string | null;
78281
79589
  attempts?: number;
78282
79590
  created_at?: string;
78283
79591
  error_message?: string | null;
@@ -79443,6 +80751,27 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
79443
80751
  referencedColumns: ["id"];
79444
80752
  }];
79445
80753
  };
80754
+ pick_sync_state: {
80755
+ Row: {
80756
+ id: boolean;
80757
+ last_cleanup_at: string | null;
80758
+ last_sync_at: string | null;
80759
+ updated_at: string;
80760
+ };
80761
+ Insert: {
80762
+ id?: boolean;
80763
+ last_cleanup_at?: string | null;
80764
+ last_sync_at?: string | null;
80765
+ updated_at?: string;
80766
+ };
80767
+ Update: {
80768
+ id?: boolean;
80769
+ last_cleanup_at?: string | null;
80770
+ last_sync_at?: string | null;
80771
+ updated_at?: string;
80772
+ };
80773
+ Relationships: [];
80774
+ };
79446
80775
  pick_task_document_types: {
79447
80776
  Row: {
79448
80777
  created_at: string;
@@ -79725,6 +81054,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
79725
81054
  gebruiker_id: string | null;
79726
81055
  gebruiker_naam: string;
79727
81056
  gestart_op: string | null;
81057
+ herkomst: string | null;
79728
81058
  id: string;
79729
81059
  idempotentie_sleutel: string | null;
79730
81060
  is_herprint: boolean;
@@ -79754,6 +81084,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
79754
81084
  gebruiker_id?: string | null;
79755
81085
  gebruiker_naam?: string;
79756
81086
  gestart_op?: string | null;
81087
+ herkomst?: string | null;
79757
81088
  id?: string;
79758
81089
  idempotentie_sleutel?: string | null;
79759
81090
  is_herprint?: boolean;
@@ -79783,6 +81114,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
79783
81114
  gebruiker_id?: string | null;
79784
81115
  gebruiker_naam?: string;
79785
81116
  gestart_op?: string | null;
81117
+ herkomst?: string | null;
79786
81118
  id?: string;
79787
81119
  idempotentie_sleutel?: string | null;
79788
81120
  is_herprint?: boolean;
@@ -82787,12 +84119,16 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
82787
84119
  company_name: string | null;
82788
84120
  connected_at: string | null;
82789
84121
  created_at: string;
84122
+ disconnected_at: string | null;
82790
84123
  environment: string;
82791
84124
  id: string;
84125
+ initial_sync_completed_at: string | null;
84126
+ initial_sync_started_at: string | null;
82792
84127
  is_active: boolean;
82793
84128
  label: string | null;
82794
84129
  office_code: string | null;
82795
84130
  redirect_uri: string | null;
84131
+ superseded_at: string | null;
82796
84132
  updated_at: string;
82797
84133
  user_id: string;
82798
84134
  };
@@ -82803,12 +84139,16 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
82803
84139
  company_name?: string | null;
82804
84140
  connected_at?: string | null;
82805
84141
  created_at?: string;
84142
+ disconnected_at?: string | null;
82806
84143
  environment: string;
82807
84144
  id?: string;
84145
+ initial_sync_completed_at?: string | null;
84146
+ initial_sync_started_at?: string | null;
82808
84147
  is_active?: boolean;
82809
84148
  label?: string | null;
82810
84149
  office_code?: string | null;
82811
84150
  redirect_uri?: string | null;
84151
+ superseded_at?: string | null;
82812
84152
  updated_at?: string;
82813
84153
  user_id: string;
82814
84154
  };
@@ -82819,12 +84159,16 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
82819
84159
  company_name?: string | null;
82820
84160
  connected_at?: string | null;
82821
84161
  created_at?: string;
84162
+ disconnected_at?: string | null;
82822
84163
  environment?: string;
82823
84164
  id?: string;
84165
+ initial_sync_completed_at?: string | null;
84166
+ initial_sync_started_at?: string | null;
82824
84167
  is_active?: boolean;
82825
84168
  label?: string | null;
82826
84169
  office_code?: string | null;
82827
84170
  redirect_uri?: string | null;
84171
+ superseded_at?: string | null;
82828
84172
  updated_at?: string;
82829
84173
  user_id?: string;
82830
84174
  };
@@ -82884,6 +84228,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
82884
84228
  twinfield_customers: {
82885
84229
  Row: {
82886
84230
  address: string | null;
84231
+ administration_code: string;
82887
84232
  city: string | null;
82888
84233
  country: string | null;
82889
84234
  created_at: string;
@@ -82903,6 +84248,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
82903
84248
  };
82904
84249
  Insert: {
82905
84250
  address?: string | null;
84251
+ administration_code?: string;
82906
84252
  city?: string | null;
82907
84253
  country?: string | null;
82908
84254
  created_at?: string;
@@ -82922,6 +84268,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
82922
84268
  };
82923
84269
  Update: {
82924
84270
  address?: string | null;
84271
+ administration_code?: string;
82925
84272
  city?: string | null;
82926
84273
  country?: string | null;
82927
84274
  created_at?: string;
@@ -83135,7 +84482,9 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
83135
84482
  };
83136
84483
  twinfield_invoice_settings: {
83137
84484
  Row: {
84485
+ administration_code: string | null;
83138
84486
  auto_invoice_enabled: boolean;
84487
+ auto_invoice_start_date: string | null;
83139
84488
  auto_invoice_trigger_statuses: string[];
83140
84489
  created_at: string;
83141
84490
  debtor_gl_account: string;
@@ -83149,15 +84498,19 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
83149
84498
  invoice_enabled_fo: boolean;
83150
84499
  invoice_enabled_ho: boolean;
83151
84500
  invoice_enabled_mo: boolean;
84501
+ needs_review: boolean;
83152
84502
  payment_gl_account: string;
83153
84503
  payment_journal_code: string;
84504
+ settings_confirmed_at: string | null;
83154
84505
  updated_at: string;
83155
84506
  user_id: string;
83156
84507
  vat_code_eu_reverse: string | null;
83157
84508
  vat_code_export: string | null;
83158
84509
  };
83159
84510
  Insert: {
84511
+ administration_code?: string | null;
83160
84512
  auto_invoice_enabled?: boolean;
84513
+ auto_invoice_start_date?: string | null;
83161
84514
  auto_invoice_trigger_statuses?: string[];
83162
84515
  created_at?: string;
83163
84516
  debtor_gl_account?: string;
@@ -83171,15 +84524,19 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
83171
84524
  invoice_enabled_fo?: boolean;
83172
84525
  invoice_enabled_ho?: boolean;
83173
84526
  invoice_enabled_mo?: boolean;
84527
+ needs_review?: boolean;
83174
84528
  payment_gl_account?: string;
83175
84529
  payment_journal_code?: string;
84530
+ settings_confirmed_at?: string | null;
83176
84531
  updated_at?: string;
83177
84532
  user_id: string;
83178
84533
  vat_code_eu_reverse?: string | null;
83179
84534
  vat_code_export?: string | null;
83180
84535
  };
83181
84536
  Update: {
84537
+ administration_code?: string | null;
83182
84538
  auto_invoice_enabled?: boolean;
84539
+ auto_invoice_start_date?: string | null;
83183
84540
  auto_invoice_trigger_statuses?: string[];
83184
84541
  created_at?: string;
83185
84542
  debtor_gl_account?: string;
@@ -83193,8 +84550,10 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
83193
84550
  invoice_enabled_fo?: boolean;
83194
84551
  invoice_enabled_ho?: boolean;
83195
84552
  invoice_enabled_mo?: boolean;
84553
+ needs_review?: boolean;
83196
84554
  payment_gl_account?: string;
83197
84555
  payment_journal_code?: string;
84556
+ settings_confirmed_at?: string | null;
83198
84557
  updated_at?: string;
83199
84558
  user_id?: string;
83200
84559
  vat_code_eu_reverse?: string | null;
@@ -83799,114 +85158,6 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
83799
85158
  };
83800
85159
  Relationships: [];
83801
85160
  };
83802
- uren_facturen: {
83803
- Row: {
83804
- created_at: string;
83805
- created_by: string | null;
83806
- customer_id: string | null;
83807
- customer_name: string | null;
83808
- id: string;
83809
- invoice_number: string | null;
83810
- note: string | null;
83811
- status: string;
83812
- total_excl_cents: number;
83813
- total_incl_cents: number;
83814
- updated_at: string;
83815
- vat_cents: number;
83816
- vat_percentage: number;
83817
- werkbon_id: string | null;
83818
- };
83819
- Insert: {
83820
- created_at?: string;
83821
- created_by?: string | null;
83822
- customer_id?: string | null;
83823
- customer_name?: string | null;
83824
- id?: string;
83825
- invoice_number?: string | null;
83826
- note?: string | null;
83827
- status?: string;
83828
- total_excl_cents?: number;
83829
- total_incl_cents?: number;
83830
- updated_at?: string;
83831
- vat_cents?: number;
83832
- vat_percentage?: number;
83833
- werkbon_id?: string | null;
83834
- };
83835
- Update: {
83836
- created_at?: string;
83837
- created_by?: string | null;
83838
- customer_id?: string | null;
83839
- customer_name?: string | null;
83840
- id?: string;
83841
- invoice_number?: string | null;
83842
- note?: string | null;
83843
- status?: string;
83844
- total_excl_cents?: number;
83845
- total_incl_cents?: number;
83846
- updated_at?: string;
83847
- vat_cents?: number;
83848
- vat_percentage?: number;
83849
- werkbon_id?: string | null;
83850
- };
83851
- Relationships: [{
83852
- foreignKeyName: "uren_facturen_customer_id_fkey";
83853
- columns: ["customer_id"];
83854
- isOneToOne: false;
83855
- referencedRelation: "itk_customers";
83856
- referencedColumns: ["id"];
83857
- }, {
83858
- foreignKeyName: "uren_facturen_werkbon_id_fkey";
83859
- columns: ["werkbon_id"];
83860
- isOneToOne: true;
83861
- referencedRelation: "werkbonnen";
83862
- referencedColumns: ["id"];
83863
- }];
83864
- };
83865
- uren_factuur_regels: {
83866
- Row: {
83867
- created_at: string;
83868
- description: string;
83869
- factuur_id: string;
83870
- id: string;
83871
- kind: string | null;
83872
- quantity: number;
83873
- sort_order: number;
83874
- total_cents: number;
83875
- unit: string;
83876
- unit_price_cents: number;
83877
- };
83878
- Insert: {
83879
- created_at?: string;
83880
- description: string;
83881
- factuur_id: string;
83882
- id?: string;
83883
- kind?: string | null;
83884
- quantity?: number;
83885
- sort_order?: number;
83886
- total_cents?: number;
83887
- unit?: string;
83888
- unit_price_cents?: number;
83889
- };
83890
- Update: {
83891
- created_at?: string;
83892
- description?: string;
83893
- factuur_id?: string;
83894
- id?: string;
83895
- kind?: string | null;
83896
- quantity?: number;
83897
- sort_order?: number;
83898
- total_cents?: number;
83899
- unit?: string;
83900
- unit_price_cents?: number;
83901
- };
83902
- Relationships: [{
83903
- foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
83904
- columns: ["factuur_id"];
83905
- isOneToOne: false;
83906
- referencedRelation: "uren_facturen";
83907
- referencedColumns: ["id"];
83908
- }];
83909
- };
83910
85161
  uren_offerte_regels: {
83911
85162
  Row: {
83912
85163
  created_at: string;
@@ -85160,6 +86411,9 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
85160
86411
  scheduled_end_time: string | null;
85161
86412
  scheduled_start_time: string | null;
85162
86413
  sequence_number: number;
86414
+ signature_accepted_at: string | null;
86415
+ signature_by_user_id: string | null;
86416
+ signature_name: string | null;
85163
86417
  source_email_meta: import("../integrations/supabase/types").Json | null;
85164
86418
  source_mailbox_message_id: string | null;
85165
86419
  source_pdf_path: string | null;
@@ -85195,6 +86449,9 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
85195
86449
  scheduled_end_time?: string | null;
85196
86450
  scheduled_start_time?: string | null;
85197
86451
  sequence_number: number;
86452
+ signature_accepted_at?: string | null;
86453
+ signature_by_user_id?: string | null;
86454
+ signature_name?: string | null;
85198
86455
  source_email_meta?: import("../integrations/supabase/types").Json | null;
85199
86456
  source_mailbox_message_id?: string | null;
85200
86457
  source_pdf_path?: string | null;
@@ -85230,6 +86487,9 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
85230
86487
  scheduled_end_time?: string | null;
85231
86488
  scheduled_start_time?: string | null;
85232
86489
  sequence_number?: number;
86490
+ signature_accepted_at?: string | null;
86491
+ signature_by_user_id?: string | null;
86492
+ signature_name?: string | null;
85233
86493
  source_email_meta?: import("../integrations/supabase/types").Json | null;
85234
86494
  source_mailbox_message_id?: string | null;
85235
86495
  source_pdf_path?: string | null;
@@ -85746,6 +87006,114 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
85746
87006
  };
85747
87007
  Relationships: [];
85748
87008
  };
87009
+ uren_facturen: {
87010
+ Row: {
87011
+ created_at: string | null;
87012
+ created_by: string | null;
87013
+ customer_id: string | null;
87014
+ customer_name: string | null;
87015
+ id: string | null;
87016
+ invoice_number: string | null;
87017
+ note: string | null;
87018
+ status: string | null;
87019
+ total_excl_cents: number | null;
87020
+ total_incl_cents: number | null;
87021
+ updated_at: string | null;
87022
+ vat_cents: number | null;
87023
+ vat_percentage: number | null;
87024
+ werkbon_id: string | null;
87025
+ };
87026
+ Insert: {
87027
+ created_at?: string | null;
87028
+ created_by?: string | null;
87029
+ customer_id?: string | null;
87030
+ customer_name?: string | null;
87031
+ id?: string | null;
87032
+ invoice_number?: string | null;
87033
+ note?: string | null;
87034
+ status?: string | null;
87035
+ total_excl_cents?: number | null;
87036
+ total_incl_cents?: number | null;
87037
+ updated_at?: string | null;
87038
+ vat_cents?: number | null;
87039
+ vat_percentage?: number | null;
87040
+ werkbon_id?: never;
87041
+ };
87042
+ Update: {
87043
+ created_at?: string | null;
87044
+ created_by?: string | null;
87045
+ customer_id?: string | null;
87046
+ customer_name?: string | null;
87047
+ id?: string | null;
87048
+ invoice_number?: string | null;
87049
+ note?: string | null;
87050
+ status?: string | null;
87051
+ total_excl_cents?: number | null;
87052
+ total_incl_cents?: number | null;
87053
+ updated_at?: string | null;
87054
+ vat_cents?: number | null;
87055
+ vat_percentage?: number | null;
87056
+ werkbon_id?: never;
87057
+ };
87058
+ Relationships: [{
87059
+ foreignKeyName: "invoices_customer_id_fkey";
87060
+ columns: ["customer_id"];
87061
+ isOneToOne: false;
87062
+ referencedRelation: "itk_customers";
87063
+ referencedColumns: ["id"];
87064
+ }];
87065
+ };
87066
+ uren_factuur_regels: {
87067
+ Row: {
87068
+ created_at: string | null;
87069
+ description: string | null;
87070
+ factuur_id: string | null;
87071
+ id: string | null;
87072
+ kind: string | null;
87073
+ quantity: number | null;
87074
+ sort_order: number | null;
87075
+ total_cents: number | null;
87076
+ unit: string | null;
87077
+ unit_price_cents: number | null;
87078
+ };
87079
+ Insert: {
87080
+ created_at?: string | null;
87081
+ description?: string | null;
87082
+ factuur_id?: string | null;
87083
+ id?: string | null;
87084
+ kind?: string | null;
87085
+ quantity?: number | null;
87086
+ sort_order?: number | null;
87087
+ total_cents?: number | null;
87088
+ unit?: string | null;
87089
+ unit_price_cents?: number | null;
87090
+ };
87091
+ Update: {
87092
+ created_at?: string | null;
87093
+ description?: string | null;
87094
+ factuur_id?: string | null;
87095
+ id?: string | null;
87096
+ kind?: string | null;
87097
+ quantity?: number | null;
87098
+ sort_order?: number | null;
87099
+ total_cents?: number | null;
87100
+ unit?: string | null;
87101
+ unit_price_cents?: number | null;
87102
+ };
87103
+ Relationships: [{
87104
+ foreignKeyName: "invoice_items_invoice_id_fkey";
87105
+ columns: ["factuur_id"];
87106
+ isOneToOne: false;
87107
+ referencedRelation: "invoices";
87108
+ referencedColumns: ["id"];
87109
+ }, {
87110
+ foreignKeyName: "invoice_items_invoice_id_fkey";
87111
+ columns: ["factuur_id"];
87112
+ isOneToOne: false;
87113
+ referencedRelation: "uren_facturen";
87114
+ referencedColumns: ["id"];
87115
+ }];
87116
+ };
85749
87117
  v_external_customers_exact: {
85750
87118
  Row: {
85751
87119
  account_number: string | null;
@@ -86251,6 +87619,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
86251
87619
  gebruiker_id: string | null;
86252
87620
  gebruiker_naam: string;
86253
87621
  gestart_op: string | null;
87622
+ herkomst: string | null;
86254
87623
  id: string;
86255
87624
  idempotentie_sleutel: string | null;
86256
87625
  is_herprint: boolean;
@@ -86371,6 +87740,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
86371
87740
  gebruiker_id: string | null;
86372
87741
  gebruiker_naam: string;
86373
87742
  gestart_op: string | null;
87743
+ herkomst: string | null;
86374
87744
  id: string;
86375
87745
  idempotentie_sleutel: string | null;
86376
87746
  is_herprint: boolean;
@@ -86972,6 +88342,46 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
86972
88342
  Args: never;
86973
88343
  Returns: boolean;
86974
88344
  };
88345
+ invoice_create_from_source: {
88346
+ Args: {
88347
+ _payload?: import("../integrations/supabase/types").Json;
88348
+ _source_id: string;
88349
+ _source_type: string;
88350
+ };
88351
+ Returns: import("../integrations/supabase/types").Json;
88352
+ };
88353
+ invoice_get_billable_lines: {
88354
+ Args: {
88355
+ _invoice_id: string;
88356
+ };
88357
+ Returns: import("../integrations/supabase/types").Json;
88358
+ };
88359
+ invoice_get_for_source: {
88360
+ Args: {
88361
+ _source_id: string;
88362
+ _source_type: string;
88363
+ };
88364
+ Returns: import("../integrations/supabase/types").Json;
88365
+ };
88366
+ invoice_get_summary: {
88367
+ Args: {
88368
+ _invoice_id: string;
88369
+ };
88370
+ Returns: import("../integrations/supabase/types").Json;
88371
+ };
88372
+ invoice_list_sources: {
88373
+ Args: {
88374
+ _limit?: number;
88375
+ _source_type?: string;
88376
+ };
88377
+ Returns: import("../integrations/supabase/types").Json;
88378
+ };
88379
+ invoice_recalc_totals: {
88380
+ Args: {
88381
+ _invoice_id: string;
88382
+ };
88383
+ Returns: import("../integrations/supabase/types").Json;
88384
+ };
86975
88385
  is_authenticated: {
86976
88386
  Args: never;
86977
88387
  Returns: boolean;
@@ -87040,6 +88450,29 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
87040
88450
  roles: string[];
87041
88451
  }[];
87042
88452
  };
88453
+ list_monteur_absences: {
88454
+ Args: {
88455
+ _from: string;
88456
+ _to: string;
88457
+ };
88458
+ Returns: {
88459
+ absence_date: string;
88460
+ end_time: string;
88461
+ full_day: boolean;
88462
+ kind: string;
88463
+ monteur_id: string;
88464
+ start_time: string;
88465
+ }[];
88466
+ };
88467
+ list_monteurs: {
88468
+ Args: never;
88469
+ Returns: {
88470
+ avatar_url: string;
88471
+ display_name: string;
88472
+ email: string;
88473
+ id: string;
88474
+ }[];
88475
+ };
87043
88476
  list_my_planning_items: {
87044
88477
  Args: {
87045
88478
  _from: string;
@@ -87451,6 +88884,23 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
87451
88884
  };
87452
88885
  Returns: string;
87453
88886
  };
88887
+ logistics_floriday_finish_push_v2: {
88888
+ Args: {
88889
+ _error?: string;
88890
+ _error_code?: string;
88891
+ _fulfillment_order_id?: string;
88892
+ _gateway_status?: number;
88893
+ _id: string;
88894
+ _max_age_hours?: number;
88895
+ _max_attempts?: number;
88896
+ _ok: boolean;
88897
+ _permanent?: boolean;
88898
+ _response?: import("../integrations/supabase/types").Json;
88899
+ _revision: number;
88900
+ _sent_hash?: string;
88901
+ };
88902
+ Returns: string;
88903
+ };
87454
88904
  logistics_floriday_prune_pushes: {
87455
88905
  Args: {
87456
88906
  _days?: number;
@@ -87993,6 +89443,13 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
87993
89443
  isSetofReturn: false;
87994
89444
  };
87995
89445
  };
89446
+ pick_cleanup_maintenance: {
89447
+ Args: {
89448
+ _heartbeat_hours?: number;
89449
+ _log_days?: number;
89450
+ };
89451
+ Returns: import("../integrations/supabase/types").Json;
89452
+ };
87996
89453
  pick_complete_print: {
87997
89454
  Args: {
87998
89455
  _printer_id: string;
@@ -88044,6 +89501,14 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
88044
89501
  Args: never;
88045
89502
  Returns: string;
88046
89503
  };
89504
+ pick_day_counts: {
89505
+ Args: {
89506
+ _pick_day?: string;
89507
+ _screen_id?: string;
89508
+ _station_id?: string;
89509
+ };
89510
+ Returns: import("../integrations/supabase/types").Json;
89511
+ };
88047
89512
  pick_document_layout_data: {
88048
89513
  Args: {
88049
89514
  _layout_id: string;
@@ -88081,6 +89546,14 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
88081
89546
  };
88082
89547
  Returns: undefined;
88083
89548
  };
89549
+ pick_reprint_document: {
89550
+ Args: {
89551
+ _queue_item_id: string;
89552
+ _session_id: string;
89553
+ _throttle_seconds?: number;
89554
+ };
89555
+ Returns: string;
89556
+ };
88084
89557
  pick_reset_print: {
88085
89558
  Args: {
88086
89559
  _queue_item_id: string;
@@ -88146,6 +89619,12 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
88146
89619
  };
88147
89620
  Returns: string;
88148
89621
  };
89622
+ pick_sync_queue_throttled: {
89623
+ Args: {
89624
+ _min_seconds?: number;
89625
+ };
89626
+ Returns: import("../integrations/supabase/types").Json;
89627
+ };
88149
89628
  pickstation_get_orders_raw: {
88150
89629
  Args: never;
88151
89630
  Returns: import("../integrations/supabase/types").Json;
@@ -88291,6 +89770,12 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
88291
89770
  };
88292
89771
  Returns: boolean;
88293
89772
  };
89773
+ release_stale_order_invoice_links: {
89774
+ Args: {
89775
+ _minutes?: number;
89776
+ };
89777
+ Returns: number;
89778
+ };
88294
89779
  reorder_customer_price_groups: {
88295
89780
  Args: {
88296
89781
  _ids: string[];
@@ -88809,6 +90294,20 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
88809
90294
  };
88810
90295
  Returns: undefined;
88811
90296
  };
90297
+ twinfield_deactivate_connection: {
90298
+ Args: {
90299
+ p_connection_id: string;
90300
+ p_user_id: string;
90301
+ };
90302
+ Returns: import("../integrations/supabase/types").Json;
90303
+ };
90304
+ twinfield_handle_administration_change: {
90305
+ Args: {
90306
+ _administration_code: string;
90307
+ _user_id: string;
90308
+ };
90309
+ Returns: undefined;
90310
+ };
88812
90311
  twinfield_prune_push_queue: {
88813
90312
  Args: never;
88814
90313
  Returns: number;
@@ -88828,10 +90327,11 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
88828
90327
  p_company_name?: string;
88829
90328
  p_environment: string;
88830
90329
  p_office_code?: string;
90330
+ p_reset_sync?: boolean;
88831
90331
  p_status?: string;
88832
90332
  p_user_id: string;
88833
90333
  };
88834
- Returns: string;
90334
+ Returns: import("../integrations/supabase/types").Json;
88835
90335
  };
88836
90336
  upsert_auto_fulfillment_log: {
88837
90337
  Args: {