@flowselections/floriday-voorraad 1.0.66 → 1.0.67

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 (25) hide show
  1. package/dist-lib/hooks-entry.d.ts +11 -0
  2. package/dist-lib/hooks-entry.d.ts.map +1 -0
  3. package/dist-lib/hooks-entry.js +10 -0
  4. package/dist-lib/integrations/supabase/types.d.ts +122 -0
  5. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  6. package/dist-lib/lib/inventory-settings.functions.d.ts +1 -1
  7. package/dist-lib/server-hooks/floriday-base-supply.d.ts +3 -0
  8. package/dist-lib/server-hooks/floriday-base-supply.d.ts.map +1 -0
  9. package/dist-lib/server-hooks/floriday-base-supply.js +73 -0
  10. package/dist-lib/server-hooks/floriday-continuous-stock-pull.d.ts +3 -0
  11. package/dist-lib/server-hooks/floriday-continuous-stock-pull.d.ts.map +1 -0
  12. package/dist-lib/server-hooks/floriday-continuous-stock-pull.js +168 -0
  13. package/dist-lib/server-hooks/floriday-continuous-stock.d.ts +3 -0
  14. package/dist-lib/server-hooks/floriday-continuous-stock.d.ts.map +1 -0
  15. package/dist-lib/server-hooks/floriday-continuous-stock.js +111 -0
  16. package/dist-lib/server-hooks/floriday-stock-reconcile.d.ts +3 -0
  17. package/dist-lib/server-hooks/floriday-stock-reconcile.d.ts.map +1 -0
  18. package/dist-lib/server-hooks/floriday-stock-reconcile.js +235 -0
  19. package/dist-lib/server-hooks/guard.d.ts +3 -0
  20. package/dist-lib/server-hooks/guard.d.ts.map +1 -0
  21. package/dist-lib/server-hooks/guard.js +60 -0
  22. package/dist-lib/server-hooks/logistics-tasks-run.d.ts +3 -0
  23. package/dist-lib/server-hooks/logistics-tasks-run.d.ts.map +1 -0
  24. package/dist-lib/server-hooks/logistics-tasks-run.js +37 -0
  25. package/package.json +53 -2
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Export "./hooks": server-handlers die de Shell via
3
+ * package.json → flowselections.serverRoutes als routes aanmaakt.
4
+ * Server-only; nooit importeren vanuit client-code.
5
+ */
6
+ export { handleFloridayBaseSupply } from "./server-hooks/floriday-base-supply";
7
+ export { handleFloridayContinuousStock } from "./server-hooks/floriday-continuous-stock";
8
+ export { handleFloridayContinuousStockPull } from "./server-hooks/floriday-continuous-stock-pull";
9
+ export { handleFloridayStockReconcile } from "./server-hooks/floriday-stock-reconcile";
10
+ export { handleLogisticsTasksRun } from "./server-hooks/logistics-tasks-run";
11
+ //# sourceMappingURL=hooks-entry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hooks-entry.d.ts","sourceRoot":"","sources":["../src/hooks-entry.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,EAAE,6BAA6B,EAAE,MAAM,0CAA0C,CAAC;AACzF,OAAO,EAAE,iCAAiC,EAAE,MAAM,+CAA+C,CAAC;AAClG,OAAO,EAAE,4BAA4B,EAAE,MAAM,yCAAyC,CAAC;AACvF,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Export "./hooks": server-handlers die de Shell via
3
+ * package.json → flowselections.serverRoutes als routes aanmaakt.
4
+ * Server-only; nooit importeren vanuit client-code.
5
+ */
6
+ export { handleFloridayBaseSupply } from "./server-hooks/floriday-base-supply";
7
+ export { handleFloridayContinuousStock } from "./server-hooks/floriday-continuous-stock";
8
+ export { handleFloridayContinuousStockPull } from "./server-hooks/floriday-continuous-stock-pull";
9
+ export { handleFloridayStockReconcile } from "./server-hooks/floriday-stock-reconcile";
10
+ export { handleLogisticsTasksRun } from "./server-hooks/logistics-tasks-run";
@@ -3059,6 +3059,27 @@ export type Database = {
3059
3059
  }
3060
3060
  ];
3061
3061
  };
