@flowselections/scan-module 1.0.8 → 1.0.9
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/scanners/EindcontroleScanner.d.ts.map +1 -1
- package/dist-lib/components/scanners/EindcontroleScanner.js +35 -7
- package/dist-lib/components/scanners/KarIndelingScanner.d.ts.map +1 -1
- package/dist-lib/components/scanners/KarIndelingScanner.js +2 -1
- package/dist-lib/components/scanners/ScannerBySlug.d.ts.map +1 -1
- package/dist-lib/components/scanners/ScannerBySlug.js +5 -8
- package/dist-lib/components/scanners/StationNaamVeld.d.ts +3 -0
- package/dist-lib/components/scanners/StationNaamVeld.d.ts.map +1 -0
- package/dist-lib/components/scanners/StationNaamVeld.js +11 -0
- package/dist-lib/hooks/useKarIndeling.d.ts.map +1 -1
- package/dist-lib/hooks/useKarIndeling.js +11 -3
- package/dist-lib/hooks/useKarScanner.d.ts.map +1 -1
- package/dist-lib/hooks/useKarScanner.js +10 -1
- package/dist-lib/index.d.ts +2 -1
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +2 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +2276 -48
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +2276 -48
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.js +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +2276 -48
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.js +1 -1
- package/dist-lib/integrations/supabase/previewAuthStorage.d.ts +1 -1
- package/dist-lib/integrations/supabase/previewAuthStorage.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/previewAuthStorage.js +8 -1
- package/dist-lib/integrations/supabase/types.d.ts +2278 -14
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/pakbonScan.d.ts +13 -1
- package/dist-lib/lib/pakbonScan.d.ts.map +1 -1
- package/dist-lib/lib/pakbonScan.js +59 -13
- package/dist-lib/lib/stationNaam.d.ts +3 -0
- package/dist-lib/lib/stationNaam.d.ts.map +1 -0
- package/dist-lib/lib/stationNaam.js +24 -0
- package/package.json +2 -2
|
@@ -5,6 +5,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
5
5
|
Row: {
|
|
6
6
|
auto_print_delivery_note: boolean;
|
|
7
7
|
auto_process_paused: boolean;
|
|
8
|
+
control_bulk_max_carts: number;
|
|
8
9
|
created_at: string;
|
|
9
10
|
extra_pick_days_with_stickers: number;
|
|
10
11
|
id: string;
|
|
@@ -22,6 +23,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
22
23
|
Insert: {
|
|
23
24
|
auto_print_delivery_note?: boolean;
|
|
24
25
|
auto_process_paused?: boolean;
|
|
26
|
+
control_bulk_max_carts?: number;
|
|
25
27
|
created_at?: string;
|
|
26
28
|
extra_pick_days_with_stickers?: number;
|
|
27
29
|
id?: string;
|
|
@@ -39,6 +41,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
39
41
|
Update: {
|
|
40
42
|
auto_print_delivery_note?: boolean;
|
|
41
43
|
auto_process_paused?: boolean;
|
|
44
|
+
control_bulk_max_carts?: number;
|
|
42
45
|
created_at?: string;
|
|
43
46
|
extra_pick_days_with_stickers?: number;
|
|
44
47
|
id?: string;
|
|
@@ -730,6 +733,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
730
733
|
};
|
|
731
734
|
Relationships: [];
|
|
732
735
|
};
|
|
736
|
+
artikelen_instellingen: {
|
|
737
|
+
Row: {
|
|
738
|
+
created_at: string;
|
|
739
|
+
id: number;
|
|
740
|
+
marge_procent: number;
|
|
741
|
+
updated_at: string;
|
|
742
|
+
};
|
|
743
|
+
Insert: {
|
|
744
|
+
created_at?: string;
|
|
745
|
+
id?: number;
|
|
746
|
+
marge_procent?: number;
|
|
747
|
+
updated_at?: string;
|
|
748
|
+
};
|
|
749
|
+
Update: {
|
|
750
|
+
created_at?: string;
|
|
751
|
+
id?: number;
|
|
752
|
+
marge_procent?: number;
|
|
753
|
+
updated_at?: string;
|
|
754
|
+
};
|
|
755
|
+
Relationships: [];
|
|
756
|
+
};
|
|
733
757
|
artikelen_veldconfig: {
|
|
734
758
|
Row: {
|
|
735
759
|
bron_pad: string;
|
|
@@ -1381,6 +1405,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
1381
1405
|
id: string;
|
|
1382
1406
|
notes: string | null;
|
|
1383
1407
|
performed_at: string;
|
|
1408
|
+
request_key: string | null;
|
|
1384
1409
|
rescheduled_count: number;
|
|
1385
1410
|
stock_consumed_at: string | null;
|
|
1386
1411
|
total_carts: number;
|
|
@@ -1395,6 +1420,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
1395
1420
|
id?: string;
|
|
1396
1421
|
notes?: string | null;
|
|
1397
1422
|
performed_at?: string;
|
|
1423
|
+
request_key?: string | null;
|
|
1398
1424
|
rescheduled_count?: number;
|
|
1399
1425
|
stock_consumed_at?: string | null;
|
|
1400
1426
|
total_carts?: number;
|
|
@@ -1409,6 +1435,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
1409
1435
|
id?: string;
|
|
1410
1436
|
notes?: string | null;
|
|
1411
1437
|
performed_at?: string;
|
|
1438
|
+
request_key?: string | null;
|
|
1412
1439
|
rescheduled_count?: number;
|
|
1413
1440
|
stock_consumed_at?: string | null;
|
|
1414
1441
|
total_carts?: number;
|
|
@@ -7983,6 +8010,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7983
8010
|
};
|
|
7984
8011
|
fust_types: {
|
|
7985
8012
|
Row: {
|
|
8013
|
+
capacity_units: number | null;
|
|
7986
8014
|
connection_id: string | null;
|
|
7987
8015
|
created_at: string;
|
|
7988
8016
|
custom_package_id: string | null;
|
|
@@ -8003,6 +8031,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8003
8031
|
width_mm: number | null;
|
|
8004
8032
|
};
|
|
8005
8033
|
Insert: {
|
|
8034
|
+
capacity_units?: number | null;
|
|
8006
8035
|
connection_id?: string | null;
|
|
8007
8036
|
created_at?: string;
|
|
8008
8037
|
custom_package_id?: string | null;
|
|
@@ -8023,6 +8052,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8023
8052
|
width_mm?: number | null;
|
|
8024
8053
|
};
|
|
8025
8054
|
Update: {
|
|
8055
|
+
capacity_units?: number | null;
|
|
8026
8056
|
connection_id?: string | null;
|
|
8027
8057
|
created_at?: string;
|
|
8028
8058
|
custom_package_id?: string | null;
|
|
@@ -8254,6 +8284,72 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8254
8284
|
};
|
|
8255
8285
|
Relationships: [];
|
|
8256
8286
|
};
|
|
8287
|
+
invoice_branding_settings: {
|
|
8288
|
+
Row: {
|
|
8289
|
+
address: string;
|
|
8290
|
+
chamber_of_commerce_number: string;
|
|
8291
|
+
city: string;
|
|
8292
|
+
company_name: string;
|
|
8293
|
+
created_at: string;
|
|
8294
|
+
email: string;
|
|
8295
|
+
email_purpose: string | null;
|
|
8296
|
+
iban: string;
|
|
8297
|
+
logo_path: string | null;
|
|
8298
|
+
payment_term_days: number;
|
|
8299
|
+
phone: string;
|
|
8300
|
+
postal_code: string;
|
|
8301
|
+
primary_color: string;
|
|
8302
|
+
secondary_color: string;
|
|
8303
|
+
show_company_name: boolean;
|
|
8304
|
+
singleton_key: boolean;
|
|
8305
|
+
updated_at: string;
|
|
8306
|
+
vat_identification_number: string;
|
|
8307
|
+
website: string;
|
|
8308
|
+
};
|
|
8309
|
+
Insert: {
|
|
8310
|
+
address?: string;
|
|
8311
|
+
chamber_of_commerce_number?: string;
|
|
8312
|
+
city?: string;
|
|
8313
|
+
company_name?: string;
|
|
8314
|
+
created_at?: string;
|
|
8315
|
+
email?: string;
|
|
8316
|
+
email_purpose?: string | null;
|
|
8317
|
+
iban?: string;
|
|
8318
|
+
logo_path?: string | null;
|
|
8319
|
+
payment_term_days?: number;
|
|
8320
|
+
phone?: string;
|
|
8321
|
+
postal_code?: string;
|
|
8322
|
+
primary_color?: string;
|
|
8323
|
+
secondary_color?: string;
|
|
8324
|
+
show_company_name?: boolean;
|
|
8325
|
+
singleton_key?: boolean;
|
|
8326
|
+
updated_at?: string;
|
|
8327
|
+
vat_identification_number?: string;
|
|
8328
|
+
website?: string;
|
|
8329
|
+
};
|
|
8330
|
+
Update: {
|
|
8331
|
+
address?: string;
|
|
8332
|
+
chamber_of_commerce_number?: string;
|
|
8333
|
+
city?: string;
|
|
8334
|
+
company_name?: string;
|
|
8335
|
+
created_at?: string;
|
|
8336
|
+
email?: string;
|
|
8337
|
+
email_purpose?: string | null;
|
|
8338
|
+
iban?: string;
|
|
8339
|
+
logo_path?: string | null;
|
|
8340
|
+
payment_term_days?: number;
|
|
8341
|
+
phone?: string;
|
|
8342
|
+
postal_code?: string;
|
|
8343
|
+
primary_color?: string;
|
|
8344
|
+
secondary_color?: string;
|
|
8345
|
+
show_company_name?: boolean;
|
|
8346
|
+
singleton_key?: boolean;
|
|
8347
|
+
updated_at?: string;
|
|
8348
|
+
vat_identification_number?: string;
|
|
8349
|
+
website?: string;
|
|
8350
|
+
};
|
|
8351
|
+
Relationships: [];
|
|
8352
|
+
};
|
|
8257
8353
|
invoice_items: {
|
|
8258
8354
|
Row: {
|
|
8259
8355
|
created_at: string;
|
|
@@ -8267,6 +8363,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8267
8363
|
total_cents: number;
|
|
8268
8364
|
unit: string;
|
|
8269
8365
|
unit_price_cents: number;
|
|
8366
|
+
vat_rate: number | null;
|
|
8270
8367
|
};
|
|
8271
8368
|
Insert: {
|
|
8272
8369
|
created_at?: string;
|
|
@@ -8280,6 +8377,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8280
8377
|
total_cents?: number;
|
|
8281
8378
|
unit?: string;
|
|
8282
8379
|
unit_price_cents?: number;
|
|
8380
|
+
vat_rate?: number | null;
|
|
8283
8381
|
};
|
|
8284
8382
|
Update: {
|
|
8285
8383
|
created_at?: string;
|
|
@@ -8293,6 +8391,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8293
8391
|
total_cents?: number;
|
|
8294
8392
|
unit?: string;
|
|
8295
8393
|
unit_price_cents?: number;
|
|
8394
|
+
vat_rate?: number | null;
|
|
8296
8395
|
};
|
|
8297
8396
|
Relationships: [{
|
|
8298
8397
|
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
@@ -8538,15 +8637,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8538
8637
|
};
|
|
8539
8638
|
invoices: {
|
|
8540
8639
|
Row: {
|
|
8640
|
+
branding_snapshot: import("./types").Json | null;
|
|
8541
8641
|
created_at: string;
|
|
8542
8642
|
created_by: string | null;
|
|
8643
|
+
customer_address: string | null;
|
|
8644
|
+
customer_attention: string | null;
|
|
8645
|
+
customer_city: string | null;
|
|
8543
8646
|
customer_id: string | null;
|
|
8544
8647
|
customer_name: string | null;
|
|
8648
|
+
customer_postal_code: string | null;
|
|
8649
|
+
customer_vat_number: string | null;
|
|
8650
|
+
debtor_number: string | null;
|
|
8545
8651
|
due_date: string | null;
|
|
8652
|
+
execution_date: string | null;
|
|
8546
8653
|
id: string;
|
|
8547
8654
|
invoice_date: string;
|
|
8548
8655
|
invoice_number: string | null;
|
|
8549
8656
|
note: string | null;
|
|
8657
|
+
payment_term_days: number;
|
|
8658
|
+
reference: string | null;
|
|
8659
|
+
sent_at: string | null;
|
|
8660
|
+
sent_to: string | null;
|
|
8550
8661
|
source_number: string | null;
|
|
8551
8662
|
source_ref: string | null;
|
|
8552
8663
|
source_type: string;
|
|
@@ -8556,17 +8667,30 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8556
8667
|
updated_at: string;
|
|
8557
8668
|
vat_cents: number;
|
|
8558
8669
|
vat_rate: number;
|
|
8670
|
+
work_address: string | null;
|
|
8559
8671
|
};
|
|
8560
8672
|
Insert: {
|
|
8673
|
+
branding_snapshot?: import("./types").Json | null;
|
|
8561
8674
|
created_at?: string;
|
|
8562
8675
|
created_by?: string | null;
|
|
8676
|
+
customer_address?: string | null;
|
|
8677
|
+
customer_attention?: string | null;
|
|
8678
|
+
customer_city?: string | null;
|
|
8563
8679
|
customer_id?: string | null;
|
|
8564
8680
|
customer_name?: string | null;
|
|
8681
|
+
customer_postal_code?: string | null;
|
|
8682
|
+
customer_vat_number?: string | null;
|
|
8683
|
+
debtor_number?: string | null;
|
|
8565
8684
|
due_date?: string | null;
|
|
8685
|
+
execution_date?: string | null;
|
|
8566
8686
|
id?: string;
|
|
8567
8687
|
invoice_date?: string;
|
|
8568
8688
|
invoice_number?: string | null;
|
|
8569
8689
|
note?: string | null;
|
|
8690
|
+
payment_term_days?: number;
|
|
8691
|
+
reference?: string | null;
|
|
8692
|
+
sent_at?: string | null;
|
|
8693
|
+
sent_to?: string | null;
|
|
8570
8694
|
source_number?: string | null;
|
|
8571
8695
|
source_ref?: string | null;
|
|
8572
8696
|
source_type?: string;
|
|
@@ -8576,17 +8700,30 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8576
8700
|
updated_at?: string;
|
|
8577
8701
|
vat_cents?: number;
|
|
8578
8702
|
vat_rate?: number;
|
|
8703
|
+
work_address?: string | null;
|
|
8579
8704
|
};
|
|
8580
8705
|
Update: {
|
|
8706
|
+
branding_snapshot?: import("./types").Json | null;
|
|
8581
8707
|
created_at?: string;
|
|
8582
8708
|
created_by?: string | null;
|
|
8709
|
+
customer_address?: string | null;
|
|
8710
|
+
customer_attention?: string | null;
|
|
8711
|
+
customer_city?: string | null;
|
|
8583
8712
|
customer_id?: string | null;
|
|
8584
8713
|
customer_name?: string | null;
|
|
8714
|
+
customer_postal_code?: string | null;
|
|
8715
|
+
customer_vat_number?: string | null;
|
|
8716
|
+
debtor_number?: string | null;
|
|
8585
8717
|
due_date?: string | null;
|
|
8718
|
+
execution_date?: string | null;
|
|
8586
8719
|
id?: string;
|
|
8587
8720
|
invoice_date?: string;
|
|
8588
8721
|
invoice_number?: string | null;
|
|
8589
8722
|
note?: string | null;
|
|
8723
|
+
payment_term_days?: number;
|
|
8724
|
+
reference?: string | null;
|
|
8725
|
+
sent_at?: string | null;
|
|
8726
|
+
sent_to?: string | null;
|
|
8590
8727
|
source_number?: string | null;
|
|
8591
8728
|
source_ref?: string | null;
|
|
8592
8729
|
source_type?: string;
|
|
@@ -8596,6 +8733,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8596
8733
|
updated_at?: string;
|
|
8597
8734
|
vat_cents?: number;
|
|
8598
8735
|
vat_rate?: number;
|
|
8736
|
+
work_address?: string | null;
|
|
8599
8737
|
};
|
|
8600
8738
|
Relationships: [{
|
|
8601
8739
|
foreignKeyName: "invoices_customer_id_fkey";
|
|
@@ -9294,6 +9432,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9294
9432
|
quantity: number;
|
|
9295
9433
|
sort_order: number;
|
|
9296
9434
|
source: string;
|
|
9435
|
+
unit: string | null;
|
|
9297
9436
|
unit_price_cents: number;
|
|
9298
9437
|
updated_at: string;
|
|
9299
9438
|
};
|
|
@@ -9307,6 +9446,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9307
9446
|
quantity?: number;
|
|
9308
9447
|
sort_order?: number;
|
|
9309
9448
|
source?: string;
|
|
9449
|
+
unit?: string | null;
|
|
9310
9450
|
unit_price_cents?: number;
|
|
9311
9451
|
updated_at?: string;
|
|
9312
9452
|
};
|
|
@@ -9320,6 +9460,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9320
9460
|
quantity?: number;
|
|
9321
9461
|
sort_order?: number;
|
|
9322
9462
|
source?: string;
|
|
9463
|
+
unit?: string | null;
|
|
9323
9464
|
unit_price_cents?: number;
|
|
9324
9465
|
updated_at?: string;
|
|
9325
9466
|
};
|
|
@@ -9343,6 +9484,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9343
9484
|
created_at: string;
|
|
9344
9485
|
default_geldigheid_dagen: number;
|
|
9345
9486
|
default_vat_rate: number;
|
|
9487
|
+
email_purpose: string | null;
|
|
9346
9488
|
id: string;
|
|
9347
9489
|
singleton: boolean;
|
|
9348
9490
|
updated_at: string;
|
|
@@ -9352,6 +9494,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9352
9494
|
created_at?: string;
|
|
9353
9495
|
default_geldigheid_dagen?: number;
|
|
9354
9496
|
default_vat_rate?: number;
|
|
9497
|
+
email_purpose?: string | null;
|
|
9355
9498
|
id?: string;
|
|
9356
9499
|
singleton?: boolean;
|
|
9357
9500
|
updated_at?: string;
|
|
@@ -9361,12 +9504,49 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9361
9504
|
created_at?: string;
|
|
9362
9505
|
default_geldigheid_dagen?: number;
|
|
9363
9506
|
default_vat_rate?: number;
|
|
9507
|
+
email_purpose?: string | null;
|
|
9364
9508
|
id?: string;
|
|
9365
9509
|
singleton?: boolean;
|
|
9366
9510
|
updated_at?: string;
|
|
9367
9511
|
};
|
|
9368
9512
|
Relationships: [];
|
|
9369
9513
|
};
|
|
9514
|
+
itk_offerte_voorstel_status: {
|
|
9515
|
+
Row: {
|
|
9516
|
+
ai_concept: import("./types").Json | null;
|
|
9517
|
+
created_at: string;
|
|
9518
|
+
id: string;
|
|
9519
|
+
offerte_id: string | null;
|
|
9520
|
+
proposal_id: string;
|
|
9521
|
+
seen_at: string | null;
|
|
9522
|
+
updated_at: string;
|
|
9523
|
+
};
|
|
9524
|
+
Insert: {
|
|
9525
|
+
ai_concept?: import("./types").Json | null;
|
|
9526
|
+
created_at?: string;
|
|
9527
|
+
id?: string;
|
|
9528
|
+
offerte_id?: string | null;
|
|
9529
|
+
proposal_id: string;
|
|
9530
|
+
seen_at?: string | null;
|
|
9531
|
+
updated_at?: string;
|
|
9532
|
+
};
|
|
9533
|
+
Update: {
|
|
9534
|
+
ai_concept?: import("./types").Json | null;
|
|
9535
|
+
created_at?: string;
|
|
9536
|
+
id?: string;
|
|
9537
|
+
offerte_id?: string | null;
|
|
9538
|
+
proposal_id?: string;
|
|
9539
|
+
seen_at?: string | null;
|
|
9540
|
+
updated_at?: string;
|
|
9541
|
+
};
|
|
9542
|
+
Relationships: [{
|
|
9543
|
+
foreignKeyName: "itk_offerte_voorstel_status_offerte_id_fkey";
|
|
9544
|
+
columns: ["offerte_id"];
|
|
9545
|
+
isOneToOne: false;
|
|
9546
|
+
referencedRelation: "itk_offertes";
|
|
9547
|
+
referencedColumns: ["id"];
|
|
9548
|
+
}];
|
|
9549
|
+
};
|
|
9370
9550
|
itk_offerte_werkbon_queue: {
|
|
9371
9551
|
Row: {
|
|
9372
9552
|
bron_werkbon_id: string | null;
|
|
@@ -9417,6 +9597,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9417
9597
|
};
|
|
9418
9598
|
itk_offertes: {
|
|
9419
9599
|
Row: {
|
|
9600
|
+
aandachtspunten: string | null;
|
|
9420
9601
|
ai_generated: boolean;
|
|
9421
9602
|
approved_at: string | null;
|
|
9422
9603
|
binnen_mandaat: boolean;
|
|
@@ -9432,6 +9613,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9432
9613
|
notities: string | null;
|
|
9433
9614
|
offerte_number: string | null;
|
|
9434
9615
|
omschrijving: string;
|
|
9616
|
+
onderwerp: string | null;
|
|
9435
9617
|
rejected_at: string | null;
|
|
9436
9618
|
sent_at: string | null;
|
|
9437
9619
|
source_number: string | null;
|
|
@@ -9444,12 +9626,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9444
9626
|
valid_until: string | null;
|
|
9445
9627
|
vat_cents: number;
|
|
9446
9628
|
vat_rate: number;
|
|
9629
|
+
verzonden_naar: string | null;
|
|
9447
9630
|
viewed_at: string | null;
|
|
9448
9631
|
volgnummer: number | null;
|
|
9632
|
+
voorwaarden: string | null;
|
|
9449
9633
|
werkbon_id: string | null;
|
|
9450
9634
|
work_location_id: string | null;
|
|
9451
9635
|
};
|
|
9452
9636
|
Insert: {
|
|
9637
|
+
aandachtspunten?: string | null;
|
|
9453
9638
|
ai_generated?: boolean;
|
|
9454
9639
|
approved_at?: string | null;
|
|
9455
9640
|
binnen_mandaat?: boolean;
|
|
@@ -9465,6 +9650,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9465
9650
|
notities?: string | null;
|
|
9466
9651
|
offerte_number?: string | null;
|
|
9467
9652
|
omschrijving?: string;
|
|
9653
|
+
onderwerp?: string | null;
|
|
9468
9654
|
rejected_at?: string | null;
|
|
9469
9655
|
sent_at?: string | null;
|
|
9470
9656
|
source_number?: string | null;
|
|
@@ -9477,12 +9663,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9477
9663
|
valid_until?: string | null;
|
|
9478
9664
|
vat_cents?: number;
|
|
9479
9665
|
vat_rate?: number;
|
|
9666
|
+
verzonden_naar?: string | null;
|
|
9480
9667
|
viewed_at?: string | null;
|
|
9481
9668
|
volgnummer?: number | null;
|
|
9669
|
+
voorwaarden?: string | null;
|
|
9482
9670
|
werkbon_id?: string | null;
|
|
9483
9671
|
work_location_id?: string | null;
|
|
9484
9672
|
};
|
|
9485
9673
|
Update: {
|
|
9674
|
+
aandachtspunten?: string | null;
|
|
9486
9675
|
ai_generated?: boolean;
|
|
9487
9676
|
approved_at?: string | null;
|
|
9488
9677
|
binnen_mandaat?: boolean;
|
|
@@ -9498,6 +9687,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9498
9687
|
notities?: string | null;
|
|
9499
9688
|
offerte_number?: string | null;
|
|
9500
9689
|
omschrijving?: string;
|
|
9690
|
+
onderwerp?: string | null;
|
|
9501
9691
|
rejected_at?: string | null;
|
|
9502
9692
|
sent_at?: string | null;
|
|
9503
9693
|
source_number?: string | null;
|
|
@@ -9510,8 +9700,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9510
9700
|
valid_until?: string | null;
|
|
9511
9701
|
vat_cents?: number;
|
|
9512
9702
|
vat_rate?: number;
|
|
9703
|
+
verzonden_naar?: string | null;
|
|
9513
9704
|
viewed_at?: string | null;
|
|
9514
9705
|
volgnummer?: number | null;
|
|
9706
|
+
voorwaarden?: string | null;
|
|
9515
9707
|
werkbon_id?: string | null;
|
|
9516
9708
|
work_location_id?: string | null;
|
|
9517
9709
|
};
|
|
@@ -9687,6 +9879,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9687
9879
|
};
|
|
9688
9880
|
leave_requests: {
|
|
9689
9881
|
Row: {
|
|
9882
|
+
cancellation_requested_at: string | null;
|
|
9883
|
+
cancellation_status: string | null;
|
|
9690
9884
|
created_at: string;
|
|
9691
9885
|
decided_at: string | null;
|
|
9692
9886
|
decided_by: string | null;
|
|
@@ -9697,6 +9891,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9697
9891
|
leave_type: string;
|
|
9698
9892
|
monteur_id: string | null;
|
|
9699
9893
|
reason: string | null;
|
|
9894
|
+
reden_afkeur: string | null;
|
|
9700
9895
|
start_date: string;
|
|
9701
9896
|
start_time: string | null;
|
|
9702
9897
|
status: string;
|
|
@@ -9704,6 +9899,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9704
9899
|
user_id: string;
|
|
9705
9900
|
};
|
|
9706
9901
|
Insert: {
|
|
9902
|
+
cancellation_requested_at?: string | null;
|
|
9903
|
+
cancellation_status?: string | null;
|
|
9707
9904
|
created_at?: string;
|
|
9708
9905
|
decided_at?: string | null;
|
|
9709
9906
|
decided_by?: string | null;
|
|
@@ -9714,6 +9911,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9714
9911
|
leave_type?: string;
|
|
9715
9912
|
monteur_id?: string | null;
|
|
9716
9913
|
reason?: string | null;
|
|
9914
|
+
reden_afkeur?: string | null;
|
|
9717
9915
|
start_date: string;
|
|
9718
9916
|
start_time?: string | null;
|
|
9719
9917
|
status?: string;
|
|
@@ -9721,6 +9919,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9721
9919
|
user_id: string;
|
|
9722
9920
|
};
|
|
9723
9921
|
Update: {
|
|
9922
|
+
cancellation_requested_at?: string | null;
|
|
9923
|
+
cancellation_status?: string | null;
|
|
9724
9924
|
created_at?: string;
|
|
9725
9925
|
decided_at?: string | null;
|
|
9726
9926
|
decided_by?: string | null;
|
|
@@ -9731,6 +9931,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9731
9931
|
leave_type?: string;
|
|
9732
9932
|
monteur_id?: string | null;
|
|
9733
9933
|
reason?: string | null;
|
|
9934
|
+
reden_afkeur?: string | null;
|
|
9734
9935
|
start_date?: string;
|
|
9735
9936
|
start_time?: string | null;
|
|
9736
9937
|
status?: string;
|
|
@@ -10228,6 +10429,30 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10228
10429
|
};
|
|
10229
10430
|
Relationships: [];
|
|
10230
10431
|
};
|
|
10432
|
+
logistics_cart_barcode_archief: {
|
|
10433
|
+
Row: {
|
|
10434
|
+
barcode: string;
|
|
10435
|
+
cart_id: string;
|
|
10436
|
+
created_at: string | null;
|
|
10437
|
+
gearchiveerd_op: string;
|
|
10438
|
+
order_id: string | null;
|
|
10439
|
+
};
|
|
10440
|
+
Insert: {
|
|
10441
|
+
barcode: string;
|
|
10442
|
+
cart_id: string;
|
|
10443
|
+
created_at?: string | null;
|
|
10444
|
+
gearchiveerd_op?: string;
|
|
10445
|
+
order_id?: string | null;
|
|
10446
|
+
};
|
|
10447
|
+
Update: {
|
|
10448
|
+
barcode?: string;
|
|
10449
|
+
cart_id?: string;
|
|
10450
|
+
created_at?: string | null;
|
|
10451
|
+
gearchiveerd_op?: string;
|
|
10452
|
+
order_id?: string | null;
|
|
10453
|
+
};
|
|
10454
|
+
Relationships: [];
|
|
10455
|
+
};
|
|
10231
10456
|
logistics_control_scan: {
|
|
10232
10457
|
Row: {
|
|
10233
10458
|
approved_at: string | null;
|
|
@@ -10873,6 +11098,54 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10873
11098
|
};
|
|
10874
11099
|
Relationships: [];
|
|
10875
11100
|
};
|
|
11101
|
+
logistics_order_finalize_queue: {
|
|
11102
|
+
Row: {
|
|
11103
|
+
attempts: number;
|
|
11104
|
+
claimed_at: string | null;
|
|
11105
|
+
created_at: string;
|
|
11106
|
+
finished_at: string | null;
|
|
11107
|
+
last_error: string | null;
|
|
11108
|
+
lease_until: string | null;
|
|
11109
|
+
max_attempts: number;
|
|
11110
|
+
next_attempt_at: string;
|
|
11111
|
+
order_id: string;
|
|
11112
|
+
reason: string | null;
|
|
11113
|
+
requested_at: string;
|
|
11114
|
+
status: string;
|
|
11115
|
+
updated_at: string;
|
|
11116
|
+
};
|
|
11117
|
+
Insert: {
|
|
11118
|
+
attempts?: number;
|
|
11119
|
+
claimed_at?: string | null;
|
|
11120
|
+
created_at?: string;
|
|
11121
|
+
finished_at?: string | null;
|
|
11122
|
+
last_error?: string | null;
|
|
11123
|
+
lease_until?: string | null;
|
|
11124
|
+
max_attempts?: number;
|
|
11125
|
+
next_attempt_at?: string;
|
|
11126
|
+
order_id: string;
|
|
11127
|
+
reason?: string | null;
|
|
11128
|
+
requested_at?: string;
|
|
11129
|
+
status?: string;
|
|
11130
|
+
updated_at?: string;
|
|
11131
|
+
};
|
|
11132
|
+
Update: {
|
|
11133
|
+
attempts?: number;
|
|
11134
|
+
claimed_at?: string | null;
|
|
11135
|
+
created_at?: string;
|
|
11136
|
+
finished_at?: string | null;
|
|
11137
|
+
last_error?: string | null;
|
|
11138
|
+
lease_until?: string | null;
|
|
11139
|
+
max_attempts?: number;
|
|
11140
|
+
next_attempt_at?: string;
|
|
11141
|
+
order_id?: string;
|
|
11142
|
+
reason?: string | null;
|
|
11143
|
+
requested_at?: string;
|
|
11144
|
+
status?: string;
|
|
11145
|
+
updated_at?: string;
|
|
11146
|
+
};
|
|
11147
|
+
Relationships: [];
|
|
11148
|
+
};
|
|
10876
11149
|
logistics_order_merges: {
|
|
10877
11150
|
Row: {
|
|
10878
11151
|
group_key: string;
|
|
@@ -10909,6 +11182,72 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10909
11182
|
};
|
|
10910
11183
|
Relationships: [];
|
|
10911
11184
|
};
|
|
11185
|
+
logistics_packing_deviations: {
|
|
11186
|
+
Row: {
|
|
11187
|
+
auto_fixed_at: string | null;
|
|
11188
|
+
created_at: string;
|
|
11189
|
+
dev_key: string;
|
|
11190
|
+
first_seen_at: string;
|
|
11191
|
+
floriday_packing: import("./types").Json;
|
|
11192
|
+
human_reason: string | null;
|
|
11193
|
+
id: string;
|
|
11194
|
+
last_seen_at: string;
|
|
11195
|
+
local_packing: import("./types").Json;
|
|
11196
|
+
needs_human: boolean;
|
|
11197
|
+
order_id: string | null;
|
|
11198
|
+
order_item_id: string | null;
|
|
11199
|
+
order_number: string | null;
|
|
11200
|
+
product_id: string | null;
|
|
11201
|
+
product_name: string | null;
|
|
11202
|
+
resolved_at: string | null;
|
|
11203
|
+
scope: string;
|
|
11204
|
+
trade_item_id: string | null;
|
|
11205
|
+
updated_at: string;
|
|
11206
|
+
};
|
|
11207
|
+
Insert: {
|
|
11208
|
+
auto_fixed_at?: string | null;
|
|
11209
|
+
created_at?: string;
|
|
11210
|
+
dev_key: string;
|
|
11211
|
+
first_seen_at?: string;
|
|
11212
|
+
floriday_packing?: import("./types").Json;
|
|
11213
|
+
human_reason?: string | null;
|
|
11214
|
+
id?: string;
|
|
11215
|
+
last_seen_at?: string;
|
|
11216
|
+
local_packing?: import("./types").Json;
|
|
11217
|
+
needs_human?: boolean;
|
|
11218
|
+
order_id?: string | null;
|
|
11219
|
+
order_item_id?: string | null;
|
|
11220
|
+
order_number?: string | null;
|
|
11221
|
+
product_id?: string | null;
|
|
11222
|
+
product_name?: string | null;
|
|
11223
|
+
resolved_at?: string | null;
|
|
11224
|
+
scope: string;
|
|
11225
|
+
trade_item_id?: string | null;
|
|
11226
|
+
updated_at?: string;
|
|
11227
|
+
};
|
|
11228
|
+
Update: {
|
|
11229
|
+
auto_fixed_at?: string | null;
|
|
11230
|
+
created_at?: string;
|
|
11231
|
+
dev_key?: string;
|
|
11232
|
+
first_seen_at?: string;
|
|
11233
|
+
floriday_packing?: import("./types").Json;
|
|
11234
|
+
human_reason?: string | null;
|
|
11235
|
+
id?: string;
|
|
11236
|
+
last_seen_at?: string;
|
|
11237
|
+
local_packing?: import("./types").Json;
|
|
11238
|
+
needs_human?: boolean;
|
|
11239
|
+
order_id?: string | null;
|
|
11240
|
+
order_item_id?: string | null;
|
|
11241
|
+
order_number?: string | null;
|
|
11242
|
+
product_id?: string | null;
|
|
11243
|
+
product_name?: string | null;
|
|
11244
|
+
resolved_at?: string | null;
|
|
11245
|
+
scope?: string;
|
|
11246
|
+
trade_item_id?: string | null;
|
|
11247
|
+
updated_at?: string;
|
|
11248
|
+
};
|
|
11249
|
+
Relationships: [];
|
|
11250
|
+
};
|
|
10912
11251
|
logistics_pick_data_requests: {
|
|
10913
11252
|
Row: {
|
|
10914
11253
|
actions: import("./types").Json;
|
|
@@ -11146,14 +11485,70 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11146
11485
|
};
|
|
11147
11486
|
Relationships: [];
|
|
11148
11487
|
};
|
|
11488
|
+
logistics_planner_diff_runs: {
|
|
11489
|
+
Row: {
|
|
11490
|
+
after_snapshot: import("./types").Json | null;
|
|
11491
|
+
before_snapshot: import("./types").Json;
|
|
11492
|
+
buffer_id: string | null;
|
|
11493
|
+
carts_after: number | null;
|
|
11494
|
+
carts_before: number | null;
|
|
11495
|
+
compared_at: string | null;
|
|
11496
|
+
created_at: string;
|
|
11497
|
+
differences: import("./types").Json | null;
|
|
11498
|
+
id: string;
|
|
11499
|
+
identical: boolean | null;
|
|
11500
|
+
mode: string;
|
|
11501
|
+
order_id: string;
|
|
11502
|
+
order_ref: string | null;
|
|
11503
|
+
reason: string | null;
|
|
11504
|
+
status: string;
|
|
11505
|
+
};
|
|
11506
|
+
Insert: {
|
|
11507
|
+
after_snapshot?: import("./types").Json | null;
|
|
11508
|
+
before_snapshot?: import("./types").Json;
|
|
11509
|
+
buffer_id?: string | null;
|
|
11510
|
+
carts_after?: number | null;
|
|
11511
|
+
carts_before?: number | null;
|
|
11512
|
+
compared_at?: string | null;
|
|
11513
|
+
created_at?: string;
|
|
11514
|
+
differences?: import("./types").Json | null;
|
|
11515
|
+
id?: string;
|
|
11516
|
+
identical?: boolean | null;
|
|
11517
|
+
mode: string;
|
|
11518
|
+
order_id: string;
|
|
11519
|
+
order_ref?: string | null;
|
|
11520
|
+
reason?: string | null;
|
|
11521
|
+
status?: string;
|
|
11522
|
+
};
|
|
11523
|
+
Update: {
|
|
11524
|
+
after_snapshot?: import("./types").Json | null;
|
|
11525
|
+
before_snapshot?: import("./types").Json;
|
|
11526
|
+
buffer_id?: string | null;
|
|
11527
|
+
carts_after?: number | null;
|
|
11528
|
+
carts_before?: number | null;
|
|
11529
|
+
compared_at?: string | null;
|
|
11530
|
+
created_at?: string;
|
|
11531
|
+
differences?: import("./types").Json | null;
|
|
11532
|
+
id?: string;
|
|
11533
|
+
identical?: boolean | null;
|
|
11534
|
+
mode?: string;
|
|
11535
|
+
order_id?: string;
|
|
11536
|
+
order_ref?: string | null;
|
|
11537
|
+
reason?: string | null;
|
|
11538
|
+
status?: string;
|
|
11539
|
+
};
|
|
11540
|
+
Relationships: [];
|
|
11541
|
+
};
|
|
11149
11542
|
logistics_rebuffer_state: {
|
|
11150
11543
|
Row: {
|
|
11151
11544
|
created_at: string;
|
|
11152
11545
|
id: boolean;
|
|
11153
11546
|
last_checked: number;
|
|
11154
11547
|
last_duration_ms: number;
|
|
11548
|
+
last_mode: string | null;
|
|
11155
11549
|
last_run_at: string | null;
|
|
11156
11550
|
last_updated: number;
|
|
11551
|
+
last_would_change: number | null;
|
|
11157
11552
|
pending: boolean;
|
|
11158
11553
|
requested_at: string | null;
|
|
11159
11554
|
updated_at: string;
|
|
@@ -11163,8 +11558,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11163
11558
|
id?: boolean;
|
|
11164
11559
|
last_checked?: number;
|
|
11165
11560
|
last_duration_ms?: number;
|
|
11561
|
+
last_mode?: string | null;
|
|
11166
11562
|
last_run_at?: string | null;
|
|
11167
11563
|
last_updated?: number;
|
|
11564
|
+
last_would_change?: number | null;
|
|
11168
11565
|
pending?: boolean;
|
|
11169
11566
|
requested_at?: string | null;
|
|
11170
11567
|
updated_at?: string;
|
|
@@ -11174,8 +11571,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11174
11571
|
id?: boolean;
|
|
11175
11572
|
last_checked?: number;
|
|
11176
11573
|
last_duration_ms?: number;
|
|
11574
|
+
last_mode?: string | null;
|
|
11177
11575
|
last_run_at?: string | null;
|
|
11178
11576
|
last_updated?: number;
|
|
11577
|
+
last_would_change?: number | null;
|
|
11179
11578
|
pending?: boolean;
|
|
11180
11579
|
requested_at?: string | null;
|
|
11181
11580
|
updated_at?: string;
|
|
@@ -13171,6 +13570,42 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13171
13570
|
};
|
|
13172
13571
|
Relationships: [];
|
|
13173
13572
|
};
|
|
13573
|
+
monteur_contracten: {
|
|
13574
|
+
Row: {
|
|
13575
|
+
contract_type: string;
|
|
13576
|
+
created_at: string;
|
|
13577
|
+
days_per_week: number;
|
|
13578
|
+
hours_per_week: number;
|
|
13579
|
+
id: string;
|
|
13580
|
+
updated_at: string;
|
|
13581
|
+
user_id: string;
|
|
13582
|
+
vacation_day_hours: number;
|
|
13583
|
+
vacation_days_per_year: number;
|
|
13584
|
+
};
|
|
13585
|
+
Insert: {
|
|
13586
|
+
contract_type?: string;
|
|
13587
|
+
created_at?: string;
|
|
13588
|
+
days_per_week?: number;
|
|
13589
|
+
hours_per_week?: number;
|
|
13590
|
+
id?: string;
|
|
13591
|
+
updated_at?: string;
|
|
13592
|
+
user_id: string;
|
|
13593
|
+
vacation_day_hours?: number;
|
|
13594
|
+
vacation_days_per_year?: number;
|
|
13595
|
+
};
|
|
13596
|
+
Update: {
|
|
13597
|
+
contract_type?: string;
|
|
13598
|
+
created_at?: string;
|
|
13599
|
+
days_per_week?: number;
|
|
13600
|
+
hours_per_week?: number;
|
|
13601
|
+
id?: string;
|
|
13602
|
+
updated_at?: string;
|
|
13603
|
+
user_id?: string;
|
|
13604
|
+
vacation_day_hours?: number;
|
|
13605
|
+
vacation_days_per_year?: number;
|
|
13606
|
+
};
|
|
13607
|
+
Relationships: [];
|
|
13608
|
+
};
|
|
13174
13609
|
nmbrs_component_mapping: {
|
|
13175
13610
|
Row: {
|
|
13176
13611
|
created_at: string;
|
|
@@ -13650,6 +14085,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13650
14085
|
id: string;
|
|
13651
14086
|
items: import("./types").Json;
|
|
13652
14087
|
notes: string | null;
|
|
14088
|
+
order_creation_error: string | null;
|
|
14089
|
+
order_creation_failed_at: string | null;
|
|
14090
|
+
order_id: string | null;
|
|
13653
14091
|
order_number: string | null;
|
|
13654
14092
|
recipient_id: string;
|
|
13655
14093
|
total_amount: number;
|
|
@@ -13664,6 +14102,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13664
14102
|
id?: string;
|
|
13665
14103
|
items?: import("./types").Json;
|
|
13666
14104
|
notes?: string | null;
|
|
14105
|
+
order_creation_error?: string | null;
|
|
14106
|
+
order_creation_failed_at?: string | null;
|
|
14107
|
+
order_id?: string | null;
|
|
13667
14108
|
order_number?: string | null;
|
|
13668
14109
|
recipient_id: string;
|
|
13669
14110
|
total_amount?: number;
|
|
@@ -13678,6 +14119,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13678
14119
|
id?: string;
|
|
13679
14120
|
items?: import("./types").Json;
|
|
13680
14121
|
notes?: string | null;
|
|
14122
|
+
order_creation_error?: string | null;
|
|
14123
|
+
order_creation_failed_at?: string | null;
|
|
14124
|
+
order_id?: string | null;
|
|
13681
14125
|
order_number?: string | null;
|
|
13682
14126
|
recipient_id?: string;
|
|
13683
14127
|
total_amount?: number;
|
|
@@ -13695,10 +14139,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13695
14139
|
referencedRelation: "customers";
|
|
13696
14140
|
referencedColumns: ["id"];
|
|
13697
14141
|
}, {
|
|
13698
|
-
foreignKeyName: "
|
|
13699
|
-
columns: ["
|
|
14142
|
+
foreignKeyName: "offer_orders_order_id_fkey";
|
|
14143
|
+
columns: ["order_id"];
|
|
13700
14144
|
isOneToOne: false;
|
|
13701
|
-
referencedRelation: "
|
|
14145
|
+
referencedRelation: "orders";
|
|
14146
|
+
referencedColumns: ["id"];
|
|
14147
|
+
}, {
|
|
14148
|
+
foreignKeyName: "offer_orders_recipient_id_fkey";
|
|
14149
|
+
columns: ["recipient_id"];
|
|
14150
|
+
isOneToOne: false;
|
|
14151
|
+
referencedRelation: "offer_recipients";
|
|
13702
14152
|
referencedColumns: ["id"];
|
|
13703
14153
|
}];
|
|
13704
14154
|
};
|
|
@@ -13834,6 +14284,30 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13834
14284
|
};
|
|
13835
14285
|
Relationships: [];
|
|
13836
14286
|
};
|
|
14287
|
+
order_block_notifications: {
|
|
14288
|
+
Row: {
|
|
14289
|
+
id: string;
|
|
14290
|
+
notified_at: string;
|
|
14291
|
+
order_id: string;
|
|
14292
|
+
reason: string | null;
|
|
14293
|
+
reason_key: string;
|
|
14294
|
+
};
|
|
14295
|
+
Insert: {
|
|
14296
|
+
id?: string;
|
|
14297
|
+
notified_at?: string;
|
|
14298
|
+
order_id: string;
|
|
14299
|
+
reason?: string | null;
|
|
14300
|
+
reason_key: string;
|
|
14301
|
+
};
|
|
14302
|
+
Update: {
|
|
14303
|
+
id?: string;
|
|
14304
|
+
notified_at?: string;
|
|
14305
|
+
order_id?: string;
|
|
14306
|
+
reason?: string | null;
|
|
14307
|
+
reason_key?: string;
|
|
14308
|
+
};
|
|
14309
|
+
Relationships: [];
|
|
14310
|
+
};
|
|
13837
14311
|
order_buffers: {
|
|
13838
14312
|
Row: {
|
|
13839
14313
|
buffer_key: string;
|
|
@@ -14265,6 +14739,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14265
14739
|
next_attempt_at: string;
|
|
14266
14740
|
order_id: string;
|
|
14267
14741
|
processed_at: string | null;
|
|
14742
|
+
send_error: string | null;
|
|
14268
14743
|
status: string;
|
|
14269
14744
|
updated_at: string;
|
|
14270
14745
|
};
|
|
@@ -14278,6 +14753,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14278
14753
|
next_attempt_at?: string;
|
|
14279
14754
|
order_id: string;
|
|
14280
14755
|
processed_at?: string | null;
|
|
14756
|
+
send_error?: string | null;
|
|
14281
14757
|
status?: string;
|
|
14282
14758
|
updated_at?: string;
|
|
14283
14759
|
};
|
|
@@ -14291,6 +14767,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14291
14767
|
next_attempt_at?: string;
|
|
14292
14768
|
order_id?: string;
|
|
14293
14769
|
processed_at?: string | null;
|
|
14770
|
+
send_error?: string | null;
|
|
14294
14771
|
status?: string;
|
|
14295
14772
|
updated_at?: string;
|
|
14296
14773
|
};
|
|
@@ -14303,10 +14780,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14303
14780
|
id: string;
|
|
14304
14781
|
layers_per_cart: number | null;
|
|
14305
14782
|
order_id: string;
|
|
14783
|
+
packing_locked_at: string | null;
|
|
14784
|
+
packing_locked_by: string | null;
|
|
14306
14785
|
plants_per_crate: number | null;
|
|
14307
14786
|
product_id: string | null;
|
|
14308
14787
|
product_name: string;
|
|
14309
14788
|
quantity: number;
|
|
14789
|
+
source_line_key: string | null;
|
|
14310
14790
|
unit: string;
|
|
14311
14791
|
unit_price: number | null;
|
|
14312
14792
|
};
|
|
@@ -14316,10 +14796,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14316
14796
|
id?: string;
|
|
14317
14797
|
layers_per_cart?: number | null;
|
|
14318
14798
|
order_id: string;
|
|
14799
|
+
packing_locked_at?: string | null;
|
|
14800
|
+
packing_locked_by?: string | null;
|
|
14319
14801
|
plants_per_crate?: number | null;
|
|
14320
14802
|
product_id?: string | null;
|
|
14321
14803
|
product_name: string;
|
|
14322
14804
|
quantity?: number;
|
|
14805
|
+
source_line_key?: string | null;
|
|
14323
14806
|
unit?: string;
|
|
14324
14807
|
unit_price?: number | null;
|
|
14325
14808
|
};
|
|
@@ -14329,10 +14812,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14329
14812
|
id?: string;
|
|
14330
14813
|
layers_per_cart?: number | null;
|
|
14331
14814
|
order_id?: string;
|
|
14815
|
+
packing_locked_at?: string | null;
|
|
14816
|
+
packing_locked_by?: string | null;
|
|
14332
14817
|
plants_per_crate?: number | null;
|
|
14333
14818
|
product_id?: string | null;
|
|
14334
14819
|
product_name?: string;
|
|
14335
14820
|
quantity?: number;
|
|
14821
|
+
source_line_key?: string | null;
|
|
14336
14822
|
unit?: string;
|
|
14337
14823
|
unit_price?: number | null;
|
|
14338
14824
|
};
|
|
@@ -15841,6 +16327,195 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15841
16327
|
referencedColumns: ["id"];
|
|
15842
16328
|
}];
|
|
15843
16329
|
};
|
|
16330
|
+
planning_monteur_day_locations: {
|
|
16331
|
+
Row: {
|
|
16332
|
+
created_at: string;
|
|
16333
|
+
day: string;
|
|
16334
|
+
end_at: string;
|
|
16335
|
+
id: string;
|
|
16336
|
+
monteur_id: string;
|
|
16337
|
+
start_from: string;
|
|
16338
|
+
updated_at: string;
|
|
16339
|
+
};
|
|
16340
|
+
Insert: {
|
|
16341
|
+
created_at?: string;
|
|
16342
|
+
day: string;
|
|
16343
|
+
end_at?: string;
|
|
16344
|
+
id?: string;
|
|
16345
|
+
monteur_id: string;
|
|
16346
|
+
start_from?: string;
|
|
16347
|
+
updated_at?: string;
|
|
16348
|
+
};
|
|
16349
|
+
Update: {
|
|
16350
|
+
created_at?: string;
|
|
16351
|
+
day?: string;
|
|
16352
|
+
end_at?: string;
|
|
16353
|
+
id?: string;
|
|
16354
|
+
monteur_id?: string;
|
|
16355
|
+
start_from?: string;
|
|
16356
|
+
updated_at?: string;
|
|
16357
|
+
};
|
|
16358
|
+
Relationships: [];
|
|
16359
|
+
};
|
|
16360
|
+
planning_monteur_locations: {
|
|
16361
|
+
Row: {
|
|
16362
|
+
created_at: string;
|
|
16363
|
+
default_end: string;
|
|
16364
|
+
default_start: string;
|
|
16365
|
+
end_address: string | null;
|
|
16366
|
+
home_address: string | null;
|
|
16367
|
+
id: string;
|
|
16368
|
+
monteur_id: string;
|
|
16369
|
+
start_address: string | null;
|
|
16370
|
+
updated_at: string;
|
|
16371
|
+
};
|
|
16372
|
+
Insert: {
|
|
16373
|
+
created_at?: string;
|
|
16374
|
+
default_end?: string;
|
|
16375
|
+
default_start?: string;
|
|
16376
|
+
end_address?: string | null;
|
|
16377
|
+
home_address?: string | null;
|
|
16378
|
+
id?: string;
|
|
16379
|
+
monteur_id: string;
|
|
16380
|
+
start_address?: string | null;
|
|
16381
|
+
updated_at?: string;
|
|
16382
|
+
};
|
|
16383
|
+
Update: {
|
|
16384
|
+
created_at?: string;
|
|
16385
|
+
default_end?: string;
|
|
16386
|
+
default_start?: string;
|
|
16387
|
+
end_address?: string | null;
|
|
16388
|
+
home_address?: string | null;
|
|
16389
|
+
id?: string;
|
|
16390
|
+
monteur_id?: string;
|
|
16391
|
+
start_address?: string | null;
|
|
16392
|
+
updated_at?: string;
|
|
16393
|
+
};
|
|
16394
|
+
Relationships: [];
|
|
16395
|
+
};
|
|
16396
|
+
planning_settings: {
|
|
16397
|
+
Row: {
|
|
16398
|
+
company_address: string | null;
|
|
16399
|
+
created_at: string;
|
|
16400
|
+
id: string;
|
|
16401
|
+
singleton: boolean;
|
|
16402
|
+
updated_at: string;
|
|
16403
|
+
};
|
|
16404
|
+
Insert: {
|
|
16405
|
+
company_address?: string | null;
|
|
16406
|
+
created_at?: string;
|
|
16407
|
+
id?: string;
|
|
16408
|
+
singleton?: boolean;
|
|
16409
|
+
updated_at?: string;
|
|
16410
|
+
};
|
|
16411
|
+
Update: {
|
|
16412
|
+
company_address?: string | null;
|
|
16413
|
+
created_at?: string;
|
|
16414
|
+
id?: string;
|
|
16415
|
+
singleton?: boolean;
|
|
16416
|
+
updated_at?: string;
|
|
16417
|
+
};
|
|
16418
|
+
Relationships: [];
|
|
16419
|
+
};
|
|
16420
|
+
planning_travel_legs: {
|
|
16421
|
+
Row: {
|
|
16422
|
+
after_min: number;
|
|
16423
|
+
after_reason: string | null;
|
|
16424
|
+
after_status: string;
|
|
16425
|
+
after_to_address: string | null;
|
|
16426
|
+
before_from_address: string | null;
|
|
16427
|
+
before_min: number;
|
|
16428
|
+
before_reason: string | null;
|
|
16429
|
+
before_status: string;
|
|
16430
|
+
computed_at: string;
|
|
16431
|
+
computed_end_at: string | null;
|
|
16432
|
+
computed_start_at: string | null;
|
|
16433
|
+
created_at: string;
|
|
16434
|
+
id: string;
|
|
16435
|
+
monteur_id: string;
|
|
16436
|
+
planning_item_id: string;
|
|
16437
|
+
shared_after_item_id: string | null;
|
|
16438
|
+
shared_before_item_id: string | null;
|
|
16439
|
+
updated_at: string;
|
|
16440
|
+
};
|
|
16441
|
+
Insert: {
|
|
16442
|
+
after_min?: number;
|
|
16443
|
+
after_reason?: string | null;
|
|
16444
|
+
after_status?: string;
|
|
16445
|
+
after_to_address?: string | null;
|
|
16446
|
+
before_from_address?: string | null;
|
|
16447
|
+
before_min?: number;
|
|
16448
|
+
before_reason?: string | null;
|
|
16449
|
+
before_status?: string;
|
|
16450
|
+
computed_at?: string;
|
|
16451
|
+
computed_end_at?: string | null;
|
|
16452
|
+
computed_start_at?: string | null;
|
|
16453
|
+
created_at?: string;
|
|
16454
|
+
id?: string;
|
|
16455
|
+
monteur_id: string;
|
|
16456
|
+
planning_item_id: string;
|
|
16457
|
+
shared_after_item_id?: string | null;
|
|
16458
|
+
shared_before_item_id?: string | null;
|
|
16459
|
+
updated_at?: string;
|
|
16460
|
+
};
|
|
16461
|
+
Update: {
|
|
16462
|
+
after_min?: number;
|
|
16463
|
+
after_reason?: string | null;
|
|
16464
|
+
after_status?: string;
|
|
16465
|
+
after_to_address?: string | null;
|
|
16466
|
+
before_from_address?: string | null;
|
|
16467
|
+
before_min?: number;
|
|
16468
|
+
before_reason?: string | null;
|
|
16469
|
+
before_status?: string;
|
|
16470
|
+
computed_at?: string;
|
|
16471
|
+
computed_end_at?: string | null;
|
|
16472
|
+
computed_start_at?: string | null;
|
|
16473
|
+
created_at?: string;
|
|
16474
|
+
id?: string;
|
|
16475
|
+
monteur_id?: string;
|
|
16476
|
+
planning_item_id?: string;
|
|
16477
|
+
shared_after_item_id?: string | null;
|
|
16478
|
+
shared_before_item_id?: string | null;
|
|
16479
|
+
updated_at?: string;
|
|
16480
|
+
};
|
|
16481
|
+
Relationships: [{
|
|
16482
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
16483
|
+
columns: ["planning_item_id"];
|
|
16484
|
+
isOneToOne: false;
|
|
16485
|
+
referencedRelation: "planning_items";
|
|
16486
|
+
referencedColumns: ["id"];
|
|
16487
|
+
}, {
|
|
16488
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
16489
|
+
columns: ["planning_item_id"];
|
|
16490
|
+
isOneToOne: false;
|
|
16491
|
+
referencedRelation: "planning_overview";
|
|
16492
|
+
referencedColumns: ["id"];
|
|
16493
|
+
}, {
|
|
16494
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
16495
|
+
columns: ["shared_after_item_id"];
|
|
16496
|
+
isOneToOne: false;
|
|
16497
|
+
referencedRelation: "planning_items";
|
|
16498
|
+
referencedColumns: ["id"];
|
|
16499
|
+
}, {
|
|
16500
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
16501
|
+
columns: ["shared_after_item_id"];
|
|
16502
|
+
isOneToOne: false;
|
|
16503
|
+
referencedRelation: "planning_overview";
|
|
16504
|
+
referencedColumns: ["id"];
|
|
16505
|
+
}, {
|
|
16506
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
16507
|
+
columns: ["shared_before_item_id"];
|
|
16508
|
+
isOneToOne: false;
|
|
16509
|
+
referencedRelation: "planning_items";
|
|
16510
|
+
referencedColumns: ["id"];
|
|
16511
|
+
}, {
|
|
16512
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
16513
|
+
columns: ["shared_before_item_id"];
|
|
16514
|
+
isOneToOne: false;
|
|
16515
|
+
referencedRelation: "planning_overview";
|
|
16516
|
+
referencedColumns: ["id"];
|
|
16517
|
+
}];
|
|
16518
|
+
};
|
|
15844
16519
|
price_list_rows: {
|
|
15845
16520
|
Row: {
|
|
15846
16521
|
action: string;
|
|
@@ -17013,6 +17688,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17013
17688
|
};
|
|
17014
17689
|
product_load_settings: {
|
|
17015
17690
|
Row: {
|
|
17691
|
+
build: import("./types").Json | null;
|
|
17692
|
+
build_status: string;
|
|
17016
17693
|
created_at: string;
|
|
17017
17694
|
id: string;
|
|
17018
17695
|
is_package: boolean;
|
|
@@ -17030,6 +17707,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17030
17707
|
updated_at: string;
|
|
17031
17708
|
};
|
|
17032
17709
|
Insert: {
|
|
17710
|
+
build?: import("./types").Json | null;
|
|
17711
|
+
build_status?: string;
|
|
17033
17712
|
created_at?: string;
|
|
17034
17713
|
id?: string;
|
|
17035
17714
|
is_package?: boolean;
|
|
@@ -17047,6 +17726,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17047
17726
|
updated_at?: string;
|
|
17048
17727
|
};
|
|
17049
17728
|
Update: {
|
|
17729
|
+
build?: import("./types").Json | null;
|
|
17730
|
+
build_status?: string;
|
|
17050
17731
|
created_at?: string;
|
|
17051
17732
|
id?: string;
|
|
17052
17733
|
is_package?: boolean;
|
|
@@ -17116,6 +17797,117 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17116
17797
|
};
|
|
17117
17798
|
Relationships: [];
|
|
17118
17799
|
};
|
|
17800
|
+
product_suppliers: {
|
|
17801
|
+
Row: {
|
|
17802
|
+
created_at: string;
|
|
17803
|
+
id: string;
|
|
17804
|
+
is_preferred: boolean;
|
|
17805
|
+
lead_time_days: number | null;
|
|
17806
|
+
min_order_quantity: number | null;
|
|
17807
|
+
notes: string | null;
|
|
17808
|
+
previous_price_cents: number | null;
|
|
17809
|
+
price_source: string;
|
|
17810
|
+
price_updated_at: string | null;
|
|
17811
|
+
product_id: string;
|
|
17812
|
+
purchase_price_cents: number | null;
|
|
17813
|
+
supplier_article_number: string | null;
|
|
17814
|
+
supplier_id: string;
|
|
17815
|
+
updated_at: string;
|
|
17816
|
+
};
|
|
17817
|
+
Insert: {
|
|
17818
|
+
created_at?: string;
|
|
17819
|
+
id?: string;
|
|
17820
|
+
is_preferred?: boolean;
|
|
17821
|
+
lead_time_days?: number | null;
|
|
17822
|
+
min_order_quantity?: number | null;
|
|
17823
|
+
notes?: string | null;
|
|
17824
|
+
previous_price_cents?: number | null;
|
|
17825
|
+
price_source?: string;
|
|
17826
|
+
price_updated_at?: string | null;
|
|
17827
|
+
product_id: string;
|
|
17828
|
+
purchase_price_cents?: number | null;
|
|
17829
|
+
supplier_article_number?: string | null;
|
|
17830
|
+
supplier_id: string;
|
|
17831
|
+
updated_at?: string;
|
|
17832
|
+
};
|
|
17833
|
+
Update: {
|
|
17834
|
+
created_at?: string;
|
|
17835
|
+
id?: string;
|
|
17836
|
+
is_preferred?: boolean;
|
|
17837
|
+
lead_time_days?: number | null;
|
|
17838
|
+
min_order_quantity?: number | null;
|
|
17839
|
+
notes?: string | null;
|
|
17840
|
+
previous_price_cents?: number | null;
|
|
17841
|
+
price_source?: string;
|
|
17842
|
+
price_updated_at?: string | null;
|
|
17843
|
+
product_id?: string;
|
|
17844
|
+
purchase_price_cents?: number | null;
|
|
17845
|
+
supplier_article_number?: string | null;
|
|
17846
|
+
supplier_id?: string;
|
|
17847
|
+
updated_at?: string;
|
|
17848
|
+
};
|
|
17849
|
+
Relationships: [{
|
|
17850
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17851
|
+
columns: ["product_id"];
|
|
17852
|
+
isOneToOne: false;
|
|
17853
|
+
referencedRelation: "logistics_product_dimensions";
|
|
17854
|
+
referencedColumns: ["product_id"];
|
|
17855
|
+
}, {
|
|
17856
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17857
|
+
columns: ["product_id"];
|
|
17858
|
+
isOneToOne: false;
|
|
17859
|
+
referencedRelation: "products";
|
|
17860
|
+
referencedColumns: ["id"];
|
|
17861
|
+
}, {
|
|
17862
|
+
foreignKeyName: "product_suppliers_supplier_id_fkey";
|
|
17863
|
+
columns: ["supplier_id"];
|
|
17864
|
+
isOneToOne: false;
|
|
17865
|
+
referencedRelation: "suppliers";
|
|
17866
|
+
referencedColumns: ["id"];
|
|
17867
|
+
}];
|
|
17868
|
+
};
|
|
17869
|
+
product_tray_stickers: {
|
|
17870
|
+
Row: {
|
|
17871
|
+
bestand_url: string;
|
|
17872
|
+
bestandsgrootte: number | null;
|
|
17873
|
+
bestandsnaam: string | null;
|
|
17874
|
+
bestandspad: string | null;
|
|
17875
|
+
created_at: string;
|
|
17876
|
+
product_id: string;
|
|
17877
|
+
updated_at: string;
|
|
17878
|
+
};
|
|
17879
|
+
Insert: {
|
|
17880
|
+
bestand_url: string;
|
|
17881
|
+
bestandsgrootte?: number | null;
|
|
17882
|
+
bestandsnaam?: string | null;
|
|
17883
|
+
bestandspad?: string | null;
|
|
17884
|
+
created_at?: string;
|
|
17885
|
+
product_id: string;
|
|
17886
|
+
updated_at?: string;
|
|
17887
|
+
};
|
|
17888
|
+
Update: {
|
|
17889
|
+
bestand_url?: string;
|
|
17890
|
+
bestandsgrootte?: number | null;
|
|
17891
|
+
bestandsnaam?: string | null;
|
|
17892
|
+
bestandspad?: string | null;
|
|
17893
|
+
created_at?: string;
|
|
17894
|
+
product_id?: string;
|
|
17895
|
+
updated_at?: string;
|
|
17896
|
+
};
|
|
17897
|
+
Relationships: [{
|
|
17898
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
17899
|
+
columns: ["product_id"];
|
|
17900
|
+
isOneToOne: true;
|
|
17901
|
+
referencedRelation: "logistics_product_dimensions";
|
|
17902
|
+
referencedColumns: ["product_id"];
|
|
17903
|
+
}, {
|
|
17904
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
17905
|
+
columns: ["product_id"];
|
|
17906
|
+
isOneToOne: true;
|
|
17907
|
+
referencedRelation: "products";
|
|
17908
|
+
referencedColumns: ["id"];
|
|
17909
|
+
}];
|
|
17910
|
+
};
|
|
17119
17911
|
products: {
|
|
17120
17912
|
Row: {
|
|
17121
17913
|
article_number: string | null;
|
|
@@ -17124,6 +17916,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17124
17916
|
crates_per_layer: number;
|
|
17125
17917
|
created_at: string;
|
|
17126
17918
|
custom_fields: import("./types").Json;
|
|
17919
|
+
floriday_packing_confirmed_at: string | null;
|
|
17920
|
+
floriday_packing_source: string | null;
|
|
17127
17921
|
floriday_trade_item_id: string | null;
|
|
17128
17922
|
fust_type_id: string | null;
|
|
17129
17923
|
id: string;
|
|
@@ -17152,6 +17946,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17152
17946
|
crates_per_layer?: number;
|
|
17153
17947
|
created_at?: string;
|
|
17154
17948
|
custom_fields?: import("./types").Json;
|
|
17949
|
+
floriday_packing_confirmed_at?: string | null;
|
|
17950
|
+
floriday_packing_source?: string | null;
|
|
17155
17951
|
floriday_trade_item_id?: string | null;
|
|
17156
17952
|
fust_type_id?: string | null;
|
|
17157
17953
|
id?: string;
|
|
@@ -17180,6 +17976,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17180
17976
|
crates_per_layer?: number;
|
|
17181
17977
|
created_at?: string;
|
|
17182
17978
|
custom_fields?: import("./types").Json;
|
|
17979
|
+
floriday_packing_confirmed_at?: string | null;
|
|
17980
|
+
floriday_packing_source?: string | null;
|
|
17183
17981
|
floriday_trade_item_id?: string | null;
|
|
17184
17982
|
fust_type_id?: string | null;
|
|
17185
17983
|
id?: string;
|
|
@@ -17279,6 +18077,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17279
18077
|
id: string;
|
|
17280
18078
|
is_superadmin: boolean;
|
|
17281
18079
|
notification_preferences: import("./types").Json;
|
|
18080
|
+
phone: string | null;
|
|
17282
18081
|
tenant_id: string | null;
|
|
17283
18082
|
updated_at: string;
|
|
17284
18083
|
};
|
|
@@ -17291,6 +18090,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17291
18090
|
id: string;
|
|
17292
18091
|
is_superadmin?: boolean;
|
|
17293
18092
|
notification_preferences?: import("./types").Json;
|
|
18093
|
+
phone?: string | null;
|
|
17294
18094
|
tenant_id?: string | null;
|
|
17295
18095
|
updated_at?: string;
|
|
17296
18096
|
};
|
|
@@ -17303,6 +18103,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17303
18103
|
id?: string;
|
|
17304
18104
|
is_superadmin?: boolean;
|
|
17305
18105
|
notification_preferences?: import("./types").Json;
|
|
18106
|
+
phone?: string | null;
|
|
17306
18107
|
tenant_id?: string | null;
|
|
17307
18108
|
updated_at?: string;
|
|
17308
18109
|
};
|
|
@@ -17569,9 +18370,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17569
18370
|
purchase_order_items: {
|
|
17570
18371
|
Row: {
|
|
17571
18372
|
article_number: string | null;
|
|
18373
|
+
cancel_reason: string | null;
|
|
18374
|
+
cancelled_at: string | null;
|
|
17572
18375
|
created_at: string;
|
|
17573
18376
|
delivery_date: string | null;
|
|
17574
18377
|
id: string;
|
|
18378
|
+
incoming_booked: number;
|
|
18379
|
+
line_status: string;
|
|
17575
18380
|
name: string;
|
|
17576
18381
|
note: string | null;
|
|
17577
18382
|
pot_size: string | null;
|
|
@@ -17579,6 +18384,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17579
18384
|
product_type: string;
|
|
17580
18385
|
purchase_order_id: string;
|
|
17581
18386
|
quantity: number;
|
|
18387
|
+
received_at: string | null;
|
|
18388
|
+
received_booked: number;
|
|
17582
18389
|
supplier_id: string | null;
|
|
17583
18390
|
supplier_product_id: string | null;
|
|
17584
18391
|
unit_price_cents: number;
|
|
@@ -17586,9 +18393,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17586
18393
|
};
|
|
17587
18394
|
Insert: {
|
|
17588
18395
|
article_number?: string | null;
|
|
18396
|
+
cancel_reason?: string | null;
|
|
18397
|
+
cancelled_at?: string | null;
|
|
17589
18398
|
created_at?: string;
|
|
17590
18399
|
delivery_date?: string | null;
|
|
17591
18400
|
id?: string;
|
|
18401
|
+
incoming_booked?: number;
|
|
18402
|
+
line_status?: string;
|
|
17592
18403
|
name?: string;
|
|
17593
18404
|
note?: string | null;
|
|
17594
18405
|
pot_size?: string | null;
|
|
@@ -17596,6 +18407,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17596
18407
|
product_type?: string;
|
|
17597
18408
|
purchase_order_id: string;
|
|
17598
18409
|
quantity?: number;
|
|
18410
|
+
received_at?: string | null;
|
|
18411
|
+
received_booked?: number;
|
|
17599
18412
|
supplier_id?: string | null;
|
|
17600
18413
|
supplier_product_id?: string | null;
|
|
17601
18414
|
unit_price_cents?: number;
|
|
@@ -17603,9 +18416,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17603
18416
|
};
|
|
17604
18417
|
Update: {
|
|
17605
18418
|
article_number?: string | null;
|
|
18419
|
+
cancel_reason?: string | null;
|
|
18420
|
+
cancelled_at?: string | null;
|
|
17606
18421
|
created_at?: string;
|
|
17607
18422
|
delivery_date?: string | null;
|
|
17608
18423
|
id?: string;
|
|
18424
|
+
incoming_booked?: number;
|
|
18425
|
+
line_status?: string;
|
|
17609
18426
|
name?: string;
|
|
17610
18427
|
note?: string | null;
|
|
17611
18428
|
pot_size?: string | null;
|
|
@@ -17613,6 +18430,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17613
18430
|
product_type?: string;
|
|
17614
18431
|
purchase_order_id?: string;
|
|
17615
18432
|
quantity?: number;
|
|
18433
|
+
received_at?: string | null;
|
|
18434
|
+
received_booked?: number;
|
|
17616
18435
|
supplier_id?: string | null;
|
|
17617
18436
|
supplier_product_id?: string | null;
|
|
17618
18437
|
unit_price_cents?: number;
|
|
@@ -17716,33 +18535,180 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17716
18535
|
referencedColumns: ["id"];
|
|
17717
18536
|
}];
|
|
17718
18537
|
};
|
|
17719
|
-
|
|
18538
|
+
purchase_request_events: {
|
|
17720
18539
|
Row: {
|
|
17721
|
-
booking_id: string | null;
|
|
17722
18540
|
created_at: string;
|
|
18541
|
+
details: import("./types").Json | null;
|
|
18542
|
+
event_type: string;
|
|
17723
18543
|
id: string;
|
|
17724
|
-
|
|
17725
|
-
message: string;
|
|
17726
|
-
recipient_email: string | null;
|
|
17727
|
-
title: string;
|
|
17728
|
-
type: string;
|
|
18544
|
+
request_id: string;
|
|
17729
18545
|
};
|
|
17730
18546
|
Insert: {
|
|
17731
|
-
booking_id?: string | null;
|
|
17732
18547
|
created_at?: string;
|
|
18548
|
+
details?: import("./types").Json | null;
|
|
18549
|
+
event_type: string;
|
|
17733
18550
|
id?: string;
|
|
17734
|
-
|
|
17735
|
-
message: string;
|
|
17736
|
-
recipient_email?: string | null;
|
|
17737
|
-
title: string;
|
|
17738
|
-
type: string;
|
|
18551
|
+
request_id: string;
|
|
17739
18552
|
};
|
|
17740
18553
|
Update: {
|
|
17741
|
-
booking_id?: string | null;
|
|
17742
18554
|
created_at?: string;
|
|
18555
|
+
details?: import("./types").Json | null;
|
|
18556
|
+
event_type?: string;
|
|
17743
18557
|
id?: string;
|
|
17744
|
-
|
|
17745
|
-
|
|
18558
|
+
request_id?: string;
|
|
18559
|
+
};
|
|
18560
|
+
Relationships: [{
|
|
18561
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
18562
|
+
columns: ["request_id"];
|
|
18563
|
+
isOneToOne: false;
|
|
18564
|
+
referencedRelation: "purchase_requests";
|
|
18565
|
+
referencedColumns: ["id"];
|
|
18566
|
+
}];
|
|
18567
|
+
};
|
|
18568
|
+
purchase_request_responses: {
|
|
18569
|
+
Row: {
|
|
18570
|
+
confirmed_date: string | null;
|
|
18571
|
+
confirmed_price_cents: number | null;
|
|
18572
|
+
confirmed_quantity: number;
|
|
18573
|
+
created_at: string;
|
|
18574
|
+
id: string;
|
|
18575
|
+
not_available: boolean;
|
|
18576
|
+
note: string | null;
|
|
18577
|
+
purchase_order_item_id: string;
|
|
18578
|
+
request_id: string;
|
|
18579
|
+
updated_at: string;
|
|
18580
|
+
};
|
|
18581
|
+
Insert: {
|
|
18582
|
+
confirmed_date?: string | null;
|
|
18583
|
+
confirmed_price_cents?: number | null;
|
|
18584
|
+
confirmed_quantity?: number;
|
|
18585
|
+
created_at?: string;
|
|
18586
|
+
id?: string;
|
|
18587
|
+
not_available?: boolean;
|
|
18588
|
+
note?: string | null;
|
|
18589
|
+
purchase_order_item_id: string;
|
|
18590
|
+
request_id: string;
|
|
18591
|
+
updated_at?: string;
|
|
18592
|
+
};
|
|
18593
|
+
Update: {
|
|
18594
|
+
confirmed_date?: string | null;
|
|
18595
|
+
confirmed_price_cents?: number | null;
|
|
18596
|
+
confirmed_quantity?: number;
|
|
18597
|
+
created_at?: string;
|
|
18598
|
+
id?: string;
|
|
18599
|
+
not_available?: boolean;
|
|
18600
|
+
note?: string | null;
|
|
18601
|
+
purchase_order_item_id?: string;
|
|
18602
|
+
request_id?: string;
|
|
18603
|
+
updated_at?: string;
|
|
18604
|
+
};
|
|
18605
|
+
Relationships: [{
|
|
18606
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
18607
|
+
columns: ["purchase_order_item_id"];
|
|
18608
|
+
isOneToOne: false;
|
|
18609
|
+
referencedRelation: "purchase_order_items";
|
|
18610
|
+
referencedColumns: ["id"];
|
|
18611
|
+
}, {
|
|
18612
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
18613
|
+
columns: ["request_id"];
|
|
18614
|
+
isOneToOne: false;
|
|
18615
|
+
referencedRelation: "purchase_requests";
|
|
18616
|
+
referencedColumns: ["id"];
|
|
18617
|
+
}];
|
|
18618
|
+
};
|
|
18619
|
+
purchase_requests: {
|
|
18620
|
+
Row: {
|
|
18621
|
+
created_at: string;
|
|
18622
|
+
expires_at: string;
|
|
18623
|
+
first_viewed_at: string | null;
|
|
18624
|
+
id: string;
|
|
18625
|
+
processed_at: string | null;
|
|
18626
|
+
purchase_order_id: string;
|
|
18627
|
+
responded_at: string | null;
|
|
18628
|
+
sent_at: string;
|
|
18629
|
+
status: string;
|
|
18630
|
+
supplier_id: string | null;
|
|
18631
|
+
supplier_name: string;
|
|
18632
|
+
supplier_note: string | null;
|
|
18633
|
+
to_address: string | null;
|
|
18634
|
+
token_hash: string;
|
|
18635
|
+
updated_at: string;
|
|
18636
|
+
};
|
|
18637
|
+
Insert: {
|
|
18638
|
+
created_at?: string;
|
|
18639
|
+
expires_at?: string;
|
|
18640
|
+
first_viewed_at?: string | null;
|
|
18641
|
+
id?: string;
|
|
18642
|
+
processed_at?: string | null;
|
|
18643
|
+
purchase_order_id: string;
|
|
18644
|
+
responded_at?: string | null;
|
|
18645
|
+
sent_at?: string;
|
|
18646
|
+
status?: string;
|
|
18647
|
+
supplier_id?: string | null;
|
|
18648
|
+
supplier_name?: string;
|
|
18649
|
+
supplier_note?: string | null;
|
|
18650
|
+
to_address?: string | null;
|
|
18651
|
+
token_hash: string;
|
|
18652
|
+
updated_at?: string;
|
|
18653
|
+
};
|
|
18654
|
+
Update: {
|
|
18655
|
+
created_at?: string;
|
|
18656
|
+
expires_at?: string;
|
|
18657
|
+
first_viewed_at?: string | null;
|
|
18658
|
+
id?: string;
|
|
18659
|
+
processed_at?: string | null;
|
|
18660
|
+
purchase_order_id?: string;
|
|
18661
|
+
responded_at?: string | null;
|
|
18662
|
+
sent_at?: string;
|
|
18663
|
+
status?: string;
|
|
18664
|
+
supplier_id?: string | null;
|
|
18665
|
+
supplier_name?: string;
|
|
18666
|
+
supplier_note?: string | null;
|
|
18667
|
+
to_address?: string | null;
|
|
18668
|
+
token_hash?: string;
|
|
18669
|
+
updated_at?: string;
|
|
18670
|
+
};
|
|
18671
|
+
Relationships: [{
|
|
18672
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
18673
|
+
columns: ["purchase_order_id"];
|
|
18674
|
+
isOneToOne: false;
|
|
18675
|
+
referencedRelation: "purchase_orders";
|
|
18676
|
+
referencedColumns: ["id"];
|
|
18677
|
+
}, {
|
|
18678
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
18679
|
+
columns: ["supplier_id"];
|
|
18680
|
+
isOneToOne: false;
|
|
18681
|
+
referencedRelation: "suppliers";
|
|
18682
|
+
referencedColumns: ["id"];
|
|
18683
|
+
}];
|
|
18684
|
+
};
|
|
18685
|
+
reception_notifications: {
|
|
18686
|
+
Row: {
|
|
18687
|
+
booking_id: string | null;
|
|
18688
|
+
created_at: string;
|
|
18689
|
+
id: string;
|
|
18690
|
+
is_read: boolean;
|
|
18691
|
+
message: string;
|
|
18692
|
+
recipient_email: string | null;
|
|
18693
|
+
title: string;
|
|
18694
|
+
type: string;
|
|
18695
|
+
};
|
|
18696
|
+
Insert: {
|
|
18697
|
+
booking_id?: string | null;
|
|
18698
|
+
created_at?: string;
|
|
18699
|
+
id?: string;
|
|
18700
|
+
is_read?: boolean;
|
|
18701
|
+
message: string;
|
|
18702
|
+
recipient_email?: string | null;
|
|
18703
|
+
title: string;
|
|
18704
|
+
type: string;
|
|
18705
|
+
};
|
|
18706
|
+
Update: {
|
|
18707
|
+
booking_id?: string | null;
|
|
18708
|
+
created_at?: string;
|
|
18709
|
+
id?: string;
|
|
18710
|
+
is_read?: boolean;
|
|
18711
|
+
message?: string;
|
|
17746
18712
|
recipient_email?: string | null;
|
|
17747
18713
|
title?: string;
|
|
17748
18714
|
type?: string;
|
|
@@ -19046,40 +20012,52 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19046
20012
|
Row: {
|
|
19047
20013
|
approved_at: string | null;
|
|
19048
20014
|
approved_by: string | null;
|
|
20015
|
+
contract_hours: number;
|
|
19049
20016
|
created_at: string;
|
|
19050
20017
|
employee_id: string;
|
|
19051
20018
|
id: string;
|
|
19052
20019
|
locked: boolean;
|
|
20020
|
+
monteur_toelichting: string | null;
|
|
19053
20021
|
notes: string | null;
|
|
20022
|
+
planned_hours: number;
|
|
19054
20023
|
status: string;
|
|
19055
20024
|
submitted_at: string | null;
|
|
19056
20025
|
updated_at: string;
|
|
20026
|
+
variance_hours: number;
|
|
19057
20027
|
week_start: string;
|
|
19058
20028
|
};
|
|
19059
20029
|
Insert: {
|
|
19060
20030
|
approved_at?: string | null;
|
|
19061
20031
|
approved_by?: string | null;
|
|
20032
|
+
contract_hours?: number;
|
|
19062
20033
|
created_at?: string;
|
|
19063
20034
|
employee_id: string;
|
|
19064
20035
|
id?: string;
|
|
19065
20036
|
locked?: boolean;
|
|
20037
|
+
monteur_toelichting?: string | null;
|
|
19066
20038
|
notes?: string | null;
|
|
20039
|
+
planned_hours?: number;
|
|
19067
20040
|
status?: string;
|
|
19068
20041
|
submitted_at?: string | null;
|
|
19069
20042
|
updated_at?: string;
|
|
20043
|
+
variance_hours?: number;
|
|
19070
20044
|
week_start: string;
|
|
19071
20045
|
};
|
|
19072
20046
|
Update: {
|
|
19073
20047
|
approved_at?: string | null;
|
|
19074
20048
|
approved_by?: string | null;
|
|
20049
|
+
contract_hours?: number;
|
|
19075
20050
|
created_at?: string;
|
|
19076
20051
|
employee_id?: string;
|
|
19077
20052
|
id?: string;
|
|
19078
20053
|
locked?: boolean;
|
|
20054
|
+
monteur_toelichting?: string | null;
|
|
19079
20055
|
notes?: string | null;
|
|
20056
|
+
planned_hours?: number;
|
|
19080
20057
|
status?: string;
|
|
19081
20058
|
submitted_at?: string | null;
|
|
19082
20059
|
updated_at?: string;
|
|
20060
|
+
variance_hours?: number;
|
|
19083
20061
|
week_start?: string;
|
|
19084
20062
|
};
|
|
19085
20063
|
Relationships: [{
|
|
@@ -19867,6 +20845,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19867
20845
|
auto_invoice_enabled: boolean;
|
|
19868
20846
|
auto_invoice_start_date: string | null;
|
|
19869
20847
|
auto_invoice_trigger_statuses: string[];
|
|
20848
|
+
auto_send_mode: string | null;
|
|
19870
20849
|
created_at: string;
|
|
19871
20850
|
debtor_gl_account: string;
|
|
19872
20851
|
default_article_code: string | null;
|
|
@@ -19895,6 +20874,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19895
20874
|
auto_invoice_enabled?: boolean;
|
|
19896
20875
|
auto_invoice_start_date?: string | null;
|
|
19897
20876
|
auto_invoice_trigger_statuses?: string[];
|
|
20877
|
+
auto_send_mode?: string | null;
|
|
19898
20878
|
created_at?: string;
|
|
19899
20879
|
debtor_gl_account?: string;
|
|
19900
20880
|
default_article_code?: string | null;
|
|
@@ -19923,6 +20903,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19923
20903
|
auto_invoice_enabled?: boolean;
|
|
19924
20904
|
auto_invoice_start_date?: string | null;
|
|
19925
20905
|
auto_invoice_trigger_statuses?: string[];
|
|
20906
|
+
auto_send_mode?: string | null;
|
|
19926
20907
|
created_at?: string;
|
|
19927
20908
|
debtor_gl_account?: string;
|
|
19928
20909
|
default_article_code?: string | null;
|
|
@@ -20366,16 +21347,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20366
21347
|
Row: {
|
|
20367
21348
|
active_environment: string;
|
|
20368
21349
|
id: number;
|
|
21350
|
+
public_base_url: string | null;
|
|
20369
21351
|
updated_at: string;
|
|
20370
21352
|
};
|
|
20371
21353
|
Insert: {
|
|
20372
21354
|
active_environment?: string;
|
|
20373
21355
|
id?: number;
|
|
21356
|
+
public_base_url?: string | null;
|
|
20374
21357
|
updated_at?: string;
|
|
20375
21358
|
};
|
|
20376
21359
|
Update: {
|
|
20377
21360
|
active_environment?: string;
|
|
20378
21361
|
id?: number;
|
|
21362
|
+
public_base_url?: string | null;
|
|
20379
21363
|
updated_at?: string;
|
|
20380
21364
|
};
|
|
20381
21365
|
Relationships: [];
|
|
@@ -20413,6 +21397,45 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20413
21397
|
referencedColumns: ["id"];
|
|
20414
21398
|
}];
|
|
20415
21399
|
};
|
|
21400
|
+
uren_beschikbare_dagen: {
|
|
21401
|
+
Row: {
|
|
21402
|
+
bron: string;
|
|
21403
|
+
created_at: string;
|
|
21404
|
+
datum: string;
|
|
21405
|
+
eind_tijd: string | null;
|
|
21406
|
+
half_hour_slots: number[];
|
|
21407
|
+
id: string;
|
|
21408
|
+
monteur_id: string;
|
|
21409
|
+
start_tijd: string | null;
|
|
21410
|
+
updated_at: string;
|
|
21411
|
+
uren: number;
|
|
21412
|
+
};
|
|
21413
|
+
Insert: {
|
|
21414
|
+
bron?: string;
|
|
21415
|
+
created_at?: string;
|
|
21416
|
+
datum: string;
|
|
21417
|
+
eind_tijd?: string | null;
|
|
21418
|
+
half_hour_slots?: number[];
|
|
21419
|
+
id?: string;
|
|
21420
|
+
monteur_id: string;
|
|
21421
|
+
start_tijd?: string | null;
|
|
21422
|
+
updated_at?: string;
|
|
21423
|
+
uren?: number;
|
|
21424
|
+
};
|
|
21425
|
+
Update: {
|
|
21426
|
+
bron?: string;
|
|
21427
|
+
created_at?: string;
|
|
21428
|
+
datum?: string;
|
|
21429
|
+
eind_tijd?: string | null;
|
|
21430
|
+
half_hour_slots?: number[];
|
|
21431
|
+
id?: string;
|
|
21432
|
+
monteur_id?: string;
|
|
21433
|
+
start_tijd?: string | null;
|
|
21434
|
+
updated_at?: string;
|
|
21435
|
+
uren?: number;
|
|
21436
|
+
};
|
|
21437
|
+
Relationships: [];
|
|
21438
|
+
};
|
|
20416
21439
|
uren_cao_profiles: {
|
|
20417
21440
|
Row: {
|
|
20418
21441
|
break_minutes: number | null;
|
|
@@ -20551,6 +21574,135 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20551
21574
|
};
|
|
20552
21575
|
Relationships: [];
|
|
20553
21576
|
};
|
|
21577
|
+
uren_maandafsluitingen: {
|
|
21578
|
+
Row: {
|
|
21579
|
+
afgesloten_at: string | null;
|
|
21580
|
+
afgesloten_door: string | null;
|
|
21581
|
+
contract_minuten: number;
|
|
21582
|
+
correctie_reden: string | null;
|
|
21583
|
+
created_at: string;
|
|
21584
|
+
gecorrigeerd_at: string | null;
|
|
21585
|
+
gecorrigeerd_door: string | null;
|
|
21586
|
+
gewerkte_minuten: number;
|
|
21587
|
+
id: string;
|
|
21588
|
+
maand: string;
|
|
21589
|
+
min_minuten: number;
|
|
21590
|
+
monteur_id: string;
|
|
21591
|
+
netto_verschil_minuten: number;
|
|
21592
|
+
normaal_uitbetaald_minuten: number;
|
|
21593
|
+
omgezet_vakantie_minuten: number;
|
|
21594
|
+
overdracht_vorige_minuten: number;
|
|
21595
|
+
overuren_minuten: number;
|
|
21596
|
+
plus_minuten: number;
|
|
21597
|
+
rest_overuren_minuten: number;
|
|
21598
|
+
status: string;
|
|
21599
|
+
totaal_uitbetaald_minuten: number;
|
|
21600
|
+
updated_at: string;
|
|
21601
|
+
vakantie_uren_bijgeschreven: number;
|
|
21602
|
+
};
|
|
21603
|
+
Insert: {
|
|
21604
|
+
afgesloten_at?: string | null;
|
|
21605
|
+
afgesloten_door?: string | null;
|
|
21606
|
+
contract_minuten?: number;
|
|
21607
|
+
correctie_reden?: string | null;
|
|
21608
|
+
created_at?: string;
|
|
21609
|
+
gecorrigeerd_at?: string | null;
|
|
21610
|
+
gecorrigeerd_door?: string | null;
|
|
21611
|
+
gewerkte_minuten?: number;
|
|
21612
|
+
id?: string;
|
|
21613
|
+
maand: string;
|
|
21614
|
+
min_minuten?: number;
|
|
21615
|
+
monteur_id: string;
|
|
21616
|
+
netto_verschil_minuten?: number;
|
|
21617
|
+
normaal_uitbetaald_minuten?: number;
|
|
21618
|
+
omgezet_vakantie_minuten?: number;
|
|
21619
|
+
overdracht_vorige_minuten?: number;
|
|
21620
|
+
overuren_minuten?: number;
|
|
21621
|
+
plus_minuten?: number;
|
|
21622
|
+
rest_overuren_minuten?: number;
|
|
21623
|
+
status?: string;
|
|
21624
|
+
totaal_uitbetaald_minuten?: number;
|
|
21625
|
+
updated_at?: string;
|
|
21626
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21627
|
+
};
|
|
21628
|
+
Update: {
|
|
21629
|
+
afgesloten_at?: string | null;
|
|
21630
|
+
afgesloten_door?: string | null;
|
|
21631
|
+
contract_minuten?: number;
|
|
21632
|
+
correctie_reden?: string | null;
|
|
21633
|
+
created_at?: string;
|
|
21634
|
+
gecorrigeerd_at?: string | null;
|
|
21635
|
+
gecorrigeerd_door?: string | null;
|
|
21636
|
+
gewerkte_minuten?: number;
|
|
21637
|
+
id?: string;
|
|
21638
|
+
maand?: string;
|
|
21639
|
+
min_minuten?: number;
|
|
21640
|
+
monteur_id?: string;
|
|
21641
|
+
netto_verschil_minuten?: number;
|
|
21642
|
+
normaal_uitbetaald_minuten?: number;
|
|
21643
|
+
omgezet_vakantie_minuten?: number;
|
|
21644
|
+
overdracht_vorige_minuten?: number;
|
|
21645
|
+
overuren_minuten?: number;
|
|
21646
|
+
plus_minuten?: number;
|
|
21647
|
+
rest_overuren_minuten?: number;
|
|
21648
|
+
status?: string;
|
|
21649
|
+
totaal_uitbetaald_minuten?: number;
|
|
21650
|
+
updated_at?: string;
|
|
21651
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21652
|
+
};
|
|
21653
|
+
Relationships: [];
|
|
21654
|
+
};
|
|
21655
|
+
uren_overuren_verklaringen: {
|
|
21656
|
+
Row: {
|
|
21657
|
+
beoordeeld_door: string | null;
|
|
21658
|
+
beoordeeld_op: string | null;
|
|
21659
|
+
created_at: string;
|
|
21660
|
+
datum: string;
|
|
21661
|
+
eind_tijd: string | null;
|
|
21662
|
+
id: string;
|
|
21663
|
+
ingediend_at: string;
|
|
21664
|
+
monteur_id: string;
|
|
21665
|
+
overuren: number;
|
|
21666
|
+
reden_afkeur: string | null;
|
|
21667
|
+
start_tijd: string | null;
|
|
21668
|
+
status: string;
|
|
21669
|
+
toelichting: string;
|
|
21670
|
+
updated_at: string;
|
|
21671
|
+
};
|
|
21672
|
+
Insert: {
|
|
21673
|
+
beoordeeld_door?: string | null;
|
|
21674
|
+
beoordeeld_op?: string | null;
|
|
21675
|
+
created_at?: string;
|
|
21676
|
+
datum: string;
|
|
21677
|
+
eind_tijd?: string | null;
|
|
21678
|
+
id?: string;
|
|
21679
|
+
ingediend_at?: string;
|
|
21680
|
+
monteur_id: string;
|
|
21681
|
+
overuren: number;
|
|
21682
|
+
reden_afkeur?: string | null;
|
|
21683
|
+
start_tijd?: string | null;
|
|
21684
|
+
status?: string;
|
|
21685
|
+
toelichting: string;
|
|
21686
|
+
updated_at?: string;
|
|
21687
|
+
};
|
|
21688
|
+
Update: {
|
|
21689
|
+
beoordeeld_door?: string | null;
|
|
21690
|
+
beoordeeld_op?: string | null;
|
|
21691
|
+
created_at?: string;
|
|
21692
|
+
datum?: string;
|
|
21693
|
+
eind_tijd?: string | null;
|
|
21694
|
+
id?: string;
|
|
21695
|
+
ingediend_at?: string;
|
|
21696
|
+
monteur_id?: string;
|
|
21697
|
+
overuren?: number;
|
|
21698
|
+
reden_afkeur?: string | null;
|
|
21699
|
+
start_tijd?: string | null;
|
|
21700
|
+
status?: string;
|
|
21701
|
+
toelichting?: string;
|
|
21702
|
+
updated_at?: string;
|
|
21703
|
+
};
|
|
21704
|
+
Relationships: [];
|
|
21705
|
+
};
|
|
20554
21706
|
uren_settings: {
|
|
20555
21707
|
Row: {
|
|
20556
21708
|
break_minutes: number;
|
|
@@ -20596,6 +21748,75 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20596
21748
|
};
|
|
20597
21749
|
Relationships: [];
|
|
20598
21750
|
};
|
|
21751
|
+
uren_standaardweek: {
|
|
21752
|
+
Row: {
|
|
21753
|
+
created_at: string;
|
|
21754
|
+
eind_slot: number;
|
|
21755
|
+
id: string;
|
|
21756
|
+
monteur_id: string;
|
|
21757
|
+
start_slot: number;
|
|
21758
|
+
updated_at: string;
|
|
21759
|
+
weekdag: number;
|
|
21760
|
+
};
|
|
21761
|
+
Insert: {
|
|
21762
|
+
created_at?: string;
|
|
21763
|
+
eind_slot: number;
|
|
21764
|
+
id?: string;
|
|
21765
|
+
monteur_id: string;
|
|
21766
|
+
start_slot: number;
|
|
21767
|
+
updated_at?: string;
|
|
21768
|
+
weekdag: number;
|
|
21769
|
+
};
|
|
21770
|
+
Update: {
|
|
21771
|
+
created_at?: string;
|
|
21772
|
+
eind_slot?: number;
|
|
21773
|
+
id?: string;
|
|
21774
|
+
monteur_id?: string;
|
|
21775
|
+
start_slot?: number;
|
|
21776
|
+
updated_at?: string;
|
|
21777
|
+
weekdag?: number;
|
|
21778
|
+
};
|
|
21779
|
+
Relationships: [];
|
|
21780
|
+
};
|
|
21781
|
+
uren_standaardweek_wijzigingen: {
|
|
21782
|
+
Row: {
|
|
21783
|
+
beoordeeld_door: string | null;
|
|
21784
|
+
beoordeeld_op: string | null;
|
|
21785
|
+
created_at: string;
|
|
21786
|
+
huidig: import("./types").Json;
|
|
21787
|
+
id: string;
|
|
21788
|
+
monteur_id: string;
|
|
21789
|
+
reden_afkeur: string | null;
|
|
21790
|
+
status: string;
|
|
21791
|
+
updated_at: string;
|
|
21792
|
+
voorstel: import("./types").Json;
|
|
21793
|
+
};
|
|
21794
|
+
Insert: {
|
|
21795
|
+
beoordeeld_door?: string | null;
|
|
21796
|
+
beoordeeld_op?: string | null;
|
|
21797
|
+
created_at?: string;
|
|
21798
|
+
huidig?: import("./types").Json;
|
|
21799
|
+
id?: string;
|
|
21800
|
+
monteur_id: string;
|
|
21801
|
+
reden_afkeur?: string | null;
|
|
21802
|
+
status?: string;
|
|
21803
|
+
updated_at?: string;
|
|
21804
|
+
voorstel: import("./types").Json;
|
|
21805
|
+
};
|
|
21806
|
+
Update: {
|
|
21807
|
+
beoordeeld_door?: string | null;
|
|
21808
|
+
beoordeeld_op?: string | null;
|
|
21809
|
+
created_at?: string;
|
|
21810
|
+
huidig?: import("./types").Json;
|
|
21811
|
+
id?: string;
|
|
21812
|
+
monteur_id?: string;
|
|
21813
|
+
reden_afkeur?: string | null;
|
|
21814
|
+
status?: string;
|
|
21815
|
+
updated_at?: string;
|
|
21816
|
+
voorstel?: import("./types").Json;
|
|
21817
|
+
};
|
|
21818
|
+
Relationships: [];
|
|
21819
|
+
};
|
|
20599
21820
|
uren_tarieven: {
|
|
20600
21821
|
Row: {
|
|
20601
21822
|
created_at: string;
|
|
@@ -20680,6 +21901,39 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20680
21901
|
};
|
|
20681
21902
|
Relationships: [];
|
|
20682
21903
|
};
|
|
21904
|
+
uren_tijd_spiegel: {
|
|
21905
|
+
Row: {
|
|
21906
|
+
created_at: string;
|
|
21907
|
+
id: string;
|
|
21908
|
+
time_log_id: string;
|
|
21909
|
+
werkbon_time_log_id: string;
|
|
21910
|
+
};
|
|
21911
|
+
Insert: {
|
|
21912
|
+
created_at?: string;
|
|
21913
|
+
id?: string;
|
|
21914
|
+
time_log_id: string;
|
|
21915
|
+
werkbon_time_log_id: string;
|
|
21916
|
+
};
|
|
21917
|
+
Update: {
|
|
21918
|
+
created_at?: string;
|
|
21919
|
+
id?: string;
|
|
21920
|
+
time_log_id?: string;
|
|
21921
|
+
werkbon_time_log_id?: string;
|
|
21922
|
+
};
|
|
21923
|
+
Relationships: [{
|
|
21924
|
+
foreignKeyName: "uren_tijd_spiegel_time_log_id_fkey";
|
|
21925
|
+
columns: ["time_log_id"];
|
|
21926
|
+
isOneToOne: true;
|
|
21927
|
+
referencedRelation: "time_logs";
|
|
21928
|
+
referencedColumns: ["id"];
|
|
21929
|
+
}, {
|
|
21930
|
+
foreignKeyName: "uren_tijd_spiegel_werkbon_time_log_id_fkey";
|
|
21931
|
+
columns: ["werkbon_time_log_id"];
|
|
21932
|
+
isOneToOne: true;
|
|
21933
|
+
referencedRelation: "werkbon_time_logs";
|
|
21934
|
+
referencedColumns: ["id"];
|
|
21935
|
+
}];
|
|
21936
|
+
};
|
|
20683
21937
|
uren_weekstaten: {
|
|
20684
21938
|
Row: {
|
|
20685
21939
|
approved_at: string | null;
|
|
@@ -20722,24 +21976,51 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20722
21976
|
};
|
|
20723
21977
|
Relationships: [];
|
|
20724
21978
|
};
|
|
20725
|
-
|
|
21979
|
+
uren_werktijd_voorkeuren: {
|
|
20726
21980
|
Row: {
|
|
20727
21981
|
created_at: string;
|
|
20728
|
-
|
|
21982
|
+
eind_slot: number;
|
|
20729
21983
|
id: string;
|
|
20730
|
-
|
|
20731
|
-
|
|
21984
|
+
monteur_id: string;
|
|
21985
|
+
start_slot: number;
|
|
20732
21986
|
updated_at: string;
|
|
20733
|
-
user_id: string;
|
|
20734
21987
|
};
|
|
20735
21988
|
Insert: {
|
|
20736
21989
|
created_at?: string;
|
|
20737
|
-
|
|
21990
|
+
eind_slot?: number;
|
|
20738
21991
|
id?: string;
|
|
20739
|
-
|
|
20740
|
-
|
|
21992
|
+
monteur_id: string;
|
|
21993
|
+
start_slot?: number;
|
|
20741
21994
|
updated_at?: string;
|
|
20742
|
-
|
|
21995
|
+
};
|
|
21996
|
+
Update: {
|
|
21997
|
+
created_at?: string;
|
|
21998
|
+
eind_slot?: number;
|
|
21999
|
+
id?: string;
|
|
22000
|
+
monteur_id?: string;
|
|
22001
|
+
start_slot?: number;
|
|
22002
|
+
updated_at?: string;
|
|
22003
|
+
};
|
|
22004
|
+
Relationships: [];
|
|
22005
|
+
};
|
|
22006
|
+
user_module_permissions: {
|
|
22007
|
+
Row: {
|
|
22008
|
+
created_at: string;
|
|
22009
|
+
feature_id: string;
|
|
22010
|
+
id: string;
|
|
22011
|
+
module_id: string;
|
|
22012
|
+
permission: string;
|
|
22013
|
+
updated_at: string;
|
|
22014
|
+
user_id: string;
|
|
22015
|
+
};
|
|
22016
|
+
Insert: {
|
|
22017
|
+
created_at?: string;
|
|
22018
|
+
feature_id?: string;
|
|
22019
|
+
id?: string;
|
|
22020
|
+
module_id: string;
|
|
22021
|
+
permission: string;
|
|
22022
|
+
updated_at?: string;
|
|
22023
|
+
user_id: string;
|
|
20743
22024
|
};
|
|
20744
22025
|
Update: {
|
|
20745
22026
|
created_at?: string;
|
|
@@ -20779,6 +22060,51 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20779
22060
|
referencedColumns: ["id"];
|
|
20780
22061
|
}];
|
|
20781
22062
|
};
|
|
22063
|
+
vakantie_uitbetalingen: {
|
|
22064
|
+
Row: {
|
|
22065
|
+
created_at: string;
|
|
22066
|
+
created_by: string | null;
|
|
22067
|
+
days: number;
|
|
22068
|
+
id: string;
|
|
22069
|
+
note: string | null;
|
|
22070
|
+
updated_at: string;
|
|
22071
|
+
user_id: string;
|
|
22072
|
+
year: number;
|
|
22073
|
+
};
|
|
22074
|
+
Insert: {
|
|
22075
|
+
created_at?: string;
|
|
22076
|
+
created_by?: string | null;
|
|
22077
|
+
days: number;
|
|
22078
|
+
id?: string;
|
|
22079
|
+
note?: string | null;
|
|
22080
|
+
updated_at?: string;
|
|
22081
|
+
user_id: string;
|
|
22082
|
+
year?: number;
|
|
22083
|
+
};
|
|
22084
|
+
Update: {
|
|
22085
|
+
created_at?: string;
|
|
22086
|
+
created_by?: string | null;
|
|
22087
|
+
days?: number;
|
|
22088
|
+
id?: string;
|
|
22089
|
+
note?: string | null;
|
|
22090
|
+
updated_at?: string;
|
|
22091
|
+
user_id?: string;
|
|
22092
|
+
year?: number;
|
|
22093
|
+
};
|
|
22094
|
+
Relationships: [{
|
|
22095
|
+
foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
|
|
22096
|
+
columns: ["created_by"];
|
|
22097
|
+
isOneToOne: false;
|
|
22098
|
+
referencedRelation: "profiles";
|
|
22099
|
+
referencedColumns: ["id"];
|
|
22100
|
+
}, {
|
|
22101
|
+
foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
|
|
22102
|
+
columns: ["user_id"];
|
|
22103
|
+
isOneToOne: false;
|
|
22104
|
+
referencedRelation: "profiles";
|
|
22105
|
+
referencedColumns: ["id"];
|
|
22106
|
+
}];
|
|
22107
|
+
};
|
|
20782
22108
|
van_inventories: {
|
|
20783
22109
|
Row: {
|
|
20784
22110
|
barcode: string | null;
|
|
@@ -21653,10 +22979,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21653
22979
|
Row: {
|
|
21654
22980
|
article_number: string | null;
|
|
21655
22981
|
artikel_id: string | null;
|
|
22982
|
+
cost_price_cents: number;
|
|
21656
22983
|
created_at: string;
|
|
21657
22984
|
gtin: string | null;
|
|
21658
22985
|
id: string;
|
|
21659
22986
|
manufacturer: string | null;
|
|
22987
|
+
margin_percent: number | null;
|
|
21660
22988
|
omschrijving: string;
|
|
21661
22989
|
package_id: string;
|
|
21662
22990
|
price_synced_at: string | null;
|
|
@@ -21671,10 +22999,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21671
22999
|
Insert: {
|
|
21672
23000
|
article_number?: string | null;
|
|
21673
23001
|
artikel_id?: string | null;
|
|
23002
|
+
cost_price_cents?: number;
|
|
21674
23003
|
created_at?: string;
|
|
21675
23004
|
gtin?: string | null;
|
|
21676
23005
|
id?: string;
|
|
21677
23006
|
manufacturer?: string | null;
|
|
23007
|
+
margin_percent?: number | null;
|
|
21678
23008
|
omschrijving: string;
|
|
21679
23009
|
package_id: string;
|
|
21680
23010
|
price_synced_at?: string | null;
|
|
@@ -21689,10 +23019,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21689
23019
|
Update: {
|
|
21690
23020
|
article_number?: string | null;
|
|
21691
23021
|
artikel_id?: string | null;
|
|
23022
|
+
cost_price_cents?: number;
|
|
21692
23023
|
created_at?: string;
|
|
21693
23024
|
gtin?: string | null;
|
|
21694
23025
|
id?: string;
|
|
21695
23026
|
manufacturer?: string | null;
|
|
23027
|
+
margin_percent?: number | null;
|
|
21696
23028
|
omschrijving?: string;
|
|
21697
23029
|
package_id?: string;
|
|
21698
23030
|
price_synced_at?: string | null;
|
|
@@ -22057,6 +23389,78 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
22057
23389
|
referencedColumns: ["id"];
|
|
22058
23390
|
}];
|
|
22059
23391
|
};
|
|
23392
|
+
werkbon_voorstellen: {
|
|
23393
|
+
Row: {
|
|
23394
|
+
bron_werkbon_id: string;
|
|
23395
|
+
budget_mandate_cents: number;
|
|
23396
|
+
created_at: string;
|
|
23397
|
+
created_by: string;
|
|
23398
|
+
customer_id: string | null;
|
|
23399
|
+
id: string;
|
|
23400
|
+
payload: import("./types").Json;
|
|
23401
|
+
reden: string | null;
|
|
23402
|
+
status: string;
|
|
23403
|
+
updated_at: string;
|
|
23404
|
+
verwerkt_door: string | null;
|
|
23405
|
+
verwerkt_op: string | null;
|
|
23406
|
+
werkbon_id: string | null;
|
|
23407
|
+
};
|
|
23408
|
+
Insert: {
|
|
23409
|
+
bron_werkbon_id: string;
|
|
23410
|
+
budget_mandate_cents?: number;
|
|
23411
|
+
created_at?: string;
|
|
23412
|
+
created_by?: string;
|
|
23413
|
+
customer_id?: string | null;
|
|
23414
|
+
id?: string;
|
|
23415
|
+
payload?: import("./types").Json;
|
|
23416
|
+
reden?: string | null;
|
|
23417
|
+
status?: string;
|
|
23418
|
+
updated_at?: string;
|
|
23419
|
+
verwerkt_door?: string | null;
|
|
23420
|
+
verwerkt_op?: string | null;
|
|
23421
|
+
werkbon_id?: string | null;
|
|
23422
|
+
};
|
|
23423
|
+
Update: {
|
|
23424
|
+
bron_werkbon_id?: string;
|
|
23425
|
+
budget_mandate_cents?: number;
|
|
23426
|
+
created_at?: string;
|
|
23427
|
+
created_by?: string;
|
|
23428
|
+
customer_id?: string | null;
|
|
23429
|
+
id?: string;
|
|
23430
|
+
payload?: import("./types").Json;
|
|
23431
|
+
reden?: string | null;
|
|
23432
|
+
status?: string;
|
|
23433
|
+
updated_at?: string;
|
|
23434
|
+
verwerkt_door?: string | null;
|
|
23435
|
+
verwerkt_op?: string | null;
|
|
23436
|
+
werkbon_id?: string | null;
|
|
23437
|
+
};
|
|
23438
|
+
Relationships: [{
|
|
23439
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23440
|
+
columns: ["bron_werkbon_id"];
|
|
23441
|
+
isOneToOne: false;
|
|
23442
|
+
referencedRelation: "werkbonnen";
|
|
23443
|
+
referencedColumns: ["id"];
|
|
23444
|
+
}, {
|
|
23445
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23446
|
+
columns: ["bron_werkbon_id"];
|
|
23447
|
+
isOneToOne: false;
|
|
23448
|
+
referencedRelation: "wo_overview";
|
|
23449
|
+
referencedColumns: ["id"];
|
|
23450
|
+
}, {
|
|
23451
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23452
|
+
columns: ["werkbon_id"];
|
|
23453
|
+
isOneToOne: false;
|
|
23454
|
+
referencedRelation: "werkbonnen";
|
|
23455
|
+
referencedColumns: ["id"];
|
|
23456
|
+
}, {
|
|
23457
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23458
|
+
columns: ["werkbon_id"];
|
|
23459
|
+
isOneToOne: false;
|
|
23460
|
+
referencedRelation: "wo_overview";
|
|
23461
|
+
referencedColumns: ["id"];
|
|
23462
|
+
}];
|
|
23463
|
+
};
|
|
22060
23464
|
werkbonnen: {
|
|
22061
23465
|
Row: {
|
|
22062
23466
|
assigned_user_id: string | null;
|
|
@@ -22664,6 +24068,21 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
22664
24068
|
};
|
|
22665
24069
|
Relationships: [];
|
|
22666
24070
|
};
|
|
24071
|
+
logistics_packing_diff: {
|
|
24072
|
+
Row: {
|
|
24073
|
+
dev_key: string | null;
|
|
24074
|
+
floriday_packing: import("./types").Json | null;
|
|
24075
|
+
local_packing: import("./types").Json | null;
|
|
24076
|
+
order_id: string | null;
|
|
24077
|
+
order_item_id: string | null;
|
|
24078
|
+
order_number: string | null;
|
|
24079
|
+
product_id: string | null;
|
|
24080
|
+
product_name: string | null;
|
|
24081
|
+
scope: string | null;
|
|
24082
|
+
trade_item_id: string | null;
|
|
24083
|
+
};
|
|
24084
|
+
Relationships: [];
|
|
24085
|
+
};
|
|
22667
24086
|
logistics_product_dimensions: {
|
|
22668
24087
|
Row: {
|
|
22669
24088
|
dimension_source: string | null;
|
|
@@ -23282,6 +24701,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
23282
24701
|
};
|
|
23283
24702
|
Returns: undefined;
|
|
23284
24703
|
};
|
|
24704
|
+
_wo_is_planner: {
|
|
24705
|
+
Args: never;
|
|
24706
|
+
Returns: boolean;
|
|
24707
|
+
};
|
|
23285
24708
|
afh_city_code: {
|
|
23286
24709
|
Args: {
|
|
23287
24710
|
_city: string;
|
|
@@ -23892,10 +25315,32 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
23892
25315
|
};
|
|
23893
25316
|
Returns: number;
|
|
23894
25317
|
};
|
|
25318
|
+
control_mark_carts_delivered_detail: {
|
|
25319
|
+
Args: {
|
|
25320
|
+
p_carts: import("./types").Json;
|
|
25321
|
+
};
|
|
25322
|
+
Returns: {
|
|
25323
|
+
cart_index: number;
|
|
25324
|
+
frozen: boolean;
|
|
25325
|
+
message: string;
|
|
25326
|
+
order_id: string;
|
|
25327
|
+
order_source: string;
|
|
25328
|
+
outcome: string;
|
|
25329
|
+
}[];
|
|
25330
|
+
};
|
|
23895
25331
|
count_distinct_regulatory_products: {
|
|
23896
25332
|
Args: never;
|
|
23897
25333
|
Returns: number;
|
|
23898
25334
|
};
|
|
25335
|
+
create_order_from_public_offer: {
|
|
25336
|
+
Args: {
|
|
25337
|
+
p_carrier_id?: string;
|
|
25338
|
+
p_delivery_date?: string;
|
|
25339
|
+
p_delivery_garden_id?: string;
|
|
25340
|
+
p_offer_order_id: string;
|
|
25341
|
+
};
|
|
25342
|
+
Returns: import("./types").Json;
|
|
25343
|
+
};
|
|
23899
25344
|
current_monteur_id: {
|
|
23900
25345
|
Args: never;
|
|
23901
25346
|
Returns: string;
|
|
@@ -24372,6 +25817,22 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
24372
25817
|
};
|
|
24373
25818
|
Returns: number;
|
|
24374
25819
|
};
|
|
25820
|
+
get_product_stock: {
|
|
25821
|
+
Args: {
|
|
25822
|
+
p_product_id: string;
|
|
25823
|
+
};
|
|
25824
|
+
Returns: {
|
|
25825
|
+
connection_id: string;
|
|
25826
|
+
incoming_stock: number;
|
|
25827
|
+
minimum_stock: number;
|
|
25828
|
+
notes: string;
|
|
25829
|
+
physical_stock: number;
|
|
25830
|
+
product_id: string;
|
|
25831
|
+
reserved_stock: number;
|
|
25832
|
+
trade_item_key: string;
|
|
25833
|
+
updated_at: string;
|
|
25834
|
+
}[];
|
|
25835
|
+
};
|
|
24375
25836
|
get_room_busy_windows: {
|
|
24376
25837
|
Args: {
|
|
24377
25838
|
p_from: string;
|
|
@@ -24676,13 +26137,66 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
24676
26137
|
};
|
|
24677
26138
|
Returns: import("./types").Json;
|
|
24678
26139
|
};
|
|
26140
|
+
inkoop_cancel_line: {
|
|
26141
|
+
Args: {
|
|
26142
|
+
_item_id: string;
|
|
26143
|
+
_reason: string;
|
|
26144
|
+
};
|
|
26145
|
+
Returns: string;
|
|
26146
|
+
};
|
|
26147
|
+
inkoop_get_supplier_request: {
|
|
26148
|
+
Args: {
|
|
26149
|
+
_token: string;
|
|
26150
|
+
};
|
|
26151
|
+
Returns: import("./types").Json;
|
|
26152
|
+
};
|
|
26153
|
+
inkoop_hash_token: {
|
|
26154
|
+
Args: {
|
|
26155
|
+
_token: string;
|
|
26156
|
+
};
|
|
26157
|
+
Returns: string;
|
|
26158
|
+
};
|
|
26159
|
+
inkoop_html_escape: {
|
|
26160
|
+
Args: {
|
|
26161
|
+
_t: string;
|
|
26162
|
+
};
|
|
26163
|
+
Returns: string;
|
|
26164
|
+
};
|
|
26165
|
+
inkoop_list_artikelen: {
|
|
26166
|
+
Args: never;
|
|
26167
|
+
Returns: {
|
|
26168
|
+
article_number: string;
|
|
26169
|
+
barcode: string;
|
|
26170
|
+
id: string;
|
|
26171
|
+
incoming_quantity: number;
|
|
26172
|
+
is_layer: boolean;
|
|
26173
|
+
location: string;
|
|
26174
|
+
min_quantity: number;
|
|
26175
|
+
preferred_supplier_name: string;
|
|
26176
|
+
product: string;
|
|
26177
|
+
product_type: string;
|
|
26178
|
+
purchase_price: number;
|
|
26179
|
+
quantity: number;
|
|
26180
|
+
sale_price: number;
|
|
26181
|
+
supplier_count: number;
|
|
26182
|
+
unit: string;
|
|
26183
|
+
}[];
|
|
26184
|
+
};
|
|
24679
26185
|
inkoop_next_order_number: {
|
|
24680
26186
|
Args: never;
|
|
24681
26187
|
Returns: string;
|
|
24682
26188
|
};
|
|
26189
|
+
inkoop_process_request: {
|
|
26190
|
+
Args: {
|
|
26191
|
+
_request_id: string;
|
|
26192
|
+
};
|
|
26193
|
+
Returns: undefined;
|
|
26194
|
+
};
|
|
24683
26195
|
inkoop_send_order: {
|
|
24684
26196
|
Args: {
|
|
26197
|
+
_base_url?: string;
|
|
24685
26198
|
_order_id: string;
|
|
26199
|
+
_resend?: boolean;
|
|
24686
26200
|
};
|
|
24687
26201
|
Returns: {
|
|
24688
26202
|
outbox_id: string;
|
|
@@ -24690,6 +26204,33 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
24690
26204
|
to_address: string;
|
|
24691
26205
|
}[];
|
|
24692
26206
|
};
|
|
26207
|
+
inkoop_set_preferred_supplier: {
|
|
26208
|
+
Args: {
|
|
26209
|
+
_product_id: string;
|
|
26210
|
+
_supplier_id: string;
|
|
26211
|
+
};
|
|
26212
|
+
Returns: undefined;
|
|
26213
|
+
};
|
|
26214
|
+
inkoop_stock_key: {
|
|
26215
|
+
Args: {
|
|
26216
|
+
p_product_id: string;
|
|
26217
|
+
};
|
|
26218
|
+
Returns: string;
|
|
26219
|
+
};
|
|
26220
|
+
inkoop_submit_supplier_response: {
|
|
26221
|
+
Args: {
|
|
26222
|
+
_lines: import("./types").Json;
|
|
26223
|
+
_note?: string;
|
|
26224
|
+
_token: string;
|
|
26225
|
+
};
|
|
26226
|
+
Returns: import("./types").Json;
|
|
26227
|
+
};
|
|
26228
|
+
inkoop_sync_item_stock: {
|
|
26229
|
+
Args: {
|
|
26230
|
+
p_item_id: string;
|
|
26231
|
+
};
|
|
26232
|
+
Returns: undefined;
|
|
26233
|
+
};
|
|
24693
26234
|
instructie_get: {
|
|
24694
26235
|
Args: {
|
|
24695
26236
|
_sleutel: string;
|
|
@@ -24709,6 +26250,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
24709
26250
|
};
|
|
24710
26251
|
Returns: number;
|
|
24711
26252
|
};
|
|
26253
|
+
invoice_branding_snapshot: {
|
|
26254
|
+
Args: never;
|
|
26255
|
+
Returns: import("./types").Json;
|
|
26256
|
+
};
|
|
24712
26257
|
invoice_create_from_source: {
|
|
24713
26258
|
Args: {
|
|
24714
26259
|
_payload?: import("./types").Json;
|
|
@@ -24743,39 +26288,81 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
24743
26288
|
};
|
|
24744
26289
|
Returns: import("./types").Json;
|
|
24745
26290
|
};
|
|
24746
|
-
|
|
26291
|
+
invoice_mark_sent: {
|
|
24747
26292
|
Args: {
|
|
24748
26293
|
_invoice_id: string;
|
|
26294
|
+
_to: string;
|
|
24749
26295
|
};
|
|
24750
|
-
Returns:
|
|
26296
|
+
Returns: undefined;
|
|
24751
26297
|
};
|
|
24752
|
-
|
|
26298
|
+
invoice_peek_next_number: {
|
|
26299
|
+
Args: never;
|
|
26300
|
+
Returns: string;
|
|
26301
|
+
};
|
|
26302
|
+
invoice_ready_work_orders: {
|
|
24753
26303
|
Args: {
|
|
24754
|
-
|
|
24755
|
-
_source_type: string;
|
|
26304
|
+
_limit?: number;
|
|
24756
26305
|
};
|
|
24757
26306
|
Returns: import("./types").Json;
|
|
24758
26307
|
};
|
|
24759
|
-
|
|
24760
|
-
Args: never;
|
|
24761
|
-
Returns: boolean;
|
|
24762
|
-
};
|
|
24763
|
-
is_developer: {
|
|
24764
|
-
Args: never;
|
|
24765
|
-
Returns: boolean;
|
|
24766
|
-
};
|
|
24767
|
-
is_superadmin: {
|
|
26308
|
+
invoice_recalc_totals: {
|
|
24768
26309
|
Args: {
|
|
24769
|
-
|
|
26310
|
+
_invoice_id: string;
|
|
24770
26311
|
};
|
|
24771
|
-
Returns:
|
|
26312
|
+
Returns: import("./types").Json;
|
|
24772
26313
|
};
|
|
24773
|
-
|
|
26314
|
+
invoice_save_branding_settings: {
|
|
24774
26315
|
Args: {
|
|
24775
|
-
|
|
24776
|
-
p_start_time: string;
|
|
26316
|
+
_payload: import("./types").Json;
|
|
24777
26317
|
};
|
|
24778
|
-
Returns:
|
|
26318
|
+
Returns: import("./types").Json;
|
|
26319
|
+
};
|
|
26320
|
+
invoice_set_email_purpose: {
|
|
26321
|
+
Args: {
|
|
26322
|
+
_purpose: string;
|
|
26323
|
+
};
|
|
26324
|
+
Returns: string;
|
|
26325
|
+
};
|
|
26326
|
+
invoice_source_lines: {
|
|
26327
|
+
Args: {
|
|
26328
|
+
_source_id: string;
|
|
26329
|
+
_source_type: string;
|
|
26330
|
+
};
|
|
26331
|
+
Returns: import("./types").Json;
|
|
26332
|
+
};
|
|
26333
|
+
invoice_update_full: {
|
|
26334
|
+
Args: {
|
|
26335
|
+
_invoice_id: string;
|
|
26336
|
+
_payload: import("./types").Json;
|
|
26337
|
+
};
|
|
26338
|
+
Returns: import("./types").Json;
|
|
26339
|
+
};
|
|
26340
|
+
invoice_work_order_locked: {
|
|
26341
|
+
Args: {
|
|
26342
|
+
_werkbon_id: string;
|
|
26343
|
+
};
|
|
26344
|
+
Returns: import("./types").Json;
|
|
26345
|
+
};
|
|
26346
|
+
is_authenticated: {
|
|
26347
|
+
Args: never;
|
|
26348
|
+
Returns: boolean;
|
|
26349
|
+
};
|
|
26350
|
+
is_developer: {
|
|
26351
|
+
Args: never;
|
|
26352
|
+
Returns: boolean;
|
|
26353
|
+
};
|
|
26354
|
+
is_superadmin: {
|
|
26355
|
+
Args: {
|
|
26356
|
+
_user_id: string;
|
|
26357
|
+
};
|
|
26358
|
+
Returns: boolean;
|
|
26359
|
+
};
|
|
26360
|
+
is_time_log_week_locked: {
|
|
26361
|
+
Args: {
|
|
26362
|
+
p_employee_id: string;
|
|
26363
|
+
p_start_time: string;
|
|
26364
|
+
};
|
|
26365
|
+
Returns: boolean;
|
|
24779
26366
|
};
|
|
24780
26367
|
is_user_admin: {
|
|
24781
26368
|
Args: never;
|
|
@@ -24988,6 +26575,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
24988
26575
|
};
|
|
24989
26576
|
Returns: import("./types").Json;
|
|
24990
26577
|
};
|
|
26578
|
+
logistics_buffer_decision_for_settings: {
|
|
26579
|
+
Args: {
|
|
26580
|
+
p_order: import("./types").Json;
|
|
26581
|
+
p_settings: import("./types").Json;
|
|
26582
|
+
p_user_id?: string;
|
|
26583
|
+
};
|
|
26584
|
+
Returns: import("./types").Json;
|
|
26585
|
+
};
|
|
24991
26586
|
logistics_buffer_detach_late_orders: {
|
|
24992
26587
|
Args: {
|
|
24993
26588
|
p_buffer?: string;
|
|
@@ -25021,6 +26616,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25021
26616
|
};
|
|
25022
26617
|
Returns: string;
|
|
25023
26618
|
};
|
|
26619
|
+
logistics_buffer_payload: {
|
|
26620
|
+
Args: {
|
|
26621
|
+
p_order_id: string;
|
|
26622
|
+
};
|
|
26623
|
+
Returns: import("./types").Json;
|
|
26624
|
+
};
|
|
25024
26625
|
logistics_buffer_simulate: {
|
|
25025
26626
|
Args: {
|
|
25026
26627
|
p_orders?: import("./types").Json;
|
|
@@ -25067,6 +26668,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25067
26668
|
};
|
|
25068
26669
|
Returns: number;
|
|
25069
26670
|
};
|
|
26671
|
+
logistics_cart_barcode_opschonen: {
|
|
26672
|
+
Args: {
|
|
26673
|
+
p_portie?: number;
|
|
26674
|
+
};
|
|
26675
|
+
Returns: import("./types").Json;
|
|
26676
|
+
};
|
|
25070
26677
|
logistics_cart_barcode_value: {
|
|
25071
26678
|
Args: {
|
|
25072
26679
|
_cart_id: string;
|
|
@@ -25079,6 +26686,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25079
26686
|
};
|
|
25080
26687
|
Returns: string;
|
|
25081
26688
|
};
|
|
26689
|
+
logistics_cart_coverage_check: {
|
|
26690
|
+
Args: never;
|
|
26691
|
+
Returns: import("./types").Json;
|
|
26692
|
+
};
|
|
25082
26693
|
logistics_cart_handled: {
|
|
25083
26694
|
Args: {
|
|
25084
26695
|
p_cart_index: number;
|
|
@@ -25322,6 +26933,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25322
26933
|
isSetofReturn: false;
|
|
25323
26934
|
};
|
|
25324
26935
|
};
|
|
26936
|
+
logistics_cleanup_duplicate_order_lines: {
|
|
26937
|
+
Args: {
|
|
26938
|
+
p_limit?: number;
|
|
26939
|
+
p_order_id: string;
|
|
26940
|
+
};
|
|
26941
|
+
Returns: import("./types").Json;
|
|
26942
|
+
};
|
|
26943
|
+
logistics_cleanup_history: {
|
|
26944
|
+
Args: {
|
|
26945
|
+
p_limit?: number;
|
|
26946
|
+
};
|
|
26947
|
+
Returns: import("./types").Json;
|
|
26948
|
+
};
|
|
25325
26949
|
logistics_cleanup_orphan_print_jobs: {
|
|
25326
26950
|
Args: never;
|
|
25327
26951
|
Returns: import("./types").Json;
|
|
@@ -25479,6 +27103,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25479
27103
|
Args: never;
|
|
25480
27104
|
Returns: import("./types").Json;
|
|
25481
27105
|
};
|
|
27106
|
+
logistics_cron_health: {
|
|
27107
|
+
Args: never;
|
|
27108
|
+
Returns: import("./types").Json;
|
|
27109
|
+
};
|
|
25482
27110
|
logistics_day_windows: {
|
|
25483
27111
|
Args: {
|
|
25484
27112
|
p_day: string;
|
|
@@ -25828,6 +27456,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25828
27456
|
};
|
|
25829
27457
|
Returns: number;
|
|
25830
27458
|
};
|
|
27459
|
+
logistics_merge_decision: {
|
|
27460
|
+
Args: {
|
|
27461
|
+
p_lines: import("./types").Json;
|
|
27462
|
+
};
|
|
27463
|
+
Returns: import("./types").Json;
|
|
27464
|
+
};
|
|
25831
27465
|
logistics_merge_floriday_lines: {
|
|
25832
27466
|
Args: {
|
|
25833
27467
|
p_order_id: string;
|
|
@@ -25874,6 +27508,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25874
27508
|
Args: never;
|
|
25875
27509
|
Returns: string;
|
|
25876
27510
|
};
|
|
27511
|
+
logistics_order_backlog_info: {
|
|
27512
|
+
Args: {
|
|
27513
|
+
p_order_id: string;
|
|
27514
|
+
};
|
|
27515
|
+
Returns: import("./types").Json;
|
|
27516
|
+
};
|
|
25877
27517
|
logistics_order_cart_approval: {
|
|
25878
27518
|
Args: {
|
|
25879
27519
|
_order_ref: string;
|
|
@@ -25908,6 +27548,50 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25908
27548
|
};
|
|
25909
27549
|
Returns: boolean;
|
|
25910
27550
|
};
|
|
27551
|
+
logistics_order_finalize_enqueue: {
|
|
27552
|
+
Args: {
|
|
27553
|
+
p_order_id: string;
|
|
27554
|
+
p_reason?: string;
|
|
27555
|
+
};
|
|
27556
|
+
Returns: undefined;
|
|
27557
|
+
};
|
|
27558
|
+
logistics_order_finalize_overview: {
|
|
27559
|
+
Args: never;
|
|
27560
|
+
Returns: {
|
|
27561
|
+
bezig: number;
|
|
27562
|
+
laatst_afgerond: string;
|
|
27563
|
+
laatste_fout: string;
|
|
27564
|
+
mislukt: number;
|
|
27565
|
+
oudste_wachttijd_seconden: number;
|
|
27566
|
+
wachtend: number;
|
|
27567
|
+
}[];
|
|
27568
|
+
};
|
|
27569
|
+
logistics_order_finalize_prune: {
|
|
27570
|
+
Args: {
|
|
27571
|
+
p_days?: number;
|
|
27572
|
+
};
|
|
27573
|
+
Returns: number;
|
|
27574
|
+
};
|
|
27575
|
+
logistics_order_finalize_reconcile: {
|
|
27576
|
+
Args: {
|
|
27577
|
+
p_days?: number;
|
|
27578
|
+
p_limit?: number;
|
|
27579
|
+
};
|
|
27580
|
+
Returns: number;
|
|
27581
|
+
};
|
|
27582
|
+
logistics_order_finalize_retry: {
|
|
27583
|
+
Args: {
|
|
27584
|
+
p_order_id: string;
|
|
27585
|
+
};
|
|
27586
|
+
Returns: boolean;
|
|
27587
|
+
};
|
|
27588
|
+
logistics_order_finalize_run: {
|
|
27589
|
+
Args: {
|
|
27590
|
+
p_lease_seconds?: number;
|
|
27591
|
+
p_limit?: number;
|
|
27592
|
+
};
|
|
27593
|
+
Returns: number;
|
|
27594
|
+
};
|
|
25911
27595
|
logistics_order_frozen: {
|
|
25912
27596
|
Args: {
|
|
25913
27597
|
p_order_id: string;
|
|
@@ -25920,6 +27604,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25920
27604
|
};
|
|
25921
27605
|
Returns: boolean;
|
|
25922
27606
|
};
|
|
27607
|
+
logistics_order_is_backlog: {
|
|
27608
|
+
Args: {
|
|
27609
|
+
p_order_id: string;
|
|
27610
|
+
};
|
|
27611
|
+
Returns: boolean;
|
|
27612
|
+
};
|
|
25923
27613
|
logistics_order_is_topick: {
|
|
25924
27614
|
Args: {
|
|
25925
27615
|
p_order_id: string;
|
|
@@ -25927,6 +27617,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25927
27617
|
};
|
|
25928
27618
|
Returns: boolean;
|
|
25929
27619
|
};
|
|
27620
|
+
logistics_order_line_duplicates: {
|
|
27621
|
+
Args: {
|
|
27622
|
+
p_order_id: string;
|
|
27623
|
+
};
|
|
27624
|
+
Returns: import("./types").Json;
|
|
27625
|
+
};
|
|
25930
27626
|
logistics_order_merge_key: {
|
|
25931
27627
|
Args: {
|
|
25932
27628
|
p_group_key: string;
|
|
@@ -25970,6 +27666,63 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25970
27666
|
};
|
|
25971
27667
|
Returns: boolean;
|
|
25972
27668
|
};
|
|
27669
|
+
logistics_packing_autofix: {
|
|
27670
|
+
Args: {
|
|
27671
|
+
p_limit?: number;
|
|
27672
|
+
};
|
|
27673
|
+
Returns: number;
|
|
27674
|
+
};
|
|
27675
|
+
logistics_packing_block_reason: {
|
|
27676
|
+
Args: {
|
|
27677
|
+
p_order_id: string;
|
|
27678
|
+
p_order_item_id: string;
|
|
27679
|
+
};
|
|
27680
|
+
Returns: string;
|
|
27681
|
+
};
|
|
27682
|
+
logistics_packing_dismiss: {
|
|
27683
|
+
Args: {
|
|
27684
|
+
p_id: string;
|
|
27685
|
+
p_note?: string;
|
|
27686
|
+
};
|
|
27687
|
+
Returns: boolean;
|
|
27688
|
+
};
|
|
27689
|
+
logistics_packing_overview: {
|
|
27690
|
+
Args: never;
|
|
27691
|
+
Returns: {
|
|
27692
|
+
beoordelen: number;
|
|
27693
|
+
herstelbaar: number;
|
|
27694
|
+
laatst_gemeten: string;
|
|
27695
|
+
laatst_hersteld: string;
|
|
27696
|
+
open_totaal: number;
|
|
27697
|
+
orders: number;
|
|
27698
|
+
oudste_seconden: number;
|
|
27699
|
+
producten: number;
|
|
27700
|
+
}[];
|
|
27701
|
+
};
|
|
27702
|
+
logistics_packing_reconcile: {
|
|
27703
|
+
Args: {
|
|
27704
|
+
p_fix_limit?: number;
|
|
27705
|
+
p_scan_limit?: number;
|
|
27706
|
+
};
|
|
27707
|
+
Returns: {
|
|
27708
|
+
beoordelen: number;
|
|
27709
|
+
gevonden: number;
|
|
27710
|
+
hersteld: number;
|
|
27711
|
+
}[];
|
|
27712
|
+
};
|
|
27713
|
+
logistics_packing_scan: {
|
|
27714
|
+
Args: {
|
|
27715
|
+
p_limit?: number;
|
|
27716
|
+
};
|
|
27717
|
+
Returns: number;
|
|
27718
|
+
};
|
|
27719
|
+
logistics_packing_set_manual: {
|
|
27720
|
+
Args: {
|
|
27721
|
+
p_manual?: boolean;
|
|
27722
|
+
p_order_item_id: string;
|
|
27723
|
+
};
|
|
27724
|
+
Returns: boolean;
|
|
27725
|
+
};
|
|
25973
27726
|
logistics_parse_pickup: {
|
|
25974
27727
|
Args: {
|
|
25975
27728
|
p_value: string;
|
|
@@ -25998,6 +27751,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25998
27751
|
shifted_count: number;
|
|
25999
27752
|
}[];
|
|
26000
27753
|
};
|
|
27754
|
+
logistics_pick_backlog_max_days: {
|
|
27755
|
+
Args: never;
|
|
27756
|
+
Returns: number;
|
|
27757
|
+
};
|
|
26001
27758
|
logistics_pick_barcode_enabled: {
|
|
26002
27759
|
Args: never;
|
|
26003
27760
|
Returns: boolean;
|
|
@@ -26219,6 +27976,21 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
26219
27976
|
Args: never;
|
|
26220
27977
|
Returns: number;
|
|
26221
27978
|
};
|
|
27979
|
+
logistics_planner_cart_snapshot: {
|
|
27980
|
+
Args: {
|
|
27981
|
+
p_buffer_id: string;
|
|
27982
|
+
p_order_id: string;
|
|
27983
|
+
};
|
|
27984
|
+
Returns: import("./types").Json;
|
|
27985
|
+
};
|
|
27986
|
+
logistics_planner_diff_mode: {
|
|
27987
|
+
Args: never;
|
|
27988
|
+
Returns: string;
|
|
27989
|
+
};
|
|
27990
|
+
logistics_planner_diff_prune: {
|
|
27991
|
+
Args: never;
|
|
27992
|
+
Returns: number;
|
|
27993
|
+
};
|
|
26222
27994
|
logistics_prepare_pick_documents: {
|
|
26223
27995
|
Args: {
|
|
26224
27996
|
p_limit?: number;
|
|
@@ -26229,6 +28001,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
26229
28001
|
Args: never;
|
|
26230
28002
|
Returns: number;
|
|
26231
28003
|
};
|
|
28004
|
+
logistics_prune_cron_history: {
|
|
28005
|
+
Args: {
|
|
28006
|
+
p_days?: number;
|
|
28007
|
+
};
|
|
28008
|
+
Returns: number;
|
|
28009
|
+
};
|
|
26232
28010
|
logistics_prune_handled_pick_queue: {
|
|
26233
28011
|
Args: never;
|
|
26234
28012
|
Returns: number;
|
|
@@ -26265,6 +28043,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
26265
28043
|
Args: never;
|
|
26266
28044
|
Returns: import("./types").Json;
|
|
26267
28045
|
};
|
|
28046
|
+
logistics_recalc_tick_kick: {
|
|
28047
|
+
Args: never;
|
|
28048
|
+
Returns: number;
|
|
28049
|
+
};
|
|
28050
|
+
logistics_reconcile_missing_plan_queue: {
|
|
28051
|
+
Args: never;
|
|
28052
|
+
Returns: number;
|
|
28053
|
+
};
|
|
26268
28054
|
logistics_refresh_pick_queue_status: {
|
|
26269
28055
|
Args: {
|
|
26270
28056
|
p_ref: string;
|
|
@@ -26295,11 +28081,24 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
26295
28081
|
};
|
|
26296
28082
|
Returns: import("./types").Json;
|
|
26297
28083
|
};
|
|
28084
|
+
logistics_replan_clear_foreign_cart_items: {
|
|
28085
|
+
Args: {
|
|
28086
|
+
p_order_id: string;
|
|
28087
|
+
p_reason: string;
|
|
28088
|
+
};
|
|
28089
|
+
Returns: import("./types").Json;
|
|
28090
|
+
};
|
|
26298
28091
|
logistics_replan_order_journey: {
|
|
26299
28092
|
Args: {
|
|
26300
28093
|
p_order_ref: string;
|
|
26301
28094
|
};
|
|
26302
28095
|
Returns: import("./types").Json;
|
|
28096
|
+
} | {
|
|
28097
|
+
Args: {
|
|
28098
|
+
p_order_ref: string;
|
|
28099
|
+
p_reason: string;
|
|
28100
|
+
};
|
|
28101
|
+
Returns: import("./types").Json;
|
|
26303
28102
|
};
|
|
26304
28103
|
logistics_report_delay: {
|
|
26305
28104
|
Args: {
|
|
@@ -26345,6 +28144,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
26345
28144
|
};
|
|
26346
28145
|
Returns: import("./types").Json;
|
|
26347
28146
|
};
|
|
28147
|
+
logistics_reserved_stock_nightly: {
|
|
28148
|
+
Args: never;
|
|
28149
|
+
Returns: undefined;
|
|
28150
|
+
};
|
|
26348
28151
|
logistics_resolve_pick_document: {
|
|
26349
28152
|
Args: {
|
|
26350
28153
|
_is_herprint: boolean;
|
|
@@ -26368,6 +28171,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
26368
28171
|
};
|
|
26369
28172
|
Returns: import("./types").Json;
|
|
26370
28173
|
};
|
|
28174
|
+
logistics_retention_days: {
|
|
28175
|
+
Args: {
|
|
28176
|
+
p_key: string;
|
|
28177
|
+
};
|
|
28178
|
+
Returns: number;
|
|
28179
|
+
};
|
|
26371
28180
|
logistics_rule_bool: {
|
|
26372
28181
|
Args: {
|
|
26373
28182
|
p_default: boolean;
|
|
@@ -26474,6 +28283,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
26474
28283
|
};
|
|
26475
28284
|
Returns: string;
|
|
26476
28285
|
};
|
|
28286
|
+
logistics_shipping_note_status: {
|
|
28287
|
+
Args: {
|
|
28288
|
+
p_cart_id?: string;
|
|
28289
|
+
p_slip_job_id?: string;
|
|
28290
|
+
};
|
|
28291
|
+
Returns: import("./types").Json;
|
|
28292
|
+
};
|
|
26477
28293
|
logistics_shipping_notes_wake_all: {
|
|
26478
28294
|
Args: never;
|
|
26479
28295
|
Returns: import("./types").Json;
|
|
@@ -26561,12 +28377,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
26561
28377
|
Args: never;
|
|
26562
28378
|
Returns: import("./types").Json;
|
|
26563
28379
|
};
|
|
28380
|
+
logistics_sync_pick_queue_backlog: {
|
|
28381
|
+
Args: never;
|
|
28382
|
+
Returns: import("./types").Json;
|
|
28383
|
+
};
|
|
28384
|
+
logistics_sync_pick_queue_core: {
|
|
28385
|
+
Args: never;
|
|
28386
|
+
Returns: import("./types").Json;
|
|
28387
|
+
};
|
|
26564
28388
|
logistics_sync_task_carriers: {
|
|
26565
28389
|
Args: {
|
|
26566
28390
|
p_order_ref?: string;
|
|
26567
28391
|
};
|
|
26568
28392
|
Returns: number;
|
|
26569
28393
|
};
|
|
28394
|
+
logistics_task_open_counts: {
|
|
28395
|
+
Args: never;
|
|
28396
|
+
Returns: {
|
|
28397
|
+
open_count: number;
|
|
28398
|
+
owner_module: string;
|
|
28399
|
+
}[];
|
|
28400
|
+
};
|
|
26570
28401
|
logistics_task_owner: {
|
|
26571
28402
|
Args: {
|
|
26572
28403
|
p_task_type: string;
|
|
@@ -26584,6 +28415,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
26584
28415
|
Args: never;
|
|
26585
28416
|
Returns: number;
|
|
26586
28417
|
};
|
|
28418
|
+
logistics_tasks_prune: {
|
|
28419
|
+
Args: {
|
|
28420
|
+
p_days?: number;
|
|
28421
|
+
};
|
|
28422
|
+
Returns: number;
|
|
28423
|
+
};
|
|
28424
|
+
logistics_tick: {
|
|
28425
|
+
Args: never;
|
|
28426
|
+
Returns: import("./types").Json;
|
|
28427
|
+
};
|
|
26587
28428
|
logistics_tick_ping: {
|
|
26588
28429
|
Args: never;
|
|
26589
28430
|
Returns: string;
|
|
@@ -26849,6 +28690,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
26849
28690
|
permission: string;
|
|
26850
28691
|
}[];
|
|
26851
28692
|
};
|
|
28693
|
+
next_cart_day_seq: {
|
|
28694
|
+
Args: {
|
|
28695
|
+
p_date: string;
|
|
28696
|
+
};
|
|
28697
|
+
Returns: number;
|
|
28698
|
+
};
|
|
26852
28699
|
next_manufacture_partij: {
|
|
26853
28700
|
Args: {
|
|
26854
28701
|
_tenant_id: string;
|
|
@@ -26918,6 +28765,17 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
26918
28765
|
};
|
|
26919
28766
|
Returns: boolean;
|
|
26920
28767
|
};
|
|
28768
|
+
order_items_duplicate_report: {
|
|
28769
|
+
Args: {
|
|
28770
|
+
_order_ref?: string;
|
|
28771
|
+
};
|
|
28772
|
+
Returns: {
|
|
28773
|
+
distinct_products: number;
|
|
28774
|
+
duplicate_factor: number;
|
|
28775
|
+
lines: number;
|
|
28776
|
+
order_number: string;
|
|
28777
|
+
}[];
|
|
28778
|
+
};
|
|
26921
28779
|
order_number_prefix: {
|
|
26922
28780
|
Args: {
|
|
26923
28781
|
p_custom_fields?: import("./types").Json;
|
|
@@ -27701,6 +29559,22 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
27701
29559
|
};
|
|
27702
29560
|
Returns: undefined;
|
|
27703
29561
|
};
|
|
29562
|
+
planning_apply_schedule_updates: {
|
|
29563
|
+
Args: {
|
|
29564
|
+
_updates: import("./types").Json;
|
|
29565
|
+
};
|
|
29566
|
+
Returns: undefined;
|
|
29567
|
+
};
|
|
29568
|
+
planning_assert_no_overlaps: {
|
|
29569
|
+
Args: never;
|
|
29570
|
+
Returns: undefined;
|
|
29571
|
+
};
|
|
29572
|
+
planning_assert_no_overlaps_for_items: {
|
|
29573
|
+
Args: {
|
|
29574
|
+
_item_ids: string[];
|
|
29575
|
+
};
|
|
29576
|
+
Returns: undefined;
|
|
29577
|
+
};
|
|
27704
29578
|
planning_cancel_item: {
|
|
27705
29579
|
Args: {
|
|
27706
29580
|
_id: string;
|
|
@@ -27812,6 +29686,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
27812
29686
|
};
|
|
27813
29687
|
Returns: boolean;
|
|
27814
29688
|
};
|
|
29689
|
+
quote_assign_number: {
|
|
29690
|
+
Args: {
|
|
29691
|
+
_offerte_id: string;
|
|
29692
|
+
};
|
|
29693
|
+
Returns: string;
|
|
29694
|
+
};
|
|
29695
|
+
quote_create_follow_up_now: {
|
|
29696
|
+
Args: {
|
|
29697
|
+
_offerte_id: string;
|
|
29698
|
+
_payload?: import("./types").Json;
|
|
29699
|
+
};
|
|
29700
|
+
Returns: import("./types").Json;
|
|
29701
|
+
};
|
|
27815
29702
|
quote_create_from_source: {
|
|
27816
29703
|
Args: {
|
|
27817
29704
|
_payload?: import("./types").Json;
|
|
@@ -28055,6 +29942,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
28055
29942
|
Args: never;
|
|
28056
29943
|
Returns: undefined;
|
|
28057
29944
|
};
|
|
29945
|
+
run_order_auto_invoice_tick: {
|
|
29946
|
+
Args: never;
|
|
29947
|
+
Returns: number;
|
|
29948
|
+
};
|
|
28058
29949
|
run_print_queue_ticks: {
|
|
28059
29950
|
Args: never;
|
|
28060
29951
|
Returns: number;
|
|
@@ -28078,6 +29969,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
28078
29969
|
};
|
|
28079
29970
|
Returns: import("./types").Json;
|
|
28080
29971
|
};
|
|
29972
|
+
scan_controleer_pincode: {
|
|
29973
|
+
Args: {
|
|
29974
|
+
p_pin: string;
|
|
29975
|
+
p_scanner_id: string;
|
|
29976
|
+
};
|
|
29977
|
+
Returns: boolean;
|
|
29978
|
+
};
|
|
28081
29979
|
scan_dashboard_stats: {
|
|
28082
29980
|
Args: {
|
|
28083
29981
|
p_dagen?: number;
|
|
@@ -28097,6 +29995,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
28097
29995
|
};
|
|
28098
29996
|
Returns: import("./types").Json;
|
|
28099
29997
|
};
|
|
29998
|
+
scan_heeft_pincode: {
|
|
29999
|
+
Args: {
|
|
30000
|
+
p_scanner_id: string;
|
|
30001
|
+
};
|
|
30002
|
+
Returns: boolean;
|
|
30003
|
+
};
|
|
28100
30004
|
scan_kar_compleet: {
|
|
28101
30005
|
Args: {
|
|
28102
30006
|
p_allow_reprint?: boolean;
|
|
@@ -28114,6 +30018,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
28114
30018
|
Args: {
|
|
28115
30019
|
p_code: string;
|
|
28116
30020
|
p_latency_ms?: number;
|
|
30021
|
+
p_medewerker?: string;
|
|
28117
30022
|
p_message?: string;
|
|
28118
30023
|
p_result: string;
|
|
28119
30024
|
p_scanner_key?: string;
|
|
@@ -28186,6 +30091,22 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
28186
30091
|
};
|
|
28187
30092
|
Returns: undefined;
|
|
28188
30093
|
};
|
|
30094
|
+
scan_scanner_info: {
|
|
30095
|
+
Args: {
|
|
30096
|
+
p_slug: string;
|
|
30097
|
+
};
|
|
30098
|
+
Returns: {
|
|
30099
|
+
actief: boolean;
|
|
30100
|
+
heeft_pincode: boolean;
|
|
30101
|
+
id: string;
|
|
30102
|
+
naam: string;
|
|
30103
|
+
omschrijving: string;
|
|
30104
|
+
printer_id: string;
|
|
30105
|
+
type: string;
|
|
30106
|
+
vereist_medewerker: boolean;
|
|
30107
|
+
werkplek: string;
|
|
30108
|
+
}[];
|
|
30109
|
+
};
|
|
28189
30110
|
scan_sessie_annuleren: {
|
|
28190
30111
|
Args: {
|
|
28191
30112
|
p_sessie_id: string;
|
|
@@ -28432,6 +30353,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
28432
30353
|
};
|
|
28433
30354
|
Returns: number;
|
|
28434
30355
|
};
|
|
30356
|
+
schedule_floriday_trade_items_reconcile: {
|
|
30357
|
+
Args: {
|
|
30358
|
+
p_apikey: string;
|
|
30359
|
+
p_url: string;
|
|
30360
|
+
};
|
|
30361
|
+
Returns: number;
|
|
30362
|
+
};
|
|
28435
30363
|
schedule_floriday_trade_items_sync: {
|
|
28436
30364
|
Args: {
|
|
28437
30365
|
p_apikey: string;
|
|
@@ -28514,6 +30442,26 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
28514
30442
|
};
|
|
28515
30443
|
Returns: undefined;
|
|
28516
30444
|
};
|
|
30445
|
+
set_product_stock: {
|
|
30446
|
+
Args: {
|
|
30447
|
+
p_incoming_stock?: number;
|
|
30448
|
+
p_minimum_stock?: number;
|
|
30449
|
+
p_notes?: string;
|
|
30450
|
+
p_physical_stock: number;
|
|
30451
|
+
p_product_id: string;
|
|
30452
|
+
};
|
|
30453
|
+
Returns: {
|
|
30454
|
+
connection_id: string;
|
|
30455
|
+
incoming_stock: number;
|
|
30456
|
+
minimum_stock: number;
|
|
30457
|
+
notes: string;
|
|
30458
|
+
physical_stock: number;
|
|
30459
|
+
product_id: string;
|
|
30460
|
+
reserved_stock: number;
|
|
30461
|
+
trade_item_key: string;
|
|
30462
|
+
updated_at: string;
|
|
30463
|
+
}[];
|
|
30464
|
+
};
|
|
28517
30465
|
show_limit: {
|
|
28518
30466
|
Args: never;
|
|
28519
30467
|
Returns: number;
|
|
@@ -28756,6 +30704,22 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
28756
30704
|
Args: never;
|
|
28757
30705
|
Returns: boolean;
|
|
28758
30706
|
};
|
|
30707
|
+
uren_is_werkdag: {
|
|
30708
|
+
Args: {
|
|
30709
|
+
_date: string;
|
|
30710
|
+
_monteur: string;
|
|
30711
|
+
};
|
|
30712
|
+
Returns: boolean;
|
|
30713
|
+
};
|
|
30714
|
+
uren_korte_afwezigheid_aanvragen: {
|
|
30715
|
+
Args: {
|
|
30716
|
+
_datum: string;
|
|
30717
|
+
_eind: string;
|
|
30718
|
+
_reden: string;
|
|
30719
|
+
_start: string;
|
|
30720
|
+
};
|
|
30721
|
+
Returns: string;
|
|
30722
|
+
};
|
|
28759
30723
|
uren_list_medewerkers: {
|
|
28760
30724
|
Args: never;
|
|
28761
30725
|
Returns: {
|
|
@@ -28776,6 +30740,45 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
28776
30740
|
roles: string[];
|
|
28777
30741
|
}[];
|
|
28778
30742
|
};
|
|
30743
|
+
uren_list_planner_contacten: {
|
|
30744
|
+
Args: never;
|
|
30745
|
+
Returns: {
|
|
30746
|
+
display_name: string;
|
|
30747
|
+
id: string;
|
|
30748
|
+
phone: string;
|
|
30749
|
+
}[];
|
|
30750
|
+
};
|
|
30751
|
+
uren_maand_afsluiten: {
|
|
30752
|
+
Args: {
|
|
30753
|
+
_maand: string;
|
|
30754
|
+
_monteur: string;
|
|
30755
|
+
};
|
|
30756
|
+
Returns: undefined;
|
|
30757
|
+
};
|
|
30758
|
+
uren_maand_berekenen: {
|
|
30759
|
+
Args: {
|
|
30760
|
+
_maand: string;
|
|
30761
|
+
_monteur: string;
|
|
30762
|
+
};
|
|
30763
|
+
Returns: import("./types").Json;
|
|
30764
|
+
};
|
|
30765
|
+
uren_maand_corrigeren: {
|
|
30766
|
+
Args: {
|
|
30767
|
+
_maand: string;
|
|
30768
|
+
_monteur: string;
|
|
30769
|
+
_overuren_minuten: number;
|
|
30770
|
+
_reden: string;
|
|
30771
|
+
};
|
|
30772
|
+
Returns: undefined;
|
|
30773
|
+
};
|
|
30774
|
+
uren_mijn_contracturen: {
|
|
30775
|
+
Args: never;
|
|
30776
|
+
Returns: number;
|
|
30777
|
+
};
|
|
30778
|
+
uren_mijn_vakantiesaldo: {
|
|
30779
|
+
Args: never;
|
|
30780
|
+
Returns: number;
|
|
30781
|
+
};
|
|
28779
30782
|
uren_my_monteur_id: {
|
|
28780
30783
|
Args: never;
|
|
28781
30784
|
Returns: string;
|
|
@@ -28809,6 +30812,37 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
28809
30812
|
};
|
|
28810
30813
|
Returns: number;
|
|
28811
30814
|
};
|
|
30815
|
+
uren_spiegel_bezig: {
|
|
30816
|
+
Args: never;
|
|
30817
|
+
Returns: boolean;
|
|
30818
|
+
};
|
|
30819
|
+
uren_standaardweek_beoordelen: {
|
|
30820
|
+
Args: {
|
|
30821
|
+
_goedkeuren: boolean;
|
|
30822
|
+
_id: string;
|
|
30823
|
+
_reden?: string;
|
|
30824
|
+
};
|
|
30825
|
+
Returns: undefined;
|
|
30826
|
+
};
|
|
30827
|
+
uren_standaardweek_doorzetten: {
|
|
30828
|
+
Args: {
|
|
30829
|
+
_monteur: string;
|
|
30830
|
+
};
|
|
30831
|
+
Returns: undefined;
|
|
30832
|
+
};
|
|
30833
|
+
uren_standaardweek_instellen: {
|
|
30834
|
+
Args: {
|
|
30835
|
+
_dagen: import("./types").Json;
|
|
30836
|
+
};
|
|
30837
|
+
Returns: string;
|
|
30838
|
+
};
|
|
30839
|
+
uren_standaardweek_toepassen: {
|
|
30840
|
+
Args: {
|
|
30841
|
+
_dagen: import("./types").Json;
|
|
30842
|
+
_monteur: string;
|
|
30843
|
+
};
|
|
30844
|
+
Returns: undefined;
|
|
30845
|
+
};
|
|
28812
30846
|
uren_stop_time_log: {
|
|
28813
30847
|
Args: {
|
|
28814
30848
|
p_employee_id: string;
|
|
@@ -28834,6 +30868,165 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
28834
30868
|
};
|
|
28835
30869
|
Returns: number;
|
|
28836
30870
|
};
|
|
30871
|
+
uren_vakantie_aanvragen: {
|
|
30872
|
+
Args: {
|
|
30873
|
+
_end_date: string;
|
|
30874
|
+
_hours?: number;
|
|
30875
|
+
_start_date: string;
|
|
30876
|
+
};
|
|
30877
|
+
Returns: string;
|
|
30878
|
+
};
|
|
30879
|
+
uren_vakantiedag_wijzigen: {
|
|
30880
|
+
Args: {
|
|
30881
|
+
_date: string;
|
|
30882
|
+
};
|
|
30883
|
+
Returns: string;
|
|
30884
|
+
};
|
|
30885
|
+
uren_vakantiesaldo_uren: {
|
|
30886
|
+
Args: {
|
|
30887
|
+
_monteur: string;
|
|
30888
|
+
};
|
|
30889
|
+
Returns: number;
|
|
30890
|
+
};
|
|
30891
|
+
uren_week_start: {
|
|
30892
|
+
Args: {
|
|
30893
|
+
_datum: string;
|
|
30894
|
+
};
|
|
30895
|
+
Returns: string;
|
|
30896
|
+
};
|
|
30897
|
+
uren_werkweek_opsturen: {
|
|
30898
|
+
Args: {
|
|
30899
|
+
_week_start: string;
|
|
30900
|
+
};
|
|
30901
|
+
Returns: {
|
|
30902
|
+
approved_at: string | null;
|
|
30903
|
+
approved_by: string | null;
|
|
30904
|
+
contract_hours: number;
|
|
30905
|
+
created_at: string;
|
|
30906
|
+
employee_id: string;
|
|
30907
|
+
id: string;
|
|
30908
|
+
locked: boolean;
|
|
30909
|
+
monteur_toelichting: string | null;
|
|
30910
|
+
notes: string | null;
|
|
30911
|
+
planned_hours: number;
|
|
30912
|
+
status: string;
|
|
30913
|
+
submitted_at: string | null;
|
|
30914
|
+
updated_at: string;
|
|
30915
|
+
variance_hours: number;
|
|
30916
|
+
week_start: string;
|
|
30917
|
+
};
|
|
30918
|
+
SetofOptions: {
|
|
30919
|
+
from: "*";
|
|
30920
|
+
to: "time_log_week_approvals";
|
|
30921
|
+
isOneToOne: true;
|
|
30922
|
+
isSetofReturn: false;
|
|
30923
|
+
};
|
|
30924
|
+
} | {
|
|
30925
|
+
Args: {
|
|
30926
|
+
_vrije_dagen?: string[];
|
|
30927
|
+
_week_start: string;
|
|
30928
|
+
};
|
|
30929
|
+
Returns: {
|
|
30930
|
+
approved_at: string | null;
|
|
30931
|
+
approved_by: string | null;
|
|
30932
|
+
contract_hours: number;
|
|
30933
|
+
created_at: string;
|
|
30934
|
+
employee_id: string;
|
|
30935
|
+
id: string;
|
|
30936
|
+
locked: boolean;
|
|
30937
|
+
monteur_toelichting: string | null;
|
|
30938
|
+
notes: string | null;
|
|
30939
|
+
planned_hours: number;
|
|
30940
|
+
status: string;
|
|
30941
|
+
submitted_at: string | null;
|
|
30942
|
+
updated_at: string;
|
|
30943
|
+
variance_hours: number;
|
|
30944
|
+
week_start: string;
|
|
30945
|
+
};
|
|
30946
|
+
SetofOptions: {
|
|
30947
|
+
from: "*";
|
|
30948
|
+
to: "time_log_week_approvals";
|
|
30949
|
+
isOneToOne: true;
|
|
30950
|
+
isSetofReturn: false;
|
|
30951
|
+
};
|
|
30952
|
+
} | {
|
|
30953
|
+
Args: {
|
|
30954
|
+
_toelichting?: string;
|
|
30955
|
+
_vrije_dagen?: string[];
|
|
30956
|
+
_week_start: string;
|
|
30957
|
+
};
|
|
30958
|
+
Returns: {
|
|
30959
|
+
approved_at: string | null;
|
|
30960
|
+
approved_by: string | null;
|
|
30961
|
+
contract_hours: number;
|
|
30962
|
+
created_at: string;
|
|
30963
|
+
employee_id: string;
|
|
30964
|
+
id: string;
|
|
30965
|
+
locked: boolean;
|
|
30966
|
+
monteur_toelichting: string | null;
|
|
30967
|
+
notes: string | null;
|
|
30968
|
+
planned_hours: number;
|
|
30969
|
+
status: string;
|
|
30970
|
+
submitted_at: string | null;
|
|
30971
|
+
updated_at: string;
|
|
30972
|
+
variance_hours: number;
|
|
30973
|
+
week_start: string;
|
|
30974
|
+
};
|
|
30975
|
+
SetofOptions: {
|
|
30976
|
+
from: "*";
|
|
30977
|
+
to: "time_log_week_approvals";
|
|
30978
|
+
isOneToOne: true;
|
|
30979
|
+
isSetofReturn: false;
|
|
30980
|
+
};
|
|
30981
|
+
};
|
|
30982
|
+
vakantie_dagen_gebruikt: {
|
|
30983
|
+
Args: {
|
|
30984
|
+
_user_id: string;
|
|
30985
|
+
_year: number;
|
|
30986
|
+
};
|
|
30987
|
+
Returns: number;
|
|
30988
|
+
};
|
|
30989
|
+
vakantie_overuren: {
|
|
30990
|
+
Args: {
|
|
30991
|
+
_user_id: string;
|
|
30992
|
+
_year?: number;
|
|
30993
|
+
};
|
|
30994
|
+
Returns: number;
|
|
30995
|
+
};
|
|
30996
|
+
vakantie_saldo: {
|
|
30997
|
+
Args: {
|
|
30998
|
+
_user_id: string;
|
|
30999
|
+
_year?: number;
|
|
31000
|
+
};
|
|
31001
|
+
Returns: {
|
|
31002
|
+
day_hours: number;
|
|
31003
|
+
earned_from_overtime_days: number;
|
|
31004
|
+
entitlement_days: number;
|
|
31005
|
+
hours_to_next_day: number;
|
|
31006
|
+
overtime_hours: number;
|
|
31007
|
+
overtime_remainder_hours: number;
|
|
31008
|
+
paid_out_days: number;
|
|
31009
|
+
remaining_days: number;
|
|
31010
|
+
used_days: number;
|
|
31011
|
+
}[];
|
|
31012
|
+
};
|
|
31013
|
+
vakantie_saldo_overzicht: {
|
|
31014
|
+
Args: {
|
|
31015
|
+
_year?: number;
|
|
31016
|
+
};
|
|
31017
|
+
Returns: {
|
|
31018
|
+
day_hours: number;
|
|
31019
|
+
earned_from_overtime_days: number;
|
|
31020
|
+
entitlement_days: number;
|
|
31021
|
+
hours_to_next_day: number;
|
|
31022
|
+
overtime_hours: number;
|
|
31023
|
+
overtime_remainder_hours: number;
|
|
31024
|
+
paid_out_days: number;
|
|
31025
|
+
remaining_days: number;
|
|
31026
|
+
used_days: number;
|
|
31027
|
+
user_id: string;
|
|
31028
|
+
}[];
|
|
31029
|
+
};
|
|
28837
31030
|
voorraad_cleanup_old_rows: {
|
|
28838
31031
|
Args: never;
|
|
28839
31032
|
Returns: import("./types").Json;
|
|
@@ -28876,18 +31069,46 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
28876
31069
|
};
|
|
28877
31070
|
Returns: import("./types").Json;
|
|
28878
31071
|
};
|
|
31072
|
+
wo_list_colleague_planning: {
|
|
31073
|
+
Args: {
|
|
31074
|
+
_from: string;
|
|
31075
|
+
_monteur_id: string;
|
|
31076
|
+
_to: string;
|
|
31077
|
+
};
|
|
31078
|
+
Returns: {
|
|
31079
|
+
end_at: string;
|
|
31080
|
+
id: string;
|
|
31081
|
+
role: string;
|
|
31082
|
+
start_at: string;
|
|
31083
|
+
status: string;
|
|
31084
|
+
werkbon_id: string;
|
|
31085
|
+
}[];
|
|
31086
|
+
};
|
|
28879
31087
|
wo_list_offerte_requests: {
|
|
28880
31088
|
Args: {
|
|
28881
31089
|
_status?: string;
|
|
28882
31090
|
};
|
|
28883
31091
|
Returns: import("./types").Json;
|
|
28884
31092
|
};
|
|
31093
|
+
wo_list_proposals: {
|
|
31094
|
+
Args: {
|
|
31095
|
+
_status?: string;
|
|
31096
|
+
};
|
|
31097
|
+
Returns: import("./types").Json;
|
|
31098
|
+
};
|
|
28885
31099
|
wo_process_offerte_request: {
|
|
28886
31100
|
Args: {
|
|
28887
31101
|
_queue_id: string;
|
|
28888
31102
|
};
|
|
28889
31103
|
Returns: import("./types").Json;
|
|
28890
31104
|
};
|
|
31105
|
+
wo_process_proposal: {
|
|
31106
|
+
Args: {
|
|
31107
|
+
_id: string;
|
|
31108
|
+
_overrides?: import("./types").Json;
|
|
31109
|
+
};
|
|
31110
|
+
Returns: import("./types").Json;
|
|
31111
|
+
};
|
|
28891
31112
|
wo_reject_offerte_request: {
|
|
28892
31113
|
Args: {
|
|
28893
31114
|
_queue_id: string;
|
|
@@ -28895,6 +31116,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
28895
31116
|
};
|
|
28896
31117
|
Returns: import("./types").Json;
|
|
28897
31118
|
};
|
|
31119
|
+
wo_reject_proposal: {
|
|
31120
|
+
Args: {
|
|
31121
|
+
_id: string;
|
|
31122
|
+
_reden?: string;
|
|
31123
|
+
};
|
|
31124
|
+
Returns: import("./types").Json;
|
|
31125
|
+
};
|
|
28898
31126
|
wo_set_status: {
|
|
28899
31127
|
Args: {
|
|
28900
31128
|
_reason?: string;
|