@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
|
@@ -3,7 +3,7 @@ export type Json = string | number | boolean | null | {
|
|
|
3
3
|
} | Json[];
|
|
4
4
|
export type Database = {
|
|
5
5
|
__InternalSupabase: {
|
|
6
|
-
PostgrestVersion: "14.
|
|
6
|
+
PostgrestVersion: "14.5";
|
|
7
7
|
};
|
|
8
8
|
public: {
|
|
9
9
|
Tables: {
|
|
@@ -2911,6 +2911,86 @@ export type Database = {
|
|
|
2911
2911
|
};
|
|
2912
2912
|
Relationships: [];
|
|
2913
2913
|
};
|
|
2914
|
+
delivery_notes: {
|
|
2915
|
+
Row: {
|
|
2916
|
+
byte_size: number | null;
|
|
2917
|
+
connection_id: string | null;
|
|
2918
|
+
content_type: string;
|
|
2919
|
+
created_at: string;
|
|
2920
|
+
error_message: string | null;
|
|
2921
|
+
fetched_at: string | null;
|
|
2922
|
+
fulfillment_order_id: string | null;
|
|
2923
|
+
http_status: number | null;
|
|
2924
|
+
id: string;
|
|
2925
|
+
label_code: string | null;
|
|
2926
|
+
letter: string | null;
|
|
2927
|
+
load_carrier_index: number | null;
|
|
2928
|
+
load_carrier_type: string | null;
|
|
2929
|
+
order_id: string | null;
|
|
2930
|
+
order_number: string | null;
|
|
2931
|
+
packages: number | null;
|
|
2932
|
+
source: string;
|
|
2933
|
+
status: string;
|
|
2934
|
+
storage_bucket: string;
|
|
2935
|
+
storage_path: string | null;
|
|
2936
|
+
updated_at: string;
|
|
2937
|
+
};
|
|
2938
|
+
Insert: {
|
|
2939
|
+
byte_size?: number | null;
|
|
2940
|
+
connection_id?: string | null;
|
|
2941
|
+
content_type?: string;
|
|
2942
|
+
created_at?: string;
|
|
2943
|
+
error_message?: string | null;
|
|
2944
|
+
fetched_at?: string | null;
|
|
2945
|
+
fulfillment_order_id?: string | null;
|
|
2946
|
+
http_status?: number | null;
|
|
2947
|
+
id?: string;
|
|
2948
|
+
label_code?: string | null;
|
|
2949
|
+
letter?: string | null;
|
|
2950
|
+
load_carrier_index?: number | null;
|
|
2951
|
+
load_carrier_type?: string | null;
|
|
2952
|
+
order_id?: string | null;
|
|
2953
|
+
order_number?: string | null;
|
|
2954
|
+
packages?: number | null;
|
|
2955
|
+
source?: string;
|
|
2956
|
+
status?: string;
|
|
2957
|
+
storage_bucket?: string;
|
|
2958
|
+
storage_path?: string | null;
|
|
2959
|
+
updated_at?: string;
|
|
2960
|
+
};
|
|
2961
|
+
Update: {
|
|
2962
|
+
byte_size?: number | null;
|
|
2963
|
+
connection_id?: string | null;
|
|
2964
|
+
content_type?: string;
|
|
2965
|
+
created_at?: string;
|
|
2966
|
+
error_message?: string | null;
|
|
2967
|
+
fetched_at?: string | null;
|
|
2968
|
+
fulfillment_order_id?: string | null;
|
|
2969
|
+
http_status?: number | null;
|
|
2970
|
+
id?: string;
|
|
2971
|
+
label_code?: string | null;
|
|
2972
|
+
letter?: string | null;
|
|
2973
|
+
load_carrier_index?: number | null;
|
|
2974
|
+
load_carrier_type?: string | null;
|
|
2975
|
+
order_id?: string | null;
|
|
2976
|
+
order_number?: string | null;
|
|
2977
|
+
packages?: number | null;
|
|
2978
|
+
source?: string;
|
|
2979
|
+
status?: string;
|
|
2980
|
+
storage_bucket?: string;
|
|
2981
|
+
storage_path?: string | null;
|
|
2982
|
+
updated_at?: string;
|
|
2983
|
+
};
|
|
2984
|
+
Relationships: [
|
|
2985
|
+
{
|
|
2986
|
+
foreignKeyName: "delivery_notes_order_id_fkey";
|
|
2987
|
+
columns: ["order_id"];
|
|
2988
|
+
isOneToOne: false;
|
|
2989
|
+
referencedRelation: "orders";
|
|
2990
|
+
referencedColumns: ["id"];
|
|
2991
|
+
}
|
|
2992
|
+
];
|
|
2993
|
+
};
|
|
2914
2994
|
document_bronregels: {
|
|
2915
2995
|
Row: {
|
|
2916
2996
|
bron: string;
|
|
@@ -6048,10 +6128,7 @@ export type Database = {
|
|
|
6048
6128
|
};
|
|
6049
6129
|
floriday_connections: {
|
|
6050
6130
|
Row: {
|
|
6051
|
-
access_token: string | null;
|
|
6052
6131
|
api_key: string;
|
|
6053
|
-
client_id: string;
|
|
6054
|
-
client_secret: string;
|
|
6055
6132
|
created_at: string;
|
|
6056
6133
|
customers_endpoint: string | null;
|
|
6057
6134
|
environment: string;
|
|
@@ -6066,10 +6143,7 @@ export type Database = {
|
|
|
6066
6143
|
updated_at: string;
|
|
6067
6144
|
};
|
|
6068
6145
|
Insert: {
|
|
6069
|
-
access_token?: string | null;
|
|
6070
6146
|
api_key: string;
|
|
6071
|
-
client_id: string;
|
|
6072
|
-
client_secret: string;
|
|
6073
6147
|
created_at?: string;
|
|
6074
6148
|
customers_endpoint?: string | null;
|
|
6075
6149
|
environment: string;
|
|
@@ -6084,10 +6158,7 @@ export type Database = {
|
|
|
6084
6158
|
updated_at?: string;
|
|
6085
6159
|
};
|
|
6086
6160
|
Update: {
|
|
6087
|
-
access_token?: string | null;
|
|
6088
6161
|
api_key?: string;
|
|
6089
|
-
client_id?: string;
|
|
6090
|
-
client_secret?: string;
|
|
6091
6162
|
created_at?: string;
|
|
6092
6163
|
customers_endpoint?: string | null;
|
|
6093
6164
|
environment?: string;
|
|
@@ -6173,6 +6244,7 @@ export type Database = {
|
|
|
6173
6244
|
attempts: number;
|
|
6174
6245
|
connection_id: string;
|
|
6175
6246
|
created_at: string;
|
|
6247
|
+
dead_lettered_at: string | null;
|
|
6176
6248
|
desired_available: boolean | null;
|
|
6177
6249
|
gateway_attempt_id: string | null;
|
|
6178
6250
|
id: string;
|
|
@@ -6181,9 +6253,13 @@ export type Database = {
|
|
|
6181
6253
|
locked_by: string | null;
|
|
6182
6254
|
next_attempt_at: string;
|
|
6183
6255
|
number_of_pieces: number;
|
|
6256
|
+
product_id: string | null;
|
|
6184
6257
|
sent_at: string | null;
|
|
6185
6258
|
status: string;
|
|
6259
|
+
stock_mode: string | null;
|
|
6186
6260
|
superseded_by: string | null;
|
|
6261
|
+
target_week: number | null;
|
|
6262
|
+
target_year: number | null;
|
|
6187
6263
|
trade_item_id: string;
|
|
6188
6264
|
updated_at: string;
|
|
6189
6265
|
user_id: string;
|
|
@@ -6192,6 +6268,7 @@ export type Database = {
|
|
|
6192
6268
|
attempts?: number;
|
|
6193
6269
|
connection_id: string;
|
|
6194
6270
|
created_at?: string;
|
|
6271
|
+
dead_lettered_at?: string | null;
|
|
6195
6272
|
desired_available?: boolean | null;
|
|
6196
6273
|
gateway_attempt_id?: string | null;
|
|
6197
6274
|
id?: string;
|
|
@@ -6200,9 +6277,13 @@ export type Database = {
|
|
|
6200
6277
|
locked_by?: string | null;
|
|
6201
6278
|
next_attempt_at?: string;
|
|
6202
6279
|
number_of_pieces?: number;
|
|
6280
|
+
product_id?: string | null;
|
|
6203
6281
|
sent_at?: string | null;
|
|
6204
6282
|
status?: string;
|
|
6283
|
+
stock_mode?: string | null;
|
|
6205
6284
|
superseded_by?: string | null;
|
|
6285
|
+
target_week?: number | null;
|
|
6286
|
+
target_year?: number | null;
|
|
6206
6287
|
trade_item_id: string;
|
|
6207
6288
|
updated_at?: string;
|
|
6208
6289
|
user_id: string;
|
|
@@ -6211,6 +6292,7 @@ export type Database = {
|
|
|
6211
6292
|
attempts?: number;
|
|
6212
6293
|
connection_id?: string;
|
|
6213
6294
|
created_at?: string;
|
|
6295
|
+
dead_lettered_at?: string | null;
|
|
6214
6296
|
desired_available?: boolean | null;
|
|
6215
6297
|
gateway_attempt_id?: string | null;
|
|
6216
6298
|
id?: string;
|
|
@@ -6219,9 +6301,13 @@ export type Database = {
|
|
|
6219
6301
|
locked_by?: string | null;
|
|
6220
6302
|
next_attempt_at?: string;
|
|
6221
6303
|
number_of_pieces?: number;
|
|
6304
|
+
product_id?: string | null;
|
|
6222
6305
|
sent_at?: string | null;
|
|
6223
6306
|
status?: string;
|
|
6307
|
+
stock_mode?: string | null;
|
|
6224
6308
|
superseded_by?: string | null;
|
|
6309
|
+
target_week?: number | null;
|
|
6310
|
+
target_year?: number | null;
|
|
6225
6311
|
trade_item_id?: string;
|
|
6226
6312
|
updated_at?: string;
|
|
6227
6313
|
user_id?: string;
|
|
@@ -6648,6 +6734,87 @@ export type Database = {
|
|
|
6648
6734
|
}
|
|
6649
6735
|
];
|
|
6650
6736
|
};
|
|
6737
|
+
floriday_inventory_settings: {
|
|
6738
|
+
Row: {
|
|
6739
|
+
buffer_quantity: number;
|
|
6740
|
+
connection_id: string;
|
|
6741
|
+
created_at: string;
|
|
6742
|
+
desired_availability: boolean;
|
|
6743
|
+
desired_quantity: number;
|
|
6744
|
+
fixed_quantity: number | null;
|
|
6745
|
+
floriday_trade_item_id: string | null;
|
|
6746
|
+
id: string;
|
|
6747
|
+
last_confirmed_at: string | null;
|
|
6748
|
+
last_enqueued_at: string | null;
|
|
6749
|
+
last_published_at: string | null;
|
|
6750
|
+
last_sync_error: string | null;
|
|
6751
|
+
manual_quantity: number | null;
|
|
6752
|
+
maximum_quantity: number | null;
|
|
6753
|
+
product_id: string;
|
|
6754
|
+
quantity_control: string;
|
|
6755
|
+
remote_available: boolean | null;
|
|
6756
|
+
remote_checked_at: string | null;
|
|
6757
|
+
remote_quantity: number | null;
|
|
6758
|
+
stock_mode: string;
|
|
6759
|
+
sync_status: string;
|
|
6760
|
+
updated_at: string;
|
|
6761
|
+
updated_by: string | null;
|
|
6762
|
+
user_id: string;
|
|
6763
|
+
};
|
|
6764
|
+
Insert: {
|
|
6765
|
+
buffer_quantity?: number;
|
|
6766
|
+
connection_id: string;
|
|
6767
|
+
created_at?: string;
|
|
6768
|
+
desired_availability?: boolean;
|
|
6769
|
+
desired_quantity?: number;
|
|
6770
|
+
fixed_quantity?: number | null;
|
|
6771
|
+
floriday_trade_item_id?: string | null;
|
|
6772
|
+
id?: string;
|
|
6773
|
+
last_confirmed_at?: string | null;
|
|
6774
|
+
last_enqueued_at?: string | null;
|
|
6775
|
+
last_published_at?: string | null;
|
|
6776
|
+
last_sync_error?: string | null;
|
|
6777
|
+
manual_quantity?: number | null;
|
|
6778
|
+
maximum_quantity?: number | null;
|
|
6779
|
+
product_id: string;
|
|
6780
|
+
quantity_control?: string;
|
|
6781
|
+
remote_available?: boolean | null;
|
|
6782
|
+
remote_checked_at?: string | null;
|
|
6783
|
+
remote_quantity?: number | null;
|
|
6784
|
+
stock_mode?: string;
|
|
6785
|
+
sync_status?: string;
|
|
6786
|
+
updated_at?: string;
|
|
6787
|
+
updated_by?: string | null;
|
|
6788
|
+
user_id: string;
|
|
6789
|
+
};
|
|
6790
|
+
Update: {
|
|
6791
|
+
buffer_quantity?: number;
|
|
6792
|
+
connection_id?: string;
|
|
6793
|
+
created_at?: string;
|
|
6794
|
+
desired_availability?: boolean;
|
|
6795
|
+
desired_quantity?: number;
|
|
6796
|
+
fixed_quantity?: number | null;
|
|
6797
|
+
floriday_trade_item_id?: string | null;
|
|
6798
|
+
id?: string;
|
|
6799
|
+
last_confirmed_at?: string | null;
|
|
6800
|
+
last_enqueued_at?: string | null;
|
|
6801
|
+
last_published_at?: string | null;
|
|
6802
|
+
last_sync_error?: string | null;
|
|
6803
|
+
manual_quantity?: number | null;
|
|
6804
|
+
maximum_quantity?: number | null;
|
|
6805
|
+
product_id?: string;
|
|
6806
|
+
quantity_control?: string;
|
|
6807
|
+
remote_available?: boolean | null;
|
|
6808
|
+
remote_checked_at?: string | null;
|
|
6809
|
+
remote_quantity?: number | null;
|
|
6810
|
+
stock_mode?: string;
|
|
6811
|
+
sync_status?: string;
|
|
6812
|
+
updated_at?: string;
|
|
6813
|
+
updated_by?: string | null;
|
|
6814
|
+
user_id?: string;
|
|
6815
|
+
};
|
|
6816
|
+
Relationships: [];
|
|
6817
|
+
};
|
|
6651
6818
|
floriday_invoices_cache: {
|
|
6652
6819
|
Row: {
|
|
6653
6820
|
buyer_organization_id: string | null;
|
|
@@ -6944,6 +7111,39 @@ export type Database = {
|
|
|
6944
7111
|
};
|
|
6945
7112
|
Relationships: [];
|
|
6946
7113
|
};
|
|
7114
|
+
floriday_sales_order_ingest: {
|
|
7115
|
+
Row: {
|
|
7116
|
+
connection_id: string;
|
|
7117
|
+
created_at: string;
|
|
7118
|
+
id: string;
|
|
7119
|
+
impact: Json;
|
|
7120
|
+
order_status: string | null;
|
|
7121
|
+
order_version: number;
|
|
7122
|
+
processed_at: string;
|
|
7123
|
+
sales_order_id: string;
|
|
7124
|
+
};
|
|
7125
|
+
Insert: {
|
|
7126
|
+
connection_id: string;
|
|
7127
|
+
created_at?: string;
|
|
7128
|
+
id?: string;
|
|
7129
|
+
impact?: Json;
|
|
7130
|
+
order_status?: string | null;
|
|
7131
|
+
order_version?: number;
|
|
7132
|
+
processed_at?: string;
|
|
7133
|
+
sales_order_id: string;
|
|
7134
|
+
};
|
|
7135
|
+
Update: {
|
|
7136
|
+
connection_id?: string;
|
|
7137
|
+
created_at?: string;
|
|
7138
|
+
id?: string;
|
|
7139
|
+
impact?: Json;
|
|
7140
|
+
order_status?: string | null;
|
|
7141
|
+
order_version?: number;
|
|
7142
|
+
processed_at?: string;
|
|
7143
|
+
sales_order_id?: string;
|
|
7144
|
+
};
|
|
7145
|
+
Relationships: [];
|
|
7146
|
+
};
|
|
6947
7147
|
floriday_sales_strategies_cache: {
|
|
6948
7148
|
Row: {
|
|
6949
7149
|
connection_id: string;
|
|
@@ -7047,6 +7247,39 @@ export type Database = {
|
|
|
7047
7247
|
};
|
|
7048
7248
|
Relationships: [];
|
|
7049
7249
|
};
|
|
7250
|
+
floriday_sync_cursors: {
|
|
7251
|
+
Row: {
|
|
7252
|
+
connection_id: string;
|
|
7253
|
+
created_at: string;
|
|
7254
|
+
id: string;
|
|
7255
|
+
last_error: string | null;
|
|
7256
|
+
last_sync_at: string | null;
|
|
7257
|
+
resource_type: string;
|
|
7258
|
+
sequence_number: number;
|
|
7259
|
+
updated_at: string;
|
|
7260
|
+
};
|
|
7261
|
+
Insert: {
|
|
7262
|
+
connection_id: string;
|
|
7263
|
+
created_at?: string;
|
|
7264
|
+
id?: string;
|
|
7265
|
+
last_error?: string | null;
|
|
7266
|
+
last_sync_at?: string | null;
|
|
7267
|
+
resource_type: string;
|
|
7268
|
+
sequence_number?: number;
|
|
7269
|
+
updated_at?: string;
|
|
7270
|
+
};
|
|
7271
|
+
Update: {
|
|
7272
|
+
connection_id?: string;
|
|
7273
|
+
created_at?: string;
|
|
7274
|
+
id?: string;
|
|
7275
|
+
last_error?: string | null;
|
|
7276
|
+
last_sync_at?: string | null;
|
|
7277
|
+
resource_type?: string;
|
|
7278
|
+
sequence_number?: number;
|
|
7279
|
+
updated_at?: string;
|
|
7280
|
+
};
|
|
7281
|
+
Relationships: [];
|
|
7282
|
+
};
|
|
7050
7283
|
floriday_sync_state: {
|
|
7051
7284
|
Row: {
|
|
7052
7285
|
connection_id: string;
|
|
@@ -7762,6 +7995,42 @@ export type Database = {
|
|
|
7762
7995
|
};
|
|
7763
7996
|
Relationships: [];
|
|
7764
7997
|
};
|
|
7998
|
+
inventory_stock_snapshots: {
|
|
7999
|
+
Row: {
|
|
8000
|
+
connection_id: string;
|
|
8001
|
+
created_at: string;
|
|
8002
|
+
erp_available_quantity: number;
|
|
8003
|
+
floriday_desired_quantity: number;
|
|
8004
|
+
floriday_remote_quantity: number | null;
|
|
8005
|
+
granularity: string;
|
|
8006
|
+
id: string;
|
|
8007
|
+
snapshot_at: string;
|
|
8008
|
+
user_id: string | null;
|
|
8009
|
+
};
|
|
8010
|
+
Insert: {
|
|
8011
|
+
connection_id: string;
|
|
8012
|
+
created_at?: string;
|
|
8013
|
+
erp_available_quantity?: number;
|
|
8014
|
+
floriday_desired_quantity?: number;
|
|
8015
|
+
floriday_remote_quantity?: number | null;
|
|
8016
|
+
granularity?: string;
|
|
8017
|
+
id?: string;
|
|
8018
|
+
snapshot_at?: string;
|
|
8019
|
+
user_id?: string | null;
|
|
8020
|
+
};
|
|
8021
|
+
Update: {
|
|
8022
|
+
connection_id?: string;
|
|
8023
|
+
created_at?: string;
|
|
8024
|
+
erp_available_quantity?: number;
|
|
8025
|
+
floriday_desired_quantity?: number;
|
|
8026
|
+
floriday_remote_quantity?: number | null;
|
|
8027
|
+
granularity?: string;
|
|
8028
|
+
id?: string;
|
|
8029
|
+
snapshot_at?: string;
|
|
8030
|
+
user_id?: string | null;
|
|
8031
|
+
};
|
|
8032
|
+
Relationships: [];
|
|
8033
|
+
};
|
|
7765
8034
|
invoice_items: {
|
|
7766
8035
|
Row: {
|
|
7767
8036
|
created_at: string;
|
|
@@ -13956,6 +14225,39 @@ export type Database = {
|
|
|
13956
14225
|
};
|
|
13957
14226
|
Relationships: [];
|
|
13958
14227
|
};
|
|
14228
|
+
print_dedupe_events: {
|
|
14229
|
+
Row: {
|
|
14230
|
+
bestaande_job_id: string | null;
|
|
14231
|
+
created_at: string;
|
|
14232
|
+
detail: string | null;
|
|
14233
|
+
documentnaam: string | null;
|
|
14234
|
+
documenttype: string | null;
|
|
14235
|
+
id: string;
|
|
14236
|
+
idempotentie_sleutel: string;
|
|
14237
|
+
reden: string;
|
|
14238
|
+
};
|
|
14239
|
+
Insert: {
|
|
14240
|
+
bestaande_job_id?: string | null;
|
|
14241
|
+
created_at?: string;
|
|
14242
|
+
detail?: string | null;
|
|
14243
|
+
documentnaam?: string | null;
|
|
14244
|
+
documenttype?: string | null;
|
|
14245
|
+
id?: string;
|
|
14246
|
+
idempotentie_sleutel: string;
|
|
14247
|
+
reden: string;
|
|
14248
|
+
};
|
|
14249
|
+
Update: {
|
|
14250
|
+
bestaande_job_id?: string | null;
|
|
14251
|
+
created_at?: string;
|
|
14252
|
+
detail?: string | null;
|
|
14253
|
+
documentnaam?: string | null;
|
|
14254
|
+
documenttype?: string | null;
|
|
14255
|
+
id?: string;
|
|
14256
|
+
idempotentie_sleutel?: string;
|
|
14257
|
+
reden?: string;
|
|
14258
|
+
};
|
|
14259
|
+
Relationships: [];
|
|
14260
|
+
};
|
|
13959
14261
|
print_job_logs: {
|
|
13960
14262
|
Row: {
|
|
13961
14263
|
created_at: string;
|
|
@@ -14008,6 +14310,9 @@ export type Database = {
|
|
|
14008
14310
|
is_herprint: boolean;
|
|
14009
14311
|
kopieen: number;
|
|
14010
14312
|
layout_id: string | null;
|
|
14313
|
+
lokaal_opgeslagen_op: string | null;
|
|
14314
|
+
lokale_pdf_fout: string | null;
|
|
14315
|
+
lokale_pdf_status: string | null;
|
|
14011
14316
|
opgepakt_op: string | null;
|
|
14012
14317
|
paginas: number;
|
|
14013
14318
|
payload: Json;
|
|
@@ -14016,6 +14321,7 @@ export type Database = {
|
|
|
14016
14321
|
pogingen: number;
|
|
14017
14322
|
printer_id: string | null;
|
|
14018
14323
|
render_html: string | null;
|
|
14324
|
+
resultaat_pdf_base64: string | null;
|
|
14019
14325
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
14020
14326
|
updated_at: string;
|
|
14021
14327
|
volgende_poging: string | null;
|
|
@@ -14040,6 +14346,9 @@ export type Database = {
|
|
|
14040
14346
|
is_herprint?: boolean;
|
|
14041
14347
|
kopieen?: number;
|
|
14042
14348
|
layout_id?: string | null;
|
|
14349
|
+
lokaal_opgeslagen_op?: string | null;
|
|
14350
|
+
lokale_pdf_fout?: string | null;
|
|
14351
|
+
lokale_pdf_status?: string | null;
|
|
14043
14352
|
opgepakt_op?: string | null;
|
|
14044
14353
|
paginas?: number;
|
|
14045
14354
|
payload?: Json;
|
|
@@ -14048,6 +14357,7 @@ export type Database = {
|
|
|
14048
14357
|
pogingen?: number;
|
|
14049
14358
|
printer_id?: string | null;
|
|
14050
14359
|
render_html?: string | null;
|
|
14360
|
+
resultaat_pdf_base64?: string | null;
|
|
14051
14361
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
14052
14362
|
updated_at?: string;
|
|
14053
14363
|
volgende_poging?: string | null;
|
|
@@ -14072,6 +14382,9 @@ export type Database = {
|
|
|
14072
14382
|
is_herprint?: boolean;
|
|
14073
14383
|
kopieen?: number;
|
|
14074
14384
|
layout_id?: string | null;
|
|
14385
|
+
lokaal_opgeslagen_op?: string | null;
|
|
14386
|
+
lokale_pdf_fout?: string | null;
|
|
14387
|
+
lokale_pdf_status?: string | null;
|
|
14075
14388
|
opgepakt_op?: string | null;
|
|
14076
14389
|
paginas?: number;
|
|
14077
14390
|
payload?: Json;
|
|
@@ -14080,6 +14393,7 @@ export type Database = {
|
|
|
14080
14393
|
pogingen?: number;
|
|
14081
14394
|
printer_id?: string | null;
|
|
14082
14395
|
render_html?: string | null;
|
|
14396
|
+
resultaat_pdf_base64?: string | null;
|
|
14083
14397
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
14084
14398
|
updated_at?: string;
|
|
14085
14399
|
volgende_poging?: string | null;
|
|
@@ -14206,6 +14520,39 @@ export type Database = {
|
|
|
14206
14520
|
};
|
|
14207
14521
|
Relationships: [];
|
|
14208
14522
|
};
|
|
14523
|
+
print_preview_events: {
|
|
14524
|
+
Row: {
|
|
14525
|
+
code: string | null;
|
|
14526
|
+
created_at: string;
|
|
14527
|
+
detail: Json;
|
|
14528
|
+
id: string;
|
|
14529
|
+
queue_item_id: string | null;
|
|
14530
|
+
reden: string | null;
|
|
14531
|
+
station_slug: string | null;
|
|
14532
|
+
uitkomst: string;
|
|
14533
|
+
};
|
|
14534
|
+
Insert: {
|
|
14535
|
+
code?: string | null;
|
|
14536
|
+
created_at?: string;
|
|
14537
|
+
detail?: Json;
|
|
14538
|
+
id?: string;
|
|
14539
|
+
queue_item_id?: string | null;
|
|
14540
|
+
reden?: string | null;
|
|
14541
|
+
station_slug?: string | null;
|
|
14542
|
+
uitkomst?: string;
|
|
14543
|
+
};
|
|
14544
|
+
Update: {
|
|
14545
|
+
code?: string | null;
|
|
14546
|
+
created_at?: string;
|
|
14547
|
+
detail?: Json;
|
|
14548
|
+
id?: string;
|
|
14549
|
+
queue_item_id?: string | null;
|
|
14550
|
+
reden?: string | null;
|
|
14551
|
+
station_slug?: string | null;
|
|
14552
|
+
uitkomst?: string;
|
|
14553
|
+
};
|
|
14554
|
+
Relationships: [];
|
|
14555
|
+
};
|
|
14209
14556
|
print_queue_runners: {
|
|
14210
14557
|
Row: {
|
|
14211
14558
|
actief: boolean;
|
|
@@ -14453,6 +14800,7 @@ export type Database = {
|
|
|
14453
14800
|
ondersteunde_laden: Json | null;
|
|
14454
14801
|
online: boolean;
|
|
14455
14802
|
papierformaat: string;
|
|
14803
|
+
pdf_map: string | null;
|
|
14456
14804
|
poort: number | null;
|
|
14457
14805
|
soort: Database["public"]["Enums"]["printer_kind"];
|
|
14458
14806
|
systeemnaam: string;
|
|
@@ -14478,6 +14826,7 @@ export type Database = {
|
|
|
14478
14826
|
ondersteunde_laden?: Json | null;
|
|
14479
14827
|
online?: boolean;
|
|
14480
14828
|
papierformaat?: string;
|
|
14829
|
+
pdf_map?: string | null;
|
|
14481
14830
|
poort?: number | null;
|
|
14482
14831
|
soort?: Database["public"]["Enums"]["printer_kind"];
|
|
14483
14832
|
systeemnaam?: string;
|
|
@@ -14503,6 +14852,7 @@ export type Database = {
|
|
|
14503
14852
|
ondersteunde_laden?: Json | null;
|
|
14504
14853
|
online?: boolean;
|
|
14505
14854
|
papierformaat?: string;
|
|
14855
|
+
pdf_map?: string | null;
|
|
14506
14856
|
poort?: number | null;
|
|
14507
14857
|
soort?: Database["public"]["Enums"]["printer_kind"];
|
|
14508
14858
|
systeemnaam?: string;
|
|
@@ -17153,6 +17503,7 @@ export type Database = {
|
|
|
17153
17503
|
};
|
|
17154
17504
|
trade_item_stock: {
|
|
17155
17505
|
Row: {
|
|
17506
|
+
change_source: string;
|
|
17156
17507
|
connection_id: string;
|
|
17157
17508
|
created_at: string;
|
|
17158
17509
|
id: string;
|
|
@@ -17166,6 +17517,7 @@ export type Database = {
|
|
|
17166
17517
|
user_id: string;
|
|
17167
17518
|
};
|
|
17168
17519
|
Insert: {
|
|
17520
|
+
change_source?: string;
|
|
17169
17521
|
connection_id: string;
|
|
17170
17522
|
created_at?: string;
|
|
17171
17523
|
id?: string;
|
|
@@ -17179,6 +17531,7 @@ export type Database = {
|
|
|
17179
17531
|
user_id: string;
|
|
17180
17532
|
};
|
|
17181
17533
|
Update: {
|
|
17534
|
+
change_source?: string;
|
|
17182
17535
|
connection_id?: string;
|
|
17183
17536
|
created_at?: string;
|
|
17184
17537
|
id?: string;
|
|
@@ -20859,6 +21212,18 @@ export type Database = {
|
|
|
20859
21212
|
Args: never;
|
|
20860
21213
|
Returns: number;
|
|
20861
21214
|
};
|
|
21215
|
+
calculate_floriday_desired_stock: {
|
|
21216
|
+
Args: {
|
|
21217
|
+
p_connection_id: string;
|
|
21218
|
+
p_product_id: string;
|
|
21219
|
+
};
|
|
21220
|
+
Returns: {
|
|
21221
|
+
desired_availability: boolean;
|
|
21222
|
+
desired_quantity: number;
|
|
21223
|
+
erp_available: number;
|
|
21224
|
+
stock_mode: string;
|
|
21225
|
+
}[];
|
|
21226
|
+
};
|
|
20862
21227
|
calculate_layer_stock: {
|
|
20863
21228
|
Args: {
|
|
20864
21229
|
p_product_id: string;
|
|
@@ -20920,6 +21285,9 @@ export type Database = {
|
|
|
20920
21285
|
is_herprint: boolean;
|
|
20921
21286
|
kopieen: number;
|
|
20922
21287
|
layout_id: string | null;
|
|
21288
|
+
lokaal_opgeslagen_op: string | null;
|
|
21289
|
+
lokale_pdf_fout: string | null;
|
|
21290
|
+
lokale_pdf_status: string | null;
|
|
20923
21291
|
opgepakt_op: string | null;
|
|
20924
21292
|
paginas: number;
|
|
20925
21293
|
payload: Json;
|
|
@@ -20928,6 +21296,7 @@ export type Database = {
|
|
|
20928
21296
|
pogingen: number;
|
|
20929
21297
|
printer_id: string | null;
|
|
20930
21298
|
render_html: string | null;
|
|
21299
|
+
resultaat_pdf_base64: string | null;
|
|
20931
21300
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
20932
21301
|
updated_at: string;
|
|
20933
21302
|
volgende_poging: string | null;
|
|
@@ -20949,6 +21318,7 @@ export type Database = {
|
|
|
20949
21318
|
attempts: number;
|
|
20950
21319
|
connection_id: string;
|
|
20951
21320
|
created_at: string;
|
|
21321
|
+
dead_lettered_at: string | null;
|
|
20952
21322
|
desired_available: boolean | null;
|
|
20953
21323
|
gateway_attempt_id: string | null;
|
|
20954
21324
|
id: string;
|
|
@@ -20957,9 +21327,13 @@ export type Database = {
|
|
|
20957
21327
|
locked_by: string | null;
|
|
20958
21328
|
next_attempt_at: string;
|
|
20959
21329
|
number_of_pieces: number;
|
|
21330
|
+
product_id: string | null;
|
|
20960
21331
|
sent_at: string | null;
|
|
20961
21332
|
status: string;
|
|
21333
|
+
stock_mode: string | null;
|
|
20962
21334
|
superseded_by: string | null;
|
|
21335
|
+
target_week: number | null;
|
|
21336
|
+
target_year: number | null;
|
|
20963
21337
|
trade_item_id: string;
|
|
20964
21338
|
updated_at: string;
|
|
20965
21339
|
user_id: string;
|
|
@@ -21019,6 +21393,53 @@ export type Database = {
|
|
|
21019
21393
|
isSetofReturn: true;
|
|
21020
21394
|
};
|
|
21021
21395
|
};
|
|
21396
|
+
claim_pdf_print_jobs: {
|
|
21397
|
+
Args: {
|
|
21398
|
+
_max?: number;
|
|
21399
|
+
};
|
|
21400
|
+
Returns: {
|
|
21401
|
+
agent_id: string | null;
|
|
21402
|
+
bron_job_id: string | null;
|
|
21403
|
+
created_at: string;
|
|
21404
|
+
documentnaam: string;
|
|
21405
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
21406
|
+
extern_job_id: string | null;
|
|
21407
|
+
foutmelding: string | null;
|
|
21408
|
+
gebruiker_id: string | null;
|
|
21409
|
+
gebruiker_naam: string;
|
|
21410
|
+
gebruikte_bron: string | null;
|
|
21411
|
+
gebruikte_layout_id: string | null;
|
|
21412
|
+
gestart_op: string | null;
|
|
21413
|
+
herkomst: string | null;
|
|
21414
|
+
id: string;
|
|
21415
|
+
idempotentie_sleutel: string | null;
|
|
21416
|
+
is_herprint: boolean;
|
|
21417
|
+
kopieen: number;
|
|
21418
|
+
layout_id: string | null;
|
|
21419
|
+
lokaal_opgeslagen_op: string | null;
|
|
21420
|
+
lokale_pdf_fout: string | null;
|
|
21421
|
+
lokale_pdf_status: string | null;
|
|
21422
|
+
opgepakt_op: string | null;
|
|
21423
|
+
paginas: number;
|
|
21424
|
+
payload: Json;
|
|
21425
|
+
pdf_base64: string | null;
|
|
21426
|
+
pdf_url: string | null;
|
|
21427
|
+
pogingen: number;
|
|
21428
|
+
printer_id: string | null;
|
|
21429
|
+
render_html: string | null;
|
|
21430
|
+
resultaat_pdf_base64: string | null;
|
|
21431
|
+
status: Database["public"]["Enums"]["print_job_status"];
|
|
21432
|
+
updated_at: string;
|
|
21433
|
+
volgende_poging: string | null;
|
|
21434
|
+
voltooid_op: string | null;
|
|
21435
|
+
}[];
|
|
21436
|
+
SetofOptions: {
|
|
21437
|
+
from: "*";
|
|
21438
|
+
to: "print_jobs";
|
|
21439
|
+
isOneToOne: false;
|
|
21440
|
+
isSetofReturn: true;
|
|
21441
|
+
};
|
|
21442
|
+
};
|
|
21022
21443
|
claim_print_jobs: {
|
|
21023
21444
|
Args: {
|
|
21024
21445
|
_agent_id: string;
|
|
@@ -21043,6 +21464,9 @@ export type Database = {
|
|
|
21043
21464
|
is_herprint: boolean;
|
|
21044
21465
|
kopieen: number;
|
|
21045
21466
|
layout_id: string | null;
|
|
21467
|
+
lokaal_opgeslagen_op: string | null;
|
|
21468
|
+
lokale_pdf_fout: string | null;
|
|
21469
|
+
lokale_pdf_status: string | null;
|
|
21046
21470
|
opgepakt_op: string | null;
|
|
21047
21471
|
paginas: number;
|
|
21048
21472
|
payload: Json;
|
|
@@ -21051,6 +21475,7 @@ export type Database = {
|
|
|
21051
21475
|
pogingen: number;
|
|
21052
21476
|
printer_id: string | null;
|
|
21053
21477
|
render_html: string | null;
|
|
21478
|
+
resultaat_pdf_base64: string | null;
|
|
21054
21479
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
21055
21480
|
updated_at: string;
|
|
21056
21481
|
volgende_poging: string | null;
|
|
@@ -21191,6 +21616,8 @@ export type Database = {
|
|
|
21191
21616
|
order_id: string;
|
|
21192
21617
|
order_source: string;
|
|
21193
21618
|
pick_date: string;
|
|
21619
|
+
printed_at: string;
|
|
21620
|
+
printed_today: boolean;
|
|
21194
21621
|
status: string;
|
|
21195
21622
|
}[];
|
|
21196
21623
|
};
|
|
@@ -21387,6 +21814,24 @@ export type Database = {
|
|
|
21387
21814
|
};
|
|
21388
21815
|
Returns: string;
|
|
21389
21816
|
};
|
|
21817
|
+
floriday_capture_stock_snapshot: {
|
|
21818
|
+
Args: never;
|
|
21819
|
+
Returns: number;
|
|
21820
|
+
};
|
|
21821
|
+
floriday_cleanup_stock_queue_v2: {
|
|
21822
|
+
Args: never;
|
|
21823
|
+
Returns: undefined;
|
|
21824
|
+
};
|
|
21825
|
+
floriday_compact_stock_snapshots: {
|
|
21826
|
+
Args: never;
|
|
21827
|
+
Returns: undefined;
|
|
21828
|
+
};
|
|
21829
|
+
floriday_default_owner: {
|
|
21830
|
+
Args: {
|
|
21831
|
+
p_connection_id: string;
|
|
21832
|
+
};
|
|
21833
|
+
Returns: string;
|
|
21834
|
+
};
|
|
21390
21835
|
floriday_effective_price: {
|
|
21391
21836
|
Args: {
|
|
21392
21837
|
_buyer_id: string;
|
|
@@ -21404,6 +21849,22 @@ export type Database = {
|
|
|
21404
21849
|
source_id: string;
|
|
21405
21850
|
}[];
|
|
21406
21851
|
};
|
|
21852
|
+
floriday_fill_publish_horizon: {
|
|
21853
|
+
Args: never;
|
|
21854
|
+
Returns: number;
|
|
21855
|
+
};
|
|
21856
|
+
floriday_publish_horizon_weeks: {
|
|
21857
|
+
Args: never;
|
|
21858
|
+
Returns: number;
|
|
21859
|
+
};
|
|
21860
|
+
floriday_recompute_inventory: {
|
|
21861
|
+
Args: {
|
|
21862
|
+
p_connection_id: string;
|
|
21863
|
+
p_force?: boolean;
|
|
21864
|
+
p_product_id: string;
|
|
21865
|
+
};
|
|
21866
|
+
Returns: undefined;
|
|
21867
|
+
};
|
|
21407
21868
|
format_cart_number: {
|
|
21408
21869
|
Args: {
|
|
21409
21870
|
p_pick_date: string;
|
|
@@ -21899,6 +22360,10 @@ export type Database = {
|
|
|
21899
22360
|
};
|
|
21900
22361
|
Returns: number;
|
|
21901
22362
|
};
|
|
22363
|
+
logistics_cancel_orphan_tasks: {
|
|
22364
|
+
Args: never;
|
|
22365
|
+
Returns: number;
|
|
22366
|
+
};
|
|
21902
22367
|
logistics_capacity_day_check: {
|
|
21903
22368
|
Args: {
|
|
21904
22369
|
p_from?: string;
|
|
@@ -21919,6 +22384,25 @@ export type Database = {
|
|
|
21919
22384
|
};
|
|
21920
22385
|
Returns: number;
|
|
21921
22386
|
};
|
|
22387
|
+
logistics_cart_index: {
|
|
22388
|
+
Args: {
|
|
22389
|
+
p_from?: string;
|
|
22390
|
+
p_to?: string;
|
|
22391
|
+
};
|
|
22392
|
+
Returns: {
|
|
22393
|
+
cart_id: string;
|
|
22394
|
+
cart_index: number;
|
|
22395
|
+
cart_label: string;
|
|
22396
|
+
is_shared: boolean;
|
|
22397
|
+
order_number: string;
|
|
22398
|
+
order_source: string;
|
|
22399
|
+
order_uuid: string;
|
|
22400
|
+
pick_date: string;
|
|
22401
|
+
printed_at: string;
|
|
22402
|
+
shifted: boolean;
|
|
22403
|
+
task_status: string;
|
|
22404
|
+
}[];
|
|
22405
|
+
};
|
|
21922
22406
|
logistics_check_order_allowed: {
|
|
21923
22407
|
Args: {
|
|
21924
22408
|
p_lines: Json;
|
|
@@ -22067,6 +22551,17 @@ export type Database = {
|
|
|
22067
22551
|
isSetofReturn: false;
|
|
22068
22552
|
};
|
|
22069
22553
|
};
|
|
22554
|
+
logistics_consistency_check: {
|
|
22555
|
+
Args: never;
|
|
22556
|
+
Returns: {
|
|
22557
|
+
agenda_carts: number;
|
|
22558
|
+
control_carts: number;
|
|
22559
|
+
ok: boolean;
|
|
22560
|
+
orphan_tasks: number;
|
|
22561
|
+
pick_date: string;
|
|
22562
|
+
raw_carts: number;
|
|
22563
|
+
}[];
|
|
22564
|
+
};
|
|
22070
22565
|
logistics_delay_customer_email: {
|
|
22071
22566
|
Args: {
|
|
22072
22567
|
p_customer: string;
|
|
@@ -22156,6 +22651,16 @@ export type Database = {
|
|
|
22156
22651
|
isSetofReturn: false;
|
|
22157
22652
|
};
|
|
22158
22653
|
};
|
|
22654
|
+
logistics_floriday_cart_plan: {
|
|
22655
|
+
Args: {
|
|
22656
|
+
p_order_id: string;
|
|
22657
|
+
};
|
|
22658
|
+
Returns: {
|
|
22659
|
+
carrier_type: string;
|
|
22660
|
+
idx: number;
|
|
22661
|
+
packages: number;
|
|
22662
|
+
}[];
|
|
22663
|
+
};
|
|
22159
22664
|
logistics_floriday_claim_pushes: {
|
|
22160
22665
|
Args: {
|
|
22161
22666
|
_lease_seconds?: number;
|
|
@@ -22260,6 +22765,25 @@ export type Database = {
|
|
|
22260
22765
|
};
|
|
22261
22766
|
Returns: number;
|
|
22262
22767
|
};
|
|
22768
|
+
logistics_order_overview: {
|
|
22769
|
+
Args: {
|
|
22770
|
+
p_from?: string;
|
|
22771
|
+
p_to?: string;
|
|
22772
|
+
};
|
|
22773
|
+
Returns: {
|
|
22774
|
+
cart_count: number;
|
|
22775
|
+
customer_name: string;
|
|
22776
|
+
delivery_date: string;
|
|
22777
|
+
order_number: string;
|
|
22778
|
+
order_source: string;
|
|
22779
|
+
order_uuid: string;
|
|
22780
|
+
pick_date: string;
|
|
22781
|
+
plant_count: number;
|
|
22782
|
+
printed_at: string;
|
|
22783
|
+
shifted: boolean;
|
|
22784
|
+
status: string;
|
|
22785
|
+
}[];
|
|
22786
|
+
};
|
|
22263
22787
|
logistics_order_pick_day: {
|
|
22264
22788
|
Args: {
|
|
22265
22789
|
p_order_ref: string;
|
|
@@ -22272,6 +22796,22 @@ export type Database = {
|
|
|
22272
22796
|
};
|
|
22273
22797
|
Returns: string;
|
|
22274
22798
|
};
|
|
22799
|
+
logistics_pick_agenda: {
|
|
22800
|
+
Args: {
|
|
22801
|
+
p_from?: string;
|
|
22802
|
+
p_to?: string;
|
|
22803
|
+
};
|
|
22804
|
+
Returns: {
|
|
22805
|
+
cart_count: number;
|
|
22806
|
+
in_preparation: number;
|
|
22807
|
+
order_count: number;
|
|
22808
|
+
orders: Json;
|
|
22809
|
+
pick_date: string;
|
|
22810
|
+
plant_count: number;
|
|
22811
|
+
ready: number;
|
|
22812
|
+
shifted_count: number;
|
|
22813
|
+
}[];
|
|
22814
|
+
};
|
|
22275
22815
|
logistics_pick_email_purpose: {
|
|
22276
22816
|
Args: never;
|
|
22277
22817
|
Returns: string;
|
|
@@ -22326,6 +22866,13 @@ export type Database = {
|
|
|
22326
22866
|
};
|
|
22327
22867
|
Returns: undefined;
|
|
22328
22868
|
};
|
|
22869
|
+
logistics_plan_floriday_order: {
|
|
22870
|
+
Args: {
|
|
22871
|
+
p_buffer_id?: string;
|
|
22872
|
+
p_order_id: string;
|
|
22873
|
+
};
|
|
22874
|
+
Returns: number;
|
|
22875
|
+
};
|
|
22329
22876
|
logistics_plan_impact_orders: {
|
|
22330
22877
|
Args: {
|
|
22331
22878
|
p_order_id: string;
|
|
@@ -22431,6 +22978,15 @@ export type Database = {
|
|
|
22431
22978
|
};
|
|
22432
22979
|
Returns: Json;
|
|
22433
22980
|
};
|
|
22981
|
+
logistics_resolve_pick_document: {
|
|
22982
|
+
Args: {
|
|
22983
|
+
_is_herprint: boolean;
|
|
22984
|
+
_queue_item_id: string;
|
|
22985
|
+
_session_id: string;
|
|
22986
|
+
_voorbeeld: boolean;
|
|
22987
|
+
};
|
|
22988
|
+
Returns: Json;
|
|
22989
|
+
};
|
|
22434
22990
|
logistics_resolve_settings: {
|
|
22435
22991
|
Args: {
|
|
22436
22992
|
p_config_id: string;
|
|
@@ -22871,6 +23427,7 @@ export type Database = {
|
|
|
22871
23427
|
};
|
|
22872
23428
|
pick_enqueue_print_job: {
|
|
22873
23429
|
Args: {
|
|
23430
|
+
_is_herprint?: boolean;
|
|
22874
23431
|
_printer_id?: string;
|
|
22875
23432
|
_queue_item_id: string;
|
|
22876
23433
|
_session_id?: string;
|
|
@@ -22884,6 +23441,13 @@ export type Database = {
|
|
|
22884
23441
|
};
|
|
22885
23442
|
Returns: Json;
|
|
22886
23443
|
};
|
|
23444
|
+
pick_preview_job: {
|
|
23445
|
+
Args: {
|
|
23446
|
+
_queue_item_id: string;
|
|
23447
|
+
_station_slug: string;
|
|
23448
|
+
};
|
|
23449
|
+
Returns: Json;
|
|
23450
|
+
};
|
|
22887
23451
|
pick_print_job_status: {
|
|
22888
23452
|
Args: {
|
|
22889
23453
|
_job_id: string;
|
|
@@ -23061,6 +23625,24 @@ export type Database = {
|
|
|
23061
23625
|
};
|
|
23062
23626
|
Returns: undefined;
|
|
23063
23627
|
};
|
|
23628
|
+
print_preview_toestaan: {
|
|
23629
|
+
Args: {
|
|
23630
|
+
_max?: number;
|
|
23631
|
+
_queue_item_id: string;
|
|
23632
|
+
_station_slug: string;
|
|
23633
|
+
_venster_sec?: number;
|
|
23634
|
+
};
|
|
23635
|
+
Returns: Json;
|
|
23636
|
+
};
|
|
23637
|
+
print_preview_weiger: {
|
|
23638
|
+
Args: {
|
|
23639
|
+
_code: string;
|
|
23640
|
+
_queue_item_id: string;
|
|
23641
|
+
_reden: string;
|
|
23642
|
+
_station_slug: string;
|
|
23643
|
+
};
|
|
23644
|
+
Returns: undefined;
|
|
23645
|
+
};
|
|
23064
23646
|
process_logistics_event: {
|
|
23065
23647
|
Args: {
|
|
23066
23648
|
p_event_id: string;
|
|
@@ -23215,6 +23797,12 @@ export type Database = {
|
|
|
23215
23797
|
};
|
|
23216
23798
|
Returns: string;
|
|
23217
23799
|
};
|
|
23800
|
+
resolve_print_job_printer_id: {
|
|
23801
|
+
Args: {
|
|
23802
|
+
_job: Database["public"]["Tables"]["print_jobs"]["Row"];
|
|
23803
|
+
};
|
|
23804
|
+
Returns: string;
|
|
23805
|
+
};
|
|
23218
23806
|
resolve_product_id_for_item: {
|
|
23219
23807
|
Args: {
|
|
23220
23808
|
p_product_name: string;
|