@flowselections/logistiek-engine 1.0.11 → 1.0.12
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 +1125 -189
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1125 -189
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +1125 -189
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1152 -185
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.functions.d.ts +3135 -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 +1125 -189
- package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
- package/dist-lib/lib/floridayPush.server.d.ts.map +1 -1
- package/dist-lib/lib/floridayPush.server.js +48 -6
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +5225 -545
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +2090 -218
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts +1125 -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: {
|
|
@@ -18582,6 +19191,114 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
18582
19191
|
};
|
|
18583
19192
|
Relationships: [];
|
|
18584
19193
|
};
|
|
19194
|
+
uren_facturen: {
|
|
19195
|
+
Row: {
|
|
19196
|
+
created_at: string | null;
|
|
19197
|
+
created_by: string | null;
|
|
19198
|
+
customer_id: string | null;
|
|
19199
|
+
customer_name: string | null;
|
|
19200
|
+
id: string | null;
|
|
19201
|
+
invoice_number: string | null;
|
|
19202
|
+
note: string | null;
|
|
19203
|
+
status: string | null;
|
|
19204
|
+
total_excl_cents: number | null;
|
|
19205
|
+
total_incl_cents: number | null;
|
|
19206
|
+
updated_at: string | null;
|
|
19207
|
+
vat_cents: number | null;
|
|
19208
|
+
vat_percentage: number | null;
|
|
19209
|
+
werkbon_id: string | null;
|
|
19210
|
+
};
|
|
19211
|
+
Insert: {
|
|
19212
|
+
created_at?: string | null;
|
|
19213
|
+
created_by?: string | null;
|
|
19214
|
+
customer_id?: string | null;
|
|
19215
|
+
customer_name?: string | null;
|
|
19216
|
+
id?: string | null;
|
|
19217
|
+
invoice_number?: string | null;
|
|
19218
|
+
note?: string | null;
|
|
19219
|
+
status?: string | null;
|
|
19220
|
+
total_excl_cents?: number | null;
|
|
19221
|
+
total_incl_cents?: number | null;
|
|
19222
|
+
updated_at?: string | null;
|
|
19223
|
+
vat_cents?: number | null;
|
|
19224
|
+
vat_percentage?: number | null;
|
|
19225
|
+
werkbon_id?: never;
|
|
19226
|
+
};
|
|
19227
|
+
Update: {
|
|
19228
|
+
created_at?: string | null;
|
|
19229
|
+
created_by?: string | null;
|
|
19230
|
+
customer_id?: string | null;
|
|
19231
|
+
customer_name?: string | null;
|
|
19232
|
+
id?: string | null;
|
|
19233
|
+
invoice_number?: string | null;
|
|
19234
|
+
note?: string | null;
|
|
19235
|
+
status?: string | null;
|
|
19236
|
+
total_excl_cents?: number | null;
|
|
19237
|
+
total_incl_cents?: number | null;
|
|
19238
|
+
updated_at?: string | null;
|
|
19239
|
+
vat_cents?: number | null;
|
|
19240
|
+
vat_percentage?: number | null;
|
|
19241
|
+
werkbon_id?: never;
|
|
19242
|
+
};
|
|
19243
|
+
Relationships: [{
|
|
19244
|
+
foreignKeyName: "invoices_customer_id_fkey";
|
|
19245
|
+
columns: ["customer_id"];
|
|
19246
|
+
isOneToOne: false;
|
|
19247
|
+
referencedRelation: "itk_customers";
|
|
19248
|
+
referencedColumns: ["id"];
|
|
19249
|
+
}];
|
|
19250
|
+
};
|
|
19251
|
+
uren_factuur_regels: {
|
|
19252
|
+
Row: {
|
|
19253
|
+
created_at: string | null;
|
|
19254
|
+
description: string | null;
|
|
19255
|
+
factuur_id: string | null;
|
|
19256
|
+
id: string | null;
|
|
19257
|
+
kind: string | null;
|
|
19258
|
+
quantity: number | null;
|
|
19259
|
+
sort_order: number | null;
|
|
19260
|
+
total_cents: number | null;
|
|
19261
|
+
unit: string | null;
|
|
19262
|
+
unit_price_cents: number | null;
|
|
19263
|
+
};
|
|
19264
|
+
Insert: {
|
|
19265
|
+
created_at?: string | null;
|
|
19266
|
+
description?: string | null;
|
|
19267
|
+
factuur_id?: string | null;
|
|
19268
|
+
id?: string | null;
|
|
19269
|
+
kind?: string | null;
|
|
19270
|
+
quantity?: number | null;
|
|
19271
|
+
sort_order?: number | null;
|
|
19272
|
+
total_cents?: number | null;
|
|
19273
|
+
unit?: string | null;
|
|
19274
|
+
unit_price_cents?: number | null;
|
|
19275
|
+
};
|
|
19276
|
+
Update: {
|
|
19277
|
+
created_at?: string | null;
|
|
19278
|
+
description?: string | null;
|
|
19279
|
+
factuur_id?: string | null;
|
|
19280
|
+
id?: string | null;
|
|
19281
|
+
kind?: string | null;
|
|
19282
|
+
quantity?: number | null;
|
|
19283
|
+
sort_order?: number | null;
|
|
19284
|
+
total_cents?: number | null;
|
|
19285
|
+
unit?: string | null;
|
|
19286
|
+
unit_price_cents?: number | null;
|
|
19287
|
+
};
|
|
19288
|
+
Relationships: [{
|
|
19289
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
19290
|
+
columns: ["factuur_id"];
|
|
19291
|
+
isOneToOne: false;
|
|
19292
|
+
referencedRelation: "invoices";
|
|
19293
|
+
referencedColumns: ["id"];
|
|
19294
|
+
}, {
|
|
19295
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
19296
|
+
columns: ["factuur_id"];
|
|
19297
|
+
isOneToOne: false;
|
|
19298
|
+
referencedRelation: "uren_facturen";
|
|
19299
|
+
referencedColumns: ["id"];
|
|
19300
|
+
}];
|
|
19301
|
+
};
|
|
18585
19302
|
v_external_customers_exact: {
|
|
18586
19303
|
Row: {
|
|
18587
19304
|
account_number: string | null;
|
|
@@ -19087,6 +19804,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
19087
19804
|
gebruiker_id: string | null;
|
|
19088
19805
|
gebruiker_naam: string;
|
|
19089
19806
|
gestart_op: string | null;
|
|
19807
|
+
herkomst: string | null;
|
|
19090
19808
|
id: string;
|
|
19091
19809
|
idempotentie_sleutel: string | null;
|
|
19092
19810
|
is_herprint: boolean;
|
|
@@ -19207,6 +19925,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
19207
19925
|
gebruiker_id: string | null;
|
|
19208
19926
|
gebruiker_naam: string;
|
|
19209
19927
|
gestart_op: string | null;
|
|
19928
|
+
herkomst: string | null;
|
|
19210
19929
|
id: string;
|
|
19211
19930
|
idempotentie_sleutel: string | null;
|
|
19212
19931
|
is_herprint: boolean;
|
|
@@ -19477,6 +20196,13 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
19477
20196
|
};
|
|
19478
20197
|
Returns: string;
|
|
19479
20198
|
};
|
|
20199
|
+
employee_day_hours: {
|
|
20200
|
+
Args: {
|
|
20201
|
+
_day: string;
|
|
20202
|
+
_employee_id: string;
|
|
20203
|
+
};
|
|
20204
|
+
Returns: number;
|
|
20205
|
+
};
|
|
19480
20206
|
enqueue_cart_replan_if_unlocked: {
|
|
19481
20207
|
Args: {
|
|
19482
20208
|
p_order_id: string;
|
|
@@ -19801,6 +20527,46 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
19801
20527
|
Args: never;
|
|
19802
20528
|
Returns: boolean;
|
|
19803
20529
|
};
|
|
20530
|
+
invoice_create_from_source: {
|
|
20531
|
+
Args: {
|
|
20532
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
20533
|
+
_source_id: string;
|
|
20534
|
+
_source_type: string;
|
|
20535
|
+
};
|
|
20536
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
20537
|
+
};
|
|
20538
|
+
invoice_get_billable_lines: {
|
|
20539
|
+
Args: {
|
|
20540
|
+
_invoice_id: string;
|
|
20541
|
+
};
|
|
20542
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
20543
|
+
};
|
|
20544
|
+
invoice_get_for_source: {
|
|
20545
|
+
Args: {
|
|
20546
|
+
_source_id: string;
|
|
20547
|
+
_source_type: string;
|
|
20548
|
+
};
|
|
20549
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
20550
|
+
};
|
|
20551
|
+
invoice_get_summary: {
|
|
20552
|
+
Args: {
|
|
20553
|
+
_invoice_id: string;
|
|
20554
|
+
};
|
|
20555
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
20556
|
+
};
|
|
20557
|
+
invoice_list_sources: {
|
|
20558
|
+
Args: {
|
|
20559
|
+
_limit?: number;
|
|
20560
|
+
_source_type?: string;
|
|
20561
|
+
};
|
|
20562
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
20563
|
+
};
|
|
20564
|
+
invoice_recalc_totals: {
|
|
20565
|
+
Args: {
|
|
20566
|
+
_invoice_id: string;
|
|
20567
|
+
};
|
|
20568
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
20569
|
+
};
|
|
19804
20570
|
is_authenticated: {
|
|
19805
20571
|
Args: never;
|
|
19806
20572
|
Returns: boolean;
|
|
@@ -19830,6 +20596,19 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
19830
20596
|
Args: never;
|
|
19831
20597
|
Returns: boolean;
|
|
19832
20598
|
};
|
|
20599
|
+
itk_offerte_naar_werkbon: {
|
|
20600
|
+
Args: {
|
|
20601
|
+
_offerte_id: string;
|
|
20602
|
+
};
|
|
20603
|
+
Returns: string;
|
|
20604
|
+
};
|
|
20605
|
+
itk_offerte_restant_mandaat: {
|
|
20606
|
+
Args: {
|
|
20607
|
+
_exclude_offerte_id?: string;
|
|
20608
|
+
_werkbon_id: string;
|
|
20609
|
+
};
|
|
20610
|
+
Returns: number;
|
|
20611
|
+
};
|
|
19833
20612
|
jwt_has_role: {
|
|
19834
20613
|
Args: {
|
|
19835
20614
|
_role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
@@ -19840,12 +20619,45 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
19840
20619
|
Args: never;
|
|
19841
20620
|
Returns: {
|
|
19842
20621
|
avatar_url: string;
|
|
20622
|
+
color: string;
|
|
19843
20623
|
display_name: string;
|
|
19844
20624
|
email: string;
|
|
20625
|
+
hours_fri: number;
|
|
20626
|
+
hours_mon: number;
|
|
20627
|
+
hours_thu: number;
|
|
20628
|
+
hours_tue: number;
|
|
20629
|
+
hours_wed: number;
|
|
19845
20630
|
id: string;
|
|
20631
|
+
is_active: boolean;
|
|
20632
|
+
leave_balance_hours: number;
|
|
20633
|
+
persnr: string;
|
|
20634
|
+
phone: string;
|
|
19846
20635
|
roles: string[];
|
|
19847
20636
|
}[];
|
|
19848
20637
|
};
|
|
20638
|
+
list_monteur_absences: {
|
|
20639
|
+
Args: {
|
|
20640
|
+
_from: string;
|
|
20641
|
+
_to: string;
|
|
20642
|
+
};
|
|
20643
|
+
Returns: {
|
|
20644
|
+
absence_date: string;
|
|
20645
|
+
end_time: string;
|
|
20646
|
+
full_day: boolean;
|
|
20647
|
+
kind: string;
|
|
20648
|
+
monteur_id: string;
|
|
20649
|
+
start_time: string;
|
|
20650
|
+
}[];
|
|
20651
|
+
};
|
|
20652
|
+
list_monteurs: {
|
|
20653
|
+
Args: never;
|
|
20654
|
+
Returns: {
|
|
20655
|
+
avatar_url: string;
|
|
20656
|
+
display_name: string;
|
|
20657
|
+
email: string;
|
|
20658
|
+
id: string;
|
|
20659
|
+
}[];
|
|
20660
|
+
};
|
|
19849
20661
|
list_my_planning_items: {
|
|
19850
20662
|
Args: {
|
|
19851
20663
|
_from: string;
|
|
@@ -20257,6 +21069,23 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
20257
21069
|
};
|
|
20258
21070
|
Returns: string;
|
|
20259
21071
|
};
|
|
21072
|
+
logistics_floriday_finish_push_v2: {
|
|
21073
|
+
Args: {
|
|
21074
|
+
_error?: string;
|
|
21075
|
+
_error_code?: string;
|
|
21076
|
+
_fulfillment_order_id?: string;
|
|
21077
|
+
_gateway_status?: number;
|
|
21078
|
+
_id: string;
|
|
21079
|
+
_max_age_hours?: number;
|
|
21080
|
+
_max_attempts?: number;
|
|
21081
|
+
_ok: boolean;
|
|
21082
|
+
_permanent?: boolean;
|
|
21083
|
+
_response?: import("../integrations/supabase/types").Json;
|
|
21084
|
+
_revision: number;
|
|
21085
|
+
_sent_hash?: string;
|
|
21086
|
+
};
|
|
21087
|
+
Returns: string;
|
|
21088
|
+
};
|
|
20260
21089
|
logistics_floriday_prune_pushes: {
|
|
20261
21090
|
Args: {
|
|
20262
21091
|
_days?: number;
|
|
@@ -20799,6 +21628,13 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
20799
21628
|
isSetofReturn: false;
|
|
20800
21629
|
};
|
|
20801
21630
|
};
|
|
21631
|
+
pick_cleanup_maintenance: {
|
|
21632
|
+
Args: {
|
|
21633
|
+
_heartbeat_hours?: number;
|
|
21634
|
+
_log_days?: number;
|
|
21635
|
+
};
|
|
21636
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21637
|
+
};
|
|
20802
21638
|
pick_complete_print: {
|
|
20803
21639
|
Args: {
|
|
20804
21640
|
_printer_id: string;
|
|
@@ -20850,6 +21686,14 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
20850
21686
|
Args: never;
|
|
20851
21687
|
Returns: string;
|
|
20852
21688
|
};
|
|
21689
|
+
pick_day_counts: {
|
|
21690
|
+
Args: {
|
|
21691
|
+
_pick_day?: string;
|
|
21692
|
+
_screen_id?: string;
|
|
21693
|
+
_station_id?: string;
|
|
21694
|
+
};
|
|
21695
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21696
|
+
};
|
|
20853
21697
|
pick_document_layout_data: {
|
|
20854
21698
|
Args: {
|
|
20855
21699
|
_layout_id: string;
|
|
@@ -20887,6 +21731,14 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
20887
21731
|
};
|
|
20888
21732
|
Returns: undefined;
|
|
20889
21733
|
};
|
|
21734
|
+
pick_reprint_document: {
|
|
21735
|
+
Args: {
|
|
21736
|
+
_queue_item_id: string;
|
|
21737
|
+
_session_id: string;
|
|
21738
|
+
_throttle_seconds?: number;
|
|
21739
|
+
};
|
|
21740
|
+
Returns: string;
|
|
21741
|
+
};
|
|
20890
21742
|
pick_reset_print: {
|
|
20891
21743
|
Args: {
|
|
20892
21744
|
_queue_item_id: string;
|
|
@@ -20952,6 +21804,12 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
20952
21804
|
};
|
|
20953
21805
|
Returns: string;
|
|
20954
21806
|
};
|
|
21807
|
+
pick_sync_queue_throttled: {
|
|
21808
|
+
Args: {
|
|
21809
|
+
_min_seconds?: number;
|
|
21810
|
+
};
|
|
21811
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21812
|
+
};
|
|
20955
21813
|
pickstation_get_orders_raw: {
|
|
20956
21814
|
Args: never;
|
|
20957
21815
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -21013,6 +21871,37 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
21013
21871
|
};
|
|
21014
21872
|
Returns: undefined;
|
|
21015
21873
|
};
|
|
21874
|
+
quote_create_from_source: {
|
|
21875
|
+
Args: {
|
|
21876
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
21877
|
+
_source_id: string;
|
|
21878
|
+
_source_type: string;
|
|
21879
|
+
};
|
|
21880
|
+
Returns: string;
|
|
21881
|
+
};
|
|
21882
|
+
quote_get_billable_lines: {
|
|
21883
|
+
Args: {
|
|
21884
|
+
_quotation_id: string;
|
|
21885
|
+
};
|
|
21886
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21887
|
+
};
|
|
21888
|
+
quote_get_summary: {
|
|
21889
|
+
Args: {
|
|
21890
|
+
_quotation_id: string;
|
|
21891
|
+
};
|
|
21892
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21893
|
+
};
|
|
21894
|
+
quote_list_packages: {
|
|
21895
|
+
Args: never;
|
|
21896
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21897
|
+
};
|
|
21898
|
+
quote_list_sources: {
|
|
21899
|
+
Args: {
|
|
21900
|
+
_limit?: number;
|
|
21901
|
+
_source_type?: string;
|
|
21902
|
+
};
|
|
21903
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21904
|
+
};
|
|
21016
21905
|
recompute_all_reserved_stock: {
|
|
21017
21906
|
Args: never;
|
|
21018
21907
|
Returns: undefined;
|
|
@@ -21066,6 +21955,12 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
21066
21955
|
};
|
|
21067
21956
|
Returns: boolean;
|
|
21068
21957
|
};
|
|
21958
|
+
release_stale_order_invoice_links: {
|
|
21959
|
+
Args: {
|
|
21960
|
+
_minutes?: number;
|
|
21961
|
+
};
|
|
21962
|
+
Returns: number;
|
|
21963
|
+
};
|
|
21069
21964
|
reorder_customer_price_groups: {
|
|
21070
21965
|
Args: {
|
|
21071
21966
|
_ids: string[];
|
|
@@ -21548,6 +22443,12 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
21548
22443
|
};
|
|
21549
22444
|
Returns: undefined;
|
|
21550
22445
|
};
|
|
22446
|
+
sync_sick_time_off: {
|
|
22447
|
+
Args: {
|
|
22448
|
+
_period_id: string;
|
|
22449
|
+
};
|
|
22450
|
+
Returns: number;
|
|
22451
|
+
};
|
|
21551
22452
|
trade_item_stock_duplicates: {
|
|
21552
22453
|
Args: never;
|
|
21553
22454
|
Returns: {
|
|
@@ -21578,6 +22479,20 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
21578
22479
|
};
|
|
21579
22480
|
Returns: undefined;
|
|
21580
22481
|
};
|
|
22482
|
+
twinfield_deactivate_connection: {
|
|
22483
|
+
Args: {
|
|
22484
|
+
p_connection_id: string;
|
|
22485
|
+
p_user_id: string;
|
|
22486
|
+
};
|
|
22487
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22488
|
+
};
|
|
22489
|
+
twinfield_handle_administration_change: {
|
|
22490
|
+
Args: {
|
|
22491
|
+
_administration_code: string;
|
|
22492
|
+
_user_id: string;
|
|
22493
|
+
};
|
|
22494
|
+
Returns: undefined;
|
|
22495
|
+
};
|
|
21581
22496
|
twinfield_prune_push_queue: {
|
|
21582
22497
|
Args: never;
|
|
21583
22498
|
Returns: number;
|
|
@@ -21597,10 +22512,11 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
21597
22512
|
p_company_name?: string;
|
|
21598
22513
|
p_environment: string;
|
|
21599
22514
|
p_office_code?: string;
|
|
22515
|
+
p_reset_sync?: boolean;
|
|
21600
22516
|
p_status?: string;
|
|
21601
22517
|
p_user_id: string;
|
|
21602
22518
|
};
|
|
21603
|
-
Returns:
|
|
22519
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21604
22520
|
};
|
|
21605
22521
|
upsert_auto_fulfillment_log: {
|
|
21606
22522
|
Args: {
|
|
@@ -21621,6 +22537,26 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
21621
22537
|
Args: never;
|
|
21622
22538
|
Returns: string;
|
|
21623
22539
|
};
|
|
22540
|
+
wo_create_from_source: {
|
|
22541
|
+
Args: {
|
|
22542
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
22543
|
+
_source_id: string;
|
|
22544
|
+
_source_type: string;
|
|
22545
|
+
};
|
|
22546
|
+
Returns: string;
|
|
22547
|
+
};
|
|
22548
|
+
wo_get_billable_lines: {
|
|
22549
|
+
Args: {
|
|
22550
|
+
_work_order_id: string;
|
|
22551
|
+
};
|
|
22552
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22553
|
+
};
|
|
22554
|
+
wo_get_summary: {
|
|
22555
|
+
Args: {
|
|
22556
|
+
_work_order_id: string;
|
|
22557
|
+
};
|
|
22558
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22559
|
+
};
|
|
21624
22560
|
};
|
|
21625
22561
|
Enums: {
|
|
21626
22562
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|