@flowselections/floriday-verkoop-module 1.0.24 → 1.0.26
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/integrations/supabase/auth-middleware.d.ts +1057 -17
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +1057 -17
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1057 -17
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1079 -14
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +9 -1
- package/dist-lib/lib/cart-lock.functions.d.ts +1057 -17
- package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-planning-settings.functions.d.ts +11506 -66
- package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.d.ts +3138 -18
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.d.ts +12552 -72
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/cron/index.d.ts +5 -0
- package/dist-lib/lib/cron/index.d.ts.map +1 -0
- package/dist-lib/lib/cron/index.js +4 -0
- package/dist-lib/lib/cron/mirror-floriday-orders.d.ts +4 -0
- package/dist-lib/lib/cron/mirror-floriday-orders.d.ts.map +1 -0
- package/dist-lib/lib/cron/mirror-floriday-orders.js +23 -0
- package/dist-lib/lib/cron/replan-carts.d.ts +4 -0
- package/dist-lib/lib/cron/replan-carts.d.ts.map +1 -0
- package/dist-lib/lib/cron/replan-carts.js +18 -0
- package/dist-lib/lib/cron/sync-salesorders.d.ts +4 -0
- package/dist-lib/lib/cron/sync-salesorders.d.ts.map +1 -0
- package/dist-lib/lib/cron/sync-salesorders.js +18 -0
- package/dist-lib/lib/cron/sync-tradeitems.d.ts +4 -0
- package/dist-lib/lib/cron/sync-tradeitems.d.ts.map +1 -0
- package/dist-lib/lib/cron/sync-tradeitems.js +18 -0
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +3138 -18
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +1057 -17
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.d.ts +1057 -17
- package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +7322 -42
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +5230 -30
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-buffers.functions.d.ts +3138 -18
- package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-shipments.functions.d.ts +4184 -24
- package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders.functions.d.ts +5230 -30
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/tradeitems.functions.d.ts +1057 -17
- package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
- package/package.json +24 -2
|
@@ -287,6 +287,57 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
287
287
|
referencedColumns: ["id"];
|
|
288
288
|
}];
|
|
289
289
|
};
|
|
290
|
+
ai_call_log: {
|
|
291
|
+
Row: {
|
|
292
|
+
consumer_module_id: string;
|
|
293
|
+
cost_usd: number | null;
|
|
294
|
+
created_at: string;
|
|
295
|
+
created_by: string | null;
|
|
296
|
+
duration_ms: number | null;
|
|
297
|
+
error_code: string | null;
|
|
298
|
+
error_message: string | null;
|
|
299
|
+
id: string;
|
|
300
|
+
input_tokens: number;
|
|
301
|
+
model_slug: string | null;
|
|
302
|
+
output_tokens: number;
|
|
303
|
+
provider_slug: string | null;
|
|
304
|
+
status: string;
|
|
305
|
+
total_tokens: number;
|
|
306
|
+
};
|
|
307
|
+
Insert: {
|
|
308
|
+
consumer_module_id: string;
|
|
309
|
+
cost_usd?: number | null;
|
|
310
|
+
created_at?: string;
|
|
311
|
+
created_by?: string | null;
|
|
312
|
+
duration_ms?: number | null;
|
|
313
|
+
error_code?: string | null;
|
|
314
|
+
error_message?: string | null;
|
|
315
|
+
id?: string;
|
|
316
|
+
input_tokens?: number;
|
|
317
|
+
model_slug?: string | null;
|
|
318
|
+
output_tokens?: number;
|
|
319
|
+
provider_slug?: string | null;
|
|
320
|
+
status: string;
|
|
321
|
+
total_tokens?: number;
|
|
322
|
+
};
|
|
323
|
+
Update: {
|
|
324
|
+
consumer_module_id?: string;
|
|
325
|
+
cost_usd?: number | null;
|
|
326
|
+
created_at?: string;
|
|
327
|
+
created_by?: string | null;
|
|
328
|
+
duration_ms?: number | null;
|
|
329
|
+
error_code?: string | null;
|
|
330
|
+
error_message?: string | null;
|
|
331
|
+
id?: string;
|
|
332
|
+
input_tokens?: number;
|
|
333
|
+
model_slug?: string | null;
|
|
334
|
+
output_tokens?: number;
|
|
335
|
+
provider_slug?: string | null;
|
|
336
|
+
status?: string;
|
|
337
|
+
total_tokens?: number;
|
|
338
|
+
};
|
|
339
|
+
Relationships: [];
|
|
340
|
+
};
|
|
290
341
|
ai_credentials: {
|
|
291
342
|
Row: {
|
|
292
343
|
active: boolean;
|
|
@@ -323,6 +374,36 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
323
374
|
referencedColumns: ["id"];
|
|
324
375
|
}];
|
|
325
376
|
};
|
|
377
|
+
ai_goals: {
|
|
378
|
+
Row: {
|
|
379
|
+
active: boolean;
|
|
380
|
+
created_at: string;
|
|
381
|
+
description: string | null;
|
|
382
|
+
key: string;
|
|
383
|
+
label: string;
|
|
384
|
+
sort_order: number;
|
|
385
|
+
updated_at: string;
|
|
386
|
+
};
|
|
387
|
+
Insert: {
|
|
388
|
+
active?: boolean;
|
|
389
|
+
created_at?: string;
|
|
390
|
+
description?: string | null;
|
|
391
|
+
key: string;
|
|
392
|
+
label: string;
|
|
393
|
+
sort_order?: number;
|
|
394
|
+
updated_at?: string;
|
|
395
|
+
};
|
|
396
|
+
Update: {
|
|
397
|
+
active?: boolean;
|
|
398
|
+
created_at?: string;
|
|
399
|
+
description?: string | null;
|
|
400
|
+
key?: string;
|
|
401
|
+
label?: string;
|
|
402
|
+
sort_order?: number;
|
|
403
|
+
updated_at?: string;
|
|
404
|
+
};
|
|
405
|
+
Relationships: [];
|
|
406
|
+
};
|
|
326
407
|
ai_model_pricing: {
|
|
327
408
|
Row: {
|
|
328
409
|
created_at: string;
|
|
@@ -6467,6 +6548,285 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
6467
6548
|
};
|
|
6468
6549
|
Relationships: [];
|
|
6469
6550
|
};
|
|
6551
|
+
logistics_capacity_events: {
|
|
6552
|
+
Row: {
|
|
6553
|
+
available_carts: number;
|
|
6554
|
+
created_at: string;
|
|
6555
|
+
id: string;
|
|
6556
|
+
measures: import("../integrations/supabase/types").Json;
|
|
6557
|
+
note: string | null;
|
|
6558
|
+
outcome: string;
|
|
6559
|
+
required_carts: number;
|
|
6560
|
+
reserve_minutes: number;
|
|
6561
|
+
shortage_carts: number;
|
|
6562
|
+
status: string;
|
|
6563
|
+
user_id: string;
|
|
6564
|
+
};
|
|
6565
|
+
Insert: {
|
|
6566
|
+
available_carts?: number;
|
|
6567
|
+
created_at?: string;
|
|
6568
|
+
id?: string;
|
|
6569
|
+
measures?: import("../integrations/supabase/types").Json;
|
|
6570
|
+
note?: string | null;
|
|
6571
|
+
outcome?: string;
|
|
6572
|
+
required_carts?: number;
|
|
6573
|
+
reserve_minutes?: number;
|
|
6574
|
+
shortage_carts?: number;
|
|
6575
|
+
status: string;
|
|
6576
|
+
user_id: string;
|
|
6577
|
+
};
|
|
6578
|
+
Update: {
|
|
6579
|
+
available_carts?: number;
|
|
6580
|
+
created_at?: string;
|
|
6581
|
+
id?: string;
|
|
6582
|
+
measures?: import("../integrations/supabase/types").Json;
|
|
6583
|
+
note?: string | null;
|
|
6584
|
+
outcome?: string;
|
|
6585
|
+
required_carts?: number;
|
|
6586
|
+
reserve_minutes?: number;
|
|
6587
|
+
shortage_carts?: number;
|
|
6588
|
+
status?: string;
|
|
6589
|
+
user_id?: string;
|
|
6590
|
+
};
|
|
6591
|
+
Relationships: [];
|
|
6592
|
+
};
|
|
6593
|
+
logistics_capacity_settings: {
|
|
6594
|
+
Row: {
|
|
6595
|
+
created_at: string;
|
|
6596
|
+
settings: import("../integrations/supabase/types").Json;
|
|
6597
|
+
updated_at: string;
|
|
6598
|
+
user_id: string;
|
|
6599
|
+
};
|
|
6600
|
+
Insert: {
|
|
6601
|
+
created_at?: string;
|
|
6602
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
6603
|
+
updated_at?: string;
|
|
6604
|
+
user_id: string;
|
|
6605
|
+
};
|
|
6606
|
+
Update: {
|
|
6607
|
+
created_at?: string;
|
|
6608
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
6609
|
+
updated_at?: string;
|
|
6610
|
+
user_id?: string;
|
|
6611
|
+
};
|
|
6612
|
+
Relationships: [];
|
|
6613
|
+
};
|
|
6614
|
+
logistics_decisions: {
|
|
6615
|
+
Row: {
|
|
6616
|
+
created_at: string;
|
|
6617
|
+
explanation: string | null;
|
|
6618
|
+
id: string;
|
|
6619
|
+
input_snapshot: import("../integrations/supabase/types").Json;
|
|
6620
|
+
result: import("../integrations/supabase/types").Json;
|
|
6621
|
+
slot: string;
|
|
6622
|
+
strategy_id: string | null;
|
|
6623
|
+
subject_id: string;
|
|
6624
|
+
subject_type: string;
|
|
6625
|
+
user_id: string;
|
|
6626
|
+
};
|
|
6627
|
+
Insert: {
|
|
6628
|
+
created_at?: string;
|
|
6629
|
+
explanation?: string | null;
|
|
6630
|
+
id?: string;
|
|
6631
|
+
input_snapshot?: import("../integrations/supabase/types").Json;
|
|
6632
|
+
result?: import("../integrations/supabase/types").Json;
|
|
6633
|
+
slot: string;
|
|
6634
|
+
strategy_id?: string | null;
|
|
6635
|
+
subject_id: string;
|
|
6636
|
+
subject_type: string;
|
|
6637
|
+
user_id: string;
|
|
6638
|
+
};
|
|
6639
|
+
Update: {
|
|
6640
|
+
created_at?: string;
|
|
6641
|
+
explanation?: string | null;
|
|
6642
|
+
id?: string;
|
|
6643
|
+
input_snapshot?: import("../integrations/supabase/types").Json;
|
|
6644
|
+
result?: import("../integrations/supabase/types").Json;
|
|
6645
|
+
slot?: string;
|
|
6646
|
+
strategy_id?: string | null;
|
|
6647
|
+
subject_id?: string;
|
|
6648
|
+
subject_type?: string;
|
|
6649
|
+
user_id?: string;
|
|
6650
|
+
};
|
|
6651
|
+
Relationships: [{
|
|
6652
|
+
foreignKeyName: "logistics_decisions_strategy_id_fkey";
|
|
6653
|
+
columns: ["strategy_id"];
|
|
6654
|
+
isOneToOne: false;
|
|
6655
|
+
referencedRelation: "logistics_strategies";
|
|
6656
|
+
referencedColumns: ["id"];
|
|
6657
|
+
}];
|
|
6658
|
+
};
|
|
6659
|
+
logistics_formulas: {
|
|
6660
|
+
Row: {
|
|
6661
|
+
created_at: string;
|
|
6662
|
+
expression: string;
|
|
6663
|
+
id: string;
|
|
6664
|
+
notes: string | null;
|
|
6665
|
+
slot: string;
|
|
6666
|
+
strategy_id: string;
|
|
6667
|
+
updated_at: string;
|
|
6668
|
+
user_id: string;
|
|
6669
|
+
version: number;
|
|
6670
|
+
};
|
|
6671
|
+
Insert: {
|
|
6672
|
+
created_at?: string;
|
|
6673
|
+
expression?: string;
|
|
6674
|
+
id?: string;
|
|
6675
|
+
notes?: string | null;
|
|
6676
|
+
slot: string;
|
|
6677
|
+
strategy_id: string;
|
|
6678
|
+
updated_at?: string;
|
|
6679
|
+
user_id: string;
|
|
6680
|
+
version?: number;
|
|
6681
|
+
};
|
|
6682
|
+
Update: {
|
|
6683
|
+
created_at?: string;
|
|
6684
|
+
expression?: string;
|
|
6685
|
+
id?: string;
|
|
6686
|
+
notes?: string | null;
|
|
6687
|
+
slot?: string;
|
|
6688
|
+
strategy_id?: string;
|
|
6689
|
+
updated_at?: string;
|
|
6690
|
+
user_id?: string;
|
|
6691
|
+
version?: number;
|
|
6692
|
+
};
|
|
6693
|
+
Relationships: [{
|
|
6694
|
+
foreignKeyName: "logistics_formulas_strategy_id_fkey";
|
|
6695
|
+
columns: ["strategy_id"];
|
|
6696
|
+
isOneToOne: false;
|
|
6697
|
+
referencedRelation: "logistics_strategies";
|
|
6698
|
+
referencedColumns: ["id"];
|
|
6699
|
+
}];
|
|
6700
|
+
};
|
|
6701
|
+
logistics_strategies: {
|
|
6702
|
+
Row: {
|
|
6703
|
+
color: string;
|
|
6704
|
+
created_at: string;
|
|
6705
|
+
description: string | null;
|
|
6706
|
+
id: string;
|
|
6707
|
+
is_active: boolean;
|
|
6708
|
+
name: string;
|
|
6709
|
+
priority: number;
|
|
6710
|
+
updated_at: string;
|
|
6711
|
+
updated_by: string | null;
|
|
6712
|
+
user_id: string;
|
|
6713
|
+
version: number;
|
|
6714
|
+
};
|
|
6715
|
+
Insert: {
|
|
6716
|
+
color?: string;
|
|
6717
|
+
created_at?: string;
|
|
6718
|
+
description?: string | null;
|
|
6719
|
+
id?: string;
|
|
6720
|
+
is_active?: boolean;
|
|
6721
|
+
name: string;
|
|
6722
|
+
priority?: number;
|
|
6723
|
+
updated_at?: string;
|
|
6724
|
+
updated_by?: string | null;
|
|
6725
|
+
user_id: string;
|
|
6726
|
+
version?: number;
|
|
6727
|
+
};
|
|
6728
|
+
Update: {
|
|
6729
|
+
color?: string;
|
|
6730
|
+
created_at?: string;
|
|
6731
|
+
description?: string | null;
|
|
6732
|
+
id?: string;
|
|
6733
|
+
is_active?: boolean;
|
|
6734
|
+
name?: string;
|
|
6735
|
+
priority?: number;
|
|
6736
|
+
updated_at?: string;
|
|
6737
|
+
updated_by?: string | null;
|
|
6738
|
+
user_id?: string;
|
|
6739
|
+
version?: number;
|
|
6740
|
+
};
|
|
6741
|
+
Relationships: [];
|
|
6742
|
+
};
|
|
6743
|
+
logistics_strategy_schedules: {
|
|
6744
|
+
Row: {
|
|
6745
|
+
condition_expression: string | null;
|
|
6746
|
+
created_at: string;
|
|
6747
|
+
end_date: string | null;
|
|
6748
|
+
id: string;
|
|
6749
|
+
is_enabled: boolean;
|
|
6750
|
+
priority: number;
|
|
6751
|
+
rule_type: string;
|
|
6752
|
+
start_date: string | null;
|
|
6753
|
+
strategy_id: string;
|
|
6754
|
+
updated_at: string;
|
|
6755
|
+
user_id: string;
|
|
6756
|
+
};
|
|
6757
|
+
Insert: {
|
|
6758
|
+
condition_expression?: string | null;
|
|
6759
|
+
created_at?: string;
|
|
6760
|
+
end_date?: string | null;
|
|
6761
|
+
id?: string;
|
|
6762
|
+
is_enabled?: boolean;
|
|
6763
|
+
priority?: number;
|
|
6764
|
+
rule_type: string;
|
|
6765
|
+
start_date?: string | null;
|
|
6766
|
+
strategy_id: string;
|
|
6767
|
+
updated_at?: string;
|
|
6768
|
+
user_id: string;
|
|
6769
|
+
};
|
|
6770
|
+
Update: {
|
|
6771
|
+
condition_expression?: string | null;
|
|
6772
|
+
created_at?: string;
|
|
6773
|
+
end_date?: string | null;
|
|
6774
|
+
id?: string;
|
|
6775
|
+
is_enabled?: boolean;
|
|
6776
|
+
priority?: number;
|
|
6777
|
+
rule_type?: string;
|
|
6778
|
+
start_date?: string | null;
|
|
6779
|
+
strategy_id?: string;
|
|
6780
|
+
updated_at?: string;
|
|
6781
|
+
user_id?: string;
|
|
6782
|
+
};
|
|
6783
|
+
Relationships: [{
|
|
6784
|
+
foreignKeyName: "logistics_strategy_schedules_strategy_id_fkey";
|
|
6785
|
+
columns: ["strategy_id"];
|
|
6786
|
+
isOneToOne: false;
|
|
6787
|
+
referencedRelation: "logistics_strategies";
|
|
6788
|
+
referencedColumns: ["id"];
|
|
6789
|
+
}];
|
|
6790
|
+
};
|
|
6791
|
+
logistics_variables: {
|
|
6792
|
+
Row: {
|
|
6793
|
+
created_at: string;
|
|
6794
|
+
default_value: string | null;
|
|
6795
|
+
description: string | null;
|
|
6796
|
+
id: string;
|
|
6797
|
+
is_builtin: boolean;
|
|
6798
|
+
key: string;
|
|
6799
|
+
label: string;
|
|
6800
|
+
updated_at: string;
|
|
6801
|
+
user_id: string;
|
|
6802
|
+
value_type: string;
|
|
6803
|
+
};
|
|
6804
|
+
Insert: {
|
|
6805
|
+
created_at?: string;
|
|
6806
|
+
default_value?: string | null;
|
|
6807
|
+
description?: string | null;
|
|
6808
|
+
id?: string;
|
|
6809
|
+
is_builtin?: boolean;
|
|
6810
|
+
key: string;
|
|
6811
|
+
label: string;
|
|
6812
|
+
updated_at?: string;
|
|
6813
|
+
user_id: string;
|
|
6814
|
+
value_type: string;
|
|
6815
|
+
};
|
|
6816
|
+
Update: {
|
|
6817
|
+
created_at?: string;
|
|
6818
|
+
default_value?: string | null;
|
|
6819
|
+
description?: string | null;
|
|
6820
|
+
id?: string;
|
|
6821
|
+
is_builtin?: boolean;
|
|
6822
|
+
key?: string;
|
|
6823
|
+
label?: string;
|
|
6824
|
+
updated_at?: string;
|
|
6825
|
+
user_id?: string;
|
|
6826
|
+
value_type?: string;
|
|
6827
|
+
};
|
|
6828
|
+
Relationships: [];
|
|
6829
|
+
};
|
|
6470
6830
|
mailbox_messages: {
|
|
6471
6831
|
Row: {
|
|
6472
6832
|
body_html: string | null;
|
|
@@ -8240,22 +8600,154 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
8240
8600
|
};
|
|
8241
8601
|
Relationships: [];
|
|
8242
8602
|
};
|
|
8243
|
-
|
|
8603
|
+
planning_item_assistants: {
|
|
8244
8604
|
Row: {
|
|
8245
|
-
color: string;
|
|
8246
8605
|
created_at: string;
|
|
8247
|
-
|
|
8248
|
-
|
|
8249
|
-
|
|
8250
|
-
slug: string;
|
|
8251
|
-
sort_order: number;
|
|
8252
|
-
updated_at: string;
|
|
8606
|
+
created_by: string | null;
|
|
8607
|
+
monteur_id: string;
|
|
8608
|
+
planning_item_id: string;
|
|
8253
8609
|
};
|
|
8254
8610
|
Insert: {
|
|
8255
|
-
color?: string;
|
|
8256
8611
|
created_at?: string;
|
|
8257
|
-
|
|
8258
|
-
|
|
8612
|
+
created_by?: string | null;
|
|
8613
|
+
monteur_id: string;
|
|
8614
|
+
planning_item_id: string;
|
|
8615
|
+
};
|
|
8616
|
+
Update: {
|
|
8617
|
+
created_at?: string;
|
|
8618
|
+
created_by?: string | null;
|
|
8619
|
+
monteur_id?: string;
|
|
8620
|
+
planning_item_id?: string;
|
|
8621
|
+
};
|
|
8622
|
+
Relationships: [{
|
|
8623
|
+
foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
|
|
8624
|
+
columns: ["planning_item_id"];
|
|
8625
|
+
isOneToOne: false;
|
|
8626
|
+
referencedRelation: "planning_items";
|
|
8627
|
+
referencedColumns: ["id"];
|
|
8628
|
+
}];
|
|
8629
|
+
};
|
|
8630
|
+
planning_items: {
|
|
8631
|
+
Row: {
|
|
8632
|
+
assigned_monteur_id: string;
|
|
8633
|
+
created_at: string;
|
|
8634
|
+
created_by: string | null;
|
|
8635
|
+
end_at: string;
|
|
8636
|
+
id: string;
|
|
8637
|
+
notes: string | null;
|
|
8638
|
+
start_at: string;
|
|
8639
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
|
|
8640
|
+
updated_at: string;
|
|
8641
|
+
werkbon_id: string;
|
|
8642
|
+
};
|
|
8643
|
+
Insert: {
|
|
8644
|
+
assigned_monteur_id: string;
|
|
8645
|
+
created_at?: string;
|
|
8646
|
+
created_by?: string | null;
|
|
8647
|
+
end_at: string;
|
|
8648
|
+
id?: string;
|
|
8649
|
+
notes?: string | null;
|
|
8650
|
+
start_at: string;
|
|
8651
|
+
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
|
|
8652
|
+
updated_at?: string;
|
|
8653
|
+
werkbon_id: string;
|
|
8654
|
+
};
|
|
8655
|
+
Update: {
|
|
8656
|
+
assigned_monteur_id?: string;
|
|
8657
|
+
created_at?: string;
|
|
8658
|
+
created_by?: string | null;
|
|
8659
|
+
end_at?: string;
|
|
8660
|
+
id?: string;
|
|
8661
|
+
notes?: string | null;
|
|
8662
|
+
start_at?: string;
|
|
8663
|
+
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
|
|
8664
|
+
updated_at?: string;
|
|
8665
|
+
werkbon_id?: string;
|
|
8666
|
+
};
|
|
8667
|
+
Relationships: [{
|
|
8668
|
+
foreignKeyName: "planning_items_werkbon_id_fkey";
|
|
8669
|
+
columns: ["werkbon_id"];
|
|
8670
|
+
isOneToOne: false;
|
|
8671
|
+
referencedRelation: "werkbonnen";
|
|
8672
|
+
referencedColumns: ["id"];
|
|
8673
|
+
}];
|
|
8674
|
+
};
|
|
8675
|
+
product_bom_items: {
|
|
8676
|
+
Row: {
|
|
8677
|
+
component_product_id: string | null;
|
|
8678
|
+
component_trade_item_floriday_id: string | null;
|
|
8679
|
+
created_at: string;
|
|
8680
|
+
id: string;
|
|
8681
|
+
notes: string | null;
|
|
8682
|
+
packing_configuration_id: string | null;
|
|
8683
|
+
parent_product_id: string | null;
|
|
8684
|
+
parent_trade_item_floriday_id: string | null;
|
|
8685
|
+
quantity: number;
|
|
8686
|
+
sort_order: number;
|
|
8687
|
+
tenant_id: string;
|
|
8688
|
+
unit: string;
|
|
8689
|
+
updated_at: string;
|
|
8690
|
+
};
|
|
8691
|
+
Insert: {
|
|
8692
|
+
component_product_id?: string | null;
|
|
8693
|
+
component_trade_item_floriday_id?: string | null;
|
|
8694
|
+
created_at?: string;
|
|
8695
|
+
id?: string;
|
|
8696
|
+
notes?: string | null;
|
|
8697
|
+
packing_configuration_id?: string | null;
|
|
8698
|
+
parent_product_id?: string | null;
|
|
8699
|
+
parent_trade_item_floriday_id?: string | null;
|
|
8700
|
+
quantity?: number;
|
|
8701
|
+
sort_order?: number;
|
|
8702
|
+
tenant_id: string;
|
|
8703
|
+
unit?: string;
|
|
8704
|
+
updated_at?: string;
|
|
8705
|
+
};
|
|
8706
|
+
Update: {
|
|
8707
|
+
component_product_id?: string | null;
|
|
8708
|
+
component_trade_item_floriday_id?: string | null;
|
|
8709
|
+
created_at?: string;
|
|
8710
|
+
id?: string;
|
|
8711
|
+
notes?: string | null;
|
|
8712
|
+
packing_configuration_id?: string | null;
|
|
8713
|
+
parent_product_id?: string | null;
|
|
8714
|
+
parent_trade_item_floriday_id?: string | null;
|
|
8715
|
+
quantity?: number;
|
|
8716
|
+
sort_order?: number;
|
|
8717
|
+
tenant_id?: string;
|
|
8718
|
+
unit?: string;
|
|
8719
|
+
updated_at?: string;
|
|
8720
|
+
};
|
|
8721
|
+
Relationships: [{
|
|
8722
|
+
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
8723
|
+
columns: ["component_product_id"];
|
|
8724
|
+
isOneToOne: false;
|
|
8725
|
+
referencedRelation: "products";
|
|
8726
|
+
referencedColumns: ["id"];
|
|
8727
|
+
}, {
|
|
8728
|
+
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
8729
|
+
columns: ["parent_product_id"];
|
|
8730
|
+
isOneToOne: false;
|
|
8731
|
+
referencedRelation: "products";
|
|
8732
|
+
referencedColumns: ["id"];
|
|
8733
|
+
}];
|
|
8734
|
+
};
|
|
8735
|
+
product_categories: {
|
|
8736
|
+
Row: {
|
|
8737
|
+
color: string;
|
|
8738
|
+
created_at: string;
|
|
8739
|
+
icon: string | null;
|
|
8740
|
+
id: string;
|
|
8741
|
+
name: string;
|
|
8742
|
+
slug: string;
|
|
8743
|
+
sort_order: number;
|
|
8744
|
+
updated_at: string;
|
|
8745
|
+
};
|
|
8746
|
+
Insert: {
|
|
8747
|
+
color?: string;
|
|
8748
|
+
created_at?: string;
|
|
8749
|
+
icon?: string | null;
|
|
8750
|
+
id?: string;
|
|
8259
8751
|
name: string;
|
|
8260
8752
|
slug: string;
|
|
8261
8753
|
sort_order?: number;
|
|
@@ -8345,6 +8837,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
8345
8837
|
id: string;
|
|
8346
8838
|
product_group_id: string;
|
|
8347
8839
|
quantity: number;
|
|
8840
|
+
sort_order: number;
|
|
8348
8841
|
trade_item_id: string;
|
|
8349
8842
|
};
|
|
8350
8843
|
Insert: {
|
|
@@ -8352,6 +8845,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
8352
8845
|
id?: string;
|
|
8353
8846
|
product_group_id: string;
|
|
8354
8847
|
quantity?: number;
|
|
8848
|
+
sort_order?: number;
|
|
8355
8849
|
trade_item_id: string;
|
|
8356
8850
|
};
|
|
8357
8851
|
Update: {
|
|
@@ -8359,6 +8853,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
8359
8853
|
id?: string;
|
|
8360
8854
|
product_group_id?: string;
|
|
8361
8855
|
quantity?: number;
|
|
8856
|
+
sort_order?: number;
|
|
8362
8857
|
trade_item_id?: string;
|
|
8363
8858
|
};
|
|
8364
8859
|
Relationships: [{
|
|
@@ -8373,6 +8868,8 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
8373
8868
|
Row: {
|
|
8374
8869
|
created_at: string;
|
|
8375
8870
|
description: string | null;
|
|
8871
|
+
head_product_id: string | null;
|
|
8872
|
+
head_trade_item_floriday_id: string | null;
|
|
8376
8873
|
id: string;
|
|
8377
8874
|
is_active: boolean;
|
|
8378
8875
|
name: string;
|
|
@@ -8382,6 +8879,8 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
8382
8879
|
Insert: {
|
|
8383
8880
|
created_at?: string;
|
|
8384
8881
|
description?: string | null;
|
|
8882
|
+
head_product_id?: string | null;
|
|
8883
|
+
head_trade_item_floriday_id?: string | null;
|
|
8385
8884
|
id?: string;
|
|
8386
8885
|
is_active?: boolean;
|
|
8387
8886
|
name: string;
|
|
@@ -8391,24 +8890,134 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
8391
8890
|
Update: {
|
|
8392
8891
|
created_at?: string;
|
|
8393
8892
|
description?: string | null;
|
|
8893
|
+
head_product_id?: string | null;
|
|
8894
|
+
head_trade_item_floriday_id?: string | null;
|
|
8394
8895
|
id?: string;
|
|
8395
8896
|
is_active?: boolean;
|
|
8396
8897
|
name?: string;
|
|
8397
8898
|
tenant_id?: string;
|
|
8398
8899
|
updated_at?: string;
|
|
8399
8900
|
};
|
|
8901
|
+
Relationships: [{
|
|
8902
|
+
foreignKeyName: "product_groups_head_product_id_fkey";
|
|
8903
|
+
columns: ["head_product_id"];
|
|
8904
|
+
isOneToOne: false;
|
|
8905
|
+
referencedRelation: "products";
|
|
8906
|
+
referencedColumns: ["id"];
|
|
8907
|
+
}];
|
|
8908
|
+
};
|
|
8909
|
+
product_load_settings: {
|
|
8910
|
+
Row: {
|
|
8911
|
+
created_at: string;
|
|
8912
|
+
id: string;
|
|
8913
|
+
is_package: boolean;
|
|
8914
|
+
label: string | null;
|
|
8915
|
+
layers_per_load_carrier: number | null;
|
|
8916
|
+
load_carrier: string | null;
|
|
8917
|
+
package_id: string | null;
|
|
8918
|
+
package_label: string | null;
|
|
8919
|
+
packages_per_layer: number | null;
|
|
8920
|
+
packing_configuration_id: string;
|
|
8921
|
+
product_id: string | null;
|
|
8922
|
+
tenant_id: string;
|
|
8923
|
+
trade_item_floriday_id: string | null;
|
|
8924
|
+
units_per_package: number | null;
|
|
8925
|
+
updated_at: string;
|
|
8926
|
+
};
|
|
8927
|
+
Insert: {
|
|
8928
|
+
created_at?: string;
|
|
8929
|
+
id?: string;
|
|
8930
|
+
is_package?: boolean;
|
|
8931
|
+
label?: string | null;
|
|
8932
|
+
layers_per_load_carrier?: number | null;
|
|
8933
|
+
load_carrier?: string | null;
|
|
8934
|
+
package_id?: string | null;
|
|
8935
|
+
package_label?: string | null;
|
|
8936
|
+
packages_per_layer?: number | null;
|
|
8937
|
+
packing_configuration_id?: string;
|
|
8938
|
+
product_id?: string | null;
|
|
8939
|
+
tenant_id: string;
|
|
8940
|
+
trade_item_floriday_id?: string | null;
|
|
8941
|
+
units_per_package?: number | null;
|
|
8942
|
+
updated_at?: string;
|
|
8943
|
+
};
|
|
8944
|
+
Update: {
|
|
8945
|
+
created_at?: string;
|
|
8946
|
+
id?: string;
|
|
8947
|
+
is_package?: boolean;
|
|
8948
|
+
label?: string | null;
|
|
8949
|
+
layers_per_load_carrier?: number | null;
|
|
8950
|
+
load_carrier?: string | null;
|
|
8951
|
+
package_id?: string | null;
|
|
8952
|
+
package_label?: string | null;
|
|
8953
|
+
packages_per_layer?: number | null;
|
|
8954
|
+
packing_configuration_id?: string;
|
|
8955
|
+
product_id?: string | null;
|
|
8956
|
+
tenant_id?: string;
|
|
8957
|
+
trade_item_floriday_id?: string | null;
|
|
8958
|
+
units_per_package?: number | null;
|
|
8959
|
+
updated_at?: string;
|
|
8960
|
+
};
|
|
8961
|
+
Relationships: [{
|
|
8962
|
+
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
8963
|
+
columns: ["package_id"];
|
|
8964
|
+
isOneToOne: false;
|
|
8965
|
+
referencedRelation: "packages";
|
|
8966
|
+
referencedColumns: ["id"];
|
|
8967
|
+
}, {
|
|
8968
|
+
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
8969
|
+
columns: ["product_id"];
|
|
8970
|
+
isOneToOne: false;
|
|
8971
|
+
referencedRelation: "products";
|
|
8972
|
+
referencedColumns: ["id"];
|
|
8973
|
+
}];
|
|
8974
|
+
};
|
|
8975
|
+
product_merge_log: {
|
|
8976
|
+
Row: {
|
|
8977
|
+
canonical_product_id: string | null;
|
|
8978
|
+
id: string;
|
|
8979
|
+
merged_at: string;
|
|
8980
|
+
merged_from_id: string;
|
|
8981
|
+
notes: string | null;
|
|
8982
|
+
snapshot: import("../integrations/supabase/types").Json;
|
|
8983
|
+
source_table: string;
|
|
8984
|
+
status: string;
|
|
8985
|
+
};
|
|
8986
|
+
Insert: {
|
|
8987
|
+
canonical_product_id?: string | null;
|
|
8988
|
+
id?: string;
|
|
8989
|
+
merged_at?: string;
|
|
8990
|
+
merged_from_id: string;
|
|
8991
|
+
notes?: string | null;
|
|
8992
|
+
snapshot?: import("../integrations/supabase/types").Json;
|
|
8993
|
+
source_table: string;
|
|
8994
|
+
status?: string;
|
|
8995
|
+
};
|
|
8996
|
+
Update: {
|
|
8997
|
+
canonical_product_id?: string | null;
|
|
8998
|
+
id?: string;
|
|
8999
|
+
merged_at?: string;
|
|
9000
|
+
merged_from_id?: string;
|
|
9001
|
+
notes?: string | null;
|
|
9002
|
+
snapshot?: import("../integrations/supabase/types").Json;
|
|
9003
|
+
source_table?: string;
|
|
9004
|
+
status?: string;
|
|
9005
|
+
};
|
|
8400
9006
|
Relationships: [];
|
|
8401
9007
|
};
|
|
8402
9008
|
products: {
|
|
8403
9009
|
Row: {
|
|
9010
|
+
article_number: string | null;
|
|
8404
9011
|
barcode: string | null;
|
|
8405
9012
|
batch: string;
|
|
8406
9013
|
crates_per_layer: number;
|
|
8407
9014
|
created_at: string;
|
|
8408
9015
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
9016
|
+
floriday_trade_item_id: string | null;
|
|
8409
9017
|
id: string;
|
|
8410
9018
|
image_url: string | null;
|
|
8411
9019
|
incoming_quantity: number;
|
|
9020
|
+
is_layer: boolean;
|
|
8412
9021
|
layers_per_cart: number;
|
|
8413
9022
|
location: string;
|
|
8414
9023
|
min_quantity: number;
|
|
@@ -8424,14 +9033,17 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
8424
9033
|
weight: string | null;
|
|
8425
9034
|
};
|
|
8426
9035
|
Insert: {
|
|
9036
|
+
article_number?: string | null;
|
|
8427
9037
|
barcode?: string | null;
|
|
8428
9038
|
batch: string;
|
|
8429
9039
|
crates_per_layer?: number;
|
|
8430
9040
|
created_at?: string;
|
|
8431
9041
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
9042
|
+
floriday_trade_item_id?: string | null;
|
|
8432
9043
|
id?: string;
|
|
8433
9044
|
image_url?: string | null;
|
|
8434
9045
|
incoming_quantity?: number;
|
|
9046
|
+
is_layer?: boolean;
|
|
8435
9047
|
layers_per_cart?: number;
|
|
8436
9048
|
location: string;
|
|
8437
9049
|
min_quantity?: number;
|
|
@@ -8447,14 +9059,17 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
8447
9059
|
weight?: string | null;
|
|
8448
9060
|
};
|
|
8449
9061
|
Update: {
|
|
9062
|
+
article_number?: string | null;
|
|
8450
9063
|
barcode?: string | null;
|
|
8451
9064
|
batch?: string;
|
|
8452
9065
|
crates_per_layer?: number;
|
|
8453
9066
|
created_at?: string;
|
|
8454
9067
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
9068
|
+
floriday_trade_item_id?: string | null;
|
|
8455
9069
|
id?: string;
|
|
8456
9070
|
image_url?: string | null;
|
|
8457
9071
|
incoming_quantity?: number;
|
|
9072
|
+
is_layer?: boolean;
|
|
8458
9073
|
layers_per_cart?: number;
|
|
8459
9074
|
location?: string;
|
|
8460
9075
|
min_quantity?: number;
|
|
@@ -8474,6 +9089,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
8474
9089
|
profiles: {
|
|
8475
9090
|
Row: {
|
|
8476
9091
|
address: string | null;
|
|
9092
|
+
avatar_url: string | null;
|
|
8477
9093
|
created_at: string;
|
|
8478
9094
|
display_name: string | null;
|
|
8479
9095
|
email: string | null;
|
|
@@ -8485,6 +9101,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
8485
9101
|
};
|
|
8486
9102
|
Insert: {
|
|
8487
9103
|
address?: string | null;
|
|
9104
|
+
avatar_url?: string | null;
|
|
8488
9105
|
created_at?: string;
|
|
8489
9106
|
display_name?: string | null;
|
|
8490
9107
|
email?: string | null;
|
|
@@ -8496,6 +9113,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
8496
9113
|
};
|
|
8497
9114
|
Update: {
|
|
8498
9115
|
address?: string | null;
|
|
9116
|
+
avatar_url?: string | null;
|
|
8499
9117
|
created_at?: string;
|
|
8500
9118
|
display_name?: string | null;
|
|
8501
9119
|
email?: string | null;
|
|
@@ -9362,6 +9980,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
9362
9980
|
order_source: string | null;
|
|
9363
9981
|
physical_after: number | null;
|
|
9364
9982
|
physical_before: number | null;
|
|
9983
|
+
production_batch_id: string | null;
|
|
9365
9984
|
qty_delta: number;
|
|
9366
9985
|
reason: string | null;
|
|
9367
9986
|
reserved_after: number | null;
|
|
@@ -9379,6 +9998,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
9379
9998
|
order_source?: string | null;
|
|
9380
9999
|
physical_after?: number | null;
|
|
9381
10000
|
physical_before?: number | null;
|
|
10001
|
+
production_batch_id?: string | null;
|
|
9382
10002
|
qty_delta: number;
|
|
9383
10003
|
reason?: string | null;
|
|
9384
10004
|
reserved_after?: number | null;
|
|
@@ -9396,6 +10016,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
9396
10016
|
order_source?: string | null;
|
|
9397
10017
|
physical_after?: number | null;
|
|
9398
10018
|
physical_before?: number | null;
|
|
10019
|
+
production_batch_id?: string | null;
|
|
9399
10020
|
qty_delta?: number;
|
|
9400
10021
|
reason?: string | null;
|
|
9401
10022
|
reserved_after?: number | null;
|
|
@@ -9722,6 +10343,48 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
9722
10343
|
};
|
|
9723
10344
|
Relationships: [];
|
|
9724
10345
|
};
|
|
10346
|
+
trade_item_prices: {
|
|
10347
|
+
Row: {
|
|
10348
|
+
created_at: string;
|
|
10349
|
+
currency: string;
|
|
10350
|
+
id: string;
|
|
10351
|
+
last_push_error: string | null;
|
|
10352
|
+
last_pushed_at: string | null;
|
|
10353
|
+
price_group_id: string | null;
|
|
10354
|
+
price_per_piece: number;
|
|
10355
|
+
supply_line_id: string | null;
|
|
10356
|
+
trade_item_key: string;
|
|
10357
|
+
updated_at: string;
|
|
10358
|
+
user_id: string;
|
|
10359
|
+
};
|
|
10360
|
+
Insert: {
|
|
10361
|
+
created_at?: string;
|
|
10362
|
+
currency?: string;
|
|
10363
|
+
id?: string;
|
|
10364
|
+
last_push_error?: string | null;
|
|
10365
|
+
last_pushed_at?: string | null;
|
|
10366
|
+
price_group_id?: string | null;
|
|
10367
|
+
price_per_piece: number;
|
|
10368
|
+
supply_line_id?: string | null;
|
|
10369
|
+
trade_item_key: string;
|
|
10370
|
+
updated_at?: string;
|
|
10371
|
+
user_id: string;
|
|
10372
|
+
};
|
|
10373
|
+
Update: {
|
|
10374
|
+
created_at?: string;
|
|
10375
|
+
currency?: string;
|
|
10376
|
+
id?: string;
|
|
10377
|
+
last_push_error?: string | null;
|
|
10378
|
+
last_pushed_at?: string | null;
|
|
10379
|
+
price_group_id?: string | null;
|
|
10380
|
+
price_per_piece?: number;
|
|
10381
|
+
supply_line_id?: string | null;
|
|
10382
|
+
trade_item_key?: string;
|
|
10383
|
+
updated_at?: string;
|
|
10384
|
+
user_id?: string;
|
|
10385
|
+
};
|
|
10386
|
+
Relationships: [];
|
|
10387
|
+
};
|
|
9725
10388
|
trade_item_stock: {
|
|
9726
10389
|
Row: {
|
|
9727
10390
|
connection_id: string;
|
|
@@ -10187,6 +10850,51 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
10187
10850
|
referencedColumns: ["id"];
|
|
10188
10851
|
}];
|
|
10189
10852
|
};
|
|
10853
|
+
twinfield_invoice_pdf_cache: {
|
|
10854
|
+
Row: {
|
|
10855
|
+
connection_id: string;
|
|
10856
|
+
created_at: string;
|
|
10857
|
+
fetched_at: string;
|
|
10858
|
+
id: string;
|
|
10859
|
+
invoice_number: string;
|
|
10860
|
+
last_accessed_at: string;
|
|
10861
|
+
object_path: string;
|
|
10862
|
+
office_code: string;
|
|
10863
|
+
size_bytes: number;
|
|
10864
|
+
updated_at: string;
|
|
10865
|
+
};
|
|
10866
|
+
Insert: {
|
|
10867
|
+
connection_id: string;
|
|
10868
|
+
created_at?: string;
|
|
10869
|
+
fetched_at?: string;
|
|
10870
|
+
id?: string;
|
|
10871
|
+
invoice_number: string;
|
|
10872
|
+
last_accessed_at?: string;
|
|
10873
|
+
object_path: string;
|
|
10874
|
+
office_code: string;
|
|
10875
|
+
size_bytes?: number;
|
|
10876
|
+
updated_at?: string;
|
|
10877
|
+
};
|
|
10878
|
+
Update: {
|
|
10879
|
+
connection_id?: string;
|
|
10880
|
+
created_at?: string;
|
|
10881
|
+
fetched_at?: string;
|
|
10882
|
+
id?: string;
|
|
10883
|
+
invoice_number?: string;
|
|
10884
|
+
last_accessed_at?: string;
|
|
10885
|
+
object_path?: string;
|
|
10886
|
+
office_code?: string;
|
|
10887
|
+
size_bytes?: number;
|
|
10888
|
+
updated_at?: string;
|
|
10889
|
+
};
|
|
10890
|
+
Relationships: [{
|
|
10891
|
+
foreignKeyName: "twinfield_invoice_pdf_cache_connection_id_fkey";
|
|
10892
|
+
columns: ["connection_id"];
|
|
10893
|
+
isOneToOne: false;
|
|
10894
|
+
referencedRelation: "twinfield_connections";
|
|
10895
|
+
referencedColumns: ["id"];
|
|
10896
|
+
}];
|
|
10897
|
+
};
|
|
10190
10898
|
twinfield_invoice_settings: {
|
|
10191
10899
|
Row: {
|
|
10192
10900
|
created_at: string;
|
|
@@ -10790,6 +11498,78 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
10790
11498
|
};
|
|
10791
11499
|
Relationships: [];
|
|
10792
11500
|
};
|
|
11501
|
+
werkbon_package_ai_rules: {
|
|
11502
|
+
Row: {
|
|
11503
|
+
active: boolean;
|
|
11504
|
+
case_sensitive: boolean;
|
|
11505
|
+
created_at: string;
|
|
11506
|
+
id: string;
|
|
11507
|
+
package_id: string;
|
|
11508
|
+
priority: number;
|
|
11509
|
+
rule_type: string;
|
|
11510
|
+
updated_at: string;
|
|
11511
|
+
value: string;
|
|
11512
|
+
};
|
|
11513
|
+
Insert: {
|
|
11514
|
+
active?: boolean;
|
|
11515
|
+
case_sensitive?: boolean;
|
|
11516
|
+
created_at?: string;
|
|
11517
|
+
id?: string;
|
|
11518
|
+
package_id: string;
|
|
11519
|
+
priority?: number;
|
|
11520
|
+
rule_type: string;
|
|
11521
|
+
updated_at?: string;
|
|
11522
|
+
value: string;
|
|
11523
|
+
};
|
|
11524
|
+
Update: {
|
|
11525
|
+
active?: boolean;
|
|
11526
|
+
case_sensitive?: boolean;
|
|
11527
|
+
created_at?: string;
|
|
11528
|
+
id?: string;
|
|
11529
|
+
package_id?: string;
|
|
11530
|
+
priority?: number;
|
|
11531
|
+
rule_type?: string;
|
|
11532
|
+
updated_at?: string;
|
|
11533
|
+
value?: string;
|
|
11534
|
+
};
|
|
11535
|
+
Relationships: [{
|
|
11536
|
+
foreignKeyName: "werkbon_package_ai_rules_package_id_fkey";
|
|
11537
|
+
columns: ["package_id"];
|
|
11538
|
+
isOneToOne: false;
|
|
11539
|
+
referencedRelation: "werkbon_packages";
|
|
11540
|
+
referencedColumns: ["id"];
|
|
11541
|
+
}];
|
|
11542
|
+
};
|
|
11543
|
+
werkbon_package_categories: {
|
|
11544
|
+
Row: {
|
|
11545
|
+
active: boolean;
|
|
11546
|
+
created_at: string;
|
|
11547
|
+
id: string;
|
|
11548
|
+
kleur: string | null;
|
|
11549
|
+
naam: string;
|
|
11550
|
+
sort_order: number;
|
|
11551
|
+
updated_at: string;
|
|
11552
|
+
};
|
|
11553
|
+
Insert: {
|
|
11554
|
+
active?: boolean;
|
|
11555
|
+
created_at?: string;
|
|
11556
|
+
id?: string;
|
|
11557
|
+
kleur?: string | null;
|
|
11558
|
+
naam: string;
|
|
11559
|
+
sort_order?: number;
|
|
11560
|
+
updated_at?: string;
|
|
11561
|
+
};
|
|
11562
|
+
Update: {
|
|
11563
|
+
active?: boolean;
|
|
11564
|
+
created_at?: string;
|
|
11565
|
+
id?: string;
|
|
11566
|
+
kleur?: string | null;
|
|
11567
|
+
naam?: string;
|
|
11568
|
+
sort_order?: number;
|
|
11569
|
+
updated_at?: string;
|
|
11570
|
+
};
|
|
11571
|
+
Relationships: [];
|
|
11572
|
+
};
|
|
10793
11573
|
werkbon_package_lines: {
|
|
10794
11574
|
Row: {
|
|
10795
11575
|
created_at: string;
|
|
@@ -10835,38 +11615,59 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
10835
11615
|
werkbon_packages: {
|
|
10836
11616
|
Row: {
|
|
10837
11617
|
active: boolean;
|
|
11618
|
+
ai_tags: string[];
|
|
11619
|
+
category_id: string | null;
|
|
10838
11620
|
code: string;
|
|
10839
11621
|
created_at: string;
|
|
10840
11622
|
default_quantity: number;
|
|
10841
11623
|
description: string | null;
|
|
11624
|
+
duration_minutes: number | null;
|
|
10842
11625
|
id: string;
|
|
11626
|
+
mandaat_type: string | null;
|
|
10843
11627
|
name: string;
|
|
11628
|
+
sort_order: number;
|
|
10844
11629
|
unit_price_cents: number;
|
|
10845
11630
|
updated_at: string;
|
|
10846
11631
|
};
|
|
10847
11632
|
Insert: {
|
|
10848
11633
|
active?: boolean;
|
|
11634
|
+
ai_tags?: string[];
|
|
11635
|
+
category_id?: string | null;
|
|
10849
11636
|
code: string;
|
|
10850
11637
|
created_at?: string;
|
|
10851
11638
|
default_quantity?: number;
|
|
10852
11639
|
description?: string | null;
|
|
11640
|
+
duration_minutes?: number | null;
|
|
10853
11641
|
id?: string;
|
|
11642
|
+
mandaat_type?: string | null;
|
|
10854
11643
|
name: string;
|
|
11644
|
+
sort_order?: number;
|
|
10855
11645
|
unit_price_cents?: number;
|
|
10856
11646
|
updated_at?: string;
|
|
10857
11647
|
};
|
|
10858
11648
|
Update: {
|
|
10859
11649
|
active?: boolean;
|
|
11650
|
+
ai_tags?: string[];
|
|
11651
|
+
category_id?: string | null;
|
|
10860
11652
|
code?: string;
|
|
10861
11653
|
created_at?: string;
|
|
10862
11654
|
default_quantity?: number;
|
|
10863
11655
|
description?: string | null;
|
|
11656
|
+
duration_minutes?: number | null;
|
|
10864
11657
|
id?: string;
|
|
11658
|
+
mandaat_type?: string | null;
|
|
10865
11659
|
name?: string;
|
|
11660
|
+
sort_order?: number;
|
|
10866
11661
|
unit_price_cents?: number;
|
|
10867
11662
|
updated_at?: string;
|
|
10868
11663
|
};
|
|
10869
|
-
Relationships: [
|
|
11664
|
+
Relationships: [{
|
|
11665
|
+
foreignKeyName: "werkbon_packages_category_id_fkey";
|
|
11666
|
+
columns: ["category_id"];
|
|
11667
|
+
isOneToOne: false;
|
|
11668
|
+
referencedRelation: "werkbon_package_categories";
|
|
11669
|
+
referencedColumns: ["id"];
|
|
11670
|
+
}];
|
|
10870
11671
|
};
|
|
10871
11672
|
werkbon_photos: {
|
|
10872
11673
|
Row: {
|
|
@@ -10954,7 +11755,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
10954
11755
|
scheduled_end_time: string | null;
|
|
10955
11756
|
scheduled_start_time: string | null;
|
|
10956
11757
|
sequence_number: number;
|
|
11758
|
+
source_email_meta: import("../integrations/supabase/types").Json | null;
|
|
11759
|
+
source_mailbox_message_id: string | null;
|
|
10957
11760
|
source_pdf_path: string | null;
|
|
11761
|
+
source_type: string;
|
|
10958
11762
|
status: string;
|
|
10959
11763
|
technician_id: string | null;
|
|
10960
11764
|
technician_notes: string | null;
|
|
@@ -10983,7 +11787,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
10983
11787
|
scheduled_end_time?: string | null;
|
|
10984
11788
|
scheduled_start_time?: string | null;
|
|
10985
11789
|
sequence_number: number;
|
|
11790
|
+
source_email_meta?: import("../integrations/supabase/types").Json | null;
|
|
11791
|
+
source_mailbox_message_id?: string | null;
|
|
10986
11792
|
source_pdf_path?: string | null;
|
|
11793
|
+
source_type?: string;
|
|
10987
11794
|
status?: string;
|
|
10988
11795
|
technician_id?: string | null;
|
|
10989
11796
|
technician_notes?: string | null;
|
|
@@ -11012,7 +11819,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
11012
11819
|
scheduled_end_time?: string | null;
|
|
11013
11820
|
scheduled_start_time?: string | null;
|
|
11014
11821
|
sequence_number?: number;
|
|
11822
|
+
source_email_meta?: import("../integrations/supabase/types").Json | null;
|
|
11823
|
+
source_mailbox_message_id?: string | null;
|
|
11015
11824
|
source_pdf_path?: string | null;
|
|
11825
|
+
source_type?: string;
|
|
11016
11826
|
status?: string;
|
|
11017
11827
|
technician_id?: string | null;
|
|
11018
11828
|
technician_notes?: string | null;
|
|
@@ -11029,10 +11839,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
11029
11839
|
referencedRelation: "werkbonnen";
|
|
11030
11840
|
referencedColumns: ["id"];
|
|
11031
11841
|
}, {
|
|
11032
|
-
foreignKeyName: "
|
|
11033
|
-
columns: ["
|
|
11842
|
+
foreignKeyName: "werkbonnen_source_mailbox_message_id_fkey";
|
|
11843
|
+
columns: ["source_mailbox_message_id"];
|
|
11034
11844
|
isOneToOne: false;
|
|
11035
|
-
referencedRelation: "
|
|
11845
|
+
referencedRelation: "mailbox_messages";
|
|
11036
11846
|
referencedColumns: ["id"];
|
|
11037
11847
|
}];
|
|
11038
11848
|
};
|
|
@@ -11726,6 +12536,13 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
11726
12536
|
};
|
|
11727
12537
|
Returns: number;
|
|
11728
12538
|
};
|
|
12539
|
+
_migrate_rewrite_stock_key: {
|
|
12540
|
+
Args: {
|
|
12541
|
+
_from_key: string;
|
|
12542
|
+
_to_key: string;
|
|
12543
|
+
};
|
|
12544
|
+
Returns: undefined;
|
|
12545
|
+
};
|
|
11729
12546
|
afh_city_code: {
|
|
11730
12547
|
Args: {
|
|
11731
12548
|
_city: string;
|
|
@@ -11752,6 +12569,21 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
11752
12569
|
};
|
|
11753
12570
|
Returns: string;
|
|
11754
12571
|
};
|
|
12572
|
+
ai_usage_by_module: {
|
|
12573
|
+
Args: {
|
|
12574
|
+
_from: string;
|
|
12575
|
+
_to: string;
|
|
12576
|
+
};
|
|
12577
|
+
Returns: {
|
|
12578
|
+
calls: number;
|
|
12579
|
+
consumer_module_id: string;
|
|
12580
|
+
cost_usd: number;
|
|
12581
|
+
errors: number;
|
|
12582
|
+
input_tokens: number;
|
|
12583
|
+
output_tokens: number;
|
|
12584
|
+
total_tokens: number;
|
|
12585
|
+
}[];
|
|
12586
|
+
};
|
|
11755
12587
|
apply_stock_consumption: {
|
|
11756
12588
|
Args: {
|
|
11757
12589
|
p_order_id: string;
|
|
@@ -11809,6 +12641,12 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
11809
12641
|
processed_items: number;
|
|
11810
12642
|
}[];
|
|
11811
12643
|
};
|
|
12644
|
+
calculate_layer_stock: {
|
|
12645
|
+
Args: {
|
|
12646
|
+
p_product_id: string;
|
|
12647
|
+
};
|
|
12648
|
+
Returns: number;
|
|
12649
|
+
};
|
|
11812
12650
|
call_exact_route: {
|
|
11813
12651
|
Args: {
|
|
11814
12652
|
path: string;
|
|
@@ -11868,6 +12706,28 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
11868
12706
|
Args: never;
|
|
11869
12707
|
Returns: undefined;
|
|
11870
12708
|
};
|
|
12709
|
+
consume_bom_for_production: {
|
|
12710
|
+
Args: {
|
|
12711
|
+
p_connection_id: string;
|
|
12712
|
+
p_parent_id: string;
|
|
12713
|
+
p_parent_key: string;
|
|
12714
|
+
p_parent_kind: string;
|
|
12715
|
+
p_quantity: number;
|
|
12716
|
+
p_user_id: string;
|
|
12717
|
+
};
|
|
12718
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
12719
|
+
} | {
|
|
12720
|
+
Args: {
|
|
12721
|
+
p_batch_id?: string;
|
|
12722
|
+
p_connection_id: string;
|
|
12723
|
+
p_parent_id: string;
|
|
12724
|
+
p_parent_key: string;
|
|
12725
|
+
p_parent_kind: string;
|
|
12726
|
+
p_quantity: number;
|
|
12727
|
+
p_user_id: string;
|
|
12728
|
+
};
|
|
12729
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
12730
|
+
};
|
|
11871
12731
|
consume_floriday_rate_limit: {
|
|
11872
12732
|
Args: {
|
|
11873
12733
|
p_bucket: string;
|
|
@@ -11900,6 +12760,12 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
11900
12760
|
Args: never;
|
|
11901
12761
|
Returns: string;
|
|
11902
12762
|
};
|
|
12763
|
+
custom_access_token_hook: {
|
|
12764
|
+
Args: {
|
|
12765
|
+
event: import("../integrations/supabase/types").Json;
|
|
12766
|
+
};
|
|
12767
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
12768
|
+
};
|
|
11903
12769
|
dashboard_alert_counts: {
|
|
11904
12770
|
Args: never;
|
|
11905
12771
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -11919,6 +12785,13 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
11919
12785
|
table_name: string;
|
|
11920
12786
|
}[];
|
|
11921
12787
|
};
|
|
12788
|
+
delete_samenstelling: {
|
|
12789
|
+
Args: {
|
|
12790
|
+
p_parent_id: string;
|
|
12791
|
+
p_parent_kind: string;
|
|
12792
|
+
};
|
|
12793
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
12794
|
+
};
|
|
11922
12795
|
dispatch_carrier_signups_sql: {
|
|
11923
12796
|
Args: {
|
|
11924
12797
|
_catchup?: string;
|
|
@@ -12174,6 +13047,27 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
12174
13047
|
minutes_since_success: number;
|
|
12175
13048
|
}[];
|
|
12176
13049
|
};
|
|
13050
|
+
get_group_allocation_keys: {
|
|
13051
|
+
Args: {
|
|
13052
|
+
p_product_id: string;
|
|
13053
|
+
};
|
|
13054
|
+
Returns: {
|
|
13055
|
+
k: string;
|
|
13056
|
+
ord: number;
|
|
13057
|
+
}[];
|
|
13058
|
+
};
|
|
13059
|
+
get_group_head_key: {
|
|
13060
|
+
Args: {
|
|
13061
|
+
p_group_id: string;
|
|
13062
|
+
};
|
|
13063
|
+
Returns: string;
|
|
13064
|
+
};
|
|
13065
|
+
get_inventory_stock_for_key: {
|
|
13066
|
+
Args: {
|
|
13067
|
+
p_key: string;
|
|
13068
|
+
};
|
|
13069
|
+
Returns: number;
|
|
13070
|
+
};
|
|
12177
13071
|
get_offer_by_link_code: {
|
|
12178
13072
|
Args: {
|
|
12179
13073
|
p_code: string;
|
|
@@ -12204,6 +13098,12 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
12204
13098
|
};
|
|
12205
13099
|
Returns: string;
|
|
12206
13100
|
};
|
|
13101
|
+
get_product_group_available_stock: {
|
|
13102
|
+
Args: {
|
|
13103
|
+
p_group_id: string;
|
|
13104
|
+
};
|
|
13105
|
+
Returns: number;
|
|
13106
|
+
};
|
|
12207
13107
|
get_room_busy_windows: {
|
|
12208
13108
|
Args: {
|
|
12209
13109
|
p_from: string;
|
|
@@ -12268,12 +13168,35 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
12268
13168
|
};
|
|
12269
13169
|
Returns: boolean;
|
|
12270
13170
|
};
|
|
13171
|
+
jwt_has_role: {
|
|
13172
|
+
Args: {
|
|
13173
|
+
_role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
13174
|
+
};
|
|
13175
|
+
Returns: boolean;
|
|
13176
|
+
};
|
|
12271
13177
|
list_monteurs: {
|
|
12272
13178
|
Args: never;
|
|
12273
13179
|
Returns: {
|
|
13180
|
+
avatar_url: string;
|
|
12274
13181
|
display_name: string;
|
|
12275
13182
|
email: string;
|
|
12276
|
-
|
|
13183
|
+
id: string;
|
|
13184
|
+
}[];
|
|
13185
|
+
};
|
|
13186
|
+
list_my_planning_items: {
|
|
13187
|
+
Args: {
|
|
13188
|
+
_from: string;
|
|
13189
|
+
_to: string;
|
|
13190
|
+
};
|
|
13191
|
+
Returns: {
|
|
13192
|
+
assigned_monteur_id: string;
|
|
13193
|
+
end_at: string;
|
|
13194
|
+
id: string;
|
|
13195
|
+
notes: string;
|
|
13196
|
+
role: string;
|
|
13197
|
+
start_at: string;
|
|
13198
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
|
|
13199
|
+
werkbon_id: string;
|
|
12277
13200
|
}[];
|
|
12278
13201
|
};
|
|
12279
13202
|
local_effective_price: {
|
|
@@ -12292,6 +13215,22 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
12292
13215
|
source_id: string;
|
|
12293
13216
|
}[];
|
|
12294
13217
|
};
|
|
13218
|
+
log_ai_call: {
|
|
13219
|
+
Args: {
|
|
13220
|
+
_consumer_module_id: string;
|
|
13221
|
+
_cost_usd: number;
|
|
13222
|
+
_duration_ms: number;
|
|
13223
|
+
_error_code: string;
|
|
13224
|
+
_error_message: string;
|
|
13225
|
+
_input_tokens: number;
|
|
13226
|
+
_model_slug: string;
|
|
13227
|
+
_output_tokens: number;
|
|
13228
|
+
_provider_slug: string;
|
|
13229
|
+
_status: string;
|
|
13230
|
+
_total_tokens: number;
|
|
13231
|
+
};
|
|
13232
|
+
Returns: string;
|
|
13233
|
+
};
|
|
12295
13234
|
mark_offer_clicked: {
|
|
12296
13235
|
Args: {
|
|
12297
13236
|
p_code: string;
|
|
@@ -12304,12 +13243,32 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
12304
13243
|
};
|
|
12305
13244
|
Returns: undefined;
|
|
12306
13245
|
};
|
|
13246
|
+
mark_salesorder_controlled: {
|
|
13247
|
+
Args: {
|
|
13248
|
+
p_controlled: boolean;
|
|
13249
|
+
p_floriday_id: string;
|
|
13250
|
+
};
|
|
13251
|
+
Returns: undefined;
|
|
13252
|
+
};
|
|
12307
13253
|
mark_shipment_shipped: {
|
|
12308
13254
|
Args: {
|
|
12309
13255
|
p_shipment_id: string;
|
|
12310
13256
|
};
|
|
12311
13257
|
Returns: undefined;
|
|
12312
13258
|
};
|
|
13259
|
+
merge_products: {
|
|
13260
|
+
Args: {
|
|
13261
|
+
_canonical: string;
|
|
13262
|
+
_loser: string;
|
|
13263
|
+
};
|
|
13264
|
+
Returns: undefined;
|
|
13265
|
+
};
|
|
13266
|
+
next_manufacture_partij: {
|
|
13267
|
+
Args: {
|
|
13268
|
+
_tenant_id: string;
|
|
13269
|
+
};
|
|
13270
|
+
Returns: string;
|
|
13271
|
+
};
|
|
12313
13272
|
next_order_number: {
|
|
12314
13273
|
Args: {
|
|
12315
13274
|
p_prefix: string;
|
|
@@ -12383,6 +13342,15 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
12383
13342
|
};
|
|
12384
13343
|
Returns: undefined;
|
|
12385
13344
|
};
|
|
13345
|
+
pickstation_resolve_delivery_orders: {
|
|
13346
|
+
Args: {
|
|
13347
|
+
p_sales_order_ids: string[];
|
|
13348
|
+
};
|
|
13349
|
+
Returns: {
|
|
13350
|
+
delivery_order_id: string;
|
|
13351
|
+
sales_order_id: string;
|
|
13352
|
+
}[];
|
|
13353
|
+
};
|
|
12386
13354
|
pickstation_set_cart_status: {
|
|
12387
13355
|
Args: {
|
|
12388
13356
|
p_cart_index: number;
|
|
@@ -12392,6 +13360,14 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
12392
13360
|
};
|
|
12393
13361
|
Returns: undefined;
|
|
12394
13362
|
};
|
|
13363
|
+
produce_designed_product: {
|
|
13364
|
+
Args: {
|
|
13365
|
+
p_parent_id: string;
|
|
13366
|
+
p_parent_kind: string;
|
|
13367
|
+
p_quantity: number;
|
|
13368
|
+
};
|
|
13369
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
13370
|
+
};
|
|
12395
13371
|
promote_trade_item_key: {
|
|
12396
13372
|
Args: {
|
|
12397
13373
|
p_new: string;
|
|
@@ -12399,6 +13375,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
12399
13375
|
};
|
|
12400
13376
|
Returns: undefined;
|
|
12401
13377
|
};
|
|
13378
|
+
recompute_all_reserved_stock: {
|
|
13379
|
+
Args: never;
|
|
13380
|
+
Returns: undefined;
|
|
13381
|
+
};
|
|
12402
13382
|
recompute_order_status: {
|
|
12403
13383
|
Args: {
|
|
12404
13384
|
p_order_id: string;
|
|
@@ -12454,18 +13434,50 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
12454
13434
|
};
|
|
12455
13435
|
Returns: undefined;
|
|
12456
13436
|
};
|
|
13437
|
+
resolve_group_allocation: {
|
|
13438
|
+
Args: {
|
|
13439
|
+
_needed: number;
|
|
13440
|
+
_product_group_id: string;
|
|
13441
|
+
};
|
|
13442
|
+
Returns: {
|
|
13443
|
+
allocated: number;
|
|
13444
|
+
trade_item_id: string;
|
|
13445
|
+
}[];
|
|
13446
|
+
};
|
|
13447
|
+
resolve_group_member_stock_key: {
|
|
13448
|
+
Args: {
|
|
13449
|
+
p_trade_item_id: string;
|
|
13450
|
+
};
|
|
13451
|
+
Returns: string;
|
|
13452
|
+
};
|
|
12457
13453
|
resolve_product_id_for_item: {
|
|
12458
13454
|
Args: {
|
|
12459
13455
|
p_product_name: string;
|
|
12460
13456
|
};
|
|
12461
13457
|
Returns: string;
|
|
12462
13458
|
};
|
|
13459
|
+
resolve_stock_trade_item_key: {
|
|
13460
|
+
Args: {
|
|
13461
|
+
p_product_id: string;
|
|
13462
|
+
};
|
|
13463
|
+
Returns: string;
|
|
13464
|
+
};
|
|
12463
13465
|
retry_twinfield_push: {
|
|
12464
13466
|
Args: {
|
|
12465
13467
|
_customer_id: string;
|
|
12466
13468
|
};
|
|
12467
13469
|
Returns: number;
|
|
12468
13470
|
};
|
|
13471
|
+
reverse_production: {
|
|
13472
|
+
Args: {
|
|
13473
|
+
p_connection_id?: string;
|
|
13474
|
+
p_parent_key: string;
|
|
13475
|
+
p_quantity: number;
|
|
13476
|
+
p_reason?: string;
|
|
13477
|
+
p_user_id?: string;
|
|
13478
|
+
};
|
|
13479
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
13480
|
+
};
|
|
12469
13481
|
schedule_floriday_additional_services_sync: {
|
|
12470
13482
|
Args: {
|
|
12471
13483
|
p_apikey: string;
|
|
@@ -12733,6 +13745,17 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
12733
13745
|
};
|
|
12734
13746
|
Returns: number;
|
|
12735
13747
|
};
|
|
13748
|
+
self_heal_floriday_links: {
|
|
13749
|
+
Args: never;
|
|
13750
|
+
Returns: number;
|
|
13751
|
+
};
|
|
13752
|
+
set_planning_status: {
|
|
13753
|
+
Args: {
|
|
13754
|
+
_id: string;
|
|
13755
|
+
_status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
|
|
13756
|
+
};
|
|
13757
|
+
Returns: undefined;
|
|
13758
|
+
};
|
|
12736
13759
|
show_limit: {
|
|
12737
13760
|
Args: never;
|
|
12738
13761
|
Returns: number;
|
|
@@ -12743,18 +13766,34 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
12743
13766
|
};
|
|
12744
13767
|
Returns: string[];
|
|
12745
13768
|
};
|
|
13769
|
+
sync_all_layer_stocks: {
|
|
13770
|
+
Args: never;
|
|
13771
|
+
Returns: undefined;
|
|
13772
|
+
};
|
|
12746
13773
|
sync_cached_packing_from_product: {
|
|
12747
13774
|
Args: {
|
|
12748
13775
|
p_product_id: string;
|
|
12749
13776
|
};
|
|
12750
13777
|
Returns: undefined;
|
|
12751
13778
|
};
|
|
13779
|
+
sync_layer_stock: {
|
|
13780
|
+
Args: {
|
|
13781
|
+
p_product_id: string;
|
|
13782
|
+
};
|
|
13783
|
+
Returns: undefined;
|
|
13784
|
+
};
|
|
12752
13785
|
sync_order_cart_item_packing_from_product: {
|
|
12753
13786
|
Args: {
|
|
12754
13787
|
p_product_id: string;
|
|
12755
13788
|
};
|
|
12756
13789
|
Returns: undefined;
|
|
12757
13790
|
};
|
|
13791
|
+
sync_product_group_belading: {
|
|
13792
|
+
Args: {
|
|
13793
|
+
_group_id: string;
|
|
13794
|
+
};
|
|
13795
|
+
Returns: undefined;
|
|
13796
|
+
};
|
|
12758
13797
|
sync_product_packing_from_floriday_cache: {
|
|
12759
13798
|
Args: {
|
|
12760
13799
|
p_floriday_id: string;
|
|
@@ -12786,11 +13825,12 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
12786
13825
|
};
|
|
12787
13826
|
};
|
|
12788
13827
|
Enums: {
|
|
12789
|
-
app_role: "admin" | "planner" | "monteur" | "administratie";
|
|
13828
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
12790
13829
|
exact_env: "staging" | "live";
|
|
12791
13830
|
exact_push_status: "pending" | "sent" | "error";
|
|
12792
13831
|
itk_customer_segment: "Business" | "Private";
|
|
12793
13832
|
itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
|
|
13833
|
+
planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd" | "concept" | "vrijgegeven";
|
|
12794
13834
|
quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
|
|
12795
13835
|
};
|
|
12796
13836
|
CompositeTypes: { [_ in never]: never; };
|