@flowselections/floriday-klanten-module 1.0.17 → 1.0.18

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 (42) hide show
  1. package/dist-lib/components/klanten/pricegroups/PriceGroupEditRoute.d.ts +2 -0
  2. package/dist-lib/components/klanten/pricegroups/PriceGroupEditRoute.d.ts.map +1 -0
  3. package/dist-lib/components/klanten/pricegroups/PriceGroupEditRoute.js +8 -0
  4. package/dist-lib/index.d.ts +2 -0
  5. package/dist-lib/index.d.ts.map +1 -1
  6. package/dist-lib/index.js +2 -0
  7. package/dist-lib/integrations/supabase/auth-middleware.d.ts +46 -0
  8. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  9. package/dist-lib/integrations/supabase/client.d.ts +46 -0
  10. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  11. package/dist-lib/integrations/supabase/client.server.d.ts +46 -0
  12. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  13. package/dist-lib/integrations/supabase/types.d.ts +49 -0
  14. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  15. package/dist-lib/integrations/supabase/types.js +1 -0
  16. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts +138 -0
  17. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts.map +1 -1
  18. package/dist-lib/lib/accounting.functions.d.ts +138 -0
  19. package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
  20. package/dist-lib/lib/customer-analytics.functions.d.ts +46 -0
  21. package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
  22. package/dist-lib/lib/customers.functions.d.ts +414 -0
  23. package/dist-lib/lib/customers.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/delivery-locations.functions.d.ts +184 -0
  25. package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/external-customers.functions.d.ts +184 -0
  27. package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/floriday-assortment.functions.d.ts +46 -0
  29. package/dist-lib/lib/floriday-assortment.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/floriday-discounts.functions.d.ts +92 -0
  31. package/dist-lib/lib/floriday-discounts.functions.d.ts.map +1 -1
  32. package/dist-lib/lib/floriday-trade-items.functions.d.ts +46 -0
  33. package/dist-lib/lib/floriday-trade-items.functions.d.ts.map +1 -1
  34. package/dist-lib/lib/local-discounts.functions.d.ts +322 -0
  35. package/dist-lib/lib/local-discounts.functions.d.ts.map +1 -1
  36. package/dist-lib/lib/overdue-invoices.functions.d.ts +46 -0
  37. package/dist-lib/lib/overdue-invoices.functions.d.ts.map +1 -1
  38. package/dist-lib/lib/price-groups-local.functions.d.ts +322 -0
  39. package/dist-lib/lib/price-groups-local.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/price-groups.functions.d.ts +46 -0
  41. package/dist-lib/lib/price-groups.functions.d.ts.map +1 -1
  42. package/package.json +6 -1
@@ -8361,6 +8361,51 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
8361
8361
  };
8362
8362
  Relationships: [];
8363
8363
  };
8364
+ planning_items: {
8365
+ Row: {
8366
+ assigned_monteur_id: string;
8367
+ created_at: string;
8368
+ created_by: string | null;
8369
+ end_at: string;
8370
+ id: string;
8371
+ notes: string | null;
8372
+ start_at: string;
8373
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
8374
+ updated_at: string;
8375
+ werkbon_id: string;
8376
+ };
8377
+ Insert: {
8378
+ assigned_monteur_id: string;
8379
+ created_at?: string;
8380
+ created_by?: string | null;
8381
+ end_at: string;
8382
+ id?: string;
8383
+ notes?: string | null;
8384
+ start_at: string;
8385
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
8386
+ updated_at?: string;
8387
+ werkbon_id: string;
8388
+ };
8389
+ Update: {
8390
+ assigned_monteur_id?: string;
8391
+ created_at?: string;
8392
+ created_by?: string | null;
8393
+ end_at?: string;
8394
+ id?: string;
8395
+ notes?: string | null;
8396
+ start_at?: string;
8397
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
8398
+ updated_at?: string;
8399
+ werkbon_id?: string;
8400
+ };
8401
+ Relationships: [{
8402
+ foreignKeyName: "planning_items_werkbon_id_fkey";
8403
+ columns: ["werkbon_id"];
8404
+ isOneToOne: false;
8405
+ referencedRelation: "werkbonnen";
8406
+ referencedColumns: ["id"];
8407
+ }];
8408
+ };
8364
8409
  product_categories: {
8365
8410
  Row: {
8366
8411
  color: string;
@@ -12967,6 +13012,7 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
12967
13012
  exact_push_status: "pending" | "sent" | "error";
12968
13013
  itk_customer_segment: "Business" | "Private";
12969
13014
  itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
13015
+ planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd";
12970
13016
  quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
12971
13017
  };
12972
13018
  CompositeTypes: { [_ in never]: never; };
@@ -21289,6 +21335,51 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
21289
21335
  };
