@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
|
@@ -5054,6 +5054,42 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
5054
5054
|
};
|
|
5055
5055
|
Relationships: [];
|
|
5056
5056
|
};
|
|
5057
|
+
facturen: {
|
|
5058
|
+
Row: {
|
|
5059
|
+
bedrag_incl_btw: number;
|
|
5060
|
+
created_at: string;
|
|
5061
|
+
datum: string;
|
|
5062
|
+
factuurnummer: string;
|
|
5063
|
+
id: string;
|
|
5064
|
+
klantnaam: string;
|
|
5065
|
+
status: string;
|
|
5066
|
+
updated_at: string;
|
|
5067
|
+
user_id: string;
|
|
5068
|
+
};
|
|
5069
|
+
Insert: {
|
|
5070
|
+
bedrag_incl_btw: number;
|
|
5071
|
+
created_at?: string;
|
|
5072
|
+
datum?: string;
|
|
5073
|
+
factuurnummer: string;
|
|
5074
|
+
id?: string;
|
|
5075
|
+
klantnaam: string;
|
|
5076
|
+
status?: string;
|
|
5077
|
+
updated_at?: string;
|
|
5078
|
+
user_id?: string;
|
|
5079
|
+
};
|
|
5080
|
+
Update: {
|
|
5081
|
+
bedrag_incl_btw?: number;
|
|
5082
|
+
created_at?: string;
|
|
5083
|
+
datum?: string;
|
|
5084
|
+
factuurnummer?: string;
|
|
5085
|
+
id?: string;
|
|
5086
|
+
klantnaam?: string;
|
|
5087
|
+
status?: string;
|
|
5088
|
+
updated_at?: string;
|
|
5089
|
+
user_id?: string;
|
|
5090
|
+
};
|
|
5091
|
+
Relationships: [];
|
|
5092
|
+
};
|
|
5057
5093
|
floricode_connection_settings: {
|
|
5058
5094
|
Row: {
|
|
5059
5095
|
catalog_key: string | null;
|
|
@@ -7778,6 +7814,258 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
7778
7814
|
};
|
|
7779
7815
|
Relationships: [];
|
|
7780
7816
|
};
|
|
7817
|
+
itk_offerte_events: {
|
|
7818
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
7837
|
+
created_at?: string;
|
|
7838
|
+
event_type?: string;
|
|
7839
|
+
id?: string;
|
|
7840
|
+
metadata?: import("../integrations/supabase/types").Json;
|
|
7841
|
+
offerte_id?: string;
|
|
7842
|
+
omschrijving?: string | null;
|
|
7843
|
+
user_id?: string | null;
|
|
7844
|
+
};
|
|
7845
|
+
Relationships: [{
|
|
7846
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
7847
|
+
columns: ["offerte_id"];
|
|
7848
|
+
isOneToOne: false;
|
|
7849
|
+
referencedRelation: "itk_offertes";
|
|
7850
|
+
referencedColumns: ["id"];
|
|
7851
|
+
}];
|
|
7852
|
+
};
|
|
7853
|
+
itk_offerte_regels: {
|
|
7854
|
+
Row: {
|
|
7855
|
+
created_at: string;
|
|
7856
|
+
id: string;
|
|
7857
|
+
line_total_cents: number;
|
|
7858
|
+
offerte_id: string;
|
|
7859
|
+
omschrijving: string;
|
|
7860
|
+
package_id: string | null;
|
|
7861
|
+
quantity: number;
|
|
7862
|
+
sort_order: number;
|
|
7863
|
+
source: string;
|
|
7864
|
+
unit_price_cents: number;
|
|
7865
|
+
updated_at: string;
|
|
7866
|
+
};
|
|
7867
|
+
Insert: {
|
|
7868
|
+
created_at?: string;
|
|
7869
|
+
id?: string;
|
|
7870
|
+
line_total_cents?: number;
|
|
7871
|
+
offerte_id: string;
|
|
7872
|
+
omschrijving?: string;
|
|
7873
|
+
package_id?: string | null;
|
|
7874
|
+
quantity?: number;
|
|
7875
|
+
sort_order?: number;
|
|
7876
|
+
source?: string;
|
|
7877
|
+
unit_price_cents?: number;
|
|
7878
|
+
updated_at?: string;
|
|
7879
|
+
};
|
|
7880
|
+
Update: {
|
|
7881
|
+
created_at?: string;
|
|
7882
|
+
id?: string;
|
|
7883
|
+
line_total_cents?: number;
|
|
7884
|
+
offerte_id?: string;
|
|
7885
|
+
omschrijving?: string;
|
|
7886
|
+
package_id?: string | null;
|
|
7887
|
+
quantity?: number;
|
|
7888
|
+
sort_order?: number;
|
|
7889
|
+
source?: string;
|
|
7890
|
+
unit_price_cents?: number;
|
|
7891
|
+
updated_at?: string;
|
|
7892
|
+
};
|
|
7893
|
+
Relationships: [{
|
|
7894
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
7895
|
+
columns: ["offerte_id"];
|
|
7896
|
+
isOneToOne: false;
|
|
7897
|
+
referencedRelation: "itk_offertes";
|
|
7898
|
+
referencedColumns: ["id"];
|
|
7899
|
+
}, {
|
|
7900
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
7901
|
+
columns: ["package_id"];
|
|
7902
|
+
isOneToOne: false;
|
|
7903
|
+
referencedRelation: "werkbon_packages";
|
|
7904
|
+
referencedColumns: ["id"];
|
|
7905
|
+
}];
|
|
7906
|
+
};
|
|
7907
|
+
itk_offerte_settings: {
|
|
7908
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
7927
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
7928
|
+
created_at?: string;
|
|
7929
|
+
default_geldigheid_dagen?: number;
|
|
7930
|
+
default_vat_rate?: number;
|
|
7931
|
+
id?: string;
|
|
7932
|
+
singleton?: boolean;
|
|
7933
|
+
updated_at?: string;
|
|
7934
|
+
};
|
|
7935
|
+
Relationships: [];
|
|
7936
|
+
};
|
|
7937
|
+
itk_offertes: {
|
|
7938
|
+
Row: {
|
|
7939
|
+
ai_generated: boolean;
|
|
7940
|
+
approved_at: string | null;
|
|
7941
|
+
binnen_mandaat: boolean;
|
|
7942
|
+
contact_id: string | null;
|
|
7943
|
+
converted_at: string | null;
|
|
7944
|
+
created_at: string;
|
|
7945
|
+
created_by: string | null;
|
|
7946
|
+
customer_id: string | null;
|
|
7947
|
+
follow_up_werkbon_id: string | null;
|
|
7948
|
+
id: string;
|
|
7949
|
+
jaar: number;
|
|
7950
|
+
mandaat_restant_cents: number;
|
|
7951
|
+
notities: string | null;
|
|
7952
|
+
offerte_number: string | null;
|
|
7953
|
+
omschrijving: string;
|
|
7954
|
+
rejected_at: string | null;
|
|
7955
|
+
sent_at: string | null;
|
|
7956
|
+
source_number: string | null;
|
|
7957
|
+
source_ref: string | null;
|
|
7958
|
+
source_type: string;
|
|
7959
|
+
status: string;
|
|
7960
|
+
subtotal_cents: number;
|
|
7961
|
+
total_cents: number;
|
|
7962
|
+
updated_at: string;
|
|
7963
|
+
valid_until: string | null;
|
|
7964
|
+
vat_cents: number;
|
|
7965
|
+
vat_rate: number;
|
|
7966
|
+
viewed_at: string | null;
|
|
7967
|
+
volgnummer: number | null;
|
|
7968
|
+
werkbon_id: string | null;
|
|
7969
|
+
work_location_id: string | null;
|
|
7970
|
+
};
|
|
7971
|
+
Insert: {
|
|
7972
|
+
ai_generated?: boolean;
|
|
7973
|
+
approved_at?: string | null;
|
|
7974
|
+
binnen_mandaat?: boolean;
|
|
7975
|
+
contact_id?: string | null;
|
|
7976
|
+
converted_at?: string | null;
|
|
7977
|
+
created_at?: string;
|
|
7978
|
+
created_by?: string | null;
|
|
7979
|
+
customer_id?: string | null;
|
|
7980
|
+
follow_up_werkbon_id?: string | null;
|
|
7981
|
+
id?: string;
|
|
7982
|
+
jaar?: number;
|
|
7983
|
+
mandaat_restant_cents?: number;
|
|
7984
|
+
notities?: string | null;
|
|
7985
|
+
offerte_number?: string | null;
|
|
7986
|
+
omschrijving?: string;
|
|
7987
|
+
rejected_at?: string | null;
|
|
7988
|
+
sent_at?: string | null;
|
|
7989
|
+
source_number?: string | null;
|
|
7990
|
+
source_ref?: string | null;
|
|
7991
|
+
source_type?: string;
|
|
7992
|
+
status?: string;
|
|
7993
|
+
subtotal_cents?: number;
|
|
7994
|
+
total_cents?: number;
|
|
7995
|
+
updated_at?: string;
|
|
7996
|
+
valid_until?: string | null;
|
|
7997
|
+
vat_cents?: number;
|
|
7998
|
+
vat_rate?: number;
|
|
7999
|
+
viewed_at?: string | null;
|
|
8000
|
+
volgnummer?: number | null;
|
|
8001
|
+
werkbon_id?: string | null;
|
|
8002
|
+
work_location_id?: string | null;
|
|
8003
|
+
};
|
|
8004
|
+
Update: {
|
|
8005
|
+
ai_generated?: boolean;
|
|
8006
|
+
approved_at?: string | null;
|
|
8007
|
+
binnen_mandaat?: boolean;
|
|
8008
|
+
contact_id?: string | null;
|
|
8009
|
+
converted_at?: string | null;
|
|
8010
|
+
created_at?: string;
|
|
8011
|
+
created_by?: string | null;
|
|
8012
|
+
customer_id?: string | null;
|
|
8013
|
+
follow_up_werkbon_id?: string | null;
|
|
8014
|
+
id?: string;
|
|
8015
|
+
jaar?: number;
|
|
8016
|
+
mandaat_restant_cents?: number;
|
|
8017
|
+
notities?: string | null;
|
|
8018
|
+
offerte_number?: string | null;
|
|
8019
|
+
omschrijving?: string;
|
|
8020
|
+
rejected_at?: string | null;
|
|
8021
|
+
sent_at?: string | null;
|
|
8022
|
+
source_number?: string | null;
|
|
8023
|
+
source_ref?: string | null;
|
|
8024
|
+
source_type?: string;
|
|
8025
|
+
status?: string;
|
|
8026
|
+
subtotal_cents?: number;
|
|
8027
|
+
total_cents?: number;
|
|
8028
|
+
updated_at?: string;
|
|
8029
|
+
valid_until?: string | null;
|
|
8030
|
+
vat_cents?: number;
|
|
8031
|
+
vat_rate?: number;
|
|
8032
|
+
viewed_at?: string | null;
|
|
8033
|
+
volgnummer?: number | null;
|
|
8034
|
+
werkbon_id?: string | null;
|
|
8035
|
+
work_location_id?: string | null;
|
|
8036
|
+
};
|
|
8037
|
+
Relationships: [{
|
|
8038
|
+
foreignKeyName: "itk_offertes_contact_id_fkey";
|
|
8039
|
+
columns: ["contact_id"];
|
|
8040
|
+
isOneToOne: false;
|
|
8041
|
+
referencedRelation: "itk_contact_persons";
|
|
8042
|
+
referencedColumns: ["id"];
|
|
8043
|
+
}, {
|
|
8044
|
+
foreignKeyName: "itk_offertes_customer_id_fkey";
|
|
8045
|
+
columns: ["customer_id"];
|
|
8046
|
+
isOneToOne: false;
|
|
8047
|
+
referencedRelation: "itk_customers";
|
|
8048
|
+
referencedColumns: ["id"];
|
|
8049
|
+
}, {
|
|
8050
|
+
foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
|
|
8051
|
+
columns: ["follow_up_werkbon_id"];
|
|
8052
|
+
isOneToOne: false;
|
|
8053
|
+
referencedRelation: "werkbonnen";
|
|
8054
|
+
referencedColumns: ["id"];
|
|
8055
|
+
}, {
|
|
8056
|
+
foreignKeyName: "itk_offertes_werkbon_id_fkey";
|
|
8057
|
+
columns: ["werkbon_id"];
|
|
8058
|
+
isOneToOne: false;
|
|
8059
|
+
referencedRelation: "werkbonnen";
|
|
8060
|
+
referencedColumns: ["id"];
|
|
8061
|
+
}, {
|
|
8062
|
+
foreignKeyName: "itk_offertes_work_location_id_fkey";
|
|
8063
|
+
columns: ["work_location_id"];
|
|
8064
|
+
isOneToOne: false;
|
|
8065
|
+
referencedRelation: "itk_work_locations";
|
|
8066
|
+
referencedColumns: ["id"];
|
|
8067
|
+
}];
|
|
8068
|
+
};
|
|
7781
8069
|
itk_work_locations: {
|
|
7782
8070
|
Row: {
|
|
7783
8071
|
city: string | null;
|
|
@@ -10151,6 +10439,63 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
10151
10439
|
referencedColumns: ["id"];
|
|
10152
10440
|
}];
|
|
10153
10441
|
};
|
|
10442
|
+
medewerker_details: {
|
|
10443
|
+
Row: {
|
|
10444
|
+
color: string | null;
|
|
10445
|
+
created_at: string;
|
|
10446
|
+
hours_fri: number | null;
|
|
10447
|
+
hours_mon: number | null;
|
|
10448
|
+
hours_thu: number | null;
|
|
10449
|
+
hours_tue: number | null;
|
|
10450
|
+
hours_wed: number | null;
|
|
10451
|
+
id: string;
|
|
10452
|
+
is_active: boolean;
|
|
10453
|
+
leave_balance_hours: number;
|
|
10454
|
+
persnr: string | null;
|
|
10455
|
+
phone: string | null;
|
|
10456
|
+
profile_id: string;
|
|
10457
|
+
updated_at: string;
|
|
10458
|
+
};
|
|
10459
|
+
Insert: {
|
|
10460
|
+
color?: string | null;
|
|
10461
|
+
created_at?: string;
|
|
10462
|
+
hours_fri?: number | null;
|
|
10463
|
+
hours_mon?: number | null;
|
|
10464
|
+
hours_thu?: number | null;
|
|
10465
|
+
hours_tue?: number | null;
|
|
10466
|
+
hours_wed?: number | null;
|
|
10467
|
+
id?: string;
|
|
10468
|
+
is_active?: boolean;
|
|
10469
|
+
leave_balance_hours?: number;
|
|
10470
|
+
persnr?: string | null;
|
|
10471
|
+
phone?: string | null;
|
|
10472
|
+
profile_id: string;
|
|
10473
|
+
updated_at?: string;
|
|
10474
|
+
};
|
|
10475
|
+
Update: {
|
|
10476
|
+
color?: string | null;
|
|
10477
|
+
created_at?: string;
|
|
10478
|
+
hours_fri?: number | null;
|
|
10479
|
+
hours_mon?: number | null;
|
|
10480
|
+
hours_thu?: number | null;
|
|
10481
|
+
hours_tue?: number | null;
|
|
10482
|
+
hours_wed?: number | null;
|
|
10483
|
+
id?: string;
|
|
10484
|
+
is_active?: boolean;
|
|
10485
|
+
leave_balance_hours?: number;
|
|
10486
|
+
persnr?: string | null;
|
|
10487
|
+
phone?: string | null;
|
|
10488
|
+
profile_id?: string;
|
|
10489
|
+
updated_at?: string;
|
|
10490
|
+
};
|
|
10491
|
+
Relationships: [{
|
|
10492
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
10493
|
+
columns: ["profile_id"];
|
|
10494
|
+
isOneToOne: true;
|
|
10495
|
+
referencedRelation: "profiles";
|
|
10496
|
+
referencedColumns: ["id"];
|
|
10497
|
+
}];
|
|
10498
|
+
};
|
|
10154
10499
|
module_features: {
|
|
10155
10500
|
Row: {
|
|
10156
10501
|
created_at: string;
|
|
@@ -11444,6 +11789,8 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
11444
11789
|
orders: {
|
|
11445
11790
|
Row: {
|
|
11446
11791
|
buffer_id: string | null;
|
|
11792
|
+
cancel_reason: string | null;
|
|
11793
|
+
cancelled_at: string | null;
|
|
11447
11794
|
created_at: string;
|
|
11448
11795
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
11449
11796
|
customer_id: string | null;
|
|
@@ -11466,6 +11813,8 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
11466
11813
|
};
|
|
11467
11814
|
Insert: {
|
|
11468
11815
|
buffer_id?: string | null;
|
|
11816
|
+
cancel_reason?: string | null;
|
|
11817
|
+
cancelled_at?: string | null;
|
|
11469
11818
|
created_at?: string;
|
|
11470
11819
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
11471
11820
|
customer_id?: string | null;
|
|
@@ -11488,6 +11837,8 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
11488
11837
|
};
|
|
11489
11838
|
Update: {
|
|
11490
11839
|
buffer_id?: string | null;
|
|
11840
|
+
cancel_reason?: string | null;
|
|
11841
|
+
cancelled_at?: string | null;
|
|
11491
11842
|
created_at?: string;
|
|
11492
11843
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
11493
11844
|
customer_id?: string | null;
|
|
@@ -13550,6 +13901,66 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
13550
13901
|
};
|
|
13551
13902
|
Relationships: [];
|
|
13552
13903
|
};
|
|
13904
|
+
profile_modules: {
|
|
13905
|
+
Row: {
|
|
13906
|
+
created_at: string;
|
|
13907
|
+
id: string;
|
|
13908
|
+
module_id: string;
|
|
13909
|
+
profile_id: string;
|
|
13910
|
+
};
|
|
13911
|
+
Insert: {
|
|
13912
|
+
created_at?: string;
|
|
13913
|
+
id?: string;
|
|
13914
|
+
module_id: string;
|
|
13915
|
+
profile_id: string;
|
|
13916
|
+
};
|
|
13917
|
+
Update: {
|
|
13918
|
+
created_at?: string;
|
|
13919
|
+
id?: string;
|
|
13920
|
+
module_id?: string;
|
|
13921
|
+
profile_id?: string;
|
|
13922
|
+
};
|
|
13923
|
+
Relationships: [{
|
|
13924
|
+
foreignKeyName: "profile_modules_profile_id_fkey";
|
|
13925
|
+
columns: ["profile_id"];
|
|
13926
|
+
isOneToOne: false;
|
|
13927
|
+
referencedRelation: "profiles_org";
|
|
13928
|
+
referencedColumns: ["id"];
|
|
13929
|
+
}];
|
|
13930
|
+
};
|
|
13931
|
+
profile_roles: {
|
|
13932
|
+
Row: {
|
|
13933
|
+
created_at: string;
|
|
13934
|
+
id: string;
|
|
13935
|
+
profile_id: string;
|
|
13936
|
+
role_id: string;
|
|
13937
|
+
};
|
|
13938
|
+
Insert: {
|
|
13939
|
+
created_at?: string;
|
|
13940
|
+
id?: string;
|
|
13941
|
+
profile_id: string;
|
|
13942
|
+
role_id: string;
|
|
13943
|
+
};
|
|
13944
|
+
Update: {
|
|
13945
|
+
created_at?: string;
|
|
13946
|
+
id?: string;
|
|
13947
|
+
profile_id?: string;
|
|
13948
|
+
role_id?: string;
|
|
13949
|
+
};
|
|
13950
|
+
Relationships: [{
|
|
13951
|
+
foreignKeyName: "profile_roles_profile_id_fkey";
|
|
13952
|
+
columns: ["profile_id"];
|
|
13953
|
+
isOneToOne: false;
|
|
13954
|
+
referencedRelation: "profiles_org";
|
|
13955
|
+
referencedColumns: ["id"];
|
|
13956
|
+
}, {
|
|
13957
|
+
foreignKeyName: "profile_roles_role_id_fkey";
|
|
13958
|
+
columns: ["role_id"];
|
|
13959
|
+
isOneToOne: false;
|
|
13960
|
+
referencedRelation: "roles";
|
|
13961
|
+
referencedColumns: ["id"];
|
|
13962
|
+
}];
|
|
13963
|
+
};
|
|
13553
13964
|
profiles: {
|
|
13554
13965
|
Row: {
|
|
13555
13966
|
address: string | null;
|
|
@@ -13595,6 +14006,39 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
13595
14006
|
referencedColumns: ["id"];
|
|
13596
14007
|
}];
|
|
13597
14008
|
};
|
|
14009
|
+
profiles_org: {
|
|
14010
|
+
Row: {
|
|
14011
|
+
created_at: string;
|
|
14012
|
+
id: string;
|
|
14013
|
+
is_default: boolean;
|
|
14014
|
+
name: string;
|
|
14015
|
+
tenant_id: string | null;
|
|
14016
|
+
updated_at: string;
|
|
14017
|
+
};
|
|
14018
|
+
Insert: {
|
|
14019
|
+
created_at?: string;
|
|
14020
|
+
id?: string;
|
|
14021
|
+
is_default?: boolean;
|
|
14022
|
+
name: string;
|
|
14023
|
+
tenant_id?: string | null;
|
|
14024
|
+
updated_at?: string;
|
|
14025
|
+
};
|
|
14026
|
+
Update: {
|
|
14027
|
+
created_at?: string;
|
|
14028
|
+
id?: string;
|
|
14029
|
+
is_default?: boolean;
|
|
14030
|
+
name?: string;
|
|
14031
|
+
tenant_id?: string | null;
|
|
14032
|
+
updated_at?: string;
|
|
14033
|
+
};
|
|
14034
|
+
Relationships: [{
|
|
14035
|
+
foreignKeyName: "profiles_org_tenant_id_fkey";
|
|
14036
|
+
columns: ["tenant_id"];
|
|
14037
|
+
isOneToOne: false;
|
|
14038
|
+
referencedRelation: "tenants";
|
|
14039
|
+
referencedColumns: ["id"];
|
|
14040
|
+
}];
|
|
14041
|
+
};
|
|
13598
14042
|
projects: {
|
|
13599
14043
|
Row: {
|
|
13600
14044
|
contact_name: string | null;
|
|
@@ -14769,6 +15213,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
14769
15213
|
type: string;
|
|
14770
15214
|
updated_at: string;
|
|
14771
15215
|
vereist_medewerker: boolean;
|
|
15216
|
+
werkplek: string | null;
|
|
14772
15217
|
};
|
|
14773
15218
|
Insert: {
|
|
14774
15219
|
actief?: boolean;
|
|
@@ -14782,6 +15227,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
14782
15227
|
type?: string;
|
|
14783
15228
|
updated_at?: string;
|
|
14784
15229
|
vereist_medewerker?: boolean;
|
|
15230
|
+
werkplek?: string | null;
|
|
14785
15231
|
};
|
|
14786
15232
|
Update: {
|
|
14787
15233
|
actief?: boolean;
|
|
@@ -14795,9 +15241,46 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
14795
15241
|
type?: string;
|
|
14796
15242
|
updated_at?: string;
|
|
14797
15243
|
vereist_medewerker?: boolean;
|
|
15244
|
+
werkplek?: string | null;
|
|
14798
15245
|
};
|
|
14799
15246
|
Relationships: [];
|
|
14800
15247
|
};
|
|
15248
|
+
sick_periods: {
|
|
15249
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
15268
|
+
created_at?: string;
|
|
15269
|
+
employee_id?: string;
|
|
15270
|
+
end_date?: string | null;
|
|
15271
|
+
id?: string;
|
|
15272
|
+
notes?: string | null;
|
|
15273
|
+
start_date?: string;
|
|
15274
|
+
updated_at?: string;
|
|
15275
|
+
};
|
|
15276
|
+
Relationships: [{
|
|
15277
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
15278
|
+
columns: ["employee_id"];
|
|
15279
|
+
isOneToOne: false;
|
|
15280
|
+
referencedRelation: "profiles";
|
|
15281
|
+
referencedColumns: ["id"];
|
|
15282
|
+
}];
|
|
15283
|
+
};
|
|
14801
15284
|
sidebar_config: {
|
|
14802
15285
|
Row: {
|
|
14803
15286
|
id: string;
|
|
@@ -19482,6 +19965,13 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
19482
19965
|
};
|
|
19483
19966
|
Returns: string;
|
|
19484
19967
|
};
|
|
19968
|
+
employee_day_hours: {
|
|
19969
|
+
Args: {
|
|
19970
|
+
_day: string;
|
|
19971
|
+
_employee_id: string;
|
|
19972
|
+
};
|
|
19973
|
+
Returns: number;
|
|
19974
|
+
};
|
|
19485
19975
|
enqueue_cart_replan_if_unlocked: {
|
|
19486
19976
|
Args: {
|
|
19487
19977
|
p_order_id: string;
|
|
@@ -19835,6 +20325,19 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
19835
20325
|
Args: never;
|
|
19836
20326
|
Returns: boolean;
|
|
19837
20327
|
};
|
|
20328
|
+
itk_offerte_naar_werkbon: {
|
|
20329
|
+
Args: {
|
|
20330
|
+
_offerte_id: string;
|
|
20331
|
+
};
|
|
20332
|
+
Returns: string;
|
|
20333
|
+
};
|
|
20334
|
+
itk_offerte_restant_mandaat: {
|
|
20335
|
+
Args: {
|
|
20336
|
+
_exclude_offerte_id?: string;
|
|
20337
|
+
_werkbon_id: string;
|
|
20338
|
+
};
|
|
20339
|
+
Returns: number;
|
|
20340
|
+
};
|
|
19838
20341
|
jwt_has_role: {
|
|
19839
20342
|
Args: {
|
|
19840
20343
|
_role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
@@ -19845,9 +20348,19 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
19845
20348
|
Args: never;
|
|
19846
20349
|
Returns: {
|
|
19847
20350
|
avatar_url: string;
|
|
20351
|
+
color: string;
|
|
19848
20352
|
display_name: string;
|
|
19849
20353
|
email: string;
|
|
20354
|
+
hours_fri: number;
|
|
20355
|
+
hours_mon: number;
|
|
20356
|
+
hours_thu: number;
|
|
20357
|
+
hours_tue: number;
|
|
20358
|
+
hours_wed: number;
|
|
19850
20359
|
id: string;
|
|
20360
|
+
is_active: boolean;
|
|
20361
|
+
leave_balance_hours: number;
|
|
20362
|
+
persnr: string;
|
|
20363
|
+
phone: string;
|
|
19851
20364
|
roles: string[];
|
|
19852
20365
|
}[];
|
|
19853
20366
|
};
|
|
@@ -20174,17 +20687,6 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
20174
20687
|
Returns: string;
|
|
20175
20688
|
};
|
|
20176
20689
|
logistics_emit_event: {
|
|
20177
|
-
Args: {
|
|
20178
|
-
p_event_type: string;
|
|
20179
|
-
p_idempotency_key?: string;
|
|
20180
|
-
p_order_ref: string;
|
|
20181
|
-
p_payload?: import("../integrations/supabase/types").Json;
|
|
20182
|
-
p_shadow?: boolean;
|
|
20183
|
-
p_source_module: string;
|
|
20184
|
-
p_strategy_id?: string;
|
|
20185
|
-
};
|
|
20186
|
-
Returns: import("../integrations/supabase/types").Json;
|
|
20187
|
-
} | {
|
|
20188
20690
|
Args: {
|
|
20189
20691
|
p_event_type: string;
|
|
20190
20692
|
p_idempotency_key?: string;
|
|
@@ -21029,6 +21531,37 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
21029
21531
|
};
|
|
21030
21532
|
Returns: undefined;
|
|
21031
21533
|
};
|
|
21534
|
+
quote_create_from_source: {
|
|
21535
|
+
Args: {
|
|
21536
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
21537
|
+
_source_id: string;
|
|
21538
|
+
_source_type: string;
|
|
21539
|
+
};
|
|
21540
|
+
Returns: string;
|
|
21541
|
+
};
|
|
21542
|
+
quote_get_billable_lines: {
|
|
21543
|
+
Args: {
|
|
21544
|
+
_quotation_id: string;
|
|
21545
|
+
};
|
|
21546
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21547
|
+
};
|
|
21548
|
+
quote_get_summary: {
|
|
21549
|
+
Args: {
|
|
21550
|
+
_quotation_id: string;
|
|
21551
|
+
};
|
|
21552
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21553
|
+
};
|
|
21554
|
+
quote_list_packages: {
|
|
21555
|
+
Args: never;
|
|
21556
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21557
|
+
};
|
|
21558
|
+
quote_list_sources: {
|
|
21559
|
+
Args: {
|
|
21560
|
+
_limit?: number;
|
|
21561
|
+
_source_type?: string;
|
|
21562
|
+
};
|
|
21563
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21564
|
+
};
|
|
21032
21565
|
recompute_all_reserved_stock: {
|
|
21033
21566
|
Args: never;
|
|
21034
21567
|
Returns: undefined;
|
|
@@ -21564,6 +22097,12 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
21564
22097
|
};
|
|
21565
22098
|
Returns: undefined;
|
|
21566
22099
|
};
|
|
22100
|
+
sync_sick_time_off: {
|
|
22101
|
+
Args: {
|
|
22102
|
+
_period_id: string;
|
|
22103
|
+
};
|
|
22104
|
+
Returns: number;
|
|
22105
|
+
};
|
|
21567
22106
|
trade_item_stock_duplicates: {
|
|
21568
22107
|
Args: never;
|
|
21569
22108
|
Returns: {
|
|
@@ -21637,11 +22176,31 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
21637
22176
|
Args: never;
|
|
21638
22177
|
Returns: string;
|
|
21639
22178
|
};
|
|
22179
|
+
wo_create_from_source: {
|
|
22180
|
+
Args: {
|
|
22181
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
22182
|
+
_source_id: string;
|
|
22183
|
+
_source_type: string;
|
|
22184
|
+
};
|
|
22185
|
+
Returns: string;
|
|
22186
|
+
};
|
|
22187
|
+
wo_get_billable_lines: {
|
|
22188
|
+
Args: {
|
|
22189
|
+
_work_order_id: string;
|
|
22190
|
+
};
|
|
22191
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22192
|
+
};
|
|
22193
|
+
wo_get_summary: {
|
|
22194
|
+
Args: {
|
|
22195
|
+
_work_order_id: string;
|
|
22196
|
+
};
|
|
22197
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22198
|
+
};
|
|
21640
22199
|
};
|
|
21641
22200
|
Enums: {
|
|
21642
22201
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
21643
22202
|
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
21644
|
-
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
22203
|
+
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
|
|
21645
22204
|
doc_orientation: "portrait" | "landscape";
|
|
21646
22205
|
exact_env: "staging" | "live";
|
|
21647
22206
|
exact_push_status: "pending" | "sent" | "error";
|
|
@@ -26718,6 +27277,42 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
26718
27277
|
};
|
|
26719
27278
|
Relationships: [];
|
|
26720
27279
|
};
|
|
27280
|
+
facturen: {
|
|
27281
|
+
Row: {
|
|
27282
|
+
bedrag_incl_btw: number;
|
|
27283
|
+
created_at: string;
|
|
27284
|
+
datum: string;
|
|
27285
|
+
factuurnummer: string;
|
|
27286
|
+
id: string;
|
|
27287
|
+
klantnaam: string;
|
|
27288
|
+
status: string;
|
|
27289
|
+
updated_at: string;
|
|
27290
|
+
user_id: string;
|
|
27291
|
+
};
|
|
27292
|
+
Insert: {
|
|
27293
|
+
bedrag_incl_btw: number;
|
|
27294
|
+
created_at?: string;
|
|
27295
|
+
datum?: string;
|
|
27296
|
+
factuurnummer: string;
|
|
27297
|
+
id?: string;
|
|
27298
|
+
klantnaam: string;
|
|
27299
|
+
status?: string;
|
|
27300
|
+
updated_at?: string;
|
|
27301
|
+
user_id?: string;
|
|
27302
|
+
};
|
|
27303
|
+
Update: {
|
|
27304
|
+
bedrag_incl_btw?: number;
|
|
27305
|
+
created_at?: string;
|
|
27306
|
+
datum?: string;
|
|
27307
|
+
factuurnummer?: string;
|
|
27308
|
+
id?: string;
|
|
27309
|
+
klantnaam?: string;
|
|
27310
|
+
status?: string;
|
|
27311
|
+
updated_at?: string;
|
|
27312
|
+
user_id?: string;
|
|
27313
|
+
};
|
|
27314
|
+
Relationships: [];
|
|
27315
|
+
};
|
|
26721
27316
|
floricode_connection_settings: {
|
|
26722
27317
|
Row: {
|
|
26723
27318
|
catalog_key: string | null;
|
|
@@ -29442,6 +30037,258 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
29442
30037
|
};
|
|
29443
30038
|
Relationships: [];
|
|
29444
30039
|
};
|
|
30040
|
+
itk_offerte_events: {
|
|
30041
|
+
Row: {
|
|
30042
|
+
created_at: string;
|
|
30043
|
+
event_type: string;
|
|
30044
|
+
id: string;
|
|
30045
|
+
metadata: import("../integrations/supabase/types").Json;
|
|
30046
|
+
offerte_id: string;
|
|
30047
|
+
omschrijving: string | null;
|
|
30048
|
+
user_id: string | null;
|
|
30049
|
+
};
|
|
30050
|
+
Insert: {
|
|
30051
|
+
created_at?: string;
|
|
30052
|
+
event_type: string;
|
|
30053
|
+
id?: string;
|
|
30054
|
+
metadata?: import("../integrations/supabase/types").Json;
|
|
30055
|
+
offerte_id: string;
|
|
30056
|
+
omschrijving?: string | null;
|
|
30057
|
+
user_id?: string | null;
|
|
30058
|
+
};
|
|
30059
|
+
Update: {
|
|
30060
|
+
created_at?: string;
|
|
30061
|
+
event_type?: string;
|
|
30062
|
+
id?: string;
|
|
30063
|
+
metadata?: import("../integrations/supabase/types").Json;
|
|
30064
|
+
offerte_id?: string;
|
|
30065
|
+
omschrijving?: string | null;
|
|
30066
|
+
user_id?: string | null;
|
|
30067
|
+
};
|
|
30068
|
+
Relationships: [{
|
|
30069
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
30070
|
+
columns: ["offerte_id"];
|
|
30071
|
+
isOneToOne: false;
|
|
30072
|
+
referencedRelation: "itk_offertes";
|
|
30073
|
+
referencedColumns: ["id"];
|
|
30074
|
+
}];
|
|
30075
|
+
};
|
|
30076
|
+
itk_offerte_regels: {
|
|
30077
|
+
Row: {
|
|
30078
|
+
created_at: string;
|
|
30079
|
+
id: string;
|
|
30080
|
+
line_total_cents: number;
|
|
30081
|
+
offerte_id: string;
|
|
30082
|
+
omschrijving: string;
|
|
30083
|
+
package_id: string | null;
|
|
30084
|
+
quantity: number;
|
|
30085
|
+
sort_order: number;
|
|
30086
|
+
source: string;
|
|
30087
|
+
unit_price_cents: number;
|
|
30088
|
+
updated_at: string;
|
|
30089
|
+
};
|
|
30090
|
+
Insert: {
|
|
30091
|
+
created_at?: string;
|
|
30092
|
+
id?: string;
|
|
30093
|
+
line_total_cents?: number;
|
|
30094
|
+
offerte_id: string;
|
|
30095
|
+
omschrijving?: string;
|
|
30096
|
+
package_id?: string | null;
|
|
30097
|
+
quantity?: number;
|
|
30098
|
+
sort_order?: number;
|
|
30099
|
+
source?: string;
|
|
30100
|
+
unit_price_cents?: number;
|
|
30101
|
+
updated_at?: string;
|
|
30102
|
+
};
|
|
30103
|
+
Update: {
|
|
30104
|
+
created_at?: string;
|
|
30105
|
+
id?: string;
|
|
30106
|
+
line_total_cents?: number;
|
|
30107
|
+
offerte_id?: string;
|
|
30108
|
+
omschrijving?: string;
|
|
30109
|
+
package_id?: string | null;
|
|
30110
|
+
quantity?: number;
|
|
30111
|
+
sort_order?: number;
|
|
30112
|
+
source?: string;
|
|
30113
|
+
unit_price_cents?: number;
|
|
30114
|
+
updated_at?: string;
|
|
30115
|
+
};
|
|
30116
|
+
Relationships: [{
|
|
30117
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
30118
|
+
columns: ["offerte_id"];
|
|
30119
|
+
isOneToOne: false;
|
|
30120
|
+
referencedRelation: "itk_offertes";
|
|
30121
|
+
referencedColumns: ["id"];
|
|
30122
|
+
}, {
|
|
30123
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
30124
|
+
columns: ["package_id"];
|
|
30125
|
+
isOneToOne: false;
|
|
30126
|
+
referencedRelation: "werkbon_packages";
|
|
30127
|
+
referencedColumns: ["id"];
|
|
30128
|
+
}];
|
|
30129
|
+
};
|
|
30130
|
+
itk_offerte_settings: {
|
|
30131
|
+
Row: {
|
|
30132
|
+
auto_convert_binnen_mandaat: boolean;
|
|
30133
|
+
created_at: string;
|
|
30134
|
+
default_geldigheid_dagen: number;
|
|
30135
|
+
default_vat_rate: number;
|
|
30136
|
+
id: string;
|
|
30137
|
+
singleton: boolean;
|
|
30138
|
+
updated_at: string;
|
|
30139
|
+
};
|
|
30140
|
+
Insert: {
|
|
30141
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
30142
|
+
created_at?: string;
|
|
30143
|
+
default_geldigheid_dagen?: number;
|
|
30144
|
+
default_vat_rate?: number;
|
|
30145
|
+
id?: string;
|
|
30146
|
+
singleton?: boolean;
|
|
30147
|
+
updated_at?: string;
|
|
30148
|
+
};
|
|
30149
|
+
Update: {
|
|
30150
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
30151
|
+
created_at?: string;
|
|
30152
|
+
default_geldigheid_dagen?: number;
|
|
30153
|
+
default_vat_rate?: number;
|
|
30154
|
+
id?: string;
|
|
30155
|
+
singleton?: boolean;
|
|
30156
|
+
updated_at?: string;
|
|
30157
|
+
};
|
|
30158
|
+
Relationships: [];
|
|
30159
|
+
};
|
|
30160
|
+
itk_offertes: {
|
|
30161
|
+
Row: {
|
|
30162
|
+
ai_generated: boolean;
|
|
30163
|
+
approved_at: string | null;
|
|
30164
|
+
binnen_mandaat: boolean;
|
|
30165
|
+
contact_id: string | null;
|
|
30166
|
+
converted_at: string | null;
|
|
30167
|
+
created_at: string;
|
|
30168
|
+
created_by: string | null;
|
|
30169
|
+
customer_id: string | null;
|
|
30170
|
+
follow_up_werkbon_id: string | null;
|
|
30171
|
+
id: string;
|
|
30172
|
+
jaar: number;
|
|
30173
|
+
mandaat_restant_cents: number;
|
|
30174
|
+
notities: string | null;
|
|
30175
|
+
offerte_number: string | null;
|
|
30176
|
+
omschrijving: string;
|
|
30177
|
+
rejected_at: string | null;
|
|
30178
|
+
sent_at: string | null;
|
|
30179
|
+
source_number: string | null;
|
|
30180
|
+
source_ref: string | null;
|
|
30181
|
+
source_type: string;
|
|
30182
|
+
status: string;
|
|
30183
|
+
subtotal_cents: number;
|
|
30184
|
+
total_cents: number;
|
|
30185
|
+
updated_at: string;
|
|
30186
|
+
valid_until: string | null;
|
|
30187
|
+
vat_cents: number;
|
|
30188
|
+
vat_rate: number;
|
|
30189
|
+
viewed_at: string | null;
|
|
30190
|
+
volgnummer: number | null;
|
|
30191
|
+
werkbon_id: string | null;
|
|
30192
|
+
work_location_id: string | null;
|
|
30193
|
+
};
|
|
30194
|
+
Insert: {
|
|
30195
|
+
ai_generated?: boolean;
|
|
30196
|
+
approved_at?: string | null;
|
|
30197
|
+
binnen_mandaat?: boolean;
|
|
30198
|
+
contact_id?: string | null;
|
|
30199
|
+
converted_at?: string | null;
|
|
30200
|
+
created_at?: string;
|
|
30201
|
+
created_by?: string | null;
|
|
30202
|
+
customer_id?: string | null;
|
|
30203
|
+
follow_up_werkbon_id?: string | null;
|
|
30204
|
+
id?: string;
|
|
30205
|
+
jaar?: number;
|
|
30206
|
+
mandaat_restant_cents?: number;
|
|
30207
|
+
notities?: string | null;
|
|
30208
|
+
offerte_number?: string | null;
|
|
30209
|
+
omschrijving?: string;
|
|
30210
|
+
rejected_at?: string | null;
|
|
30211
|
+
sent_at?: string | null;
|
|
30212
|
+
source_number?: string | null;
|
|
30213
|
+
source_ref?: string | null;
|
|
30214
|
+
source_type?: string;
|
|
30215
|
+
status?: string;
|
|
30216
|
+
subtotal_cents?: number;
|
|
30217
|
+
total_cents?: number;
|
|
30218
|
+
updated_at?: string;
|
|
30219
|
+
valid_until?: string | null;
|
|
30220
|
+
vat_cents?: number;
|
|
30221
|
+
vat_rate?: number;
|
|
30222
|
+
viewed_at?: string | null;
|
|
30223
|
+
volgnummer?: number | null;
|
|
30224
|
+
werkbon_id?: string | null;
|
|
30225
|
+
work_location_id?: string | null;
|
|
30226
|
+
};
|
|
30227
|
+
Update: {
|
|
30228
|
+
ai_generated?: boolean;
|
|
30229
|
+
approved_at?: string | null;
|
|
30230
|
+
binnen_mandaat?: boolean;
|
|
30231
|
+
contact_id?: string | null;
|
|
30232
|
+
converted_at?: string | null;
|
|
30233
|
+
created_at?: string;
|
|
30234
|
+
created_by?: string | null;
|
|
30235
|
+
customer_id?: string | null;
|
|
30236
|
+
follow_up_werkbon_id?: string | null;
|
|
30237
|
+
id?: string;
|
|
30238
|
+
jaar?: number;
|
|
30239
|
+
mandaat_restant_cents?: number;
|
|
30240
|
+
notities?: string | null;
|
|
30241
|
+
offerte_number?: string | null;
|
|
30242
|
+
omschrijving?: string;
|
|
30243
|
+
rejected_at?: string | null;
|
|
30244
|
+
sent_at?: string | null;
|
|
30245
|
+
source_number?: string | null;
|
|
30246
|
+
source_ref?: string | null;
|
|
30247
|
+
source_type?: string;
|
|
30248
|
+
status?: string;
|
|
30249
|
+
subtotal_cents?: number;
|
|
30250
|
+
total_cents?: number;
|
|
30251
|
+
updated_at?: string;
|
|
30252
|
+
valid_until?: string | null;
|
|
30253
|
+
vat_cents?: number;
|
|
30254
|
+
vat_rate?: number;
|
|
30255
|
+
viewed_at?: string | null;
|
|
30256
|
+
volgnummer?: number | null;
|
|
30257
|
+
werkbon_id?: string | null;
|
|
30258
|
+
work_location_id?: string | null;
|
|
30259
|
+
};
|
|
30260
|
+
Relationships: [{
|
|
30261
|
+
foreignKeyName: "itk_offertes_contact_id_fkey";
|
|
30262
|
+
columns: ["contact_id"];
|
|
30263
|
+
isOneToOne: false;
|
|
30264
|
+
referencedRelation: "itk_contact_persons";
|
|
30265
|
+
referencedColumns: ["id"];
|
|
30266
|
+
}, {
|
|
30267
|
+
foreignKeyName: "itk_offertes_customer_id_fkey";
|
|
30268
|
+
columns: ["customer_id"];
|
|
30269
|
+
isOneToOne: false;
|
|
30270
|
+
referencedRelation: "itk_customers";
|
|
30271
|
+
referencedColumns: ["id"];
|
|
30272
|
+
}, {
|
|
30273
|
+
foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
|
|
30274
|
+
columns: ["follow_up_werkbon_id"];
|
|
30275
|
+
isOneToOne: false;
|
|
30276
|
+
referencedRelation: "werkbonnen";
|
|
30277
|
+
referencedColumns: ["id"];
|
|
30278
|
+
}, {
|
|
30279
|
+
foreignKeyName: "itk_offertes_werkbon_id_fkey";
|
|
30280
|
+
columns: ["werkbon_id"];
|
|
30281
|
+
isOneToOne: false;
|
|
30282
|
+
referencedRelation: "werkbonnen";
|
|
30283
|
+
referencedColumns: ["id"];
|
|
30284
|
+
}, {
|
|
30285
|
+
foreignKeyName: "itk_offertes_work_location_id_fkey";
|
|
30286
|
+
columns: ["work_location_id"];
|
|
30287
|
+
isOneToOne: false;
|
|
30288
|
+
referencedRelation: "itk_work_locations";
|
|
30289
|
+
referencedColumns: ["id"];
|
|
30290
|
+
}];
|
|
30291
|
+
};
|
|
29445
30292
|
itk_work_locations: {
|
|
29446
30293
|
Row: {
|
|
29447
30294
|
city: string | null;
|
|
@@ -31815,6 +32662,63 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
31815
32662
|
referencedColumns: ["id"];
|
|
31816
32663
|
}];
|
|
31817
32664
|
};
|
|
32665
|
+
medewerker_details: {
|
|
32666
|
+
Row: {
|
|
32667
|
+
color: string | null;
|
|
32668
|
+
created_at: string;
|
|
32669
|
+
hours_fri: number | null;
|
|
32670
|
+
hours_mon: number | null;
|
|
32671
|
+
hours_thu: number | null;
|
|
32672
|
+
hours_tue: number | null;
|
|
32673
|
+
hours_wed: number | null;
|
|
32674
|
+
id: string;
|
|
32675
|
+
is_active: boolean;
|
|
32676
|
+
leave_balance_hours: number;
|
|
32677
|
+
persnr: string | null;
|
|
32678
|
+
phone: string | null;
|
|
32679
|
+
profile_id: string;
|
|
32680
|
+
updated_at: string;
|
|
32681
|
+
};
|
|
32682
|
+
Insert: {
|
|
32683
|
+
color?: string | null;
|
|
32684
|
+
created_at?: string;
|
|
32685
|
+
hours_fri?: number | null;
|
|
32686
|
+
hours_mon?: number | null;
|
|
32687
|
+
hours_thu?: number | null;
|
|
32688
|
+
hours_tue?: number | null;
|
|
32689
|
+
hours_wed?: number | null;
|
|
32690
|
+
id?: string;
|
|
32691
|
+
is_active?: boolean;
|
|
32692
|
+
leave_balance_hours?: number;
|
|
32693
|
+
persnr?: string | null;
|
|
32694
|
+
phone?: string | null;
|
|
32695
|
+
profile_id: string;
|
|
32696
|
+
updated_at?: string;
|
|
32697
|
+
};
|
|
32698
|
+
Update: {
|
|
32699
|
+
color?: string | null;
|
|
32700
|
+
created_at?: string;
|
|
32701
|
+
hours_fri?: number | null;
|
|
32702
|
+
hours_mon?: number | null;
|
|
32703
|
+
hours_thu?: number | null;
|
|
32704
|
+
hours_tue?: number | null;
|
|
32705
|
+
hours_wed?: number | null;
|
|
32706
|
+
id?: string;
|
|
32707
|
+
is_active?: boolean;
|
|
32708
|
+
leave_balance_hours?: number;
|
|
32709
|
+
persnr?: string | null;
|
|
32710
|
+
phone?: string | null;
|
|
32711
|
+
profile_id?: string;
|
|
32712
|
+
updated_at?: string;
|
|
32713
|
+
};
|
|
32714
|
+
Relationships: [{
|
|
32715
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
32716
|
+
columns: ["profile_id"];
|
|
32717
|
+
isOneToOne: true;
|
|
32718
|
+
referencedRelation: "profiles";
|
|
32719
|
+
referencedColumns: ["id"];
|
|
32720
|
+
}];
|
|
32721
|
+
};
|
|
31818
32722
|
module_features: {
|
|
31819
32723
|
Row: {
|
|
31820
32724
|
created_at: string;
|
|
@@ -33108,6 +34012,8 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
33108
34012
|
orders: {
|
|
33109
34013
|
Row: {
|
|
33110
34014
|
buffer_id: string | null;
|
|
34015
|
+
cancel_reason: string | null;
|
|
34016
|
+
cancelled_at: string | null;
|
|
33111
34017
|
created_at: string;
|
|
33112
34018
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
33113
34019
|
customer_id: string | null;
|
|
@@ -33130,6 +34036,8 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
33130
34036
|
};
|
|
33131
34037
|
Insert: {
|
|
33132
34038
|
buffer_id?: string | null;
|
|
34039
|
+
cancel_reason?: string | null;
|
|
34040
|
+
cancelled_at?: string | null;
|
|
33133
34041
|
created_at?: string;
|
|
33134
34042
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
33135
34043
|
customer_id?: string | null;
|
|
@@ -33152,6 +34060,8 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
33152
34060
|
};
|
|
33153
34061
|
Update: {
|
|
33154
34062
|
buffer_id?: string | null;
|
|
34063
|
+
cancel_reason?: string | null;
|
|
34064
|
+
cancelled_at?: string | null;
|
|
33155
34065
|
created_at?: string;
|
|
33156
34066
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
33157
34067
|
customer_id?: string | null;
|
|
@@ -35214,6 +36124,66 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
35214
36124
|
};
|
|
35215
36125
|
Relationships: [];
|
|
35216
36126
|
};
|
|
36127
|
+
profile_modules: {
|
|
36128
|
+
Row: {
|
|
36129
|
+
created_at: string;
|
|
36130
|
+
id: string;
|
|
36131
|
+
module_id: string;
|
|
36132
|
+
profile_id: string;
|
|
36133
|
+
};
|
|
36134
|
+
Insert: {
|
|
36135
|
+
created_at?: string;
|
|
36136
|
+
id?: string;
|
|
36137
|
+
module_id: string;
|
|
36138
|
+
profile_id: string;
|
|
36139
|
+
};
|
|
36140
|
+
Update: {
|
|
36141
|
+
created_at?: string;
|
|
36142
|
+
id?: string;
|
|
36143
|
+
module_id?: string;
|
|
36144
|
+
profile_id?: string;
|
|
36145
|
+
};
|
|
36146
|
+
Relationships: [{
|
|
36147
|
+
foreignKeyName: "profile_modules_profile_id_fkey";
|
|
36148
|
+
columns: ["profile_id"];
|
|
36149
|
+
isOneToOne: false;
|
|
36150
|
+
referencedRelation: "profiles_org";
|
|
36151
|
+
referencedColumns: ["id"];
|
|
36152
|
+
}];
|
|
36153
|
+
};
|
|
36154
|
+
profile_roles: {
|
|
36155
|
+
Row: {
|
|
36156
|
+
created_at: string;
|
|
36157
|
+
id: string;
|
|
36158
|
+
profile_id: string;
|
|
36159
|
+
role_id: string;
|
|
36160
|
+
};
|
|
36161
|
+
Insert: {
|
|
36162
|
+
created_at?: string;
|
|
36163
|
+
id?: string;
|
|
36164
|
+
profile_id: string;
|
|
36165
|
+
role_id: string;
|
|
36166
|
+
};
|
|
36167
|
+
Update: {
|
|
36168
|
+
created_at?: string;
|
|
36169
|
+
id?: string;
|
|
36170
|
+
profile_id?: string;
|
|
36171
|
+
role_id?: string;
|
|
36172
|
+
};
|
|
36173
|
+
Relationships: [{
|
|
36174
|
+
foreignKeyName: "profile_roles_profile_id_fkey";
|
|
36175
|
+
columns: ["profile_id"];
|
|
36176
|
+
isOneToOne: false;
|
|
36177
|
+
referencedRelation: "profiles_org";
|
|
36178
|
+
referencedColumns: ["id"];
|
|
36179
|
+
}, {
|
|
36180
|
+
foreignKeyName: "profile_roles_role_id_fkey";
|
|
36181
|
+
columns: ["role_id"];
|
|
36182
|
+
isOneToOne: false;
|
|
36183
|
+
referencedRelation: "roles";
|
|
36184
|
+
referencedColumns: ["id"];
|
|
36185
|
+
}];
|
|
36186
|
+
};
|
|
35217
36187
|
profiles: {
|
|
35218
36188
|
Row: {
|
|
35219
36189
|
address: string | null;
|
|
@@ -35259,6 +36229,39 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
35259
36229
|
referencedColumns: ["id"];
|
|
35260
36230
|
}];
|
|
35261
36231
|
};
|
|
36232
|
+
profiles_org: {
|
|
36233
|
+
Row: {
|
|
36234
|
+
created_at: string;
|
|
36235
|
+
id: string;
|
|
36236
|
+
is_default: boolean;
|
|
36237
|
+
name: string;
|
|
36238
|
+
tenant_id: string | null;
|
|
36239
|
+
updated_at: string;
|
|
36240
|
+
};
|
|
36241
|
+
Insert: {
|
|
36242
|
+
created_at?: string;
|
|
36243
|
+
id?: string;
|
|
36244
|
+
is_default?: boolean;
|
|
36245
|
+
name: string;
|
|
36246
|
+
tenant_id?: string | null;
|
|
36247
|
+
updated_at?: string;
|
|
36248
|
+
};
|
|
36249
|
+
Update: {
|
|
36250
|
+
created_at?: string;
|
|
36251
|
+
id?: string;
|
|
36252
|
+
is_default?: boolean;
|
|
36253
|
+
name?: string;
|
|
36254
|
+
tenant_id?: string | null;
|
|
36255
|
+
updated_at?: string;
|
|
36256
|
+
};
|
|
36257
|
+
Relationships: [{
|
|
36258
|
+
foreignKeyName: "profiles_org_tenant_id_fkey";
|
|
36259
|
+
columns: ["tenant_id"];
|
|
36260
|
+
isOneToOne: false;
|
|
36261
|
+
referencedRelation: "tenants";
|
|
36262
|
+
referencedColumns: ["id"];
|
|
36263
|
+
}];
|
|
36264
|
+
};
|
|
35262
36265
|
projects: {
|
|
35263
36266
|
Row: {
|
|
35264
36267
|
contact_name: string | null;
|
|
@@ -36433,6 +37436,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
36433
37436
|
type: string;
|
|
36434
37437
|
updated_at: string;
|
|
36435
37438
|
vereist_medewerker: boolean;
|
|
37439
|
+
werkplek: string | null;
|
|
36436
37440
|
};
|
|
36437
37441
|
Insert: {
|
|
36438
37442
|
actief?: boolean;
|
|
@@ -36446,6 +37450,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
36446
37450
|
type?: string;
|
|
36447
37451
|
updated_at?: string;
|
|
36448
37452
|
vereist_medewerker?: boolean;
|
|
37453
|
+
werkplek?: string | null;
|
|
36449
37454
|
};
|
|
36450
37455
|
Update: {
|
|
36451
37456
|
actief?: boolean;
|
|
@@ -36459,9 +37464,46 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
36459
37464
|
type?: string;
|
|
36460
37465
|
updated_at?: string;
|
|
36461
37466
|
vereist_medewerker?: boolean;
|
|
37467
|
+
werkplek?: string | null;
|
|
36462
37468
|
};
|
|
36463
37469
|
Relationships: [];
|
|
36464
37470
|
};
|
|
37471
|
+
sick_periods: {
|
|
37472
|
+
Row: {
|
|
37473
|
+
created_at: string;
|
|
37474
|
+
employee_id: string;
|
|
37475
|
+
end_date: string | null;
|
|
37476
|
+
id: string;
|
|
37477
|
+
notes: string | null;
|
|
37478
|
+
start_date: string;
|
|
37479
|
+
updated_at: string;
|
|
37480
|
+
};
|
|
37481
|
+
Insert: {
|
|
37482
|
+
created_at?: string;
|
|
37483
|
+
employee_id: string;
|
|
37484
|
+
end_date?: string | null;
|
|
37485
|
+
id?: string;
|
|
37486
|
+
notes?: string | null;
|
|
37487
|
+
start_date: string;
|
|
37488
|
+
updated_at?: string;
|
|
37489
|
+
};
|
|
37490
|
+
Update: {
|
|
37491
|
+
created_at?: string;
|
|
37492
|
+
employee_id?: string;
|
|
37493
|
+
end_date?: string | null;
|
|
37494
|
+
id?: string;
|
|
37495
|
+
notes?: string | null;
|
|
37496
|
+
start_date?: string;
|
|
37497
|
+
updated_at?: string;
|
|
37498
|
+
};
|
|
37499
|
+
Relationships: [{
|
|
37500
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
37501
|
+
columns: ["employee_id"];
|
|
37502
|
+
isOneToOne: false;
|
|
37503
|
+
referencedRelation: "profiles";
|
|
37504
|
+
referencedColumns: ["id"];
|
|
37505
|
+
}];
|
|
37506
|
+
};
|
|
36465
37507
|
sidebar_config: {
|
|
36466
37508
|
Row: {
|
|
36467
37509
|
id: string;
|
|
@@ -41146,6 +42188,13 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
41146
42188
|
};
|
|
41147
42189
|
Returns: string;
|
|
41148
42190
|
};
|
|
42191
|
+
employee_day_hours: {
|
|
42192
|
+
Args: {
|
|
42193
|
+
_day: string;
|
|
42194
|
+
_employee_id: string;
|
|
42195
|
+
};
|
|
42196
|
+
Returns: number;
|
|
42197
|
+
};
|
|
41149
42198
|
enqueue_cart_replan_if_unlocked: {
|
|
41150
42199
|
Args: {
|
|
41151
42200
|
p_order_id: string;
|
|
@@ -41499,6 +42548,19 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
41499
42548
|
Args: never;
|
|
41500
42549
|
Returns: boolean;
|
|
41501
42550
|
};
|
|
42551
|
+
itk_offerte_naar_werkbon: {
|
|
42552
|
+
Args: {
|
|
42553
|
+
_offerte_id: string;
|
|
42554
|
+
};
|
|
42555
|
+
Returns: string;
|
|
42556
|
+
};
|
|
42557
|
+
itk_offerte_restant_mandaat: {
|
|
42558
|
+
Args: {
|
|
42559
|
+
_exclude_offerte_id?: string;
|
|
42560
|
+
_werkbon_id: string;
|
|
42561
|
+
};
|
|
42562
|
+
Returns: number;
|
|
42563
|
+
};
|
|
41502
42564
|
jwt_has_role: {
|
|
41503
42565
|
Args: {
|
|
41504
42566
|
_role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
@@ -41509,9 +42571,19 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
41509
42571
|
Args: never;
|
|
41510
42572
|
Returns: {
|
|
41511
42573
|
avatar_url: string;
|
|
42574
|
+
color: string;
|
|
41512
42575
|
display_name: string;
|
|
41513
42576
|
email: string;
|
|
42577
|
+
hours_fri: number;
|
|
42578
|
+
hours_mon: number;
|
|
42579
|
+
hours_thu: number;
|
|
42580
|
+
hours_tue: number;
|
|
42581
|
+
hours_wed: number;
|
|
41514
42582
|
id: string;
|
|
42583
|
+
is_active: boolean;
|
|
42584
|
+
leave_balance_hours: number;
|
|
42585
|
+
persnr: string;
|
|
42586
|
+
phone: string;
|
|
41515
42587
|
roles: string[];
|
|
41516
42588
|
}[];
|
|
41517
42589
|
};
|
|
@@ -41838,17 +42910,6 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
41838
42910
|
Returns: string;
|
|
41839
42911
|
};
|
|
41840
42912
|
logistics_emit_event: {
|
|
41841
|
-
Args: {
|
|
41842
|
-
p_event_type: string;
|
|
41843
|
-
p_idempotency_key?: string;
|
|
41844
|
-
p_order_ref: string;
|
|
41845
|
-
p_payload?: import("../integrations/supabase/types").Json;
|
|
41846
|
-
p_shadow?: boolean;
|
|
41847
|
-
p_source_module: string;
|
|
41848
|
-
p_strategy_id?: string;
|
|
41849
|
-
};
|
|
41850
|
-
Returns: import("../integrations/supabase/types").Json;
|
|
41851
|
-
} | {
|
|
41852
42913
|
Args: {
|
|
41853
42914
|
p_event_type: string;
|
|
41854
42915
|
p_idempotency_key?: string;
|
|
@@ -42693,6 +43754,37 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
42693
43754
|
};
|
|
42694
43755
|
Returns: undefined;
|
|
42695
43756
|
};
|
|
43757
|
+
quote_create_from_source: {
|
|
43758
|
+
Args: {
|
|
43759
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
43760
|
+
_source_id: string;
|
|
43761
|
+
_source_type: string;
|
|
43762
|
+
};
|
|
43763
|
+
Returns: string;
|
|
43764
|
+
};
|
|
43765
|
+
quote_get_billable_lines: {
|
|
43766
|
+
Args: {
|
|
43767
|
+
_quotation_id: string;
|
|
43768
|
+
};
|
|
43769
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
43770
|
+
};
|
|
43771
|
+
quote_get_summary: {
|
|
43772
|
+
Args: {
|
|
43773
|
+
_quotation_id: string;
|
|
43774
|
+
};
|
|
43775
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
43776
|
+
};
|
|
43777
|
+
quote_list_packages: {
|
|
43778
|
+
Args: never;
|
|
43779
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
43780
|
+
};
|
|
43781
|
+
quote_list_sources: {
|
|
43782
|
+
Args: {
|
|
43783
|
+
_limit?: number;
|
|
43784
|
+
_source_type?: string;
|
|
43785
|
+
};
|
|
43786
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
43787
|
+
};
|
|
42696
43788
|
recompute_all_reserved_stock: {
|
|
42697
43789
|
Args: never;
|
|
42698
43790
|
Returns: undefined;
|
|
@@ -43228,6 +44320,12 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
43228
44320
|
};
|
|
43229
44321
|
Returns: undefined;
|
|
43230
44322
|
};
|
|
44323
|
+
sync_sick_time_off: {
|
|
44324
|
+
Args: {
|
|
44325
|
+
_period_id: string;
|
|
44326
|
+
};
|
|
44327
|
+
Returns: number;
|
|
44328
|
+
};
|
|
43231
44329
|
trade_item_stock_duplicates: {
|
|
43232
44330
|
Args: never;
|
|
43233
44331
|
Returns: {
|
|
@@ -43301,11 +44399,31 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
|
|
|
43301
44399
|
Args: never;
|
|
43302
44400
|
Returns: string;
|
|
43303
44401
|
};
|
|
44402
|
+
wo_create_from_source: {
|
|
44403
|
+
Args: {
|
|
44404
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
44405
|
+
_source_id: string;
|
|
44406
|
+
_source_type: string;
|
|
44407
|
+
};
|
|
44408
|
+
Returns: string;
|
|
44409
|
+
};
|
|
44410
|
+
wo_get_billable_lines: {
|
|
44411
|
+
Args: {
|
|
44412
|
+
_work_order_id: string;
|
|
44413
|
+
};
|
|
44414
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
44415
|
+
};
|
|
44416
|
+
wo_get_summary: {
|
|
44417
|
+
Args: {
|
|
44418
|
+
_work_order_id: string;
|
|
44419
|
+
};
|
|
44420
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
44421
|
+
};
|
|
43304
44422
|
};
|
|
43305
44423
|
Enums: {
|
|
43306
44424
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
43307
44425
|
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
43308
|
-
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
44426
|
+
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
|
|
43309
44427
|
doc_orientation: "portrait" | "landscape";
|
|
43310
44428
|
exact_env: "staging" | "live";
|
|
43311
44429
|
exact_push_status: "pending" | "sent" | "error";
|