@flowselections/layout-maker 1.8.0 → 1.8.2
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 +3 -2
- package/dist-lib/components/LogosPage.d.ts.map +1 -1
- package/dist-lib/components/LogosPage.js +3 -2
- package/dist-lib/index.d.ts +1 -1
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +2 -2
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +305 -3
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +305 -3
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +316 -3
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/aiLayout.functions.d.ts +305 -3
- package/dist-lib/lib/aiLayout.functions.d.ts.map +1 -1
- 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/printService.functions.d.ts +1220 -12
- package/dist-lib/lib/printService.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -5157,6 +5157,42 @@ export type Database = {
|
|
|
5157
5157
|
};
|
|
5158
5158
|
Relationships: [];
|
|
5159
5159
|
};
|
|
5160
|
+
facturen: {
|
|
5161
|
+
Row: {
|
|
5162
|
+
bedrag_incl_btw: number;
|
|
5163
|
+
created_at: string;
|
|
5164
|
+
datum: string;
|
|
5165
|
+
factuurnummer: string;
|
|
5166
|
+
id: string;
|
|
5167
|
+
klantnaam: string;
|
|
5168
|
+
status: string;
|
|
5169
|
+
updated_at: string;
|
|
5170
|
+
user_id: string;
|
|
5171
|
+
};
|
|
5172
|
+
Insert: {
|
|
5173
|
+
bedrag_incl_btw: number;
|
|
5174
|
+
created_at?: string;
|
|
5175
|
+
datum?: string;
|
|
5176
|
+
factuurnummer: string;
|
|
5177
|
+
id?: string;
|
|
5178
|
+
klantnaam: string;
|
|
5179
|
+
status?: string;
|
|
5180
|
+
updated_at?: string;
|
|
5181
|
+
user_id?: string;
|
|
5182
|
+
};
|
|
5183
|
+
Update: {
|
|
5184
|
+
bedrag_incl_btw?: number;
|
|
5185
|
+
created_at?: string;
|
|
5186
|
+
datum?: string;
|
|
5187
|
+
factuurnummer?: string;
|
|
5188
|
+
id?: string;
|
|
5189
|
+
klantnaam?: string;
|
|
5190
|
+
status?: string;
|
|
5191
|
+
updated_at?: string;
|
|
5192
|
+
user_id?: string;
|
|
5193
|
+
};
|
|
5194
|
+
Relationships: [];
|
|
5195
|
+
};
|
|
5160
5196
|
floricode_connection_settings: {
|
|
5161
5197
|
Row: {
|
|
5162
5198
|
catalog_key: string | null;
|
|
@@ -8120,6 +8156,9 @@ export type Database = {
|
|
|
8120
8156
|
omschrijving: string;
|
|
8121
8157
|
rejected_at: string | null;
|
|
8122
8158
|
sent_at: string | null;
|
|
8159
|
+
source_number: string | null;
|
|
8160
|
+
source_ref: string | null;
|
|
8161
|
+
source_type: string;
|
|
8123
8162
|
status: string;
|
|
8124
8163
|
subtotal_cents: number;
|
|
8125
8164
|
total_cents: number;
|
|
@@ -8150,6 +8189,9 @@ export type Database = {
|
|
|
8150
8189
|
omschrijving?: string;
|
|
8151
8190
|
rejected_at?: string | null;
|
|
8152
8191
|
sent_at?: string | null;
|
|
8192
|
+
source_number?: string | null;
|
|
8193
|
+
source_ref?: string | null;
|
|
8194
|
+
source_type?: string;
|
|
8153
8195
|
status?: string;
|
|
8154
8196
|
subtotal_cents?: number;
|
|
8155
8197
|
total_cents?: number;
|
|
@@ -8180,6 +8222,9 @@ export type Database = {
|
|
|
8180
8222
|
omschrijving?: string;
|
|
8181
8223
|
rejected_at?: string | null;
|
|
8182
8224
|
sent_at?: string | null;
|
|
8225
|
+
source_number?: string | null;
|
|
8226
|
+
source_ref?: string | null;
|
|
8227
|
+
source_type?: string;
|
|
8183
8228
|
status?: string;
|
|
8184
8229
|
subtotal_cents?: number;
|
|
8185
8230
|
total_cents?: number;
|
|
@@ -10664,6 +10709,65 @@ export type Database = {
|
|
|
10664
10709
|
}
|
|
10665
10710
|
];
|
|
10666
10711
|
};
|
|
10712
|
+
medewerker_details: {
|
|
10713
|
+
Row: {
|
|
10714
|
+
color: string | null;
|
|
10715
|
+
created_at: string;
|
|
10716
|
+
hours_fri: number | null;
|
|
10717
|
+
hours_mon: number | null;
|
|
10718
|
+
hours_thu: number | null;
|
|
10719
|
+
hours_tue: number | null;
|
|
10720
|
+
hours_wed: number | null;
|
|
10721
|
+
id: string;
|
|
10722
|
+
is_active: boolean;
|
|
10723
|
+
leave_balance_hours: number;
|
|
10724
|
+
persnr: string | null;
|
|
10725
|
+
phone: string | null;
|
|
10726
|
+
profile_id: string;
|
|
10727
|
+
updated_at: string;
|
|
10728
|
+
};
|
|
10729
|
+
Insert: {
|
|
10730
|
+
color?: string | null;
|
|
10731
|
+
created_at?: string;
|
|
10732
|
+
hours_fri?: number | null;
|
|
10733
|
+
hours_mon?: number | null;
|
|
10734
|
+
hours_thu?: number | null;
|
|
10735
|
+
hours_tue?: number | null;
|
|
10736
|
+
hours_wed?: number | null;
|
|
10737
|
+
id?: string;
|
|
10738
|
+
is_active?: boolean;
|
|
10739
|
+
leave_balance_hours?: number;
|
|
10740
|
+
persnr?: string | null;
|
|
10741
|
+
phone?: string | null;
|
|
10742
|
+
profile_id: string;
|
|
10743
|
+
updated_at?: string;
|
|
10744
|
+
};
|
|
10745
|
+
Update: {
|
|
10746
|
+
color?: string | null;
|
|
10747
|
+
created_at?: string;
|
|
10748
|
+
hours_fri?: number | null;
|
|
10749
|
+
hours_mon?: number | null;
|
|
10750
|
+
hours_thu?: number | null;
|
|
10751
|
+
hours_tue?: number | null;
|
|
10752
|
+
hours_wed?: number | null;
|
|
10753
|
+
id?: string;
|
|
10754
|
+
is_active?: boolean;
|
|
10755
|
+
leave_balance_hours?: number;
|
|
10756
|
+
persnr?: string | null;
|
|
10757
|
+
phone?: string | null;
|
|
10758
|
+
profile_id?: string;
|
|
10759
|
+
updated_at?: string;
|
|
10760
|
+
};
|
|
10761
|
+
Relationships: [
|
|
10762
|
+
{
|
|
10763
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
10764
|
+
columns: ["profile_id"];
|
|
10765
|
+
isOneToOne: true;
|
|
10766
|
+
referencedRelation: "profiles";
|
|
10767
|
+
referencedColumns: ["id"];
|
|
10768
|
+
}
|
|
10769
|
+
];
|
|
10770
|
+
};
|
|
10667
10771
|
module_features: {
|
|
10668
10772
|
Row: {
|
|
10669
10773
|
created_at: string;
|
|
@@ -14176,6 +14280,71 @@ export type Database = {
|
|
|
14176
14280
|
};
|
|
14177
14281
|
Relationships: [];
|
|
14178
14282
|
};
|
|
14283
|
+
profile_modules: {
|
|
14284
|
+
Row: {
|
|
14285
|
+
created_at: string;
|
|
14286
|
+
id: string;
|
|
14287
|
+
module_id: string;
|
|
14288
|
+
profile_id: string;
|
|
14289
|
+
};
|
|
14290
|
+
Insert: {
|
|
14291
|
+
created_at?: string;
|
|
14292
|
+
id?: string;
|
|
14293
|
+
module_id: string;
|
|
14294
|
+
profile_id: string;
|
|
14295
|
+
};
|
|
14296
|
+
Update: {
|
|
14297
|
+
created_at?: string;
|
|
14298
|
+
id?: string;
|
|
14299
|
+
module_id?: string;
|
|
14300
|
+
profile_id?: string;
|
|
14301
|
+
};
|
|
14302
|
+
Relationships: [
|
|
14303
|
+
{
|
|
14304
|
+
foreignKeyName: "profile_modules_profile_id_fkey";
|
|
14305
|
+
columns: ["profile_id"];
|
|
14306
|
+
isOneToOne: false;
|
|
14307
|
+
referencedRelation: "profiles_org";
|
|
14308
|
+
referencedColumns: ["id"];
|
|
14309
|
+
}
|
|
14310
|
+
];
|
|
14311
|
+
};
|
|
14312
|
+
profile_roles: {
|
|
14313
|
+
Row: {
|
|
14314
|
+
created_at: string;
|
|
14315
|
+
id: string;
|
|
14316
|
+
profile_id: string;
|
|
14317
|
+
role_id: string;
|
|
14318
|
+
};
|
|
14319
|
+
Insert: {
|
|
14320
|
+
created_at?: string;
|
|
14321
|
+
id?: string;
|
|
14322
|
+
profile_id: string;
|
|
14323
|
+
role_id: string;
|
|
14324
|
+
};
|
|
14325
|
+
Update: {
|
|
14326
|
+
created_at?: string;
|
|
14327
|
+
id?: string;
|
|
14328
|
+
profile_id?: string;
|
|
14329
|
+
role_id?: string;
|
|
14330
|
+
};
|
|
14331
|
+
Relationships: [
|
|
14332
|
+
{
|
|
14333
|
+
foreignKeyName: "profile_roles_profile_id_fkey";
|
|
14334
|
+
columns: ["profile_id"];
|
|
14335
|
+
isOneToOne: false;
|
|
14336
|
+
referencedRelation: "profiles_org";
|
|
14337
|
+
referencedColumns: ["id"];
|
|
14338
|
+
},
|
|
14339
|
+
{
|
|
14340
|
+
foreignKeyName: "profile_roles_role_id_fkey";
|
|
14341
|
+
columns: ["role_id"];
|
|
14342
|
+
isOneToOne: false;
|
|
14343
|
+
referencedRelation: "roles";
|
|
14344
|
+
referencedColumns: ["id"];
|
|
14345
|
+
}
|
|
14346
|
+
];
|
|
14347
|
+
};
|
|
14179
14348
|
profiles: {
|
|
14180
14349
|
Row: {
|
|
14181
14350
|
address: string | null;
|
|
@@ -14223,6 +14392,41 @@ export type Database = {
|
|
|
14223
14392
|
}
|
|
14224
14393
|
];
|
|
14225
14394
|
};
|
|
14395
|
+
profiles_org: {
|
|
14396
|
+
Row: {
|
|
14397
|
+
created_at: string;
|
|
14398
|
+
id: string;
|
|
14399
|
+
is_default: boolean;
|
|
14400
|
+
name: string;
|
|
14401
|
+
tenant_id: string | null;
|
|
14402
|
+
updated_at: string;
|
|
14403
|
+
};
|
|
14404
|
+
Insert: {
|
|
14405
|
+
created_at?: string;
|
|
14406
|
+
id?: string;
|
|
14407
|
+
is_default?: boolean;
|
|
14408
|
+
name: string;
|
|
14409
|
+
tenant_id?: string | null;
|
|
14410
|
+
updated_at?: string;
|
|
14411
|
+
};
|
|
14412
|
+
Update: {
|
|
14413
|
+
created_at?: string;
|
|
14414
|
+
id?: string;
|
|
14415
|
+
is_default?: boolean;
|
|
14416
|
+
name?: string;
|
|
14417
|
+
tenant_id?: string | null;
|
|
14418
|
+
updated_at?: string;
|
|
14419
|
+
};
|
|
14420
|
+
Relationships: [
|
|
14421
|
+
{
|
|
14422
|
+
foreignKeyName: "profiles_org_tenant_id_fkey";
|
|
14423
|
+
columns: ["tenant_id"];
|
|
14424
|
+
isOneToOne: false;
|
|
14425
|
+
referencedRelation: "tenants";
|
|
14426
|
+
referencedColumns: ["id"];
|
|
14427
|
+
}
|
|
14428
|
+
];
|
|
14429
|
+
};
|
|
14226
14430
|
projects: {
|
|
14227
14431
|
Row: {
|
|
14228
14432
|
contact_name: string | null;
|
|
@@ -15472,6 +15676,44 @@ export type Database = {
|
|
|
15472
15676
|
};
|
|
15473
15677
|
Relationships: [];
|
|
15474
15678
|
};
|
|
15679
|
+
sick_periods: {
|
|
15680
|
+
Row: {
|
|
15681
|
+
created_at: string;
|
|
15682
|
+
employee_id: string;
|
|
15683
|
+
end_date: string | null;
|
|
15684
|
+
id: string;
|
|
15685
|
+
notes: string | null;
|
|
15686
|
+
start_date: string;
|
|
15687
|
+
updated_at: string;
|
|
15688
|
+
};
|
|
15689
|
+
Insert: {
|
|
15690
|
+
created_at?: string;
|
|
15691
|
+
employee_id: string;
|
|
15692
|
+
end_date?: string | null;
|
|
15693
|
+
id?: string;
|
|
15694
|
+
notes?: string | null;
|
|
15695
|
+
start_date: string;
|
|
15696
|
+
updated_at?: string;
|
|
15697
|
+
};
|
|
15698
|
+
Update: {
|
|
15699
|
+
created_at?: string;
|
|
15700
|
+
employee_id?: string;
|
|
15701
|
+
end_date?: string | null;
|
|
15702
|
+
id?: string;
|
|
15703
|
+
notes?: string | null;
|
|
15704
|
+
start_date?: string;
|
|
15705
|
+
updated_at?: string;
|
|
15706
|
+
};
|
|
15707
|
+
Relationships: [
|
|
15708
|
+
{
|
|
15709
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
15710
|
+
columns: ["employee_id"];
|
|
15711
|
+
isOneToOne: false;
|
|
15712
|
+
referencedRelation: "profiles";
|
|
15713
|
+
referencedColumns: ["id"];
|
|
15714
|
+
}
|
|
15715
|
+
];
|
|
15716
|
+
};
|
|
15475
15717
|
sidebar_config: {
|
|
15476
15718
|
Row: {
|
|
15477
15719
|
id: string;
|
|
@@ -16687,7 +16929,6 @@ export type Database = {
|
|
|
16687
16929
|
invoice_enabled_mo: boolean;
|
|
16688
16930
|
payment_gl_account: string;
|
|
16689
16931
|
payment_journal_code: string;
|
|
16690
|
-
print_werkplek: string | null;
|
|
16691
16932
|
updated_at: string;
|
|
16692
16933
|
user_id: string;
|
|
16693
16934
|
vat_code_eu_reverse: string | null;
|
|
@@ -16710,7 +16951,6 @@ export type Database = {
|
|
|
16710
16951
|
invoice_enabled_mo?: boolean;
|
|
16711
16952
|
payment_gl_account?: string;
|
|
16712
16953
|
payment_journal_code?: string;
|
|
16713
|
-
print_werkplek?: string | null;
|
|
16714
16954
|
updated_at?: string;
|
|
16715
16955
|
user_id: string;
|
|
16716
16956
|
vat_code_eu_reverse?: string | null;
|
|
@@ -16733,7 +16973,6 @@ export type Database = {
|
|
|
16733
16973
|
invoice_enabled_mo?: boolean;
|
|
16734
16974
|
payment_gl_account?: string;
|
|
16735
16975
|
payment_journal_code?: string;
|
|
16736
|
-
print_werkplek?: string | null;
|
|
16737
16976
|
updated_at?: string;
|
|
16738
16977
|
user_id?: string;
|
|
16739
16978
|
vat_code_eu_reverse?: string | null;
|
|
@@ -20247,6 +20486,13 @@ export type Database = {
|
|
|
20247
20486
|
};
|
|
20248
20487
|
Returns: string;
|
|
20249
20488
|
};
|
|
20489
|
+
employee_day_hours: {
|
|
20490
|
+
Args: {
|
|
20491
|
+
_day: string;
|
|
20492
|
+
_employee_id: string;
|
|
20493
|
+
};
|
|
20494
|
+
Returns: number;
|
|
20495
|
+
};
|
|
20250
20496
|
enqueue_cart_replan_if_unlocked: {
|
|
20251
20497
|
Args: {
|
|
20252
20498
|
p_order_id: string;
|
|
@@ -20623,9 +20869,19 @@ export type Database = {
|
|
|
20623
20869
|
Args: never;
|
|
20624
20870
|
Returns: {
|
|
20625
20871
|
avatar_url: string;
|
|
20872
|
+
color: string;
|
|
20626
20873
|
display_name: string;
|
|
20627
20874
|
email: string;
|
|
20875
|
+
hours_fri: number;
|
|
20876
|
+
hours_mon: number;
|
|
20877
|
+
hours_thu: number;
|
|
20878
|
+
hours_tue: number;
|
|
20879
|
+
hours_wed: number;
|
|
20628
20880
|
id: string;
|
|
20881
|
+
is_active: boolean;
|
|
20882
|
+
leave_balance_hours: number;
|
|
20883
|
+
persnr: string;
|
|
20884
|
+
phone: string;
|
|
20629
20885
|
roles: string[];
|
|
20630
20886
|
}[];
|
|
20631
20887
|
};
|
|
@@ -21796,6 +22052,37 @@ export type Database = {
|
|
|
21796
22052
|
};
|
|
21797
22053
|
Returns: undefined;
|
|
21798
22054
|
};
|
|
22055
|
+
quote_create_from_source: {
|
|
22056
|
+
Args: {
|
|
22057
|
+
_payload?: Json;
|
|
22058
|
+
_source_id: string;
|
|
22059
|
+
_source_type: string;
|
|
22060
|
+
};
|
|
22061
|
+
Returns: string;
|
|
22062
|
+
};
|
|
22063
|
+
quote_get_billable_lines: {
|
|
22064
|
+
Args: {
|
|
22065
|
+
_quotation_id: string;
|
|
22066
|
+
};
|
|
22067
|
+
Returns: Json;
|
|
22068
|
+
};
|
|
22069
|
+
quote_get_summary: {
|
|
22070
|
+
Args: {
|
|
22071
|
+
_quotation_id: string;
|
|
22072
|
+
};
|
|
22073
|
+
Returns: Json;
|
|
22074
|
+
};
|
|
22075
|
+
quote_list_packages: {
|
|
22076
|
+
Args: never;
|
|
22077
|
+
Returns: Json;
|
|
22078
|
+
};
|
|
22079
|
+
quote_list_sources: {
|
|
22080
|
+
Args: {
|
|
22081
|
+
_limit?: number;
|
|
22082
|
+
_source_type?: string;
|
|
22083
|
+
};
|
|
22084
|
+
Returns: Json;
|
|
22085
|
+
};
|
|
21799
22086
|
recompute_all_reserved_stock: {
|
|
21800
22087
|
Args: never;
|
|
21801
22088
|
Returns: undefined;
|
|
@@ -22331,6 +22618,12 @@ export type Database = {
|
|
|
22331
22618
|
};
|
|
22332
22619
|
Returns: undefined;
|
|
22333
22620
|
};
|
|
22621
|
+
sync_sick_time_off: {
|
|
22622
|
+
Args: {
|
|
22623
|
+
_period_id: string;
|
|
22624
|
+
};
|
|
22625
|
+
Returns: number;
|
|
22626
|
+
};
|
|
22334
22627
|
trade_item_stock_duplicates: {
|
|
22335
22628
|
Args: never;
|
|
22336
22629
|
Returns: {
|
|
@@ -22404,6 +22697,26 @@ export type Database = {
|
|
|
22404
22697
|
Args: never;
|
|
22405
22698
|
Returns: string;
|
|
22406
22699
|
};
|
|
22700
|
+
wo_create_from_source: {
|
|
22701
|
+
Args: {
|
|
22702
|
+
_payload?: Json;
|
|
22703
|
+
_source_id: string;
|
|
22704
|
+
_source_type: string;
|
|
22705
|
+
};
|
|
22706
|
+
Returns: string;
|
|
22707
|
+
};
|
|
22708
|
+
wo_get_billable_lines: {
|
|
22709
|
+
Args: {
|
|
22710
|
+
_work_order_id: string;
|
|
22711
|
+
};
|
|
22712
|
+
Returns: Json;
|
|
22713
|
+
};
|
|
22714
|
+
wo_get_summary: {
|
|
22715
|
+
Args: {
|
|
22716
|
+
_work_order_id: string;
|
|
22717
|
+
};
|
|
22718
|
+
Returns: Json;
|
|
22719
|
+
};
|
|
22407
22720
|
};
|
|
22408
22721
|
Enums: {
|
|
22409
22722
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|