@flowselections/floriday-voorraad 1.0.38 → 1.0.39

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 (120) hide show
  1. package/dist-lib/components/TemplatePage.d.ts +1 -1
  2. package/dist-lib/components/TemplatePage.d.ts.map +1 -1
  3. package/dist-lib/components/voorraad/AdditionalPackagingDialog.d.ts +1 -1
  4. package/dist-lib/components/voorraad/AdditionalPackagingDialog.d.ts.map +1 -1
  5. package/dist-lib/components/voorraad/ArtikelCompositionCard.d.ts +1 -1
  6. package/dist-lib/components/voorraad/ArtikelCompositionCard.d.ts.map +1 -1
  7. package/dist-lib/components/voorraad/ArtikelWizard.d.ts +1 -1
  8. package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
  9. package/dist-lib/components/voorraad/ConnectionBadge.d.ts +1 -1
  10. package/dist-lib/components/voorraad/ConnectionBadge.d.ts.map +1 -1
  11. package/dist-lib/components/voorraad/EditArtikelPage.d.ts +1 -1
  12. package/dist-lib/components/voorraad/EditArtikelPage.d.ts.map +1 -1
  13. package/dist-lib/components/voorraad/ExcelExportButton.d.ts +1 -1
  14. package/dist-lib/components/voorraad/ExcelExportButton.d.ts.map +1 -1
  15. package/dist-lib/components/voorraad/FloridayInfoCard.d.ts +1 -1
  16. package/dist-lib/components/voorraad/FloridayInfoCard.d.ts.map +1 -1
  17. package/dist-lib/components/voorraad/FloridayStatusBadge.d.ts +1 -1
  18. package/dist-lib/components/voorraad/FloridayStatusBadge.d.ts.map +1 -1
  19. package/dist-lib/components/voorraad/FustenPage.d.ts +1 -1
  20. package/dist-lib/components/voorraad/FustenPage.d.ts.map +1 -1
  21. package/dist-lib/components/voorraad/InventorySettingsDrawer.d.ts +10 -0
  22. package/dist-lib/components/voorraad/InventorySettingsDrawer.d.ts.map +1 -0
  23. package/dist-lib/components/voorraad/InventorySettingsDrawer.js +99 -0
  24. package/dist-lib/components/voorraad/InventoryStatusBadge.d.ts +6 -0
  25. package/dist-lib/components/voorraad/InventoryStatusBadge.d.ts.map +1 -0
  26. package/dist-lib/components/voorraad/InventoryStatusBadge.js +43 -0
  27. package/dist-lib/components/voorraad/ModuleHealthCard.d.ts +1 -1
  28. package/dist-lib/components/voorraad/ModuleHealthCard.d.ts.map +1 -1
  29. package/dist-lib/components/voorraad/NieuwArtikelPage.d.ts +1 -1
  30. package/dist-lib/components/voorraad/NieuwArtikelPage.d.ts.map +1 -1
  31. package/dist-lib/components/voorraad/OrderHistoryCard.d.ts +1 -1
  32. package/dist-lib/components/voorraad/OrderHistoryCard.d.ts.map +1 -1
  33. package/dist-lib/components/voorraad/PriceStatusBadge.d.ts +1 -1
  34. package/dist-lib/components/voorraad/PriceStatusBadge.d.ts.map +1 -1
  35. package/dist-lib/components/voorraad/ProductCustomFieldsCard.d.ts +1 -1
  36. package/dist-lib/components/voorraad/ProductCustomFieldsCard.d.ts.map +1 -1
  37. package/dist-lib/components/voorraad/ProductLinkCard.d.ts +1 -1
  38. package/dist-lib/components/voorraad/ProductLinkCard.d.ts.map +1 -1
  39. package/dist-lib/components/voorraad/PublicatiesPage.d.ts +1 -1
  40. package/dist-lib/components/voorraad/PublicatiesPage.d.ts.map +1 -1
  41. package/dist-lib/components/voorraad/PublishProgressCard.d.ts +1 -1
  42. package/dist-lib/components/voorraad/PublishProgressCard.d.ts.map +1 -1
  43. package/dist-lib/components/voorraad/PublishReadinessCard.d.ts +1 -1
  44. package/dist-lib/components/voorraad/PublishReadinessCard.d.ts.map +1 -1
  45. package/dist-lib/components/voorraad/StepSamenstelling.d.ts +1 -1
  46. package/dist-lib/components/voorraad/StepSamenstelling.d.ts.map +1 -1
  47. package/dist-lib/components/voorraad/StockBulkButtons.d.ts +1 -1
  48. package/dist-lib/components/voorraad/StockBulkButtons.d.ts.map +1 -1
  49. package/dist-lib/components/voorraad/StockHistoryChart.d.ts +4 -0
  50. package/dist-lib/components/voorraad/StockHistoryChart.d.ts.map +1 -0
  51. package/dist-lib/components/voorraad/StockHistoryChart.js +53 -0
  52. package/dist-lib/components/voorraad/StockPushMonitor.d.ts +1 -1
  53. package/dist-lib/components/voorraad/StockPushMonitor.d.ts.map +1 -1
  54. package/dist-lib/components/voorraad/StockSyncStatus.d.ts +1 -1
  55. package/dist-lib/components/voorraad/StockSyncStatus.d.ts.map +1 -1
  56. package/dist-lib/components/voorraad/ValidationOverviewTable.d.ts +1 -1
  57. package/dist-lib/components/voorraad/ValidationOverviewTable.d.ts.map +1 -1
  58. package/dist-lib/components/voorraad/ValidationPage.d.ts +1 -1
  59. package/dist-lib/components/voorraad/ValidationPage.d.ts.map +1 -1
  60. package/dist-lib/components/voorraad/VoorraadDashboard.d.ts +1 -1
  61. package/dist-lib/components/voorraad/VoorraadDashboard.d.ts.map +1 -1
  62. package/dist-lib/components/voorraad/VoorraadPage.d.ts +1 -1
  63. package/dist-lib/components/voorraad/VoorraadPage.d.ts.map +1 -1
  64. package/dist-lib/components/voorraad/VoorraadPage.js +29 -1
  65. package/dist-lib/components/voorraad/VoorraadPagination.d.ts +1 -1
  66. package/dist-lib/components/voorraad/VoorraadPagination.d.ts.map +1 -1
  67. package/dist-lib/components/voorraad/VoorraadStockCard.d.ts +1 -1
  68. package/dist-lib/components/voorraad/VoorraadStockCard.d.ts.map +1 -1
  69. package/dist-lib/components/voorraad/VoorraadTable.d.ts +10 -2
  70. package/dist-lib/components/voorraad/VoorraadTable.d.ts.map +1 -1
  71. package/dist-lib/components/voorraad/VoorraadTable.js +17 -6
  72. package/dist-lib/components/voorraad/VoorraadVeldenCard.d.ts +1 -1
  73. package/dist-lib/components/voorraad/VoorraadVeldenCard.d.ts.map +1 -1
  74. package/dist-lib/hooks/useInventorySettings.d.ts +29 -0
  75. package/dist-lib/hooks/useInventorySettings.d.ts.map +1 -0
  76. package/dist-lib/hooks/useInventorySettings.js +62 -0
  77. package/dist-lib/integrations/supabase/auth-middleware.d.ts +1195 -717
  78. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  79. package/dist-lib/integrations/supabase/client.d.ts +1195 -717
  80. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  81. package/dist-lib/integrations/supabase/client.js +1 -1
  82. package/dist-lib/integrations/supabase/client.server.d.ts +1195 -717
  83. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  84. package/dist-lib/integrations/supabase/client.server.js +1 -1
  85. package/dist-lib/integrations/supabase/types.d.ts +1208 -748
  86. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  87. package/dist-lib/lib/floricode-required-features.functions.d.ts +1196 -724
  88. package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
  89. package/dist-lib/lib/floriday-2026v1.server.d.ts +77 -0
  90. package/dist-lib/lib/floriday-2026v1.server.d.ts.map +1 -0
  91. package/dist-lib/lib/floriday-2026v1.server.js +178 -0
  92. package/dist-lib/lib/floriday-customer-offer.functions.d.ts +1198 -718
  93. package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
  94. package/dist-lib/lib/floriday-env.functions.d.ts +2180 -1224
  95. package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
  96. package/dist-lib/lib/floriday-gateway.functions.d.ts +6852 -3984
  97. package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
  98. package/dist-lib/lib/floriday-stock-supply.server.d.ts +18 -7
  99. package/dist-lib/lib/floriday-stock-supply.server.d.ts.map +1 -1
  100. package/dist-lib/lib/floriday-stock-supply.server.js +70 -68
  101. package/dist-lib/lib/floriday-vbn-required.functions.d.ts +2180 -1224
  102. package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
  103. package/dist-lib/lib/floriday-warehouse.functions.d.ts +3476 -2042
  104. package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
  105. package/dist-lib/lib/floriday-writes.functions.d.ts +2180 -1224
  106. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  107. package/dist-lib/lib/inventory-settings.functions.d.ts +47391 -0
  108. package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -0
  109. package/dist-lib/lib/inventory-settings.functions.js +97 -0
  110. package/dist-lib/lib/module-health.functions.d.ts +2180 -1224
  111. package/dist-lib/lib/module-health.functions.d.ts.map +1 -1
  112. package/dist-lib/lib/stock-sync.functions.d.ts +2180 -1224
  113. package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
  114. package/package.json +1 -1
  115. package/dist-lib/components/settings/VoorraadSettingsCard.d.ts +0 -2
  116. package/dist-lib/components/settings/VoorraadSettingsCard.d.ts.map +0 -1
  117. package/dist-lib/components/settings/VoorraadSettingsCard.js +0 -39
  118. package/dist-lib/components/voorraad/ConnectionPicker.d.ts +0 -8
  119. package/dist-lib/components/voorraad/ConnectionPicker.d.ts.map +0 -1
  120. package/dist-lib/components/voorraad/ConnectionPicker.js +0 -8
@@ -2851,6 +2851,84 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
2851
2851
  };
2852
2852
  Relationships: [];
2853
2853
  };
