@flowselections/floriday-verkoop-module 1.0.42 → 1.0.44
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/verkoop/SalesOrdersTable.d.ts +5 -2
- package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrdersTable.js +27 -13
- package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
- package/dist-lib/components/verkoop/VerkoopOrdersPage.js +114 -35
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +571 -12
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +571 -12
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +571 -12
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +594 -13
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +3 -0
- package/dist-lib/lib/cart-lock.functions.d.ts +571 -12
- package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-planning-settings.functions.d.ts +6281 -132
- package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.d.ts +1713 -36
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.d.ts +31355 -193
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.js +18 -1
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +1713 -36
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +571 -12
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.d.ts +571 -12
- package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.js +6 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +3997 -84
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +2855 -60
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/invoice-timing.functions.d.ts +2284 -48
- package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
- package/dist-lib/lib/invoice-timing.server.d.ts.map +1 -1
- package/dist-lib/lib/invoice-timing.server.js +1 -0
- package/dist-lib/lib/load-carriers.functions.d.ts +571 -12
- package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-engine.functions.d.ts +2855 -60
- package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-stock.functions.d.ts +1142 -24
- package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-addresses.functions.d.ts +571 -12
- package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-buffers.functions.d.ts +1713 -36
- package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-cancel.server.d.ts +24 -0
- package/dist-lib/lib/order-cancel.server.d.ts.map +1 -0
- package/dist-lib/lib/order-cancel.server.js +130 -0
- package/dist-lib/lib/order-carrier.functions.d.ts +1142 -24
- package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-pickup.functions.d.ts +1142 -24
- package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-shipments.functions.d.ts +2284 -48
- package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.functions.d.ts +571 -12
- package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.server.js +4 -60
- package/dist-lib/lib/salesorders.functions.d.ts +2855 -60
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/tradeitems.functions.d.ts +571 -12
- package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -5045,6 +5045,42 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
5045
5045
|
};
|
|
5046
5046
|
Relationships: [];
|
|
5047
5047
|
};
|
|
5048
|
+
facturen: {
|
|
5049
|
+
Row: {
|
|
5050
|
+
bedrag_incl_btw: number;
|
|
5051
|
+
created_at: string;
|
|
5052
|
+
datum: string;
|
|
5053
|
+
factuurnummer: string;
|
|
5054
|
+
id: string;
|
|
5055
|
+
klantnaam: string;
|
|
5056
|
+
status: string;
|
|
5057
|
+
updated_at: string;
|
|
5058
|
+
user_id: string;
|
|
5059
|
+
};
|
|
5060
|
+
Insert: {
|
|
5061
|
+
bedrag_incl_btw: number;
|
|
5062
|
+
created_at?: string;
|
|
5063
|
+
datum?: string;
|
|
5064
|
+
factuurnummer: string;
|
|
5065
|
+
id?: string;
|
|
5066
|
+
klantnaam: string;
|
|
5067
|
+
status?: string;
|
|
5068
|
+
updated_at?: string;
|
|
5069
|
+
user_id?: string;
|
|
5070
|
+
};
|
|
5071
|
+
Update: {
|
|
5072
|
+
bedrag_incl_btw?: number;
|
|
5073
|
+
created_at?: string;
|
|
5074
|
+
datum?: string;
|
|
5075
|
+
factuurnummer?: string;
|
|
5076
|
+
id?: string;
|
|
5077
|
+
klantnaam?: string;
|
|
5078
|
+
status?: string;
|
|
5079
|
+
updated_at?: string;
|
|
5080
|
+
user_id?: string;
|
|
5081
|
+
};
|
|
5082
|
+
Relationships: [];
|
|
5083
|
+
};
|
|
5048
5084
|
floricode_connection_settings: {
|
|
5049
5085
|
Row: {
|
|
5050
5086
|
catalog_key: string | null;
|
|
@@ -7769,6 +7805,258 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
7769
7805
|
};
|
|
7770
7806
|
Relationships: [];
|
|
7771
7807
|
};
|
|
7808
|
+
itk_offerte_events: {
|
|
7809
|
+
Row: {
|
|
7810
|
+
created_at: string;
|
|
7811
|
+
event_type: string;
|
|
7812
|
+
id: string;
|
|
7813
|
+
metadata: import("../integrations/supabase/types").Json;
|
|
7814
|
+
offerte_id: string;
|
|
7815
|
+
omschrijving: string | null;
|
|
7816
|
+
user_id: string | null;
|
|
7817
|
+
};
|
|
7818
|
+
Insert: {
|
|
7819
|
+
created_at?: string;
|
|
7820
|
+
event_type: string;
|
|
7821
|
+
id?: string;
|
|
7822
|
+
metadata?: import("../integrations/supabase/types").Json;
|
|
7823
|
+
offerte_id: string;
|
|
7824
|
+
omschrijving?: string | null;
|
|
7825
|
+
user_id?: string | null;
|
|
7826
|
+
};
|
|
7827
|
+
Update: {
|
|
7828
|
+
created_at?: string;
|
|
7829
|
+
event_type?: string;
|
|
7830
|
+
id?: string;
|
|
7831
|
+
metadata?: import("../integrations/supabase/types").Json;
|
|
7832
|
+
offerte_id?: string;
|
|
7833
|
+
omschrijving?: string | null;
|
|
7834
|
+
user_id?: string | null;
|
|
7835
|
+
};
|
|
7836
|
+
Relationships: [{
|
|
7837
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
7838
|
+
columns: ["offerte_id"];
|
|
7839
|
+
isOneToOne: false;
|
|
7840
|
+
referencedRelation: "itk_offertes";
|
|
7841
|
+
referencedColumns: ["id"];
|
|
7842
|
+
}];
|
|
7843
|
+
};
|
|
7844
|
+
itk_offerte_regels: {
|
|
7845
|
+
Row: {
|
|
7846
|
+
created_at: string;
|
|
7847
|
+
id: string;
|
|
7848
|
+
line_total_cents: number;
|
|
7849
|
+
offerte_id: string;
|
|
7850
|
+
omschrijving: string;
|
|
7851
|
+
package_id: string | null;
|
|
7852
|
+
quantity: number;
|
|
7853
|
+
sort_order: number;
|
|
7854
|
+
source: string;
|
|
7855
|
+
unit_price_cents: number;
|
|
7856
|
+
updated_at: string;
|
|
7857
|
+
};
|
|
7858
|
+
Insert: {
|
|
7859
|
+
created_at?: string;
|
|
7860
|
+
id?: string;
|
|
7861
|
+
line_total_cents?: number;
|
|
7862
|
+
offerte_id: string;
|
|
7863
|
+
omschrijving?: string;
|
|
7864
|
+
package_id?: string | null;
|
|
7865
|
+
quantity?: number;
|
|
7866
|
+
sort_order?: number;
|
|
7867
|
+
source?: string;
|
|
7868
|
+
unit_price_cents?: number;
|
|
7869
|
+
updated_at?: string;
|
|
7870
|
+
};
|
|
7871
|
+
Update: {
|
|
7872
|
+
created_at?: string;
|
|
7873
|
+
id?: string;
|
|
7874
|
+
line_total_cents?: number;
|
|
7875
|
+
offerte_id?: string;
|
|
7876
|
+
omschrijving?: string;
|
|
7877
|
+
package_id?: string | null;
|
|
7878
|
+
quantity?: number;
|
|
7879
|
+
sort_order?: number;
|
|
7880
|
+
source?: string;
|
|
7881
|
+
unit_price_cents?: number;
|
|
7882
|
+
updated_at?: string;
|
|
7883
|
+
};
|
|
7884
|
+
Relationships: [{
|
|
7885
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
7886
|
+
columns: ["offerte_id"];
|
|
7887
|
+
isOneToOne: false;
|
|
7888
|
+
referencedRelation: "itk_offertes";
|
|
7889
|
+
referencedColumns: ["id"];
|
|
7890
|
+
}, {
|
|
7891
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
7892
|
+
columns: ["package_id"];
|
|
7893
|
+
isOneToOne: false;
|
|
7894
|
+
referencedRelation: "werkbon_packages";
|
|
7895
|
+
referencedColumns: ["id"];
|
|
7896
|
+
}];
|
|
7897
|
+
};
|
|
7898
|
+
itk_offerte_settings: {
|
|
7899
|
+
Row: {
|
|
7900
|
+
auto_convert_binnen_mandaat: boolean;
|
|
7901
|
+
created_at: string;
|
|
7902
|
+
default_geldigheid_dagen: number;
|
|
7903
|
+
default_vat_rate: number;
|
|
7904
|
+
id: string;
|
|
7905
|
+
singleton: boolean;
|
|
7906
|
+
updated_at: string;
|
|
7907
|
+
};
|
|
7908
|
+
Insert: {
|
|
7909
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
7910
|
+
created_at?: string;
|
|
7911
|
+
default_geldigheid_dagen?: number;
|
|
7912
|
+
default_vat_rate?: number;
|
|
7913
|
+
id?: string;
|
|
7914
|
+
singleton?: boolean;
|
|
7915
|
+
updated_at?: string;
|
|
7916
|
+
};
|
|
7917
|
+
Update: {
|
|
7918
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
7919
|
+
created_at?: string;
|
|
7920
|
+
default_geldigheid_dagen?: number;
|
|
7921
|
+
default_vat_rate?: number;
|
|
7922
|
+
id?: string;
|
|
7923
|
+
singleton?: boolean;
|
|
7924
|
+
updated_at?: string;
|
|
7925
|
+
};
|
|
7926
|
+
Relationships: [];
|
|
7927
|
+
};
|
|
7928
|
+
itk_offertes: {
|
|
7929
|
+
Row: {
|
|
7930
|
+
ai_generated: boolean;
|
|
7931
|
+
approved_at: string | null;
|
|
7932
|
+
binnen_mandaat: boolean;
|
|
7933
|
+
contact_id: string | null;
|
|
7934
|
+
converted_at: string | null;
|
|
7935
|
+
created_at: string;
|
|
7936
|
+
created_by: string | null;
|
|
7937
|
+
customer_id: string | null;
|
|
7938
|
+
follow_up_werkbon_id: string | null;
|
|
7939
|
+
id: string;
|
|
7940
|
+
jaar: number;
|
|
7941
|
+
mandaat_restant_cents: number;
|
|
7942
|
+
notities: string | null;
|
|
7943
|
+
offerte_number: string | null;
|
|
7944
|
+
omschrijving: string;
|
|
7945
|
+
rejected_at: string | null;
|
|
7946
|
+
sent_at: string | null;
|
|
7947
|
+
source_number: string | null;
|
|
7948
|
+
source_ref: string | null;
|
|
7949
|
+
source_type: string;
|
|
7950
|
+
status: string;
|
|
7951
|
+
subtotal_cents: number;
|
|
7952
|
+
total_cents: number;
|
|
7953
|
+
updated_at: string;
|
|
7954
|
+
valid_until: string | null;
|
|
7955
|
+
vat_cents: number;
|
|
7956
|
+
vat_rate: number;
|
|
7957
|
+
viewed_at: string | null;
|
|
7958
|
+
volgnummer: number | null;
|
|
7959
|
+
werkbon_id: string | null;
|
|
7960
|
+
work_location_id: string | null;
|
|
7961
|
+
};
|
|
7962
|
+
Insert: {
|
|
7963
|
+
ai_generated?: boolean;
|
|
7964
|
+
approved_at?: string | null;
|
|
7965
|
+
binnen_mandaat?: boolean;
|
|
7966
|
+
contact_id?: string | null;
|
|
7967
|
+
converted_at?: string | null;
|
|
7968
|
+
created_at?: string;
|
|
7969
|
+
created_by?: string | null;
|
|
7970
|
+
customer_id?: string | null;
|
|
7971
|
+
follow_up_werkbon_id?: string | null;
|
|
7972
|
+
id?: string;
|
|
7973
|
+
jaar?: number;
|
|
7974
|
+
mandaat_restant_cents?: number;
|
|
7975
|
+
notities?: string | null;
|
|
7976
|
+
offerte_number?: string | null;
|
|
7977
|
+
omschrijving?: string;
|
|
7978
|
+
rejected_at?: string | null;
|
|
7979
|
+
sent_at?: string | null;
|
|
7980
|
+
source_number?: string | null;
|
|
7981
|
+
source_ref?: string | null;
|
|
7982
|
+
source_type?: string;
|
|
7983
|
+
status?: string;
|
|
7984
|
+
subtotal_cents?: number;
|
|
7985
|
+
total_cents?: number;
|
|
7986
|
+
updated_at?: string;
|
|
7987
|
+
valid_until?: string | null;
|
|
7988
|
+
vat_cents?: number;
|
|
7989
|
+
vat_rate?: number;
|
|
7990
|
+
viewed_at?: string | null;
|
|
7991
|
+
volgnummer?: number | null;
|
|
7992
|
+
werkbon_id?: string | null;
|
|
7993
|
+
work_location_id?: string | null;
|
|
7994
|
+
};
|
|
7995
|
+
Update: {
|
|
7996
|
+
ai_generated?: boolean;
|
|
7997
|
+
approved_at?: string | null;
|
|
7998
|
+
binnen_mandaat?: boolean;
|
|
7999
|
+
contact_id?: string | null;
|
|
8000
|
+
converted_at?: string | null;
|
|
8001
|
+
created_at?: string;
|
|
8002
|
+
created_by?: string | null;
|
|
8003
|
+
customer_id?: string | null;
|
|
8004
|
+
follow_up_werkbon_id?: string | null;
|
|
8005
|
+
id?: string;
|
|
8006
|
+
jaar?: number;
|
|
8007
|
+
mandaat_restant_cents?: number;
|
|
8008
|
+
notities?: string | null;
|
|
8009
|
+
offerte_number?: string | null;
|
|
8010
|
+
omschrijving?: string;
|
|
8011
|
+
rejected_at?: string | null;
|
|
8012
|
+
sent_at?: string | null;
|
|
8013
|
+
source_number?: string | null;
|
|
8014
|
+
source_ref?: string | null;
|
|
8015
|
+
source_type?: string;
|
|
8016
|
+
status?: string;
|
|
8017
|
+
subtotal_cents?: number;
|
|
8018
|
+
total_cents?: number;
|
|
8019
|
+
updated_at?: string;
|
|
8020
|
+
valid_until?: string | null;
|
|
8021
|
+
vat_cents?: number;
|
|
8022
|
+
vat_rate?: number;
|
|
8023
|
+
viewed_at?: string | null;
|
|
8024
|
+
volgnummer?: number | null;
|
|
8025
|
+
werkbon_id?: string | null;
|
|
8026
|
+
work_location_id?: string | null;
|
|
8027
|
+
};
|
|
8028
|
+
Relationships: [{
|
|
8029
|
+
foreignKeyName: "itk_offertes_contact_id_fkey";
|
|
8030
|
+
columns: ["contact_id"];
|
|
8031
|
+
isOneToOne: false;
|
|
8032
|
+
referencedRelation: "itk_contact_persons";
|
|
8033
|
+
referencedColumns: ["id"];
|
|
8034
|
+
}, {
|
|
8035
|
+
foreignKeyName: "itk_offertes_customer_id_fkey";
|
|
8036
|
+
columns: ["customer_id"];
|
|
8037
|
+
isOneToOne: false;
|
|
8038
|
+
referencedRelation: "itk_customers";
|
|
8039
|
+
referencedColumns: ["id"];
|
|
8040
|
+
}, {
|
|
8041
|
+
foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
|
|
8042
|
+
columns: ["follow_up_werkbon_id"];
|
|
8043
|
+
isOneToOne: false;
|
|
8044
|
+
referencedRelation: "werkbonnen";
|
|
8045
|
+
referencedColumns: ["id"];
|
|
8046
|
+
}, {
|
|
8047
|
+
foreignKeyName: "itk_offertes_werkbon_id_fkey";
|
|
8048
|
+
columns: ["werkbon_id"];
|
|
8049
|
+
isOneToOne: false;
|
|
8050
|
+
referencedRelation: "werkbonnen";
|
|
8051
|
+
referencedColumns: ["id"];
|
|
8052
|
+
}, {
|
|
8053
|
+
foreignKeyName: "itk_offertes_work_location_id_fkey";
|
|
8054
|
+
columns: ["work_location_id"];
|
|
8055
|
+
isOneToOne: false;
|
|
8056
|
+
referencedRelation: "itk_work_locations";
|
|
8057
|
+
referencedColumns: ["id"];
|
|
8058
|
+
}];
|
|
8059
|
+
};
|
|
7772
8060
|
itk_work_locations: {
|
|
7773
8061
|
Row: {
|
|
7774
8062
|
city: string | null;
|
|
@@ -10142,6 +10430,63 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
10142
10430
|
referencedColumns: ["id"];
|
|
10143
10431
|
}];
|
|
10144
10432
|
};
|
|
10433
|
+
medewerker_details: {
|
|
10434
|
+
Row: {
|
|
10435
|
+
color: string | null;
|
|
10436
|
+
created_at: string;
|
|
10437
|
+
hours_fri: number | null;
|
|
10438
|
+
hours_mon: number | null;
|
|
10439
|
+
hours_thu: number | null;
|
|
10440
|
+
hours_tue: number | null;
|
|
10441
|
+
hours_wed: number | null;
|
|
10442
|
+
id: string;
|
|
10443
|
+
is_active: boolean;
|
|
10444
|
+
leave_balance_hours: number;
|
|
10445
|
+
persnr: string | null;
|
|
10446
|
+
phone: string | null;
|
|
10447
|
+
profile_id: string;
|
|
10448
|
+
updated_at: string;
|
|
10449
|
+
};
|
|
10450
|
+
Insert: {
|
|
10451
|
+
color?: string | null;
|
|
10452
|
+
created_at?: string;
|
|
10453
|
+
hours_fri?: number | null;
|
|
10454
|
+
hours_mon?: number | null;
|
|
10455
|
+
hours_thu?: number | null;
|
|
10456
|
+
hours_tue?: number | null;
|
|
10457
|
+
hours_wed?: number | null;
|
|
10458
|
+
id?: string;
|
|
10459
|
+
is_active?: boolean;
|
|
10460
|
+
leave_balance_hours?: number;
|
|
10461
|
+
persnr?: string | null;
|
|
10462
|
+
phone?: string | null;
|
|
10463
|
+
profile_id: string;
|
|
10464
|
+
updated_at?: string;
|
|
10465
|
+
};
|
|
10466
|
+
Update: {
|
|
10467
|
+
color?: string | null;
|
|
10468
|
+
created_at?: string;
|
|
10469
|
+
hours_fri?: number | null;
|
|
10470
|
+
hours_mon?: number | null;
|
|
10471
|
+
hours_thu?: number | null;
|
|
10472
|
+
hours_tue?: number | null;
|
|
10473
|
+
hours_wed?: number | null;
|
|
10474
|
+
id?: string;
|
|
10475
|
+
is_active?: boolean;
|
|
10476
|
+
leave_balance_hours?: number;
|
|
10477
|
+
persnr?: string | null;
|
|
10478
|
+
phone?: string | null;
|
|
10479
|
+
profile_id?: string;
|
|
10480
|
+
updated_at?: string;
|
|
10481
|
+
};
|
|
10482
|
+
Relationships: [{
|
|
10483
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
10484
|
+
columns: ["profile_id"];
|
|
10485
|
+
isOneToOne: true;
|
|
10486
|
+
referencedRelation: "profiles";
|
|
10487
|
+
referencedColumns: ["id"];
|
|
10488
|
+
}];
|
|
10489
|
+
};
|
|
10145
10490
|
module_features: {
|
|
10146
10491
|
Row: {
|
|
10147
10492
|
created_at: string;
|
|
@@ -11435,6 +11780,8 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
11435
11780
|
orders: {
|
|
11436
11781
|
Row: {
|
|
11437
11782
|
buffer_id: string | null;
|
|
11783
|
+
cancel_reason: string | null;
|
|
11784
|
+
cancelled_at: string | null;
|
|
11438
11785
|
created_at: string;
|
|
11439
11786
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
11440
11787
|
customer_id: string | null;
|
|
@@ -11457,6 +11804,8 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
11457
11804
|
};
|
|
11458
11805
|
Insert: {
|
|
11459
11806
|
buffer_id?: string | null;
|
|
11807
|
+
cancel_reason?: string | null;
|
|
11808
|
+
cancelled_at?: string | null;
|
|
11460
11809
|
created_at?: string;
|
|
11461
11810
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
11462
11811
|
customer_id?: string | null;
|
|
@@ -11479,6 +11828,8 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
11479
11828
|
};
|
|
11480
11829
|
Update: {
|
|
11481
11830
|
buffer_id?: string | null;
|
|
11831
|
+
cancel_reason?: string | null;
|
|
11832
|
+
cancelled_at?: string | null;
|
|
11482
11833
|
created_at?: string;
|
|
11483
11834
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
11484
11835
|
customer_id?: string | null;
|
|
@@ -13541,6 +13892,66 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
13541
13892
|
};
|
|
13542
13893
|
Relationships: [];
|
|
13543
13894
|
};
|
|
13895
|
+
profile_modules: {
|
|
13896
|
+
Row: {
|
|
13897
|
+
created_at: string;
|
|
13898
|
+
id: string;
|
|
13899
|
+
module_id: string;
|
|
13900
|
+
profile_id: string;
|
|
13901
|
+
};
|
|
13902
|
+
Insert: {
|
|
13903
|
+
created_at?: string;
|
|
13904
|
+
id?: string;
|
|
13905
|
+
module_id: string;
|
|
13906
|
+
profile_id: string;
|
|
13907
|
+
};
|
|
13908
|
+
Update: {
|
|
13909
|
+
created_at?: string;
|
|
13910
|
+
id?: string;
|
|
13911
|
+
module_id?: string;
|
|
13912
|
+
profile_id?: string;
|
|
13913
|
+
};
|
|
13914
|
+
Relationships: [{
|
|
13915
|
+
foreignKeyName: "profile_modules_profile_id_fkey";
|
|
13916
|
+
columns: ["profile_id"];
|
|
13917
|
+
isOneToOne: false;
|
|
13918
|
+
referencedRelation: "profiles_org";
|
|
13919
|
+
referencedColumns: ["id"];
|
|
13920
|
+
}];
|
|
13921
|
+
};
|
|
13922
|
+
profile_roles: {
|
|
13923
|
+
Row: {
|
|
13924
|
+
created_at: string;
|
|
13925
|
+
id: string;
|
|
13926
|
+
profile_id: string;
|
|
13927
|
+
role_id: string;
|
|
13928
|
+
};
|
|
13929
|
+
Insert: {
|
|
13930
|
+
created_at?: string;
|
|
13931
|
+
id?: string;
|
|
13932
|
+
profile_id: string;
|
|
13933
|
+
role_id: string;
|
|
13934
|
+
};
|
|
13935
|
+
Update: {
|
|
13936
|
+
created_at?: string;
|
|
13937
|
+
id?: string;
|
|
13938
|
+
profile_id?: string;
|
|
13939
|
+
role_id?: string;
|
|
13940
|
+
};
|
|
13941
|
+
Relationships: [{
|
|
13942
|
+
foreignKeyName: "profile_roles_profile_id_fkey";
|
|
13943
|
+
columns: ["profile_id"];
|
|
13944
|
+
isOneToOne: false;
|
|
13945
|
+
referencedRelation: "profiles_org";
|
|
13946
|
+
referencedColumns: ["id"];
|
|
13947
|
+
}, {
|
|
13948
|
+
foreignKeyName: "profile_roles_role_id_fkey";
|
|
13949
|
+
columns: ["role_id"];
|
|
13950
|
+
isOneToOne: false;
|
|
13951
|
+
referencedRelation: "roles";
|
|
13952
|
+
referencedColumns: ["id"];
|
|
13953
|
+
}];
|
|
13954
|
+
};
|
|
13544
13955
|
profiles: {
|
|
13545
13956
|
Row: {
|
|
13546
13957
|
address: string | null;
|
|
@@ -13586,6 +13997,39 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
13586
13997
|
referencedColumns: ["id"];
|
|
13587
13998
|
}];
|
|
13588
13999
|
};
|
|
14000
|
+
profiles_org: {
|
|
14001
|
+
Row: {
|
|
14002
|
+
created_at: string;
|
|
14003
|
+
id: string;
|
|
14004
|
+
is_default: boolean;
|
|
14005
|
+
name: string;
|
|
14006
|
+
tenant_id: string | null;
|
|
14007
|
+
updated_at: string;
|
|
14008
|
+
};
|
|
14009
|
+
Insert: {
|
|
14010
|
+
created_at?: string;
|
|
14011
|
+
id?: string;
|
|
14012
|
+
is_default?: boolean;
|
|
14013
|
+
name: string;
|
|
14014
|
+
tenant_id?: string | null;
|
|
14015
|
+
updated_at?: string;
|
|
14016
|
+
};
|
|
14017
|
+
Update: {
|
|
14018
|
+
created_at?: string;
|
|
14019
|
+
id?: string;
|
|
14020
|
+
is_default?: boolean;
|
|
14021
|
+
name?: string;
|
|
14022
|
+
tenant_id?: string | null;
|
|
14023
|
+
updated_at?: string;
|
|
14024
|
+
};
|
|
14025
|
+
Relationships: [{
|
|
14026
|
+
foreignKeyName: "profiles_org_tenant_id_fkey";
|
|
14027
|
+
columns: ["tenant_id"];
|
|
14028
|
+
isOneToOne: false;
|
|
14029
|
+
referencedRelation: "tenants";
|
|
14030
|
+
referencedColumns: ["id"];
|
|
14031
|
+
}];
|
|
14032
|
+
};
|
|
13589
14033
|
projects: {
|
|
13590
14034
|
Row: {
|
|
13591
14035
|
contact_name: string | null;
|
|
@@ -14760,6 +15204,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
14760
15204
|
type: string;
|
|
14761
15205
|
updated_at: string;
|
|
14762
15206
|
vereist_medewerker: boolean;
|
|
15207
|
+
werkplek: string | null;
|
|
14763
15208
|
};
|
|
14764
15209
|
Insert: {
|
|
14765
15210
|
actief?: boolean;
|
|
@@ -14773,6 +15218,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
14773
15218
|
type?: string;
|
|
14774
15219
|
updated_at?: string;
|
|
14775
15220
|
vereist_medewerker?: boolean;
|
|
15221
|
+
werkplek?: string | null;
|
|
14776
15222
|
};
|
|
14777
15223
|
Update: {
|
|
14778
15224
|
actief?: boolean;
|
|
@@ -14786,9 +15232,46 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
14786
15232
|
type?: string;
|
|
14787
15233
|
updated_at?: string;
|
|
14788
15234
|
vereist_medewerker?: boolean;
|
|
15235
|
+
werkplek?: string | null;
|
|
14789
15236
|
};
|
|
14790
15237
|
Relationships: [];
|
|
14791
15238
|
};
|
|
15239
|
+
sick_periods: {
|
|
15240
|
+
Row: {
|
|
15241
|
+
created_at: string;
|
|
15242
|
+
employee_id: string;
|
|
15243
|
+
end_date: string | null;
|
|
15244
|
+
id: string;
|
|
15245
|
+
notes: string | null;
|
|
15246
|
+
start_date: string;
|
|
15247
|
+
updated_at: string;
|
|
15248
|
+
};
|
|
15249
|
+
Insert: {
|
|
15250
|
+
created_at?: string;
|
|
15251
|
+
employee_id: string;
|
|
15252
|
+
end_date?: string | null;
|
|
15253
|
+
id?: string;
|
|
15254
|
+
notes?: string | null;
|
|
15255
|
+
start_date: string;
|
|
15256
|
+
updated_at?: string;
|
|
15257
|
+
};
|
|
15258
|
+
Update: {
|
|
15259
|
+
created_at?: string;
|
|
15260
|
+
employee_id?: string;
|
|
15261
|
+
end_date?: string | null;
|
|
15262
|
+
id?: string;
|
|
15263
|
+
notes?: string | null;
|
|
15264
|
+
start_date?: string;
|
|
15265
|
+
updated_at?: string;
|
|
15266
|
+
};
|
|
15267
|
+
Relationships: [{
|
|
15268
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
15269
|
+
columns: ["employee_id"];
|
|
15270
|
+
isOneToOne: false;
|
|
15271
|
+
referencedRelation: "profiles";
|
|
15272
|
+
referencedColumns: ["id"];
|
|
15273
|
+
}];
|
|
15274
|
+
};
|
|
14792
15275
|
sidebar_config: {
|
|
14793
15276
|
Row: {
|
|
14794
15277
|
id: string;
|
|
@@ -19473,6 +19956,13 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
19473
19956
|
};
|
|
19474
19957
|
Returns: string;
|
|
19475
19958
|
};
|
|
19959
|
+
employee_day_hours: {
|
|
19960
|
+
Args: {
|
|
19961
|
+
_day: string;
|
|
19962
|
+
_employee_id: string;
|
|
19963
|
+
};
|
|
19964
|
+
Returns: number;
|
|
19965
|
+
};
|
|
19476
19966
|
enqueue_cart_replan_if_unlocked: {
|
|
19477
19967
|
Args: {
|
|
19478
19968
|
p_order_id: string;
|
|
@@ -19826,6 +20316,19 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
19826
20316
|
Args: never;
|
|
19827
20317
|
Returns: boolean;
|
|
19828
20318
|
};
|
|
20319
|
+
itk_offerte_naar_werkbon: {
|
|
20320
|
+
Args: {
|
|
20321
|
+
_offerte_id: string;
|
|
20322
|
+
};
|
|
20323
|
+
Returns: string;
|
|
20324
|
+
};
|
|
20325
|
+
itk_offerte_restant_mandaat: {
|
|
20326
|
+
Args: {
|
|
20327
|
+
_exclude_offerte_id?: string;
|
|
20328
|
+
_werkbon_id: string;
|
|
20329
|
+
};
|
|
20330
|
+
Returns: number;
|
|
20331
|
+
};
|
|
19829
20332
|
jwt_has_role: {
|
|
19830
20333
|
Args: {
|
|
19831
20334
|
_role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
@@ -19836,9 +20339,19 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
19836
20339
|
Args: never;
|
|
19837
20340
|
Returns: {
|
|
19838
20341
|
avatar_url: string;
|
|
20342
|
+
color: string;
|
|
19839
20343
|
display_name: string;
|
|
19840
20344
|
email: string;
|
|
20345
|
+
hours_fri: number;
|
|
20346
|
+
hours_mon: number;
|
|
20347
|
+
hours_thu: number;
|
|
20348
|
+
hours_tue: number;
|
|
20349
|
+
hours_wed: number;
|
|
19841
20350
|
id: string;
|
|
20351
|
+
is_active: boolean;
|
|
20352
|
+
leave_balance_hours: number;
|
|
20353
|
+
persnr: string;
|
|
20354
|
+
phone: string;
|
|
19842
20355
|
roles: string[];
|
|
19843
20356
|
}[];
|
|
19844
20357
|
};
|
|
@@ -20165,17 +20678,6 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
20165
20678
|
Returns: string;
|
|
20166
20679
|
};
|
|
20167
20680
|
logistics_emit_event: {
|
|
20168
|
-
Args: {
|
|
20169
|
-
p_event_type: string;
|
|
20170
|
-
p_idempotency_key?: string;
|
|
20171
|
-
p_order_ref: string;
|
|
20172
|
-
p_payload?: import("../integrations/supabase/types").Json;
|
|
20173
|
-
p_shadow?: boolean;
|
|
20174
|
-
p_source_module: string;
|
|
20175
|
-
p_strategy_id?: string;
|
|
20176
|
-
};
|
|
20177
|
-
Returns: import("../integrations/supabase/types").Json;
|
|
20178
|
-
} | {
|
|
20179
20681
|
Args: {
|
|
20180
20682
|
p_event_type: string;
|
|
20181
20683
|
p_idempotency_key?: string;
|
|
@@ -21020,6 +21522,37 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
21020
21522
|
};
|
|
21021
21523
|
Returns: undefined;
|
|
21022
21524
|
};
|
|
21525
|
+
quote_create_from_source: {
|
|
21526
|
+
Args: {
|
|
21527
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
21528
|
+
_source_id: string;
|
|
21529
|
+
_source_type: string;
|
|
21530
|
+
};
|
|
21531
|
+
Returns: string;
|
|
21532
|
+
};
|
|
21533
|
+
quote_get_billable_lines: {
|
|
21534
|
+
Args: {
|
|
21535
|
+
_quotation_id: string;
|
|
21536
|
+
};
|
|
21537
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21538
|
+
};
|
|
21539
|
+
quote_get_summary: {
|
|
21540
|
+
Args: {
|
|
21541
|
+
_quotation_id: string;
|
|
21542
|
+
};
|
|
21543
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21544
|
+
};
|
|
21545
|
+
quote_list_packages: {
|
|
21546
|
+
Args: never;
|
|
21547
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21548
|
+
};
|
|
21549
|
+
quote_list_sources: {
|
|
21550
|
+
Args: {
|
|
21551
|
+
_limit?: number;
|
|
21552
|
+
_source_type?: string;
|
|
21553
|
+
};
|
|
21554
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21555
|
+
};
|
|
21023
21556
|
recompute_all_reserved_stock: {
|
|
21024
21557
|
Args: never;
|
|
21025
21558
|
Returns: undefined;
|
|
@@ -21555,6 +22088,12 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
21555
22088
|
};
|
|
21556
22089
|
Returns: undefined;
|
|
21557
22090
|
};
|
|
22091
|
+
sync_sick_time_off: {
|
|
22092
|
+
Args: {
|
|
22093
|
+
_period_id: string;
|
|
22094
|
+
};
|
|
22095
|
+
Returns: number;
|
|
22096
|
+
};
|
|
21558
22097
|
trade_item_stock_duplicates: {
|
|
21559
22098
|
Args: never;
|
|
21560
22099
|
Returns: {
|
|
@@ -21628,11 +22167,31 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
|
|
|
21628
22167
|
Args: never;
|
|
21629
22168
|
Returns: string;
|
|
21630
22169
|
};
|
|
22170
|
+
wo_create_from_source: {
|
|
22171
|
+
Args: {
|
|
22172
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
22173
|
+
_source_id: string;
|
|
22174
|
+
_source_type: string;
|
|
22175
|
+
};
|
|
22176
|
+
Returns: string;
|
|
22177
|
+
};
|
|
22178
|
+
wo_get_billable_lines: {
|
|
22179
|
+
Args: {
|
|
22180
|
+
_work_order_id: string;
|
|
22181
|
+
};
|
|
22182
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22183
|
+
};
|
|
22184
|
+
wo_get_summary: {
|
|
22185
|
+
Args: {
|
|
22186
|
+
_work_order_id: string;
|
|
22187
|
+
};
|
|
22188
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22189
|
+
};
|
|
21631
22190
|
};
|
|
21632
22191
|
Enums: {
|
|
21633
22192
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
21634
22193
|
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
21635
|
-
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
22194
|
+
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
|
|
21636
22195
|
doc_orientation: "portrait" | "landscape";
|
|
21637
22196
|
exact_env: "staging" | "live";
|
|
21638
22197
|
exact_push_status: "pending" | "sent" | "error";
|
|
@@ -26704,6 +27263,42 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
26704
27263
|
};
|
|
26705
27264
|
Relationships: [];
|
|
26706
27265
|
};
|
|
27266
|
+
facturen: {
|
|
27267
|
+
Row: {
|
|
27268
|
+
bedrag_incl_btw: number;
|
|
27269
|
+
created_at: string;
|
|
27270
|
+
datum: string;
|
|
27271
|
+
factuurnummer: string;
|
|
27272
|
+
id: string;
|
|
27273
|
+
klantnaam: string;
|
|
27274
|
+
status: string;
|
|
27275
|
+
updated_at: string;
|
|
27276
|
+
user_id: string;
|
|
27277
|
+
};
|
|
27278
|
+
Insert: {
|
|
27279
|
+
bedrag_incl_btw: number;
|
|
27280
|
+
created_at?: string;
|
|
27281
|
+
datum?: string;
|
|
27282
|
+
factuurnummer: string;
|
|
27283
|
+
id?: string;
|
|
27284
|
+
klantnaam: string;
|
|
27285
|
+
status?: string;
|
|
27286
|
+
updated_at?: string;
|
|
27287
|
+
user_id?: string;
|
|
27288
|
+
};
|
|
27289
|
+
Update: {
|
|
27290
|
+
bedrag_incl_btw?: number;
|
|
27291
|
+
created_at?: string;
|
|
27292
|
+
datum?: string;
|
|
27293
|
+
factuurnummer?: string;
|
|
27294
|
+
id?: string;
|
|
27295
|
+
klantnaam?: string;
|
|
27296
|
+
status?: string;
|
|
27297
|
+
updated_at?: string;
|
|
27298
|
+
user_id?: string;
|
|
27299
|
+
};
|
|
27300
|
+
Relationships: [];
|
|
27301
|
+
};
|
|
26707
27302
|
floricode_connection_settings: {
|
|
26708
27303
|
Row: {
|
|
26709
27304
|
catalog_key: string | null;
|
|
@@ -29428,6 +30023,258 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
29428
30023
|
};
|
|
29429
30024
|
Relationships: [];
|
|
29430
30025
|
};
|
|
30026
|
+
itk_offerte_events: {
|
|
30027
|
+
Row: {
|
|
30028
|
+
created_at: string;
|
|
30029
|
+
event_type: string;
|
|
30030
|
+
id: string;
|
|
30031
|
+
metadata: import("../integrations/supabase/types").Json;
|
|
30032
|
+
offerte_id: string;
|
|
30033
|
+
omschrijving: string | null;
|
|
30034
|
+
user_id: string | null;
|
|
30035
|
+
};
|
|
30036
|
+
Insert: {
|
|
30037
|
+
created_at?: string;
|
|
30038
|
+
event_type: string;
|
|
30039
|
+
id?: string;
|
|
30040
|
+
metadata?: import("../integrations/supabase/types").Json;
|
|
30041
|
+
offerte_id: string;
|
|
30042
|
+
omschrijving?: string | null;
|
|
30043
|
+
user_id?: string | null;
|
|
30044
|
+
};
|
|
30045
|
+
Update: {
|
|
30046
|
+
created_at?: string;
|
|
30047
|
+
event_type?: string;
|
|
30048
|
+
id?: string;
|
|
30049
|
+
metadata?: import("../integrations/supabase/types").Json;
|
|
30050
|
+
offerte_id?: string;
|
|
30051
|
+
omschrijving?: string | null;
|
|
30052
|
+
user_id?: string | null;
|
|
30053
|
+
};
|
|
30054
|
+
Relationships: [{
|
|
30055
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
30056
|
+
columns: ["offerte_id"];
|
|
30057
|
+
isOneToOne: false;
|
|
30058
|
+
referencedRelation: "itk_offertes";
|
|
30059
|
+
referencedColumns: ["id"];
|
|
30060
|
+
}];
|
|
30061
|
+
};
|
|
30062
|
+
itk_offerte_regels: {
|
|
30063
|
+
Row: {
|
|
30064
|
+
created_at: string;
|
|
30065
|
+
id: string;
|
|
30066
|
+
line_total_cents: number;
|
|
30067
|
+
offerte_id: string;
|
|
30068
|
+
omschrijving: string;
|
|
30069
|
+
package_id: string | null;
|
|
30070
|
+
quantity: number;
|
|
30071
|
+
sort_order: number;
|
|
30072
|
+
source: string;
|
|
30073
|
+
unit_price_cents: number;
|
|
30074
|
+
updated_at: string;
|
|
30075
|
+
};
|
|
30076
|
+
Insert: {
|
|
30077
|
+
created_at?: string;
|
|
30078
|
+
id?: string;
|
|
30079
|
+
line_total_cents?: number;
|
|
30080
|
+
offerte_id: string;
|
|
30081
|
+
omschrijving?: string;
|
|
30082
|
+
package_id?: string | null;
|
|
30083
|
+
quantity?: number;
|
|
30084
|
+
sort_order?: number;
|
|
30085
|
+
source?: string;
|
|
30086
|
+
unit_price_cents?: number;
|
|
30087
|
+
updated_at?: string;
|
|
30088
|
+
};
|
|
30089
|
+
Update: {
|
|
30090
|
+
created_at?: string;
|
|
30091
|
+
id?: string;
|
|
30092
|
+
line_total_cents?: number;
|
|
30093
|
+
offerte_id?: string;
|
|
30094
|
+
omschrijving?: string;
|
|
30095
|
+
package_id?: string | null;
|
|
30096
|
+
quantity?: number;
|
|
30097
|
+
sort_order?: number;
|
|
30098
|
+
source?: string;
|
|
30099
|
+
unit_price_cents?: number;
|
|
30100
|
+
updated_at?: string;
|
|
30101
|
+
};
|
|
30102
|
+
Relationships: [{
|
|
30103
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
30104
|
+
columns: ["offerte_id"];
|
|
30105
|
+
isOneToOne: false;
|
|
30106
|
+
referencedRelation: "itk_offertes";
|
|
30107
|
+
referencedColumns: ["id"];
|
|
30108
|
+
}, {
|
|
30109
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
30110
|
+
columns: ["package_id"];
|
|
30111
|
+
isOneToOne: false;
|
|
30112
|
+
referencedRelation: "werkbon_packages";
|
|
30113
|
+
referencedColumns: ["id"];
|
|
30114
|
+
}];
|
|
30115
|
+
};
|
|
30116
|
+
itk_offerte_settings: {
|
|
30117
|
+
Row: {
|
|
30118
|
+
auto_convert_binnen_mandaat: boolean;
|
|
30119
|
+
created_at: string;
|
|
30120
|
+
default_geldigheid_dagen: number;
|
|
30121
|
+
default_vat_rate: number;
|
|
30122
|
+
id: string;
|
|
30123
|
+
singleton: boolean;
|
|
30124
|
+
updated_at: string;
|
|
30125
|
+
};
|
|
30126
|
+
Insert: {
|
|
30127
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
30128
|
+
created_at?: string;
|
|
30129
|
+
default_geldigheid_dagen?: number;
|
|
30130
|
+
default_vat_rate?: number;
|
|
30131
|
+
id?: string;
|
|
30132
|
+
singleton?: boolean;
|
|
30133
|
+
updated_at?: string;
|
|
30134
|
+
};
|
|
30135
|
+
Update: {
|
|
30136
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
30137
|
+
created_at?: string;
|
|
30138
|
+
default_geldigheid_dagen?: number;
|
|
30139
|
+
default_vat_rate?: number;
|
|
30140
|
+
id?: string;
|
|
30141
|
+
singleton?: boolean;
|
|
30142
|
+
updated_at?: string;
|
|
30143
|
+
};
|
|
30144
|
+
Relationships: [];
|
|
30145
|
+
};
|
|
30146
|
+
itk_offertes: {
|
|
30147
|
+
Row: {
|
|
30148
|
+
ai_generated: boolean;
|
|
30149
|
+
approved_at: string | null;
|
|
30150
|
+
binnen_mandaat: boolean;
|
|
30151
|
+
contact_id: string | null;
|
|
30152
|
+
converted_at: string | null;
|
|
30153
|
+
created_at: string;
|
|
30154
|
+
created_by: string | null;
|
|
30155
|
+
customer_id: string | null;
|
|
30156
|
+
follow_up_werkbon_id: string | null;
|
|
30157
|
+
id: string;
|
|
30158
|
+
jaar: number;
|
|
30159
|
+
mandaat_restant_cents: number;
|
|
30160
|
+
notities: string | null;
|
|
30161
|
+
offerte_number: string | null;
|
|
30162
|
+
omschrijving: string;
|
|
30163
|
+
rejected_at: string | null;
|
|
30164
|
+
sent_at: string | null;
|
|
30165
|
+
source_number: string | null;
|
|
30166
|
+
source_ref: string | null;
|
|
30167
|
+
source_type: string;
|
|
30168
|
+
status: string;
|
|
30169
|
+
subtotal_cents: number;
|
|
30170
|
+
total_cents: number;
|
|
30171
|
+
updated_at: string;
|
|
30172
|
+
valid_until: string | null;
|
|
30173
|
+
vat_cents: number;
|
|
30174
|
+
vat_rate: number;
|
|
30175
|
+
viewed_at: string | null;
|
|
30176
|
+
volgnummer: number | null;
|
|
30177
|
+
werkbon_id: string | null;
|
|
30178
|
+
work_location_id: string | null;
|
|
30179
|
+
};
|
|
30180
|
+
Insert: {
|
|
30181
|
+
ai_generated?: boolean;
|
|
30182
|
+
approved_at?: string | null;
|
|
30183
|
+
binnen_mandaat?: boolean;
|
|
30184
|
+
contact_id?: string | null;
|
|
30185
|
+
converted_at?: string | null;
|
|
30186
|
+
created_at?: string;
|
|
30187
|
+
created_by?: string | null;
|
|
30188
|
+
customer_id?: string | null;
|
|
30189
|
+
follow_up_werkbon_id?: string | null;
|
|
30190
|
+
id?: string;
|
|
30191
|
+
jaar?: number;
|
|
30192
|
+
mandaat_restant_cents?: number;
|
|
30193
|
+
notities?: string | null;
|
|
30194
|
+
offerte_number?: string | null;
|
|
30195
|
+
omschrijving?: string;
|
|
30196
|
+
rejected_at?: string | null;
|
|
30197
|
+
sent_at?: string | null;
|
|
30198
|
+
source_number?: string | null;
|
|
30199
|
+
source_ref?: string | null;
|
|
30200
|
+
source_type?: string;
|
|
30201
|
+
status?: string;
|
|
30202
|
+
subtotal_cents?: number;
|
|
30203
|
+
total_cents?: number;
|
|
30204
|
+
updated_at?: string;
|
|
30205
|
+
valid_until?: string | null;
|
|
30206
|
+
vat_cents?: number;
|
|
30207
|
+
vat_rate?: number;
|
|
30208
|
+
viewed_at?: string | null;
|
|
30209
|
+
volgnummer?: number | null;
|
|
30210
|
+
werkbon_id?: string | null;
|
|
30211
|
+
work_location_id?: string | null;
|
|
30212
|
+
};
|
|
30213
|
+
Update: {
|
|
30214
|
+
ai_generated?: boolean;
|
|
30215
|
+
approved_at?: string | null;
|
|
30216
|
+
binnen_mandaat?: boolean;
|
|
30217
|
+
contact_id?: string | null;
|
|
30218
|
+
converted_at?: string | null;
|
|
30219
|
+
created_at?: string;
|
|
30220
|
+
created_by?: string | null;
|
|
30221
|
+
customer_id?: string | null;
|
|
30222
|
+
follow_up_werkbon_id?: string | null;
|
|
30223
|
+
id?: string;
|
|
30224
|
+
jaar?: number;
|
|
30225
|
+
mandaat_restant_cents?: number;
|
|
30226
|
+
notities?: string | null;
|
|
30227
|
+
offerte_number?: string | null;
|
|
30228
|
+
omschrijving?: string;
|
|
30229
|
+
rejected_at?: string | null;
|
|
30230
|
+
sent_at?: string | null;
|
|
30231
|
+
source_number?: string | null;
|
|
30232
|
+
source_ref?: string | null;
|
|
30233
|
+
source_type?: string;
|
|
30234
|
+
status?: string;
|
|
30235
|
+
subtotal_cents?: number;
|
|
30236
|
+
total_cents?: number;
|
|
30237
|
+
updated_at?: string;
|
|
30238
|
+
valid_until?: string | null;
|
|
30239
|
+
vat_cents?: number;
|
|
30240
|
+
vat_rate?: number;
|
|
30241
|
+
viewed_at?: string | null;
|
|
30242
|
+
volgnummer?: number | null;
|
|
30243
|
+
werkbon_id?: string | null;
|
|
30244
|
+
work_location_id?: string | null;
|
|
30245
|
+
};
|
|
30246
|
+
Relationships: [{
|
|
30247
|
+
foreignKeyName: "itk_offertes_contact_id_fkey";
|
|
30248
|
+
columns: ["contact_id"];
|
|
30249
|
+
isOneToOne: false;
|
|
30250
|
+
referencedRelation: "itk_contact_persons";
|
|
30251
|
+
referencedColumns: ["id"];
|
|
30252
|
+
}, {
|
|
30253
|
+
foreignKeyName: "itk_offertes_customer_id_fkey";
|
|
30254
|
+
columns: ["customer_id"];
|
|
30255
|
+
isOneToOne: false;
|
|
30256
|
+
referencedRelation: "itk_customers";
|
|
30257
|
+
referencedColumns: ["id"];
|
|
30258
|
+
}, {
|
|
30259
|
+
foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
|
|
30260
|
+
columns: ["follow_up_werkbon_id"];
|
|
30261
|
+
isOneToOne: false;
|
|
30262
|
+
referencedRelation: "werkbonnen";
|
|
30263
|
+
referencedColumns: ["id"];
|
|
30264
|
+
}, {
|
|
30265
|
+
foreignKeyName: "itk_offertes_werkbon_id_fkey";
|
|
30266
|
+
columns: ["werkbon_id"];
|
|
30267
|
+
isOneToOne: false;
|
|
30268
|
+
referencedRelation: "werkbonnen";
|
|
30269
|
+
referencedColumns: ["id"];
|
|
30270
|
+
}, {
|
|
30271
|
+
foreignKeyName: "itk_offertes_work_location_id_fkey";
|
|
30272
|
+
columns: ["work_location_id"];
|
|
30273
|
+
isOneToOne: false;
|
|
30274
|
+
referencedRelation: "itk_work_locations";
|
|
30275
|
+
referencedColumns: ["id"];
|
|
30276
|
+
}];
|
|
30277
|
+
};
|
|
29431
30278
|
itk_work_locations: {
|
|
29432
30279
|
Row: {
|
|
29433
30280
|
city: string | null;
|
|
@@ -31801,6 +32648,63 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
31801
32648
|
referencedColumns: ["id"];
|
|
31802
32649
|
}];
|
|
31803
32650
|
};
|
|
32651
|
+
medewerker_details: {
|
|
32652
|
+
Row: {
|
|
32653
|
+
color: string | null;
|
|
32654
|
+
created_at: string;
|
|
32655
|
+
hours_fri: number | null;
|
|
32656
|
+
hours_mon: number | null;
|
|
32657
|
+
hours_thu: number | null;
|
|
32658
|
+
hours_tue: number | null;
|
|
32659
|
+
hours_wed: number | null;
|
|
32660
|
+
id: string;
|
|
32661
|
+
is_active: boolean;
|
|
32662
|
+
leave_balance_hours: number;
|
|
32663
|
+
persnr: string | null;
|
|
32664
|
+
phone: string | null;
|
|
32665
|
+
profile_id: string;
|
|
32666
|
+
updated_at: string;
|
|
32667
|
+
};
|
|
32668
|
+
Insert: {
|
|
32669
|
+
color?: string | null;
|
|
32670
|
+
created_at?: string;
|
|
32671
|
+
hours_fri?: number | null;
|
|
32672
|
+
hours_mon?: number | null;
|
|
32673
|
+
hours_thu?: number | null;
|
|
32674
|
+
hours_tue?: number | null;
|
|
32675
|
+
hours_wed?: number | null;
|
|
32676
|
+
id?: string;
|
|
32677
|
+
is_active?: boolean;
|
|
32678
|
+
leave_balance_hours?: number;
|
|
32679
|
+
persnr?: string | null;
|
|
32680
|
+
phone?: string | null;
|
|
32681
|
+
profile_id: string;
|
|
32682
|
+
updated_at?: string;
|
|
32683
|
+
};
|
|
32684
|
+
Update: {
|
|
32685
|
+
color?: string | null;
|
|
32686
|
+
created_at?: string;
|
|
32687
|
+
hours_fri?: number | null;
|
|
32688
|
+
hours_mon?: number | null;
|
|
32689
|
+
hours_thu?: number | null;
|
|
32690
|
+
hours_tue?: number | null;
|
|
32691
|
+
hours_wed?: number | null;
|
|
32692
|
+
id?: string;
|
|
32693
|
+
is_active?: boolean;
|
|
32694
|
+
leave_balance_hours?: number;
|
|
32695
|
+
persnr?: string | null;
|
|
32696
|
+
phone?: string | null;
|
|
32697
|
+
profile_id?: string;
|
|
32698
|
+
updated_at?: string;
|
|
32699
|
+
};
|
|
32700
|
+
Relationships: [{
|
|
32701
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
32702
|
+
columns: ["profile_id"];
|
|
32703
|
+
isOneToOne: true;
|
|
32704
|
+
referencedRelation: "profiles";
|
|
32705
|
+
referencedColumns: ["id"];
|
|
32706
|
+
}];
|
|
32707
|
+
};
|
|
31804
32708
|
module_features: {
|
|
31805
32709
|
Row: {
|
|
31806
32710
|
created_at: string;
|
|
@@ -33094,6 +33998,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
33094
33998
|
orders: {
|
|
33095
33999
|
Row: {
|
|
33096
34000
|
buffer_id: string | null;
|
|
34001
|
+
cancel_reason: string | null;
|
|
34002
|
+
cancelled_at: string | null;
|
|
33097
34003
|
created_at: string;
|
|
33098
34004
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
33099
34005
|
customer_id: string | null;
|
|
@@ -33116,6 +34022,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
33116
34022
|
};
|
|
33117
34023
|
Insert: {
|
|
33118
34024
|
buffer_id?: string | null;
|
|
34025
|
+
cancel_reason?: string | null;
|
|
34026
|
+
cancelled_at?: string | null;
|
|
33119
34027
|
created_at?: string;
|
|
33120
34028
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
33121
34029
|
customer_id?: string | null;
|
|
@@ -33138,6 +34046,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
33138
34046
|
};
|
|
33139
34047
|
Update: {
|
|
33140
34048
|
buffer_id?: string | null;
|
|
34049
|
+
cancel_reason?: string | null;
|
|
34050
|
+
cancelled_at?: string | null;
|
|
33141
34051
|
created_at?: string;
|
|
33142
34052
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
33143
34053
|
customer_id?: string | null;
|
|
@@ -35200,6 +36110,66 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
35200
36110
|
};
|
|
35201
36111
|
Relationships: [];
|
|
35202
36112
|
};
|
|
36113
|
+
profile_modules: {
|
|
36114
|
+
Row: {
|
|
36115
|
+
created_at: string;
|
|
36116
|
+
id: string;
|
|
36117
|
+
module_id: string;
|
|
36118
|
+
profile_id: string;
|
|
36119
|
+
};
|
|
36120
|
+
Insert: {
|
|
36121
|
+
created_at?: string;
|
|
36122
|
+
id?: string;
|
|
36123
|
+
module_id: string;
|
|
36124
|
+
profile_id: string;
|
|
36125
|
+
};
|
|
36126
|
+
Update: {
|
|
36127
|
+
created_at?: string;
|
|
36128
|
+
id?: string;
|
|
36129
|
+
module_id?: string;
|
|
36130
|
+
profile_id?: string;
|
|
36131
|
+
};
|
|
36132
|
+
Relationships: [{
|
|
36133
|
+
foreignKeyName: "profile_modules_profile_id_fkey";
|
|
36134
|
+
columns: ["profile_id"];
|
|
36135
|
+
isOneToOne: false;
|
|
36136
|
+
referencedRelation: "profiles_org";
|
|
36137
|
+
referencedColumns: ["id"];
|
|
36138
|
+
}];
|
|
36139
|
+
};
|
|
36140
|
+
profile_roles: {
|
|
36141
|
+
Row: {
|
|
36142
|
+
created_at: string;
|
|
36143
|
+
id: string;
|
|
36144
|
+
profile_id: string;
|
|
36145
|
+
role_id: string;
|
|
36146
|
+
};
|
|
36147
|
+
Insert: {
|
|
36148
|
+
created_at?: string;
|
|
36149
|
+
id?: string;
|
|
36150
|
+
profile_id: string;
|
|
36151
|
+
role_id: string;
|
|
36152
|
+
};
|
|
36153
|
+
Update: {
|
|
36154
|
+
created_at?: string;
|
|
36155
|
+
id?: string;
|
|
36156
|
+
profile_id?: string;
|
|
36157
|
+
role_id?: string;
|
|
36158
|
+
};
|
|
36159
|
+
Relationships: [{
|
|
36160
|
+
foreignKeyName: "profile_roles_profile_id_fkey";
|
|
36161
|
+
columns: ["profile_id"];
|
|
36162
|
+
isOneToOne: false;
|
|
36163
|
+
referencedRelation: "profiles_org";
|
|
36164
|
+
referencedColumns: ["id"];
|
|
36165
|
+
}, {
|
|
36166
|
+
foreignKeyName: "profile_roles_role_id_fkey";
|
|
36167
|
+
columns: ["role_id"];
|
|
36168
|
+
isOneToOne: false;
|
|
36169
|
+
referencedRelation: "roles";
|
|
36170
|
+
referencedColumns: ["id"];
|
|
36171
|
+
}];
|
|
36172
|
+
};
|
|
35203
36173
|
profiles: {
|
|
35204
36174
|
Row: {
|
|
35205
36175
|
address: string | null;
|
|
@@ -35245,6 +36215,39 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
35245
36215
|
referencedColumns: ["id"];
|
|
35246
36216
|
}];
|
|
35247
36217
|
};
|
|
36218
|
+
profiles_org: {
|
|
36219
|
+
Row: {
|
|
36220
|
+
created_at: string;
|
|
36221
|
+
id: string;
|
|
36222
|
+
is_default: boolean;
|
|
36223
|
+
name: string;
|
|
36224
|
+
tenant_id: string | null;
|
|
36225
|
+
updated_at: string;
|
|
36226
|
+
};
|
|
36227
|
+
Insert: {
|
|
36228
|
+
created_at?: string;
|
|
36229
|
+
id?: string;
|
|
36230
|
+
is_default?: boolean;
|
|
36231
|
+
name: string;
|
|
36232
|
+
tenant_id?: string | null;
|
|
36233
|
+
updated_at?: string;
|
|
36234
|
+
};
|
|
36235
|
+
Update: {
|
|
36236
|
+
created_at?: string;
|
|
36237
|
+
id?: string;
|
|
36238
|
+
is_default?: boolean;
|
|
36239
|
+
name?: string;
|
|
36240
|
+
tenant_id?: string | null;
|
|
36241
|
+
updated_at?: string;
|
|
36242
|
+
};
|
|
36243
|
+
Relationships: [{
|
|
36244
|
+
foreignKeyName: "profiles_org_tenant_id_fkey";
|
|
36245
|
+
columns: ["tenant_id"];
|
|
36246
|
+
isOneToOne: false;
|
|
36247
|
+
referencedRelation: "tenants";
|
|
36248
|
+
referencedColumns: ["id"];
|
|
36249
|
+
}];
|
|
36250
|
+
};
|
|
35248
36251
|
projects: {
|
|
35249
36252
|
Row: {
|
|
35250
36253
|
contact_name: string | null;
|
|
@@ -36419,6 +37422,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
36419
37422
|
type: string;
|
|
36420
37423
|
updated_at: string;
|
|
36421
37424
|
vereist_medewerker: boolean;
|
|
37425
|
+
werkplek: string | null;
|
|
36422
37426
|
};
|
|
36423
37427
|
Insert: {
|
|
36424
37428
|
actief?: boolean;
|
|
@@ -36432,6 +37436,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
36432
37436
|
type?: string;
|
|
36433
37437
|
updated_at?: string;
|
|
36434
37438
|
vereist_medewerker?: boolean;
|
|
37439
|
+
werkplek?: string | null;
|
|
36435
37440
|
};
|
|
36436
37441
|
Update: {
|
|
36437
37442
|
actief?: boolean;
|
|
@@ -36445,9 +37450,46 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
36445
37450
|
type?: string;
|
|
36446
37451
|
updated_at?: string;
|
|
36447
37452
|
vereist_medewerker?: boolean;
|
|
37453
|
+
werkplek?: string | null;
|
|
36448
37454
|
};
|
|
36449
37455
|
Relationships: [];
|
|
36450
37456
|
};
|
|
37457
|
+
sick_periods: {
|
|
37458
|
+
Row: {
|
|
37459
|
+
created_at: string;
|
|
37460
|
+
employee_id: string;
|
|
37461
|
+
end_date: string | null;
|
|
37462
|
+
id: string;
|
|
37463
|
+
notes: string | null;
|
|
37464
|
+
start_date: string;
|
|
37465
|
+
updated_at: string;
|
|
37466
|
+
};
|
|
37467
|
+
Insert: {
|
|
37468
|
+
created_at?: string;
|
|
37469
|
+
employee_id: string;
|
|
37470
|
+
end_date?: string | null;
|
|
37471
|
+
id?: string;
|
|
37472
|
+
notes?: string | null;
|
|
37473
|
+
start_date: string;
|
|
37474
|
+
updated_at?: string;
|
|
37475
|
+
};
|
|
37476
|
+
Update: {
|
|
37477
|
+
created_at?: string;
|
|
37478
|
+
employee_id?: string;
|
|
37479
|
+
end_date?: string | null;
|
|
37480
|
+
id?: string;
|
|
37481
|
+
notes?: string | null;
|
|
37482
|
+
start_date?: string;
|
|
37483
|
+
updated_at?: string;
|
|
37484
|
+
};
|
|
37485
|
+
Relationships: [{
|
|
37486
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
37487
|
+
columns: ["employee_id"];
|
|
37488
|
+
isOneToOne: false;
|
|
37489
|
+
referencedRelation: "profiles";
|
|
37490
|
+
referencedColumns: ["id"];
|
|
37491
|
+
}];
|
|
37492
|
+
};
|
|
36451
37493
|
sidebar_config: {
|
|
36452
37494
|
Row: {
|
|
36453
37495
|
id: string;
|
|
@@ -41132,6 +42174,13 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
41132
42174
|
};
|
|
41133
42175
|
Returns: string;
|
|
41134
42176
|
};
|
|
42177
|
+
employee_day_hours: {
|
|
42178
|
+
Args: {
|
|
42179
|
+
_day: string;
|
|
42180
|
+
_employee_id: string;
|
|
42181
|
+
};
|
|
42182
|
+
Returns: number;
|
|
42183
|
+
};
|
|
41135
42184
|
enqueue_cart_replan_if_unlocked: {
|
|
41136
42185
|
Args: {
|
|
41137
42186
|
p_order_id: string;
|
|
@@ -41485,6 +42534,19 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
41485
42534
|
Args: never;
|
|
41486
42535
|
Returns: boolean;
|
|
41487
42536
|
};
|
|
42537
|
+
itk_offerte_naar_werkbon: {
|
|
42538
|
+
Args: {
|
|
42539
|
+
_offerte_id: string;
|
|
42540
|
+
};
|
|
42541
|
+
Returns: string;
|
|
42542
|
+
};
|
|
42543
|
+
itk_offerte_restant_mandaat: {
|
|
42544
|
+
Args: {
|
|
42545
|
+
_exclude_offerte_id?: string;
|
|
42546
|
+
_werkbon_id: string;
|
|
42547
|
+
};
|
|
42548
|
+
Returns: number;
|
|
42549
|
+
};
|
|
41488
42550
|
jwt_has_role: {
|
|
41489
42551
|
Args: {
|
|
41490
42552
|
_role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
@@ -41495,9 +42557,19 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
41495
42557
|
Args: never;
|
|
41496
42558
|
Returns: {
|
|
41497
42559
|
avatar_url: string;
|
|
42560
|
+
color: string;
|
|
41498
42561
|
display_name: string;
|
|
41499
42562
|
email: string;
|
|
42563
|
+
hours_fri: number;
|
|
42564
|
+
hours_mon: number;
|
|
42565
|
+
hours_thu: number;
|
|
42566
|
+
hours_tue: number;
|
|
42567
|
+
hours_wed: number;
|
|
41500
42568
|
id: string;
|
|
42569
|
+
is_active: boolean;
|
|
42570
|
+
leave_balance_hours: number;
|
|
42571
|
+
persnr: string;
|
|
42572
|
+
phone: string;
|
|
41501
42573
|
roles: string[];
|
|
41502
42574
|
}[];
|
|
41503
42575
|
};
|
|
@@ -41824,17 +42896,6 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
41824
42896
|
Returns: string;
|
|
41825
42897
|
};
|
|
41826
42898
|
logistics_emit_event: {
|
|
41827
|
-
Args: {
|
|
41828
|
-
p_event_type: string;
|
|
41829
|
-
p_idempotency_key?: string;
|
|
41830
|
-
p_order_ref: string;
|
|
41831
|
-
p_payload?: import("../integrations/supabase/types").Json;
|
|
41832
|
-
p_shadow?: boolean;
|
|
41833
|
-
p_source_module: string;
|
|
41834
|
-
p_strategy_id?: string;
|
|
41835
|
-
};
|
|
41836
|
-
Returns: import("../integrations/supabase/types").Json;
|
|
41837
|
-
} | {
|
|
41838
42899
|
Args: {
|
|
41839
42900
|
p_event_type: string;
|
|
41840
42901
|
p_idempotency_key?: string;
|
|
@@ -42679,6 +43740,37 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
42679
43740
|
};
|
|
42680
43741
|
Returns: undefined;
|
|
42681
43742
|
};
|
|
43743
|
+
quote_create_from_source: {
|
|
43744
|
+
Args: {
|
|
43745
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
43746
|
+
_source_id: string;
|
|
43747
|
+
_source_type: string;
|
|
43748
|
+
};
|
|
43749
|
+
Returns: string;
|
|
43750
|
+
};
|
|
43751
|
+
quote_get_billable_lines: {
|
|
43752
|
+
Args: {
|
|
43753
|
+
_quotation_id: string;
|
|
43754
|
+
};
|
|
43755
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
43756
|
+
};
|
|
43757
|
+
quote_get_summary: {
|
|
43758
|
+
Args: {
|
|
43759
|
+
_quotation_id: string;
|
|
43760
|
+
};
|
|
43761
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
43762
|
+
};
|
|
43763
|
+
quote_list_packages: {
|
|
43764
|
+
Args: never;
|
|
43765
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
43766
|
+
};
|
|
43767
|
+
quote_list_sources: {
|
|
43768
|
+
Args: {
|
|
43769
|
+
_limit?: number;
|
|
43770
|
+
_source_type?: string;
|
|
43771
|
+
};
|
|
43772
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
43773
|
+
};
|
|
42682
43774
|
recompute_all_reserved_stock: {
|
|
42683
43775
|
Args: never;
|
|
42684
43776
|
Returns: undefined;
|
|
@@ -43214,6 +44306,12 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
43214
44306
|
};
|
|
43215
44307
|
Returns: undefined;
|
|
43216
44308
|
};
|
|
44309
|
+
sync_sick_time_off: {
|
|
44310
|
+
Args: {
|
|
44311
|
+
_period_id: string;
|
|
44312
|
+
};
|
|
44313
|
+
Returns: number;
|
|
44314
|
+
};
|
|
43217
44315
|
trade_item_stock_duplicates: {
|
|
43218
44316
|
Args: never;
|
|
43219
44317
|
Returns: {
|
|
@@ -43287,11 +44385,31 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
|
|
|
43287
44385
|
Args: never;
|
|
43288
44386
|
Returns: string;
|
|
43289
44387
|
};
|
|
44388
|
+
wo_create_from_source: {
|
|
44389
|
+
Args: {
|
|
44390
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
44391
|
+
_source_id: string;
|
|
44392
|
+
_source_type: string;
|
|
44393
|
+
};
|
|
44394
|
+
Returns: string;
|
|
44395
|
+
};
|
|
44396
|
+
wo_get_billable_lines: {
|
|
44397
|
+
Args: {
|
|
44398
|
+
_work_order_id: string;
|
|
44399
|
+
};
|
|
44400
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
44401
|
+
};
|
|
44402
|
+
wo_get_summary: {
|
|
44403
|
+
Args: {
|
|
44404
|
+
_work_order_id: string;
|
|
44405
|
+
};
|
|
44406
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
44407
|
+
};
|
|
43290
44408
|
};
|
|
43291
44409
|
Enums: {
|
|
43292
44410
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
43293
44411
|
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
43294
|
-
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
44412
|
+
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
|
|
43295
44413
|
doc_orientation: "portrait" | "landscape";
|
|
43296
44414
|
exact_env: "staging" | "live";
|
|
43297
44415
|
exact_push_status: "pending" | "sent" | "error";
|