@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 getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
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 getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
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 getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
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 getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
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 getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
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 getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
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 getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
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 getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
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 getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
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 getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
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 getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
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 getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
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 getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
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 getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
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 getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
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 getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
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 getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
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 getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
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;
|
|
@@ -29694,6 +29946,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
29694
29946
|
attempts: number;
|
|
29695
29947
|
connection_id: string;
|
|
29696
29948
|
created_at: string;
|
|
29949
|
+
dead_lettered_at: string | null;
|
|
29697
29950
|
desired_available: boolean | null;
|
|
29698
29951
|
gateway_attempt_id: string | null;
|
|
29699
29952
|
id: string;
|
|
@@ -29702,9 +29955,13 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
29702
29955
|
locked_by: string | null;
|
|
29703
29956
|
next_attempt_at: string;
|
|
29704
29957
|
number_of_pieces: number;
|
|
29958
|
+
product_id: string | null;
|
|
29705
29959
|
sent_at: string | null;
|
|
29706
29960
|
status: string;
|
|
29961
|
+
stock_mode: string | null;
|
|
29707
29962
|
superseded_by: string | null;
|
|
29963
|
+
target_week: number | null;
|
|
29964
|
+
target_year: number | null;
|
|
29708
29965
|
trade_item_id: string;
|
|
29709
29966
|
updated_at: string;
|
|
29710
29967
|
user_id: string;
|
|
@@ -29713,6 +29970,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
29713
29970
|
attempts?: number;
|
|
29714
29971
|
connection_id: string;
|
|
29715
29972
|
created_at?: string;
|
|
29973
|
+
dead_lettered_at?: string | null;
|
|
29716
29974
|
desired_available?: boolean | null;
|
|
29717
29975
|
gateway_attempt_id?: string | null;
|
|
29718
29976
|
id?: string;
|
|
@@ -29721,9 +29979,13 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
29721
29979
|
locked_by?: string | null;
|
|
29722
29980
|
next_attempt_at?: string;
|
|
29723
29981
|
number_of_pieces?: number;
|
|
29982
|
+
product_id?: string | null;
|
|
29724
29983
|
sent_at?: string | null;
|
|
29725
29984
|
status?: string;
|
|
29985
|
+
stock_mode?: string | null;
|
|
29726
29986
|
superseded_by?: string | null;
|
|
29987
|
+
target_week?: number | null;
|
|
29988
|
+
target_year?: number | null;
|
|
29727
29989
|
trade_item_id: string;
|
|
29728
29990
|
updated_at?: string;
|
|
29729
29991
|
user_id: string;
|
|
@@ -29732,6 +29994,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
29732
29994
|
attempts?: number;
|
|
29733
29995
|
connection_id?: string;
|
|
29734
29996
|
created_at?: string;
|
|
29997
|
+
dead_lettered_at?: string | null;
|
|
29735
29998
|
desired_available?: boolean | null;
|
|
29736
29999
|
gateway_attempt_id?: string | null;
|
|
29737
30000
|
id?: string;
|
|
@@ -29740,9 +30003,13 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
29740
30003
|
locked_by?: string | null;
|
|
29741
30004
|
next_attempt_at?: string;
|
|
29742
30005
|
number_of_pieces?: number;
|
|
30006
|
+
product_id?: string | null;
|
|
29743
30007
|
sent_at?: string | null;
|
|
29744
30008
|
status?: string;
|
|
30009
|
+
stock_mode?: string | null;
|
|
29745
30010
|
superseded_by?: string | null;
|
|
30011
|
+
target_week?: number | null;
|
|
30012
|
+
target_year?: number | null;
|
|
29746
30013
|
trade_item_id?: string;
|
|
29747
30014
|
updated_at?: string;
|
|
29748
30015
|
user_id?: string;
|
|
@@ -30151,6 +30418,87 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
30151
30418
|
referencedColumns: ["id"];
|
|
30152
30419
|
}];
|
|
30153
30420
|
};
|
|
30421
|
+
floriday_inventory_settings: {
|
|
30422
|
+
Row: {
|
|
30423
|
+
buffer_quantity: number;
|
|
30424
|
+
connection_id: string;
|
|
30425
|
+
created_at: string;
|
|
30426
|
+
desired_availability: boolean;
|
|
30427
|
+
desired_quantity: number;
|
|
30428
|
+
fixed_quantity: number | null;
|
|
30429
|
+
floriday_trade_item_id: string | null;
|
|
30430
|
+
id: string;
|
|
30431
|
+
last_confirmed_at: string | null;
|
|
30432
|
+
last_enqueued_at: string | null;
|
|
30433
|
+
last_published_at: string | null;
|
|
30434
|
+
last_sync_error: string | null;
|
|
30435
|
+
manual_quantity: number | null;
|
|
30436
|
+
maximum_quantity: number | null;
|
|
30437
|
+
product_id: string;
|
|
30438
|
+
quantity_control: string;
|
|
30439
|
+
remote_available: boolean | null;
|
|
30440
|
+
remote_checked_at: string | null;
|
|
30441
|
+
remote_quantity: number | null;
|
|
30442
|
+
stock_mode: string;
|
|
30443
|
+
sync_status: string;
|
|
30444
|
+
updated_at: string;
|
|
30445
|
+
updated_by: string | null;
|
|
30446
|
+
user_id: string;
|
|
30447
|
+
};
|
|
30448
|
+
Insert: {
|
|
30449
|
+
buffer_quantity?: number;
|
|
30450
|
+
connection_id: string;
|
|
30451
|
+
created_at?: string;
|
|
30452
|
+
desired_availability?: boolean;
|
|
30453
|
+
desired_quantity?: number;
|
|
30454
|
+
fixed_quantity?: number | null;
|
|
30455
|
+
floriday_trade_item_id?: string | null;
|
|
30456
|
+
id?: string;
|
|
30457
|
+
last_confirmed_at?: string | null;
|
|
30458
|
+
last_enqueued_at?: string | null;
|
|
30459
|
+
last_published_at?: string | null;
|
|
30460
|
+
last_sync_error?: string | null;
|
|
30461
|
+
manual_quantity?: number | null;
|
|
30462
|
+
maximum_quantity?: number | null;
|
|
30463
|
+
product_id: string;
|
|
30464
|
+
quantity_control?: string;
|
|
30465
|
+
remote_available?: boolean | null;
|
|
30466
|
+
remote_checked_at?: string | null;
|
|
30467
|
+
remote_quantity?: number | null;
|
|
30468
|
+
stock_mode?: string;
|
|
30469
|
+
sync_status?: string;
|
|
30470
|
+
updated_at?: string;
|
|
30471
|
+
updated_by?: string | null;
|
|
30472
|
+
user_id: string;
|
|
30473
|
+
};
|
|
30474
|
+
Update: {
|
|
30475
|
+
buffer_quantity?: number;
|
|
30476
|
+
connection_id?: string;
|
|
30477
|
+
created_at?: string;
|
|
30478
|
+
desired_availability?: boolean;
|
|
30479
|
+
desired_quantity?: number;
|
|
30480
|
+
fixed_quantity?: number | null;
|
|
30481
|
+
floriday_trade_item_id?: string | null;
|
|
30482
|
+
id?: string;
|
|
30483
|
+
last_confirmed_at?: string | null;
|
|
30484
|
+
last_enqueued_at?: string | null;
|
|
30485
|
+
last_published_at?: string | null;
|
|
30486
|
+
last_sync_error?: string | null;
|
|
30487
|
+
manual_quantity?: number | null;
|
|
30488
|
+
maximum_quantity?: number | null;
|
|
30489
|
+
product_id?: string;
|
|
30490
|
+
quantity_control?: string;
|
|
30491
|
+
remote_available?: boolean | null;
|
|
30492
|
+
remote_checked_at?: string | null;
|
|
30493
|
+
remote_quantity?: number | null;
|
|
30494
|
+
stock_mode?: string;
|
|
30495
|
+
sync_status?: string;
|
|
30496
|
+
updated_at?: string;
|
|
30497
|
+
updated_by?: string | null;
|
|
30498
|
+
user_id?: string;
|
|
30499
|
+
};
|
|
30500
|
+
Relationships: [];
|
|
30501
|
+
};
|
|
30154
30502
|
floriday_invoices_cache: {
|
|
30155
30503
|
Row: {
|
|
30156
30504
|
buyer_organization_id: string | null;
|
|
@@ -30439,6 +30787,39 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
30439
30787
|
};
|
|
30440
30788
|
Relationships: [];
|
|
30441
30789
|
};
|
|
30790
|
+
floriday_sales_order_ingest: {
|
|
30791
|
+
Row: {
|
|
30792
|
+
connection_id: string;
|
|
30793
|
+
created_at: string;
|
|
30794
|
+
id: string;
|
|
30795
|
+
impact: import("../integrations/supabase/types").Json;
|
|
30796
|
+
order_status: string | null;
|
|
30797
|
+
order_version: number;
|
|
30798
|
+
processed_at: string;
|
|
30799
|
+
sales_order_id: string;
|
|
30800
|
+
};
|
|
30801
|
+
Insert: {
|
|
30802
|
+
connection_id: string;
|
|
30803
|
+
created_at?: string;
|
|
30804
|
+
id?: string;
|
|
30805
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
30806
|
+
order_status?: string | null;
|
|
30807
|
+
order_version?: number;
|
|
30808
|
+
processed_at?: string;
|
|
30809
|
+
sales_order_id: string;
|
|
30810
|
+
};
|
|
30811
|
+
Update: {
|
|
30812
|
+
connection_id?: string;
|
|
30813
|
+
created_at?: string;
|
|
30814
|
+
id?: string;
|
|
30815
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
30816
|
+
order_status?: string | null;
|
|
30817
|
+
order_version?: number;
|
|
30818
|
+
processed_at?: string;
|
|
30819
|
+
sales_order_id?: string;
|
|
30820
|
+
};
|
|
30821
|
+
Relationships: [];
|
|
30822
|
+
};
|
|
30442
30823
|
floriday_sales_strategies_cache: {
|
|
30443
30824
|
Row: {
|
|
30444
30825
|
connection_id: string;
|
|
@@ -30538,6 +30919,39 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
30538
30919
|
};
|
|
30539
30920
|
Relationships: [];
|
|
30540
30921
|
};
|
|
30922
|
+
floriday_sync_cursors: {
|
|
30923
|
+
Row: {
|
|
30924
|
+
connection_id: string;
|
|
30925
|
+
created_at: string;
|
|
30926
|
+
id: string;
|
|
30927
|
+
last_error: string | null;
|
|
30928
|
+
last_sync_at: string | null;
|
|
30929
|
+
resource_type: string;
|
|
30930
|
+
sequence_number: number;
|
|
30931
|
+
updated_at: string;
|
|
30932
|
+
};
|
|
30933
|
+
Insert: {
|
|
30934
|
+
connection_id: string;
|
|
30935
|
+
created_at?: string;
|
|
30936
|
+
id?: string;
|
|
30937
|
+
last_error?: string | null;
|
|
30938
|
+
last_sync_at?: string | null;
|
|
30939
|
+
resource_type: string;
|
|
30940
|
+
sequence_number?: number;
|
|
30941
|
+
updated_at?: string;
|
|
30942
|
+
};
|
|
30943
|
+
Update: {
|
|
30944
|
+
connection_id?: string;
|
|
30945
|
+
created_at?: string;
|
|
30946
|
+
id?: string;
|
|
30947
|
+
last_error?: string | null;
|
|
30948
|
+
last_sync_at?: string | null;
|
|
30949
|
+
resource_type?: string;
|
|
30950
|
+
sequence_number?: number;
|
|
30951
|
+
updated_at?: string;
|
|
30952
|
+
};
|
|
30953
|
+
Relationships: [];
|
|
30954
|
+
};
|
|
30541
30955
|
floriday_sync_state: {
|
|
30542
30956
|
Row: {
|
|
30543
30957
|
connection_id: string;
|
|
@@ -31228,6 +31642,42 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
31228
31642
|
};
|
|
31229
31643
|
Relationships: [];
|
|
31230
31644
|
};
|
|
31645
|
+
inventory_stock_snapshots: {
|
|
31646
|
+
Row: {
|
|
31647
|
+
connection_id: string;
|
|
31648
|
+
created_at: string;
|
|
31649
|
+
erp_available_quantity: number;
|
|
31650
|
+
floriday_desired_quantity: number;
|
|
31651
|
+
floriday_remote_quantity: number | null;
|
|
31652
|
+
granularity: string;
|
|
31653
|
+
id: string;
|
|
31654
|
+
snapshot_at: string;
|
|
31655
|
+
user_id: string | null;
|
|
31656
|
+
};
|
|
31657
|
+
Insert: {
|
|
31658
|
+
connection_id: string;
|
|
31659
|
+
created_at?: string;
|
|
31660
|
+
erp_available_quantity?: number;
|
|
31661
|
+
floriday_desired_quantity?: number;
|
|
31662
|
+
floriday_remote_quantity?: number | null;
|
|
31663
|
+
granularity?: string;
|
|
31664
|
+
id?: string;
|
|
31665
|
+
snapshot_at?: string;
|
|
31666
|
+
user_id?: string | null;
|
|
31667
|
+
};
|
|
31668
|
+
Update: {
|
|
31669
|
+
connection_id?: string;
|
|
31670
|
+
created_at?: string;
|
|
31671
|
+
erp_available_quantity?: number;
|
|
31672
|
+
floriday_desired_quantity?: number;
|
|
31673
|
+
floriday_remote_quantity?: number | null;
|
|
31674
|
+
granularity?: string;
|
|
31675
|
+
id?: string;
|
|
31676
|
+
snapshot_at?: string;
|
|
31677
|
+
user_id?: string | null;
|
|
31678
|
+
};
|
|
31679
|
+
Relationships: [];
|
|
31680
|
+
};
|
|
31231
31681
|
invoice_items: {
|
|
31232
31682
|
Row: {
|
|
31233
31683
|
created_at: string;
|
|
@@ -40422,6 +40872,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
40422
40872
|
};
|
|
40423
40873
|
trade_item_stock: {
|
|
40424
40874
|
Row: {
|
|
40875
|
+
change_source: string;
|
|
40425
40876
|
connection_id: string;
|
|
40426
40877
|
created_at: string;
|
|
40427
40878
|
id: string;
|
|
@@ -40435,6 +40886,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
40435
40886
|
user_id: string;
|
|
40436
40887
|
};
|
|
40437
40888
|
Insert: {
|
|
40889
|
+
change_source?: string;
|
|
40438
40890
|
connection_id: string;
|
|
40439
40891
|
created_at?: string;
|
|
40440
40892
|
id?: string;
|
|
@@ -40448,6 +40900,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
40448
40900
|
user_id: string;
|
|
40449
40901
|
};
|
|
40450
40902
|
Update: {
|
|
40903
|
+
change_source?: string;
|
|
40451
40904
|
connection_id?: string;
|
|
40452
40905
|
created_at?: string;
|
|
40453
40906
|
id?: string;
|
|
@@ -44048,6 +44501,18 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
44048
44501
|
Args: never;
|
|
44049
44502
|
Returns: number;
|
|
44050
44503
|
};
|
|
44504
|
+
calculate_floriday_desired_stock: {
|
|
44505
|
+
Args: {
|
|
44506
|
+
p_connection_id: string;
|
|
44507
|
+
p_product_id: string;
|
|
44508
|
+
};
|
|
44509
|
+
Returns: {
|
|
44510
|
+
desired_availability: boolean;
|
|
44511
|
+
desired_quantity: number;
|
|
44512
|
+
erp_available: number;
|
|
44513
|
+
stock_mode: string;
|
|
44514
|
+
}[];
|
|
44515
|
+
};
|
|
44051
44516
|
calculate_layer_stock: {
|
|
44052
44517
|
Args: {
|
|
44053
44518
|
p_product_id: string;
|
|
@@ -44142,6 +44607,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
44142
44607
|
attempts: number;
|
|
44143
44608
|
connection_id: string;
|
|
44144
44609
|
created_at: string;
|
|
44610
|
+
dead_lettered_at: string | null;
|
|
44145
44611
|
desired_available: boolean | null;
|
|
44146
44612
|
gateway_attempt_id: string | null;
|
|
44147
44613
|
id: string;
|
|
@@ -44150,9 +44616,13 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
44150
44616
|
locked_by: string | null;
|
|
44151
44617
|
next_attempt_at: string;
|
|
44152
44618
|
number_of_pieces: number;
|
|
44619
|
+
product_id: string | null;
|
|
44153
44620
|
sent_at: string | null;
|
|
44154
44621
|
status: string;
|
|
44622
|
+
stock_mode: string | null;
|
|
44155
44623
|
superseded_by: string | null;
|
|
44624
|
+
target_week: number | null;
|
|
44625
|
+
target_year: number | null;
|
|
44156
44626
|
trade_item_id: string;
|
|
44157
44627
|
updated_at: string;
|
|
44158
44628
|
user_id: string;
|
|
@@ -44633,6 +45103,24 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
44633
45103
|
};
|
|
44634
45104
|
Returns: string;
|
|
44635
45105
|
};
|
|
45106
|
+
floriday_capture_stock_snapshot: {
|
|
45107
|
+
Args: never;
|
|
45108
|
+
Returns: number;
|
|
45109
|
+
};
|
|
45110
|
+
floriday_cleanup_stock_queue_v2: {
|
|
45111
|
+
Args: never;
|
|
45112
|
+
Returns: undefined;
|
|
45113
|
+
};
|
|
45114
|
+
floriday_compact_stock_snapshots: {
|
|
45115
|
+
Args: never;
|
|
45116
|
+
Returns: undefined;
|
|
45117
|
+
};
|
|
45118
|
+
floriday_default_owner: {
|
|
45119
|
+
Args: {
|
|
45120
|
+
p_connection_id: string;
|
|
45121
|
+
};
|
|
45122
|
+
Returns: string;
|
|
45123
|
+
};
|
|
44636
45124
|
floriday_effective_price: {
|
|
44637
45125
|
Args: {
|
|
44638
45126
|
_buyer_id: string;
|
|
@@ -44650,6 +45138,22 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
44650
45138
|
source_id: string;
|
|
44651
45139
|
}[];
|
|
44652
45140
|
};
|
|
45141
|
+
floriday_fill_publish_horizon: {
|
|
45142
|
+
Args: never;
|
|
45143
|
+
Returns: number;
|
|
45144
|
+
};
|
|
45145
|
+
floriday_publish_horizon_weeks: {
|
|
45146
|
+
Args: never;
|
|
45147
|
+
Returns: number;
|
|
45148
|
+
};
|
|
45149
|
+
floriday_recompute_inventory: {
|
|
45150
|
+
Args: {
|
|
45151
|
+
p_connection_id: string;
|
|
45152
|
+
p_force?: boolean;
|
|
45153
|
+
p_product_id: string;
|
|
45154
|
+
};
|
|
45155
|
+
Returns: undefined;
|
|
45156
|
+
};
|
|
44653
45157
|
format_cart_number: {
|
|
44654
45158
|
Args: {
|
|
44655
45159
|
p_pick_date: string;
|
|
@@ -53288,6 +53792,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
53288
53792
|
attempts: number;
|
|
53289
53793
|
connection_id: string;
|
|
53290
53794
|
created_at: string;
|
|
53795
|
+
dead_lettered_at: string | null;
|
|
53291
53796
|
desired_available: boolean | null;
|
|
53292
53797
|
gateway_attempt_id: string | null;
|
|
53293
53798
|
id: string;
|
|
@@ -53296,9 +53801,13 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
53296
53801
|
locked_by: string | null;
|
|
53297
53802
|
next_attempt_at: string;
|
|
53298
53803
|
number_of_pieces: number;
|
|
53804
|
+
product_id: string | null;
|
|
53299
53805
|
sent_at: string | null;
|
|
53300
53806
|
status: string;
|
|
53807
|
+
stock_mode: string | null;
|
|
53301
53808
|
superseded_by: string | null;
|
|
53809
|
+
target_week: number | null;
|
|
53810
|
+
target_year: number | null;
|
|
53302
53811
|
trade_item_id: string;
|
|
53303
53812
|
updated_at: string;
|
|
53304
53813
|
user_id: string;
|
|
@@ -53307,6 +53816,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
53307
53816
|
attempts?: number;
|
|
53308
53817
|
connection_id: string;
|
|
53309
53818
|
created_at?: string;
|
|
53819
|
+
dead_lettered_at?: string | null;
|
|
53310
53820
|
desired_available?: boolean | null;
|
|
53311
53821
|
gateway_attempt_id?: string | null;
|
|
53312
53822
|
id?: string;
|
|
@@ -53315,9 +53825,13 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
53315
53825
|
locked_by?: string | null;
|
|
53316
53826
|
next_attempt_at?: string;
|
|
53317
53827
|
number_of_pieces?: number;
|
|
53828
|
+
product_id?: string | null;
|
|
53318
53829
|
sent_at?: string | null;
|
|
53319
53830
|
status?: string;
|
|
53831
|
+
stock_mode?: string | null;
|
|
53320
53832
|
superseded_by?: string | null;
|
|
53833
|
+
target_week?: number | null;
|
|
53834
|
+
target_year?: number | null;
|
|
53321
53835
|
trade_item_id: string;
|
|
53322
53836
|
updated_at?: string;
|
|
53323
53837
|
user_id: string;
|
|
@@ -53326,6 +53840,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
53326
53840
|
attempts?: number;
|
|
53327
53841
|
connection_id?: string;
|
|
53328
53842
|
created_at?: string;
|
|
53843
|
+
dead_lettered_at?: string | null;
|
|
53329
53844
|
desired_available?: boolean | null;
|
|
53330
53845
|
gateway_attempt_id?: string | null;
|
|
53331
53846
|
id?: string;
|
|
@@ -53334,9 +53849,13 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
53334
53849
|
locked_by?: string | null;
|
|
53335
53850
|
next_attempt_at?: string;
|
|
53336
53851
|
number_of_pieces?: number;
|
|
53852
|
+
product_id?: string | null;
|
|
53337
53853
|
sent_at?: string | null;
|
|
53338
53854
|
status?: string;
|
|
53855
|
+
stock_mode?: string | null;
|
|
53339
53856
|
superseded_by?: string | null;
|
|
53857
|
+
target_week?: number | null;
|
|
53858
|
+
target_year?: number | null;
|
|
53340
53859
|
trade_item_id?: string;
|
|
53341
53860
|
updated_at?: string;
|
|
53342
53861
|
user_id?: string;
|
|
@@ -53745,6 +54264,87 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
53745
54264
|
referencedColumns: ["id"];
|
|
53746
54265
|
}];
|
|
53747
54266
|
};
|
|
54267
|
+
floriday_inventory_settings: {
|
|
54268
|
+
Row: {
|
|
54269
|
+
buffer_quantity: number;
|
|
54270
|
+
connection_id: string;
|
|
54271
|
+
created_at: string;
|
|
54272
|
+
desired_availability: boolean;
|
|
54273
|
+
desired_quantity: number;
|
|
54274
|
+
fixed_quantity: number | null;
|
|
54275
|
+
floriday_trade_item_id: string | null;
|
|
54276
|
+
id: string;
|
|
54277
|
+
last_confirmed_at: string | null;
|
|
54278
|
+
last_enqueued_at: string | null;
|
|
54279
|
+
last_published_at: string | null;
|
|
54280
|
+
last_sync_error: string | null;
|
|
54281
|
+
manual_quantity: number | null;
|
|
54282
|
+
maximum_quantity: number | null;
|
|
54283
|
+
product_id: string;
|
|
54284
|
+
quantity_control: string;
|
|
54285
|
+
remote_available: boolean | null;
|
|
54286
|
+
remote_checked_at: string | null;
|
|
54287
|
+
remote_quantity: number | null;
|
|
54288
|
+
stock_mode: string;
|
|
54289
|
+
sync_status: string;
|
|
54290
|
+
updated_at: string;
|
|
54291
|
+
updated_by: string | null;
|
|
54292
|
+
user_id: string;
|
|
54293
|
+
};
|
|
54294
|
+
Insert: {
|
|
54295
|
+
buffer_quantity?: number;
|
|
54296
|
+
connection_id: string;
|
|
54297
|
+
created_at?: string;
|
|
54298
|
+
desired_availability?: boolean;
|
|
54299
|
+
desired_quantity?: number;
|
|
54300
|
+
fixed_quantity?: number | null;
|
|
54301
|
+
floriday_trade_item_id?: string | null;
|
|
54302
|
+
id?: string;
|
|
54303
|
+
last_confirmed_at?: string | null;
|
|
54304
|
+
last_enqueued_at?: string | null;
|
|
54305
|
+
last_published_at?: string | null;
|
|
54306
|
+
last_sync_error?: string | null;
|
|
54307
|
+
manual_quantity?: number | null;
|
|
54308
|
+
maximum_quantity?: number | null;
|
|
54309
|
+
product_id: string;
|
|
54310
|
+
quantity_control?: string;
|
|
54311
|
+
remote_available?: boolean | null;
|
|
54312
|
+
remote_checked_at?: string | null;
|
|
54313
|
+
remote_quantity?: number | null;
|
|
54314
|
+
stock_mode?: string;
|
|
54315
|
+
sync_status?: string;
|
|
54316
|
+
updated_at?: string;
|
|
54317
|
+
updated_by?: string | null;
|
|
54318
|
+
user_id: string;
|
|
54319
|
+
};
|
|
54320
|
+
Update: {
|
|
54321
|
+
buffer_quantity?: number;
|
|
54322
|
+
connection_id?: string;
|
|
54323
|
+
created_at?: string;
|
|
54324
|
+
desired_availability?: boolean;
|
|
54325
|
+
desired_quantity?: number;
|
|
54326
|
+
fixed_quantity?: number | null;
|
|
54327
|
+
floriday_trade_item_id?: string | null;
|
|
54328
|
+
id?: string;
|
|
54329
|
+
last_confirmed_at?: string | null;
|
|
54330
|
+
last_enqueued_at?: string | null;
|
|
54331
|
+
last_published_at?: string | null;
|
|
54332
|
+
last_sync_error?: string | null;
|
|
54333
|
+
manual_quantity?: number | null;
|
|
54334
|
+
maximum_quantity?: number | null;
|
|
54335
|
+
product_id?: string;
|
|
54336
|
+
quantity_control?: string;
|
|
54337
|
+
remote_available?: boolean | null;
|
|
54338
|
+
remote_checked_at?: string | null;
|
|
54339
|
+
remote_quantity?: number | null;
|
|
54340
|
+
stock_mode?: string;
|
|
54341
|
+
sync_status?: string;
|
|
54342
|
+
updated_at?: string;
|
|
54343
|
+
updated_by?: string | null;
|
|
54344
|
+
user_id?: string;
|
|
54345
|
+
};
|
|
54346
|
+
Relationships: [];
|
|
54347
|
+
};
|
|
53748
54348
|
floriday_invoices_cache: {
|
|
53749
54349
|
Row: {
|
|
53750
54350
|
buyer_organization_id: string | null;
|
|
@@ -54033,6 +54633,39 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
54033
54633
|
};
|
|
54034
54634
|
Relationships: [];
|
|
54035
54635
|
};
|
|
54636
|
+
floriday_sales_order_ingest: {
|
|
54637
|
+
Row: {
|
|
54638
|
+
connection_id: string;
|
|
54639
|
+
created_at: string;
|
|
54640
|
+
id: string;
|
|
54641
|
+
impact: import("../integrations/supabase/types").Json;
|
|
54642
|
+
order_status: string | null;
|
|
54643
|
+
order_version: number;
|
|
54644
|
+
processed_at: string;
|
|
54645
|
+
sales_order_id: string;
|
|
54646
|
+
};
|
|
54647
|
+
Insert: {
|
|
54648
|
+
connection_id: string;
|
|
54649
|
+
created_at?: string;
|
|
54650
|
+
id?: string;
|
|
54651
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
54652
|
+
order_status?: string | null;
|
|
54653
|
+
order_version?: number;
|
|
54654
|
+
processed_at?: string;
|
|
54655
|
+
sales_order_id: string;
|
|
54656
|
+
};
|
|
54657
|
+
Update: {
|
|
54658
|
+
connection_id?: string;
|
|
54659
|
+
created_at?: string;
|
|
54660
|
+
id?: string;
|
|
54661
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
54662
|
+
order_status?: string | null;
|
|
54663
|
+
order_version?: number;
|
|
54664
|
+
processed_at?: string;
|
|
54665
|
+
sales_order_id?: string;
|
|
54666
|
+
};
|
|
54667
|
+
Relationships: [];
|
|
54668
|
+
};
|
|
54036
54669
|
floriday_sales_strategies_cache: {
|
|
54037
54670
|
Row: {
|
|
54038
54671
|
connection_id: string;
|
|
@@ -54132,6 +54765,39 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
54132
54765
|
};
|
|
54133
54766
|
Relationships: [];
|
|
54134
54767
|
};
|
|
54768
|
+
floriday_sync_cursors: {
|
|
54769
|
+
Row: {
|
|
54770
|
+
connection_id: string;
|
|
54771
|
+
created_at: string;
|
|
54772
|
+
id: string;
|
|
54773
|
+
last_error: string | null;
|
|
54774
|
+
last_sync_at: string | null;
|
|
54775
|
+
resource_type: string;
|
|
54776
|
+
sequence_number: number;
|
|
54777
|
+
updated_at: string;
|
|
54778
|
+
};
|
|
54779
|
+
Insert: {
|
|
54780
|
+
connection_id: string;
|
|
54781
|
+
created_at?: string;
|
|
54782
|
+
id?: string;
|
|
54783
|
+
last_error?: string | null;
|
|
54784
|
+
last_sync_at?: string | null;
|
|
54785
|
+
resource_type: string;
|
|
54786
|
+
sequence_number?: number;
|
|
54787
|
+
updated_at?: string;
|
|
54788
|
+
};
|
|
54789
|
+
Update: {
|
|
54790
|
+
connection_id?: string;
|
|
54791
|
+
created_at?: string;
|
|
54792
|
+
id?: string;
|
|
54793
|
+
last_error?: string | null;
|
|
54794
|
+
last_sync_at?: string | null;
|
|
54795
|
+
resource_type?: string;
|
|
54796
|
+
sequence_number?: number;
|
|
54797
|
+
updated_at?: string;
|
|
54798
|
+
};
|
|
54799
|
+
Relationships: [];
|
|
54800
|
+
};
|
|
54135
54801
|
floriday_sync_state: {
|
|
54136
54802
|
Row: {
|
|
54137
54803
|
connection_id: string;
|
|
@@ -54822,6 +55488,42 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
54822
55488
|
};
|
|
54823
55489
|
Relationships: [];
|
|
54824
55490
|
};
|
|
55491
|
+
inventory_stock_snapshots: {
|
|
55492
|
+
Row: {
|
|
55493
|
+
connection_id: string;
|
|
55494
|
+
created_at: string;
|
|
55495
|
+
erp_available_quantity: number;
|
|
55496
|
+
floriday_desired_quantity: number;
|
|
55497
|
+
floriday_remote_quantity: number | null;
|
|
55498
|
+
granularity: string;
|
|
55499
|
+
id: string;
|
|
55500
|
+
snapshot_at: string;
|
|
55501
|
+
user_id: string | null;
|
|
55502
|
+
};
|
|
55503
|
+
Insert: {
|
|
55504
|
+
connection_id: string;
|
|
55505
|
+
created_at?: string;
|
|
55506
|
+
erp_available_quantity?: number;
|
|
55507
|
+
floriday_desired_quantity?: number;
|
|
55508
|
+
floriday_remote_quantity?: number | null;
|
|
55509
|
+
granularity?: string;
|
|
55510
|
+
id?: string;
|
|
55511
|
+
snapshot_at?: string;
|
|
55512
|
+
user_id?: string | null;
|
|
55513
|
+
};
|
|
55514
|
+
Update: {
|
|
55515
|
+
connection_id?: string;
|
|
55516
|
+
created_at?: string;
|
|
55517
|
+
erp_available_quantity?: number;
|
|
55518
|
+
floriday_desired_quantity?: number;
|
|
55519
|
+
floriday_remote_quantity?: number | null;
|
|
55520
|
+
granularity?: string;
|
|
55521
|
+
id?: string;
|
|
55522
|
+
snapshot_at?: string;
|
|
55523
|
+
user_id?: string | null;
|
|
55524
|
+
};
|
|
55525
|
+
Relationships: [];
|
|
55526
|
+
};
|
|
54825
55527
|
invoice_items: {
|
|
54826
55528
|
Row: {
|
|
54827
55529
|
created_at: string;
|
|
@@ -64016,6 +64718,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
64016
64718
|
};
|
|
64017
64719
|
trade_item_stock: {
|
|
64018
64720
|
Row: {
|
|
64721
|
+
change_source: string;
|
|
64019
64722
|
connection_id: string;
|
|
64020
64723
|
created_at: string;
|
|
64021
64724
|
id: string;
|
|
@@ -64029,6 +64732,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
64029
64732
|
user_id: string;
|
|
64030
64733
|
};
|
|
64031
64734
|
Insert: {
|
|
64735
|
+
change_source?: string;
|
|
64032
64736
|
connection_id: string;
|
|
64033
64737
|
created_at?: string;
|
|
64034
64738
|
id?: string;
|
|
@@ -64042,6 +64746,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
64042
64746
|
user_id: string;
|
|
64043
64747
|
};
|
|
64044
64748
|
Update: {
|
|
64749
|
+
change_source?: string;
|
|
64045
64750
|
connection_id?: string;
|
|
64046
64751
|
created_at?: string;
|
|
64047
64752
|
id?: string;
|
|
@@ -67642,6 +68347,18 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
67642
68347
|
Args: never;
|
|
67643
68348
|
Returns: number;
|
|
67644
68349
|
};
|
|
68350
|
+
calculate_floriday_desired_stock: {
|
|
68351
|
+
Args: {
|
|
68352
|
+
p_connection_id: string;
|
|
68353
|
+
p_product_id: string;
|
|
68354
|
+
};
|
|
68355
|
+
Returns: {
|
|
68356
|
+
desired_availability: boolean;
|
|
68357
|
+
desired_quantity: number;
|
|
68358
|
+
erp_available: number;
|
|
68359
|
+
stock_mode: string;
|
|
68360
|
+
}[];
|
|
68361
|
+
};
|
|
67645
68362
|
calculate_layer_stock: {
|
|
67646
68363
|
Args: {
|
|
67647
68364
|
p_product_id: string;
|
|
@@ -67736,6 +68453,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
67736
68453
|
attempts: number;
|
|
67737
68454
|
connection_id: string;
|
|
67738
68455
|
created_at: string;
|
|
68456
|
+
dead_lettered_at: string | null;
|
|
67739
68457
|
desired_available: boolean | null;
|
|
67740
68458
|
gateway_attempt_id: string | null;
|
|
67741
68459
|
id: string;
|
|
@@ -67744,9 +68462,13 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
67744
68462
|
locked_by: string | null;
|
|
67745
68463
|
next_attempt_at: string;
|
|
67746
68464
|
number_of_pieces: number;
|
|
68465
|
+
product_id: string | null;
|
|
67747
68466
|
sent_at: string | null;
|
|
67748
68467
|
status: string;
|
|
68468
|
+
stock_mode: string | null;
|
|
67749
68469
|
superseded_by: string | null;
|
|
68470
|
+
target_week: number | null;
|
|
68471
|
+
target_year: number | null;
|
|
67750
68472
|
trade_item_id: string;
|
|
67751
68473
|
updated_at: string;
|
|
67752
68474
|
user_id: string;
|
|
@@ -68227,6 +68949,24 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
68227
68949
|
};
|
|
68228
68950
|
Returns: string;
|
|
68229
68951
|
};
|
|
68952
|
+
floriday_capture_stock_snapshot: {
|
|
68953
|
+
Args: never;
|
|
68954
|
+
Returns: number;
|
|
68955
|
+
};
|
|
68956
|
+
floriday_cleanup_stock_queue_v2: {
|
|
68957
|
+
Args: never;
|
|
68958
|
+
Returns: undefined;
|
|
68959
|
+
};
|
|
68960
|
+
floriday_compact_stock_snapshots: {
|
|
68961
|
+
Args: never;
|
|
68962
|
+
Returns: undefined;
|
|
68963
|
+
};
|
|
68964
|
+
floriday_default_owner: {
|
|
68965
|
+
Args: {
|
|
68966
|
+
p_connection_id: string;
|
|
68967
|
+
};
|
|
68968
|
+
Returns: string;
|
|
68969
|
+
};
|
|
68230
68970
|
floriday_effective_price: {
|
|
68231
68971
|
Args: {
|
|
68232
68972
|
_buyer_id: string;
|
|
@@ -68244,6 +68984,22 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
68244
68984
|
source_id: string;
|
|
68245
68985
|
}[];
|
|
68246
68986
|
};
|
|
68987
|
+
floriday_fill_publish_horizon: {
|
|
68988
|
+
Args: never;
|
|
68989
|
+
Returns: number;
|
|
68990
|
+
};
|
|
68991
|
+
floriday_publish_horizon_weeks: {
|
|
68992
|
+
Args: never;
|
|
68993
|
+
Returns: number;
|
|
68994
|
+
};
|
|
68995
|
+
floriday_recompute_inventory: {
|
|
68996
|
+
Args: {
|
|
68997
|
+
p_connection_id: string;
|
|
68998
|
+
p_force?: boolean;
|
|
68999
|
+
p_product_id: string;
|
|
69000
|
+
};
|
|
69001
|
+
Returns: undefined;
|
|
69002
|
+
};
|
|
68247
69003
|
format_cart_number: {
|
|
68248
69004
|
Args: {
|
|
68249
69005
|
p_pick_date: string;
|
|
@@ -76882,6 +77638,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
76882
77638
|
attempts: number;
|
|
76883
77639
|
connection_id: string;
|
|
76884
77640
|
created_at: string;
|
|
77641
|
+
dead_lettered_at: string | null;
|
|
76885
77642
|
desired_available: boolean | null;
|
|
76886
77643
|
gateway_attempt_id: string | null;
|
|
76887
77644
|
id: string;
|
|
@@ -76890,9 +77647,13 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
76890
77647
|
locked_by: string | null;
|
|
76891
77648
|
next_attempt_at: string;
|
|
76892
77649
|
number_of_pieces: number;
|
|
77650
|
+
product_id: string | null;
|
|
76893
77651
|
sent_at: string | null;
|
|
76894
77652
|
status: string;
|
|
77653
|
+
stock_mode: string | null;
|
|
76895
77654
|
superseded_by: string | null;
|
|
77655
|
+
target_week: number | null;
|
|
77656
|
+
target_year: number | null;
|
|
76896
77657
|
trade_item_id: string;
|
|
76897
77658
|
updated_at: string;
|
|
76898
77659
|
user_id: string;
|
|
@@ -76901,6 +77662,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
76901
77662
|
attempts?: number;
|
|
76902
77663
|
connection_id: string;
|
|
76903
77664
|
created_at?: string;
|
|
77665
|
+
dead_lettered_at?: string | null;
|
|
76904
77666
|
desired_available?: boolean | null;
|
|
76905
77667
|
gateway_attempt_id?: string | null;
|
|
76906
77668
|
id?: string;
|
|
@@ -76909,9 +77671,13 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
76909
77671
|
locked_by?: string | null;
|
|
76910
77672
|
next_attempt_at?: string;
|
|
76911
77673
|
number_of_pieces?: number;
|
|
77674
|
+
product_id?: string | null;
|
|
76912
77675
|
sent_at?: string | null;
|
|
76913
77676
|
status?: string;
|
|
77677
|
+
stock_mode?: string | null;
|
|
76914
77678
|
superseded_by?: string | null;
|
|
77679
|
+
target_week?: number | null;
|
|
77680
|
+
target_year?: number | null;
|
|
76915
77681
|
trade_item_id: string;
|
|
76916
77682
|
updated_at?: string;
|
|
76917
77683
|
user_id: string;
|
|
@@ -76920,6 +77686,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
76920
77686
|
attempts?: number;
|
|
76921
77687
|
connection_id?: string;
|
|
76922
77688
|
created_at?: string;
|
|
77689
|
+
dead_lettered_at?: string | null;
|
|
76923
77690
|
desired_available?: boolean | null;
|
|
76924
77691
|
gateway_attempt_id?: string | null;
|
|
76925
77692
|
id?: string;
|
|
@@ -76928,9 +77695,13 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
76928
77695
|
locked_by?: string | null;
|
|
76929
77696
|
next_attempt_at?: string;
|
|
76930
77697
|
number_of_pieces?: number;
|
|
77698
|
+
product_id?: string | null;
|
|
76931
77699
|
sent_at?: string | null;
|
|
76932
77700
|
status?: string;
|
|
77701
|
+
stock_mode?: string | null;
|
|
76933
77702
|
superseded_by?: string | null;
|
|
77703
|
+
target_week?: number | null;
|
|
77704
|
+
target_year?: number | null;
|
|
76934
77705
|
trade_item_id?: string;
|
|
76935
77706
|
updated_at?: string;
|
|
76936
77707
|
user_id?: string;
|
|
@@ -77339,6 +78110,87 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
77339
78110
|
referencedColumns: ["id"];
|
|
77340
78111
|
}];
|
|
77341
78112
|
};
|
|
78113
|
+
floriday_inventory_settings: {
|
|
78114
|
+
Row: {
|
|
78115
|
+
buffer_quantity: number;
|
|
78116
|
+
connection_id: string;
|
|
78117
|
+
created_at: string;
|
|
78118
|
+
desired_availability: boolean;
|
|
78119
|
+
desired_quantity: number;
|
|
78120
|
+
fixed_quantity: number | null;
|
|
78121
|
+
floriday_trade_item_id: string | null;
|
|
78122
|
+
id: string;
|
|
78123
|
+
last_confirmed_at: string | null;
|
|
78124
|
+
last_enqueued_at: string | null;
|
|
78125
|
+
last_published_at: string | null;
|
|
78126
|
+
last_sync_error: string | null;
|
|
78127
|
+
manual_quantity: number | null;
|
|
78128
|
+
maximum_quantity: number | null;
|
|
78129
|
+
product_id: string;
|
|
78130
|
+
quantity_control: string;
|
|
78131
|
+
remote_available: boolean | null;
|
|
78132
|
+
remote_checked_at: string | null;
|
|
78133
|
+
remote_quantity: number | null;
|
|
78134
|
+
stock_mode: string;
|
|
78135
|
+
sync_status: string;
|
|
78136
|
+
updated_at: string;
|
|
78137
|
+
updated_by: string | null;
|
|
78138
|
+
user_id: string;
|
|
78139
|
+
};
|
|
78140
|
+
Insert: {
|
|
78141
|
+
buffer_quantity?: number;
|
|
78142
|
+
connection_id: string;
|
|
78143
|
+
created_at?: string;
|
|
78144
|
+
desired_availability?: boolean;
|
|
78145
|
+
desired_quantity?: number;
|
|
78146
|
+
fixed_quantity?: number | null;
|
|
78147
|
+
floriday_trade_item_id?: string | null;
|
|
78148
|
+
id?: string;
|
|
78149
|
+
last_confirmed_at?: string | null;
|
|
78150
|
+
last_enqueued_at?: string | null;
|
|
78151
|
+
last_published_at?: string | null;
|
|
78152
|
+
last_sync_error?: string | null;
|
|
78153
|
+
manual_quantity?: number | null;
|
|
78154
|
+
maximum_quantity?: number | null;
|
|
78155
|
+
product_id: string;
|
|
78156
|
+
quantity_control?: string;
|
|
78157
|
+
remote_available?: boolean | null;
|
|
78158
|
+
remote_checked_at?: string | null;
|
|
78159
|
+
remote_quantity?: number | null;
|
|
78160
|
+
stock_mode?: string;
|
|
78161
|
+
sync_status?: string;
|
|
78162
|
+
updated_at?: string;
|
|
78163
|
+
updated_by?: string | null;
|
|
78164
|
+
user_id: string;
|
|
78165
|
+
};
|
|
78166
|
+
Update: {
|
|
78167
|
+
buffer_quantity?: number;
|
|
78168
|
+
connection_id?: string;
|
|
78169
|
+
created_at?: string;
|
|
78170
|
+
desired_availability?: boolean;
|
|
78171
|
+
desired_quantity?: number;
|
|
78172
|
+
fixed_quantity?: number | null;
|
|
78173
|
+
floriday_trade_item_id?: string | null;
|
|
78174
|
+
id?: string;
|
|
78175
|
+
last_confirmed_at?: string | null;
|
|
78176
|
+
last_enqueued_at?: string | null;
|
|
78177
|
+
last_published_at?: string | null;
|
|
78178
|
+
last_sync_error?: string | null;
|
|
78179
|
+
manual_quantity?: number | null;
|
|
78180
|
+
maximum_quantity?: number | null;
|
|
78181
|
+
product_id?: string;
|
|
78182
|
+
quantity_control?: string;
|
|
78183
|
+
remote_available?: boolean | null;
|
|
78184
|
+
remote_checked_at?: string | null;
|
|
78185
|
+
remote_quantity?: number | null;
|
|
78186
|
+
stock_mode?: string;
|
|
78187
|
+
sync_status?: string;
|
|
78188
|
+
updated_at?: string;
|
|
78189
|
+
updated_by?: string | null;
|
|
78190
|
+
user_id?: string;
|
|
78191
|
+
};
|
|
78192
|
+
Relationships: [];
|
|
78193
|
+
};
|
|
77342
78194
|
floriday_invoices_cache: {
|
|
77343
78195
|
Row: {
|
|
77344
78196
|
buyer_organization_id: string | null;
|
|
@@ -77627,6 +78479,39 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
77627
78479
|
};
|
|
77628
78480
|
Relationships: [];
|
|
77629
78481
|
};
|
|
78482
|
+
floriday_sales_order_ingest: {
|
|
78483
|
+
Row: {
|
|
78484
|
+
connection_id: string;
|
|
78485
|
+
created_at: string;
|
|
78486
|
+
id: string;
|
|
78487
|
+
impact: import("../integrations/supabase/types").Json;
|
|
78488
|
+
order_status: string | null;
|
|
78489
|
+
order_version: number;
|
|
78490
|
+
processed_at: string;
|
|
78491
|
+
sales_order_id: string;
|
|
78492
|
+
};
|
|
78493
|
+
Insert: {
|
|
78494
|
+
connection_id: string;
|
|
78495
|
+
created_at?: string;
|
|
78496
|
+
id?: string;
|
|
78497
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
78498
|
+
order_status?: string | null;
|
|
78499
|
+
order_version?: number;
|
|
78500
|
+
processed_at?: string;
|
|
78501
|
+
sales_order_id: string;
|
|
78502
|
+
};
|
|
78503
|
+
Update: {
|
|
78504
|
+
connection_id?: string;
|
|
78505
|
+
created_at?: string;
|
|
78506
|
+
id?: string;
|
|
78507
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
78508
|
+
order_status?: string | null;
|
|
78509
|
+
order_version?: number;
|
|
78510
|
+
processed_at?: string;
|
|
78511
|
+
sales_order_id?: string;
|
|
78512
|
+
};
|
|
78513
|
+
Relationships: [];
|
|
78514
|
+
};
|
|
77630
78515
|
floriday_sales_strategies_cache: {
|
|
77631
78516
|
Row: {
|
|
77632
78517
|
connection_id: string;
|
|
@@ -77726,6 +78611,39 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
77726
78611
|
};
|
|
77727
78612
|
Relationships: [];
|
|
77728
78613
|
};
|
|
78614
|
+
floriday_sync_cursors: {
|
|
78615
|
+
Row: {
|
|
78616
|
+
connection_id: string;
|
|
78617
|
+
created_at: string;
|
|
78618
|
+
id: string;
|
|
78619
|
+
last_error: string | null;
|
|
78620
|
+
last_sync_at: string | null;
|
|
78621
|
+
resource_type: string;
|
|
78622
|
+
sequence_number: number;
|
|
78623
|
+
updated_at: string;
|
|
78624
|
+
};
|
|
78625
|
+
Insert: {
|
|
78626
|
+
connection_id: string;
|
|
78627
|
+
created_at?: string;
|
|
78628
|
+
id?: string;
|
|
78629
|
+
last_error?: string | null;
|
|
78630
|
+
last_sync_at?: string | null;
|
|
78631
|
+
resource_type: string;
|
|
78632
|
+
sequence_number?: number;
|
|
78633
|
+
updated_at?: string;
|
|
78634
|
+
};
|
|
78635
|
+
Update: {
|
|
78636
|
+
connection_id?: string;
|
|
78637
|
+
created_at?: string;
|
|
78638
|
+
id?: string;
|
|
78639
|
+
last_error?: string | null;
|
|
78640
|
+
last_sync_at?: string | null;
|
|
78641
|
+
resource_type?: string;
|
|
78642
|
+
sequence_number?: number;
|
|
78643
|
+
updated_at?: string;
|
|
78644
|
+
};
|
|
78645
|
+
Relationships: [];
|
|
78646
|
+
};
|
|
77729
78647
|
floriday_sync_state: {
|
|
77730
78648
|
Row: {
|
|
77731
78649
|
connection_id: string;
|
|
@@ -78416,6 +79334,42 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
78416
79334
|
};
|
|
78417
79335
|
Relationships: [];
|
|
78418
79336
|
};
|
|
79337
|
+
inventory_stock_snapshots: {
|
|
79338
|
+
Row: {
|
|
79339
|
+
connection_id: string;
|
|
79340
|
+
created_at: string;
|
|
79341
|
+
erp_available_quantity: number;
|
|
79342
|
+
floriday_desired_quantity: number;
|
|
79343
|
+
floriday_remote_quantity: number | null;
|
|
79344
|
+
granularity: string;
|
|
79345
|
+
id: string;
|
|
79346
|
+
snapshot_at: string;
|
|
79347
|
+
user_id: string | null;
|
|
79348
|
+
};
|
|
79349
|
+
Insert: {
|
|
79350
|
+
connection_id: string;
|
|
79351
|
+
created_at?: string;
|
|
79352
|
+
erp_available_quantity?: number;
|
|
79353
|
+
floriday_desired_quantity?: number;
|
|
79354
|
+
floriday_remote_quantity?: number | null;
|
|
79355
|
+
granularity?: string;
|
|
79356
|
+
id?: string;
|
|
79357
|
+
snapshot_at?: string;
|
|
79358
|
+
user_id?: string | null;
|
|
79359
|
+
};
|
|
79360
|
+
Update: {
|
|
79361
|
+
connection_id?: string;
|
|
79362
|
+
created_at?: string;
|
|
79363
|
+
erp_available_quantity?: number;
|
|
79364
|
+
floriday_desired_quantity?: number;
|
|
79365
|
+
floriday_remote_quantity?: number | null;
|
|
79366
|
+
granularity?: string;
|
|
79367
|
+
id?: string;
|
|
79368
|
+
snapshot_at?: string;
|
|
79369
|
+
user_id?: string | null;
|
|
79370
|
+
};
|
|
79371
|
+
Relationships: [];
|
|
79372
|
+
};
|
|
78419
79373
|
invoice_items: {
|
|
78420
79374
|
Row: {
|
|
78421
79375
|
created_at: string;
|
|
@@ -87610,6 +88564,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
87610
88564
|
};
|
|
87611
88565
|
trade_item_stock: {
|
|
87612
88566
|
Row: {
|
|
88567
|
+
change_source: string;
|
|
87613
88568
|
connection_id: string;
|
|
87614
88569
|
created_at: string;
|
|
87615
88570
|
id: string;
|
|
@@ -87623,6 +88578,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
87623
88578
|
user_id: string;
|
|
87624
88579
|
};
|
|
87625
88580
|
Insert: {
|
|
88581
|
+
change_source?: string;
|
|
87626
88582
|
connection_id: string;
|
|
87627
88583
|
created_at?: string;
|
|
87628
88584
|
id?: string;
|
|
@@ -87636,6 +88592,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
87636
88592
|
user_id: string;
|
|
87637
88593
|
};
|
|
87638
88594
|
Update: {
|
|
88595
|
+
change_source?: string;
|
|
87639
88596
|
connection_id?: string;
|
|
87640
88597
|
created_at?: string;
|
|
87641
88598
|
id?: string;
|
|
@@ -91236,6 +92193,18 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
91236
92193
|
Args: never;
|
|
91237
92194
|
Returns: number;
|
|
91238
92195
|
};
|
|
92196
|
+
calculate_floriday_desired_stock: {
|
|
92197
|
+
Args: {
|
|
92198
|
+
p_connection_id: string;
|
|
92199
|
+
p_product_id: string;
|
|
92200
|
+
};
|
|
92201
|
+
Returns: {
|
|
92202
|
+
desired_availability: boolean;
|
|
92203
|
+
desired_quantity: number;
|
|
92204
|
+
erp_available: number;
|
|
92205
|
+
stock_mode: string;
|
|
92206
|
+
}[];
|
|
92207
|
+
};
|
|
91239
92208
|
calculate_layer_stock: {
|
|
91240
92209
|
Args: {
|
|
91241
92210
|
p_product_id: string;
|
|
@@ -91330,6 +92299,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
91330
92299
|
attempts: number;
|
|
91331
92300
|
connection_id: string;
|
|
91332
92301
|
created_at: string;
|
|
92302
|
+
dead_lettered_at: string | null;
|
|
91333
92303
|
desired_available: boolean | null;
|
|
91334
92304
|
gateway_attempt_id: string | null;
|
|
91335
92305
|
id: string;
|
|
@@ -91338,9 +92308,13 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
91338
92308
|
locked_by: string | null;
|
|
91339
92309
|
next_attempt_at: string;
|
|
91340
92310
|
number_of_pieces: number;
|
|
92311
|
+
product_id: string | null;
|
|
91341
92312
|
sent_at: string | null;
|
|
91342
92313
|
status: string;
|
|
92314
|
+
stock_mode: string | null;
|
|
91343
92315
|
superseded_by: string | null;
|
|
92316
|
+
target_week: number | null;
|
|
92317
|
+
target_year: number | null;
|
|
91344
92318
|
trade_item_id: string;
|
|
91345
92319
|
updated_at: string;
|
|
91346
92320
|
user_id: string;
|
|
@@ -91821,6 +92795,24 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
91821
92795
|
};
|
|
91822
92796
|
Returns: string;
|
|
91823
92797
|
};
|
|
92798
|
+
floriday_capture_stock_snapshot: {
|
|
92799
|
+
Args: never;
|
|
92800
|
+
Returns: number;
|
|
92801
|
+
};
|
|
92802
|
+
floriday_cleanup_stock_queue_v2: {
|
|
92803
|
+
Args: never;
|
|
92804
|
+
Returns: undefined;
|
|
92805
|
+
};
|
|
92806
|
+
floriday_compact_stock_snapshots: {
|
|
92807
|
+
Args: never;
|
|
92808
|
+
Returns: undefined;
|
|
92809
|
+
};
|
|
92810
|
+
floriday_default_owner: {
|
|
92811
|
+
Args: {
|
|
92812
|
+
p_connection_id: string;
|
|
92813
|
+
};
|
|
92814
|
+
Returns: string;
|
|
92815
|
+
};
|
|
91824
92816
|
floriday_effective_price: {
|
|
91825
92817
|
Args: {
|
|
91826
92818
|
_buyer_id: string;
|
|
@@ -91838,6 +92830,22 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
91838
92830
|
source_id: string;
|
|
91839
92831
|
}[];
|
|
91840
92832
|
};
|
|
92833
|
+
floriday_fill_publish_horizon: {
|
|
92834
|
+
Args: never;
|
|
92835
|
+
Returns: number;
|
|
92836
|
+
};
|
|
92837
|
+
floriday_publish_horizon_weeks: {
|
|
92838
|
+
Args: never;
|
|
92839
|
+
Returns: number;
|
|
92840
|
+
};
|
|
92841
|
+
floriday_recompute_inventory: {
|
|
92842
|
+
Args: {
|
|
92843
|
+
p_connection_id: string;
|
|
92844
|
+
p_force?: boolean;
|
|
92845
|
+
p_product_id: string;
|
|
92846
|
+
};
|
|
92847
|
+
Returns: undefined;
|
|
92848
|
+
};
|
|
91841
92849
|
format_cart_number: {
|
|
91842
92850
|
Args: {
|
|
91843
92851
|
p_pick_date: string;
|
|
@@ -100486,6 +101494,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
100486
101494
|
attempts: number;
|
|
100487
101495
|
connection_id: string;
|
|
100488
101496
|
created_at: string;
|
|
101497
|
+
dead_lettered_at: string | null;
|
|
100489
101498
|
desired_available: boolean | null;
|
|
100490
101499
|
gateway_attempt_id: string | null;
|
|
100491
101500
|
id: string;
|
|
@@ -100494,9 +101503,13 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
100494
101503
|
locked_by: string | null;
|
|
100495
101504
|
next_attempt_at: string;
|
|
100496
101505
|
number_of_pieces: number;
|
|
101506
|
+
product_id: string | null;
|
|
100497
101507
|
sent_at: string | null;
|
|
100498
101508
|
status: string;
|
|
101509
|
+
stock_mode: string | null;
|
|
100499
101510
|
superseded_by: string | null;
|
|
101511
|
+
target_week: number | null;
|
|
101512
|
+
target_year: number | null;
|
|
100500
101513
|
trade_item_id: string;
|
|
100501
101514
|
updated_at: string;
|
|
100502
101515
|
user_id: string;
|
|
@@ -100505,6 +101518,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
100505
101518
|
attempts?: number;
|
|
100506
101519
|
connection_id: string;
|
|
100507
101520
|
created_at?: string;
|
|
101521
|
+
dead_lettered_at?: string | null;
|
|
100508
101522
|
desired_available?: boolean | null;
|
|
100509
101523
|
gateway_attempt_id?: string | null;
|
|
100510
101524
|
id?: string;
|
|
@@ -100513,9 +101527,13 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
100513
101527
|
locked_by?: string | null;
|
|
100514
101528
|
next_attempt_at?: string;
|
|
100515
101529
|
number_of_pieces?: number;
|
|
101530
|
+
product_id?: string | null;
|
|
100516
101531
|
sent_at?: string | null;
|
|
100517
101532
|
status?: string;
|
|
101533
|
+
stock_mode?: string | null;
|
|
100518
101534
|
superseded_by?: string | null;
|
|
101535
|
+
target_week?: number | null;
|
|
101536
|
+
target_year?: number | null;
|
|
100519
101537
|
trade_item_id: string;
|
|
100520
101538
|
updated_at?: string;
|
|
100521
101539
|
user_id: string;
|
|
@@ -100524,6 +101542,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
100524
101542
|
attempts?: number;
|
|
100525
101543
|
connection_id?: string;
|
|
100526
101544
|
created_at?: string;
|
|
101545
|
+
dead_lettered_at?: string | null;
|
|
100527
101546
|
desired_available?: boolean | null;
|
|
100528
101547
|
gateway_attempt_id?: string | null;
|
|
100529
101548
|
id?: string;
|
|
@@ -100532,9 +101551,13 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
100532
101551
|
locked_by?: string | null;
|
|
100533
101552
|
next_attempt_at?: string;
|
|
100534
101553
|
number_of_pieces?: number;
|
|
101554
|
+
product_id?: string | null;
|
|
100535
101555
|
sent_at?: string | null;
|
|
100536
101556
|
status?: string;
|
|
101557
|
+
stock_mode?: string | null;
|
|
100537
101558
|
superseded_by?: string | null;
|
|
101559
|
+
target_week?: number | null;
|
|
101560
|
+
target_year?: number | null;
|
|
100538
101561
|
trade_item_id?: string;
|
|
100539
101562
|
updated_at?: string;
|
|
100540
101563
|
user_id?: string;
|
|
@@ -100943,6 +101966,87 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
100943
101966
|
referencedColumns: ["id"];
|
|
100944
101967
|
}];
|
|
100945
101968
|
};
|
|
101969
|
+
floriday_inventory_settings: {
|
|
101970
|
+
Row: {
|
|
101971
|
+
buffer_quantity: number;
|
|
101972
|
+
connection_id: string;
|
|
101973
|
+
created_at: string;
|
|
101974
|
+
desired_availability: boolean;
|
|
101975
|
+
desired_quantity: number;
|
|
101976
|
+
fixed_quantity: number | null;
|
|
101977
|
+
floriday_trade_item_id: string | null;
|
|
101978
|
+
id: string;
|
|
101979
|
+
last_confirmed_at: string | null;
|
|
101980
|
+
last_enqueued_at: string | null;
|
|
101981
|
+
last_published_at: string | null;
|
|
101982
|
+
last_sync_error: string | null;
|
|
101983
|
+
manual_quantity: number | null;
|
|
101984
|
+
maximum_quantity: number | null;
|
|
101985
|
+
product_id: string;
|
|
101986
|
+
quantity_control: string;
|
|
101987
|
+
remote_available: boolean | null;
|
|
101988
|
+
remote_checked_at: string | null;
|
|
101989
|
+
remote_quantity: number | null;
|
|
101990
|
+
stock_mode: string;
|
|
101991
|
+
sync_status: string;
|
|
101992
|
+
updated_at: string;
|
|
101993
|
+
updated_by: string | null;
|
|
101994
|
+
user_id: string;
|
|
101995
|
+
};
|
|
101996
|
+
Insert: {
|
|
101997
|
+
buffer_quantity?: number;
|
|
101998
|
+
connection_id: string;
|
|
101999
|
+
created_at?: string;
|
|
102000
|
+
desired_availability?: boolean;
|
|
102001
|
+
desired_quantity?: number;
|
|
102002
|
+
fixed_quantity?: number | null;
|
|
102003
|
+
floriday_trade_item_id?: string | null;
|
|
102004
|
+
id?: string;
|
|
102005
|
+
last_confirmed_at?: string | null;
|
|
102006
|
+
last_enqueued_at?: string | null;
|
|
102007
|
+
last_published_at?: string | null;
|
|
102008
|
+
last_sync_error?: string | null;
|
|
102009
|
+
manual_quantity?: number | null;
|
|
102010
|
+
maximum_quantity?: number | null;
|
|
102011
|
+
product_id: string;
|
|
102012
|
+
quantity_control?: string;
|
|
102013
|
+
remote_available?: boolean | null;
|
|
102014
|
+
remote_checked_at?: string | null;
|
|
102015
|
+
remote_quantity?: number | null;
|
|
102016
|
+
stock_mode?: string;
|
|
102017
|
+
sync_status?: string;
|
|
102018
|
+
updated_at?: string;
|
|
102019
|
+
updated_by?: string | null;
|
|
102020
|
+
user_id: string;
|
|
102021
|
+
};
|
|
102022
|
+
Update: {
|
|
102023
|
+
buffer_quantity?: number;
|
|
102024
|
+
connection_id?: string;
|
|
102025
|
+
created_at?: string;
|
|
102026
|
+
desired_availability?: boolean;
|
|
102027
|
+
desired_quantity?: number;
|
|
102028
|
+
fixed_quantity?: number | null;
|
|
102029
|
+
floriday_trade_item_id?: string | null;
|
|
102030
|
+
id?: string;
|
|
102031
|
+
last_confirmed_at?: string | null;
|
|
102032
|
+
last_enqueued_at?: string | null;
|
|
102033
|
+
last_published_at?: string | null;
|
|
102034
|
+
last_sync_error?: string | null;
|
|
102035
|
+
manual_quantity?: number | null;
|
|
102036
|
+
maximum_quantity?: number | null;
|
|
102037
|
+
product_id?: string;
|
|
102038
|
+
quantity_control?: string;
|
|
102039
|
+
remote_available?: boolean | null;
|
|
102040
|
+
remote_checked_at?: string | null;
|
|
102041
|
+
remote_quantity?: number | null;
|
|
102042
|
+
stock_mode?: string;
|
|
102043
|
+
sync_status?: string;
|
|
102044
|
+
updated_at?: string;
|
|
102045
|
+
updated_by?: string | null;
|
|
102046
|
+
user_id?: string;
|
|
102047
|
+
};
|
|
102048
|
+
Relationships: [];
|
|
102049
|
+
};
|
|
100946
102050
|
floriday_invoices_cache: {
|
|
100947
102051
|
Row: {
|
|
100948
102052
|
buyer_organization_id: string | null;
|
|
@@ -101231,6 +102335,39 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
101231
102335
|
};
|
|
101232
102336
|
Relationships: [];
|
|
101233
102337
|
};
|
|
102338
|
+
floriday_sales_order_ingest: {
|
|
102339
|
+
Row: {
|
|
102340
|
+
connection_id: string;
|
|
102341
|
+
created_at: string;
|
|
102342
|
+
id: string;
|
|
102343
|
+
impact: import("../integrations/supabase/types").Json;
|
|
102344
|
+
order_status: string | null;
|
|
102345
|
+
order_version: number;
|
|
102346
|
+
processed_at: string;
|
|
102347
|
+
sales_order_id: string;
|
|
102348
|
+
};
|
|
102349
|
+
Insert: {
|
|
102350
|
+
connection_id: string;
|
|
102351
|
+
created_at?: string;
|
|
102352
|
+
id?: string;
|
|
102353
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
102354
|
+
order_status?: string | null;
|
|
102355
|
+
order_version?: number;
|
|
102356
|
+
processed_at?: string;
|
|
102357
|
+
sales_order_id: string;
|
|
102358
|
+
};
|
|
102359
|
+
Update: {
|
|
102360
|
+
connection_id?: string;
|
|
102361
|
+
created_at?: string;
|
|
102362
|
+
id?: string;
|
|
102363
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
102364
|
+
order_status?: string | null;
|
|
102365
|
+
order_version?: number;
|
|
102366
|
+
processed_at?: string;
|
|
102367
|
+
sales_order_id?: string;
|
|
102368
|
+
};
|
|
102369
|
+
Relationships: [];
|
|
102370
|
+
};
|
|
101234
102371
|
floriday_sales_strategies_cache: {
|
|
101235
102372
|
Row: {
|
|
101236
102373
|
connection_id: string;
|
|
@@ -101330,6 +102467,39 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
101330
102467
|
};
|
|
101331
102468
|
Relationships: [];
|
|
101332
102469
|
};
|
|
102470
|
+
floriday_sync_cursors: {
|
|
102471
|
+
Row: {
|
|
102472
|
+
connection_id: string;
|
|
102473
|
+
created_at: string;
|
|
102474
|
+
id: string;
|
|
102475
|
+
last_error: string | null;
|
|
102476
|
+
last_sync_at: string | null;
|
|
102477
|
+
resource_type: string;
|
|
102478
|
+
sequence_number: number;
|
|
102479
|
+
updated_at: string;
|
|
102480
|
+
};
|
|
102481
|
+
Insert: {
|
|
102482
|
+
connection_id: string;
|
|
102483
|
+
created_at?: string;
|
|
102484
|
+
id?: string;
|
|
102485
|
+
last_error?: string | null;
|
|
102486
|
+
last_sync_at?: string | null;
|
|
102487
|
+
resource_type: string;
|
|
102488
|
+
sequence_number?: number;
|
|
102489
|
+
updated_at?: string;
|
|
102490
|
+
};
|
|
102491
|
+
Update: {
|
|
102492
|
+
connection_id?: string;
|
|
102493
|
+
created_at?: string;
|
|
102494
|
+
id?: string;
|
|
102495
|
+
last_error?: string | null;
|
|
102496
|
+
last_sync_at?: string | null;
|
|
102497
|
+
resource_type?: string;
|
|
102498
|
+
sequence_number?: number;
|
|
102499
|
+
updated_at?: string;
|
|
102500
|
+
};
|
|
102501
|
+
Relationships: [];
|
|
102502
|
+
};
|
|
101333
102503
|
floriday_sync_state: {
|
|
101334
102504
|
Row: {
|
|
101335
102505
|
connection_id: string;
|
|
@@ -102020,6 +103190,42 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
102020
103190
|
};
|
|
102021
103191
|
Relationships: [];
|
|
102022
103192
|
};
|
|
103193
|
+
inventory_stock_snapshots: {
|
|
103194
|
+
Row: {
|
|
103195
|
+
connection_id: string;
|
|
103196
|
+
created_at: string;
|
|
103197
|
+
erp_available_quantity: number;
|
|
103198
|
+
floriday_desired_quantity: number;
|
|
103199
|
+
floriday_remote_quantity: number | null;
|
|
103200
|
+
granularity: string;
|
|
103201
|
+
id: string;
|
|
103202
|
+
snapshot_at: string;
|
|
103203
|
+
user_id: string | null;
|
|
103204
|
+
};
|
|
103205
|
+
Insert: {
|
|
103206
|
+
connection_id: string;
|
|
103207
|
+
created_at?: string;
|
|
103208
|
+
erp_available_quantity?: number;
|
|
103209
|
+
floriday_desired_quantity?: number;
|
|
103210
|
+
floriday_remote_quantity?: number | null;
|
|
103211
|
+
granularity?: string;
|
|
103212
|
+
id?: string;
|
|
103213
|
+
snapshot_at?: string;
|
|
103214
|
+
user_id?: string | null;
|
|
103215
|
+
};
|
|
103216
|
+
Update: {
|
|
103217
|
+
connection_id?: string;
|
|
103218
|
+
created_at?: string;
|
|
103219
|
+
erp_available_quantity?: number;
|
|
103220
|
+
floriday_desired_quantity?: number;
|
|
103221
|
+
floriday_remote_quantity?: number | null;
|
|
103222
|
+
granularity?: string;
|
|
103223
|
+
id?: string;
|
|
103224
|
+
snapshot_at?: string;
|
|
103225
|
+
user_id?: string | null;
|
|
103226
|
+
};
|
|
103227
|
+
Relationships: [];
|
|
103228
|
+
};
|
|
102023
103229
|
invoice_items: {
|
|
102024
103230
|
Row: {
|
|
102025
103231
|
created_at: string;
|
|
@@ -111214,6 +112420,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
111214
112420
|
};
|
|
111215
112421
|
trade_item_stock: {
|
|
111216
112422
|
Row: {
|
|
112423
|
+
change_source: string;
|
|
111217
112424
|
connection_id: string;
|
|
111218
112425
|
created_at: string;
|
|
111219
112426
|
id: string;
|
|
@@ -111227,6 +112434,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
111227
112434
|
user_id: string;
|
|
111228
112435
|
};
|
|
111229
112436
|
Insert: {
|
|
112437
|
+
change_source?: string;
|
|
111230
112438
|
connection_id: string;
|
|
111231
112439
|
created_at?: string;
|
|
111232
112440
|
id?: string;
|
|
@@ -111240,6 +112448,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
111240
112448
|
user_id: string;
|
|
111241
112449
|
};
|
|
111242
112450
|
Update: {
|
|
112451
|
+
change_source?: string;
|
|
111243
112452
|
connection_id?: string;
|
|
111244
112453
|
created_at?: string;
|
|
111245
112454
|
id?: string;
|
|
@@ -114840,6 +116049,18 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
114840
116049
|
Args: never;
|
|
114841
116050
|
Returns: number;
|
|
114842
116051
|
};
|
|
116052
|
+
calculate_floriday_desired_stock: {
|
|
116053
|
+
Args: {
|
|
116054
|
+
p_connection_id: string;
|
|
116055
|
+
p_product_id: string;
|
|
116056
|
+
};
|
|
116057
|
+
Returns: {
|
|
116058
|
+
desired_availability: boolean;
|
|
116059
|
+
desired_quantity: number;
|
|
116060
|
+
erp_available: number;
|
|
116061
|
+
stock_mode: string;
|
|
116062
|
+
}[];
|
|
116063
|
+
};
|
|
114843
116064
|
calculate_layer_stock: {
|
|
114844
116065
|
Args: {
|
|
114845
116066
|
p_product_id: string;
|
|
@@ -114934,6 +116155,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
114934
116155
|
attempts: number;
|
|
114935
116156
|
connection_id: string;
|
|
114936
116157
|
created_at: string;
|
|
116158
|
+
dead_lettered_at: string | null;
|
|
114937
116159
|
desired_available: boolean | null;
|
|
114938
116160
|
gateway_attempt_id: string | null;
|
|
114939
116161
|
id: string;
|
|
@@ -114942,9 +116164,13 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
114942
116164
|
locked_by: string | null;
|
|
114943
116165
|
next_attempt_at: string;
|
|
114944
116166
|
number_of_pieces: number;
|
|
116167
|
+
product_id: string | null;
|
|
114945
116168
|
sent_at: string | null;
|
|
114946
116169
|
status: string;
|
|
116170
|
+
stock_mode: string | null;
|
|
114947
116171
|
superseded_by: string | null;
|
|
116172
|
+
target_week: number | null;
|
|
116173
|
+
target_year: number | null;
|
|
114948
116174
|
trade_item_id: string;
|
|
114949
116175
|
updated_at: string;
|
|
114950
116176
|
user_id: string;
|
|
@@ -115425,6 +116651,24 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
115425
116651
|
};
|
|
115426
116652
|
Returns: string;
|
|
115427
116653
|
};
|
|
116654
|
+
floriday_capture_stock_snapshot: {
|
|
116655
|
+
Args: never;
|
|
116656
|
+
Returns: number;
|
|
116657
|
+
};
|
|
116658
|
+
floriday_cleanup_stock_queue_v2: {
|
|
116659
|
+
Args: never;
|
|
116660
|
+
Returns: undefined;
|
|
116661
|
+
};
|
|
116662
|
+
floriday_compact_stock_snapshots: {
|
|
116663
|
+
Args: never;
|
|
116664
|
+
Returns: undefined;
|
|
116665
|
+
};
|
|
116666
|
+
floriday_default_owner: {
|
|
116667
|
+
Args: {
|
|
116668
|
+
p_connection_id: string;
|
|
116669
|
+
};
|
|
116670
|
+
Returns: string;
|
|
116671
|
+
};
|
|
115428
116672
|
floriday_effective_price: {
|
|
115429
116673
|
Args: {
|
|
115430
116674
|
_buyer_id: string;
|
|
@@ -115442,6 +116686,22 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
115442
116686
|
source_id: string;
|
|
115443
116687
|
}[];
|
|
115444
116688
|
};
|
|
116689
|
+
floriday_fill_publish_horizon: {
|
|
116690
|
+
Args: never;
|
|
116691
|
+
Returns: number;
|
|
116692
|
+
};
|
|
116693
|
+
floriday_publish_horizon_weeks: {
|
|
116694
|
+
Args: never;
|
|
116695
|
+
Returns: number;
|
|
116696
|
+
};
|
|
116697
|
+
floriday_recompute_inventory: {
|
|
116698
|
+
Args: {
|
|
116699
|
+
p_connection_id: string;
|
|
116700
|
+
p_force?: boolean;
|
|
116701
|
+
p_product_id: string;
|
|
116702
|
+
};
|
|
116703
|
+
Returns: undefined;
|
|
116704
|
+
};
|
|
115445
116705
|
format_cart_number: {
|
|
115446
116706
|
Args: {
|
|
115447
116707
|
p_pick_date: string;
|
|
@@ -124080,6 +125340,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
124080
125340
|
attempts: number;
|
|
124081
125341
|
connection_id: string;
|
|
124082
125342
|
created_at: string;
|
|
125343
|
+
dead_lettered_at: string | null;
|
|
124083
125344
|
desired_available: boolean | null;
|
|
124084
125345
|
gateway_attempt_id: string | null;
|
|
124085
125346
|
id: string;
|
|
@@ -124088,9 +125349,13 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
124088
125349
|
locked_by: string | null;
|
|
124089
125350
|
next_attempt_at: string;
|
|
124090
125351
|
number_of_pieces: number;
|
|
125352
|
+
product_id: string | null;
|
|
124091
125353
|
sent_at: string | null;
|
|
124092
125354
|
status: string;
|
|
125355
|
+
stock_mode: string | null;
|
|
124093
125356
|
superseded_by: string | null;
|
|
125357
|
+
target_week: number | null;
|
|
125358
|
+
target_year: number | null;
|
|
124094
125359
|
trade_item_id: string;
|
|
124095
125360
|
updated_at: string;
|
|
124096
125361
|
user_id: string;
|
|
@@ -124099,6 +125364,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
124099
125364
|
attempts?: number;
|
|
124100
125365
|
connection_id: string;
|
|
124101
125366
|
created_at?: string;
|
|
125367
|
+
dead_lettered_at?: string | null;
|
|
124102
125368
|
desired_available?: boolean | null;
|
|
124103
125369
|
gateway_attempt_id?: string | null;
|
|
124104
125370
|
id?: string;
|
|
@@ -124107,9 +125373,13 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
124107
125373
|
locked_by?: string | null;
|
|
124108
125374
|
next_attempt_at?: string;
|
|
124109
125375
|
number_of_pieces?: number;
|
|
125376
|
+
product_id?: string | null;
|
|
124110
125377
|
sent_at?: string | null;
|
|
124111
125378
|
status?: string;
|
|
125379
|
+
stock_mode?: string | null;
|
|
124112
125380
|
superseded_by?: string | null;
|
|
125381
|
+
target_week?: number | null;
|
|
125382
|
+
target_year?: number | null;
|
|
124113
125383
|
trade_item_id: string;
|
|
124114
125384
|
updated_at?: string;
|
|
124115
125385
|
user_id: string;
|
|
@@ -124118,6 +125388,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
124118
125388
|
attempts?: number;
|
|
124119
125389
|
connection_id?: string;
|
|
124120
125390
|
created_at?: string;
|
|
125391
|
+
dead_lettered_at?: string | null;
|
|
124121
125392
|
desired_available?: boolean | null;
|
|
124122
125393
|
gateway_attempt_id?: string | null;
|
|
124123
125394
|
id?: string;
|
|
@@ -124126,9 +125397,13 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
124126
125397
|
locked_by?: string | null;
|
|
124127
125398
|
next_attempt_at?: string;
|
|
124128
125399
|
number_of_pieces?: number;
|
|
125400
|
+
product_id?: string | null;
|
|
124129
125401
|
sent_at?: string | null;
|
|
124130
125402
|
status?: string;
|
|
125403
|
+
stock_mode?: string | null;
|
|
124131
125404
|
superseded_by?: string | null;
|
|
125405
|
+
target_week?: number | null;
|
|
125406
|
+
target_year?: number | null;
|
|
124132
125407
|
trade_item_id?: string;
|
|
124133
125408
|
updated_at?: string;
|
|
124134
125409
|
user_id?: string;
|
|
@@ -124537,6 +125812,87 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
124537
125812
|
referencedColumns: ["id"];
|
|
124538
125813
|
}];
|
|
124539
125814
|
};
|
|
125815
|
+
floriday_inventory_settings: {
|
|
125816
|
+
Row: {
|
|
125817
|
+
buffer_quantity: number;
|
|
125818
|
+
connection_id: string;
|
|
125819
|
+
created_at: string;
|
|
125820
|
+
desired_availability: boolean;
|
|
125821
|
+
desired_quantity: number;
|
|
125822
|
+
fixed_quantity: number | null;
|
|
125823
|
+
floriday_trade_item_id: string | null;
|
|
125824
|
+
id: string;
|
|
125825
|
+
last_confirmed_at: string | null;
|
|
125826
|
+
last_enqueued_at: string | null;
|
|
125827
|
+
last_published_at: string | null;
|
|
125828
|
+
last_sync_error: string | null;
|
|
125829
|
+
manual_quantity: number | null;
|
|
125830
|
+
maximum_quantity: number | null;
|
|
125831
|
+
product_id: string;
|
|
125832
|
+
quantity_control: string;
|
|
125833
|
+
remote_available: boolean | null;
|
|
125834
|
+
remote_checked_at: string | null;
|
|
125835
|
+
remote_quantity: number | null;
|
|
125836
|
+
stock_mode: string;
|
|
125837
|
+
sync_status: string;
|
|
125838
|
+
updated_at: string;
|
|
125839
|
+
updated_by: string | null;
|
|
125840
|
+
user_id: string;
|
|
125841
|
+
};
|
|
125842
|
+
Insert: {
|
|
125843
|
+
buffer_quantity?: number;
|
|
125844
|
+
connection_id: string;
|
|
125845
|
+
created_at?: string;
|
|
125846
|
+
desired_availability?: boolean;
|
|
125847
|
+
desired_quantity?: number;
|
|
125848
|
+
fixed_quantity?: number | null;
|
|
125849
|
+
floriday_trade_item_id?: string | null;
|
|
125850
|
+
id?: string;
|
|
125851
|
+
last_confirmed_at?: string | null;
|
|
125852
|
+
last_enqueued_at?: string | null;
|
|
125853
|
+
last_published_at?: string | null;
|
|
125854
|
+
last_sync_error?: string | null;
|
|
125855
|
+
manual_quantity?: number | null;
|
|
125856
|
+
maximum_quantity?: number | null;
|
|
125857
|
+
product_id: string;
|
|
125858
|
+
quantity_control?: string;
|
|
125859
|
+
remote_available?: boolean | null;
|
|
125860
|
+
remote_checked_at?: string | null;
|
|
125861
|
+
remote_quantity?: number | null;
|
|
125862
|
+
stock_mode?: string;
|
|
125863
|
+
sync_status?: string;
|
|
125864
|
+
updated_at?: string;
|
|
125865
|
+
updated_by?: string | null;
|
|
125866
|
+
user_id: string;
|
|
125867
|
+
};
|
|
125868
|
+
Update: {
|
|
125869
|
+
buffer_quantity?: number;
|
|
125870
|
+
connection_id?: string;
|
|
125871
|
+
created_at?: string;
|
|
125872
|
+
desired_availability?: boolean;
|
|
125873
|
+
desired_quantity?: number;
|
|
125874
|
+
fixed_quantity?: number | null;
|
|
125875
|
+
floriday_trade_item_id?: string | null;
|
|
125876
|
+
id?: string;
|
|
125877
|
+
last_confirmed_at?: string | null;
|
|
125878
|
+
last_enqueued_at?: string | null;
|
|
125879
|
+
last_published_at?: string | null;
|
|
125880
|
+
last_sync_error?: string | null;
|
|
125881
|
+
manual_quantity?: number | null;
|
|
125882
|
+
maximum_quantity?: number | null;
|
|
125883
|
+
product_id?: string;
|
|
125884
|
+
quantity_control?: string;
|
|
125885
|
+
remote_available?: boolean | null;
|
|
125886
|
+
remote_checked_at?: string | null;
|
|
125887
|
+
remote_quantity?: number | null;
|
|
125888
|
+
stock_mode?: string;
|
|
125889
|
+
sync_status?: string;
|
|
125890
|
+
updated_at?: string;
|
|
125891
|
+
updated_by?: string | null;
|
|
125892
|
+
user_id?: string;
|
|
125893
|
+
};
|
|
125894
|
+
Relationships: [];
|
|
125895
|
+
};
|
|
124540
125896
|
floriday_invoices_cache: {
|
|
124541
125897
|
Row: {
|
|
124542
125898
|
buyer_organization_id: string | null;
|
|
@@ -124825,6 +126181,39 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
124825
126181
|
};
|
|
124826
126182
|
Relationships: [];
|
|
124827
126183
|
};
|
|
126184
|
+
floriday_sales_order_ingest: {
|
|
126185
|
+
Row: {
|
|
126186
|
+
connection_id: string;
|
|
126187
|
+
created_at: string;
|
|
126188
|
+
id: string;
|
|
126189
|
+
impact: import("../integrations/supabase/types").Json;
|
|
126190
|
+
order_status: string | null;
|
|
126191
|
+
order_version: number;
|
|
126192
|
+
processed_at: string;
|
|
126193
|
+
sales_order_id: string;
|
|
126194
|
+
};
|
|
126195
|
+
Insert: {
|
|
126196
|
+
connection_id: string;
|
|
126197
|
+
created_at?: string;
|
|
126198
|
+
id?: string;
|
|
126199
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
126200
|
+
order_status?: string | null;
|
|
126201
|
+
order_version?: number;
|
|
126202
|
+
processed_at?: string;
|
|
126203
|
+
sales_order_id: string;
|
|
126204
|
+
};
|
|
126205
|
+
Update: {
|
|
126206
|
+
connection_id?: string;
|
|
126207
|
+
created_at?: string;
|
|
126208
|
+
id?: string;
|
|
126209
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
126210
|
+
order_status?: string | null;
|
|
126211
|
+
order_version?: number;
|
|
126212
|
+
processed_at?: string;
|
|
126213
|
+
sales_order_id?: string;
|
|
126214
|
+
};
|
|
126215
|
+
Relationships: [];
|
|
126216
|
+
};
|
|
124828
126217
|
floriday_sales_strategies_cache: {
|
|
124829
126218
|
Row: {
|
|
124830
126219
|
connection_id: string;
|
|
@@ -124924,6 +126313,39 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
124924
126313
|
};
|
|
124925
126314
|
Relationships: [];
|
|
124926
126315
|
};
|
|
126316
|
+
floriday_sync_cursors: {
|
|
126317
|
+
Row: {
|
|
126318
|
+
connection_id: string;
|
|
126319
|
+
created_at: string;
|
|
126320
|
+
id: string;
|
|
126321
|
+
last_error: string | null;
|
|
126322
|
+
last_sync_at: string | null;
|
|
126323
|
+
resource_type: string;
|
|
126324
|
+
sequence_number: number;
|
|
126325
|
+
updated_at: string;
|
|
126326
|
+
};
|
|
126327
|
+
Insert: {
|
|
126328
|
+
connection_id: string;
|
|
126329
|
+
created_at?: string;
|
|
126330
|
+
id?: string;
|
|
126331
|
+
last_error?: string | null;
|
|
126332
|
+
last_sync_at?: string | null;
|
|
126333
|
+
resource_type: string;
|
|
126334
|
+
sequence_number?: number;
|
|
126335
|
+
updated_at?: string;
|
|
126336
|
+
};
|
|
126337
|
+
Update: {
|
|
126338
|
+
connection_id?: string;
|
|
126339
|
+
created_at?: string;
|
|
126340
|
+
id?: string;
|
|
126341
|
+
last_error?: string | null;
|
|
126342
|
+
last_sync_at?: string | null;
|
|
126343
|
+
resource_type?: string;
|
|
126344
|
+
sequence_number?: number;
|
|
126345
|
+
updated_at?: string;
|
|
126346
|
+
};
|
|
126347
|
+
Relationships: [];
|
|
126348
|
+
};
|
|
124927
126349
|
floriday_sync_state: {
|
|
124928
126350
|
Row: {
|
|
124929
126351
|
connection_id: string;
|
|
@@ -125614,6 +127036,42 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
125614
127036
|
};
|
|
125615
127037
|
Relationships: [];
|
|
125616
127038
|
};
|
|
127039
|
+
inventory_stock_snapshots: {
|
|
127040
|
+
Row: {
|
|
127041
|
+
connection_id: string;
|
|
127042
|
+
created_at: string;
|
|
127043
|
+
erp_available_quantity: number;
|
|
127044
|
+
floriday_desired_quantity: number;
|
|
127045
|
+
floriday_remote_quantity: number | null;
|
|
127046
|
+
granularity: string;
|
|
127047
|
+
id: string;
|
|
127048
|
+
snapshot_at: string;
|
|
127049
|
+
user_id: string | null;
|
|
127050
|
+
};
|
|
127051
|
+
Insert: {
|
|
127052
|
+
connection_id: string;
|
|
127053
|
+
created_at?: string;
|
|
127054
|
+
erp_available_quantity?: number;
|
|
127055
|
+
floriday_desired_quantity?: number;
|
|
127056
|
+
floriday_remote_quantity?: number | null;
|
|
127057
|
+
granularity?: string;
|
|
127058
|
+
id?: string;
|
|
127059
|
+
snapshot_at?: string;
|
|
127060
|
+
user_id?: string | null;
|
|
127061
|
+
};
|
|
127062
|
+
Update: {
|
|
127063
|
+
connection_id?: string;
|
|
127064
|
+
created_at?: string;
|
|
127065
|
+
erp_available_quantity?: number;
|
|
127066
|
+
floriday_desired_quantity?: number;
|
|
127067
|
+
floriday_remote_quantity?: number | null;
|
|
127068
|
+
granularity?: string;
|
|
127069
|
+
id?: string;
|
|
127070
|
+
snapshot_at?: string;
|
|
127071
|
+
user_id?: string | null;
|
|
127072
|
+
};
|
|
127073
|
+
Relationships: [];
|
|
127074
|
+
};
|
|
125617
127075
|
invoice_items: {
|
|
125618
127076
|
Row: {
|
|
125619
127077
|
created_at: string;
|
|
@@ -134808,6 +136266,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
134808
136266
|
};
|
|
134809
136267
|
trade_item_stock: {
|
|
134810
136268
|
Row: {
|
|
136269
|
+
change_source: string;
|
|
134811
136270
|
connection_id: string;
|
|
134812
136271
|
created_at: string;
|
|
134813
136272
|
id: string;
|
|
@@ -134821,6 +136280,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
134821
136280
|
user_id: string;
|
|
134822
136281
|
};
|
|
134823
136282
|
Insert: {
|
|
136283
|
+
change_source?: string;
|
|
134824
136284
|
connection_id: string;
|
|
134825
136285
|
created_at?: string;
|
|
134826
136286
|
id?: string;
|
|
@@ -134834,6 +136294,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
134834
136294
|
user_id: string;
|
|
134835
136295
|
};
|
|
134836
136296
|
Update: {
|
|
136297
|
+
change_source?: string;
|
|
134837
136298
|
connection_id?: string;
|
|
134838
136299
|
created_at?: string;
|
|
134839
136300
|
id?: string;
|
|
@@ -138434,6 +139895,18 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
138434
139895
|
Args: never;
|
|
138435
139896
|
Returns: number;
|
|
138436
139897
|
};
|
|
139898
|
+
calculate_floriday_desired_stock: {
|
|
139899
|
+
Args: {
|
|
139900
|
+
p_connection_id: string;
|
|
139901
|
+
p_product_id: string;
|
|
139902
|
+
};
|
|
139903
|
+
Returns: {
|
|
139904
|
+
desired_availability: boolean;
|
|
139905
|
+
desired_quantity: number;
|
|
139906
|
+
erp_available: number;
|
|
139907
|
+
stock_mode: string;
|
|
139908
|
+
}[];
|
|
139909
|
+
};
|
|
138437
139910
|
calculate_layer_stock: {
|
|
138438
139911
|
Args: {
|
|
138439
139912
|
p_product_id: string;
|
|
@@ -138528,6 +140001,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
138528
140001
|
attempts: number;
|
|
138529
140002
|
connection_id: string;
|
|
138530
140003
|
created_at: string;
|
|
140004
|
+
dead_lettered_at: string | null;
|
|
138531
140005
|
desired_available: boolean | null;
|
|
138532
140006
|
gateway_attempt_id: string | null;
|
|
138533
140007
|
id: string;
|
|
@@ -138536,9 +140010,13 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
138536
140010
|
locked_by: string | null;
|
|
138537
140011
|
next_attempt_at: string;
|
|
138538
140012
|
number_of_pieces: number;
|
|
140013
|
+
product_id: string | null;
|
|
138539
140014
|
sent_at: string | null;
|
|
138540
140015
|
status: string;
|
|
140016
|
+
stock_mode: string | null;
|
|
138541
140017
|
superseded_by: string | null;
|
|
140018
|
+
target_week: number | null;
|
|
140019
|
+
target_year: number | null;
|
|
138542
140020
|
trade_item_id: string;
|
|
138543
140021
|
updated_at: string;
|
|
138544
140022
|
user_id: string;
|
|
@@ -139019,6 +140497,24 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
139019
140497
|
};
|
|
139020
140498
|
Returns: string;
|
|
139021
140499
|
};
|
|
140500
|
+
floriday_capture_stock_snapshot: {
|
|
140501
|
+
Args: never;
|
|
140502
|
+
Returns: number;
|
|
140503
|
+
};
|
|
140504
|
+
floriday_cleanup_stock_queue_v2: {
|
|
140505
|
+
Args: never;
|
|
140506
|
+
Returns: undefined;
|
|
140507
|
+
};
|
|
140508
|
+
floriday_compact_stock_snapshots: {
|
|
140509
|
+
Args: never;
|
|
140510
|
+
Returns: undefined;
|
|
140511
|
+
};
|
|
140512
|
+
floriday_default_owner: {
|
|
140513
|
+
Args: {
|
|
140514
|
+
p_connection_id: string;
|
|
140515
|
+
};
|
|
140516
|
+
Returns: string;
|
|
140517
|
+
};
|
|
139022
140518
|
floriday_effective_price: {
|
|
139023
140519
|
Args: {
|
|
139024
140520
|
_buyer_id: string;
|
|
@@ -139036,6 +140532,22 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
139036
140532
|
source_id: string;
|
|
139037
140533
|
}[];
|
|
139038
140534
|
};
|
|
140535
|
+
floriday_fill_publish_horizon: {
|
|
140536
|
+
Args: never;
|
|
140537
|
+
Returns: number;
|
|
140538
|
+
};
|
|
140539
|
+
floriday_publish_horizon_weeks: {
|
|
140540
|
+
Args: never;
|
|
140541
|
+
Returns: number;
|
|
140542
|
+
};
|
|
140543
|
+
floriday_recompute_inventory: {
|
|
140544
|
+
Args: {
|
|
140545
|
+
p_connection_id: string;
|
|
140546
|
+
p_force?: boolean;
|
|
140547
|
+
p_product_id: string;
|
|
140548
|
+
};
|
|
140549
|
+
Returns: undefined;
|
|
140550
|
+
};
|
|
139039
140551
|
format_cart_number: {
|
|
139040
140552
|
Args: {
|
|
139041
140553
|
p_pick_date: string;
|
|
@@ -147671,6 +149183,7 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
|
|
|
147671
149183
|
attempts: number;
|
|
147672
149184
|
connection_id: string;
|
|
147673
149185
|
created_at: string;
|
|
149186
|
+
dead_lettered_at: string | null;
|
|
147674
149187
|
desired_available: boolean | null;
|
|
147675
149188
|
gateway_attempt_id: string | null;
|
|
147676
149189
|
id: string;
|
|
@@ -147679,9 +149192,13 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
|
|
|
147679
149192
|
locked_by: string | null;
|
|
147680
149193
|
next_attempt_at: string;
|
|
147681
149194
|
number_of_pieces: number;
|
|
149195
|
+
product_id: string | null;
|
|
147682
149196
|
sent_at: string | null;
|
|
147683
149197
|
status: string;
|
|
149198
|
+
stock_mode: string | null;
|
|
147684
149199
|
superseded_by: string | null;
|
|
149200
|
+
target_week: number | null;
|
|
149201
|
+
target_year: number | null;
|
|
147685
149202
|
trade_item_id: string;
|
|
147686
149203
|
updated_at: string;
|
|
147687
149204
|
user_id: string;
|
|
@@ -147690,6 +149207,7 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
|
|
|
147690
149207
|
attempts?: number;
|
|
147691
149208
|
connection_id: string;
|
|
147692
149209
|
created_at?: string;
|
|
149210
|
+
dead_lettered_at?: string | null;
|
|
147693
149211
|
desired_available?: boolean | null;
|
|
147694
149212
|
gateway_attempt_id?: string | null;
|
|
147695
149213
|
id?: string;
|
|
@@ -147698,9 +149216,13 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
|
|
|
147698
149216
|
locked_by?: string | null;
|
|
147699
149217
|
next_attempt_at?: string;
|
|
147700
149218
|
number_of_pieces?: number;
|
|
149219
|
+
product_id?: string | null;
|
|
147701
149220
|
sent_at?: string | null;
|
|
147702
149221
|
status?: string;
|
|
149222
|
+
stock_mode?: string | null;
|
|
147703
149223
|
superseded_by?: string | null;
|
|
149224
|
+
target_week?: number | null;
|
|
149225
|
+
target_year?: number | null;
|
|
147704
149226
|
trade_item_id: string;
|
|
147705
149227
|
updated_at?: string;
|
|
147706
149228
|
user_id: string;
|
|
@@ -147709,6 +149231,7 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
|
|
|
147709
149231
|
attempts?: number;
|
|
147710
149232
|
connection_id?: string;
|
|
147711
149233
|
created_at?: string;
|
|
149234
|
+
dead_lettered_at?: string | null;
|
|
147712
149235
|
desired_available?: boolean | null;
|
|
147713
149236
|
gateway_attempt_id?: string | null;
|
|
147714
149237
|
id?: string;
|
|
@@ -147717,9 +149240,13 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
|
|
|
147717
149240
|
locked_by?: string | null;
|
|
147718
149241
|
next_attempt_at?: string;
|
|
147719
149242
|
number_of_pieces?: number;
|
|
149243
|
+
product_id?: string | null;
|
|
147720
149244
|
sent_at?: string | null;
|
|
147721
149245
|
status?: string;
|
|
149246
|
+
stock_mode?: string | null;
|
|
147722
149247
|
superseded_by?: string | null;
|
|
149248
|
+
target_week?: number | null;
|
|
149249
|
+
target_year?: number | null;
|
|
147723
149250
|
trade_item_id?: string;
|
|
147724
149251
|
updated_at?: string;
|
|
147725
149252
|
user_id?: string;
|
|
@@ -148128,6 +149655,87 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
|
|
|
148128
149655
|
referencedColumns: ["id"];
|
|
148129
149656
|
}];
|
|
148130
149657
|
};
|
|
149658
|
+
floriday_inventory_settings: {
|
|
149659
|
+
Row: {
|
|
149660
|
+
buffer_quantity: number;
|
|
149661
|
+
connection_id: string;
|
|
149662
|
+
created_at: string;
|
|
149663
|
+
desired_availability: boolean;
|
|
149664
|
+
desired_quantity: number;
|
|
149665
|
+
fixed_quantity: number | null;
|
|
149666
|
+
floriday_trade_item_id: string | null;
|
|
149667
|
+
id: string;
|
|
149668
|
+
last_confirmed_at: string | null;
|
|
149669
|
+
last_enqueued_at: string | null;
|
|
149670
|
+
last_published_at: string | null;
|
|
149671
|
+
last_sync_error: string | null;
|
|
149672
|
+
manual_quantity: number | null;
|
|
149673
|
+
maximum_quantity: number | null;
|
|
149674
|
+
product_id: string;
|
|
149675
|
+
quantity_control: string;
|
|
149676
|
+
remote_available: boolean | null;
|
|
149677
|
+
remote_checked_at: string | null;
|
|
149678
|
+
remote_quantity: number | null;
|
|
149679
|
+
stock_mode: string;
|
|
149680
|
+
sync_status: string;
|
|
149681
|
+
updated_at: string;
|
|
149682
|
+
updated_by: string | null;
|
|
149683
|
+
user_id: string;
|
|
149684
|
+
};
|
|
149685
|
+
Insert: {
|
|
149686
|
+
buffer_quantity?: number;
|
|
149687
|
+
connection_id: string;
|
|
149688
|
+
created_at?: string;
|
|
149689
|
+
desired_availability?: boolean;
|
|
149690
|
+
desired_quantity?: number;
|
|
149691
|
+
fixed_quantity?: number | null;
|
|
149692
|
+
floriday_trade_item_id?: string | null;
|
|
149693
|
+
id?: string;
|
|
149694
|
+
last_confirmed_at?: string | null;
|
|
149695
|
+
last_enqueued_at?: string | null;
|
|
149696
|
+
last_published_at?: string | null;
|
|
149697
|
+
last_sync_error?: string | null;
|
|
149698
|
+
manual_quantity?: number | null;
|
|
149699
|
+
maximum_quantity?: number | null;
|
|
149700
|
+
product_id: string;
|
|
149701
|
+
quantity_control?: string;
|
|
149702
|
+
remote_available?: boolean | null;
|
|
149703
|
+
remote_checked_at?: string | null;
|
|
149704
|
+
remote_quantity?: number | null;
|
|
149705
|
+
stock_mode?: string;
|
|
149706
|
+
sync_status?: string;
|
|
149707
|
+
updated_at?: string;
|
|
149708
|
+
updated_by?: string | null;
|
|
149709
|
+
user_id: string;
|
|
149710
|
+
};
|
|
149711
|
+
Update: {
|
|
149712
|
+
buffer_quantity?: number;
|
|
149713
|
+
connection_id?: string;
|
|
149714
|
+
created_at?: string;
|
|
149715
|
+
desired_availability?: boolean;
|
|
149716
|
+
desired_quantity?: number;
|
|
149717
|
+
fixed_quantity?: number | null;
|
|
149718
|
+
floriday_trade_item_id?: string | null;
|
|
149719
|
+
id?: string;
|
|
149720
|
+
last_confirmed_at?: string | null;
|
|
149721
|
+
last_enqueued_at?: string | null;
|
|
149722
|
+
last_published_at?: string | null;
|
|
149723
|
+
last_sync_error?: string | null;
|
|
149724
|
+
manual_quantity?: number | null;
|
|
149725
|
+
maximum_quantity?: number | null;
|
|
149726
|
+
product_id?: string;
|
|
149727
|
+
quantity_control?: string;
|
|
149728
|
+
remote_available?: boolean | null;
|
|
149729
|
+
remote_checked_at?: string | null;
|
|
149730
|
+
remote_quantity?: number | null;
|
|
149731
|
+
stock_mode?: string;
|
|
149732
|
+
sync_status?: string;
|
|
149733
|
+
updated_at?: string;
|
|
149734
|
+
updated_by?: string | null;
|
|
149735
|
+
user_id?: string;
|
|
149736
|
+
};
|
|
149737
|
+
Relationships: [];
|
|
149738
|
+
};
|
|
148131
149739
|
floriday_invoices_cache: {
|
|
148132
149740
|
Row: {
|
|
148133
149741
|
buyer_organization_id: string | null;
|
|
@@ -148416,6 +150024,39 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
|
|
|
148416
150024
|
};
|
|
148417
150025
|
Relationships: [];
|
|
148418
150026
|
};
|
|
150027
|
+
floriday_sales_order_ingest: {
|
|
150028
|
+
Row: {
|
|
150029
|
+
connection_id: string;
|
|
150030
|
+
created_at: string;
|
|
150031
|
+
id: string;
|
|
150032
|
+
impact: import("../integrations/supabase/types").Json;
|
|
150033
|
+
order_status: string | null;
|
|
150034
|
+
order_version: number;
|
|
150035
|
+
processed_at: string;
|
|
150036
|
+
sales_order_id: string;
|
|
150037
|
+
};
|
|
150038
|
+
Insert: {
|
|
150039
|
+
connection_id: string;
|
|
150040
|
+
created_at?: string;
|
|
150041
|
+
id?: string;
|
|
150042
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
150043
|
+
order_status?: string | null;
|
|
150044
|
+
order_version?: number;
|
|
150045
|
+
processed_at?: string;
|
|
150046
|
+
sales_order_id: string;
|
|
150047
|
+
};
|
|
150048
|
+
Update: {
|
|
150049
|
+
connection_id?: string;
|
|
150050
|
+
created_at?: string;
|
|
150051
|
+
id?: string;
|
|
150052
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
150053
|
+
order_status?: string | null;
|
|
150054
|
+
order_version?: number;
|
|
150055
|
+
processed_at?: string;
|
|
150056
|
+
sales_order_id?: string;
|
|
150057
|
+
};
|
|
150058
|
+
Relationships: [];
|
|
150059
|
+
};
|
|
148419
150060
|
floriday_sales_strategies_cache: {
|
|
148420
150061
|
Row: {
|
|
148421
150062
|
connection_id: string;
|
|
@@ -148515,6 +150156,39 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
|
|
|
148515
150156
|
};
|
|
148516
150157
|
Relationships: [];
|
|
148517
150158
|
};
|
|
150159
|
+
floriday_sync_cursors: {
|
|
150160
|
+
Row: {
|
|
150161
|
+
connection_id: string;
|
|
150162
|
+
created_at: string;
|
|
150163
|
+
id: string;
|
|
150164
|
+
last_error: string | null;
|
|
150165
|
+
last_sync_at: string | null;
|
|
150166
|
+
resource_type: string;
|
|
150167
|
+
sequence_number: number;
|
|
150168
|
+
updated_at: string;
|
|
150169
|
+
};
|
|
150170
|
+
Insert: {
|
|
150171
|
+
connection_id: string;
|
|
150172
|
+
created_at?: string;
|
|
150173
|
+
id?: string;
|
|
150174
|
+
last_error?: string | null;
|
|
150175
|
+
last_sync_at?: string | null;
|
|
150176
|
+
resource_type: string;
|
|
150177
|
+
sequence_number?: number;
|
|
150178
|
+
updated_at?: string;
|
|
150179
|
+
};
|
|
150180
|
+
Update: {
|
|
150181
|
+
connection_id?: string;
|
|
150182
|
+
created_at?: string;
|
|
150183
|
+
id?: string;
|
|
150184
|
+
last_error?: string | null;
|
|
150185
|
+
last_sync_at?: string | null;
|
|
150186
|
+
resource_type?: string;
|
|
150187
|
+
sequence_number?: number;
|
|
150188
|
+
updated_at?: string;
|
|
150189
|
+
};
|
|
150190
|
+
Relationships: [];
|
|
150191
|
+
};
|
|
148518
150192
|
floriday_sync_state: {
|
|
148519
150193
|
Row: {
|
|
148520
150194
|
connection_id: string;
|
|
@@ -149205,6 +150879,42 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
|
|
|
149205
150879
|
};
|
|
149206
150880
|
Relationships: [];
|
|
149207
150881
|
};
|
|
150882
|
+
inventory_stock_snapshots: {
|
|
150883
|
+
Row: {
|
|
150884
|
+
connection_id: string;
|
|
150885
|
+
created_at: string;
|
|
150886
|
+
erp_available_quantity: number;
|
|
150887
|
+
floriday_desired_quantity: number;
|
|
150888
|
+
floriday_remote_quantity: number | null;
|
|
150889
|
+
granularity: string;
|
|
150890
|
+
id: string;
|
|
150891
|
+
snapshot_at: string;
|
|
150892
|
+
user_id: string | null;
|
|
150893
|
+
};
|
|
150894
|
+
Insert: {
|
|
150895
|
+
connection_id: string;
|
|
150896
|
+
created_at?: string;
|
|
150897
|
+
erp_available_quantity?: number;
|
|
150898
|
+
floriday_desired_quantity?: number;
|
|
150899
|
+
floriday_remote_quantity?: number | null;
|
|
150900
|
+
granularity?: string;
|
|
150901
|
+
id?: string;
|
|
150902
|
+
snapshot_at?: string;
|
|
150903
|
+
user_id?: string | null;
|
|
150904
|
+
};
|
|
150905
|
+
Update: {
|
|
150906
|
+
connection_id?: string;
|
|
150907
|
+
created_at?: string;
|
|
150908
|
+
erp_available_quantity?: number;
|
|
150909
|
+
floriday_desired_quantity?: number;
|
|
150910
|
+
floriday_remote_quantity?: number | null;
|
|
150911
|
+
granularity?: string;
|
|
150912
|
+
id?: string;
|
|
150913
|
+
snapshot_at?: string;
|
|
150914
|
+
user_id?: string | null;
|
|
150915
|
+
};
|
|
150916
|
+
Relationships: [];
|
|
150917
|
+
};
|
|
149208
150918
|
invoice_items: {
|
|
149209
150919
|
Row: {
|
|
149210
150920
|
created_at: string;
|
|
@@ -158399,6 +160109,7 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
|
|
|
158399
160109
|
};
|
|
158400
160110
|
trade_item_stock: {
|
|
158401
160111
|
Row: {
|
|
160112
|
+
change_source: string;
|
|
158402
160113
|
connection_id: string;
|
|
158403
160114
|
created_at: string;
|
|
158404
160115
|
id: string;
|
|
@@ -158412,6 +160123,7 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
|
|
|
158412
160123
|
user_id: string;
|
|
158413
160124
|
};
|
|
158414
160125
|
Insert: {
|
|
160126
|
+
change_source?: string;
|
|
158415
160127
|
connection_id: string;
|
|
158416
160128
|
created_at?: string;
|
|
158417
160129
|
id?: string;
|
|
@@ -158425,6 +160137,7 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
|
|
|
158425
160137
|
user_id: string;
|
|
158426
160138
|
};
|
|
158427
160139
|
Update: {
|
|
160140
|
+
change_source?: string;
|
|
158428
160141
|
connection_id?: string;
|
|
158429
160142
|
created_at?: string;
|
|
158430
160143
|
id?: string;
|
|
@@ -162025,6 +163738,18 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
|
|
|
162025
163738
|
Args: never;
|
|
162026
163739
|
Returns: number;
|
|
162027
163740
|
};
|
|
163741
|
+
calculate_floriday_desired_stock: {
|
|
163742
|
+
Args: {
|
|
163743
|
+
p_connection_id: string;
|
|
163744
|
+
p_product_id: string;
|
|
163745
|
+
};
|
|
163746
|
+
Returns: {
|
|
163747
|
+
desired_availability: boolean;
|
|
163748
|
+
desired_quantity: number;
|
|
163749
|
+
erp_available: number;
|
|
163750
|
+
stock_mode: string;
|
|
163751
|
+
}[];
|
|
163752
|
+
};
|
|
162028
163753
|
calculate_layer_stock: {
|
|
162029
163754
|
Args: {
|
|
162030
163755
|
p_product_id: string;
|
|
@@ -162119,6 +163844,7 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
|
|
|
162119
163844
|
attempts: number;
|
|
162120
163845
|
connection_id: string;
|
|
162121
163846
|
created_at: string;
|
|
163847
|
+
dead_lettered_at: string | null;
|
|
162122
163848
|
desired_available: boolean | null;
|
|
162123
163849
|
gateway_attempt_id: string | null;
|
|
162124
163850
|
id: string;
|
|
@@ -162127,9 +163853,13 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
|
|
|
162127
163853
|
locked_by: string | null;
|
|
162128
163854
|
next_attempt_at: string;
|
|
162129
163855
|
number_of_pieces: number;
|
|
163856
|
+
product_id: string | null;
|
|
162130
163857
|
sent_at: string | null;
|
|
162131
163858
|
status: string;
|
|
163859
|
+
stock_mode: string | null;
|
|
162132
163860
|
superseded_by: string | null;
|
|
163861
|
+
target_week: number | null;
|
|
163862
|
+
target_year: number | null;
|
|
162133
163863
|
trade_item_id: string;
|
|
162134
163864
|
updated_at: string;
|
|
162135
163865
|
user_id: string;
|
|
@@ -162610,6 +164340,24 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
|
|
|
162610
164340
|
};
|
|
162611
164341
|
Returns: string;
|
|
162612
164342
|
};
|
|
164343
|
+
floriday_capture_stock_snapshot: {
|
|
164344
|
+
Args: never;
|
|
164345
|
+
Returns: number;
|
|
164346
|
+
};
|
|
164347
|
+
floriday_cleanup_stock_queue_v2: {
|
|
164348
|
+
Args: never;
|
|
164349
|
+
Returns: undefined;
|
|
164350
|
+
};
|
|
164351
|
+
floriday_compact_stock_snapshots: {
|
|
164352
|
+
Args: never;
|
|
164353
|
+
Returns: undefined;
|
|
164354
|
+
};
|
|
164355
|
+
floriday_default_owner: {
|
|
164356
|
+
Args: {
|
|
164357
|
+
p_connection_id: string;
|
|
164358
|
+
};
|
|
164359
|
+
Returns: string;
|
|
164360
|
+
};
|
|
162613
164361
|
floriday_effective_price: {
|
|
162614
164362
|
Args: {
|
|
162615
164363
|
_buyer_id: string;
|
|
@@ -162627,6 +164375,22 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
|
|
|
162627
164375
|
source_id: string;
|
|
162628
164376
|
}[];
|
|
162629
164377
|
};
|
|
164378
|
+
floriday_fill_publish_horizon: {
|
|
164379
|
+
Args: never;
|
|
164380
|
+
Returns: number;
|
|
164381
|
+
};
|
|
164382
|
+
floriday_publish_horizon_weeks: {
|
|
164383
|
+
Args: never;
|
|
164384
|
+
Returns: number;
|
|
164385
|
+
};
|
|
164386
|
+
floriday_recompute_inventory: {
|
|
164387
|
+
Args: {
|
|
164388
|
+
p_connection_id: string;
|
|
164389
|
+
p_force?: boolean;
|
|
164390
|
+
p_product_id: string;
|
|
164391
|
+
};
|
|
164392
|
+
Returns: undefined;
|
|
164393
|
+
};
|
|
162630
164394
|
format_cart_number: {
|
|
162631
164395
|
Args: {
|
|
162632
164396
|
p_pick_date: string;
|