@flowselections/floriday-verkoop-module 1.0.18 → 1.0.19

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.
Files changed (30) hide show
  1. package/dist-lib/integrations/supabase/auth-middleware.d.ts +56 -0
  2. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  3. package/dist-lib/integrations/supabase/client.d.ts +56 -0
  4. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/client.server.d.ts +56 -0
  6. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/types.d.ts +56 -0
  8. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  9. package/dist-lib/lib/cart-lock.functions.d.ts +56 -0
  10. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  11. package/dist-lib/lib/cart-replan.functions.d.ts +112 -0
  12. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  13. package/dist-lib/lib/create-order.functions.d.ts +672 -0
  14. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  15. package/dist-lib/lib/create-order.functions.js +29 -19
  16. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +168 -0
  17. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  18. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +56 -0
  19. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  20. package/dist-lib/lib/floriday-public.functions.d.ts +392 -0
  21. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  22. package/dist-lib/lib/floriday-writes.functions.d.ts +280 -0
  23. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/order-shipments.functions.d.ts +224 -0
  25. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/salesorders.functions.d.ts +168 -0
  27. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/tradeitems.functions.d.ts +56 -0
  29. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  30. package/package.json +1 -1
@@ -7693,6 +7693,39 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
7693
7693
  referencedColumns: ["id"];
7694
7694
  }];
7695
7695
  };
7696
+ product_merge_log: {
7697
+ Row: {
7698
+ canonical_product_id: string | null;
7699
+ id: string;
7700
+ merged_at: string;
7701
+ merged_from_id: string;
7702
+ notes: string | null;
7703
+ snapshot: import("../integrations/supabase/types").Json;
7704
+ source_table: string;
7705
+ status: string;
7706
+ };
7707
+ Insert: {
7708
+ canonical_product_id?: string | null;
7709
+ id?: string;
7710
+ merged_at?: string;
7711
+ merged_from_id: string;
7712
+ notes?: string | null;
7713
+ snapshot?: import("../integrations/supabase/types").Json;
7714
+ source_table: string;
7715
+ status?: string;
7716
+ };
7717
+ Update: {
7718
+ canonical_product_id?: string | null;
7719
+ id?: string;
7720
+ merged_at?: string;
7721
+ merged_from_id?: string;
7722
+ notes?: string | null;
7723
+ snapshot?: import("../integrations/supabase/types").Json;
7724
+ source_table?: string;
7725
+ status?: string;
7726
+ };
7727
+ Relationships: [];
7728
+ };
7696
7729
  products: {
7697
7730
  Row: {
7698
7731
  article_number: string | null;
@@ -7701,6 +7734,9 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
7701
7734
  crates_per_layer: number;
7702
7735
  created_at: string;
7703
7736
  custom_fields: import("../integrations/supabase/types").Json;
7737
+ floriday_active: boolean;
7738
+ floriday_payload: import("../integrations/supabase/types").Json;
7739
+ floriday_trade_item_id: string | null;
7704
7740
  id: string;
7705
7741
  image_url: string | null;
7706
7742
  incoming_quantity: number;
@@ -7725,6 +7761,9 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
7725
7761
  crates_per_layer?: number;
7726
7762
  created_at?: string;
7727
7763
  custom_fields?: import("../integrations/supabase/types").Json;
7764
+ floriday_active?: boolean;
7765
+ floriday_payload?: import("../integrations/supabase/types").Json;
7766
+ floriday_trade_item_id?: string | null;
7728
7767
  id?: string;
7729
7768
  image_url?: string | null;
7730
7769
  incoming_quantity?: number;
@@ -7749,6 +7788,9 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
7749
7788
  crates_per_layer?: number;
7750
7789
  created_at?: string;
7751
7790
  custom_fields?: import("../integrations/supabase/types").Json;
7791
+ floriday_active?: boolean;
7792
+ floriday_payload?: import("../integrations/supabase/types").Json;
7793
+ floriday_trade_item_id?: string | null;
7752
7794
  id?: string;
7753
7795
  image_url?: string | null;
7754
7796
  incoming_quantity?: number;
@@ -10707,6 +10749,13 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
10707
10749
  };
10708
10750
  Returns: number;
10709
10751
  };
