@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
@@ -8336,6 +8336,51 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
8336
8336
  };
8337
8337
  Relationships: [];
8338
8338
  };
8339
+ planning_items: {
8340
+ Row: {
8341
+ assigned_monteur_id: string;
8342
+ created_at: string;
8343
+ created_by: string | null;
8344
+ end_at: string;
8345
+ id: string;
8346
+ notes: string | null;
8347
+ start_at: string;
8348
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
8349
+ updated_at: string;
8350
+ werkbon_id: string;
8351
+ };
8352
+ Insert: {
8353
+ assigned_monteur_id: string;
8354
+ created_at?: string;
8355
+ created_by?: string | null;
8356
+ end_at: string;
8357
+ id?: string;
8358
+ notes?: string | null;
8359
+ start_at: string;
8360
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
8361
+ updated_at?: string;
8362
+ werkbon_id: string;
8363
+ };
8364
+ Update: {
8365
+ assigned_monteur_id?: string;
8366
+ created_at?: string;
8367
+ created_by?: string | null;
8368
+ end_at?: string;
8369
+ id?: string;
8370
+ notes?: string | null;
8371
+ start_at?: string;
8372
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
8373
+ updated_at?: string;
8374
+ werkbon_id?: string;
8375
+ };
8376
+ Relationships: [{
8377
+ foreignKeyName: "planning_items_werkbon_id_fkey";
8378
+ columns: ["werkbon_id"];
8379
+ isOneToOne: false;
8380
+ referencedRelation: "werkbonnen";
8381
+ referencedColumns: ["id"];
8382
+ }];
8383
+ };
8339
8384
  product_categories: {
8340
8385
  Row: {
8341
8386
  color: string;
@@ -12942,6 +12987,7 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
12942
12987
  exact_push_status: "pending" | "sent" | "error";
12943
12988
  itk_customer_segment: "Business" | "Private";
12944
12989
  itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
12990
+ planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd";
12945
12991
  quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
12946
12992
  };
12947
12993
  CompositeTypes: { [_ in never]: never; };
@@ -21266,6 +21312,51 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
21266
21312
  };
21267
21313
  Relationships: [];
21268
21314
  };
21315
+ planning_items: {
21316
+ Row: {
21317
+ assigned_monteur_id: string;
21318
+ created_at: string;
21319
+ created_by: string | null;
21320
+ end_at: string;
21321
+ id: string;
21322
+ notes: string | null;
21323
+ start_at: string;
21324
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
21325
+ updated_at: string;
21326
+ werkbon_id: string;
21327
+ };
21328
+ Insert: {
21329
+ assigned_monteur_id: string;
21330
+ created_at?: string;
21331
+ created_by?: string | null;
21332
+ end_at: string;
21333
+ id?: string;
21334
+ notes?: string | null;
21335
+ start_at: string;
21336
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
21337
+ updated_at?: string;
21338
+ werkbon_id: string;
21339
+ };
21340
+ Update: {
21341
+ assigned_monteur_id?: string;
21342
+ created_at?: string;
21343
+ created_by?: string | null;
21344
+ end_at?: string;
21345
+ id?: string;
21346
+ notes?: string | null;
21347
+ start_at?: string;
21348
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
21349
+ updated_at?: string;
21350
+ werkbon_id?: string;
21351
+ };
21352
+ Relationships: [{
21353
+ foreignKeyName: "planning_items_werkbon_id_fkey";
21354
+ columns: ["werkbon_id"];
21355
+ isOneToOne: false;
21356
+ referencedRelation: "werkbonnen";
21357
+ referencedColumns: ["id"];
21358
+ }];
21359
+ };
21269
21360
  product_categories: {
21270
21361
  Row: {
21271
21362
  color: string;
@@ -25872,6 +25963,7 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
25872
25963
  exact_push_status: "pending" | "sent" | "error";
25873
25964
  itk_customer_segment: "Business" | "Private";
25874
25965
  itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
25966
+ planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd";
25875
25967
  quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
25876
25968
  };
25877
25969
  CompositeTypes: { [_ in never]: never; };
@@ -34206,6 +34298,51 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
34206
34298
  };
34207
34299
  Relationships: [];
34208
34300
  };
