@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
|
@@ -2857,6 +2857,84 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
2857
2857
|
};
|
|
2858
2858
|
Relationships: [];
|
|
2859
2859
|
};
|
|
2860
|
+
delivery_notes: {
|
|
2861
|
+
Row: {
|
|
2862
|
+
byte_size: number | null;
|
|
2863
|
+
connection_id: string | null;
|
|
2864
|
+
content_type: string;
|
|
2865
|
+
created_at: string;
|
|
2866
|
+
error_message: string | null;
|
|
2867
|
+
fetched_at: string | null;
|
|
2868
|
+
fulfillment_order_id: string | null;
|
|
2869
|
+
http_status: number | null;
|
|
2870
|
+
id: string;
|
|
2871
|
+
label_code: string | null;
|
|
2872
|
+
letter: string | null;
|
|
2873
|
+
load_carrier_index: number | null;
|
|
2874
|
+
load_carrier_type: string | null;
|
|
2875
|
+
order_id: string | null;
|
|
2876
|
+
order_number: string | null;
|
|
2877
|
+
packages: number | null;
|
|
2878
|
+
source: string;
|
|
2879
|
+
status: string;
|
|
2880
|
+
storage_bucket: string;
|
|
2881
|
+
storage_path: string | null;
|
|
2882
|
+
updated_at: string;
|
|
2883
|
+
};
|
|
2884
|
+
Insert: {
|
|
2885
|
+
byte_size?: number | null;
|
|
2886
|
+
connection_id?: string | null;
|
|
2887
|
+
content_type?: string;
|
|
2888
|
+
created_at?: string;
|
|
2889
|
+
error_message?: string | null;
|
|
2890
|
+
fetched_at?: string | null;
|
|
2891
|
+
fulfillment_order_id?: string | null;
|
|
2892
|
+
http_status?: number | null;
|
|
2893
|
+
id?: string;
|
|
2894
|
+
label_code?: string | null;
|
|
2895
|
+
letter?: string | null;
|
|
2896
|
+
load_carrier_index?: number | null;
|
|
2897
|
+
load_carrier_type?: string | null;
|
|
2898
|
+
order_id?: string | null;
|
|
2899
|
+
order_number?: string | null;
|
|
2900
|
+
packages?: number | null;
|
|
2901
|
+
source?: string;
|
|
2902
|
+
status?: string;
|
|
2903
|
+
storage_bucket?: string;
|
|
2904
|
+
storage_path?: string | null;
|
|
2905
|
+
updated_at?: string;
|
|
2906
|
+
};
|
|
2907
|
+
Update: {
|
|
2908
|
+
byte_size?: number | null;
|
|
2909
|
+
connection_id?: string | null;
|
|
2910
|
+
content_type?: string;
|
|
2911
|
+
created_at?: string;
|
|
2912
|
+
error_message?: string | null;
|
|
2913
|
+
fetched_at?: string | null;
|
|
2914
|
+
fulfillment_order_id?: string | null;
|
|
2915
|
+
http_status?: number | null;
|
|
2916
|
+
id?: string;
|
|
2917
|
+
label_code?: string | null;
|
|
2918
|
+
letter?: string | null;
|
|
2919
|
+
load_carrier_index?: number | null;
|
|
2920
|
+
load_carrier_type?: string | null;
|
|
2921
|
+
order_id?: string | null;
|
|
2922
|
+
order_number?: string | null;
|
|
2923
|
+
packages?: number | null;
|
|
2924
|
+
source?: string;
|
|
2925
|
+
status?: string;
|
|
2926
|
+
storage_bucket?: string;
|
|
2927
|
+
storage_path?: string | null;
|
|
2928
|
+
updated_at?: string;
|
|
2929
|
+
};
|
|
2930
|
+
Relationships: [{
|
|
2931
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
2932
|
+
columns: ["order_id"];
|
|
2933
|
+
isOneToOne: false;
|
|
2934
|
+
referencedRelation: "orders";
|
|
2935
|
+
referencedColumns: ["id"];
|
|
2936
|
+
}];
|
|
2937
|
+
};
|
|
2860
2938
|
document_bronregels: {
|
|
2861
2939
|
Row: {
|
|
2862
2940
|
bron: string;
|
|
@@ -5910,10 +5988,7 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
5910
5988
|
};
|
|
5911
5989
|
floriday_connections: {
|
|
5912
5990
|
Row: {
|
|
5913
|
-
access_token: string | null;
|
|
5914
5991
|
api_key: string;
|
|
5915
|
-
client_id: string;
|
|
5916
|
-
client_secret: string;
|
|
5917
5992
|
created_at: string;
|
|
5918
5993
|
customers_endpoint: string | null;
|
|
5919
5994
|
environment: string;
|
|
@@ -5928,10 +6003,7 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
5928
6003
|
updated_at: string;
|
|
5929
6004
|
};
|
|
5930
6005
|
Insert: {
|
|
5931
|
-
access_token?: string | null;
|
|
5932
6006
|
api_key: string;
|
|
5933
|
-
client_id: string;
|
|
5934
|
-
client_secret: string;
|
|
5935
6007
|
created_at?: string;
|
|
5936
6008
|
customers_endpoint?: string | null;
|
|
5937
6009
|
environment: string;
|
|
@@ -5946,10 +6018,7 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
5946
6018
|
updated_at?: string;
|
|
5947
6019
|
};
|
|
5948
6020
|
Update: {
|
|
5949
|
-
access_token?: string | null;
|
|
5950
6021
|
api_key?: string;
|
|
5951
|
-
client_id?: string;
|
|
5952
|
-
client_secret?: string;
|
|
5953
6022
|
created_at?: string;
|
|
5954
6023
|
customers_endpoint?: string | null;
|
|
5955
6024
|
environment?: string;
|
|
@@ -6033,6 +6102,7 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
6033
6102
|
attempts: number;
|
|
6034
6103
|
connection_id: string;
|
|
6035
6104
|
created_at: string;
|
|
6105
|
+
dead_lettered_at: string | null;
|
|
6036
6106
|
desired_available: boolean | null;
|
|
6037
6107
|
gateway_attempt_id: string | null;
|
|
6038
6108
|
id: string;
|
|
@@ -6041,9 +6111,13 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
6041
6111
|
locked_by: string | null;
|
|
6042
6112
|
next_attempt_at: string;
|
|
6043
6113
|
number_of_pieces: number;
|
|
6114
|
+
product_id: string | null;
|
|
6044
6115
|
sent_at: string | null;
|
|
6045
6116
|
status: string;
|
|
6117
|
+
stock_mode: string | null;
|
|
6046
6118
|
superseded_by: string | null;
|
|
6119
|
+
target_week: number | null;
|
|
6120
|
+
target_year: number | null;
|
|
6047
6121
|
trade_item_id: string;
|
|
6048
6122
|
updated_at: string;
|
|
6049
6123
|
user_id: string;
|
|
@@ -6052,6 +6126,7 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
6052
6126
|
attempts?: number;
|
|
6053
6127
|
connection_id: string;
|
|
6054
6128
|
created_at?: string;
|
|
6129
|
+
dead_lettered_at?: string | null;
|
|
6055
6130
|
desired_available?: boolean | null;
|
|
6056
6131
|
gateway_attempt_id?: string | null;
|
|
6057
6132
|
id?: string;
|
|
@@ -6060,9 +6135,13 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
6060
6135
|
locked_by?: string | null;
|
|
6061
6136
|
next_attempt_at?: string;
|
|
6062
6137
|
number_of_pieces?: number;
|
|
6138
|
+
product_id?: string | null;
|
|
6063
6139
|
sent_at?: string | null;
|
|
6064
6140
|
status?: string;
|
|
6141
|
+
stock_mode?: string | null;
|
|
6065
6142
|
superseded_by?: string | null;
|
|
6143
|
+
target_week?: number | null;
|
|
6144
|
+
target_year?: number | null;
|
|
6066
6145
|
trade_item_id: string;
|
|
6067
6146
|
updated_at?: string;
|
|
6068
6147
|
user_id: string;
|
|
@@ -6071,6 +6150,7 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
6071
6150
|
attempts?: number;
|
|
6072
6151
|
connection_id?: string;
|
|
6073
6152
|
created_at?: string;
|
|
6153
|
+
dead_lettered_at?: string | null;
|
|
6074
6154
|
desired_available?: boolean | null;
|
|
6075
6155
|
gateway_attempt_id?: string | null;
|
|
6076
6156
|
id?: string;
|
|
@@ -6079,9 +6159,13 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
6079
6159
|
locked_by?: string | null;
|
|
6080
6160
|
next_attempt_at?: string;
|
|
6081
6161
|
number_of_pieces?: number;
|
|
6162
|
+
product_id?: string | null;
|
|
6082
6163
|
sent_at?: string | null;
|
|
6083
6164
|
status?: string;
|
|
6165
|
+
stock_mode?: string | null;
|
|
6084
6166
|
superseded_by?: string | null;
|
|
6167
|
+
target_week?: number | null;
|
|
6168
|
+
target_year?: number | null;
|
|
6085
6169
|
trade_item_id?: string;
|
|
6086
6170
|
updated_at?: string;
|
|
6087
6171
|
user_id?: string;
|
|
@@ -6490,6 +6574,87 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
6490
6574
|
referencedColumns: ["id"];
|
|
6491
6575
|
}];
|
|
6492
6576
|
};
|
|
6577
|
+
floriday_inventory_settings: {
|
|
6578
|
+
Row: {
|
|
6579
|
+
buffer_quantity: number;
|
|
6580
|
+
connection_id: string;
|
|
6581
|
+
created_at: string;
|
|
6582
|
+
desired_availability: boolean;
|
|
6583
|
+
desired_quantity: number;
|
|
6584
|
+
fixed_quantity: number | null;
|
|
6585
|
+
floriday_trade_item_id: string | null;
|
|
6586
|
+
id: string;
|
|
6587
|
+
last_confirmed_at: string | null;
|
|
6588
|
+
last_enqueued_at: string | null;
|
|
6589
|
+
last_published_at: string | null;
|
|
6590
|
+
last_sync_error: string | null;
|
|
6591
|
+
manual_quantity: number | null;
|
|
6592
|
+
maximum_quantity: number | null;
|
|
6593
|
+
product_id: string;
|
|
6594
|
+
quantity_control: string;
|
|
6595
|
+
remote_available: boolean | null;
|
|
6596
|
+
remote_checked_at: string | null;
|
|
6597
|
+
remote_quantity: number | null;
|
|
6598
|
+
stock_mode: string;
|
|
6599
|
+
sync_status: string;
|
|
6600
|
+
updated_at: string;
|
|
6601
|
+
updated_by: string | null;
|
|
6602
|
+
user_id: string;
|
|
6603
|
+
};
|
|
6604
|
+
Insert: {
|
|
6605
|
+
buffer_quantity?: number;
|
|
6606
|
+
connection_id: string;
|
|
6607
|
+
created_at?: string;
|
|
6608
|
+
desired_availability?: boolean;
|
|
6609
|
+
desired_quantity?: number;
|
|
6610
|
+
fixed_quantity?: number | null;
|
|
6611
|
+
floriday_trade_item_id?: string | null;
|
|
6612
|
+
id?: string;
|
|
6613
|
+
last_confirmed_at?: string | null;
|
|
6614
|
+
last_enqueued_at?: string | null;
|
|
6615
|
+
last_published_at?: string | null;
|
|
6616
|
+
last_sync_error?: string | null;
|
|
6617
|
+
manual_quantity?: number | null;
|
|
6618
|
+
maximum_quantity?: number | null;
|
|
6619
|
+
product_id: string;
|
|
6620
|
+
quantity_control?: string;
|
|
6621
|
+
remote_available?: boolean | null;
|
|
6622
|
+
remote_checked_at?: string | null;
|
|
6623
|
+
remote_quantity?: number | null;
|
|
6624
|
+
stock_mode?: string;
|
|
6625
|
+
sync_status?: string;
|
|
6626
|
+
updated_at?: string;
|
|
6627
|
+
updated_by?: string | null;
|
|
6628
|
+
user_id: string;
|
|
6629
|
+
};
|
|
6630
|
+
Update: {
|
|
6631
|
+
buffer_quantity?: number;
|
|
6632
|
+
connection_id?: string;
|
|
6633
|
+
created_at?: string;
|
|
6634
|
+
desired_availability?: boolean;
|
|
6635
|
+
desired_quantity?: number;
|
|
6636
|
+
fixed_quantity?: number | null;
|
|
6637
|
+
floriday_trade_item_id?: string | null;
|
|
6638
|
+
id?: string;
|
|
6639
|
+
last_confirmed_at?: string | null;
|
|
6640
|
+
last_enqueued_at?: string | null;
|
|
6641
|
+
last_published_at?: string | null;
|
|
6642
|
+
last_sync_error?: string | null;
|
|
6643
|
+
manual_quantity?: number | null;
|
|
6644
|
+
maximum_quantity?: number | null;
|
|
6645
|
+
product_id?: string;
|
|
6646
|
+
quantity_control?: string;
|
|
6647
|
+
remote_available?: boolean | null;
|
|
6648
|
+
remote_checked_at?: string | null;
|
|
6649
|
+
remote_quantity?: number | null;
|
|
6650
|
+
stock_mode?: string;
|
|
6651
|
+
sync_status?: string;
|
|
6652
|
+
updated_at?: string;
|
|
6653
|
+
updated_by?: string | null;
|
|
6654
|
+
user_id?: string;
|
|
6655
|
+
};
|
|
6656
|
+
Relationships: [];
|
|
6657
|
+
};
|
|
6493
6658
|
floriday_invoices_cache: {
|
|
6494
6659
|
Row: {
|
|
6495
6660
|
buyer_organization_id: string | null;
|
|
@@ -6778,6 +6943,39 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
6778
6943
|
};
|
|
6779
6944
|
Relationships: [];
|
|
6780
6945
|
};
|
|
6946
|
+
floriday_sales_order_ingest: {
|
|
6947
|
+
Row: {
|
|
6948
|
+
connection_id: string;
|
|
6949
|
+
created_at: string;
|
|
6950
|
+
id: string;
|
|
6951
|
+
impact: import("../integrations/supabase/types").Json;
|
|
6952
|
+
order_status: string | null;
|
|
6953
|
+
order_version: number;
|
|
6954
|
+
processed_at: string;
|
|
6955
|
+
sales_order_id: string;
|
|
6956
|
+
};
|
|
6957
|
+
Insert: {
|
|
6958
|
+
connection_id: string;
|
|
6959
|
+
created_at?: string;
|
|
6960
|
+
id?: string;
|
|
6961
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
6962
|
+
order_status?: string | null;
|
|
6963
|
+
order_version?: number;
|
|
6964
|
+
processed_at?: string;
|
|
6965
|
+
sales_order_id: string;
|
|
6966
|
+
};
|
|
6967
|
+
Update: {
|
|
6968
|
+
connection_id?: string;
|
|
6969
|
+
created_at?: string;
|
|
6970
|
+
id?: string;
|
|
6971
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
6972
|
+
order_status?: string | null;
|
|
6973
|
+
order_version?: number;
|
|
6974
|
+
processed_at?: string;
|
|
6975
|
+
sales_order_id?: string;
|
|
6976
|
+
};
|
|
6977
|
+
Relationships: [];
|
|
6978
|
+
};
|
|
6781
6979
|
floriday_sales_strategies_cache: {
|
|
6782
6980
|
Row: {
|
|
6783
6981
|
connection_id: string;
|
|
@@ -6877,6 +7075,39 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
6877
7075
|
};
|
|
6878
7076
|
Relationships: [];
|
|
6879
7077
|
};
|
|
7078
|
+
floriday_sync_cursors: {
|
|
7079
|
+
Row: {
|
|
7080
|
+
connection_id: string;
|
|
7081
|
+
created_at: string;
|
|
7082
|
+
id: string;
|
|
7083
|
+
last_error: string | null;
|
|
7084
|
+
last_sync_at: string | null;
|
|
7085
|
+
resource_type: string;
|
|
7086
|
+
sequence_number: number;
|
|
7087
|
+
updated_at: string;
|
|
7088
|
+
};
|
|
7089
|
+
Insert: {
|
|
7090
|
+
connection_id: string;
|
|
7091
|
+
created_at?: string;
|
|
7092
|
+
id?: string;
|
|
7093
|
+
last_error?: string | null;
|
|
7094
|
+
last_sync_at?: string | null;
|
|
7095
|
+
resource_type: string;
|
|
7096
|
+
sequence_number?: number;
|
|
7097
|
+
updated_at?: string;
|
|
7098
|
+
};
|
|
7099
|
+
Update: {
|
|
7100
|
+
connection_id?: string;
|
|
7101
|
+
created_at?: string;
|
|
7102
|
+
id?: string;
|
|
7103
|
+
last_error?: string | null;
|
|
7104
|
+
last_sync_at?: string | null;
|
|
7105
|
+
resource_type?: string;
|
|
7106
|
+
sequence_number?: number;
|
|
7107
|
+
updated_at?: string;
|
|
7108
|
+
};
|
|
7109
|
+
Relationships: [];
|
|
7110
|
+
};
|
|
6880
7111
|
floriday_sync_state: {
|
|
6881
7112
|
Row: {
|
|
6882
7113
|
connection_id: string;
|
|
@@ -7567,6 +7798,42 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
7567
7798
|
};
|
|
7568
7799
|
Relationships: [];
|
|
7569
7800
|
};
|
|
7801
|
+
inventory_stock_snapshots: {
|
|
7802
|
+
Row: {
|
|
7803
|
+
connection_id: string;
|
|
7804
|
+
created_at: string;
|
|
7805
|
+
erp_available_quantity: number;
|
|
7806
|
+
floriday_desired_quantity: number;
|
|
7807
|
+
floriday_remote_quantity: number | null;
|
|
7808
|
+
granularity: string;
|
|
7809
|
+
id: string;
|
|
7810
|
+
snapshot_at: string;
|
|
7811
|
+
user_id: string | null;
|
|
7812
|
+
};
|
|
7813
|
+
Insert: {
|
|
7814
|
+
connection_id: string;
|
|
7815
|
+
created_at?: string;
|
|
7816
|
+
erp_available_quantity?: number;
|
|
7817
|
+
floriday_desired_quantity?: number;
|
|
7818
|
+
floriday_remote_quantity?: number | null;
|
|
7819
|
+
granularity?: string;
|
|
7820
|
+
id?: string;
|
|
7821
|
+
snapshot_at?: string;
|
|
7822
|
+
user_id?: string | null;
|
|
7823
|
+
};
|
|
7824
|
+
Update: {
|
|
7825
|
+
connection_id?: string;
|
|
7826
|
+
created_at?: string;
|
|
7827
|
+
erp_available_quantity?: number;
|
|
7828
|
+
floriday_desired_quantity?: number;
|
|
7829
|
+
floriday_remote_quantity?: number | null;
|
|
7830
|
+
granularity?: string;
|
|
7831
|
+
id?: string;
|
|
7832
|
+
snapshot_at?: string;
|
|
7833
|
+
user_id?: string | null;
|
|
7834
|
+
};
|
|
7835
|
+
Relationships: [];
|
|
7836
|
+
};
|
|
7570
7837
|
invoice_items: {
|
|
7571
7838
|
Row: {
|
|
7572
7839
|
created_at: string;
|
|
@@ -13582,6 +13849,39 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
13582
13849
|
};
|
|
13583
13850
|
Relationships: [];
|
|
13584
13851
|
};
|
|
13852
|
+
print_dedupe_events: {
|
|
13853
|
+
Row: {
|
|
13854
|
+
bestaande_job_id: string | null;
|
|
13855
|
+
created_at: string;
|
|
13856
|
+
detail: string | null;
|
|
13857
|
+
documentnaam: string | null;
|
|
13858
|
+
documenttype: string | null;
|
|
13859
|
+
id: string;
|
|
13860
|
+
idempotentie_sleutel: string;
|
|
13861
|
+
reden: string;
|
|
13862
|
+
};
|
|
13863
|
+
Insert: {
|
|
13864
|
+
bestaande_job_id?: string | null;
|
|
13865
|
+
created_at?: string;
|
|
13866
|
+
detail?: string | null;
|
|
13867
|
+
documentnaam?: string | null;
|
|
13868
|
+
documenttype?: string | null;
|
|
13869
|
+
id?: string;
|
|
13870
|
+
idempotentie_sleutel: string;
|
|
13871
|
+
reden: string;
|
|
13872
|
+
};
|
|
13873
|
+
Update: {
|
|
13874
|
+
bestaande_job_id?: string | null;
|
|
13875
|
+
created_at?: string;
|
|
13876
|
+
detail?: string | null;
|
|
13877
|
+
documentnaam?: string | null;
|
|
13878
|
+
documenttype?: string | null;
|
|
13879
|
+
id?: string;
|
|
13880
|
+
idempotentie_sleutel?: string;
|
|
13881
|
+
reden?: string;
|
|
13882
|
+
};
|
|
13883
|
+
Relationships: [];
|
|
13884
|
+
};
|
|
13585
13885
|
print_job_logs: {
|
|
13586
13886
|
Row: {
|
|
13587
13887
|
created_at: string;
|
|
@@ -13632,6 +13932,9 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
13632
13932
|
is_herprint: boolean;
|
|
13633
13933
|
kopieen: number;
|
|
13634
13934
|
layout_id: string | null;
|
|
13935
|
+
lokaal_opgeslagen_op: string | null;
|
|
13936
|
+
lokale_pdf_fout: string | null;
|
|
13937
|
+
lokale_pdf_status: string | null;
|
|
13635
13938
|
opgepakt_op: string | null;
|
|
13636
13939
|
paginas: number;
|
|
13637
13940
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -13640,6 +13943,7 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
13640
13943
|
pogingen: number;
|
|
13641
13944
|
printer_id: string | null;
|
|
13642
13945
|
render_html: string | null;
|
|
13946
|
+
resultaat_pdf_base64: string | null;
|
|
13643
13947
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13644
13948
|
updated_at: string;
|
|
13645
13949
|
volgende_poging: string | null;
|
|
@@ -13664,6 +13968,9 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
13664
13968
|
is_herprint?: boolean;
|
|
13665
13969
|
kopieen?: number;
|
|
13666
13970
|
layout_id?: string | null;
|
|
13971
|
+
lokaal_opgeslagen_op?: string | null;
|
|
13972
|
+
lokale_pdf_fout?: string | null;
|
|
13973
|
+
lokale_pdf_status?: string | null;
|
|
13667
13974
|
opgepakt_op?: string | null;
|
|
13668
13975
|
paginas?: number;
|
|
13669
13976
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -13672,6 +13979,7 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
13672
13979
|
pogingen?: number;
|
|
13673
13980
|
printer_id?: string | null;
|
|
13674
13981
|
render_html?: string | null;
|
|
13982
|
+
resultaat_pdf_base64?: string | null;
|
|
13675
13983
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13676
13984
|
updated_at?: string;
|
|
13677
13985
|
volgende_poging?: string | null;
|
|
@@ -13696,6 +14004,9 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
13696
14004
|
is_herprint?: boolean;
|
|
13697
14005
|
kopieen?: number;
|
|
13698
14006
|
layout_id?: string | null;
|
|
14007
|
+
lokaal_opgeslagen_op?: string | null;
|
|
14008
|
+
lokale_pdf_fout?: string | null;
|
|
14009
|
+
lokale_pdf_status?: string | null;
|
|
13699
14010
|
opgepakt_op?: string | null;
|
|
13700
14011
|
paginas?: number;
|
|
13701
14012
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -13704,6 +14015,7 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
13704
14015
|
pogingen?: number;
|
|
13705
14016
|
printer_id?: string | null;
|
|
13706
14017
|
render_html?: string | null;
|
|
14018
|
+
resultaat_pdf_base64?: string | null;
|
|
13707
14019
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13708
14020
|
updated_at?: string;
|
|
13709
14021
|
volgende_poging?: string | null;
|
|
@@ -13822,6 +14134,39 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
13822
14134
|
};
|
|
13823
14135
|
Relationships: [];
|
|
13824
14136
|
};
|
|
14137
|
+
print_preview_events: {
|
|
14138
|
+
Row: {
|
|
14139
|
+
code: string | null;
|
|
14140
|
+
created_at: string;
|
|
14141
|
+
detail: import("../integrations/supabase/types").Json;
|
|
14142
|
+
id: string;
|
|
14143
|
+
queue_item_id: string | null;
|
|
14144
|
+
reden: string | null;
|
|
14145
|
+
station_slug: string | null;
|
|
14146
|
+
uitkomst: string;
|
|
14147
|
+
};
|
|
14148
|
+
Insert: {
|
|
14149
|
+
code?: string | null;
|
|
14150
|
+
created_at?: string;
|
|
14151
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
14152
|
+
id?: string;
|
|
14153
|
+
queue_item_id?: string | null;
|
|
14154
|
+
reden?: string | null;
|
|
14155
|
+
station_slug?: string | null;
|
|
14156
|
+
uitkomst?: string;
|
|
14157
|
+
};
|
|
14158
|
+
Update: {
|
|
14159
|
+
code?: string | null;
|
|
14160
|
+
created_at?: string;
|
|
14161
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
14162
|
+
id?: string;
|
|
14163
|
+
queue_item_id?: string | null;
|
|
14164
|
+
reden?: string | null;
|
|
14165
|
+
station_slug?: string | null;
|
|
14166
|
+
uitkomst?: string;
|
|
14167
|
+
};
|
|
14168
|
+
Relationships: [];
|
|
14169
|
+
};
|
|
13825
14170
|
print_queue_runners: {
|
|
13826
14171
|
Row: {
|
|
13827
14172
|
actief: boolean;
|
|
@@ -14061,6 +14406,7 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
14061
14406
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
14062
14407
|
online: boolean;
|
|
14063
14408
|
papierformaat: string;
|
|
14409
|
+
pdf_map: string | null;
|
|
14064
14410
|
poort: number | null;
|
|
14065
14411
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14066
14412
|
systeemnaam: string;
|
|
@@ -14086,6 +14432,7 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
14086
14432
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
14087
14433
|
online?: boolean;
|
|
14088
14434
|
papierformaat?: string;
|
|
14435
|
+
pdf_map?: string | null;
|
|
14089
14436
|
poort?: number | null;
|
|
14090
14437
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14091
14438
|
systeemnaam?: string;
|
|
@@ -14111,6 +14458,7 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
14111
14458
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
14112
14459
|
online?: boolean;
|
|
14113
14460
|
papierformaat?: string;
|
|
14461
|
+
pdf_map?: string | null;
|
|
14114
14462
|
poort?: number | null;
|
|
14115
14463
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14116
14464
|
systeemnaam?: string;
|
|
@@ -16680,6 +17028,7 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
16680
17028
|
};
|
|
16681
17029
|
trade_item_stock: {
|
|
16682
17030
|
Row: {
|
|
17031
|
+
change_source: string;
|
|
16683
17032
|
connection_id: string;
|
|
16684
17033
|
created_at: string;
|
|
16685
17034
|
id: string;
|
|
@@ -16693,6 +17042,7 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
16693
17042
|
user_id: string;
|
|
16694
17043
|
};
|
|
16695
17044
|
Insert: {
|
|
17045
|
+
change_source?: string;
|
|
16696
17046
|
connection_id: string;
|
|
16697
17047
|
created_at?: string;
|
|
16698
17048
|
id?: string;
|
|
@@ -16706,6 +17056,7 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
16706
17056
|
user_id: string;
|
|
16707
17057
|
};
|
|
16708
17058
|
Update: {
|
|
17059
|
+
change_source?: string;
|
|
16709
17060
|
connection_id?: string;
|
|
16710
17061
|
created_at?: string;
|
|
16711
17062
|
id?: string;
|
|
@@ -20306,6 +20657,18 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
20306
20657
|
Args: never;
|
|
20307
20658
|
Returns: number;
|
|
20308
20659
|
};
|
|
20660
|
+
calculate_floriday_desired_stock: {
|
|
20661
|
+
Args: {
|
|
20662
|
+
p_connection_id: string;
|
|
20663
|
+
p_product_id: string;
|
|
20664
|
+
};
|
|
20665
|
+
Returns: {
|
|
20666
|
+
desired_availability: boolean;
|
|
20667
|
+
desired_quantity: number;
|
|
20668
|
+
erp_available: number;
|
|
20669
|
+
stock_mode: string;
|
|
20670
|
+
}[];
|
|
20671
|
+
};
|
|
20309
20672
|
calculate_layer_stock: {
|
|
20310
20673
|
Args: {
|
|
20311
20674
|
p_product_id: string;
|
|
@@ -20367,6 +20730,9 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
20367
20730
|
is_herprint: boolean;
|
|
20368
20731
|
kopieen: number;
|
|
20369
20732
|
layout_id: string | null;
|
|
20733
|
+
lokaal_opgeslagen_op: string | null;
|
|
20734
|
+
lokale_pdf_fout: string | null;
|
|
20735
|
+
lokale_pdf_status: string | null;
|
|
20370
20736
|
opgepakt_op: string | null;
|
|
20371
20737
|
paginas: number;
|
|
20372
20738
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -20375,6 +20741,7 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
20375
20741
|
pogingen: number;
|
|
20376
20742
|
printer_id: string | null;
|
|
20377
20743
|
render_html: string | null;
|
|
20744
|
+
resultaat_pdf_base64: string | null;
|
|
20378
20745
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20379
20746
|
updated_at: string;
|
|
20380
20747
|
volgende_poging: string | null;
|
|
@@ -20396,6 +20763,7 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
20396
20763
|
attempts: number;
|
|
20397
20764
|
connection_id: string;
|
|
20398
20765
|
created_at: string;
|
|
20766
|
+
dead_lettered_at: string | null;
|
|
20399
20767
|
desired_available: boolean | null;
|
|
20400
20768
|
gateway_attempt_id: string | null;
|
|
20401
20769
|
id: string;
|
|
@@ -20404,9 +20772,13 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
20404
20772
|
locked_by: string | null;
|
|
20405
20773
|
next_attempt_at: string;
|
|
20406
20774
|
number_of_pieces: number;
|
|
20775
|
+
product_id: string | null;
|
|
20407
20776
|
sent_at: string | null;
|
|
20408
20777
|
status: string;
|
|
20778
|
+
stock_mode: string | null;
|
|
20409
20779
|
superseded_by: string | null;
|
|
20780
|
+
target_week: number | null;
|
|
20781
|
+
target_year: number | null;
|
|
20410
20782
|
trade_item_id: string;
|
|
20411
20783
|
updated_at: string;
|
|
20412
20784
|
user_id: string;
|
|
@@ -20466,6 +20838,53 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
20466
20838
|
isSetofReturn: true;
|
|
20467
20839
|
};
|
|
20468
20840
|
};
|
|
20841
|
+
claim_pdf_print_jobs: {
|
|
20842
|
+
Args: {
|
|
20843
|
+
_max?: number;
|
|
20844
|
+
};
|
|
20845
|
+
Returns: {
|
|
20846
|
+
agent_id: string | null;
|
|
20847
|
+
bron_job_id: string | null;
|
|
20848
|
+
created_at: string;
|
|
20849
|
+
documentnaam: string;
|
|
20850
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
20851
|
+
extern_job_id: string | null;
|
|
20852
|
+
foutmelding: string | null;
|
|
20853
|
+
gebruiker_id: string | null;
|
|
20854
|
+
gebruiker_naam: string;
|
|
20855
|
+
gebruikte_bron: string | null;
|
|
20856
|
+
gebruikte_layout_id: string | null;
|
|
20857
|
+
gestart_op: string | null;
|
|
20858
|
+
herkomst: string | null;
|
|
20859
|
+
id: string;
|
|
20860
|
+
idempotentie_sleutel: string | null;
|
|
20861
|
+
is_herprint: boolean;
|
|
20862
|
+
kopieen: number;
|
|
20863
|
+
layout_id: string | null;
|
|
20864
|
+
lokaal_opgeslagen_op: string | null;
|
|
20865
|
+
lokale_pdf_fout: string | null;
|
|
20866
|
+
lokale_pdf_status: string | null;
|
|
20867
|
+
opgepakt_op: string | null;
|
|
20868
|
+
paginas: number;
|
|
20869
|
+
payload: import("../integrations/supabase/types").Json;
|
|
20870
|
+
pdf_base64: string | null;
|
|
20871
|
+
pdf_url: string | null;
|
|
20872
|
+
pogingen: number;
|
|
20873
|
+
printer_id: string | null;
|
|
20874
|
+
render_html: string | null;
|
|
20875
|
+
resultaat_pdf_base64: string | null;
|
|
20876
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20877
|
+
updated_at: string;
|
|
20878
|
+
volgende_poging: string | null;
|
|
20879
|
+
voltooid_op: string | null;
|
|
20880
|
+
}[];
|
|
20881
|
+
SetofOptions: {
|
|
20882
|
+
from: "*";
|
|
20883
|
+
to: "print_jobs";
|
|
20884
|
+
isOneToOne: false;
|
|
20885
|
+
isSetofReturn: true;
|
|
20886
|
+
};
|
|
20887
|
+
};
|
|
20469
20888
|
claim_print_jobs: {
|
|
20470
20889
|
Args: {
|
|
20471
20890
|
_agent_id: string;
|
|
@@ -20490,6 +20909,9 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
20490
20909
|
is_herprint: boolean;
|
|
20491
20910
|
kopieen: number;
|
|
20492
20911
|
layout_id: string | null;
|
|
20912
|
+
lokaal_opgeslagen_op: string | null;
|
|
20913
|
+
lokale_pdf_fout: string | null;
|
|
20914
|
+
lokale_pdf_status: string | null;
|
|
20493
20915
|
opgepakt_op: string | null;
|
|
20494
20916
|
paginas: number;
|
|
20495
20917
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -20498,6 +20920,7 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
20498
20920
|
pogingen: number;
|
|
20499
20921
|
printer_id: string | null;
|
|
20500
20922
|
render_html: string | null;
|
|
20923
|
+
resultaat_pdf_base64: string | null;
|
|
20501
20924
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20502
20925
|
updated_at: string;
|
|
20503
20926
|
volgende_poging: string | null;
|
|
@@ -20638,6 +21061,8 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
20638
21061
|
order_id: string;
|
|
20639
21062
|
order_source: string;
|
|
20640
21063
|
pick_date: string;
|
|
21064
|
+
printed_at: string;
|
|
21065
|
+
printed_today: boolean;
|
|
20641
21066
|
status: string;
|
|
20642
21067
|
}[];
|
|
20643
21068
|
};
|
|
@@ -20834,6 +21259,24 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
20834
21259
|
};
|
|
20835
21260
|
Returns: string;
|
|
20836
21261
|
};
|
|
21262
|
+
floriday_capture_stock_snapshot: {
|
|
21263
|
+
Args: never;
|
|
21264
|
+
Returns: number;
|
|
21265
|
+
};
|
|
21266
|
+
floriday_cleanup_stock_queue_v2: {
|
|
21267
|
+
Args: never;
|
|
21268
|
+
Returns: undefined;
|
|
21269
|
+
};
|
|
21270
|
+
floriday_compact_stock_snapshots: {
|
|
21271
|
+
Args: never;
|
|
21272
|
+
Returns: undefined;
|
|
21273
|
+
};
|
|
21274
|
+
floriday_default_owner: {
|
|
21275
|
+
Args: {
|
|
21276
|
+
p_connection_id: string;
|
|
21277
|
+
};
|
|
21278
|
+
Returns: string;
|
|
21279
|
+
};
|
|
20837
21280
|
floriday_effective_price: {
|
|
20838
21281
|
Args: {
|
|
20839
21282
|
_buyer_id: string;
|
|
@@ -20851,6 +21294,22 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
20851
21294
|
source_id: string;
|
|
20852
21295
|
}[];
|
|
20853
21296
|
};
|
|
21297
|
+
floriday_fill_publish_horizon: {
|
|
21298
|
+
Args: never;
|
|
21299
|
+
Returns: number;
|
|
21300
|
+
};
|
|
21301
|
+
floriday_publish_horizon_weeks: {
|
|
21302
|
+
Args: never;
|
|
21303
|
+
Returns: number;
|
|
21304
|
+
};
|
|
21305
|
+
floriday_recompute_inventory: {
|
|
21306
|
+
Args: {
|
|
21307
|
+
p_connection_id: string;
|
|
21308
|
+
p_force?: boolean;
|
|
21309
|
+
p_product_id: string;
|
|
21310
|
+
};
|
|
21311
|
+
Returns: undefined;
|
|
21312
|
+
};
|
|
20854
21313
|
format_cart_number: {
|
|
20855
21314
|
Args: {
|
|
20856
21315
|
p_pick_date: string;
|
|
@@ -21346,6 +21805,10 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
21346
21805
|
};
|
|
21347
21806
|
Returns: number;
|
|
21348
21807
|
};
|
|
21808
|
+
logistics_cancel_orphan_tasks: {
|
|
21809
|
+
Args: never;
|
|
21810
|
+
Returns: number;
|
|
21811
|
+
};
|
|
21349
21812
|
logistics_capacity_day_check: {
|
|
21350
21813
|
Args: {
|
|
21351
21814
|
p_from?: string;
|
|
@@ -21366,6 +21829,25 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
21366
21829
|
};
|
|
21367
21830
|
Returns: number;
|
|
21368
21831
|
};
|
|
21832
|
+
logistics_cart_index: {
|
|
21833
|
+
Args: {
|
|
21834
|
+
p_from?: string;
|
|
21835
|
+
p_to?: string;
|
|
21836
|
+
};
|
|
21837
|
+
Returns: {
|
|
21838
|
+
cart_id: string;
|
|
21839
|
+
cart_index: number;
|
|
21840
|
+
cart_label: string;
|
|
21841
|
+
is_shared: boolean;
|
|
21842
|
+
order_number: string;
|
|
21843
|
+
order_source: string;
|
|
21844
|
+
order_uuid: string;
|
|
21845
|
+
pick_date: string;
|
|
21846
|
+
printed_at: string;
|
|
21847
|
+
shifted: boolean;
|
|
21848
|
+
task_status: string;
|
|
21849
|
+
}[];
|
|
21850
|
+
};
|
|
21369
21851
|
logistics_check_order_allowed: {
|
|
21370
21852
|
Args: {
|
|
21371
21853
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -21514,6 +21996,17 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
21514
21996
|
isSetofReturn: false;
|
|
21515
21997
|
};
|
|
21516
21998
|
};
|
|
21999
|
+
logistics_consistency_check: {
|
|
22000
|
+
Args: never;
|
|
22001
|
+
Returns: {
|
|
22002
|
+
agenda_carts: number;
|
|
22003
|
+
control_carts: number;
|
|
22004
|
+
ok: boolean;
|
|
22005
|
+
orphan_tasks: number;
|
|
22006
|
+
pick_date: string;
|
|
22007
|
+
raw_carts: number;
|
|
22008
|
+
}[];
|
|
22009
|
+
};
|
|
21517
22010
|
logistics_delay_customer_email: {
|
|
21518
22011
|
Args: {
|
|
21519
22012
|
p_customer: string;
|
|
@@ -21603,6 +22096,16 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
21603
22096
|
isSetofReturn: false;
|
|
21604
22097
|
};
|
|
21605
22098
|
};
|
|
22099
|
+
logistics_floriday_cart_plan: {
|
|
22100
|
+
Args: {
|
|
22101
|
+
p_order_id: string;
|
|
22102
|
+
};
|
|
22103
|
+
Returns: {
|
|
22104
|
+
carrier_type: string;
|
|
22105
|
+
idx: number;
|
|
22106
|
+
packages: number;
|
|
22107
|
+
}[];
|
|
22108
|
+
};
|
|
21606
22109
|
logistics_floriday_claim_pushes: {
|
|
21607
22110
|
Args: {
|
|
21608
22111
|
_lease_seconds?: number;
|
|
@@ -21707,6 +22210,25 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
21707
22210
|
};
|
|
21708
22211
|
Returns: number;
|
|
21709
22212
|
};
|
|
22213
|
+
logistics_order_overview: {
|
|
22214
|
+
Args: {
|
|
22215
|
+
p_from?: string;
|
|
22216
|
+
p_to?: string;
|
|
22217
|
+
};
|
|
22218
|
+
Returns: {
|
|
22219
|
+
cart_count: number;
|
|
22220
|
+
customer_name: string;
|
|
22221
|
+
delivery_date: string;
|
|
22222
|
+
order_number: string;
|
|
22223
|
+
order_source: string;
|
|
22224
|
+
order_uuid: string;
|
|
22225
|
+
pick_date: string;
|
|
22226
|
+
plant_count: number;
|
|
22227
|
+
printed_at: string;
|
|
22228
|
+
shifted: boolean;
|
|
22229
|
+
status: string;
|
|
22230
|
+
}[];
|
|
22231
|
+
};
|
|
21710
22232
|
logistics_order_pick_day: {
|
|
21711
22233
|
Args: {
|
|
21712
22234
|
p_order_ref: string;
|
|
@@ -21719,6 +22241,22 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
21719
22241
|
};
|
|
21720
22242
|
Returns: string;
|
|
21721
22243
|
};
|
|
22244
|
+
logistics_pick_agenda: {
|
|
22245
|
+
Args: {
|
|
22246
|
+
p_from?: string;
|
|
22247
|
+
p_to?: string;
|
|
22248
|
+
};
|
|
22249
|
+
Returns: {
|
|
22250
|
+
cart_count: number;
|
|
22251
|
+
in_preparation: number;
|
|
22252
|
+
order_count: number;
|
|
22253
|
+
orders: import("../integrations/supabase/types").Json;
|
|
22254
|
+
pick_date: string;
|
|
22255
|
+
plant_count: number;
|
|
22256
|
+
ready: number;
|
|
22257
|
+
shifted_count: number;
|
|
22258
|
+
}[];
|
|
22259
|
+
};
|
|
21722
22260
|
logistics_pick_email_purpose: {
|
|
21723
22261
|
Args: never;
|
|
21724
22262
|
Returns: string;
|
|
@@ -21773,6 +22311,13 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
21773
22311
|
};
|
|
21774
22312
|
Returns: undefined;
|
|
21775
22313
|
};
|
|
22314
|
+
logistics_plan_floriday_order: {
|
|
22315
|
+
Args: {
|
|
22316
|
+
p_buffer_id?: string;
|
|
22317
|
+
p_order_id: string;
|
|
22318
|
+
};
|
|
22319
|
+
Returns: number;
|
|
22320
|
+
};
|
|
21776
22321
|
logistics_plan_impact_orders: {
|
|
21777
22322
|
Args: {
|
|
21778
22323
|
p_order_id: string;
|
|
@@ -21878,6 +22423,15 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
21878
22423
|
};
|
|
21879
22424
|
Returns: import("../integrations/supabase/types").Json;
|
|
21880
22425
|
};
|
|
22426
|
+
logistics_resolve_pick_document: {
|
|
22427
|
+
Args: {
|
|
22428
|
+
_is_herprint: boolean;
|
|
22429
|
+
_queue_item_id: string;
|
|
22430
|
+
_session_id: string;
|
|
22431
|
+
_voorbeeld: boolean;
|
|
22432
|
+
};
|
|
22433
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22434
|
+
};
|
|
21881
22435
|
logistics_resolve_settings: {
|
|
21882
22436
|
Args: {
|
|
21883
22437
|
p_config_id: string;
|
|
@@ -22318,6 +22872,7 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
22318
22872
|
};
|
|
22319
22873
|
pick_enqueue_print_job: {
|
|
22320
22874
|
Args: {
|
|
22875
|
+
_is_herprint?: boolean;
|
|
22321
22876
|
_printer_id?: string;
|
|
22322
22877
|
_queue_item_id: string;
|
|
22323
22878
|
_session_id?: string;
|
|
@@ -22331,6 +22886,13 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
22331
22886
|
};
|
|
22332
22887
|
Returns: import("../integrations/supabase/types").Json;
|
|
22333
22888
|
};
|
|
22889
|
+
pick_preview_job: {
|
|
22890
|
+
Args: {
|
|
22891
|
+
_queue_item_id: string;
|
|
22892
|
+
_station_slug: string;
|
|
22893
|
+
};
|
|
22894
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22895
|
+
};
|
|
22334
22896
|
pick_print_job_status: {
|
|
22335
22897
|
Args: {
|
|
22336
22898
|
_job_id: string;
|
|
@@ -22508,6 +23070,24 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
22508
23070
|
};
|
|
22509
23071
|
Returns: undefined;
|
|
22510
23072
|
};
|
|
23073
|
+
print_preview_toestaan: {
|
|
23074
|
+
Args: {
|
|
23075
|
+
_max?: number;
|
|
23076
|
+
_queue_item_id: string;
|
|
23077
|
+
_station_slug: string;
|
|
23078
|
+
_venster_sec?: number;
|
|
23079
|
+
};
|
|
23080
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23081
|
+
};
|
|
23082
|
+
print_preview_weiger: {
|
|
23083
|
+
Args: {
|
|
23084
|
+
_code: string;
|
|
23085
|
+
_queue_item_id: string;
|
|
23086
|
+
_reden: string;
|
|
23087
|
+
_station_slug: string;
|
|
23088
|
+
};
|
|
23089
|
+
Returns: undefined;
|
|
23090
|
+
};
|
|
22511
23091
|
process_logistics_event: {
|
|
22512
23092
|
Args: {
|
|
22513
23093
|
p_event_id: string;
|
|
@@ -22662,6 +23242,12 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
22662
23242
|
};
|
|
22663
23243
|
Returns: string;
|
|
22664
23244
|
};
|
|
23245
|
+
resolve_print_job_printer_id: {
|
|
23246
|
+
Args: {
|
|
23247
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
23248
|
+
};
|
|
23249
|
+
Returns: string;
|
|
23250
|
+
};
|
|
22665
23251
|
resolve_product_id_for_item: {
|
|
22666
23252
|
Args: {
|
|
22667
23253
|
p_product_name: string;
|
|
@@ -23253,7 +23839,7 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
23253
23839
|
};
|
|
23254
23840
|
CompositeTypes: { [_ in never]: never; };
|
|
23255
23841
|
}, {
|
|
23256
|
-
PostgrestVersion: "14.
|
|
23842
|
+
PostgrestVersion: "14.5";
|
|
23257
23843
|
}>;
|
|
23258
23844
|
userId: string;
|
|
23259
23845
|
claims: import("@supabase/auth-js").User;
|
|
@@ -26114,6 +26700,84 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
26114
26700
|
};
|
|
26115
26701
|
Relationships: [];
|
|
26116
26702
|
};
|
|
26703
|
+
delivery_notes: {
|
|
26704
|
+
Row: {
|
|
26705
|
+
byte_size: number | null;
|
|
26706
|
+
connection_id: string | null;
|
|
26707
|
+
content_type: string;
|
|
26708
|
+
created_at: string;
|
|
26709
|
+
error_message: string | null;
|
|
26710
|
+
fetched_at: string | null;
|
|
26711
|
+
fulfillment_order_id: string | null;
|
|
26712
|
+
http_status: number | null;
|
|
26713
|
+
id: string;
|
|
26714
|
+
label_code: string | null;
|
|
26715
|
+
letter: string | null;
|
|
26716
|
+
load_carrier_index: number | null;
|
|
26717
|
+
load_carrier_type: string | null;
|
|
26718
|
+
order_id: string | null;
|
|
26719
|
+
order_number: string | null;
|
|
26720
|
+
packages: number | null;
|
|
26721
|
+
source: string;
|
|
26722
|
+
status: string;
|
|
26723
|
+
storage_bucket: string;
|
|
26724
|
+
storage_path: string | null;
|
|
26725
|
+
updated_at: string;
|
|
26726
|
+
};
|
|
26727
|
+
Insert: {
|
|
26728
|
+
byte_size?: number | null;
|
|
26729
|
+
connection_id?: string | null;
|
|
26730
|
+
content_type?: string;
|
|
26731
|
+
created_at?: string;
|
|
26732
|
+
error_message?: string | null;
|
|
26733
|
+
fetched_at?: string | null;
|
|
26734
|
+
fulfillment_order_id?: string | null;
|
|
26735
|
+
http_status?: number | null;
|
|
26736
|
+
id?: string;
|
|
26737
|
+
label_code?: string | null;
|
|
26738
|
+
letter?: string | null;
|
|
26739
|
+
load_carrier_index?: number | null;
|
|
26740
|
+
load_carrier_type?: string | null;
|
|
26741
|
+
order_id?: string | null;
|
|
26742
|
+
order_number?: string | null;
|
|
26743
|
+
packages?: number | null;
|
|
26744
|
+
source?: string;
|
|
26745
|
+
status?: string;
|
|
26746
|
+
storage_bucket?: string;
|
|
26747
|
+
storage_path?: string | null;
|
|
26748
|
+
updated_at?: string;
|
|
26749
|
+
};
|
|
26750
|
+
Update: {
|
|
26751
|
+
byte_size?: number | null;
|
|
26752
|
+
connection_id?: string | null;
|
|
26753
|
+
content_type?: string;
|
|
26754
|
+
created_at?: string;
|
|
26755
|
+
error_message?: string | null;
|
|
26756
|
+
fetched_at?: string | null;
|
|
26757
|
+
fulfillment_order_id?: string | null;
|
|
26758
|
+
http_status?: number | null;
|
|
26759
|
+
id?: string;
|
|
26760
|
+
label_code?: string | null;
|
|
26761
|
+
letter?: string | null;
|
|
26762
|
+
load_carrier_index?: number | null;
|
|
26763
|
+
load_carrier_type?: string | null;
|
|
26764
|
+
order_id?: string | null;
|
|
26765
|
+
order_number?: string | null;
|
|
26766
|
+
packages?: number | null;
|
|
26767
|
+
source?: string;
|
|
26768
|
+
status?: string;
|
|
26769
|
+
storage_bucket?: string;
|
|
26770
|
+
storage_path?: string | null;
|
|
26771
|
+
updated_at?: string;
|
|
26772
|
+
};
|
|
26773
|
+
Relationships: [{
|
|
26774
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
26775
|
+
columns: ["order_id"];
|
|
26776
|
+
isOneToOne: false;
|
|
26777
|
+
referencedRelation: "orders";
|
|
26778
|
+
referencedColumns: ["id"];
|
|
26779
|
+
}];
|
|
26780
|
+
};
|
|
26117
26781
|
document_bronregels: {
|
|
26118
26782
|
Row: {
|
|
26119
26783
|
bron: string;
|
|
@@ -29167,10 +29831,7 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
29167
29831
|
};
|
|
29168
29832
|
floriday_connections: {
|
|
29169
29833
|
Row: {
|
|
29170
|
-
access_token: string | null;
|
|
29171
29834
|
api_key: string;
|
|
29172
|
-
client_id: string;
|
|
29173
|
-
client_secret: string;
|
|
29174
29835
|
created_at: string;
|
|
29175
29836
|
customers_endpoint: string | null;
|
|
29176
29837
|
environment: string;
|
|
@@ -29185,10 +29846,7 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
29185
29846
|
updated_at: string;
|
|
29186
29847
|
};
|
|
29187
29848
|
Insert: {
|
|
29188
|
-
access_token?: string | null;
|
|
29189
29849
|
api_key: string;
|
|
29190
|
-
client_id: string;
|
|
29191
|
-
client_secret: string;
|
|
29192
29850
|
created_at?: string;
|
|
29193
29851
|
customers_endpoint?: string | null;
|
|
29194
29852
|
environment: string;
|
|
@@ -29203,10 +29861,7 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
29203
29861
|
updated_at?: string;
|
|
29204
29862
|
};
|
|
29205
29863
|
Update: {
|
|
29206
|
-
access_token?: string | null;
|
|
29207
29864
|
api_key?: string;
|
|
29208
|
-
client_id?: string;
|
|
29209
|
-
client_secret?: string;
|
|
29210
29865
|
created_at?: string;
|
|
29211
29866
|
customers_endpoint?: string | null;
|
|
29212
29867
|
environment?: string;
|
|
@@ -29290,6 +29945,7 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
29290
29945
|
attempts: number;
|
|
29291
29946
|
connection_id: string;
|
|
29292
29947
|
created_at: string;
|
|
29948
|
+
dead_lettered_at: string | null;
|
|
29293
29949
|
desired_available: boolean | null;
|
|
29294
29950
|
gateway_attempt_id: string | null;
|
|
29295
29951
|
id: string;
|
|
@@ -29298,9 +29954,13 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
29298
29954
|
locked_by: string | null;
|
|
29299
29955
|
next_attempt_at: string;
|
|
29300
29956
|
number_of_pieces: number;
|
|
29957
|
+
product_id: string | null;
|
|
29301
29958
|
sent_at: string | null;
|
|
29302
29959
|
status: string;
|
|
29960
|
+
stock_mode: string | null;
|
|
29303
29961
|
superseded_by: string | null;
|
|
29962
|
+
target_week: number | null;
|
|
29963
|
+
target_year: number | null;
|
|
29304
29964
|
trade_item_id: string;
|
|
29305
29965
|
updated_at: string;
|
|
29306
29966
|
user_id: string;
|
|
@@ -29309,6 +29969,7 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
29309
29969
|
attempts?: number;
|
|
29310
29970
|
connection_id: string;
|
|
29311
29971
|
created_at?: string;
|
|
29972
|
+
dead_lettered_at?: string | null;
|
|
29312
29973
|
desired_available?: boolean | null;
|
|
29313
29974
|
gateway_attempt_id?: string | null;
|
|
29314
29975
|
id?: string;
|
|
@@ -29317,9 +29978,13 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
29317
29978
|
locked_by?: string | null;
|
|
29318
29979
|
next_attempt_at?: string;
|
|
29319
29980
|
number_of_pieces?: number;
|
|
29981
|
+
product_id?: string | null;
|
|
29320
29982
|
sent_at?: string | null;
|
|
29321
29983
|
status?: string;
|
|
29984
|
+
stock_mode?: string | null;
|
|
29322
29985
|
superseded_by?: string | null;
|
|
29986
|
+
target_week?: number | null;
|
|
29987
|
+
target_year?: number | null;
|
|
29323
29988
|
trade_item_id: string;
|
|
29324
29989
|
updated_at?: string;
|
|
29325
29990
|
user_id: string;
|
|
@@ -29328,6 +29993,7 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
29328
29993
|
attempts?: number;
|
|
29329
29994
|
connection_id?: string;
|
|
29330
29995
|
created_at?: string;
|
|
29996
|
+
dead_lettered_at?: string | null;
|
|
29331
29997
|
desired_available?: boolean | null;
|
|
29332
29998
|
gateway_attempt_id?: string | null;
|
|
29333
29999
|
id?: string;
|
|
@@ -29336,9 +30002,13 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
29336
30002
|
locked_by?: string | null;
|
|
29337
30003
|
next_attempt_at?: string;
|
|
29338
30004
|
number_of_pieces?: number;
|
|
30005
|
+
product_id?: string | null;
|
|
29339
30006
|
sent_at?: string | null;
|
|
29340
30007
|
status?: string;
|
|
30008
|
+
stock_mode?: string | null;
|
|
29341
30009
|
superseded_by?: string | null;
|
|
30010
|
+
target_week?: number | null;
|
|
30011
|
+
target_year?: number | null;
|
|
29342
30012
|
trade_item_id?: string;
|
|
29343
30013
|
updated_at?: string;
|
|
29344
30014
|
user_id?: string;
|
|
@@ -29747,6 +30417,87 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
29747
30417
|
referencedColumns: ["id"];
|
|
29748
30418
|
}];
|
|
29749
30419
|
};
|
|
30420
|
+
floriday_inventory_settings: {
|
|
30421
|
+
Row: {
|
|
30422
|
+
buffer_quantity: number;
|
|
30423
|
+
connection_id: string;
|
|
30424
|
+
created_at: string;
|
|
30425
|
+
desired_availability: boolean;
|
|
30426
|
+
desired_quantity: number;
|
|
30427
|
+
fixed_quantity: number | null;
|
|
30428
|
+
floriday_trade_item_id: string | null;
|
|
30429
|
+
id: string;
|
|
30430
|
+
last_confirmed_at: string | null;
|
|
30431
|
+
last_enqueued_at: string | null;
|
|
30432
|
+
last_published_at: string | null;
|
|
30433
|
+
last_sync_error: string | null;
|
|
30434
|
+
manual_quantity: number | null;
|
|
30435
|
+
maximum_quantity: number | null;
|
|
30436
|
+
product_id: string;
|
|
30437
|
+
quantity_control: string;
|
|
30438
|
+
remote_available: boolean | null;
|
|
30439
|
+
remote_checked_at: string | null;
|
|
30440
|
+
remote_quantity: number | null;
|
|
30441
|
+
stock_mode: string;
|
|
30442
|
+
sync_status: string;
|
|
30443
|
+
updated_at: string;
|
|
30444
|
+
updated_by: string | null;
|
|
30445
|
+
user_id: string;
|
|
30446
|
+
};
|
|
30447
|
+
Insert: {
|
|
30448
|
+
buffer_quantity?: number;
|
|
30449
|
+
connection_id: string;
|
|
30450
|
+
created_at?: string;
|
|
30451
|
+
desired_availability?: boolean;
|
|
30452
|
+
desired_quantity?: number;
|
|
30453
|
+
fixed_quantity?: number | null;
|
|
30454
|
+
floriday_trade_item_id?: string | null;
|
|
30455
|
+
id?: string;
|
|
30456
|
+
last_confirmed_at?: string | null;
|
|
30457
|
+
last_enqueued_at?: string | null;
|
|
30458
|
+
last_published_at?: string | null;
|
|
30459
|
+
last_sync_error?: string | null;
|
|
30460
|
+
manual_quantity?: number | null;
|
|
30461
|
+
maximum_quantity?: number | null;
|
|
30462
|
+
product_id: string;
|
|
30463
|
+
quantity_control?: string;
|
|
30464
|
+
remote_available?: boolean | null;
|
|
30465
|
+
remote_checked_at?: string | null;
|
|
30466
|
+
remote_quantity?: number | null;
|
|
30467
|
+
stock_mode?: string;
|
|
30468
|
+
sync_status?: string;
|
|
30469
|
+
updated_at?: string;
|
|
30470
|
+
updated_by?: string | null;
|
|
30471
|
+
user_id: string;
|
|
30472
|
+
};
|
|
30473
|
+
Update: {
|
|
30474
|
+
buffer_quantity?: number;
|
|
30475
|
+
connection_id?: string;
|
|
30476
|
+
created_at?: string;
|
|
30477
|
+
desired_availability?: boolean;
|
|
30478
|
+
desired_quantity?: number;
|
|
30479
|
+
fixed_quantity?: number | null;
|
|
30480
|
+
floriday_trade_item_id?: string | null;
|
|
30481
|
+
id?: string;
|
|
30482
|
+
last_confirmed_at?: string | null;
|
|
30483
|
+
last_enqueued_at?: string | null;
|
|
30484
|
+
last_published_at?: string | null;
|
|
30485
|
+
last_sync_error?: string | null;
|
|
30486
|
+
manual_quantity?: number | null;
|
|
30487
|
+
maximum_quantity?: number | null;
|
|
30488
|
+
product_id?: string;
|
|
30489
|
+
quantity_control?: string;
|
|
30490
|
+
remote_available?: boolean | null;
|
|
30491
|
+
remote_checked_at?: string | null;
|
|
30492
|
+
remote_quantity?: number | null;
|
|
30493
|
+
stock_mode?: string;
|
|
30494
|
+
sync_status?: string;
|
|
30495
|
+
updated_at?: string;
|
|
30496
|
+
updated_by?: string | null;
|
|
30497
|
+
user_id?: string;
|
|
30498
|
+
};
|
|
30499
|
+
Relationships: [];
|
|
30500
|
+
};
|
|
29750
30501
|
floriday_invoices_cache: {
|
|
29751
30502
|
Row: {
|
|
29752
30503
|
buyer_organization_id: string | null;
|
|
@@ -30035,6 +30786,39 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
30035
30786
|
};
|
|
30036
30787
|
Relationships: [];
|
|
30037
30788
|
};
|
|
30789
|
+
floriday_sales_order_ingest: {
|
|
30790
|
+
Row: {
|
|
30791
|
+
connection_id: string;
|
|
30792
|
+
created_at: string;
|
|
30793
|
+
id: string;
|
|
30794
|
+
impact: import("../integrations/supabase/types").Json;
|
|
30795
|
+
order_status: string | null;
|
|
30796
|
+
order_version: number;
|
|
30797
|
+
processed_at: string;
|
|
30798
|
+
sales_order_id: string;
|
|
30799
|
+
};
|
|
30800
|
+
Insert: {
|
|
30801
|
+
connection_id: string;
|
|
30802
|
+
created_at?: string;
|
|
30803
|
+
id?: string;
|
|
30804
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
30805
|
+
order_status?: string | null;
|
|
30806
|
+
order_version?: number;
|
|
30807
|
+
processed_at?: string;
|
|
30808
|
+
sales_order_id: string;
|
|
30809
|
+
};
|
|
30810
|
+
Update: {
|
|
30811
|
+
connection_id?: string;
|
|
30812
|
+
created_at?: string;
|
|
30813
|
+
id?: string;
|
|
30814
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
30815
|
+
order_status?: string | null;
|
|
30816
|
+
order_version?: number;
|
|
30817
|
+
processed_at?: string;
|
|
30818
|
+
sales_order_id?: string;
|
|
30819
|
+
};
|
|
30820
|
+
Relationships: [];
|
|
30821
|
+
};
|
|
30038
30822
|
floriday_sales_strategies_cache: {
|
|
30039
30823
|
Row: {
|
|
30040
30824
|
connection_id: string;
|
|
@@ -30134,6 +30918,39 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
30134
30918
|
};
|
|
30135
30919
|
Relationships: [];
|
|
30136
30920
|
};
|
|
30921
|
+
floriday_sync_cursors: {
|
|
30922
|
+
Row: {
|
|
30923
|
+
connection_id: string;
|
|
30924
|
+
created_at: string;
|
|
30925
|
+
id: string;
|
|
30926
|
+
last_error: string | null;
|
|
30927
|
+
last_sync_at: string | null;
|
|
30928
|
+
resource_type: string;
|
|
30929
|
+
sequence_number: number;
|
|
30930
|
+
updated_at: string;
|
|
30931
|
+
};
|
|
30932
|
+
Insert: {
|
|
30933
|
+
connection_id: string;
|
|
30934
|
+
created_at?: string;
|
|
30935
|
+
id?: string;
|
|
30936
|
+
last_error?: string | null;
|
|
30937
|
+
last_sync_at?: string | null;
|
|
30938
|
+
resource_type: string;
|
|
30939
|
+
sequence_number?: number;
|
|
30940
|
+
updated_at?: string;
|
|
30941
|
+
};
|
|
30942
|
+
Update: {
|
|
30943
|
+
connection_id?: string;
|
|
30944
|
+
created_at?: string;
|
|
30945
|
+
id?: string;
|
|
30946
|
+
last_error?: string | null;
|
|
30947
|
+
last_sync_at?: string | null;
|
|
30948
|
+
resource_type?: string;
|
|
30949
|
+
sequence_number?: number;
|
|
30950
|
+
updated_at?: string;
|
|
30951
|
+
};
|
|
30952
|
+
Relationships: [];
|
|
30953
|
+
};
|
|
30137
30954
|
floriday_sync_state: {
|
|
30138
30955
|
Row: {
|
|
30139
30956
|
connection_id: string;
|
|
@@ -30824,6 +31641,42 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
30824
31641
|
};
|
|
30825
31642
|
Relationships: [];
|
|
30826
31643
|
};
|
|
31644
|
+
inventory_stock_snapshots: {
|
|
31645
|
+
Row: {
|
|
31646
|
+
connection_id: string;
|
|
31647
|
+
created_at: string;
|
|
31648
|
+
erp_available_quantity: number;
|
|
31649
|
+
floriday_desired_quantity: number;
|
|
31650
|
+
floriday_remote_quantity: number | null;
|
|
31651
|
+
granularity: string;
|
|
31652
|
+
id: string;
|
|
31653
|
+
snapshot_at: string;
|
|
31654
|
+
user_id: string | null;
|
|
31655
|
+
};
|
|
31656
|
+
Insert: {
|
|
31657
|
+
connection_id: string;
|
|
31658
|
+
created_at?: string;
|
|
31659
|
+
erp_available_quantity?: number;
|
|
31660
|
+
floriday_desired_quantity?: number;
|
|
31661
|
+
floriday_remote_quantity?: number | null;
|
|
31662
|
+
granularity?: string;
|
|
31663
|
+
id?: string;
|
|
31664
|
+
snapshot_at?: string;
|
|
31665
|
+
user_id?: string | null;
|
|
31666
|
+
};
|
|
31667
|
+
Update: {
|
|
31668
|
+
connection_id?: string;
|
|
31669
|
+
created_at?: string;
|
|
31670
|
+
erp_available_quantity?: number;
|
|
31671
|
+
floriday_desired_quantity?: number;
|
|
31672
|
+
floriday_remote_quantity?: number | null;
|
|
31673
|
+
granularity?: string;
|
|
31674
|
+
id?: string;
|
|
31675
|
+
snapshot_at?: string;
|
|
31676
|
+
user_id?: string | null;
|
|
31677
|
+
};
|
|
31678
|
+
Relationships: [];
|
|
31679
|
+
};
|
|
30827
31680
|
invoice_items: {
|
|
30828
31681
|
Row: {
|
|
30829
31682
|
created_at: string;
|
|
@@ -36839,6 +37692,39 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
36839
37692
|
};
|
|
36840
37693
|
Relationships: [];
|
|
36841
37694
|
};
|
|
37695
|
+
print_dedupe_events: {
|
|
37696
|
+
Row: {
|
|
37697
|
+
bestaande_job_id: string | null;
|
|
37698
|
+
created_at: string;
|
|
37699
|
+
detail: string | null;
|
|
37700
|
+
documentnaam: string | null;
|
|
37701
|
+
documenttype: string | null;
|
|
37702
|
+
id: string;
|
|
37703
|
+
idempotentie_sleutel: string;
|
|
37704
|
+
reden: string;
|
|
37705
|
+
};
|
|
37706
|
+
Insert: {
|
|
37707
|
+
bestaande_job_id?: string | null;
|
|
37708
|
+
created_at?: string;
|
|
37709
|
+
detail?: string | null;
|
|
37710
|
+
documentnaam?: string | null;
|
|
37711
|
+
documenttype?: string | null;
|
|
37712
|
+
id?: string;
|
|
37713
|
+
idempotentie_sleutel: string;
|
|
37714
|
+
reden: string;
|
|
37715
|
+
};
|
|
37716
|
+
Update: {
|
|
37717
|
+
bestaande_job_id?: string | null;
|
|
37718
|
+
created_at?: string;
|
|
37719
|
+
detail?: string | null;
|
|
37720
|
+
documentnaam?: string | null;
|
|
37721
|
+
documenttype?: string | null;
|
|
37722
|
+
id?: string;
|
|
37723
|
+
idempotentie_sleutel?: string;
|
|
37724
|
+
reden?: string;
|
|
37725
|
+
};
|
|
37726
|
+
Relationships: [];
|
|
37727
|
+
};
|
|
36842
37728
|
print_job_logs: {
|
|
36843
37729
|
Row: {
|
|
36844
37730
|
created_at: string;
|
|
@@ -36889,6 +37775,9 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
36889
37775
|
is_herprint: boolean;
|
|
36890
37776
|
kopieen: number;
|
|
36891
37777
|
layout_id: string | null;
|
|
37778
|
+
lokaal_opgeslagen_op: string | null;
|
|
37779
|
+
lokale_pdf_fout: string | null;
|
|
37780
|
+
lokale_pdf_status: string | null;
|
|
36892
37781
|
opgepakt_op: string | null;
|
|
36893
37782
|
paginas: number;
|
|
36894
37783
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -36897,6 +37786,7 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
36897
37786
|
pogingen: number;
|
|
36898
37787
|
printer_id: string | null;
|
|
36899
37788
|
render_html: string | null;
|
|
37789
|
+
resultaat_pdf_base64: string | null;
|
|
36900
37790
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
36901
37791
|
updated_at: string;
|
|
36902
37792
|
volgende_poging: string | null;
|
|
@@ -36921,6 +37811,9 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
36921
37811
|
is_herprint?: boolean;
|
|
36922
37812
|
kopieen?: number;
|
|
36923
37813
|
layout_id?: string | null;
|
|
37814
|
+
lokaal_opgeslagen_op?: string | null;
|
|
37815
|
+
lokale_pdf_fout?: string | null;
|
|
37816
|
+
lokale_pdf_status?: string | null;
|
|
36924
37817
|
opgepakt_op?: string | null;
|
|
36925
37818
|
paginas?: number;
|
|
36926
37819
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -36929,6 +37822,7 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
36929
37822
|
pogingen?: number;
|
|
36930
37823
|
printer_id?: string | null;
|
|
36931
37824
|
render_html?: string | null;
|
|
37825
|
+
resultaat_pdf_base64?: string | null;
|
|
36932
37826
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
36933
37827
|
updated_at?: string;
|
|
36934
37828
|
volgende_poging?: string | null;
|
|
@@ -36953,6 +37847,9 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
36953
37847
|
is_herprint?: boolean;
|
|
36954
37848
|
kopieen?: number;
|
|
36955
37849
|
layout_id?: string | null;
|
|
37850
|
+
lokaal_opgeslagen_op?: string | null;
|
|
37851
|
+
lokale_pdf_fout?: string | null;
|
|
37852
|
+
lokale_pdf_status?: string | null;
|
|
36956
37853
|
opgepakt_op?: string | null;
|
|
36957
37854
|
paginas?: number;
|
|
36958
37855
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -36961,6 +37858,7 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
36961
37858
|
pogingen?: number;
|
|
36962
37859
|
printer_id?: string | null;
|
|
36963
37860
|
render_html?: string | null;
|
|
37861
|
+
resultaat_pdf_base64?: string | null;
|
|
36964
37862
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
36965
37863
|
updated_at?: string;
|
|
36966
37864
|
volgende_poging?: string | null;
|
|
@@ -37079,6 +37977,39 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
37079
37977
|
};
|
|
37080
37978
|
Relationships: [];
|
|
37081
37979
|
};
|
|
37980
|
+
print_preview_events: {
|
|
37981
|
+
Row: {
|
|
37982
|
+
code: string | null;
|
|
37983
|
+
created_at: string;
|
|
37984
|
+
detail: import("../integrations/supabase/types").Json;
|
|
37985
|
+
id: string;
|
|
37986
|
+
queue_item_id: string | null;
|
|
37987
|
+
reden: string | null;
|
|
37988
|
+
station_slug: string | null;
|
|
37989
|
+
uitkomst: string;
|
|
37990
|
+
};
|
|
37991
|
+
Insert: {
|
|
37992
|
+
code?: string | null;
|
|
37993
|
+
created_at?: string;
|
|
37994
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
37995
|
+
id?: string;
|
|
37996
|
+
queue_item_id?: string | null;
|
|
37997
|
+
reden?: string | null;
|
|
37998
|
+
station_slug?: string | null;
|
|
37999
|
+
uitkomst?: string;
|
|
38000
|
+
};
|
|
38001
|
+
Update: {
|
|
38002
|
+
code?: string | null;
|
|
38003
|
+
created_at?: string;
|
|
38004
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
38005
|
+
id?: string;
|
|
38006
|
+
queue_item_id?: string | null;
|
|
38007
|
+
reden?: string | null;
|
|
38008
|
+
station_slug?: string | null;
|
|
38009
|
+
uitkomst?: string;
|
|
38010
|
+
};
|
|
38011
|
+
Relationships: [];
|
|
38012
|
+
};
|
|
37082
38013
|
print_queue_runners: {
|
|
37083
38014
|
Row: {
|
|
37084
38015
|
actief: boolean;
|
|
@@ -37318,6 +38249,7 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
37318
38249
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
37319
38250
|
online: boolean;
|
|
37320
38251
|
papierformaat: string;
|
|
38252
|
+
pdf_map: string | null;
|
|
37321
38253
|
poort: number | null;
|
|
37322
38254
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37323
38255
|
systeemnaam: string;
|
|
@@ -37343,6 +38275,7 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
37343
38275
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
37344
38276
|
online?: boolean;
|
|
37345
38277
|
papierformaat?: string;
|
|
38278
|
+
pdf_map?: string | null;
|
|
37346
38279
|
poort?: number | null;
|
|
37347
38280
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37348
38281
|
systeemnaam?: string;
|
|
@@ -37368,6 +38301,7 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
37368
38301
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
37369
38302
|
online?: boolean;
|
|
37370
38303
|
papierformaat?: string;
|
|
38304
|
+
pdf_map?: string | null;
|
|
37371
38305
|
poort?: number | null;
|
|
37372
38306
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37373
38307
|
systeemnaam?: string;
|
|
@@ -39937,6 +40871,7 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
39937
40871
|
};
|
|
39938
40872
|
trade_item_stock: {
|
|
39939
40873
|
Row: {
|
|
40874
|
+
change_source: string;
|
|
39940
40875
|
connection_id: string;
|
|
39941
40876
|
created_at: string;
|
|
39942
40877
|
id: string;
|
|
@@ -39950,6 +40885,7 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
39950
40885
|
user_id: string;
|
|
39951
40886
|
};
|
|
39952
40887
|
Insert: {
|
|
40888
|
+
change_source?: string;
|
|
39953
40889
|
connection_id: string;
|
|
39954
40890
|
created_at?: string;
|
|
39955
40891
|
id?: string;
|
|
@@ -39963,6 +40899,7 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
39963
40899
|
user_id: string;
|
|
39964
40900
|
};
|
|
39965
40901
|
Update: {
|
|
40902
|
+
change_source?: string;
|
|
39966
40903
|
connection_id?: string;
|
|
39967
40904
|
created_at?: string;
|
|
39968
40905
|
id?: string;
|
|
@@ -43563,6 +44500,18 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
43563
44500
|
Args: never;
|
|
43564
44501
|
Returns: number;
|
|
43565
44502
|
};
|
|
44503
|
+
calculate_floriday_desired_stock: {
|
|
44504
|
+
Args: {
|
|
44505
|
+
p_connection_id: string;
|
|
44506
|
+
p_product_id: string;
|
|
44507
|
+
};
|
|
44508
|
+
Returns: {
|
|
44509
|
+
desired_availability: boolean;
|
|
44510
|
+
desired_quantity: number;
|
|
44511
|
+
erp_available: number;
|
|
44512
|
+
stock_mode: string;
|
|
44513
|
+
}[];
|
|
44514
|
+
};
|
|
43566
44515
|
calculate_layer_stock: {
|
|
43567
44516
|
Args: {
|
|
43568
44517
|
p_product_id: string;
|
|
@@ -43624,6 +44573,9 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
43624
44573
|
is_herprint: boolean;
|
|
43625
44574
|
kopieen: number;
|
|
43626
44575
|
layout_id: string | null;
|
|
44576
|
+
lokaal_opgeslagen_op: string | null;
|
|
44577
|
+
lokale_pdf_fout: string | null;
|
|
44578
|
+
lokale_pdf_status: string | null;
|
|
43627
44579
|
opgepakt_op: string | null;
|
|
43628
44580
|
paginas: number;
|
|
43629
44581
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -43632,6 +44584,7 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
43632
44584
|
pogingen: number;
|
|
43633
44585
|
printer_id: string | null;
|
|
43634
44586
|
render_html: string | null;
|
|
44587
|
+
resultaat_pdf_base64: string | null;
|
|
43635
44588
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
43636
44589
|
updated_at: string;
|
|
43637
44590
|
volgende_poging: string | null;
|
|
@@ -43653,6 +44606,7 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
43653
44606
|
attempts: number;
|
|
43654
44607
|
connection_id: string;
|
|
43655
44608
|
created_at: string;
|
|
44609
|
+
dead_lettered_at: string | null;
|
|
43656
44610
|
desired_available: boolean | null;
|
|
43657
44611
|
gateway_attempt_id: string | null;
|
|
43658
44612
|
id: string;
|
|
@@ -43661,9 +44615,13 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
43661
44615
|
locked_by: string | null;
|
|
43662
44616
|
next_attempt_at: string;
|
|
43663
44617
|
number_of_pieces: number;
|
|
44618
|
+
product_id: string | null;
|
|
43664
44619
|
sent_at: string | null;
|
|
43665
44620
|
status: string;
|
|
44621
|
+
stock_mode: string | null;
|
|
43666
44622
|
superseded_by: string | null;
|
|
44623
|
+
target_week: number | null;
|
|
44624
|
+
target_year: number | null;
|
|
43667
44625
|
trade_item_id: string;
|
|
43668
44626
|
updated_at: string;
|
|
43669
44627
|
user_id: string;
|
|
@@ -43723,6 +44681,53 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
43723
44681
|
isSetofReturn: true;
|
|
43724
44682
|
};
|
|
43725
44683
|
};
|
|
44684
|
+
claim_pdf_print_jobs: {
|
|
44685
|
+
Args: {
|
|
44686
|
+
_max?: number;
|
|
44687
|
+
};
|
|
44688
|
+
Returns: {
|
|
44689
|
+
agent_id: string | null;
|
|
44690
|
+
bron_job_id: string | null;
|
|
44691
|
+
created_at: string;
|
|
44692
|
+
documentnaam: string;
|
|
44693
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
44694
|
+
extern_job_id: string | null;
|
|
44695
|
+
foutmelding: string | null;
|
|
44696
|
+
gebruiker_id: string | null;
|
|
44697
|
+
gebruiker_naam: string;
|
|
44698
|
+
gebruikte_bron: string | null;
|
|
44699
|
+
gebruikte_layout_id: string | null;
|
|
44700
|
+
gestart_op: string | null;
|
|
44701
|
+
herkomst: string | null;
|
|
44702
|
+
id: string;
|
|
44703
|
+
idempotentie_sleutel: string | null;
|
|
44704
|
+
is_herprint: boolean;
|
|
44705
|
+
kopieen: number;
|
|
44706
|
+
layout_id: string | null;
|
|
44707
|
+
lokaal_opgeslagen_op: string | null;
|
|
44708
|
+
lokale_pdf_fout: string | null;
|
|
44709
|
+
lokale_pdf_status: string | null;
|
|
44710
|
+
opgepakt_op: string | null;
|
|
44711
|
+
paginas: number;
|
|
44712
|
+
payload: import("../integrations/supabase/types").Json;
|
|
44713
|
+
pdf_base64: string | null;
|
|
44714
|
+
pdf_url: string | null;
|
|
44715
|
+
pogingen: number;
|
|
44716
|
+
printer_id: string | null;
|
|
44717
|
+
render_html: string | null;
|
|
44718
|
+
resultaat_pdf_base64: string | null;
|
|
44719
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
44720
|
+
updated_at: string;
|
|
44721
|
+
volgende_poging: string | null;
|
|
44722
|
+
voltooid_op: string | null;
|
|
44723
|
+
}[];
|
|
44724
|
+
SetofOptions: {
|
|
44725
|
+
from: "*";
|
|
44726
|
+
to: "print_jobs";
|
|
44727
|
+
isOneToOne: false;
|
|
44728
|
+
isSetofReturn: true;
|
|
44729
|
+
};
|
|
44730
|
+
};
|
|
43726
44731
|
claim_print_jobs: {
|
|
43727
44732
|
Args: {
|
|
43728
44733
|
_agent_id: string;
|
|
@@ -43747,6 +44752,9 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
43747
44752
|
is_herprint: boolean;
|
|
43748
44753
|
kopieen: number;
|
|
43749
44754
|
layout_id: string | null;
|
|
44755
|
+
lokaal_opgeslagen_op: string | null;
|
|
44756
|
+
lokale_pdf_fout: string | null;
|
|
44757
|
+
lokale_pdf_status: string | null;
|
|
43750
44758
|
opgepakt_op: string | null;
|
|
43751
44759
|
paginas: number;
|
|
43752
44760
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -43755,6 +44763,7 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
43755
44763
|
pogingen: number;
|
|
43756
44764
|
printer_id: string | null;
|
|
43757
44765
|
render_html: string | null;
|
|
44766
|
+
resultaat_pdf_base64: string | null;
|
|
43758
44767
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
43759
44768
|
updated_at: string;
|
|
43760
44769
|
volgende_poging: string | null;
|
|
@@ -43895,6 +44904,8 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
43895
44904
|
order_id: string;
|
|
43896
44905
|
order_source: string;
|
|
43897
44906
|
pick_date: string;
|
|
44907
|
+
printed_at: string;
|
|
44908
|
+
printed_today: boolean;
|
|
43898
44909
|
status: string;
|
|
43899
44910
|
}[];
|
|
43900
44911
|
};
|
|
@@ -44091,6 +45102,24 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
44091
45102
|
};
|
|
44092
45103
|
Returns: string;
|
|
44093
45104
|
};
|
|
45105
|
+
floriday_capture_stock_snapshot: {
|
|
45106
|
+
Args: never;
|
|
45107
|
+
Returns: number;
|
|
45108
|
+
};
|
|
45109
|
+
floriday_cleanup_stock_queue_v2: {
|
|
45110
|
+
Args: never;
|
|
45111
|
+
Returns: undefined;
|
|
45112
|
+
};
|
|
45113
|
+
floriday_compact_stock_snapshots: {
|
|
45114
|
+
Args: never;
|
|
45115
|
+
Returns: undefined;
|
|
45116
|
+
};
|
|
45117
|
+
floriday_default_owner: {
|
|
45118
|
+
Args: {
|
|
45119
|
+
p_connection_id: string;
|
|
45120
|
+
};
|
|
45121
|
+
Returns: string;
|
|
45122
|
+
};
|
|
44094
45123
|
floriday_effective_price: {
|
|
44095
45124
|
Args: {
|
|
44096
45125
|
_buyer_id: string;
|
|
@@ -44108,6 +45137,22 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
44108
45137
|
source_id: string;
|
|
44109
45138
|
}[];
|
|
44110
45139
|
};
|
|
45140
|
+
floriday_fill_publish_horizon: {
|
|
45141
|
+
Args: never;
|
|
45142
|
+
Returns: number;
|
|
45143
|
+
};
|
|
45144
|
+
floriday_publish_horizon_weeks: {
|
|
45145
|
+
Args: never;
|
|
45146
|
+
Returns: number;
|
|
45147
|
+
};
|
|
45148
|
+
floriday_recompute_inventory: {
|
|
45149
|
+
Args: {
|
|
45150
|
+
p_connection_id: string;
|
|
45151
|
+
p_force?: boolean;
|
|
45152
|
+
p_product_id: string;
|
|
45153
|
+
};
|
|
45154
|
+
Returns: undefined;
|
|
45155
|
+
};
|
|
44111
45156
|
format_cart_number: {
|
|
44112
45157
|
Args: {
|
|
44113
45158
|
p_pick_date: string;
|
|
@@ -44603,6 +45648,10 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
44603
45648
|
};
|
|
44604
45649
|
Returns: number;
|
|
44605
45650
|
};
|
|
45651
|
+
logistics_cancel_orphan_tasks: {
|
|
45652
|
+
Args: never;
|
|
45653
|
+
Returns: number;
|
|
45654
|
+
};
|
|
44606
45655
|
logistics_capacity_day_check: {
|
|
44607
45656
|
Args: {
|
|
44608
45657
|
p_from?: string;
|
|
@@ -44623,6 +45672,25 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
44623
45672
|
};
|
|
44624
45673
|
Returns: number;
|
|
44625
45674
|
};
|
|
45675
|
+
logistics_cart_index: {
|
|
45676
|
+
Args: {
|
|
45677
|
+
p_from?: string;
|
|
45678
|
+
p_to?: string;
|
|
45679
|
+
};
|
|
45680
|
+
Returns: {
|
|
45681
|
+
cart_id: string;
|
|
45682
|
+
cart_index: number;
|
|
45683
|
+
cart_label: string;
|
|
45684
|
+
is_shared: boolean;
|
|
45685
|
+
order_number: string;
|
|
45686
|
+
order_source: string;
|
|
45687
|
+
order_uuid: string;
|
|
45688
|
+
pick_date: string;
|
|
45689
|
+
printed_at: string;
|
|
45690
|
+
shifted: boolean;
|
|
45691
|
+
task_status: string;
|
|
45692
|
+
}[];
|
|
45693
|
+
};
|
|
44626
45694
|
logistics_check_order_allowed: {
|
|
44627
45695
|
Args: {
|
|
44628
45696
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -44771,6 +45839,17 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
44771
45839
|
isSetofReturn: false;
|
|
44772
45840
|
};
|
|
44773
45841
|
};
|
|
45842
|
+
logistics_consistency_check: {
|
|
45843
|
+
Args: never;
|
|
45844
|
+
Returns: {
|
|
45845
|
+
agenda_carts: number;
|
|
45846
|
+
control_carts: number;
|
|
45847
|
+
ok: boolean;
|
|
45848
|
+
orphan_tasks: number;
|
|
45849
|
+
pick_date: string;
|
|
45850
|
+
raw_carts: number;
|
|
45851
|
+
}[];
|
|
45852
|
+
};
|
|
44774
45853
|
logistics_delay_customer_email: {
|
|
44775
45854
|
Args: {
|
|
44776
45855
|
p_customer: string;
|
|
@@ -44860,6 +45939,16 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
44860
45939
|
isSetofReturn: false;
|
|
44861
45940
|
};
|
|
44862
45941
|
};
|
|
45942
|
+
logistics_floriday_cart_plan: {
|
|
45943
|
+
Args: {
|
|
45944
|
+
p_order_id: string;
|
|
45945
|
+
};
|
|
45946
|
+
Returns: {
|
|
45947
|
+
carrier_type: string;
|
|
45948
|
+
idx: number;
|
|
45949
|
+
packages: number;
|
|
45950
|
+
}[];
|
|
45951
|
+
};
|
|
44863
45952
|
logistics_floriday_claim_pushes: {
|
|
44864
45953
|
Args: {
|
|
44865
45954
|
_lease_seconds?: number;
|
|
@@ -44964,6 +46053,25 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
44964
46053
|
};
|
|
44965
46054
|
Returns: number;
|
|
44966
46055
|
};
|
|
46056
|
+
logistics_order_overview: {
|
|
46057
|
+
Args: {
|
|
46058
|
+
p_from?: string;
|
|
46059
|
+
p_to?: string;
|
|
46060
|
+
};
|
|
46061
|
+
Returns: {
|
|
46062
|
+
cart_count: number;
|
|
46063
|
+
customer_name: string;
|
|
46064
|
+
delivery_date: string;
|
|
46065
|
+
order_number: string;
|
|
46066
|
+
order_source: string;
|
|
46067
|
+
order_uuid: string;
|
|
46068
|
+
pick_date: string;
|
|
46069
|
+
plant_count: number;
|
|
46070
|
+
printed_at: string;
|
|
46071
|
+
shifted: boolean;
|
|
46072
|
+
status: string;
|
|
46073
|
+
}[];
|
|
46074
|
+
};
|
|
44967
46075
|
logistics_order_pick_day: {
|
|
44968
46076
|
Args: {
|
|
44969
46077
|
p_order_ref: string;
|
|
@@ -44976,6 +46084,22 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
44976
46084
|
};
|
|
44977
46085
|
Returns: string;
|
|
44978
46086
|
};
|
|
46087
|
+
logistics_pick_agenda: {
|
|
46088
|
+
Args: {
|
|
46089
|
+
p_from?: string;
|
|
46090
|
+
p_to?: string;
|
|
46091
|
+
};
|
|
46092
|
+
Returns: {
|
|
46093
|
+
cart_count: number;
|
|
46094
|
+
in_preparation: number;
|
|
46095
|
+
order_count: number;
|
|
46096
|
+
orders: import("../integrations/supabase/types").Json;
|
|
46097
|
+
pick_date: string;
|
|
46098
|
+
plant_count: number;
|
|
46099
|
+
ready: number;
|
|
46100
|
+
shifted_count: number;
|
|
46101
|
+
}[];
|
|
46102
|
+
};
|
|
44979
46103
|
logistics_pick_email_purpose: {
|
|
44980
46104
|
Args: never;
|
|
44981
46105
|
Returns: string;
|
|
@@ -45030,6 +46154,13 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
45030
46154
|
};
|
|
45031
46155
|
Returns: undefined;
|
|
45032
46156
|
};
|
|
46157
|
+
logistics_plan_floriday_order: {
|
|
46158
|
+
Args: {
|
|
46159
|
+
p_buffer_id?: string;
|
|
46160
|
+
p_order_id: string;
|
|
46161
|
+
};
|
|
46162
|
+
Returns: number;
|
|
46163
|
+
};
|
|
45033
46164
|
logistics_plan_impact_orders: {
|
|
45034
46165
|
Args: {
|
|
45035
46166
|
p_order_id: string;
|
|
@@ -45135,6 +46266,15 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
45135
46266
|
};
|
|
45136
46267
|
Returns: import("../integrations/supabase/types").Json;
|
|
45137
46268
|
};
|
|
46269
|
+
logistics_resolve_pick_document: {
|
|
46270
|
+
Args: {
|
|
46271
|
+
_is_herprint: boolean;
|
|
46272
|
+
_queue_item_id: string;
|
|
46273
|
+
_session_id: string;
|
|
46274
|
+
_voorbeeld: boolean;
|
|
46275
|
+
};
|
|
46276
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
46277
|
+
};
|
|
45138
46278
|
logistics_resolve_settings: {
|
|
45139
46279
|
Args: {
|
|
45140
46280
|
p_config_id: string;
|
|
@@ -45575,6 +46715,7 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
45575
46715
|
};
|
|
45576
46716
|
pick_enqueue_print_job: {
|
|
45577
46717
|
Args: {
|
|
46718
|
+
_is_herprint?: boolean;
|
|
45578
46719
|
_printer_id?: string;
|
|
45579
46720
|
_queue_item_id: string;
|
|
45580
46721
|
_session_id?: string;
|
|
@@ -45588,6 +46729,13 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
45588
46729
|
};
|
|
45589
46730
|
Returns: import("../integrations/supabase/types").Json;
|
|
45590
46731
|
};
|
|
46732
|
+
pick_preview_job: {
|
|
46733
|
+
Args: {
|
|
46734
|
+
_queue_item_id: string;
|
|
46735
|
+
_station_slug: string;
|
|
46736
|
+
};
|
|
46737
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
46738
|
+
};
|
|
45591
46739
|
pick_print_job_status: {
|
|
45592
46740
|
Args: {
|
|
45593
46741
|
_job_id: string;
|
|
@@ -45765,6 +46913,24 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
45765
46913
|
};
|
|
45766
46914
|
Returns: undefined;
|
|
45767
46915
|
};
|
|
46916
|
+
print_preview_toestaan: {
|
|
46917
|
+
Args: {
|
|
46918
|
+
_max?: number;
|
|
46919
|
+
_queue_item_id: string;
|
|
46920
|
+
_station_slug: string;
|
|
46921
|
+
_venster_sec?: number;
|
|
46922
|
+
};
|
|
46923
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
46924
|
+
};
|
|
46925
|
+
print_preview_weiger: {
|
|
46926
|
+
Args: {
|
|
46927
|
+
_code: string;
|
|
46928
|
+
_queue_item_id: string;
|
|
46929
|
+
_reden: string;
|
|
46930
|
+
_station_slug: string;
|
|
46931
|
+
};
|
|
46932
|
+
Returns: undefined;
|
|
46933
|
+
};
|
|
45768
46934
|
process_logistics_event: {
|
|
45769
46935
|
Args: {
|
|
45770
46936
|
p_event_id: string;
|
|
@@ -45919,6 +47085,12 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
45919
47085
|
};
|
|
45920
47086
|
Returns: string;
|
|
45921
47087
|
};
|
|
47088
|
+
resolve_print_job_printer_id: {
|
|
47089
|
+
Args: {
|
|
47090
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
47091
|
+
};
|
|
47092
|
+
Returns: string;
|
|
47093
|
+
};
|
|
45922
47094
|
resolve_product_id_for_item: {
|
|
45923
47095
|
Args: {
|
|
45924
47096
|
p_product_name: string;
|
|
@@ -46510,7 +47682,7 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
46510
47682
|
};
|
|
46511
47683
|
CompositeTypes: { [_ in never]: never; };
|
|
46512
47684
|
}, {
|
|
46513
|
-
PostgrestVersion: "14.
|
|
47685
|
+
PostgrestVersion: "14.5";
|
|
46514
47686
|
}>;
|
|
46515
47687
|
userId: string;
|
|
46516
47688
|
claims: import("@supabase/auth-js").User;
|
|
@@ -49381,6 +50553,84 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
49381
50553
|
};
|
|
49382
50554
|
Relationships: [];
|
|
49383
50555
|
};
|
|
50556
|
+
delivery_notes: {
|
|
50557
|
+
Row: {
|
|
50558
|
+
byte_size: number | null;
|
|
50559
|
+
connection_id: string | null;
|
|
50560
|
+
content_type: string;
|
|
50561
|
+
created_at: string;
|
|
50562
|
+
error_message: string | null;
|
|
50563
|
+
fetched_at: string | null;
|
|
50564
|
+
fulfillment_order_id: string | null;
|
|
50565
|
+
http_status: number | null;
|
|
50566
|
+
id: string;
|
|
50567
|
+
label_code: string | null;
|
|
50568
|
+
letter: string | null;
|
|
50569
|
+
load_carrier_index: number | null;
|
|
50570
|
+
load_carrier_type: string | null;
|
|
50571
|
+
order_id: string | null;
|
|
50572
|
+
order_number: string | null;
|
|
50573
|
+
packages: number | null;
|
|
50574
|
+
source: string;
|
|
50575
|
+
status: string;
|
|
50576
|
+
storage_bucket: string;
|
|
50577
|
+
storage_path: string | null;
|
|
50578
|
+
updated_at: string;
|
|
50579
|
+
};
|
|
50580
|
+
Insert: {
|
|
50581
|
+
byte_size?: number | null;
|
|
50582
|
+
connection_id?: string | null;
|
|
50583
|
+
content_type?: string;
|
|
50584
|
+
created_at?: string;
|
|
50585
|
+
error_message?: string | null;
|
|
50586
|
+
fetched_at?: string | null;
|
|
50587
|
+
fulfillment_order_id?: string | null;
|
|
50588
|
+
http_status?: number | null;
|
|
50589
|
+
id?: string;
|
|
50590
|
+
label_code?: string | null;
|
|
50591
|
+
letter?: string | null;
|
|
50592
|
+
load_carrier_index?: number | null;
|
|
50593
|
+
load_carrier_type?: string | null;
|
|
50594
|
+
order_id?: string | null;
|
|
50595
|
+
order_number?: string | null;
|
|
50596
|
+
packages?: number | null;
|
|
50597
|
+
source?: string;
|
|
50598
|
+
status?: string;
|
|
50599
|
+
storage_bucket?: string;
|
|
50600
|
+
storage_path?: string | null;
|
|
50601
|
+
updated_at?: string;
|
|
50602
|
+
};
|
|
50603
|
+
Update: {
|
|
50604
|
+
byte_size?: number | null;
|
|
50605
|
+
connection_id?: string | null;
|
|
50606
|
+
content_type?: string;
|
|
50607
|
+
created_at?: string;
|
|
50608
|
+
error_message?: string | null;
|
|
50609
|
+
fetched_at?: string | null;
|
|
50610
|
+
fulfillment_order_id?: string | null;
|
|
50611
|
+
http_status?: number | null;
|
|
50612
|
+
id?: string;
|
|
50613
|
+
label_code?: string | null;
|
|
50614
|
+
letter?: string | null;
|
|
50615
|
+
load_carrier_index?: number | null;
|
|
50616
|
+
load_carrier_type?: string | null;
|
|
50617
|
+
order_id?: string | null;
|
|
50618
|
+
order_number?: string | null;
|
|
50619
|
+
packages?: number | null;
|
|
50620
|
+
source?: string;
|
|
50621
|
+
status?: string;
|
|
50622
|
+
storage_bucket?: string;
|
|
50623
|
+
storage_path?: string | null;
|
|
50624
|
+
updated_at?: string;
|
|
50625
|
+
};
|
|
50626
|
+
Relationships: [{
|
|
50627
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
50628
|
+
columns: ["order_id"];
|
|
50629
|
+
isOneToOne: false;
|
|
50630
|
+
referencedRelation: "orders";
|
|
50631
|
+
referencedColumns: ["id"];
|
|
50632
|
+
}];
|
|
50633
|
+
};
|
|
49384
50634
|
document_bronregels: {
|
|
49385
50635
|
Row: {
|
|
49386
50636
|
bron: string;
|
|
@@ -52434,10 +53684,7 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
52434
53684
|
};
|
|
52435
53685
|
floriday_connections: {
|
|
52436
53686
|
Row: {
|
|
52437
|
-
access_token: string | null;
|
|
52438
53687
|
api_key: string;
|
|
52439
|
-
client_id: string;
|
|
52440
|
-
client_secret: string;
|
|
52441
53688
|
created_at: string;
|
|
52442
53689
|
customers_endpoint: string | null;
|
|
52443
53690
|
environment: string;
|
|
@@ -52452,10 +53699,7 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
52452
53699
|
updated_at: string;
|
|
52453
53700
|
};
|
|
52454
53701
|
Insert: {
|
|
52455
|
-
access_token?: string | null;
|
|
52456
53702
|
api_key: string;
|
|
52457
|
-
client_id: string;
|
|
52458
|
-
client_secret: string;
|
|
52459
53703
|
created_at?: string;
|
|
52460
53704
|
customers_endpoint?: string | null;
|
|
52461
53705
|
environment: string;
|
|
@@ -52470,10 +53714,7 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
52470
53714
|
updated_at?: string;
|
|
52471
53715
|
};
|
|
52472
53716
|
Update: {
|
|
52473
|
-
access_token?: string | null;
|
|
52474
53717
|
api_key?: string;
|
|
52475
|
-
client_id?: string;
|
|
52476
|
-
client_secret?: string;
|
|
52477
53718
|
created_at?: string;
|
|
52478
53719
|
customers_endpoint?: string | null;
|
|
52479
53720
|
environment?: string;
|
|
@@ -52557,6 +53798,7 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
52557
53798
|
attempts: number;
|
|
52558
53799
|
connection_id: string;
|
|
52559
53800
|
created_at: string;
|
|
53801
|
+
dead_lettered_at: string | null;
|
|
52560
53802
|
desired_available: boolean | null;
|
|
52561
53803
|
gateway_attempt_id: string | null;
|
|
52562
53804
|
id: string;
|
|
@@ -52565,9 +53807,13 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
52565
53807
|
locked_by: string | null;
|
|
52566
53808
|
next_attempt_at: string;
|
|
52567
53809
|
number_of_pieces: number;
|
|
53810
|
+
product_id: string | null;
|
|
52568
53811
|
sent_at: string | null;
|
|
52569
53812
|
status: string;
|
|
53813
|
+
stock_mode: string | null;
|
|
52570
53814
|
superseded_by: string | null;
|
|
53815
|
+
target_week: number | null;
|
|
53816
|
+
target_year: number | null;
|
|
52571
53817
|
trade_item_id: string;
|
|
52572
53818
|
updated_at: string;
|
|
52573
53819
|
user_id: string;
|
|
@@ -52576,6 +53822,7 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
52576
53822
|
attempts?: number;
|
|
52577
53823
|
connection_id: string;
|
|
52578
53824
|
created_at?: string;
|
|
53825
|
+
dead_lettered_at?: string | null;
|
|
52579
53826
|
desired_available?: boolean | null;
|
|
52580
53827
|
gateway_attempt_id?: string | null;
|
|
52581
53828
|
id?: string;
|
|
@@ -52584,9 +53831,13 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
52584
53831
|
locked_by?: string | null;
|
|
52585
53832
|
next_attempt_at?: string;
|
|
52586
53833
|
number_of_pieces?: number;
|
|
53834
|
+
product_id?: string | null;
|
|
52587
53835
|
sent_at?: string | null;
|
|
52588
53836
|
status?: string;
|
|
53837
|
+
stock_mode?: string | null;
|
|
52589
53838
|
superseded_by?: string | null;
|
|
53839
|
+
target_week?: number | null;
|
|
53840
|
+
target_year?: number | null;
|
|
52590
53841
|
trade_item_id: string;
|
|
52591
53842
|
updated_at?: string;
|
|
52592
53843
|
user_id: string;
|
|
@@ -52595,6 +53846,7 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
52595
53846
|
attempts?: number;
|
|
52596
53847
|
connection_id?: string;
|
|
52597
53848
|
created_at?: string;
|
|
53849
|
+
dead_lettered_at?: string | null;
|
|
52598
53850
|
desired_available?: boolean | null;
|
|
52599
53851
|
gateway_attempt_id?: string | null;
|
|
52600
53852
|
id?: string;
|
|
@@ -52603,9 +53855,13 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
52603
53855
|
locked_by?: string | null;
|
|
52604
53856
|
next_attempt_at?: string;
|
|
52605
53857
|
number_of_pieces?: number;
|
|
53858
|
+
product_id?: string | null;
|
|
52606
53859
|
sent_at?: string | null;
|
|
52607
53860
|
status?: string;
|
|
53861
|
+
stock_mode?: string | null;
|
|
52608
53862
|
superseded_by?: string | null;
|
|
53863
|
+
target_week?: number | null;
|
|
53864
|
+
target_year?: number | null;
|
|
52609
53865
|
trade_item_id?: string;
|
|
52610
53866
|
updated_at?: string;
|
|
52611
53867
|
user_id?: string;
|
|
@@ -53014,6 +54270,87 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
53014
54270
|
referencedColumns: ["id"];
|
|
53015
54271
|
}];
|
|
53016
54272
|
};
|
|
54273
|
+
floriday_inventory_settings: {
|
|
54274
|
+
Row: {
|
|
54275
|
+
buffer_quantity: number;
|
|
54276
|
+
connection_id: string;
|
|
54277
|
+
created_at: string;
|
|
54278
|
+
desired_availability: boolean;
|
|
54279
|
+
desired_quantity: number;
|
|
54280
|
+
fixed_quantity: number | null;
|
|
54281
|
+
floriday_trade_item_id: string | null;
|
|
54282
|
+
id: string;
|
|
54283
|
+
last_confirmed_at: string | null;
|
|
54284
|
+
last_enqueued_at: string | null;
|
|
54285
|
+
last_published_at: string | null;
|
|
54286
|
+
last_sync_error: string | null;
|
|
54287
|
+
manual_quantity: number | null;
|
|
54288
|
+
maximum_quantity: number | null;
|
|
54289
|
+
product_id: string;
|
|
54290
|
+
quantity_control: string;
|
|
54291
|
+
remote_available: boolean | null;
|
|
54292
|
+
remote_checked_at: string | null;
|
|
54293
|
+
remote_quantity: number | null;
|
|
54294
|
+
stock_mode: string;
|
|
54295
|
+
sync_status: string;
|
|
54296
|
+
updated_at: string;
|
|
54297
|
+
updated_by: string | null;
|
|
54298
|
+
user_id: string;
|
|
54299
|
+
};
|
|
54300
|
+
Insert: {
|
|
54301
|
+
buffer_quantity?: number;
|
|
54302
|
+
connection_id: string;
|
|
54303
|
+
created_at?: string;
|
|
54304
|
+
desired_availability?: boolean;
|
|
54305
|
+
desired_quantity?: number;
|
|
54306
|
+
fixed_quantity?: number | null;
|
|
54307
|
+
floriday_trade_item_id?: string | null;
|
|
54308
|
+
id?: string;
|
|
54309
|
+
last_confirmed_at?: string | null;
|
|
54310
|
+
last_enqueued_at?: string | null;
|
|
54311
|
+
last_published_at?: string | null;
|
|
54312
|
+
last_sync_error?: string | null;
|
|
54313
|
+
manual_quantity?: number | null;
|
|
54314
|
+
maximum_quantity?: number | null;
|
|
54315
|
+
product_id: string;
|
|
54316
|
+
quantity_control?: string;
|
|
54317
|
+
remote_available?: boolean | null;
|
|
54318
|
+
remote_checked_at?: string | null;
|
|
54319
|
+
remote_quantity?: number | null;
|
|
54320
|
+
stock_mode?: string;
|
|
54321
|
+
sync_status?: string;
|
|
54322
|
+
updated_at?: string;
|
|
54323
|
+
updated_by?: string | null;
|
|
54324
|
+
user_id: string;
|
|
54325
|
+
};
|
|
54326
|
+
Update: {
|
|
54327
|
+
buffer_quantity?: number;
|
|
54328
|
+
connection_id?: string;
|
|
54329
|
+
created_at?: string;
|
|
54330
|
+
desired_availability?: boolean;
|
|
54331
|
+
desired_quantity?: number;
|
|
54332
|
+
fixed_quantity?: number | null;
|
|
54333
|
+
floriday_trade_item_id?: string | null;
|
|
54334
|
+
id?: string;
|
|
54335
|
+
last_confirmed_at?: string | null;
|
|
54336
|
+
last_enqueued_at?: string | null;
|
|
54337
|
+
last_published_at?: string | null;
|
|
54338
|
+
last_sync_error?: string | null;
|
|
54339
|
+
manual_quantity?: number | null;
|
|
54340
|
+
maximum_quantity?: number | null;
|
|
54341
|
+
product_id?: string;
|
|
54342
|
+
quantity_control?: string;
|
|
54343
|
+
remote_available?: boolean | null;
|
|
54344
|
+
remote_checked_at?: string | null;
|
|
54345
|
+
remote_quantity?: number | null;
|
|
54346
|
+
stock_mode?: string;
|
|
54347
|
+
sync_status?: string;
|
|
54348
|
+
updated_at?: string;
|
|
54349
|
+
updated_by?: string | null;
|
|
54350
|
+
user_id?: string;
|
|
54351
|
+
};
|
|
54352
|
+
Relationships: [];
|
|
54353
|
+
};
|
|
53017
54354
|
floriday_invoices_cache: {
|
|
53018
54355
|
Row: {
|
|
53019
54356
|
buyer_organization_id: string | null;
|
|
@@ -53302,6 +54639,39 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
53302
54639
|
};
|
|
53303
54640
|
Relationships: [];
|
|
53304
54641
|
};
|
|
54642
|
+
floriday_sales_order_ingest: {
|
|
54643
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
54664
|
+
connection_id?: string;
|
|
54665
|
+
created_at?: string;
|
|
54666
|
+
id?: string;
|
|
54667
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
54668
|
+
order_status?: string | null;
|
|
54669
|
+
order_version?: number;
|
|
54670
|
+
processed_at?: string;
|
|
54671
|
+
sales_order_id?: string;
|
|
54672
|
+
};
|
|
54673
|
+
Relationships: [];
|
|
54674
|
+
};
|
|
53305
54675
|
floriday_sales_strategies_cache: {
|
|
53306
54676
|
Row: {
|
|
53307
54677
|
connection_id: string;
|
|
@@ -53401,6 +54771,39 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
53401
54771
|
};
|
|
53402
54772
|
Relationships: [];
|
|
53403
54773
|
};
|
|
54774
|
+
floriday_sync_cursors: {
|
|
54775
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
54796
|
+
connection_id?: string;
|
|
54797
|
+
created_at?: string;
|
|
54798
|
+
id?: string;
|
|
54799
|
+
last_error?: string | null;
|
|
54800
|
+
last_sync_at?: string | null;
|
|
54801
|
+
resource_type?: string;
|
|
54802
|
+
sequence_number?: number;
|
|
54803
|
+
updated_at?: string;
|
|
54804
|
+
};
|
|
54805
|
+
Relationships: [];
|
|
54806
|
+
};
|
|
53404
54807
|
floriday_sync_state: {
|
|
53405
54808
|
Row: {
|
|
53406
54809
|
connection_id: string;
|
|
@@ -54091,6 +55494,42 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
54091
55494
|
};
|
|
54092
55495
|
Relationships: [];
|
|
54093
55496
|
};
|
|
55497
|
+
inventory_stock_snapshots: {
|
|
55498
|
+
Row: {
|
|
55499
|
+
connection_id: string;
|
|
55500
|
+
created_at: string;
|
|
55501
|
+
erp_available_quantity: number;
|
|
55502
|
+
floriday_desired_quantity: number;
|
|
55503
|
+
floriday_remote_quantity: number | null;
|
|
55504
|
+
granularity: string;
|
|
55505
|
+
id: string;
|
|
55506
|
+
snapshot_at: string;
|
|
55507
|
+
user_id: string | null;
|
|
55508
|
+
};
|
|
55509
|
+
Insert: {
|
|
55510
|
+
connection_id: string;
|
|
55511
|
+
created_at?: string;
|
|
55512
|
+
erp_available_quantity?: number;
|
|
55513
|
+
floriday_desired_quantity?: number;
|
|
55514
|
+
floriday_remote_quantity?: number | null;
|
|
55515
|
+
granularity?: string;
|
|
55516
|
+
id?: string;
|
|
55517
|
+
snapshot_at?: string;
|
|
55518
|
+
user_id?: string | null;
|
|
55519
|
+
};
|
|
55520
|
+
Update: {
|
|
55521
|
+
connection_id?: string;
|
|
55522
|
+
created_at?: string;
|
|
55523
|
+
erp_available_quantity?: number;
|
|
55524
|
+
floriday_desired_quantity?: number;
|
|
55525
|
+
floriday_remote_quantity?: number | null;
|
|
55526
|
+
granularity?: string;
|
|
55527
|
+
id?: string;
|
|
55528
|
+
snapshot_at?: string;
|
|
55529
|
+
user_id?: string | null;
|
|
55530
|
+
};
|
|
55531
|
+
Relationships: [];
|
|
55532
|
+
};
|
|
54094
55533
|
invoice_items: {
|
|
54095
55534
|
Row: {
|
|
54096
55535
|
created_at: string;
|
|
@@ -60106,6 +61545,39 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
60106
61545
|
};
|
|
60107
61546
|
Relationships: [];
|
|
60108
61547
|
};
|
|
61548
|
+
print_dedupe_events: {
|
|
61549
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
61570
|
+
bestaande_job_id?: string | null;
|
|
61571
|
+
created_at?: string;
|
|
61572
|
+
detail?: string | null;
|
|
61573
|
+
documentnaam?: string | null;
|
|
61574
|
+
documenttype?: string | null;
|
|
61575
|
+
id?: string;
|
|
61576
|
+
idempotentie_sleutel?: string;
|
|
61577
|
+
reden?: string;
|
|
61578
|
+
};
|
|
61579
|
+
Relationships: [];
|
|
61580
|
+
};
|
|
60109
61581
|
print_job_logs: {
|
|
60110
61582
|
Row: {
|
|
60111
61583
|
created_at: string;
|
|
@@ -60156,6 +61628,9 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
60156
61628
|
is_herprint: boolean;
|
|
60157
61629
|
kopieen: number;
|
|
60158
61630
|
layout_id: string | null;
|
|
61631
|
+
lokaal_opgeslagen_op: string | null;
|
|
61632
|
+
lokale_pdf_fout: string | null;
|
|
61633
|
+
lokale_pdf_status: string | null;
|
|
60159
61634
|
opgepakt_op: string | null;
|
|
60160
61635
|
paginas: number;
|
|
60161
61636
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -60164,6 +61639,7 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
60164
61639
|
pogingen: number;
|
|
60165
61640
|
printer_id: string | null;
|
|
60166
61641
|
render_html: string | null;
|
|
61642
|
+
resultaat_pdf_base64: string | null;
|
|
60167
61643
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
60168
61644
|
updated_at: string;
|
|
60169
61645
|
volgende_poging: string | null;
|
|
@@ -60188,6 +61664,9 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
60188
61664
|
is_herprint?: boolean;
|
|
60189
61665
|
kopieen?: number;
|
|
60190
61666
|
layout_id?: string | null;
|
|
61667
|
+
lokaal_opgeslagen_op?: string | null;
|
|
61668
|
+
lokale_pdf_fout?: string | null;
|
|
61669
|
+
lokale_pdf_status?: string | null;
|
|
60191
61670
|
opgepakt_op?: string | null;
|
|
60192
61671
|
paginas?: number;
|
|
60193
61672
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -60196,6 +61675,7 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
60196
61675
|
pogingen?: number;
|
|
60197
61676
|
printer_id?: string | null;
|
|
60198
61677
|
render_html?: string | null;
|
|
61678
|
+
resultaat_pdf_base64?: string | null;
|
|
60199
61679
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
60200
61680
|
updated_at?: string;
|
|
60201
61681
|
volgende_poging?: string | null;
|
|
@@ -60220,6 +61700,9 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
60220
61700
|
is_herprint?: boolean;
|
|
60221
61701
|
kopieen?: number;
|
|
60222
61702
|
layout_id?: string | null;
|
|
61703
|
+
lokaal_opgeslagen_op?: string | null;
|
|
61704
|
+
lokale_pdf_fout?: string | null;
|
|
61705
|
+
lokale_pdf_status?: string | null;
|
|
60223
61706
|
opgepakt_op?: string | null;
|
|
60224
61707
|
paginas?: number;
|
|
60225
61708
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -60228,6 +61711,7 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
60228
61711
|
pogingen?: number;
|
|
60229
61712
|
printer_id?: string | null;
|
|
60230
61713
|
render_html?: string | null;
|
|
61714
|
+
resultaat_pdf_base64?: string | null;
|
|
60231
61715
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
60232
61716
|
updated_at?: string;
|
|
60233
61717
|
volgende_poging?: string | null;
|
|
@@ -60346,6 +61830,39 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
60346
61830
|
};
|
|
60347
61831
|
Relationships: [];
|
|
60348
61832
|
};
|
|
61833
|
+
print_preview_events: {
|
|
61834
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
61855
|
+
code?: string | null;
|
|
61856
|
+
created_at?: string;
|
|
61857
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
61858
|
+
id?: string;
|
|
61859
|
+
queue_item_id?: string | null;
|
|
61860
|
+
reden?: string | null;
|
|
61861
|
+
station_slug?: string | null;
|
|
61862
|
+
uitkomst?: string;
|
|
61863
|
+
};
|
|
61864
|
+
Relationships: [];
|
|
61865
|
+
};
|
|
60349
61866
|
print_queue_runners: {
|
|
60350
61867
|
Row: {
|
|
60351
61868
|
actief: boolean;
|
|
@@ -60585,6 +62102,7 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
60585
62102
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
60586
62103
|
online: boolean;
|
|
60587
62104
|
papierformaat: string;
|
|
62105
|
+
pdf_map: string | null;
|
|
60588
62106
|
poort: number | null;
|
|
60589
62107
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
60590
62108
|
systeemnaam: string;
|
|
@@ -60610,6 +62128,7 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
60610
62128
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
60611
62129
|
online?: boolean;
|
|
60612
62130
|
papierformaat?: string;
|
|
62131
|
+
pdf_map?: string | null;
|
|
60613
62132
|
poort?: number | null;
|
|
60614
62133
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
60615
62134
|
systeemnaam?: string;
|
|
@@ -60635,6 +62154,7 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
60635
62154
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
60636
62155
|
online?: boolean;
|
|
60637
62156
|
papierformaat?: string;
|
|
62157
|
+
pdf_map?: string | null;
|
|
60638
62158
|
poort?: number | null;
|
|
60639
62159
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
60640
62160
|
systeemnaam?: string;
|
|
@@ -63204,6 +64724,7 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
63204
64724
|
};
|
|
63205
64725
|
trade_item_stock: {
|
|
63206
64726
|
Row: {
|
|
64727
|
+
change_source: string;
|
|
63207
64728
|
connection_id: string;
|
|
63208
64729
|
created_at: string;
|
|
63209
64730
|
id: string;
|
|
@@ -63217,6 +64738,7 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
63217
64738
|
user_id: string;
|
|
63218
64739
|
};
|
|
63219
64740
|
Insert: {
|
|
64741
|
+
change_source?: string;
|
|
63220
64742
|
connection_id: string;
|
|
63221
64743
|
created_at?: string;
|
|
63222
64744
|
id?: string;
|
|
@@ -63230,6 +64752,7 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
63230
64752
|
user_id: string;
|
|
63231
64753
|
};
|
|
63232
64754
|
Update: {
|
|
64755
|
+
change_source?: string;
|
|
63233
64756
|
connection_id?: string;
|
|
63234
64757
|
created_at?: string;
|
|
63235
64758
|
id?: string;
|
|
@@ -66830,6 +68353,18 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
66830
68353
|
Args: never;
|
|
66831
68354
|
Returns: number;
|
|
66832
68355
|
};
|
|
68356
|
+
calculate_floriday_desired_stock: {
|
|
68357
|
+
Args: {
|
|
68358
|
+
p_connection_id: string;
|
|
68359
|
+
p_product_id: string;
|
|
68360
|
+
};
|
|
68361
|
+
Returns: {
|
|
68362
|
+
desired_availability: boolean;
|
|
68363
|
+
desired_quantity: number;
|
|
68364
|
+
erp_available: number;
|
|
68365
|
+
stock_mode: string;
|
|
68366
|
+
}[];
|
|
68367
|
+
};
|
|
66833
68368
|
calculate_layer_stock: {
|
|
66834
68369
|
Args: {
|
|
66835
68370
|
p_product_id: string;
|
|
@@ -66891,6 +68426,9 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
66891
68426
|
is_herprint: boolean;
|
|
66892
68427
|
kopieen: number;
|
|
66893
68428
|
layout_id: string | null;
|
|
68429
|
+
lokaal_opgeslagen_op: string | null;
|
|
68430
|
+
lokale_pdf_fout: string | null;
|
|
68431
|
+
lokale_pdf_status: string | null;
|
|
66894
68432
|
opgepakt_op: string | null;
|
|
66895
68433
|
paginas: number;
|
|
66896
68434
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -66899,6 +68437,7 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
66899
68437
|
pogingen: number;
|
|
66900
68438
|
printer_id: string | null;
|
|
66901
68439
|
render_html: string | null;
|
|
68440
|
+
resultaat_pdf_base64: string | null;
|
|
66902
68441
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
66903
68442
|
updated_at: string;
|
|
66904
68443
|
volgende_poging: string | null;
|
|
@@ -66920,6 +68459,7 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
66920
68459
|
attempts: number;
|
|
66921
68460
|
connection_id: string;
|
|
66922
68461
|
created_at: string;
|
|
68462
|
+
dead_lettered_at: string | null;
|
|
66923
68463
|
desired_available: boolean | null;
|
|
66924
68464
|
gateway_attempt_id: string | null;
|
|
66925
68465
|
id: string;
|
|
@@ -66928,9 +68468,13 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
66928
68468
|
locked_by: string | null;
|
|
66929
68469
|
next_attempt_at: string;
|
|
66930
68470
|
number_of_pieces: number;
|
|
68471
|
+
product_id: string | null;
|
|
66931
68472
|
sent_at: string | null;
|
|
66932
68473
|
status: string;
|
|
68474
|
+
stock_mode: string | null;
|
|
66933
68475
|
superseded_by: string | null;
|
|
68476
|
+
target_week: number | null;
|
|
68477
|
+
target_year: number | null;
|
|
66934
68478
|
trade_item_id: string;
|
|
66935
68479
|
updated_at: string;
|
|
66936
68480
|
user_id: string;
|
|
@@ -66990,6 +68534,53 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
66990
68534
|
isSetofReturn: true;
|
|
66991
68535
|
};
|
|
66992
68536
|
};
|
|
68537
|
+
claim_pdf_print_jobs: {
|
|
68538
|
+
Args: {
|
|
68539
|
+
_max?: number;
|
|
68540
|
+
};
|
|
68541
|
+
Returns: {
|
|
68542
|
+
agent_id: string | null;
|
|
68543
|
+
bron_job_id: string | null;
|
|
68544
|
+
created_at: string;
|
|
68545
|
+
documentnaam: string;
|
|
68546
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
68547
|
+
extern_job_id: string | null;
|
|
68548
|
+
foutmelding: string | null;
|
|
68549
|
+
gebruiker_id: string | null;
|
|
68550
|
+
gebruiker_naam: string;
|
|
68551
|
+
gebruikte_bron: string | null;
|
|
68552
|
+
gebruikte_layout_id: string | null;
|
|
68553
|
+
gestart_op: string | null;
|
|
68554
|
+
herkomst: string | null;
|
|
68555
|
+
id: string;
|
|
68556
|
+
idempotentie_sleutel: string | null;
|
|
68557
|
+
is_herprint: boolean;
|
|
68558
|
+
kopieen: number;
|
|
68559
|
+
layout_id: string | null;
|
|
68560
|
+
lokaal_opgeslagen_op: string | null;
|
|
68561
|
+
lokale_pdf_fout: string | null;
|
|
68562
|
+
lokale_pdf_status: string | null;
|
|
68563
|
+
opgepakt_op: string | null;
|
|
68564
|
+
paginas: number;
|
|
68565
|
+
payload: import("../integrations/supabase/types").Json;
|
|
68566
|
+
pdf_base64: string | null;
|
|
68567
|
+
pdf_url: string | null;
|
|
68568
|
+
pogingen: number;
|
|
68569
|
+
printer_id: string | null;
|
|
68570
|
+
render_html: string | null;
|
|
68571
|
+
resultaat_pdf_base64: string | null;
|
|
68572
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
68573
|
+
updated_at: string;
|
|
68574
|
+
volgende_poging: string | null;
|
|
68575
|
+
voltooid_op: string | null;
|
|
68576
|
+
}[];
|
|
68577
|
+
SetofOptions: {
|
|
68578
|
+
from: "*";
|
|
68579
|
+
to: "print_jobs";
|
|
68580
|
+
isOneToOne: false;
|
|
68581
|
+
isSetofReturn: true;
|
|
68582
|
+
};
|
|
68583
|
+
};
|
|
66993
68584
|
claim_print_jobs: {
|
|
66994
68585
|
Args: {
|
|
66995
68586
|
_agent_id: string;
|
|
@@ -67014,6 +68605,9 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
67014
68605
|
is_herprint: boolean;
|
|
67015
68606
|
kopieen: number;
|
|
67016
68607
|
layout_id: string | null;
|
|
68608
|
+
lokaal_opgeslagen_op: string | null;
|
|
68609
|
+
lokale_pdf_fout: string | null;
|
|
68610
|
+
lokale_pdf_status: string | null;
|
|
67017
68611
|
opgepakt_op: string | null;
|
|
67018
68612
|
paginas: number;
|
|
67019
68613
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -67022,6 +68616,7 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
67022
68616
|
pogingen: number;
|
|
67023
68617
|
printer_id: string | null;
|
|
67024
68618
|
render_html: string | null;
|
|
68619
|
+
resultaat_pdf_base64: string | null;
|
|
67025
68620
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
67026
68621
|
updated_at: string;
|
|
67027
68622
|
volgende_poging: string | null;
|
|
@@ -67162,6 +68757,8 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
67162
68757
|
order_id: string;
|
|
67163
68758
|
order_source: string;
|
|
67164
68759
|
pick_date: string;
|
|
68760
|
+
printed_at: string;
|
|
68761
|
+
printed_today: boolean;
|
|
67165
68762
|
status: string;
|
|
67166
68763
|
}[];
|
|
67167
68764
|
};
|
|
@@ -67358,6 +68955,24 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
67358
68955
|
};
|
|
67359
68956
|
Returns: string;
|
|
67360
68957
|
};
|
|
68958
|
+
floriday_capture_stock_snapshot: {
|
|
68959
|
+
Args: never;
|
|
68960
|
+
Returns: number;
|
|
68961
|
+
};
|
|
68962
|
+
floriday_cleanup_stock_queue_v2: {
|
|
68963
|
+
Args: never;
|
|
68964
|
+
Returns: undefined;
|
|
68965
|
+
};
|
|
68966
|
+
floriday_compact_stock_snapshots: {
|
|
68967
|
+
Args: never;
|
|
68968
|
+
Returns: undefined;
|
|
68969
|
+
};
|
|
68970
|
+
floriday_default_owner: {
|
|
68971
|
+
Args: {
|
|
68972
|
+
p_connection_id: string;
|
|
68973
|
+
};
|
|
68974
|
+
Returns: string;
|
|
68975
|
+
};
|
|
67361
68976
|
floriday_effective_price: {
|
|
67362
68977
|
Args: {
|
|
67363
68978
|
_buyer_id: string;
|
|
@@ -67375,6 +68990,22 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
67375
68990
|
source_id: string;
|
|
67376
68991
|
}[];
|
|
67377
68992
|
};
|
|
68993
|
+
floriday_fill_publish_horizon: {
|
|
68994
|
+
Args: never;
|
|
68995
|
+
Returns: number;
|
|
68996
|
+
};
|
|
68997
|
+
floriday_publish_horizon_weeks: {
|
|
68998
|
+
Args: never;
|
|
68999
|
+
Returns: number;
|
|
69000
|
+
};
|
|
69001
|
+
floriday_recompute_inventory: {
|
|
69002
|
+
Args: {
|
|
69003
|
+
p_connection_id: string;
|
|
69004
|
+
p_force?: boolean;
|
|
69005
|
+
p_product_id: string;
|
|
69006
|
+
};
|
|
69007
|
+
Returns: undefined;
|
|
69008
|
+
};
|
|
67378
69009
|
format_cart_number: {
|
|
67379
69010
|
Args: {
|
|
67380
69011
|
p_pick_date: string;
|
|
@@ -67870,6 +69501,10 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
67870
69501
|
};
|
|
67871
69502
|
Returns: number;
|
|
67872
69503
|
};
|
|
69504
|
+
logistics_cancel_orphan_tasks: {
|
|
69505
|
+
Args: never;
|
|
69506
|
+
Returns: number;
|
|
69507
|
+
};
|
|
67873
69508
|
logistics_capacity_day_check: {
|
|
67874
69509
|
Args: {
|
|
67875
69510
|
p_from?: string;
|
|
@@ -67890,6 +69525,25 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
67890
69525
|
};
|
|
67891
69526
|
Returns: number;
|
|
67892
69527
|
};
|
|
69528
|
+
logistics_cart_index: {
|
|
69529
|
+
Args: {
|
|
69530
|
+
p_from?: string;
|
|
69531
|
+
p_to?: string;
|
|
69532
|
+
};
|
|
69533
|
+
Returns: {
|
|
69534
|
+
cart_id: string;
|
|
69535
|
+
cart_index: number;
|
|
69536
|
+
cart_label: string;
|
|
69537
|
+
is_shared: boolean;
|
|
69538
|
+
order_number: string;
|
|
69539
|
+
order_source: string;
|
|
69540
|
+
order_uuid: string;
|
|
69541
|
+
pick_date: string;
|
|
69542
|
+
printed_at: string;
|
|
69543
|
+
shifted: boolean;
|
|
69544
|
+
task_status: string;
|
|
69545
|
+
}[];
|
|
69546
|
+
};
|
|
67893
69547
|
logistics_check_order_allowed: {
|
|
67894
69548
|
Args: {
|
|
67895
69549
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -68038,6 +69692,17 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
68038
69692
|
isSetofReturn: false;
|
|
68039
69693
|
};
|
|
68040
69694
|
};
|
|
69695
|
+
logistics_consistency_check: {
|
|
69696
|
+
Args: never;
|
|
69697
|
+
Returns: {
|
|
69698
|
+
agenda_carts: number;
|
|
69699
|
+
control_carts: number;
|
|
69700
|
+
ok: boolean;
|
|
69701
|
+
orphan_tasks: number;
|
|
69702
|
+
pick_date: string;
|
|
69703
|
+
raw_carts: number;
|
|
69704
|
+
}[];
|
|
69705
|
+
};
|
|
68041
69706
|
logistics_delay_customer_email: {
|
|
68042
69707
|
Args: {
|
|
68043
69708
|
p_customer: string;
|
|
@@ -68127,6 +69792,16 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
68127
69792
|
isSetofReturn: false;
|
|
68128
69793
|
};
|
|
68129
69794
|
};
|
|
69795
|
+
logistics_floriday_cart_plan: {
|
|
69796
|
+
Args: {
|
|
69797
|
+
p_order_id: string;
|
|
69798
|
+
};
|
|
69799
|
+
Returns: {
|
|
69800
|
+
carrier_type: string;
|
|
69801
|
+
idx: number;
|
|
69802
|
+
packages: number;
|
|
69803
|
+
}[];
|
|
69804
|
+
};
|
|
68130
69805
|
logistics_floriday_claim_pushes: {
|
|
68131
69806
|
Args: {
|
|
68132
69807
|
_lease_seconds?: number;
|
|
@@ -68231,6 +69906,25 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
68231
69906
|
};
|
|
68232
69907
|
Returns: number;
|
|
68233
69908
|
};
|
|
69909
|
+
logistics_order_overview: {
|
|
69910
|
+
Args: {
|
|
69911
|
+
p_from?: string;
|
|
69912
|
+
p_to?: string;
|
|
69913
|
+
};
|
|
69914
|
+
Returns: {
|
|
69915
|
+
cart_count: number;
|
|
69916
|
+
customer_name: string;
|
|
69917
|
+
delivery_date: string;
|
|
69918
|
+
order_number: string;
|
|
69919
|
+
order_source: string;
|
|
69920
|
+
order_uuid: string;
|
|
69921
|
+
pick_date: string;
|
|
69922
|
+
plant_count: number;
|
|
69923
|
+
printed_at: string;
|
|
69924
|
+
shifted: boolean;
|
|
69925
|
+
status: string;
|
|
69926
|
+
}[];
|
|
69927
|
+
};
|
|
68234
69928
|
logistics_order_pick_day: {
|
|
68235
69929
|
Args: {
|
|
68236
69930
|
p_order_ref: string;
|
|
@@ -68243,6 +69937,22 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
68243
69937
|
};
|
|
68244
69938
|
Returns: string;
|
|
68245
69939
|
};
|
|
69940
|
+
logistics_pick_agenda: {
|
|
69941
|
+
Args: {
|
|
69942
|
+
p_from?: string;
|
|
69943
|
+
p_to?: string;
|
|
69944
|
+
};
|
|
69945
|
+
Returns: {
|
|
69946
|
+
cart_count: number;
|
|
69947
|
+
in_preparation: number;
|
|
69948
|
+
order_count: number;
|
|
69949
|
+
orders: import("../integrations/supabase/types").Json;
|
|
69950
|
+
pick_date: string;
|
|
69951
|
+
plant_count: number;
|
|
69952
|
+
ready: number;
|
|
69953
|
+
shifted_count: number;
|
|
69954
|
+
}[];
|
|
69955
|
+
};
|
|
68246
69956
|
logistics_pick_email_purpose: {
|
|
68247
69957
|
Args: never;
|
|
68248
69958
|
Returns: string;
|
|
@@ -68297,6 +70007,13 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
68297
70007
|
};
|
|
68298
70008
|
Returns: undefined;
|
|
68299
70009
|
};
|
|
70010
|
+
logistics_plan_floriday_order: {
|
|
70011
|
+
Args: {
|
|
70012
|
+
p_buffer_id?: string;
|
|
70013
|
+
p_order_id: string;
|
|
70014
|
+
};
|
|
70015
|
+
Returns: number;
|
|
70016
|
+
};
|
|
68300
70017
|
logistics_plan_impact_orders: {
|
|
68301
70018
|
Args: {
|
|
68302
70019
|
p_order_id: string;
|
|
@@ -68402,6 +70119,15 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
68402
70119
|
};
|
|
68403
70120
|
Returns: import("../integrations/supabase/types").Json;
|
|
68404
70121
|
};
|
|
70122
|
+
logistics_resolve_pick_document: {
|
|
70123
|
+
Args: {
|
|
70124
|
+
_is_herprint: boolean;
|
|
70125
|
+
_queue_item_id: string;
|
|
70126
|
+
_session_id: string;
|
|
70127
|
+
_voorbeeld: boolean;
|
|
70128
|
+
};
|
|
70129
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
70130
|
+
};
|
|
68405
70131
|
logistics_resolve_settings: {
|
|
68406
70132
|
Args: {
|
|
68407
70133
|
p_config_id: string;
|
|
@@ -68842,6 +70568,7 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
68842
70568
|
};
|
|
68843
70569
|
pick_enqueue_print_job: {
|
|
68844
70570
|
Args: {
|
|
70571
|
+
_is_herprint?: boolean;
|
|
68845
70572
|
_printer_id?: string;
|
|
68846
70573
|
_queue_item_id: string;
|
|
68847
70574
|
_session_id?: string;
|
|
@@ -68855,6 +70582,13 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
68855
70582
|
};
|
|
68856
70583
|
Returns: import("../integrations/supabase/types").Json;
|
|
68857
70584
|
};
|
|
70585
|
+
pick_preview_job: {
|
|
70586
|
+
Args: {
|
|
70587
|
+
_queue_item_id: string;
|
|
70588
|
+
_station_slug: string;
|
|
70589
|
+
};
|
|
70590
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
70591
|
+
};
|
|
68858
70592
|
pick_print_job_status: {
|
|
68859
70593
|
Args: {
|
|
68860
70594
|
_job_id: string;
|
|
@@ -69032,6 +70766,24 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
69032
70766
|
};
|
|
69033
70767
|
Returns: undefined;
|
|
69034
70768
|
};
|
|
70769
|
+
print_preview_toestaan: {
|
|
70770
|
+
Args: {
|
|
70771
|
+
_max?: number;
|
|
70772
|
+
_queue_item_id: string;
|
|
70773
|
+
_station_slug: string;
|
|
70774
|
+
_venster_sec?: number;
|
|
70775
|
+
};
|
|
70776
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
70777
|
+
};
|
|
70778
|
+
print_preview_weiger: {
|
|
70779
|
+
Args: {
|
|
70780
|
+
_code: string;
|
|
70781
|
+
_queue_item_id: string;
|
|
70782
|
+
_reden: string;
|
|
70783
|
+
_station_slug: string;
|
|
70784
|
+
};
|
|
70785
|
+
Returns: undefined;
|
|
70786
|
+
};
|
|
69035
70787
|
process_logistics_event: {
|
|
69036
70788
|
Args: {
|
|
69037
70789
|
p_event_id: string;
|
|
@@ -69186,6 +70938,12 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
69186
70938
|
};
|
|
69187
70939
|
Returns: string;
|
|
69188
70940
|
};
|
|
70941
|
+
resolve_print_job_printer_id: {
|
|
70942
|
+
Args: {
|
|
70943
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
70944
|
+
};
|
|
70945
|
+
Returns: string;
|
|
70946
|
+
};
|
|
69189
70947
|
resolve_product_id_for_item: {
|
|
69190
70948
|
Args: {
|
|
69191
70949
|
p_product_name: string;
|
|
@@ -69777,7 +71535,7 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
69777
71535
|
};
|
|
69778
71536
|
CompositeTypes: { [_ in never]: never; };
|
|
69779
71537
|
}, {
|
|
69780
|
-
PostgrestVersion: "14.
|
|
71538
|
+
PostgrestVersion: "14.5";
|
|
69781
71539
|
}>;
|
|
69782
71540
|
userId: string;
|
|
69783
71541
|
claims: import("@supabase/auth-js").User;
|
|
@@ -72666,6 +74424,84 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
72666
74424
|
};
|
|
72667
74425
|
Relationships: [];
|
|
72668
74426
|
};
|
|
74427
|
+
delivery_notes: {
|
|
74428
|
+
Row: {
|
|
74429
|
+
byte_size: number | null;
|
|
74430
|
+
connection_id: string | null;
|
|
74431
|
+
content_type: string;
|
|
74432
|
+
created_at: string;
|
|
74433
|
+
error_message: string | null;
|
|
74434
|
+
fetched_at: string | null;
|
|
74435
|
+
fulfillment_order_id: string | null;
|
|
74436
|
+
http_status: number | null;
|
|
74437
|
+
id: string;
|
|
74438
|
+
label_code: string | null;
|
|
74439
|
+
letter: string | null;
|
|
74440
|
+
load_carrier_index: number | null;
|
|
74441
|
+
load_carrier_type: string | null;
|
|
74442
|
+
order_id: string | null;
|
|
74443
|
+
order_number: string | null;
|
|
74444
|
+
packages: number | null;
|
|
74445
|
+
source: string;
|
|
74446
|
+
status: string;
|
|
74447
|
+
storage_bucket: string;
|
|
74448
|
+
storage_path: string | null;
|
|
74449
|
+
updated_at: string;
|
|
74450
|
+
};
|
|
74451
|
+
Insert: {
|
|
74452
|
+
byte_size?: number | null;
|
|
74453
|
+
connection_id?: string | null;
|
|
74454
|
+
content_type?: string;
|
|
74455
|
+
created_at?: string;
|
|
74456
|
+
error_message?: string | null;
|
|
74457
|
+
fetched_at?: string | null;
|
|
74458
|
+
fulfillment_order_id?: string | null;
|
|
74459
|
+
http_status?: number | null;
|
|
74460
|
+
id?: string;
|
|
74461
|
+
label_code?: string | null;
|
|
74462
|
+
letter?: string | null;
|
|
74463
|
+
load_carrier_index?: number | null;
|
|
74464
|
+
load_carrier_type?: string | null;
|
|
74465
|
+
order_id?: string | null;
|
|
74466
|
+
order_number?: string | null;
|
|
74467
|
+
packages?: number | null;
|
|
74468
|
+
source?: string;
|
|
74469
|
+
status?: string;
|
|
74470
|
+
storage_bucket?: string;
|
|
74471
|
+
storage_path?: string | null;
|
|
74472
|
+
updated_at?: string;
|
|
74473
|
+
};
|
|
74474
|
+
Update: {
|
|
74475
|
+
byte_size?: number | null;
|
|
74476
|
+
connection_id?: string | null;
|
|
74477
|
+
content_type?: string;
|
|
74478
|
+
created_at?: string;
|
|
74479
|
+
error_message?: string | null;
|
|
74480
|
+
fetched_at?: string | null;
|
|
74481
|
+
fulfillment_order_id?: string | null;
|
|
74482
|
+
http_status?: number | null;
|
|
74483
|
+
id?: string;
|
|
74484
|
+
label_code?: string | null;
|
|
74485
|
+
letter?: string | null;
|
|
74486
|
+
load_carrier_index?: number | null;
|
|
74487
|
+
load_carrier_type?: string | null;
|
|
74488
|
+
order_id?: string | null;
|
|
74489
|
+
order_number?: string | null;
|
|
74490
|
+
packages?: number | null;
|
|
74491
|
+
source?: string;
|
|
74492
|
+
status?: string;
|
|
74493
|
+
storage_bucket?: string;
|
|
74494
|
+
storage_path?: string | null;
|
|
74495
|
+
updated_at?: string;
|
|
74496
|
+
};
|
|
74497
|
+
Relationships: [{
|
|
74498
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
74499
|
+
columns: ["order_id"];
|
|
74500
|
+
isOneToOne: false;
|
|
74501
|
+
referencedRelation: "orders";
|
|
74502
|
+
referencedColumns: ["id"];
|
|
74503
|
+
}];
|
|
74504
|
+
};
|
|
72669
74505
|
document_bronregels: {
|
|
72670
74506
|
Row: {
|
|
72671
74507
|
bron: string;
|
|
@@ -75719,10 +77555,7 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
75719
77555
|
};
|
|
75720
77556
|
floriday_connections: {
|
|
75721
77557
|
Row: {
|
|
75722
|
-
access_token: string | null;
|
|
75723
77558
|
api_key: string;
|
|
75724
|
-
client_id: string;
|
|
75725
|
-
client_secret: string;
|
|
75726
77559
|
created_at: string;
|
|
75727
77560
|
customers_endpoint: string | null;
|
|
75728
77561
|
environment: string;
|
|
@@ -75737,10 +77570,7 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
75737
77570
|
updated_at: string;
|
|
75738
77571
|
};
|
|
75739
77572
|
Insert: {
|
|
75740
|
-
access_token?: string | null;
|
|
75741
77573
|
api_key: string;
|
|
75742
|
-
client_id: string;
|
|
75743
|
-
client_secret: string;
|
|
75744
77574
|
created_at?: string;
|
|
75745
77575
|
customers_endpoint?: string | null;
|
|
75746
77576
|
environment: string;
|
|
@@ -75755,10 +77585,7 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
75755
77585
|
updated_at?: string;
|
|
75756
77586
|
};
|
|
75757
77587
|
Update: {
|
|
75758
|
-
access_token?: string | null;
|
|
75759
77588
|
api_key?: string;
|
|
75760
|
-
client_id?: string;
|
|
75761
|
-
client_secret?: string;
|
|
75762
77589
|
created_at?: string;
|
|
75763
77590
|
customers_endpoint?: string | null;
|
|
75764
77591
|
environment?: string;
|
|
@@ -75842,6 +77669,7 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
75842
77669
|
attempts: number;
|
|
75843
77670
|
connection_id: string;
|
|
75844
77671
|
created_at: string;
|
|
77672
|
+
dead_lettered_at: string | null;
|
|
75845
77673
|
desired_available: boolean | null;
|
|
75846
77674
|
gateway_attempt_id: string | null;
|
|
75847
77675
|
id: string;
|
|
@@ -75850,9 +77678,13 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
75850
77678
|
locked_by: string | null;
|
|
75851
77679
|
next_attempt_at: string;
|
|
75852
77680
|
number_of_pieces: number;
|
|
77681
|
+
product_id: string | null;
|
|
75853
77682
|
sent_at: string | null;
|
|
75854
77683
|
status: string;
|
|
77684
|
+
stock_mode: string | null;
|
|
75855
77685
|
superseded_by: string | null;
|
|
77686
|
+
target_week: number | null;
|
|
77687
|
+
target_year: number | null;
|
|
75856
77688
|
trade_item_id: string;
|
|
75857
77689
|
updated_at: string;
|
|
75858
77690
|
user_id: string;
|
|
@@ -75861,6 +77693,7 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
75861
77693
|
attempts?: number;
|
|
75862
77694
|
connection_id: string;
|
|
75863
77695
|
created_at?: string;
|
|
77696
|
+
dead_lettered_at?: string | null;
|
|
75864
77697
|
desired_available?: boolean | null;
|
|
75865
77698
|
gateway_attempt_id?: string | null;
|
|
75866
77699
|
id?: string;
|
|
@@ -75869,9 +77702,13 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
75869
77702
|
locked_by?: string | null;
|
|
75870
77703
|
next_attempt_at?: string;
|
|
75871
77704
|
number_of_pieces?: number;
|
|
77705
|
+
product_id?: string | null;
|
|
75872
77706
|
sent_at?: string | null;
|
|
75873
77707
|
status?: string;
|
|
77708
|
+
stock_mode?: string | null;
|
|
75874
77709
|
superseded_by?: string | null;
|
|
77710
|
+
target_week?: number | null;
|
|
77711
|
+
target_year?: number | null;
|
|
75875
77712
|
trade_item_id: string;
|
|
75876
77713
|
updated_at?: string;
|
|
75877
77714
|
user_id: string;
|
|
@@ -75880,6 +77717,7 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
75880
77717
|
attempts?: number;
|
|
75881
77718
|
connection_id?: string;
|
|
75882
77719
|
created_at?: string;
|
|
77720
|
+
dead_lettered_at?: string | null;
|
|
75883
77721
|
desired_available?: boolean | null;
|
|
75884
77722
|
gateway_attempt_id?: string | null;
|
|
75885
77723
|
id?: string;
|
|
@@ -75888,9 +77726,13 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
75888
77726
|
locked_by?: string | null;
|
|
75889
77727
|
next_attempt_at?: string;
|
|
75890
77728
|
number_of_pieces?: number;
|
|
77729
|
+
product_id?: string | null;
|
|
75891
77730
|
sent_at?: string | null;
|
|
75892
77731
|
status?: string;
|
|
77732
|
+
stock_mode?: string | null;
|
|
75893
77733
|
superseded_by?: string | null;
|
|
77734
|
+
target_week?: number | null;
|
|
77735
|
+
target_year?: number | null;
|
|
75894
77736
|
trade_item_id?: string;
|
|
75895
77737
|
updated_at?: string;
|
|
75896
77738
|
user_id?: string;
|
|
@@ -76299,6 +78141,87 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
76299
78141
|
referencedColumns: ["id"];
|
|
76300
78142
|
}];
|
|
76301
78143
|
};
|
|
78144
|
+
floriday_inventory_settings: {
|
|
78145
|
+
Row: {
|
|
78146
|
+
buffer_quantity: number;
|
|
78147
|
+
connection_id: string;
|
|
78148
|
+
created_at: string;
|
|
78149
|
+
desired_availability: boolean;
|
|
78150
|
+
desired_quantity: number;
|
|
78151
|
+
fixed_quantity: number | null;
|
|
78152
|
+
floriday_trade_item_id: string | null;
|
|
78153
|
+
id: string;
|
|
78154
|
+
last_confirmed_at: string | null;
|
|
78155
|
+
last_enqueued_at: string | null;
|
|
78156
|
+
last_published_at: string | null;
|
|
78157
|
+
last_sync_error: string | null;
|
|
78158
|
+
manual_quantity: number | null;
|
|
78159
|
+
maximum_quantity: number | null;
|
|
78160
|
+
product_id: string;
|
|
78161
|
+
quantity_control: string;
|
|
78162
|
+
remote_available: boolean | null;
|
|
78163
|
+
remote_checked_at: string | null;
|
|
78164
|
+
remote_quantity: number | null;
|
|
78165
|
+
stock_mode: string;
|
|
78166
|
+
sync_status: string;
|
|
78167
|
+
updated_at: string;
|
|
78168
|
+
updated_by: string | null;
|
|
78169
|
+
user_id: string;
|
|
78170
|
+
};
|
|
78171
|
+
Insert: {
|
|
78172
|
+
buffer_quantity?: number;
|
|
78173
|
+
connection_id: string;
|
|
78174
|
+
created_at?: string;
|
|
78175
|
+
desired_availability?: boolean;
|
|
78176
|
+
desired_quantity?: number;
|
|
78177
|
+
fixed_quantity?: number | null;
|
|
78178
|
+
floriday_trade_item_id?: string | null;
|
|
78179
|
+
id?: string;
|
|
78180
|
+
last_confirmed_at?: string | null;
|
|
78181
|
+
last_enqueued_at?: string | null;
|
|
78182
|
+
last_published_at?: string | null;
|
|
78183
|
+
last_sync_error?: string | null;
|
|
78184
|
+
manual_quantity?: number | null;
|
|
78185
|
+
maximum_quantity?: number | null;
|
|
78186
|
+
product_id: string;
|
|
78187
|
+
quantity_control?: string;
|
|
78188
|
+
remote_available?: boolean | null;
|
|
78189
|
+
remote_checked_at?: string | null;
|
|
78190
|
+
remote_quantity?: number | null;
|
|
78191
|
+
stock_mode?: string;
|
|
78192
|
+
sync_status?: string;
|
|
78193
|
+
updated_at?: string;
|
|
78194
|
+
updated_by?: string | null;
|
|
78195
|
+
user_id: string;
|
|
78196
|
+
};
|
|
78197
|
+
Update: {
|
|
78198
|
+
buffer_quantity?: number;
|
|
78199
|
+
connection_id?: string;
|
|
78200
|
+
created_at?: string;
|
|
78201
|
+
desired_availability?: boolean;
|
|
78202
|
+
desired_quantity?: number;
|
|
78203
|
+
fixed_quantity?: number | null;
|
|
78204
|
+
floriday_trade_item_id?: string | null;
|
|
78205
|
+
id?: string;
|
|
78206
|
+
last_confirmed_at?: string | null;
|
|
78207
|
+
last_enqueued_at?: string | null;
|
|
78208
|
+
last_published_at?: string | null;
|
|
78209
|
+
last_sync_error?: string | null;
|
|
78210
|
+
manual_quantity?: number | null;
|
|
78211
|
+
maximum_quantity?: number | null;
|
|
78212
|
+
product_id?: string;
|
|
78213
|
+
quantity_control?: string;
|
|
78214
|
+
remote_available?: boolean | null;
|
|
78215
|
+
remote_checked_at?: string | null;
|
|
78216
|
+
remote_quantity?: number | null;
|
|
78217
|
+
stock_mode?: string;
|
|
78218
|
+
sync_status?: string;
|
|
78219
|
+
updated_at?: string;
|
|
78220
|
+
updated_by?: string | null;
|
|
78221
|
+
user_id?: string;
|
|
78222
|
+
};
|
|
78223
|
+
Relationships: [];
|
|
78224
|
+
};
|
|
76302
78225
|
floriday_invoices_cache: {
|
|
76303
78226
|
Row: {
|
|
76304
78227
|
buyer_organization_id: string | null;
|
|
@@ -76587,6 +78510,39 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
76587
78510
|
};
|
|
76588
78511
|
Relationships: [];
|
|
76589
78512
|
};
|
|
78513
|
+
floriday_sales_order_ingest: {
|
|
78514
|
+
Row: {
|
|
78515
|
+
connection_id: string;
|
|
78516
|
+
created_at: string;
|
|
78517
|
+
id: string;
|
|
78518
|
+
impact: import("../integrations/supabase/types").Json;
|
|
78519
|
+
order_status: string | null;
|
|
78520
|
+
order_version: number;
|
|
78521
|
+
processed_at: string;
|
|
78522
|
+
sales_order_id: string;
|
|
78523
|
+
};
|
|
78524
|
+
Insert: {
|
|
78525
|
+
connection_id: string;
|
|
78526
|
+
created_at?: string;
|
|
78527
|
+
id?: string;
|
|
78528
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
78529
|
+
order_status?: string | null;
|
|
78530
|
+
order_version?: number;
|
|
78531
|
+
processed_at?: string;
|
|
78532
|
+
sales_order_id: string;
|
|
78533
|
+
};
|
|
78534
|
+
Update: {
|
|
78535
|
+
connection_id?: string;
|
|
78536
|
+
created_at?: string;
|
|
78537
|
+
id?: string;
|
|
78538
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
78539
|
+
order_status?: string | null;
|
|
78540
|
+
order_version?: number;
|
|
78541
|
+
processed_at?: string;
|
|
78542
|
+
sales_order_id?: string;
|
|
78543
|
+
};
|
|
78544
|
+
Relationships: [];
|
|
78545
|
+
};
|
|
76590
78546
|
floriday_sales_strategies_cache: {
|
|
76591
78547
|
Row: {
|
|
76592
78548
|
connection_id: string;
|
|
@@ -76686,6 +78642,39 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
76686
78642
|
};
|
|
76687
78643
|
Relationships: [];
|
|
76688
78644
|
};
|
|
78645
|
+
floriday_sync_cursors: {
|
|
78646
|
+
Row: {
|
|
78647
|
+
connection_id: string;
|
|
78648
|
+
created_at: string;
|
|
78649
|
+
id: string;
|
|
78650
|
+
last_error: string | null;
|
|
78651
|
+
last_sync_at: string | null;
|
|
78652
|
+
resource_type: string;
|
|
78653
|
+
sequence_number: number;
|
|
78654
|
+
updated_at: string;
|
|
78655
|
+
};
|
|
78656
|
+
Insert: {
|
|
78657
|
+
connection_id: string;
|
|
78658
|
+
created_at?: string;
|
|
78659
|
+
id?: string;
|
|
78660
|
+
last_error?: string | null;
|
|
78661
|
+
last_sync_at?: string | null;
|
|
78662
|
+
resource_type: string;
|
|
78663
|
+
sequence_number?: number;
|
|
78664
|
+
updated_at?: string;
|
|
78665
|
+
};
|
|
78666
|
+
Update: {
|
|
78667
|
+
connection_id?: string;
|
|
78668
|
+
created_at?: string;
|
|
78669
|
+
id?: string;
|
|
78670
|
+
last_error?: string | null;
|
|
78671
|
+
last_sync_at?: string | null;
|
|
78672
|
+
resource_type?: string;
|
|
78673
|
+
sequence_number?: number;
|
|
78674
|
+
updated_at?: string;
|
|
78675
|
+
};
|
|
78676
|
+
Relationships: [];
|
|
78677
|
+
};
|
|
76689
78678
|
floriday_sync_state: {
|
|
76690
78679
|
Row: {
|
|
76691
78680
|
connection_id: string;
|
|
@@ -77376,6 +79365,42 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
77376
79365
|
};
|
|
77377
79366
|
Relationships: [];
|
|
77378
79367
|
};
|
|
79368
|
+
inventory_stock_snapshots: {
|
|
79369
|
+
Row: {
|
|
79370
|
+
connection_id: string;
|
|
79371
|
+
created_at: string;
|
|
79372
|
+
erp_available_quantity: number;
|
|
79373
|
+
floriday_desired_quantity: number;
|
|
79374
|
+
floriday_remote_quantity: number | null;
|
|
79375
|
+
granularity: string;
|
|
79376
|
+
id: string;
|
|
79377
|
+
snapshot_at: string;
|
|
79378
|
+
user_id: string | null;
|
|
79379
|
+
};
|
|
79380
|
+
Insert: {
|
|
79381
|
+
connection_id: string;
|
|
79382
|
+
created_at?: string;
|
|
79383
|
+
erp_available_quantity?: number;
|
|
79384
|
+
floriday_desired_quantity?: number;
|
|
79385
|
+
floriday_remote_quantity?: number | null;
|
|
79386
|
+
granularity?: string;
|
|
79387
|
+
id?: string;
|
|
79388
|
+
snapshot_at?: string;
|
|
79389
|
+
user_id?: string | null;
|
|
79390
|
+
};
|
|
79391
|
+
Update: {
|
|
79392
|
+
connection_id?: string;
|
|
79393
|
+
created_at?: string;
|
|
79394
|
+
erp_available_quantity?: number;
|
|
79395
|
+
floriday_desired_quantity?: number;
|
|
79396
|
+
floriday_remote_quantity?: number | null;
|
|
79397
|
+
granularity?: string;
|
|
79398
|
+
id?: string;
|
|
79399
|
+
snapshot_at?: string;
|
|
79400
|
+
user_id?: string | null;
|
|
79401
|
+
};
|
|
79402
|
+
Relationships: [];
|
|
79403
|
+
};
|
|
77379
79404
|
invoice_items: {
|
|
77380
79405
|
Row: {
|
|
77381
79406
|
created_at: string;
|
|
@@ -83391,6 +85416,39 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
83391
85416
|
};
|
|
83392
85417
|
Relationships: [];
|
|
83393
85418
|
};
|
|
85419
|
+
print_dedupe_events: {
|
|
85420
|
+
Row: {
|
|
85421
|
+
bestaande_job_id: string | null;
|
|
85422
|
+
created_at: string;
|
|
85423
|
+
detail: string | null;
|
|
85424
|
+
documentnaam: string | null;
|
|
85425
|
+
documenttype: string | null;
|
|
85426
|
+
id: string;
|
|
85427
|
+
idempotentie_sleutel: string;
|
|
85428
|
+
reden: string;
|
|
85429
|
+
};
|
|
85430
|
+
Insert: {
|
|
85431
|
+
bestaande_job_id?: string | null;
|
|
85432
|
+
created_at?: string;
|
|
85433
|
+
detail?: string | null;
|
|
85434
|
+
documentnaam?: string | null;
|
|
85435
|
+
documenttype?: string | null;
|
|
85436
|
+
id?: string;
|
|
85437
|
+
idempotentie_sleutel: string;
|
|
85438
|
+
reden: string;
|
|
85439
|
+
};
|
|
85440
|
+
Update: {
|
|
85441
|
+
bestaande_job_id?: string | null;
|
|
85442
|
+
created_at?: string;
|
|
85443
|
+
detail?: string | null;
|
|
85444
|
+
documentnaam?: string | null;
|
|
85445
|
+
documenttype?: string | null;
|
|
85446
|
+
id?: string;
|
|
85447
|
+
idempotentie_sleutel?: string;
|
|
85448
|
+
reden?: string;
|
|
85449
|
+
};
|
|
85450
|
+
Relationships: [];
|
|
85451
|
+
};
|
|
83394
85452
|
print_job_logs: {
|
|
83395
85453
|
Row: {
|
|
83396
85454
|
created_at: string;
|
|
@@ -83441,6 +85499,9 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
83441
85499
|
is_herprint: boolean;
|
|
83442
85500
|
kopieen: number;
|
|
83443
85501
|
layout_id: string | null;
|
|
85502
|
+
lokaal_opgeslagen_op: string | null;
|
|
85503
|
+
lokale_pdf_fout: string | null;
|
|
85504
|
+
lokale_pdf_status: string | null;
|
|
83444
85505
|
opgepakt_op: string | null;
|
|
83445
85506
|
paginas: number;
|
|
83446
85507
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -83449,6 +85510,7 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
83449
85510
|
pogingen: number;
|
|
83450
85511
|
printer_id: string | null;
|
|
83451
85512
|
render_html: string | null;
|
|
85513
|
+
resultaat_pdf_base64: string | null;
|
|
83452
85514
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
83453
85515
|
updated_at: string;
|
|
83454
85516
|
volgende_poging: string | null;
|
|
@@ -83473,6 +85535,9 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
83473
85535
|
is_herprint?: boolean;
|
|
83474
85536
|
kopieen?: number;
|
|
83475
85537
|
layout_id?: string | null;
|
|
85538
|
+
lokaal_opgeslagen_op?: string | null;
|
|
85539
|
+
lokale_pdf_fout?: string | null;
|
|
85540
|
+
lokale_pdf_status?: string | null;
|
|
83476
85541
|
opgepakt_op?: string | null;
|
|
83477
85542
|
paginas?: number;
|
|
83478
85543
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -83481,6 +85546,7 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
83481
85546
|
pogingen?: number;
|
|
83482
85547
|
printer_id?: string | null;
|
|
83483
85548
|
render_html?: string | null;
|
|
85549
|
+
resultaat_pdf_base64?: string | null;
|
|
83484
85550
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
83485
85551
|
updated_at?: string;
|
|
83486
85552
|
volgende_poging?: string | null;
|
|
@@ -83505,6 +85571,9 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
83505
85571
|
is_herprint?: boolean;
|
|
83506
85572
|
kopieen?: number;
|
|
83507
85573
|
layout_id?: string | null;
|
|
85574
|
+
lokaal_opgeslagen_op?: string | null;
|
|
85575
|
+
lokale_pdf_fout?: string | null;
|
|
85576
|
+
lokale_pdf_status?: string | null;
|
|
83508
85577
|
opgepakt_op?: string | null;
|
|
83509
85578
|
paginas?: number;
|
|
83510
85579
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -83513,6 +85582,7 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
83513
85582
|
pogingen?: number;
|
|
83514
85583
|
printer_id?: string | null;
|
|
83515
85584
|
render_html?: string | null;
|
|
85585
|
+
resultaat_pdf_base64?: string | null;
|
|
83516
85586
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
83517
85587
|
updated_at?: string;
|
|
83518
85588
|
volgende_poging?: string | null;
|
|
@@ -83631,6 +85701,39 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
83631
85701
|
};
|
|
83632
85702
|
Relationships: [];
|
|
83633
85703
|
};
|
|
85704
|
+
print_preview_events: {
|
|
85705
|
+
Row: {
|
|
85706
|
+
code: string | null;
|
|
85707
|
+
created_at: string;
|
|
85708
|
+
detail: import("../integrations/supabase/types").Json;
|
|
85709
|
+
id: string;
|
|
85710
|
+
queue_item_id: string | null;
|
|
85711
|
+
reden: string | null;
|
|
85712
|
+
station_slug: string | null;
|
|
85713
|
+
uitkomst: string;
|
|
85714
|
+
};
|
|
85715
|
+
Insert: {
|
|
85716
|
+
code?: string | null;
|
|
85717
|
+
created_at?: string;
|
|
85718
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
85719
|
+
id?: string;
|
|
85720
|
+
queue_item_id?: string | null;
|
|
85721
|
+
reden?: string | null;
|
|
85722
|
+
station_slug?: string | null;
|
|
85723
|
+
uitkomst?: string;
|
|
85724
|
+
};
|
|
85725
|
+
Update: {
|
|
85726
|
+
code?: string | null;
|
|
85727
|
+
created_at?: string;
|
|
85728
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
85729
|
+
id?: string;
|
|
85730
|
+
queue_item_id?: string | null;
|
|
85731
|
+
reden?: string | null;
|
|
85732
|
+
station_slug?: string | null;
|
|
85733
|
+
uitkomst?: string;
|
|
85734
|
+
};
|
|
85735
|
+
Relationships: [];
|
|
85736
|
+
};
|
|
83634
85737
|
print_queue_runners: {
|
|
83635
85738
|
Row: {
|
|
83636
85739
|
actief: boolean;
|
|
@@ -83870,6 +85973,7 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
83870
85973
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
83871
85974
|
online: boolean;
|
|
83872
85975
|
papierformaat: string;
|
|
85976
|
+
pdf_map: string | null;
|
|
83873
85977
|
poort: number | null;
|
|
83874
85978
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
83875
85979
|
systeemnaam: string;
|
|
@@ -83895,6 +85999,7 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
83895
85999
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
83896
86000
|
online?: boolean;
|
|
83897
86001
|
papierformaat?: string;
|
|
86002
|
+
pdf_map?: string | null;
|
|
83898
86003
|
poort?: number | null;
|
|
83899
86004
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
83900
86005
|
systeemnaam?: string;
|
|
@@ -83920,6 +86025,7 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
83920
86025
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
83921
86026
|
online?: boolean;
|
|
83922
86027
|
papierformaat?: string;
|
|
86028
|
+
pdf_map?: string | null;
|
|
83923
86029
|
poort?: number | null;
|
|
83924
86030
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
83925
86031
|
systeemnaam?: string;
|
|
@@ -86489,6 +88595,7 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
86489
88595
|
};
|
|
86490
88596
|
trade_item_stock: {
|
|
86491
88597
|
Row: {
|
|
88598
|
+
change_source: string;
|
|
86492
88599
|
connection_id: string;
|
|
86493
88600
|
created_at: string;
|
|
86494
88601
|
id: string;
|
|
@@ -86502,6 +88609,7 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
86502
88609
|
user_id: string;
|
|
86503
88610
|
};
|
|
86504
88611
|
Insert: {
|
|
88612
|
+
change_source?: string;
|
|
86505
88613
|
connection_id: string;
|
|
86506
88614
|
created_at?: string;
|
|
86507
88615
|
id?: string;
|
|
@@ -86515,6 +88623,7 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
86515
88623
|
user_id: string;
|
|
86516
88624
|
};
|
|
86517
88625
|
Update: {
|
|
88626
|
+
change_source?: string;
|
|
86518
88627
|
connection_id?: string;
|
|
86519
88628
|
created_at?: string;
|
|
86520
88629
|
id?: string;
|
|
@@ -90115,6 +92224,18 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
90115
92224
|
Args: never;
|
|
90116
92225
|
Returns: number;
|
|
90117
92226
|
};
|
|
92227
|
+
calculate_floriday_desired_stock: {
|
|
92228
|
+
Args: {
|
|
92229
|
+
p_connection_id: string;
|
|
92230
|
+
p_product_id: string;
|
|
92231
|
+
};
|
|
92232
|
+
Returns: {
|
|
92233
|
+
desired_availability: boolean;
|
|
92234
|
+
desired_quantity: number;
|
|
92235
|
+
erp_available: number;
|
|
92236
|
+
stock_mode: string;
|
|
92237
|
+
}[];
|
|
92238
|
+
};
|
|
90118
92239
|
calculate_layer_stock: {
|
|
90119
92240
|
Args: {
|
|
90120
92241
|
p_product_id: string;
|
|
@@ -90176,6 +92297,9 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
90176
92297
|
is_herprint: boolean;
|
|
90177
92298
|
kopieen: number;
|
|
90178
92299
|
layout_id: string | null;
|
|
92300
|
+
lokaal_opgeslagen_op: string | null;
|
|
92301
|
+
lokale_pdf_fout: string | null;
|
|
92302
|
+
lokale_pdf_status: string | null;
|
|
90179
92303
|
opgepakt_op: string | null;
|
|
90180
92304
|
paginas: number;
|
|
90181
92305
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -90184,6 +92308,7 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
90184
92308
|
pogingen: number;
|
|
90185
92309
|
printer_id: string | null;
|
|
90186
92310
|
render_html: string | null;
|
|
92311
|
+
resultaat_pdf_base64: string | null;
|
|
90187
92312
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
90188
92313
|
updated_at: string;
|
|
90189
92314
|
volgende_poging: string | null;
|
|
@@ -90205,6 +92330,7 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
90205
92330
|
attempts: number;
|
|
90206
92331
|
connection_id: string;
|
|
90207
92332
|
created_at: string;
|
|
92333
|
+
dead_lettered_at: string | null;
|
|
90208
92334
|
desired_available: boolean | null;
|
|
90209
92335
|
gateway_attempt_id: string | null;
|
|
90210
92336
|
id: string;
|
|
@@ -90213,9 +92339,13 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
90213
92339
|
locked_by: string | null;
|
|
90214
92340
|
next_attempt_at: string;
|
|
90215
92341
|
number_of_pieces: number;
|
|
92342
|
+
product_id: string | null;
|
|
90216
92343
|
sent_at: string | null;
|
|
90217
92344
|
status: string;
|
|
92345
|
+
stock_mode: string | null;
|
|
90218
92346
|
superseded_by: string | null;
|
|
92347
|
+
target_week: number | null;
|
|
92348
|
+
target_year: number | null;
|
|
90219
92349
|
trade_item_id: string;
|
|
90220
92350
|
updated_at: string;
|
|
90221
92351
|
user_id: string;
|
|
@@ -90275,6 +92405,53 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
90275
92405
|
isSetofReturn: true;
|
|
90276
92406
|
};
|
|
90277
92407
|
};
|
|
92408
|
+
claim_pdf_print_jobs: {
|
|
92409
|
+
Args: {
|
|
92410
|
+
_max?: number;
|
|
92411
|
+
};
|
|
92412
|
+
Returns: {
|
|
92413
|
+
agent_id: string | null;
|
|
92414
|
+
bron_job_id: string | null;
|
|
92415
|
+
created_at: string;
|
|
92416
|
+
documentnaam: string;
|
|
92417
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
92418
|
+
extern_job_id: string | null;
|
|
92419
|
+
foutmelding: string | null;
|
|
92420
|
+
gebruiker_id: string | null;
|
|
92421
|
+
gebruiker_naam: string;
|
|
92422
|
+
gebruikte_bron: string | null;
|
|
92423
|
+
gebruikte_layout_id: string | null;
|
|
92424
|
+
gestart_op: string | null;
|
|
92425
|
+
herkomst: string | null;
|
|
92426
|
+
id: string;
|
|
92427
|
+
idempotentie_sleutel: string | null;
|
|
92428
|
+
is_herprint: boolean;
|
|
92429
|
+
kopieen: number;
|
|
92430
|
+
layout_id: string | null;
|
|
92431
|
+
lokaal_opgeslagen_op: string | null;
|
|
92432
|
+
lokale_pdf_fout: string | null;
|
|
92433
|
+
lokale_pdf_status: string | null;
|
|
92434
|
+
opgepakt_op: string | null;
|
|
92435
|
+
paginas: number;
|
|
92436
|
+
payload: import("../integrations/supabase/types").Json;
|
|
92437
|
+
pdf_base64: string | null;
|
|
92438
|
+
pdf_url: string | null;
|
|
92439
|
+
pogingen: number;
|
|
92440
|
+
printer_id: string | null;
|
|
92441
|
+
render_html: string | null;
|
|
92442
|
+
resultaat_pdf_base64: string | null;
|
|
92443
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
92444
|
+
updated_at: string;
|
|
92445
|
+
volgende_poging: string | null;
|
|
92446
|
+
voltooid_op: string | null;
|
|
92447
|
+
}[];
|
|
92448
|
+
SetofOptions: {
|
|
92449
|
+
from: "*";
|
|
92450
|
+
to: "print_jobs";
|
|
92451
|
+
isOneToOne: false;
|
|
92452
|
+
isSetofReturn: true;
|
|
92453
|
+
};
|
|
92454
|
+
};
|
|
90278
92455
|
claim_print_jobs: {
|
|
90279
92456
|
Args: {
|
|
90280
92457
|
_agent_id: string;
|
|
@@ -90299,6 +92476,9 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
90299
92476
|
is_herprint: boolean;
|
|
90300
92477
|
kopieen: number;
|
|
90301
92478
|
layout_id: string | null;
|
|
92479
|
+
lokaal_opgeslagen_op: string | null;
|
|
92480
|
+
lokale_pdf_fout: string | null;
|
|
92481
|
+
lokale_pdf_status: string | null;
|
|
90302
92482
|
opgepakt_op: string | null;
|
|
90303
92483
|
paginas: number;
|
|
90304
92484
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -90307,6 +92487,7 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
90307
92487
|
pogingen: number;
|
|
90308
92488
|
printer_id: string | null;
|
|
90309
92489
|
render_html: string | null;
|
|
92490
|
+
resultaat_pdf_base64: string | null;
|
|
90310
92491
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
90311
92492
|
updated_at: string;
|
|
90312
92493
|
volgende_poging: string | null;
|
|
@@ -90447,6 +92628,8 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
90447
92628
|
order_id: string;
|
|
90448
92629
|
order_source: string;
|
|
90449
92630
|
pick_date: string;
|
|
92631
|
+
printed_at: string;
|
|
92632
|
+
printed_today: boolean;
|
|
90450
92633
|
status: string;
|
|
90451
92634
|
}[];
|
|
90452
92635
|
};
|
|
@@ -90643,6 +92826,24 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
90643
92826
|
};
|
|
90644
92827
|
Returns: string;
|
|
90645
92828
|
};
|
|
92829
|
+
floriday_capture_stock_snapshot: {
|
|
92830
|
+
Args: never;
|
|
92831
|
+
Returns: number;
|
|
92832
|
+
};
|
|
92833
|
+
floriday_cleanup_stock_queue_v2: {
|
|
92834
|
+
Args: never;
|
|
92835
|
+
Returns: undefined;
|
|
92836
|
+
};
|
|
92837
|
+
floriday_compact_stock_snapshots: {
|
|
92838
|
+
Args: never;
|
|
92839
|
+
Returns: undefined;
|
|
92840
|
+
};
|
|
92841
|
+
floriday_default_owner: {
|
|
92842
|
+
Args: {
|
|
92843
|
+
p_connection_id: string;
|
|
92844
|
+
};
|
|
92845
|
+
Returns: string;
|
|
92846
|
+
};
|
|
90646
92847
|
floriday_effective_price: {
|
|
90647
92848
|
Args: {
|
|
90648
92849
|
_buyer_id: string;
|
|
@@ -90660,6 +92861,22 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
90660
92861
|
source_id: string;
|
|
90661
92862
|
}[];
|
|
90662
92863
|
};
|
|
92864
|
+
floriday_fill_publish_horizon: {
|
|
92865
|
+
Args: never;
|
|
92866
|
+
Returns: number;
|
|
92867
|
+
};
|
|
92868
|
+
floriday_publish_horizon_weeks: {
|
|
92869
|
+
Args: never;
|
|
92870
|
+
Returns: number;
|
|
92871
|
+
};
|
|
92872
|
+
floriday_recompute_inventory: {
|
|
92873
|
+
Args: {
|
|
92874
|
+
p_connection_id: string;
|
|
92875
|
+
p_force?: boolean;
|
|
92876
|
+
p_product_id: string;
|
|
92877
|
+
};
|
|
92878
|
+
Returns: undefined;
|
|
92879
|
+
};
|
|
90663
92880
|
format_cart_number: {
|
|
90664
92881
|
Args: {
|
|
90665
92882
|
p_pick_date: string;
|
|
@@ -91155,6 +93372,10 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
91155
93372
|
};
|
|
91156
93373
|
Returns: number;
|
|
91157
93374
|
};
|
|
93375
|
+
logistics_cancel_orphan_tasks: {
|
|
93376
|
+
Args: never;
|
|
93377
|
+
Returns: number;
|
|
93378
|
+
};
|
|
91158
93379
|
logistics_capacity_day_check: {
|
|
91159
93380
|
Args: {
|
|
91160
93381
|
p_from?: string;
|
|
@@ -91175,6 +93396,25 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
91175
93396
|
};
|
|
91176
93397
|
Returns: number;
|
|
91177
93398
|
};
|
|
93399
|
+
logistics_cart_index: {
|
|
93400
|
+
Args: {
|
|
93401
|
+
p_from?: string;
|
|
93402
|
+
p_to?: string;
|
|
93403
|
+
};
|
|
93404
|
+
Returns: {
|
|
93405
|
+
cart_id: string;
|
|
93406
|
+
cart_index: number;
|
|
93407
|
+
cart_label: string;
|
|
93408
|
+
is_shared: boolean;
|
|
93409
|
+
order_number: string;
|
|
93410
|
+
order_source: string;
|
|
93411
|
+
order_uuid: string;
|
|
93412
|
+
pick_date: string;
|
|
93413
|
+
printed_at: string;
|
|
93414
|
+
shifted: boolean;
|
|
93415
|
+
task_status: string;
|
|
93416
|
+
}[];
|
|
93417
|
+
};
|
|
91178
93418
|
logistics_check_order_allowed: {
|
|
91179
93419
|
Args: {
|
|
91180
93420
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -91323,6 +93563,17 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
91323
93563
|
isSetofReturn: false;
|
|
91324
93564
|
};
|
|
91325
93565
|
};
|
|
93566
|
+
logistics_consistency_check: {
|
|
93567
|
+
Args: never;
|
|
93568
|
+
Returns: {
|
|
93569
|
+
agenda_carts: number;
|
|
93570
|
+
control_carts: number;
|
|
93571
|
+
ok: boolean;
|
|
93572
|
+
orphan_tasks: number;
|
|
93573
|
+
pick_date: string;
|
|
93574
|
+
raw_carts: number;
|
|
93575
|
+
}[];
|
|
93576
|
+
};
|
|
91326
93577
|
logistics_delay_customer_email: {
|
|
91327
93578
|
Args: {
|
|
91328
93579
|
p_customer: string;
|
|
@@ -91412,6 +93663,16 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
91412
93663
|
isSetofReturn: false;
|
|
91413
93664
|
};
|
|
91414
93665
|
};
|
|
93666
|
+
logistics_floriday_cart_plan: {
|
|
93667
|
+
Args: {
|
|
93668
|
+
p_order_id: string;
|
|
93669
|
+
};
|
|
93670
|
+
Returns: {
|
|
93671
|
+
carrier_type: string;
|
|
93672
|
+
idx: number;
|
|
93673
|
+
packages: number;
|
|
93674
|
+
}[];
|
|
93675
|
+
};
|
|
91415
93676
|
logistics_floriday_claim_pushes: {
|
|
91416
93677
|
Args: {
|
|
91417
93678
|
_lease_seconds?: number;
|
|
@@ -91516,6 +93777,25 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
91516
93777
|
};
|
|
91517
93778
|
Returns: number;
|
|
91518
93779
|
};
|
|
93780
|
+
logistics_order_overview: {
|
|
93781
|
+
Args: {
|
|
93782
|
+
p_from?: string;
|
|
93783
|
+
p_to?: string;
|
|
93784
|
+
};
|
|
93785
|
+
Returns: {
|
|
93786
|
+
cart_count: number;
|
|
93787
|
+
customer_name: string;
|
|
93788
|
+
delivery_date: string;
|
|
93789
|
+
order_number: string;
|
|
93790
|
+
order_source: string;
|
|
93791
|
+
order_uuid: string;
|
|
93792
|
+
pick_date: string;
|
|
93793
|
+
plant_count: number;
|
|
93794
|
+
printed_at: string;
|
|
93795
|
+
shifted: boolean;
|
|
93796
|
+
status: string;
|
|
93797
|
+
}[];
|
|
93798
|
+
};
|
|
91519
93799
|
logistics_order_pick_day: {
|
|
91520
93800
|
Args: {
|
|
91521
93801
|
p_order_ref: string;
|
|
@@ -91528,6 +93808,22 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
91528
93808
|
};
|
|
91529
93809
|
Returns: string;
|
|
91530
93810
|
};
|
|
93811
|
+
logistics_pick_agenda: {
|
|
93812
|
+
Args: {
|
|
93813
|
+
p_from?: string;
|
|
93814
|
+
p_to?: string;
|
|
93815
|
+
};
|
|
93816
|
+
Returns: {
|
|
93817
|
+
cart_count: number;
|
|
93818
|
+
in_preparation: number;
|
|
93819
|
+
order_count: number;
|
|
93820
|
+
orders: import("../integrations/supabase/types").Json;
|
|
93821
|
+
pick_date: string;
|
|
93822
|
+
plant_count: number;
|
|
93823
|
+
ready: number;
|
|
93824
|
+
shifted_count: number;
|
|
93825
|
+
}[];
|
|
93826
|
+
};
|
|
91531
93827
|
logistics_pick_email_purpose: {
|
|
91532
93828
|
Args: never;
|
|
91533
93829
|
Returns: string;
|
|
@@ -91582,6 +93878,13 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
91582
93878
|
};
|
|
91583
93879
|
Returns: undefined;
|
|
91584
93880
|
};
|
|
93881
|
+
logistics_plan_floriday_order: {
|
|
93882
|
+
Args: {
|
|
93883
|
+
p_buffer_id?: string;
|
|
93884
|
+
p_order_id: string;
|
|
93885
|
+
};
|
|
93886
|
+
Returns: number;
|
|
93887
|
+
};
|
|
91585
93888
|
logistics_plan_impact_orders: {
|
|
91586
93889
|
Args: {
|
|
91587
93890
|
p_order_id: string;
|
|
@@ -91687,6 +93990,15 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
91687
93990
|
};
|
|
91688
93991
|
Returns: import("../integrations/supabase/types").Json;
|
|
91689
93992
|
};
|
|
93993
|
+
logistics_resolve_pick_document: {
|
|
93994
|
+
Args: {
|
|
93995
|
+
_is_herprint: boolean;
|
|
93996
|
+
_queue_item_id: string;
|
|
93997
|
+
_session_id: string;
|
|
93998
|
+
_voorbeeld: boolean;
|
|
93999
|
+
};
|
|
94000
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
94001
|
+
};
|
|
91690
94002
|
logistics_resolve_settings: {
|
|
91691
94003
|
Args: {
|
|
91692
94004
|
p_config_id: string;
|
|
@@ -92127,6 +94439,7 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
92127
94439
|
};
|
|
92128
94440
|
pick_enqueue_print_job: {
|
|
92129
94441
|
Args: {
|
|
94442
|
+
_is_herprint?: boolean;
|
|
92130
94443
|
_printer_id?: string;
|
|
92131
94444
|
_queue_item_id: string;
|
|
92132
94445
|
_session_id?: string;
|
|
@@ -92140,6 +94453,13 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
92140
94453
|
};
|
|
92141
94454
|
Returns: import("../integrations/supabase/types").Json;
|
|
92142
94455
|
};
|
|
94456
|
+
pick_preview_job: {
|
|
94457
|
+
Args: {
|
|
94458
|
+
_queue_item_id: string;
|
|
94459
|
+
_station_slug: string;
|
|
94460
|
+
};
|
|
94461
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
94462
|
+
};
|
|
92143
94463
|
pick_print_job_status: {
|
|
92144
94464
|
Args: {
|
|
92145
94465
|
_job_id: string;
|
|
@@ -92317,6 +94637,24 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
92317
94637
|
};
|
|
92318
94638
|
Returns: undefined;
|
|
92319
94639
|
};
|
|
94640
|
+
print_preview_toestaan: {
|
|
94641
|
+
Args: {
|
|
94642
|
+
_max?: number;
|
|
94643
|
+
_queue_item_id: string;
|
|
94644
|
+
_station_slug: string;
|
|
94645
|
+
_venster_sec?: number;
|
|
94646
|
+
};
|
|
94647
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
94648
|
+
};
|
|
94649
|
+
print_preview_weiger: {
|
|
94650
|
+
Args: {
|
|
94651
|
+
_code: string;
|
|
94652
|
+
_queue_item_id: string;
|
|
94653
|
+
_reden: string;
|
|
94654
|
+
_station_slug: string;
|
|
94655
|
+
};
|
|
94656
|
+
Returns: undefined;
|
|
94657
|
+
};
|
|
92320
94658
|
process_logistics_event: {
|
|
92321
94659
|
Args: {
|
|
92322
94660
|
p_event_id: string;
|
|
@@ -92471,6 +94809,12 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
92471
94809
|
};
|
|
92472
94810
|
Returns: string;
|
|
92473
94811
|
};
|
|
94812
|
+
resolve_print_job_printer_id: {
|
|
94813
|
+
Args: {
|
|
94814
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
94815
|
+
};
|
|
94816
|
+
Returns: string;
|
|
94817
|
+
};
|
|
92474
94818
|
resolve_product_id_for_item: {
|
|
92475
94819
|
Args: {
|
|
92476
94820
|
p_product_name: string;
|
|
@@ -93062,7 +95406,7 @@ export declare const getSalesOrderDetail: import("@tanstack/start-client-core").
|
|
|
93062
95406
|
};
|
|
93063
95407
|
CompositeTypes: { [_ in never]: never; };
|
|
93064
95408
|
}, {
|
|
93065
|
-
PostgrestVersion: "14.
|
|
95409
|
+
PostgrestVersion: "14.5";
|
|
93066
95410
|
}>;
|
|
93067
95411
|
userId: string;
|
|
93068
95412
|
claims: import("@supabase/auth-js").User;
|
|
@@ -95922,6 +98266,84 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
95922
98266
|
};
|
|
95923
98267
|
Relationships: [];
|
|
95924
98268
|
};
|
|
98269
|
+
delivery_notes: {
|
|
98270
|
+
Row: {
|
|
98271
|
+
byte_size: number | null;
|
|
98272
|
+
connection_id: string | null;
|
|
98273
|
+
content_type: string;
|
|
98274
|
+
created_at: string;
|
|
98275
|
+
error_message: string | null;
|
|
98276
|
+
fetched_at: string | null;
|
|
98277
|
+
fulfillment_order_id: string | null;
|
|
98278
|
+
http_status: number | null;
|
|
98279
|
+
id: string;
|
|
98280
|
+
label_code: string | null;
|
|
98281
|
+
letter: string | null;
|
|
98282
|
+
load_carrier_index: number | null;
|
|
98283
|
+
load_carrier_type: string | null;
|
|
98284
|
+
order_id: string | null;
|
|
98285
|
+
order_number: string | null;
|
|
98286
|
+
packages: number | null;
|
|
98287
|
+
source: string;
|
|
98288
|
+
status: string;
|
|
98289
|
+
storage_bucket: string;
|
|
98290
|
+
storage_path: string | null;
|
|
98291
|
+
updated_at: string;
|
|
98292
|
+
};
|
|
98293
|
+
Insert: {
|
|
98294
|
+
byte_size?: number | null;
|
|
98295
|
+
connection_id?: string | null;
|
|
98296
|
+
content_type?: string;
|
|
98297
|
+
created_at?: string;
|
|
98298
|
+
error_message?: string | null;
|
|
98299
|
+
fetched_at?: string | null;
|
|
98300
|
+
fulfillment_order_id?: string | null;
|
|
98301
|
+
http_status?: number | null;
|
|
98302
|
+
id?: string;
|
|
98303
|
+
label_code?: string | null;
|
|
98304
|
+
letter?: string | null;
|
|
98305
|
+
load_carrier_index?: number | null;
|
|
98306
|
+
load_carrier_type?: string | null;
|
|
98307
|
+
order_id?: string | null;
|
|
98308
|
+
order_number?: string | null;
|
|
98309
|
+
packages?: number | null;
|
|
98310
|
+
source?: string;
|
|
98311
|
+
status?: string;
|
|
98312
|
+
storage_bucket?: string;
|
|
98313
|
+
storage_path?: string | null;
|
|
98314
|
+
updated_at?: string;
|
|
98315
|
+
};
|
|
98316
|
+
Update: {
|
|
98317
|
+
byte_size?: number | null;
|
|
98318
|
+
connection_id?: string | null;
|
|
98319
|
+
content_type?: string;
|
|
98320
|
+
created_at?: string;
|
|
98321
|
+
error_message?: string | null;
|
|
98322
|
+
fetched_at?: string | null;
|
|
98323
|
+
fulfillment_order_id?: string | null;
|
|
98324
|
+
http_status?: number | null;
|
|
98325
|
+
id?: string;
|
|
98326
|
+
label_code?: string | null;
|
|
98327
|
+
letter?: string | null;
|
|
98328
|
+
load_carrier_index?: number | null;
|
|
98329
|
+
load_carrier_type?: string | null;
|
|
98330
|
+
order_id?: string | null;
|
|
98331
|
+
order_number?: string | null;
|
|
98332
|
+
packages?: number | null;
|
|
98333
|
+
source?: string;
|
|
98334
|
+
status?: string;
|
|
98335
|
+
storage_bucket?: string;
|
|
98336
|
+
storage_path?: string | null;
|
|
98337
|
+
updated_at?: string;
|
|
98338
|
+
};
|
|
98339
|
+
Relationships: [{
|
|
98340
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
98341
|
+
columns: ["order_id"];
|
|
98342
|
+
isOneToOne: false;
|
|
98343
|
+
referencedRelation: "orders";
|
|
98344
|
+
referencedColumns: ["id"];
|
|
98345
|
+
}];
|
|
98346
|
+
};
|
|
95925
98347
|
document_bronregels: {
|
|
95926
98348
|
Row: {
|
|
95927
98349
|
bron: string;
|
|
@@ -98975,10 +101397,7 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
98975
101397
|
};
|
|
98976
101398
|
floriday_connections: {
|
|
98977
101399
|
Row: {
|
|
98978
|
-
access_token: string | null;
|
|
98979
101400
|
api_key: string;
|
|
98980
|
-
client_id: string;
|
|
98981
|
-
client_secret: string;
|
|
98982
101401
|
created_at: string;
|
|
98983
101402
|
customers_endpoint: string | null;
|
|
98984
101403
|
environment: string;
|
|
@@ -98993,10 +101412,7 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
98993
101412
|
updated_at: string;
|
|
98994
101413
|
};
|
|
98995
101414
|
Insert: {
|
|
98996
|
-
access_token?: string | null;
|
|
98997
101415
|
api_key: string;
|
|
98998
|
-
client_id: string;
|
|
98999
|
-
client_secret: string;
|
|
99000
101416
|
created_at?: string;
|
|
99001
101417
|
customers_endpoint?: string | null;
|
|
99002
101418
|
environment: string;
|
|
@@ -99011,10 +101427,7 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
99011
101427
|
updated_at?: string;
|
|
99012
101428
|
};
|
|
99013
101429
|
Update: {
|
|
99014
|
-
access_token?: string | null;
|
|
99015
101430
|
api_key?: string;
|
|
99016
|
-
client_id?: string;
|
|
99017
|
-
client_secret?: string;
|
|
99018
101431
|
created_at?: string;
|
|
99019
101432
|
customers_endpoint?: string | null;
|
|
99020
101433
|
environment?: string;
|
|
@@ -99098,6 +101511,7 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
99098
101511
|
attempts: number;
|
|
99099
101512
|
connection_id: string;
|
|
99100
101513
|
created_at: string;
|
|
101514
|
+
dead_lettered_at: string | null;
|
|
99101
101515
|
desired_available: boolean | null;
|
|
99102
101516
|
gateway_attempt_id: string | null;
|
|
99103
101517
|
id: string;
|
|
@@ -99106,9 +101520,13 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
99106
101520
|
locked_by: string | null;
|
|
99107
101521
|
next_attempt_at: string;
|
|
99108
101522
|
number_of_pieces: number;
|
|
101523
|
+
product_id: string | null;
|
|
99109
101524
|
sent_at: string | null;
|
|
99110
101525
|
status: string;
|
|
101526
|
+
stock_mode: string | null;
|
|
99111
101527
|
superseded_by: string | null;
|
|
101528
|
+
target_week: number | null;
|
|
101529
|
+
target_year: number | null;
|
|
99112
101530
|
trade_item_id: string;
|
|
99113
101531
|
updated_at: string;
|
|
99114
101532
|
user_id: string;
|
|
@@ -99117,6 +101535,7 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
99117
101535
|
attempts?: number;
|
|
99118
101536
|
connection_id: string;
|
|
99119
101537
|
created_at?: string;
|
|
101538
|
+
dead_lettered_at?: string | null;
|
|
99120
101539
|
desired_available?: boolean | null;
|
|
99121
101540
|
gateway_attempt_id?: string | null;
|
|
99122
101541
|
id?: string;
|
|
@@ -99125,9 +101544,13 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
99125
101544
|
locked_by?: string | null;
|
|
99126
101545
|
next_attempt_at?: string;
|
|
99127
101546
|
number_of_pieces?: number;
|
|
101547
|
+
product_id?: string | null;
|
|
99128
101548
|
sent_at?: string | null;
|
|
99129
101549
|
status?: string;
|
|
101550
|
+
stock_mode?: string | null;
|
|
99130
101551
|
superseded_by?: string | null;
|
|
101552
|
+
target_week?: number | null;
|
|
101553
|
+
target_year?: number | null;
|
|
99131
101554
|
trade_item_id: string;
|
|
99132
101555
|
updated_at?: string;
|
|
99133
101556
|
user_id: string;
|
|
@@ -99136,6 +101559,7 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
99136
101559
|
attempts?: number;
|
|
99137
101560
|
connection_id?: string;
|
|
99138
101561
|
created_at?: string;
|
|
101562
|
+
dead_lettered_at?: string | null;
|
|
99139
101563
|
desired_available?: boolean | null;
|
|
99140
101564
|
gateway_attempt_id?: string | null;
|
|
99141
101565
|
id?: string;
|
|
@@ -99144,9 +101568,13 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
99144
101568
|
locked_by?: string | null;
|
|
99145
101569
|
next_attempt_at?: string;
|
|
99146
101570
|
number_of_pieces?: number;
|
|
101571
|
+
product_id?: string | null;
|
|
99147
101572
|
sent_at?: string | null;
|
|
99148
101573
|
status?: string;
|
|
101574
|
+
stock_mode?: string | null;
|
|
99149
101575
|
superseded_by?: string | null;
|
|
101576
|
+
target_week?: number | null;
|
|
101577
|
+
target_year?: number | null;
|
|
99150
101578
|
trade_item_id?: string;
|
|
99151
101579
|
updated_at?: string;
|
|
99152
101580
|
user_id?: string;
|
|
@@ -99555,6 +101983,87 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
99555
101983
|
referencedColumns: ["id"];
|
|
99556
101984
|
}];
|
|
99557
101985
|
};
|
|
101986
|
+
floriday_inventory_settings: {
|
|
101987
|
+
Row: {
|
|
101988
|
+
buffer_quantity: number;
|
|
101989
|
+
connection_id: string;
|
|
101990
|
+
created_at: string;
|
|
101991
|
+
desired_availability: boolean;
|
|
101992
|
+
desired_quantity: number;
|
|
101993
|
+
fixed_quantity: number | null;
|
|
101994
|
+
floriday_trade_item_id: string | null;
|
|
101995
|
+
id: string;
|
|
101996
|
+
last_confirmed_at: string | null;
|
|
101997
|
+
last_enqueued_at: string | null;
|
|
101998
|
+
last_published_at: string | null;
|
|
101999
|
+
last_sync_error: string | null;
|
|
102000
|
+
manual_quantity: number | null;
|
|
102001
|
+
maximum_quantity: number | null;
|
|
102002
|
+
product_id: string;
|
|
102003
|
+
quantity_control: string;
|
|
102004
|
+
remote_available: boolean | null;
|
|
102005
|
+
remote_checked_at: string | null;
|
|
102006
|
+
remote_quantity: number | null;
|
|
102007
|
+
stock_mode: string;
|
|
102008
|
+
sync_status: string;
|
|
102009
|
+
updated_at: string;
|
|
102010
|
+
updated_by: string | null;
|
|
102011
|
+
user_id: string;
|
|
102012
|
+
};
|
|
102013
|
+
Insert: {
|
|
102014
|
+
buffer_quantity?: number;
|
|
102015
|
+
connection_id: string;
|
|
102016
|
+
created_at?: string;
|
|
102017
|
+
desired_availability?: boolean;
|
|
102018
|
+
desired_quantity?: number;
|
|
102019
|
+
fixed_quantity?: number | null;
|
|
102020
|
+
floriday_trade_item_id?: string | null;
|
|
102021
|
+
id?: string;
|
|
102022
|
+
last_confirmed_at?: string | null;
|
|
102023
|
+
last_enqueued_at?: string | null;
|
|
102024
|
+
last_published_at?: string | null;
|
|
102025
|
+
last_sync_error?: string | null;
|
|
102026
|
+
manual_quantity?: number | null;
|
|
102027
|
+
maximum_quantity?: number | null;
|
|
102028
|
+
product_id: string;
|
|
102029
|
+
quantity_control?: string;
|
|
102030
|
+
remote_available?: boolean | null;
|
|
102031
|
+
remote_checked_at?: string | null;
|
|
102032
|
+
remote_quantity?: number | null;
|
|
102033
|
+
stock_mode?: string;
|
|
102034
|
+
sync_status?: string;
|
|
102035
|
+
updated_at?: string;
|
|
102036
|
+
updated_by?: string | null;
|
|
102037
|
+
user_id: string;
|
|
102038
|
+
};
|
|
102039
|
+
Update: {
|
|
102040
|
+
buffer_quantity?: number;
|
|
102041
|
+
connection_id?: string;
|
|
102042
|
+
created_at?: string;
|
|
102043
|
+
desired_availability?: boolean;
|
|
102044
|
+
desired_quantity?: number;
|
|
102045
|
+
fixed_quantity?: number | null;
|
|
102046
|
+
floriday_trade_item_id?: string | null;
|
|
102047
|
+
id?: string;
|
|
102048
|
+
last_confirmed_at?: string | null;
|
|
102049
|
+
last_enqueued_at?: string | null;
|
|
102050
|
+
last_published_at?: string | null;
|
|
102051
|
+
last_sync_error?: string | null;
|
|
102052
|
+
manual_quantity?: number | null;
|
|
102053
|
+
maximum_quantity?: number | null;
|
|
102054
|
+
product_id?: string;
|
|
102055
|
+
quantity_control?: string;
|
|
102056
|
+
remote_available?: boolean | null;
|
|
102057
|
+
remote_checked_at?: string | null;
|
|
102058
|
+
remote_quantity?: number | null;
|
|
102059
|
+
stock_mode?: string;
|
|
102060
|
+
sync_status?: string;
|
|
102061
|
+
updated_at?: string;
|
|
102062
|
+
updated_by?: string | null;
|
|
102063
|
+
user_id?: string;
|
|
102064
|
+
};
|
|
102065
|
+
Relationships: [];
|
|
102066
|
+
};
|
|
99558
102067
|
floriday_invoices_cache: {
|
|
99559
102068
|
Row: {
|
|
99560
102069
|
buyer_organization_id: string | null;
|
|
@@ -99843,6 +102352,39 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
99843
102352
|
};
|
|
99844
102353
|
Relationships: [];
|
|
99845
102354
|
};
|
|
102355
|
+
floriday_sales_order_ingest: {
|
|
102356
|
+
Row: {
|
|
102357
|
+
connection_id: string;
|
|
102358
|
+
created_at: string;
|
|
102359
|
+
id: string;
|
|
102360
|
+
impact: import("../integrations/supabase/types").Json;
|
|
102361
|
+
order_status: string | null;
|
|
102362
|
+
order_version: number;
|
|
102363
|
+
processed_at: string;
|
|
102364
|
+
sales_order_id: string;
|
|
102365
|
+
};
|
|
102366
|
+
Insert: {
|
|
102367
|
+
connection_id: string;
|
|
102368
|
+
created_at?: string;
|
|
102369
|
+
id?: string;
|
|
102370
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
102371
|
+
order_status?: string | null;
|
|
102372
|
+
order_version?: number;
|
|
102373
|
+
processed_at?: string;
|
|
102374
|
+
sales_order_id: string;
|
|
102375
|
+
};
|
|
102376
|
+
Update: {
|
|
102377
|
+
connection_id?: string;
|
|
102378
|
+
created_at?: string;
|
|
102379
|
+
id?: string;
|
|
102380
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
102381
|
+
order_status?: string | null;
|
|
102382
|
+
order_version?: number;
|
|
102383
|
+
processed_at?: string;
|
|
102384
|
+
sales_order_id?: string;
|
|
102385
|
+
};
|
|
102386
|
+
Relationships: [];
|
|
102387
|
+
};
|
|
99846
102388
|
floriday_sales_strategies_cache: {
|
|
99847
102389
|
Row: {
|
|
99848
102390
|
connection_id: string;
|
|
@@ -99942,6 +102484,39 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
99942
102484
|
};
|
|
99943
102485
|
Relationships: [];
|
|
99944
102486
|
};
|
|
102487
|
+
floriday_sync_cursors: {
|
|
102488
|
+
Row: {
|
|
102489
|
+
connection_id: string;
|
|
102490
|
+
created_at: string;
|
|
102491
|
+
id: string;
|
|
102492
|
+
last_error: string | null;
|
|
102493
|
+
last_sync_at: string | null;
|
|
102494
|
+
resource_type: string;
|
|
102495
|
+
sequence_number: number;
|
|
102496
|
+
updated_at: string;
|
|
102497
|
+
};
|
|
102498
|
+
Insert: {
|
|
102499
|
+
connection_id: string;
|
|
102500
|
+
created_at?: string;
|
|
102501
|
+
id?: string;
|
|
102502
|
+
last_error?: string | null;
|
|
102503
|
+
last_sync_at?: string | null;
|
|
102504
|
+
resource_type: string;
|
|
102505
|
+
sequence_number?: number;
|
|
102506
|
+
updated_at?: string;
|
|
102507
|
+
};
|
|
102508
|
+
Update: {
|
|
102509
|
+
connection_id?: string;
|
|
102510
|
+
created_at?: string;
|
|
102511
|
+
id?: string;
|
|
102512
|
+
last_error?: string | null;
|
|
102513
|
+
last_sync_at?: string | null;
|
|
102514
|
+
resource_type?: string;
|
|
102515
|
+
sequence_number?: number;
|
|
102516
|
+
updated_at?: string;
|
|
102517
|
+
};
|
|
102518
|
+
Relationships: [];
|
|
102519
|
+
};
|
|
99945
102520
|
floriday_sync_state: {
|
|
99946
102521
|
Row: {
|
|
99947
102522
|
connection_id: string;
|
|
@@ -100632,6 +103207,42 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
100632
103207
|
};
|
|
100633
103208
|
Relationships: [];
|
|
100634
103209
|
};
|
|
103210
|
+
inventory_stock_snapshots: {
|
|
103211
|
+
Row: {
|
|
103212
|
+
connection_id: string;
|
|
103213
|
+
created_at: string;
|
|
103214
|
+
erp_available_quantity: number;
|
|
103215
|
+
floriday_desired_quantity: number;
|
|
103216
|
+
floriday_remote_quantity: number | null;
|
|
103217
|
+
granularity: string;
|
|
103218
|
+
id: string;
|
|
103219
|
+
snapshot_at: string;
|
|
103220
|
+
user_id: string | null;
|
|
103221
|
+
};
|
|
103222
|
+
Insert: {
|
|
103223
|
+
connection_id: string;
|
|
103224
|
+
created_at?: string;
|
|
103225
|
+
erp_available_quantity?: number;
|
|
103226
|
+
floriday_desired_quantity?: number;
|
|
103227
|
+
floriday_remote_quantity?: number | null;
|
|
103228
|
+
granularity?: string;
|
|
103229
|
+
id?: string;
|
|
103230
|
+
snapshot_at?: string;
|
|
103231
|
+
user_id?: string | null;
|
|
103232
|
+
};
|
|
103233
|
+
Update: {
|
|
103234
|
+
connection_id?: string;
|
|
103235
|
+
created_at?: string;
|
|
103236
|
+
erp_available_quantity?: number;
|
|
103237
|
+
floriday_desired_quantity?: number;
|
|
103238
|
+
floriday_remote_quantity?: number | null;
|
|
103239
|
+
granularity?: string;
|
|
103240
|
+
id?: string;
|
|
103241
|
+
snapshot_at?: string;
|
|
103242
|
+
user_id?: string | null;
|
|
103243
|
+
};
|
|
103244
|
+
Relationships: [];
|
|
103245
|
+
};
|
|
100635
103246
|
invoice_items: {
|
|
100636
103247
|
Row: {
|
|
100637
103248
|
created_at: string;
|
|
@@ -106647,6 +109258,39 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
106647
109258
|
};
|
|
106648
109259
|
Relationships: [];
|
|
106649
109260
|
};
|
|
109261
|
+
print_dedupe_events: {
|
|
109262
|
+
Row: {
|
|
109263
|
+
bestaande_job_id: string | null;
|
|
109264
|
+
created_at: string;
|
|
109265
|
+
detail: string | null;
|
|
109266
|
+
documentnaam: string | null;
|
|
109267
|
+
documenttype: string | null;
|
|
109268
|
+
id: string;
|
|
109269
|
+
idempotentie_sleutel: string;
|
|
109270
|
+
reden: string;
|
|
109271
|
+
};
|
|
109272
|
+
Insert: {
|
|
109273
|
+
bestaande_job_id?: string | null;
|
|
109274
|
+
created_at?: string;
|
|
109275
|
+
detail?: string | null;
|
|
109276
|
+
documentnaam?: string | null;
|
|
109277
|
+
documenttype?: string | null;
|
|
109278
|
+
id?: string;
|
|
109279
|
+
idempotentie_sleutel: string;
|
|
109280
|
+
reden: string;
|
|
109281
|
+
};
|
|
109282
|
+
Update: {
|
|
109283
|
+
bestaande_job_id?: string | null;
|
|
109284
|
+
created_at?: string;
|
|
109285
|
+
detail?: string | null;
|
|
109286
|
+
documentnaam?: string | null;
|
|
109287
|
+
documenttype?: string | null;
|
|
109288
|
+
id?: string;
|
|
109289
|
+
idempotentie_sleutel?: string;
|
|
109290
|
+
reden?: string;
|
|
109291
|
+
};
|
|
109292
|
+
Relationships: [];
|
|
109293
|
+
};
|
|
106650
109294
|
print_job_logs: {
|
|
106651
109295
|
Row: {
|
|
106652
109296
|
created_at: string;
|
|
@@ -106697,6 +109341,9 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
106697
109341
|
is_herprint: boolean;
|
|
106698
109342
|
kopieen: number;
|
|
106699
109343
|
layout_id: string | null;
|
|
109344
|
+
lokaal_opgeslagen_op: string | null;
|
|
109345
|
+
lokale_pdf_fout: string | null;
|
|
109346
|
+
lokale_pdf_status: string | null;
|
|
106700
109347
|
opgepakt_op: string | null;
|
|
106701
109348
|
paginas: number;
|
|
106702
109349
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -106705,6 +109352,7 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
106705
109352
|
pogingen: number;
|
|
106706
109353
|
printer_id: string | null;
|
|
106707
109354
|
render_html: string | null;
|
|
109355
|
+
resultaat_pdf_base64: string | null;
|
|
106708
109356
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
106709
109357
|
updated_at: string;
|
|
106710
109358
|
volgende_poging: string | null;
|
|
@@ -106729,6 +109377,9 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
106729
109377
|
is_herprint?: boolean;
|
|
106730
109378
|
kopieen?: number;
|
|
106731
109379
|
layout_id?: string | null;
|
|
109380
|
+
lokaal_opgeslagen_op?: string | null;
|
|
109381
|
+
lokale_pdf_fout?: string | null;
|
|
109382
|
+
lokale_pdf_status?: string | null;
|
|
106732
109383
|
opgepakt_op?: string | null;
|
|
106733
109384
|
paginas?: number;
|
|
106734
109385
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -106737,6 +109388,7 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
106737
109388
|
pogingen?: number;
|
|
106738
109389
|
printer_id?: string | null;
|
|
106739
109390
|
render_html?: string | null;
|
|
109391
|
+
resultaat_pdf_base64?: string | null;
|
|
106740
109392
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
106741
109393
|
updated_at?: string;
|
|
106742
109394
|
volgende_poging?: string | null;
|
|
@@ -106761,6 +109413,9 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
106761
109413
|
is_herprint?: boolean;
|
|
106762
109414
|
kopieen?: number;
|
|
106763
109415
|
layout_id?: string | null;
|
|
109416
|
+
lokaal_opgeslagen_op?: string | null;
|
|
109417
|
+
lokale_pdf_fout?: string | null;
|
|
109418
|
+
lokale_pdf_status?: string | null;
|
|
106764
109419
|
opgepakt_op?: string | null;
|
|
106765
109420
|
paginas?: number;
|
|
106766
109421
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -106769,6 +109424,7 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
106769
109424
|
pogingen?: number;
|
|
106770
109425
|
printer_id?: string | null;
|
|
106771
109426
|
render_html?: string | null;
|
|
109427
|
+
resultaat_pdf_base64?: string | null;
|
|
106772
109428
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
106773
109429
|
updated_at?: string;
|
|
106774
109430
|
volgende_poging?: string | null;
|
|
@@ -106887,6 +109543,39 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
106887
109543
|
};
|
|
106888
109544
|
Relationships: [];
|
|
106889
109545
|
};
|
|
109546
|
+
print_preview_events: {
|
|
109547
|
+
Row: {
|
|
109548
|
+
code: string | null;
|
|
109549
|
+
created_at: string;
|
|
109550
|
+
detail: import("../integrations/supabase/types").Json;
|
|
109551
|
+
id: string;
|
|
109552
|
+
queue_item_id: string | null;
|
|
109553
|
+
reden: string | null;
|
|
109554
|
+
station_slug: string | null;
|
|
109555
|
+
uitkomst: string;
|
|
109556
|
+
};
|
|
109557
|
+
Insert: {
|
|
109558
|
+
code?: string | null;
|
|
109559
|
+
created_at?: string;
|
|
109560
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
109561
|
+
id?: string;
|
|
109562
|
+
queue_item_id?: string | null;
|
|
109563
|
+
reden?: string | null;
|
|
109564
|
+
station_slug?: string | null;
|
|
109565
|
+
uitkomst?: string;
|
|
109566
|
+
};
|
|
109567
|
+
Update: {
|
|
109568
|
+
code?: string | null;
|
|
109569
|
+
created_at?: string;
|
|
109570
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
109571
|
+
id?: string;
|
|
109572
|
+
queue_item_id?: string | null;
|
|
109573
|
+
reden?: string | null;
|
|
109574
|
+
station_slug?: string | null;
|
|
109575
|
+
uitkomst?: string;
|
|
109576
|
+
};
|
|
109577
|
+
Relationships: [];
|
|
109578
|
+
};
|
|
106890
109579
|
print_queue_runners: {
|
|
106891
109580
|
Row: {
|
|
106892
109581
|
actief: boolean;
|
|
@@ -107126,6 +109815,7 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
107126
109815
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
107127
109816
|
online: boolean;
|
|
107128
109817
|
papierformaat: string;
|
|
109818
|
+
pdf_map: string | null;
|
|
107129
109819
|
poort: number | null;
|
|
107130
109820
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
107131
109821
|
systeemnaam: string;
|
|
@@ -107151,6 +109841,7 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
107151
109841
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
107152
109842
|
online?: boolean;
|
|
107153
109843
|
papierformaat?: string;
|
|
109844
|
+
pdf_map?: string | null;
|
|
107154
109845
|
poort?: number | null;
|
|
107155
109846
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
107156
109847
|
systeemnaam?: string;
|
|
@@ -107176,6 +109867,7 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
107176
109867
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
107177
109868
|
online?: boolean;
|
|
107178
109869
|
papierformaat?: string;
|
|
109870
|
+
pdf_map?: string | null;
|
|
107179
109871
|
poort?: number | null;
|
|
107180
109872
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
107181
109873
|
systeemnaam?: string;
|
|
@@ -109745,6 +112437,7 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
109745
112437
|
};
|
|
109746
112438
|
trade_item_stock: {
|
|
109747
112439
|
Row: {
|
|
112440
|
+
change_source: string;
|
|
109748
112441
|
connection_id: string;
|
|
109749
112442
|
created_at: string;
|
|
109750
112443
|
id: string;
|
|
@@ -109758,6 +112451,7 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
109758
112451
|
user_id: string;
|
|
109759
112452
|
};
|
|
109760
112453
|
Insert: {
|
|
112454
|
+
change_source?: string;
|
|
109761
112455
|
connection_id: string;
|
|
109762
112456
|
created_at?: string;
|
|
109763
112457
|
id?: string;
|
|
@@ -109771,6 +112465,7 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
109771
112465
|
user_id: string;
|
|
109772
112466
|
};
|
|
109773
112467
|
Update: {
|
|
112468
|
+
change_source?: string;
|
|
109774
112469
|
connection_id?: string;
|
|
109775
112470
|
created_at?: string;
|
|
109776
112471
|
id?: string;
|
|
@@ -113371,6 +116066,18 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
113371
116066
|
Args: never;
|
|
113372
116067
|
Returns: number;
|
|
113373
116068
|
};
|
|
116069
|
+
calculate_floriday_desired_stock: {
|
|
116070
|
+
Args: {
|
|
116071
|
+
p_connection_id: string;
|
|
116072
|
+
p_product_id: string;
|
|
116073
|
+
};
|
|
116074
|
+
Returns: {
|
|
116075
|
+
desired_availability: boolean;
|
|
116076
|
+
desired_quantity: number;
|
|
116077
|
+
erp_available: number;
|
|
116078
|
+
stock_mode: string;
|
|
116079
|
+
}[];
|
|
116080
|
+
};
|
|
113374
116081
|
calculate_layer_stock: {
|
|
113375
116082
|
Args: {
|
|
113376
116083
|
p_product_id: string;
|
|
@@ -113432,6 +116139,9 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
113432
116139
|
is_herprint: boolean;
|
|
113433
116140
|
kopieen: number;
|
|
113434
116141
|
layout_id: string | null;
|
|
116142
|
+
lokaal_opgeslagen_op: string | null;
|
|
116143
|
+
lokale_pdf_fout: string | null;
|
|
116144
|
+
lokale_pdf_status: string | null;
|
|
113435
116145
|
opgepakt_op: string | null;
|
|
113436
116146
|
paginas: number;
|
|
113437
116147
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -113440,6 +116150,7 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
113440
116150
|
pogingen: number;
|
|
113441
116151
|
printer_id: string | null;
|
|
113442
116152
|
render_html: string | null;
|
|
116153
|
+
resultaat_pdf_base64: string | null;
|
|
113443
116154
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
113444
116155
|
updated_at: string;
|
|
113445
116156
|
volgende_poging: string | null;
|
|
@@ -113461,6 +116172,7 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
113461
116172
|
attempts: number;
|
|
113462
116173
|
connection_id: string;
|
|
113463
116174
|
created_at: string;
|
|
116175
|
+
dead_lettered_at: string | null;
|
|
113464
116176
|
desired_available: boolean | null;
|
|
113465
116177
|
gateway_attempt_id: string | null;
|
|
113466
116178
|
id: string;
|
|
@@ -113469,9 +116181,13 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
113469
116181
|
locked_by: string | null;
|
|
113470
116182
|
next_attempt_at: string;
|
|
113471
116183
|
number_of_pieces: number;
|
|
116184
|
+
product_id: string | null;
|
|
113472
116185
|
sent_at: string | null;
|
|
113473
116186
|
status: string;
|
|
116187
|
+
stock_mode: string | null;
|
|
113474
116188
|
superseded_by: string | null;
|
|
116189
|
+
target_week: number | null;
|
|
116190
|
+
target_year: number | null;
|
|
113475
116191
|
trade_item_id: string;
|
|
113476
116192
|
updated_at: string;
|
|
113477
116193
|
user_id: string;
|
|
@@ -113531,6 +116247,53 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
113531
116247
|
isSetofReturn: true;
|
|
113532
116248
|
};
|
|
113533
116249
|
};
|
|
116250
|
+
claim_pdf_print_jobs: {
|
|
116251
|
+
Args: {
|
|
116252
|
+
_max?: number;
|
|
116253
|
+
};
|
|
116254
|
+
Returns: {
|
|
116255
|
+
agent_id: string | null;
|
|
116256
|
+
bron_job_id: string | null;
|
|
116257
|
+
created_at: string;
|
|
116258
|
+
documentnaam: string;
|
|
116259
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
116260
|
+
extern_job_id: string | null;
|
|
116261
|
+
foutmelding: string | null;
|
|
116262
|
+
gebruiker_id: string | null;
|
|
116263
|
+
gebruiker_naam: string;
|
|
116264
|
+
gebruikte_bron: string | null;
|
|
116265
|
+
gebruikte_layout_id: string | null;
|
|
116266
|
+
gestart_op: string | null;
|
|
116267
|
+
herkomst: string | null;
|
|
116268
|
+
id: string;
|
|
116269
|
+
idempotentie_sleutel: string | null;
|
|
116270
|
+
is_herprint: boolean;
|
|
116271
|
+
kopieen: number;
|
|
116272
|
+
layout_id: string | null;
|
|
116273
|
+
lokaal_opgeslagen_op: string | null;
|
|
116274
|
+
lokale_pdf_fout: string | null;
|
|
116275
|
+
lokale_pdf_status: string | null;
|
|
116276
|
+
opgepakt_op: string | null;
|
|
116277
|
+
paginas: number;
|
|
116278
|
+
payload: import("../integrations/supabase/types").Json;
|
|
116279
|
+
pdf_base64: string | null;
|
|
116280
|
+
pdf_url: string | null;
|
|
116281
|
+
pogingen: number;
|
|
116282
|
+
printer_id: string | null;
|
|
116283
|
+
render_html: string | null;
|
|
116284
|
+
resultaat_pdf_base64: string | null;
|
|
116285
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
116286
|
+
updated_at: string;
|
|
116287
|
+
volgende_poging: string | null;
|
|
116288
|
+
voltooid_op: string | null;
|
|
116289
|
+
}[];
|
|
116290
|
+
SetofOptions: {
|
|
116291
|
+
from: "*";
|
|
116292
|
+
to: "print_jobs";
|
|
116293
|
+
isOneToOne: false;
|
|
116294
|
+
isSetofReturn: true;
|
|
116295
|
+
};
|
|
116296
|
+
};
|
|
113534
116297
|
claim_print_jobs: {
|
|
113535
116298
|
Args: {
|
|
113536
116299
|
_agent_id: string;
|
|
@@ -113555,6 +116318,9 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
113555
116318
|
is_herprint: boolean;
|
|
113556
116319
|
kopieen: number;
|
|
113557
116320
|
layout_id: string | null;
|
|
116321
|
+
lokaal_opgeslagen_op: string | null;
|
|
116322
|
+
lokale_pdf_fout: string | null;
|
|
116323
|
+
lokale_pdf_status: string | null;
|
|
113558
116324
|
opgepakt_op: string | null;
|
|
113559
116325
|
paginas: number;
|
|
113560
116326
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -113563,6 +116329,7 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
113563
116329
|
pogingen: number;
|
|
113564
116330
|
printer_id: string | null;
|
|
113565
116331
|
render_html: string | null;
|
|
116332
|
+
resultaat_pdf_base64: string | null;
|
|
113566
116333
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
113567
116334
|
updated_at: string;
|
|
113568
116335
|
volgende_poging: string | null;
|
|
@@ -113703,6 +116470,8 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
113703
116470
|
order_id: string;
|
|
113704
116471
|
order_source: string;
|
|
113705
116472
|
pick_date: string;
|
|
116473
|
+
printed_at: string;
|
|
116474
|
+
printed_today: boolean;
|
|
113706
116475
|
status: string;
|
|
113707
116476
|
}[];
|
|
113708
116477
|
};
|
|
@@ -113899,6 +116668,24 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
113899
116668
|
};
|
|
113900
116669
|
Returns: string;
|
|
113901
116670
|
};
|
|
116671
|
+
floriday_capture_stock_snapshot: {
|
|
116672
|
+
Args: never;
|
|
116673
|
+
Returns: number;
|
|
116674
|
+
};
|
|
116675
|
+
floriday_cleanup_stock_queue_v2: {
|
|
116676
|
+
Args: never;
|
|
116677
|
+
Returns: undefined;
|
|
116678
|
+
};
|
|
116679
|
+
floriday_compact_stock_snapshots: {
|
|
116680
|
+
Args: never;
|
|
116681
|
+
Returns: undefined;
|
|
116682
|
+
};
|
|
116683
|
+
floriday_default_owner: {
|
|
116684
|
+
Args: {
|
|
116685
|
+
p_connection_id: string;
|
|
116686
|
+
};
|
|
116687
|
+
Returns: string;
|
|
116688
|
+
};
|
|
113902
116689
|
floriday_effective_price: {
|
|
113903
116690
|
Args: {
|
|
113904
116691
|
_buyer_id: string;
|
|
@@ -113916,6 +116703,22 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
113916
116703
|
source_id: string;
|
|
113917
116704
|
}[];
|
|
113918
116705
|
};
|
|
116706
|
+
floriday_fill_publish_horizon: {
|
|
116707
|
+
Args: never;
|
|
116708
|
+
Returns: number;
|
|
116709
|
+
};
|
|
116710
|
+
floriday_publish_horizon_weeks: {
|
|
116711
|
+
Args: never;
|
|
116712
|
+
Returns: number;
|
|
116713
|
+
};
|
|
116714
|
+
floriday_recompute_inventory: {
|
|
116715
|
+
Args: {
|
|
116716
|
+
p_connection_id: string;
|
|
116717
|
+
p_force?: boolean;
|
|
116718
|
+
p_product_id: string;
|
|
116719
|
+
};
|
|
116720
|
+
Returns: undefined;
|
|
116721
|
+
};
|
|
113919
116722
|
format_cart_number: {
|
|
113920
116723
|
Args: {
|
|
113921
116724
|
p_pick_date: string;
|
|
@@ -114411,6 +117214,10 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
114411
117214
|
};
|
|
114412
117215
|
Returns: number;
|
|
114413
117216
|
};
|
|
117217
|
+
logistics_cancel_orphan_tasks: {
|
|
117218
|
+
Args: never;
|
|
117219
|
+
Returns: number;
|
|
117220
|
+
};
|
|
114414
117221
|
logistics_capacity_day_check: {
|
|
114415
117222
|
Args: {
|
|
114416
117223
|
p_from?: string;
|
|
@@ -114431,6 +117238,25 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
114431
117238
|
};
|
|
114432
117239
|
Returns: number;
|
|
114433
117240
|
};
|
|
117241
|
+
logistics_cart_index: {
|
|
117242
|
+
Args: {
|
|
117243
|
+
p_from?: string;
|
|
117244
|
+
p_to?: string;
|
|
117245
|
+
};
|
|
117246
|
+
Returns: {
|
|
117247
|
+
cart_id: string;
|
|
117248
|
+
cart_index: number;
|
|
117249
|
+
cart_label: string;
|
|
117250
|
+
is_shared: boolean;
|
|
117251
|
+
order_number: string;
|
|
117252
|
+
order_source: string;
|
|
117253
|
+
order_uuid: string;
|
|
117254
|
+
pick_date: string;
|
|
117255
|
+
printed_at: string;
|
|
117256
|
+
shifted: boolean;
|
|
117257
|
+
task_status: string;
|
|
117258
|
+
}[];
|
|
117259
|
+
};
|
|
114434
117260
|
logistics_check_order_allowed: {
|
|
114435
117261
|
Args: {
|
|
114436
117262
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -114579,6 +117405,17 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
114579
117405
|
isSetofReturn: false;
|
|
114580
117406
|
};
|
|
114581
117407
|
};
|
|
117408
|
+
logistics_consistency_check: {
|
|
117409
|
+
Args: never;
|
|
117410
|
+
Returns: {
|
|
117411
|
+
agenda_carts: number;
|
|
117412
|
+
control_carts: number;
|
|
117413
|
+
ok: boolean;
|
|
117414
|
+
orphan_tasks: number;
|
|
117415
|
+
pick_date: string;
|
|
117416
|
+
raw_carts: number;
|
|
117417
|
+
}[];
|
|
117418
|
+
};
|
|
114582
117419
|
logistics_delay_customer_email: {
|
|
114583
117420
|
Args: {
|
|
114584
117421
|
p_customer: string;
|
|
@@ -114668,6 +117505,16 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
114668
117505
|
isSetofReturn: false;
|
|
114669
117506
|
};
|
|
114670
117507
|
};
|
|
117508
|
+
logistics_floriday_cart_plan: {
|
|
117509
|
+
Args: {
|
|
117510
|
+
p_order_id: string;
|
|
117511
|
+
};
|
|
117512
|
+
Returns: {
|
|
117513
|
+
carrier_type: string;
|
|
117514
|
+
idx: number;
|
|
117515
|
+
packages: number;
|
|
117516
|
+
}[];
|
|
117517
|
+
};
|
|
114671
117518
|
logistics_floriday_claim_pushes: {
|
|
114672
117519
|
Args: {
|
|
114673
117520
|
_lease_seconds?: number;
|
|
@@ -114772,6 +117619,25 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
114772
117619
|
};
|
|
114773
117620
|
Returns: number;
|
|
114774
117621
|
};
|
|
117622
|
+
logistics_order_overview: {
|
|
117623
|
+
Args: {
|
|
117624
|
+
p_from?: string;
|
|
117625
|
+
p_to?: string;
|
|
117626
|
+
};
|
|
117627
|
+
Returns: {
|
|
117628
|
+
cart_count: number;
|
|
117629
|
+
customer_name: string;
|
|
117630
|
+
delivery_date: string;
|
|
117631
|
+
order_number: string;
|
|
117632
|
+
order_source: string;
|
|
117633
|
+
order_uuid: string;
|
|
117634
|
+
pick_date: string;
|
|
117635
|
+
plant_count: number;
|
|
117636
|
+
printed_at: string;
|
|
117637
|
+
shifted: boolean;
|
|
117638
|
+
status: string;
|
|
117639
|
+
}[];
|
|
117640
|
+
};
|
|
114775
117641
|
logistics_order_pick_day: {
|
|
114776
117642
|
Args: {
|
|
114777
117643
|
p_order_ref: string;
|
|
@@ -114784,6 +117650,22 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
114784
117650
|
};
|
|
114785
117651
|
Returns: string;
|
|
114786
117652
|
};
|
|
117653
|
+
logistics_pick_agenda: {
|
|
117654
|
+
Args: {
|
|
117655
|
+
p_from?: string;
|
|
117656
|
+
p_to?: string;
|
|
117657
|
+
};
|
|
117658
|
+
Returns: {
|
|
117659
|
+
cart_count: number;
|
|
117660
|
+
in_preparation: number;
|
|
117661
|
+
order_count: number;
|
|
117662
|
+
orders: import("../integrations/supabase/types").Json;
|
|
117663
|
+
pick_date: string;
|
|
117664
|
+
plant_count: number;
|
|
117665
|
+
ready: number;
|
|
117666
|
+
shifted_count: number;
|
|
117667
|
+
}[];
|
|
117668
|
+
};
|
|
114787
117669
|
logistics_pick_email_purpose: {
|
|
114788
117670
|
Args: never;
|
|
114789
117671
|
Returns: string;
|
|
@@ -114838,6 +117720,13 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
114838
117720
|
};
|
|
114839
117721
|
Returns: undefined;
|
|
114840
117722
|
};
|
|
117723
|
+
logistics_plan_floriday_order: {
|
|
117724
|
+
Args: {
|
|
117725
|
+
p_buffer_id?: string;
|
|
117726
|
+
p_order_id: string;
|
|
117727
|
+
};
|
|
117728
|
+
Returns: number;
|
|
117729
|
+
};
|
|
114841
117730
|
logistics_plan_impact_orders: {
|
|
114842
117731
|
Args: {
|
|
114843
117732
|
p_order_id: string;
|
|
@@ -114943,6 +117832,15 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
114943
117832
|
};
|
|
114944
117833
|
Returns: import("../integrations/supabase/types").Json;
|
|
114945
117834
|
};
|
|
117835
|
+
logistics_resolve_pick_document: {
|
|
117836
|
+
Args: {
|
|
117837
|
+
_is_herprint: boolean;
|
|
117838
|
+
_queue_item_id: string;
|
|
117839
|
+
_session_id: string;
|
|
117840
|
+
_voorbeeld: boolean;
|
|
117841
|
+
};
|
|
117842
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
117843
|
+
};
|
|
114946
117844
|
logistics_resolve_settings: {
|
|
114947
117845
|
Args: {
|
|
114948
117846
|
p_config_id: string;
|
|
@@ -115383,6 +118281,7 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
115383
118281
|
};
|
|
115384
118282
|
pick_enqueue_print_job: {
|
|
115385
118283
|
Args: {
|
|
118284
|
+
_is_herprint?: boolean;
|
|
115386
118285
|
_printer_id?: string;
|
|
115387
118286
|
_queue_item_id: string;
|
|
115388
118287
|
_session_id?: string;
|
|
@@ -115396,6 +118295,13 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
115396
118295
|
};
|
|
115397
118296
|
Returns: import("../integrations/supabase/types").Json;
|
|
115398
118297
|
};
|
|
118298
|
+
pick_preview_job: {
|
|
118299
|
+
Args: {
|
|
118300
|
+
_queue_item_id: string;
|
|
118301
|
+
_station_slug: string;
|
|
118302
|
+
};
|
|
118303
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
118304
|
+
};
|
|
115399
118305
|
pick_print_job_status: {
|
|
115400
118306
|
Args: {
|
|
115401
118307
|
_job_id: string;
|
|
@@ -115573,6 +118479,24 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
115573
118479
|
};
|
|
115574
118480
|
Returns: undefined;
|
|
115575
118481
|
};
|
|
118482
|
+
print_preview_toestaan: {
|
|
118483
|
+
Args: {
|
|
118484
|
+
_max?: number;
|
|
118485
|
+
_queue_item_id: string;
|
|
118486
|
+
_station_slug: string;
|
|
118487
|
+
_venster_sec?: number;
|
|
118488
|
+
};
|
|
118489
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
118490
|
+
};
|
|
118491
|
+
print_preview_weiger: {
|
|
118492
|
+
Args: {
|
|
118493
|
+
_code: string;
|
|
118494
|
+
_queue_item_id: string;
|
|
118495
|
+
_reden: string;
|
|
118496
|
+
_station_slug: string;
|
|
118497
|
+
};
|
|
118498
|
+
Returns: undefined;
|
|
118499
|
+
};
|
|
115576
118500
|
process_logistics_event: {
|
|
115577
118501
|
Args: {
|
|
115578
118502
|
p_event_id: string;
|
|
@@ -115727,6 +118651,12 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
115727
118651
|
};
|
|
115728
118652
|
Returns: string;
|
|
115729
118653
|
};
|
|
118654
|
+
resolve_print_job_printer_id: {
|
|
118655
|
+
Args: {
|
|
118656
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
118657
|
+
};
|
|
118658
|
+
Returns: string;
|
|
118659
|
+
};
|
|
115730
118660
|
resolve_product_id_for_item: {
|
|
115731
118661
|
Args: {
|
|
115732
118662
|
p_product_name: string;
|
|
@@ -116318,7 +119248,7 @@ export declare const setSalesOrderControlled: import("@tanstack/start-client-cor
|
|
|
116318
119248
|
};
|
|
116319
119249
|
CompositeTypes: { [_ in never]: never; };
|
|
116320
119250
|
}, {
|
|
116321
|
-
PostgrestVersion: "14.
|
|
119251
|
+
PostgrestVersion: "14.5";
|
|
116322
119252
|
}>;
|
|
116323
119253
|
userId: string;
|
|
116324
119254
|
claims: import("@supabase/auth-js").User;
|