@flowselections/admin-installatietechniek 1.0.3 → 1.0.4
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/components/AdminForInstallatieTechniek.d.ts +4 -0
- package/dist-lib/components/AdminForInstallatieTechniek.d.ts.map +1 -1
- package/dist-lib/components/AdminForInstallatieTechniek.js +212 -197
- package/dist-lib/hooks/useModulePermission.d.ts +4 -3
- package/dist-lib/hooks/useModulePermission.d.ts.map +1 -1
- package/dist-lib/hooks/useModulePermission.js +10 -6
- package/dist-lib/index.d.ts +1 -3
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +0 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +407 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +407 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +407 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +411 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/admin.functions.d.ts +48897 -1136
- package/dist-lib/lib/admin.functions.d.ts.map +1 -1
- package/dist-lib/lib/admin.functions.js +340 -181
- package/dist-lib/lib/moduleDiscovery.d.ts +7 -2
- package/dist-lib/lib/moduleDiscovery.d.ts.map +1 -1
- package/dist-lib/lib/moduleDiscovery.js +26 -11
- package/package.json +87 -87
- package/dist-lib/hooks/useModuleOrder.d.ts +0 -30
- package/dist-lib/hooks/useModuleOrder.d.ts.map +0 -1
- package/dist-lib/hooks/useModuleOrder.js +0 -99
|
@@ -6479,6 +6479,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
6479
6479
|
Row: {
|
|
6480
6480
|
buyer_organization_id: string | null;
|
|
6481
6481
|
connection_id: string;
|
|
6482
|
+
controlled_at: string | null;
|
|
6482
6483
|
created_at: string;
|
|
6483
6484
|
data: import("./types").Json;
|
|
6484
6485
|
floriday_id: string;
|
|
@@ -6490,6 +6491,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
6490
6491
|
Insert: {
|
|
6491
6492
|
buyer_organization_id?: string | null;
|
|
6492
6493
|
connection_id: string;
|
|
6494
|
+
controlled_at?: string | null;
|
|
6493
6495
|
created_at?: string;
|
|
6494
6496
|
data: import("./types").Json;
|
|
6495
6497
|
floriday_id: string;
|
|
@@ -6501,6 +6503,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
6501
6503
|
Update: {
|
|
6502
6504
|
buyer_organization_id?: string | null;
|
|
6503
6505
|
connection_id?: string;
|
|
6506
|
+
controlled_at?: string | null;
|
|
6504
6507
|
created_at?: string;
|
|
6505
6508
|
data?: import("./types").Json;
|
|
6506
6509
|
floriday_id?: string;
|
|
@@ -7402,6 +7405,54 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7402
7405
|
};
|
|
7403
7406
|
Relationships: [];
|
|
7404
7407
|
};
|
|
7408
|
+
invoice_timing_settings: {
|
|
7409
|
+
Row: {
|
|
7410
|
+
anchor: string;
|
|
7411
|
+
business_days_only: boolean;
|
|
7412
|
+
created_at: string;
|
|
7413
|
+
enabled: boolean;
|
|
7414
|
+
id: string;
|
|
7415
|
+
offset_days: number;
|
|
7416
|
+
pickup_anchor: string;
|
|
7417
|
+
pickup_business_days_only: boolean;
|
|
7418
|
+
pickup_offset_days: number;
|
|
7419
|
+
pickup_time_of_day: string;
|
|
7420
|
+
singleton: boolean;
|
|
7421
|
+
time_of_day: string;
|
|
7422
|
+
updated_at: string;
|
|
7423
|
+
};
|
|
7424
|
+
Insert: {
|
|
7425
|
+
anchor?: string;
|
|
7426
|
+
business_days_only?: boolean;
|
|
7427
|
+
created_at?: string;
|
|
7428
|
+
enabled?: boolean;
|
|
7429
|
+
id?: string;
|
|
7430
|
+
offset_days?: number;
|
|
7431
|
+
pickup_anchor?: string;
|
|
7432
|
+
pickup_business_days_only?: boolean;
|
|
7433
|
+
pickup_offset_days?: number;
|
|
7434
|
+
pickup_time_of_day?: string;
|
|
7435
|
+
singleton?: boolean;
|
|
7436
|
+
time_of_day?: string;
|
|
7437
|
+
updated_at?: string;
|
|
7438
|
+
};
|
|
7439
|
+
Update: {
|
|
7440
|
+
anchor?: string;
|
|
7441
|
+
business_days_only?: boolean;
|
|
7442
|
+
created_at?: string;
|
|
7443
|
+
enabled?: boolean;
|
|
7444
|
+
id?: string;
|
|
7445
|
+
offset_days?: number;
|
|
7446
|
+
pickup_anchor?: string;
|
|
7447
|
+
pickup_business_days_only?: boolean;
|
|
7448
|
+
pickup_offset_days?: number;
|
|
7449
|
+
pickup_time_of_day?: string;
|
|
7450
|
+
singleton?: boolean;
|
|
7451
|
+
time_of_day?: string;
|
|
7452
|
+
updated_at?: string;
|
|
7453
|
+
};
|
|
7454
|
+
Relationships: [];
|
|
7455
|
+
};
|
|
7405
7456
|
itk_contact_persons: {
|
|
7406
7457
|
Row: {
|
|
7407
7458
|
created_at: string;
|
|
@@ -8632,6 +8683,45 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8632
8683
|
};
|
|
8633
8684
|
Relationships: [];
|
|
8634
8685
|
};
|
|
8686
|
+
logistics_plan_queue: {
|
|
8687
|
+
Row: {
|
|
8688
|
+
attempts: number;
|
|
8689
|
+
claimed_at: string | null;
|
|
8690
|
+
enqueued_at: string;
|
|
8691
|
+
error: string | null;
|
|
8692
|
+
id: string;
|
|
8693
|
+
next_attempt_at: string;
|
|
8694
|
+
order_id: string;
|
|
8695
|
+
reason: string;
|
|
8696
|
+
status: string;
|
|
8697
|
+
updated_at: string;
|
|
8698
|
+
};
|
|
8699
|
+
Insert: {
|
|
8700
|
+
attempts?: number;
|
|
8701
|
+
claimed_at?: string | null;
|
|
8702
|
+
enqueued_at?: string;
|
|
8703
|
+
error?: string | null;
|
|
8704
|
+
id?: string;
|
|
8705
|
+
next_attempt_at?: string;
|
|
8706
|
+
order_id: string;
|
|
8707
|
+
reason?: string;
|
|
8708
|
+
status?: string;
|
|
8709
|
+
updated_at?: string;
|
|
8710
|
+
};
|
|
8711
|
+
Update: {
|
|
8712
|
+
attempts?: number;
|
|
8713
|
+
claimed_at?: string | null;
|
|
8714
|
+
enqueued_at?: string;
|
|
8715
|
+
error?: string | null;
|
|
8716
|
+
id?: string;
|
|
8717
|
+
next_attempt_at?: string;
|
|
8718
|
+
order_id?: string;
|
|
8719
|
+
reason?: string;
|
|
8720
|
+
status?: string;
|
|
8721
|
+
updated_at?: string;
|
|
8722
|
+
};
|
|
8723
|
+
Relationships: [];
|
|
8724
|
+
};
|
|
8635
8725
|
logistics_plan_runs: {
|
|
8636
8726
|
Row: {
|
|
8637
8727
|
created_at: string;
|
|
@@ -8707,6 +8797,24 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8707
8797
|
referencedColumns: ["id"];
|
|
8708
8798
|
}];
|
|
8709
8799
|
};
|
|
8800
|
+
logistics_plan_settings: {
|
|
8801
|
+
Row: {
|
|
8802
|
+
key: string;
|
|
8803
|
+
updated_at: string;
|
|
8804
|
+
value: string;
|
|
8805
|
+
};
|
|
8806
|
+
Insert: {
|
|
8807
|
+
key: string;
|
|
8808
|
+
updated_at?: string;
|
|
8809
|
+
value: string;
|
|
8810
|
+
};
|
|
8811
|
+
Update: {
|
|
8812
|
+
key?: string;
|
|
8813
|
+
updated_at?: string;
|
|
8814
|
+
value?: string;
|
|
8815
|
+
};
|
|
8816
|
+
Relationships: [];
|
|
8817
|
+
};
|
|
8710
8818
|
logistics_rebuffer_state: {
|
|
8711
8819
|
Row: {
|
|
8712
8820
|
created_at: string;
|
|
@@ -9417,14 +9525,17 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9417
9525
|
};
|
|
9418
9526
|
mailbox_messages: {
|
|
9419
9527
|
Row: {
|
|
9528
|
+
attachments: import("./types").Json;
|
|
9420
9529
|
body_html: string | null;
|
|
9421
9530
|
body_text: string | null;
|
|
9531
|
+
cc_recipients: import("./types").Json;
|
|
9422
9532
|
connection_id: string | null;
|
|
9423
9533
|
created_at: string;
|
|
9424
9534
|
error_message: string | null;
|
|
9425
9535
|
external_id: string | null;
|
|
9426
9536
|
from_email: string | null;
|
|
9427
9537
|
from_name: string | null;
|
|
9538
|
+
has_attachments: boolean;
|
|
9428
9539
|
id: string;
|
|
9429
9540
|
message_id: string | null;
|
|
9430
9541
|
profile_id: string | null;
|
|
@@ -9432,18 +9543,22 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9432
9543
|
received_at: string | null;
|
|
9433
9544
|
status: string;
|
|
9434
9545
|
subject: string | null;
|
|
9546
|
+
to_recipients: import("./types").Json;
|
|
9435
9547
|
uid: number | null;
|
|
9436
9548
|
updated_at: string;
|
|
9437
9549
|
};
|
|
9438
9550
|
Insert: {
|
|
9551
|
+
attachments?: import("./types").Json;
|
|
9439
9552
|
body_html?: string | null;
|
|
9440
9553
|
body_text?: string | null;
|
|
9554
|
+
cc_recipients?: import("./types").Json;
|
|
9441
9555
|
connection_id?: string | null;
|
|
9442
9556
|
created_at?: string;
|
|
9443
9557
|
error_message?: string | null;
|
|
9444
9558
|
external_id?: string | null;
|
|
9445
9559
|
from_email?: string | null;
|
|
9446
9560
|
from_name?: string | null;
|
|
9561
|
+
has_attachments?: boolean;
|
|
9447
9562
|
id?: string;
|
|
9448
9563
|
message_id?: string | null;
|
|
9449
9564
|
profile_id?: string | null;
|
|
@@ -9451,18 +9566,22 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9451
9566
|
received_at?: string | null;
|
|
9452
9567
|
status?: string;
|
|
9453
9568
|
subject?: string | null;
|
|
9569
|
+
to_recipients?: import("./types").Json;
|
|
9454
9570
|
uid?: number | null;
|
|
9455
9571
|
updated_at?: string;
|
|
9456
9572
|
};
|
|
9457
9573
|
Update: {
|
|
9574
|
+
attachments?: import("./types").Json;
|
|
9458
9575
|
body_html?: string | null;
|
|
9459
9576
|
body_text?: string | null;
|
|
9577
|
+
cc_recipients?: import("./types").Json;
|
|
9460
9578
|
connection_id?: string | null;
|
|
9461
9579
|
created_at?: string;
|
|
9462
9580
|
error_message?: string | null;
|
|
9463
9581
|
external_id?: string | null;
|
|
9464
9582
|
from_email?: string | null;
|
|
9465
9583
|
from_name?: string | null;
|
|
9584
|
+
has_attachments?: boolean;
|
|
9466
9585
|
id?: string;
|
|
9467
9586
|
message_id?: string | null;
|
|
9468
9587
|
profile_id?: string | null;
|
|
@@ -9470,6 +9589,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9470
9589
|
received_at?: string | null;
|
|
9471
9590
|
status?: string;
|
|
9472
9591
|
subject?: string | null;
|
|
9592
|
+
to_recipients?: import("./types").Json;
|
|
9473
9593
|
uid?: number | null;
|
|
9474
9594
|
updated_at?: string;
|
|
9475
9595
|
};
|
|
@@ -9850,6 +9970,36 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9850
9970
|
};
|
|
9851
9971
|
Relationships: [];
|
|
9852
9972
|
};
|
|
9973
|
+
module_features: {
|
|
9974
|
+
Row: {
|
|
9975
|
+
created_at: string;
|
|
9976
|
+
feature_id: string;
|
|
9977
|
+
id: string;
|
|
9978
|
+
is_active: boolean;
|
|
9979
|
+
last_seen_at: string;
|
|
9980
|
+
module_id: string;
|
|
9981
|
+
name: string;
|
|
9982
|
+
};
|
|
9983
|
+
Insert: {
|
|
9984
|
+
created_at?: string;
|
|
9985
|
+
feature_id: string;
|
|
9986
|
+
id?: string;
|
|
9987
|
+
is_active?: boolean;
|
|
9988
|
+
last_seen_at?: string;
|
|
9989
|
+
module_id: string;
|
|
9990
|
+
name: string;
|
|
9991
|
+
};
|
|
9992
|
+
Update: {
|
|
9993
|
+
created_at?: string;
|
|
9994
|
+
feature_id?: string;
|
|
9995
|
+
id?: string;
|
|
9996
|
+
is_active?: boolean;
|
|
9997
|
+
last_seen_at?: string;
|
|
9998
|
+
module_id?: string;
|
|
9999
|
+
name?: string;
|
|
10000
|
+
};
|
|
10001
|
+
Relationships: [];
|
|
10002
|
+
};
|
|
9853
10003
|
module_permissions: {
|
|
9854
10004
|
Row: {
|
|
9855
10005
|
created_at: string;
|
|
@@ -10966,6 +11116,45 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10966
11116
|
};
|
|
10967
11117
|
Relationships: [];
|
|
10968
11118
|
};
|
|
11119
|
+
order_invoice_links: {
|
|
11120
|
+
Row: {
|
|
11121
|
+
attempts: number;
|
|
11122
|
+
created_at: string;
|
|
11123
|
+
error_message: string | null;
|
|
11124
|
+
id: string;
|
|
11125
|
+
invoice_number: string | null;
|
|
11126
|
+
next_attempt_at: string;
|
|
11127
|
+
order_id: string;
|
|
11128
|
+
processed_at: string | null;
|
|
11129
|
+
status: string;
|
|
11130
|
+
updated_at: string;
|
|
11131
|
+
};
|
|
11132
|
+
Insert: {
|
|
11133
|
+
attempts?: number;
|
|
11134
|
+
created_at?: string;
|
|
11135
|
+
error_message?: string | null;
|
|
11136
|
+
id?: string;
|
|
11137
|
+
invoice_number?: string | null;
|
|
11138
|
+
next_attempt_at?: string;
|
|
11139
|
+
order_id: string;
|
|
11140
|
+
processed_at?: string | null;
|
|
11141
|
+
status?: string;
|
|
11142
|
+
updated_at?: string;
|
|
11143
|
+
};
|
|
11144
|
+
Update: {
|
|
11145
|
+
attempts?: number;
|
|
11146
|
+
created_at?: string;
|
|
11147
|
+
error_message?: string | null;
|
|
11148
|
+
id?: string;
|
|
11149
|
+
invoice_number?: string | null;
|
|
11150
|
+
next_attempt_at?: string;
|
|
11151
|
+
order_id?: string;
|
|
11152
|
+
processed_at?: string | null;
|
|
11153
|
+
status?: string;
|
|
11154
|
+
updated_at?: string;
|
|
11155
|
+
};
|
|
11156
|
+
Relationships: [];
|
|
11157
|
+
};
|
|
10969
11158
|
order_items: {
|
|
10970
11159
|
Row: {
|
|
10971
11160
|
crates_per_layer: number | null;
|
|
@@ -11148,6 +11337,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11148
11337
|
delivery_date: string | null;
|
|
11149
11338
|
floriday_sales_order_id: string | null;
|
|
11150
11339
|
id: string;
|
|
11340
|
+
invoice_due_at: string | null;
|
|
11151
11341
|
is_reservation: boolean;
|
|
11152
11342
|
notes: string | null;
|
|
11153
11343
|
order_date: string;
|
|
@@ -11169,6 +11359,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11169
11359
|
delivery_date?: string | null;
|
|
11170
11360
|
floriday_sales_order_id?: string | null;
|
|
11171
11361
|
id?: string;
|
|
11362
|
+
invoice_due_at?: string | null;
|
|
11172
11363
|
is_reservation?: boolean;
|
|
11173
11364
|
notes?: string | null;
|
|
11174
11365
|
order_date?: string;
|
|
@@ -11190,6 +11381,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11190
11381
|
delivery_date?: string | null;
|
|
11191
11382
|
floriday_sales_order_id?: string | null;
|
|
11192
11383
|
id?: string;
|
|
11384
|
+
invoice_due_at?: string | null;
|
|
11193
11385
|
is_reservation?: boolean;
|
|
11194
11386
|
notes?: string | null;
|
|
11195
11387
|
order_date?: string;
|
|
@@ -12494,6 +12686,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12494
12686
|
created_at: string;
|
|
12495
12687
|
id: string;
|
|
12496
12688
|
laatst_gezien: string;
|
|
12689
|
+
laatste_fout: string | null;
|
|
12690
|
+
laatste_request_id: number | null;
|
|
12691
|
+
mislukte_posts: number;
|
|
12497
12692
|
tick_sleutel: string;
|
|
12498
12693
|
updated_at: string;
|
|
12499
12694
|
};
|
|
@@ -12503,6 +12698,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12503
12698
|
created_at?: string;
|
|
12504
12699
|
id?: string;
|
|
12505
12700
|
laatst_gezien?: string;
|
|
12701
|
+
laatste_fout?: string | null;
|
|
12702
|
+
laatste_request_id?: number | null;
|
|
12703
|
+
mislukte_posts?: number;
|
|
12506
12704
|
tick_sleutel?: string;
|
|
12507
12705
|
updated_at?: string;
|
|
12508
12706
|
};
|
|
@@ -12512,6 +12710,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12512
12710
|
created_at?: string;
|
|
12513
12711
|
id?: string;
|
|
12514
12712
|
laatst_gezien?: string;
|
|
12713
|
+
laatste_fout?: string | null;
|
|
12714
|
+
laatste_request_id?: number | null;
|
|
12715
|
+
mislukte_posts?: number;
|
|
12515
12716
|
tick_sleutel?: string;
|
|
12516
12717
|
updated_at?: string;
|
|
12517
12718
|
};
|
|
@@ -12519,18 +12720,24 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
12519
12720
|
};
|
|
12520
12721
|
print_queue_settings: {
|
|
12521
12722
|
Row: {
|
|
12723
|
+
bewaar_bestanden_dagen: number;
|
|
12724
|
+
bewaar_opdrachten_dagen: number;
|
|
12522
12725
|
created_at: string;
|
|
12523
12726
|
dubbel_venster_minuten: number;
|
|
12524
12727
|
id: string;
|
|
12525
12728
|
updated_at: string;
|
|
12526
12729
|
};
|
|
12527
12730
|
Insert: {
|
|
12731
|
+
bewaar_bestanden_dagen?: number;
|
|
12732
|
+
bewaar_opdrachten_dagen?: number;
|
|
12528
12733
|
created_at?: string;
|
|
12529
12734
|
dubbel_venster_minuten?: number;
|
|
12530
12735
|
id?: string;
|
|
12531
12736
|
updated_at?: string;
|
|
12532
12737
|
};
|
|
12533
12738
|
Update: {
|
|
12739
|
+
bewaar_bestanden_dagen?: number;
|
|
12740
|
+
bewaar_opdrachten_dagen?: number;
|
|
12534
12741
|
created_at?: string;
|
|
12535
12742
|
dubbel_venster_minuten?: number;
|
|
12536
12743
|
id?: string;
|
|
@@ -14014,6 +14221,96 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14014
14221
|
referencedColumns: ["id"];
|
|
14015
14222
|
}];
|
|
14016
14223
|
};
|
|
14224
|
+
role_assignments: {
|
|
14225
|
+
Row: {
|
|
14226
|
+
created_at: string;
|
|
14227
|
+
id: string;
|
|
14228
|
+
role_id: string;
|
|
14229
|
+
user_id: string;
|
|
14230
|
+
};
|
|
14231
|
+
Insert: {
|
|
14232
|
+
created_at?: string;
|
|
14233
|
+
id?: string;
|
|
14234
|
+
role_id: string;
|
|
14235
|
+
user_id: string;
|
|
14236
|
+
};
|
|
14237
|
+
Update: {
|
|
14238
|
+
created_at?: string;
|
|
14239
|
+
id?: string;
|
|
14240
|
+
role_id?: string;
|
|
14241
|
+
user_id?: string;
|
|
14242
|
+
};
|
|
14243
|
+
Relationships: [{
|
|
14244
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
14245
|
+
columns: ["role_id"];
|
|
14246
|
+
isOneToOne: false;
|
|
14247
|
+
referencedRelation: "roles";
|
|
14248
|
+
referencedColumns: ["id"];
|
|
14249
|
+
}];
|
|
14250
|
+
};
|
|
14251
|
+
role_permissions: {
|
|
14252
|
+
Row: {
|
|
14253
|
+
can_edit: boolean;
|
|
14254
|
+
can_view: boolean;
|
|
14255
|
+
feature_id: string;
|
|
14256
|
+
id: string;
|
|
14257
|
+
module_id: string;
|
|
14258
|
+
role_id: string;
|
|
14259
|
+
updated_at: string;
|
|
14260
|
+
};
|
|
14261
|
+
Insert: {
|
|
14262
|
+
can_edit?: boolean;
|
|
14263
|
+
can_view?: boolean;
|
|
14264
|
+
feature_id?: string;
|
|
14265
|
+
id?: string;
|
|
14266
|
+
module_id: string;
|
|
14267
|
+
role_id: string;
|
|
14268
|
+
updated_at?: string;
|
|
14269
|
+
};
|
|
14270
|
+
Update: {
|
|
14271
|
+
can_edit?: boolean;
|
|
14272
|
+
can_view?: boolean;
|
|
14273
|
+
feature_id?: string;
|
|
14274
|
+
id?: string;
|
|
14275
|
+
module_id?: string;
|
|
14276
|
+
role_id?: string;
|
|
14277
|
+
updated_at?: string;
|
|
14278
|
+
};
|
|
14279
|
+
Relationships: [{
|
|
14280
|
+
foreignKeyName: "role_permissions_role_id_fkey";
|
|
14281
|
+
columns: ["role_id"];
|
|
14282
|
+
isOneToOne: false;
|
|
14283
|
+
referencedRelation: "roles";
|
|
14284
|
+
referencedColumns: ["id"];
|
|
14285
|
+
}];
|
|
14286
|
+
};
|
|
14287
|
+
roles: {
|
|
14288
|
+
Row: {
|
|
14289
|
+
created_at: string;
|
|
14290
|
+
id: string;
|
|
14291
|
+
is_protected: boolean;
|
|
14292
|
+
key: string;
|
|
14293
|
+
name: string;
|
|
14294
|
+
updated_at: string;
|
|
14295
|
+
};
|
|
14296
|
+
Insert: {
|
|
14297
|
+
created_at?: string;
|
|
14298
|
+
id?: string;
|
|
14299
|
+
is_protected?: boolean;
|
|
14300
|
+
key: string;
|
|
14301
|
+
name: string;
|
|
14302
|
+
updated_at?: string;
|
|
14303
|
+
};
|
|
14304
|
+
Update: {
|
|
14305
|
+
created_at?: string;
|
|
14306
|
+
id?: string;
|
|
14307
|
+
is_protected?: boolean;
|
|
14308
|
+
key?: string;
|
|
14309
|
+
name?: string;
|
|
14310
|
+
updated_at?: string;
|
|
14311
|
+
};
|
|
14312
|
+
Relationships: [];
|
|
14313
|
+
};
|
|
14017
14314
|
rooms: {
|
|
14018
14315
|
Row: {
|
|
14019
14316
|
capacity: number;
|
|
@@ -15378,6 +15675,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15378
15675
|
};
|
|
15379
15676
|
twinfield_invoice_settings: {
|
|
15380
15677
|
Row: {
|
|
15678
|
+
auto_invoice_enabled: boolean;
|
|
15679
|
+
auto_invoice_trigger_statuses: string[];
|
|
15381
15680
|
created_at: string;
|
|
15382
15681
|
debtor_gl_account: string;
|
|
15383
15682
|
default_credit_invoice_type: string | null;
|
|
@@ -15398,6 +15697,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15398
15697
|
vat_code_export: string | null;
|
|
15399
15698
|
};
|
|
15400
15699
|
Insert: {
|
|
15700
|
+
auto_invoice_enabled?: boolean;
|
|
15701
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15401
15702
|
created_at?: string;
|
|
15402
15703
|
debtor_gl_account?: string;
|
|
15403
15704
|
default_credit_invoice_type?: string | null;
|
|
@@ -15418,6 +15719,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15418
15719
|
vat_code_export?: string | null;
|
|
15419
15720
|
};
|
|
15420
15721
|
Update: {
|
|
15722
|
+
auto_invoice_enabled?: boolean;
|
|
15723
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15421
15724
|
created_at?: string;
|
|
15422
15725
|
debtor_gl_account?: string;
|
|
15423
15726
|
default_credit_invoice_type?: string | null;
|
|
@@ -16483,6 +16786,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16483
16786
|
user_module_permissions: {
|
|
16484
16787
|
Row: {
|
|
16485
16788
|
created_at: string;
|
|
16789
|
+
feature_id: string;
|
|
16486
16790
|
id: string;
|
|
16487
16791
|
module_id: string;
|
|
16488
16792
|
permission: string;
|
|
@@ -16491,6 +16795,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16491
16795
|
};
|
|
16492
16796
|
Insert: {
|
|
16493
16797
|
created_at?: string;
|
|
16798
|
+
feature_id?: string;
|
|
16494
16799
|
id?: string;
|
|
16495
16800
|
module_id: string;
|
|
16496
16801
|
permission: string;
|
|
@@ -16499,6 +16804,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
16499
16804
|
};
|
|
16500
16805
|
Update: {
|
|
16501
16806
|
created_at?: string;
|
|
16807
|
+
feature_id?: string;
|
|
16502
16808
|
id?: string;
|
|
16503
16809
|
module_id?: string;
|
|
16504
16810
|
permission?: string;
|
|
@@ -18340,6 +18646,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18340
18646
|
processed_items: number;
|
|
18341
18647
|
}[];
|
|
18342
18648
|
};
|
|
18649
|
+
backfill_order_auto_invoice_queue: {
|
|
18650
|
+
Args: never;
|
|
18651
|
+
Returns: number;
|
|
18652
|
+
};
|
|
18343
18653
|
calculate_layer_stock: {
|
|
18344
18654
|
Args: {
|
|
18345
18655
|
p_product_id: string;
|
|
@@ -18570,6 +18880,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18570
18880
|
Args: never;
|
|
18571
18881
|
Returns: undefined;
|
|
18572
18882
|
};
|
|
18883
|
+
cleanup_voorraad_module_history: {
|
|
18884
|
+
Args: never;
|
|
18885
|
+
Returns: undefined;
|
|
18886
|
+
};
|
|
18573
18887
|
complete_floriday_stock_queue: {
|
|
18574
18888
|
Args: {
|
|
18575
18889
|
p_attempt_id?: string;
|
|
@@ -18697,6 +19011,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
18697
19011
|
_user_id: string;
|
|
18698
19012
|
};
|
|
18699
19013
|
Returns: string;
|
|
19014
|
+
} | {
|
|
19015
|
+
Args: {
|
|
19016
|
+
_feature_id?: string;
|
|
19017
|
+
_module_id: string;
|
|
19018
|
+
_user_id: string;
|
|
19019
|
+
};
|
|
19020
|
+
Returns: string;
|
|
18700
19021
|
};
|
|
18701
19022
|
email_auth_decrypt: {
|
|
18702
19023
|
Args: {
|
|
@@ -19598,6 +19919,65 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19598
19919
|
};
|
|
19599
19920
|
Returns: number;
|
|
19600
19921
|
};
|
|
19922
|
+
logistics_plan_claim: {
|
|
19923
|
+
Args: {
|
|
19924
|
+
p_limit?: number;
|
|
19925
|
+
};
|
|
19926
|
+
Returns: {
|
|
19927
|
+
attempts: number;
|
|
19928
|
+
id: string;
|
|
19929
|
+
order_id: string;
|
|
19930
|
+
}[];
|
|
19931
|
+
};
|
|
19932
|
+
logistics_plan_enqueue: {
|
|
19933
|
+
Args: {
|
|
19934
|
+
p_order_id: string;
|
|
19935
|
+
p_reason?: string;
|
|
19936
|
+
};
|
|
19937
|
+
Returns: undefined;
|
|
19938
|
+
};
|
|
19939
|
+
logistics_plan_ensure_event: {
|
|
19940
|
+
Args: {
|
|
19941
|
+
p_order_id: string;
|
|
19942
|
+
};
|
|
19943
|
+
Returns: boolean;
|
|
19944
|
+
};
|
|
19945
|
+
logistics_plan_finish: {
|
|
19946
|
+
Args: {
|
|
19947
|
+
p_error?: string;
|
|
19948
|
+
p_id: string;
|
|
19949
|
+
};
|
|
19950
|
+
Returns: undefined;
|
|
19951
|
+
};
|
|
19952
|
+
logistics_plan_impact_orders: {
|
|
19953
|
+
Args: {
|
|
19954
|
+
p_order_id: string;
|
|
19955
|
+
};
|
|
19956
|
+
Returns: {
|
|
19957
|
+
buffer_id: string;
|
|
19958
|
+
order_id: string;
|
|
19959
|
+
plan_date: string;
|
|
19960
|
+
}[];
|
|
19961
|
+
};
|
|
19962
|
+
logistics_plan_kick: {
|
|
19963
|
+
Args: never;
|
|
19964
|
+
Returns: undefined;
|
|
19965
|
+
};
|
|
19966
|
+
logistics_plan_prune: {
|
|
19967
|
+
Args: never;
|
|
19968
|
+
Returns: number;
|
|
19969
|
+
};
|
|
19970
|
+
logistics_plan_release_stale: {
|
|
19971
|
+
Args: never;
|
|
19972
|
+
Returns: number;
|
|
19973
|
+
};
|
|
19974
|
+
logistics_plan_setting: {
|
|
19975
|
+
Args: {
|
|
19976
|
+
p_default: number;
|
|
19977
|
+
p_key: string;
|
|
19978
|
+
};
|
|
19979
|
+
Returns: number;
|
|
19980
|
+
};
|
|
19601
19981
|
logistics_queue_capacity_email: {
|
|
19602
19982
|
Args: {
|
|
19603
19983
|
p_alert_id: string;
|
|
@@ -19839,6 +20219,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19839
20219
|
my_module_permissions: {
|
|
19840
20220
|
Args: never;
|
|
19841
20221
|
Returns: {
|
|
20222
|
+
feature_id: string;
|
|
19842
20223
|
module_id: string;
|
|
19843
20224
|
permission: string;
|
|
19844
20225
|
}[];
|
|
@@ -19893,6 +20274,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19893
20274
|
};
|
|
19894
20275
|
Returns: boolean;
|
|
19895
20276
|
};
|
|
20277
|
+
opruim_print_historie: {
|
|
20278
|
+
Args: never;
|
|
20279
|
+
Returns: {
|
|
20280
|
+
ontdaan: number;
|
|
20281
|
+
verwijderd: number;
|
|
20282
|
+
}[];
|
|
20283
|
+
};
|
|
19896
20284
|
order_number_prefix: {
|
|
19897
20285
|
Args: {
|
|
19898
20286
|
p_custom_fields?: import("./types").Json;
|
|
@@ -20287,6 +20675,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20287
20675
|
};
|
|
20288
20676
|
Returns: undefined;
|
|
20289
20677
|
};
|
|
20678
|
+
reset_stalled_floriday_stock_queue: {
|
|
20679
|
+
Args: {
|
|
20680
|
+
p_include_failed?: boolean;
|
|
20681
|
+
};
|
|
20682
|
+
Returns: number;
|
|
20683
|
+
};
|
|
20290
20684
|
resolve_group_allocation: {
|
|
20291
20685
|
Args: {
|
|
20292
20686
|
_needed: number;
|
|
@@ -20341,6 +20735,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20341
20735
|
Args: never;
|
|
20342
20736
|
Returns: undefined;
|
|
20343
20737
|
};
|
|
20738
|
+
run_floriday_stock_queue_process: {
|
|
20739
|
+
Args: never;
|
|
20740
|
+
Returns: undefined;
|
|
20741
|
+
};
|
|
20344
20742
|
run_logistics_tasks_dispatch: {
|
|
20345
20743
|
Args: never;
|
|
20346
20744
|
Returns: undefined;
|
|
@@ -20736,6 +21134,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20736
21134
|
};
|
|
20737
21135
|
Returns: undefined;
|
|
20738
21136
|
};
|
|
21137
|
+
trade_item_stock_duplicates: {
|
|
21138
|
+
Args: never;
|
|
21139
|
+
Returns: {
|
|
21140
|
+
keys: string[];
|
|
21141
|
+
product_id: string;
|
|
21142
|
+
product_name: string;
|
|
21143
|
+
row_count: number;
|
|
21144
|
+
}[];
|
|
21145
|
+
};
|
|
20739
21146
|
try_debtor_lock: {
|
|
20740
21147
|
Args: {
|
|
20741
21148
|
_group_key: string;
|