@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
|
@@ -2855,6 +2855,84 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
2855
2855
|
};
|
|
2856
2856
|
Relationships: [];
|
|
2857
2857
|
};
|
|
2858
|
+
delivery_notes: {
|
|
2859
|
+
Row: {
|
|
2860
|
+
byte_size: number | null;
|
|
2861
|
+
connection_id: string | null;
|
|
2862
|
+
content_type: string;
|
|
2863
|
+
created_at: string;
|
|
2864
|
+
error_message: string | null;
|
|
2865
|
+
fetched_at: string | null;
|
|
2866
|
+
fulfillment_order_id: string | null;
|
|
2867
|
+
http_status: number | null;
|
|
2868
|
+
id: string;
|
|
2869
|
+
label_code: string | null;
|
|
2870
|
+
letter: string | null;
|
|
2871
|
+
load_carrier_index: number | null;
|
|
2872
|
+
load_carrier_type: string | null;
|
|
2873
|
+
order_id: string | null;
|
|
2874
|
+
order_number: string | null;
|
|
2875
|
+
packages: number | null;
|
|
2876
|
+
source: string;
|
|
2877
|
+
status: string;
|
|
2878
|
+
storage_bucket: string;
|
|
2879
|
+
storage_path: string | null;
|
|
2880
|
+
updated_at: string;
|
|
2881
|
+
};
|
|
2882
|
+
Insert: {
|
|
2883
|
+
byte_size?: number | null;
|
|
2884
|
+
connection_id?: string | null;
|
|
2885
|
+
content_type?: string;
|
|
2886
|
+
created_at?: string;
|
|
2887
|
+
error_message?: string | null;
|
|
2888
|
+
fetched_at?: string | null;
|
|
2889
|
+
fulfillment_order_id?: string | null;
|
|
2890
|
+
http_status?: number | null;
|
|
2891
|
+
id?: string;
|
|
2892
|
+
label_code?: string | null;
|
|
2893
|
+
letter?: string | null;
|
|
2894
|
+
load_carrier_index?: number | null;
|
|
2895
|
+
load_carrier_type?: string | null;
|
|
2896
|
+
order_id?: string | null;
|
|
2897
|
+
order_number?: string | null;
|
|
2898
|
+
packages?: number | null;
|
|
2899
|
+
source?: string;
|
|
2900
|
+
status?: string;
|
|
2901
|
+
storage_bucket?: string;
|
|
2902
|
+
storage_path?: string | null;
|
|
2903
|
+
updated_at?: string;
|
|
2904
|
+
};
|
|
2905
|
+
Update: {
|
|
2906
|
+
byte_size?: number | null;
|
|
2907
|
+
connection_id?: string | null;
|
|
2908
|
+
content_type?: string;
|
|
2909
|
+
created_at?: string;
|
|
2910
|
+
error_message?: string | null;
|
|
2911
|
+
fetched_at?: string | null;
|
|
2912
|
+
fulfillment_order_id?: string | null;
|
|
2913
|
+
http_status?: number | null;
|
|
2914
|
+
id?: string;
|
|
2915
|
+
label_code?: string | null;
|
|
2916
|
+
letter?: string | null;
|
|
2917
|
+
load_carrier_index?: number | null;
|
|
2918
|
+
load_carrier_type?: string | null;
|
|
2919
|
+
order_id?: string | null;
|
|
2920
|
+
order_number?: string | null;
|
|
2921
|
+
packages?: number | null;
|
|
2922
|
+
source?: string;
|
|
2923
|
+
status?: string;
|
|
2924
|
+
storage_bucket?: string;
|
|
2925
|
+
storage_path?: string | null;
|
|
2926
|
+
updated_at?: string;
|
|
2927
|
+
};
|
|
2928
|
+
Relationships: [{
|
|
2929
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
2930
|
+
columns: ["order_id"];
|
|
2931
|
+
isOneToOne: false;
|
|
2932
|
+
referencedRelation: "orders";
|
|
2933
|
+
referencedColumns: ["id"];
|
|
2934
|
+
}];
|
|
2935
|
+
};
|
|
2858
2936
|
document_bronregels: {
|
|
2859
2937
|
Row: {
|
|
2860
2938
|
bron: string;
|
|
@@ -5908,10 +5986,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
5908
5986
|
};
|
|
5909
5987
|
floriday_connections: {
|
|
5910
5988
|
Row: {
|
|
5911
|
-
access_token: string | null;
|
|
5912
5989
|
api_key: string;
|
|
5913
|
-
client_id: string;
|
|
5914
|
-
client_secret: string;
|
|
5915
5990
|
created_at: string;
|
|
5916
5991
|
customers_endpoint: string | null;
|
|
5917
5992
|
environment: string;
|
|
@@ -5926,10 +6001,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
5926
6001
|
updated_at: string;
|
|
5927
6002
|
};
|
|
5928
6003
|
Insert: {
|
|
5929
|
-
access_token?: string | null;
|
|
5930
6004
|
api_key: string;
|
|
5931
|
-
client_id: string;
|
|
5932
|
-
client_secret: string;
|
|
5933
6005
|
created_at?: string;
|
|
5934
6006
|
customers_endpoint?: string | null;
|
|
5935
6007
|
environment: string;
|
|
@@ -5944,10 +6016,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
5944
6016
|
updated_at?: string;
|
|
5945
6017
|
};
|
|
5946
6018
|
Update: {
|
|
5947
|
-
access_token?: string | null;
|
|
5948
6019
|
api_key?: string;
|
|
5949
|
-
client_id?: string;
|
|
5950
|
-
client_secret?: string;
|
|
5951
6020
|
created_at?: string;
|
|
5952
6021
|
customers_endpoint?: string | null;
|
|
5953
6022
|
environment?: string;
|
|
@@ -6031,6 +6100,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
6031
6100
|
attempts: number;
|
|
6032
6101
|
connection_id: string;
|
|
6033
6102
|
created_at: string;
|
|
6103
|
+
dead_lettered_at: string | null;
|
|
6034
6104
|
desired_available: boolean | null;
|
|
6035
6105
|
gateway_attempt_id: string | null;
|
|
6036
6106
|
id: string;
|
|
@@ -6039,9 +6109,13 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
6039
6109
|
locked_by: string | null;
|
|
6040
6110
|
next_attempt_at: string;
|
|
6041
6111
|
number_of_pieces: number;
|
|
6112
|
+
product_id: string | null;
|
|
6042
6113
|
sent_at: string | null;
|
|
6043
6114
|
status: string;
|
|
6115
|
+
stock_mode: string | null;
|
|
6044
6116
|
superseded_by: string | null;
|
|
6117
|
+
target_week: number | null;
|
|
6118
|
+
target_year: number | null;
|
|
6045
6119
|
trade_item_id: string;
|
|
6046
6120
|
updated_at: string;
|
|
6047
6121
|
user_id: string;
|
|
@@ -6050,6 +6124,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
6050
6124
|
attempts?: number;
|
|
6051
6125
|
connection_id: string;
|
|
6052
6126
|
created_at?: string;
|
|
6127
|
+
dead_lettered_at?: string | null;
|
|
6053
6128
|
desired_available?: boolean | null;
|
|
6054
6129
|
gateway_attempt_id?: string | null;
|
|
6055
6130
|
id?: string;
|
|
@@ -6058,9 +6133,13 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
6058
6133
|
locked_by?: string | null;
|
|
6059
6134
|
next_attempt_at?: string;
|
|
6060
6135
|
number_of_pieces?: number;
|
|
6136
|
+
product_id?: string | null;
|
|
6061
6137
|
sent_at?: string | null;
|
|
6062
6138
|
status?: string;
|
|
6139
|
+
stock_mode?: string | null;
|
|
6063
6140
|
superseded_by?: string | null;
|
|
6141
|
+
target_week?: number | null;
|
|
6142
|
+
target_year?: number | null;
|
|
6064
6143
|
trade_item_id: string;
|
|
6065
6144
|
updated_at?: string;
|
|
6066
6145
|
user_id: string;
|
|
@@ -6069,6 +6148,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
6069
6148
|
attempts?: number;
|
|
6070
6149
|
connection_id?: string;
|
|
6071
6150
|
created_at?: string;
|
|
6151
|
+
dead_lettered_at?: string | null;
|
|
6072
6152
|
desired_available?: boolean | null;
|
|
6073
6153
|
gateway_attempt_id?: string | null;
|
|
6074
6154
|
id?: string;
|
|
@@ -6077,9 +6157,13 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
6077
6157
|
locked_by?: string | null;
|
|
6078
6158
|
next_attempt_at?: string;
|
|
6079
6159
|
number_of_pieces?: number;
|
|
6160
|
+
product_id?: string | null;
|
|
6080
6161
|
sent_at?: string | null;
|
|
6081
6162
|
status?: string;
|
|
6163
|
+
stock_mode?: string | null;
|
|
6082
6164
|
superseded_by?: string | null;
|
|
6165
|
+
target_week?: number | null;
|
|
6166
|
+
target_year?: number | null;
|
|
6083
6167
|
trade_item_id?: string;
|
|
6084
6168
|
updated_at?: string;
|
|
6085
6169
|
user_id?: string;
|
|
@@ -6488,6 +6572,87 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
6488
6572
|
referencedColumns: ["id"];
|
|
6489
6573
|
}];
|
|
6490
6574
|
};
|
|
6575
|
+
floriday_inventory_settings: {
|
|
6576
|
+
Row: {
|
|
6577
|
+
buffer_quantity: number;
|
|
6578
|
+
connection_id: string;
|
|
6579
|
+
created_at: string;
|
|
6580
|
+
desired_availability: boolean;
|
|
6581
|
+
desired_quantity: number;
|
|
6582
|
+
fixed_quantity: number | null;
|
|
6583
|
+
floriday_trade_item_id: string | null;
|
|
6584
|
+
id: string;
|
|
6585
|
+
last_confirmed_at: string | null;
|
|
6586
|
+
last_enqueued_at: string | null;
|
|
6587
|
+
last_published_at: string | null;
|
|
6588
|
+
last_sync_error: string | null;
|
|
6589
|
+
manual_quantity: number | null;
|
|
6590
|
+
maximum_quantity: number | null;
|
|
6591
|
+
product_id: string;
|
|
6592
|
+
quantity_control: string;
|
|
6593
|
+
remote_available: boolean | null;
|
|
6594
|
+
remote_checked_at: string | null;
|
|
6595
|
+
remote_quantity: number | null;
|
|
6596
|
+
stock_mode: string;
|
|
6597
|
+
sync_status: string;
|
|
6598
|
+
updated_at: string;
|
|
6599
|
+
updated_by: string | null;
|
|
6600
|
+
user_id: string;
|
|
6601
|
+
};
|
|
6602
|
+
Insert: {
|
|
6603
|
+
buffer_quantity?: number;
|
|
6604
|
+
connection_id: string;
|
|
6605
|
+
created_at?: string;
|
|
6606
|
+
desired_availability?: boolean;
|
|
6607
|
+
desired_quantity?: number;
|
|
6608
|
+
fixed_quantity?: number | null;
|
|
6609
|
+
floriday_trade_item_id?: string | null;
|
|
6610
|
+
id?: string;
|
|
6611
|
+
last_confirmed_at?: string | null;
|
|
6612
|
+
last_enqueued_at?: string | null;
|
|
6613
|
+
last_published_at?: string | null;
|
|
6614
|
+
last_sync_error?: string | null;
|
|
6615
|
+
manual_quantity?: number | null;
|
|
6616
|
+
maximum_quantity?: number | null;
|
|
6617
|
+
product_id: string;
|
|
6618
|
+
quantity_control?: string;
|
|
6619
|
+
remote_available?: boolean | null;
|
|
6620
|
+
remote_checked_at?: string | null;
|
|
6621
|
+
remote_quantity?: number | null;
|
|
6622
|
+
stock_mode?: string;
|
|
6623
|
+
sync_status?: string;
|
|
6624
|
+
updated_at?: string;
|
|
6625
|
+
updated_by?: string | null;
|
|
6626
|
+
user_id: string;
|
|
6627
|
+
};
|
|
6628
|
+
Update: {
|
|
6629
|
+
buffer_quantity?: number;
|
|
6630
|
+
connection_id?: string;
|
|
6631
|
+
created_at?: string;
|
|
6632
|
+
desired_availability?: boolean;
|
|
6633
|
+
desired_quantity?: number;
|
|
6634
|
+
fixed_quantity?: number | null;
|
|
6635
|
+
floriday_trade_item_id?: string | null;
|
|
6636
|
+
id?: string;
|
|
6637
|
+
last_confirmed_at?: string | null;
|
|
6638
|
+
last_enqueued_at?: string | null;
|
|
6639
|
+
last_published_at?: string | null;
|
|
6640
|
+
last_sync_error?: string | null;
|
|
6641
|
+
manual_quantity?: number | null;
|
|
6642
|
+
maximum_quantity?: number | null;
|
|
6643
|
+
product_id?: string;
|
|
6644
|
+
quantity_control?: string;
|
|
6645
|
+
remote_available?: boolean | null;
|
|
6646
|
+
remote_checked_at?: string | null;
|
|
6647
|
+
remote_quantity?: number | null;
|
|
6648
|
+
stock_mode?: string;
|
|
6649
|
+
sync_status?: string;
|
|
6650
|
+
updated_at?: string;
|
|
6651
|
+
updated_by?: string | null;
|
|
6652
|
+
user_id?: string;
|
|
6653
|
+
};
|
|
6654
|
+
Relationships: [];
|
|
6655
|
+
};
|
|
6491
6656
|
floriday_invoices_cache: {
|
|
6492
6657
|
Row: {
|
|
6493
6658
|
buyer_organization_id: string | null;
|
|
@@ -6776,6 +6941,39 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
6776
6941
|
};
|
|
6777
6942
|
Relationships: [];
|
|
6778
6943
|
};
|
|
6944
|
+
floriday_sales_order_ingest: {
|
|
6945
|
+
Row: {
|
|
6946
|
+
connection_id: string;
|
|
6947
|
+
created_at: string;
|
|
6948
|
+
id: string;
|
|
6949
|
+
impact: import("../integrations/supabase/types").Json;
|
|
6950
|
+
order_status: string | null;
|
|
6951
|
+
order_version: number;
|
|
6952
|
+
processed_at: string;
|
|
6953
|
+
sales_order_id: string;
|
|
6954
|
+
};
|
|
6955
|
+
Insert: {
|
|
6956
|
+
connection_id: string;
|
|
6957
|
+
created_at?: string;
|
|
6958
|
+
id?: string;
|
|
6959
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
6960
|
+
order_status?: string | null;
|
|
6961
|
+
order_version?: number;
|
|
6962
|
+
processed_at?: string;
|
|
6963
|
+
sales_order_id: string;
|
|
6964
|
+
};
|
|
6965
|
+
Update: {
|
|
6966
|
+
connection_id?: string;
|
|
6967
|
+
created_at?: string;
|
|
6968
|
+
id?: string;
|
|
6969
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
6970
|
+
order_status?: string | null;
|
|
6971
|
+
order_version?: number;
|
|
6972
|
+
processed_at?: string;
|
|
6973
|
+
sales_order_id?: string;
|
|
6974
|
+
};
|
|
6975
|
+
Relationships: [];
|
|
6976
|
+
};
|
|
6779
6977
|
floriday_sales_strategies_cache: {
|
|
6780
6978
|
Row: {
|
|
6781
6979
|
connection_id: string;
|
|
@@ -6875,6 +7073,39 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
6875
7073
|
};
|
|
6876
7074
|
Relationships: [];
|
|
6877
7075
|
};
|
|
7076
|
+
floriday_sync_cursors: {
|
|
7077
|
+
Row: {
|
|
7078
|
+
connection_id: string;
|
|
7079
|
+
created_at: string;
|
|
7080
|
+
id: string;
|
|
7081
|
+
last_error: string | null;
|
|
7082
|
+
last_sync_at: string | null;
|
|
7083
|
+
resource_type: string;
|
|
7084
|
+
sequence_number: number;
|
|
7085
|
+
updated_at: string;
|
|
7086
|
+
};
|
|
7087
|
+
Insert: {
|
|
7088
|
+
connection_id: string;
|
|
7089
|
+
created_at?: string;
|
|
7090
|
+
id?: string;
|
|
7091
|
+
last_error?: string | null;
|
|
7092
|
+
last_sync_at?: string | null;
|
|
7093
|
+
resource_type: string;
|
|
7094
|
+
sequence_number?: number;
|
|
7095
|
+
updated_at?: string;
|
|
7096
|
+
};
|
|
7097
|
+
Update: {
|
|
7098
|
+
connection_id?: string;
|
|
7099
|
+
created_at?: string;
|
|
7100
|
+
id?: string;
|
|
7101
|
+
last_error?: string | null;
|
|
7102
|
+
last_sync_at?: string | null;
|
|
7103
|
+
resource_type?: string;
|
|
7104
|
+
sequence_number?: number;
|
|
7105
|
+
updated_at?: string;
|
|
7106
|
+
};
|
|
7107
|
+
Relationships: [];
|
|
7108
|
+
};
|
|
6878
7109
|
floriday_sync_state: {
|
|
6879
7110
|
Row: {
|
|
6880
7111
|
connection_id: string;
|
|
@@ -7565,6 +7796,42 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
7565
7796
|
};
|
|
7566
7797
|
Relationships: [];
|
|
7567
7798
|
};
|
|
7799
|
+
inventory_stock_snapshots: {
|
|
7800
|
+
Row: {
|
|
7801
|
+
connection_id: string;
|
|
7802
|
+
created_at: string;
|
|
7803
|
+
erp_available_quantity: number;
|
|
7804
|
+
floriday_desired_quantity: number;
|
|
7805
|
+
floriday_remote_quantity: number | null;
|
|
7806
|
+
granularity: string;
|
|
7807
|
+
id: string;
|
|
7808
|
+
snapshot_at: string;
|
|
7809
|
+
user_id: string | null;
|
|
7810
|
+
};
|
|
7811
|
+
Insert: {
|
|
7812
|
+
connection_id: string;
|
|
7813
|
+
created_at?: string;
|
|
7814
|
+
erp_available_quantity?: number;
|
|
7815
|
+
floriday_desired_quantity?: number;
|
|
7816
|
+
floriday_remote_quantity?: number | null;
|
|
7817
|
+
granularity?: string;
|
|
7818
|
+
id?: string;
|
|
7819
|
+
snapshot_at?: string;
|
|
7820
|
+
user_id?: string | null;
|
|
7821
|
+
};
|
|
7822
|
+
Update: {
|
|
7823
|
+
connection_id?: string;
|
|
7824
|
+
created_at?: string;
|
|
7825
|
+
erp_available_quantity?: number;
|
|
7826
|
+
floriday_desired_quantity?: number;
|
|
7827
|
+
floriday_remote_quantity?: number | null;
|
|
7828
|
+
granularity?: string;
|
|
7829
|
+
id?: string;
|
|
7830
|
+
snapshot_at?: string;
|
|
7831
|
+
user_id?: string | null;
|
|
7832
|
+
};
|
|
7833
|
+
Relationships: [];
|
|
7834
|
+
};
|
|
7568
7835
|
invoice_items: {
|
|
7569
7836
|
Row: {
|
|
7570
7837
|
created_at: string;
|
|
@@ -13580,6 +13847,39 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
13580
13847
|
};
|
|
13581
13848
|
Relationships: [];
|
|
13582
13849
|
};
|
|
13850
|
+
print_dedupe_events: {
|
|
13851
|
+
Row: {
|
|
13852
|
+
bestaande_job_id: string | null;
|
|
13853
|
+
created_at: string;
|
|
13854
|
+
detail: string | null;
|
|
13855
|
+
documentnaam: string | null;
|
|
13856
|
+
documenttype: string | null;
|
|
13857
|
+
id: string;
|
|
13858
|
+
idempotentie_sleutel: string;
|
|
13859
|
+
reden: string;
|
|
13860
|
+
};
|
|
13861
|
+
Insert: {
|
|
13862
|
+
bestaande_job_id?: string | null;
|
|
13863
|
+
created_at?: string;
|
|
13864
|
+
detail?: string | null;
|
|
13865
|
+
documentnaam?: string | null;
|
|
13866
|
+
documenttype?: string | null;
|
|
13867
|
+
id?: string;
|
|
13868
|
+
idempotentie_sleutel: string;
|
|
13869
|
+
reden: string;
|
|
13870
|
+
};
|
|
13871
|
+
Update: {
|
|
13872
|
+
bestaande_job_id?: string | null;
|
|
13873
|
+
created_at?: string;
|
|
13874
|
+
detail?: string | null;
|
|
13875
|
+
documentnaam?: string | null;
|
|
13876
|
+
documenttype?: string | null;
|
|
13877
|
+
id?: string;
|
|
13878
|
+
idempotentie_sleutel?: string;
|
|
13879
|
+
reden?: string;
|
|
13880
|
+
};
|
|
13881
|
+
Relationships: [];
|
|
13882
|
+
};
|
|
13583
13883
|
print_job_logs: {
|
|
13584
13884
|
Row: {
|
|
13585
13885
|
created_at: string;
|
|
@@ -13630,6 +13930,9 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
13630
13930
|
is_herprint: boolean;
|
|
13631
13931
|
kopieen: number;
|
|
13632
13932
|
layout_id: string | null;
|
|
13933
|
+
lokaal_opgeslagen_op: string | null;
|
|
13934
|
+
lokale_pdf_fout: string | null;
|
|
13935
|
+
lokale_pdf_status: string | null;
|
|
13633
13936
|
opgepakt_op: string | null;
|
|
13634
13937
|
paginas: number;
|
|
13635
13938
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -13638,6 +13941,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
13638
13941
|
pogingen: number;
|
|
13639
13942
|
printer_id: string | null;
|
|
13640
13943
|
render_html: string | null;
|
|
13944
|
+
resultaat_pdf_base64: string | null;
|
|
13641
13945
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13642
13946
|
updated_at: string;
|
|
13643
13947
|
volgende_poging: string | null;
|
|
@@ -13662,6 +13966,9 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
13662
13966
|
is_herprint?: boolean;
|
|
13663
13967
|
kopieen?: number;
|
|
13664
13968
|
layout_id?: string | null;
|
|
13969
|
+
lokaal_opgeslagen_op?: string | null;
|
|
13970
|
+
lokale_pdf_fout?: string | null;
|
|
13971
|
+
lokale_pdf_status?: string | null;
|
|
13665
13972
|
opgepakt_op?: string | null;
|
|
13666
13973
|
paginas?: number;
|
|
13667
13974
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -13670,6 +13977,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
13670
13977
|
pogingen?: number;
|
|
13671
13978
|
printer_id?: string | null;
|
|
13672
13979
|
render_html?: string | null;
|
|
13980
|
+
resultaat_pdf_base64?: string | null;
|
|
13673
13981
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13674
13982
|
updated_at?: string;
|
|
13675
13983
|
volgende_poging?: string | null;
|
|
@@ -13694,6 +14002,9 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
13694
14002
|
is_herprint?: boolean;
|
|
13695
14003
|
kopieen?: number;
|
|
13696
14004
|
layout_id?: string | null;
|
|
14005
|
+
lokaal_opgeslagen_op?: string | null;
|
|
14006
|
+
lokale_pdf_fout?: string | null;
|
|
14007
|
+
lokale_pdf_status?: string | null;
|
|
13697
14008
|
opgepakt_op?: string | null;
|
|
13698
14009
|
paginas?: number;
|
|
13699
14010
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -13702,6 +14013,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
13702
14013
|
pogingen?: number;
|
|
13703
14014
|
printer_id?: string | null;
|
|
13704
14015
|
render_html?: string | null;
|
|
14016
|
+
resultaat_pdf_base64?: string | null;
|
|
13705
14017
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
13706
14018
|
updated_at?: string;
|
|
13707
14019
|
volgende_poging?: string | null;
|
|
@@ -13820,6 +14132,39 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
13820
14132
|
};
|
|
13821
14133
|
Relationships: [];
|
|
13822
14134
|
};
|
|
14135
|
+
print_preview_events: {
|
|
14136
|
+
Row: {
|
|
14137
|
+
code: string | null;
|
|
14138
|
+
created_at: string;
|
|
14139
|
+
detail: import("../integrations/supabase/types").Json;
|
|
14140
|
+
id: string;
|
|
14141
|
+
queue_item_id: string | null;
|
|
14142
|
+
reden: string | null;
|
|
14143
|
+
station_slug: string | null;
|
|
14144
|
+
uitkomst: string;
|
|
14145
|
+
};
|
|
14146
|
+
Insert: {
|
|
14147
|
+
code?: string | null;
|
|
14148
|
+
created_at?: string;
|
|
14149
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
14150
|
+
id?: string;
|
|
14151
|
+
queue_item_id?: string | null;
|
|
14152
|
+
reden?: string | null;
|
|
14153
|
+
station_slug?: string | null;
|
|
14154
|
+
uitkomst?: string;
|
|
14155
|
+
};
|
|
14156
|
+
Update: {
|
|
14157
|
+
code?: string | null;
|
|
14158
|
+
created_at?: string;
|
|
14159
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
14160
|
+
id?: string;
|
|
14161
|
+
queue_item_id?: string | null;
|
|
14162
|
+
reden?: string | null;
|
|
14163
|
+
station_slug?: string | null;
|
|
14164
|
+
uitkomst?: string;
|
|
14165
|
+
};
|
|
14166
|
+
Relationships: [];
|
|
14167
|
+
};
|
|
13823
14168
|
print_queue_runners: {
|
|
13824
14169
|
Row: {
|
|
13825
14170
|
actief: boolean;
|
|
@@ -14059,6 +14404,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
14059
14404
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
14060
14405
|
online: boolean;
|
|
14061
14406
|
papierformaat: string;
|
|
14407
|
+
pdf_map: string | null;
|
|
14062
14408
|
poort: number | null;
|
|
14063
14409
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14064
14410
|
systeemnaam: string;
|
|
@@ -14084,6 +14430,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
14084
14430
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
14085
14431
|
online?: boolean;
|
|
14086
14432
|
papierformaat?: string;
|
|
14433
|
+
pdf_map?: string | null;
|
|
14087
14434
|
poort?: number | null;
|
|
14088
14435
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14089
14436
|
systeemnaam?: string;
|
|
@@ -14109,6 +14456,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
14109
14456
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
14110
14457
|
online?: boolean;
|
|
14111
14458
|
papierformaat?: string;
|
|
14459
|
+
pdf_map?: string | null;
|
|
14112
14460
|
poort?: number | null;
|
|
14113
14461
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
14114
14462
|
systeemnaam?: string;
|
|
@@ -16678,6 +17026,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
16678
17026
|
};
|
|
16679
17027
|
trade_item_stock: {
|
|
16680
17028
|
Row: {
|
|
17029
|
+
change_source: string;
|
|
16681
17030
|
connection_id: string;
|
|
16682
17031
|
created_at: string;
|
|
16683
17032
|
id: string;
|
|
@@ -16691,6 +17040,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
16691
17040
|
user_id: string;
|
|
16692
17041
|
};
|
|
16693
17042
|
Insert: {
|
|
17043
|
+
change_source?: string;
|
|
16694
17044
|
connection_id: string;
|
|
16695
17045
|
created_at?: string;
|
|
16696
17046
|
id?: string;
|
|
@@ -16704,6 +17054,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
16704
17054
|
user_id: string;
|
|
16705
17055
|
};
|
|
16706
17056
|
Update: {
|
|
17057
|
+
change_source?: string;
|
|
16707
17058
|
connection_id?: string;
|
|
16708
17059
|
created_at?: string;
|
|
16709
17060
|
id?: string;
|
|
@@ -20304,6 +20655,18 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
20304
20655
|
Args: never;
|
|
20305
20656
|
Returns: number;
|
|
20306
20657
|
};
|
|
20658
|
+
calculate_floriday_desired_stock: {
|
|
20659
|
+
Args: {
|
|
20660
|
+
p_connection_id: string;
|
|
20661
|
+
p_product_id: string;
|
|
20662
|
+
};
|
|
20663
|
+
Returns: {
|
|
20664
|
+
desired_availability: boolean;
|
|
20665
|
+
desired_quantity: number;
|
|
20666
|
+
erp_available: number;
|
|
20667
|
+
stock_mode: string;
|
|
20668
|
+
}[];
|
|
20669
|
+
};
|
|
20307
20670
|
calculate_layer_stock: {
|
|
20308
20671
|
Args: {
|
|
20309
20672
|
p_product_id: string;
|
|
@@ -20365,6 +20728,9 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
20365
20728
|
is_herprint: boolean;
|
|
20366
20729
|
kopieen: number;
|
|
20367
20730
|
layout_id: string | null;
|
|
20731
|
+
lokaal_opgeslagen_op: string | null;
|
|
20732
|
+
lokale_pdf_fout: string | null;
|
|
20733
|
+
lokale_pdf_status: string | null;
|
|
20368
20734
|
opgepakt_op: string | null;
|
|
20369
20735
|
paginas: number;
|
|
20370
20736
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -20373,6 +20739,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
20373
20739
|
pogingen: number;
|
|
20374
20740
|
printer_id: string | null;
|
|
20375
20741
|
render_html: string | null;
|
|
20742
|
+
resultaat_pdf_base64: string | null;
|
|
20376
20743
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20377
20744
|
updated_at: string;
|
|
20378
20745
|
volgende_poging: string | null;
|
|
@@ -20394,6 +20761,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
20394
20761
|
attempts: number;
|
|
20395
20762
|
connection_id: string;
|
|
20396
20763
|
created_at: string;
|
|
20764
|
+
dead_lettered_at: string | null;
|
|
20397
20765
|
desired_available: boolean | null;
|
|
20398
20766
|
gateway_attempt_id: string | null;
|
|
20399
20767
|
id: string;
|
|
@@ -20402,9 +20770,13 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
20402
20770
|
locked_by: string | null;
|
|
20403
20771
|
next_attempt_at: string;
|
|
20404
20772
|
number_of_pieces: number;
|
|
20773
|
+
product_id: string | null;
|
|
20405
20774
|
sent_at: string | null;
|
|
20406
20775
|
status: string;
|
|
20776
|
+
stock_mode: string | null;
|
|
20407
20777
|
superseded_by: string | null;
|
|
20778
|
+
target_week: number | null;
|
|
20779
|
+
target_year: number | null;
|
|
20408
20780
|
trade_item_id: string;
|
|
20409
20781
|
updated_at: string;
|
|
20410
20782
|
user_id: string;
|
|
@@ -20464,6 +20836,53 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
20464
20836
|
isSetofReturn: true;
|
|
20465
20837
|
};
|
|
20466
20838
|
};
|
|
20839
|
+
claim_pdf_print_jobs: {
|
|
20840
|
+
Args: {
|
|
20841
|
+
_max?: number;
|
|
20842
|
+
};
|
|
20843
|
+
Returns: {
|
|
20844
|
+
agent_id: string | null;
|
|
20845
|
+
bron_job_id: string | null;
|
|
20846
|
+
created_at: string;
|
|
20847
|
+
documentnaam: string;
|
|
20848
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
20849
|
+
extern_job_id: string | null;
|
|
20850
|
+
foutmelding: string | null;
|
|
20851
|
+
gebruiker_id: string | null;
|
|
20852
|
+
gebruiker_naam: string;
|
|
20853
|
+
gebruikte_bron: string | null;
|
|
20854
|
+
gebruikte_layout_id: string | null;
|
|
20855
|
+
gestart_op: string | null;
|
|
20856
|
+
herkomst: string | null;
|
|
20857
|
+
id: string;
|
|
20858
|
+
idempotentie_sleutel: string | null;
|
|
20859
|
+
is_herprint: boolean;
|
|
20860
|
+
kopieen: number;
|
|
20861
|
+
layout_id: string | null;
|
|
20862
|
+
lokaal_opgeslagen_op: string | null;
|
|
20863
|
+
lokale_pdf_fout: string | null;
|
|
20864
|
+
lokale_pdf_status: string | null;
|
|
20865
|
+
opgepakt_op: string | null;
|
|
20866
|
+
paginas: number;
|
|
20867
|
+
payload: import("../integrations/supabase/types").Json;
|
|
20868
|
+
pdf_base64: string | null;
|
|
20869
|
+
pdf_url: string | null;
|
|
20870
|
+
pogingen: number;
|
|
20871
|
+
printer_id: string | null;
|
|
20872
|
+
render_html: string | null;
|
|
20873
|
+
resultaat_pdf_base64: string | null;
|
|
20874
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20875
|
+
updated_at: string;
|
|
20876
|
+
volgende_poging: string | null;
|
|
20877
|
+
voltooid_op: string | null;
|
|
20878
|
+
}[];
|
|
20879
|
+
SetofOptions: {
|
|
20880
|
+
from: "*";
|
|
20881
|
+
to: "print_jobs";
|
|
20882
|
+
isOneToOne: false;
|
|
20883
|
+
isSetofReturn: true;
|
|
20884
|
+
};
|
|
20885
|
+
};
|
|
20467
20886
|
claim_print_jobs: {
|
|
20468
20887
|
Args: {
|
|
20469
20888
|
_agent_id: string;
|
|
@@ -20488,6 +20907,9 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
20488
20907
|
is_herprint: boolean;
|
|
20489
20908
|
kopieen: number;
|
|
20490
20909
|
layout_id: string | null;
|
|
20910
|
+
lokaal_opgeslagen_op: string | null;
|
|
20911
|
+
lokale_pdf_fout: string | null;
|
|
20912
|
+
lokale_pdf_status: string | null;
|
|
20491
20913
|
opgepakt_op: string | null;
|
|
20492
20914
|
paginas: number;
|
|
20493
20915
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -20496,6 +20918,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
20496
20918
|
pogingen: number;
|
|
20497
20919
|
printer_id: string | null;
|
|
20498
20920
|
render_html: string | null;
|
|
20921
|
+
resultaat_pdf_base64: string | null;
|
|
20499
20922
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
20500
20923
|
updated_at: string;
|
|
20501
20924
|
volgende_poging: string | null;
|
|
@@ -20636,6 +21059,8 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
20636
21059
|
order_id: string;
|
|
20637
21060
|
order_source: string;
|
|
20638
21061
|
pick_date: string;
|
|
21062
|
+
printed_at: string;
|
|
21063
|
+
printed_today: boolean;
|
|
20639
21064
|
status: string;
|
|
20640
21065
|
}[];
|
|
20641
21066
|
};
|
|
@@ -20832,6 +21257,24 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
20832
21257
|
};
|
|
20833
21258
|
Returns: string;
|
|
20834
21259
|
};
|
|
21260
|
+
floriday_capture_stock_snapshot: {
|
|
21261
|
+
Args: never;
|
|
21262
|
+
Returns: number;
|
|
21263
|
+
};
|
|
21264
|
+
floriday_cleanup_stock_queue_v2: {
|
|
21265
|
+
Args: never;
|
|
21266
|
+
Returns: undefined;
|
|
21267
|
+
};
|
|
21268
|
+
floriday_compact_stock_snapshots: {
|
|
21269
|
+
Args: never;
|
|
21270
|
+
Returns: undefined;
|
|
21271
|
+
};
|
|
21272
|
+
floriday_default_owner: {
|
|
21273
|
+
Args: {
|
|
21274
|
+
p_connection_id: string;
|
|
21275
|
+
};
|
|
21276
|
+
Returns: string;
|
|
21277
|
+
};
|
|
20835
21278
|
floriday_effective_price: {
|
|
20836
21279
|
Args: {
|
|
20837
21280
|
_buyer_id: string;
|
|
@@ -20849,6 +21292,22 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
20849
21292
|
source_id: string;
|
|
20850
21293
|
}[];
|
|
20851
21294
|
};
|
|
21295
|
+
floriday_fill_publish_horizon: {
|
|
21296
|
+
Args: never;
|
|
21297
|
+
Returns: number;
|
|
21298
|
+
};
|
|
21299
|
+
floriday_publish_horizon_weeks: {
|
|
21300
|
+
Args: never;
|
|
21301
|
+
Returns: number;
|
|
21302
|
+
};
|
|
21303
|
+
floriday_recompute_inventory: {
|
|
21304
|
+
Args: {
|
|
21305
|
+
p_connection_id: string;
|
|
21306
|
+
p_force?: boolean;
|
|
21307
|
+
p_product_id: string;
|
|
21308
|
+
};
|
|
21309
|
+
Returns: undefined;
|
|
21310
|
+
};
|
|
20852
21311
|
format_cart_number: {
|
|
20853
21312
|
Args: {
|
|
20854
21313
|
p_pick_date: string;
|
|
@@ -21344,6 +21803,10 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
21344
21803
|
};
|
|
21345
21804
|
Returns: number;
|
|
21346
21805
|
};
|
|
21806
|
+
logistics_cancel_orphan_tasks: {
|
|
21807
|
+
Args: never;
|
|
21808
|
+
Returns: number;
|
|
21809
|
+
};
|
|
21347
21810
|
logistics_capacity_day_check: {
|
|
21348
21811
|
Args: {
|
|
21349
21812
|
p_from?: string;
|
|
@@ -21364,6 +21827,25 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
21364
21827
|
};
|
|
21365
21828
|
Returns: number;
|
|
21366
21829
|
};
|
|
21830
|
+
logistics_cart_index: {
|
|
21831
|
+
Args: {
|
|
21832
|
+
p_from?: string;
|
|
21833
|
+
p_to?: string;
|
|
21834
|
+
};
|
|
21835
|
+
Returns: {
|
|
21836
|
+
cart_id: string;
|
|
21837
|
+
cart_index: number;
|
|
21838
|
+
cart_label: string;
|
|
21839
|
+
is_shared: boolean;
|
|
21840
|
+
order_number: string;
|
|
21841
|
+
order_source: string;
|
|
21842
|
+
order_uuid: string;
|
|
21843
|
+
pick_date: string;
|
|
21844
|
+
printed_at: string;
|
|
21845
|
+
shifted: boolean;
|
|
21846
|
+
task_status: string;
|
|
21847
|
+
}[];
|
|
21848
|
+
};
|
|
21367
21849
|
logistics_check_order_allowed: {
|
|
21368
21850
|
Args: {
|
|
21369
21851
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -21512,6 +21994,17 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
21512
21994
|
isSetofReturn: false;
|
|
21513
21995
|
};
|
|
21514
21996
|
};
|
|
21997
|
+
logistics_consistency_check: {
|
|
21998
|
+
Args: never;
|
|
21999
|
+
Returns: {
|
|
22000
|
+
agenda_carts: number;
|
|
22001
|
+
control_carts: number;
|
|
22002
|
+
ok: boolean;
|
|
22003
|
+
orphan_tasks: number;
|
|
22004
|
+
pick_date: string;
|
|
22005
|
+
raw_carts: number;
|
|
22006
|
+
}[];
|
|
22007
|
+
};
|
|
21515
22008
|
logistics_delay_customer_email: {
|
|
21516
22009
|
Args: {
|
|
21517
22010
|
p_customer: string;
|
|
@@ -21601,6 +22094,16 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
21601
22094
|
isSetofReturn: false;
|
|
21602
22095
|
};
|
|
21603
22096
|
};
|
|
22097
|
+
logistics_floriday_cart_plan: {
|
|
22098
|
+
Args: {
|
|
22099
|
+
p_order_id: string;
|
|
22100
|
+
};
|
|
22101
|
+
Returns: {
|
|
22102
|
+
carrier_type: string;
|
|
22103
|
+
idx: number;
|
|
22104
|
+
packages: number;
|
|
22105
|
+
}[];
|
|
22106
|
+
};
|
|
21604
22107
|
logistics_floriday_claim_pushes: {
|
|
21605
22108
|
Args: {
|
|
21606
22109
|
_lease_seconds?: number;
|
|
@@ -21705,6 +22208,25 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
21705
22208
|
};
|
|
21706
22209
|
Returns: number;
|
|
21707
22210
|
};
|
|
22211
|
+
logistics_order_overview: {
|
|
22212
|
+
Args: {
|
|
22213
|
+
p_from?: string;
|
|
22214
|
+
p_to?: string;
|
|
22215
|
+
};
|
|
22216
|
+
Returns: {
|
|
22217
|
+
cart_count: number;
|
|
22218
|
+
customer_name: string;
|
|
22219
|
+
delivery_date: string;
|
|
22220
|
+
order_number: string;
|
|
22221
|
+
order_source: string;
|
|
22222
|
+
order_uuid: string;
|
|
22223
|
+
pick_date: string;
|
|
22224
|
+
plant_count: number;
|
|
22225
|
+
printed_at: string;
|
|
22226
|
+
shifted: boolean;
|
|
22227
|
+
status: string;
|
|
22228
|
+
}[];
|
|
22229
|
+
};
|
|
21708
22230
|
logistics_order_pick_day: {
|
|
21709
22231
|
Args: {
|
|
21710
22232
|
p_order_ref: string;
|
|
@@ -21717,6 +22239,22 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
21717
22239
|
};
|
|
21718
22240
|
Returns: string;
|
|
21719
22241
|
};
|
|
22242
|
+
logistics_pick_agenda: {
|
|
22243
|
+
Args: {
|
|
22244
|
+
p_from?: string;
|
|
22245
|
+
p_to?: string;
|
|
22246
|
+
};
|
|
22247
|
+
Returns: {
|
|
22248
|
+
cart_count: number;
|
|
22249
|
+
in_preparation: number;
|
|
22250
|
+
order_count: number;
|
|
22251
|
+
orders: import("../integrations/supabase/types").Json;
|
|
22252
|
+
pick_date: string;
|
|
22253
|
+
plant_count: number;
|
|
22254
|
+
ready: number;
|
|
22255
|
+
shifted_count: number;
|
|
22256
|
+
}[];
|
|
22257
|
+
};
|
|
21720
22258
|
logistics_pick_email_purpose: {
|
|
21721
22259
|
Args: never;
|
|
21722
22260
|
Returns: string;
|
|
@@ -21771,6 +22309,13 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
21771
22309
|
};
|
|
21772
22310
|
Returns: undefined;
|
|
21773
22311
|
};
|
|
22312
|
+
logistics_plan_floriday_order: {
|
|
22313
|
+
Args: {
|
|
22314
|
+
p_buffer_id?: string;
|
|
22315
|
+
p_order_id: string;
|
|
22316
|
+
};
|
|
22317
|
+
Returns: number;
|
|
22318
|
+
};
|
|
21774
22319
|
logistics_plan_impact_orders: {
|
|
21775
22320
|
Args: {
|
|
21776
22321
|
p_order_id: string;
|
|
@@ -21876,6 +22421,15 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
21876
22421
|
};
|
|
21877
22422
|
Returns: import("../integrations/supabase/types").Json;
|
|
21878
22423
|
};
|
|
22424
|
+
logistics_resolve_pick_document: {
|
|
22425
|
+
Args: {
|
|
22426
|
+
_is_herprint: boolean;
|
|
22427
|
+
_queue_item_id: string;
|
|
22428
|
+
_session_id: string;
|
|
22429
|
+
_voorbeeld: boolean;
|
|
22430
|
+
};
|
|
22431
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22432
|
+
};
|
|
21879
22433
|
logistics_resolve_settings: {
|
|
21880
22434
|
Args: {
|
|
21881
22435
|
p_config_id: string;
|
|
@@ -22316,6 +22870,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
22316
22870
|
};
|
|
22317
22871
|
pick_enqueue_print_job: {
|
|
22318
22872
|
Args: {
|
|
22873
|
+
_is_herprint?: boolean;
|
|
22319
22874
|
_printer_id?: string;
|
|
22320
22875
|
_queue_item_id: string;
|
|
22321
22876
|
_session_id?: string;
|
|
@@ -22329,6 +22884,13 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
22329
22884
|
};
|
|
22330
22885
|
Returns: import("../integrations/supabase/types").Json;
|
|
22331
22886
|
};
|
|
22887
|
+
pick_preview_job: {
|
|
22888
|
+
Args: {
|
|
22889
|
+
_queue_item_id: string;
|
|
22890
|
+
_station_slug: string;
|
|
22891
|
+
};
|
|
22892
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22893
|
+
};
|
|
22332
22894
|
pick_print_job_status: {
|
|
22333
22895
|
Args: {
|
|
22334
22896
|
_job_id: string;
|
|
@@ -22506,6 +23068,24 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
22506
23068
|
};
|
|
22507
23069
|
Returns: undefined;
|
|
22508
23070
|
};
|
|
23071
|
+
print_preview_toestaan: {
|
|
23072
|
+
Args: {
|
|
23073
|
+
_max?: number;
|
|
23074
|
+
_queue_item_id: string;
|
|
23075
|
+
_station_slug: string;
|
|
23076
|
+
_venster_sec?: number;
|
|
23077
|
+
};
|
|
23078
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23079
|
+
};
|
|
23080
|
+
print_preview_weiger: {
|
|
23081
|
+
Args: {
|
|
23082
|
+
_code: string;
|
|
23083
|
+
_queue_item_id: string;
|
|
23084
|
+
_reden: string;
|
|
23085
|
+
_station_slug: string;
|
|
23086
|
+
};
|
|
23087
|
+
Returns: undefined;
|
|
23088
|
+
};
|
|
22509
23089
|
process_logistics_event: {
|
|
22510
23090
|
Args: {
|
|
22511
23091
|
p_event_id: string;
|
|
@@ -22660,6 +23240,12 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
22660
23240
|
};
|
|
22661
23241
|
Returns: string;
|
|
22662
23242
|
};
|
|
23243
|
+
resolve_print_job_printer_id: {
|
|
23244
|
+
Args: {
|
|
23245
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
23246
|
+
};
|
|
23247
|
+
Returns: string;
|
|
23248
|
+
};
|
|
22663
23249
|
resolve_product_id_for_item: {
|
|
22664
23250
|
Args: {
|
|
22665
23251
|
p_product_name: string;
|
|
@@ -23251,7 +23837,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
23251
23837
|
};
|
|
23252
23838
|
CompositeTypes: { [_ in never]: never; };
|
|
23253
23839
|
}, {
|
|
23254
|
-
PostgrestVersion: "14.
|
|
23840
|
+
PostgrestVersion: "14.5";
|
|
23255
23841
|
}>;
|
|
23256
23842
|
userId: string;
|
|
23257
23843
|
claims: import("@supabase/auth-js").User;
|
|
@@ -26116,6 +26702,84 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
26116
26702
|
};
|
|
26117
26703
|
Relationships: [];
|
|
26118
26704
|
};
|
|
26705
|
+
delivery_notes: {
|
|
26706
|
+
Row: {
|
|
26707
|
+
byte_size: number | null;
|
|
26708
|
+
connection_id: string | null;
|
|
26709
|
+
content_type: string;
|
|
26710
|
+
created_at: string;
|
|
26711
|
+
error_message: string | null;
|
|
26712
|
+
fetched_at: string | null;
|
|
26713
|
+
fulfillment_order_id: string | null;
|
|
26714
|
+
http_status: number | null;
|
|
26715
|
+
id: string;
|
|
26716
|
+
label_code: string | null;
|
|
26717
|
+
letter: string | null;
|
|
26718
|
+
load_carrier_index: number | null;
|
|
26719
|
+
load_carrier_type: string | null;
|
|
26720
|
+
order_id: string | null;
|
|
26721
|
+
order_number: string | null;
|
|
26722
|
+
packages: number | null;
|
|
26723
|
+
source: string;
|
|
26724
|
+
status: string;
|
|
26725
|
+
storage_bucket: string;
|
|
26726
|
+
storage_path: string | null;
|
|
26727
|
+
updated_at: string;
|
|
26728
|
+
};
|
|
26729
|
+
Insert: {
|
|
26730
|
+
byte_size?: number | null;
|
|
26731
|
+
connection_id?: string | null;
|
|
26732
|
+
content_type?: string;
|
|
26733
|
+
created_at?: string;
|
|
26734
|
+
error_message?: string | null;
|
|
26735
|
+
fetched_at?: string | null;
|
|
26736
|
+
fulfillment_order_id?: string | null;
|
|
26737
|
+
http_status?: number | null;
|
|
26738
|
+
id?: string;
|
|
26739
|
+
label_code?: string | null;
|
|
26740
|
+
letter?: string | null;
|
|
26741
|
+
load_carrier_index?: number | null;
|
|
26742
|
+
load_carrier_type?: string | null;
|
|
26743
|
+
order_id?: string | null;
|
|
26744
|
+
order_number?: string | null;
|
|
26745
|
+
packages?: number | null;
|
|
26746
|
+
source?: string;
|
|
26747
|
+
status?: string;
|
|
26748
|
+
storage_bucket?: string;
|
|
26749
|
+
storage_path?: string | null;
|
|
26750
|
+
updated_at?: string;
|
|
26751
|
+
};
|
|
26752
|
+
Update: {
|
|
26753
|
+
byte_size?: number | null;
|
|
26754
|
+
connection_id?: string | null;
|
|
26755
|
+
content_type?: string;
|
|
26756
|
+
created_at?: string;
|
|
26757
|
+
error_message?: string | null;
|
|
26758
|
+
fetched_at?: string | null;
|
|
26759
|
+
fulfillment_order_id?: string | null;
|
|
26760
|
+
http_status?: number | null;
|
|
26761
|
+
id?: string;
|
|
26762
|
+
label_code?: string | null;
|
|
26763
|
+
letter?: string | null;
|
|
26764
|
+
load_carrier_index?: number | null;
|
|
26765
|
+
load_carrier_type?: string | null;
|
|
26766
|
+
order_id?: string | null;
|
|
26767
|
+
order_number?: string | null;
|
|
26768
|
+
packages?: number | null;
|
|
26769
|
+
source?: string;
|
|
26770
|
+
status?: string;
|
|
26771
|
+
storage_bucket?: string;
|
|
26772
|
+
storage_path?: string | null;
|
|
26773
|
+
updated_at?: string;
|
|
26774
|
+
};
|
|
26775
|
+
Relationships: [{
|
|
26776
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
26777
|
+
columns: ["order_id"];
|
|
26778
|
+
isOneToOne: false;
|
|
26779
|
+
referencedRelation: "orders";
|
|
26780
|
+
referencedColumns: ["id"];
|
|
26781
|
+
}];
|
|
26782
|
+
};
|
|
26119
26783
|
document_bronregels: {
|
|
26120
26784
|
Row: {
|
|
26121
26785
|
bron: string;
|
|
@@ -29169,10 +29833,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
29169
29833
|
};
|
|
29170
29834
|
floriday_connections: {
|
|
29171
29835
|
Row: {
|
|
29172
|
-
access_token: string | null;
|
|
29173
29836
|
api_key: string;
|
|
29174
|
-
client_id: string;
|
|
29175
|
-
client_secret: string;
|
|
29176
29837
|
created_at: string;
|
|
29177
29838
|
customers_endpoint: string | null;
|
|
29178
29839
|
environment: string;
|
|
@@ -29187,10 +29848,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
29187
29848
|
updated_at: string;
|
|
29188
29849
|
};
|
|
29189
29850
|
Insert: {
|
|
29190
|
-
access_token?: string | null;
|
|
29191
29851
|
api_key: string;
|
|
29192
|
-
client_id: string;
|
|
29193
|
-
client_secret: string;
|
|
29194
29852
|
created_at?: string;
|
|
29195
29853
|
customers_endpoint?: string | null;
|
|
29196
29854
|
environment: string;
|
|
@@ -29205,10 +29863,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
29205
29863
|
updated_at?: string;
|
|
29206
29864
|
};
|
|
29207
29865
|
Update: {
|
|
29208
|
-
access_token?: string | null;
|
|
29209
29866
|
api_key?: string;
|
|
29210
|
-
client_id?: string;
|
|
29211
|
-
client_secret?: string;
|
|
29212
29867
|
created_at?: string;
|
|
29213
29868
|
customers_endpoint?: string | null;
|
|
29214
29869
|
environment?: string;
|
|
@@ -29292,6 +29947,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
29292
29947
|
attempts: number;
|
|
29293
29948
|
connection_id: string;
|
|
29294
29949
|
created_at: string;
|
|
29950
|
+
dead_lettered_at: string | null;
|
|
29295
29951
|
desired_available: boolean | null;
|
|
29296
29952
|
gateway_attempt_id: string | null;
|
|
29297
29953
|
id: string;
|
|
@@ -29300,9 +29956,13 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
29300
29956
|
locked_by: string | null;
|
|
29301
29957
|
next_attempt_at: string;
|
|
29302
29958
|
number_of_pieces: number;
|
|
29959
|
+
product_id: string | null;
|
|
29303
29960
|
sent_at: string | null;
|
|
29304
29961
|
status: string;
|
|
29962
|
+
stock_mode: string | null;
|
|
29305
29963
|
superseded_by: string | null;
|
|
29964
|
+
target_week: number | null;
|
|
29965
|
+
target_year: number | null;
|
|
29306
29966
|
trade_item_id: string;
|
|
29307
29967
|
updated_at: string;
|
|
29308
29968
|
user_id: string;
|
|
@@ -29311,6 +29971,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
29311
29971
|
attempts?: number;
|
|
29312
29972
|
connection_id: string;
|
|
29313
29973
|
created_at?: string;
|
|
29974
|
+
dead_lettered_at?: string | null;
|
|
29314
29975
|
desired_available?: boolean | null;
|
|
29315
29976
|
gateway_attempt_id?: string | null;
|
|
29316
29977
|
id?: string;
|
|
@@ -29319,9 +29980,13 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
29319
29980
|
locked_by?: string | null;
|
|
29320
29981
|
next_attempt_at?: string;
|
|
29321
29982
|
number_of_pieces?: number;
|
|
29983
|
+
product_id?: string | null;
|
|
29322
29984
|
sent_at?: string | null;
|
|
29323
29985
|
status?: string;
|
|
29986
|
+
stock_mode?: string | null;
|
|
29324
29987
|
superseded_by?: string | null;
|
|
29988
|
+
target_week?: number | null;
|
|
29989
|
+
target_year?: number | null;
|
|
29325
29990
|
trade_item_id: string;
|
|
29326
29991
|
updated_at?: string;
|
|
29327
29992
|
user_id: string;
|
|
@@ -29330,6 +29995,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
29330
29995
|
attempts?: number;
|
|
29331
29996
|
connection_id?: string;
|
|
29332
29997
|
created_at?: string;
|
|
29998
|
+
dead_lettered_at?: string | null;
|
|
29333
29999
|
desired_available?: boolean | null;
|
|
29334
30000
|
gateway_attempt_id?: string | null;
|
|
29335
30001
|
id?: string;
|
|
@@ -29338,9 +30004,13 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
29338
30004
|
locked_by?: string | null;
|
|
29339
30005
|
next_attempt_at?: string;
|
|
29340
30006
|
number_of_pieces?: number;
|
|
30007
|
+
product_id?: string | null;
|
|
29341
30008
|
sent_at?: string | null;
|
|
29342
30009
|
status?: string;
|
|
30010
|
+
stock_mode?: string | null;
|
|
29343
30011
|
superseded_by?: string | null;
|
|
30012
|
+
target_week?: number | null;
|
|
30013
|
+
target_year?: number | null;
|
|
29344
30014
|
trade_item_id?: string;
|
|
29345
30015
|
updated_at?: string;
|
|
29346
30016
|
user_id?: string;
|
|
@@ -29749,6 +30419,87 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
29749
30419
|
referencedColumns: ["id"];
|
|
29750
30420
|
}];
|
|
29751
30421
|
};
|
|
30422
|
+
floriday_inventory_settings: {
|
|
30423
|
+
Row: {
|
|
30424
|
+
buffer_quantity: number;
|
|
30425
|
+
connection_id: string;
|
|
30426
|
+
created_at: string;
|
|
30427
|
+
desired_availability: boolean;
|
|
30428
|
+
desired_quantity: number;
|
|
30429
|
+
fixed_quantity: number | null;
|
|
30430
|
+
floriday_trade_item_id: string | null;
|
|
30431
|
+
id: string;
|
|
30432
|
+
last_confirmed_at: string | null;
|
|
30433
|
+
last_enqueued_at: string | null;
|
|
30434
|
+
last_published_at: string | null;
|
|
30435
|
+
last_sync_error: string | null;
|
|
30436
|
+
manual_quantity: number | null;
|
|
30437
|
+
maximum_quantity: number | null;
|
|
30438
|
+
product_id: string;
|
|
30439
|
+
quantity_control: string;
|
|
30440
|
+
remote_available: boolean | null;
|
|
30441
|
+
remote_checked_at: string | null;
|
|
30442
|
+
remote_quantity: number | null;
|
|
30443
|
+
stock_mode: string;
|
|
30444
|
+
sync_status: string;
|
|
30445
|
+
updated_at: string;
|
|
30446
|
+
updated_by: string | null;
|
|
30447
|
+
user_id: string;
|
|
30448
|
+
};
|
|
30449
|
+
Insert: {
|
|
30450
|
+
buffer_quantity?: number;
|
|
30451
|
+
connection_id: string;
|
|
30452
|
+
created_at?: string;
|
|
30453
|
+
desired_availability?: boolean;
|
|
30454
|
+
desired_quantity?: number;
|
|
30455
|
+
fixed_quantity?: number | null;
|
|
30456
|
+
floriday_trade_item_id?: string | null;
|
|
30457
|
+
id?: string;
|
|
30458
|
+
last_confirmed_at?: string | null;
|
|
30459
|
+
last_enqueued_at?: string | null;
|
|
30460
|
+
last_published_at?: string | null;
|
|
30461
|
+
last_sync_error?: string | null;
|
|
30462
|
+
manual_quantity?: number | null;
|
|
30463
|
+
maximum_quantity?: number | null;
|
|
30464
|
+
product_id: string;
|
|
30465
|
+
quantity_control?: string;
|
|
30466
|
+
remote_available?: boolean | null;
|
|
30467
|
+
remote_checked_at?: string | null;
|
|
30468
|
+
remote_quantity?: number | null;
|
|
30469
|
+
stock_mode?: string;
|
|
30470
|
+
sync_status?: string;
|
|
30471
|
+
updated_at?: string;
|
|
30472
|
+
updated_by?: string | null;
|
|
30473
|
+
user_id: string;
|
|
30474
|
+
};
|
|
30475
|
+
Update: {
|
|
30476
|
+
buffer_quantity?: number;
|
|
30477
|
+
connection_id?: string;
|
|
30478
|
+
created_at?: string;
|
|
30479
|
+
desired_availability?: boolean;
|
|
30480
|
+
desired_quantity?: number;
|
|
30481
|
+
fixed_quantity?: number | null;
|
|
30482
|
+
floriday_trade_item_id?: string | null;
|
|
30483
|
+
id?: string;
|
|
30484
|
+
last_confirmed_at?: string | null;
|
|
30485
|
+
last_enqueued_at?: string | null;
|
|
30486
|
+
last_published_at?: string | null;
|
|
30487
|
+
last_sync_error?: string | null;
|
|
30488
|
+
manual_quantity?: number | null;
|
|
30489
|
+
maximum_quantity?: number | null;
|
|
30490
|
+
product_id?: string;
|
|
30491
|
+
quantity_control?: string;
|
|
30492
|
+
remote_available?: boolean | null;
|
|
30493
|
+
remote_checked_at?: string | null;
|
|
30494
|
+
remote_quantity?: number | null;
|
|
30495
|
+
stock_mode?: string;
|
|
30496
|
+
sync_status?: string;
|
|
30497
|
+
updated_at?: string;
|
|
30498
|
+
updated_by?: string | null;
|
|
30499
|
+
user_id?: string;
|
|
30500
|
+
};
|
|
30501
|
+
Relationships: [];
|
|
30502
|
+
};
|
|
29752
30503
|
floriday_invoices_cache: {
|
|
29753
30504
|
Row: {
|
|
29754
30505
|
buyer_organization_id: string | null;
|
|
@@ -30037,6 +30788,39 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
30037
30788
|
};
|
|
30038
30789
|
Relationships: [];
|
|
30039
30790
|
};
|
|
30791
|
+
floriday_sales_order_ingest: {
|
|
30792
|
+
Row: {
|
|
30793
|
+
connection_id: string;
|
|
30794
|
+
created_at: string;
|
|
30795
|
+
id: string;
|
|
30796
|
+
impact: import("../integrations/supabase/types").Json;
|
|
30797
|
+
order_status: string | null;
|
|
30798
|
+
order_version: number;
|
|
30799
|
+
processed_at: string;
|
|
30800
|
+
sales_order_id: string;
|
|
30801
|
+
};
|
|
30802
|
+
Insert: {
|
|
30803
|
+
connection_id: string;
|
|
30804
|
+
created_at?: string;
|
|
30805
|
+
id?: string;
|
|
30806
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
30807
|
+
order_status?: string | null;
|
|
30808
|
+
order_version?: number;
|
|
30809
|
+
processed_at?: string;
|
|
30810
|
+
sales_order_id: string;
|
|
30811
|
+
};
|
|
30812
|
+
Update: {
|
|
30813
|
+
connection_id?: string;
|
|
30814
|
+
created_at?: string;
|
|
30815
|
+
id?: string;
|
|
30816
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
30817
|
+
order_status?: string | null;
|
|
30818
|
+
order_version?: number;
|
|
30819
|
+
processed_at?: string;
|
|
30820
|
+
sales_order_id?: string;
|
|
30821
|
+
};
|
|
30822
|
+
Relationships: [];
|
|
30823
|
+
};
|
|
30040
30824
|
floriday_sales_strategies_cache: {
|
|
30041
30825
|
Row: {
|
|
30042
30826
|
connection_id: string;
|
|
@@ -30136,6 +30920,39 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
30136
30920
|
};
|
|
30137
30921
|
Relationships: [];
|
|
30138
30922
|
};
|
|
30923
|
+
floriday_sync_cursors: {
|
|
30924
|
+
Row: {
|
|
30925
|
+
connection_id: string;
|
|
30926
|
+
created_at: string;
|
|
30927
|
+
id: string;
|
|
30928
|
+
last_error: string | null;
|
|
30929
|
+
last_sync_at: string | null;
|
|
30930
|
+
resource_type: string;
|
|
30931
|
+
sequence_number: number;
|
|
30932
|
+
updated_at: string;
|
|
30933
|
+
};
|
|
30934
|
+
Insert: {
|
|
30935
|
+
connection_id: string;
|
|
30936
|
+
created_at?: string;
|
|
30937
|
+
id?: string;
|
|
30938
|
+
last_error?: string | null;
|
|
30939
|
+
last_sync_at?: string | null;
|
|
30940
|
+
resource_type: string;
|
|
30941
|
+
sequence_number?: number;
|
|
30942
|
+
updated_at?: string;
|
|
30943
|
+
};
|
|
30944
|
+
Update: {
|
|
30945
|
+
connection_id?: string;
|
|
30946
|
+
created_at?: string;
|
|
30947
|
+
id?: string;
|
|
30948
|
+
last_error?: string | null;
|
|
30949
|
+
last_sync_at?: string | null;
|
|
30950
|
+
resource_type?: string;
|
|
30951
|
+
sequence_number?: number;
|
|
30952
|
+
updated_at?: string;
|
|
30953
|
+
};
|
|
30954
|
+
Relationships: [];
|
|
30955
|
+
};
|
|
30139
30956
|
floriday_sync_state: {
|
|
30140
30957
|
Row: {
|
|
30141
30958
|
connection_id: string;
|
|
@@ -30826,6 +31643,42 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
30826
31643
|
};
|
|
30827
31644
|
Relationships: [];
|
|
30828
31645
|
};
|
|
31646
|
+
inventory_stock_snapshots: {
|
|
31647
|
+
Row: {
|
|
31648
|
+
connection_id: string;
|
|
31649
|
+
created_at: string;
|
|
31650
|
+
erp_available_quantity: number;
|
|
31651
|
+
floriday_desired_quantity: number;
|
|
31652
|
+
floriday_remote_quantity: number | null;
|
|
31653
|
+
granularity: string;
|
|
31654
|
+
id: string;
|
|
31655
|
+
snapshot_at: string;
|
|
31656
|
+
user_id: string | null;
|
|
31657
|
+
};
|
|
31658
|
+
Insert: {
|
|
31659
|
+
connection_id: string;
|
|
31660
|
+
created_at?: string;
|
|
31661
|
+
erp_available_quantity?: number;
|
|
31662
|
+
floriday_desired_quantity?: number;
|
|
31663
|
+
floriday_remote_quantity?: number | null;
|
|
31664
|
+
granularity?: string;
|
|
31665
|
+
id?: string;
|
|
31666
|
+
snapshot_at?: string;
|
|
31667
|
+
user_id?: string | null;
|
|
31668
|
+
};
|
|
31669
|
+
Update: {
|
|
31670
|
+
connection_id?: string;
|
|
31671
|
+
created_at?: string;
|
|
31672
|
+
erp_available_quantity?: number;
|
|
31673
|
+
floriday_desired_quantity?: number;
|
|
31674
|
+
floriday_remote_quantity?: number | null;
|
|
31675
|
+
granularity?: string;
|
|
31676
|
+
id?: string;
|
|
31677
|
+
snapshot_at?: string;
|
|
31678
|
+
user_id?: string | null;
|
|
31679
|
+
};
|
|
31680
|
+
Relationships: [];
|
|
31681
|
+
};
|
|
30829
31682
|
invoice_items: {
|
|
30830
31683
|
Row: {
|
|
30831
31684
|
created_at: string;
|
|
@@ -36841,6 +37694,39 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
36841
37694
|
};
|
|
36842
37695
|
Relationships: [];
|
|
36843
37696
|
};
|
|
37697
|
+
print_dedupe_events: {
|
|
37698
|
+
Row: {
|
|
37699
|
+
bestaande_job_id: string | null;
|
|
37700
|
+
created_at: string;
|
|
37701
|
+
detail: string | null;
|
|
37702
|
+
documentnaam: string | null;
|
|
37703
|
+
documenttype: string | null;
|
|
37704
|
+
id: string;
|
|
37705
|
+
idempotentie_sleutel: string;
|
|
37706
|
+
reden: string;
|
|
37707
|
+
};
|
|
37708
|
+
Insert: {
|
|
37709
|
+
bestaande_job_id?: string | null;
|
|
37710
|
+
created_at?: string;
|
|
37711
|
+
detail?: string | null;
|
|
37712
|
+
documentnaam?: string | null;
|
|
37713
|
+
documenttype?: string | null;
|
|
37714
|
+
id?: string;
|
|
37715
|
+
idempotentie_sleutel: string;
|
|
37716
|
+
reden: string;
|
|
37717
|
+
};
|
|
37718
|
+
Update: {
|
|
37719
|
+
bestaande_job_id?: string | null;
|
|
37720
|
+
created_at?: string;
|
|
37721
|
+
detail?: string | null;
|
|
37722
|
+
documentnaam?: string | null;
|
|
37723
|
+
documenttype?: string | null;
|
|
37724
|
+
id?: string;
|
|
37725
|
+
idempotentie_sleutel?: string;
|
|
37726
|
+
reden?: string;
|
|
37727
|
+
};
|
|
37728
|
+
Relationships: [];
|
|
37729
|
+
};
|
|
36844
37730
|
print_job_logs: {
|
|
36845
37731
|
Row: {
|
|
36846
37732
|
created_at: string;
|
|
@@ -36891,6 +37777,9 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
36891
37777
|
is_herprint: boolean;
|
|
36892
37778
|
kopieen: number;
|
|
36893
37779
|
layout_id: string | null;
|
|
37780
|
+
lokaal_opgeslagen_op: string | null;
|
|
37781
|
+
lokale_pdf_fout: string | null;
|
|
37782
|
+
lokale_pdf_status: string | null;
|
|
36894
37783
|
opgepakt_op: string | null;
|
|
36895
37784
|
paginas: number;
|
|
36896
37785
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -36899,6 +37788,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
36899
37788
|
pogingen: number;
|
|
36900
37789
|
printer_id: string | null;
|
|
36901
37790
|
render_html: string | null;
|
|
37791
|
+
resultaat_pdf_base64: string | null;
|
|
36902
37792
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
36903
37793
|
updated_at: string;
|
|
36904
37794
|
volgende_poging: string | null;
|
|
@@ -36923,6 +37813,9 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
36923
37813
|
is_herprint?: boolean;
|
|
36924
37814
|
kopieen?: number;
|
|
36925
37815
|
layout_id?: string | null;
|
|
37816
|
+
lokaal_opgeslagen_op?: string | null;
|
|
37817
|
+
lokale_pdf_fout?: string | null;
|
|
37818
|
+
lokale_pdf_status?: string | null;
|
|
36926
37819
|
opgepakt_op?: string | null;
|
|
36927
37820
|
paginas?: number;
|
|
36928
37821
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -36931,6 +37824,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
36931
37824
|
pogingen?: number;
|
|
36932
37825
|
printer_id?: string | null;
|
|
36933
37826
|
render_html?: string | null;
|
|
37827
|
+
resultaat_pdf_base64?: string | null;
|
|
36934
37828
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
36935
37829
|
updated_at?: string;
|
|
36936
37830
|
volgende_poging?: string | null;
|
|
@@ -36955,6 +37849,9 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
36955
37849
|
is_herprint?: boolean;
|
|
36956
37850
|
kopieen?: number;
|
|
36957
37851
|
layout_id?: string | null;
|
|
37852
|
+
lokaal_opgeslagen_op?: string | null;
|
|
37853
|
+
lokale_pdf_fout?: string | null;
|
|
37854
|
+
lokale_pdf_status?: string | null;
|
|
36958
37855
|
opgepakt_op?: string | null;
|
|
36959
37856
|
paginas?: number;
|
|
36960
37857
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -36963,6 +37860,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
36963
37860
|
pogingen?: number;
|
|
36964
37861
|
printer_id?: string | null;
|
|
36965
37862
|
render_html?: string | null;
|
|
37863
|
+
resultaat_pdf_base64?: string | null;
|
|
36966
37864
|
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
36967
37865
|
updated_at?: string;
|
|
36968
37866
|
volgende_poging?: string | null;
|
|
@@ -37081,6 +37979,39 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
37081
37979
|
};
|
|
37082
37980
|
Relationships: [];
|
|
37083
37981
|
};
|
|
37982
|
+
print_preview_events: {
|
|
37983
|
+
Row: {
|
|
37984
|
+
code: string | null;
|
|
37985
|
+
created_at: string;
|
|
37986
|
+
detail: import("../integrations/supabase/types").Json;
|
|
37987
|
+
id: string;
|
|
37988
|
+
queue_item_id: string | null;
|
|
37989
|
+
reden: string | null;
|
|
37990
|
+
station_slug: string | null;
|
|
37991
|
+
uitkomst: string;
|
|
37992
|
+
};
|
|
37993
|
+
Insert: {
|
|
37994
|
+
code?: string | null;
|
|
37995
|
+
created_at?: string;
|
|
37996
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
37997
|
+
id?: string;
|
|
37998
|
+
queue_item_id?: string | null;
|
|
37999
|
+
reden?: string | null;
|
|
38000
|
+
station_slug?: string | null;
|
|
38001
|
+
uitkomst?: string;
|
|
38002
|
+
};
|
|
38003
|
+
Update: {
|
|
38004
|
+
code?: string | null;
|
|
38005
|
+
created_at?: string;
|
|
38006
|
+
detail?: import("../integrations/supabase/types").Json;
|
|
38007
|
+
id?: string;
|
|
38008
|
+
queue_item_id?: string | null;
|
|
38009
|
+
reden?: string | null;
|
|
38010
|
+
station_slug?: string | null;
|
|
38011
|
+
uitkomst?: string;
|
|
38012
|
+
};
|
|
38013
|
+
Relationships: [];
|
|
38014
|
+
};
|
|
37084
38015
|
print_queue_runners: {
|
|
37085
38016
|
Row: {
|
|
37086
38017
|
actief: boolean;
|
|
@@ -37320,6 +38251,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
37320
38251
|
ondersteunde_laden: import("../integrations/supabase/types").Json | null;
|
|
37321
38252
|
online: boolean;
|
|
37322
38253
|
papierformaat: string;
|
|
38254
|
+
pdf_map: string | null;
|
|
37323
38255
|
poort: number | null;
|
|
37324
38256
|
soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37325
38257
|
systeemnaam: string;
|
|
@@ -37345,6 +38277,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
37345
38277
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
37346
38278
|
online?: boolean;
|
|
37347
38279
|
papierformaat?: string;
|
|
38280
|
+
pdf_map?: string | null;
|
|
37348
38281
|
poort?: number | null;
|
|
37349
38282
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37350
38283
|
systeemnaam?: string;
|
|
@@ -37370,6 +38303,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
37370
38303
|
ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
|
|
37371
38304
|
online?: boolean;
|
|
37372
38305
|
papierformaat?: string;
|
|
38306
|
+
pdf_map?: string | null;
|
|
37373
38307
|
poort?: number | null;
|
|
37374
38308
|
soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
|
|
37375
38309
|
systeemnaam?: string;
|
|
@@ -39939,6 +40873,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
39939
40873
|
};
|
|
39940
40874
|
trade_item_stock: {
|
|
39941
40875
|
Row: {
|
|
40876
|
+
change_source: string;
|
|
39942
40877
|
connection_id: string;
|
|
39943
40878
|
created_at: string;
|
|
39944
40879
|
id: string;
|
|
@@ -39952,6 +40887,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
39952
40887
|
user_id: string;
|
|
39953
40888
|
};
|
|
39954
40889
|
Insert: {
|
|
40890
|
+
change_source?: string;
|
|
39955
40891
|
connection_id: string;
|
|
39956
40892
|
created_at?: string;
|
|
39957
40893
|
id?: string;
|
|
@@ -39965,6 +40901,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
39965
40901
|
user_id: string;
|
|
39966
40902
|
};
|
|
39967
40903
|
Update: {
|
|
40904
|
+
change_source?: string;
|
|
39968
40905
|
connection_id?: string;
|
|
39969
40906
|
created_at?: string;
|
|
39970
40907
|
id?: string;
|
|
@@ -43565,6 +44502,18 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
43565
44502
|
Args: never;
|
|
43566
44503
|
Returns: number;
|
|
43567
44504
|
};
|
|
44505
|
+
calculate_floriday_desired_stock: {
|
|
44506
|
+
Args: {
|
|
44507
|
+
p_connection_id: string;
|
|
44508
|
+
p_product_id: string;
|
|
44509
|
+
};
|
|
44510
|
+
Returns: {
|
|
44511
|
+
desired_availability: boolean;
|
|
44512
|
+
desired_quantity: number;
|
|
44513
|
+
erp_available: number;
|
|
44514
|
+
stock_mode: string;
|
|
44515
|
+
}[];
|
|
44516
|
+
};
|
|
43568
44517
|
calculate_layer_stock: {
|
|
43569
44518
|
Args: {
|
|
43570
44519
|
p_product_id: string;
|
|
@@ -43626,6 +44575,9 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
43626
44575
|
is_herprint: boolean;
|
|
43627
44576
|
kopieen: number;
|
|
43628
44577
|
layout_id: string | null;
|
|
44578
|
+
lokaal_opgeslagen_op: string | null;
|
|
44579
|
+
lokale_pdf_fout: string | null;
|
|
44580
|
+
lokale_pdf_status: string | null;
|
|
43629
44581
|
opgepakt_op: string | null;
|
|
43630
44582
|
paginas: number;
|
|
43631
44583
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -43634,6 +44586,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
43634
44586
|
pogingen: number;
|
|
43635
44587
|
printer_id: string | null;
|
|
43636
44588
|
render_html: string | null;
|
|
44589
|
+
resultaat_pdf_base64: string | null;
|
|
43637
44590
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
43638
44591
|
updated_at: string;
|
|
43639
44592
|
volgende_poging: string | null;
|
|
@@ -43655,6 +44608,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
43655
44608
|
attempts: number;
|
|
43656
44609
|
connection_id: string;
|
|
43657
44610
|
created_at: string;
|
|
44611
|
+
dead_lettered_at: string | null;
|
|
43658
44612
|
desired_available: boolean | null;
|
|
43659
44613
|
gateway_attempt_id: string | null;
|
|
43660
44614
|
id: string;
|
|
@@ -43663,9 +44617,13 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
43663
44617
|
locked_by: string | null;
|
|
43664
44618
|
next_attempt_at: string;
|
|
43665
44619
|
number_of_pieces: number;
|
|
44620
|
+
product_id: string | null;
|
|
43666
44621
|
sent_at: string | null;
|
|
43667
44622
|
status: string;
|
|
44623
|
+
stock_mode: string | null;
|
|
43668
44624
|
superseded_by: string | null;
|
|
44625
|
+
target_week: number | null;
|
|
44626
|
+
target_year: number | null;
|
|
43669
44627
|
trade_item_id: string;
|
|
43670
44628
|
updated_at: string;
|
|
43671
44629
|
user_id: string;
|
|
@@ -43725,6 +44683,53 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
43725
44683
|
isSetofReturn: true;
|
|
43726
44684
|
};
|
|
43727
44685
|
};
|
|
44686
|
+
claim_pdf_print_jobs: {
|
|
44687
|
+
Args: {
|
|
44688
|
+
_max?: number;
|
|
44689
|
+
};
|
|
44690
|
+
Returns: {
|
|
44691
|
+
agent_id: string | null;
|
|
44692
|
+
bron_job_id: string | null;
|
|
44693
|
+
created_at: string;
|
|
44694
|
+
documentnaam: string;
|
|
44695
|
+
documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
|
|
44696
|
+
extern_job_id: string | null;
|
|
44697
|
+
foutmelding: string | null;
|
|
44698
|
+
gebruiker_id: string | null;
|
|
44699
|
+
gebruiker_naam: string;
|
|
44700
|
+
gebruikte_bron: string | null;
|
|
44701
|
+
gebruikte_layout_id: string | null;
|
|
44702
|
+
gestart_op: string | null;
|
|
44703
|
+
herkomst: string | null;
|
|
44704
|
+
id: string;
|
|
44705
|
+
idempotentie_sleutel: string | null;
|
|
44706
|
+
is_herprint: boolean;
|
|
44707
|
+
kopieen: number;
|
|
44708
|
+
layout_id: string | null;
|
|
44709
|
+
lokaal_opgeslagen_op: string | null;
|
|
44710
|
+
lokale_pdf_fout: string | null;
|
|
44711
|
+
lokale_pdf_status: string | null;
|
|
44712
|
+
opgepakt_op: string | null;
|
|
44713
|
+
paginas: number;
|
|
44714
|
+
payload: import("../integrations/supabase/types").Json;
|
|
44715
|
+
pdf_base64: string | null;
|
|
44716
|
+
pdf_url: string | null;
|
|
44717
|
+
pogingen: number;
|
|
44718
|
+
printer_id: string | null;
|
|
44719
|
+
render_html: string | null;
|
|
44720
|
+
resultaat_pdf_base64: string | null;
|
|
44721
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
44722
|
+
updated_at: string;
|
|
44723
|
+
volgende_poging: string | null;
|
|
44724
|
+
voltooid_op: string | null;
|
|
44725
|
+
}[];
|
|
44726
|
+
SetofOptions: {
|
|
44727
|
+
from: "*";
|
|
44728
|
+
to: "print_jobs";
|
|
44729
|
+
isOneToOne: false;
|
|
44730
|
+
isSetofReturn: true;
|
|
44731
|
+
};
|
|
44732
|
+
};
|
|
43728
44733
|
claim_print_jobs: {
|
|
43729
44734
|
Args: {
|
|
43730
44735
|
_agent_id: string;
|
|
@@ -43749,6 +44754,9 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
43749
44754
|
is_herprint: boolean;
|
|
43750
44755
|
kopieen: number;
|
|
43751
44756
|
layout_id: string | null;
|
|
44757
|
+
lokaal_opgeslagen_op: string | null;
|
|
44758
|
+
lokale_pdf_fout: string | null;
|
|
44759
|
+
lokale_pdf_status: string | null;
|
|
43752
44760
|
opgepakt_op: string | null;
|
|
43753
44761
|
paginas: number;
|
|
43754
44762
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -43757,6 +44765,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
43757
44765
|
pogingen: number;
|
|
43758
44766
|
printer_id: string | null;
|
|
43759
44767
|
render_html: string | null;
|
|
44768
|
+
resultaat_pdf_base64: string | null;
|
|
43760
44769
|
status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
|
|
43761
44770
|
updated_at: string;
|
|
43762
44771
|
volgende_poging: string | null;
|
|
@@ -43897,6 +44906,8 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
43897
44906
|
order_id: string;
|
|
43898
44907
|
order_source: string;
|
|
43899
44908
|
pick_date: string;
|
|
44909
|
+
printed_at: string;
|
|
44910
|
+
printed_today: boolean;
|
|
43900
44911
|
status: string;
|
|
43901
44912
|
}[];
|
|
43902
44913
|
};
|
|
@@ -44093,6 +45104,24 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
44093
45104
|
};
|
|
44094
45105
|
Returns: string;
|
|
44095
45106
|
};
|
|
45107
|
+
floriday_capture_stock_snapshot: {
|
|
45108
|
+
Args: never;
|
|
45109
|
+
Returns: number;
|
|
45110
|
+
};
|
|
45111
|
+
floriday_cleanup_stock_queue_v2: {
|
|
45112
|
+
Args: never;
|
|
45113
|
+
Returns: undefined;
|
|
45114
|
+
};
|
|
45115
|
+
floriday_compact_stock_snapshots: {
|
|
45116
|
+
Args: never;
|
|
45117
|
+
Returns: undefined;
|
|
45118
|
+
};
|
|
45119
|
+
floriday_default_owner: {
|
|
45120
|
+
Args: {
|
|
45121
|
+
p_connection_id: string;
|
|
45122
|
+
};
|
|
45123
|
+
Returns: string;
|
|
45124
|
+
};
|
|
44096
45125
|
floriday_effective_price: {
|
|
44097
45126
|
Args: {
|
|
44098
45127
|
_buyer_id: string;
|
|
@@ -44110,6 +45139,22 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
44110
45139
|
source_id: string;
|
|
44111
45140
|
}[];
|
|
44112
45141
|
};
|
|
45142
|
+
floriday_fill_publish_horizon: {
|
|
45143
|
+
Args: never;
|
|
45144
|
+
Returns: number;
|
|
45145
|
+
};
|
|
45146
|
+
floriday_publish_horizon_weeks: {
|
|
45147
|
+
Args: never;
|
|
45148
|
+
Returns: number;
|
|
45149
|
+
};
|
|
45150
|
+
floriday_recompute_inventory: {
|
|
45151
|
+
Args: {
|
|
45152
|
+
p_connection_id: string;
|
|
45153
|
+
p_force?: boolean;
|
|
45154
|
+
p_product_id: string;
|
|
45155
|
+
};
|
|
45156
|
+
Returns: undefined;
|
|
45157
|
+
};
|
|
44113
45158
|
format_cart_number: {
|
|
44114
45159
|
Args: {
|
|
44115
45160
|
p_pick_date: string;
|
|
@@ -44605,6 +45650,10 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
44605
45650
|
};
|
|
44606
45651
|
Returns: number;
|
|
44607
45652
|
};
|
|
45653
|
+
logistics_cancel_orphan_tasks: {
|
|
45654
|
+
Args: never;
|
|
45655
|
+
Returns: number;
|
|
45656
|
+
};
|
|
44608
45657
|
logistics_capacity_day_check: {
|
|
44609
45658
|
Args: {
|
|
44610
45659
|
p_from?: string;
|
|
@@ -44625,6 +45674,25 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
44625
45674
|
};
|
|
44626
45675
|
Returns: number;
|
|
44627
45676
|
};
|
|
45677
|
+
logistics_cart_index: {
|
|
45678
|
+
Args: {
|
|
45679
|
+
p_from?: string;
|
|
45680
|
+
p_to?: string;
|
|
45681
|
+
};
|
|
45682
|
+
Returns: {
|
|
45683
|
+
cart_id: string;
|
|
45684
|
+
cart_index: number;
|
|
45685
|
+
cart_label: string;
|
|
45686
|
+
is_shared: boolean;
|
|
45687
|
+
order_number: string;
|
|
45688
|
+
order_source: string;
|
|
45689
|
+
order_uuid: string;
|
|
45690
|
+
pick_date: string;
|
|
45691
|
+
printed_at: string;
|
|
45692
|
+
shifted: boolean;
|
|
45693
|
+
task_status: string;
|
|
45694
|
+
}[];
|
|
45695
|
+
};
|
|
44628
45696
|
logistics_check_order_allowed: {
|
|
44629
45697
|
Args: {
|
|
44630
45698
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -44773,6 +45841,17 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
44773
45841
|
isSetofReturn: false;
|
|
44774
45842
|
};
|
|
44775
45843
|
};
|
|
45844
|
+
logistics_consistency_check: {
|
|
45845
|
+
Args: never;
|
|
45846
|
+
Returns: {
|
|
45847
|
+
agenda_carts: number;
|
|
45848
|
+
control_carts: number;
|
|
45849
|
+
ok: boolean;
|
|
45850
|
+
orphan_tasks: number;
|
|
45851
|
+
pick_date: string;
|
|
45852
|
+
raw_carts: number;
|
|
45853
|
+
}[];
|
|
45854
|
+
};
|
|
44776
45855
|
logistics_delay_customer_email: {
|
|
44777
45856
|
Args: {
|
|
44778
45857
|
p_customer: string;
|
|
@@ -44862,6 +45941,16 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
44862
45941
|
isSetofReturn: false;
|
|
44863
45942
|
};
|
|
44864
45943
|
};
|
|
45944
|
+
logistics_floriday_cart_plan: {
|
|
45945
|
+
Args: {
|
|
45946
|
+
p_order_id: string;
|
|
45947
|
+
};
|
|
45948
|
+
Returns: {
|
|
45949
|
+
carrier_type: string;
|
|
45950
|
+
idx: number;
|
|
45951
|
+
packages: number;
|
|
45952
|
+
}[];
|
|
45953
|
+
};
|
|
44865
45954
|
logistics_floriday_claim_pushes: {
|
|
44866
45955
|
Args: {
|
|
44867
45956
|
_lease_seconds?: number;
|
|
@@ -44966,6 +46055,25 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
44966
46055
|
};
|
|
44967
46056
|
Returns: number;
|
|
44968
46057
|
};
|
|
46058
|
+
logistics_order_overview: {
|
|
46059
|
+
Args: {
|
|
46060
|
+
p_from?: string;
|
|
46061
|
+
p_to?: string;
|
|
46062
|
+
};
|
|
46063
|
+
Returns: {
|
|
46064
|
+
cart_count: number;
|
|
46065
|
+
customer_name: string;
|
|
46066
|
+
delivery_date: string;
|
|
46067
|
+
order_number: string;
|
|
46068
|
+
order_source: string;
|
|
46069
|
+
order_uuid: string;
|
|
46070
|
+
pick_date: string;
|
|
46071
|
+
plant_count: number;
|
|
46072
|
+
printed_at: string;
|
|
46073
|
+
shifted: boolean;
|
|
46074
|
+
status: string;
|
|
46075
|
+
}[];
|
|
46076
|
+
};
|
|
44969
46077
|
logistics_order_pick_day: {
|
|
44970
46078
|
Args: {
|
|
44971
46079
|
p_order_ref: string;
|
|
@@ -44978,6 +46086,22 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
44978
46086
|
};
|
|
44979
46087
|
Returns: string;
|
|
44980
46088
|
};
|
|
46089
|
+
logistics_pick_agenda: {
|
|
46090
|
+
Args: {
|
|
46091
|
+
p_from?: string;
|
|
46092
|
+
p_to?: string;
|
|
46093
|
+
};
|
|
46094
|
+
Returns: {
|
|
46095
|
+
cart_count: number;
|
|
46096
|
+
in_preparation: number;
|
|
46097
|
+
order_count: number;
|
|
46098
|
+
orders: import("../integrations/supabase/types").Json;
|
|
46099
|
+
pick_date: string;
|
|
46100
|
+
plant_count: number;
|
|
46101
|
+
ready: number;
|
|
46102
|
+
shifted_count: number;
|
|
46103
|
+
}[];
|
|
46104
|
+
};
|
|
44981
46105
|
logistics_pick_email_purpose: {
|
|
44982
46106
|
Args: never;
|
|
44983
46107
|
Returns: string;
|
|
@@ -45032,6 +46156,13 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
45032
46156
|
};
|
|
45033
46157
|
Returns: undefined;
|
|
45034
46158
|
};
|
|
46159
|
+
logistics_plan_floriday_order: {
|
|
46160
|
+
Args: {
|
|
46161
|
+
p_buffer_id?: string;
|
|
46162
|
+
p_order_id: string;
|
|
46163
|
+
};
|
|
46164
|
+
Returns: number;
|
|
46165
|
+
};
|
|
45035
46166
|
logistics_plan_impact_orders: {
|
|
45036
46167
|
Args: {
|
|
45037
46168
|
p_order_id: string;
|
|
@@ -45137,6 +46268,15 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
45137
46268
|
};
|
|
45138
46269
|
Returns: import("../integrations/supabase/types").Json;
|
|
45139
46270
|
};
|
|
46271
|
+
logistics_resolve_pick_document: {
|
|
46272
|
+
Args: {
|
|
46273
|
+
_is_herprint: boolean;
|
|
46274
|
+
_queue_item_id: string;
|
|
46275
|
+
_session_id: string;
|
|
46276
|
+
_voorbeeld: boolean;
|
|
46277
|
+
};
|
|
46278
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
46279
|
+
};
|
|
45140
46280
|
logistics_resolve_settings: {
|
|
45141
46281
|
Args: {
|
|
45142
46282
|
p_config_id: string;
|
|
@@ -45577,6 +46717,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
45577
46717
|
};
|
|
45578
46718
|
pick_enqueue_print_job: {
|
|
45579
46719
|
Args: {
|
|
46720
|
+
_is_herprint?: boolean;
|
|
45580
46721
|
_printer_id?: string;
|
|
45581
46722
|
_queue_item_id: string;
|
|
45582
46723
|
_session_id?: string;
|
|
@@ -45590,6 +46731,13 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
45590
46731
|
};
|
|
45591
46732
|
Returns: import("../integrations/supabase/types").Json;
|
|
45592
46733
|
};
|
|
46734
|
+
pick_preview_job: {
|
|
46735
|
+
Args: {
|
|
46736
|
+
_queue_item_id: string;
|
|
46737
|
+
_station_slug: string;
|
|
46738
|
+
};
|
|
46739
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
46740
|
+
};
|
|
45593
46741
|
pick_print_job_status: {
|
|
45594
46742
|
Args: {
|
|
45595
46743
|
_job_id: string;
|
|
@@ -45767,6 +46915,24 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
45767
46915
|
};
|
|
45768
46916
|
Returns: undefined;
|
|
45769
46917
|
};
|
|
46918
|
+
print_preview_toestaan: {
|
|
46919
|
+
Args: {
|
|
46920
|
+
_max?: number;
|
|
46921
|
+
_queue_item_id: string;
|
|
46922
|
+
_station_slug: string;
|
|
46923
|
+
_venster_sec?: number;
|
|
46924
|
+
};
|
|
46925
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
46926
|
+
};
|
|
46927
|
+
print_preview_weiger: {
|
|
46928
|
+
Args: {
|
|
46929
|
+
_code: string;
|
|
46930
|
+
_queue_item_id: string;
|
|
46931
|
+
_reden: string;
|
|
46932
|
+
_station_slug: string;
|
|
46933
|
+
};
|
|
46934
|
+
Returns: undefined;
|
|
46935
|
+
};
|
|
45770
46936
|
process_logistics_event: {
|
|
45771
46937
|
Args: {
|
|
45772
46938
|
p_event_id: string;
|
|
@@ -45921,6 +47087,12 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
45921
47087
|
};
|
|
45922
47088
|
Returns: string;
|
|
45923
47089
|
};
|
|
47090
|
+
resolve_print_job_printer_id: {
|
|
47091
|
+
Args: {
|
|
47092
|
+
_job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
47093
|
+
};
|
|
47094
|
+
Returns: string;
|
|
47095
|
+
};
|
|
45924
47096
|
resolve_product_id_for_item: {
|
|
45925
47097
|
Args: {
|
|
45926
47098
|
p_product_name: string;
|
|
@@ -46512,7 +47684,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
46512
47684
|
};
|
|
46513
47685
|
CompositeTypes: { [_ in never]: never; };
|
|
46514
47686
|
}, {
|
|
46515
|
-
PostgrestVersion: "14.
|
|
47687
|
+
PostgrestVersion: "14.5";
|
|
46516
47688
|
}>;
|
|
46517
47689
|
userId: string;
|
|
46518
47690
|
claims: import("@supabase/auth-js").User;
|