@flowselections/floriday-verkoop-module 1.0.60 → 1.0.61
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/floriday/FlorydaySyncHealthBanner.d.ts +9 -0
- package/dist-lib/components/floriday/FlorydaySyncHealthBanner.d.ts.map +1 -0
- package/dist-lib/components/floriday/FlorydaySyncHealthBanner.js +26 -0
- package/dist-lib/components/karindeling/AfmetingenTab.d.ts +6 -0
- package/dist-lib/components/karindeling/AfmetingenTab.d.ts.map +1 -0
- package/dist-lib/components/karindeling/AfmetingenTab.js +128 -0
- package/dist-lib/components/karindeling/KarindelingPage.d.ts +2 -0
- package/dist-lib/components/karindeling/KarindelingPage.d.ts.map +1 -0
- package/dist-lib/components/karindeling/KarindelingPage.js +102 -0
- package/dist-lib/components/ui/dropdown-menu.d.ts +9 -0
- package/dist-lib/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist-lib/components/ui/dropdown-menu.js +14 -0
- 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/CartLayersDialog.d.ts +1 -1
- package/dist-lib/components/verkoop/CartLayersDialog.d.ts.map +1 -1
- package/dist-lib/components/verkoop/CreateOrderDialog.d.ts +5 -0
- package/dist-lib/components/verkoop/CreateOrderDialog.d.ts.map +1 -0
- package/dist-lib/components/verkoop/CreateOrderDialog.js +33 -0
- 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/ProductDimensionsSettings.d.ts +1 -1
- package/dist-lib/components/verkoop/ProductDimensionsSettings.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/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 +1 -2
- 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 +280 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +280 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +280 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/buffer-events.functions.d.ts +280 -0
- package/dist-lib/lib/buffer-events.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-layers.functions.d.ts +1124 -36
- package/dist-lib/lib/cart-layers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-lock.functions.d.ts +280 -0
- package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-planning-settings.functions.d.ts +3080 -0
- package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.d.ts +840 -0
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.d.ts +4777 -102
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/cron/push-order-statuses.d.ts +4 -0
- package/dist-lib/lib/cron/push-order-statuses.d.ts.map +1 -0
- package/dist-lib/lib/cron/push-order-statuses.js +23 -0
- package/dist-lib/lib/floriday/floriday.server.d.ts +14 -0
- package/dist-lib/lib/floriday/floriday.server.d.ts.map +1 -0
- package/dist-lib/lib/floriday/floriday.server.js +92 -0
- package/dist-lib/lib/floriday/sales-orders.functions.d.ts +4736 -0
- package/dist-lib/lib/floriday/sales-orders.functions.d.ts.map +1 -0
- package/dist-lib/lib/floriday/sales-orders.functions.js +193 -0
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +13288 -2362
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +560 -0
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.d.ts +280 -0
- package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.js +282 -117
- package/dist-lib/lib/floriday-public.functions.d.ts +1960 -0
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-status-sync.server.d.ts +14 -0
- package/dist-lib/lib/floriday-status-sync.server.d.ts.map +1 -0
- package/dist-lib/lib/floriday-status-sync.server.js +130 -0
- package/dist-lib/lib/floriday-writes.functions.d.ts +560 -0
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/invoice-timing.functions.d.ts +1120 -0
- package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
- package/dist-lib/lib/load-carriers.functions.d.ts +280 -0
- package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-engine.functions.d.ts +1405 -15
- package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-stock.functions.d.ts +560 -0
- package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-addresses.functions.d.ts +280 -0
- package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-buffers.functions.d.ts +840 -0
- package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-carrier.functions.d.ts +560 -0
- package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-fulfill.functions.d.ts +280 -0
- package/dist-lib/lib/order-fulfill.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-pickup.functions.d.ts +560 -0
- package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-shipments.functions.d.ts +1120 -0
- package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
- package/dist-lib/lib/product-dimensions.functions.d.ts +560 -0
- package/dist-lib/lib/product-dimensions.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.functions.d.ts +560 -0
- package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.server.js +62 -3
- package/dist-lib/lib/salesorders.functions.d.ts +1680 -0
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders.functions.js +6 -1
- package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +560 -0
- package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -1
- package/dist-lib/lib/tradeitems.functions.d.ts +280 -0
- package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -10121,22 +10121,31 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
|
|
|
10121
10121
|
};
|
|
10122
10122
|
logistics_floriday_push_refusals: {
|
|
10123
10123
|
Row: {
|
|
10124
|
+
action: string | null;
|
|
10124
10125
|
created_at: string;
|
|
10125
10126
|
id: string;
|
|
10126
10127
|
order_ref: string;
|
|
10127
10128
|
reason: string;
|
|
10129
|
+
source_module: string | null;
|
|
10130
|
+
source_shell: string | null;
|
|
10128
10131
|
};
|
|
10129
10132
|
Insert: {
|
|
10133
|
+
action?: string | null;
|
|
10130
10134
|
created_at?: string;
|
|
10131
10135
|
id?: string;
|
|
10132
10136
|
order_ref: string;
|
|
10133
10137
|
reason: string;
|
|
10138
|
+
source_module?: string | null;
|
|
10139
|
+
source_shell?: string | null;
|
|
10134
10140
|
};
|
|
10135
10141
|
Update: {
|
|
10142
|
+
action?: string | null;
|
|
10136
10143
|
created_at?: string;
|
|
10137
10144
|
id?: string;
|
|
10138
10145
|
order_ref?: string;
|
|
10139
10146
|
reason?: string;
|
|
10147
|
+
source_module?: string | null;
|
|
10148
|
+
source_shell?: string | null;
|
|
10140
10149
|
};
|
|
10141
10150
|
Relationships: [];
|
|
10142
10151
|
};
|
|
@@ -10215,6 +10224,42 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
|
|
|
10215
10224
|
};
|
|
10216
10225
|
Relationships: [];
|
|
10217
10226
|
};
|
|
10227
|
+
logistics_floriday_status_sends: {
|
|
10228
|
+
Row: {
|
|
10229
|
+
action: string;
|
|
10230
|
+
created_at: string;
|
|
10231
|
+
detail: string | null;
|
|
10232
|
+
http_status: number | null;
|
|
10233
|
+
id: string;
|
|
10234
|
+
ok: boolean;
|
|
10235
|
+
order_ref: string;
|
|
10236
|
+
source_module: string | null;
|
|
10237
|
+
source_shell: string | null;
|
|
10238
|
+
};
|
|
10239
|
+
Insert: {
|
|
10240
|
+
action: string;
|
|
10241
|
+
created_at?: string;
|
|
10242
|
+
detail?: string | null;
|
|
10243
|
+
http_status?: number | null;
|
|
10244
|
+
id?: string;
|
|
10245
|
+
ok?: boolean;
|
|
10246
|
+
order_ref: string;
|
|
10247
|
+
source_module?: string | null;
|
|
10248
|
+
source_shell?: string | null;
|
|
10249
|
+
};
|
|
10250
|
+
Update: {
|
|
10251
|
+
action?: string;
|
|
10252
|
+
created_at?: string;
|
|
10253
|
+
detail?: string | null;
|
|
10254
|
+
http_status?: number | null;
|
|
10255
|
+
id?: string;
|
|
10256
|
+
ok?: boolean;
|
|
10257
|
+
order_ref?: string;
|
|
10258
|
+
source_module?: string | null;
|
|
10259
|
+
source_shell?: string | null;
|
|
10260
|
+
};
|
|
10261
|
+
Relationships: [];
|
|
10262
|
+
};
|
|
10218
10263
|
logistics_formulas: {
|
|
10219
10264
|
Row: {
|
|
10220
10265
|
created_at: string;
|
|
@@ -10287,6 +10332,66 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
|
|
|
10287
10332
|
};
|
|
10288
10333
|
Relationships: [];
|
|
10289
10334
|
};
|
|
10335
|
+
logistics_opening_exceptions: {
|
|
10336
|
+
Row: {
|
|
10337
|
+
closes: string | null;
|
|
10338
|
+
created_at: string;
|
|
10339
|
+
day: string;
|
|
10340
|
+
id: string;
|
|
10341
|
+
is_closed: boolean;
|
|
10342
|
+
note: string | null;
|
|
10343
|
+
opens: string | null;
|
|
10344
|
+
};
|
|
10345
|
+
Insert: {
|
|
10346
|
+
closes?: string | null;
|
|
10347
|
+
created_at?: string;
|
|
10348
|
+
day: string;
|
|
10349
|
+
id?: string;
|
|
10350
|
+
is_closed?: boolean;
|
|
10351
|
+
note?: string | null;
|
|
10352
|
+
opens?: string | null;
|
|
10353
|
+
};
|
|
10354
|
+
Update: {
|
|
10355
|
+
closes?: string | null;
|
|
10356
|
+
created_at?: string;
|
|
10357
|
+
day?: string;
|
|
10358
|
+
id?: string;
|
|
10359
|
+
is_closed?: boolean;
|
|
10360
|
+
note?: string | null;
|
|
10361
|
+
opens?: string | null;
|
|
10362
|
+
};
|
|
10363
|
+
Relationships: [];
|
|
10364
|
+
};
|
|
10365
|
+
logistics_opening_hours: {
|
|
10366
|
+
Row: {
|
|
10367
|
+
closes: string;
|
|
10368
|
+
created_at: string;
|
|
10369
|
+
id: string;
|
|
10370
|
+
is_active: boolean;
|
|
10371
|
+
note: string | null;
|
|
10372
|
+
opens: string;
|
|
10373
|
+
weekday: number;
|
|
10374
|
+
};
|
|
10375
|
+
Insert: {
|
|
10376
|
+
closes: string;
|
|
10377
|
+
created_at?: string;
|
|
10378
|
+
id?: string;
|
|
10379
|
+
is_active?: boolean;
|
|
10380
|
+
note?: string | null;
|
|
10381
|
+
opens: string;
|
|
10382
|
+
weekday: number;
|
|
10383
|
+
};
|
|
10384
|
+
Update: {
|
|
10385
|
+
closes?: string;
|
|
10386
|
+
created_at?: string;
|
|
10387
|
+
id?: string;
|
|
10388
|
+
is_active?: boolean;
|
|
10389
|
+
note?: string | null;
|
|
10390
|
+
opens?: string;
|
|
10391
|
+
weekday?: number;
|
|
10392
|
+
};
|
|
10393
|
+
Relationships: [];
|
|
10394
|
+
};
|
|
10290
10395
|
logistics_pickup_moments: {
|
|
10291
10396
|
Row: {
|
|
10292
10397
|
carrier_ref: string | null;
|
|
@@ -11079,6 +11184,24 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
|
|
|
11079
11184
|
};
|
|
11080
11185
|
Relationships: [];
|
|
11081
11186
|
};
|
|
11187
|
+
logistics_time_settings: {
|
|
11188
|
+
Row: {
|
|
11189
|
+
id: boolean;
|
|
11190
|
+
timezone: string;
|
|
11191
|
+
updated_at: string;
|
|
11192
|
+
};
|
|
11193
|
+
Insert: {
|
|
11194
|
+
id?: boolean;
|
|
11195
|
+
timezone: string;
|
|
11196
|
+
updated_at?: string;
|
|
11197
|
+
};
|
|
11198
|
+
Update: {
|
|
11199
|
+
id?: boolean;
|
|
11200
|
+
timezone?: string;
|
|
11201
|
+
updated_at?: string;
|
|
11202
|
+
};
|
|
11203
|
+
Relationships: [];
|
|
11204
|
+
};
|
|
11082
11205
|
logistics_variables: {
|
|
11083
11206
|
Row: {
|
|
11084
11207
|
created_at: string;
|
|
@@ -13469,6 +13592,7 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
|
|
|
13469
13592
|
customer_name: string;
|
|
13470
13593
|
deleted_at: string | null;
|
|
13471
13594
|
delivery_date: string | null;
|
|
13595
|
+
floriday_order_group_key: string | null;
|
|
13472
13596
|
floriday_sales_order_id: string | null;
|
|
13473
13597
|
id: string;
|
|
13474
13598
|
invoice_due_at: string | null;
|
|
@@ -13496,6 +13620,7 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
|
|
|
13496
13620
|
customer_name?: string;
|
|
13497
13621
|
deleted_at?: string | null;
|
|
13498
13622
|
delivery_date?: string | null;
|
|
13623
|
+
floriday_order_group_key?: string | null;
|
|
13499
13624
|
floriday_sales_order_id?: string | null;
|
|
13500
13625
|
id?: string;
|
|
13501
13626
|
invoice_due_at?: string | null;
|
|
@@ -13523,6 +13648,7 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
|
|
|
13523
13648
|
customer_name?: string;
|
|
13524
13649
|
deleted_at?: string | null;
|
|
13525
13650
|
delivery_date?: string | null;
|
|
13651
|
+
floriday_order_group_key?: string | null;
|
|
13526
13652
|
floriday_sales_order_id?: string | null;
|
|
13527
13653
|
id?: string;
|
|
13528
13654
|
invoice_due_at?: string | null;
|
|
@@ -19386,6 +19512,36 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
|
|
|
19386
19512
|
referencedColumns: ["id"];
|
|
19387
19513
|
}];
|
|
19388
19514
|
};
|
|
19515
|
+
voorraad_buffer_state: {
|
|
19516
|
+
Row: {
|
|
19517
|
+
buffer_id: string;
|
|
19518
|
+
buffer_key: string | null;
|
|
19519
|
+
closed_at: string | null;
|
|
19520
|
+
created_at: string;
|
|
19521
|
+
detached_orders: import("../integrations/supabase/types").Json;
|
|
19522
|
+
reason: string | null;
|
|
19523
|
+
updated_at: string;
|
|
19524
|
+
};
|
|
19525
|
+
Insert: {
|
|
19526
|
+
buffer_id: string;
|
|
19527
|
+
buffer_key?: string | null;
|
|
19528
|
+
closed_at?: string | null;
|
|
19529
|
+
created_at?: string;
|
|
19530
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
19531
|
+
reason?: string | null;
|
|
19532
|
+
updated_at?: string;
|
|
19533
|
+
};
|
|
19534
|
+
Update: {
|
|
19535
|
+
buffer_id?: string;
|
|
19536
|
+
buffer_key?: string | null;
|
|
19537
|
+
closed_at?: string | null;
|
|
19538
|
+
created_at?: string;
|
|
19539
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
19540
|
+
reason?: string | null;
|
|
19541
|
+
updated_at?: string;
|
|
19542
|
+
};
|
|
19543
|
+
Relationships: [];
|
|
19544
|
+
};
|
|
19389
19545
|
voorraad_custom_fields: {
|
|
19390
19546
|
Row: {
|
|
19391
19547
|
created_at: string;
|
|
@@ -19428,6 +19584,36 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
|
|
|
19428
19584
|
};
|
|
19429
19585
|
Relationships: [];
|
|
19430
19586
|
};
|
|
19587
|
+
voorraad_logistics_event_log: {
|
|
19588
|
+
Row: {
|
|
19589
|
+
created_at: string;
|
|
19590
|
+
event_id: string;
|
|
19591
|
+
event_type: string;
|
|
19592
|
+
order_ref: string | null;
|
|
19593
|
+
processed_at: string;
|
|
19594
|
+
result: import("../integrations/supabase/types").Json;
|
|
19595
|
+
updated_at: string;
|
|
19596
|
+
};
|
|
19597
|
+
Insert: {
|
|
19598
|
+
created_at?: string;
|
|
19599
|
+
event_id: string;
|
|
19600
|
+
event_type: string;
|
|
19601
|
+
order_ref?: string | null;
|
|
19602
|
+
processed_at?: string;
|
|
19603
|
+
result?: import("../integrations/supabase/types").Json;
|
|
19604
|
+
updated_at?: string;
|
|
19605
|
+
};
|
|
19606
|
+
Update: {
|
|
19607
|
+
created_at?: string;
|
|
19608
|
+
event_id?: string;
|
|
19609
|
+
event_type?: string;
|
|
19610
|
+
order_ref?: string | null;
|
|
19611
|
+
processed_at?: string;
|
|
19612
|
+
result?: import("../integrations/supabase/types").Json;
|
|
19613
|
+
updated_at?: string;
|
|
19614
|
+
};
|
|
19615
|
+
Relationships: [];
|
|
19616
|
+
};
|
|
19431
19617
|
voorraad_media_upload_failures: {
|
|
19432
19618
|
Row: {
|
|
19433
19619
|
action: string;
|
|
@@ -23397,6 +23583,12 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
|
|
|
23397
23583
|
station_carts: number;
|
|
23398
23584
|
}[];
|
|
23399
23585
|
};
|
|
23586
|
+
logistics_control_complete_cart: {
|
|
23587
|
+
Args: {
|
|
23588
|
+
p_cart_id: string;
|
|
23589
|
+
};
|
|
23590
|
+
Returns: number;
|
|
23591
|
+
};
|
|
23400
23592
|
logistics_control_scan_approve: {
|
|
23401
23593
|
Args: {
|
|
23402
23594
|
p_allow_reprint?: boolean;
|
|
@@ -23476,6 +23668,15 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
|
|
|
23476
23668
|
Args: never;
|
|
23477
23669
|
Returns: import("../integrations/supabase/types").Json;
|
|
23478
23670
|
};
|
|
23671
|
+
logistics_day_windows: {
|
|
23672
|
+
Args: {
|
|
23673
|
+
p_day: string;
|
|
23674
|
+
};
|
|
23675
|
+
Returns: {
|
|
23676
|
+
win_end: string;
|
|
23677
|
+
win_start: string;
|
|
23678
|
+
}[];
|
|
23679
|
+
};
|
|
23479
23680
|
logistics_delay_customer_email: {
|
|
23480
23681
|
Args: {
|
|
23481
23682
|
p_customer: string;
|
|
@@ -23543,6 +23744,17 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
|
|
|
23543
23744
|
};
|
|
23544
23745
|
Returns: import("../integrations/supabase/types").Json;
|
|
23545
23746
|
};
|
|
23747
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
23748
|
+
Args: {
|
|
23749
|
+
_cart_id: string;
|
|
23750
|
+
_is_herprint: boolean;
|
|
23751
|
+
_printer_id: string;
|
|
23752
|
+
_queue_item_id: string;
|
|
23753
|
+
_session_id: string;
|
|
23754
|
+
_slip_job_id: string;
|
|
23755
|
+
};
|
|
23756
|
+
Returns: string;
|
|
23757
|
+
};
|
|
23546
23758
|
logistics_enqueue_sticker_with_slip: {
|
|
23547
23759
|
Args: {
|
|
23548
23760
|
_cart_id: string;
|
|
@@ -23681,6 +23893,32 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
|
|
|
23681
23893
|
};
|
|
23682
23894
|
Returns: string;
|
|
23683
23895
|
};
|
|
23896
|
+
logistics_floriday_gate_status: {
|
|
23897
|
+
Args: never;
|
|
23898
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23899
|
+
};
|
|
23900
|
+
logistics_floriday_log_refusal: {
|
|
23901
|
+
Args: {
|
|
23902
|
+
_action?: string;
|
|
23903
|
+
_module?: string;
|
|
23904
|
+
_order_ref: string;
|
|
23905
|
+
_reason: string;
|
|
23906
|
+
_shell?: string;
|
|
23907
|
+
};
|
|
23908
|
+
Returns: undefined;
|
|
23909
|
+
};
|
|
23910
|
+
logistics_floriday_log_send: {
|
|
23911
|
+
Args: {
|
|
23912
|
+
_action: string;
|
|
23913
|
+
_detail?: string;
|
|
23914
|
+
_http_status?: number;
|
|
23915
|
+
_module?: string;
|
|
23916
|
+
_ok: boolean;
|
|
23917
|
+
_order_ref: string;
|
|
23918
|
+
_shell?: string;
|
|
23919
|
+
};
|
|
23920
|
+
Returns: undefined;
|
|
23921
|
+
};
|
|
23684
23922
|
logistics_floriday_order_approved: {
|
|
23685
23923
|
Args: {
|
|
23686
23924
|
_order_ref: string;
|
|
@@ -23705,6 +23943,16 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
|
|
|
23705
23943
|
Args: never;
|
|
23706
23944
|
Returns: boolean;
|
|
23707
23945
|
};
|
|
23946
|
+
logistics_floriday_stock_updates_enabled: {
|
|
23947
|
+
Args: never;
|
|
23948
|
+
Returns: boolean;
|
|
23949
|
+
};
|
|
23950
|
+
logistics_floriday_write_allowed: {
|
|
23951
|
+
Args: {
|
|
23952
|
+
_action: string;
|
|
23953
|
+
};
|
|
23954
|
+
Returns: boolean;
|
|
23955
|
+
};
|
|
23708
23956
|
logistics_fulfill_barcode_requests: {
|
|
23709
23957
|
Args: {
|
|
23710
23958
|
p_limit?: number;
|
|
@@ -23773,6 +24021,10 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
|
|
|
23773
24021
|
};
|
|
23774
24022
|
Returns: string;
|
|
23775
24023
|
};
|
|
24024
|
+
logistics_opening_timezone: {
|
|
24025
|
+
Args: never;
|
|
24026
|
+
Returns: string;
|
|
24027
|
+
};
|
|
23776
24028
|
logistics_order_cart_count: {
|
|
23777
24029
|
Args: {
|
|
23778
24030
|
p_order_ref: string;
|
|
@@ -24164,6 +24416,10 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
|
|
|
24164
24416
|
};
|
|
24165
24417
|
Returns: string;
|
|
24166
24418
|
};
|
|
24419
|
+
logistics_shipping_note_follows_slip: {
|
|
24420
|
+
Args: never;
|
|
24421
|
+
Returns: boolean;
|
|
24422
|
+
};
|
|
24167
24423
|
logistics_shipping_note_from_barcode: {
|
|
24168
24424
|
Args: {
|
|
24169
24425
|
p_allow_reprint?: boolean;
|
|
@@ -24176,6 +24432,14 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
|
|
|
24176
24432
|
Args: never;
|
|
24177
24433
|
Returns: boolean;
|
|
24178
24434
|
};
|
|
24435
|
+
logistics_subtract_working_minutes: {
|
|
24436
|
+
Args: {
|
|
24437
|
+
p_deadline: string;
|
|
24438
|
+
p_max_workdays?: number;
|
|
24439
|
+
p_minutes: number;
|
|
24440
|
+
};
|
|
24441
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24442
|
+
};
|
|
24179
24443
|
logistics_supersede_stale_tasks: {
|
|
24180
24444
|
Args: {
|
|
24181
24445
|
p_keep: string[];
|
|
@@ -24212,6 +24476,12 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
|
|
|
24212
24476
|
Args: never;
|
|
24213
24477
|
Returns: string;
|
|
24214
24478
|
};
|
|
24479
|
+
logistics_timezone_options: {
|
|
24480
|
+
Args: never;
|
|
24481
|
+
Returns: {
|
|
24482
|
+
name: string;
|
|
24483
|
+
}[];
|
|
24484
|
+
};
|
|
24215
24485
|
logistics_upsert_task: {
|
|
24216
24486
|
Args: {
|
|
24217
24487
|
p_buffer_ref: string;
|
|
@@ -24231,6 +24501,16 @@ export declare const getCartPlanningBundle: import("@tanstack/start-client-core"
|
|
|
24231
24501
|
};
|
|
24232
24502
|
Returns: string;
|
|
24233
24503
|
};
|
|
24504
|
+
logistics_valid_timezone: {
|
|
24505
|
+
Args: {
|
|
24506
|
+
_tz: string;
|
|
24507
|
+
};
|
|
24508
|
+
Returns: boolean;
|
|
24509
|
+
};
|
|
24510
|
+
logistics_working_hours_status: {
|
|
24511
|
+
Args: never;
|
|
24512
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24513
|
+
};
|
|
24234
24514
|
logistics_write_buffer_layer_positions: {
|
|
24235
24515
|
Args: {
|
|
24236
24516
|
p_buffer_id: string;
|
|
@@ -36261,22 +36541,31 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
|
|
|
36261
36541
|
};
|
|
36262
36542
|
logistics_floriday_push_refusals: {
|
|
36263
36543
|
Row: {
|
|
36544
|
+
action: string | null;
|
|
36264
36545
|
created_at: string;
|
|
36265
36546
|
id: string;
|
|
36266
36547
|
order_ref: string;
|
|
36267
36548
|
reason: string;
|
|
36549
|
+
source_module: string | null;
|
|
36550
|
+
source_shell: string | null;
|
|
36268
36551
|
};
|
|
36269
36552
|
Insert: {
|
|
36553
|
+
action?: string | null;
|
|
36270
36554
|
created_at?: string;
|
|
36271
36555
|
id?: string;
|
|
36272
36556
|
order_ref: string;
|
|
36273
36557
|
reason: string;
|
|
36558
|
+
source_module?: string | null;
|
|
36559
|
+
source_shell?: string | null;
|
|
36274
36560
|
};
|
|
36275
36561
|
Update: {
|
|
36562
|
+
action?: string | null;
|
|
36276
36563
|
created_at?: string;
|
|
36277
36564
|
id?: string;
|
|
36278
36565
|
order_ref?: string;
|
|
36279
36566
|
reason?: string;
|
|
36567
|
+
source_module?: string | null;
|
|
36568
|
+
source_shell?: string | null;
|
|
36280
36569
|
};
|
|
36281
36570
|
Relationships: [];
|
|
36282
36571
|
};
|
|
@@ -36355,6 +36644,42 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
|
|
|
36355
36644
|
};
|
|
36356
36645
|
Relationships: [];
|
|
36357
36646
|
};
|
|
36647
|
+
logistics_floriday_status_sends: {
|
|
36648
|
+
Row: {
|
|
36649
|
+
action: string;
|
|
36650
|
+
created_at: string;
|
|
36651
|
+
detail: string | null;
|
|
36652
|
+
http_status: number | null;
|
|
36653
|
+
id: string;
|
|
36654
|
+
ok: boolean;
|
|
36655
|
+
order_ref: string;
|
|
36656
|
+
source_module: string | null;
|
|
36657
|
+
source_shell: string | null;
|
|
36658
|
+
};
|
|
36659
|
+
Insert: {
|
|
36660
|
+
action: string;
|
|
36661
|
+
created_at?: string;
|
|
36662
|
+
detail?: string | null;
|
|
36663
|
+
http_status?: number | null;
|
|
36664
|
+
id?: string;
|
|
36665
|
+
ok?: boolean;
|
|
36666
|
+
order_ref: string;
|
|
36667
|
+
source_module?: string | null;
|
|
36668
|
+
source_shell?: string | null;
|
|
36669
|
+
};
|
|
36670
|
+
Update: {
|
|
36671
|
+
action?: string;
|
|
36672
|
+
created_at?: string;
|
|
36673
|
+
detail?: string | null;
|
|
36674
|
+
http_status?: number | null;
|
|
36675
|
+
id?: string;
|
|
36676
|
+
ok?: boolean;
|
|
36677
|
+
order_ref?: string;
|
|
36678
|
+
source_module?: string | null;
|
|
36679
|
+
source_shell?: string | null;
|
|
36680
|
+
};
|
|
36681
|
+
Relationships: [];
|
|
36682
|
+
};
|
|
36358
36683
|
logistics_formulas: {
|
|
36359
36684
|
Row: {
|
|
36360
36685
|
created_at: string;
|
|
@@ -36427,6 +36752,66 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
|
|
|
36427
36752
|
};
|
|
36428
36753
|
Relationships: [];
|
|
36429
36754
|
};
|
|
36755
|
+
logistics_opening_exceptions: {
|
|
36756
|
+
Row: {
|
|
36757
|
+
closes: string | null;
|
|
36758
|
+
created_at: string;
|
|
36759
|
+
day: string;
|
|
36760
|
+
id: string;
|
|
36761
|
+
is_closed: boolean;
|
|
36762
|
+
note: string | null;
|
|
36763
|
+
opens: string | null;
|
|
36764
|
+
};
|
|
36765
|
+
Insert: {
|
|
36766
|
+
closes?: string | null;
|
|
36767
|
+
created_at?: string;
|
|
36768
|
+
day: string;
|
|
36769
|
+
id?: string;
|
|
36770
|
+
is_closed?: boolean;
|
|
36771
|
+
note?: string | null;
|
|
36772
|
+
opens?: string | null;
|
|
36773
|
+
};
|
|
36774
|
+
Update: {
|
|
36775
|
+
closes?: string | null;
|
|
36776
|
+
created_at?: string;
|
|
36777
|
+
day?: string;
|
|
36778
|
+
id?: string;
|
|
36779
|
+
is_closed?: boolean;
|
|
36780
|
+
note?: string | null;
|
|
36781
|
+
opens?: string | null;
|
|
36782
|
+
};
|
|
36783
|
+
Relationships: [];
|
|
36784
|
+
};
|
|
36785
|
+
logistics_opening_hours: {
|
|
36786
|
+
Row: {
|
|
36787
|
+
closes: string;
|
|
36788
|
+
created_at: string;
|
|
36789
|
+
id: string;
|
|
36790
|
+
is_active: boolean;
|
|
36791
|
+
note: string | null;
|
|
36792
|
+
opens: string;
|
|
36793
|
+
weekday: number;
|
|
36794
|
+
};
|
|
36795
|
+
Insert: {
|
|
36796
|
+
closes: string;
|
|
36797
|
+
created_at?: string;
|
|
36798
|
+
id?: string;
|
|
36799
|
+
is_active?: boolean;
|
|
36800
|
+
note?: string | null;
|
|
36801
|
+
opens: string;
|
|
36802
|
+
weekday: number;
|
|
36803
|
+
};
|
|
36804
|
+
Update: {
|
|
36805
|
+
closes?: string;
|
|
36806
|
+
created_at?: string;
|
|
36807
|
+
id?: string;
|
|
36808
|
+
is_active?: boolean;
|
|
36809
|
+
note?: string | null;
|
|
36810
|
+
opens?: string;
|
|
36811
|
+
weekday?: number;
|
|
36812
|
+
};
|
|
36813
|
+
Relationships: [];
|
|
36814
|
+
};
|
|
36430
36815
|
logistics_pickup_moments: {
|
|
36431
36816
|
Row: {
|
|
36432
36817
|
carrier_ref: string | null;
|
|
@@ -37219,6 +37604,24 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
|
|
|
37219
37604
|
};
|
|
37220
37605
|
Relationships: [];
|
|
37221
37606
|
};
|
|
37607
|
+
logistics_time_settings: {
|
|
37608
|
+
Row: {
|
|
37609
|
+
id: boolean;
|
|
37610
|
+
timezone: string;
|
|
37611
|
+
updated_at: string;
|
|
37612
|
+
};
|
|
37613
|
+
Insert: {
|
|
37614
|
+
id?: boolean;
|
|
37615
|
+
timezone: string;
|
|
37616
|
+
updated_at?: string;
|
|
37617
|
+
};
|
|
37618
|
+
Update: {
|
|
37619
|
+
id?: boolean;
|
|
37620
|
+
timezone?: string;
|
|
37621
|
+
updated_at?: string;
|
|
37622
|
+
};
|
|
37623
|
+
Relationships: [];
|
|
37624
|
+
};
|
|
37222
37625
|
logistics_variables: {
|
|
37223
37626
|
Row: {
|
|
37224
37627
|
created_at: string;
|
|
@@ -39609,6 +40012,7 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
|
|
|
39609
40012
|
customer_name: string;
|
|
39610
40013
|
deleted_at: string | null;
|
|
39611
40014
|
delivery_date: string | null;
|
|
40015
|
+
floriday_order_group_key: string | null;
|
|
39612
40016
|
floriday_sales_order_id: string | null;
|
|
39613
40017
|
id: string;
|
|
39614
40018
|
invoice_due_at: string | null;
|
|
@@ -39636,6 +40040,7 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
|
|
|
39636
40040
|
customer_name?: string;
|
|
39637
40041
|
deleted_at?: string | null;
|
|
39638
40042
|
delivery_date?: string | null;
|
|
40043
|
+
floriday_order_group_key?: string | null;
|
|
39639
40044
|
floriday_sales_order_id?: string | null;
|
|
39640
40045
|
id?: string;
|
|
39641
40046
|
invoice_due_at?: string | null;
|
|
@@ -39663,6 +40068,7 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
|
|
|
39663
40068
|
customer_name?: string;
|
|
39664
40069
|
deleted_at?: string | null;
|
|
39665
40070
|
delivery_date?: string | null;
|
|
40071
|
+
floriday_order_group_key?: string | null;
|
|
39666
40072
|
floriday_sales_order_id?: string | null;
|
|
39667
40073
|
id?: string;
|
|
39668
40074
|
invoice_due_at?: string | null;
|
|
@@ -45526,6 +45932,36 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
|
|
|
45526
45932
|
referencedColumns: ["id"];
|
|
45527
45933
|
}];
|
|
45528
45934
|
};
|
|
45935
|
+
voorraad_buffer_state: {
|
|
45936
|
+
Row: {
|
|
45937
|
+
buffer_id: string;
|
|
45938
|
+
buffer_key: string | null;
|
|
45939
|
+
closed_at: string | null;
|
|
45940
|
+
created_at: string;
|
|
45941
|
+
detached_orders: import("../integrations/supabase/types").Json;
|
|
45942
|
+
reason: string | null;
|
|
45943
|
+
updated_at: string;
|
|
45944
|
+
};
|
|
45945
|
+
Insert: {
|
|
45946
|
+
buffer_id: string;
|
|
45947
|
+
buffer_key?: string | null;
|
|
45948
|
+
closed_at?: string | null;
|
|
45949
|
+
created_at?: string;
|
|
45950
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
45951
|
+
reason?: string | null;
|
|
45952
|
+
updated_at?: string;
|
|
45953
|
+
};
|
|
45954
|
+
Update: {
|
|
45955
|
+
buffer_id?: string;
|
|
45956
|
+
buffer_key?: string | null;
|
|
45957
|
+
closed_at?: string | null;
|
|
45958
|
+
created_at?: string;
|
|
45959
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
45960
|
+
reason?: string | null;
|
|
45961
|
+
updated_at?: string;
|
|
45962
|
+
};
|
|
45963
|
+
Relationships: [];
|
|
45964
|
+
};
|
|
45529
45965
|
voorraad_custom_fields: {
|
|
45530
45966
|
Row: {
|
|
45531
45967
|
created_at: string;
|
|
@@ -45568,6 +46004,36 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
|
|
|
45568
46004
|
};
|
|
45569
46005
|
Relationships: [];
|
|
45570
46006
|
};
|
|
46007
|
+
voorraad_logistics_event_log: {
|
|
46008
|
+
Row: {
|
|
46009
|
+
created_at: string;
|
|
46010
|
+
event_id: string;
|
|
46011
|
+
event_type: string;
|
|
46012
|
+
order_ref: string | null;
|
|
46013
|
+
processed_at: string;
|
|
46014
|
+
result: import("../integrations/supabase/types").Json;
|
|
46015
|
+
updated_at: string;
|
|
46016
|
+
};
|
|
46017
|
+
Insert: {
|
|
46018
|
+
created_at?: string;
|
|
46019
|
+
event_id: string;
|
|
46020
|
+
event_type: string;
|
|
46021
|
+
order_ref?: string | null;
|
|
46022
|
+
processed_at?: string;
|
|
46023
|
+
result?: import("../integrations/supabase/types").Json;
|
|
46024
|
+
updated_at?: string;
|
|
46025
|
+
};
|
|
46026
|
+
Update: {
|
|
46027
|
+
created_at?: string;
|
|
46028
|
+
event_id?: string;
|
|
46029
|
+
event_type?: string;
|
|
46030
|
+
order_ref?: string | null;
|
|
46031
|
+
processed_at?: string;
|
|
46032
|
+
result?: import("../integrations/supabase/types").Json;
|
|
46033
|
+
updated_at?: string;
|
|
46034
|
+
};
|
|
46035
|
+
Relationships: [];
|
|
46036
|
+
};
|
|
45571
46037
|
voorraad_media_upload_failures: {
|
|
45572
46038
|
Row: {
|
|
45573
46039
|
action: string;
|
|
@@ -49537,6 +50003,12 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
|
|
|
49537
50003
|
station_carts: number;
|
|
49538
50004
|
}[];
|
|
49539
50005
|
};
|
|
50006
|
+
logistics_control_complete_cart: {
|
|
50007
|
+
Args: {
|
|
50008
|
+
p_cart_id: string;
|
|
50009
|
+
};
|
|
50010
|
+
Returns: number;
|
|
50011
|
+
};
|
|
49540
50012
|
logistics_control_scan_approve: {
|
|
49541
50013
|
Args: {
|
|
49542
50014
|
p_allow_reprint?: boolean;
|
|
@@ -49616,6 +50088,15 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
|
|
|
49616
50088
|
Args: never;
|
|
49617
50089
|
Returns: import("../integrations/supabase/types").Json;
|
|
49618
50090
|
};
|
|
50091
|
+
logistics_day_windows: {
|
|
50092
|
+
Args: {
|
|
50093
|
+
p_day: string;
|
|
50094
|
+
};
|
|
50095
|
+
Returns: {
|
|
50096
|
+
win_end: string;
|
|
50097
|
+
win_start: string;
|
|
50098
|
+
}[];
|
|
50099
|
+
};
|
|
49619
50100
|
logistics_delay_customer_email: {
|
|
49620
50101
|
Args: {
|
|
49621
50102
|
p_customer: string;
|
|
@@ -49683,6 +50164,17 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
|
|
|
49683
50164
|
};
|
|
49684
50165
|
Returns: import("../integrations/supabase/types").Json;
|
|
49685
50166
|
};
|
|
50167
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
50168
|
+
Args: {
|
|
50169
|
+
_cart_id: string;
|
|
50170
|
+
_is_herprint: boolean;
|
|
50171
|
+
_printer_id: string;
|
|
50172
|
+
_queue_item_id: string;
|
|
50173
|
+
_session_id: string;
|
|
50174
|
+
_slip_job_id: string;
|
|
50175
|
+
};
|
|
50176
|
+
Returns: string;
|
|
50177
|
+
};
|
|
49686
50178
|
logistics_enqueue_sticker_with_slip: {
|
|
49687
50179
|
Args: {
|
|
49688
50180
|
_cart_id: string;
|
|
@@ -49821,6 +50313,32 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
|
|
|
49821
50313
|
};
|
|
49822
50314
|
Returns: string;
|
|
49823
50315
|
};
|
|
50316
|
+
logistics_floriday_gate_status: {
|
|
50317
|
+
Args: never;
|
|
50318
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
50319
|
+
};
|
|
50320
|
+
logistics_floriday_log_refusal: {
|
|
50321
|
+
Args: {
|
|
50322
|
+
_action?: string;
|
|
50323
|
+
_module?: string;
|
|
50324
|
+
_order_ref: string;
|
|
50325
|
+
_reason: string;
|
|
50326
|
+
_shell?: string;
|
|
50327
|
+
};
|
|
50328
|
+
Returns: undefined;
|
|
50329
|
+
};
|
|
50330
|
+
logistics_floriday_log_send: {
|
|
50331
|
+
Args: {
|
|
50332
|
+
_action: string;
|
|
50333
|
+
_detail?: string;
|
|
50334
|
+
_http_status?: number;
|
|
50335
|
+
_module?: string;
|
|
50336
|
+
_ok: boolean;
|
|
50337
|
+
_order_ref: string;
|
|
50338
|
+
_shell?: string;
|
|
50339
|
+
};
|
|
50340
|
+
Returns: undefined;
|
|
50341
|
+
};
|
|
49824
50342
|
logistics_floriday_order_approved: {
|
|
49825
50343
|
Args: {
|
|
49826
50344
|
_order_ref: string;
|
|
@@ -49845,6 +50363,16 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
|
|
|
49845
50363
|
Args: never;
|
|
49846
50364
|
Returns: boolean;
|
|
49847
50365
|
};
|
|
50366
|
+
logistics_floriday_stock_updates_enabled: {
|
|
50367
|
+
Args: never;
|
|
50368
|
+
Returns: boolean;
|
|
50369
|
+
};
|
|
50370
|
+
logistics_floriday_write_allowed: {
|
|
50371
|
+
Args: {
|
|
50372
|
+
_action: string;
|
|
50373
|
+
};
|
|
50374
|
+
Returns: boolean;
|
|
50375
|
+
};
|
|
49848
50376
|
logistics_fulfill_barcode_requests: {
|
|
49849
50377
|
Args: {
|
|
49850
50378
|
p_limit?: number;
|
|
@@ -49913,6 +50441,10 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
|
|
|
49913
50441
|
};
|
|
49914
50442
|
Returns: string;
|
|
49915
50443
|
};
|
|
50444
|
+
logistics_opening_timezone: {
|
|
50445
|
+
Args: never;
|
|
50446
|
+
Returns: string;
|
|
50447
|
+
};
|
|
49916
50448
|
logistics_order_cart_count: {
|
|
49917
50449
|
Args: {
|
|
49918
50450
|
p_order_ref: string;
|
|
@@ -50304,6 +50836,10 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
|
|
|
50304
50836
|
};
|
|
50305
50837
|
Returns: string;
|
|
50306
50838
|
};
|
|
50839
|
+
logistics_shipping_note_follows_slip: {
|
|
50840
|
+
Args: never;
|
|
50841
|
+
Returns: boolean;
|
|
50842
|
+
};
|
|
50307
50843
|
logistics_shipping_note_from_barcode: {
|
|
50308
50844
|
Args: {
|
|
50309
50845
|
p_allow_reprint?: boolean;
|
|
@@ -50316,6 +50852,14 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
|
|
|
50316
50852
|
Args: never;
|
|
50317
50853
|
Returns: boolean;
|
|
50318
50854
|
};
|
|
50855
|
+
logistics_subtract_working_minutes: {
|
|
50856
|
+
Args: {
|
|
50857
|
+
p_deadline: string;
|
|
50858
|
+
p_max_workdays?: number;
|
|
50859
|
+
p_minutes: number;
|
|
50860
|
+
};
|
|
50861
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
50862
|
+
};
|
|
50319
50863
|
logistics_supersede_stale_tasks: {
|
|
50320
50864
|
Args: {
|
|
50321
50865
|
p_keep: string[];
|
|
@@ -50352,6 +50896,12 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
|
|
|
50352
50896
|
Args: never;
|
|
50353
50897
|
Returns: string;
|
|
50354
50898
|
};
|
|
50899
|
+
logistics_timezone_options: {
|
|
50900
|
+
Args: never;
|
|
50901
|
+
Returns: {
|
|
50902
|
+
name: string;
|
|
50903
|
+
}[];
|
|
50904
|
+
};
|
|
50355
50905
|
logistics_upsert_task: {
|
|
50356
50906
|
Args: {
|
|
50357
50907
|
p_buffer_ref: string;
|
|
@@ -50371,6 +50921,16 @@ export declare const updateCartPlanningSettings: import("@tanstack/start-client-
|
|
|
50371
50921
|
};
|
|
50372
50922
|
Returns: string;
|
|
50373
50923
|
};
|
|
50924
|
+
logistics_valid_timezone: {
|
|
50925
|
+
Args: {
|
|
50926
|
+
_tz: string;
|
|
50927
|
+
};
|
|
50928
|
+
Returns: boolean;
|
|
50929
|
+
};
|
|
50930
|
+
logistics_working_hours_status: {
|
|
50931
|
+
Args: never;
|
|
50932
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
50933
|
+
};
|
|
50374
50934
|
logistics_write_buffer_layer_positions: {
|
|
50375
50935
|
Args: {
|
|
50376
50936
|
p_buffer_id: string;
|
|
@@ -62420,22 +62980,31 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
|
|
|
62420
62980
|
};
|
|
62421
62981
|
logistics_floriday_push_refusals: {
|
|
62422
62982
|
Row: {
|
|
62983
|
+
action: string | null;
|
|
62423
62984
|
created_at: string;
|
|
62424
62985
|
id: string;
|
|
62425
62986
|
order_ref: string;
|
|
62426
62987
|
reason: string;
|
|
62988
|
+
source_module: string | null;
|
|
62989
|
+
source_shell: string | null;
|
|
62427
62990
|
};
|
|
62428
62991
|
Insert: {
|
|
62992
|
+
action?: string | null;
|
|
62429
62993
|
created_at?: string;
|
|
62430
62994
|
id?: string;
|
|
62431
62995
|
order_ref: string;
|
|
62432
62996
|
reason: string;
|
|
62997
|
+
source_module?: string | null;
|
|
62998
|
+
source_shell?: string | null;
|
|
62433
62999
|
};
|
|
62434
63000
|
Update: {
|
|
63001
|
+
action?: string | null;
|
|
62435
63002
|
created_at?: string;
|
|
62436
63003
|
id?: string;
|
|
62437
63004
|
order_ref?: string;
|
|
62438
63005
|
reason?: string;
|
|
63006
|
+
source_module?: string | null;
|
|
63007
|
+
source_shell?: string | null;
|
|
62439
63008
|
};
|
|
62440
63009
|
Relationships: [];
|
|
62441
63010
|
};
|
|
@@ -62514,6 +63083,42 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
|
|
|
62514
63083
|
};
|
|
62515
63084
|
Relationships: [];
|
|
62516
63085
|
};
|
|
63086
|
+
logistics_floriday_status_sends: {
|
|
63087
|
+
Row: {
|
|
63088
|
+
action: string;
|
|
63089
|
+
created_at: string;
|
|
63090
|
+
detail: string | null;
|
|
63091
|
+
http_status: number | null;
|
|
63092
|
+
id: string;
|
|
63093
|
+
ok: boolean;
|
|
63094
|
+
order_ref: string;
|
|
63095
|
+
source_module: string | null;
|
|
63096
|
+
source_shell: string | null;
|
|
63097
|
+
};
|
|
63098
|
+
Insert: {
|
|
63099
|
+
action: string;
|
|
63100
|
+
created_at?: string;
|
|
63101
|
+
detail?: string | null;
|
|
63102
|
+
http_status?: number | null;
|
|
63103
|
+
id?: string;
|
|
63104
|
+
ok?: boolean;
|
|
63105
|
+
order_ref: string;
|
|
63106
|
+
source_module?: string | null;
|
|
63107
|
+
source_shell?: string | null;
|
|
63108
|
+
};
|
|
63109
|
+
Update: {
|
|
63110
|
+
action?: string;
|
|
63111
|
+
created_at?: string;
|
|
63112
|
+
detail?: string | null;
|
|
63113
|
+
http_status?: number | null;
|
|
63114
|
+
id?: string;
|
|
63115
|
+
ok?: boolean;
|
|
63116
|
+
order_ref?: string;
|
|
63117
|
+
source_module?: string | null;
|
|
63118
|
+
source_shell?: string | null;
|
|
63119
|
+
};
|
|
63120
|
+
Relationships: [];
|
|
63121
|
+
};
|
|
62517
63122
|
logistics_formulas: {
|
|
62518
63123
|
Row: {
|
|
62519
63124
|
created_at: string;
|
|
@@ -62586,6 +63191,66 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
|
|
|
62586
63191
|
};
|
|
62587
63192
|
Relationships: [];
|
|
62588
63193
|
};
|
|
63194
|
+
logistics_opening_exceptions: {
|
|
63195
|
+
Row: {
|
|
63196
|
+
closes: string | null;
|
|
63197
|
+
created_at: string;
|
|
63198
|
+
day: string;
|
|
63199
|
+
id: string;
|
|
63200
|
+
is_closed: boolean;
|
|
63201
|
+
note: string | null;
|
|
63202
|
+
opens: string | null;
|
|
63203
|
+
};
|
|
63204
|
+
Insert: {
|
|
63205
|
+
closes?: string | null;
|
|
63206
|
+
created_at?: string;
|
|
63207
|
+
day: string;
|
|
63208
|
+
id?: string;
|
|
63209
|
+
is_closed?: boolean;
|
|
63210
|
+
note?: string | null;
|
|
63211
|
+
opens?: string | null;
|
|
63212
|
+
};
|
|
63213
|
+
Update: {
|
|
63214
|
+
closes?: string | null;
|
|
63215
|
+
created_at?: string;
|
|
63216
|
+
day?: string;
|
|
63217
|
+
id?: string;
|
|
63218
|
+
is_closed?: boolean;
|
|
63219
|
+
note?: string | null;
|
|
63220
|
+
opens?: string | null;
|
|
63221
|
+
};
|
|
63222
|
+
Relationships: [];
|
|
63223
|
+
};
|
|
63224
|
+
logistics_opening_hours: {
|
|
63225
|
+
Row: {
|
|
63226
|
+
closes: string;
|
|
63227
|
+
created_at: string;
|
|
63228
|
+
id: string;
|
|
63229
|
+
is_active: boolean;
|
|
63230
|
+
note: string | null;
|
|
63231
|
+
opens: string;
|
|
63232
|
+
weekday: number;
|
|
63233
|
+
};
|
|
63234
|
+
Insert: {
|
|
63235
|
+
closes: string;
|
|
63236
|
+
created_at?: string;
|
|
63237
|
+
id?: string;
|
|
63238
|
+
is_active?: boolean;
|
|
63239
|
+
note?: string | null;
|
|
63240
|
+
opens: string;
|
|
63241
|
+
weekday: number;
|
|
63242
|
+
};
|
|
63243
|
+
Update: {
|
|
63244
|
+
closes?: string;
|
|
63245
|
+
created_at?: string;
|
|
63246
|
+
id?: string;
|
|
63247
|
+
is_active?: boolean;
|
|
63248
|
+
note?: string | null;
|
|
63249
|
+
opens?: string;
|
|
63250
|
+
weekday?: number;
|
|
63251
|
+
};
|
|
63252
|
+
Relationships: [];
|
|
63253
|
+
};
|
|
62589
63254
|
logistics_pickup_moments: {
|
|
62590
63255
|
Row: {
|
|
62591
63256
|
carrier_ref: string | null;
|
|
@@ -63378,6 +64043,24 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
|
|
|
63378
64043
|
};
|
|
63379
64044
|
Relationships: [];
|
|
63380
64045
|
};
|
|
64046
|
+
logistics_time_settings: {
|
|
64047
|
+
Row: {
|
|
64048
|
+
id: boolean;
|
|
64049
|
+
timezone: string;
|
|
64050
|
+
updated_at: string;
|
|
64051
|
+
};
|
|
64052
|
+
Insert: {
|
|
64053
|
+
id?: boolean;
|
|
64054
|
+
timezone: string;
|
|
64055
|
+
updated_at?: string;
|
|
64056
|
+
};
|
|
64057
|
+
Update: {
|
|
64058
|
+
id?: boolean;
|
|
64059
|
+
timezone?: string;
|
|
64060
|
+
updated_at?: string;
|
|
64061
|
+
};
|
|
64062
|
+
Relationships: [];
|
|
64063
|
+
};
|
|
63381
64064
|
logistics_variables: {
|
|
63382
64065
|
Row: {
|
|
63383
64066
|
created_at: string;
|
|
@@ -65768,6 +66451,7 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
|
|
|
65768
66451
|
customer_name: string;
|
|
65769
66452
|
deleted_at: string | null;
|
|
65770
66453
|
delivery_date: string | null;
|
|
66454
|
+
floriday_order_group_key: string | null;
|
|
65771
66455
|
floriday_sales_order_id: string | null;
|
|
65772
66456
|
id: string;
|
|
65773
66457
|
invoice_due_at: string | null;
|
|
@@ -65795,6 +66479,7 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
|
|
|
65795
66479
|
customer_name?: string;
|
|
65796
66480
|
deleted_at?: string | null;
|
|
65797
66481
|
delivery_date?: string | null;
|
|
66482
|
+
floriday_order_group_key?: string | null;
|
|
65798
66483
|
floriday_sales_order_id?: string | null;
|
|
65799
66484
|
id?: string;
|
|
65800
66485
|
invoice_due_at?: string | null;
|
|
@@ -65822,6 +66507,7 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
|
|
|
65822
66507
|
customer_name?: string;
|
|
65823
66508
|
deleted_at?: string | null;
|
|
65824
66509
|
delivery_date?: string | null;
|
|
66510
|
+
floriday_order_group_key?: string | null;
|
|
65825
66511
|
floriday_sales_order_id?: string | null;
|
|
65826
66512
|
id?: string;
|
|
65827
66513
|
invoice_due_at?: string | null;
|
|
@@ -71685,6 +72371,36 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
|
|
|
71685
72371
|
referencedColumns: ["id"];
|
|
71686
72372
|
}];
|
|
71687
72373
|
};
|
|
72374
|
+
voorraad_buffer_state: {
|
|
72375
|
+
Row: {
|
|
72376
|
+
buffer_id: string;
|
|
72377
|
+
buffer_key: string | null;
|
|
72378
|
+
closed_at: string | null;
|
|
72379
|
+
created_at: string;
|
|
72380
|
+
detached_orders: import("../integrations/supabase/types").Json;
|
|
72381
|
+
reason: string | null;
|
|
72382
|
+
updated_at: string;
|
|
72383
|
+
};
|
|
72384
|
+
Insert: {
|
|
72385
|
+
buffer_id: string;
|
|
72386
|
+
buffer_key?: string | null;
|
|
72387
|
+
closed_at?: string | null;
|
|
72388
|
+
created_at?: string;
|
|
72389
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
72390
|
+
reason?: string | null;
|
|
72391
|
+
updated_at?: string;
|
|
72392
|
+
};
|
|
72393
|
+
Update: {
|
|
72394
|
+
buffer_id?: string;
|
|
72395
|
+
buffer_key?: string | null;
|
|
72396
|
+
closed_at?: string | null;
|
|
72397
|
+
created_at?: string;
|
|
72398
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
72399
|
+
reason?: string | null;
|
|
72400
|
+
updated_at?: string;
|
|
72401
|
+
};
|
|
72402
|
+
Relationships: [];
|
|
72403
|
+
};
|
|
71688
72404
|
voorraad_custom_fields: {
|
|
71689
72405
|
Row: {
|
|
71690
72406
|
created_at: string;
|
|
@@ -71727,6 +72443,36 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
|
|
|
71727
72443
|
};
|
|
71728
72444
|
Relationships: [];
|
|
71729
72445
|
};
|
|
72446
|
+
voorraad_logistics_event_log: {
|
|
72447
|
+
Row: {
|
|
72448
|
+
created_at: string;
|
|
72449
|
+
event_id: string;
|
|
72450
|
+
event_type: string;
|
|
72451
|
+
order_ref: string | null;
|
|
72452
|
+
processed_at: string;
|
|
72453
|
+
result: import("../integrations/supabase/types").Json;
|
|
72454
|
+
updated_at: string;
|
|
72455
|
+
};
|
|
72456
|
+
Insert: {
|
|
72457
|
+
created_at?: string;
|
|
72458
|
+
event_id: string;
|
|
72459
|
+
event_type: string;
|
|
72460
|
+
order_ref?: string | null;
|
|
72461
|
+
processed_at?: string;
|
|
72462
|
+
result?: import("../integrations/supabase/types").Json;
|
|
72463
|
+
updated_at?: string;
|
|
72464
|
+
};
|
|
72465
|
+
Update: {
|
|
72466
|
+
created_at?: string;
|
|
72467
|
+
event_id?: string;
|
|
72468
|
+
event_type?: string;
|
|
72469
|
+
order_ref?: string | null;
|
|
72470
|
+
processed_at?: string;
|
|
72471
|
+
result?: import("../integrations/supabase/types").Json;
|
|
72472
|
+
updated_at?: string;
|
|
72473
|
+
};
|
|
72474
|
+
Relationships: [];
|
|
72475
|
+
};
|
|
71730
72476
|
voorraad_media_upload_failures: {
|
|
71731
72477
|
Row: {
|
|
71732
72478
|
action: string;
|
|
@@ -75696,6 +76442,12 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
|
|
|
75696
76442
|
station_carts: number;
|
|
75697
76443
|
}[];
|
|
75698
76444
|
};
|
|
76445
|
+
logistics_control_complete_cart: {
|
|
76446
|
+
Args: {
|
|
76447
|
+
p_cart_id: string;
|
|
76448
|
+
};
|
|
76449
|
+
Returns: number;
|
|
76450
|
+
};
|
|
75699
76451
|
logistics_control_scan_approve: {
|
|
75700
76452
|
Args: {
|
|
75701
76453
|
p_allow_reprint?: boolean;
|
|
@@ -75775,6 +76527,15 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
|
|
|
75775
76527
|
Args: never;
|
|
75776
76528
|
Returns: import("../integrations/supabase/types").Json;
|
|
75777
76529
|
};
|
|
76530
|
+
logistics_day_windows: {
|
|
76531
|
+
Args: {
|
|
76532
|
+
p_day: string;
|
|
76533
|
+
};
|
|
76534
|
+
Returns: {
|
|
76535
|
+
win_end: string;
|
|
76536
|
+
win_start: string;
|
|
76537
|
+
}[];
|
|
76538
|
+
};
|
|
75778
76539
|
logistics_delay_customer_email: {
|
|
75779
76540
|
Args: {
|
|
75780
76541
|
p_customer: string;
|
|
@@ -75842,6 +76603,17 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
|
|
|
75842
76603
|
};
|
|
75843
76604
|
Returns: import("../integrations/supabase/types").Json;
|
|
75844
76605
|
};
|
|
76606
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
76607
|
+
Args: {
|
|
76608
|
+
_cart_id: string;
|
|
76609
|
+
_is_herprint: boolean;
|
|
76610
|
+
_printer_id: string;
|
|
76611
|
+
_queue_item_id: string;
|
|
76612
|
+
_session_id: string;
|
|
76613
|
+
_slip_job_id: string;
|
|
76614
|
+
};
|
|
76615
|
+
Returns: string;
|
|
76616
|
+
};
|
|
75845
76617
|
logistics_enqueue_sticker_with_slip: {
|
|
75846
76618
|
Args: {
|
|
75847
76619
|
_cart_id: string;
|
|
@@ -75980,6 +76752,32 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
|
|
|
75980
76752
|
};
|
|
75981
76753
|
Returns: string;
|
|
75982
76754
|
};
|
|
76755
|
+
logistics_floriday_gate_status: {
|
|
76756
|
+
Args: never;
|
|
76757
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
76758
|
+
};
|
|
76759
|
+
logistics_floriday_log_refusal: {
|
|
76760
|
+
Args: {
|
|
76761
|
+
_action?: string;
|
|
76762
|
+
_module?: string;
|
|
76763
|
+
_order_ref: string;
|
|
76764
|
+
_reason: string;
|
|
76765
|
+
_shell?: string;
|
|
76766
|
+
};
|
|
76767
|
+
Returns: undefined;
|
|
76768
|
+
};
|
|
76769
|
+
logistics_floriday_log_send: {
|
|
76770
|
+
Args: {
|
|
76771
|
+
_action: string;
|
|
76772
|
+
_detail?: string;
|
|
76773
|
+
_http_status?: number;
|
|
76774
|
+
_module?: string;
|
|
76775
|
+
_ok: boolean;
|
|
76776
|
+
_order_ref: string;
|
|
76777
|
+
_shell?: string;
|
|
76778
|
+
};
|
|
76779
|
+
Returns: undefined;
|
|
76780
|
+
};
|
|
75983
76781
|
logistics_floriday_order_approved: {
|
|
75984
76782
|
Args: {
|
|
75985
76783
|
_order_ref: string;
|
|
@@ -76004,6 +76802,16 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
|
|
|
76004
76802
|
Args: never;
|
|
76005
76803
|
Returns: boolean;
|
|
76006
76804
|
};
|
|
76805
|
+
logistics_floriday_stock_updates_enabled: {
|
|
76806
|
+
Args: never;
|
|
76807
|
+
Returns: boolean;
|
|
76808
|
+
};
|
|
76809
|
+
logistics_floriday_write_allowed: {
|
|
76810
|
+
Args: {
|
|
76811
|
+
_action: string;
|
|
76812
|
+
};
|
|
76813
|
+
Returns: boolean;
|
|
76814
|
+
};
|
|
76007
76815
|
logistics_fulfill_barcode_requests: {
|
|
76008
76816
|
Args: {
|
|
76009
76817
|
p_limit?: number;
|
|
@@ -76072,6 +76880,10 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
|
|
|
76072
76880
|
};
|
|
76073
76881
|
Returns: string;
|
|
76074
76882
|
};
|
|
76883
|
+
logistics_opening_timezone: {
|
|
76884
|
+
Args: never;
|
|
76885
|
+
Returns: string;
|
|
76886
|
+
};
|
|
76075
76887
|
logistics_order_cart_count: {
|
|
76076
76888
|
Args: {
|
|
76077
76889
|
p_order_ref: string;
|
|
@@ -76463,6 +77275,10 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
|
|
|
76463
77275
|
};
|
|
76464
77276
|
Returns: string;
|
|
76465
77277
|
};
|
|
77278
|
+
logistics_shipping_note_follows_slip: {
|
|
77279
|
+
Args: never;
|
|
77280
|
+
Returns: boolean;
|
|
77281
|
+
};
|
|
76466
77282
|
logistics_shipping_note_from_barcode: {
|
|
76467
77283
|
Args: {
|
|
76468
77284
|
p_allow_reprint?: boolean;
|
|
@@ -76475,6 +77291,14 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
|
|
|
76475
77291
|
Args: never;
|
|
76476
77292
|
Returns: boolean;
|
|
76477
77293
|
};
|
|
77294
|
+
logistics_subtract_working_minutes: {
|
|
77295
|
+
Args: {
|
|
77296
|
+
p_deadline: string;
|
|
77297
|
+
p_max_workdays?: number;
|
|
77298
|
+
p_minutes: number;
|
|
77299
|
+
};
|
|
77300
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
77301
|
+
};
|
|
76478
77302
|
logistics_supersede_stale_tasks: {
|
|
76479
77303
|
Args: {
|
|
76480
77304
|
p_keep: string[];
|
|
@@ -76511,6 +77335,12 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
|
|
|
76511
77335
|
Args: never;
|
|
76512
77336
|
Returns: string;
|
|
76513
77337
|
};
|
|
77338
|
+
logistics_timezone_options: {
|
|
77339
|
+
Args: never;
|
|
77340
|
+
Returns: {
|
|
77341
|
+
name: string;
|
|
77342
|
+
}[];
|
|
77343
|
+
};
|
|
76514
77344
|
logistics_upsert_task: {
|
|
76515
77345
|
Args: {
|
|
76516
77346
|
p_buffer_ref: string;
|
|
@@ -76530,6 +77360,16 @@ export declare const upsertPickTime: import("@tanstack/start-client-core").Optio
|
|
|
76530
77360
|
};
|
|
76531
77361
|
Returns: string;
|
|
76532
77362
|
};
|
|
77363
|
+
logistics_valid_timezone: {
|
|
77364
|
+
Args: {
|
|
77365
|
+
_tz: string;
|
|
77366
|
+
};
|
|
77367
|
+
Returns: boolean;
|
|
77368
|
+
};
|
|
77369
|
+
logistics_working_hours_status: {
|
|
77370
|
+
Args: never;
|
|
77371
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
77372
|
+
};
|
|
76533
77373
|
logistics_write_buffer_layer_positions: {
|
|
76534
77374
|
Args: {
|
|
76535
77375
|
p_buffer_id: string;
|
|
@@ -88561,22 +89401,31 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
|
|
|
88561
89401
|
};
|
|
88562
89402
|
logistics_floriday_push_refusals: {
|
|
88563
89403
|
Row: {
|
|
89404
|
+
action: string | null;
|
|
88564
89405
|
created_at: string;
|
|
88565
89406
|
id: string;
|
|
88566
89407
|
order_ref: string;
|
|
88567
89408
|
reason: string;
|
|
89409
|
+
source_module: string | null;
|
|
89410
|
+
source_shell: string | null;
|
|
88568
89411
|
};
|
|
88569
89412
|
Insert: {
|
|
89413
|
+
action?: string | null;
|
|
88570
89414
|
created_at?: string;
|
|
88571
89415
|
id?: string;
|
|
88572
89416
|
order_ref: string;
|
|
88573
89417
|
reason: string;
|
|
89418
|
+
source_module?: string | null;
|
|
89419
|
+
source_shell?: string | null;
|
|
88574
89420
|
};
|
|
88575
89421
|
Update: {
|
|
89422
|
+
action?: string | null;
|
|
88576
89423
|
created_at?: string;
|
|
88577
89424
|
id?: string;
|
|
88578
89425
|
order_ref?: string;
|
|
88579
89426
|
reason?: string;
|
|
89427
|
+
source_module?: string | null;
|
|
89428
|
+
source_shell?: string | null;
|
|
88580
89429
|
};
|
|
88581
89430
|
Relationships: [];
|
|
88582
89431
|
};
|
|
@@ -88655,6 +89504,42 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
|
|
|
88655
89504
|
};
|
|
88656
89505
|
Relationships: [];
|
|
88657
89506
|
};
|
|
89507
|
+
logistics_floriday_status_sends: {
|
|
89508
|
+
Row: {
|
|
89509
|
+
action: string;
|
|
89510
|
+
created_at: string;
|
|
89511
|
+
detail: string | null;
|
|
89512
|
+
http_status: number | null;
|
|
89513
|
+
id: string;
|
|
89514
|
+
ok: boolean;
|
|
89515
|
+
order_ref: string;
|
|
89516
|
+
source_module: string | null;
|
|
89517
|
+
source_shell: string | null;
|
|
89518
|
+
};
|
|
89519
|
+
Insert: {
|
|
89520
|
+
action: string;
|
|
89521
|
+
created_at?: string;
|
|
89522
|
+
detail?: string | null;
|
|
89523
|
+
http_status?: number | null;
|
|
89524
|
+
id?: string;
|
|
89525
|
+
ok?: boolean;
|
|
89526
|
+
order_ref: string;
|
|
89527
|
+
source_module?: string | null;
|
|
89528
|
+
source_shell?: string | null;
|
|
89529
|
+
};
|
|
89530
|
+
Update: {
|
|
89531
|
+
action?: string;
|
|
89532
|
+
created_at?: string;
|
|
89533
|
+
detail?: string | null;
|
|
89534
|
+
http_status?: number | null;
|
|
89535
|
+
id?: string;
|
|
89536
|
+
ok?: boolean;
|
|
89537
|
+
order_ref?: string;
|
|
89538
|
+
source_module?: string | null;
|
|
89539
|
+
source_shell?: string | null;
|
|
89540
|
+
};
|
|
89541
|
+
Relationships: [];
|
|
89542
|
+
};
|
|
88658
89543
|
logistics_formulas: {
|
|
88659
89544
|
Row: {
|
|
88660
89545
|
created_at: string;
|
|
@@ -88727,6 +89612,66 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
|
|
|
88727
89612
|
};
|
|
88728
89613
|
Relationships: [];
|
|
88729
89614
|
};
|
|
89615
|
+
logistics_opening_exceptions: {
|
|
89616
|
+
Row: {
|
|
89617
|
+
closes: string | null;
|
|
89618
|
+
created_at: string;
|
|
89619
|
+
day: string;
|
|
89620
|
+
id: string;
|
|
89621
|
+
is_closed: boolean;
|
|
89622
|
+
note: string | null;
|
|
89623
|
+
opens: string | null;
|
|
89624
|
+
};
|
|
89625
|
+
Insert: {
|
|
89626
|
+
closes?: string | null;
|
|
89627
|
+
created_at?: string;
|
|
89628
|
+
day: string;
|
|
89629
|
+
id?: string;
|
|
89630
|
+
is_closed?: boolean;
|
|
89631
|
+
note?: string | null;
|
|
89632
|
+
opens?: string | null;
|
|
89633
|
+
};
|
|
89634
|
+
Update: {
|
|
89635
|
+
closes?: string | null;
|
|
89636
|
+
created_at?: string;
|
|
89637
|
+
day?: string;
|
|
89638
|
+
id?: string;
|
|
89639
|
+
is_closed?: boolean;
|
|
89640
|
+
note?: string | null;
|
|
89641
|
+
opens?: string | null;
|
|
89642
|
+
};
|
|
89643
|
+
Relationships: [];
|
|
89644
|
+
};
|
|
89645
|
+
logistics_opening_hours: {
|
|
89646
|
+
Row: {
|
|
89647
|
+
closes: string;
|
|
89648
|
+
created_at: string;
|
|
89649
|
+
id: string;
|
|
89650
|
+
is_active: boolean;
|
|
89651
|
+
note: string | null;
|
|
89652
|
+
opens: string;
|
|
89653
|
+
weekday: number;
|
|
89654
|
+
};
|
|
89655
|
+
Insert: {
|
|
89656
|
+
closes: string;
|
|
89657
|
+
created_at?: string;
|
|
89658
|
+
id?: string;
|
|
89659
|
+
is_active?: boolean;
|
|
89660
|
+
note?: string | null;
|
|
89661
|
+
opens: string;
|
|
89662
|
+
weekday: number;
|
|
89663
|
+
};
|
|
89664
|
+
Update: {
|
|
89665
|
+
closes?: string;
|
|
89666
|
+
created_at?: string;
|
|
89667
|
+
id?: string;
|
|
89668
|
+
is_active?: boolean;
|
|
89669
|
+
note?: string | null;
|
|
89670
|
+
opens?: string;
|
|
89671
|
+
weekday?: number;
|
|
89672
|
+
};
|
|
89673
|
+
Relationships: [];
|
|
89674
|
+
};
|
|
88730
89675
|
logistics_pickup_moments: {
|
|
88731
89676
|
Row: {
|
|
88732
89677
|
carrier_ref: string | null;
|
|
@@ -89519,6 +90464,24 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
|
|
|
89519
90464
|
};
|
|
89520
90465
|
Relationships: [];
|
|
89521
90466
|
};
|
|
90467
|
+
logistics_time_settings: {
|
|
90468
|
+
Row: {
|
|
90469
|
+
id: boolean;
|
|
90470
|
+
timezone: string;
|
|
90471
|
+
updated_at: string;
|
|
90472
|
+
};
|
|
90473
|
+
Insert: {
|
|
90474
|
+
id?: boolean;
|
|
90475
|
+
timezone: string;
|
|
90476
|
+
updated_at?: string;
|
|
90477
|
+
};
|
|
90478
|
+
Update: {
|
|
90479
|
+
id?: boolean;
|
|
90480
|
+
timezone?: string;
|
|
90481
|
+
updated_at?: string;
|
|
90482
|
+
};
|
|
90483
|
+
Relationships: [];
|
|
90484
|
+
};
|
|
89522
90485
|
logistics_variables: {
|
|
89523
90486
|
Row: {
|
|
89524
90487
|
created_at: string;
|
|
@@ -91909,6 +92872,7 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
|
|
|
91909
92872
|
customer_name: string;
|
|
91910
92873
|
deleted_at: string | null;
|
|
91911
92874
|
delivery_date: string | null;
|
|
92875
|
+
floriday_order_group_key: string | null;
|
|
91912
92876
|
floriday_sales_order_id: string | null;
|
|
91913
92877
|
id: string;
|
|
91914
92878
|
invoice_due_at: string | null;
|
|
@@ -91936,6 +92900,7 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
|
|
|
91936
92900
|
customer_name?: string;
|
|
91937
92901
|
deleted_at?: string | null;
|
|
91938
92902
|
delivery_date?: string | null;
|
|
92903
|
+
floriday_order_group_key?: string | null;
|
|
91939
92904
|
floriday_sales_order_id?: string | null;
|
|
91940
92905
|
id?: string;
|
|
91941
92906
|
invoice_due_at?: string | null;
|
|
@@ -91963,6 +92928,7 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
|
|
|
91963
92928
|
customer_name?: string;
|
|
91964
92929
|
deleted_at?: string | null;
|
|
91965
92930
|
delivery_date?: string | null;
|
|
92931
|
+
floriday_order_group_key?: string | null;
|
|
91966
92932
|
floriday_sales_order_id?: string | null;
|
|
91967
92933
|
id?: string;
|
|
91968
92934
|
invoice_due_at?: string | null;
|
|
@@ -97826,6 +98792,36 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
|
|
|
97826
98792
|
referencedColumns: ["id"];
|
|
97827
98793
|
}];
|
|
97828
98794
|
};
|
|
98795
|
+
voorraad_buffer_state: {
|
|
98796
|
+
Row: {
|
|
98797
|
+
buffer_id: string;
|
|
98798
|
+
buffer_key: string | null;
|
|
98799
|
+
closed_at: string | null;
|
|
98800
|
+
created_at: string;
|
|
98801
|
+
detached_orders: import("../integrations/supabase/types").Json;
|
|
98802
|
+
reason: string | null;
|
|
98803
|
+
updated_at: string;
|
|
98804
|
+
};
|
|
98805
|
+
Insert: {
|
|
98806
|
+
buffer_id: string;
|
|
98807
|
+
buffer_key?: string | null;
|
|
98808
|
+
closed_at?: string | null;
|
|
98809
|
+
created_at?: string;
|
|
98810
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
98811
|
+
reason?: string | null;
|
|
98812
|
+
updated_at?: string;
|
|
98813
|
+
};
|
|
98814
|
+
Update: {
|
|
98815
|
+
buffer_id?: string;
|
|
98816
|
+
buffer_key?: string | null;
|
|
98817
|
+
closed_at?: string | null;
|
|
98818
|
+
created_at?: string;
|
|
98819
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
98820
|
+
reason?: string | null;
|
|
98821
|
+
updated_at?: string;
|
|
98822
|
+
};
|
|
98823
|
+
Relationships: [];
|
|
98824
|
+
};
|
|
97829
98825
|
voorraad_custom_fields: {
|
|
97830
98826
|
Row: {
|
|
97831
98827
|
created_at: string;
|
|
@@ -97868,6 +98864,36 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
|
|
|
97868
98864
|
};
|
|
97869
98865
|
Relationships: [];
|
|
97870
98866
|
};
|
|
98867
|
+
voorraad_logistics_event_log: {
|
|
98868
|
+
Row: {
|
|
98869
|
+
created_at: string;
|
|
98870
|
+
event_id: string;
|
|
98871
|
+
event_type: string;
|
|
98872
|
+
order_ref: string | null;
|
|
98873
|
+
processed_at: string;
|
|
98874
|
+
result: import("../integrations/supabase/types").Json;
|
|
98875
|
+
updated_at: string;
|
|
98876
|
+
};
|
|
98877
|
+
Insert: {
|
|
98878
|
+
created_at?: string;
|
|
98879
|
+
event_id: string;
|
|
98880
|
+
event_type: string;
|
|
98881
|
+
order_ref?: string | null;
|
|
98882
|
+
processed_at?: string;
|
|
98883
|
+
result?: import("../integrations/supabase/types").Json;
|
|
98884
|
+
updated_at?: string;
|
|
98885
|
+
};
|
|
98886
|
+
Update: {
|
|
98887
|
+
created_at?: string;
|
|
98888
|
+
event_id?: string;
|
|
98889
|
+
event_type?: string;
|
|
98890
|
+
order_ref?: string | null;
|
|
98891
|
+
processed_at?: string;
|
|
98892
|
+
result?: import("../integrations/supabase/types").Json;
|
|
98893
|
+
updated_at?: string;
|
|
98894
|
+
};
|
|
98895
|
+
Relationships: [];
|
|
98896
|
+
};
|
|
97871
98897
|
voorraad_media_upload_failures: {
|
|
97872
98898
|
Row: {
|
|
97873
98899
|
action: string;
|
|
@@ -101837,6 +102863,12 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
|
|
|
101837
102863
|
station_carts: number;
|
|
101838
102864
|
}[];
|
|
101839
102865
|
};
|
|
102866
|
+
logistics_control_complete_cart: {
|
|
102867
|
+
Args: {
|
|
102868
|
+
p_cart_id: string;
|
|
102869
|
+
};
|
|
102870
|
+
Returns: number;
|
|
102871
|
+
};
|
|
101840
102872
|
logistics_control_scan_approve: {
|
|
101841
102873
|
Args: {
|
|
101842
102874
|
p_allow_reprint?: boolean;
|
|
@@ -101916,6 +102948,15 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
|
|
|
101916
102948
|
Args: never;
|
|
101917
102949
|
Returns: import("../integrations/supabase/types").Json;
|
|
101918
102950
|
};
|
|
102951
|
+
logistics_day_windows: {
|
|
102952
|
+
Args: {
|
|
102953
|
+
p_day: string;
|
|
102954
|
+
};
|
|
102955
|
+
Returns: {
|
|
102956
|
+
win_end: string;
|
|
102957
|
+
win_start: string;
|
|
102958
|
+
}[];
|
|
102959
|
+
};
|
|
101919
102960
|
logistics_delay_customer_email: {
|
|
101920
102961
|
Args: {
|
|
101921
102962
|
p_customer: string;
|
|
@@ -101983,6 +103024,17 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
|
|
|
101983
103024
|
};
|
|
101984
103025
|
Returns: import("../integrations/supabase/types").Json;
|
|
101985
103026
|
};
|
|
103027
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
103028
|
+
Args: {
|
|
103029
|
+
_cart_id: string;
|
|
103030
|
+
_is_herprint: boolean;
|
|
103031
|
+
_printer_id: string;
|
|
103032
|
+
_queue_item_id: string;
|
|
103033
|
+
_session_id: string;
|
|
103034
|
+
_slip_job_id: string;
|
|
103035
|
+
};
|
|
103036
|
+
Returns: string;
|
|
103037
|
+
};
|
|
101986
103038
|
logistics_enqueue_sticker_with_slip: {
|
|
101987
103039
|
Args: {
|
|
101988
103040
|
_cart_id: string;
|
|
@@ -102121,6 +103173,32 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
|
|
|
102121
103173
|
};
|
|
102122
103174
|
Returns: string;
|
|
102123
103175
|
};
|
|
103176
|
+
logistics_floriday_gate_status: {
|
|
103177
|
+
Args: never;
|
|
103178
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
103179
|
+
};
|
|
103180
|
+
logistics_floriday_log_refusal: {
|
|
103181
|
+
Args: {
|
|
103182
|
+
_action?: string;
|
|
103183
|
+
_module?: string;
|
|
103184
|
+
_order_ref: string;
|
|
103185
|
+
_reason: string;
|
|
103186
|
+
_shell?: string;
|
|
103187
|
+
};
|
|
103188
|
+
Returns: undefined;
|
|
103189
|
+
};
|
|
103190
|
+
logistics_floriday_log_send: {
|
|
103191
|
+
Args: {
|
|
103192
|
+
_action: string;
|
|
103193
|
+
_detail?: string;
|
|
103194
|
+
_http_status?: number;
|
|
103195
|
+
_module?: string;
|
|
103196
|
+
_ok: boolean;
|
|
103197
|
+
_order_ref: string;
|
|
103198
|
+
_shell?: string;
|
|
103199
|
+
};
|
|
103200
|
+
Returns: undefined;
|
|
103201
|
+
};
|
|
102124
103202
|
logistics_floriday_order_approved: {
|
|
102125
103203
|
Args: {
|
|
102126
103204
|
_order_ref: string;
|
|
@@ -102145,6 +103223,16 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
|
|
|
102145
103223
|
Args: never;
|
|
102146
103224
|
Returns: boolean;
|
|
102147
103225
|
};
|
|
103226
|
+
logistics_floriday_stock_updates_enabled: {
|
|
103227
|
+
Args: never;
|
|
103228
|
+
Returns: boolean;
|
|
103229
|
+
};
|
|
103230
|
+
logistics_floriday_write_allowed: {
|
|
103231
|
+
Args: {
|
|
103232
|
+
_action: string;
|
|
103233
|
+
};
|
|
103234
|
+
Returns: boolean;
|
|
103235
|
+
};
|
|
102148
103236
|
logistics_fulfill_barcode_requests: {
|
|
102149
103237
|
Args: {
|
|
102150
103238
|
p_limit?: number;
|
|
@@ -102213,6 +103301,10 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
|
|
|
102213
103301
|
};
|
|
102214
103302
|
Returns: string;
|
|
102215
103303
|
};
|
|
103304
|
+
logistics_opening_timezone: {
|
|
103305
|
+
Args: never;
|
|
103306
|
+
Returns: string;
|
|
103307
|
+
};
|
|
102216
103308
|
logistics_order_cart_count: {
|
|
102217
103309
|
Args: {
|
|
102218
103310
|
p_order_ref: string;
|
|
@@ -102604,6 +103696,10 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
|
|
|
102604
103696
|
};
|
|
102605
103697
|
Returns: string;
|
|
102606
103698
|
};
|
|
103699
|
+
logistics_shipping_note_follows_slip: {
|
|
103700
|
+
Args: never;
|
|
103701
|
+
Returns: boolean;
|
|
103702
|
+
};
|
|
102607
103703
|
logistics_shipping_note_from_barcode: {
|
|
102608
103704
|
Args: {
|
|
102609
103705
|
p_allow_reprint?: boolean;
|
|
@@ -102616,6 +103712,14 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
|
|
|
102616
103712
|
Args: never;
|
|
102617
103713
|
Returns: boolean;
|
|
102618
103714
|
};
|
|
103715
|
+
logistics_subtract_working_minutes: {
|
|
103716
|
+
Args: {
|
|
103717
|
+
p_deadline: string;
|
|
103718
|
+
p_max_workdays?: number;
|
|
103719
|
+
p_minutes: number;
|
|
103720
|
+
};
|
|
103721
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
103722
|
+
};
|
|
102619
103723
|
logistics_supersede_stale_tasks: {
|
|
102620
103724
|
Args: {
|
|
102621
103725
|
p_keep: string[];
|
|
@@ -102652,6 +103756,12 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
|
|
|
102652
103756
|
Args: never;
|
|
102653
103757
|
Returns: string;
|
|
102654
103758
|
};
|
|
103759
|
+
logistics_timezone_options: {
|
|
103760
|
+
Args: never;
|
|
103761
|
+
Returns: {
|
|
103762
|
+
name: string;
|
|
103763
|
+
}[];
|
|
103764
|
+
};
|
|
102655
103765
|
logistics_upsert_task: {
|
|
102656
103766
|
Args: {
|
|
102657
103767
|
p_buffer_ref: string;
|
|
@@ -102671,6 +103781,16 @@ export declare const deletePickTime: import("@tanstack/start-client-core").Optio
|
|
|
102671
103781
|
};
|
|
102672
103782
|
Returns: string;
|
|
102673
103783
|
};
|
|
103784
|
+
logistics_valid_timezone: {
|
|
103785
|
+
Args: {
|
|
103786
|
+
_tz: string;
|
|
103787
|
+
};
|
|
103788
|
+
Returns: boolean;
|
|
103789
|
+
};
|
|
103790
|
+
logistics_working_hours_status: {
|
|
103791
|
+
Args: never;
|
|
103792
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
103793
|
+
};
|
|
102674
103794
|
logistics_write_buffer_layer_positions: {
|
|
102675
103795
|
Args: {
|
|
102676
103796
|
p_buffer_id: string;
|
|
@@ -114711,22 +115831,31 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
|
|
|
114711
115831
|
};
|
|
114712
115832
|
logistics_floriday_push_refusals: {
|
|
114713
115833
|
Row: {
|
|
115834
|
+
action: string | null;
|
|
114714
115835
|
created_at: string;
|
|
114715
115836
|
id: string;
|
|
114716
115837
|
order_ref: string;
|
|
114717
115838
|
reason: string;
|
|
115839
|
+
source_module: string | null;
|
|
115840
|
+
source_shell: string | null;
|
|
114718
115841
|
};
|
|
114719
115842
|
Insert: {
|
|
115843
|
+
action?: string | null;
|
|
114720
115844
|
created_at?: string;
|
|
114721
115845
|
id?: string;
|
|
114722
115846
|
order_ref: string;
|
|
114723
115847
|
reason: string;
|
|
115848
|
+
source_module?: string | null;
|
|
115849
|
+
source_shell?: string | null;
|
|
114724
115850
|
};
|
|
114725
115851
|
Update: {
|
|
115852
|
+
action?: string | null;
|
|
114726
115853
|
created_at?: string;
|
|
114727
115854
|
id?: string;
|
|
114728
115855
|
order_ref?: string;
|
|
114729
115856
|
reason?: string;
|
|
115857
|
+
source_module?: string | null;
|
|
115858
|
+
source_shell?: string | null;
|
|
114730
115859
|
};
|
|
114731
115860
|
Relationships: [];
|
|
114732
115861
|
};
|
|
@@ -114805,6 +115934,42 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
|
|
|
114805
115934
|
};
|
|
114806
115935
|
Relationships: [];
|
|
114807
115936
|
};
|
|
115937
|
+
logistics_floriday_status_sends: {
|
|
115938
|
+
Row: {
|
|
115939
|
+
action: string;
|
|
115940
|
+
created_at: string;
|
|
115941
|
+
detail: string | null;
|
|
115942
|
+
http_status: number | null;
|
|
115943
|
+
id: string;
|
|
115944
|
+
ok: boolean;
|
|
115945
|
+
order_ref: string;
|
|
115946
|
+
source_module: string | null;
|
|
115947
|
+
source_shell: string | null;
|
|
115948
|
+
};
|
|
115949
|
+
Insert: {
|
|
115950
|
+
action: string;
|
|
115951
|
+
created_at?: string;
|
|
115952
|
+
detail?: string | null;
|
|
115953
|
+
http_status?: number | null;
|
|
115954
|
+
id?: string;
|
|
115955
|
+
ok?: boolean;
|
|
115956
|
+
order_ref: string;
|
|
115957
|
+
source_module?: string | null;
|
|
115958
|
+
source_shell?: string | null;
|
|
115959
|
+
};
|
|
115960
|
+
Update: {
|
|
115961
|
+
action?: string;
|
|
115962
|
+
created_at?: string;
|
|
115963
|
+
detail?: string | null;
|
|
115964
|
+
http_status?: number | null;
|
|
115965
|
+
id?: string;
|
|
115966
|
+
ok?: boolean;
|
|
115967
|
+
order_ref?: string;
|
|
115968
|
+
source_module?: string | null;
|
|
115969
|
+
source_shell?: string | null;
|
|
115970
|
+
};
|
|
115971
|
+
Relationships: [];
|
|
115972
|
+
};
|
|
114808
115973
|
logistics_formulas: {
|
|
114809
115974
|
Row: {
|
|
114810
115975
|
created_at: string;
|
|
@@ -114877,6 +116042,66 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
|
|
|
114877
116042
|
};
|
|
114878
116043
|
Relationships: [];
|
|
114879
116044
|
};
|
|
116045
|
+
logistics_opening_exceptions: {
|
|
116046
|
+
Row: {
|
|
116047
|
+
closes: string | null;
|
|
116048
|
+
created_at: string;
|
|
116049
|
+
day: string;
|
|
116050
|
+
id: string;
|
|
116051
|
+
is_closed: boolean;
|
|
116052
|
+
note: string | null;
|
|
116053
|
+
opens: string | null;
|
|
116054
|
+
};
|
|
116055
|
+
Insert: {
|
|
116056
|
+
closes?: string | null;
|
|
116057
|
+
created_at?: string;
|
|
116058
|
+
day: string;
|
|
116059
|
+
id?: string;
|
|
116060
|
+
is_closed?: boolean;
|
|
116061
|
+
note?: string | null;
|
|
116062
|
+
opens?: string | null;
|
|
116063
|
+
};
|
|
116064
|
+
Update: {
|
|
116065
|
+
closes?: string | null;
|
|
116066
|
+
created_at?: string;
|
|
116067
|
+
day?: string;
|
|
116068
|
+
id?: string;
|
|
116069
|
+
is_closed?: boolean;
|
|
116070
|
+
note?: string | null;
|
|
116071
|
+
opens?: string | null;
|
|
116072
|
+
};
|
|
116073
|
+
Relationships: [];
|
|
116074
|
+
};
|
|
116075
|
+
logistics_opening_hours: {
|
|
116076
|
+
Row: {
|
|
116077
|
+
closes: string;
|
|
116078
|
+
created_at: string;
|
|
116079
|
+
id: string;
|
|
116080
|
+
is_active: boolean;
|
|
116081
|
+
note: string | null;
|
|
116082
|
+
opens: string;
|
|
116083
|
+
weekday: number;
|
|
116084
|
+
};
|
|
116085
|
+
Insert: {
|
|
116086
|
+
closes: string;
|
|
116087
|
+
created_at?: string;
|
|
116088
|
+
id?: string;
|
|
116089
|
+
is_active?: boolean;
|
|
116090
|
+
note?: string | null;
|
|
116091
|
+
opens: string;
|
|
116092
|
+
weekday: number;
|
|
116093
|
+
};
|
|
116094
|
+
Update: {
|
|
116095
|
+
closes?: string;
|
|
116096
|
+
created_at?: string;
|
|
116097
|
+
id?: string;
|
|
116098
|
+
is_active?: boolean;
|
|
116099
|
+
note?: string | null;
|
|
116100
|
+
opens?: string;
|
|
116101
|
+
weekday?: number;
|
|
116102
|
+
};
|
|
116103
|
+
Relationships: [];
|
|
116104
|
+
};
|
|
114880
116105
|
logistics_pickup_moments: {
|
|
114881
116106
|
Row: {
|
|
114882
116107
|
carrier_ref: string | null;
|
|
@@ -115669,6 +116894,24 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
|
|
|
115669
116894
|
};
|
|
115670
116895
|
Relationships: [];
|
|
115671
116896
|
};
|
|
116897
|
+
logistics_time_settings: {
|
|
116898
|
+
Row: {
|
|
116899
|
+
id: boolean;
|
|
116900
|
+
timezone: string;
|
|
116901
|
+
updated_at: string;
|
|
116902
|
+
};
|
|
116903
|
+
Insert: {
|
|
116904
|
+
id?: boolean;
|
|
116905
|
+
timezone: string;
|
|
116906
|
+
updated_at?: string;
|
|
116907
|
+
};
|
|
116908
|
+
Update: {
|
|
116909
|
+
id?: boolean;
|
|
116910
|
+
timezone?: string;
|
|
116911
|
+
updated_at?: string;
|
|
116912
|
+
};
|
|
116913
|
+
Relationships: [];
|
|
116914
|
+
};
|
|
115672
116915
|
logistics_variables: {
|
|
115673
116916
|
Row: {
|
|
115674
116917
|
created_at: string;
|
|
@@ -118059,6 +119302,7 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
|
|
|
118059
119302
|
customer_name: string;
|
|
118060
119303
|
deleted_at: string | null;
|
|
118061
119304
|
delivery_date: string | null;
|
|
119305
|
+
floriday_order_group_key: string | null;
|
|
118062
119306
|
floriday_sales_order_id: string | null;
|
|
118063
119307
|
id: string;
|
|
118064
119308
|
invoice_due_at: string | null;
|
|
@@ -118086,6 +119330,7 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
|
|
|
118086
119330
|
customer_name?: string;
|
|
118087
119331
|
deleted_at?: string | null;
|
|
118088
119332
|
delivery_date?: string | null;
|
|
119333
|
+
floriday_order_group_key?: string | null;
|
|
118089
119334
|
floriday_sales_order_id?: string | null;
|
|
118090
119335
|
id?: string;
|
|
118091
119336
|
invoice_due_at?: string | null;
|
|
@@ -118113,6 +119358,7 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
|
|
|
118113
119358
|
customer_name?: string;
|
|
118114
119359
|
deleted_at?: string | null;
|
|
118115
119360
|
delivery_date?: string | null;
|
|
119361
|
+
floriday_order_group_key?: string | null;
|
|
118116
119362
|
floriday_sales_order_id?: string | null;
|
|
118117
119363
|
id?: string;
|
|
118118
119364
|
invoice_due_at?: string | null;
|
|
@@ -123976,6 +125222,36 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
|
|
|
123976
125222
|
referencedColumns: ["id"];
|
|
123977
125223
|
}];
|
|
123978
125224
|
};
|
|
125225
|
+
voorraad_buffer_state: {
|
|
125226
|
+
Row: {
|
|
125227
|
+
buffer_id: string;
|
|
125228
|
+
buffer_key: string | null;
|
|
125229
|
+
closed_at: string | null;
|
|
125230
|
+
created_at: string;
|
|
125231
|
+
detached_orders: import("../integrations/supabase/types").Json;
|
|
125232
|
+
reason: string | null;
|
|
125233
|
+
updated_at: string;
|
|
125234
|
+
};
|
|
125235
|
+
Insert: {
|
|
125236
|
+
buffer_id: string;
|
|
125237
|
+
buffer_key?: string | null;
|
|
125238
|
+
closed_at?: string | null;
|
|
125239
|
+
created_at?: string;
|
|
125240
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
125241
|
+
reason?: string | null;
|
|
125242
|
+
updated_at?: string;
|
|
125243
|
+
};
|
|
125244
|
+
Update: {
|
|
125245
|
+
buffer_id?: string;
|
|
125246
|
+
buffer_key?: string | null;
|
|
125247
|
+
closed_at?: string | null;
|
|
125248
|
+
created_at?: string;
|
|
125249
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
125250
|
+
reason?: string | null;
|
|
125251
|
+
updated_at?: string;
|
|
125252
|
+
};
|
|
125253
|
+
Relationships: [];
|
|
125254
|
+
};
|
|
123979
125255
|
voorraad_custom_fields: {
|
|
123980
125256
|
Row: {
|
|
123981
125257
|
created_at: string;
|
|
@@ -124018,6 +125294,36 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
|
|
|
124018
125294
|
};
|
|
124019
125295
|
Relationships: [];
|
|
124020
125296
|
};
|
|
125297
|
+
voorraad_logistics_event_log: {
|
|
125298
|
+
Row: {
|
|
125299
|
+
created_at: string;
|
|
125300
|
+
event_id: string;
|
|
125301
|
+
event_type: string;
|
|
125302
|
+
order_ref: string | null;
|
|
125303
|
+
processed_at: string;
|
|
125304
|
+
result: import("../integrations/supabase/types").Json;
|
|
125305
|
+
updated_at: string;
|
|
125306
|
+
};
|
|
125307
|
+
Insert: {
|
|
125308
|
+
created_at?: string;
|
|
125309
|
+
event_id: string;
|
|
125310
|
+
event_type: string;
|
|
125311
|
+
order_ref?: string | null;
|
|
125312
|
+
processed_at?: string;
|
|
125313
|
+
result?: import("../integrations/supabase/types").Json;
|
|
125314
|
+
updated_at?: string;
|
|
125315
|
+
};
|
|
125316
|
+
Update: {
|
|
125317
|
+
created_at?: string;
|
|
125318
|
+
event_id?: string;
|
|
125319
|
+
event_type?: string;
|
|
125320
|
+
order_ref?: string | null;
|
|
125321
|
+
processed_at?: string;
|
|
125322
|
+
result?: import("../integrations/supabase/types").Json;
|
|
125323
|
+
updated_at?: string;
|
|
125324
|
+
};
|
|
125325
|
+
Relationships: [];
|
|
125326
|
+
};
|
|
124021
125327
|
voorraad_media_upload_failures: {
|
|
124022
125328
|
Row: {
|
|
124023
125329
|
action: string;
|
|
@@ -127987,6 +129293,12 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
|
|
|
127987
129293
|
station_carts: number;
|
|
127988
129294
|
}[];
|
|
127989
129295
|
};
|
|
129296
|
+
logistics_control_complete_cart: {
|
|
129297
|
+
Args: {
|
|
129298
|
+
p_cart_id: string;
|
|
129299
|
+
};
|
|
129300
|
+
Returns: number;
|
|
129301
|
+
};
|
|
127990
129302
|
logistics_control_scan_approve: {
|
|
127991
129303
|
Args: {
|
|
127992
129304
|
p_allow_reprint?: boolean;
|
|
@@ -128066,6 +129378,15 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
|
|
|
128066
129378
|
Args: never;
|
|
128067
129379
|
Returns: import("../integrations/supabase/types").Json;
|
|
128068
129380
|
};
|
|
129381
|
+
logistics_day_windows: {
|
|
129382
|
+
Args: {
|
|
129383
|
+
p_day: string;
|
|
129384
|
+
};
|
|
129385
|
+
Returns: {
|
|
129386
|
+
win_end: string;
|
|
129387
|
+
win_start: string;
|
|
129388
|
+
}[];
|
|
129389
|
+
};
|
|
128069
129390
|
logistics_delay_customer_email: {
|
|
128070
129391
|
Args: {
|
|
128071
129392
|
p_customer: string;
|
|
@@ -128133,6 +129454,17 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
|
|
|
128133
129454
|
};
|
|
128134
129455
|
Returns: import("../integrations/supabase/types").Json;
|
|
128135
129456
|
};
|
|
129457
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
129458
|
+
Args: {
|
|
129459
|
+
_cart_id: string;
|
|
129460
|
+
_is_herprint: boolean;
|
|
129461
|
+
_printer_id: string;
|
|
129462
|
+
_queue_item_id: string;
|
|
129463
|
+
_session_id: string;
|
|
129464
|
+
_slip_job_id: string;
|
|
129465
|
+
};
|
|
129466
|
+
Returns: string;
|
|
129467
|
+
};
|
|
128136
129468
|
logistics_enqueue_sticker_with_slip: {
|
|
128137
129469
|
Args: {
|
|
128138
129470
|
_cart_id: string;
|
|
@@ -128271,6 +129603,32 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
|
|
|
128271
129603
|
};
|
|
128272
129604
|
Returns: string;
|
|
128273
129605
|
};
|
|
129606
|
+
logistics_floriday_gate_status: {
|
|
129607
|
+
Args: never;
|
|
129608
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
129609
|
+
};
|
|
129610
|
+
logistics_floriday_log_refusal: {
|
|
129611
|
+
Args: {
|
|
129612
|
+
_action?: string;
|
|
129613
|
+
_module?: string;
|
|
129614
|
+
_order_ref: string;
|
|
129615
|
+
_reason: string;
|
|
129616
|
+
_shell?: string;
|
|
129617
|
+
};
|
|
129618
|
+
Returns: undefined;
|
|
129619
|
+
};
|
|
129620
|
+
logistics_floriday_log_send: {
|
|
129621
|
+
Args: {
|
|
129622
|
+
_action: string;
|
|
129623
|
+
_detail?: string;
|
|
129624
|
+
_http_status?: number;
|
|
129625
|
+
_module?: string;
|
|
129626
|
+
_ok: boolean;
|
|
129627
|
+
_order_ref: string;
|
|
129628
|
+
_shell?: string;
|
|
129629
|
+
};
|
|
129630
|
+
Returns: undefined;
|
|
129631
|
+
};
|
|
128274
129632
|
logistics_floriday_order_approved: {
|
|
128275
129633
|
Args: {
|
|
128276
129634
|
_order_ref: string;
|
|
@@ -128295,6 +129653,16 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
|
|
|
128295
129653
|
Args: never;
|
|
128296
129654
|
Returns: boolean;
|
|
128297
129655
|
};
|
|
129656
|
+
logistics_floriday_stock_updates_enabled: {
|
|
129657
|
+
Args: never;
|
|
129658
|
+
Returns: boolean;
|
|
129659
|
+
};
|
|
129660
|
+
logistics_floriday_write_allowed: {
|
|
129661
|
+
Args: {
|
|
129662
|
+
_action: string;
|
|
129663
|
+
};
|
|
129664
|
+
Returns: boolean;
|
|
129665
|
+
};
|
|
128298
129666
|
logistics_fulfill_barcode_requests: {
|
|
128299
129667
|
Args: {
|
|
128300
129668
|
p_limit?: number;
|
|
@@ -128363,6 +129731,10 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
|
|
|
128363
129731
|
};
|
|
128364
129732
|
Returns: string;
|
|
128365
129733
|
};
|
|
129734
|
+
logistics_opening_timezone: {
|
|
129735
|
+
Args: never;
|
|
129736
|
+
Returns: string;
|
|
129737
|
+
};
|
|
128366
129738
|
logistics_order_cart_count: {
|
|
128367
129739
|
Args: {
|
|
128368
129740
|
p_order_ref: string;
|
|
@@ -128754,6 +130126,10 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
|
|
|
128754
130126
|
};
|
|
128755
130127
|
Returns: string;
|
|
128756
130128
|
};
|
|
130129
|
+
logistics_shipping_note_follows_slip: {
|
|
130130
|
+
Args: never;
|
|
130131
|
+
Returns: boolean;
|
|
130132
|
+
};
|
|
128757
130133
|
logistics_shipping_note_from_barcode: {
|
|
128758
130134
|
Args: {
|
|
128759
130135
|
p_allow_reprint?: boolean;
|
|
@@ -128766,6 +130142,14 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
|
|
|
128766
130142
|
Args: never;
|
|
128767
130143
|
Returns: boolean;
|
|
128768
130144
|
};
|
|
130145
|
+
logistics_subtract_working_minutes: {
|
|
130146
|
+
Args: {
|
|
130147
|
+
p_deadline: string;
|
|
130148
|
+
p_max_workdays?: number;
|
|
130149
|
+
p_minutes: number;
|
|
130150
|
+
};
|
|
130151
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
130152
|
+
};
|
|
128769
130153
|
logistics_supersede_stale_tasks: {
|
|
128770
130154
|
Args: {
|
|
128771
130155
|
p_keep: string[];
|
|
@@ -128802,6 +130186,12 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
|
|
|
128802
130186
|
Args: never;
|
|
128803
130187
|
Returns: string;
|
|
128804
130188
|
};
|
|
130189
|
+
logistics_timezone_options: {
|
|
130190
|
+
Args: never;
|
|
130191
|
+
Returns: {
|
|
130192
|
+
name: string;
|
|
130193
|
+
}[];
|
|
130194
|
+
};
|
|
128805
130195
|
logistics_upsert_task: {
|
|
128806
130196
|
Args: {
|
|
128807
130197
|
p_buffer_ref: string;
|
|
@@ -128821,6 +130211,16 @@ export declare const listUsedCratePackages: import("@tanstack/start-client-core"
|
|
|
128821
130211
|
};
|
|
128822
130212
|
Returns: string;
|
|
128823
130213
|
};
|
|
130214
|
+
logistics_valid_timezone: {
|
|
130215
|
+
Args: {
|
|
130216
|
+
_tz: string;
|
|
130217
|
+
};
|
|
130218
|
+
Returns: boolean;
|
|
130219
|
+
};
|
|
130220
|
+
logistics_working_hours_status: {
|
|
130221
|
+
Args: never;
|
|
130222
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
130223
|
+
};
|
|
128824
130224
|
logistics_write_buffer_layer_positions: {
|
|
128825
130225
|
Args: {
|
|
128826
130226
|
p_buffer_id: string;
|
|
@@ -140856,22 +142256,31 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
|
|
|
140856
142256
|
};
|
|
140857
142257
|
logistics_floriday_push_refusals: {
|
|
140858
142258
|
Row: {
|
|
142259
|
+
action: string | null;
|
|
140859
142260
|
created_at: string;
|
|
140860
142261
|
id: string;
|
|
140861
142262
|
order_ref: string;
|
|
140862
142263
|
reason: string;
|
|
142264
|
+
source_module: string | null;
|
|
142265
|
+
source_shell: string | null;
|
|
140863
142266
|
};
|
|
140864
142267
|
Insert: {
|
|
142268
|
+
action?: string | null;
|
|
140865
142269
|
created_at?: string;
|
|
140866
142270
|
id?: string;
|
|
140867
142271
|
order_ref: string;
|
|
140868
142272
|
reason: string;
|
|
142273
|
+
source_module?: string | null;
|
|
142274
|
+
source_shell?: string | null;
|
|
140869
142275
|
};
|
|
140870
142276
|
Update: {
|
|
142277
|
+
action?: string | null;
|
|
140871
142278
|
created_at?: string;
|
|
140872
142279
|
id?: string;
|
|
140873
142280
|
order_ref?: string;
|
|
140874
142281
|
reason?: string;
|
|
142282
|
+
source_module?: string | null;
|
|
142283
|
+
source_shell?: string | null;
|
|
140875
142284
|
};
|
|
140876
142285
|
Relationships: [];
|
|
140877
142286
|
};
|
|
@@ -140950,6 +142359,42 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
|
|
|
140950
142359
|
};
|
|
140951
142360
|
Relationships: [];
|
|
140952
142361
|
};
|
|
142362
|
+
logistics_floriday_status_sends: {
|
|
142363
|
+
Row: {
|
|
142364
|
+
action: string;
|
|
142365
|
+
created_at: string;
|
|
142366
|
+
detail: string | null;
|
|
142367
|
+
http_status: number | null;
|
|
142368
|
+
id: string;
|
|
142369
|
+
ok: boolean;
|
|
142370
|
+
order_ref: string;
|
|
142371
|
+
source_module: string | null;
|
|
142372
|
+
source_shell: string | null;
|
|
142373
|
+
};
|
|
142374
|
+
Insert: {
|
|
142375
|
+
action: string;
|
|
142376
|
+
created_at?: string;
|
|
142377
|
+
detail?: string | null;
|
|
142378
|
+
http_status?: number | null;
|
|
142379
|
+
id?: string;
|
|
142380
|
+
ok?: boolean;
|
|
142381
|
+
order_ref: string;
|
|
142382
|
+
source_module?: string | null;
|
|
142383
|
+
source_shell?: string | null;
|
|
142384
|
+
};
|
|
142385
|
+
Update: {
|
|
142386
|
+
action?: string;
|
|
142387
|
+
created_at?: string;
|
|
142388
|
+
detail?: string | null;
|
|
142389
|
+
http_status?: number | null;
|
|
142390
|
+
id?: string;
|
|
142391
|
+
ok?: boolean;
|
|
142392
|
+
order_ref?: string;
|
|
142393
|
+
source_module?: string | null;
|
|
142394
|
+
source_shell?: string | null;
|
|
142395
|
+
};
|
|
142396
|
+
Relationships: [];
|
|
142397
|
+
};
|
|
140953
142398
|
logistics_formulas: {
|
|
140954
142399
|
Row: {
|
|
140955
142400
|
created_at: string;
|
|
@@ -141022,6 +142467,66 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
|
|
|
141022
142467
|
};
|
|
141023
142468
|
Relationships: [];
|
|
141024
142469
|
};
|
|
142470
|
+
logistics_opening_exceptions: {
|
|
142471
|
+
Row: {
|
|
142472
|
+
closes: string | null;
|
|
142473
|
+
created_at: string;
|
|
142474
|
+
day: string;
|
|
142475
|
+
id: string;
|
|
142476
|
+
is_closed: boolean;
|
|
142477
|
+
note: string | null;
|
|
142478
|
+
opens: string | null;
|
|
142479
|
+
};
|
|
142480
|
+
Insert: {
|
|
142481
|
+
closes?: string | null;
|
|
142482
|
+
created_at?: string;
|
|
142483
|
+
day: string;
|
|
142484
|
+
id?: string;
|
|
142485
|
+
is_closed?: boolean;
|
|
142486
|
+
note?: string | null;
|
|
142487
|
+
opens?: string | null;
|
|
142488
|
+
};
|
|
142489
|
+
Update: {
|
|
142490
|
+
closes?: string | null;
|
|
142491
|
+
created_at?: string;
|
|
142492
|
+
day?: string;
|
|
142493
|
+
id?: string;
|
|
142494
|
+
is_closed?: boolean;
|
|
142495
|
+
note?: string | null;
|
|
142496
|
+
opens?: string | null;
|
|
142497
|
+
};
|
|
142498
|
+
Relationships: [];
|
|
142499
|
+
};
|
|
142500
|
+
logistics_opening_hours: {
|
|
142501
|
+
Row: {
|
|
142502
|
+
closes: string;
|
|
142503
|
+
created_at: string;
|
|
142504
|
+
id: string;
|
|
142505
|
+
is_active: boolean;
|
|
142506
|
+
note: string | null;
|
|
142507
|
+
opens: string;
|
|
142508
|
+
weekday: number;
|
|
142509
|
+
};
|
|
142510
|
+
Insert: {
|
|
142511
|
+
closes: string;
|
|
142512
|
+
created_at?: string;
|
|
142513
|
+
id?: string;
|
|
142514
|
+
is_active?: boolean;
|
|
142515
|
+
note?: string | null;
|
|
142516
|
+
opens: string;
|
|
142517
|
+
weekday: number;
|
|
142518
|
+
};
|
|
142519
|
+
Update: {
|
|
142520
|
+
closes?: string;
|
|
142521
|
+
created_at?: string;
|
|
142522
|
+
id?: string;
|
|
142523
|
+
is_active?: boolean;
|
|
142524
|
+
note?: string | null;
|
|
142525
|
+
opens?: string;
|
|
142526
|
+
weekday?: number;
|
|
142527
|
+
};
|
|
142528
|
+
Relationships: [];
|
|
142529
|
+
};
|
|
141025
142530
|
logistics_pickup_moments: {
|
|
141026
142531
|
Row: {
|
|
141027
142532
|
carrier_ref: string | null;
|
|
@@ -141814,6 +143319,24 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
|
|
|
141814
143319
|
};
|
|
141815
143320
|
Relationships: [];
|
|
141816
143321
|
};
|
|
143322
|
+
logistics_time_settings: {
|
|
143323
|
+
Row: {
|
|
143324
|
+
id: boolean;
|
|
143325
|
+
timezone: string;
|
|
143326
|
+
updated_at: string;
|
|
143327
|
+
};
|
|
143328
|
+
Insert: {
|
|
143329
|
+
id?: boolean;
|
|
143330
|
+
timezone: string;
|
|
143331
|
+
updated_at?: string;
|
|
143332
|
+
};
|
|
143333
|
+
Update: {
|
|
143334
|
+
id?: boolean;
|
|
143335
|
+
timezone?: string;
|
|
143336
|
+
updated_at?: string;
|
|
143337
|
+
};
|
|
143338
|
+
Relationships: [];
|
|
143339
|
+
};
|
|
141817
143340
|
logistics_variables: {
|
|
141818
143341
|
Row: {
|
|
141819
143342
|
created_at: string;
|
|
@@ -144204,6 +145727,7 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
|
|
|
144204
145727
|
customer_name: string;
|
|
144205
145728
|
deleted_at: string | null;
|
|
144206
145729
|
delivery_date: string | null;
|
|
145730
|
+
floriday_order_group_key: string | null;
|
|
144207
145731
|
floriday_sales_order_id: string | null;
|
|
144208
145732
|
id: string;
|
|
144209
145733
|
invoice_due_at: string | null;
|
|
@@ -144231,6 +145755,7 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
|
|
|
144231
145755
|
customer_name?: string;
|
|
144232
145756
|
deleted_at?: string | null;
|
|
144233
145757
|
delivery_date?: string | null;
|
|
145758
|
+
floriday_order_group_key?: string | null;
|
|
144234
145759
|
floriday_sales_order_id?: string | null;
|
|
144235
145760
|
id?: string;
|
|
144236
145761
|
invoice_due_at?: string | null;
|
|
@@ -144258,6 +145783,7 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
|
|
|
144258
145783
|
customer_name?: string;
|
|
144259
145784
|
deleted_at?: string | null;
|
|
144260
145785
|
delivery_date?: string | null;
|
|
145786
|
+
floriday_order_group_key?: string | null;
|
|
144261
145787
|
floriday_sales_order_id?: string | null;
|
|
144262
145788
|
id?: string;
|
|
144263
145789
|
invoice_due_at?: string | null;
|
|
@@ -150121,6 +151647,36 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
|
|
|
150121
151647
|
referencedColumns: ["id"];
|
|
150122
151648
|
}];
|
|
150123
151649
|
};
|
|
151650
|
+
voorraad_buffer_state: {
|
|
151651
|
+
Row: {
|
|
151652
|
+
buffer_id: string;
|
|
151653
|
+
buffer_key: string | null;
|
|
151654
|
+
closed_at: string | null;
|
|
151655
|
+
created_at: string;
|
|
151656
|
+
detached_orders: import("../integrations/supabase/types").Json;
|
|
151657
|
+
reason: string | null;
|
|
151658
|
+
updated_at: string;
|
|
151659
|
+
};
|
|
151660
|
+
Insert: {
|
|
151661
|
+
buffer_id: string;
|
|
151662
|
+
buffer_key?: string | null;
|
|
151663
|
+
closed_at?: string | null;
|
|
151664
|
+
created_at?: string;
|
|
151665
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
151666
|
+
reason?: string | null;
|
|
151667
|
+
updated_at?: string;
|
|
151668
|
+
};
|
|
151669
|
+
Update: {
|
|
151670
|
+
buffer_id?: string;
|
|
151671
|
+
buffer_key?: string | null;
|
|
151672
|
+
closed_at?: string | null;
|
|
151673
|
+
created_at?: string;
|
|
151674
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
151675
|
+
reason?: string | null;
|
|
151676
|
+
updated_at?: string;
|
|
151677
|
+
};
|
|
151678
|
+
Relationships: [];
|
|
151679
|
+
};
|
|
150124
151680
|
voorraad_custom_fields: {
|
|
150125
151681
|
Row: {
|
|
150126
151682
|
created_at: string;
|
|
@@ -150163,6 +151719,36 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
|
|
|
150163
151719
|
};
|
|
150164
151720
|
Relationships: [];
|
|
150165
151721
|
};
|
|
151722
|
+
voorraad_logistics_event_log: {
|
|
151723
|
+
Row: {
|
|
151724
|
+
created_at: string;
|
|
151725
|
+
event_id: string;
|
|
151726
|
+
event_type: string;
|
|
151727
|
+
order_ref: string | null;
|
|
151728
|
+
processed_at: string;
|
|
151729
|
+
result: import("../integrations/supabase/types").Json;
|
|
151730
|
+
updated_at: string;
|
|
151731
|
+
};
|
|
151732
|
+
Insert: {
|
|
151733
|
+
created_at?: string;
|
|
151734
|
+
event_id: string;
|
|
151735
|
+
event_type: string;
|
|
151736
|
+
order_ref?: string | null;
|
|
151737
|
+
processed_at?: string;
|
|
151738
|
+
result?: import("../integrations/supabase/types").Json;
|
|
151739
|
+
updated_at?: string;
|
|
151740
|
+
};
|
|
151741
|
+
Update: {
|
|
151742
|
+
created_at?: string;
|
|
151743
|
+
event_id?: string;
|
|
151744
|
+
event_type?: string;
|
|
151745
|
+
order_ref?: string | null;
|
|
151746
|
+
processed_at?: string;
|
|
151747
|
+
result?: import("../integrations/supabase/types").Json;
|
|
151748
|
+
updated_at?: string;
|
|
151749
|
+
};
|
|
151750
|
+
Relationships: [];
|
|
151751
|
+
};
|
|
150166
151752
|
voorraad_media_upload_failures: {
|
|
150167
151753
|
Row: {
|
|
150168
151754
|
action: string;
|
|
@@ -154132,6 +155718,12 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
|
|
|
154132
155718
|
station_carts: number;
|
|
154133
155719
|
}[];
|
|
154134
155720
|
};
|
|
155721
|
+
logistics_control_complete_cart: {
|
|
155722
|
+
Args: {
|
|
155723
|
+
p_cart_id: string;
|
|
155724
|
+
};
|
|
155725
|
+
Returns: number;
|
|
155726
|
+
};
|
|
154135
155727
|
logistics_control_scan_approve: {
|
|
154136
155728
|
Args: {
|
|
154137
155729
|
p_allow_reprint?: boolean;
|
|
@@ -154211,6 +155803,15 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
|
|
|
154211
155803
|
Args: never;
|
|
154212
155804
|
Returns: import("../integrations/supabase/types").Json;
|
|
154213
155805
|
};
|
|
155806
|
+
logistics_day_windows: {
|
|
155807
|
+
Args: {
|
|
155808
|
+
p_day: string;
|
|
155809
|
+
};
|
|
155810
|
+
Returns: {
|
|
155811
|
+
win_end: string;
|
|
155812
|
+
win_start: string;
|
|
155813
|
+
}[];
|
|
155814
|
+
};
|
|
154214
155815
|
logistics_delay_customer_email: {
|
|
154215
155816
|
Args: {
|
|
154216
155817
|
p_customer: string;
|
|
@@ -154278,6 +155879,17 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
|
|
|
154278
155879
|
};
|
|
154279
155880
|
Returns: import("../integrations/supabase/types").Json;
|
|
154280
155881
|
};
|
|
155882
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
155883
|
+
Args: {
|
|
155884
|
+
_cart_id: string;
|
|
155885
|
+
_is_herprint: boolean;
|
|
155886
|
+
_printer_id: string;
|
|
155887
|
+
_queue_item_id: string;
|
|
155888
|
+
_session_id: string;
|
|
155889
|
+
_slip_job_id: string;
|
|
155890
|
+
};
|
|
155891
|
+
Returns: string;
|
|
155892
|
+
};
|
|
154281
155893
|
logistics_enqueue_sticker_with_slip: {
|
|
154282
155894
|
Args: {
|
|
154283
155895
|
_cart_id: string;
|
|
@@ -154416,6 +156028,32 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
|
|
|
154416
156028
|
};
|
|
154417
156029
|
Returns: string;
|
|
154418
156030
|
};
|
|
156031
|
+
logistics_floriday_gate_status: {
|
|
156032
|
+
Args: never;
|
|
156033
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
156034
|
+
};
|
|
156035
|
+
logistics_floriday_log_refusal: {
|
|
156036
|
+
Args: {
|
|
156037
|
+
_action?: string;
|
|
156038
|
+
_module?: string;
|
|
156039
|
+
_order_ref: string;
|
|
156040
|
+
_reason: string;
|
|
156041
|
+
_shell?: string;
|
|
156042
|
+
};
|
|
156043
|
+
Returns: undefined;
|
|
156044
|
+
};
|
|
156045
|
+
logistics_floriday_log_send: {
|
|
156046
|
+
Args: {
|
|
156047
|
+
_action: string;
|
|
156048
|
+
_detail?: string;
|
|
156049
|
+
_http_status?: number;
|
|
156050
|
+
_module?: string;
|
|
156051
|
+
_ok: boolean;
|
|
156052
|
+
_order_ref: string;
|
|
156053
|
+
_shell?: string;
|
|
156054
|
+
};
|
|
156055
|
+
Returns: undefined;
|
|
156056
|
+
};
|
|
154419
156057
|
logistics_floriday_order_approved: {
|
|
154420
156058
|
Args: {
|
|
154421
156059
|
_order_ref: string;
|
|
@@ -154440,6 +156078,16 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
|
|
|
154440
156078
|
Args: never;
|
|
154441
156079
|
Returns: boolean;
|
|
154442
156080
|
};
|
|
156081
|
+
logistics_floriday_stock_updates_enabled: {
|
|
156082
|
+
Args: never;
|
|
156083
|
+
Returns: boolean;
|
|
156084
|
+
};
|
|
156085
|
+
logistics_floriday_write_allowed: {
|
|
156086
|
+
Args: {
|
|
156087
|
+
_action: string;
|
|
156088
|
+
};
|
|
156089
|
+
Returns: boolean;
|
|
156090
|
+
};
|
|
154443
156091
|
logistics_fulfill_barcode_requests: {
|
|
154444
156092
|
Args: {
|
|
154445
156093
|
p_limit?: number;
|
|
@@ -154508,6 +156156,10 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
|
|
|
154508
156156
|
};
|
|
154509
156157
|
Returns: string;
|
|
154510
156158
|
};
|
|
156159
|
+
logistics_opening_timezone: {
|
|
156160
|
+
Args: never;
|
|
156161
|
+
Returns: string;
|
|
156162
|
+
};
|
|
154511
156163
|
logistics_order_cart_count: {
|
|
154512
156164
|
Args: {
|
|
154513
156165
|
p_order_ref: string;
|
|
@@ -154899,6 +156551,10 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
|
|
|
154899
156551
|
};
|
|
154900
156552
|
Returns: string;
|
|
154901
156553
|
};
|
|
156554
|
+
logistics_shipping_note_follows_slip: {
|
|
156555
|
+
Args: never;
|
|
156556
|
+
Returns: boolean;
|
|
156557
|
+
};
|
|
154902
156558
|
logistics_shipping_note_from_barcode: {
|
|
154903
156559
|
Args: {
|
|
154904
156560
|
p_allow_reprint?: boolean;
|
|
@@ -154911,6 +156567,14 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
|
|
|
154911
156567
|
Args: never;
|
|
154912
156568
|
Returns: boolean;
|
|
154913
156569
|
};
|
|
156570
|
+
logistics_subtract_working_minutes: {
|
|
156571
|
+
Args: {
|
|
156572
|
+
p_deadline: string;
|
|
156573
|
+
p_max_workdays?: number;
|
|
156574
|
+
p_minutes: number;
|
|
156575
|
+
};
|
|
156576
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
156577
|
+
};
|
|
154914
156578
|
logistics_supersede_stale_tasks: {
|
|
154915
156579
|
Args: {
|
|
154916
156580
|
p_keep: string[];
|
|
@@ -154947,6 +156611,12 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
|
|
|
154947
156611
|
Args: never;
|
|
154948
156612
|
Returns: string;
|
|
154949
156613
|
};
|
|
156614
|
+
logistics_timezone_options: {
|
|
156615
|
+
Args: never;
|
|
156616
|
+
Returns: {
|
|
156617
|
+
name: string;
|
|
156618
|
+
}[];
|
|
156619
|
+
};
|
|
154950
156620
|
logistics_upsert_task: {
|
|
154951
156621
|
Args: {
|
|
154952
156622
|
p_buffer_ref: string;
|
|
@@ -154966,6 +156636,16 @@ export declare const listUsedCartCarriers: import("@tanstack/start-client-core")
|
|
|
154966
156636
|
};
|
|
154967
156637
|
Returns: string;
|
|
154968
156638
|
};
|
|
156639
|
+
logistics_valid_timezone: {
|
|
156640
|
+
Args: {
|
|
156641
|
+
_tz: string;
|
|
156642
|
+
};
|
|
156643
|
+
Returns: boolean;
|
|
156644
|
+
};
|
|
156645
|
+
logistics_working_hours_status: {
|
|
156646
|
+
Args: never;
|
|
156647
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
156648
|
+
};
|
|
154969
156649
|
logistics_write_buffer_layer_positions: {
|
|
154970
156650
|
Args: {
|
|
154971
156651
|
p_buffer_id: string;
|
|
@@ -166991,22 +168671,31 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
|
|
|
166991
168671
|
};
|
|
166992
168672
|
logistics_floriday_push_refusals: {
|
|
166993
168673
|
Row: {
|
|
168674
|
+
action: string | null;
|
|
166994
168675
|
created_at: string;
|
|
166995
168676
|
id: string;
|
|
166996
168677
|
order_ref: string;
|
|
166997
168678
|
reason: string;
|
|
168679
|
+
source_module: string | null;
|
|
168680
|
+
source_shell: string | null;
|
|
166998
168681
|
};
|
|
166999
168682
|
Insert: {
|
|
168683
|
+
action?: string | null;
|
|
167000
168684
|
created_at?: string;
|
|
167001
168685
|
id?: string;
|
|
167002
168686
|
order_ref: string;
|
|
167003
168687
|
reason: string;
|
|
168688
|
+
source_module?: string | null;
|
|
168689
|
+
source_shell?: string | null;
|
|
167004
168690
|
};
|
|
167005
168691
|
Update: {
|
|
168692
|
+
action?: string | null;
|
|
167006
168693
|
created_at?: string;
|
|
167007
168694
|
id?: string;
|
|
167008
168695
|
order_ref?: string;
|
|
167009
168696
|
reason?: string;
|
|
168697
|
+
source_module?: string | null;
|
|
168698
|
+
source_shell?: string | null;
|
|
167010
168699
|
};
|
|
167011
168700
|
Relationships: [];
|
|
167012
168701
|
};
|
|
@@ -167085,6 +168774,42 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
|
|
|
167085
168774
|
};
|
|
167086
168775
|
Relationships: [];
|
|
167087
168776
|
};
|
|
168777
|
+
logistics_floriday_status_sends: {
|
|
168778
|
+
Row: {
|
|
168779
|
+
action: string;
|
|
168780
|
+
created_at: string;
|
|
168781
|
+
detail: string | null;
|
|
168782
|
+
http_status: number | null;
|
|
168783
|
+
id: string;
|
|
168784
|
+
ok: boolean;
|
|
168785
|
+
order_ref: string;
|
|
168786
|
+
source_module: string | null;
|
|
168787
|
+
source_shell: string | null;
|
|
168788
|
+
};
|
|
168789
|
+
Insert: {
|
|
168790
|
+
action: string;
|
|
168791
|
+
created_at?: string;
|
|
168792
|
+
detail?: string | null;
|
|
168793
|
+
http_status?: number | null;
|
|
168794
|
+
id?: string;
|
|
168795
|
+
ok?: boolean;
|
|
168796
|
+
order_ref: string;
|
|
168797
|
+
source_module?: string | null;
|
|
168798
|
+
source_shell?: string | null;
|
|
168799
|
+
};
|
|
168800
|
+
Update: {
|
|
168801
|
+
action?: string;
|
|
168802
|
+
created_at?: string;
|
|
168803
|
+
detail?: string | null;
|
|
168804
|
+
http_status?: number | null;
|
|
168805
|
+
id?: string;
|
|
168806
|
+
ok?: boolean;
|
|
168807
|
+
order_ref?: string;
|
|
168808
|
+
source_module?: string | null;
|
|
168809
|
+
source_shell?: string | null;
|
|
168810
|
+
};
|
|
168811
|
+
Relationships: [];
|
|
168812
|
+
};
|
|
167088
168813
|
logistics_formulas: {
|
|
167089
168814
|
Row: {
|
|
167090
168815
|
created_at: string;
|
|
@@ -167157,6 +168882,66 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
|
|
|
167157
168882
|
};
|
|
167158
168883
|
Relationships: [];
|
|
167159
168884
|
};
|
|
168885
|
+
logistics_opening_exceptions: {
|
|
168886
|
+
Row: {
|
|
168887
|
+
closes: string | null;
|
|
168888
|
+
created_at: string;
|
|
168889
|
+
day: string;
|
|
168890
|
+
id: string;
|
|
168891
|
+
is_closed: boolean;
|
|
168892
|
+
note: string | null;
|
|
168893
|
+
opens: string | null;
|
|
168894
|
+
};
|
|
168895
|
+
Insert: {
|
|
168896
|
+
closes?: string | null;
|
|
168897
|
+
created_at?: string;
|
|
168898
|
+
day: string;
|
|
168899
|
+
id?: string;
|
|
168900
|
+
is_closed?: boolean;
|
|
168901
|
+
note?: string | null;
|
|
168902
|
+
opens?: string | null;
|
|
168903
|
+
};
|
|
168904
|
+
Update: {
|
|
168905
|
+
closes?: string | null;
|
|
168906
|
+
created_at?: string;
|
|
168907
|
+
day?: string;
|
|
168908
|
+
id?: string;
|
|
168909
|
+
is_closed?: boolean;
|
|
168910
|
+
note?: string | null;
|
|
168911
|
+
opens?: string | null;
|
|
168912
|
+
};
|
|
168913
|
+
Relationships: [];
|
|
168914
|
+
};
|
|
168915
|
+
logistics_opening_hours: {
|
|
168916
|
+
Row: {
|
|
168917
|
+
closes: string;
|
|
168918
|
+
created_at: string;
|
|
168919
|
+
id: string;
|
|
168920
|
+
is_active: boolean;
|
|
168921
|
+
note: string | null;
|
|
168922
|
+
opens: string;
|
|
168923
|
+
weekday: number;
|
|
168924
|
+
};
|
|
168925
|
+
Insert: {
|
|
168926
|
+
closes: string;
|
|
168927
|
+
created_at?: string;
|
|
168928
|
+
id?: string;
|
|
168929
|
+
is_active?: boolean;
|
|
168930
|
+
note?: string | null;
|
|
168931
|
+
opens: string;
|
|
168932
|
+
weekday: number;
|
|
168933
|
+
};
|
|
168934
|
+
Update: {
|
|
168935
|
+
closes?: string;
|
|
168936
|
+
created_at?: string;
|
|
168937
|
+
id?: string;
|
|
168938
|
+
is_active?: boolean;
|
|
168939
|
+
note?: string | null;
|
|
168940
|
+
opens?: string;
|
|
168941
|
+
weekday?: number;
|
|
168942
|
+
};
|
|
168943
|
+
Relationships: [];
|
|
168944
|
+
};
|
|
167160
168945
|
logistics_pickup_moments: {
|
|
167161
168946
|
Row: {
|
|
167162
168947
|
carrier_ref: string | null;
|
|
@@ -167949,6 +169734,24 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
|
|
|
167949
169734
|
};
|
|
167950
169735
|
Relationships: [];
|
|
167951
169736
|
};
|
|
169737
|
+
logistics_time_settings: {
|
|
169738
|
+
Row: {
|
|
169739
|
+
id: boolean;
|
|
169740
|
+
timezone: string;
|
|
169741
|
+
updated_at: string;
|
|
169742
|
+
};
|
|
169743
|
+
Insert: {
|
|
169744
|
+
id?: boolean;
|
|
169745
|
+
timezone: string;
|
|
169746
|
+
updated_at?: string;
|
|
169747
|
+
};
|
|
169748
|
+
Update: {
|
|
169749
|
+
id?: boolean;
|
|
169750
|
+
timezone?: string;
|
|
169751
|
+
updated_at?: string;
|
|
169752
|
+
};
|
|
169753
|
+
Relationships: [];
|
|
169754
|
+
};
|
|
167952
169755
|
logistics_variables: {
|
|
167953
169756
|
Row: {
|
|
167954
169757
|
created_at: string;
|
|
@@ -170339,6 +172142,7 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
|
|
|
170339
172142
|
customer_name: string;
|
|
170340
172143
|
deleted_at: string | null;
|
|
170341
172144
|
delivery_date: string | null;
|
|
172145
|
+
floriday_order_group_key: string | null;
|
|
170342
172146
|
floriday_sales_order_id: string | null;
|
|
170343
172147
|
id: string;
|
|
170344
172148
|
invoice_due_at: string | null;
|
|
@@ -170366,6 +172170,7 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
|
|
|
170366
172170
|
customer_name?: string;
|
|
170367
172171
|
deleted_at?: string | null;
|
|
170368
172172
|
delivery_date?: string | null;
|
|
172173
|
+
floriday_order_group_key?: string | null;
|
|
170369
172174
|
floriday_sales_order_id?: string | null;
|
|
170370
172175
|
id?: string;
|
|
170371
172176
|
invoice_due_at?: string | null;
|
|
@@ -170393,6 +172198,7 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
|
|
|
170393
172198
|
customer_name?: string;
|
|
170394
172199
|
deleted_at?: string | null;
|
|
170395
172200
|
delivery_date?: string | null;
|
|
172201
|
+
floriday_order_group_key?: string | null;
|
|
170396
172202
|
floriday_sales_order_id?: string | null;
|
|
170397
172203
|
id?: string;
|
|
170398
172204
|
invoice_due_at?: string | null;
|
|
@@ -176256,6 +178062,36 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
|
|
|
176256
178062
|
referencedColumns: ["id"];
|
|
176257
178063
|
}];
|
|
176258
178064
|
};
|
|
178065
|
+
voorraad_buffer_state: {
|
|
178066
|
+
Row: {
|
|
178067
|
+
buffer_id: string;
|
|
178068
|
+
buffer_key: string | null;
|
|
178069
|
+
closed_at: string | null;
|
|
178070
|
+
created_at: string;
|
|
178071
|
+
detached_orders: import("../integrations/supabase/types").Json;
|
|
178072
|
+
reason: string | null;
|
|
178073
|
+
updated_at: string;
|
|
178074
|
+
};
|
|
178075
|
+
Insert: {
|
|
178076
|
+
buffer_id: string;
|
|
178077
|
+
buffer_key?: string | null;
|
|
178078
|
+
closed_at?: string | null;
|
|
178079
|
+
created_at?: string;
|
|
178080
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
178081
|
+
reason?: string | null;
|
|
178082
|
+
updated_at?: string;
|
|
178083
|
+
};
|
|
178084
|
+
Update: {
|
|
178085
|
+
buffer_id?: string;
|
|
178086
|
+
buffer_key?: string | null;
|
|
178087
|
+
closed_at?: string | null;
|
|
178088
|
+
created_at?: string;
|
|
178089
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
178090
|
+
reason?: string | null;
|
|
178091
|
+
updated_at?: string;
|
|
178092
|
+
};
|
|
178093
|
+
Relationships: [];
|
|
178094
|
+
};
|
|
176259
178095
|
voorraad_custom_fields: {
|
|
176260
178096
|
Row: {
|
|
176261
178097
|
created_at: string;
|
|
@@ -176298,6 +178134,36 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
|
|
|
176298
178134
|
};
|
|
176299
178135
|
Relationships: [];
|
|
176300
178136
|
};
|
|
178137
|
+
voorraad_logistics_event_log: {
|
|
178138
|
+
Row: {
|
|
178139
|
+
created_at: string;
|
|
178140
|
+
event_id: string;
|
|
178141
|
+
event_type: string;
|
|
178142
|
+
order_ref: string | null;
|
|
178143
|
+
processed_at: string;
|
|
178144
|
+
result: import("../integrations/supabase/types").Json;
|
|
178145
|
+
updated_at: string;
|
|
178146
|
+
};
|
|
178147
|
+
Insert: {
|
|
178148
|
+
created_at?: string;
|
|
178149
|
+
event_id: string;
|
|
178150
|
+
event_type: string;
|
|
178151
|
+
order_ref?: string | null;
|
|
178152
|
+
processed_at?: string;
|
|
178153
|
+
result?: import("../integrations/supabase/types").Json;
|
|
178154
|
+
updated_at?: string;
|
|
178155
|
+
};
|
|
178156
|
+
Update: {
|
|
178157
|
+
created_at?: string;
|
|
178158
|
+
event_id?: string;
|
|
178159
|
+
event_type?: string;
|
|
178160
|
+
order_ref?: string | null;
|
|
178161
|
+
processed_at?: string;
|
|
178162
|
+
result?: import("../integrations/supabase/types").Json;
|
|
178163
|
+
updated_at?: string;
|
|
178164
|
+
};
|
|
178165
|
+
Relationships: [];
|
|
178166
|
+
};
|
|
176301
178167
|
voorraad_media_upload_failures: {
|
|
176302
178168
|
Row: {
|
|
176303
178169
|
action: string;
|
|
@@ -180267,6 +182133,12 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
|
|
|
180267
182133
|
station_carts: number;
|
|
180268
182134
|
}[];
|
|
180269
182135
|
};
|
|
182136
|
+
logistics_control_complete_cart: {
|
|
182137
|
+
Args: {
|
|
182138
|
+
p_cart_id: string;
|
|
182139
|
+
};
|
|
182140
|
+
Returns: number;
|
|
182141
|
+
};
|
|
180270
182142
|
logistics_control_scan_approve: {
|
|
180271
182143
|
Args: {
|
|
180272
182144
|
p_allow_reprint?: boolean;
|
|
@@ -180346,6 +182218,15 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
|
|
|
180346
182218
|
Args: never;
|
|
180347
182219
|
Returns: import("../integrations/supabase/types").Json;
|
|
180348
182220
|
};
|
|
182221
|
+
logistics_day_windows: {
|
|
182222
|
+
Args: {
|
|
182223
|
+
p_day: string;
|
|
182224
|
+
};
|
|
182225
|
+
Returns: {
|
|
182226
|
+
win_end: string;
|
|
182227
|
+
win_start: string;
|
|
182228
|
+
}[];
|
|
182229
|
+
};
|
|
180349
182230
|
logistics_delay_customer_email: {
|
|
180350
182231
|
Args: {
|
|
180351
182232
|
p_customer: string;
|
|
@@ -180413,6 +182294,17 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
|
|
|
180413
182294
|
};
|
|
180414
182295
|
Returns: import("../integrations/supabase/types").Json;
|
|
180415
182296
|
};
|
|
182297
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
182298
|
+
Args: {
|
|
182299
|
+
_cart_id: string;
|
|
182300
|
+
_is_herprint: boolean;
|
|
182301
|
+
_printer_id: string;
|
|
182302
|
+
_queue_item_id: string;
|
|
182303
|
+
_session_id: string;
|
|
182304
|
+
_slip_job_id: string;
|
|
182305
|
+
};
|
|
182306
|
+
Returns: string;
|
|
182307
|
+
};
|
|
180416
182308
|
logistics_enqueue_sticker_with_slip: {
|
|
180417
182309
|
Args: {
|
|
180418
182310
|
_cart_id: string;
|
|
@@ -180551,6 +182443,32 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
|
|
|
180551
182443
|
};
|
|
180552
182444
|
Returns: string;
|
|
180553
182445
|
};
|
|
182446
|
+
logistics_floriday_gate_status: {
|
|
182447
|
+
Args: never;
|
|
182448
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
182449
|
+
};
|
|
182450
|
+
logistics_floriday_log_refusal: {
|
|
182451
|
+
Args: {
|
|
182452
|
+
_action?: string;
|
|
182453
|
+
_module?: string;
|
|
182454
|
+
_order_ref: string;
|
|
182455
|
+
_reason: string;
|
|
182456
|
+
_shell?: string;
|
|
182457
|
+
};
|
|
182458
|
+
Returns: undefined;
|
|
182459
|
+
};
|
|
182460
|
+
logistics_floriday_log_send: {
|
|
182461
|
+
Args: {
|
|
182462
|
+
_action: string;
|
|
182463
|
+
_detail?: string;
|
|
182464
|
+
_http_status?: number;
|
|
182465
|
+
_module?: string;
|
|
182466
|
+
_ok: boolean;
|
|
182467
|
+
_order_ref: string;
|
|
182468
|
+
_shell?: string;
|
|
182469
|
+
};
|
|
182470
|
+
Returns: undefined;
|
|
182471
|
+
};
|
|
180554
182472
|
logistics_floriday_order_approved: {
|
|
180555
182473
|
Args: {
|
|
180556
182474
|
_order_ref: string;
|
|
@@ -180575,6 +182493,16 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
|
|
|
180575
182493
|
Args: never;
|
|
180576
182494
|
Returns: boolean;
|
|
180577
182495
|
};
|
|
182496
|
+
logistics_floriday_stock_updates_enabled: {
|
|
182497
|
+
Args: never;
|
|
182498
|
+
Returns: boolean;
|
|
182499
|
+
};
|
|
182500
|
+
logistics_floriday_write_allowed: {
|
|
182501
|
+
Args: {
|
|
182502
|
+
_action: string;
|
|
182503
|
+
};
|
|
182504
|
+
Returns: boolean;
|
|
182505
|
+
};
|
|
180578
182506
|
logistics_fulfill_barcode_requests: {
|
|
180579
182507
|
Args: {
|
|
180580
182508
|
p_limit?: number;
|
|
@@ -180643,6 +182571,10 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
|
|
|
180643
182571
|
};
|
|
180644
182572
|
Returns: string;
|
|
180645
182573
|
};
|
|
182574
|
+
logistics_opening_timezone: {
|
|
182575
|
+
Args: never;
|
|
182576
|
+
Returns: string;
|
|
182577
|
+
};
|
|
180646
182578
|
logistics_order_cart_count: {
|
|
180647
182579
|
Args: {
|
|
180648
182580
|
p_order_ref: string;
|
|
@@ -181034,6 +182966,10 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
|
|
|
181034
182966
|
};
|
|
181035
182967
|
Returns: string;
|
|
181036
182968
|
};
|
|
182969
|
+
logistics_shipping_note_follows_slip: {
|
|
182970
|
+
Args: never;
|
|
182971
|
+
Returns: boolean;
|
|
182972
|
+
};
|
|
181037
182973
|
logistics_shipping_note_from_barcode: {
|
|
181038
182974
|
Args: {
|
|
181039
182975
|
p_allow_reprint?: boolean;
|
|
@@ -181046,6 +182982,14 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
|
|
|
181046
182982
|
Args: never;
|
|
181047
182983
|
Returns: boolean;
|
|
181048
182984
|
};
|
|
182985
|
+
logistics_subtract_working_minutes: {
|
|
182986
|
+
Args: {
|
|
182987
|
+
p_deadline: string;
|
|
182988
|
+
p_max_workdays?: number;
|
|
182989
|
+
p_minutes: number;
|
|
182990
|
+
};
|
|
182991
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
182992
|
+
};
|
|
181049
182993
|
logistics_supersede_stale_tasks: {
|
|
181050
182994
|
Args: {
|
|
181051
182995
|
p_keep: string[];
|
|
@@ -181082,6 +183026,12 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
|
|
|
181082
183026
|
Args: never;
|
|
181083
183027
|
Returns: string;
|
|
181084
183028
|
};
|
|
183029
|
+
logistics_timezone_options: {
|
|
183030
|
+
Args: never;
|
|
183031
|
+
Returns: {
|
|
183032
|
+
name: string;
|
|
183033
|
+
}[];
|
|
183034
|
+
};
|
|
181085
183035
|
logistics_upsert_task: {
|
|
181086
183036
|
Args: {
|
|
181087
183037
|
p_buffer_ref: string;
|
|
@@ -181101,6 +183051,16 @@ export declare const upsertCartType: import("@tanstack/start-client-core").Optio
|
|
|
181101
183051
|
};
|
|
181102
183052
|
Returns: string;
|
|
181103
183053
|
};
|
|
183054
|
+
logistics_valid_timezone: {
|
|
183055
|
+
Args: {
|
|
183056
|
+
_tz: string;
|
|
183057
|
+
};
|
|
183058
|
+
Returns: boolean;
|
|
183059
|
+
};
|
|
183060
|
+
logistics_working_hours_status: {
|
|
183061
|
+
Args: never;
|
|
183062
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
183063
|
+
};
|
|
181104
183064
|
logistics_write_buffer_layer_positions: {
|
|
181105
183065
|
Args: {
|
|
181106
183066
|
p_buffer_id: string;
|
|
@@ -193135,22 +195095,31 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
|
|
|
193135
195095
|
};
|
|
193136
195096
|
logistics_floriday_push_refusals: {
|
|
193137
195097
|
Row: {
|
|
195098
|
+
action: string | null;
|
|
193138
195099
|
created_at: string;
|
|
193139
195100
|
id: string;
|
|
193140
195101
|
order_ref: string;
|
|
193141
195102
|
reason: string;
|
|
195103
|
+
source_module: string | null;
|
|
195104
|
+
source_shell: string | null;
|
|
193142
195105
|
};
|
|
193143
195106
|
Insert: {
|
|
195107
|
+
action?: string | null;
|
|
193144
195108
|
created_at?: string;
|
|
193145
195109
|
id?: string;
|
|
193146
195110
|
order_ref: string;
|
|
193147
195111
|
reason: string;
|
|
195112
|
+
source_module?: string | null;
|
|
195113
|
+
source_shell?: string | null;
|
|
193148
195114
|
};
|
|
193149
195115
|
Update: {
|
|
195116
|
+
action?: string | null;
|
|
193150
195117
|
created_at?: string;
|
|
193151
195118
|
id?: string;
|
|
193152
195119
|
order_ref?: string;
|
|
193153
195120
|
reason?: string;
|
|
195121
|
+
source_module?: string | null;
|
|
195122
|
+
source_shell?: string | null;
|
|
193154
195123
|
};
|
|
193155
195124
|
Relationships: [];
|
|
193156
195125
|
};
|
|
@@ -193229,6 +195198,42 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
|
|
|
193229
195198
|
};
|
|
193230
195199
|
Relationships: [];
|
|
193231
195200
|
};
|
|
195201
|
+
logistics_floriday_status_sends: {
|
|
195202
|
+
Row: {
|
|
195203
|
+
action: string;
|
|
195204
|
+
created_at: string;
|
|
195205
|
+
detail: string | null;
|
|
195206
|
+
http_status: number | null;
|
|
195207
|
+
id: string;
|
|
195208
|
+
ok: boolean;
|
|
195209
|
+
order_ref: string;
|
|
195210
|
+
source_module: string | null;
|
|
195211
|
+
source_shell: string | null;
|
|
195212
|
+
};
|
|
195213
|
+
Insert: {
|
|
195214
|
+
action: string;
|
|
195215
|
+
created_at?: string;
|
|
195216
|
+
detail?: string | null;
|
|
195217
|
+
http_status?: number | null;
|
|
195218
|
+
id?: string;
|
|
195219
|
+
ok?: boolean;
|
|
195220
|
+
order_ref: string;
|
|
195221
|
+
source_module?: string | null;
|
|
195222
|
+
source_shell?: string | null;
|
|
195223
|
+
};
|
|
195224
|
+
Update: {
|
|
195225
|
+
action?: string;
|
|
195226
|
+
created_at?: string;
|
|
195227
|
+
detail?: string | null;
|
|
195228
|
+
http_status?: number | null;
|
|
195229
|
+
id?: string;
|
|
195230
|
+
ok?: boolean;
|
|
195231
|
+
order_ref?: string;
|
|
195232
|
+
source_module?: string | null;
|
|
195233
|
+
source_shell?: string | null;
|
|
195234
|
+
};
|
|
195235
|
+
Relationships: [];
|
|
195236
|
+
};
|
|
193232
195237
|
logistics_formulas: {
|
|
193233
195238
|
Row: {
|
|
193234
195239
|
created_at: string;
|
|
@@ -193301,6 +195306,66 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
|
|
|
193301
195306
|
};
|
|
193302
195307
|
Relationships: [];
|
|
193303
195308
|
};
|
|
195309
|
+
logistics_opening_exceptions: {
|
|
195310
|
+
Row: {
|
|
195311
|
+
closes: string | null;
|
|
195312
|
+
created_at: string;
|
|
195313
|
+
day: string;
|
|
195314
|
+
id: string;
|
|
195315
|
+
is_closed: boolean;
|
|
195316
|
+
note: string | null;
|
|
195317
|
+
opens: string | null;
|
|
195318
|
+
};
|
|
195319
|
+
Insert: {
|
|
195320
|
+
closes?: string | null;
|
|
195321
|
+
created_at?: string;
|
|
195322
|
+
day: string;
|
|
195323
|
+
id?: string;
|
|
195324
|
+
is_closed?: boolean;
|
|
195325
|
+
note?: string | null;
|
|
195326
|
+
opens?: string | null;
|
|
195327
|
+
};
|
|
195328
|
+
Update: {
|
|
195329
|
+
closes?: string | null;
|
|
195330
|
+
created_at?: string;
|
|
195331
|
+
day?: string;
|
|
195332
|
+
id?: string;
|
|
195333
|
+
is_closed?: boolean;
|
|
195334
|
+
note?: string | null;
|
|
195335
|
+
opens?: string | null;
|
|
195336
|
+
};
|
|
195337
|
+
Relationships: [];
|
|
195338
|
+
};
|
|
195339
|
+
logistics_opening_hours: {
|
|
195340
|
+
Row: {
|
|
195341
|
+
closes: string;
|
|
195342
|
+
created_at: string;
|
|
195343
|
+
id: string;
|
|
195344
|
+
is_active: boolean;
|
|
195345
|
+
note: string | null;
|
|
195346
|
+
opens: string;
|
|
195347
|
+
weekday: number;
|
|
195348
|
+
};
|
|
195349
|
+
Insert: {
|
|
195350
|
+
closes: string;
|
|
195351
|
+
created_at?: string;
|
|
195352
|
+
id?: string;
|
|
195353
|
+
is_active?: boolean;
|
|
195354
|
+
note?: string | null;
|
|
195355
|
+
opens: string;
|
|
195356
|
+
weekday: number;
|
|
195357
|
+
};
|
|
195358
|
+
Update: {
|
|
195359
|
+
closes?: string;
|
|
195360
|
+
created_at?: string;
|
|
195361
|
+
id?: string;
|
|
195362
|
+
is_active?: boolean;
|
|
195363
|
+
note?: string | null;
|
|
195364
|
+
opens?: string;
|
|
195365
|
+
weekday?: number;
|
|
195366
|
+
};
|
|
195367
|
+
Relationships: [];
|
|
195368
|
+
};
|
|
193304
195369
|
logistics_pickup_moments: {
|
|
193305
195370
|
Row: {
|
|
193306
195371
|
carrier_ref: string | null;
|
|
@@ -194093,6 +196158,24 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
|
|
|
194093
196158
|
};
|
|
194094
196159
|
Relationships: [];
|
|
194095
196160
|
};
|
|
196161
|
+
logistics_time_settings: {
|
|
196162
|
+
Row: {
|
|
196163
|
+
id: boolean;
|
|
196164
|
+
timezone: string;
|
|
196165
|
+
updated_at: string;
|
|
196166
|
+
};
|
|
196167
|
+
Insert: {
|
|
196168
|
+
id?: boolean;
|
|
196169
|
+
timezone: string;
|
|
196170
|
+
updated_at?: string;
|
|
196171
|
+
};
|
|
196172
|
+
Update: {
|
|
196173
|
+
id?: boolean;
|
|
196174
|
+
timezone?: string;
|
|
196175
|
+
updated_at?: string;
|
|
196176
|
+
};
|
|
196177
|
+
Relationships: [];
|
|
196178
|
+
};
|
|
194096
196179
|
logistics_variables: {
|
|
194097
196180
|
Row: {
|
|
194098
196181
|
created_at: string;
|
|
@@ -196483,6 +198566,7 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
|
|
|
196483
198566
|
customer_name: string;
|
|
196484
198567
|
deleted_at: string | null;
|
|
196485
198568
|
delivery_date: string | null;
|
|
198569
|
+
floriday_order_group_key: string | null;
|
|
196486
198570
|
floriday_sales_order_id: string | null;
|
|
196487
198571
|
id: string;
|
|
196488
198572
|
invoice_due_at: string | null;
|
|
@@ -196510,6 +198594,7 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
|
|
|
196510
198594
|
customer_name?: string;
|
|
196511
198595
|
deleted_at?: string | null;
|
|
196512
198596
|
delivery_date?: string | null;
|
|
198597
|
+
floriday_order_group_key?: string | null;
|
|
196513
198598
|
floriday_sales_order_id?: string | null;
|
|
196514
198599
|
id?: string;
|
|
196515
198600
|
invoice_due_at?: string | null;
|
|
@@ -196537,6 +198622,7 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
|
|
|
196537
198622
|
customer_name?: string;
|
|
196538
198623
|
deleted_at?: string | null;
|
|
196539
198624
|
delivery_date?: string | null;
|
|
198625
|
+
floriday_order_group_key?: string | null;
|
|
196540
198626
|
floriday_sales_order_id?: string | null;
|
|
196541
198627
|
id?: string;
|
|
196542
198628
|
invoice_due_at?: string | null;
|
|
@@ -202400,6 +204486,36 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
|
|
|
202400
204486
|
referencedColumns: ["id"];
|
|
202401
204487
|
}];
|
|
202402
204488
|
};
|
|
204489
|
+
voorraad_buffer_state: {
|
|
204490
|
+
Row: {
|
|
204491
|
+
buffer_id: string;
|
|
204492
|
+
buffer_key: string | null;
|
|
204493
|
+
closed_at: string | null;
|
|
204494
|
+
created_at: string;
|
|
204495
|
+
detached_orders: import("../integrations/supabase/types").Json;
|
|
204496
|
+
reason: string | null;
|
|
204497
|
+
updated_at: string;
|
|
204498
|
+
};
|
|
204499
|
+
Insert: {
|
|
204500
|
+
buffer_id: string;
|
|
204501
|
+
buffer_key?: string | null;
|
|
204502
|
+
closed_at?: string | null;
|
|
204503
|
+
created_at?: string;
|
|
204504
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
204505
|
+
reason?: string | null;
|
|
204506
|
+
updated_at?: string;
|
|
204507
|
+
};
|
|
204508
|
+
Update: {
|
|
204509
|
+
buffer_id?: string;
|
|
204510
|
+
buffer_key?: string | null;
|
|
204511
|
+
closed_at?: string | null;
|
|
204512
|
+
created_at?: string;
|
|
204513
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
204514
|
+
reason?: string | null;
|
|
204515
|
+
updated_at?: string;
|
|
204516
|
+
};
|
|
204517
|
+
Relationships: [];
|
|
204518
|
+
};
|
|
202403
204519
|
voorraad_custom_fields: {
|
|
202404
204520
|
Row: {
|
|
202405
204521
|
created_at: string;
|
|
@@ -202442,6 +204558,36 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
|
|
|
202442
204558
|
};
|
|
202443
204559
|
Relationships: [];
|
|
202444
204560
|
};
|
|
204561
|
+
voorraad_logistics_event_log: {
|
|
204562
|
+
Row: {
|
|
204563
|
+
created_at: string;
|
|
204564
|
+
event_id: string;
|
|
204565
|
+
event_type: string;
|
|
204566
|
+
order_ref: string | null;
|
|
204567
|
+
processed_at: string;
|
|
204568
|
+
result: import("../integrations/supabase/types").Json;
|
|
204569
|
+
updated_at: string;
|
|
204570
|
+
};
|
|
204571
|
+
Insert: {
|
|
204572
|
+
created_at?: string;
|
|
204573
|
+
event_id: string;
|
|
204574
|
+
event_type: string;
|
|
204575
|
+
order_ref?: string | null;
|
|
204576
|
+
processed_at?: string;
|
|
204577
|
+
result?: import("../integrations/supabase/types").Json;
|
|
204578
|
+
updated_at?: string;
|
|
204579
|
+
};
|
|
204580
|
+
Update: {
|
|
204581
|
+
created_at?: string;
|
|
204582
|
+
event_id?: string;
|
|
204583
|
+
event_type?: string;
|
|
204584
|
+
order_ref?: string | null;
|
|
204585
|
+
processed_at?: string;
|
|
204586
|
+
result?: import("../integrations/supabase/types").Json;
|
|
204587
|
+
updated_at?: string;
|
|
204588
|
+
};
|
|
204589
|
+
Relationships: [];
|
|
204590
|
+
};
|
|
202445
204591
|
voorraad_media_upload_failures: {
|
|
202446
204592
|
Row: {
|
|
202447
204593
|
action: string;
|
|
@@ -206411,6 +208557,12 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
|
|
|
206411
208557
|
station_carts: number;
|
|
206412
208558
|
}[];
|
|
206413
208559
|
};
|
|
208560
|
+
logistics_control_complete_cart: {
|
|
208561
|
+
Args: {
|
|
208562
|
+
p_cart_id: string;
|
|
208563
|
+
};
|
|
208564
|
+
Returns: number;
|
|
208565
|
+
};
|
|
206414
208566
|
logistics_control_scan_approve: {
|
|
206415
208567
|
Args: {
|
|
206416
208568
|
p_allow_reprint?: boolean;
|
|
@@ -206490,6 +208642,15 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
|
|
|
206490
208642
|
Args: never;
|
|
206491
208643
|
Returns: import("../integrations/supabase/types").Json;
|
|
206492
208644
|
};
|
|
208645
|
+
logistics_day_windows: {
|
|
208646
|
+
Args: {
|
|
208647
|
+
p_day: string;
|
|
208648
|
+
};
|
|
208649
|
+
Returns: {
|
|
208650
|
+
win_end: string;
|
|
208651
|
+
win_start: string;
|
|
208652
|
+
}[];
|
|
208653
|
+
};
|
|
206493
208654
|
logistics_delay_customer_email: {
|
|
206494
208655
|
Args: {
|
|
206495
208656
|
p_customer: string;
|
|
@@ -206557,6 +208718,17 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
|
|
|
206557
208718
|
};
|
|
206558
208719
|
Returns: import("../integrations/supabase/types").Json;
|
|
206559
208720
|
};
|
|
208721
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
208722
|
+
Args: {
|
|
208723
|
+
_cart_id: string;
|
|
208724
|
+
_is_herprint: boolean;
|
|
208725
|
+
_printer_id: string;
|
|
208726
|
+
_queue_item_id: string;
|
|
208727
|
+
_session_id: string;
|
|
208728
|
+
_slip_job_id: string;
|
|
208729
|
+
};
|
|
208730
|
+
Returns: string;
|
|
208731
|
+
};
|
|
206560
208732
|
logistics_enqueue_sticker_with_slip: {
|
|
206561
208733
|
Args: {
|
|
206562
208734
|
_cart_id: string;
|
|
@@ -206695,6 +208867,32 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
|
|
|
206695
208867
|
};
|
|
206696
208868
|
Returns: string;
|
|
206697
208869
|
};
|
|
208870
|
+
logistics_floriday_gate_status: {
|
|
208871
|
+
Args: never;
|
|
208872
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
208873
|
+
};
|
|
208874
|
+
logistics_floriday_log_refusal: {
|
|
208875
|
+
Args: {
|
|
208876
|
+
_action?: string;
|
|
208877
|
+
_module?: string;
|
|
208878
|
+
_order_ref: string;
|
|
208879
|
+
_reason: string;
|
|
208880
|
+
_shell?: string;
|
|
208881
|
+
};
|
|
208882
|
+
Returns: undefined;
|
|
208883
|
+
};
|
|
208884
|
+
logistics_floriday_log_send: {
|
|
208885
|
+
Args: {
|
|
208886
|
+
_action: string;
|
|
208887
|
+
_detail?: string;
|
|
208888
|
+
_http_status?: number;
|
|
208889
|
+
_module?: string;
|
|
208890
|
+
_ok: boolean;
|
|
208891
|
+
_order_ref: string;
|
|
208892
|
+
_shell?: string;
|
|
208893
|
+
};
|
|
208894
|
+
Returns: undefined;
|
|
208895
|
+
};
|
|
206698
208896
|
logistics_floriday_order_approved: {
|
|
206699
208897
|
Args: {
|
|
206700
208898
|
_order_ref: string;
|
|
@@ -206719,6 +208917,16 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
|
|
|
206719
208917
|
Args: never;
|
|
206720
208918
|
Returns: boolean;
|
|
206721
208919
|
};
|
|
208920
|
+
logistics_floriday_stock_updates_enabled: {
|
|
208921
|
+
Args: never;
|
|
208922
|
+
Returns: boolean;
|
|
208923
|
+
};
|
|
208924
|
+
logistics_floriday_write_allowed: {
|
|
208925
|
+
Args: {
|
|
208926
|
+
_action: string;
|
|
208927
|
+
};
|
|
208928
|
+
Returns: boolean;
|
|
208929
|
+
};
|
|
206722
208930
|
logistics_fulfill_barcode_requests: {
|
|
206723
208931
|
Args: {
|
|
206724
208932
|
p_limit?: number;
|
|
@@ -206787,6 +208995,10 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
|
|
|
206787
208995
|
};
|
|
206788
208996
|
Returns: string;
|
|
206789
208997
|
};
|
|
208998
|
+
logistics_opening_timezone: {
|
|
208999
|
+
Args: never;
|
|
209000
|
+
Returns: string;
|
|
209001
|
+
};
|
|
206790
209002
|
logistics_order_cart_count: {
|
|
206791
209003
|
Args: {
|
|
206792
209004
|
p_order_ref: string;
|
|
@@ -207178,6 +209390,10 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
|
|
|
207178
209390
|
};
|
|
207179
209391
|
Returns: string;
|
|
207180
209392
|
};
|
|
209393
|
+
logistics_shipping_note_follows_slip: {
|
|
209394
|
+
Args: never;
|
|
209395
|
+
Returns: boolean;
|
|
209396
|
+
};
|
|
207181
209397
|
logistics_shipping_note_from_barcode: {
|
|
207182
209398
|
Args: {
|
|
207183
209399
|
p_allow_reprint?: boolean;
|
|
@@ -207190,6 +209406,14 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
|
|
|
207190
209406
|
Args: never;
|
|
207191
209407
|
Returns: boolean;
|
|
207192
209408
|
};
|
|
209409
|
+
logistics_subtract_working_minutes: {
|
|
209410
|
+
Args: {
|
|
209411
|
+
p_deadline: string;
|
|
209412
|
+
p_max_workdays?: number;
|
|
209413
|
+
p_minutes: number;
|
|
209414
|
+
};
|
|
209415
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
209416
|
+
};
|
|
207193
209417
|
logistics_supersede_stale_tasks: {
|
|
207194
209418
|
Args: {
|
|
207195
209419
|
p_keep: string[];
|
|
@@ -207226,6 +209450,12 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
|
|
|
207226
209450
|
Args: never;
|
|
207227
209451
|
Returns: string;
|
|
207228
209452
|
};
|
|
209453
|
+
logistics_timezone_options: {
|
|
209454
|
+
Args: never;
|
|
209455
|
+
Returns: {
|
|
209456
|
+
name: string;
|
|
209457
|
+
}[];
|
|
209458
|
+
};
|
|
207229
209459
|
logistics_upsert_task: {
|
|
207230
209460
|
Args: {
|
|
207231
209461
|
p_buffer_ref: string;
|
|
@@ -207245,6 +209475,16 @@ export declare const deleteCartType: import("@tanstack/start-client-core").Optio
|
|
|
207245
209475
|
};
|
|
207246
209476
|
Returns: string;
|
|
207247
209477
|
};
|
|
209478
|
+
logistics_valid_timezone: {
|
|
209479
|
+
Args: {
|
|
209480
|
+
_tz: string;
|
|
209481
|
+
};
|
|
209482
|
+
Returns: boolean;
|
|
209483
|
+
};
|
|
209484
|
+
logistics_working_hours_status: {
|
|
209485
|
+
Args: never;
|
|
209486
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
209487
|
+
};
|
|
207248
209488
|
logistics_write_buffer_layer_positions: {
|
|
207249
209489
|
Args: {
|
|
207250
209490
|
p_buffer_id: string;
|
|
@@ -219274,22 +221514,31 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
|
|
|
219274
221514
|
};
|
|
219275
221515
|
logistics_floriday_push_refusals: {
|
|
219276
221516
|
Row: {
|
|
221517
|
+
action: string | null;
|
|
219277
221518
|
created_at: string;
|
|
219278
221519
|
id: string;
|
|
219279
221520
|
order_ref: string;
|
|
219280
221521
|
reason: string;
|
|
221522
|
+
source_module: string | null;
|
|
221523
|
+
source_shell: string | null;
|
|
219281
221524
|
};
|
|
219282
221525
|
Insert: {
|
|
221526
|
+
action?: string | null;
|
|
219283
221527
|
created_at?: string;
|
|
219284
221528
|
id?: string;
|
|
219285
221529
|
order_ref: string;
|
|
219286
221530
|
reason: string;
|
|
221531
|
+
source_module?: string | null;
|
|
221532
|
+
source_shell?: string | null;
|
|
219287
221533
|
};
|
|
219288
221534
|
Update: {
|
|
221535
|
+
action?: string | null;
|
|
219289
221536
|
created_at?: string;
|
|
219290
221537
|
id?: string;
|
|
219291
221538
|
order_ref?: string;
|
|
219292
221539
|
reason?: string;
|
|
221540
|
+
source_module?: string | null;
|
|
221541
|
+
source_shell?: string | null;
|
|
219293
221542
|
};
|
|
219294
221543
|
Relationships: [];
|
|
219295
221544
|
};
|
|
@@ -219368,6 +221617,42 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
|
|
|
219368
221617
|
};
|
|
219369
221618
|
Relationships: [];
|
|
219370
221619
|
};
|
|
221620
|
+
logistics_floriday_status_sends: {
|
|
221621
|
+
Row: {
|
|
221622
|
+
action: string;
|
|
221623
|
+
created_at: string;
|
|
221624
|
+
detail: string | null;
|
|
221625
|
+
http_status: number | null;
|
|
221626
|
+
id: string;
|
|
221627
|
+
ok: boolean;
|
|
221628
|
+
order_ref: string;
|
|
221629
|
+
source_module: string | null;
|
|
221630
|
+
source_shell: string | null;
|
|
221631
|
+
};
|
|
221632
|
+
Insert: {
|
|
221633
|
+
action: string;
|
|
221634
|
+
created_at?: string;
|
|
221635
|
+
detail?: string | null;
|
|
221636
|
+
http_status?: number | null;
|
|
221637
|
+
id?: string;
|
|
221638
|
+
ok?: boolean;
|
|
221639
|
+
order_ref: string;
|
|
221640
|
+
source_module?: string | null;
|
|
221641
|
+
source_shell?: string | null;
|
|
221642
|
+
};
|
|
221643
|
+
Update: {
|
|
221644
|
+
action?: string;
|
|
221645
|
+
created_at?: string;
|
|
221646
|
+
detail?: string | null;
|
|
221647
|
+
http_status?: number | null;
|
|
221648
|
+
id?: string;
|
|
221649
|
+
ok?: boolean;
|
|
221650
|
+
order_ref?: string;
|
|
221651
|
+
source_module?: string | null;
|
|
221652
|
+
source_shell?: string | null;
|
|
221653
|
+
};
|
|
221654
|
+
Relationships: [];
|
|
221655
|
+
};
|
|
219371
221656
|
logistics_formulas: {
|
|
219372
221657
|
Row: {
|
|
219373
221658
|
created_at: string;
|
|
@@ -219440,6 +221725,66 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
|
|
|
219440
221725
|
};
|
|
219441
221726
|
Relationships: [];
|
|
219442
221727
|
};
|
|
221728
|
+
logistics_opening_exceptions: {
|
|
221729
|
+
Row: {
|
|
221730
|
+
closes: string | null;
|
|
221731
|
+
created_at: string;
|
|
221732
|
+
day: string;
|
|
221733
|
+
id: string;
|
|
221734
|
+
is_closed: boolean;
|
|
221735
|
+
note: string | null;
|
|
221736
|
+
opens: string | null;
|
|
221737
|
+
};
|
|
221738
|
+
Insert: {
|
|
221739
|
+
closes?: string | null;
|
|
221740
|
+
created_at?: string;
|
|
221741
|
+
day: string;
|
|
221742
|
+
id?: string;
|
|
221743
|
+
is_closed?: boolean;
|
|
221744
|
+
note?: string | null;
|
|
221745
|
+
opens?: string | null;
|
|
221746
|
+
};
|
|
221747
|
+
Update: {
|
|
221748
|
+
closes?: string | null;
|
|
221749
|
+
created_at?: string;
|
|
221750
|
+
day?: string;
|
|
221751
|
+
id?: string;
|
|
221752
|
+
is_closed?: boolean;
|
|
221753
|
+
note?: string | null;
|
|
221754
|
+
opens?: string | null;
|
|
221755
|
+
};
|
|
221756
|
+
Relationships: [];
|
|
221757
|
+
};
|
|
221758
|
+
logistics_opening_hours: {
|
|
221759
|
+
Row: {
|
|
221760
|
+
closes: string;
|
|
221761
|
+
created_at: string;
|
|
221762
|
+
id: string;
|
|
221763
|
+
is_active: boolean;
|
|
221764
|
+
note: string | null;
|
|
221765
|
+
opens: string;
|
|
221766
|
+
weekday: number;
|
|
221767
|
+
};
|
|
221768
|
+
Insert: {
|
|
221769
|
+
closes: string;
|
|
221770
|
+
created_at?: string;
|
|
221771
|
+
id?: string;
|
|
221772
|
+
is_active?: boolean;
|
|
221773
|
+
note?: string | null;
|
|
221774
|
+
opens: string;
|
|
221775
|
+
weekday: number;
|
|
221776
|
+
};
|
|
221777
|
+
Update: {
|
|
221778
|
+
closes?: string;
|
|
221779
|
+
created_at?: string;
|
|
221780
|
+
id?: string;
|
|
221781
|
+
is_active?: boolean;
|
|
221782
|
+
note?: string | null;
|
|
221783
|
+
opens?: string;
|
|
221784
|
+
weekday?: number;
|
|
221785
|
+
};
|
|
221786
|
+
Relationships: [];
|
|
221787
|
+
};
|
|
219443
221788
|
logistics_pickup_moments: {
|
|
219444
221789
|
Row: {
|
|
219445
221790
|
carrier_ref: string | null;
|
|
@@ -220232,6 +222577,24 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
|
|
|
220232
222577
|
};
|
|
220233
222578
|
Relationships: [];
|
|
220234
222579
|
};
|
|
222580
|
+
logistics_time_settings: {
|
|
222581
|
+
Row: {
|
|
222582
|
+
id: boolean;
|
|
222583
|
+
timezone: string;
|
|
222584
|
+
updated_at: string;
|
|
222585
|
+
};
|
|
222586
|
+
Insert: {
|
|
222587
|
+
id?: boolean;
|
|
222588
|
+
timezone: string;
|
|
222589
|
+
updated_at?: string;
|
|
222590
|
+
};
|
|
222591
|
+
Update: {
|
|
222592
|
+
id?: boolean;
|
|
222593
|
+
timezone?: string;
|
|
222594
|
+
updated_at?: string;
|
|
222595
|
+
};
|
|
222596
|
+
Relationships: [];
|
|
222597
|
+
};
|
|
220235
222598
|
logistics_variables: {
|
|
220236
222599
|
Row: {
|
|
220237
222600
|
created_at: string;
|
|
@@ -222622,6 +224985,7 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
|
|
|
222622
224985
|
customer_name: string;
|
|
222623
224986
|
deleted_at: string | null;
|
|
222624
224987
|
delivery_date: string | null;
|
|
224988
|
+
floriday_order_group_key: string | null;
|
|
222625
224989
|
floriday_sales_order_id: string | null;
|
|
222626
224990
|
id: string;
|
|
222627
224991
|
invoice_due_at: string | null;
|
|
@@ -222649,6 +225013,7 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
|
|
|
222649
225013
|
customer_name?: string;
|
|
222650
225014
|
deleted_at?: string | null;
|
|
222651
225015
|
delivery_date?: string | null;
|
|
225016
|
+
floriday_order_group_key?: string | null;
|
|
222652
225017
|
floriday_sales_order_id?: string | null;
|
|
222653
225018
|
id?: string;
|
|
222654
225019
|
invoice_due_at?: string | null;
|
|
@@ -222676,6 +225041,7 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
|
|
|
222676
225041
|
customer_name?: string;
|
|
222677
225042
|
deleted_at?: string | null;
|
|
222678
225043
|
delivery_date?: string | null;
|
|
225044
|
+
floriday_order_group_key?: string | null;
|
|
222679
225045
|
floriday_sales_order_id?: string | null;
|
|
222680
225046
|
id?: string;
|
|
222681
225047
|
invoice_due_at?: string | null;
|
|
@@ -228539,6 +230905,36 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
|
|
|
228539
230905
|
referencedColumns: ["id"];
|
|
228540
230906
|
}];
|
|
228541
230907
|
};
|
|
230908
|
+
voorraad_buffer_state: {
|
|
230909
|
+
Row: {
|
|
230910
|
+
buffer_id: string;
|
|
230911
|
+
buffer_key: string | null;
|
|
230912
|
+
closed_at: string | null;
|
|
230913
|
+
created_at: string;
|
|
230914
|
+
detached_orders: import("../integrations/supabase/types").Json;
|
|
230915
|
+
reason: string | null;
|
|
230916
|
+
updated_at: string;
|
|
230917
|
+
};
|
|
230918
|
+
Insert: {
|
|
230919
|
+
buffer_id: string;
|
|
230920
|
+
buffer_key?: string | null;
|
|
230921
|
+
closed_at?: string | null;
|
|
230922
|
+
created_at?: string;
|
|
230923
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
230924
|
+
reason?: string | null;
|
|
230925
|
+
updated_at?: string;
|
|
230926
|
+
};
|
|
230927
|
+
Update: {
|
|
230928
|
+
buffer_id?: string;
|
|
230929
|
+
buffer_key?: string | null;
|
|
230930
|
+
closed_at?: string | null;
|
|
230931
|
+
created_at?: string;
|
|
230932
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
230933
|
+
reason?: string | null;
|
|
230934
|
+
updated_at?: string;
|
|
230935
|
+
};
|
|
230936
|
+
Relationships: [];
|
|
230937
|
+
};
|
|
228542
230938
|
voorraad_custom_fields: {
|
|
228543
230939
|
Row: {
|
|
228544
230940
|
created_at: string;
|
|
@@ -228581,6 +230977,36 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
|
|
|
228581
230977
|
};
|
|
228582
230978
|
Relationships: [];
|
|
228583
230979
|
};
|
|
230980
|
+
voorraad_logistics_event_log: {
|
|
230981
|
+
Row: {
|
|
230982
|
+
created_at: string;
|
|
230983
|
+
event_id: string;
|
|
230984
|
+
event_type: string;
|
|
230985
|
+
order_ref: string | null;
|
|
230986
|
+
processed_at: string;
|
|
230987
|
+
result: import("../integrations/supabase/types").Json;
|
|
230988
|
+
updated_at: string;
|
|
230989
|
+
};
|
|
230990
|
+
Insert: {
|
|
230991
|
+
created_at?: string;
|
|
230992
|
+
event_id: string;
|
|
230993
|
+
event_type: string;
|
|
230994
|
+
order_ref?: string | null;
|
|
230995
|
+
processed_at?: string;
|
|
230996
|
+
result?: import("../integrations/supabase/types").Json;
|
|
230997
|
+
updated_at?: string;
|
|
230998
|
+
};
|
|
230999
|
+
Update: {
|
|
231000
|
+
created_at?: string;
|
|
231001
|
+
event_id?: string;
|
|
231002
|
+
event_type?: string;
|
|
231003
|
+
order_ref?: string | null;
|
|
231004
|
+
processed_at?: string;
|
|
231005
|
+
result?: import("../integrations/supabase/types").Json;
|
|
231006
|
+
updated_at?: string;
|
|
231007
|
+
};
|
|
231008
|
+
Relationships: [];
|
|
231009
|
+
};
|
|
228584
231010
|
voorraad_media_upload_failures: {
|
|
228585
231011
|
Row: {
|
|
228586
231012
|
action: string;
|
|
@@ -232550,6 +234976,12 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
|
|
|
232550
234976
|
station_carts: number;
|
|
232551
234977
|
}[];
|
|
232552
234978
|
};
|
|
234979
|
+
logistics_control_complete_cart: {
|
|
234980
|
+
Args: {
|
|
234981
|
+
p_cart_id: string;
|
|
234982
|
+
};
|
|
234983
|
+
Returns: number;
|
|
234984
|
+
};
|
|
232553
234985
|
logistics_control_scan_approve: {
|
|
232554
234986
|
Args: {
|
|
232555
234987
|
p_allow_reprint?: boolean;
|
|
@@ -232629,6 +235061,15 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
|
|
|
232629
235061
|
Args: never;
|
|
232630
235062
|
Returns: import("../integrations/supabase/types").Json;
|
|
232631
235063
|
};
|
|
235064
|
+
logistics_day_windows: {
|
|
235065
|
+
Args: {
|
|
235066
|
+
p_day: string;
|
|
235067
|
+
};
|
|
235068
|
+
Returns: {
|
|
235069
|
+
win_end: string;
|
|
235070
|
+
win_start: string;
|
|
235071
|
+
}[];
|
|
235072
|
+
};
|
|
232632
235073
|
logistics_delay_customer_email: {
|
|
232633
235074
|
Args: {
|
|
232634
235075
|
p_customer: string;
|
|
@@ -232696,6 +235137,17 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
|
|
|
232696
235137
|
};
|
|
232697
235138
|
Returns: import("../integrations/supabase/types").Json;
|
|
232698
235139
|
};
|
|
235140
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
235141
|
+
Args: {
|
|
235142
|
+
_cart_id: string;
|
|
235143
|
+
_is_herprint: boolean;
|
|
235144
|
+
_printer_id: string;
|
|
235145
|
+
_queue_item_id: string;
|
|
235146
|
+
_session_id: string;
|
|
235147
|
+
_slip_job_id: string;
|
|
235148
|
+
};
|
|
235149
|
+
Returns: string;
|
|
235150
|
+
};
|
|
232699
235151
|
logistics_enqueue_sticker_with_slip: {
|
|
232700
235152
|
Args: {
|
|
232701
235153
|
_cart_id: string;
|
|
@@ -232834,6 +235286,32 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
|
|
|
232834
235286
|
};
|
|
232835
235287
|
Returns: string;
|
|
232836
235288
|
};
|
|
235289
|
+
logistics_floriday_gate_status: {
|
|
235290
|
+
Args: never;
|
|
235291
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
235292
|
+
};
|
|
235293
|
+
logistics_floriday_log_refusal: {
|
|
235294
|
+
Args: {
|
|
235295
|
+
_action?: string;
|
|
235296
|
+
_module?: string;
|
|
235297
|
+
_order_ref: string;
|
|
235298
|
+
_reason: string;
|
|
235299
|
+
_shell?: string;
|
|
235300
|
+
};
|
|
235301
|
+
Returns: undefined;
|
|
235302
|
+
};
|
|
235303
|
+
logistics_floriday_log_send: {
|
|
235304
|
+
Args: {
|
|
235305
|
+
_action: string;
|
|
235306
|
+
_detail?: string;
|
|
235307
|
+
_http_status?: number;
|
|
235308
|
+
_module?: string;
|
|
235309
|
+
_ok: boolean;
|
|
235310
|
+
_order_ref: string;
|
|
235311
|
+
_shell?: string;
|
|
235312
|
+
};
|
|
235313
|
+
Returns: undefined;
|
|
235314
|
+
};
|
|
232837
235315
|
logistics_floriday_order_approved: {
|
|
232838
235316
|
Args: {
|
|
232839
235317
|
_order_ref: string;
|
|
@@ -232858,6 +235336,16 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
|
|
|
232858
235336
|
Args: never;
|
|
232859
235337
|
Returns: boolean;
|
|
232860
235338
|
};
|
|
235339
|
+
logistics_floriday_stock_updates_enabled: {
|
|
235340
|
+
Args: never;
|
|
235341
|
+
Returns: boolean;
|
|
235342
|
+
};
|
|
235343
|
+
logistics_floriday_write_allowed: {
|
|
235344
|
+
Args: {
|
|
235345
|
+
_action: string;
|
|
235346
|
+
};
|
|
235347
|
+
Returns: boolean;
|
|
235348
|
+
};
|
|
232861
235349
|
logistics_fulfill_barcode_requests: {
|
|
232862
235350
|
Args: {
|
|
232863
235351
|
p_limit?: number;
|
|
@@ -232926,6 +235414,10 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
|
|
|
232926
235414
|
};
|
|
232927
235415
|
Returns: string;
|
|
232928
235416
|
};
|
|
235417
|
+
logistics_opening_timezone: {
|
|
235418
|
+
Args: never;
|
|
235419
|
+
Returns: string;
|
|
235420
|
+
};
|
|
232929
235421
|
logistics_order_cart_count: {
|
|
232930
235422
|
Args: {
|
|
232931
235423
|
p_order_ref: string;
|
|
@@ -233317,6 +235809,10 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
|
|
|
233317
235809
|
};
|
|
233318
235810
|
Returns: string;
|
|
233319
235811
|
};
|
|
235812
|
+
logistics_shipping_note_follows_slip: {
|
|
235813
|
+
Args: never;
|
|
235814
|
+
Returns: boolean;
|
|
235815
|
+
};
|
|
233320
235816
|
logistics_shipping_note_from_barcode: {
|
|
233321
235817
|
Args: {
|
|
233322
235818
|
p_allow_reprint?: boolean;
|
|
@@ -233329,6 +235825,14 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
|
|
|
233329
235825
|
Args: never;
|
|
233330
235826
|
Returns: boolean;
|
|
233331
235827
|
};
|
|
235828
|
+
logistics_subtract_working_minutes: {
|
|
235829
|
+
Args: {
|
|
235830
|
+
p_deadline: string;
|
|
235831
|
+
p_max_workdays?: number;
|
|
235832
|
+
p_minutes: number;
|
|
235833
|
+
};
|
|
235834
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
235835
|
+
};
|
|
233332
235836
|
logistics_supersede_stale_tasks: {
|
|
233333
235837
|
Args: {
|
|
233334
235838
|
p_keep: string[];
|
|
@@ -233365,6 +235869,12 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
|
|
|
233365
235869
|
Args: never;
|
|
233366
235870
|
Returns: string;
|
|
233367
235871
|
};
|
|
235872
|
+
logistics_timezone_options: {
|
|
235873
|
+
Args: never;
|
|
235874
|
+
Returns: {
|
|
235875
|
+
name: string;
|
|
235876
|
+
}[];
|
|
235877
|
+
};
|
|
233368
235878
|
logistics_upsert_task: {
|
|
233369
235879
|
Args: {
|
|
233370
235880
|
p_buffer_ref: string;
|
|
@@ -233384,6 +235894,16 @@ export declare const setDefaultCartType: import("@tanstack/start-client-core").O
|
|
|
233384
235894
|
};
|
|
233385
235895
|
Returns: string;
|
|
233386
235896
|
};
|
|
235897
|
+
logistics_valid_timezone: {
|
|
235898
|
+
Args: {
|
|
235899
|
+
_tz: string;
|
|
235900
|
+
};
|
|
235901
|
+
Returns: boolean;
|
|
235902
|
+
};
|
|
235903
|
+
logistics_working_hours_status: {
|
|
235904
|
+
Args: never;
|
|
235905
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
235906
|
+
};
|
|
233387
235907
|
logistics_write_buffer_layer_positions: {
|
|
233388
235908
|
Args: {
|
|
233389
235909
|
p_buffer_id: string;
|
|
@@ -245413,22 +247933,31 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
|
|
|
245413
247933
|
};
|
|
245414
247934
|
logistics_floriday_push_refusals: {
|
|
245415
247935
|
Row: {
|
|
247936
|
+
action: string | null;
|
|
245416
247937
|
created_at: string;
|
|
245417
247938
|
id: string;
|
|
245418
247939
|
order_ref: string;
|
|
245419
247940
|
reason: string;
|
|
247941
|
+
source_module: string | null;
|
|
247942
|
+
source_shell: string | null;
|
|
245420
247943
|
};
|
|
245421
247944
|
Insert: {
|
|
247945
|
+
action?: string | null;
|
|
245422
247946
|
created_at?: string;
|
|
245423
247947
|
id?: string;
|
|
245424
247948
|
order_ref: string;
|
|
245425
247949
|
reason: string;
|
|
247950
|
+
source_module?: string | null;
|
|
247951
|
+
source_shell?: string | null;
|
|
245426
247952
|
};
|
|
245427
247953
|
Update: {
|
|
247954
|
+
action?: string | null;
|
|
245428
247955
|
created_at?: string;
|
|
245429
247956
|
id?: string;
|
|
245430
247957
|
order_ref?: string;
|
|
245431
247958
|
reason?: string;
|
|
247959
|
+
source_module?: string | null;
|
|
247960
|
+
source_shell?: string | null;
|
|
245432
247961
|
};
|
|
245433
247962
|
Relationships: [];
|
|
245434
247963
|
};
|
|
@@ -245507,6 +248036,42 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
|
|
|
245507
248036
|
};
|
|
245508
248037
|
Relationships: [];
|
|
245509
248038
|
};
|
|
248039
|
+
logistics_floriday_status_sends: {
|
|
248040
|
+
Row: {
|
|
248041
|
+
action: string;
|
|
248042
|
+
created_at: string;
|
|
248043
|
+
detail: string | null;
|
|
248044
|
+
http_status: number | null;
|
|
248045
|
+
id: string;
|
|
248046
|
+
ok: boolean;
|
|
248047
|
+
order_ref: string;
|
|
248048
|
+
source_module: string | null;
|
|
248049
|
+
source_shell: string | null;
|
|
248050
|
+
};
|
|
248051
|
+
Insert: {
|
|
248052
|
+
action: string;
|
|
248053
|
+
created_at?: string;
|
|
248054
|
+
detail?: string | null;
|
|
248055
|
+
http_status?: number | null;
|
|
248056
|
+
id?: string;
|
|
248057
|
+
ok?: boolean;
|
|
248058
|
+
order_ref: string;
|
|
248059
|
+
source_module?: string | null;
|
|
248060
|
+
source_shell?: string | null;
|
|
248061
|
+
};
|
|
248062
|
+
Update: {
|
|
248063
|
+
action?: string;
|
|
248064
|
+
created_at?: string;
|
|
248065
|
+
detail?: string | null;
|
|
248066
|
+
http_status?: number | null;
|
|
248067
|
+
id?: string;
|
|
248068
|
+
ok?: boolean;
|
|
248069
|
+
order_ref?: string;
|
|
248070
|
+
source_module?: string | null;
|
|
248071
|
+
source_shell?: string | null;
|
|
248072
|
+
};
|
|
248073
|
+
Relationships: [];
|
|
248074
|
+
};
|
|
245510
248075
|
logistics_formulas: {
|
|
245511
248076
|
Row: {
|
|
245512
248077
|
created_at: string;
|
|
@@ -245579,6 +248144,66 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
|
|
|
245579
248144
|
};
|
|
245580
248145
|
Relationships: [];
|
|
245581
248146
|
};
|
|
248147
|
+
logistics_opening_exceptions: {
|
|
248148
|
+
Row: {
|
|
248149
|
+
closes: string | null;
|
|
248150
|
+
created_at: string;
|
|
248151
|
+
day: string;
|
|
248152
|
+
id: string;
|
|
248153
|
+
is_closed: boolean;
|
|
248154
|
+
note: string | null;
|
|
248155
|
+
opens: string | null;
|
|
248156
|
+
};
|
|
248157
|
+
Insert: {
|
|
248158
|
+
closes?: string | null;
|
|
248159
|
+
created_at?: string;
|
|
248160
|
+
day: string;
|
|
248161
|
+
id?: string;
|
|
248162
|
+
is_closed?: boolean;
|
|
248163
|
+
note?: string | null;
|
|
248164
|
+
opens?: string | null;
|
|
248165
|
+
};
|
|
248166
|
+
Update: {
|
|
248167
|
+
closes?: string | null;
|
|
248168
|
+
created_at?: string;
|
|
248169
|
+
day?: string;
|
|
248170
|
+
id?: string;
|
|
248171
|
+
is_closed?: boolean;
|
|
248172
|
+
note?: string | null;
|
|
248173
|
+
opens?: string | null;
|
|
248174
|
+
};
|
|
248175
|
+
Relationships: [];
|
|
248176
|
+
};
|
|
248177
|
+
logistics_opening_hours: {
|
|
248178
|
+
Row: {
|
|
248179
|
+
closes: string;
|
|
248180
|
+
created_at: string;
|
|
248181
|
+
id: string;
|
|
248182
|
+
is_active: boolean;
|
|
248183
|
+
note: string | null;
|
|
248184
|
+
opens: string;
|
|
248185
|
+
weekday: number;
|
|
248186
|
+
};
|
|
248187
|
+
Insert: {
|
|
248188
|
+
closes: string;
|
|
248189
|
+
created_at?: string;
|
|
248190
|
+
id?: string;
|
|
248191
|
+
is_active?: boolean;
|
|
248192
|
+
note?: string | null;
|
|
248193
|
+
opens: string;
|
|
248194
|
+
weekday: number;
|
|
248195
|
+
};
|
|
248196
|
+
Update: {
|
|
248197
|
+
closes?: string;
|
|
248198
|
+
created_at?: string;
|
|
248199
|
+
id?: string;
|
|
248200
|
+
is_active?: boolean;
|
|
248201
|
+
note?: string | null;
|
|
248202
|
+
opens?: string;
|
|
248203
|
+
weekday?: number;
|
|
248204
|
+
};
|
|
248205
|
+
Relationships: [];
|
|
248206
|
+
};
|
|
245582
248207
|
logistics_pickup_moments: {
|
|
245583
248208
|
Row: {
|
|
245584
248209
|
carrier_ref: string | null;
|
|
@@ -246371,6 +248996,24 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
|
|
|
246371
248996
|
};
|
|
246372
248997
|
Relationships: [];
|
|
246373
248998
|
};
|
|
248999
|
+
logistics_time_settings: {
|
|
249000
|
+
Row: {
|
|
249001
|
+
id: boolean;
|
|
249002
|
+
timezone: string;
|
|
249003
|
+
updated_at: string;
|
|
249004
|
+
};
|
|
249005
|
+
Insert: {
|
|
249006
|
+
id?: boolean;
|
|
249007
|
+
timezone: string;
|
|
249008
|
+
updated_at?: string;
|
|
249009
|
+
};
|
|
249010
|
+
Update: {
|
|
249011
|
+
id?: boolean;
|
|
249012
|
+
timezone?: string;
|
|
249013
|
+
updated_at?: string;
|
|
249014
|
+
};
|
|
249015
|
+
Relationships: [];
|
|
249016
|
+
};
|
|
246374
249017
|
logistics_variables: {
|
|
246375
249018
|
Row: {
|
|
246376
249019
|
created_at: string;
|
|
@@ -248761,6 +251404,7 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
|
|
|
248761
251404
|
customer_name: string;
|
|
248762
251405
|
deleted_at: string | null;
|
|
248763
251406
|
delivery_date: string | null;
|
|
251407
|
+
floriday_order_group_key: string | null;
|
|
248764
251408
|
floriday_sales_order_id: string | null;
|
|
248765
251409
|
id: string;
|
|
248766
251410
|
invoice_due_at: string | null;
|
|
@@ -248788,6 +251432,7 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
|
|
|
248788
251432
|
customer_name?: string;
|
|
248789
251433
|
deleted_at?: string | null;
|
|
248790
251434
|
delivery_date?: string | null;
|
|
251435
|
+
floriday_order_group_key?: string | null;
|
|
248791
251436
|
floriday_sales_order_id?: string | null;
|
|
248792
251437
|
id?: string;
|
|
248793
251438
|
invoice_due_at?: string | null;
|
|
@@ -248815,6 +251460,7 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
|
|
|
248815
251460
|
customer_name?: string;
|
|
248816
251461
|
deleted_at?: string | null;
|
|
248817
251462
|
delivery_date?: string | null;
|
|
251463
|
+
floriday_order_group_key?: string | null;
|
|
248818
251464
|
floriday_sales_order_id?: string | null;
|
|
248819
251465
|
id?: string;
|
|
248820
251466
|
invoice_due_at?: string | null;
|
|
@@ -254678,6 +257324,36 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
|
|
|
254678
257324
|
referencedColumns: ["id"];
|
|
254679
257325
|
}];
|
|
254680
257326
|
};
|
|
257327
|
+
voorraad_buffer_state: {
|
|
257328
|
+
Row: {
|
|
257329
|
+
buffer_id: string;
|
|
257330
|
+
buffer_key: string | null;
|
|
257331
|
+
closed_at: string | null;
|
|
257332
|
+
created_at: string;
|
|
257333
|
+
detached_orders: import("../integrations/supabase/types").Json;
|
|
257334
|
+
reason: string | null;
|
|
257335
|
+
updated_at: string;
|
|
257336
|
+
};
|
|
257337
|
+
Insert: {
|
|
257338
|
+
buffer_id: string;
|
|
257339
|
+
buffer_key?: string | null;
|
|
257340
|
+
closed_at?: string | null;
|
|
257341
|
+
created_at?: string;
|
|
257342
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
257343
|
+
reason?: string | null;
|
|
257344
|
+
updated_at?: string;
|
|
257345
|
+
};
|
|
257346
|
+
Update: {
|
|
257347
|
+
buffer_id?: string;
|
|
257348
|
+
buffer_key?: string | null;
|
|
257349
|
+
closed_at?: string | null;
|
|
257350
|
+
created_at?: string;
|
|
257351
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
257352
|
+
reason?: string | null;
|
|
257353
|
+
updated_at?: string;
|
|
257354
|
+
};
|
|
257355
|
+
Relationships: [];
|
|
257356
|
+
};
|
|
254681
257357
|
voorraad_custom_fields: {
|
|
254682
257358
|
Row: {
|
|
254683
257359
|
created_at: string;
|
|
@@ -254720,6 +257396,36 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
|
|
|
254720
257396
|
};
|
|
254721
257397
|
Relationships: [];
|
|
254722
257398
|
};
|
|
257399
|
+
voorraad_logistics_event_log: {
|
|
257400
|
+
Row: {
|
|
257401
|
+
created_at: string;
|
|
257402
|
+
event_id: string;
|
|
257403
|
+
event_type: string;
|
|
257404
|
+
order_ref: string | null;
|
|
257405
|
+
processed_at: string;
|
|
257406
|
+
result: import("../integrations/supabase/types").Json;
|
|
257407
|
+
updated_at: string;
|
|
257408
|
+
};
|
|
257409
|
+
Insert: {
|
|
257410
|
+
created_at?: string;
|
|
257411
|
+
event_id: string;
|
|
257412
|
+
event_type: string;
|
|
257413
|
+
order_ref?: string | null;
|
|
257414
|
+
processed_at?: string;
|
|
257415
|
+
result?: import("../integrations/supabase/types").Json;
|
|
257416
|
+
updated_at?: string;
|
|
257417
|
+
};
|
|
257418
|
+
Update: {
|
|
257419
|
+
created_at?: string;
|
|
257420
|
+
event_id?: string;
|
|
257421
|
+
event_type?: string;
|
|
257422
|
+
order_ref?: string | null;
|
|
257423
|
+
processed_at?: string;
|
|
257424
|
+
result?: import("../integrations/supabase/types").Json;
|
|
257425
|
+
updated_at?: string;
|
|
257426
|
+
};
|
|
257427
|
+
Relationships: [];
|
|
257428
|
+
};
|
|
254723
257429
|
voorraad_media_upload_failures: {
|
|
254724
257430
|
Row: {
|
|
254725
257431
|
action: string;
|
|
@@ -258689,6 +261395,12 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
|
|
|
258689
261395
|
station_carts: number;
|
|
258690
261396
|
}[];
|
|
258691
261397
|
};
|
|
261398
|
+
logistics_control_complete_cart: {
|
|
261399
|
+
Args: {
|
|
261400
|
+
p_cart_id: string;
|
|
261401
|
+
};
|
|
261402
|
+
Returns: number;
|
|
261403
|
+
};
|
|
258692
261404
|
logistics_control_scan_approve: {
|
|
258693
261405
|
Args: {
|
|
258694
261406
|
p_allow_reprint?: boolean;
|
|
@@ -258768,6 +261480,15 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
|
|
|
258768
261480
|
Args: never;
|
|
258769
261481
|
Returns: import("../integrations/supabase/types").Json;
|
|
258770
261482
|
};
|
|
261483
|
+
logistics_day_windows: {
|
|
261484
|
+
Args: {
|
|
261485
|
+
p_day: string;
|
|
261486
|
+
};
|
|
261487
|
+
Returns: {
|
|
261488
|
+
win_end: string;
|
|
261489
|
+
win_start: string;
|
|
261490
|
+
}[];
|
|
261491
|
+
};
|
|
258771
261492
|
logistics_delay_customer_email: {
|
|
258772
261493
|
Args: {
|
|
258773
261494
|
p_customer: string;
|
|
@@ -258835,6 +261556,17 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
|
|
|
258835
261556
|
};
|
|
258836
261557
|
Returns: import("../integrations/supabase/types").Json;
|
|
258837
261558
|
};
|
|
261559
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
261560
|
+
Args: {
|
|
261561
|
+
_cart_id: string;
|
|
261562
|
+
_is_herprint: boolean;
|
|
261563
|
+
_printer_id: string;
|
|
261564
|
+
_queue_item_id: string;
|
|
261565
|
+
_session_id: string;
|
|
261566
|
+
_slip_job_id: string;
|
|
261567
|
+
};
|
|
261568
|
+
Returns: string;
|
|
261569
|
+
};
|
|
258838
261570
|
logistics_enqueue_sticker_with_slip: {
|
|
258839
261571
|
Args: {
|
|
258840
261572
|
_cart_id: string;
|
|
@@ -258973,6 +261705,32 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
|
|
|
258973
261705
|
};
|
|
258974
261706
|
Returns: string;
|
|
258975
261707
|
};
|
|
261708
|
+
logistics_floriday_gate_status: {
|
|
261709
|
+
Args: never;
|
|
261710
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
261711
|
+
};
|
|
261712
|
+
logistics_floriday_log_refusal: {
|
|
261713
|
+
Args: {
|
|
261714
|
+
_action?: string;
|
|
261715
|
+
_module?: string;
|
|
261716
|
+
_order_ref: string;
|
|
261717
|
+
_reason: string;
|
|
261718
|
+
_shell?: string;
|
|
261719
|
+
};
|
|
261720
|
+
Returns: undefined;
|
|
261721
|
+
};
|
|
261722
|
+
logistics_floriday_log_send: {
|
|
261723
|
+
Args: {
|
|
261724
|
+
_action: string;
|
|
261725
|
+
_detail?: string;
|
|
261726
|
+
_http_status?: number;
|
|
261727
|
+
_module?: string;
|
|
261728
|
+
_ok: boolean;
|
|
261729
|
+
_order_ref: string;
|
|
261730
|
+
_shell?: string;
|
|
261731
|
+
};
|
|
261732
|
+
Returns: undefined;
|
|
261733
|
+
};
|
|
258976
261734
|
logistics_floriday_order_approved: {
|
|
258977
261735
|
Args: {
|
|
258978
261736
|
_order_ref: string;
|
|
@@ -258997,6 +261755,16 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
|
|
|
258997
261755
|
Args: never;
|
|
258998
261756
|
Returns: boolean;
|
|
258999
261757
|
};
|
|
261758
|
+
logistics_floriday_stock_updates_enabled: {
|
|
261759
|
+
Args: never;
|
|
261760
|
+
Returns: boolean;
|
|
261761
|
+
};
|
|
261762
|
+
logistics_floriday_write_allowed: {
|
|
261763
|
+
Args: {
|
|
261764
|
+
_action: string;
|
|
261765
|
+
};
|
|
261766
|
+
Returns: boolean;
|
|
261767
|
+
};
|
|
259000
261768
|
logistics_fulfill_barcode_requests: {
|
|
259001
261769
|
Args: {
|
|
259002
261770
|
p_limit?: number;
|
|
@@ -259065,6 +261833,10 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
|
|
|
259065
261833
|
};
|
|
259066
261834
|
Returns: string;
|
|
259067
261835
|
};
|
|
261836
|
+
logistics_opening_timezone: {
|
|
261837
|
+
Args: never;
|
|
261838
|
+
Returns: string;
|
|
261839
|
+
};
|
|
259068
261840
|
logistics_order_cart_count: {
|
|
259069
261841
|
Args: {
|
|
259070
261842
|
p_order_ref: string;
|
|
@@ -259456,6 +262228,10 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
|
|
|
259456
262228
|
};
|
|
259457
262229
|
Returns: string;
|
|
259458
262230
|
};
|
|
262231
|
+
logistics_shipping_note_follows_slip: {
|
|
262232
|
+
Args: never;
|
|
262233
|
+
Returns: boolean;
|
|
262234
|
+
};
|
|
259459
262235
|
logistics_shipping_note_from_barcode: {
|
|
259460
262236
|
Args: {
|
|
259461
262237
|
p_allow_reprint?: boolean;
|
|
@@ -259468,6 +262244,14 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
|
|
|
259468
262244
|
Args: never;
|
|
259469
262245
|
Returns: boolean;
|
|
259470
262246
|
};
|
|
262247
|
+
logistics_subtract_working_minutes: {
|
|
262248
|
+
Args: {
|
|
262249
|
+
p_deadline: string;
|
|
262250
|
+
p_max_workdays?: number;
|
|
262251
|
+
p_minutes: number;
|
|
262252
|
+
};
|
|
262253
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
262254
|
+
};
|
|
259471
262255
|
logistics_supersede_stale_tasks: {
|
|
259472
262256
|
Args: {
|
|
259473
262257
|
p_keep: string[];
|
|
@@ -259504,6 +262288,12 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
|
|
|
259504
262288
|
Args: never;
|
|
259505
262289
|
Returns: string;
|
|
259506
262290
|
};
|
|
262291
|
+
logistics_timezone_options: {
|
|
262292
|
+
Args: never;
|
|
262293
|
+
Returns: {
|
|
262294
|
+
name: string;
|
|
262295
|
+
}[];
|
|
262296
|
+
};
|
|
259507
262297
|
logistics_upsert_task: {
|
|
259508
262298
|
Args: {
|
|
259509
262299
|
p_buffer_ref: string;
|
|
@@ -259523,6 +262313,16 @@ export declare const upsertCrateType: import("@tanstack/start-client-core").Opti
|
|
|
259523
262313
|
};
|
|
259524
262314
|
Returns: string;
|
|
259525
262315
|
};
|
|
262316
|
+
logistics_valid_timezone: {
|
|
262317
|
+
Args: {
|
|
262318
|
+
_tz: string;
|
|
262319
|
+
};
|
|
262320
|
+
Returns: boolean;
|
|
262321
|
+
};
|
|
262322
|
+
logistics_working_hours_status: {
|
|
262323
|
+
Args: never;
|
|
262324
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
262325
|
+
};
|
|
259526
262326
|
logistics_write_buffer_layer_positions: {
|
|
259527
262327
|
Args: {
|
|
259528
262328
|
p_buffer_id: string;
|
|
@@ -271556,22 +274356,31 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
|
|
|
271556
274356
|
};
|
|
271557
274357
|
logistics_floriday_push_refusals: {
|
|
271558
274358
|
Row: {
|
|
274359
|
+
action: string | null;
|
|
271559
274360
|
created_at: string;
|
|
271560
274361
|
id: string;
|
|
271561
274362
|
order_ref: string;
|
|
271562
274363
|
reason: string;
|
|
274364
|
+
source_module: string | null;
|
|
274365
|
+
source_shell: string | null;
|
|
271563
274366
|
};
|
|
271564
274367
|
Insert: {
|
|
274368
|
+
action?: string | null;
|
|
271565
274369
|
created_at?: string;
|
|
271566
274370
|
id?: string;
|
|
271567
274371
|
order_ref: string;
|
|
271568
274372
|
reason: string;
|
|
274373
|
+
source_module?: string | null;
|
|
274374
|
+
source_shell?: string | null;
|
|
271569
274375
|
};
|
|
271570
274376
|
Update: {
|
|
274377
|
+
action?: string | null;
|
|
271571
274378
|
created_at?: string;
|
|
271572
274379
|
id?: string;
|
|
271573
274380
|
order_ref?: string;
|
|
271574
274381
|
reason?: string;
|
|
274382
|
+
source_module?: string | null;
|
|
274383
|
+
source_shell?: string | null;
|
|
271575
274384
|
};
|
|
271576
274385
|
Relationships: [];
|
|
271577
274386
|
};
|
|
@@ -271650,6 +274459,42 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
|
|
|
271650
274459
|
};
|
|
271651
274460
|
Relationships: [];
|
|
271652
274461
|
};
|
|
274462
|
+
logistics_floriday_status_sends: {
|
|
274463
|
+
Row: {
|
|
274464
|
+
action: string;
|
|
274465
|
+
created_at: string;
|
|
274466
|
+
detail: string | null;
|
|
274467
|
+
http_status: number | null;
|
|
274468
|
+
id: string;
|
|
274469
|
+
ok: boolean;
|
|
274470
|
+
order_ref: string;
|
|
274471
|
+
source_module: string | null;
|
|
274472
|
+
source_shell: string | null;
|
|
274473
|
+
};
|
|
274474
|
+
Insert: {
|
|
274475
|
+
action: string;
|
|
274476
|
+
created_at?: string;
|
|
274477
|
+
detail?: string | null;
|
|
274478
|
+
http_status?: number | null;
|
|
274479
|
+
id?: string;
|
|
274480
|
+
ok?: boolean;
|
|
274481
|
+
order_ref: string;
|
|
274482
|
+
source_module?: string | null;
|
|
274483
|
+
source_shell?: string | null;
|
|
274484
|
+
};
|
|
274485
|
+
Update: {
|
|
274486
|
+
action?: string;
|
|
274487
|
+
created_at?: string;
|
|
274488
|
+
detail?: string | null;
|
|
274489
|
+
http_status?: number | null;
|
|
274490
|
+
id?: string;
|
|
274491
|
+
ok?: boolean;
|
|
274492
|
+
order_ref?: string;
|
|
274493
|
+
source_module?: string | null;
|
|
274494
|
+
source_shell?: string | null;
|
|
274495
|
+
};
|
|
274496
|
+
Relationships: [];
|
|
274497
|
+
};
|
|
271653
274498
|
logistics_formulas: {
|
|
271654
274499
|
Row: {
|
|
271655
274500
|
created_at: string;
|
|
@@ -271722,6 +274567,66 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
|
|
|
271722
274567
|
};
|
|
271723
274568
|
Relationships: [];
|
|
271724
274569
|
};
|
|
274570
|
+
logistics_opening_exceptions: {
|
|
274571
|
+
Row: {
|
|
274572
|
+
closes: string | null;
|
|
274573
|
+
created_at: string;
|
|
274574
|
+
day: string;
|
|
274575
|
+
id: string;
|
|
274576
|
+
is_closed: boolean;
|
|
274577
|
+
note: string | null;
|
|
274578
|
+
opens: string | null;
|
|
274579
|
+
};
|
|
274580
|
+
Insert: {
|
|
274581
|
+
closes?: string | null;
|
|
274582
|
+
created_at?: string;
|
|
274583
|
+
day: string;
|
|
274584
|
+
id?: string;
|
|
274585
|
+
is_closed?: boolean;
|
|
274586
|
+
note?: string | null;
|
|
274587
|
+
opens?: string | null;
|
|
274588
|
+
};
|
|
274589
|
+
Update: {
|
|
274590
|
+
closes?: string | null;
|
|
274591
|
+
created_at?: string;
|
|
274592
|
+
day?: string;
|
|
274593
|
+
id?: string;
|
|
274594
|
+
is_closed?: boolean;
|
|
274595
|
+
note?: string | null;
|
|
274596
|
+
opens?: string | null;
|
|
274597
|
+
};
|
|
274598
|
+
Relationships: [];
|
|
274599
|
+
};
|
|
274600
|
+
logistics_opening_hours: {
|
|
274601
|
+
Row: {
|
|
274602
|
+
closes: string;
|
|
274603
|
+
created_at: string;
|
|
274604
|
+
id: string;
|
|
274605
|
+
is_active: boolean;
|
|
274606
|
+
note: string | null;
|
|
274607
|
+
opens: string;
|
|
274608
|
+
weekday: number;
|
|
274609
|
+
};
|
|
274610
|
+
Insert: {
|
|
274611
|
+
closes: string;
|
|
274612
|
+
created_at?: string;
|
|
274613
|
+
id?: string;
|
|
274614
|
+
is_active?: boolean;
|
|
274615
|
+
note?: string | null;
|
|
274616
|
+
opens: string;
|
|
274617
|
+
weekday: number;
|
|
274618
|
+
};
|
|
274619
|
+
Update: {
|
|
274620
|
+
closes?: string;
|
|
274621
|
+
created_at?: string;
|
|
274622
|
+
id?: string;
|
|
274623
|
+
is_active?: boolean;
|
|
274624
|
+
note?: string | null;
|
|
274625
|
+
opens?: string;
|
|
274626
|
+
weekday?: number;
|
|
274627
|
+
};
|
|
274628
|
+
Relationships: [];
|
|
274629
|
+
};
|
|
271725
274630
|
logistics_pickup_moments: {
|
|
271726
274631
|
Row: {
|
|
271727
274632
|
carrier_ref: string | null;
|
|
@@ -272514,6 +275419,24 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
|
|
|
272514
275419
|
};
|
|
272515
275420
|
Relationships: [];
|
|
272516
275421
|
};
|
|
275422
|
+
logistics_time_settings: {
|
|
275423
|
+
Row: {
|
|
275424
|
+
id: boolean;
|
|
275425
|
+
timezone: string;
|
|
275426
|
+
updated_at: string;
|
|
275427
|
+
};
|
|
275428
|
+
Insert: {
|
|
275429
|
+
id?: boolean;
|
|
275430
|
+
timezone: string;
|
|
275431
|
+
updated_at?: string;
|
|
275432
|
+
};
|
|
275433
|
+
Update: {
|
|
275434
|
+
id?: boolean;
|
|
275435
|
+
timezone?: string;
|
|
275436
|
+
updated_at?: string;
|
|
275437
|
+
};
|
|
275438
|
+
Relationships: [];
|
|
275439
|
+
};
|
|
272517
275440
|
logistics_variables: {
|
|
272518
275441
|
Row: {
|
|
272519
275442
|
created_at: string;
|
|
@@ -274904,6 +277827,7 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
|
|
|
274904
277827
|
customer_name: string;
|
|
274905
277828
|
deleted_at: string | null;
|
|
274906
277829
|
delivery_date: string | null;
|
|
277830
|
+
floriday_order_group_key: string | null;
|
|
274907
277831
|
floriday_sales_order_id: string | null;
|
|
274908
277832
|
id: string;
|
|
274909
277833
|
invoice_due_at: string | null;
|
|
@@ -274931,6 +277855,7 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
|
|
|
274931
277855
|
customer_name?: string;
|
|
274932
277856
|
deleted_at?: string | null;
|
|
274933
277857
|
delivery_date?: string | null;
|
|
277858
|
+
floriday_order_group_key?: string | null;
|
|
274934
277859
|
floriday_sales_order_id?: string | null;
|
|
274935
277860
|
id?: string;
|
|
274936
277861
|
invoice_due_at?: string | null;
|
|
@@ -274958,6 +277883,7 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
|
|
|
274958
277883
|
customer_name?: string;
|
|
274959
277884
|
deleted_at?: string | null;
|
|
274960
277885
|
delivery_date?: string | null;
|
|
277886
|
+
floriday_order_group_key?: string | null;
|
|
274961
277887
|
floriday_sales_order_id?: string | null;
|
|
274962
277888
|
id?: string;
|
|
274963
277889
|
invoice_due_at?: string | null;
|
|
@@ -280821,6 +283747,36 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
|
|
|
280821
283747
|
referencedColumns: ["id"];
|
|
280822
283748
|
}];
|
|
280823
283749
|
};
|
|
283750
|
+
voorraad_buffer_state: {
|
|
283751
|
+
Row: {
|
|
283752
|
+
buffer_id: string;
|
|
283753
|
+
buffer_key: string | null;
|
|
283754
|
+
closed_at: string | null;
|
|
283755
|
+
created_at: string;
|
|
283756
|
+
detached_orders: import("../integrations/supabase/types").Json;
|
|
283757
|
+
reason: string | null;
|
|
283758
|
+
updated_at: string;
|
|
283759
|
+
};
|
|
283760
|
+
Insert: {
|
|
283761
|
+
buffer_id: string;
|
|
283762
|
+
buffer_key?: string | null;
|
|
283763
|
+
closed_at?: string | null;
|
|
283764
|
+
created_at?: string;
|
|
283765
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
283766
|
+
reason?: string | null;
|
|
283767
|
+
updated_at?: string;
|
|
283768
|
+
};
|
|
283769
|
+
Update: {
|
|
283770
|
+
buffer_id?: string;
|
|
283771
|
+
buffer_key?: string | null;
|
|
283772
|
+
closed_at?: string | null;
|
|
283773
|
+
created_at?: string;
|
|
283774
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
283775
|
+
reason?: string | null;
|
|
283776
|
+
updated_at?: string;
|
|
283777
|
+
};
|
|
283778
|
+
Relationships: [];
|
|
283779
|
+
};
|
|
280824
283780
|
voorraad_custom_fields: {
|
|
280825
283781
|
Row: {
|
|
280826
283782
|
created_at: string;
|
|
@@ -280863,6 +283819,36 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
|
|
|
280863
283819
|
};
|
|
280864
283820
|
Relationships: [];
|
|
280865
283821
|
};
|
|
283822
|
+
voorraad_logistics_event_log: {
|
|
283823
|
+
Row: {
|
|
283824
|
+
created_at: string;
|
|
283825
|
+
event_id: string;
|
|
283826
|
+
event_type: string;
|
|
283827
|
+
order_ref: string | null;
|
|
283828
|
+
processed_at: string;
|
|
283829
|
+
result: import("../integrations/supabase/types").Json;
|
|
283830
|
+
updated_at: string;
|
|
283831
|
+
};
|
|
283832
|
+
Insert: {
|
|
283833
|
+
created_at?: string;
|
|
283834
|
+
event_id: string;
|
|
283835
|
+
event_type: string;
|
|
283836
|
+
order_ref?: string | null;
|
|
283837
|
+
processed_at?: string;
|
|
283838
|
+
result?: import("../integrations/supabase/types").Json;
|
|
283839
|
+
updated_at?: string;
|
|
283840
|
+
};
|
|
283841
|
+
Update: {
|
|
283842
|
+
created_at?: string;
|
|
283843
|
+
event_id?: string;
|
|
283844
|
+
event_type?: string;
|
|
283845
|
+
order_ref?: string | null;
|
|
283846
|
+
processed_at?: string;
|
|
283847
|
+
result?: import("../integrations/supabase/types").Json;
|
|
283848
|
+
updated_at?: string;
|
|
283849
|
+
};
|
|
283850
|
+
Relationships: [];
|
|
283851
|
+
};
|
|
280866
283852
|
voorraad_media_upload_failures: {
|
|
280867
283853
|
Row: {
|
|
280868
283854
|
action: string;
|
|
@@ -284832,6 +287818,12 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
|
|
|
284832
287818
|
station_carts: number;
|
|
284833
287819
|
}[];
|
|
284834
287820
|
};
|
|
287821
|
+
logistics_control_complete_cart: {
|
|
287822
|
+
Args: {
|
|
287823
|
+
p_cart_id: string;
|
|
287824
|
+
};
|
|
287825
|
+
Returns: number;
|
|
287826
|
+
};
|
|
284835
287827
|
logistics_control_scan_approve: {
|
|
284836
287828
|
Args: {
|
|
284837
287829
|
p_allow_reprint?: boolean;
|
|
@@ -284911,6 +287903,15 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
|
|
|
284911
287903
|
Args: never;
|
|
284912
287904
|
Returns: import("../integrations/supabase/types").Json;
|
|
284913
287905
|
};
|
|
287906
|
+
logistics_day_windows: {
|
|
287907
|
+
Args: {
|
|
287908
|
+
p_day: string;
|
|
287909
|
+
};
|
|
287910
|
+
Returns: {
|
|
287911
|
+
win_end: string;
|
|
287912
|
+
win_start: string;
|
|
287913
|
+
}[];
|
|
287914
|
+
};
|
|
284914
287915
|
logistics_delay_customer_email: {
|
|
284915
287916
|
Args: {
|
|
284916
287917
|
p_customer: string;
|
|
@@ -284978,6 +287979,17 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
|
|
|
284978
287979
|
};
|
|
284979
287980
|
Returns: import("../integrations/supabase/types").Json;
|
|
284980
287981
|
};
|
|
287982
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
287983
|
+
Args: {
|
|
287984
|
+
_cart_id: string;
|
|
287985
|
+
_is_herprint: boolean;
|
|
287986
|
+
_printer_id: string;
|
|
287987
|
+
_queue_item_id: string;
|
|
287988
|
+
_session_id: string;
|
|
287989
|
+
_slip_job_id: string;
|
|
287990
|
+
};
|
|
287991
|
+
Returns: string;
|
|
287992
|
+
};
|
|
284981
287993
|
logistics_enqueue_sticker_with_slip: {
|
|
284982
287994
|
Args: {
|
|
284983
287995
|
_cart_id: string;
|
|
@@ -285116,6 +288128,32 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
|
|
|
285116
288128
|
};
|
|
285117
288129
|
Returns: string;
|
|
285118
288130
|
};
|
|
288131
|
+
logistics_floriday_gate_status: {
|
|
288132
|
+
Args: never;
|
|
288133
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
288134
|
+
};
|
|
288135
|
+
logistics_floriday_log_refusal: {
|
|
288136
|
+
Args: {
|
|
288137
|
+
_action?: string;
|
|
288138
|
+
_module?: string;
|
|
288139
|
+
_order_ref: string;
|
|
288140
|
+
_reason: string;
|
|
288141
|
+
_shell?: string;
|
|
288142
|
+
};
|
|
288143
|
+
Returns: undefined;
|
|
288144
|
+
};
|
|
288145
|
+
logistics_floriday_log_send: {
|
|
288146
|
+
Args: {
|
|
288147
|
+
_action: string;
|
|
288148
|
+
_detail?: string;
|
|
288149
|
+
_http_status?: number;
|
|
288150
|
+
_module?: string;
|
|
288151
|
+
_ok: boolean;
|
|
288152
|
+
_order_ref: string;
|
|
288153
|
+
_shell?: string;
|
|
288154
|
+
};
|
|
288155
|
+
Returns: undefined;
|
|
288156
|
+
};
|
|
285119
288157
|
logistics_floriday_order_approved: {
|
|
285120
288158
|
Args: {
|
|
285121
288159
|
_order_ref: string;
|
|
@@ -285140,6 +288178,16 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
|
|
|
285140
288178
|
Args: never;
|
|
285141
288179
|
Returns: boolean;
|
|
285142
288180
|
};
|
|
288181
|
+
logistics_floriday_stock_updates_enabled: {
|
|
288182
|
+
Args: never;
|
|
288183
|
+
Returns: boolean;
|
|
288184
|
+
};
|
|
288185
|
+
logistics_floriday_write_allowed: {
|
|
288186
|
+
Args: {
|
|
288187
|
+
_action: string;
|
|
288188
|
+
};
|
|
288189
|
+
Returns: boolean;
|
|
288190
|
+
};
|
|
285143
288191
|
logistics_fulfill_barcode_requests: {
|
|
285144
288192
|
Args: {
|
|
285145
288193
|
p_limit?: number;
|
|
@@ -285208,6 +288256,10 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
|
|
|
285208
288256
|
};
|
|
285209
288257
|
Returns: string;
|
|
285210
288258
|
};
|
|
288259
|
+
logistics_opening_timezone: {
|
|
288260
|
+
Args: never;
|
|
288261
|
+
Returns: string;
|
|
288262
|
+
};
|
|
285211
288263
|
logistics_order_cart_count: {
|
|
285212
288264
|
Args: {
|
|
285213
288265
|
p_order_ref: string;
|
|
@@ -285599,6 +288651,10 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
|
|
|
285599
288651
|
};
|
|
285600
288652
|
Returns: string;
|
|
285601
288653
|
};
|
|
288654
|
+
logistics_shipping_note_follows_slip: {
|
|
288655
|
+
Args: never;
|
|
288656
|
+
Returns: boolean;
|
|
288657
|
+
};
|
|
285602
288658
|
logistics_shipping_note_from_barcode: {
|
|
285603
288659
|
Args: {
|
|
285604
288660
|
p_allow_reprint?: boolean;
|
|
@@ -285611,6 +288667,14 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
|
|
|
285611
288667
|
Args: never;
|
|
285612
288668
|
Returns: boolean;
|
|
285613
288669
|
};
|
|
288670
|
+
logistics_subtract_working_minutes: {
|
|
288671
|
+
Args: {
|
|
288672
|
+
p_deadline: string;
|
|
288673
|
+
p_max_workdays?: number;
|
|
288674
|
+
p_minutes: number;
|
|
288675
|
+
};
|
|
288676
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
288677
|
+
};
|
|
285614
288678
|
logistics_supersede_stale_tasks: {
|
|
285615
288679
|
Args: {
|
|
285616
288680
|
p_keep: string[];
|
|
@@ -285647,6 +288711,12 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
|
|
|
285647
288711
|
Args: never;
|
|
285648
288712
|
Returns: string;
|
|
285649
288713
|
};
|
|
288714
|
+
logistics_timezone_options: {
|
|
288715
|
+
Args: never;
|
|
288716
|
+
Returns: {
|
|
288717
|
+
name: string;
|
|
288718
|
+
}[];
|
|
288719
|
+
};
|
|
285650
288720
|
logistics_upsert_task: {
|
|
285651
288721
|
Args: {
|
|
285652
288722
|
p_buffer_ref: string;
|
|
@@ -285666,6 +288736,16 @@ export declare const deleteCrateType: import("@tanstack/start-client-core").Opti
|
|
|
285666
288736
|
};
|
|
285667
288737
|
Returns: string;
|
|
285668
288738
|
};
|
|
288739
|
+
logistics_valid_timezone: {
|
|
288740
|
+
Args: {
|
|
288741
|
+
_tz: string;
|
|
288742
|
+
};
|
|
288743
|
+
Returns: boolean;
|
|
288744
|
+
};
|
|
288745
|
+
logistics_working_hours_status: {
|
|
288746
|
+
Args: never;
|
|
288747
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
288748
|
+
};
|
|
285669
288749
|
logistics_write_buffer_layer_positions: {
|
|
285670
288750
|
Args: {
|
|
285671
288751
|
p_buffer_id: string;
|