@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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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("./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("./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("./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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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;
|