@flowselections/floriday-verkoop-module 1.0.18 → 1.0.20
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 +62 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +62 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +62 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +62 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/cart-lock.functions.d.ts +62 -0
- package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.d.ts +124 -0
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.d.ts +744 -0
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.js +63 -44
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +186 -0
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +62 -0
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +434 -0
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +310 -0
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-shipments.functions.d.ts +248 -0
- package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders.functions.d.ts +186 -0
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/tradeitems.functions.d.ts +62 -0
- package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
- package/dist-lib/lib/useSalesOrdersQuery.d.ts.map +1 -1
- package/dist-lib/lib/useSalesOrdersQuery.js +62 -3
- package/package.json +1 -1
|
@@ -7698,6 +7698,39 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
7698
7698
|
referencedColumns: ["id"];
|
|
7699
7699
|
}];
|
|
7700
7700
|
};
|
|
7701
|
+
product_merge_log: {
|
|
7702
|
+
Row: {
|
|
7703
|
+
canonical_product_id: string | null;
|
|
7704
|
+
id: string;
|
|
7705
|
+
merged_at: string;
|
|
7706
|
+
merged_from_id: string;
|
|
7707
|
+
notes: string | null;
|
|
7708
|
+
snapshot: import("../integrations/supabase/types").Json;
|
|
7709
|
+
source_table: string;
|
|
7710
|
+
status: string;
|
|
7711
|
+
};
|
|
7712
|
+
Insert: {
|
|
7713
|
+
canonical_product_id?: string | null;
|
|
7714
|
+
id?: string;
|
|
7715
|
+
merged_at?: string;
|
|
7716
|
+
merged_from_id: string;
|
|
7717
|
+
notes?: string | null;
|
|
7718
|
+
snapshot?: import("../integrations/supabase/types").Json;
|
|
7719
|
+
source_table: string;
|
|
7720
|
+
status?: string;
|
|
7721
|
+
};
|
|
7722
|
+
Update: {
|
|
7723
|
+
canonical_product_id?: string | null;
|
|
7724
|
+
id?: string;
|
|
7725
|
+
merged_at?: string;
|
|
7726
|
+
merged_from_id?: string;
|
|
7727
|
+
notes?: string | null;
|
|
7728
|
+
snapshot?: import("../integrations/supabase/types").Json;
|
|
7729
|
+
source_table?: string;
|
|
7730
|
+
status?: string;
|
|
7731
|
+
};
|
|
7732
|
+
Relationships: [];
|
|
7733
|
+
};
|
|
7701
7734
|
products: {
|
|
7702
7735
|
Row: {
|
|
7703
7736
|
article_number: string | null;
|
|
@@ -7706,6 +7739,9 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
7706
7739
|
crates_per_layer: number;
|
|
7707
7740
|
created_at: string;
|
|
7708
7741
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
7742
|
+
floriday_active: boolean;
|
|
7743
|
+
floriday_payload: import("../integrations/supabase/types").Json;
|
|
7744
|
+
floriday_trade_item_id: string | null;
|
|
7709
7745
|
id: string;
|
|
7710
7746
|
image_url: string | null;
|
|
7711
7747
|
incoming_quantity: number;
|
|
@@ -7730,6 +7766,9 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
7730
7766
|
crates_per_layer?: number;
|
|
7731
7767
|
created_at?: string;
|
|
7732
7768
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
7769
|
+
floriday_active?: boolean;
|
|
7770
|
+
floriday_payload?: import("../integrations/supabase/types").Json;
|
|
7771
|
+
floriday_trade_item_id?: string | null;
|
|
7733
7772
|
id?: string;
|
|
7734
7773
|
image_url?: string | null;
|
|
7735
7774
|
incoming_quantity?: number;
|
|
@@ -7754,6 +7793,9 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
7754
7793
|
crates_per_layer?: number;
|
|
7755
7794
|
created_at?: string;
|
|
7756
7795
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
7796
|
+
floriday_active?: boolean;
|
|
7797
|
+
floriday_payload?: import("../integrations/supabase/types").Json;
|
|
7798
|
+
floriday_trade_item_id?: string | null;
|
|
7757
7799
|
id?: string;
|
|
7758
7800
|
image_url?: string | null;
|
|
7759
7801
|
incoming_quantity?: number;
|
|
@@ -10712,6 +10754,13 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
10712
10754
|
};
|
|
10713
10755
|
Returns: number;
|
|
10714
10756
|
};
|
|
10757
|
+
_migrate_rewrite_stock_key: {
|
|
10758
|
+
Args: {
|
|
10759
|
+
_from_key: string;
|
|
10760
|
+
_to_key: string;
|
|
10761
|
+
};
|
|
10762
|
+
Returns: undefined;
|
|
10763
|
+
};
|
|
10715
10764
|
afh_city_code: {
|
|
10716
10765
|
Args: {
|
|
10717
10766
|
_city: string;
|
|
@@ -11270,6 +11319,13 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
11270
11319
|
};
|
|
11271
11320
|
Returns: undefined;
|
|
11272
11321
|
};
|
|
11322
|
+
merge_products: {
|
|
11323
|
+
Args: {
|
|
11324
|
+
_canonical: string;
|
|
11325
|
+
_loser: string;
|
|
11326
|
+
};
|
|
11327
|
+
Returns: undefined;
|
|
11328
|
+
};
|
|
11273
11329
|
next_manufacture_partij: {
|
|
11274
11330
|
Args: {
|
|
11275
11331
|
_tenant_id: string;
|
|
@@ -11735,6 +11791,12 @@ export declare const runSalesOrdersSync: import("@tanstack/start-client-core").O
|
|
|
11735
11791
|
};
|
|
11736
11792
|
Returns: undefined;
|
|
11737
11793
|
};
|
|
11794
|
+
sync_product_group_belading: {
|
|
11795
|
+
Args: {
|
|
11796
|
+
_group_id: string;
|
|
11797
|
+
};
|
|
11798
|
+
Returns: undefined;
|
|
11799
|
+
};
|
|
11738
11800
|
sync_product_packing_from_floriday_cache: {
|
|
11739
11801
|
Args: {
|
|
11740
11802
|
p_floriday_id: string;
|
|
@@ -19476,6 +19538,39 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
19476
19538
|
referencedColumns: ["id"];
|
|
19477
19539
|
}];
|
|
19478
19540
|
};
|
|
19541
|
+
product_merge_log: {
|
|
19542
|
+
Row: {
|
|
19543
|
+
canonical_product_id: string | null;
|
|
19544
|
+
id: string;
|
|
19545
|
+
merged_at: string;
|
|
19546
|
+
merged_from_id: string;
|
|
19547
|
+
notes: string | null;
|
|
19548
|
+
snapshot: import("../integrations/supabase/types").Json;
|
|
19549
|
+
source_table: string;
|
|
19550
|
+
status: string;
|
|
19551
|
+
};
|
|
19552
|
+
Insert: {
|
|
19553
|
+
canonical_product_id?: string | null;
|
|
19554
|
+
id?: string;
|
|
19555
|
+
merged_at?: string;
|
|
19556
|
+
merged_from_id: string;
|
|
19557
|
+
notes?: string | null;
|
|
19558
|
+
snapshot?: import("../integrations/supabase/types").Json;
|
|
19559
|
+
source_table: string;
|
|
19560
|
+
status?: string;
|
|
19561
|
+
};
|
|
19562
|
+
Update: {
|
|
19563
|
+
canonical_product_id?: string | null;
|
|
19564
|
+
id?: string;
|
|
19565
|
+
merged_at?: string;
|
|
19566
|
+
merged_from_id?: string;
|
|
19567
|
+
notes?: string | null;
|
|
19568
|
+
snapshot?: import("../integrations/supabase/types").Json;
|
|
19569
|
+
source_table?: string;
|
|
19570
|
+
status?: string;
|
|
19571
|
+
};
|
|
19572
|
+
Relationships: [];
|
|
19573
|
+
};
|
|
19479
19574
|
products: {
|
|
19480
19575
|
Row: {
|
|
19481
19576
|
article_number: string | null;
|
|
@@ -19484,6 +19579,9 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
19484
19579
|
crates_per_layer: number;
|
|
19485
19580
|
created_at: string;
|
|
19486
19581
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
19582
|
+
floriday_active: boolean;
|
|
19583
|
+
floriday_payload: import("../integrations/supabase/types").Json;
|
|
19584
|
+
floriday_trade_item_id: string | null;
|
|
19487
19585
|
id: string;
|
|
19488
19586
|
image_url: string | null;
|
|
19489
19587
|
incoming_quantity: number;
|
|
@@ -19508,6 +19606,9 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
19508
19606
|
crates_per_layer?: number;
|
|
19509
19607
|
created_at?: string;
|
|
19510
19608
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
19609
|
+
floriday_active?: boolean;
|
|
19610
|
+
floriday_payload?: import("../integrations/supabase/types").Json;
|
|
19611
|
+
floriday_trade_item_id?: string | null;
|
|
19511
19612
|
id?: string;
|
|
19512
19613
|
image_url?: string | null;
|
|
19513
19614
|
incoming_quantity?: number;
|
|
@@ -19532,6 +19633,9 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
19532
19633
|
crates_per_layer?: number;
|
|
19533
19634
|
created_at?: string;
|
|
19534
19635
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
19636
|
+
floriday_active?: boolean;
|
|
19637
|
+
floriday_payload?: import("../integrations/supabase/types").Json;
|
|
19638
|
+
floriday_trade_item_id?: string | null;
|
|
19535
19639
|
id?: string;
|
|
19536
19640
|
image_url?: string | null;
|
|
19537
19641
|
incoming_quantity?: number;
|
|
@@ -22490,6 +22594,13 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
22490
22594
|
};
|
|
22491
22595
|
Returns: number;
|
|
22492
22596
|
};
|
|
22597
|
+
_migrate_rewrite_stock_key: {
|
|
22598
|
+
Args: {
|
|
22599
|
+
_from_key: string;
|
|
22600
|
+
_to_key: string;
|
|
22601
|
+
};
|
|
22602
|
+
Returns: undefined;
|
|
22603
|
+
};
|
|
22493
22604
|
afh_city_code: {
|
|
22494
22605
|
Args: {
|
|
22495
22606
|
_city: string;
|
|
@@ -23048,6 +23159,13 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
23048
23159
|
};
|
|
23049
23160
|
Returns: undefined;
|
|
23050
23161
|
};
|
|
23162
|
+
merge_products: {
|
|
23163
|
+
Args: {
|
|
23164
|
+
_canonical: string;
|
|
23165
|
+
_loser: string;
|
|
23166
|
+
};
|
|
23167
|
+
Returns: undefined;
|
|
23168
|
+
};
|
|
23051
23169
|
next_manufacture_partij: {
|
|
23052
23170
|
Args: {
|
|
23053
23171
|
_tenant_id: string;
|
|
@@ -23513,6 +23631,12 @@ export declare const createSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
23513
23631
|
};
|
|
23514
23632
|
Returns: undefined;
|
|
23515
23633
|
};
|
|
23634
|
+
sync_product_group_belading: {
|
|
23635
|
+
Args: {
|
|
23636
|
+
_group_id: string;
|
|
23637
|
+
};
|
|
23638
|
+
Returns: undefined;
|
|
23639
|
+
};
|
|
23516
23640
|
sync_product_packing_from_floriday_cache: {
|
|
23517
23641
|
Args: {
|
|
23518
23642
|
p_floriday_id: string;
|
|
@@ -31264,6 +31388,39 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
31264
31388
|
referencedColumns: ["id"];
|
|
31265
31389
|
}];
|
|
31266
31390
|
};
|
|
31391
|
+
product_merge_log: {
|
|
31392
|
+
Row: {
|
|
31393
|
+
canonical_product_id: string | null;
|
|
31394
|
+
id: string;
|
|
31395
|
+
merged_at: string;
|
|
31396
|
+
merged_from_id: string;
|
|
31397
|
+
notes: string | null;
|
|
31398
|
+
snapshot: import("../integrations/supabase/types").Json;
|
|
31399
|
+
source_table: string;
|
|
31400
|
+
status: string;
|
|
31401
|
+
};
|
|
31402
|
+
Insert: {
|
|
31403
|
+
canonical_product_id?: string | null;
|
|
31404
|
+
id?: string;
|
|
31405
|
+
merged_at?: string;
|
|
31406
|
+
merged_from_id: string;
|
|
31407
|
+
notes?: string | null;
|
|
31408
|
+
snapshot?: import("../integrations/supabase/types").Json;
|
|
31409
|
+
source_table: string;
|
|
31410
|
+
status?: string;
|
|
31411
|
+
};
|
|
31412
|
+
Update: {
|
|
31413
|
+
canonical_product_id?: string | null;
|
|
31414
|
+
id?: string;
|
|
31415
|
+
merged_at?: string;
|
|
31416
|
+
merged_from_id?: string;
|
|
31417
|
+
notes?: string | null;
|
|
31418
|
+
snapshot?: import("../integrations/supabase/types").Json;
|
|
31419
|
+
source_table?: string;
|
|
31420
|
+
status?: string;
|
|
31421
|
+
};
|
|
31422
|
+
Relationships: [];
|
|
31423
|
+
};
|
|
31267
31424
|
products: {
|
|
31268
31425
|
Row: {
|
|
31269
31426
|
article_number: string | null;
|
|
@@ -31272,6 +31429,9 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
31272
31429
|
crates_per_layer: number;
|
|
31273
31430
|
created_at: string;
|
|
31274
31431
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
31432
|
+
floriday_active: boolean;
|
|
31433
|
+
floriday_payload: import("../integrations/supabase/types").Json;
|
|
31434
|
+
floriday_trade_item_id: string | null;
|
|
31275
31435
|
id: string;
|
|
31276
31436
|
image_url: string | null;
|
|
31277
31437
|
incoming_quantity: number;
|
|
@@ -31296,6 +31456,9 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
31296
31456
|
crates_per_layer?: number;
|
|
31297
31457
|
created_at?: string;
|
|
31298
31458
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
31459
|
+
floriday_active?: boolean;
|
|
31460
|
+
floriday_payload?: import("../integrations/supabase/types").Json;
|
|
31461
|
+
floriday_trade_item_id?: string | null;
|
|
31299
31462
|
id?: string;
|
|
31300
31463
|
image_url?: string | null;
|
|
31301
31464
|
incoming_quantity?: number;
|
|
@@ -31320,6 +31483,9 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
31320
31483
|
crates_per_layer?: number;
|
|
31321
31484
|
created_at?: string;
|
|
31322
31485
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
31486
|
+
floriday_active?: boolean;
|
|
31487
|
+
floriday_payload?: import("../integrations/supabase/types").Json;
|
|
31488
|
+
floriday_trade_item_id?: string | null;
|
|
31323
31489
|
id?: string;
|
|
31324
31490
|
image_url?: string | null;
|
|
31325
31491
|
incoming_quantity?: number;
|
|
@@ -34278,6 +34444,13 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
34278
34444
|
};
|
|
34279
34445
|
Returns: number;
|
|
34280
34446
|
};
|
|
34447
|
+
_migrate_rewrite_stock_key: {
|
|
34448
|
+
Args: {
|
|
34449
|
+
_from_key: string;
|
|
34450
|
+
_to_key: string;
|
|
34451
|
+
};
|
|
34452
|
+
Returns: undefined;
|
|
34453
|
+
};
|
|
34281
34454
|
afh_city_code: {
|
|
34282
34455
|
Args: {
|
|
34283
34456
|
_city: string;
|
|
@@ -34836,6 +35009,13 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
34836
35009
|
};
|
|
34837
35010
|
Returns: undefined;
|
|
34838
35011
|
};
|
|
35012
|
+
merge_products: {
|
|
35013
|
+
Args: {
|
|
35014
|
+
_canonical: string;
|
|
35015
|
+
_loser: string;
|
|
35016
|
+
};
|
|
35017
|
+
Returns: undefined;
|
|
35018
|
+
};
|
|
34839
35019
|
next_manufacture_partij: {
|
|
34840
35020
|
Args: {
|
|
34841
35021
|
_tenant_id: string;
|
|
@@ -35301,6 +35481,12 @@ export declare const diagnoseFloridayConnection: import("@tanstack/start-client-
|
|
|
35301
35481
|
};
|
|
35302
35482
|
Returns: undefined;
|
|
35303
35483
|
};
|
|
35484
|
+
sync_product_group_belading: {
|
|
35485
|
+
Args: {
|
|
35486
|
+
_group_id: string;
|
|
35487
|
+
};
|
|
35488
|
+
Returns: undefined;
|
|
35489
|
+
};
|
|
35304
35490
|
sync_product_packing_from_floriday_cache: {
|
|
35305
35491
|
Args: {
|
|
35306
35492
|
p_floriday_id: string;
|