10752
+ _migrate_rewrite_stock_key: {
10753
+ Args: {
10754
+ _from_key: string;
10755
+ _to_key: string;
10756
+ };
10757
+ Returns: undefined;
10758
+ };
10710
10759
  afh_city_code: {
10711
10760
  Args: {
10712
10761
  _city: string;
@@ -11265,6 +11314,13 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
11265
11314
  };
11266
11315
  Returns: undefined;
11267
11316
  };
11317
+ merge_products: {
11318
+ Args: {
11319
+ _canonical: string;
11320
+ _loser: string;
11321
+ };
11322
+ Returns: undefined;
11323
+ };
11268
11324
  next_manufacture_partij: {
11269
11325
  Args: {
11270
11326
  _tenant_id: string;
@@ -19502,6 +19558,39 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
19502
19558
  referencedColumns: ["id"];
19503
19559
  }];
19504
19560
  };
19561
+ product_merge_log: {
19562
+ Row: {
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
+ Insert: {
19573
+ canonical_product_id?: string | null;
19574
+ id?: string;
19575
+ merged_at?: string;
19576
+ merged_from_id: string;
19577
+ notes?: string | null;
19578
+ snapshot?: import("../integrations/supabase/types").Json;
19579
+ source_table: string;
19580
+ status?: string;
19581
+ };
19582
+ Update: {
19583
+ canonical_product_id?: string | null;
19584
+ id?: string;
19585
+ merged_at?: string;
19586
+ merged_from_id?: string;
19587
+ notes?: string | null;
19588
+ snapshot?: import("../integrations/supabase/types").Json;
19589
+ source_table?: string;
19590
+ status?: string;
19591
+ };
19592
+ Relationships: [];
19593
+ };
19505
19594
  products: {
19506
19595
  Row: {
19507
19596
  article_number: string | null;
@@ -19510,6 +19599,9 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
19510
19599
  crates_per_layer: number;
19511
19600
  created_at: string;
19512
19601
  custom_fields: import("../integrations/supabase/types").Json;
19602
+ floriday_active: boolean;
19603
+ floriday_payload: import("../integrations/supabase/types").Json;
19604
+ floriday_trade_item_id: string | null;
19513
19605
  id: string;
19514
19606
  image_url: string | null;
19515
19607
  incoming_quantity: number;
@@ -19534,6 +19626,9 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
19534
19626
  crates_per_layer?: number;
19535
19627
  created_at?: string;
19536
19628
  custom_fields?: import("../integrations/supabase/types").Json;
19629
+ floriday_active?: boolean;
19630
+ floriday_payload?: import("../integrations/supabase/types").Json;
19631
+ floriday_trade_item_id?: string | null;
19537
19632
  id?: string;
19538
19633
  image_url?: string | null;
19539
19634
  incoming_quantity?: number;
@@ -19558,6 +19653,9 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
19558
19653
  crates_per_layer?: number;
19559
19654
  created_at?: string;
19560
19655
  custom_fields?: import("../integrations/supabase/types").Json;
19656
+ floriday_active?: boolean;
19657
+ floriday_payload?: import("../integrations/supabase/types").Json;
19658
+ floriday_trade_item_id?: string | null;
19561
19659
  id?: string;
19562
19660
  image_url?: string | null;
19563
19661
  incoming_quantity?: number;
@@ -22516,6 +22614,13 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
22516
22614
  };
22517
22615
  Returns: number;
22518
22616
  };
22617
+ _migrate_rewrite_stock_key: {
22618
+ Args: {
22619
+ _from_key: string;
22620
+ _to_key: string;
22621
+ };
22622
+ Returns: undefined;
22623
+ };
22519
22624
  afh_city_code: {
22520
22625
  Args: {
22521
22626
  _city: string;
@@ -23074,6 +23179,13 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
23074
23179
  };
23075
23180
  Returns: undefined;
23076
23181
  };
23182
+ merge_products: {
23183
+ Args: {
23184
+ _canonical: string;
23185
+ _loser: string;
23186
+ };
23187
+ Returns: undefined;
23188
+ };
23077
23189
  next_manufacture_partij: {
23078
23190
  Args: {
23079
23191
  _tenant_id: string;
@@ -31292,6 +31404,39 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
31292
31404
  referencedColumns: ["id"];
31293
31405
  }];
31294
31406
  };
