@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.
- package/dist-lib/components/TemplatePage.d.ts +1 -1
- package/dist-lib/components/TemplatePage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/AdditionalPackagingDialog.d.ts +1 -1
- package/dist-lib/components/voorraad/AdditionalPackagingDialog.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelCompositionCard.d.ts +1 -1
- package/dist-lib/components/voorraad/ArtikelCompositionCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.d.ts +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ConnectionBadge.d.ts +1 -1
- package/dist-lib/components/voorraad/ConnectionBadge.d.ts.map +1 -1
- package/dist-lib/components/voorraad/EditArtikelPage.d.ts +1 -1
- package/dist-lib/components/voorraad/EditArtikelPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ExcelExportButton.d.ts +1 -1
- package/dist-lib/components/voorraad/ExcelExportButton.d.ts.map +1 -1
- package/dist-lib/components/voorraad/FloridayInfoCard.d.ts +1 -1
- package/dist-lib/components/voorraad/FloridayInfoCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/FloridayStatusBadge.d.ts +1 -1
- package/dist-lib/components/voorraad/FloridayStatusBadge.d.ts.map +1 -1
- package/dist-lib/components/voorraad/FustenPage.d.ts +1 -1
- package/dist-lib/components/voorraad/FustenPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/InventorySettingsDrawer.d.ts +10 -0
- package/dist-lib/components/voorraad/InventorySettingsDrawer.d.ts.map +1 -0
- package/dist-lib/components/voorraad/InventorySettingsDrawer.js +99 -0
- package/dist-lib/components/voorraad/InventoryStatusBadge.d.ts +6 -0
- package/dist-lib/components/voorraad/InventoryStatusBadge.d.ts.map +1 -0
- package/dist-lib/components/voorraad/InventoryStatusBadge.js +43 -0
- package/dist-lib/components/voorraad/ModuleHealthCard.d.ts +1 -1
- package/dist-lib/components/voorraad/ModuleHealthCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/NieuwArtikelPage.d.ts +1 -1
- package/dist-lib/components/voorraad/NieuwArtikelPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/OrderHistoryCard.d.ts +1 -1
- package/dist-lib/components/voorraad/OrderHistoryCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/PriceStatusBadge.d.ts +1 -1
- package/dist-lib/components/voorraad/PriceStatusBadge.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ProductCustomFieldsCard.d.ts +1 -1
- package/dist-lib/components/voorraad/ProductCustomFieldsCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ProductLinkCard.d.ts +1 -1
- package/dist-lib/components/voorraad/ProductLinkCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/PublicatiesPage.d.ts +1 -1
- package/dist-lib/components/voorraad/PublicatiesPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/PublishProgressCard.d.ts +1 -1
- package/dist-lib/components/voorraad/PublishProgressCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/PublishReadinessCard.d.ts +1 -1
- package/dist-lib/components/voorraad/PublishReadinessCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StepSamenstelling.d.ts +1 -1
- package/dist-lib/components/voorraad/StepSamenstelling.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockBulkButtons.d.ts +1 -1
- package/dist-lib/components/voorraad/StockBulkButtons.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockHistoryChart.d.ts +4 -0
- package/dist-lib/components/voorraad/StockHistoryChart.d.ts.map +1 -0
- package/dist-lib/components/voorraad/StockHistoryChart.js +53 -0
- package/dist-lib/components/voorraad/StockPushMonitor.d.ts +1 -1
- package/dist-lib/components/voorraad/StockPushMonitor.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockSyncStatus.d.ts +1 -1
- package/dist-lib/components/voorraad/StockSyncStatus.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ValidationOverviewTable.d.ts +1 -1
- package/dist-lib/components/voorraad/ValidationOverviewTable.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ValidationPage.d.ts +1 -1
- package/dist-lib/components/voorraad/ValidationPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadDashboard.d.ts +1 -1
- package/dist-lib/components/voorraad/VoorraadDashboard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadPage.d.ts +1 -1
- package/dist-lib/components/voorraad/VoorraadPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadPage.js +29 -1
- package/dist-lib/components/voorraad/VoorraadPagination.d.ts +1 -1
- package/dist-lib/components/voorraad/VoorraadPagination.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadStockCard.d.ts +1 -1
- package/dist-lib/components/voorraad/VoorraadStockCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadTable.d.ts +10 -2
- package/dist-lib/components/voorraad/VoorraadTable.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadTable.js +17 -6
- package/dist-lib/components/voorraad/VoorraadVeldenCard.d.ts +1 -1
- package/dist-lib/components/voorraad/VoorraadVeldenCard.d.ts.map +1 -1
- package/dist-lib/hooks/useInventorySettings.d.ts +29 -0
- package/dist-lib/hooks/useInventorySettings.d.ts.map +1 -0
- package/dist-lib/hooks/useInventorySettings.js +62 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1195 -717
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +1195 -717
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.js +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1195 -717
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.js +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1208 -748
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts +1196 -724
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-2026v1.server.d.ts +77 -0
- package/dist-lib/lib/floriday-2026v1.server.d.ts.map +1 -0
- package/dist-lib/lib/floriday-2026v1.server.js +178 -0
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts +1198 -718
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-env.functions.d.ts +2180 -1224
- package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.functions.d.ts +6852 -3984
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-stock-supply.server.d.ts +18 -7
- package/dist-lib/lib/floriday-stock-supply.server.d.ts.map +1 -1
- package/dist-lib/lib/floriday-stock-supply.server.js +70 -68
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts +2180 -1224
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +3476 -2042
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +2180 -1224
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/inventory-settings.functions.d.ts +47391 -0
- package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -0
- package/dist-lib/lib/inventory-settings.functions.js +97 -0
- package/dist-lib/lib/module-health.functions.d.ts +2180 -1224
- package/dist-lib/lib/module-health.functions.d.ts.map +1 -1
- package/dist-lib/lib/stock-sync.functions.d.ts +2180 -1224
- package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist-lib/components/settings/VoorraadSettingsCard.d.ts +0 -2
- package/dist-lib/components/settings/VoorraadSettingsCard.d.ts.map +0 -1
- package/dist-lib/components/settings/VoorraadSettingsCard.js +0 -39
- package/dist-lib/components/voorraad/ConnectionPicker.d.ts +0 -8
- package/dist-lib/components/voorraad/ConnectionPicker.d.ts.map +0 -1
- package/dist-lib/components/voorraad/ConnectionPicker.js +0 -8
|
@@ -76,7 +76,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
76
76
|
pick_distribution_enabled?: boolean;
|
|
77
77
|
pick_weekdays?: number[];
|
|
78
78
|
signup_mail_enabled?: boolean;
|
|
79
|
-
signup_mail_lead_minutes
|
|
79
|
+
signup_mail_lead_minutes? /**
|
|
80
|
+
* Primaire packing meesturen zodat Floriday de regel goed valideert.
|
|
81
|
+
*/: number;
|
|
80
82
|
signup_mail_purpose?: string;
|
|
81
83
|
transport_register_days_before?: number;
|
|
82
84
|
updated_at?: string;
|
|
@@ -2880,6 +2882,84 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
2880
2882
|
};
|
|
2881
2883
|
Relationships: [];
|
|
2882
2884
|
};
|
|
2885
|
+
delivery_notes: {
|
|
2886
|
+
Row: {
|
|
2887
|
+
byte_size: number | null;
|
|
2888
|
+
connection_id: string | null;
|
|
2889
|
+
content_type: string;
|
|
2890
|
+
created_at: string;
|
|
2891
|
+
error_message: string | null;
|
|
2892
|
+
fetched_at: string | null;
|
|
2893
|
+
fulfillment_order_id: string | null;
|
|
2894
|
+
http_status: number | null;
|
|
2895
|
+
id: string;
|
|
2896
|
+
label_code: string | null;
|
|
2897
|
+
letter: string | null;
|
|
2898
|
+
load_carrier_index: number | null;
|
|
2899
|
+
load_carrier_type: string | null;
|
|
2900
|
+
order_id: string | null;
|
|
2901
|
+
order_number: string | null;
|
|
2902
|
+
packages: number | null;
|
|
2903
|
+
source: string;
|
|
2904
|
+
status: string;
|
|
2905
|
+
storage_bucket: string;
|
|
2906
|
+
storage_path: string | null;
|
|
2907
|
+
updated_at: string;
|
|
2908
|
+
};
|
|
2909
|
+
Insert: {
|
|
2910
|
+
byte_size?: number | null;
|
|
2911
|
+
connection_id?: string | null;
|
|
2912
|
+
content_type?: string;
|
|
2913
|
+
created_at?: string;
|
|
2914
|
+
error_message?: string | null;
|
|
2915
|
+
fetched_at?: string | null;
|
|
2916
|
+
fulfillment_order_id?: string | null;
|
|
2917
|
+
http_status?: number | null;
|
|
2918
|
+
id?: string;
|
|
2919
|
+
label_code?: string | null;
|
|
2920
|
+
letter?: string | null;
|
|
2921
|
+
load_carrier_index?: number | null;
|
|
2922
|
+
load_carrier_type?: string | null;
|
|
2923
|
+
order_id?: string | null;
|
|
2924
|
+
order_number?: string | null;
|
|
2925
|
+
packages?: number | null;
|
|
2926
|
+
source?: string;
|
|
2927
|
+
status?: string;
|
|
2928
|
+
storage_bucket?: string;
|
|
2929
|
+
storage_path?: string | null;
|
|
2930
|
+
updated_at?: string;
|
|
2931
|
+
};
|
|
2932
|
+
Update: {
|
|
2933
|
+
byte_size?: number | null;
|
|
2934
|
+
connection_id?: string | null;
|
|
2935
|
+
content_type?: string;
|
|
2936
|
+
created_at?: string;
|
|
2937
|
+
error_message?: string | null;
|
|
2938
|
+
fetched_at?: string | null;
|
|
2939
|
+
fulfillment_order_id?: string | null;
|
|
2940
|
+
http_status?: number | null;
|
|
2941
|
+
id?: string;
|
|
2942
|
+
label_code?: string | null;
|
|
2943
|
+
letter?: string | null;
|
|
2944
|
+
load_carrier_index?: number | null;
|
|
2945
|
+
load_carrier_type?: string | null;
|
|
2946
|
+
order_id?: string | null;
|
|
2947
|
+
order_number?: string | null;
|
|
2948
|
+
packages?: number | null;
|
|
2949
|
+
source?: string;
|
|
2950
|
+
status?: string;
|
|
2951
|
+
storage_bucket?: string;
|
|
2952
|
+
storage_path?: string | null;
|
|
2953
|
+
updated_at?: string;
|
|
2954
|
+
};
|
|
2955
|
+
Relationships: [{
|
|
2956
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
2957
|
+
columns: ["order_id"];
|
|
2958
|
+
isOneToOne: false;
|
|
2959
|
+
referencedRelation: "orders";
|
|
2960
|
+
referencedColumns: ["id"];
|
|
2961
|
+
}];
|
|
2962
|
+
};
|
|
2883
2963
|
document_bronregels: {
|
|
2884
2964
|
Row: {
|
|
2885
2965
|
bron: string;
|
|
@@ -5933,10 +6013,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
5933
6013
|
};
|
|
5934
6014
|
floriday_connections: {
|
|
5935
6015
|
Row: {
|
|
5936
|
-
access_token: string | null;
|
|
5937
6016
|
api_key: string;
|
|
5938
|
-
client_id: string;
|
|
5939
|
-
client_secret: string;
|
|
5940
6017
|
created_at: string;
|
|
5941
6018
|
customers_endpoint: string | null;
|
|
5942
6019
|
environment: string;
|
|
@@ -5951,10 +6028,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
5951
6028
|
updated_at: string;
|
|
5952
6029
|
};
|
|
5953
6030
|
Insert: {
|
|
5954
|
-
access_token?: string | null;
|
|
5955
6031
|
api_key: string;
|
|
5956
|
-
client_id: string;
|
|
5957
|
-
client_secret: string;
|
|
5958
6032
|
created_at?: string;
|
|
5959
6033
|
customers_endpoint?: string | null;
|
|
5960
6034
|
environment: string;
|
|
@@ -5969,10 +6043,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
5969
6043
|
updated_at?: string;
|
|
5970
6044
|
};
|
|
5971
6045
|
Update: {
|
|
5972
|
-
access_token?: string | null;
|
|
5973
6046
|
api_key?: string;
|
|
5974
|
-
client_id?: string;
|
|
5975
|
-
client_secret?: string;
|
|
5976
6047
|
created_at?: string;
|
|
5977
6048
|
customers_endpoint?: string | null;
|
|
5978
6049
|
environment?: string;
|
|
@@ -6056,6 +6127,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
6056
6127
|
attempts: number;
|
|
6057
6128
|
connection_id: string;
|
|
6058
6129
|
created_at: string;
|
|
6130
|
+
dead_lettered_at: string | null;
|
|
6059
6131
|
desired_available: boolean | null;
|
|
6060
6132
|
gateway_attempt_id: string | null;
|
|
6061
6133
|
id: string;
|
|
@@ -6064,9 +6136,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
6064
6136
|
locked_by: string | null;
|
|
6065
6137
|
next_attempt_at: string;
|
|
6066
6138
|
number_of_pieces: number;
|
|
6139
|
+
product_id: string | null;
|
|
6067
6140
|
sent_at: string | null;
|
|
6068
6141
|
status: string;
|
|
6142
|
+
stock_mode: string | null;
|
|
6069
6143
|
superseded_by: string | null;
|
|
6144
|
+
target_week: number | null;
|
|
6145
|
+
target_year: number | null;
|
|
6070
6146
|
trade_item_id: string;
|
|
6071
6147
|
updated_at: string;
|
|
6072
6148
|
user_id: string;
|
|
@@ -6075,6 +6151,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
6075
6151
|
attempts?: number;
|
|
6076
6152
|
connection_id: string;
|
|
6077
6153
|
created_at?: string;
|
|
6154
|
+
dead_lettered_at?: string | null;
|
|
6078
6155
|
desired_available?: boolean | null;
|
|
6079
6156
|
gateway_attempt_id?: string | null;
|
|
6080
6157
|
id?: string;
|
|
@@ -6083,9 +6160,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
6083
6160
|
locked_by?: string | null;
|
|
6084
6161
|
next_attempt_at?: string;
|
|
6085
6162
|
number_of_pieces?: number;
|
|
6163
|
+
product_id?: string | null;
|
|
6086
6164
|
sent_at?: string | null;
|
|
6087
6165
|
status?: string;
|
|
6166
|
+
stock_mode?: string | null;
|
|
6088
6167
|
superseded_by?: string | null;
|
|
6168
|
+
target_week?: number | null;
|
|
6169
|
+
target_year?: number | null;
|
|
6089
6170
|
trade_item_id: string;
|
|
6090
6171
|
updated_at?: string;
|
|
6091
6172
|
user_id: string;
|
|
@@ -6094,6 +6175,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
6094
6175
|
attempts?: number;
|
|
6095
6176
|
connection_id?: string;
|
|
6096
6177
|
created_at?: string;
|
|
6178
|
+
dead_lettered_at?: string | null;
|
|
6097
6179
|
desired_available?: boolean | null;
|
|
6098
6180
|
gateway_attempt_id?: string | null;
|
|
6099
6181
|
id?: string;
|
|
@@ -6102,9 +6184,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
6102
6184
|
locked_by?: string | null;
|
|
6103
6185
|
next_attempt_at?: string;
|
|
6104
6186
|
number_of_pieces?: number;
|
|
6187
|
+
product_id?: string | null;
|
|
6105
6188
|
sent_at?: string | null;
|
|
6106
6189
|
status?: string;
|
|
6190
|
+
stock_mode?: string | null;
|
|
6107
6191
|
superseded_by?: string | null;
|
|
6192
|
+
target_week?: number | null;
|
|
6193
|
+
target_year?: number | null;
|
|
6108
6194
|
trade_item_id?: string;
|
|
6109
6195
|
updated_at?: string;
|
|
6110
6196
|
user_id?: string;
|
|
@@ -6513,6 +6599,87 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
6513
6599
|
referencedColumns: ["id"];
|
|
6514
6600
|
}];
|
|
6515
6601
|
};
|
|
6602
|
+
floriday_inventory_settings: {
|
|
6603
|
+
Row: {
|
|
6604
|
+
buffer_quantity: number;
|
|
6605
|
+
connection_id: string;
|
|
6606
|
+
created_at: string;
|
|
6607
|
+
desired_availability: boolean;
|
|
6608
|
+
desired_quantity: number;
|
|
6609
|
+
fixed_quantity: number | null;
|
|
6610
|
+
floriday_trade_item_id: string | null;
|
|
6611
|
+
id: string;
|
|
6612
|
+
last_confirmed_at: string | null;
|
|
6613
|
+
last_enqueued_at: string | null;
|
|
6614
|
+
last_published_at: string | null;
|
|
6615
|
+
last_sync_error: string | null;
|
|
6616
|
+
manual_quantity: number | null;
|
|
6617
|
+
maximum_quantity: number | null;
|
|
6618
|
+
product_id: string;
|
|
6619
|
+
quantity_control: string;
|
|
6620
|
+
remote_available: boolean | null;
|
|
6621
|
+
remote_checked_at: string | null;
|
|
6622
|
+
remote_quantity: number | null;
|
|
6623
|
+
stock_mode: string;
|
|
6624
|
+
sync_status: string;
|
|
6625
|
+
updated_at: string;
|
|
6626
|
+
updated_by: string | null;
|
|
6627
|
+
user_id: string;
|
|
6628
|
+
};
|
|
6629
|
+
Insert: {
|
|
6630
|
+
buffer_quantity?: number;
|
|
6631
|
+
connection_id: string;
|
|
6632
|
+
created_at?: string;
|
|
6633
|
+
desired_availability?: boolean;
|
|
6634
|
+
desired_quantity?: number;
|
|
6635
|
+
fixed_quantity?: number | null;
|
|
6636
|
+
floriday_trade_item_id?: string | null;
|
|
6637
|
+
id?: string;
|
|
6638
|
+
last_confirmed_at?: string | null;
|
|
6639
|
+
last_enqueued_at?: string | null;
|
|
6640
|
+
last_published_at?: string | null;
|
|
6641
|
+
last_sync_error?: string | null;
|
|
6642
|
+
manual_quantity?: number | null;
|
|
6643
|
+
maximum_quantity?: number | null;
|
|
6644
|
+
product_id: string;
|
|
6645
|
+
quantity_control?: string;
|
|
6646
|
+
remote_available?: boolean | null;
|
|
6647
|
+
remote_checked_at?: string | null;
|
|
6648
|
+
remote_quantity?: number | null;
|
|
6649
|
+
stock_mode?: string;
|
|
6650
|
+
sync_status?: string;
|
|
6651
|
+
updated_at?: string;
|
|
6652
|
+
updated_by?: string | null;
|
|
6653
|
+
user_id: string;
|
|
6654
|
+
};
|
|
6655
|
+
Update: {
|
|
6656
|
+
buffer_quantity?: number;
|
|
6657
|
+
connection_id?: string;
|
|
6658
|
+
created_at?: string;
|
|
6659
|
+
desired_availability?: boolean;
|
|
6660
|
+
desired_quantity?: number;
|
|
6661
|
+
fixed_quantity?: number | null;
|
|
6662
|
+
floriday_trade_item_id?: string | null;
|
|
6663
|
+
id?: string;
|
|
6664
|
+
last_confirmed_at?: string | null;
|
|
6665
|
+
last_enqueued_at?: string | null;
|
|
6666
|
+
last_published_at?: string | null;
|
|
6667
|
+
last_sync_error?: string | null;
|
|
6668
|
+
manual_quantity?: number | null;
|
|
6669
|
+
maximum_quantity?: number | null;
|
|
6670
|
+
product_id?: string;
|
|
6671
|
+
quantity_control?: string;
|
|
6672
|
+
remote_available?: boolean | null;
|
|
6673
|
+
remote_checked_at?: string | null;
|
|
6674
|
+
remote_quantity?: number | null;
|
|
6675
|
+
stock_mode?: string;
|
|
6676
|
+
sync_status?: string;
|
|
6677
|
+
updated_at?: string;
|
|
6678
|
+
updated_by?: string | null;
|
|
6679
|
+
user_id?: string;
|
|
6680
|
+
};
|
|
6681
|
+
Relationships: [];
|
|
6682
|
+
};
|
|
6516
6683
|
floriday_invoices_cache: {
|
|
6517
6684
|
Row: {
|
|
6518
6685
|
buyer_organization_id: string | null;
|
|
@@ -6801,6 +6968,39 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
6801
6968
|
};
|
|
6802
6969
|
Relationships: [];
|
|
6803
6970
|
};
|
|
6971
|
+
floriday_sales_order_ingest: {
|
|
6972
|
+
Row: {
|
|
6973
|
+
connection_id: string;
|
|
6974
|
+
created_at: string;
|
|
6975
|
+
id: string;
|
|
6976
|
+
impact: import("../integrations/supabase/types").Json;
|
|
6977
|
+
order_status: string | null;
|
|
6978
|
+
order_version: number;
|
|
6979
|
+
processed_at: string;
|
|
6980
|
+
sales_order_id: string;
|
|
6981
|
+
};
|
|
6982
|
+
Insert: {
|
|
6983
|
+
connection_id: string;
|
|
6984
|
+
created_at?: string;
|
|
6985
|
+
id?: string;
|
|
6986
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
6987
|
+
order_status?: string | null;
|
|
6988
|
+
order_version?: number;
|
|
6989
|
+
processed_at?: string;
|
|
6990
|
+
sales_order_id: string;
|
|
6991
|
+
};
|
|
6992
|
+
Update: {
|
|
6993
|
+
connection_id?: string;
|
|
6994
|
+
created_at?: string;
|
|
6995
|
+
id?: string;
|
|
6996
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
6997
|
+
order_status?: string | null;
|
|
6998
|
+
order_version?: number;
|
|
6999
|
+
processed_at?: string;
|
|
7000
|
+
sales_order_id?: string;
|
|
7001
|
+
};
|
|
7002
|
+
Relationships: [];
|
|
7003
|
+
};
|
|
6804
7004
|
floriday_sales_strategies_cache: {
|
|
6805
7005
|
Row: {
|
|
6806
7006
|
connection_id: string;
|
|
@@ -6900,6 +7100,39 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
6900
7100
|
};
|
|
6901
7101
|
Relationships: [];
|
|
6902
7102
|
};
|
|
7103
|
+
floriday_sync_cursors: {
|
|
7104
|
+
Row: {
|
|
7105
|
+
connection_id: string;
|
|
7106
|
+
created_at: string;
|
|
7107
|
+
id: string;
|
|
7108
|
+
last_error: string | null;
|
|
7109
|
+
last_sync_at: string | null;
|
|
7110
|
+
resource_type: string;
|
|
7111
|
+
sequence_number: number;
|
|
7112
|
+
updated_at: string;
|
|
7113
|
+
};
|
|
7114
|
+
Insert: {
|
|
7115
|
+
connection_id: string;
|
|
7116
|
+
created_at?: string;
|
|
7117
|
+
id?: string;
|
|
7118
|
+
last_error?: string | null;
|
|
7119
|
+
last_sync_at?: string | null;
|
|
7120
|
+
resource_type: string;
|
|
7121
|
+
sequence_number?: number;
|
|
7122
|
+
updated_at?: string;
|
|
7123
|
+
};
|
|
7124
|
+
Update: {
|
|
7125
|
+
connection_id?: string;
|
|
7126
|
+
created_at?: string;
|
|
7127
|
+
id?: string;
|
|
7128
|
+
last_error?: string | null;
|
|
7129
|
+
last_sync_at?: string | null;
|
|
7130
|
+
resource_type?: string;
|
|
7131
|
+
sequence_number?: number;
|
|
7132
|
+
updated_at?: string;
|
|
7133
|
+
};
|
|
7134
|
+
Relationships: [];
|
|
7135
|
+
};
|
|
6903
7136
|
floriday_sync_state: {
|
|
6904
7137
|
Row: {
|
|
6905
7138
|
connection_id: string;
|
|
@@ -7590,6 +7823,42 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
7590
7823
|
};
|
|
7591
7824
|
Relationships: [];
|
|
7592
7825
|
};
|
|
7826
|
+
inventory_stock_snapshots: {
|
|
7827
|
+
Row: {
|
|
7828
|
+
connection_id: string;
|
|
7829
|
+
created_at: string;
|
|
7830
|
+
erp_available_quantity: number;
|
|
7831
|
+
floriday_desired_quantity: number;
|
|
7832
|
+
floriday_remote_quantity: number | null;
|
|
7833
|
+
granularity: string;
|
|
7834
|
+
id: string;
|
|
7835
|
+
snapshot_at: string;
|
|
7836
|
+
user_id: string | null;
|
|
7837
|
+
};
|
|
7838
|
+
Insert: {
|
|
7839
|
+
connection_id: string;
|
|
7840
|
+
created_at?: string;
|
|
7841
|
+
erp_available_quantity?: number;
|
|
7842
|
+
floriday_desired_quantity?: number;
|
|
7843
|
+
floriday_remote_quantity?: number | null;
|
|
7844
|
+
granularity?: string;
|
|
7845
|
+
id?: string;
|
|
7846
|
+
snapshot_at?: string;
|
|
7847
|
+
user_id?: string | null;
|
|
7848
|
+
};
|
|
7849
|
+
Update: {
|
|
7850
|
+
connection_id?: string;
|
|
7851
|
+
created_at?: string;
|
|
7852
|
+
erp_available_quantity?: number;
|
|
7853
|
+
floriday_desired_quantity?: number;
|
|
7854
|
+
floriday_remote_quantity?: number | null;
|
|
7855
|
+
granularity?: string;
|
|
7856
|
+
id?: string;
|
|
7857
|
+
snapshot_at?: string;
|
|
7858
|
+
user_id?: string | null;
|
|
7859
|
+
};
|
|
7860
|
+
Relationships: [];
|
|
7861
|
+
};
|
|
7593
7862
|
invoice_items: {
|
|
7594
7863
|
Row: {
|
|
7595
7864
|
created_at: string;
|
|
@@ -8098,13 +8367,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
8098
8367
|
segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
|
|
8099
8368
|
updated_at?: string;
|
|
8100
8369
|
};
|
|
8101
|
-
Relationships: [
|
|
8102
|
-
foreignKeyName: "itk_customers_legacy_customer_id_fkey";
|
|
8103
|
-
columns: ["legacy_customer_id"];
|
|
8104
|
-
isOneToOne: false;
|
|
8105
|
-
referencedRelation: "customers";
|
|
8106
|
-
referencedColumns: ["id"];
|
|
8107
|
-
}];
|
|
8370
|
+
Relationships: [];
|
|
8108
8371
|
};
|
|
8109
8372
|
itk_dynamic_fields: {
|
|
8110
8373
|
Row: {
|
|
@@ -8136,104 +8399,278 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
8136
8399
|
};
|
|
8137
8400
|
Relationships: [];
|
|
8138
8401
|
};
|
|
8139
|
-
|
|
8402
|
+
itk_handover_rechten: {
|
|
8140
8403
|
Row: {
|
|
8141
8404
|
created_at: string;
|
|
8142
|
-
event_type: string;
|
|
8143
8405
|
id: string;
|
|
8144
|
-
|
|
8145
|
-
|
|
8146
|
-
|
|
8406
|
+
module_id: string;
|
|
8407
|
+
rol: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"] | null;
|
|
8408
|
+
updated_at: string;
|
|
8147
8409
|
user_id: string | null;
|
|
8148
8410
|
};
|
|
8149
8411
|
Insert: {
|
|
8150
8412
|
created_at?: string;
|
|
8151
|
-
event_type: string;
|
|
8152
8413
|
id?: string;
|
|
8153
|
-
|
|
8154
|
-
|
|
8155
|
-
|
|
8414
|
+
module_id: string;
|
|
8415
|
+
rol?: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"] | null;
|
|
8416
|
+
updated_at?: string;
|
|
8156
8417
|
user_id?: string | null;
|
|
8157
8418
|
};
|
|
8158
8419
|
Update: {
|
|
8159
8420
|
created_at?: string;
|
|
8160
|
-
event_type?: string;
|
|
8161
8421
|
id?: string;
|
|
8162
|
-
|
|
8163
|
-
|
|
8164
|
-
|
|
8422
|
+
module_id?: string;
|
|
8423
|
+
rol?: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"] | null;
|
|
8424
|
+
updated_at?: string;
|
|
8165
8425
|
user_id?: string | null;
|
|
8166
8426
|
};
|
|
8167
|
-
Relationships: [
|
|
8168
|
-
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
8169
|
-
columns: ["offerte_id"];
|
|
8170
|
-
isOneToOne: false;
|
|
8171
|
-
referencedRelation: "itk_offertes";
|
|
8172
|
-
referencedColumns: ["id"];
|
|
8173
|
-
}];
|
|
8427
|
+
Relationships: [];
|
|
8174
8428
|
};
|
|
8175
|
-
|
|
8429
|
+
itk_handover_tokens: {
|
|
8176
8430
|
Row: {
|
|
8431
|
+
aangemaakt_door: string | null;
|
|
8177
8432
|
created_at: string;
|
|
8178
8433
|
id: string;
|
|
8179
|
-
|
|
8180
|
-
|
|
8181
|
-
|
|
8182
|
-
|
|
8183
|
-
|
|
8184
|
-
sort_order: number;
|
|
8185
|
-
source: string;
|
|
8186
|
-
unit_price_cents: number;
|
|
8434
|
+
is_actief: boolean;
|
|
8435
|
+
laatst_gebruikt_op: string | null;
|
|
8436
|
+
label: string;
|
|
8437
|
+
module_id: string;
|
|
8438
|
+
token_hash: string;
|
|
8187
8439
|
updated_at: string;
|
|
8440
|
+
verloopt_op: string | null;
|
|
8188
8441
|
};
|
|
8189
8442
|
Insert: {
|
|
8443
|
+
aangemaakt_door?: string | null;
|
|
8190
8444
|
created_at?: string;
|
|
8191
8445
|
id?: string;
|
|
8192
|
-
|
|
8193
|
-
|
|
8194
|
-
|
|
8195
|
-
|
|
8196
|
-
|
|
8197
|
-
sort_order?: number;
|
|
8198
|
-
source?: string;
|
|
8199
|
-
unit_price_cents?: number;
|
|
8446
|
+
is_actief?: boolean;
|
|
8447
|
+
laatst_gebruikt_op?: string | null;
|
|
8448
|
+
label?: string;
|
|
8449
|
+
module_id: string;
|
|
8450
|
+
token_hash: string;
|
|
8200
8451
|
updated_at?: string;
|
|
8452
|
+
verloopt_op?: string | null;
|
|
8201
8453
|
};
|
|
8202
8454
|
Update: {
|
|
8455
|
+
aangemaakt_door?: string | null;
|
|
8203
8456
|
created_at?: string;
|
|
8204
8457
|
id?: string;
|
|
8205
|
-
|
|
8206
|
-
|
|
8207
|
-
|
|
8208
|
-
|
|
8209
|
-
|
|
8210
|
-
sort_order?: number;
|
|
8211
|
-
source?: string;
|
|
8212
|
-
unit_price_cents?: number;
|
|
8458
|
+
is_actief?: boolean;
|
|
8459
|
+
laatst_gebruikt_op?: string | null;
|
|
8460
|
+
label?: string;
|
|
8461
|
+
module_id?: string;
|
|
8462
|
+
token_hash?: string;
|
|
8213
8463
|
updated_at?: string;
|
|
8464
|
+
verloopt_op?: string | null;
|
|
8214
8465
|
};
|
|
8215
|
-
Relationships: [
|
|
8216
|
-
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
8217
|
-
columns: ["offerte_id"];
|
|
8218
|
-
isOneToOne: false;
|
|
8219
|
-
referencedRelation: "itk_offertes";
|
|
8220
|
-
referencedColumns: ["id"];
|
|
8221
|
-
}, {
|
|
8222
|
-
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
8223
|
-
columns: ["package_id"];
|
|
8224
|
-
isOneToOne: false;
|
|
8225
|
-
referencedRelation: "werkbon_packages";
|
|
8226
|
-
referencedColumns: ["id"];
|
|
8227
|
-
}];
|
|
8466
|
+
Relationships: [];
|
|
8228
8467
|
};
|
|
8229
|
-
|
|
8468
|
+
itk_module_handovers: {
|
|
8230
8469
|
Row: {
|
|
8231
|
-
|
|
8470
|
+
bevindingen: string | null;
|
|
8471
|
+
bezit_tabellen: string[];
|
|
8472
|
+
conflicten_snapshot: import("../integrations/supabase/types").Json;
|
|
8473
|
+
contractfuncties: string[];
|
|
8232
8474
|
created_at: string;
|
|
8233
|
-
|
|
8234
|
-
|
|
8475
|
+
eigenaar_module_id: string | null;
|
|
8476
|
+
gepubliceerd_door: string | null;
|
|
8477
|
+
gepubliceerd_op: string;
|
|
8478
|
+
herzieningstermijn_dagen: number;
|
|
8235
8479
|
id: string;
|
|
8236
|
-
|
|
8480
|
+
inhoud_md: string;
|
|
8481
|
+
is_actueel: boolean;
|
|
8482
|
+
module_id: string;
|
|
8483
|
+
module_titel: string;
|
|
8484
|
+
ontbrekende_contracten: string[];
|
|
8485
|
+
samenvatting: string | null;
|
|
8486
|
+
updated_at: string;
|
|
8487
|
+
versie: number;
|
|
8488
|
+
};
|
|
8489
|
+
Insert: {
|
|
8490
|
+
bevindingen?: string | null;
|
|
8491
|
+
bezit_tabellen?: string[];
|
|
8492
|
+
conflicten_snapshot?: import("../integrations/supabase/types").Json;
|
|
8493
|
+
contractfuncties?: string[];
|
|
8494
|
+
created_at?: string;
|
|
8495
|
+
eigenaar_module_id?: string | null;
|
|
8496
|
+
gepubliceerd_door?: string | null;
|
|
8497
|
+
gepubliceerd_op?: string;
|
|
8498
|
+
herzieningstermijn_dagen?: number;
|
|
8499
|
+
id?: string;
|
|
8500
|
+
inhoud_md: string;
|
|
8501
|
+
is_actueel?: boolean;
|
|
8502
|
+
module_id: string;
|
|
8503
|
+
module_titel: string;
|
|
8504
|
+
ontbrekende_contracten?: string[];
|
|
8505
|
+
samenvatting?: string | null;
|
|
8506
|
+
updated_at?: string;
|
|
8507
|
+
versie?: number;
|
|
8508
|
+
};
|
|
8509
|
+
Update: {
|
|
8510
|
+
bevindingen?: string | null;
|
|
8511
|
+
bezit_tabellen?: string[];
|
|
8512
|
+
conflicten_snapshot?: import("../integrations/supabase/types").Json;
|
|
8513
|
+
contractfuncties?: string[];
|
|
8514
|
+
created_at?: string;
|
|
8515
|
+
eigenaar_module_id?: string | null;
|
|
8516
|
+
gepubliceerd_door?: string | null;
|
|
8517
|
+
gepubliceerd_op?: string;
|
|
8518
|
+
herzieningstermijn_dagen?: number;
|
|
8519
|
+
id?: string;
|
|
8520
|
+
inhoud_md?: string;
|
|
8521
|
+
is_actueel?: boolean;
|
|
8522
|
+
module_id?: string;
|
|
8523
|
+
module_titel?: string;
|
|
8524
|
+
ontbrekende_contracten?: string[];
|
|
8525
|
+
samenvatting?: string | null;
|
|
8526
|
+
updated_at?: string;
|
|
8527
|
+
versie?: number;
|
|
8528
|
+
};
|
|
8529
|
+
Relationships: [];
|
|
8530
|
+
};
|
|
8531
|
+
itk_module_instructies: {
|
|
8532
|
+
Row: {
|
|
8533
|
+
created_at: string;
|
|
8534
|
+
eigenaar_module_id: string;
|
|
8535
|
+
gepubliceerd_door: string | null;
|
|
8536
|
+
gepubliceerd_op: string;
|
|
8537
|
+
id: string;
|
|
8538
|
+
inhoud_md: string;
|
|
8539
|
+
is_actueel: boolean;
|
|
8540
|
+
sleutel: string;
|
|
8541
|
+
titel: string;
|
|
8542
|
+
toelichting: string | null;
|
|
8543
|
+
updated_at: string;
|
|
8544
|
+
versie: number;
|
|
8545
|
+
};
|
|
8546
|
+
Insert: {
|
|
8547
|
+
created_at?: string;
|
|
8548
|
+
eigenaar_module_id?: string;
|
|
8549
|
+
gepubliceerd_door?: string | null;
|
|
8550
|
+
gepubliceerd_op?: string;
|
|
8551
|
+
id?: string;
|
|
8552
|
+
inhoud_md: string;
|
|
8553
|
+
is_actueel?: boolean;
|
|
8554
|
+
sleutel: string;
|
|
8555
|
+
titel: string;
|
|
8556
|
+
toelichting?: string | null;
|
|
8557
|
+
updated_at?: string;
|
|
8558
|
+
versie?: number;
|
|
8559
|
+
};
|
|
8560
|
+
Update: {
|
|
8561
|
+
created_at?: string;
|
|
8562
|
+
eigenaar_module_id?: string;
|
|
8563
|
+
gepubliceerd_door?: string | null;
|
|
8564
|
+
gepubliceerd_op?: string;
|
|
8565
|
+
id?: string;
|
|
8566
|
+
inhoud_md?: string;
|
|
8567
|
+
is_actueel?: boolean;
|
|
8568
|
+
sleutel?: string;
|
|
8569
|
+
titel?: string;
|
|
8570
|
+
toelichting?: string | null;
|
|
8571
|
+
updated_at?: string;
|
|
8572
|
+
versie?: number;
|
|
8573
|
+
};
|
|
8574
|
+
Relationships: [];
|
|
8575
|
+
};
|
|
8576
|
+
itk_offerte_events: {
|
|
8577
|
+
Row: {
|
|
8578
|
+
created_at: string;
|
|
8579
|
+
event_type: string;
|
|
8580
|
+
id: string;
|
|
8581
|
+
metadata: import("../integrations/supabase/types").Json;
|
|
8582
|
+
offerte_id: string;
|
|
8583
|
+
omschrijving: string | null;
|
|
8584
|
+
user_id: string | null;
|
|
8585
|
+
};
|
|
8586
|
+
Insert: {
|
|
8587
|
+
created_at?: string;
|
|
8588
|
+
event_type: string;
|
|
8589
|
+
id?: string;
|
|
8590
|
+
metadata?: import("../integrations/supabase/types").Json;
|
|
8591
|
+
offerte_id: string;
|
|
8592
|
+
omschrijving?: string | null;
|
|
8593
|
+
user_id?: string | null;
|
|
8594
|
+
};
|
|
8595
|
+
Update: {
|
|
8596
|
+
created_at?: string;
|
|
8597
|
+
event_type?: string;
|
|
8598
|
+
id?: string;
|
|
8599
|
+
metadata?: import("../integrations/supabase/types").Json;
|
|
8600
|
+
offerte_id?: string;
|
|
8601
|
+
omschrijving?: string | null;
|
|
8602
|
+
user_id?: string | null;
|
|
8603
|
+
};
|
|
8604
|
+
Relationships: [{
|
|
8605
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
8606
|
+
columns: ["offerte_id"];
|
|
8607
|
+
isOneToOne: false;
|
|
8608
|
+
referencedRelation: "itk_offertes";
|
|
8609
|
+
referencedColumns: ["id"];
|
|
8610
|
+
}];
|
|
8611
|
+
};
|
|
8612
|
+
itk_offerte_regels: {
|
|
8613
|
+
Row: {
|
|
8614
|
+
created_at: string;
|
|
8615
|
+
id: string;
|
|
8616
|
+
line_total_cents: number;
|
|
8617
|
+
offerte_id: string;
|
|
8618
|
+
omschrijving: string;
|
|
8619
|
+
package_id: string | null;
|
|
8620
|
+
quantity: number;
|
|
8621
|
+
sort_order: number;
|
|
8622
|
+
source: string;
|
|
8623
|
+
unit_price_cents: number;
|
|
8624
|
+
updated_at: string;
|
|
8625
|
+
};
|
|
8626
|
+
Insert: {
|
|
8627
|
+
created_at?: string;
|
|
8628
|
+
id?: string;
|
|
8629
|
+
line_total_cents?: number;
|
|
8630
|
+
offerte_id: string;
|
|
8631
|
+
omschrijving?: string;
|
|
8632
|
+
package_id?: string | null;
|
|
8633
|
+
quantity?: number;
|
|
8634
|
+
sort_order?: number;
|
|
8635
|
+
source?: string;
|
|
8636
|
+
unit_price_cents?: number;
|
|
8637
|
+
updated_at?: string;
|
|
8638
|
+
};
|
|
8639
|
+
Update: {
|
|
8640
|
+
created_at?: string;
|
|
8641
|
+
id?: string;
|
|
8642
|
+
line_total_cents?: number;
|
|
8643
|
+
offerte_id?: string;
|
|
8644
|
+
omschrijving?: string;
|
|
8645
|
+
package_id?: string | null;
|
|
8646
|
+
quantity?: number;
|
|
8647
|
+
sort_order?: number;
|
|
8648
|
+
source?: string;
|
|
8649
|
+
unit_price_cents?: number;
|
|
8650
|
+
updated_at?: string;
|
|
8651
|
+
};
|
|
8652
|
+
Relationships: [{
|
|
8653
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
8654
|
+
columns: ["offerte_id"];
|
|
8655
|
+
isOneToOne: false;
|
|
8656
|
+
referencedRelation: "itk_offertes";
|
|
8657
|
+
referencedColumns: ["id"];
|
|
8658
|
+
}, {
|
|
8659
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
8660
|
+
columns: ["package_id"];
|
|
8661
|
+
isOneToOne: false;
|
|
8662
|
+
referencedRelation: "werkbon_packages";
|
|
8663
|
+
referencedColumns: ["id"];
|
|
8664
|
+
}];
|
|
8665
|
+
};
|
|
8666
|
+
itk_offerte_settings: {
|
|
8667
|
+
Row: {
|
|
8668
|
+
auto_convert_binnen_mandaat: boolean;
|
|
8669
|
+
created_at: string;
|
|
8670
|
+
default_geldigheid_dagen: number;
|
|
8671
|
+
default_vat_rate: number;
|
|
8672
|
+
id: string;
|
|
8673
|
+
singleton: boolean;
|
|
8237
8674
|
updated_at: string;
|
|
8238
8675
|
};
|
|
8239
8676
|
Insert: {
|
|
@@ -10764,6 +11201,24 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
10764
11201
|
};
|
|
10765
11202
|
Relationships: [];
|
|
10766
11203
|
};
|
|
11204
|
+
maps_job_lease: {
|
|
11205
|
+
Row: {
|
|
11206
|
+
job: string;
|
|
11207
|
+
locked_until: string;
|
|
11208
|
+
updated_at: string;
|
|
11209
|
+
};
|
|
11210
|
+
Insert: {
|
|
11211
|
+
job: string;
|
|
11212
|
+
locked_until?: string;
|
|
11213
|
+
updated_at?: string;
|
|
11214
|
+
};
|
|
11215
|
+
Update: {
|
|
11216
|
+
job?: string;
|
|
11217
|
+
locked_until?: string;
|
|
11218
|
+
updated_at?: string;
|
|
11219
|
+
};
|
|
11220
|
+
Relationships: [];
|
|
11221
|
+
};
|
|
10767
11222
|
maps_request_queue: {
|
|
10768
11223
|
Row: {
|
|
10769
11224
|
attempts: number;
|
|
@@ -10825,6 +11280,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
10825
11280
|
last_error: string | null;
|
|
10826
11281
|
last_error_at: string | null;
|
|
10827
11282
|
last_success_at: string | null;
|
|
11283
|
+
provider: string;
|
|
10828
11284
|
updated_at: string;
|
|
10829
11285
|
};
|
|
10830
11286
|
Insert: {
|
|
@@ -10836,6 +11292,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
10836
11292
|
last_error?: string | null;
|
|
10837
11293
|
last_error_at?: string | null;
|
|
10838
11294
|
last_success_at?: string | null;
|
|
11295
|
+
provider?: string;
|
|
10839
11296
|
updated_at?: string;
|
|
10840
11297
|
};
|
|
10841
11298
|
Update: {
|
|
@@ -10847,6 +11304,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
10847
11304
|
last_error?: string | null;
|
|
10848
11305
|
last_error_at?: string | null;
|
|
10849
11306
|
last_success_at?: string | null;
|
|
11307
|
+
provider?: string;
|
|
10850
11308
|
updated_at?: string;
|
|
10851
11309
|
};
|
|
10852
11310
|
Relationships: [];
|
|
@@ -13489,6 +13947,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
13489
13947
|
isOneToOne: false;
|
|
13490
13948
|
referencedRelation: "planning_items";
|
|
13491
13949
|
referencedColumns: ["id"];
|
|
13950
|
+
}, {
|
|
13951
|
+
foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
|
|
13952
|
+
columns: ["planning_item_id"];
|
|
13953
|
+
isOneToOne: false;
|
|
13954
|
+
referencedRelation: "planning_overview";
|
|
13955
|
+
referencedColumns: ["id"];
|
|
13492
13956
|
}];
|
|
13493
13957
|
};
|
|
13494
13958
|
planning_items: {
|
|
@@ -13584,6 +14048,39 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
13584
14048
|
};
|
|
13585
14049
|
Relationships: [];
|
|
13586
14050
|
};
|
|
14051
|
+
print_dedupe_events: {
|
|
14052
|
+
Row: {
|
|
14053
|
+
bestaande_job_id: string | null;
|
|
14054
|
+
created_at: string;
|
|
14055
|
+
detail: string | null;
|
|
14056
|
+
documentnaam: string | null;
|
|
14057
|
+
documenttype: string | null;
|
|
14058
|
+
id: string;
|
|
14059
|
+
idempotentie_sleutel: string;
|
|
14060
|
+
reden: string;
|
|
14061
|
+
};
|
|
14062
|
+
Insert: {
|
|
14063
|
+
bestaande_job_id?: string | null;
|
|
14064
|
+
created_at?: string;
|
|
14065
|
+
detail?: string | null;
|
|
14066
|
+
documentnaam?: string | null;
|
|
14067
|
+
documenttype?: string | null;
|
|
14068
|
+
id?: string;
|
|
14069
|
+
idempotentie_sleutel: string;
|
|
14070
|
+
reden: string;
|
|
14071
|
+
};
|
|
14072
|
+
Update: {
|
|
14073
|
+
bestaande_job_id?: string | null;
|
|
14074
|
+
created_at?: string;
|
|
14075
|
+
detail?: string | null;
|
|
14076
|
+
documentnaam?: string | null;
|
|
14077
|
+
documenttype?: string | null;
|
|
14078
|
+
id?: string;
|
|
14079
|
+
idempotentie_sleutel?: string;
|
|
14080
|
+
reden?: string;
|
|
14081
|
+
};
|
|
14082
|
+
Relationships: [];
|
|
14083
|
+
};
|
|
13587
14084
|
print_job_logs: {
|
|
13588
14085
|
Row: {
|
|
13589
14086
|
created_at: string;
|
|
@@ -13625,6 +14122,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
13625
14122
|
foutmelding: string | null;
|
|
13626
14123
|
gebruiker_id: string | null;
|
|
13627
14124
|
gebruiker_naam: string;
|
|
14125
|
+
gebruikte_bron: string | null;
|
|
14126
|
+
gebruikte_layout_id: string | null;
|
|
13628
14127
|
gestart_op: string | null;
|
|
13629
14128
|
herkomst: string | null;
|
|
13630
14129
|
id: string;
|
|
@@ -13632,6 +14131,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
13632
14131
|
is_herprint: boolean;
|
|
13633
14132
|
kopieen: number;
|
|
13634
14133
|
layout_id: string | null;
|
|
14134
|
+
lokaal_opgeslagen_op: string | null;
|
|
14135
|
+
lokale_pdf_fout: string | null;
|
|
14136
|
+
lokale_pdf_status: string | null;
|
|
13635
14137
|
opgepakt_op: string | null;
|
|
13636
14138
|
paginas: number;
|
|
13637
14139
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -13640,6 +14142,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
13640
14142
|
pogingen: number;
|
|
13641
14143
|
printer_id: string | null;
|
|
13642
14144
|
render_html: string | null;
|
|
14145
|
+
resultaat_pdf_base64: string | null;
|
|
13643
14146
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13644
14147
|
updated_at: string;
|
|
13645
14148
|
volgende_poging: string | null;
|
|
@@ -13655,6 +14158,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
13655
14158
|
foutmelding?: string | null;
|
|
13656
14159
|
gebruiker_id?: string | null;
|
|
13657
14160
|
gebruiker_naam?: string;
|
|
14161
|
+
gebruikte_bron?: string | null;
|
|
14162
|
+
gebruikte_layout_id?: string | null;
|
|
13658
14163
|
gestart_op?: string | null;
|
|
13659
14164
|
herkomst?: string | null;
|
|
13660
14165
|
id?: string;
|
|
@@ -13662,6 +14167,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
13662
14167
|
is_herprint?: boolean;
|
|
13663
14168
|
kopieen?: number;
|
|
13664
14169
|
layout_id?: string | null;
|
|
14170
|
+
lokaal_opgeslagen_op?: string | null;
|
|
14171
|
+
lokale_pdf_fout?: string | null;
|
|
14172
|
+
lokale_pdf_status?: string | null;
|
|
13665
14173
|
opgepakt_op?: string | null;
|
|
13666
14174
|
paginas?: number;
|
|
13667
14175
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -13670,6 +14178,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
13670
14178
|
pogingen?: number;
|
|
13671
14179
|
printer_id?: string | null;
|
|
13672
14180
|
render_html?: string | null;
|
|
14181
|
+
resultaat_pdf_base64?: string | null;
|
|
13673
14182
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13674
14183
|
updated_at?: string;
|
|
13675
14184
|
volgende_poging?: string | null;
|
|
@@ -13685,6 +14194,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
13685
14194
|
foutmelding?: string | null;
|
|
13686
14195
|
gebruiker_id?: string | null;
|
|
13687
14196
|
gebruiker_naam?: string;
|
|
14197
|
+
gebruikte_bron?: string | null;
|
|
14198
|
+
gebruikte_layout_id?: string | null;
|
|
13688
14199
|
gestart_op?: string | null;
|
|
13689
14200
|
herkomst?: string | null;
|
|
13690
14201
|
id?: string;
|
|
@@ -13692,6 +14203,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
13692
14203
|
is_herprint?: boolean;
|
|
13693
14204
|
kopieen?: number;
|
|
13694
14205
|
layout_id?: string | null;
|
|
14206
|
+
lokaal_opgeslagen_op?: string | null;
|
|
14207
|
+
lokale_pdf_fout?: string | null;
|
|
14208
|
+
lokale_pdf_status?: string | null;
|
|
13695
14209
|
opgepakt_op?: string | null;
|
|
13696
14210
|
paginas?: number;
|
|
13697
14211
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -13700,6 +14214,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
13700
14214
|
pogingen?: number;
|
|
13701
14215
|
printer_id?: string | null;
|
|
13702
14216
|
render_html?: string | null;
|
|
14217
|
+
resultaat_pdf_base64?: string | null;
|
|
13703
14218
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13704
14219
|
updated_at?: string;
|
|
13705
14220
|
volgende_poging?: string | null;
|
|
@@ -13818,6 +14333,39 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
13818
14333
|
};
|
|
13819
14334
|
Relationships: [];
|
|
13820
14335
|
};
|
|
14336
|
+
print_preview_events: {
|
|
14337
|
+
Row: {
|
|
14338
|
+
code: string | null;
|
|
14339
|
+
created_at: string;
|
|
14340
|
+
detail: import("../integrations/supabase/types").Json;
|
|
14341
|
+
id: string;
|
|
14342
|
+
queue_item_id: string | null;
|
|
14343
|
+
reden: string | null;
|
|
14344
|
+
station_slug: string | null;
|
|
14345
|
+
uitkomst: string;
|
|
14346
|
+
};
|
|
14347
|
+
Insert: {
|
|
14348
|
+
code?: string | null;
|
|
14349
|
+
created_at?: string;
|
|
14350
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
14351
|
+
id?: string;
|
|
14352
|
+
queue_item_id?: string | null;
|
|
14353
|
+
reden?: string | null;
|
|
14354
|
+
station_slug?: string | null;
|
|
14355
|
+
uitkomst?: string;
|
|
14356
|
+
};
|
|
14357
|
+
Update: {
|
|
14358
|
+
code?: string | null;
|
|
14359
|
+
created_at?: string;
|
|
14360
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
14361
|
+
id?: string;
|
|
14362
|
+
queue_item_id?: string | null;
|
|
14363
|
+
reden?: string | null;
|
|
14364
|
+
station_slug?: string | null;
|
|
14365
|
+
uitkomst?: string;
|
|
14366
|
+
};
|
|
14367
|
+
Relationships: [];
|
|
14368
|
+
};
|
|
13821
14369
|
print_queue_runners: {
|
|
13822
14370
|
Row: {
|
|
13823
14371
|
actief: boolean;
|
|
@@ -14057,6 +14605,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
14057
14605
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
14058
14606
|
online: boolean;
|
|
14059
14607
|
papierformaat: string;
|
|
14608
|
+
pdf_map: string | null;
|
|
14060
14609
|
poort: number | null;
|
|
14061
14610
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14062
14611
|
systeemnaam: string;
|
|
@@ -14082,6 +14631,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
14082
14631
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
14083
14632
|
online?: boolean;
|
|
14084
14633
|
papierformaat?: string;
|
|
14634
|
+
pdf_map?: string | null;
|
|
14085
14635
|
poort?: number | null;
|
|
14086
14636
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14087
14637
|
systeemnaam?: string;
|
|
@@ -14107,6 +14657,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
14107
14657
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
14108
14658
|
online?: boolean;
|
|
14109
14659
|
papierformaat?: string;
|
|
14660
|
+
pdf_map?: string | null;
|
|
14110
14661
|
poort?: number | null;
|
|
14111
14662
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14112
14663
|
systeemnaam?: string;
|
|
@@ -14979,530 +15530,86 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
14979
15530
|
referencedColumns: ["id"];
|
|
14980
15531
|
}];
|
|
14981
15532
|
};
|
|
14982
|
-
|
|
15533
|
+
reception_notifications: {
|
|
14983
15534
|
Row: {
|
|
15535
|
+
booking_id: string | null;
|
|
14984
15536
|
created_at: string;
|
|
14985
|
-
event_type: string;
|
|
14986
15537
|
id: string;
|
|
14987
|
-
|
|
14988
|
-
|
|
14989
|
-
|
|
15538
|
+
is_read: boolean;
|
|
15539
|
+
message: string;
|
|
15540
|
+
recipient_email: string | null;
|
|
15541
|
+
title: string;
|
|
15542
|
+
type: string;
|
|
14990
15543
|
};
|
|
14991
15544
|
Insert: {
|
|
15545
|
+
booking_id?: string | null;
|
|
14992
15546
|
created_at?: string;
|
|
14993
|
-
event_type: string;
|
|
14994
15547
|
id?: string;
|
|
14995
|
-
|
|
14996
|
-
|
|
14997
|
-
|
|
15548
|
+
is_read?: boolean;
|
|
15549
|
+
message: string;
|
|
15550
|
+
recipient_email?: string | null;
|
|
15551
|
+
title: string;
|
|
15552
|
+
type: string;
|
|
14998
15553
|
};
|
|
14999
15554
|
Update: {
|
|
15555
|
+
booking_id?: string | null;
|
|
15000
15556
|
created_at?: string;
|
|
15001
|
-
event_type?: string;
|
|
15002
15557
|
id?: string;
|
|
15003
|
-
|
|
15004
|
-
|
|
15005
|
-
|
|
15558
|
+
is_read?: boolean;
|
|
15559
|
+
message?: string;
|
|
15560
|
+
recipient_email?: string | null;
|
|
15561
|
+
title?: string;
|
|
15562
|
+
type?: string;
|
|
15006
15563
|
};
|
|
15007
15564
|
Relationships: [{
|
|
15008
|
-
foreignKeyName: "
|
|
15009
|
-
columns: ["
|
|
15565
|
+
foreignKeyName: "reception_notifications_booking_id_fkey";
|
|
15566
|
+
columns: ["booking_id"];
|
|
15010
15567
|
isOneToOne: false;
|
|
15011
|
-
referencedRelation: "
|
|
15568
|
+
referencedRelation: "bookings";
|
|
15012
15569
|
referencedColumns: ["id"];
|
|
15013
15570
|
}];
|
|
15014
15571
|
};
|
|
15015
|
-
|
|
15572
|
+
role_assignments: {
|
|
15016
15573
|
Row: {
|
|
15017
15574
|
created_at: string;
|
|
15018
|
-
file_name: string;
|
|
15019
|
-
file_size: number | null;
|
|
15020
|
-
file_url: string;
|
|
15021
15575
|
id: string;
|
|
15022
|
-
|
|
15023
|
-
|
|
15576
|
+
role_id: string;
|
|
15577
|
+
user_id: string;
|
|
15024
15578
|
};
|
|
15025
15579
|
Insert: {
|
|
15026
15580
|
created_at?: string;
|
|
15027
|
-
file_name: string;
|
|
15028
|
-
file_size?: number | null;
|
|
15029
|
-
file_url: string;
|
|
15030
15581
|
id?: string;
|
|
15031
|
-
|
|
15032
|
-
|
|
15582
|
+
role_id: string;
|
|
15583
|
+
user_id: string;
|
|
15033
15584
|
};
|
|
15034
15585
|
Update: {
|
|
15035
15586
|
created_at?: string;
|
|
15036
|
-
file_name?: string;
|
|
15037
|
-
file_size?: number | null;
|
|
15038
|
-
file_url?: string;
|
|
15039
15587
|
id?: string;
|
|
15040
|
-
|
|
15041
|
-
|
|
15588
|
+
role_id?: string;
|
|
15589
|
+
user_id?: string;
|
|
15042
15590
|
};
|
|
15043
15591
|
Relationships: [{
|
|
15044
|
-
foreignKeyName: "
|
|
15045
|
-
columns: ["
|
|
15592
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
15593
|
+
columns: ["role_id"];
|
|
15046
15594
|
isOneToOne: false;
|
|
15047
|
-
referencedRelation: "
|
|
15595
|
+
referencedRelation: "roles";
|
|
15048
15596
|
referencedColumns: ["id"];
|
|
15049
15597
|
}];
|
|
15050
15598
|
};
|
|
15051
|
-
|
|
15599
|
+
role_permissions: {
|
|
15052
15600
|
Row: {
|
|
15053
|
-
|
|
15054
|
-
|
|
15601
|
+
can_edit: boolean;
|
|
15602
|
+
can_view: boolean;
|
|
15603
|
+
feature_id: string;
|
|
15055
15604
|
id: string;
|
|
15056
|
-
|
|
15057
|
-
|
|
15058
|
-
|
|
15605
|
+
module_id: string;
|
|
15606
|
+
role_id: string;
|
|
15607
|
+
updated_at: string;
|
|
15059
15608
|
};
|
|
15060
15609
|
Insert: {
|
|
15061
|
-
|
|
15062
|
-
|
|
15063
|
-
|
|
15064
|
-
label: string;
|
|
15065
|
-
sort_order?: number;
|
|
15066
|
-
value: string;
|
|
15067
|
-
};
|
|
15068
|
-
Update: {
|
|
15069
|
-
created_at?: string;
|
|
15070
|
-
field_id?: string;
|
|
15071
|
-
id?: string;
|
|
15072
|
-
label?: string;
|
|
15073
|
-
sort_order?: number;
|
|
15074
|
-
value?: string;
|
|
15075
|
-
};
|
|
15076
|
-
Relationships: [{
|
|
15077
|
-
foreignKeyName: "quote_field_options_field_id_fkey";
|
|
15078
|
-
columns: ["field_id"];
|
|
15079
|
-
isOneToOne: false;
|
|
15080
|
-
referencedRelation: "quote_field_settings";
|
|
15081
|
-
referencedColumns: ["id"];
|
|
15082
|
-
}];
|
|
15083
|
-
};
|
|
15084
|
-
quote_field_settings: {
|
|
15085
|
-
Row: {
|
|
15086
|
-
created_at: string;
|
|
15087
|
-
default_value: string | null;
|
|
15088
|
-
field_key: string;
|
|
15089
|
-
field_type: string;
|
|
15090
|
-
id: string;
|
|
15091
|
-
is_system: boolean;
|
|
15092
|
-
label: string;
|
|
15093
|
-
required: boolean;
|
|
15094
|
-
sort_order: number;
|
|
15095
|
-
updated_at: string;
|
|
15096
|
-
visible: boolean;
|
|
15097
|
-
};
|
|
15098
|
-
Insert: {
|
|
15099
|
-
created_at?: string;
|
|
15100
|
-
default_value?: string | null;
|
|
15101
|
-
field_key: string;
|
|
15102
|
-
field_type: string;
|
|
15103
|
-
id?: string;
|
|
15104
|
-
is_system?: boolean;
|
|
15105
|
-
label: string;
|
|
15106
|
-
required?: boolean;
|
|
15107
|
-
sort_order?: number;
|
|
15108
|
-
updated_at?: string;
|
|
15109
|
-
visible?: boolean;
|
|
15110
|
-
};
|
|
15111
|
-
Update: {
|
|
15112
|
-
created_at?: string;
|
|
15113
|
-
default_value?: string | null;
|
|
15114
|
-
field_key?: string;
|
|
15115
|
-
field_type?: string;
|
|
15116
|
-
id?: string;
|
|
15117
|
-
is_system?: boolean;
|
|
15118
|
-
label?: string;
|
|
15119
|
-
required?: boolean;
|
|
15120
|
-
sort_order?: number;
|
|
15121
|
-
updated_at?: string;
|
|
15122
|
-
visible?: boolean;
|
|
15123
|
-
};
|
|
15124
|
-
Relationships: [];
|
|
15125
|
-
};
|
|
15126
|
-
quote_items: {
|
|
15127
|
-
Row: {
|
|
15128
|
-
category: string | null;
|
|
15129
|
-
created_at: string;
|
|
15130
|
-
description: string;
|
|
15131
|
-
id: string;
|
|
15132
|
-
line_total: number;
|
|
15133
|
-
module_id: string | null;
|
|
15134
|
-
name: string | null;
|
|
15135
|
-
quantity: number;
|
|
15136
|
-
quote_id: string;
|
|
15137
|
-
sort_order: number;
|
|
15138
|
-
unit_price: number;
|
|
15139
|
-
};
|
|
15140
|
-
Insert: {
|
|
15141
|
-
category?: string | null;
|
|
15142
|
-
created_at?: string;
|
|
15143
|
-
description?: string;
|
|
15144
|
-
id?: string;
|
|
15145
|
-
line_total?: number;
|
|
15146
|
-
module_id?: string | null;
|
|
15147
|
-
name?: string | null;
|
|
15148
|
-
quantity?: number;
|
|
15149
|
-
quote_id: string;
|
|
15150
|
-
sort_order?: number;
|
|
15151
|
-
unit_price?: number;
|
|
15152
|
-
};
|
|
15153
|
-
Update: {
|
|
15154
|
-
category?: string | null;
|
|
15155
|
-
created_at?: string;
|
|
15156
|
-
description?: string;
|
|
15157
|
-
id?: string;
|
|
15158
|
-
line_total?: number;
|
|
15159
|
-
module_id?: string | null;
|
|
15160
|
-
name?: string | null;
|
|
15161
|
-
quantity?: number;
|
|
15162
|
-
quote_id?: string;
|
|
15163
|
-
sort_order?: number;
|
|
15164
|
-
unit_price?: number;
|
|
15165
|
-
};
|
|
15166
|
-
Relationships: [{
|
|
15167
|
-
foreignKeyName: "quote_items_module_id_fkey";
|
|
15168
|
-
columns: ["module_id"];
|
|
15169
|
-
isOneToOne: false;
|
|
15170
|
-
referencedRelation: "quote_modules";
|
|
15171
|
-
referencedColumns: ["id"];
|
|
15172
|
-
}, {
|
|
15173
|
-
foreignKeyName: "quote_items_quote_id_fkey";
|
|
15174
|
-
columns: ["quote_id"];
|
|
15175
|
-
isOneToOne: false;
|
|
15176
|
-
referencedRelation: "quotes";
|
|
15177
|
-
referencedColumns: ["id"];
|
|
15178
|
-
}];
|
|
15179
|
-
};
|
|
15180
|
-
quote_modules: {
|
|
15181
|
-
Row: {
|
|
15182
|
-
category: string | null;
|
|
15183
|
-
created_at: string;
|
|
15184
|
-
description: string | null;
|
|
15185
|
-
id: string;
|
|
15186
|
-
is_active: boolean;
|
|
15187
|
-
name: string;
|
|
15188
|
-
price: number;
|
|
15189
|
-
sort_order: number;
|
|
15190
|
-
updated_at: string;
|
|
15191
|
-
};
|
|
15192
|
-
Insert: {
|
|
15193
|
-
category?: string | null;
|
|
15194
|
-
created_at?: string;
|
|
15195
|
-
description?: string | null;
|
|
15196
|
-
id?: string;
|
|
15197
|
-
is_active?: boolean;
|
|
15198
|
-
name: string;
|
|
15199
|
-
price?: number;
|
|
15200
|
-
sort_order?: number;
|
|
15201
|
-
updated_at?: string;
|
|
15202
|
-
};
|
|
15203
|
-
Update: {
|
|
15204
|
-
category?: string | null;
|
|
15205
|
-
created_at?: string;
|
|
15206
|
-
description?: string | null;
|
|
15207
|
-
id?: string;
|
|
15208
|
-
is_active?: boolean;
|
|
15209
|
-
name?: string;
|
|
15210
|
-
price?: number;
|
|
15211
|
-
sort_order?: number;
|
|
15212
|
-
updated_at?: string;
|
|
15213
|
-
};
|
|
15214
|
-
Relationships: [];
|
|
15215
|
-
};
|
|
15216
|
-
quote_templates: {
|
|
15217
|
-
Row: {
|
|
15218
|
-
created_at: string;
|
|
15219
|
-
description: string | null;
|
|
15220
|
-
field_values: import("../integrations/supabase/types").Json;
|
|
15221
|
-
id: string;
|
|
15222
|
-
is_default: boolean;
|
|
15223
|
-
items: import("../integrations/supabase/types").Json;
|
|
15224
|
-
name: string;
|
|
15225
|
-
updated_at: string;
|
|
15226
|
-
vat_rate: number;
|
|
15227
|
-
};
|
|
15228
|
-
Insert: {
|
|
15229
|
-
created_at?: string;
|
|
15230
|
-
description?: string | null;
|
|
15231
|
-
field_values?: import("../integrations/supabase/types").Json;
|
|
15232
|
-
id?: string;
|
|
15233
|
-
is_default?: boolean;
|
|
15234
|
-
items?: import("../integrations/supabase/types").Json;
|
|
15235
|
-
name: string;
|
|
15236
|
-
updated_at?: string;
|
|
15237
|
-
vat_rate?: number;
|
|
15238
|
-
};
|
|
15239
|
-
Update: {
|
|
15240
|
-
created_at?: string;
|
|
15241
|
-
description?: string | null;
|
|
15242
|
-
field_values?: import("../integrations/supabase/types").Json;
|
|
15243
|
-
id?: string;
|
|
15244
|
-
is_default?: boolean;
|
|
15245
|
-
items?: import("../integrations/supabase/types").Json;
|
|
15246
|
-
name?: string;
|
|
15247
|
-
updated_at?: string;
|
|
15248
|
-
vat_rate?: number;
|
|
15249
|
-
};
|
|
15250
|
-
Relationships: [];
|
|
15251
|
-
};
|
|
15252
|
-
quote_terms: {
|
|
15253
|
-
Row: {
|
|
15254
|
-
content: string | null;
|
|
15255
|
-
created_at: string;
|
|
15256
|
-
file_url: string | null;
|
|
15257
|
-
id: string;
|
|
15258
|
-
is_active: boolean;
|
|
15259
|
-
name: string;
|
|
15260
|
-
published_at: string | null;
|
|
15261
|
-
updated_at: string;
|
|
15262
|
-
version: string;
|
|
15263
|
-
};
|
|
15264
|
-
Insert: {
|
|
15265
|
-
content?: string | null;
|
|
15266
|
-
created_at?: string;
|
|
15267
|
-
file_url?: string | null;
|
|
15268
|
-
id?: string;
|
|
15269
|
-
is_active?: boolean;
|
|
15270
|
-
name: string;
|
|
15271
|
-
published_at?: string | null;
|
|
15272
|
-
updated_at?: string;
|
|
15273
|
-
version?: string;
|
|
15274
|
-
};
|
|
15275
|
-
Update: {
|
|
15276
|
-
content?: string | null;
|
|
15277
|
-
created_at?: string;
|
|
15278
|
-
file_url?: string | null;
|
|
15279
|
-
id?: string;
|
|
15280
|
-
is_active?: boolean;
|
|
15281
|
-
name?: string;
|
|
15282
|
-
published_at?: string | null;
|
|
15283
|
-
updated_at?: string;
|
|
15284
|
-
version?: string;
|
|
15285
|
-
};
|
|
15286
|
-
Relationships: [];
|
|
15287
|
-
};
|
|
15288
|
-
quotes: {
|
|
15289
|
-
Row: {
|
|
15290
|
-
accepted_at: string | null;
|
|
15291
|
-
archived_at: string | null;
|
|
15292
|
-
contact_id: string | null;
|
|
15293
|
-
created_at: string;
|
|
15294
|
-
customer_id: string | null;
|
|
15295
|
-
discount: number;
|
|
15296
|
-
expires_at: string | null;
|
|
15297
|
-
field_values: import("../integrations/supabase/types").Json;
|
|
15298
|
-
id: string;
|
|
15299
|
-
notes: string | null;
|
|
15300
|
-
owner_id: string | null;
|
|
15301
|
-
personal_message: string | null;
|
|
15302
|
-
project_id: string | null;
|
|
15303
|
-
prospect_id: string | null;
|
|
15304
|
-
public_token: string;
|
|
15305
|
-
quote_number: string | null;
|
|
15306
|
-
recipient_email: string | null;
|
|
15307
|
-
recipient_name: string | null;
|
|
15308
|
-
rejected_at: string | null;
|
|
15309
|
-
sent_at: string | null;
|
|
15310
|
-
status: string;
|
|
15311
|
-
subtotal: number;
|
|
15312
|
-
template_id: string | null;
|
|
15313
|
-
terms_id: string | null;
|
|
15314
|
-
title: string;
|
|
15315
|
-
total: number;
|
|
15316
|
-
updated_at: string;
|
|
15317
|
-
valid_until: string | null;
|
|
15318
|
-
vat_amount: number;
|
|
15319
|
-
vat_rate: number;
|
|
15320
|
-
viewed_at: string | null;
|
|
15321
|
-
};
|
|
15322
|
-
Insert: {
|
|
15323
|
-
accepted_at?: string | null;
|
|
15324
|
-
archived_at?: string | null;
|
|
15325
|
-
contact_id?: string | null;
|
|
15326
|
-
created_at?: string;
|
|
15327
|
-
customer_id?: string | null;
|
|
15328
|
-
discount?: number;
|
|
15329
|
-
expires_at?: string | null;
|
|
15330
|
-
field_values?: import("../integrations/supabase/types").Json;
|
|
15331
|
-
id?: string;
|
|
15332
|
-
notes?: string | null;
|
|
15333
|
-
owner_id?: string | null;
|
|
15334
|
-
personal_message?: string | null;
|
|
15335
|
-
project_id?: string | null;
|
|
15336
|
-
prospect_id?: string | null;
|
|
15337
|
-
public_token?: string;
|
|
15338
|
-
quote_number?: string | null;
|
|
15339
|
-
recipient_email?: string | null;
|
|
15340
|
-
recipient_name?: string | null;
|
|
15341
|
-
rejected_at?: string | null;
|
|
15342
|
-
sent_at?: string | null;
|
|
15343
|
-
status?: string;
|
|
15344
|
-
subtotal?: number;
|
|
15345
|
-
template_id?: string | null;
|
|
15346
|
-
terms_id?: string | null;
|
|
15347
|
-
title?: string;
|
|
15348
|
-
total?: number;
|
|
15349
|
-
updated_at?: string;
|
|
15350
|
-
valid_until?: string | null;
|
|
15351
|
-
vat_amount?: number;
|
|
15352
|
-
vat_rate?: number;
|
|
15353
|
-
viewed_at?: string | null;
|
|
15354
|
-
};
|
|
15355
|
-
Update: {
|
|
15356
|
-
accepted_at?: string | null;
|
|
15357
|
-
archived_at?: string | null;
|
|
15358
|
-
contact_id?: string | null;
|
|
15359
|
-
created_at?: string;
|
|
15360
|
-
customer_id?: string | null;
|
|
15361
|
-
discount?: number;
|
|
15362
|
-
expires_at?: string | null;
|
|
15363
|
-
field_values?: import("../integrations/supabase/types").Json;
|
|
15364
|
-
id?: string;
|
|
15365
|
-
notes?: string | null;
|
|
15366
|
-
owner_id?: string | null;
|
|
15367
|
-
personal_message?: string | null;
|
|
15368
|
-
project_id?: string | null;
|
|
15369
|
-
prospect_id?: string | null;
|
|
15370
|
-
public_token?: string;
|
|
15371
|
-
quote_number?: string | null;
|
|
15372
|
-
recipient_email?: string | null;
|
|
15373
|
-
recipient_name?: string | null;
|
|
15374
|
-
rejected_at?: string | null;
|
|
15375
|
-
sent_at?: string | null;
|
|
15376
|
-
status?: string;
|
|
15377
|
-
subtotal?: number;
|
|
15378
|
-
template_id?: string | null;
|
|
15379
|
-
terms_id?: string | null;
|
|
15380
|
-
title?: string;
|
|
15381
|
-
total?: number;
|
|
15382
|
-
updated_at?: string;
|
|
15383
|
-
valid_until?: string | null;
|
|
15384
|
-
vat_amount?: number;
|
|
15385
|
-
vat_rate?: number;
|
|
15386
|
-
viewed_at?: string | null;
|
|
15387
|
-
};
|
|
15388
|
-
Relationships: [{
|
|
15389
|
-
foreignKeyName: "quotes_contact_id_fkey";
|
|
15390
|
-
columns: ["contact_id"];
|
|
15391
|
-
isOneToOne: false;
|
|
15392
|
-
referencedRelation: "customer_contacts";
|
|
15393
|
-
referencedColumns: ["id"];
|
|
15394
|
-
}, {
|
|
15395
|
-
foreignKeyName: "quotes_customer_id_fkey";
|
|
15396
|
-
columns: ["customer_id"];
|
|
15397
|
-
isOneToOne: false;
|
|
15398
|
-
referencedRelation: "customers";
|
|
15399
|
-
referencedColumns: ["id"];
|
|
15400
|
-
}, {
|
|
15401
|
-
foreignKeyName: "quotes_project_id_fkey";
|
|
15402
|
-
columns: ["project_id"];
|
|
15403
|
-
isOneToOne: false;
|
|
15404
|
-
referencedRelation: "projects";
|
|
15405
|
-
referencedColumns: ["id"];
|
|
15406
|
-
}, {
|
|
15407
|
-
foreignKeyName: "quotes_prospect_id_fkey";
|
|
15408
|
-
columns: ["prospect_id"];
|
|
15409
|
-
isOneToOne: false;
|
|
15410
|
-
referencedRelation: "prospects";
|
|
15411
|
-
referencedColumns: ["id"];
|
|
15412
|
-
}, {
|
|
15413
|
-
foreignKeyName: "quotes_template_id_fkey";
|
|
15414
|
-
columns: ["template_id"];
|
|
15415
|
-
isOneToOne: false;
|
|
15416
|
-
referencedRelation: "quote_templates";
|
|
15417
|
-
referencedColumns: ["id"];
|
|
15418
|
-
}, {
|
|
15419
|
-
foreignKeyName: "quotes_terms_id_fkey";
|
|
15420
|
-
columns: ["terms_id"];
|
|
15421
|
-
isOneToOne: false;
|
|
15422
|
-
referencedRelation: "quote_terms";
|
|
15423
|
-
referencedColumns: ["id"];
|
|
15424
|
-
}];
|
|
15425
|
-
};
|
|
15426
|
-
reception_notifications: {
|
|
15427
|
-
Row: {
|
|
15428
|
-
booking_id: string | null;
|
|
15429
|
-
created_at: string;
|
|
15430
|
-
id: string;
|
|
15431
|
-
is_read: boolean;
|
|
15432
|
-
message: string;
|
|
15433
|
-
recipient_email: string | null;
|
|
15434
|
-
title: string;
|
|
15435
|
-
type: string;
|
|
15436
|
-
};
|
|
15437
|
-
Insert: {
|
|
15438
|
-
booking_id?: string | null;
|
|
15439
|
-
created_at?: string;
|
|
15440
|
-
id?: string;
|
|
15441
|
-
is_read?: boolean;
|
|
15442
|
-
message: string;
|
|
15443
|
-
recipient_email?: string | null;
|
|
15444
|
-
title: string;
|
|
15445
|
-
type: string;
|
|
15446
|
-
};
|
|
15447
|
-
Update: {
|
|
15448
|
-
booking_id?: string | null;
|
|
15449
|
-
created_at?: string;
|
|
15450
|
-
id?: string;
|
|
15451
|
-
is_read?: boolean;
|
|
15452
|
-
message?: string;
|
|
15453
|
-
recipient_email?: string | null;
|
|
15454
|
-
title?: string;
|
|
15455
|
-
type?: string;
|
|
15456
|
-
};
|
|
15457
|
-
Relationships: [{
|
|
15458
|
-
foreignKeyName: "reception_notifications_booking_id_fkey";
|
|
15459
|
-
columns: ["booking_id"];
|
|
15460
|
-
isOneToOne: false;
|
|
15461
|
-
referencedRelation: "bookings";
|
|
15462
|
-
referencedColumns: ["id"];
|
|
15463
|
-
}];
|
|
15464
|
-
};
|
|
15465
|
-
role_assignments: {
|
|
15466
|
-
Row: {
|
|
15467
|
-
created_at: string;
|
|
15468
|
-
id: string;
|
|
15469
|
-
role_id: string;
|
|
15470
|
-
user_id: string;
|
|
15471
|
-
};
|
|
15472
|
-
Insert: {
|
|
15473
|
-
created_at?: string;
|
|
15474
|
-
id?: string;
|
|
15475
|
-
role_id: string;
|
|
15476
|
-
user_id: string;
|
|
15477
|
-
};
|
|
15478
|
-
Update: {
|
|
15479
|
-
created_at?: string;
|
|
15480
|
-
id?: string;
|
|
15481
|
-
role_id?: string;
|
|
15482
|
-
user_id?: string;
|
|
15483
|
-
};
|
|
15484
|
-
Relationships: [{
|
|
15485
|
-
foreignKeyName: "role_assignments_role_id_fkey";
|
|
15486
|
-
columns: ["role_id"];
|
|
15487
|
-
isOneToOne: false;
|
|
15488
|
-
referencedRelation: "roles";
|
|
15489
|
-
referencedColumns: ["id"];
|
|
15490
|
-
}];
|
|
15491
|
-
};
|
|
15492
|
-
role_permissions: {
|
|
15493
|
-
Row: {
|
|
15494
|
-
can_edit: boolean;
|
|
15495
|
-
can_view: boolean;
|
|
15496
|
-
feature_id: string;
|
|
15497
|
-
id: string;
|
|
15498
|
-
module_id: string;
|
|
15499
|
-
role_id: string;
|
|
15500
|
-
updated_at: string;
|
|
15501
|
-
};
|
|
15502
|
-
Insert: {
|
|
15503
|
-
can_edit?: boolean;
|
|
15504
|
-
can_view?: boolean;
|
|
15505
|
-
feature_id?: string;
|
|
15610
|
+
can_edit?: boolean;
|
|
15611
|
+
can_view?: boolean;
|
|
15612
|
+
feature_id?: string;
|
|
15506
15613
|
id?: string;
|
|
15507
15614
|
module_id: string;
|
|
15508
15615
|
role_id: string;
|
|
@@ -16544,7 +16651,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
16544
16651
|
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
16545
16652
|
columns: ["work_order_id"];
|
|
16546
16653
|
isOneToOne: false;
|
|
16547
|
-
referencedRelation: "
|
|
16654
|
+
referencedRelation: "werkbonnen";
|
|
16548
16655
|
referencedColumns: ["id"];
|
|
16549
16656
|
}];
|
|
16550
16657
|
};
|
|
@@ -16676,6 +16783,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
16676
16783
|
};
|
|
16677
16784
|
trade_item_stock: {
|
|
16678
16785
|
Row: {
|
|
16786
|
+
change_source: string;
|
|
16679
16787
|
connection_id: string;
|
|
16680
16788
|
created_at: string;
|
|
16681
16789
|
id: string;
|
|
@@ -16689,6 +16797,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
16689
16797
|
user_id: string;
|
|
16690
16798
|
};
|
|
16691
16799
|
Insert: {
|
|
16800
|
+
change_source?: string;
|
|
16692
16801
|
connection_id: string;
|
|
16693
16802
|
created_at?: string;
|
|
16694
16803
|
id?: string;
|
|
@@ -16702,6 +16811,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
16702
16811
|
user_id: string;
|
|
16703
16812
|
};
|
|
16704
16813
|
Update: {
|
|
16814
|
+
change_source?: string;
|
|
16705
16815
|
connection_id?: string;
|
|
16706
16816
|
created_at?: string;
|
|
16707
16817
|
id?: string;
|
|
@@ -17871,156 +17981,6 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
17871
17981
|
};
|
|
17872
17982
|
Relationships: [];
|
|
17873
17983
|
};
|
|
17874
|
-
uren_offerte_regels: {
|
|
17875
|
-
Row: {
|
|
17876
|
-
created_at: string;
|
|
17877
|
-
description: string;
|
|
17878
|
-
duration_minutes: number;
|
|
17879
|
-
id: string;
|
|
17880
|
-
offerte_id: string;
|
|
17881
|
-
package_id: string | null;
|
|
17882
|
-
quantity: number;
|
|
17883
|
-
sort_order: number;
|
|
17884
|
-
total_cents: number;
|
|
17885
|
-
unit_price_cents: number;
|
|
17886
|
-
};
|
|
17887
|
-
Insert: {
|
|
17888
|
-
created_at?: string;
|
|
17889
|
-
description: string;
|
|
17890
|
-
duration_minutes?: number;
|
|
17891
|
-
id?: string;
|
|
17892
|
-
offerte_id: string;
|
|
17893
|
-
package_id?: string | null;
|
|
17894
|
-
quantity?: number;
|
|
17895
|
-
sort_order?: number;
|
|
17896
|
-
total_cents?: number;
|
|
17897
|
-
unit_price_cents?: number;
|
|
17898
|
-
};
|
|
17899
|
-
Update: {
|
|
17900
|
-
created_at?: string;
|
|
17901
|
-
description?: string;
|
|
17902
|
-
duration_minutes?: number;
|
|
17903
|
-
id?: string;
|
|
17904
|
-
offerte_id?: string;
|
|
17905
|
-
package_id?: string | null;
|
|
17906
|
-
quantity?: number;
|
|
17907
|
-
sort_order?: number;
|
|
17908
|
-
total_cents?: number;
|
|
17909
|
-
unit_price_cents?: number;
|
|
17910
|
-
};
|
|
17911
|
-
Relationships: [{
|
|
17912
|
-
foreignKeyName: "uren_offerte_regels_offerte_id_fkey";
|
|
17913
|
-
columns: ["offerte_id"];
|
|
17914
|
-
isOneToOne: false;
|
|
17915
|
-
referencedRelation: "uren_offertes";
|
|
17916
|
-
referencedColumns: ["id"];
|
|
17917
|
-
}, {
|
|
17918
|
-
foreignKeyName: "uren_offerte_regels_package_id_fkey";
|
|
17919
|
-
columns: ["package_id"];
|
|
17920
|
-
isOneToOne: false;
|
|
17921
|
-
referencedRelation: "werkbon_packages";
|
|
17922
|
-
referencedColumns: ["id"];
|
|
17923
|
-
}];
|
|
17924
|
-
};
|
|
17925
|
-
uren_offerte_velden: {
|
|
17926
|
-
Row: {
|
|
17927
|
-
created_at: string;
|
|
17928
|
-
field_type: string;
|
|
17929
|
-
id: string;
|
|
17930
|
-
key: string;
|
|
17931
|
-
label: string;
|
|
17932
|
-
options: string[];
|
|
17933
|
-
required: boolean;
|
|
17934
|
-
sort_order: number;
|
|
17935
|
-
updated_at: string;
|
|
17936
|
-
};
|
|
17937
|
-
Insert: {
|
|
17938
|
-
created_at?: string;
|
|
17939
|
-
field_type?: string;
|
|
17940
|
-
id?: string;
|
|
17941
|
-
key: string;
|
|
17942
|
-
label: string;
|
|
17943
|
-
options?: string[];
|
|
17944
|
-
required?: boolean;
|
|
17945
|
-
sort_order?: number;
|
|
17946
|
-
updated_at?: string;
|
|
17947
|
-
};
|
|
17948
|
-
Update: {
|
|
17949
|
-
created_at?: string;
|
|
17950
|
-
field_type?: string;
|
|
17951
|
-
id?: string;
|
|
17952
|
-
key?: string;
|
|
17953
|
-
label?: string;
|
|
17954
|
-
options?: string[];
|
|
17955
|
-
required?: boolean;
|
|
17956
|
-
sort_order?: number;
|
|
17957
|
-
updated_at?: string;
|
|
17958
|
-
};
|
|
17959
|
-
Relationships: [];
|
|
17960
|
-
};
|
|
17961
|
-
uren_offertes: {
|
|
17962
|
-
Row: {
|
|
17963
|
-
created_at: string;
|
|
17964
|
-
created_by: string | null;
|
|
17965
|
-
customer_id: string | null;
|
|
17966
|
-
customer_name: string | null;
|
|
17967
|
-
dynamic_fields: import("../integrations/supabase/types").Json;
|
|
17968
|
-
estimated_minutes: number;
|
|
17969
|
-
id: string;
|
|
17970
|
-
note: string | null;
|
|
17971
|
-
quote_number: string | null;
|
|
17972
|
-
status: string;
|
|
17973
|
-
title: string;
|
|
17974
|
-
total_excl_cents: number;
|
|
17975
|
-
total_incl_cents: number;
|
|
17976
|
-
updated_at: string;
|
|
17977
|
-
valid_until: string | null;
|
|
17978
|
-
vat_percentage: number;
|
|
17979
|
-
};
|
|
17980
|
-
Insert: {
|
|
17981
|
-
created_at?: string;
|
|
17982
|
-
created_by?: string | null;
|
|
17983
|
-
customer_id?: string | null;
|
|
17984
|
-
customer_name?: string | null;
|
|
17985
|
-
dynamic_fields?: import("../integrations/supabase/types").Json;
|
|
17986
|
-
estimated_minutes?: number;
|
|
17987
|
-
id?: string;
|
|
17988
|
-
note?: string | null;
|
|
17989
|
-
quote_number?: string | null;
|
|
17990
|
-
status?: string;
|
|
17991
|
-
title?: string;
|
|
17992
|
-
total_excl_cents?: number;
|
|
17993
|
-
total_incl_cents?: number;
|
|
17994
|
-
updated_at?: string;
|
|
17995
|
-
valid_until?: string | null;
|
|
17996
|
-
vat_percentage?: number;
|
|
17997
|
-
};
|
|
17998
|
-
Update: {
|
|
17999
|
-
created_at?: string;
|
|
18000
|
-
created_by?: string | null;
|
|
18001
|
-
customer_id?: string | null;
|
|
18002
|
-
customer_name?: string | null;
|
|
18003
|
-
dynamic_fields?: import("../integrations/supabase/types").Json;
|
|
18004
|
-
estimated_minutes?: number;
|
|
18005
|
-
id?: string;
|
|
18006
|
-
note?: string | null;
|
|
18007
|
-
quote_number?: string | null;
|
|
18008
|
-
status?: string;
|
|
18009
|
-
title?: string;
|
|
18010
|
-
total_excl_cents?: number;
|
|
18011
|
-
total_incl_cents?: number;
|
|
18012
|
-
updated_at?: string;
|
|
18013
|
-
valid_until?: string | null;
|
|
18014
|
-
vat_percentage?: number;
|
|
18015
|
-
};
|
|
18016
|
-
Relationships: [{
|
|
18017
|
-
foreignKeyName: "uren_offertes_customer_id_fkey";
|
|
18018
|
-
columns: ["customer_id"];
|
|
18019
|
-
isOneToOne: false;
|
|
18020
|
-
referencedRelation: "itk_customers";
|
|
18021
|
-
referencedColumns: ["id"];
|
|
18022
|
-
}];
|
|
18023
|
-
};
|
|
18024
17984
|
uren_settings: {
|
|
18025
17985
|
Row: {
|
|
18026
17986
|
break_minutes: number;
|
|
@@ -19707,6 +19667,37 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
19707
19667
|
};
|
|
19708
19668
|
Relationships: [];
|
|
19709
19669
|
};
|
|
19670
|
+
planning_overview: {
|
|
19671
|
+
Row: {
|
|
19672
|
+
assigned_monteur_id: string | null;
|
|
19673
|
+
assistants: import("../integrations/supabase/types").Json | null;
|
|
19674
|
+
budget_mandate_cents: number | null;
|
|
19675
|
+
created_at: string | null;
|
|
19676
|
+
created_by: string | null;
|
|
19677
|
+
customer_id: string | null;
|
|
19678
|
+
customer_name: string | null;
|
|
19679
|
+
duration_minutes: number | null;
|
|
19680
|
+
end_at: string | null;
|
|
19681
|
+
id: string | null;
|
|
19682
|
+
needs_detail_review: boolean | null;
|
|
19683
|
+
notes: string | null;
|
|
19684
|
+
project_number: string | null;
|
|
19685
|
+
review_reasons: string[] | null;
|
|
19686
|
+
start_at: string | null;
|
|
19687
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"] | null;
|
|
19688
|
+
updated_at: string | null;
|
|
19689
|
+
viewer_role: string | null;
|
|
19690
|
+
werkbon_id: string | null;
|
|
19691
|
+
work_address: string | null;
|
|
19692
|
+
};
|
|
19693
|
+
Relationships: [{
|
|
19694
|
+
foreignKeyName: "planning_items_werkbon_id_fkey";
|
|
19695
|
+
columns: ["werkbon_id"];
|
|
19696
|
+
isOneToOne: false;
|
|
19697
|
+
referencedRelation: "werkbonnen";
|
|
19698
|
+
referencedColumns: ["id"];
|
|
19699
|
+
}];
|
|
19700
|
+
};
|
|
19710
19701
|
product_group_stock_view: {
|
|
19711
19702
|
Row: {
|
|
19712
19703
|
item_count: number | null;
|
|
@@ -20302,6 +20293,18 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20302
20293
|
Args: never;
|
|
20303
20294
|
Returns: number;
|
|
20304
20295
|
};
|
|
20296
|
+
calculate_floriday_desired_stock: {
|
|
20297
|
+
Args: {
|
|
20298
|
+
p_connection_id: string;
|
|
20299
|
+
p_product_id: string;
|
|
20300
|
+
};
|
|
20301
|
+
Returns: {
|
|
20302
|
+
desired_availability: boolean;
|
|
20303
|
+
desired_quantity: number;
|
|
20304
|
+
erp_available: number;
|
|
20305
|
+
stock_mode: string;
|
|
20306
|
+
}[];
|
|
20307
|
+
};
|
|
20305
20308
|
calculate_layer_stock: {
|
|
20306
20309
|
Args: {
|
|
20307
20310
|
p_product_id: string;
|
|
@@ -20354,6 +20357,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20354
20357
|
foutmelding: string | null;
|
|
20355
20358
|
gebruiker_id: string | null;
|
|
20356
20359
|
gebruiker_naam: string;
|
|
20360
|
+
gebruikte_bron: string | null;
|
|
20361
|
+
gebruikte_layout_id: string | null;
|
|
20357
20362
|
gestart_op: string | null;
|
|
20358
20363
|
herkomst: string | null;
|
|
20359
20364
|
id: string;
|
|
@@ -20361,6 +20366,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20361
20366
|
is_herprint: boolean;
|
|
20362
20367
|
kopieen: number;
|
|
20363
20368
|
layout_id: string | null;
|
|
20369
|
+
lokaal_opgeslagen_op: string | null;
|
|
20370
|
+
lokale_pdf_fout: string | null;
|
|
20371
|
+
lokale_pdf_status: string | null;
|
|
20364
20372
|
opgepakt_op: string | null;
|
|
20365
20373
|
paginas: number;
|
|
20366
20374
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -20369,6 +20377,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20369
20377
|
pogingen: number;
|
|
20370
20378
|
printer_id: string | null;
|
|
20371
20379
|
render_html: string | null;
|
|
20380
|
+
resultaat_pdf_base64: string | null;
|
|
20372
20381
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20373
20382
|
updated_at: string;
|
|
20374
20383
|
volgende_poging: string | null;
|
|
@@ -20390,6 +20399,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20390
20399
|
attempts: number;
|
|
20391
20400
|
connection_id: string;
|
|
20392
20401
|
created_at: string;
|
|
20402
|
+
dead_lettered_at: string | null;
|
|
20393
20403
|
desired_available: boolean | null;
|
|
20394
20404
|
gateway_attempt_id: string | null;
|
|
20395
20405
|
id: string;
|
|
@@ -20398,9 +20408,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20398
20408
|
locked_by: string | null;
|
|
20399
20409
|
next_attempt_at: string;
|
|
20400
20410
|
number_of_pieces: number;
|
|
20411
|
+
product_id: string | null;
|
|
20401
20412
|
sent_at: string | null;
|
|
20402
20413
|
status: string;
|
|
20414
|
+
stock_mode: string | null;
|
|
20403
20415
|
superseded_by: string | null;
|
|
20416
|
+
target_week: number | null;
|
|
20417
|
+
target_year: number | null;
|
|
20404
20418
|
trade_item_id: string;
|
|
20405
20419
|
updated_at: string;
|
|
20406
20420
|
user_id: string;
|
|
@@ -20460,6 +20474,53 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20460
20474
|
isSetofReturn: true;
|
|
20461
20475
|
};
|
|
20462
20476
|
};
|
|
20477
|
+
claim_pdf_print_jobs: {
|
|
20478
|
+
Args: {
|
|
20479
|
+
_max?: number;
|
|
20480
|
+
};
|
|
20481
|
+
Returns: {
|
|
20482
|
+
agent_id: string | null;
|
|
20483
|
+
bron_job_id: string | null;
|
|
20484
|
+
created_at: string;
|
|
20485
|
+
documentnaam: string;
|
|
20486
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
20487
|
+
extern_job_id: string | null;
|
|
20488
|
+
foutmelding: string | null;
|
|
20489
|
+
gebruiker_id: string | null;
|
|
20490
|
+
gebruiker_naam: string;
|
|
20491
|
+
gebruikte_bron: string | null;
|
|
20492
|
+
gebruikte_layout_id: string | null;
|
|
20493
|
+
gestart_op: string | null;
|
|
20494
|
+
herkomst: string | null;
|
|
20495
|
+
id: string;
|
|
20496
|
+
idempotentie_sleutel: string | null;
|
|
20497
|
+
is_herprint: boolean;
|
|
20498
|
+
kopieen: number;
|
|
20499
|
+
layout_id: string | null;
|
|
20500
|
+
lokaal_opgeslagen_op: string | null;
|
|
20501
|
+
lokale_pdf_fout: string | null;
|
|
20502
|
+
lokale_pdf_status: string | null;
|
|
20503
|
+
opgepakt_op: string | null;
|
|
20504
|
+
paginas: number;
|
|
20505
|
+
payload: import("../integrations/supabase/types").Json;
|
|
20506
|
+
pdf_base64: string | null;
|
|
20507
|
+
pdf_url: string | null;
|
|
20508
|
+
pogingen: number;
|
|
20509
|
+
printer_id: string | null;
|
|
20510
|
+
render_html: string | null;
|
|
20511
|
+
resultaat_pdf_base64: string | null;
|
|
20512
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20513
|
+
updated_at: string;
|
|
20514
|
+
volgende_poging: string | null;
|
|
20515
|
+
voltooid_op: string | null;
|
|
20516
|
+
}[];
|
|
20517
|
+
SetofOptions: {
|
|
20518
|
+
from: "*";
|
|
20519
|
+
to: "print_jobs";
|
|
20520
|
+
isOneToOne: false;
|
|
20521
|
+
isSetofReturn: true;
|
|
20522
|
+
};
|
|
20523
|
+
};
|
|
20463
20524
|
claim_print_jobs: {
|
|
20464
20525
|
Args: {
|
|
20465
20526
|
_agent_id: string;
|
|
@@ -20475,6 +20536,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20475
20536
|
foutmelding: string | null;
|
|
20476
20537
|
gebruiker_id: string | null;
|
|
20477
20538
|
gebruiker_naam: string;
|
|
20539
|
+
gebruikte_bron: string | null;
|
|
20540
|
+
gebruikte_layout_id: string | null;
|
|
20478
20541
|
gestart_op: string | null;
|
|
20479
20542
|
herkomst: string | null;
|
|
20480
20543
|
id: string;
|
|
@@ -20482,6 +20545,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20482
20545
|
is_herprint: boolean;
|
|
20483
20546
|
kopieen: number;
|
|
20484
20547
|
layout_id: string | null;
|
|
20548
|
+
lokaal_opgeslagen_op: string | null;
|
|
20549
|
+
lokale_pdf_fout: string | null;
|
|
20550
|
+
lokale_pdf_status: string | null;
|
|
20485
20551
|
opgepakt_op: string | null;
|
|
20486
20552
|
paginas: number;
|
|
20487
20553
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -20490,6 +20556,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20490
20556
|
pogingen: number;
|
|
20491
20557
|
printer_id: string | null;
|
|
20492
20558
|
render_html: string | null;
|
|
20559
|
+
resultaat_pdf_base64: string | null;
|
|
20493
20560
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20494
20561
|
updated_at: string;
|
|
20495
20562
|
volgende_poging: string | null;
|
|
@@ -20630,6 +20697,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20630
20697
|
order_id: string;
|
|
20631
20698
|
order_source: string;
|
|
20632
20699
|
pick_date: string;
|
|
20700
|
+
printed_at: string;
|
|
20701
|
+
printed_today: boolean;
|
|
20633
20702
|
status: string;
|
|
20634
20703
|
}[];
|
|
20635
20704
|
};
|
|
@@ -20826,6 +20895,24 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20826
20895
|
};
|
|
20827
20896
|
Returns: string;
|
|
20828
20897
|
};
|
|
20898
|
+
floriday_capture_stock_snapshot: {
|
|
20899
|
+
Args: never;
|
|
20900
|
+
Returns: number;
|
|
20901
|
+
};
|
|
20902
|
+
floriday_cleanup_stock_queue_v2: {
|
|
20903
|
+
Args: never;
|
|
20904
|
+
Returns: undefined;
|
|
20905
|
+
};
|
|
20906
|
+
floriday_compact_stock_snapshots: {
|
|
20907
|
+
Args: never;
|
|
20908
|
+
Returns: undefined;
|
|
20909
|
+
};
|
|
20910
|
+
floriday_default_owner: {
|
|
20911
|
+
Args: {
|
|
20912
|
+
p_connection_id: string;
|
|
20913
|
+
};
|
|
20914
|
+
Returns: string;
|
|
20915
|
+
};
|
|
20829
20916
|
floriday_effective_price: {
|
|
20830
20917
|
Args: {
|
|
20831
20918
|
_buyer_id: string;
|
|
@@ -20843,6 +20930,34 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
20843
20930
|
source_id: string;
|
|
20844
20931
|
}[];
|
|
20845
20932
|
};
|
|
20933
|
+
floriday_fill_publish_horizon: {
|
|
20934
|
+
Args: never;
|
|
20935
|
+
Returns: number;
|
|
20936
|
+
};
|
|
20937
|
+
floriday_ingest_sales_orders: {
|
|
20938
|
+
Args: {
|
|
20939
|
+
p_limit?: number;
|
|
20940
|
+
};
|
|
20941
|
+
Returns: number;
|
|
20942
|
+
};
|
|
20943
|
+
floriday_publish_horizon_weeks: {
|
|
20944
|
+
Args: never;
|
|
20945
|
+
Returns: number;
|
|
20946
|
+
};
|
|
20947
|
+
floriday_recompute_inventory: {
|
|
20948
|
+
Args: {
|
|
20949
|
+
p_connection_id: string;
|
|
20950
|
+
p_force?: boolean;
|
|
20951
|
+
p_product_id: string;
|
|
20952
|
+
};
|
|
20953
|
+
Returns: undefined;
|
|
20954
|
+
};
|
|
20955
|
+
floriday_requeue_dead_letters: {
|
|
20956
|
+
Args: {
|
|
20957
|
+
p_connection_id?: string;
|
|
20958
|
+
};
|
|
20959
|
+
Returns: number;
|
|
20960
|
+
};
|
|
20846
20961
|
format_cart_number: {
|
|
20847
20962
|
Args: {
|
|
20848
20963
|
p_pick_date: string;
|
|
@@ -21059,6 +21174,131 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
21059
21174
|
Args: never;
|
|
21060
21175
|
Returns: string;
|
|
21061
21176
|
};
|
|
21177
|
+
handover_get: {
|
|
21178
|
+
Args: {
|
|
21179
|
+
_module_id: string;
|
|
21180
|
+
};
|
|
21181
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21182
|
+
};
|
|
21183
|
+
handover_kern_naam: {
|
|
21184
|
+
Args: {
|
|
21185
|
+
_naam: string;
|
|
21186
|
+
};
|
|
21187
|
+
Returns: string;
|
|
21188
|
+
};
|
|
21189
|
+
handover_ketenmodel: {
|
|
21190
|
+
Args: never;
|
|
21191
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21192
|
+
};
|
|
21193
|
+
handover_kruisconflicten: {
|
|
21194
|
+
Args: never;
|
|
21195
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21196
|
+
};
|
|
21197
|
+
handover_list: {
|
|
21198
|
+
Args: never;
|
|
21199
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21200
|
+
};
|
|
21201
|
+
handover_mag_schrijven: {
|
|
21202
|
+
Args: {
|
|
21203
|
+
_module_id: string;
|
|
21204
|
+
};
|
|
21205
|
+
Returns: boolean;
|
|
21206
|
+
};
|
|
21207
|
+
handover_norm_naam: {
|
|
21208
|
+
Args: {
|
|
21209
|
+
_naam: string;
|
|
21210
|
+
};
|
|
21211
|
+
Returns: string;
|
|
21212
|
+
};
|
|
21213
|
+
handover_publish: {
|
|
21214
|
+
Args: {
|
|
21215
|
+
_bevindingen?: string;
|
|
21216
|
+
_bezit_tabellen?: string[];
|
|
21217
|
+
_conflicten_snapshot?: import("../integrations/supabase/types").Json;
|
|
21218
|
+
_contractfuncties?: string[];
|
|
21219
|
+
_inhoud_md: string;
|
|
21220
|
+
_module_id: string;
|
|
21221
|
+
_module_titel: string;
|
|
21222
|
+
_ontbrekende_contracten?: string[];
|
|
21223
|
+
_samenvatting?: string;
|
|
21224
|
+
};
|
|
21225
|
+
Returns: number;
|
|
21226
|
+
};
|
|
21227
|
+
handover_publish_via_token: {
|
|
21228
|
+
Args: {
|
|
21229
|
+
_bevindingen?: string;
|
|
21230
|
+
_bezit_tabellen?: string[];
|
|
21231
|
+
_conflicten_snapshot?: import("../integrations/supabase/types").Json;
|
|
21232
|
+
_contractfuncties?: string[];
|
|
21233
|
+
_inhoud_md: string;
|
|
21234
|
+
_module_id: string;
|
|
21235
|
+
_module_titel: string;
|
|
21236
|
+
_ontbrekende_contracten?: string[];
|
|
21237
|
+
_samenvatting?: string;
|
|
21238
|
+
_token_hash: string;
|
|
21239
|
+
};
|
|
21240
|
+
Returns: number;
|
|
21241
|
+
};
|
|
21242
|
+
handover_status: {
|
|
21243
|
+
Args: never;
|
|
21244
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21245
|
+
};
|
|
21246
|
+
handover_synonym_kern: {
|
|
21247
|
+
Args: {
|
|
21248
|
+
_naam: string;
|
|
21249
|
+
};
|
|
21250
|
+
Returns: string;
|
|
21251
|
+
};
|
|
21252
|
+
handover_token_intrekken: {
|
|
21253
|
+
Args: {
|
|
21254
|
+
_id: string;
|
|
21255
|
+
};
|
|
21256
|
+
Returns: boolean;
|
|
21257
|
+
};
|
|
21258
|
+
handover_token_lijst: {
|
|
21259
|
+
Args: never;
|
|
21260
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21261
|
+
};
|
|
21262
|
+
handover_token_maken: {
|
|
21263
|
+
Args: {
|
|
21264
|
+
_label?: string;
|
|
21265
|
+
_module_id: string;
|
|
21266
|
+
};
|
|
21267
|
+
Returns: string;
|
|
21268
|
+
};
|
|
21269
|
+
handover_update: {
|
|
21270
|
+
Args: {
|
|
21271
|
+
_bezit_tabellen?: string[];
|
|
21272
|
+
_contractfuncties?: string[];
|
|
21273
|
+
_herzieningstermijn_dagen?: number;
|
|
21274
|
+
_inhoud_md?: string;
|
|
21275
|
+
_module_id: string;
|
|
21276
|
+
_module_titel?: string;
|
|
21277
|
+
_samenvatting?: string;
|
|
21278
|
+
_versie: number;
|
|
21279
|
+
};
|
|
21280
|
+
Returns: boolean;
|
|
21281
|
+
} | {
|
|
21282
|
+
Args: {
|
|
21283
|
+
_bevindingen?: string;
|
|
21284
|
+
_bezit_tabellen?: string[];
|
|
21285
|
+
_contractfuncties?: string[];
|
|
21286
|
+
_herzieningstermijn_dagen?: number;
|
|
21287
|
+
_inhoud_md?: string;
|
|
21288
|
+
_module_id: string;
|
|
21289
|
+
_module_titel?: string;
|
|
21290
|
+
_ontbrekende_contracten?: string[];
|
|
21291
|
+
_samenvatting?: string;
|
|
21292
|
+
_versie: number;
|
|
21293
|
+
};
|
|
21294
|
+
Returns: boolean;
|
|
21295
|
+
};
|
|
21296
|
+
handover_versies: {
|
|
21297
|
+
Args: {
|
|
21298
|
+
_module_id: string;
|
|
21299
|
+
};
|
|
21300
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21301
|
+
};
|
|
21062
21302
|
has_module_permission: {
|
|
21063
21303
|
Args: {
|
|
21064
21304
|
_min: string;
|
|
@@ -21078,6 +21318,25 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
21078
21318
|
Args: never;
|
|
21079
21319
|
Returns: boolean;
|
|
21080
21320
|
};
|
|
21321
|
+
instructie_get: {
|
|
21322
|
+
Args: {
|
|
21323
|
+
_sleutel: string;
|
|
21324
|
+
};
|
|
21325
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21326
|
+
};
|
|
21327
|
+
instructie_list: {
|
|
21328
|
+
Args: never;
|
|
21329
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21330
|
+
};
|
|
21331
|
+
instructie_publish: {
|
|
21332
|
+
Args: {
|
|
21333
|
+
_inhoud_md: string;
|
|
21334
|
+
_sleutel: string;
|
|
21335
|
+
_titel: string;
|
|
21336
|
+
_toelichting?: string;
|
|
21337
|
+
};
|
|
21338
|
+
Returns: number;
|
|
21339
|
+
};
|
|
21081
21340
|
invoice_create_from_source: {
|
|
21082
21341
|
Args: {
|
|
21083
21342
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -21338,6 +21597,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
21338
21597
|
};
|
|
21339
21598
|
Returns: number;
|
|
21340
21599
|
};
|
|
21600
|
+
logistics_cancel_orphan_tasks: {
|
|
21601
|
+
Args: never;
|
|
21602
|
+
Returns: number;
|
|
21603
|
+
};
|
|
21341
21604
|
logistics_capacity_day_check: {
|
|
21342
21605
|
Args: {
|
|
21343
21606
|
p_from?: string;
|
|
@@ -21358,6 +21621,25 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
21358
21621
|
};
|
|
21359
21622
|
Returns: number;
|
|
21360
21623
|
};
|
|
21624
|
+
logistics_cart_index: {
|
|
21625
|
+
Args: {
|
|
21626
|
+
p_from?: string;
|
|
21627
|
+
p_to?: string;
|
|
21628
|
+
};
|
|
21629
|
+
Returns: {
|
|
21630
|
+
cart_id: string;
|
|
21631
|
+
cart_index: number;
|
|
21632
|
+
cart_label: string;
|
|
21633
|
+
is_shared: boolean;
|
|
21634
|
+
order_number: string;
|
|
21635
|
+
order_source: string;
|
|
21636
|
+
order_uuid: string;
|
|
21637
|
+
pick_date: string;
|
|
21638
|
+
printed_at: string;
|
|
21639
|
+
shifted: boolean;
|
|
21640
|
+
task_status: string;
|
|
21641
|
+
}[];
|
|
21642
|
+
};
|
|
21361
21643
|
logistics_check_order_allowed: {
|
|
21362
21644
|
Args: {
|
|
21363
21645
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -21506,6 +21788,17 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
21506
21788
|
isSetofReturn: false;
|
|
21507
21789
|
};
|
|
21508
21790
|
};
|
|
21791
|
+
logistics_consistency_check: {
|
|
21792
|
+
Args: never;
|
|
21793
|
+
Returns: {
|
|
21794
|
+
agenda_carts: number;
|
|
21795
|
+
control_carts: number;
|
|
21796
|
+
ok: boolean;
|
|
21797
|
+
orphan_tasks: number;
|
|
21798
|
+
pick_date: string;
|
|
21799
|
+
raw_carts: number;
|
|
21800
|
+
}[];
|
|
21801
|
+
};
|
|
21509
21802
|
logistics_delay_customer_email: {
|
|
21510
21803
|
Args: {
|
|
21511
21804
|
p_customer: string;
|
|
@@ -21531,6 +21824,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
21531
21824
|
};
|
|
21532
21825
|
Returns: string;
|
|
21533
21826
|
};
|
|
21827
|
+
logistics_document_type_map: {
|
|
21828
|
+
Args: {
|
|
21829
|
+
_document_code: string;
|
|
21830
|
+
};
|
|
21831
|
+
Returns: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"][];
|
|
21832
|
+
};
|
|
21534
21833
|
logistics_emit_event: {
|
|
21535
21834
|
Args: {
|
|
21536
21835
|
p_event_type: string;
|
|
@@ -21589,6 +21888,16 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
21589
21888
|
isSetofReturn: false;
|
|
21590
21889
|
};
|
|
21591
21890
|
};
|
|
21891
|
+
logistics_floriday_cart_plan: {
|
|
21892
|
+
Args: {
|
|
21893
|
+
p_order_id: string;
|
|
21894
|
+
};
|
|
21895
|
+
Returns: {
|
|
21896
|
+
carrier_type: string;
|
|
21897
|
+
idx: number;
|
|
21898
|
+
packages: number;
|
|
21899
|
+
}[];
|
|
21900
|
+
};
|
|
21592
21901
|
logistics_floriday_claim_pushes: {
|
|
21593
21902
|
Args: {
|
|
21594
21903
|
_lease_seconds?: number;
|
|
@@ -21693,6 +22002,25 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
21693
22002
|
};
|
|
21694
22003
|
Returns: number;
|
|
21695
22004
|
};
|
|
22005
|
+
logistics_order_overview: {
|
|
22006
|
+
Args: {
|
|
22007
|
+
p_from?: string;
|
|
22008
|
+
p_to?: string;
|
|
22009
|
+
};
|
|
22010
|
+
Returns: {
|
|
22011
|
+
cart_count: number;
|
|
22012
|
+
customer_name: string;
|
|
22013
|
+
delivery_date: string;
|
|
22014
|
+
order_number: string;
|
|
22015
|
+
order_source: string;
|
|
22016
|
+
order_uuid: string;
|
|
22017
|
+
pick_date: string;
|
|
22018
|
+
plant_count: number;
|
|
22019
|
+
printed_at: string;
|
|
22020
|
+
shifted: boolean;
|
|
22021
|
+
status: string;
|
|
22022
|
+
}[];
|
|
22023
|
+
};
|
|
21696
22024
|
logistics_order_pick_day: {
|
|
21697
22025
|
Args: {
|
|
21698
22026
|
p_order_ref: string;
|
|
@@ -21705,6 +22033,22 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
21705
22033
|
};
|
|
21706
22034
|
Returns: string;
|
|
21707
22035
|
};
|
|
22036
|
+
logistics_pick_agenda: {
|
|
22037
|
+
Args: {
|
|
22038
|
+
p_from?: string;
|
|
22039
|
+
p_to?: string;
|
|
22040
|
+
};
|
|
22041
|
+
Returns: {
|
|
22042
|
+
cart_count: number;
|
|
22043
|
+
in_preparation: number;
|
|
22044
|
+
order_count: number;
|
|
22045
|
+
orders: import("../integrations/supabase/types").Json;
|
|
22046
|
+
pick_date: string;
|
|
22047
|
+
plant_count: number;
|
|
22048
|
+
ready: number;
|
|
22049
|
+
shifted_count: number;
|
|
22050
|
+
}[];
|
|
22051
|
+
};
|
|
21708
22052
|
logistics_pick_email_purpose: {
|
|
21709
22053
|
Args: never;
|
|
21710
22054
|
Returns: string;
|
|
@@ -21759,6 +22103,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
21759
22103
|
};
|
|
21760
22104
|
Returns: undefined;
|
|
21761
22105
|
};
|
|
22106
|
+
logistics_plan_floriday_order: {
|
|
22107
|
+
Args: {
|
|
22108
|
+
p_buffer_id?: string;
|
|
22109
|
+
p_order_id: string;
|
|
22110
|
+
};
|
|
22111
|
+
Returns: number;
|
|
22112
|
+
};
|
|
21762
22113
|
logistics_plan_impact_orders: {
|
|
21763
22114
|
Args: {
|
|
21764
22115
|
p_order_id: string;
|
|
@@ -21864,6 +22215,15 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
21864
22215
|
};
|
|
21865
22216
|
Returns: import("../integrations/supabase/types").Json;
|
|
21866
22217
|
};
|
|
22218
|
+
logistics_resolve_pick_document: {
|
|
22219
|
+
Args: {
|
|
22220
|
+
_is_herprint: boolean;
|
|
22221
|
+
_queue_item_id: string;
|
|
22222
|
+
_session_id: string;
|
|
22223
|
+
_voorbeeld: boolean;
|
|
22224
|
+
};
|
|
22225
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22226
|
+
};
|
|
21867
22227
|
logistics_resolve_settings: {
|
|
21868
22228
|
Args: {
|
|
21869
22229
|
p_config_id: string;
|
|
@@ -22304,6 +22664,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
22304
22664
|
};
|
|
22305
22665
|
pick_enqueue_print_job: {
|
|
22306
22666
|
Args: {
|
|
22667
|
+
_is_herprint?: boolean;
|
|
22307
22668
|
_printer_id?: string;
|
|
22308
22669
|
_queue_item_id: string;
|
|
22309
22670
|
_session_id?: string;
|
|
@@ -22317,6 +22678,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
22317
22678
|
};
|
|
22318
22679
|
Returns: import("../integrations/supabase/types").Json;
|
|
22319
22680
|
};
|
|
22681
|
+
pick_preview_job: {
|
|
22682
|
+
Args: {
|
|
22683
|
+
_queue_item_id: string;
|
|
22684
|
+
_station_slug: string;
|
|
22685
|
+
};
|
|
22686
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22687
|
+
};
|
|
22320
22688
|
pick_print_job_status: {
|
|
22321
22689
|
Args: {
|
|
22322
22690
|
_job_id: string;
|
|
@@ -22494,6 +22862,84 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
22494
22862
|
};
|
|
22495
22863
|
Returns: undefined;
|
|
22496
22864
|
};
|
|
22865
|
+
planning_cancel_item: {
|
|
22866
|
+
Args: {
|
|
22867
|
+
_id: string;
|
|
22868
|
+
};
|
|
22869
|
+
Returns: undefined;
|
|
22870
|
+
};
|
|
22871
|
+
planning_list: {
|
|
22872
|
+
Args: {
|
|
22873
|
+
_from: string;
|
|
22874
|
+
_to: string;
|
|
22875
|
+
};
|
|
22876
|
+
Returns: {
|
|
22877
|
+
assigned_monteur_id: string | null;
|
|
22878
|
+
assistants: import("../integrations/supabase/types").Json | null;
|
|
22879
|
+
budget_mandate_cents: number | null;
|
|
22880
|
+
created_at: string | null;
|
|
22881
|
+
created_by: string | null;
|
|
22882
|
+
customer_id: string | null;
|
|
22883
|
+
customer_name: string | null;
|
|
22884
|
+
duration_minutes: number | null;
|
|
22885
|
+
end_at: string | null;
|
|
22886
|
+
id: string | null;
|
|
22887
|
+
needs_detail_review: boolean | null;
|
|
22888
|
+
notes: string | null;
|
|
22889
|
+
project_number: string | null;
|
|
22890
|
+
review_reasons: string[] | null;
|
|
22891
|
+
start_at: string | null;
|
|
22892
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"] | null;
|
|
22893
|
+
updated_at: string | null;
|
|
22894
|
+
viewer_role: string | null;
|
|
22895
|
+
werkbon_id: string | null;
|
|
22896
|
+
work_address: string | null;
|
|
22897
|
+
}[];
|
|
22898
|
+
SetofOptions: {
|
|
22899
|
+
from: "*";
|
|
22900
|
+
to: "planning_overview";
|
|
22901
|
+
isOneToOne: false;
|
|
22902
|
+
isSetofReturn: true;
|
|
22903
|
+
};
|
|
22904
|
+
};
|
|
22905
|
+
planning_set_assistants: {
|
|
22906
|
+
Args: {
|
|
22907
|
+
_monteur_ids: string[];
|
|
22908
|
+
_planning_item_id: string;
|
|
22909
|
+
};
|
|
22910
|
+
Returns: undefined;
|
|
22911
|
+
};
|
|
22912
|
+
planning_upsert_item: {
|
|
22913
|
+
Args: {
|
|
22914
|
+
_assigned_monteur_id: string;
|
|
22915
|
+
_end_at: string;
|
|
22916
|
+
_notes?: string;
|
|
22917
|
+
_start_at: string;
|
|
22918
|
+
_werkbon_id: string;
|
|
22919
|
+
};
|
|
22920
|
+
Returns: {
|
|
22921
|
+
action: string;
|
|
22922
|
+
id: string;
|
|
22923
|
+
}[];
|
|
22924
|
+
};
|
|
22925
|
+
print_preview_toestaan: {
|
|
22926
|
+
Args: {
|
|
22927
|
+
_max?: number;
|
|
22928
|
+
_queue_item_id: string;
|
|
22929
|
+
_station_slug: string;
|
|
22930
|
+
_venster_sec?: number;
|
|
22931
|
+
};
|
|
22932
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22933
|
+
};
|
|
22934
|
+
print_preview_weiger: {
|
|
22935
|
+
Args: {
|
|
22936
|
+
_code: string;
|
|
22937
|
+
_queue_item_id: string;
|
|
22938
|
+
_reden: string;
|
|
22939
|
+
_station_slug: string;
|
|
22940
|
+
};
|
|
22941
|
+
Returns: undefined;
|
|
22942
|
+
};
|
|
22497
22943
|
process_logistics_event: {
|
|
22498
22944
|
Args: {
|
|
22499
22945
|
p_event_id: string;
|
|
@@ -22611,6 +23057,14 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
22611
23057
|
};
|
|
22612
23058
|
Returns: undefined;
|
|
22613
23059
|
};
|
|
23060
|
+
replace_order_carts: {
|
|
23061
|
+
Args: {
|
|
23062
|
+
p_buffer_id: string;
|
|
23063
|
+
p_carts: import("../integrations/supabase/types").Json;
|
|
23064
|
+
p_order_id: string;
|
|
23065
|
+
};
|
|
23066
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23067
|
+
};
|
|
22614
23068
|
reset_floriday_sync_cursor: {
|
|
22615
23069
|
Args: {
|
|
22616
23070
|
p_connection_id: string;
|
|
@@ -22640,6 +23094,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
22640
23094
|
};
|
|
22641
23095
|
Returns: string;
|
|
22642
23096
|
};
|
|
23097
|
+
resolve_print_job_printer_id: {
|
|
23098
|
+
Args: {
|
|
23099
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
23100
|
+
};
|
|
23101
|
+
Returns: string;
|
|
23102
|
+
};
|
|
22643
23103
|
resolve_product_id_for_item: {
|
|
22644
23104
|
Args: {
|
|
22645
23105
|
p_product_name: string;
|
|
@@ -23043,6 +23503,26 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
23043
23503
|
};
|
|
23044
23504
|
Returns: string[];
|
|
23045
23505
|
};
|
|
23506
|
+
start_time_log_at: {
|
|
23507
|
+
Args: {
|
|
23508
|
+
p_clicked_at?: string;
|
|
23509
|
+
p_employee_id: string;
|
|
23510
|
+
p_start_lat?: number;
|
|
23511
|
+
p_start_lng?: number;
|
|
23512
|
+
p_type: string;
|
|
23513
|
+
p_work_order_id?: string;
|
|
23514
|
+
};
|
|
23515
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23516
|
+
};
|
|
23517
|
+
stop_time_log: {
|
|
23518
|
+
Args: {
|
|
23519
|
+
p_employee_id: string;
|
|
23520
|
+
p_end_lat?: number;
|
|
23521
|
+
p_end_lng?: number;
|
|
23522
|
+
p_end_time: string;
|
|
23523
|
+
};
|
|
23524
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23525
|
+
};
|
|
23046
23526
|
switch_time_log: {
|
|
23047
23527
|
Args: {
|
|
23048
23528
|
p_employee_id: string;
|
|
@@ -23231,7 +23711,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
23231
23711
|
};
|
|
23232
23712
|
CompositeTypes: { [_ in never]: never; };
|
|
23233
23713
|
}, {
|
|
23234
|
-
PostgrestVersion: "14.
|
|
23714
|
+
PostgrestVersion: "14.5";
|
|
23235
23715
|
}>;
|
|
23236
23716
|
userId: string;
|
|
23237
23717
|
claims: import("@supabase/auth-js").JwtPayload;
|