@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
|
@@ -10384,6 +10384,63 @@ export declare const createCampaign: import("@tanstack/start-client-core").Optio
|
|
|
10384
10384
|
referencedColumns: ["id"];
|
|
10385
10385
|
}];
|
|
10386
10386
|
};
|
|
10387
|
+
medewerker_details: {
|
|
10388
|
+
Row: {
|
|
10389
|
+
color: string | null;
|
|
10390
|
+
created_at: string;
|
|
10391
|
+
hours_fri: number | null;
|
|
10392
|
+
hours_mon: number | null;
|
|
10393
|
+
hours_thu: number | null;
|
|
10394
|
+
hours_tue: number | null;
|
|
10395
|
+
hours_wed: number | null;
|
|
10396
|
+
id: string;
|
|
10397
|
+
is_active: boolean;
|
|
10398
|
+
leave_balance_hours: number;
|
|
10399
|
+
persnr: string | null;
|
|
10400
|
+
phone: string | null;
|
|
10401
|
+
profile_id: string;
|
|
10402
|
+
updated_at: string;
|
|
10403
|
+
};
|
|
10404
|
+
Insert: {
|
|
10405
|
+
color?: string | null;
|
|
10406
|
+
created_at?: string;
|
|
10407
|
+
hours_fri?: number | null;
|
|
10408
|
+
hours_mon?: number | null;
|
|
10409
|
+
hours_thu?: number | null;
|
|
10410
|
+
hours_tue?: number | null;
|
|
10411
|
+
hours_wed?: number | null;
|
|
10412
|
+
id?: string;
|
|
10413
|
+
is_active?: boolean;
|
|
10414
|
+
leave_balance_hours?: number;
|
|
10415
|
+
persnr?: string | null;
|
|
10416
|
+
phone?: string | null;
|
|
10417
|
+
profile_id: string;
|
|
10418
|
+
updated_at?: string;
|
|
10419
|
+
};
|
|
10420
|
+
Update: {
|
|
10421
|
+
color?: string | null;
|
|
10422
|
+
created_at?: string;
|
|
10423
|
+
hours_fri?: number | null;
|
|
10424
|
+
hours_mon?: number | null;
|
|
10425
|
+
hours_thu?: number | null;
|
|
10426
|
+
hours_tue?: number | null;
|
|
10427
|
+
hours_wed?: number | null;
|
|
10428
|
+
id?: string;
|
|
10429
|
+
is_active?: boolean;
|
|
10430
|
+
leave_balance_hours?: number;
|
|
10431
|
+
persnr?: string | null;
|
|
10432
|
+
phone?: string | null;
|
|
10433
|
+
profile_id?: string;
|
|
10434
|
+
updated_at?: string;
|
|
10435
|
+
};
|
|
10436
|
+
Relationships: [{
|
|
10437
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
10438
|
+
columns: ["profile_id"];
|
|
10439
|
+
isOneToOne: true;
|
|
10440
|
+
referencedRelation: "profiles";
|
|
10441
|
+
referencedColumns: ["id"];
|
|
10442
|
+
}];
|
|
10443
|
+
};
|
|
10387
10444
|
module_features: {
|
|
10388
10445
|
Row: {
|
|
10389
10446
|
created_at: string;
|
|
@@ -15034,6 +15091,42 @@ export declare const createCampaign: import("@tanstack/start-client-core").Optio
|
|
|
15034
15091
|
};
|
|
15035
15092
|
Relationships: [];
|
|
15036
15093
|
};
|
|
15094
|
+
sick_periods: {
|
|
15095
|
+
Row: {
|
|
15096
|
+
created_at: string;
|
|
15097
|
+
employee_id: string;
|
|
15098
|
+
end_date: string | null;
|
|
15099
|
+
id: string;
|
|
15100
|
+
notes: string | null;
|
|
15101
|
+
start_date: string;
|
|
15102
|
+
updated_at: string;
|
|
15103
|
+
};
|
|
15104
|
+
Insert: {
|
|
15105
|
+
created_at?: string;
|
|
15106
|
+
employee_id: string;
|
|
15107
|
+
end_date?: string | null;
|
|
15108
|
+
id?: string;
|
|
15109
|
+
notes?: string | null;
|
|
15110
|
+
start_date: string;
|
|
15111
|
+
updated_at?: string;
|
|
15112
|
+
};
|
|
15113
|
+
Update: {
|
|
15114
|
+
created_at?: string;
|
|
15115
|
+
employee_id?: string;
|
|
15116
|
+
end_date?: string | null;
|
|
15117
|
+
id?: string;
|
|
15118
|
+
notes?: string | null;
|
|
15119
|
+
start_date?: string;
|
|
15120
|
+
updated_at?: string;
|
|
15121
|
+
};
|
|
15122
|
+
Relationships: [{
|
|
15123
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
15124
|
+
columns: ["employee_id"];
|
|
15125
|
+
isOneToOne: false;
|
|
15126
|
+
referencedRelation: "profiles";
|
|
15127
|
+
referencedColumns: ["id"];
|
|
15128
|
+
}];
|
|
15129
|
+
};
|
|
15037
15130
|
sidebar_config: {
|
|
15038
15131
|
Row: {
|
|
15039
15132
|
id: string;
|
|
@@ -19718,6 +19811,13 @@ export declare const createCampaign: import("@tanstack/start-client-core").Optio
|
|
|
19718
19811
|
};
|
|
19719
19812
|
Returns: string;
|
|
19720
19813
|
};
|
|
19814
|
+
employee_day_hours: {
|
|
19815
|
+
Args: {
|
|
19816
|
+
_day: string;
|
|
19817
|
+
_employee_id: string;
|
|
19818
|
+
};
|
|
19819
|
+
Returns: number;
|
|
19820
|
+
};
|
|
19721
19821
|
enqueue_cart_replan_if_unlocked: {
|
|
19722
19822
|
Args: {
|
|
19723
19823
|
p_order_id: string;
|
|
@@ -20094,9 +20194,19 @@ export declare const createCampaign: import("@tanstack/start-client-core").Optio
|
|
|
20094
20194
|
Args: never;
|
|
20095
20195
|
Returns: {
|
|
20096
20196
|
avatar_url: string;
|
|
20197
|
+
color: string;
|
|
20097
20198
|
display_name: string;
|
|
20098
20199
|
email: string;
|
|
20200
|
+
hours_fri: number;
|
|
20201
|
+
hours_mon: number;
|
|
20202
|
+
hours_thu: number;
|
|
20203
|
+
hours_tue: number;
|
|
20204
|
+
hours_wed: number;
|
|
20099
20205
|
id: string;
|
|
20206
|
+
is_active: boolean;
|
|
20207
|
+
leave_balance_hours: number;
|
|
20208
|
+
persnr: string;
|
|
20209
|
+
phone: string;
|
|
20100
20210
|
roles: string[];
|
|
20101
20211
|
}[];
|
|
20102
20212
|
};
|
|
@@ -21802,6 +21912,12 @@ export declare const createCampaign: import("@tanstack/start-client-core").Optio
|
|
|
21802
21912
|
};
|
|
21803
21913
|
Returns: undefined;
|
|
21804
21914
|
};
|
|
21915
|
+
sync_sick_time_off: {
|
|
21916
|
+
Args: {
|
|
21917
|
+
_period_id: string;
|
|
21918
|
+
};
|
|
21919
|
+
Returns: number;
|
|
21920
|
+
};
|
|
21805
21921
|
trade_item_stock_duplicates: {
|
|
21806
21922
|
Args: never;
|
|
21807
21923
|
Returns: {
|
|
@@ -32319,6 +32435,63 @@ export declare const sendCampaign: import("@tanstack/start-client-core").Require
|
|
|
32319
32435
|
referencedColumns: ["id"];
|
|
32320
32436
|
}];
|
|
32321
32437
|
};
|
|
32438
|
+
medewerker_details: {
|
|
32439
|
+
Row: {
|
|
32440
|
+
color: string | null;
|
|
32441
|
+
created_at: string;
|
|
32442
|
+
hours_fri: number | null;
|
|
32443
|
+
hours_mon: number | null;
|
|
32444
|
+
hours_thu: number | null;
|
|
32445
|
+
hours_tue: number | null;
|
|
32446
|
+
hours_wed: number | null;
|
|
32447
|
+
id: string;
|
|
32448
|
+
is_active: boolean;
|
|
32449
|
+
leave_balance_hours: number;
|
|
32450
|
+
persnr: string | null;
|
|
32451
|
+
phone: string | null;
|
|
32452
|
+
profile_id: string;
|
|
32453
|
+
updated_at: string;
|
|
32454
|
+
};
|
|
32455
|
+
Insert: {
|
|
32456
|
+
color?: string | null;
|
|
32457
|
+
created_at?: string;
|
|
32458
|
+
hours_fri?: number | null;
|
|
32459
|
+
hours_mon?: number | null;
|
|
32460
|
+
hours_thu?: number | null;
|
|
32461
|
+
hours_tue?: number | null;
|
|
32462
|
+
hours_wed?: number | null;
|
|
32463
|
+
id?: string;
|
|
32464
|
+
is_active?: boolean;
|
|
32465
|
+
leave_balance_hours?: number;
|
|
32466
|
+
persnr?: string | null;
|
|
32467
|
+
phone?: string | null;
|
|
32468
|
+
profile_id: string;
|
|
32469
|
+
updated_at?: string;
|
|
32470
|
+
};
|
|
32471
|
+
Update: {
|
|
32472
|
+
color?: string | null;
|
|
32473
|
+
created_at?: string;
|
|
32474
|
+
hours_fri?: number | null;
|
|
32475
|
+
hours_mon?: number | null;
|
|
32476
|
+
hours_thu?: number | null;
|
|
32477
|
+
hours_tue?: number | null;
|
|
32478
|
+
hours_wed?: number | null;
|
|
32479
|
+
id?: string;
|
|
32480
|
+
is_active?: boolean;
|
|
32481
|
+
leave_balance_hours?: number;
|
|
32482
|
+
persnr?: string | null;
|
|
32483
|
+
phone?: string | null;
|
|
32484
|
+
profile_id?: string;
|
|
32485
|
+
updated_at?: string;
|
|
32486
|
+
};
|
|
32487
|
+
Relationships: [{
|
|
32488
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
32489
|
+
columns: ["profile_id"];
|
|
32490
|
+
isOneToOne: true;
|
|
32491
|
+
referencedRelation: "profiles";
|
|
32492
|
+
referencedColumns: ["id"];
|
|
32493
|
+
}];
|
|
32494
|
+
};
|
|
32322
32495
|
module_features: {
|
|
32323
32496
|
Row: {
|
|
32324
32497
|
created_at: string;
|
|
@@ -36969,6 +37142,42 @@ export declare const sendCampaign: import("@tanstack/start-client-core").Require
|
|
|
36969
37142
|
};
|
|
36970
37143
|
Relationships: [];
|
|
36971
37144
|
};
|
|
37145
|
+
sick_periods: {
|
|
37146
|
+
Row: {
|
|
37147
|
+
created_at: string;
|
|
37148
|
+
employee_id: string;
|
|
37149
|
+
end_date: string | null;
|
|
37150
|
+
id: string;
|
|
37151
|
+
notes: string | null;
|
|
37152
|
+
start_date: string;
|
|
37153
|
+
updated_at: string;
|
|
37154
|
+
};
|
|
37155
|
+
Insert: {
|
|
37156
|
+
created_at?: string;
|
|
37157
|
+
employee_id: string;
|
|
37158
|
+
end_date?: string | null;
|
|
37159
|
+
id?: string;
|
|
37160
|
+
notes?: string | null;
|
|
37161
|
+
start_date: string;
|
|
37162
|
+
updated_at?: string;
|
|
37163
|
+
};
|
|
37164
|
+
Update: {
|
|
37165
|
+
created_at?: string;
|
|
37166
|
+
employee_id?: string;
|
|
37167
|
+
end_date?: string | null;
|
|
37168
|
+
id?: string;
|
|
37169
|
+
notes?: string | null;
|
|
37170
|
+
start_date?: string;
|
|
37171
|
+
updated_at?: string;
|
|
37172
|
+
};
|
|
37173
|
+
Relationships: [{
|
|
37174
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
37175
|
+
columns: ["employee_id"];
|
|
37176
|
+
isOneToOne: false;
|
|
37177
|
+
referencedRelation: "profiles";
|
|
37178
|
+
referencedColumns: ["id"];
|
|
37179
|
+
}];
|
|
37180
|
+
};
|
|
36972
37181
|
sidebar_config: {
|
|
36973
37182
|
Row: {
|
|
36974
37183
|
id: string;
|
|
@@ -41653,6 +41862,13 @@ export declare const sendCampaign: import("@tanstack/start-client-core").Require
|
|
|
41653
41862
|
};
|
|
41654
41863
|
Returns: string;
|
|
41655
41864
|
};
|
|
41865
|
+
employee_day_hours: {
|
|
41866
|
+
Args: {
|
|
41867
|
+
_day: string;
|
|
41868
|
+
_employee_id: string;
|
|
41869
|
+
};
|
|
41870
|
+
Returns: number;
|
|
41871
|
+
};
|
|
41656
41872
|
enqueue_cart_replan_if_unlocked: {
|
|
41657
41873
|
Args: {
|
|
41658
41874
|
p_order_id: string;
|
|
@@ -42029,9 +42245,19 @@ export declare const sendCampaign: import("@tanstack/start-client-core").Require
|
|
|
42029
42245
|
Args: never;
|
|
42030
42246
|
Returns: {
|
|
42031
42247
|
avatar_url: string;
|
|
42248
|
+
color: string;
|
|
42032
42249
|
display_name: string;
|
|
42033
42250
|
email: string;
|
|
42251
|
+
hours_fri: number;
|
|
42252
|
+
hours_mon: number;
|
|
42253
|
+
hours_thu: number;
|
|
42254
|
+
hours_tue: number;
|
|
42255
|
+
hours_wed: number;
|
|
42034
42256
|
id: string;
|
|
42257
|
+
is_active: boolean;
|
|
42258
|
+
leave_balance_hours: number;
|
|
42259
|
+
persnr: string;
|
|
42260
|
+
phone: string;
|
|
42035
42261
|
roles: string[];
|
|
42036
42262
|
}[];
|
|
42037
42263
|
};
|
|
@@ -43737,6 +43963,12 @@ export declare const sendCampaign: import("@tanstack/start-client-core").Require
|
|
|
43737
43963
|
};
|
|
43738
43964
|
Returns: undefined;
|
|
43739
43965
|
};
|
|
43966
|
+
sync_sick_time_off: {
|
|
43967
|
+
Args: {
|
|
43968
|
+
_period_id: string;
|
|
43969
|
+
};
|
|
43970
|
+
Returns: number;
|
|
43971
|
+
};
|
|
43740
43972
|
trade_item_stock_duplicates: {
|
|
43741
43973
|
Args: never;
|
|
43742
43974
|
Returns: {
|
|
@@ -54231,6 +54463,63 @@ export declare const listCampaigns: import("@tanstack/start-client-core").Option
|
|
|
54231
54463
|
referencedColumns: ["id"];
|
|
54232
54464
|
}];
|
|
54233
54465
|
};
|
|
54466
|
+
medewerker_details: {
|
|
54467
|
+
Row: {
|
|
54468
|
+
color: string | null;
|
|
54469
|
+
created_at: string;
|
|
54470
|
+
hours_fri: number | null;
|
|
54471
|
+
hours_mon: number | null;
|
|
54472
|
+
hours_thu: number | null;
|
|
54473
|
+
hours_tue: number | null;
|
|
54474
|
+
hours_wed: number | null;
|
|
54475
|
+
id: string;
|
|
54476
|
+
is_active: boolean;
|
|
54477
|
+
leave_balance_hours: number;
|
|
54478
|
+
persnr: string | null;
|
|
54479
|
+
phone: string | null;
|
|
54480
|
+
profile_id: string;
|
|
54481
|
+
updated_at: string;
|
|
54482
|
+
};
|
|
54483
|
+
Insert: {
|
|
54484
|
+
color?: string | null;
|
|
54485
|
+
created_at?: string;
|
|
54486
|
+
hours_fri?: number | null;
|
|
54487
|
+
hours_mon?: number | null;
|
|
54488
|
+
hours_thu?: number | null;
|
|
54489
|
+
hours_tue?: number | null;
|
|
54490
|
+
hours_wed?: number | null;
|
|
54491
|
+
id?: string;
|
|
54492
|
+
is_active?: boolean;
|
|
54493
|
+
leave_balance_hours?: number;
|
|
54494
|
+
persnr?: string | null;
|
|
54495
|
+
phone?: string | null;
|
|
54496
|
+
profile_id: string;
|
|
54497
|
+
updated_at?: string;
|
|
54498
|
+
};
|
|
54499
|
+
Update: {
|
|
54500
|
+
color?: string | null;
|
|
54501
|
+
created_at?: string;
|
|
54502
|
+
hours_fri?: number | null;
|
|
54503
|
+
hours_mon?: number | null;
|
|
54504
|
+
hours_thu?: number | null;
|
|
54505
|
+
hours_tue?: number | null;
|
|
54506
|
+
hours_wed?: number | null;
|
|
54507
|
+
id?: string;
|
|
54508
|
+
is_active?: boolean;
|
|
54509
|
+
leave_balance_hours?: number;
|
|
54510
|
+
persnr?: string | null;
|
|
54511
|
+
phone?: string | null;
|
|
54512
|
+
profile_id?: string;
|
|
54513
|
+
updated_at?: string;
|
|
54514
|
+
};
|
|
54515
|
+
Relationships: [{
|
|
54516
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
54517
|
+
columns: ["profile_id"];
|
|
54518
|
+
isOneToOne: true;
|
|
54519
|
+
referencedRelation: "profiles";
|
|
54520
|
+
referencedColumns: ["id"];
|
|
54521
|
+
}];
|
|
54522
|
+
};
|
|
54234
54523
|
module_features: {
|
|
54235
54524
|
Row: {
|
|
54236
54525
|
created_at: string;
|
|
@@ -58881,6 +59170,42 @@ export declare const listCampaigns: import("@tanstack/start-client-core").Option
|
|
|
58881
59170
|
};
|
|
58882
59171
|
Relationships: [];
|
|
58883
59172
|
};
|
|
59173
|
+
sick_periods: {
|
|
59174
|
+
Row: {
|
|
59175
|
+
created_at: string;
|
|
59176
|
+
employee_id: string;
|
|
59177
|
+
end_date: string | null;
|
|
59178
|
+
id: string;
|
|
59179
|
+
notes: string | null;
|
|
59180
|
+
start_date: string;
|
|
59181
|
+
updated_at: string;
|
|
59182
|
+
};
|
|
59183
|
+
Insert: {
|
|
59184
|
+
created_at?: string;
|
|
59185
|
+
employee_id: string;
|
|
59186
|
+
end_date?: string | null;
|
|
59187
|
+
id?: string;
|
|
59188
|
+
notes?: string | null;
|
|
59189
|
+
start_date: string;
|
|
59190
|
+
updated_at?: string;
|
|
59191
|
+
};
|
|
59192
|
+
Update: {
|
|
59193
|
+
created_at?: string;
|
|
59194
|
+
employee_id?: string;
|
|
59195
|
+
end_date?: string | null;
|
|
59196
|
+
id?: string;
|
|
59197
|
+
notes?: string | null;
|
|
59198
|
+
start_date?: string;
|
|
59199
|
+
updated_at?: string;
|
|
59200
|
+
};
|
|
59201
|
+
Relationships: [{
|
|
59202
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
59203
|
+
columns: ["employee_id"];
|
|
59204
|
+
isOneToOne: false;
|
|
59205
|
+
referencedRelation: "profiles";
|
|
59206
|
+
referencedColumns: ["id"];
|
|
59207
|
+
}];
|
|
59208
|
+
};
|
|
58884
59209
|
sidebar_config: {
|
|
58885
59210
|
Row: {
|
|
58886
59211
|
id: string;
|
|
@@ -63565,6 +63890,13 @@ export declare const listCampaigns: import("@tanstack/start-client-core").Option
|
|
|
63565
63890
|
};
|
|
63566
63891
|
Returns: string;
|
|
63567
63892
|
};
|
|
63893
|
+
employee_day_hours: {
|
|
63894
|
+
Args: {
|
|
63895
|
+
_day: string;
|
|
63896
|
+
_employee_id: string;
|
|
63897
|
+
};
|
|
63898
|
+
Returns: number;
|
|
63899
|
+
};
|
|
63568
63900
|
enqueue_cart_replan_if_unlocked: {
|
|
63569
63901
|
Args: {
|
|
63570
63902
|
p_order_id: string;
|
|
@@ -63941,9 +64273,19 @@ export declare const listCampaigns: import("@tanstack/start-client-core").Option
|
|
|
63941
64273
|
Args: never;
|
|
63942
64274
|
Returns: {
|
|
63943
64275
|
avatar_url: string;
|
|
64276
|
+
color: string;
|
|
63944
64277
|
display_name: string;
|
|
63945
64278
|
email: string;
|
|
64279
|
+
hours_fri: number;
|
|
64280
|
+
hours_mon: number;
|
|
64281
|
+
hours_thu: number;
|
|
64282
|
+
hours_tue: number;
|
|
64283
|
+
hours_wed: number;
|
|
63946
64284
|
id: string;
|
|
64285
|
+
is_active: boolean;
|
|
64286
|
+
leave_balance_hours: number;
|
|
64287
|
+
persnr: string;
|
|
64288
|
+
phone: string;
|
|
63947
64289
|
roles: string[];
|
|
63948
64290
|
}[];
|
|
63949
64291
|
};
|
|
@@ -65649,6 +65991,12 @@ export declare const listCampaigns: import("@tanstack/start-client-core").Option
|
|
|
65649
65991
|
};
|
|
65650
65992
|
Returns: undefined;
|
|
65651
65993
|
};
|
|
65994
|
+
sync_sick_time_off: {
|
|
65995
|
+
Args: {
|
|
65996
|
+
_period_id: string;
|
|
65997
|
+
};
|
|
65998
|
+
Returns: number;
|
|
65999
|
+
};
|
|
65652
66000
|
trade_item_stock_duplicates: {
|
|
65653
66001
|
Args: never;
|
|
65654
66002
|
Returns: {
|
|
@@ -76141,6 +76489,63 @@ export declare const getCampaign: import("@tanstack/start-client-core").Required
|
|
|
76141
76489
|
referencedColumns: ["id"];
|
|
76142
76490
|
}];
|
|
76143
76491
|
};
|
|
76492
|
+
medewerker_details: {
|
|
76493
|
+
Row: {
|
|
76494
|
+
color: string | null;
|
|
76495
|
+
created_at: string;
|
|
76496
|
+
hours_fri: number | null;
|
|
76497
|
+
hours_mon: number | null;
|
|
76498
|
+
hours_thu: number | null;
|
|
76499
|
+
hours_tue: number | null;
|
|
76500
|
+
hours_wed: number | null;
|
|
76501
|
+
id: string;
|
|
76502
|
+
is_active: boolean;
|
|
76503
|
+
leave_balance_hours: number;
|
|
76504
|
+
persnr: string | null;
|
|
76505
|
+
phone: string | null;
|
|
76506
|
+
profile_id: string;
|
|
76507
|
+
updated_at: string;
|
|
76508
|
+
};
|
|
76509
|
+
Insert: {
|
|
76510
|
+
color?: string | null;
|
|
76511
|
+
created_at?: string;
|
|
76512
|
+
hours_fri?: number | null;
|
|
76513
|
+
hours_mon?: number | null;
|
|
76514
|
+
hours_thu?: number | null;
|
|
76515
|
+
hours_tue?: number | null;
|
|
76516
|
+
hours_wed?: number | null;
|
|
76517
|
+
id?: string;
|
|
76518
|
+
is_active?: boolean;
|
|
76519
|
+
leave_balance_hours?: number;
|
|
76520
|
+
persnr?: string | null;
|
|
76521
|
+
phone?: string | null;
|
|
76522
|
+
profile_id: string;
|
|
76523
|
+
updated_at?: string;
|
|
76524
|
+
};
|
|
76525
|
+
Update: {
|
|
76526
|
+
color?: string | null;
|
|
76527
|
+
created_at?: string;
|
|
76528
|
+
hours_fri?: number | null;
|
|
76529
|
+
hours_mon?: number | null;
|
|
76530
|
+
hours_thu?: number | null;
|
|
76531
|
+
hours_tue?: number | null;
|
|
76532
|
+
hours_wed?: number | null;
|
|
76533
|
+
id?: string;
|
|
76534
|
+
is_active?: boolean;
|
|
76535
|
+
leave_balance_hours?: number;
|
|
76536
|
+
persnr?: string | null;
|
|
76537
|
+
phone?: string | null;
|
|
76538
|
+
profile_id?: string;
|
|
76539
|
+
updated_at?: string;
|
|
76540
|
+
};
|
|
76541
|
+
Relationships: [{
|
|
76542
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
76543
|
+
columns: ["profile_id"];
|
|
76544
|
+
isOneToOne: true;
|
|
76545
|
+
referencedRelation: "profiles";
|
|
76546
|
+
referencedColumns: ["id"];
|
|
76547
|
+
}];
|
|
76548
|
+
};
|
|
76144
76549
|
module_features: {
|
|
76145
76550
|
Row: {
|
|
76146
76551
|
created_at: string;
|
|
@@ -80791,6 +81196,42 @@ export declare const getCampaign: import("@tanstack/start-client-core").Required
|
|
|
80791
81196
|
};
|
|
80792
81197
|
Relationships: [];
|
|
80793
81198
|
};
|
|
81199
|
+
sick_periods: {
|
|
81200
|
+
Row: {
|
|
81201
|
+
created_at: string;
|
|
81202
|
+
employee_id: string;
|
|
81203
|
+
end_date: string | null;
|
|
81204
|
+
id: string;
|
|
81205
|
+
notes: string | null;
|
|
81206
|
+
start_date: string;
|
|
81207
|
+
updated_at: string;
|
|
81208
|
+
};
|
|
81209
|
+
Insert: {
|
|
81210
|
+
created_at?: string;
|
|
81211
|
+
employee_id: string;
|
|
81212
|
+
end_date?: string | null;
|
|
81213
|
+
id?: string;
|
|
81214
|
+
notes?: string | null;
|
|
81215
|
+
start_date: string;
|
|
81216
|
+
updated_at?: string;
|
|
81217
|
+
};
|
|
81218
|
+
Update: {
|
|
81219
|
+
created_at?: string;
|
|
81220
|
+
employee_id?: string;
|
|
81221
|
+
end_date?: string | null;
|
|
81222
|
+
id?: string;
|
|
81223
|
+
notes?: string | null;
|
|
81224
|
+
start_date?: string;
|
|
81225
|
+
updated_at?: string;
|
|
81226
|
+
};
|
|
81227
|
+
Relationships: [{
|
|
81228
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
81229
|
+
columns: ["employee_id"];
|
|
81230
|
+
isOneToOne: false;
|
|
81231
|
+
referencedRelation: "profiles";
|
|
81232
|
+
referencedColumns: ["id"];
|
|
81233
|
+
}];
|
|
81234
|
+
};
|
|
80794
81235
|
sidebar_config: {
|
|
80795
81236
|
Row: {
|
|
80796
81237
|
id: string;
|
|
@@ -85475,6 +85916,13 @@ export declare const getCampaign: import("@tanstack/start-client-core").Required
|
|
|
85475
85916
|
};
|
|
85476
85917
|
Returns: string;
|
|
85477
85918
|
};
|
|
85919
|
+
employee_day_hours: {
|
|
85920
|
+
Args: {
|
|
85921
|
+
_day: string;
|
|
85922
|
+
_employee_id: string;
|
|
85923
|
+
};
|
|
85924
|
+
Returns: number;
|
|
85925
|
+
};
|
|
85478
85926
|
enqueue_cart_replan_if_unlocked: {
|
|
85479
85927
|
Args: {
|
|
85480
85928
|
p_order_id: string;
|
|
@@ -85851,9 +86299,19 @@ export declare const getCampaign: import("@tanstack/start-client-core").Required
|
|
|
85851
86299
|
Args: never;
|
|
85852
86300
|
Returns: {
|
|
85853
86301
|
avatar_url: string;
|
|
86302
|
+
color: string;
|
|
85854
86303
|
display_name: string;
|
|
85855
86304
|
email: string;
|
|
86305
|
+
hours_fri: number;
|
|
86306
|
+
hours_mon: number;
|
|
86307
|
+
hours_thu: number;
|
|
86308
|
+
hours_tue: number;
|
|
86309
|
+
hours_wed: number;
|
|
85856
86310
|
id: string;
|
|
86311
|
+
is_active: boolean;
|
|
86312
|
+
leave_balance_hours: number;
|
|
86313
|
+
persnr: string;
|
|
86314
|
+
phone: string;
|
|
85857
86315
|
roles: string[];
|
|
85858
86316
|
}[];
|
|
85859
86317
|
};
|
|
@@ -87559,6 +88017,12 @@ export declare const getCampaign: import("@tanstack/start-client-core").Required
|
|
|
87559
88017
|
};
|
|
87560
88018
|
Returns: undefined;
|
|
87561
88019
|
};
|
|
88020
|
+
sync_sick_time_off: {
|
|
88021
|
+
Args: {
|
|
88022
|
+
_period_id: string;
|
|
88023
|
+
};
|
|
88024
|
+
Returns: number;
|
|
88025
|
+
};
|
|
87562
88026
|
trade_item_stock_duplicates: {
|
|
87563
88027
|
Args: never;
|
|
87564
88028
|
Returns: {
|
|
@@ -98093,6 +98557,63 @@ export declare const deleteCampaign: import("@tanstack/start-client-core").Requi
|
|
|
98093
98557
|
referencedColumns: ["id"];
|
|
98094
98558
|
}];
|
|
98095
98559
|
};
|
|
98560
|
+
medewerker_details: {
|
|
98561
|
+
Row: {
|
|
98562
|
+
color: string | null;
|
|
98563
|
+
created_at: string;
|
|
98564
|
+
hours_fri: number | null;
|
|
98565
|
+
hours_mon: number | null;
|
|
98566
|
+
hours_thu: number | null;
|
|
98567
|
+
hours_tue: number | null;
|
|
98568
|
+
hours_wed: number | null;
|
|
98569
|
+
id: string;
|
|
98570
|
+
is_active: boolean;
|
|
98571
|
+
leave_balance_hours: number;
|
|
98572
|
+
persnr: string | null;
|
|
98573
|
+
phone: string | null;
|
|
98574
|
+
profile_id: string;
|
|
98575
|
+
updated_at: string;
|
|
98576
|
+
};
|
|
98577
|
+
Insert: {
|
|
98578
|
+
color?: string | null;
|
|
98579
|
+
created_at?: string;
|
|
98580
|
+
hours_fri?: number | null;
|
|
98581
|
+
hours_mon?: number | null;
|
|
98582
|
+
hours_thu?: number | null;
|
|
98583
|
+
hours_tue?: number | null;
|
|
98584
|
+
hours_wed?: number | null;
|
|
98585
|
+
id?: string;
|
|
98586
|
+
is_active?: boolean;
|
|
98587
|
+
leave_balance_hours?: number;
|
|
98588
|
+
persnr?: string | null;
|
|
98589
|
+
phone?: string | null;
|
|
98590
|
+
profile_id: string;
|
|
98591
|
+
updated_at?: string;
|
|
98592
|
+
};
|
|
98593
|
+
Update: {
|
|
98594
|
+
color?: string | null;
|
|
98595
|
+
created_at?: string;
|
|
98596
|
+
hours_fri?: number | null;
|
|
98597
|
+
hours_mon?: number | null;
|
|
98598
|
+
hours_thu?: number | null;
|
|
98599
|
+
hours_tue?: number | null;
|
|
98600
|
+
hours_wed?: number | null;
|
|
98601
|
+
id?: string;
|
|
98602
|
+
is_active?: boolean;
|
|
98603
|
+
leave_balance_hours?: number;
|
|
98604
|
+
persnr?: string | null;
|
|
98605
|
+
phone?: string | null;
|
|
98606
|
+
profile_id?: string;
|
|
98607
|
+
updated_at?: string;
|
|
98608
|
+
};
|
|
98609
|
+
Relationships: [{
|
|
98610
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
98611
|
+
columns: ["profile_id"];
|
|
98612
|
+
isOneToOne: true;
|
|
98613
|
+
referencedRelation: "profiles";
|
|
98614
|
+
referencedColumns: ["id"];
|
|
98615
|
+
}];
|
|
98616
|
+
};
|
|
98096
98617
|
module_features: {
|
|
98097
98618
|
Row: {
|
|
98098
98619
|
created_at: string;
|
|
@@ -102743,6 +103264,42 @@ export declare const deleteCampaign: import("@tanstack/start-client-core").Requi
|
|
|
102743
103264
|
};
|
|
102744
103265
|
Relationships: [];
|
|
102745
103266
|
};
|
|
103267
|
+
sick_periods: {
|
|
103268
|
+
Row: {
|
|
103269
|
+
created_at: string;
|
|
103270
|
+
employee_id: string;
|
|
103271
|
+
end_date: string | null;
|
|
103272
|
+
id: string;
|
|
103273
|
+
notes: string | null;
|
|
103274
|
+
start_date: string;
|
|
103275
|
+
updated_at: string;
|
|
103276
|
+
};
|
|
103277
|
+
Insert: {
|
|
103278
|
+
created_at?: string;
|
|
103279
|
+
employee_id: string;
|
|
103280
|
+
end_date?: string | null;
|
|
103281
|
+
id?: string;
|
|
103282
|
+
notes?: string | null;
|
|
103283
|
+
start_date: string;
|
|
103284
|
+
updated_at?: string;
|
|
103285
|
+
};
|
|
103286
|
+
Update: {
|
|
103287
|
+
created_at?: string;
|
|
103288
|
+
employee_id?: string;
|
|
103289
|
+
end_date?: string | null;
|
|
103290
|
+
id?: string;
|
|
103291
|
+
notes?: string | null;
|
|
103292
|
+
start_date?: string;
|
|
103293
|
+
updated_at?: string;
|
|
103294
|
+
};
|
|
103295
|
+
Relationships: [{
|
|
103296
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
103297
|
+
columns: ["employee_id"];
|
|
103298
|
+
isOneToOne: false;
|
|
103299
|
+
referencedRelation: "profiles";
|
|
103300
|
+
referencedColumns: ["id"];
|
|
103301
|
+
}];
|
|
103302
|
+
};
|
|
102746
103303
|
sidebar_config: {
|
|
102747
103304
|
Row: {
|
|
102748
103305
|
id: string;
|
|
@@ -107427,6 +107984,13 @@ export declare const deleteCampaign: import("@tanstack/start-client-core").Requi
|
|
|
107427
107984
|
};
|
|
107428
107985
|
Returns: string;
|
|
107429
107986
|
};
|
|
107987
|
+
employee_day_hours: {
|
|
107988
|
+
Args: {
|
|
107989
|
+
_day: string;
|
|
107990
|
+
_employee_id: string;
|
|
107991
|
+
};
|
|
107992
|
+
Returns: number;
|
|
107993
|
+
};
|
|
107430
107994
|
enqueue_cart_replan_if_unlocked: {
|
|
107431
107995
|
Args: {
|
|
107432
107996
|
p_order_id: string;
|
|
@@ -107803,9 +108367,19 @@ export declare const deleteCampaign: import("@tanstack/start-client-core").Requi
|
|
|
107803
108367
|
Args: never;
|
|
107804
108368
|
Returns: {
|
|
107805
108369
|
avatar_url: string;
|
|
108370
|
+
color: string;
|
|
107806
108371
|
display_name: string;
|
|
107807
108372
|
email: string;
|
|
108373
|
+
hours_fri: number;
|
|
108374
|
+
hours_mon: number;
|
|
108375
|
+
hours_thu: number;
|
|
108376
|
+
hours_tue: number;
|
|
108377
|
+
hours_wed: number;
|
|
107808
108378
|
id: string;
|
|
108379
|
+
is_active: boolean;
|
|
108380
|
+
leave_balance_hours: number;
|
|
108381
|
+
persnr: string;
|
|
108382
|
+
phone: string;
|
|
107809
108383
|
roles: string[];
|
|
107810
108384
|
}[];
|
|
107811
108385
|
};
|
|
@@ -109511,6 +110085,12 @@ export declare const deleteCampaign: import("@tanstack/start-client-core").Requi
|
|
|
109511
110085
|
};
|
|
109512
110086
|
Returns: undefined;
|
|
109513
110087
|
};
|
|
110088
|
+
sync_sick_time_off: {
|
|
110089
|
+
Args: {
|
|
110090
|
+
_period_id: string;
|
|
110091
|
+
};
|
|
110092
|
+
Returns: number;
|
|
110093
|
+
};
|
|
109514
110094
|
trade_item_stock_duplicates: {
|
|
109515
110095
|
Args: never;
|
|
109516
110096
|
Returns: {
|