@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
|
@@ -6096,6 +6096,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
|
|
|
6096
6096
|
attempts: number;
|
|
6097
6097
|
connection_id: string;
|
|
6098
6098
|
created_at: string;
|
|
6099
|
+
dead_lettered_at: string | null;
|
|
6099
6100
|
desired_available: boolean | null;
|
|
6100
6101
|
gateway_attempt_id: string | null;
|
|
6101
6102
|
id: string;
|
|
@@ -6104,9 +6105,13 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
|
|
|
6104
6105
|
locked_by: string | null;
|
|
6105
6106
|
next_attempt_at: string;
|
|
6106
6107
|
number_of_pieces: number;
|
|
6108
|
+
product_id: string | null;
|
|
6107
6109
|
sent_at: string | null;
|
|
6108
6110
|
status: string;
|
|
6111
|
+
stock_mode: string | null;
|
|
6109
6112
|
superseded_by: string | null;
|
|
6113
|
+
target_week: number | null;
|
|
6114
|
+
target_year: number | null;
|
|
6110
6115
|
trade_item_id: string;
|
|
6111
6116
|
updated_at: string;
|
|
6112
6117
|
user_id: string;
|
|
@@ -6115,6 +6120,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
|
|
|
6115
6120
|
attempts?: number;
|
|
6116
6121
|
connection_id: string;
|
|
6117
6122
|
created_at?: string;
|
|
6123
|
+
dead_lettered_at?: string | null;
|
|
6118
6124
|
desired_available?: boolean | null;
|
|
6119
6125
|
gateway_attempt_id?: string | null;
|
|
6120
6126
|
id?: string;
|
|
@@ -6123,9 +6129,13 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
|
|
|
6123
6129
|
locked_by?: string | null;
|
|
6124
6130
|
next_attempt_at?: string;
|
|
6125
6131
|
number_of_pieces?: number;
|
|
6132
|
+
product_id?: string | null;
|
|
6126
6133
|
sent_at?: string | null;
|
|
6127
6134
|
status?: string;
|
|
6135
|
+
stock_mode?: string | null;
|
|
6128
6136
|
superseded_by?: string | null;
|
|
6137
|
+
target_week?: number | null;
|
|
6138
|
+
target_year?: number | null;
|
|
6129
6139
|
trade_item_id: string;
|
|
6130
6140
|
updated_at?: string;
|
|
6131
6141
|
user_id: string;
|
|
@@ -6134,6 +6144,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
|
|
|
6134
6144
|
attempts?: number;
|
|
6135
6145
|
connection_id?: string;
|
|
6136
6146
|
created_at?: string;
|
|
6147
|
+
dead_lettered_at?: string | null;
|
|
6137
6148
|
desired_available?: boolean | null;
|
|
6138
6149
|
gateway_attempt_id?: string | null;
|
|
6139
6150
|
id?: string;
|
|
@@ -6142,9 +6153,13 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
|
|
|
6142
6153
|
locked_by?: string | null;
|
|
6143
6154
|
next_attempt_at?: string;
|
|
6144
6155
|
number_of_pieces?: number;
|
|
6156
|
+
product_id?: string | null;
|
|
6145
6157
|
sent_at?: string | null;
|
|
6146
6158
|
status?: string;
|
|
6159
|
+
stock_mode?: string | null;
|
|
6147
6160
|
superseded_by?: string | null;
|
|
6161
|
+
target_week?: number | null;
|
|
6162
|
+
target_year?: number | null;
|
|
6148
6163
|
trade_item_id?: string;
|
|
6149
6164
|
updated_at?: string;
|
|
6150
6165
|
user_id?: string;
|
|
@@ -6553,6 +6568,87 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
|
|
|
6553
6568
|
referencedColumns: ["id"];
|
|
6554
6569
|
}];
|
|
6555
6570
|
};
|
|
6571
|
+
floriday_inventory_settings: {
|
|
6572
|
+
Row: {
|
|
6573
|
+
buffer_quantity: number;
|
|
6574
|
+
connection_id: string;
|
|
6575
|
+
created_at: string;
|
|
6576
|
+
desired_availability: boolean;
|
|
6577
|
+
desired_quantity: number;
|
|
6578
|
+
fixed_quantity: number | null;
|
|
6579
|
+
floriday_trade_item_id: string | null;
|
|
6580
|
+
id: string;
|
|
6581
|
+
last_confirmed_at: string | null;
|
|
6582
|
+
last_enqueued_at: string | null;
|
|
6583
|
+
last_published_at: string | null;
|
|
6584
|
+
last_sync_error: string | null;
|
|
6585
|
+
manual_quantity: number | null;
|
|
6586
|
+
maximum_quantity: number | null;
|
|
6587
|
+
product_id: string;
|
|
6588
|
+
quantity_control: string;
|
|
6589
|
+
remote_available: boolean | null;
|
|
6590
|
+
remote_checked_at: string | null;
|
|
6591
|
+
remote_quantity: number | null;
|
|
6592
|
+
stock_mode: string;
|
|
6593
|
+
sync_status: string;
|
|
6594
|
+
updated_at: string;
|
|
6595
|
+
updated_by: string | null;
|
|
6596
|
+
user_id: string;
|
|
6597
|
+
};
|
|
6598
|
+
Insert: {
|
|
6599
|
+
buffer_quantity?: number;
|
|
6600
|
+
connection_id: string;
|
|
6601
|
+
created_at?: string;
|
|
6602
|
+
desired_availability?: boolean;
|
|
6603
|
+
desired_quantity?: number;
|
|
6604
|
+
fixed_quantity?: number | null;
|
|
6605
|
+
floriday_trade_item_id?: string | null;
|
|
6606
|
+
id?: string;
|
|
6607
|
+
last_confirmed_at?: string | null;
|
|
6608
|
+
last_enqueued_at?: string | null;
|
|
6609
|
+
last_published_at?: string | null;
|
|
6610
|
+
last_sync_error?: string | null;
|
|
6611
|
+
manual_quantity?: number | null;
|
|
6612
|
+
maximum_quantity?: number | null;
|
|
6613
|
+
product_id: string;
|
|
6614
|
+
quantity_control?: string;
|
|
6615
|
+
remote_available?: boolean | null;
|
|
6616
|
+
remote_checked_at?: string | null;
|
|
6617
|
+
remote_quantity?: number | null;
|
|
6618
|
+
stock_mode?: string;
|
|
6619
|
+
sync_status?: string;
|
|
6620
|
+
updated_at?: string;
|
|
6621
|
+
updated_by?: string | null;
|
|
6622
|
+
user_id: string;
|
|
6623
|
+
};
|
|
6624
|
+
Update: {
|
|
6625
|
+
buffer_quantity?: number;
|
|
6626
|
+
connection_id?: string;
|
|
6627
|
+
created_at?: string;
|
|
6628
|
+
desired_availability?: boolean;
|
|
6629
|
+
desired_quantity?: number;
|
|
6630
|
+
fixed_quantity?: number | null;
|
|
6631
|
+
floriday_trade_item_id?: string | null;
|
|
6632
|
+
id?: string;
|
|
6633
|
+
last_confirmed_at?: string | null;
|
|
6634
|
+
last_enqueued_at?: string | null;
|
|
6635
|
+
last_published_at?: string | null;
|
|
6636
|
+
last_sync_error?: string | null;
|
|
6637
|
+
manual_quantity?: number | null;
|
|
6638
|
+
maximum_quantity?: number | null;
|
|
6639
|
+
product_id?: string;
|
|
6640
|
+
quantity_control?: string;
|
|
6641
|
+
remote_available?: boolean | null;
|
|
6642
|
+
remote_checked_at?: string | null;
|
|
6643
|
+
remote_quantity?: number | null;
|
|
6644
|
+
stock_mode?: string;
|
|
6645
|
+
sync_status?: string;
|
|
6646
|
+
updated_at?: string;
|
|
6647
|
+
updated_by?: string | null;
|
|
6648
|
+
user_id?: string;
|
|
6649
|
+
};
|
|
6650
|
+
Relationships: [];
|
|
6651
|
+
};
|
|
6556
6652
|
floriday_invoices_cache: {
|
|
6557
6653
|
Row: {
|
|
6558
6654
|
buyer_organization_id: string | null;
|
|
@@ -6841,6 +6937,39 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
|
|
|
6841
6937
|
};
|
|
6842
6938
|
Relationships: [];
|
|
6843
6939
|
};
|
|
6940
|
+
floriday_sales_order_ingest: {
|
|
6941
|
+
Row: {
|
|
6942
|
+
connection_id: string;
|
|
6943
|
+
created_at: string;
|
|
6944
|
+
id: string;
|
|
6945
|
+
impact: import("../integrations/supabase/types").Json;
|
|
6946
|
+
order_status: string | null;
|
|
6947
|
+
order_version: number;
|
|
6948
|
+
processed_at: string;
|
|
6949
|
+
sales_order_id: string;
|
|
6950
|
+
};
|
|
6951
|
+
Insert: {
|
|
6952
|
+
connection_id: string;
|
|
6953
|
+
created_at?: string;
|
|
6954
|
+
id?: string;
|
|
6955
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
6956
|
+
order_status?: string | null;
|
|
6957
|
+
order_version?: number;
|
|
6958
|
+
processed_at?: string;
|
|
6959
|
+
sales_order_id: string;
|
|
6960
|
+
};
|
|
6961
|
+
Update: {
|
|
6962
|
+
connection_id?: string;
|
|
6963
|
+
created_at?: string;
|
|
6964
|
+
id?: string;
|
|
6965
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
6966
|
+
order_status?: string | null;
|
|
6967
|
+
order_version?: number;
|
|
6968
|
+
processed_at?: string;
|
|
6969
|
+
sales_order_id?: string;
|
|
6970
|
+
};
|
|
6971
|
+
Relationships: [];
|
|
6972
|
+
};
|
|
6844
6973
|
floriday_sales_strategies_cache: {
|
|
6845
6974
|
Row: {
|
|
6846
6975
|
connection_id: string;
|
|
@@ -6940,6 +7069,39 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
|
|
|
6940
7069
|
};
|
|
6941
7070
|
Relationships: [];
|
|
6942
7071
|
};
|
|
7072
|
+
floriday_sync_cursors: {
|
|
7073
|
+
Row: {
|
|
7074
|
+
connection_id: string;
|
|
7075
|
+
created_at: string;
|
|
7076
|
+
id: string;
|
|
7077
|
+
last_error: string | null;
|
|
7078
|
+
last_sync_at: string | null;
|
|
7079
|
+
resource_type: string;
|
|
7080
|
+
sequence_number: number;
|
|
7081
|
+
updated_at: string;
|
|
7082
|
+
};
|
|
7083
|
+
Insert: {
|
|
7084
|
+
connection_id: string;
|
|
7085
|
+
created_at?: string;
|
|
7086
|
+
id?: string;
|
|
7087
|
+
last_error?: string | null;
|
|
7088
|
+
last_sync_at?: string | null;
|
|
7089
|
+
resource_type: string;
|
|
7090
|
+
sequence_number?: number;
|
|
7091
|
+
updated_at?: string;
|
|
7092
|
+
};
|
|
7093
|
+
Update: {
|
|
7094
|
+
connection_id?: string;
|
|
7095
|
+
created_at?: string;
|
|
7096
|
+
id?: string;
|
|
7097
|
+
last_error?: string | null;
|
|
7098
|
+
last_sync_at?: string | null;
|
|
7099
|
+
resource_type?: string;
|
|
7100
|
+
sequence_number?: number;
|
|
7101
|
+
updated_at?: string;
|
|
7102
|
+
};
|
|
7103
|
+
Relationships: [];
|
|
7104
|
+
};
|
|
6943
7105
|
floriday_sync_state: {
|
|
6944
7106
|
Row: {
|
|
6945
7107
|
connection_id: string;
|
|
@@ -7630,6 +7792,42 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
|
|
|
7630
7792
|
};
|
|
7631
7793
|
Relationships: [];
|
|
7632
7794
|
};
|
|
7795
|
+
inventory_stock_snapshots: {
|
|
7796
|
+
Row: {
|
|
7797
|
+
connection_id: string;
|
|
7798
|
+
created_at: string;
|
|
7799
|
+
erp_available_quantity: number;
|
|
7800
|
+
floriday_desired_quantity: number;
|
|
7801
|
+
floriday_remote_quantity: number | null;
|
|
7802
|
+
granularity: string;
|
|
7803
|
+
id: string;
|
|
7804
|
+
snapshot_at: string;
|
|
7805
|
+
user_id: string | null;
|
|
7806
|
+
};
|
|
7807
|
+
Insert: {
|
|
7808
|
+
connection_id: string;
|
|
7809
|
+
created_at?: string;
|
|
7810
|
+
erp_available_quantity?: number;
|
|
7811
|
+
floriday_desired_quantity?: number;
|
|
7812
|
+
floriday_remote_quantity?: number | null;
|
|
7813
|
+
granularity?: string;
|
|
7814
|
+
id?: string;
|
|
7815
|
+
snapshot_at?: string;
|
|
7816
|
+
user_id?: string | null;
|
|
7817
|
+
};
|
|
7818
|
+
Update: {
|
|
7819
|
+
connection_id?: string;
|
|
7820
|
+
created_at?: string;
|
|
7821
|
+
erp_available_quantity?: number;
|
|
7822
|
+
floriday_desired_quantity?: number;
|
|
7823
|
+
floriday_remote_quantity?: number | null;
|
|
7824
|
+
granularity?: string;
|
|
7825
|
+
id?: string;
|
|
7826
|
+
snapshot_at?: string;
|
|
7827
|
+
user_id?: string | null;
|
|
7828
|
+
};
|
|
7829
|
+
Relationships: [];
|
|
7830
|
+
};
|
|
7633
7831
|
invoice_items: {
|
|
7634
7832
|
Row: {
|
|
7635
7833
|
created_at: string;
|
|
@@ -16824,6 +17022,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
|
|
|
16824
17022
|
};
|
|
16825
17023
|
trade_item_stock: {
|
|
16826
17024
|
Row: {
|
|
17025
|
+
change_source: string;
|
|
16827
17026
|
connection_id: string;
|
|
16828
17027
|
created_at: string;
|
|
16829
17028
|
id: string;
|
|
@@ -16837,6 +17036,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
|
|
|
16837
17036
|
user_id: string;
|
|
16838
17037
|
};
|
|
16839
17038
|
Insert: {
|
|
17039
|
+
change_source?: string;
|
|
16840
17040
|
connection_id: string;
|
|
16841
17041
|
created_at?: string;
|
|
16842
17042
|
id?: string;
|
|
@@ -16850,6 +17050,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
|
|
|
16850
17050
|
user_id: string;
|
|
16851
17051
|
};
|
|
16852
17052
|
Update: {
|
|
17053
|
+
change_source?: string;
|
|
16853
17054
|
connection_id?: string;
|
|
16854
17055
|
created_at?: string;
|
|
16855
17056
|
id?: string;
|
|
@@ -20450,6 +20651,18 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
|
|
|
20450
20651
|
Args: never;
|
|
20451
20652
|
Returns: number;
|
|
20452
20653
|
};
|
|
20654
|
+
calculate_floriday_desired_stock: {
|
|
20655
|
+
Args: {
|
|
20656
|
+
p_connection_id: string;
|
|
20657
|
+
p_product_id: string;
|
|
20658
|
+
};
|
|
20659
|
+
Returns: {
|
|
20660
|
+
desired_availability: boolean;
|
|
20661
|
+
desired_quantity: number;
|
|
20662
|
+
erp_available: number;
|
|
20663
|
+
stock_mode: string;
|
|
20664
|
+
}[];
|
|
20665
|
+
};
|
|
20453
20666
|
calculate_layer_stock: {
|
|
20454
20667
|
Args: {
|
|
20455
20668
|
p_product_id: string;
|
|
@@ -20544,6 +20757,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
|
|
|
20544
20757
|
attempts: number;
|
|
20545
20758
|
connection_id: string;
|
|
20546
20759
|
created_at: string;
|
|
20760
|
+
dead_lettered_at: string | null;
|
|
20547
20761
|
desired_available: boolean | null;
|
|
20548
20762
|
gateway_attempt_id: string | null;
|
|
20549
20763
|
id: string;
|
|
@@ -20552,9 +20766,13 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
|
|
|
20552
20766
|
locked_by: string | null;
|
|
20553
20767
|
next_attempt_at: string;
|
|
20554
20768
|
number_of_pieces: number;
|
|
20769
|
+
product_id: string | null;
|
|
20555
20770
|
sent_at: string | null;
|
|
20556
20771
|
status: string;
|
|
20772
|
+
stock_mode: string | null;
|
|
20557
20773
|
superseded_by: string | null;
|
|
20774
|
+
target_week: number | null;
|
|
20775
|
+
target_year: number | null;
|
|
20558
20776
|
trade_item_id: string;
|
|
20559
20777
|
updated_at: string;
|
|
20560
20778
|
user_id: string;
|
|
@@ -21035,6 +21253,24 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
|
|
|
21035
21253
|
};
|
|
21036
21254
|
Returns: string;
|
|
21037
21255
|
};
|
|
21256
|
+
floriday_capture_stock_snapshot: {
|
|
21257
|
+
Args: never;
|
|
21258
|
+
Returns: number;
|
|
21259
|
+
};
|
|
21260
|
+
floriday_cleanup_stock_queue_v2: {
|
|
21261
|
+
Args: never;
|
|
21262
|
+
Returns: undefined;
|
|
21263
|
+
};
|
|
21264
|
+
floriday_compact_stock_snapshots: {
|
|
21265
|
+
Args: never;
|
|
21266
|
+
Returns: undefined;
|
|
21267
|
+
};
|
|
21268
|
+
floriday_default_owner: {
|
|
21269
|
+
Args: {
|
|
21270
|
+
p_connection_id: string;
|
|
21271
|
+
};
|
|
21272
|
+
Returns: string;
|
|
21273
|
+
};
|
|
21038
21274
|
floriday_effective_price: {
|
|
21039
21275
|
Args: {
|
|
21040
21276
|
_buyer_id: string;
|
|
@@ -21052,6 +21288,22 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
|
|
|
21052
21288
|
source_id: string;
|
|
21053
21289
|
}[];
|
|
21054
21290
|
};
|
|
21291
|
+
floriday_fill_publish_horizon: {
|
|
21292
|
+
Args: never;
|
|
21293
|
+
Returns: number;
|
|
21294
|
+
};
|
|
21295
|
+
floriday_publish_horizon_weeks: {
|
|
21296
|
+
Args: never;
|
|
21297
|
+
Returns: number;
|
|
21298
|
+
};
|
|
21299
|
+
floriday_recompute_inventory: {
|
|
21300
|
+
Args: {
|
|
21301
|
+
p_connection_id: string;
|
|
21302
|
+
p_force?: boolean;
|
|
21303
|
+
p_product_id: string;
|
|
21304
|
+
};
|
|
21305
|
+
Returns: undefined;
|
|
21306
|
+
};
|
|
21055
21307
|
format_cart_number: {
|
|
21056
21308
|
Args: {
|
|
21057
21309
|
p_pick_date: string;
|
|
@@ -29718,6 +29970,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
|
|
|
29718
29970
|
attempts: number;
|
|
29719
29971
|
connection_id: string;
|
|
29720
29972
|
created_at: string;
|
|
29973
|
+
dead_lettered_at: string | null;
|
|
29721
29974
|
desired_available: boolean | null;
|
|
29722
29975
|
gateway_attempt_id: string | null;
|
|
29723
29976
|
id: string;
|
|
@@ -29726,9 +29979,13 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
|
|
|
29726
29979
|
locked_by: string | null;
|
|
29727
29980
|
next_attempt_at: string;
|
|
29728
29981
|
number_of_pieces: number;
|
|
29982
|
+
product_id: string | null;
|
|
29729
29983
|
sent_at: string | null;
|
|
29730
29984
|
status: string;
|
|
29985
|
+
stock_mode: string | null;
|
|
29731
29986
|
superseded_by: string | null;
|
|
29987
|
+
target_week: number | null;
|
|
29988
|
+
target_year: number | null;
|
|
29732
29989
|
trade_item_id: string;
|
|
29733
29990
|
updated_at: string;
|
|
29734
29991
|
user_id: string;
|
|
@@ -29737,6 +29994,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
|
|
|
29737
29994
|
attempts?: number;
|
|
29738
29995
|
connection_id: string;
|
|
29739
29996
|
created_at?: string;
|
|
29997
|
+
dead_lettered_at?: string | null;
|
|
29740
29998
|
desired_available?: boolean | null;
|
|
29741
29999
|
gateway_attempt_id?: string | null;
|
|
29742
30000
|
id?: string;
|
|
@@ -29745,9 +30003,13 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
|
|
|
29745
30003
|
locked_by?: string | null;
|
|
29746
30004
|
next_attempt_at?: string;
|
|
29747
30005
|
number_of_pieces?: number;
|
|
30006
|
+
product_id?: string | null;
|
|
29748
30007
|
sent_at?: string | null;
|
|
29749
30008
|
status?: string;
|
|
30009
|
+
stock_mode?: string | null;
|
|
29750
30010
|
superseded_by?: string | null;
|
|
30011
|
+
target_week?: number | null;
|
|
30012
|
+
target_year?: number | null;
|
|
29751
30013
|
trade_item_id: string;
|
|
29752
30014
|
updated_at?: string;
|
|
29753
30015
|
user_id: string;
|
|
@@ -29756,6 +30018,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
|
|
|
29756
30018
|
attempts?: number;
|
|
29757
30019
|
connection_id?: string;
|
|
29758
30020
|
created_at?: string;
|
|
30021
|
+
dead_lettered_at?: string | null;
|
|
29759
30022
|
desired_available?: boolean | null;
|
|
29760
30023
|
gateway_attempt_id?: string | null;
|
|
29761
30024
|
id?: string;
|
|
@@ -29764,9 +30027,13 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
|
|
|
29764
30027
|
locked_by?: string | null;
|
|
29765
30028
|
next_attempt_at?: string;
|
|
29766
30029
|
number_of_pieces?: number;
|
|
30030
|
+
product_id?: string | null;
|
|
29767
30031
|
sent_at?: string | null;
|
|
29768
30032
|
status?: string;
|
|
30033
|
+
stock_mode?: string | null;
|
|
29769
30034
|
superseded_by?: string | null;
|
|
30035
|
+
target_week?: number | null;
|
|
30036
|
+
target_year?: number | null;
|
|
29770
30037
|
trade_item_id?: string;
|
|
29771
30038
|
updated_at?: string;
|
|
29772
30039
|
user_id?: string;
|
|
@@ -30175,6 +30442,87 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
|
|
|
30175
30442
|
referencedColumns: ["id"];
|
|
30176
30443
|
}];
|
|
30177
30444
|
};
|
|
30445
|
+
floriday_inventory_settings: {
|
|
30446
|
+
Row: {
|
|
30447
|
+
buffer_quantity: number;
|
|
30448
|
+
connection_id: string;
|
|
30449
|
+
created_at: string;
|
|
30450
|
+
desired_availability: boolean;
|
|
30451
|
+
desired_quantity: number;
|
|
30452
|
+
fixed_quantity: number | null;
|
|
30453
|
+
floriday_trade_item_id: string | null;
|
|
30454
|
+
id: string;
|
|
30455
|
+
last_confirmed_at: string | null;
|
|
30456
|
+
last_enqueued_at: string | null;
|
|
30457
|
+
last_published_at: string | null;
|
|
30458
|
+
last_sync_error: string | null;
|
|
30459
|
+
manual_quantity: number | null;
|
|
30460
|
+
maximum_quantity: number | null;
|
|
30461
|
+
product_id: string;
|
|
30462
|
+
quantity_control: string;
|
|
30463
|
+
remote_available: boolean | null;
|
|
30464
|
+
remote_checked_at: string | null;
|
|
30465
|
+
remote_quantity: number | null;
|
|
30466
|
+
stock_mode: string;
|
|
30467
|
+
sync_status: string;
|
|
30468
|
+
updated_at: string;
|
|
30469
|
+
updated_by: string | null;
|
|
30470
|
+
user_id: string;
|
|
30471
|
+
};
|
|
30472
|
+
Insert: {
|
|
30473
|
+
buffer_quantity?: number;
|
|
30474
|
+
connection_id: string;
|
|
30475
|
+
created_at?: string;
|
|
30476
|
+
desired_availability?: boolean;
|
|
30477
|
+
desired_quantity?: number;
|
|
30478
|
+
fixed_quantity?: number | null;
|
|
30479
|
+
floriday_trade_item_id?: string | null;
|
|
30480
|
+
id?: string;
|
|
30481
|
+
last_confirmed_at?: string | null;
|
|
30482
|
+
last_enqueued_at?: string | null;
|
|
30483
|
+
last_published_at?: string | null;
|
|
30484
|
+
last_sync_error?: string | null;
|
|
30485
|
+
manual_quantity?: number | null;
|
|
30486
|
+
maximum_quantity?: number | null;
|
|
30487
|
+
product_id: string;
|
|
30488
|
+
quantity_control?: string;
|
|
30489
|
+
remote_available?: boolean | null;
|
|
30490
|
+
remote_checked_at?: string | null;
|
|
30491
|
+
remote_quantity?: number | null;
|
|
30492
|
+
stock_mode?: string;
|
|
30493
|
+
sync_status?: string;
|
|
30494
|
+
updated_at?: string;
|
|
30495
|
+
updated_by?: string | null;
|
|
30496
|
+
user_id: string;
|
|
30497
|
+
};
|
|
30498
|
+
Update: {
|
|
30499
|
+
buffer_quantity?: number;
|
|
30500
|
+
connection_id?: string;
|
|
30501
|
+
created_at?: string;
|
|
30502
|
+
desired_availability?: boolean;
|
|
30503
|
+
desired_quantity?: number;
|
|
30504
|
+
fixed_quantity?: number | null;
|
|
30505
|
+
floriday_trade_item_id?: string | null;
|
|
30506
|
+
id?: string;
|
|
30507
|
+
last_confirmed_at?: string | null;
|
|
30508
|
+
last_enqueued_at?: string | null;
|
|
30509
|
+
last_published_at?: string | null;
|
|
30510
|
+
last_sync_error?: string | null;
|
|
30511
|
+
manual_quantity?: number | null;
|
|
30512
|
+
maximum_quantity?: number | null;
|
|
30513
|
+
product_id?: string;
|
|
30514
|
+
quantity_control?: string;
|
|
30515
|
+
remote_available?: boolean | null;
|
|
30516
|
+
remote_checked_at?: string | null;
|
|
30517
|
+
remote_quantity?: number | null;
|
|
30518
|
+
stock_mode?: string;
|
|
30519
|
+
sync_status?: string;
|
|
30520
|
+
updated_at?: string;
|
|
30521
|
+
updated_by?: string | null;
|
|
30522
|
+
user_id?: string;
|
|
30523
|
+
};
|
|
30524
|
+
Relationships: [];
|
|
30525
|
+
};
|
|
30178
30526
|
floriday_invoices_cache: {
|
|
30179
30527
|
Row: {
|
|
30180
30528
|
buyer_organization_id: string | null;
|
|
@@ -30463,6 +30811,39 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
|
|
|
30463
30811
|
};
|
|
30464
30812
|
Relationships: [];
|
|
30465
30813
|
};
|
|
30814
|
+
floriday_sales_order_ingest: {
|
|
30815
|
+
Row: {
|
|
30816
|
+
connection_id: string;
|
|
30817
|
+
created_at: string;
|
|
30818
|
+
id: string;
|
|
30819
|
+
impact: import("../integrations/supabase/types").Json;
|
|
30820
|
+
order_status: string | null;
|
|
30821
|
+
order_version: number;
|
|
30822
|
+
processed_at: string;
|
|
30823
|
+
sales_order_id: string;
|
|
30824
|
+
};
|
|
30825
|
+
Insert: {
|
|
30826
|
+
connection_id: string;
|
|
30827
|
+
created_at?: string;
|
|
30828
|
+
id?: string;
|
|
30829
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
30830
|
+
order_status?: string | null;
|
|
30831
|
+
order_version?: number;
|
|
30832
|
+
processed_at?: string;
|
|
30833
|
+
sales_order_id: string;
|
|
30834
|
+
};
|
|
30835
|
+
Update: {
|
|
30836
|
+
connection_id?: string;
|
|
30837
|
+
created_at?: string;
|
|
30838
|
+
id?: string;
|
|
30839
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
30840
|
+
order_status?: string | null;
|
|
30841
|
+
order_version?: number;
|
|
30842
|
+
processed_at?: string;
|
|
30843
|
+
sales_order_id?: string;
|
|
30844
|
+
};
|
|
30845
|
+
Relationships: [];
|
|
30846
|
+
};
|
|
30466
30847
|
floriday_sales_strategies_cache: {
|
|
30467
30848
|
Row: {
|
|
30468
30849
|
connection_id: string;
|
|
@@ -30562,6 +30943,39 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
|
|
|
30562
30943
|
};
|
|
30563
30944
|
Relationships: [];
|
|
30564
30945
|
};
|
|
30946
|
+
floriday_sync_cursors: {
|
|
30947
|
+
Row: {
|
|
30948
|
+
connection_id: string;
|
|
30949
|
+
created_at: string;
|
|
30950
|
+
id: string;
|
|
30951
|
+
last_error: string | null;
|
|
30952
|
+
last_sync_at: string | null;
|
|
30953
|
+
resource_type: string;
|
|
30954
|
+
sequence_number: number;
|
|
30955
|
+
updated_at: string;
|
|
30956
|
+
};
|
|
30957
|
+
Insert: {
|
|
30958
|
+
connection_id: string;
|
|
30959
|
+
created_at?: string;
|
|
30960
|
+
id?: string;
|
|
30961
|
+
last_error?: string | null;
|
|
30962
|
+
last_sync_at?: string | null;
|
|
30963
|
+
resource_type: string;
|
|
30964
|
+
sequence_number?: number;
|
|
30965
|
+
updated_at?: string;
|
|
30966
|
+
};
|
|
30967
|
+
Update: {
|
|
30968
|
+
connection_id?: string;
|
|
30969
|
+
created_at?: string;
|
|
30970
|
+
id?: string;
|
|
30971
|
+
last_error?: string | null;
|
|
30972
|
+
last_sync_at?: string | null;
|
|
30973
|
+
resource_type?: string;
|
|
30974
|
+
sequence_number?: number;
|
|
30975
|
+
updated_at?: string;
|
|
30976
|
+
};
|
|
30977
|
+
Relationships: [];
|
|
30978
|
+
};
|
|
30565
30979
|
floriday_sync_state: {
|
|
30566
30980
|
Row: {
|
|
30567
30981
|
connection_id: string;
|
|
@@ -31252,6 +31666,42 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
|
|
|
31252
31666
|
};
|
|
31253
31667
|
Relationships: [];
|
|
31254
31668
|
};
|
|
31669
|
+
inventory_stock_snapshots: {
|
|
31670
|
+
Row: {
|
|
31671
|
+
connection_id: string;
|
|
31672
|
+
created_at: string;
|
|
31673
|
+
erp_available_quantity: number;
|
|
31674
|
+
floriday_desired_quantity: number;
|
|
31675
|
+
floriday_remote_quantity: number | null;
|
|
31676
|
+
granularity: string;
|
|
31677
|
+
id: string;
|
|
31678
|
+
snapshot_at: string;
|
|
31679
|
+
user_id: string | null;
|
|
31680
|
+
};
|
|
31681
|
+
Insert: {
|
|
31682
|
+
connection_id: string;
|
|
31683
|
+
created_at?: string;
|
|
31684
|
+
erp_available_quantity?: number;
|
|
31685
|
+
floriday_desired_quantity?: number;
|
|
31686
|
+
floriday_remote_quantity?: number | null;
|
|
31687
|
+
granularity?: string;
|
|
31688
|
+
id?: string;
|
|
31689
|
+
snapshot_at?: string;
|
|
31690
|
+
user_id?: string | null;
|
|
31691
|
+
};
|
|
31692
|
+
Update: {
|
|
31693
|
+
connection_id?: string;
|
|
31694
|
+
created_at?: string;
|
|
31695
|
+
erp_available_quantity?: number;
|
|
31696
|
+
floriday_desired_quantity?: number;
|
|
31697
|
+
floriday_remote_quantity?: number | null;
|
|
31698
|
+
granularity?: string;
|
|
31699
|
+
id?: string;
|
|
31700
|
+
snapshot_at?: string;
|
|
31701
|
+
user_id?: string | null;
|
|
31702
|
+
};
|
|
31703
|
+
Relationships: [];
|
|
31704
|
+
};
|
|
31255
31705
|
invoice_items: {
|
|
31256
31706
|
Row: {
|
|
31257
31707
|
created_at: string;
|
|
@@ -40446,6 +40896,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
|
|
|
40446
40896
|
};
|
|
40447
40897
|
trade_item_stock: {
|
|
40448
40898
|
Row: {
|
|
40899
|
+
change_source: string;
|
|
40449
40900
|
connection_id: string;
|
|
40450
40901
|
created_at: string;
|
|
40451
40902
|
id: string;
|
|
@@ -40459,6 +40910,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
|
|
|
40459
40910
|
user_id: string;
|
|
40460
40911
|
};
|
|
40461
40912
|
Insert: {
|
|
40913
|
+
change_source?: string;
|
|
40462
40914
|
connection_id: string;
|
|
40463
40915
|
created_at?: string;
|
|
40464
40916
|
id?: string;
|
|
@@ -40472,6 +40924,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
|
|
|
40472
40924
|
user_id: string;
|
|
40473
40925
|
};
|
|
40474
40926
|
Update: {
|
|
40927
|
+
change_source?: string;
|
|
40475
40928
|
connection_id?: string;
|
|
40476
40929
|
created_at?: string;
|
|
40477
40930
|
id?: string;
|
|
@@ -44072,6 +44525,18 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
|
|
|
44072
44525
|
Args: never;
|
|
44073
44526
|
Returns: number;
|
|
44074
44527
|
};
|
|
44528
|
+
calculate_floriday_desired_stock: {
|
|
44529
|
+
Args: {
|
|
44530
|
+
p_connection_id: string;
|
|
44531
|
+
p_product_id: string;
|
|
44532
|
+
};
|
|
44533
|
+
Returns: {
|
|
44534
|
+
desired_availability: boolean;
|
|
44535
|
+
desired_quantity: number;
|
|
44536
|
+
erp_available: number;
|
|
44537
|
+
stock_mode: string;
|
|
44538
|
+
}[];
|
|
44539
|
+
};
|
|
44075
44540
|
calculate_layer_stock: {
|
|
44076
44541
|
Args: {
|
|
44077
44542
|
p_product_id: string;
|
|
@@ -44166,6 +44631,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
|
|
|
44166
44631
|
attempts: number;
|
|
44167
44632
|
connection_id: string;
|
|
44168
44633
|
created_at: string;
|
|
44634
|
+
dead_lettered_at: string | null;
|
|
44169
44635
|
desired_available: boolean | null;
|
|
44170
44636
|
gateway_attempt_id: string | null;
|
|
44171
44637
|
id: string;
|
|
@@ -44174,9 +44640,13 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
|
|
|
44174
44640
|
locked_by: string | null;
|
|
44175
44641
|
next_attempt_at: string;
|
|
44176
44642
|
number_of_pieces: number;
|
|
44643
|
+
product_id: string | null;
|
|
44177
44644
|
sent_at: string | null;
|
|
44178
44645
|
status: string;
|
|
44646
|
+
stock_mode: string | null;
|
|
44179
44647
|
superseded_by: string | null;
|
|
44648
|
+
target_week: number | null;
|
|
44649
|
+
target_year: number | null;
|
|
44180
44650
|
trade_item_id: string;
|
|
44181
44651
|
updated_at: string;
|
|
44182
44652
|
user_id: string;
|
|
@@ -44657,6 +45127,24 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
|
|
|
44657
45127
|
};
|
|
44658
45128
|
Returns: string;
|
|
44659
45129
|
};
|
|
45130
|
+
floriday_capture_stock_snapshot: {
|
|
45131
|
+
Args: never;
|
|
45132
|
+
Returns: number;
|
|
45133
|
+
};
|
|
45134
|
+
floriday_cleanup_stock_queue_v2: {
|
|
45135
|
+
Args: never;
|
|
45136
|
+
Returns: undefined;
|
|
45137
|
+
};
|
|
45138
|
+
floriday_compact_stock_snapshots: {
|
|
45139
|
+
Args: never;
|
|
45140
|
+
Returns: undefined;
|
|
45141
|
+
};
|
|
45142
|
+
floriday_default_owner: {
|
|
45143
|
+
Args: {
|
|
45144
|
+
p_connection_id: string;
|
|
45145
|
+
};
|
|
45146
|
+
Returns: string;
|
|
45147
|
+
};
|
|
44660
45148
|
floriday_effective_price: {
|
|
44661
45149
|
Args: {
|
|
44662
45150
|
_buyer_id: string;
|
|
@@ -44674,6 +45162,22 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
|
|
|
44674
45162
|
source_id: string;
|
|
44675
45163
|
}[];
|
|
44676
45164
|
};
|
|
45165
|
+
floriday_fill_publish_horizon: {
|
|
45166
|
+
Args: never;
|
|
45167
|
+
Returns: number;
|
|
45168
|
+
};
|
|
45169
|
+
floriday_publish_horizon_weeks: {
|
|
45170
|
+
Args: never;
|
|
45171
|
+
Returns: number;
|
|
45172
|
+
};
|
|
45173
|
+
floriday_recompute_inventory: {
|
|
45174
|
+
Args: {
|
|
45175
|
+
p_connection_id: string;
|
|
45176
|
+
p_force?: boolean;
|
|
45177
|
+
p_product_id: string;
|
|
45178
|
+
};
|
|
45179
|
+
Returns: undefined;
|
|
45180
|
+
};
|
|
44677
45181
|
format_cart_number: {
|
|
44678
45182
|
Args: {
|
|
44679
45183
|
p_pick_date: string;
|
|
@@ -53321,6 +53825,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
|
|
|
53321
53825
|
attempts: number;
|
|
53322
53826
|
connection_id: string;
|
|
53323
53827
|
created_at: string;
|
|
53828
|
+
dead_lettered_at: string | null;
|
|
53324
53829
|
desired_available: boolean | null;
|
|
53325
53830
|
gateway_attempt_id: string | null;
|
|
53326
53831
|
id: string;
|
|
@@ -53329,9 +53834,13 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
|
|
|
53329
53834
|
locked_by: string | null;
|
|
53330
53835
|
next_attempt_at: string;
|
|
53331
53836
|
number_of_pieces: number;
|
|
53837
|
+
product_id: string | null;
|
|
53332
53838
|
sent_at: string | null;
|
|
53333
53839
|
status: string;
|
|
53840
|
+
stock_mode: string | null;
|
|
53334
53841
|
superseded_by: string | null;
|
|
53842
|
+
target_week: number | null;
|
|
53843
|
+
target_year: number | null;
|
|
53335
53844
|
trade_item_id: string;
|
|
53336
53845
|
updated_at: string;
|
|
53337
53846
|
user_id: string;
|
|
@@ -53340,6 +53849,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
|
|
|
53340
53849
|
attempts?: number;
|
|
53341
53850
|
connection_id: string;
|
|
53342
53851
|
created_at?: string;
|
|
53852
|
+
dead_lettered_at?: string | null;
|
|
53343
53853
|
desired_available?: boolean | null;
|
|
53344
53854
|
gateway_attempt_id?: string | null;
|
|
53345
53855
|
id?: string;
|
|
@@ -53348,9 +53858,13 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
|
|
|
53348
53858
|
locked_by?: string | null;
|
|
53349
53859
|
next_attempt_at?: string;
|
|
53350
53860
|
number_of_pieces?: number;
|
|
53861
|
+
product_id?: string | null;
|
|
53351
53862
|
sent_at?: string | null;
|
|
53352
53863
|
status?: string;
|
|
53864
|
+
stock_mode?: string | null;
|
|
53353
53865
|
superseded_by?: string | null;
|
|
53866
|
+
target_week?: number | null;
|
|
53867
|
+
target_year?: number | null;
|
|
53354
53868
|
trade_item_id: string;
|
|
53355
53869
|
updated_at?: string;
|
|
53356
53870
|
user_id: string;
|
|
@@ -53359,6 +53873,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
|
|
|
53359
53873
|
attempts?: number;
|
|
53360
53874
|
connection_id?: string;
|
|
53361
53875
|
created_at?: string;
|
|
53876
|
+
dead_lettered_at?: string | null;
|
|
53362
53877
|
desired_available?: boolean | null;
|
|
53363
53878
|
gateway_attempt_id?: string | null;
|
|
53364
53879
|
id?: string;
|
|
@@ -53367,9 +53882,13 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
|
|
|
53367
53882
|
locked_by?: string | null;
|
|
53368
53883
|
next_attempt_at?: string;
|
|
53369
53884
|
number_of_pieces?: number;
|
|
53885
|
+
product_id?: string | null;
|
|
53370
53886
|
sent_at?: string | null;
|
|
53371
53887
|
status?: string;
|
|
53888
|
+
stock_mode?: string | null;
|
|
53372
53889
|
superseded_by?: string | null;
|
|
53890
|
+
target_week?: number | null;
|
|
53891
|
+
target_year?: number | null;
|
|
53373
53892
|
trade_item_id?: string;
|
|
53374
53893
|
updated_at?: string;
|
|
53375
53894
|
user_id?: string;
|
|
@@ -53778,6 +54297,87 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
|
|
|
53778
54297
|
referencedColumns: ["id"];
|
|
53779
54298
|
}];
|
|
53780
54299
|
};
|
|
54300
|
+
floriday_inventory_settings: {
|
|
54301
|
+
Row: {
|
|
54302
|
+
buffer_quantity: number;
|
|
54303
|
+
connection_id: string;
|
|
54304
|
+
created_at: string;
|
|
54305
|
+
desired_availability: boolean;
|
|
54306
|
+
desired_quantity: number;
|
|
54307
|
+
fixed_quantity: number | null;
|
|
54308
|
+
floriday_trade_item_id: string | null;
|
|
54309
|
+
id: string;
|
|
54310
|
+
last_confirmed_at: string | null;
|
|
54311
|
+
last_enqueued_at: string | null;
|
|
54312
|
+
last_published_at: string | null;
|
|
54313
|
+
last_sync_error: string | null;
|
|
54314
|
+
manual_quantity: number | null;
|
|
54315
|
+
maximum_quantity: number | null;
|
|
54316
|
+
product_id: string;
|
|
54317
|
+
quantity_control: string;
|
|
54318
|
+
remote_available: boolean | null;
|
|
54319
|
+
remote_checked_at: string | null;
|
|
54320
|
+
remote_quantity: number | null;
|
|
54321
|
+
stock_mode: string;
|
|
54322
|
+
sync_status: string;
|
|
54323
|
+
updated_at: string;
|
|
54324
|
+
updated_by: string | null;
|
|
54325
|
+
user_id: string;
|
|
54326
|
+
};
|
|
54327
|
+
Insert: {
|
|
54328
|
+
buffer_quantity?: number;
|
|
54329
|
+
connection_id: string;
|
|
54330
|
+
created_at?: string;
|
|
54331
|
+
desired_availability?: boolean;
|
|
54332
|
+
desired_quantity?: number;
|
|
54333
|
+
fixed_quantity?: number | null;
|
|
54334
|
+
floriday_trade_item_id?: string | null;
|
|
54335
|
+
id?: string;
|
|
54336
|
+
last_confirmed_at?: string | null;
|
|
54337
|
+
last_enqueued_at?: string | null;
|
|
54338
|
+
last_published_at?: string | null;
|
|
54339
|
+
last_sync_error?: string | null;
|
|
54340
|
+
manual_quantity?: number | null;
|
|
54341
|
+
maximum_quantity?: number | null;
|
|
54342
|
+
product_id: string;
|
|
54343
|
+
quantity_control?: string;
|
|
54344
|
+
remote_available?: boolean | null;
|
|
54345
|
+
remote_checked_at?: string | null;
|
|
54346
|
+
remote_quantity?: number | null;
|
|
54347
|
+
stock_mode?: string;
|
|
54348
|
+
sync_status?: string;
|
|
54349
|
+
updated_at?: string;
|
|
54350
|
+
updated_by?: string | null;
|
|
54351
|
+
user_id: string;
|
|
54352
|
+
};
|
|
54353
|
+
Update: {
|
|
54354
|
+
buffer_quantity?: number;
|
|
54355
|
+
connection_id?: string;
|
|
54356
|
+
created_at?: string;
|
|
54357
|
+
desired_availability?: boolean;
|
|
54358
|
+
desired_quantity?: number;
|
|
54359
|
+
fixed_quantity?: number | null;
|
|
54360
|
+
floriday_trade_item_id?: string | null;
|
|
54361
|
+
id?: string;
|
|
54362
|
+
last_confirmed_at?: string | null;
|
|
54363
|
+
last_enqueued_at?: string | null;
|
|
54364
|
+
last_published_at?: string | null;
|
|
54365
|
+
last_sync_error?: string | null;
|
|
54366
|
+
manual_quantity?: number | null;
|
|
54367
|
+
maximum_quantity?: number | null;
|
|
54368
|
+
product_id?: string;
|
|
54369
|
+
quantity_control?: string;
|
|
54370
|
+
remote_available?: boolean | null;
|
|
54371
|
+
remote_checked_at?: string | null;
|
|
54372
|
+
remote_quantity?: number | null;
|
|
54373
|
+
stock_mode?: string;
|
|
54374
|
+
sync_status?: string;
|
|
54375
|
+
updated_at?: string;
|
|
54376
|
+
updated_by?: string | null;
|
|
54377
|
+
user_id?: string;
|
|
54378
|
+
};
|
|
54379
|
+
Relationships: [];
|
|
54380
|
+
};
|
|
53781
54381
|
floriday_invoices_cache: {
|
|
53782
54382
|
Row: {
|
|
53783
54383
|
buyer_organization_id: string | null;
|
|
@@ -54066,6 +54666,39 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
|
|
|
54066
54666
|
};
|
|
54067
54667
|
Relationships: [];
|
|
54068
54668
|
};
|
|
54669
|
+
floriday_sales_order_ingest: {
|
|
54670
|
+
Row: {
|
|
54671
|
+
connection_id: string;
|
|
54672
|
+
created_at: string;
|
|
54673
|
+
id: string;
|
|
54674
|
+
impact: import("../integrations/supabase/types").Json;
|
|
54675
|
+
order_status: string | null;
|
|
54676
|
+
order_version: number;
|
|
54677
|
+
processed_at: string;
|
|
54678
|
+
sales_order_id: string;
|
|
54679
|
+
};
|
|
54680
|
+
Insert: {
|
|
54681
|
+
connection_id: string;
|
|
54682
|
+
created_at?: string;
|
|
54683
|
+
id?: string;
|
|
54684
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
54685
|
+
order_status?: string | null;
|
|
54686
|
+
order_version?: number;
|
|
54687
|
+
processed_at?: string;
|
|
54688
|
+
sales_order_id: string;
|
|
54689
|
+
};
|
|
54690
|
+
Update: {
|
|
54691
|
+
connection_id?: string;
|
|
54692
|
+
created_at?: string;
|
|
54693
|
+
id?: string;
|
|
54694
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
54695
|
+
order_status?: string | null;
|
|
54696
|
+
order_version?: number;
|
|
54697
|
+
processed_at?: string;
|
|
54698
|
+
sales_order_id?: string;
|
|
54699
|
+
};
|
|
54700
|
+
Relationships: [];
|
|
54701
|
+
};
|
|
54069
54702
|
floriday_sales_strategies_cache: {
|
|
54070
54703
|
Row: {
|
|
54071
54704
|
connection_id: string;
|
|
@@ -54165,6 +54798,39 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
|
|
|
54165
54798
|
};
|
|
54166
54799
|
Relationships: [];
|
|
54167
54800
|
};
|
|
54801
|
+
floriday_sync_cursors: {
|
|
54802
|
+
Row: {
|
|
54803
|
+
connection_id: string;
|
|
54804
|
+
created_at: string;
|
|
54805
|
+
id: string;
|
|
54806
|
+
last_error: string | null;
|
|
54807
|
+
last_sync_at: string | null;
|
|
54808
|
+
resource_type: string;
|
|
54809
|
+
sequence_number: number;
|
|
54810
|
+
updated_at: string;
|
|
54811
|
+
};
|
|
54812
|
+
Insert: {
|
|
54813
|
+
connection_id: string;
|
|
54814
|
+
created_at?: string;
|
|
54815
|
+
id?: string;
|
|
54816
|
+
last_error?: string | null;
|
|
54817
|
+
last_sync_at?: string | null;
|
|
54818
|
+
resource_type: string;
|
|
54819
|
+
sequence_number?: number;
|
|
54820
|
+
updated_at?: string;
|
|
54821
|
+
};
|
|
54822
|
+
Update: {
|
|
54823
|
+
connection_id?: string;
|
|
54824
|
+
created_at?: string;
|
|
54825
|
+
id?: string;
|
|
54826
|
+
last_error?: string | null;
|
|
54827
|
+
last_sync_at?: string | null;
|
|
54828
|
+
resource_type?: string;
|
|
54829
|
+
sequence_number?: number;
|
|
54830
|
+
updated_at?: string;
|
|
54831
|
+
};
|
|
54832
|
+
Relationships: [];
|
|
54833
|
+
};
|
|
54168
54834
|
floriday_sync_state: {
|
|
54169
54835
|
Row: {
|
|
54170
54836
|
connection_id: string;
|
|
@@ -54855,6 +55521,42 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
|
|
|
54855
55521
|
};
|
|
54856
55522
|
Relationships: [];
|
|
54857
55523
|
};
|
|
55524
|
+
inventory_stock_snapshots: {
|
|
55525
|
+
Row: {
|
|
55526
|
+
connection_id: string;
|
|
55527
|
+
created_at: string;
|
|
55528
|
+
erp_available_quantity: number;
|
|
55529
|
+
floriday_desired_quantity: number;
|
|
55530
|
+
floriday_remote_quantity: number | null;
|
|
55531
|
+
granularity: string;
|
|
55532
|
+
id: string;
|
|
55533
|
+
snapshot_at: string;
|
|
55534
|
+
user_id: string | null;
|
|
55535
|
+
};
|
|
55536
|
+
Insert: {
|
|
55537
|
+
connection_id: string;
|
|
55538
|
+
created_at?: string;
|
|
55539
|
+
erp_available_quantity?: number;
|
|
55540
|
+
floriday_desired_quantity?: number;
|
|
55541
|
+
floriday_remote_quantity?: number | null;
|
|
55542
|
+
granularity?: string;
|
|
55543
|
+
id?: string;
|
|
55544
|
+
snapshot_at?: string;
|
|
55545
|
+
user_id?: string | null;
|
|
55546
|
+
};
|
|
55547
|
+
Update: {
|
|
55548
|
+
connection_id?: string;
|
|
55549
|
+
created_at?: string;
|
|
55550
|
+
erp_available_quantity?: number;
|
|
55551
|
+
floriday_desired_quantity?: number;
|
|
55552
|
+
floriday_remote_quantity?: number | null;
|
|
55553
|
+
granularity?: string;
|
|
55554
|
+
id?: string;
|
|
55555
|
+
snapshot_at?: string;
|
|
55556
|
+
user_id?: string | null;
|
|
55557
|
+
};
|
|
55558
|
+
Relationships: [];
|
|
55559
|
+
};
|
|
54858
55560
|
invoice_items: {
|
|
54859
55561
|
Row: {
|
|
54860
55562
|
created_at: string;
|
|
@@ -64049,6 +64751,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
|
|
|
64049
64751
|
};
|
|
64050
64752
|
trade_item_stock: {
|
|
64051
64753
|
Row: {
|
|
64754
|
+
change_source: string;
|
|
64052
64755
|
connection_id: string;
|
|
64053
64756
|
created_at: string;
|
|
64054
64757
|
id: string;
|
|
@@ -64062,6 +64765,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
|
|
|
64062
64765
|
user_id: string;
|
|
64063
64766
|
};
|
|
64064
64767
|
Insert: {
|
|
64768
|
+
change_source?: string;
|
|
64065
64769
|
connection_id: string;
|
|
64066
64770
|
created_at?: string;
|
|
64067
64771
|
id?: string;
|
|
@@ -64075,6 +64779,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
|
|
|
64075
64779
|
user_id: string;
|
|
64076
64780
|
};
|
|
64077
64781
|
Update: {
|
|
64782
|
+
change_source?: string;
|
|
64078
64783
|
connection_id?: string;
|
|
64079
64784
|
created_at?: string;
|
|
64080
64785
|
id?: string;
|
|
@@ -67675,6 +68380,18 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
|
|
|
67675
68380
|
Args: never;
|
|
67676
68381
|
Returns: number;
|
|
67677
68382
|
};
|
|
68383
|
+
calculate_floriday_desired_stock: {
|
|
68384
|
+
Args: {
|
|
68385
|
+
p_connection_id: string;
|
|
68386
|
+
p_product_id: string;
|
|
68387
|
+
};
|
|
68388
|
+
Returns: {
|
|
68389
|
+
desired_availability: boolean;
|
|
68390
|
+
desired_quantity: number;
|
|
68391
|
+
erp_available: number;
|
|
68392
|
+
stock_mode: string;
|
|
68393
|
+
}[];
|
|
68394
|
+
};
|
|
67678
68395
|
calculate_layer_stock: {
|
|
67679
68396
|
Args: {
|
|
67680
68397
|
p_product_id: string;
|
|
@@ -67769,6 +68486,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
|
|
|
67769
68486
|
attempts: number;
|
|
67770
68487
|
connection_id: string;
|
|
67771
68488
|
created_at: string;
|
|
68489
|
+
dead_lettered_at: string | null;
|
|
67772
68490
|
desired_available: boolean | null;
|
|
67773
68491
|
gateway_attempt_id: string | null;
|
|
67774
68492
|
id: string;
|
|
@@ -67777,9 +68495,13 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
|
|
|
67777
68495
|
locked_by: string | null;
|
|
67778
68496
|
next_attempt_at: string;
|
|
67779
68497
|
number_of_pieces: number;
|
|
68498
|
+
product_id: string | null;
|
|
67780
68499
|
sent_at: string | null;
|
|
67781
68500
|
status: string;
|
|
68501
|
+
stock_mode: string | null;
|
|
67782
68502
|
superseded_by: string | null;
|
|
68503
|
+
target_week: number | null;
|
|
68504
|
+
target_year: number | null;
|
|
67783
68505
|
trade_item_id: string;
|
|
67784
68506
|
updated_at: string;
|
|
67785
68507
|
user_id: string;
|
|
@@ -68260,6 +68982,24 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
|
|
|
68260
68982
|
};
|
|
68261
68983
|
Returns: string;
|
|
68262
68984
|
};
|
|
68985
|
+
floriday_capture_stock_snapshot: {
|
|
68986
|
+
Args: never;
|
|
68987
|
+
Returns: number;
|
|
68988
|
+
};
|
|
68989
|
+
floriday_cleanup_stock_queue_v2: {
|
|
68990
|
+
Args: never;
|
|
68991
|
+
Returns: undefined;
|
|
68992
|
+
};
|
|
68993
|
+
floriday_compact_stock_snapshots: {
|
|
68994
|
+
Args: never;
|
|
68995
|
+
Returns: undefined;
|
|
68996
|
+
};
|
|
68997
|
+
floriday_default_owner: {
|
|
68998
|
+
Args: {
|
|
68999
|
+
p_connection_id: string;
|
|
69000
|
+
};
|
|
69001
|
+
Returns: string;
|
|
69002
|
+
};
|
|
68263
69003
|
floriday_effective_price: {
|
|
68264
69004
|
Args: {
|
|
68265
69005
|
_buyer_id: string;
|
|
@@ -68277,6 +69017,22 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
|
|
|
68277
69017
|
source_id: string;
|
|
68278
69018
|
}[];
|
|
68279
69019
|
};
|
|
69020
|
+
floriday_fill_publish_horizon: {
|
|
69021
|
+
Args: never;
|
|
69022
|
+
Returns: number;
|
|
69023
|
+
};
|
|
69024
|
+
floriday_publish_horizon_weeks: {
|
|
69025
|
+
Args: never;
|
|
69026
|
+
Returns: number;
|
|
69027
|
+
};
|
|
69028
|
+
floriday_recompute_inventory: {
|
|
69029
|
+
Args: {
|
|
69030
|
+
p_connection_id: string;
|
|
69031
|
+
p_force?: boolean;
|
|
69032
|
+
p_product_id: string;
|
|
69033
|
+
};
|
|
69034
|
+
Returns: undefined;
|
|
69035
|
+
};
|
|
68280
69036
|
format_cart_number: {
|
|
68281
69037
|
Args: {
|
|
68282
69038
|
p_pick_date: string;
|
|
@@ -76913,6 +77669,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
|
|
|
76913
77669
|
attempts: number;
|
|
76914
77670
|
connection_id: string;
|
|
76915
77671
|
created_at: string;
|
|
77672
|
+
dead_lettered_at: string | null;
|
|
76916
77673
|
desired_available: boolean | null;
|
|
76917
77674
|
gateway_attempt_id: string | null;
|
|
76918
77675
|
id: string;
|
|
@@ -76921,9 +77678,13 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
|
|
|
76921
77678
|
locked_by: string | null;
|
|
76922
77679
|
next_attempt_at: string;
|
|
76923
77680
|
number_of_pieces: number;
|
|
77681
|
+
product_id: string | null;
|
|
76924
77682
|
sent_at: string | null;
|
|
76925
77683
|
status: string;
|
|
77684
|
+
stock_mode: string | null;
|
|
76926
77685
|
superseded_by: string | null;
|
|
77686
|
+
target_week: number | null;
|
|
77687
|
+
target_year: number | null;
|
|
76927
77688
|
trade_item_id: string;
|
|
76928
77689
|
updated_at: string;
|
|
76929
77690
|
user_id: string;
|
|
@@ -76932,6 +77693,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
|
|
|
76932
77693
|
attempts?: number;
|
|
76933
77694
|
connection_id: string;
|
|
76934
77695
|
created_at?: string;
|
|
77696
|
+
dead_lettered_at?: string | null;
|
|
76935
77697
|
desired_available?: boolean | null;
|
|
76936
77698
|
gateway_attempt_id?: string | null;
|
|
76937
77699
|
id?: string;
|
|
@@ -76940,9 +77702,13 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
|
|
|
76940
77702
|
locked_by?: string | null;
|
|
76941
77703
|
next_attempt_at?: string;
|
|
76942
77704
|
number_of_pieces?: number;
|
|
77705
|
+
product_id?: string | null;
|
|
76943
77706
|
sent_at?: string | null;
|
|
76944
77707
|
status?: string;
|
|
77708
|
+
stock_mode?: string | null;
|
|
76945
77709
|
superseded_by?: string | null;
|
|
77710
|
+
target_week?: number | null;
|
|
77711
|
+
target_year?: number | null;
|
|
76946
77712
|
trade_item_id: string;
|
|
76947
77713
|
updated_at?: string;
|
|
76948
77714
|
user_id: string;
|
|
@@ -76951,6 +77717,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
|
|
|
76951
77717
|
attempts?: number;
|
|
76952
77718
|
connection_id?: string;
|
|
76953
77719
|
created_at?: string;
|
|
77720
|
+
dead_lettered_at?: string | null;
|
|
76954
77721
|
desired_available?: boolean | null;
|
|
76955
77722
|
gateway_attempt_id?: string | null;
|
|
76956
77723
|
id?: string;
|
|
@@ -76959,9 +77726,13 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
|
|
|
76959
77726
|
locked_by?: string | null;
|
|
76960
77727
|
next_attempt_at?: string;
|
|
76961
77728
|
number_of_pieces?: number;
|
|
77729
|
+
product_id?: string | null;
|
|
76962
77730
|
sent_at?: string | null;
|
|
76963
77731
|
status?: string;
|
|
77732
|
+
stock_mode?: string | null;
|
|
76964
77733
|
superseded_by?: string | null;
|
|
77734
|
+
target_week?: number | null;
|
|
77735
|
+
target_year?: number | null;
|
|
76965
77736
|
trade_item_id?: string;
|
|
76966
77737
|
updated_at?: string;
|
|
76967
77738
|
user_id?: string;
|
|
@@ -77370,6 +78141,87 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
|
|
|
77370
78141
|
referencedColumns: ["id"];
|
|
77371
78142
|
}];
|
|
77372
78143
|
};
|
|
78144
|
+
floriday_inventory_settings: {
|
|
78145
|
+
Row: {
|
|
78146
|
+
buffer_quantity: number;
|
|
78147
|
+
connection_id: string;
|
|
78148
|
+
created_at: string;
|
|
78149
|
+
desired_availability: boolean;
|
|
78150
|
+
desired_quantity: number;
|
|
78151
|
+
fixed_quantity: number | null;
|
|
78152
|
+
floriday_trade_item_id: string | null;
|
|
78153
|
+
id: string;
|
|
78154
|
+
last_confirmed_at: string | null;
|
|
78155
|
+
last_enqueued_at: string | null;
|
|
78156
|
+
last_published_at: string | null;
|
|
78157
|
+
last_sync_error: string | null;
|
|
78158
|
+
manual_quantity: number | null;
|
|
78159
|
+
maximum_quantity: number | null;
|
|
78160
|
+
product_id: string;
|
|
78161
|
+
quantity_control: string;
|
|
78162
|
+
remote_available: boolean | null;
|
|
78163
|
+
remote_checked_at: string | null;
|
|
78164
|
+
remote_quantity: number | null;
|
|
78165
|
+
stock_mode: string;
|
|
78166
|
+
sync_status: string;
|
|
78167
|
+
updated_at: string;
|
|
78168
|
+
updated_by: string | null;
|
|
78169
|
+
user_id: string;
|
|
78170
|
+
};
|
|
78171
|
+
Insert: {
|
|
78172
|
+
buffer_quantity?: number;
|
|
78173
|
+
connection_id: string;
|
|
78174
|
+
created_at?: string;
|
|
78175
|
+
desired_availability?: boolean;
|
|
78176
|
+
desired_quantity?: number;
|
|
78177
|
+
fixed_quantity?: number | null;
|
|
78178
|
+
floriday_trade_item_id?: string | null;
|
|
78179
|
+
id?: string;
|
|
78180
|
+
last_confirmed_at?: string | null;
|
|
78181
|
+
last_enqueued_at?: string | null;
|
|
78182
|
+
last_published_at?: string | null;
|
|
78183
|
+
last_sync_error?: string | null;
|
|
78184
|
+
manual_quantity?: number | null;
|
|
78185
|
+
maximum_quantity?: number | null;
|
|
78186
|
+
product_id: string;
|
|
78187
|
+
quantity_control?: string;
|
|
78188
|
+
remote_available?: boolean | null;
|
|
78189
|
+
remote_checked_at?: string | null;
|
|
78190
|
+
remote_quantity?: number | null;
|
|
78191
|
+
stock_mode?: string;
|
|
78192
|
+
sync_status?: string;
|
|
78193
|
+
updated_at?: string;
|
|
78194
|
+
updated_by?: string | null;
|
|
78195
|
+
user_id: string;
|
|
78196
|
+
};
|
|
78197
|
+
Update: {
|
|
78198
|
+
buffer_quantity?: number;
|
|
78199
|
+
connection_id?: string;
|
|
78200
|
+
created_at?: string;
|
|
78201
|
+
desired_availability?: boolean;
|
|
78202
|
+
desired_quantity?: number;
|
|
78203
|
+
fixed_quantity?: number | null;
|
|
78204
|
+
floriday_trade_item_id?: string | null;
|
|
78205
|
+
id?: string;
|
|
78206
|
+
last_confirmed_at?: string | null;
|
|
78207
|
+
last_enqueued_at?: string | null;
|
|
78208
|
+
last_published_at?: string | null;
|
|
78209
|
+
last_sync_error?: string | null;
|
|
78210
|
+
manual_quantity?: number | null;
|
|
78211
|
+
maximum_quantity?: number | null;
|
|
78212
|
+
product_id?: string;
|
|
78213
|
+
quantity_control?: string;
|
|
78214
|
+
remote_available?: boolean | null;
|
|
78215
|
+
remote_checked_at?: string | null;
|
|
78216
|
+
remote_quantity?: number | null;
|
|
78217
|
+
stock_mode?: string;
|
|
78218
|
+
sync_status?: string;
|
|
78219
|
+
updated_at?: string;
|
|
78220
|
+
updated_by?: string | null;
|
|
78221
|
+
user_id?: string;
|
|
78222
|
+
};
|
|
78223
|
+
Relationships: [];
|
|
78224
|
+
};
|
|
77373
78225
|
floriday_invoices_cache: {
|
|
77374
78226
|
Row: {
|
|
77375
78227
|
buyer_organization_id: string | null;
|
|
@@ -77658,6 +78510,39 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
|
|
|
77658
78510
|
};
|
|
77659
78511
|
Relationships: [];
|
|
77660
78512
|
};
|
|
78513
|
+
floriday_sales_order_ingest: {
|
|
78514
|
+
Row: {
|
|
78515
|
+
connection_id: string;
|
|
78516
|
+
created_at: string;
|
|
78517
|
+
id: string;
|
|
78518
|
+
impact: import("../integrations/supabase/types").Json;
|
|
78519
|
+
order_status: string | null;
|
|
78520
|
+
order_version: number;
|
|
78521
|
+
processed_at: string;
|
|
78522
|
+
sales_order_id: string;
|
|
78523
|
+
};
|
|
78524
|
+
Insert: {
|
|
78525
|
+
connection_id: string;
|
|
78526
|
+
created_at?: string;
|
|
78527
|
+
id?: string;
|
|
78528
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
78529
|
+
order_status?: string | null;
|
|
78530
|
+
order_version?: number;
|
|
78531
|
+
processed_at?: string;
|
|
78532
|
+
sales_order_id: string;
|
|
78533
|
+
};
|
|
78534
|
+
Update: {
|
|
78535
|
+
connection_id?: string;
|
|
78536
|
+
created_at?: string;
|
|
78537
|
+
id?: string;
|
|
78538
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
78539
|
+
order_status?: string | null;
|
|
78540
|
+
order_version?: number;
|
|
78541
|
+
processed_at?: string;
|
|
78542
|
+
sales_order_id?: string;
|
|
78543
|
+
};
|
|
78544
|
+
Relationships: [];
|
|
78545
|
+
};
|
|
77661
78546
|
floriday_sales_strategies_cache: {
|
|
77662
78547
|
Row: {
|
|
77663
78548
|
connection_id: string;
|
|
@@ -77757,6 +78642,39 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
|
|
|
77757
78642
|
};
|
|
77758
78643
|
Relationships: [];
|
|
77759
78644
|
};
|
|
78645
|
+
floriday_sync_cursors: {
|
|
78646
|
+
Row: {
|
|
78647
|
+
connection_id: string;
|
|
78648
|
+
created_at: string;
|
|
78649
|
+
id: string;
|
|
78650
|
+
last_error: string | null;
|
|
78651
|
+
last_sync_at: string | null;
|
|
78652
|
+
resource_type: string;
|
|
78653
|
+
sequence_number: number;
|
|
78654
|
+
updated_at: string;
|
|
78655
|
+
};
|
|
78656
|
+
Insert: {
|
|
78657
|
+
connection_id: string;
|
|
78658
|
+
created_at?: string;
|
|
78659
|
+
id?: string;
|
|
78660
|
+
last_error?: string | null;
|
|
78661
|
+
last_sync_at?: string | null;
|
|
78662
|
+
resource_type: string;
|
|
78663
|
+
sequence_number?: number;
|
|
78664
|
+
updated_at?: string;
|
|
78665
|
+
};
|
|
78666
|
+
Update: {
|
|
78667
|
+
connection_id?: string;
|
|
78668
|
+
created_at?: string;
|
|
78669
|
+
id?: string;
|
|
78670
|
+
last_error?: string | null;
|
|
78671
|
+
last_sync_at?: string | null;
|
|
78672
|
+
resource_type?: string;
|
|
78673
|
+
sequence_number?: number;
|
|
78674
|
+
updated_at?: string;
|
|
78675
|
+
};
|
|
78676
|
+
Relationships: [];
|
|
78677
|
+
};
|
|
77760
78678
|
floriday_sync_state: {
|
|
77761
78679
|
Row: {
|
|
77762
78680
|
connection_id: string;
|
|
@@ -78447,6 +79365,42 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
|
|
|
78447
79365
|
};
|
|
78448
79366
|
Relationships: [];
|
|
78449
79367
|
};
|
|
79368
|
+
inventory_stock_snapshots: {
|
|
79369
|
+
Row: {
|
|
79370
|
+
connection_id: string;
|
|
79371
|
+
created_at: string;
|
|
79372
|
+
erp_available_quantity: number;
|
|
79373
|
+
floriday_desired_quantity: number;
|
|
79374
|
+
floriday_remote_quantity: number | null;
|
|
79375
|
+
granularity: string;
|
|
79376
|
+
id: string;
|
|
79377
|
+
snapshot_at: string;
|
|
79378
|
+
user_id: string | null;
|
|
79379
|
+
};
|
|
79380
|
+
Insert: {
|
|
79381
|
+
connection_id: string;
|
|
79382
|
+
created_at?: string;
|
|
79383
|
+
erp_available_quantity?: number;
|
|
79384
|
+
floriday_desired_quantity?: number;
|
|
79385
|
+
floriday_remote_quantity?: number | null;
|
|
79386
|
+
granularity?: string;
|
|
79387
|
+
id?: string;
|
|
79388
|
+
snapshot_at?: string;
|
|
79389
|
+
user_id?: string | null;
|
|
79390
|
+
};
|
|
79391
|
+
Update: {
|
|
79392
|
+
connection_id?: string;
|
|
79393
|
+
created_at?: string;
|
|
79394
|
+
erp_available_quantity?: number;
|
|
79395
|
+
floriday_desired_quantity?: number;
|
|
79396
|
+
floriday_remote_quantity?: number | null;
|
|
79397
|
+
granularity?: string;
|
|
79398
|
+
id?: string;
|
|
79399
|
+
snapshot_at?: string;
|
|
79400
|
+
user_id?: string | null;
|
|
79401
|
+
};
|
|
79402
|
+
Relationships: [];
|
|
79403
|
+
};
|
|
78450
79404
|
invoice_items: {
|
|
78451
79405
|
Row: {
|
|
78452
79406
|
created_at: string;
|
|
@@ -87641,6 +88595,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
|
|
|
87641
88595
|
};
|
|
87642
88596
|
trade_item_stock: {
|
|
87643
88597
|
Row: {
|
|
88598
|
+
change_source: string;
|
|
87644
88599
|
connection_id: string;
|
|
87645
88600
|
created_at: string;
|
|
87646
88601
|
id: string;
|
|
@@ -87654,6 +88609,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
|
|
|
87654
88609
|
user_id: string;
|
|
87655
88610
|
};
|
|
87656
88611
|
Insert: {
|
|
88612
|
+
change_source?: string;
|
|
87657
88613
|
connection_id: string;
|
|
87658
88614
|
created_at?: string;
|
|
87659
88615
|
id?: string;
|
|
@@ -87667,6 +88623,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
|
|
|
87667
88623
|
user_id: string;
|
|
87668
88624
|
};
|
|
87669
88625
|
Update: {
|
|
88626
|
+
change_source?: string;
|
|
87670
88627
|
connection_id?: string;
|
|
87671
88628
|
created_at?: string;
|
|
87672
88629
|
id?: string;
|
|
@@ -91267,6 +92224,18 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
|
|
|
91267
92224
|
Args: never;
|
|
91268
92225
|
Returns: number;
|
|
91269
92226
|
};
|
|
92227
|
+
calculate_floriday_desired_stock: {
|
|
92228
|
+
Args: {
|
|
92229
|
+
p_connection_id: string;
|
|
92230
|
+
p_product_id: string;
|
|
92231
|
+
};
|
|
92232
|
+
Returns: {
|
|
92233
|
+
desired_availability: boolean;
|
|
92234
|
+
desired_quantity: number;
|
|
92235
|
+
erp_available: number;
|
|
92236
|
+
stock_mode: string;
|
|
92237
|
+
}[];
|
|
92238
|
+
};
|
|
91270
92239
|
calculate_layer_stock: {
|
|
91271
92240
|
Args: {
|
|
91272
92241
|
p_product_id: string;
|
|
@@ -91361,6 +92330,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
|
|
|
91361
92330
|
attempts: number;
|
|
91362
92331
|
connection_id: string;
|
|
91363
92332
|
created_at: string;
|
|
92333
|
+
dead_lettered_at: string | null;
|
|
91364
92334
|
desired_available: boolean | null;
|
|
91365
92335
|
gateway_attempt_id: string | null;
|
|
91366
92336
|
id: string;
|
|
@@ -91369,9 +92339,13 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
|
|
|
91369
92339
|
locked_by: string | null;
|
|
91370
92340
|
next_attempt_at: string;
|
|
91371
92341
|
number_of_pieces: number;
|
|
92342
|
+
product_id: string | null;
|
|
91372
92343
|
sent_at: string | null;
|
|
91373
92344
|
status: string;
|
|
92345
|
+
stock_mode: string | null;
|
|
91374
92346
|
superseded_by: string | null;
|
|
92347
|
+
target_week: number | null;
|
|
92348
|
+
target_year: number | null;
|
|
91375
92349
|
trade_item_id: string;
|
|
91376
92350
|
updated_at: string;
|
|
91377
92351
|
user_id: string;
|
|
@@ -91852,6 +92826,24 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
|
|
|
91852
92826
|
};
|
|
91853
92827
|
Returns: string;
|
|
91854
92828
|
};
|
|
92829
|
+
floriday_capture_stock_snapshot: {
|
|
92830
|
+
Args: never;
|
|
92831
|
+
Returns: number;
|
|
92832
|
+
};
|
|
92833
|
+
floriday_cleanup_stock_queue_v2: {
|
|
92834
|
+
Args: never;
|
|
92835
|
+
Returns: undefined;
|
|
92836
|
+
};
|
|
92837
|
+
floriday_compact_stock_snapshots: {
|
|
92838
|
+
Args: never;
|
|
92839
|
+
Returns: undefined;
|
|
92840
|
+
};
|
|
92841
|
+
floriday_default_owner: {
|
|
92842
|
+
Args: {
|
|
92843
|
+
p_connection_id: string;
|
|
92844
|
+
};
|
|
92845
|
+
Returns: string;
|
|
92846
|
+
};
|
|
91855
92847
|
floriday_effective_price: {
|
|
91856
92848
|
Args: {
|
|
91857
92849
|
_buyer_id: string;
|
|
@@ -91869,6 +92861,22 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
|
|
|
91869
92861
|
source_id: string;
|
|
91870
92862
|
}[];
|
|
91871
92863
|
};
|
|
92864
|
+
floriday_fill_publish_horizon: {
|
|
92865
|
+
Args: never;
|
|
92866
|
+
Returns: number;
|
|
92867
|
+
};
|
|
92868
|
+
floriday_publish_horizon_weeks: {
|
|
92869
|
+
Args: never;
|
|
92870
|
+
Returns: number;
|
|
92871
|
+
};
|
|
92872
|
+
floriday_recompute_inventory: {
|
|
92873
|
+
Args: {
|
|
92874
|
+
p_connection_id: string;
|
|
92875
|
+
p_force?: boolean;
|
|
92876
|
+
p_product_id: string;
|
|
92877
|
+
};
|
|
92878
|
+
Returns: undefined;
|
|
92879
|
+
};
|
|
91872
92880
|
format_cart_number: {
|
|
91873
92881
|
Args: {
|
|
91874
92882
|
p_pick_date: string;
|