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