2854
+ delivery_notes: {
2855
+ Row: {
2856
+ byte_size: number | null;
2857
+ connection_id: string | null;
2858
+ content_type: string;
2859
+ created_at: string;
2860
+ error_message: string | null;
2861
+ fetched_at: string | null;
2862
+ fulfillment_order_id: string | null;
2863
+ http_status: number | null;
2864
+ id: string;
2865
+ label_code: string | null;
2866
+ letter: string | null;
2867
+ load_carrier_index: number | null;
2868
+ load_carrier_type: string | null;
2869
+ order_id: string | null;
2870
+ order_number: string | null;
2871
+ packages: number | null;
2872
+ source: string;
2873
+ status: string;
2874
+ storage_bucket: string;
2875
+ storage_path: string | null;
2876
+ updated_at: string;
2877
+ };
2878
+ Insert: {
2879
+ byte_size?: number | null;
2880
+ connection_id?: string | null;
2881
+ content_type?: string;
2882
+ created_at?: string;
2883
+ error_message?: string | null;
2884
+ fetched_at?: string | null;
2885
+ fulfillment_order_id?: string | null;
2886
+ http_status?: number | null;
2887
+ id?: string;
2888
+ label_code?: string | null;
2889
+ letter?: string | null;
2890
+ load_carrier_index?: number | null;
2891
+ load_carrier_type?: string | null;
2892
+ order_id?: string | null;
2893
+ order_number?: string | null;
2894
+ packages?: number | null;
2895
+ source?: string;
2896
+ status?: string;
2897
+ storage_bucket?: string;
2898
+ storage_path?: string | null;
2899
+ updated_at?: string;
2900
+ };
2901
+ Update: {
2902
+ byte_size?: number | null;
2903
+ connection_id?: string | null;
2904
+ content_type?: string;
2905
+ created_at?: string;
2906
+ error_message?: string | null;
2907
+ fetched_at?: string | null;
2908
+ fulfillment_order_id?: string | null;
2909
+ http_status?: number | null;
2910
+ id?: string;
2911
+ label_code?: string | null;
2912
+ letter?: string | null;
2913
+ load_carrier_index?: number | null;
2914
+ load_carrier_type?: string | null;
2915
+ order_id?: string | null;
2916
+ order_number?: string | null;
2917
+ packages?: number | null;
2918
+ source?: string;
2919
+ status?: string;
2920
+ storage_bucket?: string;
2921
+ storage_path?: string | null;
2922
+ updated_at?: string;
2923
+ };
2924
+ Relationships: [{
2925
+ foreignKeyName: "delivery_notes_order_id_fkey";
2926
+ columns: ["order_id"];
2927
+ isOneToOne: false;
2928
+ referencedRelation: "orders";
2929
+ referencedColumns: ["id"];
2930
+ }];
2931
+ };
2854
2932
  document_bronregels: {
2855
2933
  Row: {
2856
2934
  bron: string;
@@ -5904,10 +5982,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
5904
5982
  };
5905
5983
  floriday_connections: {
5906
5984
  Row: {
5907
- access_token: string | null;
5908
5985
  api_key: string;
5909
- client_id: string;
5910
- client_secret: string;
5911
5986
  created_at: string;
5912
5987
  customers_endpoint: string | null;
5913
5988
  environment: string;
@@ -5922,10 +5997,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
5922
5997
  updated_at: string;
5923
5998
  };
5924
5999
  Insert: {
5925
- access_token?: string | null;
5926
6000
  api_key: string;
5927
- client_id: string;
5928
- client_secret: string;
5929
6001
  created_at?: string;
5930
6002
  customers_endpoint?: string | null;
5931
6003
  environment: string;
@@ -5940,10 +6012,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
5940
6012
  updated_at?: string;
5941
6013
  };
5942
6014
  Update: {
5943
- access_token?: string | null;
5944
6015
  api_key?: string;
5945
- client_id?: string;
5946
- client_secret?: string;
5947
6016
  created_at?: string;
5948
6017
  customers_endpoint?: string | null;
5949
6018
  environment?: string;
@@ -6027,6 +6096,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
6027
6096
  attempts: number;
6028
6097
  connection_id: string;
6029
6098
  created_at: string;
6099
+ dead_lettered_at: string | null;
6030
6100
  desired_available: boolean | null;
6031
6101
  gateway_attempt_id: string | null;
6032
6102
  id: string;
@@ -6035,9 +6105,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
6035
6105
  locked_by: string | null;
6036
6106
  next_attempt_at: string;
6037
6107
  number_of_pieces: number;
6108
+ product_id: string | null;
6038
6109
  sent_at: string | null;
6039
6110
  status: string;
6111
+ stock_mode: string | null;
6040
6112
  superseded_by: string | null;
6113
+ target_week: number | null;
6114
+ target_year: number | null;
6041
6115
  trade_item_id: string;
6042
6116
  updated_at: string;
6043
6117
  user_id: string;
@@ -6046,6 +6120,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
6046
6120
  attempts?: number;
6047
6121
  connection_id: string;
6048
6122
  created_at?: string;
6123
+ dead_lettered_at?: string | null;
6049
6124
  desired_available?: boolean | null;
6050
6125
  gateway_attempt_id?: string | null;
6051
6126
  id?: string;
@@ -6054,9 +6129,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
6054
6129
  locked_by?: string | null;
6055
6130
  next_attempt_at?: string;
6056
6131
  number_of_pieces?: number;
6132
+ product_id?: string | null;
6057
6133
  sent_at?: string | null;
6058
6134
  status?: string;
6135
+ stock_mode?: string | null;
6059
6136
  superseded_by?: string | null;
6137
+ target_week?: number | null;
6138
+ target_year?: number | null;
6060
6139
  trade_item_id: string;
6061
6140
  updated_at?: string;
6062
6141
  user_id: string;
@@ -6065,6 +6144,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
6065
6144
  attempts?: number;
6066
6145
  connection_id?: string;
6067
6146
  created_at?: string;
6147
+ dead_lettered_at?: string | null;
6068
6148
  desired_available?: boolean | null;
6069
6149
  gateway_attempt_id?: string | null;
6070
6150
  id?: string;
@@ -6073,9 +6153,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
6073
6153
  locked_by?: string | null;
6074
6154
  next_attempt_at?: string;
6075
6155
  number_of_pieces?: number;
6156
+ product_id?: string | null;
6076
6157
  sent_at?: string | null;
6077
6158
  status?: string;
6159
+ stock_mode?: string | null;
6078
6160
  superseded_by?: string | null;
6161
+ target_week?: number | null;
6162
+ target_year?: number | null;
6079
6163
  trade_item_id?: string;
6080
6164
  updated_at?: string;
6081
6165
  user_id?: string;
@@ -6484,6 +6568,87 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
6484
6568
  referencedColumns: ["id"];
6485
6569
  }];
6486
6570
  };
6571
+ floriday_inventory_settings: {
6572
+ Row: {
6573
+ buffer_quantity: number;
6574
+ connection_id: string;
6575
+ created_at: string;
6576
+ desired_availability: boolean;
6577
+ desired_quantity: number;
6578
+ fixed_quantity: number | null;
6579
+ floriday_trade_item_id: string | null;
6580
+ id: string;
6581
+ last_confirmed_at: string | null;
6582
+ last_enqueued_at: string | null;
6583
+ last_published_at: string | null;
6584
+ last_sync_error: string | null;
6585
+ manual_quantity: number | null;
6586
+ maximum_quantity: number | null;
6587
+ product_id: string;
6588
+ quantity_control: string;
6589
+ remote_available: boolean | null;
6590
+ remote_checked_at: string | null;
6591
+ remote_quantity: number | null;
6592
+ stock_mode: string;
6593
+ sync_status: string;
6594
+ updated_at: string;
6595
+ updated_by: string | null;
6596
+ user_id: string;
6597
+ };
6598
+ Insert: {
6599
+ buffer_quantity?: number;
6600
+ connection_id: string;
6601
+ created_at?: string;
6602
+ desired_availability?: boolean;
6603
+ desired_quantity?: number;
6604
+ fixed_quantity?: number | null;
6605
+ floriday_trade_item_id?: string | null;
6606
+ id?: string;
6607
+ last_confirmed_at?: string | null;
6608
+ last_enqueued_at?: string | null;
6609
+ last_published_at?: string | null;
6610
+ last_sync_error?: string | null;
6611
+ manual_quantity?: number | null;
6612
+ maximum_quantity?: number | null;
6613
+ product_id: string;
6614
+ quantity_control?: string;
6615
+ remote_available?: boolean | null;
6616
+ remote_checked_at?: string | null;
6617
+ remote_quantity?: number | null;
6618
+ stock_mode?: string;
6619
+ sync_status?: string;
6620
+ updated_at?: string;
6621
+ updated_by?: string | null;
6622
+ user_id: string;
6623
+ };
6624
+ Update: {
6625
+ buffer_quantity?: number;
6626
+ connection_id?: string;
6627
+ created_at?: string;
6628
+ desired_availability?: boolean;
6629
+ desired_quantity?: number;
6630
+ fixed_quantity?: number | null;
6631
+ floriday_trade_item_id?: string | null;
6632
+ id?: string;
6633
+ last_confirmed_at?: string | null;
6634
+ last_enqueued_at?: string | null;
6635
+ last_published_at?: string | null;
6636
+ last_sync_error?: string | null;
6637
+ manual_quantity?: number | null;
6638
+ maximum_quantity?: number | null;
6639
+ product_id?: string;
6640
+ quantity_control?: string;
6641
+ remote_available?: boolean | null;
6642
+ remote_checked_at?: string | null;
6643
+ remote_quantity?: number | null;
6644
+ stock_mode?: string;
6645
+ sync_status?: string;
6646
+ updated_at?: string;
6647
+ updated_by?: string | null;
6648
+ user_id?: string;
6649
+ };
6650
+ Relationships: [];
6651
+ };
6487
6652
  floriday_invoices_cache: {
6488
6653
  Row: {
6489
6654
  buyer_organization_id: string | null;
@@ -6772,6 +6937,39 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
6772
6937
  };
6773
6938
  Relationships: [];
6774
6939
  };
6940
+ floriday_sales_order_ingest: {
6941
+ Row: {
6942
+ connection_id: string;
6943
+ created_at: string;
6944
+ id: string;
6945
+ impact: import("./types").Json;
6946
+ order_status: string | null;
6947
+ order_version: number;
6948
+ processed_at: string;
6949
+ sales_order_id: string;
6950
+ };
6951
+ Insert: {
6952
+ connection_id: string;
6953
+ created_at?: string;
6954
+ id?: string;
6955
+ impact?: import("./types").Json;
6956
+ order_status?: string | null;
6957
+ order_version?: number;
6958
+ processed_at?: string;
6959
+ sales_order_id: string;
6960
+ };
6961
+ Update: {
6962
+ connection_id?: string;
6963
+ created_at?: string;
6964
+ id?: string;
6965
+ impact?: import("./types").Json;
6966
+ order_status?: string | null;
6967
+ order_version?: number;
6968
+ processed_at?: string;
6969
+ sales_order_id?: string;
6970
+ };
6971
+ Relationships: [];
6972
+ };
6775
6973
  floriday_sales_strategies_cache: {
6776
6974
  Row: {
6777
6975
  connection_id: string;
@@ -6871,6 +7069,39 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
6871
7069
  };
6872
7070
  Relationships: [];
6873
7071
  };
7072
+ floriday_sync_cursors: {
7073
+ Row: {
7074
+ connection_id: string;
7075
+ created_at: string;
7076
+ id: string;
7077
+ last_error: string | null;
7078
+ last_sync_at: string | null;
7079
+ resource_type: string;
7080
+ sequence_number: number;
7081
+ updated_at: string;
7082
+ };
7083
+ Insert: {
7084
+ connection_id: string;
7085
+ created_at?: string;
7086
+ id?: string;
7087
+ last_error?: string | null;
7088
+ last_sync_at?: string | null;
7089
+ resource_type: string;
7090
+ sequence_number?: number;
7091
+ updated_at?: string;
7092
+ };
7093
+ Update: {
7094
+ connection_id?: string;
7095
+ created_at?: string;
7096
+ id?: string;
7097
+ last_error?: string | null;
7098
+ last_sync_at?: string | null;
7099
+ resource_type?: string;
7100
+ sequence_number?: number;
7101
+ updated_at?: string;
7102
+ };
7103
+ Relationships: [];
7104
+ };
6874
7105
  floriday_sync_state: {
6875
7106
  Row: {
6876
7107
  connection_id: string;
@@ -7561,6 +7792,42 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
7561
7792
  };
7562
7793
  Relationships: [];
7563
7794
  };
7795
+ inventory_stock_snapshots: {
7796
+ Row: {
7797
+ connection_id: string;
7798
+ created_at: string;
7799
+ erp_available_quantity: number;
7800
+ floriday_desired_quantity: number;
7801
+ floriday_remote_quantity: number | null;
7802
+ granularity: string;
7803
+ id: string;
7804
+ snapshot_at: string;
7805
+ user_id: string | null;
7806
+ };
7807
+ Insert: {
7808
+ connection_id: string;
7809
+ created_at?: string;
7810
+ erp_available_quantity?: number;
7811
+ floriday_desired_quantity?: number;
7812
+ floriday_remote_quantity?: number | null;
7813
+ granularity?: string;
7814
+ id?: string;
7815
+ snapshot_at?: string;
7816
+ user_id?: string | null;
7817
+ };
7818
+ Update: {
7819
+ connection_id?: string;
7820
+ created_at?: string;
7821
+ erp_available_quantity?: number;
7822
+ floriday_desired_quantity?: number;
7823
+ floriday_remote_quantity?: number | null;
7824
+ granularity?: string;
7825
+ id?: string;
7826
+ snapshot_at?: string;
7827
+ user_id?: string | null;
7828
+ };
7829
+ Relationships: [];
7830
+ };
7564
7831
  invoice_items: {
7565
7832
  Row: {
7566
7833
  created_at: string;
@@ -8069,13 +8336,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8069
8336
  segment?: Database["public"]["Enums"]["itk_customer_segment"];
8070
8337
  updated_at?: string;
8071
8338
  };
8072
- Relationships: [{
8073
- foreignKeyName: "itk_customers_legacy_customer_id_fkey";
8074
- columns: ["legacy_customer_id"];
8075
- isOneToOne: false;
8076
- referencedRelation: "customers";
8077
- referencedColumns: ["id"];
8078
- }];
8339
+ Relationships: [];
8079
8340
  };
