@flowselections/floriday-verkoop-module 1.0.45 → 1.0.46

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 (51) hide show
  1. package/dist-lib/integrations/supabase/auth-middleware.d.ts +520 -145
  2. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  3. package/dist-lib/integrations/supabase/client.d.ts +520 -145
  4. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/client.server.d.ts +520 -145
  6. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/types.d.ts +545 -161
  8. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  9. package/dist-lib/lib/cart-lock.functions.d.ts +520 -145
  10. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  11. package/dist-lib/lib/cart-planning-settings.functions.d.ts +5720 -1595
  12. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  13. package/dist-lib/lib/cart-replan.functions.d.ts +1560 -435
  14. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  15. package/dist-lib/lib/create-order.functions.d.ts +8840 -2465
  16. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  17. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +1560 -435
  18. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  19. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +520 -145
  20. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  21. package/dist-lib/lib/floriday-mirror.functions.d.ts +520 -145
  22. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  23. package/dist-lib/lib/floriday-public.functions.d.ts +3640 -1015
  24. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  25. package/dist-lib/lib/floriday-writes.functions.d.ts +2600 -725
  26. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/invoice-timing.functions.d.ts +2080 -580
  28. package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/load-carriers.functions.d.ts +520 -145
  30. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/logistics-engine.functions.d.ts +2600 -725
  32. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/logistics-stock.functions.d.ts +1040 -290
  34. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/order-addresses.functions.d.ts +520 -145
  36. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/order-buffers.functions.d.ts +1560 -435
  38. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  39. package/dist-lib/lib/order-carrier.functions.d.ts +1040 -290
  40. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  41. package/dist-lib/lib/order-pickup.functions.d.ts +1040 -290
  42. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  43. package/dist-lib/lib/order-shipments.functions.d.ts +2080 -580
  44. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  45. package/dist-lib/lib/salesorders-list.functions.d.ts +520 -145
  46. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  47. package/dist-lib/lib/salesorders.functions.d.ts +2600 -725
  48. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  49. package/dist-lib/lib/tradeitems.functions.d.ts +520 -145
  50. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  51. package/package.json +1 -1
@@ -2763,6 +2763,42 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
2763
2763
  };
2764
2764
  Relationships: [];
2765
2765
  };
