@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
@@ -2768,6 +2768,42 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
2768
2768
  };
2769
2769
  Relationships: [];
2770
2770
  };
2771
+ document_bronregels: {
2772
+ Row: {
2773
+ bron: string;
2774
+ created_at: string;
2775
+ documenttype: string;
2776
+ herkomst: string;
2777
+ id: string;
2778
+ layout_id: string | null;
2779
+ updated_at: string;
2780
+ };
2781
+ Insert: {
2782
+ bron?: string;
2783
+ created_at?: string;
2784
+ documenttype: string;
2785
+ herkomst: string;
2786
+ id?: string;
2787
+ layout_id?: string | null;
2788
+ updated_at?: string;
2789
+ };
2790
+ Update: {
2791
+ bron?: string;
2792
+ created_at?: string;
2793
+ documenttype?: string;
2794
+ herkomst?: string;
2795
+ id?: string;
2796
+ layout_id?: string | null;
2797
+ updated_at?: string;
2798
+ };
2799
+ Relationships: [{
2800
+ foreignKeyName: "document_bronregels_layout_id_fkey";
2801
+ columns: ["layout_id"];
2802
+ isOneToOne: false;
2803
+ referencedRelation: "document_layouts";
2804
+ referencedColumns: ["id"];
2805
+ }];
2806
+ };
2771
2807
  document_formaat_printers: {
2772
2808
  Row: {
2773
2809
  created_at: string;
@@ -3045,6 +3081,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
3045
3081
  Row: {
3046
3082
  actief: boolean;
3047
3083
  breedte_mm: number;
3084
+ bron: string;
3048
3085
  config: import("../integrations/supabase/types").Json;
3049
3086
  created_at: string;
3050
3087
  created_by: string | null;
@@ -3062,12 +3099,14 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
3062
3099
  orientatie: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
3063
3100
  page_settings: import("../integrations/supabase/types").Json;
3064
3101
  papierformaat: string;
3102
+ systeem: boolean;
3065
3103
  thumbnail_url: string | null;
3066
3104
  updated_at: string;
3067
3105
  };
3068
3106
  Insert: {
3069
3107
  actief?: boolean;
3070
3108
  breedte_mm?: number;
3109
+ bron?: string;
3071
3110
  config?: import("../integrations/supabase/types").Json;
3072
3111
  created_at?: string;
3073
3112
  created_by?: string | null;
@@ -3085,12 +3124,14 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
3085
3124
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
3086
3125
  page_settings?: import("../integrations/supabase/types").Json;
3087
3126
  papierformaat?: string;
3127
+ systeem?: boolean;
3088
3128
  thumbnail_url?: string | null;
3089
3129
  updated_at?: string;
3090
3130
  };
3091
3131
  Update: {
3092
3132
  actief?: boolean;
3093
3133
  breedte_mm?: number;
3134
+ bron?: string;
3094
3135
  config?: import("../integrations/supabase/types").Json;
3095
3136
  created_at?: string;
3096
3137
  created_by?: string | null;
@@ -3108,11 +3149,48 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
3108
3149
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
3109
3150
  page_settings?: import("../integrations/supabase/types").Json;
3110
3151
  papierformaat?: string;
3152
+ systeem?: boolean;
3111
3153
  thumbnail_url?: string | null;
3112
3154
  updated_at?: string;
3113
3155
  };
3114
3156
  Relationships: [];
3115
3157
  };
3158
+ document_werkplek_printers: {
3159
+ Row: {
3160
+ created_at: string;
3161
+ documenttype: string;
3162
+ id: string;
3163
+ papierformaat: string | null;
3164
+ printer_id: string | null;
3165
+ updated_at: string;
3166
+ werkplek: string;
3167
+ };
3168
+ Insert: {
3169
+ created_at?: string;
3170
+ documenttype: string;
3171
+ id?: string;
3172
+ papierformaat?: string | null;
3173
+ printer_id?: string | null;
3174
+ updated_at?: string;
3175
+ werkplek: string;
3176
+ };
3177
+ Update: {
3178
+ created_at?: string;
3179
+ documenttype?: string;
3180
+ id?: string;
3181
+ papierformaat?: string | null;
3182
+ printer_id?: string | null;
3183
+ updated_at?: string;
3184
+ werkplek?: string;
3185
+ };
3186
+ Relationships: [{
3187
+ foreignKeyName: "document_werkplek_printers_printer_id_fkey";
3188
+ columns: ["printer_id"];
3189
+ isOneToOne: false;
3190
+ referencedRelation: "printers";
3191
+ referencedColumns: ["id"];
3192
+ }];
3193
+ };
3116
3194
  email_auth_connections: {
3117
3195
  Row: {
3118
3196
  access_token_encrypted: string | null;
@@ -5054,42 +5132,6 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
5054
5132
  };
5055
5133
  Relationships: [];
5056
5134
  };
5057
- facturen: {
5058
- Row: {
5059
- bedrag_incl_btw: number;
5060
- created_at: string;
5061
- datum: string;
5062
- factuurnummer: string;
5063
- id: string;
5064
- klantnaam: string;
5065
- status: string;
5066
- updated_at: string;
5067
- user_id: string;
5068
- };
5069
- Insert: {
5070
- bedrag_incl_btw: number;
5071
- created_at?: string;
5072
- datum?: string;
5073
- factuurnummer: string;
5074
- id?: string;
5075
- klantnaam: string;
5076
- status?: string;
5077
- updated_at?: string;
5078
- user_id?: string;
5079
- };
5080
- Update: {
5081
- bedrag_incl_btw?: number;
5082
- created_at?: string;
5083
- datum?: string;
5084
- factuurnummer?: string;
5085
- id?: string;
5086
- klantnaam?: string;
5087
- status?: string;
5088
- updated_at?: string;
5089
- user_id?: string;
5090
- };
5091
- Relationships: [];
5092
- };
5093
5135
  floricode_connection_settings: {
5094
5136
  Row: {
5095
5137
  catalog_key: string | null;
@@ -7394,8 +7436,63 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
7394
7436
  };
7395
7437
  Relationships: [];
7396
7438
  };
7439
+ invoice_items: {
7440
+ Row: {
7441
+ created_at: string;
7442
+ description: string;
7443
+ id: string;
7444
+ invoice_id: string;
7445
+ kind: string;
7446
+ quantity: number;
7447
+ sort_order: number;
7448
+ source_line_ref: string | null;
7449
+ total_cents: number;
7450
+ unit: string;
7451
+ unit_price_cents: number;
7452
+ };
7453
+ Insert: {
7454
+ created_at?: string;
7455
+ description?: string;
7456
+ id?: string;
7457
+ invoice_id: string;
7458
+ kind?: string;
7459
+ quantity?: number;
7460
+ sort_order?: number;
7461
+ source_line_ref?: string | null;
7462
+ total_cents?: number;
7463
+ unit?: string;
7464
+ unit_price_cents?: number;
7465
+ };
7466
+ Update: {
7467
+ created_at?: string;
7468
+ description?: string;
7469
+ id?: string;
7470
+ invoice_id?: string;
7471
+ kind?: string;
7472
+ quantity?: number;
7473
+ sort_order?: number;
7474
+ source_line_ref?: string | null;
7475
+ total_cents?: number;
7476
+ unit?: string;
7477
+ unit_price_cents?: number;
7478
+ };
7479
+ Relationships: [{
7480
+ foreignKeyName: "invoice_items_invoice_id_fkey";
7481
+ columns: ["invoice_id"];
7482
+ isOneToOne: false;
7483
+ referencedRelation: "invoices";
7484
+ referencedColumns: ["id"];
7485
+ }, {
7486
+ foreignKeyName: "invoice_items_invoice_id_fkey";
7487
+ columns: ["invoice_id"];
7488
+ isOneToOne: false;
7489
+ referencedRelation: "uren_facturen";
7490
+ referencedColumns: ["id"];
7491
+ }];
7492
+ };
7397
7493
  invoice_post_idempotency: {
7398
7494
  Row: {
7495
+ administration_code: string;
7399
7496
  client_request_id: string;
7400
7497
  completed_at: string | null;
7401
7498
  created_at: string;
@@ -7405,6 +7502,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
7405
7502
  user_id: string;
7406
7503
  };
7407
7504
  Insert: {
7505
+ administration_code?: string;
7408
7506
  client_request_id: string;
7409
7507
  completed_at?: string | null;
7410
7508
  created_at?: string;
@@ -7414,6 +7512,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
7414
7512
  user_id: string;
7415
7513
  };
7416
7514
  Update: {
7515
+ administration_code?: string;
7417
7516
  client_request_id?: string;
7418
7517
  completed_at?: string | null;
7419
7518
  created_at?: string;
@@ -7619,6 +7718,75 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
7619
7718
  };
7620
7719
  Relationships: [];
7621
7720
  };
7721
+ invoices: {
7722
+ Row: {
7723
+ created_at: string;
7724
+ created_by: string | null;
7725
+ customer_id: string | null;
7726
+ customer_name: string | null;
7727
+ due_date: string | null;
7728
+ id: string;
7729
+ invoice_date: string;
7730
+ invoice_number: string | null;
7731
+ note: string | null;
7732
+ source_number: string | null;
7733
+ source_ref: string | null;
7734
+ source_type: string;
7735
+ status: string;
7736
+ subtotal_cents: number;
7737
+ total_cents: number;
7738
+ updated_at: string;
7739
+ vat_cents: number;
7740
+ vat_rate: number;
7741
+ };
7742
+ Insert: {
7743
+ created_at?: string;
7744
+ created_by?: string | null;
7745
+ customer_id?: string | null;
7746
+ customer_name?: string | null;
7747
+ due_date?: string | null;
7748
+ id?: string;
7749
+ invoice_date?: string;
7750
+ invoice_number?: string | null;
7751
+ note?: string | null;
7752
+ source_number?: string | null;
7753
+ source_ref?: string | null;
7754
+ source_type?: string;
7755
+ status?: string;
7756
+ subtotal_cents?: number;
7757
+ total_cents?: number;
7758
+ updated_at?: string;
7759
+ vat_cents?: number;
7760
+ vat_rate?: number;
7761
+ };
7762
+ Update: {
7763
+ created_at?: string;
7764
+ created_by?: string | null;
7765
+ customer_id?: string | null;
7766
+ customer_name?: string | null;
7767
+ due_date?: string | null;
7768
+ id?: string;
7769
+ invoice_date?: string;
7770
+ invoice_number?: string | null;
7771
+ note?: string | null;
7772
+ source_number?: string | null;
7773
+ source_ref?: string | null;
7774
+ source_type?: string;
7775
+ status?: string;
7776
+ subtotal_cents?: number;
7777
+ total_cents?: number;
7778
+ updated_at?: string;
7779
+ vat_cents?: number;
7780
+ vat_rate?: number;
7781
+ };
7782
+ Relationships: [{
7783
+ foreignKeyName: "invoices_customer_id_fkey";
7784
+ columns: ["customer_id"];
7785
+ isOneToOne: false;
7786
+ referencedRelation: "itk_customers";
7787
+ referencedColumns: ["id"];
7788
+ }];
7789
+ };
7622
7790
  itk_contact_persons: {
7623
7791
  Row: {
7624
7792
  created_at: string;
@@ -8966,6 +9134,9 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
8966
9134
  id: string;
8967
9135
  last_error: string | null;
8968
9136
  last_error_at: string | null;
9137
+ last_error_code: string | null;
9138
+ last_gateway_status: number | null;
9139
+ last_response: import("../integrations/supabase/types").Json | null;
8969
9140
  last_sent_hash: string | null;
8970
9141
  locked_by: string | null;
8971
9142
  locked_until: string | null;
@@ -8986,6 +9157,9 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
8986
9157
  id?: string;
8987
9158
  last_error?: string | null;
8988
9159
  last_error_at?: string | null;
9160
+ last_error_code?: string | null;
9161
+ last_gateway_status?: number | null;
9162
+ last_response?: import("../integrations/supabase/types").Json | null;
8989
9163
  last_sent_hash?: string | null;
8990
9164
  locked_by?: string | null;
8991
9165
  locked_until?: string | null;
@@ -9006,6 +9180,9 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
9006
9180
  id?: string;
9007
9181
  last_error?: string | null;
9008
9182
  last_error_at?: string | null;
9183
+ last_error_code?: string | null;
9184
+ last_gateway_status?: number | null;
9185
+ last_response?: import("../integrations/supabase/types").Json | null;
9009
9186
  last_sent_hash?: string | null;
9010
9187
  locked_by?: string | null;
9011
9188
  locked_until?: string | null;
@@ -10559,6 +10736,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
10559
10736
  enforce: boolean;
10560
10737
  is_active: boolean;
10561
10738
  last_seen_at: string;
10739
+ missing_count: number;
10562
10740
  module_id: string;
10563
10741
  name: string;
10564
10742
  shell_id: string | null;
@@ -10569,6 +10747,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
10569
10747
  enforce?: boolean;
10570
10748
  is_active?: boolean;
10571
10749
  last_seen_at?: string;
10750
+ missing_count?: number;
10572
10751
  module_id: string;
10573
10752
  name: string;
10574
10753
  shell_id?: string | null;
@@ -10579,6 +10758,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
10579
10758
  enforce?: boolean;
10580
10759
  is_active?: boolean;
10581
10760
  last_seen_at?: string;
10761
+ missing_count?: number;
10582
10762
  module_id?: string;
10583
10763
  name?: string;
10584
10764
  shell_id?: string | null;
@@ -11578,6 +11758,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
11578
11758
  };
11579
11759
  order_invoice_links: {
11580
11760
  Row: {
11761
+ administration_code: string | null;
11581
11762
  attempts: number;
11582
11763
  created_at: string;
11583
11764
  error_message: string | null;
@@ -11590,6 +11771,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
11590
11771
  updated_at: string;
11591
11772
  };
11592
11773
  Insert: {
11774
+ administration_code?: string | null;
11593
11775
  attempts?: number;
11594
11776
  created_at?: string;
11595
11777
  error_message?: string | null;
@@ -11602,6 +11784,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
11602
11784
  updated_at?: string;
11603
11785
  };
11604
11786
  Update: {
11787
+ administration_code?: string | null;
11605
11788
  attempts?: number;
11606
11789
  created_at?: string;
11607
11790
  error_message?: string | null;
@@ -12767,6 +12950,27 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
12767
12950
  referencedColumns: ["id"];
12768
12951
  }];
12769
12952
  };
12953
+ pick_sync_state: {
12954
+ Row: {
12955
+ id: boolean;
12956
+ last_cleanup_at: string | null;
12957
+ last_sync_at: string | null;
12958
+ updated_at: string;
12959
+ };
12960
+ Insert: {
12961
+ id?: boolean;
12962
+ last_cleanup_at?: string | null;
12963
+ last_sync_at?: string | null;
12964
+ updated_at?: string;
12965
+ };
12966
+ Update: {
12967
+ id?: boolean;
12968
+ last_cleanup_at?: string | null;
12969
+ last_sync_at?: string | null;
12970
+ updated_at?: string;
12971
+ };
12972
+ Relationships: [];
12973
+ };
12770
12974
  pick_task_document_types: {
12771
12975
  Row: {
12772
12976
  created_at: string;
@@ -13049,6 +13253,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
13049
13253
  gebruiker_id: string | null;
13050
13254
  gebruiker_naam: string;
13051
13255
  gestart_op: string | null;
13256
+ herkomst: string | null;
13052
13257
  id: string;
13053
13258
  idempotentie_sleutel: string | null;
13054
13259
  is_herprint: boolean;
@@ -13078,6 +13283,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
13078
13283
  gebruiker_id?: string | null;
13079
13284
  gebruiker_naam?: string;
13080
13285
  gestart_op?: string | null;
13286
+ herkomst?: string | null;
13081
13287
  id?: string;
13082
13288
  idempotentie_sleutel?: string | null;
13083
13289
  is_herprint?: boolean;
@@ -13107,6 +13313,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
13107
13313
  gebruiker_id?: string | null;
13108
13314
  gebruiker_naam?: string;
13109
13315
  gestart_op?: string | null;
13316
+ herkomst?: string | null;
13110
13317
  id?: string;
13111
13318
  idempotentie_sleutel?: string | null;
13112
13319
  is_herprint?: boolean;
@@ -16111,12 +16318,16 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
16111
16318
  company_name: string | null;
16112
16319
  connected_at: string | null;
16113
16320
  created_at: string;
16321
+ disconnected_at: string | null;
16114
16322
  environment: string;
16115
16323
  id: string;
16324
+ initial_sync_completed_at: string | null;
16325
+ initial_sync_started_at: string | null;
16116
16326
  is_active: boolean;
16117
16327
  label: string | null;
16118
16328
  office_code: string | null;
16119
16329
  redirect_uri: string | null;
16330
+ superseded_at: string | null;
16120
16331
  updated_at: string;
16121
16332
  user_id: string;
16122
16333
  };
@@ -16127,12 +16338,16 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
16127
16338
  company_name?: string | null;
16128
16339
  connected_at?: string | null;
16129
16340
  created_at?: string;
16341
+ disconnected_at?: string | null;
16130
16342
  environment: string;
16131
16343
  id?: string;
16344
+ initial_sync_completed_at?: string | null;
16345
+ initial_sync_started_at?: string | null;
16132
16346
  is_active?: boolean;
16133
16347
  label?: string | null;
16134
16348
  office_code?: string | null;
16135
16349
  redirect_uri?: string | null;
16350
+ superseded_at?: string | null;
16136
16351
  updated_at?: string;
16137
16352
  user_id: string;
16138
16353
  };
@@ -16143,12 +16358,16 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
16143
16358
  company_name?: string | null;
16144
16359
  connected_at?: string | null;
16145
16360
  created_at?: string;
16361
+ disconnected_at?: string | null;
16146
16362
  environment?: string;
16147
16363
  id?: string;
16364
+ initial_sync_completed_at?: string | null;
16365
+ initial_sync_started_at?: string | null;
16148
16366
  is_active?: boolean;
16149
16367
  label?: string | null;
16150
16368
  office_code?: string | null;
16151
16369
  redirect_uri?: string | null;
16370
+ superseded_at?: string | null;
16152
16371
  updated_at?: string;
16153
16372
  user_id?: string;
16154
16373
  };
