@flowselections/floriday-verkoop-module 1.0.19 → 1.0.21
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/components/verkoop/OrderControlStatusCard.d.ts +6 -0
- package/dist-lib/components/verkoop/OrderControlStatusCard.d.ts.map +1 -0
- package/dist-lib/components/verkoop/OrderControlStatusCard.js +41 -0
- package/dist-lib/components/verkoop/SalesOrderDetailPage.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrderDetailPage.js +20 -5
- package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrderDetailView.js +2 -1
- package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrdersTable.js +4 -1
- package/dist-lib/components/verkoop/VerkoopOrdersPage.js +1 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +22 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +22 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +22 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +22 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/cart-lock.functions.d.ts +22 -0
- package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.d.ts +44 -0
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.d.ts +264 -0
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.js +34 -25
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +66 -0
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +22 -0
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +157 -0
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.js +114 -38
- package/dist-lib/lib/floriday-writes.functions.d.ts +110 -0
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-shipments.functions.d.ts +88 -0
- package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-mapping.d.ts +2 -0
- package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-mapping.js +8 -1
- package/dist-lib/lib/salesorders.functions.d.ts +23785 -0
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders.functions.js +181 -0
- package/dist-lib/lib/tradeitems.functions.d.ts +22 -0
- package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
- package/dist-lib/lib/useSalesOrderDetailQuery.d.ts +2 -0
- package/dist-lib/lib/useSalesOrderDetailQuery.d.ts.map +1 -0
- package/dist-lib/lib/useSalesOrderDetailQuery.js +50 -0
- package/dist-lib/lib/useSalesOrdersQuery.d.ts +2 -2
- package/dist-lib/lib/useSalesOrdersQuery.d.ts.map +1 -1
- package/dist-lib/lib/useSalesOrdersQuery.js +165 -12
- package/package.json +1 -1
|
@@ -4700,6 +4700,8 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
|
|
|
4700
4700
|
Row: {
|
|
4701
4701
|
buyer_organization_id: string | null;
|
|
4702
4702
|
connection_id: string;
|
|
4703
|
+
controlled_at: string | null;
|
|
4704
|
+
controlled_by: string | null;
|
|
4703
4705
|
created_at: string;
|
|
4704
4706
|
data: import("../integrations/supabase/types").Json;
|
|
4705
4707
|
floriday_id: string;
|
|
@@ -4711,6 +4713,8 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
|
|
|
4711
4713
|
Insert: {
|
|
4712
4714
|
buyer_organization_id?: string | null;
|
|
4713
4715
|
connection_id: string;
|
|
4716
|
+
controlled_at?: string | null;
|
|
4717
|
+
controlled_by?: string | null;
|
|
4714
4718
|
created_at?: string;
|
|
4715
4719
|
data: import("../integrations/supabase/types").Json;
|
|
4716
4720
|
floriday_id: string;
|
|
@@ -4722,6 +4726,8 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
|
|
|
4722
4726
|
Update: {
|
|
4723
4727
|
buyer_organization_id?: string | null;
|
|
4724
4728
|
connection_id?: string;
|
|
4729
|
+
controlled_at?: string | null;
|
|
4730
|
+
controlled_by?: string | null;
|
|
4725
4731
|
created_at?: string;
|
|
4726
4732
|
data?: import("../integrations/supabase/types").Json;
|
|
4727
4733
|
floriday_id?: string;
|
|
@@ -7740,6 +7746,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
|
|
|
7740
7746
|
id: string;
|
|
7741
7747
|
image_url: string | null;
|
|
7742
7748
|
incoming_quantity: number;
|
|
7749
|
+
is_layer: boolean;
|
|
7743
7750
|
layers_per_cart: number;
|
|
7744
7751
|
location: string;
|
|
7745
7752
|
min_quantity: number;
|
|
@@ -7767,6 +7774,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
|
|
|
7767
7774
|
id?: string;
|
|
7768
7775
|
image_url?: string | null;
|
|
7769
7776
|
incoming_quantity?: number;
|
|
7777
|
+
is_layer?: boolean;
|
|
7770
7778
|
layers_per_cart?: number;
|
|
7771
7779
|
location: string;
|
|
7772
7780
|
min_quantity?: number;
|
|
@@ -7794,6 +7802,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
|
|
|
7794
7802
|
id?: string;
|
|
7795
7803
|
image_url?: string | null;
|
|
7796
7804
|
incoming_quantity?: number;
|
|
7805
|
+
is_layer?: boolean;
|
|
7797
7806
|
layers_per_cart?: number;
|
|
7798
7807
|
location?: string;
|
|
7799
7808
|
min_quantity?: number;
|
|
@@ -11308,6 +11317,13 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
|
|
|
11308
11317
|
};
|
|
11309
11318
|
Returns: undefined;
|
|
11310
11319
|
};
|
|
11320
|
+
mark_salesorder_controlled: {
|
|
11321
|
+
Args: {
|
|
11322
|
+
p_controlled: boolean;
|
|
11323
|
+
p_floriday_id: string;
|
|
11324
|
+
};
|
|
11325
|
+
Returns: undefined;
|
|
11326
|
+
};
|
|
11311
11327
|
mark_shipment_shipped: {
|
|
11312
11328
|
Args: {
|
|
11313
11329
|
p_shipment_id: string;
|
|
@@ -11786,6 +11802,12 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
|
|
|
11786
11802
|
};
|
|
11787
11803
|
Returns: undefined;
|
|
11788
11804
|
};
|
|
11805
|
+
sync_product_group_belading: {
|
|
11806
|
+
Args: {
|
|
11807
|
+
_group_id: string;
|
|
11808
|
+
};
|
|
11809
|
+
Returns: undefined;
|
|
11810
|
+
};
|
|
11789
11811
|
sync_product_packing_from_floriday_cache: {
|
|
11790
11812
|
Args: {
|
|
11791
11813
|
p_floriday_id: string;
|
|
@@ -16565,6 +16587,8 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
|
|
|
16565
16587
|
Row: {
|
|
16566
16588
|
buyer_organization_id: string | null;
|
|
16567
16589
|
connection_id: string;
|
|
16590
|
+
controlled_at: string | null;
|
|
16591
|
+
controlled_by: string | null;
|
|
16568
16592
|
created_at: string;
|
|
16569
16593
|
data: import("../integrations/supabase/types").Json;
|
|
16570
16594
|
floriday_id: string;
|
|
@@ -16576,6 +16600,8 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
|
|
|
16576
16600
|
Insert: {
|
|
16577
16601
|
buyer_organization_id?: string | null;
|
|
16578
16602
|
connection_id: string;
|
|
16603
|
+
controlled_at?: string | null;
|
|
16604
|
+
controlled_by?: string | null;
|
|
16579
16605
|
created_at?: string;
|
|
16580
16606
|
data: import("../integrations/supabase/types").Json;
|
|
16581
16607
|
floriday_id: string;
|
|
@@ -16587,6 +16613,8 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
|
|
|
16587
16613
|
Update: {
|
|
16588
16614
|
buyer_organization_id?: string | null;
|
|
16589
16615
|
connection_id?: string;
|
|
16616
|
+
controlled_at?: string | null;
|
|
16617
|
+
controlled_by?: string | null;
|
|
16590
16618
|
created_at?: string;
|
|
16591
16619
|
data?: import("../integrations/supabase/types").Json;
|
|
16592
16620
|
floriday_id?: string;
|
|
@@ -19605,6 +19633,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
|
|
|
19605
19633
|
id: string;
|
|
19606
19634
|
image_url: string | null;
|
|
19607
19635
|
incoming_quantity: number;
|
|
19636
|
+
is_layer: boolean;
|
|
19608
19637
|
layers_per_cart: number;
|
|
19609
19638
|
location: string;
|
|
19610
19639
|
min_quantity: number;
|
|
@@ -19632,6 +19661,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
|
|
|
19632
19661
|
id?: string;
|
|
19633
19662
|
image_url?: string | null;
|
|
19634
19663
|
incoming_quantity?: number;
|
|
19664
|
+
is_layer?: boolean;
|
|
19635
19665
|
layers_per_cart?: number;
|
|
19636
19666
|
location: string;
|
|
19637
19667
|
min_quantity?: number;
|
|
@@ -19659,6 +19689,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
|
|
|
19659
19689
|
id?: string;
|
|
19660
19690
|
image_url?: string | null;
|
|
19661
19691
|
incoming_quantity?: number;
|
|
19692
|
+
is_layer?: boolean;
|
|
19662
19693
|
layers_per_cart?: number;
|
|
19663
19694
|
location?: string;
|
|
19664
19695
|
min_quantity?: number;
|
|
@@ -23173,6 +23204,13 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
|
|
|
23173
23204
|
};
|
|
23174
23205
|
Returns: undefined;
|
|
23175
23206
|
};
|
|
23207
|
+
mark_salesorder_controlled: {
|
|
23208
|
+
Args: {
|
|
23209
|
+
p_controlled: boolean;
|
|
23210
|
+
p_floriday_id: string;
|
|
23211
|
+
};
|
|
23212
|
+
Returns: undefined;
|
|
23213
|
+
};
|
|
23176
23214
|
mark_shipment_shipped: {
|
|
23177
23215
|
Args: {
|
|
23178
23216
|
p_shipment_id: string;
|
|
@@ -23651,6 +23689,12 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
|
|
|
23651
23689
|
};
|
|
23652
23690
|
Returns: undefined;
|
|
23653
23691
|
};
|
|
23692
|
+
sync_product_group_belading: {
|
|
23693
|
+
Args: {
|
|
23694
|
+
_group_id: string;
|
|
23695
|
+
};
|
|
23696
|
+
Returns: undefined;
|
|
23697
|
+
};
|
|
23654
23698
|
sync_product_packing_from_floriday_cache: {
|
|
23655
23699
|
Args: {
|
|
23656
23700
|
p_floriday_id: string;
|
|
@@ -28411,6 +28455,8 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
|
|
|
28411
28455
|
Row: {
|
|
28412
28456
|
buyer_organization_id: string | null;
|
|
28413
28457
|
connection_id: string;
|
|
28458
|
+
controlled_at: string | null;
|
|
28459
|
+
controlled_by: string | null;
|
|
28414
28460
|
created_at: string;
|
|
28415
28461
|
data: import("../integrations/supabase/types").Json;
|
|
28416
28462
|
floriday_id: string;
|
|
@@ -28422,6 +28468,8 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
|
|
|
28422
28468
|
Insert: {
|
|
28423
28469
|
buyer_organization_id?: string | null;
|
|
28424
28470
|
connection_id: string;
|
|
28471
|
+
controlled_at?: string | null;
|
|
28472
|
+
controlled_by?: string | null;
|
|
28425
28473
|
created_at?: string;
|
|
28426
28474
|
data: import("../integrations/supabase/types").Json;
|
|
28427
28475
|
floriday_id: string;
|
|
@@ -28433,6 +28481,8 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
|
|
|
28433
28481
|
Update: {
|
|
28434
28482
|
buyer_organization_id?: string | null;
|
|
28435
28483
|
connection_id?: string;
|
|
28484
|
+
controlled_at?: string | null;
|
|
28485
|
+
controlled_by?: string | null;
|
|
28436
28486
|
created_at?: string;
|
|
28437
28487
|
data?: import("../integrations/supabase/types").Json;
|
|
28438
28488
|
floriday_id?: string;
|
|
@@ -31451,6 +31501,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
|
|
|
31451
31501
|
id: string;
|
|
31452
31502
|
image_url: string | null;
|
|
31453
31503
|
incoming_quantity: number;
|
|
31504
|
+
is_layer: boolean;
|
|
31454
31505
|
layers_per_cart: number;
|
|
31455
31506
|
location: string;
|
|
31456
31507
|
min_quantity: number;
|
|
@@ -31478,6 +31529,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
|
|
|
31478
31529
|
id?: string;
|
|
31479
31530
|
image_url?: string | null;
|
|
31480
31531
|
incoming_quantity?: number;
|
|
31532
|
+
is_layer?: boolean;
|
|
31481
31533
|
layers_per_cart?: number;
|
|
31482
31534
|
location: string;
|
|
31483
31535
|
min_quantity?: number;
|
|
@@ -31505,6 +31557,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
|
|
|
31505
31557
|
id?: string;
|
|
31506
31558
|
image_url?: string | null;
|
|
31507
31559
|
incoming_quantity?: number;
|
|
31560
|
+
is_layer?: boolean;
|
|
31508
31561
|
layers_per_cart?: number;
|
|
31509
31562
|
location?: string;
|
|
31510
31563
|
min_quantity?: number;
|
|
@@ -35019,6 +35072,13 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
|
|
|
35019
35072
|
};
|
|
35020
35073
|
Returns: undefined;
|
|
35021
35074
|
};
|
|
35075
|
+
mark_salesorder_controlled: {
|
|
35076
|
+
Args: {
|
|
35077
|
+
p_controlled: boolean;
|
|
35078
|
+
p_floriday_id: string;
|
|
35079
|
+
};
|
|
35080
|
+
Returns: undefined;
|
|
35081
|
+
};
|
|
35022
35082
|
mark_shipment_shipped: {
|
|
35023
35083
|
Args: {
|
|
35024
35084
|
p_shipment_id: string;
|
|
@@ -35497,6 +35557,12 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
|
|
|
35497
35557
|
};
|
|
35498
35558
|
Returns: undefined;
|
|
35499
35559
|
};
|
|
35560
|
+
sync_product_group_belading: {
|
|
35561
|
+
Args: {
|
|
35562
|
+
_group_id: string;
|
|
35563
|
+
};
|
|
35564
|
+
Returns: undefined;
|
|
35565
|
+
};
|
|
35500
35566
|
sync_product_packing_from_floriday_cache: {
|
|
35501
35567
|
Args: {
|
|
35502
35568
|
p_floriday_id: string;
|
|
@@ -40246,6 +40312,8 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
|
|
|
40246
40312
|
Row: {
|
|
40247
40313
|
buyer_organization_id: string | null;
|
|
40248
40314
|
connection_id: string;
|
|
40315
|
+
controlled_at: string | null;
|
|
40316
|
+
controlled_by: string | null;
|
|
40249
40317
|
created_at: string;
|
|
40250
40318
|
data: import("../integrations/supabase/types").Json;
|
|
40251
40319
|
floriday_id: string;
|
|
@@ -40257,6 +40325,8 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
|
|
|
40257
40325
|
Insert: {
|
|
40258
40326
|
buyer_organization_id?: string | null;
|
|
40259
40327
|
connection_id: string;
|
|
40328
|
+
controlled_at?: string | null;
|
|
40329
|
+
controlled_by?: string | null;
|
|
40260
40330
|
created_at?: string;
|
|
40261
40331
|
data: import("../integrations/supabase/types").Json;
|
|
40262
40332
|
floriday_id: string;
|
|
@@ -40268,6 +40338,8 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
|
|
|
40268
40338
|
Update: {
|
|
40269
40339
|
buyer_organization_id?: string | null;
|
|
40270
40340
|
connection_id?: string;
|
|
40341
|
+
controlled_at?: string | null;
|
|
40342
|
+
controlled_by?: string | null;
|
|
40271
40343
|
created_at?: string;
|
|
40272
40344
|
data?: import("../integrations/supabase/types").Json;
|
|
40273
40345
|
floriday_id?: string;
|
|
@@ -43286,6 +43358,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
|
|
|
43286
43358
|
id: string;
|
|
43287
43359
|
image_url: string | null;
|
|
43288
43360
|
incoming_quantity: number;
|
|
43361
|
+
is_layer: boolean;
|
|
43289
43362
|
layers_per_cart: number;
|
|
43290
43363
|
location: string;
|
|
43291
43364
|
min_quantity: number;
|
|
@@ -43313,6 +43386,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
|
|
|
43313
43386
|
id?: string;
|
|
43314
43387
|
image_url?: string | null;
|
|
43315
43388
|
incoming_quantity?: number;
|
|
43389
|
+
is_layer?: boolean;
|
|
43316
43390
|
layers_per_cart?: number;
|
|
43317
43391
|
location: string;
|
|
43318
43392
|
min_quantity?: number;
|
|
@@ -43340,6 +43414,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
|
|
|
43340
43414
|
id?: string;
|
|
43341
43415
|
image_url?: string | null;
|
|
43342
43416
|
incoming_quantity?: number;
|
|
43417
|
+
is_layer?: boolean;
|
|
43343
43418
|
layers_per_cart?: number;
|
|
43344
43419
|
location?: string;
|
|
43345
43420
|
min_quantity?: number;
|
|
@@ -46854,6 +46929,13 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
|
|
|
46854
46929
|
};
|
|
46855
46930
|
Returns: undefined;
|
|
46856
46931
|
};
|
|
46932
|
+
mark_salesorder_controlled: {
|
|
46933
|
+
Args: {
|
|
46934
|
+
p_controlled: boolean;
|
|
46935
|
+
p_floriday_id: string;
|
|
46936
|
+
};
|
|
46937
|
+
Returns: undefined;
|
|
46938
|
+
};
|
|
46857
46939
|
mark_shipment_shipped: {
|
|
46858
46940
|
Args: {
|
|
46859
46941
|
p_shipment_id: string;
|
|
@@ -47332,6 +47414,12 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
|
|
|
47332
47414
|
};
|
|
47333
47415
|
Returns: undefined;
|
|
47334
47416
|
};
|
|
47417
|
+
sync_product_group_belading: {
|
|
47418
|
+
Args: {
|
|
47419
|
+
_group_id: string;
|
|
47420
|
+
};
|
|
47421
|
+
Returns: undefined;
|
|
47422
|
+
};
|
|
47335
47423
|
sync_product_packing_from_floriday_cache: {
|
|
47336
47424
|
Args: {
|
|
47337
47425
|
p_floriday_id: string;
|