@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
|
@@ -5057,6 +5057,42 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
5057
5057
|
};
|
|
5058
5058
|
Relationships: [];
|
|
5059
5059
|
};
|
|
5060
|
+
facturen: {
|
|
5061
|
+
Row: {
|
|
5062
|
+
bedrag_incl_btw: number;
|
|
5063
|
+
created_at: string;
|
|
5064
|
+
datum: string;
|
|
5065
|
+
factuurnummer: string;
|
|
5066
|
+
id: string;
|
|
5067
|
+
klantnaam: string;
|
|
5068
|
+
status: string;
|
|
5069
|
+
updated_at: string;
|
|
5070
|
+
user_id: string;
|
|
5071
|
+
};
|
|
5072
|
+
Insert: {
|
|
5073
|
+
bedrag_incl_btw: number;
|
|
5074
|
+
created_at?: string;
|
|
5075
|
+
datum?: string;
|
|
5076
|
+
factuurnummer: string;
|
|
5077
|
+
id?: string;
|
|
5078
|
+
klantnaam: string;
|
|
5079
|
+
status?: string;
|
|
5080
|
+
updated_at?: string;
|
|
5081
|
+
user_id?: string;
|
|
5082
|
+
};
|
|
5083
|
+
Update: {
|
|
5084
|
+
bedrag_incl_btw?: number;
|
|
5085
|
+
created_at?: string;
|
|
5086
|
+
datum?: string;
|
|
5087
|
+
factuurnummer?: string;
|
|
5088
|
+
id?: string;
|
|
5089
|
+
klantnaam?: string;
|
|
5090
|
+
status?: string;
|
|
5091
|
+
updated_at?: string;
|
|
5092
|
+
user_id?: string;
|
|
5093
|
+
};
|
|
5094
|
+
Relationships: [];
|
|
5095
|
+
};
|
|
5060
5096
|
floricode_connection_settings: {
|
|
5061
5097
|
Row: {
|
|
5062
5098
|
catalog_key: string | null;
|
|
@@ -7781,6 +7817,258 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
7781
7817
|
};
|
|
7782
7818
|
Relationships: [];
|
|
7783
7819
|
};
|
|
7820
|
+
itk_offerte_events: {
|
|
7821
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
7840
|
+
created_at?: string;
|
|
7841
|
+
event_type?: string;
|
|
7842
|
+
id?: string;
|
|
7843
|
+
metadata?: import("../integrations/supabase/types").Json;
|
|
7844
|
+
offerte_id?: string;
|
|
7845
|
+
omschrijving?: string | null;
|
|
7846
|
+
user_id?: string | null;
|
|
7847
|
+
};
|
|
7848
|
+
Relationships: [{
|
|
7849
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
7850
|
+
columns: ["offerte_id"];
|
|
7851
|
+
isOneToOne: false;
|
|
7852
|
+
referencedRelation: "itk_offertes";
|
|
7853
|
+
referencedColumns: ["id"];
|
|
7854
|
+
}];
|
|
7855
|
+
};
|
|
7856
|
+
itk_offerte_regels: {
|
|
7857
|
+
Row: {
|
|
7858
|
+
created_at: string;
|
|
7859
|
+
id: string;
|
|
7860
|
+
line_total_cents: number;
|
|
7861
|
+
offerte_id: string;
|
|
7862
|
+
omschrijving: string;
|
|
7863
|
+
package_id: string | null;
|
|
7864
|
+
quantity: number;
|
|
7865
|
+
sort_order: number;
|
|
7866
|
+
source: string;
|
|
7867
|
+
unit_price_cents: number;
|
|
7868
|
+
updated_at: string;
|
|
7869
|
+
};
|
|
7870
|
+
Insert: {
|
|
7871
|
+
created_at?: string;
|
|
7872
|
+
id?: string;
|
|
7873
|
+
line_total_cents?: number;
|
|
7874
|
+
offerte_id: string;
|
|
7875
|
+
omschrijving?: string;
|
|
7876
|
+
package_id?: string | null;
|
|
7877
|
+
quantity?: number;
|
|
7878
|
+
sort_order?: number;
|
|
7879
|
+
source?: string;
|
|
7880
|
+
unit_price_cents?: number;
|
|
7881
|
+
updated_at?: string;
|
|
7882
|
+
};
|
|
7883
|
+
Update: {
|
|
7884
|
+
created_at?: string;
|
|
7885
|
+
id?: string;
|
|
7886
|
+
line_total_cents?: number;
|
|
7887
|
+
offerte_id?: string;
|
|
7888
|
+
omschrijving?: string;
|
|
7889
|
+
package_id?: string | null;
|
|
7890
|
+
quantity?: number;
|
|
7891
|
+
sort_order?: number;
|
|
7892
|
+
source?: string;
|
|
7893
|
+
unit_price_cents?: number;
|
|
7894
|
+
updated_at?: string;
|
|
7895
|
+
};
|
|
7896
|
+
Relationships: [{
|
|
7897
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
7898
|
+
columns: ["offerte_id"];
|
|
7899
|
+
isOneToOne: false;
|
|
7900
|
+
referencedRelation: "itk_offertes";
|
|
7901
|
+
referencedColumns: ["id"];
|
|
7902
|
+
}, {
|
|
7903
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
7904
|
+
columns: ["package_id"];
|
|
7905
|
+
isOneToOne: false;
|
|
7906
|
+
referencedRelation: "werkbon_packages";
|
|
7907
|
+
referencedColumns: ["id"];
|
|
7908
|
+
}];
|
|
7909
|
+
};
|
|
7910
|
+
itk_offerte_settings: {
|
|
7911
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
7930
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
7931
|
+
created_at?: string;
|
|
7932
|
+
default_geldigheid_dagen?: number;
|
|
7933
|
+
default_vat_rate?: number;
|
|
7934
|
+
id?: string;
|
|
7935
|
+
singleton?: boolean;
|
|
7936
|
+
updated_at?: string;
|
|
7937
|
+
};
|
|
7938
|
+
Relationships: [];
|
|
7939
|
+
};
|
|
7940
|
+
itk_offertes: {
|
|
7941
|
+
Row: {
|
|
7942
|
+
ai_generated: boolean;
|
|
7943
|
+
approved_at: string | null;
|
|
7944
|
+
binnen_mandaat: boolean;
|
|
7945
|
+
contact_id: string | null;
|
|
7946
|
+
converted_at: string | null;
|
|
7947
|
+
created_at: string;
|
|
7948
|
+
created_by: string | null;
|
|
7949
|
+
customer_id: string | null;
|
|
7950
|
+
follow_up_werkbon_id: string | null;
|
|
7951
|
+
id: string;
|
|
7952
|
+
jaar: number;
|
|
7953
|
+
mandaat_restant_cents: number;
|
|
7954
|
+
notities: string | null;
|
|
7955
|
+
offerte_number: string | null;
|
|
7956
|
+
omschrijving: string;
|
|
7957
|
+
rejected_at: string | null;
|
|
7958
|
+
sent_at: string | null;
|
|
7959
|
+
source_number: string | null;
|
|
7960
|
+
source_ref: string | null;
|
|
7961
|
+
source_type: string;
|
|
7962
|
+
status: string;
|
|
7963
|
+
subtotal_cents: number;
|
|
7964
|
+
total_cents: number;
|
|
7965
|
+
updated_at: string;
|
|
7966
|
+
valid_until: string | null;
|
|
7967
|
+
vat_cents: number;
|
|
7968
|
+
vat_rate: number;
|
|
7969
|
+
viewed_at: string | null;
|
|
7970
|
+
volgnummer: number | null;
|
|
7971
|
+
werkbon_id: string | null;
|
|
7972
|
+
work_location_id: string | null;
|
|
7973
|
+
};
|
|
7974
|
+
Insert: {
|
|
7975
|
+
ai_generated?: boolean;
|
|
7976
|
+
approved_at?: string | null;
|
|
7977
|
+
binnen_mandaat?: boolean;
|
|
7978
|
+
contact_id?: string | null;
|
|
7979
|
+
converted_at?: string | null;
|
|
7980
|
+
created_at?: string;
|
|
7981
|
+
created_by?: string | null;
|
|
7982
|
+
customer_id?: string | null;
|
|
7983
|
+
follow_up_werkbon_id?: string | null;
|
|
7984
|
+
id?: string;
|
|
7985
|
+
jaar?: number;
|
|
7986
|
+
mandaat_restant_cents?: number;
|
|
7987
|
+
notities?: string | null;
|
|
7988
|
+
offerte_number?: string | null;
|
|
7989
|
+
omschrijving?: string;
|
|
7990
|
+
rejected_at?: string | null;
|
|
7991
|
+
sent_at?: string | null;
|
|
7992
|
+
source_number?: string | null;
|
|
7993
|
+
source_ref?: string | null;
|
|
7994
|
+
source_type?: string;
|
|
7995
|
+
status?: string;
|
|
7996
|
+
subtotal_cents?: number;
|
|
7997
|
+
total_cents?: number;
|
|
7998
|
+
updated_at?: string;
|
|
7999
|
+
valid_until?: string | null;
|
|
8000
|
+
vat_cents?: number;
|
|
8001
|
+
vat_rate?: number;
|
|
8002
|
+
viewed_at?: string | null;
|
|
8003
|
+
volgnummer?: number | null;
|
|
8004
|
+
werkbon_id?: string | null;
|
|
8005
|
+
work_location_id?: string | null;
|
|
8006
|
+
};
|
|
8007
|
+
Update: {
|
|
8008
|
+
ai_generated?: boolean;
|
|
8009
|
+
approved_at?: string | null;
|
|
8010
|
+
binnen_mandaat?: boolean;
|
|
8011
|
+
contact_id?: string | null;
|
|
8012
|
+
converted_at?: string | null;
|
|
8013
|
+
created_at?: string;
|
|
8014
|
+
created_by?: string | null;
|
|
8015
|
+
customer_id?: string | null;
|
|
8016
|
+
follow_up_werkbon_id?: string | null;
|
|
8017
|
+
id?: string;
|
|
8018
|
+
jaar?: number;
|
|
8019
|
+
mandaat_restant_cents?: number;
|
|
8020
|
+
notities?: string | null;
|
|
8021
|
+
offerte_number?: string | null;
|
|
8022
|
+
omschrijving?: string;
|
|
8023
|
+
rejected_at?: string | null;
|
|
8024
|
+
sent_at?: string | null;
|
|
8025
|
+
source_number?: string | null;
|
|
8026
|
+
source_ref?: string | null;
|
|
8027
|
+
source_type?: string;
|
|
8028
|
+
status?: string;
|
|
8029
|
+
subtotal_cents?: number;
|
|
8030
|
+
total_cents?: number;
|
|
8031
|
+
updated_at?: string;
|
|
8032
|
+
valid_until?: string | null;
|
|
8033
|
+
vat_cents?: number;
|
|
8034
|
+
vat_rate?: number;
|
|
8035
|
+
viewed_at?: string | null;
|
|
8036
|
+
volgnummer?: number | null;
|
|
8037
|
+
werkbon_id?: string | null;
|
|
8038
|
+
work_location_id?: string | null;
|
|
8039
|
+
};
|
|
8040
|
+
Relationships: [{
|
|
8041
|
+
foreignKeyName: "itk_offertes_contact_id_fkey";
|
|
8042
|
+
columns: ["contact_id"];
|
|
8043
|
+
isOneToOne: false;
|
|
8044
|
+
referencedRelation: "itk_contact_persons";
|
|
8045
|
+
referencedColumns: ["id"];
|
|
8046
|
+
}, {
|
|
8047
|
+
foreignKeyName: "itk_offertes_customer_id_fkey";
|
|
8048
|
+
columns: ["customer_id"];
|
|
8049
|
+
isOneToOne: false;
|
|
8050
|
+
referencedRelation: "itk_customers";
|
|
8051
|
+
referencedColumns: ["id"];
|
|
8052
|
+
}, {
|
|
8053
|
+
foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
|
|
8054
|
+
columns: ["follow_up_werkbon_id"];
|
|
8055
|
+
isOneToOne: false;
|
|
8056
|
+
referencedRelation: "werkbonnen";
|
|
8057
|
+
referencedColumns: ["id"];
|
|
8058
|
+
}, {
|
|
8059
|
+
foreignKeyName: "itk_offertes_werkbon_id_fkey";
|
|
8060
|
+
columns: ["werkbon_id"];
|
|
8061
|
+
isOneToOne: false;
|
|
8062
|
+
referencedRelation: "werkbonnen";
|
|
8063
|
+
referencedColumns: ["id"];
|
|
8064
|
+
}, {
|
|
8065
|
+
foreignKeyName: "itk_offertes_work_location_id_fkey";
|
|
8066
|
+
columns: ["work_location_id"];
|
|
8067
|
+
isOneToOne: false;
|
|
8068
|
+
referencedRelation: "itk_work_locations";
|
|
8069
|
+
referencedColumns: ["id"];
|
|
8070
|
+
}];
|
|
8071
|
+
};
|
|
7784
8072
|
itk_work_locations: {
|
|
7785
8073
|
Row: {
|
|
7786
8074
|
city: string | null;
|
|
@@ -10154,6 +10442,63 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
10154
10442
|
referencedColumns: ["id"];
|
|
10155
10443
|
}];
|
|
10156
10444
|
};
|
|
10445
|
+
medewerker_details: {
|
|
10446
|
+
Row: {
|
|
10447
|
+
color: string | null;
|
|
10448
|
+
created_at: string;
|
|
10449
|
+
hours_fri: number | null;
|
|
10450
|
+
hours_mon: number | null;
|
|
10451
|
+
hours_thu: number | null;
|
|
10452
|
+
hours_tue: number | null;
|
|
10453
|
+
hours_wed: number | null;
|
|
10454
|
+
id: string;
|
|
10455
|
+
is_active: boolean;
|
|
10456
|
+
leave_balance_hours: number;
|
|
10457
|
+
persnr: string | null;
|
|
10458
|
+
phone: string | null;
|
|
10459
|
+
profile_id: string;
|
|
10460
|
+
updated_at: string;
|
|
10461
|
+
};
|
|
10462
|
+
Insert: {
|
|
10463
|
+
color?: string | null;
|
|
10464
|
+
created_at?: string;
|
|
10465
|
+
hours_fri?: number | null;
|
|
10466
|
+
hours_mon?: number | null;
|
|
10467
|
+
hours_thu?: number | null;
|
|
10468
|
+
hours_tue?: number | null;
|
|
10469
|
+
hours_wed?: number | null;
|
|
10470
|
+
id?: string;
|
|
10471
|
+
is_active?: boolean;
|
|
10472
|
+
leave_balance_hours?: number;
|
|
10473
|
+
persnr?: string | null;
|
|
10474
|
+
phone?: string | null;
|
|
10475
|
+
profile_id: string;
|
|
10476
|
+
updated_at?: string;
|
|
10477
|
+
};
|
|
10478
|
+
Update: {
|
|
10479
|
+
color?: string | null;
|
|
10480
|
+
created_at?: string;
|
|
10481
|
+
hours_fri?: number | null;
|
|
10482
|
+
hours_mon?: number | null;
|
|
10483
|
+
hours_thu?: number | null;
|
|
10484
|
+
hours_tue?: number | null;
|
|
10485
|
+
hours_wed?: number | null;
|
|
10486
|
+
id?: string;
|
|
10487
|
+
is_active?: boolean;
|
|
10488
|
+
leave_balance_hours?: number;
|
|
10489
|
+
persnr?: string | null;
|
|
10490
|
+
phone?: string | null;
|
|
10491
|
+
profile_id?: string;
|
|
10492
|
+
updated_at?: string;
|
|
10493
|
+
};
|
|
10494
|
+
Relationships: [{
|
|
10495
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
10496
|
+
columns: ["profile_id"];
|
|
10497
|
+
isOneToOne: true;
|
|
10498
|
+
referencedRelation: "profiles";
|
|
10499
|
+
referencedColumns: ["id"];
|
|
10500
|
+
}];
|
|
10501
|
+
};
|
|
10157
10502
|
module_features: {
|
|
10158
10503
|
Row: {
|
|
10159
10504
|
created_at: string;
|
|
@@ -11447,6 +11792,8 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
11447
11792
|
orders: {
|
|
11448
11793
|
Row: {
|
|
11449
11794
|
buffer_id: string | null;
|
|
11795
|
+
cancel_reason: string | null;
|
|
11796
|
+
cancelled_at: string | null;
|
|
11450
11797
|
created_at: string;
|
|
11451
11798
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
11452
11799
|
customer_id: string | null;
|
|
@@ -11469,6 +11816,8 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
11469
11816
|
};
|
|
11470
11817
|
Insert: {
|
|
11471
11818
|
buffer_id?: string | null;
|
|
11819
|
+
cancel_reason?: string | null;
|
|
11820
|
+
cancelled_at?: string | null;
|
|
11472
11821
|
created_at?: string;
|
|
11473
11822
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
11474
11823
|
customer_id?: string | null;
|
|
@@ -11491,6 +11840,8 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
11491
11840
|
};
|
|
11492
11841
|
Update: {
|
|
11493
11842
|
buffer_id?: string | null;
|
|
11843
|
+
cancel_reason?: string | null;
|
|
11844
|
+
cancelled_at?: string | null;
|
|
11494
11845
|
created_at?: string;
|
|
11495
11846
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
11496
11847
|
customer_id?: string | null;
|
|
@@ -13553,6 +13904,66 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
13553
13904
|
};
|
|
13554
13905
|
Relationships: [];
|
|
13555
13906
|
};
|
|
13907
|
+
profile_modules: {
|
|
13908
|
+
Row: {
|
|
13909
|
+
created_at: string;
|
|
13910
|
+
id: string;
|
|
13911
|
+
module_id: string;
|
|
13912
|
+
profile_id: string;
|
|
13913
|
+
};
|
|
13914
|
+
Insert: {
|
|
13915
|
+
created_at?: string;
|
|
13916
|
+
id?: string;
|
|
13917
|
+
module_id: string;
|
|
13918
|
+
profile_id: string;
|
|
13919
|
+
};
|
|
13920
|
+
Update: {
|
|
13921
|
+
created_at?: string;
|
|
13922
|
+
id?: string;
|
|
13923
|
+
module_id?: string;
|
|
13924
|
+
profile_id?: string;
|
|
13925
|
+
};
|
|
13926
|
+
Relationships: [{
|
|
13927
|
+
foreignKeyName: "profile_modules_profile_id_fkey";
|
|
13928
|
+
columns: ["profile_id"];
|
|
13929
|
+
isOneToOne: false;
|
|
13930
|
+
referencedRelation: "profiles_org";
|
|
13931
|
+
referencedColumns: ["id"];
|
|
13932
|
+
}];
|
|
13933
|
+
};
|
|
13934
|
+
profile_roles: {
|
|
13935
|
+
Row: {
|
|
13936
|
+
created_at: string;
|
|
13937
|
+
id: string;
|
|
13938
|
+
profile_id: string;
|
|
13939
|
+
role_id: string;
|
|
13940
|
+
};
|
|
13941
|
+
Insert: {
|
|
13942
|
+
created_at?: string;
|
|
13943
|
+
id?: string;
|
|
13944
|
+
profile_id: string;
|
|
13945
|
+
role_id: string;
|
|
13946
|
+
};
|
|
13947
|
+
Update: {
|
|
13948
|
+
created_at?: string;
|
|
13949
|
+
id?: string;
|
|
13950
|
+
profile_id?: string;
|
|
13951
|
+
role_id?: string;
|
|
13952
|
+
};
|
|
13953
|
+
Relationships: [{
|
|
13954
|
+
foreignKeyName: "profile_roles_profile_id_fkey";
|
|
13955
|
+
columns: ["profile_id"];
|
|
13956
|
+
isOneToOne: false;
|
|
13957
|
+
referencedRelation: "profiles_org";
|
|
13958
|
+
referencedColumns: ["id"];
|
|
13959
|
+
}, {
|
|
13960
|
+
foreignKeyName: "profile_roles_role_id_fkey";
|
|
13961
|
+
columns: ["role_id"];
|
|
13962
|
+
isOneToOne: false;
|
|
13963
|
+
referencedRelation: "roles";
|
|
13964
|
+
referencedColumns: ["id"];
|
|
13965
|
+
}];
|
|
13966
|
+
};
|
|
13556
13967
|
profiles: {
|
|
13557
13968
|
Row: {
|
|
13558
13969
|
address: string | null;
|
|
@@ -13598,6 +14009,39 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
13598
14009
|
referencedColumns: ["id"];
|
|
13599
14010
|
}];
|
|
13600
14011
|
};
|
|
14012
|
+
profiles_org: {
|
|
14013
|
+
Row: {
|
|
14014
|
+
created_at: string;
|
|
14015
|
+
id: string;
|
|
14016
|
+
is_default: boolean;
|
|
14017
|
+
name: string;
|
|
14018
|
+
tenant_id: string | null;
|
|
14019
|
+
updated_at: string;
|
|
14020
|
+
};
|
|
14021
|
+
Insert: {
|
|
14022
|
+
created_at?: string;
|
|
14023
|
+
id?: string;
|
|
14024
|
+
is_default?: boolean;
|
|
14025
|
+
name: string;
|
|
14026
|
+
tenant_id?: string | null;
|
|
14027
|
+
updated_at?: string;
|
|
14028
|
+
};
|
|
14029
|
+
Update: {
|
|
14030
|
+
created_at?: string;
|
|
14031
|
+
id?: string;
|
|
14032
|
+
is_default?: boolean;
|
|
14033
|
+
name?: string;
|
|
14034
|
+
tenant_id?: string | null;
|
|
14035
|
+
updated_at?: string;
|
|
14036
|
+
};
|
|
14037
|
+
Relationships: [{
|
|
14038
|
+
foreignKeyName: "profiles_org_tenant_id_fkey";
|
|
14039
|
+
columns: ["tenant_id"];
|
|
14040
|
+
isOneToOne: false;
|
|
14041
|
+
referencedRelation: "tenants";
|
|
14042
|
+
referencedColumns: ["id"];
|
|
14043
|
+
}];
|
|
14044
|
+
};
|
|
13601
14045
|
projects: {
|
|
13602
14046
|
Row: {
|
|
13603
14047
|
contact_name: string | null;
|
|
@@ -14772,6 +15216,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
14772
15216
|
type: string;
|
|
14773
15217
|
updated_at: string;
|
|
14774
15218
|
vereist_medewerker: boolean;
|
|
15219
|
+
werkplek: string | null;
|
|
14775
15220
|
};
|
|
14776
15221
|
Insert: {
|
|
14777
15222
|
actief?: boolean;
|
|
@@ -14785,6 +15230,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
14785
15230
|
type?: string;
|
|
14786
15231
|
updated_at?: string;
|
|
14787
15232
|
vereist_medewerker?: boolean;
|
|
15233
|
+
werkplek?: string | null;
|
|
14788
15234
|
};
|
|
14789
15235
|
Update: {
|
|
14790
15236
|
actief?: boolean;
|
|
@@ -14798,9 +15244,46 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
14798
15244
|
type?: string;
|
|
14799
15245
|
updated_at?: string;
|
|
14800
15246
|
vereist_medewerker?: boolean;
|
|
15247
|
+
werkplek?: string | null;
|
|
14801
15248
|
};
|
|
14802
15249
|
Relationships: [];
|
|
14803
15250
|
};
|
|
15251
|
+
sick_periods: {
|
|
15252
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
15271
|
+
created_at?: string;
|
|
15272
|
+
employee_id?: string;
|
|
15273
|
+
end_date?: string | null;
|
|
15274
|
+
id?: string;
|
|
15275
|
+
notes?: string | null;
|
|
15276
|
+
start_date?: string;
|
|
15277
|
+
updated_at?: string;
|
|
15278
|
+
};
|
|
15279
|
+
Relationships: [{
|
|
15280
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
15281
|
+
columns: ["employee_id"];
|
|
15282
|
+
isOneToOne: false;
|
|
15283
|
+
referencedRelation: "profiles";
|
|
15284
|
+
referencedColumns: ["id"];
|
|
15285
|
+
}];
|
|
15286
|
+
};
|
|
14804
15287
|
sidebar_config: {
|
|
14805
15288
|
Row: {
|
|
14806
15289
|
id: string;
|
|
@@ -19485,6 +19968,13 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
19485
19968
|
};
|
|
19486
19969
|
Returns: string;
|
|
19487
19970
|
};
|
|
19971
|
+
employee_day_hours: {
|
|
19972
|
+
Args: {
|
|
19973
|
+
_day: string;
|
|
19974
|
+
_employee_id: string;
|
|
19975
|
+
};
|
|
19976
|
+
Returns: number;
|
|
19977
|
+
};
|
|
19488
19978
|
enqueue_cart_replan_if_unlocked: {
|
|
19489
19979
|
Args: {
|
|
19490
19980
|
p_order_id: string;
|
|
@@ -19838,6 +20328,19 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
19838
20328
|
Args: never;
|
|
19839
20329
|
Returns: boolean;
|
|
19840
20330
|
};
|
|
20331
|
+
itk_offerte_naar_werkbon: {
|
|
20332
|
+
Args: {
|
|
20333
|
+
_offerte_id: string;
|
|
20334
|
+
};
|
|
20335
|
+
Returns: string;
|
|
20336
|
+
};
|
|
20337
|
+
itk_offerte_restant_mandaat: {
|
|
20338
|
+
Args: {
|
|
20339
|
+
_exclude_offerte_id?: string;
|
|
20340
|
+
_werkbon_id: string;
|
|
20341
|
+
};
|
|
20342
|
+
Returns: number;
|
|
20343
|
+
};
|
|
19841
20344
|
jwt_has_role: {
|
|
19842
20345
|
Args: {
|
|
19843
20346
|
_role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
@@ -19848,9 +20351,19 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
19848
20351
|
Args: never;
|
|
19849
20352
|
Returns: {
|
|
19850
20353
|
avatar_url: string;
|
|
20354
|
+
color: string;
|
|
19851
20355
|
display_name: string;
|
|
19852
20356
|
email: string;
|
|
20357
|
+
hours_fri: number;
|
|
20358
|
+
hours_mon: number;
|
|
20359
|
+
hours_thu: number;
|
|
20360
|
+
hours_tue: number;
|
|
20361
|
+
hours_wed: number;
|
|
19853
20362
|
id: string;
|
|
20363
|
+
is_active: boolean;
|
|
20364
|
+
leave_balance_hours: number;
|
|
20365
|
+
persnr: string;
|
|
20366
|
+
phone: string;
|
|
19854
20367
|
roles: string[];
|
|
19855
20368
|
}[];
|
|
19856
20369
|
};
|
|
@@ -20177,17 +20690,6 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
20177
20690
|
Returns: string;
|
|
20178
20691
|
};
|
|
20179
20692
|
logistics_emit_event: {
|
|
20180
|
-
Args: {
|
|
20181
|
-
p_event_type: string;
|
|
20182
|
-
p_idempotency_key?: string;
|
|
20183
|
-
p_order_ref: string;
|
|
20184
|
-
p_payload?: import("../integrations/supabase/types").Json;
|
|
20185
|
-
p_shadow?: boolean;
|
|
20186
|
-
p_source_module: string;
|
|
20187
|
-
p_strategy_id?: string;
|
|
20188
|
-
};
|
|
20189
|
-
Returns: import("../integrations/supabase/types").Json;
|
|
20190
|
-
} | {
|
|
20191
20693
|
Args: {
|
|
20192
20694
|
p_event_type: string;
|
|
20193
20695
|
p_idempotency_key?: string;
|
|
@@ -21032,6 +21534,37 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
21032
21534
|
};
|
|
21033
21535
|
Returns: undefined;
|
|
21034
21536
|
};
|
|
21537
|
+
quote_create_from_source: {
|
|
21538
|
+
Args: {
|
|
21539
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
21540
|
+
_source_id: string;
|
|
21541
|
+
_source_type: string;
|
|
21542
|
+
};
|
|
21543
|
+
Returns: string;
|
|
21544
|
+
};
|
|
21545
|
+
quote_get_billable_lines: {
|
|
21546
|
+
Args: {
|
|
21547
|
+
_quotation_id: string;
|
|
21548
|
+
};
|
|
21549
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21550
|
+
};
|
|
21551
|
+
quote_get_summary: {
|
|
21552
|
+
Args: {
|
|
21553
|
+
_quotation_id: string;
|
|
21554
|
+
};
|
|
21555
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21556
|
+
};
|
|
21557
|
+
quote_list_packages: {
|
|
21558
|
+
Args: never;
|
|
21559
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21560
|
+
};
|
|
21561
|
+
quote_list_sources: {
|
|
21562
|
+
Args: {
|
|
21563
|
+
_limit?: number;
|
|
21564
|
+
_source_type?: string;
|
|
21565
|
+
};
|
|
21566
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21567
|
+
};
|
|
21035
21568
|
recompute_all_reserved_stock: {
|
|
21036
21569
|
Args: never;
|
|
21037
21570
|
Returns: undefined;
|
|
@@ -21567,6 +22100,12 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
21567
22100
|
};
|
|
21568
22101
|
Returns: undefined;
|
|
21569
22102
|
};
|
|
22103
|
+
sync_sick_time_off: {
|
|
22104
|
+
Args: {
|
|
22105
|
+
_period_id: string;
|
|
22106
|
+
};
|
|
22107
|
+
Returns: number;
|
|
22108
|
+
};
|
|
21570
22109
|
trade_item_stock_duplicates: {
|
|
21571
22110
|
Args: never;
|
|
21572
22111
|
Returns: {
|
|
@@ -21640,11 +22179,31 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
21640
22179
|
Args: never;
|
|
21641
22180
|
Returns: string;
|
|
21642
22181
|
};
|
|
22182
|
+
wo_create_from_source: {
|
|
22183
|
+
Args: {
|
|
22184
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
22185
|
+
_source_id: string;
|
|
22186
|
+
_source_type: string;
|
|
22187
|
+
};
|
|
22188
|
+
Returns: string;
|
|
22189
|
+
};
|
|
22190
|
+
wo_get_billable_lines: {
|
|
22191
|
+
Args: {
|
|
22192
|
+
_work_order_id: string;
|
|
22193
|
+
};
|
|
22194
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22195
|
+
};
|
|
22196
|
+
wo_get_summary: {
|
|
22197
|
+
Args: {
|
|
22198
|
+
_work_order_id: string;
|
|
22199
|
+
};
|
|
22200
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22201
|
+
};
|
|
21643
22202
|
};
|
|
21644
22203
|
Enums: {
|
|
21645
22204
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
21646
22205
|
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
21647
|
-
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
22206
|
+
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
|
|
21648
22207
|
doc_orientation: "portrait" | "landscape";
|
|
21649
22208
|
exact_env: "staging" | "live";
|
|
21650
22209
|
exact_push_status: "pending" | "sent" | "error";
|