2766
+ document_bronregels: {
2767
+ Row: {
2768
+ bron: string;
2769
+ created_at: string;
2770
+ documenttype: string;
2771
+ herkomst: string;
2772
+ id: string;
2773
+ layout_id: string | null;
2774
+ updated_at: string;
2775
+ };
2776
+ Insert: {
2777
+ bron?: string;
2778
+ created_at?: string;
2779
+ documenttype: string;
2780
+ herkomst: string;
2781
+ id?: string;
2782
+ layout_id?: string | null;
2783
+ updated_at?: string;
2784
+ };
2785
+ Update: {
2786
+ bron?: string;
2787
+ created_at?: string;
2788
+ documenttype?: string;
2789
+ herkomst?: string;
2790
+ id?: string;
2791
+ layout_id?: string | null;
2792
+ updated_at?: string;
2793
+ };
2794
+ Relationships: [{
2795
+ foreignKeyName: "document_bronregels_layout_id_fkey";
2796
+ columns: ["layout_id"];
2797
+ isOneToOne: false;
2798
+ referencedRelation: "document_layouts";
2799
+ referencedColumns: ["id"];
2800
+ }];
2801
+ };
2766
2802
  document_formaat_printers: {
2767
2803
  Row: {
2768
2804
  created_at: string;
@@ -3040,6 +3076,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
3040
3076
  Row: {
3041
3077
  actief: boolean;
3042
3078
  breedte_mm: number;
3079
+ bron: string;
3043
3080
  config: import("../integrations/supabase/types").Json;
3044
3081
  created_at: string;
3045
3082
  created_by: string | null;
@@ -3057,12 +3094,14 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
3057
3094
  orientatie: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
3058
3095
  page_settings: import("../integrations/supabase/types").Json;
3059
3096
  papierformaat: string;
3097
+ systeem: boolean;
3060
3098
  thumbnail_url: string | null;
3061
3099
  updated_at: string;
3062
3100
  };
3063
3101
  Insert: {
3064
3102
  actief?: boolean;
3065
3103
  breedte_mm?: number;
3104
+ bron?: string;
3066
3105
  config?: import("../integrations/supabase/types").Json;
3067
3106
  created_at?: string;
3068
3107
  created_by?: string | null;
@@ -3080,12 +3119,14 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
3080
3119
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
3081
3120
  page_settings?: import("../integrations/supabase/types").Json;
3082
3121
  papierformaat?: string;
3122
+ systeem?: boolean;
3083
3123
  thumbnail_url?: string | null;
3084
3124
  updated_at?: string;
3085
3125
  };
3086
3126
  Update: {
3087
3127
  actief?: boolean;
3088
3128
  breedte_mm?: number;
3129
+ bron?: string;
3089
3130
  config?: import("../integrations/supabase/types").Json;
3090
3131
  created_at?: string;
3091
3132
  created_by?: string | null;
@@ -3103,11 +3144,48 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
3103
3144
  orientatie?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_orientation"];
3104
3145
  page_settings?: import("../integrations/supabase/types").Json;
3105
3146
  papierformaat?: string;
3147
+ systeem?: boolean;
3106
3148
  thumbnail_url?: string | null;
3107
3149
  updated_at?: string;
3108
3150
  };
3109
3151
  Relationships: [];
3110
3152
  };
3153
+ document_werkplek_printers: {
3154
+ Row: {
3155
+ created_at: string;
3156
+ documenttype: string;
3157
+ id: string;
3158
+ papierformaat: string | null;
3159
+ printer_id: string | null;
3160
+ updated_at: string;
3161
+ werkplek: string;
3162
+ };
3163
+ Insert: {
3164
+ created_at?: string;
3165
+ documenttype: string;
3166
+ id?: string;
3167
+ papierformaat?: string | null;
3168
+ printer_id?: string | null;
3169
+ updated_at?: string;
3170
+ werkplek: string;
3171
+ };
3172
+ Update: {
3173
+ created_at?: string;
3174
+ documenttype?: string;
3175
+ id?: string;
3176
+ papierformaat?: string | null;
3177
+ printer_id?: string | null;
3178
+ updated_at?: string;
3179
+ werkplek?: string;
3180
+ };
3181
+ Relationships: [{
3182
+ foreignKeyName: "document_werkplek_printers_printer_id_fkey";
3183
+ columns: ["printer_id"];
3184
+ isOneToOne: false;
3185
+ referencedRelation: "printers";
3186
+ referencedColumns: ["id"];
3187
+ }];
3188
+ };
3111
3189
  email_auth_connections: {
3112
3190
  Row: {
3113
3191
  access_token_encrypted: string | null;
@@ -5049,42 +5127,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
5049
5127
  };
5050
5128
  Relationships: [];
5051
5129
  };
5052
- facturen: {
5053
- Row: {
5054
- bedrag_incl_btw: number;
5055
- created_at: string;
5056
- datum: string;
5057
- factuurnummer: string;
5058
- id: string;
5059
- klantnaam: string;
5060
- status: string;
5061
- updated_at: string;
5062
- user_id: string;
5063
- };
5064
- Insert: {
5065
- bedrag_incl_btw: number;
5066
- created_at?: string;
5067
- datum?: string;
5068
- factuurnummer: string;
5069
- id?: string;
5070
- klantnaam: string;
5071
- status?: string;
5072
- updated_at?: string;
5073
- user_id?: string;
5074
- };
5075
- Update: {
5076
- bedrag_incl_btw?: number;
5077
- created_at?: string;
5078
- datum?: string;
5079
- factuurnummer?: string;
5080
- id?: string;
5081
- klantnaam?: string;
5082
- status?: string;
5083
- updated_at?: string;
5084
- user_id?: string;
5085
- };
5086
- Relationships: [];
5087
- };
5088
5130
  floricode_connection_settings: {
5089
5131
  Row: {
5090
5132
  catalog_key: string | null;
@@ -7389,8 +7431,63 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
7389
7431
  };
7390
7432
  Relationships: [];
7391
7433
  };
7434
+ invoice_items: {
7435
+ Row: {
7436
+ created_at: string;
7437
+ description: string;
7438
+ id: string;
7439
+ invoice_id: string;
7440
+ kind: string;
7441
+ quantity: number;
7442
+ sort_order: number;
7443
+ source_line_ref: string | null;
7444
+ total_cents: number;
7445
+ unit: string;
7446
+ unit_price_cents: number;
7447
+ };
7448
+ Insert: {
7449
+ created_at?: string;
7450
+ description?: string;
7451
+ id?: string;
7452
+ invoice_id: string;
7453
+ kind?: string;
7454
+ quantity?: number;
7455
+ sort_order?: number;
7456
+ source_line_ref?: string | null;
7457
+ total_cents?: number;
7458
+ unit?: string;
7459
+ unit_price_cents?: number;
7460
+ };
7461
+ Update: {
7462
+ created_at?: string;
7463
+ description?: string;
7464
+ id?: string;
7465
+ invoice_id?: string;
7466
+ kind?: string;
7467
+ quantity?: number;
7468
+ sort_order?: number;
7469
+ source_line_ref?: string | null;
7470
+ total_cents?: number;
7471
+ unit?: string;
7472
+ unit_price_cents?: number;
7473
+ };
7474
+ Relationships: [{
7475
+ foreignKeyName: "invoice_items_invoice_id_fkey";
7476
+ columns: ["invoice_id"];
7477
+ isOneToOne: false;
7478
+ referencedRelation: "invoices";
7479
+ referencedColumns: ["id"];
7480
+ }, {
7481
+ foreignKeyName: "invoice_items_invoice_id_fkey";
7482
+ columns: ["invoice_id"];
7483
+ isOneToOne: false;
7484
+ referencedRelation: "uren_facturen";
7485
+ referencedColumns: ["id"];
7486
+ }];
7487
+ };
7392
7488
  invoice_post_idempotency: {
7393
7489
  Row: {
7490
+ administration_code: string;
7394
7491
  client_request_id: string;
7395
7492
  completed_at: string | null;
7396
7493
  created_at: string;
@@ -7400,6 +7497,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
7400
7497
  user_id: string;
7401
7498
  };
7402
7499
  Insert: {
7500
+ administration_code?: string;
7403
7501
  client_request_id: string;
7404
7502
  completed_at?: string | null;
7405
7503
  created_at?: string;
@@ -7409,6 +7507,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
7409
7507
  user_id: string;
7410
7508
  };
7411
7509
  Update: {
7510
+ administration_code?: string;
7412
7511
  client_request_id?: string;
7413
7512
  completed_at?: string | null;
7414
7513
  created_at?: string;
@@ -7614,6 +7713,75 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
7614
7713
  };
7615
7714
  Relationships: [];
7616
7715
  };
7716
+ invoices: {
7717
+ Row: {
7718
+ created_at: string;
7719
+ created_by: string | null;
7720
+ customer_id: string | null;
7721
+ customer_name: string | null;
7722
+ due_date: string | null;
7723
+ id: string;
7724
+ invoice_date: string;
7725
+ invoice_number: string | null;
7726
+ note: string | null;
7727
+ source_number: string | null;
7728
+ source_ref: string | null;
7729
+ source_type: string;
7730
+ status: string;
7731
+ subtotal_cents: number;
7732
+ total_cents: number;
7733
+ updated_at: string;
7734
+ vat_cents: number;
7735
+ vat_rate: number;
7736
+ };
7737
+ Insert: {
7738
+ created_at?: string;
7739
+ created_by?: string | null;
7740
+ customer_id?: string | null;
7741
+ customer_name?: string | null;
7742
+ due_date?: string | null;
7743
+ id?: string;
7744
+ invoice_date?: string;
7745
+ invoice_number?: string | null;
7746
+ note?: string | null;
7747
+ source_number?: string | null;
7748
+ source_ref?: string | null;
7749
+ source_type?: string;
7750
+ status?: string;
7751
+ subtotal_cents?: number;
7752
+ total_cents?: number;
7753
+ updated_at?: string;
7754
+ vat_cents?: number;
7755
+ vat_rate?: number;
7756
+ };
7757
+ Update: {
7758
+ created_at?: string;
7759
+ created_by?: string | null;
7760
+ customer_id?: string | null;
7761
+ customer_name?: string | null;
7762
+ due_date?: string | null;
7763
+ id?: string;
7764
+ invoice_date?: string;
7765
+ invoice_number?: string | null;
7766
+ note?: string | null;
7767
+ source_number?: string | null;
7768
+ source_ref?: string | null;
7769
+ source_type?: string;
7770
+ status?: string;
7771
+ subtotal_cents?: number;
7772
+ total_cents?: number;
7773
+ updated_at?: string;
7774
+ vat_cents?: number;
7775
+ vat_rate?: number;
7776
+ };
7777
+ Relationships: [{
7778
+ foreignKeyName: "invoices_customer_id_fkey";
7779
+ columns: ["customer_id"];
7780
+ isOneToOne: false;
7781
+ referencedRelation: "itk_customers";
7782
+ referencedColumns: ["id"];
7783
+ }];
7784
+ };
7617
7785
  itk_contact_persons: {
7618
7786
  Row: {
7619
7787
  created_at: string;
@@ -8961,6 +9129,9 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
8961
9129
  id: string;
8962
9130
  last_error: string | null;
8963
9131
  last_error_at: string | null;
9132
+ last_error_code: string | null;
9133
+ last_gateway_status: number | null;
9134
+ last_response: import("../integrations/supabase/types").Json | null;
8964
9135
  last_sent_hash: string | null;
8965
9136
  locked_by: string | null;
8966
9137
  locked_until: string | null;
@@ -8981,6 +9152,9 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
8981
9152
  id?: string;
8982
9153
  last_error?: string | null;
8983
9154
  last_error_at?: string | null;
9155
+ last_error_code?: string | null;
9156
+ last_gateway_status?: number | null;
9157
+ last_response?: import("../integrations/supabase/types").Json | null;
8984
9158
  last_sent_hash?: string | null;
8985
9159
  locked_by?: string | null;
8986
9160
  locked_until?: string | null;
@@ -9001,6 +9175,9 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
9001
9175
  id?: string;
9002
9176
  last_error?: string | null;
9003
9177
  last_error_at?: string | null;
9178
+ last_error_code?: string | null;
9179
+ last_gateway_status?: number | null;
9180
+ last_response?: import("../integrations/supabase/types").Json | null;
9004
9181
  last_sent_hash?: string | null;
9005
9182
  locked_by?: string | null;
9006
9183
  locked_until?: string | null;
@@ -10554,6 +10731,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
10554
10731
  enforce: boolean;
10555
10732
  is_active: boolean;
10556
10733
  last_seen_at: string;
10734
+ missing_count: number;
10557
10735
  module_id: string;
10558
10736
  name: string;
10559
10737
  shell_id: string | null;
@@ -10564,6 +10742,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
10564
10742
  enforce?: boolean;
10565
10743
  is_active?: boolean;
10566
10744
  last_seen_at?: string;
10745
+ missing_count?: number;
10567
10746
  module_id: string;
10568
10747
  name: string;
10569
10748
  shell_id?: string | null;
@@ -10574,6 +10753,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
10574
10753
  enforce?: boolean;
10575
10754
  is_active?: boolean;
10576
10755
  last_seen_at?: string;
10756
+ missing_count?: number;
10577
10757
  module_id?: string;
10578
10758
  name?: string;
10579
10759
  shell_id?: string | null;
@@ -11573,6 +11753,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
11573
11753
  };
11574
11754
  order_invoice_links: {
11575
11755
  Row: {
11756
+ administration_code: string | null;
11576
11757
  attempts: number;
11577
11758
  created_at: string;
11578
11759
  error_message: string | null;
@@ -11585,6 +11766,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
11585
11766
  updated_at: string;
11586
11767
  };
11587
11768
  Insert: {
11769
+ administration_code?: string | null;
11588
11770
  attempts?: number;
11589
11771
  created_at?: string;
11590
11772
  error_message?: string | null;
@@ -11597,6 +11779,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
11597
11779
  updated_at?: string;
11598
11780
  };
11599
11781
  Update: {
11782
+ administration_code?: string | null;
11600
11783
  attempts?: number;
11601
11784
  created_at?: string;
11602
11785
  error_message?: string | null;
@@ -12762,6 +12945,27 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
12762
12945
  referencedColumns: ["id"];
12763
12946
  }];
12764
12947
  };
12948
+ pick_sync_state: {
12949
+ Row: {
12950
+ id: boolean;
12951
+ last_cleanup_at: string | null;
12952
+ last_sync_at: string | null;
12953
+ updated_at: string;
12954
+ };
12955
+ Insert: {
12956
+ id?: boolean;
12957
+ last_cleanup_at?: string | null;
12958
+ last_sync_at?: string | null;
12959
+ updated_at?: string;
12960
+ };
12961
+ Update: {
12962
+ id?: boolean;
12963
+ last_cleanup_at?: string | null;
12964
+ last_sync_at?: string | null;
12965
+ updated_at?: string;
12966
+ };
12967
+ Relationships: [];
12968
+ };
12765
12969
  pick_task_document_types: {
12766
12970
  Row: {
12767
12971
  created_at: string;
@@ -13044,6 +13248,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
13044
13248
  gebruiker_id: string | null;
13045
13249
  gebruiker_naam: string;
13046
13250
  gestart_op: string | null;
13251
+ herkomst: string | null;
13047
13252
  id: string;
13048
13253
  idempotentie_sleutel: string | null;
13049
13254
  is_herprint: boolean;
@@ -13073,6 +13278,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
13073
13278
  gebruiker_id?: string | null;
13074
13279
  gebruiker_naam?: string;
13075
13280
  gestart_op?: string | null;
13281
+ herkomst?: string | null;
13076
13282
  id?: string;
13077
13283
  idempotentie_sleutel?: string | null;
13078
13284
  is_herprint?: boolean;
@@ -13102,6 +13308,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
13102
13308
  gebruiker_id?: string | null;
13103
13309
  gebruiker_naam?: string;
13104
13310
  gestart_op?: string | null;
13311
+ herkomst?: string | null;
13105
13312
  id?: string;
13106
13313
  idempotentie_sleutel?: string | null;
13107
13314
  is_herprint?: boolean;
@@ -16106,12 +16313,16 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
16106
16313
  company_name: string | null;
16107
16314
  connected_at: string | null;
16108
16315
  created_at: string;
16316
+ disconnected_at: string | null;
16109
16317
  environment: string;
16110
16318
  id: string;
16319
+ initial_sync_completed_at: string | null;
16320
+ initial_sync_started_at: string | null;
16111
16321
  is_active: boolean;
16112
16322
  label: string | null;
16113
16323
  office_code: string | null;
16114
16324
  redirect_uri: string | null;
16325
+ superseded_at: string | null;
16115
16326
  updated_at: string;
16116
16327
  user_id: string;
16117
16328
  };
@@ -16122,12 +16333,16 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
16122
16333
  company_name?: string | null;
16123
16334
  connected_at?: string | null;
16124
16335
  created_at?: string;
16336
+ disconnected_at?: string | null;
16125
16337
  environment: string;
16126
16338
  id?: string;
16339
+ initial_sync_completed_at?: string | null;
16340
+ initial_sync_started_at?: string | null;
16127
16341
  is_active?: boolean;
16128
16342
  label?: string | null;
16129
16343
  office_code?: string | null;
16130
16344
  redirect_uri?: string | null;
16345
+ superseded_at?: string | null;
16131
16346
  updated_at?: string;
16132
16347
  user_id: string;
16133
16348
  };
@@ -16138,12 +16353,16 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
16138
16353
  company_name?: string | null;
16139
16354
  connected_at?: string | null;
16140
16355
  created_at?: string;
16356
+ disconnected_at?: string | null;
16141
16357
  environment?: string;
16142
16358
  id?: string;
16359
+ initial_sync_completed_at?: string | null;
16360
+ initial_sync_started_at?: string | null;
16143
16361
  is_active?: boolean;
16144
16362
  label?: string | null;
16145
16363
  office_code?: string | null;
16146
16364
  redirect_uri?: string | null;
16365
+ superseded_at?: string | null;
16147
16366
  updated_at?: string;
16148
16367
  user_id?: string;
16149
16368
  };