@@ -16208,6 +16427,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
16208
16427
  twinfield_customers: {
16209
16428
  Row: {
16210
16429
  address: string | null;
16430
+ administration_code: string;
16211
16431
  city: string | null;
16212
16432
  country: string | null;
16213
16433
  created_at: string;
@@ -16227,6 +16447,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
16227
16447
  };
16228
16448
  Insert: {
16229
16449
  address?: string | null;
16450
+ administration_code?: string;
16230
16451
  city?: string | null;
16231
16452
  country?: string | null;
16232
16453
  created_at?: string;
@@ -16246,6 +16467,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
16246
16467
  };
16247
16468
  Update: {
16248
16469
  address?: string | null;
16470
+ administration_code?: string;
16249
16471
  city?: string | null;
16250
16472
  country?: string | null;
16251
16473
  created_at?: string;
@@ -16459,7 +16681,9 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
16459
16681
  };
16460
16682
  twinfield_invoice_settings: {
16461
16683
  Row: {
16684
+ administration_code: string | null;
16462
16685
  auto_invoice_enabled: boolean;
16686
+ auto_invoice_start_date: string | null;
16463
16687
  auto_invoice_trigger_statuses: string[];
16464
16688
  created_at: string;
16465
16689
  debtor_gl_account: string;
@@ -16473,15 +16697,19 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
16473
16697
  invoice_enabled_fo: boolean;
16474
16698
  invoice_enabled_ho: boolean;
16475
16699
  invoice_enabled_mo: boolean;
16700
+ needs_review: boolean;
16476
16701
  payment_gl_account: string;
16477
16702
  payment_journal_code: string;
16703
+ settings_confirmed_at: string | null;
16478
16704
  updated_at: string;
16479
16705
  user_id: string;
16480
16706
  vat_code_eu_reverse: string | null;
16481
16707
  vat_code_export: string | null;
16482
16708
  };
16483
16709
  Insert: {
16710
+ administration_code?: string | null;
16484
16711
  auto_invoice_enabled?: boolean;
16712
+ auto_invoice_start_date?: string | null;
16485
16713
  auto_invoice_trigger_statuses?: string[];
16486
16714
  created_at?: string;
16487
16715
  debtor_gl_account?: string;
@@ -16495,15 +16723,19 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
16495
16723
  invoice_enabled_fo?: boolean;
16496
16724
  invoice_enabled_ho?: boolean;
16497
16725
  invoice_enabled_mo?: boolean;
16726
+ needs_review?: boolean;
16498
16727
  payment_gl_account?: string;
16499
16728
  payment_journal_code?: string;
16729
+ settings_confirmed_at?: string | null;
16500
16730
  updated_at?: string;
16501
16731
  user_id: string;
16502
16732
  vat_code_eu_reverse?: string | null;
16503
16733
  vat_code_export?: string | null;
16504
16734
  };
16505
16735
  Update: {
16736
+ administration_code?: string | null;
16506
16737
  auto_invoice_enabled?: boolean;
16738
+ auto_invoice_start_date?: string | null;
16507
16739
  auto_invoice_trigger_statuses?: string[];
16508
16740
  created_at?: string;
16509
16741
  debtor_gl_account?: string;
@@ -16517,8 +16749,10 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
16517
16749
  invoice_enabled_fo?: boolean;
16518
16750
  invoice_enabled_ho?: boolean;
16519
16751
  invoice_enabled_mo?: boolean;
16752
+ needs_review?: boolean;
16520
16753
  payment_gl_account?: string;
16521
16754
  payment_journal_code?: string;
16755
+ settings_confirmed_at?: string | null;
16522
16756
  updated_at?: string;
16523
16757
  user_id?: string;
16524
16758
  vat_code_eu_reverse?: string | null;
@@ -17123,114 +17357,6 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
17123
17357
  };
17124
17358
  Relationships: [];
17125
17359
  };
17126
- uren_facturen: {
17127
- Row: {
17128
- created_at: string;
17129
- created_by: string | null;
17130
- customer_id: string | null;
17131
- customer_name: string | null;
17132
- id: string;
17133
- invoice_number: string | null;
17134
- note: string | null;
17135
- status: string;
17136
- total_excl_cents: number;
17137
- total_incl_cents: number;
17138
- updated_at: string;
17139
- vat_cents: number;
17140
- vat_percentage: number;
17141
- werkbon_id: string | null;
17142
- };
17143
- Insert: {
17144
- created_at?: string;
17145
- created_by?: string | null;
17146
- customer_id?: string | null;
17147
- customer_name?: string | null;
17148
- id?: string;
17149
- invoice_number?: string | null;
17150
- note?: string | null;
17151
- status?: string;
17152
- total_excl_cents?: number;
17153
- total_incl_cents?: number;
17154
- updated_at?: string;
17155
- vat_cents?: number;
17156
- vat_percentage?: number;
17157
- werkbon_id?: string | null;
17158
- };
17159
- Update: {
17160
- created_at?: string;
17161
- created_by?: string | null;
17162
- customer_id?: string | null;
17163
- customer_name?: string | null;
17164
- id?: string;
17165
- invoice_number?: string | null;
17166
- note?: string | null;
17167
- status?: string;
17168
- total_excl_cents?: number;
17169
- total_incl_cents?: number;
17170
- updated_at?: string;
17171
- vat_cents?: number;
17172
- vat_percentage?: number;
17173
- werkbon_id?: string | null;
17174
- };
17175
- Relationships: [{
17176
- foreignKeyName: "uren_facturen_customer_id_fkey";
17177
- columns: ["customer_id"];
17178
- isOneToOne: false;
17179
- referencedRelation: "itk_customers";
17180
- referencedColumns: ["id"];
17181
- }, {
17182
- foreignKeyName: "uren_facturen_werkbon_id_fkey";
17183
- columns: ["werkbon_id"];
17184
- isOneToOne: true;
17185
- referencedRelation: "werkbonnen";
17186
- referencedColumns: ["id"];
17187
- }];
17188
- };
17189
- uren_factuur_regels: {
17190
- Row: {
17191
- created_at: string;
17192
- description: string;
17193
- factuur_id: string;
17194
- id: string;
17195
- kind: string | null;
17196
- quantity: number;
17197
- sort_order: number;
17198
- total_cents: number;
17199
- unit: string;
17200
- unit_price_cents: number;
17201
- };
17202
- Insert: {
17203
- created_at?: string;
17204
- description: string;
17205
- factuur_id: string;
17206
- id?: string;
17207
- kind?: string | null;
17208
- quantity?: number;
17209
- sort_order?: number;
17210
- total_cents?: number;
17211
- unit?: string;
17212
- unit_price_cents?: number;
17213
- };
17214
- Update: {
17215
- created_at?: string;
17216
- description?: string;
17217
- factuur_id?: string;
17218
- id?: string;
17219
- kind?: string | null;
17220
- quantity?: number;
17221
- sort_order?: number;
17222
- total_cents?: number;
17223
- unit?: string;
17224
- unit_price_cents?: number;
17225
- };
17226
- Relationships: [{
17227
- foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
17228
- columns: ["factuur_id"];
17229
- isOneToOne: false;
17230
- referencedRelation: "uren_facturen";
17231
- referencedColumns: ["id"];
17232
- }];
17233
- };
17234
17360
  uren_offerte_regels: {
17235
17361
  Row: {
17236
17362
  created_at: string;
@@ -18484,6 +18610,9 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
18484
18610
  scheduled_end_time: string | null;
18485
18611
  scheduled_start_time: string | null;
18486
18612
  sequence_number: number;
18613
+ signature_accepted_at: string | null;
18614
+ signature_by_user_id: string | null;
18615
+ signature_name: string | null;
18487
18616
  source_email_meta: import("../integrations/supabase/types").Json | null;
18488
18617
  source_mailbox_message_id: string | null;
18489
18618
  source_pdf_path: string | null;
@@ -18519,6 +18648,9 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
18519
18648
  scheduled_end_time?: string | null;
18520
18649
  scheduled_start_time?: string | null;
18521
18650
  sequence_number: number;
18651
+ signature_accepted_at?: string | null;
18652
+ signature_by_user_id?: string | null;
18653
+ signature_name?: string | null;
18522
18654
  source_email_meta?: import("../integrations/supabase/types").Json | null;
18523
18655
  source_mailbox_message_id?: string | null;
18524
18656
  source_pdf_path?: string | null;
@@ -18554,6 +18686,9 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
18554
18686
  scheduled_end_time?: string | null;
18555
18687
  scheduled_start_time?: string | null;
18556
18688
  sequence_number?: number;
18689
+ signature_accepted_at?: string | null;
18690
+ signature_by_user_id?: string | null;
18691
+ signature_name?: string | null;
18557
18692
  source_email_meta?: import("../integrations/supabase/types").Json | null;
18558
18693
  source_mailbox_message_id?: string | null;
18559
18694
  source_pdf_path?: string | null;
@@ -19070,6 +19205,114 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
19070
19205
  };
19071
19206
  Relationships: [];
19072
19207
  };
19208
+ uren_facturen: {
19209
+ Row: {
19210
+ created_at: string | null;
19211
+ created_by: string | null;
19212
+ customer_id: string | null;
19213
+ customer_name: string | null;
19214
+ id: string | null;
19215
+ invoice_number: string | null;
19216
+ note: string | null;
19217
+ status: string | null;
19218
+ total_excl_cents: number | null;
19219
+ total_incl_cents: number | null;
19220
+ updated_at: string | null;
19221
+ vat_cents: number | null;
19222
+ vat_percentage: number | null;
19223
+ werkbon_id: string | null;
19224
+ };
19225
+ Insert: {
19226
+ created_at?: string | null;
19227
+ created_by?: string | null;
19228
+ customer_id?: string | null;
19229
+ customer_name?: string | null;
19230
+ id?: string | null;
19231
+ invoice_number?: string | null;
19232
+ note?: string | null;
19233
+ status?: string | null;
19234
+ total_excl_cents?: number | null;
19235
+ total_incl_cents?: number | null;
19236
+ updated_at?: string | null;
19237
+ vat_cents?: number | null;
19238
+ vat_percentage?: number | null;
19239
+ werkbon_id?: never;
19240
+ };
19241
+ Update: {
19242
+ created_at?: string | null;
19243
+ created_by?: string | null;
19244
+ customer_id?: string | null;
19245
+ customer_name?: string | null;
19246
+ id?: string | null;
19247
+ invoice_number?: string | null;
19248
+ note?: string | null;
19249
+ status?: string | null;
19250
+ total_excl_cents?: number | null;
19251
+ total_incl_cents?: number | null;
19252
+ updated_at?: string | null;
19253
+ vat_cents?: number | null;
19254
+ vat_percentage?: number | null;
19255
+ werkbon_id?: never;
19256
+ };
19257
+ Relationships: [{
19258
+ foreignKeyName: "invoices_customer_id_fkey";
19259
+ columns: ["customer_id"];
19260
+ isOneToOne: false;
19261
+ referencedRelation: "itk_customers";
19262
+ referencedColumns: ["id"];
19263
+ }];
19264
+ };
19265
+ uren_factuur_regels: {
19266
+ Row: {
19267
+ created_at: string | null;
19268
+ description: string | null;
19269
+ factuur_id: string | null;
19270
+ id: string | null;
19271
+ kind: string | null;
19272
+ quantity: number | null;
19273
+ sort_order: number | null;
19274
+ total_cents: number | null;
19275
+ unit: string | null;
19276
+ unit_price_cents: number | null;
19277
+ };
19278
+ Insert: {
19279
+ created_at?: string | null;
19280
+ description?: string | null;
19281
+ factuur_id?: string | null;
19282
+ id?: string | null;
19283
+ kind?: string | null;
19284
+ quantity?: number | null;
19285
+ sort_order?: number | null;
19286
+ total_cents?: number | null;
19287
+ unit?: string | null;
19288
+ unit_price_cents?: number | null;
19289
+ };
19290
+ Update: {
19291
+ created_at?: string | null;
19292
+ description?: string | null;
19293
+ factuur_id?: string | null;
19294
+ id?: string | null;
19295
+ kind?: string | null;
19296
+ quantity?: number | null;
19297
+ sort_order?: number | null;
19298
+ total_cents?: number | null;
19299
+ unit?: string | null;
19300
+ unit_price_cents?: number | null;
19301
+ };
19302
+ Relationships: [{
19303
+ foreignKeyName: "invoice_items_invoice_id_fkey";
19304
+ columns: ["factuur_id"];
19305
+ isOneToOne: false;
19306
+ referencedRelation: "invoices";
19307
+ referencedColumns: ["id"];
19308
+ }, {
19309
+ foreignKeyName: "invoice_items_invoice_id_fkey";
19310
+ columns: ["factuur_id"];
19311
+ isOneToOne: false;
19312
+ referencedRelation: "uren_facturen";
19313
+ referencedColumns: ["id"];
19314
+ }];
19315
+ };
19073
19316
  v_external_customers_exact: {
19074
19317
  Row: {
19075
19318
  account_number: string | null;
@@ -19575,6 +19818,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
19575
19818
  gebruiker_id: string | null;
19576
19819
  gebruiker_naam: string;
19577
19820
  gestart_op: string | null;
19821
+ herkomst: string | null;
19578
19822
  id: string;
19579
19823
  idempotentie_sleutel: string | null;
19580
19824
  is_herprint: boolean;
@@ -19695,6 +19939,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
19695
19939
  gebruiker_id: string | null;
19696
19940
  gebruiker_naam: string;
19697
19941
  gestart_op: string | null;
19942
+ herkomst: string | null;
19698
19943
  id: string;
19699
19944
  idempotentie_sleutel: string | null;
19700
19945
  is_herprint: boolean;
@@ -20296,6 +20541,46 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
20296
20541
  Args: never;
20297
20542
  Returns: boolean;
20298
20543
  };
20544
+ invoice_create_from_source: {
20545
+ Args: {
20546
+ _payload?: import("../integrations/supabase/types").Json;
20547
+ _source_id: string;
20548
+ _source_type: string;
20549
+ };
20550
+ Returns: import("../integrations/supabase/types").Json;
20551
+ };
20552
+ invoice_get_billable_lines: {
20553
+ Args: {
20554
+ _invoice_id: string;
20555
+ };
20556
+ Returns: import("../integrations/supabase/types").Json;
20557
+ };
20558
+ invoice_get_for_source: {
20559
+ Args: {
20560
+ _source_id: string;
20561
+ _source_type: string;
20562
+ };
20563
+ Returns: import("../integrations/supabase/types").Json;
20564
+ };
20565
+ invoice_get_summary: {
20566
+ Args: {
20567
+ _invoice_id: string;
20568
+ };
20569
+ Returns: import("../integrations/supabase/types").Json;
20570
+ };
20571
+ invoice_list_sources: {
20572
+ Args: {
20573
+ _limit?: number;
20574
+ _source_type?: string;
20575
+ };
20576
+ Returns: import("../integrations/supabase/types").Json;
20577
+ };
20578
+ invoice_recalc_totals: {
20579
+ Args: {
20580
+ _invoice_id: string;
20581
+ };
20582
+ Returns: import("../integrations/supabase/types").Json;
20583
+ };
20299
20584
  is_authenticated: {
20300
20585
  Args: never;
20301
20586
  Returns: boolean;
@@ -20364,6 +20649,29 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
20364
20649
  roles: string[];
20365
20650
  }[];
20366
20651
  };
20652
+ list_monteur_absences: {
20653
+ Args: {
20654
+ _from: string;
20655
+ _to: string;
20656
+ };
20657
+ Returns: {
20658
+ absence_date: string;
20659
+ end_time: string;
20660
+ full_day: boolean;
20661
+ kind: string;
20662
+ monteur_id: string;
20663
+ start_time: string;
20664
+ }[];
20665
+ };
20666
+ list_monteurs: {
20667
+ Args: never;
20668
+ Returns: {
20669
+ avatar_url: string;
20670
+ display_name: string;
20671
+ email: string;
20672
+ id: string;
20673
+ }[];
20674
+ };
20367
20675
  list_my_planning_items: {
20368
20676
  Args: {
20369
20677
  _from: string;
@@ -20775,6 +21083,23 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
20775
21083
  };
20776
21084
  Returns: string;
20777
21085
  };
21086
+ logistics_floriday_finish_push_v2: {
21087
+ Args: {
21088
+ _error?: string;
21089
+ _error_code?: string;
21090
+ _fulfillment_order_id?: string;
21091
+ _gateway_status?: number;
21092
+ _id: string;
21093
+ _max_age_hours?: number;
21094
+ _max_attempts?: number;
21095
+ _ok: boolean;
21096
+ _permanent?: boolean;
21097
+ _response?: import("../integrations/supabase/types").Json;
21098
+ _revision: number;
21099
+ _sent_hash?: string;
21100
+ };
21101
+ Returns: string;
21102
+ };
20778
21103
  logistics_floriday_prune_pushes: {
20779
21104
  Args: {
20780
21105
  _days?: number;
@@ -21317,6 +21642,13 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
21317
21642
  isSetofReturn: false;
21318
21643
  };
21319
21644
  };
21645
+ pick_cleanup_maintenance: {
21646
+ Args: {
21647
+ _heartbeat_hours?: number;
21648
+ _log_days?: number;
21649
+ };
21650
+ Returns: import("../integrations/supabase/types").Json;
21651
+ };
21320
21652
  pick_complete_print: {
21321
21653
  Args: {
21322
21654
  _printer_id: string;
@@ -21368,6 +21700,14 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
21368
21700
  Args: never;
21369
21701
  Returns: string;
21370
21702
  };
21703
+ pick_day_counts: {
21704
+ Args: {
21705
+ _pick_day?: string;
21706
+ _screen_id?: string;
21707
+ _station_id?: string;
21708
+ };
21709
+ Returns: import("../integrations/supabase/types").Json;
21710
+ };
21371
21711
  pick_document_layout_data: {
21372
21712
  Args: {
21373
21713
  _layout_id: string;
@@ -21405,6 +21745,14 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
21405
21745
  };
21406
21746
  Returns: undefined;
21407
21747
  };
21748
+ pick_reprint_document: {
21749
+ Args: {
21750
+ _queue_item_id: string;
21751
+ _session_id: string;
21752
+ _throttle_seconds?: number;
21753
+ };
21754
+ Returns: string;
21755
+ };
21408
21756
  pick_reset_print: {
21409
21757
  Args: {
21410
21758
  _queue_item_id: string;
@@ -21470,6 +21818,12 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
21470
21818
  };
21471
21819
  Returns: string;
21472
21820
  };
21821
+ pick_sync_queue_throttled: {
21822
+ Args: {
21823
+ _min_seconds?: number;
21824
+ };
21825
+ Returns: import("../integrations/supabase/types").Json;
21826
+ };
21473
21827
  pickstation_get_orders_raw: {
21474
21828
  Args: never;
21475
21829
  Returns: import("../integrations/supabase/types").Json;
@@ -21615,6 +21969,12 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
21615
21969
  };
21616
21970
  Returns: boolean;
21617
21971
  };
21972
+ release_stale_order_invoice_links: {
21973
+ Args: {
21974
+ _minutes?: number;
21975
+ };
21976
+ Returns: number;
21977
+ };
21618
21978
  reorder_customer_price_groups: {
21619
21979
  Args: {
21620
21980
  _ids: string[];
@@ -22133,6 +22493,20 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
22133
22493
  };
22134
22494
  Returns: undefined;
22135
22495
  };
22496
+ twinfield_deactivate_connection: {
22497
+ Args: {
22498
+ p_connection_id: string;
22499
+ p_user_id: string;
22500
+ };
22501
+ Returns: import("../integrations/supabase/types").Json;
22502
+ };
22503
+ twinfield_handle_administration_change: {
22504
+ Args: {
22505
+ _administration_code: string;
22506
+ _user_id: string;
22507
+ };
22508
+ Returns: undefined;
22509
+ };
22136
22510
  twinfield_prune_push_queue: {
22137
22511
  Args: never;
22138
22512
  Returns: number;
@@ -22152,10 +22526,11 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
22152
22526
  p_company_name?: string;
22153
22527
  p_environment: string;
22154
22528
  p_office_code?: string;
22529
+ p_reset_sync?: boolean;
22155
22530
  p_status?: string;
22156
22531
  p_user_id: string;
22157
22532
  };
22158
- Returns: string;
22533
+ Returns: import("../integrations/supabase/types").Json;
22159
22534
  };