8080
8341
  itk_dynamic_fields: {
8081
8342
  Row: {
@@ -8107,104 +8368,278 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
8107
8368
  };
8108
8369
  Relationships: [];
8109
8370
  };
8110
- itk_offerte_events: {
8371
+ itk_handover_rechten: {
8111
8372
  Row: {
8112
8373
  created_at: string;
8113
- event_type: string;
8114
8374
  id: string;
8115
- metadata: import("./types").Json;
8116
- offerte_id: string;
8117
- omschrijving: string | null;
8375
+ module_id: string;
8376
+ rol: Database["public"]["Enums"]["app_role"] | null;
8377
+ updated_at: string;
8118
8378
  user_id: string | null;
8119
8379
  };
8120
8380
  Insert: {
8121
8381
  created_at?: string;
8122
- event_type: string;
8123
8382
  id?: string;
8124
- metadata?: import("./types").Json;
8125
- offerte_id: string;
8126
- omschrijving?: string | null;
8383
+ module_id: string;
8384
+ rol?: Database["public"]["Enums"]["app_role"] | null;
8385
+ updated_at?: string;
8127
8386
  user_id?: string | null;
8128
8387
  };
8129
8388
  Update: {
8130
8389
  created_at?: string;
8131
- event_type?: string;
8132
8390
  id?: string;
8133
- metadata?: import("./types").Json;
8134
- offerte_id?: string;
8135
- omschrijving?: string | null;
8391
+ module_id?: string;
8392
+ rol?: Database["public"]["Enums"]["app_role"] | null;
8393
+ updated_at?: string;
8136
8394
  user_id?: string | null;
8137
8395
  };
8138
- Relationships: [{
8139
- foreignKeyName: "itk_offerte_events_offerte_id_fkey";
8140
- columns: ["offerte_id"];
8141
- isOneToOne: false;
8142
- referencedRelation: "itk_offertes";
8143
- referencedColumns: ["id"];
8144
- }];
8396
+ Relationships: [];
8145
8397
  };
8146
- itk_offerte_regels: {
8398
+ itk_handover_tokens: {
8147
8399
  Row: {
8400
+ aangemaakt_door: string | null;
8148
8401
  created_at: string;
8149
8402
  id: string;
8150
- line_total_cents: number;
8151
- offerte_id: string;
8152
- omschrijving: string;
8153
- package_id: string | null;
8154
- quantity: number;
8155
- sort_order: number;
8156
- source: string;
8157
- unit_price_cents: number;
8403
+ is_actief: boolean;
8404
+ laatst_gebruikt_op: string | null;
8405
+ label: string;
8406
+ module_id: string;
8407
+ token_hash: string;
8158
8408
  updated_at: string;
8409
+ verloopt_op: string | null;
8159
8410
  };
8160
8411
  Insert: {
8412
+ aangemaakt_door?: string | null;
8161
8413
  created_at?: string;
8162
8414
  id?: string;
8163
- line_total_cents?: number;
8164
- offerte_id: string;
8165
- omschrijving?: string;
8166
- package_id?: string | null;
8167
- quantity?: number;
8168
- sort_order?: number;
8169
- source?: string;
8170
- unit_price_cents?: number;
8415
+ is_actief?: boolean;
8416
+ laatst_gebruikt_op?: string | null;
8417
+ label?: string;
8418
+ module_id: string;
8419
+ token_hash: string;
8171
8420
  updated_at?: string;
8421
+ verloopt_op?: string | null;
8172
8422
  };
8173
8423
  Update: {
8424
+ aangemaakt_door?: string | null;
8174
8425
  created_at?: string;
8175
8426
  id?: string;
8176
- line_total_cents?: number;
8177
- offerte_id?: string;
8178
- omschrijving?: string;
8179
- package_id?: string | null;
8180
- quantity?: number;
8181
- sort_order?: number;
8182
- source?: string;
8183
- unit_price_cents?: number;
8427
+ is_actief?: boolean;
8428
+ laatst_gebruikt_op?: string | null;
8429
+ label?: string;
8430
+ module_id?: string;
8431
+ token_hash?: string;
8184
8432
  updated_at?: string;
8433
+ verloopt_op?: string | null;
8185
8434
  };
8186
- Relationships: [{
8187
- foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
8188
- columns: ["offerte_id"];
8189
- isOneToOne: false;
8190
- referencedRelation: "itk_offertes";
8191
- referencedColumns: ["id"];
8192
- }, {
8193
- foreignKeyName: "itk_offerte_regels_package_id_fkey";
8194
- columns: ["package_id"];
8195
- isOneToOne: false;
8196
- referencedRelation: "werkbon_packages";
8197
- referencedColumns: ["id"];
8198
- }];
8435
+ Relationships: [];
8199
8436
  };
8200
- itk_offerte_settings: {
8437
+ itk_module_handovers: {
8201
8438
  Row: {
8202
- auto_convert_binnen_mandaat: boolean;
8439
+ bevindingen: string | null;
8440
+ bezit_tabellen: string[];
8441
+ conflicten_snapshot: import("./types").Json;
8442
+ contractfuncties: string[];
8203
8443
  created_at: string;
8204
- default_geldigheid_dagen: number;
8205
- default_vat_rate: number;
8444
+ eigenaar_module_id: string | null;
8445
+ gepubliceerd_door: string | null;
8446
+ gepubliceerd_op: string;
8447
+ herzieningstermijn_dagen: number;
8206
8448
  id: string;
8207
- singleton: boolean;
8449
+ inhoud_md: string;
8450
+ is_actueel: boolean;
8451
+ module_id: string;
8452
+ module_titel: string;
8453
+ ontbrekende_contracten: string[];
8454
+ samenvatting: string | null;
8455
+ updated_at: string;
8456
+ versie: number;
8457
+ };
8458
+ Insert: {
8459
+ bevindingen?: string | null;
8460
+ bezit_tabellen?: string[];
8461
+ conflicten_snapshot?: import("./types").Json;
8462
+ contractfuncties?: string[];
8463
+ created_at?: string;
8464
+ eigenaar_module_id?: string | null;
8465
+ gepubliceerd_door?: string | null;
8466
+ gepubliceerd_op?: string;
8467
+ herzieningstermijn_dagen?: number;
8468
+ id?: string;
8469
+ inhoud_md: string;
8470
+ is_actueel?: boolean;
8471
+ module_id: string;
8472
+ module_titel: string;
8473
+ ontbrekende_contracten?: string[];
8474
+ samenvatting?: string | null;
8475
+ updated_at?: string;
8476
+ versie?: number;
8477
+ };
8478
+ Update: {
8479
+ bevindingen?: string | null;
8480
+ bezit_tabellen?: string[];
8481
+ conflicten_snapshot?: import("./types").Json;
8482
+ contractfuncties?: string[];
8483
+ created_at?: string;
8484
+ eigenaar_module_id?: string | null;
8485
+ gepubliceerd_door?: string | null;
8486
+ gepubliceerd_op?: string;
8487
+ herzieningstermijn_dagen?: number;
8488
+ id?: string;
8489
+ inhoud_md?: string;
8490
+ is_actueel?: boolean;
8491
+ module_id?: string;
8492
+ module_titel?: string;
8493
+ ontbrekende_contracten?: string[];
8494
+ samenvatting?: string | null;
8495
+ updated_at?: string;
8496
+ versie?: number;
8497
+ };
8498
+ Relationships: [];
8499
+ };
8500
+ itk_module_instructies: {
8501
+ Row: {
8502
+ created_at: string;
8503
+ eigenaar_module_id: string;
8504
+ gepubliceerd_door: string | null;
8505
+ gepubliceerd_op: string;
8506
+ id: string;
8507
+ inhoud_md: string;
8508
+ is_actueel: boolean;
8509
+ sleutel: string;
8510
+ titel: string;
8511
+ toelichting: string | null;
8512
+ updated_at: string;
8513
+ versie: number;
8514
+ };
8515
+ Insert: {
8516
+ created_at?: string;
8517
+ eigenaar_module_id?: string;
8518
+ gepubliceerd_door?: string | null;
8519
+ gepubliceerd_op?: string;
8520
+ id?: string;
8521
+ inhoud_md: string;
8522
+ is_actueel?: boolean;
8523
+ sleutel: string;
8524
+ titel: string;
8525
+ toelichting?: string | null;
8526
+ updated_at?: string;
8527
+ versie?: number;
8528
+ };
8529
+ Update: {
8530
+ created_at?: string;
8531
+ eigenaar_module_id?: string;
8532
+ gepubliceerd_door?: string | null;
8533
+ gepubliceerd_op?: string;
8534
+ id?: string;
8535
+ inhoud_md?: string;
8536
+ is_actueel?: boolean;
8537
+ sleutel?: string;
8538
+ titel?: string;
8539
+ toelichting?: string | null;
8540
+ updated_at?: string;
8541
+ versie?: number;
8542
+ };
8543
+ Relationships: [];
8544
+ };
8545
+ itk_offerte_events: {
8546
+ Row: {
8547
+ created_at: string;
8548
+ event_type: string;
8549
+ id: string;
8550
+ metadata: import("./types").Json;
8551
+ offerte_id: string;
8552
+ omschrijving: string | null;
8553
+ user_id: string | null;
8554
+ };
8555
+ Insert: {
8556
+ created_at?: string;
8557
+ event_type: string;
8558
+ id?: string;
8559
+ metadata?: import("./types").Json;
8560
+ offerte_id: string;
8561
+ omschrijving?: string | null;
8562
+ user_id?: string | null;
8563
+ };
8564
+ Update: {
8565
+ created_at?: string;
8566
+ event_type?: string;
8567
+ id?: string;
8568
+ metadata?: import("./types").Json;
8569
+ offerte_id?: string;
8570
+ omschrijving?: string | null;
8571
+ user_id?: string | null;
8572
+ };
8573
+ Relationships: [{
8574
+ foreignKeyName: "itk_offerte_events_offerte_id_fkey";
8575
+ columns: ["offerte_id"];
8576
+ isOneToOne: false;
8577
+ referencedRelation: "itk_offertes";
8578
+ referencedColumns: ["id"];
8579
+ }];
8580
+ };
8581
+ itk_offerte_regels: {
8582
+ Row: {
8583
+ created_at: string;
8584
+ id: string;
8585
+ line_total_cents: number;
8586
+ offerte_id: string;
8587
+ omschrijving: string;
8588
+ package_id: string | null;
8589
+ quantity: number;
8590
+ sort_order: number;
8591
+ source: string;
8592
+ unit_price_cents: number;
8593
+ updated_at: string;
8594
+ };
8595
+ Insert: {
8596
+ created_at?: string;
8597
+ id?: string;
8598
+ line_total_cents?: number;
8599
+ offerte_id: string;
8600
+ omschrijving?: string;
8601
+ package_id?: string | null;
8602
+ quantity?: number;
8603
+ sort_order?: number;
8604
+ source?: string;
8605
+ unit_price_cents?: number;
8606
+ updated_at?: string;
8607
+ };
8608
+ Update: {
8609
+ created_at?: string;
8610
+ id?: string;
8611
+ line_total_cents?: number;
8612
+ offerte_id?: string;
8613
+ omschrijving?: string;
8614
+ package_id?: string | null;
8615
+ quantity?: number;
8616
+ sort_order?: number;
8617
+ source?: string;
8618
+ unit_price_cents?: number;
8619
+ updated_at?: string;
8620
+ };
8621
+ Relationships: [{
8622
+ foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
8623
+ columns: ["offerte_id"];
8624
+ isOneToOne: false;
8625
+ referencedRelation: "itk_offertes";
8626
+ referencedColumns: ["id"];
8627
+ }, {
8628
+ foreignKeyName: "itk_offerte_regels_package_id_fkey";
8629
+ columns: ["package_id"];
8630
+ isOneToOne: false;
8631
+ referencedRelation: "werkbon_packages";
8632
+ referencedColumns: ["id"];
8633
+ }];
8634
+ };
8635
+ itk_offerte_settings: {
8636
+ Row: {
8637
+ auto_convert_binnen_mandaat: boolean;
8638
+ created_at: string;
8639
+ default_geldigheid_dagen: number;
8640
+ default_vat_rate: number;
8641
+ id: string;
8642
+ singleton: boolean;
8208
8643
  updated_at: string;
8209
8644
  };
8210
8645
  Insert: {
@@ -10735,6 +11170,24 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
10735
11170
  };
10736
11171
  Relationships: [];
10737
11172
  };
11173
+ maps_job_lease: {
11174
+ Row: {
11175
+ job: string;
11176
+ locked_until: string;
11177
+ updated_at: string;
11178
+ };
11179
+ Insert: {
11180
+ job: string;
11181
+ locked_until?: string;
11182
+ updated_at?: string;
11183
+ };
11184
+ Update: {
11185
+ job?: string;
11186
+ locked_until?: string;
11187
+ updated_at?: string;
11188
+ };
11189
+ Relationships: [];
11190
+ };
10738
11191
  maps_request_queue: {
10739
11192
  Row: {
10740
11193
  attempts: number;
@@ -10796,6 +11249,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
10796
11249
  last_error: string | null;
10797
11250
  last_error_at: string | null;
10798
11251
  last_success_at: string | null;
11252
+ provider: string;
10799
11253
  updated_at: string;
10800
11254
  };
10801
11255
  Insert: {
@@ -10807,6 +11261,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
10807
11261
  last_error?: string | null;
10808
11262
  last_error_at?: string | null;
10809
11263
  last_success_at?: string | null;
11264
+ provider?: string;
10810
11265
  updated_at?: string;
10811
11266
  };
10812
11267
  Update: {
@@ -10818,6 +11273,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
10818
11273
  last_error?: string | null;
10819
11274
  last_error_at?: string | null;
10820
11275
  last_success_at?: string | null;
11276
+ provider?: string;
10821
11277
  updated_at?: string;
10822
11278
  };
10823
11279
  Relationships: [];
@@ -13460,6 +13916,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13460
13916
  isOneToOne: false;
13461
13917
  referencedRelation: "planning_items";
13462
13918
  referencedColumns: ["id"];
13919
+ }, {
13920
+ foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
13921
+ columns: ["planning_item_id"];
13922
+ isOneToOne: false;
13923
+ referencedRelation: "planning_overview";
13924
+ referencedColumns: ["id"];
13463
13925
  }];
13464
13926
  };
13465
13927
  planning_items: {
@@ -13555,6 +14017,39 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13555
14017
  };
13556
14018
  Relationships: [];
13557
14019
  };
