@flowselections/layout-maker 1.66.1 → 1.67.1
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/types.d.ts +87 -15
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/orderData.server.d.ts +2 -0
- package/dist-lib/lib/orderData.server.d.ts.map +1 -1
- package/dist-lib/lib/orderData.server.js +28 -3
- package/dist-lib/lib/versie.generated.d.ts +1 -1
- package/dist-lib/lib/versie.generated.js +1 -1
- package/package.json +1 -1
- package/sql/print-schema.sql +2 -2
|
@@ -606,24 +606,36 @@ export type Database = {
|
|
|
606
606
|
ai_modules: {
|
|
607
607
|
Row: {
|
|
608
608
|
ai_enabled: boolean;
|
|
609
|
+
ai_source: string;
|
|
609
610
|
created_at: string;
|
|
611
|
+
declared_ai: boolean;
|
|
610
612
|
id: string;
|
|
613
|
+
is_in_use: boolean;
|
|
614
|
+
last_declared_at: string | null;
|
|
611
615
|
module_key: string;
|
|
612
616
|
module_name: string;
|
|
613
617
|
updated_at: string;
|
|
614
618
|
};
|
|
615
619
|
Insert: {
|
|
616
620
|
ai_enabled?: boolean;
|
|
621
|
+
ai_source?: string;
|
|
617
622
|
created_at?: string;
|
|
623
|
+
declared_ai?: boolean;
|
|
618
624
|
id?: string;
|
|
625
|
+
is_in_use?: boolean;
|
|
626
|
+
last_declared_at?: string | null;
|
|
619
627
|
module_key: string;
|
|
620
628
|
module_name: string;
|
|
621
629
|
updated_at?: string;
|
|
622
630
|
};
|
|
623
631
|
Update: {
|
|
624
632
|
ai_enabled?: boolean;
|
|
633
|
+
ai_source?: string;
|
|
625
634
|
created_at?: string;
|
|
635
|
+
declared_ai?: boolean;
|
|
626
636
|
id?: string;
|
|
637
|
+
is_in_use?: boolean;
|
|
638
|
+
last_declared_at?: string | null;
|
|
627
639
|
module_key?: string;
|
|
628
640
|
module_name?: string;
|
|
629
641
|
updated_at?: string;
|
|
@@ -15687,7 +15699,7 @@ export type Database = {
|
|
|
15687
15699
|
name: string;
|
|
15688
15700
|
produced_stock: number;
|
|
15689
15701
|
product_code: string;
|
|
15690
|
-
tenant_id: string;
|
|
15702
|
+
tenant_id: string | null;
|
|
15691
15703
|
updated_at: string;
|
|
15692
15704
|
};
|
|
15693
15705
|
Insert: {
|
|
@@ -15698,7 +15710,7 @@ export type Database = {
|
|
|
15698
15710
|
name: string;
|
|
15699
15711
|
produced_stock?: number;
|
|
15700
15712
|
product_code: string;
|
|
15701
|
-
tenant_id
|
|
15713
|
+
tenant_id?: string | null;
|
|
15702
15714
|
updated_at?: string;
|
|
15703
15715
|
};
|
|
15704
15716
|
Update: {
|
|
@@ -15709,7 +15721,7 @@ export type Database = {
|
|
|
15709
15721
|
name?: string;
|
|
15710
15722
|
produced_stock?: number;
|
|
15711
15723
|
product_code?: string;
|
|
15712
|
-
tenant_id?: string;
|
|
15724
|
+
tenant_id?: string | null;
|
|
15713
15725
|
updated_at?: string;
|
|
15714
15726
|
};
|
|
15715
15727
|
Relationships: [];
|
|
@@ -17504,6 +17516,7 @@ export type Database = {
|
|
|
17504
17516
|
created_at: string;
|
|
17505
17517
|
id: string;
|
|
17506
17518
|
layers_per_cart: number | null;
|
|
17519
|
+
needs_sticker: boolean;
|
|
17507
17520
|
order_id: string;
|
|
17508
17521
|
packing_locked_at: string | null;
|
|
17509
17522
|
packing_locked_by: string | null;
|
|
@@ -17523,6 +17536,7 @@ export type Database = {
|
|
|
17523
17536
|
created_at?: string;
|
|
17524
17537
|
id?: string;
|
|
17525
17538
|
layers_per_cart?: number | null;
|
|
17539
|
+
needs_sticker?: boolean;
|
|
17526
17540
|
order_id: string;
|
|
17527
17541
|
packing_locked_at?: string | null;
|
|
17528
17542
|
packing_locked_by?: string | null;
|
|
@@ -17542,6 +17556,7 @@ export type Database = {
|
|
|
17542
17556
|
created_at?: string;
|
|
17543
17557
|
id?: string;
|
|
17544
17558
|
layers_per_cart?: number | null;
|
|
17559
|
+
needs_sticker?: boolean;
|
|
17545
17560
|
order_id?: string;
|
|
17546
17561
|
packing_locked_at?: string | null;
|
|
17547
17562
|
packing_locked_by?: string | null;
|
|
@@ -20998,7 +21013,7 @@ export type Database = {
|
|
|
20998
21013
|
parent_trade_item_floriday_id: string | null;
|
|
20999
21014
|
quantity: number;
|
|
21000
21015
|
sort_order: number;
|
|
21001
|
-
tenant_id: string;
|
|
21016
|
+
tenant_id: string | null;
|
|
21002
21017
|
unit: string;
|
|
21003
21018
|
updated_at: string;
|
|
21004
21019
|
};
|
|
@@ -21011,7 +21026,7 @@ export type Database = {
|
|
|
21011
21026
|
parent_trade_item_floriday_id?: string | null;
|
|
21012
21027
|
quantity?: number;
|
|
21013
21028
|
sort_order?: number;
|
|
21014
|
-
tenant_id
|
|
21029
|
+
tenant_id?: string | null;
|
|
21015
21030
|
unit?: string;
|
|
21016
21031
|
updated_at?: string;
|
|
21017
21032
|
};
|
|
@@ -21024,7 +21039,7 @@ export type Database = {
|
|
|
21024
21039
|
parent_trade_item_floriday_id?: string | null;
|
|
21025
21040
|
quantity?: number;
|
|
21026
21041
|
sort_order?: number;
|
|
21027
|
-
tenant_id?: string;
|
|
21042
|
+
tenant_id?: string | null;
|
|
21028
21043
|
unit?: string;
|
|
21029
21044
|
updated_at?: string;
|
|
21030
21045
|
};
|
|
@@ -21057,7 +21072,7 @@ export type Database = {
|
|
|
21057
21072
|
parent_trade_item_floriday_id: string | null;
|
|
21058
21073
|
quantity: number;
|
|
21059
21074
|
sort_order: number;
|
|
21060
|
-
tenant_id: string;
|
|
21075
|
+
tenant_id: string | null;
|
|
21061
21076
|
unit: string;
|
|
21062
21077
|
updated_at: string;
|
|
21063
21078
|
};
|
|
@@ -21072,7 +21087,7 @@ export type Database = {
|
|
|
21072
21087
|
parent_trade_item_floriday_id?: string | null;
|
|
21073
21088
|
quantity?: number;
|
|
21074
21089
|
sort_order?: number;
|
|
21075
|
-
tenant_id
|
|
21090
|
+
tenant_id?: string | null;
|
|
21076
21091
|
unit?: string;
|
|
21077
21092
|
updated_at?: string;
|
|
21078
21093
|
};
|
|
@@ -21087,7 +21102,7 @@ export type Database = {
|
|
|
21087
21102
|
parent_trade_item_floriday_id?: string | null;
|
|
21088
21103
|
quantity?: number;
|
|
21089
21104
|
sort_order?: number;
|
|
21090
|
-
tenant_id?: string;
|
|
21105
|
+
tenant_id?: string | null;
|
|
21091
21106
|
unit?: string;
|
|
21092
21107
|
updated_at?: string;
|
|
21093
21108
|
};
|
|
@@ -21267,7 +21282,7 @@ export type Database = {
|
|
|
21267
21282
|
id: string;
|
|
21268
21283
|
is_active: boolean;
|
|
21269
21284
|
name: string;
|
|
21270
|
-
tenant_id: string;
|
|
21285
|
+
tenant_id: string | null;
|
|
21271
21286
|
updated_at: string;
|
|
21272
21287
|
};
|
|
21273
21288
|
Insert: {
|
|
@@ -21278,7 +21293,7 @@ export type Database = {
|
|
|
21278
21293
|
id?: string;
|
|
21279
21294
|
is_active?: boolean;
|
|
21280
21295
|
name: string;
|
|
21281
|
-
tenant_id
|
|
21296
|
+
tenant_id?: string | null;
|
|
21282
21297
|
updated_at?: string;
|
|
21283
21298
|
};
|
|
21284
21299
|
Update: {
|
|
@@ -21289,7 +21304,7 @@ export type Database = {
|
|
|
21289
21304
|
id?: string;
|
|
21290
21305
|
is_active?: boolean;
|
|
21291
21306
|
name?: string;
|
|
21292
|
-
tenant_id?: string;
|
|
21307
|
+
tenant_id?: string | null;
|
|
21293
21308
|
updated_at?: string;
|
|
21294
21309
|
};
|
|
21295
21310
|
Relationships: [
|
|
@@ -21324,7 +21339,7 @@ export type Database = {
|
|
|
21324
21339
|
packages_per_layer: number | null;
|
|
21325
21340
|
packing_configuration_id: string;
|
|
21326
21341
|
product_id: string | null;
|
|
21327
|
-
tenant_id: string;
|
|
21342
|
+
tenant_id: string | null;
|
|
21328
21343
|
trade_item_floriday_id: string | null;
|
|
21329
21344
|
units_per_package: number | null;
|
|
21330
21345
|
updated_at: string;
|
|
@@ -21343,7 +21358,7 @@ export type Database = {
|
|
|
21343
21358
|
packages_per_layer?: number | null;
|
|
21344
21359
|
packing_configuration_id?: string;
|
|
21345
21360
|
product_id?: string | null;
|
|
21346
|
-
tenant_id
|
|
21361
|
+
tenant_id?: string | null;
|
|
21347
21362
|
trade_item_floriday_id?: string | null;
|
|
21348
21363
|
units_per_package?: number | null;
|
|
21349
21364
|
updated_at?: string;
|
|
@@ -21362,7 +21377,7 @@ export type Database = {
|
|
|
21362
21377
|
packages_per_layer?: number | null;
|
|
21363
21378
|
packing_configuration_id?: string;
|
|
21364
21379
|
product_id?: string | null;
|
|
21365
|
-
tenant_id?: string;
|
|
21380
|
+
tenant_id?: string | null;
|
|
21366
21381
|
trade_item_floriday_id?: string | null;
|
|
21367
21382
|
units_per_package?: number | null;
|
|
21368
21383
|
updated_at?: string;
|
|
@@ -29681,6 +29696,26 @@ export type Database = {
|
|
|
29681
29696
|
Args: never;
|
|
29682
29697
|
Returns: Json;
|
|
29683
29698
|
};
|
|
29699
|
+
ai_is_admin: {
|
|
29700
|
+
Args: {
|
|
29701
|
+
_uid: string;
|
|
29702
|
+
};
|
|
29703
|
+
Returns: boolean;
|
|
29704
|
+
};
|
|
29705
|
+
ai_register_consumers: {
|
|
29706
|
+
Args: {
|
|
29707
|
+
_full_list?: boolean;
|
|
29708
|
+
_modules: Json;
|
|
29709
|
+
_source?: string;
|
|
29710
|
+
};
|
|
29711
|
+
Returns: Json;
|
|
29712
|
+
};
|
|
29713
|
+
ai_register_runtime_consumer: {
|
|
29714
|
+
Args: {
|
|
29715
|
+
_module_key: string;
|
|
29716
|
+
};
|
|
29717
|
+
Returns: boolean;
|
|
29718
|
+
};
|
|
29684
29719
|
ai_usage_by_module: {
|
|
29685
29720
|
Args: {
|
|
29686
29721
|
_from: string;
|
|
@@ -36605,6 +36640,17 @@ export type Database = {
|
|
|
36605
36640
|
};
|
|
36606
36641
|
Returns: string;
|
|
36607
36642
|
};
|
|
36643
|
+
productontwerp_can_write: {
|
|
36644
|
+
Args: never;
|
|
36645
|
+
Returns: boolean;
|
|
36646
|
+
};
|
|
36647
|
+
productontwerp_create_missing_products: {
|
|
36648
|
+
Args: {
|
|
36649
|
+
p_items: Json;
|
|
36650
|
+
p_run_id: string;
|
|
36651
|
+
};
|
|
36652
|
+
Returns: Json;
|
|
36653
|
+
};
|
|
36608
36654
|
productontwerp_export: {
|
|
36609
36655
|
Args: never;
|
|
36610
36656
|
Returns: Json;
|
|
@@ -36616,12 +36662,38 @@ export type Database = {
|
|
|
36616
36662
|
};
|
|
36617
36663
|
Returns: Json;
|
|
36618
36664
|
};
|
|
36665
|
+
productontwerp_nl_error: {
|
|
36666
|
+
Args: {
|
|
36667
|
+
p_detail: string;
|
|
36668
|
+
p_msg: string;
|
|
36669
|
+
p_state: string;
|
|
36670
|
+
};
|
|
36671
|
+
Returns: string;
|
|
36672
|
+
};
|
|
36619
36673
|
productontwerp_product_ref: {
|
|
36620
36674
|
Args: {
|
|
36621
36675
|
p_id: string;
|
|
36622
36676
|
};
|
|
36623
36677
|
Returns: Json;
|
|
36624
36678
|
};
|
|
36679
|
+
productontwerp_queue_count: {
|
|
36680
|
+
Args: never;
|
|
36681
|
+
Returns: number;
|
|
36682
|
+
};
|
|
36683
|
+
productontwerp_rollback_created_products: {
|
|
36684
|
+
Args: {
|
|
36685
|
+
p_run_id: string;
|
|
36686
|
+
};
|
|
36687
|
+
Returns: Json;
|
|
36688
|
+
};
|
|
36689
|
+
productontwerp_unique_group_name: {
|
|
36690
|
+
Args: {
|
|
36691
|
+
p_article: string;
|
|
36692
|
+
p_base: string;
|
|
36693
|
+
p_used: string[];
|
|
36694
|
+
};
|
|
36695
|
+
Returns: string;
|
|
36696
|
+
};
|
|
36625
36697
|
promote_floriday_customer: {
|
|
36626
36698
|
Args: {
|
|
36627
36699
|
_org_id: string;
|