@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
|
@@ -2866,6 +2866,84 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
2866
2866
|
};
|
|
2867
2867
|
Relationships: [];
|
|
2868
2868
|
};
|
|
2869
|
+
delivery_notes: {
|
|
2870
|
+
Row: {
|
|
2871
|
+
byte_size: number | null;
|
|
2872
|
+
connection_id: string | null;
|
|
2873
|
+
content_type: string;
|
|
2874
|
+
created_at: string;
|
|
2875
|
+
error_message: string | null;
|
|
2876
|
+
fetched_at: string | null;
|
|
2877
|
+
fulfillment_order_id: string | null;
|
|
2878
|
+
http_status: number | null;
|
|
2879
|
+
id: string;
|
|
2880
|
+
label_code: string | null;
|
|
2881
|
+
letter: string | null;
|
|
2882
|
+
load_carrier_index: number | null;
|
|
2883
|
+
load_carrier_type: string | null;
|
|
2884
|
+
order_id: string | null;
|
|
2885
|
+
order_number: string | null;
|
|
2886
|
+
packages: number | null;
|
|
2887
|
+
source: string;
|
|
2888
|
+
status: string;
|
|
2889
|
+
storage_bucket: string;
|
|
2890
|
+
storage_path: string | null;
|
|
2891
|
+
updated_at: string;
|
|
2892
|
+
};
|
|
2893
|
+
Insert: {
|
|
2894
|
+
byte_size?: number | null;
|
|
2895
|
+
connection_id?: string | null;
|
|
2896
|
+
content_type?: string;
|
|
2897
|
+
created_at?: string;
|
|
2898
|
+
error_message?: string | null;
|
|
2899
|
+
fetched_at?: string | null;
|
|
2900
|
+
fulfillment_order_id?: string | null;
|
|
2901
|
+
http_status?: number | null;
|
|
2902
|
+
id?: string;
|
|
2903
|
+
label_code?: string | null;
|
|
2904
|
+
letter?: string | null;
|
|
2905
|
+
load_carrier_index?: number | null;
|
|
2906
|
+
load_carrier_type?: string | null;
|
|
2907
|
+
order_id?: string | null;
|
|
2908
|
+
order_number?: string | null;
|
|
2909
|
+
packages?: number | null;
|
|
2910
|
+
source?: string;
|
|
2911
|
+
status?: string;
|
|
2912
|
+
storage_bucket?: string;
|
|
2913
|
+
storage_path?: string | null;
|
|
2914
|
+
updated_at?: string;
|
|
2915
|
+
};
|
|
2916
|
+
Update: {
|
|
2917
|
+
byte_size?: number | null;
|
|
2918
|
+
connection_id?: string | null;
|
|
2919
|
+
content_type?: string;
|
|
2920
|
+
created_at?: string;
|
|
2921
|
+
error_message?: string | null;
|
|
2922
|
+
fetched_at?: string | null;
|
|
2923
|
+
fulfillment_order_id?: string | null;
|
|
2924
|
+
http_status?: number | null;
|
|
2925
|
+
id?: string;
|
|
2926
|
+
label_code?: string | null;
|
|
2927
|
+
letter?: string | null;
|
|
2928
|
+
load_carrier_index?: number | null;
|
|
2929
|
+
load_carrier_type?: string | null;
|
|
2930
|
+
order_id?: string | null;
|
|
2931
|
+
order_number?: string | null;
|
|
2932
|
+
packages?: number | null;
|
|
2933
|
+
source?: string;
|
|
2934
|
+
status?: string;
|
|
2935
|
+
storage_bucket?: string;
|
|
2936
|
+
storage_path?: string | null;
|
|
2937
|
+
updated_at?: string;
|
|
2938
|
+
};
|
|
2939
|
+
Relationships: [{
|
|
2940
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
2941
|
+
columns: ["order_id"];
|
|
2942
|
+
isOneToOne: false;
|
|
2943
|
+
referencedRelation: "orders";
|
|
2944
|
+
referencedColumns: ["id"];
|
|
2945
|
+
}];
|
|
2946
|
+
};
|
|
2869
2947
|
document_bronregels: {
|
|
2870
2948
|
Row: {
|
|
2871
2949
|
bron: string;
|
|
@@ -5919,10 +5997,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
5919
5997
|
};
|
|
5920
5998
|
floriday_connections: {
|
|
5921
5999
|
Row: {
|
|
5922
|
-
access_token: string | null;
|
|
5923
6000
|
api_key: string;
|
|
5924
|
-
client_id: string;
|
|
5925
|
-
client_secret: string;
|
|
5926
6001
|
created_at: string;
|
|
5927
6002
|
customers_endpoint: string | null;
|
|
5928
6003
|
environment: string;
|
|
@@ -5937,10 +6012,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
5937
6012
|
updated_at: string;
|
|
5938
6013
|
};
|
|
5939
6014
|
Insert: {
|
|
5940
|
-
access_token?: string | null;
|
|
5941
6015
|
api_key: string;
|
|
5942
|
-
client_id: string;
|
|
5943
|
-
client_secret: string;
|
|
5944
6016
|
created_at?: string;
|
|
5945
6017
|
customers_endpoint?: string | null;
|
|
5946
6018
|
environment: string;
|
|
@@ -5955,10 +6027,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
5955
6027
|
updated_at?: string;
|
|
5956
6028
|
};
|
|
5957
6029
|
Update: {
|
|
5958
|
-
access_token?: string | null;
|
|
5959
6030
|
api_key?: string;
|
|
5960
|
-
client_id?: string;
|
|
5961
|
-
client_secret?: string;
|
|
5962
6031
|
created_at?: string;
|
|
5963
6032
|
customers_endpoint?: string | null;
|
|
5964
6033
|
environment?: string;
|
|
@@ -6042,6 +6111,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
6042
6111
|
attempts: number;
|
|
6043
6112
|
connection_id: string;
|
|
6044
6113
|
created_at: string;
|
|
6114
|
+
dead_lettered_at: string | null;
|
|
6045
6115
|
desired_available: boolean | null;
|
|
6046
6116
|
gateway_attempt_id: string | null;
|
|
6047
6117
|
id: string;
|
|
@@ -6050,9 +6120,13 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
6050
6120
|
locked_by: string | null;
|
|
6051
6121
|
next_attempt_at: string;
|
|
6052
6122
|
number_of_pieces: number;
|
|
6123
|
+
product_id: string | null;
|
|
6053
6124
|
sent_at: string | null;
|
|
6054
6125
|
status: string;
|
|
6126
|
+
stock_mode: string | null;
|
|
6055
6127
|
superseded_by: string | null;
|
|
6128
|
+
target_week: number | null;
|
|
6129
|
+
target_year: number | null;
|
|
6056
6130
|
trade_item_id: string;
|
|
6057
6131
|
updated_at: string;
|
|
6058
6132
|
user_id: string;
|
|
@@ -6061,6 +6135,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
6061
6135
|
attempts?: number;
|
|
6062
6136
|
connection_id: string;
|
|
6063
6137
|
created_at?: string;
|
|
6138
|
+
dead_lettered_at?: string | null;
|
|
6064
6139
|
desired_available?: boolean | null;
|
|
6065
6140
|
gateway_attempt_id?: string | null;
|
|
6066
6141
|
id?: string;
|
|
@@ -6069,9 +6144,13 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
6069
6144
|
locked_by?: string | null;
|
|
6070
6145
|
next_attempt_at?: string;
|
|
6071
6146
|
number_of_pieces?: number;
|
|
6147
|
+
product_id?: string | null;
|
|
6072
6148
|
sent_at?: string | null;
|
|
6073
6149
|
status?: string;
|
|
6150
|
+
stock_mode?: string | null;
|
|
6074
6151
|
superseded_by?: string | null;
|
|
6152
|
+
target_week?: number | null;
|
|
6153
|
+
target_year?: number | null;
|
|
6075
6154
|
trade_item_id: string;
|
|
6076
6155
|
updated_at?: string;
|
|
6077
6156
|
user_id: string;
|
|
@@ -6080,6 +6159,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
6080
6159
|
attempts?: number;
|
|
6081
6160
|
connection_id?: string;
|
|
6082
6161
|
created_at?: string;
|
|
6162
|
+
dead_lettered_at?: string | null;
|
|
6083
6163
|
desired_available?: boolean | null;
|
|
6084
6164
|
gateway_attempt_id?: string | null;
|
|
6085
6165
|
id?: string;
|
|
@@ -6088,9 +6168,13 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
6088
6168
|
locked_by?: string | null;
|
|
6089
6169
|
next_attempt_at?: string;
|
|
6090
6170
|
number_of_pieces?: number;
|
|
6171
|
+
product_id?: string | null;
|
|
6091
6172
|
sent_at?: string | null;
|
|
6092
6173
|
status?: string;
|
|
6174
|
+
stock_mode?: string | null;
|
|
6093
6175
|
superseded_by?: string | null;
|
|
6176
|
+
target_week?: number | null;
|
|
6177
|
+
target_year?: number | null;
|
|
6094
6178
|
trade_item_id?: string;
|
|
6095
6179
|
updated_at?: string;
|
|
6096
6180
|
user_id?: string;
|
|
@@ -6499,6 +6583,87 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
6499
6583
|
referencedColumns: ["id"];
|
|
6500
6584
|
}];
|
|
6501
6585
|
};
|
|
6586
|
+
floriday_inventory_settings: {
|
|
6587
|
+
Row: {
|
|
6588
|
+
buffer_quantity: number;
|
|
6589
|
+
connection_id: string;
|
|
6590
|
+
created_at: string;
|
|
6591
|
+
desired_availability: boolean;
|
|
6592
|
+
desired_quantity: number;
|
|
6593
|
+
fixed_quantity: number | null;
|
|
6594
|
+
floriday_trade_item_id: string | null;
|
|
6595
|
+
id: string;
|
|
6596
|
+
last_confirmed_at: string | null;
|
|
6597
|
+
last_enqueued_at: string | null;
|
|
6598
|
+
last_published_at: string | null;
|
|
6599
|
+
last_sync_error: string | null;
|
|
6600
|
+
manual_quantity: number | null;
|
|
6601
|
+
maximum_quantity: number | null;
|
|
6602
|
+
product_id: string;
|
|
6603
|
+
quantity_control: string;
|
|
6604
|
+
remote_available: boolean | null;
|
|
6605
|
+
remote_checked_at: string | null;
|
|
6606
|
+
remote_quantity: number | null;
|
|
6607
|
+
stock_mode: string;
|
|
6608
|
+
sync_status: string;
|
|
6609
|
+
updated_at: string;
|
|
6610
|
+
updated_by: string | null;
|
|
6611
|
+
user_id: string;
|
|
6612
|
+
};
|
|
6613
|
+
Insert: {
|
|
6614
|
+
buffer_quantity?: number;
|
|
6615
|
+
connection_id: string;
|
|
6616
|
+
created_at?: string;
|
|
6617
|
+
desired_availability?: boolean;
|
|
6618
|
+
desired_quantity?: number;
|
|
6619
|
+
fixed_quantity?: number | null;
|
|
6620
|
+
floriday_trade_item_id?: string | null;
|
|
6621
|
+
id?: string;
|
|
6622
|
+
last_confirmed_at?: string | null;
|
|
6623
|
+
last_enqueued_at?: string | null;
|
|
6624
|
+
last_published_at?: string | null;
|
|
6625
|
+
last_sync_error?: string | null;
|
|
6626
|
+
manual_quantity?: number | null;
|
|
6627
|
+
maximum_quantity?: number | null;
|
|
6628
|
+
product_id: string;
|
|
6629
|
+
quantity_control?: string;
|
|
6630
|
+
remote_available?: boolean | null;
|
|
6631
|
+
remote_checked_at?: string | null;
|
|
6632
|
+
remote_quantity?: number | null;
|
|
6633
|
+
stock_mode?: string;
|
|
6634
|
+
sync_status?: string;
|
|
6635
|
+
updated_at?: string;
|
|
6636
|
+
updated_by?: string | null;
|
|
6637
|
+
user_id: string;
|
|
6638
|
+
};
|
|
6639
|
+
Update: {
|
|
6640
|
+
buffer_quantity?: number;
|
|
6641
|
+
connection_id?: string;
|
|
6642
|
+
created_at?: string;
|
|
6643
|
+
desired_availability?: boolean;
|
|
6644
|
+
desired_quantity?: number;
|
|
6645
|
+
fixed_quantity?: number | null;
|
|
6646
|
+
floriday_trade_item_id?: string | null;
|
|
6647
|
+
id?: string;
|
|
6648
|
+
last_confirmed_at?: string | null;
|
|
6649
|
+
last_enqueued_at?: string | null;
|
|
6650
|
+
last_published_at?: string | null;
|
|
6651
|
+
last_sync_error?: string | null;
|
|
6652
|
+
manual_quantity?: number | null;
|
|
6653
|
+
maximum_quantity?: number | null;
|
|
6654
|
+
product_id?: string;
|
|
6655
|
+
quantity_control?: string;
|
|
6656
|
+
remote_available?: boolean | null;
|
|
6657
|
+
remote_checked_at?: string | null;
|
|
6658
|
+
remote_quantity?: number | null;
|
|
6659
|
+
stock_mode?: string;
|
|
6660
|
+
sync_status?: string;
|
|
6661
|
+
updated_at?: string;
|
|
6662
|
+
updated_by?: string | null;
|
|
6663
|
+
user_id?: string;
|
|
6664
|
+
};
|
|
6665
|
+
Relationships: [];
|
|
6666
|
+
};
|
|
6502
6667
|
floriday_invoices_cache: {
|
|
6503
6668
|
Row: {
|
|
6504
6669
|
buyer_organization_id: string | null;
|
|
@@ -6787,6 +6952,39 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
6787
6952
|
};
|
|
6788
6953
|
Relationships: [];
|
|
6789
6954
|
};
|
|
6955
|
+
floriday_sales_order_ingest: {
|
|
6956
|
+
Row: {
|
|
6957
|
+
connection_id: string;
|
|
6958
|
+
created_at: string;
|
|
6959
|
+
id: string;
|
|
6960
|
+
impact: import("../integrations/supabase/types").Json;
|
|
6961
|
+
order_status: string | null;
|
|
6962
|
+
order_version: number;
|
|
6963
|
+
processed_at: string;
|
|
6964
|
+
sales_order_id: string;
|
|
6965
|
+
};
|
|
6966
|
+
Insert: {
|
|
6967
|
+
connection_id: string;
|
|
6968
|
+
created_at?: string;
|
|
6969
|
+
id?: string;
|
|
6970
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
6971
|
+
order_status?: string | null;
|
|
6972
|
+
order_version?: number;
|
|
6973
|
+
processed_at?: string;
|
|
6974
|
+
sales_order_id: string;
|
|
6975
|
+
};
|
|
6976
|
+
Update: {
|
|
6977
|
+
connection_id?: string;
|
|
6978
|
+
created_at?: string;
|
|
6979
|
+
id?: string;
|
|
6980
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
6981
|
+
order_status?: string | null;
|
|
6982
|
+
order_version?: number;
|
|
6983
|
+
processed_at?: string;
|
|
6984
|
+
sales_order_id?: string;
|
|
6985
|
+
};
|
|
6986
|
+
Relationships: [];
|
|
6987
|
+
};
|
|
6790
6988
|
floriday_sales_strategies_cache: {
|
|
6791
6989
|
Row: {
|
|
6792
6990
|
connection_id: string;
|
|
@@ -6886,6 +7084,39 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
6886
7084
|
};
|
|
6887
7085
|
Relationships: [];
|
|
6888
7086
|
};
|
|
7087
|
+
floriday_sync_cursors: {
|
|
7088
|
+
Row: {
|
|
7089
|
+
connection_id: string;
|
|
7090
|
+
created_at: string;
|
|
7091
|
+
id: string;
|
|
7092
|
+
last_error: string | null;
|
|
7093
|
+
last_sync_at: string | null;
|
|
7094
|
+
resource_type: string;
|
|
7095
|
+
sequence_number: number;
|
|
7096
|
+
updated_at: string;
|
|
7097
|
+
};
|
|
7098
|
+
Insert: {
|
|
7099
|
+
connection_id: string;
|
|
7100
|
+
created_at?: string;
|
|
7101
|
+
id?: string;
|
|
7102
|
+
last_error?: string | null;
|
|
7103
|
+
last_sync_at?: string | null;
|
|
7104
|
+
resource_type: string;
|
|
7105
|
+
sequence_number?: number;
|
|
7106
|
+
updated_at?: string;
|
|
7107
|
+
};
|
|
7108
|
+
Update: {
|
|
7109
|
+
connection_id?: string;
|
|
7110
|
+
created_at?: string;
|
|
7111
|
+
id?: string;
|
|
7112
|
+
last_error?: string | null;
|
|
7113
|
+
last_sync_at?: string | null;
|
|
7114
|
+
resource_type?: string;
|
|
7115
|
+
sequence_number?: number;
|
|
7116
|
+
updated_at?: string;
|
|
7117
|
+
};
|
|
7118
|
+
Relationships: [];
|
|
7119
|
+
};
|
|
6889
7120
|
floriday_sync_state: {
|
|
6890
7121
|
Row: {
|
|
6891
7122
|
connection_id: string;
|
|
@@ -7576,6 +7807,42 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
7576
7807
|
};
|
|
7577
7808
|
Relationships: [];
|
|
7578
7809
|
};
|
|
7810
|
+
inventory_stock_snapshots: {
|
|
7811
|
+
Row: {
|
|
7812
|
+
connection_id: string;
|
|
7813
|
+
created_at: string;
|
|
7814
|
+
erp_available_quantity: number;
|
|
7815
|
+
floriday_desired_quantity: number;
|
|
7816
|
+
floriday_remote_quantity: number | null;
|
|
7817
|
+
granularity: string;
|
|
7818
|
+
id: string;
|
|
7819
|
+
snapshot_at: string;
|
|
7820
|
+
user_id: string | null;
|
|
7821
|
+
};
|
|
7822
|
+
Insert: {
|
|
7823
|
+
connection_id: string;
|
|
7824
|
+
created_at?: string;
|
|
7825
|
+
erp_available_quantity?: number;
|
|
7826
|
+
floriday_desired_quantity?: number;
|
|
7827
|
+
floriday_remote_quantity?: number | null;
|
|
7828
|
+
granularity?: string;
|
|
7829
|
+
id?: string;
|
|
7830
|
+
snapshot_at?: string;
|
|
7831
|
+
user_id?: string | null;
|
|
7832
|
+
};
|
|
7833
|
+
Update: {
|
|
7834
|
+
connection_id?: string;
|
|
7835
|
+
created_at?: string;
|
|
7836
|
+
erp_available_quantity?: number;
|
|
7837
|
+
floriday_desired_quantity?: number;
|
|
7838
|
+
floriday_remote_quantity?: number | null;
|
|
7839
|
+
granularity?: string;
|
|
7840
|
+
id?: string;
|
|
7841
|
+
snapshot_at?: string;
|
|
7842
|
+
user_id?: string | null;
|
|
7843
|
+
};
|
|
7844
|
+
Relationships: [];
|
|
7845
|
+
};
|
|
7579
7846
|
invoice_items: {
|
|
7580
7847
|
Row: {
|
|
7581
7848
|
created_at: string;
|
|
@@ -13591,6 +13858,39 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
13591
13858
|
};
|
|
13592
13859
|
Relationships: [];
|
|
13593
13860
|
};
|
|
13861
|
+
print_dedupe_events: {
|
|
13862
|
+
Row: {
|
|
13863
|
+
bestaande_job_id: string | null;
|
|
13864
|
+
created_at: string;
|
|
13865
|
+
detail: string | null;
|
|
13866
|
+
documentnaam: string | null;
|
|
13867
|
+
documenttype: string | null;
|
|
13868
|
+
id: string;
|
|
13869
|
+
idempotentie_sleutel: string;
|
|
13870
|
+
reden: string;
|
|
13871
|
+
};
|
|
13872
|
+
Insert: {
|
|
13873
|
+
bestaande_job_id?: string | null;
|
|
13874
|
+
created_at?: string;
|
|
13875
|
+
detail?: string | null;
|
|
13876
|
+
documentnaam?: string | null;
|
|
13877
|
+
documenttype?: string | null;
|
|
13878
|
+
id?: string;
|
|
13879
|
+
idempotentie_sleutel: string;
|
|
13880
|
+
reden: string;
|
|
13881
|
+
};
|
|
13882
|
+
Update: {
|
|
13883
|
+
bestaande_job_id?: string | null;
|
|
13884
|
+
created_at?: string;
|
|
13885
|
+
detail?: string | null;
|
|
13886
|
+
documentnaam?: string | null;
|
|
13887
|
+
documenttype?: string | null;
|
|
13888
|
+
id?: string;
|
|
13889
|
+
idempotentie_sleutel?: string;
|
|
13890
|
+
reden?: string;
|
|
13891
|
+
};
|
|
13892
|
+
Relationships: [];
|
|
13893
|
+
};
|
|
13594
13894
|
print_job_logs: {
|
|
13595
13895
|
Row: {
|
|
13596
13896
|
created_at: string;
|
|
@@ -13641,6 +13941,9 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
13641
13941
|
is_herprint: boolean;
|
|
13642
13942
|
kopieen: number;
|
|
13643
13943
|
layout_id: string | null;
|
|
13944
|
+
lokaal_opgeslagen_op: string | null;
|
|
13945
|
+
lokale_pdf_fout: string | null;
|
|
13946
|
+
lokale_pdf_status: string | null;
|
|
13644
13947
|
opgepakt_op: string | null;
|
|
13645
13948
|
paginas: number;
|
|
13646
13949
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -13649,6 +13952,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
13649
13952
|
pogingen: number;
|
|
13650
13953
|
printer_id: string | null;
|
|
13651
13954
|
render_html: string | null;
|
|
13955
|
+
resultaat_pdf_base64: string | null;
|
|
13652
13956
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13653
13957
|
updated_at: string;
|
|
13654
13958
|
volgende_poging: string | null;
|
|
@@ -13673,6 +13977,9 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
13673
13977
|
is_herprint?: boolean;
|
|
13674
13978
|
kopieen?: number;
|
|
13675
13979
|
layout_id?: string | null;
|
|
13980
|
+
lokaal_opgeslagen_op?: string | null;
|
|
13981
|
+
lokale_pdf_fout?: string | null;
|
|
13982
|
+
lokale_pdf_status?: string | null;
|
|
13676
13983
|
opgepakt_op?: string | null;
|
|
13677
13984
|
paginas?: number;
|
|
13678
13985
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -13681,6 +13988,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
13681
13988
|
pogingen?: number;
|
|
13682
13989
|
printer_id?: string | null;
|
|
13683
13990
|
render_html?: string | null;
|
|
13991
|
+
resultaat_pdf_base64?: string | null;
|
|
13684
13992
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13685
13993
|
updated_at?: string;
|
|
13686
13994
|
volgende_poging?: string | null;
|
|
@@ -13705,6 +14013,9 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
13705
14013
|
is_herprint?: boolean;
|
|
13706
14014
|
kopieen?: number;
|
|
13707
14015
|
layout_id?: string | null;
|
|
14016
|
+
lokaal_opgeslagen_op?: string | null;
|
|
14017
|
+
lokale_pdf_fout?: string | null;
|
|
14018
|
+
lokale_pdf_status?: string | null;
|
|
13708
14019
|
opgepakt_op?: string | null;
|
|
13709
14020
|
paginas?: number;
|
|
13710
14021
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -13713,6 +14024,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
13713
14024
|
pogingen?: number;
|
|
13714
14025
|
printer_id?: string | null;
|
|
13715
14026
|
render_html?: string | null;
|
|
14027
|
+
resultaat_pdf_base64?: string | null;
|
|
13716
14028
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13717
14029
|
updated_at?: string;
|
|
13718
14030
|
volgende_poging?: string | null;
|
|
@@ -13831,6 +14143,39 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
13831
14143
|
};
|
|
13832
14144
|
Relationships: [];
|
|
13833
14145
|
};
|
|
14146
|
+
print_preview_events: {
|
|
14147
|
+
Row: {
|
|
14148
|
+
code: string | null;
|
|
14149
|
+
created_at: string;
|
|
14150
|
+
detail: import("../integrations/supabase/types").Json;
|
|
14151
|
+
id: string;
|
|
14152
|
+
queue_item_id: string | null;
|
|
14153
|
+
reden: string | null;
|
|
14154
|
+
station_slug: string | null;
|
|
14155
|
+
uitkomst: string;
|
|
14156
|
+
};
|
|
14157
|
+
Insert: {
|
|
14158
|
+
code?: string | null;
|
|
14159
|
+
created_at?: string;
|
|
14160
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
14161
|
+
id?: string;
|
|
14162
|
+
queue_item_id?: string | null;
|
|
14163
|
+
reden?: string | null;
|
|
14164
|
+
station_slug?: string | null;
|
|
14165
|
+
uitkomst?: string;
|
|
14166
|
+
};
|
|
14167
|
+
Update: {
|
|
14168
|
+
code?: string | null;
|
|
14169
|
+
created_at?: string;
|
|
14170
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
14171
|
+
id?: string;
|
|
14172
|
+
queue_item_id?: string | null;
|
|
14173
|
+
reden?: string | null;
|
|
14174
|
+
station_slug?: string | null;
|
|
14175
|
+
uitkomst?: string;
|
|
14176
|
+
};
|
|
14177
|
+
Relationships: [];
|
|
14178
|
+
};
|
|
13834
14179
|
print_queue_runners: {
|
|
13835
14180
|
Row: {
|
|
13836
14181
|
actief: boolean;
|
|
@@ -14070,6 +14415,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
14070
14415
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
14071
14416
|
online: boolean;
|
|
14072
14417
|
papierformaat: string;
|
|
14418
|
+
pdf_map: string | null;
|
|
14073
14419
|
poort: number | null;
|
|
14074
14420
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14075
14421
|
systeemnaam: string;
|
|
@@ -14095,6 +14441,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
14095
14441
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
14096
14442
|
online?: boolean;
|
|
14097
14443
|
papierformaat?: string;
|
|
14444
|
+
pdf_map?: string | null;
|
|
14098
14445
|
poort?: number | null;
|
|
14099
14446
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14100
14447
|
systeemnaam?: string;
|
|
@@ -14120,6 +14467,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
14120
14467
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
14121
14468
|
online?: boolean;
|
|
14122
14469
|
papierformaat?: string;
|
|
14470
|
+
pdf_map?: string | null;
|
|
14123
14471
|
poort?: number | null;
|
|
14124
14472
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14125
14473
|
systeemnaam?: string;
|
|
@@ -16689,6 +17037,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
16689
17037
|
};
|
|
16690
17038
|
trade_item_stock: {
|
|
16691
17039
|
Row: {
|
|
17040
|
+
change_source: string;
|
|
16692
17041
|
connection_id: string;
|
|
16693
17042
|
created_at: string;
|
|
16694
17043
|
id: string;
|
|
@@ -16702,6 +17051,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
16702
17051
|
user_id: string;
|
|
16703
17052
|
};
|
|
16704
17053
|
Insert: {
|
|
17054
|
+
change_source?: string;
|
|
16705
17055
|
connection_id: string;
|
|
16706
17056
|
created_at?: string;
|
|
16707
17057
|
id?: string;
|
|
@@ -16715,6 +17065,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
16715
17065
|
user_id: string;
|
|
16716
17066
|
};
|
|
16717
17067
|
Update: {
|
|
17068
|
+
change_source?: string;
|
|
16718
17069
|
connection_id?: string;
|
|
16719
17070
|
created_at?: string;
|
|
16720
17071
|
id?: string;
|
|
@@ -20315,6 +20666,18 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
20315
20666
|
Args: never;
|
|
20316
20667
|
Returns: number;
|
|
20317
20668
|
};
|
|
20669
|
+
calculate_floriday_desired_stock: {
|
|
20670
|
+
Args: {
|
|
20671
|
+
p_connection_id: string;
|
|
20672
|
+
p_product_id: string;
|
|
20673
|
+
};
|
|
20674
|
+
Returns: {
|
|
20675
|
+
desired_availability: boolean;
|
|
20676
|
+
desired_quantity: number;
|
|
20677
|
+
erp_available: number;
|
|
20678
|
+
stock_mode: string;
|
|
20679
|
+
}[];
|
|
20680
|
+
};
|
|
20318
20681
|
calculate_layer_stock: {
|
|
20319
20682
|
Args: {
|
|
20320
20683
|
p_product_id: string;
|
|
@@ -20376,6 +20739,9 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
20376
20739
|
is_herprint: boolean;
|
|
20377
20740
|
kopieen: number;
|
|
20378
20741
|
layout_id: string | null;
|
|
20742
|
+
lokaal_opgeslagen_op: string | null;
|
|
20743
|
+
lokale_pdf_fout: string | null;
|
|
20744
|
+
lokale_pdf_status: string | null;
|
|
20379
20745
|
opgepakt_op: string | null;
|
|
20380
20746
|
paginas: number;
|
|
20381
20747
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -20384,6 +20750,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
20384
20750
|
pogingen: number;
|
|
20385
20751
|
printer_id: string | null;
|
|
20386
20752
|
render_html: string | null;
|
|
20753
|
+
resultaat_pdf_base64: string | null;
|
|
20387
20754
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20388
20755
|
updated_at: string;
|
|
20389
20756
|
volgende_poging: string | null;
|
|
@@ -20405,6 +20772,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
20405
20772
|
attempts: number;
|
|
20406
20773
|
connection_id: string;
|
|
20407
20774
|
created_at: string;
|
|
20775
|
+
dead_lettered_at: string | null;
|
|
20408
20776
|
desired_available: boolean | null;
|
|
20409
20777
|
gateway_attempt_id: string | null;
|
|
20410
20778
|
id: string;
|
|
@@ -20413,9 +20781,13 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
20413
20781
|
locked_by: string | null;
|
|
20414
20782
|
next_attempt_at: string;
|
|
20415
20783
|
number_of_pieces: number;
|
|
20784
|
+
product_id: string | null;
|
|
20416
20785
|
sent_at: string | null;
|
|
20417
20786
|
status: string;
|
|
20787
|
+
stock_mode: string | null;
|
|
20418
20788
|
superseded_by: string | null;
|
|
20789
|
+
target_week: number | null;
|
|
20790
|
+
target_year: number | null;
|
|
20419
20791
|
trade_item_id: string;
|
|
20420
20792
|
updated_at: string;
|
|
20421
20793
|
user_id: string;
|
|
@@ -20475,6 +20847,53 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
20475
20847
|
isSetofReturn: true;
|
|
20476
20848
|
};
|
|
20477
20849
|
};
|
|
20850
|
+
claim_pdf_print_jobs: {
|
|
20851
|
+
Args: {
|
|
20852
|
+
_max?: number;
|
|
20853
|
+
};
|
|
20854
|
+
Returns: {
|
|
20855
|
+
agent_id: string | null;
|
|
20856
|
+
bron_job_id: string | null;
|
|
20857
|
+
created_at: string;
|
|
20858
|
+
documentnaam: string;
|
|
20859
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
20860
|
+
extern_job_id: string | null;
|
|
20861
|
+
foutmelding: string | null;
|
|
20862
|
+
gebruiker_id: string | null;
|
|
20863
|
+
gebruiker_naam: string;
|
|
20864
|
+
gebruikte_bron: string | null;
|
|
20865
|
+
gebruikte_layout_id: string | null;
|
|
20866
|
+
gestart_op: string | null;
|
|
20867
|
+
herkomst: string | null;
|
|
20868
|
+
id: string;
|
|
20869
|
+
idempotentie_sleutel: string | null;
|
|
20870
|
+
is_herprint: boolean;
|
|
20871
|
+
kopieen: number;
|
|
20872
|
+
layout_id: string | null;
|
|
20873
|
+
lokaal_opgeslagen_op: string | null;
|
|
20874
|
+
lokale_pdf_fout: string | null;
|
|
20875
|
+
lokale_pdf_status: string | null;
|
|
20876
|
+
opgepakt_op: string | null;
|
|
20877
|
+
paginas: number;
|
|
20878
|
+
payload: import("../integrations/supabase/types").Json;
|
|
20879
|
+
pdf_base64: string | null;
|
|
20880
|
+
pdf_url: string | null;
|
|
20881
|
+
pogingen: number;
|
|
20882
|
+
printer_id: string | null;
|
|
20883
|
+
render_html: string | null;
|
|
20884
|
+
resultaat_pdf_base64: string | null;
|
|
20885
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20886
|
+
updated_at: string;
|
|
20887
|
+
volgende_poging: string | null;
|
|
20888
|
+
voltooid_op: string | null;
|
|
20889
|
+
}[];
|
|
20890
|
+
SetofOptions: {
|
|
20891
|
+
from: "*";
|
|
20892
|
+
to: "print_jobs";
|
|
20893
|
+
isOneToOne: false;
|
|
20894
|
+
isSetofReturn: true;
|
|
20895
|
+
};
|
|
20896
|
+
};
|
|
20478
20897
|
claim_print_jobs: {
|
|
20479
20898
|
Args: {
|
|
20480
20899
|
_agent_id: string;
|
|
@@ -20499,6 +20918,9 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
20499
20918
|
is_herprint: boolean;
|
|
20500
20919
|
kopieen: number;
|
|
20501
20920
|
layout_id: string | null;
|
|
20921
|
+
lokaal_opgeslagen_op: string | null;
|
|
20922
|
+
lokale_pdf_fout: string | null;
|
|
20923
|
+
lokale_pdf_status: string | null;
|
|
20502
20924
|
opgepakt_op: string | null;
|
|
20503
20925
|
paginas: number;
|
|
20504
20926
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -20507,6 +20929,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
20507
20929
|
pogingen: number;
|
|
20508
20930
|
printer_id: string | null;
|
|
20509
20931
|
render_html: string | null;
|
|
20932
|
+
resultaat_pdf_base64: string | null;
|
|
20510
20933
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20511
20934
|
updated_at: string;
|
|
20512
20935
|
volgende_poging: string | null;
|
|
@@ -20647,6 +21070,8 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
20647
21070
|
order_id: string;
|
|
20648
21071
|
order_source: string;
|
|
20649
21072
|
pick_date: string;
|
|
21073
|
+
printed_at: string;
|
|
21074
|
+
printed_today: boolean;
|
|
20650
21075
|
status: string;
|
|
20651
21076
|
}[];
|
|
20652
21077
|
};
|
|
@@ -20843,6 +21268,24 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
20843
21268
|
};
|
|
20844
21269
|
Returns: string;
|
|
20845
21270
|
};
|
|
21271
|
+
floriday_capture_stock_snapshot: {
|
|
21272
|
+
Args: never;
|
|
21273
|
+
Returns: number;
|
|
21274
|
+
};
|
|
21275
|
+
floriday_cleanup_stock_queue_v2: {
|
|
21276
|
+
Args: never;
|
|
21277
|
+
Returns: undefined;
|
|
21278
|
+
};
|
|
21279
|
+
floriday_compact_stock_snapshots: {
|
|
21280
|
+
Args: never;
|
|
21281
|
+
Returns: undefined;
|
|
21282
|
+
};
|
|
21283
|
+
floriday_default_owner: {
|
|
21284
|
+
Args: {
|
|
21285
|
+
p_connection_id: string;
|
|
21286
|
+
};
|
|
21287
|
+
Returns: string;
|
|
21288
|
+
};
|
|
20846
21289
|
floriday_effective_price: {
|
|
20847
21290
|
Args: {
|
|
20848
21291
|
_buyer_id: string;
|
|
@@ -20860,6 +21303,22 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
20860
21303
|
source_id: string;
|
|
20861
21304
|
}[];
|
|
20862
21305
|
};
|
|
21306
|
+
floriday_fill_publish_horizon: {
|
|
21307
|
+
Args: never;
|
|
21308
|
+
Returns: number;
|
|
21309
|
+
};
|
|
21310
|
+
floriday_publish_horizon_weeks: {
|
|
21311
|
+
Args: never;
|
|
21312
|
+
Returns: number;
|
|
21313
|
+
};
|
|
21314
|
+
floriday_recompute_inventory: {
|
|
21315
|
+
Args: {
|
|
21316
|
+
p_connection_id: string;
|
|
21317
|
+
p_force?: boolean;
|
|
21318
|
+
p_product_id: string;
|
|
21319
|
+
};
|
|
21320
|
+
Returns: undefined;
|
|
21321
|
+
};
|
|
20863
21322
|
format_cart_number: {
|
|
20864
21323
|
Args: {
|
|
20865
21324
|
p_pick_date: string;
|
|
@@ -21355,6 +21814,10 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
21355
21814
|
};
|
|
21356
21815
|
Returns: number;
|
|
21357
21816
|
};
|
|
21817
|
+
logistics_cancel_orphan_tasks: {
|
|
21818
|
+
Args: never;
|
|
21819
|
+
Returns: number;
|
|
21820
|
+
};
|
|
21358
21821
|
logistics_capacity_day_check: {
|
|
21359
21822
|
Args: {
|
|
21360
21823
|
p_from?: string;
|
|
@@ -21375,6 +21838,25 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
21375
21838
|
};
|
|
21376
21839
|
Returns: number;
|
|
21377
21840
|
};
|
|
21841
|
+
logistics_cart_index: {
|
|
21842
|
+
Args: {
|
|
21843
|
+
p_from?: string;
|
|
21844
|
+
p_to?: string;
|
|
21845
|
+
};
|
|
21846
|
+
Returns: {
|
|
21847
|
+
cart_id: string;
|
|
21848
|
+
cart_index: number;
|
|
21849
|
+
cart_label: string;
|
|
21850
|
+
is_shared: boolean;
|
|
21851
|
+
order_number: string;
|
|
21852
|
+
order_source: string;
|
|
21853
|
+
order_uuid: string;
|
|
21854
|
+
pick_date: string;
|
|
21855
|
+
printed_at: string;
|
|
21856
|
+
shifted: boolean;
|
|
21857
|
+
task_status: string;
|
|
21858
|
+
}[];
|
|
21859
|
+
};
|
|
21378
21860
|
logistics_check_order_allowed: {
|
|
21379
21861
|
Args: {
|
|
21380
21862
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -21523,6 +22005,17 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
21523
22005
|
isSetofReturn: false;
|
|
21524
22006
|
};
|
|
21525
22007
|
};
|
|
22008
|
+
logistics_consistency_check: {
|
|
22009
|
+
Args: never;
|
|
22010
|
+
Returns: {
|
|
22011
|
+
agenda_carts: number;
|
|
22012
|
+
control_carts: number;
|
|
22013
|
+
ok: boolean;
|
|
22014
|
+
orphan_tasks: number;
|
|
22015
|
+
pick_date: string;
|
|
22016
|
+
raw_carts: number;
|
|
22017
|
+
}[];
|
|
22018
|
+
};
|
|
21526
22019
|
logistics_delay_customer_email: {
|
|
21527
22020
|
Args: {
|
|
21528
22021
|
p_customer: string;
|
|
@@ -21612,6 +22105,16 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
21612
22105
|
isSetofReturn: false;
|
|
21613
22106
|
};
|
|
21614
22107
|
};
|
|
22108
|
+
logistics_floriday_cart_plan: {
|
|
22109
|
+
Args: {
|
|
22110
|
+
p_order_id: string;
|
|
22111
|
+
};
|
|
22112
|
+
Returns: {
|
|
22113
|
+
carrier_type: string;
|
|
22114
|
+
idx: number;
|
|
22115
|
+
packages: number;
|
|
22116
|
+
}[];
|
|
22117
|
+
};
|
|
21615
22118
|
logistics_floriday_claim_pushes: {
|
|
21616
22119
|
Args: {
|
|
21617
22120
|
_lease_seconds?: number;
|
|
@@ -21716,6 +22219,25 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
21716
22219
|
};
|
|
21717
22220
|
Returns: number;
|
|
21718
22221
|
};
|
|
22222
|
+
logistics_order_overview: {
|
|
22223
|
+
Args: {
|
|
22224
|
+
p_from?: string;
|
|
22225
|
+
p_to?: string;
|
|
22226
|
+
};
|
|
22227
|
+
Returns: {
|
|
22228
|
+
cart_count: number;
|
|
22229
|
+
customer_name: string;
|
|
22230
|
+
delivery_date: string;
|
|
22231
|
+
order_number: string;
|
|
22232
|
+
order_source: string;
|
|
22233
|
+
order_uuid: string;
|
|
22234
|
+
pick_date: string;
|
|
22235
|
+
plant_count: number;
|
|
22236
|
+
printed_at: string;
|
|
22237
|
+
shifted: boolean;
|
|
22238
|
+
status: string;
|
|
22239
|
+
}[];
|
|
22240
|
+
};
|
|
21719
22241
|
logistics_order_pick_day: {
|
|
21720
22242
|
Args: {
|
|
21721
22243
|
p_order_ref: string;
|
|
@@ -21728,6 +22250,22 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
21728
22250
|
};
|
|
21729
22251
|
Returns: string;
|
|
21730
22252
|
};
|
|
22253
|
+
logistics_pick_agenda: {
|
|
22254
|
+
Args: {
|
|
22255
|
+
p_from?: string;
|
|
22256
|
+
p_to?: string;
|
|
22257
|
+
};
|
|
22258
|
+
Returns: {
|
|
22259
|
+
cart_count: number;
|
|
22260
|
+
in_preparation: number;
|
|
22261
|
+
order_count: number;
|
|
22262
|
+
orders: import("../integrations/supabase/types").Json;
|
|
22263
|
+
pick_date: string;
|
|
22264
|
+
plant_count: number;
|
|
22265
|
+
ready: number;
|
|
22266
|
+
shifted_count: number;
|
|
22267
|
+
}[];
|
|
22268
|
+
};
|
|
21731
22269
|
logistics_pick_email_purpose: {
|
|
21732
22270
|
Args: never;
|
|
21733
22271
|
Returns: string;
|
|
@@ -21782,6 +22320,13 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
21782
22320
|
};
|
|
21783
22321
|
Returns: undefined;
|
|
21784
22322
|
};
|
|
22323
|
+
logistics_plan_floriday_order: {
|
|
22324
|
+
Args: {
|
|
22325
|
+
p_buffer_id?: string;
|
|
22326
|
+
p_order_id: string;
|
|
22327
|
+
};
|
|
22328
|
+
Returns: number;
|
|
22329
|
+
};
|
|
21785
22330
|
logistics_plan_impact_orders: {
|
|
21786
22331
|
Args: {
|
|
21787
22332
|
p_order_id: string;
|
|
@@ -21887,6 +22432,15 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
21887
22432
|
};
|
|
21888
22433
|
Returns: import("../integrations/supabase/types").Json;
|
|
21889
22434
|
};
|
|
22435
|
+
logistics_resolve_pick_document: {
|
|
22436
|
+
Args: {
|
|
22437
|
+
_is_herprint: boolean;
|
|
22438
|
+
_queue_item_id: string;
|
|
22439
|
+
_session_id: string;
|
|
22440
|
+
_voorbeeld: boolean;
|
|
22441
|
+
};
|
|
22442
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22443
|
+
};
|
|
21890
22444
|
logistics_resolve_settings: {
|
|
21891
22445
|
Args: {
|
|
21892
22446
|
p_config_id: string;
|
|
@@ -22327,6 +22881,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
22327
22881
|
};
|
|
22328
22882
|
pick_enqueue_print_job: {
|
|
22329
22883
|
Args: {
|
|
22884
|
+
_is_herprint?: boolean;
|
|
22330
22885
|
_printer_id?: string;
|
|
22331
22886
|
_queue_item_id: string;
|
|
22332
22887
|
_session_id?: string;
|
|
@@ -22340,6 +22895,13 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
22340
22895
|
};
|
|
22341
22896
|
Returns: import("../integrations/supabase/types").Json;
|
|
22342
22897
|
};
|
|
22898
|
+
pick_preview_job: {
|
|
22899
|
+
Args: {
|
|
22900
|
+
_queue_item_id: string;
|
|
22901
|
+
_station_slug: string;
|
|
22902
|
+
};
|
|
22903
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22904
|
+
};
|
|
22343
22905
|
pick_print_job_status: {
|
|
22344
22906
|
Args: {
|
|
22345
22907
|
_job_id: string;
|
|
@@ -22517,6 +23079,24 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
22517
23079
|
};
|
|
22518
23080
|
Returns: undefined;
|
|
22519
23081
|
};
|
|
23082
|
+
print_preview_toestaan: {
|
|
23083
|
+
Args: {
|
|
23084
|
+
_max?: number;
|
|
23085
|
+
_queue_item_id: string;
|
|
23086
|
+
_station_slug: string;
|
|
23087
|
+
_venster_sec?: number;
|
|
23088
|
+
};
|
|
23089
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23090
|
+
};
|
|
23091
|
+
print_preview_weiger: {
|
|
23092
|
+
Args: {
|
|
23093
|
+
_code: string;
|
|
23094
|
+
_queue_item_id: string;
|
|
23095
|
+
_reden: string;
|
|
23096
|
+
_station_slug: string;
|
|
23097
|
+
};
|
|
23098
|
+
Returns: undefined;
|
|
23099
|
+
};
|
|
22520
23100
|
process_logistics_event: {
|
|
22521
23101
|
Args: {
|
|
22522
23102
|
p_event_id: string;
|
|
@@ -22671,6 +23251,12 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
22671
23251
|
};
|
|
22672
23252
|
Returns: string;
|
|
22673
23253
|
};
|
|
23254
|
+
resolve_print_job_printer_id: {
|
|
23255
|
+
Args: {
|
|
23256
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
23257
|
+
};
|
|
23258
|
+
Returns: string;
|
|
23259
|
+
};
|
|
22674
23260
|
resolve_product_id_for_item: {
|
|
22675
23261
|
Args: {
|
|
22676
23262
|
p_product_name: string;
|
|
@@ -23262,7 +23848,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
23262
23848
|
};
|
|
23263
23849
|
CompositeTypes: { [_ in never]: never; };
|
|
23264
23850
|
}, {
|
|
23265
|
-
PostgrestVersion: "14.
|
|
23851
|
+
PostgrestVersion: "14.5";
|
|
23266
23852
|
}>;
|
|
23267
23853
|
userId: string;
|
|
23268
23854
|
claims: import("@supabase/auth-js").User;
|
|
@@ -26124,6 +26710,84 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
26124
26710
|
};
|
|
26125
26711
|
Relationships: [];
|
|
26126
26712
|
};
|
|
26713
|
+
delivery_notes: {
|
|
26714
|
+
Row: {
|
|
26715
|
+
byte_size: number | null;
|
|
26716
|
+
connection_id: string | null;
|
|
26717
|
+
content_type: string;
|
|
26718
|
+
created_at: string;
|
|
26719
|
+
error_message: string | null;
|
|
26720
|
+
fetched_at: string | null;
|
|
26721
|
+
fulfillment_order_id: string | null;
|
|
26722
|
+
http_status: number | null;
|
|
26723
|
+
id: string;
|
|
26724
|
+
label_code: string | null;
|
|
26725
|
+
letter: string | null;
|
|
26726
|
+
load_carrier_index: number | null;
|
|
26727
|
+
load_carrier_type: string | null;
|
|
26728
|
+
order_id: string | null;
|
|
26729
|
+
order_number: string | null;
|
|
26730
|
+
packages: number | null;
|
|
26731
|
+
source: string;
|
|
26732
|
+
status: string;
|
|
26733
|
+
storage_bucket: string;
|
|
26734
|
+
storage_path: string | null;
|
|
26735
|
+
updated_at: string;
|
|
26736
|
+
};
|
|
26737
|
+
Insert: {
|
|
26738
|
+
byte_size?: number | null;
|
|
26739
|
+
connection_id?: string | null;
|
|
26740
|
+
content_type?: string;
|
|
26741
|
+
created_at?: string;
|
|
26742
|
+
error_message?: string | null;
|
|
26743
|
+
fetched_at?: string | null;
|
|
26744
|
+
fulfillment_order_id?: string | null;
|
|
26745
|
+
http_status?: number | null;
|
|
26746
|
+
id?: string;
|
|
26747
|
+
label_code?: string | null;
|
|
26748
|
+
letter?: string | null;
|
|
26749
|
+
load_carrier_index?: number | null;
|
|
26750
|
+
load_carrier_type?: string | null;
|
|
26751
|
+
order_id?: string | null;
|
|
26752
|
+
order_number?: string | null;
|
|
26753
|
+
packages?: number | null;
|
|
26754
|
+
source?: string;
|
|
26755
|
+
status?: string;
|
|
26756
|
+
storage_bucket?: string;
|
|
26757
|
+
storage_path?: string | null;
|
|
26758
|
+
updated_at?: string;
|
|
26759
|
+
};
|
|
26760
|
+
Update: {
|
|
26761
|
+
byte_size?: number | null;
|
|
26762
|
+
connection_id?: string | null;
|
|
26763
|
+
content_type?: string;
|
|
26764
|
+
created_at?: string;
|
|
26765
|
+
error_message?: string | null;
|
|
26766
|
+
fetched_at?: string | null;
|
|
26767
|
+
fulfillment_order_id?: string | null;
|
|
26768
|
+
http_status?: number | null;
|
|
26769
|
+
id?: string;
|
|
26770
|
+
label_code?: string | null;
|
|
26771
|
+
letter?: string | null;
|
|
26772
|
+
load_carrier_index?: number | null;
|
|
26773
|
+
load_carrier_type?: string | null;
|
|
26774
|
+
order_id?: string | null;
|
|
26775
|
+
order_number?: string | null;
|
|
26776
|
+
packages?: number | null;
|
|
26777
|
+
source?: string;
|
|
26778
|
+
status?: string;
|
|
26779
|
+
storage_bucket?: string;
|
|
26780
|
+
storage_path?: string | null;
|
|
26781
|
+
updated_at?: string;
|
|
26782
|
+
};
|
|
26783
|
+
Relationships: [{
|
|
26784
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
26785
|
+
columns: ["order_id"];
|
|
26786
|
+
isOneToOne: false;
|
|
26787
|
+
referencedRelation: "orders";
|
|
26788
|
+
referencedColumns: ["id"];
|
|
26789
|
+
}];
|
|
26790
|
+
};
|
|
26127
26791
|
document_bronregels: {
|
|
26128
26792
|
Row: {
|
|
26129
26793
|
bron: string;
|
|
@@ -29177,10 +29841,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
29177
29841
|
};
|
|
29178
29842
|
floriday_connections: {
|
|
29179
29843
|
Row: {
|
|
29180
|
-
access_token: string | null;
|
|
29181
29844
|
api_key: string;
|
|
29182
|
-
client_id: string;
|
|
29183
|
-
client_secret: string;
|
|
29184
29845
|
created_at: string;
|
|
29185
29846
|
customers_endpoint: string | null;
|
|
29186
29847
|
environment: string;
|
|
@@ -29195,10 +29856,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
29195
29856
|
updated_at: string;
|
|
29196
29857
|
};
|
|
29197
29858
|
Insert: {
|
|
29198
|
-
access_token?: string | null;
|
|
29199
29859
|
api_key: string;
|
|
29200
|
-
client_id: string;
|
|
29201
|
-
client_secret: string;
|
|
29202
29860
|
created_at?: string;
|
|
29203
29861
|
customers_endpoint?: string | null;
|
|
29204
29862
|
environment: string;
|
|
@@ -29213,10 +29871,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
29213
29871
|
updated_at?: string;
|
|
29214
29872
|
};
|
|
29215
29873
|
Update: {
|
|
29216
|
-
access_token?: string | null;
|
|
29217
29874
|
api_key?: string;
|
|
29218
|
-
client_id?: string;
|
|
29219
|
-
client_secret?: string;
|
|
29220
29875
|
created_at?: string;
|
|
29221
29876
|
customers_endpoint?: string | null;
|
|
29222
29877
|
environment?: string;
|
|
@@ -29300,6 +29955,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
29300
29955
|
attempts: number;
|
|
29301
29956
|
connection_id: string;
|
|
29302
29957
|
created_at: string;
|
|
29958
|
+
dead_lettered_at: string | null;
|
|
29303
29959
|
desired_available: boolean | null;
|
|
29304
29960
|
gateway_attempt_id: string | null;
|
|
29305
29961
|
id: string;
|
|
@@ -29308,9 +29964,13 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
29308
29964
|
locked_by: string | null;
|
|
29309
29965
|
next_attempt_at: string;
|
|
29310
29966
|
number_of_pieces: number;
|
|
29967
|
+
product_id: string | null;
|
|
29311
29968
|
sent_at: string | null;
|
|
29312
29969
|
status: string;
|
|
29970
|
+
stock_mode: string | null;
|
|
29313
29971
|
superseded_by: string | null;
|
|
29972
|
+
target_week: number | null;
|
|
29973
|
+
target_year: number | null;
|
|
29314
29974
|
trade_item_id: string;
|
|
29315
29975
|
updated_at: string;
|
|
29316
29976
|
user_id: string;
|
|
@@ -29319,6 +29979,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
29319
29979
|
attempts?: number;
|
|
29320
29980
|
connection_id: string;
|
|
29321
29981
|
created_at?: string;
|
|
29982
|
+
dead_lettered_at?: string | null;
|
|
29322
29983
|
desired_available?: boolean | null;
|
|
29323
29984
|
gateway_attempt_id?: string | null;
|
|
29324
29985
|
id?: string;
|
|
@@ -29327,9 +29988,13 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
29327
29988
|
locked_by?: string | null;
|
|
29328
29989
|
next_attempt_at?: string;
|
|
29329
29990
|
number_of_pieces?: number;
|
|
29991
|
+
product_id?: string | null;
|
|
29330
29992
|
sent_at?: string | null;
|
|
29331
29993
|
status?: string;
|
|
29994
|
+
stock_mode?: string | null;
|
|
29332
29995
|
superseded_by?: string | null;
|
|
29996
|
+
target_week?: number | null;
|
|
29997
|
+
target_year?: number | null;
|
|
29333
29998
|
trade_item_id: string;
|
|
29334
29999
|
updated_at?: string;
|
|
29335
30000
|
user_id: string;
|
|
@@ -29338,6 +30003,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
29338
30003
|
attempts?: number;
|
|
29339
30004
|
connection_id?: string;
|
|
29340
30005
|
created_at?: string;
|
|
30006
|
+
dead_lettered_at?: string | null;
|
|
29341
30007
|
desired_available?: boolean | null;
|
|
29342
30008
|
gateway_attempt_id?: string | null;
|
|
29343
30009
|
id?: string;
|
|
@@ -29346,9 +30012,13 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
29346
30012
|
locked_by?: string | null;
|
|
29347
30013
|
next_attempt_at?: string;
|
|
29348
30014
|
number_of_pieces?: number;
|
|
30015
|
+
product_id?: string | null;
|
|
29349
30016
|
sent_at?: string | null;
|
|
29350
30017
|
status?: string;
|
|
30018
|
+
stock_mode?: string | null;
|
|
29351
30019
|
superseded_by?: string | null;
|
|
30020
|
+
target_week?: number | null;
|
|
30021
|
+
target_year?: number | null;
|
|
29352
30022
|
trade_item_id?: string;
|
|
29353
30023
|
updated_at?: string;
|
|
29354
30024
|
user_id?: string;
|
|
@@ -29757,6 +30427,87 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
29757
30427
|
referencedColumns: ["id"];
|
|
29758
30428
|
}];
|
|
29759
30429
|
};
|
|
30430
|
+
floriday_inventory_settings: {
|
|
30431
|
+
Row: {
|
|
30432
|
+
buffer_quantity: number;
|
|
30433
|
+
connection_id: string;
|
|
30434
|
+
created_at: string;
|
|
30435
|
+
desired_availability: boolean;
|
|
30436
|
+
desired_quantity: number;
|
|
30437
|
+
fixed_quantity: number | null;
|
|
30438
|
+
floriday_trade_item_id: string | null;
|
|
30439
|
+
id: string;
|
|
30440
|
+
last_confirmed_at: string | null;
|
|
30441
|
+
last_enqueued_at: string | null;
|
|
30442
|
+
last_published_at: string | null;
|
|
30443
|
+
last_sync_error: string | null;
|
|
30444
|
+
manual_quantity: number | null;
|
|
30445
|
+
maximum_quantity: number | null;
|
|
30446
|
+
product_id: string;
|
|
30447
|
+
quantity_control: string;
|
|
30448
|
+
remote_available: boolean | null;
|
|
30449
|
+
remote_checked_at: string | null;
|
|
30450
|
+
remote_quantity: number | null;
|
|
30451
|
+
stock_mode: string;
|
|
30452
|
+
sync_status: string;
|
|
30453
|
+
updated_at: string;
|
|
30454
|
+
updated_by: string | null;
|
|
30455
|
+
user_id: string;
|
|
30456
|
+
};
|
|
30457
|
+
Insert: {
|
|
30458
|
+
buffer_quantity?: number;
|
|
30459
|
+
connection_id: string;
|
|
30460
|
+
created_at?: string;
|
|
30461
|
+
desired_availability?: boolean;
|
|
30462
|
+
desired_quantity?: number;
|
|
30463
|
+
fixed_quantity?: number | null;
|
|
30464
|
+
floriday_trade_item_id?: string | null;
|
|
30465
|
+
id?: string;
|
|
30466
|
+
last_confirmed_at?: string | null;
|
|
30467
|
+
last_enqueued_at?: string | null;
|
|
30468
|
+
last_published_at?: string | null;
|
|
30469
|
+
last_sync_error?: string | null;
|
|
30470
|
+
manual_quantity?: number | null;
|
|
30471
|
+
maximum_quantity?: number | null;
|
|
30472
|
+
product_id: string;
|
|
30473
|
+
quantity_control?: string;
|
|
30474
|
+
remote_available?: boolean | null;
|
|
30475
|
+
remote_checked_at?: string | null;
|
|
30476
|
+
remote_quantity?: number | null;
|
|
30477
|
+
stock_mode?: string;
|
|
30478
|
+
sync_status?: string;
|
|
30479
|
+
updated_at?: string;
|
|
30480
|
+
updated_by?: string | null;
|
|
30481
|
+
user_id: string;
|
|
30482
|
+
};
|
|
30483
|
+
Update: {
|
|
30484
|
+
buffer_quantity?: number;
|
|
30485
|
+
connection_id?: string;
|
|
30486
|
+
created_at?: string;
|
|
30487
|
+
desired_availability?: boolean;
|
|
30488
|
+
desired_quantity?: number;
|
|
30489
|
+
fixed_quantity?: number | null;
|
|
30490
|
+
floriday_trade_item_id?: string | null;
|
|
30491
|
+
id?: string;
|
|
30492
|
+
last_confirmed_at?: string | null;
|
|
30493
|
+
last_enqueued_at?: string | null;
|
|
30494
|
+
last_published_at?: string | null;
|
|
30495
|
+
last_sync_error?: string | null;
|
|
30496
|
+
manual_quantity?: number | null;
|
|
30497
|
+
maximum_quantity?: number | null;
|
|
30498
|
+
product_id?: string;
|
|
30499
|
+
quantity_control?: string;
|
|
30500
|
+
remote_available?: boolean | null;
|
|
30501
|
+
remote_checked_at?: string | null;
|
|
30502
|
+
remote_quantity?: number | null;
|
|
30503
|
+
stock_mode?: string;
|
|
30504
|
+
sync_status?: string;
|
|
30505
|
+
updated_at?: string;
|
|
30506
|
+
updated_by?: string | null;
|
|
30507
|
+
user_id?: string;
|
|
30508
|
+
};
|
|
30509
|
+
Relationships: [];
|
|
30510
|
+
};
|
|
29760
30511
|
floriday_invoices_cache: {
|
|
29761
30512
|
Row: {
|
|
29762
30513
|
buyer_organization_id: string | null;
|
|
@@ -30045,6 +30796,39 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
30045
30796
|
};
|
|
30046
30797
|
Relationships: [];
|
|
30047
30798
|
};
|
|
30799
|
+
floriday_sales_order_ingest: {
|
|
30800
|
+
Row: {
|
|
30801
|
+
connection_id: string;
|
|
30802
|
+
created_at: string;
|
|
30803
|
+
id: string;
|
|
30804
|
+
impact: import("../integrations/supabase/types").Json;
|
|
30805
|
+
order_status: string | null;
|
|
30806
|
+
order_version: number;
|
|
30807
|
+
processed_at: string;
|
|
30808
|
+
sales_order_id: string;
|
|
30809
|
+
};
|
|
30810
|
+
Insert: {
|
|
30811
|
+
connection_id: string;
|
|
30812
|
+
created_at?: string;
|
|
30813
|
+
id?: string;
|
|
30814
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
30815
|
+
order_status?: string | null;
|
|
30816
|
+
order_version?: number;
|
|
30817
|
+
processed_at?: string;
|
|
30818
|
+
sales_order_id: string;
|
|
30819
|
+
};
|
|
30820
|
+
Update: {
|
|
30821
|
+
connection_id?: string;
|
|
30822
|
+
created_at?: string;
|
|
30823
|
+
id?: string;
|
|
30824
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
30825
|
+
order_status?: string | null;
|
|
30826
|
+
order_version?: number;
|
|
30827
|
+
processed_at?: string;
|
|
30828
|
+
sales_order_id?: string;
|
|
30829
|
+
};
|
|
30830
|
+
Relationships: [];
|
|
30831
|
+
};
|
|
30048
30832
|
floriday_sales_strategies_cache: {
|
|
30049
30833
|
Row: {
|
|
30050
30834
|
connection_id: string;
|
|
@@ -30144,6 +30928,39 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
30144
30928
|
};
|
|
30145
30929
|
Relationships: [];
|
|
30146
30930
|
};
|
|
30931
|
+
floriday_sync_cursors: {
|
|
30932
|
+
Row: {
|
|
30933
|
+
connection_id: string;
|
|
30934
|
+
created_at: string;
|
|
30935
|
+
id: string;
|
|
30936
|
+
last_error: string | null;
|
|
30937
|
+
last_sync_at: string | null;
|
|
30938
|
+
resource_type: string;
|
|
30939
|
+
sequence_number: number;
|
|
30940
|
+
updated_at: string;
|
|
30941
|
+
};
|
|
30942
|
+
Insert: {
|
|
30943
|
+
connection_id: string;
|
|
30944
|
+
created_at?: string;
|
|
30945
|
+
id?: string;
|
|
30946
|
+
last_error?: string | null;
|
|
30947
|
+
last_sync_at?: string | null;
|
|
30948
|
+
resource_type: string;
|
|
30949
|
+
sequence_number?: number;
|
|
30950
|
+
updated_at?: string;
|
|
30951
|
+
};
|
|
30952
|
+
Update: {
|
|
30953
|
+
connection_id?: string;
|
|
30954
|
+
created_at?: string;
|
|
30955
|
+
id?: string;
|
|
30956
|
+
last_error?: string | null;
|
|
30957
|
+
last_sync_at?: string | null;
|
|
30958
|
+
resource_type?: string;
|
|
30959
|
+
sequence_number?: number;
|
|
30960
|
+
updated_at?: string;
|
|
30961
|
+
};
|
|
30962
|
+
Relationships: [];
|
|
30963
|
+
};
|
|
30147
30964
|
floriday_sync_state: {
|
|
30148
30965
|
Row: {
|
|
30149
30966
|
connection_id: string;
|
|
@@ -30834,6 +31651,42 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
30834
31651
|
};
|
|
30835
31652
|
Relationships: [];
|
|
30836
31653
|
};
|
|
31654
|
+
inventory_stock_snapshots: {
|
|
31655
|
+
Row: {
|
|
31656
|
+
connection_id: string;
|
|
31657
|
+
created_at: string;
|
|
31658
|
+
erp_available_quantity: number;
|
|
31659
|
+
floriday_desired_quantity: number;
|
|
31660
|
+
floriday_remote_quantity: number | null;
|
|
31661
|
+
granularity: string;
|
|
31662
|
+
id: string;
|
|
31663
|
+
snapshot_at: string;
|
|
31664
|
+
user_id: string | null;
|
|
31665
|
+
};
|
|
31666
|
+
Insert: {
|
|
31667
|
+
connection_id: string;
|
|
31668
|
+
created_at?: string;
|
|
31669
|
+
erp_available_quantity?: number;
|
|
31670
|
+
floriday_desired_quantity?: number;
|
|
31671
|
+
floriday_remote_quantity?: number | null;
|
|
31672
|
+
granularity?: string;
|
|
31673
|
+
id?: string;
|
|
31674
|
+
snapshot_at?: string;
|
|
31675
|
+
user_id?: string | null;
|
|
31676
|
+
};
|
|
31677
|
+
Update: {
|
|
31678
|
+
connection_id?: string;
|
|
31679
|
+
created_at?: string;
|
|
31680
|
+
erp_available_quantity?: number;
|
|
31681
|
+
floriday_desired_quantity?: number;
|
|
31682
|
+
floriday_remote_quantity?: number | null;
|
|
31683
|
+
granularity?: string;
|
|
31684
|
+
id?: string;
|
|
31685
|
+
snapshot_at?: string;
|
|
31686
|
+
user_id?: string | null;
|
|
31687
|
+
};
|
|
31688
|
+
Relationships: [];
|
|
31689
|
+
};
|
|
30837
31690
|
invoice_items: {
|
|
30838
31691
|
Row: {
|
|
30839
31692
|
created_at: string;
|
|
@@ -36849,6 +37702,39 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
36849
37702
|
};
|
|
36850
37703
|
Relationships: [];
|
|
36851
37704
|
};
|
|
37705
|
+
print_dedupe_events: {
|
|
37706
|
+
Row: {
|
|
37707
|
+
bestaande_job_id: string | null;
|
|
37708
|
+
created_at: string;
|
|
37709
|
+
detail: string | null;
|
|
37710
|
+
documentnaam: string | null;
|
|
37711
|
+
documenttype: string | null;
|
|
37712
|
+
id: string;
|
|
37713
|
+
idempotentie_sleutel: string;
|
|
37714
|
+
reden: string;
|
|
37715
|
+
};
|
|
37716
|
+
Insert: {
|
|
37717
|
+
bestaande_job_id?: string | null;
|
|
37718
|
+
created_at?: string;
|
|
37719
|
+
detail?: string | null;
|
|
37720
|
+
documentnaam?: string | null;
|
|
37721
|
+
documenttype?: string | null;
|
|
37722
|
+
id?: string;
|
|
37723
|
+
idempotentie_sleutel: string;
|
|
37724
|
+
reden: string;
|
|
37725
|
+
};
|
|
37726
|
+
Update: {
|
|
37727
|
+
bestaande_job_id?: string | null;
|
|
37728
|
+
created_at?: string;
|
|
37729
|
+
detail?: string | null;
|
|
37730
|
+
documentnaam?: string | null;
|
|
37731
|
+
documenttype?: string | null;
|
|
37732
|
+
id?: string;
|
|
37733
|
+
idempotentie_sleutel?: string;
|
|
37734
|
+
reden?: string;
|
|
37735
|
+
};
|
|
37736
|
+
Relationships: [];
|
|
37737
|
+
};
|
|
36852
37738
|
print_job_logs: {
|
|
36853
37739
|
Row: {
|
|
36854
37740
|
created_at: string;
|
|
@@ -36899,6 +37785,9 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
36899
37785
|
is_herprint: boolean;
|
|
36900
37786
|
kopieen: number;
|
|
36901
37787
|
layout_id: string | null;
|
|
37788
|
+
lokaal_opgeslagen_op: string | null;
|
|
37789
|
+
lokale_pdf_fout: string | null;
|
|
37790
|
+
lokale_pdf_status: string | null;
|
|
36902
37791
|
opgepakt_op: string | null;
|
|
36903
37792
|
paginas: number;
|
|
36904
37793
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -36907,6 +37796,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
36907
37796
|
pogingen: number;
|
|
36908
37797
|
printer_id: string | null;
|
|
36909
37798
|
render_html: string | null;
|
|
37799
|
+
resultaat_pdf_base64: string | null;
|
|
36910
37800
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
36911
37801
|
updated_at: string;
|
|
36912
37802
|
volgende_poging: string | null;
|
|
@@ -36931,6 +37821,9 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
36931
37821
|
is_herprint?: boolean;
|
|
36932
37822
|
kopieen?: number;
|
|
36933
37823
|
layout_id?: string | null;
|
|
37824
|
+
lokaal_opgeslagen_op?: string | null;
|
|
37825
|
+
lokale_pdf_fout?: string | null;
|
|
37826
|
+
lokale_pdf_status?: string | null;
|
|
36934
37827
|
opgepakt_op?: string | null;
|
|
36935
37828
|
paginas?: number;
|
|
36936
37829
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -36939,6 +37832,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
36939
37832
|
pogingen?: number;
|
|
36940
37833
|
printer_id?: string | null;
|
|
36941
37834
|
render_html?: string | null;
|
|
37835
|
+
resultaat_pdf_base64?: string | null;
|
|
36942
37836
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
36943
37837
|
updated_at?: string;
|
|
36944
37838
|
volgende_poging?: string | null;
|
|
@@ -36963,6 +37857,9 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
36963
37857
|
is_herprint?: boolean;
|
|
36964
37858
|
kopieen?: number;
|
|
36965
37859
|
layout_id?: string | null;
|
|
37860
|
+
lokaal_opgeslagen_op?: string | null;
|
|
37861
|
+
lokale_pdf_fout?: string | null;
|
|
37862
|
+
lokale_pdf_status?: string | null;
|
|
36966
37863
|
opgepakt_op?: string | null;
|
|
36967
37864
|
paginas?: number;
|
|
36968
37865
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -36971,6 +37868,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
36971
37868
|
pogingen?: number;
|
|
36972
37869
|
printer_id?: string | null;
|
|
36973
37870
|
render_html?: string | null;
|
|
37871
|
+
resultaat_pdf_base64?: string | null;
|
|
36974
37872
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
36975
37873
|
updated_at?: string;
|
|
36976
37874
|
volgende_poging?: string | null;
|
|
@@ -37089,6 +37987,39 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
37089
37987
|
};
|
|
37090
37988
|
Relationships: [];
|
|
37091
37989
|
};
|
|
37990
|
+
print_preview_events: {
|
|
37991
|
+
Row: {
|
|
37992
|
+
code: string | null;
|
|
37993
|
+
created_at: string;
|
|
37994
|
+
detail: import("../integrations/supabase/types").Json;
|
|
37995
|
+
id: string;
|
|
37996
|
+
queue_item_id: string | null;
|
|
37997
|
+
reden: string | null;
|
|
37998
|
+
station_slug: string | null;
|
|
37999
|
+
uitkomst: string;
|
|
38000
|
+
};
|
|
38001
|
+
Insert: {
|
|
38002
|
+
code?: string | null;
|
|
38003
|
+
created_at?: string;
|
|
38004
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
38005
|
+
id?: string;
|
|
38006
|
+
queue_item_id?: string | null;
|
|
38007
|
+
reden?: string | null;
|
|
38008
|
+
station_slug?: string | null;
|
|
38009
|
+
uitkomst?: string;
|
|
38010
|
+
};
|
|
38011
|
+
Update: {
|
|
38012
|
+
code?: string | null;
|
|
38013
|
+
created_at?: string;
|
|
38014
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
38015
|
+
id?: string;
|
|
38016
|
+
queue_item_id?: string | null;
|
|
38017
|
+
reden?: string | null;
|
|
38018
|
+
station_slug?: string | null;
|
|
38019
|
+
uitkomst?: string;
|
|
38020
|
+
};
|
|
38021
|
+
Relationships: [];
|
|
38022
|
+
};
|
|
37092
38023
|
print_queue_runners: {
|
|
37093
38024
|
Row: {
|
|
37094
38025
|
actief: boolean;
|
|
@@ -37328,6 +38259,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
37328
38259
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
37329
38260
|
online: boolean;
|
|
37330
38261
|
papierformaat: string;
|
|
38262
|
+
pdf_map: string | null;
|
|
37331
38263
|
poort: number | null;
|
|
37332
38264
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37333
38265
|
systeemnaam: string;
|
|
@@ -37353,6 +38285,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
37353
38285
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
37354
38286
|
online?: boolean;
|
|
37355
38287
|
papierformaat?: string;
|
|
38288
|
+
pdf_map?: string | null;
|
|
37356
38289
|
poort?: number | null;
|
|
37357
38290
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37358
38291
|
systeemnaam?: string;
|
|
@@ -37378,6 +38311,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
37378
38311
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
37379
38312
|
online?: boolean;
|
|
37380
38313
|
papierformaat?: string;
|
|
38314
|
+
pdf_map?: string | null;
|
|
37381
38315
|
poort?: number | null;
|
|
37382
38316
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37383
38317
|
systeemnaam?: string;
|
|
@@ -39947,6 +40881,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
39947
40881
|
};
|
|
39948
40882
|
trade_item_stock: {
|
|
39949
40883
|
Row: {
|
|
40884
|
+
change_source: string;
|
|
39950
40885
|
connection_id: string;
|
|
39951
40886
|
created_at: string;
|
|
39952
40887
|
id: string;
|
|
@@ -39960,6 +40895,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
39960
40895
|
user_id: string;
|
|
39961
40896
|
};
|
|
39962
40897
|
Insert: {
|
|
40898
|
+
change_source?: string;
|
|
39963
40899
|
connection_id: string;
|
|
39964
40900
|
created_at?: string;
|
|
39965
40901
|
id?: string;
|
|
@@ -39973,6 +40909,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
39973
40909
|
user_id: string;
|
|
39974
40910
|
};
|
|
39975
40911
|
Update: {
|
|
40912
|
+
change_source?: string;
|
|
39976
40913
|
connection_id?: string;
|
|
39977
40914
|
created_at?: string;
|
|
39978
40915
|
id?: string;
|
|
@@ -43573,6 +44510,18 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
43573
44510
|
Args: never;
|
|
43574
44511
|
Returns: number;
|
|
43575
44512
|
};
|
|
44513
|
+
calculate_floriday_desired_stock: {
|
|
44514
|
+
Args: {
|
|
44515
|
+
p_connection_id: string;
|
|
44516
|
+
p_product_id: string;
|
|
44517
|
+
};
|
|
44518
|
+
Returns: {
|
|
44519
|
+
desired_availability: boolean;
|
|
44520
|
+
desired_quantity: number;
|
|
44521
|
+
erp_available: number;
|
|
44522
|
+
stock_mode: string;
|
|
44523
|
+
}[];
|
|
44524
|
+
};
|
|
43576
44525
|
calculate_layer_stock: {
|
|
43577
44526
|
Args: {
|
|
43578
44527
|
p_product_id: string;
|
|
@@ -43634,6 +44583,9 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
43634
44583
|
is_herprint: boolean;
|
|
43635
44584
|
kopieen: number;
|
|
43636
44585
|
layout_id: string | null;
|
|
44586
|
+
lokaal_opgeslagen_op: string | null;
|
|
44587
|
+
lokale_pdf_fout: string | null;
|
|
44588
|
+
lokale_pdf_status: string | null;
|
|
43637
44589
|
opgepakt_op: string | null;
|
|
43638
44590
|
paginas: number;
|
|
43639
44591
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -43642,6 +44594,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
43642
44594
|
pogingen: number;
|
|
43643
44595
|
printer_id: string | null;
|
|
43644
44596
|
render_html: string | null;
|
|
44597
|
+
resultaat_pdf_base64: string | null;
|
|
43645
44598
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
43646
44599
|
updated_at: string;
|
|
43647
44600
|
volgende_poging: string | null;
|
|
@@ -43663,6 +44616,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
43663
44616
|
attempts: number;
|
|
43664
44617
|
connection_id: string;
|
|
43665
44618
|
created_at: string;
|
|
44619
|
+
dead_lettered_at: string | null;
|
|
43666
44620
|
desired_available: boolean | null;
|
|
43667
44621
|
gateway_attempt_id: string | null;
|
|
43668
44622
|
id: string;
|
|
@@ -43671,9 +44625,13 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
43671
44625
|
locked_by: string | null;
|
|
43672
44626
|
next_attempt_at: string;
|
|
43673
44627
|
number_of_pieces: number;
|
|
44628
|
+
product_id: string | null;
|
|
43674
44629
|
sent_at: string | null;
|
|
43675
44630
|
status: string;
|
|
44631
|
+
stock_mode: string | null;
|
|
43676
44632
|
superseded_by: string | null;
|
|
44633
|
+
target_week: number | null;
|
|
44634
|
+
target_year: number | null;
|
|
43677
44635
|
trade_item_id: string;
|
|
43678
44636
|
updated_at: string;
|
|
43679
44637
|
user_id: string;
|
|
@@ -43733,6 +44691,53 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
43733
44691
|
isSetofReturn: true;
|
|
43734
44692
|
};
|
|
43735
44693
|
};
|
|
44694
|
+
claim_pdf_print_jobs: {
|
|
44695
|
+
Args: {
|
|
44696
|
+
_max?: number;
|
|
44697
|
+
};
|
|
44698
|
+
Returns: {
|
|
44699
|
+
agent_id: string | null;
|
|
44700
|
+
bron_job_id: string | null;
|
|
44701
|
+
created_at: string;
|
|
44702
|
+
documentnaam: string;
|
|
44703
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
44704
|
+
extern_job_id: string | null;
|
|
44705
|
+
foutmelding: string | null;
|
|
44706
|
+
gebruiker_id: string | null;
|
|
44707
|
+
gebruiker_naam: string;
|
|
44708
|
+
gebruikte_bron: string | null;
|
|
44709
|
+
gebruikte_layout_id: string | null;
|
|
44710
|
+
gestart_op: string | null;
|
|
44711
|
+
herkomst: string | null;
|
|
44712
|
+
id: string;
|
|
44713
|
+
idempotentie_sleutel: string | null;
|
|
44714
|
+
is_herprint: boolean;
|
|
44715
|
+
kopieen: number;
|
|
44716
|
+
layout_id: string | null;
|
|
44717
|
+
lokaal_opgeslagen_op: string | null;
|
|
44718
|
+
lokale_pdf_fout: string | null;
|
|
44719
|
+
lokale_pdf_status: string | null;
|
|
44720
|
+
opgepakt_op: string | null;
|
|
44721
|
+
paginas: number;
|
|
44722
|
+
payload: import("../integrations/supabase/types").Json;
|
|
44723
|
+
pdf_base64: string | null;
|
|
44724
|
+
pdf_url: string | null;
|
|
44725
|
+
pogingen: number;
|
|
44726
|
+
printer_id: string | null;
|
|
44727
|
+
render_html: string | null;
|
|
44728
|
+
resultaat_pdf_base64: string | null;
|
|
44729
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
44730
|
+
updated_at: string;
|
|
44731
|
+
volgende_poging: string | null;
|
|
44732
|
+
voltooid_op: string | null;
|
|
44733
|
+
}[];
|
|
44734
|
+
SetofOptions: {
|
|
44735
|
+
from: "*";
|
|
44736
|
+
to: "print_jobs";
|
|
44737
|
+
isOneToOne: false;
|
|
44738
|
+
isSetofReturn: true;
|
|
44739
|
+
};
|
|
44740
|
+
};
|
|
43736
44741
|
claim_print_jobs: {
|
|
43737
44742
|
Args: {
|
|
43738
44743
|
_agent_id: string;
|
|
@@ -43757,6 +44762,9 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
43757
44762
|
is_herprint: boolean;
|
|
43758
44763
|
kopieen: number;
|
|
43759
44764
|
layout_id: string | null;
|
|
44765
|
+
lokaal_opgeslagen_op: string | null;
|
|
44766
|
+
lokale_pdf_fout: string | null;
|
|
44767
|
+
lokale_pdf_status: string | null;
|
|
43760
44768
|
opgepakt_op: string | null;
|
|
43761
44769
|
paginas: number;
|
|
43762
44770
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -43765,6 +44773,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
43765
44773
|
pogingen: number;
|
|
43766
44774
|
printer_id: string | null;
|
|
43767
44775
|
render_html: string | null;
|
|
44776
|
+
resultaat_pdf_base64: string | null;
|
|
43768
44777
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
43769
44778
|
updated_at: string;
|
|
43770
44779
|
volgende_poging: string | null;
|
|
@@ -43905,6 +44914,8 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
43905
44914
|
order_id: string;
|
|
43906
44915
|
order_source: string;
|
|
43907
44916
|
pick_date: string;
|
|
44917
|
+
printed_at: string;
|
|
44918
|
+
printed_today: boolean;
|
|
43908
44919
|
status: string;
|
|
43909
44920
|
}[];
|
|
43910
44921
|
};
|
|
@@ -44101,6 +45112,24 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
44101
45112
|
};
|
|
44102
45113
|
Returns: string;
|
|
44103
45114
|
};
|
|
45115
|
+
floriday_capture_stock_snapshot: {
|
|
45116
|
+
Args: never;
|
|
45117
|
+
Returns: number;
|
|
45118
|
+
};
|
|
45119
|
+
floriday_cleanup_stock_queue_v2: {
|
|
45120
|
+
Args: never;
|
|
45121
|
+
Returns: undefined;
|
|
45122
|
+
};
|
|
45123
|
+
floriday_compact_stock_snapshots: {
|
|
45124
|
+
Args: never;
|
|
45125
|
+
Returns: undefined;
|
|
45126
|
+
};
|
|
45127
|
+
floriday_default_owner: {
|
|
45128
|
+
Args: {
|
|
45129
|
+
p_connection_id: string;
|
|
45130
|
+
};
|
|
45131
|
+
Returns: string;
|
|
45132
|
+
};
|
|
44104
45133
|
floriday_effective_price: {
|
|
44105
45134
|
Args: {
|
|
44106
45135
|
_buyer_id: string;
|
|
@@ -44118,6 +45147,22 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
44118
45147
|
source_id: string;
|
|
44119
45148
|
}[];
|
|
44120
45149
|
};
|
|
45150
|
+
floriday_fill_publish_horizon: {
|
|
45151
|
+
Args: never;
|
|
45152
|
+
Returns: number;
|
|
45153
|
+
};
|
|
45154
|
+
floriday_publish_horizon_weeks: {
|
|
45155
|
+
Args: never;
|
|
45156
|
+
Returns: number;
|
|
45157
|
+
};
|
|
45158
|
+
floriday_recompute_inventory: {
|
|
45159
|
+
Args: {
|
|
45160
|
+
p_connection_id: string;
|
|
45161
|
+
p_force?: boolean;
|
|
45162
|
+
p_product_id: string;
|
|
45163
|
+
};
|
|
45164
|
+
Returns: undefined;
|
|
45165
|
+
};
|
|
44121
45166
|
format_cart_number: {
|
|
44122
45167
|
Args: {
|
|
44123
45168
|
p_pick_date: string;
|
|
@@ -44613,6 +45658,10 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
44613
45658
|
};
|
|
44614
45659
|
Returns: number;
|
|
44615
45660
|
};
|
|
45661
|
+
logistics_cancel_orphan_tasks: {
|
|
45662
|
+
Args: never;
|
|
45663
|
+
Returns: number;
|
|
45664
|
+
};
|
|
44616
45665
|
logistics_capacity_day_check: {
|
|
44617
45666
|
Args: {
|
|
44618
45667
|
p_from?: string;
|
|
@@ -44633,6 +45682,25 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
44633
45682
|
};
|
|
44634
45683
|
Returns: number;
|
|
44635
45684
|
};
|
|
45685
|
+
logistics_cart_index: {
|
|
45686
|
+
Args: {
|
|
45687
|
+
p_from?: string;
|
|
45688
|
+
p_to?: string;
|
|
45689
|
+
};
|
|
45690
|
+
Returns: {
|
|
45691
|
+
cart_id: string;
|
|
45692
|
+
cart_index: number;
|
|
45693
|
+
cart_label: string;
|
|
45694
|
+
is_shared: boolean;
|
|
45695
|
+
order_number: string;
|
|
45696
|
+
order_source: string;
|
|
45697
|
+
order_uuid: string;
|
|
45698
|
+
pick_date: string;
|
|
45699
|
+
printed_at: string;
|
|
45700
|
+
shifted: boolean;
|
|
45701
|
+
task_status: string;
|
|
45702
|
+
}[];
|
|
45703
|
+
};
|
|
44636
45704
|
logistics_check_order_allowed: {
|
|
44637
45705
|
Args: {
|
|
44638
45706
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -44781,6 +45849,17 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
44781
45849
|
isSetofReturn: false;
|
|
44782
45850
|
};
|
|
44783
45851
|
};
|
|
45852
|
+
logistics_consistency_check: {
|
|
45853
|
+
Args: never;
|
|
45854
|
+
Returns: {
|
|
45855
|
+
agenda_carts: number;
|
|
45856
|
+
control_carts: number;
|
|
45857
|
+
ok: boolean;
|
|
45858
|
+
orphan_tasks: number;
|
|
45859
|
+
pick_date: string;
|
|
45860
|
+
raw_carts: number;
|
|
45861
|
+
}[];
|
|
45862
|
+
};
|
|
44784
45863
|
logistics_delay_customer_email: {
|
|
44785
45864
|
Args: {
|
|
44786
45865
|
p_customer: string;
|
|
@@ -44870,6 +45949,16 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
44870
45949
|
isSetofReturn: false;
|
|
44871
45950
|
};
|
|
44872
45951
|
};
|
|
45952
|
+
logistics_floriday_cart_plan: {
|
|
45953
|
+
Args: {
|
|
45954
|
+
p_order_id: string;
|
|
45955
|
+
};
|
|
45956
|
+
Returns: {
|
|
45957
|
+
carrier_type: string;
|
|
45958
|
+
idx: number;
|
|
45959
|
+
packages: number;
|
|
45960
|
+
}[];
|
|
45961
|
+
};
|
|
44873
45962
|
logistics_floriday_claim_pushes: {
|
|
44874
45963
|
Args: {
|
|
44875
45964
|
_lease_seconds?: number;
|
|
@@ -44974,6 +46063,25 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
44974
46063
|
};
|
|
44975
46064
|
Returns: number;
|
|
44976
46065
|
};
|
|
46066
|
+
logistics_order_overview: {
|
|
46067
|
+
Args: {
|
|
46068
|
+
p_from?: string;
|
|
46069
|
+
p_to?: string;
|
|
46070
|
+
};
|
|
46071
|
+
Returns: {
|
|
46072
|
+
cart_count: number;
|
|
46073
|
+
customer_name: string;
|
|
46074
|
+
delivery_date: string;
|
|
46075
|
+
order_number: string;
|
|
46076
|
+
order_source: string;
|
|
46077
|
+
order_uuid: string;
|
|
46078
|
+
pick_date: string;
|
|
46079
|
+
plant_count: number;
|
|
46080
|
+
printed_at: string;
|
|
46081
|
+
shifted: boolean;
|
|
46082
|
+
status: string;
|
|
46083
|
+
}[];
|
|
46084
|
+
};
|
|
44977
46085
|
logistics_order_pick_day: {
|
|
44978
46086
|
Args: {
|
|
44979
46087
|
p_order_ref: string;
|
|
@@ -44986,6 +46094,22 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
44986
46094
|
};
|
|
44987
46095
|
Returns: string;
|
|
44988
46096
|
};
|
|
46097
|
+
logistics_pick_agenda: {
|
|
46098
|
+
Args: {
|
|
46099
|
+
p_from?: string;
|
|
46100
|
+
p_to?: string;
|
|
46101
|
+
};
|
|
46102
|
+
Returns: {
|
|
46103
|
+
cart_count: number;
|
|
46104
|
+
in_preparation: number;
|
|
46105
|
+
order_count: number;
|
|
46106
|
+
orders: import("../integrations/supabase/types").Json;
|
|
46107
|
+
pick_date: string;
|
|
46108
|
+
plant_count: number;
|
|
46109
|
+
ready: number;
|
|
46110
|
+
shifted_count: number;
|
|
46111
|
+
}[];
|
|
46112
|
+
};
|
|
44989
46113
|
logistics_pick_email_purpose: {
|
|
44990
46114
|
Args: never;
|
|
44991
46115
|
Returns: string;
|
|
@@ -45040,6 +46164,13 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
45040
46164
|
};
|
|
45041
46165
|
Returns: undefined;
|
|
45042
46166
|
};
|
|
46167
|
+
logistics_plan_floriday_order: {
|
|
46168
|
+
Args: {
|
|
46169
|
+
p_buffer_id?: string;
|
|
46170
|
+
p_order_id: string;
|
|
46171
|
+
};
|
|
46172
|
+
Returns: number;
|
|
46173
|
+
};
|
|
45043
46174
|
logistics_plan_impact_orders: {
|
|
45044
46175
|
Args: {
|
|
45045
46176
|
p_order_id: string;
|
|
@@ -45145,6 +46276,15 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
45145
46276
|
};
|
|
45146
46277
|
Returns: import("../integrations/supabase/types").Json;
|
|
45147
46278
|
};
|
|
46279
|
+
logistics_resolve_pick_document: {
|
|
46280
|
+
Args: {
|
|
46281
|
+
_is_herprint: boolean;
|
|
46282
|
+
_queue_item_id: string;
|
|
46283
|
+
_session_id: string;
|
|
46284
|
+
_voorbeeld: boolean;
|
|
46285
|
+
};
|
|
46286
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
46287
|
+
};
|
|
45148
46288
|
logistics_resolve_settings: {
|
|
45149
46289
|
Args: {
|
|
45150
46290
|
p_config_id: string;
|
|
@@ -45585,6 +46725,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
45585
46725
|
};
|
|
45586
46726
|
pick_enqueue_print_job: {
|
|
45587
46727
|
Args: {
|
|
46728
|
+
_is_herprint?: boolean;
|
|
45588
46729
|
_printer_id?: string;
|
|
45589
46730
|
_queue_item_id: string;
|
|
45590
46731
|
_session_id?: string;
|
|
@@ -45598,6 +46739,13 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
45598
46739
|
};
|
|
45599
46740
|
Returns: import("../integrations/supabase/types").Json;
|
|
45600
46741
|
};
|
|
46742
|
+
pick_preview_job: {
|
|
46743
|
+
Args: {
|
|
46744
|
+
_queue_item_id: string;
|
|
46745
|
+
_station_slug: string;
|
|
46746
|
+
};
|
|
46747
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
46748
|
+
};
|
|
45601
46749
|
pick_print_job_status: {
|
|
45602
46750
|
Args: {
|
|
45603
46751
|
_job_id: string;
|
|
@@ -45775,6 +46923,24 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
45775
46923
|
};
|
|
45776
46924
|
Returns: undefined;
|
|
45777
46925
|
};
|
|
46926
|
+
print_preview_toestaan: {
|
|
46927
|
+
Args: {
|
|
46928
|
+
_max?: number;
|
|
46929
|
+
_queue_item_id: string;
|
|
46930
|
+
_station_slug: string;
|
|
46931
|
+
_venster_sec?: number;
|
|
46932
|
+
};
|
|
46933
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
46934
|
+
};
|
|
46935
|
+
print_preview_weiger: {
|
|
46936
|
+
Args: {
|
|
46937
|
+
_code: string;
|
|
46938
|
+
_queue_item_id: string;
|
|
46939
|
+
_reden: string;
|
|
46940
|
+
_station_slug: string;
|
|
46941
|
+
};
|
|
46942
|
+
Returns: undefined;
|
|
46943
|
+
};
|
|
45778
46944
|
process_logistics_event: {
|
|
45779
46945
|
Args: {
|
|
45780
46946
|
p_event_id: string;
|
|
@@ -45929,6 +47095,12 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
45929
47095
|
};
|
|
45930
47096
|
Returns: string;
|
|
45931
47097
|
};
|
|
47098
|
+
resolve_print_job_printer_id: {
|
|
47099
|
+
Args: {
|
|
47100
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
47101
|
+
};
|
|
47102
|
+
Returns: string;
|
|
47103
|
+
};
|
|
45932
47104
|
resolve_product_id_for_item: {
|
|
45933
47105
|
Args: {
|
|
45934
47106
|
p_product_name: string;
|
|
@@ -46520,7 +47692,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
46520
47692
|
};
|
|
46521
47693
|
CompositeTypes: { [_ in never]: never; };
|
|
46522
47694
|
}, {
|
|
46523
|
-
PostgrestVersion: "14.
|
|
47695
|
+
PostgrestVersion: "14.5";
|
|
46524
47696
|
}>;
|
|
46525
47697
|
userId: string;
|
|
46526
47698
|
claims: import("@supabase/auth-js").User;
|
|
@@ -49383,6 +50555,84 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
49383
50555
|
};
|
|
49384
50556
|
Relationships: [];
|
|
49385
50557
|
};
|
|
50558
|
+
delivery_notes: {
|
|
50559
|
+
Row: {
|
|
50560
|
+
byte_size: number | null;
|
|
50561
|
+
connection_id: string | null;
|
|
50562
|
+
content_type: string;
|
|
50563
|
+
created_at: string;
|
|
50564
|
+
error_message: string | null;
|
|
50565
|
+
fetched_at: string | null;
|
|
50566
|
+
fulfillment_order_id: string | null;
|
|
50567
|
+
http_status: number | null;
|
|
50568
|
+
id: string;
|
|
50569
|
+
label_code: string | null;
|
|
50570
|
+
letter: string | null;
|
|
50571
|
+
load_carrier_index: number | null;
|
|
50572
|
+
load_carrier_type: string | null;
|
|
50573
|
+
order_id: string | null;
|
|
50574
|
+
order_number: string | null;
|
|
50575
|
+
packages: number | null;
|
|
50576
|
+
source: string;
|
|
50577
|
+
status: string;
|
|
50578
|
+
storage_bucket: string;
|
|
50579
|
+
storage_path: string | null;
|
|
50580
|
+
updated_at: string;
|
|
50581
|
+
};
|
|
50582
|
+
Insert: {
|
|
50583
|
+
byte_size?: number | null;
|
|
50584
|
+
connection_id?: string | null;
|
|
50585
|
+
content_type?: string;
|
|
50586
|
+
created_at?: string;
|
|
50587
|
+
error_message?: string | null;
|
|
50588
|
+
fetched_at?: string | null;
|
|
50589
|
+
fulfillment_order_id?: string | null;
|
|
50590
|
+
http_status?: number | null;
|
|
50591
|
+
id?: string;
|
|
50592
|
+
label_code?: string | null;
|
|
50593
|
+
letter?: string | null;
|
|
50594
|
+
load_carrier_index?: number | null;
|
|
50595
|
+
load_carrier_type?: string | null;
|
|
50596
|
+
order_id?: string | null;
|
|
50597
|
+
order_number?: string | null;
|
|
50598
|
+
packages?: number | null;
|
|
50599
|
+
source?: string;
|
|
50600
|
+
status?: string;
|
|
50601
|
+
storage_bucket?: string;
|
|
50602
|
+
storage_path?: string | null;
|
|
50603
|
+
updated_at?: string;
|
|
50604
|
+
};
|
|
50605
|
+
Update: {
|
|
50606
|
+
byte_size?: number | null;
|
|
50607
|
+
connection_id?: string | null;
|
|
50608
|
+
content_type?: string;
|
|
50609
|
+
created_at?: string;
|
|
50610
|
+
error_message?: string | null;
|
|
50611
|
+
fetched_at?: string | null;
|
|
50612
|
+
fulfillment_order_id?: string | null;
|
|
50613
|
+
http_status?: number | null;
|
|
50614
|
+
id?: string;
|
|
50615
|
+
label_code?: string | null;
|
|
50616
|
+
letter?: string | null;
|
|
50617
|
+
load_carrier_index?: number | null;
|
|
50618
|
+
load_carrier_type?: string | null;
|
|
50619
|
+
order_id?: string | null;
|
|
50620
|
+
order_number?: string | null;
|
|
50621
|
+
packages?: number | null;
|
|
50622
|
+
source?: string;
|
|
50623
|
+
status?: string;
|
|
50624
|
+
storage_bucket?: string;
|
|
50625
|
+
storage_path?: string | null;
|
|
50626
|
+
updated_at?: string;
|
|
50627
|
+
};
|
|
50628
|
+
Relationships: [{
|
|
50629
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
50630
|
+
columns: ["order_id"];
|
|
50631
|
+
isOneToOne: false;
|
|
50632
|
+
referencedRelation: "orders";
|
|
50633
|
+
referencedColumns: ["id"];
|
|
50634
|
+
}];
|
|
50635
|
+
};
|
|
49386
50636
|
document_bronregels: {
|
|
49387
50637
|
Row: {
|
|
49388
50638
|
bron: string;
|
|
@@ -52436,10 +53686,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
52436
53686
|
};
|
|
52437
53687
|
floriday_connections: {
|
|
52438
53688
|
Row: {
|
|
52439
|
-
access_token: string | null;
|
|
52440
53689
|
api_key: string;
|
|
52441
|
-
client_id: string;
|
|
52442
|
-
client_secret: string;
|
|
52443
53690
|
created_at: string;
|
|
52444
53691
|
customers_endpoint: string | null;
|
|
52445
53692
|
environment: string;
|
|
@@ -52454,10 +53701,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
52454
53701
|
updated_at: string;
|
|
52455
53702
|
};
|
|
52456
53703
|
Insert: {
|
|
52457
|
-
access_token?: string | null;
|
|
52458
53704
|
api_key: string;
|
|
52459
|
-
client_id: string;
|
|
52460
|
-
client_secret: string;
|
|
52461
53705
|
created_at?: string;
|
|
52462
53706
|
customers_endpoint?: string | null;
|
|
52463
53707
|
environment: string;
|
|
@@ -52472,10 +53716,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
52472
53716
|
updated_at?: string;
|
|
52473
53717
|
};
|
|
52474
53718
|
Update: {
|
|
52475
|
-
access_token?: string | null;
|
|
52476
53719
|
api_key?: string;
|
|
52477
|
-
client_id?: string;
|
|
52478
|
-
client_secret?: string;
|
|
52479
53720
|
created_at?: string;
|
|
52480
53721
|
customers_endpoint?: string | null;
|
|
52481
53722
|
environment?: string;
|
|
@@ -52559,6 +53800,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
52559
53800
|
attempts: number;
|
|
52560
53801
|
connection_id: string;
|
|
52561
53802
|
created_at: string;
|
|
53803
|
+
dead_lettered_at: string | null;
|
|
52562
53804
|
desired_available: boolean | null;
|
|
52563
53805
|
gateway_attempt_id: string | null;
|
|
52564
53806
|
id: string;
|
|
@@ -52567,9 +53809,13 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
52567
53809
|
locked_by: string | null;
|
|
52568
53810
|
next_attempt_at: string;
|
|
52569
53811
|
number_of_pieces: number;
|
|
53812
|
+
product_id: string | null;
|
|
52570
53813
|
sent_at: string | null;
|
|
52571
53814
|
status: string;
|
|
53815
|
+
stock_mode: string | null;
|
|
52572
53816
|
superseded_by: string | null;
|
|
53817
|
+
target_week: number | null;
|
|
53818
|
+
target_year: number | null;
|
|
52573
53819
|
trade_item_id: string;
|
|
52574
53820
|
updated_at: string;
|
|
52575
53821
|
user_id: string;
|
|
@@ -52578,6 +53824,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
52578
53824
|
attempts?: number;
|
|
52579
53825
|
connection_id: string;
|
|
52580
53826
|
created_at?: string;
|
|
53827
|
+
dead_lettered_at?: string | null;
|
|
52581
53828
|
desired_available?: boolean | null;
|
|
52582
53829
|
gateway_attempt_id?: string | null;
|
|
52583
53830
|
id?: string;
|
|
@@ -52586,9 +53833,13 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
52586
53833
|
locked_by?: string | null;
|
|
52587
53834
|
next_attempt_at?: string;
|
|
52588
53835
|
number_of_pieces?: number;
|
|
53836
|
+
product_id?: string | null;
|
|
52589
53837
|
sent_at?: string | null;
|
|
52590
53838
|
status?: string;
|
|
53839
|
+
stock_mode?: string | null;
|
|
52591
53840
|
superseded_by?: string | null;
|
|
53841
|
+
target_week?: number | null;
|
|
53842
|
+
target_year?: number | null;
|
|
52592
53843
|
trade_item_id: string;
|
|
52593
53844
|
updated_at?: string;
|
|
52594
53845
|
user_id: string;
|
|
@@ -52597,6 +53848,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
52597
53848
|
attempts?: number;
|
|
52598
53849
|
connection_id?: string;
|
|
52599
53850
|
created_at?: string;
|
|
53851
|
+
dead_lettered_at?: string | null;
|
|
52600
53852
|
desired_available?: boolean | null;
|
|
52601
53853
|
gateway_attempt_id?: string | null;
|
|
52602
53854
|
id?: string;
|
|
@@ -52605,9 +53857,13 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
52605
53857
|
locked_by?: string | null;
|
|
52606
53858
|
next_attempt_at?: string;
|
|
52607
53859
|
number_of_pieces?: number;
|
|
53860
|
+
product_id?: string | null;
|
|
52608
53861
|
sent_at?: string | null;
|
|
52609
53862
|
status?: string;
|
|
53863
|
+
stock_mode?: string | null;
|
|
52610
53864
|
superseded_by?: string | null;
|
|
53865
|
+
target_week?: number | null;
|
|
53866
|
+
target_year?: number | null;
|
|
52611
53867
|
trade_item_id?: string;
|
|
52612
53868
|
updated_at?: string;
|
|
52613
53869
|
user_id?: string;
|
|
@@ -53016,6 +54272,87 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
53016
54272
|
referencedColumns: ["id"];
|
|
53017
54273
|
}];
|
|
53018
54274
|
};
|
|
54275
|
+
floriday_inventory_settings: {
|
|
54276
|
+
Row: {
|
|
54277
|
+
buffer_quantity: number;
|
|
54278
|
+
connection_id: string;
|
|
54279
|
+
created_at: string;
|
|
54280
|
+
desired_availability: boolean;
|
|
54281
|
+
desired_quantity: number;
|
|
54282
|
+
fixed_quantity: number | null;
|
|
54283
|
+
floriday_trade_item_id: string | null;
|
|
54284
|
+
id: string;
|
|
54285
|
+
last_confirmed_at: string | null;
|
|
54286
|
+
last_enqueued_at: string | null;
|
|
54287
|
+
last_published_at: string | null;
|
|
54288
|
+
last_sync_error: string | null;
|
|
54289
|
+
manual_quantity: number | null;
|
|
54290
|
+
maximum_quantity: number | null;
|
|
54291
|
+
product_id: string;
|
|
54292
|
+
quantity_control: string;
|
|
54293
|
+
remote_available: boolean | null;
|
|
54294
|
+
remote_checked_at: string | null;
|
|
54295
|
+
remote_quantity: number | null;
|
|
54296
|
+
stock_mode: string;
|
|
54297
|
+
sync_status: string;
|
|
54298
|
+
updated_at: string;
|
|
54299
|
+
updated_by: string | null;
|
|
54300
|
+
user_id: string;
|
|
54301
|
+
};
|
|
54302
|
+
Insert: {
|
|
54303
|
+
buffer_quantity?: number;
|
|
54304
|
+
connection_id: string;
|
|
54305
|
+
created_at?: string;
|
|
54306
|
+
desired_availability?: boolean;
|
|
54307
|
+
desired_quantity?: number;
|
|
54308
|
+
fixed_quantity?: number | null;
|
|
54309
|
+
floriday_trade_item_id?: string | null;
|
|
54310
|
+
id?: string;
|
|
54311
|
+
last_confirmed_at?: string | null;
|
|
54312
|
+
last_enqueued_at?: string | null;
|
|
54313
|
+
last_published_at?: string | null;
|
|
54314
|
+
last_sync_error?: string | null;
|
|
54315
|
+
manual_quantity?: number | null;
|
|
54316
|
+
maximum_quantity?: number | null;
|
|
54317
|
+
product_id: string;
|
|
54318
|
+
quantity_control?: string;
|
|
54319
|
+
remote_available?: boolean | null;
|
|
54320
|
+
remote_checked_at?: string | null;
|
|
54321
|
+
remote_quantity?: number | null;
|
|
54322
|
+
stock_mode?: string;
|
|
54323
|
+
sync_status?: string;
|
|
54324
|
+
updated_at?: string;
|
|
54325
|
+
updated_by?: string | null;
|
|
54326
|
+
user_id: string;
|
|
54327
|
+
};
|
|
54328
|
+
Update: {
|
|
54329
|
+
buffer_quantity?: number;
|
|
54330
|
+
connection_id?: string;
|
|
54331
|
+
created_at?: string;
|
|
54332
|
+
desired_availability?: boolean;
|
|
54333
|
+
desired_quantity?: number;
|
|
54334
|
+
fixed_quantity?: number | null;
|
|
54335
|
+
floriday_trade_item_id?: string | null;
|
|
54336
|
+
id?: string;
|
|
54337
|
+
last_confirmed_at?: string | null;
|
|
54338
|
+
last_enqueued_at?: string | null;
|
|
54339
|
+
last_published_at?: string | null;
|
|
54340
|
+
last_sync_error?: string | null;
|
|
54341
|
+
manual_quantity?: number | null;
|
|
54342
|
+
maximum_quantity?: number | null;
|
|
54343
|
+
product_id?: string;
|
|
54344
|
+
quantity_control?: string;
|
|
54345
|
+
remote_available?: boolean | null;
|
|
54346
|
+
remote_checked_at?: string | null;
|
|
54347
|
+
remote_quantity?: number | null;
|
|
54348
|
+
stock_mode?: string;
|
|
54349
|
+
sync_status?: string;
|
|
54350
|
+
updated_at?: string;
|
|
54351
|
+
updated_by?: string | null;
|
|
54352
|
+
user_id?: string;
|
|
54353
|
+
};
|
|
54354
|
+
Relationships: [];
|
|
54355
|
+
};
|
|
53019
54356
|
floriday_invoices_cache: {
|
|
53020
54357
|
Row: {
|
|
53021
54358
|
buyer_organization_id: string | null;
|
|
@@ -53304,6 +54641,39 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
53304
54641
|
};
|
|
53305
54642
|
Relationships: [];
|
|
53306
54643
|
};
|
|
54644
|
+
floriday_sales_order_ingest: {
|
|
54645
|
+
Row: {
|
|
54646
|
+
connection_id: string;
|
|
54647
|
+
created_at: string;
|
|
54648
|
+
id: string;
|
|
54649
|
+
impact: import("../integrations/supabase/types").Json;
|
|
54650
|
+
order_status: string | null;
|
|
54651
|
+
order_version: number;
|
|
54652
|
+
processed_at: string;
|
|
54653
|
+
sales_order_id: string;
|
|
54654
|
+
};
|
|
54655
|
+
Insert: {
|
|
54656
|
+
connection_id: string;
|
|
54657
|
+
created_at?: string;
|
|
54658
|
+
id?: string;
|
|
54659
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
54660
|
+
order_status?: string | null;
|
|
54661
|
+
order_version?: number;
|
|
54662
|
+
processed_at?: string;
|
|
54663
|
+
sales_order_id: string;
|
|
54664
|
+
};
|
|
54665
|
+
Update: {
|
|
54666
|
+
connection_id?: string;
|
|
54667
|
+
created_at?: string;
|
|
54668
|
+
id?: string;
|
|
54669
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
54670
|
+
order_status?: string | null;
|
|
54671
|
+
order_version?: number;
|
|
54672
|
+
processed_at?: string;
|
|
54673
|
+
sales_order_id?: string;
|
|
54674
|
+
};
|
|
54675
|
+
Relationships: [];
|
|
54676
|
+
};
|
|
53307
54677
|
floriday_sales_strategies_cache: {
|
|
53308
54678
|
Row: {
|
|
53309
54679
|
connection_id: string;
|
|
@@ -53403,6 +54773,39 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
53403
54773
|
};
|
|
53404
54774
|
Relationships: [];
|
|
53405
54775
|
};
|
|
54776
|
+
floriday_sync_cursors: {
|
|
54777
|
+
Row: {
|
|
54778
|
+
connection_id: string;
|
|
54779
|
+
created_at: string;
|
|
54780
|
+
id: string;
|
|
54781
|
+
last_error: string | null;
|
|
54782
|
+
last_sync_at: string | null;
|
|
54783
|
+
resource_type: string;
|
|
54784
|
+
sequence_number: number;
|
|
54785
|
+
updated_at: string;
|
|
54786
|
+
};
|
|
54787
|
+
Insert: {
|
|
54788
|
+
connection_id: string;
|
|
54789
|
+
created_at?: string;
|
|
54790
|
+
id?: string;
|
|
54791
|
+
last_error?: string | null;
|
|
54792
|
+
last_sync_at?: string | null;
|
|
54793
|
+
resource_type: string;
|
|
54794
|
+
sequence_number?: number;
|
|
54795
|
+
updated_at?: string;
|
|
54796
|
+
};
|
|
54797
|
+
Update: {
|
|
54798
|
+
connection_id?: string;
|
|
54799
|
+
created_at?: string;
|
|
54800
|
+
id?: string;
|
|
54801
|
+
last_error?: string | null;
|
|
54802
|
+
last_sync_at?: string | null;
|
|
54803
|
+
resource_type?: string;
|
|
54804
|
+
sequence_number?: number;
|
|
54805
|
+
updated_at?: string;
|
|
54806
|
+
};
|
|
54807
|
+
Relationships: [];
|
|
54808
|
+
};
|
|
53406
54809
|
floriday_sync_state: {
|
|
53407
54810
|
Row: {
|
|
53408
54811
|
connection_id: string;
|
|
@@ -54093,6 +55496,42 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
54093
55496
|
};
|
|
54094
55497
|
Relationships: [];
|
|
54095
55498
|
};
|
|
55499
|
+
inventory_stock_snapshots: {
|
|
55500
|
+
Row: {
|
|
55501
|
+
connection_id: string;
|
|
55502
|
+
created_at: string;
|
|
55503
|
+
erp_available_quantity: number;
|
|
55504
|
+
floriday_desired_quantity: number;
|
|
55505
|
+
floriday_remote_quantity: number | null;
|
|
55506
|
+
granularity: string;
|
|
55507
|
+
id: string;
|
|
55508
|
+
snapshot_at: string;
|
|
55509
|
+
user_id: string | null;
|
|
55510
|
+
};
|
|
55511
|
+
Insert: {
|
|
55512
|
+
connection_id: string;
|
|
55513
|
+
created_at?: string;
|
|
55514
|
+
erp_available_quantity?: number;
|
|
55515
|
+
floriday_desired_quantity?: number;
|
|
55516
|
+
floriday_remote_quantity?: number | null;
|
|
55517
|
+
granularity?: string;
|
|
55518
|
+
id?: string;
|
|
55519
|
+
snapshot_at?: string;
|
|
55520
|
+
user_id?: string | null;
|
|
55521
|
+
};
|
|
55522
|
+
Update: {
|
|
55523
|
+
connection_id?: string;
|
|
55524
|
+
created_at?: string;
|
|
55525
|
+
erp_available_quantity?: number;
|
|
55526
|
+
floriday_desired_quantity?: number;
|
|
55527
|
+
floriday_remote_quantity?: number | null;
|
|
55528
|
+
granularity?: string;
|
|
55529
|
+
id?: string;
|
|
55530
|
+
snapshot_at?: string;
|
|
55531
|
+
user_id?: string | null;
|
|
55532
|
+
};
|
|
55533
|
+
Relationships: [];
|
|
55534
|
+
};
|
|
54096
55535
|
invoice_items: {
|
|
54097
55536
|
Row: {
|
|
54098
55537
|
created_at: string;
|
|
@@ -60108,6 +61547,39 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
60108
61547
|
};
|
|
60109
61548
|
Relationships: [];
|
|
60110
61549
|
};
|
|
61550
|
+
print_dedupe_events: {
|
|
61551
|
+
Row: {
|
|
61552
|
+
bestaande_job_id: string | null;
|
|
61553
|
+
created_at: string;
|
|
61554
|
+
detail: string | null;
|
|
61555
|
+
documentnaam: string | null;
|
|
61556
|
+
documenttype: string | null;
|
|
61557
|
+
id: string;
|
|
61558
|
+
idempotentie_sleutel: string;
|
|
61559
|
+
reden: string;
|
|
61560
|
+
};
|
|
61561
|
+
Insert: {
|
|
61562
|
+
bestaande_job_id?: string | null;
|
|
61563
|
+
created_at?: string;
|
|
61564
|
+
detail?: string | null;
|
|
61565
|
+
documentnaam?: string | null;
|
|
61566
|
+
documenttype?: string | null;
|
|
61567
|
+
id?: string;
|
|
61568
|
+
idempotentie_sleutel: string;
|
|
61569
|
+
reden: string;
|
|
61570
|
+
};
|
|
61571
|
+
Update: {
|
|
61572
|
+
bestaande_job_id?: string | null;
|
|
61573
|
+
created_at?: string;
|
|
61574
|
+
detail?: string | null;
|
|
61575
|
+
documentnaam?: string | null;
|
|
61576
|
+
documenttype?: string | null;
|
|
61577
|
+
id?: string;
|
|
61578
|
+
idempotentie_sleutel?: string;
|
|
61579
|
+
reden?: string;
|
|
61580
|
+
};
|
|
61581
|
+
Relationships: [];
|
|
61582
|
+
};
|
|
60111
61583
|
print_job_logs: {
|
|
60112
61584
|
Row: {
|
|
60113
61585
|
created_at: string;
|
|
@@ -60158,6 +61630,9 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
60158
61630
|
is_herprint: boolean;
|
|
60159
61631
|
kopieen: number;
|
|
60160
61632
|
layout_id: string | null;
|
|
61633
|
+
lokaal_opgeslagen_op: string | null;
|
|
61634
|
+
lokale_pdf_fout: string | null;
|
|
61635
|
+
lokale_pdf_status: string | null;
|
|
60161
61636
|
opgepakt_op: string | null;
|
|
60162
61637
|
paginas: number;
|
|
60163
61638
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -60166,6 +61641,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
60166
61641
|
pogingen: number;
|
|
60167
61642
|
printer_id: string | null;
|
|
60168
61643
|
render_html: string | null;
|
|
61644
|
+
resultaat_pdf_base64: string | null;
|
|
60169
61645
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
60170
61646
|
updated_at: string;
|
|
60171
61647
|
volgende_poging: string | null;
|
|
@@ -60190,6 +61666,9 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
60190
61666
|
is_herprint?: boolean;
|
|
60191
61667
|
kopieen?: number;
|
|
60192
61668
|
layout_id?: string | null;
|
|
61669
|
+
lokaal_opgeslagen_op?: string | null;
|
|
61670
|
+
lokale_pdf_fout?: string | null;
|
|
61671
|
+
lokale_pdf_status?: string | null;
|
|
60193
61672
|
opgepakt_op?: string | null;
|
|
60194
61673
|
paginas?: number;
|
|
60195
61674
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -60198,6 +61677,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
60198
61677
|
pogingen?: number;
|
|
60199
61678
|
printer_id?: string | null;
|
|
60200
61679
|
render_html?: string | null;
|
|
61680
|
+
resultaat_pdf_base64?: string | null;
|
|
60201
61681
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
60202
61682
|
updated_at?: string;
|
|
60203
61683
|
volgende_poging?: string | null;
|
|
@@ -60222,6 +61702,9 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
60222
61702
|
is_herprint?: boolean;
|
|
60223
61703
|
kopieen?: number;
|
|
60224
61704
|
layout_id?: string | null;
|
|
61705
|
+
lokaal_opgeslagen_op?: string | null;
|
|
61706
|
+
lokale_pdf_fout?: string | null;
|
|
61707
|
+
lokale_pdf_status?: string | null;
|
|
60225
61708
|
opgepakt_op?: string | null;
|
|
60226
61709
|
paginas?: number;
|
|
60227
61710
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -60230,6 +61713,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
60230
61713
|
pogingen?: number;
|
|
60231
61714
|
printer_id?: string | null;
|
|
60232
61715
|
render_html?: string | null;
|
|
61716
|
+
resultaat_pdf_base64?: string | null;
|
|
60233
61717
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
60234
61718
|
updated_at?: string;
|
|
60235
61719
|
volgende_poging?: string | null;
|
|
@@ -60348,6 +61832,39 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
60348
61832
|
};
|
|
60349
61833
|
Relationships: [];
|
|
60350
61834
|
};
|
|
61835
|
+
print_preview_events: {
|
|
61836
|
+
Row: {
|
|
61837
|
+
code: string | null;
|
|
61838
|
+
created_at: string;
|
|
61839
|
+
detail: import("../integrations/supabase/types").Json;
|
|
61840
|
+
id: string;
|
|
61841
|
+
queue_item_id: string | null;
|
|
61842
|
+
reden: string | null;
|
|
61843
|
+
station_slug: string | null;
|
|
61844
|
+
uitkomst: string;
|
|
61845
|
+
};
|
|
61846
|
+
Insert: {
|
|
61847
|
+
code?: string | null;
|
|
61848
|
+
created_at?: string;
|
|
61849
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
61850
|
+
id?: string;
|
|
61851
|
+
queue_item_id?: string | null;
|
|
61852
|
+
reden?: string | null;
|
|
61853
|
+
station_slug?: string | null;
|
|
61854
|
+
uitkomst?: string;
|
|
61855
|
+
};
|
|
61856
|
+
Update: {
|
|
61857
|
+
code?: string | null;
|
|
61858
|
+
created_at?: string;
|
|
61859
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
61860
|
+
id?: string;
|
|
61861
|
+
queue_item_id?: string | null;
|
|
61862
|
+
reden?: string | null;
|
|
61863
|
+
station_slug?: string | null;
|
|
61864
|
+
uitkomst?: string;
|
|
61865
|
+
};
|
|
61866
|
+
Relationships: [];
|
|
61867
|
+
};
|
|
60351
61868
|
print_queue_runners: {
|
|
60352
61869
|
Row: {
|
|
60353
61870
|
actief: boolean;
|
|
@@ -60587,6 +62104,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
60587
62104
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
60588
62105
|
online: boolean;
|
|
60589
62106
|
papierformaat: string;
|
|
62107
|
+
pdf_map: string | null;
|
|
60590
62108
|
poort: number | null;
|
|
60591
62109
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
60592
62110
|
systeemnaam: string;
|
|
@@ -60612,6 +62130,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
60612
62130
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
60613
62131
|
online?: boolean;
|
|
60614
62132
|
papierformaat?: string;
|
|
62133
|
+
pdf_map?: string | null;
|
|
60615
62134
|
poort?: number | null;
|
|
60616
62135
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
60617
62136
|
systeemnaam?: string;
|
|
@@ -60637,6 +62156,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
60637
62156
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
60638
62157
|
online?: boolean;
|
|
60639
62158
|
papierformaat?: string;
|
|
62159
|
+
pdf_map?: string | null;
|
|
60640
62160
|
poort?: number | null;
|
|
60641
62161
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
60642
62162
|
systeemnaam?: string;
|
|
@@ -63206,6 +64726,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
63206
64726
|
};
|
|
63207
64727
|
trade_item_stock: {
|
|
63208
64728
|
Row: {
|
|
64729
|
+
change_source: string;
|
|
63209
64730
|
connection_id: string;
|
|
63210
64731
|
created_at: string;
|
|
63211
64732
|
id: string;
|
|
@@ -63219,6 +64740,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
63219
64740
|
user_id: string;
|
|
63220
64741
|
};
|
|
63221
64742
|
Insert: {
|
|
64743
|
+
change_source?: string;
|
|
63222
64744
|
connection_id: string;
|
|
63223
64745
|
created_at?: string;
|
|
63224
64746
|
id?: string;
|
|
@@ -63232,6 +64754,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
63232
64754
|
user_id: string;
|
|
63233
64755
|
};
|
|
63234
64756
|
Update: {
|
|
64757
|
+
change_source?: string;
|
|
63235
64758
|
connection_id?: string;
|
|
63236
64759
|
created_at?: string;
|
|
63237
64760
|
id?: string;
|
|
@@ -66832,6 +68355,18 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
66832
68355
|
Args: never;
|
|
66833
68356
|
Returns: number;
|
|
66834
68357
|
};
|
|
68358
|
+
calculate_floriday_desired_stock: {
|
|
68359
|
+
Args: {
|
|
68360
|
+
p_connection_id: string;
|
|
68361
|
+
p_product_id: string;
|
|
68362
|
+
};
|
|
68363
|
+
Returns: {
|
|
68364
|
+
desired_availability: boolean;
|
|
68365
|
+
desired_quantity: number;
|
|
68366
|
+
erp_available: number;
|
|
68367
|
+
stock_mode: string;
|
|
68368
|
+
}[];
|
|
68369
|
+
};
|
|
66835
68370
|
calculate_layer_stock: {
|
|
66836
68371
|
Args: {
|
|
66837
68372
|
p_product_id: string;
|
|
@@ -66893,6 +68428,9 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
66893
68428
|
is_herprint: boolean;
|
|
66894
68429
|
kopieen: number;
|
|
66895
68430
|
layout_id: string | null;
|
|
68431
|
+
lokaal_opgeslagen_op: string | null;
|
|
68432
|
+
lokale_pdf_fout: string | null;
|
|
68433
|
+
lokale_pdf_status: string | null;
|
|
66896
68434
|
opgepakt_op: string | null;
|
|
66897
68435
|
paginas: number;
|
|
66898
68436
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -66901,6 +68439,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
66901
68439
|
pogingen: number;
|
|
66902
68440
|
printer_id: string | null;
|
|
66903
68441
|
render_html: string | null;
|
|
68442
|
+
resultaat_pdf_base64: string | null;
|
|
66904
68443
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
66905
68444
|
updated_at: string;
|
|
66906
68445
|
volgende_poging: string | null;
|
|
@@ -66922,6 +68461,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
66922
68461
|
attempts: number;
|
|
66923
68462
|
connection_id: string;
|
|
66924
68463
|
created_at: string;
|
|
68464
|
+
dead_lettered_at: string | null;
|
|
66925
68465
|
desired_available: boolean | null;
|
|
66926
68466
|
gateway_attempt_id: string | null;
|
|
66927
68467
|
id: string;
|
|
@@ -66930,9 +68470,13 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
66930
68470
|
locked_by: string | null;
|
|
66931
68471
|
next_attempt_at: string;
|
|
66932
68472
|
number_of_pieces: number;
|
|
68473
|
+
product_id: string | null;
|
|
66933
68474
|
sent_at: string | null;
|
|
66934
68475
|
status: string;
|
|
68476
|
+
stock_mode: string | null;
|
|
66935
68477
|
superseded_by: string | null;
|
|
68478
|
+
target_week: number | null;
|
|
68479
|
+
target_year: number | null;
|
|
66936
68480
|
trade_item_id: string;
|
|
66937
68481
|
updated_at: string;
|
|
66938
68482
|
user_id: string;
|
|
@@ -66992,6 +68536,53 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
66992
68536
|
isSetofReturn: true;
|
|
66993
68537
|
};
|
|
66994
68538
|
};
|
|
68539
|
+
claim_pdf_print_jobs: {
|
|
68540
|
+
Args: {
|
|
68541
|
+
_max?: number;
|
|
68542
|
+
};
|
|
68543
|
+
Returns: {
|
|
68544
|
+
agent_id: string | null;
|
|
68545
|
+
bron_job_id: string | null;
|
|
68546
|
+
created_at: string;
|
|
68547
|
+
documentnaam: string;
|
|
68548
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
68549
|
+
extern_job_id: string | null;
|
|
68550
|
+
foutmelding: string | null;
|
|
68551
|
+
gebruiker_id: string | null;
|
|
68552
|
+
gebruiker_naam: string;
|
|
68553
|
+
gebruikte_bron: string | null;
|
|
68554
|
+
gebruikte_layout_id: string | null;
|
|
68555
|
+
gestart_op: string | null;
|
|
68556
|
+
herkomst: string | null;
|
|
68557
|
+
id: string;
|
|
68558
|
+
idempotentie_sleutel: string | null;
|
|
68559
|
+
is_herprint: boolean;
|
|
68560
|
+
kopieen: number;
|
|
68561
|
+
layout_id: string | null;
|
|
68562
|
+
lokaal_opgeslagen_op: string | null;
|
|
68563
|
+
lokale_pdf_fout: string | null;
|
|
68564
|
+
lokale_pdf_status: string | null;
|
|
68565
|
+
opgepakt_op: string | null;
|
|
68566
|
+
paginas: number;
|
|
68567
|
+
payload: import("../integrations/supabase/types").Json;
|
|
68568
|
+
pdf_base64: string | null;
|
|
68569
|
+
pdf_url: string | null;
|
|
68570
|
+
pogingen: number;
|
|
68571
|
+
printer_id: string | null;
|
|
68572
|
+
render_html: string | null;
|
|
68573
|
+
resultaat_pdf_base64: string | null;
|
|
68574
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
68575
|
+
updated_at: string;
|
|
68576
|
+
volgende_poging: string | null;
|
|
68577
|
+
voltooid_op: string | null;
|
|
68578
|
+
}[];
|
|
68579
|
+
SetofOptions: {
|
|
68580
|
+
from: "*";
|
|
68581
|
+
to: "print_jobs";
|
|
68582
|
+
isOneToOne: false;
|
|
68583
|
+
isSetofReturn: true;
|
|
68584
|
+
};
|
|
68585
|
+
};
|
|
66995
68586
|
claim_print_jobs: {
|
|
66996
68587
|
Args: {
|
|
66997
68588
|
_agent_id: string;
|
|
@@ -67016,6 +68607,9 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
67016
68607
|
is_herprint: boolean;
|
|
67017
68608
|
kopieen: number;
|
|
67018
68609
|
layout_id: string | null;
|
|
68610
|
+
lokaal_opgeslagen_op: string | null;
|
|
68611
|
+
lokale_pdf_fout: string | null;
|
|
68612
|
+
lokale_pdf_status: string | null;
|
|
67019
68613
|
opgepakt_op: string | null;
|
|
67020
68614
|
paginas: number;
|
|
67021
68615
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -67024,6 +68618,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
67024
68618
|
pogingen: number;
|
|
67025
68619
|
printer_id: string | null;
|
|
67026
68620
|
render_html: string | null;
|
|
68621
|
+
resultaat_pdf_base64: string | null;
|
|
67027
68622
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
67028
68623
|
updated_at: string;
|
|
67029
68624
|
volgende_poging: string | null;
|
|
@@ -67164,6 +68759,8 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
67164
68759
|
order_id: string;
|
|
67165
68760
|
order_source: string;
|
|
67166
68761
|
pick_date: string;
|
|
68762
|
+
printed_at: string;
|
|
68763
|
+
printed_today: boolean;
|
|
67167
68764
|
status: string;
|
|
67168
68765
|
}[];
|
|
67169
68766
|
};
|
|
@@ -67360,6 +68957,24 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
67360
68957
|
};
|
|
67361
68958
|
Returns: string;
|
|
67362
68959
|
};
|
|
68960
|
+
floriday_capture_stock_snapshot: {
|
|
68961
|
+
Args: never;
|
|
68962
|
+
Returns: number;
|
|
68963
|
+
};
|
|
68964
|
+
floriday_cleanup_stock_queue_v2: {
|
|
68965
|
+
Args: never;
|
|
68966
|
+
Returns: undefined;
|
|
68967
|
+
};
|
|
68968
|
+
floriday_compact_stock_snapshots: {
|
|
68969
|
+
Args: never;
|
|
68970
|
+
Returns: undefined;
|
|
68971
|
+
};
|
|
68972
|
+
floriday_default_owner: {
|
|
68973
|
+
Args: {
|
|
68974
|
+
p_connection_id: string;
|
|
68975
|
+
};
|
|
68976
|
+
Returns: string;
|
|
68977
|
+
};
|
|
67363
68978
|
floriday_effective_price: {
|
|
67364
68979
|
Args: {
|
|
67365
68980
|
_buyer_id: string;
|
|
@@ -67377,6 +68992,22 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
67377
68992
|
source_id: string;
|
|
67378
68993
|
}[];
|
|
67379
68994
|
};
|
|
68995
|
+
floriday_fill_publish_horizon: {
|
|
68996
|
+
Args: never;
|
|
68997
|
+
Returns: number;
|
|
68998
|
+
};
|
|
68999
|
+
floriday_publish_horizon_weeks: {
|
|
69000
|
+
Args: never;
|
|
69001
|
+
Returns: number;
|
|
69002
|
+
};
|
|
69003
|
+
floriday_recompute_inventory: {
|
|
69004
|
+
Args: {
|
|
69005
|
+
p_connection_id: string;
|
|
69006
|
+
p_force?: boolean;
|
|
69007
|
+
p_product_id: string;
|
|
69008
|
+
};
|
|
69009
|
+
Returns: undefined;
|
|
69010
|
+
};
|
|
67380
69011
|
format_cart_number: {
|
|
67381
69012
|
Args: {
|
|
67382
69013
|
p_pick_date: string;
|
|
@@ -67872,6 +69503,10 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
67872
69503
|
};
|
|
67873
69504
|
Returns: number;
|
|
67874
69505
|
};
|
|
69506
|
+
logistics_cancel_orphan_tasks: {
|
|
69507
|
+
Args: never;
|
|
69508
|
+
Returns: number;
|
|
69509
|
+
};
|
|
67875
69510
|
logistics_capacity_day_check: {
|
|
67876
69511
|
Args: {
|
|
67877
69512
|
p_from?: string;
|
|
@@ -67892,6 +69527,25 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
67892
69527
|
};
|
|
67893
69528
|
Returns: number;
|
|
67894
69529
|
};
|
|
69530
|
+
logistics_cart_index: {
|
|
69531
|
+
Args: {
|
|
69532
|
+
p_from?: string;
|
|
69533
|
+
p_to?: string;
|
|
69534
|
+
};
|
|
69535
|
+
Returns: {
|
|
69536
|
+
cart_id: string;
|
|
69537
|
+
cart_index: number;
|
|
69538
|
+
cart_label: string;
|
|
69539
|
+
is_shared: boolean;
|
|
69540
|
+
order_number: string;
|
|
69541
|
+
order_source: string;
|
|
69542
|
+
order_uuid: string;
|
|
69543
|
+
pick_date: string;
|
|
69544
|
+
printed_at: string;
|
|
69545
|
+
shifted: boolean;
|
|
69546
|
+
task_status: string;
|
|
69547
|
+
}[];
|
|
69548
|
+
};
|
|
67895
69549
|
logistics_check_order_allowed: {
|
|
67896
69550
|
Args: {
|
|
67897
69551
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -68040,6 +69694,17 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
68040
69694
|
isSetofReturn: false;
|
|
68041
69695
|
};
|
|
68042
69696
|
};
|
|
69697
|
+
logistics_consistency_check: {
|
|
69698
|
+
Args: never;
|
|
69699
|
+
Returns: {
|
|
69700
|
+
agenda_carts: number;
|
|
69701
|
+
control_carts: number;
|
|
69702
|
+
ok: boolean;
|
|
69703
|
+
orphan_tasks: number;
|
|
69704
|
+
pick_date: string;
|
|
69705
|
+
raw_carts: number;
|
|
69706
|
+
}[];
|
|
69707
|
+
};
|
|
68043
69708
|
logistics_delay_customer_email: {
|
|
68044
69709
|
Args: {
|
|
68045
69710
|
p_customer: string;
|
|
@@ -68129,6 +69794,16 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
68129
69794
|
isSetofReturn: false;
|
|
68130
69795
|
};
|
|
68131
69796
|
};
|
|
69797
|
+
logistics_floriday_cart_plan: {
|
|
69798
|
+
Args: {
|
|
69799
|
+
p_order_id: string;
|
|
69800
|
+
};
|
|
69801
|
+
Returns: {
|
|
69802
|
+
carrier_type: string;
|
|
69803
|
+
idx: number;
|
|
69804
|
+
packages: number;
|
|
69805
|
+
}[];
|
|
69806
|
+
};
|
|
68132
69807
|
logistics_floriday_claim_pushes: {
|
|
68133
69808
|
Args: {
|
|
68134
69809
|
_lease_seconds?: number;
|
|
@@ -68233,6 +69908,25 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
68233
69908
|
};
|
|
68234
69909
|
Returns: number;
|
|
68235
69910
|
};
|
|
69911
|
+
logistics_order_overview: {
|
|
69912
|
+
Args: {
|
|
69913
|
+
p_from?: string;
|
|
69914
|
+
p_to?: string;
|
|
69915
|
+
};
|
|
69916
|
+
Returns: {
|
|
69917
|
+
cart_count: number;
|
|
69918
|
+
customer_name: string;
|
|
69919
|
+
delivery_date: string;
|
|
69920
|
+
order_number: string;
|
|
69921
|
+
order_source: string;
|
|
69922
|
+
order_uuid: string;
|
|
69923
|
+
pick_date: string;
|
|
69924
|
+
plant_count: number;
|
|
69925
|
+
printed_at: string;
|
|
69926
|
+
shifted: boolean;
|
|
69927
|
+
status: string;
|
|
69928
|
+
}[];
|
|
69929
|
+
};
|
|
68236
69930
|
logistics_order_pick_day: {
|
|
68237
69931
|
Args: {
|
|
68238
69932
|
p_order_ref: string;
|
|
@@ -68245,6 +69939,22 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
68245
69939
|
};
|
|
68246
69940
|
Returns: string;
|
|
68247
69941
|
};
|
|
69942
|
+
logistics_pick_agenda: {
|
|
69943
|
+
Args: {
|
|
69944
|
+
p_from?: string;
|
|
69945
|
+
p_to?: string;
|
|
69946
|
+
};
|
|
69947
|
+
Returns: {
|
|
69948
|
+
cart_count: number;
|
|
69949
|
+
in_preparation: number;
|
|
69950
|
+
order_count: number;
|
|
69951
|
+
orders: import("../integrations/supabase/types").Json;
|
|
69952
|
+
pick_date: string;
|
|
69953
|
+
plant_count: number;
|
|
69954
|
+
ready: number;
|
|
69955
|
+
shifted_count: number;
|
|
69956
|
+
}[];
|
|
69957
|
+
};
|
|
68248
69958
|
logistics_pick_email_purpose: {
|
|
68249
69959
|
Args: never;
|
|
68250
69960
|
Returns: string;
|
|
@@ -68299,6 +70009,13 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
68299
70009
|
};
|
|
68300
70010
|
Returns: undefined;
|
|
68301
70011
|
};
|
|
70012
|
+
logistics_plan_floriday_order: {
|
|
70013
|
+
Args: {
|
|
70014
|
+
p_buffer_id?: string;
|
|
70015
|
+
p_order_id: string;
|
|
70016
|
+
};
|
|
70017
|
+
Returns: number;
|
|
70018
|
+
};
|
|
68302
70019
|
logistics_plan_impact_orders: {
|
|
68303
70020
|
Args: {
|
|
68304
70021
|
p_order_id: string;
|
|
@@ -68404,6 +70121,15 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
68404
70121
|
};
|
|
68405
70122
|
Returns: import("../integrations/supabase/types").Json;
|
|
68406
70123
|
};
|
|
70124
|
+
logistics_resolve_pick_document: {
|
|
70125
|
+
Args: {
|
|
70126
|
+
_is_herprint: boolean;
|
|
70127
|
+
_queue_item_id: string;
|
|
70128
|
+
_session_id: string;
|
|
70129
|
+
_voorbeeld: boolean;
|
|
70130
|
+
};
|
|
70131
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
70132
|
+
};
|
|
68407
70133
|
logistics_resolve_settings: {
|
|
68408
70134
|
Args: {
|
|
68409
70135
|
p_config_id: string;
|
|
@@ -68844,6 +70570,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
68844
70570
|
};
|
|
68845
70571
|
pick_enqueue_print_job: {
|
|
68846
70572
|
Args: {
|
|
70573
|
+
_is_herprint?: boolean;
|
|
68847
70574
|
_printer_id?: string;
|
|
68848
70575
|
_queue_item_id: string;
|
|
68849
70576
|
_session_id?: string;
|
|
@@ -68857,6 +70584,13 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
68857
70584
|
};
|
|
68858
70585
|
Returns: import("../integrations/supabase/types").Json;
|
|
68859
70586
|
};
|
|
70587
|
+
pick_preview_job: {
|
|
70588
|
+
Args: {
|
|
70589
|
+
_queue_item_id: string;
|
|
70590
|
+
_station_slug: string;
|
|
70591
|
+
};
|
|
70592
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
70593
|
+
};
|
|
68860
70594
|
pick_print_job_status: {
|
|
68861
70595
|
Args: {
|
|
68862
70596
|
_job_id: string;
|
|
@@ -69034,6 +70768,24 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
69034
70768
|
};
|
|
69035
70769
|
Returns: undefined;
|
|
69036
70770
|
};
|
|
70771
|
+
print_preview_toestaan: {
|
|
70772
|
+
Args: {
|
|
70773
|
+
_max?: number;
|
|
70774
|
+
_queue_item_id: string;
|
|
70775
|
+
_station_slug: string;
|
|
70776
|
+
_venster_sec?: number;
|
|
70777
|
+
};
|
|
70778
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
70779
|
+
};
|
|
70780
|
+
print_preview_weiger: {
|
|
70781
|
+
Args: {
|
|
70782
|
+
_code: string;
|
|
70783
|
+
_queue_item_id: string;
|
|
70784
|
+
_reden: string;
|
|
70785
|
+
_station_slug: string;
|
|
70786
|
+
};
|
|
70787
|
+
Returns: undefined;
|
|
70788
|
+
};
|
|
69037
70789
|
process_logistics_event: {
|
|
69038
70790
|
Args: {
|
|
69039
70791
|
p_event_id: string;
|
|
@@ -69188,6 +70940,12 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
69188
70940
|
};
|
|
69189
70941
|
Returns: string;
|
|
69190
70942
|
};
|
|
70943
|
+
resolve_print_job_printer_id: {
|
|
70944
|
+
Args: {
|
|
70945
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
70946
|
+
};
|
|
70947
|
+
Returns: string;
|
|
70948
|
+
};
|
|
69191
70949
|
resolve_product_id_for_item: {
|
|
69192
70950
|
Args: {
|
|
69193
70951
|
p_product_name: string;
|
|
@@ -69779,7 +71537,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
69779
71537
|
};
|
|
69780
71538
|
CompositeTypes: { [_ in never]: never; };
|
|
69781
71539
|
}, {
|
|
69782
|
-
PostgrestVersion: "14.
|
|
71540
|
+
PostgrestVersion: "14.5";
|
|
69783
71541
|
}>;
|
|
69784
71542
|
userId: string;
|
|
69785
71543
|
claims: import("@supabase/auth-js").User;
|