@flowselections/actie-mail-kwekers-erp-mathot 1.0.21 → 1.0.22
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 +116 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +116 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +116 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +120 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/branding.functions.d.ts +348 -0
- package/dist-lib/lib/branding.functions.d.ts.map +1 -1
- package/dist-lib/lib/campaigns.functions.d.ts +580 -0
- package/dist-lib/lib/campaigns.functions.d.ts.map +1 -1
- package/dist-lib/lib/campaigns.functions.js +10 -4
- package/dist-lib/lib/stats.functions.d.ts +116 -0
- package/dist-lib/lib/stats.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -10385,6 +10385,63 @@ export declare const ensureBrandingBucket: import("@tanstack/start-client-core")
|
|
|
10385
10385
|
referencedColumns: ["id"];
|
|
10386
10386
|
}];
|
|
10387
10387
|
};
|
|
10388
|
+
medewerker_details: {
|
|
10389
|
+
Row: {
|
|
10390
|
+
color: string | null;
|
|
10391
|
+
created_at: string;
|
|
10392
|
+
hours_fri: number | null;
|
|
10393
|
+
hours_mon: number | null;
|
|
10394
|
+
hours_thu: number | null;
|
|
10395
|
+
hours_tue: number | null;
|
|
10396
|
+
hours_wed: number | null;
|
|
10397
|
+
id: string;
|
|
10398
|
+
is_active: boolean;
|
|
10399
|
+
leave_balance_hours: number;
|
|
10400
|
+
persnr: string | null;
|
|
10401
|
+
phone: string | null;
|
|
10402
|
+
profile_id: string;
|
|
10403
|
+
updated_at: string;
|
|
10404
|
+
};
|
|
10405
|
+
Insert: {
|
|
10406
|
+
color?: string | null;
|
|
10407
|
+
created_at?: string;
|
|
10408
|
+
hours_fri?: number | null;
|
|
10409
|
+
hours_mon?: number | null;
|
|
10410
|
+
hours_thu?: number | null;
|
|
10411
|
+
hours_tue?: number | null;
|
|
10412
|
+
hours_wed?: number | null;
|
|
10413
|
+
id?: string;
|
|
10414
|
+
is_active?: boolean;
|
|
10415
|
+
leave_balance_hours?: number;
|
|
10416
|
+
persnr?: string | null;
|
|
10417
|
+
phone?: string | null;
|
|
10418
|
+
profile_id: string;
|
|
10419
|
+
updated_at?: string;
|
|
10420
|
+
};
|
|
10421
|
+
Update: {
|
|
10422
|
+
color?: string | null;
|
|
10423
|
+
created_at?: string;
|
|
10424
|
+
hours_fri?: number | null;
|
|
10425
|
+
hours_mon?: number | null;
|
|
10426
|
+
hours_thu?: number | null;
|
|
10427
|
+
hours_tue?: number | null;
|
|
10428
|
+
hours_wed?: number | null;
|
|
10429
|
+
id?: string;
|
|
10430
|
+
is_active?: boolean;
|
|
10431
|
+
leave_balance_hours?: number;
|
|
10432
|
+
persnr?: string | null;
|
|
10433
|
+
phone?: string | null;
|
|
10434
|
+
profile_id?: string;
|
|
10435
|
+
updated_at?: string;
|
|
10436
|
+
};
|
|
10437
|
+
Relationships: [{
|
|
10438
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
10439
|
+
columns: ["profile_id"];
|
|
10440
|
+
isOneToOne: true;
|
|
10441
|
+
referencedRelation: "profiles";
|
|
10442
|
+
referencedColumns: ["id"];
|
|
10443
|
+
}];
|
|
10444
|
+
};
|
|
10388
10445
|
module_features: {
|
|
10389
10446
|
Row: {
|
|
10390
10447
|
created_at: string;
|
|
@@ -15035,6 +15092,42 @@ export declare const ensureBrandingBucket: import("@tanstack/start-client-core")
|
|
|
15035
15092
|
};
|
|
15036
15093
|
Relationships: [];
|
|
15037
15094
|
};
|
|
15095
|
+
sick_periods: {
|
|
15096
|
+
Row: {
|
|
15097
|
+
created_at: string;
|
|
15098
|
+
employee_id: string;
|
|
15099
|
+
end_date: string | null;
|
|
15100
|
+
id: string;
|
|
15101
|
+
notes: string | null;
|
|
15102
|
+
start_date: string;
|
|
15103
|
+
updated_at: string;
|
|
15104
|
+
};
|
|
15105
|
+
Insert: {
|
|
15106
|
+
created_at?: string;
|
|
15107
|
+
employee_id: string;
|
|
15108
|
+
end_date?: string | null;
|
|
15109
|
+
id?: string;
|
|
15110
|
+
notes?: string | null;
|
|
15111
|
+
start_date: string;
|
|
15112
|
+
updated_at?: string;
|
|
15113
|
+
};
|
|
15114
|
+
Update: {
|
|
15115
|
+
created_at?: string;
|
|
15116
|
+
employee_id?: string;
|
|
15117
|
+
end_date?: string | null;
|
|
15118
|
+
id?: string;
|
|
15119
|
+
notes?: string | null;
|
|
15120
|
+
start_date?: string;
|
|
15121
|
+
updated_at?: string;
|
|
15122
|
+
};
|
|
15123
|
+
Relationships: [{
|
|
15124
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
15125
|
+
columns: ["employee_id"];
|
|
15126
|
+
isOneToOne: false;
|
|
15127
|
+
referencedRelation: "profiles";
|
|
15128
|
+
referencedColumns: ["id"];
|
|
15129
|
+
}];
|
|
15130
|
+
};
|
|
15038
15131
|
sidebar_config: {
|
|
15039
15132
|
Row: {
|
|
15040
15133
|
id: string;
|
|
@@ -19719,6 +19812,13 @@ export declare const ensureBrandingBucket: import("@tanstack/start-client-core")
|
|
|
19719
19812
|
};
|
|
19720
19813
|
Returns: string;
|
|
19721
19814
|
};
|
|
19815
|
+
employee_day_hours: {
|
|
19816
|
+
Args: {
|
|
19817
|
+
_day: string;
|
|
19818
|
+
_employee_id: string;
|
|
19819
|
+
};
|
|
19820
|
+
Returns: number;
|
|
19821
|
+
};
|
|
19722
19822
|
enqueue_cart_replan_if_unlocked: {
|
|
19723
19823
|
Args: {
|
|
19724
19824
|
p_order_id: string;
|
|
@@ -20095,9 +20195,19 @@ export declare const ensureBrandingBucket: import("@tanstack/start-client-core")
|
|
|
20095
20195
|
Args: never;
|
|
20096
20196
|
Returns: {
|
|
20097
20197
|
avatar_url: string;
|
|
20198
|
+
color: string;
|
|
20098
20199
|
display_name: string;
|
|
20099
20200
|
email: string;
|
|
20201
|
+
hours_fri: number;
|
|
20202
|
+
hours_mon: number;
|
|
20203
|
+
hours_thu: number;
|
|
20204
|
+
hours_tue: number;
|
|
20205
|
+
hours_wed: number;
|
|
20100
20206
|
id: string;
|
|
20207
|
+
is_active: boolean;
|
|
20208
|
+
leave_balance_hours: number;
|
|
20209
|
+
persnr: string;
|
|
20210
|
+
phone: string;
|
|
20101
20211
|
roles: string[];
|
|
20102
20212
|
}[];
|
|
20103
20213
|
};
|
|
@@ -21803,6 +21913,12 @@ export declare const ensureBrandingBucket: import("@tanstack/start-client-core")
|
|
|
21803
21913
|
};
|
|
21804
21914
|
Returns: undefined;
|
|
21805
21915
|
};
|
|
21916
|
+
sync_sick_time_off: {
|
|
21917
|
+
Args: {
|
|
21918
|
+
_period_id: string;
|
|
21919
|
+
};
|
|
21920
|
+
Returns: number;
|
|
21921
|
+
};
|
|
21806
21922
|
trade_item_stock_duplicates: {
|
|
21807
21923
|
Args: never;
|
|
21808
21924
|
Returns: {
|
|
@@ -32288,6 +32404,63 @@ export declare const uploadBrandingLogo: import("@tanstack/start-client-core").R
|
|
|
32288
32404
|
referencedColumns: ["id"];
|
|
32289
32405
|
}];
|
|
32290
32406
|
};
|
|
32407
|
+
medewerker_details: {
|
|
32408
|
+
Row: {
|
|
32409
|
+
color: string | null;
|
|
32410
|
+
created_at: string;
|
|
32411
|
+
hours_fri: number | null;
|
|
32412
|
+
hours_mon: number | null;
|
|
32413
|
+
hours_thu: number | null;
|
|
32414
|
+
hours_tue: number | null;
|
|
32415
|
+
hours_wed: number | null;
|
|
32416
|
+
id: string;
|
|
32417
|
+
is_active: boolean;
|
|
32418
|
+
leave_balance_hours: number;
|
|
32419
|
+
persnr: string | null;
|
|
32420
|
+
phone: string | null;
|
|
32421
|
+
profile_id: string;
|
|
32422
|
+
updated_at: string;
|
|
32423
|
+
};
|
|
32424
|
+
Insert: {
|
|
32425
|
+
color?: string | null;
|
|
32426
|
+
created_at?: string;
|
|
32427
|
+
hours_fri?: number | null;
|
|
32428
|
+
hours_mon?: number | null;
|
|
32429
|
+
hours_thu?: number | null;
|
|
32430
|
+
hours_tue?: number | null;
|
|
32431
|
+
hours_wed?: number | null;
|
|
32432
|
+
id?: string;
|
|
32433
|
+
is_active?: boolean;
|
|
32434
|
+
leave_balance_hours?: number;
|
|
32435
|
+
persnr?: string | null;
|
|
32436
|
+
phone?: string | null;
|
|
32437
|
+
profile_id: string;
|
|
32438
|
+
updated_at?: string;
|
|
32439
|
+
};
|
|
32440
|
+
Update: {
|
|
32441
|
+
color?: string | null;
|
|
32442
|
+
created_at?: string;
|
|
32443
|
+
hours_fri?: number | null;
|
|
32444
|
+
hours_mon?: number | null;
|
|
32445
|
+
hours_thu?: number | null;
|
|
32446
|
+
hours_tue?: number | null;
|
|
32447
|
+
hours_wed?: number | null;
|
|
32448
|
+
id?: string;
|
|
32449
|
+
is_active?: boolean;
|
|
32450
|
+
leave_balance_hours?: number;
|
|
32451
|
+
persnr?: string | null;
|
|
32452
|
+
phone?: string | null;
|
|
32453
|
+
profile_id?: string;
|
|
32454
|
+
updated_at?: string;
|
|
32455
|
+
};
|
|
32456
|
+
Relationships: [{
|
|
32457
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
32458
|
+
columns: ["profile_id"];
|
|
32459
|
+
isOneToOne: true;
|
|
32460
|
+
referencedRelation: "profiles";
|
|
32461
|
+
referencedColumns: ["id"];
|
|
32462
|
+
}];
|
|
32463
|
+
};
|
|
32291
32464
|
module_features: {
|
|
32292
32465
|
Row: {
|
|
32293
32466
|
created_at: string;
|
|
@@ -36938,6 +37111,42 @@ export declare const uploadBrandingLogo: import("@tanstack/start-client-core").R
|
|
|
36938
37111
|
};
|
|
36939
37112
|
Relationships: [];
|
|
36940
37113
|
};
|
|
37114
|
+
sick_periods: {
|
|
37115
|
+
Row: {
|
|
37116
|
+
created_at: string;
|
|
37117
|
+
employee_id: string;
|
|
37118
|
+
end_date: string | null;
|
|
37119
|
+
id: string;
|
|
37120
|
+
notes: string | null;
|
|
37121
|
+
start_date: string;
|
|
37122
|
+
updated_at: string;
|
|
37123
|
+
};
|
|
37124
|
+
Insert: {
|
|
37125
|
+
created_at?: string;
|
|
37126
|
+
employee_id: string;
|
|
37127
|
+
end_date?: string | null;
|
|
37128
|
+
id?: string;
|
|
37129
|
+
notes?: string | null;
|
|
37130
|
+
start_date: string;
|
|
37131
|
+
updated_at?: string;
|
|
37132
|
+
};
|
|
37133
|
+
Update: {
|
|
37134
|
+
created_at?: string;
|
|
37135
|
+
employee_id?: string;
|
|
37136
|
+
end_date?: string | null;
|
|
37137
|
+
id?: string;
|
|
37138
|
+
notes?: string | null;
|
|
37139
|
+
start_date?: string;
|
|
37140
|
+
updated_at?: string;
|
|
37141
|
+
};
|
|
37142
|
+
Relationships: [{
|
|
37143
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
37144
|
+
columns: ["employee_id"];
|
|
37145
|
+
isOneToOne: false;
|
|
37146
|
+
referencedRelation: "profiles";
|
|
37147
|
+
referencedColumns: ["id"];
|
|
37148
|
+
}];
|
|
37149
|
+
};
|
|
36941
37150
|
sidebar_config: {
|
|
36942
37151
|
Row: {
|
|
36943
37152
|
id: string;
|
|
@@ -41622,6 +41831,13 @@ export declare const uploadBrandingLogo: import("@tanstack/start-client-core").R
|
|
|
41622
41831
|
};
|
|
41623
41832
|
Returns: string;
|
|
41624
41833
|
};
|
|
41834
|
+
employee_day_hours: {
|
|
41835
|
+
Args: {
|
|
41836
|
+
_day: string;
|
|
41837
|
+
_employee_id: string;
|
|
41838
|
+
};
|
|
41839
|
+
Returns: number;
|
|
41840
|
+
};
|
|
41625
41841
|
enqueue_cart_replan_if_unlocked: {
|
|
41626
41842
|
Args: {
|
|
41627
41843
|
p_order_id: string;
|
|
@@ -41998,9 +42214,19 @@ export declare const uploadBrandingLogo: import("@tanstack/start-client-core").R
|
|
|
41998
42214
|
Args: never;
|
|
41999
42215
|
Returns: {
|
|
42000
42216
|
avatar_url: string;
|
|
42217
|
+
color: string;
|
|
42001
42218
|
display_name: string;
|
|
42002
42219
|
email: string;
|
|
42220
|
+
hours_fri: number;
|
|
42221
|
+
hours_mon: number;
|
|
42222
|
+
hours_thu: number;
|
|
42223
|
+
hours_tue: number;
|
|
42224
|
+
hours_wed: number;
|
|
42003
42225
|
id: string;
|
|
42226
|
+
is_active: boolean;
|
|
42227
|
+
leave_balance_hours: number;
|
|
42228
|
+
persnr: string;
|
|
42229
|
+
phone: string;
|
|
42004
42230
|
roles: string[];
|
|
42005
42231
|
}[];
|
|
42006
42232
|
};
|
|
@@ -43706,6 +43932,12 @@ export declare const uploadBrandingLogo: import("@tanstack/start-client-core").R
|
|
|
43706
43932
|
};
|
|
43707
43933
|
Returns: undefined;
|
|
43708
43934
|
};
|
|
43935
|
+
sync_sick_time_off: {
|
|
43936
|
+
Args: {
|
|
43937
|
+
_period_id: string;
|
|
43938
|
+
};
|
|
43939
|
+
Returns: number;
|
|
43940
|
+
};
|
|
43709
43941
|
trade_item_stock_duplicates: {
|
|
43710
43942
|
Args: never;
|
|
43711
43943
|
Returns: {
|
|
@@ -54192,6 +54424,63 @@ export declare const deleteBrandingLogo: import("@tanstack/start-client-core").R
|
|
|
54192
54424
|
referencedColumns: ["id"];
|
|
54193
54425
|
}];
|
|
54194
54426
|
};
|
|
54427
|
+
medewerker_details: {
|
|
54428
|
+
Row: {
|
|
54429
|
+
color: string | null;
|
|
54430
|
+
created_at: string;
|
|
54431
|
+
hours_fri: number | null;
|
|
54432
|
+
hours_mon: number | null;
|
|
54433
|
+
hours_thu: number | null;
|
|
54434
|
+
hours_tue: number | null;
|
|
54435
|
+
hours_wed: number | null;
|
|
54436
|
+
id: string;
|
|
54437
|
+
is_active: boolean;
|
|
54438
|
+
leave_balance_hours: number;
|
|
54439
|
+
persnr: string | null;
|
|
54440
|
+
phone: string | null;
|
|
54441
|
+
profile_id: string;
|
|
54442
|
+
updated_at: string;
|
|
54443
|
+
};
|
|
54444
|
+
Insert: {
|
|
54445
|
+
color?: string | null;
|
|
54446
|
+
created_at?: string;
|
|
54447
|
+
hours_fri?: number | null;
|
|
54448
|
+
hours_mon?: number | null;
|
|
54449
|
+
hours_thu?: number | null;
|
|
54450
|
+
hours_tue?: number | null;
|
|
54451
|
+
hours_wed?: number | null;
|
|
54452
|
+
id?: string;
|
|
54453
|
+
is_active?: boolean;
|
|
54454
|
+
leave_balance_hours?: number;
|
|
54455
|
+
persnr?: string | null;
|
|
54456
|
+
phone?: string | null;
|
|
54457
|
+
profile_id: string;
|
|
54458
|
+
updated_at?: string;
|
|
54459
|
+
};
|
|
54460
|
+
Update: {
|
|
54461
|
+
color?: string | null;
|
|
54462
|
+
created_at?: string;
|
|
54463
|
+
hours_fri?: number | null;
|
|
54464
|
+
hours_mon?: number | null;
|
|
54465
|
+
hours_thu?: number | null;
|
|
54466
|
+
hours_tue?: number | null;
|
|
54467
|
+
hours_wed?: number | null;
|
|
54468
|
+
id?: string;
|
|
54469
|
+
is_active?: boolean;
|
|
54470
|
+
leave_balance_hours?: number;
|
|
54471
|
+
persnr?: string | null;
|
|
54472
|
+
phone?: string | null;
|
|
54473
|
+
profile_id?: string;
|
|
54474
|
+
updated_at?: string;
|
|
54475
|
+
};
|
|
54476
|
+
Relationships: [{
|
|
54477
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
54478
|
+
columns: ["profile_id"];
|
|
54479
|
+
isOneToOne: true;
|
|
54480
|
+
referencedRelation: "profiles";
|
|
54481
|
+
referencedColumns: ["id"];
|
|
54482
|
+
}];
|
|
54483
|
+
};
|
|
54195
54484
|
module_features: {
|
|
54196
54485
|
Row: {
|
|
54197
54486
|
created_at: string;
|
|
@@ -58842,6 +59131,42 @@ export declare const deleteBrandingLogo: import("@tanstack/start-client-core").R
|
|
|
58842
59131
|
};
|
|
58843
59132
|
Relationships: [];
|
|
58844
59133
|
};
|
|
59134
|
+
sick_periods: {
|
|
59135
|
+
Row: {
|
|
59136
|
+
created_at: string;
|
|
59137
|
+
employee_id: string;
|
|
59138
|
+
end_date: string | null;
|
|
59139
|
+
id: string;
|
|
59140
|
+
notes: string | null;
|
|
59141
|
+
start_date: string;
|
|
59142
|
+
updated_at: string;
|
|
59143
|
+
};
|
|
59144
|
+
Insert: {
|
|
59145
|
+
created_at?: string;
|
|
59146
|
+
employee_id: string;
|
|
59147
|
+
end_date?: string | null;
|
|
59148
|
+
id?: string;
|
|
59149
|
+
notes?: string | null;
|
|
59150
|
+
start_date: string;
|
|
59151
|
+
updated_at?: string;
|
|
59152
|
+
};
|
|
59153
|
+
Update: {
|
|
59154
|
+
created_at?: string;
|
|
59155
|
+
employee_id?: string;
|
|
59156
|
+
end_date?: string | null;
|
|
59157
|
+
id?: string;
|
|
59158
|
+
notes?: string | null;
|
|
59159
|
+
start_date?: string;
|
|
59160
|
+
updated_at?: string;
|
|
59161
|
+
};
|
|
59162
|
+
Relationships: [{
|
|
59163
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
59164
|
+
columns: ["employee_id"];
|
|
59165
|
+
isOneToOne: false;
|
|
59166
|
+
referencedRelation: "profiles";
|
|
59167
|
+
referencedColumns: ["id"];
|
|
59168
|
+
}];
|
|
59169
|
+
};
|
|
58845
59170
|
sidebar_config: {
|
|
58846
59171
|
Row: {
|
|
58847
59172
|
id: string;
|
|
@@ -63526,6 +63851,13 @@ export declare const deleteBrandingLogo: import("@tanstack/start-client-core").R
|
|
|
63526
63851
|
};
|
|
63527
63852
|
Returns: string;
|
|
63528
63853
|
};
|
|
63854
|
+
employee_day_hours: {
|
|
63855
|
+
Args: {
|
|
63856
|
+
_day: string;
|
|
63857
|
+
_employee_id: string;
|
|
63858
|
+
};
|
|
63859
|
+
Returns: number;
|
|
63860
|
+
};
|
|
63529
63861
|
enqueue_cart_replan_if_unlocked: {
|
|
63530
63862
|
Args: {
|
|
63531
63863
|
p_order_id: string;
|
|
@@ -63902,9 +64234,19 @@ export declare const deleteBrandingLogo: import("@tanstack/start-client-core").R
|
|
|
63902
64234
|
Args: never;
|
|
63903
64235
|
Returns: {
|
|
63904
64236
|
avatar_url: string;
|
|
64237
|
+
color: string;
|
|
63905
64238
|
display_name: string;
|
|
63906
64239
|
email: string;
|
|
64240
|
+
hours_fri: number;
|
|
64241
|
+
hours_mon: number;
|
|
64242
|
+
hours_thu: number;
|
|
64243
|
+
hours_tue: number;
|
|
64244
|
+
hours_wed: number;
|
|
63907
64245
|
id: string;
|
|
64246
|
+
is_active: boolean;
|
|
64247
|
+
leave_balance_hours: number;
|
|
64248
|
+
persnr: string;
|
|
64249
|
+
phone: string;
|
|
63908
64250
|
roles: string[];
|
|
63909
64251
|
}[];
|
|
63910
64252
|
};
|
|
@@ -65610,6 +65952,12 @@ export declare const deleteBrandingLogo: import("@tanstack/start-client-core").R
|
|
|
65610
65952
|
};
|
|
65611
65953
|
Returns: undefined;
|
|
65612
65954
|
};
|
|
65955
|
+
sync_sick_time_off: {
|
|
65956
|
+
Args: {
|
|
65957
|
+
_period_id: string;
|
|
65958
|
+
};
|
|
65959
|
+
Returns: number;
|
|
65960
|
+
};
|
|
65613
65961
|
trade_item_stock_duplicates: {
|
|
65614
65962
|
Args: never;
|
|
65615
65963
|
Returns: {
|