@flowselections/floriday-verkoop-module 1.0.159 → 1.0.160
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/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
- package/dist-lib/components/verkoop/VerkoopOrdersPage.js +11 -1
- package/dist-lib/integrations/supabase/types.d.ts +1329 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/cron/sync-salesorders.d.ts.map +1 -1
- package/dist-lib/lib/cron/sync-salesorders.js +12 -0
- package/dist-lib/lib/sync-melding.d.ts +8 -0
- package/dist-lib/lib/sync-melding.d.ts.map +1 -0
- package/dist-lib/lib/sync-melding.functions.d.ts +8 -0
- package/dist-lib/lib/sync-melding.functions.d.ts.map +1 -0
- package/dist-lib/lib/sync-melding.functions.js +18 -0
- package/dist-lib/lib/sync-melding.js +16 -0
- package/package.json +26 -1
- package/schema/verkoop.sql +529 -1
|
@@ -828,19 +828,40 @@ export type Database = {
|
|
|
828
828
|
Row: {
|
|
829
829
|
created_at: string;
|
|
830
830
|
id: number;
|
|
831
|
+
import_batch_grootte: number;
|
|
832
|
+
import_rapport_aan: boolean;
|
|
833
|
+
marge_max_procent: number;
|
|
834
|
+
marge_min_procent: number;
|
|
831
835
|
marge_procent: number;
|
|
836
|
+
optimistische_lock_aan: boolean;
|
|
837
|
+
strikte_prijsinvoer: boolean;
|
|
838
|
+
tijdzone: string;
|
|
832
839
|
updated_at: string;
|
|
833
840
|
};
|
|
834
841
|
Insert: {
|
|
835
842
|
created_at?: string;
|
|
836
843
|
id?: number;
|
|
844
|
+
import_batch_grootte?: number;
|
|
845
|
+
import_rapport_aan?: boolean;
|
|
846
|
+
marge_max_procent?: number;
|
|
847
|
+
marge_min_procent?: number;
|
|
837
848
|
marge_procent?: number;
|
|
849
|
+
optimistische_lock_aan?: boolean;
|
|
850
|
+
strikte_prijsinvoer?: boolean;
|
|
851
|
+
tijdzone?: string;
|
|
838
852
|
updated_at?: string;
|
|
839
853
|
};
|
|
840
854
|
Update: {
|
|
841
855
|
created_at?: string;
|
|
842
856
|
id?: number;
|
|
857
|
+
import_batch_grootte?: number;
|
|
858
|
+
import_rapport_aan?: boolean;
|
|
859
|
+
marge_max_procent?: number;
|
|
860
|
+
marge_min_procent?: number;
|
|
843
861
|
marge_procent?: number;
|
|
862
|
+
optimistische_lock_aan?: boolean;
|
|
863
|
+
strikte_prijsinvoer?: boolean;
|
|
864
|
+
tijdzone?: string;
|
|
844
865
|
updated_at?: string;
|
|
845
866
|
};
|
|
846
867
|
Relationships: [];
|
|
@@ -3424,6 +3445,30 @@ export type Database = {
|
|
|
3424
3445
|
};
|
|
3425
3446
|
Relationships: [];
|
|
3426
3447
|
};
|
|
3448
|
+
dashboard_pit_instellingen: {
|
|
3449
|
+
Row: {
|
|
3450
|
+
created_at: string;
|
|
3451
|
+
key: string;
|
|
3452
|
+
updated_at: string;
|
|
3453
|
+
updated_by: string | null;
|
|
3454
|
+
waarde: Json;
|
|
3455
|
+
};
|
|
3456
|
+
Insert: {
|
|
3457
|
+
created_at?: string;
|
|
3458
|
+
key: string;
|
|
3459
|
+
updated_at?: string;
|
|
3460
|
+
updated_by?: string | null;
|
|
3461
|
+
waarde: Json;
|
|
3462
|
+
};
|
|
3463
|
+
Update: {
|
|
3464
|
+
created_at?: string;
|
|
3465
|
+
key?: string;
|
|
3466
|
+
updated_at?: string;
|
|
3467
|
+
updated_by?: string | null;
|
|
3468
|
+
waarde?: Json;
|
|
3469
|
+
};
|
|
3470
|
+
Relationships: [];
|
|
3471
|
+
};
|
|
3427
3472
|
dashboard_saved_queries: {
|
|
3428
3473
|
Row: {
|
|
3429
3474
|
created_at: string;
|
|
@@ -11432,6 +11477,8 @@ export type Database = {
|
|
|
11432
11477
|
id: string;
|
|
11433
11478
|
invoice_date: string;
|
|
11434
11479
|
invoice_number: string | null;
|
|
11480
|
+
last_send_key: string | null;
|
|
11481
|
+
last_send_outbox_id: string | null;
|
|
11435
11482
|
merged_into: string | null;
|
|
11436
11483
|
note: string | null;
|
|
11437
11484
|
paid_at: string | null;
|
|
@@ -11469,6 +11516,8 @@ export type Database = {
|
|
|
11469
11516
|
id?: string;
|
|
11470
11517
|
invoice_date?: string;
|
|
11471
11518
|
invoice_number?: string | null;
|
|
11519
|
+
last_send_key?: string | null;
|
|
11520
|
+
last_send_outbox_id?: string | null;
|
|
11472
11521
|
merged_into?: string | null;
|
|
11473
11522
|
note?: string | null;
|
|
11474
11523
|
paid_at?: string | null;
|
|
@@ -11506,6 +11555,8 @@ export type Database = {
|
|
|
11506
11555
|
id?: string;
|
|
11507
11556
|
invoice_date?: string;
|
|
11508
11557
|
invoice_number?: string | null;
|
|
11558
|
+
last_send_key?: string | null;
|
|
11559
|
+
last_send_outbox_id?: string | null;
|
|
11509
11560
|
merged_into?: string | null;
|
|
11510
11561
|
note?: string | null;
|
|
11511
11562
|
paid_at?: string | null;
|
|
@@ -11697,9 +11748,11 @@ export type Database = {
|
|
|
11697
11748
|
};
|
|
11698
11749
|
itk_customers: {
|
|
11699
11750
|
Row: {
|
|
11751
|
+
archived_at: string | null;
|
|
11700
11752
|
billing_city: string | null;
|
|
11701
11753
|
billing_postcode: string | null;
|
|
11702
11754
|
billing_street: string | null;
|
|
11755
|
+
country: string | null;
|
|
11703
11756
|
created_at: string;
|
|
11704
11757
|
customer_number: string | null;
|
|
11705
11758
|
general_email: string | null;
|
|
@@ -11718,9 +11771,11 @@ export type Database = {
|
|
|
11718
11771
|
vat_reverse_charge: boolean;
|
|
11719
11772
|
};
|
|
11720
11773
|
Insert: {
|
|
11774
|
+
archived_at?: string | null;
|
|
11721
11775
|
billing_city?: string | null;
|
|
11722
11776
|
billing_postcode?: string | null;
|
|
11723
11777
|
billing_street?: string | null;
|
|
11778
|
+
country?: string | null;
|
|
11724
11779
|
created_at?: string;
|
|
11725
11780
|
customer_number?: string | null;
|
|
11726
11781
|
general_email?: string | null;
|
|
@@ -11739,9 +11794,11 @@ export type Database = {
|
|
|
11739
11794
|
vat_reverse_charge?: boolean;
|
|
11740
11795
|
};
|
|
11741
11796
|
Update: {
|
|
11797
|
+
archived_at?: string | null;
|
|
11742
11798
|
billing_city?: string | null;
|
|
11743
11799
|
billing_postcode?: string | null;
|
|
11744
11800
|
billing_street?: string | null;
|
|
11801
|
+
country?: string | null;
|
|
11745
11802
|
created_at?: string;
|
|
11746
11803
|
customer_number?: string | null;
|
|
11747
11804
|
general_email?: string | null;
|
|
@@ -12042,6 +12099,48 @@ export type Database = {
|
|
|
12042
12099
|
};
|
|
12043
12100
|
Relationships: [];
|
|
12044
12101
|
};
|
|
12102
|
+
itk_klanten_settings: {
|
|
12103
|
+
Row: {
|
|
12104
|
+
archiveren_aan: boolean;
|
|
12105
|
+
created_at: string;
|
|
12106
|
+
dubbelcheck_aan: boolean;
|
|
12107
|
+
formaatcontrole_aan: boolean;
|
|
12108
|
+
normaliseren_aan: boolean;
|
|
12109
|
+
optimistische_lock_aan: boolean;
|
|
12110
|
+
singleton: boolean;
|
|
12111
|
+
standaard_land: string;
|
|
12112
|
+
tijdzone: string;
|
|
12113
|
+
updated_at: string;
|
|
12114
|
+
zoek_paginagrootte: number;
|
|
12115
|
+
};
|
|
12116
|
+
Insert: {
|
|
12117
|
+
archiveren_aan?: boolean;
|
|
12118
|
+
created_at?: string;
|
|
12119
|
+
dubbelcheck_aan?: boolean;
|
|
12120
|
+
formaatcontrole_aan?: boolean;
|
|
12121
|
+
normaliseren_aan?: boolean;
|
|
12122
|
+
optimistische_lock_aan?: boolean;
|
|
12123
|
+
singleton?: boolean;
|
|
12124
|
+
standaard_land?: string;
|
|
12125
|
+
tijdzone?: string;
|
|
12126
|
+
updated_at?: string;
|
|
12127
|
+
zoek_paginagrootte?: number;
|
|
12128
|
+
};
|
|
12129
|
+
Update: {
|
|
12130
|
+
archiveren_aan?: boolean;
|
|
12131
|
+
created_at?: string;
|
|
12132
|
+
dubbelcheck_aan?: boolean;
|
|
12133
|
+
formaatcontrole_aan?: boolean;
|
|
12134
|
+
normaliseren_aan?: boolean;
|
|
12135
|
+
optimistische_lock_aan?: boolean;
|
|
12136
|
+
singleton?: boolean;
|
|
12137
|
+
standaard_land?: string;
|
|
12138
|
+
tijdzone?: string;
|
|
12139
|
+
updated_at?: string;
|
|
12140
|
+
zoek_paginagrootte?: number;
|
|
12141
|
+
};
|
|
12142
|
+
Relationships: [];
|
|
12143
|
+
};
|
|
12045
12144
|
itk_module_fingerprints: {
|
|
12046
12145
|
Row: {
|
|
12047
12146
|
created_at: string;
|
|
@@ -12396,6 +12495,7 @@ export type Database = {
|
|
|
12396
12495
|
};
|
|
12397
12496
|
itk_offerte_settings: {
|
|
12398
12497
|
Row: {
|
|
12498
|
+
ai_model: string | null;
|
|
12399
12499
|
auto_convert_binnen_mandaat: boolean;
|
|
12400
12500
|
btw_tarieven: number[];
|
|
12401
12501
|
created_at: string;
|
|
@@ -12407,11 +12507,15 @@ export type Database = {
|
|
|
12407
12507
|
minimum_reispakketten: number;
|
|
12408
12508
|
reis_restgrens_minuten: number;
|
|
12409
12509
|
singleton: boolean;
|
|
12510
|
+
soorten: Json | null;
|
|
12511
|
+
strikte_prijsinvoer: boolean;
|
|
12410
12512
|
tijdzone: string;
|
|
12411
12513
|
updated_at: string;
|
|
12514
|
+
vakgebieden: Json | null;
|
|
12412
12515
|
voorwaarden: string | null;
|
|
12413
12516
|
};
|
|
12414
12517
|
Insert: {
|
|
12518
|
+
ai_model?: string | null;
|
|
12415
12519
|
auto_convert_binnen_mandaat?: boolean;
|
|
12416
12520
|
btw_tarieven?: number[];
|
|
12417
12521
|
created_at?: string;
|
|
@@ -12423,11 +12527,15 @@ export type Database = {
|
|
|
12423
12527
|
minimum_reispakketten?: number;
|
|
12424
12528
|
reis_restgrens_minuten?: number;
|
|
12425
12529
|
singleton?: boolean;
|
|
12530
|
+
soorten?: Json | null;
|
|
12531
|
+
strikte_prijsinvoer?: boolean;
|
|
12426
12532
|
tijdzone?: string;
|
|
12427
12533
|
updated_at?: string;
|
|
12534
|
+
vakgebieden?: Json | null;
|
|
12428
12535
|
voorwaarden?: string | null;
|
|
12429
12536
|
};
|
|
12430
12537
|
Update: {
|
|
12538
|
+
ai_model?: string | null;
|
|
12431
12539
|
auto_convert_binnen_mandaat?: boolean;
|
|
12432
12540
|
btw_tarieven?: number[];
|
|
12433
12541
|
created_at?: string;
|
|
@@ -12439,12 +12547,62 @@ export type Database = {
|
|
|
12439
12547
|
minimum_reispakketten?: number;
|
|
12440
12548
|
reis_restgrens_minuten?: number;
|
|
12441
12549
|
singleton?: boolean;
|
|
12550
|
+
soorten?: Json | null;
|
|
12551
|
+
strikte_prijsinvoer?: boolean;
|
|
12442
12552
|
tijdzone?: string;
|
|
12443
12553
|
updated_at?: string;
|
|
12554
|
+
vakgebieden?: Json | null;
|
|
12444
12555
|
voorwaarden?: string | null;
|
|
12445
12556
|
};
|
|
12446
12557
|
Relationships: [];
|
|
12447
12558
|
};
|
|
12559
|
+
itk_offerte_verloop_runs: {
|
|
12560
|
+
Row: {
|
|
12561
|
+
created_at: string;
|
|
12562
|
+
dag: string;
|
|
12563
|
+
};
|
|
12564
|
+
Insert: {
|
|
12565
|
+
created_at?: string;
|
|
12566
|
+
dag: string;
|
|
12567
|
+
};
|
|
12568
|
+
Update: {
|
|
12569
|
+
created_at?: string;
|
|
12570
|
+
dag?: string;
|
|
12571
|
+
};
|
|
12572
|
+
Relationships: [];
|
|
12573
|
+
};
|
|
12574
|
+
itk_offerte_verzendingen: {
|
|
12575
|
+
Row: {
|
|
12576
|
+
created_at: string;
|
|
12577
|
+
id: string;
|
|
12578
|
+
offerte_id: string;
|
|
12579
|
+
outbox_id: string;
|
|
12580
|
+
versie: string;
|
|
12581
|
+
};
|
|
12582
|
+
Insert: {
|
|
12583
|
+
created_at?: string;
|
|
12584
|
+
id?: string;
|
|
12585
|
+
offerte_id: string;
|
|
12586
|
+
outbox_id: string;
|
|
12587
|
+
versie: string;
|
|
12588
|
+
};
|
|
12589
|
+
Update: {
|
|
12590
|
+
created_at?: string;
|
|
12591
|
+
id?: string;
|
|
12592
|
+
offerte_id?: string;
|
|
12593
|
+
outbox_id?: string;
|
|
12594
|
+
versie?: string;
|
|
12595
|
+
};
|
|
12596
|
+
Relationships: [
|
|
12597
|
+
{
|
|
12598
|
+
foreignKeyName: "itk_offerte_verzendingen_offerte_id_fkey";
|
|
12599
|
+
columns: ["offerte_id"];
|
|
12600
|
+
isOneToOne: false;
|
|
12601
|
+
referencedRelation: "itk_offertes";
|
|
12602
|
+
referencedColumns: ["id"];
|
|
12603
|
+
}
|
|
12604
|
+
];
|
|
12605
|
+
};
|
|
12448
12606
|
itk_offerte_voorstel_status: {
|
|
12449
12607
|
Row: {
|
|
12450
12608
|
ai_concept: Json | null;
|
|
@@ -17643,6 +17801,24 @@ export type Database = {
|
|
|
17643
17801
|
};
|
|
17644
17802
|
Relationships: [];
|
|
17645
17803
|
};
|
|
17804
|
+
maps_call_counter: {
|
|
17805
|
+
Row: {
|
|
17806
|
+
calls: number;
|
|
17807
|
+
day: string;
|
|
17808
|
+
updated_at: string;
|
|
17809
|
+
};
|
|
17810
|
+
Insert: {
|
|
17811
|
+
calls?: number;
|
|
17812
|
+
day: string;
|
|
17813
|
+
updated_at?: string;
|
|
17814
|
+
};
|
|
17815
|
+
Update: {
|
|
17816
|
+
calls?: number;
|
|
17817
|
+
day?: string;
|
|
17818
|
+
updated_at?: string;
|
|
17819
|
+
};
|
|
17820
|
+
Relationships: [];
|
|
17821
|
+
};
|
|
17646
17822
|
maps_job_lease: {
|
|
17647
17823
|
Row: {
|
|
17648
17824
|
job: string;
|
|
@@ -17716,37 +17892,55 @@ export type Database = {
|
|
|
17716
17892
|
Row: {
|
|
17717
17893
|
allow_estimate_fallback: boolean;
|
|
17718
17894
|
cache_ttl_days: number;
|
|
17895
|
+
claim_via_rpc_enabled: boolean;
|
|
17719
17896
|
created_at: string;
|
|
17720
17897
|
daily_call_limit: number;
|
|
17721
17898
|
id: string;
|
|
17722
17899
|
last_error: string | null;
|
|
17723
17900
|
last_error_at: string | null;
|
|
17724
17901
|
last_success_at: string | null;
|
|
17902
|
+
max_attempts: number;
|
|
17903
|
+
max_attempts_enabled: boolean;
|
|
17904
|
+
per_call_limit_enabled: boolean;
|
|
17725
17905
|
provider: string;
|
|
17906
|
+
stop_bij_sleutelfout_enabled: boolean;
|
|
17907
|
+
timezone: string;
|
|
17726
17908
|
updated_at: string;
|
|
17727
17909
|
};
|
|
17728
17910
|
Insert: {
|
|
17729
17911
|
allow_estimate_fallback?: boolean;
|
|
17730
17912
|
cache_ttl_days?: number;
|
|
17913
|
+
claim_via_rpc_enabled?: boolean;
|
|
17731
17914
|
created_at?: string;
|
|
17732
17915
|
daily_call_limit?: number;
|
|
17733
17916
|
id?: string;
|
|
17734
17917
|
last_error?: string | null;
|
|
17735
17918
|
last_error_at?: string | null;
|
|
17736
17919
|
last_success_at?: string | null;
|
|
17920
|
+
max_attempts?: number;
|
|
17921
|
+
max_attempts_enabled?: boolean;
|
|
17922
|
+
per_call_limit_enabled?: boolean;
|
|
17737
17923
|
provider?: string;
|
|
17924
|
+
stop_bij_sleutelfout_enabled?: boolean;
|
|
17925
|
+
timezone?: string;
|
|
17738
17926
|
updated_at?: string;
|
|
17739
17927
|
};
|
|
17740
17928
|
Update: {
|
|
17741
17929
|
allow_estimate_fallback?: boolean;
|
|
17742
17930
|
cache_ttl_days?: number;
|
|
17931
|
+
claim_via_rpc_enabled?: boolean;
|
|
17743
17932
|
created_at?: string;
|
|
17744
17933
|
daily_call_limit?: number;
|
|
17745
17934
|
id?: string;
|
|
17746
17935
|
last_error?: string | null;
|
|
17747
17936
|
last_error_at?: string | null;
|
|
17748
17937
|
last_success_at?: string | null;
|
|
17938
|
+
max_attempts?: number;
|
|
17939
|
+
max_attempts_enabled?: boolean;
|
|
17940
|
+
per_call_limit_enabled?: boolean;
|
|
17749
17941
|
provider?: string;
|
|
17942
|
+
stop_bij_sleutelfout_enabled?: boolean;
|
|
17943
|
+
timezone?: string;
|
|
17750
17944
|
updated_at?: string;
|
|
17751
17945
|
};
|
|
17752
17946
|
Relationships: [];
|
|
@@ -20178,6 +20372,39 @@ export type Database = {
|
|
|
20178
20372
|
};
|
|
20179
20373
|
Relationships: [];
|
|
20180
20374
|
};
|
|
20375
|
+
pick_productiebon_jobs: {
|
|
20376
|
+
Row: {
|
|
20377
|
+
created_at: string;
|
|
20378
|
+
device_id: string | null;
|
|
20379
|
+
id: string;
|
|
20380
|
+
idempotency_key: string;
|
|
20381
|
+
job_id: string | null;
|
|
20382
|
+
productie_order_id: string;
|
|
20383
|
+
soort: string;
|
|
20384
|
+
station_id: string;
|
|
20385
|
+
};
|
|
20386
|
+
Insert: {
|
|
20387
|
+
created_at?: string;
|
|
20388
|
+
device_id?: string | null;
|
|
20389
|
+
id?: string;
|
|
20390
|
+
idempotency_key: string;
|
|
20391
|
+
job_id?: string | null;
|
|
20392
|
+
productie_order_id: string;
|
|
20393
|
+
soort?: string;
|
|
20394
|
+
station_id: string;
|
|
20395
|
+
};
|
|
20396
|
+
Update: {
|
|
20397
|
+
created_at?: string;
|
|
20398
|
+
device_id?: string | null;
|
|
20399
|
+
id?: string;
|
|
20400
|
+
idempotency_key?: string;
|
|
20401
|
+
job_id?: string | null;
|
|
20402
|
+
productie_order_id?: string;
|
|
20403
|
+
soort?: string;
|
|
20404
|
+
station_id?: string;
|
|
20405
|
+
};
|
|
20406
|
+
Relationships: [];
|
|
20407
|
+
};
|
|
20181
20408
|
pick_queue: {
|
|
20182
20409
|
Row: {
|
|
20183
20410
|
announced_at: string;
|
|
@@ -21023,6 +21250,7 @@ export type Database = {
|
|
|
21023
21250
|
slug: string | null;
|
|
21024
21251
|
sort_order: number;
|
|
21025
21252
|
sort_rules: Json;
|
|
21253
|
+
system_code: string | null;
|
|
21026
21254
|
task_id: string | null;
|
|
21027
21255
|
type_id: string | null;
|
|
21028
21256
|
updated_at: string;
|
|
@@ -21044,6 +21272,7 @@ export type Database = {
|
|
|
21044
21272
|
slug?: string | null;
|
|
21045
21273
|
sort_order?: number;
|
|
21046
21274
|
sort_rules?: Json;
|
|
21275
|
+
system_code?: string | null;
|
|
21047
21276
|
task_id?: string | null;
|
|
21048
21277
|
type_id?: string | null;
|
|
21049
21278
|
updated_at?: string;
|
|
@@ -21065,6 +21294,7 @@ export type Database = {
|
|
|
21065
21294
|
slug?: string | null;
|
|
21066
21295
|
sort_order?: number;
|
|
21067
21296
|
sort_rules?: Json;
|
|
21297
|
+
system_code?: string | null;
|
|
21068
21298
|
task_id?: string | null;
|
|
21069
21299
|
type_id?: string | null;
|
|
21070
21300
|
updated_at?: string;
|
|
@@ -21320,6 +21550,7 @@ export type Database = {
|
|
|
21320
21550
|
};
|
|
21321
21551
|
planning_confirmation_log: {
|
|
21322
21552
|
Row: {
|
|
21553
|
+
address_hash: string | null;
|
|
21323
21554
|
created_at: string;
|
|
21324
21555
|
end_at: string;
|
|
21325
21556
|
id: string;
|
|
@@ -21332,6 +21563,7 @@ export type Database = {
|
|
|
21332
21563
|
status: string;
|
|
21333
21564
|
};
|
|
21334
21565
|
Insert: {
|
|
21566
|
+
address_hash?: string | null;
|
|
21335
21567
|
created_at?: string;
|
|
21336
21568
|
end_at: string;
|
|
21337
21569
|
id?: string;
|
|
@@ -21344,6 +21576,7 @@ export type Database = {
|
|
|
21344
21576
|
status: string;
|
|
21345
21577
|
};
|
|
21346
21578
|
Update: {
|
|
21579
|
+
address_hash?: string | null;
|
|
21347
21580
|
created_at?: string;
|
|
21348
21581
|
end_at?: string;
|
|
21349
21582
|
id?: string;
|
|
@@ -21675,30 +21908,150 @@ export type Database = {
|
|
|
21675
21908
|
}
|
|
21676
21909
|
];
|
|
21677
21910
|
};
|
|
21911
|
+
planning_overrun_mail_log: {
|
|
21912
|
+
Row: {
|
|
21913
|
+
claimed_by: string | null;
|
|
21914
|
+
created_at: string;
|
|
21915
|
+
id: string;
|
|
21916
|
+
mail_level: number;
|
|
21917
|
+
planning_item_id: string;
|
|
21918
|
+
target_item_id: string;
|
|
21919
|
+
target_start_at: string;
|
|
21920
|
+
};
|
|
21921
|
+
Insert: {
|
|
21922
|
+
claimed_by?: string | null;
|
|
21923
|
+
created_at?: string;
|
|
21924
|
+
id?: string;
|
|
21925
|
+
mail_level: number;
|
|
21926
|
+
planning_item_id: string;
|
|
21927
|
+
target_item_id: string;
|
|
21928
|
+
target_start_at: string;
|
|
21929
|
+
};
|
|
21930
|
+
Update: {
|
|
21931
|
+
claimed_by?: string | null;
|
|
21932
|
+
created_at?: string;
|
|
21933
|
+
id?: string;
|
|
21934
|
+
mail_level?: number;
|
|
21935
|
+
planning_item_id?: string;
|
|
21936
|
+
target_item_id?: string;
|
|
21937
|
+
target_start_at?: string;
|
|
21938
|
+
};
|
|
21939
|
+
Relationships: [
|
|
21940
|
+
{
|
|
21941
|
+
foreignKeyName: "planning_overrun_mail_log_planning_item_id_fkey";
|
|
21942
|
+
columns: ["planning_item_id"];
|
|
21943
|
+
isOneToOne: false;
|
|
21944
|
+
referencedRelation: "planning_items";
|
|
21945
|
+
referencedColumns: ["id"];
|
|
21946
|
+
},
|
|
21947
|
+
{
|
|
21948
|
+
foreignKeyName: "planning_overrun_mail_log_planning_item_id_fkey";
|
|
21949
|
+
columns: ["planning_item_id"];
|
|
21950
|
+
isOneToOne: false;
|
|
21951
|
+
referencedRelation: "planning_overview";
|
|
21952
|
+
referencedColumns: ["id"];
|
|
21953
|
+
}
|
|
21954
|
+
];
|
|
21955
|
+
};
|
|
21678
21956
|
planning_settings: {
|
|
21679
21957
|
Row: {
|
|
21680
21958
|
company_address: string | null;
|
|
21959
|
+
confirm_mail_dedupe_address: boolean;
|
|
21681
21960
|
created_at: string;
|
|
21682
21961
|
id: string;
|
|
21962
|
+
overrun_mail_lock: boolean;
|
|
21963
|
+
plan_day_start_hour: number;
|
|
21964
|
+
release_all_from_today: boolean;
|
|
21965
|
+
route_local_dates: boolean;
|
|
21683
21966
|
singleton: boolean;
|
|
21967
|
+
strict_overlap_check: boolean;
|
|
21968
|
+
strict_status_transitions: boolean;
|
|
21969
|
+
timezone: string;
|
|
21970
|
+
undo_from_history: boolean;
|
|
21684
21971
|
updated_at: string;
|
|
21972
|
+
work_end_time: string;
|
|
21973
|
+
work_start_time: string;
|
|
21685
21974
|
};
|
|
21686
21975
|
Insert: {
|
|
21687
21976
|
company_address?: string | null;
|
|
21977
|
+
confirm_mail_dedupe_address?: boolean;
|
|
21688
21978
|
created_at?: string;
|
|
21689
21979
|
id?: string;
|
|
21980
|
+
overrun_mail_lock?: boolean;
|
|
21981
|
+
plan_day_start_hour?: number;
|
|
21982
|
+
release_all_from_today?: boolean;
|
|
21983
|
+
route_local_dates?: boolean;
|
|
21690
21984
|
singleton?: boolean;
|
|
21985
|
+
strict_overlap_check?: boolean;
|
|
21986
|
+
strict_status_transitions?: boolean;
|
|
21987
|
+
timezone?: string;
|
|
21988
|
+
undo_from_history?: boolean;
|
|
21691
21989
|
updated_at?: string;
|
|
21990
|
+
work_end_time?: string;
|
|
21991
|
+
work_start_time?: string;
|
|
21692
21992
|
};
|
|
21693
21993
|
Update: {
|
|
21694
21994
|
company_address?: string | null;
|
|
21995
|
+
confirm_mail_dedupe_address?: boolean;
|
|
21695
21996
|
created_at?: string;
|
|
21696
21997
|
id?: string;
|
|
21998
|
+
overrun_mail_lock?: boolean;
|
|
21999
|
+
plan_day_start_hour?: number;
|
|
22000
|
+
release_all_from_today?: boolean;
|
|
22001
|
+
route_local_dates?: boolean;
|
|
21697
22002
|
singleton?: boolean;
|
|
22003
|
+
strict_overlap_check?: boolean;
|
|
22004
|
+
strict_status_transitions?: boolean;
|
|
22005
|
+
timezone?: string;
|
|
22006
|
+
undo_from_history?: boolean;
|
|
21698
22007
|
updated_at?: string;
|
|
22008
|
+
work_end_time?: string;
|
|
22009
|
+
work_start_time?: string;
|
|
21699
22010
|
};
|
|
21700
22011
|
Relationships: [];
|
|
21701
22012
|
};
|
|
22013
|
+
planning_status_history: {
|
|
22014
|
+
Row: {
|
|
22015
|
+
created_at: string;
|
|
22016
|
+
id: string;
|
|
22017
|
+
new_status: Database["public"]["Enums"]["planning_item_status"];
|
|
22018
|
+
planning_item_id: string;
|
|
22019
|
+
previous_status: Database["public"]["Enums"]["planning_item_status"];
|
|
22020
|
+
user_id: string;
|
|
22021
|
+
};
|
|
22022
|
+
Insert: {
|
|
22023
|
+
created_at?: string;
|
|
22024
|
+
id?: string;
|
|
22025
|
+
new_status: Database["public"]["Enums"]["planning_item_status"];
|
|
22026
|
+
planning_item_id: string;
|
|
22027
|
+
previous_status: Database["public"]["Enums"]["planning_item_status"];
|
|
22028
|
+
user_id: string;
|
|
22029
|
+
};
|
|
22030
|
+
Update: {
|
|
22031
|
+
created_at?: string;
|
|
22032
|
+
id?: string;
|
|
22033
|
+
new_status?: Database["public"]["Enums"]["planning_item_status"];
|
|
22034
|
+
planning_item_id?: string;
|
|
22035
|
+
previous_status?: Database["public"]["Enums"]["planning_item_status"];
|
|
22036
|
+
user_id?: string;
|
|
22037
|
+
};
|
|
22038
|
+
Relationships: [
|
|
22039
|
+
{
|
|
22040
|
+
foreignKeyName: "planning_status_history_planning_item_id_fkey";
|
|
22041
|
+
columns: ["planning_item_id"];
|
|
22042
|
+
isOneToOne: false;
|
|
22043
|
+
referencedRelation: "planning_items";
|
|
22044
|
+
referencedColumns: ["id"];
|
|
22045
|
+
},
|
|
22046
|
+
{
|
|
22047
|
+
foreignKeyName: "planning_status_history_planning_item_id_fkey";
|
|
22048
|
+
columns: ["planning_item_id"];
|
|
22049
|
+
isOneToOne: false;
|
|
22050
|
+
referencedRelation: "planning_overview";
|
|
22051
|
+
referencedColumns: ["id"];
|
|
22052
|
+
}
|
|
22053
|
+
];
|
|
22054
|
+
};
|
|
21702
22055
|
planning_travel_legs: {
|
|
21703
22056
|
Row: {
|
|
21704
22057
|
after_min: number;
|
|
@@ -23893,8 +24246,10 @@ export type Database = {
|
|
|
23893
24246
|
teruggedraaid_op: string | null;
|
|
23894
24247
|
trade_item_key: string;
|
|
23895
24248
|
updated_at: string;
|
|
24249
|
+
verwerkt_bron: Json | null;
|
|
23896
24250
|
verwerkt_door: string | null;
|
|
23897
24251
|
verwerkt_op: string | null;
|
|
24252
|
+
verwerkt_via: string | null;
|
|
23898
24253
|
waarschuwingen: Json;
|
|
23899
24254
|
};
|
|
23900
24255
|
Insert: {
|
|
@@ -23915,8 +24270,10 @@ export type Database = {
|
|
|
23915
24270
|
teruggedraaid_op?: string | null;
|
|
23916
24271
|
trade_item_key: string;
|
|
23917
24272
|
updated_at?: string;
|
|
24273
|
+
verwerkt_bron?: Json | null;
|
|
23918
24274
|
verwerkt_door?: string | null;
|
|
23919
24275
|
verwerkt_op?: string | null;
|
|
24276
|
+
verwerkt_via?: string | null;
|
|
23920
24277
|
waarschuwingen?: Json;
|
|
23921
24278
|
};
|
|
23922
24279
|
Update: {
|
|
@@ -23937,8 +24294,10 @@ export type Database = {
|
|
|
23937
24294
|
teruggedraaid_op?: string | null;
|
|
23938
24295
|
trade_item_key?: string;
|
|
23939
24296
|
updated_at?: string;
|
|
24297
|
+
verwerkt_bron?: Json | null;
|
|
23940
24298
|
verwerkt_door?: string | null;
|
|
23941
24299
|
verwerkt_op?: string | null;
|
|
24300
|
+
verwerkt_via?: string | null;
|
|
23942
24301
|
waarschuwingen?: Json;
|
|
23943
24302
|
};
|
|
23944
24303
|
Relationships: [];
|
|
@@ -28905,6 +29264,36 @@ export type Database = {
|
|
|
28905
29264
|
};
|
|
28906
29265
|
Relationships: [];
|
|
28907
29266
|
};
|
|
29267
|
+
uren_loonexport_kolommen: {
|
|
29268
|
+
Row: {
|
|
29269
|
+
bron: string;
|
|
29270
|
+
created_at: string;
|
|
29271
|
+
kolomnaam: string;
|
|
29272
|
+
sleutel: string;
|
|
29273
|
+
updated_at: string;
|
|
29274
|
+
volgorde: number;
|
|
29275
|
+
zichtbaar: boolean;
|
|
29276
|
+
};
|
|
29277
|
+
Insert: {
|
|
29278
|
+
bron: string;
|
|
29279
|
+
created_at?: string;
|
|
29280
|
+
kolomnaam: string;
|
|
29281
|
+
sleutel: string;
|
|
29282
|
+
updated_at?: string;
|
|
29283
|
+
volgorde: number;
|
|
29284
|
+
zichtbaar?: boolean;
|
|
29285
|
+
};
|
|
29286
|
+
Update: {
|
|
29287
|
+
bron?: string;
|
|
29288
|
+
created_at?: string;
|
|
29289
|
+
kolomnaam?: string;
|
|
29290
|
+
sleutel?: string;
|
|
29291
|
+
updated_at?: string;
|
|
29292
|
+
volgorde?: number;
|
|
29293
|
+
zichtbaar?: boolean;
|
|
29294
|
+
};
|
|
29295
|
+
Relationships: [];
|
|
29296
|
+
};
|
|
28908
29297
|
uren_maandafsluitingen: {
|
|
28909
29298
|
Row: {
|
|
28910
29299
|
afgesloten_at: string | null;
|
|
@@ -28983,6 +29372,129 @@ export type Database = {
|
|
|
28983
29372
|
};
|
|
28984
29373
|
Relationships: [];
|
|
28985
29374
|
};
|
|
29375
|
+
uren_module_instellingen: {
|
|
29376
|
+
Row: {
|
|
29377
|
+
autostop_max_duur: boolean;
|
|
29378
|
+
contractrooster_exact: boolean;
|
|
29379
|
+
created_at: string;
|
|
29380
|
+
id: boolean;
|
|
29381
|
+
indirect_vullen: boolean;
|
|
29382
|
+
lokale_tijd: boolean;
|
|
29383
|
+
middernacht_verdelen: boolean;
|
|
29384
|
+
slot_minuten: number;
|
|
29385
|
+
tijdzone: string;
|
|
29386
|
+
updated_at: string;
|
|
29387
|
+
};
|
|
29388
|
+
Insert: {
|
|
29389
|
+
autostop_max_duur?: boolean;
|
|
29390
|
+
contractrooster_exact?: boolean;
|
|
29391
|
+
created_at?: string;
|
|
29392
|
+
id?: boolean;
|
|
29393
|
+
indirect_vullen?: boolean;
|
|
29394
|
+
lokale_tijd?: boolean;
|
|
29395
|
+
middernacht_verdelen?: boolean;
|
|
29396
|
+
slot_minuten?: number;
|
|
29397
|
+
tijdzone?: string;
|
|
29398
|
+
updated_at?: string;
|
|
29399
|
+
};
|
|
29400
|
+
Update: {
|
|
29401
|
+
autostop_max_duur?: boolean;
|
|
29402
|
+
contractrooster_exact?: boolean;
|
|
29403
|
+
created_at?: string;
|
|
29404
|
+
id?: boolean;
|
|
29405
|
+
indirect_vullen?: boolean;
|
|
29406
|
+
lokale_tijd?: boolean;
|
|
29407
|
+
middernacht_verdelen?: boolean;
|
|
29408
|
+
slot_minuten?: number;
|
|
29409
|
+
tijdzone?: string;
|
|
29410
|
+
updated_at?: string;
|
|
29411
|
+
};
|
|
29412
|
+
Relationships: [];
|
|
29413
|
+
};
|
|
29414
|
+
uren_monteur_instellingen: {
|
|
29415
|
+
Row: {
|
|
29416
|
+
created_at: string;
|
|
29417
|
+
foto_bucket: string;
|
|
29418
|
+
km_strikt: boolean;
|
|
29419
|
+
minuten_per_vakantiedag: number | null;
|
|
29420
|
+
offline_marge_minuten: number | null;
|
|
29421
|
+
offline_sync_registreren: boolean;
|
|
29422
|
+
ov178_grens_minuten: number | null;
|
|
29423
|
+
overuren_max_per_dag: number | null;
|
|
29424
|
+
overuren_stap_minuten: number | null;
|
|
29425
|
+
singleton: boolean;
|
|
29426
|
+
tijdzone: string | null;
|
|
29427
|
+
timer_grens_minuut: number | null;
|
|
29428
|
+
updated_at: string;
|
|
29429
|
+
vakantie_reeks_atomair: boolean;
|
|
29430
|
+
};
|
|
29431
|
+
Insert: {
|
|
29432
|
+
created_at?: string;
|
|
29433
|
+
foto_bucket?: string;
|
|
29434
|
+
km_strikt?: boolean;
|
|
29435
|
+
minuten_per_vakantiedag?: number | null;
|
|
29436
|
+
offline_marge_minuten?: number | null;
|
|
29437
|
+
offline_sync_registreren?: boolean;
|
|
29438
|
+
ov178_grens_minuten?: number | null;
|
|
29439
|
+
overuren_max_per_dag?: number | null;
|
|
29440
|
+
overuren_stap_minuten?: number | null;
|
|
29441
|
+
singleton?: boolean;
|
|
29442
|
+
tijdzone?: string | null;
|
|
29443
|
+
timer_grens_minuut?: number | null;
|
|
29444
|
+
updated_at?: string;
|
|
29445
|
+
vakantie_reeks_atomair?: boolean;
|
|
29446
|
+
};
|
|
29447
|
+
Update: {
|
|
29448
|
+
created_at?: string;
|
|
29449
|
+
foto_bucket?: string;
|
|
29450
|
+
km_strikt?: boolean;
|
|
29451
|
+
minuten_per_vakantiedag?: number | null;
|
|
29452
|
+
offline_marge_minuten?: number | null;
|
|
29453
|
+
offline_sync_registreren?: boolean;
|
|
29454
|
+
ov178_grens_minuten?: number | null;
|
|
29455
|
+
overuren_max_per_dag?: number | null;
|
|
29456
|
+
overuren_stap_minuten?: number | null;
|
|
29457
|
+
singleton?: boolean;
|
|
29458
|
+
tijdzone?: string | null;
|
|
29459
|
+
timer_grens_minuut?: number | null;
|
|
29460
|
+
updated_at?: string;
|
|
29461
|
+
vakantie_reeks_atomair?: boolean;
|
|
29462
|
+
};
|
|
29463
|
+
Relationships: [];
|
|
29464
|
+
};
|
|
29465
|
+
uren_offline_sync_log: {
|
|
29466
|
+
Row: {
|
|
29467
|
+
apparaat_tijdstip: string;
|
|
29468
|
+
created_at: string;
|
|
29469
|
+
employee_id: string;
|
|
29470
|
+
gemarkeerd: boolean;
|
|
29471
|
+
id: string;
|
|
29472
|
+
sync_moment: string;
|
|
29473
|
+
time_log_id: string | null;
|
|
29474
|
+
verschil_minuten: number;
|
|
29475
|
+
};
|
|
29476
|
+
Insert: {
|
|
29477
|
+
apparaat_tijdstip: string;
|
|
29478
|
+
created_at?: string;
|
|
29479
|
+
employee_id: string;
|
|
29480
|
+
gemarkeerd?: boolean;
|
|
29481
|
+
id?: string;
|
|
29482
|
+
sync_moment?: string;
|
|
29483
|
+
time_log_id?: string | null;
|
|
29484
|
+
verschil_minuten: number;
|
|
29485
|
+
};
|
|
29486
|
+
Update: {
|
|
29487
|
+
apparaat_tijdstip?: string;
|
|
29488
|
+
created_at?: string;
|
|
29489
|
+
employee_id?: string;
|
|
29490
|
+
gemarkeerd?: boolean;
|
|
29491
|
+
id?: string;
|
|
29492
|
+
sync_moment?: string;
|
|
29493
|
+
time_log_id?: string | null;
|
|
29494
|
+
verschil_minuten?: number;
|
|
29495
|
+
};
|
|
29496
|
+
Relationships: [];
|
|
29497
|
+
};
|
|
28986
29498
|
uren_overuren_verklaringen: {
|
|
28987
29499
|
Row: {
|
|
28988
29500
|
beoordeeld_door: string | null;
|
|
@@ -29437,6 +29949,33 @@ export type Database = {
|
|
|
29437
29949
|
}
|
|
29438
29950
|
];
|
|
29439
29951
|
};
|
|
29952
|
+
uren_time_log_idempotentie: {
|
|
29953
|
+
Row: {
|
|
29954
|
+
created_at: string;
|
|
29955
|
+
employee_id: string;
|
|
29956
|
+
id: string;
|
|
29957
|
+
sleutel: string;
|
|
29958
|
+
soort: string;
|
|
29959
|
+
time_log_id: string | null;
|
|
29960
|
+
};
|
|
29961
|
+
Insert: {
|
|
29962
|
+
created_at?: string;
|
|
29963
|
+
employee_id: string;
|
|
29964
|
+
id?: string;
|
|
29965
|
+
sleutel: string;
|
|
29966
|
+
soort: string;
|
|
29967
|
+
time_log_id?: string | null;
|
|
29968
|
+
};
|
|
29969
|
+
Update: {
|
|
29970
|
+
created_at?: string;
|
|
29971
|
+
employee_id?: string;
|
|
29972
|
+
id?: string;
|
|
29973
|
+
sleutel?: string;
|
|
29974
|
+
soort?: string;
|
|
29975
|
+
time_log_id?: string | null;
|
|
29976
|
+
};
|
|
29977
|
+
Relationships: [];
|
|
29978
|
+
};
|
|
29440
29979
|
uren_week_overuren: {
|
|
29441
29980
|
Row: {
|
|
29442
29981
|
contract_minuten: number;
|
|
@@ -29714,6 +30253,33 @@ export type Database = {
|
|
|
29714
30253
|
}
|
|
29715
30254
|
];
|
|
29716
30255
|
};
|
|
30256
|
+
verkoop_alerts: {
|
|
30257
|
+
Row: {
|
|
30258
|
+
bericht: string;
|
|
30259
|
+
created_at: string;
|
|
30260
|
+
details: Json;
|
|
30261
|
+
id: string;
|
|
30262
|
+
resolved_at: string | null;
|
|
30263
|
+
soort: string;
|
|
30264
|
+
};
|
|
30265
|
+
Insert: {
|
|
30266
|
+
bericht: string;
|
|
30267
|
+
created_at?: string;
|
|
30268
|
+
details?: Json;
|
|
30269
|
+
id?: string;
|
|
30270
|
+
resolved_at?: string | null;
|
|
30271
|
+
soort: string;
|
|
30272
|
+
};
|
|
30273
|
+
Update: {
|
|
30274
|
+
bericht?: string;
|
|
30275
|
+
created_at?: string;
|
|
30276
|
+
details?: Json;
|
|
30277
|
+
id?: string;
|
|
30278
|
+
resolved_at?: string | null;
|
|
30279
|
+
soort?: string;
|
|
30280
|
+
};
|
|
30281
|
+
Relationships: [];
|
|
30282
|
+
};
|
|
29717
30283
|
verkoop_correctie_log: {
|
|
29718
30284
|
Row: {
|
|
29719
30285
|
aantal_orders: number;
|
|
@@ -30137,26 +30703,41 @@ export type Database = {
|
|
|
30137
30703
|
};
|
|
30138
30704
|
verkoop_sync_state: {
|
|
30139
30705
|
Row: {
|
|
30706
|
+
details: Json | null;
|
|
30140
30707
|
ensure_cron_at: string | null;
|
|
30141
30708
|
full_run_at: string | null;
|
|
30142
30709
|
key: string;
|
|
30710
|
+
last_error: string | null;
|
|
30711
|
+
last_error_at: string | null;
|
|
30712
|
+
last_ok_at: string | null;
|
|
30143
30713
|
last_seen_at: string | null;
|
|
30714
|
+
last_status: number | null;
|
|
30144
30715
|
rebuilt_at: string | null;
|
|
30145
30716
|
updated_at: string;
|
|
30146
30717
|
};
|
|
30147
30718
|
Insert: {
|
|
30719
|
+
details?: Json | null;
|
|
30148
30720
|
ensure_cron_at?: string | null;
|
|
30149
30721
|
full_run_at?: string | null;
|
|
30150
30722
|
key: string;
|
|
30723
|
+
last_error?: string | null;
|
|
30724
|
+
last_error_at?: string | null;
|
|
30725
|
+
last_ok_at?: string | null;
|
|
30151
30726
|
last_seen_at?: string | null;
|
|
30727
|
+
last_status?: number | null;
|
|
30152
30728
|
rebuilt_at?: string | null;
|
|
30153
30729
|
updated_at?: string;
|
|
30154
30730
|
};
|
|
30155
30731
|
Update: {
|
|
30732
|
+
details?: Json | null;
|
|
30156
30733
|
ensure_cron_at?: string | null;
|
|
30157
30734
|
full_run_at?: string | null;
|
|
30158
30735
|
key?: string;
|
|
30736
|
+
last_error?: string | null;
|
|
30737
|
+
last_error_at?: string | null;
|
|
30738
|
+
last_ok_at?: string | null;
|
|
30159
30739
|
last_seen_at?: string | null;
|
|
30740
|
+
last_status?: number | null;
|
|
30160
30741
|
rebuilt_at?: string | null;
|
|
30161
30742
|
updated_at?: string;
|
|
30162
30743
|
};
|
|
@@ -31172,6 +31753,39 @@ export type Database = {
|
|
|
31172
31753
|
}
|
|
31173
31754
|
];
|
|
31174
31755
|
};
|
|
31756
|
+
voorraad_registratie_intrekkingen: {
|
|
31757
|
+
Row: {
|
|
31758
|
+
connection_id: string | null;
|
|
31759
|
+
created_at: string;
|
|
31760
|
+
id: string;
|
|
31761
|
+
oude_waarden: Json | null;
|
|
31762
|
+
reden: string | null;
|
|
31763
|
+
trade_item_key: string;
|
|
31764
|
+
uitkomst: string;
|
|
31765
|
+
user_id: string | null;
|
|
31766
|
+
};
|
|
31767
|
+
Insert: {
|
|
31768
|
+
connection_id?: string | null;
|
|
31769
|
+
created_at?: string;
|
|
31770
|
+
id?: string;
|
|
31771
|
+
oude_waarden?: Json | null;
|
|
31772
|
+
reden?: string | null;
|
|
31773
|
+
trade_item_key: string;
|
|
31774
|
+
uitkomst: string;
|
|
31775
|
+
user_id?: string | null;
|
|
31776
|
+
};
|
|
31777
|
+
Update: {
|
|
31778
|
+
connection_id?: string | null;
|
|
31779
|
+
created_at?: string;
|
|
31780
|
+
id?: string;
|
|
31781
|
+
oude_waarden?: Json | null;
|
|
31782
|
+
reden?: string | null;
|
|
31783
|
+
trade_item_key?: string;
|
|
31784
|
+
uitkomst?: string;
|
|
31785
|
+
user_id?: string | null;
|
|
31786
|
+
};
|
|
31787
|
+
Relationships: [];
|
|
31788
|
+
};
|
|
31175
31789
|
voorraad_telmoment: {
|
|
31176
31790
|
Row: {
|
|
31177
31791
|
created_at: string;
|
|
@@ -31566,6 +32180,35 @@ export type Database = {
|
|
|
31566
32180
|
};
|
|
31567
32181
|
Relationships: [];
|
|
31568
32182
|
};
|
|
32183
|
+
werkbon_materiaal_prijs_handmatig: {
|
|
32184
|
+
Row: {
|
|
32185
|
+
gezet_door: string | null;
|
|
32186
|
+
gezet_op: string;
|
|
32187
|
+
material_id: string;
|
|
32188
|
+
werkbon_id: string;
|
|
32189
|
+
};
|
|
32190
|
+
Insert: {
|
|
32191
|
+
gezet_door?: string | null;
|
|
32192
|
+
gezet_op?: string;
|
|
32193
|
+
material_id: string;
|
|
32194
|
+
werkbon_id: string;
|
|
32195
|
+
};
|
|
32196
|
+
Update: {
|
|
32197
|
+
gezet_door?: string | null;
|
|
32198
|
+
gezet_op?: string;
|
|
32199
|
+
material_id?: string;
|
|
32200
|
+
werkbon_id?: string;
|
|
32201
|
+
};
|
|
32202
|
+
Relationships: [
|
|
32203
|
+
{
|
|
32204
|
+
foreignKeyName: "werkbon_materiaal_prijs_handmatig_material_id_fkey";
|
|
32205
|
+
columns: ["material_id"];
|
|
32206
|
+
isOneToOne: true;
|
|
32207
|
+
referencedRelation: "werkbon_materials";
|
|
32208
|
+
referencedColumns: ["id"];
|
|
32209
|
+
}
|
|
32210
|
+
];
|
|
32211
|
+
};
|
|
31569
32212
|
werkbon_materials: {
|
|
31570
32213
|
Row: {
|
|
31571
32214
|
article_number: string | null;
|
|
@@ -31653,27 +32296,33 @@ export type Database = {
|
|
|
31653
32296
|
werkbon_monteur_settings: {
|
|
31654
32297
|
Row: {
|
|
31655
32298
|
created_at: string;
|
|
32299
|
+
foto_bucket: string;
|
|
31656
32300
|
id: number;
|
|
31657
32301
|
mandaat_blokkeer_gereed: boolean;
|
|
31658
32302
|
mandaat_waarschuwing_procent: number;
|
|
32303
|
+
materiaalprijs_auto_aanvullen: boolean;
|
|
31659
32304
|
standaard_btw_procent: number;
|
|
31660
32305
|
tijdzone: string;
|
|
31661
32306
|
updated_at: string;
|
|
31662
32307
|
};
|
|
31663
32308
|
Insert: {
|
|
31664
32309
|
created_at?: string;
|
|
32310
|
+
foto_bucket?: string;
|
|
31665
32311
|
id?: number;
|
|
31666
32312
|
mandaat_blokkeer_gereed?: boolean;
|
|
31667
32313
|
mandaat_waarschuwing_procent?: number;
|
|
32314
|
+
materiaalprijs_auto_aanvullen?: boolean;
|
|
31668
32315
|
standaard_btw_procent?: number;
|
|
31669
32316
|
tijdzone?: string;
|
|
31670
32317
|
updated_at?: string;
|
|
31671
32318
|
};
|
|
31672
32319
|
Update: {
|
|
31673
32320
|
created_at?: string;
|
|
32321
|
+
foto_bucket?: string;
|
|
31674
32322
|
id?: number;
|
|
31675
32323
|
mandaat_blokkeer_gereed?: boolean;
|
|
31676
32324
|
mandaat_waarschuwing_procent?: number;
|
|
32325
|
+
materiaalprijs_auto_aanvullen?: boolean;
|
|
31677
32326
|
standaard_btw_procent?: number;
|
|
31678
32327
|
tijdzone?: string;
|
|
31679
32328
|
updated_at?: string;
|
|
@@ -31874,6 +32523,27 @@ export type Database = {
|
|
|
31874
32523
|
}
|
|
31875
32524
|
];
|
|
31876
32525
|
};
|
|
32526
|
+
werkbon_package_line_klikken: {
|
|
32527
|
+
Row: {
|
|
32528
|
+
client_id: string;
|
|
32529
|
+
created_at: string;
|
|
32530
|
+
package_line_id: string;
|
|
32531
|
+
werkbon_id: string;
|
|
32532
|
+
};
|
|
32533
|
+
Insert: {
|
|
32534
|
+
client_id: string;
|
|
32535
|
+
created_at?: string;
|
|
32536
|
+
package_line_id: string;
|
|
32537
|
+
werkbon_id: string;
|
|
32538
|
+
};
|
|
32539
|
+
Update: {
|
|
32540
|
+
client_id?: string;
|
|
32541
|
+
created_at?: string;
|
|
32542
|
+
package_line_id?: string;
|
|
32543
|
+
werkbon_id?: string;
|
|
32544
|
+
};
|
|
32545
|
+
Relationships: [];
|
|
32546
|
+
};
|
|
31877
32547
|
werkbon_package_lines: {
|
|
31878
32548
|
Row: {
|
|
31879
32549
|
auto_added: boolean;
|
|
@@ -31938,6 +32608,7 @@ export type Database = {
|
|
|
31938
32608
|
created_at: string;
|
|
31939
32609
|
extra_quarter_minutes: number;
|
|
31940
32610
|
id: number;
|
|
32611
|
+
terugval_marge_procent: number | null;
|
|
31941
32612
|
updated_at: string;
|
|
31942
32613
|
};
|
|
31943
32614
|
Insert: {
|
|
@@ -31945,6 +32616,7 @@ export type Database = {
|
|
|
31945
32616
|
created_at?: string;
|
|
31946
32617
|
extra_quarter_minutes?: number;
|
|
31947
32618
|
id?: number;
|
|
32619
|
+
terugval_marge_procent?: number | null;
|
|
31948
32620
|
updated_at?: string;
|
|
31949
32621
|
};
|
|
31950
32622
|
Update: {
|
|
@@ -31952,6 +32624,7 @@ export type Database = {
|
|
|
31952
32624
|
created_at?: string;
|
|
31953
32625
|
extra_quarter_minutes?: number;
|
|
31954
32626
|
id?: number;
|
|
32627
|
+
terugval_marge_procent?: number | null;
|
|
31955
32628
|
updated_at?: string;
|
|
31956
32629
|
};
|
|
31957
32630
|
Relationships: [];
|
|
@@ -32075,6 +32748,51 @@ export type Database = {
|
|
|
32075
32748
|
}
|
|
32076
32749
|
];
|
|
32077
32750
|
};
|
|
32751
|
+
werkbon_postvak_settings: {
|
|
32752
|
+
Row: {
|
|
32753
|
+
ai_local_date: boolean;
|
|
32754
|
+
analyse_claim_ttl_seconds: number;
|
|
32755
|
+
confirmation_require_valid_email: boolean;
|
|
32756
|
+
created_at: string;
|
|
32757
|
+
customer_match_fuzzy: boolean;
|
|
32758
|
+
customer_match_in_db: boolean;
|
|
32759
|
+
customer_match_similarity: number;
|
|
32760
|
+
id: string;
|
|
32761
|
+
optimistic_lock_enabled: boolean;
|
|
32762
|
+
singleton: boolean;
|
|
32763
|
+
timezone: string;
|
|
32764
|
+
updated_at: string;
|
|
32765
|
+
};
|
|
32766
|
+
Insert: {
|
|
32767
|
+
ai_local_date?: boolean;
|
|
32768
|
+
analyse_claim_ttl_seconds?: number;
|
|
32769
|
+
confirmation_require_valid_email?: boolean;
|
|
32770
|
+
created_at?: string;
|
|
32771
|
+
customer_match_fuzzy?: boolean;
|
|
32772
|
+
customer_match_in_db?: boolean;
|
|
32773
|
+
customer_match_similarity?: number;
|
|
32774
|
+
id?: string;
|
|
32775
|
+
optimistic_lock_enabled?: boolean;
|
|
32776
|
+
singleton?: boolean;
|
|
32777
|
+
timezone?: string;
|
|
32778
|
+
updated_at?: string;
|
|
32779
|
+
};
|
|
32780
|
+
Update: {
|
|
32781
|
+
ai_local_date?: boolean;
|
|
32782
|
+
analyse_claim_ttl_seconds?: number;
|
|
32783
|
+
confirmation_require_valid_email?: boolean;
|
|
32784
|
+
created_at?: string;
|
|
32785
|
+
customer_match_fuzzy?: boolean;
|
|
32786
|
+
customer_match_in_db?: boolean;
|
|
32787
|
+
customer_match_similarity?: number;
|
|
32788
|
+
id?: string;
|
|
32789
|
+
optimistic_lock_enabled?: boolean;
|
|
32790
|
+
singleton?: boolean;
|
|
32791
|
+
timezone?: string;
|
|
32792
|
+
updated_at?: string;
|
|
32793
|
+
};
|
|
32794
|
+
Relationships: [];
|
|
32795
|
+
};
|
|
32078
32796
|
werkbon_proposal_lines: {
|
|
32079
32797
|
Row: {
|
|
32080
32798
|
article_number: string | null;
|
|
@@ -32133,6 +32851,8 @@ export type Database = {
|
|
|
32133
32851
|
};
|
|
32134
32852
|
werkbon_proposals: {
|
|
32135
32853
|
Row: {
|
|
32854
|
+
analyse_claimed_at: string | null;
|
|
32855
|
+
analyse_claimed_by: string | null;
|
|
32136
32856
|
analysed: boolean;
|
|
32137
32857
|
budget_mandate_cents: number;
|
|
32138
32858
|
complaint_description: string | null;
|
|
@@ -32165,6 +32885,8 @@ export type Database = {
|
|
|
32165
32885
|
work_address: string | null;
|
|
32166
32886
|
};
|
|
32167
32887
|
Insert: {
|
|
32888
|
+
analyse_claimed_at?: string | null;
|
|
32889
|
+
analyse_claimed_by?: string | null;
|
|
32168
32890
|
analysed?: boolean;
|
|
32169
32891
|
budget_mandate_cents?: number;
|
|
32170
32892
|
complaint_description?: string | null;
|
|
@@ -32197,6 +32919,8 @@ export type Database = {
|
|
|
32197
32919
|
work_address?: string | null;
|
|
32198
32920
|
};
|
|
32199
32921
|
Update: {
|
|
32922
|
+
analyse_claimed_at?: string | null;
|
|
32923
|
+
analyse_claimed_by?: string | null;
|
|
32200
32924
|
analysed?: boolean;
|
|
32201
32925
|
budget_mandate_cents?: number;
|
|
32202
32926
|
complaint_description?: string | null;
|
|
@@ -33811,6 +34535,10 @@ export type Database = {
|
|
|
33811
34535
|
};
|
|
33812
34536
|
Returns: string;
|
|
33813
34537
|
};
|
|
34538
|
+
_layouts_ontbrekende_standaarden: {
|
|
34539
|
+
Args: never;
|
|
34540
|
+
Returns: string[];
|
|
34541
|
+
};
|
|
33814
34542
|
_layouts_toegang_besluit: {
|
|
33815
34543
|
Args: {
|
|
33816
34544
|
p_alleen_beheer: boolean;
|
|
@@ -33851,6 +34579,12 @@ export type Database = {
|
|
|
33851
34579
|
};
|
|
33852
34580
|
Returns: Json;
|
|
33853
34581
|
};
|
|
34582
|
+
_logistics_buffers_vervallen_herstel: {
|
|
34583
|
+
Args: {
|
|
34584
|
+
p_order_id: string;
|
|
34585
|
+
};
|
|
34586
|
+
Returns: Json;
|
|
34587
|
+
};
|
|
33854
34588
|
_mailbox_norm: {
|
|
33855
34589
|
Args: {
|
|
33856
34590
|
p: string;
|
|
@@ -33864,6 +34598,13 @@ export type Database = {
|
|
|
33864
34598
|
};
|
|
33865
34599
|
Returns: undefined;
|
|
33866
34600
|
};
|
|
34601
|
+
_pakket_json_insert: {
|
|
34602
|
+
Args: {
|
|
34603
|
+
p_rij: Json;
|
|
34604
|
+
p_tabel: string;
|
|
34605
|
+
};
|
|
34606
|
+
Returns: string;
|
|
34607
|
+
};
|
|
33867
34608
|
_pick_claim_order_core: {
|
|
33868
34609
|
Args: {
|
|
33869
34610
|
_idempotency_key: string;
|
|
@@ -33883,6 +34624,12 @@ export type Database = {
|
|
|
33883
34624
|
};
|
|
33884
34625
|
Returns: Json;
|
|
33885
34626
|
};
|
|
34627
|
+
_pick_is_productiestation: {
|
|
34628
|
+
Args: {
|
|
34629
|
+
p_station_id: string;
|
|
34630
|
+
};
|
|
34631
|
+
Returns: boolean;
|
|
34632
|
+
};
|
|
33886
34633
|
_pick_job_of_station: {
|
|
33887
34634
|
Args: {
|
|
33888
34635
|
p_job_id: string;
|
|
@@ -33894,18 +34641,37 @@ export type Database = {
|
|
|
33894
34641
|
Args: never;
|
|
33895
34642
|
Returns: boolean;
|
|
33896
34643
|
};
|
|
34644
|
+
_pick_productie_bron: {
|
|
34645
|
+
Args: {
|
|
34646
|
+
p_device_key: string;
|
|
34647
|
+
p_slug: string;
|
|
34648
|
+
};
|
|
34649
|
+
Returns: Json;
|
|
34650
|
+
};
|
|
33897
34651
|
_pick_station_for_cart: {
|
|
33898
34652
|
Args: {
|
|
33899
34653
|
p_cart_id: string;
|
|
33900
34654
|
};
|
|
33901
34655
|
Returns: string;
|
|
33902
34656
|
};
|
|
34657
|
+
_pick_station_gebruik: {
|
|
34658
|
+
Args: {
|
|
34659
|
+
p_station_id: string;
|
|
34660
|
+
};
|
|
34661
|
+
Returns: Json;
|
|
34662
|
+
};
|
|
33903
34663
|
_pick_sticker_ids_for_cart: {
|
|
33904
34664
|
Args: {
|
|
33905
34665
|
p_cart_id: string;
|
|
33906
34666
|
};
|
|
33907
34667
|
Returns: string[];
|
|
33908
34668
|
};
|
|
34669
|
+
_pick_try_uuid: {
|
|
34670
|
+
Args: {
|
|
34671
|
+
p: string;
|
|
34672
|
+
};
|
|
34673
|
+
Returns: string;
|
|
34674
|
+
};
|
|
33909
34675
|
_print_label_maat_uit_code: {
|
|
33910
34676
|
Args: {
|
|
33911
34677
|
_formaten: Json;
|
|
@@ -33921,6 +34687,15 @@ export type Database = {
|
|
|
33921
34687
|
};
|
|
33922
34688
|
Returns: undefined;
|
|
33923
34689
|
};
|
|
34690
|
+
_productie_order_verwerken_kern: {
|
|
34691
|
+
Args: {
|
|
34692
|
+
p_bron: Json;
|
|
34693
|
+
p_door: string;
|
|
34694
|
+
p_id: string;
|
|
34695
|
+
p_via: string;
|
|
34696
|
+
};
|
|
34697
|
+
Returns: Json;
|
|
34698
|
+
};
|
|
33924
34699
|
_quote_release_work_order_intern: {
|
|
33925
34700
|
Args: {
|
|
33926
34701
|
_offerte_id: string;
|
|
@@ -34511,6 +35286,12 @@ export type Database = {
|
|
|
34511
35286
|
};
|
|
34512
35287
|
Returns: Json;
|
|
34513
35288
|
};
|
|
35289
|
+
artikelen_importeer_batch: {
|
|
35290
|
+
Args: {
|
|
35291
|
+
rijen: Json;
|
|
35292
|
+
};
|
|
35293
|
+
Returns: number;
|
|
35294
|
+
};
|
|
34514
35295
|
assign_cart_numbers: {
|
|
34515
35296
|
Args: {
|
|
34516
35297
|
p_carts: Json;
|
|
@@ -35334,6 +36115,15 @@ export type Database = {
|
|
|
35334
36115
|
};
|
|
35335
36116
|
Returns: Json;
|
|
35336
36117
|
};
|
|
36118
|
+
dashboard_dagnotitie_bewaar: {
|
|
36119
|
+
Args: {
|
|
36120
|
+
_datum: string;
|
|
36121
|
+
_eigenaar: string;
|
|
36122
|
+
_tekst: string;
|
|
36123
|
+
_verwacht: string;
|
|
36124
|
+
};
|
|
36125
|
+
Returns: Json;
|
|
36126
|
+
};
|
|
35337
36127
|
dashboard_ensure_defaults: {
|
|
35338
36128
|
Args: never;
|
|
35339
36129
|
Returns: Json;
|
|
@@ -35387,6 +36177,29 @@ export type Database = {
|
|
|
35387
36177
|
};
|
|
35388
36178
|
Returns: string;
|
|
35389
36179
|
};
|
|
36180
|
+
dashboard_pit_facturen_betaald: {
|
|
36181
|
+
Args: {
|
|
36182
|
+
_tot: string;
|
|
36183
|
+
_van: string;
|
|
36184
|
+
};
|
|
36185
|
+
Returns: Json;
|
|
36186
|
+
};
|
|
36187
|
+
dashboard_pit_ftf: {
|
|
36188
|
+
Args: {
|
|
36189
|
+
_vanaf: string;
|
|
36190
|
+
};
|
|
36191
|
+
Returns: Json;
|
|
36192
|
+
};
|
|
36193
|
+
dashboard_pit_offertes: {
|
|
36194
|
+
Args: never;
|
|
36195
|
+
Returns: Json;
|
|
36196
|
+
};
|
|
36197
|
+
dashboard_pit_omzet_open: {
|
|
36198
|
+
Args: {
|
|
36199
|
+
_vandaag: string;
|
|
36200
|
+
};
|
|
36201
|
+
Returns: Json;
|
|
36202
|
+
};
|
|
35390
36203
|
dashboard_pit_tellingen: {
|
|
35391
36204
|
Args: {
|
|
35392
36205
|
_mail_connecties?: string[];
|
|
@@ -35394,6 +36207,15 @@ export type Database = {
|
|
|
35394
36207
|
};
|
|
35395
36208
|
Returns: Json;
|
|
35396
36209
|
};
|
|
36210
|
+
dashboard_pit_werkuren: {
|
|
36211
|
+
Args: {
|
|
36212
|
+
_tijdzone: string;
|
|
36213
|
+
_tot: string;
|
|
36214
|
+
_uit_duur: boolean;
|
|
36215
|
+
_van: string;
|
|
36216
|
+
};
|
|
36217
|
+
Returns: Json;
|
|
36218
|
+
};
|
|
35397
36219
|
dashboard_today_summary: {
|
|
35398
36220
|
Args: never;
|
|
35399
36221
|
Returns: Json;
|
|
@@ -37090,6 +37912,20 @@ export type Database = {
|
|
|
37090
37912
|
};
|
|
37091
37913
|
Returns: Json;
|
|
37092
37914
|
};
|
|
37915
|
+
invoice_send_queue: {
|
|
37916
|
+
Args: {
|
|
37917
|
+
_attachments: Json;
|
|
37918
|
+
_connection_id: string;
|
|
37919
|
+
_html_body: string;
|
|
37920
|
+
_invoice_id: string;
|
|
37921
|
+
_purpose: string;
|
|
37922
|
+
_send_key: string;
|
|
37923
|
+
_subject: string;
|
|
37924
|
+
_text_body: string;
|
|
37925
|
+
_to: string;
|
|
37926
|
+
};
|
|
37927
|
+
Returns: Json;
|
|
37928
|
+
};
|
|
37093
37929
|
invoice_set_email_purpose: {
|
|
37094
37930
|
Args: {
|
|
37095
37931
|
_purpose: string;
|
|
@@ -37182,6 +38018,46 @@ export type Database = {
|
|
|
37182
38018
|
Args: never;
|
|
37183
38019
|
Returns: boolean;
|
|
37184
38020
|
};
|
|
38021
|
+
itk_customer_delete_hard: {
|
|
38022
|
+
Args: {
|
|
38023
|
+
_id: string;
|
|
38024
|
+
};
|
|
38025
|
+
Returns: Json;
|
|
38026
|
+
};
|
|
38027
|
+
itk_customer_find_duplicates: {
|
|
38028
|
+
Args: {
|
|
38029
|
+
_email: string;
|
|
38030
|
+
_exclude?: string;
|
|
38031
|
+
_kvk: string;
|
|
38032
|
+
_postcode: string;
|
|
38033
|
+
_vat: string;
|
|
38034
|
+
};
|
|
38035
|
+
Returns: {
|
|
38036
|
+
customer_number: string;
|
|
38037
|
+
id: string;
|
|
38038
|
+
name: string;
|
|
38039
|
+
reden: string;
|
|
38040
|
+
}[];
|
|
38041
|
+
};
|
|
38042
|
+
itk_customer_invoiced: {
|
|
38043
|
+
Args: {
|
|
38044
|
+
_customer_ids: string[];
|
|
38045
|
+
};
|
|
38046
|
+
Returns: {
|
|
38047
|
+
customer_id: string;
|
|
38048
|
+
gefactureerd_cents: number;
|
|
38049
|
+
}[];
|
|
38050
|
+
};
|
|
38051
|
+
itk_customer_save: {
|
|
38052
|
+
Args: {
|
|
38053
|
+
_contacten: Json;
|
|
38054
|
+
_klant: Json;
|
|
38055
|
+
_locaties: Json;
|
|
38056
|
+
_verwacht_updated_at?: string;
|
|
38057
|
+
_waarden?: Json;
|
|
38058
|
+
};
|
|
38059
|
+
Returns: Json;
|
|
38060
|
+
};
|
|
37185
38061
|
itk_customer_stats: {
|
|
37186
38062
|
Args: {
|
|
37187
38063
|
_customer_ids: string[];
|
|
@@ -37203,6 +38079,19 @@ export type Database = {
|
|
|
37203
38079
|
werk_minuten: number;
|
|
37204
38080
|
}[];
|
|
37205
38081
|
};
|
|
38082
|
+
itk_customer_validate: {
|
|
38083
|
+
Args: {
|
|
38084
|
+
_k: Json;
|
|
38085
|
+
};
|
|
38086
|
+
Returns: string[];
|
|
38087
|
+
};
|
|
38088
|
+
itk_invoiced_between: {
|
|
38089
|
+
Args: {
|
|
38090
|
+
_tot: string;
|
|
38091
|
+
_van: string;
|
|
38092
|
+
};
|
|
38093
|
+
Returns: number;
|
|
38094
|
+
};
|
|
37206
38095
|
itk_month_trend: {
|
|
37207
38096
|
Args: {
|
|
37208
38097
|
_today: string;
|
|
@@ -37540,6 +38429,10 @@ export type Database = {
|
|
|
37540
38429
|
};
|
|
37541
38430
|
Returns: Json;
|
|
37542
38431
|
};
|
|
38432
|
+
layouts_ensure_defaults: {
|
|
38433
|
+
Args: never;
|
|
38434
|
+
Returns: Json;
|
|
38435
|
+
};
|
|
37543
38436
|
layouts_factuur_bevries_afbeeldingen: {
|
|
37544
38437
|
Args: {
|
|
37545
38438
|
p_afbeeldingen: Json;
|
|
@@ -38194,6 +39087,10 @@ export type Database = {
|
|
|
38194
39087
|
};
|
|
38195
39088
|
Returns: string;
|
|
38196
39089
|
};
|
|
39090
|
+
logistics_buffers_herstel_status: {
|
|
39091
|
+
Args: never;
|
|
39092
|
+
Returns: Json;
|
|
39093
|
+
};
|
|
38197
39094
|
logistics_cancel_order: {
|
|
38198
39095
|
Args: {
|
|
38199
39096
|
p_order_ref: string;
|
|
@@ -39804,6 +40701,14 @@ export type Database = {
|
|
|
39804
40701
|
uitleg: string;
|
|
39805
40702
|
}[];
|
|
39806
40703
|
};
|
|
40704
|
+
logistics_install_check_buffers_vervallen: {
|
|
40705
|
+
Args: never;
|
|
40706
|
+
Returns: {
|
|
40707
|
+
ok: boolean;
|
|
40708
|
+
onderdeel: string;
|
|
40709
|
+
toelichting: string;
|
|
40710
|
+
}[];
|
|
40711
|
+
};
|
|
39807
40712
|
logistics_install_check_productiebon: {
|
|
39808
40713
|
Args: never;
|
|
39809
40714
|
Returns: {
|
|
@@ -40611,6 +41516,12 @@ export type Database = {
|
|
|
40611
41516
|
order_id: string;
|
|
40612
41517
|
}[];
|
|
40613
41518
|
};
|
|
41519
|
+
logistics_order_vervallen: {
|
|
41520
|
+
Args: {
|
|
41521
|
+
p_order_id: string;
|
|
41522
|
+
};
|
|
41523
|
+
Returns: boolean;
|
|
41524
|
+
};
|
|
40614
41525
|
logistics_orphan_carts_list: {
|
|
40615
41526
|
Args: never;
|
|
40616
41527
|
Returns: Json;
|
|
@@ -41269,6 +42180,13 @@ export type Database = {
|
|
|
41269
42180
|
};
|
|
41270
42181
|
Returns: Json;
|
|
41271
42182
|
};
|
|
42183
|
+
logistics_productiebon_goedkeuren_v2: {
|
|
42184
|
+
Args: {
|
|
42185
|
+
p_bron?: Json;
|
|
42186
|
+
p_queue_id: string;
|
|
42187
|
+
};
|
|
42188
|
+
Returns: Json;
|
|
42189
|
+
};
|
|
41272
42190
|
logistics_productiebon_log_schrijf: {
|
|
41273
42191
|
Args: {
|
|
41274
42192
|
p_actie: string;
|
|
@@ -41278,6 +42196,10 @@ export type Database = {
|
|
|
41278
42196
|
};
|
|
41279
42197
|
Returns: undefined;
|
|
41280
42198
|
};
|
|
42199
|
+
logistics_productiebon_station: {
|
|
42200
|
+
Args: never;
|
|
42201
|
+
Returns: Json;
|
|
42202
|
+
};
|
|
41281
42203
|
logistics_productiebon_status: {
|
|
41282
42204
|
Args: never;
|
|
41283
42205
|
Returns: Json;
|
|
@@ -42002,6 +42924,22 @@ export type Database = {
|
|
|
42002
42924
|
Args: never;
|
|
42003
42925
|
Returns: Json;
|
|
42004
42926
|
};
|
|
42927
|
+
logistics_station_in_gebruik: {
|
|
42928
|
+
Args: {
|
|
42929
|
+
p_station_id: string;
|
|
42930
|
+
};
|
|
42931
|
+
Returns: Json;
|
|
42932
|
+
};
|
|
42933
|
+
logistics_station_meldingen: {
|
|
42934
|
+
Args: never;
|
|
42935
|
+
Returns: Json;
|
|
42936
|
+
};
|
|
42937
|
+
logistics_station_voor_document: {
|
|
42938
|
+
Args: {
|
|
42939
|
+
p_document: string;
|
|
42940
|
+
};
|
|
42941
|
+
Returns: Json;
|
|
42942
|
+
};
|
|
42005
42943
|
logistics_status_after_shipping: {
|
|
42006
42944
|
Args: {
|
|
42007
42945
|
p_status: string;
|
|
@@ -42104,6 +43042,10 @@ export type Database = {
|
|
|
42104
43042
|
};
|
|
42105
43043
|
Returns: Json;
|
|
42106
43044
|
};
|
|
43045
|
+
logistics_sticker_sync_status: {
|
|
43046
|
+
Args: never;
|
|
43047
|
+
Returns: Json;
|
|
43048
|
+
};
|
|
42107
43049
|
logistics_sticker_upsert: {
|
|
42108
43050
|
Args: {
|
|
42109
43051
|
_bron: string;
|
|
@@ -42286,6 +43228,15 @@ export type Database = {
|
|
|
42286
43228
|
};
|
|
42287
43229
|
Returns: number;
|
|
42288
43230
|
};
|
|
43231
|
+
logistics_trace_event: {
|
|
43232
|
+
Args: {
|
|
43233
|
+
p_order_id: string;
|
|
43234
|
+
p_reason: string;
|
|
43235
|
+
p_status: string;
|
|
43236
|
+
p_step: string;
|
|
43237
|
+
};
|
|
43238
|
+
Returns: undefined;
|
|
43239
|
+
};
|
|
42289
43240
|
logistics_trace_node: {
|
|
42290
43241
|
Args: {
|
|
42291
43242
|
p_op?: string;
|
|
@@ -42544,6 +43495,20 @@ export type Database = {
|
|
|
42544
43495
|
};
|
|
42545
43496
|
Returns: Json;
|
|
42546
43497
|
};
|
|
43498
|
+
mailbox_proposals_page_v2: {
|
|
43499
|
+
Args: {
|
|
43500
|
+
p_date_field?: string;
|
|
43501
|
+
p_filter?: string;
|
|
43502
|
+
p_limit?: number;
|
|
43503
|
+
p_offset?: number;
|
|
43504
|
+
p_period?: string;
|
|
43505
|
+
p_search?: string;
|
|
43506
|
+
p_sort?: string;
|
|
43507
|
+
p_statuses: string[];
|
|
43508
|
+
p_tz?: string;
|
|
43509
|
+
};
|
|
43510
|
+
Returns: Json;
|
|
43511
|
+
};
|
|
42547
43512
|
mailbox_prune_ingest_runs: {
|
|
42548
43513
|
Args: {
|
|
42549
43514
|
p_limit?: number;
|
|
@@ -42554,6 +43519,42 @@ export type Database = {
|
|
|
42554
43519
|
Args: never;
|
|
42555
43520
|
Returns: Json;
|
|
42556
43521
|
};
|
|
43522
|
+
maps_claim_queue_items: {
|
|
43523
|
+
Args: {
|
|
43524
|
+
p_limit: number;
|
|
43525
|
+
p_max_attempts: number;
|
|
43526
|
+
};
|
|
43527
|
+
Returns: {
|
|
43528
|
+
attempts: number;
|
|
43529
|
+
created_at: string;
|
|
43530
|
+
destination_hash: string | null;
|
|
43531
|
+
id: string;
|
|
43532
|
+
kind: string;
|
|
43533
|
+
last_error: string | null;
|
|
43534
|
+
mode: string;
|
|
43535
|
+
origin_hash: string | null;
|
|
43536
|
+
processed_at: string | null;
|
|
43537
|
+
raw_destination: string | null;
|
|
43538
|
+
raw_origin: string | null;
|
|
43539
|
+
requested_by: string | null;
|
|
43540
|
+
status: string;
|
|
43541
|
+
updated_at: string;
|
|
43542
|
+
}[];
|
|
43543
|
+
SetofOptions: {
|
|
43544
|
+
from: "*";
|
|
43545
|
+
to: "maps_request_queue";
|
|
43546
|
+
isOneToOne: false;
|
|
43547
|
+
isSetofReturn: true;
|
|
43548
|
+
};
|
|
43549
|
+
};
|
|
43550
|
+
maps_try_consume_call: {
|
|
43551
|
+
Args: {
|
|
43552
|
+
p_day: string;
|
|
43553
|
+
p_initial: number;
|
|
43554
|
+
p_limit: number;
|
|
43555
|
+
};
|
|
43556
|
+
Returns: number;
|
|
43557
|
+
};
|
|
42557
43558
|
mark_offer_clicked: {
|
|
42558
43559
|
Args: {
|
|
42559
43560
|
p_code: string;
|
|
@@ -42710,6 +43711,31 @@ export type Database = {
|
|
|
42710
43711
|
};
|
|
42711
43712
|
Returns: string;
|
|
42712
43713
|
};
|
|
43714
|
+
overuren_beoordelen: {
|
|
43715
|
+
Args: {
|
|
43716
|
+
_goedkeuren: boolean;
|
|
43717
|
+
_id: string;
|
|
43718
|
+
_intrekking?: boolean;
|
|
43719
|
+
_reden?: string;
|
|
43720
|
+
_updated_at?: string;
|
|
43721
|
+
};
|
|
43722
|
+
Returns: Json;
|
|
43723
|
+
};
|
|
43724
|
+
pakket_aanmaken: {
|
|
43725
|
+
Args: {
|
|
43726
|
+
p_herkenning?: Json;
|
|
43727
|
+
p_pakket: Json;
|
|
43728
|
+
p_regels?: Json;
|
|
43729
|
+
};
|
|
43730
|
+
Returns: Json;
|
|
43731
|
+
};
|
|
43732
|
+
pakket_regels_volgorde: {
|
|
43733
|
+
Args: {
|
|
43734
|
+
p_ids: string[];
|
|
43735
|
+
p_package_id: string;
|
|
43736
|
+
};
|
|
43737
|
+
Returns: undefined;
|
|
43738
|
+
};
|
|
42713
43739
|
pakket_suggesties_voor_tekst: {
|
|
42714
43740
|
Args: {
|
|
42715
43741
|
_tekst: string;
|
|
@@ -43707,6 +44733,7 @@ export type Database = {
|
|
|
43707
44733
|
slug: string | null;
|
|
43708
44734
|
sort_order: number;
|
|
43709
44735
|
sort_rules: Json;
|
|
44736
|
+
system_code: string | null;
|
|
43710
44737
|
task_id: string | null;
|
|
43711
44738
|
type_id: string | null;
|
|
43712
44739
|
updated_at: string;
|
|
@@ -44412,6 +45439,12 @@ export type Database = {
|
|
|
44412
45439
|
naam: string;
|
|
44413
45440
|
}[];
|
|
44414
45441
|
};
|
|
45442
|
+
pick_station_gebruik: {
|
|
45443
|
+
Args: {
|
|
45444
|
+
p_station_ids: string[];
|
|
45445
|
+
};
|
|
45446
|
+
Returns: Json;
|
|
45447
|
+
};
|
|
44415
45448
|
pick_station_print_plek: {
|
|
44416
45449
|
Args: {
|
|
44417
45450
|
_station_id: string;
|
|
@@ -44756,6 +45789,57 @@ export type Database = {
|
|
|
44756
45789
|
};
|
|
44757
45790
|
Returns: Json;
|
|
44758
45791
|
};
|
|
45792
|
+
pickstation_printjob_status: {
|
|
45793
|
+
Args: {
|
|
45794
|
+
p_device_key: string;
|
|
45795
|
+
p_job_id: string;
|
|
45796
|
+
p_slug: string;
|
|
45797
|
+
};
|
|
45798
|
+
Returns: Json;
|
|
45799
|
+
};
|
|
45800
|
+
pickstation_productie_station: {
|
|
45801
|
+
Args: {
|
|
45802
|
+
p_device_key: string;
|
|
45803
|
+
p_slug: string;
|
|
45804
|
+
};
|
|
45805
|
+
Returns: Json;
|
|
45806
|
+
};
|
|
45807
|
+
pickstation_productie_verwerken: {
|
|
45808
|
+
Args: {
|
|
45809
|
+
p_device_key: string;
|
|
45810
|
+
p_productie_order_id: string;
|
|
45811
|
+
p_slug: string;
|
|
45812
|
+
};
|
|
45813
|
+
Returns: Json;
|
|
45814
|
+
};
|
|
45815
|
+
pickstation_productiebon_goedkeuren: {
|
|
45816
|
+
Args: {
|
|
45817
|
+
p_device_key: string;
|
|
45818
|
+
p_queue_id: string;
|
|
45819
|
+
p_slug: string;
|
|
45820
|
+
};
|
|
45821
|
+
Returns: Json;
|
|
45822
|
+
};
|
|
45823
|
+
pickstation_productiebon_printen: {
|
|
45824
|
+
Args: {
|
|
45825
|
+
p_device_key: string;
|
|
45826
|
+
p_herprint?: boolean;
|
|
45827
|
+
p_idempotency_key: string;
|
|
45828
|
+
p_productie_order_id: string;
|
|
45829
|
+
p_slug: string;
|
|
45830
|
+
};
|
|
45831
|
+
Returns: Json;
|
|
45832
|
+
};
|
|
45833
|
+
pickstation_productiebonnen: {
|
|
45834
|
+
Args: {
|
|
45835
|
+
p_device_key: string;
|
|
45836
|
+
p_geprint?: boolean;
|
|
45837
|
+
p_limit?: number;
|
|
45838
|
+
p_offset?: number;
|
|
45839
|
+
p_slug: string;
|
|
45840
|
+
};
|
|
45841
|
+
Returns: Json;
|
|
45842
|
+
};
|
|
44759
45843
|
pickstation_resolve_delivery_orders: {
|
|
44760
45844
|
Args: {
|
|
44761
45845
|
p_device_key: string;
|
|
@@ -44919,6 +46003,24 @@ export type Database = {
|
|
|
44919
46003
|
Args: never;
|
|
44920
46004
|
Returns: boolean;
|
|
44921
46005
|
};
|
|
46006
|
+
planning_overrun_claim_mail: {
|
|
46007
|
+
Args: {
|
|
46008
|
+
_mail_level: number;
|
|
46009
|
+
_planning_item_id: string;
|
|
46010
|
+
_target_item_id: string;
|
|
46011
|
+
_target_start_at: string;
|
|
46012
|
+
};
|
|
46013
|
+
Returns: boolean;
|
|
46014
|
+
};
|
|
46015
|
+
planning_overrun_release_claim: {
|
|
46016
|
+
Args: {
|
|
46017
|
+
_mail_level: number;
|
|
46018
|
+
_planning_item_id: string;
|
|
46019
|
+
_target_item_id: string;
|
|
46020
|
+
_target_start_at: string;
|
|
46021
|
+
};
|
|
46022
|
+
Returns: undefined;
|
|
46023
|
+
};
|
|
44922
46024
|
planning_set_assistants: {
|
|
44923
46025
|
Args: {
|
|
44924
46026
|
_monteur_ids: string[];
|
|
@@ -44926,6 +46028,29 @@ export type Database = {
|
|
|
44926
46028
|
};
|
|
44927
46029
|
Returns: undefined;
|
|
44928
46030
|
};
|
|
46031
|
+
planning_unscheduled_werkbonnen: {
|
|
46032
|
+
Args: {
|
|
46033
|
+
p_limit?: number;
|
|
46034
|
+
p_offset?: number;
|
|
46035
|
+
};
|
|
46036
|
+
Returns: {
|
|
46037
|
+
assigned_user_id: string;
|
|
46038
|
+
budget_mandate_cents: number;
|
|
46039
|
+
created_at: string;
|
|
46040
|
+
customer_id: string;
|
|
46041
|
+
estimated_duration_minutes: number;
|
|
46042
|
+
id: string;
|
|
46043
|
+
needs_detail_review: boolean;
|
|
46044
|
+
project_number: string;
|
|
46045
|
+
review_reasons: Json;
|
|
46046
|
+
scheduled_end_time: string;
|
|
46047
|
+
scheduled_start_time: string;
|
|
46048
|
+
status: string;
|
|
46049
|
+
technician_id: string;
|
|
46050
|
+
total_count: number;
|
|
46051
|
+
work_address: string;
|
|
46052
|
+
}[];
|
|
46053
|
+
};
|
|
44929
46054
|
planning_upsert_item: {
|
|
44930
46055
|
Args: {
|
|
44931
46056
|
_assigned_monteur_id: string;
|
|
@@ -44939,6 +46064,19 @@ export type Database = {
|
|
|
44939
46064
|
id: string;
|
|
44940
46065
|
}[];
|
|
44941
46066
|
};
|
|
46067
|
+
planning_upsert_item_forced: {
|
|
46068
|
+
Args: {
|
|
46069
|
+
_assigned_monteur_id: string;
|
|
46070
|
+
_end_at: string;
|
|
46071
|
+
_notes?: string;
|
|
46072
|
+
_start_at: string;
|
|
46073
|
+
_werkbon_id: string;
|
|
46074
|
+
};
|
|
46075
|
+
Returns: {
|
|
46076
|
+
action: string;
|
|
46077
|
+
id: string;
|
|
46078
|
+
}[];
|
|
46079
|
+
};
|
|
44942
46080
|
planning_urlencode: {
|
|
44943
46081
|
Args: {
|
|
44944
46082
|
t: string;
|
|
@@ -45075,6 +46213,12 @@ export type Database = {
|
|
|
45075
46213
|
};
|
|
45076
46214
|
Returns: string;
|
|
45077
46215
|
};
|
|
46216
|
+
printplek_productiebon_printer: {
|
|
46217
|
+
Args: {
|
|
46218
|
+
_plek: string;
|
|
46219
|
+
};
|
|
46220
|
+
Returns: Json;
|
|
46221
|
+
};
|
|
45078
46222
|
printplek_verwijder_impact: {
|
|
45079
46223
|
Args: {
|
|
45080
46224
|
_id: string;
|
|
@@ -45237,6 +46381,13 @@ export type Database = {
|
|
|
45237
46381
|
};
|
|
45238
46382
|
Returns: Json;
|
|
45239
46383
|
};
|
|
46384
|
+
productie_order_verwerken_station: {
|
|
46385
|
+
Args: {
|
|
46386
|
+
p_bron: Json;
|
|
46387
|
+
p_id: string;
|
|
46388
|
+
};
|
|
46389
|
+
Returns: Json;
|
|
46390
|
+
};
|
|
45240
46391
|
productie_orders_lijst: {
|
|
45241
46392
|
Args: {
|
|
45242
46393
|
p_limit?: number;
|
|
@@ -45469,6 +46620,15 @@ export type Database = {
|
|
|
45469
46620
|
};
|
|
45470
46621
|
Returns: Json;
|
|
45471
46622
|
};
|
|
46623
|
+
quote_send: {
|
|
46624
|
+
Args: {
|
|
46625
|
+
_mail: Json;
|
|
46626
|
+
_naar: string;
|
|
46627
|
+
_offerte_id: string;
|
|
46628
|
+
_versie: string;
|
|
46629
|
+
};
|
|
46630
|
+
Returns: Json;
|
|
46631
|
+
};
|
|
45472
46632
|
quote_set_status: {
|
|
45473
46633
|
Args: {
|
|
45474
46634
|
_event_type?: string;
|
|
@@ -47361,6 +48521,13 @@ export type Database = {
|
|
|
47361
48521
|
};
|
|
47362
48522
|
Returns: undefined;
|
|
47363
48523
|
};
|
|
48524
|
+
uren_standaardweek_corrigeren: {
|
|
48525
|
+
Args: {
|
|
48526
|
+
_monteur_ids: string[];
|
|
48527
|
+
_rooster: Json;
|
|
48528
|
+
};
|
|
48529
|
+
Returns: Json;
|
|
48530
|
+
};
|
|
47364
48531
|
uren_standaardweek_doorzetten: {
|
|
47365
48532
|
Args: {
|
|
47366
48533
|
_monteur: string;
|
|
@@ -47444,6 +48611,18 @@ export type Database = {
|
|
|
47444
48611
|
};
|
|
47445
48612
|
Returns: undefined;
|
|
47446
48613
|
};
|
|
48614
|
+
uren_start_time_log_idempotent: {
|
|
48615
|
+
Args: {
|
|
48616
|
+
p_clicked_at: string;
|
|
48617
|
+
p_employee_id: string;
|
|
48618
|
+
p_sleutel: string;
|
|
48619
|
+
p_start_lat: number;
|
|
48620
|
+
p_start_lng: number;
|
|
48621
|
+
p_type: string;
|
|
48622
|
+
p_work_order_id: string;
|
|
48623
|
+
};
|
|
48624
|
+
Returns: Json;
|
|
48625
|
+
};
|
|
47447
48626
|
uren_stop_time_log: {
|
|
47448
48627
|
Args: {
|
|
47449
48628
|
p_employee_id: string;
|
|
@@ -47453,6 +48632,17 @@ export type Database = {
|
|
|
47453
48632
|
};
|
|
47454
48633
|
Returns: Json;
|
|
47455
48634
|
};
|
|
48635
|
+
uren_stop_time_log_idempotent: {
|
|
48636
|
+
Args: {
|
|
48637
|
+
p_employee_id: string;
|
|
48638
|
+
p_end_lat: number;
|
|
48639
|
+
p_end_lng: number;
|
|
48640
|
+
p_end_time: string;
|
|
48641
|
+
p_sleutel: string;
|
|
48642
|
+
p_time_log_id?: string;
|
|
48643
|
+
};
|
|
48644
|
+
Returns: Json;
|
|
48645
|
+
};
|
|
47456
48646
|
uren_switch_time_log: {
|
|
47457
48647
|
Args: {
|
|
47458
48648
|
p_employee_id: string;
|
|
@@ -47483,6 +48673,10 @@ export type Database = {
|
|
|
47483
48673
|
verwacht_minuten: number;
|
|
47484
48674
|
}[];
|
|
47485
48675
|
};
|
|
48676
|
+
uren_tijdzone: {
|
|
48677
|
+
Args: never;
|
|
48678
|
+
Returns: string;
|
|
48679
|
+
};
|
|
47486
48680
|
uren_timer_minuten: {
|
|
47487
48681
|
Args: {
|
|
47488
48682
|
_monteur: string;
|
|
@@ -47512,6 +48706,12 @@ export type Database = {
|
|
|
47512
48706
|
};
|
|
47513
48707
|
Returns: string;
|
|
47514
48708
|
};
|
|
48709
|
+
uren_vakantiedagen_wijzigen: {
|
|
48710
|
+
Args: {
|
|
48711
|
+
_datums: string[];
|
|
48712
|
+
};
|
|
48713
|
+
Returns: boolean[];
|
|
48714
|
+
};
|
|
47515
48715
|
uren_vakantiesaldo_uren: {
|
|
47516
48716
|
Args: {
|
|
47517
48717
|
_monteur: string;
|
|
@@ -47652,6 +48852,12 @@ export type Database = {
|
|
|
47652
48852
|
isSetofReturn: false;
|
|
47653
48853
|
};
|
|
47654
48854
|
};
|
|
48855
|
+
uren_ziekteperiode_verwijderen: {
|
|
48856
|
+
Args: {
|
|
48857
|
+
_periode_id: string;
|
|
48858
|
+
};
|
|
48859
|
+
Returns: Json;
|
|
48860
|
+
};
|
|
47655
48861
|
vakantie_dagen_gebruikt: {
|
|
47656
48862
|
Args: {
|
|
47657
48863
|
_user_id: string;
|
|
@@ -47719,6 +48925,13 @@ export type Database = {
|
|
|
47719
48925
|
};
|
|
47720
48926
|
Returns: number;
|
|
47721
48927
|
};
|
|
48928
|
+
verkoop_alert_mail: {
|
|
48929
|
+
Args: {
|
|
48930
|
+
p_onderwerp: string;
|
|
48931
|
+
p_tekst: string;
|
|
48932
|
+
};
|
|
48933
|
+
Returns: string;
|
|
48934
|
+
};
|
|
47722
48935
|
verkoop_assert_caller: {
|
|
47723
48936
|
Args: {
|
|
47724
48937
|
p_level: string;
|
|
@@ -47770,10 +48983,26 @@ export type Database = {
|
|
|
47770
48983
|
Args: never;
|
|
47771
48984
|
Returns: Json;
|
|
47772
48985
|
};
|
|
48986
|
+
verkoop_ensure_cron_heal: {
|
|
48987
|
+
Args: never;
|
|
48988
|
+
Returns: Json;
|
|
48989
|
+
};
|
|
47773
48990
|
verkoop_ensure_defaults: {
|
|
47774
48991
|
Args: never;
|
|
47775
48992
|
Returns: Json;
|
|
47776
48993
|
};
|
|
48994
|
+
verkoop_fo_zonder_order: {
|
|
48995
|
+
Args: {
|
|
48996
|
+
p_min_leeftijd: string;
|
|
48997
|
+
p_sinds: string;
|
|
48998
|
+
};
|
|
48999
|
+
Returns: {
|
|
49000
|
+
categorie: string;
|
|
49001
|
+
floriday_id: string;
|
|
49002
|
+
leverdatum: string;
|
|
49003
|
+
ontvangen_at: string;
|
|
49004
|
+
}[];
|
|
49005
|
+
};
|
|
47777
49006
|
verkoop_fulfillment_index_apply: {
|
|
47778
49007
|
Args: {
|
|
47779
49008
|
p_data: Json;
|
|
@@ -47804,6 +49033,12 @@ export type Database = {
|
|
|
47804
49033
|
opm: string;
|
|
47805
49034
|
}[];
|
|
47806
49035
|
};
|
|
49036
|
+
verkoop_inhaal_preview: {
|
|
49037
|
+
Args: {
|
|
49038
|
+
p_sinds: string;
|
|
49039
|
+
};
|
|
49040
|
+
Returns: Json;
|
|
49041
|
+
};
|
|
47807
49042
|
verkoop_insert_manual_order: {
|
|
47808
49043
|
Args: {
|
|
47809
49044
|
p_idempotency_key: string;
|
|
@@ -47898,6 +49133,24 @@ export type Database = {
|
|
|
47898
49133
|
};
|
|
47899
49134
|
Returns: undefined;
|
|
47900
49135
|
};
|
|
49136
|
+
verkoop_sync_bewaking: {
|
|
49137
|
+
Args: never;
|
|
49138
|
+
Returns: Json;
|
|
49139
|
+
};
|
|
49140
|
+
verkoop_sync_melding: {
|
|
49141
|
+
Args: never;
|
|
49142
|
+
Returns: Json;
|
|
49143
|
+
};
|
|
49144
|
+
verlof_beoordelen: {
|
|
49145
|
+
Args: {
|
|
49146
|
+
_goedkeuren: boolean;
|
|
49147
|
+
_id: string;
|
|
49148
|
+
_intrekking?: boolean;
|
|
49149
|
+
_reden?: string;
|
|
49150
|
+
_updated_at?: string;
|
|
49151
|
+
};
|
|
49152
|
+
Returns: Json;
|
|
49153
|
+
};
|
|
47901
49154
|
vervang_printer: {
|
|
47902
49155
|
Args: {
|
|
47903
49156
|
_nieuw: string;
|
|
@@ -48796,6 +50049,13 @@ export type Database = {
|
|
|
48796
50049
|
};
|
|
48797
50050
|
Returns: number;
|
|
48798
50051
|
};
|
|
50052
|
+
week_goedkeuren: {
|
|
50053
|
+
Args: {
|
|
50054
|
+
_id: string;
|
|
50055
|
+
_updated_at?: string;
|
|
50056
|
+
};
|
|
50057
|
+
Returns: Json;
|
|
50058
|
+
};
|
|
48799
50059
|
werkbon_arbeidskosten_schatting: {
|
|
48800
50060
|
Args: {
|
|
48801
50061
|
_werkbon_id: string;
|
|
@@ -48814,6 +50074,15 @@ export type Database = {
|
|
|
48814
50074
|
};
|
|
48815
50075
|
Returns: string;
|
|
48816
50076
|
};
|
|
50077
|
+
werkbon_match_customer_candidates: {
|
|
50078
|
+
Args: {
|
|
50079
|
+
p_domains?: string[];
|
|
50080
|
+
p_emails: string[];
|
|
50081
|
+
p_limit?: number;
|
|
50082
|
+
p_names: string[];
|
|
50083
|
+
};
|
|
50084
|
+
Returns: Json;
|
|
50085
|
+
};
|
|
48817
50086
|
werkbon_pakket_tijden: {
|
|
48818
50087
|
Args: {
|
|
48819
50088
|
_werkbon_id: string;
|
|
@@ -48824,6 +50093,32 @@ export type Database = {
|
|
|
48824
50093
|
travel_minutes: number;
|
|
48825
50094
|
}[];
|
|
48826
50095
|
};
|
|
50096
|
+
werkbon_proposal_approve: {
|
|
50097
|
+
Args: {
|
|
50098
|
+
p_materials: Json;
|
|
50099
|
+
p_packages: Json;
|
|
50100
|
+
p_proposal_id: string;
|
|
50101
|
+
p_user: string;
|
|
50102
|
+
p_werkbon: Json;
|
|
50103
|
+
};
|
|
50104
|
+
Returns: Json;
|
|
50105
|
+
};
|
|
50106
|
+
werkbon_proposal_claim_analyse: {
|
|
50107
|
+
Args: {
|
|
50108
|
+
p_proposal_id: string;
|
|
50109
|
+
p_release?: boolean;
|
|
50110
|
+
p_ttl_seconds: number;
|
|
50111
|
+
p_user: string;
|
|
50112
|
+
};
|
|
50113
|
+
Returns: boolean;
|
|
50114
|
+
};
|
|
50115
|
+
werkbon_proposal_replace_lines: {
|
|
50116
|
+
Args: {
|
|
50117
|
+
p_lines: Json;
|
|
50118
|
+
p_proposal_id: string;
|
|
50119
|
+
};
|
|
50120
|
+
Returns: number;
|
|
50121
|
+
};
|
|
48827
50122
|
werkbon_totalen: {
|
|
48828
50123
|
Args: {
|
|
48829
50124
|
_werkbon_id: string;
|
|
@@ -48853,6 +50148,24 @@ export type Database = {
|
|
|
48853
50148
|
Args: never;
|
|
48854
50149
|
Returns: Json;
|
|
48855
50150
|
};
|
|
50151
|
+
withdraw_trade_item_stock_registration: {
|
|
50152
|
+
Args: {
|
|
50153
|
+
p_key: string;
|
|
50154
|
+
p_reason: string;
|
|
50155
|
+
};
|
|
50156
|
+
Returns: Json;
|
|
50157
|
+
};
|
|
50158
|
+
wo_add_package_line: {
|
|
50159
|
+
Args: {
|
|
50160
|
+
_client_id: string;
|
|
50161
|
+
_extra_minutes: number;
|
|
50162
|
+
_package_id: string;
|
|
50163
|
+
_quantity: number;
|
|
50164
|
+
_unit_price_cents: number;
|
|
50165
|
+
_werkbon_id: string;
|
|
50166
|
+
};
|
|
50167
|
+
Returns: Json;
|
|
50168
|
+
};
|
|
48856
50169
|
wo_approve_proposal_with_materials: {
|
|
48857
50170
|
Args: {
|
|
48858
50171
|
_id: string;
|
|
@@ -49044,6 +50357,15 @@ export type Database = {
|
|
|
49044
50357
|
};
|
|
49045
50358
|
Returns: Json;
|
|
49046
50359
|
};
|
|
50360
|
+
wo_save_with_materials: {
|
|
50361
|
+
Args: {
|
|
50362
|
+
_kop: Json;
|
|
50363
|
+
_materialen: Json;
|
|
50364
|
+
_verwacht_updated_at: string;
|
|
50365
|
+
_werkbon_id: string;
|
|
50366
|
+
};
|
|
50367
|
+
Returns: Json;
|
|
50368
|
+
};
|
|
49047
50369
|
wo_send_proposal_to_quote: {
|
|
49048
50370
|
Args: {
|
|
49049
50371
|
_id: string;
|
|
@@ -49089,6 +50411,13 @@ export type Database = {
|
|
|
49089
50411
|
Args: never;
|
|
49090
50412
|
Returns: number;
|
|
49091
50413
|
};
|
|
50414
|
+
wo_vul_materiaalprijs: {
|
|
50415
|
+
Args: {
|
|
50416
|
+
_id: string;
|
|
50417
|
+
_prijs_cents: number;
|
|
50418
|
+
};
|
|
50419
|
+
Returns: boolean;
|
|
50420
|
+
};
|
|
49092
50421
|
};
|
|
49093
50422
|
Enums: {
|
|
49094
50423
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|