@flowselections/layout-maker 1.7.3 → 1.8.1
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/README.md +132 -69
- package/dist-lib/components/LogosPage.d.ts.map +1 -1
- package/dist-lib/components/LogosPage.js +3 -2
- package/dist-lib/components/PrinterSetupWizard.js +1 -1
- package/dist-lib/index.d.ts +3 -3
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +3 -3
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +393 -13
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +393 -13
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +409 -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/aiLayout.functions.d.ts +393 -13
- package/dist-lib/lib/aiLayout.functions.d.ts.map +1 -1
- package/dist-lib/lib/aiLayout.server.js +9 -9
- package/dist-lib/lib/browserPrint.js +5 -5
- package/dist-lib/lib/documentProfiles.d.ts.map +1 -1
- package/dist-lib/lib/documentProfiles.js +3 -0
- package/dist-lib/lib/documentTypes.d.ts +1 -1
- package/dist-lib/lib/documentTypes.d.ts.map +1 -1
- package/dist-lib/lib/documentTypes.js +3 -0
- package/dist-lib/lib/layoutPreview.js +7 -7
- package/dist-lib/lib/logoLibrary.d.ts +12 -0
- package/dist-lib/lib/logoLibrary.d.ts.map +1 -1
- package/dist-lib/lib/logoLibrary.js +39 -1
- package/dist-lib/lib/pakbonHtml.js +50 -50
- package/dist-lib/lib/printApi.d.ts +71 -0
- package/dist-lib/lib/printApi.d.ts.map +1 -1
- package/dist-lib/lib/printApi.js +152 -12
- package/dist-lib/lib/printService.functions.d.ts +1572 -52
- package/dist-lib/lib/printService.functions.d.ts.map +1 -1
- package/dist-lib/lib/productiebonHtml.js +15 -15
- package/dist-lib/lib/profielHtml.js +18 -18
- package/dist-lib/lib/supabaseAdmin.server.d.ts +5 -5
- package/dist-lib/lib/supabaseAdmin.server.js +43 -43
- package/dist-lib/lib/testpagina.js +1 -1
- package/package.json +1 -1
|
@@ -7976,6 +7976,260 @@ export type Database = {
|
|
|
7976
7976
|
};
|
|
7977
7977
|
Relationships: [];
|
|
7978
7978
|
};
|
|
7979
|
+
itk_offerte_events: {
|
|
7980
|
+
Row: {
|
|
7981
|
+
created_at: string;
|
|
7982
|
+
event_type: string;
|
|
7983
|
+
id: string;
|
|
7984
|
+
metadata: Json;
|
|
7985
|
+
offerte_id: string;
|
|
7986
|
+
omschrijving: string | null;
|
|
7987
|
+
user_id: string | null;
|
|
7988
|
+
};
|
|
7989
|
+
Insert: {
|
|
7990
|
+
created_at?: string;
|
|
7991
|
+
event_type: string;
|
|
7992
|
+
id?: string;
|
|
7993
|
+
metadata?: Json;
|
|
7994
|
+
offerte_id: string;
|
|
7995
|
+
omschrijving?: string | null;
|
|
7996
|
+
user_id?: string | null;
|
|
7997
|
+
};
|
|
7998
|
+
Update: {
|
|
7999
|
+
created_at?: string;
|
|
8000
|
+
event_type?: string;
|
|
8001
|
+
id?: string;
|
|
8002
|
+
metadata?: Json;
|
|
8003
|
+
offerte_id?: string;
|
|
8004
|
+
omschrijving?: string | null;
|
|
8005
|
+
user_id?: string | null;
|
|
8006
|
+
};
|
|
8007
|
+
Relationships: [
|
|
8008
|
+
{
|
|
8009
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
8010
|
+
columns: ["offerte_id"];
|
|
8011
|
+
isOneToOne: false;
|
|
8012
|
+
referencedRelation: "itk_offertes";
|
|
8013
|
+
referencedColumns: ["id"];
|
|
8014
|
+
}
|
|
8015
|
+
];
|
|
8016
|
+
};
|
|
8017
|
+
itk_offerte_regels: {
|
|
8018
|
+
Row: {
|
|
8019
|
+
created_at: string;
|
|
8020
|
+
id: string;
|
|
8021
|
+
line_total_cents: number;
|
|
8022
|
+
offerte_id: string;
|
|
8023
|
+
omschrijving: string;
|
|
8024
|
+
package_id: string | null;
|
|
8025
|
+
quantity: number;
|
|
8026
|
+
sort_order: number;
|
|
8027
|
+
source: string;
|
|
8028
|
+
unit_price_cents: number;
|
|
8029
|
+
updated_at: string;
|
|
8030
|
+
};
|
|
8031
|
+
Insert: {
|
|
8032
|
+
created_at?: string;
|
|
8033
|
+
id?: string;
|
|
8034
|
+
line_total_cents?: number;
|
|
8035
|
+
offerte_id: string;
|
|
8036
|
+
omschrijving?: string;
|
|
8037
|
+
package_id?: string | null;
|
|
8038
|
+
quantity?: number;
|
|
8039
|
+
sort_order?: number;
|
|
8040
|
+
source?: string;
|
|
8041
|
+
unit_price_cents?: number;
|
|
8042
|
+
updated_at?: string;
|
|
8043
|
+
};
|
|
8044
|
+
Update: {
|
|
8045
|
+
created_at?: string;
|
|
8046
|
+
id?: string;
|
|
8047
|
+
line_total_cents?: number;
|
|
8048
|
+
offerte_id?: string;
|
|
8049
|
+
omschrijving?: string;
|
|
8050
|
+
package_id?: string | null;
|
|
8051
|
+
quantity?: number;
|
|
8052
|
+
sort_order?: number;
|
|
8053
|
+
source?: string;
|
|
8054
|
+
unit_price_cents?: number;
|
|
8055
|
+
updated_at?: string;
|
|
8056
|
+
};
|
|
8057
|
+
Relationships: [
|
|
8058
|
+
{
|
|
8059
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
8060
|
+
columns: ["offerte_id"];
|
|
8061
|
+
isOneToOne: false;
|
|
8062
|
+
referencedRelation: "itk_offertes";
|
|
8063
|
+
referencedColumns: ["id"];
|
|
8064
|
+
},
|
|
8065
|
+
{
|
|
8066
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
8067
|
+
columns: ["package_id"];
|
|
8068
|
+
isOneToOne: false;
|
|
8069
|
+
referencedRelation: "werkbon_packages";
|
|
8070
|
+
referencedColumns: ["id"];
|
|
8071
|
+
}
|
|
8072
|
+
];
|
|
8073
|
+
};
|
|
8074
|
+
itk_offerte_settings: {
|
|
8075
|
+
Row: {
|
|
8076
|
+
auto_convert_binnen_mandaat: boolean;
|
|
8077
|
+
created_at: string;
|
|
8078
|
+
default_geldigheid_dagen: number;
|
|
8079
|
+
default_vat_rate: number;
|
|
8080
|
+
id: string;
|
|
8081
|
+
singleton: boolean;
|
|
8082
|
+
updated_at: string;
|
|
8083
|
+
};
|
|
8084
|
+
Insert: {
|
|
8085
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
8086
|
+
created_at?: string;
|
|
8087
|
+
default_geldigheid_dagen?: number;
|
|
8088
|
+
default_vat_rate?: number;
|
|
8089
|
+
id?: string;
|
|
8090
|
+
singleton?: boolean;
|
|
8091
|
+
updated_at?: string;
|
|
8092
|
+
};
|
|
8093
|
+
Update: {
|
|
8094
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
8095
|
+
created_at?: string;
|
|
8096
|
+
default_geldigheid_dagen?: number;
|
|
8097
|
+
default_vat_rate?: number;
|
|
8098
|
+
id?: string;
|
|
8099
|
+
singleton?: boolean;
|
|
8100
|
+
updated_at?: string;
|
|
8101
|
+
};
|
|
8102
|
+
Relationships: [];
|
|
8103
|
+
};
|
|
8104
|
+
itk_offertes: {
|
|
8105
|
+
Row: {
|
|
8106
|
+
ai_generated: boolean;
|
|
8107
|
+
approved_at: string | null;
|
|
8108
|
+
binnen_mandaat: boolean;
|
|
8109
|
+
contact_id: string | null;
|
|
8110
|
+
converted_at: string | null;
|
|
8111
|
+
created_at: string;
|
|
8112
|
+
created_by: string | null;
|
|
8113
|
+
customer_id: string | null;
|
|
8114
|
+
follow_up_werkbon_id: string | null;
|
|
8115
|
+
id: string;
|
|
8116
|
+
jaar: number;
|
|
8117
|
+
mandaat_restant_cents: number;
|
|
8118
|
+
notities: string | null;
|
|
8119
|
+
offerte_number: string | null;
|
|
8120
|
+
omschrijving: string;
|
|
8121
|
+
rejected_at: string | null;
|
|
8122
|
+
sent_at: string | null;
|
|
8123
|
+
status: string;
|
|
8124
|
+
subtotal_cents: number;
|
|
8125
|
+
total_cents: number;
|
|
8126
|
+
updated_at: string;
|
|
8127
|
+
valid_until: string | null;
|
|
8128
|
+
vat_cents: number;
|
|
8129
|
+
vat_rate: number;
|
|
8130
|
+
viewed_at: string | null;
|
|
8131
|
+
volgnummer: number | null;
|
|
8132
|
+
werkbon_id: string | null;
|
|
8133
|
+
work_location_id: string | null;
|
|
8134
|
+
};
|
|
8135
|
+
Insert: {
|
|
8136
|
+
ai_generated?: boolean;
|
|
8137
|
+
approved_at?: string | null;
|
|
8138
|
+
binnen_mandaat?: boolean;
|
|
8139
|
+
contact_id?: string | null;
|
|
8140
|
+
converted_at?: string | null;
|
|
8141
|
+
created_at?: string;
|
|
8142
|
+
created_by?: string | null;
|
|
8143
|
+
customer_id?: string | null;
|
|
8144
|
+
follow_up_werkbon_id?: string | null;
|
|
8145
|
+
id?: string;
|
|
8146
|
+
jaar?: number;
|
|
8147
|
+
mandaat_restant_cents?: number;
|
|
8148
|
+
notities?: string | null;
|
|
8149
|
+
offerte_number?: string | null;
|
|
8150
|
+
omschrijving?: string;
|
|
8151
|
+
rejected_at?: string | null;
|
|
8152
|
+
sent_at?: string | null;
|
|
8153
|
+
status?: string;
|
|
8154
|
+
subtotal_cents?: number;
|
|
8155
|
+
total_cents?: number;
|
|
8156
|
+
updated_at?: string;
|
|
8157
|
+
valid_until?: string | null;
|
|
8158
|
+
vat_cents?: number;
|
|
8159
|
+
vat_rate?: number;
|
|
8160
|
+
viewed_at?: string | null;
|
|
8161
|
+
volgnummer?: number | null;
|
|
8162
|
+
werkbon_id?: string | null;
|
|
8163
|
+
work_location_id?: string | null;
|
|
8164
|
+
};
|
|
8165
|
+
Update: {
|
|
8166
|
+
ai_generated?: boolean;
|
|
8167
|
+
approved_at?: string | null;
|
|
8168
|
+
binnen_mandaat?: boolean;
|
|
8169
|
+
contact_id?: string | null;
|
|
8170
|
+
converted_at?: string | null;
|
|
8171
|
+
created_at?: string;
|
|
8172
|
+
created_by?: string | null;
|
|
8173
|
+
customer_id?: string | null;
|
|
8174
|
+
follow_up_werkbon_id?: string | null;
|
|
8175
|
+
id?: string;
|
|
8176
|
+
jaar?: number;
|
|
8177
|
+
mandaat_restant_cents?: number;
|
|
8178
|
+
notities?: string | null;
|
|
8179
|
+
offerte_number?: string | null;
|
|
8180
|
+
omschrijving?: string;
|
|
8181
|
+
rejected_at?: string | null;
|
|
8182
|
+
sent_at?: string | null;
|
|
8183
|
+
status?: string;
|
|
8184
|
+
subtotal_cents?: number;
|
|
8185
|
+
total_cents?: number;
|
|
8186
|
+
updated_at?: string;
|
|
8187
|
+
valid_until?: string | null;
|
|
8188
|
+
vat_cents?: number;
|
|
8189
|
+
vat_rate?: number;
|
|
8190
|
+
viewed_at?: string | null;
|
|
8191
|
+
volgnummer?: number | null;
|
|
8192
|
+
werkbon_id?: string | null;
|
|
8193
|
+
work_location_id?: string | null;
|
|
8194
|
+
};
|
|
8195
|
+
Relationships: [
|
|
8196
|
+
{
|
|
8197
|
+
foreignKeyName: "itk_offertes_contact_id_fkey";
|
|
8198
|
+
columns: ["contact_id"];
|
|
8199
|
+
isOneToOne: false;
|
|
8200
|
+
referencedRelation: "itk_contact_persons";
|
|
8201
|
+
referencedColumns: ["id"];
|
|
8202
|
+
},
|
|
8203
|
+
{
|
|
8204
|
+
foreignKeyName: "itk_offertes_customer_id_fkey";
|
|
8205
|
+
columns: ["customer_id"];
|
|
8206
|
+
isOneToOne: false;
|
|
8207
|
+
referencedRelation: "itk_customers";
|
|
8208
|
+
referencedColumns: ["id"];
|
|
8209
|
+
},
|
|
8210
|
+
{
|
|
8211
|
+
foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
|
|
8212
|
+
columns: ["follow_up_werkbon_id"];
|
|
8213
|
+
isOneToOne: false;
|
|
8214
|
+
referencedRelation: "werkbonnen";
|
|
8215
|
+
referencedColumns: ["id"];
|
|
8216
|
+
},
|
|
8217
|
+
{
|
|
8218
|
+
foreignKeyName: "itk_offertes_werkbon_id_fkey";
|
|
8219
|
+
columns: ["werkbon_id"];
|
|
8220
|
+
isOneToOne: false;
|
|
8221
|
+
referencedRelation: "werkbonnen";
|
|
8222
|
+
referencedColumns: ["id"];
|
|
8223
|
+
},
|
|
8224
|
+
{
|
|
8225
|
+
foreignKeyName: "itk_offertes_work_location_id_fkey";
|
|
8226
|
+
columns: ["work_location_id"];
|
|
8227
|
+
isOneToOne: false;
|
|
8228
|
+
referencedRelation: "itk_work_locations";
|
|
8229
|
+
referencedColumns: ["id"];
|
|
8230
|
+
}
|
|
8231
|
+
];
|
|
8232
|
+
};
|
|
7979
8233
|
itk_work_locations: {
|
|
7980
8234
|
Row: {
|
|
7981
8235
|
city: string | null;
|
|
@@ -10410,6 +10664,65 @@ export type Database = {
|
|
|
10410
10664
|
}
|
|
10411
10665
|
];
|
|
10412
10666
|
};
|
|
10667
|
+
medewerker_details: {
|
|
10668
|
+
Row: {
|
|
10669
|
+
color: string | null;
|
|
10670
|
+
created_at: string;
|
|
10671
|
+
hours_fri: number | null;
|
|
10672
|
+
hours_mon: number | null;
|
|
10673
|
+
hours_thu: number | null;
|
|
10674
|
+
hours_tue: number | null;
|
|
10675
|
+
hours_wed: number | null;
|
|
10676
|
+
id: string;
|
|
10677
|
+
is_active: boolean;
|
|
10678
|
+
leave_balance_hours: number;
|
|
10679
|
+
persnr: string | null;
|
|
10680
|
+
phone: string | null;
|
|
10681
|
+
profile_id: string;
|
|
10682
|
+
updated_at: string;
|
|
10683
|
+
};
|
|
10684
|
+
Insert: {
|
|
10685
|
+
color?: string | null;
|
|
10686
|
+
created_at?: string;
|
|
10687
|
+
hours_fri?: number | null;
|
|
10688
|
+
hours_mon?: number | null;
|
|
10689
|
+
hours_thu?: number | null;
|
|
10690
|
+
hours_tue?: number | null;
|
|
10691
|
+
hours_wed?: number | null;
|
|
10692
|
+
id?: string;
|
|
10693
|
+
is_active?: boolean;
|
|
10694
|
+
leave_balance_hours?: number;
|
|
10695
|
+
persnr?: string | null;
|
|
10696
|
+
phone?: string | null;
|
|
10697
|
+
profile_id: string;
|
|
10698
|
+
updated_at?: string;
|
|
10699
|
+
};
|
|
10700
|
+
Update: {
|
|
10701
|
+
color?: string | null;
|
|
10702
|
+
created_at?: string;
|
|
10703
|
+
hours_fri?: number | null;
|
|
10704
|
+
hours_mon?: number | null;
|
|
10705
|
+
hours_thu?: number | null;
|
|
10706
|
+
hours_tue?: number | null;
|
|
10707
|
+
hours_wed?: number | null;
|
|
10708
|
+
id?: string;
|
|
10709
|
+
is_active?: boolean;
|
|
10710
|
+
leave_balance_hours?: number;
|
|
10711
|
+
persnr?: string | null;
|
|
10712
|
+
phone?: string | null;
|
|
10713
|
+
profile_id?: string;
|
|
10714
|
+
updated_at?: string;
|
|
10715
|
+
};
|
|
10716
|
+
Relationships: [
|
|
10717
|
+
{
|
|
10718
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
10719
|
+
columns: ["profile_id"];
|
|
10720
|
+
isOneToOne: true;
|
|
10721
|
+
referencedRelation: "profiles";
|
|
10722
|
+
referencedColumns: ["id"];
|
|
10723
|
+
}
|
|
10724
|
+
];
|
|
10725
|
+
};
|
|
10413
10726
|
module_features: {
|
|
10414
10727
|
Row: {
|
|
10415
10728
|
created_at: string;
|
|
@@ -10470,6 +10783,7 @@ export type Database = {
|
|
|
10470
10783
|
module_registry: {
|
|
10471
10784
|
Row: {
|
|
10472
10785
|
created_at: string;
|
|
10786
|
+
enforce: boolean;
|
|
10473
10787
|
is_active: boolean;
|
|
10474
10788
|
last_seen_at: string;
|
|
10475
10789
|
module_id: string;
|
|
@@ -10479,6 +10793,7 @@ export type Database = {
|
|
|
10479
10793
|
};
|
|
10480
10794
|
Insert: {
|
|
10481
10795
|
created_at?: string;
|
|
10796
|
+
enforce?: boolean;
|
|
10482
10797
|
is_active?: boolean;
|
|
10483
10798
|
last_seen_at?: string;
|
|
10484
10799
|
module_id: string;
|
|
@@ -10488,6 +10803,7 @@ export type Database = {
|
|
|
10488
10803
|
};
|
|
10489
10804
|
Update: {
|
|
10490
10805
|
created_at?: string;
|
|
10806
|
+
enforce?: boolean;
|
|
10491
10807
|
is_active?: boolean;
|
|
10492
10808
|
last_seen_at?: string;
|
|
10493
10809
|
module_id?: string;
|
|
@@ -15183,6 +15499,7 @@ export type Database = {
|
|
|
15183
15499
|
type: string;
|
|
15184
15500
|
updated_at: string;
|
|
15185
15501
|
vereist_medewerker: boolean;
|
|
15502
|
+
werkplek: string | null;
|
|
15186
15503
|
};
|
|
15187
15504
|
Insert: {
|
|
15188
15505
|
actief?: boolean;
|
|
@@ -15196,6 +15513,7 @@ export type Database = {
|
|
|
15196
15513
|
type?: string;
|
|
15197
15514
|
updated_at?: string;
|
|
15198
15515
|
vereist_medewerker?: boolean;
|
|
15516
|
+
werkplek?: string | null;
|
|
15199
15517
|
};
|
|
15200
15518
|
Update: {
|
|
15201
15519
|
actief?: boolean;
|
|
@@ -15209,9 +15527,48 @@ export type Database = {
|
|
|
15209
15527
|
type?: string;
|
|
15210
15528
|
updated_at?: string;
|
|
15211
15529
|
vereist_medewerker?: boolean;
|
|
15530
|
+
werkplek?: string | null;
|
|
15212
15531
|
};
|
|
15213
15532
|
Relationships: [];
|
|
15214
15533
|
};
|
|
15534
|
+
sick_periods: {
|
|
15535
|
+
Row: {
|
|
15536
|
+
created_at: string;
|
|
15537
|
+
employee_id: string;
|
|
15538
|
+
end_date: string | null;
|
|
15539
|
+
id: string;
|
|
15540
|
+
notes: string | null;
|
|
15541
|
+
start_date: string;
|
|
15542
|
+
updated_at: string;
|
|
15543
|
+
};
|
|
15544
|
+
Insert: {
|
|
15545
|
+
created_at?: string;
|
|
15546
|
+
employee_id: string;
|
|
15547
|
+
end_date?: string | null;
|
|
15548
|
+
id?: string;
|
|
15549
|
+
notes?: string | null;
|
|
15550
|
+
start_date: string;
|
|
15551
|
+
updated_at?: string;
|
|
15552
|
+
};
|
|
15553
|
+
Update: {
|
|
15554
|
+
created_at?: string;
|
|
15555
|
+
employee_id?: string;
|
|
15556
|
+
end_date?: string | null;
|
|
15557
|
+
id?: string;
|
|
15558
|
+
notes?: string | null;
|
|
15559
|
+
start_date?: string;
|
|
15560
|
+
updated_at?: string;
|
|
15561
|
+
};
|
|
15562
|
+
Relationships: [
|
|
15563
|
+
{
|
|
15564
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
15565
|
+
columns: ["employee_id"];
|
|
15566
|
+
isOneToOne: false;
|
|
15567
|
+
referencedRelation: "profiles";
|
|
15568
|
+
referencedColumns: ["id"];
|
|
15569
|
+
}
|
|
15570
|
+
];
|
|
15571
|
+
};
|
|
15215
15572
|
sidebar_config: {
|
|
15216
15573
|
Row: {
|
|
15217
15574
|
id: string;
|
|
@@ -19489,6 +19846,19 @@ export type Database = {
|
|
|
19489
19846
|
};
|
|
19490
19847
|
Returns: undefined;
|
|
19491
19848
|
};
|
|
19849
|
+
approve_mailbox_order_proposal: {
|
|
19850
|
+
Args: {
|
|
19851
|
+
p_custom_fields: Json;
|
|
19852
|
+
p_customer_id: string;
|
|
19853
|
+
p_delivery_date: string;
|
|
19854
|
+
p_field_values?: Json;
|
|
19855
|
+
p_lines: Json;
|
|
19856
|
+
p_notes: string;
|
|
19857
|
+
p_proposal_id: string;
|
|
19858
|
+
p_reviewed_by: string;
|
|
19859
|
+
};
|
|
19860
|
+
Returns: Json;
|
|
19861
|
+
};
|
|
19492
19862
|
assign_cart_numbers: {
|
|
19493
19863
|
Args: {
|
|
19494
19864
|
p_carts: Json;
|
|
@@ -19920,7 +20290,7 @@ export type Database = {
|
|
|
19920
20290
|
Returns: string;
|
|
19921
20291
|
} | {
|
|
19922
20292
|
Args: {
|
|
19923
|
-
_feature_id
|
|
20293
|
+
_feature_id: string;
|
|
19924
20294
|
_module_id: string;
|
|
19925
20295
|
_user_id: string;
|
|
19926
20296
|
};
|
|
@@ -19971,6 +20341,13 @@ export type Database = {
|
|
|
19971
20341
|
};
|
|
19972
20342
|
Returns: string;
|
|
19973
20343
|
};
|
|
20344
|
+
employee_day_hours: {
|
|
20345
|
+
Args: {
|
|
20346
|
+
_day: string;
|
|
20347
|
+
_employee_id: string;
|
|
20348
|
+
};
|
|
20349
|
+
Returns: number;
|
|
20350
|
+
};
|
|
19974
20351
|
enqueue_cart_replan_if_unlocked: {
|
|
19975
20352
|
Args: {
|
|
19976
20353
|
p_order_id: string;
|
|
@@ -20324,6 +20701,19 @@ export type Database = {
|
|
|
20324
20701
|
Args: never;
|
|
20325
20702
|
Returns: boolean;
|
|
20326
20703
|
};
|
|
20704
|
+
itk_offerte_naar_werkbon: {
|
|
20705
|
+
Args: {
|
|
20706
|
+
_offerte_id: string;
|
|
20707
|
+
};
|
|
20708
|
+
Returns: string;
|
|
20709
|
+
};
|
|
20710
|
+
itk_offerte_restant_mandaat: {
|
|
20711
|
+
Args: {
|
|
20712
|
+
_exclude_offerte_id?: string;
|
|
20713
|
+
_werkbon_id: string;
|
|
20714
|
+
};
|
|
20715
|
+
Returns: number;
|
|
20716
|
+
};
|
|
20327
20717
|
jwt_has_role: {
|
|
20328
20718
|
Args: {
|
|
20329
20719
|
_role: Database["public"]["Enums"]["app_role"];
|
|
@@ -20334,9 +20724,19 @@ export type Database = {
|
|
|
20334
20724
|
Args: never;
|
|
20335
20725
|
Returns: {
|
|
20336
20726
|
avatar_url: string;
|
|
20727
|
+
color: string;
|
|
20337
20728
|
display_name: string;
|
|
20338
20729
|
email: string;
|
|
20730
|
+
hours_fri: number;
|
|
20731
|
+
hours_mon: number;
|
|
20732
|
+
hours_thu: number;
|
|
20733
|
+
hours_tue: number;
|
|
20734
|
+
hours_wed: number;
|
|
20339
20735
|
id: string;
|
|
20736
|
+
is_active: boolean;
|
|
20737
|
+
leave_balance_hours: number;
|
|
20738
|
+
persnr: string;
|
|
20739
|
+
phone: string;
|
|
20340
20740
|
roles: string[];
|
|
20341
20741
|
}[];
|
|
20342
20742
|
};
|
|
@@ -20663,17 +21063,6 @@ export type Database = {
|
|
|
20663
21063
|
Returns: string;
|
|
20664
21064
|
};
|
|
20665
21065
|
logistics_emit_event: {
|
|
20666
|
-
Args: {
|
|
20667
|
-
p_event_type: string;
|
|
20668
|
-
p_idempotency_key?: string;
|
|
20669
|
-
p_order_ref: string;
|
|
20670
|
-
p_payload?: Json;
|
|
20671
|
-
p_shadow?: boolean;
|
|
20672
|
-
p_source_module: string;
|
|
20673
|
-
p_strategy_id?: string;
|
|
20674
|
-
};
|
|
20675
|
-
Returns: Json;
|
|
20676
|
-
} | {
|
|
20677
21066
|
Args: {
|
|
20678
21067
|
p_event_type: string;
|
|
20679
21068
|
p_idempotency_key?: string;
|
|
@@ -22053,6 +22442,12 @@ export type Database = {
|
|
|
22053
22442
|
};
|
|
22054
22443
|
Returns: undefined;
|
|
22055
22444
|
};
|
|
22445
|
+
sync_sick_time_off: {
|
|
22446
|
+
Args: {
|
|
22447
|
+
_period_id: string;
|
|
22448
|
+
};
|
|
22449
|
+
Returns: number;
|
|
22450
|
+
};
|
|
22056
22451
|
trade_item_stock_duplicates: {
|
|
22057
22452
|
Args: never;
|
|
22058
22453
|
Returns: {
|
|
@@ -22130,7 +22525,7 @@ export type Database = {
|
|
|
22130
22525
|
Enums: {
|
|
22131
22526
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
22132
22527
|
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
22133
|
-
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
22528
|
+
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
|
|
22134
22529
|
doc_orientation: "portrait" | "landscape";
|
|
22135
22530
|
exact_env: "staging" | "live";
|
|
22136
22531
|
exact_push_status: "pending" | "sent" | "error";
|
|
@@ -22201,7 +22596,7 @@ export declare const Constants: {
|
|
|
22201
22596
|
readonly Enums: {
|
|
22202
22597
|
readonly ai_import_status: readonly ["nieuw", "verwerken", "bevestigen", "klaar", "mislukt"];
|
|
22203
22598
|
readonly app_role: readonly ["admin", "planner", "monteur", "administratie", "ai_admin", "manager", "warehouse", "sales", "developer", "receptie"];
|
|
22204
|
-
readonly doc_layout_type: readonly ["pakbon", "factuur", "offerte", "orderbevestiging", "etiket", "verzendlabel", "productlabel", "barcode_label", "magazijnlijst", "controlelijst", "transportdocument", "vrij", "sticker", "productiebon"];
|
|
22599
|
+
readonly doc_layout_type: readonly ["pakbon", "factuur", "offerte", "orderbevestiging", "etiket", "verzendlabel", "productlabel", "barcode_label", "magazijnlijst", "controlelijst", "transportdocument", "vrij", "sticker", "productiebon", "veilingbon", "afleverbrief", "veilingbrief"];
|
|
22205
22600
|
readonly doc_orientation: readonly ["portrait", "landscape"];
|
|
22206
22601
|
readonly exact_env: readonly ["staging", "live"];
|
|
22207
22602
|
readonly exact_push_status: readonly ["pending", "sent", "error"];
|