@flowselections/floriday-klanten-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.
Files changed (48) hide show
  1. package/dist-lib/components/klanten/pricegroups/PriceGroupEditRoute.d.ts +3 -1
  2. package/dist-lib/components/klanten/pricegroups/PriceGroupEditRoute.d.ts.map +1 -1
  3. package/dist-lib/components/klanten/pricegroups/PriceGroupEditRoute.js +4 -4
  4. package/dist-lib/components/klanten/pricegroups/PriceGroupNewRoute.d.ts +2 -0
  5. package/dist-lib/components/klanten/pricegroups/PriceGroupNewRoute.d.ts.map +1 -0
  6. package/dist-lib/components/klanten/pricegroups/PriceGroupNewRoute.js +5 -0
  7. package/dist-lib/components/klanten/pricegroups/PriceGroupsRoute.d.ts +2 -0
  8. package/dist-lib/components/klanten/pricegroups/PriceGroupsRoute.d.ts.map +1 -0
  9. package/dist-lib/components/klanten/pricegroups/PriceGroupsRoute.js +12 -0
  10. package/dist-lib/index.d.ts +2 -0
  11. package/dist-lib/index.d.ts.map +1 -1
  12. package/dist-lib/index.js +2 -0
  13. package/dist-lib/integrations/supabase/auth-middleware.d.ts +228 -2
  14. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  15. package/dist-lib/integrations/supabase/client.d.ts +228 -2
  16. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  17. package/dist-lib/integrations/supabase/client.server.d.ts +228 -2
  18. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  19. package/dist-lib/integrations/supabase/types.d.ts +235 -3
  20. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  21. package/dist-lib/integrations/supabase/types.js +8 -1
  22. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts +684 -6
  23. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/accounting.functions.d.ts +684 -6
  25. package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/customer-analytics.functions.d.ts +228 -2
  27. package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/customers.functions.d.ts +2052 -18
  29. package/dist-lib/lib/customers.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/delivery-locations.functions.d.ts +912 -8
  31. package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
  32. package/dist-lib/lib/external-customers.functions.d.ts +912 -8
  33. package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
  34. package/dist-lib/lib/floriday-assortment.functions.d.ts +228 -2
  35. package/dist-lib/lib/floriday-assortment.functions.d.ts.map +1 -1
  36. package/dist-lib/lib/floriday-discounts.functions.d.ts +456 -4
  37. package/dist-lib/lib/floriday-discounts.functions.d.ts.map +1 -1
  38. package/dist-lib/lib/floriday-trade-items.functions.d.ts +228 -2
  39. package/dist-lib/lib/floriday-trade-items.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/local-discounts.functions.d.ts +1596 -14
  41. package/dist-lib/lib/local-discounts.functions.d.ts.map +1 -1
  42. package/dist-lib/lib/overdue-invoices.functions.d.ts +228 -2
  43. package/dist-lib/lib/overdue-invoices.functions.d.ts.map +1 -1
  44. package/dist-lib/lib/price-groups-local.functions.d.ts +1596 -14
  45. package/dist-lib/lib/price-groups-local.functions.d.ts.map +1 -1
  46. package/dist-lib/lib/price-groups.functions.d.ts +228 -2
  47. package/dist-lib/lib/price-groups.functions.d.ts.map +1 -1
  48. package/package.json +7 -7
@@ -1,2 +1,4 @@
1
- export declare function PriceGroupEditRoute(): import("react").JSX.Element;
1
+ export declare function PriceGroupEditRoute({ id: propId }?: {
2
+ id?: string;
3
+ }): import("react").JSX.Element;
2
4
  //# sourceMappingURL=PriceGroupEditRoute.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PriceGroupEditRoute.d.ts","sourceRoot":"","sources":["../../../../src/components/klanten/pricegroups/PriceGroupEditRoute.tsx"],"names":[],"mappings":"AAKA,wBAAgB,mBAAmB,gCAGlC"}