22160
22535
  upsert_auto_fulfillment_log: {
22161
22536
  Args: {
@@ -24991,6 +25366,42 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
24991
25366
  };
24992
25367
  Relationships: [];
24993
25368
  };
25369
+ document_bronregels: {
25370
+ Row: {
25371
+ bron: string;
25372
+ created_at: string;
25373
+ documenttype: string;
25374
+ herkomst: string;
25375
+ id: string;
25376
+ layout_id: string | null;
25377
+ updated_at: string;
25378
+ };
25379
+ Insert: {
25380
+ bron?: string;
25381
+ created_at?: string;
25382
+ documenttype: string;
25383
+ herkomst: string;
25384
+ id?: string;
25385
+ layout_id?: string | null;
25386
+ updated_at?: string;
25387
+ };
25388
+ Update: {
25389
+ bron?: string;
25390
+ created_at?: string;
25391
+ documenttype?: string;
25392
+ herkomst?: string;
25393
+ id?: string;
25394
+ layout_id?: string | null;
25395
+ updated_at?: string;
25396
+ };
25397
+ Relationships: [{
25398
+ foreignKeyName: "document_bronregels_layout_id_fkey";
25399
+ columns: ["layout_id"];
25400
+ isOneToOne: false;
25401
+ referencedRelation: "document_layouts";
25402
+ referencedColumns: ["id"];
25403
+ }];
25404
+ };
24994
25405
  document_formaat_printers: {
24995
25406
  Row: {
24996
25407
  created_at: string;
@@ -25268,6 +25679,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
25268
25679
  Row: {
25269
25680
  actief: boolean;
25270
25681
  breedte_mm: number;
25682
+ bron: string;
25271
25683
  config: import("../integrations/supabase/types").Json;
25272
25684
  created_at: string;
25273
25685
  created_by: string | null;
@@ -25285,12 +25697,14 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
25285
25697
  orientatie: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
25286
25698
  page_settings: import("../integrations/supabase/types").Json;
25287
25699
  papierformaat: string;
25700
+ systeem: boolean;
25288
25701
  thumbnail_url: string | null;
25289
25702
  updated_at: string;
25290
25703
  };
25291
25704
  Insert: {
25292
25705
  actief?: boolean;
25293
25706
  breedte_mm?: number;
25707
+ bron?: string;
25294
25708
  config?: import("../integrations/supabase/types").Json;
25295
25709
  created_at?: string;
25296
25710
  created_by?: string | null;
@@ -25308,12 +25722,14 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
25308
25722
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
25309
25723
  page_settings?: import("../integrations/supabase/types").Json;
25310
25724
  papierformaat?: string;
25725
+ systeem?: boolean;
25311
25726
  thumbnail_url?: string | null;
25312
25727
  updated_at?: string;
25313
25728
  };
25314
25729
  Update: {
25315
25730
  actief?: boolean;
25316
25731
  breedte_mm?: number;
25732
+ bron?: string;
25317
25733
  config?: import("../integrations/supabase/types").Json;
25318
25734
  created_at?: string;
25319
25735
  created_by?: string | null;
@@ -25331,11 +25747,48 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
25331
25747
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
25332
25748
  page_settings?: import("../integrations/supabase/types").Json;
25333
25749
  papierformaat?: string;
25750
+ systeem?: boolean;
25334
25751
  thumbnail_url?: string | null;
25335
25752
  updated_at?: string;
25336
25753
  };
25337
25754
  Relationships: [];
25338
25755
  };
25756
+ document_werkplek_printers: {
25757
+ Row: {
25758
+ created_at: string;
25759
+ documenttype: string;
25760
+ id: string;
25761
+ papierformaat: string | null;
25762
+ printer_id: string | null;
25763
+ updated_at: string;
25764
+ werkplek: string;
25765
+ };
25766
+ Insert: {
25767
+ created_at?: string;
25768
+ documenttype: string;
25769
+ id?: string;
25770
+ papierformaat?: string | null;
25771
+ printer_id?: string | null;
25772
+ updated_at?: string;
25773
+ werkplek: string;
25774
+ };
25775
+ Update: {
25776
+ created_at?: string;
25777
+ documenttype?: string;
25778
+ id?: string;
25779
+ papierformaat?: string | null;
25780
+ printer_id?: string | null;
25781
+ updated_at?: string;
25782
+ werkplek?: string;
25783
+ };
25784
+ Relationships: [{
25785
+ foreignKeyName: "document_werkplek_printers_printer_id_fkey";
25786
+ columns: ["printer_id"];
25787
+ isOneToOne: false;
25788
+ referencedRelation: "printers";
25789
+ referencedColumns: ["id"];
25790
+ }];
25791
+ };
25339
25792
  email_auth_connections: {
25340
25793
  Row: {
25341
25794
  access_token_encrypted: string | null;
@@ -27277,42 +27730,6 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
27277
27730
  };
27278
27731
  Relationships: [];
27279
27732
  };
27280
- facturen: {
27281
- Row: {
27282
- bedrag_incl_btw: number;
27283
- created_at: string;
27284
- datum: string;
27285
- factuurnummer: string;
27286
- id: string;
27287
- klantnaam: string;
27288
- status: string;
27289
- updated_at: string;
27290
- user_id: string;
27291
- };
27292
- Insert: {
27293
- bedrag_incl_btw: number;
27294
- created_at?: string;
27295
- datum?: string;
27296
- factuurnummer: string;
27297
- id?: string;
27298
- klantnaam: string;
27299
- status?: string;
27300
- updated_at?: string;
27301
- user_id?: string;
27302
- };
27303
- Update: {
27304
- bedrag_incl_btw?: number;
27305
- created_at?: string;
27306
- datum?: string;
27307
- factuurnummer?: string;
27308
- id?: string;
27309
- klantnaam?: string;
27310
- status?: string;
27311
- updated_at?: string;
27312
- user_id?: string;
27313
- };
27314
- Relationships: [];
27315
- };
27316
27733
  floricode_connection_settings: {
27317
27734
  Row: {
27318
27735
  catalog_key: string | null;
@@ -29617,8 +30034,63 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
29617
30034
  };
29618
30035
  Relationships: [];
29619
30036
  };
30037
+ invoice_items: {
30038
+ Row: {
30039
+ created_at: string;
30040
+ description: string;
30041
+ id: string;
30042
+ invoice_id: string;
30043
+ kind: string;
30044
+ quantity: number;
30045
+ sort_order: number;
30046
+ source_line_ref: string | null;
30047
+ total_cents: number;
30048
+ unit: string;
30049
+ unit_price_cents: number;
30050
+ };
30051
+ Insert: {
30052
+ created_at?: string;
30053
+ description?: string;
30054
+ id?: string;
30055
+ invoice_id: string;
30056
+ kind?: string;
30057
+ quantity?: number;
30058
+ sort_order?: number;
30059
+ source_line_ref?: string | null;
30060
+ total_cents?: number;
30061
+ unit?: string;
30062
+ unit_price_cents?: number;
30063
+ };
30064
+ Update: {
30065
+ created_at?: string;
30066
+ description?: string;
30067
+ id?: string;
30068
+ invoice_id?: string;
30069
+ kind?: string;
30070
+ quantity?: number;
30071
+ sort_order?: number;
30072
+ source_line_ref?: string | null;
30073
+ total_cents?: number;
30074
+ unit?: string;
30075
+ unit_price_cents?: number;
30076
+ };
30077
+ Relationships: [{
30078
+ foreignKeyName: "invoice_items_invoice_id_fkey";
30079
+ columns: ["invoice_id"];
30080
+ isOneToOne: false;
30081
+ referencedRelation: "invoices";
30082
+ referencedColumns: ["id"];
30083
+ }, {
30084
+ foreignKeyName: "invoice_items_invoice_id_fkey";
30085
+ columns: ["invoice_id"];
30086
+ isOneToOne: false;
30087
+ referencedRelation: "uren_facturen";
30088
+ referencedColumns: ["id"];
30089
+ }];
30090
+ };
29620
30091
  invoice_post_idempotency: {
29621
30092
  Row: {
30093
+ administration_code: string;
29622
30094
  client_request_id: string;
29623
30095
  completed_at: string | null;
29624
30096
  created_at: string;
@@ -29628,6 +30100,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
29628
30100
  user_id: string;
29629
30101
  };
29630
30102
  Insert: {
30103
+ administration_code?: string;
29631
30104
  client_request_id: string;
29632
30105
  completed_at?: string | null;
29633
30106
  created_at?: string;
@@ -29637,6 +30110,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
29637
30110
  user_id: string;
29638
30111
  };
29639
30112
  Update: {
30113
+ administration_code?: string;
29640
30114
  client_request_id?: string;
29641
30115
  completed_at?: string | null;
29642
30116
  created_at?: string;
@@ -29842,6 +30316,75 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
29842
30316
  };
29843
30317
  Relationships: [];
29844
30318
  };
30319
+ invoices: {
30320
+ Row: {
30321
+ created_at: string;
30322
+ created_by: string | null;
30323
+ customer_id: string | null;
30324
+ customer_name: string | null;
30325
+ due_date: string | null;
30326
+ id: string;
30327
+ invoice_date: string;
30328
+ invoice_number: string | null;
30329
+ note: string | null;
30330
+ source_number: string | null;
30331
+ source_ref: string | null;
30332
+ source_type: string;
30333
+ status: string;
30334
+ subtotal_cents: number;
30335
+ total_cents: number;
30336
+ updated_at: string;
30337
+ vat_cents: number;
30338
+ vat_rate: number;
30339
+ };
30340
+ Insert: {
30341
+ created_at?: string;
30342
+ created_by?: string | null;
30343
+ customer_id?: string | null;
30344
+ customer_name?: string | null;
30345
+ due_date?: string | null;
30346
+ id?: string;
30347
+ invoice_date?: string;
30348
+ invoice_number?: string | null;
30349
+ note?: string | null;
30350
+ source_number?: string | null;
30351
+ source_ref?: string | null;
30352
+ source_type?: string;
30353
+ status?: string;
30354
+ subtotal_cents?: number;
30355
+ total_cents?: number;
30356
+ updated_at?: string;
30357
+ vat_cents?: number;
30358
+ vat_rate?: number;
30359
+ };
30360
+ Update: {
30361
+ created_at?: string;
30362
+ created_by?: string | null;
30363
+ customer_id?: string | null;
30364
+ customer_name?: string | null;
30365
+ due_date?: string | null;
30366
+ id?: string;
30367
+ invoice_date?: string;
30368
+ invoice_number?: string | null;
30369
+ note?: string | null;
30370
+ source_number?: string | null;
30371
+ source_ref?: string | null;
30372
+ source_type?: string;
30373
+ status?: string;
30374
+ subtotal_cents?: number;
30375
+ total_cents?: number;
30376
+ updated_at?: string;
30377
+ vat_cents?: number;
30378
+ vat_rate?: number;
30379
+ };
30380
+ Relationships: [{
30381
+ foreignKeyName: "invoices_customer_id_fkey";
30382
+ columns: ["customer_id"];
30383
+ isOneToOne: false;
30384
+ referencedRelation: "itk_customers";
30385
+ referencedColumns: ["id"];
30386
+ }];
30387
+ };
29845
30388
  itk_contact_persons: {
29846
30389
  Row: {
29847
30390
  created_at: string;
@@ -31189,6 +31732,9 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
31189
31732
  id: string;
31190
31733
  last_error: string | null;
31191
31734
  last_error_at: string | null;
31735
+ last_error_code: string | null;
31736
+ last_gateway_status: number | null;
31737
+ last_response: import("../integrations/supabase/types").Json | null;
31192
31738
  last_sent_hash: string | null;
31193
31739
  locked_by: string | null;
31194
31740
  locked_until: string | null;
@@ -31209,6 +31755,9 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
31209
31755
  id?: string;
31210
31756
  last_error?: string | null;
31211
31757
  last_error_at?: string | null;
31758
+ last_error_code?: string | null;
31759
+ last_gateway_status?: number | null;
31760
+ last_response?: import("../integrations/supabase/types").Json | null;
31212
31761
  last_sent_hash?: string | null;
31213
31762
  locked_by?: string | null;
31214
31763
  locked_until?: string | null;
@@ -31229,6 +31778,9 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
31229
31778
  id?: string;
31230
31779
  last_error?: string | null;
31231
31780
  last_error_at?: string | null;
31781
+ last_error_code?: string | null;
31782
+ last_gateway_status?: number | null;
31783
+ last_response?: import("../integrations/supabase/types").Json | null;
31232
31784
  last_sent_hash?: string | null;
31233
31785
  locked_by?: string | null;
31234
31786
  locked_until?: string | null;
@@ -32782,6 +33334,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
32782
33334
  enforce: boolean;
32783
33335
  is_active: boolean;
32784
33336
  last_seen_at: string;
33337
+ missing_count: number;
32785
33338
  module_id: string;
32786
33339
  name: string;
32787
33340
  shell_id: string | null;
@@ -32792,6 +33345,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
32792
33345
  enforce?: boolean;
32793
33346
  is_active?: boolean;
32794
33347
  last_seen_at?: string;
33348
+ missing_count?: number;
32795
33349
  module_id: string;
32796
33350
  name: string;
32797
33351
  shell_id?: string | null;
@@ -32802,6 +33356,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
32802
33356
  enforce?: boolean;
32803
33357
  is_active?: boolean;
32804
33358
  last_seen_at?: string;
33359
+ missing_count?: number;
32805
33360
  module_id?: string;
32806
33361
  name?: string;
32807
33362
  shell_id?: string | null;
@@ -33801,6 +34356,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
33801
34356
  };
33802
34357
  order_invoice_links: {
33803
34358
  Row: {
34359
+ administration_code: string | null;
33804
34360
  attempts: number;
33805
34361
  created_at: string;
33806
34362
  error_message: string | null;
@@ -33813,6 +34369,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
33813
34369
  updated_at: string;
33814
34370
  };
33815
34371
  Insert: {
34372
+ administration_code?: string | null;
33816
34373
  attempts?: number;
33817
34374
  created_at?: string;
33818
34375
  error_message?: string | null;
@@ -33825,6 +34382,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
33825
34382
  updated_at?: string;
33826
34383
  };
33827
34384
  Update: {
34385
+ administration_code?: string | null;
33828
34386
  attempts?: number;
33829
34387
  created_at?: string;
33830
34388
  error_message?: string | null;
@@ -34990,6 +35548,27 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
34990
35548
  referencedColumns: ["id"];
34991
35549
  }];
34992
35550
  };
35551
+ pick_sync_state: {
35552
+ Row: {
35553
+ id: boolean;
35554
+ last_cleanup_at: string | null;
35555
+ last_sync_at: string | null;
35556
+ updated_at: string;
35557
+ };
35558
+ Insert: {
35559
+ id?: boolean;
35560
+ last_cleanup_at?: string | null;
35561
+ last_sync_at?: string | null;
35562
+ updated_at?: string;
35563
+ };
35564
+ Update: {
35565
+ id?: boolean;
35566
+ last_cleanup_at?: string | null;
35567
+ last_sync_at?: string | null;
35568
+ updated_at?: string;
35569
+ };
35570
+ Relationships: [];
35571
+ };
34993
35572
  pick_task_document_types: {
34994
35573
  Row: {
34995
35574
  created_at: string;
@@ -35272,6 +35851,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
35272
35851
  gebruiker_id: string | null;
35273
35852
  gebruiker_naam: string;
35274
35853
  gestart_op: string | null;
35854
+ herkomst: string | null;
35275
35855
  id: string;
35276
35856
  idempotentie_sleutel: string | null;
35277
35857
  is_herprint: boolean;
@@ -35301,6 +35881,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
35301
35881
  gebruiker_id?: string | null;
35302
35882
  gebruiker_naam?: string;
35303
35883
  gestart_op?: string | null;
35884
+ herkomst?: string | null;
35304
35885
  id?: string;
35305
35886
  idempotentie_sleutel?: string | null;
35306
35887
  is_herprint?: boolean;
@@ -35330,6 +35911,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
35330
35911
  gebruiker_id?: string | null;
35331
35912
  gebruiker_naam?: string;
35332
35913
  gestart_op?: string | null;
35914
+ herkomst?: string | null;
35333
35915
  id?: string;
35334
35916
  idempotentie_sleutel?: string | null;
35335
35917
  is_herprint?: boolean;
@@ -38334,12 +38916,16 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
38334
38916
  company_name: string | null;
38335
38917
  connected_at: string | null;
38336
38918
  created_at: string;
38919
+ disconnected_at: string | null;
38337
38920
  environment: string;
38338
38921
  id: string;
38922
+ initial_sync_completed_at: string | null;
38923
+ initial_sync_started_at: string | null;
38339
38924
  is_active: boolean;
38340
38925
  label: string | null;
38341
38926
  office_code: string | null;
38342
38927
  redirect_uri: string | null;
38928
+ superseded_at: string | null;
38343
38929
  updated_at: string;
38344
38930
  user_id: string;
38345
38931
  };
@@ -38350,12 +38936,16 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
38350
38936
  company_name?: string | null;
38351
38937
  connected_at?: string | null;
38352
38938
  created_at?: string;
38939
+ disconnected_at?: string | null;
38353
38940
  environment: string;
38354
38941
  id?: string;
38942
+ initial_sync_completed_at?: string | null;
38943
+ initial_sync_started_at?: string | null;
38355
38944
  is_active?: boolean;
38356
38945
  label?: string | null;
38357
38946
  office_code?: string | null;
38358
38947
  redirect_uri?: string | null;
38948
+ superseded_at?: string | null;
38359
38949
  updated_at?: string;
38360
38950
  user_id: string;
38361
38951
  };
@@ -38366,12 +38956,16 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
38366
38956
  company_name?: string | null;
38367
38957
  connected_at?: string | null;
38368
38958
  created_at?: string;
38959
+ disconnected_at?: string | null;
38369
38960
  environment?: string;
38370
38961
  id?: string;
38962
+ initial_sync_completed_at?: string | null;
38963
+ initial_sync_started_at?: string | null;
38371
38964
  is_active?: boolean;
38372
38965
  label?: string | null;
38373
38966
  office_code?: string | null;
38374
38967
  redirect_uri?: string | null;
38968
+ superseded_at?: string | null;
38375
38969
  updated_at?: string;
38376
38970
  user_id?: string;
38377
38971
  };