14020
+ print_dedupe_events: {
14021
+ Row: {
14022
+ bestaande_job_id: string | null;
14023
+ created_at: string;
14024
+ detail: string | null;
14025
+ documentnaam: string | null;
14026
+ documenttype: string | null;
14027
+ id: string;
14028
+ idempotentie_sleutel: string;
14029
+ reden: string;
14030
+ };
14031
+ Insert: {
14032
+ bestaande_job_id?: string | null;
14033
+ created_at?: string;
14034
+ detail?: string | null;
14035
+ documentnaam?: string | null;
14036
+ documenttype?: string | null;
14037
+ id?: string;
14038
+ idempotentie_sleutel: string;
14039
+ reden: string;
14040
+ };
14041
+ Update: {
14042
+ bestaande_job_id?: string | null;
14043
+ created_at?: string;
14044
+ detail?: string | null;
14045
+ documentnaam?: string | null;
14046
+ documenttype?: string | null;
14047
+ id?: string;
14048
+ idempotentie_sleutel?: string;
14049
+ reden?: string;
14050
+ };
14051
+ Relationships: [];
14052
+ };
13558
14053
  print_job_logs: {
13559
14054
  Row: {
13560
14055
  created_at: string;
@@ -13596,6 +14091,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13596
14091
  foutmelding: string | null;
13597
14092
  gebruiker_id: string | null;
13598
14093
  gebruiker_naam: string;
14094
+ gebruikte_bron: string | null;
14095
+ gebruikte_layout_id: string | null;
13599
14096
  gestart_op: string | null;
13600
14097
  herkomst: string | null;
13601
14098
  id: string;
@@ -13603,6 +14100,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13603
14100
  is_herprint: boolean;
13604
14101
  kopieen: number;
13605
14102
  layout_id: string | null;
14103
+ lokaal_opgeslagen_op: string | null;
14104
+ lokale_pdf_fout: string | null;
14105
+ lokale_pdf_status: string | null;
13606
14106
  opgepakt_op: string | null;
13607
14107
  paginas: number;
13608
14108
  payload: import("./types").Json;
@@ -13611,6 +14111,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13611
14111
  pogingen: number;
13612
14112
  printer_id: string | null;
13613
14113
  render_html: string | null;
14114
+ resultaat_pdf_base64: string | null;
13614
14115
  status: Database["public"]["Enums"]["print_job_status"];
13615
14116
  updated_at: string;
13616
14117
  volgende_poging: string | null;
@@ -13626,6 +14127,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13626
14127
  foutmelding?: string | null;
13627
14128
  gebruiker_id?: string | null;
13628
14129
  gebruiker_naam?: string;
14130
+ gebruikte_bron?: string | null;
14131
+ gebruikte_layout_id?: string | null;
13629
14132
  gestart_op?: string | null;
13630
14133
  herkomst?: string | null;
13631
14134
  id?: string;
@@ -13633,6 +14136,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13633
14136
  is_herprint?: boolean;
13634
14137
  kopieen?: number;
13635
14138
  layout_id?: string | null;
14139
+ lokaal_opgeslagen_op?: string | null;
14140
+ lokale_pdf_fout?: string | null;
14141
+ lokale_pdf_status?: string | null;
13636
14142
  opgepakt_op?: string | null;
13637
14143
  paginas?: number;
13638
14144
  payload?: import("./types").Json;
@@ -13641,6 +14147,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13641
14147
  pogingen?: number;
13642
14148
  printer_id?: string | null;
13643
14149
  render_html?: string | null;
14150
+ resultaat_pdf_base64?: string | null;
13644
14151
  status?: Database["public"]["Enums"]["print_job_status"];
13645
14152
  updated_at?: string;
13646
14153
  volgende_poging?: string | null;
@@ -13656,6 +14163,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13656
14163
  foutmelding?: string | null;
13657
14164
  gebruiker_id?: string | null;
13658
14165
  gebruiker_naam?: string;
14166
+ gebruikte_bron?: string | null;
14167
+ gebruikte_layout_id?: string | null;
13659
14168
  gestart_op?: string | null;
13660
14169
  herkomst?: string | null;
13661
14170
  id?: string;
@@ -13663,6 +14172,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13663
14172
  is_herprint?: boolean;
13664
14173
  kopieen?: number;
13665
14174
  layout_id?: string | null;
14175
+ lokaal_opgeslagen_op?: string | null;
14176
+ lokale_pdf_fout?: string | null;
14177
+ lokale_pdf_status?: string | null;
13666
14178
  opgepakt_op?: string | null;
13667
14179
  paginas?: number;
13668
14180
  payload?: import("./types").Json;
@@ -13671,6 +14183,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13671
14183
  pogingen?: number;
13672
14184
  printer_id?: string | null;
13673
14185
  render_html?: string | null;
14186
+ resultaat_pdf_base64?: string | null;
13674
14187
  status?: Database["public"]["Enums"]["print_job_status"];
13675
14188
  updated_at?: string;
13676
14189
  volgende_poging?: string | null;
@@ -13789,6 +14302,39 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13789
14302
  };
13790
14303
  Relationships: [];
13791
14304
  };
14305
+ print_preview_events: {
14306
+ Row: {
14307
+ code: string | null;
14308
+ created_at: string;
14309
+ detail: import("./types").Json;
14310
+ id: string;
14311
+ queue_item_id: string | null;
14312
+ reden: string | null;
14313
+ station_slug: string | null;
14314
+ uitkomst: string;
14315
+ };
14316
+ Insert: {
14317
+ code?: string | null;
14318
+ created_at?: string;
14319
+ detail?: import("./types").Json;
14320
+ id?: string;
14321
+ queue_item_id?: string | null;
14322
+ reden?: string | null;
14323
+ station_slug?: string | null;
14324
+ uitkomst?: string;
14325
+ };
14326
+ Update: {
14327
+ code?: string | null;
14328
+ created_at?: string;
14329
+ detail?: import("./types").Json;
14330
+ id?: string;
14331
+ queue_item_id?: string | null;
14332
+ reden?: string | null;
14333
+ station_slug?: string | null;
14334
+ uitkomst?: string;
14335
+ };
14336
+ Relationships: [];
14337
+ };
13792
14338
  print_queue_runners: {
13793
14339
  Row: {
13794
14340
  actief: boolean;
@@ -14028,6 +14574,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14028
14574
  ondersteunde_laden: import("./types").Json | null;
14029
14575
  online: boolean;
14030
14576
  papierformaat: string;
14577
+ pdf_map: string | null;
14031
14578
  poort: number | null;
14032
14579
  soort: Database["public"]["Enums"]["printer_kind"];
14033
14580
  systeemnaam: string;
@@ -14053,6 +14600,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14053
14600
  ondersteunde_laden?: import("./types").Json | null;
14054
14601
  online?: boolean;
14055
14602
  papierformaat?: string;
14603
+ pdf_map?: string | null;
14056
14604
  poort?: number | null;
14057
14605
  soort?: Database["public"]["Enums"]["printer_kind"];
14058
14606
  systeemnaam?: string;
@@ -14078,6 +14626,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14078
14626
  ondersteunde_laden?: import("./types").Json | null;
14079
14627
  online?: boolean;
14080
14628
  papierformaat?: string;
14629
+ pdf_map?: string | null;
14081
14630
  poort?: number | null;
14082
14631
  soort?: Database["public"]["Enums"]["printer_kind"];
14083
14632
  systeemnaam?: string;
@@ -14950,530 +15499,86 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
14950
15499
  referencedColumns: ["id"];
14951
15500
  }];
14952
15501
  };