34301
+ planning_items: {
34302
+ Row: {
34303
+ assigned_monteur_id: string;
34304
+ created_at: string;
34305
+ created_by: string | null;
34306
+ end_at: string;
34307
+ id: string;
34308
+ notes: string | null;
34309
+ start_at: string;
34310
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
34311
+ updated_at: string;
34312
+ werkbon_id: string;
34313
+ };
34314
+ Insert: {
34315
+ assigned_monteur_id: string;
34316
+ created_at?: string;
34317
+ created_by?: string | null;
34318
+ end_at: string;
34319
+ id?: string;
34320
+ notes?: string | null;
34321
+ start_at: string;
34322
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
34323
+ updated_at?: string;
34324
+ werkbon_id: string;
34325
+ };
34326
+ Update: {
34327
+ assigned_monteur_id?: string;
34328
+ created_at?: string;
34329
+ created_by?: string | null;
34330
+ end_at?: string;
34331
+ id?: string;
34332
+ notes?: string | null;
34333
+ start_at?: string;
34334
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
34335
+ updated_at?: string;
34336
+ werkbon_id?: string;
34337
+ };
34338
+ Relationships: [{
34339
+ foreignKeyName: "planning_items_werkbon_id_fkey";
34340
+ columns: ["werkbon_id"];
34341
+ isOneToOne: false;
34342
+ referencedRelation: "werkbonnen";
34343
+ referencedColumns: ["id"];
34344
+ }];
34345
+ };
34209
34346
  product_categories: {
34210
34347
  Row: {
34211
34348
  color: string;
@@ -38812,6 +38949,7 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
38812
38949
  exact_push_status: "pending" | "sent" | "error";
38813
38950
  itk_customer_segment: "Business" | "Private";
38814
38951
  itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
38952
+ planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd";
38815
38953
  quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
38816
38954
  };
38817
38955
  CompositeTypes: { [_ in never]: never; };
@@ -47162,6 +47300,51 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
47162
47300
  };
47163
47301
  Relationships: [];
47164
47302
  };
47303
+ planning_items: {
47304
+ Row: {
47305
+ assigned_monteur_id: string;
47306
+ created_at: string;
47307
+ created_by: string | null;
47308
+ end_at: string;
47309
+ id: string;
47310
+ notes: string | null;
47311
+ start_at: string;
47312
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
47313
+ updated_at: string;
47314
+ werkbon_id: string;
47315
+ };
47316
+ Insert: {
47317
+ assigned_monteur_id: string;
47318
+ created_at?: string;
47319
+ created_by?: string | null;
47320
+ end_at: string;
47321
+ id?: string;
47322
+ notes?: string | null;
47323
+ start_at: string;
47324
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
47325
+ updated_at?: string;
47326
+ werkbon_id: string;
47327
+ };
47328
+ Update: {
47329
+ assigned_monteur_id?: string;
47330
+ created_at?: string;
47331
+ created_by?: string | null;
47332
+ end_at?: string;
47333
+ id?: string;
47334
+ notes?: string | null;
47335
+ start_at?: string;
47336
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
47337
+ updated_at?: string;
47338
+ werkbon_id?: string;
47339
+ };
47340
+ Relationships: [{
47341
+ foreignKeyName: "planning_items_werkbon_id_fkey";
47342
+ columns: ["werkbon_id"];
47343
+ isOneToOne: false;
47344
+ referencedRelation: "werkbonnen";
47345
+ referencedColumns: ["id"];
47346
+ }];
47347
+ };
47165
47348
  product_categories: {
47166
47349
  Row: {
47167
47350
  color: string;
@@ -51768,6 +51951,7 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
51768
51951
  exact_push_status: "pending" | "sent" | "error";
51769
51952
  itk_customer_segment: "Business" | "Private";
51770
51953
  itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
51954
+ planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd";
51771
51955
  quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
51772
51956
  };
51773
51957
  CompositeTypes: { [_ in never]: never; };
@@ -60118,6 +60302,51 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
60118
60302
  };
60119
60303
  Relationships: [];
60120
60304
  };
60305
+ planning_items: {
60306
+ Row: {
60307
+ assigned_monteur_id: string;
60308
+ created_at: string;
60309
+ created_by: string | null;
60310
+ end_at: string;
60311
+ id: string;
60312
+ notes: string | null;
60313
+ start_at: string;
60314
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
60315
+ updated_at: string;
60316
+ werkbon_id: string;
60317
+ };
60318
+ Insert: {
60319
+ assigned_monteur_id: string;
60320
+ created_at?: string;
60321
+ created_by?: string | null;
60322
+ end_at: string;
60323
+ id?: string;
60324
+ notes?: string | null;
60325
+ start_at: string;
60326
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
60327
+ updated_at?: string;
60328
+ werkbon_id: string;
60329
+ };
60330
+ Update: {
60331
+ assigned_monteur_id?: string;
60332
+ created_at?: string;
60333
+ created_by?: string | null;
60334
+ end_at?: string;
60335
+ id?: string;
60336
+ notes?: string | null;
60337
+ start_at?: string;
60338
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
60339
+ updated_at?: string;
60340
+ werkbon_id?: string;
60341
+ };
60342
+ Relationships: [{
60343
+ foreignKeyName: "planning_items_werkbon_id_fkey";
60344
+ columns: ["werkbon_id"];
60345
+ isOneToOne: false;
60346
+ referencedRelation: "werkbonnen";
60347
+ referencedColumns: ["id"];
60348
+ }];
60349
+ };
60121
60350
  product_categories: {
60122
60351
  Row: {
60123
60352
  color: string;
@@ -64724,6 +64953,7 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
64724
64953
  exact_push_status: "pending" | "sent" | "error";
64725
64954
  itk_customer_segment: "Business" | "Private";
64726
64955
  itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
64956
+ planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd";
64727
64957
  quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
64728
64958
  };
64729
64959
  CompositeTypes: { [_ in never]: never; };
@@ -73074,6 +73304,51 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
73074
73304
  };
