@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
|
@@ -6142,6 +6142,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
6142
6142
|
attempts: number;
|
|
6143
6143
|
connection_id: string;
|
|
6144
6144
|
created_at: string;
|
|
6145
|
+
dead_lettered_at: string | null;
|
|
6145
6146
|
desired_available: boolean | null;
|
|
6146
6147
|
gateway_attempt_id: string | null;
|
|
6147
6148
|
id: string;
|
|
@@ -6150,9 +6151,13 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
6150
6151
|
locked_by: string | null;
|
|
6151
6152
|
next_attempt_at: string;
|
|
6152
6153
|
number_of_pieces: number;
|
|
6154
|
+
product_id: string | null;
|
|
6153
6155
|
sent_at: string | null;
|
|
6154
6156
|
status: string;
|
|
6157
|
+
stock_mode: string | null;
|
|
6155
6158
|
superseded_by: string | null;
|
|
6159
|
+
target_week: number | null;
|
|
6160
|
+
target_year: number | null;
|
|
6156
6161
|
trade_item_id: string;
|
|
6157
6162
|
updated_at: string;
|
|
6158
6163
|
user_id: string;
|
|
@@ -6161,6 +6166,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
6161
6166
|
attempts?: number;
|
|
6162
6167
|
connection_id: string;
|
|
6163
6168
|
created_at?: string;
|
|
6169
|
+
dead_lettered_at?: string | null;
|
|
6164
6170
|
desired_available?: boolean | null;
|
|
6165
6171
|
gateway_attempt_id?: string | null;
|
|
6166
6172
|
id?: string;
|
|
@@ -6169,9 +6175,13 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
6169
6175
|
locked_by?: string | null;
|
|
6170
6176
|
next_attempt_at?: string;
|
|
6171
6177
|
number_of_pieces?: number;
|
|
6178
|
+
product_id?: string | null;
|
|
6172
6179
|
sent_at?: string | null;
|
|
6173
6180
|
status?: string;
|
|
6181
|
+
stock_mode?: string | null;
|
|
6174
6182
|
superseded_by?: string | null;
|
|
6183
|
+
target_week?: number | null;
|
|
6184
|
+
target_year?: number | null;
|
|
6175
6185
|
trade_item_id: string;
|
|
6176
6186
|
updated_at?: string;
|
|
6177
6187
|
user_id: string;
|
|
@@ -6180,6 +6190,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
6180
6190
|
attempts?: number;
|
|
6181
6191
|
connection_id?: string;
|
|
6182
6192
|
created_at?: string;
|
|
6193
|
+
dead_lettered_at?: string | null;
|
|
6183
6194
|
desired_available?: boolean | null;
|
|
6184
6195
|
gateway_attempt_id?: string | null;
|
|
6185
6196
|
id?: string;
|
|
@@ -6188,9 +6199,13 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
6188
6199
|
locked_by?: string | null;
|
|
6189
6200
|
next_attempt_at?: string;
|
|
6190
6201
|
number_of_pieces?: number;
|
|
6202
|
+
product_id?: string | null;
|
|
6191
6203
|
sent_at?: string | null;
|
|
6192
6204
|
status?: string;
|
|
6205
|
+
stock_mode?: string | null;
|
|
6193
6206
|
superseded_by?: string | null;
|
|
6207
|
+
target_week?: number | null;
|
|
6208
|
+
target_year?: number | null;
|
|
6194
6209
|
trade_item_id?: string;
|
|
6195
6210
|
updated_at?: string;
|
|
6196
6211
|
user_id?: string;
|
|
@@ -6599,6 +6614,87 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
6599
6614
|
referencedColumns: ["id"];
|
|
6600
6615
|
}];
|
|
6601
6616
|
};
|
|
6617
|
+
floriday_inventory_settings: {
|
|
6618
|
+
Row: {
|
|
6619
|
+
buffer_quantity: number;
|
|
6620
|
+
connection_id: string;
|
|
6621
|
+
created_at: string;
|
|
6622
|
+
desired_availability: boolean;
|
|
6623
|
+
desired_quantity: number;
|
|
6624
|
+
fixed_quantity: number | null;
|
|
6625
|
+
floriday_trade_item_id: string | null;
|
|
6626
|
+
id: string;
|
|
6627
|
+
last_confirmed_at: string | null;
|
|
6628
|
+
last_enqueued_at: string | null;
|
|
6629
|
+
last_published_at: string | null;
|
|
6630
|
+
last_sync_error: string | null;
|
|
6631
|
+
manual_quantity: number | null;
|
|
6632
|
+
maximum_quantity: number | null;
|
|
6633
|
+
product_id: string;
|
|
6634
|
+
quantity_control: string;
|
|
6635
|
+
remote_available: boolean | null;
|
|
6636
|
+
remote_checked_at: string | null;
|
|
6637
|
+
remote_quantity: number | null;
|
|
6638
|
+
stock_mode: string;
|
|
6639
|
+
sync_status: string;
|
|
6640
|
+
updated_at: string;
|
|
6641
|
+
updated_by: string | null;
|
|
6642
|
+
user_id: string;
|
|
6643
|
+
};
|
|
6644
|
+
Insert: {
|
|
6645
|
+
buffer_quantity?: number;
|
|
6646
|
+
connection_id: string;
|
|
6647
|
+
created_at?: string;
|
|
6648
|
+
desired_availability?: boolean;
|
|
6649
|
+
desired_quantity?: number;
|
|
6650
|
+
fixed_quantity?: number | null;
|
|
6651
|
+
floriday_trade_item_id?: string | null;
|
|
6652
|
+
id?: string;
|
|
6653
|
+
last_confirmed_at?: string | null;
|
|
6654
|
+
last_enqueued_at?: string | null;
|
|
6655
|
+
last_published_at?: string | null;
|
|
6656
|
+
last_sync_error?: string | null;
|
|
6657
|
+
manual_quantity?: number | null;
|
|
6658
|
+
maximum_quantity?: number | null;
|
|
6659
|
+
product_id: string;
|
|
6660
|
+
quantity_control?: string;
|
|
6661
|
+
remote_available?: boolean | null;
|
|
6662
|
+
remote_checked_at?: string | null;
|
|
6663
|
+
remote_quantity?: number | null;
|
|
6664
|
+
stock_mode?: string;
|
|
6665
|
+
sync_status?: string;
|
|
6666
|
+
updated_at?: string;
|
|
6667
|
+
updated_by?: string | null;
|
|
6668
|
+
user_id: string;
|
|
6669
|
+
};
|
|
6670
|
+
Update: {
|
|
6671
|
+
buffer_quantity?: number;
|
|
6672
|
+
connection_id?: string;
|
|
6673
|
+
created_at?: string;
|
|
6674
|
+
desired_availability?: boolean;
|
|
6675
|
+
desired_quantity?: number;
|
|
6676
|
+
fixed_quantity?: number | null;
|
|
6677
|
+
floriday_trade_item_id?: string | null;
|
|
6678
|
+
id?: string;
|
|
6679
|
+
last_confirmed_at?: string | null;
|
|
6680
|
+
last_enqueued_at?: string | null;
|
|
6681
|
+
last_published_at?: string | null;
|
|
6682
|
+
last_sync_error?: string | null;
|
|
6683
|
+
manual_quantity?: number | null;
|
|
6684
|
+
maximum_quantity?: number | null;
|
|
6685
|
+
product_id?: string;
|
|
6686
|
+
quantity_control?: string;
|
|
6687
|
+
remote_available?: boolean | null;
|
|
6688
|
+
remote_checked_at?: string | null;
|
|
6689
|
+
remote_quantity?: number | null;
|
|
6690
|
+
stock_mode?: string;
|
|
6691
|
+
sync_status?: string;
|
|
6692
|
+
updated_at?: string;
|
|
6693
|
+
updated_by?: string | null;
|
|
6694
|
+
user_id?: string;
|
|
6695
|
+
};
|
|
6696
|
+
Relationships: [];
|
|
6697
|
+
};
|
|
6602
6698
|
floriday_invoices_cache: {
|
|
6603
6699
|
Row: {
|
|
6604
6700
|
buyer_organization_id: string | null;
|
|
@@ -6887,6 +6983,39 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
6887
6983
|
};
|
|
6888
6984
|
Relationships: [];
|
|
6889
6985
|
};
|
|
6986
|
+
floriday_sales_order_ingest: {
|
|
6987
|
+
Row: {
|
|
6988
|
+
connection_id: string;
|
|
6989
|
+
created_at: string;
|
|
6990
|
+
id: string;
|
|
6991
|
+
impact: import("../integrations/supabase/types").Json;
|
|
6992
|
+
order_status: string | null;
|
|
6993
|
+
order_version: number;
|
|
6994
|
+
processed_at: string;
|
|
6995
|
+
sales_order_id: string;
|
|
6996
|
+
};
|
|
6997
|
+
Insert: {
|
|
6998
|
+
connection_id: string;
|
|
6999
|
+
created_at?: string;
|
|
7000
|
+
id?: string;
|
|
7001
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
7002
|
+
order_status?: string | null;
|
|
7003
|
+
order_version?: number;
|
|
7004
|
+
processed_at?: string;
|
|
7005
|
+
sales_order_id: string;
|
|
7006
|
+
};
|
|
7007
|
+
Update: {
|
|
7008
|
+
connection_id?: string;
|
|
7009
|
+
created_at?: string;
|
|
7010
|
+
id?: string;
|
|
7011
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
7012
|
+
order_status?: string | null;
|
|
7013
|
+
order_version?: number;
|
|
7014
|
+
processed_at?: string;
|
|
7015
|
+
sales_order_id?: string;
|
|
7016
|
+
};
|
|
7017
|
+
Relationships: [];
|
|
7018
|
+
};
|
|
6890
7019
|
floriday_sales_strategies_cache: {
|
|
6891
7020
|
Row: {
|
|
6892
7021
|
connection_id: string;
|
|
@@ -6986,6 +7115,39 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
6986
7115
|
};
|
|
6987
7116
|
Relationships: [];
|
|
6988
7117
|
};
|
|
7118
|
+
floriday_sync_cursors: {
|
|
7119
|
+
Row: {
|
|
7120
|
+
connection_id: string;
|
|
7121
|
+
created_at: string;
|
|
7122
|
+
id: string;
|
|
7123
|
+
last_error: string | null;
|
|
7124
|
+
last_sync_at: string | null;
|
|
7125
|
+
resource_type: string;
|
|
7126
|
+
sequence_number: number;
|
|
7127
|
+
updated_at: string;
|
|
7128
|
+
};
|
|
7129
|
+
Insert: {
|
|
7130
|
+
connection_id: string;
|
|
7131
|
+
created_at?: string;
|
|
7132
|
+
id?: string;
|
|
7133
|
+
last_error?: string | null;
|
|
7134
|
+
last_sync_at?: string | null;
|
|
7135
|
+
resource_type: string;
|
|
7136
|
+
sequence_number?: number;
|
|
7137
|
+
updated_at?: string;
|
|
7138
|
+
};
|
|
7139
|
+
Update: {
|
|
7140
|
+
connection_id?: string;
|
|
7141
|
+
created_at?: string;
|
|
7142
|
+
id?: string;
|
|
7143
|
+
last_error?: string | null;
|
|
7144
|
+
last_sync_at?: string | null;
|
|
7145
|
+
resource_type?: string;
|
|
7146
|
+
sequence_number?: number;
|
|
7147
|
+
updated_at?: string;
|
|
7148
|
+
};
|
|
7149
|
+
Relationships: [];
|
|
7150
|
+
};
|
|
6989
7151
|
floriday_sync_state: {
|
|
6990
7152
|
Row: {
|
|
6991
7153
|
connection_id: string;
|
|
@@ -7676,6 +7838,42 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
7676
7838
|
};
|
|
7677
7839
|
Relationships: [];
|
|
7678
7840
|
};
|
|
7841
|
+
inventory_stock_snapshots: {
|
|
7842
|
+
Row: {
|
|
7843
|
+
connection_id: string;
|
|
7844
|
+
created_at: string;
|
|
7845
|
+
erp_available_quantity: number;
|
|
7846
|
+
floriday_desired_quantity: number;
|
|
7847
|
+
floriday_remote_quantity: number | null;
|
|
7848
|
+
granularity: string;
|
|
7849
|
+
id: string;
|
|
7850
|
+
snapshot_at: string;
|
|
7851
|
+
user_id: string | null;
|
|
7852
|
+
};
|
|
7853
|
+
Insert: {
|
|
7854
|
+
connection_id: string;
|
|
7855
|
+
created_at?: string;
|
|
7856
|
+
erp_available_quantity?: number;
|
|
7857
|
+
floriday_desired_quantity?: number;
|
|
7858
|
+
floriday_remote_quantity?: number | null;
|
|
7859
|
+
granularity?: string;
|
|
7860
|
+
id?: string;
|
|
7861
|
+
snapshot_at?: string;
|
|
7862
|
+
user_id?: string | null;
|
|
7863
|
+
};
|
|
7864
|
+
Update: {
|
|
7865
|
+
connection_id?: string;
|
|
7866
|
+
created_at?: string;
|
|
7867
|
+
erp_available_quantity?: number;
|
|
7868
|
+
floriday_desired_quantity?: number;
|
|
7869
|
+
floriday_remote_quantity?: number | null;
|
|
7870
|
+
granularity?: string;
|
|
7871
|
+
id?: string;
|
|
7872
|
+
snapshot_at?: string;
|
|
7873
|
+
user_id?: string | null;
|
|
7874
|
+
};
|
|
7875
|
+
Relationships: [];
|
|
7876
|
+
};
|
|
7679
7877
|
invoice_items: {
|
|
7680
7878
|
Row: {
|
|
7681
7879
|
created_at: string;
|
|
@@ -16870,6 +17068,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
16870
17068
|
};
|
|
16871
17069
|
trade_item_stock: {
|
|
16872
17070
|
Row: {
|
|
17071
|
+
change_source: string;
|
|
16873
17072
|
connection_id: string;
|
|
16874
17073
|
created_at: string;
|
|
16875
17074
|
id: string;
|
|
@@ -16883,6 +17082,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
16883
17082
|
user_id: string;
|
|
16884
17083
|
};
|
|
16885
17084
|
Insert: {
|
|
17085
|
+
change_source?: string;
|
|
16886
17086
|
connection_id: string;
|
|
16887
17087
|
created_at?: string;
|
|
16888
17088
|
id?: string;
|
|
@@ -16896,6 +17096,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
16896
17096
|
user_id: string;
|
|
16897
17097
|
};
|
|
16898
17098
|
Update: {
|
|
17099
|
+
change_source?: string;
|
|
16899
17100
|
connection_id?: string;
|
|
16900
17101
|
created_at?: string;
|
|
16901
17102
|
id?: string;
|
|
@@ -20496,6 +20697,18 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
20496
20697
|
Args: never;
|
|
20497
20698
|
Returns: number;
|
|
20498
20699
|
};
|
|
20700
|
+
calculate_floriday_desired_stock: {
|
|
20701
|
+
Args: {
|
|
20702
|
+
p_connection_id: string;
|
|
20703
|
+
p_product_id: string;
|
|
20704
|
+
};
|
|
20705
|
+
Returns: {
|
|
20706
|
+
desired_availability: boolean;
|
|
20707
|
+
desired_quantity: number;
|
|
20708
|
+
erp_available: number;
|
|
20709
|
+
stock_mode: string;
|
|
20710
|
+
}[];
|
|
20711
|
+
};
|
|
20499
20712
|
calculate_layer_stock: {
|
|
20500
20713
|
Args: {
|
|
20501
20714
|
p_product_id: string;
|
|
@@ -20590,6 +20803,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
20590
20803
|
attempts: number;
|
|
20591
20804
|
connection_id: string;
|
|
20592
20805
|
created_at: string;
|
|
20806
|
+
dead_lettered_at: string | null;
|
|
20593
20807
|
desired_available: boolean | null;
|
|
20594
20808
|
gateway_attempt_id: string | null;
|
|
20595
20809
|
id: string;
|
|
@@ -20598,9 +20812,13 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
20598
20812
|
locked_by: string | null;
|
|
20599
20813
|
next_attempt_at: string;
|
|
20600
20814
|
number_of_pieces: number;
|
|
20815
|
+
product_id: string | null;
|
|
20601
20816
|
sent_at: string | null;
|
|
20602
20817
|
status: string;
|
|
20818
|
+
stock_mode: string | null;
|
|
20603
20819
|
superseded_by: string | null;
|
|
20820
|
+
target_week: number | null;
|
|
20821
|
+
target_year: number | null;
|
|
20604
20822
|
trade_item_id: string;
|
|
20605
20823
|
updated_at: string;
|
|
20606
20824
|
user_id: string;
|
|
@@ -21081,6 +21299,24 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
21081
21299
|
};
|
|
21082
21300
|
Returns: string;
|
|
21083
21301
|
};
|
|
21302
|
+
floriday_capture_stock_snapshot: {
|
|
21303
|
+
Args: never;
|
|
21304
|
+
Returns: number;
|
|
21305
|
+
};
|
|
21306
|
+
floriday_cleanup_stock_queue_v2: {
|
|
21307
|
+
Args: never;
|
|
21308
|
+
Returns: undefined;
|
|
21309
|
+
};
|
|
21310
|
+
floriday_compact_stock_snapshots: {
|
|
21311
|
+
Args: never;
|
|
21312
|
+
Returns: undefined;
|
|
21313
|
+
};
|
|
21314
|
+
floriday_default_owner: {
|
|
21315
|
+
Args: {
|
|
21316
|
+
p_connection_id: string;
|
|
21317
|
+
};
|
|
21318
|
+
Returns: string;
|
|
21319
|
+
};
|
|
21084
21320
|
floriday_effective_price: {
|
|
21085
21321
|
Args: {
|
|
21086
21322
|
_buyer_id: string;
|
|
@@ -21098,6 +21334,22 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
21098
21334
|
source_id: string;
|
|
21099
21335
|
}[];
|
|
21100
21336
|
};
|
|
21337
|
+
floriday_fill_publish_horizon: {
|
|
21338
|
+
Args: never;
|
|
21339
|
+
Returns: number;
|
|
21340
|
+
};
|
|
21341
|
+
floriday_publish_horizon_weeks: {
|
|
21342
|
+
Args: never;
|
|
21343
|
+
Returns: number;
|
|
21344
|
+
};
|
|
21345
|
+
floriday_recompute_inventory: {
|
|
21346
|
+
Args: {
|
|
21347
|
+
p_connection_id: string;
|
|
21348
|
+
p_force?: boolean;
|
|
21349
|
+
p_product_id: string;
|
|
21350
|
+
};
|
|
21351
|
+
Returns: undefined;
|
|
21352
|
+
};
|
|
21101
21353
|
format_cart_number: {
|
|
21102
21354
|
Args: {
|
|
21103
21355
|
p_pick_date: string;
|
|
@@ -29751,6 +30003,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
29751
30003
|
attempts: number;
|
|
29752
30004
|
connection_id: string;
|
|
29753
30005
|
created_at: string;
|
|
30006
|
+
dead_lettered_at: string | null;
|
|
29754
30007
|
desired_available: boolean | null;
|
|
29755
30008
|
gateway_attempt_id: string | null;
|
|
29756
30009
|
id: string;
|
|
@@ -29759,9 +30012,13 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
29759
30012
|
locked_by: string | null;
|
|
29760
30013
|
next_attempt_at: string;
|
|
29761
30014
|
number_of_pieces: number;
|
|
30015
|
+
product_id: string | null;
|
|
29762
30016
|
sent_at: string | null;
|
|
29763
30017
|
status: string;
|
|
30018
|
+
stock_mode: string | null;
|
|
29764
30019
|
superseded_by: string | null;
|
|
30020
|
+
target_week: number | null;
|
|
30021
|
+
target_year: number | null;
|
|
29765
30022
|
trade_item_id: string;
|
|
29766
30023
|
updated_at: string;
|
|
29767
30024
|
user_id: string;
|
|
@@ -29770,6 +30027,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
29770
30027
|
attempts?: number;
|
|
29771
30028
|
connection_id: string;
|
|
29772
30029
|
created_at?: string;
|
|
30030
|
+
dead_lettered_at?: string | null;
|
|
29773
30031
|
desired_available?: boolean | null;
|
|
29774
30032
|
gateway_attempt_id?: string | null;
|
|
29775
30033
|
id?: string;
|
|
@@ -29778,9 +30036,13 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
29778
30036
|
locked_by?: string | null;
|
|
29779
30037
|
next_attempt_at?: string;
|
|
29780
30038
|
number_of_pieces?: number;
|
|
30039
|
+
product_id?: string | null;
|
|
29781
30040
|
sent_at?: string | null;
|
|
29782
30041
|
status?: string;
|
|
30042
|
+
stock_mode?: string | null;
|
|
29783
30043
|
superseded_by?: string | null;
|
|
30044
|
+
target_week?: number | null;
|
|
30045
|
+
target_year?: number | null;
|
|
29784
30046
|
trade_item_id: string;
|
|
29785
30047
|
updated_at?: string;
|
|
29786
30048
|
user_id: string;
|
|
@@ -29789,6 +30051,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
29789
30051
|
attempts?: number;
|
|
29790
30052
|
connection_id?: string;
|
|
29791
30053
|
created_at?: string;
|
|
30054
|
+
dead_lettered_at?: string | null;
|
|
29792
30055
|
desired_available?: boolean | null;
|
|
29793
30056
|
gateway_attempt_id?: string | null;
|
|
29794
30057
|
id?: string;
|
|
@@ -29797,9 +30060,13 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
29797
30060
|
locked_by?: string | null;
|
|
29798
30061
|
next_attempt_at?: string;
|
|
29799
30062
|
number_of_pieces?: number;
|
|
30063
|
+
product_id?: string | null;
|
|
29800
30064
|
sent_at?: string | null;
|
|
29801
30065
|
status?: string;
|
|
30066
|
+
stock_mode?: string | null;
|
|
29802
30067
|
superseded_by?: string | null;
|
|
30068
|
+
target_week?: number | null;
|
|
30069
|
+
target_year?: number | null;
|
|
29803
30070
|
trade_item_id?: string;
|
|
29804
30071
|
updated_at?: string;
|
|
29805
30072
|
user_id?: string;
|
|
@@ -30208,6 +30475,87 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
30208
30475
|
referencedColumns: ["id"];
|
|
30209
30476
|
}];
|
|
30210
30477
|
};
|
|
30478
|
+
floriday_inventory_settings: {
|
|
30479
|
+
Row: {
|
|
30480
|
+
buffer_quantity: number;
|
|
30481
|
+
connection_id: string;
|
|
30482
|
+
created_at: string;
|
|
30483
|
+
desired_availability: boolean;
|
|
30484
|
+
desired_quantity: number;
|
|
30485
|
+
fixed_quantity: number | null;
|
|
30486
|
+
floriday_trade_item_id: string | null;
|
|
30487
|
+
id: string;
|
|
30488
|
+
last_confirmed_at: string | null;
|
|
30489
|
+
last_enqueued_at: string | null;
|
|
30490
|
+
last_published_at: string | null;
|
|
30491
|
+
last_sync_error: string | null;
|
|
30492
|
+
manual_quantity: number | null;
|
|
30493
|
+
maximum_quantity: number | null;
|
|
30494
|
+
product_id: string;
|
|
30495
|
+
quantity_control: string;
|
|
30496
|
+
remote_available: boolean | null;
|
|
30497
|
+
remote_checked_at: string | null;
|
|
30498
|
+
remote_quantity: number | null;
|
|
30499
|
+
stock_mode: string;
|
|
30500
|
+
sync_status: string;
|
|
30501
|
+
updated_at: string;
|
|
30502
|
+
updated_by: string | null;
|
|
30503
|
+
user_id: string;
|
|
30504
|
+
};
|
|
30505
|
+
Insert: {
|
|
30506
|
+
buffer_quantity?: number;
|
|
30507
|
+
connection_id: string;
|
|
30508
|
+
created_at?: string;
|
|
30509
|
+
desired_availability?: boolean;
|
|
30510
|
+
desired_quantity?: number;
|
|
30511
|
+
fixed_quantity?: number | null;
|
|
30512
|
+
floriday_trade_item_id?: string | null;
|
|
30513
|
+
id?: string;
|
|
30514
|
+
last_confirmed_at?: string | null;
|
|
30515
|
+
last_enqueued_at?: string | null;
|
|
30516
|
+
last_published_at?: string | null;
|
|
30517
|
+
last_sync_error?: string | null;
|
|
30518
|
+
manual_quantity?: number | null;
|
|
30519
|
+
maximum_quantity?: number | null;
|
|
30520
|
+
product_id: string;
|
|
30521
|
+
quantity_control?: string;
|
|
30522
|
+
remote_available?: boolean | null;
|
|
30523
|
+
remote_checked_at?: string | null;
|
|
30524
|
+
remote_quantity?: number | null;
|
|
30525
|
+
stock_mode?: string;
|
|
30526
|
+
sync_status?: string;
|
|
30527
|
+
updated_at?: string;
|
|
30528
|
+
updated_by?: string | null;
|
|
30529
|
+
user_id: string;
|
|
30530
|
+
};
|
|
30531
|
+
Update: {
|
|
30532
|
+
buffer_quantity?: number;
|
|
30533
|
+
connection_id?: string;
|
|
30534
|
+
created_at?: string;
|
|
30535
|
+
desired_availability?: boolean;
|
|
30536
|
+
desired_quantity?: number;
|
|
30537
|
+
fixed_quantity?: number | null;
|
|
30538
|
+
floriday_trade_item_id?: string | null;
|
|
30539
|
+
id?: string;
|
|
30540
|
+
last_confirmed_at?: string | null;
|
|
30541
|
+
last_enqueued_at?: string | null;
|
|
30542
|
+
last_published_at?: string | null;
|
|
30543
|
+
last_sync_error?: string | null;
|
|
30544
|
+
manual_quantity?: number | null;
|
|
30545
|
+
maximum_quantity?: number | null;
|
|
30546
|
+
product_id?: string;
|
|
30547
|
+
quantity_control?: string;
|
|
30548
|
+
remote_available?: boolean | null;
|
|
30549
|
+
remote_checked_at?: string | null;
|
|
30550
|
+
remote_quantity?: number | null;
|
|
30551
|
+
stock_mode?: string;
|
|
30552
|
+
sync_status?: string;
|
|
30553
|
+
updated_at?: string;
|
|
30554
|
+
updated_by?: string | null;
|
|
30555
|
+
user_id?: string;
|
|
30556
|
+
};
|
|
30557
|
+
Relationships: [];
|
|
30558
|
+
};
|
|
30211
30559
|
floriday_invoices_cache: {
|
|
30212
30560
|
Row: {
|
|
30213
30561
|
buyer_organization_id: string | null;
|
|
@@ -30496,6 +30844,39 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
30496
30844
|
};
|
|
30497
30845
|
Relationships: [];
|
|
30498
30846
|
};
|
|
30847
|
+
floriday_sales_order_ingest: {
|
|
30848
|
+
Row: {
|
|
30849
|
+
connection_id: string;
|
|
30850
|
+
created_at: string;
|
|
30851
|
+
id: string;
|
|
30852
|
+
impact: import("../integrations/supabase/types").Json;
|
|
30853
|
+
order_status: string | null;
|
|
30854
|
+
order_version: number;
|
|
30855
|
+
processed_at: string;
|
|
30856
|
+
sales_order_id: string;
|
|
30857
|
+
};
|
|
30858
|
+
Insert: {
|
|
30859
|
+
connection_id: string;
|
|
30860
|
+
created_at?: string;
|
|
30861
|
+
id?: string;
|
|
30862
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
30863
|
+
order_status?: string | null;
|
|
30864
|
+
order_version?: number;
|
|
30865
|
+
processed_at?: string;
|
|
30866
|
+
sales_order_id: string;
|
|
30867
|
+
};
|
|
30868
|
+
Update: {
|
|
30869
|
+
connection_id?: string;
|
|
30870
|
+
created_at?: string;
|
|
30871
|
+
id?: string;
|
|
30872
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
30873
|
+
order_status?: string | null;
|
|
30874
|
+
order_version?: number;
|
|
30875
|
+
processed_at?: string;
|
|
30876
|
+
sales_order_id?: string;
|
|
30877
|
+
};
|
|
30878
|
+
Relationships: [];
|
|
30879
|
+
};
|
|
30499
30880
|
floriday_sales_strategies_cache: {
|
|
30500
30881
|
Row: {
|
|
30501
30882
|
connection_id: string;
|
|
@@ -30595,6 +30976,39 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
30595
30976
|
};
|
|
30596
30977
|
Relationships: [];
|
|
30597
30978
|
};
|
|
30979
|
+
floriday_sync_cursors: {
|
|
30980
|
+
Row: {
|
|
30981
|
+
connection_id: string;
|
|
30982
|
+
created_at: string;
|
|
30983
|
+
id: string;
|
|
30984
|
+
last_error: string | null;
|
|
30985
|
+
last_sync_at: string | null;
|
|
30986
|
+
resource_type: string;
|
|
30987
|
+
sequence_number: number;
|
|
30988
|
+
updated_at: string;
|
|
30989
|
+
};
|
|
30990
|
+
Insert: {
|
|
30991
|
+
connection_id: string;
|
|
30992
|
+
created_at?: string;
|
|
30993
|
+
id?: string;
|
|
30994
|
+
last_error?: string | null;
|
|
30995
|
+
last_sync_at?: string | null;
|
|
30996
|
+
resource_type: string;
|
|
30997
|
+
sequence_number?: number;
|
|
30998
|
+
updated_at?: string;
|
|
30999
|
+
};
|
|
31000
|
+
Update: {
|
|
31001
|
+
connection_id?: string;
|
|
31002
|
+
created_at?: string;
|
|
31003
|
+
id?: string;
|
|
31004
|
+
last_error?: string | null;
|
|
31005
|
+
last_sync_at?: string | null;
|
|
31006
|
+
resource_type?: string;
|
|
31007
|
+
sequence_number?: number;
|
|
31008
|
+
updated_at?: string;
|
|
31009
|
+
};
|
|
31010
|
+
Relationships: [];
|
|
31011
|
+
};
|
|
30598
31012
|
floriday_sync_state: {
|
|
30599
31013
|
Row: {
|
|
30600
31014
|
connection_id: string;
|
|
@@ -31285,6 +31699,42 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
31285
31699
|
};
|
|
31286
31700
|
Relationships: [];
|
|
31287
31701
|
};
|
|
31702
|
+
inventory_stock_snapshots: {
|
|
31703
|
+
Row: {
|
|
31704
|
+
connection_id: string;
|
|
31705
|
+
created_at: string;
|
|
31706
|
+
erp_available_quantity: number;
|
|
31707
|
+
floriday_desired_quantity: number;
|
|
31708
|
+
floriday_remote_quantity: number | null;
|
|
31709
|
+
granularity: string;
|
|
31710
|
+
id: string;
|
|
31711
|
+
snapshot_at: string;
|
|
31712
|
+
user_id: string | null;
|
|
31713
|
+
};
|
|
31714
|
+
Insert: {
|
|
31715
|
+
connection_id: string;
|
|
31716
|
+
created_at?: string;
|
|
31717
|
+
erp_available_quantity?: number;
|
|
31718
|
+
floriday_desired_quantity?: number;
|
|
31719
|
+
floriday_remote_quantity?: number | null;
|
|
31720
|
+
granularity?: string;
|
|
31721
|
+
id?: string;
|
|
31722
|
+
snapshot_at?: string;
|
|
31723
|
+
user_id?: string | null;
|
|
31724
|
+
};
|
|
31725
|
+
Update: {
|
|
31726
|
+
connection_id?: string;
|
|
31727
|
+
created_at?: string;
|
|
31728
|
+
erp_available_quantity?: number;
|
|
31729
|
+
floriday_desired_quantity?: number;
|
|
31730
|
+
floriday_remote_quantity?: number | null;
|
|
31731
|
+
granularity?: string;
|
|
31732
|
+
id?: string;
|
|
31733
|
+
snapshot_at?: string;
|
|
31734
|
+
user_id?: string | null;
|
|
31735
|
+
};
|
|
31736
|
+
Relationships: [];
|
|
31737
|
+
};
|
|
31288
31738
|
invoice_items: {
|
|
31289
31739
|
Row: {
|
|
31290
31740
|
created_at: string;
|
|
@@ -40479,6 +40929,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
40479
40929
|
};
|
|
40480
40930
|
trade_item_stock: {
|
|
40481
40931
|
Row: {
|
|
40932
|
+
change_source: string;
|
|
40482
40933
|
connection_id: string;
|
|
40483
40934
|
created_at: string;
|
|
40484
40935
|
id: string;
|
|
@@ -40492,6 +40943,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
40492
40943
|
user_id: string;
|
|
40493
40944
|
};
|
|
40494
40945
|
Insert: {
|
|
40946
|
+
change_source?: string;
|
|
40495
40947
|
connection_id: string;
|
|
40496
40948
|
created_at?: string;
|
|
40497
40949
|
id?: string;
|
|
@@ -40505,6 +40957,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
40505
40957
|
user_id: string;
|
|
40506
40958
|
};
|
|
40507
40959
|
Update: {
|
|
40960
|
+
change_source?: string;
|
|
40508
40961
|
connection_id?: string;
|
|
40509
40962
|
created_at?: string;
|
|
40510
40963
|
id?: string;
|
|
@@ -44105,6 +44558,18 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
44105
44558
|
Args: never;
|
|
44106
44559
|
Returns: number;
|
|
44107
44560
|
};
|
|
44561
|
+
calculate_floriday_desired_stock: {
|
|
44562
|
+
Args: {
|
|
44563
|
+
p_connection_id: string;
|
|
44564
|
+
p_product_id: string;
|
|
44565
|
+
};
|
|
44566
|
+
Returns: {
|
|
44567
|
+
desired_availability: boolean;
|
|
44568
|
+
desired_quantity: number;
|
|
44569
|
+
erp_available: number;
|
|
44570
|
+
stock_mode: string;
|
|
44571
|
+
}[];
|
|
44572
|
+
};
|
|
44108
44573
|
calculate_layer_stock: {
|
|
44109
44574
|
Args: {
|
|
44110
44575
|
p_product_id: string;
|
|
@@ -44199,6 +44664,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
44199
44664
|
attempts: number;
|
|
44200
44665
|
connection_id: string;
|
|
44201
44666
|
created_at: string;
|
|
44667
|
+
dead_lettered_at: string | null;
|
|
44202
44668
|
desired_available: boolean | null;
|
|
44203
44669
|
gateway_attempt_id: string | null;
|
|
44204
44670
|
id: string;
|
|
@@ -44207,9 +44673,13 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
44207
44673
|
locked_by: string | null;
|
|
44208
44674
|
next_attempt_at: string;
|
|
44209
44675
|
number_of_pieces: number;
|
|
44676
|
+
product_id: string | null;
|
|
44210
44677
|
sent_at: string | null;
|
|
44211
44678
|
status: string;
|
|
44679
|
+
stock_mode: string | null;
|
|
44212
44680
|
superseded_by: string | null;
|
|
44681
|
+
target_week: number | null;
|
|
44682
|
+
target_year: number | null;
|
|
44213
44683
|
trade_item_id: string;
|
|
44214
44684
|
updated_at: string;
|
|
44215
44685
|
user_id: string;
|
|
@@ -44690,6 +45160,24 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
44690
45160
|
};
|
|
44691
45161
|
Returns: string;
|
|
44692
45162
|
};
|
|
45163
|
+
floriday_capture_stock_snapshot: {
|
|
45164
|
+
Args: never;
|
|
45165
|
+
Returns: number;
|
|
45166
|
+
};
|
|
45167
|
+
floriday_cleanup_stock_queue_v2: {
|
|
45168
|
+
Args: never;
|
|
45169
|
+
Returns: undefined;
|
|
45170
|
+
};
|
|
45171
|
+
floriday_compact_stock_snapshots: {
|
|
45172
|
+
Args: never;
|
|
45173
|
+
Returns: undefined;
|
|
45174
|
+
};
|
|
45175
|
+
floriday_default_owner: {
|
|
45176
|
+
Args: {
|
|
45177
|
+
p_connection_id: string;
|
|
45178
|
+
};
|
|
45179
|
+
Returns: string;
|
|
45180
|
+
};
|
|
44693
45181
|
floriday_effective_price: {
|
|
44694
45182
|
Args: {
|
|
44695
45183
|
_buyer_id: string;
|
|
@@ -44707,6 +45195,22 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
44707
45195
|
source_id: string;
|
|
44708
45196
|
}[];
|
|
44709
45197
|
};
|
|
45198
|
+
floriday_fill_publish_horizon: {
|
|
45199
|
+
Args: never;
|
|
45200
|
+
Returns: number;
|
|
45201
|
+
};
|
|
45202
|
+
floriday_publish_horizon_weeks: {
|
|
45203
|
+
Args: never;
|
|
45204
|
+
Returns: number;
|
|
45205
|
+
};
|
|
45206
|
+
floriday_recompute_inventory: {
|
|
45207
|
+
Args: {
|
|
45208
|
+
p_connection_id: string;
|
|
45209
|
+
p_force?: boolean;
|
|
45210
|
+
p_product_id: string;
|
|
45211
|
+
};
|
|
45212
|
+
Returns: undefined;
|
|
45213
|
+
};
|
|
44710
45214
|
format_cart_number: {
|
|
44711
45215
|
Args: {
|
|
44712
45216
|
p_pick_date: string;
|
|
@@ -53359,6 +53863,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
53359
53863
|
attempts: number;
|
|
53360
53864
|
connection_id: string;
|
|
53361
53865
|
created_at: string;
|
|
53866
|
+
dead_lettered_at: string | null;
|
|
53362
53867
|
desired_available: boolean | null;
|
|
53363
53868
|
gateway_attempt_id: string | null;
|
|
53364
53869
|
id: string;
|
|
@@ -53367,9 +53872,13 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
53367
53872
|
locked_by: string | null;
|
|
53368
53873
|
next_attempt_at: string;
|
|
53369
53874
|
number_of_pieces: number;
|
|
53875
|
+
product_id: string | null;
|
|
53370
53876
|
sent_at: string | null;
|
|
53371
53877
|
status: string;
|
|
53878
|
+
stock_mode: string | null;
|
|
53372
53879
|
superseded_by: string | null;
|
|
53880
|
+
target_week: number | null;
|
|
53881
|
+
target_year: number | null;
|
|
53373
53882
|
trade_item_id: string;
|
|
53374
53883
|
updated_at: string;
|
|
53375
53884
|
user_id: string;
|
|
@@ -53378,6 +53887,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
53378
53887
|
attempts?: number;
|
|
53379
53888
|
connection_id: string;
|
|
53380
53889
|
created_at?: string;
|
|
53890
|
+
dead_lettered_at?: string | null;
|
|
53381
53891
|
desired_available?: boolean | null;
|
|
53382
53892
|
gateway_attempt_id?: string | null;
|
|
53383
53893
|
id?: string;
|
|
@@ -53386,9 +53896,13 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
53386
53896
|
locked_by?: string | null;
|
|
53387
53897
|
next_attempt_at?: string;
|
|
53388
53898
|
number_of_pieces?: number;
|
|
53899
|
+
product_id?: string | null;
|
|
53389
53900
|
sent_at?: string | null;
|
|
53390
53901
|
status?: string;
|
|
53902
|
+
stock_mode?: string | null;
|
|
53391
53903
|
superseded_by?: string | null;
|
|
53904
|
+
target_week?: number | null;
|
|
53905
|
+
target_year?: number | null;
|
|
53392
53906
|
trade_item_id: string;
|
|
53393
53907
|
updated_at?: string;
|
|
53394
53908
|
user_id: string;
|
|
@@ -53397,6 +53911,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
53397
53911
|
attempts?: number;
|
|
53398
53912
|
connection_id?: string;
|
|
53399
53913
|
created_at?: string;
|
|
53914
|
+
dead_lettered_at?: string | null;
|
|
53400
53915
|
desired_available?: boolean | null;
|
|
53401
53916
|
gateway_attempt_id?: string | null;
|
|
53402
53917
|
id?: string;
|
|
@@ -53405,9 +53920,13 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
53405
53920
|
locked_by?: string | null;
|
|
53406
53921
|
next_attempt_at?: string;
|
|
53407
53922
|
number_of_pieces?: number;
|
|
53923
|
+
product_id?: string | null;
|
|
53408
53924
|
sent_at?: string | null;
|
|
53409
53925
|
status?: string;
|
|
53926
|
+
stock_mode?: string | null;
|
|
53410
53927
|
superseded_by?: string | null;
|
|
53928
|
+
target_week?: number | null;
|
|
53929
|
+
target_year?: number | null;
|
|
53411
53930
|
trade_item_id?: string;
|
|
53412
53931
|
updated_at?: string;
|
|
53413
53932
|
user_id?: string;
|
|
@@ -53816,6 +54335,87 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
53816
54335
|
referencedColumns: ["id"];
|
|
53817
54336
|
}];
|
|
53818
54337
|
};
|
|
54338
|
+
floriday_inventory_settings: {
|
|
54339
|
+
Row: {
|
|
54340
|
+
buffer_quantity: number;
|
|
54341
|
+
connection_id: string;
|
|
54342
|
+
created_at: string;
|
|
54343
|
+
desired_availability: boolean;
|
|
54344
|
+
desired_quantity: number;
|
|
54345
|
+
fixed_quantity: number | null;
|
|
54346
|
+
floriday_trade_item_id: string | null;
|
|
54347
|
+
id: string;
|
|
54348
|
+
last_confirmed_at: string | null;
|
|
54349
|
+
last_enqueued_at: string | null;
|
|
54350
|
+
last_published_at: string | null;
|
|
54351
|
+
last_sync_error: string | null;
|
|
54352
|
+
manual_quantity: number | null;
|
|
54353
|
+
maximum_quantity: number | null;
|
|
54354
|
+
product_id: string;
|
|
54355
|
+
quantity_control: string;
|
|
54356
|
+
remote_available: boolean | null;
|
|
54357
|
+
remote_checked_at: string | null;
|
|
54358
|
+
remote_quantity: number | null;
|
|
54359
|
+
stock_mode: string;
|
|
54360
|
+
sync_status: string;
|
|
54361
|
+
updated_at: string;
|
|
54362
|
+
updated_by: string | null;
|
|
54363
|
+
user_id: string;
|
|
54364
|
+
};
|
|
54365
|
+
Insert: {
|
|
54366
|
+
buffer_quantity?: number;
|
|
54367
|
+
connection_id: string;
|
|
54368
|
+
created_at?: string;
|
|
54369
|
+
desired_availability?: boolean;
|
|
54370
|
+
desired_quantity?: number;
|
|
54371
|
+
fixed_quantity?: number | null;
|
|
54372
|
+
floriday_trade_item_id?: string | null;
|
|
54373
|
+
id?: string;
|
|
54374
|
+
last_confirmed_at?: string | null;
|
|
54375
|
+
last_enqueued_at?: string | null;
|
|
54376
|
+
last_published_at?: string | null;
|
|
54377
|
+
last_sync_error?: string | null;
|
|
54378
|
+
manual_quantity?: number | null;
|
|
54379
|
+
maximum_quantity?: number | null;
|
|
54380
|
+
product_id: string;
|
|
54381
|
+
quantity_control?: string;
|
|
54382
|
+
remote_available?: boolean | null;
|
|
54383
|
+
remote_checked_at?: string | null;
|
|
54384
|
+
remote_quantity?: number | null;
|
|
54385
|
+
stock_mode?: string;
|
|
54386
|
+
sync_status?: string;
|
|
54387
|
+
updated_at?: string;
|
|
54388
|
+
updated_by?: string | null;
|
|
54389
|
+
user_id: string;
|
|
54390
|
+
};
|
|
54391
|
+
Update: {
|
|
54392
|
+
buffer_quantity?: number;
|
|
54393
|
+
connection_id?: string;
|
|
54394
|
+
created_at?: string;
|
|
54395
|
+
desired_availability?: boolean;
|
|
54396
|
+
desired_quantity?: number;
|
|
54397
|
+
fixed_quantity?: number | null;
|
|
54398
|
+
floriday_trade_item_id?: string | null;
|
|
54399
|
+
id?: string;
|
|
54400
|
+
last_confirmed_at?: string | null;
|
|
54401
|
+
last_enqueued_at?: string | null;
|
|
54402
|
+
last_published_at?: string | null;
|
|
54403
|
+
last_sync_error?: string | null;
|
|
54404
|
+
manual_quantity?: number | null;
|
|
54405
|
+
maximum_quantity?: number | null;
|
|
54406
|
+
product_id?: string;
|
|
54407
|
+
quantity_control?: string;
|
|
54408
|
+
remote_available?: boolean | null;
|
|
54409
|
+
remote_checked_at?: string | null;
|
|
54410
|
+
remote_quantity?: number | null;
|
|
54411
|
+
stock_mode?: string;
|
|
54412
|
+
sync_status?: string;
|
|
54413
|
+
updated_at?: string;
|
|
54414
|
+
updated_by?: string | null;
|
|
54415
|
+
user_id?: string;
|
|
54416
|
+
};
|
|
54417
|
+
Relationships: [];
|
|
54418
|
+
};
|
|
53819
54419
|
floriday_invoices_cache: {
|
|
53820
54420
|
Row: {
|
|
53821
54421
|
buyer_organization_id: string | null;
|
|
@@ -54104,6 +54704,39 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
54104
54704
|
};
|
|
54105
54705
|
Relationships: [];
|
|
54106
54706
|
};
|
|
54707
|
+
floriday_sales_order_ingest: {
|
|
54708
|
+
Row: {
|
|
54709
|
+
connection_id: string;
|
|
54710
|
+
created_at: string;
|
|
54711
|
+
id: string;
|
|
54712
|
+
impact: import("../integrations/supabase/types").Json;
|
|
54713
|
+
order_status: string | null;
|
|
54714
|
+
order_version: number;
|
|
54715
|
+
processed_at: string;
|
|
54716
|
+
sales_order_id: string;
|
|
54717
|
+
};
|
|
54718
|
+
Insert: {
|
|
54719
|
+
connection_id: string;
|
|
54720
|
+
created_at?: string;
|
|
54721
|
+
id?: string;
|
|
54722
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
54723
|
+
order_status?: string | null;
|
|
54724
|
+
order_version?: number;
|
|
54725
|
+
processed_at?: string;
|
|
54726
|
+
sales_order_id: string;
|
|
54727
|
+
};
|
|
54728
|
+
Update: {
|
|
54729
|
+
connection_id?: string;
|
|
54730
|
+
created_at?: string;
|
|
54731
|
+
id?: string;
|
|
54732
|
+
impact?: import("../integrations/supabase/types").Json;
|
|
54733
|
+
order_status?: string | null;
|
|
54734
|
+
order_version?: number;
|
|
54735
|
+
processed_at?: string;
|
|
54736
|
+
sales_order_id?: string;
|
|
54737
|
+
};
|
|
54738
|
+
Relationships: [];
|
|
54739
|
+
};
|
|
54107
54740
|
floriday_sales_strategies_cache: {
|
|
54108
54741
|
Row: {
|
|
54109
54742
|
connection_id: string;
|
|
@@ -54203,6 +54836,39 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
54203
54836
|
};
|
|
54204
54837
|
Relationships: [];
|
|
54205
54838
|
};
|
|
54839
|
+
floriday_sync_cursors: {
|
|
54840
|
+
Row: {
|
|
54841
|
+
connection_id: string;
|
|
54842
|
+
created_at: string;
|
|
54843
|
+
id: string;
|
|
54844
|
+
last_error: string | null;
|
|
54845
|
+
last_sync_at: string | null;
|
|
54846
|
+
resource_type: string;
|
|
54847
|
+
sequence_number: number;
|
|
54848
|
+
updated_at: string;
|
|
54849
|
+
};
|
|
54850
|
+
Insert: {
|
|
54851
|
+
connection_id: string;
|
|
54852
|
+
created_at?: string;
|
|
54853
|
+
id?: string;
|
|
54854
|
+
last_error?: string | null;
|
|
54855
|
+
last_sync_at?: string | null;
|
|
54856
|
+
resource_type: string;
|
|
54857
|
+
sequence_number?: number;
|
|
54858
|
+
updated_at?: string;
|
|
54859
|
+
};
|
|
54860
|
+
Update: {
|
|
54861
|
+
connection_id?: string;
|
|
54862
|
+
created_at?: string;
|
|
54863
|
+
id?: string;
|
|
54864
|
+
last_error?: string | null;
|
|
54865
|
+
last_sync_at?: string | null;
|
|
54866
|
+
resource_type?: string;
|
|
54867
|
+
sequence_number?: number;
|
|
54868
|
+
updated_at?: string;
|
|
54869
|
+
};
|
|
54870
|
+
Relationships: [];
|
|
54871
|
+
};
|
|
54206
54872
|
floriday_sync_state: {
|
|
54207
54873
|
Row: {
|
|
54208
54874
|
connection_id: string;
|
|
@@ -54893,6 +55559,42 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
54893
55559
|
};
|
|
54894
55560
|
Relationships: [];
|
|
54895
55561
|
};
|
|
55562
|
+
inventory_stock_snapshots: {
|
|
55563
|
+
Row: {
|
|
55564
|
+
connection_id: string;
|
|
55565
|
+
created_at: string;
|
|
55566
|
+
erp_available_quantity: number;
|
|
55567
|
+
floriday_desired_quantity: number;
|
|
55568
|
+
floriday_remote_quantity: number | null;
|
|
55569
|
+
granularity: string;
|
|
55570
|
+
id: string;
|
|
55571
|
+
snapshot_at: string;
|
|
55572
|
+
user_id: string | null;
|
|
55573
|
+
};
|
|
55574
|
+
Insert: {
|
|
55575
|
+
connection_id: string;
|
|
55576
|
+
created_at?: string;
|
|
55577
|
+
erp_available_quantity?: number;
|
|
55578
|
+
floriday_desired_quantity?: number;
|
|
55579
|
+
floriday_remote_quantity?: number | null;
|
|
55580
|
+
granularity?: string;
|
|
55581
|
+
id?: string;
|
|
55582
|
+
snapshot_at?: string;
|
|
55583
|
+
user_id?: string | null;
|
|
55584
|
+
};
|
|
55585
|
+
Update: {
|
|
55586
|
+
connection_id?: string;
|
|
55587
|
+
created_at?: string;
|
|
55588
|
+
erp_available_quantity?: number;
|
|
55589
|
+
floriday_desired_quantity?: number;
|
|
55590
|
+
floriday_remote_quantity?: number | null;
|
|
55591
|
+
granularity?: string;
|
|
55592
|
+
id?: string;
|
|
55593
|
+
snapshot_at?: string;
|
|
55594
|
+
user_id?: string | null;
|
|
55595
|
+
};
|
|
55596
|
+
Relationships: [];
|
|
55597
|
+
};
|
|
54896
55598
|
invoice_items: {
|
|
54897
55599
|
Row: {
|
|
54898
55600
|
created_at: string;
|
|
@@ -64087,6 +64789,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
64087
64789
|
};
|
|
64088
64790
|
trade_item_stock: {
|
|
64089
64791
|
Row: {
|
|
64792
|
+
change_source: string;
|
|
64090
64793
|
connection_id: string;
|
|
64091
64794
|
created_at: string;
|
|
64092
64795
|
id: string;
|
|
@@ -64100,6 +64803,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
64100
64803
|
user_id: string;
|
|
64101
64804
|
};
|
|
64102
64805
|
Insert: {
|
|
64806
|
+
change_source?: string;
|
|
64103
64807
|
connection_id: string;
|
|
64104
64808
|
created_at?: string;
|
|
64105
64809
|
id?: string;
|
|
@@ -64113,6 +64817,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
64113
64817
|
user_id: string;
|
|
64114
64818
|
};
|
|
64115
64819
|
Update: {
|
|
64820
|
+
change_source?: string;
|
|
64116
64821
|
connection_id?: string;
|
|
64117
64822
|
created_at?: string;
|
|
64118
64823
|
id?: string;
|
|
@@ -67713,6 +68418,18 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
67713
68418
|
Args: never;
|
|
67714
68419
|
Returns: number;
|
|
67715
68420
|
};
|
|
68421
|
+
calculate_floriday_desired_stock: {
|
|
68422
|
+
Args: {
|
|
68423
|
+
p_connection_id: string;
|
|
68424
|
+
p_product_id: string;
|
|
68425
|
+
};
|
|
68426
|
+
Returns: {
|
|
68427
|
+
desired_availability: boolean;
|
|
68428
|
+
desired_quantity: number;
|
|
68429
|
+
erp_available: number;
|
|
68430
|
+
stock_mode: string;
|
|
68431
|
+
}[];
|
|
68432
|
+
};
|
|
67716
68433
|
calculate_layer_stock: {
|
|
67717
68434
|
Args: {
|
|
67718
68435
|
p_product_id: string;
|
|
@@ -67807,6 +68524,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
67807
68524
|
attempts: number;
|
|
67808
68525
|
connection_id: string;
|
|
67809
68526
|
created_at: string;
|
|
68527
|
+
dead_lettered_at: string | null;
|
|
67810
68528
|
desired_available: boolean | null;
|
|
67811
68529
|
gateway_attempt_id: string | null;
|
|
67812
68530
|
id: string;
|
|
@@ -67815,9 +68533,13 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
67815
68533
|
locked_by: string | null;
|
|
67816
68534
|
next_attempt_at: string;
|
|
67817
68535
|
number_of_pieces: number;
|
|
68536
|
+
product_id: string | null;
|
|
67818
68537
|
sent_at: string | null;
|
|
67819
68538
|
status: string;
|
|
68539
|
+
stock_mode: string | null;
|
|
67820
68540
|
superseded_by: string | null;
|
|
68541
|
+
target_week: number | null;
|
|
68542
|
+
target_year: number | null;
|
|
67821
68543
|
trade_item_id: string;
|
|
67822
68544
|
updated_at: string;
|
|
67823
68545
|
user_id: string;
|
|
@@ -68298,6 +69020,24 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
68298
69020
|
};
|
|
68299
69021
|
Returns: string;
|
|
68300
69022
|
};
|
|
69023
|
+
floriday_capture_stock_snapshot: {
|
|
69024
|
+
Args: never;
|
|
69025
|
+
Returns: number;
|
|
69026
|
+
};
|
|
69027
|
+
floriday_cleanup_stock_queue_v2: {
|
|
69028
|
+
Args: never;
|
|
69029
|
+
Returns: undefined;
|
|
69030
|
+
};
|
|
69031
|
+
floriday_compact_stock_snapshots: {
|
|
69032
|
+
Args: never;
|
|
69033
|
+
Returns: undefined;
|
|
69034
|
+
};
|
|
69035
|
+
floriday_default_owner: {
|
|
69036
|
+
Args: {
|
|
69037
|
+
p_connection_id: string;
|
|
69038
|
+
};
|
|
69039
|
+
Returns: string;
|
|
69040
|
+
};
|
|
68301
69041
|
floriday_effective_price: {
|
|
68302
69042
|
Args: {
|
|
68303
69043
|
_buyer_id: string;
|
|
@@ -68315,6 +69055,22 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
68315
69055
|
source_id: string;
|
|
68316
69056
|
}[];
|
|
68317
69057
|
};
|
|
69058
|
+
floriday_fill_publish_horizon: {
|
|
69059
|
+
Args: never;
|
|
69060
|
+
Returns: number;
|
|
69061
|
+
};
|
|
69062
|
+
floriday_publish_horizon_weeks: {
|
|
69063
|
+
Args: never;
|
|
69064
|
+
Returns: number;
|
|
69065
|
+
};
|
|
69066
|
+
floriday_recompute_inventory: {
|
|
69067
|
+
Args: {
|
|
69068
|
+
p_connection_id: string;
|
|
69069
|
+
p_force?: boolean;
|
|
69070
|
+
p_product_id: string;
|
|
69071
|
+
};
|
|
69072
|
+
Returns: undefined;
|
|
69073
|
+
};
|
|
68318
69074
|
format_cart_number: {
|
|
68319
69075
|
Args: {
|
|
68320
69076
|
p_pick_date: string;
|