@@ -38431,6 +39025,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
38431
39025
  twinfield_customers: {
38432
39026
  Row: {
38433
39027
  address: string | null;
39028
+ administration_code: string;
38434
39029
  city: string | null;
38435
39030
  country: string | null;
38436
39031
  created_at: string;
@@ -38450,6 +39045,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
38450
39045
  };
38451
39046
  Insert: {
38452
39047
  address?: string | null;
39048
+ administration_code?: string;
38453
39049
  city?: string | null;
38454
39050
  country?: string | null;
38455
39051
  created_at?: string;
@@ -38469,6 +39065,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
38469
39065
  };
38470
39066
  Update: {
38471
39067
  address?: string | null;
39068
+ administration_code?: string;
38472
39069
  city?: string | null;
38473
39070
  country?: string | null;
38474
39071
  created_at?: string;
@@ -38682,7 +39279,9 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
38682
39279
  };
38683
39280
  twinfield_invoice_settings: {
38684
39281
  Row: {
39282
+ administration_code: string | null;
38685
39283
  auto_invoice_enabled: boolean;
39284
+ auto_invoice_start_date: string | null;
38686
39285
  auto_invoice_trigger_statuses: string[];
38687
39286
  created_at: string;
38688
39287
  debtor_gl_account: string;
@@ -38696,15 +39295,19 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
38696
39295
  invoice_enabled_fo: boolean;
38697
39296
  invoice_enabled_ho: boolean;
38698
39297
  invoice_enabled_mo: boolean;
39298
+ needs_review: boolean;
38699
39299
  payment_gl_account: string;
38700
39300
  payment_journal_code: string;
39301
+ settings_confirmed_at: string | null;
38701
39302
  updated_at: string;
38702
39303
  user_id: string;
38703
39304
  vat_code_eu_reverse: string | null;
38704
39305
  vat_code_export: string | null;
38705
39306
  };
38706
39307
  Insert: {
39308
+ administration_code?: string | null;
38707
39309
  auto_invoice_enabled?: boolean;
39310
+ auto_invoice_start_date?: string | null;
38708
39311
  auto_invoice_trigger_statuses?: string[];
38709
39312
  created_at?: string;
38710
39313
  debtor_gl_account?: string;
@@ -38718,15 +39321,19 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
38718
39321
  invoice_enabled_fo?: boolean;
38719
39322
  invoice_enabled_ho?: boolean;
38720
39323
  invoice_enabled_mo?: boolean;
39324
+ needs_review?: boolean;
38721
39325
  payment_gl_account?: string;
38722
39326
  payment_journal_code?: string;
39327
+ settings_confirmed_at?: string | null;
38723
39328
  updated_at?: string;
38724
39329
  user_id: string;
38725
39330
  vat_code_eu_reverse?: string | null;
38726
39331
  vat_code_export?: string | null;
38727
39332
  };
38728
39333
  Update: {
39334
+ administration_code?: string | null;
38729
39335
  auto_invoice_enabled?: boolean;
39336
+ auto_invoice_start_date?: string | null;
38730
39337
  auto_invoice_trigger_statuses?: string[];
38731
39338
  created_at?: string;
38732
39339
  debtor_gl_account?: string;
@@ -38740,8 +39347,10 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
38740
39347
  invoice_enabled_fo?: boolean;
38741
39348
  invoice_enabled_ho?: boolean;
38742
39349
  invoice_enabled_mo?: boolean;
39350
+ needs_review?: boolean;
38743
39351
  payment_gl_account?: string;
38744
39352
  payment_journal_code?: string;
39353
+ settings_confirmed_at?: string | null;
38745
39354
  updated_at?: string;
38746
39355
  user_id?: string;
38747
39356
  vat_code_eu_reverse?: string | null;
@@ -39346,114 +39955,6 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
39346
39955
  };
39347
39956
  Relationships: [];
39348
39957
  };
39349
- uren_facturen: {
39350
- Row: {
39351
- created_at: string;
39352
- created_by: string | null;
39353
- customer_id: string | null;
39354
- customer_name: string | null;
39355
- id: string;
39356
- invoice_number: string | null;
39357
- note: string | null;
39358
- status: string;
39359
- total_excl_cents: number;
39360
- total_incl_cents: number;
39361
- updated_at: string;
39362
- vat_cents: number;
39363
- vat_percentage: number;
39364
- werkbon_id: string | null;
39365
- };
39366
- Insert: {
39367
- created_at?: string;
39368
- created_by?: string | null;
39369
- customer_id?: string | null;
39370
- customer_name?: string | null;
39371
- id?: string;
39372
- invoice_number?: string | null;
39373
- note?: string | null;
39374
- status?: string;
39375
- total_excl_cents?: number;
39376
- total_incl_cents?: number;
39377
- updated_at?: string;
39378
- vat_cents?: number;
39379
- vat_percentage?: number;
39380
- werkbon_id?: string | null;
39381
- };
39382
- Update: {
39383
- created_at?: string;
39384
- created_by?: string | null;
39385
- customer_id?: string | null;
39386
- customer_name?: string | null;
39387
- id?: string;
39388
- invoice_number?: string | null;
39389
- note?: string | null;
39390
- status?: string;
39391
- total_excl_cents?: number;
39392
- total_incl_cents?: number;
39393
- updated_at?: string;
39394
- vat_cents?: number;
39395
- vat_percentage?: number;
39396
- werkbon_id?: string | null;
39397
- };
39398
- Relationships: [{
39399
- foreignKeyName: "uren_facturen_customer_id_fkey";
39400
- columns: ["customer_id"];
39401
- isOneToOne: false;
39402
- referencedRelation: "itk_customers";
39403
- referencedColumns: ["id"];
39404
- }, {
39405
- foreignKeyName: "uren_facturen_werkbon_id_fkey";
39406
- columns: ["werkbon_id"];
39407
- isOneToOne: true;
39408
- referencedRelation: "werkbonnen";
39409
- referencedColumns: ["id"];
39410
- }];
39411
- };
39412
- uren_factuur_regels: {
39413
- Row: {
39414
- created_at: string;
39415
- description: string;
39416
- factuur_id: string;
39417
- id: string;
39418
- kind: string | null;
39419
- quantity: number;
39420
- sort_order: number;
39421
- total_cents: number;
39422
- unit: string;
39423
- unit_price_cents: number;
39424
- };
39425
- Insert: {
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
- Update: {
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
- Relationships: [{
39450
- foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
39451
- columns: ["factuur_id"];
39452
- isOneToOne: false;
39453
- referencedRelation: "uren_facturen";
39454
- referencedColumns: ["id"];
39455
- }];
39456
- };
39457
39958
  uren_offerte_regels: {
39458
39959
  Row: {
39459
39960
  created_at: string;
@@ -40707,6 +41208,9 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
40707
41208
  scheduled_end_time: string | null;
40708
41209
  scheduled_start_time: string | null;
40709
41210
  sequence_number: number;
41211
+ signature_accepted_at: string | null;
41212
+ signature_by_user_id: string | null;
41213
+ signature_name: string | null;
40710
41214
  source_email_meta: import("../integrations/supabase/types").Json | null;
40711
41215
  source_mailbox_message_id: string | null;
40712
41216
  source_pdf_path: string | null;
@@ -40742,6 +41246,9 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
40742
41246
  scheduled_end_time?: string | null;
40743
41247
  scheduled_start_time?: string | null;
40744
41248
  sequence_number: number;
41249
+ signature_accepted_at?: string | null;
41250
+ signature_by_user_id?: string | null;
41251
+ signature_name?: string | null;
40745
41252
  source_email_meta?: import("../integrations/supabase/types").Json | null;
40746
41253
  source_mailbox_message_id?: string | null;
40747
41254
  source_pdf_path?: string | null;
@@ -40777,6 +41284,9 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
40777
41284
  scheduled_end_time?: string | null;
40778
41285
  scheduled_start_time?: string | null;
40779
41286
  sequence_number?: number;
41287
+ signature_accepted_at?: string | null;
41288
+ signature_by_user_id?: string | null;
41289
+ signature_name?: string | null;
40780
41290
  source_email_meta?: import("../integrations/supabase/types").Json | null;
40781
41291
  source_mailbox_message_id?: string | null;
40782
41292
  source_pdf_path?: string | null;
@@ -41293,6 +41803,114 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
41293
41803
  };
41294
41804
  Relationships: [];
41295
41805
  };
41806
+ uren_facturen: {
41807
+ Row: {
41808
+ created_at: string | null;
41809
+ created_by: string | null;
41810
+ customer_id: string | null;
41811
+ customer_name: string | null;
41812
+ id: string | null;
41813
+ invoice_number: string | null;
41814
+ note: string | null;
41815
+ status: string | null;
41816
+ total_excl_cents: number | null;
41817
+ total_incl_cents: number | null;
41818
+ updated_at: string | null;
41819
+ vat_cents: number | null;
41820
+ vat_percentage: number | null;
41821
+ werkbon_id: string | null;
41822
+ };
41823
+ Insert: {
41824
+ created_at?: string | null;
41825
+ created_by?: string | null;
41826
+ customer_id?: string | null;
41827
+ customer_name?: string | null;
41828
+ id?: string | null;
41829
+ invoice_number?: string | null;
41830
+ note?: string | null;
41831
+ status?: string | null;
41832
+ total_excl_cents?: number | null;
41833
+ total_incl_cents?: number | null;
41834
+ updated_at?: string | null;
41835
+ vat_cents?: number | null;
41836
+ vat_percentage?: number | null;
41837
+ werkbon_id?: never;
41838
+ };
41839
+ Update: {
41840
+ created_at?: string | null;
41841
+ created_by?: string | null;
41842
+ customer_id?: string | null;
41843
+ customer_name?: string | null;
41844
+ id?: string | null;
41845
+ invoice_number?: string | null;
41846
+ note?: string | null;
41847
+ status?: string | null;
41848
+ total_excl_cents?: number | null;
41849
+ total_incl_cents?: number | null;
41850
+ updated_at?: string | null;
41851
+ vat_cents?: number | null;
41852
+ vat_percentage?: number | null;
41853
+ werkbon_id?: never;
41854
+ };
41855
+ Relationships: [{
41856
+ foreignKeyName: "invoices_customer_id_fkey";
41857
+ columns: ["customer_id"];
41858
+ isOneToOne: false;
41859
+ referencedRelation: "itk_customers";
41860
+ referencedColumns: ["id"];
41861
+ }];
41862
+ };
41863
+ uren_factuur_regels: {
41864
+ Row: {
41865
+ created_at: string | null;
41866
+ description: string | null;
41867
+ factuur_id: string | null;
41868
+ id: string | null;
41869
+ kind: string | null;
41870
+ quantity: number | null;
41871
+ sort_order: number | null;
41872
+ total_cents: number | null;
41873
+ unit: string | null;
41874
+ unit_price_cents: number | null;
41875
+ };
41876
+ Insert: {
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
+ Update: {
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
+ Relationships: [{
41901
+ foreignKeyName: "invoice_items_invoice_id_fkey";
41902
+ columns: ["factuur_id"];
41903
+ isOneToOne: false;
41904
+ referencedRelation: "invoices";
41905
+ referencedColumns: ["id"];
41906
+ }, {
41907
+ foreignKeyName: "invoice_items_invoice_id_fkey";
41908
+ columns: ["factuur_id"];
41909
+ isOneToOne: false;
41910
+ referencedRelation: "uren_facturen";
41911
+ referencedColumns: ["id"];
41912
+ }];
41913
+ };
41296
41914
  v_external_customers_exact: {
41297
41915
  Row: {
41298
41916
  account_number: string | null;
@@ -41798,6 +42416,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
41798
42416
  gebruiker_id: string | null;
41799
42417
  gebruiker_naam: string;
41800
42418
  gestart_op: string | null;
42419
+ herkomst: string | null;
41801
42420
  id: string;
41802
42421
  idempotentie_sleutel: string | null;
41803
42422
  is_herprint: boolean;
@@ -41918,6 +42537,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
41918
42537
  gebruiker_id: string | null;
41919
42538
  gebruiker_naam: string;
41920
42539
  gestart_op: string | null;
42540
+ herkomst: string | null;
41921
42541
  id: string;
41922
42542
  idempotentie_sleutel: string | null;
41923
42543
  is_herprint: boolean;
@@ -42519,6 +43139,46 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
42519
43139
  Args: never;
42520
43140
  Returns: boolean;
42521
43141
  };
43142
+ invoice_create_from_source: {
43143
+ Args: {
43144
+ _payload?: import("../integrations/supabase/types").Json;
43145
+ _source_id: string;
43146
+ _source_type: string;
43147
+ };
43148
+ Returns: import("../integrations/supabase/types").Json;
43149
+ };
43150
+ invoice_get_billable_lines: {
43151
+ Args: {
43152
+ _invoice_id: string;
43153
+ };
43154
+ Returns: import("../integrations/supabase/types").Json;
43155
+ };
43156
+ invoice_get_for_source: {
43157
+ Args: {
43158
+ _source_id: string;
43159
+ _source_type: string;
43160
+ };
43161
+ Returns: import("../integrations/supabase/types").Json;
43162
+ };
43163
+ invoice_get_summary: {
43164
+ Args: {
43165
+ _invoice_id: string;
43166
+ };
43167
+ Returns: import("../integrations/supabase/types").Json;
43168
+ };
43169
+ invoice_list_sources: {
43170
+ Args: {
43171
+ _limit?: number;
43172
+ _source_type?: string;
43173
+ };
43174
+ Returns: import("../integrations/supabase/types").Json;
43175
+ };
43176
+ invoice_recalc_totals: {
43177
+ Args: {
43178
+ _invoice_id: string;
43179
+ };
43180
+ Returns: import("../integrations/supabase/types").Json;
43181
+ };
42522
43182
  is_authenticated: {
42523
43183
  Args: never;
42524
43184
  Returns: boolean;
@@ -42587,6 +43247,29 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
42587
43247
  roles: string[];
42588
43248
  }[];
42589
43249
  };
43250
+ list_monteur_absences: {
43251
+ Args: {
43252
+ _from: string;
43253
+ _to: string;
43254
+ };
43255
+ Returns: {
43256
+ absence_date: string;
43257
+ end_time: string;
43258
+ full_day: boolean;
43259
+ kind: string;
43260
+ monteur_id: string;
43261
+ start_time: string;
43262
+ }[];
43263
+ };
43264
+ list_monteurs: {
43265
+ Args: never;
43266
+ Returns: {
43267
+ avatar_url: string;
43268
+ display_name: string;
43269
+ email: string;
43270
+ id: string;
43271
+ }[];
43272
+ };
42590
43273
  list_my_planning_items: {
42591
43274
  Args: {
42592
43275
  _from: string;
@@ -42998,6 +43681,23 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
42998
43681
  };
42999
43682
  Returns: string;
43000
43683
  };
43684
+ logistics_floriday_finish_push_v2: {
43685
+ Args: {
43686
+ _error?: string;
43687
+ _error_code?: string;
43688
+ _fulfillment_order_id?: string;
43689
+ _gateway_status?: number;
43690
+ _id: string;
43691
+ _max_age_hours?: number;
43692
+ _max_attempts?: number;
43693
+ _ok: boolean;
43694
+ _permanent?: boolean;
43695
+ _response?: import("../integrations/supabase/types").Json;
43696
+ _revision: number;
43697
+ _sent_hash?: string;
43698
+ };
43699
+ Returns: string;
43700
+ };
43001
43701
  logistics_floriday_prune_pushes: {
43002
43702
  Args: {
43003
43703
  _days?: number;
@@ -43540,6 +44240,13 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
43540
44240
  isSetofReturn: false;
43541
44241
  };
43542
44242
  };
44243
+ pick_cleanup_maintenance: {
44244
+ Args: {
44245
+ _heartbeat_hours?: number;
44246
+ _log_days?: number;
44247
+ };
44248
+ Returns: import("../integrations/supabase/types").Json;
44249
+ };
43543
44250
  pick_complete_print: {
43544
44251
  Args: {
43545
44252
  _printer_id: string;
@@ -43591,6 +44298,14 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
43591
44298
  Args: never;
43592
44299
  Returns: string;
43593
44300
  };
44301
+ pick_day_counts: {
44302
+ Args: {
44303
+ _pick_day?: string;
44304
+ _screen_id?: string;
44305
+ _station_id?: string;
44306
+ };
44307
+ Returns: import("../integrations/supabase/types").Json;
44308
+ };
43594
44309
  pick_document_layout_data: {
43595
44310
  Args: {
43596
44311
  _layout_id: string;
@@ -43628,6 +44343,14 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
43628
44343
  };
43629
44344
  Returns: undefined;
43630
44345
  };
44346
+ pick_reprint_document: {
44347
+ Args: {
44348
+ _queue_item_id: string;
44349
+ _session_id: string;
44350
+ _throttle_seconds?: number;
44351
+ };
44352
+ Returns: string;
44353
+ };
43631
44354
  pick_reset_print: {
43632
44355
  Args: {
43633
44356
  _queue_item_id: string;
@@ -43693,6 +44416,12 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
43693
44416
  };
43694
44417
  Returns: string;
43695
44418
  };
44419
+ pick_sync_queue_throttled: {
44420
+ Args: {
44421
+ _min_seconds?: number;
44422
+ };
44423
+ Returns: import("../integrations/supabase/types").Json;
44424
+ };
43696
44425
  pickstation_get_orders_raw: {
43697
44426
  Args: never;
43698
44427
  Returns: import("../integrations/supabase/types").Json;
@@ -43838,6 +44567,12 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
43838
44567
  };
43839
44568
  Returns: boolean;
43840
44569
  };
44570
+ release_stale_order_invoice_links: {
44571
+ Args: {
44572
+ _minutes?: number;
44573
+ };
44574
+ Returns: number;
44575
+ };
43841
44576
  reorder_customer_price_groups: {
43842
44577
  Args: {
43843
44578
  _ids: string[];
@@ -44356,6 +45091,20 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
44356
45091
  };
44357
45092
  Returns: undefined;
44358
45093
  };
45094
+ twinfield_deactivate_connection: {
45095
+ Args: {
45096
+ p_connection_id: string;
45097
+ p_user_id: string;
45098
+ };
45099
+ Returns: import("../integrations/supabase/types").Json;
45100
+ };
45101
+ twinfield_handle_administration_change: {
45102
+ Args: {
45103
+ _administration_code: string;
45104
+ _user_id: string;
45105
+ };
45106
+ Returns: undefined;
45107
+ };
44359
45108
  twinfield_prune_push_queue: {
44360
45109
  Args: never;
44361
45110
  Returns: number;
@@ -44375,10 +45124,11 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
44375
45124
  p_company_name?: string;
44376
45125
  p_environment: string;
44377
45126
  p_office_code?: string;
45127
+ p_reset_sync?: boolean;
44378
45128
  p_status?: string;
44379
45129
  p_user_id: string;
44380
45130
  };
44381
- Returns: string;
45131
+ Returns: import("../integrations/supabase/types").Json;
44382
45132
  };
44383
45133
  upsert_auto_fulfillment_log: {
44384
45134
  Args: {