@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
|
@@ -2852,6 +2852,84 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
2852
2852
|
};
|
|
2853
2853
|
Relationships: [];
|
|
2854
2854
|
};
|
|
2855
|
+
delivery_notes: {
|
|
2856
|
+
Row: {
|
|
2857
|
+
byte_size: number | null;
|
|
2858
|
+
connection_id: string | null;
|
|
2859
|
+
content_type: string;
|
|
2860
|
+
created_at: string;
|
|
2861
|
+
error_message: string | null;
|
|
2862
|
+
fetched_at: string | null;
|
|
2863
|
+
fulfillment_order_id: string | null;
|
|
2864
|
+
http_status: number | null;
|
|
2865
|
+
id: string;
|
|
2866
|
+
label_code: string | null;
|
|
2867
|
+
letter: string | null;
|
|
2868
|
+
load_carrier_index: number | null;
|
|
2869
|
+
load_carrier_type: string | null;
|
|
2870
|
+
order_id: string | null;
|
|
2871
|
+
order_number: string | null;
|
|
2872
|
+
packages: number | null;
|
|
2873
|
+
source: string;
|
|
2874
|
+
status: string;
|
|
2875
|
+
storage_bucket: string;
|
|
2876
|
+
storage_path: string | null;
|
|
2877
|
+
updated_at: string;
|
|
2878
|
+
};
|
|
2879
|
+
Insert: {
|
|
2880
|
+
byte_size?: number | null;
|
|
2881
|
+
connection_id?: string | null;
|
|
2882
|
+
content_type?: string;
|
|
2883
|
+
created_at?: string;
|
|
2884
|
+
error_message?: string | null;
|
|
2885
|
+
fetched_at?: string | null;
|
|
2886
|
+
fulfillment_order_id?: string | null;
|
|
2887
|
+
http_status?: number | null;
|
|
2888
|
+
id?: string;
|
|
2889
|
+
label_code?: string | null;
|
|
2890
|
+
letter?: string | null;
|
|
2891
|
+
load_carrier_index?: number | null;
|
|
2892
|
+
load_carrier_type?: string | null;
|
|
2893
|
+
order_id?: string | null;
|
|
2894
|
+
order_number?: string | null;
|
|
2895
|
+
packages?: number | null;
|
|
2896
|
+
source?: string;
|
|
2897
|
+
status?: string;
|
|
2898
|
+
storage_bucket?: string;
|
|
2899
|
+
storage_path?: string | null;
|
|
2900
|
+
updated_at?: string;
|
|
2901
|
+
};
|
|
2902
|
+
Update: {
|
|
2903
|
+
byte_size?: number | null;
|
|
2904
|
+
connection_id?: string | null;
|
|
2905
|
+
content_type?: string;
|
|
2906
|
+
created_at?: string;
|
|
2907
|
+
error_message?: string | null;
|
|
2908
|
+
fetched_at?: string | null;
|
|
2909
|
+
fulfillment_order_id?: string | null;
|
|
2910
|
+
http_status?: number | null;
|
|
2911
|
+
id?: string;
|
|
2912
|
+
label_code?: string | null;
|
|
2913
|
+
letter?: string | null;
|
|
2914
|
+
load_carrier_index?: number | null;
|
|
2915
|
+
load_carrier_type?: string | null;
|
|
2916
|
+
order_id?: string | null;
|
|
2917
|
+
order_number?: string | null;
|
|
2918
|
+
packages?: number | null;
|
|
2919
|
+
source?: string;
|
|
2920
|
+
status?: string;
|
|
2921
|
+
storage_bucket?: string;
|
|
2922
|
+
storage_path?: string | null;
|
|
2923
|
+
updated_at?: string;
|
|
2924
|
+
};
|
|
2925
|
+
Relationships: [{
|
|
2926
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
2927
|
+
columns: ["order_id"];
|
|
2928
|
+
isOneToOne: false;
|
|
2929
|
+
referencedRelation: "orders";
|
|
2930
|
+
referencedColumns: ["id"];
|
|
2931
|
+
}];
|
|
2932
|
+
};
|
|
2855
2933
|
document_bronregels: {
|
|
2856
2934
|
Row: {
|
|
2857
2935
|
bron: string;
|
|
@@ -5905,10 +5983,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
5905
5983
|
};
|
|
5906
5984
|
floriday_connections: {
|
|
5907
5985
|
Row: {
|
|
5908
|
-
access_token: string | null;
|
|
5909
5986
|
api_key: string;
|
|
5910
|
-
client_id: string;
|
|
5911
|
-
client_secret: string;
|
|
5912
5987
|
created_at: string;
|
|
5913
5988
|
customers_endpoint: string | null;
|
|
5914
5989
|
environment: string;
|
|
@@ -5923,10 +5998,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
5923
5998
|
updated_at: string;
|
|
5924
5999
|
};
|
|
5925
6000
|
Insert: {
|
|
5926
|
-
access_token?: string | null;
|
|
5927
6001
|
api_key: string;
|
|
5928
|
-
client_id: string;
|
|
5929
|
-
client_secret: string;
|
|
5930
6002
|
created_at?: string;
|
|
5931
6003
|
customers_endpoint?: string | null;
|
|
5932
6004
|
environment: string;
|
|
@@ -5941,10 +6013,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
5941
6013
|
updated_at?: string;
|
|
5942
6014
|
};
|
|
5943
6015
|
Update: {
|
|
5944
|
-
access_token?: string | null;
|
|
5945
6016
|
api_key?: string;
|
|
5946
|
-
client_id?: string;
|
|
5947
|
-
client_secret?: string;
|
|
5948
6017
|
created_at?: string;
|
|
5949
6018
|
customers_endpoint?: string | null;
|
|
5950
6019
|
environment?: string;
|
|
@@ -6028,6 +6097,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
6028
6097
|
attempts: number;
|
|
6029
6098
|
connection_id: string;
|
|
6030
6099
|
created_at: string;
|
|
6100
|
+
dead_lettered_at: string | null;
|
|
6031
6101
|
desired_available: boolean | null;
|
|
6032
6102
|
gateway_attempt_id: string | null;
|
|
6033
6103
|
id: string;
|
|
@@ -6036,9 +6106,13 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
6036
6106
|
locked_by: string | null;
|
|
6037
6107
|
next_attempt_at: string;
|
|
6038
6108
|
number_of_pieces: number;
|
|
6109
|
+
product_id: string | null;
|
|
6039
6110
|
sent_at: string | null;
|
|
6040
6111
|
status: string;
|
|
6112
|
+
stock_mode: string | null;
|
|
6041
6113
|
superseded_by: string | null;
|
|
6114
|
+
target_week: number | null;
|
|
6115
|
+
target_year: number | null;
|
|
6042
6116
|
trade_item_id: string;
|
|
6043
6117
|
updated_at: string;
|
|
6044
6118
|
user_id: string;
|
|
@@ -6047,6 +6121,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
6047
6121
|
attempts?: number;
|
|
6048
6122
|
connection_id: string;
|
|
6049
6123
|
created_at?: string;
|
|
6124
|
+
dead_lettered_at?: string | null;
|
|
6050
6125
|
desired_available?: boolean | null;
|
|
6051
6126
|
gateway_attempt_id?: string | null;
|
|
6052
6127
|
id?: string;
|
|
@@ -6055,9 +6130,13 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
6055
6130
|
locked_by?: string | null;
|
|
6056
6131
|
next_attempt_at?: string;
|
|
6057
6132
|
number_of_pieces?: number;
|
|
6133
|
+
product_id?: string | null;
|
|
6058
6134
|
sent_at?: string | null;
|
|
6059
6135
|
status?: string;
|
|
6136
|
+
stock_mode?: string | null;
|
|
6060
6137
|
superseded_by?: string | null;
|
|
6138
|
+
target_week?: number | null;
|
|
6139
|
+
target_year?: number | null;
|
|
6061
6140
|
trade_item_id: string;
|
|
6062
6141
|
updated_at?: string;
|
|
6063
6142
|
user_id: string;
|
|
@@ -6066,6 +6145,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
6066
6145
|
attempts?: number;
|
|
6067
6146
|
connection_id?: string;
|
|
6068
6147
|
created_at?: string;
|
|
6148
|
+
dead_lettered_at?: string | null;
|
|
6069
6149
|
desired_available?: boolean | null;
|
|
6070
6150
|
gateway_attempt_id?: string | null;
|
|
6071
6151
|
id?: string;
|
|
@@ -6074,9 +6154,13 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
6074
6154
|
locked_by?: string | null;
|
|
6075
6155
|
next_attempt_at?: string;
|
|
6076
6156
|
number_of_pieces?: number;
|
|
6157
|
+
product_id?: string | null;
|
|
6077
6158
|
sent_at?: string | null;
|
|
6078
6159
|
status?: string;
|
|
6160
|
+
stock_mode?: string | null;
|
|
6079
6161
|
superseded_by?: string | null;
|
|
6162
|
+
target_week?: number | null;
|
|
6163
|
+
target_year?: number | null;
|
|
6080
6164
|
trade_item_id?: string;
|
|
6081
6165
|
updated_at?: string;
|
|
6082
6166
|
user_id?: string;
|
|
@@ -6485,6 +6569,87 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
6485
6569
|
referencedColumns: ["id"];
|
|
6486
6570
|
}];
|
|
6487
6571
|
};
|
|
6572
|
+
floriday_inventory_settings: {
|
|
6573
|
+
Row: {
|
|
6574
|
+
buffer_quantity: number;
|
|
6575
|
+
connection_id: string;
|
|
6576
|
+
created_at: string;
|
|
6577
|
+
desired_availability: boolean;
|
|
6578
|
+
desired_quantity: number;
|
|
6579
|
+
fixed_quantity: number | null;
|
|
6580
|
+
floriday_trade_item_id: string | null;
|
|
6581
|
+
id: string;
|
|
6582
|
+
last_confirmed_at: string | null;
|
|
6583
|
+
last_enqueued_at: string | null;
|
|
6584
|
+
last_published_at: string | null;
|
|
6585
|
+
last_sync_error: string | null;
|
|
6586
|
+
manual_quantity: number | null;
|
|
6587
|
+
maximum_quantity: number | null;
|
|
6588
|
+
product_id: string;
|
|
6589
|
+
quantity_control: string;
|
|
6590
|
+
remote_available: boolean | null;
|
|
6591
|
+
remote_checked_at: string | null;
|
|
6592
|
+
remote_quantity: number | null;
|
|
6593
|
+
stock_mode: string;
|
|
6594
|
+
sync_status: string;
|
|
6595
|
+
updated_at: string;
|
|
6596
|
+
updated_by: string | null;
|
|
6597
|
+
user_id: string;
|
|
6598
|
+
};
|
|
6599
|
+
Insert: {
|
|
6600
|
+
buffer_quantity?: number;
|
|
6601
|
+
connection_id: string;
|
|
6602
|
+
created_at?: string;
|
|
6603
|
+
desired_availability?: boolean;
|
|
6604
|
+
desired_quantity?: number;
|
|
6605
|
+
fixed_quantity?: number | null;
|
|
6606
|
+
floriday_trade_item_id?: string | null;
|
|
6607
|
+
id?: string;
|
|
6608
|
+
last_confirmed_at?: string | null;
|
|
6609
|
+
last_enqueued_at?: string | null;
|
|
6610
|
+
last_published_at?: string | null;
|
|
6611
|
+
last_sync_error?: string | null;
|
|
6612
|
+
manual_quantity?: number | null;
|
|
6613
|
+
maximum_quantity?: number | null;
|
|
6614
|
+
product_id: string;
|
|
6615
|
+
quantity_control?: string;
|
|
6616
|
+
remote_available?: boolean | null;
|
|
6617
|
+
remote_checked_at?: string | null;
|
|
6618
|
+
remote_quantity?: number | null;
|
|
6619
|
+
stock_mode?: string;
|
|
6620
|
+
sync_status?: string;
|
|
6621
|
+
updated_at?: string;
|
|
6622
|
+
updated_by?: string | null;
|
|
6623
|
+
user_id: string;
|
|
6624
|
+
};
|
|
6625
|
+
Update: {
|
|
6626
|
+
buffer_quantity?: number;
|
|
6627
|
+
connection_id?: string;
|
|
6628
|
+
created_at?: string;
|
|
6629
|
+
desired_availability?: boolean;
|
|
6630
|
+
desired_quantity?: number;
|
|
6631
|
+
fixed_quantity?: number | null;
|
|
6632
|
+
floriday_trade_item_id?: string | null;
|
|
6633
|
+
id?: string;
|
|
6634
|
+
last_confirmed_at?: string | null;
|
|
6635
|
+
last_enqueued_at?: string | null;
|
|
6636
|
+
last_published_at?: string | null;
|
|
6637
|
+
last_sync_error?: string | null;
|
|
6638
|
+
manual_quantity?: number | null;
|
|
6639
|
+
maximum_quantity?: number | null;
|
|
6640
|
+
product_id?: string;
|
|
6641
|
+
quantity_control?: string;
|
|
6642
|
+
remote_available?: boolean | null;
|
|
6643
|
+
remote_checked_at?: string | null;
|
|
6644
|
+
remote_quantity?: number | null;
|
|
6645
|
+
stock_mode?: string;
|
|
6646
|
+
sync_status?: string;
|
|
6647
|
+
updated_at?: string;
|
|
6648
|
+
updated_by?: string | null;
|
|
6649
|
+
user_id?: string;
|
|
6650
|
+
};
|
|
6651
|
+
Relationships: [];
|
|
6652
|
+
};
|
|
6488
6653
|
floriday_invoices_cache: {
|
|
6489
6654
|
Row: {
|
|
6490
6655
|
buyer_organization_id: string | null;
|
|
@@ -6773,6 +6938,39 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
6773
6938
|
};
|
|
6774
6939
|
Relationships: [];
|
|
6775
6940
|
};
|
|
6941
|
+
floriday_sales_order_ingest: {
|
|
6942
|
+
Row: {
|
|
6943
|
+
connection_id: string;
|
|
6944
|
+
created_at: string;
|
|
6945
|
+
id: string;
|
|
6946
|
+
impact: import("../integrations/supabase/types").Json;
|
|
6947
|
+
order_status: string | null;
|
|
6948
|
+
order_version: number;
|
|
6949
|
+
processed_at: string;
|
|
6950
|
+
sales_order_id: string;
|
|
6951
|
+
};
|
|
6952
|
+
Insert: {
|
|
6953
|
+
connection_id: string;
|
|
6954
|
+
created_at?: string;
|
|
6955
|
+
id?: string;
|
|
6956
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
6957
|
+
order_status?: string | null;
|
|
6958
|
+
order_version?: number;
|
|
6959
|
+
processed_at?: string;
|
|
6960
|
+
sales_order_id: string;
|
|
6961
|
+
};
|
|
6962
|
+
Update: {
|
|
6963
|
+
connection_id?: string;
|
|
6964
|
+
created_at?: string;
|
|
6965
|
+
id?: string;
|
|
6966
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
6967
|
+
order_status?: string | null;
|
|
6968
|
+
order_version?: number;
|
|
6969
|
+
processed_at?: string;
|
|
6970
|
+
sales_order_id?: string;
|
|
6971
|
+
};
|
|
6972
|
+
Relationships: [];
|
|
6973
|
+
};
|
|
6776
6974
|
floriday_sales_strategies_cache: {
|
|
6777
6975
|
Row: {
|
|
6778
6976
|
connection_id: string;
|
|
@@ -6872,6 +7070,39 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
6872
7070
|
};
|
|
6873
7071
|
Relationships: [];
|
|
6874
7072
|
};
|
|
7073
|
+
floriday_sync_cursors: {
|
|
7074
|
+
Row: {
|
|
7075
|
+
connection_id: string;
|
|
7076
|
+
created_at: string;
|
|
7077
|
+
id: string;
|
|
7078
|
+
last_error: string | null;
|
|
7079
|
+
last_sync_at: string | null;
|
|
7080
|
+
resource_type: string;
|
|
7081
|
+
sequence_number: number;
|
|
7082
|
+
updated_at: string;
|
|
7083
|
+
};
|
|
7084
|
+
Insert: {
|
|
7085
|
+
connection_id: string;
|
|
7086
|
+
created_at?: string;
|
|
7087
|
+
id?: string;
|
|
7088
|
+
last_error?: string | null;
|
|
7089
|
+
last_sync_at?: string | null;
|
|
7090
|
+
resource_type: string;
|
|
7091
|
+
sequence_number?: number;
|
|
7092
|
+
updated_at?: string;
|
|
7093
|
+
};
|
|
7094
|
+
Update: {
|
|
7095
|
+
connection_id?: string;
|
|
7096
|
+
created_at?: string;
|
|
7097
|
+
id?: string;
|
|
7098
|
+
last_error?: string | null;
|
|
7099
|
+
last_sync_at?: string | null;
|
|
7100
|
+
resource_type?: string;
|
|
7101
|
+
sequence_number?: number;
|
|
7102
|
+
updated_at?: string;
|
|
7103
|
+
};
|
|
7104
|
+
Relationships: [];
|
|
7105
|
+
};
|
|
6875
7106
|
floriday_sync_state: {
|
|
6876
7107
|
Row: {
|
|
6877
7108
|
connection_id: string;
|
|
@@ -7562,6 +7793,42 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
7562
7793
|
};
|
|
7563
7794
|
Relationships: [];
|
|
7564
7795
|
};
|
|
7796
|
+
inventory_stock_snapshots: {
|
|
7797
|
+
Row: {
|
|
7798
|
+
connection_id: string;
|
|
7799
|
+
created_at: string;
|
|
7800
|
+
erp_available_quantity: number;
|
|
7801
|
+
floriday_desired_quantity: number;
|
|
7802
|
+
floriday_remote_quantity: number | null;
|
|
7803
|
+
granularity: string;
|
|
7804
|
+
id: string;
|
|
7805
|
+
snapshot_at: string;
|
|
7806
|
+
user_id: string | null;
|
|
7807
|
+
};
|
|
7808
|
+
Insert: {
|
|
7809
|
+
connection_id: string;
|
|
7810
|
+
created_at?: string;
|
|
7811
|
+
erp_available_quantity?: number;
|
|
7812
|
+
floriday_desired_quantity?: number;
|
|
7813
|
+
floriday_remote_quantity?: number | null;
|
|
7814
|
+
granularity?: string;
|
|
7815
|
+
id?: string;
|
|
7816
|
+
snapshot_at?: string;
|
|
7817
|
+
user_id?: string | null;
|
|
7818
|
+
};
|
|
7819
|
+
Update: {
|
|
7820
|
+
connection_id?: string;
|
|
7821
|
+
created_at?: string;
|
|
7822
|
+
erp_available_quantity?: number;
|
|
7823
|
+
floriday_desired_quantity?: number;
|
|
7824
|
+
floriday_remote_quantity?: number | null;
|
|
7825
|
+
granularity?: string;
|
|
7826
|
+
id?: string;
|
|
7827
|
+
snapshot_at?: string;
|
|
7828
|
+
user_id?: string | null;
|
|
7829
|
+
};
|
|
7830
|
+
Relationships: [];
|
|
7831
|
+
};
|
|
7565
7832
|
invoice_items: {
|
|
7566
7833
|
Row: {
|
|
7567
7834
|
created_at: string;
|
|
@@ -13577,6 +13844,39 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
13577
13844
|
};
|
|
13578
13845
|
Relationships: [];
|
|
13579
13846
|
};
|
|
13847
|
+
print_dedupe_events: {
|
|
13848
|
+
Row: {
|
|
13849
|
+
bestaande_job_id: string | null;
|
|
13850
|
+
created_at: string;
|
|
13851
|
+
detail: string | null;
|
|
13852
|
+
documentnaam: string | null;
|
|
13853
|
+
documenttype: string | null;
|
|
13854
|
+
id: string;
|
|
13855
|
+
idempotentie_sleutel: string;
|
|
13856
|
+
reden: string;
|
|
13857
|
+
};
|
|
13858
|
+
Insert: {
|
|
13859
|
+
bestaande_job_id?: string | null;
|
|
13860
|
+
created_at?: string;
|
|
13861
|
+
detail?: string | null;
|
|
13862
|
+
documentnaam?: string | null;
|
|
13863
|
+
documenttype?: string | null;
|
|
13864
|
+
id?: string;
|
|
13865
|
+
idempotentie_sleutel: string;
|
|
13866
|
+
reden: string;
|
|
13867
|
+
};
|
|
13868
|
+
Update: {
|
|
13869
|
+
bestaande_job_id?: string | null;
|
|
13870
|
+
created_at?: string;
|
|
13871
|
+
detail?: string | null;
|
|
13872
|
+
documentnaam?: string | null;
|
|
13873
|
+
documenttype?: string | null;
|
|
13874
|
+
id?: string;
|
|
13875
|
+
idempotentie_sleutel?: string;
|
|
13876
|
+
reden?: string;
|
|
13877
|
+
};
|
|
13878
|
+
Relationships: [];
|
|
13879
|
+
};
|
|
13580
13880
|
print_job_logs: {
|
|
13581
13881
|
Row: {
|
|
13582
13882
|
created_at: string;
|
|
@@ -13627,6 +13927,9 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
13627
13927
|
is_herprint: boolean;
|
|
13628
13928
|
kopieen: number;
|
|
13629
13929
|
layout_id: string | null;
|
|
13930
|
+
lokaal_opgeslagen_op: string | null;
|
|
13931
|
+
lokale_pdf_fout: string | null;
|
|
13932
|
+
lokale_pdf_status: string | null;
|
|
13630
13933
|
opgepakt_op: string | null;
|
|
13631
13934
|
paginas: number;
|
|
13632
13935
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -13635,6 +13938,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
13635
13938
|
pogingen: number;
|
|
13636
13939
|
printer_id: string | null;
|
|
13637
13940
|
render_html: string | null;
|
|
13941
|
+
resultaat_pdf_base64: string | null;
|
|
13638
13942
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13639
13943
|
updated_at: string;
|
|
13640
13944
|
volgende_poging: string | null;
|
|
@@ -13659,6 +13963,9 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
13659
13963
|
is_herprint?: boolean;
|
|
13660
13964
|
kopieen?: number;
|
|
13661
13965
|
layout_id?: string | null;
|
|
13966
|
+
lokaal_opgeslagen_op?: string | null;
|
|
13967
|
+
lokale_pdf_fout?: string | null;
|
|
13968
|
+
lokale_pdf_status?: string | null;
|
|
13662
13969
|
opgepakt_op?: string | null;
|
|
13663
13970
|
paginas?: number;
|
|
13664
13971
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -13667,6 +13974,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
13667
13974
|
pogingen?: number;
|
|
13668
13975
|
printer_id?: string | null;
|
|
13669
13976
|
render_html?: string | null;
|
|
13977
|
+
resultaat_pdf_base64?: string | null;
|
|
13670
13978
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13671
13979
|
updated_at?: string;
|
|
13672
13980
|
volgende_poging?: string | null;
|
|
@@ -13691,6 +13999,9 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
13691
13999
|
is_herprint?: boolean;
|
|
13692
14000
|
kopieen?: number;
|
|
13693
14001
|
layout_id?: string | null;
|
|
14002
|
+
lokaal_opgeslagen_op?: string | null;
|
|
14003
|
+
lokale_pdf_fout?: string | null;
|
|
14004
|
+
lokale_pdf_status?: string | null;
|
|
13694
14005
|
opgepakt_op?: string | null;
|
|
13695
14006
|
paginas?: number;
|
|
13696
14007
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -13699,6 +14010,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
13699
14010
|
pogingen?: number;
|
|
13700
14011
|
printer_id?: string | null;
|
|
13701
14012
|
render_html?: string | null;
|
|
14013
|
+
resultaat_pdf_base64?: string | null;
|
|
13702
14014
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13703
14015
|
updated_at?: string;
|
|
13704
14016
|
volgende_poging?: string | null;
|
|
@@ -13817,6 +14129,39 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
13817
14129
|
};
|
|
13818
14130
|
Relationships: [];
|
|
13819
14131
|
};
|
|
14132
|
+
print_preview_events: {
|
|
14133
|
+
Row: {
|
|
14134
|
+
code: string | null;
|
|
14135
|
+
created_at: string;
|
|
14136
|
+
detail: import("../integrations/supabase/types").Json;
|
|
14137
|
+
id: string;
|
|
14138
|
+
queue_item_id: string | null;
|
|
14139
|
+
reden: string | null;
|
|
14140
|
+
station_slug: string | null;
|
|
14141
|
+
uitkomst: string;
|
|
14142
|
+
};
|
|
14143
|
+
Insert: {
|
|
14144
|
+
code?: string | null;
|
|
14145
|
+
created_at?: string;
|
|
14146
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
14147
|
+
id?: string;
|
|
14148
|
+
queue_item_id?: string | null;
|
|
14149
|
+
reden?: string | null;
|
|
14150
|
+
station_slug?: string | null;
|
|
14151
|
+
uitkomst?: string;
|
|
14152
|
+
};
|
|
14153
|
+
Update: {
|
|
14154
|
+
code?: string | null;
|
|
14155
|
+
created_at?: string;
|
|
14156
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
14157
|
+
id?: string;
|
|
14158
|
+
queue_item_id?: string | null;
|
|
14159
|
+
reden?: string | null;
|
|
14160
|
+
station_slug?: string | null;
|
|
14161
|
+
uitkomst?: string;
|
|
14162
|
+
};
|
|
14163
|
+
Relationships: [];
|
|
14164
|
+
};
|
|
13820
14165
|
print_queue_runners: {
|
|
13821
14166
|
Row: {
|
|
13822
14167
|
actief: boolean;
|
|
@@ -14056,6 +14401,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
14056
14401
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
14057
14402
|
online: boolean;
|
|
14058
14403
|
papierformaat: string;
|
|
14404
|
+
pdf_map: string | null;
|
|
14059
14405
|
poort: number | null;
|
|
14060
14406
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14061
14407
|
systeemnaam: string;
|
|
@@ -14081,6 +14427,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
14081
14427
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
14082
14428
|
online?: boolean;
|
|
14083
14429
|
papierformaat?: string;
|
|
14430
|
+
pdf_map?: string | null;
|
|
14084
14431
|
poort?: number | null;
|
|
14085
14432
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14086
14433
|
systeemnaam?: string;
|
|
@@ -14106,6 +14453,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
14106
14453
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
14107
14454
|
online?: boolean;
|
|
14108
14455
|
papierformaat?: string;
|
|
14456
|
+
pdf_map?: string | null;
|
|
14109
14457
|
poort?: number | null;
|
|
14110
14458
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14111
14459
|
systeemnaam?: string;
|
|
@@ -16675,6 +17023,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
16675
17023
|
};
|
|
16676
17024
|
trade_item_stock: {
|
|
16677
17025
|
Row: {
|
|
17026
|
+
change_source: string;
|
|
16678
17027
|
connection_id: string;
|
|
16679
17028
|
created_at: string;
|
|
16680
17029
|
id: string;
|
|
@@ -16688,6 +17037,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
16688
17037
|
user_id: string;
|
|
16689
17038
|
};
|
|
16690
17039
|
Insert: {
|
|
17040
|
+
change_source?: string;
|
|
16691
17041
|
connection_id: string;
|
|
16692
17042
|
created_at?: string;
|
|
16693
17043
|
id?: string;
|
|
@@ -16701,6 +17051,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
16701
17051
|
user_id: string;
|
|
16702
17052
|
};
|
|
16703
17053
|
Update: {
|
|
17054
|
+
change_source?: string;
|
|
16704
17055
|
connection_id?: string;
|
|
16705
17056
|
created_at?: string;
|
|
16706
17057
|
id?: string;
|
|
@@ -20301,6 +20652,18 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
20301
20652
|
Args: never;
|
|
20302
20653
|
Returns: number;
|
|
20303
20654
|
};
|
|
20655
|
+
calculate_floriday_desired_stock: {
|
|
20656
|
+
Args: {
|
|
20657
|
+
p_connection_id: string;
|
|
20658
|
+
p_product_id: string;
|
|
20659
|
+
};
|
|
20660
|
+
Returns: {
|
|
20661
|
+
desired_availability: boolean;
|
|
20662
|
+
desired_quantity: number;
|
|
20663
|
+
erp_available: number;
|
|
20664
|
+
stock_mode: string;
|
|
20665
|
+
}[];
|
|
20666
|
+
};
|
|
20304
20667
|
calculate_layer_stock: {
|
|
20305
20668
|
Args: {
|
|
20306
20669
|
p_product_id: string;
|
|
@@ -20362,6 +20725,9 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
20362
20725
|
is_herprint: boolean;
|
|
20363
20726
|
kopieen: number;
|
|
20364
20727
|
layout_id: string | null;
|
|
20728
|
+
lokaal_opgeslagen_op: string | null;
|
|
20729
|
+
lokale_pdf_fout: string | null;
|
|
20730
|
+
lokale_pdf_status: string | null;
|
|
20365
20731
|
opgepakt_op: string | null;
|
|
20366
20732
|
paginas: number;
|
|
20367
20733
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -20370,6 +20736,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
20370
20736
|
pogingen: number;
|
|
20371
20737
|
printer_id: string | null;
|
|
20372
20738
|
render_html: string | null;
|
|
20739
|
+
resultaat_pdf_base64: string | null;
|
|
20373
20740
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20374
20741
|
updated_at: string;
|
|
20375
20742
|
volgende_poging: string | null;
|
|
@@ -20391,6 +20758,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
20391
20758
|
attempts: number;
|
|
20392
20759
|
connection_id: string;
|
|
20393
20760
|
created_at: string;
|
|
20761
|
+
dead_lettered_at: string | null;
|
|
20394
20762
|
desired_available: boolean | null;
|
|
20395
20763
|
gateway_attempt_id: string | null;
|
|
20396
20764
|
id: string;
|
|
@@ -20399,9 +20767,13 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
20399
20767
|
locked_by: string | null;
|
|
20400
20768
|
next_attempt_at: string;
|
|
20401
20769
|
number_of_pieces: number;
|
|
20770
|
+
product_id: string | null;
|
|
20402
20771
|
sent_at: string | null;
|
|
20403
20772
|
status: string;
|
|
20773
|
+
stock_mode: string | null;
|
|
20404
20774
|
superseded_by: string | null;
|
|
20775
|
+
target_week: number | null;
|
|
20776
|
+
target_year: number | null;
|
|
20405
20777
|
trade_item_id: string;
|
|
20406
20778
|
updated_at: string;
|
|
20407
20779
|
user_id: string;
|
|
@@ -20461,6 +20833,53 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
20461
20833
|
isSetofReturn: true;
|
|
20462
20834
|
};
|
|
20463
20835
|
};
|
|
20836
|
+
claim_pdf_print_jobs: {
|
|
20837
|
+
Args: {
|
|
20838
|
+
_max?: number;
|
|
20839
|
+
};
|
|
20840
|
+
Returns: {
|
|
20841
|
+
agent_id: string | null;
|
|
20842
|
+
bron_job_id: string | null;
|
|
20843
|
+
created_at: string;
|
|
20844
|
+
documentnaam: string;
|
|
20845
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
20846
|
+
extern_job_id: string | null;
|
|
20847
|
+
foutmelding: string | null;
|
|
20848
|
+
gebruiker_id: string | null;
|
|
20849
|
+
gebruiker_naam: string;
|
|
20850
|
+
gebruikte_bron: string | null;
|
|
20851
|
+
gebruikte_layout_id: string | null;
|
|
20852
|
+
gestart_op: string | null;
|
|
20853
|
+
herkomst: string | null;
|
|
20854
|
+
id: string;
|
|
20855
|
+
idempotentie_sleutel: string | null;
|
|
20856
|
+
is_herprint: boolean;
|
|
20857
|
+
kopieen: number;
|
|
20858
|
+
layout_id: string | null;
|
|
20859
|
+
lokaal_opgeslagen_op: string | null;
|
|
20860
|
+
lokale_pdf_fout: string | null;
|
|
20861
|
+
lokale_pdf_status: string | null;
|
|
20862
|
+
opgepakt_op: string | null;
|
|
20863
|
+
paginas: number;
|
|
20864
|
+
payload: import("../integrations/supabase/types").Json;
|
|
20865
|
+
pdf_base64: string | null;
|
|
20866
|
+
pdf_url: string | null;
|
|
20867
|
+
pogingen: number;
|
|
20868
|
+
printer_id: string | null;
|
|
20869
|
+
render_html: string | null;
|
|
20870
|
+
resultaat_pdf_base64: string | null;
|
|
20871
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20872
|
+
updated_at: string;
|
|
20873
|
+
volgende_poging: string | null;
|
|
20874
|
+
voltooid_op: string | null;
|
|
20875
|
+
}[];
|
|
20876
|
+
SetofOptions: {
|
|
20877
|
+
from: "*";
|
|
20878
|
+
to: "print_jobs";
|
|
20879
|
+
isOneToOne: false;
|
|
20880
|
+
isSetofReturn: true;
|
|
20881
|
+
};
|
|
20882
|
+
};
|
|
20464
20883
|
claim_print_jobs: {
|
|
20465
20884
|
Args: {
|
|
20466
20885
|
_agent_id: string;
|
|
@@ -20485,6 +20904,9 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
20485
20904
|
is_herprint: boolean;
|
|
20486
20905
|
kopieen: number;
|
|
20487
20906
|
layout_id: string | null;
|
|
20907
|
+
lokaal_opgeslagen_op: string | null;
|
|
20908
|
+
lokale_pdf_fout: string | null;
|
|
20909
|
+
lokale_pdf_status: string | null;
|
|
20488
20910
|
opgepakt_op: string | null;
|
|
20489
20911
|
paginas: number;
|
|
20490
20912
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -20493,6 +20915,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
20493
20915
|
pogingen: number;
|
|
20494
20916
|
printer_id: string | null;
|
|
20495
20917
|
render_html: string | null;
|
|
20918
|
+
resultaat_pdf_base64: string | null;
|
|
20496
20919
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20497
20920
|
updated_at: string;
|
|
20498
20921
|
volgende_poging: string | null;
|
|
@@ -20633,6 +21056,8 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
20633
21056
|
order_id: string;
|
|
20634
21057
|
order_source: string;
|
|
20635
21058
|
pick_date: string;
|
|
21059
|
+
printed_at: string;
|
|
21060
|
+
printed_today: boolean;
|
|
20636
21061
|
status: string;
|
|
20637
21062
|
}[];
|
|
20638
21063
|
};
|
|
@@ -20829,6 +21254,24 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
20829
21254
|
};
|
|
20830
21255
|
Returns: string;
|
|
20831
21256
|
};
|
|
21257
|
+
floriday_capture_stock_snapshot: {
|
|
21258
|
+
Args: never;
|
|
21259
|
+
Returns: number;
|
|
21260
|
+
};
|
|
21261
|
+
floriday_cleanup_stock_queue_v2: {
|
|
21262
|
+
Args: never;
|
|
21263
|
+
Returns: undefined;
|
|
21264
|
+
};
|
|
21265
|
+
floriday_compact_stock_snapshots: {
|
|
21266
|
+
Args: never;
|
|
21267
|
+
Returns: undefined;
|
|
21268
|
+
};
|
|
21269
|
+
floriday_default_owner: {
|
|
21270
|
+
Args: {
|
|
21271
|
+
p_connection_id: string;
|
|
21272
|
+
};
|
|
21273
|
+
Returns: string;
|
|
21274
|
+
};
|
|
20832
21275
|
floriday_effective_price: {
|
|
20833
21276
|
Args: {
|
|
20834
21277
|
_buyer_id: string;
|
|
@@ -20846,6 +21289,22 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
20846
21289
|
source_id: string;
|
|
20847
21290
|
}[];
|
|
20848
21291
|
};
|
|
21292
|
+
floriday_fill_publish_horizon: {
|
|
21293
|
+
Args: never;
|
|
21294
|
+
Returns: number;
|
|
21295
|
+
};
|
|
21296
|
+
floriday_publish_horizon_weeks: {
|
|
21297
|
+
Args: never;
|
|
21298
|
+
Returns: number;
|
|
21299
|
+
};
|
|
21300
|
+
floriday_recompute_inventory: {
|
|
21301
|
+
Args: {
|
|
21302
|
+
p_connection_id: string;
|
|
21303
|
+
p_force?: boolean;
|
|
21304
|
+
p_product_id: string;
|
|
21305
|
+
};
|
|
21306
|
+
Returns: undefined;
|
|
21307
|
+
};
|
|
20849
21308
|
format_cart_number: {
|
|
20850
21309
|
Args: {
|
|
20851
21310
|
p_pick_date: string;
|
|
@@ -21341,6 +21800,10 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
21341
21800
|
};
|
|
21342
21801
|
Returns: number;
|
|
21343
21802
|
};
|
|
21803
|
+
logistics_cancel_orphan_tasks: {
|
|
21804
|
+
Args: never;
|
|
21805
|
+
Returns: number;
|
|
21806
|
+
};
|
|
21344
21807
|
logistics_capacity_day_check: {
|
|
21345
21808
|
Args: {
|
|
21346
21809
|
p_from?: string;
|
|
@@ -21361,6 +21824,25 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
21361
21824
|
};
|
|
21362
21825
|
Returns: number;
|
|
21363
21826
|
};
|
|
21827
|
+
logistics_cart_index: {
|
|
21828
|
+
Args: {
|
|
21829
|
+
p_from?: string;
|
|
21830
|
+
p_to?: string;
|
|
21831
|
+
};
|
|
21832
|
+
Returns: {
|
|
21833
|
+
cart_id: string;
|
|
21834
|
+
cart_index: number;
|
|
21835
|
+
cart_label: string;
|
|
21836
|
+
is_shared: boolean;
|
|
21837
|
+
order_number: string;
|
|
21838
|
+
order_source: string;
|
|
21839
|
+
order_uuid: string;
|
|
21840
|
+
pick_date: string;
|
|
21841
|
+
printed_at: string;
|
|
21842
|
+
shifted: boolean;
|
|
21843
|
+
task_status: string;
|
|
21844
|
+
}[];
|
|
21845
|
+
};
|
|
21364
21846
|
logistics_check_order_allowed: {
|
|
21365
21847
|
Args: {
|
|
21366
21848
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -21509,6 +21991,17 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
21509
21991
|
isSetofReturn: false;
|
|
21510
21992
|
};
|
|
21511
21993
|
};
|
|
21994
|
+
logistics_consistency_check: {
|
|
21995
|
+
Args: never;
|
|
21996
|
+
Returns: {
|
|
21997
|
+
agenda_carts: number;
|
|
21998
|
+
control_carts: number;
|
|
21999
|
+
ok: boolean;
|
|
22000
|
+
orphan_tasks: number;
|
|
22001
|
+
pick_date: string;
|
|
22002
|
+
raw_carts: number;
|
|
22003
|
+
}[];
|
|
22004
|
+
};
|
|
21512
22005
|
logistics_delay_customer_email: {
|
|
21513
22006
|
Args: {
|
|
21514
22007
|
p_customer: string;
|
|
@@ -21598,6 +22091,16 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
21598
22091
|
isSetofReturn: false;
|
|
21599
22092
|
};
|
|
21600
22093
|
};
|
|
22094
|
+
logistics_floriday_cart_plan: {
|
|
22095
|
+
Args: {
|
|
22096
|
+
p_order_id: string;
|
|
22097
|
+
};
|
|
22098
|
+
Returns: {
|
|
22099
|
+
carrier_type: string;
|
|
22100
|
+
idx: number;
|
|
22101
|
+
packages: number;
|
|
22102
|
+
}[];
|
|
22103
|
+
};
|
|
21601
22104
|
logistics_floriday_claim_pushes: {
|
|
21602
22105
|
Args: {
|
|
21603
22106
|
_lease_seconds?: number;
|
|
@@ -21702,6 +22205,25 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
21702
22205
|
};
|
|
21703
22206
|
Returns: number;
|
|
21704
22207
|
};
|
|
22208
|
+
logistics_order_overview: {
|
|
22209
|
+
Args: {
|
|
22210
|
+
p_from?: string;
|
|
22211
|
+
p_to?: string;
|
|
22212
|
+
};
|
|
22213
|
+
Returns: {
|
|
22214
|
+
cart_count: number;
|
|
22215
|
+
customer_name: string;
|
|
22216
|
+
delivery_date: string;
|
|
22217
|
+
order_number: string;
|
|
22218
|
+
order_source: string;
|
|
22219
|
+
order_uuid: string;
|
|
22220
|
+
pick_date: string;
|
|
22221
|
+
plant_count: number;
|
|
22222
|
+
printed_at: string;
|
|
22223
|
+
shifted: boolean;
|
|
22224
|
+
status: string;
|
|
22225
|
+
}[];
|
|
22226
|
+
};
|
|
21705
22227
|
logistics_order_pick_day: {
|
|
21706
22228
|
Args: {
|
|
21707
22229
|
p_order_ref: string;
|
|
@@ -21714,6 +22236,22 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
21714
22236
|
};
|
|
21715
22237
|
Returns: string;
|
|
21716
22238
|
};
|
|
22239
|
+
logistics_pick_agenda: {
|
|
22240
|
+
Args: {
|
|
22241
|
+
p_from?: string;
|
|
22242
|
+
p_to?: string;
|
|
22243
|
+
};
|
|
22244
|
+
Returns: {
|
|
22245
|
+
cart_count: number;
|
|
22246
|
+
in_preparation: number;
|
|
22247
|
+
order_count: number;
|
|
22248
|
+
orders: import("../integrations/supabase/types").Json;
|
|
22249
|
+
pick_date: string;
|
|
22250
|
+
plant_count: number;
|
|
22251
|
+
ready: number;
|
|
22252
|
+
shifted_count: number;
|
|
22253
|
+
}[];
|
|
22254
|
+
};
|
|
21717
22255
|
logistics_pick_email_purpose: {
|
|
21718
22256
|
Args: never;
|
|
21719
22257
|
Returns: string;
|
|
@@ -21768,6 +22306,13 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
21768
22306
|
};
|
|
21769
22307
|
Returns: undefined;
|
|
21770
22308
|
};
|
|
22309
|
+
logistics_plan_floriday_order: {
|
|
22310
|
+
Args: {
|
|
22311
|
+
p_buffer_id?: string;
|
|
22312
|
+
p_order_id: string;
|
|
22313
|
+
};
|
|
22314
|
+
Returns: number;
|
|
22315
|
+
};
|
|
21771
22316
|
logistics_plan_impact_orders: {
|
|
21772
22317
|
Args: {
|
|
21773
22318
|
p_order_id: string;
|
|
@@ -21873,6 +22418,15 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
21873
22418
|
};
|
|
21874
22419
|
Returns: import("../integrations/supabase/types").Json;
|
|
21875
22420
|
};
|
|
22421
|
+
logistics_resolve_pick_document: {
|
|
22422
|
+
Args: {
|
|
22423
|
+
_is_herprint: boolean;
|
|
22424
|
+
_queue_item_id: string;
|
|
22425
|
+
_session_id: string;
|
|
22426
|
+
_voorbeeld: boolean;
|
|
22427
|
+
};
|
|
22428
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22429
|
+
};
|
|
21876
22430
|
logistics_resolve_settings: {
|
|
21877
22431
|
Args: {
|
|
21878
22432
|
p_config_id: string;
|
|
@@ -22313,6 +22867,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
22313
22867
|
};
|
|
22314
22868
|
pick_enqueue_print_job: {
|
|
22315
22869
|
Args: {
|
|
22870
|
+
_is_herprint?: boolean;
|
|
22316
22871
|
_printer_id?: string;
|
|
22317
22872
|
_queue_item_id: string;
|
|
22318
22873
|
_session_id?: string;
|
|
@@ -22326,6 +22881,13 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
22326
22881
|
};
|
|
22327
22882
|
Returns: import("../integrations/supabase/types").Json;
|
|
22328
22883
|
};
|
|
22884
|
+
pick_preview_job: {
|
|
22885
|
+
Args: {
|
|
22886
|
+
_queue_item_id: string;
|
|
22887
|
+
_station_slug: string;
|
|
22888
|
+
};
|
|
22889
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22890
|
+
};
|
|
22329
22891
|
pick_print_job_status: {
|
|
22330
22892
|
Args: {
|
|
22331
22893
|
_job_id: string;
|
|
@@ -22503,6 +23065,24 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
22503
23065
|
};
|
|
22504
23066
|
Returns: undefined;
|
|
22505
23067
|
};
|
|
23068
|
+
print_preview_toestaan: {
|
|
23069
|
+
Args: {
|
|
23070
|
+
_max?: number;
|
|
23071
|
+
_queue_item_id: string;
|
|
23072
|
+
_station_slug: string;
|
|
23073
|
+
_venster_sec?: number;
|
|
23074
|
+
};
|
|
23075
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23076
|
+
};
|
|
23077
|
+
print_preview_weiger: {
|
|
23078
|
+
Args: {
|
|
23079
|
+
_code: string;
|
|
23080
|
+
_queue_item_id: string;
|
|
23081
|
+
_reden: string;
|
|
23082
|
+
_station_slug: string;
|
|
23083
|
+
};
|
|
23084
|
+
Returns: undefined;
|
|
23085
|
+
};
|
|
22506
23086
|
process_logistics_event: {
|
|
22507
23087
|
Args: {
|
|
22508
23088
|
p_event_id: string;
|
|
@@ -22657,6 +23237,12 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
22657
23237
|
};
|
|
22658
23238
|
Returns: string;
|
|
22659
23239
|
};
|
|
23240
|
+
resolve_print_job_printer_id: {
|
|
23241
|
+
Args: {
|
|
23242
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
23243
|
+
};
|
|
23244
|
+
Returns: string;
|
|
23245
|
+
};
|
|
22660
23246
|
resolve_product_id_for_item: {
|
|
22661
23247
|
Args: {
|
|
22662
23248
|
p_product_name: string;
|
|
@@ -23248,7 +23834,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
23248
23834
|
};
|
|
23249
23835
|
CompositeTypes: { [_ in never]: never; };
|
|
23250
23836
|
}, {
|
|
23251
|
-
PostgrestVersion: "14.
|
|
23837
|
+
PostgrestVersion: "14.5";
|
|
23252
23838
|
}>;
|
|
23253
23839
|
userId: string;
|
|
23254
23840
|
claims: import("@supabase/auth-js").User;
|
|
@@ -26113,6 +26699,84 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
26113
26699
|
};
|
|
26114
26700
|
Relationships: [];
|
|
26115
26701
|
};
|
|
26702
|
+
delivery_notes: {
|
|
26703
|
+
Row: {
|
|
26704
|
+
byte_size: number | null;
|
|
26705
|
+
connection_id: string | null;
|
|
26706
|
+
content_type: string;
|
|
26707
|
+
created_at: string;
|
|
26708
|
+
error_message: string | null;
|
|
26709
|
+
fetched_at: string | null;
|
|
26710
|
+
fulfillment_order_id: string | null;
|
|
26711
|
+
http_status: number | null;
|
|
26712
|
+
id: string;
|
|
26713
|
+
label_code: string | null;
|
|
26714
|
+
letter: string | null;
|
|
26715
|
+
load_carrier_index: number | null;
|
|
26716
|
+
load_carrier_type: string | null;
|
|
26717
|
+
order_id: string | null;
|
|
26718
|
+
order_number: string | null;
|
|
26719
|
+
packages: number | null;
|
|
26720
|
+
source: string;
|
|
26721
|
+
status: string;
|
|
26722
|
+
storage_bucket: string;
|
|
26723
|
+
storage_path: string | null;
|
|
26724
|
+
updated_at: string;
|
|
26725
|
+
};
|
|
26726
|
+
Insert: {
|
|
26727
|
+
byte_size?: number | null;
|
|
26728
|
+
connection_id?: string | null;
|
|
26729
|
+
content_type?: string;
|
|
26730
|
+
created_at?: string;
|
|
26731
|
+
error_message?: string | null;
|
|
26732
|
+
fetched_at?: string | null;
|
|
26733
|
+
fulfillment_order_id?: string | null;
|
|
26734
|
+
http_status?: number | null;
|
|
26735
|
+
id?: string;
|
|
26736
|
+
label_code?: string | null;
|
|
26737
|
+
letter?: string | null;
|
|
26738
|
+
load_carrier_index?: number | null;
|
|
26739
|
+
load_carrier_type?: string | null;
|
|
26740
|
+
order_id?: string | null;
|
|
26741
|
+
order_number?: string | null;
|
|
26742
|
+
packages?: number | null;
|
|
26743
|
+
source?: string;
|
|
26744
|
+
status?: string;
|
|
26745
|
+
storage_bucket?: string;
|
|
26746
|
+
storage_path?: string | null;
|
|
26747
|
+
updated_at?: string;
|
|
26748
|
+
};
|
|
26749
|
+
Update: {
|
|
26750
|
+
byte_size?: number | null;
|
|
26751
|
+
connection_id?: string | null;
|
|
26752
|
+
content_type?: string;
|
|
26753
|
+
created_at?: string;
|
|
26754
|
+
error_message?: string | null;
|
|
26755
|
+
fetched_at?: string | null;
|
|
26756
|
+
fulfillment_order_id?: string | null;
|
|
26757
|
+
http_status?: number | null;
|
|
26758
|
+
id?: string;
|
|
26759
|
+
label_code?: string | null;
|
|
26760
|
+
letter?: string | null;
|
|
26761
|
+
load_carrier_index?: number | null;
|
|
26762
|
+
load_carrier_type?: string | null;
|
|
26763
|
+
order_id?: string | null;
|
|
26764
|
+
order_number?: string | null;
|
|
26765
|
+
packages?: number | null;
|
|
26766
|
+
source?: string;
|
|
26767
|
+
status?: string;
|
|
26768
|
+
storage_bucket?: string;
|
|
26769
|
+
storage_path?: string | null;
|
|
26770
|
+
updated_at?: string;
|
|
26771
|
+
};
|
|
26772
|
+
Relationships: [{
|
|
26773
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
26774
|
+
columns: ["order_id"];
|
|
26775
|
+
isOneToOne: false;
|
|
26776
|
+
referencedRelation: "orders";
|
|
26777
|
+
referencedColumns: ["id"];
|
|
26778
|
+
}];
|
|
26779
|
+
};
|
|
26116
26780
|
document_bronregels: {
|
|
26117
26781
|
Row: {
|
|
26118
26782
|
bron: string;
|
|
@@ -29166,10 +29830,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
29166
29830
|
};
|
|
29167
29831
|
floriday_connections: {
|
|
29168
29832
|
Row: {
|
|
29169
|
-
access_token: string | null;
|
|
29170
29833
|
api_key: string;
|
|
29171
|
-
client_id: string;
|
|
29172
|
-
client_secret: string;
|
|
29173
29834
|
created_at: string;
|
|
29174
29835
|
customers_endpoint: string | null;
|
|
29175
29836
|
environment: string;
|
|
@@ -29184,10 +29845,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
29184
29845
|
updated_at: string;
|
|
29185
29846
|
};
|
|
29186
29847
|
Insert: {
|
|
29187
|
-
access_token?: string | null;
|
|
29188
29848
|
api_key: string;
|
|
29189
|
-
client_id: string;
|
|
29190
|
-
client_secret: string;
|
|
29191
29849
|
created_at?: string;
|
|
29192
29850
|
customers_endpoint?: string | null;
|
|
29193
29851
|
environment: string;
|
|
@@ -29202,10 +29860,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
29202
29860
|
updated_at?: string;
|
|
29203
29861
|
};
|
|
29204
29862
|
Update: {
|
|
29205
|
-
access_token?: string | null;
|
|
29206
29863
|
api_key?: string;
|
|
29207
|
-
client_id?: string;
|
|
29208
|
-
client_secret?: string;
|
|
29209
29864
|
created_at?: string;
|
|
29210
29865
|
customers_endpoint?: string | null;
|
|
29211
29866
|
environment?: string;
|
|
@@ -29289,6 +29944,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
29289
29944
|
attempts: number;
|
|
29290
29945
|
connection_id: string;
|
|
29291
29946
|
created_at: string;
|
|
29947
|
+
dead_lettered_at: string | null;
|
|
29292
29948
|
desired_available: boolean | null;
|
|
29293
29949
|
gateway_attempt_id: string | null;
|
|
29294
29950
|
id: string;
|
|
@@ -29297,9 +29953,13 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
29297
29953
|
locked_by: string | null;
|
|
29298
29954
|
next_attempt_at: string;
|
|
29299
29955
|
number_of_pieces: number;
|
|
29956
|
+
product_id: string | null;
|
|
29300
29957
|
sent_at: string | null;
|
|
29301
29958
|
status: string;
|
|
29959
|
+
stock_mode: string | null;
|
|
29302
29960
|
superseded_by: string | null;
|
|
29961
|
+
target_week: number | null;
|
|
29962
|
+
target_year: number | null;
|
|
29303
29963
|
trade_item_id: string;
|
|
29304
29964
|
updated_at: string;
|
|
29305
29965
|
user_id: string;
|
|
@@ -29308,6 +29968,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
29308
29968
|
attempts?: number;
|
|
29309
29969
|
connection_id: string;
|
|
29310
29970
|
created_at?: string;
|
|
29971
|
+
dead_lettered_at?: string | null;
|
|
29311
29972
|
desired_available?: boolean | null;
|
|
29312
29973
|
gateway_attempt_id?: string | null;
|
|
29313
29974
|
id?: string;
|
|
@@ -29316,9 +29977,13 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
29316
29977
|
locked_by?: string | null;
|
|
29317
29978
|
next_attempt_at?: string;
|
|
29318
29979
|
number_of_pieces?: number;
|
|
29980
|
+
product_id?: string | null;
|
|
29319
29981
|
sent_at?: string | null;
|
|
29320
29982
|
status?: string;
|
|
29983
|
+
stock_mode?: string | null;
|
|
29321
29984
|
superseded_by?: string | null;
|
|
29985
|
+
target_week?: number | null;
|
|
29986
|
+
target_year?: number | null;
|
|
29322
29987
|
trade_item_id: string;
|
|
29323
29988
|
updated_at?: string;
|
|
29324
29989
|
user_id: string;
|
|
@@ -29327,6 +29992,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
29327
29992
|
attempts?: number;
|
|
29328
29993
|
connection_id?: string;
|
|
29329
29994
|
created_at?: string;
|
|
29995
|
+
dead_lettered_at?: string | null;
|
|
29330
29996
|
desired_available?: boolean | null;
|
|
29331
29997
|
gateway_attempt_id?: string | null;
|
|
29332
29998
|
id?: string;
|
|
@@ -29335,9 +30001,13 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
29335
30001
|
locked_by?: string | null;
|
|
29336
30002
|
next_attempt_at?: string;
|
|
29337
30003
|
number_of_pieces?: number;
|
|
30004
|
+
product_id?: string | null;
|
|
29338
30005
|
sent_at?: string | null;
|
|
29339
30006
|
status?: string;
|
|
30007
|
+
stock_mode?: string | null;
|
|
29340
30008
|
superseded_by?: string | null;
|
|
30009
|
+
target_week?: number | null;
|
|
30010
|
+
target_year?: number | null;
|
|
29341
30011
|
trade_item_id?: string;
|
|
29342
30012
|
updated_at?: string;
|
|
29343
30013
|
user_id?: string;
|
|
@@ -29746,6 +30416,87 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
29746
30416
|
referencedColumns: ["id"];
|
|
29747
30417
|
}];
|
|
29748
30418
|
};
|
|
30419
|
+
floriday_inventory_settings: {
|
|
30420
|
+
Row: {
|
|
30421
|
+
buffer_quantity: number;
|
|
30422
|
+
connection_id: string;
|
|
30423
|
+
created_at: string;
|
|
30424
|
+
desired_availability: boolean;
|
|
30425
|
+
desired_quantity: number;
|
|
30426
|
+
fixed_quantity: number | null;
|
|
30427
|
+
floriday_trade_item_id: string | null;
|
|
30428
|
+
id: string;
|
|
30429
|
+
last_confirmed_at: string | null;
|
|
30430
|
+
last_enqueued_at: string | null;
|
|
30431
|
+
last_published_at: string | null;
|
|
30432
|
+
last_sync_error: string | null;
|
|
30433
|
+
manual_quantity: number | null;
|
|
30434
|
+
maximum_quantity: number | null;
|
|
30435
|
+
product_id: string;
|
|
30436
|
+
quantity_control: string;
|
|
30437
|
+
remote_available: boolean | null;
|
|
30438
|
+
remote_checked_at: string | null;
|
|
30439
|
+
remote_quantity: number | null;
|
|
30440
|
+
stock_mode: string;
|
|
30441
|
+
sync_status: string;
|
|
30442
|
+
updated_at: string;
|
|
30443
|
+
updated_by: string | null;
|
|
30444
|
+
user_id: string;
|
|
30445
|
+
};
|
|
30446
|
+
Insert: {
|
|
30447
|
+
buffer_quantity?: number;
|
|
30448
|
+
connection_id: string;
|
|
30449
|
+
created_at?: string;
|
|
30450
|
+
desired_availability?: boolean;
|
|
30451
|
+
desired_quantity?: number;
|
|
30452
|
+
fixed_quantity?: number | null;
|
|
30453
|
+
floriday_trade_item_id?: string | null;
|
|
30454
|
+
id?: string;
|
|
30455
|
+
last_confirmed_at?: string | null;
|
|
30456
|
+
last_enqueued_at?: string | null;
|
|
30457
|
+
last_published_at?: string | null;
|
|
30458
|
+
last_sync_error?: string | null;
|
|
30459
|
+
manual_quantity?: number | null;
|
|
30460
|
+
maximum_quantity?: number | null;
|
|
30461
|
+
product_id: string;
|
|
30462
|
+
quantity_control?: string;
|
|
30463
|
+
remote_available?: boolean | null;
|
|
30464
|
+
remote_checked_at?: string | null;
|
|
30465
|
+
remote_quantity?: number | null;
|
|
30466
|
+
stock_mode?: string;
|
|
30467
|
+
sync_status?: string;
|
|
30468
|
+
updated_at?: string;
|
|
30469
|
+
updated_by?: string | null;
|
|
30470
|
+
user_id: string;
|
|
30471
|
+
};
|
|
30472
|
+
Update: {
|
|
30473
|
+
buffer_quantity?: number;
|
|
30474
|
+
connection_id?: string;
|
|
30475
|
+
created_at?: string;
|
|
30476
|
+
desired_availability?: boolean;
|
|
30477
|
+
desired_quantity?: number;
|
|
30478
|
+
fixed_quantity?: number | null;
|
|
30479
|
+
floriday_trade_item_id?: string | null;
|
|
30480
|
+
id?: string;
|
|
30481
|
+
last_confirmed_at?: string | null;
|
|
30482
|
+
last_enqueued_at?: string | null;
|
|
30483
|
+
last_published_at?: string | null;
|
|
30484
|
+
last_sync_error?: string | null;
|
|
30485
|
+
manual_quantity?: number | null;
|
|
30486
|
+
maximum_quantity?: number | null;
|
|
30487
|
+
product_id?: string;
|
|
30488
|
+
quantity_control?: string;
|
|
30489
|
+
remote_available?: boolean | null;
|
|
30490
|
+
remote_checked_at?: string | null;
|
|
30491
|
+
remote_quantity?: number | null;
|
|
30492
|
+
stock_mode?: string;
|
|
30493
|
+
sync_status?: string;
|
|
30494
|
+
updated_at?: string;
|
|
30495
|
+
updated_by?: string | null;
|
|
30496
|
+
user_id?: string;
|
|
30497
|
+
};
|
|
30498
|
+
Relationships: [];
|
|
30499
|
+
};
|
|
29749
30500
|
floriday_invoices_cache: {
|
|
29750
30501
|
Row: {
|
|
29751
30502
|
buyer_organization_id: string | null;
|
|
@@ -30034,6 +30785,39 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
30034
30785
|
};
|
|
30035
30786
|
Relationships: [];
|
|
30036
30787
|
};
|
|
30788
|
+
floriday_sales_order_ingest: {
|
|
30789
|
+
Row: {
|
|
30790
|
+
connection_id: string;
|
|
30791
|
+
created_at: string;
|
|
30792
|
+
id: string;
|
|
30793
|
+
impact: import("../integrations/supabase/types").Json;
|
|
30794
|
+
order_status: string | null;
|
|
30795
|
+
order_version: number;
|
|
30796
|
+
processed_at: string;
|
|
30797
|
+
sales_order_id: string;
|
|
30798
|
+
};
|
|
30799
|
+
Insert: {
|
|
30800
|
+
connection_id: string;
|
|
30801
|
+
created_at?: string;
|
|
30802
|
+
id?: string;
|
|
30803
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
30804
|
+
order_status?: string | null;
|
|
30805
|
+
order_version?: number;
|
|
30806
|
+
processed_at?: string;
|
|
30807
|
+
sales_order_id: string;
|
|
30808
|
+
};
|
|
30809
|
+
Update: {
|
|
30810
|
+
connection_id?: string;
|
|
30811
|
+
created_at?: string;
|
|
30812
|
+
id?: string;
|
|
30813
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
30814
|
+
order_status?: string | null;
|
|
30815
|
+
order_version?: number;
|
|
30816
|
+
processed_at?: string;
|
|
30817
|
+
sales_order_id?: string;
|
|
30818
|
+
};
|
|
30819
|
+
Relationships: [];
|
|
30820
|
+
};
|
|
30037
30821
|
floriday_sales_strategies_cache: {
|
|
30038
30822
|
Row: {
|
|
30039
30823
|
connection_id: string;
|
|
@@ -30133,6 +30917,39 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
30133
30917
|
};
|
|
30134
30918
|
Relationships: [];
|
|
30135
30919
|
};
|
|
30920
|
+
floriday_sync_cursors: {
|
|
30921
|
+
Row: {
|
|
30922
|
+
connection_id: string;
|
|
30923
|
+
created_at: string;
|
|
30924
|
+
id: string;
|
|
30925
|
+
last_error: string | null;
|
|
30926
|
+
last_sync_at: string | null;
|
|
30927
|
+
resource_type: string;
|
|
30928
|
+
sequence_number: number;
|
|
30929
|
+
updated_at: string;
|
|
30930
|
+
};
|
|
30931
|
+
Insert: {
|
|
30932
|
+
connection_id: string;
|
|
30933
|
+
created_at?: string;
|
|
30934
|
+
id?: string;
|
|
30935
|
+
last_error?: string | null;
|
|
30936
|
+
last_sync_at?: string | null;
|
|
30937
|
+
resource_type: string;
|
|
30938
|
+
sequence_number?: number;
|
|
30939
|
+
updated_at?: string;
|
|
30940
|
+
};
|
|
30941
|
+
Update: {
|
|
30942
|
+
connection_id?: string;
|
|
30943
|
+
created_at?: string;
|
|
30944
|
+
id?: string;
|
|
30945
|
+
last_error?: string | null;
|
|
30946
|
+
last_sync_at?: string | null;
|
|
30947
|
+
resource_type?: string;
|
|
30948
|
+
sequence_number?: number;
|
|
30949
|
+
updated_at?: string;
|
|
30950
|
+
};
|
|
30951
|
+
Relationships: [];
|
|
30952
|
+
};
|
|
30136
30953
|
floriday_sync_state: {
|
|
30137
30954
|
Row: {
|
|
30138
30955
|
connection_id: string;
|
|
@@ -30823,6 +31640,42 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
30823
31640
|
};
|
|
30824
31641
|
Relationships: [];
|
|
30825
31642
|
};
|
|
31643
|
+
inventory_stock_snapshots: {
|
|
31644
|
+
Row: {
|
|
31645
|
+
connection_id: string;
|
|
31646
|
+
created_at: string;
|
|
31647
|
+
erp_available_quantity: number;
|
|
31648
|
+
floriday_desired_quantity: number;
|
|
31649
|
+
floriday_remote_quantity: number | null;
|
|
31650
|
+
granularity: string;
|
|
31651
|
+
id: string;
|
|
31652
|
+
snapshot_at: string;
|
|
31653
|
+
user_id: string | null;
|
|
31654
|
+
};
|
|
31655
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
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
|
+
Relationships: [];
|
|
31678
|
+
};
|
|
30826
31679
|
invoice_items: {
|
|
30827
31680
|
Row: {
|
|
30828
31681
|
created_at: string;
|
|
@@ -36838,6 +37691,39 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
36838
37691
|
};
|
|
36839
37692
|
Relationships: [];
|
|
36840
37693
|
};
|
|
37694
|
+
print_dedupe_events: {
|
|
37695
|
+
Row: {
|
|
37696
|
+
bestaande_job_id: string | null;
|
|
37697
|
+
created_at: string;
|
|
37698
|
+
detail: string | null;
|
|
37699
|
+
documentnaam: string | null;
|
|
37700
|
+
documenttype: string | null;
|
|
37701
|
+
id: string;
|
|
37702
|
+
idempotentie_sleutel: string;
|
|
37703
|
+
reden: string;
|
|
37704
|
+
};
|
|
37705
|
+
Insert: {
|
|
37706
|
+
bestaande_job_id?: string | null;
|
|
37707
|
+
created_at?: string;
|
|
37708
|
+
detail?: string | null;
|
|
37709
|
+
documentnaam?: string | null;
|
|
37710
|
+
documenttype?: string | null;
|
|
37711
|
+
id?: string;
|
|
37712
|
+
idempotentie_sleutel: string;
|
|
37713
|
+
reden: string;
|
|
37714
|
+
};
|
|
37715
|
+
Update: {
|
|
37716
|
+
bestaande_job_id?: string | null;
|
|
37717
|
+
created_at?: string;
|
|
37718
|
+
detail?: string | null;
|
|
37719
|
+
documentnaam?: string | null;
|
|
37720
|
+
documenttype?: string | null;
|
|
37721
|
+
id?: string;
|
|
37722
|
+
idempotentie_sleutel?: string;
|
|
37723
|
+
reden?: string;
|
|
37724
|
+
};
|
|
37725
|
+
Relationships: [];
|
|
37726
|
+
};
|
|
36841
37727
|
print_job_logs: {
|
|
36842
37728
|
Row: {
|
|
36843
37729
|
created_at: string;
|
|
@@ -36888,6 +37774,9 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
36888
37774
|
is_herprint: boolean;
|
|
36889
37775
|
kopieen: number;
|
|
36890
37776
|
layout_id: string | null;
|
|
37777
|
+
lokaal_opgeslagen_op: string | null;
|
|
37778
|
+
lokale_pdf_fout: string | null;
|
|
37779
|
+
lokale_pdf_status: string | null;
|
|
36891
37780
|
opgepakt_op: string | null;
|
|
36892
37781
|
paginas: number;
|
|
36893
37782
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -36896,6 +37785,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
36896
37785
|
pogingen: number;
|
|
36897
37786
|
printer_id: string | null;
|
|
36898
37787
|
render_html: string | null;
|
|
37788
|
+
resultaat_pdf_base64: string | null;
|
|
36899
37789
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
36900
37790
|
updated_at: string;
|
|
36901
37791
|
volgende_poging: string | null;
|
|
@@ -36920,6 +37810,9 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
36920
37810
|
is_herprint?: boolean;
|
|
36921
37811
|
kopieen?: number;
|
|
36922
37812
|
layout_id?: string | null;
|
|
37813
|
+
lokaal_opgeslagen_op?: string | null;
|
|
37814
|
+
lokale_pdf_fout?: string | null;
|
|
37815
|
+
lokale_pdf_status?: string | null;
|
|
36923
37816
|
opgepakt_op?: string | null;
|
|
36924
37817
|
paginas?: number;
|
|
36925
37818
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -36928,6 +37821,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
36928
37821
|
pogingen?: number;
|
|
36929
37822
|
printer_id?: string | null;
|
|
36930
37823
|
render_html?: string | null;
|
|
37824
|
+
resultaat_pdf_base64?: string | null;
|
|
36931
37825
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
36932
37826
|
updated_at?: string;
|
|
36933
37827
|
volgende_poging?: string | null;
|
|
@@ -36952,6 +37846,9 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
36952
37846
|
is_herprint?: boolean;
|
|
36953
37847
|
kopieen?: number;
|
|
36954
37848
|
layout_id?: string | null;
|
|
37849
|
+
lokaal_opgeslagen_op?: string | null;
|
|
37850
|
+
lokale_pdf_fout?: string | null;
|
|
37851
|
+
lokale_pdf_status?: string | null;
|
|
36955
37852
|
opgepakt_op?: string | null;
|
|
36956
37853
|
paginas?: number;
|
|
36957
37854
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -36960,6 +37857,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
36960
37857
|
pogingen?: number;
|
|
36961
37858
|
printer_id?: string | null;
|
|
36962
37859
|
render_html?: string | null;
|
|
37860
|
+
resultaat_pdf_base64?: string | null;
|
|
36963
37861
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
36964
37862
|
updated_at?: string;
|
|
36965
37863
|
volgende_poging?: string | null;
|
|
@@ -37078,6 +37976,39 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
37078
37976
|
};
|
|
37079
37977
|
Relationships: [];
|
|
37080
37978
|
};
|
|
37979
|
+
print_preview_events: {
|
|
37980
|
+
Row: {
|
|
37981
|
+
code: string | null;
|
|
37982
|
+
created_at: string;
|
|
37983
|
+
detail: import("../integrations/supabase/types").Json;
|
|
37984
|
+
id: string;
|
|
37985
|
+
queue_item_id: string | null;
|
|
37986
|
+
reden: string | null;
|
|
37987
|
+
station_slug: string | null;
|
|
37988
|
+
uitkomst: string;
|
|
37989
|
+
};
|
|
37990
|
+
Insert: {
|
|
37991
|
+
code?: string | null;
|
|
37992
|
+
created_at?: string;
|
|
37993
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
37994
|
+
id?: string;
|
|
37995
|
+
queue_item_id?: string | null;
|
|
37996
|
+
reden?: string | null;
|
|
37997
|
+
station_slug?: string | null;
|
|
37998
|
+
uitkomst?: string;
|
|
37999
|
+
};
|
|
38000
|
+
Update: {
|
|
38001
|
+
code?: string | null;
|
|
38002
|
+
created_at?: string;
|
|
38003
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
38004
|
+
id?: string;
|
|
38005
|
+
queue_item_id?: string | null;
|
|
38006
|
+
reden?: string | null;
|
|
38007
|
+
station_slug?: string | null;
|
|
38008
|
+
uitkomst?: string;
|
|
38009
|
+
};
|
|
38010
|
+
Relationships: [];
|
|
38011
|
+
};
|
|
37081
38012
|
print_queue_runners: {
|
|
37082
38013
|
Row: {
|
|
37083
38014
|
actief: boolean;
|
|
@@ -37317,6 +38248,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
37317
38248
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
37318
38249
|
online: boolean;
|
|
37319
38250
|
papierformaat: string;
|
|
38251
|
+
pdf_map: string | null;
|
|
37320
38252
|
poort: number | null;
|
|
37321
38253
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37322
38254
|
systeemnaam: string;
|
|
@@ -37342,6 +38274,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
37342
38274
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
37343
38275
|
online?: boolean;
|
|
37344
38276
|
papierformaat?: string;
|
|
38277
|
+
pdf_map?: string | null;
|
|
37345
38278
|
poort?: number | null;
|
|
37346
38279
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37347
38280
|
systeemnaam?: string;
|
|
@@ -37367,6 +38300,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
37367
38300
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
37368
38301
|
online?: boolean;
|
|
37369
38302
|
papierformaat?: string;
|
|
38303
|
+
pdf_map?: string | null;
|
|
37370
38304
|
poort?: number | null;
|
|
37371
38305
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37372
38306
|
systeemnaam?: string;
|
|
@@ -39936,6 +40870,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
39936
40870
|
};
|
|
39937
40871
|
trade_item_stock: {
|
|
39938
40872
|
Row: {
|
|
40873
|
+
change_source: string;
|
|
39939
40874
|
connection_id: string;
|
|
39940
40875
|
created_at: string;
|
|
39941
40876
|
id: string;
|
|
@@ -39949,6 +40884,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
39949
40884
|
user_id: string;
|
|
39950
40885
|
};
|
|
39951
40886
|
Insert: {
|
|
40887
|
+
change_source?: string;
|
|
39952
40888
|
connection_id: string;
|
|
39953
40889
|
created_at?: string;
|
|
39954
40890
|
id?: string;
|
|
@@ -39962,6 +40898,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
39962
40898
|
user_id: string;
|
|
39963
40899
|
};
|
|
39964
40900
|
Update: {
|
|
40901
|
+
change_source?: string;
|
|
39965
40902
|
connection_id?: string;
|
|
39966
40903
|
created_at?: string;
|
|
39967
40904
|
id?: string;
|
|
@@ -43562,6 +44499,18 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
43562
44499
|
Args: never;
|
|
43563
44500
|
Returns: number;
|
|
43564
44501
|
};
|
|
44502
|
+
calculate_floriday_desired_stock: {
|
|
44503
|
+
Args: {
|
|
44504
|
+
p_connection_id: string;
|
|
44505
|
+
p_product_id: string;
|
|
44506
|
+
};
|
|
44507
|
+
Returns: {
|
|
44508
|
+
desired_availability: boolean;
|
|
44509
|
+
desired_quantity: number;
|
|
44510
|
+
erp_available: number;
|
|
44511
|
+
stock_mode: string;
|
|
44512
|
+
}[];
|
|
44513
|
+
};
|
|
43565
44514
|
calculate_layer_stock: {
|
|
43566
44515
|
Args: {
|
|
43567
44516
|
p_product_id: string;
|
|
@@ -43623,6 +44572,9 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
43623
44572
|
is_herprint: boolean;
|
|
43624
44573
|
kopieen: number;
|
|
43625
44574
|
layout_id: string | null;
|
|
44575
|
+
lokaal_opgeslagen_op: string | null;
|
|
44576
|
+
lokale_pdf_fout: string | null;
|
|
44577
|
+
lokale_pdf_status: string | null;
|
|
43626
44578
|
opgepakt_op: string | null;
|
|
43627
44579
|
paginas: number;
|
|
43628
44580
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -43631,6 +44583,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
43631
44583
|
pogingen: number;
|
|
43632
44584
|
printer_id: string | null;
|
|
43633
44585
|
render_html: string | null;
|
|
44586
|
+
resultaat_pdf_base64: string | null;
|
|
43634
44587
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
43635
44588
|
updated_at: string;
|
|
43636
44589
|
volgende_poging: string | null;
|
|
@@ -43652,6 +44605,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
43652
44605
|
attempts: number;
|
|
43653
44606
|
connection_id: string;
|
|
43654
44607
|
created_at: string;
|
|
44608
|
+
dead_lettered_at: string | null;
|
|
43655
44609
|
desired_available: boolean | null;
|
|
43656
44610
|
gateway_attempt_id: string | null;
|
|
43657
44611
|
id: string;
|
|
@@ -43660,9 +44614,13 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
43660
44614
|
locked_by: string | null;
|
|
43661
44615
|
next_attempt_at: string;
|
|
43662
44616
|
number_of_pieces: number;
|
|
44617
|
+
product_id: string | null;
|
|
43663
44618
|
sent_at: string | null;
|
|
43664
44619
|
status: string;
|
|
44620
|
+
stock_mode: string | null;
|
|
43665
44621
|
superseded_by: string | null;
|
|
44622
|
+
target_week: number | null;
|
|
44623
|
+
target_year: number | null;
|
|
43666
44624
|
trade_item_id: string;
|
|
43667
44625
|
updated_at: string;
|
|
43668
44626
|
user_id: string;
|
|
@@ -43722,6 +44680,53 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
43722
44680
|
isSetofReturn: true;
|
|
43723
44681
|
};
|
|
43724
44682
|
};
|
|
44683
|
+
claim_pdf_print_jobs: {
|
|
44684
|
+
Args: {
|
|
44685
|
+
_max?: number;
|
|
44686
|
+
};
|
|
44687
|
+
Returns: {
|
|
44688
|
+
agent_id: string | null;
|
|
44689
|
+
bron_job_id: string | null;
|
|
44690
|
+
created_at: string;
|
|
44691
|
+
documentnaam: string;
|
|
44692
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
44693
|
+
extern_job_id: string | null;
|
|
44694
|
+
foutmelding: string | null;
|
|
44695
|
+
gebruiker_id: string | null;
|
|
44696
|
+
gebruiker_naam: string;
|
|
44697
|
+
gebruikte_bron: string | null;
|
|
44698
|
+
gebruikte_layout_id: string | null;
|
|
44699
|
+
gestart_op: string | null;
|
|
44700
|
+
herkomst: string | null;
|
|
44701
|
+
id: string;
|
|
44702
|
+
idempotentie_sleutel: string | null;
|
|
44703
|
+
is_herprint: boolean;
|
|
44704
|
+
kopieen: number;
|
|
44705
|
+
layout_id: string | null;
|
|
44706
|
+
lokaal_opgeslagen_op: string | null;
|
|
44707
|
+
lokale_pdf_fout: string | null;
|
|
44708
|
+
lokale_pdf_status: string | null;
|
|
44709
|
+
opgepakt_op: string | null;
|
|
44710
|
+
paginas: number;
|
|
44711
|
+
payload: import("../integrations/supabase/types").Json;
|
|
44712
|
+
pdf_base64: string | null;
|
|
44713
|
+
pdf_url: string | null;
|
|
44714
|
+
pogingen: number;
|
|
44715
|
+
printer_id: string | null;
|
|
44716
|
+
render_html: string | null;
|
|
44717
|
+
resultaat_pdf_base64: string | null;
|
|
44718
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
44719
|
+
updated_at: string;
|
|
44720
|
+
volgende_poging: string | null;
|
|
44721
|
+
voltooid_op: string | null;
|
|
44722
|
+
}[];
|
|
44723
|
+
SetofOptions: {
|
|
44724
|
+
from: "*";
|
|
44725
|
+
to: "print_jobs";
|
|
44726
|
+
isOneToOne: false;
|
|
44727
|
+
isSetofReturn: true;
|
|
44728
|
+
};
|
|
44729
|
+
};
|
|
43725
44730
|
claim_print_jobs: {
|
|
43726
44731
|
Args: {
|
|
43727
44732
|
_agent_id: string;
|
|
@@ -43746,6 +44751,9 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
43746
44751
|
is_herprint: boolean;
|
|
43747
44752
|
kopieen: number;
|
|
43748
44753
|
layout_id: string | null;
|
|
44754
|
+
lokaal_opgeslagen_op: string | null;
|
|
44755
|
+
lokale_pdf_fout: string | null;
|
|
44756
|
+
lokale_pdf_status: string | null;
|
|
43749
44757
|
opgepakt_op: string | null;
|
|
43750
44758
|
paginas: number;
|
|
43751
44759
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -43754,6 +44762,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
43754
44762
|
pogingen: number;
|
|
43755
44763
|
printer_id: string | null;
|
|
43756
44764
|
render_html: string | null;
|
|
44765
|
+
resultaat_pdf_base64: string | null;
|
|
43757
44766
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
43758
44767
|
updated_at: string;
|
|
43759
44768
|
volgende_poging: string | null;
|
|
@@ -43894,6 +44903,8 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
43894
44903
|
order_id: string;
|
|
43895
44904
|
order_source: string;
|
|
43896
44905
|
pick_date: string;
|
|
44906
|
+
printed_at: string;
|
|
44907
|
+
printed_today: boolean;
|
|
43897
44908
|
status: string;
|
|
43898
44909
|
}[];
|
|
43899
44910
|
};
|
|
@@ -44090,6 +45101,24 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
44090
45101
|
};
|
|
44091
45102
|
Returns: string;
|
|
44092
45103
|
};
|
|
45104
|
+
floriday_capture_stock_snapshot: {
|
|
45105
|
+
Args: never;
|
|
45106
|
+
Returns: number;
|
|
45107
|
+
};
|
|
45108
|
+
floriday_cleanup_stock_queue_v2: {
|
|
45109
|
+
Args: never;
|
|
45110
|
+
Returns: undefined;
|
|
45111
|
+
};
|
|
45112
|
+
floriday_compact_stock_snapshots: {
|
|
45113
|
+
Args: never;
|
|
45114
|
+
Returns: undefined;
|
|
45115
|
+
};
|
|
45116
|
+
floriday_default_owner: {
|
|
45117
|
+
Args: {
|
|
45118
|
+
p_connection_id: string;
|
|
45119
|
+
};
|
|
45120
|
+
Returns: string;
|
|
45121
|
+
};
|
|
44093
45122
|
floriday_effective_price: {
|
|
44094
45123
|
Args: {
|
|
44095
45124
|
_buyer_id: string;
|
|
@@ -44107,6 +45136,22 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
44107
45136
|
source_id: string;
|
|
44108
45137
|
}[];
|
|
44109
45138
|
};
|
|
45139
|
+
floriday_fill_publish_horizon: {
|
|
45140
|
+
Args: never;
|
|
45141
|
+
Returns: number;
|
|
45142
|
+
};
|
|
45143
|
+
floriday_publish_horizon_weeks: {
|
|
45144
|
+
Args: never;
|
|
45145
|
+
Returns: number;
|
|
45146
|
+
};
|
|
45147
|
+
floriday_recompute_inventory: {
|
|
45148
|
+
Args: {
|
|
45149
|
+
p_connection_id: string;
|
|
45150
|
+
p_force?: boolean;
|
|
45151
|
+
p_product_id: string;
|
|
45152
|
+
};
|
|
45153
|
+
Returns: undefined;
|
|
45154
|
+
};
|
|
44110
45155
|
format_cart_number: {
|
|
44111
45156
|
Args: {
|
|
44112
45157
|
p_pick_date: string;
|
|
@@ -44602,6 +45647,10 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
44602
45647
|
};
|
|
44603
45648
|
Returns: number;
|
|
44604
45649
|
};
|
|
45650
|
+
logistics_cancel_orphan_tasks: {
|
|
45651
|
+
Args: never;
|
|
45652
|
+
Returns: number;
|
|
45653
|
+
};
|
|
44605
45654
|
logistics_capacity_day_check: {
|
|
44606
45655
|
Args: {
|
|
44607
45656
|
p_from?: string;
|
|
@@ -44622,6 +45671,25 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
44622
45671
|
};
|
|
44623
45672
|
Returns: number;
|
|
44624
45673
|
};
|
|
45674
|
+
logistics_cart_index: {
|
|
45675
|
+
Args: {
|
|
45676
|
+
p_from?: string;
|
|
45677
|
+
p_to?: string;
|
|
45678
|
+
};
|
|
45679
|
+
Returns: {
|
|
45680
|
+
cart_id: string;
|
|
45681
|
+
cart_index: number;
|
|
45682
|
+
cart_label: string;
|
|
45683
|
+
is_shared: boolean;
|
|
45684
|
+
order_number: string;
|
|
45685
|
+
order_source: string;
|
|
45686
|
+
order_uuid: string;
|
|
45687
|
+
pick_date: string;
|
|
45688
|
+
printed_at: string;
|
|
45689
|
+
shifted: boolean;
|
|
45690
|
+
task_status: string;
|
|
45691
|
+
}[];
|
|
45692
|
+
};
|
|
44625
45693
|
logistics_check_order_allowed: {
|
|
44626
45694
|
Args: {
|
|
44627
45695
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -44770,6 +45838,17 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
44770
45838
|
isSetofReturn: false;
|
|
44771
45839
|
};
|
|
44772
45840
|
};
|
|
45841
|
+
logistics_consistency_check: {
|
|
45842
|
+
Args: never;
|
|
45843
|
+
Returns: {
|
|
45844
|
+
agenda_carts: number;
|
|
45845
|
+
control_carts: number;
|
|
45846
|
+
ok: boolean;
|
|
45847
|
+
orphan_tasks: number;
|
|
45848
|
+
pick_date: string;
|
|
45849
|
+
raw_carts: number;
|
|
45850
|
+
}[];
|
|
45851
|
+
};
|
|
44773
45852
|
logistics_delay_customer_email: {
|
|
44774
45853
|
Args: {
|
|
44775
45854
|
p_customer: string;
|
|
@@ -44859,6 +45938,16 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
44859
45938
|
isSetofReturn: false;
|
|
44860
45939
|
};
|
|
44861
45940
|
};
|
|
45941
|
+
logistics_floriday_cart_plan: {
|
|
45942
|
+
Args: {
|
|
45943
|
+
p_order_id: string;
|
|
45944
|
+
};
|
|
45945
|
+
Returns: {
|
|
45946
|
+
carrier_type: string;
|
|
45947
|
+
idx: number;
|
|
45948
|
+
packages: number;
|
|
45949
|
+
}[];
|
|
45950
|
+
};
|
|
44862
45951
|
logistics_floriday_claim_pushes: {
|
|
44863
45952
|
Args: {
|
|
44864
45953
|
_lease_seconds?: number;
|
|
@@ -44963,6 +46052,25 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
44963
46052
|
};
|
|
44964
46053
|
Returns: number;
|
|
44965
46054
|
};
|
|
46055
|
+
logistics_order_overview: {
|
|
46056
|
+
Args: {
|
|
46057
|
+
p_from?: string;
|
|
46058
|
+
p_to?: string;
|
|
46059
|
+
};
|
|
46060
|
+
Returns: {
|
|
46061
|
+
cart_count: number;
|
|
46062
|
+
customer_name: string;
|
|
46063
|
+
delivery_date: string;
|
|
46064
|
+
order_number: string;
|
|
46065
|
+
order_source: string;
|
|
46066
|
+
order_uuid: string;
|
|
46067
|
+
pick_date: string;
|
|
46068
|
+
plant_count: number;
|
|
46069
|
+
printed_at: string;
|
|
46070
|
+
shifted: boolean;
|
|
46071
|
+
status: string;
|
|
46072
|
+
}[];
|
|
46073
|
+
};
|
|
44966
46074
|
logistics_order_pick_day: {
|
|
44967
46075
|
Args: {
|
|
44968
46076
|
p_order_ref: string;
|
|
@@ -44975,6 +46083,22 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
44975
46083
|
};
|
|
44976
46084
|
Returns: string;
|
|
44977
46085
|
};
|
|
46086
|
+
logistics_pick_agenda: {
|
|
46087
|
+
Args: {
|
|
46088
|
+
p_from?: string;
|
|
46089
|
+
p_to?: string;
|
|
46090
|
+
};
|
|
46091
|
+
Returns: {
|
|
46092
|
+
cart_count: number;
|
|
46093
|
+
in_preparation: number;
|
|
46094
|
+
order_count: number;
|
|
46095
|
+
orders: import("../integrations/supabase/types").Json;
|
|
46096
|
+
pick_date: string;
|
|
46097
|
+
plant_count: number;
|
|
46098
|
+
ready: number;
|
|
46099
|
+
shifted_count: number;
|
|
46100
|
+
}[];
|
|
46101
|
+
};
|
|
44978
46102
|
logistics_pick_email_purpose: {
|
|
44979
46103
|
Args: never;
|
|
44980
46104
|
Returns: string;
|
|
@@ -45029,6 +46153,13 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
45029
46153
|
};
|
|
45030
46154
|
Returns: undefined;
|
|
45031
46155
|
};
|
|
46156
|
+
logistics_plan_floriday_order: {
|
|
46157
|
+
Args: {
|
|
46158
|
+
p_buffer_id?: string;
|
|
46159
|
+
p_order_id: string;
|
|
46160
|
+
};
|
|
46161
|
+
Returns: number;
|
|
46162
|
+
};
|
|
45032
46163
|
logistics_plan_impact_orders: {
|
|
45033
46164
|
Args: {
|
|
45034
46165
|
p_order_id: string;
|
|
@@ -45134,6 +46265,15 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
45134
46265
|
};
|
|
45135
46266
|
Returns: import("../integrations/supabase/types").Json;
|
|
45136
46267
|
};
|
|
46268
|
+
logistics_resolve_pick_document: {
|
|
46269
|
+
Args: {
|
|
46270
|
+
_is_herprint: boolean;
|
|
46271
|
+
_queue_item_id: string;
|
|
46272
|
+
_session_id: string;
|
|
46273
|
+
_voorbeeld: boolean;
|
|
46274
|
+
};
|
|
46275
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
46276
|
+
};
|
|
45137
46277
|
logistics_resolve_settings: {
|
|
45138
46278
|
Args: {
|
|
45139
46279
|
p_config_id: string;
|
|
@@ -45574,6 +46714,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
45574
46714
|
};
|
|
45575
46715
|
pick_enqueue_print_job: {
|
|
45576
46716
|
Args: {
|
|
46717
|
+
_is_herprint?: boolean;
|
|
45577
46718
|
_printer_id?: string;
|
|
45578
46719
|
_queue_item_id: string;
|
|
45579
46720
|
_session_id?: string;
|
|
@@ -45587,6 +46728,13 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
45587
46728
|
};
|
|
45588
46729
|
Returns: import("../integrations/supabase/types").Json;
|
|
45589
46730
|
};
|
|
46731
|
+
pick_preview_job: {
|
|
46732
|
+
Args: {
|
|
46733
|
+
_queue_item_id: string;
|
|
46734
|
+
_station_slug: string;
|
|
46735
|
+
};
|
|
46736
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
46737
|
+
};
|
|
45590
46738
|
pick_print_job_status: {
|
|
45591
46739
|
Args: {
|
|
45592
46740
|
_job_id: string;
|
|
@@ -45764,6 +46912,24 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
45764
46912
|
};
|
|
45765
46913
|
Returns: undefined;
|
|
45766
46914
|
};
|
|
46915
|
+
print_preview_toestaan: {
|
|
46916
|
+
Args: {
|
|
46917
|
+
_max?: number;
|
|
46918
|
+
_queue_item_id: string;
|
|
46919
|
+
_station_slug: string;
|
|
46920
|
+
_venster_sec?: number;
|
|
46921
|
+
};
|
|
46922
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
46923
|
+
};
|
|
46924
|
+
print_preview_weiger: {
|
|
46925
|
+
Args: {
|
|
46926
|
+
_code: string;
|
|
46927
|
+
_queue_item_id: string;
|
|
46928
|
+
_reden: string;
|
|
46929
|
+
_station_slug: string;
|
|
46930
|
+
};
|
|
46931
|
+
Returns: undefined;
|
|
46932
|
+
};
|
|
45767
46933
|
process_logistics_event: {
|
|
45768
46934
|
Args: {
|
|
45769
46935
|
p_event_id: string;
|
|
@@ -45918,6 +47084,12 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
45918
47084
|
};
|
|
45919
47085
|
Returns: string;
|
|
45920
47086
|
};
|
|
47087
|
+
resolve_print_job_printer_id: {
|
|
47088
|
+
Args: {
|
|
47089
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
47090
|
+
};
|
|
47091
|
+
Returns: string;
|
|
47092
|
+
};
|
|
45921
47093
|
resolve_product_id_for_item: {
|
|
45922
47094
|
Args: {
|
|
45923
47095
|
p_product_name: string;
|
|
@@ -46509,7 +47681,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
46509
47681
|
};
|
|
46510
47682
|
CompositeTypes: { [_ in never]: never; };
|
|
46511
47683
|
}, {
|
|
46512
|
-
PostgrestVersion: "14.
|
|
47684
|
+
PostgrestVersion: "14.5";
|
|
46513
47685
|
}>;
|
|
46514
47686
|
userId: string;
|
|
46515
47687
|
claims: import("@supabase/auth-js").User;
|
|
@@ -49371,6 +50543,84 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
49371
50543
|
};
|
|
49372
50544
|
Relationships: [];
|
|
49373
50545
|
};
|
|
50546
|
+
delivery_notes: {
|
|
50547
|
+
Row: {
|
|
50548
|
+
byte_size: number | null;
|
|
50549
|
+
connection_id: string | null;
|
|
50550
|
+
content_type: string;
|
|
50551
|
+
created_at: string;
|
|
50552
|
+
error_message: string | null;
|
|
50553
|
+
fetched_at: string | null;
|
|
50554
|
+
fulfillment_order_id: string | null;
|
|
50555
|
+
http_status: number | null;
|
|
50556
|
+
id: string;
|
|
50557
|
+
label_code: string | null;
|
|
50558
|
+
letter: string | null;
|
|
50559
|
+
load_carrier_index: number | null;
|
|
50560
|
+
load_carrier_type: string | null;
|
|
50561
|
+
order_id: string | null;
|
|
50562
|
+
order_number: string | null;
|
|
50563
|
+
packages: number | null;
|
|
50564
|
+
source: string;
|
|
50565
|
+
status: string;
|
|
50566
|
+
storage_bucket: string;
|
|
50567
|
+
storage_path: string | null;
|
|
50568
|
+
updated_at: string;
|
|
50569
|
+
};
|
|
50570
|
+
Insert: {
|
|
50571
|
+
byte_size?: number | null;
|
|
50572
|
+
connection_id?: string | null;
|
|
50573
|
+
content_type?: string;
|
|
50574
|
+
created_at?: string;
|
|
50575
|
+
error_message?: string | null;
|
|
50576
|
+
fetched_at?: string | null;
|
|
50577
|
+
fulfillment_order_id?: string | null;
|
|
50578
|
+
http_status?: number | null;
|
|
50579
|
+
id?: string;
|
|
50580
|
+
label_code?: string | null;
|
|
50581
|
+
letter?: string | null;
|
|
50582
|
+
load_carrier_index?: number | null;
|
|
50583
|
+
load_carrier_type?: string | null;
|
|
50584
|
+
order_id?: string | null;
|
|
50585
|
+
order_number?: string | null;
|
|
50586
|
+
packages?: number | null;
|
|
50587
|
+
source?: string;
|
|
50588
|
+
status?: string;
|
|
50589
|
+
storage_bucket?: string;
|
|
50590
|
+
storage_path?: string | null;
|
|
50591
|
+
updated_at?: string;
|
|
50592
|
+
};
|
|
50593
|
+
Update: {
|
|
50594
|
+
byte_size?: number | null;
|
|
50595
|
+
connection_id?: string | null;
|
|
50596
|
+
content_type?: string;
|
|
50597
|
+
created_at?: string;
|
|
50598
|
+
error_message?: string | null;
|
|
50599
|
+
fetched_at?: string | null;
|
|
50600
|
+
fulfillment_order_id?: string | null;
|
|
50601
|
+
http_status?: number | null;
|
|
50602
|
+
id?: string;
|
|
50603
|
+
label_code?: string | null;
|
|
50604
|
+
letter?: string | null;
|
|
50605
|
+
load_carrier_index?: number | null;
|
|
50606
|
+
load_carrier_type?: string | null;
|
|
50607
|
+
order_id?: string | null;
|
|
50608
|
+
order_number?: string | null;
|
|
50609
|
+
packages?: number | null;
|
|
50610
|
+
source?: string;
|
|
50611
|
+
status?: string;
|
|
50612
|
+
storage_bucket?: string;
|
|
50613
|
+
storage_path?: string | null;
|
|
50614
|
+
updated_at?: string;
|
|
50615
|
+
};
|
|
50616
|
+
Relationships: [{
|
|
50617
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
50618
|
+
columns: ["order_id"];
|
|
50619
|
+
isOneToOne: false;
|
|
50620
|
+
referencedRelation: "orders";
|
|
50621
|
+
referencedColumns: ["id"];
|
|
50622
|
+
}];
|
|
50623
|
+
};
|
|
49374
50624
|
document_bronregels: {
|
|
49375
50625
|
Row: {
|
|
49376
50626
|
bron: string;
|
|
@@ -52424,10 +53674,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
52424
53674
|
};
|
|
52425
53675
|
floriday_connections: {
|
|
52426
53676
|
Row: {
|
|
52427
|
-
access_token: string | null;
|
|
52428
53677
|
api_key: string;
|
|
52429
|
-
client_id: string;
|
|
52430
|
-
client_secret: string;
|
|
52431
53678
|
created_at: string;
|
|
52432
53679
|
customers_endpoint: string | null;
|
|
52433
53680
|
environment: string;
|
|
@@ -52442,10 +53689,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
52442
53689
|
updated_at: string;
|
|
52443
53690
|
};
|
|
52444
53691
|
Insert: {
|
|
52445
|
-
access_token?: string | null;
|
|
52446
53692
|
api_key: string;
|
|
52447
|
-
client_id: string;
|
|
52448
|
-
client_secret: string;
|
|
52449
53693
|
created_at?: string;
|
|
52450
53694
|
customers_endpoint?: string | null;
|
|
52451
53695
|
environment: string;
|
|
@@ -52460,10 +53704,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
52460
53704
|
updated_at?: string;
|
|
52461
53705
|
};
|
|
52462
53706
|
Update: {
|
|
52463
|
-
access_token?: string | null;
|
|
52464
53707
|
api_key?: string;
|
|
52465
|
-
client_id?: string;
|
|
52466
|
-
client_secret?: string;
|
|
52467
53708
|
created_at?: string;
|
|
52468
53709
|
customers_endpoint?: string | null;
|
|
52469
53710
|
environment?: string;
|
|
@@ -52547,6 +53788,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
52547
53788
|
attempts: number;
|
|
52548
53789
|
connection_id: string;
|
|
52549
53790
|
created_at: string;
|
|
53791
|
+
dead_lettered_at: string | null;
|
|
52550
53792
|
desired_available: boolean | null;
|
|
52551
53793
|
gateway_attempt_id: string | null;
|
|
52552
53794
|
id: string;
|
|
@@ -52555,9 +53797,13 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
52555
53797
|
locked_by: string | null;
|
|
52556
53798
|
next_attempt_at: string;
|
|
52557
53799
|
number_of_pieces: number;
|
|
53800
|
+
product_id: string | null;
|
|
52558
53801
|
sent_at: string | null;
|
|
52559
53802
|
status: string;
|
|
53803
|
+
stock_mode: string | null;
|
|
52560
53804
|
superseded_by: string | null;
|
|
53805
|
+
target_week: number | null;
|
|
53806
|
+
target_year: number | null;
|
|
52561
53807
|
trade_item_id: string;
|
|
52562
53808
|
updated_at: string;
|
|
52563
53809
|
user_id: string;
|
|
@@ -52566,6 +53812,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
52566
53812
|
attempts?: number;
|
|
52567
53813
|
connection_id: string;
|
|
52568
53814
|
created_at?: string;
|
|
53815
|
+
dead_lettered_at?: string | null;
|
|
52569
53816
|
desired_available?: boolean | null;
|
|
52570
53817
|
gateway_attempt_id?: string | null;
|
|
52571
53818
|
id?: string;
|
|
@@ -52574,9 +53821,13 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
52574
53821
|
locked_by?: string | null;
|
|
52575
53822
|
next_attempt_at?: string;
|
|
52576
53823
|
number_of_pieces?: number;
|
|
53824
|
+
product_id?: string | null;
|
|
52577
53825
|
sent_at?: string | null;
|
|
52578
53826
|
status?: string;
|
|
53827
|
+
stock_mode?: string | null;
|
|
52579
53828
|
superseded_by?: string | null;
|
|
53829
|
+
target_week?: number | null;
|
|
53830
|
+
target_year?: number | null;
|
|
52580
53831
|
trade_item_id: string;
|
|
52581
53832
|
updated_at?: string;
|
|
52582
53833
|
user_id: string;
|
|
@@ -52585,6 +53836,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
52585
53836
|
attempts?: number;
|
|
52586
53837
|
connection_id?: string;
|
|
52587
53838
|
created_at?: string;
|
|
53839
|
+
dead_lettered_at?: string | null;
|
|
52588
53840
|
desired_available?: boolean | null;
|
|
52589
53841
|
gateway_attempt_id?: string | null;
|
|
52590
53842
|
id?: string;
|
|
@@ -52593,9 +53845,13 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
52593
53845
|
locked_by?: string | null;
|
|
52594
53846
|
next_attempt_at?: string;
|
|
52595
53847
|
number_of_pieces?: number;
|
|
53848
|
+
product_id?: string | null;
|
|
52596
53849
|
sent_at?: string | null;
|
|
52597
53850
|
status?: string;
|
|
53851
|
+
stock_mode?: string | null;
|
|
52598
53852
|
superseded_by?: string | null;
|
|
53853
|
+
target_week?: number | null;
|
|
53854
|
+
target_year?: number | null;
|
|
52599
53855
|
trade_item_id?: string;
|
|
52600
53856
|
updated_at?: string;
|
|
52601
53857
|
user_id?: string;
|
|
@@ -53004,6 +54260,87 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
53004
54260
|
referencedColumns: ["id"];
|
|
53005
54261
|
}];
|
|
53006
54262
|
};
|
|
54263
|
+
floriday_inventory_settings: {
|
|
54264
|
+
Row: {
|
|
54265
|
+
buffer_quantity: number;
|
|
54266
|
+
connection_id: string;
|
|
54267
|
+
created_at: string;
|
|
54268
|
+
desired_availability: boolean;
|
|
54269
|
+
desired_quantity: number;
|
|
54270
|
+
fixed_quantity: number | null;
|
|
54271
|
+
floriday_trade_item_id: string | null;
|
|
54272
|
+
id: string;
|
|
54273
|
+
last_confirmed_at: string | null;
|
|
54274
|
+
last_enqueued_at: string | null;
|
|
54275
|
+
last_published_at: string | null;
|
|
54276
|
+
last_sync_error: string | null;
|
|
54277
|
+
manual_quantity: number | null;
|
|
54278
|
+
maximum_quantity: number | null;
|
|
54279
|
+
product_id: string;
|
|
54280
|
+
quantity_control: string;
|
|
54281
|
+
remote_available: boolean | null;
|
|
54282
|
+
remote_checked_at: string | null;
|
|
54283
|
+
remote_quantity: number | null;
|
|
54284
|
+
stock_mode: string;
|
|
54285
|
+
sync_status: string;
|
|
54286
|
+
updated_at: string;
|
|
54287
|
+
updated_by: string | null;
|
|
54288
|
+
user_id: string;
|
|
54289
|
+
};
|
|
54290
|
+
Insert: {
|
|
54291
|
+
buffer_quantity?: number;
|
|
54292
|
+
connection_id: string;
|
|
54293
|
+
created_at?: string;
|
|
54294
|
+
desired_availability?: boolean;
|
|
54295
|
+
desired_quantity?: number;
|
|
54296
|
+
fixed_quantity?: number | null;
|
|
54297
|
+
floriday_trade_item_id?: string | null;
|
|
54298
|
+
id?: string;
|
|
54299
|
+
last_confirmed_at?: string | null;
|
|
54300
|
+
last_enqueued_at?: string | null;
|
|
54301
|
+
last_published_at?: string | null;
|
|
54302
|
+
last_sync_error?: string | null;
|
|
54303
|
+
manual_quantity?: number | null;
|
|
54304
|
+
maximum_quantity?: number | null;
|
|
54305
|
+
product_id: string;
|
|
54306
|
+
quantity_control?: string;
|
|
54307
|
+
remote_available?: boolean | null;
|
|
54308
|
+
remote_checked_at?: string | null;
|
|
54309
|
+
remote_quantity?: number | null;
|
|
54310
|
+
stock_mode?: string;
|
|
54311
|
+
sync_status?: string;
|
|
54312
|
+
updated_at?: string;
|
|
54313
|
+
updated_by?: string | null;
|
|
54314
|
+
user_id: string;
|
|
54315
|
+
};
|
|
54316
|
+
Update: {
|
|
54317
|
+
buffer_quantity?: number;
|
|
54318
|
+
connection_id?: string;
|
|
54319
|
+
created_at?: string;
|
|
54320
|
+
desired_availability?: boolean;
|
|
54321
|
+
desired_quantity?: number;
|
|
54322
|
+
fixed_quantity?: number | null;
|
|
54323
|
+
floriday_trade_item_id?: string | null;
|
|
54324
|
+
id?: string;
|
|
54325
|
+
last_confirmed_at?: string | null;
|
|
54326
|
+
last_enqueued_at?: string | null;
|
|
54327
|
+
last_published_at?: string | null;
|
|
54328
|
+
last_sync_error?: string | null;
|
|
54329
|
+
manual_quantity?: number | null;
|
|
54330
|
+
maximum_quantity?: number | null;
|
|
54331
|
+
product_id?: string;
|
|
54332
|
+
quantity_control?: string;
|
|
54333
|
+
remote_available?: boolean | null;
|
|
54334
|
+
remote_checked_at?: string | null;
|
|
54335
|
+
remote_quantity?: number | null;
|
|
54336
|
+
stock_mode?: string;
|
|
54337
|
+
sync_status?: string;
|
|
54338
|
+
updated_at?: string;
|
|
54339
|
+
updated_by?: string | null;
|
|
54340
|
+
user_id?: string;
|
|
54341
|
+
};
|
|
54342
|
+
Relationships: [];
|
|
54343
|
+
};
|
|
53007
54344
|
floriday_invoices_cache: {
|
|
53008
54345
|
Row: {
|
|
53009
54346
|
buyer_organization_id: string | null;
|
|
@@ -53292,6 +54629,39 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
53292
54629
|
};
|
|
53293
54630
|
Relationships: [];
|
|
53294
54631
|
};
|
|
54632
|
+
floriday_sales_order_ingest: {
|
|
54633
|
+
Row: {
|
|
54634
|
+
connection_id: string;
|
|
54635
|
+
created_at: string;
|
|
54636
|
+
id: string;
|
|
54637
|
+
impact: import("../integrations/supabase/types").Json;
|
|
54638
|
+
order_status: string | null;
|
|
54639
|
+
order_version: number;
|
|
54640
|
+
processed_at: string;
|
|
54641
|
+
sales_order_id: string;
|
|
54642
|
+
};
|
|
54643
|
+
Insert: {
|
|
54644
|
+
connection_id: string;
|
|
54645
|
+
created_at?: string;
|
|
54646
|
+
id?: string;
|
|
54647
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
54648
|
+
order_status?: string | null;
|
|
54649
|
+
order_version?: number;
|
|
54650
|
+
processed_at?: string;
|
|
54651
|
+
sales_order_id: string;
|
|
54652
|
+
};
|
|
54653
|
+
Update: {
|
|
54654
|
+
connection_id?: string;
|
|
54655
|
+
created_at?: string;
|
|
54656
|
+
id?: string;
|
|
54657
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
54658
|
+
order_status?: string | null;
|
|
54659
|
+
order_version?: number;
|
|
54660
|
+
processed_at?: string;
|
|
54661
|
+
sales_order_id?: string;
|
|
54662
|
+
};
|
|
54663
|
+
Relationships: [];
|
|
54664
|
+
};
|
|
53295
54665
|
floriday_sales_strategies_cache: {
|
|
53296
54666
|
Row: {
|
|
53297
54667
|
connection_id: string;
|
|
@@ -53391,6 +54761,39 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
53391
54761
|
};
|
|
53392
54762
|
Relationships: [];
|
|
53393
54763
|
};
|
|
54764
|
+
floriday_sync_cursors: {
|
|
54765
|
+
Row: {
|
|
54766
|
+
connection_id: string;
|
|
54767
|
+
created_at: string;
|
|
54768
|
+
id: string;
|
|
54769
|
+
last_error: string | null;
|
|
54770
|
+
last_sync_at: string | null;
|
|
54771
|
+
resource_type: string;
|
|
54772
|
+
sequence_number: number;
|
|
54773
|
+
updated_at: string;
|
|
54774
|
+
};
|
|
54775
|
+
Insert: {
|
|
54776
|
+
connection_id: string;
|
|
54777
|
+
created_at?: string;
|
|
54778
|
+
id?: string;
|
|
54779
|
+
last_error?: string | null;
|
|
54780
|
+
last_sync_at?: string | null;
|
|
54781
|
+
resource_type: string;
|
|
54782
|
+
sequence_number?: number;
|
|
54783
|
+
updated_at?: string;
|
|
54784
|
+
};
|
|
54785
|
+
Update: {
|
|
54786
|
+
connection_id?: string;
|
|
54787
|
+
created_at?: string;
|
|
54788
|
+
id?: string;
|
|
54789
|
+
last_error?: string | null;
|
|
54790
|
+
last_sync_at?: string | null;
|
|
54791
|
+
resource_type?: string;
|
|
54792
|
+
sequence_number?: number;
|
|
54793
|
+
updated_at?: string;
|
|
54794
|
+
};
|
|
54795
|
+
Relationships: [];
|
|
54796
|
+
};
|
|
53394
54797
|
floriday_sync_state: {
|
|
53395
54798
|
Row: {
|
|
53396
54799
|
connection_id: string;
|
|
@@ -54081,6 +55484,42 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
54081
55484
|
};
|
|
54082
55485
|
Relationships: [];
|
|
54083
55486
|
};
|
|
55487
|
+
inventory_stock_snapshots: {
|
|
55488
|
+
Row: {
|
|
55489
|
+
connection_id: string;
|
|
55490
|
+
created_at: string;
|
|
55491
|
+
erp_available_quantity: number;
|
|
55492
|
+
floriday_desired_quantity: number;
|
|
55493
|
+
floriday_remote_quantity: number | null;
|
|
55494
|
+
granularity: string;
|
|
55495
|
+
id: string;
|
|
55496
|
+
snapshot_at: string;
|
|
55497
|
+
user_id: string | null;
|
|
55498
|
+
};
|
|
55499
|
+
Insert: {
|
|
55500
|
+
connection_id: string;
|
|
55501
|
+
created_at?: string;
|
|
55502
|
+
erp_available_quantity?: number;
|
|
55503
|
+
floriday_desired_quantity?: number;
|
|
55504
|
+
floriday_remote_quantity?: number | null;
|
|
55505
|
+
granularity?: string;
|
|
55506
|
+
id?: string;
|
|
55507
|
+
snapshot_at?: string;
|
|
55508
|
+
user_id?: string | null;
|
|
55509
|
+
};
|
|
55510
|
+
Update: {
|
|
55511
|
+
connection_id?: string;
|
|
55512
|
+
created_at?: string;
|
|
55513
|
+
erp_available_quantity?: number;
|
|
55514
|
+
floriday_desired_quantity?: number;
|
|
55515
|
+
floriday_remote_quantity?: number | null;
|
|
55516
|
+
granularity?: string;
|
|
55517
|
+
id?: string;
|
|
55518
|
+
snapshot_at?: string;
|
|
55519
|
+
user_id?: string | null;
|
|
55520
|
+
};
|
|
55521
|
+
Relationships: [];
|
|
55522
|
+
};
|
|
54084
55523
|
invoice_items: {
|
|
54085
55524
|
Row: {
|
|
54086
55525
|
created_at: string;
|
|
@@ -60096,6 +61535,39 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
60096
61535
|
};
|
|
60097
61536
|
Relationships: [];
|
|
60098
61537
|
};
|
|
61538
|
+
print_dedupe_events: {
|
|
61539
|
+
Row: {
|
|
61540
|
+
bestaande_job_id: string | null;
|
|
61541
|
+
created_at: string;
|
|
61542
|
+
detail: string | null;
|
|
61543
|
+
documentnaam: string | null;
|
|
61544
|
+
documenttype: string | null;
|
|
61545
|
+
id: string;
|
|
61546
|
+
idempotentie_sleutel: string;
|
|
61547
|
+
reden: string;
|
|
61548
|
+
};
|
|
61549
|
+
Insert: {
|
|
61550
|
+
bestaande_job_id?: string | null;
|
|
61551
|
+
created_at?: string;
|
|
61552
|
+
detail?: string | null;
|
|
61553
|
+
documentnaam?: string | null;
|
|
61554
|
+
documenttype?: string | null;
|
|
61555
|
+
id?: string;
|
|
61556
|
+
idempotentie_sleutel: string;
|
|
61557
|
+
reden: string;
|
|
61558
|
+
};
|
|
61559
|
+
Update: {
|
|
61560
|
+
bestaande_job_id?: string | null;
|
|
61561
|
+
created_at?: string;
|
|
61562
|
+
detail?: string | null;
|
|
61563
|
+
documentnaam?: string | null;
|
|
61564
|
+
documenttype?: string | null;
|
|
61565
|
+
id?: string;
|
|
61566
|
+
idempotentie_sleutel?: string;
|
|
61567
|
+
reden?: string;
|
|
61568
|
+
};
|
|
61569
|
+
Relationships: [];
|
|
61570
|
+
};
|
|
60099
61571
|
print_job_logs: {
|
|
60100
61572
|
Row: {
|
|
60101
61573
|
created_at: string;
|
|
@@ -60146,6 +61618,9 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
60146
61618
|
is_herprint: boolean;
|
|
60147
61619
|
kopieen: number;
|
|
60148
61620
|
layout_id: string | null;
|
|
61621
|
+
lokaal_opgeslagen_op: string | null;
|
|
61622
|
+
lokale_pdf_fout: string | null;
|
|
61623
|
+
lokale_pdf_status: string | null;
|
|
60149
61624
|
opgepakt_op: string | null;
|
|
60150
61625
|
paginas: number;
|
|
60151
61626
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -60154,6 +61629,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
60154
61629
|
pogingen: number;
|
|
60155
61630
|
printer_id: string | null;
|
|
60156
61631
|
render_html: string | null;
|
|
61632
|
+
resultaat_pdf_base64: string | null;
|
|
60157
61633
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
60158
61634
|
updated_at: string;
|
|
60159
61635
|
volgende_poging: string | null;
|
|
@@ -60178,6 +61654,9 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
60178
61654
|
is_herprint?: boolean;
|
|
60179
61655
|
kopieen?: number;
|
|
60180
61656
|
layout_id?: string | null;
|
|
61657
|
+
lokaal_opgeslagen_op?: string | null;
|
|
61658
|
+
lokale_pdf_fout?: string | null;
|
|
61659
|
+
lokale_pdf_status?: string | null;
|
|
60181
61660
|
opgepakt_op?: string | null;
|
|
60182
61661
|
paginas?: number;
|
|
60183
61662
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -60186,6 +61665,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
60186
61665
|
pogingen?: number;
|
|
60187
61666
|
printer_id?: string | null;
|
|
60188
61667
|
render_html?: string | null;
|
|
61668
|
+
resultaat_pdf_base64?: string | null;
|
|
60189
61669
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
60190
61670
|
updated_at?: string;
|
|
60191
61671
|
volgende_poging?: string | null;
|
|
@@ -60210,6 +61690,9 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
60210
61690
|
is_herprint?: boolean;
|
|
60211
61691
|
kopieen?: number;
|
|
60212
61692
|
layout_id?: string | null;
|
|
61693
|
+
lokaal_opgeslagen_op?: string | null;
|
|
61694
|
+
lokale_pdf_fout?: string | null;
|
|
61695
|
+
lokale_pdf_status?: string | null;
|
|
60213
61696
|
opgepakt_op?: string | null;
|
|
60214
61697
|
paginas?: number;
|
|
60215
61698
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -60218,6 +61701,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
60218
61701
|
pogingen?: number;
|
|
60219
61702
|
printer_id?: string | null;
|
|
60220
61703
|
render_html?: string | null;
|
|
61704
|
+
resultaat_pdf_base64?: string | null;
|
|
60221
61705
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
60222
61706
|
updated_at?: string;
|
|
60223
61707
|
volgende_poging?: string | null;
|
|
@@ -60336,6 +61820,39 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
60336
61820
|
};
|
|
60337
61821
|
Relationships: [];
|
|
60338
61822
|
};
|
|
61823
|
+
print_preview_events: {
|
|
61824
|
+
Row: {
|
|
61825
|
+
code: string | null;
|
|
61826
|
+
created_at: string;
|
|
61827
|
+
detail: import("../integrations/supabase/types").Json;
|
|
61828
|
+
id: string;
|
|
61829
|
+
queue_item_id: string | null;
|
|
61830
|
+
reden: string | null;
|
|
61831
|
+
station_slug: string | null;
|
|
61832
|
+
uitkomst: string;
|
|
61833
|
+
};
|
|
61834
|
+
Insert: {
|
|
61835
|
+
code?: string | null;
|
|
61836
|
+
created_at?: string;
|
|
61837
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
61838
|
+
id?: string;
|
|
61839
|
+
queue_item_id?: string | null;
|
|
61840
|
+
reden?: string | null;
|
|
61841
|
+
station_slug?: string | null;
|
|
61842
|
+
uitkomst?: string;
|
|
61843
|
+
};
|
|
61844
|
+
Update: {
|
|
61845
|
+
code?: string | null;
|
|
61846
|
+
created_at?: string;
|
|
61847
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
61848
|
+
id?: string;
|
|
61849
|
+
queue_item_id?: string | null;
|
|
61850
|
+
reden?: string | null;
|
|
61851
|
+
station_slug?: string | null;
|
|
61852
|
+
uitkomst?: string;
|
|
61853
|
+
};
|
|
61854
|
+
Relationships: [];
|
|
61855
|
+
};
|
|
60339
61856
|
print_queue_runners: {
|
|
60340
61857
|
Row: {
|
|
60341
61858
|
actief: boolean;
|
|
@@ -60575,6 +62092,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
60575
62092
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
60576
62093
|
online: boolean;
|
|
60577
62094
|
papierformaat: string;
|
|
62095
|
+
pdf_map: string | null;
|
|
60578
62096
|
poort: number | null;
|
|
60579
62097
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
60580
62098
|
systeemnaam: string;
|
|
@@ -60600,6 +62118,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
60600
62118
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
60601
62119
|
online?: boolean;
|
|
60602
62120
|
papierformaat?: string;
|
|
62121
|
+
pdf_map?: string | null;
|
|
60603
62122
|
poort?: number | null;
|
|
60604
62123
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
60605
62124
|
systeemnaam?: string;
|
|
@@ -60625,6 +62144,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
60625
62144
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
60626
62145
|
online?: boolean;
|
|
60627
62146
|
papierformaat?: string;
|
|
62147
|
+
pdf_map?: string | null;
|
|
60628
62148
|
poort?: number | null;
|
|
60629
62149
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
60630
62150
|
systeemnaam?: string;
|
|
@@ -63194,6 +64714,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
63194
64714
|
};
|
|
63195
64715
|
trade_item_stock: {
|
|
63196
64716
|
Row: {
|
|
64717
|
+
change_source: string;
|
|
63197
64718
|
connection_id: string;
|
|
63198
64719
|
created_at: string;
|
|
63199
64720
|
id: string;
|
|
@@ -63207,6 +64728,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
63207
64728
|
user_id: string;
|
|
63208
64729
|
};
|
|
63209
64730
|
Insert: {
|
|
64731
|
+
change_source?: string;
|
|
63210
64732
|
connection_id: string;
|
|
63211
64733
|
created_at?: string;
|
|
63212
64734
|
id?: string;
|
|
@@ -63220,6 +64742,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
63220
64742
|
user_id: string;
|
|
63221
64743
|
};
|
|
63222
64744
|
Update: {
|
|
64745
|
+
change_source?: string;
|
|
63223
64746
|
connection_id?: string;
|
|
63224
64747
|
created_at?: string;
|
|
63225
64748
|
id?: string;
|
|
@@ -66820,6 +68343,18 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
66820
68343
|
Args: never;
|
|
66821
68344
|
Returns: number;
|
|
66822
68345
|
};
|
|
68346
|
+
calculate_floriday_desired_stock: {
|
|
68347
|
+
Args: {
|
|
68348
|
+
p_connection_id: string;
|
|
68349
|
+
p_product_id: string;
|
|
68350
|
+
};
|
|
68351
|
+
Returns: {
|
|
68352
|
+
desired_availability: boolean;
|
|
68353
|
+
desired_quantity: number;
|
|
68354
|
+
erp_available: number;
|
|
68355
|
+
stock_mode: string;
|
|
68356
|
+
}[];
|
|
68357
|
+
};
|
|
66823
68358
|
calculate_layer_stock: {
|
|
66824
68359
|
Args: {
|
|
66825
68360
|
p_product_id: string;
|
|
@@ -66881,6 +68416,9 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
66881
68416
|
is_herprint: boolean;
|
|
66882
68417
|
kopieen: number;
|
|
66883
68418
|
layout_id: string | null;
|
|
68419
|
+
lokaal_opgeslagen_op: string | null;
|
|
68420
|
+
lokale_pdf_fout: string | null;
|
|
68421
|
+
lokale_pdf_status: string | null;
|
|
66884
68422
|
opgepakt_op: string | null;
|
|
66885
68423
|
paginas: number;
|
|
66886
68424
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -66889,6 +68427,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
66889
68427
|
pogingen: number;
|
|
66890
68428
|
printer_id: string | null;
|
|
66891
68429
|
render_html: string | null;
|
|
68430
|
+
resultaat_pdf_base64: string | null;
|
|
66892
68431
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
66893
68432
|
updated_at: string;
|
|
66894
68433
|
volgende_poging: string | null;
|
|
@@ -66910,6 +68449,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
66910
68449
|
attempts: number;
|
|
66911
68450
|
connection_id: string;
|
|
66912
68451
|
created_at: string;
|
|
68452
|
+
dead_lettered_at: string | null;
|
|
66913
68453
|
desired_available: boolean | null;
|
|
66914
68454
|
gateway_attempt_id: string | null;
|
|
66915
68455
|
id: string;
|
|
@@ -66918,9 +68458,13 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
66918
68458
|
locked_by: string | null;
|
|
66919
68459
|
next_attempt_at: string;
|
|
66920
68460
|
number_of_pieces: number;
|
|
68461
|
+
product_id: string | null;
|
|
66921
68462
|
sent_at: string | null;
|
|
66922
68463
|
status: string;
|
|
68464
|
+
stock_mode: string | null;
|
|
66923
68465
|
superseded_by: string | null;
|
|
68466
|
+
target_week: number | null;
|
|
68467
|
+
target_year: number | null;
|
|
66924
68468
|
trade_item_id: string;
|
|
66925
68469
|
updated_at: string;
|
|
66926
68470
|
user_id: string;
|
|
@@ -66980,6 +68524,53 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
66980
68524
|
isSetofReturn: true;
|
|
66981
68525
|
};
|
|
66982
68526
|
};
|
|
68527
|
+
claim_pdf_print_jobs: {
|
|
68528
|
+
Args: {
|
|
68529
|
+
_max?: number;
|
|
68530
|
+
};
|
|
68531
|
+
Returns: {
|
|
68532
|
+
agent_id: string | null;
|
|
68533
|
+
bron_job_id: string | null;
|
|
68534
|
+
created_at: string;
|
|
68535
|
+
documentnaam: string;
|
|
68536
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
68537
|
+
extern_job_id: string | null;
|
|
68538
|
+
foutmelding: string | null;
|
|
68539
|
+
gebruiker_id: string | null;
|
|
68540
|
+
gebruiker_naam: string;
|
|
68541
|
+
gebruikte_bron: string | null;
|
|
68542
|
+
gebruikte_layout_id: string | null;
|
|
68543
|
+
gestart_op: string | null;
|
|
68544
|
+
herkomst: string | null;
|
|
68545
|
+
id: string;
|
|
68546
|
+
idempotentie_sleutel: string | null;
|
|
68547
|
+
is_herprint: boolean;
|
|
68548
|
+
kopieen: number;
|
|
68549
|
+
layout_id: string | null;
|
|
68550
|
+
lokaal_opgeslagen_op: string | null;
|
|
68551
|
+
lokale_pdf_fout: string | null;
|
|
68552
|
+
lokale_pdf_status: string | null;
|
|
68553
|
+
opgepakt_op: string | null;
|
|
68554
|
+
paginas: number;
|
|
68555
|
+
payload: import("../integrations/supabase/types").Json;
|
|
68556
|
+
pdf_base64: string | null;
|
|
68557
|
+
pdf_url: string | null;
|
|
68558
|
+
pogingen: number;
|
|
68559
|
+
printer_id: string | null;
|
|
68560
|
+
render_html: string | null;
|
|
68561
|
+
resultaat_pdf_base64: string | null;
|
|
68562
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
68563
|
+
updated_at: string;
|
|
68564
|
+
volgende_poging: string | null;
|
|
68565
|
+
voltooid_op: string | null;
|
|
68566
|
+
}[];
|
|
68567
|
+
SetofOptions: {
|
|
68568
|
+
from: "*";
|
|
68569
|
+
to: "print_jobs";
|
|
68570
|
+
isOneToOne: false;
|
|
68571
|
+
isSetofReturn: true;
|
|
68572
|
+
};
|
|
68573
|
+
};
|
|
66983
68574
|
claim_print_jobs: {
|
|
66984
68575
|
Args: {
|
|
66985
68576
|
_agent_id: string;
|
|
@@ -67004,6 +68595,9 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
67004
68595
|
is_herprint: boolean;
|
|
67005
68596
|
kopieen: number;
|
|
67006
68597
|
layout_id: string | null;
|
|
68598
|
+
lokaal_opgeslagen_op: string | null;
|
|
68599
|
+
lokale_pdf_fout: string | null;
|
|
68600
|
+
lokale_pdf_status: string | null;
|
|
67007
68601
|
opgepakt_op: string | null;
|
|
67008
68602
|
paginas: number;
|
|
67009
68603
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -67012,6 +68606,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
67012
68606
|
pogingen: number;
|
|
67013
68607
|
printer_id: string | null;
|
|
67014
68608
|
render_html: string | null;
|
|
68609
|
+
resultaat_pdf_base64: string | null;
|
|
67015
68610
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
67016
68611
|
updated_at: string;
|
|
67017
68612
|
volgende_poging: string | null;
|
|
@@ -67152,6 +68747,8 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
67152
68747
|
order_id: string;
|
|
67153
68748
|
order_source: string;
|
|
67154
68749
|
pick_date: string;
|
|
68750
|
+
printed_at: string;
|
|
68751
|
+
printed_today: boolean;
|
|
67155
68752
|
status: string;
|
|
67156
68753
|
}[];
|
|
67157
68754
|
};
|
|
@@ -67348,6 +68945,24 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
67348
68945
|
};
|
|
67349
68946
|
Returns: string;
|
|
67350
68947
|
};
|
|
68948
|
+
floriday_capture_stock_snapshot: {
|
|
68949
|
+
Args: never;
|
|
68950
|
+
Returns: number;
|
|
68951
|
+
};
|
|
68952
|
+
floriday_cleanup_stock_queue_v2: {
|
|
68953
|
+
Args: never;
|
|
68954
|
+
Returns: undefined;
|
|
68955
|
+
};
|
|
68956
|
+
floriday_compact_stock_snapshots: {
|
|
68957
|
+
Args: never;
|
|
68958
|
+
Returns: undefined;
|
|
68959
|
+
};
|
|
68960
|
+
floriday_default_owner: {
|
|
68961
|
+
Args: {
|
|
68962
|
+
p_connection_id: string;
|
|
68963
|
+
};
|
|
68964
|
+
Returns: string;
|
|
68965
|
+
};
|
|
67351
68966
|
floriday_effective_price: {
|
|
67352
68967
|
Args: {
|
|
67353
68968
|
_buyer_id: string;
|
|
@@ -67365,6 +68980,22 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
67365
68980
|
source_id: string;
|
|
67366
68981
|
}[];
|
|
67367
68982
|
};
|
|
68983
|
+
floriday_fill_publish_horizon: {
|
|
68984
|
+
Args: never;
|
|
68985
|
+
Returns: number;
|
|
68986
|
+
};
|
|
68987
|
+
floriday_publish_horizon_weeks: {
|
|
68988
|
+
Args: never;
|
|
68989
|
+
Returns: number;
|
|
68990
|
+
};
|
|
68991
|
+
floriday_recompute_inventory: {
|
|
68992
|
+
Args: {
|
|
68993
|
+
p_connection_id: string;
|
|
68994
|
+
p_force?: boolean;
|
|
68995
|
+
p_product_id: string;
|
|
68996
|
+
};
|
|
68997
|
+
Returns: undefined;
|
|
68998
|
+
};
|
|
67368
68999
|
format_cart_number: {
|
|
67369
69000
|
Args: {
|
|
67370
69001
|
p_pick_date: string;
|
|
@@ -67860,6 +69491,10 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
67860
69491
|
};
|
|
67861
69492
|
Returns: number;
|
|
67862
69493
|
};
|
|
69494
|
+
logistics_cancel_orphan_tasks: {
|
|
69495
|
+
Args: never;
|
|
69496
|
+
Returns: number;
|
|
69497
|
+
};
|
|
67863
69498
|
logistics_capacity_day_check: {
|
|
67864
69499
|
Args: {
|
|
67865
69500
|
p_from?: string;
|
|
@@ -67880,6 +69515,25 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
67880
69515
|
};
|
|
67881
69516
|
Returns: number;
|
|
67882
69517
|
};
|
|
69518
|
+
logistics_cart_index: {
|
|
69519
|
+
Args: {
|
|
69520
|
+
p_from?: string;
|
|
69521
|
+
p_to?: string;
|
|
69522
|
+
};
|
|
69523
|
+
Returns: {
|
|
69524
|
+
cart_id: string;
|
|
69525
|
+
cart_index: number;
|
|
69526
|
+
cart_label: string;
|
|
69527
|
+
is_shared: boolean;
|
|
69528
|
+
order_number: string;
|
|
69529
|
+
order_source: string;
|
|
69530
|
+
order_uuid: string;
|
|
69531
|
+
pick_date: string;
|
|
69532
|
+
printed_at: string;
|
|
69533
|
+
shifted: boolean;
|
|
69534
|
+
task_status: string;
|
|
69535
|
+
}[];
|
|
69536
|
+
};
|
|
67883
69537
|
logistics_check_order_allowed: {
|
|
67884
69538
|
Args: {
|
|
67885
69539
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -68028,6 +69682,17 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
68028
69682
|
isSetofReturn: false;
|
|
68029
69683
|
};
|
|
68030
69684
|
};
|
|
69685
|
+
logistics_consistency_check: {
|
|
69686
|
+
Args: never;
|
|
69687
|
+
Returns: {
|
|
69688
|
+
agenda_carts: number;
|
|
69689
|
+
control_carts: number;
|
|
69690
|
+
ok: boolean;
|
|
69691
|
+
orphan_tasks: number;
|
|
69692
|
+
pick_date: string;
|
|
69693
|
+
raw_carts: number;
|
|
69694
|
+
}[];
|
|
69695
|
+
};
|
|
68031
69696
|
logistics_delay_customer_email: {
|
|
68032
69697
|
Args: {
|
|
68033
69698
|
p_customer: string;
|
|
@@ -68117,6 +69782,16 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
68117
69782
|
isSetofReturn: false;
|
|
68118
69783
|
};
|
|
68119
69784
|
};
|
|
69785
|
+
logistics_floriday_cart_plan: {
|
|
69786
|
+
Args: {
|
|
69787
|
+
p_order_id: string;
|
|
69788
|
+
};
|
|
69789
|
+
Returns: {
|
|
69790
|
+
carrier_type: string;
|
|
69791
|
+
idx: number;
|
|
69792
|
+
packages: number;
|
|
69793
|
+
}[];
|
|
69794
|
+
};
|
|
68120
69795
|
logistics_floriday_claim_pushes: {
|
|
68121
69796
|
Args: {
|
|
68122
69797
|
_lease_seconds?: number;
|
|
@@ -68221,6 +69896,25 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
68221
69896
|
};
|
|
68222
69897
|
Returns: number;
|
|
68223
69898
|
};
|
|
69899
|
+
logistics_order_overview: {
|
|
69900
|
+
Args: {
|
|
69901
|
+
p_from?: string;
|
|
69902
|
+
p_to?: string;
|
|
69903
|
+
};
|
|
69904
|
+
Returns: {
|
|
69905
|
+
cart_count: number;
|
|
69906
|
+
customer_name: string;
|
|
69907
|
+
delivery_date: string;
|
|
69908
|
+
order_number: string;
|
|
69909
|
+
order_source: string;
|
|
69910
|
+
order_uuid: string;
|
|
69911
|
+
pick_date: string;
|
|
69912
|
+
plant_count: number;
|
|
69913
|
+
printed_at: string;
|
|
69914
|
+
shifted: boolean;
|
|
69915
|
+
status: string;
|
|
69916
|
+
}[];
|
|
69917
|
+
};
|
|
68224
69918
|
logistics_order_pick_day: {
|
|
68225
69919
|
Args: {
|
|
68226
69920
|
p_order_ref: string;
|
|
@@ -68233,6 +69927,22 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
68233
69927
|
};
|
|
68234
69928
|
Returns: string;
|
|
68235
69929
|
};
|
|
69930
|
+
logistics_pick_agenda: {
|
|
69931
|
+
Args: {
|
|
69932
|
+
p_from?: string;
|
|
69933
|
+
p_to?: string;
|
|
69934
|
+
};
|
|
69935
|
+
Returns: {
|
|
69936
|
+
cart_count: number;
|
|
69937
|
+
in_preparation: number;
|
|
69938
|
+
order_count: number;
|
|
69939
|
+
orders: import("../integrations/supabase/types").Json;
|
|
69940
|
+
pick_date: string;
|
|
69941
|
+
plant_count: number;
|
|
69942
|
+
ready: number;
|
|
69943
|
+
shifted_count: number;
|
|
69944
|
+
}[];
|
|
69945
|
+
};
|
|
68236
69946
|
logistics_pick_email_purpose: {
|
|
68237
69947
|
Args: never;
|
|
68238
69948
|
Returns: string;
|
|
@@ -68287,6 +69997,13 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
68287
69997
|
};
|
|
68288
69998
|
Returns: undefined;
|
|
68289
69999
|
};
|
|
70000
|
+
logistics_plan_floriday_order: {
|
|
70001
|
+
Args: {
|
|
70002
|
+
p_buffer_id?: string;
|
|
70003
|
+
p_order_id: string;
|
|
70004
|
+
};
|
|
70005
|
+
Returns: number;
|
|
70006
|
+
};
|
|
68290
70007
|
logistics_plan_impact_orders: {
|
|
68291
70008
|
Args: {
|
|
68292
70009
|
p_order_id: string;
|
|
@@ -68392,6 +70109,15 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
68392
70109
|
};
|
|
68393
70110
|
Returns: import("../integrations/supabase/types").Json;
|
|
68394
70111
|
};
|
|
70112
|
+
logistics_resolve_pick_document: {
|
|
70113
|
+
Args: {
|
|
70114
|
+
_is_herprint: boolean;
|
|
70115
|
+
_queue_item_id: string;
|
|
70116
|
+
_session_id: string;
|
|
70117
|
+
_voorbeeld: boolean;
|
|
70118
|
+
};
|
|
70119
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
70120
|
+
};
|
|
68395
70121
|
logistics_resolve_settings: {
|
|
68396
70122
|
Args: {
|
|
68397
70123
|
p_config_id: string;
|
|
@@ -68832,6 +70558,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
68832
70558
|
};
|
|
68833
70559
|
pick_enqueue_print_job: {
|
|
68834
70560
|
Args: {
|
|
70561
|
+
_is_herprint?: boolean;
|
|
68835
70562
|
_printer_id?: string;
|
|
68836
70563
|
_queue_item_id: string;
|
|
68837
70564
|
_session_id?: string;
|
|
@@ -68845,6 +70572,13 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
68845
70572
|
};
|
|
68846
70573
|
Returns: import("../integrations/supabase/types").Json;
|
|
68847
70574
|
};
|
|
70575
|
+
pick_preview_job: {
|
|
70576
|
+
Args: {
|
|
70577
|
+
_queue_item_id: string;
|
|
70578
|
+
_station_slug: string;
|
|
70579
|
+
};
|
|
70580
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
70581
|
+
};
|
|
68848
70582
|
pick_print_job_status: {
|
|
68849
70583
|
Args: {
|
|
68850
70584
|
_job_id: string;
|
|
@@ -69022,6 +70756,24 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
69022
70756
|
};
|
|
69023
70757
|
Returns: undefined;
|
|
69024
70758
|
};
|
|
70759
|
+
print_preview_toestaan: {
|
|
70760
|
+
Args: {
|
|
70761
|
+
_max?: number;
|
|
70762
|
+
_queue_item_id: string;
|
|
70763
|
+
_station_slug: string;
|
|
70764
|
+
_venster_sec?: number;
|
|
70765
|
+
};
|
|
70766
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
70767
|
+
};
|
|
70768
|
+
print_preview_weiger: {
|
|
70769
|
+
Args: {
|
|
70770
|
+
_code: string;
|
|
70771
|
+
_queue_item_id: string;
|
|
70772
|
+
_reden: string;
|
|
70773
|
+
_station_slug: string;
|
|
70774
|
+
};
|
|
70775
|
+
Returns: undefined;
|
|
70776
|
+
};
|
|
69025
70777
|
process_logistics_event: {
|
|
69026
70778
|
Args: {
|
|
69027
70779
|
p_event_id: string;
|
|
@@ -69176,6 +70928,12 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
69176
70928
|
};
|
|
69177
70929
|
Returns: string;
|
|
69178
70930
|
};
|
|
70931
|
+
resolve_print_job_printer_id: {
|
|
70932
|
+
Args: {
|
|
70933
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
70934
|
+
};
|
|
70935
|
+
Returns: string;
|
|
70936
|
+
};
|
|
69179
70937
|
resolve_product_id_for_item: {
|
|
69180
70938
|
Args: {
|
|
69181
70939
|
p_product_name: string;
|
|
@@ -69767,7 +71525,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
69767
71525
|
};
|
|
69768
71526
|
CompositeTypes: { [_ in never]: never; };
|
|
69769
71527
|
}, {
|
|
69770
|
-
PostgrestVersion: "14.
|
|
71528
|
+
PostgrestVersion: "14.5";
|
|
69771
71529
|
}>;
|
|
69772
71530
|
userId: string;
|
|
69773
71531
|
claims: import("@supabase/auth-js").User;
|
|
@@ -72632,6 +74390,84 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
72632
74390
|
};
|
|
72633
74391
|
Relationships: [];
|
|
72634
74392
|
};
|
|
74393
|
+
delivery_notes: {
|
|
74394
|
+
Row: {
|
|
74395
|
+
byte_size: number | null;
|
|
74396
|
+
connection_id: string | null;
|
|
74397
|
+
content_type: string;
|
|
74398
|
+
created_at: string;
|
|
74399
|
+
error_message: string | null;
|
|
74400
|
+
fetched_at: string | null;
|
|
74401
|
+
fulfillment_order_id: string | null;
|
|
74402
|
+
http_status: number | null;
|
|
74403
|
+
id: string;
|
|
74404
|
+
label_code: string | null;
|
|
74405
|
+
letter: string | null;
|
|
74406
|
+
load_carrier_index: number | null;
|
|
74407
|
+
load_carrier_type: string | null;
|
|
74408
|
+
order_id: string | null;
|
|
74409
|
+
order_number: string | null;
|
|
74410
|
+
packages: number | null;
|
|
74411
|
+
source: string;
|
|
74412
|
+
status: string;
|
|
74413
|
+
storage_bucket: string;
|
|
74414
|
+
storage_path: string | null;
|
|
74415
|
+
updated_at: string;
|
|
74416
|
+
};
|
|
74417
|
+
Insert: {
|
|
74418
|
+
byte_size?: number | null;
|
|
74419
|
+
connection_id?: string | null;
|
|
74420
|
+
content_type?: string;
|
|
74421
|
+
created_at?: string;
|
|
74422
|
+
error_message?: string | null;
|
|
74423
|
+
fetched_at?: string | null;
|
|
74424
|
+
fulfillment_order_id?: string | null;
|
|
74425
|
+
http_status?: number | null;
|
|
74426
|
+
id?: string;
|
|
74427
|
+
label_code?: string | null;
|
|
74428
|
+
letter?: string | null;
|
|
74429
|
+
load_carrier_index?: number | null;
|
|
74430
|
+
load_carrier_type?: string | null;
|
|
74431
|
+
order_id?: string | null;
|
|
74432
|
+
order_number?: string | null;
|
|
74433
|
+
packages?: number | null;
|
|
74434
|
+
source?: string;
|
|
74435
|
+
status?: string;
|
|
74436
|
+
storage_bucket?: string;
|
|
74437
|
+
storage_path?: string | null;
|
|
74438
|
+
updated_at?: string;
|
|
74439
|
+
};
|
|
74440
|
+
Update: {
|
|
74441
|
+
byte_size?: number | null;
|
|
74442
|
+
connection_id?: string | null;
|
|
74443
|
+
content_type?: string;
|
|
74444
|
+
created_at?: string;
|
|
74445
|
+
error_message?: string | null;
|
|
74446
|
+
fetched_at?: string | null;
|
|
74447
|
+
fulfillment_order_id?: string | null;
|
|
74448
|
+
http_status?: number | null;
|
|
74449
|
+
id?: string;
|
|
74450
|
+
label_code?: string | null;
|
|
74451
|
+
letter?: string | null;
|
|
74452
|
+
load_carrier_index?: number | null;
|
|
74453
|
+
load_carrier_type?: string | null;
|
|
74454
|
+
order_id?: string | null;
|
|
74455
|
+
order_number?: string | null;
|
|
74456
|
+
packages?: number | null;
|
|
74457
|
+
source?: string;
|
|
74458
|
+
status?: string;
|
|
74459
|
+
storage_bucket?: string;
|
|
74460
|
+
storage_path?: string | null;
|
|
74461
|
+
updated_at?: string;
|
|
74462
|
+
};
|
|
74463
|
+
Relationships: [{
|
|
74464
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
74465
|
+
columns: ["order_id"];
|
|
74466
|
+
isOneToOne: false;
|
|
74467
|
+
referencedRelation: "orders";
|
|
74468
|
+
referencedColumns: ["id"];
|
|
74469
|
+
}];
|
|
74470
|
+
};
|
|
72635
74471
|
document_bronregels: {
|
|
72636
74472
|
Row: {
|
|
72637
74473
|
bron: string;
|
|
@@ -75685,10 +77521,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
75685
77521
|
};
|
|
75686
77522
|
floriday_connections: {
|
|
75687
77523
|
Row: {
|
|
75688
|
-
access_token: string | null;
|
|
75689
77524
|
api_key: string;
|
|
75690
|
-
client_id: string;
|
|
75691
|
-
client_secret: string;
|
|
75692
77525
|
created_at: string;
|
|
75693
77526
|
customers_endpoint: string | null;
|
|
75694
77527
|
environment: string;
|
|
@@ -75703,10 +77536,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
75703
77536
|
updated_at: string;
|
|
75704
77537
|
};
|
|
75705
77538
|
Insert: {
|
|
75706
|
-
access_token?: string | null;
|
|
75707
77539
|
api_key: string;
|
|
75708
|
-
client_id: string;
|
|
75709
|
-
client_secret: string;
|
|
75710
77540
|
created_at?: string;
|
|
75711
77541
|
customers_endpoint?: string | null;
|
|
75712
77542
|
environment: string;
|
|
@@ -75721,10 +77551,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
75721
77551
|
updated_at?: string;
|
|
75722
77552
|
};
|
|
75723
77553
|
Update: {
|
|
75724
|
-
access_token?: string | null;
|
|
75725
77554
|
api_key?: string;
|
|
75726
|
-
client_id?: string;
|
|
75727
|
-
client_secret?: string;
|
|
75728
77555
|
created_at?: string;
|
|
75729
77556
|
customers_endpoint?: string | null;
|
|
75730
77557
|
environment?: string;
|
|
@@ -75808,6 +77635,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
75808
77635
|
attempts: number;
|
|
75809
77636
|
connection_id: string;
|
|
75810
77637
|
created_at: string;
|
|
77638
|
+
dead_lettered_at: string | null;
|
|
75811
77639
|
desired_available: boolean | null;
|
|
75812
77640
|
gateway_attempt_id: string | null;
|
|
75813
77641
|
id: string;
|
|
@@ -75816,9 +77644,13 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
75816
77644
|
locked_by: string | null;
|
|
75817
77645
|
next_attempt_at: string;
|
|
75818
77646
|
number_of_pieces: number;
|
|
77647
|
+
product_id: string | null;
|
|
75819
77648
|
sent_at: string | null;
|
|
75820
77649
|
status: string;
|
|
77650
|
+
stock_mode: string | null;
|
|
75821
77651
|
superseded_by: string | null;
|
|
77652
|
+
target_week: number | null;
|
|
77653
|
+
target_year: number | null;
|
|
75822
77654
|
trade_item_id: string;
|
|
75823
77655
|
updated_at: string;
|
|
75824
77656
|
user_id: string;
|
|
@@ -75827,6 +77659,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
75827
77659
|
attempts?: number;
|
|
75828
77660
|
connection_id: string;
|
|
75829
77661
|
created_at?: string;
|
|
77662
|
+
dead_lettered_at?: string | null;
|
|
75830
77663
|
desired_available?: boolean | null;
|
|
75831
77664
|
gateway_attempt_id?: string | null;
|
|
75832
77665
|
id?: string;
|
|
@@ -75835,9 +77668,13 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
75835
77668
|
locked_by?: string | null;
|
|
75836
77669
|
next_attempt_at?: string;
|
|
75837
77670
|
number_of_pieces?: number;
|
|
77671
|
+
product_id?: string | null;
|
|
75838
77672
|
sent_at?: string | null;
|
|
75839
77673
|
status?: string;
|
|
77674
|
+
stock_mode?: string | null;
|
|
75840
77675
|
superseded_by?: string | null;
|
|
77676
|
+
target_week?: number | null;
|
|
77677
|
+
target_year?: number | null;
|
|
75841
77678
|
trade_item_id: string;
|
|
75842
77679
|
updated_at?: string;
|
|
75843
77680
|
user_id: string;
|
|
@@ -75846,6 +77683,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
75846
77683
|
attempts?: number;
|
|
75847
77684
|
connection_id?: string;
|
|
75848
77685
|
created_at?: string;
|
|
77686
|
+
dead_lettered_at?: string | null;
|
|
75849
77687
|
desired_available?: boolean | null;
|
|
75850
77688
|
gateway_attempt_id?: string | null;
|
|
75851
77689
|
id?: string;
|
|
@@ -75854,9 +77692,13 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
75854
77692
|
locked_by?: string | null;
|
|
75855
77693
|
next_attempt_at?: string;
|
|
75856
77694
|
number_of_pieces?: number;
|
|
77695
|
+
product_id?: string | null;
|
|
75857
77696
|
sent_at?: string | null;
|
|
75858
77697
|
status?: string;
|
|
77698
|
+
stock_mode?: string | null;
|
|
75859
77699
|
superseded_by?: string | null;
|
|
77700
|
+
target_week?: number | null;
|
|
77701
|
+
target_year?: number | null;
|
|
75860
77702
|
trade_item_id?: string;
|
|
75861
77703
|
updated_at?: string;
|
|
75862
77704
|
user_id?: string;
|
|
@@ -76265,6 +78107,87 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
76265
78107
|
referencedColumns: ["id"];
|
|
76266
78108
|
}];
|
|
76267
78109
|
};
|
|
78110
|
+
floriday_inventory_settings: {
|
|
78111
|
+
Row: {
|
|
78112
|
+
buffer_quantity: number;
|
|
78113
|
+
connection_id: string;
|
|
78114
|
+
created_at: string;
|
|
78115
|
+
desired_availability: boolean;
|
|
78116
|
+
desired_quantity: number;
|
|
78117
|
+
fixed_quantity: number | null;
|
|
78118
|
+
floriday_trade_item_id: string | null;
|
|
78119
|
+
id: string;
|
|
78120
|
+
last_confirmed_at: string | null;
|
|
78121
|
+
last_enqueued_at: string | null;
|
|
78122
|
+
last_published_at: string | null;
|
|
78123
|
+
last_sync_error: string | null;
|
|
78124
|
+
manual_quantity: number | null;
|
|
78125
|
+
maximum_quantity: number | null;
|
|
78126
|
+
product_id: string;
|
|
78127
|
+
quantity_control: string;
|
|
78128
|
+
remote_available: boolean | null;
|
|
78129
|
+
remote_checked_at: string | null;
|
|
78130
|
+
remote_quantity: number | null;
|
|
78131
|
+
stock_mode: string;
|
|
78132
|
+
sync_status: string;
|
|
78133
|
+
updated_at: string;
|
|
78134
|
+
updated_by: string | null;
|
|
78135
|
+
user_id: string;
|
|
78136
|
+
};
|
|
78137
|
+
Insert: {
|
|
78138
|
+
buffer_quantity?: number;
|
|
78139
|
+
connection_id: string;
|
|
78140
|
+
created_at?: string;
|
|
78141
|
+
desired_availability?: boolean;
|
|
78142
|
+
desired_quantity?: number;
|
|
78143
|
+
fixed_quantity?: number | null;
|
|
78144
|
+
floriday_trade_item_id?: string | null;
|
|
78145
|
+
id?: string;
|
|
78146
|
+
last_confirmed_at?: string | null;
|
|
78147
|
+
last_enqueued_at?: string | null;
|
|
78148
|
+
last_published_at?: string | null;
|
|
78149
|
+
last_sync_error?: string | null;
|
|
78150
|
+
manual_quantity?: number | null;
|
|
78151
|
+
maximum_quantity?: number | null;
|
|
78152
|
+
product_id: string;
|
|
78153
|
+
quantity_control?: string;
|
|
78154
|
+
remote_available?: boolean | null;
|
|
78155
|
+
remote_checked_at?: string | null;
|
|
78156
|
+
remote_quantity?: number | null;
|
|
78157
|
+
stock_mode?: string;
|
|
78158
|
+
sync_status?: string;
|
|
78159
|
+
updated_at?: string;
|
|
78160
|
+
updated_by?: string | null;
|
|
78161
|
+
user_id: string;
|
|
78162
|
+
};
|
|
78163
|
+
Update: {
|
|
78164
|
+
buffer_quantity?: number;
|
|
78165
|
+
connection_id?: string;
|
|
78166
|
+
created_at?: string;
|
|
78167
|
+
desired_availability?: boolean;
|
|
78168
|
+
desired_quantity?: number;
|
|
78169
|
+
fixed_quantity?: number | null;
|
|
78170
|
+
floriday_trade_item_id?: string | null;
|
|
78171
|
+
id?: string;
|
|
78172
|
+
last_confirmed_at?: string | null;
|
|
78173
|
+
last_enqueued_at?: string | null;
|
|
78174
|
+
last_published_at?: string | null;
|
|
78175
|
+
last_sync_error?: string | null;
|
|
78176
|
+
manual_quantity?: number | null;
|
|
78177
|
+
maximum_quantity?: number | null;
|
|
78178
|
+
product_id?: string;
|
|
78179
|
+
quantity_control?: string;
|
|
78180
|
+
remote_available?: boolean | null;
|
|
78181
|
+
remote_checked_at?: string | null;
|
|
78182
|
+
remote_quantity?: number | null;
|
|
78183
|
+
stock_mode?: string;
|
|
78184
|
+
sync_status?: string;
|
|
78185
|
+
updated_at?: string;
|
|
78186
|
+
updated_by?: string | null;
|
|
78187
|
+
user_id?: string;
|
|
78188
|
+
};
|
|
78189
|
+
Relationships: [];
|
|
78190
|
+
};
|
|
76268
78191
|
floriday_invoices_cache: {
|
|
76269
78192
|
Row: {
|
|
76270
78193
|
buyer_organization_id: string | null;
|
|
@@ -76553,6 +78476,39 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
76553
78476
|
};
|
|
76554
78477
|
Relationships: [];
|
|
76555
78478
|
};
|
|
78479
|
+
floriday_sales_order_ingest: {
|
|
78480
|
+
Row: {
|
|
78481
|
+
connection_id: string;
|
|
78482
|
+
created_at: string;
|
|
78483
|
+
id: string;
|
|
78484
|
+
impact: import("../integrations/supabase/types").Json;
|
|
78485
|
+
order_status: string | null;
|
|
78486
|
+
order_version: number;
|
|
78487
|
+
processed_at: string;
|
|
78488
|
+
sales_order_id: string;
|
|
78489
|
+
};
|
|
78490
|
+
Insert: {
|
|
78491
|
+
connection_id: string;
|
|
78492
|
+
created_at?: string;
|
|
78493
|
+
id?: string;
|
|
78494
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
78495
|
+
order_status?: string | null;
|
|
78496
|
+
order_version?: number;
|
|
78497
|
+
processed_at?: string;
|
|
78498
|
+
sales_order_id: string;
|
|
78499
|
+
};
|
|
78500
|
+
Update: {
|
|
78501
|
+
connection_id?: string;
|
|
78502
|
+
created_at?: string;
|
|
78503
|
+
id?: string;
|
|
78504
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
78505
|
+
order_status?: string | null;
|
|
78506
|
+
order_version?: number;
|
|
78507
|
+
processed_at?: string;
|
|
78508
|
+
sales_order_id?: string;
|
|
78509
|
+
};
|
|
78510
|
+
Relationships: [];
|
|
78511
|
+
};
|
|
76556
78512
|
floriday_sales_strategies_cache: {
|
|
76557
78513
|
Row: {
|
|
76558
78514
|
connection_id: string;
|
|
@@ -76652,6 +78608,39 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
76652
78608
|
};
|
|
76653
78609
|
Relationships: [];
|
|
76654
78610
|
};
|
|
78611
|
+
floriday_sync_cursors: {
|
|
78612
|
+
Row: {
|
|
78613
|
+
connection_id: string;
|
|
78614
|
+
created_at: string;
|
|
78615
|
+
id: string;
|
|
78616
|
+
last_error: string | null;
|
|
78617
|
+
last_sync_at: string | null;
|
|
78618
|
+
resource_type: string;
|
|
78619
|
+
sequence_number: number;
|
|
78620
|
+
updated_at: string;
|
|
78621
|
+
};
|
|
78622
|
+
Insert: {
|
|
78623
|
+
connection_id: string;
|
|
78624
|
+
created_at?: string;
|
|
78625
|
+
id?: string;
|
|
78626
|
+
last_error?: string | null;
|
|
78627
|
+
last_sync_at?: string | null;
|
|
78628
|
+
resource_type: string;
|
|
78629
|
+
sequence_number?: number;
|
|
78630
|
+
updated_at?: string;
|
|
78631
|
+
};
|
|
78632
|
+
Update: {
|
|
78633
|
+
connection_id?: string;
|
|
78634
|
+
created_at?: string;
|
|
78635
|
+
id?: string;
|
|
78636
|
+
last_error?: string | null;
|
|
78637
|
+
last_sync_at?: string | null;
|
|
78638
|
+
resource_type?: string;
|
|
78639
|
+
sequence_number?: number;
|
|
78640
|
+
updated_at?: string;
|
|
78641
|
+
};
|
|
78642
|
+
Relationships: [];
|
|
78643
|
+
};
|
|
76655
78644
|
floriday_sync_state: {
|
|
76656
78645
|
Row: {
|
|
76657
78646
|
connection_id: string;
|
|
@@ -77342,6 +79331,42 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
77342
79331
|
};
|
|
77343
79332
|
Relationships: [];
|
|
77344
79333
|
};
|
|
79334
|
+
inventory_stock_snapshots: {
|
|
79335
|
+
Row: {
|
|
79336
|
+
connection_id: string;
|
|
79337
|
+
created_at: string;
|
|
79338
|
+
erp_available_quantity: number;
|
|
79339
|
+
floriday_desired_quantity: number;
|
|
79340
|
+
floriday_remote_quantity: number | null;
|
|
79341
|
+
granularity: string;
|
|
79342
|
+
id: string;
|
|
79343
|
+
snapshot_at: string;
|
|
79344
|
+
user_id: string | null;
|
|
79345
|
+
};
|
|
79346
|
+
Insert: {
|
|
79347
|
+
connection_id: string;
|
|
79348
|
+
created_at?: string;
|
|
79349
|
+
erp_available_quantity?: number;
|
|
79350
|
+
floriday_desired_quantity?: number;
|
|
79351
|
+
floriday_remote_quantity?: number | null;
|
|
79352
|
+
granularity?: string;
|
|
79353
|
+
id?: string;
|
|
79354
|
+
snapshot_at?: string;
|
|
79355
|
+
user_id?: string | null;
|
|
79356
|
+
};
|
|
79357
|
+
Update: {
|
|
79358
|
+
connection_id?: string;
|
|
79359
|
+
created_at?: string;
|
|
79360
|
+
erp_available_quantity?: number;
|
|
79361
|
+
floriday_desired_quantity?: number;
|
|
79362
|
+
floriday_remote_quantity?: number | null;
|
|
79363
|
+
granularity?: string;
|
|
79364
|
+
id?: string;
|
|
79365
|
+
snapshot_at?: string;
|
|
79366
|
+
user_id?: string | null;
|
|
79367
|
+
};
|
|
79368
|
+
Relationships: [];
|
|
79369
|
+
};
|
|
77345
79370
|
invoice_items: {
|
|
77346
79371
|
Row: {
|
|
77347
79372
|
created_at: string;
|
|
@@ -83357,6 +85382,39 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
83357
85382
|
};
|
|
83358
85383
|
Relationships: [];
|
|
83359
85384
|
};
|
|
85385
|
+
print_dedupe_events: {
|
|
85386
|
+
Row: {
|
|
85387
|
+
bestaande_job_id: string | null;
|
|
85388
|
+
created_at: string;
|
|
85389
|
+
detail: string | null;
|
|
85390
|
+
documentnaam: string | null;
|
|
85391
|
+
documenttype: string | null;
|
|
85392
|
+
id: string;
|
|
85393
|
+
idempotentie_sleutel: string;
|
|
85394
|
+
reden: string;
|
|
85395
|
+
};
|
|
85396
|
+
Insert: {
|
|
85397
|
+
bestaande_job_id?: string | null;
|
|
85398
|
+
created_at?: string;
|
|
85399
|
+
detail?: string | null;
|
|
85400
|
+
documentnaam?: string | null;
|
|
85401
|
+
documenttype?: string | null;
|
|
85402
|
+
id?: string;
|
|
85403
|
+
idempotentie_sleutel: string;
|
|
85404
|
+
reden: string;
|
|
85405
|
+
};
|
|
85406
|
+
Update: {
|
|
85407
|
+
bestaande_job_id?: string | null;
|
|
85408
|
+
created_at?: string;
|
|
85409
|
+
detail?: string | null;
|
|
85410
|
+
documentnaam?: string | null;
|
|
85411
|
+
documenttype?: string | null;
|
|
85412
|
+
id?: string;
|
|
85413
|
+
idempotentie_sleutel?: string;
|
|
85414
|
+
reden?: string;
|
|
85415
|
+
};
|
|
85416
|
+
Relationships: [];
|
|
85417
|
+
};
|
|
83360
85418
|
print_job_logs: {
|
|
83361
85419
|
Row: {
|
|
83362
85420
|
created_at: string;
|
|
@@ -83407,6 +85465,9 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
83407
85465
|
is_herprint: boolean;
|
|
83408
85466
|
kopieen: number;
|
|
83409
85467
|
layout_id: string | null;
|
|
85468
|
+
lokaal_opgeslagen_op: string | null;
|
|
85469
|
+
lokale_pdf_fout: string | null;
|
|
85470
|
+
lokale_pdf_status: string | null;
|
|
83410
85471
|
opgepakt_op: string | null;
|
|
83411
85472
|
paginas: number;
|
|
83412
85473
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -83415,6 +85476,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
83415
85476
|
pogingen: number;
|
|
83416
85477
|
printer_id: string | null;
|
|
83417
85478
|
render_html: string | null;
|
|
85479
|
+
resultaat_pdf_base64: string | null;
|
|
83418
85480
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
83419
85481
|
updated_at: string;
|
|
83420
85482
|
volgende_poging: string | null;
|
|
@@ -83439,6 +85501,9 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
83439
85501
|
is_herprint?: boolean;
|
|
83440
85502
|
kopieen?: number;
|
|
83441
85503
|
layout_id?: string | null;
|
|
85504
|
+
lokaal_opgeslagen_op?: string | null;
|
|
85505
|
+
lokale_pdf_fout?: string | null;
|
|
85506
|
+
lokale_pdf_status?: string | null;
|
|
83442
85507
|
opgepakt_op?: string | null;
|
|
83443
85508
|
paginas?: number;
|
|
83444
85509
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -83447,6 +85512,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
83447
85512
|
pogingen?: number;
|
|
83448
85513
|
printer_id?: string | null;
|
|
83449
85514
|
render_html?: string | null;
|
|
85515
|
+
resultaat_pdf_base64?: string | null;
|
|
83450
85516
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
83451
85517
|
updated_at?: string;
|
|
83452
85518
|
volgende_poging?: string | null;
|
|
@@ -83471,6 +85537,9 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
83471
85537
|
is_herprint?: boolean;
|
|
83472
85538
|
kopieen?: number;
|
|
83473
85539
|
layout_id?: string | null;
|
|
85540
|
+
lokaal_opgeslagen_op?: string | null;
|
|
85541
|
+
lokale_pdf_fout?: string | null;
|
|
85542
|
+
lokale_pdf_status?: string | null;
|
|
83474
85543
|
opgepakt_op?: string | null;
|
|
83475
85544
|
paginas?: number;
|
|
83476
85545
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -83479,6 +85548,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
83479
85548
|
pogingen?: number;
|
|
83480
85549
|
printer_id?: string | null;
|
|
83481
85550
|
render_html?: string | null;
|
|
85551
|
+
resultaat_pdf_base64?: string | null;
|
|
83482
85552
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
83483
85553
|
updated_at?: string;
|
|
83484
85554
|
volgende_poging?: string | null;
|
|
@@ -83597,6 +85667,39 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
83597
85667
|
};
|
|
83598
85668
|
Relationships: [];
|
|
83599
85669
|
};
|
|
85670
|
+
print_preview_events: {
|
|
85671
|
+
Row: {
|
|
85672
|
+
code: string | null;
|
|
85673
|
+
created_at: string;
|
|
85674
|
+
detail: import("../integrations/supabase/types").Json;
|
|
85675
|
+
id: string;
|
|
85676
|
+
queue_item_id: string | null;
|
|
85677
|
+
reden: string | null;
|
|
85678
|
+
station_slug: string | null;
|
|
85679
|
+
uitkomst: string;
|
|
85680
|
+
};
|
|
85681
|
+
Insert: {
|
|
85682
|
+
code?: string | null;
|
|
85683
|
+
created_at?: string;
|
|
85684
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
85685
|
+
id?: string;
|
|
85686
|
+
queue_item_id?: string | null;
|
|
85687
|
+
reden?: string | null;
|
|
85688
|
+
station_slug?: string | null;
|
|
85689
|
+
uitkomst?: string;
|
|
85690
|
+
};
|
|
85691
|
+
Update: {
|
|
85692
|
+
code?: string | null;
|
|
85693
|
+
created_at?: string;
|
|
85694
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
85695
|
+
id?: string;
|
|
85696
|
+
queue_item_id?: string | null;
|
|
85697
|
+
reden?: string | null;
|
|
85698
|
+
station_slug?: string | null;
|
|
85699
|
+
uitkomst?: string;
|
|
85700
|
+
};
|
|
85701
|
+
Relationships: [];
|
|
85702
|
+
};
|
|
83600
85703
|
print_queue_runners: {
|
|
83601
85704
|
Row: {
|
|
83602
85705
|
actief: boolean;
|
|
@@ -83836,6 +85939,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
83836
85939
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
83837
85940
|
online: boolean;
|
|
83838
85941
|
papierformaat: string;
|
|
85942
|
+
pdf_map: string | null;
|
|
83839
85943
|
poort: number | null;
|
|
83840
85944
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
83841
85945
|
systeemnaam: string;
|
|
@@ -83861,6 +85965,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
83861
85965
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
83862
85966
|
online?: boolean;
|
|
83863
85967
|
papierformaat?: string;
|
|
85968
|
+
pdf_map?: string | null;
|
|
83864
85969
|
poort?: number | null;
|
|
83865
85970
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
83866
85971
|
systeemnaam?: string;
|
|
@@ -83886,6 +85991,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
83886
85991
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
83887
85992
|
online?: boolean;
|
|
83888
85993
|
papierformaat?: string;
|
|
85994
|
+
pdf_map?: string | null;
|
|
83889
85995
|
poort?: number | null;
|
|
83890
85996
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
83891
85997
|
systeemnaam?: string;
|
|
@@ -86455,6 +88561,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
86455
88561
|
};
|
|
86456
88562
|
trade_item_stock: {
|
|
86457
88563
|
Row: {
|
|
88564
|
+
change_source: string;
|
|
86458
88565
|
connection_id: string;
|
|
86459
88566
|
created_at: string;
|
|
86460
88567
|
id: string;
|
|
@@ -86468,6 +88575,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
86468
88575
|
user_id: string;
|
|
86469
88576
|
};
|
|
86470
88577
|
Insert: {
|
|
88578
|
+
change_source?: string;
|
|
86471
88579
|
connection_id: string;
|
|
86472
88580
|
created_at?: string;
|
|
86473
88581
|
id?: string;
|
|
@@ -86481,6 +88589,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
86481
88589
|
user_id: string;
|
|
86482
88590
|
};
|
|
86483
88591
|
Update: {
|
|
88592
|
+
change_source?: string;
|
|
86484
88593
|
connection_id?: string;
|
|
86485
88594
|
created_at?: string;
|
|
86486
88595
|
id?: string;
|
|
@@ -90081,6 +92190,18 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
90081
92190
|
Args: never;
|
|
90082
92191
|
Returns: number;
|
|
90083
92192
|
};
|
|
92193
|
+
calculate_floriday_desired_stock: {
|
|
92194
|
+
Args: {
|
|
92195
|
+
p_connection_id: string;
|
|
92196
|
+
p_product_id: string;
|
|
92197
|
+
};
|
|
92198
|
+
Returns: {
|
|
92199
|
+
desired_availability: boolean;
|
|
92200
|
+
desired_quantity: number;
|
|
92201
|
+
erp_available: number;
|
|
92202
|
+
stock_mode: string;
|
|
92203
|
+
}[];
|
|
92204
|
+
};
|
|
90084
92205
|
calculate_layer_stock: {
|
|
90085
92206
|
Args: {
|
|
90086
92207
|
p_product_id: string;
|
|
@@ -90142,6 +92263,9 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
90142
92263
|
is_herprint: boolean;
|
|
90143
92264
|
kopieen: number;
|
|
90144
92265
|
layout_id: string | null;
|
|
92266
|
+
lokaal_opgeslagen_op: string | null;
|
|
92267
|
+
lokale_pdf_fout: string | null;
|
|
92268
|
+
lokale_pdf_status: string | null;
|
|
90145
92269
|
opgepakt_op: string | null;
|
|
90146
92270
|
paginas: number;
|
|
90147
92271
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -90150,6 +92274,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
90150
92274
|
pogingen: number;
|
|
90151
92275
|
printer_id: string | null;
|
|
90152
92276
|
render_html: string | null;
|
|
92277
|
+
resultaat_pdf_base64: string | null;
|
|
90153
92278
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
90154
92279
|
updated_at: string;
|
|
90155
92280
|
volgende_poging: string | null;
|
|
@@ -90171,6 +92296,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
90171
92296
|
attempts: number;
|
|
90172
92297
|
connection_id: string;
|
|
90173
92298
|
created_at: string;
|
|
92299
|
+
dead_lettered_at: string | null;
|
|
90174
92300
|
desired_available: boolean | null;
|
|
90175
92301
|
gateway_attempt_id: string | null;
|
|
90176
92302
|
id: string;
|
|
@@ -90179,9 +92305,13 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
90179
92305
|
locked_by: string | null;
|
|
90180
92306
|
next_attempt_at: string;
|
|
90181
92307
|
number_of_pieces: number;
|
|
92308
|
+
product_id: string | null;
|
|
90182
92309
|
sent_at: string | null;
|
|
90183
92310
|
status: string;
|
|
92311
|
+
stock_mode: string | null;
|
|
90184
92312
|
superseded_by: string | null;
|
|
92313
|
+
target_week: number | null;
|
|
92314
|
+
target_year: number | null;
|
|
90185
92315
|
trade_item_id: string;
|
|
90186
92316
|
updated_at: string;
|
|
90187
92317
|
user_id: string;
|
|
@@ -90241,6 +92371,53 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
90241
92371
|
isSetofReturn: true;
|
|
90242
92372
|
};
|
|
90243
92373
|
};
|
|
92374
|
+
claim_pdf_print_jobs: {
|
|
92375
|
+
Args: {
|
|
92376
|
+
_max?: number;
|
|
92377
|
+
};
|
|
92378
|
+
Returns: {
|
|
92379
|
+
agent_id: string | null;
|
|
92380
|
+
bron_job_id: string | null;
|
|
92381
|
+
created_at: string;
|
|
92382
|
+
documentnaam: string;
|
|
92383
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
92384
|
+
extern_job_id: string | null;
|
|
92385
|
+
foutmelding: string | null;
|
|
92386
|
+
gebruiker_id: string | null;
|
|
92387
|
+
gebruiker_naam: string;
|
|
92388
|
+
gebruikte_bron: string | null;
|
|
92389
|
+
gebruikte_layout_id: string | null;
|
|
92390
|
+
gestart_op: string | null;
|
|
92391
|
+
herkomst: string | null;
|
|
92392
|
+
id: string;
|
|
92393
|
+
idempotentie_sleutel: string | null;
|
|
92394
|
+
is_herprint: boolean;
|
|
92395
|
+
kopieen: number;
|
|
92396
|
+
layout_id: string | null;
|
|
92397
|
+
lokaal_opgeslagen_op: string | null;
|
|
92398
|
+
lokale_pdf_fout: string | null;
|
|
92399
|
+
lokale_pdf_status: string | null;
|
|
92400
|
+
opgepakt_op: string | null;
|
|
92401
|
+
paginas: number;
|
|
92402
|
+
payload: import("../integrations/supabase/types").Json;
|
|
92403
|
+
pdf_base64: string | null;
|
|
92404
|
+
pdf_url: string | null;
|
|
92405
|
+
pogingen: number;
|
|
92406
|
+
printer_id: string | null;
|
|
92407
|
+
render_html: string | null;
|
|
92408
|
+
resultaat_pdf_base64: string | null;
|
|
92409
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
92410
|
+
updated_at: string;
|
|
92411
|
+
volgende_poging: string | null;
|
|
92412
|
+
voltooid_op: string | null;
|
|
92413
|
+
}[];
|
|
92414
|
+
SetofOptions: {
|
|
92415
|
+
from: "*";
|
|
92416
|
+
to: "print_jobs";
|
|
92417
|
+
isOneToOne: false;
|
|
92418
|
+
isSetofReturn: true;
|
|
92419
|
+
};
|
|
92420
|
+
};
|
|
90244
92421
|
claim_print_jobs: {
|
|
90245
92422
|
Args: {
|
|
90246
92423
|
_agent_id: string;
|
|
@@ -90265,6 +92442,9 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
90265
92442
|
is_herprint: boolean;
|
|
90266
92443
|
kopieen: number;
|
|
90267
92444
|
layout_id: string | null;
|
|
92445
|
+
lokaal_opgeslagen_op: string | null;
|
|
92446
|
+
lokale_pdf_fout: string | null;
|
|
92447
|
+
lokale_pdf_status: string | null;
|
|
90268
92448
|
opgepakt_op: string | null;
|
|
90269
92449
|
paginas: number;
|
|
90270
92450
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -90273,6 +92453,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
90273
92453
|
pogingen: number;
|
|
90274
92454
|
printer_id: string | null;
|
|
90275
92455
|
render_html: string | null;
|
|
92456
|
+
resultaat_pdf_base64: string | null;
|
|
90276
92457
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
90277
92458
|
updated_at: string;
|
|
90278
92459
|
volgende_poging: string | null;
|
|
@@ -90413,6 +92594,8 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
90413
92594
|
order_id: string;
|
|
90414
92595
|
order_source: string;
|
|
90415
92596
|
pick_date: string;
|
|
92597
|
+
printed_at: string;
|
|
92598
|
+
printed_today: boolean;
|
|
90416
92599
|
status: string;
|
|
90417
92600
|
}[];
|
|
90418
92601
|
};
|
|
@@ -90609,6 +92792,24 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
90609
92792
|
};
|
|
90610
92793
|
Returns: string;
|
|
90611
92794
|
};
|
|
92795
|
+
floriday_capture_stock_snapshot: {
|
|
92796
|
+
Args: never;
|
|
92797
|
+
Returns: number;
|
|
92798
|
+
};
|
|
92799
|
+
floriday_cleanup_stock_queue_v2: {
|
|
92800
|
+
Args: never;
|
|
92801
|
+
Returns: undefined;
|
|
92802
|
+
};
|
|
92803
|
+
floriday_compact_stock_snapshots: {
|
|
92804
|
+
Args: never;
|
|
92805
|
+
Returns: undefined;
|
|
92806
|
+
};
|
|
92807
|
+
floriday_default_owner: {
|
|
92808
|
+
Args: {
|
|
92809
|
+
p_connection_id: string;
|
|
92810
|
+
};
|
|
92811
|
+
Returns: string;
|
|
92812
|
+
};
|
|
90612
92813
|
floriday_effective_price: {
|
|
90613
92814
|
Args: {
|
|
90614
92815
|
_buyer_id: string;
|
|
@@ -90626,6 +92827,22 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
90626
92827
|
source_id: string;
|
|
90627
92828
|
}[];
|
|
90628
92829
|
};
|
|
92830
|
+
floriday_fill_publish_horizon: {
|
|
92831
|
+
Args: never;
|
|
92832
|
+
Returns: number;
|
|
92833
|
+
};
|
|
92834
|
+
floriday_publish_horizon_weeks: {
|
|
92835
|
+
Args: never;
|
|
92836
|
+
Returns: number;
|
|
92837
|
+
};
|
|
92838
|
+
floriday_recompute_inventory: {
|
|
92839
|
+
Args: {
|
|
92840
|
+
p_connection_id: string;
|
|
92841
|
+
p_force?: boolean;
|
|
92842
|
+
p_product_id: string;
|
|
92843
|
+
};
|
|
92844
|
+
Returns: undefined;
|
|
92845
|
+
};
|
|
90629
92846
|
format_cart_number: {
|
|
90630
92847
|
Args: {
|
|
90631
92848
|
p_pick_date: string;
|
|
@@ -91121,6 +93338,10 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
91121
93338
|
};
|
|
91122
93339
|
Returns: number;
|
|
91123
93340
|
};
|
|
93341
|
+
logistics_cancel_orphan_tasks: {
|
|
93342
|
+
Args: never;
|
|
93343
|
+
Returns: number;
|
|
93344
|
+
};
|
|
91124
93345
|
logistics_capacity_day_check: {
|
|
91125
93346
|
Args: {
|
|
91126
93347
|
p_from?: string;
|
|
@@ -91141,6 +93362,25 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
91141
93362
|
};
|
|
91142
93363
|
Returns: number;
|
|
91143
93364
|
};
|
|
93365
|
+
logistics_cart_index: {
|
|
93366
|
+
Args: {
|
|
93367
|
+
p_from?: string;
|
|
93368
|
+
p_to?: string;
|
|
93369
|
+
};
|
|
93370
|
+
Returns: {
|
|
93371
|
+
cart_id: string;
|
|
93372
|
+
cart_index: number;
|
|
93373
|
+
cart_label: string;
|
|
93374
|
+
is_shared: boolean;
|
|
93375
|
+
order_number: string;
|
|
93376
|
+
order_source: string;
|
|
93377
|
+
order_uuid: string;
|
|
93378
|
+
pick_date: string;
|
|
93379
|
+
printed_at: string;
|
|
93380
|
+
shifted: boolean;
|
|
93381
|
+
task_status: string;
|
|
93382
|
+
}[];
|
|
93383
|
+
};
|
|
91144
93384
|
logistics_check_order_allowed: {
|
|
91145
93385
|
Args: {
|
|
91146
93386
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -91289,6 +93529,17 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
91289
93529
|
isSetofReturn: false;
|
|
91290
93530
|
};
|
|
91291
93531
|
};
|
|
93532
|
+
logistics_consistency_check: {
|
|
93533
|
+
Args: never;
|
|
93534
|
+
Returns: {
|
|
93535
|
+
agenda_carts: number;
|
|
93536
|
+
control_carts: number;
|
|
93537
|
+
ok: boolean;
|
|
93538
|
+
orphan_tasks: number;
|
|
93539
|
+
pick_date: string;
|
|
93540
|
+
raw_carts: number;
|
|
93541
|
+
}[];
|
|
93542
|
+
};
|
|
91292
93543
|
logistics_delay_customer_email: {
|
|
91293
93544
|
Args: {
|
|
91294
93545
|
p_customer: string;
|
|
@@ -91378,6 +93629,16 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
91378
93629
|
isSetofReturn: false;
|
|
91379
93630
|
};
|
|
91380
93631
|
};
|
|
93632
|
+
logistics_floriday_cart_plan: {
|
|
93633
|
+
Args: {
|
|
93634
|
+
p_order_id: string;
|
|
93635
|
+
};
|
|
93636
|
+
Returns: {
|
|
93637
|
+
carrier_type: string;
|
|
93638
|
+
idx: number;
|
|
93639
|
+
packages: number;
|
|
93640
|
+
}[];
|
|
93641
|
+
};
|
|
91381
93642
|
logistics_floriday_claim_pushes: {
|
|
91382
93643
|
Args: {
|
|
91383
93644
|
_lease_seconds?: number;
|
|
@@ -91482,6 +93743,25 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
91482
93743
|
};
|
|
91483
93744
|
Returns: number;
|
|
91484
93745
|
};
|
|
93746
|
+
logistics_order_overview: {
|
|
93747
|
+
Args: {
|
|
93748
|
+
p_from?: string;
|
|
93749
|
+
p_to?: string;
|
|
93750
|
+
};
|
|
93751
|
+
Returns: {
|
|
93752
|
+
cart_count: number;
|
|
93753
|
+
customer_name: string;
|
|
93754
|
+
delivery_date: string;
|
|
93755
|
+
order_number: string;
|
|
93756
|
+
order_source: string;
|
|
93757
|
+
order_uuid: string;
|
|
93758
|
+
pick_date: string;
|
|
93759
|
+
plant_count: number;
|
|
93760
|
+
printed_at: string;
|
|
93761
|
+
shifted: boolean;
|
|
93762
|
+
status: string;
|
|
93763
|
+
}[];
|
|
93764
|
+
};
|
|
91485
93765
|
logistics_order_pick_day: {
|
|
91486
93766
|
Args: {
|
|
91487
93767
|
p_order_ref: string;
|
|
@@ -91494,6 +93774,22 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
91494
93774
|
};
|
|
91495
93775
|
Returns: string;
|
|
91496
93776
|
};
|
|
93777
|
+
logistics_pick_agenda: {
|
|
93778
|
+
Args: {
|
|
93779
|
+
p_from?: string;
|
|
93780
|
+
p_to?: string;
|
|
93781
|
+
};
|
|
93782
|
+
Returns: {
|
|
93783
|
+
cart_count: number;
|
|
93784
|
+
in_preparation: number;
|
|
93785
|
+
order_count: number;
|
|
93786
|
+
orders: import("../integrations/supabase/types").Json;
|
|
93787
|
+
pick_date: string;
|
|
93788
|
+
plant_count: number;
|
|
93789
|
+
ready: number;
|
|
93790
|
+
shifted_count: number;
|
|
93791
|
+
}[];
|
|
93792
|
+
};
|
|
91497
93793
|
logistics_pick_email_purpose: {
|
|
91498
93794
|
Args: never;
|
|
91499
93795
|
Returns: string;
|
|
@@ -91548,6 +93844,13 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
91548
93844
|
};
|
|
91549
93845
|
Returns: undefined;
|
|
91550
93846
|
};
|
|
93847
|
+
logistics_plan_floriday_order: {
|
|
93848
|
+
Args: {
|
|
93849
|
+
p_buffer_id?: string;
|
|
93850
|
+
p_order_id: string;
|
|
93851
|
+
};
|
|
93852
|
+
Returns: number;
|
|
93853
|
+
};
|
|
91551
93854
|
logistics_plan_impact_orders: {
|
|
91552
93855
|
Args: {
|
|
91553
93856
|
p_order_id: string;
|
|
@@ -91653,6 +93956,15 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
91653
93956
|
};
|
|
91654
93957
|
Returns: import("../integrations/supabase/types").Json;
|
|
91655
93958
|
};
|
|
93959
|
+
logistics_resolve_pick_document: {
|
|
93960
|
+
Args: {
|
|
93961
|
+
_is_herprint: boolean;
|
|
93962
|
+
_queue_item_id: string;
|
|
93963
|
+
_session_id: string;
|
|
93964
|
+
_voorbeeld: boolean;
|
|
93965
|
+
};
|
|
93966
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
93967
|
+
};
|
|
91656
93968
|
logistics_resolve_settings: {
|
|
91657
93969
|
Args: {
|
|
91658
93970
|
p_config_id: string;
|
|
@@ -92093,6 +94405,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
92093
94405
|
};
|
|
92094
94406
|
pick_enqueue_print_job: {
|
|
92095
94407
|
Args: {
|
|
94408
|
+
_is_herprint?: boolean;
|
|
92096
94409
|
_printer_id?: string;
|
|
92097
94410
|
_queue_item_id: string;
|
|
92098
94411
|
_session_id?: string;
|
|
@@ -92106,6 +94419,13 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
92106
94419
|
};
|
|
92107
94420
|
Returns: import("../integrations/supabase/types").Json;
|
|
92108
94421
|
};
|
|
94422
|
+
pick_preview_job: {
|
|
94423
|
+
Args: {
|
|
94424
|
+
_queue_item_id: string;
|
|
94425
|
+
_station_slug: string;
|
|
94426
|
+
};
|
|
94427
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
94428
|
+
};
|
|
92109
94429
|
pick_print_job_status: {
|
|
92110
94430
|
Args: {
|
|
92111
94431
|
_job_id: string;
|
|
@@ -92283,6 +94603,24 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
92283
94603
|
};
|
|
92284
94604
|
Returns: undefined;
|
|
92285
94605
|
};
|
|
94606
|
+
print_preview_toestaan: {
|
|
94607
|
+
Args: {
|
|
94608
|
+
_max?: number;
|
|
94609
|
+
_queue_item_id: string;
|
|
94610
|
+
_station_slug: string;
|
|
94611
|
+
_venster_sec?: number;
|
|
94612
|
+
};
|
|
94613
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
94614
|
+
};
|
|
94615
|
+
print_preview_weiger: {
|
|
94616
|
+
Args: {
|
|
94617
|
+
_code: string;
|
|
94618
|
+
_queue_item_id: string;
|
|
94619
|
+
_reden: string;
|
|
94620
|
+
_station_slug: string;
|
|
94621
|
+
};
|
|
94622
|
+
Returns: undefined;
|
|
94623
|
+
};
|
|
92286
94624
|
process_logistics_event: {
|
|
92287
94625
|
Args: {
|
|
92288
94626
|
p_event_id: string;
|
|
@@ -92437,6 +94775,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
92437
94775
|
};
|
|
92438
94776
|
Returns: string;
|
|
92439
94777
|
};
|
|
94778
|
+
resolve_print_job_printer_id: {
|
|
94779
|
+
Args: {
|
|
94780
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
94781
|
+
};
|
|
94782
|
+
Returns: string;
|
|
94783
|
+
};
|
|
92440
94784
|
resolve_product_id_for_item: {
|
|
92441
94785
|
Args: {
|
|
92442
94786
|
p_product_name: string;
|
|
@@ -93028,7 +95372,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
93028
95372
|
};
|
|
93029
95373
|
CompositeTypes: { [_ in never]: never; };
|
|
93030
95374
|
}, {
|
|
93031
|
-
PostgrestVersion: "14.
|
|
95375
|
+
PostgrestVersion: "14.5";
|
|
93032
95376
|
}>;
|
|
93033
95377
|
userId: string;
|
|
93034
95378
|
claims: import("@supabase/auth-js").User;
|
|
@@ -95890,6 +98234,84 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
95890
98234
|
};
|
|
95891
98235
|
Relationships: [];
|
|
95892
98236
|
};
|
|
98237
|
+
delivery_notes: {
|
|
98238
|
+
Row: {
|
|
98239
|
+
byte_size: number | null;
|
|
98240
|
+
connection_id: string | null;
|
|
98241
|
+
content_type: string;
|
|
98242
|
+
created_at: string;
|
|
98243
|
+
error_message: string | null;
|
|
98244
|
+
fetched_at: string | null;
|
|
98245
|
+
fulfillment_order_id: string | null;
|
|
98246
|
+
http_status: number | null;
|
|
98247
|
+
id: string;
|
|
98248
|
+
label_code: string | null;
|
|
98249
|
+
letter: string | null;
|
|
98250
|
+
load_carrier_index: number | null;
|
|
98251
|
+
load_carrier_type: string | null;
|
|
98252
|
+
order_id: string | null;
|
|
98253
|
+
order_number: string | null;
|
|
98254
|
+
packages: number | null;
|
|
98255
|
+
source: string;
|
|
98256
|
+
status: string;
|
|
98257
|
+
storage_bucket: string;
|
|
98258
|
+
storage_path: string | null;
|
|
98259
|
+
updated_at: string;
|
|
98260
|
+
};
|
|
98261
|
+
Insert: {
|
|
98262
|
+
byte_size?: number | null;
|
|
98263
|
+
connection_id?: string | null;
|
|
98264
|
+
content_type?: string;
|
|
98265
|
+
created_at?: string;
|
|
98266
|
+
error_message?: string | null;
|
|
98267
|
+
fetched_at?: string | null;
|
|
98268
|
+
fulfillment_order_id?: string | null;
|
|
98269
|
+
http_status?: number | null;
|
|
98270
|
+
id?: string;
|
|
98271
|
+
label_code?: string | null;
|
|
98272
|
+
letter?: string | null;
|
|
98273
|
+
load_carrier_index?: number | null;
|
|
98274
|
+
load_carrier_type?: string | null;
|
|
98275
|
+
order_id?: string | null;
|
|
98276
|
+
order_number?: string | null;
|
|
98277
|
+
packages?: number | null;
|
|
98278
|
+
source?: string;
|
|
98279
|
+
status?: string;
|
|
98280
|
+
storage_bucket?: string;
|
|
98281
|
+
storage_path?: string | null;
|
|
98282
|
+
updated_at?: string;
|
|
98283
|
+
};
|
|
98284
|
+
Update: {
|
|
98285
|
+
byte_size?: number | null;
|
|
98286
|
+
connection_id?: string | null;
|
|
98287
|
+
content_type?: string;
|
|
98288
|
+
created_at?: string;
|
|
98289
|
+
error_message?: string | null;
|
|
98290
|
+
fetched_at?: string | null;
|
|
98291
|
+
fulfillment_order_id?: string | null;
|
|
98292
|
+
http_status?: number | null;
|
|
98293
|
+
id?: string;
|
|
98294
|
+
label_code?: string | null;
|
|
98295
|
+
letter?: string | null;
|
|
98296
|
+
load_carrier_index?: number | null;
|
|
98297
|
+
load_carrier_type?: string | null;
|
|
98298
|
+
order_id?: string | null;
|
|
98299
|
+
order_number?: string | null;
|
|
98300
|
+
packages?: number | null;
|
|
98301
|
+
source?: string;
|
|
98302
|
+
status?: string;
|
|
98303
|
+
storage_bucket?: string;
|
|
98304
|
+
storage_path?: string | null;
|
|
98305
|
+
updated_at?: string;
|
|
98306
|
+
};
|
|
98307
|
+
Relationships: [{
|
|
98308
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
98309
|
+
columns: ["order_id"];
|
|
98310
|
+
isOneToOne: false;
|
|
98311
|
+
referencedRelation: "orders";
|
|
98312
|
+
referencedColumns: ["id"];
|
|
98313
|
+
}];
|
|
98314
|
+
};
|
|
95893
98315
|
document_bronregels: {
|
|
95894
98316
|
Row: {
|
|
95895
98317
|
bron: string;
|
|
@@ -98943,10 +101365,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
98943
101365
|
};
|
|
98944
101366
|
floriday_connections: {
|
|
98945
101367
|
Row: {
|
|
98946
|
-
access_token: string | null;
|
|
98947
101368
|
api_key: string;
|
|
98948
|
-
client_id: string;
|
|
98949
|
-
client_secret: string;
|
|
98950
101369
|
created_at: string;
|
|
98951
101370
|
customers_endpoint: string | null;
|
|
98952
101371
|
environment: string;
|
|
@@ -98961,10 +101380,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
98961
101380
|
updated_at: string;
|
|
98962
101381
|
};
|
|
98963
101382
|
Insert: {
|
|
98964
|
-
access_token?: string | null;
|
|
98965
101383
|
api_key: string;
|
|
98966
|
-
client_id: string;
|
|
98967
|
-
client_secret: string;
|
|
98968
101384
|
created_at?: string;
|
|
98969
101385
|
customers_endpoint?: string | null;
|
|
98970
101386
|
environment: string;
|
|
@@ -98979,10 +101395,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
98979
101395
|
updated_at?: string;
|
|
98980
101396
|
};
|
|
98981
101397
|
Update: {
|
|
98982
|
-
access_token?: string | null;
|
|
98983
101398
|
api_key?: string;
|
|
98984
|
-
client_id?: string;
|
|
98985
|
-
client_secret?: string;
|
|
98986
101399
|
created_at?: string;
|
|
98987
101400
|
customers_endpoint?: string | null;
|
|
98988
101401
|
environment?: string;
|
|
@@ -99066,6 +101479,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
99066
101479
|
attempts: number;
|
|
99067
101480
|
connection_id: string;
|
|
99068
101481
|
created_at: string;
|
|
101482
|
+
dead_lettered_at: string | null;
|
|
99069
101483
|
desired_available: boolean | null;
|
|
99070
101484
|
gateway_attempt_id: string | null;
|
|
99071
101485
|
id: string;
|
|
@@ -99074,9 +101488,13 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
99074
101488
|
locked_by: string | null;
|
|
99075
101489
|
next_attempt_at: string;
|
|
99076
101490
|
number_of_pieces: number;
|
|
101491
|
+
product_id: string | null;
|
|
99077
101492
|
sent_at: string | null;
|
|
99078
101493
|
status: string;
|
|
101494
|
+
stock_mode: string | null;
|
|
99079
101495
|
superseded_by: string | null;
|
|
101496
|
+
target_week: number | null;
|
|
101497
|
+
target_year: number | null;
|
|
99080
101498
|
trade_item_id: string;
|
|
99081
101499
|
updated_at: string;
|
|
99082
101500
|
user_id: string;
|
|
@@ -99085,6 +101503,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
99085
101503
|
attempts?: number;
|
|
99086
101504
|
connection_id: string;
|
|
99087
101505
|
created_at?: string;
|
|
101506
|
+
dead_lettered_at?: string | null;
|
|
99088
101507
|
desired_available?: boolean | null;
|
|
99089
101508
|
gateway_attempt_id?: string | null;
|
|
99090
101509
|
id?: string;
|
|
@@ -99093,9 +101512,13 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
99093
101512
|
locked_by?: string | null;
|
|
99094
101513
|
next_attempt_at?: string;
|
|
99095
101514
|
number_of_pieces?: number;
|
|
101515
|
+
product_id?: string | null;
|
|
99096
101516
|
sent_at?: string | null;
|
|
99097
101517
|
status?: string;
|
|
101518
|
+
stock_mode?: string | null;
|
|
99098
101519
|
superseded_by?: string | null;
|
|
101520
|
+
target_week?: number | null;
|
|
101521
|
+
target_year?: number | null;
|
|
99099
101522
|
trade_item_id: string;
|
|
99100
101523
|
updated_at?: string;
|
|
99101
101524
|
user_id: string;
|
|
@@ -99104,6 +101527,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
99104
101527
|
attempts?: number;
|
|
99105
101528
|
connection_id?: string;
|
|
99106
101529
|
created_at?: string;
|
|
101530
|
+
dead_lettered_at?: string | null;
|
|
99107
101531
|
desired_available?: boolean | null;
|
|
99108
101532
|
gateway_attempt_id?: string | null;
|
|
99109
101533
|
id?: string;
|
|
@@ -99112,9 +101536,13 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
99112
101536
|
locked_by?: string | null;
|
|
99113
101537
|
next_attempt_at?: string;
|
|
99114
101538
|
number_of_pieces?: number;
|
|
101539
|
+
product_id?: string | null;
|
|
99115
101540
|
sent_at?: string | null;
|
|
99116
101541
|
status?: string;
|
|
101542
|
+
stock_mode?: string | null;
|
|
99117
101543
|
superseded_by?: string | null;
|
|
101544
|
+
target_week?: number | null;
|
|
101545
|
+
target_year?: number | null;
|
|
99118
101546
|
trade_item_id?: string;
|
|
99119
101547
|
updated_at?: string;
|
|
99120
101548
|
user_id?: string;
|
|
@@ -99523,6 +101951,87 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
99523
101951
|
referencedColumns: ["id"];
|
|
99524
101952
|
}];
|
|
99525
101953
|
};
|
|
101954
|
+
floriday_inventory_settings: {
|
|
101955
|
+
Row: {
|
|
101956
|
+
buffer_quantity: number;
|
|
101957
|
+
connection_id: string;
|
|
101958
|
+
created_at: string;
|
|
101959
|
+
desired_availability: boolean;
|
|
101960
|
+
desired_quantity: number;
|
|
101961
|
+
fixed_quantity: number | null;
|
|
101962
|
+
floriday_trade_item_id: string | null;
|
|
101963
|
+
id: string;
|
|
101964
|
+
last_confirmed_at: string | null;
|
|
101965
|
+
last_enqueued_at: string | null;
|
|
101966
|
+
last_published_at: string | null;
|
|
101967
|
+
last_sync_error: string | null;
|
|
101968
|
+
manual_quantity: number | null;
|
|
101969
|
+
maximum_quantity: number | null;
|
|
101970
|
+
product_id: string;
|
|
101971
|
+
quantity_control: string;
|
|
101972
|
+
remote_available: boolean | null;
|
|
101973
|
+
remote_checked_at: string | null;
|
|
101974
|
+
remote_quantity: number | null;
|
|
101975
|
+
stock_mode: string;
|
|
101976
|
+
sync_status: string;
|
|
101977
|
+
updated_at: string;
|
|
101978
|
+
updated_by: string | null;
|
|
101979
|
+
user_id: string;
|
|
101980
|
+
};
|
|
101981
|
+
Insert: {
|
|
101982
|
+
buffer_quantity?: number;
|
|
101983
|
+
connection_id: string;
|
|
101984
|
+
created_at?: string;
|
|
101985
|
+
desired_availability?: boolean;
|
|
101986
|
+
desired_quantity?: number;
|
|
101987
|
+
fixed_quantity?: number | null;
|
|
101988
|
+
floriday_trade_item_id?: string | null;
|
|
101989
|
+
id?: string;
|
|
101990
|
+
last_confirmed_at?: string | null;
|
|
101991
|
+
last_enqueued_at?: string | null;
|
|
101992
|
+
last_published_at?: string | null;
|
|
101993
|
+
last_sync_error?: string | null;
|
|
101994
|
+
manual_quantity?: number | null;
|
|
101995
|
+
maximum_quantity?: number | null;
|
|
101996
|
+
product_id: string;
|
|
101997
|
+
quantity_control?: string;
|
|
101998
|
+
remote_available?: boolean | null;
|
|
101999
|
+
remote_checked_at?: string | null;
|
|
102000
|
+
remote_quantity?: number | null;
|
|
102001
|
+
stock_mode?: string;
|
|
102002
|
+
sync_status?: string;
|
|
102003
|
+
updated_at?: string;
|
|
102004
|
+
updated_by?: string | null;
|
|
102005
|
+
user_id: string;
|
|
102006
|
+
};
|
|
102007
|
+
Update: {
|
|
102008
|
+
buffer_quantity?: number;
|
|
102009
|
+
connection_id?: string;
|
|
102010
|
+
created_at?: string;
|
|
102011
|
+
desired_availability?: boolean;
|
|
102012
|
+
desired_quantity?: number;
|
|
102013
|
+
fixed_quantity?: number | null;
|
|
102014
|
+
floriday_trade_item_id?: string | null;
|
|
102015
|
+
id?: string;
|
|
102016
|
+
last_confirmed_at?: string | null;
|
|
102017
|
+
last_enqueued_at?: string | null;
|
|
102018
|
+
last_published_at?: string | null;
|
|
102019
|
+
last_sync_error?: string | null;
|
|
102020
|
+
manual_quantity?: number | null;
|
|
102021
|
+
maximum_quantity?: number | null;
|
|
102022
|
+
product_id?: string;
|
|
102023
|
+
quantity_control?: string;
|
|
102024
|
+
remote_available?: boolean | null;
|
|
102025
|
+
remote_checked_at?: string | null;
|
|
102026
|
+
remote_quantity?: number | null;
|
|
102027
|
+
stock_mode?: string;
|
|
102028
|
+
sync_status?: string;
|
|
102029
|
+
updated_at?: string;
|
|
102030
|
+
updated_by?: string | null;
|
|
102031
|
+
user_id?: string;
|
|
102032
|
+
};
|
|
102033
|
+
Relationships: [];
|
|
102034
|
+
};
|
|
99526
102035
|
floriday_invoices_cache: {
|
|
99527
102036
|
Row: {
|
|
99528
102037
|
buyer_organization_id: string | null;
|
|
@@ -99811,6 +102320,39 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
99811
102320
|
};
|
|
99812
102321
|
Relationships: [];
|
|
99813
102322
|
};
|
|
102323
|
+
floriday_sales_order_ingest: {
|
|
102324
|
+
Row: {
|
|
102325
|
+
connection_id: string;
|
|
102326
|
+
created_at: string;
|
|
102327
|
+
id: string;
|
|
102328
|
+
impact: import("../integrations/supabase/types").Json;
|
|
102329
|
+
order_status: string | null;
|
|
102330
|
+
order_version: number;
|
|
102331
|
+
processed_at: string;
|
|
102332
|
+
sales_order_id: string;
|
|
102333
|
+
};
|
|
102334
|
+
Insert: {
|
|
102335
|
+
connection_id: string;
|
|
102336
|
+
created_at?: string;
|
|
102337
|
+
id?: string;
|
|
102338
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
102339
|
+
order_status?: string | null;
|
|
102340
|
+
order_version?: number;
|
|
102341
|
+
processed_at?: string;
|
|
102342
|
+
sales_order_id: string;
|
|
102343
|
+
};
|
|
102344
|
+
Update: {
|
|
102345
|
+
connection_id?: string;
|
|
102346
|
+
created_at?: string;
|
|
102347
|
+
id?: string;
|
|
102348
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
102349
|
+
order_status?: string | null;
|
|
102350
|
+
order_version?: number;
|
|
102351
|
+
processed_at?: string;
|
|
102352
|
+
sales_order_id?: string;
|
|
102353
|
+
};
|
|
102354
|
+
Relationships: [];
|
|
102355
|
+
};
|
|
99814
102356
|
floriday_sales_strategies_cache: {
|
|
99815
102357
|
Row: {
|
|
99816
102358
|
connection_id: string;
|
|
@@ -99910,6 +102452,39 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
99910
102452
|
};
|
|
99911
102453
|
Relationships: [];
|
|
99912
102454
|
};
|
|
102455
|
+
floriday_sync_cursors: {
|
|
102456
|
+
Row: {
|
|
102457
|
+
connection_id: string;
|
|
102458
|
+
created_at: string;
|
|
102459
|
+
id: string;
|
|
102460
|
+
last_error: string | null;
|
|
102461
|
+
last_sync_at: string | null;
|
|
102462
|
+
resource_type: string;
|
|
102463
|
+
sequence_number: number;
|
|
102464
|
+
updated_at: string;
|
|
102465
|
+
};
|
|
102466
|
+
Insert: {
|
|
102467
|
+
connection_id: string;
|
|
102468
|
+
created_at?: string;
|
|
102469
|
+
id?: string;
|
|
102470
|
+
last_error?: string | null;
|
|
102471
|
+
last_sync_at?: string | null;
|
|
102472
|
+
resource_type: string;
|
|
102473
|
+
sequence_number?: number;
|
|
102474
|
+
updated_at?: string;
|
|
102475
|
+
};
|
|
102476
|
+
Update: {
|
|
102477
|
+
connection_id?: string;
|
|
102478
|
+
created_at?: string;
|
|
102479
|
+
id?: string;
|
|
102480
|
+
last_error?: string | null;
|
|
102481
|
+
last_sync_at?: string | null;
|
|
102482
|
+
resource_type?: string;
|
|
102483
|
+
sequence_number?: number;
|
|
102484
|
+
updated_at?: string;
|
|
102485
|
+
};
|
|
102486
|
+
Relationships: [];
|
|
102487
|
+
};
|
|
99913
102488
|
floriday_sync_state: {
|
|
99914
102489
|
Row: {
|
|
99915
102490
|
connection_id: string;
|
|
@@ -100600,6 +103175,42 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
100600
103175
|
};
|
|
100601
103176
|
Relationships: [];
|
|
100602
103177
|
};
|
|
103178
|
+
inventory_stock_snapshots: {
|
|
103179
|
+
Row: {
|
|
103180
|
+
connection_id: string;
|
|
103181
|
+
created_at: string;
|
|
103182
|
+
erp_available_quantity: number;
|
|
103183
|
+
floriday_desired_quantity: number;
|
|
103184
|
+
floriday_remote_quantity: number | null;
|
|
103185
|
+
granularity: string;
|
|
103186
|
+
id: string;
|
|
103187
|
+
snapshot_at: string;
|
|
103188
|
+
user_id: string | null;
|
|
103189
|
+
};
|
|
103190
|
+
Insert: {
|
|
103191
|
+
connection_id: string;
|
|
103192
|
+
created_at?: string;
|
|
103193
|
+
erp_available_quantity?: number;
|
|
103194
|
+
floriday_desired_quantity?: number;
|
|
103195
|
+
floriday_remote_quantity?: number | null;
|
|
103196
|
+
granularity?: string;
|
|
103197
|
+
id?: string;
|
|
103198
|
+
snapshot_at?: string;
|
|
103199
|
+
user_id?: string | null;
|
|
103200
|
+
};
|
|
103201
|
+
Update: {
|
|
103202
|
+
connection_id?: string;
|
|
103203
|
+
created_at?: string;
|
|
103204
|
+
erp_available_quantity?: number;
|
|
103205
|
+
floriday_desired_quantity?: number;
|
|
103206
|
+
floriday_remote_quantity?: number | null;
|
|
103207
|
+
granularity?: string;
|
|
103208
|
+
id?: string;
|
|
103209
|
+
snapshot_at?: string;
|
|
103210
|
+
user_id?: string | null;
|
|
103211
|
+
};
|
|
103212
|
+
Relationships: [];
|
|
103213
|
+
};
|
|
100603
103214
|
invoice_items: {
|
|
100604
103215
|
Row: {
|
|
100605
103216
|
created_at: string;
|
|
@@ -106615,6 +109226,39 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
106615
109226
|
};
|
|
106616
109227
|
Relationships: [];
|
|
106617
109228
|
};
|
|
109229
|
+
print_dedupe_events: {
|
|
109230
|
+
Row: {
|
|
109231
|
+
bestaande_job_id: string | null;
|
|
109232
|
+
created_at: string;
|
|
109233
|
+
detail: string | null;
|
|
109234
|
+
documentnaam: string | null;
|
|
109235
|
+
documenttype: string | null;
|
|
109236
|
+
id: string;
|
|
109237
|
+
idempotentie_sleutel: string;
|
|
109238
|
+
reden: string;
|
|
109239
|
+
};
|
|
109240
|
+
Insert: {
|
|
109241
|
+
bestaande_job_id?: string | null;
|
|
109242
|
+
created_at?: string;
|
|
109243
|
+
detail?: string | null;
|
|
109244
|
+
documentnaam?: string | null;
|
|
109245
|
+
documenttype?: string | null;
|
|
109246
|
+
id?: string;
|
|
109247
|
+
idempotentie_sleutel: string;
|
|
109248
|
+
reden: string;
|
|
109249
|
+
};
|
|
109250
|
+
Update: {
|
|
109251
|
+
bestaande_job_id?: string | null;
|
|
109252
|
+
created_at?: string;
|
|
109253
|
+
detail?: string | null;
|
|
109254
|
+
documentnaam?: string | null;
|
|
109255
|
+
documenttype?: string | null;
|
|
109256
|
+
id?: string;
|
|
109257
|
+
idempotentie_sleutel?: string;
|
|
109258
|
+
reden?: string;
|
|
109259
|
+
};
|
|
109260
|
+
Relationships: [];
|
|
109261
|
+
};
|
|
106618
109262
|
print_job_logs: {
|
|
106619
109263
|
Row: {
|
|
106620
109264
|
created_at: string;
|
|
@@ -106665,6 +109309,9 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
106665
109309
|
is_herprint: boolean;
|
|
106666
109310
|
kopieen: number;
|
|
106667
109311
|
layout_id: string | null;
|
|
109312
|
+
lokaal_opgeslagen_op: string | null;
|
|
109313
|
+
lokale_pdf_fout: string | null;
|
|
109314
|
+
lokale_pdf_status: string | null;
|
|
106668
109315
|
opgepakt_op: string | null;
|
|
106669
109316
|
paginas: number;
|
|
106670
109317
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -106673,6 +109320,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
106673
109320
|
pogingen: number;
|
|
106674
109321
|
printer_id: string | null;
|
|
106675
109322
|
render_html: string | null;
|
|
109323
|
+
resultaat_pdf_base64: string | null;
|
|
106676
109324
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
106677
109325
|
updated_at: string;
|
|
106678
109326
|
volgende_poging: string | null;
|
|
@@ -106697,6 +109345,9 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
106697
109345
|
is_herprint?: boolean;
|
|
106698
109346
|
kopieen?: number;
|
|
106699
109347
|
layout_id?: string | null;
|
|
109348
|
+
lokaal_opgeslagen_op?: string | null;
|
|
109349
|
+
lokale_pdf_fout?: string | null;
|
|
109350
|
+
lokale_pdf_status?: string | null;
|
|
106700
109351
|
opgepakt_op?: string | null;
|
|
106701
109352
|
paginas?: number;
|
|
106702
109353
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -106705,6 +109356,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
106705
109356
|
pogingen?: number;
|
|
106706
109357
|
printer_id?: string | null;
|
|
106707
109358
|
render_html?: string | null;
|
|
109359
|
+
resultaat_pdf_base64?: string | null;
|
|
106708
109360
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
106709
109361
|
updated_at?: string;
|
|
106710
109362
|
volgende_poging?: string | null;
|
|
@@ -106729,6 +109381,9 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
106729
109381
|
is_herprint?: boolean;
|
|
106730
109382
|
kopieen?: number;
|
|
106731
109383
|
layout_id?: string | null;
|
|
109384
|
+
lokaal_opgeslagen_op?: string | null;
|
|
109385
|
+
lokale_pdf_fout?: string | null;
|
|
109386
|
+
lokale_pdf_status?: string | null;
|
|
106732
109387
|
opgepakt_op?: string | null;
|
|
106733
109388
|
paginas?: number;
|
|
106734
109389
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -106737,6 +109392,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
106737
109392
|
pogingen?: number;
|
|
106738
109393
|
printer_id?: string | null;
|
|
106739
109394
|
render_html?: string | null;
|
|
109395
|
+
resultaat_pdf_base64?: string | null;
|
|
106740
109396
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
106741
109397
|
updated_at?: string;
|
|
106742
109398
|
volgende_poging?: string | null;
|
|
@@ -106855,6 +109511,39 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
106855
109511
|
};
|
|
106856
109512
|
Relationships: [];
|
|
106857
109513
|
};
|
|
109514
|
+
print_preview_events: {
|
|
109515
|
+
Row: {
|
|
109516
|
+
code: string | null;
|
|
109517
|
+
created_at: string;
|
|
109518
|
+
detail: import("../integrations/supabase/types").Json;
|
|
109519
|
+
id: string;
|
|
109520
|
+
queue_item_id: string | null;
|
|
109521
|
+
reden: string | null;
|
|
109522
|
+
station_slug: string | null;
|
|
109523
|
+
uitkomst: string;
|
|
109524
|
+
};
|
|
109525
|
+
Insert: {
|
|
109526
|
+
code?: string | null;
|
|
109527
|
+
created_at?: string;
|
|
109528
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
109529
|
+
id?: string;
|
|
109530
|
+
queue_item_id?: string | null;
|
|
109531
|
+
reden?: string | null;
|
|
109532
|
+
station_slug?: string | null;
|
|
109533
|
+
uitkomst?: string;
|
|
109534
|
+
};
|
|
109535
|
+
Update: {
|
|
109536
|
+
code?: string | null;
|
|
109537
|
+
created_at?: string;
|
|
109538
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
109539
|
+
id?: string;
|
|
109540
|
+
queue_item_id?: string | null;
|
|
109541
|
+
reden?: string | null;
|
|
109542
|
+
station_slug?: string | null;
|
|
109543
|
+
uitkomst?: string;
|
|
109544
|
+
};
|
|
109545
|
+
Relationships: [];
|
|
109546
|
+
};
|
|
106858
109547
|
print_queue_runners: {
|
|
106859
109548
|
Row: {
|
|
106860
109549
|
actief: boolean;
|
|
@@ -107094,6 +109783,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
107094
109783
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
107095
109784
|
online: boolean;
|
|
107096
109785
|
papierformaat: string;
|
|
109786
|
+
pdf_map: string | null;
|
|
107097
109787
|
poort: number | null;
|
|
107098
109788
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
107099
109789
|
systeemnaam: string;
|
|
@@ -107119,6 +109809,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
107119
109809
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
107120
109810
|
online?: boolean;
|
|
107121
109811
|
papierformaat?: string;
|
|
109812
|
+
pdf_map?: string | null;
|
|
107122
109813
|
poort?: number | null;
|
|
107123
109814
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
107124
109815
|
systeemnaam?: string;
|
|
@@ -107144,6 +109835,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
107144
109835
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
107145
109836
|
online?: boolean;
|
|
107146
109837
|
papierformaat?: string;
|
|
109838
|
+
pdf_map?: string | null;
|
|
107147
109839
|
poort?: number | null;
|
|
107148
109840
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
107149
109841
|
systeemnaam?: string;
|
|
@@ -109713,6 +112405,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
109713
112405
|
};
|
|
109714
112406
|
trade_item_stock: {
|
|
109715
112407
|
Row: {
|
|
112408
|
+
change_source: string;
|
|
109716
112409
|
connection_id: string;
|
|
109717
112410
|
created_at: string;
|
|
109718
112411
|
id: string;
|
|
@@ -109726,6 +112419,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
109726
112419
|
user_id: string;
|
|
109727
112420
|
};
|
|
109728
112421
|
Insert: {
|
|
112422
|
+
change_source?: string;
|
|
109729
112423
|
connection_id: string;
|
|
109730
112424
|
created_at?: string;
|
|
109731
112425
|
id?: string;
|
|
@@ -109739,6 +112433,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
109739
112433
|
user_id: string;
|
|
109740
112434
|
};
|
|
109741
112435
|
Update: {
|
|
112436
|
+
change_source?: string;
|
|
109742
112437
|
connection_id?: string;
|
|
109743
112438
|
created_at?: string;
|
|
109744
112439
|
id?: string;
|
|
@@ -113339,6 +116034,18 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
113339
116034
|
Args: never;
|
|
113340
116035
|
Returns: number;
|
|
113341
116036
|
};
|
|
116037
|
+
calculate_floriday_desired_stock: {
|
|
116038
|
+
Args: {
|
|
116039
|
+
p_connection_id: string;
|
|
116040
|
+
p_product_id: string;
|
|
116041
|
+
};
|
|
116042
|
+
Returns: {
|
|
116043
|
+
desired_availability: boolean;
|
|
116044
|
+
desired_quantity: number;
|
|
116045
|
+
erp_available: number;
|
|
116046
|
+
stock_mode: string;
|
|
116047
|
+
}[];
|
|
116048
|
+
};
|
|
113342
116049
|
calculate_layer_stock: {
|
|
113343
116050
|
Args: {
|
|
113344
116051
|
p_product_id: string;
|
|
@@ -113400,6 +116107,9 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
113400
116107
|
is_herprint: boolean;
|
|
113401
116108
|
kopieen: number;
|
|
113402
116109
|
layout_id: string | null;
|
|
116110
|
+
lokaal_opgeslagen_op: string | null;
|
|
116111
|
+
lokale_pdf_fout: string | null;
|
|
116112
|
+
lokale_pdf_status: string | null;
|
|
113403
116113
|
opgepakt_op: string | null;
|
|
113404
116114
|
paginas: number;
|
|
113405
116115
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -113408,6 +116118,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
113408
116118
|
pogingen: number;
|
|
113409
116119
|
printer_id: string | null;
|
|
113410
116120
|
render_html: string | null;
|
|
116121
|
+
resultaat_pdf_base64: string | null;
|
|
113411
116122
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
113412
116123
|
updated_at: string;
|
|
113413
116124
|
volgende_poging: string | null;
|
|
@@ -113429,6 +116140,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
113429
116140
|
attempts: number;
|
|
113430
116141
|
connection_id: string;
|
|
113431
116142
|
created_at: string;
|
|
116143
|
+
dead_lettered_at: string | null;
|
|
113432
116144
|
desired_available: boolean | null;
|
|
113433
116145
|
gateway_attempt_id: string | null;
|
|
113434
116146
|
id: string;
|
|
@@ -113437,9 +116149,13 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
113437
116149
|
locked_by: string | null;
|
|
113438
116150
|
next_attempt_at: string;
|
|
113439
116151
|
number_of_pieces: number;
|
|
116152
|
+
product_id: string | null;
|
|
113440
116153
|
sent_at: string | null;
|
|
113441
116154
|
status: string;
|
|
116155
|
+
stock_mode: string | null;
|
|
113442
116156
|
superseded_by: string | null;
|
|
116157
|
+
target_week: number | null;
|
|
116158
|
+
target_year: number | null;
|
|
113443
116159
|
trade_item_id: string;
|
|
113444
116160
|
updated_at: string;
|
|
113445
116161
|
user_id: string;
|
|
@@ -113499,6 +116215,53 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
113499
116215
|
isSetofReturn: true;
|
|
113500
116216
|
};
|
|
113501
116217
|
};
|
|
116218
|
+
claim_pdf_print_jobs: {
|
|
116219
|
+
Args: {
|
|
116220
|
+
_max?: number;
|
|
116221
|
+
};
|
|
116222
|
+
Returns: {
|
|
116223
|
+
agent_id: string | null;
|
|
116224
|
+
bron_job_id: string | null;
|
|
116225
|
+
created_at: string;
|
|
116226
|
+
documentnaam: string;
|
|
116227
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
116228
|
+
extern_job_id: string | null;
|
|
116229
|
+
foutmelding: string | null;
|
|
116230
|
+
gebruiker_id: string | null;
|
|
116231
|
+
gebruiker_naam: string;
|
|
116232
|
+
gebruikte_bron: string | null;
|
|
116233
|
+
gebruikte_layout_id: string | null;
|
|
116234
|
+
gestart_op: string | null;
|
|
116235
|
+
herkomst: string | null;
|
|
116236
|
+
id: string;
|
|
116237
|
+
idempotentie_sleutel: string | null;
|
|
116238
|
+
is_herprint: boolean;
|
|
116239
|
+
kopieen: number;
|
|
116240
|
+
layout_id: string | null;
|
|
116241
|
+
lokaal_opgeslagen_op: string | null;
|
|
116242
|
+
lokale_pdf_fout: string | null;
|
|
116243
|
+
lokale_pdf_status: string | null;
|
|
116244
|
+
opgepakt_op: string | null;
|
|
116245
|
+
paginas: number;
|
|
116246
|
+
payload: import("../integrations/supabase/types").Json;
|
|
116247
|
+
pdf_base64: string | null;
|
|
116248
|
+
pdf_url: string | null;
|
|
116249
|
+
pogingen: number;
|
|
116250
|
+
printer_id: string | null;
|
|
116251
|
+
render_html: string | null;
|
|
116252
|
+
resultaat_pdf_base64: string | null;
|
|
116253
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
116254
|
+
updated_at: string;
|
|
116255
|
+
volgende_poging: string | null;
|
|
116256
|
+
voltooid_op: string | null;
|
|
116257
|
+
}[];
|
|
116258
|
+
SetofOptions: {
|
|
116259
|
+
from: "*";
|
|
116260
|
+
to: "print_jobs";
|
|
116261
|
+
isOneToOne: false;
|
|
116262
|
+
isSetofReturn: true;
|
|
116263
|
+
};
|
|
116264
|
+
};
|
|
113502
116265
|
claim_print_jobs: {
|
|
113503
116266
|
Args: {
|
|
113504
116267
|
_agent_id: string;
|
|
@@ -113523,6 +116286,9 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
113523
116286
|
is_herprint: boolean;
|
|
113524
116287
|
kopieen: number;
|
|
113525
116288
|
layout_id: string | null;
|
|
116289
|
+
lokaal_opgeslagen_op: string | null;
|
|
116290
|
+
lokale_pdf_fout: string | null;
|
|
116291
|
+
lokale_pdf_status: string | null;
|
|
113526
116292
|
opgepakt_op: string | null;
|
|
113527
116293
|
paginas: number;
|
|
113528
116294
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -113531,6 +116297,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
113531
116297
|
pogingen: number;
|
|
113532
116298
|
printer_id: string | null;
|
|
113533
116299
|
render_html: string | null;
|
|
116300
|
+
resultaat_pdf_base64: string | null;
|
|
113534
116301
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
113535
116302
|
updated_at: string;
|
|
113536
116303
|
volgende_poging: string | null;
|
|
@@ -113671,6 +116438,8 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
113671
116438
|
order_id: string;
|
|
113672
116439
|
order_source: string;
|
|
113673
116440
|
pick_date: string;
|
|
116441
|
+
printed_at: string;
|
|
116442
|
+
printed_today: boolean;
|
|
113674
116443
|
status: string;
|
|
113675
116444
|
}[];
|
|
113676
116445
|
};
|
|
@@ -113867,6 +116636,24 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
113867
116636
|
};
|
|
113868
116637
|
Returns: string;
|
|
113869
116638
|
};
|
|
116639
|
+
floriday_capture_stock_snapshot: {
|
|
116640
|
+
Args: never;
|
|
116641
|
+
Returns: number;
|
|
116642
|
+
};
|
|
116643
|
+
floriday_cleanup_stock_queue_v2: {
|
|
116644
|
+
Args: never;
|
|
116645
|
+
Returns: undefined;
|
|
116646
|
+
};
|
|
116647
|
+
floriday_compact_stock_snapshots: {
|
|
116648
|
+
Args: never;
|
|
116649
|
+
Returns: undefined;
|
|
116650
|
+
};
|
|
116651
|
+
floriday_default_owner: {
|
|
116652
|
+
Args: {
|
|
116653
|
+
p_connection_id: string;
|
|
116654
|
+
};
|
|
116655
|
+
Returns: string;
|
|
116656
|
+
};
|
|
113870
116657
|
floriday_effective_price: {
|
|
113871
116658
|
Args: {
|
|
113872
116659
|
_buyer_id: string;
|
|
@@ -113884,6 +116671,22 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
113884
116671
|
source_id: string;
|
|
113885
116672
|
}[];
|
|
113886
116673
|
};
|
|
116674
|
+
floriday_fill_publish_horizon: {
|
|
116675
|
+
Args: never;
|
|
116676
|
+
Returns: number;
|
|
116677
|
+
};
|
|
116678
|
+
floriday_publish_horizon_weeks: {
|
|
116679
|
+
Args: never;
|
|
116680
|
+
Returns: number;
|
|
116681
|
+
};
|
|
116682
|
+
floriday_recompute_inventory: {
|
|
116683
|
+
Args: {
|
|
116684
|
+
p_connection_id: string;
|
|
116685
|
+
p_force?: boolean;
|
|
116686
|
+
p_product_id: string;
|
|
116687
|
+
};
|
|
116688
|
+
Returns: undefined;
|
|
116689
|
+
};
|
|
113887
116690
|
format_cart_number: {
|
|
113888
116691
|
Args: {
|
|
113889
116692
|
p_pick_date: string;
|
|
@@ -114379,6 +117182,10 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
114379
117182
|
};
|
|
114380
117183
|
Returns: number;
|
|
114381
117184
|
};
|
|
117185
|
+
logistics_cancel_orphan_tasks: {
|
|
117186
|
+
Args: never;
|
|
117187
|
+
Returns: number;
|
|
117188
|
+
};
|
|
114382
117189
|
logistics_capacity_day_check: {
|
|
114383
117190
|
Args: {
|
|
114384
117191
|
p_from?: string;
|
|
@@ -114399,6 +117206,25 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
114399
117206
|
};
|
|
114400
117207
|
Returns: number;
|
|
114401
117208
|
};
|
|
117209
|
+
logistics_cart_index: {
|
|
117210
|
+
Args: {
|
|
117211
|
+
p_from?: string;
|
|
117212
|
+
p_to?: string;
|
|
117213
|
+
};
|
|
117214
|
+
Returns: {
|
|
117215
|
+
cart_id: string;
|
|
117216
|
+
cart_index: number;
|
|
117217
|
+
cart_label: string;
|
|
117218
|
+
is_shared: boolean;
|
|
117219
|
+
order_number: string;
|
|
117220
|
+
order_source: string;
|
|
117221
|
+
order_uuid: string;
|
|
117222
|
+
pick_date: string;
|
|
117223
|
+
printed_at: string;
|
|
117224
|
+
shifted: boolean;
|
|
117225
|
+
task_status: string;
|
|
117226
|
+
}[];
|
|
117227
|
+
};
|
|
114402
117228
|
logistics_check_order_allowed: {
|
|
114403
117229
|
Args: {
|
|
114404
117230
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -114547,6 +117373,17 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
114547
117373
|
isSetofReturn: false;
|
|
114548
117374
|
};
|
|
114549
117375
|
};
|
|
117376
|
+
logistics_consistency_check: {
|
|
117377
|
+
Args: never;
|
|
117378
|
+
Returns: {
|
|
117379
|
+
agenda_carts: number;
|
|
117380
|
+
control_carts: number;
|
|
117381
|
+
ok: boolean;
|
|
117382
|
+
orphan_tasks: number;
|
|
117383
|
+
pick_date: string;
|
|
117384
|
+
raw_carts: number;
|
|
117385
|
+
}[];
|
|
117386
|
+
};
|
|
114550
117387
|
logistics_delay_customer_email: {
|
|
114551
117388
|
Args: {
|
|
114552
117389
|
p_customer: string;
|
|
@@ -114636,6 +117473,16 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
114636
117473
|
isSetofReturn: false;
|
|
114637
117474
|
};
|
|
114638
117475
|
};
|
|
117476
|
+
logistics_floriday_cart_plan: {
|
|
117477
|
+
Args: {
|
|
117478
|
+
p_order_id: string;
|
|
117479
|
+
};
|
|
117480
|
+
Returns: {
|
|
117481
|
+
carrier_type: string;
|
|
117482
|
+
idx: number;
|
|
117483
|
+
packages: number;
|
|
117484
|
+
}[];
|
|
117485
|
+
};
|
|
114639
117486
|
logistics_floriday_claim_pushes: {
|
|
114640
117487
|
Args: {
|
|
114641
117488
|
_lease_seconds?: number;
|
|
@@ -114740,6 +117587,25 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
114740
117587
|
};
|
|
114741
117588
|
Returns: number;
|
|
114742
117589
|
};
|
|
117590
|
+
logistics_order_overview: {
|
|
117591
|
+
Args: {
|
|
117592
|
+
p_from?: string;
|
|
117593
|
+
p_to?: string;
|
|
117594
|
+
};
|
|
117595
|
+
Returns: {
|
|
117596
|
+
cart_count: number;
|
|
117597
|
+
customer_name: string;
|
|
117598
|
+
delivery_date: string;
|
|
117599
|
+
order_number: string;
|
|
117600
|
+
order_source: string;
|
|
117601
|
+
order_uuid: string;
|
|
117602
|
+
pick_date: string;
|
|
117603
|
+
plant_count: number;
|
|
117604
|
+
printed_at: string;
|
|
117605
|
+
shifted: boolean;
|
|
117606
|
+
status: string;
|
|
117607
|
+
}[];
|
|
117608
|
+
};
|
|
114743
117609
|
logistics_order_pick_day: {
|
|
114744
117610
|
Args: {
|
|
114745
117611
|
p_order_ref: string;
|
|
@@ -114752,6 +117618,22 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
114752
117618
|
};
|
|
114753
117619
|
Returns: string;
|
|
114754
117620
|
};
|
|
117621
|
+
logistics_pick_agenda: {
|
|
117622
|
+
Args: {
|
|
117623
|
+
p_from?: string;
|
|
117624
|
+
p_to?: string;
|
|
117625
|
+
};
|
|
117626
|
+
Returns: {
|
|
117627
|
+
cart_count: number;
|
|
117628
|
+
in_preparation: number;
|
|
117629
|
+
order_count: number;
|
|
117630
|
+
orders: import("../integrations/supabase/types").Json;
|
|
117631
|
+
pick_date: string;
|
|
117632
|
+
plant_count: number;
|
|
117633
|
+
ready: number;
|
|
117634
|
+
shifted_count: number;
|
|
117635
|
+
}[];
|
|
117636
|
+
};
|
|
114755
117637
|
logistics_pick_email_purpose: {
|
|
114756
117638
|
Args: never;
|
|
114757
117639
|
Returns: string;
|
|
@@ -114806,6 +117688,13 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
114806
117688
|
};
|
|
114807
117689
|
Returns: undefined;
|
|
114808
117690
|
};
|
|
117691
|
+
logistics_plan_floriday_order: {
|
|
117692
|
+
Args: {
|
|
117693
|
+
p_buffer_id?: string;
|
|
117694
|
+
p_order_id: string;
|
|
117695
|
+
};
|
|
117696
|
+
Returns: number;
|
|
117697
|
+
};
|
|
114809
117698
|
logistics_plan_impact_orders: {
|
|
114810
117699
|
Args: {
|
|
114811
117700
|
p_order_id: string;
|
|
@@ -114911,6 +117800,15 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
114911
117800
|
};
|
|
114912
117801
|
Returns: import("../integrations/supabase/types").Json;
|
|
114913
117802
|
};
|
|
117803
|
+
logistics_resolve_pick_document: {
|
|
117804
|
+
Args: {
|
|
117805
|
+
_is_herprint: boolean;
|
|
117806
|
+
_queue_item_id: string;
|
|
117807
|
+
_session_id: string;
|
|
117808
|
+
_voorbeeld: boolean;
|
|
117809
|
+
};
|
|
117810
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
117811
|
+
};
|
|
114914
117812
|
logistics_resolve_settings: {
|
|
114915
117813
|
Args: {
|
|
114916
117814
|
p_config_id: string;
|
|
@@ -115351,6 +118249,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
115351
118249
|
};
|
|
115352
118250
|
pick_enqueue_print_job: {
|
|
115353
118251
|
Args: {
|
|
118252
|
+
_is_herprint?: boolean;
|
|
115354
118253
|
_printer_id?: string;
|
|
115355
118254
|
_queue_item_id: string;
|
|
115356
118255
|
_session_id?: string;
|
|
@@ -115364,6 +118263,13 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
115364
118263
|
};
|
|
115365
118264
|
Returns: import("../integrations/supabase/types").Json;
|
|
115366
118265
|
};
|
|
118266
|
+
pick_preview_job: {
|
|
118267
|
+
Args: {
|
|
118268
|
+
_queue_item_id: string;
|
|
118269
|
+
_station_slug: string;
|
|
118270
|
+
};
|
|
118271
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
118272
|
+
};
|
|
115367
118273
|
pick_print_job_status: {
|
|
115368
118274
|
Args: {
|
|
115369
118275
|
_job_id: string;
|
|
@@ -115541,6 +118447,24 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
115541
118447
|
};
|
|
115542
118448
|
Returns: undefined;
|
|
115543
118449
|
};
|
|
118450
|
+
print_preview_toestaan: {
|
|
118451
|
+
Args: {
|
|
118452
|
+
_max?: number;
|
|
118453
|
+
_queue_item_id: string;
|
|
118454
|
+
_station_slug: string;
|
|
118455
|
+
_venster_sec?: number;
|
|
118456
|
+
};
|
|
118457
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
118458
|
+
};
|
|
118459
|
+
print_preview_weiger: {
|
|
118460
|
+
Args: {
|
|
118461
|
+
_code: string;
|
|
118462
|
+
_queue_item_id: string;
|
|
118463
|
+
_reden: string;
|
|
118464
|
+
_station_slug: string;
|
|
118465
|
+
};
|
|
118466
|
+
Returns: undefined;
|
|
118467
|
+
};
|
|
115544
118468
|
process_logistics_event: {
|
|
115545
118469
|
Args: {
|
|
115546
118470
|
p_event_id: string;
|
|
@@ -115695,6 +118619,12 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
115695
118619
|
};
|
|
115696
118620
|
Returns: string;
|
|
115697
118621
|
};
|
|
118622
|
+
resolve_print_job_printer_id: {
|
|
118623
|
+
Args: {
|
|
118624
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
118625
|
+
};
|
|
118626
|
+
Returns: string;
|
|
118627
|
+
};
|
|
115698
118628
|
resolve_product_id_for_item: {
|
|
115699
118629
|
Args: {
|
|
115700
118630
|
p_product_name: string;
|
|
@@ -116286,7 +119216,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
116286
119216
|
};
|
|
116287
119217
|
CompositeTypes: { [_ in never]: never; };
|
|
116288
119218
|
}, {
|
|
116289
|
-
PostgrestVersion: "14.
|
|
119219
|
+
PostgrestVersion: "14.5";
|
|
116290
119220
|
}>;
|
|
116291
119221
|
userId: string;
|
|
116292
119222
|
claims: import("@supabase/auth-js").User;
|