14953
- quote_activities: {
15502
+ reception_notifications: {
14954
15503
  Row: {
15504
+ booking_id: string | null;
14955
15505
  created_at: string;
14956
- event_type: string;
14957
15506
  id: string;
14958
- metadata: import("./types").Json;
14959
- quote_id: string;
14960
- user_id: string | null;
15507
+ is_read: boolean;
15508
+ message: string;
15509
+ recipient_email: string | null;
15510
+ title: string;
15511
+ type: string;
14961
15512
  };
14962
15513
  Insert: {
15514
+ booking_id?: string | null;
14963
15515
  created_at?: string;
14964
- event_type: string;
14965
15516
  id?: string;
14966
- metadata?: import("./types").Json;
14967
- quote_id: string;
14968
- user_id?: string | null;
15517
+ is_read?: boolean;
15518
+ message: string;
15519
+ recipient_email?: string | null;
15520
+ title: string;
15521
+ type: string;
14969
15522
  };
14970
15523
  Update: {
15524
+ booking_id?: string | null;
14971
15525
  created_at?: string;
14972
- event_type?: string;
14973
15526
  id?: string;
14974
- metadata?: import("./types").Json;
14975
- quote_id?: string;
14976
- user_id?: string | null;
15527
+ is_read?: boolean;
15528
+ message?: string;
15529
+ recipient_email?: string | null;
15530
+ title?: string;
15531
+ type?: string;
14977
15532
  };
14978
15533
  Relationships: [{
14979
- foreignKeyName: "quote_activities_quote_id_fkey";
14980
- columns: ["quote_id"];
15534
+ foreignKeyName: "reception_notifications_booking_id_fkey";
15535
+ columns: ["booking_id"];
14981
15536
  isOneToOne: false;
14982
- referencedRelation: "quotes";
15537
+ referencedRelation: "bookings";
14983
15538
  referencedColumns: ["id"];
14984
15539
  }];
14985
15540
  };
14986
- quote_attachments: {
15541
+ role_assignments: {
14987
15542
  Row: {
14988
15543
  created_at: string;
14989
- file_name: string;
14990
- file_size: number | null;
14991
- file_url: string;
14992
15544
  id: string;
14993
- mime_type: string | null;
14994
- quote_id: string;
15545
+ role_id: string;
15546
+ user_id: string;
14995
15547
  };
14996
15548
  Insert: {
14997
15549
  created_at?: string;
14998
- file_name: string;
14999
- file_size?: number | null;
15000
- file_url: string;
15001
15550
  id?: string;
15002
- mime_type?: string | null;
15003
- quote_id: string;
15551
+ role_id: string;
15552
+ user_id: string;
15004
15553
  };
15005
15554
  Update: {
15006
15555
  created_at?: string;
15007
- file_name?: string;
15008
- file_size?: number | null;
15009
- file_url?: string;
15010
15556
  id?: string;
15011
- mime_type?: string | null;
15012
- quote_id?: string;
15557
+ role_id?: string;
15558
+ user_id?: string;
15013
15559
  };
15014
15560
  Relationships: [{
15015
- foreignKeyName: "quote_attachments_quote_id_fkey";
15016
- columns: ["quote_id"];
15561
+ foreignKeyName: "role_assignments_role_id_fkey";
15562
+ columns: ["role_id"];
15017
15563
  isOneToOne: false;
15018
- referencedRelation: "quotes";
15564
+ referencedRelation: "roles";
15019
15565
  referencedColumns: ["id"];
15020
15566
  }];
15021
15567
  };
15022
- quote_field_options: {
15568
+ role_permissions: {
15023
15569
  Row: {
15024
- created_at: string;
15025
- field_id: string;
15570
+ can_edit: boolean;
15571
+ can_view: boolean;
15572
+ feature_id: string;
15026
15573
  id: string;
15027
- label: string;
15028
- sort_order: number;
15029
- value: string;
15574
+ module_id: string;
15575
+ role_id: string;
15576
+ updated_at: string;
15030
15577
  };
15031
15578
  Insert: {
15032
- created_at?: string;
15033
- field_id: string;
15034
- id?: string;
15035
- label: string;
15036
- sort_order?: number;
15037
- value: string;
15038
- };
15039
- Update: {
15040
- created_at?: string;
15041
- field_id?: string;
15042
- id?: string;
15043
- label?: string;
15044
- sort_order?: number;
15045
- value?: string;
15046
- };
15047
- Relationships: [{
15048
- foreignKeyName: "quote_field_options_field_id_fkey";
15049
- columns: ["field_id"];
15050
- isOneToOne: false;
15051
- referencedRelation: "quote_field_settings";
15052
- referencedColumns: ["id"];
15053
- }];
15054
- };
15055
- quote_field_settings: {
15056
- Row: {
15057
- created_at: string;
15058
- default_value: string | null;
15059
- field_key: string;
15060
- field_type: string;
15061
- id: string;
15062
- is_system: boolean;
15063
- label: string;
15064
- required: boolean;
15065
- sort_order: number;
15066
- updated_at: string;
15067
- visible: boolean;
15068
- };
15069
- Insert: {
15070
- created_at?: string;
15071
- default_value?: string | null;
15072
- field_key: string;
15073
- field_type: string;
15074
- id?: string;
15075
- is_system?: boolean;
15076
- label: string;
15077
- required?: boolean;
15078
- sort_order?: number;
15079
- updated_at?: string;
15080
- visible?: boolean;
15081
- };
15082
- Update: {
15083
- created_at?: string;
15084
- default_value?: string | null;
15085
- field_key?: string;
15086
- field_type?: string;
15087
- id?: string;
15088
- is_system?: boolean;
15089
- label?: string;
15090
- required?: boolean;
15091
- sort_order?: number;
15092
- updated_at?: string;
15093
- visible?: boolean;
15094
- };
15095
- Relationships: [];
15096
- };
15097
- quote_items: {
15098
- Row: {
15099
- category: string | null;
15100
- created_at: string;
15101
- description: string;
15102
- id: string;
15103
- line_total: number;
15104
- module_id: string | null;
15105
- name: string | null;
15106
- quantity: number;
15107
- quote_id: string;
15108
- sort_order: number;
15109
- unit_price: number;
15110
- };
15111
- Insert: {
15112
- category?: string | null;
15113
- created_at?: string;
15114
- description?: string;
15115
- id?: string;
15116
- line_total?: number;
15117
- module_id?: string | null;
15118
- name?: string | null;
15119
- quantity?: number;
15120
- quote_id: string;
15121
- sort_order?: number;
15122
- unit_price?: number;
15123
- };
15124
- Update: {
15125
- category?: string | null;
15126
- created_at?: string;
15127
- description?: string;
15128
- id?: string;
15129
- line_total?: number;
15130
- module_id?: string | null;
15131
- name?: string | null;
15132
- quantity?: number;
15133
- quote_id?: string;
15134
- sort_order?: number;
15135
- unit_price?: number;
15136
- };
15137
- Relationships: [{
15138
- foreignKeyName: "quote_items_module_id_fkey";
15139
- columns: ["module_id"];
15140
- isOneToOne: false;
15141
- referencedRelation: "quote_modules";
15142
- referencedColumns: ["id"];
15143
- }, {
15144
- foreignKeyName: "quote_items_quote_id_fkey";
15145
- columns: ["quote_id"];
15146
- isOneToOne: false;
15147
- referencedRelation: "quotes";
15148
- referencedColumns: ["id"];
15149
- }];
15150
- };
15151
- quote_modules: {
15152
- Row: {
15153
- category: string | null;
15154
- created_at: string;
15155
- description: string | null;
15156
- id: string;
15157
- is_active: boolean;
15158
- name: string;
15159
- price: number;
15160
- sort_order: number;
15161
- updated_at: string;
15162
- };
15163
- Insert: {
15164
- category?: string | null;
15165
- created_at?: string;
15166
- description?: string | null;
15167
- id?: string;
15168
- is_active?: boolean;
15169
- name: string;
15170
- price?: number;
15171
- sort_order?: number;
15172
- updated_at?: string;
15173
- };
15174
- Update: {
15175
- category?: string | null;
15176
- created_at?: string;
15177
- description?: string | null;
15178
- id?: string;
15179
- is_active?: boolean;
15180
- name?: string;
15181
- price?: number;
15182
- sort_order?: number;
15183
- updated_at?: string;
15184
- };
15185
- Relationships: [];
15186
- };
15187
- quote_templates: {
15188
- Row: {
15189
- created_at: string;
15190
- description: string | null;
15191
- field_values: import("./types").Json;
15192
- id: string;
15193
- is_default: boolean;
15194
- items: import("./types").Json;
15195
- name: string;
15196
- updated_at: string;
15197
- vat_rate: number;
15198
- };
15199
- Insert: {
15200
- created_at?: string;
15201
- description?: string | null;
15202
- field_values?: import("./types").Json;
15203
- id?: string;
15204
- is_default?: boolean;
15205
- items?: import("./types").Json;
15206
- name: string;
15207
- updated_at?: string;
15208
- vat_rate?: number;
15209
- };
15210
- Update: {
15211
- created_at?: string;
15212
- description?: string | null;
15213
- field_values?: import("./types").Json;
15214
- id?: string;
15215
- is_default?: boolean;
15216
- items?: import("./types").Json;
15217
- name?: string;
15218
- updated_at?: string;
15219
- vat_rate?: number;
15220
- };
15221
- Relationships: [];
15222
- };
15223
- quote_terms: {
15224
- Row: {
15225
- content: string | null;
15226
- created_at: string;
15227
- file_url: string | null;
15228
- id: string;
15229
- is_active: boolean;
15230
- name: string;
15231
- published_at: string | null;
15232
- updated_at: string;
15233
- version: string;
15234
- };
15235
- Insert: {
15236
- content?: string | null;
15237
- created_at?: string;
15238
- file_url?: string | null;
15239
- id?: string;
15240
- is_active?: boolean;
15241
- name: string;
15242
- published_at?: string | null;
15243
- updated_at?: string;
15244
- version?: string;
15245
- };
15246
- Update: {
15247
- content?: string | null;
15248
- created_at?: string;
15249
- file_url?: string | null;
15250
- id?: string;
15251
- is_active?: boolean;
15252
- name?: string;
15253
- published_at?: string | null;
15254
- updated_at?: string;
15255
- version?: string;
15256
- };
15257
- Relationships: [];
15258
- };
15259
- quotes: {
15260
- Row: {
15261
- accepted_at: string | null;
15262
- archived_at: string | null;
15263
- contact_id: string | null;
15264
- created_at: string;
15265
- customer_id: string | null;
15266
- discount: number;
15267
- expires_at: string | null;
15268
- field_values: import("./types").Json;
15269
- id: string;
15270
- notes: string | null;
15271
- owner_id: string | null;
15272
- personal_message: string | null;
15273
- project_id: string | null;
15274
- prospect_id: string | null;
15275
- public_token: string;
15276
- quote_number: string | null;
15277
- recipient_email: string | null;
15278
- recipient_name: string | null;
15279
- rejected_at: string | null;
15280
- sent_at: string | null;
15281
- status: string;
15282
- subtotal: number;
15283
- template_id: string | null;
15284
- terms_id: string | null;
15285
- title: string;
15286
- total: number;
15287
- updated_at: string;
15288
- valid_until: string | null;
15289
- vat_amount: number;
15290
- vat_rate: number;
15291
- viewed_at: string | null;
15292
- };
15293
- Insert: {
15294
- accepted_at?: string | null;
15295
- archived_at?: string | null;
15296
- contact_id?: string | null;
15297
- created_at?: string;
15298
- customer_id?: string | null;
15299
- discount?: number;
15300
- expires_at?: string | null;
15301
- field_values?: import("./types").Json;
15302
- id?: string;
15303
- notes?: string | null;
15304
- owner_id?: string | null;
15305
- personal_message?: string | null;
15306
- project_id?: string | null;
15307
- prospect_id?: string | null;
15308
- public_token?: string;
15309
- quote_number?: string | null;
15310
- recipient_email?: string | null;
15311
- recipient_name?: string | null;
15312
- rejected_at?: string | null;
15313
- sent_at?: string | null;
15314
- status?: string;
15315
- subtotal?: number;
15316
- template_id?: string | null;
15317
- terms_id?: string | null;
15318
- title?: string;
15319
- total?: number;
15320
- updated_at?: string;
15321
- valid_until?: string | null;
15322
- vat_amount?: number;
15323
- vat_rate?: number;
15324
- viewed_at?: string | null;
15325
- };
15326
- Update: {
15327
- accepted_at?: string | null;
15328
- archived_at?: string | null;
15329
- contact_id?: string | null;
15330
- created_at?: string;
15331
- customer_id?: string | null;
15332
- discount?: number;
15333
- expires_at?: string | null;
15334
- field_values?: import("./types").Json;
15335
- id?: string;
15336
- notes?: string | null;
15337
- owner_id?: string | null;
15338
- personal_message?: string | null;
15339
- project_id?: string | null;
15340
- prospect_id?: string | null;
15341
- public_token?: string;
15342
- quote_number?: string | null;
15343
- recipient_email?: string | null;
15344
- recipient_name?: string | null;
15345
- rejected_at?: string | null;
15346
- sent_at?: string | null;
15347
- status?: string;
15348
- subtotal?: number;
15349
- template_id?: string | null;
15350
- terms_id?: string | null;
15351
- title?: string;
15352
- total?: number;
15353
- updated_at?: string;
15354
- valid_until?: string | null;
15355
- vat_amount?: number;
15356
- vat_rate?: number;
15357
- viewed_at?: string | null;
15358
- };
15359
- Relationships: [{
15360
- foreignKeyName: "quotes_contact_id_fkey";
15361
- columns: ["contact_id"];
15362
- isOneToOne: false;
15363
- referencedRelation: "customer_contacts";
15364
- referencedColumns: ["id"];
15365
- }, {
15366
- foreignKeyName: "quotes_customer_id_fkey";
15367
- columns: ["customer_id"];
15368
- isOneToOne: false;
15369
- referencedRelation: "customers";
15370
- referencedColumns: ["id"];
15371
- }, {
15372
- foreignKeyName: "quotes_project_id_fkey";
15373
- columns: ["project_id"];
15374
- isOneToOne: false;
15375
- referencedRelation: "projects";
15376
- referencedColumns: ["id"];
15377
- }, {
15378
- foreignKeyName: "quotes_prospect_id_fkey";
15379
- columns: ["prospect_id"];
15380
- isOneToOne: false;
15381
- referencedRelation: "prospects";
15382
- referencedColumns: ["id"];
15383
- }, {
15384
- foreignKeyName: "quotes_template_id_fkey";
15385
- columns: ["template_id"];
15386
- isOneToOne: false;
15387
- referencedRelation: "quote_templates";
15388
- referencedColumns: ["id"];
15389
- }, {
15390
- foreignKeyName: "quotes_terms_id_fkey";
15391
- columns: ["terms_id"];
15392
- isOneToOne: false;
15393
- referencedRelation: "quote_terms";
15394
- referencedColumns: ["id"];
15395
- }];
15396
- };
15397
- reception_notifications: {
15398
- Row: {
15399
- booking_id: string | null;
15400
- created_at: string;
15401
- id: string;
15402
- is_read: boolean;
15403
- message: string;
15404
- recipient_email: string | null;
15405
- title: string;
15406
- type: string;
15407
- };
15408
- Insert: {
15409
- booking_id?: string | null;
15410
- created_at?: string;
15411
- id?: string;
15412
- is_read?: boolean;
15413
- message: string;
15414
- recipient_email?: string | null;
15415
- title: string;
15416
- type: string;
15417
- };
15418
- Update: {
15419
- booking_id?: string | null;
15420
- created_at?: string;
15421
- id?: string;
15422
- is_read?: boolean;
15423
- message?: string;
15424
- recipient_email?: string | null;
15425
- title?: string;
15426
- type?: string;
15427
- };
15428
- Relationships: [{
15429
- foreignKeyName: "reception_notifications_booking_id_fkey";
15430
- columns: ["booking_id"];
15431
- isOneToOne: false;
15432
- referencedRelation: "bookings";
15433
- referencedColumns: ["id"];
15434
- }];
15435
- };
15436
- role_assignments: {
15437
- Row: {
15438
- created_at: string;
15439
- id: string;
15440
- role_id: string;
15441
- user_id: string;
15442
- };
15443
- Insert: {
15444
- created_at?: string;
15445
- id?: string;
15446
- role_id: string;
15447
- user_id: string;
15448
- };
15449
- Update: {
15450
- created_at?: string;
15451
- id?: string;
15452
- role_id?: string;
15453
- user_id?: string;
15454
- };
15455
- Relationships: [{
15456
- foreignKeyName: "role_assignments_role_id_fkey";
15457
- columns: ["role_id"];
15458
- isOneToOne: false;
15459
- referencedRelation: "roles";
15460
- referencedColumns: ["id"];
15461
- }];
15462
- };
15463
- role_permissions: {
15464
- Row: {
15465
- can_edit: boolean;
15466
- can_view: boolean;
15467
- feature_id: string;
15468
- id: string;
15469
- module_id: string;
15470
- role_id: string;
15471
- updated_at: string;
15472
- };
15473
- Insert: {
15474
- can_edit?: boolean;
15475
- can_view?: boolean;
15476
- feature_id?: string;
15579
+ can_edit?: boolean;
15580
+ can_view?: boolean;
15581
+ feature_id?: string;
15477
15582
  id?: string;
15478
15583
  module_id: string;
15479
15584
  role_id: string;
@@ -16515,7 +16620,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16515
16620
  foreignKeyName: "time_logs_work_order_id_fkey";
16516
16621
  columns: ["work_order_id"];
16517
16622
  isOneToOne: false;
16518
- referencedRelation: "work_orders";
16623
+ referencedRelation: "werkbonnen";
16519
16624
  referencedColumns: ["id"];
16520
16625
  }];
16521
16626
  };
@@ -16647,6 +16752,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16647
16752
  };
16648
16753
  trade_item_stock: {
16649
16754
  Row: {
16755
+ change_source: string;
16650
16756
  connection_id: string;
16651
16757
  created_at: string;
16652
16758
  id: string;
@@ -16660,6 +16766,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16660
16766
  user_id: string;
16661
16767
  };
16662
16768
  Insert: {
16769
+ change_source?: string;
16663
16770
  connection_id: string;
16664
16771
  created_at?: string;
16665
16772
  id?: string;
@@ -16673,6 +16780,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
16673
16780
  user_id: string;
16674
16781
  };
16675
16782
  Update: {
16783
+ change_source?: string;
16676
16784
  connection_id?: string;
16677
16785
  created_at?: string;
16678
16786
  id?: string;
@@ -17842,156 +17950,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
17842
17950
  };
17843
17951
  Relationships: [];
17844
17952
  };
17845
- uren_offerte_regels: {
17846
- Row: {
17847
- created_at: string;
17848
- description: string;
17849
- duration_minutes: number;
17850
- id: string;
17851
- offerte_id: string;
17852
- package_id: string | null;
17853
- quantity: number;
17854
- sort_order: number;
17855
- total_cents: number;
17856
- unit_price_cents: number;
17857
- };
17858
- Insert: {
17859
- created_at?: string;
17860
- description: string;
17861
- duration_minutes?: number;
17862
- id?: string;
17863
- offerte_id: string;
17864
- package_id?: string | null;
17865
- quantity?: number;
17866
- sort_order?: number;
17867
- total_cents?: number;
17868
- unit_price_cents?: number;
17869
- };
17870
- Update: {
17871
- created_at?: string;
17872
- description?: string;
17873
- duration_minutes?: number;
17874
- id?: string;
17875
- offerte_id?: string;
17876
- package_id?: string | null;
17877
- quantity?: number;
17878
- sort_order?: number;
17879
- total_cents?: number;
17880
- unit_price_cents?: number;
17881
- };
17882
- Relationships: [{
17883
- foreignKeyName: "uren_offerte_regels_offerte_id_fkey";
17884
- columns: ["offerte_id"];
17885
- isOneToOne: false;
17886
- referencedRelation: "uren_offertes";
17887
- referencedColumns: ["id"];
17888
- }, {
17889
- foreignKeyName: "uren_offerte_regels_package_id_fkey";
17890
- columns: ["package_id"];
17891
- isOneToOne: false;
17892
- referencedRelation: "werkbon_packages";
17893
- referencedColumns: ["id"];
17894
- }];
17895
- };
17896
- uren_offerte_velden: {
17897
- Row: {
17898
- created_at: string;
17899
- field_type: string;
17900
- id: string;
17901
- key: string;
17902
- label: string;
17903
- options: string[];
17904
- required: boolean;
17905
- sort_order: number;
17906
- updated_at: string;
17907
- };
17908
- Insert: {
17909
- created_at?: string;
17910
- field_type?: string;
17911
- id?: string;
17912
- key: string;
17913
- label: string;
17914
- options?: string[];
17915
- required?: boolean;
17916
- sort_order?: number;
17917
- updated_at?: string;
17918
- };
17919
- Update: {
17920
- created_at?: string;
17921
- field_type?: string;
17922
- id?: string;
17923
- key?: string;
17924
- label?: string;
17925
- options?: string[];
17926
- required?: boolean;
17927
- sort_order?: number;
17928
- updated_at?: string;
17929
- };
17930
- Relationships: [];
17931
- };
17932
- uren_offertes: {
17933
- Row: {
17934
- created_at: string;
17935
- created_by: string | null;
17936
- customer_id: string | null;
17937
- customer_name: string | null;
17938
- dynamic_fields: import("./types").Json;
17939
- estimated_minutes: number;
17940
- id: string;
17941
- note: string | null;
17942
- quote_number: string | null;
17943
- status: string;
17944
- title: string;
17945
- total_excl_cents: number;
17946
- total_incl_cents: number;
17947
- updated_at: string;
17948
- valid_until: string | null;
17949
- vat_percentage: number;
17950
- };
17951
- Insert: {
17952
- created_at?: string;
17953
- created_by?: string | null;
17954
- customer_id?: string | null;
17955
- customer_name?: string | null;
17956
- dynamic_fields?: import("./types").Json;
17957
- estimated_minutes?: number;
17958
- id?: string;
17959
- note?: string | null;
17960
- quote_number?: string | null;
17961
- status?: string;
17962
- title?: string;
17963
- total_excl_cents?: number;
17964
- total_incl_cents?: number;
17965
- updated_at?: string;
17966
- valid_until?: string | null;
17967
- vat_percentage?: number;
17968
- };
17969
- Update: {
17970
- created_at?: string;
17971
- created_by?: string | null;
17972
- customer_id?: string | null;
17973
- customer_name?: string | null;
17974
- dynamic_fields?: import("./types").Json;
17975
- estimated_minutes?: number;
17976
- id?: string;
17977
- note?: string | null;
17978
- quote_number?: string | null;
17979
- status?: string;
17980
- title?: string;
17981
- total_excl_cents?: number;
17982
- total_incl_cents?: number;
17983
- updated_at?: string;
17984
- valid_until?: string | null;
17985
- vat_percentage?: number;
17986
- };
17987
- Relationships: [{
17988
- foreignKeyName: "uren_offertes_customer_id_fkey";
17989
- columns: ["customer_id"];
17990
- isOneToOne: false;
17991
- referencedRelation: "itk_customers";
17992
- referencedColumns: ["id"];
17993
- }];
17994
- };
17995
17953
  uren_settings: {
17996
17954
  Row: {
17997
17955
  break_minutes: number;
@@ -19678,6 +19636,37 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
19678
19636
  };
19679
19637
  Relationships: [];
19680
19638
  };
19639
+ planning_overview: {
19640
+ Row: {
19641
+ assigned_monteur_id: string | null;
19642
+ assistants: import("./types").Json | null;
19643
+ budget_mandate_cents: number | null;
19644
+ created_at: string | null;
19645
+ created_by: string | null;
19646
+ customer_id: string | null;
19647
+ customer_name: string | null;
19648
+ duration_minutes: number | null;
19649
+ end_at: string | null;
19650
+ id: string | null;
19651
+ needs_detail_review: boolean | null;
19652
+ notes: string | null;
19653
+ project_number: string | null;
19654
+ review_reasons: string[] | null;
19655
+ start_at: string | null;
19656
+ status: Database["public"]["Enums"]["planning_item_status"] | null;
19657
+ updated_at: string | null;
19658
+ viewer_role: string | null;
19659
+ werkbon_id: string | null;
19660
+ work_address: string | null;
19661
+ };
19662
+ Relationships: [{
19663
+ foreignKeyName: "planning_items_werkbon_id_fkey";
19664
+ columns: ["werkbon_id"];
19665
+ isOneToOne: false;
19666
+ referencedRelation: "werkbonnen";
19667
+ referencedColumns: ["id"];
19668
+ }];
19669
+ };
19681
19670
  product_group_stock_view: {
19682
19671
  Row: {
19683
19672
  item_count: number | null;
@@ -20273,6 +20262,18 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20273
20262
  Args: never;
20274
20263
  Returns: number;
20275
20264
  };
20265
+ calculate_floriday_desired_stock: {
20266
+ Args: {
20267
+ p_connection_id: string;
20268
+ p_product_id: string;
20269
+ };
20270
+ Returns: {
20271
+ desired_availability: boolean;
20272
+ desired_quantity: number;
20273
+ erp_available: number;
20274
+ stock_mode: string;
20275
+ }[];
20276
+ };
20276
20277
  calculate_layer_stock: {
20277
20278
  Args: {
20278
20279
  p_product_id: string;
@@ -20325,6 +20326,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20325
20326
  foutmelding: string | null;
20326
20327
  gebruiker_id: string | null;
20327
20328
  gebruiker_naam: string;
20329
+ gebruikte_bron: string | null;
20330
+ gebruikte_layout_id: string | null;
20328
20331
  gestart_op: string | null;
20329
20332
  herkomst: string | null;
20330
20333
  id: string;
@@ -20332,6 +20335,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20332
20335
  is_herprint: boolean;
20333
20336
  kopieen: number;
20334
20337
  layout_id: string | null;
20338
+ lokaal_opgeslagen_op: string | null;
20339
+ lokale_pdf_fout: string | null;
20340
+ lokale_pdf_status: string | null;
20335
20341
  opgepakt_op: string | null;
20336
20342
  paginas: number;
20337
20343
  payload: import("./types").Json;
@@ -20340,6 +20346,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20340
20346
  pogingen: number;
20341
20347
  printer_id: string | null;
20342
20348
  render_html: string | null;
20349
+ resultaat_pdf_base64: string | null;
20343
20350
  status: Database["public"]["Enums"]["print_job_status"];
20344
20351
  updated_at: string;
20345
20352
  volgende_poging: string | null;
@@ -20361,6 +20368,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20361
20368
  attempts: number;
20362
20369
  connection_id: string;
20363
20370
  created_at: string;
20371
+ dead_lettered_at: string | null;
20364
20372
  desired_available: boolean | null;
20365
20373
  gateway_attempt_id: string | null;
20366
20374
  id: string;
@@ -20369,9 +20377,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20369
20377
  locked_by: string | null;
20370
20378
  next_attempt_at: string;
20371
20379
  number_of_pieces: number;
20380
+ product_id: string | null;
20372
20381
  sent_at: string | null;
20373
20382
  status: string;
20383
+ stock_mode: string | null;
20374
20384
  superseded_by: string | null;
20385
+ target_week: number | null;
20386
+ target_year: number | null;
20375
20387
  trade_item_id: string;
20376
20388
  updated_at: string;
20377
20389
  user_id: string;
@@ -20431,6 +20443,53 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20431
20443
  isSetofReturn: true;
20432
20444
  };
20433
20445
  };
20446
+ claim_pdf_print_jobs: {
20447
+ Args: {
20448
+ _max?: number;
20449
+ };
20450
+ Returns: {
20451
+ agent_id: string | null;
20452
+ bron_job_id: string | null;
20453
+ created_at: string;
20454
+ documentnaam: string;
20455
+ documenttype: Database["public"]["Enums"]["doc_layout_type"];
20456
+ extern_job_id: string | null;
20457
+ foutmelding: string | null;
20458
+ gebruiker_id: string | null;
20459
+ gebruiker_naam: string;
20460
+ gebruikte_bron: string | null;
20461
+ gebruikte_layout_id: string | null;
20462
+ gestart_op: string | null;
20463
+ herkomst: string | null;
20464
+ id: string;
20465
+ idempotentie_sleutel: string | null;
20466
+ is_herprint: boolean;
20467
+ kopieen: number;
20468
+ layout_id: string | null;
20469
+ lokaal_opgeslagen_op: string | null;
20470
+ lokale_pdf_fout: string | null;
20471
+ lokale_pdf_status: string | null;
20472
+ opgepakt_op: string | null;
20473
+ paginas: number;
20474
+ payload: import("./types").Json;
20475
+ pdf_base64: string | null;
20476
+ pdf_url: string | null;
20477
+ pogingen: number;
20478
+ printer_id: string | null;
20479
+ render_html: string | null;
20480
+ resultaat_pdf_base64: string | null;
20481
+ status: Database["public"]["Enums"]["print_job_status"];
20482
+ updated_at: string;
20483
+ volgende_poging: string | null;
20484
+ voltooid_op: string | null;
20485
+ }[];
20486
+ SetofOptions: {
20487
+ from: "*";
20488
+ to: "print_jobs";
20489
+ isOneToOne: false;
20490
+ isSetofReturn: true;
20491
+ };
20492
+ };
20434
20493
  claim_print_jobs: {
20435
20494
  Args: {
20436
20495
  _agent_id: string;
@@ -20446,6 +20505,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20446
20505
  foutmelding: string | null;
20447
20506
  gebruiker_id: string | null;
20448
20507
  gebruiker_naam: string;
20508
+ gebruikte_bron: string | null;
20509
+ gebruikte_layout_id: string | null;
20449
20510
  gestart_op: string | null;
20450
20511
  herkomst: string | null;
20451
20512
  id: string;
@@ -20453,6 +20514,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20453
20514
  is_herprint: boolean;
20454
20515
  kopieen: number;
20455
20516
  layout_id: string | null;
20517
+ lokaal_opgeslagen_op: string | null;
20518
+ lokale_pdf_fout: string | null;
20519
+ lokale_pdf_status: string | null;
20456
20520
  opgepakt_op: string | null;
20457
20521
  paginas: number;
20458
20522
  payload: import("./types").Json;
@@ -20461,6 +20525,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20461
20525
  pogingen: number;
20462
20526
  printer_id: string | null;
20463
20527
  render_html: string | null;
20528
+ resultaat_pdf_base64: string | null;
20464
20529
  status: Database["public"]["Enums"]["print_job_status"];
20465
20530
  updated_at: string;
20466
20531
  volgende_poging: string | null;
@@ -20601,6 +20666,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20601
20666
  order_id: string;
20602
20667
  order_source: string;
20603
20668
  pick_date: string;
20669
+ printed_at: string;
20670
+ printed_today: boolean;
20604
20671
  status: string;
20605
20672
  }[];
20606
20673
  };
@@ -20797,6 +20864,24 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20797
20864
  };
20798
20865
  Returns: string;
20799
20866
  };