31407
+ product_merge_log: {
31408
+ Row: {
31409
+ canonical_product_id: string | null;
31410
+ id: string;
31411
+ merged_at: string;
31412
+ merged_from_id: string;
31413
+ notes: string | null;
31414
+ snapshot: import("../integrations/supabase/types").Json;
31415
+ source_table: string;
31416
+ status: string;
31417
+ };
31418
+ Insert: {
31419
+ canonical_product_id?: string | null;
31420
+ id?: string;
31421
+ merged_at?: string;
31422
+ merged_from_id: string;
31423
+ notes?: string | null;
31424
+ snapshot?: import("../integrations/supabase/types").Json;
31425
+ source_table: string;
31426
+ status?: string;
31427
+ };
31428
+ Update: {
31429
+ canonical_product_id?: string | null;
31430
+ id?: string;
31431
+ merged_at?: string;
31432
+ merged_from_id?: string;
31433
+ notes?: string | null;
31434
+ snapshot?: import("../integrations/supabase/types").Json;
31435
+ source_table?: string;
31436
+ status?: string;
31437
+ };
31438
+ Relationships: [];
31439
+ };
31295
31440
  products: {
31296
31441
  Row: {
31297
31442
  article_number: string | null;
@@ -31300,6 +31445,9 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
31300
31445
  crates_per_layer: number;
31301
31446
  created_at: string;
31302
31447
  custom_fields: import("../integrations/supabase/types").Json;
31448
+ floriday_active: boolean;
31449
+ floriday_payload: import("../integrations/supabase/types").Json;
31450
+ floriday_trade_item_id: string | null;
31303
31451
  id: string;
31304
31452
  image_url: string | null;
31305
31453
  incoming_quantity: number;
@@ -31324,6 +31472,9 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
31324
31472
  crates_per_layer?: number;
31325
31473
  created_at?: string;
31326
31474
  custom_fields?: import("../integrations/supabase/types").Json;
31475
+ floriday_active?: boolean;
31476
+ floriday_payload?: import("../integrations/supabase/types").Json;
31477
+ floriday_trade_item_id?: string | null;
31327
31478
  id?: string;
31328
31479
  image_url?: string | null;
31329
31480
  incoming_quantity?: number;
@@ -31348,6 +31499,9 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
31348
31499
  crates_per_layer?: number;
31349
31500
  created_at?: string;
31350
31501
  custom_fields?: import("../integrations/supabase/types").Json;
31502
+ floriday_active?: boolean;
31503
+ floriday_payload?: import("../integrations/supabase/types").Json;
31504
+ floriday_trade_item_id?: string | null;
31351
31505
  id?: string;
31352
31506
  image_url?: string | null;
31353
31507
  incoming_quantity?: number;
@@ -34306,6 +34460,13 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
34306
34460
  };
34307
34461
  Returns: number;
34308
34462
  };
34463
+ _migrate_rewrite_stock_key: {
34464
+ Args: {
34465
+ _from_key: string;
34466
+ _to_key: string;
34467
+ };
34468
+ Returns: undefined;
34469
+ };
34309
34470
  afh_city_code: {
34310
34471
  Args: {
34311
34472
  _city: string;
@@ -34864,6 +35025,13 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
34864
35025
  };
34865
35026
  Returns: undefined;
34866
35027
  };
