@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
|
@@ -6111,6 +6111,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
6111
6111
|
attempts: number;
|
|
6112
6112
|
connection_id: string;
|
|
6113
6113
|
created_at: string;
|
|
6114
|
+
dead_lettered_at: string | null;
|
|
6114
6115
|
desired_available: boolean | null;
|
|
6115
6116
|
gateway_attempt_id: string | null;
|
|
6116
6117
|
id: string;
|
|
@@ -6119,9 +6120,13 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
6119
6120
|
locked_by: string | null;
|
|
6120
6121
|
next_attempt_at: string;
|
|
6121
6122
|
number_of_pieces: number;
|
|
6123
|
+
product_id: string | null;
|
|
6122
6124
|
sent_at: string | null;
|
|
6123
6125
|
status: string;
|
|
6126
|
+
stock_mode: string | null;
|
|
6124
6127
|
superseded_by: string | null;
|
|
6128
|
+
target_week: number | null;
|
|
6129
|
+
target_year: number | null;
|
|
6125
6130
|
trade_item_id: string;
|
|
6126
6131
|
updated_at: string;
|
|
6127
6132
|
user_id: string;
|
|
@@ -6130,6 +6135,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
6130
6135
|
attempts?: number;
|
|
6131
6136
|
connection_id: string;
|
|
6132
6137
|
created_at?: string;
|
|
6138
|
+
dead_lettered_at?: string | null;
|
|
6133
6139
|
desired_available?: boolean | null;
|
|
6134
6140
|
gateway_attempt_id?: string | null;
|
|
6135
6141
|
id?: string;
|
|
@@ -6138,9 +6144,13 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
6138
6144
|
locked_by?: string | null;
|
|
6139
6145
|
next_attempt_at?: string;
|
|
6140
6146
|
number_of_pieces?: number;
|
|
6147
|
+
product_id?: string | null;
|
|
6141
6148
|
sent_at?: string | null;
|
|
6142
6149
|
status?: string;
|
|
6150
|
+
stock_mode?: string | null;
|
|
6143
6151
|
superseded_by?: string | null;
|
|
6152
|
+
target_week?: number | null;
|
|
6153
|
+
target_year?: number | null;
|
|
6144
6154
|
trade_item_id: string;
|
|
6145
6155
|
updated_at?: string;
|
|
6146
6156
|
user_id: string;
|
|
@@ -6149,6 +6159,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
6149
6159
|
attempts?: number;
|
|
6150
6160
|
connection_id?: string;
|
|
6151
6161
|
created_at?: string;
|
|
6162
|
+
dead_lettered_at?: string | null;
|
|
6152
6163
|
desired_available?: boolean | null;
|
|
6153
6164
|
gateway_attempt_id?: string | null;
|
|
6154
6165
|
id?: string;
|
|
@@ -6157,9 +6168,13 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
6157
6168
|
locked_by?: string | null;
|
|
6158
6169
|
next_attempt_at?: string;
|
|
6159
6170
|
number_of_pieces?: number;
|
|
6171
|
+
product_id?: string | null;
|
|
6160
6172
|
sent_at?: string | null;
|
|
6161
6173
|
status?: string;
|
|
6174
|
+
stock_mode?: string | null;
|
|
6162
6175
|
superseded_by?: string | null;
|
|
6176
|
+
target_week?: number | null;
|
|
6177
|
+
target_year?: number | null;
|
|
6163
6178
|
trade_item_id?: string;
|
|
6164
6179
|
updated_at?: string;
|
|
6165
6180
|
user_id?: string;
|
|
@@ -6568,6 +6583,87 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
6568
6583
|
referencedColumns: ["id"];
|
|
6569
6584
|
}];
|
|
6570
6585
|
};
|
|
6586
|
+
floriday_inventory_settings: {
|
|
6587
|
+
Row: {
|
|
6588
|
+
buffer_quantity: number;
|
|
6589
|
+
connection_id: string;
|
|
6590
|
+
created_at: string;
|
|
6591
|
+
desired_availability: boolean;
|
|
6592
|
+
desired_quantity: number;
|
|
6593
|
+
fixed_quantity: number | null;
|
|
6594
|
+
floriday_trade_item_id: string | null;
|
|
6595
|
+
id: string;
|
|
6596
|
+
last_confirmed_at: string | null;
|
|
6597
|
+
last_enqueued_at: string | null;
|
|
6598
|
+
last_published_at: string | null;
|
|
6599
|
+
last_sync_error: string | null;
|
|
6600
|
+
manual_quantity: number | null;
|
|
6601
|
+
maximum_quantity: number | null;
|
|
6602
|
+
product_id: string;
|
|
6603
|
+
quantity_control: string;
|
|
6604
|
+
remote_available: boolean | null;
|
|
6605
|
+
remote_checked_at: string | null;
|
|
6606
|
+
remote_quantity: number | null;
|
|
6607
|
+
stock_mode: string;
|
|
6608
|
+
sync_status: string;
|
|
6609
|
+
updated_at: string;
|
|
6610
|
+
updated_by: string | null;
|
|
6611
|
+
user_id: string;
|
|
6612
|
+
};
|
|
6613
|
+
Insert: {
|
|
6614
|
+
buffer_quantity?: number;
|
|
6615
|
+
connection_id: string;
|
|
6616
|
+
created_at?: string;
|
|
6617
|
+
desired_availability?: boolean;
|
|
6618
|
+
desired_quantity?: number;
|
|
6619
|
+
fixed_quantity?: number | null;
|
|
6620
|
+
floriday_trade_item_id?: string | null;
|
|
6621
|
+
id?: string;
|
|
6622
|
+
last_confirmed_at?: string | null;
|
|
6623
|
+
last_enqueued_at?: string | null;
|
|
6624
|
+
last_published_at?: string | null;
|
|
6625
|
+
last_sync_error?: string | null;
|
|
6626
|
+
manual_quantity?: number | null;
|
|
6627
|
+
maximum_quantity?: number | null;
|
|
6628
|
+
product_id: string;
|
|
6629
|
+
quantity_control?: string;
|
|
6630
|
+
remote_available?: boolean | null;
|
|
6631
|
+
remote_checked_at?: string | null;
|
|
6632
|
+
remote_quantity?: number | null;
|
|
6633
|
+
stock_mode?: string;
|
|
6634
|
+
sync_status?: string;
|
|
6635
|
+
updated_at?: string;
|
|
6636
|
+
updated_by?: string | null;
|
|
6637
|
+
user_id: string;
|
|
6638
|
+
};
|
|
6639
|
+
Update: {
|
|
6640
|
+
buffer_quantity?: number;
|
|
6641
|
+
connection_id?: string;
|
|
6642
|
+
created_at?: string;
|
|
6643
|
+
desired_availability?: boolean;
|
|
6644
|
+
desired_quantity?: number;
|
|
6645
|
+
fixed_quantity?: number | null;
|
|
6646
|
+
floriday_trade_item_id?: string | null;
|
|
6647
|
+
id?: string;
|
|
6648
|
+
last_confirmed_at?: string | null;
|
|
6649
|
+
last_enqueued_at?: string | null;
|
|
6650
|
+
last_published_at?: string | null;
|
|
6651
|
+
last_sync_error?: string | null;
|
|
6652
|
+
manual_quantity?: number | null;
|
|
6653
|
+
maximum_quantity?: number | null;
|
|
6654
|
+
product_id?: string;
|
|
6655
|
+
quantity_control?: string;
|
|
6656
|
+
remote_available?: boolean | null;
|
|
6657
|
+
remote_checked_at?: string | null;
|
|
6658
|
+
remote_quantity?: number | null;
|
|
6659
|
+
stock_mode?: string;
|
|
6660
|
+
sync_status?: string;
|
|
6661
|
+
updated_at?: string;
|
|
6662
|
+
updated_by?: string | null;
|
|
6663
|
+
user_id?: string;
|
|
6664
|
+
};
|
|
6665
|
+
Relationships: [];
|
|
6666
|
+
};
|
|
6571
6667
|
floriday_invoices_cache: {
|
|
6572
6668
|
Row: {
|
|
6573
6669
|
buyer_organization_id: string | null;
|
|
@@ -6856,6 +6952,39 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
6856
6952
|
};
|
|
6857
6953
|
Relationships: [];
|
|
6858
6954
|
};
|
|
6955
|
+
floriday_sales_order_ingest: {
|
|
6956
|
+
Row: {
|
|
6957
|
+
connection_id: string;
|
|
6958
|
+
created_at: string;
|
|
6959
|
+
id: string;
|
|
6960
|
+
impact: import("../integrations/supabase/types").Json;
|
|
6961
|
+
order_status: string | null;
|
|
6962
|
+
order_version: number;
|
|
6963
|
+
processed_at: string;
|
|
6964
|
+
sales_order_id: string;
|
|
6965
|
+
};
|
|
6966
|
+
Insert: {
|
|
6967
|
+
connection_id: string;
|
|
6968
|
+
created_at?: string;
|
|
6969
|
+
id?: string;
|
|
6970
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
6971
|
+
order_status?: string | null;
|
|
6972
|
+
order_version?: number;
|
|
6973
|
+
processed_at?: string;
|
|
6974
|
+
sales_order_id: string;
|
|
6975
|
+
};
|
|
6976
|
+
Update: {
|
|
6977
|
+
connection_id?: string;
|
|
6978
|
+
created_at?: string;
|
|
6979
|
+
id?: string;
|
|
6980
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
6981
|
+
order_status?: string | null;
|
|
6982
|
+
order_version?: number;
|
|
6983
|
+
processed_at?: string;
|
|
6984
|
+
sales_order_id?: string;
|
|
6985
|
+
};
|
|
6986
|
+
Relationships: [];
|
|
6987
|
+
};
|
|
6859
6988
|
floriday_sales_strategies_cache: {
|
|
6860
6989
|
Row: {
|
|
6861
6990
|
connection_id: string;
|
|
@@ -6955,6 +7084,39 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
6955
7084
|
};
|
|
6956
7085
|
Relationships: [];
|
|
6957
7086
|
};
|
|
7087
|
+
floriday_sync_cursors: {
|
|
7088
|
+
Row: {
|
|
7089
|
+
connection_id: string;
|
|
7090
|
+
created_at: string;
|
|
7091
|
+
id: string;
|
|
7092
|
+
last_error: string | null;
|
|
7093
|
+
last_sync_at: string | null;
|
|
7094
|
+
resource_type: string;
|
|
7095
|
+
sequence_number: number;
|
|
7096
|
+
updated_at: string;
|
|
7097
|
+
};
|
|
7098
|
+
Insert: {
|
|
7099
|
+
connection_id: string;
|
|
7100
|
+
created_at?: string;
|
|
7101
|
+
id?: string;
|
|
7102
|
+
last_error?: string | null;
|
|
7103
|
+
last_sync_at?: string | null;
|
|
7104
|
+
resource_type: string;
|
|
7105
|
+
sequence_number?: number;
|
|
7106
|
+
updated_at?: string;
|
|
7107
|
+
};
|
|
7108
|
+
Update: {
|
|
7109
|
+
connection_id?: string;
|
|
7110
|
+
created_at?: string;
|
|
7111
|
+
id?: string;
|
|
7112
|
+
last_error?: string | null;
|
|
7113
|
+
last_sync_at?: string | null;
|
|
7114
|
+
resource_type?: string;
|
|
7115
|
+
sequence_number?: number;
|
|
7116
|
+
updated_at?: string;
|
|
7117
|
+
};
|
|
7118
|
+
Relationships: [];
|
|
7119
|
+
};
|
|
6958
7120
|
floriday_sync_state: {
|
|
6959
7121
|
Row: {
|
|
6960
7122
|
connection_id: string;
|
|
@@ -7645,6 +7807,42 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
7645
7807
|
};
|
|
7646
7808
|
Relationships: [];
|
|
7647
7809
|
};
|
|
7810
|
+
inventory_stock_snapshots: {
|
|
7811
|
+
Row: {
|
|
7812
|
+
connection_id: string;
|
|
7813
|
+
created_at: string;
|
|
7814
|
+
erp_available_quantity: number;
|
|
7815
|
+
floriday_desired_quantity: number;
|
|
7816
|
+
floriday_remote_quantity: number | null;
|
|
7817
|
+
granularity: string;
|
|
7818
|
+
id: string;
|
|
7819
|
+
snapshot_at: string;
|
|
7820
|
+
user_id: string | null;
|
|
7821
|
+
};
|
|
7822
|
+
Insert: {
|
|
7823
|
+
connection_id: string;
|
|
7824
|
+
created_at?: string;
|
|
7825
|
+
erp_available_quantity?: number;
|
|
7826
|
+
floriday_desired_quantity?: number;
|
|
7827
|
+
floriday_remote_quantity?: number | null;
|
|
7828
|
+
granularity?: string;
|
|
7829
|
+
id?: string;
|
|
7830
|
+
snapshot_at?: string;
|
|
7831
|
+
user_id?: string | null;
|
|
7832
|
+
};
|
|
7833
|
+
Update: {
|
|
7834
|
+
connection_id?: string;
|
|
7835
|
+
created_at?: string;
|
|
7836
|
+
erp_available_quantity?: number;
|
|
7837
|
+
floriday_desired_quantity?: number;
|
|
7838
|
+
floriday_remote_quantity?: number | null;
|
|
7839
|
+
granularity?: string;
|
|
7840
|
+
id?: string;
|
|
7841
|
+
snapshot_at?: string;
|
|
7842
|
+
user_id?: string | null;
|
|
7843
|
+
};
|
|
7844
|
+
Relationships: [];
|
|
7845
|
+
};
|
|
7648
7846
|
invoice_items: {
|
|
7649
7847
|
Row: {
|
|
7650
7848
|
created_at: string;
|
|
@@ -16839,6 +17037,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
16839
17037
|
};
|
|
16840
17038
|
trade_item_stock: {
|
|
16841
17039
|
Row: {
|
|
17040
|
+
change_source: string;
|
|
16842
17041
|
connection_id: string;
|
|
16843
17042
|
created_at: string;
|
|
16844
17043
|
id: string;
|
|
@@ -16852,6 +17051,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
16852
17051
|
user_id: string;
|
|
16853
17052
|
};
|
|
16854
17053
|
Insert: {
|
|
17054
|
+
change_source?: string;
|
|
16855
17055
|
connection_id: string;
|
|
16856
17056
|
created_at?: string;
|
|
16857
17057
|
id?: string;
|
|
@@ -16865,6 +17065,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
16865
17065
|
user_id: string;
|
|
16866
17066
|
};
|
|
16867
17067
|
Update: {
|
|
17068
|
+
change_source?: string;
|
|
16868
17069
|
connection_id?: string;
|
|
16869
17070
|
created_at?: string;
|
|
16870
17071
|
id?: string;
|
|
@@ -20465,6 +20666,18 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
20465
20666
|
Args: never;
|
|
20466
20667
|
Returns: number;
|
|
20467
20668
|
};
|
|
20669
|
+
calculate_floriday_desired_stock: {
|
|
20670
|
+
Args: {
|
|
20671
|
+
p_connection_id: string;
|
|
20672
|
+
p_product_id: string;
|
|
20673
|
+
};
|
|
20674
|
+
Returns: {
|
|
20675
|
+
desired_availability: boolean;
|
|
20676
|
+
desired_quantity: number;
|
|
20677
|
+
erp_available: number;
|
|
20678
|
+
stock_mode: string;
|
|
20679
|
+
}[];
|
|
20680
|
+
};
|
|
20468
20681
|
calculate_layer_stock: {
|
|
20469
20682
|
Args: {
|
|
20470
20683
|
p_product_id: string;
|
|
@@ -20559,6 +20772,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
20559
20772
|
attempts: number;
|
|
20560
20773
|
connection_id: string;
|
|
20561
20774
|
created_at: string;
|
|
20775
|
+
dead_lettered_at: string | null;
|
|
20562
20776
|
desired_available: boolean | null;
|
|
20563
20777
|
gateway_attempt_id: string | null;
|
|
20564
20778
|
id: string;
|
|
@@ -20567,9 +20781,13 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
20567
20781
|
locked_by: string | null;
|
|
20568
20782
|
next_attempt_at: string;
|
|
20569
20783
|
number_of_pieces: number;
|
|
20784
|
+
product_id: string | null;
|
|
20570
20785
|
sent_at: string | null;
|
|
20571
20786
|
status: string;
|
|
20787
|
+
stock_mode: string | null;
|
|
20572
20788
|
superseded_by: string | null;
|
|
20789
|
+
target_week: number | null;
|
|
20790
|
+
target_year: number | null;
|
|
20573
20791
|
trade_item_id: string;
|
|
20574
20792
|
updated_at: string;
|
|
20575
20793
|
user_id: string;
|
|
@@ -21050,6 +21268,24 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
21050
21268
|
};
|
|
21051
21269
|
Returns: string;
|
|
21052
21270
|
};
|
|
21271
|
+
floriday_capture_stock_snapshot: {
|
|
21272
|
+
Args: never;
|
|
21273
|
+
Returns: number;
|
|
21274
|
+
};
|
|
21275
|
+
floriday_cleanup_stock_queue_v2: {
|
|
21276
|
+
Args: never;
|
|
21277
|
+
Returns: undefined;
|
|
21278
|
+
};
|
|
21279
|
+
floriday_compact_stock_snapshots: {
|
|
21280
|
+
Args: never;
|
|
21281
|
+
Returns: undefined;
|
|
21282
|
+
};
|
|
21283
|
+
floriday_default_owner: {
|
|
21284
|
+
Args: {
|
|
21285
|
+
p_connection_id: string;
|
|
21286
|
+
};
|
|
21287
|
+
Returns: string;
|
|
21288
|
+
};
|
|
21053
21289
|
floriday_effective_price: {
|
|
21054
21290
|
Args: {
|
|
21055
21291
|
_buyer_id: string;
|
|
@@ -21067,6 +21303,22 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
|
|
|
21067
21303
|
source_id: string;
|
|
21068
21304
|
}[];
|
|
21069
21305
|
};
|
|
21306
|
+
floriday_fill_publish_horizon: {
|
|
21307
|
+
Args: never;
|
|
21308
|
+
Returns: number;
|
|
21309
|
+
};
|
|
21310
|
+
floriday_publish_horizon_weeks: {
|
|
21311
|
+
Args: never;
|
|
21312
|
+
Returns: number;
|
|
21313
|
+
};
|
|
21314
|
+
floriday_recompute_inventory: {
|
|
21315
|
+
Args: {
|
|
21316
|
+
p_connection_id: string;
|
|
21317
|
+
p_force?: boolean;
|
|
21318
|
+
p_product_id: string;
|
|
21319
|
+
};
|
|
21320
|
+
Returns: undefined;
|
|
21321
|
+
};
|
|
21070
21322
|
format_cart_number: {
|
|
21071
21323
|
Args: {
|
|
21072
21324
|
p_pick_date: string;
|
|
@@ -29703,6 +29955,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
29703
29955
|
attempts: number;
|
|
29704
29956
|
connection_id: string;
|
|
29705
29957
|
created_at: string;
|
|
29958
|
+
dead_lettered_at: string | null;
|
|
29706
29959
|
desired_available: boolean | null;
|
|
29707
29960
|
gateway_attempt_id: string | null;
|
|
29708
29961
|
id: string;
|
|
@@ -29711,9 +29964,13 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
29711
29964
|
locked_by: string | null;
|
|
29712
29965
|
next_attempt_at: string;
|
|
29713
29966
|
number_of_pieces: number;
|
|
29967
|
+
product_id: string | null;
|
|
29714
29968
|
sent_at: string | null;
|
|
29715
29969
|
status: string;
|
|
29970
|
+
stock_mode: string | null;
|
|
29716
29971
|
superseded_by: string | null;
|
|
29972
|
+
target_week: number | null;
|
|
29973
|
+
target_year: number | null;
|
|
29717
29974
|
trade_item_id: string;
|
|
29718
29975
|
updated_at: string;
|
|
29719
29976
|
user_id: string;
|
|
@@ -29722,6 +29979,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
29722
29979
|
attempts?: number;
|
|
29723
29980
|
connection_id: string;
|
|
29724
29981
|
created_at?: string;
|
|
29982
|
+
dead_lettered_at?: string | null;
|
|
29725
29983
|
desired_available?: boolean | null;
|
|
29726
29984
|
gateway_attempt_id?: string | null;
|
|
29727
29985
|
id?: string;
|
|
@@ -29730,9 +29988,13 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
29730
29988
|
locked_by?: string | null;
|
|
29731
29989
|
next_attempt_at?: string;
|
|
29732
29990
|
number_of_pieces?: number;
|
|
29991
|
+
product_id?: string | null;
|
|
29733
29992
|
sent_at?: string | null;
|
|
29734
29993
|
status?: string;
|
|
29994
|
+
stock_mode?: string | null;
|
|
29735
29995
|
superseded_by?: string | null;
|
|
29996
|
+
target_week?: number | null;
|
|
29997
|
+
target_year?: number | null;
|
|
29736
29998
|
trade_item_id: string;
|
|
29737
29999
|
updated_at?: string;
|
|
29738
30000
|
user_id: string;
|
|
@@ -29741,6 +30003,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
29741
30003
|
attempts?: number;
|
|
29742
30004
|
connection_id?: string;
|
|
29743
30005
|
created_at?: string;
|
|
30006
|
+
dead_lettered_at?: string | null;
|
|
29744
30007
|
desired_available?: boolean | null;
|
|
29745
30008
|
gateway_attempt_id?: string | null;
|
|
29746
30009
|
id?: string;
|
|
@@ -29749,9 +30012,13 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
29749
30012
|
locked_by?: string | null;
|
|
29750
30013
|
next_attempt_at?: string;
|
|
29751
30014
|
number_of_pieces?: number;
|
|
30015
|
+
product_id?: string | null;
|
|
29752
30016
|
sent_at?: string | null;
|
|
29753
30017
|
status?: string;
|
|
30018
|
+
stock_mode?: string | null;
|
|
29754
30019
|
superseded_by?: string | null;
|
|
30020
|
+
target_week?: number | null;
|
|
30021
|
+
target_year?: number | null;
|
|
29755
30022
|
trade_item_id?: string;
|
|
29756
30023
|
updated_at?: string;
|
|
29757
30024
|
user_id?: string;
|
|
@@ -30160,6 +30427,87 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
30160
30427
|
referencedColumns: ["id"];
|
|
30161
30428
|
}];
|
|
30162
30429
|
};
|
|
30430
|
+
floriday_inventory_settings: {
|
|
30431
|
+
Row: {
|
|
30432
|
+
buffer_quantity: number;
|
|
30433
|
+
connection_id: string;
|
|
30434
|
+
created_at: string;
|
|
30435
|
+
desired_availability: boolean;
|
|
30436
|
+
desired_quantity: number;
|
|
30437
|
+
fixed_quantity: number | null;
|
|
30438
|
+
floriday_trade_item_id: string | null;
|
|
30439
|
+
id: string;
|
|
30440
|
+
last_confirmed_at: string | null;
|
|
30441
|
+
last_enqueued_at: string | null;
|
|
30442
|
+
last_published_at: string | null;
|
|
30443
|
+
last_sync_error: string | null;
|
|
30444
|
+
manual_quantity: number | null;
|
|
30445
|
+
maximum_quantity: number | null;
|
|
30446
|
+
product_id: string;
|
|
30447
|
+
quantity_control: string;
|
|
30448
|
+
remote_available: boolean | null;
|
|
30449
|
+
remote_checked_at: string | null;
|
|
30450
|
+
remote_quantity: number | null;
|
|
30451
|
+
stock_mode: string;
|
|
30452
|
+
sync_status: string;
|
|
30453
|
+
updated_at: string;
|
|
30454
|
+
updated_by: string | null;
|
|
30455
|
+
user_id: string;
|
|
30456
|
+
};
|
|
30457
|
+
Insert: {
|
|
30458
|
+
buffer_quantity?: number;
|
|
30459
|
+
connection_id: string;
|
|
30460
|
+
created_at?: string;
|
|
30461
|
+
desired_availability?: boolean;
|
|
30462
|
+
desired_quantity?: number;
|
|
30463
|
+
fixed_quantity?: number | null;
|
|
30464
|
+
floriday_trade_item_id?: string | null;
|
|
30465
|
+
id?: string;
|
|
30466
|
+
last_confirmed_at?: string | null;
|
|
30467
|
+
last_enqueued_at?: string | null;
|
|
30468
|
+
last_published_at?: string | null;
|
|
30469
|
+
last_sync_error?: string | null;
|
|
30470
|
+
manual_quantity?: number | null;
|
|
30471
|
+
maximum_quantity?: number | null;
|
|
30472
|
+
product_id: string;
|
|
30473
|
+
quantity_control?: string;
|
|
30474
|
+
remote_available?: boolean | null;
|
|
30475
|
+
remote_checked_at?: string | null;
|
|
30476
|
+
remote_quantity?: number | null;
|
|
30477
|
+
stock_mode?: string;
|
|
30478
|
+
sync_status?: string;
|
|
30479
|
+
updated_at?: string;
|
|
30480
|
+
updated_by?: string | null;
|
|
30481
|
+
user_id: string;
|
|
30482
|
+
};
|
|
30483
|
+
Update: {
|
|
30484
|
+
buffer_quantity?: number;
|
|
30485
|
+
connection_id?: string;
|
|
30486
|
+
created_at?: string;
|
|
30487
|
+
desired_availability?: boolean;
|
|
30488
|
+
desired_quantity?: number;
|
|
30489
|
+
fixed_quantity?: number | null;
|
|
30490
|
+
floriday_trade_item_id?: string | null;
|
|
30491
|
+
id?: string;
|
|
30492
|
+
last_confirmed_at?: string | null;
|
|
30493
|
+
last_enqueued_at?: string | null;
|
|
30494
|
+
last_published_at?: string | null;
|
|
30495
|
+
last_sync_error?: string | null;
|
|
30496
|
+
manual_quantity?: number | null;
|
|
30497
|
+
maximum_quantity?: number | null;
|
|
30498
|
+
product_id?: string;
|
|
30499
|
+
quantity_control?: string;
|
|
30500
|
+
remote_available?: boolean | null;
|
|
30501
|
+
remote_checked_at?: string | null;
|
|
30502
|
+
remote_quantity?: number | null;
|
|
30503
|
+
stock_mode?: string;
|
|
30504
|
+
sync_status?: string;
|
|
30505
|
+
updated_at?: string;
|
|
30506
|
+
updated_by?: string | null;
|
|
30507
|
+
user_id?: string;
|
|
30508
|
+
};
|
|
30509
|
+
Relationships: [];
|
|
30510
|
+
};
|
|
30163
30511
|
floriday_invoices_cache: {
|
|
30164
30512
|
Row: {
|
|
30165
30513
|
buyer_organization_id: string | null;
|
|
@@ -30448,6 +30796,39 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
30448
30796
|
};
|
|
30449
30797
|
Relationships: [];
|
|
30450
30798
|
};
|
|
30799
|
+
floriday_sales_order_ingest: {
|
|
30800
|
+
Row: {
|
|
30801
|
+
connection_id: string;
|
|
30802
|
+
created_at: string;
|
|
30803
|
+
id: string;
|
|
30804
|
+
impact: import("../integrations/supabase/types").Json;
|
|
30805
|
+
order_status: string | null;
|
|
30806
|
+
order_version: number;
|
|
30807
|
+
processed_at: string;
|
|
30808
|
+
sales_order_id: string;
|
|
30809
|
+
};
|
|
30810
|
+
Insert: {
|
|
30811
|
+
connection_id: string;
|
|
30812
|
+
created_at?: string;
|
|
30813
|
+
id?: string;
|
|
30814
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
30815
|
+
order_status?: string | null;
|
|
30816
|
+
order_version?: number;
|
|
30817
|
+
processed_at?: string;
|
|
30818
|
+
sales_order_id: string;
|
|
30819
|
+
};
|
|
30820
|
+
Update: {
|
|
30821
|
+
connection_id?: string;
|
|
30822
|
+
created_at?: string;
|
|
30823
|
+
id?: string;
|
|
30824
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
30825
|
+
order_status?: string | null;
|
|
30826
|
+
order_version?: number;
|
|
30827
|
+
processed_at?: string;
|
|
30828
|
+
sales_order_id?: string;
|
|
30829
|
+
};
|
|
30830
|
+
Relationships: [];
|
|
30831
|
+
};
|
|
30451
30832
|
floriday_sales_strategies_cache: {
|
|
30452
30833
|
Row: {
|
|
30453
30834
|
connection_id: string;
|
|
@@ -30547,6 +30928,39 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
30547
30928
|
};
|
|
30548
30929
|
Relationships: [];
|
|
30549
30930
|
};
|
|
30931
|
+
floriday_sync_cursors: {
|
|
30932
|
+
Row: {
|
|
30933
|
+
connection_id: string;
|
|
30934
|
+
created_at: string;
|
|
30935
|
+
id: string;
|
|
30936
|
+
last_error: string | null;
|
|
30937
|
+
last_sync_at: string | null;
|
|
30938
|
+
resource_type: string;
|
|
30939
|
+
sequence_number: number;
|
|
30940
|
+
updated_at: string;
|
|
30941
|
+
};
|
|
30942
|
+
Insert: {
|
|
30943
|
+
connection_id: string;
|
|
30944
|
+
created_at?: string;
|
|
30945
|
+
id?: string;
|
|
30946
|
+
last_error?: string | null;
|
|
30947
|
+
last_sync_at?: string | null;
|
|
30948
|
+
resource_type: string;
|
|
30949
|
+
sequence_number?: number;
|
|
30950
|
+
updated_at?: string;
|
|
30951
|
+
};
|
|
30952
|
+
Update: {
|
|
30953
|
+
connection_id?: string;
|
|
30954
|
+
created_at?: string;
|
|
30955
|
+
id?: string;
|
|
30956
|
+
last_error?: string | null;
|
|
30957
|
+
last_sync_at?: string | null;
|
|
30958
|
+
resource_type?: string;
|
|
30959
|
+
sequence_number?: number;
|
|
30960
|
+
updated_at?: string;
|
|
30961
|
+
};
|
|
30962
|
+
Relationships: [];
|
|
30963
|
+
};
|
|
30550
30964
|
floriday_sync_state: {
|
|
30551
30965
|
Row: {
|
|
30552
30966
|
connection_id: string;
|
|
@@ -31237,6 +31651,42 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
31237
31651
|
};
|
|
31238
31652
|
Relationships: [];
|
|
31239
31653
|
};
|
|
31654
|
+
inventory_stock_snapshots: {
|
|
31655
|
+
Row: {
|
|
31656
|
+
connection_id: string;
|
|
31657
|
+
created_at: string;
|
|
31658
|
+
erp_available_quantity: number;
|
|
31659
|
+
floriday_desired_quantity: number;
|
|
31660
|
+
floriday_remote_quantity: number | null;
|
|
31661
|
+
granularity: string;
|
|
31662
|
+
id: string;
|
|
31663
|
+
snapshot_at: string;
|
|
31664
|
+
user_id: string | null;
|
|
31665
|
+
};
|
|
31666
|
+
Insert: {
|
|
31667
|
+
connection_id: string;
|
|
31668
|
+
created_at?: string;
|
|
31669
|
+
erp_available_quantity?: number;
|
|
31670
|
+
floriday_desired_quantity?: number;
|
|
31671
|
+
floriday_remote_quantity?: number | null;
|
|
31672
|
+
granularity?: string;
|
|
31673
|
+
id?: string;
|
|
31674
|
+
snapshot_at?: string;
|
|
31675
|
+
user_id?: string | null;
|
|
31676
|
+
};
|
|
31677
|
+
Update: {
|
|
31678
|
+
connection_id?: string;
|
|
31679
|
+
created_at?: string;
|
|
31680
|
+
erp_available_quantity?: number;
|
|
31681
|
+
floriday_desired_quantity?: number;
|
|
31682
|
+
floriday_remote_quantity?: number | null;
|
|
31683
|
+
granularity?: string;
|
|
31684
|
+
id?: string;
|
|
31685
|
+
snapshot_at?: string;
|
|
31686
|
+
user_id?: string | null;
|
|
31687
|
+
};
|
|
31688
|
+
Relationships: [];
|
|
31689
|
+
};
|
|
31240
31690
|
invoice_items: {
|
|
31241
31691
|
Row: {
|
|
31242
31692
|
created_at: string;
|
|
@@ -40431,6 +40881,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
40431
40881
|
};
|
|
40432
40882
|
trade_item_stock: {
|
|
40433
40883
|
Row: {
|
|
40884
|
+
change_source: string;
|
|
40434
40885
|
connection_id: string;
|
|
40435
40886
|
created_at: string;
|
|
40436
40887
|
id: string;
|
|
@@ -40444,6 +40895,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
40444
40895
|
user_id: string;
|
|
40445
40896
|
};
|
|
40446
40897
|
Insert: {
|
|
40898
|
+
change_source?: string;
|
|
40447
40899
|
connection_id: string;
|
|
40448
40900
|
created_at?: string;
|
|
40449
40901
|
id?: string;
|
|
@@ -40457,6 +40909,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
40457
40909
|
user_id: string;
|
|
40458
40910
|
};
|
|
40459
40911
|
Update: {
|
|
40912
|
+
change_source?: string;
|
|
40460
40913
|
connection_id?: string;
|
|
40461
40914
|
created_at?: string;
|
|
40462
40915
|
id?: string;
|
|
@@ -44057,6 +44510,18 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
44057
44510
|
Args: never;
|
|
44058
44511
|
Returns: number;
|
|
44059
44512
|
};
|
|
44513
|
+
calculate_floriday_desired_stock: {
|
|
44514
|
+
Args: {
|
|
44515
|
+
p_connection_id: string;
|
|
44516
|
+
p_product_id: string;
|
|
44517
|
+
};
|
|
44518
|
+
Returns: {
|
|
44519
|
+
desired_availability: boolean;
|
|
44520
|
+
desired_quantity: number;
|
|
44521
|
+
erp_available: number;
|
|
44522
|
+
stock_mode: string;
|
|
44523
|
+
}[];
|
|
44524
|
+
};
|
|
44060
44525
|
calculate_layer_stock: {
|
|
44061
44526
|
Args: {
|
|
44062
44527
|
p_product_id: string;
|
|
@@ -44151,6 +44616,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
44151
44616
|
attempts: number;
|
|
44152
44617
|
connection_id: string;
|
|
44153
44618
|
created_at: string;
|
|
44619
|
+
dead_lettered_at: string | null;
|
|
44154
44620
|
desired_available: boolean | null;
|
|
44155
44621
|
gateway_attempt_id: string | null;
|
|
44156
44622
|
id: string;
|
|
@@ -44159,9 +44625,13 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
44159
44625
|
locked_by: string | null;
|
|
44160
44626
|
next_attempt_at: string;
|
|
44161
44627
|
number_of_pieces: number;
|
|
44628
|
+
product_id: string | null;
|
|
44162
44629
|
sent_at: string | null;
|
|
44163
44630
|
status: string;
|
|
44631
|
+
stock_mode: string | null;
|
|
44164
44632
|
superseded_by: string | null;
|
|
44633
|
+
target_week: number | null;
|
|
44634
|
+
target_year: number | null;
|
|
44165
44635
|
trade_item_id: string;
|
|
44166
44636
|
updated_at: string;
|
|
44167
44637
|
user_id: string;
|
|
@@ -44642,6 +45112,24 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
44642
45112
|
};
|
|
44643
45113
|
Returns: string;
|
|
44644
45114
|
};
|
|
45115
|
+
floriday_capture_stock_snapshot: {
|
|
45116
|
+
Args: never;
|
|
45117
|
+
Returns: number;
|
|
45118
|
+
};
|
|
45119
|
+
floriday_cleanup_stock_queue_v2: {
|
|
45120
|
+
Args: never;
|
|
45121
|
+
Returns: undefined;
|
|
45122
|
+
};
|
|
45123
|
+
floriday_compact_stock_snapshots: {
|
|
45124
|
+
Args: never;
|
|
45125
|
+
Returns: undefined;
|
|
45126
|
+
};
|
|
45127
|
+
floriday_default_owner: {
|
|
45128
|
+
Args: {
|
|
45129
|
+
p_connection_id: string;
|
|
45130
|
+
};
|
|
45131
|
+
Returns: string;
|
|
45132
|
+
};
|
|
44645
45133
|
floriday_effective_price: {
|
|
44646
45134
|
Args: {
|
|
44647
45135
|
_buyer_id: string;
|
|
@@ -44659,6 +45147,22 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
|
|
|
44659
45147
|
source_id: string;
|
|
44660
45148
|
}[];
|
|
44661
45149
|
};
|
|
45150
|
+
floriday_fill_publish_horizon: {
|
|
45151
|
+
Args: never;
|
|
45152
|
+
Returns: number;
|
|
45153
|
+
};
|
|
45154
|
+
floriday_publish_horizon_weeks: {
|
|
45155
|
+
Args: never;
|
|
45156
|
+
Returns: number;
|
|
45157
|
+
};
|
|
45158
|
+
floriday_recompute_inventory: {
|
|
45159
|
+
Args: {
|
|
45160
|
+
p_connection_id: string;
|
|
45161
|
+
p_force?: boolean;
|
|
45162
|
+
p_product_id: string;
|
|
45163
|
+
};
|
|
45164
|
+
Returns: undefined;
|
|
45165
|
+
};
|
|
44662
45166
|
format_cart_number: {
|
|
44663
45167
|
Args: {
|
|
44664
45168
|
p_pick_date: string;
|
|
@@ -53296,6 +53800,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
53296
53800
|
attempts: number;
|
|
53297
53801
|
connection_id: string;
|
|
53298
53802
|
created_at: string;
|
|
53803
|
+
dead_lettered_at: string | null;
|
|
53299
53804
|
desired_available: boolean | null;
|
|
53300
53805
|
gateway_attempt_id: string | null;
|
|
53301
53806
|
id: string;
|
|
@@ -53304,9 +53809,13 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
53304
53809
|
locked_by: string | null;
|
|
53305
53810
|
next_attempt_at: string;
|
|
53306
53811
|
number_of_pieces: number;
|
|
53812
|
+
product_id: string | null;
|
|
53307
53813
|
sent_at: string | null;
|
|
53308
53814
|
status: string;
|
|
53815
|
+
stock_mode: string | null;
|
|
53309
53816
|
superseded_by: string | null;
|
|
53817
|
+
target_week: number | null;
|
|
53818
|
+
target_year: number | null;
|
|
53310
53819
|
trade_item_id: string;
|
|
53311
53820
|
updated_at: string;
|
|
53312
53821
|
user_id: string;
|
|
@@ -53315,6 +53824,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
53315
53824
|
attempts?: number;
|
|
53316
53825
|
connection_id: string;
|
|
53317
53826
|
created_at?: string;
|
|
53827
|
+
dead_lettered_at?: string | null;
|
|
53318
53828
|
desired_available?: boolean | null;
|
|
53319
53829
|
gateway_attempt_id?: string | null;
|
|
53320
53830
|
id?: string;
|
|
@@ -53323,9 +53833,13 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
53323
53833
|
locked_by?: string | null;
|
|
53324
53834
|
next_attempt_at?: string;
|
|
53325
53835
|
number_of_pieces?: number;
|
|
53836
|
+
product_id?: string | null;
|
|
53326
53837
|
sent_at?: string | null;
|
|
53327
53838
|
status?: string;
|
|
53839
|
+
stock_mode?: string | null;
|
|
53328
53840
|
superseded_by?: string | null;
|
|
53841
|
+
target_week?: number | null;
|
|
53842
|
+
target_year?: number | null;
|
|
53329
53843
|
trade_item_id: string;
|
|
53330
53844
|
updated_at?: string;
|
|
53331
53845
|
user_id: string;
|
|
@@ -53334,6 +53848,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
53334
53848
|
attempts?: number;
|
|
53335
53849
|
connection_id?: string;
|
|
53336
53850
|
created_at?: string;
|
|
53851
|
+
dead_lettered_at?: string | null;
|
|
53337
53852
|
desired_available?: boolean | null;
|
|
53338
53853
|
gateway_attempt_id?: string | null;
|
|
53339
53854
|
id?: string;
|
|
@@ -53342,9 +53857,13 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
53342
53857
|
locked_by?: string | null;
|
|
53343
53858
|
next_attempt_at?: string;
|
|
53344
53859
|
number_of_pieces?: number;
|
|
53860
|
+
product_id?: string | null;
|
|
53345
53861
|
sent_at?: string | null;
|
|
53346
53862
|
status?: string;
|
|
53863
|
+
stock_mode?: string | null;
|
|
53347
53864
|
superseded_by?: string | null;
|
|
53865
|
+
target_week?: number | null;
|
|
53866
|
+
target_year?: number | null;
|
|
53348
53867
|
trade_item_id?: string;
|
|
53349
53868
|
updated_at?: string;
|
|
53350
53869
|
user_id?: string;
|
|
@@ -53753,6 +54272,87 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
53753
54272
|
referencedColumns: ["id"];
|
|
53754
54273
|
}];
|
|
53755
54274
|
};
|
|
54275
|
+
floriday_inventory_settings: {
|
|
54276
|
+
Row: {
|
|
54277
|
+
buffer_quantity: number;
|
|
54278
|
+
connection_id: string;
|
|
54279
|
+
created_at: string;
|
|
54280
|
+
desired_availability: boolean;
|
|
54281
|
+
desired_quantity: number;
|
|
54282
|
+
fixed_quantity: number | null;
|
|
54283
|
+
floriday_trade_item_id: string | null;
|
|
54284
|
+
id: string;
|
|
54285
|
+
last_confirmed_at: string | null;
|
|
54286
|
+
last_enqueued_at: string | null;
|
|
54287
|
+
last_published_at: string | null;
|
|
54288
|
+
last_sync_error: string | null;
|
|
54289
|
+
manual_quantity: number | null;
|
|
54290
|
+
maximum_quantity: number | null;
|
|
54291
|
+
product_id: string;
|
|
54292
|
+
quantity_control: string;
|
|
54293
|
+
remote_available: boolean | null;
|
|
54294
|
+
remote_checked_at: string | null;
|
|
54295
|
+
remote_quantity: number | null;
|
|
54296
|
+
stock_mode: string;
|
|
54297
|
+
sync_status: string;
|
|
54298
|
+
updated_at: string;
|
|
54299
|
+
updated_by: string | null;
|
|
54300
|
+
user_id: string;
|
|
54301
|
+
};
|
|
54302
|
+
Insert: {
|
|
54303
|
+
buffer_quantity?: number;
|
|
54304
|
+
connection_id: string;
|
|
54305
|
+
created_at?: string;
|
|
54306
|
+
desired_availability?: boolean;
|
|
54307
|
+
desired_quantity?: number;
|
|
54308
|
+
fixed_quantity?: number | null;
|
|
54309
|
+
floriday_trade_item_id?: string | null;
|
|
54310
|
+
id?: string;
|
|
54311
|
+
last_confirmed_at?: string | null;
|
|
54312
|
+
last_enqueued_at?: string | null;
|
|
54313
|
+
last_published_at?: string | null;
|
|
54314
|
+
last_sync_error?: string | null;
|
|
54315
|
+
manual_quantity?: number | null;
|
|
54316
|
+
maximum_quantity?: number | null;
|
|
54317
|
+
product_id: string;
|
|
54318
|
+
quantity_control?: string;
|
|
54319
|
+
remote_available?: boolean | null;
|
|
54320
|
+
remote_checked_at?: string | null;
|
|
54321
|
+
remote_quantity?: number | null;
|
|
54322
|
+
stock_mode?: string;
|
|
54323
|
+
sync_status?: string;
|
|
54324
|
+
updated_at?: string;
|
|
54325
|
+
updated_by?: string | null;
|
|
54326
|
+
user_id: string;
|
|
54327
|
+
};
|
|
54328
|
+
Update: {
|
|
54329
|
+
buffer_quantity?: number;
|
|
54330
|
+
connection_id?: string;
|
|
54331
|
+
created_at?: string;
|
|
54332
|
+
desired_availability?: boolean;
|
|
54333
|
+
desired_quantity?: number;
|
|
54334
|
+
fixed_quantity?: number | null;
|
|
54335
|
+
floriday_trade_item_id?: string | null;
|
|
54336
|
+
id?: string;
|
|
54337
|
+
last_confirmed_at?: string | null;
|
|
54338
|
+
last_enqueued_at?: string | null;
|
|
54339
|
+
last_published_at?: string | null;
|
|
54340
|
+
last_sync_error?: string | null;
|
|
54341
|
+
manual_quantity?: number | null;
|
|
54342
|
+
maximum_quantity?: number | null;
|
|
54343
|
+
product_id?: string;
|
|
54344
|
+
quantity_control?: string;
|
|
54345
|
+
remote_available?: boolean | null;
|
|
54346
|
+
remote_checked_at?: string | null;
|
|
54347
|
+
remote_quantity?: number | null;
|
|
54348
|
+
stock_mode?: string;
|
|
54349
|
+
sync_status?: string;
|
|
54350
|
+
updated_at?: string;
|
|
54351
|
+
updated_by?: string | null;
|
|
54352
|
+
user_id?: string;
|
|
54353
|
+
};
|
|
54354
|
+
Relationships: [];
|
|
54355
|
+
};
|
|
53756
54356
|
floriday_invoices_cache: {
|
|
53757
54357
|
Row: {
|
|
53758
54358
|
buyer_organization_id: string | null;
|
|
@@ -54041,6 +54641,39 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
54041
54641
|
};
|
|
54042
54642
|
Relationships: [];
|
|
54043
54643
|
};
|
|
54644
|
+
floriday_sales_order_ingest: {
|
|
54645
|
+
Row: {
|
|
54646
|
+
connection_id: string;
|
|
54647
|
+
created_at: string;
|
|
54648
|
+
id: string;
|
|
54649
|
+
impact: import("../integrations/supabase/types").Json;
|
|
54650
|
+
order_status: string | null;
|
|
54651
|
+
order_version: number;
|
|
54652
|
+
processed_at: string;
|
|
54653
|
+
sales_order_id: string;
|
|
54654
|
+
};
|
|
54655
|
+
Insert: {
|
|
54656
|
+
connection_id: string;
|
|
54657
|
+
created_at?: string;
|
|
54658
|
+
id?: string;
|
|
54659
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
54660
|
+
order_status?: string | null;
|
|
54661
|
+
order_version?: number;
|
|
54662
|
+
processed_at?: string;
|
|
54663
|
+
sales_order_id: string;
|
|
54664
|
+
};
|
|
54665
|
+
Update: {
|
|
54666
|
+
connection_id?: string;
|
|
54667
|
+
created_at?: string;
|
|
54668
|
+
id?: string;
|
|
54669
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
54670
|
+
order_status?: string | null;
|
|
54671
|
+
order_version?: number;
|
|
54672
|
+
processed_at?: string;
|
|
54673
|
+
sales_order_id?: string;
|
|
54674
|
+
};
|
|
54675
|
+
Relationships: [];
|
|
54676
|
+
};
|
|
54044
54677
|
floriday_sales_strategies_cache: {
|
|
54045
54678
|
Row: {
|
|
54046
54679
|
connection_id: string;
|
|
@@ -54140,6 +54773,39 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
54140
54773
|
};
|
|
54141
54774
|
Relationships: [];
|
|
54142
54775
|
};
|
|
54776
|
+
floriday_sync_cursors: {
|
|
54777
|
+
Row: {
|
|
54778
|
+
connection_id: string;
|
|
54779
|
+
created_at: string;
|
|
54780
|
+
id: string;
|
|
54781
|
+
last_error: string | null;
|
|
54782
|
+
last_sync_at: string | null;
|
|
54783
|
+
resource_type: string;
|
|
54784
|
+
sequence_number: number;
|
|
54785
|
+
updated_at: string;
|
|
54786
|
+
};
|
|
54787
|
+
Insert: {
|
|
54788
|
+
connection_id: string;
|
|
54789
|
+
created_at?: string;
|
|
54790
|
+
id?: string;
|
|
54791
|
+
last_error?: string | null;
|
|
54792
|
+
last_sync_at?: string | null;
|
|
54793
|
+
resource_type: string;
|
|
54794
|
+
sequence_number?: number;
|
|
54795
|
+
updated_at?: string;
|
|
54796
|
+
};
|
|
54797
|
+
Update: {
|
|
54798
|
+
connection_id?: string;
|
|
54799
|
+
created_at?: string;
|
|
54800
|
+
id?: string;
|
|
54801
|
+
last_error?: string | null;
|
|
54802
|
+
last_sync_at?: string | null;
|
|
54803
|
+
resource_type?: string;
|
|
54804
|
+
sequence_number?: number;
|
|
54805
|
+
updated_at?: string;
|
|
54806
|
+
};
|
|
54807
|
+
Relationships: [];
|
|
54808
|
+
};
|
|
54143
54809
|
floriday_sync_state: {
|
|
54144
54810
|
Row: {
|
|
54145
54811
|
connection_id: string;
|
|
@@ -54830,6 +55496,42 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
54830
55496
|
};
|
|
54831
55497
|
Relationships: [];
|
|
54832
55498
|
};
|
|
55499
|
+
inventory_stock_snapshots: {
|
|
55500
|
+
Row: {
|
|
55501
|
+
connection_id: string;
|
|
55502
|
+
created_at: string;
|
|
55503
|
+
erp_available_quantity: number;
|
|
55504
|
+
floriday_desired_quantity: number;
|
|
55505
|
+
floriday_remote_quantity: number | null;
|
|
55506
|
+
granularity: string;
|
|
55507
|
+
id: string;
|
|
55508
|
+
snapshot_at: string;
|
|
55509
|
+
user_id: string | null;
|
|
55510
|
+
};
|
|
55511
|
+
Insert: {
|
|
55512
|
+
connection_id: string;
|
|
55513
|
+
created_at?: string;
|
|
55514
|
+
erp_available_quantity?: number;
|
|
55515
|
+
floriday_desired_quantity?: number;
|
|
55516
|
+
floriday_remote_quantity?: number | null;
|
|
55517
|
+
granularity?: string;
|
|
55518
|
+
id?: string;
|
|
55519
|
+
snapshot_at?: string;
|
|
55520
|
+
user_id?: string | null;
|
|
55521
|
+
};
|
|
55522
|
+
Update: {
|
|
55523
|
+
connection_id?: string;
|
|
55524
|
+
created_at?: string;
|
|
55525
|
+
erp_available_quantity?: number;
|
|
55526
|
+
floriday_desired_quantity?: number;
|
|
55527
|
+
floriday_remote_quantity?: number | null;
|
|
55528
|
+
granularity?: string;
|
|
55529
|
+
id?: string;
|
|
55530
|
+
snapshot_at?: string;
|
|
55531
|
+
user_id?: string | null;
|
|
55532
|
+
};
|
|
55533
|
+
Relationships: [];
|
|
55534
|
+
};
|
|
54833
55535
|
invoice_items: {
|
|
54834
55536
|
Row: {
|
|
54835
55537
|
created_at: string;
|
|
@@ -64024,6 +64726,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
64024
64726
|
};
|
|
64025
64727
|
trade_item_stock: {
|
|
64026
64728
|
Row: {
|
|
64729
|
+
change_source: string;
|
|
64027
64730
|
connection_id: string;
|
|
64028
64731
|
created_at: string;
|
|
64029
64732
|
id: string;
|
|
@@ -64037,6 +64740,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
64037
64740
|
user_id: string;
|
|
64038
64741
|
};
|
|
64039
64742
|
Insert: {
|
|
64743
|
+
change_source?: string;
|
|
64040
64744
|
connection_id: string;
|
|
64041
64745
|
created_at?: string;
|
|
64042
64746
|
id?: string;
|
|
@@ -64050,6 +64754,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
64050
64754
|
user_id: string;
|
|
64051
64755
|
};
|
|
64052
64756
|
Update: {
|
|
64757
|
+
change_source?: string;
|
|
64053
64758
|
connection_id?: string;
|
|
64054
64759
|
created_at?: string;
|
|
64055
64760
|
id?: string;
|
|
@@ -67650,6 +68355,18 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
67650
68355
|
Args: never;
|
|
67651
68356
|
Returns: number;
|
|
67652
68357
|
};
|
|
68358
|
+
calculate_floriday_desired_stock: {
|
|
68359
|
+
Args: {
|
|
68360
|
+
p_connection_id: string;
|
|
68361
|
+
p_product_id: string;
|
|
68362
|
+
};
|
|
68363
|
+
Returns: {
|
|
68364
|
+
desired_availability: boolean;
|
|
68365
|
+
desired_quantity: number;
|
|
68366
|
+
erp_available: number;
|
|
68367
|
+
stock_mode: string;
|
|
68368
|
+
}[];
|
|
68369
|
+
};
|
|
67653
68370
|
calculate_layer_stock: {
|
|
67654
68371
|
Args: {
|
|
67655
68372
|
p_product_id: string;
|
|
@@ -67744,6 +68461,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
67744
68461
|
attempts: number;
|
|
67745
68462
|
connection_id: string;
|
|
67746
68463
|
created_at: string;
|
|
68464
|
+
dead_lettered_at: string | null;
|
|
67747
68465
|
desired_available: boolean | null;
|
|
67748
68466
|
gateway_attempt_id: string | null;
|
|
67749
68467
|
id: string;
|
|
@@ -67752,9 +68470,13 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
67752
68470
|
locked_by: string | null;
|
|
67753
68471
|
next_attempt_at: string;
|
|
67754
68472
|
number_of_pieces: number;
|
|
68473
|
+
product_id: string | null;
|
|
67755
68474
|
sent_at: string | null;
|
|
67756
68475
|
status: string;
|
|
68476
|
+
stock_mode: string | null;
|
|
67757
68477
|
superseded_by: string | null;
|
|
68478
|
+
target_week: number | null;
|
|
68479
|
+
target_year: number | null;
|
|
67758
68480
|
trade_item_id: string;
|
|
67759
68481
|
updated_at: string;
|
|
67760
68482
|
user_id: string;
|
|
@@ -68235,6 +68957,24 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
68235
68957
|
};
|
|
68236
68958
|
Returns: string;
|
|
68237
68959
|
};
|
|
68960
|
+
floriday_capture_stock_snapshot: {
|
|
68961
|
+
Args: never;
|
|
68962
|
+
Returns: number;
|
|
68963
|
+
};
|
|
68964
|
+
floriday_cleanup_stock_queue_v2: {
|
|
68965
|
+
Args: never;
|
|
68966
|
+
Returns: undefined;
|
|
68967
|
+
};
|
|
68968
|
+
floriday_compact_stock_snapshots: {
|
|
68969
|
+
Args: never;
|
|
68970
|
+
Returns: undefined;
|
|
68971
|
+
};
|
|
68972
|
+
floriday_default_owner: {
|
|
68973
|
+
Args: {
|
|
68974
|
+
p_connection_id: string;
|
|
68975
|
+
};
|
|
68976
|
+
Returns: string;
|
|
68977
|
+
};
|
|
68238
68978
|
floriday_effective_price: {
|
|
68239
68979
|
Args: {
|
|
68240
68980
|
_buyer_id: string;
|
|
@@ -68252,6 +68992,22 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
|
|
|
68252
68992
|
source_id: string;
|
|
68253
68993
|
}[];
|
|
68254
68994
|
};
|
|
68995
|
+
floriday_fill_publish_horizon: {
|
|
68996
|
+
Args: never;
|
|
68997
|
+
Returns: number;
|
|
68998
|
+
};
|
|
68999
|
+
floriday_publish_horizon_weeks: {
|
|
69000
|
+
Args: never;
|
|
69001
|
+
Returns: number;
|
|
69002
|
+
};
|
|
69003
|
+
floriday_recompute_inventory: {
|
|
69004
|
+
Args: {
|
|
69005
|
+
p_connection_id: string;
|
|
69006
|
+
p_force?: boolean;
|
|
69007
|
+
p_product_id: string;
|
|
69008
|
+
};
|
|
69009
|
+
Returns: undefined;
|
|
69010
|
+
};
|
|
68255
69011
|
format_cart_number: {
|
|
68256
69012
|
Args: {
|
|
68257
69013
|
p_pick_date: string;
|