@flowselections/actie-mail-kwekers-erp-mathot 1.0.19 → 1.0.20
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/integrations/supabase/auth-middleware.d.ts +277 -13
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +277 -13
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +277 -13
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +289 -14
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +3 -0
- package/dist-lib/lib/branding.functions.d.ts +831 -39
- package/dist-lib/lib/branding.functions.d.ts.map +1 -1
- package/dist-lib/lib/campaigns.functions.d.ts +1385 -65
- package/dist-lib/lib/campaigns.functions.d.ts.map +1 -1
- package/dist-lib/lib/stats.functions.d.ts +277 -13
- package/dist-lib/lib/stats.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -7769,6 +7769,249 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7769
7769
|
};
|
|
7770
7770
|
Relationships: [];
|
|
7771
7771
|
};
|
|
7772
|
+
itk_offerte_events: {
|
|
7773
|
+
Row: {
|
|
7774
|
+
created_at: string;
|
|
7775
|
+
event_type: string;
|
|
7776
|
+
id: string;
|
|
7777
|
+
metadata: import("./types").Json;
|
|
7778
|
+
offerte_id: string;
|
|
7779
|
+
omschrijving: string | null;
|
|
7780
|
+
user_id: string | null;
|
|
7781
|
+
};
|
|
7782
|
+
Insert: {
|
|
7783
|
+
created_at?: string;
|
|
7784
|
+
event_type: string;
|
|
7785
|
+
id?: string;
|
|
7786
|
+
metadata?: import("./types").Json;
|
|
7787
|
+
offerte_id: string;
|
|
7788
|
+
omschrijving?: string | null;
|
|
7789
|
+
user_id?: string | null;
|
|
7790
|
+
};
|
|
7791
|
+
Update: {
|
|
7792
|
+
created_at?: string;
|
|
7793
|
+
event_type?: string;
|
|
7794
|
+
id?: string;
|
|
7795
|
+
metadata?: import("./types").Json;
|
|
7796
|
+
offerte_id?: string;
|
|
7797
|
+
omschrijving?: string | null;
|
|
7798
|
+
user_id?: string | null;
|
|
7799
|
+
};
|
|
7800
|
+
Relationships: [{
|
|
7801
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
7802
|
+
columns: ["offerte_id"];
|
|
7803
|
+
isOneToOne: false;
|
|
7804
|
+
referencedRelation: "itk_offertes";
|
|
7805
|
+
referencedColumns: ["id"];
|
|
7806
|
+
}];
|
|
7807
|
+
};
|
|
7808
|
+
itk_offerte_regels: {
|
|
7809
|
+
Row: {
|
|
7810
|
+
created_at: string;
|
|
7811
|
+
id: string;
|
|
7812
|
+
line_total_cents: number;
|
|
7813
|
+
offerte_id: string;
|
|
7814
|
+
omschrijving: string;
|
|
7815
|
+
package_id: string | null;
|
|
7816
|
+
quantity: number;
|
|
7817
|
+
sort_order: number;
|
|
7818
|
+
source: string;
|
|
7819
|
+
unit_price_cents: number;
|
|
7820
|
+
updated_at: string;
|
|
7821
|
+
};
|
|
7822
|
+
Insert: {
|
|
7823
|
+
created_at?: string;
|
|
7824
|
+
id?: string;
|
|
7825
|
+
line_total_cents?: number;
|
|
7826
|
+
offerte_id: string;
|
|
7827
|
+
omschrijving?: string;
|
|
7828
|
+
package_id?: string | null;
|
|
7829
|
+
quantity?: number;
|
|
7830
|
+
sort_order?: number;
|
|
7831
|
+
source?: string;
|
|
7832
|
+
unit_price_cents?: number;
|
|
7833
|
+
updated_at?: string;
|
|
7834
|
+
};
|
|
7835
|
+
Update: {
|
|
7836
|
+
created_at?: string;
|
|
7837
|
+
id?: string;
|
|
7838
|
+
line_total_cents?: number;
|
|
7839
|
+
offerte_id?: string;
|
|
7840
|
+
omschrijving?: string;
|
|
7841
|
+
package_id?: string | null;
|
|
7842
|
+
quantity?: number;
|
|
7843
|
+
sort_order?: number;
|
|
7844
|
+
source?: string;
|
|
7845
|
+
unit_price_cents?: number;
|
|
7846
|
+
updated_at?: string;
|
|
7847
|
+
};
|
|
7848
|
+
Relationships: [{
|
|
7849
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
7850
|
+
columns: ["offerte_id"];
|
|
7851
|
+
isOneToOne: false;
|
|
7852
|
+
referencedRelation: "itk_offertes";
|
|
7853
|
+
referencedColumns: ["id"];
|
|
7854
|
+
}, {
|
|
7855
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
7856
|
+
columns: ["package_id"];
|
|
7857
|
+
isOneToOne: false;
|
|
7858
|
+
referencedRelation: "werkbon_packages";
|
|
7859
|
+
referencedColumns: ["id"];
|
|
7860
|
+
}];
|
|
7861
|
+
};
|
|
7862
|
+
itk_offerte_settings: {
|
|
7863
|
+
Row: {
|
|
7864
|
+
auto_convert_binnen_mandaat: boolean;
|
|
7865
|
+
created_at: string;
|
|
7866
|
+
default_geldigheid_dagen: number;
|
|
7867
|
+
default_vat_rate: number;
|
|
7868
|
+
id: string;
|
|
7869
|
+
singleton: boolean;
|
|
7870
|
+
updated_at: string;
|
|
7871
|
+
};
|
|
7872
|
+
Insert: {
|
|
7873
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
7874
|
+
created_at?: string;
|
|
7875
|
+
default_geldigheid_dagen?: number;
|
|
7876
|
+
default_vat_rate?: number;
|
|
7877
|
+
id?: string;
|
|
7878
|
+
singleton?: boolean;
|
|
7879
|
+
updated_at?: string;
|
|
7880
|
+
};
|
|
7881
|
+
Update: {
|
|
7882
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
7883
|
+
created_at?: string;
|
|
7884
|
+
default_geldigheid_dagen?: number;
|
|
7885
|
+
default_vat_rate?: number;
|
|
7886
|
+
id?: string;
|
|
7887
|
+
singleton?: boolean;
|
|
7888
|
+
updated_at?: string;
|
|
7889
|
+
};
|
|
7890
|
+
Relationships: [];
|
|
7891
|
+
};
|
|
7892
|
+
itk_offertes: {
|
|
7893
|
+
Row: {
|
|
7894
|
+
ai_generated: boolean;
|
|
7895
|
+
approved_at: string | null;
|
|
7896
|
+
binnen_mandaat: boolean;
|
|
7897
|
+
contact_id: string | null;
|
|
7898
|
+
converted_at: string | null;
|
|
7899
|
+
created_at: string;
|
|
7900
|
+
created_by: string | null;
|
|
7901
|
+
customer_id: string | null;
|
|
7902
|
+
follow_up_werkbon_id: string | null;
|
|
7903
|
+
id: string;
|
|
7904
|
+
jaar: number;
|
|
7905
|
+
mandaat_restant_cents: number;
|
|
7906
|
+
notities: string | null;
|
|
7907
|
+
offerte_number: string | null;
|
|
7908
|
+
omschrijving: string;
|
|
7909
|
+
rejected_at: string | null;
|
|
7910
|
+
sent_at: string | null;
|
|
7911
|
+
status: string;
|
|
7912
|
+
subtotal_cents: number;
|
|
7913
|
+
total_cents: number;
|
|
7914
|
+
updated_at: string;
|
|
7915
|
+
valid_until: string | null;
|
|
7916
|
+
vat_cents: number;
|
|
7917
|
+
vat_rate: number;
|
|
7918
|
+
viewed_at: string | null;
|
|
7919
|
+
volgnummer: number | null;
|
|
7920
|
+
werkbon_id: string | null;
|
|
7921
|
+
work_location_id: string | null;
|
|
7922
|
+
};
|
|
7923
|
+
Insert: {
|
|
7924
|
+
ai_generated?: boolean;
|
|
7925
|
+
approved_at?: string | null;
|
|
7926
|
+
binnen_mandaat?: boolean;
|
|
7927
|
+
contact_id?: string | null;
|
|
7928
|
+
converted_at?: string | null;
|
|
7929
|
+
created_at?: string;
|
|
7930
|
+
created_by?: string | null;
|
|
7931
|
+
customer_id?: string | null;
|
|
7932
|
+
follow_up_werkbon_id?: string | null;
|
|
7933
|
+
id?: string;
|
|
7934
|
+
jaar?: number;
|
|
7935
|
+
mandaat_restant_cents?: number;
|
|
7936
|
+
notities?: string | null;
|
|
7937
|
+
offerte_number?: string | null;
|
|
7938
|
+
omschrijving?: string;
|
|
7939
|
+
rejected_at?: string | null;
|
|
7940
|
+
sent_at?: string | null;
|
|
7941
|
+
status?: string;
|
|
7942
|
+
subtotal_cents?: number;
|
|
7943
|
+
total_cents?: number;
|
|
7944
|
+
updated_at?: string;
|
|
7945
|
+
valid_until?: string | null;
|
|
7946
|
+
vat_cents?: number;
|
|
7947
|
+
vat_rate?: number;
|
|
7948
|
+
viewed_at?: string | null;
|
|
7949
|
+
volgnummer?: number | null;
|
|
7950
|
+
werkbon_id?: string | null;
|
|
7951
|
+
work_location_id?: string | null;
|
|
7952
|
+
};
|
|
7953
|
+
Update: {
|
|
7954
|
+
ai_generated?: boolean;
|
|
7955
|
+
approved_at?: string | null;
|
|
7956
|
+
binnen_mandaat?: boolean;
|
|
7957
|
+
contact_id?: string | null;
|
|
7958
|
+
converted_at?: string | null;
|
|
7959
|
+
created_at?: string;
|
|
7960
|
+
created_by?: string | null;
|
|
7961
|
+
customer_id?: string | null;
|
|
7962
|
+
follow_up_werkbon_id?: string | null;
|
|
7963
|
+
id?: string;
|
|
7964
|
+
jaar?: number;
|
|
7965
|
+
mandaat_restant_cents?: number;
|
|
7966
|
+
notities?: string | null;
|
|
7967
|
+
offerte_number?: string | null;
|
|
7968
|
+
omschrijving?: string;
|
|
7969
|
+
rejected_at?: string | null;
|
|
7970
|
+
sent_at?: string | null;
|
|
7971
|
+
status?: string;
|
|
7972
|
+
subtotal_cents?: number;
|
|
7973
|
+
total_cents?: number;
|
|
7974
|
+
updated_at?: string;
|
|
7975
|
+
valid_until?: string | null;
|
|
7976
|
+
vat_cents?: number;
|
|
7977
|
+
vat_rate?: number;
|
|
7978
|
+
viewed_at?: string | null;
|
|
7979
|
+
volgnummer?: number | null;
|
|
7980
|
+
werkbon_id?: string | null;
|
|
7981
|
+
work_location_id?: string | null;
|
|
7982
|
+
};
|
|
7983
|
+
Relationships: [{
|
|
7984
|
+
foreignKeyName: "itk_offertes_contact_id_fkey";
|
|
7985
|
+
columns: ["contact_id"];
|
|
7986
|
+
isOneToOne: false;
|
|
7987
|
+
referencedRelation: "itk_contact_persons";
|
|
7988
|
+
referencedColumns: ["id"];
|
|
7989
|
+
}, {
|
|
7990
|
+
foreignKeyName: "itk_offertes_customer_id_fkey";
|
|
7991
|
+
columns: ["customer_id"];
|
|
7992
|
+
isOneToOne: false;
|
|
7993
|
+
referencedRelation: "itk_customers";
|
|
7994
|
+
referencedColumns: ["id"];
|
|
7995
|
+
}, {
|
|
7996
|
+
foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
|
|
7997
|
+
columns: ["follow_up_werkbon_id"];
|
|
7998
|
+
isOneToOne: false;
|
|
7999
|
+
referencedRelation: "werkbonnen";
|
|
8000
|
+
referencedColumns: ["id"];
|
|
8001
|
+
}, {
|
|
8002
|
+
foreignKeyName: "itk_offertes_werkbon_id_fkey";
|
|
8003
|
+
columns: ["werkbon_id"];
|
|
8004
|
+
isOneToOne: false;
|
|
8005
|
+
referencedRelation: "werkbonnen";
|
|
8006
|
+
referencedColumns: ["id"];
|
|
8007
|
+
}, {
|
|
8008
|
+
foreignKeyName: "itk_offertes_work_location_id_fkey";
|
|
8009
|
+
columns: ["work_location_id"];
|
|
8010
|
+
isOneToOne: false;
|
|
8011
|
+
referencedRelation: "itk_work_locations";
|
|
8012
|
+
referencedColumns: ["id"];
|
|
8013
|
+
}];
|
|
8014
|
+
};
|
|
7772
8015
|
itk_work_locations: {
|
|
7773
8016
|
Row: {
|
|
7774
8017
|
city: string | null;
|
|
@@ -10202,6 +10445,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10202
10445
|
module_registry: {
|
|
10203
10446
|
Row: {
|
|
10204
10447
|
created_at: string;
|
|
10448
|
+
enforce: boolean;
|
|
10205
10449
|
is_active: boolean;
|
|
10206
10450
|
last_seen_at: string;
|
|
10207
10451
|
module_id: string;
|
|
@@ -10211,6 +10455,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10211
10455
|
};
|
|
10212
10456
|
Insert: {
|
|
10213
10457
|
created_at?: string;
|
|
10458
|
+
enforce?: boolean;
|
|
10214
10459
|
is_active?: boolean;
|
|
10215
10460
|
last_seen_at?: string;
|
|
10216
10461
|
module_id: string;
|
|
@@ -10220,6 +10465,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10220
10465
|
};
|
|
10221
10466
|
Update: {
|
|
10222
10467
|
created_at?: string;
|
|
10468
|
+
enforce?: boolean;
|
|
10223
10469
|
is_active?: boolean;
|
|
10224
10470
|
last_seen_at?: string;
|
|
10225
10471
|
module_id?: string;
|
|
@@ -14757,6 +15003,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14757
15003
|
type: string;
|
|
14758
15004
|
updated_at: string;
|
|
14759
15005
|
vereist_medewerker: boolean;
|
|
15006
|
+
werkplek: string | null;
|
|
14760
15007
|
};
|
|
14761
15008
|
Insert: {
|
|
14762
15009
|
actief?: boolean;
|
|
@@ -14770,6 +15017,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14770
15017
|
type?: string;
|
|
14771
15018
|
updated_at?: string;
|
|
14772
15019
|
vereist_medewerker?: boolean;
|
|
15020
|
+
werkplek?: string | null;
|
|
14773
15021
|
};
|
|
14774
15022
|
Update: {
|
|
14775
15023
|
actief?: boolean;
|
|
@@ -14783,6 +15031,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14783
15031
|
type?: string;
|
|
14784
15032
|
updated_at?: string;
|
|
14785
15033
|
vereist_medewerker?: boolean;
|
|
15034
|
+
werkplek?: string | null;
|
|
14786
15035
|
};
|
|
14787
15036
|
Relationships: [];
|
|
14788
15037
|
};
|
|
@@ -18975,6 +19224,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18975
19224
|
};
|
|
18976
19225
|
Returns: undefined;
|
|
18977
19226
|
};
|
|
19227
|
+
approve_mailbox_order_proposal: {
|
|
19228
|
+
Args: {
|
|
19229
|
+
p_custom_fields: import("./types").Json;
|
|
19230
|
+
p_customer_id: string;
|
|
19231
|
+
p_delivery_date: string;
|
|
19232
|
+
p_field_values?: import("./types").Json;
|
|
19233
|
+
p_lines: import("./types").Json;
|
|
19234
|
+
p_notes: string;
|
|
19235
|
+
p_proposal_id: string;
|
|
19236
|
+
p_reviewed_by: string;
|
|
19237
|
+
};
|
|
19238
|
+
Returns: import("./types").Json;
|
|
19239
|
+
};
|
|
18978
19240
|
assign_cart_numbers: {
|
|
18979
19241
|
Args: {
|
|
18980
19242
|
p_carts: import("./types").Json;
|
|
@@ -19406,7 +19668,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19406
19668
|
Returns: string;
|
|
19407
19669
|
} | {
|
|
19408
19670
|
Args: {
|
|
19409
|
-
_feature_id
|
|
19671
|
+
_feature_id: string;
|
|
19410
19672
|
_module_id: string;
|
|
19411
19673
|
_user_id: string;
|
|
19412
19674
|
};
|
|
@@ -19810,6 +20072,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19810
20072
|
Args: never;
|
|
19811
20073
|
Returns: boolean;
|
|
19812
20074
|
};
|
|
20075
|
+
itk_offerte_naar_werkbon: {
|
|
20076
|
+
Args: {
|
|
20077
|
+
_offerte_id: string;
|
|
20078
|
+
};
|
|
20079
|
+
Returns: string;
|
|
20080
|
+
};
|
|
20081
|
+
itk_offerte_restant_mandaat: {
|
|
20082
|
+
Args: {
|
|
20083
|
+
_exclude_offerte_id?: string;
|
|
20084
|
+
_werkbon_id: string;
|
|
20085
|
+
};
|
|
20086
|
+
Returns: number;
|
|
20087
|
+
};
|
|
19813
20088
|
jwt_has_role: {
|
|
19814
20089
|
Args: {
|
|
19815
20090
|
_role: Database["public"]["Enums"]["app_role"];
|
|
@@ -20149,17 +20424,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20149
20424
|
Returns: string;
|
|
20150
20425
|
};
|
|
20151
20426
|
logistics_emit_event: {
|
|
20152
|
-
Args: {
|
|
20153
|
-
p_event_type: string;
|
|
20154
|
-
p_idempotency_key?: string;
|
|
20155
|
-
p_order_ref: string;
|
|
20156
|
-
p_payload?: import("./types").Json;
|
|
20157
|
-
p_shadow?: boolean;
|
|
20158
|
-
p_source_module: string;
|
|
20159
|
-
p_strategy_id?: string;
|
|
20160
|
-
};
|
|
20161
|
-
Returns: import("./types").Json;
|
|
20162
|
-
} | {
|
|
20163
20427
|
Args: {
|
|
20164
20428
|
p_event_type: string;
|
|
20165
20429
|
p_idempotency_key?: string;
|
|
@@ -21616,7 +21880,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21616
21880
|
Enums: {
|
|
21617
21881
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
21618
21882
|
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
21619
|
-
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
21883
|
+
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
|
|
21620
21884
|
doc_orientation: "portrait" | "landscape";
|
|
21621
21885
|
exact_env: "staging" | "live";
|
|
21622
21886
|
exact_push_status: "pending" | "sent" | "error";
|