21290
21336
  Relationships: [];
21291
21337
  };
21338
+ planning_items: {
21339
+ Row: {
21340
+ assigned_monteur_id: string;
21341
+ created_at: string;
21342
+ created_by: string | null;
21343
+ end_at: string;
21344
+ id: string;
21345
+ notes: string | null;
21346
+ start_at: string;
21347
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
21348
+ updated_at: string;
21349
+ werkbon_id: string;
21350
+ };
21351
+ Insert: {
21352
+ assigned_monteur_id: string;
21353
+ created_at?: string;
21354
+ created_by?: string | null;
21355
+ end_at: string;
21356
+ id?: string;
21357
+ notes?: string | null;
21358
+ start_at: string;
21359
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
21360
+ updated_at?: string;
21361
+ werkbon_id: string;
21362
+ };
21363
+ Update: {
21364
+ assigned_monteur_id?: string;
21365
+ created_at?: string;
21366
+ created_by?: string | null;
21367
+ end_at?: string;
21368
+ id?: string;
21369
+ notes?: string | null;
21370
+ start_at?: string;
21371
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
21372
+ updated_at?: string;
21373
+ werkbon_id?: string;
21374
+ };
21375
+ Relationships: [{
21376
+ foreignKeyName: "planning_items_werkbon_id_fkey";
21377
+ columns: ["werkbon_id"];
21378
+ isOneToOne: false;
21379
+ referencedRelation: "werkbonnen";
21380
+ referencedColumns: ["id"];
21381
+ }];
21382
+ };
21292
21383
  product_categories: {
21293
21384
  Row: {
21294
21385
  color: string;
@@ -25895,6 +25986,7 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
25895
25986
  exact_push_status: "pending" | "sent" | "error";
25896
25987
  itk_customer_segment: "Business" | "Private";
25897
25988
  itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
25989
+ planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd";
25898
25990
  quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
25899
25991
  };
25900
25992
  CompositeTypes: { [_ in never]: never; };
@@ -34243,6 +34335,51 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
34243
34335
  };
34244
34336
  Relationships: [];
34245
34337
  };
34338
+ planning_items: {
34339
+ Row: {
34340
+ assigned_monteur_id: string;
34341
+ created_at: string;
34342
+ created_by: string | null;
34343
+ end_at: string;
34344
+ id: string;
34345
+ notes: string | null;
34346
+ start_at: string;
34347
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
34348
+ updated_at: string;
34349
+ werkbon_id: string;
34350
+ };
34351
+ Insert: {
34352
+ assigned_monteur_id: string;
34353
+ created_at?: string;
34354
+ created_by?: string | null;
34355
+ end_at: string;
34356
+ id?: string;
34357
+ notes?: string | null;
34358
+ start_at: string;
34359
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
34360
+ updated_at?: string;
34361
+ werkbon_id: string;
34362
+ };
34363
+ Update: {
34364
+ assigned_monteur_id?: string;
34365
+ created_at?: string;
34366
+ created_by?: string | null;
34367
+ end_at?: string;
34368
+ id?: string;
34369
+ notes?: string | null;
34370
+ start_at?: string;
34371
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
34372
+ updated_at?: string;
34373
+ werkbon_id?: string;
34374
+ };
34375
+ Relationships: [{
34376
+ foreignKeyName: "planning_items_werkbon_id_fkey";
34377
+ columns: ["werkbon_id"];
34378
+ isOneToOne: false;
34379
+ referencedRelation: "werkbonnen";
34380
+ referencedColumns: ["id"];
34381
+ }];
34382
+ };
34246
34383
  product_categories: {
34247
34384
  Row: {
34248
34385
  color: string;
@@ -38849,6 +38986,7 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
38849
38986
  exact_push_status: "pending" | "sent" | "error";
38850
38987
  itk_customer_segment: "Business" | "Private";
38851
38988
  itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
38989
+ planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd";
38852
38990
  quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
38853
38991
  };
38854
38992
  CompositeTypes: { [_ in never]: never; };
@@ -47208,6 +47346,51 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
47208
47346
  };