35028
+ merge_products: {
35029
+ Args: {
35030
+ _canonical: string;
35031
+ _loser: string;
35032
+ };
35033
+ Returns: undefined;
35034
+ };
34867
35035
  next_manufacture_partij: {
34868
35036
  Args: {
34869
35037
  _tenant_id: string;
@@ -43071,6 +43239,39 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
43071
43239
  referencedColumns: ["id"];
43072
43240
  }];
43073
43241
  };
43242
+ product_merge_log: {
43243
+ Row: {
43244
+ canonical_product_id: string | null;
43245
+ id: string;
43246
+ merged_at: string;
43247
+ merged_from_id: string;
43248
+ notes: string | null;
43249
+ snapshot: import("../integrations/supabase/types").Json;
43250
+ source_table: string;
43251
+ status: string;
43252
+ };
43253
+ Insert: {
43254
+ canonical_product_id?: string | null;
43255
+ id?: string;
43256
+ merged_at?: string;
43257
+ merged_from_id: string;
43258
+ notes?: string | null;
43259
+ snapshot?: import("../integrations/supabase/types").Json;
43260
+ source_table: string;
43261
+ status?: string;
43262
+ };
43263
+ Update: {
43264
+ canonical_product_id?: string | null;
43265
+ id?: string;
43266
+ merged_at?: string;
43267
+ merged_from_id?: string;
43268
+ notes?: string | null;
43269
+ snapshot?: import("../integrations/supabase/types").Json;
43270
+ source_table?: string;
43271
+ status?: string;
43272
+ };
43273
+ Relationships: [];
43274
+ };
43074
43275
  products: {
43075
43276
  Row: {
43076
43277
  article_number: string | null;
@@ -43079,6 +43280,9 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
43079
43280
  crates_per_layer: number;
43080
43281
  created_at: string;
43081
43282
  custom_fields: import("../integrations/supabase/types").Json;
43283
+ floriday_active: boolean;
43284
+ floriday_payload: import("../integrations/supabase/types").Json;
43285
+ floriday_trade_item_id: string | null;
43082
43286
  id: string;
43083
43287
  image_url: string | null;
43084
43288
  incoming_quantity: number;
@@ -43103,6 +43307,9 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
43103
43307
  crates_per_layer?: number;
43104
43308
  created_at?: string;
43105
43309
  custom_fields?: import("../integrations/supabase/types").Json;
43310
+ floriday_active?: boolean;
43311
+ floriday_payload?: import("../integrations/supabase/types").Json;
43312
+ floriday_trade_item_id?: string | null;
43106
43313
  id?: string;
43107
43314
  image_url?: string | null;
43108
43315
  incoming_quantity?: number;
@@ -43127,6 +43334,9 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
43127
43334
  crates_per_layer?: number;
43128
43335
  created_at?: string;
43129
43336
  custom_fields?: import("../integrations/supabase/types").Json;
43337
+ floriday_active?: boolean;
43338
+ floriday_payload?: import("../integrations/supabase/types").Json;
43339
+ floriday_trade_item_id?: string | null;
43130
43340
  id?: string;
43131
43341
  image_url?: string | null;
43132
43342
  incoming_quantity?: number;
@@ -46085,6 +46295,13 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
46085
46295
  };
46086
46296
  Returns: number;
46087
46297
  };
46298
+ _migrate_rewrite_stock_key: {
46299
+ Args: {
46300
+ _from_key: string;
46301
+ _to_key: string;
46302
+ };
46303
+ Returns: undefined;
46304
+ };
46088
46305
  afh_city_code: {
46089
46306
  Args: {
46090
46307
  _city: string;
@@ -46643,6 +46860,13 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
46643
46860
  };
46644
46861
  Returns: undefined;
46645
46862
  };
46863
+ merge_products: {
46864
+ Args: {
46865
+ _canonical: string;
46866
+ _loser: string;
46867
+ };
46868
+ Returns: undefined;
46869
+ };
46646
46870
  next_manufacture_partij: {
46647
46871
  Args: {
46648
46872
  _tenant_id: string;