@flowselections/floriday-afhandeling-module 1.0.34 → 1.0.36
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/components/afhandeling/NieuweVervoerderPage.d.ts +1 -0
- package/dist-lib/components/afhandeling/NieuweVervoerderPage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/NieuweVervoerderPage.js +1 -0
- package/dist-lib/components/afhandeling/VervoerderBewerkenPage.d.ts +9 -2
- package/dist-lib/components/afhandeling/VervoerderBewerkenPage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/VervoerderBewerkenPage.js +29 -2
- package/dist-lib/components/afhandeling/VervoerdersPage.d.ts +3 -1
- package/dist-lib/components/afhandeling/VervoerdersPage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/VervoerdersPage.js +4 -6
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +847 -150
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +847 -150
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +847 -150
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +874 -150
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +1610 -216
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/carriers.functions.d.ts +4025 -540
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.d.ts +4025 -540
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.d.ts +8050 -1080
- package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +847 -150
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/package.json +7 -1
|
@@ -7389,6 +7389,60 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7389
7389
|
};
|
|
7390
7390
|
Relationships: [];
|
|
7391
7391
|
};
|
|
7392
|
+
invoice_items: {
|
|
7393
|
+
Row: {
|
|
7394
|
+
created_at: string;
|
|
7395
|
+
description: string;
|
|
7396
|
+
id: string;
|
|
7397
|
+
invoice_id: string;
|
|
7398
|
+
kind: string;
|
|
7399
|
+
quantity: number;
|
|
7400
|
+
sort_order: number;
|
|
7401
|
+
source_line_ref: string | null;
|
|
7402
|
+
total_cents: number;
|
|
7403
|
+
unit: string;
|
|
7404
|
+
unit_price_cents: number;
|
|
7405
|
+
};
|
|
7406
|
+
Insert: {
|
|
7407
|
+
created_at?: string;
|
|
7408
|
+
description?: string;
|
|
7409
|
+
id?: string;
|
|
7410
|
+
invoice_id: string;
|
|
7411
|
+
kind?: string;
|
|
7412
|
+
quantity?: number;
|
|
7413
|
+
sort_order?: number;
|
|
7414
|
+
source_line_ref?: string | null;
|
|
7415
|
+
total_cents?: number;
|
|
7416
|
+
unit?: string;
|
|
7417
|
+
unit_price_cents?: number;
|
|
7418
|
+
};
|
|
7419
|
+
Update: {
|
|
7420
|
+
created_at?: string;
|
|
7421
|
+
description?: string;
|
|
7422
|
+
id?: string;
|
|
7423
|
+
invoice_id?: string;
|
|
7424
|
+
kind?: string;
|
|
7425
|
+
quantity?: number;
|
|
7426
|
+
sort_order?: number;
|
|
7427
|
+
source_line_ref?: string | null;
|
|
7428
|
+
total_cents?: number;
|
|
7429
|
+
unit?: string;
|
|
7430
|
+
unit_price_cents?: number;
|
|
7431
|
+
};
|
|
7432
|
+
Relationships: [{
|
|
7433
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
7434
|
+
columns: ["invoice_id"];
|
|
7435
|
+
isOneToOne: false;
|
|
7436
|
+
referencedRelation: "invoices";
|
|
7437
|
+
referencedColumns: ["id"];
|
|
7438
|
+
}, {
|
|
7439
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
7440
|
+
columns: ["invoice_id"];
|
|
7441
|
+
isOneToOne: false;
|
|
7442
|
+
referencedRelation: "uren_facturen";
|
|
7443
|
+
referencedColumns: ["id"];
|
|
7444
|
+
}];
|
|
7445
|
+
};
|
|
7392
7446
|
invoice_post_idempotency: {
|
|
7393
7447
|
Row: {
|
|
7394
7448
|
client_request_id: string;
|
|
@@ -7614,6 +7668,75 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7614
7668
|
};
|
|
7615
7669
|
Relationships: [];
|
|
7616
7670
|
};
|
|
7671
|
+
invoices: {
|
|
7672
|
+
Row: {
|
|
7673
|
+
created_at: string;
|
|
7674
|
+
created_by: string | null;
|
|
7675
|
+
customer_id: string | null;
|
|
7676
|
+
customer_name: string | null;
|
|
7677
|
+
due_date: string | null;
|
|
7678
|
+
id: string;
|
|
7679
|
+
invoice_date: string;
|
|
7680
|
+
invoice_number: string | null;
|
|
7681
|
+
note: string | null;
|
|
7682
|
+
source_number: string | null;
|
|
7683
|
+
source_ref: string | null;
|
|
7684
|
+
source_type: string;
|
|
7685
|
+
status: string;
|
|
7686
|
+
subtotal_cents: number;
|
|
7687
|
+
total_cents: number;
|
|
7688
|
+
updated_at: string;
|
|
7689
|
+
vat_cents: number;
|
|
7690
|
+
vat_rate: number;
|
|
7691
|
+
};
|
|
7692
|
+
Insert: {
|
|
7693
|
+
created_at?: string;
|
|
7694
|
+
created_by?: string | null;
|
|
7695
|
+
customer_id?: string | null;
|
|
7696
|
+
customer_name?: string | null;
|
|
7697
|
+
due_date?: string | null;
|
|
7698
|
+
id?: string;
|
|
7699
|
+
invoice_date?: string;
|
|
7700
|
+
invoice_number?: string | null;
|
|
7701
|
+
note?: string | null;
|
|
7702
|
+
source_number?: string | null;
|
|
7703
|
+
source_ref?: string | null;
|
|
7704
|
+
source_type?: string;
|
|
7705
|
+
status?: string;
|
|
7706
|
+
subtotal_cents?: number;
|
|
7707
|
+
total_cents?: number;
|
|
7708
|
+
updated_at?: string;
|
|
7709
|
+
vat_cents?: number;
|
|
7710
|
+
vat_rate?: number;
|
|
7711
|
+
};
|
|
7712
|
+
Update: {
|
|
7713
|
+
created_at?: string;
|
|
7714
|
+
created_by?: string | null;
|
|
7715
|
+
customer_id?: string | null;
|
|
7716
|
+
customer_name?: string | null;
|
|
7717
|
+
due_date?: string | null;
|
|
7718
|
+
id?: string;
|
|
7719
|
+
invoice_date?: string;
|
|
7720
|
+
invoice_number?: string | null;
|
|
7721
|
+
note?: string | null;
|
|
7722
|
+
source_number?: string | null;
|
|
7723
|
+
source_ref?: string | null;
|
|
7724
|
+
source_type?: string;
|
|
7725
|
+
status?: string;
|
|
7726
|
+
subtotal_cents?: number;
|
|
7727
|
+
total_cents?: number;
|
|
7728
|
+
updated_at?: string;
|
|
7729
|
+
vat_cents?: number;
|
|
7730
|
+
vat_rate?: number;
|
|
7731
|
+
};
|
|
7732
|
+
Relationships: [{
|
|
7733
|
+
foreignKeyName: "invoices_customer_id_fkey";
|
|
7734
|
+
columns: ["customer_id"];
|
|
7735
|
+
isOneToOne: false;
|
|
7736
|
+
referencedRelation: "itk_customers";
|
|
7737
|
+
referencedColumns: ["id"];
|
|
7738
|
+
}];
|
|
7739
|
+
};
|
|
7617
7740
|
itk_contact_persons: {
|
|
7618
7741
|
Row: {
|
|
7619
7742
|
created_at: string;
|
|
@@ -7807,7 +7930,259 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7807
7930
|
sort_order?: number;
|
|
7808
7931
|
updated_at?: string;
|
|
7809
7932
|
};
|
|
7810
|
-
Relationships: [];
|
|
7933
|
+
Relationships: [];
|
|
7934
|
+
};
|
|
7935
|
+
itk_offerte_events: {
|
|
7936
|
+
Row: {
|
|
7937
|
+
created_at: string;
|
|
7938
|
+
event_type: string;
|
|
7939
|
+
id: string;
|
|
7940
|
+
metadata: import("../integrations/supabase/types").Json;
|
|
7941
|
+
offerte_id: string;
|
|
7942
|
+
omschrijving: string | null;
|
|
7943
|
+
user_id: string | null;
|
|
7944
|
+
};
|
|
7945
|
+
Insert: {
|
|
7946
|
+
created_at?: string;
|
|
7947
|
+
event_type: string;
|
|
7948
|
+
id?: string;
|
|
7949
|
+
metadata?: import("../integrations/supabase/types").Json;
|
|
7950
|
+
offerte_id: string;
|
|
7951
|
+
omschrijving?: string | null;
|
|
7952
|
+
user_id?: string | null;
|
|
7953
|
+
};
|
|
7954
|
+
Update: {
|
|
7955
|
+
created_at?: string;
|
|
7956
|
+
event_type?: string;
|
|
7957
|
+
id?: string;
|
|
7958
|
+
metadata?: import("../integrations/supabase/types").Json;
|
|
7959
|
+
offerte_id?: string;
|
|
7960
|
+
omschrijving?: string | null;
|
|
7961
|
+
user_id?: string | null;
|
|
7962
|
+
};
|
|
7963
|
+
Relationships: [{
|
|
7964
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
7965
|
+
columns: ["offerte_id"];
|
|
7966
|
+
isOneToOne: false;
|
|
7967
|
+
referencedRelation: "itk_offertes";
|
|
7968
|
+
referencedColumns: ["id"];
|
|
7969
|
+
}];
|
|
7970
|
+
};
|
|
7971
|
+
itk_offerte_regels: {
|
|
7972
|
+
Row: {
|
|
7973
|
+
created_at: string;
|
|
7974
|
+
id: string;
|
|
7975
|
+
line_total_cents: number;
|
|
7976
|
+
offerte_id: string;
|
|
7977
|
+
omschrijving: string;
|
|
7978
|
+
package_id: string | null;
|
|
7979
|
+
quantity: number;
|
|
7980
|
+
sort_order: number;
|
|
7981
|
+
source: string;
|
|
7982
|
+
unit_price_cents: number;
|
|
7983
|
+
updated_at: string;
|
|
7984
|
+
};
|
|
7985
|
+
Insert: {
|
|
7986
|
+
created_at?: string;
|
|
7987
|
+
id?: string;
|
|
7988
|
+
line_total_cents?: number;
|
|
7989
|
+
offerte_id: string;
|
|
7990
|
+
omschrijving?: string;
|
|
7991
|
+
package_id?: string | null;
|
|
7992
|
+
quantity?: number;
|
|
7993
|
+
sort_order?: number;
|
|
7994
|
+
source?: string;
|
|
7995
|
+
unit_price_cents?: number;
|
|
7996
|
+
updated_at?: string;
|
|
7997
|
+
};
|
|
7998
|
+
Update: {
|
|
7999
|
+
created_at?: string;
|
|
8000
|
+
id?: string;
|
|
8001
|
+
line_total_cents?: number;
|
|
8002
|
+
offerte_id?: string;
|
|
8003
|
+
omschrijving?: string;
|
|
8004
|
+
package_id?: string | null;
|
|
8005
|
+
quantity?: number;
|
|
8006
|
+
sort_order?: number;
|
|
8007
|
+
source?: string;
|
|
8008
|
+
unit_price_cents?: number;
|
|
8009
|
+
updated_at?: string;
|
|
8010
|
+
};
|
|
8011
|
+
Relationships: [{
|
|
8012
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
8013
|
+
columns: ["offerte_id"];
|
|
8014
|
+
isOneToOne: false;
|
|
8015
|
+
referencedRelation: "itk_offertes";
|
|
8016
|
+
referencedColumns: ["id"];
|
|
8017
|
+
}, {
|
|
8018
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
8019
|
+
columns: ["package_id"];
|
|
8020
|
+
isOneToOne: false;
|
|
8021
|
+
referencedRelation: "werkbon_packages";
|
|
8022
|
+
referencedColumns: ["id"];
|
|
8023
|
+
}];
|
|
8024
|
+
};
|
|
8025
|
+
itk_offerte_settings: {
|
|
8026
|
+
Row: {
|
|
8027
|
+
auto_convert_binnen_mandaat: boolean;
|
|
8028
|
+
created_at: string;
|
|
8029
|
+
default_geldigheid_dagen: number;
|
|
8030
|
+
default_vat_rate: number;
|
|
8031
|
+
id: string;
|
|
8032
|
+
singleton: boolean;
|
|
8033
|
+
updated_at: string;
|
|
8034
|
+
};
|
|
8035
|
+
Insert: {
|
|
8036
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
8037
|
+
created_at?: string;
|
|
8038
|
+
default_geldigheid_dagen?: number;
|
|
8039
|
+
default_vat_rate?: number;
|
|
8040
|
+
id?: string;
|
|
8041
|
+
singleton?: boolean;
|
|
8042
|
+
updated_at?: string;
|
|
8043
|
+
};
|
|
8044
|
+
Update: {
|
|
8045
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
8046
|
+
created_at?: string;
|
|
8047
|
+
default_geldigheid_dagen?: number;
|
|
8048
|
+
default_vat_rate?: number;
|
|
8049
|
+
id?: string;
|
|
8050
|
+
singleton?: boolean;
|
|
8051
|
+
updated_at?: string;
|
|
8052
|
+
};
|
|
8053
|
+
Relationships: [];
|
|
8054
|
+
};
|
|
8055
|
+
itk_offertes: {
|
|
8056
|
+
Row: {
|
|
8057
|
+
ai_generated: boolean;
|
|
8058
|
+
approved_at: string | null;
|
|
8059
|
+
binnen_mandaat: boolean;
|
|
8060
|
+
contact_id: string | null;
|
|
8061
|
+
converted_at: string | null;
|
|
8062
|
+
created_at: string;
|
|
8063
|
+
created_by: string | null;
|
|
8064
|
+
customer_id: string | null;
|
|
8065
|
+
follow_up_werkbon_id: string | null;
|
|
8066
|
+
id: string;
|
|
8067
|
+
jaar: number;
|
|
8068
|
+
mandaat_restant_cents: number;
|
|
8069
|
+
notities: string | null;
|
|
8070
|
+
offerte_number: string | null;
|
|
8071
|
+
omschrijving: string;
|
|
8072
|
+
rejected_at: string | null;
|
|
8073
|
+
sent_at: string | null;
|
|
8074
|
+
source_number: string | null;
|
|
8075
|
+
source_ref: string | null;
|
|
8076
|
+
source_type: string;
|
|
8077
|
+
status: string;
|
|
8078
|
+
subtotal_cents: number;
|
|
8079
|
+
total_cents: number;
|
|
8080
|
+
updated_at: string;
|
|
8081
|
+
valid_until: string | null;
|
|
8082
|
+
vat_cents: number;
|
|
8083
|
+
vat_rate: number;
|
|
8084
|
+
viewed_at: string | null;
|
|
8085
|
+
volgnummer: number | null;
|
|
8086
|
+
werkbon_id: string | null;
|
|
8087
|
+
work_location_id: string | null;
|
|
8088
|
+
};
|
|
8089
|
+
Insert: {
|
|
8090
|
+
ai_generated?: boolean;
|
|
8091
|
+
approved_at?: string | null;
|
|
8092
|
+
binnen_mandaat?: boolean;
|
|
8093
|
+
contact_id?: string | null;
|
|
8094
|
+
converted_at?: string | null;
|
|
8095
|
+
created_at?: string;
|
|
8096
|
+
created_by?: string | null;
|
|
8097
|
+
customer_id?: string | null;
|
|
8098
|
+
follow_up_werkbon_id?: string | null;
|
|
8099
|
+
id?: string;
|
|
8100
|
+
jaar?: number;
|
|
8101
|
+
mandaat_restant_cents?: number;
|
|
8102
|
+
notities?: string | null;
|
|
8103
|
+
offerte_number?: string | null;
|
|
8104
|
+
omschrijving?: string;
|
|
8105
|
+
rejected_at?: string | null;
|
|
8106
|
+
sent_at?: string | null;
|
|
8107
|
+
source_number?: string | null;
|
|
8108
|
+
source_ref?: string | null;
|
|
8109
|
+
source_type?: string;
|
|
8110
|
+
status?: string;
|
|
8111
|
+
subtotal_cents?: number;
|
|
8112
|
+
total_cents?: number;
|
|
8113
|
+
updated_at?: string;
|
|
8114
|
+
valid_until?: string | null;
|
|
8115
|
+
vat_cents?: number;
|
|
8116
|
+
vat_rate?: number;
|
|
8117
|
+
viewed_at?: string | null;
|
|
8118
|
+
volgnummer?: number | null;
|
|
8119
|
+
werkbon_id?: string | null;
|
|
8120
|
+
work_location_id?: string | null;
|
|
8121
|
+
};
|
|
8122
|
+
Update: {
|
|
8123
|
+
ai_generated?: boolean;
|
|
8124
|
+
approved_at?: string | null;
|
|
8125
|
+
binnen_mandaat?: boolean;
|
|
8126
|
+
contact_id?: string | null;
|
|
8127
|
+
converted_at?: string | null;
|
|
8128
|
+
created_at?: string;
|
|
8129
|
+
created_by?: string | null;
|
|
8130
|
+
customer_id?: string | null;
|
|
8131
|
+
follow_up_werkbon_id?: string | null;
|
|
8132
|
+
id?: string;
|
|
8133
|
+
jaar?: number;
|
|
8134
|
+
mandaat_restant_cents?: number;
|
|
8135
|
+
notities?: string | null;
|
|
8136
|
+
offerte_number?: string | null;
|
|
8137
|
+
omschrijving?: string;
|
|
8138
|
+
rejected_at?: string | null;
|
|
8139
|
+
sent_at?: string | null;
|
|
8140
|
+
source_number?: string | null;
|
|
8141
|
+
source_ref?: string | null;
|
|
8142
|
+
source_type?: string;
|
|
8143
|
+
status?: string;
|
|
8144
|
+
subtotal_cents?: number;
|
|
8145
|
+
total_cents?: number;
|
|
8146
|
+
updated_at?: string;
|
|
8147
|
+
valid_until?: string | null;
|
|
8148
|
+
vat_cents?: number;
|
|
8149
|
+
vat_rate?: number;
|
|
8150
|
+
viewed_at?: string | null;
|
|
8151
|
+
volgnummer?: number | null;
|
|
8152
|
+
werkbon_id?: string | null;
|
|
8153
|
+
work_location_id?: string | null;
|
|
8154
|
+
};
|
|
8155
|
+
Relationships: [{
|
|
8156
|
+
foreignKeyName: "itk_offertes_contact_id_fkey";
|
|
8157
|
+
columns: ["contact_id"];
|
|
8158
|
+
isOneToOne: false;
|
|
8159
|
+
referencedRelation: "itk_contact_persons";
|
|
8160
|
+
referencedColumns: ["id"];
|
|
8161
|
+
}, {
|
|
8162
|
+
foreignKeyName: "itk_offertes_customer_id_fkey";
|
|
8163
|
+
columns: ["customer_id"];
|
|
8164
|
+
isOneToOne: false;
|
|
8165
|
+
referencedRelation: "itk_customers";
|
|
8166
|
+
referencedColumns: ["id"];
|
|
8167
|
+
}, {
|
|
8168
|
+
foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
|
|
8169
|
+
columns: ["follow_up_werkbon_id"];
|
|
8170
|
+
isOneToOne: false;
|
|
8171
|
+
referencedRelation: "werkbonnen";
|
|
8172
|
+
referencedColumns: ["id"];
|
|
8173
|
+
}, {
|
|
8174
|
+
foreignKeyName: "itk_offertes_werkbon_id_fkey";
|
|
8175
|
+
columns: ["werkbon_id"];
|
|
8176
|
+
isOneToOne: false;
|
|
8177
|
+
referencedRelation: "werkbonnen";
|
|
8178
|
+
referencedColumns: ["id"];
|
|
8179
|
+
}, {
|
|
8180
|
+
foreignKeyName: "itk_offertes_work_location_id_fkey";
|
|
8181
|
+
columns: ["work_location_id"];
|
|
8182
|
+
isOneToOne: false;
|
|
8183
|
+
referencedRelation: "itk_work_locations";
|
|
8184
|
+
referencedColumns: ["id"];
|
|
8185
|
+
}];
|
|
7811
8186
|
};
|
|
7812
8187
|
itk_work_locations: {
|
|
7813
8188
|
Row: {
|
|
@@ -10182,6 +10557,63 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10182
10557
|
referencedColumns: ["id"];
|
|
10183
10558
|
}];
|
|
10184
10559
|
};
|
|
10560
|
+
medewerker_details: {
|
|
10561
|
+
Row: {
|
|
10562
|
+
color: string | null;
|
|
10563
|
+
created_at: string;
|
|
10564
|
+
hours_fri: number | null;
|
|
10565
|
+
hours_mon: number | null;
|
|
10566
|
+
hours_thu: number | null;
|
|
10567
|
+
hours_tue: number | null;
|
|
10568
|
+
hours_wed: number | null;
|
|
10569
|
+
id: string;
|
|
10570
|
+
is_active: boolean;
|
|
10571
|
+
leave_balance_hours: number;
|
|
10572
|
+
persnr: string | null;
|
|
10573
|
+
phone: string | null;
|
|
10574
|
+
profile_id: string;
|
|
10575
|
+
updated_at: string;
|
|
10576
|
+
};
|
|
10577
|
+
Insert: {
|
|
10578
|
+
color?: string | null;
|
|
10579
|
+
created_at?: string;
|
|
10580
|
+
hours_fri?: number | null;
|
|
10581
|
+
hours_mon?: number | null;
|
|
10582
|
+
hours_thu?: number | null;
|
|
10583
|
+
hours_tue?: number | null;
|
|
10584
|
+
hours_wed?: number | null;
|
|
10585
|
+
id?: string;
|
|
10586
|
+
is_active?: boolean;
|
|
10587
|
+
leave_balance_hours?: number;
|
|
10588
|
+
persnr?: string | null;
|
|
10589
|
+
phone?: string | null;
|
|
10590
|
+
profile_id: string;
|
|
10591
|
+
updated_at?: string;
|
|
10592
|
+
};
|
|
10593
|
+
Update: {
|
|
10594
|
+
color?: string | null;
|
|
10595
|
+
created_at?: string;
|
|
10596
|
+
hours_fri?: number | null;
|
|
10597
|
+
hours_mon?: number | null;
|
|
10598
|
+
hours_thu?: number | null;
|
|
10599
|
+
hours_tue?: number | null;
|
|
10600
|
+
hours_wed?: number | null;
|
|
10601
|
+
id?: string;
|
|
10602
|
+
is_active?: boolean;
|
|
10603
|
+
leave_balance_hours?: number;
|
|
10604
|
+
persnr?: string | null;
|
|
10605
|
+
phone?: string | null;
|
|
10606
|
+
profile_id?: string;
|
|
10607
|
+
updated_at?: string;
|
|
10608
|
+
};
|
|
10609
|
+
Relationships: [{
|
|
10610
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
10611
|
+
columns: ["profile_id"];
|
|
10612
|
+
isOneToOne: true;
|
|
10613
|
+
referencedRelation: "profiles";
|
|
10614
|
+
referencedColumns: ["id"];
|
|
10615
|
+
}];
|
|
10616
|
+
};
|
|
10185
10617
|
module_features: {
|
|
10186
10618
|
Row: {
|
|
10187
10619
|
created_at: string;
|
|
@@ -11475,6 +11907,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
11475
11907
|
orders: {
|
|
11476
11908
|
Row: {
|
|
11477
11909
|
buffer_id: string | null;
|
|
11910
|
+
cancel_reason: string | null;
|
|
11911
|
+
cancelled_at: string | null;
|
|
11478
11912
|
created_at: string;
|
|
11479
11913
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
11480
11914
|
customer_id: string | null;
|
|
@@ -11497,6 +11931,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
11497
11931
|
};
|
|
11498
11932
|
Insert: {
|
|
11499
11933
|
buffer_id?: string | null;
|
|
11934
|
+
cancel_reason?: string | null;
|
|
11935
|
+
cancelled_at?: string | null;
|
|
11500
11936
|
created_at?: string;
|
|
11501
11937
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
11502
11938
|
customer_id?: string | null;
|
|
@@ -11519,6 +11955,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
11519
11955
|
};
|
|
11520
11956
|
Update: {
|
|
11521
11957
|
buffer_id?: string | null;
|
|
11958
|
+
cancel_reason?: string | null;
|
|
11959
|
+
cancelled_at?: string | null;
|
|
11522
11960
|
created_at?: string;
|
|
11523
11961
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
11524
11962
|
customer_id?: string | null;
|
|
@@ -13581,6 +14019,66 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
13581
14019
|
};
|
|
13582
14020
|
Relationships: [];
|
|
13583
14021
|
};
|
|
14022
|
+
profile_modules: {
|
|
14023
|
+
Row: {
|
|
14024
|
+
created_at: string;
|
|
14025
|
+
id: string;
|
|
14026
|
+
module_id: string;
|
|
14027
|
+
profile_id: string;
|
|
14028
|
+
};
|
|
14029
|
+
Insert: {
|
|
14030
|
+
created_at?: string;
|
|
14031
|
+
id?: string;
|
|
14032
|
+
module_id: string;
|
|
14033
|
+
profile_id: string;
|
|
14034
|
+
};
|
|
14035
|
+
Update: {
|
|
14036
|
+
created_at?: string;
|
|
14037
|
+
id?: string;
|
|
14038
|
+
module_id?: string;
|
|
14039
|
+
profile_id?: string;
|
|
14040
|
+
};
|
|
14041
|
+
Relationships: [{
|
|
14042
|
+
foreignKeyName: "profile_modules_profile_id_fkey";
|
|
14043
|
+
columns: ["profile_id"];
|
|
14044
|
+
isOneToOne: false;
|
|
14045
|
+
referencedRelation: "profiles_org";
|
|
14046
|
+
referencedColumns: ["id"];
|
|
14047
|
+
}];
|
|
14048
|
+
};
|
|
14049
|
+
profile_roles: {
|
|
14050
|
+
Row: {
|
|
14051
|
+
created_at: string;
|
|
14052
|
+
id: string;
|
|
14053
|
+
profile_id: string;
|
|
14054
|
+
role_id: string;
|
|
14055
|
+
};
|
|
14056
|
+
Insert: {
|
|
14057
|
+
created_at?: string;
|
|
14058
|
+
id?: string;
|
|
14059
|
+
profile_id: string;
|
|
14060
|
+
role_id: string;
|
|
14061
|
+
};
|
|
14062
|
+
Update: {
|
|
14063
|
+
created_at?: string;
|
|
14064
|
+
id?: string;
|
|
14065
|
+
profile_id?: string;
|
|
14066
|
+
role_id?: string;
|
|
14067
|
+
};
|
|
14068
|
+
Relationships: [{
|
|
14069
|
+
foreignKeyName: "profile_roles_profile_id_fkey";
|
|
14070
|
+
columns: ["profile_id"];
|
|
14071
|
+
isOneToOne: false;
|
|
14072
|
+
referencedRelation: "profiles_org";
|
|
14073
|
+
referencedColumns: ["id"];
|
|
14074
|
+
}, {
|
|
14075
|
+
foreignKeyName: "profile_roles_role_id_fkey";
|
|
14076
|
+
columns: ["role_id"];
|
|
14077
|
+
isOneToOne: false;
|
|
14078
|
+
referencedRelation: "roles";
|
|
14079
|
+
referencedColumns: ["id"];
|
|
14080
|
+
}];
|
|
14081
|
+
};
|
|
13584
14082
|
profiles: {
|
|
13585
14083
|
Row: {
|
|
13586
14084
|
address: string | null;
|
|
@@ -13626,6 +14124,39 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
13626
14124
|
referencedColumns: ["id"];
|
|
13627
14125
|
}];
|
|
13628
14126
|
};
|
|
14127
|
+
profiles_org: {
|
|
14128
|
+
Row: {
|
|
14129
|
+
created_at: string;
|
|
14130
|
+
id: string;
|
|
14131
|
+
is_default: boolean;
|
|
14132
|
+
name: string;
|
|
14133
|
+
tenant_id: string | null;
|
|
14134
|
+
updated_at: string;
|
|
14135
|
+
};
|
|
14136
|
+
Insert: {
|
|
14137
|
+
created_at?: string;
|
|
14138
|
+
id?: string;
|
|
14139
|
+
is_default?: boolean;
|
|
14140
|
+
name: string;
|
|
14141
|
+
tenant_id?: string | null;
|
|
14142
|
+
updated_at?: string;
|
|
14143
|
+
};
|
|
14144
|
+
Update: {
|
|
14145
|
+
created_at?: string;
|
|
14146
|
+
id?: string;
|
|
14147
|
+
is_default?: boolean;
|
|
14148
|
+
name?: string;
|
|
14149
|
+
tenant_id?: string | null;
|
|
14150
|
+
updated_at?: string;
|
|
14151
|
+
};
|
|
14152
|
+
Relationships: [{
|
|
14153
|
+
foreignKeyName: "profiles_org_tenant_id_fkey";
|
|
14154
|
+
columns: ["tenant_id"];
|
|
14155
|
+
isOneToOne: false;
|
|
14156
|
+
referencedRelation: "tenants";
|
|
14157
|
+
referencedColumns: ["id"];
|
|
14158
|
+
}];
|
|
14159
|
+
};
|
|
13629
14160
|
projects: {
|
|
13630
14161
|
Row: {
|
|
13631
14162
|
contact_name: string | null;
|
|
@@ -14800,6 +15331,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
14800
15331
|
type: string;
|
|
14801
15332
|
updated_at: string;
|
|
14802
15333
|
vereist_medewerker: boolean;
|
|
15334
|
+
werkplek: string | null;
|
|
14803
15335
|
};
|
|
14804
15336
|
Insert: {
|
|
14805
15337
|
actief?: boolean;
|
|
@@ -14813,6 +15345,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
14813
15345
|
type?: string;
|
|
14814
15346
|
updated_at?: string;
|
|
14815
15347
|
vereist_medewerker?: boolean;
|
|
15348
|
+
werkplek?: string | null;
|
|
14816
15349
|
};
|
|
14817
15350
|
Update: {
|
|
14818
15351
|
actief?: boolean;
|
|
@@ -14826,9 +15359,46 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
14826
15359
|
type?: string;
|
|
14827
15360
|
updated_at?: string;
|
|
14828
15361
|
vereist_medewerker?: boolean;
|
|
15362
|
+
werkplek?: string | null;
|
|
14829
15363
|
};
|
|
14830
15364
|
Relationships: [];
|
|
14831
15365
|
};
|
|
15366
|
+
sick_periods: {
|
|
15367
|
+
Row: {
|
|
15368
|
+
created_at: string;
|
|
15369
|
+
employee_id: string;
|
|
15370
|
+
end_date: string | null;
|
|
15371
|
+
id: string;
|
|
15372
|
+
notes: string | null;
|
|
15373
|
+
start_date: string;
|
|
15374
|
+
updated_at: string;
|
|
15375
|
+
};
|
|
15376
|
+
Insert: {
|
|
15377
|
+
created_at?: string;
|
|
15378
|
+
employee_id: string;
|
|
15379
|
+
end_date?: string | null;
|
|
15380
|
+
id?: string;
|
|
15381
|
+
notes?: string | null;
|
|
15382
|
+
start_date: string;
|
|
15383
|
+
updated_at?: string;
|
|
15384
|
+
};
|
|
15385
|
+
Update: {
|
|
15386
|
+
created_at?: string;
|
|
15387
|
+
employee_id?: string;
|
|
15388
|
+
end_date?: string | null;
|
|
15389
|
+
id?: string;
|
|
15390
|
+
notes?: string | null;
|
|
15391
|
+
start_date?: string;
|
|
15392
|
+
updated_at?: string;
|
|
15393
|
+
};
|
|
15394
|
+
Relationships: [{
|
|
15395
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
15396
|
+
columns: ["employee_id"];
|
|
15397
|
+
isOneToOne: false;
|
|
15398
|
+
referencedRelation: "profiles";
|
|
15399
|
+
referencedColumns: ["id"];
|
|
15400
|
+
}];
|
|
15401
|
+
};
|
|
14832
15402
|
sidebar_config: {
|
|
14833
15403
|
Row: {
|
|
14834
15404
|
id: string;
|
|
@@ -16590,194 +17160,86 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
16590
17160
|
uren_entries: {
|
|
16591
17161
|
Row: {
|
|
16592
17162
|
created_at: string;
|
|
16593
|
-
created_by: string | null;
|
|
16594
|
-
entry_date: string;
|
|
16595
|
-
hours: number;
|
|
16596
|
-
id: string;
|
|
16597
|
-
kind: string;
|
|
16598
|
-
monteur_id: string;
|
|
16599
|
-
note: string | null;
|
|
16600
|
-
source: string;
|
|
16601
|
-
travel_km: number;
|
|
16602
|
-
updated_at: string;
|
|
16603
|
-
werkbon_id: string | null;
|
|
16604
|
-
};
|
|
16605
|
-
Insert: {
|
|
16606
|
-
created_at?: string;
|
|
16607
|
-
created_by?: string | null;
|
|
16608
|
-
entry_date: string;
|
|
16609
|
-
hours?: number;
|
|
16610
|
-
id?: string;
|
|
16611
|
-
kind?: string;
|
|
16612
|
-
monteur_id: string;
|
|
16613
|
-
note?: string | null;
|
|
16614
|
-
source?: string;
|
|
16615
|
-
travel_km?: number;
|
|
16616
|
-
updated_at?: string;
|
|
16617
|
-
werkbon_id?: string | null;
|
|
16618
|
-
};
|
|
16619
|
-
Update: {
|
|
16620
|
-
created_at?: string;
|
|
16621
|
-
created_by?: string | null;
|
|
16622
|
-
entry_date?: string;
|
|
16623
|
-
hours?: number;
|
|
16624
|
-
id?: string;
|
|
16625
|
-
kind?: string;
|
|
16626
|
-
monteur_id?: string;
|
|
16627
|
-
note?: string | null;
|
|
16628
|
-
source?: string;
|
|
16629
|
-
travel_km?: number;
|
|
16630
|
-
updated_at?: string;
|
|
16631
|
-
werkbon_id?: string | null;
|
|
16632
|
-
};
|
|
16633
|
-
Relationships: [{
|
|
16634
|
-
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
16635
|
-
columns: ["werkbon_id"];
|
|
16636
|
-
isOneToOne: false;
|
|
16637
|
-
referencedRelation: "werkbonnen";
|
|
16638
|
-
referencedColumns: ["id"];
|
|
16639
|
-
}];
|
|
16640
|
-
};
|
|
16641
|
-
uren_exports: {
|
|
16642
|
-
Row: {
|
|
16643
|
-
created_at: string;
|
|
16644
|
-
created_by: string | null;
|
|
16645
|
-
file_name: string | null;
|
|
16646
|
-
id: string;
|
|
16647
|
-
monteur_ids: string[];
|
|
16648
|
-
period_end: string;
|
|
16649
|
-
period_start: string;
|
|
16650
|
-
row_count: number;
|
|
16651
|
-
};
|
|
16652
|
-
Insert: {
|
|
16653
|
-
created_at?: string;
|
|
16654
|
-
created_by?: string | null;
|
|
16655
|
-
file_name?: string | null;
|
|
16656
|
-
id?: string;
|
|
16657
|
-
monteur_ids?: string[];
|
|
16658
|
-
period_end: string;
|
|
16659
|
-
period_start: string;
|
|
16660
|
-
row_count?: number;
|
|
16661
|
-
};
|
|
16662
|
-
Update: {
|
|
16663
|
-
created_at?: string;
|
|
16664
|
-
created_by?: string | null;
|
|
16665
|
-
file_name?: string | null;
|
|
16666
|
-
id?: string;
|
|
16667
|
-
monteur_ids?: string[];
|
|
16668
|
-
period_end?: string;
|
|
16669
|
-
period_start?: string;
|
|
16670
|
-
row_count?: number;
|
|
16671
|
-
};
|
|
16672
|
-
Relationships: [];
|
|
16673
|
-
};
|
|
16674
|
-
uren_facturen: {
|
|
16675
|
-
Row: {
|
|
16676
|
-
created_at: string;
|
|
16677
|
-
created_by: string | null;
|
|
16678
|
-
customer_id: string | null;
|
|
16679
|
-
customer_name: string | null;
|
|
17163
|
+
created_by: string | null;
|
|
17164
|
+
entry_date: string;
|
|
17165
|
+
hours: number;
|
|
16680
17166
|
id: string;
|
|
16681
|
-
|
|
17167
|
+
kind: string;
|
|
17168
|
+
monteur_id: string;
|
|
16682
17169
|
note: string | null;
|
|
16683
|
-
|
|
16684
|
-
|
|
16685
|
-
total_incl_cents: number;
|
|
17170
|
+
source: string;
|
|
17171
|
+
travel_km: number;
|
|
16686
17172
|
updated_at: string;
|
|
16687
|
-
vat_cents: number;
|
|
16688
|
-
vat_percentage: number;
|
|
16689
17173
|
werkbon_id: string | null;
|
|
16690
17174
|
};
|
|
16691
17175
|
Insert: {
|
|
16692
17176
|
created_at?: string;
|
|
16693
17177
|
created_by?: string | null;
|
|
16694
|
-
|
|
16695
|
-
|
|
17178
|
+
entry_date: string;
|
|
17179
|
+
hours?: number;
|
|
16696
17180
|
id?: string;
|
|
16697
|
-
|
|
17181
|
+
kind?: string;
|
|
17182
|
+
monteur_id: string;
|
|
16698
17183
|
note?: string | null;
|
|
16699
|
-
|
|
16700
|
-
|
|
16701
|
-
total_incl_cents?: number;
|
|
17184
|
+
source?: string;
|
|
17185
|
+
travel_km?: number;
|
|
16702
17186
|
updated_at?: string;
|
|
16703
|
-
vat_cents?: number;
|
|
16704
|
-
vat_percentage?: number;
|
|
16705
17187
|
werkbon_id?: string | null;
|
|
16706
17188
|
};
|
|
16707
17189
|
Update: {
|
|
16708
17190
|
created_at?: string;
|
|
16709
17191
|
created_by?: string | null;
|
|
16710
|
-
|
|
16711
|
-
|
|
17192
|
+
entry_date?: string;
|
|
17193
|
+
hours?: number;
|
|
16712
17194
|
id?: string;
|
|
16713
|
-
|
|
17195
|
+
kind?: string;
|
|
17196
|
+
monteur_id?: string;
|
|
16714
17197
|
note?: string | null;
|
|
16715
|
-
|
|
16716
|
-
|
|
16717
|
-
total_incl_cents?: number;
|
|
17198
|
+
source?: string;
|
|
17199
|
+
travel_km?: number;
|
|
16718
17200
|
updated_at?: string;
|
|
16719
|
-
vat_cents?: number;
|
|
16720
|
-
vat_percentage?: number;
|
|
16721
17201
|
werkbon_id?: string | null;
|
|
16722
17202
|
};
|
|
16723
17203
|
Relationships: [{
|
|
16724
|
-
foreignKeyName: "
|
|
16725
|
-
columns: ["customer_id"];
|
|
16726
|
-
isOneToOne: false;
|
|
16727
|
-
referencedRelation: "itk_customers";
|
|
16728
|
-
referencedColumns: ["id"];
|
|
16729
|
-
}, {
|
|
16730
|
-
foreignKeyName: "uren_facturen_werkbon_id_fkey";
|
|
17204
|
+
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
16731
17205
|
columns: ["werkbon_id"];
|
|
16732
|
-
isOneToOne:
|
|
17206
|
+
isOneToOne: false;
|
|
16733
17207
|
referencedRelation: "werkbonnen";
|
|
16734
17208
|
referencedColumns: ["id"];
|
|
16735
17209
|
}];
|
|
16736
17210
|
};
|
|
16737
|
-
|
|
17211
|
+
uren_exports: {
|
|
16738
17212
|
Row: {
|
|
16739
17213
|
created_at: string;
|
|
16740
|
-
|
|
16741
|
-
|
|
17214
|
+
created_by: string | null;
|
|
17215
|
+
file_name: string | null;
|
|
16742
17216
|
id: string;
|
|
16743
|
-
|
|
16744
|
-
|
|
16745
|
-
|
|
16746
|
-
|
|
16747
|
-
unit: string;
|
|
16748
|
-
unit_price_cents: number;
|
|
17217
|
+
monteur_ids: string[];
|
|
17218
|
+
period_end: string;
|
|
17219
|
+
period_start: string;
|
|
17220
|
+
row_count: number;
|
|
16749
17221
|
};
|
|
16750
17222
|
Insert: {
|
|
16751
17223
|
created_at?: string;
|
|
16752
|
-
|
|
16753
|
-
|
|
17224
|
+
created_by?: string | null;
|
|
17225
|
+
file_name?: string | null;
|
|
16754
17226
|
id?: string;
|
|
16755
|
-
|
|
16756
|
-
|
|
16757
|
-
|
|
16758
|
-
|
|
16759
|
-
unit?: string;
|
|
16760
|
-
unit_price_cents?: number;
|
|
17227
|
+
monteur_ids?: string[];
|
|
17228
|
+
period_end: string;
|
|
17229
|
+
period_start: string;
|
|
17230
|
+
row_count?: number;
|
|
16761
17231
|
};
|
|
16762
17232
|
Update: {
|
|
16763
17233
|
created_at?: string;
|
|
16764
|
-
|
|
16765
|
-
|
|
17234
|
+
created_by?: string | null;
|
|
17235
|
+
file_name?: string | null;
|
|
16766
17236
|
id?: string;
|
|
16767
|
-
|
|
16768
|
-
|
|
16769
|
-
|
|
16770
|
-
|
|
16771
|
-
unit?: string;
|
|
16772
|
-
unit_price_cents?: number;
|
|
17237
|
+
monteur_ids?: string[];
|
|
17238
|
+
period_end?: string;
|
|
17239
|
+
period_start?: string;
|
|
17240
|
+
row_count?: number;
|
|
16773
17241
|
};
|
|
16774
|
-
Relationships: [
|
|
16775
|
-
foreignKeyName: "uren_factuur_regels_factuur_id_fkey";
|
|
16776
|
-
columns: ["factuur_id"];
|
|
16777
|
-
isOneToOne: false;
|
|
16778
|
-
referencedRelation: "uren_facturen";
|
|
16779
|
-
referencedColumns: ["id"];
|
|
16780
|
-
}];
|
|
17242
|
+
Relationships: [];
|
|
16781
17243
|
};
|
|
16782
17244
|
uren_offerte_regels: {
|
|
16783
17245
|
Row: {
|
|
@@ -18618,6 +19080,114 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
18618
19080
|
};
|
|
18619
19081
|
Relationships: [];
|
|
18620
19082
|
};
|
|
19083
|
+
uren_facturen: {
|
|
19084
|
+
Row: {
|
|
19085
|
+
created_at: string | null;
|
|
19086
|
+
created_by: string | null;
|
|
19087
|
+
customer_id: string | null;
|
|
19088
|
+
customer_name: string | null;
|
|
19089
|
+
id: string | null;
|
|
19090
|
+
invoice_number: string | null;
|
|
19091
|
+
note: string | null;
|
|
19092
|
+
status: string | null;
|
|
19093
|
+
total_excl_cents: number | null;
|
|
19094
|
+
total_incl_cents: number | null;
|
|
19095
|
+
updated_at: string | null;
|
|
19096
|
+
vat_cents: number | null;
|
|
19097
|
+
vat_percentage: number | null;
|
|
19098
|
+
werkbon_id: string | null;
|
|
19099
|
+
};
|
|
19100
|
+
Insert: {
|
|
19101
|
+
created_at?: string | null;
|
|
19102
|
+
created_by?: string | null;
|
|
19103
|
+
customer_id?: string | null;
|
|
19104
|
+
customer_name?: string | null;
|
|
19105
|
+
id?: string | null;
|
|
19106
|
+
invoice_number?: string | null;
|
|
19107
|
+
note?: string | null;
|
|
19108
|
+
status?: string | null;
|
|
19109
|
+
total_excl_cents?: number | null;
|
|
19110
|
+
total_incl_cents?: number | null;
|
|
19111
|
+
updated_at?: string | null;
|
|
19112
|
+
vat_cents?: number | null;
|
|
19113
|
+
vat_percentage?: number | null;
|
|
19114
|
+
werkbon_id?: never;
|
|
19115
|
+
};
|
|
19116
|
+
Update: {
|
|
19117
|
+
created_at?: string | null;
|
|
19118
|
+
created_by?: string | null;
|
|
19119
|
+
customer_id?: string | null;
|
|
19120
|
+
customer_name?: string | null;
|
|
19121
|
+
id?: string | null;
|
|
19122
|
+
invoice_number?: string | null;
|
|
19123
|
+
note?: string | null;
|
|
19124
|
+
status?: string | null;
|
|
19125
|
+
total_excl_cents?: number | null;
|
|
19126
|
+
total_incl_cents?: number | null;
|
|
19127
|
+
updated_at?: string | null;
|
|
19128
|
+
vat_cents?: number | null;
|
|
19129
|
+
vat_percentage?: number | null;
|
|
19130
|
+
werkbon_id?: never;
|
|
19131
|
+
};
|
|
19132
|
+
Relationships: [{
|
|
19133
|
+
foreignKeyName: "invoices_customer_id_fkey";
|
|
19134
|
+
columns: ["customer_id"];
|
|
19135
|
+
isOneToOne: false;
|
|
19136
|
+
referencedRelation: "itk_customers";
|
|
19137
|
+
referencedColumns: ["id"];
|
|
19138
|
+
}];
|
|
19139
|
+
};
|
|
19140
|
+
uren_factuur_regels: {
|
|
19141
|
+
Row: {
|
|
19142
|
+
created_at: string | null;
|
|
19143
|
+
description: string | null;
|
|
19144
|
+
factuur_id: string | null;
|
|
19145
|
+
id: string | null;
|
|
19146
|
+
kind: string | null;
|
|
19147
|
+
quantity: number | null;
|
|
19148
|
+
sort_order: number | null;
|
|
19149
|
+
total_cents: number | null;
|
|
19150
|
+
unit: string | null;
|
|
19151
|
+
unit_price_cents: number | null;
|
|
19152
|
+
};
|
|
19153
|
+
Insert: {
|
|
19154
|
+
created_at?: string | null;
|
|
19155
|
+
description?: string | null;
|
|
19156
|
+
factuur_id?: string | null;
|
|
19157
|
+
id?: string | null;
|
|
19158
|
+
kind?: string | null;
|
|
19159
|
+
quantity?: number | null;
|
|
19160
|
+
sort_order?: number | null;
|
|
19161
|
+
total_cents?: number | null;
|
|
19162
|
+
unit?: string | null;
|
|
19163
|
+
unit_price_cents?: number | null;
|
|
19164
|
+
};
|
|
19165
|
+
Update: {
|
|
19166
|
+
created_at?: string | null;
|
|
19167
|
+
description?: string | null;
|
|
19168
|
+
factuur_id?: string | null;
|
|
19169
|
+
id?: string | null;
|
|
19170
|
+
kind?: string | null;
|
|
19171
|
+
quantity?: number | null;
|
|
19172
|
+
sort_order?: number | null;
|
|
19173
|
+
total_cents?: number | null;
|
|
19174
|
+
unit?: string | null;
|
|
19175
|
+
unit_price_cents?: number | null;
|
|
19176
|
+
};
|
|
19177
|
+
Relationships: [{
|
|
19178
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
19179
|
+
columns: ["factuur_id"];
|
|
19180
|
+
isOneToOne: false;
|
|
19181
|
+
referencedRelation: "invoices";
|
|
19182
|
+
referencedColumns: ["id"];
|
|
19183
|
+
}, {
|
|
19184
|
+
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
19185
|
+
columns: ["factuur_id"];
|
|
19186
|
+
isOneToOne: false;
|
|
19187
|
+
referencedRelation: "uren_facturen";
|
|
19188
|
+
referencedColumns: ["id"];
|
|
19189
|
+
}];
|
|
19190
|
+
};
|
|
18621
19191
|
v_external_customers_exact: {
|
|
18622
19192
|
Row: {
|
|
18623
19193
|
account_number: string | null;
|
|
@@ -19513,6 +20083,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
19513
20083
|
};
|
|
19514
20084
|
Returns: string;
|
|
19515
20085
|
};
|
|
20086
|
+
employee_day_hours: {
|
|
20087
|
+
Args: {
|
|
20088
|
+
_day: string;
|
|
20089
|
+
_employee_id: string;
|
|
20090
|
+
};
|
|
20091
|
+
Returns: number;
|
|
20092
|
+
};
|
|
19516
20093
|
enqueue_cart_replan_if_unlocked: {
|
|
19517
20094
|
Args: {
|
|
19518
20095
|
p_order_id: string;
|
|
@@ -19837,6 +20414,46 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
19837
20414
|
Args: never;
|
|
19838
20415
|
Returns: boolean;
|
|
19839
20416
|
};
|
|
20417
|
+
invoice_create_from_source: {
|
|
20418
|
+
Args: {
|
|
20419
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
20420
|
+
_source_id: string;
|
|
20421
|
+
_source_type: string;
|
|
20422
|
+
};
|
|
20423
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
20424
|
+
};
|
|
20425
|
+
invoice_get_billable_lines: {
|
|
20426
|
+
Args: {
|
|
20427
|
+
_invoice_id: string;
|
|
20428
|
+
};
|
|
20429
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
20430
|
+
};
|
|
20431
|
+
invoice_get_for_source: {
|
|
20432
|
+
Args: {
|
|
20433
|
+
_source_id: string;
|
|
20434
|
+
_source_type: string;
|
|
20435
|
+
};
|
|
20436
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
20437
|
+
};
|
|
20438
|
+
invoice_get_summary: {
|
|
20439
|
+
Args: {
|
|
20440
|
+
_invoice_id: string;
|
|
20441
|
+
};
|
|
20442
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
20443
|
+
};
|
|
20444
|
+
invoice_list_sources: {
|
|
20445
|
+
Args: {
|
|
20446
|
+
_limit?: number;
|
|
20447
|
+
_source_type?: string;
|
|
20448
|
+
};
|
|
20449
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
20450
|
+
};
|
|
20451
|
+
invoice_recalc_totals: {
|
|
20452
|
+
Args: {
|
|
20453
|
+
_invoice_id: string;
|
|
20454
|
+
};
|
|
20455
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
20456
|
+
};
|
|
19840
20457
|
is_authenticated: {
|
|
19841
20458
|
Args: never;
|
|
19842
20459
|
Returns: boolean;
|
|
@@ -19866,6 +20483,19 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
19866
20483
|
Args: never;
|
|
19867
20484
|
Returns: boolean;
|
|
19868
20485
|
};
|
|
20486
|
+
itk_offerte_naar_werkbon: {
|
|
20487
|
+
Args: {
|
|
20488
|
+
_offerte_id: string;
|
|
20489
|
+
};
|
|
20490
|
+
Returns: string;
|
|
20491
|
+
};
|
|
20492
|
+
itk_offerte_restant_mandaat: {
|
|
20493
|
+
Args: {
|
|
20494
|
+
_exclude_offerte_id?: string;
|
|
20495
|
+
_werkbon_id: string;
|
|
20496
|
+
};
|
|
20497
|
+
Returns: number;
|
|
20498
|
+
};
|
|
19869
20499
|
jwt_has_role: {
|
|
19870
20500
|
Args: {
|
|
19871
20501
|
_role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
@@ -19876,9 +20506,19 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
19876
20506
|
Args: never;
|
|
19877
20507
|
Returns: {
|
|
19878
20508
|
avatar_url: string;
|
|
20509
|
+
color: string;
|
|
19879
20510
|
display_name: string;
|
|
19880
20511
|
email: string;
|
|
20512
|
+
hours_fri: number;
|
|
20513
|
+
hours_mon: number;
|
|
20514
|
+
hours_thu: number;
|
|
20515
|
+
hours_tue: number;
|
|
20516
|
+
hours_wed: number;
|
|
19881
20517
|
id: string;
|
|
20518
|
+
is_active: boolean;
|
|
20519
|
+
leave_balance_hours: number;
|
|
20520
|
+
persnr: string;
|
|
20521
|
+
phone: string;
|
|
19882
20522
|
roles: string[];
|
|
19883
20523
|
}[];
|
|
19884
20524
|
};
|
|
@@ -21049,6 +21689,37 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
21049
21689
|
};
|
|
21050
21690
|
Returns: undefined;
|
|
21051
21691
|
};
|
|
21692
|
+
quote_create_from_source: {
|
|
21693
|
+
Args: {
|
|
21694
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
21695
|
+
_source_id: string;
|
|
21696
|
+
_source_type: string;
|
|
21697
|
+
};
|
|
21698
|
+
Returns: string;
|
|
21699
|
+
};
|
|
21700
|
+
quote_get_billable_lines: {
|
|
21701
|
+
Args: {
|
|
21702
|
+
_quotation_id: string;
|
|
21703
|
+
};
|
|
21704
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21705
|
+
};
|
|
21706
|
+
quote_get_summary: {
|
|
21707
|
+
Args: {
|
|
21708
|
+
_quotation_id: string;
|
|
21709
|
+
};
|
|
21710
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21711
|
+
};
|
|
21712
|
+
quote_list_packages: {
|
|
21713
|
+
Args: never;
|
|
21714
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21715
|
+
};
|
|
21716
|
+
quote_list_sources: {
|
|
21717
|
+
Args: {
|
|
21718
|
+
_limit?: number;
|
|
21719
|
+
_source_type?: string;
|
|
21720
|
+
};
|
|
21721
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21722
|
+
};
|
|
21052
21723
|
recompute_all_reserved_stock: {
|
|
21053
21724
|
Args: never;
|
|
21054
21725
|
Returns: undefined;
|
|
@@ -21584,6 +22255,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
21584
22255
|
};
|
|
21585
22256
|
Returns: undefined;
|
|
21586
22257
|
};
|
|
22258
|
+
sync_sick_time_off: {
|
|
22259
|
+
Args: {
|
|
22260
|
+
_period_id: string;
|
|
22261
|
+
};
|
|
22262
|
+
Returns: number;
|
|
22263
|
+
};
|
|
21587
22264
|
trade_item_stock_duplicates: {
|
|
21588
22265
|
Args: never;
|
|
21589
22266
|
Returns: {
|
|
@@ -21657,6 +22334,26 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
21657
22334
|
Args: never;
|
|
21658
22335
|
Returns: string;
|
|
21659
22336
|
};
|
|
22337
|
+
wo_create_from_source: {
|
|
22338
|
+
Args: {
|
|
22339
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
22340
|
+
_source_id: string;
|
|
22341
|
+
_source_type: string;
|
|
22342
|
+
};
|
|
22343
|
+
Returns: string;
|
|
22344
|
+
};
|
|
22345
|
+
wo_get_billable_lines: {
|
|
22346
|
+
Args: {
|
|
22347
|
+
_work_order_id: string;
|
|
22348
|
+
};
|
|
22349
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22350
|
+
};
|
|
22351
|
+
wo_get_summary: {
|
|
22352
|
+
Args: {
|
|
22353
|
+
_work_order_id: string;
|
|
22354
|
+
};
|
|
22355
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22356
|
+
};
|
|
21660
22357
|
};
|
|
21661
22358
|
Enums: {
|
|
21662
22359
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|