47209
47347
  Relationships: [];
47210
47348
  };
47349
+ planning_items: {
47350
+ Row: {
47351
+ assigned_monteur_id: string;
47352
+ created_at: string;
47353
+ created_by: string | null;
47354
+ end_at: string;
47355
+ id: string;
47356
+ notes: string | null;
47357
+ start_at: string;
47358
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
47359
+ updated_at: string;
47360
+ werkbon_id: string;
47361
+ };
47362
+ Insert: {
47363
+ assigned_monteur_id: string;
47364
+ created_at?: string;
47365
+ created_by?: string | null;
47366
+ end_at: string;
47367
+ id?: string;
47368
+ notes?: string | null;
47369
+ start_at: string;
47370
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
47371
+ updated_at?: string;
47372
+ werkbon_id: string;
47373
+ };
47374
+ Update: {
47375
+ assigned_monteur_id?: string;
47376
+ created_at?: string;
47377
+ created_by?: string | null;
47378
+ end_at?: string;
47379
+ id?: string;
47380
+ notes?: string | null;
47381
+ start_at?: string;
47382
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
47383
+ updated_at?: string;
47384
+ werkbon_id?: string;
47385
+ };
47386
+ Relationships: [{
47387
+ foreignKeyName: "planning_items_werkbon_id_fkey";
47388
+ columns: ["werkbon_id"];
47389
+ isOneToOne: false;
47390
+ referencedRelation: "werkbonnen";
47391
+ referencedColumns: ["id"];
47392
+ }];
47393
+ };
47211
47394
  product_categories: {
47212
47395
  Row: {
47213
47396
  color: string;
@@ -51814,6 +51997,7 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
51814
51997
  exact_push_status: "pending" | "sent" | "error";
51815
51998
  itk_customer_segment: "Business" | "Private";
51816
51999
  itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
52000
+ planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd";
51817
52001
  quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
51818
52002
  };
51819
52003
  CompositeTypes: { [_ in never]: never; };
@@ -60176,6 +60360,51 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
60176
60360
  };
60177
60361
  Relationships: [];
60178
60362
  };
60363
+ planning_items: {
60364
+ Row: {
60365
+ assigned_monteur_id: string;
60366
+ created_at: string;
60367
+ created_by: string | null;
60368
+ end_at: string;
60369
+ id: string;
60370
+ notes: string | null;
60371
+ start_at: string;
60372
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
60373
+ updated_at: string;
60374
+ werkbon_id: string;
60375
+ };
60376
+ Insert: {
60377
+ assigned_monteur_id: string;
60378
+ created_at?: string;
60379
+ created_by?: string | null;
60380
+ end_at: string;
60381
+ id?: string;
60382
+ notes?: string | null;
60383
+ start_at: string;
60384
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
60385
+ updated_at?: string;
60386
+ werkbon_id: string;
60387
+ };
60388
+ Update: {
60389
+ assigned_monteur_id?: string;
60390
+ created_at?: string;
60391
+ created_by?: string | null;
60392
+ end_at?: string;
60393
+ id?: string;
60394
+ notes?: string | null;
60395
+ start_at?: string;
60396
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
60397
+ updated_at?: string;
60398
+ werkbon_id?: string;
60399
+ };
60400
+ Relationships: [{
60401
+ foreignKeyName: "planning_items_werkbon_id_fkey";
60402
+ columns: ["werkbon_id"];
60403
+ isOneToOne: false;
60404
+ referencedRelation: "werkbonnen";
60405
+ referencedColumns: ["id"];
60406
+ }];
60407
+ };
60179
60408
  product_categories: {
60180
60409
  Row: {
60181
60410
  color: string;
@@ -64782,6 +65011,7 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
64782
65011
  exact_push_status: "pending" | "sent" | "error";
64783
65012
  itk_customer_segment: "Business" | "Private";
64784
65013
  itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
65014
+ planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd";
64785
65015
  quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
64786
65016
  };
64787
65017
  CompositeTypes: { [_ in never]: never; };
@@ -73108,6 +73338,51 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
73108
73338
  };