20867
+ floriday_capture_stock_snapshot: {
20868
+ Args: never;
20869
+ Returns: number;
20870
+ };
20871
+ floriday_cleanup_stock_queue_v2: {
20872
+ Args: never;
20873
+ Returns: undefined;
20874
+ };
20875
+ floriday_compact_stock_snapshots: {
20876
+ Args: never;
20877
+ Returns: undefined;
20878
+ };
20879
+ floriday_default_owner: {
20880
+ Args: {
20881
+ p_connection_id: string;
20882
+ };
20883
+ Returns: string;
20884
+ };
20800
20885
  floriday_effective_price: {
20801
20886
  Args: {
20802
20887
  _buyer_id: string;
@@ -20814,6 +20899,34 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20814
20899
  source_id: string;
20815
20900
  }[];
20816
20901
  };
20902
+ floriday_fill_publish_horizon: {
20903
+ Args: never;
20904
+ Returns: number;
20905
+ };
20906
+ floriday_ingest_sales_orders: {
20907
+ Args: {
20908
+ p_limit?: number;
20909
+ };
20910
+ Returns: number;
20911
+ };
20912
+ floriday_publish_horizon_weeks: {
20913
+ Args: never;
20914
+ Returns: number;
20915
+ };
20916
+ floriday_recompute_inventory: {
20917
+ Args: {
20918
+ p_connection_id: string;
20919
+ p_force?: boolean;
20920
+ p_product_id: string;
20921
+ };
20922
+ Returns: undefined;
20923
+ };
20924
+ floriday_requeue_dead_letters: {
20925
+ Args: {
20926
+ p_connection_id?: string;
20927
+ };
20928
+ Returns: number;
20929
+ };
20817
20930
  format_cart_number: {
20818
20931
  Args: {
20819
20932
  p_pick_date: string;
@@ -21030,6 +21143,131 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21030
21143
  Args: never;
21031
21144
  Returns: string;
21032
21145
  };
21146
+ handover_get: {
21147
+ Args: {
21148
+ _module_id: string;
21149
+ };
21150
+ Returns: import("./types").Json;
21151
+ };
21152
+ handover_kern_naam: {
21153
+ Args: {
21154
+ _naam: string;
21155
+ };
21156
+ Returns: string;
21157
+ };
21158
+ handover_ketenmodel: {
21159
+ Args: never;
21160
+ Returns: import("./types").Json;
21161
+ };
21162
+ handover_kruisconflicten: {
21163
+ Args: never;
21164
+ Returns: import("./types").Json;
21165
+ };
21166
+ handover_list: {
21167
+ Args: never;
21168
+ Returns: import("./types").Json;
21169
+ };
21170
+ handover_mag_schrijven: {
21171
+ Args: {
21172
+ _module_id: string;
21173
+ };
21174
+ Returns: boolean;
21175
+ };
21176
+ handover_norm_naam: {
21177
+ Args: {
21178
+ _naam: string;
21179
+ };
21180
+ Returns: string;
21181
+ };
21182
+ handover_publish: {
21183
+ Args: {
21184
+ _bevindingen?: string;
21185
+ _bezit_tabellen?: string[];
21186
+ _conflicten_snapshot?: import("./types").Json;
21187
+ _contractfuncties?: string[];
21188
+ _inhoud_md: string;
21189
+ _module_id: string;
21190
+ _module_titel: string;
21191
+ _ontbrekende_contracten?: string[];
21192
+ _samenvatting?: string;
21193
+ };
21194
+ Returns: number;
21195
+ };
21196
+ handover_publish_via_token: {
21197
+ Args: {
21198
+ _bevindingen?: string;
21199
+ _bezit_tabellen?: string[];
21200
+ _conflicten_snapshot?: import("./types").Json;
21201
+ _contractfuncties?: string[];
21202
+ _inhoud_md: string;
21203
+ _module_id: string;
21204
+ _module_titel: string;
21205
+ _ontbrekende_contracten?: string[];
21206
+ _samenvatting?: string;
21207
+ _token_hash: string;
21208
+ };
21209
+ Returns: number;
21210
+ };
21211
+ handover_status: {
21212
+ Args: never;
21213
+ Returns: import("./types").Json;
21214
+ };
21215
+ handover_synonym_kern: {
21216
+ Args: {
21217
+ _naam: string;
21218
+ };
21219
+ Returns: string;
21220
+ };
21221
+ handover_token_intrekken: {
21222
+ Args: {
21223
+ _id: string;
21224
+ };
21225
+ Returns: boolean;
21226
+ };
21227
+ handover_token_lijst: {
21228
+ Args: never;
21229
+ Returns: import("./types").Json;
21230
+ };
21231
+ handover_token_maken: {
21232
+ Args: {
21233
+ _label?: string;
21234
+ _module_id: string;
21235
+ };
21236
+ Returns: string;
21237
+ };
21238
+ handover_update: {
21239
+ Args: {
21240
+ _bezit_tabellen?: string[];
21241
+ _contractfuncties?: string[];
21242
+ _herzieningstermijn_dagen?: number;
21243
+ _inhoud_md?: string;
21244
+ _module_id: string;
21245
+ _module_titel?: string;
21246
+ _samenvatting?: string;
21247
+ _versie: number;
21248
+ };
21249
+ Returns: boolean;
21250
+ } | {
21251
+ Args: {
21252
+ _bevindingen?: string;
21253
+ _bezit_tabellen?: string[];
21254
+ _contractfuncties?: string[];
21255
+ _herzieningstermijn_dagen?: number;
21256
+ _inhoud_md?: string;
21257
+ _module_id: string;
21258
+ _module_titel?: string;
21259
+ _ontbrekende_contracten?: string[];
21260
+ _samenvatting?: string;
21261
+ _versie: number;
21262
+ };
21263
+ Returns: boolean;
21264
+ };
21265
+ handover_versies: {
21266
+ Args: {
21267
+ _module_id: string;
21268
+ };
21269
+ Returns: import("./types").Json;
21270
+ };
21033
21271
  has_module_permission: {
21034
21272
  Args: {
21035
21273
  _min: string;
@@ -21049,6 +21287,25 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21049
21287
  Args: never;
21050
21288
  Returns: boolean;
21051
21289
  };
21290
+ instructie_get: {
21291
+ Args: {
21292
+ _sleutel: string;
21293
+ };
21294
+ Returns: import("./types").Json;
21295
+ };
21296
+ instructie_list: {
21297
+ Args: never;
21298
+ Returns: import("./types").Json;
21299
+ };
21300
+ instructie_publish: {
21301
+ Args: {
21302
+ _inhoud_md: string;
21303
+ _sleutel: string;
21304
+ _titel: string;
21305
+ _toelichting?: string;
21306
+ };
21307
+ Returns: number;
21308
+ };
21052
21309
  invoice_create_from_source: {
21053
21310
  Args: {
21054
21311
  _payload?: import("./types").Json;
@@ -21309,6 +21566,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21309
21566
  };
21310
21567
  Returns: number;
21311
21568
  };
21569
+ logistics_cancel_orphan_tasks: {
21570
+ Args: never;
21571
+ Returns: number;
21572
+ };
21312
21573
  logistics_capacity_day_check: {
21313
21574
  Args: {
21314
21575
  p_from?: string;
@@ -21329,6 +21590,25 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21329
21590
  };
21330
21591
  Returns: number;
21331
21592
  };
21593
+ logistics_cart_index: {
21594
+ Args: {
21595
+ p_from?: string;
21596
+ p_to?: string;
21597
+ };
21598
+ Returns: {
21599
+ cart_id: string;
21600
+ cart_index: number;
21601
+ cart_label: string;
21602
+ is_shared: boolean;
21603
+ order_number: string;
21604
+ order_source: string;
21605
+ order_uuid: string;
21606
+ pick_date: string;
21607
+ printed_at: string;
21608
+ shifted: boolean;
21609
+ task_status: string;
21610
+ }[];
21611
+ };
21332
21612
  logistics_check_order_allowed: {
21333
21613
  Args: {
21334
21614
  p_lines: import("./types").Json;
@@ -21477,6 +21757,17 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21477
21757
  isSetofReturn: false;
21478
21758
  };
21479
21759
  };
21760
+ logistics_consistency_check: {
21761
+ Args: never;
21762
+ Returns: {
21763
+ agenda_carts: number;
21764
+ control_carts: number;
21765
+ ok: boolean;
21766
+ orphan_tasks: number;
21767
+ pick_date: string;
21768
+ raw_carts: number;
21769
+ }[];
21770
+ };
21480
21771
  logistics_delay_customer_email: {
21481
21772
  Args: {
21482
21773
  p_customer: string;
@@ -21502,6 +21793,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21502
21793
  };
21503
21794
  Returns: string;
21504
21795
  };
21796
+ logistics_document_type_map: {
21797
+ Args: {
21798
+ _document_code: string;
21799
+ };
21800
+ Returns: Database["public"]["Enums"]["doc_layout_type"][];
21801
+ };
21505
21802
  logistics_emit_event: {
21506
21803
  Args: {
21507
21804
  p_event_type: string;
@@ -21560,6 +21857,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21560
21857
  isSetofReturn: false;
21561
21858
  };
21562
21859
  };
21860
+ logistics_floriday_cart_plan: {
21861
+ Args: {
21862
+ p_order_id: string;
21863
+ };
21864
+ Returns: {
21865
+ carrier_type: string;
21866
+ idx: number;
21867
+ packages: number;
21868
+ }[];
21869
+ };
21563
21870
  logistics_floriday_claim_pushes: {
21564
21871
  Args: {
21565
21872
  _lease_seconds?: number;
@@ -21664,6 +21971,25 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21664
21971
  };
21665
21972
  Returns: number;
21666
21973
  };
21974
+ logistics_order_overview: {
21975
+ Args: {
21976
+ p_from?: string;
21977
+ p_to?: string;
21978
+ };
21979
+ Returns: {
21980
+ cart_count: number;
21981
+ customer_name: string;
21982
+ delivery_date: string;
21983
+ order_number: string;
21984
+ order_source: string;
21985
+ order_uuid: string;
21986
+ pick_date: string;
21987
+ plant_count: number;
21988
+ printed_at: string;
21989
+ shifted: boolean;
21990
+ status: string;
21991
+ }[];
21992
+ };
21667
21993
  logistics_order_pick_day: {
21668
21994
  Args: {
21669
21995
  p_order_ref: string;
@@ -21676,6 +22002,22 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21676
22002
  };
21677
22003
  Returns: string;
21678
22004
  };
22005
+ logistics_pick_agenda: {
22006
+ Args: {
22007
+ p_from?: string;
22008
+ p_to?: string;
22009
+ };
22010
+ Returns: {
22011
+ cart_count: number;
22012
+ in_preparation: number;
22013
+ order_count: number;
22014
+ orders: import("./types").Json;
22015
+ pick_date: string;
22016
+ plant_count: number;
22017
+ ready: number;
22018
+ shifted_count: number;
22019
+ }[];
22020
+ };
21679
22021
  logistics_pick_email_purpose: {
21680
22022
  Args: never;
21681
22023
  Returns: string;
@@ -21730,6 +22072,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21730
22072
  };
21731
22073
  Returns: undefined;
21732
22074
  };
22075
+ logistics_plan_floriday_order: {
22076
+ Args: {
22077
+ p_buffer_id?: string;
22078
+ p_order_id: string;
22079
+ };
22080
+ Returns: number;
22081
+ };
21733
22082
  logistics_plan_impact_orders: {
21734
22083
  Args: {
21735
22084
  p_order_id: string;
@@ -21835,6 +22184,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21835
22184
  };
21836
22185
  Returns: import("./types").Json;
21837
22186
  };
22187
+ logistics_resolve_pick_document: {
22188
+ Args: {
22189
+ _is_herprint: boolean;
22190
+ _queue_item_id: string;
22191
+ _session_id: string;
22192
+ _voorbeeld: boolean;
22193
+ };
22194
+ Returns: import("./types").Json;
22195
+ };
21838
22196
  logistics_resolve_settings: {
21839
22197
  Args: {
21840
22198
  p_config_id: string;
@@ -22275,6 +22633,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22275
22633
  };
22276
22634
  pick_enqueue_print_job: {
22277
22635
  Args: {
22636
+ _is_herprint?: boolean;
22278
22637
  _printer_id?: string;
22279
22638
  _queue_item_id: string;
22280
22639
  _session_id?: string;
@@ -22288,6 +22647,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22288
22647
  };
22289
22648
  Returns: import("./types").Json;
22290
22649
  };
22650
+ pick_preview_job: {
22651
+ Args: {
22652
+ _queue_item_id: string;
22653
+ _station_slug: string;
22654
+ };
22655
+ Returns: import("./types").Json;
22656
+ };
22291
22657
  pick_print_job_status: {
22292
22658
  Args: {
22293
22659
  _job_id: string;
@@ -22465,6 +22831,84 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22465
22831
  };
22466
22832
  Returns: undefined;
22467
22833
  };
22834
+ planning_cancel_item: {
22835
+ Args: {
22836
+ _id: string;
22837
+ };
22838
+ Returns: undefined;
22839
+ };
22840
+ planning_list: {
22841
+ Args: {
22842
+ _from: string;
22843
+ _to: string;
22844
+ };
22845
+ Returns: {
22846
+ assigned_monteur_id: string | null;
22847
+ assistants: import("./types").Json | null;
22848
+ budget_mandate_cents: number | null;
22849
+ created_at: string | null;
22850
+ created_by: string | null;
22851
+ customer_id: string | null;
22852
+ customer_name: string | null;
22853
+ duration_minutes: number | null;
22854
+ end_at: string | null;
22855
+ id: string | null;
22856
+ needs_detail_review: boolean | null;
22857
+ notes: string | null;
22858
+ project_number: string | null;
22859
+ review_reasons: string[] | null;
22860
+ start_at: string | null;
22861
+ status: Database["public"]["Enums"]["planning_item_status"] | null;
22862
+ updated_at: string | null;
22863
+ viewer_role: string | null;
22864
+ werkbon_id: string | null;
22865
+ work_address: string | null;
22866
+ }[];
22867
+ SetofOptions: {
22868
+ from: "*";
22869
+ to: "planning_overview";
22870
+ isOneToOne: false;
22871
+ isSetofReturn: true;
22872
+ };
22873
+ };
22874
+ planning_set_assistants: {
22875
+ Args: {
22876
+ _monteur_ids: string[];
22877
+ _planning_item_id: string;
22878
+ };
22879
+ Returns: undefined;
22880
+ };
22881
+ planning_upsert_item: {
22882
+ Args: {
22883
+ _assigned_monteur_id: string;
22884
+ _end_at: string;
22885
+ _notes?: string;
22886
+ _start_at: string;
22887
+ _werkbon_id: string;
22888
+ };
22889
+ Returns: {
22890
+ action: string;
22891
+ id: string;
22892
+ }[];
22893
+ };
22894
+ print_preview_toestaan: {
22895
+ Args: {
22896
+ _max?: number;
22897
+ _queue_item_id: string;
22898
+ _station_slug: string;
22899
+ _venster_sec?: number;
22900
+ };
22901
+ Returns: import("./types").Json;
22902
+ };
22903
+ print_preview_weiger: {
22904
+ Args: {
22905
+ _code: string;
22906
+ _queue_item_id: string;
22907
+ _reden: string;
22908
+ _station_slug: string;
22909
+ };
22910
+ Returns: undefined;
22911
+ };
22468
22912
  process_logistics_event: {
22469
22913
  Args: {
22470
22914
  p_event_id: string;
@@ -22582,6 +23026,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22582
23026
  };
22583
23027
  Returns: undefined;
22584
23028
  };
23029
+ replace_order_carts: {
23030
+ Args: {
23031
+ p_buffer_id: string;
23032
+ p_carts: import("./types").Json;
23033
+ p_order_id: string;
23034
+ };
23035
+ Returns: import("./types").Json;
23036
+ };
22585
23037
  reset_floriday_sync_cursor: {
22586
23038
  Args: {
22587
23039
  p_connection_id: string;
@@ -22611,6 +23063,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22611
23063
  };
22612
23064
  Returns: string;
22613
23065
  };
23066
+ resolve_print_job_printer_id: {
23067
+ Args: {
23068
+ _job: Database["public"]["Tables"]["print_jobs"]["Row"];
23069
+ };
23070
+ Returns: string;
23071
+ };
22614
23072
  resolve_product_id_for_item: {
22615
23073
  Args: {
22616
23074
  p_product_name: string;
@@ -23014,6 +23472,26 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23014
23472
  };
23015
23473
  Returns: string[];
23016
23474
  };
23475
+ start_time_log_at: {
23476
+ Args: {
23477
+ p_clicked_at?: string;
23478
+ p_employee_id: string;
23479
+ p_start_lat?: number;
23480
+ p_start_lng?: number;
23481
+ p_type: string;
23482
+ p_work_order_id?: string;
23483
+ };
23484
+ Returns: import("./types").Json;
23485
+ };
23486
+ stop_time_log: {
23487
+ Args: {
23488
+ p_employee_id: string;
23489
+ p_end_lat?: number;
23490
+ p_end_lng?: number;
23491
+ p_end_time: string;
23492
+ };
23493
+ Returns: import("./types").Json;
23494
+ };
23017
23495
  switch_time_log: {
23018
23496
  Args: {
23019
23497
  p_employee_id: string;
@@ -23202,6 +23680,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23202
23680
  };
23203
23681
  CompositeTypes: { [_ in never]: never; };
23204
23682
  }, {
23205
- PostgrestVersion: "14.17";
23683
+ PostgrestVersion: "14.5";
23206
23684
  }>;
23207
23685
  //# sourceMappingURL=client.server.d.ts.map