@flowselections/floriday-verkoop-module 1.0.56 → 1.0.58
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/verkoop/AnalyticsCards.d.ts +1 -1
- package/dist-lib/components/verkoop/AnalyticsCards.d.ts.map +1 -1
- package/dist-lib/components/verkoop/AutoFulfillmentStatusCard.d.ts +1 -1
- package/dist-lib/components/verkoop/AutoFulfillmentStatusCard.d.ts.map +1 -1
- package/dist-lib/components/verkoop/CartAssignmentWizard.d.ts +1 -1
- package/dist-lib/components/verkoop/CartAssignmentWizard.d.ts.map +1 -1
- package/dist-lib/components/verkoop/CreateOrderPage.d.ts +1 -1
- package/dist-lib/components/verkoop/CreateOrderPage.d.ts.map +1 -1
- package/dist-lib/components/verkoop/DiagnoseConnectionDialog.d.ts +1 -1
- package/dist-lib/components/verkoop/DiagnoseConnectionDialog.d.ts.map +1 -1
- package/dist-lib/components/verkoop/EditLocalOrderDialog.d.ts +1 -1
- package/dist-lib/components/verkoop/EditLocalOrderDialog.d.ts.map +1 -1
- package/dist-lib/components/verkoop/EngineBufferCard.d.ts +1 -1
- package/dist-lib/components/verkoop/EngineBufferCard.d.ts.map +1 -1
- package/dist-lib/components/verkoop/InvoiceTimingSettings.d.ts +1 -1
- package/dist-lib/components/verkoop/InvoiceTimingSettings.d.ts.map +1 -1
- package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts +1 -1
- package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts.map +1 -1
- package/dist-lib/components/verkoop/OrderAfleverbrievenCard.js +5 -5
- package/dist-lib/components/verkoop/OrderCarrierPicker.d.ts +1 -1
- package/dist-lib/components/verkoop/OrderCarrierPicker.d.ts.map +1 -1
- package/dist-lib/components/verkoop/OrderControlStatusCard.d.ts +1 -1
- package/dist-lib/components/verkoop/OrderControlStatusCard.d.ts.map +1 -1
- package/dist-lib/components/verkoop/OrderKarindelingCard.d.ts +1 -1
- package/dist-lib/components/verkoop/OrderKarindelingCard.d.ts.map +1 -1
- package/dist-lib/components/verkoop/OrderPickupMomentPicker.d.ts +1 -1
- package/dist-lib/components/verkoop/OrderPickupMomentPicker.d.ts.map +1 -1
- package/dist-lib/components/verkoop/OrderShipmentsCard.d.ts +1 -1
- package/dist-lib/components/verkoop/OrderShipmentsCard.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrderDetailPage.d.ts +1 -1
- package/dist-lib/components/verkoop/SalesOrderDetailPage.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrderDetailPage.js +6 -6
- package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts +1 -1
- package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrdersFilterPanel.d.ts +1 -1
- package/dist-lib/components/verkoop/SalesOrdersFilterPanel.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrdersFilters.d.ts +1 -1
- package/dist-lib/components/verkoop/SalesOrdersFilters.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrdersTable.d.ts +2 -1
- package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrdersTable.js +17 -4
- package/dist-lib/components/verkoop/SearchableSelect.d.ts +1 -1
- package/dist-lib/components/verkoop/SearchableSelect.d.ts.map +1 -1
- package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.d.ts +1 -1
- package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.d.ts.map +1 -1
- package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts +1 -1
- package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
- package/dist-lib/components/verkoop/WeekCalendar.d.ts +1 -1
- package/dist-lib/components/verkoop/WeekCalendar.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +596 -10
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +596 -10
- 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 +596 -10
- 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 +598 -10
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/cart-lock.functions.d.ts +596 -10
- package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-planning-settings.functions.d.ts +6556 -110
- package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.d.ts +1788 -30
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.d.ts +10132 -170
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +1788 -30
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.server.d.ts +14 -0
- package/dist-lib/lib/floriday-gateway.server.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.server.js +46 -0
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +24465 -20
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-logistic-labels.functions.js +209 -90
- package/dist-lib/lib/floriday-mirror.functions.d.ts +596 -10
- package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +4172 -70
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-sync.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +2980 -50
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/invoice-timing.functions.d.ts +2384 -40
- package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
- package/dist-lib/lib/load-carriers.functions.d.ts +596 -10
- package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-engine.functions.d.ts +2995 -55
- package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-stock.functions.d.ts +1192 -20
- package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-addresses.functions.d.ts +596 -10
- package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-buffers.functions.d.ts +1788 -30
- package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-carrier.functions.d.ts +1192 -20
- package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-pickup.functions.d.ts +1192 -20
- package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-shipments.functions.d.ts +2384 -40
- package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.functions.d.ts +596 -10
- package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.server.js +43 -1
- package/dist-lib/lib/salesorders-mapping.d.ts +8 -0
- package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
- package/dist-lib/lib/salesorders.functions.d.ts +2980 -50
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +1192 -20
- package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -1
- package/dist-lib/lib/tradeitems.functions.d.ts +596 -10
- package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
- package/dist-lib/lib/useSalesOrderDetailQuery.d.ts +1 -1
- package/dist-lib/lib/useSalesOrderDetailQuery.d.ts.map +1 -1
- package/dist-lib/lib/useSalesOrdersQuery.d.ts +1 -1
- package/dist-lib/lib/useSalesOrdersQuery.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist-lib/components/floriday/FlorydaySyncHealthBanner.d.ts +0 -9
- package/dist-lib/components/floriday/FlorydaySyncHealthBanner.d.ts.map +0 -1
- package/dist-lib/components/floriday/FlorydaySyncHealthBanner.js +0 -26
- package/dist-lib/components/karindeling/AfmetingenTab.d.ts +0 -6
- package/dist-lib/components/karindeling/AfmetingenTab.d.ts.map +0 -1
- package/dist-lib/components/karindeling/AfmetingenTab.js +0 -128
- package/dist-lib/components/karindeling/KarindelingPage.d.ts +0 -2
- package/dist-lib/components/karindeling/KarindelingPage.d.ts.map +0 -1
- package/dist-lib/components/karindeling/KarindelingPage.js +0 -102
- package/dist-lib/components/ui/dropdown-menu.d.ts +0 -9
- package/dist-lib/components/ui/dropdown-menu.d.ts.map +0 -1
- package/dist-lib/components/ui/dropdown-menu.js +0 -14
- package/dist-lib/components/verkoop/CreateOrderDialog.d.ts +0 -5
- package/dist-lib/components/verkoop/CreateOrderDialog.d.ts.map +0 -1
- package/dist-lib/components/verkoop/CreateOrderDialog.js +0 -33
- package/dist-lib/lib/floriday/floriday.server.d.ts +0 -14
- package/dist-lib/lib/floriday/floriday.server.d.ts.map +0 -1
- package/dist-lib/lib/floriday/floriday.server.js +0 -92
- package/dist-lib/lib/floriday/sales-orders.functions.d.ts +0 -4736
- package/dist-lib/lib/floriday/sales-orders.functions.d.ts.map +0 -1
- package/dist-lib/lib/floriday/sales-orders.functions.js +0 -193
|
@@ -196,7 +196,9 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
196
196
|
refresh_token?: string | null;
|
|
197
197
|
scope?: string | null;
|
|
198
198
|
token_expires_at?: string | null;
|
|
199
|
-
updated_at
|
|
199
|
+
updated_at
|
|
200
|
+
/** Buffer handmatig vrijgeven (release === "manual"): taak afmelden als done. */
|
|
201
|
+
? /** Buffer handmatig vrijgeven (release === "manual"): taak afmelden als done. */: string;
|
|
200
202
|
user_id: string;
|
|
201
203
|
};
|
|
202
204
|
Update: {
|
|
@@ -2852,6 +2854,84 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
2852
2854
|
};
|
|
2853
2855
|
Relationships: [];
|
|
2854
2856
|
};
|
|
2857
|
+
delivery_notes: {
|
|
2858
|
+
Row: {
|
|
2859
|
+
byte_size: number | null;
|
|
2860
|
+
connection_id: string | null;
|
|
2861
|
+
content_type: string;
|
|
2862
|
+
created_at: string;
|
|
2863
|
+
error_message: string | null;
|
|
2864
|
+
fetched_at: string | null;
|
|
2865
|
+
fulfillment_order_id: string | null;
|
|
2866
|
+
http_status: number | null;
|
|
2867
|
+
id: string;
|
|
2868
|
+
label_code: string | null;
|
|
2869
|
+
letter: string | null;
|
|
2870
|
+
load_carrier_index: number | null;
|
|
2871
|
+
load_carrier_type: string | null;
|
|
2872
|
+
order_id: string | null;
|
|
2873
|
+
order_number: string | null;
|
|
2874
|
+
packages: number | null;
|
|
2875
|
+
source: string;
|
|
2876
|
+
status: string;
|
|
2877
|
+
storage_bucket: string;
|
|
2878
|
+
storage_path: string | null;
|
|
2879
|
+
updated_at: string;
|
|
2880
|
+
};
|
|
2881
|
+
Insert: {
|
|
2882
|
+
byte_size?: number | null;
|
|
2883
|
+
connection_id?: string | null;
|
|
2884
|
+
content_type?: string;
|
|
2885
|
+
created_at?: string;
|
|
2886
|
+
error_message?: string | null;
|
|
2887
|
+
fetched_at?: string | null;
|
|
2888
|
+
fulfillment_order_id?: string | null;
|
|
2889
|
+
http_status?: number | null;
|
|
2890
|
+
id?: string;
|
|
2891
|
+
label_code?: string | null;
|
|
2892
|
+
letter?: string | null;
|
|
2893
|
+
load_carrier_index?: number | null;
|
|
2894
|
+
load_carrier_type?: string | null;
|
|
2895
|
+
order_id?: string | null;
|
|
2896
|
+
order_number?: string | null;
|
|
2897
|
+
packages?: number | null;
|
|
2898
|
+
source?: string;
|
|
2899
|
+
status?: string;
|
|
2900
|
+
storage_bucket?: string;
|
|
2901
|
+
storage_path?: string | null;
|
|
2902
|
+
updated_at?: string;
|
|
2903
|
+
};
|
|
2904
|
+
Update: {
|
|
2905
|
+
byte_size?: number | null;
|
|
2906
|
+
connection_id?: string | null;
|
|
2907
|
+
content_type?: string;
|
|
2908
|
+
created_at?: string;
|
|
2909
|
+
error_message?: string | null;
|
|
2910
|
+
fetched_at?: string | null;
|
|
2911
|
+
fulfillment_order_id?: string | null;
|
|
2912
|
+
http_status?: number | null;
|
|
2913
|
+
id?: string;
|
|
2914
|
+
label_code?: string | null;
|
|
2915
|
+
letter?: string | null;
|
|
2916
|
+
load_carrier_index?: number | null;
|
|
2917
|
+
load_carrier_type?: string | null;
|
|
2918
|
+
order_id?: string | null;
|
|
2919
|
+
order_number?: string | null;
|
|
2920
|
+
packages?: number | null;
|
|
2921
|
+
source?: string;
|
|
2922
|
+
status?: string;
|
|
2923
|
+
storage_bucket?: string;
|
|
2924
|
+
storage_path?: string | null;
|
|
2925
|
+
updated_at?: string;
|
|
2926
|
+
};
|
|
2927
|
+
Relationships: [{
|
|
2928
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
2929
|
+
columns: ["order_id"];
|
|
2930
|
+
isOneToOne: false;
|
|
2931
|
+
referencedRelation: "orders";
|
|
2932
|
+
referencedColumns: ["id"];
|
|
2933
|
+
}];
|
|
2934
|
+
};
|
|
2855
2935
|
document_bronregels: {
|
|
2856
2936
|
Row: {
|
|
2857
2937
|
bron: string;
|
|
@@ -5905,10 +5985,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
5905
5985
|
};
|
|
5906
5986
|
floriday_connections: {
|
|
5907
5987
|
Row: {
|
|
5908
|
-
access_token: string | null;
|
|
5909
5988
|
api_key: string;
|
|
5910
|
-
client_id: string;
|
|
5911
|
-
client_secret: string;
|
|
5912
5989
|
created_at: string;
|
|
5913
5990
|
customers_endpoint: string | null;
|
|
5914
5991
|
environment: string;
|
|
@@ -5923,10 +6000,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
5923
6000
|
updated_at: string;
|
|
5924
6001
|
};
|
|
5925
6002
|
Insert: {
|
|
5926
|
-
access_token?: string | null;
|
|
5927
6003
|
api_key: string;
|
|
5928
|
-
client_id: string;
|
|
5929
|
-
client_secret: string;
|
|
5930
6004
|
created_at?: string;
|
|
5931
6005
|
customers_endpoint?: string | null;
|
|
5932
6006
|
environment: string;
|
|
@@ -5941,10 +6015,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
5941
6015
|
updated_at?: string;
|
|
5942
6016
|
};
|
|
5943
6017
|
Update: {
|
|
5944
|
-
access_token?: string | null;
|
|
5945
6018
|
api_key?: string;
|
|
5946
|
-
client_id?: string;
|
|
5947
|
-
client_secret?: string;
|
|
5948
6019
|
created_at?: string;
|
|
5949
6020
|
customers_endpoint?: string | null;
|
|
5950
6021
|
environment?: string;
|
|
@@ -6028,6 +6099,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
6028
6099
|
attempts: number;
|
|
6029
6100
|
connection_id: string;
|
|
6030
6101
|
created_at: string;
|
|
6102
|
+
dead_lettered_at: string | null;
|
|
6031
6103
|
desired_available: boolean | null;
|
|
6032
6104
|
gateway_attempt_id: string | null;
|
|
6033
6105
|
id: string;
|
|
@@ -6036,9 +6108,13 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
6036
6108
|
locked_by: string | null;
|
|
6037
6109
|
next_attempt_at: string;
|
|
6038
6110
|
number_of_pieces: number;
|
|
6111
|
+
product_id: string | null;
|
|
6039
6112
|
sent_at: string | null;
|
|
6040
6113
|
status: string;
|
|
6114
|
+
stock_mode: string | null;
|
|
6041
6115
|
superseded_by: string | null;
|
|
6116
|
+
target_week: number | null;
|
|
6117
|
+
target_year: number | null;
|
|
6042
6118
|
trade_item_id: string;
|
|
6043
6119
|
updated_at: string;
|
|
6044
6120
|
user_id: string;
|
|
@@ -6047,6 +6123,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
6047
6123
|
attempts?: number;
|
|
6048
6124
|
connection_id: string;
|
|
6049
6125
|
created_at?: string;
|
|
6126
|
+
dead_lettered_at?: string | null;
|
|
6050
6127
|
desired_available?: boolean | null;
|
|
6051
6128
|
gateway_attempt_id?: string | null;
|
|
6052
6129
|
id?: string;
|
|
@@ -6055,9 +6132,13 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
6055
6132
|
locked_by?: string | null;
|
|
6056
6133
|
next_attempt_at?: string;
|
|
6057
6134
|
number_of_pieces?: number;
|
|
6135
|
+
product_id?: string | null;
|
|
6058
6136
|
sent_at?: string | null;
|
|
6059
6137
|
status?: string;
|
|
6138
|
+
stock_mode?: string | null;
|
|
6060
6139
|
superseded_by?: string | null;
|
|
6140
|
+
target_week?: number | null;
|
|
6141
|
+
target_year?: number | null;
|
|
6061
6142
|
trade_item_id: string;
|
|
6062
6143
|
updated_at?: string;
|
|
6063
6144
|
user_id: string;
|
|
@@ -6066,6 +6147,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
6066
6147
|
attempts?: number;
|
|
6067
6148
|
connection_id?: string;
|
|
6068
6149
|
created_at?: string;
|
|
6150
|
+
dead_lettered_at?: string | null;
|
|
6069
6151
|
desired_available?: boolean | null;
|
|
6070
6152
|
gateway_attempt_id?: string | null;
|
|
6071
6153
|
id?: string;
|
|
@@ -6074,9 +6156,13 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
6074
6156
|
locked_by?: string | null;
|
|
6075
6157
|
next_attempt_at?: string;
|
|
6076
6158
|
number_of_pieces?: number;
|
|
6159
|
+
product_id?: string | null;
|
|
6077
6160
|
sent_at?: string | null;
|
|
6078
6161
|
status?: string;
|
|
6162
|
+
stock_mode?: string | null;
|
|
6079
6163
|
superseded_by?: string | null;
|
|
6164
|
+
target_week?: number | null;
|
|
6165
|
+
target_year?: number | null;
|
|
6080
6166
|
trade_item_id?: string;
|
|
6081
6167
|
updated_at?: string;
|
|
6082
6168
|
user_id?: string;
|
|
@@ -6485,6 +6571,87 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
6485
6571
|
referencedColumns: ["id"];
|
|
6486
6572
|
}];
|
|
6487
6573
|
};
|
|
6574
|
+
floriday_inventory_settings: {
|
|
6575
|
+
Row: {
|
|
6576
|
+
buffer_quantity: number;
|
|
6577
|
+
connection_id: string;
|
|
6578
|
+
created_at: string;
|
|
6579
|
+
desired_availability: boolean;
|
|
6580
|
+
desired_quantity: number;
|
|
6581
|
+
fixed_quantity: number | null;
|
|
6582
|
+
floriday_trade_item_id: string | null;
|
|
6583
|
+
id: string;
|
|
6584
|
+
last_confirmed_at: string | null;
|
|
6585
|
+
last_enqueued_at: string | null;
|
|
6586
|
+
last_published_at: string | null;
|
|
6587
|
+
last_sync_error: string | null;
|
|
6588
|
+
manual_quantity: number | null;
|
|
6589
|
+
maximum_quantity: number | null;
|
|
6590
|
+
product_id: string;
|
|
6591
|
+
quantity_control: string;
|
|
6592
|
+
remote_available: boolean | null;
|
|
6593
|
+
remote_checked_at: string | null;
|
|
6594
|
+
remote_quantity: number | null;
|
|
6595
|
+
stock_mode: string;
|
|
6596
|
+
sync_status: string;
|
|
6597
|
+
updated_at: string;
|
|
6598
|
+
updated_by: string | null;
|
|
6599
|
+
user_id: string;
|
|
6600
|
+
};
|
|
6601
|
+
Insert: {
|
|
6602
|
+
buffer_quantity?: number;
|
|
6603
|
+
connection_id: string;
|
|
6604
|
+
created_at?: string;
|
|
6605
|
+
desired_availability?: boolean;
|
|
6606
|
+
desired_quantity?: number;
|
|
6607
|
+
fixed_quantity?: number | null;
|
|
6608
|
+
floriday_trade_item_id?: string | null;
|
|
6609
|
+
id?: string;
|
|
6610
|
+
last_confirmed_at?: string | null;
|
|
6611
|
+
last_enqueued_at?: string | null;
|
|
6612
|
+
last_published_at?: string | null;
|
|
6613
|
+
last_sync_error?: string | null;
|
|
6614
|
+
manual_quantity?: number | null;
|
|
6615
|
+
maximum_quantity?: number | null;
|
|
6616
|
+
product_id: string;
|
|
6617
|
+
quantity_control?: string;
|
|
6618
|
+
remote_available?: boolean | null;
|
|
6619
|
+
remote_checked_at?: string | null;
|
|
6620
|
+
remote_quantity?: number | null;
|
|
6621
|
+
stock_mode?: string;
|
|
6622
|
+
sync_status?: string;
|
|
6623
|
+
updated_at?: string;
|
|
6624
|
+
updated_by?: string | null;
|
|
6625
|
+
user_id: string;
|
|
6626
|
+
};
|
|
6627
|
+
Update: {
|
|
6628
|
+
buffer_quantity?: number;
|
|
6629
|
+
connection_id?: string;
|
|
6630
|
+
created_at?: string;
|
|
6631
|
+
desired_availability?: boolean;
|
|
6632
|
+
desired_quantity?: number;
|
|
6633
|
+
fixed_quantity?: number | null;
|
|
6634
|
+
floriday_trade_item_id?: string | null;
|
|
6635
|
+
id?: string;
|
|
6636
|
+
last_confirmed_at?: string | null;
|
|
6637
|
+
last_enqueued_at?: string | null;
|
|
6638
|
+
last_published_at?: string | null;
|
|
6639
|
+
last_sync_error?: string | null;
|
|
6640
|
+
manual_quantity?: number | null;
|
|
6641
|
+
maximum_quantity?: number | null;
|
|
6642
|
+
product_id?: string;
|
|
6643
|
+
quantity_control?: string;
|
|
6644
|
+
remote_available?: boolean | null;
|
|
6645
|
+
remote_checked_at?: string | null;
|
|
6646
|
+
remote_quantity?: number | null;
|
|
6647
|
+
stock_mode?: string;
|
|
6648
|
+
sync_status?: string;
|
|
6649
|
+
updated_at?: string;
|
|
6650
|
+
updated_by?: string | null;
|
|
6651
|
+
user_id?: string;
|
|
6652
|
+
};
|
|
6653
|
+
Relationships: [];
|
|
6654
|
+
};
|
|
6488
6655
|
floriday_invoices_cache: {
|
|
6489
6656
|
Row: {
|
|
6490
6657
|
buyer_organization_id: string | null;
|
|
@@ -6773,6 +6940,39 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
6773
6940
|
};
|
|
6774
6941
|
Relationships: [];
|
|
6775
6942
|
};
|
|
6943
|
+
floriday_sales_order_ingest: {
|
|
6944
|
+
Row: {
|
|
6945
|
+
connection_id: string;
|
|
6946
|
+
created_at: string;
|
|
6947
|
+
id: string;
|
|
6948
|
+
impact: import("../integrations/supabase/types").Json;
|
|
6949
|
+
order_status: string | null;
|
|
6950
|
+
order_version: number;
|
|
6951
|
+
processed_at: string;
|
|
6952
|
+
sales_order_id: string;
|
|
6953
|
+
};
|
|
6954
|
+
Insert: {
|
|
6955
|
+
connection_id: string;
|
|
6956
|
+
created_at?: string;
|
|
6957
|
+
id?: string;
|
|
6958
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
6959
|
+
order_status?: string | null;
|
|
6960
|
+
order_version?: number;
|
|
6961
|
+
processed_at?: string;
|
|
6962
|
+
sales_order_id: string;
|
|
6963
|
+
};
|
|
6964
|
+
Update: {
|
|
6965
|
+
connection_id?: string;
|
|
6966
|
+
created_at?: string;
|
|
6967
|
+
id?: string;
|
|
6968
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
6969
|
+
order_status?: string | null;
|
|
6970
|
+
order_version?: number;
|
|
6971
|
+
processed_at?: string;
|
|
6972
|
+
sales_order_id?: string;
|
|
6973
|
+
};
|
|
6974
|
+
Relationships: [];
|
|
6975
|
+
};
|
|
6776
6976
|
floriday_sales_strategies_cache: {
|
|
6777
6977
|
Row: {
|
|
6778
6978
|
connection_id: string;
|
|
@@ -6872,6 +7072,39 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
6872
7072
|
};
|
|
6873
7073
|
Relationships: [];
|
|
6874
7074
|
};
|
|
7075
|
+
floriday_sync_cursors: {
|
|
7076
|
+
Row: {
|
|
7077
|
+
connection_id: string;
|
|
7078
|
+
created_at: string;
|
|
7079
|
+
id: string;
|
|
7080
|
+
last_error: string | null;
|
|
7081
|
+
last_sync_at: string | null;
|
|
7082
|
+
resource_type: string;
|
|
7083
|
+
sequence_number: number;
|
|
7084
|
+
updated_at: string;
|
|
7085
|
+
};
|
|
7086
|
+
Insert: {
|
|
7087
|
+
connection_id: string;
|
|
7088
|
+
created_at?: string;
|
|
7089
|
+
id?: string;
|
|
7090
|
+
last_error?: string | null;
|
|
7091
|
+
last_sync_at?: string | null;
|
|
7092
|
+
resource_type: string;
|
|
7093
|
+
sequence_number?: number;
|
|
7094
|
+
updated_at?: string;
|
|
7095
|
+
};
|
|
7096
|
+
Update: {
|
|
7097
|
+
connection_id?: string;
|
|
7098
|
+
created_at?: string;
|
|
7099
|
+
id?: string;
|
|
7100
|
+
last_error?: string | null;
|
|
7101
|
+
last_sync_at?: string | null;
|
|
7102
|
+
resource_type?: string;
|
|
7103
|
+
sequence_number?: number;
|
|
7104
|
+
updated_at?: string;
|
|
7105
|
+
};
|
|
7106
|
+
Relationships: [];
|
|
7107
|
+
};
|
|
6875
7108
|
floriday_sync_state: {
|
|
6876
7109
|
Row: {
|
|
6877
7110
|
connection_id: string;
|
|
@@ -7562,6 +7795,42 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
7562
7795
|
};
|
|
7563
7796
|
Relationships: [];
|
|
7564
7797
|
};
|
|
7798
|
+
inventory_stock_snapshots: {
|
|
7799
|
+
Row: {
|
|
7800
|
+
connection_id: string;
|
|
7801
|
+
created_at: string;
|
|
7802
|
+
erp_available_quantity: number;
|
|
7803
|
+
floriday_desired_quantity: number;
|
|
7804
|
+
floriday_remote_quantity: number | null;
|
|
7805
|
+
granularity: string;
|
|
7806
|
+
id: string;
|
|
7807
|
+
snapshot_at: string;
|
|
7808
|
+
user_id: string | null;
|
|
7809
|
+
};
|
|
7810
|
+
Insert: {
|
|
7811
|
+
connection_id: string;
|
|
7812
|
+
created_at?: string;
|
|
7813
|
+
erp_available_quantity?: number;
|
|
7814
|
+
floriday_desired_quantity?: number;
|
|
7815
|
+
floriday_remote_quantity?: number | null;
|
|
7816
|
+
granularity?: string;
|
|
7817
|
+
id?: string;
|
|
7818
|
+
snapshot_at?: string;
|
|
7819
|
+
user_id?: string | null;
|
|
7820
|
+
};
|
|
7821
|
+
Update: {
|
|
7822
|
+
connection_id?: string;
|
|
7823
|
+
created_at?: string;
|
|
7824
|
+
erp_available_quantity?: number;
|
|
7825
|
+
floriday_desired_quantity?: number;
|
|
7826
|
+
floriday_remote_quantity?: number | null;
|
|
7827
|
+
granularity?: string;
|
|
7828
|
+
id?: string;
|
|
7829
|
+
snapshot_at?: string;
|
|
7830
|
+
user_id?: string | null;
|
|
7831
|
+
};
|
|
7832
|
+
Relationships: [];
|
|
7833
|
+
};
|
|
7565
7834
|
invoice_items: {
|
|
7566
7835
|
Row: {
|
|
7567
7836
|
created_at: string;
|
|
@@ -13577,6 +13846,39 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
13577
13846
|
};
|
|
13578
13847
|
Relationships: [];
|
|
13579
13848
|
};
|
|
13849
|
+
print_dedupe_events: {
|
|
13850
|
+
Row: {
|
|
13851
|
+
bestaande_job_id: string | null;
|
|
13852
|
+
created_at: string;
|
|
13853
|
+
detail: string | null;
|
|
13854
|
+
documentnaam: string | null;
|
|
13855
|
+
documenttype: string | null;
|
|
13856
|
+
id: string;
|
|
13857
|
+
idempotentie_sleutel: string;
|
|
13858
|
+
reden: string;
|
|
13859
|
+
};
|
|
13860
|
+
Insert: {
|
|
13861
|
+
bestaande_job_id?: string | null;
|
|
13862
|
+
created_at?: string;
|
|
13863
|
+
detail?: string | null;
|
|
13864
|
+
documentnaam?: string | null;
|
|
13865
|
+
documenttype?: string | null;
|
|
13866
|
+
id?: string;
|
|
13867
|
+
idempotentie_sleutel: string;
|
|
13868
|
+
reden: string;
|
|
13869
|
+
};
|
|
13870
|
+
Update: {
|
|
13871
|
+
bestaande_job_id?: string | null;
|
|
13872
|
+
created_at?: string;
|
|
13873
|
+
detail?: string | null;
|
|
13874
|
+
documentnaam?: string | null;
|
|
13875
|
+
documenttype?: string | null;
|
|
13876
|
+
id?: string;
|
|
13877
|
+
idempotentie_sleutel?: string;
|
|
13878
|
+
reden?: string;
|
|
13879
|
+
};
|
|
13880
|
+
Relationships: [];
|
|
13881
|
+
};
|
|
13580
13882
|
print_job_logs: {
|
|
13581
13883
|
Row: {
|
|
13582
13884
|
created_at: string;
|
|
@@ -13627,6 +13929,9 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
13627
13929
|
is_herprint: boolean;
|
|
13628
13930
|
kopieen: number;
|
|
13629
13931
|
layout_id: string | null;
|
|
13932
|
+
lokaal_opgeslagen_op: string | null;
|
|
13933
|
+
lokale_pdf_fout: string | null;
|
|
13934
|
+
lokale_pdf_status: string | null;
|
|
13630
13935
|
opgepakt_op: string | null;
|
|
13631
13936
|
paginas: number;
|
|
13632
13937
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -13635,6 +13940,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
13635
13940
|
pogingen: number;
|
|
13636
13941
|
printer_id: string | null;
|
|
13637
13942
|
render_html: string | null;
|
|
13943
|
+
resultaat_pdf_base64: string | null;
|
|
13638
13944
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13639
13945
|
updated_at: string;
|
|
13640
13946
|
volgende_poging: string | null;
|
|
@@ -13659,6 +13965,9 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
13659
13965
|
is_herprint?: boolean;
|
|
13660
13966
|
kopieen?: number;
|
|
13661
13967
|
layout_id?: string | null;
|
|
13968
|
+
lokaal_opgeslagen_op?: string | null;
|
|
13969
|
+
lokale_pdf_fout?: string | null;
|
|
13970
|
+
lokale_pdf_status?: string | null;
|
|
13662
13971
|
opgepakt_op?: string | null;
|
|
13663
13972
|
paginas?: number;
|
|
13664
13973
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -13667,6 +13976,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
13667
13976
|
pogingen?: number;
|
|
13668
13977
|
printer_id?: string | null;
|
|
13669
13978
|
render_html?: string | null;
|
|
13979
|
+
resultaat_pdf_base64?: string | null;
|
|
13670
13980
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13671
13981
|
updated_at?: string;
|
|
13672
13982
|
volgende_poging?: string | null;
|
|
@@ -13691,6 +14001,9 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
13691
14001
|
is_herprint?: boolean;
|
|
13692
14002
|
kopieen?: number;
|
|
13693
14003
|
layout_id?: string | null;
|
|
14004
|
+
lokaal_opgeslagen_op?: string | null;
|
|
14005
|
+
lokale_pdf_fout?: string | null;
|
|
14006
|
+
lokale_pdf_status?: string | null;
|
|
13694
14007
|
opgepakt_op?: string | null;
|
|
13695
14008
|
paginas?: number;
|
|
13696
14009
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -13699,6 +14012,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
13699
14012
|
pogingen?: number;
|
|
13700
14013
|
printer_id?: string | null;
|
|
13701
14014
|
render_html?: string | null;
|
|
14015
|
+
resultaat_pdf_base64?: string | null;
|
|
13702
14016
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13703
14017
|
updated_at?: string;
|
|
13704
14018
|
volgende_poging?: string | null;
|
|
@@ -13817,6 +14131,39 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
13817
14131
|
};
|
|
13818
14132
|
Relationships: [];
|
|
13819
14133
|
};
|
|
14134
|
+
print_preview_events: {
|
|
14135
|
+
Row: {
|
|
14136
|
+
code: string | null;
|
|
14137
|
+
created_at: string;
|
|
14138
|
+
detail: import("../integrations/supabase/types").Json;
|
|
14139
|
+
id: string;
|
|
14140
|
+
queue_item_id: string | null;
|
|
14141
|
+
reden: string | null;
|
|
14142
|
+
station_slug: string | null;
|
|
14143
|
+
uitkomst: string;
|
|
14144
|
+
};
|
|
14145
|
+
Insert: {
|
|
14146
|
+
code?: string | null;
|
|
14147
|
+
created_at?: string;
|
|
14148
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
14149
|
+
id?: string;
|
|
14150
|
+
queue_item_id?: string | null;
|
|
14151
|
+
reden?: string | null;
|
|
14152
|
+
station_slug?: string | null;
|
|
14153
|
+
uitkomst?: string;
|
|
14154
|
+
};
|
|
14155
|
+
Update: {
|
|
14156
|
+
code?: string | null;
|
|
14157
|
+
created_at?: string;
|
|
14158
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
14159
|
+
id?: string;
|
|
14160
|
+
queue_item_id?: string | null;
|
|
14161
|
+
reden?: string | null;
|
|
14162
|
+
station_slug?: string | null;
|
|
14163
|
+
uitkomst?: string;
|
|
14164
|
+
};
|
|
14165
|
+
Relationships: [];
|
|
14166
|
+
};
|
|
13820
14167
|
print_queue_runners: {
|
|
13821
14168
|
Row: {
|
|
13822
14169
|
actief: boolean;
|
|
@@ -14056,6 +14403,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
14056
14403
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
14057
14404
|
online: boolean;
|
|
14058
14405
|
papierformaat: string;
|
|
14406
|
+
pdf_map: string | null;
|
|
14059
14407
|
poort: number | null;
|
|
14060
14408
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14061
14409
|
systeemnaam: string;
|
|
@@ -14081,6 +14429,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
14081
14429
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
14082
14430
|
online?: boolean;
|
|
14083
14431
|
papierformaat?: string;
|
|
14432
|
+
pdf_map?: string | null;
|
|
14084
14433
|
poort?: number | null;
|
|
14085
14434
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14086
14435
|
systeemnaam?: string;
|
|
@@ -14106,6 +14455,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
14106
14455
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
14107
14456
|
online?: boolean;
|
|
14108
14457
|
papierformaat?: string;
|
|
14458
|
+
pdf_map?: string | null;
|
|
14109
14459
|
poort?: number | null;
|
|
14110
14460
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14111
14461
|
systeemnaam?: string;
|
|
@@ -16675,6 +17025,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
16675
17025
|
};
|
|
16676
17026
|
trade_item_stock: {
|
|
16677
17027
|
Row: {
|
|
17028
|
+
change_source: string;
|
|
16678
17029
|
connection_id: string;
|
|
16679
17030
|
created_at: string;
|
|
16680
17031
|
id: string;
|
|
@@ -16688,6 +17039,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
16688
17039
|
user_id: string;
|
|
16689
17040
|
};
|
|
16690
17041
|
Insert: {
|
|
17042
|
+
change_source?: string;
|
|
16691
17043
|
connection_id: string;
|
|
16692
17044
|
created_at?: string;
|
|
16693
17045
|
id?: string;
|
|
@@ -16701,6 +17053,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
16701
17053
|
user_id: string;
|
|
16702
17054
|
};
|
|
16703
17055
|
Update: {
|
|
17056
|
+
change_source?: string;
|
|
16704
17057
|
connection_id?: string;
|
|
16705
17058
|
created_at?: string;
|
|
16706
17059
|
id?: string;
|
|
@@ -20301,6 +20654,18 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
20301
20654
|
Args: never;
|
|
20302
20655
|
Returns: number;
|
|
20303
20656
|
};
|
|
20657
|
+
calculate_floriday_desired_stock: {
|
|
20658
|
+
Args: {
|
|
20659
|
+
p_connection_id: string;
|
|
20660
|
+
p_product_id: string;
|
|
20661
|
+
};
|
|
20662
|
+
Returns: {
|
|
20663
|
+
desired_availability: boolean;
|
|
20664
|
+
desired_quantity: number;
|
|
20665
|
+
erp_available: number;
|
|
20666
|
+
stock_mode: string;
|
|
20667
|
+
}[];
|
|
20668
|
+
};
|
|
20304
20669
|
calculate_layer_stock: {
|
|
20305
20670
|
Args: {
|
|
20306
20671
|
p_product_id: string;
|
|
@@ -20362,6 +20727,9 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
20362
20727
|
is_herprint: boolean;
|
|
20363
20728
|
kopieen: number;
|
|
20364
20729
|
layout_id: string | null;
|
|
20730
|
+
lokaal_opgeslagen_op: string | null;
|
|
20731
|
+
lokale_pdf_fout: string | null;
|
|
20732
|
+
lokale_pdf_status: string | null;
|
|
20365
20733
|
opgepakt_op: string | null;
|
|
20366
20734
|
paginas: number;
|
|
20367
20735
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -20370,6 +20738,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
20370
20738
|
pogingen: number;
|
|
20371
20739
|
printer_id: string | null;
|
|
20372
20740
|
render_html: string | null;
|
|
20741
|
+
resultaat_pdf_base64: string | null;
|
|
20373
20742
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20374
20743
|
updated_at: string;
|
|
20375
20744
|
volgende_poging: string | null;
|
|
@@ -20391,6 +20760,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
20391
20760
|
attempts: number;
|
|
20392
20761
|
connection_id: string;
|
|
20393
20762
|
created_at: string;
|
|
20763
|
+
dead_lettered_at: string | null;
|
|
20394
20764
|
desired_available: boolean | null;
|
|
20395
20765
|
gateway_attempt_id: string | null;
|
|
20396
20766
|
id: string;
|
|
@@ -20399,9 +20769,13 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
20399
20769
|
locked_by: string | null;
|
|
20400
20770
|
next_attempt_at: string;
|
|
20401
20771
|
number_of_pieces: number;
|
|
20772
|
+
product_id: string | null;
|
|
20402
20773
|
sent_at: string | null;
|
|
20403
20774
|
status: string;
|
|
20775
|
+
stock_mode: string | null;
|
|
20404
20776
|
superseded_by: string | null;
|
|
20777
|
+
target_week: number | null;
|
|
20778
|
+
target_year: number | null;
|
|
20405
20779
|
trade_item_id: string;
|
|
20406
20780
|
updated_at: string;
|
|
20407
20781
|
user_id: string;
|
|
@@ -20461,6 +20835,53 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
20461
20835
|
isSetofReturn: true;
|
|
20462
20836
|
};
|
|
20463
20837
|
};
|
|
20838
|
+
claim_pdf_print_jobs: {
|
|
20839
|
+
Args: {
|
|
20840
|
+
_max?: number;
|
|
20841
|
+
};
|
|
20842
|
+
Returns: {
|
|
20843
|
+
agent_id: string | null;
|
|
20844
|
+
bron_job_id: string | null;
|
|
20845
|
+
created_at: string;
|
|
20846
|
+
documentnaam: string;
|
|
20847
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
20848
|
+
extern_job_id: string | null;
|
|
20849
|
+
foutmelding: string | null;
|
|
20850
|
+
gebruiker_id: string | null;
|
|
20851
|
+
gebruiker_naam: string;
|
|
20852
|
+
gebruikte_bron: string | null;
|
|
20853
|
+
gebruikte_layout_id: string | null;
|
|
20854
|
+
gestart_op: string | null;
|
|
20855
|
+
herkomst: string | null;
|
|
20856
|
+
id: string;
|
|
20857
|
+
idempotentie_sleutel: string | null;
|
|
20858
|
+
is_herprint: boolean;
|
|
20859
|
+
kopieen: number;
|
|
20860
|
+
layout_id: string | null;
|
|
20861
|
+
lokaal_opgeslagen_op: string | null;
|
|
20862
|
+
lokale_pdf_fout: string | null;
|
|
20863
|
+
lokale_pdf_status: string | null;
|
|
20864
|
+
opgepakt_op: string | null;
|
|
20865
|
+
paginas: number;
|
|
20866
|
+
payload: import("../integrations/supabase/types").Json;
|
|
20867
|
+
pdf_base64: string | null;
|
|
20868
|
+
pdf_url: string | null;
|
|
20869
|
+
pogingen: number;
|
|
20870
|
+
printer_id: string | null;
|
|
20871
|
+
render_html: string | null;
|
|
20872
|
+
resultaat_pdf_base64: string | null;
|
|
20873
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20874
|
+
updated_at: string;
|
|
20875
|
+
volgende_poging: string | null;
|
|
20876
|
+
voltooid_op: string | null;
|
|
20877
|
+
}[];
|
|
20878
|
+
SetofOptions: {
|
|
20879
|
+
from: "*";
|
|
20880
|
+
to: "print_jobs";
|
|
20881
|
+
isOneToOne: false;
|
|
20882
|
+
isSetofReturn: true;
|
|
20883
|
+
};
|
|
20884
|
+
};
|
|
20464
20885
|
claim_print_jobs: {
|
|
20465
20886
|
Args: {
|
|
20466
20887
|
_agent_id: string;
|
|
@@ -20485,6 +20906,9 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
20485
20906
|
is_herprint: boolean;
|
|
20486
20907
|
kopieen: number;
|
|
20487
20908
|
layout_id: string | null;
|
|
20909
|
+
lokaal_opgeslagen_op: string | null;
|
|
20910
|
+
lokale_pdf_fout: string | null;
|
|
20911
|
+
lokale_pdf_status: string | null;
|
|
20488
20912
|
opgepakt_op: string | null;
|
|
20489
20913
|
paginas: number;
|
|
20490
20914
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -20493,6 +20917,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
20493
20917
|
pogingen: number;
|
|
20494
20918
|
printer_id: string | null;
|
|
20495
20919
|
render_html: string | null;
|
|
20920
|
+
resultaat_pdf_base64: string | null;
|
|
20496
20921
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20497
20922
|
updated_at: string;
|
|
20498
20923
|
volgende_poging: string | null;
|
|
@@ -20633,6 +21058,8 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
20633
21058
|
order_id: string;
|
|
20634
21059
|
order_source: string;
|
|
20635
21060
|
pick_date: string;
|
|
21061
|
+
printed_at: string;
|
|
21062
|
+
printed_today: boolean;
|
|
20636
21063
|
status: string;
|
|
20637
21064
|
}[];
|
|
20638
21065
|
};
|
|
@@ -20829,6 +21256,24 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
20829
21256
|
};
|
|
20830
21257
|
Returns: string;
|
|
20831
21258
|
};
|
|
21259
|
+
floriday_capture_stock_snapshot: {
|
|
21260
|
+
Args: never;
|
|
21261
|
+
Returns: number;
|
|
21262
|
+
};
|
|
21263
|
+
floriday_cleanup_stock_queue_v2: {
|
|
21264
|
+
Args: never;
|
|
21265
|
+
Returns: undefined;
|
|
21266
|
+
};
|
|
21267
|
+
floriday_compact_stock_snapshots: {
|
|
21268
|
+
Args: never;
|
|
21269
|
+
Returns: undefined;
|
|
21270
|
+
};
|
|
21271
|
+
floriday_default_owner: {
|
|
21272
|
+
Args: {
|
|
21273
|
+
p_connection_id: string;
|
|
21274
|
+
};
|
|
21275
|
+
Returns: string;
|
|
21276
|
+
};
|
|
20832
21277
|
floriday_effective_price: {
|
|
20833
21278
|
Args: {
|
|
20834
21279
|
_buyer_id: string;
|
|
@@ -20846,6 +21291,22 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
20846
21291
|
source_id: string;
|
|
20847
21292
|
}[];
|
|
20848
21293
|
};
|
|
21294
|
+
floriday_fill_publish_horizon: {
|
|
21295
|
+
Args: never;
|
|
21296
|
+
Returns: number;
|
|
21297
|
+
};
|
|
21298
|
+
floriday_publish_horizon_weeks: {
|
|
21299
|
+
Args: never;
|
|
21300
|
+
Returns: number;
|
|
21301
|
+
};
|
|
21302
|
+
floriday_recompute_inventory: {
|
|
21303
|
+
Args: {
|
|
21304
|
+
p_connection_id: string;
|
|
21305
|
+
p_force?: boolean;
|
|
21306
|
+
p_product_id: string;
|
|
21307
|
+
};
|
|
21308
|
+
Returns: undefined;
|
|
21309
|
+
};
|
|
20849
21310
|
format_cart_number: {
|
|
20850
21311
|
Args: {
|
|
20851
21312
|
p_pick_date: string;
|
|
@@ -21341,6 +21802,10 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
21341
21802
|
};
|
|
21342
21803
|
Returns: number;
|
|
21343
21804
|
};
|
|
21805
|
+
logistics_cancel_orphan_tasks: {
|
|
21806
|
+
Args: never;
|
|
21807
|
+
Returns: number;
|
|
21808
|
+
};
|
|
21344
21809
|
logistics_capacity_day_check: {
|
|
21345
21810
|
Args: {
|
|
21346
21811
|
p_from?: string;
|
|
@@ -21361,6 +21826,25 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
21361
21826
|
};
|
|
21362
21827
|
Returns: number;
|
|
21363
21828
|
};
|
|
21829
|
+
logistics_cart_index: {
|
|
21830
|
+
Args: {
|
|
21831
|
+
p_from?: string;
|
|
21832
|
+
p_to?: string;
|
|
21833
|
+
};
|
|
21834
|
+
Returns: {
|
|
21835
|
+
cart_id: string;
|
|
21836
|
+
cart_index: number;
|
|
21837
|
+
cart_label: string;
|
|
21838
|
+
is_shared: boolean;
|
|
21839
|
+
order_number: string;
|
|
21840
|
+
order_source: string;
|
|
21841
|
+
order_uuid: string;
|
|
21842
|
+
pick_date: string;
|
|
21843
|
+
printed_at: string;
|
|
21844
|
+
shifted: boolean;
|
|
21845
|
+
task_status: string;
|
|
21846
|
+
}[];
|
|
21847
|
+
};
|
|
21364
21848
|
logistics_check_order_allowed: {
|
|
21365
21849
|
Args: {
|
|
21366
21850
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -21509,6 +21993,17 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
21509
21993
|
isSetofReturn: false;
|
|
21510
21994
|
};
|
|
21511
21995
|
};
|
|
21996
|
+
logistics_consistency_check: {
|
|
21997
|
+
Args: never;
|
|
21998
|
+
Returns: {
|
|
21999
|
+
agenda_carts: number;
|
|
22000
|
+
control_carts: number;
|
|
22001
|
+
ok: boolean;
|
|
22002
|
+
orphan_tasks: number;
|
|
22003
|
+
pick_date: string;
|
|
22004
|
+
raw_carts: number;
|
|
22005
|
+
}[];
|
|
22006
|
+
};
|
|
21512
22007
|
logistics_delay_customer_email: {
|
|
21513
22008
|
Args: {
|
|
21514
22009
|
p_customer: string;
|
|
@@ -21598,6 +22093,16 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
21598
22093
|
isSetofReturn: false;
|
|
21599
22094
|
};
|
|
21600
22095
|
};
|
|
22096
|
+
logistics_floriday_cart_plan: {
|
|
22097
|
+
Args: {
|
|
22098
|
+
p_order_id: string;
|
|
22099
|
+
};
|
|
22100
|
+
Returns: {
|
|
22101
|
+
carrier_type: string;
|
|
22102
|
+
idx: number;
|
|
22103
|
+
packages: number;
|
|
22104
|
+
}[];
|
|
22105
|
+
};
|
|
21601
22106
|
logistics_floriday_claim_pushes: {
|
|
21602
22107
|
Args: {
|
|
21603
22108
|
_lease_seconds?: number;
|
|
@@ -21702,6 +22207,25 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
21702
22207
|
};
|
|
21703
22208
|
Returns: number;
|
|
21704
22209
|
};
|
|
22210
|
+
logistics_order_overview: {
|
|
22211
|
+
Args: {
|
|
22212
|
+
p_from?: string;
|
|
22213
|
+
p_to?: string;
|
|
22214
|
+
};
|
|
22215
|
+
Returns: {
|
|
22216
|
+
cart_count: number;
|
|
22217
|
+
customer_name: string;
|
|
22218
|
+
delivery_date: string;
|
|
22219
|
+
order_number: string;
|
|
22220
|
+
order_source: string;
|
|
22221
|
+
order_uuid: string;
|
|
22222
|
+
pick_date: string;
|
|
22223
|
+
plant_count: number;
|
|
22224
|
+
printed_at: string;
|
|
22225
|
+
shifted: boolean;
|
|
22226
|
+
status: string;
|
|
22227
|
+
}[];
|
|
22228
|
+
};
|
|
21705
22229
|
logistics_order_pick_day: {
|
|
21706
22230
|
Args: {
|
|
21707
22231
|
p_order_ref: string;
|
|
@@ -21714,6 +22238,22 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
21714
22238
|
};
|
|
21715
22239
|
Returns: string;
|
|
21716
22240
|
};
|
|
22241
|
+
logistics_pick_agenda: {
|
|
22242
|
+
Args: {
|
|
22243
|
+
p_from?: string;
|
|
22244
|
+
p_to?: string;
|
|
22245
|
+
};
|
|
22246
|
+
Returns: {
|
|
22247
|
+
cart_count: number;
|
|
22248
|
+
in_preparation: number;
|
|
22249
|
+
order_count: number;
|
|
22250
|
+
orders: import("../integrations/supabase/types").Json;
|
|
22251
|
+
pick_date: string;
|
|
22252
|
+
plant_count: number;
|
|
22253
|
+
ready: number;
|
|
22254
|
+
shifted_count: number;
|
|
22255
|
+
}[];
|
|
22256
|
+
};
|
|
21717
22257
|
logistics_pick_email_purpose: {
|
|
21718
22258
|
Args: never;
|
|
21719
22259
|
Returns: string;
|
|
@@ -21768,6 +22308,13 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
21768
22308
|
};
|
|
21769
22309
|
Returns: undefined;
|
|
21770
22310
|
};
|
|
22311
|
+
logistics_plan_floriday_order: {
|
|
22312
|
+
Args: {
|
|
22313
|
+
p_buffer_id?: string;
|
|
22314
|
+
p_order_id: string;
|
|
22315
|
+
};
|
|
22316
|
+
Returns: number;
|
|
22317
|
+
};
|
|
21771
22318
|
logistics_plan_impact_orders: {
|
|
21772
22319
|
Args: {
|
|
21773
22320
|
p_order_id: string;
|
|
@@ -21873,6 +22420,15 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
21873
22420
|
};
|
|
21874
22421
|
Returns: import("../integrations/supabase/types").Json;
|
|
21875
22422
|
};
|
|
22423
|
+
logistics_resolve_pick_document: {
|
|
22424
|
+
Args: {
|
|
22425
|
+
_is_herprint: boolean;
|
|
22426
|
+
_queue_item_id: string;
|
|
22427
|
+
_session_id: string;
|
|
22428
|
+
_voorbeeld: boolean;
|
|
22429
|
+
};
|
|
22430
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22431
|
+
};
|
|
21876
22432
|
logistics_resolve_settings: {
|
|
21877
22433
|
Args: {
|
|
21878
22434
|
p_config_id: string;
|
|
@@ -22313,6 +22869,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
22313
22869
|
};
|
|
22314
22870
|
pick_enqueue_print_job: {
|
|
22315
22871
|
Args: {
|
|
22872
|
+
_is_herprint?: boolean;
|
|
22316
22873
|
_printer_id?: string;
|
|
22317
22874
|
_queue_item_id: string;
|
|
22318
22875
|
_session_id?: string;
|
|
@@ -22326,6 +22883,13 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
22326
22883
|
};
|
|
22327
22884
|
Returns: import("../integrations/supabase/types").Json;
|
|
22328
22885
|
};
|
|
22886
|
+
pick_preview_job: {
|
|
22887
|
+
Args: {
|
|
22888
|
+
_queue_item_id: string;
|
|
22889
|
+
_station_slug: string;
|
|
22890
|
+
};
|
|
22891
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22892
|
+
};
|
|
22329
22893
|
pick_print_job_status: {
|
|
22330
22894
|
Args: {
|
|
22331
22895
|
_job_id: string;
|
|
@@ -22503,6 +23067,24 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
22503
23067
|
};
|
|
22504
23068
|
Returns: undefined;
|
|
22505
23069
|
};
|
|
23070
|
+
print_preview_toestaan: {
|
|
23071
|
+
Args: {
|
|
23072
|
+
_max?: number;
|
|
23073
|
+
_queue_item_id: string;
|
|
23074
|
+
_station_slug: string;
|
|
23075
|
+
_venster_sec?: number;
|
|
23076
|
+
};
|
|
23077
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23078
|
+
};
|
|
23079
|
+
print_preview_weiger: {
|
|
23080
|
+
Args: {
|
|
23081
|
+
_code: string;
|
|
23082
|
+
_queue_item_id: string;
|
|
23083
|
+
_reden: string;
|
|
23084
|
+
_station_slug: string;
|
|
23085
|
+
};
|
|
23086
|
+
Returns: undefined;
|
|
23087
|
+
};
|
|
22506
23088
|
process_logistics_event: {
|
|
22507
23089
|
Args: {
|
|
22508
23090
|
p_event_id: string;
|
|
@@ -22657,6 +23239,12 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
22657
23239
|
};
|
|
22658
23240
|
Returns: string;
|
|
22659
23241
|
};
|
|
23242
|
+
resolve_print_job_printer_id: {
|
|
23243
|
+
Args: {
|
|
23244
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
23245
|
+
};
|
|
23246
|
+
Returns: string;
|
|
23247
|
+
};
|
|
22660
23248
|
resolve_product_id_for_item: {
|
|
22661
23249
|
Args: {
|
|
22662
23250
|
p_product_name: string;
|
|
@@ -23248,7 +23836,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
23248
23836
|
};
|
|
23249
23837
|
CompositeTypes: { [_ in never]: never; };
|
|
23250
23838
|
}, {
|
|
23251
|
-
PostgrestVersion: "14.
|
|
23839
|
+
PostgrestVersion: "14.5";
|
|
23252
23840
|
}>;
|
|
23253
23841
|
userId: string;
|
|
23254
23842
|
claims: import("@supabase/auth-js").User;
|
|
@@ -23462,7 +24050,9 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
23462
24050
|
refresh_token?: string | null;
|
|
23463
24051
|
scope?: string | null;
|
|
23464
24052
|
token_expires_at?: string | null;
|
|
23465
|
-
updated_at
|
|
24053
|
+
updated_at
|
|
24054
|
+
/** Buffer handmatig vrijgeven (release === "manual"): taak afmelden als done. */
|
|
24055
|
+
? /** Buffer handmatig vrijgeven (release === "manual"): taak afmelden als done. */: string;
|
|
23466
24056
|
user_id: string;
|
|
23467
24057
|
};
|
|
23468
24058
|
Update: {
|
|
@@ -26118,6 +26708,84 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
26118
26708
|
};
|
|
26119
26709
|
Relationships: [];
|
|
26120
26710
|
};
|
|
26711
|
+
delivery_notes: {
|
|
26712
|
+
Row: {
|
|
26713
|
+
byte_size: number | null;
|
|
26714
|
+
connection_id: string | null;
|
|
26715
|
+
content_type: string;
|
|
26716
|
+
created_at: string;
|
|
26717
|
+
error_message: string | null;
|
|
26718
|
+
fetched_at: string | null;
|
|
26719
|
+
fulfillment_order_id: string | null;
|
|
26720
|
+
http_status: number | null;
|
|
26721
|
+
id: string;
|
|
26722
|
+
label_code: string | null;
|
|
26723
|
+
letter: string | null;
|
|
26724
|
+
load_carrier_index: number | null;
|
|
26725
|
+
load_carrier_type: string | null;
|
|
26726
|
+
order_id: string | null;
|
|
26727
|
+
order_number: string | null;
|
|
26728
|
+
packages: number | null;
|
|
26729
|
+
source: string;
|
|
26730
|
+
status: string;
|
|
26731
|
+
storage_bucket: string;
|
|
26732
|
+
storage_path: string | null;
|
|
26733
|
+
updated_at: string;
|
|
26734
|
+
};
|
|
26735
|
+
Insert: {
|
|
26736
|
+
byte_size?: number | null;
|
|
26737
|
+
connection_id?: string | null;
|
|
26738
|
+
content_type?: string;
|
|
26739
|
+
created_at?: string;
|
|
26740
|
+
error_message?: string | null;
|
|
26741
|
+
fetched_at?: string | null;
|
|
26742
|
+
fulfillment_order_id?: string | null;
|
|
26743
|
+
http_status?: number | null;
|
|
26744
|
+
id?: string;
|
|
26745
|
+
label_code?: string | null;
|
|
26746
|
+
letter?: string | null;
|
|
26747
|
+
load_carrier_index?: number | null;
|
|
26748
|
+
load_carrier_type?: string | null;
|
|
26749
|
+
order_id?: string | null;
|
|
26750
|
+
order_number?: string | null;
|
|
26751
|
+
packages?: number | null;
|
|
26752
|
+
source?: string;
|
|
26753
|
+
status?: string;
|
|
26754
|
+
storage_bucket?: string;
|
|
26755
|
+
storage_path?: string | null;
|
|
26756
|
+
updated_at?: string;
|
|
26757
|
+
};
|
|
26758
|
+
Update: {
|
|
26759
|
+
byte_size?: number | null;
|
|
26760
|
+
connection_id?: string | null;
|
|
26761
|
+
content_type?: string;
|
|
26762
|
+
created_at?: string;
|
|
26763
|
+
error_message?: string | null;
|
|
26764
|
+
fetched_at?: string | null;
|
|
26765
|
+
fulfillment_order_id?: string | null;
|
|
26766
|
+
http_status?: number | null;
|
|
26767
|
+
id?: string;
|
|
26768
|
+
label_code?: string | null;
|
|
26769
|
+
letter?: string | null;
|
|
26770
|
+
load_carrier_index?: number | null;
|
|
26771
|
+
load_carrier_type?: string | null;
|
|
26772
|
+
order_id?: string | null;
|
|
26773
|
+
order_number?: string | null;
|
|
26774
|
+
packages?: number | null;
|
|
26775
|
+
source?: string;
|
|
26776
|
+
status?: string;
|
|
26777
|
+
storage_bucket?: string;
|
|
26778
|
+
storage_path?: string | null;
|
|
26779
|
+
updated_at?: string;
|
|
26780
|
+
};
|
|
26781
|
+
Relationships: [{
|
|
26782
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
26783
|
+
columns: ["order_id"];
|
|
26784
|
+
isOneToOne: false;
|
|
26785
|
+
referencedRelation: "orders";
|
|
26786
|
+
referencedColumns: ["id"];
|
|
26787
|
+
}];
|
|
26788
|
+
};
|
|
26121
26789
|
document_bronregels: {
|
|
26122
26790
|
Row: {
|
|
26123
26791
|
bron: string;
|
|
@@ -29171,10 +29839,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
29171
29839
|
};
|
|
29172
29840
|
floriday_connections: {
|
|
29173
29841
|
Row: {
|
|
29174
|
-
access_token: string | null;
|
|
29175
29842
|
api_key: string;
|
|
29176
|
-
client_id: string;
|
|
29177
|
-
client_secret: string;
|
|
29178
29843
|
created_at: string;
|
|
29179
29844
|
customers_endpoint: string | null;
|
|
29180
29845
|
environment: string;
|
|
@@ -29189,10 +29854,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
29189
29854
|
updated_at: string;
|
|
29190
29855
|
};
|
|
29191
29856
|
Insert: {
|
|
29192
|
-
access_token?: string | null;
|
|
29193
29857
|
api_key: string;
|
|
29194
|
-
client_id: string;
|
|
29195
|
-
client_secret: string;
|
|
29196
29858
|
created_at?: string;
|
|
29197
29859
|
customers_endpoint?: string | null;
|
|
29198
29860
|
environment: string;
|
|
@@ -29207,10 +29869,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
29207
29869
|
updated_at?: string;
|
|
29208
29870
|
};
|
|
29209
29871
|
Update: {
|
|
29210
|
-
access_token?: string | null;
|
|
29211
29872
|
api_key?: string;
|
|
29212
|
-
client_id?: string;
|
|
29213
|
-
client_secret?: string;
|
|
29214
29873
|
created_at?: string;
|
|
29215
29874
|
customers_endpoint?: string | null;
|
|
29216
29875
|
environment?: string;
|
|
@@ -29294,6 +29953,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
29294
29953
|
attempts: number;
|
|
29295
29954
|
connection_id: string;
|
|
29296
29955
|
created_at: string;
|
|
29956
|
+
dead_lettered_at: string | null;
|
|
29297
29957
|
desired_available: boolean | null;
|
|
29298
29958
|
gateway_attempt_id: string | null;
|
|
29299
29959
|
id: string;
|
|
@@ -29302,9 +29962,13 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
29302
29962
|
locked_by: string | null;
|
|
29303
29963
|
next_attempt_at: string;
|
|
29304
29964
|
number_of_pieces: number;
|
|
29965
|
+
product_id: string | null;
|
|
29305
29966
|
sent_at: string | null;
|
|
29306
29967
|
status: string;
|
|
29968
|
+
stock_mode: string | null;
|
|
29307
29969
|
superseded_by: string | null;
|
|
29970
|
+
target_week: number | null;
|
|
29971
|
+
target_year: number | null;
|
|
29308
29972
|
trade_item_id: string;
|
|
29309
29973
|
updated_at: string;
|
|
29310
29974
|
user_id: string;
|
|
@@ -29313,6 +29977,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
29313
29977
|
attempts?: number;
|
|
29314
29978
|
connection_id: string;
|
|
29315
29979
|
created_at?: string;
|
|
29980
|
+
dead_lettered_at?: string | null;
|
|
29316
29981
|
desired_available?: boolean | null;
|
|
29317
29982
|
gateway_attempt_id?: string | null;
|
|
29318
29983
|
id?: string;
|
|
@@ -29321,9 +29986,13 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
29321
29986
|
locked_by?: string | null;
|
|
29322
29987
|
next_attempt_at?: string;
|
|
29323
29988
|
number_of_pieces?: number;
|
|
29989
|
+
product_id?: string | null;
|
|
29324
29990
|
sent_at?: string | null;
|
|
29325
29991
|
status?: string;
|
|
29992
|
+
stock_mode?: string | null;
|
|
29326
29993
|
superseded_by?: string | null;
|
|
29994
|
+
target_week?: number | null;
|
|
29995
|
+
target_year?: number | null;
|
|
29327
29996
|
trade_item_id: string;
|
|
29328
29997
|
updated_at?: string;
|
|
29329
29998
|
user_id: string;
|
|
@@ -29332,6 +30001,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
29332
30001
|
attempts?: number;
|
|
29333
30002
|
connection_id?: string;
|
|
29334
30003
|
created_at?: string;
|
|
30004
|
+
dead_lettered_at?: string | null;
|
|
29335
30005
|
desired_available?: boolean | null;
|
|
29336
30006
|
gateway_attempt_id?: string | null;
|
|
29337
30007
|
id?: string;
|
|
@@ -29340,9 +30010,13 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
29340
30010
|
locked_by?: string | null;
|
|
29341
30011
|
next_attempt_at?: string;
|
|
29342
30012
|
number_of_pieces?: number;
|
|
30013
|
+
product_id?: string | null;
|
|
29343
30014
|
sent_at?: string | null;
|
|
29344
30015
|
status?: string;
|
|
30016
|
+
stock_mode?: string | null;
|
|
29345
30017
|
superseded_by?: string | null;
|
|
30018
|
+
target_week?: number | null;
|
|
30019
|
+
target_year?: number | null;
|
|
29346
30020
|
trade_item_id?: string;
|
|
29347
30021
|
updated_at?: string;
|
|
29348
30022
|
user_id?: string;
|
|
@@ -29751,6 +30425,87 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
29751
30425
|
referencedColumns: ["id"];
|
|
29752
30426
|
}];
|
|
29753
30427
|
};
|
|
30428
|
+
floriday_inventory_settings: {
|
|
30429
|
+
Row: {
|
|
30430
|
+
buffer_quantity: number;
|
|
30431
|
+
connection_id: string;
|
|
30432
|
+
created_at: string;
|
|
30433
|
+
desired_availability: boolean;
|
|
30434
|
+
desired_quantity: number;
|
|
30435
|
+
fixed_quantity: number | null;
|
|
30436
|
+
floriday_trade_item_id: string | null;
|
|
30437
|
+
id: string;
|
|
30438
|
+
last_confirmed_at: string | null;
|
|
30439
|
+
last_enqueued_at: string | null;
|
|
30440
|
+
last_published_at: string | null;
|
|
30441
|
+
last_sync_error: string | null;
|
|
30442
|
+
manual_quantity: number | null;
|
|
30443
|
+
maximum_quantity: number | null;
|
|
30444
|
+
product_id: string;
|
|
30445
|
+
quantity_control: string;
|
|
30446
|
+
remote_available: boolean | null;
|
|
30447
|
+
remote_checked_at: string | null;
|
|
30448
|
+
remote_quantity: number | null;
|
|
30449
|
+
stock_mode: string;
|
|
30450
|
+
sync_status: string;
|
|
30451
|
+
updated_at: string;
|
|
30452
|
+
updated_by: string | null;
|
|
30453
|
+
user_id: string;
|
|
30454
|
+
};
|
|
30455
|
+
Insert: {
|
|
30456
|
+
buffer_quantity?: number;
|
|
30457
|
+
connection_id: string;
|
|
30458
|
+
created_at?: string;
|
|
30459
|
+
desired_availability?: boolean;
|
|
30460
|
+
desired_quantity?: number;
|
|
30461
|
+
fixed_quantity?: number | null;
|
|
30462
|
+
floriday_trade_item_id?: string | null;
|
|
30463
|
+
id?: string;
|
|
30464
|
+
last_confirmed_at?: string | null;
|
|
30465
|
+
last_enqueued_at?: string | null;
|
|
30466
|
+
last_published_at?: string | null;
|
|
30467
|
+
last_sync_error?: string | null;
|
|
30468
|
+
manual_quantity?: number | null;
|
|
30469
|
+
maximum_quantity?: number | null;
|
|
30470
|
+
product_id: string;
|
|
30471
|
+
quantity_control?: string;
|
|
30472
|
+
remote_available?: boolean | null;
|
|
30473
|
+
remote_checked_at?: string | null;
|
|
30474
|
+
remote_quantity?: number | null;
|
|
30475
|
+
stock_mode?: string;
|
|
30476
|
+
sync_status?: string;
|
|
30477
|
+
updated_at?: string;
|
|
30478
|
+
updated_by?: string | null;
|
|
30479
|
+
user_id: string;
|
|
30480
|
+
};
|
|
30481
|
+
Update: {
|
|
30482
|
+
buffer_quantity?: number;
|
|
30483
|
+
connection_id?: string;
|
|
30484
|
+
created_at?: string;
|
|
30485
|
+
desired_availability?: boolean;
|
|
30486
|
+
desired_quantity?: number;
|
|
30487
|
+
fixed_quantity?: number | null;
|
|
30488
|
+
floriday_trade_item_id?: string | null;
|
|
30489
|
+
id?: string;
|
|
30490
|
+
last_confirmed_at?: string | null;
|
|
30491
|
+
last_enqueued_at?: string | null;
|
|
30492
|
+
last_published_at?: string | null;
|
|
30493
|
+
last_sync_error?: string | null;
|
|
30494
|
+
manual_quantity?: number | null;
|
|
30495
|
+
maximum_quantity?: number | null;
|
|
30496
|
+
product_id?: string;
|
|
30497
|
+
quantity_control?: string;
|
|
30498
|
+
remote_available?: boolean | null;
|
|
30499
|
+
remote_checked_at?: string | null;
|
|
30500
|
+
remote_quantity?: number | null;
|
|
30501
|
+
stock_mode?: string;
|
|
30502
|
+
sync_status?: string;
|
|
30503
|
+
updated_at?: string;
|
|
30504
|
+
updated_by?: string | null;
|
|
30505
|
+
user_id?: string;
|
|
30506
|
+
};
|
|
30507
|
+
Relationships: [];
|
|
30508
|
+
};
|
|
29754
30509
|
floriday_invoices_cache: {
|
|
29755
30510
|
Row: {
|
|
29756
30511
|
buyer_organization_id: string | null;
|
|
@@ -30039,6 +30794,39 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
30039
30794
|
};
|
|
30040
30795
|
Relationships: [];
|
|
30041
30796
|
};
|
|
30797
|
+
floriday_sales_order_ingest: {
|
|
30798
|
+
Row: {
|
|
30799
|
+
connection_id: string;
|
|
30800
|
+
created_at: string;
|
|
30801
|
+
id: string;
|
|
30802
|
+
impact: import("../integrations/supabase/types").Json;
|
|
30803
|
+
order_status: string | null;
|
|
30804
|
+
order_version: number;
|
|
30805
|
+
processed_at: string;
|
|
30806
|
+
sales_order_id: string;
|
|
30807
|
+
};
|
|
30808
|
+
Insert: {
|
|
30809
|
+
connection_id: string;
|
|
30810
|
+
created_at?: string;
|
|
30811
|
+
id?: string;
|
|
30812
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
30813
|
+
order_status?: string | null;
|
|
30814
|
+
order_version?: number;
|
|
30815
|
+
processed_at?: string;
|
|
30816
|
+
sales_order_id: string;
|
|
30817
|
+
};
|
|
30818
|
+
Update: {
|
|
30819
|
+
connection_id?: string;
|
|
30820
|
+
created_at?: string;
|
|
30821
|
+
id?: string;
|
|
30822
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
30823
|
+
order_status?: string | null;
|
|
30824
|
+
order_version?: number;
|
|
30825
|
+
processed_at?: string;
|
|
30826
|
+
sales_order_id?: string;
|
|
30827
|
+
};
|
|
30828
|
+
Relationships: [];
|
|
30829
|
+
};
|
|
30042
30830
|
floriday_sales_strategies_cache: {
|
|
30043
30831
|
Row: {
|
|
30044
30832
|
connection_id: string;
|
|
@@ -30138,6 +30926,39 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
30138
30926
|
};
|
|
30139
30927
|
Relationships: [];
|
|
30140
30928
|
};
|
|
30929
|
+
floriday_sync_cursors: {
|
|
30930
|
+
Row: {
|
|
30931
|
+
connection_id: string;
|
|
30932
|
+
created_at: string;
|
|
30933
|
+
id: string;
|
|
30934
|
+
last_error: string | null;
|
|
30935
|
+
last_sync_at: string | null;
|
|
30936
|
+
resource_type: string;
|
|
30937
|
+
sequence_number: number;
|
|
30938
|
+
updated_at: string;
|
|
30939
|
+
};
|
|
30940
|
+
Insert: {
|
|
30941
|
+
connection_id: string;
|
|
30942
|
+
created_at?: string;
|
|
30943
|
+
id?: string;
|
|
30944
|
+
last_error?: string | null;
|
|
30945
|
+
last_sync_at?: string | null;
|
|
30946
|
+
resource_type: string;
|
|
30947
|
+
sequence_number?: number;
|
|
30948
|
+
updated_at?: string;
|
|
30949
|
+
};
|
|
30950
|
+
Update: {
|
|
30951
|
+
connection_id?: string;
|
|
30952
|
+
created_at?: string;
|
|
30953
|
+
id?: string;
|
|
30954
|
+
last_error?: string | null;
|
|
30955
|
+
last_sync_at?: string | null;
|
|
30956
|
+
resource_type?: string;
|
|
30957
|
+
sequence_number?: number;
|
|
30958
|
+
updated_at?: string;
|
|
30959
|
+
};
|
|
30960
|
+
Relationships: [];
|
|
30961
|
+
};
|
|
30141
30962
|
floriday_sync_state: {
|
|
30142
30963
|
Row: {
|
|
30143
30964
|
connection_id: string;
|
|
@@ -30828,6 +31649,42 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
30828
31649
|
};
|
|
30829
31650
|
Relationships: [];
|
|
30830
31651
|
};
|
|
31652
|
+
inventory_stock_snapshots: {
|
|
31653
|
+
Row: {
|
|
31654
|
+
connection_id: string;
|
|
31655
|
+
created_at: string;
|
|
31656
|
+
erp_available_quantity: number;
|
|
31657
|
+
floriday_desired_quantity: number;
|
|
31658
|
+
floriday_remote_quantity: number | null;
|
|
31659
|
+
granularity: string;
|
|
31660
|
+
id: string;
|
|
31661
|
+
snapshot_at: string;
|
|
31662
|
+
user_id: string | null;
|
|
31663
|
+
};
|
|
31664
|
+
Insert: {
|
|
31665
|
+
connection_id: string;
|
|
31666
|
+
created_at?: string;
|
|
31667
|
+
erp_available_quantity?: number;
|
|
31668
|
+
floriday_desired_quantity?: number;
|
|
31669
|
+
floriday_remote_quantity?: number | null;
|
|
31670
|
+
granularity?: string;
|
|
31671
|
+
id?: string;
|
|
31672
|
+
snapshot_at?: string;
|
|
31673
|
+
user_id?: string | null;
|
|
31674
|
+
};
|
|
31675
|
+
Update: {
|
|
31676
|
+
connection_id?: string;
|
|
31677
|
+
created_at?: string;
|
|
31678
|
+
erp_available_quantity?: number;
|
|
31679
|
+
floriday_desired_quantity?: number;
|
|
31680
|
+
floriday_remote_quantity?: number | null;
|
|
31681
|
+
granularity?: string;
|
|
31682
|
+
id?: string;
|
|
31683
|
+
snapshot_at?: string;
|
|
31684
|
+
user_id?: string | null;
|
|
31685
|
+
};
|
|
31686
|
+
Relationships: [];
|
|
31687
|
+
};
|
|
30831
31688
|
invoice_items: {
|
|
30832
31689
|
Row: {
|
|
30833
31690
|
created_at: string;
|
|
@@ -36843,6 +37700,39 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
36843
37700
|
};
|
|
36844
37701
|
Relationships: [];
|
|
36845
37702
|
};
|
|
37703
|
+
print_dedupe_events: {
|
|
37704
|
+
Row: {
|
|
37705
|
+
bestaande_job_id: string | null;
|
|
37706
|
+
created_at: string;
|
|
37707
|
+
detail: string | null;
|
|
37708
|
+
documentnaam: string | null;
|
|
37709
|
+
documenttype: string | null;
|
|
37710
|
+
id: string;
|
|
37711
|
+
idempotentie_sleutel: string;
|
|
37712
|
+
reden: string;
|
|
37713
|
+
};
|
|
37714
|
+
Insert: {
|
|
37715
|
+
bestaande_job_id?: string | null;
|
|
37716
|
+
created_at?: string;
|
|
37717
|
+
detail?: string | null;
|
|
37718
|
+
documentnaam?: string | null;
|
|
37719
|
+
documenttype?: string | null;
|
|
37720
|
+
id?: string;
|
|
37721
|
+
idempotentie_sleutel: string;
|
|
37722
|
+
reden: string;
|
|
37723
|
+
};
|
|
37724
|
+
Update: {
|
|
37725
|
+
bestaande_job_id?: string | null;
|
|
37726
|
+
created_at?: string;
|
|
37727
|
+
detail?: string | null;
|
|
37728
|
+
documentnaam?: string | null;
|
|
37729
|
+
documenttype?: string | null;
|
|
37730
|
+
id?: string;
|
|
37731
|
+
idempotentie_sleutel?: string;
|
|
37732
|
+
reden?: string;
|
|
37733
|
+
};
|
|
37734
|
+
Relationships: [];
|
|
37735
|
+
};
|
|
36846
37736
|
print_job_logs: {
|
|
36847
37737
|
Row: {
|
|
36848
37738
|
created_at: string;
|
|
@@ -36893,6 +37783,9 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
36893
37783
|
is_herprint: boolean;
|
|
36894
37784
|
kopieen: number;
|
|
36895
37785
|
layout_id: string | null;
|
|
37786
|
+
lokaal_opgeslagen_op: string | null;
|
|
37787
|
+
lokale_pdf_fout: string | null;
|
|
37788
|
+
lokale_pdf_status: string | null;
|
|
36896
37789
|
opgepakt_op: string | null;
|
|
36897
37790
|
paginas: number;
|
|
36898
37791
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -36901,6 +37794,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
36901
37794
|
pogingen: number;
|
|
36902
37795
|
printer_id: string | null;
|
|
36903
37796
|
render_html: string | null;
|
|
37797
|
+
resultaat_pdf_base64: string | null;
|
|
36904
37798
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
36905
37799
|
updated_at: string;
|
|
36906
37800
|
volgende_poging: string | null;
|
|
@@ -36925,6 +37819,9 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
36925
37819
|
is_herprint?: boolean;
|
|
36926
37820
|
kopieen?: number;
|
|
36927
37821
|
layout_id?: string | null;
|
|
37822
|
+
lokaal_opgeslagen_op?: string | null;
|
|
37823
|
+
lokale_pdf_fout?: string | null;
|
|
37824
|
+
lokale_pdf_status?: string | null;
|
|
36928
37825
|
opgepakt_op?: string | null;
|
|
36929
37826
|
paginas?: number;
|
|
36930
37827
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -36933,6 +37830,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
36933
37830
|
pogingen?: number;
|
|
36934
37831
|
printer_id?: string | null;
|
|
36935
37832
|
render_html?: string | null;
|
|
37833
|
+
resultaat_pdf_base64?: string | null;
|
|
36936
37834
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
36937
37835
|
updated_at?: string;
|
|
36938
37836
|
volgende_poging?: string | null;
|
|
@@ -36957,6 +37855,9 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
36957
37855
|
is_herprint?: boolean;
|
|
36958
37856
|
kopieen?: number;
|
|
36959
37857
|
layout_id?: string | null;
|
|
37858
|
+
lokaal_opgeslagen_op?: string | null;
|
|
37859
|
+
lokale_pdf_fout?: string | null;
|
|
37860
|
+
lokale_pdf_status?: string | null;
|
|
36960
37861
|
opgepakt_op?: string | null;
|
|
36961
37862
|
paginas?: number;
|
|
36962
37863
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -36965,6 +37866,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
36965
37866
|
pogingen?: number;
|
|
36966
37867
|
printer_id?: string | null;
|
|
36967
37868
|
render_html?: string | null;
|
|
37869
|
+
resultaat_pdf_base64?: string | null;
|
|
36968
37870
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
36969
37871
|
updated_at?: string;
|
|
36970
37872
|
volgende_poging?: string | null;
|
|
@@ -37083,6 +37985,39 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
37083
37985
|
};
|
|
37084
37986
|
Relationships: [];
|
|
37085
37987
|
};
|
|
37988
|
+
print_preview_events: {
|
|
37989
|
+
Row: {
|
|
37990
|
+
code: string | null;
|
|
37991
|
+
created_at: string;
|
|
37992
|
+
detail: import("../integrations/supabase/types").Json;
|
|
37993
|
+
id: string;
|
|
37994
|
+
queue_item_id: string | null;
|
|
37995
|
+
reden: string | null;
|
|
37996
|
+
station_slug: string | null;
|
|
37997
|
+
uitkomst: string;
|
|
37998
|
+
};
|
|
37999
|
+
Insert: {
|
|
38000
|
+
code?: string | null;
|
|
38001
|
+
created_at?: string;
|
|
38002
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
38003
|
+
id?: string;
|
|
38004
|
+
queue_item_id?: string | null;
|
|
38005
|
+
reden?: string | null;
|
|
38006
|
+
station_slug?: string | null;
|
|
38007
|
+
uitkomst?: string;
|
|
38008
|
+
};
|
|
38009
|
+
Update: {
|
|
38010
|
+
code?: string | null;
|
|
38011
|
+
created_at?: string;
|
|
38012
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
38013
|
+
id?: string;
|
|
38014
|
+
queue_item_id?: string | null;
|
|
38015
|
+
reden?: string | null;
|
|
38016
|
+
station_slug?: string | null;
|
|
38017
|
+
uitkomst?: string;
|
|
38018
|
+
};
|
|
38019
|
+
Relationships: [];
|
|
38020
|
+
};
|
|
37086
38021
|
print_queue_runners: {
|
|
37087
38022
|
Row: {
|
|
37088
38023
|
actief: boolean;
|
|
@@ -37322,6 +38257,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
37322
38257
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
37323
38258
|
online: boolean;
|
|
37324
38259
|
papierformaat: string;
|
|
38260
|
+
pdf_map: string | null;
|
|
37325
38261
|
poort: number | null;
|
|
37326
38262
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37327
38263
|
systeemnaam: string;
|
|
@@ -37347,6 +38283,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
37347
38283
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
37348
38284
|
online?: boolean;
|
|
37349
38285
|
papierformaat?: string;
|
|
38286
|
+
pdf_map?: string | null;
|
|
37350
38287
|
poort?: number | null;
|
|
37351
38288
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37352
38289
|
systeemnaam?: string;
|
|
@@ -37372,6 +38309,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
37372
38309
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
37373
38310
|
online?: boolean;
|
|
37374
38311
|
papierformaat?: string;
|
|
38312
|
+
pdf_map?: string | null;
|
|
37375
38313
|
poort?: number | null;
|
|
37376
38314
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37377
38315
|
systeemnaam?: string;
|
|
@@ -39941,6 +40879,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
39941
40879
|
};
|
|
39942
40880
|
trade_item_stock: {
|
|
39943
40881
|
Row: {
|
|
40882
|
+
change_source: string;
|
|
39944
40883
|
connection_id: string;
|
|
39945
40884
|
created_at: string;
|
|
39946
40885
|
id: string;
|
|
@@ -39954,6 +40893,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
39954
40893
|
user_id: string;
|
|
39955
40894
|
};
|
|
39956
40895
|
Insert: {
|
|
40896
|
+
change_source?: string;
|
|
39957
40897
|
connection_id: string;
|
|
39958
40898
|
created_at?: string;
|
|
39959
40899
|
id?: string;
|
|
@@ -39967,6 +40907,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
39967
40907
|
user_id: string;
|
|
39968
40908
|
};
|
|
39969
40909
|
Update: {
|
|
40910
|
+
change_source?: string;
|
|
39970
40911
|
connection_id?: string;
|
|
39971
40912
|
created_at?: string;
|
|
39972
40913
|
id?: string;
|
|
@@ -43567,6 +44508,18 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
43567
44508
|
Args: never;
|
|
43568
44509
|
Returns: number;
|
|
43569
44510
|
};
|
|
44511
|
+
calculate_floriday_desired_stock: {
|
|
44512
|
+
Args: {
|
|
44513
|
+
p_connection_id: string;
|
|
44514
|
+
p_product_id: string;
|
|
44515
|
+
};
|
|
44516
|
+
Returns: {
|
|
44517
|
+
desired_availability: boolean;
|
|
44518
|
+
desired_quantity: number;
|
|
44519
|
+
erp_available: number;
|
|
44520
|
+
stock_mode: string;
|
|
44521
|
+
}[];
|
|
44522
|
+
};
|
|
43570
44523
|
calculate_layer_stock: {
|
|
43571
44524
|
Args: {
|
|
43572
44525
|
p_product_id: string;
|
|
@@ -43628,6 +44581,9 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
43628
44581
|
is_herprint: boolean;
|
|
43629
44582
|
kopieen: number;
|
|
43630
44583
|
layout_id: string | null;
|
|
44584
|
+
lokaal_opgeslagen_op: string | null;
|
|
44585
|
+
lokale_pdf_fout: string | null;
|
|
44586
|
+
lokale_pdf_status: string | null;
|
|
43631
44587
|
opgepakt_op: string | null;
|
|
43632
44588
|
paginas: number;
|
|
43633
44589
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -43636,6 +44592,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
43636
44592
|
pogingen: number;
|
|
43637
44593
|
printer_id: string | null;
|
|
43638
44594
|
render_html: string | null;
|
|
44595
|
+
resultaat_pdf_base64: string | null;
|
|
43639
44596
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
43640
44597
|
updated_at: string;
|
|
43641
44598
|
volgende_poging: string | null;
|
|
@@ -43657,6 +44614,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
43657
44614
|
attempts: number;
|
|
43658
44615
|
connection_id: string;
|
|
43659
44616
|
created_at: string;
|
|
44617
|
+
dead_lettered_at: string | null;
|
|
43660
44618
|
desired_available: boolean | null;
|
|
43661
44619
|
gateway_attempt_id: string | null;
|
|
43662
44620
|
id: string;
|
|
@@ -43665,9 +44623,13 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
43665
44623
|
locked_by: string | null;
|
|
43666
44624
|
next_attempt_at: string;
|
|
43667
44625
|
number_of_pieces: number;
|
|
44626
|
+
product_id: string | null;
|
|
43668
44627
|
sent_at: string | null;
|
|
43669
44628
|
status: string;
|
|
44629
|
+
stock_mode: string | null;
|
|
43670
44630
|
superseded_by: string | null;
|
|
44631
|
+
target_week: number | null;
|
|
44632
|
+
target_year: number | null;
|
|
43671
44633
|
trade_item_id: string;
|
|
43672
44634
|
updated_at: string;
|
|
43673
44635
|
user_id: string;
|
|
@@ -43727,6 +44689,53 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
43727
44689
|
isSetofReturn: true;
|
|
43728
44690
|
};
|
|
43729
44691
|
};
|
|
44692
|
+
claim_pdf_print_jobs: {
|
|
44693
|
+
Args: {
|
|
44694
|
+
_max?: number;
|
|
44695
|
+
};
|
|
44696
|
+
Returns: {
|
|
44697
|
+
agent_id: string | null;
|
|
44698
|
+
bron_job_id: string | null;
|
|
44699
|
+
created_at: string;
|
|
44700
|
+
documentnaam: string;
|
|
44701
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
44702
|
+
extern_job_id: string | null;
|
|
44703
|
+
foutmelding: string | null;
|
|
44704
|
+
gebruiker_id: string | null;
|
|
44705
|
+
gebruiker_naam: string;
|
|
44706
|
+
gebruikte_bron: string | null;
|
|
44707
|
+
gebruikte_layout_id: string | null;
|
|
44708
|
+
gestart_op: string | null;
|
|
44709
|
+
herkomst: string | null;
|
|
44710
|
+
id: string;
|
|
44711
|
+
idempotentie_sleutel: string | null;
|
|
44712
|
+
is_herprint: boolean;
|
|
44713
|
+
kopieen: number;
|
|
44714
|
+
layout_id: string | null;
|
|
44715
|
+
lokaal_opgeslagen_op: string | null;
|
|
44716
|
+
lokale_pdf_fout: string | null;
|
|
44717
|
+
lokale_pdf_status: string | null;
|
|
44718
|
+
opgepakt_op: string | null;
|
|
44719
|
+
paginas: number;
|
|
44720
|
+
payload: import("../integrations/supabase/types").Json;
|
|
44721
|
+
pdf_base64: string | null;
|
|
44722
|
+
pdf_url: string | null;
|
|
44723
|
+
pogingen: number;
|
|
44724
|
+
printer_id: string | null;
|
|
44725
|
+
render_html: string | null;
|
|
44726
|
+
resultaat_pdf_base64: string | null;
|
|
44727
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
44728
|
+
updated_at: string;
|
|
44729
|
+
volgende_poging: string | null;
|
|
44730
|
+
voltooid_op: string | null;
|
|
44731
|
+
}[];
|
|
44732
|
+
SetofOptions: {
|
|
44733
|
+
from: "*";
|
|
44734
|
+
to: "print_jobs";
|
|
44735
|
+
isOneToOne: false;
|
|
44736
|
+
isSetofReturn: true;
|
|
44737
|
+
};
|
|
44738
|
+
};
|
|
43730
44739
|
claim_print_jobs: {
|
|
43731
44740
|
Args: {
|
|
43732
44741
|
_agent_id: string;
|
|
@@ -43751,6 +44760,9 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
43751
44760
|
is_herprint: boolean;
|
|
43752
44761
|
kopieen: number;
|
|
43753
44762
|
layout_id: string | null;
|
|
44763
|
+
lokaal_opgeslagen_op: string | null;
|
|
44764
|
+
lokale_pdf_fout: string | null;
|
|
44765
|
+
lokale_pdf_status: string | null;
|
|
43754
44766
|
opgepakt_op: string | null;
|
|
43755
44767
|
paginas: number;
|
|
43756
44768
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -43759,6 +44771,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
43759
44771
|
pogingen: number;
|
|
43760
44772
|
printer_id: string | null;
|
|
43761
44773
|
render_html: string | null;
|
|
44774
|
+
resultaat_pdf_base64: string | null;
|
|
43762
44775
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
43763
44776
|
updated_at: string;
|
|
43764
44777
|
volgende_poging: string | null;
|
|
@@ -43899,6 +44912,8 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
43899
44912
|
order_id: string;
|
|
43900
44913
|
order_source: string;
|
|
43901
44914
|
pick_date: string;
|
|
44915
|
+
printed_at: string;
|
|
44916
|
+
printed_today: boolean;
|
|
43902
44917
|
status: string;
|
|
43903
44918
|
}[];
|
|
43904
44919
|
};
|
|
@@ -44095,6 +45110,24 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
44095
45110
|
};
|
|
44096
45111
|
Returns: string;
|
|
44097
45112
|
};
|
|
45113
|
+
floriday_capture_stock_snapshot: {
|
|
45114
|
+
Args: never;
|
|
45115
|
+
Returns: number;
|
|
45116
|
+
};
|
|
45117
|
+
floriday_cleanup_stock_queue_v2: {
|
|
45118
|
+
Args: never;
|
|
45119
|
+
Returns: undefined;
|
|
45120
|
+
};
|
|
45121
|
+
floriday_compact_stock_snapshots: {
|
|
45122
|
+
Args: never;
|
|
45123
|
+
Returns: undefined;
|
|
45124
|
+
};
|
|
45125
|
+
floriday_default_owner: {
|
|
45126
|
+
Args: {
|
|
45127
|
+
p_connection_id: string;
|
|
45128
|
+
};
|
|
45129
|
+
Returns: string;
|
|
45130
|
+
};
|
|
44098
45131
|
floriday_effective_price: {
|
|
44099
45132
|
Args: {
|
|
44100
45133
|
_buyer_id: string;
|
|
@@ -44112,6 +45145,22 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
44112
45145
|
source_id: string;
|
|
44113
45146
|
}[];
|
|
44114
45147
|
};
|
|
45148
|
+
floriday_fill_publish_horizon: {
|
|
45149
|
+
Args: never;
|
|
45150
|
+
Returns: number;
|
|
45151
|
+
};
|
|
45152
|
+
floriday_publish_horizon_weeks: {
|
|
45153
|
+
Args: never;
|
|
45154
|
+
Returns: number;
|
|
45155
|
+
};
|
|
45156
|
+
floriday_recompute_inventory: {
|
|
45157
|
+
Args: {
|
|
45158
|
+
p_connection_id: string;
|
|
45159
|
+
p_force?: boolean;
|
|
45160
|
+
p_product_id: string;
|
|
45161
|
+
};
|
|
45162
|
+
Returns: undefined;
|
|
45163
|
+
};
|
|
44115
45164
|
format_cart_number: {
|
|
44116
45165
|
Args: {
|
|
44117
45166
|
p_pick_date: string;
|
|
@@ -44607,6 +45656,10 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
44607
45656
|
};
|
|
44608
45657
|
Returns: number;
|
|
44609
45658
|
};
|
|
45659
|
+
logistics_cancel_orphan_tasks: {
|
|
45660
|
+
Args: never;
|
|
45661
|
+
Returns: number;
|
|
45662
|
+
};
|
|
44610
45663
|
logistics_capacity_day_check: {
|
|
44611
45664
|
Args: {
|
|
44612
45665
|
p_from?: string;
|
|
@@ -44627,6 +45680,25 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
44627
45680
|
};
|
|
44628
45681
|
Returns: number;
|
|
44629
45682
|
};
|
|
45683
|
+
logistics_cart_index: {
|
|
45684
|
+
Args: {
|
|
45685
|
+
p_from?: string;
|
|
45686
|
+
p_to?: string;
|
|
45687
|
+
};
|
|
45688
|
+
Returns: {
|
|
45689
|
+
cart_id: string;
|
|
45690
|
+
cart_index: number;
|
|
45691
|
+
cart_label: string;
|
|
45692
|
+
is_shared: boolean;
|
|
45693
|
+
order_number: string;
|
|
45694
|
+
order_source: string;
|
|
45695
|
+
order_uuid: string;
|
|
45696
|
+
pick_date: string;
|
|
45697
|
+
printed_at: string;
|
|
45698
|
+
shifted: boolean;
|
|
45699
|
+
task_status: string;
|
|
45700
|
+
}[];
|
|
45701
|
+
};
|
|
44630
45702
|
logistics_check_order_allowed: {
|
|
44631
45703
|
Args: {
|
|
44632
45704
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -44775,6 +45847,17 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
44775
45847
|
isSetofReturn: false;
|
|
44776
45848
|
};
|
|
44777
45849
|
};
|
|
45850
|
+
logistics_consistency_check: {
|
|
45851
|
+
Args: never;
|
|
45852
|
+
Returns: {
|
|
45853
|
+
agenda_carts: number;
|
|
45854
|
+
control_carts: number;
|
|
45855
|
+
ok: boolean;
|
|
45856
|
+
orphan_tasks: number;
|
|
45857
|
+
pick_date: string;
|
|
45858
|
+
raw_carts: number;
|
|
45859
|
+
}[];
|
|
45860
|
+
};
|
|
44778
45861
|
logistics_delay_customer_email: {
|
|
44779
45862
|
Args: {
|
|
44780
45863
|
p_customer: string;
|
|
@@ -44864,6 +45947,16 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
44864
45947
|
isSetofReturn: false;
|
|
44865
45948
|
};
|
|
44866
45949
|
};
|
|
45950
|
+
logistics_floriday_cart_plan: {
|
|
45951
|
+
Args: {
|
|
45952
|
+
p_order_id: string;
|
|
45953
|
+
};
|
|
45954
|
+
Returns: {
|
|
45955
|
+
carrier_type: string;
|
|
45956
|
+
idx: number;
|
|
45957
|
+
packages: number;
|
|
45958
|
+
}[];
|
|
45959
|
+
};
|
|
44867
45960
|
logistics_floriday_claim_pushes: {
|
|
44868
45961
|
Args: {
|
|
44869
45962
|
_lease_seconds?: number;
|
|
@@ -44968,6 +46061,25 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
44968
46061
|
};
|
|
44969
46062
|
Returns: number;
|
|
44970
46063
|
};
|
|
46064
|
+
logistics_order_overview: {
|
|
46065
|
+
Args: {
|
|
46066
|
+
p_from?: string;
|
|
46067
|
+
p_to?: string;
|
|
46068
|
+
};
|
|
46069
|
+
Returns: {
|
|
46070
|
+
cart_count: number;
|
|
46071
|
+
customer_name: string;
|
|
46072
|
+
delivery_date: string;
|
|
46073
|
+
order_number: string;
|
|
46074
|
+
order_source: string;
|
|
46075
|
+
order_uuid: string;
|
|
46076
|
+
pick_date: string;
|
|
46077
|
+
plant_count: number;
|
|
46078
|
+
printed_at: string;
|
|
46079
|
+
shifted: boolean;
|
|
46080
|
+
status: string;
|
|
46081
|
+
}[];
|
|
46082
|
+
};
|
|
44971
46083
|
logistics_order_pick_day: {
|
|
44972
46084
|
Args: {
|
|
44973
46085
|
p_order_ref: string;
|
|
@@ -44980,6 +46092,22 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
44980
46092
|
};
|
|
44981
46093
|
Returns: string;
|
|
44982
46094
|
};
|
|
46095
|
+
logistics_pick_agenda: {
|
|
46096
|
+
Args: {
|
|
46097
|
+
p_from?: string;
|
|
46098
|
+
p_to?: string;
|
|
46099
|
+
};
|
|
46100
|
+
Returns: {
|
|
46101
|
+
cart_count: number;
|
|
46102
|
+
in_preparation: number;
|
|
46103
|
+
order_count: number;
|
|
46104
|
+
orders: import("../integrations/supabase/types").Json;
|
|
46105
|
+
pick_date: string;
|
|
46106
|
+
plant_count: number;
|
|
46107
|
+
ready: number;
|
|
46108
|
+
shifted_count: number;
|
|
46109
|
+
}[];
|
|
46110
|
+
};
|
|
44983
46111
|
logistics_pick_email_purpose: {
|
|
44984
46112
|
Args: never;
|
|
44985
46113
|
Returns: string;
|
|
@@ -45034,6 +46162,13 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
45034
46162
|
};
|
|
45035
46163
|
Returns: undefined;
|
|
45036
46164
|
};
|
|
46165
|
+
logistics_plan_floriday_order: {
|
|
46166
|
+
Args: {
|
|
46167
|
+
p_buffer_id?: string;
|
|
46168
|
+
p_order_id: string;
|
|
46169
|
+
};
|
|
46170
|
+
Returns: number;
|
|
46171
|
+
};
|
|
45037
46172
|
logistics_plan_impact_orders: {
|
|
45038
46173
|
Args: {
|
|
45039
46174
|
p_order_id: string;
|
|
@@ -45139,6 +46274,15 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
45139
46274
|
};
|
|
45140
46275
|
Returns: import("../integrations/supabase/types").Json;
|
|
45141
46276
|
};
|
|
46277
|
+
logistics_resolve_pick_document: {
|
|
46278
|
+
Args: {
|
|
46279
|
+
_is_herprint: boolean;
|
|
46280
|
+
_queue_item_id: string;
|
|
46281
|
+
_session_id: string;
|
|
46282
|
+
_voorbeeld: boolean;
|
|
46283
|
+
};
|
|
46284
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
46285
|
+
};
|
|
45142
46286
|
logistics_resolve_settings: {
|
|
45143
46287
|
Args: {
|
|
45144
46288
|
p_config_id: string;
|
|
@@ -45579,6 +46723,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
45579
46723
|
};
|
|
45580
46724
|
pick_enqueue_print_job: {
|
|
45581
46725
|
Args: {
|
|
46726
|
+
_is_herprint?: boolean;
|
|
45582
46727
|
_printer_id?: string;
|
|
45583
46728
|
_queue_item_id: string;
|
|
45584
46729
|
_session_id?: string;
|
|
@@ -45592,6 +46737,13 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
45592
46737
|
};
|
|
45593
46738
|
Returns: import("../integrations/supabase/types").Json;
|
|
45594
46739
|
};
|
|
46740
|
+
pick_preview_job: {
|
|
46741
|
+
Args: {
|
|
46742
|
+
_queue_item_id: string;
|
|
46743
|
+
_station_slug: string;
|
|
46744
|
+
};
|
|
46745
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
46746
|
+
};
|
|
45595
46747
|
pick_print_job_status: {
|
|
45596
46748
|
Args: {
|
|
45597
46749
|
_job_id: string;
|
|
@@ -45769,6 +46921,24 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
45769
46921
|
};
|
|
45770
46922
|
Returns: undefined;
|
|
45771
46923
|
};
|
|
46924
|
+
print_preview_toestaan: {
|
|
46925
|
+
Args: {
|
|
46926
|
+
_max?: number;
|
|
46927
|
+
_queue_item_id: string;
|
|
46928
|
+
_station_slug: string;
|
|
46929
|
+
_venster_sec?: number;
|
|
46930
|
+
};
|
|
46931
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
46932
|
+
};
|
|
46933
|
+
print_preview_weiger: {
|
|
46934
|
+
Args: {
|
|
46935
|
+
_code: string;
|
|
46936
|
+
_queue_item_id: string;
|
|
46937
|
+
_reden: string;
|
|
46938
|
+
_station_slug: string;
|
|
46939
|
+
};
|
|
46940
|
+
Returns: undefined;
|
|
46941
|
+
};
|
|
45772
46942
|
process_logistics_event: {
|
|
45773
46943
|
Args: {
|
|
45774
46944
|
p_event_id: string;
|
|
@@ -45923,6 +47093,12 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
45923
47093
|
};
|
|
45924
47094
|
Returns: string;
|
|
45925
47095
|
};
|
|
47096
|
+
resolve_print_job_printer_id: {
|
|
47097
|
+
Args: {
|
|
47098
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
47099
|
+
};
|
|
47100
|
+
Returns: string;
|
|
47101
|
+
};
|
|
45926
47102
|
resolve_product_id_for_item: {
|
|
45927
47103
|
Args: {
|
|
45928
47104
|
p_product_name: string;
|
|
@@ -46514,7 +47690,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
46514
47690
|
};
|
|
46515
47691
|
CompositeTypes: { [_ in never]: never; };
|
|
46516
47692
|
}, {
|
|
46517
|
-
PostgrestVersion: "14.
|
|
47693
|
+
PostgrestVersion: "14.5";
|
|
46518
47694
|
}>;
|
|
46519
47695
|
userId: string;
|
|
46520
47696
|
claims: import("@supabase/auth-js").User;
|
|
@@ -46762,7 +47938,9 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
46762
47938
|
refresh_token?: string | null;
|
|
46763
47939
|
scope?: string | null;
|
|
46764
47940
|
token_expires_at?: string | null;
|
|
46765
|
-
updated_at
|
|
47941
|
+
updated_at
|
|
47942
|
+
/** Buffer handmatig vrijgeven (release === "manual"): taak afmelden als done. */
|
|
47943
|
+
? /** Buffer handmatig vrijgeven (release === "manual"): taak afmelden als done. */: string;
|
|
46766
47944
|
user_id: string;
|
|
46767
47945
|
};
|
|
46768
47946
|
Update: {
|
|
@@ -49418,6 +50596,84 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
49418
50596
|
};
|
|
49419
50597
|
Relationships: [];
|
|
49420
50598
|
};
|
|
50599
|
+
delivery_notes: {
|
|
50600
|
+
Row: {
|
|
50601
|
+
byte_size: number | null;
|
|
50602
|
+
connection_id: string | null;
|
|
50603
|
+
content_type: string;
|
|
50604
|
+
created_at: string;
|
|
50605
|
+
error_message: string | null;
|
|
50606
|
+
fetched_at: string | null;
|
|
50607
|
+
fulfillment_order_id: string | null;
|
|
50608
|
+
http_status: number | null;
|
|
50609
|
+
id: string;
|
|
50610
|
+
label_code: string | null;
|
|
50611
|
+
letter: string | null;
|
|
50612
|
+
load_carrier_index: number | null;
|
|
50613
|
+
load_carrier_type: string | null;
|
|
50614
|
+
order_id: string | null;
|
|
50615
|
+
order_number: string | null;
|
|
50616
|
+
packages: number | null;
|
|
50617
|
+
source: string;
|
|
50618
|
+
status: string;
|
|
50619
|
+
storage_bucket: string;
|
|
50620
|
+
storage_path: string | null;
|
|
50621
|
+
updated_at: string;
|
|
50622
|
+
};
|
|
50623
|
+
Insert: {
|
|
50624
|
+
byte_size?: number | null;
|
|
50625
|
+
connection_id?: string | null;
|
|
50626
|
+
content_type?: string;
|
|
50627
|
+
created_at?: string;
|
|
50628
|
+
error_message?: string | null;
|
|
50629
|
+
fetched_at?: string | null;
|
|
50630
|
+
fulfillment_order_id?: string | null;
|
|
50631
|
+
http_status?: number | null;
|
|
50632
|
+
id?: string;
|
|
50633
|
+
label_code?: string | null;
|
|
50634
|
+
letter?: string | null;
|
|
50635
|
+
load_carrier_index?: number | null;
|
|
50636
|
+
load_carrier_type?: string | null;
|
|
50637
|
+
order_id?: string | null;
|
|
50638
|
+
order_number?: string | null;
|
|
50639
|
+
packages?: number | null;
|
|
50640
|
+
source?: string;
|
|
50641
|
+
status?: string;
|
|
50642
|
+
storage_bucket?: string;
|
|
50643
|
+
storage_path?: string | null;
|
|
50644
|
+
updated_at?: string;
|
|
50645
|
+
};
|
|
50646
|
+
Update: {
|
|
50647
|
+
byte_size?: number | null;
|
|
50648
|
+
connection_id?: string | null;
|
|
50649
|
+
content_type?: string;
|
|
50650
|
+
created_at?: string;
|
|
50651
|
+
error_message?: string | null;
|
|
50652
|
+
fetched_at?: string | null;
|
|
50653
|
+
fulfillment_order_id?: string | null;
|
|
50654
|
+
http_status?: number | null;
|
|
50655
|
+
id?: string;
|
|
50656
|
+
label_code?: string | null;
|
|
50657
|
+
letter?: string | null;
|
|
50658
|
+
load_carrier_index?: number | null;
|
|
50659
|
+
load_carrier_type?: string | null;
|
|
50660
|
+
order_id?: string | null;
|
|
50661
|
+
order_number?: string | null;
|
|
50662
|
+
packages?: number | null;
|
|
50663
|
+
source?: string;
|
|
50664
|
+
status?: string;
|
|
50665
|
+
storage_bucket?: string;
|
|
50666
|
+
storage_path?: string | null;
|
|
50667
|
+
updated_at?: string;
|
|
50668
|
+
};
|
|
50669
|
+
Relationships: [{
|
|
50670
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
50671
|
+
columns: ["order_id"];
|
|
50672
|
+
isOneToOne: false;
|
|
50673
|
+
referencedRelation: "orders";
|
|
50674
|
+
referencedColumns: ["id"];
|
|
50675
|
+
}];
|
|
50676
|
+
};
|
|
49421
50677
|
document_bronregels: {
|
|
49422
50678
|
Row: {
|
|
49423
50679
|
bron: string;
|
|
@@ -52471,10 +53727,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
52471
53727
|
};
|
|
52472
53728
|
floriday_connections: {
|
|
52473
53729
|
Row: {
|
|
52474
|
-
access_token: string | null;
|
|
52475
53730
|
api_key: string;
|
|
52476
|
-
client_id: string;
|
|
52477
|
-
client_secret: string;
|
|
52478
53731
|
created_at: string;
|
|
52479
53732
|
customers_endpoint: string | null;
|
|
52480
53733
|
environment: string;
|
|
@@ -52489,10 +53742,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
52489
53742
|
updated_at: string;
|
|
52490
53743
|
};
|
|
52491
53744
|
Insert: {
|
|
52492
|
-
access_token?: string | null;
|
|
52493
53745
|
api_key: string;
|
|
52494
|
-
client_id: string;
|
|
52495
|
-
client_secret: string;
|
|
52496
53746
|
created_at?: string;
|
|
52497
53747
|
customers_endpoint?: string | null;
|
|
52498
53748
|
environment: string;
|
|
@@ -52507,10 +53757,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
52507
53757
|
updated_at?: string;
|
|
52508
53758
|
};
|
|
52509
53759
|
Update: {
|
|
52510
|
-
access_token?: string | null;
|
|
52511
53760
|
api_key?: string;
|
|
52512
|
-
client_id?: string;
|
|
52513
|
-
client_secret?: string;
|
|
52514
53761
|
created_at?: string;
|
|
52515
53762
|
customers_endpoint?: string | null;
|
|
52516
53763
|
environment?: string;
|
|
@@ -52594,6 +53841,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
52594
53841
|
attempts: number;
|
|
52595
53842
|
connection_id: string;
|
|
52596
53843
|
created_at: string;
|
|
53844
|
+
dead_lettered_at: string | null;
|
|
52597
53845
|
desired_available: boolean | null;
|
|
52598
53846
|
gateway_attempt_id: string | null;
|
|
52599
53847
|
id: string;
|
|
@@ -52602,9 +53850,13 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
52602
53850
|
locked_by: string | null;
|
|
52603
53851
|
next_attempt_at: string;
|
|
52604
53852
|
number_of_pieces: number;
|
|
53853
|
+
product_id: string | null;
|
|
52605
53854
|
sent_at: string | null;
|
|
52606
53855
|
status: string;
|
|
53856
|
+
stock_mode: string | null;
|
|
52607
53857
|
superseded_by: string | null;
|
|
53858
|
+
target_week: number | null;
|
|
53859
|
+
target_year: number | null;
|
|
52608
53860
|
trade_item_id: string;
|
|
52609
53861
|
updated_at: string;
|
|
52610
53862
|
user_id: string;
|
|
@@ -52613,6 +53865,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
52613
53865
|
attempts?: number;
|
|
52614
53866
|
connection_id: string;
|
|
52615
53867
|
created_at?: string;
|
|
53868
|
+
dead_lettered_at?: string | null;
|
|
52616
53869
|
desired_available?: boolean | null;
|
|
52617
53870
|
gateway_attempt_id?: string | null;
|
|
52618
53871
|
id?: string;
|
|
@@ -52621,9 +53874,13 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
52621
53874
|
locked_by?: string | null;
|
|
52622
53875
|
next_attempt_at?: string;
|
|
52623
53876
|
number_of_pieces?: number;
|
|
53877
|
+
product_id?: string | null;
|
|
52624
53878
|
sent_at?: string | null;
|
|
52625
53879
|
status?: string;
|
|
53880
|
+
stock_mode?: string | null;
|
|
52626
53881
|
superseded_by?: string | null;
|
|
53882
|
+
target_week?: number | null;
|
|
53883
|
+
target_year?: number | null;
|
|
52627
53884
|
trade_item_id: string;
|
|
52628
53885
|
updated_at?: string;
|
|
52629
53886
|
user_id: string;
|
|
@@ -52632,6 +53889,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
52632
53889
|
attempts?: number;
|
|
52633
53890
|
connection_id?: string;
|
|
52634
53891
|
created_at?: string;
|
|
53892
|
+
dead_lettered_at?: string | null;
|
|
52635
53893
|
desired_available?: boolean | null;
|
|
52636
53894
|
gateway_attempt_id?: string | null;
|
|
52637
53895
|
id?: string;
|
|
@@ -52640,9 +53898,13 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
52640
53898
|
locked_by?: string | null;
|
|
52641
53899
|
next_attempt_at?: string;
|
|
52642
53900
|
number_of_pieces?: number;
|
|
53901
|
+
product_id?: string | null;
|
|
52643
53902
|
sent_at?: string | null;
|
|
52644
53903
|
status?: string;
|
|
53904
|
+
stock_mode?: string | null;
|
|
52645
53905
|
superseded_by?: string | null;
|
|
53906
|
+
target_week?: number | null;
|
|
53907
|
+
target_year?: number | null;
|
|
52646
53908
|
trade_item_id?: string;
|
|
52647
53909
|
updated_at?: string;
|
|
52648
53910
|
user_id?: string;
|
|
@@ -53051,6 +54313,87 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
53051
54313
|
referencedColumns: ["id"];
|
|
53052
54314
|
}];
|
|
53053
54315
|
};
|
|
54316
|
+
floriday_inventory_settings: {
|
|
54317
|
+
Row: {
|
|
54318
|
+
buffer_quantity: number;
|
|
54319
|
+
connection_id: string;
|
|
54320
|
+
created_at: string;
|
|
54321
|
+
desired_availability: boolean;
|
|
54322
|
+
desired_quantity: number;
|
|
54323
|
+
fixed_quantity: number | null;
|
|
54324
|
+
floriday_trade_item_id: string | null;
|
|
54325
|
+
id: string;
|
|
54326
|
+
last_confirmed_at: string | null;
|
|
54327
|
+
last_enqueued_at: string | null;
|
|
54328
|
+
last_published_at: string | null;
|
|
54329
|
+
last_sync_error: string | null;
|
|
54330
|
+
manual_quantity: number | null;
|
|
54331
|
+
maximum_quantity: number | null;
|
|
54332
|
+
product_id: string;
|
|
54333
|
+
quantity_control: string;
|
|
54334
|
+
remote_available: boolean | null;
|
|
54335
|
+
remote_checked_at: string | null;
|
|
54336
|
+
remote_quantity: number | null;
|
|
54337
|
+
stock_mode: string;
|
|
54338
|
+
sync_status: string;
|
|
54339
|
+
updated_at: string;
|
|
54340
|
+
updated_by: string | null;
|
|
54341
|
+
user_id: string;
|
|
54342
|
+
};
|
|
54343
|
+
Insert: {
|
|
54344
|
+
buffer_quantity?: number;
|
|
54345
|
+
connection_id: string;
|
|
54346
|
+
created_at?: string;
|
|
54347
|
+
desired_availability?: boolean;
|
|
54348
|
+
desired_quantity?: number;
|
|
54349
|
+
fixed_quantity?: number | null;
|
|
54350
|
+
floriday_trade_item_id?: string | null;
|
|
54351
|
+
id?: string;
|
|
54352
|
+
last_confirmed_at?: string | null;
|
|
54353
|
+
last_enqueued_at?: string | null;
|
|
54354
|
+
last_published_at?: string | null;
|
|
54355
|
+
last_sync_error?: string | null;
|
|
54356
|
+
manual_quantity?: number | null;
|
|
54357
|
+
maximum_quantity?: number | null;
|
|
54358
|
+
product_id: string;
|
|
54359
|
+
quantity_control?: string;
|
|
54360
|
+
remote_available?: boolean | null;
|
|
54361
|
+
remote_checked_at?: string | null;
|
|
54362
|
+
remote_quantity?: number | null;
|
|
54363
|
+
stock_mode?: string;
|
|
54364
|
+
sync_status?: string;
|
|
54365
|
+
updated_at?: string;
|
|
54366
|
+
updated_by?: string | null;
|
|
54367
|
+
user_id: string;
|
|
54368
|
+
};
|
|
54369
|
+
Update: {
|
|
54370
|
+
buffer_quantity?: number;
|
|
54371
|
+
connection_id?: string;
|
|
54372
|
+
created_at?: string;
|
|
54373
|
+
desired_availability?: boolean;
|
|
54374
|
+
desired_quantity?: number;
|
|
54375
|
+
fixed_quantity?: number | null;
|
|
54376
|
+
floriday_trade_item_id?: string | null;
|
|
54377
|
+
id?: string;
|
|
54378
|
+
last_confirmed_at?: string | null;
|
|
54379
|
+
last_enqueued_at?: string | null;
|
|
54380
|
+
last_published_at?: string | null;
|
|
54381
|
+
last_sync_error?: string | null;
|
|
54382
|
+
manual_quantity?: number | null;
|
|
54383
|
+
maximum_quantity?: number | null;
|
|
54384
|
+
product_id?: string;
|
|
54385
|
+
quantity_control?: string;
|
|
54386
|
+
remote_available?: boolean | null;
|
|
54387
|
+
remote_checked_at?: string | null;
|
|
54388
|
+
remote_quantity?: number | null;
|
|
54389
|
+
stock_mode?: string;
|
|
54390
|
+
sync_status?: string;
|
|
54391
|
+
updated_at?: string;
|
|
54392
|
+
updated_by?: string | null;
|
|
54393
|
+
user_id?: string;
|
|
54394
|
+
};
|
|
54395
|
+
Relationships: [];
|
|
54396
|
+
};
|
|
53054
54397
|
floriday_invoices_cache: {
|
|
53055
54398
|
Row: {
|
|
53056
54399
|
buyer_organization_id: string | null;
|
|
@@ -53339,6 +54682,39 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
53339
54682
|
};
|
|
53340
54683
|
Relationships: [];
|
|
53341
54684
|
};
|
|
54685
|
+
floriday_sales_order_ingest: {
|
|
54686
|
+
Row: {
|
|
54687
|
+
connection_id: string;
|
|
54688
|
+
created_at: string;
|
|
54689
|
+
id: string;
|
|
54690
|
+
impact: import("../integrations/supabase/types").Json;
|
|
54691
|
+
order_status: string | null;
|
|
54692
|
+
order_version: number;
|
|
54693
|
+
processed_at: string;
|
|
54694
|
+
sales_order_id: string;
|
|
54695
|
+
};
|
|
54696
|
+
Insert: {
|
|
54697
|
+
connection_id: string;
|
|
54698
|
+
created_at?: string;
|
|
54699
|
+
id?: string;
|
|
54700
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
54701
|
+
order_status?: string | null;
|
|
54702
|
+
order_version?: number;
|
|
54703
|
+
processed_at?: string;
|
|
54704
|
+
sales_order_id: string;
|
|
54705
|
+
};
|
|
54706
|
+
Update: {
|
|
54707
|
+
connection_id?: string;
|
|
54708
|
+
created_at?: string;
|
|
54709
|
+
id?: string;
|
|
54710
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
54711
|
+
order_status?: string | null;
|
|
54712
|
+
order_version?: number;
|
|
54713
|
+
processed_at?: string;
|
|
54714
|
+
sales_order_id?: string;
|
|
54715
|
+
};
|
|
54716
|
+
Relationships: [];
|
|
54717
|
+
};
|
|
53342
54718
|
floriday_sales_strategies_cache: {
|
|
53343
54719
|
Row: {
|
|
53344
54720
|
connection_id: string;
|
|
@@ -53438,6 +54814,39 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
53438
54814
|
};
|
|
53439
54815
|
Relationships: [];
|
|
53440
54816
|
};
|
|
54817
|
+
floriday_sync_cursors: {
|
|
54818
|
+
Row: {
|
|
54819
|
+
connection_id: string;
|
|
54820
|
+
created_at: string;
|
|
54821
|
+
id: string;
|
|
54822
|
+
last_error: string | null;
|
|
54823
|
+
last_sync_at: string | null;
|
|
54824
|
+
resource_type: string;
|
|
54825
|
+
sequence_number: number;
|
|
54826
|
+
updated_at: string;
|
|
54827
|
+
};
|
|
54828
|
+
Insert: {
|
|
54829
|
+
connection_id: string;
|
|
54830
|
+
created_at?: string;
|
|
54831
|
+
id?: string;
|
|
54832
|
+
last_error?: string | null;
|
|
54833
|
+
last_sync_at?: string | null;
|
|
54834
|
+
resource_type: string;
|
|
54835
|
+
sequence_number?: number;
|
|
54836
|
+
updated_at?: string;
|
|
54837
|
+
};
|
|
54838
|
+
Update: {
|
|
54839
|
+
connection_id?: string;
|
|
54840
|
+
created_at?: string;
|
|
54841
|
+
id?: string;
|
|
54842
|
+
last_error?: string | null;
|
|
54843
|
+
last_sync_at?: string | null;
|
|
54844
|
+
resource_type?: string;
|
|
54845
|
+
sequence_number?: number;
|
|
54846
|
+
updated_at?: string;
|
|
54847
|
+
};
|
|
54848
|
+
Relationships: [];
|
|
54849
|
+
};
|
|
53441
54850
|
floriday_sync_state: {
|
|
53442
54851
|
Row: {
|
|
53443
54852
|
connection_id: string;
|
|
@@ -54128,6 +55537,42 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
54128
55537
|
};
|
|
54129
55538
|
Relationships: [];
|
|
54130
55539
|
};
|
|
55540
|
+
inventory_stock_snapshots: {
|
|
55541
|
+
Row: {
|
|
55542
|
+
connection_id: string;
|
|
55543
|
+
created_at: string;
|
|
55544
|
+
erp_available_quantity: number;
|
|
55545
|
+
floriday_desired_quantity: number;
|
|
55546
|
+
floriday_remote_quantity: number | null;
|
|
55547
|
+
granularity: string;
|
|
55548
|
+
id: string;
|
|
55549
|
+
snapshot_at: string;
|
|
55550
|
+
user_id: string | null;
|
|
55551
|
+
};
|
|
55552
|
+
Insert: {
|
|
55553
|
+
connection_id: string;
|
|
55554
|
+
created_at?: string;
|
|
55555
|
+
erp_available_quantity?: number;
|
|
55556
|
+
floriday_desired_quantity?: number;
|
|
55557
|
+
floriday_remote_quantity?: number | null;
|
|
55558
|
+
granularity?: string;
|
|
55559
|
+
id?: string;
|
|
55560
|
+
snapshot_at?: string;
|
|
55561
|
+
user_id?: string | null;
|
|
55562
|
+
};
|
|
55563
|
+
Update: {
|
|
55564
|
+
connection_id?: string;
|
|
55565
|
+
created_at?: string;
|
|
55566
|
+
erp_available_quantity?: number;
|
|
55567
|
+
floriday_desired_quantity?: number;
|
|
55568
|
+
floriday_remote_quantity?: number | null;
|
|
55569
|
+
granularity?: string;
|
|
55570
|
+
id?: string;
|
|
55571
|
+
snapshot_at?: string;
|
|
55572
|
+
user_id?: string | null;
|
|
55573
|
+
};
|
|
55574
|
+
Relationships: [];
|
|
55575
|
+
};
|
|
54131
55576
|
invoice_items: {
|
|
54132
55577
|
Row: {
|
|
54133
55578
|
created_at: string;
|
|
@@ -60143,6 +61588,39 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
60143
61588
|
};
|
|
60144
61589
|
Relationships: [];
|
|
60145
61590
|
};
|
|
61591
|
+
print_dedupe_events: {
|
|
61592
|
+
Row: {
|
|
61593
|
+
bestaande_job_id: string | null;
|
|
61594
|
+
created_at: string;
|
|
61595
|
+
detail: string | null;
|
|
61596
|
+
documentnaam: string | null;
|
|
61597
|
+
documenttype: string | null;
|
|
61598
|
+
id: string;
|
|
61599
|
+
idempotentie_sleutel: string;
|
|
61600
|
+
reden: string;
|
|
61601
|
+
};
|
|
61602
|
+
Insert: {
|
|
61603
|
+
bestaande_job_id?: string | null;
|
|
61604
|
+
created_at?: string;
|
|
61605
|
+
detail?: string | null;
|
|
61606
|
+
documentnaam?: string | null;
|
|
61607
|
+
documenttype?: string | null;
|
|
61608
|
+
id?: string;
|
|
61609
|
+
idempotentie_sleutel: string;
|
|
61610
|
+
reden: string;
|
|
61611
|
+
};
|
|
61612
|
+
Update: {
|
|
61613
|
+
bestaande_job_id?: string | null;
|
|
61614
|
+
created_at?: string;
|
|
61615
|
+
detail?: string | null;
|
|
61616
|
+
documentnaam?: string | null;
|
|
61617
|
+
documenttype?: string | null;
|
|
61618
|
+
id?: string;
|
|
61619
|
+
idempotentie_sleutel?: string;
|
|
61620
|
+
reden?: string;
|
|
61621
|
+
};
|
|
61622
|
+
Relationships: [];
|
|
61623
|
+
};
|
|
60146
61624
|
print_job_logs: {
|
|
60147
61625
|
Row: {
|
|
60148
61626
|
created_at: string;
|
|
@@ -60193,6 +61671,9 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
60193
61671
|
is_herprint: boolean;
|
|
60194
61672
|
kopieen: number;
|
|
60195
61673
|
layout_id: string | null;
|
|
61674
|
+
lokaal_opgeslagen_op: string | null;
|
|
61675
|
+
lokale_pdf_fout: string | null;
|
|
61676
|
+
lokale_pdf_status: string | null;
|
|
60196
61677
|
opgepakt_op: string | null;
|
|
60197
61678
|
paginas: number;
|
|
60198
61679
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -60201,6 +61682,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
60201
61682
|
pogingen: number;
|
|
60202
61683
|
printer_id: string | null;
|
|
60203
61684
|
render_html: string | null;
|
|
61685
|
+
resultaat_pdf_base64: string | null;
|
|
60204
61686
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
60205
61687
|
updated_at: string;
|
|
60206
61688
|
volgende_poging: string | null;
|
|
@@ -60225,6 +61707,9 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
60225
61707
|
is_herprint?: boolean;
|
|
60226
61708
|
kopieen?: number;
|
|
60227
61709
|
layout_id?: string | null;
|
|
61710
|
+
lokaal_opgeslagen_op?: string | null;
|
|
61711
|
+
lokale_pdf_fout?: string | null;
|
|
61712
|
+
lokale_pdf_status?: string | null;
|
|
60228
61713
|
opgepakt_op?: string | null;
|
|
60229
61714
|
paginas?: number;
|
|
60230
61715
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -60233,6 +61718,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
60233
61718
|
pogingen?: number;
|
|
60234
61719
|
printer_id?: string | null;
|
|
60235
61720
|
render_html?: string | null;
|
|
61721
|
+
resultaat_pdf_base64?: string | null;
|
|
60236
61722
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
60237
61723
|
updated_at?: string;
|
|
60238
61724
|
volgende_poging?: string | null;
|
|
@@ -60257,6 +61743,9 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
60257
61743
|
is_herprint?: boolean;
|
|
60258
61744
|
kopieen?: number;
|
|
60259
61745
|
layout_id?: string | null;
|
|
61746
|
+
lokaal_opgeslagen_op?: string | null;
|
|
61747
|
+
lokale_pdf_fout?: string | null;
|
|
61748
|
+
lokale_pdf_status?: string | null;
|
|
60260
61749
|
opgepakt_op?: string | null;
|
|
60261
61750
|
paginas?: number;
|
|
60262
61751
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -60265,6 +61754,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
60265
61754
|
pogingen?: number;
|
|
60266
61755
|
printer_id?: string | null;
|
|
60267
61756
|
render_html?: string | null;
|
|
61757
|
+
resultaat_pdf_base64?: string | null;
|
|
60268
61758
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
60269
61759
|
updated_at?: string;
|
|
60270
61760
|
volgende_poging?: string | null;
|
|
@@ -60383,6 +61873,39 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
60383
61873
|
};
|
|
60384
61874
|
Relationships: [];
|
|
60385
61875
|
};
|
|
61876
|
+
print_preview_events: {
|
|
61877
|
+
Row: {
|
|
61878
|
+
code: string | null;
|
|
61879
|
+
created_at: string;
|
|
61880
|
+
detail: import("../integrations/supabase/types").Json;
|
|
61881
|
+
id: string;
|
|
61882
|
+
queue_item_id: string | null;
|
|
61883
|
+
reden: string | null;
|
|
61884
|
+
station_slug: string | null;
|
|
61885
|
+
uitkomst: string;
|
|
61886
|
+
};
|
|
61887
|
+
Insert: {
|
|
61888
|
+
code?: string | null;
|
|
61889
|
+
created_at?: string;
|
|
61890
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
61891
|
+
id?: string;
|
|
61892
|
+
queue_item_id?: string | null;
|
|
61893
|
+
reden?: string | null;
|
|
61894
|
+
station_slug?: string | null;
|
|
61895
|
+
uitkomst?: string;
|
|
61896
|
+
};
|
|
61897
|
+
Update: {
|
|
61898
|
+
code?: string | null;
|
|
61899
|
+
created_at?: string;
|
|
61900
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
61901
|
+
id?: string;
|
|
61902
|
+
queue_item_id?: string | null;
|
|
61903
|
+
reden?: string | null;
|
|
61904
|
+
station_slug?: string | null;
|
|
61905
|
+
uitkomst?: string;
|
|
61906
|
+
};
|
|
61907
|
+
Relationships: [];
|
|
61908
|
+
};
|
|
60386
61909
|
print_queue_runners: {
|
|
60387
61910
|
Row: {
|
|
60388
61911
|
actief: boolean;
|
|
@@ -60622,6 +62145,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
60622
62145
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
60623
62146
|
online: boolean;
|
|
60624
62147
|
papierformaat: string;
|
|
62148
|
+
pdf_map: string | null;
|
|
60625
62149
|
poort: number | null;
|
|
60626
62150
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
60627
62151
|
systeemnaam: string;
|
|
@@ -60647,6 +62171,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
60647
62171
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
60648
62172
|
online?: boolean;
|
|
60649
62173
|
papierformaat?: string;
|
|
62174
|
+
pdf_map?: string | null;
|
|
60650
62175
|
poort?: number | null;
|
|
60651
62176
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
60652
62177
|
systeemnaam?: string;
|
|
@@ -60672,6 +62197,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
60672
62197
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
60673
62198
|
online?: boolean;
|
|
60674
62199
|
papierformaat?: string;
|
|
62200
|
+
pdf_map?: string | null;
|
|
60675
62201
|
poort?: number | null;
|
|
60676
62202
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
60677
62203
|
systeemnaam?: string;
|
|
@@ -63241,6 +64767,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
63241
64767
|
};
|
|
63242
64768
|
trade_item_stock: {
|
|
63243
64769
|
Row: {
|
|
64770
|
+
change_source: string;
|
|
63244
64771
|
connection_id: string;
|
|
63245
64772
|
created_at: string;
|
|
63246
64773
|
id: string;
|
|
@@ -63254,6 +64781,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
63254
64781
|
user_id: string;
|
|
63255
64782
|
};
|
|
63256
64783
|
Insert: {
|
|
64784
|
+
change_source?: string;
|
|
63257
64785
|
connection_id: string;
|
|
63258
64786
|
created_at?: string;
|
|
63259
64787
|
id?: string;
|
|
@@ -63267,6 +64795,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
63267
64795
|
user_id: string;
|
|
63268
64796
|
};
|
|
63269
64797
|
Update: {
|
|
64798
|
+
change_source?: string;
|
|
63270
64799
|
connection_id?: string;
|
|
63271
64800
|
created_at?: string;
|
|
63272
64801
|
id?: string;
|
|
@@ -66867,6 +68396,18 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
66867
68396
|
Args: never;
|
|
66868
68397
|
Returns: number;
|
|
66869
68398
|
};
|
|
68399
|
+
calculate_floriday_desired_stock: {
|
|
68400
|
+
Args: {
|
|
68401
|
+
p_connection_id: string;
|
|
68402
|
+
p_product_id: string;
|
|
68403
|
+
};
|
|
68404
|
+
Returns: {
|
|
68405
|
+
desired_availability: boolean;
|
|
68406
|
+
desired_quantity: number;
|
|
68407
|
+
erp_available: number;
|
|
68408
|
+
stock_mode: string;
|
|
68409
|
+
}[];
|
|
68410
|
+
};
|
|
66870
68411
|
calculate_layer_stock: {
|
|
66871
68412
|
Args: {
|
|
66872
68413
|
p_product_id: string;
|
|
@@ -66928,6 +68469,9 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
66928
68469
|
is_herprint: boolean;
|
|
66929
68470
|
kopieen: number;
|
|
66930
68471
|
layout_id: string | null;
|
|
68472
|
+
lokaal_opgeslagen_op: string | null;
|
|
68473
|
+
lokale_pdf_fout: string | null;
|
|
68474
|
+
lokale_pdf_status: string | null;
|
|
66931
68475
|
opgepakt_op: string | null;
|
|
66932
68476
|
paginas: number;
|
|
66933
68477
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -66936,6 +68480,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
66936
68480
|
pogingen: number;
|
|
66937
68481
|
printer_id: string | null;
|
|
66938
68482
|
render_html: string | null;
|
|
68483
|
+
resultaat_pdf_base64: string | null;
|
|
66939
68484
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
66940
68485
|
updated_at: string;
|
|
66941
68486
|
volgende_poging: string | null;
|
|
@@ -66957,6 +68502,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
66957
68502
|
attempts: number;
|
|
66958
68503
|
connection_id: string;
|
|
66959
68504
|
created_at: string;
|
|
68505
|
+
dead_lettered_at: string | null;
|
|
66960
68506
|
desired_available: boolean | null;
|
|
66961
68507
|
gateway_attempt_id: string | null;
|
|
66962
68508
|
id: string;
|
|
@@ -66965,9 +68511,13 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
66965
68511
|
locked_by: string | null;
|
|
66966
68512
|
next_attempt_at: string;
|
|
66967
68513
|
number_of_pieces: number;
|
|
68514
|
+
product_id: string | null;
|
|
66968
68515
|
sent_at: string | null;
|
|
66969
68516
|
status: string;
|
|
68517
|
+
stock_mode: string | null;
|
|
66970
68518
|
superseded_by: string | null;
|
|
68519
|
+
target_week: number | null;
|
|
68520
|
+
target_year: number | null;
|
|
66971
68521
|
trade_item_id: string;
|
|
66972
68522
|
updated_at: string;
|
|
66973
68523
|
user_id: string;
|
|
@@ -67027,6 +68577,53 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
67027
68577
|
isSetofReturn: true;
|
|
67028
68578
|
};
|
|
67029
68579
|
};
|
|
68580
|
+
claim_pdf_print_jobs: {
|
|
68581
|
+
Args: {
|
|
68582
|
+
_max?: number;
|
|
68583
|
+
};
|
|
68584
|
+
Returns: {
|
|
68585
|
+
agent_id: string | null;
|
|
68586
|
+
bron_job_id: string | null;
|
|
68587
|
+
created_at: string;
|
|
68588
|
+
documentnaam: string;
|
|
68589
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
68590
|
+
extern_job_id: string | null;
|
|
68591
|
+
foutmelding: string | null;
|
|
68592
|
+
gebruiker_id: string | null;
|
|
68593
|
+
gebruiker_naam: string;
|
|
68594
|
+
gebruikte_bron: string | null;
|
|
68595
|
+
gebruikte_layout_id: string | null;
|
|
68596
|
+
gestart_op: string | null;
|
|
68597
|
+
herkomst: string | null;
|
|
68598
|
+
id: string;
|
|
68599
|
+
idempotentie_sleutel: string | null;
|
|
68600
|
+
is_herprint: boolean;
|
|
68601
|
+
kopieen: number;
|
|
68602
|
+
layout_id: string | null;
|
|
68603
|
+
lokaal_opgeslagen_op: string | null;
|
|
68604
|
+
lokale_pdf_fout: string | null;
|
|
68605
|
+
lokale_pdf_status: string | null;
|
|
68606
|
+
opgepakt_op: string | null;
|
|
68607
|
+
paginas: number;
|
|
68608
|
+
payload: import("../integrations/supabase/types").Json;
|
|
68609
|
+
pdf_base64: string | null;
|
|
68610
|
+
pdf_url: string | null;
|
|
68611
|
+
pogingen: number;
|
|
68612
|
+
printer_id: string | null;
|
|
68613
|
+
render_html: string | null;
|
|
68614
|
+
resultaat_pdf_base64: string | null;
|
|
68615
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
68616
|
+
updated_at: string;
|
|
68617
|
+
volgende_poging: string | null;
|
|
68618
|
+
voltooid_op: string | null;
|
|
68619
|
+
}[];
|
|
68620
|
+
SetofOptions: {
|
|
68621
|
+
from: "*";
|
|
68622
|
+
to: "print_jobs";
|
|
68623
|
+
isOneToOne: false;
|
|
68624
|
+
isSetofReturn: true;
|
|
68625
|
+
};
|
|
68626
|
+
};
|
|
67030
68627
|
claim_print_jobs: {
|
|
67031
68628
|
Args: {
|
|
67032
68629
|
_agent_id: string;
|
|
@@ -67051,6 +68648,9 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
67051
68648
|
is_herprint: boolean;
|
|
67052
68649
|
kopieen: number;
|
|
67053
68650
|
layout_id: string | null;
|
|
68651
|
+
lokaal_opgeslagen_op: string | null;
|
|
68652
|
+
lokale_pdf_fout: string | null;
|
|
68653
|
+
lokale_pdf_status: string | null;
|
|
67054
68654
|
opgepakt_op: string | null;
|
|
67055
68655
|
paginas: number;
|
|
67056
68656
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -67059,6 +68659,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
67059
68659
|
pogingen: number;
|
|
67060
68660
|
printer_id: string | null;
|
|
67061
68661
|
render_html: string | null;
|
|
68662
|
+
resultaat_pdf_base64: string | null;
|
|
67062
68663
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
67063
68664
|
updated_at: string;
|
|
67064
68665
|
volgende_poging: string | null;
|
|
@@ -67199,6 +68800,8 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
67199
68800
|
order_id: string;
|
|
67200
68801
|
order_source: string;
|
|
67201
68802
|
pick_date: string;
|
|
68803
|
+
printed_at: string;
|
|
68804
|
+
printed_today: boolean;
|
|
67202
68805
|
status: string;
|
|
67203
68806
|
}[];
|
|
67204
68807
|
};
|
|
@@ -67395,6 +68998,24 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
67395
68998
|
};
|
|
67396
68999
|
Returns: string;
|
|
67397
69000
|
};
|
|
69001
|
+
floriday_capture_stock_snapshot: {
|
|
69002
|
+
Args: never;
|
|
69003
|
+
Returns: number;
|
|
69004
|
+
};
|
|
69005
|
+
floriday_cleanup_stock_queue_v2: {
|
|
69006
|
+
Args: never;
|
|
69007
|
+
Returns: undefined;
|
|
69008
|
+
};
|
|
69009
|
+
floriday_compact_stock_snapshots: {
|
|
69010
|
+
Args: never;
|
|
69011
|
+
Returns: undefined;
|
|
69012
|
+
};
|
|
69013
|
+
floriday_default_owner: {
|
|
69014
|
+
Args: {
|
|
69015
|
+
p_connection_id: string;
|
|
69016
|
+
};
|
|
69017
|
+
Returns: string;
|
|
69018
|
+
};
|
|
67398
69019
|
floriday_effective_price: {
|
|
67399
69020
|
Args: {
|
|
67400
69021
|
_buyer_id: string;
|
|
@@ -67412,6 +69033,22 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
67412
69033
|
source_id: string;
|
|
67413
69034
|
}[];
|
|
67414
69035
|
};
|
|
69036
|
+
floriday_fill_publish_horizon: {
|
|
69037
|
+
Args: never;
|
|
69038
|
+
Returns: number;
|
|
69039
|
+
};
|
|
69040
|
+
floriday_publish_horizon_weeks: {
|
|
69041
|
+
Args: never;
|
|
69042
|
+
Returns: number;
|
|
69043
|
+
};
|
|
69044
|
+
floriday_recompute_inventory: {
|
|
69045
|
+
Args: {
|
|
69046
|
+
p_connection_id: string;
|
|
69047
|
+
p_force?: boolean;
|
|
69048
|
+
p_product_id: string;
|
|
69049
|
+
};
|
|
69050
|
+
Returns: undefined;
|
|
69051
|
+
};
|
|
67415
69052
|
format_cart_number: {
|
|
67416
69053
|
Args: {
|
|
67417
69054
|
p_pick_date: string;
|
|
@@ -67907,6 +69544,10 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
67907
69544
|
};
|
|
67908
69545
|
Returns: number;
|
|
67909
69546
|
};
|
|
69547
|
+
logistics_cancel_orphan_tasks: {
|
|
69548
|
+
Args: never;
|
|
69549
|
+
Returns: number;
|
|
69550
|
+
};
|
|
67910
69551
|
logistics_capacity_day_check: {
|
|
67911
69552
|
Args: {
|
|
67912
69553
|
p_from?: string;
|
|
@@ -67927,6 +69568,25 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
67927
69568
|
};
|
|
67928
69569
|
Returns: number;
|
|
67929
69570
|
};
|
|
69571
|
+
logistics_cart_index: {
|
|
69572
|
+
Args: {
|
|
69573
|
+
p_from?: string;
|
|
69574
|
+
p_to?: string;
|
|
69575
|
+
};
|
|
69576
|
+
Returns: {
|
|
69577
|
+
cart_id: string;
|
|
69578
|
+
cart_index: number;
|
|
69579
|
+
cart_label: string;
|
|
69580
|
+
is_shared: boolean;
|
|
69581
|
+
order_number: string;
|
|
69582
|
+
order_source: string;
|
|
69583
|
+
order_uuid: string;
|
|
69584
|
+
pick_date: string;
|
|
69585
|
+
printed_at: string;
|
|
69586
|
+
shifted: boolean;
|
|
69587
|
+
task_status: string;
|
|
69588
|
+
}[];
|
|
69589
|
+
};
|
|
67930
69590
|
logistics_check_order_allowed: {
|
|
67931
69591
|
Args: {
|
|
67932
69592
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -68075,6 +69735,17 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
68075
69735
|
isSetofReturn: false;
|
|
68076
69736
|
};
|
|
68077
69737
|
};
|
|
69738
|
+
logistics_consistency_check: {
|
|
69739
|
+
Args: never;
|
|
69740
|
+
Returns: {
|
|
69741
|
+
agenda_carts: number;
|
|
69742
|
+
control_carts: number;
|
|
69743
|
+
ok: boolean;
|
|
69744
|
+
orphan_tasks: number;
|
|
69745
|
+
pick_date: string;
|
|
69746
|
+
raw_carts: number;
|
|
69747
|
+
}[];
|
|
69748
|
+
};
|
|
68078
69749
|
logistics_delay_customer_email: {
|
|
68079
69750
|
Args: {
|
|
68080
69751
|
p_customer: string;
|
|
@@ -68164,6 +69835,16 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
68164
69835
|
isSetofReturn: false;
|
|
68165
69836
|
};
|
|
68166
69837
|
};
|
|
69838
|
+
logistics_floriday_cart_plan: {
|
|
69839
|
+
Args: {
|
|
69840
|
+
p_order_id: string;
|
|
69841
|
+
};
|
|
69842
|
+
Returns: {
|
|
69843
|
+
carrier_type: string;
|
|
69844
|
+
idx: number;
|
|
69845
|
+
packages: number;
|
|
69846
|
+
}[];
|
|
69847
|
+
};
|
|
68167
69848
|
logistics_floriday_claim_pushes: {
|
|
68168
69849
|
Args: {
|
|
68169
69850
|
_lease_seconds?: number;
|
|
@@ -68268,6 +69949,25 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
68268
69949
|
};
|
|
68269
69950
|
Returns: number;
|
|
68270
69951
|
};
|
|
69952
|
+
logistics_order_overview: {
|
|
69953
|
+
Args: {
|
|
69954
|
+
p_from?: string;
|
|
69955
|
+
p_to?: string;
|
|
69956
|
+
};
|
|
69957
|
+
Returns: {
|
|
69958
|
+
cart_count: number;
|
|
69959
|
+
customer_name: string;
|
|
69960
|
+
delivery_date: string;
|
|
69961
|
+
order_number: string;
|
|
69962
|
+
order_source: string;
|
|
69963
|
+
order_uuid: string;
|
|
69964
|
+
pick_date: string;
|
|
69965
|
+
plant_count: number;
|
|
69966
|
+
printed_at: string;
|
|
69967
|
+
shifted: boolean;
|
|
69968
|
+
status: string;
|
|
69969
|
+
}[];
|
|
69970
|
+
};
|
|
68271
69971
|
logistics_order_pick_day: {
|
|
68272
69972
|
Args: {
|
|
68273
69973
|
p_order_ref: string;
|
|
@@ -68280,6 +69980,22 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
68280
69980
|
};
|
|
68281
69981
|
Returns: string;
|
|
68282
69982
|
};
|
|
69983
|
+
logistics_pick_agenda: {
|
|
69984
|
+
Args: {
|
|
69985
|
+
p_from?: string;
|
|
69986
|
+
p_to?: string;
|
|
69987
|
+
};
|
|
69988
|
+
Returns: {
|
|
69989
|
+
cart_count: number;
|
|
69990
|
+
in_preparation: number;
|
|
69991
|
+
order_count: number;
|
|
69992
|
+
orders: import("../integrations/supabase/types").Json;
|
|
69993
|
+
pick_date: string;
|
|
69994
|
+
plant_count: number;
|
|
69995
|
+
ready: number;
|
|
69996
|
+
shifted_count: number;
|
|
69997
|
+
}[];
|
|
69998
|
+
};
|
|
68283
69999
|
logistics_pick_email_purpose: {
|
|
68284
70000
|
Args: never;
|
|
68285
70001
|
Returns: string;
|
|
@@ -68334,6 +70050,13 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
68334
70050
|
};
|
|
68335
70051
|
Returns: undefined;
|
|
68336
70052
|
};
|
|
70053
|
+
logistics_plan_floriday_order: {
|
|
70054
|
+
Args: {
|
|
70055
|
+
p_buffer_id?: string;
|
|
70056
|
+
p_order_id: string;
|
|
70057
|
+
};
|
|
70058
|
+
Returns: number;
|
|
70059
|
+
};
|
|
68337
70060
|
logistics_plan_impact_orders: {
|
|
68338
70061
|
Args: {
|
|
68339
70062
|
p_order_id: string;
|
|
@@ -68439,6 +70162,15 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
68439
70162
|
};
|
|
68440
70163
|
Returns: import("../integrations/supabase/types").Json;
|
|
68441
70164
|
};
|
|
70165
|
+
logistics_resolve_pick_document: {
|
|
70166
|
+
Args: {
|
|
70167
|
+
_is_herprint: boolean;
|
|
70168
|
+
_queue_item_id: string;
|
|
70169
|
+
_session_id: string;
|
|
70170
|
+
_voorbeeld: boolean;
|
|
70171
|
+
};
|
|
70172
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
70173
|
+
};
|
|
68442
70174
|
logistics_resolve_settings: {
|
|
68443
70175
|
Args: {
|
|
68444
70176
|
p_config_id: string;
|
|
@@ -68879,6 +70611,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
68879
70611
|
};
|
|
68880
70612
|
pick_enqueue_print_job: {
|
|
68881
70613
|
Args: {
|
|
70614
|
+
_is_herprint?: boolean;
|
|
68882
70615
|
_printer_id?: string;
|
|
68883
70616
|
_queue_item_id: string;
|
|
68884
70617
|
_session_id?: string;
|
|
@@ -68892,6 +70625,13 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
68892
70625
|
};
|
|
68893
70626
|
Returns: import("../integrations/supabase/types").Json;
|
|
68894
70627
|
};
|
|
70628
|
+
pick_preview_job: {
|
|
70629
|
+
Args: {
|
|
70630
|
+
_queue_item_id: string;
|
|
70631
|
+
_station_slug: string;
|
|
70632
|
+
};
|
|
70633
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
70634
|
+
};
|
|
68895
70635
|
pick_print_job_status: {
|
|
68896
70636
|
Args: {
|
|
68897
70637
|
_job_id: string;
|
|
@@ -69069,6 +70809,24 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
69069
70809
|
};
|
|
69070
70810
|
Returns: undefined;
|
|
69071
70811
|
};
|
|
70812
|
+
print_preview_toestaan: {
|
|
70813
|
+
Args: {
|
|
70814
|
+
_max?: number;
|
|
70815
|
+
_queue_item_id: string;
|
|
70816
|
+
_station_slug: string;
|
|
70817
|
+
_venster_sec?: number;
|
|
70818
|
+
};
|
|
70819
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
70820
|
+
};
|
|
70821
|
+
print_preview_weiger: {
|
|
70822
|
+
Args: {
|
|
70823
|
+
_code: string;
|
|
70824
|
+
_queue_item_id: string;
|
|
70825
|
+
_reden: string;
|
|
70826
|
+
_station_slug: string;
|
|
70827
|
+
};
|
|
70828
|
+
Returns: undefined;
|
|
70829
|
+
};
|
|
69072
70830
|
process_logistics_event: {
|
|
69073
70831
|
Args: {
|
|
69074
70832
|
p_event_id: string;
|
|
@@ -69223,6 +70981,12 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
69223
70981
|
};
|
|
69224
70982
|
Returns: string;
|
|
69225
70983
|
};
|
|
70984
|
+
resolve_print_job_printer_id: {
|
|
70985
|
+
Args: {
|
|
70986
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
70987
|
+
};
|
|
70988
|
+
Returns: string;
|
|
70989
|
+
};
|
|
69226
70990
|
resolve_product_id_for_item: {
|
|
69227
70991
|
Args: {
|
|
69228
70992
|
p_product_name: string;
|
|
@@ -69814,7 +71578,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
69814
71578
|
};
|
|
69815
71579
|
CompositeTypes: { [_ in never]: never; };
|
|
69816
71580
|
}, {
|
|
69817
|
-
PostgrestVersion: "14.
|
|
71581
|
+
PostgrestVersion: "14.5";
|
|
69818
71582
|
}>;
|
|
69819
71583
|
userId: string;
|
|
69820
71584
|
claims: import("@supabase/auth-js").User;
|
|
@@ -70026,7 +71790,9 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
70026
71790
|
refresh_token?: string | null;
|
|
70027
71791
|
scope?: string | null;
|
|
70028
71792
|
token_expires_at?: string | null;
|
|
70029
|
-
updated_at
|
|
71793
|
+
updated_at
|
|
71794
|
+
/** Buffer handmatig vrijgeven (release === "manual"): taak afmelden als done. */
|
|
71795
|
+
? /** Buffer handmatig vrijgeven (release === "manual"): taak afmelden als done. */: string;
|
|
70030
71796
|
user_id: string;
|
|
70031
71797
|
};
|
|
70032
71798
|
Update: {
|
|
@@ -72682,6 +74448,84 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
72682
74448
|
};
|
|
72683
74449
|
Relationships: [];
|
|
72684
74450
|
};
|
|
74451
|
+
delivery_notes: {
|
|
74452
|
+
Row: {
|
|
74453
|
+
byte_size: number | null;
|
|
74454
|
+
connection_id: string | null;
|
|
74455
|
+
content_type: string;
|
|
74456
|
+
created_at: string;
|
|
74457
|
+
error_message: string | null;
|
|
74458
|
+
fetched_at: string | null;
|
|
74459
|
+
fulfillment_order_id: string | null;
|
|
74460
|
+
http_status: number | null;
|
|
74461
|
+
id: string;
|
|
74462
|
+
label_code: string | null;
|
|
74463
|
+
letter: string | null;
|
|
74464
|
+
load_carrier_index: number | null;
|
|
74465
|
+
load_carrier_type: string | null;
|
|
74466
|
+
order_id: string | null;
|
|
74467
|
+
order_number: string | null;
|
|
74468
|
+
packages: number | null;
|
|
74469
|
+
source: string;
|
|
74470
|
+
status: string;
|
|
74471
|
+
storage_bucket: string;
|
|
74472
|
+
storage_path: string | null;
|
|
74473
|
+
updated_at: string;
|
|
74474
|
+
};
|
|
74475
|
+
Insert: {
|
|
74476
|
+
byte_size?: number | null;
|
|
74477
|
+
connection_id?: string | null;
|
|
74478
|
+
content_type?: string;
|
|
74479
|
+
created_at?: string;
|
|
74480
|
+
error_message?: string | null;
|
|
74481
|
+
fetched_at?: string | null;
|
|
74482
|
+
fulfillment_order_id?: string | null;
|
|
74483
|
+
http_status?: number | null;
|
|
74484
|
+
id?: string;
|
|
74485
|
+
label_code?: string | null;
|
|
74486
|
+
letter?: string | null;
|
|
74487
|
+
load_carrier_index?: number | null;
|
|
74488
|
+
load_carrier_type?: string | null;
|
|
74489
|
+
order_id?: string | null;
|
|
74490
|
+
order_number?: string | null;
|
|
74491
|
+
packages?: number | null;
|
|
74492
|
+
source?: string;
|
|
74493
|
+
status?: string;
|
|
74494
|
+
storage_bucket?: string;
|
|
74495
|
+
storage_path?: string | null;
|
|
74496
|
+
updated_at?: string;
|
|
74497
|
+
};
|
|
74498
|
+
Update: {
|
|
74499
|
+
byte_size?: number | null;
|
|
74500
|
+
connection_id?: string | null;
|
|
74501
|
+
content_type?: string;
|
|
74502
|
+
created_at?: string;
|
|
74503
|
+
error_message?: string | null;
|
|
74504
|
+
fetched_at?: string | null;
|
|
74505
|
+
fulfillment_order_id?: string | null;
|
|
74506
|
+
http_status?: number | null;
|
|
74507
|
+
id?: string;
|
|
74508
|
+
label_code?: string | null;
|
|
74509
|
+
letter?: string | null;
|
|
74510
|
+
load_carrier_index?: number | null;
|
|
74511
|
+
load_carrier_type?: string | null;
|
|
74512
|
+
order_id?: string | null;
|
|
74513
|
+
order_number?: string | null;
|
|
74514
|
+
packages?: number | null;
|
|
74515
|
+
source?: string;
|
|
74516
|
+
status?: string;
|
|
74517
|
+
storage_bucket?: string;
|
|
74518
|
+
storage_path?: string | null;
|
|
74519
|
+
updated_at?: string;
|
|
74520
|
+
};
|
|
74521
|
+
Relationships: [{
|
|
74522
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
74523
|
+
columns: ["order_id"];
|
|
74524
|
+
isOneToOne: false;
|
|
74525
|
+
referencedRelation: "orders";
|
|
74526
|
+
referencedColumns: ["id"];
|
|
74527
|
+
}];
|
|
74528
|
+
};
|
|
72685
74529
|
document_bronregels: {
|
|
72686
74530
|
Row: {
|
|
72687
74531
|
bron: string;
|
|
@@ -75735,10 +77579,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
75735
77579
|
};
|
|
75736
77580
|
floriday_connections: {
|
|
75737
77581
|
Row: {
|
|
75738
|
-
access_token: string | null;
|
|
75739
77582
|
api_key: string;
|
|
75740
|
-
client_id: string;
|
|
75741
|
-
client_secret: string;
|
|
75742
77583
|
created_at: string;
|
|
75743
77584
|
customers_endpoint: string | null;
|
|
75744
77585
|
environment: string;
|
|
@@ -75753,10 +77594,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
75753
77594
|
updated_at: string;
|
|
75754
77595
|
};
|
|
75755
77596
|
Insert: {
|
|
75756
|
-
access_token?: string | null;
|
|
75757
77597
|
api_key: string;
|
|
75758
|
-
client_id: string;
|
|
75759
|
-
client_secret: string;
|
|
75760
77598
|
created_at?: string;
|
|
75761
77599
|
customers_endpoint?: string | null;
|
|
75762
77600
|
environment: string;
|
|
@@ -75771,10 +77609,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
75771
77609
|
updated_at?: string;
|
|
75772
77610
|
};
|
|
75773
77611
|
Update: {
|
|
75774
|
-
access_token?: string | null;
|
|
75775
77612
|
api_key?: string;
|
|
75776
|
-
client_id?: string;
|
|
75777
|
-
client_secret?: string;
|
|
75778
77613
|
created_at?: string;
|
|
75779
77614
|
customers_endpoint?: string | null;
|
|
75780
77615
|
environment?: string;
|
|
@@ -75858,6 +77693,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
75858
77693
|
attempts: number;
|
|
75859
77694
|
connection_id: string;
|
|
75860
77695
|
created_at: string;
|
|
77696
|
+
dead_lettered_at: string | null;
|
|
75861
77697
|
desired_available: boolean | null;
|
|
75862
77698
|
gateway_attempt_id: string | null;
|
|
75863
77699
|
id: string;
|
|
@@ -75866,9 +77702,13 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
75866
77702
|
locked_by: string | null;
|
|
75867
77703
|
next_attempt_at: string;
|
|
75868
77704
|
number_of_pieces: number;
|
|
77705
|
+
product_id: string | null;
|
|
75869
77706
|
sent_at: string | null;
|
|
75870
77707
|
status: string;
|
|
77708
|
+
stock_mode: string | null;
|
|
75871
77709
|
superseded_by: string | null;
|
|
77710
|
+
target_week: number | null;
|
|
77711
|
+
target_year: number | null;
|
|
75872
77712
|
trade_item_id: string;
|
|
75873
77713
|
updated_at: string;
|
|
75874
77714
|
user_id: string;
|
|
@@ -75877,6 +77717,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
75877
77717
|
attempts?: number;
|
|
75878
77718
|
connection_id: string;
|
|
75879
77719
|
created_at?: string;
|
|
77720
|
+
dead_lettered_at?: string | null;
|
|
75880
77721
|
desired_available?: boolean | null;
|
|
75881
77722
|
gateway_attempt_id?: string | null;
|
|
75882
77723
|
id?: string;
|
|
@@ -75885,9 +77726,13 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
75885
77726
|
locked_by?: string | null;
|
|
75886
77727
|
next_attempt_at?: string;
|
|
75887
77728
|
number_of_pieces?: number;
|
|
77729
|
+
product_id?: string | null;
|
|
75888
77730
|
sent_at?: string | null;
|
|
75889
77731
|
status?: string;
|
|
77732
|
+
stock_mode?: string | null;
|
|
75890
77733
|
superseded_by?: string | null;
|
|
77734
|
+
target_week?: number | null;
|
|
77735
|
+
target_year?: number | null;
|
|
75891
77736
|
trade_item_id: string;
|
|
75892
77737
|
updated_at?: string;
|
|
75893
77738
|
user_id: string;
|
|
@@ -75896,6 +77741,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
75896
77741
|
attempts?: number;
|
|
75897
77742
|
connection_id?: string;
|
|
75898
77743
|
created_at?: string;
|
|
77744
|
+
dead_lettered_at?: string | null;
|
|
75899
77745
|
desired_available?: boolean | null;
|
|
75900
77746
|
gateway_attempt_id?: string | null;
|
|
75901
77747
|
id?: string;
|
|
@@ -75904,9 +77750,13 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
75904
77750
|
locked_by?: string | null;
|
|
75905
77751
|
next_attempt_at?: string;
|
|
75906
77752
|
number_of_pieces?: number;
|
|
77753
|
+
product_id?: string | null;
|
|
75907
77754
|
sent_at?: string | null;
|
|
75908
77755
|
status?: string;
|
|
77756
|
+
stock_mode?: string | null;
|
|
75909
77757
|
superseded_by?: string | null;
|
|
77758
|
+
target_week?: number | null;
|
|
77759
|
+
target_year?: number | null;
|
|
75910
77760
|
trade_item_id?: string;
|
|
75911
77761
|
updated_at?: string;
|
|
75912
77762
|
user_id?: string;
|
|
@@ -76315,6 +78165,87 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
76315
78165
|
referencedColumns: ["id"];
|
|
76316
78166
|
}];
|
|
76317
78167
|
};
|
|
78168
|
+
floriday_inventory_settings: {
|
|
78169
|
+
Row: {
|
|
78170
|
+
buffer_quantity: number;
|
|
78171
|
+
connection_id: string;
|
|
78172
|
+
created_at: string;
|
|
78173
|
+
desired_availability: boolean;
|
|
78174
|
+
desired_quantity: number;
|
|
78175
|
+
fixed_quantity: number | null;
|
|
78176
|
+
floriday_trade_item_id: string | null;
|
|
78177
|
+
id: string;
|
|
78178
|
+
last_confirmed_at: string | null;
|
|
78179
|
+
last_enqueued_at: string | null;
|
|
78180
|
+
last_published_at: string | null;
|
|
78181
|
+
last_sync_error: string | null;
|
|
78182
|
+
manual_quantity: number | null;
|
|
78183
|
+
maximum_quantity: number | null;
|
|
78184
|
+
product_id: string;
|
|
78185
|
+
quantity_control: string;
|
|
78186
|
+
remote_available: boolean | null;
|
|
78187
|
+
remote_checked_at: string | null;
|
|
78188
|
+
remote_quantity: number | null;
|
|
78189
|
+
stock_mode: string;
|
|
78190
|
+
sync_status: string;
|
|
78191
|
+
updated_at: string;
|
|
78192
|
+
updated_by: string | null;
|
|
78193
|
+
user_id: string;
|
|
78194
|
+
};
|
|
78195
|
+
Insert: {
|
|
78196
|
+
buffer_quantity?: number;
|
|
78197
|
+
connection_id: string;
|
|
78198
|
+
created_at?: string;
|
|
78199
|
+
desired_availability?: boolean;
|
|
78200
|
+
desired_quantity?: number;
|
|
78201
|
+
fixed_quantity?: number | null;
|
|
78202
|
+
floriday_trade_item_id?: string | null;
|
|
78203
|
+
id?: string;
|
|
78204
|
+
last_confirmed_at?: string | null;
|
|
78205
|
+
last_enqueued_at?: string | null;
|
|
78206
|
+
last_published_at?: string | null;
|
|
78207
|
+
last_sync_error?: string | null;
|
|
78208
|
+
manual_quantity?: number | null;
|
|
78209
|
+
maximum_quantity?: number | null;
|
|
78210
|
+
product_id: string;
|
|
78211
|
+
quantity_control?: string;
|
|
78212
|
+
remote_available?: boolean | null;
|
|
78213
|
+
remote_checked_at?: string | null;
|
|
78214
|
+
remote_quantity?: number | null;
|
|
78215
|
+
stock_mode?: string;
|
|
78216
|
+
sync_status?: string;
|
|
78217
|
+
updated_at?: string;
|
|
78218
|
+
updated_by?: string | null;
|
|
78219
|
+
user_id: string;
|
|
78220
|
+
};
|
|
78221
|
+
Update: {
|
|
78222
|
+
buffer_quantity?: number;
|
|
78223
|
+
connection_id?: string;
|
|
78224
|
+
created_at?: string;
|
|
78225
|
+
desired_availability?: boolean;
|
|
78226
|
+
desired_quantity?: number;
|
|
78227
|
+
fixed_quantity?: number | null;
|
|
78228
|
+
floriday_trade_item_id?: string | null;
|
|
78229
|
+
id?: string;
|
|
78230
|
+
last_confirmed_at?: string | null;
|
|
78231
|
+
last_enqueued_at?: string | null;
|
|
78232
|
+
last_published_at?: string | null;
|
|
78233
|
+
last_sync_error?: string | null;
|
|
78234
|
+
manual_quantity?: number | null;
|
|
78235
|
+
maximum_quantity?: number | null;
|
|
78236
|
+
product_id?: string;
|
|
78237
|
+
quantity_control?: string;
|
|
78238
|
+
remote_available?: boolean | null;
|
|
78239
|
+
remote_checked_at?: string | null;
|
|
78240
|
+
remote_quantity?: number | null;
|
|
78241
|
+
stock_mode?: string;
|
|
78242
|
+
sync_status?: string;
|
|
78243
|
+
updated_at?: string;
|
|
78244
|
+
updated_by?: string | null;
|
|
78245
|
+
user_id?: string;
|
|
78246
|
+
};
|
|
78247
|
+
Relationships: [];
|
|
78248
|
+
};
|
|
76318
78249
|
floriday_invoices_cache: {
|
|
76319
78250
|
Row: {
|
|
76320
78251
|
buyer_organization_id: string | null;
|
|
@@ -76603,6 +78534,39 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
76603
78534
|
};
|
|
76604
78535
|
Relationships: [];
|
|
76605
78536
|
};
|
|
78537
|
+
floriday_sales_order_ingest: {
|
|
78538
|
+
Row: {
|
|
78539
|
+
connection_id: string;
|
|
78540
|
+
created_at: string;
|
|
78541
|
+
id: string;
|
|
78542
|
+
impact: import("../integrations/supabase/types").Json;
|
|
78543
|
+
order_status: string | null;
|
|
78544
|
+
order_version: number;
|
|
78545
|
+
processed_at: string;
|
|
78546
|
+
sales_order_id: string;
|
|
78547
|
+
};
|
|
78548
|
+
Insert: {
|
|
78549
|
+
connection_id: string;
|
|
78550
|
+
created_at?: string;
|
|
78551
|
+
id?: string;
|
|
78552
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
78553
|
+
order_status?: string | null;
|
|
78554
|
+
order_version?: number;
|
|
78555
|
+
processed_at?: string;
|
|
78556
|
+
sales_order_id: string;
|
|
78557
|
+
};
|
|
78558
|
+
Update: {
|
|
78559
|
+
connection_id?: string;
|
|
78560
|
+
created_at?: string;
|
|
78561
|
+
id?: string;
|
|
78562
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
78563
|
+
order_status?: string | null;
|
|
78564
|
+
order_version?: number;
|
|
78565
|
+
processed_at?: string;
|
|
78566
|
+
sales_order_id?: string;
|
|
78567
|
+
};
|
|
78568
|
+
Relationships: [];
|
|
78569
|
+
};
|
|
76606
78570
|
floriday_sales_strategies_cache: {
|
|
76607
78571
|
Row: {
|
|
76608
78572
|
connection_id: string;
|
|
@@ -76702,6 +78666,39 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
76702
78666
|
};
|
|
76703
78667
|
Relationships: [];
|
|
76704
78668
|
};
|
|
78669
|
+
floriday_sync_cursors: {
|
|
78670
|
+
Row: {
|
|
78671
|
+
connection_id: string;
|
|
78672
|
+
created_at: string;
|
|
78673
|
+
id: string;
|
|
78674
|
+
last_error: string | null;
|
|
78675
|
+
last_sync_at: string | null;
|
|
78676
|
+
resource_type: string;
|
|
78677
|
+
sequence_number: number;
|
|
78678
|
+
updated_at: string;
|
|
78679
|
+
};
|
|
78680
|
+
Insert: {
|
|
78681
|
+
connection_id: string;
|
|
78682
|
+
created_at?: string;
|
|
78683
|
+
id?: string;
|
|
78684
|
+
last_error?: string | null;
|
|
78685
|
+
last_sync_at?: string | null;
|
|
78686
|
+
resource_type: string;
|
|
78687
|
+
sequence_number?: number;
|
|
78688
|
+
updated_at?: string;
|
|
78689
|
+
};
|
|
78690
|
+
Update: {
|
|
78691
|
+
connection_id?: string;
|
|
78692
|
+
created_at?: string;
|
|
78693
|
+
id?: string;
|
|
78694
|
+
last_error?: string | null;
|
|
78695
|
+
last_sync_at?: string | null;
|
|
78696
|
+
resource_type?: string;
|
|
78697
|
+
sequence_number?: number;
|
|
78698
|
+
updated_at?: string;
|
|
78699
|
+
};
|
|
78700
|
+
Relationships: [];
|
|
78701
|
+
};
|
|
76705
78702
|
floriday_sync_state: {
|
|
76706
78703
|
Row: {
|
|
76707
78704
|
connection_id: string;
|
|
@@ -77392,6 +79389,42 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
77392
79389
|
};
|
|
77393
79390
|
Relationships: [];
|
|
77394
79391
|
};
|
|
79392
|
+
inventory_stock_snapshots: {
|
|
79393
|
+
Row: {
|
|
79394
|
+
connection_id: string;
|
|
79395
|
+
created_at: string;
|
|
79396
|
+
erp_available_quantity: number;
|
|
79397
|
+
floriday_desired_quantity: number;
|
|
79398
|
+
floriday_remote_quantity: number | null;
|
|
79399
|
+
granularity: string;
|
|
79400
|
+
id: string;
|
|
79401
|
+
snapshot_at: string;
|
|
79402
|
+
user_id: string | null;
|
|
79403
|
+
};
|
|
79404
|
+
Insert: {
|
|
79405
|
+
connection_id: string;
|
|
79406
|
+
created_at?: string;
|
|
79407
|
+
erp_available_quantity?: number;
|
|
79408
|
+
floriday_desired_quantity?: number;
|
|
79409
|
+
floriday_remote_quantity?: number | null;
|
|
79410
|
+
granularity?: string;
|
|
79411
|
+
id?: string;
|
|
79412
|
+
snapshot_at?: string;
|
|
79413
|
+
user_id?: string | null;
|
|
79414
|
+
};
|
|
79415
|
+
Update: {
|
|
79416
|
+
connection_id?: string;
|
|
79417
|
+
created_at?: string;
|
|
79418
|
+
erp_available_quantity?: number;
|
|
79419
|
+
floriday_desired_quantity?: number;
|
|
79420
|
+
floriday_remote_quantity?: number | null;
|
|
79421
|
+
granularity?: string;
|
|
79422
|
+
id?: string;
|
|
79423
|
+
snapshot_at?: string;
|
|
79424
|
+
user_id?: string | null;
|
|
79425
|
+
};
|
|
79426
|
+
Relationships: [];
|
|
79427
|
+
};
|
|
77395
79428
|
invoice_items: {
|
|
77396
79429
|
Row: {
|
|
77397
79430
|
created_at: string;
|
|
@@ -83407,6 +85440,39 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
83407
85440
|
};
|
|
83408
85441
|
Relationships: [];
|
|
83409
85442
|
};
|
|
85443
|
+
print_dedupe_events: {
|
|
85444
|
+
Row: {
|
|
85445
|
+
bestaande_job_id: string | null;
|
|
85446
|
+
created_at: string;
|
|
85447
|
+
detail: string | null;
|
|
85448
|
+
documentnaam: string | null;
|
|
85449
|
+
documenttype: string | null;
|
|
85450
|
+
id: string;
|
|
85451
|
+
idempotentie_sleutel: string;
|
|
85452
|
+
reden: string;
|
|
85453
|
+
};
|
|
85454
|
+
Insert: {
|
|
85455
|
+
bestaande_job_id?: string | null;
|
|
85456
|
+
created_at?: string;
|
|
85457
|
+
detail?: string | null;
|
|
85458
|
+
documentnaam?: string | null;
|
|
85459
|
+
documenttype?: string | null;
|
|
85460
|
+
id?: string;
|
|
85461
|
+
idempotentie_sleutel: string;
|
|
85462
|
+
reden: string;
|
|
85463
|
+
};
|
|
85464
|
+
Update: {
|
|
85465
|
+
bestaande_job_id?: string | null;
|
|
85466
|
+
created_at?: string;
|
|
85467
|
+
detail?: string | null;
|
|
85468
|
+
documentnaam?: string | null;
|
|
85469
|
+
documenttype?: string | null;
|
|
85470
|
+
id?: string;
|
|
85471
|
+
idempotentie_sleutel?: string;
|
|
85472
|
+
reden?: string;
|
|
85473
|
+
};
|
|
85474
|
+
Relationships: [];
|
|
85475
|
+
};
|
|
83410
85476
|
print_job_logs: {
|
|
83411
85477
|
Row: {
|
|
83412
85478
|
created_at: string;
|
|
@@ -83457,6 +85523,9 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
83457
85523
|
is_herprint: boolean;
|
|
83458
85524
|
kopieen: number;
|
|
83459
85525
|
layout_id: string | null;
|
|
85526
|
+
lokaal_opgeslagen_op: string | null;
|
|
85527
|
+
lokale_pdf_fout: string | null;
|
|
85528
|
+
lokale_pdf_status: string | null;
|
|
83460
85529
|
opgepakt_op: string | null;
|
|
83461
85530
|
paginas: number;
|
|
83462
85531
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -83465,6 +85534,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
83465
85534
|
pogingen: number;
|
|
83466
85535
|
printer_id: string | null;
|
|
83467
85536
|
render_html: string | null;
|
|
85537
|
+
resultaat_pdf_base64: string | null;
|
|
83468
85538
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
83469
85539
|
updated_at: string;
|
|
83470
85540
|
volgende_poging: string | null;
|
|
@@ -83489,6 +85559,9 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
83489
85559
|
is_herprint?: boolean;
|
|
83490
85560
|
kopieen?: number;
|
|
83491
85561
|
layout_id?: string | null;
|
|
85562
|
+
lokaal_opgeslagen_op?: string | null;
|
|
85563
|
+
lokale_pdf_fout?: string | null;
|
|
85564
|
+
lokale_pdf_status?: string | null;
|
|
83492
85565
|
opgepakt_op?: string | null;
|
|
83493
85566
|
paginas?: number;
|
|
83494
85567
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -83497,6 +85570,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
83497
85570
|
pogingen?: number;
|
|
83498
85571
|
printer_id?: string | null;
|
|
83499
85572
|
render_html?: string | null;
|
|
85573
|
+
resultaat_pdf_base64?: string | null;
|
|
83500
85574
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
83501
85575
|
updated_at?: string;
|
|
83502
85576
|
volgende_poging?: string | null;
|
|
@@ -83521,6 +85595,9 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
83521
85595
|
is_herprint?: boolean;
|
|
83522
85596
|
kopieen?: number;
|
|
83523
85597
|
layout_id?: string | null;
|
|
85598
|
+
lokaal_opgeslagen_op?: string | null;
|
|
85599
|
+
lokale_pdf_fout?: string | null;
|
|
85600
|
+
lokale_pdf_status?: string | null;
|
|
83524
85601
|
opgepakt_op?: string | null;
|
|
83525
85602
|
paginas?: number;
|
|
83526
85603
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -83529,6 +85606,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
83529
85606
|
pogingen?: number;
|
|
83530
85607
|
printer_id?: string | null;
|
|
83531
85608
|
render_html?: string | null;
|
|
85609
|
+
resultaat_pdf_base64?: string | null;
|
|
83532
85610
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
83533
85611
|
updated_at?: string;
|
|
83534
85612
|
volgende_poging?: string | null;
|
|
@@ -83647,6 +85725,39 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
83647
85725
|
};
|
|
83648
85726
|
Relationships: [];
|
|
83649
85727
|
};
|
|
85728
|
+
print_preview_events: {
|
|
85729
|
+
Row: {
|
|
85730
|
+
code: string | null;
|
|
85731
|
+
created_at: string;
|
|
85732
|
+
detail: import("../integrations/supabase/types").Json;
|
|
85733
|
+
id: string;
|
|
85734
|
+
queue_item_id: string | null;
|
|
85735
|
+
reden: string | null;
|
|
85736
|
+
station_slug: string | null;
|
|
85737
|
+
uitkomst: string;
|
|
85738
|
+
};
|
|
85739
|
+
Insert: {
|
|
85740
|
+
code?: string | null;
|
|
85741
|
+
created_at?: string;
|
|
85742
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
85743
|
+
id?: string;
|
|
85744
|
+
queue_item_id?: string | null;
|
|
85745
|
+
reden?: string | null;
|
|
85746
|
+
station_slug?: string | null;
|
|
85747
|
+
uitkomst?: string;
|
|
85748
|
+
};
|
|
85749
|
+
Update: {
|
|
85750
|
+
code?: string | null;
|
|
85751
|
+
created_at?: string;
|
|
85752
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
85753
|
+
id?: string;
|
|
85754
|
+
queue_item_id?: string | null;
|
|
85755
|
+
reden?: string | null;
|
|
85756
|
+
station_slug?: string | null;
|
|
85757
|
+
uitkomst?: string;
|
|
85758
|
+
};
|
|
85759
|
+
Relationships: [];
|
|
85760
|
+
};
|
|
83650
85761
|
print_queue_runners: {
|
|
83651
85762
|
Row: {
|
|
83652
85763
|
actief: boolean;
|
|
@@ -83886,6 +85997,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
83886
85997
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
83887
85998
|
online: boolean;
|
|
83888
85999
|
papierformaat: string;
|
|
86000
|
+
pdf_map: string | null;
|
|
83889
86001
|
poort: number | null;
|
|
83890
86002
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
83891
86003
|
systeemnaam: string;
|
|
@@ -83911,6 +86023,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
83911
86023
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
83912
86024
|
online?: boolean;
|
|
83913
86025
|
papierformaat?: string;
|
|
86026
|
+
pdf_map?: string | null;
|
|
83914
86027
|
poort?: number | null;
|
|
83915
86028
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
83916
86029
|
systeemnaam?: string;
|
|
@@ -83936,6 +86049,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
83936
86049
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
83937
86050
|
online?: boolean;
|
|
83938
86051
|
papierformaat?: string;
|
|
86052
|
+
pdf_map?: string | null;
|
|
83939
86053
|
poort?: number | null;
|
|
83940
86054
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
83941
86055
|
systeemnaam?: string;
|
|
@@ -86505,6 +88619,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
86505
88619
|
};
|
|
86506
88620
|
trade_item_stock: {
|
|
86507
88621
|
Row: {
|
|
88622
|
+
change_source: string;
|
|
86508
88623
|
connection_id: string;
|
|
86509
88624
|
created_at: string;
|
|
86510
88625
|
id: string;
|
|
@@ -86518,6 +88633,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
86518
88633
|
user_id: string;
|
|
86519
88634
|
};
|
|
86520
88635
|
Insert: {
|
|
88636
|
+
change_source?: string;
|
|
86521
88637
|
connection_id: string;
|
|
86522
88638
|
created_at?: string;
|
|
86523
88639
|
id?: string;
|
|
@@ -86531,6 +88647,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
86531
88647
|
user_id: string;
|
|
86532
88648
|
};
|
|
86533
88649
|
Update: {
|
|
88650
|
+
change_source?: string;
|
|
86534
88651
|
connection_id?: string;
|
|
86535
88652
|
created_at?: string;
|
|
86536
88653
|
id?: string;
|
|
@@ -90131,6 +92248,18 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
90131
92248
|
Args: never;
|
|
90132
92249
|
Returns: number;
|
|
90133
92250
|
};
|
|
92251
|
+
calculate_floriday_desired_stock: {
|
|
92252
|
+
Args: {
|
|
92253
|
+
p_connection_id: string;
|
|
92254
|
+
p_product_id: string;
|
|
92255
|
+
};
|
|
92256
|
+
Returns: {
|
|
92257
|
+
desired_availability: boolean;
|
|
92258
|
+
desired_quantity: number;
|
|
92259
|
+
erp_available: number;
|
|
92260
|
+
stock_mode: string;
|
|
92261
|
+
}[];
|
|
92262
|
+
};
|
|
90134
92263
|
calculate_layer_stock: {
|
|
90135
92264
|
Args: {
|
|
90136
92265
|
p_product_id: string;
|
|
@@ -90192,6 +92321,9 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
90192
92321
|
is_herprint: boolean;
|
|
90193
92322
|
kopieen: number;
|
|
90194
92323
|
layout_id: string | null;
|
|
92324
|
+
lokaal_opgeslagen_op: string | null;
|
|
92325
|
+
lokale_pdf_fout: string | null;
|
|
92326
|
+
lokale_pdf_status: string | null;
|
|
90195
92327
|
opgepakt_op: string | null;
|
|
90196
92328
|
paginas: number;
|
|
90197
92329
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -90200,6 +92332,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
90200
92332
|
pogingen: number;
|
|
90201
92333
|
printer_id: string | null;
|
|
90202
92334
|
render_html: string | null;
|
|
92335
|
+
resultaat_pdf_base64: string | null;
|
|
90203
92336
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
90204
92337
|
updated_at: string;
|
|
90205
92338
|
volgende_poging: string | null;
|
|
@@ -90221,6 +92354,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
90221
92354
|
attempts: number;
|
|
90222
92355
|
connection_id: string;
|
|
90223
92356
|
created_at: string;
|
|
92357
|
+
dead_lettered_at: string | null;
|
|
90224
92358
|
desired_available: boolean | null;
|
|
90225
92359
|
gateway_attempt_id: string | null;
|
|
90226
92360
|
id: string;
|
|
@@ -90229,9 +92363,13 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
90229
92363
|
locked_by: string | null;
|
|
90230
92364
|
next_attempt_at: string;
|
|
90231
92365
|
number_of_pieces: number;
|
|
92366
|
+
product_id: string | null;
|
|
90232
92367
|
sent_at: string | null;
|
|
90233
92368
|
status: string;
|
|
92369
|
+
stock_mode: string | null;
|
|
90234
92370
|
superseded_by: string | null;
|
|
92371
|
+
target_week: number | null;
|
|
92372
|
+
target_year: number | null;
|
|
90235
92373
|
trade_item_id: string;
|
|
90236
92374
|
updated_at: string;
|
|
90237
92375
|
user_id: string;
|
|
@@ -90291,6 +92429,53 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
90291
92429
|
isSetofReturn: true;
|
|
90292
92430
|
};
|
|
90293
92431
|
};
|
|
92432
|
+
claim_pdf_print_jobs: {
|
|
92433
|
+
Args: {
|
|
92434
|
+
_max?: number;
|
|
92435
|
+
};
|
|
92436
|
+
Returns: {
|
|
92437
|
+
agent_id: string | null;
|
|
92438
|
+
bron_job_id: string | null;
|
|
92439
|
+
created_at: string;
|
|
92440
|
+
documentnaam: string;
|
|
92441
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
92442
|
+
extern_job_id: string | null;
|
|
92443
|
+
foutmelding: string | null;
|
|
92444
|
+
gebruiker_id: string | null;
|
|
92445
|
+
gebruiker_naam: string;
|
|
92446
|
+
gebruikte_bron: string | null;
|
|
92447
|
+
gebruikte_layout_id: string | null;
|
|
92448
|
+
gestart_op: string | null;
|
|
92449
|
+
herkomst: string | null;
|
|
92450
|
+
id: string;
|
|
92451
|
+
idempotentie_sleutel: string | null;
|
|
92452
|
+
is_herprint: boolean;
|
|
92453
|
+
kopieen: number;
|
|
92454
|
+
layout_id: string | null;
|
|
92455
|
+
lokaal_opgeslagen_op: string | null;
|
|
92456
|
+
lokale_pdf_fout: string | null;
|
|
92457
|
+
lokale_pdf_status: string | null;
|
|
92458
|
+
opgepakt_op: string | null;
|
|
92459
|
+
paginas: number;
|
|
92460
|
+
payload: import("../integrations/supabase/types").Json;
|
|
92461
|
+
pdf_base64: string | null;
|
|
92462
|
+
pdf_url: string | null;
|
|
92463
|
+
pogingen: number;
|
|
92464
|
+
printer_id: string | null;
|
|
92465
|
+
render_html: string | null;
|
|
92466
|
+
resultaat_pdf_base64: string | null;
|
|
92467
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
92468
|
+
updated_at: string;
|
|
92469
|
+
volgende_poging: string | null;
|
|
92470
|
+
voltooid_op: string | null;
|
|
92471
|
+
}[];
|
|
92472
|
+
SetofOptions: {
|
|
92473
|
+
from: "*";
|
|
92474
|
+
to: "print_jobs";
|
|
92475
|
+
isOneToOne: false;
|
|
92476
|
+
isSetofReturn: true;
|
|
92477
|
+
};
|
|
92478
|
+
};
|
|
90294
92479
|
claim_print_jobs: {
|
|
90295
92480
|
Args: {
|
|
90296
92481
|
_agent_id: string;
|
|
@@ -90315,6 +92500,9 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
90315
92500
|
is_herprint: boolean;
|
|
90316
92501
|
kopieen: number;
|
|
90317
92502
|
layout_id: string | null;
|
|
92503
|
+
lokaal_opgeslagen_op: string | null;
|
|
92504
|
+
lokale_pdf_fout: string | null;
|
|
92505
|
+
lokale_pdf_status: string | null;
|
|
90318
92506
|
opgepakt_op: string | null;
|
|
90319
92507
|
paginas: number;
|
|
90320
92508
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -90323,6 +92511,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
90323
92511
|
pogingen: number;
|
|
90324
92512
|
printer_id: string | null;
|
|
90325
92513
|
render_html: string | null;
|
|
92514
|
+
resultaat_pdf_base64: string | null;
|
|
90326
92515
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
90327
92516
|
updated_at: string;
|
|
90328
92517
|
volgende_poging: string | null;
|
|
@@ -90463,6 +92652,8 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
90463
92652
|
order_id: string;
|
|
90464
92653
|
order_source: string;
|
|
90465
92654
|
pick_date: string;
|
|
92655
|
+
printed_at: string;
|
|
92656
|
+
printed_today: boolean;
|
|
90466
92657
|
status: string;
|
|
90467
92658
|
}[];
|
|
90468
92659
|
};
|
|
@@ -90659,6 +92850,24 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
90659
92850
|
};
|
|
90660
92851
|
Returns: string;
|
|
90661
92852
|
};
|
|
92853
|
+
floriday_capture_stock_snapshot: {
|
|
92854
|
+
Args: never;
|
|
92855
|
+
Returns: number;
|
|
92856
|
+
};
|
|
92857
|
+
floriday_cleanup_stock_queue_v2: {
|
|
92858
|
+
Args: never;
|
|
92859
|
+
Returns: undefined;
|
|
92860
|
+
};
|
|
92861
|
+
floriday_compact_stock_snapshots: {
|
|
92862
|
+
Args: never;
|
|
92863
|
+
Returns: undefined;
|
|
92864
|
+
};
|
|
92865
|
+
floriday_default_owner: {
|
|
92866
|
+
Args: {
|
|
92867
|
+
p_connection_id: string;
|
|
92868
|
+
};
|
|
92869
|
+
Returns: string;
|
|
92870
|
+
};
|
|
90662
92871
|
floriday_effective_price: {
|
|
90663
92872
|
Args: {
|
|
90664
92873
|
_buyer_id: string;
|
|
@@ -90676,6 +92885,22 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
90676
92885
|
source_id: string;
|
|
90677
92886
|
}[];
|
|
90678
92887
|
};
|
|
92888
|
+
floriday_fill_publish_horizon: {
|
|
92889
|
+
Args: never;
|
|
92890
|
+
Returns: number;
|
|
92891
|
+
};
|
|
92892
|
+
floriday_publish_horizon_weeks: {
|
|
92893
|
+
Args: never;
|
|
92894
|
+
Returns: number;
|
|
92895
|
+
};
|
|
92896
|
+
floriday_recompute_inventory: {
|
|
92897
|
+
Args: {
|
|
92898
|
+
p_connection_id: string;
|
|
92899
|
+
p_force?: boolean;
|
|
92900
|
+
p_product_id: string;
|
|
92901
|
+
};
|
|
92902
|
+
Returns: undefined;
|
|
92903
|
+
};
|
|
90679
92904
|
format_cart_number: {
|
|
90680
92905
|
Args: {
|
|
90681
92906
|
p_pick_date: string;
|
|
@@ -91171,6 +93396,10 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
91171
93396
|
};
|
|
91172
93397
|
Returns: number;
|
|
91173
93398
|
};
|
|
93399
|
+
logistics_cancel_orphan_tasks: {
|
|
93400
|
+
Args: never;
|
|
93401
|
+
Returns: number;
|
|
93402
|
+
};
|
|
91174
93403
|
logistics_capacity_day_check: {
|
|
91175
93404
|
Args: {
|
|
91176
93405
|
p_from?: string;
|
|
@@ -91191,6 +93420,25 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
91191
93420
|
};
|
|
91192
93421
|
Returns: number;
|
|
91193
93422
|
};
|
|
93423
|
+
logistics_cart_index: {
|
|
93424
|
+
Args: {
|
|
93425
|
+
p_from?: string;
|
|
93426
|
+
p_to?: string;
|
|
93427
|
+
};
|
|
93428
|
+
Returns: {
|
|
93429
|
+
cart_id: string;
|
|
93430
|
+
cart_index: number;
|
|
93431
|
+
cart_label: string;
|
|
93432
|
+
is_shared: boolean;
|
|
93433
|
+
order_number: string;
|
|
93434
|
+
order_source: string;
|
|
93435
|
+
order_uuid: string;
|
|
93436
|
+
pick_date: string;
|
|
93437
|
+
printed_at: string;
|
|
93438
|
+
shifted: boolean;
|
|
93439
|
+
task_status: string;
|
|
93440
|
+
}[];
|
|
93441
|
+
};
|
|
91194
93442
|
logistics_check_order_allowed: {
|
|
91195
93443
|
Args: {
|
|
91196
93444
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -91339,6 +93587,17 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
91339
93587
|
isSetofReturn: false;
|
|
91340
93588
|
};
|
|
91341
93589
|
};
|
|
93590
|
+
logistics_consistency_check: {
|
|
93591
|
+
Args: never;
|
|
93592
|
+
Returns: {
|
|
93593
|
+
agenda_carts: number;
|
|
93594
|
+
control_carts: number;
|
|
93595
|
+
ok: boolean;
|
|
93596
|
+
orphan_tasks: number;
|
|
93597
|
+
pick_date: string;
|
|
93598
|
+
raw_carts: number;
|
|
93599
|
+
}[];
|
|
93600
|
+
};
|
|
91342
93601
|
logistics_delay_customer_email: {
|
|
91343
93602
|
Args: {
|
|
91344
93603
|
p_customer: string;
|
|
@@ -91428,6 +93687,16 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
91428
93687
|
isSetofReturn: false;
|
|
91429
93688
|
};
|
|
91430
93689
|
};
|
|
93690
|
+
logistics_floriday_cart_plan: {
|
|
93691
|
+
Args: {
|
|
93692
|
+
p_order_id: string;
|
|
93693
|
+
};
|
|
93694
|
+
Returns: {
|
|
93695
|
+
carrier_type: string;
|
|
93696
|
+
idx: number;
|
|
93697
|
+
packages: number;
|
|
93698
|
+
}[];
|
|
93699
|
+
};
|
|
91431
93700
|
logistics_floriday_claim_pushes: {
|
|
91432
93701
|
Args: {
|
|
91433
93702
|
_lease_seconds?: number;
|
|
@@ -91532,6 +93801,25 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
91532
93801
|
};
|
|
91533
93802
|
Returns: number;
|
|
91534
93803
|
};
|
|
93804
|
+
logistics_order_overview: {
|
|
93805
|
+
Args: {
|
|
93806
|
+
p_from?: string;
|
|
93807
|
+
p_to?: string;
|
|
93808
|
+
};
|
|
93809
|
+
Returns: {
|
|
93810
|
+
cart_count: number;
|
|
93811
|
+
customer_name: string;
|
|
93812
|
+
delivery_date: string;
|
|
93813
|
+
order_number: string;
|
|
93814
|
+
order_source: string;
|
|
93815
|
+
order_uuid: string;
|
|
93816
|
+
pick_date: string;
|
|
93817
|
+
plant_count: number;
|
|
93818
|
+
printed_at: string;
|
|
93819
|
+
shifted: boolean;
|
|
93820
|
+
status: string;
|
|
93821
|
+
}[];
|
|
93822
|
+
};
|
|
91535
93823
|
logistics_order_pick_day: {
|
|
91536
93824
|
Args: {
|
|
91537
93825
|
p_order_ref: string;
|
|
@@ -91544,6 +93832,22 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
91544
93832
|
};
|
|
91545
93833
|
Returns: string;
|
|
91546
93834
|
};
|
|
93835
|
+
logistics_pick_agenda: {
|
|
93836
|
+
Args: {
|
|
93837
|
+
p_from?: string;
|
|
93838
|
+
p_to?: string;
|
|
93839
|
+
};
|
|
93840
|
+
Returns: {
|
|
93841
|
+
cart_count: number;
|
|
93842
|
+
in_preparation: number;
|
|
93843
|
+
order_count: number;
|
|
93844
|
+
orders: import("../integrations/supabase/types").Json;
|
|
93845
|
+
pick_date: string;
|
|
93846
|
+
plant_count: number;
|
|
93847
|
+
ready: number;
|
|
93848
|
+
shifted_count: number;
|
|
93849
|
+
}[];
|
|
93850
|
+
};
|
|
91547
93851
|
logistics_pick_email_purpose: {
|
|
91548
93852
|
Args: never;
|
|
91549
93853
|
Returns: string;
|
|
@@ -91598,6 +93902,13 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
91598
93902
|
};
|
|
91599
93903
|
Returns: undefined;
|
|
91600
93904
|
};
|
|
93905
|
+
logistics_plan_floriday_order: {
|
|
93906
|
+
Args: {
|
|
93907
|
+
p_buffer_id?: string;
|
|
93908
|
+
p_order_id: string;
|
|
93909
|
+
};
|
|
93910
|
+
Returns: number;
|
|
93911
|
+
};
|
|
91601
93912
|
logistics_plan_impact_orders: {
|
|
91602
93913
|
Args: {
|
|
91603
93914
|
p_order_id: string;
|
|
@@ -91703,6 +94014,15 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
91703
94014
|
};
|
|
91704
94015
|
Returns: import("../integrations/supabase/types").Json;
|
|
91705
94016
|
};
|
|
94017
|
+
logistics_resolve_pick_document: {
|
|
94018
|
+
Args: {
|
|
94019
|
+
_is_herprint: boolean;
|
|
94020
|
+
_queue_item_id: string;
|
|
94021
|
+
_session_id: string;
|
|
94022
|
+
_voorbeeld: boolean;
|
|
94023
|
+
};
|
|
94024
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
94025
|
+
};
|
|
91706
94026
|
logistics_resolve_settings: {
|
|
91707
94027
|
Args: {
|
|
91708
94028
|
p_config_id: string;
|
|
@@ -92143,6 +94463,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
92143
94463
|
};
|
|
92144
94464
|
pick_enqueue_print_job: {
|
|
92145
94465
|
Args: {
|
|
94466
|
+
_is_herprint?: boolean;
|
|
92146
94467
|
_printer_id?: string;
|
|
92147
94468
|
_queue_item_id: string;
|
|
92148
94469
|
_session_id?: string;
|
|
@@ -92156,6 +94477,13 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
92156
94477
|
};
|
|
92157
94478
|
Returns: import("../integrations/supabase/types").Json;
|
|
92158
94479
|
};
|
|
94480
|
+
pick_preview_job: {
|
|
94481
|
+
Args: {
|
|
94482
|
+
_queue_item_id: string;
|
|
94483
|
+
_station_slug: string;
|
|
94484
|
+
};
|
|
94485
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
94486
|
+
};
|
|
92159
94487
|
pick_print_job_status: {
|
|
92160
94488
|
Args: {
|
|
92161
94489
|
_job_id: string;
|
|
@@ -92333,6 +94661,24 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
92333
94661
|
};
|
|
92334
94662
|
Returns: undefined;
|
|
92335
94663
|
};
|
|
94664
|
+
print_preview_toestaan: {
|
|
94665
|
+
Args: {
|
|
94666
|
+
_max?: number;
|
|
94667
|
+
_queue_item_id: string;
|
|
94668
|
+
_station_slug: string;
|
|
94669
|
+
_venster_sec?: number;
|
|
94670
|
+
};
|
|
94671
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
94672
|
+
};
|
|
94673
|
+
print_preview_weiger: {
|
|
94674
|
+
Args: {
|
|
94675
|
+
_code: string;
|
|
94676
|
+
_queue_item_id: string;
|
|
94677
|
+
_reden: string;
|
|
94678
|
+
_station_slug: string;
|
|
94679
|
+
};
|
|
94680
|
+
Returns: undefined;
|
|
94681
|
+
};
|
|
92336
94682
|
process_logistics_event: {
|
|
92337
94683
|
Args: {
|
|
92338
94684
|
p_event_id: string;
|
|
@@ -92487,6 +94833,12 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
92487
94833
|
};
|
|
92488
94834
|
Returns: string;
|
|
92489
94835
|
};
|
|
94836
|
+
resolve_print_job_printer_id: {
|
|
94837
|
+
Args: {
|
|
94838
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
94839
|
+
};
|
|
94840
|
+
Returns: string;
|
|
94841
|
+
};
|
|
92490
94842
|
resolve_product_id_for_item: {
|
|
92491
94843
|
Args: {
|
|
92492
94844
|
p_product_name: string;
|
|
@@ -93078,7 +95430,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
93078
95430
|
};
|
|
93079
95431
|
CompositeTypes: { [_ in never]: never; };
|
|
93080
95432
|
}, {
|
|
93081
|
-
PostgrestVersion: "14.
|
|
95433
|
+
PostgrestVersion: "14.5";
|
|
93082
95434
|
}>;
|
|
93083
95435
|
userId: string;
|
|
93084
95436
|
claims: import("@supabase/auth-js").User;
|
|
@@ -93304,7 +95656,9 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
93304
95656
|
refresh_token?: string | null;
|
|
93305
95657
|
scope?: string | null;
|
|
93306
95658
|
token_expires_at?: string | null;
|
|
93307
|
-
updated_at
|
|
95659
|
+
updated_at
|
|
95660
|
+
/** Buffer handmatig vrijgeven (release === "manual"): taak afmelden als done. */
|
|
95661
|
+
? /** Buffer handmatig vrijgeven (release === "manual"): taak afmelden als done. */: string;
|
|
93308
95662
|
user_id: string;
|
|
93309
95663
|
};
|
|
93310
95664
|
Update: {
|
|
@@ -95960,6 +98314,84 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
95960
98314
|
};
|
|
95961
98315
|
Relationships: [];
|
|
95962
98316
|
};
|
|
98317
|
+
delivery_notes: {
|
|
98318
|
+
Row: {
|
|
98319
|
+
byte_size: number | null;
|
|
98320
|
+
connection_id: string | null;
|
|
98321
|
+
content_type: string;
|
|
98322
|
+
created_at: string;
|
|
98323
|
+
error_message: string | null;
|
|
98324
|
+
fetched_at: string | null;
|
|
98325
|
+
fulfillment_order_id: string | null;
|
|
98326
|
+
http_status: number | null;
|
|
98327
|
+
id: string;
|
|
98328
|
+
label_code: string | null;
|
|
98329
|
+
letter: string | null;
|
|
98330
|
+
load_carrier_index: number | null;
|
|
98331
|
+
load_carrier_type: string | null;
|
|
98332
|
+
order_id: string | null;
|
|
98333
|
+
order_number: string | null;
|
|
98334
|
+
packages: number | null;
|
|
98335
|
+
source: string;
|
|
98336
|
+
status: string;
|
|
98337
|
+
storage_bucket: string;
|
|
98338
|
+
storage_path: string | null;
|
|
98339
|
+
updated_at: string;
|
|
98340
|
+
};
|
|
98341
|
+
Insert: {
|
|
98342
|
+
byte_size?: number | null;
|
|
98343
|
+
connection_id?: string | null;
|
|
98344
|
+
content_type?: string;
|
|
98345
|
+
created_at?: string;
|
|
98346
|
+
error_message?: string | null;
|
|
98347
|
+
fetched_at?: string | null;
|
|
98348
|
+
fulfillment_order_id?: string | null;
|
|
98349
|
+
http_status?: number | null;
|
|
98350
|
+
id?: string;
|
|
98351
|
+
label_code?: string | null;
|
|
98352
|
+
letter?: string | null;
|
|
98353
|
+
load_carrier_index?: number | null;
|
|
98354
|
+
load_carrier_type?: string | null;
|
|
98355
|
+
order_id?: string | null;
|
|
98356
|
+
order_number?: string | null;
|
|
98357
|
+
packages?: number | null;
|
|
98358
|
+
source?: string;
|
|
98359
|
+
status?: string;
|
|
98360
|
+
storage_bucket?: string;
|
|
98361
|
+
storage_path?: string | null;
|
|
98362
|
+
updated_at?: string;
|
|
98363
|
+
};
|
|
98364
|
+
Update: {
|
|
98365
|
+
byte_size?: number | null;
|
|
98366
|
+
connection_id?: string | null;
|
|
98367
|
+
content_type?: string;
|
|
98368
|
+
created_at?: string;
|
|
98369
|
+
error_message?: string | null;
|
|
98370
|
+
fetched_at?: string | null;
|
|
98371
|
+
fulfillment_order_id?: string | null;
|
|
98372
|
+
http_status?: number | null;
|
|
98373
|
+
id?: string;
|
|
98374
|
+
label_code?: string | null;
|
|
98375
|
+
letter?: string | null;
|
|
98376
|
+
load_carrier_index?: number | null;
|
|
98377
|
+
load_carrier_type?: string | null;
|
|
98378
|
+
order_id?: string | null;
|
|
98379
|
+
order_number?: string | null;
|
|
98380
|
+
packages?: number | null;
|
|
98381
|
+
source?: string;
|
|
98382
|
+
status?: string;
|
|
98383
|
+
storage_bucket?: string;
|
|
98384
|
+
storage_path?: string | null;
|
|
98385
|
+
updated_at?: string;
|
|
98386
|
+
};
|
|
98387
|
+
Relationships: [{
|
|
98388
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
98389
|
+
columns: ["order_id"];
|
|
98390
|
+
isOneToOne: false;
|
|
98391
|
+
referencedRelation: "orders";
|
|
98392
|
+
referencedColumns: ["id"];
|
|
98393
|
+
}];
|
|
98394
|
+
};
|
|
95963
98395
|
document_bronregels: {
|
|
95964
98396
|
Row: {
|
|
95965
98397
|
bron: string;
|
|
@@ -99013,10 +101445,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
99013
101445
|
};
|
|
99014
101446
|
floriday_connections: {
|
|
99015
101447
|
Row: {
|
|
99016
|
-
access_token: string | null;
|
|
99017
101448
|
api_key: string;
|
|
99018
|
-
client_id: string;
|
|
99019
|
-
client_secret: string;
|
|
99020
101449
|
created_at: string;
|
|
99021
101450
|
customers_endpoint: string | null;
|
|
99022
101451
|
environment: string;
|
|
@@ -99031,10 +101460,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
99031
101460
|
updated_at: string;
|
|
99032
101461
|
};
|
|
99033
101462
|
Insert: {
|
|
99034
|
-
access_token?: string | null;
|
|
99035
101463
|
api_key: string;
|
|
99036
|
-
client_id: string;
|
|
99037
|
-
client_secret: string;
|
|
99038
101464
|
created_at?: string;
|
|
99039
101465
|
customers_endpoint?: string | null;
|
|
99040
101466
|
environment: string;
|
|
@@ -99049,10 +101475,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
99049
101475
|
updated_at?: string;
|
|
99050
101476
|
};
|
|
99051
101477
|
Update: {
|
|
99052
|
-
access_token?: string | null;
|
|
99053
101478
|
api_key?: string;
|
|
99054
|
-
client_id?: string;
|
|
99055
|
-
client_secret?: string;
|
|
99056
101479
|
created_at?: string;
|
|
99057
101480
|
customers_endpoint?: string | null;
|
|
99058
101481
|
environment?: string;
|
|
@@ -99136,6 +101559,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
99136
101559
|
attempts: number;
|
|
99137
101560
|
connection_id: string;
|
|
99138
101561
|
created_at: string;
|
|
101562
|
+
dead_lettered_at: string | null;
|
|
99139
101563
|
desired_available: boolean | null;
|
|
99140
101564
|
gateway_attempt_id: string | null;
|
|
99141
101565
|
id: string;
|
|
@@ -99144,9 +101568,13 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
99144
101568
|
locked_by: string | null;
|
|
99145
101569
|
next_attempt_at: string;
|
|
99146
101570
|
number_of_pieces: number;
|
|
101571
|
+
product_id: string | null;
|
|
99147
101572
|
sent_at: string | null;
|
|
99148
101573
|
status: string;
|
|
101574
|
+
stock_mode: string | null;
|
|
99149
101575
|
superseded_by: string | null;
|
|
101576
|
+
target_week: number | null;
|
|
101577
|
+
target_year: number | null;
|
|
99150
101578
|
trade_item_id: string;
|
|
99151
101579
|
updated_at: string;
|
|
99152
101580
|
user_id: string;
|
|
@@ -99155,6 +101583,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
99155
101583
|
attempts?: number;
|
|
99156
101584
|
connection_id: string;
|
|
99157
101585
|
created_at?: string;
|
|
101586
|
+
dead_lettered_at?: string | null;
|
|
99158
101587
|
desired_available?: boolean | null;
|
|
99159
101588
|
gateway_attempt_id?: string | null;
|
|
99160
101589
|
id?: string;
|
|
@@ -99163,9 +101592,13 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
99163
101592
|
locked_by?: string | null;
|
|
99164
101593
|
next_attempt_at?: string;
|
|
99165
101594
|
number_of_pieces?: number;
|
|
101595
|
+
product_id?: string | null;
|
|
99166
101596
|
sent_at?: string | null;
|
|
99167
101597
|
status?: string;
|
|
101598
|
+
stock_mode?: string | null;
|
|
99168
101599
|
superseded_by?: string | null;
|
|
101600
|
+
target_week?: number | null;
|
|
101601
|
+
target_year?: number | null;
|
|
99169
101602
|
trade_item_id: string;
|
|
99170
101603
|
updated_at?: string;
|
|
99171
101604
|
user_id: string;
|
|
@@ -99174,6 +101607,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
99174
101607
|
attempts?: number;
|
|
99175
101608
|
connection_id?: string;
|
|
99176
101609
|
created_at?: string;
|
|
101610
|
+
dead_lettered_at?: string | null;
|
|
99177
101611
|
desired_available?: boolean | null;
|
|
99178
101612
|
gateway_attempt_id?: string | null;
|
|
99179
101613
|
id?: string;
|
|
@@ -99182,9 +101616,13 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
99182
101616
|
locked_by?: string | null;
|
|
99183
101617
|
next_attempt_at?: string;
|
|
99184
101618
|
number_of_pieces?: number;
|
|
101619
|
+
product_id?: string | null;
|
|
99185
101620
|
sent_at?: string | null;
|
|
99186
101621
|
status?: string;
|
|
101622
|
+
stock_mode?: string | null;
|
|
99187
101623
|
superseded_by?: string | null;
|
|
101624
|
+
target_week?: number | null;
|
|
101625
|
+
target_year?: number | null;
|
|
99188
101626
|
trade_item_id?: string;
|
|
99189
101627
|
updated_at?: string;
|
|
99190
101628
|
user_id?: string;
|
|
@@ -99593,6 +102031,87 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
99593
102031
|
referencedColumns: ["id"];
|
|
99594
102032
|
}];
|
|
99595
102033
|
};
|
|
102034
|
+
floriday_inventory_settings: {
|
|
102035
|
+
Row: {
|
|
102036
|
+
buffer_quantity: number;
|
|
102037
|
+
connection_id: string;
|
|
102038
|
+
created_at: string;
|
|
102039
|
+
desired_availability: boolean;
|
|
102040
|
+
desired_quantity: number;
|
|
102041
|
+
fixed_quantity: number | null;
|
|
102042
|
+
floriday_trade_item_id: string | null;
|
|
102043
|
+
id: string;
|
|
102044
|
+
last_confirmed_at: string | null;
|
|
102045
|
+
last_enqueued_at: string | null;
|
|
102046
|
+
last_published_at: string | null;
|
|
102047
|
+
last_sync_error: string | null;
|
|
102048
|
+
manual_quantity: number | null;
|
|
102049
|
+
maximum_quantity: number | null;
|
|
102050
|
+
product_id: string;
|
|
102051
|
+
quantity_control: string;
|
|
102052
|
+
remote_available: boolean | null;
|
|
102053
|
+
remote_checked_at: string | null;
|
|
102054
|
+
remote_quantity: number | null;
|
|
102055
|
+
stock_mode: string;
|
|
102056
|
+
sync_status: string;
|
|
102057
|
+
updated_at: string;
|
|
102058
|
+
updated_by: string | null;
|
|
102059
|
+
user_id: string;
|
|
102060
|
+
};
|
|
102061
|
+
Insert: {
|
|
102062
|
+
buffer_quantity?: number;
|
|
102063
|
+
connection_id: string;
|
|
102064
|
+
created_at?: string;
|
|
102065
|
+
desired_availability?: boolean;
|
|
102066
|
+
desired_quantity?: number;
|
|
102067
|
+
fixed_quantity?: number | null;
|
|
102068
|
+
floriday_trade_item_id?: string | null;
|
|
102069
|
+
id?: string;
|
|
102070
|
+
last_confirmed_at?: string | null;
|
|
102071
|
+
last_enqueued_at?: string | null;
|
|
102072
|
+
last_published_at?: string | null;
|
|
102073
|
+
last_sync_error?: string | null;
|
|
102074
|
+
manual_quantity?: number | null;
|
|
102075
|
+
maximum_quantity?: number | null;
|
|
102076
|
+
product_id: string;
|
|
102077
|
+
quantity_control?: string;
|
|
102078
|
+
remote_available?: boolean | null;
|
|
102079
|
+
remote_checked_at?: string | null;
|
|
102080
|
+
remote_quantity?: number | null;
|
|
102081
|
+
stock_mode?: string;
|
|
102082
|
+
sync_status?: string;
|
|
102083
|
+
updated_at?: string;
|
|
102084
|
+
updated_by?: string | null;
|
|
102085
|
+
user_id: string;
|
|
102086
|
+
};
|
|
102087
|
+
Update: {
|
|
102088
|
+
buffer_quantity?: number;
|
|
102089
|
+
connection_id?: string;
|
|
102090
|
+
created_at?: string;
|
|
102091
|
+
desired_availability?: boolean;
|
|
102092
|
+
desired_quantity?: number;
|
|
102093
|
+
fixed_quantity?: number | null;
|
|
102094
|
+
floriday_trade_item_id?: string | null;
|
|
102095
|
+
id?: string;
|
|
102096
|
+
last_confirmed_at?: string | null;
|
|
102097
|
+
last_enqueued_at?: string | null;
|
|
102098
|
+
last_published_at?: string | null;
|
|
102099
|
+
last_sync_error?: string | null;
|
|
102100
|
+
manual_quantity?: number | null;
|
|
102101
|
+
maximum_quantity?: number | null;
|
|
102102
|
+
product_id?: string;
|
|
102103
|
+
quantity_control?: string;
|
|
102104
|
+
remote_available?: boolean | null;
|
|
102105
|
+
remote_checked_at?: string | null;
|
|
102106
|
+
remote_quantity?: number | null;
|
|
102107
|
+
stock_mode?: string;
|
|
102108
|
+
sync_status?: string;
|
|
102109
|
+
updated_at?: string;
|
|
102110
|
+
updated_by?: string | null;
|
|
102111
|
+
user_id?: string;
|
|
102112
|
+
};
|
|
102113
|
+
Relationships: [];
|
|
102114
|
+
};
|
|
99596
102115
|
floriday_invoices_cache: {
|
|
99597
102116
|
Row: {
|
|
99598
102117
|
buyer_organization_id: string | null;
|
|
@@ -99881,6 +102400,39 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
99881
102400
|
};
|
|
99882
102401
|
Relationships: [];
|
|
99883
102402
|
};
|
|
102403
|
+
floriday_sales_order_ingest: {
|
|
102404
|
+
Row: {
|
|
102405
|
+
connection_id: string;
|
|
102406
|
+
created_at: string;
|
|
102407
|
+
id: string;
|
|
102408
|
+
impact: import("../integrations/supabase/types").Json;
|
|
102409
|
+
order_status: string | null;
|
|
102410
|
+
order_version: number;
|
|
102411
|
+
processed_at: string;
|
|
102412
|
+
sales_order_id: string;
|
|
102413
|
+
};
|
|
102414
|
+
Insert: {
|
|
102415
|
+
connection_id: string;
|
|
102416
|
+
created_at?: string;
|
|
102417
|
+
id?: string;
|
|
102418
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
102419
|
+
order_status?: string | null;
|
|
102420
|
+
order_version?: number;
|
|
102421
|
+
processed_at?: string;
|
|
102422
|
+
sales_order_id: string;
|
|
102423
|
+
};
|
|
102424
|
+
Update: {
|
|
102425
|
+
connection_id?: string;
|
|
102426
|
+
created_at?: string;
|
|
102427
|
+
id?: string;
|
|
102428
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
102429
|
+
order_status?: string | null;
|
|
102430
|
+
order_version?: number;
|
|
102431
|
+
processed_at?: string;
|
|
102432
|
+
sales_order_id?: string;
|
|
102433
|
+
};
|
|
102434
|
+
Relationships: [];
|
|
102435
|
+
};
|
|
99884
102436
|
floriday_sales_strategies_cache: {
|
|
99885
102437
|
Row: {
|
|
99886
102438
|
connection_id: string;
|
|
@@ -99980,6 +102532,39 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
99980
102532
|
};
|
|
99981
102533
|
Relationships: [];
|
|
99982
102534
|
};
|
|
102535
|
+
floriday_sync_cursors: {
|
|
102536
|
+
Row: {
|
|
102537
|
+
connection_id: string;
|
|
102538
|
+
created_at: string;
|
|
102539
|
+
id: string;
|
|
102540
|
+
last_error: string | null;
|
|
102541
|
+
last_sync_at: string | null;
|
|
102542
|
+
resource_type: string;
|
|
102543
|
+
sequence_number: number;
|
|
102544
|
+
updated_at: string;
|
|
102545
|
+
};
|
|
102546
|
+
Insert: {
|
|
102547
|
+
connection_id: string;
|
|
102548
|
+
created_at?: string;
|
|
102549
|
+
id?: string;
|
|
102550
|
+
last_error?: string | null;
|
|
102551
|
+
last_sync_at?: string | null;
|
|
102552
|
+
resource_type: string;
|
|
102553
|
+
sequence_number?: number;
|
|
102554
|
+
updated_at?: string;
|
|
102555
|
+
};
|
|
102556
|
+
Update: {
|
|
102557
|
+
connection_id?: string;
|
|
102558
|
+
created_at?: string;
|
|
102559
|
+
id?: string;
|
|
102560
|
+
last_error?: string | null;
|
|
102561
|
+
last_sync_at?: string | null;
|
|
102562
|
+
resource_type?: string;
|
|
102563
|
+
sequence_number?: number;
|
|
102564
|
+
updated_at?: string;
|
|
102565
|
+
};
|
|
102566
|
+
Relationships: [];
|
|
102567
|
+
};
|
|
99983
102568
|
floriday_sync_state: {
|
|
99984
102569
|
Row: {
|
|
99985
102570
|
connection_id: string;
|
|
@@ -100670,6 +103255,42 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
100670
103255
|
};
|
|
100671
103256
|
Relationships: [];
|
|
100672
103257
|
};
|
|
103258
|
+
inventory_stock_snapshots: {
|
|
103259
|
+
Row: {
|
|
103260
|
+
connection_id: string;
|
|
103261
|
+
created_at: string;
|
|
103262
|
+
erp_available_quantity: number;
|
|
103263
|
+
floriday_desired_quantity: number;
|
|
103264
|
+
floriday_remote_quantity: number | null;
|
|
103265
|
+
granularity: string;
|
|
103266
|
+
id: string;
|
|
103267
|
+
snapshot_at: string;
|
|
103268
|
+
user_id: string | null;
|
|
103269
|
+
};
|
|
103270
|
+
Insert: {
|
|
103271
|
+
connection_id: string;
|
|
103272
|
+
created_at?: string;
|
|
103273
|
+
erp_available_quantity?: number;
|
|
103274
|
+
floriday_desired_quantity?: number;
|
|
103275
|
+
floriday_remote_quantity?: number | null;
|
|
103276
|
+
granularity?: string;
|
|
103277
|
+
id?: string;
|
|
103278
|
+
snapshot_at?: string;
|
|
103279
|
+
user_id?: string | null;
|
|
103280
|
+
};
|
|
103281
|
+
Update: {
|
|
103282
|
+
connection_id?: string;
|
|
103283
|
+
created_at?: string;
|
|
103284
|
+
erp_available_quantity?: number;
|
|
103285
|
+
floriday_desired_quantity?: number;
|
|
103286
|
+
floriday_remote_quantity?: number | null;
|
|
103287
|
+
granularity?: string;
|
|
103288
|
+
id?: string;
|
|
103289
|
+
snapshot_at?: string;
|
|
103290
|
+
user_id?: string | null;
|
|
103291
|
+
};
|
|
103292
|
+
Relationships: [];
|
|
103293
|
+
};
|
|
100673
103294
|
invoice_items: {
|
|
100674
103295
|
Row: {
|
|
100675
103296
|
created_at: string;
|
|
@@ -106685,6 +109306,39 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
106685
109306
|
};
|
|
106686
109307
|
Relationships: [];
|
|
106687
109308
|
};
|
|
109309
|
+
print_dedupe_events: {
|
|
109310
|
+
Row: {
|
|
109311
|
+
bestaande_job_id: string | null;
|
|
109312
|
+
created_at: string;
|
|
109313
|
+
detail: string | null;
|
|
109314
|
+
documentnaam: string | null;
|
|
109315
|
+
documenttype: string | null;
|
|
109316
|
+
id: string;
|
|
109317
|
+
idempotentie_sleutel: string;
|
|
109318
|
+
reden: string;
|
|
109319
|
+
};
|
|
109320
|
+
Insert: {
|
|
109321
|
+
bestaande_job_id?: string | null;
|
|
109322
|
+
created_at?: string;
|
|
109323
|
+
detail?: string | null;
|
|
109324
|
+
documentnaam?: string | null;
|
|
109325
|
+
documenttype?: string | null;
|
|
109326
|
+
id?: string;
|
|
109327
|
+
idempotentie_sleutel: string;
|
|
109328
|
+
reden: string;
|
|
109329
|
+
};
|
|
109330
|
+
Update: {
|
|
109331
|
+
bestaande_job_id?: string | null;
|
|
109332
|
+
created_at?: string;
|
|
109333
|
+
detail?: string | null;
|
|
109334
|
+
documentnaam?: string | null;
|
|
109335
|
+
documenttype?: string | null;
|
|
109336
|
+
id?: string;
|
|
109337
|
+
idempotentie_sleutel?: string;
|
|
109338
|
+
reden?: string;
|
|
109339
|
+
};
|
|
109340
|
+
Relationships: [];
|
|
109341
|
+
};
|
|
106688
109342
|
print_job_logs: {
|
|
106689
109343
|
Row: {
|
|
106690
109344
|
created_at: string;
|
|
@@ -106735,6 +109389,9 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
106735
109389
|
is_herprint: boolean;
|
|
106736
109390
|
kopieen: number;
|
|
106737
109391
|
layout_id: string | null;
|
|
109392
|
+
lokaal_opgeslagen_op: string | null;
|
|
109393
|
+
lokale_pdf_fout: string | null;
|
|
109394
|
+
lokale_pdf_status: string | null;
|
|
106738
109395
|
opgepakt_op: string | null;
|
|
106739
109396
|
paginas: number;
|
|
106740
109397
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -106743,6 +109400,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
106743
109400
|
pogingen: number;
|
|
106744
109401
|
printer_id: string | null;
|
|
106745
109402
|
render_html: string | null;
|
|
109403
|
+
resultaat_pdf_base64: string | null;
|
|
106746
109404
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
106747
109405
|
updated_at: string;
|
|
106748
109406
|
volgende_poging: string | null;
|
|
@@ -106767,6 +109425,9 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
106767
109425
|
is_herprint?: boolean;
|
|
106768
109426
|
kopieen?: number;
|
|
106769
109427
|
layout_id?: string | null;
|
|
109428
|
+
lokaal_opgeslagen_op?: string | null;
|
|
109429
|
+
lokale_pdf_fout?: string | null;
|
|
109430
|
+
lokale_pdf_status?: string | null;
|
|
106770
109431
|
opgepakt_op?: string | null;
|
|
106771
109432
|
paginas?: number;
|
|
106772
109433
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -106775,6 +109436,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
106775
109436
|
pogingen?: number;
|
|
106776
109437
|
printer_id?: string | null;
|
|
106777
109438
|
render_html?: string | null;
|
|
109439
|
+
resultaat_pdf_base64?: string | null;
|
|
106778
109440
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
106779
109441
|
updated_at?: string;
|
|
106780
109442
|
volgende_poging?: string | null;
|
|
@@ -106799,6 +109461,9 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
106799
109461
|
is_herprint?: boolean;
|
|
106800
109462
|
kopieen?: number;
|
|
106801
109463
|
layout_id?: string | null;
|
|
109464
|
+
lokaal_opgeslagen_op?: string | null;
|
|
109465
|
+
lokale_pdf_fout?: string | null;
|
|
109466
|
+
lokale_pdf_status?: string | null;
|
|
106802
109467
|
opgepakt_op?: string | null;
|
|
106803
109468
|
paginas?: number;
|
|
106804
109469
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -106807,6 +109472,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
106807
109472
|
pogingen?: number;
|
|
106808
109473
|
printer_id?: string | null;
|
|
106809
109474
|
render_html?: string | null;
|
|
109475
|
+
resultaat_pdf_base64?: string | null;
|
|
106810
109476
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
106811
109477
|
updated_at?: string;
|
|
106812
109478
|
volgende_poging?: string | null;
|
|
@@ -106925,6 +109591,39 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
106925
109591
|
};
|
|
106926
109592
|
Relationships: [];
|
|
106927
109593
|
};
|
|
109594
|
+
print_preview_events: {
|
|
109595
|
+
Row: {
|
|
109596
|
+
code: string | null;
|
|
109597
|
+
created_at: string;
|
|
109598
|
+
detail: import("../integrations/supabase/types").Json;
|
|
109599
|
+
id: string;
|
|
109600
|
+
queue_item_id: string | null;
|
|
109601
|
+
reden: string | null;
|
|
109602
|
+
station_slug: string | null;
|
|
109603
|
+
uitkomst: string;
|
|
109604
|
+
};
|
|
109605
|
+
Insert: {
|
|
109606
|
+
code?: string | null;
|
|
109607
|
+
created_at?: string;
|
|
109608
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
109609
|
+
id?: string;
|
|
109610
|
+
queue_item_id?: string | null;
|
|
109611
|
+
reden?: string | null;
|
|
109612
|
+
station_slug?: string | null;
|
|
109613
|
+
uitkomst?: string;
|
|
109614
|
+
};
|
|
109615
|
+
Update: {
|
|
109616
|
+
code?: string | null;
|
|
109617
|
+
created_at?: string;
|
|
109618
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
109619
|
+
id?: string;
|
|
109620
|
+
queue_item_id?: string | null;
|
|
109621
|
+
reden?: string | null;
|
|
109622
|
+
station_slug?: string | null;
|
|
109623
|
+
uitkomst?: string;
|
|
109624
|
+
};
|
|
109625
|
+
Relationships: [];
|
|
109626
|
+
};
|
|
106928
109627
|
print_queue_runners: {
|
|
106929
109628
|
Row: {
|
|
106930
109629
|
actief: boolean;
|
|
@@ -107164,6 +109863,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
107164
109863
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
107165
109864
|
online: boolean;
|
|
107166
109865
|
papierformaat: string;
|
|
109866
|
+
pdf_map: string | null;
|
|
107167
109867
|
poort: number | null;
|
|
107168
109868
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
107169
109869
|
systeemnaam: string;
|
|
@@ -107189,6 +109889,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
107189
109889
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
107190
109890
|
online?: boolean;
|
|
107191
109891
|
papierformaat?: string;
|
|
109892
|
+
pdf_map?: string | null;
|
|
107192
109893
|
poort?: number | null;
|
|
107193
109894
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
107194
109895
|
systeemnaam?: string;
|
|
@@ -107214,6 +109915,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
107214
109915
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
107215
109916
|
online?: boolean;
|
|
107216
109917
|
papierformaat?: string;
|
|
109918
|
+
pdf_map?: string | null;
|
|
107217
109919
|
poort?: number | null;
|
|
107218
109920
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
107219
109921
|
systeemnaam?: string;
|
|
@@ -109783,6 +112485,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
109783
112485
|
};
|
|
109784
112486
|
trade_item_stock: {
|
|
109785
112487
|
Row: {
|
|
112488
|
+
change_source: string;
|
|
109786
112489
|
connection_id: string;
|
|
109787
112490
|
created_at: string;
|
|
109788
112491
|
id: string;
|
|
@@ -109796,6 +112499,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
109796
112499
|
user_id: string;
|
|
109797
112500
|
};
|
|
109798
112501
|
Insert: {
|
|
112502
|
+
change_source?: string;
|
|
109799
112503
|
connection_id: string;
|
|
109800
112504
|
created_at?: string;
|
|
109801
112505
|
id?: string;
|
|
@@ -109809,6 +112513,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
109809
112513
|
user_id: string;
|
|
109810
112514
|
};
|
|
109811
112515
|
Update: {
|
|
112516
|
+
change_source?: string;
|
|
109812
112517
|
connection_id?: string;
|
|
109813
112518
|
created_at?: string;
|
|
109814
112519
|
id?: string;
|
|
@@ -113409,6 +116114,18 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
113409
116114
|
Args: never;
|
|
113410
116115
|
Returns: number;
|
|
113411
116116
|
};
|
|
116117
|
+
calculate_floriday_desired_stock: {
|
|
116118
|
+
Args: {
|
|
116119
|
+
p_connection_id: string;
|
|
116120
|
+
p_product_id: string;
|
|
116121
|
+
};
|
|
116122
|
+
Returns: {
|
|
116123
|
+
desired_availability: boolean;
|
|
116124
|
+
desired_quantity: number;
|
|
116125
|
+
erp_available: number;
|
|
116126
|
+
stock_mode: string;
|
|
116127
|
+
}[];
|
|
116128
|
+
};
|
|
113412
116129
|
calculate_layer_stock: {
|
|
113413
116130
|
Args: {
|
|
113414
116131
|
p_product_id: string;
|
|
@@ -113470,6 +116187,9 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
113470
116187
|
is_herprint: boolean;
|
|
113471
116188
|
kopieen: number;
|
|
113472
116189
|
layout_id: string | null;
|
|
116190
|
+
lokaal_opgeslagen_op: string | null;
|
|
116191
|
+
lokale_pdf_fout: string | null;
|
|
116192
|
+
lokale_pdf_status: string | null;
|
|
113473
116193
|
opgepakt_op: string | null;
|
|
113474
116194
|
paginas: number;
|
|
113475
116195
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -113478,6 +116198,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
113478
116198
|
pogingen: number;
|
|
113479
116199
|
printer_id: string | null;
|
|
113480
116200
|
render_html: string | null;
|
|
116201
|
+
resultaat_pdf_base64: string | null;
|
|
113481
116202
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
113482
116203
|
updated_at: string;
|
|
113483
116204
|
volgende_poging: string | null;
|
|
@@ -113499,6 +116220,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
113499
116220
|
attempts: number;
|
|
113500
116221
|
connection_id: string;
|
|
113501
116222
|
created_at: string;
|
|
116223
|
+
dead_lettered_at: string | null;
|
|
113502
116224
|
desired_available: boolean | null;
|
|
113503
116225
|
gateway_attempt_id: string | null;
|
|
113504
116226
|
id: string;
|
|
@@ -113507,9 +116229,13 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
113507
116229
|
locked_by: string | null;
|
|
113508
116230
|
next_attempt_at: string;
|
|
113509
116231
|
number_of_pieces: number;
|
|
116232
|
+
product_id: string | null;
|
|
113510
116233
|
sent_at: string | null;
|
|
113511
116234
|
status: string;
|
|
116235
|
+
stock_mode: string | null;
|
|
113512
116236
|
superseded_by: string | null;
|
|
116237
|
+
target_week: number | null;
|
|
116238
|
+
target_year: number | null;
|
|
113513
116239
|
trade_item_id: string;
|
|
113514
116240
|
updated_at: string;
|
|
113515
116241
|
user_id: string;
|
|
@@ -113569,6 +116295,53 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
113569
116295
|
isSetofReturn: true;
|
|
113570
116296
|
};
|
|
113571
116297
|
};
|
|
116298
|
+
claim_pdf_print_jobs: {
|
|
116299
|
+
Args: {
|
|
116300
|
+
_max?: number;
|
|
116301
|
+
};
|
|
116302
|
+
Returns: {
|
|
116303
|
+
agent_id: string | null;
|
|
116304
|
+
bron_job_id: string | null;
|
|
116305
|
+
created_at: string;
|
|
116306
|
+
documentnaam: string;
|
|
116307
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
116308
|
+
extern_job_id: string | null;
|
|
116309
|
+
foutmelding: string | null;
|
|
116310
|
+
gebruiker_id: string | null;
|
|
116311
|
+
gebruiker_naam: string;
|
|
116312
|
+
gebruikte_bron: string | null;
|
|
116313
|
+
gebruikte_layout_id: string | null;
|
|
116314
|
+
gestart_op: string | null;
|
|
116315
|
+
herkomst: string | null;
|
|
116316
|
+
id: string;
|
|
116317
|
+
idempotentie_sleutel: string | null;
|
|
116318
|
+
is_herprint: boolean;
|
|
116319
|
+
kopieen: number;
|
|
116320
|
+
layout_id: string | null;
|
|
116321
|
+
lokaal_opgeslagen_op: string | null;
|
|
116322
|
+
lokale_pdf_fout: string | null;
|
|
116323
|
+
lokale_pdf_status: string | null;
|
|
116324
|
+
opgepakt_op: string | null;
|
|
116325
|
+
paginas: number;
|
|
116326
|
+
payload: import("../integrations/supabase/types").Json;
|
|
116327
|
+
pdf_base64: string | null;
|
|
116328
|
+
pdf_url: string | null;
|
|
116329
|
+
pogingen: number;
|
|
116330
|
+
printer_id: string | null;
|
|
116331
|
+
render_html: string | null;
|
|
116332
|
+
resultaat_pdf_base64: string | null;
|
|
116333
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
116334
|
+
updated_at: string;
|
|
116335
|
+
volgende_poging: string | null;
|
|
116336
|
+
voltooid_op: string | null;
|
|
116337
|
+
}[];
|
|
116338
|
+
SetofOptions: {
|
|
116339
|
+
from: "*";
|
|
116340
|
+
to: "print_jobs";
|
|
116341
|
+
isOneToOne: false;
|
|
116342
|
+
isSetofReturn: true;
|
|
116343
|
+
};
|
|
116344
|
+
};
|
|
113572
116345
|
claim_print_jobs: {
|
|
113573
116346
|
Args: {
|
|
113574
116347
|
_agent_id: string;
|
|
@@ -113593,6 +116366,9 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
113593
116366
|
is_herprint: boolean;
|
|
113594
116367
|
kopieen: number;
|
|
113595
116368
|
layout_id: string | null;
|
|
116369
|
+
lokaal_opgeslagen_op: string | null;
|
|
116370
|
+
lokale_pdf_fout: string | null;
|
|
116371
|
+
lokale_pdf_status: string | null;
|
|
113596
116372
|
opgepakt_op: string | null;
|
|
113597
116373
|
paginas: number;
|
|
113598
116374
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -113601,6 +116377,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
113601
116377
|
pogingen: number;
|
|
113602
116378
|
printer_id: string | null;
|
|
113603
116379
|
render_html: string | null;
|
|
116380
|
+
resultaat_pdf_base64: string | null;
|
|
113604
116381
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
113605
116382
|
updated_at: string;
|
|
113606
116383
|
volgende_poging: string | null;
|
|
@@ -113741,6 +116518,8 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
113741
116518
|
order_id: string;
|
|
113742
116519
|
order_source: string;
|
|
113743
116520
|
pick_date: string;
|
|
116521
|
+
printed_at: string;
|
|
116522
|
+
printed_today: boolean;
|
|
113744
116523
|
status: string;
|
|
113745
116524
|
}[];
|
|
113746
116525
|
};
|
|
@@ -113937,6 +116716,24 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
113937
116716
|
};
|
|
113938
116717
|
Returns: string;
|
|
113939
116718
|
};
|
|
116719
|
+
floriday_capture_stock_snapshot: {
|
|
116720
|
+
Args: never;
|
|
116721
|
+
Returns: number;
|
|
116722
|
+
};
|
|
116723
|
+
floriday_cleanup_stock_queue_v2: {
|
|
116724
|
+
Args: never;
|
|
116725
|
+
Returns: undefined;
|
|
116726
|
+
};
|
|
116727
|
+
floriday_compact_stock_snapshots: {
|
|
116728
|
+
Args: never;
|
|
116729
|
+
Returns: undefined;
|
|
116730
|
+
};
|
|
116731
|
+
floriday_default_owner: {
|
|
116732
|
+
Args: {
|
|
116733
|
+
p_connection_id: string;
|
|
116734
|
+
};
|
|
116735
|
+
Returns: string;
|
|
116736
|
+
};
|
|
113940
116737
|
floriday_effective_price: {
|
|
113941
116738
|
Args: {
|
|
113942
116739
|
_buyer_id: string;
|
|
@@ -113954,6 +116751,22 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
113954
116751
|
source_id: string;
|
|
113955
116752
|
}[];
|
|
113956
116753
|
};
|
|
116754
|
+
floriday_fill_publish_horizon: {
|
|
116755
|
+
Args: never;
|
|
116756
|
+
Returns: number;
|
|
116757
|
+
};
|
|
116758
|
+
floriday_publish_horizon_weeks: {
|
|
116759
|
+
Args: never;
|
|
116760
|
+
Returns: number;
|
|
116761
|
+
};
|
|
116762
|
+
floriday_recompute_inventory: {
|
|
116763
|
+
Args: {
|
|
116764
|
+
p_connection_id: string;
|
|
116765
|
+
p_force?: boolean;
|
|
116766
|
+
p_product_id: string;
|
|
116767
|
+
};
|
|
116768
|
+
Returns: undefined;
|
|
116769
|
+
};
|
|
113957
116770
|
format_cart_number: {
|
|
113958
116771
|
Args: {
|
|
113959
116772
|
p_pick_date: string;
|
|
@@ -114449,6 +117262,10 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
114449
117262
|
};
|
|
114450
117263
|
Returns: number;
|
|
114451
117264
|
};
|
|
117265
|
+
logistics_cancel_orphan_tasks: {
|
|
117266
|
+
Args: never;
|
|
117267
|
+
Returns: number;
|
|
117268
|
+
};
|
|
114452
117269
|
logistics_capacity_day_check: {
|
|
114453
117270
|
Args: {
|
|
114454
117271
|
p_from?: string;
|
|
@@ -114469,6 +117286,25 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
114469
117286
|
};
|
|
114470
117287
|
Returns: number;
|
|
114471
117288
|
};
|
|
117289
|
+
logistics_cart_index: {
|
|
117290
|
+
Args: {
|
|
117291
|
+
p_from?: string;
|
|
117292
|
+
p_to?: string;
|
|
117293
|
+
};
|
|
117294
|
+
Returns: {
|
|
117295
|
+
cart_id: string;
|
|
117296
|
+
cart_index: number;
|
|
117297
|
+
cart_label: string;
|
|
117298
|
+
is_shared: boolean;
|
|
117299
|
+
order_number: string;
|
|
117300
|
+
order_source: string;
|
|
117301
|
+
order_uuid: string;
|
|
117302
|
+
pick_date: string;
|
|
117303
|
+
printed_at: string;
|
|
117304
|
+
shifted: boolean;
|
|
117305
|
+
task_status: string;
|
|
117306
|
+
}[];
|
|
117307
|
+
};
|
|
114472
117308
|
logistics_check_order_allowed: {
|
|
114473
117309
|
Args: {
|
|
114474
117310
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -114617,6 +117453,17 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
114617
117453
|
isSetofReturn: false;
|
|
114618
117454
|
};
|
|
114619
117455
|
};
|
|
117456
|
+
logistics_consistency_check: {
|
|
117457
|
+
Args: never;
|
|
117458
|
+
Returns: {
|
|
117459
|
+
agenda_carts: number;
|
|
117460
|
+
control_carts: number;
|
|
117461
|
+
ok: boolean;
|
|
117462
|
+
orphan_tasks: number;
|
|
117463
|
+
pick_date: string;
|
|
117464
|
+
raw_carts: number;
|
|
117465
|
+
}[];
|
|
117466
|
+
};
|
|
114620
117467
|
logistics_delay_customer_email: {
|
|
114621
117468
|
Args: {
|
|
114622
117469
|
p_customer: string;
|
|
@@ -114706,6 +117553,16 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
114706
117553
|
isSetofReturn: false;
|
|
114707
117554
|
};
|
|
114708
117555
|
};
|
|
117556
|
+
logistics_floriday_cart_plan: {
|
|
117557
|
+
Args: {
|
|
117558
|
+
p_order_id: string;
|
|
117559
|
+
};
|
|
117560
|
+
Returns: {
|
|
117561
|
+
carrier_type: string;
|
|
117562
|
+
idx: number;
|
|
117563
|
+
packages: number;
|
|
117564
|
+
}[];
|
|
117565
|
+
};
|
|
114709
117566
|
logistics_floriday_claim_pushes: {
|
|
114710
117567
|
Args: {
|
|
114711
117568
|
_lease_seconds?: number;
|
|
@@ -114810,6 +117667,25 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
114810
117667
|
};
|
|
114811
117668
|
Returns: number;
|
|
114812
117669
|
};
|
|
117670
|
+
logistics_order_overview: {
|
|
117671
|
+
Args: {
|
|
117672
|
+
p_from?: string;
|
|
117673
|
+
p_to?: string;
|
|
117674
|
+
};
|
|
117675
|
+
Returns: {
|
|
117676
|
+
cart_count: number;
|
|
117677
|
+
customer_name: string;
|
|
117678
|
+
delivery_date: string;
|
|
117679
|
+
order_number: string;
|
|
117680
|
+
order_source: string;
|
|
117681
|
+
order_uuid: string;
|
|
117682
|
+
pick_date: string;
|
|
117683
|
+
plant_count: number;
|
|
117684
|
+
printed_at: string;
|
|
117685
|
+
shifted: boolean;
|
|
117686
|
+
status: string;
|
|
117687
|
+
}[];
|
|
117688
|
+
};
|
|
114813
117689
|
logistics_order_pick_day: {
|
|
114814
117690
|
Args: {
|
|
114815
117691
|
p_order_ref: string;
|
|
@@ -114822,6 +117698,22 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
114822
117698
|
};
|
|
114823
117699
|
Returns: string;
|
|
114824
117700
|
};
|
|
117701
|
+
logistics_pick_agenda: {
|
|
117702
|
+
Args: {
|
|
117703
|
+
p_from?: string;
|
|
117704
|
+
p_to?: string;
|
|
117705
|
+
};
|
|
117706
|
+
Returns: {
|
|
117707
|
+
cart_count: number;
|
|
117708
|
+
in_preparation: number;
|
|
117709
|
+
order_count: number;
|
|
117710
|
+
orders: import("../integrations/supabase/types").Json;
|
|
117711
|
+
pick_date: string;
|
|
117712
|
+
plant_count: number;
|
|
117713
|
+
ready: number;
|
|
117714
|
+
shifted_count: number;
|
|
117715
|
+
}[];
|
|
117716
|
+
};
|
|
114825
117717
|
logistics_pick_email_purpose: {
|
|
114826
117718
|
Args: never;
|
|
114827
117719
|
Returns: string;
|
|
@@ -114876,6 +117768,13 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
114876
117768
|
};
|
|
114877
117769
|
Returns: undefined;
|
|
114878
117770
|
};
|
|
117771
|
+
logistics_plan_floriday_order: {
|
|
117772
|
+
Args: {
|
|
117773
|
+
p_buffer_id?: string;
|
|
117774
|
+
p_order_id: string;
|
|
117775
|
+
};
|
|
117776
|
+
Returns: number;
|
|
117777
|
+
};
|
|
114879
117778
|
logistics_plan_impact_orders: {
|
|
114880
117779
|
Args: {
|
|
114881
117780
|
p_order_id: string;
|
|
@@ -114981,6 +117880,15 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
114981
117880
|
};
|
|
114982
117881
|
Returns: import("../integrations/supabase/types").Json;
|
|
114983
117882
|
};
|
|
117883
|
+
logistics_resolve_pick_document: {
|
|
117884
|
+
Args: {
|
|
117885
|
+
_is_herprint: boolean;
|
|
117886
|
+
_queue_item_id: string;
|
|
117887
|
+
_session_id: string;
|
|
117888
|
+
_voorbeeld: boolean;
|
|
117889
|
+
};
|
|
117890
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
117891
|
+
};
|
|
114984
117892
|
logistics_resolve_settings: {
|
|
114985
117893
|
Args: {
|
|
114986
117894
|
p_config_id: string;
|
|
@@ -115421,6 +118329,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
115421
118329
|
};
|
|
115422
118330
|
pick_enqueue_print_job: {
|
|
115423
118331
|
Args: {
|
|
118332
|
+
_is_herprint?: boolean;
|
|
115424
118333
|
_printer_id?: string;
|
|
115425
118334
|
_queue_item_id: string;
|
|
115426
118335
|
_session_id?: string;
|
|
@@ -115434,6 +118343,13 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
115434
118343
|
};
|
|
115435
118344
|
Returns: import("../integrations/supabase/types").Json;
|
|
115436
118345
|
};
|
|
118346
|
+
pick_preview_job: {
|
|
118347
|
+
Args: {
|
|
118348
|
+
_queue_item_id: string;
|
|
118349
|
+
_station_slug: string;
|
|
118350
|
+
};
|
|
118351
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
118352
|
+
};
|
|
115437
118353
|
pick_print_job_status: {
|
|
115438
118354
|
Args: {
|
|
115439
118355
|
_job_id: string;
|
|
@@ -115611,6 +118527,24 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
115611
118527
|
};
|
|
115612
118528
|
Returns: undefined;
|
|
115613
118529
|
};
|
|
118530
|
+
print_preview_toestaan: {
|
|
118531
|
+
Args: {
|
|
118532
|
+
_max?: number;
|
|
118533
|
+
_queue_item_id: string;
|
|
118534
|
+
_station_slug: string;
|
|
118535
|
+
_venster_sec?: number;
|
|
118536
|
+
};
|
|
118537
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
118538
|
+
};
|
|
118539
|
+
print_preview_weiger: {
|
|
118540
|
+
Args: {
|
|
118541
|
+
_code: string;
|
|
118542
|
+
_queue_item_id: string;
|
|
118543
|
+
_reden: string;
|
|
118544
|
+
_station_slug: string;
|
|
118545
|
+
};
|
|
118546
|
+
Returns: undefined;
|
|
118547
|
+
};
|
|
115614
118548
|
process_logistics_event: {
|
|
115615
118549
|
Args: {
|
|
115616
118550
|
p_event_id: string;
|
|
@@ -115765,6 +118699,12 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
115765
118699
|
};
|
|
115766
118700
|
Returns: string;
|
|
115767
118701
|
};
|
|
118702
|
+
resolve_print_job_printer_id: {
|
|
118703
|
+
Args: {
|
|
118704
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
118705
|
+
};
|
|
118706
|
+
Returns: string;
|
|
118707
|
+
};
|
|
115768
118708
|
resolve_product_id_for_item: {
|
|
115769
118709
|
Args: {
|
|
115770
118710
|
p_product_name: string;
|
|
@@ -116356,7 +119296,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
116356
119296
|
};
|
|
116357
119297
|
CompositeTypes: { [_ in never]: never; };
|
|
116358
119298
|
}, {
|
|
116359
|
-
PostgrestVersion: "14.
|
|
119299
|
+
PostgrestVersion: "14.5";
|
|
116360
119300
|
}>;
|
|
116361
119301
|
userId: string;
|
|
116362
119302
|
claims: import("@supabase/auth-js").User;
|