73075
73305
  Relationships: [];
73076
73306
  };
73307
+ planning_items: {
73308
+ Row: {
73309
+ assigned_monteur_id: string;
73310
+ created_at: string;
73311
+ created_by: string | null;
73312
+ end_at: string;
73313
+ id: string;
73314
+ notes: string | null;
73315
+ start_at: string;
73316
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
73317
+ updated_at: string;
73318
+ werkbon_id: string;
73319
+ };
73320
+ Insert: {
73321
+ assigned_monteur_id: string;
73322
+ created_at?: string;
73323
+ created_by?: string | null;
73324
+ end_at: string;
73325
+ id?: string;
73326
+ notes?: string | null;
73327
+ start_at: string;
73328
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
73329
+ updated_at?: string;
73330
+ werkbon_id: string;
73331
+ };
73332
+ Update: {
73333
+ assigned_monteur_id?: string;
73334
+ created_at?: string;
73335
+ created_by?: string | null;
73336
+ end_at?: string;
73337
+ id?: string;
73338
+ notes?: string | null;
73339
+ start_at?: string;
73340
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
73341
+ updated_at?: string;
73342
+ werkbon_id?: string;
73343
+ };
73344
+ Relationships: [{
73345
+ foreignKeyName: "planning_items_werkbon_id_fkey";
73346
+ columns: ["werkbon_id"];
73347
+ isOneToOne: false;
73348
+ referencedRelation: "werkbonnen";
73349
+ referencedColumns: ["id"];
73350
+ }];
73351
+ };
73077
73352
  product_categories: {
73078
73353
  Row: {
73079
73354
  color: string;
@@ -77680,6 +77955,7 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
77680
77955
  exact_push_status: "pending" | "sent" | "error";
77681
77956
  itk_customer_segment: "Business" | "Private";
77682
77957
  itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
77958
+ planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd";
77683
77959
  quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
77684
77960
  };
77685
77961
  CompositeTypes: { [_ in never]: never; };
@@ -86007,6 +86283,51 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
86007
86283
  };
86008
86284
  Relationships: [];
86009
86285
  };
86286
+ planning_items: {
86287
+ Row: {
86288
+ assigned_monteur_id: string;
86289
+ created_at: string;
86290
+ created_by: string | null;
86291
+ end_at: string;
86292
+ id: string;
86293
+ notes: string | null;
86294
+ start_at: string;
86295
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
86296
+ updated_at: string;
86297
+ werkbon_id: string;
86298
+ };
86299
+ Insert: {
86300
+ assigned_monteur_id: string;
86301
+ created_at?: string;
86302
+ created_by?: string | null;
86303
+ end_at: string;
86304
+ id?: string;
86305
+ notes?: string | null;
86306
+ start_at: string;
86307
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
86308
+ updated_at?: string;
86309
+ werkbon_id: string;
86310
+ };
86311
+ Update: {
86312
+ assigned_monteur_id?: string;
86313
+ created_at?: string;
86314
+ created_by?: string | null;
86315
+ end_at?: string;
86316
+ id?: string;
86317
+ notes?: string | null;
86318
+ start_at?: string;
86319
+ status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
86320
+ updated_at?: string;
86321
+ werkbon_id?: string;
86322
+ };
86323
+ Relationships: [{
86324
+ foreignKeyName: "planning_items_werkbon_id_fkey";
86325
+ columns: ["werkbon_id"];
86326
+ isOneToOne: false;
86327
+ referencedRelation: "werkbonnen";
86328
+ referencedColumns: ["id"];
86329
+ }];
86330
+ };
86010
86331
  product_categories: {
86011
86332
  Row: {
86012
86333
  color: string;
@@ -90613,6 +90934,7 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
90613
90934
  exact_push_status: "pending" | "sent" | "error";
90614
90935
  itk_customer_segment: "Business" | "Private";
90615
90936
  itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
90937
+ planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd";
90616
90938
  quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
90617
90939
  };
90618
90940
  CompositeTypes: { [_ in never]: never; };