@flowselections/floriday-verkoop-module 1.0.24 → 1.0.25
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
|
@@ -278,6 +278,57 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
278
278
|
referencedColumns: ["id"];
|
|
279
279
|
}];
|
|
280
280
|
};
|
|
281
|
+
ai_call_log: {
|
|
282
|
+
Row: {
|
|
283
|
+
consumer_module_id: string;
|
|
284
|
+
cost_usd: number | null;
|
|
285
|
+
created_at: string;
|
|
286
|
+
created_by: string | null;
|
|
287
|
+
duration_ms: number | null;
|
|
288
|
+
error_code: string | null;
|
|
289
|
+
error_message: string | null;
|
|
290
|
+
id: string;
|
|
291
|
+
input_tokens: number;
|
|
292
|
+
model_slug: string | null;
|
|
293
|
+
output_tokens: number;
|
|
294
|
+
provider_slug: string | null;
|
|
295
|
+
status: string;
|
|
296
|
+
total_tokens: number;
|
|
297
|
+
};
|
|
298
|
+
Insert: {
|
|
299
|
+
consumer_module_id: string;
|
|
300
|
+
cost_usd?: number | null;
|
|
301
|
+
created_at?: string;
|
|
302
|
+
created_by?: string | null;
|
|
303
|
+
duration_ms?: number | null;
|
|
304
|
+
error_code?: string | null;
|
|
305
|
+
error_message?: string | null;
|
|
306
|
+
id?: string;
|
|
307
|
+
input_tokens?: number;
|
|
308
|
+
model_slug?: string | null;
|
|
309
|
+
output_tokens?: number;
|
|
310
|
+
provider_slug?: string | null;
|
|
311
|
+
status: string;
|
|
312
|
+
total_tokens?: number;
|
|
313
|
+
};
|
|
314
|
+
Update: {
|
|
315
|
+
consumer_module_id?: string;
|
|
316
|
+
cost_usd?: number | null;
|
|
317
|
+
created_at?: string;
|
|
318
|
+
created_by?: string | null;
|
|
319
|
+
duration_ms?: number | null;
|
|
320
|
+
error_code?: string | null;
|
|
321
|
+
error_message?: string | null;
|
|
322
|
+
id?: string;
|
|
323
|
+
input_tokens?: number;
|
|
324
|
+
model_slug?: string | null;
|
|
325
|
+
output_tokens?: number;
|
|
326
|
+
provider_slug?: string | null;
|
|
327
|
+
status?: string;
|
|
328
|
+
total_tokens?: number;
|
|
329
|
+
};
|
|
330
|
+
Relationships: [];
|
|
331
|
+
};
|
|
281
332
|
ai_credentials: {
|
|
282
333
|
Row: {
|
|
283
334
|
active: boolean;
|
|
@@ -314,6 +365,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
314
365
|
referencedColumns: ["id"];
|
|
315
366
|
}];
|
|
316
367
|
};
|
|
368
|
+
ai_goals: {
|
|
369
|
+
Row: {
|
|
370
|
+
active: boolean;
|
|
371
|
+
created_at: string;
|
|
372
|
+
description: string | null;
|
|
373
|
+
key: string;
|
|
374
|
+
label: string;
|
|
375
|
+
sort_order: number;
|
|
376
|
+
updated_at: string;
|
|
377
|
+
};
|
|
378
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
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
|
+
Relationships: [];
|
|
397
|
+
};
|
|
317
398
|
ai_model_pricing: {
|
|
318
399
|
Row: {
|
|
319
400
|
created_at: string;
|
|
@@ -6458,6 +6539,285 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6458
6539
|
};
|
|
6459
6540
|
Relationships: [];
|
|
6460
6541
|
};
|
|
6542
|
+
logistics_capacity_events: {
|
|
6543
|
+
Row: {
|
|
6544
|
+
available_carts: number;
|
|
6545
|
+
created_at: string;
|
|
6546
|
+
id: string;
|
|
6547
|
+
measures: import("./types").Json;
|
|
6548
|
+
note: string | null;
|
|
6549
|
+
outcome: string;
|
|
6550
|
+
required_carts: number;
|
|
6551
|
+
reserve_minutes: number;
|
|
6552
|
+
shortage_carts: number;
|
|
6553
|
+
status: string;
|
|
6554
|
+
user_id: string;
|
|
6555
|
+
};
|
|
6556
|
+
Insert: {
|
|
6557
|
+
available_carts?: number;
|
|
6558
|
+
created_at?: string;
|
|
6559
|
+
id?: string;
|
|
6560
|
+
measures?: import("./types").Json;
|
|
6561
|
+
note?: string | null;
|
|
6562
|
+
outcome?: string;
|
|
6563
|
+
required_carts?: number;
|
|
6564
|
+
reserve_minutes?: number;
|
|
6565
|
+
shortage_carts?: number;
|
|
6566
|
+
status: string;
|
|
6567
|
+
user_id: string;
|
|
6568
|
+
};
|
|
6569
|
+
Update: {
|
|
6570
|
+
available_carts?: number;
|
|
6571
|
+
created_at?: string;
|
|
6572
|
+
id?: string;
|
|
6573
|
+
measures?: import("./types").Json;
|
|
6574
|
+
note?: string | null;
|
|
6575
|
+
outcome?: string;
|
|
6576
|
+
required_carts?: number;
|
|
6577
|
+
reserve_minutes?: number;
|
|
6578
|
+
shortage_carts?: number;
|
|
6579
|
+
status?: string;
|
|
6580
|
+
user_id?: string;
|
|
6581
|
+
};
|
|
6582
|
+
Relationships: [];
|
|
6583
|
+
};
|
|
6584
|
+
logistics_capacity_settings: {
|
|
6585
|
+
Row: {
|
|
6586
|
+
created_at: string;
|
|
6587
|
+
settings: import("./types").Json;
|
|
6588
|
+
updated_at: string;
|
|
6589
|
+
user_id: string;
|
|
6590
|
+
};
|
|
6591
|
+
Insert: {
|
|
6592
|
+
created_at?: string;
|
|
6593
|
+
settings?: import("./types").Json;
|
|
6594
|
+
updated_at?: string;
|
|
6595
|
+
user_id: string;
|
|
6596
|
+
};
|
|
6597
|
+
Update: {
|
|
6598
|
+
created_at?: string;
|
|
6599
|
+
settings?: import("./types").Json;
|
|
6600
|
+
updated_at?: string;
|
|
6601
|
+
user_id?: string;
|
|
6602
|
+
};
|
|
6603
|
+
Relationships: [];
|
|
6604
|
+
};
|
|
6605
|
+
logistics_decisions: {
|
|
6606
|
+
Row: {
|
|
6607
|
+
created_at: string;
|
|
6608
|
+
explanation: string | null;
|
|
6609
|
+
id: string;
|
|
6610
|
+
input_snapshot: import("./types").Json;
|
|
6611
|
+
result: import("./types").Json;
|
|
6612
|
+
slot: string;
|
|
6613
|
+
strategy_id: string | null;
|
|
6614
|
+
subject_id: string;
|
|
6615
|
+
subject_type: string;
|
|
6616
|
+
user_id: string;
|
|
6617
|
+
};
|
|
6618
|
+
Insert: {
|
|
6619
|
+
created_at?: string;
|
|
6620
|
+
explanation?: string | null;
|
|
6621
|
+
id?: string;
|
|
6622
|
+
input_snapshot?: import("./types").Json;
|
|
6623
|
+
result?: import("./types").Json;
|
|
6624
|
+
slot: string;
|
|
6625
|
+
strategy_id?: string | null;
|
|
6626
|
+
subject_id: string;
|
|
6627
|
+
subject_type: string;
|
|
6628
|
+
user_id: string;
|
|
6629
|
+
};
|
|
6630
|
+
Update: {
|
|
6631
|
+
created_at?: string;
|
|
6632
|
+
explanation?: string | null;
|
|
6633
|
+
id?: string;
|
|
6634
|
+
input_snapshot?: import("./types").Json;
|
|
6635
|
+
result?: import("./types").Json;
|
|
6636
|
+
slot?: string;
|
|
6637
|
+
strategy_id?: string | null;
|
|
6638
|
+
subject_id?: string;
|
|
6639
|
+
subject_type?: string;
|
|
6640
|
+
user_id?: string;
|
|
6641
|
+
};
|
|
6642
|
+
Relationships: [{
|
|
6643
|
+
foreignKeyName: "logistics_decisions_strategy_id_fkey";
|
|
6644
|
+
columns: ["strategy_id"];
|
|
6645
|
+
isOneToOne: false;
|
|
6646
|
+
referencedRelation: "logistics_strategies";
|
|
6647
|
+
referencedColumns: ["id"];
|
|
6648
|
+
}];
|
|
6649
|
+
};
|
|
6650
|
+
logistics_formulas: {
|
|
6651
|
+
Row: {
|
|
6652
|
+
created_at: string;
|
|
6653
|
+
expression: string;
|
|
6654
|
+
id: string;
|
|
6655
|
+
notes: string | null;
|
|
6656
|
+
slot: string;
|
|
6657
|
+
strategy_id: string;
|
|
6658
|
+
updated_at: string;
|
|
6659
|
+
user_id: string;
|
|
6660
|
+
version: number;
|
|
6661
|
+
};
|
|
6662
|
+
Insert: {
|
|
6663
|
+
created_at?: string;
|
|
6664
|
+
expression?: string;
|
|
6665
|
+
id?: string;
|
|
6666
|
+
notes?: string | null;
|
|
6667
|
+
slot: string;
|
|
6668
|
+
strategy_id: string;
|
|
6669
|
+
updated_at?: string;
|
|
6670
|
+
user_id: string;
|
|
6671
|
+
version?: number;
|
|
6672
|
+
};
|
|
6673
|
+
Update: {
|
|
6674
|
+
created_at?: string;
|
|
6675
|
+
expression?: string;
|
|
6676
|
+
id?: string;
|
|
6677
|
+
notes?: string | null;
|
|
6678
|
+
slot?: string;
|
|
6679
|
+
strategy_id?: string;
|
|
6680
|
+
updated_at?: string;
|
|
6681
|
+
user_id?: string;
|
|
6682
|
+
version?: number;
|
|
6683
|
+
};
|
|
6684
|
+
Relationships: [{
|
|
6685
|
+
foreignKeyName: "logistics_formulas_strategy_id_fkey";
|
|
6686
|
+
columns: ["strategy_id"];
|
|
6687
|
+
isOneToOne: false;
|
|
6688
|
+
referencedRelation: "logistics_strategies";
|
|
6689
|
+
referencedColumns: ["id"];
|
|
6690
|
+
}];
|
|
6691
|
+
};
|
|
6692
|
+
logistics_strategies: {
|
|
6693
|
+
Row: {
|
|
6694
|
+
color: string;
|
|
6695
|
+
created_at: string;
|
|
6696
|
+
description: string | null;
|
|
6697
|
+
id: string;
|
|
6698
|
+
is_active: boolean;
|
|
6699
|
+
name: string;
|
|
6700
|
+
priority: number;
|
|
6701
|
+
updated_at: string;
|
|
6702
|
+
updated_by: string | null;
|
|
6703
|
+
user_id: string;
|
|
6704
|
+
version: number;
|
|
6705
|
+
};
|
|
6706
|
+
Insert: {
|
|
6707
|
+
color?: string;
|
|
6708
|
+
created_at?: string;
|
|
6709
|
+
description?: string | null;
|
|
6710
|
+
id?: string;
|
|
6711
|
+
is_active?: boolean;
|
|
6712
|
+
name: string;
|
|
6713
|
+
priority?: number;
|
|
6714
|
+
updated_at?: string;
|
|
6715
|
+
updated_by?: string | null;
|
|
6716
|
+
user_id: string;
|
|
6717
|
+
version?: number;
|
|
6718
|
+
};
|
|
6719
|
+
Update: {
|
|
6720
|
+
color?: string;
|
|
6721
|
+
created_at?: string;
|
|
6722
|
+
description?: string | null;
|
|
6723
|
+
id?: string;
|
|
6724
|
+
is_active?: boolean;
|
|
6725
|
+
name?: string;
|
|
6726
|
+
priority?: number;
|
|
6727
|
+
updated_at?: string;
|
|
6728
|
+
updated_by?: string | null;
|
|
6729
|
+
user_id?: string;
|
|
6730
|
+
version?: number;
|
|
6731
|
+
};
|
|
6732
|
+
Relationships: [];
|
|
6733
|
+
};
|
|
6734
|
+
logistics_strategy_schedules: {
|
|
6735
|
+
Row: {
|
|
6736
|
+
condition_expression: string | null;
|
|
6737
|
+
created_at: string;
|
|
6738
|
+
end_date: string | null;
|
|
6739
|
+
id: string;
|
|
6740
|
+
is_enabled: boolean;
|
|
6741
|
+
priority: number;
|
|
6742
|
+
rule_type: string;
|
|
6743
|
+
start_date: string | null;
|
|
6744
|
+
strategy_id: string;
|
|
6745
|
+
updated_at: string;
|
|
6746
|
+
user_id: string;
|
|
6747
|
+
};
|
|
6748
|
+
Insert: {
|
|
6749
|
+
condition_expression?: string | null;
|
|
6750
|
+
created_at?: string;
|
|
6751
|
+
end_date?: string | null;
|
|
6752
|
+
id?: string;
|
|
6753
|
+
is_enabled?: boolean;
|
|
6754
|
+
priority?: number;
|
|
6755
|
+
rule_type: string;
|
|
6756
|
+
start_date?: string | null;
|
|
6757
|
+
strategy_id: string;
|
|
6758
|
+
updated_at?: string;
|
|
6759
|
+
user_id: string;
|
|
6760
|
+
};
|
|
6761
|
+
Update: {
|
|
6762
|
+
condition_expression?: string | null;
|
|
6763
|
+
created_at?: string;
|
|
6764
|
+
end_date?: string | null;
|
|
6765
|
+
id?: string;
|
|
6766
|
+
is_enabled?: boolean;
|
|
6767
|
+
priority?: number;
|
|
6768
|
+
rule_type?: string;
|
|
6769
|
+
start_date?: string | null;
|
|
6770
|
+
strategy_id?: string;
|
|
6771
|
+
updated_at?: string;
|
|
6772
|
+
user_id?: string;
|
|
6773
|
+
};
|
|
6774
|
+
Relationships: [{
|
|
6775
|
+
foreignKeyName: "logistics_strategy_schedules_strategy_id_fkey";
|
|
6776
|
+
columns: ["strategy_id"];
|
|
6777
|
+
isOneToOne: false;
|
|
6778
|
+
referencedRelation: "logistics_strategies";
|
|
6779
|
+
referencedColumns: ["id"];
|
|
6780
|
+
}];
|
|
6781
|
+
};
|
|
6782
|
+
logistics_variables: {
|
|
6783
|
+
Row: {
|
|
6784
|
+
created_at: string;
|
|
6785
|
+
default_value: string | null;
|
|
6786
|
+
description: string | null;
|
|
6787
|
+
id: string;
|
|
6788
|
+
is_builtin: boolean;
|
|
6789
|
+
key: string;
|
|
6790
|
+
label: string;
|
|
6791
|
+
updated_at: string;
|
|
6792
|
+
user_id: string;
|
|
6793
|
+
value_type: string;
|
|
6794
|
+
};
|
|
6795
|
+
Insert: {
|
|
6796
|
+
created_at?: string;
|
|
6797
|
+
default_value?: string | null;
|
|
6798
|
+
description?: string | null;
|
|
6799
|
+
id?: string;
|
|
6800
|
+
is_builtin?: boolean;
|
|
6801
|
+
key: string;
|
|
6802
|
+
label: string;
|
|
6803
|
+
updated_at?: string;
|
|
6804
|
+
user_id: string;
|
|
6805
|
+
value_type: string;
|
|
6806
|
+
};
|
|
6807
|
+
Update: {
|
|
6808
|
+
created_at?: string;
|
|
6809
|
+
default_value?: string | null;
|
|
6810
|
+
description?: string | null;
|
|
6811
|
+
id?: string;
|
|
6812
|
+
is_builtin?: boolean;
|
|
6813
|
+
key?: string;
|
|
6814
|
+
label?: string;
|
|
6815
|
+
updated_at?: string;
|
|
6816
|
+
user_id?: string;
|
|
6817
|
+
value_type?: string;
|
|
6818
|
+
};
|
|
6819
|
+
Relationships: [];
|
|
6820
|
+
};
|
|
6461
6821
|
mailbox_messages: {
|
|
6462
6822
|
Row: {
|
|
6463
6823
|
body_html: string | null;
|
|
@@ -8231,22 +8591,154 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8231
8591
|
};
|
|
8232
8592
|
Relationships: [];
|
|
8233
8593
|
};
|
|
8234
|
-
|
|
8594
|
+
planning_item_assistants: {
|
|
8235
8595
|
Row: {
|
|
8236
|
-
color: string;
|
|
8237
8596
|
created_at: string;
|
|
8238
|
-
|
|
8239
|
-
|
|
8240
|
-
|
|
8241
|
-
slug: string;
|
|
8242
|
-
sort_order: number;
|
|
8243
|
-
updated_at: string;
|
|
8597
|
+
created_by: string | null;
|
|
8598
|
+
monteur_id: string;
|
|
8599
|
+
planning_item_id: string;
|
|
8244
8600
|
};
|
|
8245
8601
|
Insert: {
|
|
8246
|
-
color?: string;
|
|
8247
8602
|
created_at?: string;
|
|
8248
|
-
|
|
8249
|
-
|
|
8603
|
+
created_by?: string | null;
|
|
8604
|
+
monteur_id: string;
|
|
8605
|
+
planning_item_id: string;
|
|
8606
|
+
};
|
|
8607
|
+
Update: {
|
|
8608
|
+
created_at?: string;
|
|
8609
|
+
created_by?: string | null;
|
|
8610
|
+
monteur_id?: string;
|
|
8611
|
+
planning_item_id?: string;
|
|
8612
|
+
};
|
|
8613
|
+
Relationships: [{
|
|
8614
|
+
foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
|
|
8615
|
+
columns: ["planning_item_id"];
|
|
8616
|
+
isOneToOne: false;
|
|
8617
|
+
referencedRelation: "planning_items";
|
|
8618
|
+
referencedColumns: ["id"];
|
|
8619
|
+
}];
|
|
8620
|
+
};
|
|
8621
|
+
planning_items: {
|
|
8622
|
+
Row: {
|
|
8623
|
+
assigned_monteur_id: string;
|
|
8624
|
+
created_at: string;
|
|
8625
|
+
created_by: string | null;
|
|
8626
|
+
end_at: string;
|
|
8627
|
+
id: string;
|
|
8628
|
+
notes: string | null;
|
|
8629
|
+
start_at: string;
|
|
8630
|
+
status: Database["public"]["Enums"]["planning_item_status"];
|
|
8631
|
+
updated_at: string;
|
|
8632
|
+
werkbon_id: string;
|
|
8633
|
+
};
|
|
8634
|
+
Insert: {
|
|
8635
|
+
assigned_monteur_id: string;
|
|
8636
|
+
created_at?: string;
|
|
8637
|
+
created_by?: string | null;
|
|
8638
|
+
end_at: string;
|
|
8639
|
+
id?: string;
|
|
8640
|
+
notes?: string | null;
|
|
8641
|
+
start_at: string;
|
|
8642
|
+
status?: Database["public"]["Enums"]["planning_item_status"];
|
|
8643
|
+
updated_at?: string;
|
|
8644
|
+
werkbon_id: string;
|
|
8645
|
+
};
|
|
8646
|
+
Update: {
|
|
8647
|
+
assigned_monteur_id?: string;
|
|
8648
|
+
created_at?: string;
|
|
8649
|
+
created_by?: string | null;
|
|
8650
|
+
end_at?: string;
|
|
8651
|
+
id?: string;
|
|
8652
|
+
notes?: string | null;
|
|
8653
|
+
start_at?: string;
|
|
8654
|
+
status?: Database["public"]["Enums"]["planning_item_status"];
|
|
8655
|
+
updated_at?: string;
|
|
8656
|
+
werkbon_id?: string;
|
|
8657
|
+
};
|
|
8658
|
+
Relationships: [{
|
|
8659
|
+
foreignKeyName: "planning_items_werkbon_id_fkey";
|
|
8660
|
+
columns: ["werkbon_id"];
|
|
8661
|
+
isOneToOne: false;
|
|
8662
|
+
referencedRelation: "werkbonnen";
|
|
8663
|
+
referencedColumns: ["id"];
|
|
8664
|
+
}];
|
|
8665
|
+
};
|
|
8666
|
+
product_bom_items: {
|
|
8667
|
+
Row: {
|
|
8668
|
+
component_product_id: string | null;
|
|
8669
|
+
component_trade_item_floriday_id: string | null;
|
|
8670
|
+
created_at: string;
|
|
8671
|
+
id: string;
|
|
8672
|
+
notes: string | null;
|
|
8673
|
+
packing_configuration_id: string | null;
|
|
8674
|
+
parent_product_id: string | null;
|
|
8675
|
+
parent_trade_item_floriday_id: string | null;
|
|
8676
|
+
quantity: number;
|
|
8677
|
+
sort_order: number;
|
|
8678
|
+
tenant_id: string;
|
|
8679
|
+
unit: string;
|
|
8680
|
+
updated_at: string;
|
|
8681
|
+
};
|
|
8682
|
+
Insert: {
|
|
8683
|
+
component_product_id?: string | null;
|
|
8684
|
+
component_trade_item_floriday_id?: string | null;
|
|
8685
|
+
created_at?: string;
|
|
8686
|
+
id?: string;
|
|
8687
|
+
notes?: string | null;
|
|
8688
|
+
packing_configuration_id?: string | null;
|
|
8689
|
+
parent_product_id?: string | null;
|
|
8690
|
+
parent_trade_item_floriday_id?: string | null;
|
|
8691
|
+
quantity?: number;
|
|
8692
|
+
sort_order?: number;
|
|
8693
|
+
tenant_id: string;
|
|
8694
|
+
unit?: string;
|
|
8695
|
+
updated_at?: string;
|
|
8696
|
+
};
|
|
8697
|
+
Update: {
|
|
8698
|
+
component_product_id?: string | null;
|
|
8699
|
+
component_trade_item_floriday_id?: string | null;
|
|
8700
|
+
created_at?: string;
|
|
8701
|
+
id?: string;
|
|
8702
|
+
notes?: string | null;
|
|
8703
|
+
packing_configuration_id?: string | null;
|
|
8704
|
+
parent_product_id?: string | null;
|
|
8705
|
+
parent_trade_item_floriday_id?: string | null;
|
|
8706
|
+
quantity?: number;
|
|
8707
|
+
sort_order?: number;
|
|
8708
|
+
tenant_id?: string;
|
|
8709
|
+
unit?: string;
|
|
8710
|
+
updated_at?: string;
|
|
8711
|
+
};
|
|
8712
|
+
Relationships: [{
|
|
8713
|
+
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
8714
|
+
columns: ["component_product_id"];
|
|
8715
|
+
isOneToOne: false;
|
|
8716
|
+
referencedRelation: "products";
|
|
8717
|
+
referencedColumns: ["id"];
|
|
8718
|
+
}, {
|
|
8719
|
+
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
8720
|
+
columns: ["parent_product_id"];
|
|
8721
|
+
isOneToOne: false;
|
|
8722
|
+
referencedRelation: "products";
|
|
8723
|
+
referencedColumns: ["id"];
|
|
8724
|
+
}];
|
|
8725
|
+
};
|
|
8726
|
+
product_categories: {
|
|
8727
|
+
Row: {
|
|
8728
|
+
color: string;
|
|
8729
|
+
created_at: string;
|
|
8730
|
+
icon: string | null;
|
|
8731
|
+
id: string;
|
|
8732
|
+
name: string;
|
|
8733
|
+
slug: string;
|
|
8734
|
+
sort_order: number;
|
|
8735
|
+
updated_at: string;
|
|
8736
|
+
};
|
|
8737
|
+
Insert: {
|
|
8738
|
+
color?: string;
|
|
8739
|
+
created_at?: string;
|
|
8740
|
+
icon?: string | null;
|
|
8741
|
+
id?: string;
|
|
8250
8742
|
name: string;
|
|
8251
8743
|
slug: string;
|
|
8252
8744
|
sort_order?: number;
|
|
@@ -8336,6 +8828,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8336
8828
|
id: string;
|
|
8337
8829
|
product_group_id: string;
|
|
8338
8830
|
quantity: number;
|
|
8831
|
+
sort_order: number;
|
|
8339
8832
|
trade_item_id: string;
|
|
8340
8833
|
};
|
|
8341
8834
|
Insert: {
|
|
@@ -8343,6 +8836,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8343
8836
|
id?: string;
|
|
8344
8837
|
product_group_id: string;
|
|
8345
8838
|
quantity?: number;
|
|
8839
|
+
sort_order?: number;
|
|
8346
8840
|
trade_item_id: string;
|
|
8347
8841
|
};
|
|
8348
8842
|
Update: {
|
|
@@ -8350,6 +8844,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8350
8844
|
id?: string;
|
|
8351
8845
|
product_group_id?: string;
|
|
8352
8846
|
quantity?: number;
|
|
8847
|
+
sort_order?: number;
|
|
8353
8848
|
trade_item_id?: string;
|
|
8354
8849
|
};
|
|
8355
8850
|
Relationships: [{
|
|
@@ -8364,6 +8859,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8364
8859
|
Row: {
|
|
8365
8860
|
created_at: string;
|
|
8366
8861
|
description: string | null;
|
|
8862
|
+
head_product_id: string | null;
|
|
8863
|
+
head_trade_item_floriday_id: string | null;
|
|
8367
8864
|
id: string;
|
|
8368
8865
|
is_active: boolean;
|
|
8369
8866
|
name: string;
|
|
@@ -8373,6 +8870,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8373
8870
|
Insert: {
|
|
8374
8871
|
created_at?: string;
|
|
8375
8872
|
description?: string | null;
|
|
8873
|
+
head_product_id?: string | null;
|
|
8874
|
+
head_trade_item_floriday_id?: string | null;
|
|
8376
8875
|
id?: string;
|
|
8377
8876
|
is_active?: boolean;
|
|
8378
8877
|
name: string;
|
|
@@ -8382,24 +8881,134 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8382
8881
|
Update: {
|
|
8383
8882
|
created_at?: string;
|
|
8384
8883
|
description?: string | null;
|
|
8884
|
+
head_product_id?: string | null;
|
|
8885
|
+
head_trade_item_floriday_id?: string | null;
|
|
8385
8886
|
id?: string;
|
|
8386
8887
|
is_active?: boolean;
|
|
8387
8888
|
name?: string;
|
|
8388
8889
|
tenant_id?: string;
|
|
8389
8890
|
updated_at?: string;
|
|
8390
8891
|
};
|
|
8892
|
+
Relationships: [{
|
|
8893
|
+
foreignKeyName: "product_groups_head_product_id_fkey";
|
|
8894
|
+
columns: ["head_product_id"];
|
|
8895
|
+
isOneToOne: false;
|
|
8896
|
+
referencedRelation: "products";
|
|
8897
|
+
referencedColumns: ["id"];
|
|
8898
|
+
}];
|
|
8899
|
+
};
|
|
8900
|
+
product_load_settings: {
|
|
8901
|
+
Row: {
|
|
8902
|
+
created_at: string;
|
|
8903
|
+
id: string;
|
|
8904
|
+
is_package: boolean;
|
|
8905
|
+
label: string | null;
|
|
8906
|
+
layers_per_load_carrier: number | null;
|
|
8907
|
+
load_carrier: string | null;
|
|
8908
|
+
package_id: string | null;
|
|
8909
|
+
package_label: string | null;
|
|
8910
|
+
packages_per_layer: number | null;
|
|
8911
|
+
packing_configuration_id: string;
|
|
8912
|
+
product_id: string | null;
|
|
8913
|
+
tenant_id: string;
|
|
8914
|
+
trade_item_floriday_id: string | null;
|
|
8915
|
+
units_per_package: number | null;
|
|
8916
|
+
updated_at: string;
|
|
8917
|
+
};
|
|
8918
|
+
Insert: {
|
|
8919
|
+
created_at?: string;
|
|
8920
|
+
id?: string;
|
|
8921
|
+
is_package?: boolean;
|
|
8922
|
+
label?: string | null;
|
|
8923
|
+
layers_per_load_carrier?: number | null;
|
|
8924
|
+
load_carrier?: string | null;
|
|
8925
|
+
package_id?: string | null;
|
|
8926
|
+
package_label?: string | null;
|
|
8927
|
+
packages_per_layer?: number | null;
|
|
8928
|
+
packing_configuration_id?: string;
|
|
8929
|
+
product_id?: string | null;
|
|
8930
|
+
tenant_id: string;
|
|
8931
|
+
trade_item_floriday_id?: string | null;
|
|
8932
|
+
units_per_package?: number | null;
|
|
8933
|
+
updated_at?: string;
|
|
8934
|
+
};
|
|
8935
|
+
Update: {
|
|
8936
|
+
created_at?: string;
|
|
8937
|
+
id?: string;
|
|
8938
|
+
is_package?: boolean;
|
|
8939
|
+
label?: string | null;
|
|
8940
|
+
layers_per_load_carrier?: number | null;
|
|
8941
|
+
load_carrier?: string | null;
|
|
8942
|
+
package_id?: string | null;
|
|
8943
|
+
package_label?: string | null;
|
|
8944
|
+
packages_per_layer?: number | null;
|
|
8945
|
+
packing_configuration_id?: string;
|
|
8946
|
+
product_id?: string | null;
|
|
8947
|
+
tenant_id?: string;
|
|
8948
|
+
trade_item_floriday_id?: string | null;
|
|
8949
|
+
units_per_package?: number | null;
|
|
8950
|
+
updated_at?: string;
|
|
8951
|
+
};
|
|
8952
|
+
Relationships: [{
|
|
8953
|
+
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
8954
|
+
columns: ["package_id"];
|
|
8955
|
+
isOneToOne: false;
|
|
8956
|
+
referencedRelation: "packages";
|
|
8957
|
+
referencedColumns: ["id"];
|
|
8958
|
+
}, {
|
|
8959
|
+
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
8960
|
+
columns: ["product_id"];
|
|
8961
|
+
isOneToOne: false;
|
|
8962
|
+
referencedRelation: "products";
|
|
8963
|
+
referencedColumns: ["id"];
|
|
8964
|
+
}];
|
|
8965
|
+
};
|
|
8966
|
+
product_merge_log: {
|
|
8967
|
+
Row: {
|
|
8968
|
+
canonical_product_id: string | null;
|
|
8969
|
+
id: string;
|
|
8970
|
+
merged_at: string;
|
|
8971
|
+
merged_from_id: string;
|
|
8972
|
+
notes: string | null;
|
|
8973
|
+
snapshot: import("./types").Json;
|
|
8974
|
+
source_table: string;
|
|
8975
|
+
status: string;
|
|
8976
|
+
};
|
|
8977
|
+
Insert: {
|
|
8978
|
+
canonical_product_id?: string | null;
|
|
8979
|
+
id?: string;
|
|
8980
|
+
merged_at?: string;
|
|
8981
|
+
merged_from_id: string;
|
|
8982
|
+
notes?: string | null;
|
|
8983
|
+
snapshot?: import("./types").Json;
|
|
8984
|
+
source_table: string;
|
|
8985
|
+
status?: string;
|
|
8986
|
+
};
|
|
8987
|
+
Update: {
|
|
8988
|
+
canonical_product_id?: string | null;
|
|
8989
|
+
id?: string;
|
|
8990
|
+
merged_at?: string;
|
|
8991
|
+
merged_from_id?: string;
|
|
8992
|
+
notes?: string | null;
|
|
8993
|
+
snapshot?: import("./types").Json;
|
|
8994
|
+
source_table?: string;
|
|
8995
|
+
status?: string;
|
|
8996
|
+
};
|
|
8391
8997
|
Relationships: [];
|
|
8392
8998
|
};
|
|
8393
8999
|
products: {
|
|
8394
9000
|
Row: {
|
|
9001
|
+
article_number: string | null;
|
|
8395
9002
|
barcode: string | null;
|
|
8396
9003
|
batch: string;
|
|
8397
9004
|
crates_per_layer: number;
|
|
8398
9005
|
created_at: string;
|
|
8399
9006
|
custom_fields: import("./types").Json;
|
|
9007
|
+
floriday_trade_item_id: string | null;
|
|
8400
9008
|
id: string;
|
|
8401
9009
|
image_url: string | null;
|
|
8402
9010
|
incoming_quantity: number;
|
|
9011
|
+
is_layer: boolean;
|
|
8403
9012
|
layers_per_cart: number;
|
|
8404
9013
|
location: string;
|
|
8405
9014
|
min_quantity: number;
|
|
@@ -8415,14 +9024,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8415
9024
|
weight: string | null;
|
|
8416
9025
|
};
|
|
8417
9026
|
Insert: {
|
|
9027
|
+
article_number?: string | null;
|
|
8418
9028
|
barcode?: string | null;
|
|
8419
9029
|
batch: string;
|
|
8420
9030
|
crates_per_layer?: number;
|
|
8421
9031
|
created_at?: string;
|
|
8422
9032
|
custom_fields?: import("./types").Json;
|
|
9033
|
+
floriday_trade_item_id?: string | null;
|
|
8423
9034
|
id?: string;
|
|
8424
9035
|
image_url?: string | null;
|
|
8425
9036
|
incoming_quantity?: number;
|
|
9037
|
+
is_layer?: boolean;
|
|
8426
9038
|
layers_per_cart?: number;
|
|
8427
9039
|
location: string;
|
|
8428
9040
|
min_quantity?: number;
|
|
@@ -8438,14 +9050,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8438
9050
|
weight?: string | null;
|
|
8439
9051
|
};
|
|
8440
9052
|
Update: {
|
|
9053
|
+
article_number?: string | null;
|
|
8441
9054
|
barcode?: string | null;
|
|
8442
9055
|
batch?: string;
|
|
8443
9056
|
crates_per_layer?: number;
|
|
8444
9057
|
created_at?: string;
|
|
8445
9058
|
custom_fields?: import("./types").Json;
|
|
9059
|
+
floriday_trade_item_id?: string | null;
|
|
8446
9060
|
id?: string;
|
|
8447
9061
|
image_url?: string | null;
|
|
8448
9062
|
incoming_quantity?: number;
|
|
9063
|
+
is_layer?: boolean;
|
|
8449
9064
|
layers_per_cart?: number;
|
|
8450
9065
|
location?: string;
|
|
8451
9066
|
min_quantity?: number;
|
|
@@ -8465,6 +9080,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8465
9080
|
profiles: {
|
|
8466
9081
|
Row: {
|
|
8467
9082
|
address: string | null;
|
|
9083
|
+
avatar_url: string | null;
|
|
8468
9084
|
created_at: string;
|
|
8469
9085
|
display_name: string | null;
|
|
8470
9086
|
email: string | null;
|
|
@@ -8476,6 +9092,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8476
9092
|
};
|
|
8477
9093
|
Insert: {
|
|
8478
9094
|
address?: string | null;
|
|
9095
|
+
avatar_url?: string | null;
|
|
8479
9096
|
created_at?: string;
|
|
8480
9097
|
display_name?: string | null;
|
|
8481
9098
|
email?: string | null;
|
|
@@ -8487,6 +9104,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8487
9104
|
};
|
|
8488
9105
|
Update: {
|
|
8489
9106
|
address?: string | null;
|
|
9107
|
+
avatar_url?: string | null;
|
|
8490
9108
|
created_at?: string;
|
|
8491
9109
|
display_name?: string | null;
|
|
8492
9110
|
email?: string | null;
|
|
@@ -9353,6 +9971,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9353
9971
|
order_source: string | null;
|
|
9354
9972
|
physical_after: number | null;
|
|
9355
9973
|
physical_before: number | null;
|
|
9974
|
+
production_batch_id: string | null;
|
|
9356
9975
|
qty_delta: number;
|
|
9357
9976
|
reason: string | null;
|
|
9358
9977
|
reserved_after: number | null;
|
|
@@ -9370,6 +9989,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9370
9989
|
order_source?: string | null;
|
|
9371
9990
|
physical_after?: number | null;
|
|
9372
9991
|
physical_before?: number | null;
|
|
9992
|
+
production_batch_id?: string | null;
|
|
9373
9993
|
qty_delta: number;
|
|
9374
9994
|
reason?: string | null;
|
|
9375
9995
|
reserved_after?: number | null;
|
|
@@ -9387,6 +10007,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9387
10007
|
order_source?: string | null;
|
|
9388
10008
|
physical_after?: number | null;
|
|
9389
10009
|
physical_before?: number | null;
|
|
10010
|
+
production_batch_id?: string | null;
|
|
9390
10011
|
qty_delta?: number;
|
|
9391
10012
|
reason?: string | null;
|
|
9392
10013
|
reserved_after?: number | null;
|
|
@@ -9713,6 +10334,48 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9713
10334
|
};
|
|
9714
10335
|
Relationships: [];
|
|
9715
10336
|
};
|
|
10337
|
+
trade_item_prices: {
|
|
10338
|
+
Row: {
|
|
10339
|
+
created_at: string;
|
|
10340
|
+
currency: string;
|
|
10341
|
+
id: string;
|
|
10342
|
+
last_push_error: string | null;
|
|
10343
|
+
last_pushed_at: string | null;
|
|
10344
|
+
price_group_id: string | null;
|
|
10345
|
+
price_per_piece: number;
|
|
10346
|
+
supply_line_id: string | null;
|
|
10347
|
+
trade_item_key: string;
|
|
10348
|
+
updated_at: string;
|
|
10349
|
+
user_id: string;
|
|
10350
|
+
};
|
|
10351
|
+
Insert: {
|
|
10352
|
+
created_at?: string;
|
|
10353
|
+
currency?: string;
|
|
10354
|
+
id?: string;
|
|
10355
|
+
last_push_error?: string | null;
|
|
10356
|
+
last_pushed_at?: string | null;
|
|
10357
|
+
price_group_id?: string | null;
|
|
10358
|
+
price_per_piece: number;
|
|
10359
|
+
supply_line_id?: string | null;
|
|
10360
|
+
trade_item_key: string;
|
|
10361
|
+
updated_at?: string;
|
|
10362
|
+
user_id: string;
|
|
10363
|
+
};
|
|
10364
|
+
Update: {
|
|
10365
|
+
created_at?: string;
|
|
10366
|
+
currency?: string;
|
|
10367
|
+
id?: string;
|
|
10368
|
+
last_push_error?: string | null;
|
|
10369
|
+
last_pushed_at?: string | null;
|
|
10370
|
+
price_group_id?: string | null;
|
|
10371
|
+
price_per_piece?: number;
|
|
10372
|
+
supply_line_id?: string | null;
|
|
10373
|
+
trade_item_key?: string;
|
|
10374
|
+
updated_at?: string;
|
|
10375
|
+
user_id?: string;
|
|
10376
|
+
};
|
|
10377
|
+
Relationships: [];
|
|
10378
|
+
};
|
|
9716
10379
|
trade_item_stock: {
|
|
9717
10380
|
Row: {
|
|
9718
10381
|
connection_id: string;
|
|
@@ -10178,6 +10841,51 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10178
10841
|
referencedColumns: ["id"];
|
|
10179
10842
|
}];
|
|
10180
10843
|
};
|
|
10844
|
+
twinfield_invoice_pdf_cache: {
|
|
10845
|
+
Row: {
|
|
10846
|
+
connection_id: string;
|
|
10847
|
+
created_at: string;
|
|
10848
|
+
fetched_at: string;
|
|
10849
|
+
id: string;
|
|
10850
|
+
invoice_number: string;
|
|
10851
|
+
last_accessed_at: string;
|
|
10852
|
+
object_path: string;
|
|
10853
|
+
office_code: string;
|
|
10854
|
+
size_bytes: number;
|
|
10855
|
+
updated_at: string;
|
|
10856
|
+
};
|
|
10857
|
+
Insert: {
|
|
10858
|
+
connection_id: string;
|
|
10859
|
+
created_at?: string;
|
|
10860
|
+
fetched_at?: string;
|
|
10861
|
+
id?: string;
|
|
10862
|
+
invoice_number: string;
|
|
10863
|
+
last_accessed_at?: string;
|
|
10864
|
+
object_path: string;
|
|
10865
|
+
office_code: string;
|
|
10866
|
+
size_bytes?: number;
|
|
10867
|
+
updated_at?: string;
|
|
10868
|
+
};
|
|
10869
|
+
Update: {
|
|
10870
|
+
connection_id?: string;
|
|
10871
|
+
created_at?: string;
|
|
10872
|
+
fetched_at?: string;
|
|
10873
|
+
id?: string;
|
|
10874
|
+
invoice_number?: string;
|
|
10875
|
+
last_accessed_at?: string;
|
|
10876
|
+
object_path?: string;
|
|
10877
|
+
office_code?: string;
|
|
10878
|
+
size_bytes?: number;
|
|
10879
|
+
updated_at?: string;
|
|
10880
|
+
};
|
|
10881
|
+
Relationships: [{
|
|
10882
|
+
foreignKeyName: "twinfield_invoice_pdf_cache_connection_id_fkey";
|
|
10883
|
+
columns: ["connection_id"];
|
|
10884
|
+
isOneToOne: false;
|
|
10885
|
+
referencedRelation: "twinfield_connections";
|
|
10886
|
+
referencedColumns: ["id"];
|
|
10887
|
+
}];
|
|
10888
|
+
};
|
|
10181
10889
|
twinfield_invoice_settings: {
|
|
10182
10890
|
Row: {
|
|
10183
10891
|
created_at: string;
|
|
@@ -10781,6 +11489,78 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10781
11489
|
};
|
|
10782
11490
|
Relationships: [];
|
|
10783
11491
|
};
|
|
11492
|
+
werkbon_package_ai_rules: {
|
|
11493
|
+
Row: {
|
|
11494
|
+
active: boolean;
|
|
11495
|
+
case_sensitive: boolean;
|
|
11496
|
+
created_at: string;
|
|
11497
|
+
id: string;
|
|
11498
|
+
package_id: string;
|
|
11499
|
+
priority: number;
|
|
11500
|
+
rule_type: string;
|
|
11501
|
+
updated_at: string;
|
|
11502
|
+
value: string;
|
|
11503
|
+
};
|
|
11504
|
+
Insert: {
|
|
11505
|
+
active?: boolean;
|
|
11506
|
+
case_sensitive?: boolean;
|
|
11507
|
+
created_at?: string;
|
|
11508
|
+
id?: string;
|
|
11509
|
+
package_id: string;
|
|
11510
|
+
priority?: number;
|
|
11511
|
+
rule_type: string;
|
|
11512
|
+
updated_at?: string;
|
|
11513
|
+
value: string;
|
|
11514
|
+
};
|
|
11515
|
+
Update: {
|
|
11516
|
+
active?: boolean;
|
|
11517
|
+
case_sensitive?: boolean;
|
|
11518
|
+
created_at?: string;
|
|
11519
|
+
id?: string;
|
|
11520
|
+
package_id?: string;
|
|
11521
|
+
priority?: number;
|
|
11522
|
+
rule_type?: string;
|
|
11523
|
+
updated_at?: string;
|
|
11524
|
+
value?: string;
|
|
11525
|
+
};
|
|
11526
|
+
Relationships: [{
|
|
11527
|
+
foreignKeyName: "werkbon_package_ai_rules_package_id_fkey";
|
|
11528
|
+
columns: ["package_id"];
|
|
11529
|
+
isOneToOne: false;
|
|
11530
|
+
referencedRelation: "werkbon_packages";
|
|
11531
|
+
referencedColumns: ["id"];
|
|
11532
|
+
}];
|
|
11533
|
+
};
|
|
11534
|
+
werkbon_package_categories: {
|
|
11535
|
+
Row: {
|
|
11536
|
+
active: boolean;
|
|
11537
|
+
created_at: string;
|
|
11538
|
+
id: string;
|
|
11539
|
+
kleur: string | null;
|
|
11540
|
+
naam: string;
|
|
11541
|
+
sort_order: number;
|
|
11542
|
+
updated_at: string;
|
|
11543
|
+
};
|
|
11544
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
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
|
+
Relationships: [];
|
|
11563
|
+
};
|
|
10784
11564
|
werkbon_package_lines: {
|
|
10785
11565
|
Row: {
|
|
10786
11566
|
created_at: string;
|
|
@@ -10826,38 +11606,59 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10826
11606
|
werkbon_packages: {
|
|
10827
11607
|
Row: {
|
|
10828
11608
|
active: boolean;
|
|
11609
|
+
ai_tags: string[];
|
|
11610
|
+
category_id: string | null;
|
|
10829
11611
|
code: string;
|
|
10830
11612
|
created_at: string;
|
|
10831
11613
|
default_quantity: number;
|
|
10832
11614
|
description: string | null;
|
|
11615
|
+
duration_minutes: number | null;
|
|
10833
11616
|
id: string;
|
|
11617
|
+
mandaat_type: string | null;
|
|
10834
11618
|
name: string;
|
|
11619
|
+
sort_order: number;
|
|
10835
11620
|
unit_price_cents: number;
|
|
10836
11621
|
updated_at: string;
|
|
10837
11622
|
};
|
|
10838
11623
|
Insert: {
|
|
10839
11624
|
active?: boolean;
|
|
11625
|
+
ai_tags?: string[];
|
|
11626
|
+
category_id?: string | null;
|
|
10840
11627
|
code: string;
|
|
10841
11628
|
created_at?: string;
|
|
10842
11629
|
default_quantity?: number;
|
|
10843
11630
|
description?: string | null;
|
|
11631
|
+
duration_minutes?: number | null;
|
|
10844
11632
|
id?: string;
|
|
11633
|
+
mandaat_type?: string | null;
|
|
10845
11634
|
name: string;
|
|
11635
|
+
sort_order?: number;
|
|
10846
11636
|
unit_price_cents?: number;
|
|
10847
11637
|
updated_at?: string;
|
|
10848
11638
|
};
|
|
10849
11639
|
Update: {
|
|
10850
11640
|
active?: boolean;
|
|
11641
|
+
ai_tags?: string[];
|
|
11642
|
+
category_id?: string | null;
|
|
10851
11643
|
code?: string;
|
|
10852
11644
|
created_at?: string;
|
|
10853
11645
|
default_quantity?: number;
|
|
10854
11646
|
description?: string | null;
|
|
11647
|
+
duration_minutes?: number | null;
|
|
10855
11648
|
id?: string;
|
|
11649
|
+
mandaat_type?: string | null;
|
|
10856
11650
|
name?: string;
|
|
11651
|
+
sort_order?: number;
|
|
10857
11652
|
unit_price_cents?: number;
|
|
10858
11653
|
updated_at?: string;
|
|
10859
11654
|
};
|
|
10860
|
-
Relationships: [
|
|
11655
|
+
Relationships: [{
|
|
11656
|
+
foreignKeyName: "werkbon_packages_category_id_fkey";
|
|
11657
|
+
columns: ["category_id"];
|
|
11658
|
+
isOneToOne: false;
|
|
11659
|
+
referencedRelation: "werkbon_package_categories";
|
|
11660
|
+
referencedColumns: ["id"];
|
|
11661
|
+
}];
|
|
10861
11662
|
};
|
|
10862
11663
|
werkbon_photos: {
|
|
10863
11664
|
Row: {
|
|
@@ -10945,7 +11746,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10945
11746
|
scheduled_end_time: string | null;
|
|
10946
11747
|
scheduled_start_time: string | null;
|
|
10947
11748
|
sequence_number: number;
|
|
11749
|
+
source_email_meta: import("./types").Json | null;
|
|
11750
|
+
source_mailbox_message_id: string | null;
|
|
10948
11751
|
source_pdf_path: string | null;
|
|
11752
|
+
source_type: string;
|
|
10949
11753
|
status: string;
|
|
10950
11754
|
technician_id: string | null;
|
|
10951
11755
|
technician_notes: string | null;
|
|
@@ -10974,7 +11778,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10974
11778
|
scheduled_end_time?: string | null;
|
|
10975
11779
|
scheduled_start_time?: string | null;
|
|
10976
11780
|
sequence_number: number;
|
|
11781
|
+
source_email_meta?: import("./types").Json | null;
|
|
11782
|
+
source_mailbox_message_id?: string | null;
|
|
10977
11783
|
source_pdf_path?: string | null;
|
|
11784
|
+
source_type?: string;
|
|
10978
11785
|
status?: string;
|
|
10979
11786
|
technician_id?: string | null;
|
|
10980
11787
|
technician_notes?: string | null;
|
|
@@ -11003,7 +11810,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11003
11810
|
scheduled_end_time?: string | null;
|
|
11004
11811
|
scheduled_start_time?: string | null;
|
|
11005
11812
|
sequence_number?: number;
|
|
11813
|
+
source_email_meta?: import("./types").Json | null;
|
|
11814
|
+
source_mailbox_message_id?: string | null;
|
|
11006
11815
|
source_pdf_path?: string | null;
|
|
11816
|
+
source_type?: string;
|
|
11007
11817
|
status?: string;
|
|
11008
11818
|
technician_id?: string | null;
|
|
11009
11819
|
technician_notes?: string | null;
|
|
@@ -11020,10 +11830,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11020
11830
|
referencedRelation: "werkbonnen";
|
|
11021
11831
|
referencedColumns: ["id"];
|
|
11022
11832
|
}, {
|
|
11023
|
-
foreignKeyName: "
|
|
11024
|
-
columns: ["
|
|
11833
|
+
foreignKeyName: "werkbonnen_source_mailbox_message_id_fkey";
|
|
11834
|
+
columns: ["source_mailbox_message_id"];
|
|
11025
11835
|
isOneToOne: false;
|
|
11026
|
-
referencedRelation: "
|
|
11836
|
+
referencedRelation: "mailbox_messages";
|
|
11027
11837
|
referencedColumns: ["id"];
|
|
11028
11838
|
}];
|
|
11029
11839
|
};
|
|
@@ -11717,6 +12527,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11717
12527
|
};
|
|
11718
12528
|
Returns: number;
|
|
11719
12529
|
};
|
|
12530
|
+
_migrate_rewrite_stock_key: {
|
|
12531
|
+
Args: {
|
|
12532
|
+
_from_key: string;
|
|
12533
|
+
_to_key: string;
|
|
12534
|
+
};
|
|
12535
|
+
Returns: undefined;
|
|
12536
|
+
};
|
|
11720
12537
|
afh_city_code: {
|
|
11721
12538
|
Args: {
|
|
11722
12539
|
_city: string;
|
|
@@ -11743,6 +12560,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11743
12560
|
};
|
|
11744
12561
|
Returns: string;
|
|
11745
12562
|
};
|
|
12563
|
+
ai_usage_by_module: {
|
|
12564
|
+
Args: {
|
|
12565
|
+
_from: string;
|
|
12566
|
+
_to: string;
|
|
12567
|
+
};
|
|
12568
|
+
Returns: {
|
|
12569
|
+
calls: number;
|
|
12570
|
+
consumer_module_id: string;
|
|
12571
|
+
cost_usd: number;
|
|
12572
|
+
errors: number;
|
|
12573
|
+
input_tokens: number;
|
|
12574
|
+
output_tokens: number;
|
|
12575
|
+
total_tokens: number;
|
|
12576
|
+
}[];
|
|
12577
|
+
};
|
|
11746
12578
|
apply_stock_consumption: {
|
|
11747
12579
|
Args: {
|
|
11748
12580
|
p_order_id: string;
|
|
@@ -11800,6 +12632,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11800
12632
|
processed_items: number;
|
|
11801
12633
|
}[];
|
|
11802
12634
|
};
|
|
12635
|
+
calculate_layer_stock: {
|
|
12636
|
+
Args: {
|
|
12637
|
+
p_product_id: string;
|
|
12638
|
+
};
|
|
12639
|
+
Returns: number;
|
|
12640
|
+
};
|
|
11803
12641
|
call_exact_route: {
|
|
11804
12642
|
Args: {
|
|
11805
12643
|
path: string;
|
|
@@ -11859,6 +12697,28 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11859
12697
|
Args: never;
|
|
11860
12698
|
Returns: undefined;
|
|
11861
12699
|
};
|
|
12700
|
+
consume_bom_for_production: {
|
|
12701
|
+
Args: {
|
|
12702
|
+
p_connection_id: string;
|
|
12703
|
+
p_parent_id: string;
|
|
12704
|
+
p_parent_key: string;
|
|
12705
|
+
p_parent_kind: string;
|
|
12706
|
+
p_quantity: number;
|
|
12707
|
+
p_user_id: string;
|
|
12708
|
+
};
|
|
12709
|
+
Returns: import("./types").Json;
|
|
12710
|
+
} | {
|
|
12711
|
+
Args: {
|
|
12712
|
+
p_batch_id?: string;
|
|
12713
|
+
p_connection_id: string;
|
|
12714
|
+
p_parent_id: string;
|
|
12715
|
+
p_parent_key: string;
|
|
12716
|
+
p_parent_kind: string;
|
|
12717
|
+
p_quantity: number;
|
|
12718
|
+
p_user_id: string;
|
|
12719
|
+
};
|
|
12720
|
+
Returns: import("./types").Json;
|
|
12721
|
+
};
|
|
11862
12722
|
consume_floriday_rate_limit: {
|
|
11863
12723
|
Args: {
|
|
11864
12724
|
p_bucket: string;
|
|
@@ -11891,6 +12751,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11891
12751
|
Args: never;
|
|
11892
12752
|
Returns: string;
|
|
11893
12753
|
};
|
|
12754
|
+
custom_access_token_hook: {
|
|
12755
|
+
Args: {
|
|
12756
|
+
event: import("./types").Json;
|
|
12757
|
+
};
|
|
12758
|
+
Returns: import("./types").Json;
|
|
12759
|
+
};
|
|
11894
12760
|
dashboard_alert_counts: {
|
|
11895
12761
|
Args: never;
|
|
11896
12762
|
Returns: import("./types").Json;
|
|
@@ -11910,6 +12776,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11910
12776
|
table_name: string;
|
|
11911
12777
|
}[];
|
|
11912
12778
|
};
|
|
12779
|
+
delete_samenstelling: {
|
|
12780
|
+
Args: {
|
|
12781
|
+
p_parent_id: string;
|
|
12782
|
+
p_parent_kind: string;
|
|
12783
|
+
};
|
|
12784
|
+
Returns: import("./types").Json;
|
|
12785
|
+
};
|
|
11913
12786
|
dispatch_carrier_signups_sql: {
|
|
11914
12787
|
Args: {
|
|
11915
12788
|
_catchup?: string;
|
|
@@ -12165,6 +13038,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12165
13038
|
minutes_since_success: number;
|
|
12166
13039
|
}[];
|
|
12167
13040
|
};
|
|
13041
|
+
get_group_allocation_keys: {
|
|
13042
|
+
Args: {
|
|
13043
|
+
p_product_id: string;
|
|
13044
|
+
};
|
|
13045
|
+
Returns: {
|
|
13046
|
+
k: string;
|
|
13047
|
+
ord: number;
|
|
13048
|
+
}[];
|
|
13049
|
+
};
|
|
13050
|
+
get_group_head_key: {
|
|
13051
|
+
Args: {
|
|
13052
|
+
p_group_id: string;
|
|
13053
|
+
};
|
|
13054
|
+
Returns: string;
|
|
13055
|
+
};
|
|
13056
|
+
get_inventory_stock_for_key: {
|
|
13057
|
+
Args: {
|
|
13058
|
+
p_key: string;
|
|
13059
|
+
};
|
|
13060
|
+
Returns: number;
|
|
13061
|
+
};
|
|
12168
13062
|
get_offer_by_link_code: {
|
|
12169
13063
|
Args: {
|
|
12170
13064
|
p_code: string;
|
|
@@ -12195,6 +13089,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12195
13089
|
};
|
|
12196
13090
|
Returns: string;
|
|
12197
13091
|
};
|
|
13092
|
+
get_product_group_available_stock: {
|
|
13093
|
+
Args: {
|
|
13094
|
+
p_group_id: string;
|
|
13095
|
+
};
|
|
13096
|
+
Returns: number;
|
|
13097
|
+
};
|
|
12198
13098
|
get_room_busy_windows: {
|
|
12199
13099
|
Args: {
|
|
12200
13100
|
p_from: string;
|
|
@@ -12259,12 +13159,35 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12259
13159
|
};
|
|
12260
13160
|
Returns: boolean;
|
|
12261
13161
|
};
|
|
13162
|
+
jwt_has_role: {
|
|
13163
|
+
Args: {
|
|
13164
|
+
_role: Database["public"]["Enums"]["app_role"];
|
|
13165
|
+
};
|
|
13166
|
+
Returns: boolean;
|
|
13167
|
+
};
|
|
12262
13168
|
list_monteurs: {
|
|
12263
13169
|
Args: never;
|
|
12264
13170
|
Returns: {
|
|
13171
|
+
avatar_url: string;
|
|
12265
13172
|
display_name: string;
|
|
12266
13173
|
email: string;
|
|
12267
|
-
|
|
13174
|
+
id: string;
|
|
13175
|
+
}[];
|
|
13176
|
+
};
|
|
13177
|
+
list_my_planning_items: {
|
|
13178
|
+
Args: {
|
|
13179
|
+
_from: string;
|
|
13180
|
+
_to: string;
|
|
13181
|
+
};
|
|
13182
|
+
Returns: {
|
|
13183
|
+
assigned_monteur_id: string;
|
|
13184
|
+
end_at: string;
|
|
13185
|
+
id: string;
|
|
13186
|
+
notes: string;
|
|
13187
|
+
role: string;
|
|
13188
|
+
start_at: string;
|
|
13189
|
+
status: Database["public"]["Enums"]["planning_item_status"];
|
|
13190
|
+
werkbon_id: string;
|
|
12268
13191
|
}[];
|
|
12269
13192
|
};
|
|
12270
13193
|
local_effective_price: {
|
|
@@ -12283,6 +13206,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12283
13206
|
source_id: string;
|
|
12284
13207
|
}[];
|
|
12285
13208
|
};
|
|
13209
|
+
log_ai_call: {
|
|
13210
|
+
Args: {
|
|
13211
|
+
_consumer_module_id: string;
|
|
13212
|
+
_cost_usd: number;
|
|
13213
|
+
_duration_ms: number;
|
|
13214
|
+
_error_code: string;
|
|
13215
|
+
_error_message: string;
|
|
13216
|
+
_input_tokens: number;
|
|
13217
|
+
_model_slug: string;
|
|
13218
|
+
_output_tokens: number;
|
|
13219
|
+
_provider_slug: string;
|
|
13220
|
+
_status: string;
|
|
13221
|
+
_total_tokens: number;
|
|
13222
|
+
};
|
|
13223
|
+
Returns: string;
|
|
13224
|
+
};
|
|
12286
13225
|
mark_offer_clicked: {
|
|
12287
13226
|
Args: {
|
|
12288
13227
|
p_code: string;
|
|
@@ -12295,12 +13234,32 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12295
13234
|
};
|
|
12296
13235
|
Returns: undefined;
|
|
12297
13236
|
};
|
|
13237
|
+
mark_salesorder_controlled: {
|
|
13238
|
+
Args: {
|
|
13239
|
+
p_controlled: boolean;
|
|
13240
|
+
p_floriday_id: string;
|
|
13241
|
+
};
|
|
13242
|
+
Returns: undefined;
|
|
13243
|
+
};
|
|
12298
13244
|
mark_shipment_shipped: {
|
|
12299
13245
|
Args: {
|
|
12300
13246
|
p_shipment_id: string;
|
|
12301
13247
|
};
|
|
12302
13248
|
Returns: undefined;
|
|
12303
13249
|
};
|
|
13250
|
+
merge_products: {
|
|
13251
|
+
Args: {
|
|
13252
|
+
_canonical: string;
|
|
13253
|
+
_loser: string;
|
|
13254
|
+
};
|
|
13255
|
+
Returns: undefined;
|
|
13256
|
+
};
|
|
13257
|
+
next_manufacture_partij: {
|
|
13258
|
+
Args: {
|
|
13259
|
+
_tenant_id: string;
|
|
13260
|
+
};
|
|
13261
|
+
Returns: string;
|
|
13262
|
+
};
|
|
12304
13263
|
next_order_number: {
|
|
12305
13264
|
Args: {
|
|
12306
13265
|
p_prefix: string;
|
|
@@ -12374,6 +13333,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12374
13333
|
};
|
|
12375
13334
|
Returns: undefined;
|
|
12376
13335
|
};
|
|
13336
|
+
pickstation_resolve_delivery_orders: {
|
|
13337
|
+
Args: {
|
|
13338
|
+
p_sales_order_ids: string[];
|
|
13339
|
+
};
|
|
13340
|
+
Returns: {
|
|
13341
|
+
delivery_order_id: string;
|
|
13342
|
+
sales_order_id: string;
|
|
13343
|
+
}[];
|
|
13344
|
+
};
|
|
12377
13345
|
pickstation_set_cart_status: {
|
|
12378
13346
|
Args: {
|
|
12379
13347
|
p_cart_index: number;
|
|
@@ -12383,6 +13351,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12383
13351
|
};
|
|
12384
13352
|
Returns: undefined;
|
|
12385
13353
|
};
|
|
13354
|
+
produce_designed_product: {
|
|
13355
|
+
Args: {
|
|
13356
|
+
p_parent_id: string;
|
|
13357
|
+
p_parent_kind: string;
|
|
13358
|
+
p_quantity: number;
|
|
13359
|
+
};
|
|
13360
|
+
Returns: import("./types").Json;
|
|
13361
|
+
};
|
|
12386
13362
|
promote_trade_item_key: {
|
|
12387
13363
|
Args: {
|
|
12388
13364
|
p_new: string;
|
|
@@ -12390,6 +13366,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12390
13366
|
};
|
|
12391
13367
|
Returns: undefined;
|
|
12392
13368
|
};
|
|
13369
|
+
recompute_all_reserved_stock: {
|
|
13370
|
+
Args: never;
|
|
13371
|
+
Returns: undefined;
|
|
13372
|
+
};
|
|
12393
13373
|
recompute_order_status: {
|
|
12394
13374
|
Args: {
|
|
12395
13375
|
p_order_id: string;
|
|
@@ -12445,18 +13425,50 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12445
13425
|
};
|
|
12446
13426
|
Returns: undefined;
|
|
12447
13427
|
};
|
|
13428
|
+
resolve_group_allocation: {
|
|
13429
|
+
Args: {
|
|
13430
|
+
_needed: number;
|
|
13431
|
+
_product_group_id: string;
|
|
13432
|
+
};
|
|
13433
|
+
Returns: {
|
|
13434
|
+
allocated: number;
|
|
13435
|
+
trade_item_id: string;
|
|
13436
|
+
}[];
|
|
13437
|
+
};
|
|
13438
|
+
resolve_group_member_stock_key: {
|
|
13439
|
+
Args: {
|
|
13440
|
+
p_trade_item_id: string;
|
|
13441
|
+
};
|
|
13442
|
+
Returns: string;
|
|
13443
|
+
};
|
|
12448
13444
|
resolve_product_id_for_item: {
|
|
12449
13445
|
Args: {
|
|
12450
13446
|
p_product_name: string;
|
|
12451
13447
|
};
|
|
12452
13448
|
Returns: string;
|
|
12453
13449
|
};
|
|
13450
|
+
resolve_stock_trade_item_key: {
|
|
13451
|
+
Args: {
|
|
13452
|
+
p_product_id: string;
|
|
13453
|
+
};
|
|
13454
|
+
Returns: string;
|
|
13455
|
+
};
|
|
12454
13456
|
retry_twinfield_push: {
|
|
12455
13457
|
Args: {
|
|
12456
13458
|
_customer_id: string;
|
|
12457
13459
|
};
|
|
12458
13460
|
Returns: number;
|
|
12459
13461
|
};
|
|
13462
|
+
reverse_production: {
|
|
13463
|
+
Args: {
|
|
13464
|
+
p_connection_id?: string;
|
|
13465
|
+
p_parent_key: string;
|
|
13466
|
+
p_quantity: number;
|
|
13467
|
+
p_reason?: string;
|
|
13468
|
+
p_user_id?: string;
|
|
13469
|
+
};
|
|
13470
|
+
Returns: import("./types").Json;
|
|
13471
|
+
};
|
|
12460
13472
|
schedule_floriday_additional_services_sync: {
|
|
12461
13473
|
Args: {
|
|
12462
13474
|
p_apikey: string;
|
|
@@ -12724,6 +13736,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12724
13736
|
};
|
|
12725
13737
|
Returns: number;
|
|
12726
13738
|
};
|
|
13739
|
+
self_heal_floriday_links: {
|
|
13740
|
+
Args: never;
|
|
13741
|
+
Returns: number;
|
|
13742
|
+
};
|
|
13743
|
+
set_planning_status: {
|
|
13744
|
+
Args: {
|
|
13745
|
+
_id: string;
|
|
13746
|
+
_status: Database["public"]["Enums"]["planning_item_status"];
|
|
13747
|
+
};
|
|
13748
|
+
Returns: undefined;
|
|
13749
|
+
};
|
|
12727
13750
|
show_limit: {
|
|
12728
13751
|
Args: never;
|
|
12729
13752
|
Returns: number;
|
|
@@ -12734,18 +13757,34 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12734
13757
|
};
|
|
12735
13758
|
Returns: string[];
|
|
12736
13759
|
};
|
|
13760
|
+
sync_all_layer_stocks: {
|
|
13761
|
+
Args: never;
|
|
13762
|
+
Returns: undefined;
|
|
13763
|
+
};
|
|
12737
13764
|
sync_cached_packing_from_product: {
|
|
12738
13765
|
Args: {
|
|
12739
13766
|
p_product_id: string;
|
|
12740
13767
|
};
|
|
12741
13768
|
Returns: undefined;
|
|
12742
13769
|
};
|
|
13770
|
+
sync_layer_stock: {
|
|
13771
|
+
Args: {
|
|
13772
|
+
p_product_id: string;
|
|
13773
|
+
};
|
|
13774
|
+
Returns: undefined;
|
|
13775
|
+
};
|
|
12743
13776
|
sync_order_cart_item_packing_from_product: {
|
|
12744
13777
|
Args: {
|
|
12745
13778
|
p_product_id: string;
|
|
12746
13779
|
};
|
|
12747
13780
|
Returns: undefined;
|
|
12748
13781
|
};
|
|
13782
|
+
sync_product_group_belading: {
|
|
13783
|
+
Args: {
|
|
13784
|
+
_group_id: string;
|
|
13785
|
+
};
|
|
13786
|
+
Returns: undefined;
|
|
13787
|
+
};
|
|
12749
13788
|
sync_product_packing_from_floriday_cache: {
|
|
12750
13789
|
Args: {
|
|
12751
13790
|
p_floriday_id: string;
|
|
@@ -12777,11 +13816,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12777
13816
|
};
|
|
12778
13817
|
};
|
|
12779
13818
|
Enums: {
|
|
12780
|
-
app_role: "admin" | "planner" | "monteur" | "administratie";
|
|
13819
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
12781
13820
|
exact_env: "staging" | "live";
|
|
12782
13821
|
exact_push_status: "pending" | "sent" | "error";
|
|
12783
13822
|
itk_customer_segment: "Business" | "Private";
|
|
12784
13823
|
itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
|
|
13824
|
+
planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd" | "concept" | "vrijgegeven";
|
|
12785
13825
|
quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
|
|
12786
13826
|
};
|
|
12787
13827
|
CompositeTypes: { [_ in never]: never; };
|