@@ -16203,6 +16422,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
16203
16422
  twinfield_customers: {
16204
16423
  Row: {
16205
16424
  address: string | null;
16425
+ administration_code: string;
16206
16426
  city: string | null;
16207
16427
  country: string | null;
16208
16428
  created_at: string;
@@ -16222,6 +16442,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
16222
16442
  };
16223
16443
  Insert: {
16224
16444
  address?: string | null;
16445
+ administration_code?: string;
16225
16446
  city?: string | null;
16226
16447
  country?: string | null;
16227
16448
  created_at?: string;
@@ -16241,6 +16462,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
16241
16462
  };
16242
16463
  Update: {
16243
16464
  address?: string | null;
16465
+ administration_code?: string;
16244
16466
  city?: string | null;
16245
16467
  country?: string | null;
16246
16468
  created_at?: string;
@@ -16454,7 +16676,9 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
16454
16676
  };
16455
16677
  twinfield_invoice_settings: {
16456
16678
  Row: {
16679
+ administration_code: string | null;
16457
16680
  auto_invoice_enabled: boolean;
16681
+ auto_invoice_start_date: string | null;
16458
16682
  auto_invoice_trigger_statuses: string[];
16459
16683
  created_at: string;
16460
16684
  debtor_gl_account: string;
@@ -16468,15 +16692,19 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
16468
16692
  invoice_enabled_fo: boolean;
16469
16693
  invoice_enabled_ho: boolean;
16470
16694
  invoice_enabled_mo: boolean;
16695
+ needs_review: boolean;
16471
16696
  payment_gl_account: string;
16472
16697
  payment_journal_code: string;
16698
+ settings_confirmed_at: string | null;
16473
16699
  updated_at: string;
16474
16700
  user_id: string;
16475
16701
  vat_code_eu_reverse: string | null;
16476
16702
  vat_code_export: string | null;
16477
16703
  };
16478
16704
  Insert: {
16705
+ administration_code?: string | null;
16479
16706
  auto_invoice_enabled?: boolean;
16707
+ auto_invoice_start_date?: string | null;
16480
16708
  auto_invoice_trigger_statuses?: string[];
16481
16709
  created_at?: string;
16482
16710
  debtor_gl_account?: string;
@@ -16490,15 +16718,19 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
16490
16718
  invoice_enabled_fo?: boolean;
16491
16719
  invoice_enabled_ho?: boolean;
16492
16720
  invoice_enabled_mo?: boolean;
16721
+ needs_review?: boolean;
16493
16722
  payment_gl_account?: string;
16494
16723
  payment_journal_code?: string;
16724
+ settings_confirmed_at?: string | null;
16495
16725
  updated_at?: string;
16496
16726
  user_id: string;
16497
16727
  vat_code_eu_reverse?: string | null;
16498
16728
  vat_code_export?: string | null;
16499
16729
  };
16500
16730
  Update: {
16731
+ administration_code?: string | null;
16501
16732
  auto_invoice_enabled?: boolean;
16733
+ auto_invoice_start_date?: string | null;
16502
16734
  auto_invoice_trigger_statuses?: string[];
16503
16735
  created_at?: string;
16504
16736
  debtor_gl_account?: string;
@@ -16512,8 +16744,10 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
16512
16744
  invoice_enabled_fo?: boolean;
16513
16745
  invoice_enabled_ho?: boolean;
16514
16746
  invoice_enabled_mo?: boolean;
16747
+ needs_review?: boolean;
16515
16748
  payment_gl_account?: string;
16516
16749
  payment_journal_code?: string;
16750
+ settings_confirmed_at?: string | null;
16517
16751
  updated_at?: string;
16518
16752
  user_id?: string;
16519
16753
  vat_code_eu_reverse?: string | null;
@@ -17118,114 +17352,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
17118
17352
  };
17119
17353
  Relationships: [];
17120
17354
  };
17121
- uren_facturen: {
17122
- Row: {
17123
- created_at: string;
17124
- created_by: string | null;
17125
- customer_id: string | null;
17126
- customer_name: string | null;
17127
- id: string;
17128
- invoice_number: string | null;
17129
- note: string | null;
17130
- status: string;
17131
- total_excl_cents: number;
17132
- total_incl_cents: number;
17133
- updated_at: string;
17134
- vat_cents: number;
17135
- vat_percentage: number;
17136
- werkbon_id: string | null;
17137
- };
17138
- Insert: {
17139
- created_at?: string;
17140
- created_by?: string | null;
17141
- customer_id?: string | null;
17142
- customer_name?: string | null;
17143
- id?: string;
17144
- invoice_number?: string | null;
17145
- note?: string | null;
17146
- status?: string;
17147
- total_excl_cents?: number;
17148
- total_incl_cents?: number;
17149
- updated_at?: string;
17150
- vat_cents?: number;
17151
- vat_percentage?: number;
17152
- werkbon_id?: string | null;
17153
- };
17154
- Update: {
17155
- created_at?: string;
17156
- created_by?: string | null;
17157
- customer_id?: string | null;
17158
- customer_name?: string | null;
17159
- id?: string;
17160
- invoice_number?: string | null;
17161
- note?: string | null;
17162
- status?: string;
17163
- total_excl_cents?: number;
17164
- total_incl_cents?: number;
17165
- updated_at?: string;
17166
- vat_cents?: number;
17167
- vat_percentage?: number;
17168
- werkbon_id?: string | null;
17169
- };
17170
- Relationships: [{
17171
- foreignKeyName: "uren_facturen_customer_id_fkey";
17172
- columns: ["customer_id"];
17173
- isOneToOne: false;
17174
- referencedRelation: "itk_customers";
17175
- referencedColumns: ["id"];
17176
- }, {
17177
- foreignKeyName: "uren_facturen_werkbon_id_fkey";
17178
- columns: ["werkbon_id"];
17179
- isOneToOne: true;
17180
- referencedRelation: "werkbonnen";
17181
- referencedColumns: ["id"];
17182
- }];
17183
- };
17184
- uren_factuur_regels: {
17185
- Row: {
17186
- created_at: string;
17187
- description: string;
17188
- factuur_id: string;
17189
- id: string;
17190
- kind: string | null;
17191
- quantity: number;
17192
- sort_order: number;
17193
- total_cents: number;
17194
- unit: string;
17195
- unit_price_cents: number;
17196
- };
17197
- Insert: {
17198
- created_at?: string;
17199
- description: string;
17200
- factuur_id: string;
17201
- id?: string;
17202
- kind?: string | null;
17203
- quantity?: number;
17204
- sort_order?: number;
17205
- total_cents?: number;
17206
- unit?: string;
17207
- unit_price_cents?: number;
17208
- };
17209
- Update: {
17210
- created_at?: string;
17211
- description?: string;
17212
- factuur_id?: string;
17213
- id?: string;
17214
- kind?: string | null;
17215
- quantity?: number;
17216
- sort_order?: number;
17217
- total_cents?: number;
17218
- unit?: string;
17219
- unit_price_cents?: number;
17220
- };
17221
- Relationships: [{
17222
- foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
17223
- columns: ["factuur_id"];
17224
- isOneToOne: false;
17225
- referencedRelation: "uren_facturen";
17226
- referencedColumns: ["id"];
17227
- }];
17228
- };
17229
17355
  uren_offerte_regels: {
17230
17356
  Row: {
17231
17357
  created_at: string;
@@ -18479,6 +18605,9 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
18479
18605
  scheduled_end_time: string | null;
18480
18606
  scheduled_start_time: string | null;
18481
18607
  sequence_number: number;
18608
+ signature_accepted_at: string | null;
18609
+ signature_by_user_id: string | null;
18610
+ signature_name: string | null;
18482
18611
  source_email_meta: import("../integrations/supabase/types").Json | null;
18483
18612
  source_mailbox_message_id: string | null;
18484
18613
  source_pdf_path: string | null;
@@ -18514,6 +18643,9 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
18514
18643
  scheduled_end_time?: string | null;
18515
18644
  scheduled_start_time?: string | null;
18516
18645
  sequence_number: number;
18646
+ signature_accepted_at?: string | null;
18647
+ signature_by_user_id?: string | null;
18648
+ signature_name?: string | null;
18517
18649
  source_email_meta?: import("../integrations/supabase/types").Json | null;
18518
18650
  source_mailbox_message_id?: string | null;
18519
18651
  source_pdf_path?: string | null;
@@ -18549,6 +18681,9 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
18549
18681
  scheduled_end_time?: string | null;
18550
18682
  scheduled_start_time?: string | null;
18551
18683
  sequence_number?: number;
18684
+ signature_accepted_at?: string | null;
18685
+ signature_by_user_id?: string | null;
18686
+ signature_name?: string | null;
18552
18687
  source_email_meta?: import("../integrations/supabase/types").Json | null;
18553
18688
  source_mailbox_message_id?: string | null;
18554
18689
  source_pdf_path?: string | null;
@@ -19065,6 +19200,114 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
19065
19200
  };
19066
19201
  Relationships: [];
19067
19202
  };
19203
+ uren_facturen: {
19204
+ Row: {
19205
+ created_at: string | null;
19206
+ created_by: string | null;
19207
+ customer_id: string | null;
19208
+ customer_name: string | null;
19209
+ id: string | null;
19210
+ invoice_number: string | null;
19211
+ note: string | null;
19212
+ status: string | null;
19213
+ total_excl_cents: number | null;
19214
+ total_incl_cents: number | null;
19215
+ updated_at: string | null;
19216
+ vat_cents: number | null;
19217
+ vat_percentage: number | null;
19218
+ werkbon_id: string | null;
19219
+ };
19220
+ Insert: {
19221
+ created_at?: string | null;
19222
+ created_by?: string | null;
19223
+ customer_id?: string | null;
19224
+ customer_name?: string | null;
19225
+ id?: string | null;
19226
+ invoice_number?: string | null;
19227
+ note?: string | null;
19228
+ status?: string | null;
19229
+ total_excl_cents?: number | null;
19230
+ total_incl_cents?: number | null;
19231
+ updated_at?: string | null;
19232
+ vat_cents?: number | null;
19233
+ vat_percentage?: number | null;
19234
+ werkbon_id?: never;
19235
+ };
19236
+ Update: {
19237
+ created_at?: string | null;
19238
+ created_by?: string | null;
19239
+ customer_id?: string | null;
19240
+ customer_name?: string | null;
19241
+ id?: string | null;
19242
+ invoice_number?: string | null;
19243
+ note?: string | null;
19244
+ status?: string | null;
19245
+ total_excl_cents?: number | null;
19246
+ total_incl_cents?: number | null;
19247
+ updated_at?: string | null;
19248
+ vat_cents?: number | null;
19249
+ vat_percentage?: number | null;
19250
+ werkbon_id?: never;
19251
+ };
19252
+ Relationships: [{
19253
+ foreignKeyName: "invoices_customer_id_fkey";
19254
+ columns: ["customer_id"];
19255
+ isOneToOne: false;
19256
+ referencedRelation: "itk_customers";
19257
+ referencedColumns: ["id"];
19258
+ }];
19259
+ };
19260
+ uren_factuur_regels: {
19261
+ Row: {
19262
+ created_at: string | null;
19263
+ description: string | null;
19264
+ factuur_id: string | null;
19265
+ id: string | null;
19266
+ kind: string | null;
19267
+ quantity: number | null;
19268
+ sort_order: number | null;
19269
+ total_cents: number | null;
19270
+ unit: string | null;
19271
+ unit_price_cents: number | null;
19272
+ };
19273
+ Insert: {
19274
+ created_at?: string | null;
19275
+ description?: string | null;
19276
+ factuur_id?: string | null;
19277
+ id?: string | null;
19278
+ kind?: string | null;
19279
+ quantity?: number | null;
19280
+ sort_order?: number | null;
19281
+ total_cents?: number | null;
19282
+ unit?: string | null;
19283
+ unit_price_cents?: number | null;
19284
+ };
19285
+ Update: {
19286
+ created_at?: string | null;
19287
+ description?: string | null;
19288
+ factuur_id?: string | null;
19289
+ id?: string | null;
19290
+ kind?: string | null;
19291
+ quantity?: number | null;
19292
+ sort_order?: number | null;
19293
+ total_cents?: number | null;
19294
+ unit?: string | null;
19295
+ unit_price_cents?: number | null;
19296
+ };
19297
+ Relationships: [{
19298
+ foreignKeyName: "invoice_items_invoice_id_fkey";
19299
+ columns: ["factuur_id"];
19300
+ isOneToOne: false;
19301
+ referencedRelation: "invoices";
19302
+ referencedColumns: ["id"];
19303
+ }, {
19304
+ foreignKeyName: "invoice_items_invoice_id_fkey";
19305
+ columns: ["factuur_id"];
19306
+ isOneToOne: false;
19307
+ referencedRelation: "uren_facturen";
19308
+ referencedColumns: ["id"];
19309
+ }];
19310
+ };
19068
19311
  v_external_customers_exact: {
19069
19312
  Row: {
19070
19313
  account_number: string | null;
@@ -19570,6 +19813,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
19570
19813
  gebruiker_id: string | null;
19571
19814
  gebruiker_naam: string;
19572
19815
  gestart_op: string | null;
19816
+ herkomst: string | null;
19573
19817
  id: string;
19574
19818
  idempotentie_sleutel: string | null;
19575
19819
  is_herprint: boolean;
@@ -19690,6 +19934,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
19690
19934
  gebruiker_id: string | null;
19691
19935
  gebruiker_naam: string;
19692
19936
  gestart_op: string | null;
19937
+ herkomst: string | null;
19693
19938
  id: string;
19694
19939
  idempotentie_sleutel: string | null;
19695
19940
  is_herprint: boolean;
@@ -20291,6 +20536,46 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
20291
20536
  Args: never;
20292
20537
  Returns: boolean;
20293
20538
  };
20539
+ invoice_create_from_source: {
20540
+ Args: {
20541
+ _payload?: import("../integrations/supabase/types").Json;
20542
+ _source_id: string;
20543
+ _source_type: string;
20544
+ };
20545
+ Returns: import("../integrations/supabase/types").Json;
20546
+ };
20547
+ invoice_get_billable_lines: {
20548
+ Args: {
20549
+ _invoice_id: string;
20550
+ };
20551
+ Returns: import("../integrations/supabase/types").Json;
20552
+ };
20553
+ invoice_get_for_source: {
20554
+ Args: {
20555
+ _source_id: string;
20556
+ _source_type: string;
20557
+ };
20558
+ Returns: import("../integrations/supabase/types").Json;
20559
+ };
20560
+ invoice_get_summary: {
20561
+ Args: {
20562
+ _invoice_id: string;
20563
+ };
20564
+ Returns: import("../integrations/supabase/types").Json;
20565
+ };
20566
+ invoice_list_sources: {
20567
+ Args: {
20568
+ _limit?: number;
20569
+ _source_type?: string;
20570
+ };
20571
+ Returns: import("../integrations/supabase/types").Json;
20572
+ };
20573
+ invoice_recalc_totals: {
20574
+ Args: {
20575
+ _invoice_id: string;
20576
+ };
20577
+ Returns: import("../integrations/supabase/types").Json;
20578
+ };
20294
20579
  is_authenticated: {
20295
20580
  Args: never;
20296
20581
  Returns: boolean;
@@ -20359,6 +20644,29 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
20359
20644
  roles: string[];
20360
20645
  }[];
20361
20646
  };
20647
+ list_monteur_absences: {
20648
+ Args: {
20649
+ _from: string;
20650
+ _to: string;
20651
+ };
20652
+ Returns: {
20653
+ absence_date: string;
20654
+ end_time: string;
20655
+ full_day: boolean;
20656
+ kind: string;
20657
+ monteur_id: string;
20658
+ start_time: string;
20659
+ }[];
20660
+ };
20661
+ list_monteurs: {
20662
+ Args: never;
20663
+ Returns: {
20664
+ avatar_url: string;
20665
+ display_name: string;
20666
+ email: string;
20667
+ id: string;
20668
+ }[];
20669
+ };
20362
20670
  list_my_planning_items: {
20363
20671
  Args: {
20364
20672
  _from: string;
@@ -20770,6 +21078,23 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
20770
21078
  };
20771
21079
  Returns: string;
20772
21080
  };
21081
+ logistics_floriday_finish_push_v2: {
21082
+ Args: {
21083
+ _error?: string;
21084
+ _error_code?: string;
21085
+ _fulfillment_order_id?: string;
21086
+ _gateway_status?: number;
21087
+ _id: string;
21088
+ _max_age_hours?: number;
21089
+ _max_attempts?: number;
21090
+ _ok: boolean;
21091
+ _permanent?: boolean;
21092
+ _response?: import("../integrations/supabase/types").Json;
21093
+ _revision: number;
21094
+ _sent_hash?: string;
21095
+ };
21096
+ Returns: string;
21097
+ };
20773
21098
  logistics_floriday_prune_pushes: {
20774
21099
  Args: {
20775
21100
  _days?: number;
@@ -21312,6 +21637,13 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
21312
21637
  isSetofReturn: false;
21313
21638
  };
21314
21639
  };
21640
+ pick_cleanup_maintenance: {
21641
+ Args: {
21642
+ _heartbeat_hours?: number;
21643
+ _log_days?: number;
21644
+ };
21645
+ Returns: import("../integrations/supabase/types").Json;
21646
+ };
21315
21647
  pick_complete_print: {
21316
21648
  Args: {
21317
21649
  _printer_id: string;
@@ -21363,6 +21695,14 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
21363
21695
  Args: never;
21364
21696
  Returns: string;
21365
21697
  };
21698
+ pick_day_counts: {
21699
+ Args: {
21700
+ _pick_day?: string;
21701
+ _screen_id?: string;
21702
+ _station_id?: string;
21703
+ };
21704
+ Returns: import("../integrations/supabase/types").Json;
21705
+ };
21366
21706
  pick_document_layout_data: {
21367
21707
  Args: {
21368
21708
  _layout_id: string;
@@ -21400,6 +21740,14 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
21400
21740
  };
21401
21741
  Returns: undefined;
21402
21742
  };
21743
+ pick_reprint_document: {
21744
+ Args: {
21745
+ _queue_item_id: string;
21746
+ _session_id: string;
21747
+ _throttle_seconds?: number;
21748
+ };
21749
+ Returns: string;
21750
+ };
21403
21751
  pick_reset_print: {
21404
21752
  Args: {
21405
21753
  _queue_item_id: string;
@@ -21465,6 +21813,12 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
21465
21813
  };
21466
21814
  Returns: string;
21467
21815
  };
21816
+ pick_sync_queue_throttled: {
21817
+ Args: {
21818
+ _min_seconds?: number;
21819
+ };
21820
+ Returns: import("../integrations/supabase/types").Json;
21821
+ };
21468
21822
  pickstation_get_orders_raw: {
21469
21823
  Args: never;
21470
21824
  Returns: import("../integrations/supabase/types").Json;
@@ -21610,6 +21964,12 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
21610
21964
  };
21611
21965
  Returns: boolean;
21612
21966
  };
21967
+ release_stale_order_invoice_links: {
21968
+ Args: {
21969
+ _minutes?: number;
21970
+ };
21971
+ Returns: number;
21972
+ };
21613
21973
  reorder_customer_price_groups: {
21614
21974
  Args: {
21615
21975
  _ids: string[];
@@ -22128,6 +22488,20 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
22128
22488
  };
22129
22489
  Returns: undefined;
22130
22490
  };
22491
+ twinfield_deactivate_connection: {
22492
+ Args: {
22493
+ p_connection_id: string;
22494
+ p_user_id: string;
22495
+ };
22496
+ Returns: import("../integrations/supabase/types").Json;
22497
+ };
22498
+ twinfield_handle_administration_change: {
22499
+ Args: {
22500
+ _administration_code: string;
22501
+ _user_id: string;
22502
+ };
22503
+ Returns: undefined;
22504
+ };
22131
22505
  twinfield_prune_push_queue: {
22132
22506
  Args: never;
22133
22507
  Returns: number;
@@ -22147,10 +22521,11 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
22147
22521
  p_company_name?: string;
22148
22522
  p_environment: string;
22149
22523
  p_office_code?: string;
22524
+ p_reset_sync?: boolean;
22150
22525
  p_status?: string;
22151
22526
  p_user_id: string;
22152
22527
  };
22153
- Returns: string;
22528
+ Returns: import("../integrations/supabase/types").Json;
22154
22529
  };
22155
22530
  upsert_auto_fulfillment_log: {
22156
22531
  Args: {