@flowselections/logistiek-engine 1.0.34 → 1.0.53
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/README.md +24 -24
- package/dist-lib/components/FlowCanvas.d.ts +28 -0
- package/dist-lib/components/FlowCanvas.d.ts.map +1 -0
- package/dist-lib/components/FlowCanvas.js +429 -0
- package/dist-lib/components/FlowOrders.d.ts +8 -0
- package/dist-lib/components/FlowOrders.d.ts.map +1 -0
- package/dist-lib/components/FlowOrders.js +125 -0
- package/dist-lib/components/FlowPage.d.ts +2 -0
- package/dist-lib/components/FlowPage.d.ts.map +1 -0
- package/dist-lib/components/FlowPage.js +141 -0
- package/dist-lib/components/InklapbaarVenster.d.ts +9 -0
- package/dist-lib/components/InklapbaarVenster.d.ts.map +1 -0
- package/dist-lib/components/InklapbaarVenster.js +10 -0
- package/dist-lib/components/LogistiekEnginePage.d.ts.map +1 -1
- package/dist-lib/components/LogistiekEnginePage.js +9 -3
- package/dist-lib/components/LogistiekEngineQueuePage.d.ts +2 -0
- package/dist-lib/components/LogistiekEngineQueuePage.d.ts.map +1 -0
- package/dist-lib/components/LogistiekEngineQueuePage.js +11 -0
- package/dist-lib/components/NodeTracePanel.d.ts +11 -0
- package/dist-lib/components/NodeTracePanel.d.ts.map +1 -0
- package/dist-lib/components/NodeTracePanel.js +40 -0
- package/dist-lib/components/OrderJourneyBar.d.ts +9 -0
- package/dist-lib/components/OrderJourneyBar.d.ts.map +1 -0
- package/dist-lib/components/OrderJourneyBar.js +26 -0
- package/dist-lib/components/OrderLogboek.d.ts +10 -0
- package/dist-lib/components/OrderLogboek.d.ts.map +1 -0
- package/dist-lib/components/OrderLogboek.js +92 -0
- package/dist-lib/components/OrderStopBanner.d.ts +5 -0
- package/dist-lib/components/OrderStopBanner.d.ts.map +1 -0
- package/dist-lib/components/OrderStopBanner.js +22 -0
- package/dist-lib/components/OrderTraceDetails.d.ts +22 -0
- package/dist-lib/components/OrderTraceDetails.d.ts.map +1 -0
- package/dist-lib/components/OrderTraceDetails.js +87 -0
- package/dist-lib/components/RegiePage.d.ts.map +1 -1
- package/dist-lib/components/RegiePage.js +11 -69
- package/dist-lib/components/WerktijdenCard.d.ts +2 -0
- package/dist-lib/components/WerktijdenCard.d.ts.map +1 -0
- package/dist-lib/components/WerktijdenCard.js +37 -0
- package/dist-lib/components/WerkwijzeHerindelingCard.d.ts.map +1 -1
- package/dist-lib/components/WerkwijzeHerindelingCard.js +100 -6
- package/dist-lib/hooks/useLogisticsTrace.d.ts +78 -0
- package/dist-lib/hooks/useLogisticsTrace.d.ts.map +1 -0
- package/dist-lib/hooks/useLogisticsTrace.js +152 -0
- package/dist-lib/hooks/useOrderNodeTrace.d.ts +11 -0
- package/dist-lib/hooks/useOrderNodeTrace.d.ts.map +1 -0
- package/dist-lib/hooks/useOrderNodeTrace.js +26 -0
- package/dist-lib/hooks/useOrderTrace.d.ts +74 -0
- package/dist-lib/hooks/useOrderTrace.d.ts.map +1 -0
- package/dist-lib/hooks/useOrderTrace.js +134 -0
- package/dist-lib/hooks/useOrderVersies.d.ts +47 -0
- package/dist-lib/hooks/useOrderVersies.d.ts.map +1 -0
- package/dist-lib/hooks/useOrderVersies.js +180 -0
- package/dist-lib/hooks/useRuleEngine.d.ts +1 -0
- package/dist-lib/hooks/useRuleEngine.d.ts.map +1 -1
- package/dist-lib/hooks/useRuleEngine.js +1 -0
- package/dist-lib/hooks/useShippingNoteStatus.d.ts +29 -0
- package/dist-lib/hooks/useShippingNoteStatus.d.ts.map +1 -0
- package/dist-lib/hooks/useShippingNoteStatus.js +107 -0
- package/dist-lib/hooks/useWerktijden.d.ts +33 -0
- package/dist-lib/hooks/useWerktijden.d.ts.map +1 -0
- package/dist-lib/hooks/useWerktijden.js +88 -0
- package/dist-lib/hooks/useWerkwijzeStatus.d.ts +12 -1
- package/dist-lib/hooks/useWerkwijzeStatus.d.ts.map +1 -1
- package/dist-lib/hooks/useWerkwijzeStatus.js +60 -4
- package/dist-lib/index.d.ts +13 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +13 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1600 -54
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1600 -54
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.js +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +1600 -54
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1618 -50
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/cartPlanRequests.server.d.ts +1 -1
- package/dist-lib/lib/cartPlanRequests.server.d.ts.map +1 -1
- package/dist-lib/lib/cartPlanRequests.server.js +49 -8
- package/dist-lib/lib/floridayDocuments.functions.d.ts +4644 -6
- package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.functions.js +1 -1
- package/dist-lib/lib/floridayDocuments.server.d.ts +14 -0
- package/dist-lib/lib/floridayDocuments.server.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.server.js +58 -0
- package/dist-lib/lib/floridayGuard.server.d.ts +1 -1
- package/dist-lib/lib/floridayGuard.server.d.ts.map +1 -1
- package/dist-lib/lib/floridayGuard.server.js +6 -3
- package/dist-lib/lib/floridayPush.functions.d.ts +1600 -54
- package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
- package/dist-lib/lib/floridayPush.functions.js +1 -1
- package/dist-lib/lib/flowGraph.d.ts +43 -0
- package/dist-lib/lib/flowGraph.d.ts.map +1 -0
- package/dist-lib/lib/flowGraph.js +153 -0
- package/dist-lib/lib/flowNodes.d.ts +23 -0
- package/dist-lib/lib/flowNodes.d.ts.map +1 -0
- package/dist-lib/lib/flowNodes.js +58 -0
- package/dist-lib/lib/flowRoute.d.ts +107 -0
- package/dist-lib/lib/flowRoute.d.ts.map +1 -0
- package/dist-lib/lib/flowRoute.js +280 -0
- package/dist-lib/lib/flowTree.d.ts +64 -0
- package/dist-lib/lib/flowTree.d.ts.map +1 -0
- package/dist-lib/lib/flowTree.js +519 -0
- package/dist-lib/lib/handlers/index.d.ts +1 -0
- package/dist-lib/lib/handlers/index.d.ts.map +1 -1
- package/dist-lib/lib/handlers/index.js +1 -0
- package/dist-lib/lib/handlers/logistics-shipping-note-now.server.d.ts +3 -0
- package/dist-lib/lib/handlers/logistics-shipping-note-now.server.d.ts.map +1 -0
- package/dist-lib/lib/handlers/logistics-shipping-note-now.server.js +100 -0
- package/dist-lib/lib/handlers/logistics-tick.server.d.ts.map +1 -1
- package/dist-lib/lib/handlers/logistics-tick.server.js +97 -2
- package/dist-lib/lib/loadCarrierPlanner.d.ts +2 -0
- package/dist-lib/lib/loadCarrierPlanner.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierPlanner.js +18 -0
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +7740 -10
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierPlanning.functions.js +1 -1
- package/dist-lib/lib/loadCarrierPlanning.server.d.ts +9 -0
- package/dist-lib/lib/loadCarrierPlanning.server.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierPlanning.server.js +44 -17
- package/dist-lib/lib/logisticsPlanner.d.ts.map +1 -1
- package/dist-lib/lib/logisticsPlanner.js +14 -2
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +3096 -4
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalcJob.functions.js +1 -1
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts +1600 -54
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalculate.functions.js +1 -1
- package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.js +3459 -2677
- package/dist-lib/lib/nodeTrace.d.ts +61 -0
- package/dist-lib/lib/nodeTrace.d.ts.map +1 -0
- package/dist-lib/lib/nodeTrace.js +191 -0
- package/dist-lib/lib/pickQueueCleanup.server.d.ts +14 -0
- package/dist-lib/lib/pickQueueCleanup.server.d.ts.map +1 -0
- package/dist-lib/lib/pickQueueCleanup.server.js +80 -0
- package/dist-lib/lib/planQueue.server.d.ts.map +1 -1
- package/dist-lib/lib/planQueue.server.js +140 -0
- package/dist-lib/lib/ruleEngineImpact.d.ts.map +1 -1
- package/dist-lib/lib/ruleEngineImpact.js +11 -4
- package/dist-lib/lib/ruleEngineSchema.d.ts.map +1 -1
- package/dist-lib/lib/ruleEngineSchema.js +50 -6
- package/dist-lib/lib/ruleEngineWizard.d.ts.map +1 -1
- package/dist-lib/lib/ruleEngineWizard.js +3 -1
- package/dist-lib/lib/shippingNoteQueue.server.d.ts +18 -0
- package/dist-lib/lib/shippingNoteQueue.server.d.ts.map +1 -0
- package/dist-lib/lib/shippingNoteQueue.server.js +304 -0
- package/dist-lib/lib/trace.server.d.ts +75 -0
- package/dist-lib/lib/trace.server.d.ts.map +1 -0
- package/dist-lib/lib/trace.server.js +75 -0
- package/dist-lib/lib/vakUitleg.d.ts +19 -0
- package/dist-lib/lib/vakUitleg.d.ts.map +1 -0
- package/dist-lib/lib/vakUitleg.js +132 -0
- package/package.json +26 -2
- package/dist-lib/components/rule-engine/FloridayConnectionBanner.d.ts +0 -2
- package/dist-lib/components/rule-engine/FloridayConnectionBanner.d.ts.map +0 -1
- package/dist-lib/components/rule-engine/FloridayConnectionBanner.js +0 -41
- package/dist-lib/integrations/supabase/client.d.ts +0 -20293
- package/dist-lib/integrations/supabase/client.d.ts.map +0 -1
- package/dist-lib/integrations/supabase/client.js +0 -13
|
@@ -1857,6 +1857,42 @@ export type Database = {
|
|
|
1857
1857
|
};
|
|
1858
1858
|
Relationships: [];
|
|
1859
1859
|
};
|
|
1860
|
+
customer_assortment_items: {
|
|
1861
|
+
Row: {
|
|
1862
|
+
created_at: string;
|
|
1863
|
+
customer_key: string;
|
|
1864
|
+
id: string;
|
|
1865
|
+
in_assortment: boolean;
|
|
1866
|
+
manual_override: boolean;
|
|
1867
|
+
source: string;
|
|
1868
|
+
synced_at: string | null;
|
|
1869
|
+
trade_item_key: string;
|
|
1870
|
+
updated_at: string;
|
|
1871
|
+
};
|
|
1872
|
+
Insert: {
|
|
1873
|
+
created_at?: string;
|
|
1874
|
+
customer_key: string;
|
|
1875
|
+
id?: string;
|
|
1876
|
+
in_assortment?: boolean;
|
|
1877
|
+
manual_override?: boolean;
|
|
1878
|
+
source?: string;
|
|
1879
|
+
synced_at?: string | null;
|
|
1880
|
+
trade_item_key: string;
|
|
1881
|
+
updated_at?: string;
|
|
1882
|
+
};
|
|
1883
|
+
Update: {
|
|
1884
|
+
created_at?: string;
|
|
1885
|
+
customer_key?: string;
|
|
1886
|
+
id?: string;
|
|
1887
|
+
in_assortment?: boolean;
|
|
1888
|
+
manual_override?: boolean;
|
|
1889
|
+
source?: string;
|
|
1890
|
+
synced_at?: string | null;
|
|
1891
|
+
trade_item_key?: string;
|
|
1892
|
+
updated_at?: string;
|
|
1893
|
+
};
|
|
1894
|
+
Relationships: [];
|
|
1895
|
+
};
|
|
1860
1896
|
customer_audit_log: {
|
|
1861
1897
|
Row: {
|
|
1862
1898
|
action: string;
|
|
@@ -2272,6 +2308,63 @@ export type Database = {
|
|
|
2272
2308
|
};
|
|
2273
2309
|
Relationships: [];
|
|
2274
2310
|
};
|
|
2311
|
+
customer_product_stickers: {
|
|
2312
|
+
Row: {
|
|
2313
|
+
content_hash: string | null;
|
|
2314
|
+
created_at: string;
|
|
2315
|
+
customer_key: string;
|
|
2316
|
+
file_name: string;
|
|
2317
|
+
file_path: string;
|
|
2318
|
+
file_size: number | null;
|
|
2319
|
+
floriday_sticker_id: string | null;
|
|
2320
|
+
floriday_synced_at: string | null;
|
|
2321
|
+
height_mm: number | null;
|
|
2322
|
+
id: string;
|
|
2323
|
+
mime_type: string | null;
|
|
2324
|
+
source: string;
|
|
2325
|
+
trade_item_key: string;
|
|
2326
|
+
updated_at: string;
|
|
2327
|
+
uploaded_by: string | null;
|
|
2328
|
+
width_mm: number | null;
|
|
2329
|
+
};
|
|
2330
|
+
Insert: {
|
|
2331
|
+
content_hash?: string | null;
|
|
2332
|
+
created_at?: string;
|
|
2333
|
+
customer_key: string;
|
|
2334
|
+
file_name: string;
|
|
2335
|
+
file_path: string;
|
|
2336
|
+
file_size?: number | null;
|
|
2337
|
+
floriday_sticker_id?: string | null;
|
|
2338
|
+
floriday_synced_at?: string | null;
|
|
2339
|
+
height_mm?: number | null;
|
|
2340
|
+
id?: string;
|
|
2341
|
+
mime_type?: string | null;
|
|
2342
|
+
source?: string;
|
|
2343
|
+
trade_item_key: string;
|
|
2344
|
+
updated_at?: string;
|
|
2345
|
+
uploaded_by?: string | null;
|
|
2346
|
+
width_mm?: number | null;
|
|
2347
|
+
};
|
|
2348
|
+
Update: {
|
|
2349
|
+
content_hash?: string | null;
|
|
2350
|
+
created_at?: string;
|
|
2351
|
+
customer_key?: string;
|
|
2352
|
+
file_name?: string;
|
|
2353
|
+
file_path?: string;
|
|
2354
|
+
file_size?: number | null;
|
|
2355
|
+
floriday_sticker_id?: string | null;
|
|
2356
|
+
floriday_synced_at?: string | null;
|
|
2357
|
+
height_mm?: number | null;
|
|
2358
|
+
id?: string;
|
|
2359
|
+
mime_type?: string | null;
|
|
2360
|
+
source?: string;
|
|
2361
|
+
trade_item_key?: string;
|
|
2362
|
+
updated_at?: string;
|
|
2363
|
+
uploaded_by?: string | null;
|
|
2364
|
+
width_mm?: number | null;
|
|
2365
|
+
};
|
|
2366
|
+
Relationships: [];
|
|
2367
|
+
};
|
|
2275
2368
|
customer_selected_assortment: {
|
|
2276
2369
|
Row: {
|
|
2277
2370
|
article_number: string | null;
|
|
@@ -2322,6 +2415,30 @@ export type Database = {
|
|
|
2322
2415
|
}
|
|
2323
2416
|
];
|
|
2324
2417
|
};
|
|
2418
|
+
customer_sticker_settings: {
|
|
2419
|
+
Row: {
|
|
2420
|
+
created_at: string;
|
|
2421
|
+
customer_key: string;
|
|
2422
|
+
height_mm: number;
|
|
2423
|
+
updated_at: string;
|
|
2424
|
+
width_mm: number;
|
|
2425
|
+
};
|
|
2426
|
+
Insert: {
|
|
2427
|
+
created_at?: string;
|
|
2428
|
+
customer_key: string;
|
|
2429
|
+
height_mm?: number;
|
|
2430
|
+
updated_at?: string;
|
|
2431
|
+
width_mm?: number;
|
|
2432
|
+
};
|
|
2433
|
+
Update: {
|
|
2434
|
+
created_at?: string;
|
|
2435
|
+
customer_key?: string;
|
|
2436
|
+
height_mm?: number;
|
|
2437
|
+
updated_at?: string;
|
|
2438
|
+
width_mm?: number;
|
|
2439
|
+
};
|
|
2440
|
+
Relationships: [];
|
|
2441
|
+
};
|
|
2325
2442
|
customer_trade_settings: {
|
|
2326
2443
|
Row: {
|
|
2327
2444
|
category: string;
|
|
@@ -3683,6 +3800,7 @@ export type Database = {
|
|
|
3683
3800
|
};
|
|
3684
3801
|
email_auth_outbox: {
|
|
3685
3802
|
Row: {
|
|
3803
|
+
attachments: Json;
|
|
3686
3804
|
attempts: number;
|
|
3687
3805
|
bcc_addresses: string[];
|
|
3688
3806
|
cc_addresses: string[];
|
|
@@ -3705,6 +3823,7 @@ export type Database = {
|
|
|
3705
3823
|
updated_at: string;
|
|
3706
3824
|
};
|
|
3707
3825
|
Insert: {
|
|
3826
|
+
attachments?: Json;
|
|
3708
3827
|
attempts?: number;
|
|
3709
3828
|
bcc_addresses?: string[];
|
|
3710
3829
|
cc_addresses?: string[];
|
|
@@ -3727,6 +3846,7 @@ export type Database = {
|
|
|
3727
3846
|
updated_at?: string;
|
|
3728
3847
|
};
|
|
3729
3848
|
Update: {
|
|
3849
|
+
attachments?: Json;
|
|
3730
3850
|
attempts?: number;
|
|
3731
3851
|
bcc_addresses?: string[];
|
|
3732
3852
|
cc_addresses?: string[];
|
|
@@ -5731,6 +5851,105 @@ export type Database = {
|
|
|
5731
5851
|
}
|
|
5732
5852
|
];
|
|
5733
5853
|
};
|
|
5854
|
+
floriday_api_log: {
|
|
5855
|
+
Row: {
|
|
5856
|
+
action: string | null;
|
|
5857
|
+
caller: string | null;
|
|
5858
|
+
connection_id: string | null;
|
|
5859
|
+
created_at: string;
|
|
5860
|
+
cursor_from: number | null;
|
|
5861
|
+
direction: string;
|
|
5862
|
+
duration_ms: number | null;
|
|
5863
|
+
environment: string | null;
|
|
5864
|
+
error: string | null;
|
|
5865
|
+
floriday_id: string | null;
|
|
5866
|
+
floriday_reference: string | null;
|
|
5867
|
+
http_status: number;
|
|
5868
|
+
id: string;
|
|
5869
|
+
item_count: number | null;
|
|
5870
|
+
kind: string | null;
|
|
5871
|
+
local_id: string | null;
|
|
5872
|
+
local_reference: string | null;
|
|
5873
|
+
method: string;
|
|
5874
|
+
module: string | null;
|
|
5875
|
+
ok: boolean;
|
|
5876
|
+
path: string;
|
|
5877
|
+
request: Json | null;
|
|
5878
|
+
resource_type: string | null;
|
|
5879
|
+
response: Json | null;
|
|
5880
|
+
write_log_id: string | null;
|
|
5881
|
+
};
|
|
5882
|
+
Insert: {
|
|
5883
|
+
action?: string | null;
|
|
5884
|
+
caller?: string | null;
|
|
5885
|
+
connection_id?: string | null;
|
|
5886
|
+
created_at?: string;
|
|
5887
|
+
cursor_from?: number | null;
|
|
5888
|
+
direction: string;
|
|
5889
|
+
duration_ms?: number | null;
|
|
5890
|
+
environment?: string | null;
|
|
5891
|
+
error?: string | null;
|
|
5892
|
+
floriday_id?: string | null;
|
|
5893
|
+
floriday_reference?: string | null;
|
|
5894
|
+
http_status?: number;
|
|
5895
|
+
id?: string;
|
|
5896
|
+
item_count?: number | null;
|
|
5897
|
+
kind?: string | null;
|
|
5898
|
+
local_id?: string | null;
|
|
5899
|
+
local_reference?: string | null;
|
|
5900
|
+
method: string;
|
|
5901
|
+
module?: string | null;
|
|
5902
|
+
ok?: boolean;
|
|
5903
|
+
path: string;
|
|
5904
|
+
request?: Json | null;
|
|
5905
|
+
resource_type?: string | null;
|
|
5906
|
+
response?: Json | null;
|
|
5907
|
+
write_log_id?: string | null;
|
|
5908
|
+
};
|
|
5909
|
+
Update: {
|
|
5910
|
+
action?: string | null;
|
|
5911
|
+
caller?: string | null;
|
|
5912
|
+
connection_id?: string | null;
|
|
5913
|
+
created_at?: string;
|
|
5914
|
+
cursor_from?: number | null;
|
|
5915
|
+
direction?: string;
|
|
5916
|
+
duration_ms?: number | null;
|
|
5917
|
+
environment?: string | null;
|
|
5918
|
+
error?: string | null;
|
|
5919
|
+
floriday_id?: string | null;
|
|
5920
|
+
floriday_reference?: string | null;
|
|
5921
|
+
http_status?: number;
|
|
5922
|
+
id?: string;
|
|
5923
|
+
item_count?: number | null;
|
|
5924
|
+
kind?: string | null;
|
|
5925
|
+
local_id?: string | null;
|
|
5926
|
+
local_reference?: string | null;
|
|
5927
|
+
method?: string;
|
|
5928
|
+
module?: string | null;
|
|
5929
|
+
ok?: boolean;
|
|
5930
|
+
path?: string;
|
|
5931
|
+
request?: Json | null;
|
|
5932
|
+
resource_type?: string | null;
|
|
5933
|
+
response?: Json | null;
|
|
5934
|
+
write_log_id?: string | null;
|
|
5935
|
+
};
|
|
5936
|
+
Relationships: [
|
|
5937
|
+
{
|
|
5938
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
5939
|
+
columns: ["connection_id"];
|
|
5940
|
+
isOneToOne: false;
|
|
5941
|
+
referencedRelation: "floriday_connections";
|
|
5942
|
+
referencedColumns: ["id"];
|
|
5943
|
+
},
|
|
5944
|
+
{
|
|
5945
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
5946
|
+
columns: ["write_log_id"];
|
|
5947
|
+
isOneToOne: false;
|
|
5948
|
+
referencedRelation: "floriday_write_log";
|
|
5949
|
+
referencedColumns: ["id"];
|
|
5950
|
+
}
|
|
5951
|
+
];
|
|
5952
|
+
};
|
|
5734
5953
|
floriday_auction_letters_cache: {
|
|
5735
5954
|
Row: {
|
|
5736
5955
|
auction_letter_code: string;
|
|
@@ -5948,6 +6167,86 @@ export type Database = {
|
|
|
5948
6167
|
}
|
|
5949
6168
|
];
|
|
5950
6169
|
};
|
|
6170
|
+
floriday_catalog_prices_cache: {
|
|
6171
|
+
Row: {
|
|
6172
|
+
connection_id: string;
|
|
6173
|
+
created_at: string;
|
|
6174
|
+
currency: string;
|
|
6175
|
+
id: string;
|
|
6176
|
+
is_deleted: boolean;
|
|
6177
|
+
price: number | null;
|
|
6178
|
+
price_group_id: string | null;
|
|
6179
|
+
price_group_name: string | null;
|
|
6180
|
+
price_type: string;
|
|
6181
|
+
raw: Json | null;
|
|
6182
|
+
sales_unit: string | null;
|
|
6183
|
+
sequence_number: number;
|
|
6184
|
+
supplier_article_code: string | null;
|
|
6185
|
+
supply_line_id: string;
|
|
6186
|
+
synced_at: string;
|
|
6187
|
+
trade_item_id: string | null;
|
|
6188
|
+
updated_at: string;
|
|
6189
|
+
valid_from: string | null;
|
|
6190
|
+
valid_to: string | null;
|
|
6191
|
+
week: number | null;
|
|
6192
|
+
year: number | null;
|
|
6193
|
+
};
|
|
6194
|
+
Insert: {
|
|
6195
|
+
connection_id: string;
|
|
6196
|
+
created_at?: string;
|
|
6197
|
+
currency?: string;
|
|
6198
|
+
id?: string;
|
|
6199
|
+
is_deleted?: boolean;
|
|
6200
|
+
price?: number | null;
|
|
6201
|
+
price_group_id?: string | null;
|
|
6202
|
+
price_group_name?: string | null;
|
|
6203
|
+
price_type?: string;
|
|
6204
|
+
raw?: Json | null;
|
|
6205
|
+
sales_unit?: string | null;
|
|
6206
|
+
sequence_number?: number;
|
|
6207
|
+
supplier_article_code?: string | null;
|
|
6208
|
+
supply_line_id: string;
|
|
6209
|
+
synced_at?: string;
|
|
6210
|
+
trade_item_id?: string | null;
|
|
6211
|
+
updated_at?: string;
|
|
6212
|
+
valid_from?: string | null;
|
|
6213
|
+
valid_to?: string | null;
|
|
6214
|
+
week?: number | null;
|
|
6215
|
+
year?: number | null;
|
|
6216
|
+
};
|
|
6217
|
+
Update: {
|
|
6218
|
+
connection_id?: string;
|
|
6219
|
+
created_at?: string;
|
|
6220
|
+
currency?: string;
|
|
6221
|
+
id?: string;
|
|
6222
|
+
is_deleted?: boolean;
|
|
6223
|
+
price?: number | null;
|
|
6224
|
+
price_group_id?: string | null;
|
|
6225
|
+
price_group_name?: string | null;
|
|
6226
|
+
price_type?: string;
|
|
6227
|
+
raw?: Json | null;
|
|
6228
|
+
sales_unit?: string | null;
|
|
6229
|
+
sequence_number?: number;
|
|
6230
|
+
supplier_article_code?: string | null;
|
|
6231
|
+
supply_line_id?: string;
|
|
6232
|
+
synced_at?: string;
|
|
6233
|
+
trade_item_id?: string | null;
|
|
6234
|
+
updated_at?: string;
|
|
6235
|
+
valid_from?: string | null;
|
|
6236
|
+
valid_to?: string | null;
|
|
6237
|
+
week?: number | null;
|
|
6238
|
+
year?: number | null;
|
|
6239
|
+
};
|
|
6240
|
+
Relationships: [
|
|
6241
|
+
{
|
|
6242
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
6243
|
+
columns: ["connection_id"];
|
|
6244
|
+
isOneToOne: false;
|
|
6245
|
+
referencedRelation: "floriday_connections";
|
|
6246
|
+
referencedColumns: ["id"];
|
|
6247
|
+
}
|
|
6248
|
+
];
|
|
6249
|
+
};
|
|
5951
6250
|
floriday_clock_presales_cache: {
|
|
5952
6251
|
Row: {
|
|
5953
6252
|
buyer_organization_id: string | null;
|
|
@@ -6893,6 +7192,69 @@ export type Database = {
|
|
|
6893
7192
|
}
|
|
6894
7193
|
];
|
|
6895
7194
|
};
|
|
7195
|
+
floriday_link_templates: {
|
|
7196
|
+
Row: {
|
|
7197
|
+
created_at: string;
|
|
7198
|
+
floriday_url_template: string | null;
|
|
7199
|
+
is_active: boolean;
|
|
7200
|
+
label: string;
|
|
7201
|
+
local_url_template: string | null;
|
|
7202
|
+
resource_type: string;
|
|
7203
|
+
updated_at: string;
|
|
7204
|
+
};
|
|
7205
|
+
Insert: {
|
|
7206
|
+
created_at?: string;
|
|
7207
|
+
floriday_url_template?: string | null;
|
|
7208
|
+
is_active?: boolean;
|
|
7209
|
+
label: string;
|
|
7210
|
+
local_url_template?: string | null;
|
|
7211
|
+
resource_type: string;
|
|
7212
|
+
updated_at?: string;
|
|
7213
|
+
};
|
|
7214
|
+
Update: {
|
|
7215
|
+
created_at?: string;
|
|
7216
|
+
floriday_url_template?: string | null;
|
|
7217
|
+
is_active?: boolean;
|
|
7218
|
+
label?: string;
|
|
7219
|
+
local_url_template?: string | null;
|
|
7220
|
+
resource_type?: string;
|
|
7221
|
+
updated_at?: string;
|
|
7222
|
+
};
|
|
7223
|
+
Relationships: [];
|
|
7224
|
+
};
|
|
7225
|
+
floriday_log_retention: {
|
|
7226
|
+
Row: {
|
|
7227
|
+
created_at: string;
|
|
7228
|
+
direction: string | null;
|
|
7229
|
+
id: string;
|
|
7230
|
+
keep_failed_days: number | null;
|
|
7231
|
+
keep_ok_days: number | null;
|
|
7232
|
+
note: string | null;
|
|
7233
|
+
resource_type: string | null;
|
|
7234
|
+
updated_at: string;
|
|
7235
|
+
};
|
|
7236
|
+
Insert: {
|
|
7237
|
+
created_at?: string;
|
|
7238
|
+
direction?: string | null;
|
|
7239
|
+
id?: string;
|
|
7240
|
+
keep_failed_days?: number | null;
|
|
7241
|
+
keep_ok_days?: number | null;
|
|
7242
|
+
note?: string | null;
|
|
7243
|
+
resource_type?: string | null;
|
|
7244
|
+
updated_at?: string;
|
|
7245
|
+
};
|
|
7246
|
+
Update: {
|
|
7247
|
+
created_at?: string;
|
|
7248
|
+
direction?: string | null;
|
|
7249
|
+
id?: string;
|
|
7250
|
+
keep_failed_days?: number | null;
|
|
7251
|
+
keep_ok_days?: number | null;
|
|
7252
|
+
note?: string | null;
|
|
7253
|
+
resource_type?: string | null;
|
|
7254
|
+
updated_at?: string;
|
|
7255
|
+
};
|
|
7256
|
+
Relationships: [];
|
|
7257
|
+
};
|
|
6896
7258
|
floriday_logistic_labels_cache: {
|
|
6897
7259
|
Row: {
|
|
6898
7260
|
byte_size: number | null;
|
|
@@ -10556,7 +10918,145 @@ export type Database = {
|
|
|
10556
10918
|
};
|
|
10557
10919
|
Relationships: [];
|
|
10558
10920
|
};
|
|
10559
|
-
|
|
10921
|
+
logistics_opening_exceptions: {
|
|
10922
|
+
Row: {
|
|
10923
|
+
closes: string | null;
|
|
10924
|
+
created_at: string;
|
|
10925
|
+
day: string;
|
|
10926
|
+
id: string;
|
|
10927
|
+
is_closed: boolean;
|
|
10928
|
+
note: string | null;
|
|
10929
|
+
opens: string | null;
|
|
10930
|
+
};
|
|
10931
|
+
Insert: {
|
|
10932
|
+
closes?: string | null;
|
|
10933
|
+
created_at?: string;
|
|
10934
|
+
day: string;
|
|
10935
|
+
id?: string;
|
|
10936
|
+
is_closed?: boolean;
|
|
10937
|
+
note?: string | null;
|
|
10938
|
+
opens?: string | null;
|
|
10939
|
+
};
|
|
10940
|
+
Update: {
|
|
10941
|
+
closes?: string | null;
|
|
10942
|
+
created_at?: string;
|
|
10943
|
+
day?: string;
|
|
10944
|
+
id?: string;
|
|
10945
|
+
is_closed?: boolean;
|
|
10946
|
+
note?: string | null;
|
|
10947
|
+
opens?: string | null;
|
|
10948
|
+
};
|
|
10949
|
+
Relationships: [];
|
|
10950
|
+
};
|
|
10951
|
+
logistics_opening_hours: {
|
|
10952
|
+
Row: {
|
|
10953
|
+
closes: string;
|
|
10954
|
+
created_at: string;
|
|
10955
|
+
id: string;
|
|
10956
|
+
is_active: boolean;
|
|
10957
|
+
note: string | null;
|
|
10958
|
+
opens: string;
|
|
10959
|
+
weekday: number;
|
|
10960
|
+
};
|
|
10961
|
+
Insert: {
|
|
10962
|
+
closes: string;
|
|
10963
|
+
created_at?: string;
|
|
10964
|
+
id?: string;
|
|
10965
|
+
is_active?: boolean;
|
|
10966
|
+
note?: string | null;
|
|
10967
|
+
opens: string;
|
|
10968
|
+
weekday: number;
|
|
10969
|
+
};
|
|
10970
|
+
Update: {
|
|
10971
|
+
closes?: string;
|
|
10972
|
+
created_at?: string;
|
|
10973
|
+
id?: string;
|
|
10974
|
+
is_active?: boolean;
|
|
10975
|
+
note?: string | null;
|
|
10976
|
+
opens?: string;
|
|
10977
|
+
weekday?: number;
|
|
10978
|
+
};
|
|
10979
|
+
Relationships: [];
|
|
10980
|
+
};
|
|
10981
|
+
logistics_order_merges: {
|
|
10982
|
+
Row: {
|
|
10983
|
+
group_key: string;
|
|
10984
|
+
id: string;
|
|
10985
|
+
items_moved: number;
|
|
10986
|
+
kept_order_id: string;
|
|
10987
|
+
kept_order_number: string | null;
|
|
10988
|
+
merged_at: string;
|
|
10989
|
+
merged_order_id: string;
|
|
10990
|
+
merged_order_number: string | null;
|
|
10991
|
+
sales_order_id: string | null;
|
|
10992
|
+
};
|
|
10993
|
+
Insert: {
|
|
10994
|
+
group_key: string;
|
|
10995
|
+
id?: string;
|
|
10996
|
+
items_moved?: number;
|
|
10997
|
+
kept_order_id: string;
|
|
10998
|
+
kept_order_number?: string | null;
|
|
10999
|
+
merged_at?: string;
|
|
11000
|
+
merged_order_id: string;
|
|
11001
|
+
merged_order_number?: string | null;
|
|
11002
|
+
sales_order_id?: string | null;
|
|
11003
|
+
};
|
|
11004
|
+
Update: {
|
|
11005
|
+
group_key?: string;
|
|
11006
|
+
id?: string;
|
|
11007
|
+
items_moved?: number;
|
|
11008
|
+
kept_order_id?: string;
|
|
11009
|
+
kept_order_number?: string | null;
|
|
11010
|
+
merged_at?: string;
|
|
11011
|
+
merged_order_id?: string;
|
|
11012
|
+
merged_order_number?: string | null;
|
|
11013
|
+
sales_order_id?: string | null;
|
|
11014
|
+
};
|
|
11015
|
+
Relationships: [];
|
|
11016
|
+
};
|
|
11017
|
+
logistics_pick_data_requests: {
|
|
11018
|
+
Row: {
|
|
11019
|
+
actions: Json;
|
|
11020
|
+
created_at: string;
|
|
11021
|
+
event_id: string | null;
|
|
11022
|
+
finished_at: string | null;
|
|
11023
|
+
id: string;
|
|
11024
|
+
missing: Json;
|
|
11025
|
+
order_ref: string;
|
|
11026
|
+
reason: string | null;
|
|
11027
|
+
result: Json | null;
|
|
11028
|
+
status: string;
|
|
11029
|
+
unit_ref: string | null;
|
|
11030
|
+
};
|
|
11031
|
+
Insert: {
|
|
11032
|
+
actions?: Json;
|
|
11033
|
+
created_at?: string;
|
|
11034
|
+
event_id?: string | null;
|
|
11035
|
+
finished_at?: string | null;
|
|
11036
|
+
id?: string;
|
|
11037
|
+
missing?: Json;
|
|
11038
|
+
order_ref: string;
|
|
11039
|
+
reason?: string | null;
|
|
11040
|
+
result?: Json | null;
|
|
11041
|
+
status?: string;
|
|
11042
|
+
unit_ref?: string | null;
|
|
11043
|
+
};
|
|
11044
|
+
Update: {
|
|
11045
|
+
actions?: Json;
|
|
11046
|
+
created_at?: string;
|
|
11047
|
+
event_id?: string | null;
|
|
11048
|
+
finished_at?: string | null;
|
|
11049
|
+
id?: string;
|
|
11050
|
+
missing?: Json;
|
|
11051
|
+
order_ref?: string;
|
|
11052
|
+
reason?: string | null;
|
|
11053
|
+
result?: Json | null;
|
|
11054
|
+
status?: string;
|
|
11055
|
+
unit_ref?: string | null;
|
|
11056
|
+
};
|
|
11057
|
+
Relationships: [];
|
|
11058
|
+
};
|
|
11059
|
+
logistics_pickup_moments: {
|
|
10560
11060
|
Row: {
|
|
10561
11061
|
carrier_ref: string | null;
|
|
10562
11062
|
created_at: string;
|
|
@@ -11022,6 +11522,69 @@ export type Database = {
|
|
|
11022
11522
|
};
|
|
11023
11523
|
Relationships: [];
|
|
11024
11524
|
};
|
|
11525
|
+
logistics_slip_shipping_note: {
|
|
11526
|
+
Row: {
|
|
11527
|
+
attempts: number;
|
|
11528
|
+
batch_key: string | null;
|
|
11529
|
+
cart_id: string | null;
|
|
11530
|
+
created_at: string;
|
|
11531
|
+
error: string | null;
|
|
11532
|
+
error_code: string | null;
|
|
11533
|
+
fulfillment_order_id: string | null;
|
|
11534
|
+
id: string;
|
|
11535
|
+
locked_until: string | null;
|
|
11536
|
+
next_attempt_at: string | null;
|
|
11537
|
+
order_id: string | null;
|
|
11538
|
+
order_number: string | null;
|
|
11539
|
+
print_job_id: string | null;
|
|
11540
|
+
printer_id: string | null;
|
|
11541
|
+
retry_class: string | null;
|
|
11542
|
+
slip_job_id: string;
|
|
11543
|
+
status: string;
|
|
11544
|
+
updated_at: string;
|
|
11545
|
+
};
|
|
11546
|
+
Insert: {
|
|
11547
|
+
attempts?: number;
|
|
11548
|
+
batch_key?: string | null;
|
|
11549
|
+
cart_id?: string | null;
|
|
11550
|
+
created_at?: string;
|
|
11551
|
+
error?: string | null;
|
|
11552
|
+
error_code?: string | null;
|
|
11553
|
+
fulfillment_order_id?: string | null;
|
|
11554
|
+
id?: string;
|
|
11555
|
+
locked_until?: string | null;
|
|
11556
|
+
next_attempt_at?: string | null;
|
|
11557
|
+
order_id?: string | null;
|
|
11558
|
+
order_number?: string | null;
|
|
11559
|
+
print_job_id?: string | null;
|
|
11560
|
+
printer_id?: string | null;
|
|
11561
|
+
retry_class?: string | null;
|
|
11562
|
+
slip_job_id: string;
|
|
11563
|
+
status?: string;
|
|
11564
|
+
updated_at?: string;
|
|
11565
|
+
};
|
|
11566
|
+
Update: {
|
|
11567
|
+
attempts?: number;
|
|
11568
|
+
batch_key?: string | null;
|
|
11569
|
+
cart_id?: string | null;
|
|
11570
|
+
created_at?: string;
|
|
11571
|
+
error?: string | null;
|
|
11572
|
+
error_code?: string | null;
|
|
11573
|
+
fulfillment_order_id?: string | null;
|
|
11574
|
+
id?: string;
|
|
11575
|
+
locked_until?: string | null;
|
|
11576
|
+
next_attempt_at?: string | null;
|
|
11577
|
+
order_id?: string | null;
|
|
11578
|
+
order_number?: string | null;
|
|
11579
|
+
print_job_id?: string | null;
|
|
11580
|
+
printer_id?: string | null;
|
|
11581
|
+
retry_class?: string | null;
|
|
11582
|
+
slip_job_id?: string;
|
|
11583
|
+
status?: string;
|
|
11584
|
+
updated_at?: string;
|
|
11585
|
+
};
|
|
11586
|
+
Relationships: [];
|
|
11587
|
+
};
|
|
11025
11588
|
logistics_staff_planning: {
|
|
11026
11589
|
Row: {
|
|
11027
11590
|
created_at: string;
|
|
@@ -11361,6 +11924,141 @@ export type Database = {
|
|
|
11361
11924
|
};
|
|
11362
11925
|
Relationships: [];
|
|
11363
11926
|
};
|
|
11927
|
+
logistics_time_settings: {
|
|
11928
|
+
Row: {
|
|
11929
|
+
id: boolean;
|
|
11930
|
+
timezone: string;
|
|
11931
|
+
updated_at: string;
|
|
11932
|
+
};
|
|
11933
|
+
Insert: {
|
|
11934
|
+
id?: boolean;
|
|
11935
|
+
timezone: string;
|
|
11936
|
+
updated_at?: string;
|
|
11937
|
+
};
|
|
11938
|
+
Update: {
|
|
11939
|
+
id?: boolean;
|
|
11940
|
+
timezone?: string;
|
|
11941
|
+
updated_at?: string;
|
|
11942
|
+
};
|
|
11943
|
+
Relationships: [];
|
|
11944
|
+
};
|
|
11945
|
+
logistics_trace_events: {
|
|
11946
|
+
Row: {
|
|
11947
|
+
actor: string | null;
|
|
11948
|
+
attempts: number;
|
|
11949
|
+
calc: Json | null;
|
|
11950
|
+
cart_ref: string | null;
|
|
11951
|
+
created_at: string;
|
|
11952
|
+
db_action: string | null;
|
|
11953
|
+
db_new: Json | null;
|
|
11954
|
+
db_old: Json | null;
|
|
11955
|
+
db_record: string | null;
|
|
11956
|
+
db_table: string | null;
|
|
11957
|
+
decision: string | null;
|
|
11958
|
+
duration_ms: number | null;
|
|
11959
|
+
error: string | null;
|
|
11960
|
+
error_class: string | null;
|
|
11961
|
+
external_action: string | null;
|
|
11962
|
+
external_ref: string | null;
|
|
11963
|
+
external_response: Json | null;
|
|
11964
|
+
external_status: string | null;
|
|
11965
|
+
external_system: string | null;
|
|
11966
|
+
id: string;
|
|
11967
|
+
input: Json | null;
|
|
11968
|
+
next_attempt_at: string | null;
|
|
11969
|
+
next_step: string | null;
|
|
11970
|
+
node_id: string | null;
|
|
11971
|
+
order_ref: string | null;
|
|
11972
|
+
order_source: string | null;
|
|
11973
|
+
output: Json | null;
|
|
11974
|
+
phase: string;
|
|
11975
|
+
reads: Json | null;
|
|
11976
|
+
reason: string | null;
|
|
11977
|
+
rule: string | null;
|
|
11978
|
+
slip_ref: string | null;
|
|
11979
|
+
status: string;
|
|
11980
|
+
step: string;
|
|
11981
|
+
trace_id: string;
|
|
11982
|
+
values_used: Json | null;
|
|
11983
|
+
};
|
|
11984
|
+
Insert: {
|
|
11985
|
+
actor?: string | null;
|
|
11986
|
+
attempts?: number;
|
|
11987
|
+
calc?: Json | null;
|
|
11988
|
+
cart_ref?: string | null;
|
|
11989
|
+
created_at?: string;
|
|
11990
|
+
db_action?: string | null;
|
|
11991
|
+
db_new?: Json | null;
|
|
11992
|
+
db_old?: Json | null;
|
|
11993
|
+
db_record?: string | null;
|
|
11994
|
+
db_table?: string | null;
|
|
11995
|
+
decision?: string | null;
|
|
11996
|
+
duration_ms?: number | null;
|
|
11997
|
+
error?: string | null;
|
|
11998
|
+
error_class?: string | null;
|
|
11999
|
+
external_action?: string | null;
|
|
12000
|
+
external_ref?: string | null;
|
|
12001
|
+
external_response?: Json | null;
|
|
12002
|
+
external_status?: string | null;
|
|
12003
|
+
external_system?: string | null;
|
|
12004
|
+
id?: string;
|
|
12005
|
+
input?: Json | null;
|
|
12006
|
+
next_attempt_at?: string | null;
|
|
12007
|
+
next_step?: string | null;
|
|
12008
|
+
node_id?: string | null;
|
|
12009
|
+
order_ref?: string | null;
|
|
12010
|
+
order_source?: string | null;
|
|
12011
|
+
output?: Json | null;
|
|
12012
|
+
phase: string;
|
|
12013
|
+
reads?: Json | null;
|
|
12014
|
+
reason?: string | null;
|
|
12015
|
+
rule?: string | null;
|
|
12016
|
+
slip_ref?: string | null;
|
|
12017
|
+
status: string;
|
|
12018
|
+
step: string;
|
|
12019
|
+
trace_id?: string;
|
|
12020
|
+
values_used?: Json | null;
|
|
12021
|
+
};
|
|
12022
|
+
Update: {
|
|
12023
|
+
actor?: string | null;
|
|
12024
|
+
attempts?: number;
|
|
12025
|
+
calc?: Json | null;
|
|
12026
|
+
cart_ref?: string | null;
|
|
12027
|
+
created_at?: string;
|
|
12028
|
+
db_action?: string | null;
|
|
12029
|
+
db_new?: Json | null;
|
|
12030
|
+
db_old?: Json | null;
|
|
12031
|
+
db_record?: string | null;
|
|
12032
|
+
db_table?: string | null;
|
|
12033
|
+
decision?: string | null;
|
|
12034
|
+
duration_ms?: number | null;
|
|
12035
|
+
error?: string | null;
|
|
12036
|
+
error_class?: string | null;
|
|
12037
|
+
external_action?: string | null;
|
|
12038
|
+
external_ref?: string | null;
|
|
12039
|
+
external_response?: Json | null;
|
|
12040
|
+
external_status?: string | null;
|
|
12041
|
+
external_system?: string | null;
|
|
12042
|
+
id?: string;
|
|
12043
|
+
input?: Json | null;
|
|
12044
|
+
next_attempt_at?: string | null;
|
|
12045
|
+
next_step?: string | null;
|
|
12046
|
+
node_id?: string | null;
|
|
12047
|
+
order_ref?: string | null;
|
|
12048
|
+
order_source?: string | null;
|
|
12049
|
+
output?: Json | null;
|
|
12050
|
+
phase?: string;
|
|
12051
|
+
reads?: Json | null;
|
|
12052
|
+
reason?: string | null;
|
|
12053
|
+
rule?: string | null;
|
|
12054
|
+
slip_ref?: string | null;
|
|
12055
|
+
status?: string;
|
|
12056
|
+
step?: string;
|
|
12057
|
+
trace_id?: string;
|
|
12058
|
+
values_used?: Json | null;
|
|
12059
|
+
};
|
|
12060
|
+
Relationships: [];
|
|
12061
|
+
};
|
|
11364
12062
|
logistics_variables: {
|
|
11365
12063
|
Row: {
|
|
11366
12064
|
created_at: string;
|
|
@@ -13825,6 +14523,7 @@ export type Database = {
|
|
|
13825
14523
|
customer_name: string;
|
|
13826
14524
|
deleted_at: string | null;
|
|
13827
14525
|
delivery_date: string | null;
|
|
14526
|
+
floriday_order_group_key: string | null;
|
|
13828
14527
|
floriday_sales_order_id: string | null;
|
|
13829
14528
|
id: string;
|
|
13830
14529
|
invoice_due_at: string | null;
|
|
@@ -13852,6 +14551,7 @@ export type Database = {
|
|
|
13852
14551
|
customer_name?: string;
|
|
13853
14552
|
deleted_at?: string | null;
|
|
13854
14553
|
delivery_date?: string | null;
|
|
14554
|
+
floriday_order_group_key?: string | null;
|
|
13855
14555
|
floriday_sales_order_id?: string | null;
|
|
13856
14556
|
id?: string;
|
|
13857
14557
|
invoice_due_at?: string | null;
|
|
@@ -13879,6 +14579,7 @@ export type Database = {
|
|
|
13879
14579
|
customer_name?: string;
|
|
13880
14580
|
deleted_at?: string | null;
|
|
13881
14581
|
delivery_date?: string | null;
|
|
14582
|
+
floriday_order_group_key?: string | null;
|
|
13882
14583
|
floriday_sales_order_id?: string | null;
|
|
13883
14584
|
id?: string;
|
|
13884
14585
|
invoice_due_at?: string | null;
|
|
@@ -15223,69 +15924,191 @@ export type Database = {
|
|
|
15223
15924
|
}
|
|
15224
15925
|
];
|
|
15225
15926
|
};
|
|
15226
|
-
|
|
15927
|
+
price_list_rows: {
|
|
15227
15928
|
Row: {
|
|
15228
|
-
|
|
15929
|
+
action: string;
|
|
15229
15930
|
created_at: string;
|
|
15230
|
-
gemelde_printers: Json;
|
|
15231
15931
|
id: string;
|
|
15232
|
-
|
|
15233
|
-
|
|
15234
|
-
|
|
15235
|
-
|
|
15236
|
-
|
|
15237
|
-
|
|
15238
|
-
token_hash: string;
|
|
15239
|
-
updated_at: string;
|
|
15240
|
-
versie: string;
|
|
15932
|
+
message: string | null;
|
|
15933
|
+
parsed: Json;
|
|
15934
|
+
price_list_id: string;
|
|
15935
|
+
raw: Json;
|
|
15936
|
+
row_number: number;
|
|
15937
|
+
supplier_product_id: string | null;
|
|
15241
15938
|
};
|
|
15242
15939
|
Insert: {
|
|
15243
|
-
|
|
15940
|
+
action?: string;
|
|
15244
15941
|
created_at?: string;
|
|
15245
|
-
gemelde_printers?: Json;
|
|
15246
15942
|
id?: string;
|
|
15247
|
-
|
|
15248
|
-
|
|
15249
|
-
|
|
15250
|
-
|
|
15251
|
-
|
|
15252
|
-
|
|
15253
|
-
token_hash: string;
|
|
15254
|
-
updated_at?: string;
|
|
15255
|
-
versie?: string;
|
|
15943
|
+
message?: string | null;
|
|
15944
|
+
parsed?: Json;
|
|
15945
|
+
price_list_id: string;
|
|
15946
|
+
raw?: Json;
|
|
15947
|
+
row_number: number;
|
|
15948
|
+
supplier_product_id?: string | null;
|
|
15256
15949
|
};
|
|
15257
15950
|
Update: {
|
|
15258
|
-
|
|
15951
|
+
action?: string;
|
|
15259
15952
|
created_at?: string;
|
|
15260
|
-
gemelde_printers?: Json;
|
|
15261
15953
|
id?: string;
|
|
15262
|
-
|
|
15263
|
-
|
|
15264
|
-
|
|
15265
|
-
|
|
15266
|
-
|
|
15267
|
-
|
|
15268
|
-
token_hash?: string;
|
|
15269
|
-
updated_at?: string;
|
|
15270
|
-
versie?: string;
|
|
15954
|
+
message?: string | null;
|
|
15955
|
+
parsed?: Json;
|
|
15956
|
+
price_list_id?: string;
|
|
15957
|
+
raw?: Json;
|
|
15958
|
+
row_number?: number;
|
|
15959
|
+
supplier_product_id?: string | null;
|
|
15271
15960
|
};
|
|
15272
|
-
Relationships: [
|
|
15961
|
+
Relationships: [
|
|
15962
|
+
{
|
|
15963
|
+
foreignKeyName: "price_list_rows_price_list_id_fkey";
|
|
15964
|
+
columns: ["price_list_id"];
|
|
15965
|
+
isOneToOne: false;
|
|
15966
|
+
referencedRelation: "price_lists";
|
|
15967
|
+
referencedColumns: ["id"];
|
|
15968
|
+
},
|
|
15969
|
+
{
|
|
15970
|
+
foreignKeyName: "price_list_rows_supplier_product_id_fkey";
|
|
15971
|
+
columns: ["supplier_product_id"];
|
|
15972
|
+
isOneToOne: false;
|
|
15973
|
+
referencedRelation: "supplier_products";
|
|
15974
|
+
referencedColumns: ["id"];
|
|
15975
|
+
}
|
|
15976
|
+
];
|
|
15273
15977
|
};
|
|
15274
|
-
|
|
15978
|
+
price_lists: {
|
|
15275
15979
|
Row: {
|
|
15276
|
-
bestaande_job_id: string | null;
|
|
15277
15980
|
created_at: string;
|
|
15278
|
-
|
|
15279
|
-
|
|
15280
|
-
|
|
15981
|
+
created_by: string | null;
|
|
15982
|
+
file_hash: string | null;
|
|
15983
|
+
file_name: string;
|
|
15984
|
+
file_path: string | null;
|
|
15985
|
+
headers: string[];
|
|
15281
15986
|
id: string;
|
|
15282
|
-
|
|
15283
|
-
|
|
15284
|
-
|
|
15285
|
-
|
|
15286
|
-
|
|
15287
|
-
|
|
15288
|
-
|
|
15987
|
+
preview: Json;
|
|
15988
|
+
processed_at: string | null;
|
|
15989
|
+
reason: string | null;
|
|
15990
|
+
row_count: number;
|
|
15991
|
+
sheet_name: string | null;
|
|
15992
|
+
source: string;
|
|
15993
|
+
stats: Json;
|
|
15994
|
+
status: string;
|
|
15995
|
+
supplier_guess: string | null;
|
|
15996
|
+
supplier_id: string | null;
|
|
15997
|
+
updated_at: string;
|
|
15998
|
+
};
|
|
15999
|
+
Insert: {
|
|
16000
|
+
created_at?: string;
|
|
16001
|
+
created_by?: string | null;
|
|
16002
|
+
file_hash?: string | null;
|
|
16003
|
+
file_name: string;
|
|
16004
|
+
file_path?: string | null;
|
|
16005
|
+
headers?: string[];
|
|
16006
|
+
id?: string;
|
|
16007
|
+
preview?: Json;
|
|
16008
|
+
processed_at?: string | null;
|
|
16009
|
+
reason?: string | null;
|
|
16010
|
+
row_count?: number;
|
|
16011
|
+
sheet_name?: string | null;
|
|
16012
|
+
source?: string;
|
|
16013
|
+
stats?: Json;
|
|
16014
|
+
status?: string;
|
|
16015
|
+
supplier_guess?: string | null;
|
|
16016
|
+
supplier_id?: string | null;
|
|
16017
|
+
updated_at?: string;
|
|
16018
|
+
};
|
|
16019
|
+
Update: {
|
|
16020
|
+
created_at?: string;
|
|
16021
|
+
created_by?: string | null;
|
|
16022
|
+
file_hash?: string | null;
|
|
16023
|
+
file_name?: string;
|
|
16024
|
+
file_path?: string | null;
|
|
16025
|
+
headers?: string[];
|
|
16026
|
+
id?: string;
|
|
16027
|
+
preview?: Json;
|
|
16028
|
+
processed_at?: string | null;
|
|
16029
|
+
reason?: string | null;
|
|
16030
|
+
row_count?: number;
|
|
16031
|
+
sheet_name?: string | null;
|
|
16032
|
+
source?: string;
|
|
16033
|
+
stats?: Json;
|
|
16034
|
+
status?: string;
|
|
16035
|
+
supplier_guess?: string | null;
|
|
16036
|
+
supplier_id?: string | null;
|
|
16037
|
+
updated_at?: string;
|
|
16038
|
+
};
|
|
16039
|
+
Relationships: [
|
|
16040
|
+
{
|
|
16041
|
+
foreignKeyName: "price_lists_supplier_id_fkey";
|
|
16042
|
+
columns: ["supplier_id"];
|
|
16043
|
+
isOneToOne: false;
|
|
16044
|
+
referencedRelation: "suppliers";
|
|
16045
|
+
referencedColumns: ["id"];
|
|
16046
|
+
}
|
|
16047
|
+
];
|
|
16048
|
+
};
|
|
16049
|
+
print_agents: {
|
|
16050
|
+
Row: {
|
|
16051
|
+
actief: boolean;
|
|
16052
|
+
created_at: string;
|
|
16053
|
+
gemelde_printers: Json;
|
|
16054
|
+
id: string;
|
|
16055
|
+
laatst_gezien: string | null;
|
|
16056
|
+
locatie: string;
|
|
16057
|
+
naam: string;
|
|
16058
|
+
pairing_code_hash: string | null;
|
|
16059
|
+
pairing_expires_at: string | null;
|
|
16060
|
+
pairing_used_at: string | null;
|
|
16061
|
+
token_hash: string;
|
|
16062
|
+
updated_at: string;
|
|
16063
|
+
versie: string;
|
|
16064
|
+
};
|
|
16065
|
+
Insert: {
|
|
16066
|
+
actief?: boolean;
|
|
16067
|
+
created_at?: string;
|
|
16068
|
+
gemelde_printers?: Json;
|
|
16069
|
+
id?: string;
|
|
16070
|
+
laatst_gezien?: string | null;
|
|
16071
|
+
locatie?: string;
|
|
16072
|
+
naam: string;
|
|
16073
|
+
pairing_code_hash?: string | null;
|
|
16074
|
+
pairing_expires_at?: string | null;
|
|
16075
|
+
pairing_used_at?: string | null;
|
|
16076
|
+
token_hash: string;
|
|
16077
|
+
updated_at?: string;
|
|
16078
|
+
versie?: string;
|
|
16079
|
+
};
|
|
16080
|
+
Update: {
|
|
16081
|
+
actief?: boolean;
|
|
16082
|
+
created_at?: string;
|
|
16083
|
+
gemelde_printers?: Json;
|
|
16084
|
+
id?: string;
|
|
16085
|
+
laatst_gezien?: string | null;
|
|
16086
|
+
locatie?: string;
|
|
16087
|
+
naam?: string;
|
|
16088
|
+
pairing_code_hash?: string | null;
|
|
16089
|
+
pairing_expires_at?: string | null;
|
|
16090
|
+
pairing_used_at?: string | null;
|
|
16091
|
+
token_hash?: string;
|
|
16092
|
+
updated_at?: string;
|
|
16093
|
+
versie?: string;
|
|
16094
|
+
};
|
|
16095
|
+
Relationships: [];
|
|
16096
|
+
};
|
|
16097
|
+
print_dedupe_events: {
|
|
16098
|
+
Row: {
|
|
16099
|
+
bestaande_job_id: string | null;
|
|
16100
|
+
created_at: string;
|
|
16101
|
+
detail: string | null;
|
|
16102
|
+
documentnaam: string | null;
|
|
16103
|
+
documenttype: string | null;
|
|
16104
|
+
id: string;
|
|
16105
|
+
idempotentie_sleutel: string;
|
|
16106
|
+
reden: string;
|
|
16107
|
+
};
|
|
16108
|
+
Insert: {
|
|
16109
|
+
bestaande_job_id?: string | null;
|
|
16110
|
+
created_at?: string;
|
|
16111
|
+
detail?: string | null;
|
|
15289
16112
|
documentnaam?: string | null;
|
|
15290
16113
|
documenttype?: string | null;
|
|
15291
16114
|
id?: string;
|
|
@@ -16837,30 +17660,111 @@ export type Database = {
|
|
|
16837
17660
|
}
|
|
16838
17661
|
];
|
|
16839
17662
|
};
|
|
17663
|
+
purchase_order_dispatches: {
|
|
17664
|
+
Row: {
|
|
17665
|
+
created_at: string;
|
|
17666
|
+
id: string;
|
|
17667
|
+
last_error: string | null;
|
|
17668
|
+
outbox_id: string | null;
|
|
17669
|
+
purchase_order_id: string;
|
|
17670
|
+
status: string;
|
|
17671
|
+
supplier_id: string | null;
|
|
17672
|
+
supplier_name: string;
|
|
17673
|
+
to_address: string;
|
|
17674
|
+
updated_at: string;
|
|
17675
|
+
};
|
|
17676
|
+
Insert: {
|
|
17677
|
+
created_at?: string;
|
|
17678
|
+
id?: string;
|
|
17679
|
+
last_error?: string | null;
|
|
17680
|
+
outbox_id?: string | null;
|
|
17681
|
+
purchase_order_id: string;
|
|
17682
|
+
status?: string;
|
|
17683
|
+
supplier_id?: string | null;
|
|
17684
|
+
supplier_name?: string;
|
|
17685
|
+
to_address: string;
|
|
17686
|
+
updated_at?: string;
|
|
17687
|
+
};
|
|
17688
|
+
Update: {
|
|
17689
|
+
created_at?: string;
|
|
17690
|
+
id?: string;
|
|
17691
|
+
last_error?: string | null;
|
|
17692
|
+
outbox_id?: string | null;
|
|
17693
|
+
purchase_order_id?: string;
|
|
17694
|
+
status?: string;
|
|
17695
|
+
supplier_id?: string | null;
|
|
17696
|
+
supplier_name?: string;
|
|
17697
|
+
to_address?: string;
|
|
17698
|
+
updated_at?: string;
|
|
17699
|
+
};
|
|
17700
|
+
Relationships: [
|
|
17701
|
+
{
|
|
17702
|
+
foreignKeyName: "purchase_order_dispatches_purchase_order_id_fkey";
|
|
17703
|
+
columns: ["purchase_order_id"];
|
|
17704
|
+
isOneToOne: false;
|
|
17705
|
+
referencedRelation: "purchase_orders";
|
|
17706
|
+
referencedColumns: ["id"];
|
|
17707
|
+
},
|
|
17708
|
+
{
|
|
17709
|
+
foreignKeyName: "purchase_order_dispatches_supplier_id_fkey";
|
|
17710
|
+
columns: ["supplier_id"];
|
|
17711
|
+
isOneToOne: false;
|
|
17712
|
+
referencedRelation: "suppliers";
|
|
17713
|
+
referencedColumns: ["id"];
|
|
17714
|
+
}
|
|
17715
|
+
];
|
|
17716
|
+
};
|
|
16840
17717
|
purchase_order_items: {
|
|
16841
17718
|
Row: {
|
|
17719
|
+
article_number: string | null;
|
|
16842
17720
|
created_at: string;
|
|
17721
|
+
delivery_date: string | null;
|
|
16843
17722
|
id: string;
|
|
17723
|
+
name: string;
|
|
17724
|
+
note: string | null;
|
|
17725
|
+
pot_size: string | null;
|
|
16844
17726
|
product_id: string | null;
|
|
16845
17727
|
product_type: string;
|
|
16846
17728
|
purchase_order_id: string;
|
|
16847
17729
|
quantity: number;
|
|
17730
|
+
supplier_id: string | null;
|
|
17731
|
+
supplier_product_id: string | null;
|
|
17732
|
+
unit_price_cents: number;
|
|
17733
|
+
updated_at: string;
|
|
16848
17734
|
};
|
|
16849
17735
|
Insert: {
|
|
17736
|
+
article_number?: string | null;
|
|
16850
17737
|
created_at?: string;
|
|
17738
|
+
delivery_date?: string | null;
|
|
16851
17739
|
id?: string;
|
|
17740
|
+
name?: string;
|
|
17741
|
+
note?: string | null;
|
|
17742
|
+
pot_size?: string | null;
|
|
16852
17743
|
product_id?: string | null;
|
|
16853
17744
|
product_type?: string;
|
|
16854
17745
|
purchase_order_id: string;
|
|
16855
17746
|
quantity?: number;
|
|
17747
|
+
supplier_id?: string | null;
|
|
17748
|
+
supplier_product_id?: string | null;
|
|
17749
|
+
unit_price_cents?: number;
|
|
17750
|
+
updated_at?: string;
|
|
16856
17751
|
};
|
|
16857
17752
|
Update: {
|
|
17753
|
+
article_number?: string | null;
|
|
16858
17754
|
created_at?: string;
|
|
17755
|
+
delivery_date?: string | null;
|
|
16859
17756
|
id?: string;
|
|
17757
|
+
name?: string;
|
|
17758
|
+
note?: string | null;
|
|
17759
|
+
pot_size?: string | null;
|
|
16860
17760
|
product_id?: string | null;
|
|
16861
17761
|
product_type?: string;
|
|
16862
17762
|
purchase_order_id?: string;
|
|
16863
17763
|
quantity?: number;
|
|
17764
|
+
supplier_id?: string | null;
|
|
17765
|
+
supplier_product_id?: string | null;
|
|
17766
|
+
unit_price_cents?: number;
|
|
17767
|
+
updated_at?: string;
|
|
16864
17768
|
};
|
|
16865
17769
|
Relationships: [
|
|
16866
17770
|
{
|
|
@@ -16883,44 +17787,73 @@ export type Database = {
|
|
|
16883
17787
|
isOneToOne: false;
|
|
16884
17788
|
referencedRelation: "purchase_orders";
|
|
16885
17789
|
referencedColumns: ["id"];
|
|
17790
|
+
},
|
|
17791
|
+
{
|
|
17792
|
+
foreignKeyName: "purchase_order_items_supplier_id_fkey";
|
|
17793
|
+
columns: ["supplier_id"];
|
|
17794
|
+
isOneToOne: false;
|
|
17795
|
+
referencedRelation: "suppliers";
|
|
17796
|
+
referencedColumns: ["id"];
|
|
17797
|
+
},
|
|
17798
|
+
{
|
|
17799
|
+
foreignKeyName: "purchase_order_items_supplier_product_id_fkey";
|
|
17800
|
+
columns: ["supplier_product_id"];
|
|
17801
|
+
isOneToOne: false;
|
|
17802
|
+
referencedRelation: "supplier_products";
|
|
17803
|
+
referencedColumns: ["id"];
|
|
16886
17804
|
}
|
|
16887
17805
|
];
|
|
16888
17806
|
};
|
|
16889
17807
|
purchase_orders: {
|
|
16890
17808
|
Row: {
|
|
17809
|
+
contact_person: string | null;
|
|
16891
17810
|
created_at: string;
|
|
17811
|
+
created_by: string | null;
|
|
16892
17812
|
expected_delivery_date: string;
|
|
16893
17813
|
id: string;
|
|
16894
17814
|
location_id: string | null;
|
|
16895
17815
|
notes: string | null;
|
|
16896
17816
|
order_number: string;
|
|
17817
|
+
reference: string | null;
|
|
17818
|
+
sent_at: string | null;
|
|
16897
17819
|
status: string;
|
|
16898
17820
|
supplier_id: string | null;
|
|
16899
17821
|
supplier_name: string;
|
|
17822
|
+
total_cents: number;
|
|
16900
17823
|
updated_at: string;
|
|
16901
17824
|
};
|
|
16902
17825
|
Insert: {
|
|
17826
|
+
contact_person?: string | null;
|
|
16903
17827
|
created_at?: string;
|
|
16904
|
-
|
|
17828
|
+
created_by?: string | null;
|
|
17829
|
+
expected_delivery_date?: string;
|
|
16905
17830
|
id?: string;
|
|
16906
17831
|
location_id?: string | null;
|
|
16907
17832
|
notes?: string | null;
|
|
16908
|
-
order_number
|
|
17833
|
+
order_number?: string;
|
|
17834
|
+
reference?: string | null;
|
|
17835
|
+
sent_at?: string | null;
|
|
16909
17836
|
status?: string;
|
|
16910
17837
|
supplier_id?: string | null;
|
|
16911
17838
|
supplier_name?: string;
|
|
17839
|
+
total_cents?: number;
|
|
16912
17840
|
updated_at?: string;
|
|
16913
17841
|
};
|
|
16914
17842
|
Update: {
|
|
17843
|
+
contact_person?: string | null;
|
|
16915
17844
|
created_at?: string;
|
|
17845
|
+
created_by?: string | null;
|
|
16916
17846
|
expected_delivery_date?: string;
|
|
16917
17847
|
id?: string;
|
|
16918
17848
|
location_id?: string | null;
|
|
16919
17849
|
notes?: string | null;
|
|
16920
17850
|
order_number?: string;
|
|
17851
|
+
reference?: string | null;
|
|
17852
|
+
sent_at?: string | null;
|
|
16921
17853
|
status?: string;
|
|
16922
17854
|
supplier_id?: string | null;
|
|
16923
17855
|
supplier_name?: string;
|
|
17856
|
+
total_cents?: number;
|
|
16924
17857
|
updated_at?: string;
|
|
16925
17858
|
};
|
|
16926
17859
|
Relationships: [
|
|
@@ -17831,15 +18764,167 @@ export type Database = {
|
|
|
17831
18764
|
};
|
|
17832
18765
|
Relationships: [];
|
|
17833
18766
|
};
|
|
18767
|
+
supplier_contacts: {
|
|
18768
|
+
Row: {
|
|
18769
|
+
created_at: string;
|
|
18770
|
+
email: string | null;
|
|
18771
|
+
id: string;
|
|
18772
|
+
is_primary: boolean;
|
|
18773
|
+
name: string;
|
|
18774
|
+
phone: string | null;
|
|
18775
|
+
role: string | null;
|
|
18776
|
+
supplier_id: string;
|
|
18777
|
+
updated_at: string;
|
|
18778
|
+
};
|
|
18779
|
+
Insert: {
|
|
18780
|
+
created_at?: string;
|
|
18781
|
+
email?: string | null;
|
|
18782
|
+
id?: string;
|
|
18783
|
+
is_primary?: boolean;
|
|
18784
|
+
name: string;
|
|
18785
|
+
phone?: string | null;
|
|
18786
|
+
role?: string | null;
|
|
18787
|
+
supplier_id: string;
|
|
18788
|
+
updated_at?: string;
|
|
18789
|
+
};
|
|
18790
|
+
Update: {
|
|
18791
|
+
created_at?: string;
|
|
18792
|
+
email?: string | null;
|
|
18793
|
+
id?: string;
|
|
18794
|
+
is_primary?: boolean;
|
|
18795
|
+
name?: string;
|
|
18796
|
+
phone?: string | null;
|
|
18797
|
+
role?: string | null;
|
|
18798
|
+
supplier_id?: string;
|
|
18799
|
+
updated_at?: string;
|
|
18800
|
+
};
|
|
18801
|
+
Relationships: [
|
|
18802
|
+
{
|
|
18803
|
+
foreignKeyName: "supplier_contacts_supplier_id_fkey";
|
|
18804
|
+
columns: ["supplier_id"];
|
|
18805
|
+
isOneToOne: false;
|
|
18806
|
+
referencedRelation: "suppliers";
|
|
18807
|
+
referencedColumns: ["id"];
|
|
18808
|
+
}
|
|
18809
|
+
];
|
|
18810
|
+
};
|
|
18811
|
+
supplier_price_history: {
|
|
18812
|
+
Row: {
|
|
18813
|
+
created_at: string;
|
|
18814
|
+
id: string;
|
|
18815
|
+
new_price_cents: number;
|
|
18816
|
+
old_price_cents: number | null;
|
|
18817
|
+
price_list_id: string | null;
|
|
18818
|
+
supplier_id: string | null;
|
|
18819
|
+
supplier_product_id: string;
|
|
18820
|
+
};
|
|
18821
|
+
Insert: {
|
|
18822
|
+
created_at?: string;
|
|
18823
|
+
id?: string;
|
|
18824
|
+
new_price_cents: number;
|
|
18825
|
+
old_price_cents?: number | null;
|
|
18826
|
+
price_list_id?: string | null;
|
|
18827
|
+
supplier_id?: string | null;
|
|
18828
|
+
supplier_product_id: string;
|
|
18829
|
+
};
|
|
18830
|
+
Update: {
|
|
18831
|
+
created_at?: string;
|
|
18832
|
+
id?: string;
|
|
18833
|
+
new_price_cents?: number;
|
|
18834
|
+
old_price_cents?: number | null;
|
|
18835
|
+
price_list_id?: string | null;
|
|
18836
|
+
supplier_id?: string | null;
|
|
18837
|
+
supplier_product_id?: string;
|
|
18838
|
+
};
|
|
18839
|
+
Relationships: [
|
|
18840
|
+
{
|
|
18841
|
+
foreignKeyName: "supplier_price_history_price_list_id_fkey";
|
|
18842
|
+
columns: ["price_list_id"];
|
|
18843
|
+
isOneToOne: false;
|
|
18844
|
+
referencedRelation: "price_lists";
|
|
18845
|
+
referencedColumns: ["id"];
|
|
18846
|
+
},
|
|
18847
|
+
{
|
|
18848
|
+
foreignKeyName: "supplier_price_history_supplier_product_id_fkey";
|
|
18849
|
+
columns: ["supplier_product_id"];
|
|
18850
|
+
isOneToOne: false;
|
|
18851
|
+
referencedRelation: "supplier_products";
|
|
18852
|
+
referencedColumns: ["id"];
|
|
18853
|
+
}
|
|
18854
|
+
];
|
|
18855
|
+
};
|
|
18856
|
+
supplier_price_list_mappings: {
|
|
18857
|
+
Row: {
|
|
18858
|
+
column_map: Json;
|
|
18859
|
+
created_at: string;
|
|
18860
|
+
deactivate_missing: boolean;
|
|
18861
|
+
decimal_separator: string;
|
|
18862
|
+
expected_headers: string[];
|
|
18863
|
+
extract_pot_from_name: boolean;
|
|
18864
|
+
header_row: number;
|
|
18865
|
+
id: string;
|
|
18866
|
+
max_error_ratio: number;
|
|
18867
|
+
price_is_cents: boolean;
|
|
18868
|
+
sheet_name: string | null;
|
|
18869
|
+
supplier_id: string;
|
|
18870
|
+
updated_at: string;
|
|
18871
|
+
};
|
|
18872
|
+
Insert: {
|
|
18873
|
+
column_map?: Json;
|
|
18874
|
+
created_at?: string;
|
|
18875
|
+
deactivate_missing?: boolean;
|
|
18876
|
+
decimal_separator?: string;
|
|
18877
|
+
expected_headers?: string[];
|
|
18878
|
+
extract_pot_from_name?: boolean;
|
|
18879
|
+
header_row?: number;
|
|
18880
|
+
id?: string;
|
|
18881
|
+
max_error_ratio?: number;
|
|
18882
|
+
price_is_cents?: boolean;
|
|
18883
|
+
sheet_name?: string | null;
|
|
18884
|
+
supplier_id: string;
|
|
18885
|
+
updated_at?: string;
|
|
18886
|
+
};
|
|
18887
|
+
Update: {
|
|
18888
|
+
column_map?: Json;
|
|
18889
|
+
created_at?: string;
|
|
18890
|
+
deactivate_missing?: boolean;
|
|
18891
|
+
decimal_separator?: string;
|
|
18892
|
+
expected_headers?: string[];
|
|
18893
|
+
extract_pot_from_name?: boolean;
|
|
18894
|
+
header_row?: number;
|
|
18895
|
+
id?: string;
|
|
18896
|
+
max_error_ratio?: number;
|
|
18897
|
+
price_is_cents?: boolean;
|
|
18898
|
+
sheet_name?: string | null;
|
|
18899
|
+
supplier_id?: string;
|
|
18900
|
+
updated_at?: string;
|
|
18901
|
+
};
|
|
18902
|
+
Relationships: [
|
|
18903
|
+
{
|
|
18904
|
+
foreignKeyName: "supplier_price_list_mappings_supplier_id_fkey";
|
|
18905
|
+
columns: ["supplier_id"];
|
|
18906
|
+
isOneToOne: true;
|
|
18907
|
+
referencedRelation: "suppliers";
|
|
18908
|
+
referencedColumns: ["id"];
|
|
18909
|
+
}
|
|
18910
|
+
];
|
|
18911
|
+
};
|
|
17834
18912
|
supplier_products: {
|
|
17835
18913
|
Row: {
|
|
17836
18914
|
article_number: string | null;
|
|
18915
|
+
available_quantity: number;
|
|
17837
18916
|
created_at: string;
|
|
18917
|
+
height: string | null;
|
|
17838
18918
|
id: string;
|
|
18919
|
+
is_active: boolean;
|
|
18920
|
+
min_order: number;
|
|
17839
18921
|
name: string;
|
|
17840
18922
|
notes: string | null;
|
|
18923
|
+
order_unit: number;
|
|
17841
18924
|
pot_size: string | null;
|
|
17842
18925
|
price: number | null;
|
|
18926
|
+
price_cents: number;
|
|
18927
|
+
quality: string | null;
|
|
17843
18928
|
quantity: number | null;
|
|
17844
18929
|
supplier_id: string;
|
|
17845
18930
|
unit: string;
|
|
@@ -17847,12 +18932,19 @@ export type Database = {
|
|
|
17847
18932
|
};
|
|
17848
18933
|
Insert: {
|
|
17849
18934
|
article_number?: string | null;
|
|
18935
|
+
available_quantity?: number;
|
|
17850
18936
|
created_at?: string;
|
|
18937
|
+
height?: string | null;
|
|
17851
18938
|
id?: string;
|
|
18939
|
+
is_active?: boolean;
|
|
18940
|
+
min_order?: number;
|
|
17852
18941
|
name: string;
|
|
17853
18942
|
notes?: string | null;
|
|
18943
|
+
order_unit?: number;
|
|
17854
18944
|
pot_size?: string | null;
|
|
17855
18945
|
price?: number | null;
|
|
18946
|
+
price_cents?: number;
|
|
18947
|
+
quality?: string | null;
|
|
17856
18948
|
quantity?: number | null;
|
|
17857
18949
|
supplier_id: string;
|
|
17858
18950
|
unit?: string;
|
|
@@ -17860,12 +18952,19 @@ export type Database = {
|
|
|
17860
18952
|
};
|
|
17861
18953
|
Update: {
|
|
17862
18954
|
article_number?: string | null;
|
|
18955
|
+
available_quantity?: number;
|
|
17863
18956
|
created_at?: string;
|
|
18957
|
+
height?: string | null;
|
|
17864
18958
|
id?: string;
|
|
18959
|
+
is_active?: boolean;
|
|
18960
|
+
min_order?: number;
|
|
17865
18961
|
name?: string;
|
|
17866
18962
|
notes?: string | null;
|
|
18963
|
+
order_unit?: number;
|
|
17867
18964
|
pot_size?: string | null;
|
|
17868
18965
|
price?: number | null;
|
|
18966
|
+
price_cents?: number;
|
|
18967
|
+
quality?: string | null;
|
|
17869
18968
|
quantity?: number | null;
|
|
17870
18969
|
supplier_id?: string;
|
|
17871
18970
|
unit?: string;
|
|
@@ -17884,6 +18983,7 @@ export type Database = {
|
|
|
17884
18983
|
suppliers: {
|
|
17885
18984
|
Row: {
|
|
17886
18985
|
address: string | null;
|
|
18986
|
+
category: string | null;
|
|
17887
18987
|
column_mappings: Json | null;
|
|
17888
18988
|
contact_person: string | null;
|
|
17889
18989
|
created_at: string;
|
|
@@ -17891,13 +18991,24 @@ export type Database = {
|
|
|
17891
18991
|
email: string | null;
|
|
17892
18992
|
id: string;
|
|
17893
18993
|
imported_file_name: string | null;
|
|
18994
|
+
is_preferred: boolean;
|
|
18995
|
+
kvk_number: string | null;
|
|
18996
|
+
lead_time_days: number | null;
|
|
18997
|
+
min_order_amount_cents: number;
|
|
17894
18998
|
name: string;
|
|
17895
18999
|
notes: string | null;
|
|
19000
|
+
order_days: string[];
|
|
19001
|
+
order_email: string | null;
|
|
19002
|
+
payment_terms_days: number | null;
|
|
17896
19003
|
phone: string | null;
|
|
19004
|
+
status: string;
|
|
17897
19005
|
updated_at: string;
|
|
19006
|
+
vat_number: string | null;
|
|
19007
|
+
website: string | null;
|
|
17898
19008
|
};
|
|
17899
19009
|
Insert: {
|
|
17900
19010
|
address?: string | null;
|
|
19011
|
+
category?: string | null;
|
|
17901
19012
|
column_mappings?: Json | null;
|
|
17902
19013
|
contact_person?: string | null;
|
|
17903
19014
|
created_at?: string;
|
|
@@ -17905,13 +19016,24 @@ export type Database = {
|
|
|
17905
19016
|
email?: string | null;
|
|
17906
19017
|
id?: string;
|
|
17907
19018
|
imported_file_name?: string | null;
|
|
19019
|
+
is_preferred?: boolean;
|
|
19020
|
+
kvk_number?: string | null;
|
|
19021
|
+
lead_time_days?: number | null;
|
|
19022
|
+
min_order_amount_cents?: number;
|
|
17908
19023
|
name: string;
|
|
17909
19024
|
notes?: string | null;
|
|
19025
|
+
order_days?: string[];
|
|
19026
|
+
order_email?: string | null;
|
|
19027
|
+
payment_terms_days?: number | null;
|
|
17910
19028
|
phone?: string | null;
|
|
19029
|
+
status?: string;
|
|
17911
19030
|
updated_at?: string;
|
|
19031
|
+
vat_number?: string | null;
|
|
19032
|
+
website?: string | null;
|
|
17912
19033
|
};
|
|
17913
19034
|
Update: {
|
|
17914
19035
|
address?: string | null;
|
|
19036
|
+
category?: string | null;
|
|
17915
19037
|
column_mappings?: Json | null;
|
|
17916
19038
|
contact_person?: string | null;
|
|
17917
19039
|
created_at?: string;
|
|
@@ -17919,10 +19041,20 @@ export type Database = {
|
|
|
17919
19041
|
email?: string | null;
|
|
17920
19042
|
id?: string;
|
|
17921
19043
|
imported_file_name?: string | null;
|
|
19044
|
+
is_preferred?: boolean;
|
|
19045
|
+
kvk_number?: string | null;
|
|
19046
|
+
lead_time_days?: number | null;
|
|
19047
|
+
min_order_amount_cents?: number;
|
|
17922
19048
|
name?: string;
|
|
17923
19049
|
notes?: string | null;
|
|
19050
|
+
order_days?: string[];
|
|
19051
|
+
order_email?: string | null;
|
|
19052
|
+
payment_terms_days?: number | null;
|
|
17924
19053
|
phone?: string | null;
|
|
19054
|
+
status?: string;
|
|
17925
19055
|
updated_at?: string;
|
|
19056
|
+
vat_number?: string | null;
|
|
19057
|
+
website?: string | null;
|
|
17926
19058
|
};
|
|
17927
19059
|
Relationships: [];
|
|
17928
19060
|
};
|
|
@@ -18944,11 +20076,13 @@ export type Database = {
|
|
|
18944
20076
|
auto_invoice_trigger_statuses: string[];
|
|
18945
20077
|
created_at: string;
|
|
18946
20078
|
debtor_gl_account: string;
|
|
20079
|
+
default_article_code: string | null;
|
|
18947
20080
|
default_credit_invoice_type: string | null;
|
|
18948
20081
|
default_gl_account: string;
|
|
18949
20082
|
default_invoice_type: string;
|
|
18950
20083
|
default_payment_term_days: number;
|
|
18951
20084
|
default_vat_code: string;
|
|
20085
|
+
email_purpose: string | null;
|
|
18952
20086
|
home_country_code: string;
|
|
18953
20087
|
invoice_enabled_ao: boolean;
|
|
18954
20088
|
invoice_enabled_fo: boolean;
|
|
@@ -18970,11 +20104,13 @@ export type Database = {
|
|
|
18970
20104
|
auto_invoice_trigger_statuses?: string[];
|
|
18971
20105
|
created_at?: string;
|
|
18972
20106
|
debtor_gl_account?: string;
|
|
20107
|
+
default_article_code?: string | null;
|
|
18973
20108
|
default_credit_invoice_type?: string | null;
|
|
18974
20109
|
default_gl_account?: string;
|
|
18975
20110
|
default_invoice_type?: string;
|
|
18976
20111
|
default_payment_term_days?: number;
|
|
18977
20112
|
default_vat_code?: string;
|
|
20113
|
+
email_purpose?: string | null;
|
|
18978
20114
|
home_country_code?: string;
|
|
18979
20115
|
invoice_enabled_ao?: boolean;
|
|
18980
20116
|
invoice_enabled_fo?: boolean;
|
|
@@ -18996,11 +20132,13 @@ export type Database = {
|
|
|
18996
20132
|
auto_invoice_trigger_statuses?: string[];
|
|
18997
20133
|
created_at?: string;
|
|
18998
20134
|
debtor_gl_account?: string;
|
|
20135
|
+
default_article_code?: string | null;
|
|
18999
20136
|
default_credit_invoice_type?: string | null;
|
|
19000
20137
|
default_gl_account?: string;
|
|
19001
20138
|
default_invoice_type?: string;
|
|
19002
20139
|
default_payment_term_days?: number;
|
|
19003
20140
|
default_vat_code?: string;
|
|
20141
|
+
email_purpose?: string | null;
|
|
19004
20142
|
home_country_code?: string;
|
|
19005
20143
|
invoice_enabled_ao?: boolean;
|
|
19006
20144
|
invoice_enabled_fo?: boolean;
|
|
@@ -22234,6 +23372,15 @@ export type Database = {
|
|
|
22234
23372
|
Args: never;
|
|
22235
23373
|
Returns: boolean;
|
|
22236
23374
|
};
|
|
23375
|
+
cancel_open_print_jobs: {
|
|
23376
|
+
Args: {
|
|
23377
|
+
_cutoff: string;
|
|
23378
|
+
};
|
|
23379
|
+
Returns: {
|
|
23380
|
+
extern_job_id: string;
|
|
23381
|
+
id: string;
|
|
23382
|
+
}[];
|
|
23383
|
+
};
|
|
22237
23384
|
check_offer_product_available_stock: {
|
|
22238
23385
|
Args: {
|
|
22239
23386
|
p_campaign_product_id: string;
|
|
@@ -23396,6 +24543,27 @@ export type Database = {
|
|
|
23396
24543
|
Args: never;
|
|
23397
24544
|
Returns: boolean;
|
|
23398
24545
|
};
|
|
24546
|
+
inkoop_apply_price_list: {
|
|
24547
|
+
Args: {
|
|
24548
|
+
_price_list_id: string;
|
|
24549
|
+
_rows: Json;
|
|
24550
|
+
};
|
|
24551
|
+
Returns: Json;
|
|
24552
|
+
};
|
|
24553
|
+
inkoop_next_order_number: {
|
|
24554
|
+
Args: never;
|
|
24555
|
+
Returns: string;
|
|
24556
|
+
};
|
|
24557
|
+
inkoop_send_order: {
|
|
24558
|
+
Args: {
|
|
24559
|
+
_order_id: string;
|
|
24560
|
+
};
|
|
24561
|
+
Returns: {
|
|
24562
|
+
outbox_id: string;
|
|
24563
|
+
supplier_name: string;
|
|
24564
|
+
to_address: string;
|
|
24565
|
+
}[];
|
|
24566
|
+
};
|
|
23399
24567
|
instructie_get: {
|
|
23400
24568
|
Args: {
|
|
23401
24569
|
_sleutel: string;
|
|
@@ -23772,6 +24940,12 @@ export type Database = {
|
|
|
23772
24940
|
};
|
|
23773
24941
|
Returns: string;
|
|
23774
24942
|
};
|
|
24943
|
+
logistics_cart_checkin_at: {
|
|
24944
|
+
Args: {
|
|
24945
|
+
p_cart_id: string;
|
|
24946
|
+
};
|
|
24947
|
+
Returns: string;
|
|
24948
|
+
};
|
|
23775
24949
|
logistics_cart_handled: {
|
|
23776
24950
|
Args: {
|
|
23777
24951
|
p_cart_index: number;
|
|
@@ -23805,10 +24979,22 @@ export type Database = {
|
|
|
23805
24979
|
task_status: string;
|
|
23806
24980
|
}[];
|
|
23807
24981
|
};
|
|
24982
|
+
logistics_cart_is_full: {
|
|
24983
|
+
Args: {
|
|
24984
|
+
p_cart_id: string;
|
|
24985
|
+
};
|
|
24986
|
+
Returns: boolean;
|
|
24987
|
+
};
|
|
23808
24988
|
logistics_cart_layout_method: {
|
|
23809
24989
|
Args: never;
|
|
23810
24990
|
Returns: Json;
|
|
23811
24991
|
};
|
|
24992
|
+
logistics_cart_order_refs: {
|
|
24993
|
+
Args: {
|
|
24994
|
+
p_cart_id: string;
|
|
24995
|
+
};
|
|
24996
|
+
Returns: string[];
|
|
24997
|
+
};
|
|
23812
24998
|
logistics_cart_plan_overview: {
|
|
23813
24999
|
Args: {
|
|
23814
25000
|
p_days?: number;
|
|
@@ -23828,6 +25014,24 @@ export type Database = {
|
|
|
23828
25014
|
};
|
|
23829
25015
|
Returns: Json;
|
|
23830
25016
|
};
|
|
25017
|
+
logistics_cart_plan_status_core: {
|
|
25018
|
+
Args: {
|
|
25019
|
+
p_ref: string;
|
|
25020
|
+
};
|
|
25021
|
+
Returns: Json;
|
|
25022
|
+
};
|
|
25023
|
+
logistics_cart_release_reason: {
|
|
25024
|
+
Args: {
|
|
25025
|
+
p_cart_id: string;
|
|
25026
|
+
};
|
|
25027
|
+
Returns: string;
|
|
25028
|
+
};
|
|
25029
|
+
logistics_cart_released: {
|
|
25030
|
+
Args: {
|
|
25031
|
+
p_cart_id: string;
|
|
25032
|
+
};
|
|
25033
|
+
Returns: boolean;
|
|
25034
|
+
};
|
|
23831
25035
|
logistics_cart_seq: {
|
|
23832
25036
|
Args: {
|
|
23833
25037
|
p_order_uuid?: string;
|
|
@@ -23878,6 +25082,10 @@ export type Database = {
|
|
|
23878
25082
|
unit_ref: string;
|
|
23879
25083
|
}[];
|
|
23880
25084
|
};
|
|
25085
|
+
logistics_carts_per_print: {
|
|
25086
|
+
Args: never;
|
|
25087
|
+
Returns: number;
|
|
25088
|
+
};
|
|
23881
25089
|
logistics_check_order_allowed: {
|
|
23882
25090
|
Args: {
|
|
23883
25091
|
p_lines: Json;
|
|
@@ -23981,6 +25189,10 @@ export type Database = {
|
|
|
23981
25189
|
isSetofReturn: false;
|
|
23982
25190
|
};
|
|
23983
25191
|
};
|
|
25192
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
25193
|
+
Args: never;
|
|
25194
|
+
Returns: Json;
|
|
25195
|
+
};
|
|
23984
25196
|
logistics_complete_task: {
|
|
23985
25197
|
Args: {
|
|
23986
25198
|
p_result?: Json;
|
|
@@ -24043,6 +25255,12 @@ export type Database = {
|
|
|
24043
25255
|
station_carts: number;
|
|
24044
25256
|
}[];
|
|
24045
25257
|
};
|
|
25258
|
+
logistics_control_complete_cart: {
|
|
25259
|
+
Args: {
|
|
25260
|
+
p_cart_id: string;
|
|
25261
|
+
};
|
|
25262
|
+
Returns: number;
|
|
25263
|
+
};
|
|
24046
25264
|
logistics_control_scan_approve: {
|
|
24047
25265
|
Args: {
|
|
24048
25266
|
p_allow_reprint?: boolean;
|
|
@@ -24122,6 +25340,15 @@ export type Database = {
|
|
|
24122
25340
|
Args: never;
|
|
24123
25341
|
Returns: Json;
|
|
24124
25342
|
};
|
|
25343
|
+
logistics_day_windows: {
|
|
25344
|
+
Args: {
|
|
25345
|
+
p_day: string;
|
|
25346
|
+
};
|
|
25347
|
+
Returns: {
|
|
25348
|
+
win_end: string;
|
|
25349
|
+
win_start: string;
|
|
25350
|
+
}[];
|
|
25351
|
+
};
|
|
24125
25352
|
logistics_delay_customer_email: {
|
|
24126
25353
|
Args: {
|
|
24127
25354
|
p_customer: string;
|
|
@@ -24189,6 +25416,17 @@ export type Database = {
|
|
|
24189
25416
|
};
|
|
24190
25417
|
Returns: Json;
|
|
24191
25418
|
};
|
|
25419
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
25420
|
+
Args: {
|
|
25421
|
+
_cart_id: string;
|
|
25422
|
+
_is_herprint: boolean;
|
|
25423
|
+
_printer_id: string;
|
|
25424
|
+
_queue_item_id: string;
|
|
25425
|
+
_session_id: string;
|
|
25426
|
+
_slip_job_id: string;
|
|
25427
|
+
};
|
|
25428
|
+
Returns: string;
|
|
25429
|
+
};
|
|
24192
25430
|
logistics_enqueue_sticker_with_slip: {
|
|
24193
25431
|
Args: {
|
|
24194
25432
|
_cart_id: string;
|
|
@@ -24206,6 +25444,20 @@ export type Database = {
|
|
|
24206
25444
|
};
|
|
24207
25445
|
Returns: string;
|
|
24208
25446
|
};
|
|
25447
|
+
logistics_ensure_pick_data: {
|
|
25448
|
+
Args: {
|
|
25449
|
+
p_event_id?: string;
|
|
25450
|
+
p_missing?: Json;
|
|
25451
|
+
p_ref: string;
|
|
25452
|
+
};
|
|
25453
|
+
Returns: Json;
|
|
25454
|
+
};
|
|
25455
|
+
logistics_ensure_shipping_notes: {
|
|
25456
|
+
Args: {
|
|
25457
|
+
p_limit?: number;
|
|
25458
|
+
};
|
|
25459
|
+
Returns: Json;
|
|
25460
|
+
};
|
|
24209
25461
|
logistics_fail_task: {
|
|
24210
25462
|
Args: {
|
|
24211
25463
|
p_error: string;
|
|
@@ -24251,6 +25503,10 @@ export type Database = {
|
|
|
24251
25503
|
isSetofReturn: false;
|
|
24252
25504
|
};
|
|
24253
25505
|
};
|
|
25506
|
+
logistics_fix_wrong_shipping_notes: {
|
|
25507
|
+
Args: never;
|
|
25508
|
+
Returns: Json;
|
|
25509
|
+
};
|
|
24254
25510
|
logistics_floriday_cart_plan: {
|
|
24255
25511
|
Args: {
|
|
24256
25512
|
p_order_id: string;
|
|
@@ -24278,6 +25534,10 @@ export type Database = {
|
|
|
24278
25534
|
revision: number;
|
|
24279
25535
|
}[];
|
|
24280
25536
|
};
|
|
25537
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
25538
|
+
Args: never;
|
|
25539
|
+
Returns: boolean;
|
|
25540
|
+
};
|
|
24281
25541
|
logistics_floriday_finish_push: {
|
|
24282
25542
|
Args: {
|
|
24283
25543
|
_error?: string;
|
|
@@ -24377,6 +25637,16 @@ export type Database = {
|
|
|
24377
25637
|
Args: never;
|
|
24378
25638
|
Returns: boolean;
|
|
24379
25639
|
};
|
|
25640
|
+
logistics_floriday_stock_updates_enabled: {
|
|
25641
|
+
Args: never;
|
|
25642
|
+
Returns: boolean;
|
|
25643
|
+
};
|
|
25644
|
+
logistics_floriday_write_allowed: {
|
|
25645
|
+
Args: {
|
|
25646
|
+
_action: string;
|
|
25647
|
+
};
|
|
25648
|
+
Returns: boolean;
|
|
25649
|
+
};
|
|
24380
25650
|
logistics_fulfill_barcode_requests: {
|
|
24381
25651
|
Args: {
|
|
24382
25652
|
p_limit?: number;
|
|
@@ -24419,6 +25689,22 @@ export type Database = {
|
|
|
24419
25689
|
};
|
|
24420
25690
|
Returns: number;
|
|
24421
25691
|
};
|
|
25692
|
+
logistics_merge_floriday_lines: {
|
|
25693
|
+
Args: {
|
|
25694
|
+
p_order_id: string;
|
|
25695
|
+
};
|
|
25696
|
+
Returns: string;
|
|
25697
|
+
};
|
|
25698
|
+
logistics_merge_lines_enabled: {
|
|
25699
|
+
Args: never;
|
|
25700
|
+
Returns: boolean;
|
|
25701
|
+
};
|
|
25702
|
+
logistics_merge_partial_carts: {
|
|
25703
|
+
Args: {
|
|
25704
|
+
p_limit?: number;
|
|
25705
|
+
};
|
|
25706
|
+
Returns: Json;
|
|
25707
|
+
};
|
|
24422
25708
|
logistics_next_workday_date: {
|
|
24423
25709
|
Args: {
|
|
24424
25710
|
p_date: string;
|
|
@@ -24445,6 +25731,10 @@ export type Database = {
|
|
|
24445
25731
|
};
|
|
24446
25732
|
Returns: string;
|
|
24447
25733
|
};
|
|
25734
|
+
logistics_opening_timezone: {
|
|
25735
|
+
Args: never;
|
|
25736
|
+
Returns: string;
|
|
25737
|
+
};
|
|
24448
25738
|
logistics_order_cart_count: {
|
|
24449
25739
|
Args: {
|
|
24450
25740
|
p_order_ref: string;
|
|
@@ -24464,6 +25754,18 @@ export type Database = {
|
|
|
24464
25754
|
};
|
|
24465
25755
|
Returns: boolean;
|
|
24466
25756
|
};
|
|
25757
|
+
logistics_order_merge_key: {
|
|
25758
|
+
Args: {
|
|
25759
|
+
p_group_key: string;
|
|
25760
|
+
};
|
|
25761
|
+
Returns: string;
|
|
25762
|
+
};
|
|
25763
|
+
logistics_order_mergeable: {
|
|
25764
|
+
Args: {
|
|
25765
|
+
p_order_id: string;
|
|
25766
|
+
};
|
|
25767
|
+
Returns: boolean;
|
|
25768
|
+
};
|
|
24467
25769
|
logistics_order_overview: {
|
|
24468
25770
|
Args: {
|
|
24469
25771
|
p_from?: string;
|
|
@@ -24501,6 +25803,12 @@ export type Database = {
|
|
|
24501
25803
|
};
|
|
24502
25804
|
Returns: string;
|
|
24503
25805
|
};
|
|
25806
|
+
logistics_payload_is_floriday: {
|
|
25807
|
+
Args: {
|
|
25808
|
+
_payload: Json;
|
|
25809
|
+
};
|
|
25810
|
+
Returns: boolean;
|
|
25811
|
+
};
|
|
24504
25812
|
logistics_pick_agenda: {
|
|
24505
25813
|
Args: {
|
|
24506
25814
|
p_from?: string;
|
|
@@ -24529,6 +25837,10 @@ export type Database = {
|
|
|
24529
25837
|
Args: never;
|
|
24530
25838
|
Returns: Json;
|
|
24531
25839
|
};
|
|
25840
|
+
logistics_pick_partial_mode: {
|
|
25841
|
+
Args: never;
|
|
25842
|
+
Returns: string;
|
|
25843
|
+
};
|
|
24532
25844
|
logistics_pick_start_estimate: {
|
|
24533
25845
|
Args: {
|
|
24534
25846
|
p_order: Json;
|
|
@@ -24619,6 +25931,20 @@ export type Database = {
|
|
|
24619
25931
|
Args: never;
|
|
24620
25932
|
Returns: undefined;
|
|
24621
25933
|
};
|
|
25934
|
+
logistics_plan_progress: {
|
|
25935
|
+
Args: {
|
|
25936
|
+
p_refs: string[];
|
|
25937
|
+
};
|
|
25938
|
+
Returns: {
|
|
25939
|
+
cart_plan_ready: boolean;
|
|
25940
|
+
cart_plan_reason: string;
|
|
25941
|
+
cart_plan_released: boolean;
|
|
25942
|
+
plan_progress: number;
|
|
25943
|
+
plan_state: string;
|
|
25944
|
+
plan_state_since: string;
|
|
25945
|
+
unit_ref: string;
|
|
25946
|
+
}[];
|
|
25947
|
+
};
|
|
24622
25948
|
logistics_plan_prune: {
|
|
24623
25949
|
Args: never;
|
|
24624
25950
|
Returns: number;
|
|
@@ -24640,6 +25966,18 @@ export type Database = {
|
|
|
24640
25966
|
};
|
|
24641
25967
|
Returns: number;
|
|
24642
25968
|
};
|
|
25969
|
+
logistics_plan_state_for: {
|
|
25970
|
+
Args: {
|
|
25971
|
+
p_ref: string;
|
|
25972
|
+
};
|
|
25973
|
+
Returns: Json;
|
|
25974
|
+
};
|
|
25975
|
+
logistics_prepare_pick_documents: {
|
|
25976
|
+
Args: {
|
|
25977
|
+
p_limit?: number;
|
|
25978
|
+
};
|
|
25979
|
+
Returns: Json;
|
|
25980
|
+
};
|
|
24643
25981
|
logistics_prune_buffer_member_queue: {
|
|
24644
25982
|
Args: never;
|
|
24645
25983
|
Returns: number;
|
|
@@ -24680,18 +26018,36 @@ export type Database = {
|
|
|
24680
26018
|
Args: never;
|
|
24681
26019
|
Returns: Json;
|
|
24682
26020
|
};
|
|
26021
|
+
logistics_refresh_pick_queue_status: {
|
|
26022
|
+
Args: {
|
|
26023
|
+
p_ref: string;
|
|
26024
|
+
};
|
|
26025
|
+
Returns: number;
|
|
26026
|
+
};
|
|
24683
26027
|
logistics_refresh_pickup_moments: {
|
|
24684
26028
|
Args: {
|
|
24685
26029
|
p_weeks?: number;
|
|
24686
26030
|
};
|
|
24687
26031
|
Returns: Json;
|
|
24688
26032
|
};
|
|
26033
|
+
logistics_refresh_plan_state: {
|
|
26034
|
+
Args: {
|
|
26035
|
+
p_limit?: number;
|
|
26036
|
+
};
|
|
26037
|
+
Returns: Json;
|
|
26038
|
+
};
|
|
24689
26039
|
logistics_replan_all: {
|
|
24690
26040
|
Args: {
|
|
24691
26041
|
p_reason?: string;
|
|
24692
26042
|
};
|
|
24693
26043
|
Returns: Json;
|
|
24694
26044
|
};
|
|
26045
|
+
logistics_replan_all_force: {
|
|
26046
|
+
Args: {
|
|
26047
|
+
p_reason?: string;
|
|
26048
|
+
};
|
|
26049
|
+
Returns: Json;
|
|
26050
|
+
};
|
|
24695
26051
|
logistics_report_delay: {
|
|
24696
26052
|
Args: {
|
|
24697
26053
|
p_expected_date?: string;
|
|
@@ -24836,6 +26192,10 @@ export type Database = {
|
|
|
24836
26192
|
};
|
|
24837
26193
|
Returns: string;
|
|
24838
26194
|
};
|
|
26195
|
+
logistics_shipping_note_follows_slip: {
|
|
26196
|
+
Args: never;
|
|
26197
|
+
Returns: boolean;
|
|
26198
|
+
};
|
|
24839
26199
|
logistics_shipping_note_from_barcode: {
|
|
24840
26200
|
Args: {
|
|
24841
26201
|
p_allow_reprint?: boolean;
|
|
@@ -24844,10 +26204,86 @@ export type Database = {
|
|
|
24844
26204
|
};
|
|
24845
26205
|
Returns: Json;
|
|
24846
26206
|
};
|
|
26207
|
+
logistics_shipping_note_job_for_slip: {
|
|
26208
|
+
Args: {
|
|
26209
|
+
_slip_job_id: string;
|
|
26210
|
+
};
|
|
26211
|
+
Returns: string;
|
|
26212
|
+
};
|
|
26213
|
+
logistics_shipping_notes_wake_all: {
|
|
26214
|
+
Args: never;
|
|
26215
|
+
Returns: Json;
|
|
26216
|
+
};
|
|
26217
|
+
logistics_slip_is_floriday: {
|
|
26218
|
+
Args: {
|
|
26219
|
+
_slip_job_id: string;
|
|
26220
|
+
};
|
|
26221
|
+
Returns: boolean;
|
|
26222
|
+
};
|
|
26223
|
+
logistics_slip_note_claim: {
|
|
26224
|
+
Args: {
|
|
26225
|
+
_lease_seconds?: number;
|
|
26226
|
+
_limit?: number;
|
|
26227
|
+
};
|
|
26228
|
+
Returns: {
|
|
26229
|
+
attempts: number;
|
|
26230
|
+
batch_key: string | null;
|
|
26231
|
+
cart_id: string | null;
|
|
26232
|
+
created_at: string;
|
|
26233
|
+
error: string | null;
|
|
26234
|
+
error_code: string | null;
|
|
26235
|
+
fulfillment_order_id: string | null;
|
|
26236
|
+
id: string;
|
|
26237
|
+
locked_until: string | null;
|
|
26238
|
+
next_attempt_at: string | null;
|
|
26239
|
+
order_id: string | null;
|
|
26240
|
+
order_number: string | null;
|
|
26241
|
+
print_job_id: string | null;
|
|
26242
|
+
printer_id: string | null;
|
|
26243
|
+
retry_class: string | null;
|
|
26244
|
+
slip_job_id: string;
|
|
26245
|
+
status: string;
|
|
26246
|
+
updated_at: string;
|
|
26247
|
+
}[];
|
|
26248
|
+
SetofOptions: {
|
|
26249
|
+
from: "*";
|
|
26250
|
+
to: "logistics_slip_shipping_note";
|
|
26251
|
+
isOneToOne: false;
|
|
26252
|
+
isSetofReturn: true;
|
|
26253
|
+
};
|
|
26254
|
+
};
|
|
26255
|
+
logistics_slip_note_finish: {
|
|
26256
|
+
Args: {
|
|
26257
|
+
_error?: string;
|
|
26258
|
+
_error_code?: string;
|
|
26259
|
+
_fulfillment_order_id?: string;
|
|
26260
|
+
_id: string;
|
|
26261
|
+
_ok: boolean;
|
|
26262
|
+
_print_job_id?: string;
|
|
26263
|
+
_status?: string;
|
|
26264
|
+
};
|
|
26265
|
+
Returns: undefined;
|
|
26266
|
+
};
|
|
26267
|
+
logistics_slip_note_keep_waiting: {
|
|
26268
|
+
Args: {
|
|
26269
|
+
_class?: string;
|
|
26270
|
+
_id: string;
|
|
26271
|
+
_reason: string;
|
|
26272
|
+
};
|
|
26273
|
+
Returns: undefined;
|
|
26274
|
+
};
|
|
24847
26275
|
logistics_sticker_follows_slip: {
|
|
24848
26276
|
Args: never;
|
|
24849
26277
|
Returns: boolean;
|
|
24850
26278
|
};
|
|
26279
|
+
logistics_subtract_working_minutes: {
|
|
26280
|
+
Args: {
|
|
26281
|
+
p_deadline: string;
|
|
26282
|
+
p_max_workdays?: number;
|
|
26283
|
+
p_minutes: number;
|
|
26284
|
+
};
|
|
26285
|
+
Returns: Json;
|
|
26286
|
+
};
|
|
24851
26287
|
logistics_supersede_stale_tasks: {
|
|
24852
26288
|
Args: {
|
|
24853
26289
|
p_keep: string[];
|
|
@@ -24884,6 +26320,109 @@ export type Database = {
|
|
|
24884
26320
|
Args: never;
|
|
24885
26321
|
Returns: string;
|
|
24886
26322
|
};
|
|
26323
|
+
logistics_timezone_options: {
|
|
26324
|
+
Args: never;
|
|
26325
|
+
Returns: {
|
|
26326
|
+
name: string;
|
|
26327
|
+
}[];
|
|
26328
|
+
};
|
|
26329
|
+
logistics_trace: {
|
|
26330
|
+
Args: {
|
|
26331
|
+
p: Json;
|
|
26332
|
+
};
|
|
26333
|
+
Returns: string;
|
|
26334
|
+
};
|
|
26335
|
+
logistics_trace_all_orders: {
|
|
26336
|
+
Args: {
|
|
26337
|
+
p_limit?: number;
|
|
26338
|
+
p_search?: string;
|
|
26339
|
+
};
|
|
26340
|
+
Returns: Json;
|
|
26341
|
+
};
|
|
26342
|
+
logistics_trace_batch: {
|
|
26343
|
+
Args: {
|
|
26344
|
+
p: Json;
|
|
26345
|
+
};
|
|
26346
|
+
Returns: number;
|
|
26347
|
+
};
|
|
26348
|
+
logistics_trace_node: {
|
|
26349
|
+
Args: {
|
|
26350
|
+
p_op?: string;
|
|
26351
|
+
p_status?: string;
|
|
26352
|
+
p_table: string;
|
|
26353
|
+
};
|
|
26354
|
+
Returns: string;
|
|
26355
|
+
};
|
|
26356
|
+
logistics_trace_order_overview: {
|
|
26357
|
+
Args: {
|
|
26358
|
+
p_error_class?: string;
|
|
26359
|
+
p_limit?: number;
|
|
26360
|
+
p_search?: string;
|
|
26361
|
+
p_since?: string;
|
|
26362
|
+
p_source?: string;
|
|
26363
|
+
p_state?: string;
|
|
26364
|
+
p_step?: string;
|
|
26365
|
+
};
|
|
26366
|
+
Returns: Json;
|
|
26367
|
+
};
|
|
26368
|
+
logistics_trace_order_state: {
|
|
26369
|
+
Args: {
|
|
26370
|
+
p_order_ref: string;
|
|
26371
|
+
};
|
|
26372
|
+
Returns: Json;
|
|
26373
|
+
};
|
|
26374
|
+
logistics_trace_order_step: {
|
|
26375
|
+
Args: {
|
|
26376
|
+
p_class?: string;
|
|
26377
|
+
p_decision?: string;
|
|
26378
|
+
p_error?: string;
|
|
26379
|
+
p_next_step?: string;
|
|
26380
|
+
p_node: string;
|
|
26381
|
+
p_order_id: string;
|
|
26382
|
+
p_reason?: string;
|
|
26383
|
+
p_status: string;
|
|
26384
|
+
p_step: string;
|
|
26385
|
+
};
|
|
26386
|
+
Returns: undefined;
|
|
26387
|
+
};
|
|
26388
|
+
logistics_trace_orders: {
|
|
26389
|
+
Args: {
|
|
26390
|
+
p_limit?: number;
|
|
26391
|
+
p_search?: string;
|
|
26392
|
+
p_since?: string;
|
|
26393
|
+
p_status?: string;
|
|
26394
|
+
};
|
|
26395
|
+
Returns: Json;
|
|
26396
|
+
};
|
|
26397
|
+
logistics_trace_redact: {
|
|
26398
|
+
Args: {
|
|
26399
|
+
p: Json;
|
|
26400
|
+
};
|
|
26401
|
+
Returns: Json;
|
|
26402
|
+
};
|
|
26403
|
+
logistics_trace_timeline: {
|
|
26404
|
+
Args: {
|
|
26405
|
+
p_limit?: number;
|
|
26406
|
+
p_order_ref: string;
|
|
26407
|
+
};
|
|
26408
|
+
Returns: Json;
|
|
26409
|
+
};
|
|
26410
|
+
logistics_trace_version_events: {
|
|
26411
|
+
Args: {
|
|
26412
|
+
p_from?: string;
|
|
26413
|
+
p_limit?: number;
|
|
26414
|
+
p_order_ref: string;
|
|
26415
|
+
p_to?: string;
|
|
26416
|
+
p_version_id: string;
|
|
26417
|
+
};
|
|
26418
|
+
Returns: Json;
|
|
26419
|
+
};
|
|
26420
|
+
logistics_trace_versions: {
|
|
26421
|
+
Args: {
|
|
26422
|
+
p_order_ref: string;
|
|
26423
|
+
};
|
|
26424
|
+
Returns: Json;
|
|
26425
|
+
};
|
|
24887
26426
|
logistics_upsert_task: {
|
|
24888
26427
|
Args: {
|
|
24889
26428
|
p_buffer_ref: string;
|
|
@@ -24903,6 +26442,16 @@ export type Database = {
|
|
|
24903
26442
|
};
|
|
24904
26443
|
Returns: string;
|
|
24905
26444
|
};
|
|
26445
|
+
logistics_valid_timezone: {
|
|
26446
|
+
Args: {
|
|
26447
|
+
_tz: string;
|
|
26448
|
+
};
|
|
26449
|
+
Returns: boolean;
|
|
26450
|
+
};
|
|
26451
|
+
logistics_working_hours_status: {
|
|
26452
|
+
Args: never;
|
|
26453
|
+
Returns: Json;
|
|
26454
|
+
};
|
|
24906
26455
|
logistics_write_buffer_layer_positions: {
|
|
24907
26456
|
Args: {
|
|
24908
26457
|
p_buffer_id: string;
|
|
@@ -25915,6 +27464,10 @@ export type Database = {
|
|
|
25915
27464
|
};
|
|
25916
27465
|
Returns: undefined;
|
|
25917
27466
|
};
|
|
27467
|
+
prune_floriday_api_log: {
|
|
27468
|
+
Args: never;
|
|
27469
|
+
Returns: number;
|
|
27470
|
+
};
|
|
25918
27471
|
quote_create_from_source: {
|
|
25919
27472
|
Args: {
|
|
25920
27473
|
_payload?: Json;
|
|
@@ -26348,6 +27901,13 @@ export type Database = {
|
|
|
26348
27901
|
};
|
|
26349
27902
|
Returns: number;
|
|
26350
27903
|
};
|
|
27904
|
+
schedule_floriday_catalog_prices_sync: {
|
|
27905
|
+
Args: {
|
|
27906
|
+
p_apikey: string;
|
|
27907
|
+
p_url: string;
|
|
27908
|
+
};
|
|
27909
|
+
Returns: number;
|
|
27910
|
+
};
|
|
26351
27911
|
schedule_floriday_clock_presales_sync: {
|
|
26352
27912
|
Args: {
|
|
26353
27913
|
p_apikey: string;
|
|
@@ -26648,6 +28208,10 @@ export type Database = {
|
|
|
26648
28208
|
};
|
|
26649
28209
|
Returns: undefined;
|
|
26650
28210
|
};
|
|
28211
|
+
sync_floriday_prices_into_price_groups: {
|
|
28212
|
+
Args: never;
|
|
28213
|
+
Returns: number;
|
|
28214
|
+
};
|
|
26651
28215
|
sync_layer_stock: {
|
|
26652
28216
|
Args: {
|
|
26653
28217
|
p_product_id: string;
|
|
@@ -26780,6 +28344,10 @@ export type Database = {
|
|
|
26780
28344
|
Args: never;
|
|
26781
28345
|
Returns: string;
|
|
26782
28346
|
};
|
|
28347
|
+
voorraad_cleanup_old_rows: {
|
|
28348
|
+
Args: never;
|
|
28349
|
+
Returns: Json;
|
|
28350
|
+
};
|
|
26783
28351
|
wake_print_queue: {
|
|
26784
28352
|
Args: {
|
|
26785
28353
|
_min_interval_ms?: number;
|