@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
|
@@ -6244,6 +6244,7 @@ export type Database = {
|
|
|
6244
6244
|
attempts: number;
|
|
6245
6245
|
connection_id: string;
|
|
6246
6246
|
created_at: string;
|
|
6247
|
+
dead_lettered_at: string | null;
|
|
6247
6248
|
desired_available: boolean | null;
|
|
6248
6249
|
gateway_attempt_id: string | null;
|
|
6249
6250
|
id: string;
|
|
@@ -6252,9 +6253,13 @@ export type Database = {
|
|
|
6252
6253
|
locked_by: string | null;
|
|
6253
6254
|
next_attempt_at: string;
|
|
6254
6255
|
number_of_pieces: number;
|
|
6256
|
+
product_id: string | null;
|
|
6255
6257
|
sent_at: string | null;
|
|
6256
6258
|
status: string;
|
|
6259
|
+
stock_mode: string | null;
|
|
6257
6260
|
superseded_by: string | null;
|
|
6261
|
+
target_week: number | null;
|
|
6262
|
+
target_year: number | null;
|
|
6258
6263
|
trade_item_id: string;
|
|
6259
6264
|
updated_at: string;
|
|
6260
6265
|
user_id: string;
|
|
@@ -6263,6 +6268,7 @@ export type Database = {
|
|
|
6263
6268
|
attempts?: number;
|
|
6264
6269
|
connection_id: string;
|
|
6265
6270
|
created_at?: string;
|
|
6271
|
+
dead_lettered_at?: string | null;
|
|
6266
6272
|
desired_available?: boolean | null;
|
|
6267
6273
|
gateway_attempt_id?: string | null;
|
|
6268
6274
|
id?: string;
|
|
@@ -6271,9 +6277,13 @@ export type Database = {
|
|
|
6271
6277
|
locked_by?: string | null;
|
|
6272
6278
|
next_attempt_at?: string;
|
|
6273
6279
|
number_of_pieces?: number;
|
|
6280
|
+
product_id?: string | null;
|
|
6274
6281
|
sent_at?: string | null;
|
|
6275
6282
|
status?: string;
|
|
6283
|
+
stock_mode?: string | null;
|
|
6276
6284
|
superseded_by?: string | null;
|
|
6285
|
+
target_week?: number | null;
|
|
6286
|
+
target_year?: number | null;
|
|
6277
6287
|
trade_item_id: string;
|
|
6278
6288
|
updated_at?: string;
|
|
6279
6289
|
user_id: string;
|
|
@@ -6282,6 +6292,7 @@ export type Database = {
|
|
|
6282
6292
|
attempts?: number;
|
|
6283
6293
|
connection_id?: string;
|
|
6284
6294
|
created_at?: string;
|
|
6295
|
+
dead_lettered_at?: string | null;
|
|
6285
6296
|
desired_available?: boolean | null;
|
|
6286
6297
|
gateway_attempt_id?: string | null;
|
|
6287
6298
|
id?: string;
|
|
@@ -6290,9 +6301,13 @@ export type Database = {
|
|
|
6290
6301
|
locked_by?: string | null;
|
|
6291
6302
|
next_attempt_at?: string;
|
|
6292
6303
|
number_of_pieces?: number;
|
|
6304
|
+
product_id?: string | null;
|
|
6293
6305
|
sent_at?: string | null;
|
|
6294
6306
|
status?: string;
|
|
6307
|
+
stock_mode?: string | null;
|
|
6295
6308
|
superseded_by?: string | null;
|
|
6309
|
+
target_week?: number | null;
|
|
6310
|
+
target_year?: number | null;
|
|
6296
6311
|
trade_item_id?: string;
|
|
6297
6312
|
updated_at?: string;
|
|
6298
6313
|
user_id?: string;
|
|
@@ -6719,6 +6734,87 @@ export type Database = {
|
|
|
6719
6734
|
}
|
|
6720
6735
|
];
|
|
6721
6736
|
};
|
|
6737
|
+
floriday_inventory_settings: {
|
|
6738
|
+
Row: {
|
|
6739
|
+
buffer_quantity: number;
|
|
6740
|
+
connection_id: string;
|
|
6741
|
+
created_at: string;
|
|
6742
|
+
desired_availability: boolean;
|
|
6743
|
+
desired_quantity: number;
|
|
6744
|
+
fixed_quantity: number | null;
|
|
6745
|
+
floriday_trade_item_id: string | null;
|
|
6746
|
+
id: string;
|
|
6747
|
+
last_confirmed_at: string | null;
|
|
6748
|
+
last_enqueued_at: string | null;
|
|
6749
|
+
last_published_at: string | null;
|
|
6750
|
+
last_sync_error: string | null;
|
|
6751
|
+
manual_quantity: number | null;
|
|
6752
|
+
maximum_quantity: number | null;
|
|
6753
|
+
product_id: string;
|
|
6754
|
+
quantity_control: string;
|
|
6755
|
+
remote_available: boolean | null;
|
|
6756
|
+
remote_checked_at: string | null;
|
|
6757
|
+
remote_quantity: number | null;
|
|
6758
|
+
stock_mode: string;
|
|
6759
|
+
sync_status: string;
|
|
6760
|
+
updated_at: string;
|
|
6761
|
+
updated_by: string | null;
|
|
6762
|
+
user_id: string;
|
|
6763
|
+
};
|
|
6764
|
+
Insert: {
|
|
6765
|
+
buffer_quantity?: number;
|
|
6766
|
+
connection_id: string;
|
|
6767
|
+
created_at?: string;
|
|
6768
|
+
desired_availability?: boolean;
|
|
6769
|
+
desired_quantity?: number;
|
|
6770
|
+
fixed_quantity?: number | null;
|
|
6771
|
+
floriday_trade_item_id?: string | null;
|
|
6772
|
+
id?: string;
|
|
6773
|
+
last_confirmed_at?: string | null;
|
|
6774
|
+
last_enqueued_at?: string | null;
|
|
6775
|
+
last_published_at?: string | null;
|
|
6776
|
+
last_sync_error?: string | null;
|
|
6777
|
+
manual_quantity?: number | null;
|
|
6778
|
+
maximum_quantity?: number | null;
|
|
6779
|
+
product_id: string;
|
|
6780
|
+
quantity_control?: string;
|
|
6781
|
+
remote_available?: boolean | null;
|
|
6782
|
+
remote_checked_at?: string | null;
|
|
6783
|
+
remote_quantity?: number | null;
|
|
6784
|
+
stock_mode?: string;
|
|
6785
|
+
sync_status?: string;
|
|
6786
|
+
updated_at?: string;
|
|
6787
|
+
updated_by?: string | null;
|
|
6788
|
+
user_id: string;
|
|
6789
|
+
};
|
|
6790
|
+
Update: {
|
|
6791
|
+
buffer_quantity?: number;
|
|
6792
|
+
connection_id?: string;
|
|
6793
|
+
created_at?: string;
|
|
6794
|
+
desired_availability?: boolean;
|
|
6795
|
+
desired_quantity?: number;
|
|
6796
|
+
fixed_quantity?: number | null;
|
|
6797
|
+
floriday_trade_item_id?: string | null;
|
|
6798
|
+
id?: string;
|
|
6799
|
+
last_confirmed_at?: string | null;
|
|
6800
|
+
last_enqueued_at?: string | null;
|
|
6801
|
+
last_published_at?: string | null;
|
|
6802
|
+
last_sync_error?: string | null;
|
|
6803
|
+
manual_quantity?: number | null;
|
|
6804
|
+
maximum_quantity?: number | null;
|
|
6805
|
+
product_id?: string;
|
|
6806
|
+
quantity_control?: string;
|
|
6807
|
+
remote_available?: boolean | null;
|
|
6808
|
+
remote_checked_at?: string | null;
|
|
6809
|
+
remote_quantity?: number | null;
|
|
6810
|
+
stock_mode?: string;
|
|
6811
|
+
sync_status?: string;
|
|
6812
|
+
updated_at?: string;
|
|
6813
|
+
updated_by?: string | null;
|
|
6814
|
+
user_id?: string;
|
|
6815
|
+
};
|
|
6816
|
+
Relationships: [];
|
|
6817
|
+
};
|
|
6722
6818
|
floriday_invoices_cache: {
|
|
6723
6819
|
Row: {
|
|
6724
6820
|
buyer_organization_id: string | null;
|
|
@@ -7015,6 +7111,39 @@ export type Database = {
|
|
|
7015
7111
|
};
|
|
7016
7112
|
Relationships: [];
|
|
7017
7113
|
};
|
|
7114
|
+
floriday_sales_order_ingest: {
|
|
7115
|
+
Row: {
|
|
7116
|
+
connection_id: string;
|
|
7117
|
+
created_at: string;
|
|
7118
|
+
id: string;
|
|
7119
|
+
impact: Json;
|
|
7120
|
+
order_status: string | null;
|
|
7121
|
+
order_version: number;
|
|
7122
|
+
processed_at: string;
|
|
7123
|
+
sales_order_id: string;
|
|
7124
|
+
};
|
|
7125
|
+
Insert: {
|
|
7126
|
+
connection_id: string;
|
|
7127
|
+
created_at?: string;
|
|
7128
|
+
id?: string;
|
|
7129
|
+
impact?: Json;
|
|
7130
|
+
order_status?: string | null;
|
|
7131
|
+
order_version?: number;
|
|
7132
|
+
processed_at?: string;
|
|
7133
|
+
sales_order_id: string;
|
|
7134
|
+
};
|
|
7135
|
+
Update: {
|
|
7136
|
+
connection_id?: string;
|
|
7137
|
+
created_at?: string;
|
|
7138
|
+
id?: string;
|
|
7139
|
+
impact?: Json;
|
|
7140
|
+
order_status?: string | null;
|
|
7141
|
+
order_version?: number;
|
|
7142
|
+
processed_at?: string;
|
|
7143
|
+
sales_order_id?: string;
|
|
7144
|
+
};
|
|
7145
|
+
Relationships: [];
|
|
7146
|
+
};
|
|
7018
7147
|
floriday_sales_strategies_cache: {
|
|
7019
7148
|
Row: {
|
|
7020
7149
|
connection_id: string;
|
|
@@ -7118,6 +7247,39 @@ export type Database = {
|
|
|
7118
7247
|
};
|
|
7119
7248
|
Relationships: [];
|
|
7120
7249
|
};
|
|
7250
|
+
floriday_sync_cursors: {
|
|
7251
|
+
Row: {
|
|
7252
|
+
connection_id: string;
|
|
7253
|
+
created_at: string;
|
|
7254
|
+
id: string;
|
|
7255
|
+
last_error: string | null;
|
|
7256
|
+
last_sync_at: string | null;
|
|
7257
|
+
resource_type: string;
|
|
7258
|
+
sequence_number: number;
|
|
7259
|
+
updated_at: string;
|
|
7260
|
+
};
|
|
7261
|
+
Insert: {
|
|
7262
|
+
connection_id: string;
|
|
7263
|
+
created_at?: string;
|
|
7264
|
+
id?: string;
|
|
7265
|
+
last_error?: string | null;
|
|
7266
|
+
last_sync_at?: string | null;
|
|
7267
|
+
resource_type: string;
|
|
7268
|
+
sequence_number?: number;
|
|
7269
|
+
updated_at?: string;
|
|
7270
|
+
};
|
|
7271
|
+
Update: {
|
|
7272
|
+
connection_id?: string;
|
|
7273
|
+
created_at?: string;
|
|
7274
|
+
id?: string;
|
|
7275
|
+
last_error?: string | null;
|
|
7276
|
+
last_sync_at?: string | null;
|
|
7277
|
+
resource_type?: string;
|
|
7278
|
+
sequence_number?: number;
|
|
7279
|
+
updated_at?: string;
|
|
7280
|
+
};
|
|
7281
|
+
Relationships: [];
|
|
7282
|
+
};
|
|
7121
7283
|
floriday_sync_state: {
|
|
7122
7284
|
Row: {
|
|
7123
7285
|
connection_id: string;
|
|
@@ -7833,6 +7995,42 @@ export type Database = {
|
|
|
7833
7995
|
};
|
|
7834
7996
|
Relationships: [];
|
|
7835
7997
|
};
|
|
7998
|
+
inventory_stock_snapshots: {
|
|
7999
|
+
Row: {
|
|
8000
|
+
connection_id: string;
|
|
8001
|
+
created_at: string;
|
|
8002
|
+
erp_available_quantity: number;
|
|
8003
|
+
floriday_desired_quantity: number;
|
|
8004
|
+
floriday_remote_quantity: number | null;
|
|
8005
|
+
granularity: string;
|
|
8006
|
+
id: string;
|
|
8007
|
+
snapshot_at: string;
|
|
8008
|
+
user_id: string | null;
|
|
8009
|
+
};
|
|
8010
|
+
Insert: {
|
|
8011
|
+
connection_id: string;
|
|
8012
|
+
created_at?: string;
|
|
8013
|
+
erp_available_quantity?: number;
|
|
8014
|
+
floriday_desired_quantity?: number;
|
|
8015
|
+
floriday_remote_quantity?: number | null;
|
|
8016
|
+
granularity?: string;
|
|
8017
|
+
id?: string;
|
|
8018
|
+
snapshot_at?: string;
|
|
8019
|
+
user_id?: string | null;
|
|
8020
|
+
};
|
|
8021
|
+
Update: {
|
|
8022
|
+
connection_id?: string;
|
|
8023
|
+
created_at?: string;
|
|
8024
|
+
erp_available_quantity?: number;
|
|
8025
|
+
floriday_desired_quantity?: number;
|
|
8026
|
+
floriday_remote_quantity?: number | null;
|
|
8027
|
+
granularity?: string;
|
|
8028
|
+
id?: string;
|
|
8029
|
+
snapshot_at?: string;
|
|
8030
|
+
user_id?: string | null;
|
|
8031
|
+
};
|
|
8032
|
+
Relationships: [];
|
|
8033
|
+
};
|
|
7836
8034
|
invoice_items: {
|
|
7837
8035
|
Row: {
|
|
7838
8036
|
created_at: string;
|
|
@@ -17305,6 +17503,7 @@ export type Database = {
|
|
|
17305
17503
|
};
|
|
17306
17504
|
trade_item_stock: {
|
|
17307
17505
|
Row: {
|
|
17506
|
+
change_source: string;
|
|
17308
17507
|
connection_id: string;
|
|
17309
17508
|
created_at: string;
|
|
17310
17509
|
id: string;
|
|
@@ -17318,6 +17517,7 @@ export type Database = {
|
|
|
17318
17517
|
user_id: string;
|
|
17319
17518
|
};
|
|
17320
17519
|
Insert: {
|
|
17520
|
+
change_source?: string;
|
|
17321
17521
|
connection_id: string;
|
|
17322
17522
|
created_at?: string;
|
|
17323
17523
|
id?: string;
|
|
@@ -17331,6 +17531,7 @@ export type Database = {
|
|
|
17331
17531
|
user_id: string;
|
|
17332
17532
|
};
|
|
17333
17533
|
Update: {
|
|
17534
|
+
change_source?: string;
|
|
17334
17535
|
connection_id?: string;
|
|
17335
17536
|
created_at?: string;
|
|
17336
17537
|
id?: string;
|
|
@@ -21011,6 +21212,18 @@ export type Database = {
|
|
|
21011
21212
|
Args: never;
|
|
21012
21213
|
Returns: number;
|
|
21013
21214
|
};
|
|
21215
|
+
calculate_floriday_desired_stock: {
|
|
21216
|
+
Args: {
|
|
21217
|
+
p_connection_id: string;
|
|
21218
|
+
p_product_id: string;
|
|
21219
|
+
};
|
|
21220
|
+
Returns: {
|
|
21221
|
+
desired_availability: boolean;
|
|
21222
|
+
desired_quantity: number;
|
|
21223
|
+
erp_available: number;
|
|
21224
|
+
stock_mode: string;
|
|
21225
|
+
}[];
|
|
21226
|
+
};
|
|
21014
21227
|
calculate_layer_stock: {
|
|
21015
21228
|
Args: {
|
|
21016
21229
|
p_product_id: string;
|
|
@@ -21105,6 +21318,7 @@ export type Database = {
|
|
|
21105
21318
|
attempts: number;
|
|
21106
21319
|
connection_id: string;
|
|
21107
21320
|
created_at: string;
|
|
21321
|
+
dead_lettered_at: string | null;
|
|
21108
21322
|
desired_available: boolean | null;
|
|
21109
21323
|
gateway_attempt_id: string | null;
|
|
21110
21324
|
id: string;
|
|
@@ -21113,9 +21327,13 @@ export type Database = {
|
|
|
21113
21327
|
locked_by: string | null;
|
|
21114
21328
|
next_attempt_at: string;
|
|
21115
21329
|
number_of_pieces: number;
|
|
21330
|
+
product_id: string | null;
|
|
21116
21331
|
sent_at: string | null;
|
|
21117
21332
|
status: string;
|
|
21333
|
+
stock_mode: string | null;
|
|
21118
21334
|
superseded_by: string | null;
|
|
21335
|
+
target_week: number | null;
|
|
21336
|
+
target_year: number | null;
|
|
21119
21337
|
trade_item_id: string;
|
|
21120
21338
|
updated_at: string;
|
|
21121
21339
|
user_id: string;
|
|
@@ -21596,6 +21814,24 @@ export type Database = {
|
|
|
21596
21814
|
};
|
|
21597
21815
|
Returns: string;
|
|
21598
21816
|
};
|
|
21817
|
+
floriday_capture_stock_snapshot: {
|
|
21818
|
+
Args: never;
|
|
21819
|
+
Returns: number;
|
|
21820
|
+
};
|
|
21821
|
+
floriday_cleanup_stock_queue_v2: {
|
|
21822
|
+
Args: never;
|
|
21823
|
+
Returns: undefined;
|
|
21824
|
+
};
|
|
21825
|
+
floriday_compact_stock_snapshots: {
|
|
21826
|
+
Args: never;
|
|
21827
|
+
Returns: undefined;
|
|
21828
|
+
};
|
|
21829
|
+
floriday_default_owner: {
|
|
21830
|
+
Args: {
|
|
21831
|
+
p_connection_id: string;
|
|
21832
|
+
};
|
|
21833
|
+
Returns: string;
|
|
21834
|
+
};
|
|
21599
21835
|
floriday_effective_price: {
|
|
21600
21836
|
Args: {
|
|
21601
21837
|
_buyer_id: string;
|
|
@@ -21613,6 +21849,22 @@ export type Database = {
|
|
|
21613
21849
|
source_id: string;
|
|
21614
21850
|
}[];
|
|
21615
21851
|
};
|
|
21852
|
+
floriday_fill_publish_horizon: {
|
|
21853
|
+
Args: never;
|
|
21854
|
+
Returns: number;
|
|
21855
|
+
};
|
|
21856
|
+
floriday_publish_horizon_weeks: {
|
|
21857
|
+
Args: never;
|
|
21858
|
+
Returns: number;
|
|
21859
|
+
};
|
|
21860
|
+
floriday_recompute_inventory: {
|
|
21861
|
+
Args: {
|
|
21862
|
+
p_connection_id: string;
|
|
21863
|
+
p_force?: boolean;
|
|
21864
|
+
p_product_id: string;
|
|
21865
|
+
};
|
|
21866
|
+
Returns: undefined;
|
|
21867
|
+
};
|
|
21616
21868
|
format_cart_number: {
|
|
21617
21869
|
Args: {
|
|
21618
21870
|
p_pick_date: string;
|