@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
|
@@ -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;
|
|
@@ -10967,6 +11117,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10967
11117
|
};
|
|
10968
11118
|
Relationships: [];
|
|
10969
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
|
+
};
|
|
10970
11159
|
order_items: {
|
|
10971
11160
|
Row: {
|
|
10972
11161
|
crates_per_layer: number | null;
|
|
@@ -11149,6 +11338,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11149
11338
|
delivery_date: string | null;
|
|
11150
11339
|
floriday_sales_order_id: string | null;
|
|
11151
11340
|
id: string;
|
|
11341
|
+
invoice_due_at: string | null;
|
|
11152
11342
|
is_reservation: boolean;
|
|
11153
11343
|
notes: string | null;
|
|
11154
11344
|
order_date: string;
|
|
@@ -11170,6 +11360,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11170
11360
|
delivery_date?: string | null;
|
|
11171
11361
|
floriday_sales_order_id?: string | null;
|
|
11172
11362
|
id?: string;
|
|
11363
|
+
invoice_due_at?: string | null;
|
|
11173
11364
|
is_reservation?: boolean;
|
|
11174
11365
|
notes?: string | null;
|
|
11175
11366
|
order_date?: string;
|
|
@@ -11191,6 +11382,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11191
11382
|
delivery_date?: string | null;
|
|
11192
11383
|
floriday_sales_order_id?: string | null;
|
|
11193
11384
|
id?: string;
|
|
11385
|
+
invoice_due_at?: string | null;
|
|
11194
11386
|
is_reservation?: boolean;
|
|
11195
11387
|
notes?: string | null;
|
|
11196
11388
|
order_date?: string;
|
|
@@ -12495,6 +12687,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12495
12687
|
created_at: string;
|
|
12496
12688
|
id: string;
|
|
12497
12689
|
laatst_gezien: string;
|
|
12690
|
+
laatste_fout: string | null;
|
|
12691
|
+
laatste_request_id: number | null;
|
|
12692
|
+
mislukte_posts: number;
|
|
12498
12693
|
tick_sleutel: string;
|
|
12499
12694
|
updated_at: string;
|
|
12500
12695
|
};
|
|
@@ -12504,6 +12699,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12504
12699
|
created_at?: string;
|
|
12505
12700
|
id?: string;
|
|
12506
12701
|
laatst_gezien?: string;
|
|
12702
|
+
laatste_fout?: string | null;
|
|
12703
|
+
laatste_request_id?: number | null;
|
|
12704
|
+
mislukte_posts?: number;
|
|
12507
12705
|
tick_sleutel?: string;
|
|
12508
12706
|
updated_at?: string;
|
|
12509
12707
|
};
|
|
@@ -12513,6 +12711,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12513
12711
|
created_at?: string;
|
|
12514
12712
|
id?: string;
|
|
12515
12713
|
laatst_gezien?: string;
|
|
12714
|
+
laatste_fout?: string | null;
|
|
12715
|
+
laatste_request_id?: number | null;
|
|
12716
|
+
mislukte_posts?: number;
|
|
12516
12717
|
tick_sleutel?: string;
|
|
12517
12718
|
updated_at?: string;
|
|
12518
12719
|
};
|
|
@@ -12520,18 +12721,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12520
12721
|
};
|
|
12521
12722
|
print_queue_settings: {
|
|
12522
12723
|
Row: {
|
|
12724
|
+
bewaar_bestanden_dagen: number;
|
|
12725
|
+
bewaar_opdrachten_dagen: number;
|
|
12523
12726
|
created_at: string;
|
|
12524
12727
|
dubbel_venster_minuten: number;
|
|
12525
12728
|
id: string;
|
|
12526
12729
|
updated_at: string;
|
|
12527
12730
|
};
|
|
12528
12731
|
Insert: {
|
|
12732
|
+
bewaar_bestanden_dagen?: number;
|
|
12733
|
+
bewaar_opdrachten_dagen?: number;
|
|
12529
12734
|
created_at?: string;
|
|
12530
12735
|
dubbel_venster_minuten?: number;
|
|
12531
12736
|
id?: string;
|
|
12532
12737
|
updated_at?: string;
|
|
12533
12738
|
};
|
|
12534
12739
|
Update: {
|
|
12740
|
+
bewaar_bestanden_dagen?: number;
|
|
12741
|
+
bewaar_opdrachten_dagen?: number;
|
|
12535
12742
|
created_at?: string;
|
|
12536
12743
|
dubbel_venster_minuten?: number;
|
|
12537
12744
|
id?: string;
|
|
@@ -14015,6 +14222,96 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14015
14222
|
referencedColumns: ["id"];
|
|
14016
14223
|
}];
|
|
14017
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
|
+
};
|
|
14018
14315
|
rooms: {
|
|
14019
14316
|
Row: {
|
|
14020
14317
|
capacity: number;
|
|
@@ -15379,6 +15676,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
15379
15676
|
};
|
|
15380
15677
|
twinfield_invoice_settings: {
|
|
15381
15678
|
Row: {
|
|
15679
|
+
auto_invoice_enabled: boolean;
|
|
15680
|
+
auto_invoice_trigger_statuses: string[];
|
|
15382
15681
|
created_at: string;
|
|
15383
15682
|
debtor_gl_account: string;
|
|
15384
15683
|
default_credit_invoice_type: string | null;
|
|
@@ -15399,6 +15698,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
15399
15698
|
vat_code_export: string | null;
|
|
15400
15699
|
};
|
|
15401
15700
|
Insert: {
|
|
15701
|
+
auto_invoice_enabled?: boolean;
|
|
15702
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15402
15703
|
created_at?: string;
|
|
15403
15704
|
debtor_gl_account?: string;
|
|
15404
15705
|
default_credit_invoice_type?: string | null;
|
|
@@ -15419,6 +15720,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
15419
15720
|
vat_code_export?: string | null;
|
|
15420
15721
|
};
|
|
15421
15722
|
Update: {
|
|
15723
|
+
auto_invoice_enabled?: boolean;
|
|
15724
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15422
15725
|
created_at?: string;
|
|
15423
15726
|
debtor_gl_account?: string;
|
|
15424
15727
|
default_credit_invoice_type?: string | null;
|
|
@@ -16484,6 +16787,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16484
16787
|
user_module_permissions: {
|
|
16485
16788
|
Row: {
|
|
16486
16789
|
created_at: string;
|
|
16790
|
+
feature_id: string;
|
|
16487
16791
|
id: string;
|
|
16488
16792
|
module_id: string;
|
|
16489
16793
|
permission: string;
|
|
@@ -16492,6 +16796,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16492
16796
|
};
|
|
16493
16797
|
Insert: {
|
|
16494
16798
|
created_at?: string;
|
|
16799
|
+
feature_id?: string;
|
|
16495
16800
|
id?: string;
|
|
16496
16801
|
module_id: string;
|
|
16497
16802
|
permission: string;
|
|
@@ -16500,6 +16805,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16500
16805
|
};
|
|
16501
16806
|
Update: {
|
|
16502
16807
|
created_at?: string;
|
|
16808
|
+
feature_id?: string;
|
|
16503
16809
|
id?: string;
|
|
16504
16810
|
module_id?: string;
|
|
16505
16811
|
permission?: string;
|
|
@@ -18341,6 +18647,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18341
18647
|
processed_items: number;
|
|
18342
18648
|
}[];
|
|
18343
18649
|
};
|
|
18650
|
+
backfill_order_auto_invoice_queue: {
|
|
18651
|
+
Args: never;
|
|
18652
|
+
Returns: number;
|
|
18653
|
+
};
|
|
18344
18654
|
calculate_layer_stock: {
|
|
18345
18655
|
Args: {
|
|
18346
18656
|
p_product_id: string;
|
|
@@ -18571,6 +18881,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18571
18881
|
Args: never;
|
|
18572
18882
|
Returns: undefined;
|
|
18573
18883
|
};
|
|
18884
|
+
cleanup_voorraad_module_history: {
|
|
18885
|
+
Args: never;
|
|
18886
|
+
Returns: undefined;
|
|
18887
|
+
};
|
|
18574
18888
|
complete_floriday_stock_queue: {
|
|
18575
18889
|
Args: {
|
|
18576
18890
|
p_attempt_id?: string;
|
|
@@ -18698,6 +19012,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18698
19012
|
_user_id: string;
|
|
18699
19013
|
};
|
|
18700
19014
|
Returns: string;
|
|
19015
|
+
} | {
|
|
19016
|
+
Args: {
|
|
19017
|
+
_feature_id?: string;
|
|
19018
|
+
_module_id: string;
|
|
19019
|
+
_user_id: string;
|
|
19020
|
+
};
|
|
19021
|
+
Returns: string;
|
|
18701
19022
|
};
|
|
18702
19023
|
email_auth_decrypt: {
|
|
18703
19024
|
Args: {
|
|
@@ -19599,6 +19920,65 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19599
19920
|
};
|
|
19600
19921
|
Returns: number;
|
|
19601
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
|
+
};
|
|
19602
19982
|
logistics_queue_capacity_email: {
|
|
19603
19983
|
Args: {
|
|
19604
19984
|
p_alert_id: string;
|
|
@@ -19840,6 +20220,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19840
20220
|
my_module_permissions: {
|
|
19841
20221
|
Args: never;
|
|
19842
20222
|
Returns: {
|
|
20223
|
+
feature_id: string;
|
|
19843
20224
|
module_id: string;
|
|
19844
20225
|
permission: string;
|
|
19845
20226
|
}[];
|
|
@@ -19894,6 +20275,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19894
20275
|
};
|
|
19895
20276
|
Returns: boolean;
|
|
19896
20277
|
};
|
|
20278
|
+
opruim_print_historie: {
|
|
20279
|
+
Args: never;
|
|
20280
|
+
Returns: {
|
|
20281
|
+
ontdaan: number;
|
|
20282
|
+
verwijderd: number;
|
|
20283
|
+
}[];
|
|
20284
|
+
};
|
|
19897
20285
|
order_number_prefix: {
|
|
19898
20286
|
Args: {
|
|
19899
20287
|
p_custom_fields?: import("./types").Json;
|
|
@@ -20288,6 +20676,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20288
20676
|
};
|
|
20289
20677
|
Returns: undefined;
|
|
20290
20678
|
};
|
|
20679
|
+
reset_stalled_floriday_stock_queue: {
|
|
20680
|
+
Args: {
|
|
20681
|
+
p_include_failed?: boolean;
|
|
20682
|
+
};
|
|
20683
|
+
Returns: number;
|
|
20684
|
+
};
|
|
20291
20685
|
resolve_group_allocation: {
|
|
20292
20686
|
Args: {
|
|
20293
20687
|
_needed: number;
|
|
@@ -20342,6 +20736,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20342
20736
|
Args: never;
|
|
20343
20737
|
Returns: undefined;
|
|
20344
20738
|
};
|
|
20739
|
+
run_floriday_stock_queue_process: {
|
|
20740
|
+
Args: never;
|
|
20741
|
+
Returns: undefined;
|
|
20742
|
+
};
|
|
20345
20743
|
run_logistics_tasks_dispatch: {
|
|
20346
20744
|
Args: never;
|
|
20347
20745
|
Returns: undefined;
|
|
@@ -20737,6 +21135,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20737
21135
|
};
|
|
20738
21136
|
Returns: undefined;
|
|
20739
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
|
+
};
|
|
20740
21147
|
try_debtor_lock: {
|
|
20741
21148
|
Args: {
|
|
20742
21149
|
_group_key: string;
|