1
+ {"version":3,"file":"PriceGroupEditRoute.d.ts","sourceRoot":"","sources":["../../../../src/components/klanten/pricegroups/PriceGroupEditRoute.tsx"],"names":[],"mappings":"AAGA,wBAAgB,mBAAmB,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,GAAE;IAAE,EAAE,CAAC,EAAE,MAAM,CAAA;CAAO,+BAIvE"}
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { getRouteApi } from "@tanstack/react-router";
2
+ import { useParams } from "@tanstack/react-router";
3
3
  import { PriceGroupFormPage } from "./PriceGroupFormPage";
4
- const api = getRouteApi("/_authenticated/klanten/prijsgroepen/$id");
5
- export function PriceGroupEditRoute() {
6
- const { id } = api.useParams();
4
+ export function PriceGroupEditRoute({ id: propId } = {}) {
5
+ const params = useParams({ strict: false });
6
+ const id = propId ?? ("id" in params ? params.id : undefined);
7
7
  return _jsx(PriceGroupFormPage, { editingId: id });
8
8
  }
@@ -0,0 +1,2 @@
1
+ export declare function PriceGroupNewRoute(): import("react").JSX.Element;
2
+ //# sourceMappingURL=PriceGroupNewRoute.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PriceGroupNewRoute.d.ts","sourceRoot":"","sources":["../../../../src/components/klanten/pricegroups/PriceGroupNewRoute.tsx"],"names":[],"mappings":"AAEA,wBAAgB,kBAAkB,gCAEjC"}
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { PriceGroupFormPage } from "./PriceGroupFormPage";
3
+ export function PriceGroupNewRoute() {
4
+ return _jsx(PriceGroupFormPage, {});
5
+ }
@@ -0,0 +1,2 @@
1
+ export declare function PriceGroupsRoute(): import("react").JSX.Element;
2
+ //# sourceMappingURL=PriceGroupsRoute.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PriceGroupsRoute.d.ts","sourceRoot":"","sources":["../../../../src/components/klanten/pricegroups/PriceGroupsRoute.tsx"],"names":[],"mappings":"AAGA,wBAAgB,gBAAgB,gCAU/B"}
@@ -0,0 +1,12 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { Outlet, useRouterState } from "@tanstack/react-router";
3
+ import { PriceGroupsPage } from "./PriceGroupsPage";
4
+ export function PriceGroupsRoute() {
5
+ const pathname = useRouterState({
6
+ select: (state) => state.location.pathname.replace(/\/+$/, ""),
7
+ });
8
+ if (pathname.endsWith("/klanten/prijsgroepen")) {
9
+ return _jsx(PriceGroupsPage, {});
10
+ }
11
+ return _jsx(Outlet, {});
12
+ }
@@ -9,7 +9,9 @@ export { ImportKlanten } from "./components/klanten/ImportKlanten";
9
9
  export { KlantDetailRoute } from "./components/klanten/KlantDetailRoute";
10
10
  export { GroupedKlantDetailRoute } from "./components/klanten/GroupedKlantDetailRoute";
11
11
  export { PriceGroupsPage } from "./components/klanten/pricegroups/PriceGroupsPage";
12
+ export { PriceGroupsRoute } from "./components/klanten/pricegroups/PriceGroupsRoute";
12
13
  export { PriceGroupFormPage } from "./components/klanten/pricegroups/PriceGroupFormPage";
14
+ export { PriceGroupNewRoute } from "./components/klanten/pricegroups/PriceGroupNewRoute";
13
15
  export { PriceGroupEditRoute } from "./components/klanten/pricegroups/PriceGroupEditRoute";
14
16
  export declare const floridayKlantenModule: FlowModule;
15
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGvD,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8CAA8C,CAAC;AACvF,OAAO,EAAE,eAAe,EAAE,MAAM,kDAAkD,CAAC;AACnF,OAAO,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AACzF,OAAO,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAE3F,eAAO,MAAM,qBAAqB,EAAE,UAgBnC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGvD,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8CAA8C,CAAC;AACvF,OAAO,EAAE,eAAe,EAAE,MAAM,kDAAkD,CAAC;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,mDAAmD,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AACzF,OAAO,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC;AACzF,OAAO,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAE3F,eAAO,MAAM,qBAAqB,EAAE,UAgBnC,CAAC"}
package/dist-lib/index.js CHANGED
@@ -25,7 +25,9 @@ export { ImportKlanten } from "./components/klanten/ImportKlanten";
25
25
  export { KlantDetailRoute } from "./components/klanten/KlantDetailRoute";
26
26
  export { GroupedKlantDetailRoute } from "./components/klanten/GroupedKlantDetailRoute";
27
27
  export { PriceGroupsPage } from "./components/klanten/pricegroups/PriceGroupsPage";
28
+ export { PriceGroupsRoute } from "./components/klanten/pricegroups/PriceGroupsRoute";
28
29
  export { PriceGroupFormPage } from "./components/klanten/pricegroups/PriceGroupFormPage";
30
+ export { PriceGroupNewRoute } from "./components/klanten/pricegroups/PriceGroupNewRoute";
29
31
  export { PriceGroupEditRoute } from "./components/klanten/pricegroups/PriceGroupEditRoute";
30
32
  export const floridayKlantenModule = {
31
33
  id: "customers",
@@ -8357,6 +8357,66 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8357
8357
  referencedColumns: ["id"];
8358
8358
  }];