3062
+ dashboard_funnel_indelingen: {
3063
+ Row: {
3064
+ created_at: string;
3065
+ posities: Json;
3066
+ updated_at: string;
3067
+ user_id: string;
3068
+ };
3069
+ Insert: {
3070
+ created_at?: string;
3071
+ posities?: Json;
3072
+ updated_at?: string;
3073
+ user_id?: string;
3074
+ };
3075
+ Update: {
3076
+ created_at?: string;
3077
+ posities?: Json;
3078
+ updated_at?: string;
3079
+ user_id?: string;
3080
+ };
3081
+ Relationships: [];
3082
+ };
3062
3083
  dashboard_pages: {
3063
3084
  Row: {
3064
3085
  created_at: string;
@@ -11762,6 +11783,7 @@ export type Database = {
11762
11783
  approved_at: string | null;
11763
11784
  attempts: number;
11764
11785
  barcode: string;
11786
+ bron: string | null;
11765
11787
  cart_id: string;
11766
11788
  created_at: string;
11767
11789
  document_url: string | null;
@@ -11784,6 +11806,7 @@ export type Database = {
11784
11806
  approved_at?: string | null;
11785
11807
  attempts?: number;
11786
11808
  barcode: string;
11809
+ bron?: string | null;
11787
11810
  cart_id: string;
11788
11811
  created_at?: string;
11789
11812
  document_url?: string | null;
@@ -11806,6 +11829,7 @@ export type Database = {
11806
11829
  approved_at?: string | null;
11807
11830
  attempts?: number;
11808
11831
  barcode?: string;
11832
+ bron?: string | null;
11809
11833
  cart_id?: string;
11810
11834
  created_at?: string;
11811
11835
  document_url?: string | null;
@@ -12548,6 +12572,32 @@ export type Database = {
12548
12572
  };
12549
12573
  Relationships: [];
12550
12574
  };
12575
+ logistics_order_plan_exclusion: {
12576
+ Row: {
12577
+ created_at: string;
12578
+ order_id: string;
12579
+ reason: string;
12580
+ };
12581
+ Insert: {
12582
+ created_at?: string;
12583
+ order_id: string;
12584
+ reason: string;
12585
+ };
12586
+ Update: {
12587
+ created_at?: string;
12588
+ order_id?: string;
12589
+ reason?: string;
12590
+ };
12591
+ Relationships: [
12592
+ {
12593
+ foreignKeyName: "logistics_order_plan_exclusion_order_id_fkey";
12594
+ columns: ["order_id"];
12595
+ isOneToOne: true;
12596
+ referencedRelation: "orders";
12597
+ referencedColumns: ["id"];
12598
+ }
12599
+ ];
12600
+ };
12551
12601
  logistics_packing_deviations: {
12552
12602
  Row: {
12553
12603
  auto_fixed_at: string | null;
@@ -26432,6 +26482,8 @@ export type Database = {
26432
26482
  id: string;
26433
26483
  internal_notes: string | null;
26434
26484
  needs_detail_review: boolean;
26485
+ offerte_teruggestuurd_id: string | null;
26486
+ offerte_teruggestuurd_op: string | null;
26435
26487
  parent_werkbon_id: string | null;
26436
26488
  parsed_payload: Json | null;
26437
26489
  planning_status: string;
@@ -26476,6 +26528,8 @@ export type Database = {
26476
26528
  id?: string;
26477
26529
  internal_notes?: string | null;
26478
26530
  needs_detail_review?: boolean;
26531
+ offerte_teruggestuurd_id?: string | null;
26532
+ offerte_teruggestuurd_op?: string | null;
26479
26533
  parent_werkbon_id?: string | null;
26480
26534
  parsed_payload?: Json | null;
26481
26535
  planning_status?: string;
@@ -26520,6 +26574,8 @@ export type Database = {
26520
26574
  id?: string;
26521
26575
  internal_notes?: string | null;
26522
26576
  needs_detail_review?: boolean;
26577
+ offerte_teruggestuurd_id?: string | null;
26578
+ offerte_teruggestuurd_op?: string | null;
26523
26579
  parent_werkbon_id?: string | null;
26524
26580
  parsed_payload?: Json | null;
26525
26581
  planning_status?: string;
@@ -30331,6 +30387,7 @@ export type Database = {
30331
30387
  approved_at: string | null;
30332
30388
  attempts: number;
30333
30389
  barcode: string;
30390
+ bron: string | null;
30334
30391
  cart_id: string;
30335
30392
  created_at: string;
30336
30393
  document_url: string | null;
@@ -30389,6 +30446,13 @@ export type Database = {
30389
30446
  };
30390
30447
  Returns: Json;
30391
30448
  };
30449
+ logistics_control_scan_record_afmelding: {
30450
+ Args: {
30451
+ p_bron: string;
30452
+ p_order_id: string;
30453
+ };
30454
+ Returns: number;
30455
+ };
30392
30456
  logistics_control_scan_retry: {
30393
30457
  Args: {
30394
30458
  _id: string;
@@ -30862,12 +30926,24 @@ export type Database = {
30862
30926
  Args: never;
30863
30927
  Returns: string;
30864
30928
  };
30929
+ logistics_order_afgemeld: {
30930
+ Args: {
30931
+ p_order_id: string;
30932
+ };
30933
+ Returns: boolean;
30934
+ };
30865
30935
  logistics_order_backlog_info: {
30866
30936
  Args: {
30867
30937
  p_order_id: string;
30868
30938
  };
30869
30939
  Returns: Json;
30870
30940
  };
30941
+ logistics_order_buffer_excluded: {
30942
+ Args: {
30943
+ p_order_id: string;
30944
+ };
30945
+ Returns: boolean;
30946
+ };
30871
30947
  logistics_order_cart_approval: {
30872
30948
  Args: {
30873
30949
  _order_ref: string;
@@ -31013,6 +31089,12 @@ export type Database = {
31013
31089
  };
31014
31090
  Returns: boolean;
31015
31091
  };
31092
+ logistics_order_on_frozen_shared_cart: {
31093
+ Args: {
31094
+ p_order_id: string;
31095
+ };
31096
+ Returns: boolean;
31097
+ };
31016
31098
  logistics_order_overview: {
31017
31099
  Args: {
31018
31100
  p_from?: string;
@@ -31476,6 +31558,12 @@ export type Database = {
31476
31558
  };
31477
31559
  Returns: string;
31478
31560
  };
31561
+ logistics_queue_row_has_open_peer: {
31562
+ Args: {
31563
+ p_payload: Json;
31564
+ };
31565
+ Returns: boolean;
31566
+ };
31479
31567
  logistics_queue_stock_email: {
31480
31568
  Args: {
31481
31569
  p_alert_id: string;
@@ -31781,6 +31869,17 @@ export type Database = {
31781
31869
  };
31782
31870
  Returns: Json;
31783
31871
  };
31872
+ logistics_shared_cart_peers: {
31873
+ Args: {
31874
+ p_order_id: string;
31875
+ };
31876
+ Returns: {
31877
+ buffer_id: string;
31878
+ cart_id: string;
31879
+ cart_number: number;
31880
+ peer_order_id: string;
31881
+ }[];
31882
+ };
31784
31883
  logistics_shift_to_workday: {
31785
31884
  Args: {
31786
31885
  p_days: string[];
@@ -35104,6 +35203,23 @@ export type Database = {
35104
35203
  Args: never;
35105
35204
  Returns: Json;
35106
35205
  };
35206
+ voorraad_hook_base_url: {
35207
+ Args: never;
35208
+ Returns: string;
35209
+ };
35210
+ voorraad_hook_on: {
35211
+ Args: {
35212
+ p_name: string;
35213
+ };
35214
+ Returns: boolean;
35215
+ };
35216
+ voorraad_hook_post: {
35217
+ Args: {
35218
+ p_path: string;
35219
+ p_timeout?: number;
35220
+ };
35221
+ Returns: undefined;
35222
+ };
35107
35223
  voorraad_production_enabled: {
35108
35224
  Args: never;
35109
35225
  Returns: boolean;
@@ -35246,6 +35362,12 @@ export type Database = {
35246
35362
  };
35247
35363
  Returns: Json;
35248
35364
  };
35365
+ wo_send_to_quote: {
35366
+ Args: {
35367
+ _werkbon_id: string;
35368
+ };
35369
+ Returns: Json;
35370
+ };
35249
35371
  wo_set_status: {
35250
35372
  Args: {
35251
35373
  _reason?: string;