@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
|
@@ -5048,6 +5048,42 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
5048
5048
|
};
|
|
5049
5049
|
Relationships: [];
|
|
5050
5050
|
};
|
|
5051
|
+
facturen: {
|
|
5052
|
+
Row: {
|
|
5053
|
+
bedrag_incl_btw: number;
|
|
5054
|
+
created_at: string;
|
|
5055
|
+
datum: string;
|
|
5056
|
+
factuurnummer: string;
|
|
5057
|
+
id: string;
|
|
5058
|
+
klantnaam: string;
|
|
5059
|
+
status: string;
|
|
5060
|
+
updated_at: string;
|
|
5061
|
+
user_id: string;
|
|
5062
|
+
};
|
|
5063
|
+
Insert: {
|
|
5064
|
+
bedrag_incl_btw: number;
|
|
5065
|
+
created_at?: string;
|
|
5066
|
+
datum?: string;
|
|
5067
|
+
factuurnummer: string;
|
|
5068
|
+
id?: string;
|
|
5069
|
+
klantnaam: string;
|
|
5070
|
+
status?: string;
|
|
5071
|
+
updated_at?: string;
|
|
5072
|
+
user_id?: string;
|
|
5073
|
+
};
|
|
5074
|
+
Update: {
|
|
5075
|
+
bedrag_incl_btw?: number;
|
|
5076
|
+
created_at?: string;
|
|
5077
|
+
datum?: string;
|
|
5078
|
+
factuurnummer?: string;
|
|
5079
|
+
id?: string;
|
|
5080
|
+
klantnaam?: string;
|
|
5081
|
+
status?: string;
|
|
5082
|
+
updated_at?: string;
|
|
5083
|
+
user_id?: string;
|
|
5084
|
+
};
|
|
5085
|
+
Relationships: [];
|
|
5086
|
+
};
|
|
5051
5087
|
floricode_connection_settings: {
|
|
5052
5088
|
Row: {
|
|
5053
5089
|
catalog_key: string | null;
|
|
@@ -7772,6 +7808,258 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
7772
7808
|
};
|
|
7773
7809
|
Relationships: [];
|
|
7774
7810
|
};
|
|
7811
|
+
itk_offerte_events: {
|
|
7812
|
+
Row: {
|
|
7813
|
+
created_at: string;
|
|
7814
|
+
event_type: string;
|
|
7815
|
+
id: string;
|
|
7816
|
+
metadata: import("../integrations/supabase/types").Json;
|
|
7817
|
+
offerte_id: string;
|
|
7818
|
+
omschrijving: string | null;
|
|
7819
|
+
user_id: string | null;
|
|
7820
|
+
};
|
|
7821
|
+
Insert: {
|
|
7822
|
+
created_at?: string;
|
|
7823
|
+
event_type: string;
|
|
7824
|
+
id?: string;
|
|
7825
|
+
metadata?: import("../integrations/supabase/types").Json;
|
|
7826
|
+
offerte_id: string;
|
|
7827
|
+
omschrijving?: string | null;
|
|
7828
|
+
user_id?: string | null;
|
|
7829
|
+
};
|
|
7830
|
+
Update: {
|
|
7831
|
+
created_at?: string;
|
|
7832
|
+
event_type?: string;
|
|
7833
|
+
id?: string;
|
|
7834
|
+
metadata?: import("../integrations/supabase/types").Json;
|
|
7835
|
+
offerte_id?: string;
|
|
7836
|
+
omschrijving?: string | null;
|
|
7837
|
+
user_id?: string | null;
|
|
7838
|
+
};
|
|
7839
|
+
Relationships: [{
|
|
7840
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
7841
|
+
columns: ["offerte_id"];
|
|
7842
|
+
isOneToOne: false;
|
|
7843
|
+
referencedRelation: "itk_offertes";
|
|
7844
|
+
referencedColumns: ["id"];
|
|
7845
|
+
}];
|
|
7846
|
+
};
|
|
7847
|
+
itk_offerte_regels: {
|
|
7848
|
+
Row: {
|
|
7849
|
+
created_at: string;
|
|
7850
|
+
id: string;
|
|
7851
|
+
line_total_cents: number;
|
|
7852
|
+
offerte_id: string;
|
|
7853
|
+
omschrijving: string;
|
|
7854
|
+
package_id: string | null;
|
|
7855
|
+
quantity: number;
|
|
7856
|
+
sort_order: number;
|
|
7857
|
+
source: string;
|
|
7858
|
+
unit_price_cents: number;
|
|
7859
|
+
updated_at: string;
|
|
7860
|
+
};
|
|
7861
|
+
Insert: {
|
|
7862
|
+
created_at?: string;
|
|
7863
|
+
id?: string;
|
|
7864
|
+
line_total_cents?: number;
|
|
7865
|
+
offerte_id: string;
|
|
7866
|
+
omschrijving?: string;
|
|
7867
|
+
package_id?: string | null;
|
|
7868
|
+
quantity?: number;
|
|
7869
|
+
sort_order?: number;
|
|
7870
|
+
source?: string;
|
|
7871
|
+
unit_price_cents?: number;
|
|
7872
|
+
updated_at?: string;
|
|
7873
|
+
};
|
|
7874
|
+
Update: {
|
|
7875
|
+
created_at?: string;
|
|
7876
|
+
id?: string;
|
|
7877
|
+
line_total_cents?: number;
|
|
7878
|
+
offerte_id?: string;
|
|
7879
|
+
omschrijving?: string;
|
|
7880
|
+
package_id?: string | null;
|
|
7881
|
+
quantity?: number;
|
|
7882
|
+
sort_order?: number;
|
|
7883
|
+
source?: string;
|
|
7884
|
+
unit_price_cents?: number;
|
|
7885
|
+
updated_at?: string;
|
|
7886
|
+
};
|
|
7887
|
+
Relationships: [{
|
|
7888
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
7889
|
+
columns: ["offerte_id"];
|
|
7890
|
+
isOneToOne: false;
|
|
7891
|
+
referencedRelation: "itk_offertes";
|
|
7892
|
+
referencedColumns: ["id"];
|
|
7893
|
+
}, {
|
|
7894
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
7895
|
+
columns: ["package_id"];
|
|
7896
|
+
isOneToOne: false;
|
|
7897
|
+
referencedRelation: "werkbon_packages";
|
|
7898
|
+
referencedColumns: ["id"];
|
|
7899
|
+
}];
|
|
7900
|
+
};
|
|
7901
|
+
itk_offerte_settings: {
|
|
7902
|
+
Row: {
|
|
7903
|
+
auto_convert_binnen_mandaat: boolean;
|
|
7904
|
+
created_at: string;
|
|
7905
|
+
default_geldigheid_dagen: number;
|
|
7906
|
+
default_vat_rate: number;
|
|
7907
|
+
id: string;
|
|
7908
|
+
singleton: boolean;
|
|
7909
|
+
updated_at: string;
|
|
7910
|
+
};
|
|
7911
|
+
Insert: {
|
|
7912
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
7913
|
+
created_at?: string;
|
|
7914
|
+
default_geldigheid_dagen?: number;
|
|
7915
|
+
default_vat_rate?: number;
|
|
7916
|
+
id?: string;
|
|
7917
|
+
singleton?: boolean;
|
|
7918
|
+
updated_at?: string;
|
|
7919
|
+
};
|
|
7920
|
+
Update: {
|
|
7921
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
7922
|
+
created_at?: string;
|
|
7923
|
+
default_geldigheid_dagen?: number;
|
|
7924
|
+
default_vat_rate?: number;
|
|
7925
|
+
id?: string;
|
|
7926
|
+
singleton?: boolean;
|
|
7927
|
+
updated_at?: string;
|
|
7928
|
+
};
|
|
7929
|
+
Relationships: [];
|
|
7930
|
+
};
|
|
7931
|
+
itk_offertes: {
|
|
7932
|
+
Row: {
|
|
7933
|
+
ai_generated: boolean;
|
|
7934
|
+
approved_at: string | null;
|
|
7935
|
+
binnen_mandaat: boolean;
|
|
7936
|
+
contact_id: string | null;
|
|
7937
|
+
converted_at: string | null;
|
|
7938
|
+
created_at: string;
|
|
7939
|
+
created_by: string | null;
|
|
7940
|
+
customer_id: string | null;
|
|
7941
|
+
follow_up_werkbon_id: string | null;
|
|
7942
|
+
id: string;
|
|
7943
|
+
jaar: number;
|
|
7944
|
+
mandaat_restant_cents: number;
|
|
7945
|
+
notities: string | null;
|
|
7946
|
+
offerte_number: string | null;
|
|
7947
|
+
omschrijving: string;
|
|
7948
|
+
rejected_at: string | null;
|
|
7949
|
+
sent_at: string | null;
|
|
7950
|
+
source_number: string | null;
|
|
7951
|
+
source_ref: string | null;
|
|
7952
|
+
source_type: string;
|
|
7953
|
+
status: string;
|
|
7954
|
+
subtotal_cents: number;
|
|
7955
|
+
total_cents: number;
|
|
7956
|
+
updated_at: string;
|
|
7957
|
+
valid_until: string | null;
|
|
7958
|
+
vat_cents: number;
|
|
7959
|
+
vat_rate: number;
|
|
7960
|
+
viewed_at: string | null;
|
|
7961
|
+
volgnummer: number | null;
|
|
7962
|
+
werkbon_id: string | null;
|
|
7963
|
+
work_location_id: string | null;
|
|
7964
|
+
};
|
|
7965
|
+
Insert: {
|
|
7966
|
+
ai_generated?: boolean;
|
|
7967
|
+
approved_at?: string | null;
|
|
7968
|
+
binnen_mandaat?: boolean;
|
|
7969
|
+
contact_id?: string | null;
|
|
7970
|
+
converted_at?: string | null;
|
|
7971
|
+
created_at?: string;
|
|
7972
|
+
created_by?: string | null;
|
|
7973
|
+
customer_id?: string | null;
|
|
7974
|
+
follow_up_werkbon_id?: string | null;
|
|
7975
|
+
id?: string;
|
|
7976
|
+
jaar?: number;
|
|
7977
|
+
mandaat_restant_cents?: number;
|
|
7978
|
+
notities?: string | null;
|
|
7979
|
+
offerte_number?: string | null;
|
|
7980
|
+
omschrijving?: string;
|
|
7981
|
+
rejected_at?: string | null;
|
|
7982
|
+
sent_at?: string | null;
|
|
7983
|
+
source_number?: string | null;
|
|
7984
|
+
source_ref?: string | null;
|
|
7985
|
+
source_type?: string;
|
|
7986
|
+
status?: string;
|
|
7987
|
+
subtotal_cents?: number;
|
|
7988
|
+
total_cents?: number;
|
|
7989
|
+
updated_at?: string;
|
|
7990
|
+
valid_until?: string | null;
|
|
7991
|
+
vat_cents?: number;
|
|
7992
|
+
vat_rate?: number;
|
|
7993
|
+
viewed_at?: string | null;
|
|
7994
|
+
volgnummer?: number | null;
|
|
7995
|
+
werkbon_id?: string | null;
|
|
7996
|
+
work_location_id?: string | null;
|
|
7997
|
+
};
|
|
7998
|
+
Update: {
|
|
7999
|
+
ai_generated?: boolean;
|
|
8000
|
+
approved_at?: string | null;
|
|
8001
|
+
binnen_mandaat?: boolean;
|
|
8002
|
+
contact_id?: string | null;
|
|
8003
|
+
converted_at?: string | null;
|
|
8004
|
+
created_at?: string;
|
|
8005
|
+
created_by?: string | null;
|
|
8006
|
+
customer_id?: string | null;
|
|
8007
|
+
follow_up_werkbon_id?: string | null;
|
|
8008
|
+
id?: string;
|
|
8009
|
+
jaar?: number;
|
|
8010
|
+
mandaat_restant_cents?: number;
|
|
8011
|
+
notities?: string | null;
|
|
8012
|
+
offerte_number?: string | null;
|
|
8013
|
+
omschrijving?: string;
|
|
8014
|
+
rejected_at?: string | null;
|
|
8015
|
+
sent_at?: string | null;
|
|
8016
|
+
source_number?: string | null;
|
|
8017
|
+
source_ref?: string | null;
|
|
8018
|
+
source_type?: string;
|
|
8019
|
+
status?: string;
|
|
8020
|
+
subtotal_cents?: number;
|
|
8021
|
+
total_cents?: number;
|
|
8022
|
+
updated_at?: string;
|
|
8023
|
+
valid_until?: string | null;
|
|
8024
|
+
vat_cents?: number;
|
|
8025
|
+
vat_rate?: number;
|
|
8026
|
+
viewed_at?: string | null;
|
|
8027
|
+
volgnummer?: number | null;
|
|
8028
|
+
werkbon_id?: string | null;
|
|
8029
|
+
work_location_id?: string | null;
|
|
8030
|
+
};
|
|
8031
|
+
Relationships: [{
|
|
8032
|
+
foreignKeyName: "itk_offertes_contact_id_fkey";
|
|
8033
|
+
columns: ["contact_id"];
|
|
8034
|
+
isOneToOne: false;
|
|
8035
|
+
referencedRelation: "itk_contact_persons";
|
|
8036
|
+
referencedColumns: ["id"];
|
|
8037
|
+
}, {
|
|
8038
|
+
foreignKeyName: "itk_offertes_customer_id_fkey";
|
|
8039
|
+
columns: ["customer_id"];
|
|
8040
|
+
isOneToOne: false;
|
|
8041
|
+
referencedRelation: "itk_customers";
|
|
8042
|
+
referencedColumns: ["id"];
|
|
8043
|
+
}, {
|
|
8044
|
+
foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
|
|
8045
|
+
columns: ["follow_up_werkbon_id"];
|
|
8046
|
+
isOneToOne: false;
|
|
8047
|
+
referencedRelation: "werkbonnen";
|
|
8048
|
+
referencedColumns: ["id"];
|
|
8049
|
+
}, {
|
|
8050
|
+
foreignKeyName: "itk_offertes_werkbon_id_fkey";
|
|
8051
|
+
columns: ["werkbon_id"];
|
|
8052
|
+
isOneToOne: false;
|
|
8053
|
+
referencedRelation: "werkbonnen";
|
|
8054
|
+
referencedColumns: ["id"];
|
|
8055
|
+
}, {
|
|
8056
|
+
foreignKeyName: "itk_offertes_work_location_id_fkey";
|
|
8057
|
+
columns: ["work_location_id"];
|
|
8058
|
+
isOneToOne: false;
|
|
8059
|
+
referencedRelation: "itk_work_locations";
|
|
8060
|
+
referencedColumns: ["id"];
|
|
8061
|
+
}];
|
|
8062
|
+
};
|
|
7775
8063
|
itk_work_locations: {
|
|
7776
8064
|
Row: {
|
|
7777
8065
|
city: string | null;
|
|
@@ -10145,6 +10433,63 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
10145
10433
|
referencedColumns: ["id"];
|
|
10146
10434
|
}];
|
|
10147
10435
|
};
|
|
10436
|
+
medewerker_details: {
|
|
10437
|
+
Row: {
|
|
10438
|
+
color: string | null;
|
|
10439
|
+
created_at: string;
|
|
10440
|
+
hours_fri: number | null;
|
|
10441
|
+
hours_mon: number | null;
|
|
10442
|
+
hours_thu: number | null;
|
|
10443
|
+
hours_tue: number | null;
|
|
10444
|
+
hours_wed: number | null;
|
|
10445
|
+
id: string;
|
|
10446
|
+
is_active: boolean;
|
|
10447
|
+
leave_balance_hours: number;
|
|
10448
|
+
persnr: string | null;
|
|
10449
|
+
phone: string | null;
|
|
10450
|
+
profile_id: string;
|
|
10451
|
+
updated_at: string;
|
|
10452
|
+
};
|
|
10453
|
+
Insert: {
|
|
10454
|
+
color?: string | null;
|
|
10455
|
+
created_at?: string;
|
|
10456
|
+
hours_fri?: number | null;
|
|
10457
|
+
hours_mon?: number | null;
|
|
10458
|
+
hours_thu?: number | null;
|
|
10459
|
+
hours_tue?: number | null;
|
|
10460
|
+
hours_wed?: number | null;
|
|
10461
|
+
id?: string;
|
|
10462
|
+
is_active?: boolean;
|
|
10463
|
+
leave_balance_hours?: number;
|
|
10464
|
+
persnr?: string | null;
|
|
10465
|
+
phone?: string | null;
|
|
10466
|
+
profile_id: string;
|
|
10467
|
+
updated_at?: string;
|
|
10468
|
+
};
|
|
10469
|
+
Update: {
|
|
10470
|
+
color?: string | null;
|
|
10471
|
+
created_at?: string;
|
|
10472
|
+
hours_fri?: number | null;
|
|
10473
|
+
hours_mon?: number | null;
|
|
10474
|
+
hours_thu?: number | null;
|
|
10475
|
+
hours_tue?: number | null;
|
|
10476
|
+
hours_wed?: number | null;
|
|
10477
|
+
id?: string;
|
|
10478
|
+
is_active?: boolean;
|
|
10479
|
+
leave_balance_hours?: number;
|
|
10480
|
+
persnr?: string | null;
|
|
10481
|
+
phone?: string | null;
|
|
10482
|
+
profile_id?: string;
|
|
10483
|
+
updated_at?: string;
|
|
10484
|
+
};
|
|
10485
|
+
Relationships: [{
|
|
10486
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
10487
|
+
columns: ["profile_id"];
|
|
10488
|
+
isOneToOne: true;
|
|
10489
|
+
referencedRelation: "profiles";
|
|
10490
|
+
referencedColumns: ["id"];
|
|
10491
|
+
}];
|
|
10492
|
+
};
|
|
10148
10493
|
module_features: {
|
|
10149
10494
|
Row: {
|
|
10150
10495
|
created_at: string;
|
|
@@ -11438,6 +11783,8 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
11438
11783
|
orders: {
|
|
11439
11784
|
Row: {
|
|
11440
11785
|
buffer_id: string | null;
|
|
11786
|
+
cancel_reason: string | null;
|
|
11787
|
+
cancelled_at: string | null;
|
|
11441
11788
|
created_at: string;
|
|
11442
11789
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
11443
11790
|
customer_id: string | null;
|
|
@@ -11460,6 +11807,8 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
11460
11807
|
};
|
|
11461
11808
|
Insert: {
|
|
11462
11809
|
buffer_id?: string | null;
|
|
11810
|
+
cancel_reason?: string | null;
|
|
11811
|
+
cancelled_at?: string | null;
|
|
11463
11812
|
created_at?: string;
|
|
11464
11813
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
11465
11814
|
customer_id?: string | null;
|
|
@@ -11482,6 +11831,8 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
11482
11831
|
};
|
|
11483
11832
|
Update: {
|
|
11484
11833
|
buffer_id?: string | null;
|
|
11834
|
+
cancel_reason?: string | null;
|
|
11835
|
+
cancelled_at?: string | null;
|
|
11485
11836
|
created_at?: string;
|
|
11486
11837
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
11487
11838
|
customer_id?: string | null;
|
|
@@ -13544,6 +13895,66 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
13544
13895
|
};
|
|
13545
13896
|
Relationships: [];
|
|
13546
13897
|
};
|
|
13898
|
+
profile_modules: {
|
|
13899
|
+
Row: {
|
|
13900
|
+
created_at: string;
|
|
13901
|
+
id: string;
|
|
13902
|
+
module_id: string;
|
|
13903
|
+
profile_id: string;
|
|
13904
|
+
};
|
|
13905
|
+
Insert: {
|
|
13906
|
+
created_at?: string;
|
|
13907
|
+
id?: string;
|
|
13908
|
+
module_id: string;
|
|
13909
|
+
profile_id: string;
|
|
13910
|
+
};
|
|
13911
|
+
Update: {
|
|
13912
|
+
created_at?: string;
|
|
13913
|
+
id?: string;
|
|
13914
|
+
module_id?: string;
|
|
13915
|
+
profile_id?: string;
|
|
13916
|
+
};
|
|
13917
|
+
Relationships: [{
|
|
13918
|
+
foreignKeyName: "profile_modules_profile_id_fkey";
|
|
13919
|
+
columns: ["profile_id"];
|
|
13920
|
+
isOneToOne: false;
|
|
13921
|
+
referencedRelation: "profiles_org";
|
|
13922
|
+
referencedColumns: ["id"];
|
|
13923
|
+
}];
|
|
13924
|
+
};
|
|
13925
|
+
profile_roles: {
|
|
13926
|
+
Row: {
|
|
13927
|
+
created_at: string;
|
|
13928
|
+
id: string;
|
|
13929
|
+
profile_id: string;
|
|
13930
|
+
role_id: string;
|
|
13931
|
+
};
|
|
13932
|
+
Insert: {
|
|
13933
|
+
created_at?: string;
|
|
13934
|
+
id?: string;
|
|
13935
|
+
profile_id: string;
|
|
13936
|
+
role_id: string;
|
|
13937
|
+
};
|
|
13938
|
+
Update: {
|
|
13939
|
+
created_at?: string;
|
|
13940
|
+
id?: string;
|
|
13941
|
+
profile_id?: string;
|
|
13942
|
+
role_id?: string;
|
|
13943
|
+
};
|
|
13944
|
+
Relationships: [{
|
|
13945
|
+
foreignKeyName: "profile_roles_profile_id_fkey";
|
|
13946
|
+
columns: ["profile_id"];
|
|
13947
|
+
isOneToOne: false;
|
|
13948
|
+
referencedRelation: "profiles_org";
|
|
13949
|
+
referencedColumns: ["id"];
|
|
13950
|
+
}, {
|
|
13951
|
+
foreignKeyName: "profile_roles_role_id_fkey";
|
|
13952
|
+
columns: ["role_id"];
|
|
13953
|
+
isOneToOne: false;
|
|
13954
|
+
referencedRelation: "roles";
|
|
13955
|
+
referencedColumns: ["id"];
|
|
13956
|
+
}];
|
|
13957
|
+
};
|
|
13547
13958
|
profiles: {
|
|
13548
13959
|
Row: {
|
|
13549
13960
|
address: string | null;
|
|
@@ -13589,6 +14000,39 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
13589
14000
|
referencedColumns: ["id"];
|
|
13590
14001
|
}];
|
|
13591
14002
|
};
|
|
14003
|
+
profiles_org: {
|
|
14004
|
+
Row: {
|
|
14005
|
+
created_at: string;
|
|
14006
|
+
id: string;
|
|
14007
|
+
is_default: boolean;
|
|
14008
|
+
name: string;
|
|
14009
|
+
tenant_id: string | null;
|
|
14010
|
+
updated_at: string;
|
|
14011
|
+
};
|
|
14012
|
+
Insert: {
|
|
14013
|
+
created_at?: string;
|
|
14014
|
+
id?: string;
|
|
14015
|
+
is_default?: boolean;
|
|
14016
|
+
name: string;
|
|
14017
|
+
tenant_id?: string | null;
|
|
14018
|
+
updated_at?: string;
|
|
14019
|
+
};
|
|
14020
|
+
Update: {
|
|
14021
|
+
created_at?: string;
|
|
14022
|
+
id?: string;
|
|
14023
|
+
is_default?: boolean;
|
|
14024
|
+
name?: string;
|
|
14025
|
+
tenant_id?: string | null;
|
|
14026
|
+
updated_at?: string;
|
|
14027
|
+
};
|
|
14028
|
+
Relationships: [{
|
|
14029
|
+
foreignKeyName: "profiles_org_tenant_id_fkey";
|
|
14030
|
+
columns: ["tenant_id"];
|
|
14031
|
+
isOneToOne: false;
|
|
14032
|
+
referencedRelation: "tenants";
|
|
14033
|
+
referencedColumns: ["id"];
|
|
14034
|
+
}];
|
|
14035
|
+
};
|
|
13592
14036
|
projects: {
|
|
13593
14037
|
Row: {
|
|
13594
14038
|
contact_name: string | null;
|
|
@@ -14763,6 +15207,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
14763
15207
|
type: string;
|
|
14764
15208
|
updated_at: string;
|
|
14765
15209
|
vereist_medewerker: boolean;
|
|
15210
|
+
werkplek: string | null;
|
|
14766
15211
|
};
|
|
14767
15212
|
Insert: {
|
|
14768
15213
|
actief?: boolean;
|
|
@@ -14776,6 +15221,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
14776
15221
|
type?: string;
|
|
14777
15222
|
updated_at?: string;
|
|
14778
15223
|
vereist_medewerker?: boolean;
|
|
15224
|
+
werkplek?: string | null;
|
|
14779
15225
|
};
|
|
14780
15226
|
Update: {
|
|
14781
15227
|
actief?: boolean;
|
|
@@ -14789,9 +15235,46 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
14789
15235
|
type?: string;
|
|
14790
15236
|
updated_at?: string;
|
|
14791
15237
|
vereist_medewerker?: boolean;
|
|
15238
|
+
werkplek?: string | null;
|
|
14792
15239
|
};
|
|
14793
15240
|
Relationships: [];
|
|
14794
15241
|
};
|
|
15242
|
+
sick_periods: {
|
|
15243
|
+
Row: {
|
|
15244
|
+
created_at: string;
|
|
15245
|
+
employee_id: string;
|
|
15246
|
+
end_date: string | null;
|
|
15247
|
+
id: string;
|
|
15248
|
+
notes: string | null;
|
|
15249
|
+
start_date: string;
|
|
15250
|
+
updated_at: string;
|
|
15251
|
+
};
|
|
15252
|
+
Insert: {
|
|
15253
|
+
created_at?: string;
|
|
15254
|
+
employee_id: string;
|
|
15255
|
+
end_date?: string | null;
|
|
15256
|
+
id?: string;
|
|
15257
|
+
notes?: string | null;
|
|
15258
|
+
start_date: string;
|
|
15259
|
+
updated_at?: string;
|
|
15260
|
+
};
|
|
15261
|
+
Update: {
|
|
15262
|
+
created_at?: string;
|
|
15263
|
+
employee_id?: string;
|
|
15264
|
+
end_date?: string | null;
|
|
15265
|
+
id?: string;
|
|
15266
|
+
notes?: string | null;
|
|
15267
|
+
start_date?: string;
|
|
15268
|
+
updated_at?: string;
|
|
15269
|
+
};
|
|
15270
|
+
Relationships: [{
|
|
15271
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
15272
|
+
columns: ["employee_id"];
|
|
15273
|
+
isOneToOne: false;
|
|
15274
|
+
referencedRelation: "profiles";
|
|
15275
|
+
referencedColumns: ["id"];
|
|
15276
|
+
}];
|
|
15277
|
+
};
|
|
14795
15278
|
sidebar_config: {
|
|
14796
15279
|
Row: {
|
|
14797
15280
|
id: string;
|
|
@@ -19476,6 +19959,13 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
19476
19959
|
};
|
|
19477
19960
|
Returns: string;
|
|
19478
19961
|
};
|
|
19962
|
+
employee_day_hours: {
|
|
19963
|
+
Args: {
|
|
19964
|
+
_day: string;
|
|
19965
|
+
_employee_id: string;
|
|
19966
|
+
};
|
|
19967
|
+
Returns: number;
|
|
19968
|
+
};
|
|
19479
19969
|
enqueue_cart_replan_if_unlocked: {
|
|
19480
19970
|
Args: {
|
|
19481
19971
|
p_order_id: string;
|
|
@@ -19829,6 +20319,19 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
19829
20319
|
Args: never;
|
|
19830
20320
|
Returns: boolean;
|
|
19831
20321
|
};
|
|
20322
|
+
itk_offerte_naar_werkbon: {
|
|
20323
|
+
Args: {
|
|
20324
|
+
_offerte_id: string;
|
|
20325
|
+
};
|
|
20326
|
+
Returns: string;
|
|
20327
|
+
};
|
|
20328
|
+
itk_offerte_restant_mandaat: {
|
|
20329
|
+
Args: {
|
|
20330
|
+
_exclude_offerte_id?: string;
|
|
20331
|
+
_werkbon_id: string;
|
|
20332
|
+
};
|
|
20333
|
+
Returns: number;
|
|
20334
|
+
};
|
|
19832
20335
|
jwt_has_role: {
|
|
19833
20336
|
Args: {
|
|
19834
20337
|
_role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
@@ -19839,9 +20342,19 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
19839
20342
|
Args: never;
|
|
19840
20343
|
Returns: {
|
|
19841
20344
|
avatar_url: string;
|
|
20345
|
+
color: string;
|
|
19842
20346
|
display_name: string;
|
|
19843
20347
|
email: string;
|
|
20348
|
+
hours_fri: number;
|
|
20349
|
+
hours_mon: number;
|
|
20350
|
+
hours_thu: number;
|
|
20351
|
+
hours_tue: number;
|
|
20352
|
+
hours_wed: number;
|
|
19844
20353
|
id: string;
|
|
20354
|
+
is_active: boolean;
|
|
20355
|
+
leave_balance_hours: number;
|
|
20356
|
+
persnr: string;
|
|
20357
|
+
phone: string;
|
|
19845
20358
|
roles: string[];
|
|
19846
20359
|
}[];
|
|
19847
20360
|
};
|
|
@@ -20168,17 +20681,6 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
20168
20681
|
Returns: string;
|
|
20169
20682
|
};
|
|
20170
20683
|
logistics_emit_event: {
|
|
20171
|
-
Args: {
|
|
20172
|
-
p_event_type: string;
|
|
20173
|
-
p_idempotency_key?: string;
|
|
20174
|
-
p_order_ref: string;
|
|
20175
|
-
p_payload?: import("../integrations/supabase/types").Json;
|
|
20176
|
-
p_shadow?: boolean;
|
|
20177
|
-
p_source_module: string;
|
|
20178
|
-
p_strategy_id?: string;
|
|
20179
|
-
};
|
|
20180
|
-
Returns: import("../integrations/supabase/types").Json;
|
|
20181
|
-
} | {
|
|
20182
20684
|
Args: {
|
|
20183
20685
|
p_event_type: string;
|
|
20184
20686
|
p_idempotency_key?: string;
|
|
@@ -21023,6 +21525,37 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
21023
21525
|
};
|
|
21024
21526
|
Returns: undefined;
|
|
21025
21527
|
};
|
|
21528
|
+
quote_create_from_source: {
|
|
21529
|
+
Args: {
|
|
21530
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
21531
|
+
_source_id: string;
|
|
21532
|
+
_source_type: string;
|
|
21533
|
+
};
|
|
21534
|
+
Returns: string;
|
|
21535
|
+
};
|
|
21536
|
+
quote_get_billable_lines: {
|
|
21537
|
+
Args: {
|
|
21538
|
+
_quotation_id: string;
|
|
21539
|
+
};
|
|
21540
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21541
|
+
};
|
|
21542
|
+
quote_get_summary: {
|
|
21543
|
+
Args: {
|
|
21544
|
+
_quotation_id: string;
|
|
21545
|
+
};
|
|
21546
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21547
|
+
};
|
|
21548
|
+
quote_list_packages: {
|
|
21549
|
+
Args: never;
|
|
21550
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21551
|
+
};
|
|
21552
|
+
quote_list_sources: {
|
|
21553
|
+
Args: {
|
|
21554
|
+
_limit?: number;
|
|
21555
|
+
_source_type?: string;
|
|
21556
|
+
};
|
|
21557
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21558
|
+
};
|
|
21026
21559
|
recompute_all_reserved_stock: {
|
|
21027
21560
|
Args: never;
|
|
21028
21561
|
Returns: undefined;
|
|
@@ -21558,6 +22091,12 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
21558
22091
|
};
|
|
21559
22092
|
Returns: undefined;
|
|
21560
22093
|
};
|
|
22094
|
+
sync_sick_time_off: {
|
|
22095
|
+
Args: {
|
|
22096
|
+
_period_id: string;
|
|
22097
|
+
};
|
|
22098
|
+
Returns: number;
|
|
22099
|
+
};
|
|
21561
22100
|
trade_item_stock_duplicates: {
|
|
21562
22101
|
Args: never;
|
|
21563
22102
|
Returns: {
|
|
@@ -21631,11 +22170,31 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
21631
22170
|
Args: never;
|
|
21632
22171
|
Returns: string;
|
|
21633
22172
|
};
|
|
22173
|
+
wo_create_from_source: {
|
|
22174
|
+
Args: {
|
|
22175
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
22176
|
+
_source_id: string;
|
|
22177
|
+
_source_type: string;
|
|
22178
|
+
};
|
|
22179
|
+
Returns: string;
|
|
22180
|
+
};
|
|
22181
|
+
wo_get_billable_lines: {
|
|
22182
|
+
Args: {
|
|
22183
|
+
_work_order_id: string;
|
|
22184
|
+
};
|
|
22185
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22186
|
+
};
|
|
22187
|
+
wo_get_summary: {
|
|
22188
|
+
Args: {
|
|
22189
|
+
_work_order_id: string;
|
|
22190
|
+
};
|
|
22191
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22192
|
+
};
|
|
21634
22193
|
};
|
|
21635
22194
|
Enums: {
|
|
21636
22195
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
21637
22196
|
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
21638
|
-
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
22197
|
+
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
|
|
21639
22198
|
doc_orientation: "portrait" | "landscape";
|
|
21640
22199
|
exact_env: "staging" | "live";
|
|
21641
22200
|
exact_push_status: "pending" | "sent" | "error";
|
|
@@ -26707,6 +27266,42 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
26707
27266
|
};
|
|
26708
27267
|
Relationships: [];
|
|
26709
27268
|
};
|
|
27269
|
+
facturen: {
|
|
27270
|
+
Row: {
|
|
27271
|
+
bedrag_incl_btw: number;
|
|
27272
|
+
created_at: string;
|
|
27273
|
+
datum: string;
|
|
27274
|
+
factuurnummer: string;
|
|
27275
|
+
id: string;
|
|
27276
|
+
klantnaam: string;
|
|
27277
|
+
status: string;
|
|
27278
|
+
updated_at: string;
|
|
27279
|
+
user_id: string;
|
|
27280
|
+
};
|
|
27281
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
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
|
+
Relationships: [];
|
|
27304
|
+
};
|
|
26710
27305
|
floricode_connection_settings: {
|
|
26711
27306
|
Row: {
|
|
26712
27307
|
catalog_key: string | null;
|
|
@@ -29431,6 +30026,258 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
29431
30026
|
};
|
|
29432
30027
|
Relationships: [];
|
|
29433
30028
|
};
|
|
30029
|
+
itk_offerte_events: {
|
|
30030
|
+
Row: {
|
|
30031
|
+
created_at: string;
|
|
30032
|
+
event_type: string;
|
|
30033
|
+
id: string;
|
|
30034
|
+
metadata: import("../integrations/supabase/types").Json;
|
|
30035
|
+
offerte_id: string;
|
|
30036
|
+
omschrijving: string | null;
|
|
30037
|
+
user_id: string | null;
|
|
30038
|
+
};
|
|
30039
|
+
Insert: {
|
|
30040
|
+
created_at?: string;
|
|
30041
|
+
event_type: string;
|
|
30042
|
+
id?: string;
|
|
30043
|
+
metadata?: import("../integrations/supabase/types").Json;
|
|
30044
|
+
offerte_id: string;
|
|
30045
|
+
omschrijving?: string | null;
|
|
30046
|
+
user_id?: string | null;
|
|
30047
|
+
};
|
|
30048
|
+
Update: {
|
|
30049
|
+
created_at?: string;
|
|
30050
|
+
event_type?: string;
|
|
30051
|
+
id?: string;
|
|
30052
|
+
metadata?: import("../integrations/supabase/types").Json;
|
|
30053
|
+
offerte_id?: string;
|
|
30054
|
+
omschrijving?: string | null;
|
|
30055
|
+
user_id?: string | null;
|
|
30056
|
+
};
|
|
30057
|
+
Relationships: [{
|
|
30058
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
30059
|
+
columns: ["offerte_id"];
|
|
30060
|
+
isOneToOne: false;
|
|
30061
|
+
referencedRelation: "itk_offertes";
|
|
30062
|
+
referencedColumns: ["id"];
|
|
30063
|
+
}];
|
|
30064
|
+
};
|
|
30065
|
+
itk_offerte_regels: {
|
|
30066
|
+
Row: {
|
|
30067
|
+
created_at: string;
|
|
30068
|
+
id: string;
|
|
30069
|
+
line_total_cents: number;
|
|
30070
|
+
offerte_id: string;
|
|
30071
|
+
omschrijving: string;
|
|
30072
|
+
package_id: string | null;
|
|
30073
|
+
quantity: number;
|
|
30074
|
+
sort_order: number;
|
|
30075
|
+
source: string;
|
|
30076
|
+
unit_price_cents: number;
|
|
30077
|
+
updated_at: string;
|
|
30078
|
+
};
|
|
30079
|
+
Insert: {
|
|
30080
|
+
created_at?: string;
|
|
30081
|
+
id?: string;
|
|
30082
|
+
line_total_cents?: number;
|
|
30083
|
+
offerte_id: string;
|
|
30084
|
+
omschrijving?: string;
|
|
30085
|
+
package_id?: string | null;
|
|
30086
|
+
quantity?: number;
|
|
30087
|
+
sort_order?: number;
|
|
30088
|
+
source?: string;
|
|
30089
|
+
unit_price_cents?: number;
|
|
30090
|
+
updated_at?: string;
|
|
30091
|
+
};
|
|
30092
|
+
Update: {
|
|
30093
|
+
created_at?: string;
|
|
30094
|
+
id?: string;
|
|
30095
|
+
line_total_cents?: number;
|
|
30096
|
+
offerte_id?: string;
|
|
30097
|
+
omschrijving?: string;
|
|
30098
|
+
package_id?: string | null;
|
|
30099
|
+
quantity?: number;
|
|
30100
|
+
sort_order?: number;
|
|
30101
|
+
source?: string;
|
|
30102
|
+
unit_price_cents?: number;
|
|
30103
|
+
updated_at?: string;
|
|
30104
|
+
};
|
|
30105
|
+
Relationships: [{
|
|
30106
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
30107
|
+
columns: ["offerte_id"];
|
|
30108
|
+
isOneToOne: false;
|
|
30109
|
+
referencedRelation: "itk_offertes";
|
|
30110
|
+
referencedColumns: ["id"];
|
|
30111
|
+
}, {
|
|
30112
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
30113
|
+
columns: ["package_id"];
|
|
30114
|
+
isOneToOne: false;
|
|
30115
|
+
referencedRelation: "werkbon_packages";
|
|
30116
|
+
referencedColumns: ["id"];
|
|
30117
|
+
}];
|
|
30118
|
+
};
|
|
30119
|
+
itk_offerte_settings: {
|
|
30120
|
+
Row: {
|
|
30121
|
+
auto_convert_binnen_mandaat: boolean;
|
|
30122
|
+
created_at: string;
|
|
30123
|
+
default_geldigheid_dagen: number;
|
|
30124
|
+
default_vat_rate: number;
|
|
30125
|
+
id: string;
|
|
30126
|
+
singleton: boolean;
|
|
30127
|
+
updated_at: string;
|
|
30128
|
+
};
|
|
30129
|
+
Insert: {
|
|
30130
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
30131
|
+
created_at?: string;
|
|
30132
|
+
default_geldigheid_dagen?: number;
|
|
30133
|
+
default_vat_rate?: number;
|
|
30134
|
+
id?: string;
|
|
30135
|
+
singleton?: boolean;
|
|
30136
|
+
updated_at?: string;
|
|
30137
|
+
};
|
|
30138
|
+
Update: {
|
|
30139
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
30140
|
+
created_at?: string;
|
|
30141
|
+
default_geldigheid_dagen?: number;
|
|
30142
|
+
default_vat_rate?: number;
|
|
30143
|
+
id?: string;
|
|
30144
|
+
singleton?: boolean;
|
|
30145
|
+
updated_at?: string;
|
|
30146
|
+
};
|
|
30147
|
+
Relationships: [];
|
|
30148
|
+
};
|
|
30149
|
+
itk_offertes: {
|
|
30150
|
+
Row: {
|
|
30151
|
+
ai_generated: boolean;
|
|
30152
|
+
approved_at: string | null;
|
|
30153
|
+
binnen_mandaat: boolean;
|
|
30154
|
+
contact_id: string | null;
|
|
30155
|
+
converted_at: string | null;
|
|
30156
|
+
created_at: string;
|
|
30157
|
+
created_by: string | null;
|
|
30158
|
+
customer_id: string | null;
|
|
30159
|
+
follow_up_werkbon_id: string | null;
|
|
30160
|
+
id: string;
|
|
30161
|
+
jaar: number;
|
|
30162
|
+
mandaat_restant_cents: number;
|
|
30163
|
+
notities: string | null;
|
|
30164
|
+
offerte_number: string | null;
|
|
30165
|
+
omschrijving: string;
|
|
30166
|
+
rejected_at: string | null;
|
|
30167
|
+
sent_at: string | null;
|
|
30168
|
+
source_number: string | null;
|
|
30169
|
+
source_ref: string | null;
|
|
30170
|
+
source_type: string;
|
|
30171
|
+
status: string;
|
|
30172
|
+
subtotal_cents: number;
|
|
30173
|
+
total_cents: number;
|
|
30174
|
+
updated_at: string;
|
|
30175
|
+
valid_until: string | null;
|
|
30176
|
+
vat_cents: number;
|
|
30177
|
+
vat_rate: number;
|
|
30178
|
+
viewed_at: string | null;
|
|
30179
|
+
volgnummer: number | null;
|
|
30180
|
+
werkbon_id: string | null;
|
|
30181
|
+
work_location_id: string | null;
|
|
30182
|
+
};
|
|
30183
|
+
Insert: {
|
|
30184
|
+
ai_generated?: boolean;
|
|
30185
|
+
approved_at?: string | null;
|
|
30186
|
+
binnen_mandaat?: boolean;
|
|
30187
|
+
contact_id?: string | null;
|
|
30188
|
+
converted_at?: string | null;
|
|
30189
|
+
created_at?: string;
|
|
30190
|
+
created_by?: string | null;
|
|
30191
|
+
customer_id?: string | null;
|
|
30192
|
+
follow_up_werkbon_id?: string | null;
|
|
30193
|
+
id?: string;
|
|
30194
|
+
jaar?: number;
|
|
30195
|
+
mandaat_restant_cents?: number;
|
|
30196
|
+
notities?: string | null;
|
|
30197
|
+
offerte_number?: string | null;
|
|
30198
|
+
omschrijving?: string;
|
|
30199
|
+
rejected_at?: string | null;
|
|
30200
|
+
sent_at?: string | null;
|
|
30201
|
+
source_number?: string | null;
|
|
30202
|
+
source_ref?: string | null;
|
|
30203
|
+
source_type?: string;
|
|
30204
|
+
status?: string;
|
|
30205
|
+
subtotal_cents?: number;
|
|
30206
|
+
total_cents?: number;
|
|
30207
|
+
updated_at?: string;
|
|
30208
|
+
valid_until?: string | null;
|
|
30209
|
+
vat_cents?: number;
|
|
30210
|
+
vat_rate?: number;
|
|
30211
|
+
viewed_at?: string | null;
|
|
30212
|
+
volgnummer?: number | null;
|
|
30213
|
+
werkbon_id?: string | null;
|
|
30214
|
+
work_location_id?: string | null;
|
|
30215
|
+
};
|
|
30216
|
+
Update: {
|
|
30217
|
+
ai_generated?: boolean;
|
|
30218
|
+
approved_at?: string | null;
|
|
30219
|
+
binnen_mandaat?: boolean;
|
|
30220
|
+
contact_id?: string | null;
|
|
30221
|
+
converted_at?: string | null;
|
|
30222
|
+
created_at?: string;
|
|
30223
|
+
created_by?: string | null;
|
|
30224
|
+
customer_id?: string | null;
|
|
30225
|
+
follow_up_werkbon_id?: string | null;
|
|
30226
|
+
id?: string;
|
|
30227
|
+
jaar?: number;
|
|
30228
|
+
mandaat_restant_cents?: number;
|
|
30229
|
+
notities?: string | null;
|
|
30230
|
+
offerte_number?: string | null;
|
|
30231
|
+
omschrijving?: string;
|
|
30232
|
+
rejected_at?: string | null;
|
|
30233
|
+
sent_at?: string | null;
|
|
30234
|
+
source_number?: string | null;
|
|
30235
|
+
source_ref?: string | null;
|
|
30236
|
+
source_type?: string;
|
|
30237
|
+
status?: string;
|
|
30238
|
+
subtotal_cents?: number;
|
|
30239
|
+
total_cents?: number;
|
|
30240
|
+
updated_at?: string;
|
|
30241
|
+
valid_until?: string | null;
|
|
30242
|
+
vat_cents?: number;
|
|
30243
|
+
vat_rate?: number;
|
|
30244
|
+
viewed_at?: string | null;
|
|
30245
|
+
volgnummer?: number | null;
|
|
30246
|
+
werkbon_id?: string | null;
|
|
30247
|
+
work_location_id?: string | null;
|
|
30248
|
+
};
|
|
30249
|
+
Relationships: [{
|
|
30250
|
+
foreignKeyName: "itk_offertes_contact_id_fkey";
|
|
30251
|
+
columns: ["contact_id"];
|
|
30252
|
+
isOneToOne: false;
|
|
30253
|
+
referencedRelation: "itk_contact_persons";
|
|
30254
|
+
referencedColumns: ["id"];
|
|
30255
|
+
}, {
|
|
30256
|
+
foreignKeyName: "itk_offertes_customer_id_fkey";
|
|
30257
|
+
columns: ["customer_id"];
|
|
30258
|
+
isOneToOne: false;
|
|
30259
|
+
referencedRelation: "itk_customers";
|
|
30260
|
+
referencedColumns: ["id"];
|
|
30261
|
+
}, {
|
|
30262
|
+
foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
|
|
30263
|
+
columns: ["follow_up_werkbon_id"];
|
|
30264
|
+
isOneToOne: false;
|
|
30265
|
+
referencedRelation: "werkbonnen";
|
|
30266
|
+
referencedColumns: ["id"];
|
|
30267
|
+
}, {
|
|
30268
|
+
foreignKeyName: "itk_offertes_werkbon_id_fkey";
|
|
30269
|
+
columns: ["werkbon_id"];
|
|
30270
|
+
isOneToOne: false;
|
|
30271
|
+
referencedRelation: "werkbonnen";
|
|
30272
|
+
referencedColumns: ["id"];
|
|
30273
|
+
}, {
|
|
30274
|
+
foreignKeyName: "itk_offertes_work_location_id_fkey";
|
|
30275
|
+
columns: ["work_location_id"];
|
|
30276
|
+
isOneToOne: false;
|
|
30277
|
+
referencedRelation: "itk_work_locations";
|
|
30278
|
+
referencedColumns: ["id"];
|
|
30279
|
+
}];
|
|
30280
|
+
};
|
|
29434
30281
|
itk_work_locations: {
|
|
29435
30282
|
Row: {
|
|
29436
30283
|
city: string | null;
|
|
@@ -31804,6 +32651,63 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
31804
32651
|
referencedColumns: ["id"];
|
|
31805
32652
|
}];
|
|
31806
32653
|
};
|
|
32654
|
+
medewerker_details: {
|
|
32655
|
+
Row: {
|
|
32656
|
+
color: string | null;
|
|
32657
|
+
created_at: string;
|
|
32658
|
+
hours_fri: number | null;
|
|
32659
|
+
hours_mon: number | null;
|
|
32660
|
+
hours_thu: number | null;
|
|
32661
|
+
hours_tue: number | null;
|
|
32662
|
+
hours_wed: number | null;
|
|
32663
|
+
id: string;
|
|
32664
|
+
is_active: boolean;
|
|
32665
|
+
leave_balance_hours: number;
|
|
32666
|
+
persnr: string | null;
|
|
32667
|
+
phone: string | null;
|
|
32668
|
+
profile_id: string;
|
|
32669
|
+
updated_at: string;
|
|
32670
|
+
};
|
|
32671
|
+
Insert: {
|
|
32672
|
+
color?: string | null;
|
|
32673
|
+
created_at?: string;
|
|
32674
|
+
hours_fri?: number | null;
|
|
32675
|
+
hours_mon?: number | null;
|
|
32676
|
+
hours_thu?: number | null;
|
|
32677
|
+
hours_tue?: number | null;
|
|
32678
|
+
hours_wed?: number | null;
|
|
32679
|
+
id?: string;
|
|
32680
|
+
is_active?: boolean;
|
|
32681
|
+
leave_balance_hours?: number;
|
|
32682
|
+
persnr?: string | null;
|
|
32683
|
+
phone?: string | null;
|
|
32684
|
+
profile_id: string;
|
|
32685
|
+
updated_at?: string;
|
|
32686
|
+
};
|
|
32687
|
+
Update: {
|
|
32688
|
+
color?: string | null;
|
|
32689
|
+
created_at?: string;
|
|
32690
|
+
hours_fri?: number | null;
|
|
32691
|
+
hours_mon?: number | null;
|
|
32692
|
+
hours_thu?: number | null;
|
|
32693
|
+
hours_tue?: number | null;
|
|
32694
|
+
hours_wed?: number | null;
|
|
32695
|
+
id?: string;
|
|
32696
|
+
is_active?: boolean;
|
|
32697
|
+
leave_balance_hours?: number;
|
|
32698
|
+
persnr?: string | null;
|
|
32699
|
+
phone?: string | null;
|
|
32700
|
+
profile_id?: string;
|
|
32701
|
+
updated_at?: string;
|
|
32702
|
+
};
|
|
32703
|
+
Relationships: [{
|
|
32704
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
32705
|
+
columns: ["profile_id"];
|
|
32706
|
+
isOneToOne: true;
|
|
32707
|
+
referencedRelation: "profiles";
|
|
32708
|
+
referencedColumns: ["id"];
|
|
32709
|
+
}];
|
|
32710
|
+
};
|
|
31807
32711
|
module_features: {
|
|
31808
32712
|
Row: {
|
|
31809
32713
|
created_at: string;
|
|
@@ -33097,6 +34001,8 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
33097
34001
|
orders: {
|
|
33098
34002
|
Row: {
|
|
33099
34003
|
buffer_id: string | null;
|
|
34004
|
+
cancel_reason: string | null;
|
|
34005
|
+
cancelled_at: string | null;
|
|
33100
34006
|
created_at: string;
|
|
33101
34007
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
33102
34008
|
customer_id: string | null;
|
|
@@ -33119,6 +34025,8 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
33119
34025
|
};
|
|
33120
34026
|
Insert: {
|
|
33121
34027
|
buffer_id?: string | null;
|
|
34028
|
+
cancel_reason?: string | null;
|
|
34029
|
+
cancelled_at?: string | null;
|
|
33122
34030
|
created_at?: string;
|
|
33123
34031
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
33124
34032
|
customer_id?: string | null;
|
|
@@ -33141,6 +34049,8 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
33141
34049
|
};
|
|
33142
34050
|
Update: {
|
|
33143
34051
|
buffer_id?: string | null;
|
|
34052
|
+
cancel_reason?: string | null;
|
|
34053
|
+
cancelled_at?: string | null;
|
|
33144
34054
|
created_at?: string;
|
|
33145
34055
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
33146
34056
|
customer_id?: string | null;
|
|
@@ -35203,6 +36113,66 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
35203
36113
|
};
|
|
35204
36114
|
Relationships: [];
|
|
35205
36115
|
};
|
|
36116
|
+
profile_modules: {
|
|
36117
|
+
Row: {
|
|
36118
|
+
created_at: string;
|
|
36119
|
+
id: string;
|
|
36120
|
+
module_id: string;
|
|
36121
|
+
profile_id: string;
|
|
36122
|
+
};
|
|
36123
|
+
Insert: {
|
|
36124
|
+
created_at?: string;
|
|
36125
|
+
id?: string;
|
|
36126
|
+
module_id: string;
|
|
36127
|
+
profile_id: string;
|
|
36128
|
+
};
|
|
36129
|
+
Update: {
|
|
36130
|
+
created_at?: string;
|
|
36131
|
+
id?: string;
|
|
36132
|
+
module_id?: string;
|
|
36133
|
+
profile_id?: string;
|
|
36134
|
+
};
|
|
36135
|
+
Relationships: [{
|
|
36136
|
+
foreignKeyName: "profile_modules_profile_id_fkey";
|
|
36137
|
+
columns: ["profile_id"];
|
|
36138
|
+
isOneToOne: false;
|
|
36139
|
+
referencedRelation: "profiles_org";
|
|
36140
|
+
referencedColumns: ["id"];
|
|
36141
|
+
}];
|
|
36142
|
+
};
|
|
36143
|
+
profile_roles: {
|
|
36144
|
+
Row: {
|
|
36145
|
+
created_at: string;
|
|
36146
|
+
id: string;
|
|
36147
|
+
profile_id: string;
|
|
36148
|
+
role_id: string;
|
|
36149
|
+
};
|
|
36150
|
+
Insert: {
|
|
36151
|
+
created_at?: string;
|
|
36152
|
+
id?: string;
|
|
36153
|
+
profile_id: string;
|
|
36154
|
+
role_id: string;
|
|
36155
|
+
};
|
|
36156
|
+
Update: {
|
|
36157
|
+
created_at?: string;
|
|
36158
|
+
id?: string;
|
|
36159
|
+
profile_id?: string;
|
|
36160
|
+
role_id?: string;
|
|
36161
|
+
};
|
|
36162
|
+
Relationships: [{
|
|
36163
|
+
foreignKeyName: "profile_roles_profile_id_fkey";
|
|
36164
|
+
columns: ["profile_id"];
|
|
36165
|
+
isOneToOne: false;
|
|
36166
|
+
referencedRelation: "profiles_org";
|
|
36167
|
+
referencedColumns: ["id"];
|
|
36168
|
+
}, {
|
|
36169
|
+
foreignKeyName: "profile_roles_role_id_fkey";
|
|
36170
|
+
columns: ["role_id"];
|
|
36171
|
+
isOneToOne: false;
|
|
36172
|
+
referencedRelation: "roles";
|
|
36173
|
+
referencedColumns: ["id"];
|
|
36174
|
+
}];
|
|
36175
|
+
};
|
|
35206
36176
|
profiles: {
|
|
35207
36177
|
Row: {
|
|
35208
36178
|
address: string | null;
|
|
@@ -35248,6 +36218,39 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
35248
36218
|
referencedColumns: ["id"];
|
|
35249
36219
|
}];
|
|
35250
36220
|
};
|
|
36221
|
+
profiles_org: {
|
|
36222
|
+
Row: {
|
|
36223
|
+
created_at: string;
|
|
36224
|
+
id: string;
|
|
36225
|
+
is_default: boolean;
|
|
36226
|
+
name: string;
|
|
36227
|
+
tenant_id: string | null;
|
|
36228
|
+
updated_at: string;
|
|
36229
|
+
};
|
|
36230
|
+
Insert: {
|
|
36231
|
+
created_at?: string;
|
|
36232
|
+
id?: string;
|
|
36233
|
+
is_default?: boolean;
|
|
36234
|
+
name: string;
|
|
36235
|
+
tenant_id?: string | null;
|
|
36236
|
+
updated_at?: string;
|
|
36237
|
+
};
|
|
36238
|
+
Update: {
|
|
36239
|
+
created_at?: string;
|
|
36240
|
+
id?: string;
|
|
36241
|
+
is_default?: boolean;
|
|
36242
|
+
name?: string;
|
|
36243
|
+
tenant_id?: string | null;
|
|
36244
|
+
updated_at?: string;
|
|
36245
|
+
};
|
|
36246
|
+
Relationships: [{
|
|
36247
|
+
foreignKeyName: "profiles_org_tenant_id_fkey";
|
|
36248
|
+
columns: ["tenant_id"];
|
|
36249
|
+
isOneToOne: false;
|
|
36250
|
+
referencedRelation: "tenants";
|
|
36251
|
+
referencedColumns: ["id"];
|
|
36252
|
+
}];
|
|
36253
|
+
};
|
|
35251
36254
|
projects: {
|
|
35252
36255
|
Row: {
|
|
35253
36256
|
contact_name: string | null;
|
|
@@ -36422,6 +37425,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
36422
37425
|
type: string;
|
|
36423
37426
|
updated_at: string;
|
|
36424
37427
|
vereist_medewerker: boolean;
|
|
37428
|
+
werkplek: string | null;
|
|
36425
37429
|
};
|
|
36426
37430
|
Insert: {
|
|
36427
37431
|
actief?: boolean;
|
|
@@ -36435,6 +37439,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
36435
37439
|
type?: string;
|
|
36436
37440
|
updated_at?: string;
|
|
36437
37441
|
vereist_medewerker?: boolean;
|
|
37442
|
+
werkplek?: string | null;
|
|
36438
37443
|
};
|
|
36439
37444
|
Update: {
|
|
36440
37445
|
actief?: boolean;
|
|
@@ -36448,9 +37453,46 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
36448
37453
|
type?: string;
|
|
36449
37454
|
updated_at?: string;
|
|
36450
37455
|
vereist_medewerker?: boolean;
|
|
37456
|
+
werkplek?: string | null;
|
|
36451
37457
|
};
|
|
36452
37458
|
Relationships: [];
|
|
36453
37459
|
};
|
|
37460
|
+
sick_periods: {
|
|
37461
|
+
Row: {
|
|
37462
|
+
created_at: string;
|
|
37463
|
+
employee_id: string;
|
|
37464
|
+
end_date: string | null;
|
|
37465
|
+
id: string;
|
|
37466
|
+
notes: string | null;
|
|
37467
|
+
start_date: string;
|
|
37468
|
+
updated_at: string;
|
|
37469
|
+
};
|
|
37470
|
+
Insert: {
|
|
37471
|
+
created_at?: string;
|
|
37472
|
+
employee_id: string;
|
|
37473
|
+
end_date?: string | null;
|
|
37474
|
+
id?: string;
|
|
37475
|
+
notes?: string | null;
|
|
37476
|
+
start_date: string;
|
|
37477
|
+
updated_at?: string;
|
|
37478
|
+
};
|
|
37479
|
+
Update: {
|
|
37480
|
+
created_at?: string;
|
|
37481
|
+
employee_id?: string;
|
|
37482
|
+
end_date?: string | null;
|
|
37483
|
+
id?: string;
|
|
37484
|
+
notes?: string | null;
|
|
37485
|
+
start_date?: string;
|
|
37486
|
+
updated_at?: string;
|
|
37487
|
+
};
|
|
37488
|
+
Relationships: [{
|
|
37489
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
37490
|
+
columns: ["employee_id"];
|
|
37491
|
+
isOneToOne: false;
|
|
37492
|
+
referencedRelation: "profiles";
|
|
37493
|
+
referencedColumns: ["id"];
|
|
37494
|
+
}];
|
|
37495
|
+
};
|
|
36454
37496
|
sidebar_config: {
|
|
36455
37497
|
Row: {
|
|
36456
37498
|
id: string;
|
|
@@ -41135,6 +42177,13 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
41135
42177
|
};
|
|
41136
42178
|
Returns: string;
|
|
41137
42179
|
};
|
|
42180
|
+
employee_day_hours: {
|
|
42181
|
+
Args: {
|
|
42182
|
+
_day: string;
|
|
42183
|
+
_employee_id: string;
|
|
42184
|
+
};
|
|
42185
|
+
Returns: number;
|
|
42186
|
+
};
|
|
41138
42187
|
enqueue_cart_replan_if_unlocked: {
|
|
41139
42188
|
Args: {
|
|
41140
42189
|
p_order_id: string;
|
|
@@ -41488,6 +42537,19 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
41488
42537
|
Args: never;
|
|
41489
42538
|
Returns: boolean;
|
|
41490
42539
|
};
|
|
42540
|
+
itk_offerte_naar_werkbon: {
|
|
42541
|
+
Args: {
|
|
42542
|
+
_offerte_id: string;
|
|
42543
|
+
};
|
|
42544
|
+
Returns: string;
|
|
42545
|
+
};
|
|
42546
|
+
itk_offerte_restant_mandaat: {
|
|
42547
|
+
Args: {
|
|
42548
|
+
_exclude_offerte_id?: string;
|
|
42549
|
+
_werkbon_id: string;
|
|
42550
|
+
};
|
|
42551
|
+
Returns: number;
|
|
42552
|
+
};
|
|
41491
42553
|
jwt_has_role: {
|
|
41492
42554
|
Args: {
|
|
41493
42555
|
_role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
@@ -41498,9 +42560,19 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
41498
42560
|
Args: never;
|
|
41499
42561
|
Returns: {
|
|
41500
42562
|
avatar_url: string;
|
|
42563
|
+
color: string;
|
|
41501
42564
|
display_name: string;
|
|
41502
42565
|
email: string;
|
|
42566
|
+
hours_fri: number;
|
|
42567
|
+
hours_mon: number;
|
|
42568
|
+
hours_thu: number;
|
|
42569
|
+
hours_tue: number;
|
|
42570
|
+
hours_wed: number;
|
|
41503
42571
|
id: string;
|
|
42572
|
+
is_active: boolean;
|
|
42573
|
+
leave_balance_hours: number;
|
|
42574
|
+
persnr: string;
|
|
42575
|
+
phone: string;
|
|
41504
42576
|
roles: string[];
|
|
41505
42577
|
}[];
|
|
41506
42578
|
};
|
|
@@ -41827,17 +42899,6 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
41827
42899
|
Returns: string;
|
|
41828
42900
|
};
|
|
41829
42901
|
logistics_emit_event: {
|
|
41830
|
-
Args: {
|
|
41831
|
-
p_event_type: string;
|
|
41832
|
-
p_idempotency_key?: string;
|
|
41833
|
-
p_order_ref: string;
|
|
41834
|
-
p_payload?: import("../integrations/supabase/types").Json;
|
|
41835
|
-
p_shadow?: boolean;
|
|
41836
|
-
p_source_module: string;
|
|
41837
|
-
p_strategy_id?: string;
|
|
41838
|
-
};
|
|
41839
|
-
Returns: import("../integrations/supabase/types").Json;
|
|
41840
|
-
} | {
|
|
41841
42902
|
Args: {
|
|
41842
42903
|
p_event_type: string;
|
|
41843
42904
|
p_idempotency_key?: string;
|
|
@@ -42682,6 +43743,37 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
42682
43743
|
};
|
|
42683
43744
|
Returns: undefined;
|
|
42684
43745
|
};
|
|
43746
|
+
quote_create_from_source: {
|
|
43747
|
+
Args: {
|
|
43748
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
43749
|
+
_source_id: string;
|
|
43750
|
+
_source_type: string;
|
|
43751
|
+
};
|
|
43752
|
+
Returns: string;
|
|
43753
|
+
};
|
|
43754
|
+
quote_get_billable_lines: {
|
|
43755
|
+
Args: {
|
|
43756
|
+
_quotation_id: string;
|
|
43757
|
+
};
|
|
43758
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
43759
|
+
};
|
|
43760
|
+
quote_get_summary: {
|
|
43761
|
+
Args: {
|
|
43762
|
+
_quotation_id: string;
|
|
43763
|
+
};
|
|
43764
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
43765
|
+
};
|
|
43766
|
+
quote_list_packages: {
|
|
43767
|
+
Args: never;
|
|
43768
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
43769
|
+
};
|
|
43770
|
+
quote_list_sources: {
|
|
43771
|
+
Args: {
|
|
43772
|
+
_limit?: number;
|
|
43773
|
+
_source_type?: string;
|
|
43774
|
+
};
|
|
43775
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
43776
|
+
};
|
|
42685
43777
|
recompute_all_reserved_stock: {
|
|
42686
43778
|
Args: never;
|
|
42687
43779
|
Returns: undefined;
|
|
@@ -43217,6 +44309,12 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
43217
44309
|
};
|
|
43218
44310
|
Returns: undefined;
|
|
43219
44311
|
};
|
|
44312
|
+
sync_sick_time_off: {
|
|
44313
|
+
Args: {
|
|
44314
|
+
_period_id: string;
|
|
44315
|
+
};
|
|
44316
|
+
Returns: number;
|
|
44317
|
+
};
|
|
43220
44318
|
trade_item_stock_duplicates: {
|
|
43221
44319
|
Args: never;
|
|
43222
44320
|
Returns: {
|
|
@@ -43290,11 +44388,31 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
|
|
|
43290
44388
|
Args: never;
|
|
43291
44389
|
Returns: string;
|
|
43292
44390
|
};
|
|
44391
|
+
wo_create_from_source: {
|
|
44392
|
+
Args: {
|
|
44393
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
44394
|
+
_source_id: string;
|
|
44395
|
+
_source_type: string;
|
|
44396
|
+
};
|
|
44397
|
+
Returns: string;
|
|
44398
|
+
};
|
|
44399
|
+
wo_get_billable_lines: {
|
|
44400
|
+
Args: {
|
|
44401
|
+
_work_order_id: string;
|
|
44402
|
+
};
|
|
44403
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
44404
|
+
};
|
|
44405
|
+
wo_get_summary: {
|
|
44406
|
+
Args: {
|
|
44407
|
+
_work_order_id: string;
|
|
44408
|
+
};
|
|
44409
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
44410
|
+
};
|
|
43293
44411
|
};
|
|
43294
44412
|
Enums: {
|
|
43295
44413
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
43296
44414
|
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
43297
|
-
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
44415
|
+
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
|
|
43298
44416
|
doc_orientation: "portrait" | "landscape";
|
|
43299
44417
|
exact_env: "staging" | "live";
|
|
43300
44418
|
exact_push_status: "pending" | "sent" | "error";
|