8359
8359
  };
8360
+ product_bom_items: {
8361
+ Row: {
8362
+ component_product_id: string | null;
8363
+ component_trade_item_floriday_id: string | null;
8364
+ created_at: string;
8365
+ id: string;
8366
+ notes: string | null;
8367
+ packing_configuration_id: string | null;
8368
+ parent_product_id: string | null;
8369
+ parent_trade_item_floriday_id: string | null;
8370
+ quantity: number;
8371
+ sort_order: number;
8372
+ tenant_id: string;
8373
+ unit: string;
8374
+ updated_at: string;
8375
+ };
8376
+ Insert: {
8377
+ component_product_id?: string | null;
8378
+ component_trade_item_floriday_id?: string | null;
8379
+ created_at?: string;
8380
+ id?: string;
8381
+ notes?: string | null;
8382
+ packing_configuration_id?: string | null;
8383
+ parent_product_id?: string | null;
8384
+ parent_trade_item_floriday_id?: string | null;
8385
+ quantity?: number;
8386
+ sort_order?: number;
8387
+ tenant_id: string;
8388
+ unit?: string;
8389
+ updated_at?: string;
8390
+ };
8391
+ Update: {
8392
+ component_product_id?: string | null;
8393
+ component_trade_item_floriday_id?: string | null;
8394
+ created_at?: string;
8395
+ id?: string;
8396
+ notes?: string | null;
8397
+ packing_configuration_id?: string | null;
8398
+ parent_product_id?: string | null;
8399
+ parent_trade_item_floriday_id?: string | null;
8400
+ quantity?: number;
8401
+ sort_order?: number;
8402
+ tenant_id?: string;
8403
+ unit?: string;
8404
+ updated_at?: string;
8405
+ };
8406
+ Relationships: [{
8407
+ foreignKeyName: "product_bom_items_component_product_id_fkey";
8408
+ columns: ["component_product_id"];
8409
+ isOneToOne: false;
8410
+ referencedRelation: "products";
8411
+ referencedColumns: ["id"];
8412
+ }, {
8413
+ foreignKeyName: "product_bom_items_parent_product_id_fkey";
8414
+ columns: ["parent_product_id"];
8415
+ isOneToOne: false;
8416
+ referencedRelation: "products";
8417
+ referencedColumns: ["id"];
8418
+ }];
8419
+ };
8360
8420
  product_categories: {
8361
8421
  Row: {
8362
8422
  color: string;
@@ -8462,6 +8522,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8462
8522
  id: string;
8463
8523
  product_group_id: string;
8464
8524
  quantity: number;
8525
+ sort_order: number;
8465
8526
  trade_item_id: string;
8466
8527
  };
8467
8528
  Insert: {
@@ -8469,6 +8530,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8469
8530
  id?: string;
8470
8531
  product_group_id: string;
8471
8532
  quantity?: number;
8533
+ sort_order?: number;
8472
8534
  trade_item_id: string;
8473
8535
  };
8474
8536
  Update: {
@@ -8476,6 +8538,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8476
8538
  id?: string;
8477
8539
  product_group_id?: string;
8478
8540
  quantity?: number;
8541
+ sort_order?: number;
8479
8542
  trade_item_id?: string;
8480
8543
  };
8481
8544
  Relationships: [{
@@ -8528,16 +8591,85 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8528
8591
  referencedColumns: ["id"];
8529
8592
  }];
8530
8593
  };