73109
73339
  Relationships: [];
73110
73340
  };
73341
+ planning_items: {
73342
+ Row: {
73343
+ assigned_monteur_id: string;
73344
+ created_at: string;
73345
+ created_by: string | null;
73346
+ end_at: string;
73347
+ id: string;
73348
+ notes: string | null;
73349
+ start_at: string;
73350
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
73351
+ updated_at: string;
73352
+ werkbon_id: string;
73353
+ };
73354
+ Insert: {
73355
+ assigned_monteur_id: string;
73356
+ created_at?: string;
73357
+ created_by?: string | null;
73358
+ end_at: string;
73359
+ id?: string;
73360
+ notes?: string | null;
73361
+ start_at: string;
73362
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
73363
+ updated_at?: string;
73364
+ werkbon_id: string;
73365
+ };
73366
+ Update: {
73367
+ assigned_monteur_id?: string;
73368
+ created_at?: string;
73369
+ created_by?: string | null;
73370
+ end_at?: string;
73371
+ id?: string;
73372
+ notes?: string | null;
73373
+ start_at?: string;
73374
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
73375
+ updated_at?: string;
73376
+ werkbon_id?: string;
73377
+ };
73378
+ Relationships: [{
73379
+ foreignKeyName: "planning_items_werkbon_id_fkey";
73380
+ columns: ["werkbon_id"];
73381
+ isOneToOne: false;
73382
+ referencedRelation: "werkbonnen";
73383
+ referencedColumns: ["id"];
73384
+ }];
73385
+ };
73111
73386
  product_categories: {
73112
73387
  Row: {
73113
73388
  color: string;
@@ -77714,6 +77989,7 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
77714
77989
  exact_push_status: "pending" | "sent" | "error";
77715
77990
  itk_customer_segment: "Business" | "Private";
77716
77991
  itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
77992
+ planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd";
77717
77993
  quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
77718
77994
  };
77719
77995
  CompositeTypes: { [_ in never]: never; };
@@ -86040,6 +86316,51 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
86040
86316
  };
86041
86317
  Relationships: [];
86042
86318
  };
86319
+ planning_items: {
86320
+ Row: {
86321
+ assigned_monteur_id: string;
86322
+ created_at: string;
86323
+ created_by: string | null;
86324
+ end_at: string;
86325
+ id: string;
86326
+ notes: string | null;
86327
+ start_at: string;
86328
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
86329
+ updated_at: string;
86330
+ werkbon_id: string;
86331
+ };
86332
+ Insert: {
86333
+ assigned_monteur_id: string;
86334
+ created_at?: string;
86335
+ created_by?: string | null;
86336
+ end_at: string;
86337
+ id?: string;
86338
+ notes?: string | null;
86339
+ start_at: string;
86340
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
86341
+ updated_at?: string;
86342
+ werkbon_id: string;
86343
+ };
86344
+ Update: {
86345
+ assigned_monteur_id?: string;
86346
+ created_at?: string;
86347
+ created_by?: string | null;
86348
+ end_at?: string;
86349
+ id?: string;
86350
+ notes?: string | null;
86351
+ start_at?: string;
86352
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
86353
+ updated_at?: string;
86354
+ werkbon_id?: string;
86355
+ };
86356
+ Relationships: [{
86357
+ foreignKeyName: "planning_items_werkbon_id_fkey";
86358
+ columns: ["werkbon_id"];
86359
+ isOneToOne: false;
86360
+ referencedRelation: "werkbonnen";
86361
+ referencedColumns: ["id"];
86362
+ }];
86363
+ };
86043
86364
  product_categories: {
86044
86365
  Row: {
86045
86366
  color: string;
@@ -90646,6 +90967,7 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
90646
90967
  exact_push_status: "pending" | "sent" | "error";
90647
90968
  itk_customer_segment: "Business" | "Private";
90648
90969
  itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
90970
+ planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd";
90649
90971
  quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
90650
90972
  };
90651
90973
  CompositeTypes: { [_ in never]: never; };