@flowselections/floriday-verkoop-module 1.0.57 → 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/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/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 +252 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +252 -0
- 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 +252 -0
- 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 +252 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/cart-lock.functions.d.ts +252 -0
- package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-planning-settings.functions.d.ts +2772 -0
- package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.d.ts +756 -0
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.d.ts +4284 -0
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +756 -0
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +504 -0
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.d.ts +252 -0
- package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +1764 -0
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +1260 -0
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/invoice-timing.functions.d.ts +1008 -0
- package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
- package/dist-lib/lib/load-carriers.functions.d.ts +252 -0
- package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-engine.functions.d.ts +1275 -5
- package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-stock.functions.d.ts +504 -0
- package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-addresses.functions.d.ts +252 -0
- package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-buffers.functions.d.ts +756 -0
- package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-carrier.functions.d.ts +504 -0
- package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-pickup.functions.d.ts +504 -0
- package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-shipments.functions.d.ts +1008 -0
- package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.functions.d.ts +252 -0
- package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders.functions.d.ts +1260 -0
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +504 -0
- package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -1
- package/dist-lib/lib/tradeitems.functions.d.ts +252 -0
- 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 +131 -131
- 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
|
@@ -196,7 +196,9 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
196
196
|
refresh_token?: string | null;
|
|
197
197
|
scope?: string | null;
|
|
198
198
|
token_expires_at?: string | null;
|
|
199
|
-
updated_at
|
|
199
|
+
updated_at
|
|
200
|
+
/** Buffer handmatig vrijgeven (release === "manual"): taak afmelden als done. */
|
|
201
|
+
? /** Buffer handmatig vrijgeven (release === "manual"): taak afmelden als done. */: string;
|
|
200
202
|
user_id: string;
|
|
201
203
|
};
|
|
202
204
|
Update: {
|
|
@@ -6097,6 +6099,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
6097
6099
|
attempts: number;
|
|
6098
6100
|
connection_id: string;
|
|
6099
6101
|
created_at: string;
|
|
6102
|
+
dead_lettered_at: string | null;
|
|
6100
6103
|
desired_available: boolean | null;
|
|
6101
6104
|
gateway_attempt_id: string | null;
|
|
6102
6105
|
id: string;
|
|
@@ -6105,9 +6108,13 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
6105
6108
|
locked_by: string | null;
|
|
6106
6109
|
next_attempt_at: string;
|
|
6107
6110
|
number_of_pieces: number;
|
|
6111
|
+
product_id: string | null;
|
|
6108
6112
|
sent_at: string | null;
|
|
6109
6113
|
status: string;
|
|
6114
|
+
stock_mode: string | null;
|
|
6110
6115
|
superseded_by: string | null;
|
|
6116
|
+
target_week: number | null;
|
|
6117
|
+
target_year: number | null;
|
|
6111
6118
|
trade_item_id: string;
|
|
6112
6119
|
updated_at: string;
|
|
6113
6120
|
user_id: string;
|
|
@@ -6116,6 +6123,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
6116
6123
|
attempts?: number;
|
|
6117
6124
|
connection_id: string;
|
|
6118
6125
|
created_at?: string;
|
|
6126
|
+
dead_lettered_at?: string | null;
|
|
6119
6127
|
desired_available?: boolean | null;
|
|
6120
6128
|
gateway_attempt_id?: string | null;
|
|
6121
6129
|
id?: string;
|
|
@@ -6124,9 +6132,13 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
6124
6132
|
locked_by?: string | null;
|
|
6125
6133
|
next_attempt_at?: string;
|
|
6126
6134
|
number_of_pieces?: number;
|
|
6135
|
+
product_id?: string | null;
|
|
6127
6136
|
sent_at?: string | null;
|
|
6128
6137
|
status?: string;
|
|
6138
|
+
stock_mode?: string | null;
|
|
6129
6139
|
superseded_by?: string | null;
|
|
6140
|
+
target_week?: number | null;
|
|
6141
|
+
target_year?: number | null;
|
|
6130
6142
|
trade_item_id: string;
|
|
6131
6143
|
updated_at?: string;
|
|
6132
6144
|
user_id: string;
|
|
@@ -6135,6 +6147,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
6135
6147
|
attempts?: number;
|
|
6136
6148
|
connection_id?: string;
|
|
6137
6149
|
created_at?: string;
|
|
6150
|
+
dead_lettered_at?: string | null;
|
|
6138
6151
|
desired_available?: boolean | null;
|
|
6139
6152
|
gateway_attempt_id?: string | null;
|
|
6140
6153
|
id?: string;
|
|
@@ -6143,9 +6156,13 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
6143
6156
|
locked_by?: string | null;
|
|
6144
6157
|
next_attempt_at?: string;
|
|
6145
6158
|
number_of_pieces?: number;
|
|
6159
|
+
product_id?: string | null;
|
|
6146
6160
|
sent_at?: string | null;
|
|
6147
6161
|
status?: string;
|
|
6162
|
+
stock_mode?: string | null;
|
|
6148
6163
|
superseded_by?: string | null;
|
|
6164
|
+
target_week?: number | null;
|
|
6165
|
+
target_year?: number | null;
|
|
6149
6166
|
trade_item_id?: string;
|
|
6150
6167
|
updated_at?: string;
|
|
6151
6168
|
user_id?: string;
|
|
@@ -6554,6 +6571,87 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
6554
6571
|
referencedColumns: ["id"];
|
|
6555
6572
|
}];
|
|
6556
6573
|
};
|
|
6574
|
+
floriday_inventory_settings: {
|
|
6575
|
+
Row: {
|
|
6576
|
+
buffer_quantity: number;
|
|
6577
|
+
connection_id: string;
|
|
6578
|
+
created_at: string;
|
|
6579
|
+
desired_availability: boolean;
|
|
6580
|
+
desired_quantity: number;
|
|
6581
|
+
fixed_quantity: number | null;
|
|
6582
|
+
floriday_trade_item_id: string | null;
|
|
6583
|
+
id: string;
|
|
6584
|
+
last_confirmed_at: string | null;
|
|
6585
|
+
last_enqueued_at: string | null;
|
|
6586
|
+
last_published_at: string | null;
|
|
6587
|
+
last_sync_error: string | null;
|
|
6588
|
+
manual_quantity: number | null;
|
|
6589
|
+
maximum_quantity: number | null;
|
|
6590
|
+
product_id: string;
|
|
6591
|
+
quantity_control: string;
|
|
6592
|
+
remote_available: boolean | null;
|
|
6593
|
+
remote_checked_at: string | null;
|
|
6594
|
+
remote_quantity: number | null;
|
|
6595
|
+
stock_mode: string;
|
|
6596
|
+
sync_status: string;
|
|
6597
|
+
updated_at: string;
|
|
6598
|
+
updated_by: string | null;
|
|
6599
|
+
user_id: string;
|
|
6600
|
+
};
|
|
6601
|
+
Insert: {
|
|
6602
|
+
buffer_quantity?: number;
|
|
6603
|
+
connection_id: string;
|
|
6604
|
+
created_at?: string;
|
|
6605
|
+
desired_availability?: boolean;
|
|
6606
|
+
desired_quantity?: number;
|
|
6607
|
+
fixed_quantity?: number | null;
|
|
6608
|
+
floriday_trade_item_id?: string | null;
|
|
6609
|
+
id?: string;
|
|
6610
|
+
last_confirmed_at?: string | null;
|
|
6611
|
+
last_enqueued_at?: string | null;
|
|
6612
|
+
last_published_at?: string | null;
|
|
6613
|
+
last_sync_error?: string | null;
|
|
6614
|
+
manual_quantity?: number | null;
|
|
6615
|
+
maximum_quantity?: number | null;
|
|
6616
|
+
product_id: string;
|
|
6617
|
+
quantity_control?: string;
|
|
6618
|
+
remote_available?: boolean | null;
|
|
6619
|
+
remote_checked_at?: string | null;
|
|
6620
|
+
remote_quantity?: number | null;
|
|
6621
|
+
stock_mode?: string;
|
|
6622
|
+
sync_status?: string;
|
|
6623
|
+
updated_at?: string;
|
|
6624
|
+
updated_by?: string | null;
|
|
6625
|
+
user_id: string;
|
|
6626
|
+
};
|
|
6627
|
+
Update: {
|
|
6628
|
+
buffer_quantity?: number;
|
|
6629
|
+
connection_id?: string;
|
|
6630
|
+
created_at?: string;
|
|
6631
|
+
desired_availability?: boolean;
|
|
6632
|
+
desired_quantity?: number;
|
|
6633
|
+
fixed_quantity?: number | null;
|
|
6634
|
+
floriday_trade_item_id?: string | null;
|
|
6635
|
+
id?: string;
|
|
6636
|
+
last_confirmed_at?: string | null;
|
|
6637
|
+
last_enqueued_at?: string | null;
|
|
6638
|
+
last_published_at?: string | null;
|
|
6639
|
+
last_sync_error?: string | null;
|
|
6640
|
+
manual_quantity?: number | null;
|
|
6641
|
+
maximum_quantity?: number | null;
|
|
6642
|
+
product_id?: string;
|
|
6643
|
+
quantity_control?: string;
|
|
6644
|
+
remote_available?: boolean | null;
|
|
6645
|
+
remote_checked_at?: string | null;
|
|
6646
|
+
remote_quantity?: number | null;
|
|
6647
|
+
stock_mode?: string;
|
|
6648
|
+
sync_status?: string;
|
|
6649
|
+
updated_at?: string;
|
|
6650
|
+
updated_by?: string | null;
|
|
6651
|
+
user_id?: string;
|
|
6652
|
+
};
|
|
6653
|
+
Relationships: [];
|
|
6654
|
+
};
|
|
6557
6655
|
floriday_invoices_cache: {
|
|
6558
6656
|
Row: {
|
|
6559
6657
|
buyer_organization_id: string | null;
|
|
@@ -6842,6 +6940,39 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
6842
6940
|
};
|
|
6843
6941
|
Relationships: [];
|
|
6844
6942
|
};
|
|
6943
|
+
floriday_sales_order_ingest: {
|
|
6944
|
+
Row: {
|
|
6945
|
+
connection_id: string;
|
|
6946
|
+
created_at: string;
|
|
6947
|
+
id: string;
|
|
6948
|
+
impact: import("../integrations/supabase/types").Json;
|
|
6949
|
+
order_status: string | null;
|
|
6950
|
+
order_version: number;
|
|
6951
|
+
processed_at: string;
|
|
6952
|
+
sales_order_id: string;
|
|
6953
|
+
};
|
|
6954
|
+
Insert: {
|
|
6955
|
+
connection_id: string;
|
|
6956
|
+
created_at?: string;
|
|
6957
|
+
id?: string;
|
|
6958
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
6959
|
+
order_status?: string | null;
|
|
6960
|
+
order_version?: number;
|
|
6961
|
+
processed_at?: string;
|
|
6962
|
+
sales_order_id: string;
|
|
6963
|
+
};
|
|
6964
|
+
Update: {
|
|
6965
|
+
connection_id?: string;
|
|
6966
|
+
created_at?: string;
|
|
6967
|
+
id?: string;
|
|
6968
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
6969
|
+
order_status?: string | null;
|
|
6970
|
+
order_version?: number;
|
|
6971
|
+
processed_at?: string;
|
|
6972
|
+
sales_order_id?: string;
|
|
6973
|
+
};
|
|
6974
|
+
Relationships: [];
|
|
6975
|
+
};
|
|
6845
6976
|
floriday_sales_strategies_cache: {
|
|
6846
6977
|
Row: {
|
|
6847
6978
|
connection_id: string;
|
|
@@ -6941,6 +7072,39 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
6941
7072
|
};
|
|
6942
7073
|
Relationships: [];
|
|
6943
7074
|
};
|
|
7075
|
+
floriday_sync_cursors: {
|
|
7076
|
+
Row: {
|
|
7077
|
+
connection_id: string;
|
|
7078
|
+
created_at: string;
|
|
7079
|
+
id: string;
|
|
7080
|
+
last_error: string | null;
|
|
7081
|
+
last_sync_at: string | null;
|
|
7082
|
+
resource_type: string;
|
|
7083
|
+
sequence_number: number;
|
|
7084
|
+
updated_at: string;
|
|
7085
|
+
};
|
|
7086
|
+
Insert: {
|
|
7087
|
+
connection_id: string;
|
|
7088
|
+
created_at?: string;
|
|
7089
|
+
id?: string;
|
|
7090
|
+
last_error?: string | null;
|
|
7091
|
+
last_sync_at?: string | null;
|
|
7092
|
+
resource_type: string;
|
|
7093
|
+
sequence_number?: number;
|
|
7094
|
+
updated_at?: string;
|
|
7095
|
+
};
|
|
7096
|
+
Update: {
|
|
7097
|
+
connection_id?: string;
|
|
7098
|
+
created_at?: string;
|
|
7099
|
+
id?: string;
|
|
7100
|
+
last_error?: string | null;
|
|
7101
|
+
last_sync_at?: string | null;
|
|
7102
|
+
resource_type?: string;
|
|
7103
|
+
sequence_number?: number;
|
|
7104
|
+
updated_at?: string;
|
|
7105
|
+
};
|
|
7106
|
+
Relationships: [];
|
|
7107
|
+
};
|
|
6944
7108
|
floriday_sync_state: {
|
|
6945
7109
|
Row: {
|
|
6946
7110
|
connection_id: string;
|
|
@@ -7631,6 +7795,42 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
7631
7795
|
};
|
|
7632
7796
|
Relationships: [];
|
|
7633
7797
|
};
|
|
7798
|
+
inventory_stock_snapshots: {
|
|
7799
|
+
Row: {
|
|
7800
|
+
connection_id: string;
|
|
7801
|
+
created_at: string;
|
|
7802
|
+
erp_available_quantity: number;
|
|
7803
|
+
floriday_desired_quantity: number;
|
|
7804
|
+
floriday_remote_quantity: number | null;
|
|
7805
|
+
granularity: string;
|
|
7806
|
+
id: string;
|
|
7807
|
+
snapshot_at: string;
|
|
7808
|
+
user_id: string | null;
|
|
7809
|
+
};
|
|
7810
|
+
Insert: {
|
|
7811
|
+
connection_id: string;
|
|
7812
|
+
created_at?: string;
|
|
7813
|
+
erp_available_quantity?: number;
|
|
7814
|
+
floriday_desired_quantity?: number;
|
|
7815
|
+
floriday_remote_quantity?: number | null;
|
|
7816
|
+
granularity?: string;
|
|
7817
|
+
id?: string;
|
|
7818
|
+
snapshot_at?: string;
|
|
7819
|
+
user_id?: string | null;
|
|
7820
|
+
};
|
|
7821
|
+
Update: {
|
|
7822
|
+
connection_id?: string;
|
|
7823
|
+
created_at?: string;
|
|
7824
|
+
erp_available_quantity?: number;
|
|
7825
|
+
floriday_desired_quantity?: number;
|
|
7826
|
+
floriday_remote_quantity?: number | null;
|
|
7827
|
+
granularity?: string;
|
|
7828
|
+
id?: string;
|
|
7829
|
+
snapshot_at?: string;
|
|
7830
|
+
user_id?: string | null;
|
|
7831
|
+
};
|
|
7832
|
+
Relationships: [];
|
|
7833
|
+
};
|
|
7634
7834
|
invoice_items: {
|
|
7635
7835
|
Row: {
|
|
7636
7836
|
created_at: string;
|
|
@@ -16825,6 +17025,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
16825
17025
|
};
|
|
16826
17026
|
trade_item_stock: {
|
|
16827
17027
|
Row: {
|
|
17028
|
+
change_source: string;
|
|
16828
17029
|
connection_id: string;
|
|
16829
17030
|
created_at: string;
|
|
16830
17031
|
id: string;
|
|
@@ -16838,6 +17039,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
16838
17039
|
user_id: string;
|
|
16839
17040
|
};
|
|
16840
17041
|
Insert: {
|
|
17042
|
+
change_source?: string;
|
|
16841
17043
|
connection_id: string;
|
|
16842
17044
|
created_at?: string;
|
|
16843
17045
|
id?: string;
|
|
@@ -16851,6 +17053,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
16851
17053
|
user_id: string;
|
|
16852
17054
|
};
|
|
16853
17055
|
Update: {
|
|
17056
|
+
change_source?: string;
|
|
16854
17057
|
connection_id?: string;
|
|
16855
17058
|
created_at?: string;
|
|
16856
17059
|
id?: string;
|
|
@@ -20451,6 +20654,18 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
20451
20654
|
Args: never;
|
|
20452
20655
|
Returns: number;
|
|
20453
20656
|
};
|
|
20657
|
+
calculate_floriday_desired_stock: {
|
|
20658
|
+
Args: {
|
|
20659
|
+
p_connection_id: string;
|
|
20660
|
+
p_product_id: string;
|
|
20661
|
+
};
|
|
20662
|
+
Returns: {
|
|
20663
|
+
desired_availability: boolean;
|
|
20664
|
+
desired_quantity: number;
|
|
20665
|
+
erp_available: number;
|
|
20666
|
+
stock_mode: string;
|
|
20667
|
+
}[];
|
|
20668
|
+
};
|
|
20454
20669
|
calculate_layer_stock: {
|
|
20455
20670
|
Args: {
|
|
20456
20671
|
p_product_id: string;
|
|
@@ -20545,6 +20760,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
20545
20760
|
attempts: number;
|
|
20546
20761
|
connection_id: string;
|
|
20547
20762
|
created_at: string;
|
|
20763
|
+
dead_lettered_at: string | null;
|
|
20548
20764
|
desired_available: boolean | null;
|
|
20549
20765
|
gateway_attempt_id: string | null;
|
|
20550
20766
|
id: string;
|
|
@@ -20553,9 +20769,13 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
20553
20769
|
locked_by: string | null;
|
|
20554
20770
|
next_attempt_at: string;
|
|
20555
20771
|
number_of_pieces: number;
|
|
20772
|
+
product_id: string | null;
|
|
20556
20773
|
sent_at: string | null;
|
|
20557
20774
|
status: string;
|
|
20775
|
+
stock_mode: string | null;
|
|
20558
20776
|
superseded_by: string | null;
|
|
20777
|
+
target_week: number | null;
|
|
20778
|
+
target_year: number | null;
|
|
20559
20779
|
trade_item_id: string;
|
|
20560
20780
|
updated_at: string;
|
|
20561
20781
|
user_id: string;
|
|
@@ -21036,6 +21256,24 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
21036
21256
|
};
|
|
21037
21257
|
Returns: string;
|
|
21038
21258
|
};
|
|
21259
|
+
floriday_capture_stock_snapshot: {
|
|
21260
|
+
Args: never;
|
|
21261
|
+
Returns: number;
|
|
21262
|
+
};
|
|
21263
|
+
floriday_cleanup_stock_queue_v2: {
|
|
21264
|
+
Args: never;
|
|
21265
|
+
Returns: undefined;
|
|
21266
|
+
};
|
|
21267
|
+
floriday_compact_stock_snapshots: {
|
|
21268
|
+
Args: never;
|
|
21269
|
+
Returns: undefined;
|
|
21270
|
+
};
|
|
21271
|
+
floriday_default_owner: {
|
|
21272
|
+
Args: {
|
|
21273
|
+
p_connection_id: string;
|
|
21274
|
+
};
|
|
21275
|
+
Returns: string;
|
|
21276
|
+
};
|
|
21039
21277
|
floriday_effective_price: {
|
|
21040
21278
|
Args: {
|
|
21041
21279
|
_buyer_id: string;
|
|
@@ -21053,6 +21291,22 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
21053
21291
|
source_id: string;
|
|
21054
21292
|
}[];
|
|
21055
21293
|
};
|
|
21294
|
+
floriday_fill_publish_horizon: {
|
|
21295
|
+
Args: never;
|
|
21296
|
+
Returns: number;
|
|
21297
|
+
};
|
|
21298
|
+
floriday_publish_horizon_weeks: {
|
|
21299
|
+
Args: never;
|
|
21300
|
+
Returns: number;
|
|
21301
|
+
};
|
|
21302
|
+
floriday_recompute_inventory: {
|
|
21303
|
+
Args: {
|
|
21304
|
+
p_connection_id: string;
|
|
21305
|
+
p_force?: boolean;
|
|
21306
|
+
p_product_id: string;
|
|
21307
|
+
};
|
|
21308
|
+
Returns: undefined;
|
|
21309
|
+
};
|
|
21056
21310
|
format_cart_number: {
|
|
21057
21311
|
Args: {
|
|
21058
21312
|
p_pick_date: string;
|
|
@@ -23796,7 +24050,9 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
23796
24050
|
refresh_token?: string | null;
|
|
23797
24051
|
scope?: string | null;
|
|
23798
24052
|
token_expires_at?: string | null;
|
|
23799
|
-
updated_at
|
|
24053
|
+
updated_at
|
|
24054
|
+
/** Buffer handmatig vrijgeven (release === "manual"): taak afmelden als done. */
|
|
24055
|
+
? /** Buffer handmatig vrijgeven (release === "manual"): taak afmelden als done. */: string;
|
|
23800
24056
|
user_id: string;
|
|
23801
24057
|
};
|
|
23802
24058
|
Update: {
|
|
@@ -29697,6 +29953,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
29697
29953
|
attempts: number;
|
|
29698
29954
|
connection_id: string;
|
|
29699
29955
|
created_at: string;
|
|
29956
|
+
dead_lettered_at: string | null;
|
|
29700
29957
|
desired_available: boolean | null;
|
|
29701
29958
|
gateway_attempt_id: string | null;
|
|
29702
29959
|
id: string;
|
|
@@ -29705,9 +29962,13 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
29705
29962
|
locked_by: string | null;
|
|
29706
29963
|
next_attempt_at: string;
|
|
29707
29964
|
number_of_pieces: number;
|
|
29965
|
+
product_id: string | null;
|
|
29708
29966
|
sent_at: string | null;
|
|
29709
29967
|
status: string;
|
|
29968
|
+
stock_mode: string | null;
|
|
29710
29969
|
superseded_by: string | null;
|
|
29970
|
+
target_week: number | null;
|
|
29971
|
+
target_year: number | null;
|
|
29711
29972
|
trade_item_id: string;
|
|
29712
29973
|
updated_at: string;
|
|
29713
29974
|
user_id: string;
|
|
@@ -29716,6 +29977,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
29716
29977
|
attempts?: number;
|
|
29717
29978
|
connection_id: string;
|
|
29718
29979
|
created_at?: string;
|
|
29980
|
+
dead_lettered_at?: string | null;
|
|
29719
29981
|
desired_available?: boolean | null;
|
|
29720
29982
|
gateway_attempt_id?: string | null;
|
|
29721
29983
|
id?: string;
|
|
@@ -29724,9 +29986,13 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
29724
29986
|
locked_by?: string | null;
|
|
29725
29987
|
next_attempt_at?: string;
|
|
29726
29988
|
number_of_pieces?: number;
|
|
29989
|
+
product_id?: string | null;
|
|
29727
29990
|
sent_at?: string | null;
|
|
29728
29991
|
status?: string;
|
|
29992
|
+
stock_mode?: string | null;
|
|
29729
29993
|
superseded_by?: string | null;
|
|
29994
|
+
target_week?: number | null;
|
|
29995
|
+
target_year?: number | null;
|
|
29730
29996
|
trade_item_id: string;
|
|
29731
29997
|
updated_at?: string;
|
|
29732
29998
|
user_id: string;
|
|
@@ -29735,6 +30001,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
29735
30001
|
attempts?: number;
|
|
29736
30002
|
connection_id?: string;
|
|
29737
30003
|
created_at?: string;
|
|
30004
|
+
dead_lettered_at?: string | null;
|
|
29738
30005
|
desired_available?: boolean | null;
|
|
29739
30006
|
gateway_attempt_id?: string | null;
|
|
29740
30007
|
id?: string;
|
|
@@ -29743,9 +30010,13 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
29743
30010
|
locked_by?: string | null;
|
|
29744
30011
|
next_attempt_at?: string;
|
|
29745
30012
|
number_of_pieces?: number;
|
|
30013
|
+
product_id?: string | null;
|
|
29746
30014
|
sent_at?: string | null;
|
|
29747
30015
|
status?: string;
|
|
30016
|
+
stock_mode?: string | null;
|
|
29748
30017
|
superseded_by?: string | null;
|
|
30018
|
+
target_week?: number | null;
|
|
30019
|
+
target_year?: number | null;
|
|
29749
30020
|
trade_item_id?: string;
|
|
29750
30021
|
updated_at?: string;
|
|
29751
30022
|
user_id?: string;
|
|
@@ -30154,6 +30425,87 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
30154
30425
|
referencedColumns: ["id"];
|
|
30155
30426
|
}];
|
|
30156
30427
|
};
|
|
30428
|
+
floriday_inventory_settings: {
|
|
30429
|
+
Row: {
|
|
30430
|
+
buffer_quantity: number;
|
|
30431
|
+
connection_id: string;
|
|
30432
|
+
created_at: string;
|
|
30433
|
+
desired_availability: boolean;
|
|
30434
|
+
desired_quantity: number;
|
|
30435
|
+
fixed_quantity: number | null;
|
|
30436
|
+
floriday_trade_item_id: string | null;
|
|
30437
|
+
id: string;
|
|
30438
|
+
last_confirmed_at: string | null;
|
|
30439
|
+
last_enqueued_at: string | null;
|
|
30440
|
+
last_published_at: string | null;
|
|
30441
|
+
last_sync_error: string | null;
|
|
30442
|
+
manual_quantity: number | null;
|
|
30443
|
+
maximum_quantity: number | null;
|
|
30444
|
+
product_id: string;
|
|
30445
|
+
quantity_control: string;
|
|
30446
|
+
remote_available: boolean | null;
|
|
30447
|
+
remote_checked_at: string | null;
|
|
30448
|
+
remote_quantity: number | null;
|
|
30449
|
+
stock_mode: string;
|
|
30450
|
+
sync_status: string;
|
|
30451
|
+
updated_at: string;
|
|
30452
|
+
updated_by: string | null;
|
|
30453
|
+
user_id: string;
|
|
30454
|
+
};
|
|
30455
|
+
Insert: {
|
|
30456
|
+
buffer_quantity?: number;
|
|
30457
|
+
connection_id: string;
|
|
30458
|
+
created_at?: string;
|
|
30459
|
+
desired_availability?: boolean;
|
|
30460
|
+
desired_quantity?: number;
|
|
30461
|
+
fixed_quantity?: number | null;
|
|
30462
|
+
floriday_trade_item_id?: string | null;
|
|
30463
|
+
id?: string;
|
|
30464
|
+
last_confirmed_at?: string | null;
|
|
30465
|
+
last_enqueued_at?: string | null;
|
|
30466
|
+
last_published_at?: string | null;
|
|
30467
|
+
last_sync_error?: string | null;
|
|
30468
|
+
manual_quantity?: number | null;
|
|
30469
|
+
maximum_quantity?: number | null;
|
|
30470
|
+
product_id: string;
|
|
30471
|
+
quantity_control?: string;
|
|
30472
|
+
remote_available?: boolean | null;
|
|
30473
|
+
remote_checked_at?: string | null;
|
|
30474
|
+
remote_quantity?: number | null;
|
|
30475
|
+
stock_mode?: string;
|
|
30476
|
+
sync_status?: string;
|
|
30477
|
+
updated_at?: string;
|
|
30478
|
+
updated_by?: string | null;
|
|
30479
|
+
user_id: string;
|
|
30480
|
+
};
|
|
30481
|
+
Update: {
|
|
30482
|
+
buffer_quantity?: number;
|
|
30483
|
+
connection_id?: string;
|
|
30484
|
+
created_at?: string;
|
|
30485
|
+
desired_availability?: boolean;
|
|
30486
|
+
desired_quantity?: number;
|
|
30487
|
+
fixed_quantity?: number | null;
|
|
30488
|
+
floriday_trade_item_id?: string | null;
|
|
30489
|
+
id?: string;
|
|
30490
|
+
last_confirmed_at?: string | null;
|
|
30491
|
+
last_enqueued_at?: string | null;
|
|
30492
|
+
last_published_at?: string | null;
|
|
30493
|
+
last_sync_error?: string | null;
|
|
30494
|
+
manual_quantity?: number | null;
|
|
30495
|
+
maximum_quantity?: number | null;
|
|
30496
|
+
product_id?: string;
|
|
30497
|
+
quantity_control?: string;
|
|
30498
|
+
remote_available?: boolean | null;
|
|
30499
|
+
remote_checked_at?: string | null;
|
|
30500
|
+
remote_quantity?: number | null;
|
|
30501
|
+
stock_mode?: string;
|
|
30502
|
+
sync_status?: string;
|
|
30503
|
+
updated_at?: string;
|
|
30504
|
+
updated_by?: string | null;
|
|
30505
|
+
user_id?: string;
|
|
30506
|
+
};
|
|
30507
|
+
Relationships: [];
|
|
30508
|
+
};
|
|
30157
30509
|
floriday_invoices_cache: {
|
|
30158
30510
|
Row: {
|
|
30159
30511
|
buyer_organization_id: string | null;
|
|
@@ -30442,6 +30794,39 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
30442
30794
|
};
|
|
30443
30795
|
Relationships: [];
|
|
30444
30796
|
};
|
|
30797
|
+
floriday_sales_order_ingest: {
|
|
30798
|
+
Row: {
|
|
30799
|
+
connection_id: string;
|
|
30800
|
+
created_at: string;
|
|
30801
|
+
id: string;
|
|
30802
|
+
impact: import("../integrations/supabase/types").Json;
|
|
30803
|
+
order_status: string | null;
|
|
30804
|
+
order_version: number;
|
|
30805
|
+
processed_at: string;
|
|
30806
|
+
sales_order_id: string;
|
|
30807
|
+
};
|
|
30808
|
+
Insert: {
|
|
30809
|
+
connection_id: string;
|
|
30810
|
+
created_at?: string;
|
|
30811
|
+
id?: string;
|
|
30812
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
30813
|
+
order_status?: string | null;
|
|
30814
|
+
order_version?: number;
|
|
30815
|
+
processed_at?: string;
|
|
30816
|
+
sales_order_id: string;
|
|
30817
|
+
};
|
|
30818
|
+
Update: {
|
|
30819
|
+
connection_id?: string;
|
|
30820
|
+
created_at?: string;
|
|
30821
|
+
id?: string;
|
|
30822
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
30823
|
+
order_status?: string | null;
|
|
30824
|
+
order_version?: number;
|
|
30825
|
+
processed_at?: string;
|
|
30826
|
+
sales_order_id?: string;
|
|
30827
|
+
};
|
|
30828
|
+
Relationships: [];
|
|
30829
|
+
};
|
|
30445
30830
|
floriday_sales_strategies_cache: {
|
|
30446
30831
|
Row: {
|
|
30447
30832
|
connection_id: string;
|
|
@@ -30541,6 +30926,39 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
30541
30926
|
};
|
|
30542
30927
|
Relationships: [];
|
|
30543
30928
|
};
|
|
30929
|
+
floriday_sync_cursors: {
|
|
30930
|
+
Row: {
|
|
30931
|
+
connection_id: string;
|
|
30932
|
+
created_at: string;
|
|
30933
|
+
id: string;
|
|
30934
|
+
last_error: string | null;
|
|
30935
|
+
last_sync_at: string | null;
|
|
30936
|
+
resource_type: string;
|
|
30937
|
+
sequence_number: number;
|
|
30938
|
+
updated_at: string;
|
|
30939
|
+
};
|
|
30940
|
+
Insert: {
|
|
30941
|
+
connection_id: string;
|
|
30942
|
+
created_at?: string;
|
|
30943
|
+
id?: string;
|
|
30944
|
+
last_error?: string | null;
|
|
30945
|
+
last_sync_at?: string | null;
|
|
30946
|
+
resource_type: string;
|
|
30947
|
+
sequence_number?: number;
|
|
30948
|
+
updated_at?: string;
|
|
30949
|
+
};
|
|
30950
|
+
Update: {
|
|
30951
|
+
connection_id?: string;
|
|
30952
|
+
created_at?: string;
|
|
30953
|
+
id?: string;
|
|
30954
|
+
last_error?: string | null;
|
|
30955
|
+
last_sync_at?: string | null;
|
|
30956
|
+
resource_type?: string;
|
|
30957
|
+
sequence_number?: number;
|
|
30958
|
+
updated_at?: string;
|
|
30959
|
+
};
|
|
30960
|
+
Relationships: [];
|
|
30961
|
+
};
|
|
30544
30962
|
floriday_sync_state: {
|
|
30545
30963
|
Row: {
|
|
30546
30964
|
connection_id: string;
|
|
@@ -31231,6 +31649,42 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
31231
31649
|
};
|
|
31232
31650
|
Relationships: [];
|
|
31233
31651
|
};
|
|
31652
|
+
inventory_stock_snapshots: {
|
|
31653
|
+
Row: {
|
|
31654
|
+
connection_id: string;
|
|
31655
|
+
created_at: string;
|
|
31656
|
+
erp_available_quantity: number;
|
|
31657
|
+
floriday_desired_quantity: number;
|
|
31658
|
+
floriday_remote_quantity: number | null;
|
|
31659
|
+
granularity: string;
|
|
31660
|
+
id: string;
|
|
31661
|
+
snapshot_at: string;
|
|
31662
|
+
user_id: string | null;
|
|
31663
|
+
};
|
|
31664
|
+
Insert: {
|
|
31665
|
+
connection_id: string;
|
|
31666
|
+
created_at?: string;
|
|
31667
|
+
erp_available_quantity?: number;
|
|
31668
|
+
floriday_desired_quantity?: number;
|
|
31669
|
+
floriday_remote_quantity?: number | null;
|
|
31670
|
+
granularity?: string;
|
|
31671
|
+
id?: string;
|
|
31672
|
+
snapshot_at?: string;
|
|
31673
|
+
user_id?: string | null;
|
|
31674
|
+
};
|
|
31675
|
+
Update: {
|
|
31676
|
+
connection_id?: string;
|
|
31677
|
+
created_at?: string;
|
|
31678
|
+
erp_available_quantity?: number;
|
|
31679
|
+
floriday_desired_quantity?: number;
|
|
31680
|
+
floriday_remote_quantity?: number | null;
|
|
31681
|
+
granularity?: string;
|
|
31682
|
+
id?: string;
|
|
31683
|
+
snapshot_at?: string;
|
|
31684
|
+
user_id?: string | null;
|
|
31685
|
+
};
|
|
31686
|
+
Relationships: [];
|
|
31687
|
+
};
|
|
31234
31688
|
invoice_items: {
|
|
31235
31689
|
Row: {
|
|
31236
31690
|
created_at: string;
|
|
@@ -40425,6 +40879,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
40425
40879
|
};
|
|
40426
40880
|
trade_item_stock: {
|
|
40427
40881
|
Row: {
|
|
40882
|
+
change_source: string;
|
|
40428
40883
|
connection_id: string;
|
|
40429
40884
|
created_at: string;
|
|
40430
40885
|
id: string;
|
|
@@ -40438,6 +40893,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
40438
40893
|
user_id: string;
|
|
40439
40894
|
};
|
|
40440
40895
|
Insert: {
|
|
40896
|
+
change_source?: string;
|
|
40441
40897
|
connection_id: string;
|
|
40442
40898
|
created_at?: string;
|
|
40443
40899
|
id?: string;
|
|
@@ -40451,6 +40907,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
40451
40907
|
user_id: string;
|
|
40452
40908
|
};
|
|
40453
40909
|
Update: {
|
|
40910
|
+
change_source?: string;
|
|
40454
40911
|
connection_id?: string;
|
|
40455
40912
|
created_at?: string;
|
|
40456
40913
|
id?: string;
|
|
@@ -44051,6 +44508,18 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
44051
44508
|
Args: never;
|
|
44052
44509
|
Returns: number;
|
|
44053
44510
|
};
|
|
44511
|
+
calculate_floriday_desired_stock: {
|
|
44512
|
+
Args: {
|
|
44513
|
+
p_connection_id: string;
|
|
44514
|
+
p_product_id: string;
|
|
44515
|
+
};
|
|
44516
|
+
Returns: {
|
|
44517
|
+
desired_availability: boolean;
|
|
44518
|
+
desired_quantity: number;
|
|
44519
|
+
erp_available: number;
|
|
44520
|
+
stock_mode: string;
|
|
44521
|
+
}[];
|
|
44522
|
+
};
|
|
44054
44523
|
calculate_layer_stock: {
|
|
44055
44524
|
Args: {
|
|
44056
44525
|
p_product_id: string;
|
|
@@ -44145,6 +44614,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
44145
44614
|
attempts: number;
|
|
44146
44615
|
connection_id: string;
|
|
44147
44616
|
created_at: string;
|
|
44617
|
+
dead_lettered_at: string | null;
|
|
44148
44618
|
desired_available: boolean | null;
|
|
44149
44619
|
gateway_attempt_id: string | null;
|
|
44150
44620
|
id: string;
|
|
@@ -44153,9 +44623,13 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
44153
44623
|
locked_by: string | null;
|
|
44154
44624
|
next_attempt_at: string;
|
|
44155
44625
|
number_of_pieces: number;
|
|
44626
|
+
product_id: string | null;
|
|
44156
44627
|
sent_at: string | null;
|
|
44157
44628
|
status: string;
|
|
44629
|
+
stock_mode: string | null;
|
|
44158
44630
|
superseded_by: string | null;
|
|
44631
|
+
target_week: number | null;
|
|
44632
|
+
target_year: number | null;
|
|
44159
44633
|
trade_item_id: string;
|
|
44160
44634
|
updated_at: string;
|
|
44161
44635
|
user_id: string;
|
|
@@ -44636,6 +45110,24 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
44636
45110
|
};
|
|
44637
45111
|
Returns: string;
|
|
44638
45112
|
};
|
|
45113
|
+
floriday_capture_stock_snapshot: {
|
|
45114
|
+
Args: never;
|
|
45115
|
+
Returns: number;
|
|
45116
|
+
};
|
|
45117
|
+
floriday_cleanup_stock_queue_v2: {
|
|
45118
|
+
Args: never;
|
|
45119
|
+
Returns: undefined;
|
|
45120
|
+
};
|
|
45121
|
+
floriday_compact_stock_snapshots: {
|
|
45122
|
+
Args: never;
|
|
45123
|
+
Returns: undefined;
|
|
45124
|
+
};
|
|
45125
|
+
floriday_default_owner: {
|
|
45126
|
+
Args: {
|
|
45127
|
+
p_connection_id: string;
|
|
45128
|
+
};
|
|
45129
|
+
Returns: string;
|
|
45130
|
+
};
|
|
44639
45131
|
floriday_effective_price: {
|
|
44640
45132
|
Args: {
|
|
44641
45133
|
_buyer_id: string;
|
|
@@ -44653,6 +45145,22 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
44653
45145
|
source_id: string;
|
|
44654
45146
|
}[];
|
|
44655
45147
|
};
|
|
45148
|
+
floriday_fill_publish_horizon: {
|
|
45149
|
+
Args: never;
|
|
45150
|
+
Returns: number;
|
|
45151
|
+
};
|
|
45152
|
+
floriday_publish_horizon_weeks: {
|
|
45153
|
+
Args: never;
|
|
45154
|
+
Returns: number;
|
|
45155
|
+
};
|
|
45156
|
+
floriday_recompute_inventory: {
|
|
45157
|
+
Args: {
|
|
45158
|
+
p_connection_id: string;
|
|
45159
|
+
p_force?: boolean;
|
|
45160
|
+
p_product_id: string;
|
|
45161
|
+
};
|
|
45162
|
+
Returns: undefined;
|
|
45163
|
+
};
|
|
44656
45164
|
format_cart_number: {
|
|
44657
45165
|
Args: {
|
|
44658
45166
|
p_pick_date: string;
|
|
@@ -47430,7 +47938,9 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
47430
47938
|
refresh_token?: string | null;
|
|
47431
47939
|
scope?: string | null;
|
|
47432
47940
|
token_expires_at?: string | null;
|
|
47433
|
-
updated_at
|
|
47941
|
+
updated_at
|
|
47942
|
+
/** Buffer handmatig vrijgeven (release === "manual"): taak afmelden als done. */
|
|
47943
|
+
? /** Buffer handmatig vrijgeven (release === "manual"): taak afmelden als done. */: string;
|
|
47434
47944
|
user_id: string;
|
|
47435
47945
|
};
|
|
47436
47946
|
Update: {
|
|
@@ -53331,6 +53841,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
53331
53841
|
attempts: number;
|
|
53332
53842
|
connection_id: string;
|
|
53333
53843
|
created_at: string;
|
|
53844
|
+
dead_lettered_at: string | null;
|
|
53334
53845
|
desired_available: boolean | null;
|
|
53335
53846
|
gateway_attempt_id: string | null;
|
|
53336
53847
|
id: string;
|
|
@@ -53339,9 +53850,13 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
53339
53850
|
locked_by: string | null;
|
|
53340
53851
|
next_attempt_at: string;
|
|
53341
53852
|
number_of_pieces: number;
|
|
53853
|
+
product_id: string | null;
|
|
53342
53854
|
sent_at: string | null;
|
|
53343
53855
|
status: string;
|
|
53856
|
+
stock_mode: string | null;
|
|
53344
53857
|
superseded_by: string | null;
|
|
53858
|
+
target_week: number | null;
|
|
53859
|
+
target_year: number | null;
|
|
53345
53860
|
trade_item_id: string;
|
|
53346
53861
|
updated_at: string;
|
|
53347
53862
|
user_id: string;
|
|
@@ -53350,6 +53865,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
53350
53865
|
attempts?: number;
|
|
53351
53866
|
connection_id: string;
|
|
53352
53867
|
created_at?: string;
|
|
53868
|
+
dead_lettered_at?: string | null;
|
|
53353
53869
|
desired_available?: boolean | null;
|
|
53354
53870
|
gateway_attempt_id?: string | null;
|
|
53355
53871
|
id?: string;
|
|
@@ -53358,9 +53874,13 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
53358
53874
|
locked_by?: string | null;
|
|
53359
53875
|
next_attempt_at?: string;
|
|
53360
53876
|
number_of_pieces?: number;
|
|
53877
|
+
product_id?: string | null;
|
|
53361
53878
|
sent_at?: string | null;
|
|
53362
53879
|
status?: string;
|
|
53880
|
+
stock_mode?: string | null;
|
|
53363
53881
|
superseded_by?: string | null;
|
|
53882
|
+
target_week?: number | null;
|
|
53883
|
+
target_year?: number | null;
|
|
53364
53884
|
trade_item_id: string;
|
|
53365
53885
|
updated_at?: string;
|
|
53366
53886
|
user_id: string;
|
|
@@ -53369,6 +53889,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
53369
53889
|
attempts?: number;
|
|
53370
53890
|
connection_id?: string;
|
|
53371
53891
|
created_at?: string;
|
|
53892
|
+
dead_lettered_at?: string | null;
|
|
53372
53893
|
desired_available?: boolean | null;
|
|
53373
53894
|
gateway_attempt_id?: string | null;
|
|
53374
53895
|
id?: string;
|
|
@@ -53377,9 +53898,13 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
53377
53898
|
locked_by?: string | null;
|
|
53378
53899
|
next_attempt_at?: string;
|
|
53379
53900
|
number_of_pieces?: number;
|
|
53901
|
+
product_id?: string | null;
|
|
53380
53902
|
sent_at?: string | null;
|
|
53381
53903
|
status?: string;
|
|
53904
|
+
stock_mode?: string | null;
|
|
53382
53905
|
superseded_by?: string | null;
|
|
53906
|
+
target_week?: number | null;
|
|
53907
|
+
target_year?: number | null;
|
|
53383
53908
|
trade_item_id?: string;
|
|
53384
53909
|
updated_at?: string;
|
|
53385
53910
|
user_id?: string;
|
|
@@ -53788,6 +54313,87 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
53788
54313
|
referencedColumns: ["id"];
|
|
53789
54314
|
}];
|
|
53790
54315
|
};
|
|
54316
|
+
floriday_inventory_settings: {
|
|
54317
|
+
Row: {
|
|
54318
|
+
buffer_quantity: number;
|
|
54319
|
+
connection_id: string;
|
|
54320
|
+
created_at: string;
|
|
54321
|
+
desired_availability: boolean;
|
|
54322
|
+
desired_quantity: number;
|
|
54323
|
+
fixed_quantity: number | null;
|
|
54324
|
+
floriday_trade_item_id: string | null;
|
|
54325
|
+
id: string;
|
|
54326
|
+
last_confirmed_at: string | null;
|
|
54327
|
+
last_enqueued_at: string | null;
|
|
54328
|
+
last_published_at: string | null;
|
|
54329
|
+
last_sync_error: string | null;
|
|
54330
|
+
manual_quantity: number | null;
|
|
54331
|
+
maximum_quantity: number | null;
|
|
54332
|
+
product_id: string;
|
|
54333
|
+
quantity_control: string;
|
|
54334
|
+
remote_available: boolean | null;
|
|
54335
|
+
remote_checked_at: string | null;
|
|
54336
|
+
remote_quantity: number | null;
|
|
54337
|
+
stock_mode: string;
|
|
54338
|
+
sync_status: string;
|
|
54339
|
+
updated_at: string;
|
|
54340
|
+
updated_by: string | null;
|
|
54341
|
+
user_id: string;
|
|
54342
|
+
};
|
|
54343
|
+
Insert: {
|
|
54344
|
+
buffer_quantity?: number;
|
|
54345
|
+
connection_id: string;
|
|
54346
|
+
created_at?: string;
|
|
54347
|
+
desired_availability?: boolean;
|
|
54348
|
+
desired_quantity?: number;
|
|
54349
|
+
fixed_quantity?: number | null;
|
|
54350
|
+
floriday_trade_item_id?: string | null;
|
|
54351
|
+
id?: string;
|
|
54352
|
+
last_confirmed_at?: string | null;
|
|
54353
|
+
last_enqueued_at?: string | null;
|
|
54354
|
+
last_published_at?: string | null;
|
|
54355
|
+
last_sync_error?: string | null;
|
|
54356
|
+
manual_quantity?: number | null;
|
|
54357
|
+
maximum_quantity?: number | null;
|
|
54358
|
+
product_id: string;
|
|
54359
|
+
quantity_control?: string;
|
|
54360
|
+
remote_available?: boolean | null;
|
|
54361
|
+
remote_checked_at?: string | null;
|
|
54362
|
+
remote_quantity?: number | null;
|
|
54363
|
+
stock_mode?: string;
|
|
54364
|
+
sync_status?: string;
|
|
54365
|
+
updated_at?: string;
|
|
54366
|
+
updated_by?: string | null;
|
|
54367
|
+
user_id: string;
|
|
54368
|
+
};
|
|
54369
|
+
Update: {
|
|
54370
|
+
buffer_quantity?: number;
|
|
54371
|
+
connection_id?: string;
|
|
54372
|
+
created_at?: string;
|
|
54373
|
+
desired_availability?: boolean;
|
|
54374
|
+
desired_quantity?: number;
|
|
54375
|
+
fixed_quantity?: number | null;
|
|
54376
|
+
floriday_trade_item_id?: string | null;
|
|
54377
|
+
id?: string;
|
|
54378
|
+
last_confirmed_at?: string | null;
|
|
54379
|
+
last_enqueued_at?: string | null;
|
|
54380
|
+
last_published_at?: string | null;
|
|
54381
|
+
last_sync_error?: string | null;
|
|
54382
|
+
manual_quantity?: number | null;
|
|
54383
|
+
maximum_quantity?: number | null;
|
|
54384
|
+
product_id?: string;
|
|
54385
|
+
quantity_control?: string;
|
|
54386
|
+
remote_available?: boolean | null;
|
|
54387
|
+
remote_checked_at?: string | null;
|
|
54388
|
+
remote_quantity?: number | null;
|
|
54389
|
+
stock_mode?: string;
|
|
54390
|
+
sync_status?: string;
|
|
54391
|
+
updated_at?: string;
|
|
54392
|
+
updated_by?: string | null;
|
|
54393
|
+
user_id?: string;
|
|
54394
|
+
};
|
|
54395
|
+
Relationships: [];
|
|
54396
|
+
};
|
|
53791
54397
|
floriday_invoices_cache: {
|
|
53792
54398
|
Row: {
|
|
53793
54399
|
buyer_organization_id: string | null;
|
|
@@ -54076,6 +54682,39 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
54076
54682
|
};
|
|
54077
54683
|
Relationships: [];
|
|
54078
54684
|
};
|
|
54685
|
+
floriday_sales_order_ingest: {
|
|
54686
|
+
Row: {
|
|
54687
|
+
connection_id: string;
|
|
54688
|
+
created_at: string;
|
|
54689
|
+
id: string;
|
|
54690
|
+
impact: import("../integrations/supabase/types").Json;
|
|
54691
|
+
order_status: string | null;
|
|
54692
|
+
order_version: number;
|
|
54693
|
+
processed_at: string;
|
|
54694
|
+
sales_order_id: string;
|
|
54695
|
+
};
|
|
54696
|
+
Insert: {
|
|
54697
|
+
connection_id: string;
|
|
54698
|
+
created_at?: string;
|
|
54699
|
+
id?: string;
|
|
54700
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
54701
|
+
order_status?: string | null;
|
|
54702
|
+
order_version?: number;
|
|
54703
|
+
processed_at?: string;
|
|
54704
|
+
sales_order_id: string;
|
|
54705
|
+
};
|
|
54706
|
+
Update: {
|
|
54707
|
+
connection_id?: string;
|
|
54708
|
+
created_at?: string;
|
|
54709
|
+
id?: string;
|
|
54710
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
54711
|
+
order_status?: string | null;
|
|
54712
|
+
order_version?: number;
|
|
54713
|
+
processed_at?: string;
|
|
54714
|
+
sales_order_id?: string;
|
|
54715
|
+
};
|
|
54716
|
+
Relationships: [];
|
|
54717
|
+
};
|
|
54079
54718
|
floriday_sales_strategies_cache: {
|
|
54080
54719
|
Row: {
|
|
54081
54720
|
connection_id: string;
|
|
@@ -54175,6 +54814,39 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
54175
54814
|
};
|
|
54176
54815
|
Relationships: [];
|
|
54177
54816
|
};
|
|
54817
|
+
floriday_sync_cursors: {
|
|
54818
|
+
Row: {
|
|
54819
|
+
connection_id: string;
|
|
54820
|
+
created_at: string;
|
|
54821
|
+
id: string;
|
|
54822
|
+
last_error: string | null;
|
|
54823
|
+
last_sync_at: string | null;
|
|
54824
|
+
resource_type: string;
|
|
54825
|
+
sequence_number: number;
|
|
54826
|
+
updated_at: string;
|
|
54827
|
+
};
|
|
54828
|
+
Insert: {
|
|
54829
|
+
connection_id: string;
|
|
54830
|
+
created_at?: string;
|
|
54831
|
+
id?: string;
|
|
54832
|
+
last_error?: string | null;
|
|
54833
|
+
last_sync_at?: string | null;
|
|
54834
|
+
resource_type: string;
|
|
54835
|
+
sequence_number?: number;
|
|
54836
|
+
updated_at?: string;
|
|
54837
|
+
};
|
|
54838
|
+
Update: {
|
|
54839
|
+
connection_id?: string;
|
|
54840
|
+
created_at?: string;
|
|
54841
|
+
id?: string;
|
|
54842
|
+
last_error?: string | null;
|
|
54843
|
+
last_sync_at?: string | null;
|
|
54844
|
+
resource_type?: string;
|
|
54845
|
+
sequence_number?: number;
|
|
54846
|
+
updated_at?: string;
|
|
54847
|
+
};
|
|
54848
|
+
Relationships: [];
|
|
54849
|
+
};
|
|
54178
54850
|
floriday_sync_state: {
|
|
54179
54851
|
Row: {
|
|
54180
54852
|
connection_id: string;
|
|
@@ -54865,6 +55537,42 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
54865
55537
|
};
|
|
54866
55538
|
Relationships: [];
|
|
54867
55539
|
};
|
|
55540
|
+
inventory_stock_snapshots: {
|
|
55541
|
+
Row: {
|
|
55542
|
+
connection_id: string;
|
|
55543
|
+
created_at: string;
|
|
55544
|
+
erp_available_quantity: number;
|
|
55545
|
+
floriday_desired_quantity: number;
|
|
55546
|
+
floriday_remote_quantity: number | null;
|
|
55547
|
+
granularity: string;
|
|
55548
|
+
id: string;
|
|
55549
|
+
snapshot_at: string;
|
|
55550
|
+
user_id: string | null;
|
|
55551
|
+
};
|
|
55552
|
+
Insert: {
|
|
55553
|
+
connection_id: string;
|
|
55554
|
+
created_at?: string;
|
|
55555
|
+
erp_available_quantity?: number;
|
|
55556
|
+
floriday_desired_quantity?: number;
|
|
55557
|
+
floriday_remote_quantity?: number | null;
|
|
55558
|
+
granularity?: string;
|
|
55559
|
+
id?: string;
|
|
55560
|
+
snapshot_at?: string;
|
|
55561
|
+
user_id?: string | null;
|
|
55562
|
+
};
|
|
55563
|
+
Update: {
|
|
55564
|
+
connection_id?: string;
|
|
55565
|
+
created_at?: string;
|
|
55566
|
+
erp_available_quantity?: number;
|
|
55567
|
+
floriday_desired_quantity?: number;
|
|
55568
|
+
floriday_remote_quantity?: number | null;
|
|
55569
|
+
granularity?: string;
|
|
55570
|
+
id?: string;
|
|
55571
|
+
snapshot_at?: string;
|
|
55572
|
+
user_id?: string | null;
|
|
55573
|
+
};
|
|
55574
|
+
Relationships: [];
|
|
55575
|
+
};
|
|
54868
55576
|
invoice_items: {
|
|
54869
55577
|
Row: {
|
|
54870
55578
|
created_at: string;
|
|
@@ -64059,6 +64767,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
64059
64767
|
};
|
|
64060
64768
|
trade_item_stock: {
|
|
64061
64769
|
Row: {
|
|
64770
|
+
change_source: string;
|
|
64062
64771
|
connection_id: string;
|
|
64063
64772
|
created_at: string;
|
|
64064
64773
|
id: string;
|
|
@@ -64072,6 +64781,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
64072
64781
|
user_id: string;
|
|
64073
64782
|
};
|
|
64074
64783
|
Insert: {
|
|
64784
|
+
change_source?: string;
|
|
64075
64785
|
connection_id: string;
|
|
64076
64786
|
created_at?: string;
|
|
64077
64787
|
id?: string;
|
|
@@ -64085,6 +64795,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
64085
64795
|
user_id: string;
|
|
64086
64796
|
};
|
|
64087
64797
|
Update: {
|
|
64798
|
+
change_source?: string;
|
|
64088
64799
|
connection_id?: string;
|
|
64089
64800
|
created_at?: string;
|
|
64090
64801
|
id?: string;
|
|
@@ -67685,6 +68396,18 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
67685
68396
|
Args: never;
|
|
67686
68397
|
Returns: number;
|
|
67687
68398
|
};
|
|
68399
|
+
calculate_floriday_desired_stock: {
|
|
68400
|
+
Args: {
|
|
68401
|
+
p_connection_id: string;
|
|
68402
|
+
p_product_id: string;
|
|
68403
|
+
};
|
|
68404
|
+
Returns: {
|
|
68405
|
+
desired_availability: boolean;
|
|
68406
|
+
desired_quantity: number;
|
|
68407
|
+
erp_available: number;
|
|
68408
|
+
stock_mode: string;
|
|
68409
|
+
}[];
|
|
68410
|
+
};
|
|
67688
68411
|
calculate_layer_stock: {
|
|
67689
68412
|
Args: {
|
|
67690
68413
|
p_product_id: string;
|
|
@@ -67779,6 +68502,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
67779
68502
|
attempts: number;
|
|
67780
68503
|
connection_id: string;
|
|
67781
68504
|
created_at: string;
|
|
68505
|
+
dead_lettered_at: string | null;
|
|
67782
68506
|
desired_available: boolean | null;
|
|
67783
68507
|
gateway_attempt_id: string | null;
|
|
67784
68508
|
id: string;
|
|
@@ -67787,9 +68511,13 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
67787
68511
|
locked_by: string | null;
|
|
67788
68512
|
next_attempt_at: string;
|
|
67789
68513
|
number_of_pieces: number;
|
|
68514
|
+
product_id: string | null;
|
|
67790
68515
|
sent_at: string | null;
|
|
67791
68516
|
status: string;
|
|
68517
|
+
stock_mode: string | null;
|
|
67792
68518
|
superseded_by: string | null;
|
|
68519
|
+
target_week: number | null;
|
|
68520
|
+
target_year: number | null;
|
|
67793
68521
|
trade_item_id: string;
|
|
67794
68522
|
updated_at: string;
|
|
67795
68523
|
user_id: string;
|
|
@@ -68270,6 +68998,24 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
68270
68998
|
};
|
|
68271
68999
|
Returns: string;
|
|
68272
69000
|
};
|
|
69001
|
+
floriday_capture_stock_snapshot: {
|
|
69002
|
+
Args: never;
|
|
69003
|
+
Returns: number;
|
|
69004
|
+
};
|
|
69005
|
+
floriday_cleanup_stock_queue_v2: {
|
|
69006
|
+
Args: never;
|
|
69007
|
+
Returns: undefined;
|
|
69008
|
+
};
|
|
69009
|
+
floriday_compact_stock_snapshots: {
|
|
69010
|
+
Args: never;
|
|
69011
|
+
Returns: undefined;
|
|
69012
|
+
};
|
|
69013
|
+
floriday_default_owner: {
|
|
69014
|
+
Args: {
|
|
69015
|
+
p_connection_id: string;
|
|
69016
|
+
};
|
|
69017
|
+
Returns: string;
|
|
69018
|
+
};
|
|
68273
69019
|
floriday_effective_price: {
|
|
68274
69020
|
Args: {
|
|
68275
69021
|
_buyer_id: string;
|
|
@@ -68287,6 +69033,22 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
68287
69033
|
source_id: string;
|
|
68288
69034
|
}[];
|
|
68289
69035
|
};
|
|
69036
|
+
floriday_fill_publish_horizon: {
|
|
69037
|
+
Args: never;
|
|
69038
|
+
Returns: number;
|
|
69039
|
+
};
|
|
69040
|
+
floriday_publish_horizon_weeks: {
|
|
69041
|
+
Args: never;
|
|
69042
|
+
Returns: number;
|
|
69043
|
+
};
|
|
69044
|
+
floriday_recompute_inventory: {
|
|
69045
|
+
Args: {
|
|
69046
|
+
p_connection_id: string;
|
|
69047
|
+
p_force?: boolean;
|
|
69048
|
+
p_product_id: string;
|
|
69049
|
+
};
|
|
69050
|
+
Returns: undefined;
|
|
69051
|
+
};
|
|
68290
69052
|
format_cart_number: {
|
|
68291
69053
|
Args: {
|
|
68292
69054
|
p_pick_date: string;
|
|
@@ -71028,7 +71790,9 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
71028
71790
|
refresh_token?: string | null;
|
|
71029
71791
|
scope?: string | null;
|
|
71030
71792
|
token_expires_at?: string | null;
|
|
71031
|
-
updated_at
|
|
71793
|
+
updated_at
|
|
71794
|
+
/** Buffer handmatig vrijgeven (release === "manual"): taak afmelden als done. */
|
|
71795
|
+
? /** Buffer handmatig vrijgeven (release === "manual"): taak afmelden als done. */: string;
|
|
71032
71796
|
user_id: string;
|
|
71033
71797
|
};
|
|
71034
71798
|
Update: {
|
|
@@ -76929,6 +77693,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
76929
77693
|
attempts: number;
|
|
76930
77694
|
connection_id: string;
|
|
76931
77695
|
created_at: string;
|
|
77696
|
+
dead_lettered_at: string | null;
|
|
76932
77697
|
desired_available: boolean | null;
|
|
76933
77698
|
gateway_attempt_id: string | null;
|
|
76934
77699
|
id: string;
|
|
@@ -76937,9 +77702,13 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
76937
77702
|
locked_by: string | null;
|
|
76938
77703
|
next_attempt_at: string;
|
|
76939
77704
|
number_of_pieces: number;
|
|
77705
|
+
product_id: string | null;
|
|
76940
77706
|
sent_at: string | null;
|
|
76941
77707
|
status: string;
|
|
77708
|
+
stock_mode: string | null;
|
|
76942
77709
|
superseded_by: string | null;
|
|
77710
|
+
target_week: number | null;
|
|
77711
|
+
target_year: number | null;
|
|
76943
77712
|
trade_item_id: string;
|
|
76944
77713
|
updated_at: string;
|
|
76945
77714
|
user_id: string;
|
|
@@ -76948,6 +77717,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
76948
77717
|
attempts?: number;
|
|
76949
77718
|
connection_id: string;
|
|
76950
77719
|
created_at?: string;
|
|
77720
|
+
dead_lettered_at?: string | null;
|
|
76951
77721
|
desired_available?: boolean | null;
|
|
76952
77722
|
gateway_attempt_id?: string | null;
|
|
76953
77723
|
id?: string;
|
|
@@ -76956,9 +77726,13 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
76956
77726
|
locked_by?: string | null;
|
|
76957
77727
|
next_attempt_at?: string;
|
|
76958
77728
|
number_of_pieces?: number;
|
|
77729
|
+
product_id?: string | null;
|
|
76959
77730
|
sent_at?: string | null;
|
|
76960
77731
|
status?: string;
|
|
77732
|
+
stock_mode?: string | null;
|
|
76961
77733
|
superseded_by?: string | null;
|
|
77734
|
+
target_week?: number | null;
|
|
77735
|
+
target_year?: number | null;
|
|
76962
77736
|
trade_item_id: string;
|
|
76963
77737
|
updated_at?: string;
|
|
76964
77738
|
user_id: string;
|
|
@@ -76967,6 +77741,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
76967
77741
|
attempts?: number;
|
|
76968
77742
|
connection_id?: string;
|
|
76969
77743
|
created_at?: string;
|
|
77744
|
+
dead_lettered_at?: string | null;
|
|
76970
77745
|
desired_available?: boolean | null;
|
|
76971
77746
|
gateway_attempt_id?: string | null;
|
|
76972
77747
|
id?: string;
|
|
@@ -76975,9 +77750,13 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
76975
77750
|
locked_by?: string | null;
|
|
76976
77751
|
next_attempt_at?: string;
|
|
76977
77752
|
number_of_pieces?: number;
|
|
77753
|
+
product_id?: string | null;
|
|
76978
77754
|
sent_at?: string | null;
|
|
76979
77755
|
status?: string;
|
|
77756
|
+
stock_mode?: string | null;
|
|
76980
77757
|
superseded_by?: string | null;
|
|
77758
|
+
target_week?: number | null;
|
|
77759
|
+
target_year?: number | null;
|
|
76981
77760
|
trade_item_id?: string;
|
|
76982
77761
|
updated_at?: string;
|
|
76983
77762
|
user_id?: string;
|
|
@@ -77386,6 +78165,87 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
77386
78165
|
referencedColumns: ["id"];
|
|
77387
78166
|
}];
|
|
77388
78167
|
};
|
|
78168
|
+
floriday_inventory_settings: {
|
|
78169
|
+
Row: {
|
|
78170
|
+
buffer_quantity: number;
|
|
78171
|
+
connection_id: string;
|
|
78172
|
+
created_at: string;
|
|
78173
|
+
desired_availability: boolean;
|
|
78174
|
+
desired_quantity: number;
|
|
78175
|
+
fixed_quantity: number | null;
|
|
78176
|
+
floriday_trade_item_id: string | null;
|
|
78177
|
+
id: string;
|
|
78178
|
+
last_confirmed_at: string | null;
|
|
78179
|
+
last_enqueued_at: string | null;
|
|
78180
|
+
last_published_at: string | null;
|
|
78181
|
+
last_sync_error: string | null;
|
|
78182
|
+
manual_quantity: number | null;
|
|
78183
|
+
maximum_quantity: number | null;
|
|
78184
|
+
product_id: string;
|
|
78185
|
+
quantity_control: string;
|
|
78186
|
+
remote_available: boolean | null;
|
|
78187
|
+
remote_checked_at: string | null;
|
|
78188
|
+
remote_quantity: number | null;
|
|
78189
|
+
stock_mode: string;
|
|
78190
|
+
sync_status: string;
|
|
78191
|
+
updated_at: string;
|
|
78192
|
+
updated_by: string | null;
|
|
78193
|
+
user_id: string;
|
|
78194
|
+
};
|
|
78195
|
+
Insert: {
|
|
78196
|
+
buffer_quantity?: number;
|
|
78197
|
+
connection_id: string;
|
|
78198
|
+
created_at?: string;
|
|
78199
|
+
desired_availability?: boolean;
|
|
78200
|
+
desired_quantity?: number;
|
|
78201
|
+
fixed_quantity?: number | null;
|
|
78202
|
+
floriday_trade_item_id?: string | null;
|
|
78203
|
+
id?: string;
|
|
78204
|
+
last_confirmed_at?: string | null;
|
|
78205
|
+
last_enqueued_at?: string | null;
|
|
78206
|
+
last_published_at?: string | null;
|
|
78207
|
+
last_sync_error?: string | null;
|
|
78208
|
+
manual_quantity?: number | null;
|
|
78209
|
+
maximum_quantity?: number | null;
|
|
78210
|
+
product_id: string;
|
|
78211
|
+
quantity_control?: string;
|
|
78212
|
+
remote_available?: boolean | null;
|
|
78213
|
+
remote_checked_at?: string | null;
|
|
78214
|
+
remote_quantity?: number | null;
|
|
78215
|
+
stock_mode?: string;
|
|
78216
|
+
sync_status?: string;
|
|
78217
|
+
updated_at?: string;
|
|
78218
|
+
updated_by?: string | null;
|
|
78219
|
+
user_id: string;
|
|
78220
|
+
};
|
|
78221
|
+
Update: {
|
|
78222
|
+
buffer_quantity?: number;
|
|
78223
|
+
connection_id?: string;
|
|
78224
|
+
created_at?: string;
|
|
78225
|
+
desired_availability?: boolean;
|
|
78226
|
+
desired_quantity?: number;
|
|
78227
|
+
fixed_quantity?: number | null;
|
|
78228
|
+
floriday_trade_item_id?: string | null;
|
|
78229
|
+
id?: string;
|
|
78230
|
+
last_confirmed_at?: string | null;
|
|
78231
|
+
last_enqueued_at?: string | null;
|
|
78232
|
+
last_published_at?: string | null;
|
|
78233
|
+
last_sync_error?: string | null;
|
|
78234
|
+
manual_quantity?: number | null;
|
|
78235
|
+
maximum_quantity?: number | null;
|
|
78236
|
+
product_id?: string;
|
|
78237
|
+
quantity_control?: string;
|
|
78238
|
+
remote_available?: boolean | null;
|
|
78239
|
+
remote_checked_at?: string | null;
|
|
78240
|
+
remote_quantity?: number | null;
|
|
78241
|
+
stock_mode?: string;
|
|
78242
|
+
sync_status?: string;
|
|
78243
|
+
updated_at?: string;
|
|
78244
|
+
updated_by?: string | null;
|
|
78245
|
+
user_id?: string;
|
|
78246
|
+
};
|
|
78247
|
+
Relationships: [];
|
|
78248
|
+
};
|
|
77389
78249
|
floriday_invoices_cache: {
|
|
77390
78250
|
Row: {
|
|
77391
78251
|
buyer_organization_id: string | null;
|
|
@@ -77674,6 +78534,39 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
77674
78534
|
};
|
|
77675
78535
|
Relationships: [];
|
|
77676
78536
|
};
|
|
78537
|
+
floriday_sales_order_ingest: {
|
|
78538
|
+
Row: {
|
|
78539
|
+
connection_id: string;
|
|
78540
|
+
created_at: string;
|
|
78541
|
+
id: string;
|
|
78542
|
+
impact: import("../integrations/supabase/types").Json;
|
|
78543
|
+
order_status: string | null;
|
|
78544
|
+
order_version: number;
|
|
78545
|
+
processed_at: string;
|
|
78546
|
+
sales_order_id: string;
|
|
78547
|
+
};
|
|
78548
|
+
Insert: {
|
|
78549
|
+
connection_id: string;
|
|
78550
|
+
created_at?: string;
|
|
78551
|
+
id?: string;
|
|
78552
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
78553
|
+
order_status?: string | null;
|
|
78554
|
+
order_version?: number;
|
|
78555
|
+
processed_at?: string;
|
|
78556
|
+
sales_order_id: string;
|
|
78557
|
+
};
|
|
78558
|
+
Update: {
|
|
78559
|
+
connection_id?: string;
|
|
78560
|
+
created_at?: string;
|
|
78561
|
+
id?: string;
|
|
78562
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
78563
|
+
order_status?: string | null;
|
|
78564
|
+
order_version?: number;
|
|
78565
|
+
processed_at?: string;
|
|
78566
|
+
sales_order_id?: string;
|
|
78567
|
+
};
|
|
78568
|
+
Relationships: [];
|
|
78569
|
+
};
|
|
77677
78570
|
floriday_sales_strategies_cache: {
|
|
77678
78571
|
Row: {
|
|
77679
78572
|
connection_id: string;
|
|
@@ -77773,6 +78666,39 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
77773
78666
|
};
|
|
77774
78667
|
Relationships: [];
|
|
77775
78668
|
};
|
|
78669
|
+
floriday_sync_cursors: {
|
|
78670
|
+
Row: {
|
|
78671
|
+
connection_id: string;
|
|
78672
|
+
created_at: string;
|
|
78673
|
+
id: string;
|
|
78674
|
+
last_error: string | null;
|
|
78675
|
+
last_sync_at: string | null;
|
|
78676
|
+
resource_type: string;
|
|
78677
|
+
sequence_number: number;
|
|
78678
|
+
updated_at: string;
|
|
78679
|
+
};
|
|
78680
|
+
Insert: {
|
|
78681
|
+
connection_id: string;
|
|
78682
|
+
created_at?: string;
|
|
78683
|
+
id?: string;
|
|
78684
|
+
last_error?: string | null;
|
|
78685
|
+
last_sync_at?: string | null;
|
|
78686
|
+
resource_type: string;
|
|
78687
|
+
sequence_number?: number;
|
|
78688
|
+
updated_at?: string;
|
|
78689
|
+
};
|
|
78690
|
+
Update: {
|
|
78691
|
+
connection_id?: string;
|
|
78692
|
+
created_at?: string;
|
|
78693
|
+
id?: string;
|
|
78694
|
+
last_error?: string | null;
|
|
78695
|
+
last_sync_at?: string | null;
|
|
78696
|
+
resource_type?: string;
|
|
78697
|
+
sequence_number?: number;
|
|
78698
|
+
updated_at?: string;
|
|
78699
|
+
};
|
|
78700
|
+
Relationships: [];
|
|
78701
|
+
};
|
|
77776
78702
|
floriday_sync_state: {
|
|
77777
78703
|
Row: {
|
|
77778
78704
|
connection_id: string;
|
|
@@ -78463,6 +79389,42 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
78463
79389
|
};
|
|
78464
79390
|
Relationships: [];
|
|
78465
79391
|
};
|
|
79392
|
+
inventory_stock_snapshots: {
|
|
79393
|
+
Row: {
|
|
79394
|
+
connection_id: string;
|
|
79395
|
+
created_at: string;
|
|
79396
|
+
erp_available_quantity: number;
|
|
79397
|
+
floriday_desired_quantity: number;
|
|
79398
|
+
floriday_remote_quantity: number | null;
|
|
79399
|
+
granularity: string;
|
|
79400
|
+
id: string;
|
|
79401
|
+
snapshot_at: string;
|
|
79402
|
+
user_id: string | null;
|
|
79403
|
+
};
|
|
79404
|
+
Insert: {
|
|
79405
|
+
connection_id: string;
|
|
79406
|
+
created_at?: string;
|
|
79407
|
+
erp_available_quantity?: number;
|
|
79408
|
+
floriday_desired_quantity?: number;
|
|
79409
|
+
floriday_remote_quantity?: number | null;
|
|
79410
|
+
granularity?: string;
|
|
79411
|
+
id?: string;
|
|
79412
|
+
snapshot_at?: string;
|
|
79413
|
+
user_id?: string | null;
|
|
79414
|
+
};
|
|
79415
|
+
Update: {
|
|
79416
|
+
connection_id?: string;
|
|
79417
|
+
created_at?: string;
|
|
79418
|
+
erp_available_quantity?: number;
|
|
79419
|
+
floriday_desired_quantity?: number;
|
|
79420
|
+
floriday_remote_quantity?: number | null;
|
|
79421
|
+
granularity?: string;
|
|
79422
|
+
id?: string;
|
|
79423
|
+
snapshot_at?: string;
|
|
79424
|
+
user_id?: string | null;
|
|
79425
|
+
};
|
|
79426
|
+
Relationships: [];
|
|
79427
|
+
};
|
|
78466
79428
|
invoice_items: {
|
|
78467
79429
|
Row: {
|
|
78468
79430
|
created_at: string;
|
|
@@ -87657,6 +88619,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
87657
88619
|
};
|
|
87658
88620
|
trade_item_stock: {
|
|
87659
88621
|
Row: {
|
|
88622
|
+
change_source: string;
|
|
87660
88623
|
connection_id: string;
|
|
87661
88624
|
created_at: string;
|
|
87662
88625
|
id: string;
|
|
@@ -87670,6 +88633,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
87670
88633
|
user_id: string;
|
|
87671
88634
|
};
|
|
87672
88635
|
Insert: {
|
|
88636
|
+
change_source?: string;
|
|
87673
88637
|
connection_id: string;
|
|
87674
88638
|
created_at?: string;
|
|
87675
88639
|
id?: string;
|
|
@@ -87683,6 +88647,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
87683
88647
|
user_id: string;
|
|
87684
88648
|
};
|
|
87685
88649
|
Update: {
|
|
88650
|
+
change_source?: string;
|
|
87686
88651
|
connection_id?: string;
|
|
87687
88652
|
created_at?: string;
|
|
87688
88653
|
id?: string;
|
|
@@ -91283,6 +92248,18 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
91283
92248
|
Args: never;
|
|
91284
92249
|
Returns: number;
|
|
91285
92250
|
};
|
|
92251
|
+
calculate_floriday_desired_stock: {
|
|
92252
|
+
Args: {
|
|
92253
|
+
p_connection_id: string;
|
|
92254
|
+
p_product_id: string;
|
|
92255
|
+
};
|
|
92256
|
+
Returns: {
|
|
92257
|
+
desired_availability: boolean;
|
|
92258
|
+
desired_quantity: number;
|
|
92259
|
+
erp_available: number;
|
|
92260
|
+
stock_mode: string;
|
|
92261
|
+
}[];
|
|
92262
|
+
};
|
|
91286
92263
|
calculate_layer_stock: {
|
|
91287
92264
|
Args: {
|
|
91288
92265
|
p_product_id: string;
|
|
@@ -91377,6 +92354,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
91377
92354
|
attempts: number;
|
|
91378
92355
|
connection_id: string;
|
|
91379
92356
|
created_at: string;
|
|
92357
|
+
dead_lettered_at: string | null;
|
|
91380
92358
|
desired_available: boolean | null;
|
|
91381
92359
|
gateway_attempt_id: string | null;
|
|
91382
92360
|
id: string;
|
|
@@ -91385,9 +92363,13 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
91385
92363
|
locked_by: string | null;
|
|
91386
92364
|
next_attempt_at: string;
|
|
91387
92365
|
number_of_pieces: number;
|
|
92366
|
+
product_id: string | null;
|
|
91388
92367
|
sent_at: string | null;
|
|
91389
92368
|
status: string;
|
|
92369
|
+
stock_mode: string | null;
|
|
91390
92370
|
superseded_by: string | null;
|
|
92371
|
+
target_week: number | null;
|
|
92372
|
+
target_year: number | null;
|
|
91391
92373
|
trade_item_id: string;
|
|
91392
92374
|
updated_at: string;
|
|
91393
92375
|
user_id: string;
|
|
@@ -91868,6 +92850,24 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
91868
92850
|
};
|
|
91869
92851
|
Returns: string;
|
|
91870
92852
|
};
|
|
92853
|
+
floriday_capture_stock_snapshot: {
|
|
92854
|
+
Args: never;
|
|
92855
|
+
Returns: number;
|
|
92856
|
+
};
|
|
92857
|
+
floriday_cleanup_stock_queue_v2: {
|
|
92858
|
+
Args: never;
|
|
92859
|
+
Returns: undefined;
|
|
92860
|
+
};
|
|
92861
|
+
floriday_compact_stock_snapshots: {
|
|
92862
|
+
Args: never;
|
|
92863
|
+
Returns: undefined;
|
|
92864
|
+
};
|
|
92865
|
+
floriday_default_owner: {
|
|
92866
|
+
Args: {
|
|
92867
|
+
p_connection_id: string;
|
|
92868
|
+
};
|
|
92869
|
+
Returns: string;
|
|
92870
|
+
};
|
|
91871
92871
|
floriday_effective_price: {
|
|
91872
92872
|
Args: {
|
|
91873
92873
|
_buyer_id: string;
|
|
@@ -91885,6 +92885,22 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
91885
92885
|
source_id: string;
|
|
91886
92886
|
}[];
|
|
91887
92887
|
};
|
|
92888
|
+
floriday_fill_publish_horizon: {
|
|
92889
|
+
Args: never;
|
|
92890
|
+
Returns: number;
|
|
92891
|
+
};
|
|
92892
|
+
floriday_publish_horizon_weeks: {
|
|
92893
|
+
Args: never;
|
|
92894
|
+
Returns: number;
|
|
92895
|
+
};
|
|
92896
|
+
floriday_recompute_inventory: {
|
|
92897
|
+
Args: {
|
|
92898
|
+
p_connection_id: string;
|
|
92899
|
+
p_force?: boolean;
|
|
92900
|
+
p_product_id: string;
|
|
92901
|
+
};
|
|
92902
|
+
Returns: undefined;
|
|
92903
|
+
};
|
|
91888
92904
|
format_cart_number: {
|
|
91889
92905
|
Args: {
|
|
91890
92906
|
p_pick_date: string;
|
|
@@ -94640,7 +95656,9 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
94640
95656
|
refresh_token?: string | null;
|
|
94641
95657
|
scope?: string | null;
|
|
94642
95658
|
token_expires_at?: string | null;
|
|
94643
|
-
updated_at
|
|
95659
|
+
updated_at
|
|
95660
|
+
/** Buffer handmatig vrijgeven (release === "manual"): taak afmelden als done. */
|
|
95661
|
+
? /** Buffer handmatig vrijgeven (release === "manual"): taak afmelden als done. */: string;
|
|
94644
95662
|
user_id: string;
|
|
94645
95663
|
};
|
|
94646
95664
|
Update: {
|
|
@@ -100541,6 +101559,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
100541
101559
|
attempts: number;
|
|
100542
101560
|
connection_id: string;
|
|
100543
101561
|
created_at: string;
|
|
101562
|
+
dead_lettered_at: string | null;
|
|
100544
101563
|
desired_available: boolean | null;
|
|
100545
101564
|
gateway_attempt_id: string | null;
|
|
100546
101565
|
id: string;
|
|
@@ -100549,9 +101568,13 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
100549
101568
|
locked_by: string | null;
|
|
100550
101569
|
next_attempt_at: string;
|
|
100551
101570
|
number_of_pieces: number;
|
|
101571
|
+
product_id: string | null;
|
|
100552
101572
|
sent_at: string | null;
|
|
100553
101573
|
status: string;
|
|
101574
|
+
stock_mode: string | null;
|
|
100554
101575
|
superseded_by: string | null;
|
|
101576
|
+
target_week: number | null;
|
|
101577
|
+
target_year: number | null;
|
|
100555
101578
|
trade_item_id: string;
|
|
100556
101579
|
updated_at: string;
|
|
100557
101580
|
user_id: string;
|
|
@@ -100560,6 +101583,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
100560
101583
|
attempts?: number;
|
|
100561
101584
|
connection_id: string;
|
|
100562
101585
|
created_at?: string;
|
|
101586
|
+
dead_lettered_at?: string | null;
|
|
100563
101587
|
desired_available?: boolean | null;
|
|
100564
101588
|
gateway_attempt_id?: string | null;
|
|
100565
101589
|
id?: string;
|
|
@@ -100568,9 +101592,13 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
100568
101592
|
locked_by?: string | null;
|
|
100569
101593
|
next_attempt_at?: string;
|
|
100570
101594
|
number_of_pieces?: number;
|
|
101595
|
+
product_id?: string | null;
|
|
100571
101596
|
sent_at?: string | null;
|
|
100572
101597
|
status?: string;
|
|
101598
|
+
stock_mode?: string | null;
|
|
100573
101599
|
superseded_by?: string | null;
|
|
101600
|
+
target_week?: number | null;
|
|
101601
|
+
target_year?: number | null;
|
|
100574
101602
|
trade_item_id: string;
|
|
100575
101603
|
updated_at?: string;
|
|
100576
101604
|
user_id: string;
|
|
@@ -100579,6 +101607,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
100579
101607
|
attempts?: number;
|
|
100580
101608
|
connection_id?: string;
|
|
100581
101609
|
created_at?: string;
|
|
101610
|
+
dead_lettered_at?: string | null;
|
|
100582
101611
|
desired_available?: boolean | null;
|
|
100583
101612
|
gateway_attempt_id?: string | null;
|
|
100584
101613
|
id?: string;
|
|
@@ -100587,9 +101616,13 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
100587
101616
|
locked_by?: string | null;
|
|
100588
101617
|
next_attempt_at?: string;
|
|
100589
101618
|
number_of_pieces?: number;
|
|
101619
|
+
product_id?: string | null;
|
|
100590
101620
|
sent_at?: string | null;
|
|
100591
101621
|
status?: string;
|
|
101622
|
+
stock_mode?: string | null;
|
|
100592
101623
|
superseded_by?: string | null;
|
|
101624
|
+
target_week?: number | null;
|
|
101625
|
+
target_year?: number | null;
|
|
100593
101626
|
trade_item_id?: string;
|
|
100594
101627
|
updated_at?: string;
|
|
100595
101628
|
user_id?: string;
|
|
@@ -100998,6 +102031,87 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
100998
102031
|
referencedColumns: ["id"];
|
|
100999
102032
|
}];
|
|
101000
102033
|
};
|
|
102034
|
+
floriday_inventory_settings: {
|
|
102035
|
+
Row: {
|
|
102036
|
+
buffer_quantity: number;
|
|
102037
|
+
connection_id: string;
|
|
102038
|
+
created_at: string;
|
|
102039
|
+
desired_availability: boolean;
|
|
102040
|
+
desired_quantity: number;
|
|
102041
|
+
fixed_quantity: number | null;
|
|
102042
|
+
floriday_trade_item_id: string | null;
|
|
102043
|
+
id: string;
|
|
102044
|
+
last_confirmed_at: string | null;
|
|
102045
|
+
last_enqueued_at: string | null;
|
|
102046
|
+
last_published_at: string | null;
|
|
102047
|
+
last_sync_error: string | null;
|
|
102048
|
+
manual_quantity: number | null;
|
|
102049
|
+
maximum_quantity: number | null;
|
|
102050
|
+
product_id: string;
|
|
102051
|
+
quantity_control: string;
|
|
102052
|
+
remote_available: boolean | null;
|
|
102053
|
+
remote_checked_at: string | null;
|
|
102054
|
+
remote_quantity: number | null;
|
|
102055
|
+
stock_mode: string;
|
|
102056
|
+
sync_status: string;
|
|
102057
|
+
updated_at: string;
|
|
102058
|
+
updated_by: string | null;
|
|
102059
|
+
user_id: string;
|
|
102060
|
+
};
|
|
102061
|
+
Insert: {
|
|
102062
|
+
buffer_quantity?: number;
|
|
102063
|
+
connection_id: string;
|
|
102064
|
+
created_at?: string;
|
|
102065
|
+
desired_availability?: boolean;
|
|
102066
|
+
desired_quantity?: number;
|
|
102067
|
+
fixed_quantity?: number | null;
|
|
102068
|
+
floriday_trade_item_id?: string | null;
|
|
102069
|
+
id?: string;
|
|
102070
|
+
last_confirmed_at?: string | null;
|
|
102071
|
+
last_enqueued_at?: string | null;
|
|
102072
|
+
last_published_at?: string | null;
|
|
102073
|
+
last_sync_error?: string | null;
|
|
102074
|
+
manual_quantity?: number | null;
|
|
102075
|
+
maximum_quantity?: number | null;
|
|
102076
|
+
product_id: string;
|
|
102077
|
+
quantity_control?: string;
|
|
102078
|
+
remote_available?: boolean | null;
|
|
102079
|
+
remote_checked_at?: string | null;
|
|
102080
|
+
remote_quantity?: number | null;
|
|
102081
|
+
stock_mode?: string;
|
|
102082
|
+
sync_status?: string;
|
|
102083
|
+
updated_at?: string;
|
|
102084
|
+
updated_by?: string | null;
|
|
102085
|
+
user_id: string;
|
|
102086
|
+
};
|
|
102087
|
+
Update: {
|
|
102088
|
+
buffer_quantity?: number;
|
|
102089
|
+
connection_id?: string;
|
|
102090
|
+
created_at?: string;
|
|
102091
|
+
desired_availability?: boolean;
|
|
102092
|
+
desired_quantity?: number;
|
|
102093
|
+
fixed_quantity?: number | null;
|
|
102094
|
+
floriday_trade_item_id?: string | null;
|
|
102095
|
+
id?: string;
|
|
102096
|
+
last_confirmed_at?: string | null;
|
|
102097
|
+
last_enqueued_at?: string | null;
|
|
102098
|
+
last_published_at?: string | null;
|
|
102099
|
+
last_sync_error?: string | null;
|
|
102100
|
+
manual_quantity?: number | null;
|
|
102101
|
+
maximum_quantity?: number | null;
|
|
102102
|
+
product_id?: string;
|
|
102103
|
+
quantity_control?: string;
|
|
102104
|
+
remote_available?: boolean | null;
|
|
102105
|
+
remote_checked_at?: string | null;
|
|
102106
|
+
remote_quantity?: number | null;
|
|
102107
|
+
stock_mode?: string;
|
|
102108
|
+
sync_status?: string;
|
|
102109
|
+
updated_at?: string;
|
|
102110
|
+
updated_by?: string | null;
|
|
102111
|
+
user_id?: string;
|
|
102112
|
+
};
|
|
102113
|
+
Relationships: [];
|
|
102114
|
+
};
|
|
101001
102115
|
floriday_invoices_cache: {
|
|
101002
102116
|
Row: {
|
|
101003
102117
|
buyer_organization_id: string | null;
|
|
@@ -101286,6 +102400,39 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
101286
102400
|
};
|
|
101287
102401
|
Relationships: [];
|
|
101288
102402
|
};
|
|
102403
|
+
floriday_sales_order_ingest: {
|
|
102404
|
+
Row: {
|
|
102405
|
+
connection_id: string;
|
|
102406
|
+
created_at: string;
|
|
102407
|
+
id: string;
|
|
102408
|
+
impact: import("../integrations/supabase/types").Json;
|
|
102409
|
+
order_status: string | null;
|
|
102410
|
+
order_version: number;
|
|
102411
|
+
processed_at: string;
|
|
102412
|
+
sales_order_id: string;
|
|
102413
|
+
};
|
|
102414
|
+
Insert: {
|
|
102415
|
+
connection_id: string;
|
|
102416
|
+
created_at?: string;
|
|
102417
|
+
id?: string;
|
|
102418
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
102419
|
+
order_status?: string | null;
|
|
102420
|
+
order_version?: number;
|
|
102421
|
+
processed_at?: string;
|
|
102422
|
+
sales_order_id: string;
|
|
102423
|
+
};
|
|
102424
|
+
Update: {
|
|
102425
|
+
connection_id?: string;
|
|
102426
|
+
created_at?: string;
|
|
102427
|
+
id?: string;
|
|
102428
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
102429
|
+
order_status?: string | null;
|
|
102430
|
+
order_version?: number;
|
|
102431
|
+
processed_at?: string;
|
|
102432
|
+
sales_order_id?: string;
|
|
102433
|
+
};
|
|
102434
|
+
Relationships: [];
|
|
102435
|
+
};
|
|
101289
102436
|
floriday_sales_strategies_cache: {
|
|
101290
102437
|
Row: {
|
|
101291
102438
|
connection_id: string;
|
|
@@ -101385,6 +102532,39 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
101385
102532
|
};
|
|
101386
102533
|
Relationships: [];
|
|
101387
102534
|
};
|
|
102535
|
+
floriday_sync_cursors: {
|
|
102536
|
+
Row: {
|
|
102537
|
+
connection_id: string;
|
|
102538
|
+
created_at: string;
|
|
102539
|
+
id: string;
|
|
102540
|
+
last_error: string | null;
|
|
102541
|
+
last_sync_at: string | null;
|
|
102542
|
+
resource_type: string;
|
|
102543
|
+
sequence_number: number;
|
|
102544
|
+
updated_at: string;
|
|
102545
|
+
};
|
|
102546
|
+
Insert: {
|
|
102547
|
+
connection_id: string;
|
|
102548
|
+
created_at?: string;
|
|
102549
|
+
id?: string;
|
|
102550
|
+
last_error?: string | null;
|
|
102551
|
+
last_sync_at?: string | null;
|
|
102552
|
+
resource_type: string;
|
|
102553
|
+
sequence_number?: number;
|
|
102554
|
+
updated_at?: string;
|
|
102555
|
+
};
|
|
102556
|
+
Update: {
|
|
102557
|
+
connection_id?: string;
|
|
102558
|
+
created_at?: string;
|
|
102559
|
+
id?: string;
|
|
102560
|
+
last_error?: string | null;
|
|
102561
|
+
last_sync_at?: string | null;
|
|
102562
|
+
resource_type?: string;
|
|
102563
|
+
sequence_number?: number;
|
|
102564
|
+
updated_at?: string;
|
|
102565
|
+
};
|
|
102566
|
+
Relationships: [];
|
|
102567
|
+
};
|
|
101388
102568
|
floriday_sync_state: {
|
|
101389
102569
|
Row: {
|
|
101390
102570
|
connection_id: string;
|
|
@@ -102075,6 +103255,42 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
102075
103255
|
};
|
|
102076
103256
|
Relationships: [];
|
|
102077
103257
|
};
|
|
103258
|
+
inventory_stock_snapshots: {
|
|
103259
|
+
Row: {
|
|
103260
|
+
connection_id: string;
|
|
103261
|
+
created_at: string;
|
|
103262
|
+
erp_available_quantity: number;
|
|
103263
|
+
floriday_desired_quantity: number;
|
|
103264
|
+
floriday_remote_quantity: number | null;
|
|
103265
|
+
granularity: string;
|
|
103266
|
+
id: string;
|
|
103267
|
+
snapshot_at: string;
|
|
103268
|
+
user_id: string | null;
|
|
103269
|
+
};
|
|
103270
|
+
Insert: {
|
|
103271
|
+
connection_id: string;
|
|
103272
|
+
created_at?: string;
|
|
103273
|
+
erp_available_quantity?: number;
|
|
103274
|
+
floriday_desired_quantity?: number;
|
|
103275
|
+
floriday_remote_quantity?: number | null;
|
|
103276
|
+
granularity?: string;
|
|
103277
|
+
id?: string;
|
|
103278
|
+
snapshot_at?: string;
|
|
103279
|
+
user_id?: string | null;
|
|
103280
|
+
};
|
|
103281
|
+
Update: {
|
|
103282
|
+
connection_id?: string;
|
|
103283
|
+
created_at?: string;
|
|
103284
|
+
erp_available_quantity?: number;
|
|
103285
|
+
floriday_desired_quantity?: number;
|
|
103286
|
+
floriday_remote_quantity?: number | null;
|
|
103287
|
+
granularity?: string;
|
|
103288
|
+
id?: string;
|
|
103289
|
+
snapshot_at?: string;
|
|
103290
|
+
user_id?: string | null;
|
|
103291
|
+
};
|
|
103292
|
+
Relationships: [];
|
|
103293
|
+
};
|
|
102078
103294
|
invoice_items: {
|
|
102079
103295
|
Row: {
|
|
102080
103296
|
created_at: string;
|
|
@@ -111269,6 +112485,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
111269
112485
|
};
|
|
111270
112486
|
trade_item_stock: {
|
|
111271
112487
|
Row: {
|
|
112488
|
+
change_source: string;
|
|
111272
112489
|
connection_id: string;
|
|
111273
112490
|
created_at: string;
|
|
111274
112491
|
id: string;
|
|
@@ -111282,6 +112499,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
111282
112499
|
user_id: string;
|
|
111283
112500
|
};
|
|
111284
112501
|
Insert: {
|
|
112502
|
+
change_source?: string;
|
|
111285
112503
|
connection_id: string;
|
|
111286
112504
|
created_at?: string;
|
|
111287
112505
|
id?: string;
|
|
@@ -111295,6 +112513,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
111295
112513
|
user_id: string;
|
|
111296
112514
|
};
|
|
111297
112515
|
Update: {
|
|
112516
|
+
change_source?: string;
|
|
111298
112517
|
connection_id?: string;
|
|
111299
112518
|
created_at?: string;
|
|
111300
112519
|
id?: string;
|
|
@@ -114895,6 +116114,18 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
114895
116114
|
Args: never;
|
|
114896
116115
|
Returns: number;
|
|
114897
116116
|
};
|
|
116117
|
+
calculate_floriday_desired_stock: {
|
|
116118
|
+
Args: {
|
|
116119
|
+
p_connection_id: string;
|
|
116120
|
+
p_product_id: string;
|
|
116121
|
+
};
|
|
116122
|
+
Returns: {
|
|
116123
|
+
desired_availability: boolean;
|
|
116124
|
+
desired_quantity: number;
|
|
116125
|
+
erp_available: number;
|
|
116126
|
+
stock_mode: string;
|
|
116127
|
+
}[];
|
|
116128
|
+
};
|
|
114898
116129
|
calculate_layer_stock: {
|
|
114899
116130
|
Args: {
|
|
114900
116131
|
p_product_id: string;
|
|
@@ -114989,6 +116220,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
114989
116220
|
attempts: number;
|
|
114990
116221
|
connection_id: string;
|
|
114991
116222
|
created_at: string;
|
|
116223
|
+
dead_lettered_at: string | null;
|
|
114992
116224
|
desired_available: boolean | null;
|
|
114993
116225
|
gateway_attempt_id: string | null;
|
|
114994
116226
|
id: string;
|
|
@@ -114997,9 +116229,13 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
114997
116229
|
locked_by: string | null;
|
|
114998
116230
|
next_attempt_at: string;
|
|
114999
116231
|
number_of_pieces: number;
|
|
116232
|
+
product_id: string | null;
|
|
115000
116233
|
sent_at: string | null;
|
|
115001
116234
|
status: string;
|
|
116235
|
+
stock_mode: string | null;
|
|
115002
116236
|
superseded_by: string | null;
|
|
116237
|
+
target_week: number | null;
|
|
116238
|
+
target_year: number | null;
|
|
115003
116239
|
trade_item_id: string;
|
|
115004
116240
|
updated_at: string;
|
|
115005
116241
|
user_id: string;
|
|
@@ -115480,6 +116716,24 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
115480
116716
|
};
|
|
115481
116717
|
Returns: string;
|
|
115482
116718
|
};
|
|
116719
|
+
floriday_capture_stock_snapshot: {
|
|
116720
|
+
Args: never;
|
|
116721
|
+
Returns: number;
|
|
116722
|
+
};
|
|
116723
|
+
floriday_cleanup_stock_queue_v2: {
|
|
116724
|
+
Args: never;
|
|
116725
|
+
Returns: undefined;
|
|
116726
|
+
};
|
|
116727
|
+
floriday_compact_stock_snapshots: {
|
|
116728
|
+
Args: never;
|
|
116729
|
+
Returns: undefined;
|
|
116730
|
+
};
|
|
116731
|
+
floriday_default_owner: {
|
|
116732
|
+
Args: {
|
|
116733
|
+
p_connection_id: string;
|
|
116734
|
+
};
|
|
116735
|
+
Returns: string;
|
|
116736
|
+
};
|
|
115483
116737
|
floriday_effective_price: {
|
|
115484
116738
|
Args: {
|
|
115485
116739
|
_buyer_id: string;
|
|
@@ -115497,6 +116751,22 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
115497
116751
|
source_id: string;
|
|
115498
116752
|
}[];
|
|
115499
116753
|
};
|
|
116754
|
+
floriday_fill_publish_horizon: {
|
|
116755
|
+
Args: never;
|
|
116756
|
+
Returns: number;
|
|
116757
|
+
};
|
|
116758
|
+
floriday_publish_horizon_weeks: {
|
|
116759
|
+
Args: never;
|
|
116760
|
+
Returns: number;
|
|
116761
|
+
};
|
|
116762
|
+
floriday_recompute_inventory: {
|
|
116763
|
+
Args: {
|
|
116764
|
+
p_connection_id: string;
|
|
116765
|
+
p_force?: boolean;
|
|
116766
|
+
p_product_id: string;
|
|
116767
|
+
};
|
|
116768
|
+
Returns: undefined;
|
|
116769
|
+
};
|
|
115500
116770
|
format_cart_number: {
|
|
115501
116771
|
Args: {
|
|
115502
116772
|
p_pick_date: string;
|