8594
+ product_load_settings: {
8595
+ Row: {
8596
+ created_at: string;
8597
+ id: string;
8598
+ is_package: boolean;
8599
+ label: string | null;
8600
+ layers_per_load_carrier: number | null;
8601
+ load_carrier: string | null;
8602
+ package_id: string | null;
8603
+ package_label: string | null;
8604
+ packages_per_layer: number | null;
8605
+ packing_configuration_id: string;
8606
+ product_id: string | null;
8607
+ tenant_id: string;
8608
+ trade_item_floriday_id: string | null;
8609
+ units_per_package: number | null;
8610
+ updated_at: string;
8611
+ };
8612
+ Insert: {
8613
+ created_at?: string;
8614
+ id?: string;
8615
+ is_package?: boolean;
8616
+ label?: string | null;
8617
+ layers_per_load_carrier?: number | null;
8618
+ load_carrier?: string | null;
8619
+ package_id?: string | null;
8620
+ package_label?: string | null;
8621
+ packages_per_layer?: number | null;
8622
+ packing_configuration_id?: string;
8623
+ product_id?: string | null;
8624
+ tenant_id: string;
8625
+ trade_item_floriday_id?: string | null;
8626
+ units_per_package?: number | null;
8627
+ updated_at?: string;
8628
+ };
8629
+ Update: {
8630
+ created_at?: string;
8631
+ id?: string;
8632
+ is_package?: boolean;
8633
+ label?: string | null;
8634
+ layers_per_load_carrier?: number | null;
8635
+ load_carrier?: string | null;
8636
+ package_id?: string | null;
8637
+ package_label?: string | null;
8638
+ packages_per_layer?: number | null;
8639
+ packing_configuration_id?: string;
8640
+ product_id?: string | null;
8641
+ tenant_id?: string;
8642
+ trade_item_floriday_id?: string | null;
8643
+ units_per_package?: number | null;
8644
+ updated_at?: string;
8645
+ };
8646
+ Relationships: [{
8647
+ foreignKeyName: "product_load_settings_package_id_fkey";
8648
+ columns: ["package_id"];
8649
+ isOneToOne: false;
8650
+ referencedRelation: "packages";
8651
+ referencedColumns: ["id"];
8652
+ }, {
8653
+ foreignKeyName: "product_load_settings_product_id_fkey";
8654
+ columns: ["product_id"];
8655
+ isOneToOne: false;
8656
+ referencedRelation: "products";
8657
+ referencedColumns: ["id"];
8658
+ }];
8659
+ };
8531
8660
  products: {
8532
8661
  Row: {
8662
+ article_number: string | null;
8533
8663
  barcode: string | null;
8534
8664
  batch: string;
8535
8665
  crates_per_layer: number;
8536
8666
  created_at: string;
8537
8667
  custom_fields: import("./types").Json;
8668
+ floriday_trade_item_id: string | null;
8538
8669
  id: string;
8539
8670
  image_url: string | null;
8540
8671
  incoming_quantity: number;
8672
+ is_layer: boolean;
8541
8673
  layers_per_cart: number;
8542
8674
  location: string;
8543
8675
  min_quantity: number;
@@ -8553,14 +8685,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8553
8685
  weight: string | null;
8554
8686
  };
8555
8687
  Insert: {
8688
+ article_number?: string | null;
8556
8689
  barcode?: string | null;
8557
8690
  batch: string;
8558
8691
  crates_per_layer?: number;
8559
8692
  created_at?: string;
8560
8693
  custom_fields?: import("./types").Json;
8694
+ floriday_trade_item_id?: string | null;
8561
8695
  id?: string;
8562
8696
  image_url?: string | null;
8563
8697
  incoming_quantity?: number;
8698
+ is_layer?: boolean;
8564
8699
  layers_per_cart?: number;
8565
8700
  location: string;
8566
8701
  min_quantity?: number;
@@ -8576,14 +8711,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8576
8711
  weight?: string | null;
8577
8712
  };
8578
8713
  Update: {
8714
+ article_number?: string | null;
8579
8715
  barcode?: string | null;
8580
8716
  batch?: string;
8581
8717
  crates_per_layer?: number;
8582
8718
  created_at?: string;
8583
8719
  custom_fields?: import("./types").Json;
8720
+ floriday_trade_item_id?: string | null;
8584
8721
  id?: string;
8585
8722
  image_url?: string | null;
8586
8723
  incoming_quantity?: number;
8724
+ is_layer?: boolean;
8587
8725
  layers_per_cart?: number;
8588
8726
  location?: string;
8589
8727
  min_quantity?: number;
@@ -8603,6 +8741,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8603
8741
  profiles: {
8604
8742
  Row: {
8605
8743
  address: string | null;
8744
+ avatar_url: string | null;
8606
8745
  created_at: string;
8607
8746
  display_name: string | null;
8608
8747
  email: string | null;
@@ -8614,6 +8753,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8614
8753
  };
8615
8754
  Insert: {
8616
8755
  address?: string | null;
8756
+ avatar_url?: string | null;
8617
8757
  created_at?: string;
8618
8758
  display_name?: string | null;
8619
8759
  email?: string | null;
@@ -8625,6 +8765,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8625
8765
  };
8626
8766
  Update: {
8627
8767
  address?: string | null;
8768
+ avatar_url?: string | null;
8628
8769
  created_at?: string;
8629
8770
  display_name?: string | null;
8630
8771
  email?: string | null;
@@ -9491,6 +9632,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9491
9632
  order_source: string | null;
9492
9633
  physical_after: number | null;
9493
9634
  physical_before: number | null;
9635
+ production_batch_id: string | null;
9494
9636
  qty_delta: number;
9495
9637
  reason: string | null;
9496
9638
  reserved_after: number | null;
@@ -9508,6 +9650,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9508
9650
  order_source?: string | null;
9509
9651
  physical_after?: number | null;
9510
9652
  physical_before?: number | null;
9653
+ production_batch_id?: string | null;
9511
9654
  qty_delta: number;
9512
9655
  reason?: string | null;
9513
9656
  reserved_after?: number | null;
@@ -9525,6 +9668,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9525
9668
  order_source?: string | null;
9526
9669
  physical_after?: number | null;
9527
9670
  physical_before?: number | null;
9671
+ production_batch_id?: string | null;
9528
9672
  qty_delta?: number;
9529
9673
  reason?: string | null;
9530
9674
  reserved_after?: number | null;
@@ -11953,6 +12097,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11953
12097
  processed_items: number;
11954
12098
  }[];
11955
12099
  };
12100
+ calculate_layer_stock: {
12101
+ Args: {
12102
+ p_product_id: string;
12103
+ };
12104
+ Returns: number;
12105
+ };
11956
12106
  call_exact_route: {
11957
12107
  Args: {
11958
12108
  path: string;
@@ -12012,6 +12162,28 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12012
12162
  Args: never;
12013
12163
  Returns: undefined;
12014
12164
  };
12165
+ consume_bom_for_production: {
12166
+ Args: {
12167
+ p_connection_id: string;
12168
+ p_parent_id: string;
12169
+ p_parent_key: string;
12170
+ p_parent_kind: string;
12171
+ p_quantity: number;
12172
+ p_user_id: string;
12173
+ };
12174
+ Returns: import("./types").Json;
12175
+ } | {
12176
+ Args: {
12177
+ p_batch_id?: string;
12178
+ p_connection_id: string;
12179
+ p_parent_id: string;
12180
+ p_parent_key: string;
12181
+ p_parent_kind: string;
12182
+ p_quantity: number;
12183
+ p_user_id: string;
12184
+ };
12185
+ Returns: import("./types").Json;
12186
+ };
12015
12187
  consume_floriday_rate_limit: {
12016
12188
  Args: {
12017
12189
  p_bucket: string;
@@ -12069,6 +12241,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12069
12241
  table_name: string;
12070
12242
  }[];
12071
12243
  };
12244
+ delete_samenstelling: {
12245
+ Args: {
12246
+ p_parent_id: string;
12247
+ p_parent_kind: string;
12248
+ };
12249
+ Returns: import("./types").Json;
12250
+ };
12072
12251
  dispatch_carrier_signups_sql: {
12073
12252
  Args: {
12074
12253
  _catchup?: string;
@@ -12324,6 +12503,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12324
12503
  minutes_since_success: number;
12325
12504
  }[];
12326
12505
  };
12506
+ get_inventory_stock_for_key: {
12507
+ Args: {
12508
+ p_key: string;
12509
+ };
12510
+ Returns: number;
12511
+ };
12327
12512
  get_offer_by_link_code: {
12328
12513
  Args: {
12329
12514
  p_code: string;
@@ -12354,6 +12539,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12354
12539
  };
12355
12540
  Returns: string;
12356
12541
  };
12542
+ get_product_group_available_stock: {
12543
+ Args: {
12544
+ p_group_id: string;
12545
+ };
12546
+ Returns: number;
12547
+ };
12357
12548
  get_room_busy_windows: {
12358
12549
  Args: {
12359
12550
  p_from: string;
@@ -12427,9 +12618,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12427
12618
  list_monteurs: {
12428
12619
  Args: never;
12429
12620
  Returns: {
12621
+ avatar_url: string;
12430
12622
  display_name: string;
12431
12623
  email: string;
12432
- user_id: string;
12624
+ id: string;
12433
12625
  }[];
12434
12626
  };
12435
12627
  local_effective_price: {
@@ -12564,6 +12756,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12564
12756
  };
12565
12757
  Returns: undefined;
12566
12758
  };
12759
+ produce_designed_product: {
12760
+ Args: {
12761
+ p_parent_id: string;
12762
+ p_parent_kind: string;
12763
+ p_quantity: number;
12764
+ };
12765
+ Returns: import("./types").Json;
12766
+ };
12567
12767
  promote_trade_item_key: {
12568
12768
  Args: {
12569
12769
  p_new: string;
@@ -12638,6 +12838,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12638
12838
  };
12639
12839
  Returns: number;
12640
12840
  };
12841
+ reverse_production: {
12842
+ Args: {
12843
+ p_connection_id?: string;
12844
+ p_parent_key: string;
12845
+ p_quantity: number;
12846
+ p_reason?: string;
12847
+ p_user_id?: string;
12848
+ };
12849
+ Returns: import("./types").Json;
12850
+ };
12641
12851
  schedule_floriday_additional_services_sync: {
12642
12852
  Args: {
12643
12853
  p_apikey: string;
@@ -12922,18 +13132,34 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12922
13132
  };
12923
13133
  Returns: string[];
12924
13134
  };
13135
+ sync_all_layer_stocks: {
13136
+ Args: never;
13137
+ Returns: undefined;
13138
+ };
12925
13139
  sync_cached_packing_from_product: {
12926
13140
  Args: {
12927
13141
  p_product_id: string;
12928
13142
  };
12929
13143
  Returns: undefined;
12930
13144
  };
13145
+ sync_layer_stock: {
13146
+ Args: {
13147
+ p_product_id: string;
13148
+ };
13149
+ Returns: undefined;
13150
+ };
12931
13151
  sync_order_cart_item_packing_from_product: {
12932
13152
  Args: {
12933
13153
  p_product_id: string;
12934
13154
  };
12935
13155
  Returns: undefined;
12936
13156
  };
13157
+ sync_product_group_belading: {
13158
+ Args: {
13159
+ _group_id: string;
13160
+ };
13161
+ Returns: undefined;
13162
+ };
12937
13163
  sync_product_packing_from_floriday_cache: {
12938
13164
  Args: {
12939
13165
  p_floriday_id: string;
@@ -12970,7 +13196,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12970
13196
  exact_push_status: "pending" | "sent" | "error";
12971
13197
  itk_customer_segment: "Business" | "Private";
12972
13198
  itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
12973
- planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd";
13199
+ planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd" | "concept" | "vrijgegeven";
12974
13200
  quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
12975
13201
  };
12976
13202
  CompositeTypes: { [_ in never]: never; };