@flowselections/logistiek-engine 1.0.11 → 1.0.13
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.
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1134 -189
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1134 -189
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +1134 -189
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1161 -185
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.functions.d.ts +3162 -327
- package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.server.d.ts +14 -1
- package/dist-lib/lib/floridayDocuments.server.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.server.js +1 -1
- package/dist-lib/lib/floridayPush.functions.d.ts +1134 -189
- package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
- package/dist-lib/lib/floridayPush.server.d.ts +27 -21
- package/dist-lib/lib/floridayPush.server.d.ts.map +1 -1
- package/dist-lib/lib/floridayPush.server.js +160 -43
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +5270 -545
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +2108 -218
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts +1134 -189
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2763,6 +2763,42 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
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 recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
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 recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
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 recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
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 recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
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;
|
|
@@ -7353,8 +7431,63 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
7353
7431
|
};
|
|
7354
7432
|
Relationships: [];
|
|
7355
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
|
+
};
|
|
7356
7488
|
invoice_post_idempotency: {
|
|
7357
7489
|
Row: {
|
|
7490
|
+
administration_code: string;
|
|
7358
7491
|
client_request_id: string;
|
|
7359
7492
|
completed_at: string | null;
|
|
7360
7493
|
created_at: string;
|
|
@@ -7364,6 +7497,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
7364
7497
|
user_id: string;
|
|
7365
7498
|
};
|
|
7366
7499
|
Insert: {
|
|
7500
|
+
administration_code?: string;
|
|
7367
7501
|
client_request_id: string;
|
|
7368
7502
|
completed_at?: string | null;
|
|
7369
7503
|
created_at?: string;
|
|
@@ -7373,6 +7507,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
7373
7507
|
user_id: string;
|
|
7374
7508
|
};
|
|
7375
7509
|
Update: {
|
|
7510
|
+
administration_code?: string;
|
|
7376
7511
|
client_request_id?: string;
|
|
7377
7512
|
completed_at?: string | null;
|
|
7378
7513
|
created_at?: string;
|
|
@@ -7578,6 +7713,75 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
7578
7713
|
};
|
|
7579
7714
|
Relationships: [];
|
|
7580
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
|
+
};
|
|
7581
7785
|
itk_contact_persons: {
|
|
7582
7786
|
Row: {
|
|
7583
7787
|
created_at: string;
|
|
@@ -7773,108 +7977,360 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
7773
7977
|
};
|
|
7774
7978
|
Relationships: [];
|
|
7775
7979
|
};
|
|
7776
|
-
|
|
7980
|
+
itk_offerte_events: {
|
|
7777
7981
|
Row: {
|
|
7778
|
-
city: string | null;
|
|
7779
7982
|
created_at: string;
|
|
7780
|
-
|
|
7983
|
+
event_type: string;
|
|
7781
7984
|
id: string;
|
|
7782
|
-
|
|
7783
|
-
|
|
7784
|
-
|
|
7785
|
-
|
|
7786
|
-
postcode: string | null;
|
|
7787
|
-
street: string | null;
|
|
7788
|
-
updated_at: string;
|
|
7985
|
+
metadata: import("../integrations/supabase/types").Json;
|
|
7986
|
+
offerte_id: string;
|
|
7987
|
+
omschrijving: string | null;
|
|
7988
|
+
user_id: string | null;
|
|
7789
7989
|
};
|
|
7790
7990
|
Insert: {
|
|
7791
|
-
city?: string | null;
|
|
7792
7991
|
created_at?: string;
|
|
7793
|
-
|
|
7992
|
+
event_type: string;
|
|
7794
7993
|
id?: string;
|
|
7795
|
-
|
|
7796
|
-
|
|
7797
|
-
|
|
7798
|
-
|
|
7799
|
-
postcode?: string | null;
|
|
7800
|
-
street?: string | null;
|
|
7801
|
-
updated_at?: string;
|
|
7994
|
+
metadata?: import("../integrations/supabase/types").Json;
|
|
7995
|
+
offerte_id: string;
|
|
7996
|
+
omschrijving?: string | null;
|
|
7997
|
+
user_id?: string | null;
|
|
7802
7998
|
};
|
|
7803
7999
|
Update: {
|
|
7804
|
-
city?: string | null;
|
|
7805
8000
|
created_at?: string;
|
|
7806
|
-
|
|
8001
|
+
event_type?: string;
|
|
7807
8002
|
id?: string;
|
|
7808
|
-
|
|
7809
|
-
|
|
7810
|
-
|
|
7811
|
-
|
|
7812
|
-
postcode?: string | null;
|
|
7813
|
-
street?: string | null;
|
|
7814
|
-
updated_at?: string;
|
|
8003
|
+
metadata?: import("../integrations/supabase/types").Json;
|
|
8004
|
+
offerte_id?: string;
|
|
8005
|
+
omschrijving?: string | null;
|
|
8006
|
+
user_id?: string | null;
|
|
7815
8007
|
};
|
|
7816
8008
|
Relationships: [{
|
|
7817
|
-
foreignKeyName: "
|
|
7818
|
-
columns: ["
|
|
8009
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
8010
|
+
columns: ["offerte_id"];
|
|
7819
8011
|
isOneToOne: false;
|
|
7820
|
-
referencedRelation: "
|
|
8012
|
+
referencedRelation: "itk_offertes";
|
|
7821
8013
|
referencedColumns: ["id"];
|
|
7822
8014
|
}];
|
|
7823
8015
|
};
|
|
7824
|
-
|
|
8016
|
+
itk_offerte_regels: {
|
|
7825
8017
|
Row: {
|
|
7826
|
-
bestand_url: string;
|
|
7827
|
-
bestandsgrootte: number;
|
|
7828
|
-
bestandspad: string | null;
|
|
7829
|
-
bestandstype: string;
|
|
7830
|
-
breedte: number;
|
|
7831
|
-
categorie: string;
|
|
7832
8018
|
created_at: string;
|
|
7833
|
-
hash: string | null;
|
|
7834
|
-
hoogte: number;
|
|
7835
8019
|
id: string;
|
|
7836
|
-
|
|
7837
|
-
|
|
8020
|
+
line_total_cents: number;
|
|
8021
|
+
offerte_id: string;
|
|
7838
8022
|
omschrijving: string;
|
|
7839
|
-
|
|
8023
|
+
package_id: string | null;
|
|
8024
|
+
quantity: number;
|
|
8025
|
+
sort_order: number;
|
|
8026
|
+
source: string;
|
|
8027
|
+
unit_price_cents: number;
|
|
7840
8028
|
updated_at: string;
|
|
7841
8029
|
};
|
|
7842
8030
|
Insert: {
|
|
7843
|
-
bestand_url: string;
|
|
7844
|
-
bestandsgrootte?: number;
|
|
7845
|
-
bestandspad?: string | null;
|
|
7846
|
-
bestandstype?: string;
|
|
7847
|
-
breedte?: number;
|
|
7848
|
-
categorie?: string;
|
|
7849
8031
|
created_at?: string;
|
|
7850
|
-
hash?: string | null;
|
|
7851
|
-
hoogte?: number;
|
|
7852
8032
|
id?: string;
|
|
7853
|
-
|
|
7854
|
-
|
|
8033
|
+
line_total_cents?: number;
|
|
8034
|
+
offerte_id: string;
|
|
7855
8035
|
omschrijving?: string;
|
|
7856
|
-
|
|
8036
|
+
package_id?: string | null;
|
|
8037
|
+
quantity?: number;
|
|
8038
|
+
sort_order?: number;
|
|
8039
|
+
source?: string;
|
|
8040
|
+
unit_price_cents?: number;
|
|
7857
8041
|
updated_at?: string;
|
|
7858
8042
|
};
|
|
7859
8043
|
Update: {
|
|
7860
|
-
bestand_url?: string;
|
|
7861
|
-
bestandsgrootte?: number;
|
|
7862
|
-
bestandspad?: string | null;
|
|
7863
|
-
bestandstype?: string;
|
|
7864
|
-
breedte?: number;
|
|
7865
|
-
categorie?: string;
|
|
7866
8044
|
created_at?: string;
|
|
7867
|
-
hash?: string | null;
|
|
7868
|
-
hoogte?: number;
|
|
7869
8045
|
id?: string;
|
|
7870
|
-
|
|
7871
|
-
|
|
8046
|
+
line_total_cents?: number;
|
|
8047
|
+
offerte_id?: string;
|
|
7872
8048
|
omschrijving?: string;
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
|
|
7876
|
-
|
|
7877
|
-
|
|
8049
|
+
package_id?: string | null;
|
|
8050
|
+
quantity?: number;
|
|
8051
|
+
sort_order?: number;
|
|
8052
|
+
source?: string;
|
|
8053
|
+
unit_price_cents?: number;
|
|
8054
|
+
updated_at?: string;
|
|
8055
|
+
};
|
|
8056
|
+
Relationships: [{
|
|
8057
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
8058
|
+
columns: ["offerte_id"];
|
|
8059
|
+
isOneToOne: false;
|
|
8060
|
+
referencedRelation: "itk_offertes";
|
|
8061
|
+
referencedColumns: ["id"];
|
|
8062
|
+
}, {
|
|
8063
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
8064
|
+
columns: ["package_id"];
|
|
8065
|
+
isOneToOne: false;
|
|
8066
|
+
referencedRelation: "werkbon_packages";
|
|
8067
|
+
referencedColumns: ["id"];
|
|
8068
|
+
}];
|
|
8069
|
+
};
|
|
8070
|
+
itk_offerte_settings: {
|
|
8071
|
+
Row: {
|
|
8072
|
+
auto_convert_binnen_mandaat: boolean;
|
|
8073
|
+
created_at: string;
|
|
8074
|
+
default_geldigheid_dagen: number;
|
|
8075
|
+
default_vat_rate: number;
|
|
8076
|
+
id: string;
|
|
8077
|
+
singleton: boolean;
|
|
8078
|
+
updated_at: string;
|
|
8079
|
+
};
|
|
8080
|
+
Insert: {
|
|
8081
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
8082
|
+
created_at?: string;
|
|
8083
|
+
default_geldigheid_dagen?: number;
|
|
8084
|
+
default_vat_rate?: number;
|
|
8085
|
+
id?: string;
|
|
8086
|
+
singleton?: boolean;
|
|
8087
|
+
updated_at?: string;
|
|
8088
|
+
};
|
|
8089
|
+
Update: {
|
|
8090
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
8091
|
+
created_at?: string;
|
|
8092
|
+
default_geldigheid_dagen?: number;
|
|
8093
|
+
default_vat_rate?: number;
|
|
8094
|
+
id?: string;
|
|
8095
|
+
singleton?: boolean;
|
|
8096
|
+
updated_at?: string;
|
|
8097
|
+
};
|
|
8098
|
+
Relationships: [];
|
|
8099
|
+
};
|
|
8100
|
+
itk_offertes: {
|
|
8101
|
+
Row: {
|
|
8102
|
+
ai_generated: boolean;
|
|
8103
|
+
approved_at: string | null;
|
|
8104
|
+
binnen_mandaat: boolean;
|
|
8105
|
+
contact_id: string | null;
|
|
8106
|
+
converted_at: string | null;
|
|
8107
|
+
created_at: string;
|
|
8108
|
+
created_by: string | null;
|
|
8109
|
+
customer_id: string | null;
|
|
8110
|
+
follow_up_werkbon_id: string | null;
|
|
8111
|
+
id: string;
|
|
8112
|
+
jaar: number;
|
|
8113
|
+
mandaat_restant_cents: number;
|
|
8114
|
+
notities: string | null;
|
|
8115
|
+
offerte_number: string | null;
|
|
8116
|
+
omschrijving: string;
|
|
8117
|
+
rejected_at: string | null;
|
|
8118
|
+
sent_at: string | null;
|
|
8119
|
+
source_number: string | null;
|
|
8120
|
+
source_ref: string | null;
|
|
8121
|
+
source_type: string;
|
|
8122
|
+
status: string;
|
|
8123
|
+
subtotal_cents: number;
|
|
8124
|
+
total_cents: number;
|
|
8125
|
+
updated_at: string;
|
|
8126
|
+
valid_until: string | null;
|
|
8127
|
+
vat_cents: number;
|
|
8128
|
+
vat_rate: number;
|
|
8129
|
+
viewed_at: string | null;
|
|
8130
|
+
volgnummer: number | null;
|
|
8131
|
+
werkbon_id: string | null;
|
|
8132
|
+
work_location_id: string | null;
|
|
8133
|
+
};
|
|
8134
|
+
Insert: {
|
|
8135
|
+
ai_generated?: boolean;
|
|
8136
|
+
approved_at?: string | null;
|
|
8137
|
+
binnen_mandaat?: boolean;
|
|
8138
|
+
contact_id?: string | null;
|
|
8139
|
+
converted_at?: string | null;
|
|
8140
|
+
created_at?: string;
|
|
8141
|
+
created_by?: string | null;
|
|
8142
|
+
customer_id?: string | null;
|
|
8143
|
+
follow_up_werkbon_id?: string | null;
|
|
8144
|
+
id?: string;
|
|
8145
|
+
jaar?: number;
|
|
8146
|
+
mandaat_restant_cents?: number;
|
|
8147
|
+
notities?: string | null;
|
|
8148
|
+
offerte_number?: string | null;
|
|
8149
|
+
omschrijving?: string;
|
|
8150
|
+
rejected_at?: string | null;
|
|
8151
|
+
sent_at?: string | null;
|
|
8152
|
+
source_number?: string | null;
|
|
8153
|
+
source_ref?: string | null;
|
|
8154
|
+
source_type?: string;
|
|
8155
|
+
status?: string;
|
|
8156
|
+
subtotal_cents?: number;
|
|
8157
|
+
total_cents?: number;
|
|
8158
|
+
updated_at?: string;
|
|
8159
|
+
valid_until?: string | null;
|
|
8160
|
+
vat_cents?: number;
|
|
8161
|
+
vat_rate?: number;
|
|
8162
|
+
viewed_at?: string | null;
|
|
8163
|
+
volgnummer?: number | null;
|
|
8164
|
+
werkbon_id?: string | null;
|
|
8165
|
+
work_location_id?: string | null;
|
|
8166
|
+
};
|
|
8167
|
+
Update: {
|
|
8168
|
+
ai_generated?: boolean;
|
|
8169
|
+
approved_at?: string | null;
|
|
8170
|
+
binnen_mandaat?: boolean;
|
|
8171
|
+
contact_id?: string | null;
|
|
8172
|
+
converted_at?: string | null;
|
|
8173
|
+
created_at?: string;
|
|
8174
|
+
created_by?: string | null;
|
|
8175
|
+
customer_id?: string | null;
|
|
8176
|
+
follow_up_werkbon_id?: string | null;
|
|
8177
|
+
id?: string;
|
|
8178
|
+
jaar?: number;
|
|
8179
|
+
mandaat_restant_cents?: number;
|
|
8180
|
+
notities?: string | null;
|
|
8181
|
+
offerte_number?: string | null;
|
|
8182
|
+
omschrijving?: string;
|
|
8183
|
+
rejected_at?: string | null;
|
|
8184
|
+
sent_at?: string | null;
|
|
8185
|
+
source_number?: string | null;
|
|
8186
|
+
source_ref?: string | null;
|
|
8187
|
+
source_type?: string;
|
|
8188
|
+
status?: string;
|
|
8189
|
+
subtotal_cents?: number;
|
|
8190
|
+
total_cents?: number;
|
|
8191
|
+
updated_at?: string;
|
|
8192
|
+
valid_until?: string | null;
|
|
8193
|
+
vat_cents?: number;
|
|
8194
|
+
vat_rate?: number;
|
|
8195
|
+
viewed_at?: string | null;
|
|
8196
|
+
volgnummer?: number | null;
|
|
8197
|
+
werkbon_id?: string | null;
|
|
8198
|
+
work_location_id?: string | null;
|
|
8199
|
+
};
|
|
8200
|
+
Relationships: [{
|
|
8201
|
+
foreignKeyName: "itk_offertes_contact_id_fkey";
|
|
8202
|
+
columns: ["contact_id"];
|
|
8203
|
+
isOneToOne: false;
|
|
8204
|
+
referencedRelation: "itk_contact_persons";
|
|
8205
|
+
referencedColumns: ["id"];
|
|
8206
|
+
}, {
|
|
8207
|
+
foreignKeyName: "itk_offertes_customer_id_fkey";
|
|
8208
|
+
columns: ["customer_id"];
|
|
8209
|
+
isOneToOne: false;
|
|
8210
|
+
referencedRelation: "itk_customers";
|
|
8211
|
+
referencedColumns: ["id"];
|
|
8212
|
+
}, {
|
|
8213
|
+
foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
|
|
8214
|
+
columns: ["follow_up_werkbon_id"];
|
|
8215
|
+
isOneToOne: false;
|
|
8216
|
+
referencedRelation: "werkbonnen";
|
|
8217
|
+
referencedColumns: ["id"];
|
|
8218
|
+
}, {
|
|
8219
|
+
foreignKeyName: "itk_offertes_werkbon_id_fkey";
|
|
8220
|
+
columns: ["werkbon_id"];
|
|
8221
|
+
isOneToOne: false;
|
|
8222
|
+
referencedRelation: "werkbonnen";
|
|
8223
|
+
referencedColumns: ["id"];
|
|
8224
|
+
}, {
|
|
8225
|
+
foreignKeyName: "itk_offertes_work_location_id_fkey";
|
|
8226
|
+
columns: ["work_location_id"];
|
|
8227
|
+
isOneToOne: false;
|
|
8228
|
+
referencedRelation: "itk_work_locations";
|
|
8229
|
+
referencedColumns: ["id"];
|
|
8230
|
+
}];
|
|
8231
|
+
};
|
|
8232
|
+
itk_work_locations: {
|
|
8233
|
+
Row: {
|
|
8234
|
+
city: string | null;
|
|
8235
|
+
created_at: string;
|
|
8236
|
+
customer_id: string;
|
|
8237
|
+
id: string;
|
|
8238
|
+
instructions: string | null;
|
|
8239
|
+
label: string;
|
|
8240
|
+
latitude: number | null;
|
|
8241
|
+
longitude: number | null;
|
|
8242
|
+
postcode: string | null;
|
|
8243
|
+
street: string | null;
|
|
8244
|
+
updated_at: string;
|
|
8245
|
+
};
|
|
8246
|
+
Insert: {
|
|
8247
|
+
city?: string | null;
|
|
8248
|
+
created_at?: string;
|
|
8249
|
+
customer_id: string;
|
|
8250
|
+
id?: string;
|
|
8251
|
+
instructions?: string | null;
|
|
8252
|
+
label: string;
|
|
8253
|
+
latitude?: number | null;
|
|
8254
|
+
longitude?: number | null;
|
|
8255
|
+
postcode?: string | null;
|
|
8256
|
+
street?: string | null;
|
|
8257
|
+
updated_at?: string;
|
|
8258
|
+
};
|
|
8259
|
+
Update: {
|
|
8260
|
+
city?: string | null;
|
|
8261
|
+
created_at?: string;
|
|
8262
|
+
customer_id?: string;
|
|
8263
|
+
id?: string;
|
|
8264
|
+
instructions?: string | null;
|
|
8265
|
+
label?: string;
|
|
8266
|
+
latitude?: number | null;
|
|
8267
|
+
longitude?: number | null;
|
|
8268
|
+
postcode?: string | null;
|
|
8269
|
+
street?: string | null;
|
|
8270
|
+
updated_at?: string;
|
|
8271
|
+
};
|
|
8272
|
+
Relationships: [{
|
|
8273
|
+
foreignKeyName: "itk_work_locations_customer_id_fkey";
|
|
8274
|
+
columns: ["customer_id"];
|
|
8275
|
+
isOneToOne: false;
|
|
8276
|
+
referencedRelation: "itk_customers";
|
|
8277
|
+
referencedColumns: ["id"];
|
|
8278
|
+
}];
|
|
8279
|
+
};
|
|
8280
|
+
layout_logos: {
|
|
8281
|
+
Row: {
|
|
8282
|
+
bestand_url: string;
|
|
8283
|
+
bestandsgrootte: number;
|
|
8284
|
+
bestandspad: string | null;
|
|
8285
|
+
bestandstype: string;
|
|
8286
|
+
breedte: number;
|
|
8287
|
+
categorie: string;
|
|
8288
|
+
created_at: string;
|
|
8289
|
+
hash: string | null;
|
|
8290
|
+
hoogte: number;
|
|
8291
|
+
id: string;
|
|
8292
|
+
is_standaard: boolean;
|
|
8293
|
+
naam: string;
|
|
8294
|
+
omschrijving: string;
|
|
8295
|
+
transparant: boolean;
|
|
8296
|
+
updated_at: string;
|
|
8297
|
+
};
|
|
8298
|
+
Insert: {
|
|
8299
|
+
bestand_url: string;
|
|
8300
|
+
bestandsgrootte?: number;
|
|
8301
|
+
bestandspad?: string | null;
|
|
8302
|
+
bestandstype?: string;
|
|
8303
|
+
breedte?: number;
|
|
8304
|
+
categorie?: string;
|
|
8305
|
+
created_at?: string;
|
|
8306
|
+
hash?: string | null;
|
|
8307
|
+
hoogte?: number;
|
|
8308
|
+
id?: string;
|
|
8309
|
+
is_standaard?: boolean;
|
|
8310
|
+
naam: string;
|
|
8311
|
+
omschrijving?: string;
|
|
8312
|
+
transparant?: boolean;
|
|
8313
|
+
updated_at?: string;
|
|
8314
|
+
};
|
|
8315
|
+
Update: {
|
|
8316
|
+
bestand_url?: string;
|
|
8317
|
+
bestandsgrootte?: number;
|
|
8318
|
+
bestandspad?: string | null;
|
|
8319
|
+
bestandstype?: string;
|
|
8320
|
+
breedte?: number;
|
|
8321
|
+
categorie?: string;
|
|
8322
|
+
created_at?: string;
|
|
8323
|
+
hash?: string | null;
|
|
8324
|
+
hoogte?: number;
|
|
8325
|
+
id?: string;
|
|
8326
|
+
is_standaard?: boolean;
|
|
8327
|
+
naam?: string;
|
|
8328
|
+
omschrijving?: string;
|
|
8329
|
+
transparant?: boolean;
|
|
8330
|
+
updated_at?: string;
|
|
8331
|
+
};
|
|
8332
|
+
Relationships: [];
|
|
8333
|
+
};
|
|
7878
8334
|
leave_requests: {
|
|
7879
8335
|
Row: {
|
|
7880
8336
|
created_at: string;
|
|
@@ -8673,6 +9129,9 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
8673
9129
|
id: string;
|
|
8674
9130
|
last_error: string | null;
|
|
8675
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;
|
|
8676
9135
|
last_sent_hash: string | null;
|
|
8677
9136
|
locked_by: string | null;
|
|
8678
9137
|
locked_until: string | null;
|
|
@@ -8693,6 +9152,9 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
8693
9152
|
id?: string;
|
|
8694
9153
|
last_error?: string | null;
|
|
8695
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;
|
|
8696
9158
|
last_sent_hash?: string | null;
|
|
8697
9159
|
locked_by?: string | null;
|
|
8698
9160
|
locked_until?: string | null;
|
|
@@ -8713,6 +9175,9 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
8713
9175
|
id?: string;
|
|
8714
9176
|
last_error?: string | null;
|
|
8715
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;
|
|
8716
9181
|
last_sent_hash?: string | null;
|
|
8717
9182
|
locked_by?: string | null;
|
|
8718
9183
|
locked_until?: string | null;
|
|
@@ -10146,6 +10611,63 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
10146
10611
|
referencedColumns: ["id"];
|
|
10147
10612
|
}];
|
|
10148
10613
|
};
|
|
10614
|
+
medewerker_details: {
|
|
10615
|
+
Row: {
|
|
10616
|
+
color: string | null;
|
|
10617
|
+
created_at: string;
|
|
10618
|
+
hours_fri: number | null;
|
|
10619
|
+
hours_mon: number | null;
|
|
10620
|
+
hours_thu: number | null;
|
|
10621
|
+
hours_tue: number | null;
|
|
10622
|
+
hours_wed: number | null;
|
|
10623
|
+
id: string;
|
|
10624
|
+
is_active: boolean;
|
|
10625
|
+
leave_balance_hours: number;
|
|
10626
|
+
persnr: string | null;
|
|
10627
|
+
phone: string | null;
|
|
10628
|
+
profile_id: string;
|
|
10629
|
+
updated_at: string;
|
|
10630
|
+
};
|
|
10631
|
+
Insert: {
|
|
10632
|
+
color?: string | null;
|
|
10633
|
+
created_at?: string;
|
|
10634
|
+
hours_fri?: number | null;
|
|
10635
|
+
hours_mon?: number | null;
|
|
10636
|
+
hours_thu?: number | null;
|
|
10637
|
+
hours_tue?: number | null;
|
|
10638
|
+
hours_wed?: number | null;
|
|
10639
|
+
id?: string;
|
|
10640
|
+
is_active?: boolean;
|
|
10641
|
+
leave_balance_hours?: number;
|
|
10642
|
+
persnr?: string | null;
|
|
10643
|
+
phone?: string | null;
|
|
10644
|
+
profile_id: string;
|
|
10645
|
+
updated_at?: string;
|
|
10646
|
+
};
|
|
10647
|
+
Update: {
|
|
10648
|
+
color?: string | null;
|
|
10649
|
+
created_at?: string;
|
|
10650
|
+
hours_fri?: number | null;
|
|
10651
|
+
hours_mon?: number | null;
|
|
10652
|
+
hours_thu?: number | null;
|
|
10653
|
+
hours_tue?: number | null;
|
|
10654
|
+
hours_wed?: number | null;
|
|
10655
|
+
id?: string;
|
|
10656
|
+
is_active?: boolean;
|
|
10657
|
+
leave_balance_hours?: number;
|
|
10658
|
+
persnr?: string | null;
|
|
10659
|
+
phone?: string | null;
|
|
10660
|
+
profile_id?: string;
|
|
10661
|
+
updated_at?: string;
|
|
10662
|
+
};
|
|
10663
|
+
Relationships: [{
|
|
10664
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
10665
|
+
columns: ["profile_id"];
|
|
10666
|
+
isOneToOne: true;
|
|
10667
|
+
referencedRelation: "profiles";
|
|
10668
|
+
referencedColumns: ["id"];
|
|
10669
|
+
}];
|
|
10670
|
+
};
|
|
10149
10671
|
module_features: {
|
|
10150
10672
|
Row: {
|
|
10151
10673
|
created_at: string;
|
|
@@ -10209,6 +10731,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
10209
10731
|
enforce: boolean;
|
|
10210
10732
|
is_active: boolean;
|
|
10211
10733
|
last_seen_at: string;
|
|
10734
|
+
missing_count: number;
|
|
10212
10735
|
module_id: string;
|
|
10213
10736
|
name: string;
|
|
10214
10737
|
shell_id: string | null;
|
|
@@ -10219,6 +10742,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
10219
10742
|
enforce?: boolean;
|
|
10220
10743
|
is_active?: boolean;
|
|
10221
10744
|
last_seen_at?: string;
|
|
10745
|
+
missing_count?: number;
|
|
10222
10746
|
module_id: string;
|
|
10223
10747
|
name: string;
|
|
10224
10748
|
shell_id?: string | null;
|
|
@@ -10229,6 +10753,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
10229
10753
|
enforce?: boolean;
|
|
10230
10754
|
is_active?: boolean;
|
|
10231
10755
|
last_seen_at?: string;
|
|
10756
|
+
missing_count?: number;
|
|
10232
10757
|
module_id?: string;
|
|
10233
10758
|
name?: string;
|
|
10234
10759
|
shell_id?: string | null;
|
|
@@ -11228,6 +11753,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
11228
11753
|
};
|
|
11229
11754
|
order_invoice_links: {
|
|
11230
11755
|
Row: {
|
|
11756
|
+
administration_code: string | null;
|
|
11231
11757
|
attempts: number;
|
|
11232
11758
|
created_at: string;
|
|
11233
11759
|
error_message: string | null;
|
|
@@ -11240,6 +11766,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
11240
11766
|
updated_at: string;
|
|
11241
11767
|
};
|
|
11242
11768
|
Insert: {
|
|
11769
|
+
administration_code?: string | null;
|
|
11243
11770
|
attempts?: number;
|
|
11244
11771
|
created_at?: string;
|
|
11245
11772
|
error_message?: string | null;
|
|
@@ -11252,6 +11779,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
11252
11779
|
updated_at?: string;
|
|
11253
11780
|
};
|
|
11254
11781
|
Update: {
|
|
11782
|
+
administration_code?: string | null;
|
|
11255
11783
|
attempts?: number;
|
|
11256
11784
|
created_at?: string;
|
|
11257
11785
|
error_message?: string | null;
|
|
@@ -11439,6 +11967,8 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
11439
11967
|
orders: {
|
|
11440
11968
|
Row: {
|
|
11441
11969
|
buffer_id: string | null;
|
|
11970
|
+
cancel_reason: string | null;
|
|
11971
|
+
cancelled_at: string | null;
|
|
11442
11972
|
created_at: string;
|
|
11443
11973
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
11444
11974
|
customer_id: string | null;
|
|
@@ -11461,6 +11991,8 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
11461
11991
|
};
|
|
11462
11992
|
Insert: {
|
|
11463
11993
|
buffer_id?: string | null;
|
|
11994
|
+
cancel_reason?: string | null;
|
|
11995
|
+
cancelled_at?: string | null;
|
|
11464
11996
|
created_at?: string;
|
|
11465
11997
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
11466
11998
|
customer_id?: string | null;
|
|
@@ -11483,6 +12015,8 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
11483
12015
|
};
|
|
11484
12016
|
Update: {
|
|
11485
12017
|
buffer_id?: string | null;
|
|
12018
|
+
cancel_reason?: string | null;
|
|
12019
|
+
cancelled_at?: string | null;
|
|
11486
12020
|
created_at?: string;
|
|
11487
12021
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
11488
12022
|
customer_id?: string | null;
|
|
@@ -12411,6 +12945,27 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
12411
12945
|
referencedColumns: ["id"];
|
|
12412
12946
|
}];
|
|
12413
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
|
+
};
|
|
12414
12969
|
pick_task_document_types: {
|
|
12415
12970
|
Row: {
|
|
12416
12971
|
created_at: string;
|
|
@@ -12693,6 +13248,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
12693
13248
|
gebruiker_id: string | null;
|
|
12694
13249
|
gebruiker_naam: string;
|
|
12695
13250
|
gestart_op: string | null;
|
|
13251
|
+
herkomst: string | null;
|
|
12696
13252
|
id: string;
|
|
12697
13253
|
idempotentie_sleutel: string | null;
|
|
12698
13254
|
is_herprint: boolean;
|
|
@@ -12722,6 +13278,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
12722
13278
|
gebruiker_id?: string | null;
|
|
12723
13279
|
gebruiker_naam?: string;
|
|
12724
13280
|
gestart_op?: string | null;
|
|
13281
|
+
herkomst?: string | null;
|
|
12725
13282
|
id?: string;
|
|
12726
13283
|
idempotentie_sleutel?: string | null;
|
|
12727
13284
|
is_herprint?: boolean;
|
|
@@ -12751,6 +13308,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
12751
13308
|
gebruiker_id?: string | null;
|
|
12752
13309
|
gebruiker_naam?: string;
|
|
12753
13310
|
gestart_op?: string | null;
|
|
13311
|
+
herkomst?: string | null;
|
|
12754
13312
|
id?: string;
|
|
12755
13313
|
idempotentie_sleutel?: string | null;
|
|
12756
13314
|
is_herprint?: boolean;
|
|
@@ -13545,6 +14103,66 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
13545
14103
|
};
|
|
13546
14104
|
Relationships: [];
|
|
13547
14105
|
};
|
|
14106
|
+
profile_modules: {
|
|
14107
|
+
Row: {
|
|
14108
|
+
created_at: string;
|
|
14109
|
+
id: string;
|
|
14110
|
+
module_id: string;
|
|
14111
|
+
profile_id: string;
|
|
14112
|
+
};
|
|
14113
|
+
Insert: {
|
|
14114
|
+
created_at?: string;
|
|
14115
|
+
id?: string;
|
|
14116
|
+
module_id: string;
|
|
14117
|
+
profile_id: string;
|
|
14118
|
+
};
|
|
14119
|
+
Update: {
|
|
14120
|
+
created_at?: string;
|
|
14121
|
+
id?: string;
|
|
14122
|
+
module_id?: string;
|
|
14123
|
+
profile_id?: string;
|
|
14124
|
+
};
|
|
14125
|
+
Relationships: [{
|
|
14126
|
+
foreignKeyName: "profile_modules_profile_id_fkey";
|
|
14127
|
+
columns: ["profile_id"];
|
|
14128
|
+
isOneToOne: false;
|
|
14129
|
+
referencedRelation: "profiles_org";
|
|
14130
|
+
referencedColumns: ["id"];
|
|
14131
|
+
}];
|
|
14132
|
+
};
|
|
14133
|
+
profile_roles: {
|
|
14134
|
+
Row: {
|
|
14135
|
+
created_at: string;
|
|
14136
|
+
id: string;
|
|
14137
|
+
profile_id: string;
|
|
14138
|
+
role_id: string;
|
|
14139
|
+
};
|
|
14140
|
+
Insert: {
|
|
14141
|
+
created_at?: string;
|
|
14142
|
+
id?: string;
|
|
14143
|
+
profile_id: string;
|
|
14144
|
+
role_id: string;
|
|
14145
|
+
};
|
|
14146
|
+
Update: {
|
|
14147
|
+
created_at?: string;
|
|
14148
|
+
id?: string;
|
|
14149
|
+
profile_id?: string;
|
|
14150
|
+
role_id?: string;
|
|
14151
|
+
};
|
|
14152
|
+
Relationships: [{
|
|
14153
|
+
foreignKeyName: "profile_roles_profile_id_fkey";
|
|
14154
|
+
columns: ["profile_id"];
|
|
14155
|
+
isOneToOne: false;
|
|
14156
|
+
referencedRelation: "profiles_org";
|
|
14157
|
+
referencedColumns: ["id"];
|
|
14158
|
+
}, {
|
|
14159
|
+
foreignKeyName: "profile_roles_role_id_fkey";
|
|
14160
|
+
columns: ["role_id"];
|
|
14161
|
+
isOneToOne: false;
|
|
14162
|
+
referencedRelation: "roles";
|
|
14163
|
+
referencedColumns: ["id"];
|
|
14164
|
+
}];
|
|
14165
|
+
};
|
|
13548
14166
|
profiles: {
|
|
13549
14167
|
Row: {
|
|
13550
14168
|
address: string | null;
|
|
@@ -13590,6 +14208,39 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
13590
14208
|
referencedColumns: ["id"];
|
|
13591
14209
|
}];
|
|
13592
14210
|
};
|
|
14211
|
+
profiles_org: {
|
|
14212
|
+
Row: {
|
|
14213
|
+
created_at: string;
|
|
14214
|
+
id: string;
|
|
14215
|
+
is_default: boolean;
|
|
14216
|
+
name: string;
|
|
14217
|
+
tenant_id: string | null;
|
|
14218
|
+
updated_at: string;
|
|
14219
|
+
};
|
|
14220
|
+
Insert: {
|
|
14221
|
+
created_at?: string;
|
|
14222
|
+
id?: string;
|
|
14223
|
+
is_default?: boolean;
|
|
14224
|
+
name: string;
|
|
14225
|
+
tenant_id?: string | null;
|
|
14226
|
+
updated_at?: string;
|
|
14227
|
+
};
|
|
14228
|
+
Update: {
|
|
14229
|
+
created_at?: string;
|
|
14230
|
+
id?: string;
|
|
14231
|
+
is_default?: boolean;
|
|
14232
|
+
name?: string;
|
|
14233
|
+
tenant_id?: string | null;
|
|
14234
|
+
updated_at?: string;
|
|
14235
|
+
};
|
|
14236
|
+
Relationships: [{
|
|
14237
|
+
foreignKeyName: "profiles_org_tenant_id_fkey";
|
|
14238
|
+
columns: ["tenant_id"];
|
|
14239
|
+
isOneToOne: false;
|
|
14240
|
+
referencedRelation: "tenants";
|
|
14241
|
+
referencedColumns: ["id"];
|
|
14242
|
+
}];
|
|
14243
|
+
};
|
|
13593
14244
|
projects: {
|
|
13594
14245
|
Row: {
|
|
13595
14246
|
contact_name: string | null;
|
|
@@ -14764,6 +15415,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
14764
15415
|
type: string;
|
|
14765
15416
|
updated_at: string;
|
|
14766
15417
|
vereist_medewerker: boolean;
|
|
15418
|
+
werkplek: string | null;
|
|
14767
15419
|
};
|
|
14768
15420
|
Insert: {
|
|
14769
15421
|
actief?: boolean;
|
|
@@ -14777,6 +15429,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
14777
15429
|
type?: string;
|
|
14778
15430
|
updated_at?: string;
|
|
14779
15431
|
vereist_medewerker?: boolean;
|
|
15432
|
+
werkplek?: string | null;
|
|
14780
15433
|
};
|
|
14781
15434
|
Update: {
|
|
14782
15435
|
actief?: boolean;
|
|
@@ -14790,9 +15443,46 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
14790
15443
|
type?: string;
|
|
14791
15444
|
updated_at?: string;
|
|
14792
15445
|
vereist_medewerker?: boolean;
|
|
15446
|
+
werkplek?: string | null;
|
|
14793
15447
|
};
|
|
14794
15448
|
Relationships: [];
|
|
14795
15449
|
};
|
|
15450
|
+
sick_periods: {
|
|
15451
|
+
Row: {
|
|
15452
|
+
created_at: string;
|
|
15453
|
+
employee_id: string;
|
|
15454
|
+
end_date: string | null;
|
|
15455
|
+
id: string;
|
|
15456
|
+
notes: string | null;
|
|
15457
|
+
start_date: string;
|
|
15458
|
+
updated_at: string;
|
|
15459
|
+
};
|
|
15460
|
+
Insert: {
|
|
15461
|
+
created_at?: string;
|
|
15462
|
+
employee_id: string;
|
|
15463
|
+
end_date?: string | null;
|
|
15464
|
+
id?: string;
|
|
15465
|
+
notes?: string | null;
|
|
15466
|
+
start_date: string;
|
|
15467
|
+
updated_at?: string;
|
|
15468
|
+
};
|
|
15469
|
+
Update: {
|
|
15470
|
+
created_at?: string;
|
|
15471
|
+
employee_id?: string;
|
|
15472
|
+
end_date?: string | null;
|
|
15473
|
+
id?: string;
|
|
15474
|
+
notes?: string | null;
|
|
15475
|
+
start_date?: string;
|
|
15476
|
+
updated_at?: string;
|
|
15477
|
+
};
|
|
15478
|
+
Relationships: [{
|
|
15479
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
15480
|
+
columns: ["employee_id"];
|
|
15481
|
+
isOneToOne: false;
|
|
15482
|
+
referencedRelation: "profiles";
|
|
15483
|
+
referencedColumns: ["id"];
|
|
15484
|
+
}];
|
|
15485
|
+
};
|
|
14796
15486
|
sidebar_config: {
|
|
14797
15487
|
Row: {
|
|
14798
15488
|
id: string;
|
|
@@ -15623,12 +16313,16 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
15623
16313
|
company_name: string | null;
|
|
15624
16314
|
connected_at: string | null;
|
|
15625
16315
|
created_at: string;
|
|
16316
|
+
disconnected_at: string | null;
|
|
15626
16317
|
environment: string;
|
|
15627
16318
|
id: string;
|
|
16319
|
+
initial_sync_completed_at: string | null;
|
|
16320
|
+
initial_sync_started_at: string | null;
|
|
15628
16321
|
is_active: boolean;
|
|
15629
16322
|
label: string | null;
|
|
15630
16323
|
office_code: string | null;
|
|
15631
16324
|
redirect_uri: string | null;
|
|
16325
|
+
superseded_at: string | null;
|
|
15632
16326
|
updated_at: string;
|
|
15633
16327
|
user_id: string;
|
|
15634
16328
|
};
|
|
@@ -15639,12 +16333,16 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
15639
16333
|
company_name?: string | null;
|
|
15640
16334
|
connected_at?: string | null;
|
|
15641
16335
|
created_at?: string;
|
|
16336
|
+
disconnected_at?: string | null;
|
|
15642
16337
|
environment: string;
|
|
15643
16338
|
id?: string;
|
|
16339
|
+
initial_sync_completed_at?: string | null;
|
|
16340
|
+
initial_sync_started_at?: string | null;
|
|
15644
16341
|
is_active?: boolean;
|
|
15645
16342
|
label?: string | null;
|
|
15646
16343
|
office_code?: string | null;
|
|
15647
16344
|
redirect_uri?: string | null;
|
|
16345
|
+
superseded_at?: string | null;
|
|
15648
16346
|
updated_at?: string;
|
|
15649
16347
|
user_id: string;
|
|
15650
16348
|
};
|
|
@@ -15655,12 +16353,16 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
15655
16353
|
company_name?: string | null;
|
|
15656
16354
|
connected_at?: string | null;
|
|
15657
16355
|
created_at?: string;
|
|
16356
|
+
disconnected_at?: string | null;
|
|
15658
16357
|
environment?: string;
|
|
15659
16358
|
id?: string;
|
|
16359
|
+
initial_sync_completed_at?: string | null;
|
|
16360
|
+
initial_sync_started_at?: string | null;
|
|
15660
16361
|
is_active?: boolean;
|
|
15661
16362
|
label?: string | null;
|
|
15662
16363
|
office_code?: string | null;
|
|
15663
16364
|
redirect_uri?: string | null;
|
|
16365
|
+
superseded_at?: string | null;
|
|
15664
16366
|
updated_at?: string;
|
|
15665
16367
|
user_id?: string;
|
|
15666
16368
|
};
|
|
@@ -15720,6 +16422,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
15720
16422
|
twinfield_customers: {
|
|
15721
16423
|
Row: {
|
|
15722
16424
|
address: string | null;
|
|
16425
|
+
administration_code: string;
|
|
15723
16426
|
city: string | null;
|
|
15724
16427
|
country: string | null;
|
|
15725
16428
|
created_at: string;
|
|
@@ -15739,6 +16442,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
15739
16442
|
};
|
|
15740
16443
|
Insert: {
|
|
15741
16444
|
address?: string | null;
|
|
16445
|
+
administration_code?: string;
|
|
15742
16446
|
city?: string | null;
|
|
15743
16447
|
country?: string | null;
|
|
15744
16448
|
created_at?: string;
|
|
@@ -15758,6 +16462,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
15758
16462
|
};
|
|
15759
16463
|
Update: {
|
|
15760
16464
|
address?: string | null;
|
|
16465
|
+
administration_code?: string;
|
|
15761
16466
|
city?: string | null;
|
|
15762
16467
|
country?: string | null;
|
|
15763
16468
|
created_at?: string;
|
|
@@ -15971,7 +16676,9 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
15971
16676
|
};
|
|
15972
16677
|
twinfield_invoice_settings: {
|
|
15973
16678
|
Row: {
|
|
16679
|
+
administration_code: string | null;
|
|
15974
16680
|
auto_invoice_enabled: boolean;
|
|
16681
|
+
auto_invoice_start_date: string | null;
|
|
15975
16682
|
auto_invoice_trigger_statuses: string[];
|
|
15976
16683
|
created_at: string;
|
|
15977
16684
|
debtor_gl_account: string;
|
|
@@ -15985,15 +16692,19 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
15985
16692
|
invoice_enabled_fo: boolean;
|
|
15986
16693
|
invoice_enabled_ho: boolean;
|
|
15987
16694
|
invoice_enabled_mo: boolean;
|
|
16695
|
+
needs_review: boolean;
|
|
15988
16696
|
payment_gl_account: string;
|
|
15989
16697
|
payment_journal_code: string;
|
|
16698
|
+
settings_confirmed_at: string | null;
|
|
15990
16699
|
updated_at: string;
|
|
15991
16700
|
user_id: string;
|
|
15992
16701
|
vat_code_eu_reverse: string | null;
|
|
15993
16702
|
vat_code_export: string | null;
|
|
15994
16703
|
};
|
|
15995
16704
|
Insert: {
|
|
16705
|
+
administration_code?: string | null;
|
|
15996
16706
|
auto_invoice_enabled?: boolean;
|
|
16707
|
+
auto_invoice_start_date?: string | null;
|
|
15997
16708
|
auto_invoice_trigger_statuses?: string[];
|
|
15998
16709
|
created_at?: string;
|
|
15999
16710
|
debtor_gl_account?: string;
|
|
@@ -16007,15 +16718,19 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
16007
16718
|
invoice_enabled_fo?: boolean;
|
|
16008
16719
|
invoice_enabled_ho?: boolean;
|
|
16009
16720
|
invoice_enabled_mo?: boolean;
|
|
16721
|
+
needs_review?: boolean;
|
|
16010
16722
|
payment_gl_account?: string;
|
|
16011
16723
|
payment_journal_code?: string;
|
|
16724
|
+
settings_confirmed_at?: string | null;
|
|
16012
16725
|
updated_at?: string;
|
|
16013
16726
|
user_id: string;
|
|
16014
16727
|
vat_code_eu_reverse?: string | null;
|
|
16015
16728
|
vat_code_export?: string | null;
|
|
16016
16729
|
};
|
|
16017
16730
|
Update: {
|
|
16731
|
+
administration_code?: string | null;
|
|
16018
16732
|
auto_invoice_enabled?: boolean;
|
|
16733
|
+
auto_invoice_start_date?: string | null;
|
|
16019
16734
|
auto_invoice_trigger_statuses?: string[];
|
|
16020
16735
|
created_at?: string;
|
|
16021
16736
|
debtor_gl_account?: string;
|
|
@@ -16029,8 +16744,10 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
16029
16744
|
invoice_enabled_fo?: boolean;
|
|
16030
16745
|
invoice_enabled_ho?: boolean;
|
|
16031
16746
|
invoice_enabled_mo?: boolean;
|
|
16747
|
+
needs_review?: boolean;
|
|
16032
16748
|
payment_gl_account?: string;
|
|
16033
16749
|
payment_journal_code?: string;
|
|
16750
|
+
settings_confirmed_at?: string | null;
|
|
16034
16751
|
updated_at?: string;
|
|
16035
16752
|
user_id?: string;
|
|
16036
16753
|
vat_code_eu_reverse?: string | null;
|
|
@@ -16618,130 +17335,22 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
16618
17335
|
created_by?: string | null;
|
|
16619
17336
|
file_name?: string | null;
|
|
16620
17337
|
id?: string;
|
|
16621
|
-
monteur_ids?: string[];
|
|
16622
|
-
period_end: string;
|
|
16623
|
-
period_start: string;
|
|
16624
|
-
row_count?: number;
|
|
16625
|
-
};
|
|
16626
|
-
Update: {
|
|
16627
|
-
created_at?: string;
|
|
16628
|
-
created_by?: string | null;
|
|
16629
|
-
file_name?: string | null;
|
|
16630
|
-
id?: string;
|
|
16631
|
-
monteur_ids?: string[];
|
|
16632
|
-
period_end?: string;
|
|
16633
|
-
period_start?: string;
|
|
16634
|
-
row_count?: number;
|
|
16635
|
-
};
|
|
16636
|
-
Relationships: [];
|
|
16637
|
-
};
|
|
16638
|
-
uren_facturen: {
|
|
16639
|
-
Row: {
|
|
16640
|
-
created_at: string;
|
|
16641
|
-
created_by: string | null;
|
|
16642
|
-
customer_id: string | null;
|
|
16643
|
-
customer_name: string | null;
|
|
16644
|
-
id: string;
|
|
16645
|
-
invoice_number: string | null;
|
|
16646
|
-
note: string | null;
|
|
16647
|
-
status: string;
|
|
16648
|
-
total_excl_cents: number;
|
|
16649
|
-
total_incl_cents: number;
|
|
16650
|
-
updated_at: string;
|
|
16651
|
-
vat_cents: number;
|
|
16652
|
-
vat_percentage: number;
|
|
16653
|
-
werkbon_id: string | null;
|
|
16654
|
-
};
|
|
16655
|
-
Insert: {
|
|
16656
|
-
created_at?: string;
|
|
16657
|
-
created_by?: string | null;
|
|
16658
|
-
customer_id?: string | null;
|
|
16659
|
-
customer_name?: string | null;
|
|
16660
|
-
id?: string;
|
|
16661
|
-
invoice_number?: string | null;
|
|
16662
|
-
note?: string | null;
|
|
16663
|
-
status?: string;
|
|
16664
|
-
total_excl_cents?: number;
|
|
16665
|
-
total_incl_cents?: number;
|
|
16666
|
-
updated_at?: string;
|
|
16667
|
-
vat_cents?: number;
|
|
16668
|
-
vat_percentage?: number;
|
|
16669
|
-
werkbon_id?: string | null;
|
|
16670
|
-
};
|
|
16671
|
-
Update: {
|
|
16672
|
-
created_at?: string;
|
|
16673
|
-
created_by?: string | null;
|
|
16674
|
-
customer_id?: string | null;
|
|
16675
|
-
customer_name?: string | null;
|
|
16676
|
-
id?: string;
|
|
16677
|
-
invoice_number?: string | null;
|
|
16678
|
-
note?: string | null;
|
|
16679
|
-
status?: string;
|
|
16680
|
-
total_excl_cents?: number;
|
|
16681
|
-
total_incl_cents?: number;
|
|
16682
|
-
updated_at?: string;
|
|
16683
|
-
vat_cents?: number;
|
|
16684
|
-
vat_percentage?: number;
|
|
16685
|
-
werkbon_id?: string | null;
|
|
16686
|
-
};
|
|
16687
|
-
Relationships: [{
|
|
16688
|
-
foreignKeyName: "uren_facturen_customer_id_fkey";
|
|
16689
|
-
columns: ["customer_id"];
|
|
16690
|
-
isOneToOne: false;
|
|
16691
|
-
referencedRelation: "itk_customers";
|
|
16692
|
-
referencedColumns: ["id"];
|
|
16693
|
-
}, {
|
|
16694
|
-
foreignKeyName: "uren_facturen_werkbon_id_fkey";
|
|
16695
|
-
columns: ["werkbon_id"];
|
|
16696
|
-
isOneToOne: true;
|
|
16697
|
-
referencedRelation: "werkbonnen";
|
|
16698
|
-
referencedColumns: ["id"];
|
|
16699
|
-
}];
|
|
16700
|
-
};
|
|
16701
|
-
uren_factuur_regels: {
|
|
16702
|
-
Row: {
|
|
16703
|
-
created_at: string;
|
|
16704
|
-
description: string;
|
|
16705
|
-
factuur_id: string;
|
|
16706
|
-
id: string;
|
|
16707
|
-
kind: string | null;
|
|
16708
|
-
quantity: number;
|
|
16709
|
-
sort_order: number;
|
|
16710
|
-
total_cents: number;
|
|
16711
|
-
unit: string;
|
|
16712
|
-
unit_price_cents: number;
|
|
16713
|
-
};
|
|
16714
|
-
Insert: {
|
|
16715
|
-
created_at?: string;
|
|
16716
|
-
description: string;
|
|
16717
|
-
factuur_id: string;
|
|
16718
|
-
id?: string;
|
|
16719
|
-
kind?: string | null;
|
|
16720
|
-
quantity?: number;
|
|
16721
|
-
sort_order?: number;
|
|
16722
|
-
total_cents?: number;
|
|
16723
|
-
unit?: string;
|
|
16724
|
-
unit_price_cents?: number;
|
|
17338
|
+
monteur_ids?: string[];
|
|
17339
|
+
period_end: string;
|
|
17340
|
+
period_start: string;
|
|
17341
|
+
row_count?: number;
|
|
16725
17342
|
};
|
|
16726
17343
|
Update: {
|
|
16727
17344
|
created_at?: string;
|
|
16728
|
-
|
|
16729
|
-
|
|
17345
|
+
created_by?: string | null;
|
|
17346
|
+
file_name?: string | null;
|
|
16730
17347
|
id?: string;
|
|
16731
|
-
|
|
16732
|
-
|
|
16733
|
-
|
|
16734
|
-
|
|
16735
|
-
unit?: string;
|
|
16736
|
-
unit_price_cents?: number;
|
|
17348
|
+
monteur_ids?: string[];
|
|
17349
|
+
period_end?: string;
|
|
17350
|
+
period_start?: string;
|
|
17351
|
+
row_count?: number;
|
|
16737
17352
|
};
|
|
16738
|
-
Relationships: [
|
|
16739
|
-
foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
|
|
16740
|
-
columns: ["factuur_id"];
|
|
16741
|
-
isOneToOne: false;
|
|
16742
|
-
referencedRelation: "uren_facturen";
|
|
16743
|
-
referencedColumns: ["id"];
|
|
16744
|
-
}];
|
|
17353
|
+
Relationships: [];
|
|
16745
17354
|
};
|
|
16746
17355
|
uren_offerte_regels: {
|
|
16747
17356
|
Row: {
|
|
@@ -17996,6 +18605,9 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
17996
18605
|
scheduled_end_time: string | null;
|
|
17997
18606
|
scheduled_start_time: string | null;
|
|
17998
18607
|
sequence_number: number;
|
|
18608
|
+
signature_accepted_at: string | null;
|
|
18609
|
+
signature_by_user_id: string | null;
|
|
18610
|
+
signature_name: string | null;
|
|
17999
18611
|
source_email_meta: import("../integrations/supabase/types").Json | null;
|
|
18000
18612
|
source_mailbox_message_id: string | null;
|
|
18001
18613
|
source_pdf_path: string | null;
|
|
@@ -18031,6 +18643,9 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
18031
18643
|
scheduled_end_time?: string | null;
|
|
18032
18644
|
scheduled_start_time?: string | null;
|
|
18033
18645
|
sequence_number: number;
|
|
18646
|
+
signature_accepted_at?: string | null;
|
|
18647
|
+
signature_by_user_id?: string | null;
|
|
18648
|
+
signature_name?: string | null;
|
|
18034
18649
|
source_email_meta?: import("../integrations/supabase/types").Json | null;
|
|
18035
18650
|
source_mailbox_message_id?: string | null;
|
|
18036
18651
|
source_pdf_path?: string | null;
|
|
@@ -18066,6 +18681,9 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
18066
18681
|
scheduled_end_time?: string | null;
|
|
18067
18682
|
scheduled_start_time?: string | null;
|
|
18068
18683
|
sequence_number?: number;
|
|
18684
|
+
signature_accepted_at?: string | null;
|
|
18685
|
+
signature_by_user_id?: string | null;
|
|
18686
|
+
signature_name?: string | null;
|
|
18069
18687
|
source_email_meta?: import("../integrations/supabase/types").Json | null;
|
|
18070
18688
|
source_mailbox_message_id?: string | null;
|
|
18071
18689
|
source_pdf_path?: string | null;
|
|
@@ -18582,6 +19200,114 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
18582
19200
|
};
|
|
18583
19201
|
Relationships: [];
|
|
18584
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
|
+
};
|
|
18585
19311
|
v_external_customers_exact: {
|
|
18586
19312
|
Row: {
|
|
18587
19313
|
account_number: string | null;
|
|
@@ -19087,6 +19813,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
19087
19813
|
gebruiker_id: string | null;
|
|
19088
19814
|
gebruiker_naam: string;
|
|
19089
19815
|
gestart_op: string | null;
|
|
19816
|
+
herkomst: string | null;
|
|
19090
19817
|
id: string;
|
|
19091
19818
|
idempotentie_sleutel: string | null;
|
|
19092
19819
|
is_herprint: boolean;
|
|
@@ -19207,6 +19934,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
19207
19934
|
gebruiker_id: string | null;
|
|
19208
19935
|
gebruiker_naam: string;
|
|
19209
19936
|
gestart_op: string | null;
|
|
19937
|
+
herkomst: string | null;
|
|
19210
19938
|
id: string;
|
|
19211
19939
|
idempotentie_sleutel: string | null;
|
|
19212
19940
|
is_herprint: boolean;
|
|
@@ -19477,6 +20205,13 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
19477
20205
|
};
|
|
19478
20206
|
Returns: string;
|
|
19479
20207
|
};
|
|
20208
|
+
employee_day_hours: {
|
|
20209
|
+
Args: {
|
|
20210
|
+
_day: string;
|
|
20211
|
+
_employee_id: string;
|
|
20212
|
+
};
|
|
20213
|
+
Returns: number;
|
|
20214
|
+
};
|
|
19480
20215
|
enqueue_cart_replan_if_unlocked: {
|
|
19481
20216
|
Args: {
|
|
19482
20217
|
p_order_id: string;
|
|
@@ -19801,6 +20536,46 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
19801
20536
|
Args: never;
|
|
19802
20537
|
Returns: boolean;
|
|
19803
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
|
+
};
|
|
19804
20579
|
is_authenticated: {
|
|
19805
20580
|
Args: never;
|
|
19806
20581
|
Returns: boolean;
|
|
@@ -19830,6 +20605,19 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
19830
20605
|
Args: never;
|
|
19831
20606
|
Returns: boolean;
|
|
19832
20607
|
};
|
|
20608
|
+
itk_offerte_naar_werkbon: {
|
|
20609
|
+
Args: {
|
|
20610
|
+
_offerte_id: string;
|
|
20611
|
+
};
|
|
20612
|
+
Returns: string;
|
|
20613
|
+
};
|
|
20614
|
+
itk_offerte_restant_mandaat: {
|
|
20615
|
+
Args: {
|
|
20616
|
+
_exclude_offerte_id?: string;
|
|
20617
|
+
_werkbon_id: string;
|
|
20618
|
+
};
|
|
20619
|
+
Returns: number;
|
|
20620
|
+
};
|
|
19833
20621
|
jwt_has_role: {
|
|
19834
20622
|
Args: {
|
|
19835
20623
|
_role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
@@ -19840,12 +20628,45 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
19840
20628
|
Args: never;
|
|
19841
20629
|
Returns: {
|
|
19842
20630
|
avatar_url: string;
|
|
20631
|
+
color: string;
|
|
19843
20632
|
display_name: string;
|
|
19844
20633
|
email: string;
|
|
20634
|
+
hours_fri: number;
|
|
20635
|
+
hours_mon: number;
|
|
20636
|
+
hours_thu: number;
|
|
20637
|
+
hours_tue: number;
|
|
20638
|
+
hours_wed: number;
|
|
19845
20639
|
id: string;
|
|
20640
|
+
is_active: boolean;
|
|
20641
|
+
leave_balance_hours: number;
|
|
20642
|
+
persnr: string;
|
|
20643
|
+
phone: string;
|
|
19846
20644
|
roles: string[];
|
|
19847
20645
|
}[];
|
|
19848
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
|
+
};
|
|
19849
20670
|
list_my_planning_items: {
|
|
19850
20671
|
Args: {
|
|
19851
20672
|
_from: string;
|
|
@@ -20257,6 +21078,23 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
20257
21078
|
};
|
|
20258
21079
|
Returns: string;
|
|
20259
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
|
+
};
|
|
20260
21098
|
logistics_floriday_prune_pushes: {
|
|
20261
21099
|
Args: {
|
|
20262
21100
|
_days?: number;
|
|
@@ -20799,6 +21637,13 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
20799
21637
|
isSetofReturn: false;
|
|
20800
21638
|
};
|
|
20801
21639
|
};
|
|
21640
|
+
pick_cleanup_maintenance: {
|
|
21641
|
+
Args: {
|
|
21642
|
+
_heartbeat_hours?: number;
|
|
21643
|
+
_log_days?: number;
|
|
21644
|
+
};
|
|
21645
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21646
|
+
};
|
|
20802
21647
|
pick_complete_print: {
|
|
20803
21648
|
Args: {
|
|
20804
21649
|
_printer_id: string;
|
|
@@ -20850,6 +21695,14 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
20850
21695
|
Args: never;
|
|
20851
21696
|
Returns: string;
|
|
20852
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
|
+
};
|
|
20853
21706
|
pick_document_layout_data: {
|
|
20854
21707
|
Args: {
|
|
20855
21708
|
_layout_id: string;
|
|
@@ -20887,6 +21740,14 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
20887
21740
|
};
|
|
20888
21741
|
Returns: undefined;
|
|
20889
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
|
+
};
|
|
20890
21751
|
pick_reset_print: {
|
|
20891
21752
|
Args: {
|
|
20892
21753
|
_queue_item_id: string;
|
|
@@ -20952,6 +21813,12 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
20952
21813
|
};
|
|
20953
21814
|
Returns: string;
|
|
20954
21815
|
};
|
|
21816
|
+
pick_sync_queue_throttled: {
|
|
21817
|
+
Args: {
|
|
21818
|
+
_min_seconds?: number;
|
|
21819
|
+
};
|
|
21820
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21821
|
+
};
|
|
20955
21822
|
pickstation_get_orders_raw: {
|
|
20956
21823
|
Args: never;
|
|
20957
21824
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -21013,6 +21880,37 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
21013
21880
|
};
|
|
21014
21881
|
Returns: undefined;
|
|
21015
21882
|
};
|
|
21883
|
+
quote_create_from_source: {
|
|
21884
|
+
Args: {
|
|
21885
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
21886
|
+
_source_id: string;
|
|
21887
|
+
_source_type: string;
|
|
21888
|
+
};
|
|
21889
|
+
Returns: string;
|
|
21890
|
+
};
|
|
21891
|
+
quote_get_billable_lines: {
|
|
21892
|
+
Args: {
|
|
21893
|
+
_quotation_id: string;
|
|
21894
|
+
};
|
|
21895
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21896
|
+
};
|
|
21897
|
+
quote_get_summary: {
|
|
21898
|
+
Args: {
|
|
21899
|
+
_quotation_id: string;
|
|
21900
|
+
};
|
|
21901
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21902
|
+
};
|
|
21903
|
+
quote_list_packages: {
|
|
21904
|
+
Args: never;
|
|
21905
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21906
|
+
};
|
|
21907
|
+
quote_list_sources: {
|
|
21908
|
+
Args: {
|
|
21909
|
+
_limit?: number;
|
|
21910
|
+
_source_type?: string;
|
|
21911
|
+
};
|
|
21912
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21913
|
+
};
|
|
21016
21914
|
recompute_all_reserved_stock: {
|
|
21017
21915
|
Args: never;
|
|
21018
21916
|
Returns: undefined;
|
|
@@ -21066,6 +21964,12 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
21066
21964
|
};
|
|
21067
21965
|
Returns: boolean;
|
|
21068
21966
|
};
|
|
21967
|
+
release_stale_order_invoice_links: {
|
|
21968
|
+
Args: {
|
|
21969
|
+
_minutes?: number;
|
|
21970
|
+
};
|
|
21971
|
+
Returns: number;
|
|
21972
|
+
};
|
|
21069
21973
|
reorder_customer_price_groups: {
|
|
21070
21974
|
Args: {
|
|
21071
21975
|
_ids: string[];
|
|
@@ -21548,6 +22452,12 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
21548
22452
|
};
|
|
21549
22453
|
Returns: undefined;
|
|
21550
22454
|
};
|
|
22455
|
+
sync_sick_time_off: {
|
|
22456
|
+
Args: {
|
|
22457
|
+
_period_id: string;
|
|
22458
|
+
};
|
|
22459
|
+
Returns: number;
|
|
22460
|
+
};
|
|
21551
22461
|
trade_item_stock_duplicates: {
|
|
21552
22462
|
Args: never;
|
|
21553
22463
|
Returns: {
|
|
@@ -21578,6 +22488,20 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
21578
22488
|
};
|
|
21579
22489
|
Returns: undefined;
|
|
21580
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
|
+
};
|
|
21581
22505
|
twinfield_prune_push_queue: {
|
|
21582
22506
|
Args: never;
|
|
21583
22507
|
Returns: number;
|
|
@@ -21597,10 +22521,11 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
21597
22521
|
p_company_name?: string;
|
|
21598
22522
|
p_environment: string;
|
|
21599
22523
|
p_office_code?: string;
|
|
22524
|
+
p_reset_sync?: boolean;
|
|
21600
22525
|
p_status?: string;
|
|
21601
22526
|
p_user_id: string;
|
|
21602
22527
|
};
|
|
21603
|
-
Returns:
|
|
22528
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21604
22529
|
};
|
|
21605
22530
|
upsert_auto_fulfillment_log: {
|
|
21606
22531
|
Args: {
|
|
@@ -21621,6 +22546,26 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
21621
22546
|
Args: never;
|
|
21622
22547
|
Returns: string;
|
|
21623
22548
|
};
|
|
22549
|
+
wo_create_from_source: {
|
|
22550
|
+
Args: {
|
|
22551
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
22552
|
+
_source_id: string;
|
|
22553
|
+
_source_type: string;
|
|
22554
|
+
};
|
|
22555
|
+
Returns: string;
|
|
22556
|
+
};
|
|
22557
|
+
wo_get_billable_lines: {
|
|
22558
|
+
Args: {
|
|
22559
|
+
_work_order_id: string;
|
|
22560
|
+
};
|
|
22561
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22562
|
+
};
|
|
22563
|
+
wo_get_summary: {
|
|
22564
|
+
Args: {
|
|
22565
|
+
_work_order_id: string;
|
|
22566
|
+
};
|
|
22567
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22568
|
+
};
|
|
21624
22569
|
};
|
|
21625
22570
|
Enums: {
|
|
21626
22571
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|