@flowselections/floriday-afhandeling-module 1.0.45 → 1.0.46
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/afhandeling/ControlePage.js +1 -1
- package/dist-lib/components/afhandeling/DagDetailDialog.js +1 -1
- package/dist-lib/components/afhandeling/ScanControleView.js +1 -1
- package/dist-lib/components/afhandeling/VervoerdersPage.js +1 -1
- package/dist-lib/components/afhandeling/VerzetOrderDialog.js +1 -1
- package/dist-lib/components/afhandeling/WerkplekWaarschuwing.d.ts +9 -9
- package/dist-lib/components/afhandeling/WerkplekWaarschuwing.js +28 -28
- package/dist-lib/components/ui/responsive-dialog.js +1 -1
- package/dist-lib/hooks/usePickMode.d.ts +1 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1912 -32
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1912 -32
- 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/moduleClient.d.ts +1912 -32
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +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 +1929 -21
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +3760 -0
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/carriers.functions.d.ts +9400 -0
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.d.ts +9400 -0
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.d.ts +20680 -0
- package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
- package/dist-lib/lib/deliveryNote.functions.d.ts +1912 -32
- package/dist-lib/lib/deliveryNote.functions.d.ts.map +1 -1
- package/dist-lib/lib/deliveryNotePrint.d.ts +33 -33
- package/dist-lib/lib/deliveryNotePrint.js +219 -219
- package/dist-lib/lib/engineLayouts.functions.d.ts +1912 -32
- package/dist-lib/lib/engineLayouts.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +3760 -0
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsEngine/capacity.js +1 -1
- package/dist-lib/lib/logisticsEngine/staffPlanning.js +1 -1
- package/dist-lib/lib/orderFulfilment.functions.d.ts +1912 -32
- package/dist-lib/lib/orderFulfilment.functions.d.ts.map +1 -1
- package/dist-lib/lib/pickDates.functions.d.ts +1912 -32
- package/dist-lib/lib/pickDates.functions.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -7989,6 +7989,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7989
7989
|
};
|
|
7990
7990
|
fust_types: {
|
|
7991
7991
|
Row: {
|
|
7992
|
+
capacity_units: number | null;
|
|
7992
7993
|
connection_id: string | null;
|
|
7993
7994
|
created_at: string;
|
|
7994
7995
|
custom_package_id: string | null;
|
|
@@ -8009,6 +8010,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8009
8010
|
width_mm: number | null;
|
|
8010
8011
|
};
|
|
8011
8012
|
Insert: {
|
|
8013
|
+
capacity_units?: number | null;
|
|
8012
8014
|
connection_id?: string | null;
|
|
8013
8015
|
created_at?: string;
|
|
8014
8016
|
custom_package_id?: string | null;
|
|
@@ -8029,6 +8031,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8029
8031
|
width_mm?: number | null;
|
|
8030
8032
|
};
|
|
8031
8033
|
Update: {
|
|
8034
|
+
capacity_units?: number | null;
|
|
8032
8035
|
connection_id?: string | null;
|
|
8033
8036
|
created_at?: string;
|
|
8034
8037
|
custom_package_id?: string | null;
|
|
@@ -8260,6 +8263,72 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8260
8263
|
};
|
|
8261
8264
|
Relationships: [];
|
|
8262
8265
|
};
|
|
8266
|
+
invoice_branding_settings: {
|
|
8267
|
+
Row: {
|
|
8268
|
+
address: string;
|
|
8269
|
+
chamber_of_commerce_number: string;
|
|
8270
|
+
city: string;
|
|
8271
|
+
company_name: string;
|
|
8272
|
+
created_at: string;
|
|
8273
|
+
email: string;
|
|
8274
|
+
email_purpose: string | null;
|
|
8275
|
+
iban: string;
|
|
8276
|
+
logo_path: string | null;
|
|
8277
|
+
payment_term_days: number;
|
|
8278
|
+
phone: string;
|
|
8279
|
+
postal_code: string;
|
|
8280
|
+
primary_color: string;
|
|
8281
|
+
secondary_color: string;
|
|
8282
|
+
show_company_name: boolean;
|
|
8283
|
+
singleton_key: boolean;
|
|
8284
|
+
updated_at: string;
|
|
8285
|
+
vat_identification_number: string;
|
|
8286
|
+
website: string;
|
|
8287
|
+
};
|
|
8288
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
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
|
+
Relationships: [];
|
|
8331
|
+
};
|
|
8263
8332
|
invoice_items: {
|
|
8264
8333
|
Row: {
|
|
8265
8334
|
created_at: string;
|
|
@@ -8273,6 +8342,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8273
8342
|
total_cents: number;
|
|
8274
8343
|
unit: string;
|
|
8275
8344
|
unit_price_cents: number;
|
|
8345
|
+
vat_rate: number | null;
|
|
8276
8346
|
};
|
|
8277
8347
|
Insert: {
|
|
8278
8348
|
created_at?: string;
|
|
@@ -8286,6 +8356,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8286
8356
|
total_cents?: number;
|
|
8287
8357
|
unit?: string;
|
|
8288
8358
|
unit_price_cents?: number;
|
|
8359
|
+
vat_rate?: number | null;
|
|
8289
8360
|
};
|
|
8290
8361
|
Update: {
|
|
8291
8362
|
created_at?: string;
|
|
@@ -8299,6 +8370,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8299
8370
|
total_cents?: number;
|
|
8300
8371
|
unit?: string;
|
|
8301
8372
|
unit_price_cents?: number;
|
|
8373
|
+
vat_rate?: number | null;
|
|
8302
8374
|
};
|
|
8303
8375
|
Relationships: [{
|
|
8304
8376
|
foreignKeyName: "invoice_items_invoice_id_fkey";
|
|
@@ -8544,15 +8616,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8544
8616
|
};
|
|
8545
8617
|
invoices: {
|
|
8546
8618
|
Row: {
|
|
8619
|
+
branding_snapshot: import("./types").Json | null;
|
|
8547
8620
|
created_at: string;
|
|
8548
8621
|
created_by: string | null;
|
|
8622
|
+
customer_address: string | null;
|
|
8623
|
+
customer_attention: string | null;
|
|
8624
|
+
customer_city: string | null;
|
|
8549
8625
|
customer_id: string | null;
|
|
8550
8626
|
customer_name: string | null;
|
|
8627
|
+
customer_postal_code: string | null;
|
|
8628
|
+
customer_vat_number: string | null;
|
|
8629
|
+
debtor_number: string | null;
|
|
8551
8630
|
due_date: string | null;
|
|
8631
|
+
execution_date: string | null;
|
|
8552
8632
|
id: string;
|
|
8553
8633
|
invoice_date: string;
|
|
8554
8634
|
invoice_number: string | null;
|
|
8555
8635
|
note: string | null;
|
|
8636
|
+
payment_term_days: number;
|
|
8637
|
+
reference: string | null;
|
|
8638
|
+
sent_at: string | null;
|
|
8639
|
+
sent_to: string | null;
|
|
8556
8640
|
source_number: string | null;
|
|
8557
8641
|
source_ref: string | null;
|
|
8558
8642
|
source_type: string;
|
|
@@ -8562,17 +8646,30 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8562
8646
|
updated_at: string;
|
|
8563
8647
|
vat_cents: number;
|
|
8564
8648
|
vat_rate: number;
|
|
8649
|
+
work_address: string | null;
|
|
8565
8650
|
};
|
|
8566
8651
|
Insert: {
|
|
8652
|
+
branding_snapshot?: import("./types").Json | null;
|
|
8567
8653
|
created_at?: string;
|
|
8568
8654
|
created_by?: string | null;
|
|
8655
|
+
customer_address?: string | null;
|
|
8656
|
+
customer_attention?: string | null;
|
|
8657
|
+
customer_city?: string | null;
|
|
8569
8658
|
customer_id?: string | null;
|
|
8570
8659
|
customer_name?: string | null;
|
|
8660
|
+
customer_postal_code?: string | null;
|
|
8661
|
+
customer_vat_number?: string | null;
|
|
8662
|
+
debtor_number?: string | null;
|
|
8571
8663
|
due_date?: string | null;
|
|
8664
|
+
execution_date?: string | null;
|
|
8572
8665
|
id?: string;
|
|
8573
8666
|
invoice_date?: string;
|
|
8574
8667
|
invoice_number?: string | null;
|
|
8575
8668
|
note?: string | null;
|
|
8669
|
+
payment_term_days?: number;
|
|
8670
|
+
reference?: string | null;
|
|
8671
|
+
sent_at?: string | null;
|
|
8672
|
+
sent_to?: string | null;
|
|
8576
8673
|
source_number?: string | null;
|
|
8577
8674
|
source_ref?: string | null;
|
|
8578
8675
|
source_type?: string;
|
|
@@ -8582,17 +8679,30 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8582
8679
|
updated_at?: string;
|
|
8583
8680
|
vat_cents?: number;
|
|
8584
8681
|
vat_rate?: number;
|
|
8682
|
+
work_address?: string | null;
|
|
8585
8683
|
};
|
|
8586
8684
|
Update: {
|
|
8685
|
+
branding_snapshot?: import("./types").Json | null;
|
|
8587
8686
|
created_at?: string;
|
|
8588
8687
|
created_by?: string | null;
|
|
8688
|
+
customer_address?: string | null;
|
|
8689
|
+
customer_attention?: string | null;
|
|
8690
|
+
customer_city?: string | null;
|
|
8589
8691
|
customer_id?: string | null;
|
|
8590
8692
|
customer_name?: string | null;
|
|
8693
|
+
customer_postal_code?: string | null;
|
|
8694
|
+
customer_vat_number?: string | null;
|
|
8695
|
+
debtor_number?: string | null;
|
|
8591
8696
|
due_date?: string | null;
|
|
8697
|
+
execution_date?: string | null;
|
|
8592
8698
|
id?: string;
|
|
8593
8699
|
invoice_date?: string;
|
|
8594
8700
|
invoice_number?: string | null;
|
|
8595
8701
|
note?: string | null;
|
|
8702
|
+
payment_term_days?: number;
|
|
8703
|
+
reference?: string | null;
|
|
8704
|
+
sent_at?: string | null;
|
|
8705
|
+
sent_to?: string | null;
|
|
8596
8706
|
source_number?: string | null;
|
|
8597
8707
|
source_ref?: string | null;
|
|
8598
8708
|
source_type?: string;
|
|
@@ -8602,6 +8712,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8602
8712
|
updated_at?: string;
|
|
8603
8713
|
vat_cents?: number;
|
|
8604
8714
|
vat_rate?: number;
|
|
8715
|
+
work_address?: string | null;
|
|
8605
8716
|
};
|
|
8606
8717
|
Relationships: [{
|
|
8607
8718
|
foreignKeyName: "invoices_customer_id_fkey";
|
|
@@ -9300,6 +9411,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9300
9411
|
quantity: number;
|
|
9301
9412
|
sort_order: number;
|
|
9302
9413
|
source: string;
|
|
9414
|
+
unit: string | null;
|
|
9303
9415
|
unit_price_cents: number;
|
|
9304
9416
|
updated_at: string;
|
|
9305
9417
|
};
|
|
@@ -9313,6 +9425,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9313
9425
|
quantity?: number;
|
|
9314
9426
|
sort_order?: number;
|
|
9315
9427
|
source?: string;
|
|
9428
|
+
unit?: string | null;
|
|
9316
9429
|
unit_price_cents?: number;
|
|
9317
9430
|
updated_at?: string;
|
|
9318
9431
|
};
|
|
@@ -9326,6 +9439,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9326
9439
|
quantity?: number;
|
|
9327
9440
|
sort_order?: number;
|
|
9328
9441
|
source?: string;
|
|
9442
|
+
unit?: string | null;
|
|
9329
9443
|
unit_price_cents?: number;
|
|
9330
9444
|
updated_at?: string;
|
|
9331
9445
|
};
|
|
@@ -9349,6 +9463,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9349
9463
|
created_at: string;
|
|
9350
9464
|
default_geldigheid_dagen: number;
|
|
9351
9465
|
default_vat_rate: number;
|
|
9466
|
+
email_purpose: string | null;
|
|
9352
9467
|
id: string;
|
|
9353
9468
|
singleton: boolean;
|
|
9354
9469
|
updated_at: string;
|
|
@@ -9358,6 +9473,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9358
9473
|
created_at?: string;
|
|
9359
9474
|
default_geldigheid_dagen?: number;
|
|
9360
9475
|
default_vat_rate?: number;
|
|
9476
|
+
email_purpose?: string | null;
|
|
9361
9477
|
id?: string;
|
|
9362
9478
|
singleton?: boolean;
|
|
9363
9479
|
updated_at?: string;
|
|
@@ -9367,12 +9483,49 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9367
9483
|
created_at?: string;
|
|
9368
9484
|
default_geldigheid_dagen?: number;
|
|
9369
9485
|
default_vat_rate?: number;
|
|
9486
|
+
email_purpose?: string | null;
|
|
9370
9487
|
id?: string;
|
|
9371
9488
|
singleton?: boolean;
|
|
9372
9489
|
updated_at?: string;
|
|
9373
9490
|
};
|
|
9374
9491
|
Relationships: [];
|
|
9375
9492
|
};
|
|
9493
|
+
itk_offerte_voorstel_status: {
|
|
9494
|
+
Row: {
|
|
9495
|
+
ai_concept: import("./types").Json | null;
|
|
9496
|
+
created_at: string;
|
|
9497
|
+
id: string;
|
|
9498
|
+
offerte_id: string | null;
|
|
9499
|
+
proposal_id: string;
|
|
9500
|
+
seen_at: string | null;
|
|
9501
|
+
updated_at: string;
|
|
9502
|
+
};
|
|
9503
|
+
Insert: {
|
|
9504
|
+
ai_concept?: import("./types").Json | null;
|
|
9505
|
+
created_at?: string;
|
|
9506
|
+
id?: string;
|
|
9507
|
+
offerte_id?: string | null;
|
|
9508
|
+
proposal_id: string;
|
|
9509
|
+
seen_at?: string | null;
|
|
9510
|
+
updated_at?: string;
|
|
9511
|
+
};
|
|
9512
|
+
Update: {
|
|
9513
|
+
ai_concept?: import("./types").Json | null;
|
|
9514
|
+
created_at?: string;
|
|
9515
|
+
id?: string;
|
|
9516
|
+
offerte_id?: string | null;
|
|
9517
|
+
proposal_id?: string;
|
|
9518
|
+
seen_at?: string | null;
|
|
9519
|
+
updated_at?: string;
|
|
9520
|
+
};
|
|
9521
|
+
Relationships: [{
|
|
9522
|
+
foreignKeyName: "itk_offerte_voorstel_status_offerte_id_fkey";
|
|
9523
|
+
columns: ["offerte_id"];
|
|
9524
|
+
isOneToOne: false;
|
|
9525
|
+
referencedRelation: "itk_offertes";
|
|
9526
|
+
referencedColumns: ["id"];
|
|
9527
|
+
}];
|
|
9528
|
+
};
|
|
9376
9529
|
itk_offerte_werkbon_queue: {
|
|
9377
9530
|
Row: {
|
|
9378
9531
|
bron_werkbon_id: string | null;
|
|
@@ -9423,6 +9576,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9423
9576
|
};
|
|
9424
9577
|
itk_offertes: {
|
|
9425
9578
|
Row: {
|
|
9579
|
+
aandachtspunten: string | null;
|
|
9426
9580
|
ai_generated: boolean;
|
|
9427
9581
|
approved_at: string | null;
|
|
9428
9582
|
binnen_mandaat: boolean;
|
|
@@ -9438,6 +9592,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9438
9592
|
notities: string | null;
|
|
9439
9593
|
offerte_number: string | null;
|
|
9440
9594
|
omschrijving: string;
|
|
9595
|
+
onderwerp: string | null;
|
|
9441
9596
|
rejected_at: string | null;
|
|
9442
9597
|
sent_at: string | null;
|
|
9443
9598
|
source_number: string | null;
|
|
@@ -9450,12 +9605,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9450
9605
|
valid_until: string | null;
|
|
9451
9606
|
vat_cents: number;
|
|
9452
9607
|
vat_rate: number;
|
|
9608
|
+
verzonden_naar: string | null;
|
|
9453
9609
|
viewed_at: string | null;
|
|
9454
9610
|
volgnummer: number | null;
|
|
9611
|
+
voorwaarden: string | null;
|
|
9455
9612
|
werkbon_id: string | null;
|
|
9456
9613
|
work_location_id: string | null;
|
|
9457
9614
|
};
|
|
9458
9615
|
Insert: {
|
|
9616
|
+
aandachtspunten?: string | null;
|
|
9459
9617
|
ai_generated?: boolean;
|
|
9460
9618
|
approved_at?: string | null;
|
|
9461
9619
|
binnen_mandaat?: boolean;
|
|
@@ -9471,6 +9629,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9471
9629
|
notities?: string | null;
|
|
9472
9630
|
offerte_number?: string | null;
|
|
9473
9631
|
omschrijving?: string;
|
|
9632
|
+
onderwerp?: string | null;
|
|
9474
9633
|
rejected_at?: string | null;
|
|
9475
9634
|
sent_at?: string | null;
|
|
9476
9635
|
source_number?: string | null;
|
|
@@ -9483,12 +9642,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9483
9642
|
valid_until?: string | null;
|
|
9484
9643
|
vat_cents?: number;
|
|
9485
9644
|
vat_rate?: number;
|
|
9645
|
+
verzonden_naar?: string | null;
|
|
9486
9646
|
viewed_at?: string | null;
|
|
9487
9647
|
volgnummer?: number | null;
|
|
9648
|
+
voorwaarden?: string | null;
|
|
9488
9649
|
werkbon_id?: string | null;
|
|
9489
9650
|
work_location_id?: string | null;
|
|
9490
9651
|
};
|
|
9491
9652
|
Update: {
|
|
9653
|
+
aandachtspunten?: string | null;
|
|
9492
9654
|
ai_generated?: boolean;
|
|
9493
9655
|
approved_at?: string | null;
|
|
9494
9656
|
binnen_mandaat?: boolean;
|
|
@@ -9504,6 +9666,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9504
9666
|
notities?: string | null;
|
|
9505
9667
|
offerte_number?: string | null;
|
|
9506
9668
|
omschrijving?: string;
|
|
9669
|
+
onderwerp?: string | null;
|
|
9507
9670
|
rejected_at?: string | null;
|
|
9508
9671
|
sent_at?: string | null;
|
|
9509
9672
|
source_number?: string | null;
|
|
@@ -9516,8 +9679,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9516
9679
|
valid_until?: string | null;
|
|
9517
9680
|
vat_cents?: number;
|
|
9518
9681
|
vat_rate?: number;
|
|
9682
|
+
verzonden_naar?: string | null;
|
|
9519
9683
|
viewed_at?: string | null;
|
|
9520
9684
|
volgnummer?: number | null;
|
|
9685
|
+
voorwaarden?: string | null;
|
|
9521
9686
|
werkbon_id?: string | null;
|
|
9522
9687
|
work_location_id?: string | null;
|
|
9523
9688
|
};
|
|
@@ -9693,6 +9858,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9693
9858
|
};
|
|
9694
9859
|
leave_requests: {
|
|
9695
9860
|
Row: {
|
|
9861
|
+
cancellation_requested_at: string | null;
|
|
9862
|
+
cancellation_status: string | null;
|
|
9696
9863
|
created_at: string;
|
|
9697
9864
|
decided_at: string | null;
|
|
9698
9865
|
decided_by: string | null;
|
|
@@ -9703,6 +9870,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9703
9870
|
leave_type: string;
|
|
9704
9871
|
monteur_id: string | null;
|
|
9705
9872
|
reason: string | null;
|
|
9873
|
+
reden_afkeur: string | null;
|
|
9706
9874
|
start_date: string;
|
|
9707
9875
|
start_time: string | null;
|
|
9708
9876
|
status: string;
|
|
@@ -9710,6 +9878,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9710
9878
|
user_id: string;
|
|
9711
9879
|
};
|
|
9712
9880
|
Insert: {
|
|
9881
|
+
cancellation_requested_at?: string | null;
|
|
9882
|
+
cancellation_status?: string | null;
|
|
9713
9883
|
created_at?: string;
|
|
9714
9884
|
decided_at?: string | null;
|
|
9715
9885
|
decided_by?: string | null;
|
|
@@ -9720,6 +9890,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9720
9890
|
leave_type?: string;
|
|
9721
9891
|
monteur_id?: string | null;
|
|
9722
9892
|
reason?: string | null;
|
|
9893
|
+
reden_afkeur?: string | null;
|
|
9723
9894
|
start_date: string;
|
|
9724
9895
|
start_time?: string | null;
|
|
9725
9896
|
status?: string;
|
|
@@ -9727,6 +9898,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9727
9898
|
user_id: string;
|
|
9728
9899
|
};
|
|
9729
9900
|
Update: {
|
|
9901
|
+
cancellation_requested_at?: string | null;
|
|
9902
|
+
cancellation_status?: string | null;
|
|
9730
9903
|
created_at?: string;
|
|
9731
9904
|
decided_at?: string | null;
|
|
9732
9905
|
decided_by?: string | null;
|
|
@@ -9737,6 +9910,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
9737
9910
|
leave_type?: string;
|
|
9738
9911
|
monteur_id?: string | null;
|
|
9739
9912
|
reason?: string | null;
|
|
9913
|
+
reden_afkeur?: string | null;
|
|
9740
9914
|
start_date?: string;
|
|
9741
9915
|
start_time?: string | null;
|
|
9742
9916
|
status?: string;
|
|
@@ -10879,6 +11053,54 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10879
11053
|
};
|
|
10880
11054
|
Relationships: [];
|
|
10881
11055
|
};
|
|
11056
|
+
logistics_order_finalize_queue: {
|
|
11057
|
+
Row: {
|
|
11058
|
+
attempts: number;
|
|
11059
|
+
claimed_at: string | null;
|
|
11060
|
+
created_at: string;
|
|
11061
|
+
finished_at: string | null;
|
|
11062
|
+
last_error: string | null;
|
|
11063
|
+
lease_until: string | null;
|
|
11064
|
+
max_attempts: number;
|
|
11065
|
+
next_attempt_at: string;
|
|
11066
|
+
order_id: string;
|
|
11067
|
+
reason: string | null;
|
|
11068
|
+
requested_at: string;
|
|
11069
|
+
status: string;
|
|
11070
|
+
updated_at: string;
|
|
11071
|
+
};
|
|
11072
|
+
Insert: {
|
|
11073
|
+
attempts?: number;
|
|
11074
|
+
claimed_at?: string | null;
|
|
11075
|
+
created_at?: string;
|
|
11076
|
+
finished_at?: string | null;
|
|
11077
|
+
last_error?: string | null;
|
|
11078
|
+
lease_until?: string | null;
|
|
11079
|
+
max_attempts?: number;
|
|
11080
|
+
next_attempt_at?: string;
|
|
11081
|
+
order_id: string;
|
|
11082
|
+
reason?: string | null;
|
|
11083
|
+
requested_at?: string;
|
|
11084
|
+
status?: string;
|
|
11085
|
+
updated_at?: string;
|
|
11086
|
+
};
|
|
11087
|
+
Update: {
|
|
11088
|
+
attempts?: number;
|
|
11089
|
+
claimed_at?: string | null;
|
|
11090
|
+
created_at?: string;
|
|
11091
|
+
finished_at?: string | null;
|
|
11092
|
+
last_error?: string | null;
|
|
11093
|
+
lease_until?: string | null;
|
|
11094
|
+
max_attempts?: number;
|
|
11095
|
+
next_attempt_at?: string;
|
|
11096
|
+
order_id?: string;
|
|
11097
|
+
reason?: string | null;
|
|
11098
|
+
requested_at?: string;
|
|
11099
|
+
status?: string;
|
|
11100
|
+
updated_at?: string;
|
|
11101
|
+
};
|
|
11102
|
+
Relationships: [];
|
|
11103
|
+
};
|
|
10882
11104
|
logistics_order_merges: {
|
|
10883
11105
|
Row: {
|
|
10884
11106
|
group_key: string;
|
|
@@ -10915,6 +11137,72 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10915
11137
|
};
|
|
10916
11138
|
Relationships: [];
|
|
10917
11139
|
};
|
|
11140
|
+
logistics_packing_deviations: {
|
|
11141
|
+
Row: {
|
|
11142
|
+
auto_fixed_at: string | null;
|
|
11143
|
+
created_at: string;
|
|
11144
|
+
dev_key: string;
|
|
11145
|
+
first_seen_at: string;
|
|
11146
|
+
floriday_packing: import("./types").Json;
|
|
11147
|
+
human_reason: string | null;
|
|
11148
|
+
id: string;
|
|
11149
|
+
last_seen_at: string;
|
|
11150
|
+
local_packing: import("./types").Json;
|
|
11151
|
+
needs_human: boolean;
|
|
11152
|
+
order_id: string | null;
|
|
11153
|
+
order_item_id: string | null;
|
|
11154
|
+
order_number: string | null;
|
|
11155
|
+
product_id: string | null;
|
|
11156
|
+
product_name: string | null;
|
|
11157
|
+
resolved_at: string | null;
|
|
11158
|
+
scope: string;
|
|
11159
|
+
trade_item_id: string | null;
|
|
11160
|
+
updated_at: string;
|
|
11161
|
+
};
|
|
11162
|
+
Insert: {
|
|
11163
|
+
auto_fixed_at?: string | null;
|
|
11164
|
+
created_at?: string;
|
|
11165
|
+
dev_key: string;
|
|
11166
|
+
first_seen_at?: string;
|
|
11167
|
+
floriday_packing?: import("./types").Json;
|
|
11168
|
+
human_reason?: string | null;
|
|
11169
|
+
id?: string;
|
|
11170
|
+
last_seen_at?: string;
|
|
11171
|
+
local_packing?: import("./types").Json;
|
|
11172
|
+
needs_human?: boolean;
|
|
11173
|
+
order_id?: string | null;
|
|
11174
|
+
order_item_id?: string | null;
|
|
11175
|
+
order_number?: string | null;
|
|
11176
|
+
product_id?: string | null;
|
|
11177
|
+
product_name?: string | null;
|
|
11178
|
+
resolved_at?: string | null;
|
|
11179
|
+
scope: string;
|
|
11180
|
+
trade_item_id?: string | null;
|
|
11181
|
+
updated_at?: string;
|
|
11182
|
+
};
|
|
11183
|
+
Update: {
|
|
11184
|
+
auto_fixed_at?: string | null;
|
|
11185
|
+
created_at?: string;
|
|
11186
|
+
dev_key?: string;
|
|
11187
|
+
first_seen_at?: string;
|
|
11188
|
+
floriday_packing?: import("./types").Json;
|
|
11189
|
+
human_reason?: string | null;
|
|
11190
|
+
id?: string;
|
|
11191
|
+
last_seen_at?: string;
|
|
11192
|
+
local_packing?: import("./types").Json;
|
|
11193
|
+
needs_human?: boolean;
|
|
11194
|
+
order_id?: string | null;
|
|
11195
|
+
order_item_id?: string | null;
|
|
11196
|
+
order_number?: string | null;
|
|
11197
|
+
product_id?: string | null;
|
|
11198
|
+
product_name?: string | null;
|
|
11199
|
+
resolved_at?: string | null;
|
|
11200
|
+
scope?: string;
|
|
11201
|
+
trade_item_id?: string | null;
|
|
11202
|
+
updated_at?: string;
|
|
11203
|
+
};
|
|
11204
|
+
Relationships: [];
|
|
11205
|
+
};
|
|
10918
11206
|
logistics_pick_data_requests: {
|
|
10919
11207
|
Row: {
|
|
10920
11208
|
actions: import("./types").Json;
|
|
@@ -11152,14 +11440,70 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11152
11440
|
};
|
|
11153
11441
|
Relationships: [];
|
|
11154
11442
|
};
|
|
11443
|
+
logistics_planner_diff_runs: {
|
|
11444
|
+
Row: {
|
|
11445
|
+
after_snapshot: import("./types").Json | null;
|
|
11446
|
+
before_snapshot: import("./types").Json;
|
|
11447
|
+
buffer_id: string | null;
|
|
11448
|
+
carts_after: number | null;
|
|
11449
|
+
carts_before: number | null;
|
|
11450
|
+
compared_at: string | null;
|
|
11451
|
+
created_at: string;
|
|
11452
|
+
differences: import("./types").Json | null;
|
|
11453
|
+
id: string;
|
|
11454
|
+
identical: boolean | null;
|
|
11455
|
+
mode: string;
|
|
11456
|
+
order_id: string;
|
|
11457
|
+
order_ref: string | null;
|
|
11458
|
+
reason: string | null;
|
|
11459
|
+
status: string;
|
|
11460
|
+
};
|
|
11461
|
+
Insert: {
|
|
11462
|
+
after_snapshot?: import("./types").Json | null;
|
|
11463
|
+
before_snapshot?: import("./types").Json;
|
|
11464
|
+
buffer_id?: string | null;
|
|
11465
|
+
carts_after?: number | null;
|
|
11466
|
+
carts_before?: number | null;
|
|
11467
|
+
compared_at?: string | null;
|
|
11468
|
+
created_at?: string;
|
|
11469
|
+
differences?: import("./types").Json | null;
|
|
11470
|
+
id?: string;
|
|
11471
|
+
identical?: boolean | null;
|
|
11472
|
+
mode: string;
|
|
11473
|
+
order_id: string;
|
|
11474
|
+
order_ref?: string | null;
|
|
11475
|
+
reason?: string | null;
|
|
11476
|
+
status?: string;
|
|
11477
|
+
};
|
|
11478
|
+
Update: {
|
|
11479
|
+
after_snapshot?: import("./types").Json | null;
|
|
11480
|
+
before_snapshot?: import("./types").Json;
|
|
11481
|
+
buffer_id?: string | null;
|
|
11482
|
+
carts_after?: number | null;
|
|
11483
|
+
carts_before?: number | null;
|
|
11484
|
+
compared_at?: string | null;
|
|
11485
|
+
created_at?: string;
|
|
11486
|
+
differences?: import("./types").Json | null;
|
|
11487
|
+
id?: string;
|
|
11488
|
+
identical?: boolean | null;
|
|
11489
|
+
mode?: string;
|
|
11490
|
+
order_id?: string;
|
|
11491
|
+
order_ref?: string | null;
|
|
11492
|
+
reason?: string | null;
|
|
11493
|
+
status?: string;
|
|
11494
|
+
};
|
|
11495
|
+
Relationships: [];
|
|
11496
|
+
};
|
|
11155
11497
|
logistics_rebuffer_state: {
|
|
11156
11498
|
Row: {
|
|
11157
11499
|
created_at: string;
|
|
11158
11500
|
id: boolean;
|
|
11159
11501
|
last_checked: number;
|
|
11160
11502
|
last_duration_ms: number;
|
|
11503
|
+
last_mode: string | null;
|
|
11161
11504
|
last_run_at: string | null;
|
|
11162
11505
|
last_updated: number;
|
|
11506
|
+
last_would_change: number | null;
|
|
11163
11507
|
pending: boolean;
|
|
11164
11508
|
requested_at: string | null;
|
|
11165
11509
|
updated_at: string;
|
|
@@ -11169,8 +11513,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11169
11513
|
id?: boolean;
|
|
11170
11514
|
last_checked?: number;
|
|
11171
11515
|
last_duration_ms?: number;
|
|
11516
|
+
last_mode?: string | null;
|
|
11172
11517
|
last_run_at?: string | null;
|
|
11173
11518
|
last_updated?: number;
|
|
11519
|
+
last_would_change?: number | null;
|
|
11174
11520
|
pending?: boolean;
|
|
11175
11521
|
requested_at?: string | null;
|
|
11176
11522
|
updated_at?: string;
|
|
@@ -11180,8 +11526,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
11180
11526
|
id?: boolean;
|
|
11181
11527
|
last_checked?: number;
|
|
11182
11528
|
last_duration_ms?: number;
|
|
11529
|
+
last_mode?: string | null;
|
|
11183
11530
|
last_run_at?: string | null;
|
|
11184
11531
|
last_updated?: number;
|
|
11532
|
+
last_would_change?: number | null;
|
|
11185
11533
|
pending?: boolean;
|
|
11186
11534
|
requested_at?: string | null;
|
|
11187
11535
|
updated_at?: string;
|
|
@@ -13177,6 +13525,42 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13177
13525
|
};
|
|
13178
13526
|
Relationships: [];
|
|
13179
13527
|
};
|
|
13528
|
+
monteur_contracten: {
|
|
13529
|
+
Row: {
|
|
13530
|
+
contract_type: string;
|
|
13531
|
+
created_at: string;
|
|
13532
|
+
days_per_week: number;
|
|
13533
|
+
hours_per_week: number;
|
|
13534
|
+
id: string;
|
|
13535
|
+
updated_at: string;
|
|
13536
|
+
user_id: string;
|
|
13537
|
+
vacation_day_hours: number;
|
|
13538
|
+
vacation_days_per_year: number;
|
|
13539
|
+
};
|
|
13540
|
+
Insert: {
|
|
13541
|
+
contract_type?: string;
|
|
13542
|
+
created_at?: string;
|
|
13543
|
+
days_per_week?: number;
|
|
13544
|
+
hours_per_week?: number;
|
|
13545
|
+
id?: string;
|
|
13546
|
+
updated_at?: string;
|
|
13547
|
+
user_id: string;
|
|
13548
|
+
vacation_day_hours?: number;
|
|
13549
|
+
vacation_days_per_year?: number;
|
|
13550
|
+
};
|
|
13551
|
+
Update: {
|
|
13552
|
+
contract_type?: string;
|
|
13553
|
+
created_at?: string;
|
|
13554
|
+
days_per_week?: number;
|
|
13555
|
+
hours_per_week?: number;
|
|
13556
|
+
id?: string;
|
|
13557
|
+
updated_at?: string;
|
|
13558
|
+
user_id?: string;
|
|
13559
|
+
vacation_day_hours?: number;
|
|
13560
|
+
vacation_days_per_year?: number;
|
|
13561
|
+
};
|
|
13562
|
+
Relationships: [];
|
|
13563
|
+
};
|
|
13180
13564
|
nmbrs_component_mapping: {
|
|
13181
13565
|
Row: {
|
|
13182
13566
|
created_at: string;
|
|
@@ -13656,6 +14040,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13656
14040
|
id: string;
|
|
13657
14041
|
items: import("./types").Json;
|
|
13658
14042
|
notes: string | null;
|
|
14043
|
+
order_creation_error: string | null;
|
|
14044
|
+
order_creation_failed_at: string | null;
|
|
14045
|
+
order_id: string | null;
|
|
13659
14046
|
order_number: string | null;
|
|
13660
14047
|
recipient_id: string;
|
|
13661
14048
|
total_amount: number;
|
|
@@ -13670,6 +14057,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13670
14057
|
id?: string;
|
|
13671
14058
|
items?: import("./types").Json;
|
|
13672
14059
|
notes?: string | null;
|
|
14060
|
+
order_creation_error?: string | null;
|
|
14061
|
+
order_creation_failed_at?: string | null;
|
|
14062
|
+
order_id?: string | null;
|
|
13673
14063
|
order_number?: string | null;
|
|
13674
14064
|
recipient_id: string;
|
|
13675
14065
|
total_amount?: number;
|
|
@@ -13684,6 +14074,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13684
14074
|
id?: string;
|
|
13685
14075
|
items?: import("./types").Json;
|
|
13686
14076
|
notes?: string | null;
|
|
14077
|
+
order_creation_error?: string | null;
|
|
14078
|
+
order_creation_failed_at?: string | null;
|
|
14079
|
+
order_id?: string | null;
|
|
13687
14080
|
order_number?: string | null;
|
|
13688
14081
|
recipient_id?: string;
|
|
13689
14082
|
total_amount?: number;
|
|
@@ -13700,6 +14093,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13700
14093
|
isOneToOne: false;
|
|
13701
14094
|
referencedRelation: "customers";
|
|
13702
14095
|
referencedColumns: ["id"];
|
|
14096
|
+
}, {
|
|
14097
|
+
foreignKeyName: "offer_orders_order_id_fkey";
|
|
14098
|
+
columns: ["order_id"];
|
|
14099
|
+
isOneToOne: false;
|
|
14100
|
+
referencedRelation: "orders";
|
|
14101
|
+
referencedColumns: ["id"];
|
|
13703
14102
|
}, {
|
|
13704
14103
|
foreignKeyName: "offer_orders_recipient_id_fkey";
|
|
13705
14104
|
columns: ["recipient_id"];
|
|
@@ -13840,6 +14239,30 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
13840
14239
|
};
|
|
13841
14240
|
Relationships: [];
|
|
13842
14241
|
};
|
|
14242
|
+
order_block_notifications: {
|
|
14243
|
+
Row: {
|
|
14244
|
+
id: string;
|
|
14245
|
+
notified_at: string;
|
|
14246
|
+
order_id: string;
|
|
14247
|
+
reason: string | null;
|
|
14248
|
+
reason_key: string;
|
|
14249
|
+
};
|
|
14250
|
+
Insert: {
|
|
14251
|
+
id?: string;
|
|
14252
|
+
notified_at?: string;
|
|
14253
|
+
order_id: string;
|
|
14254
|
+
reason?: string | null;
|
|
14255
|
+
reason_key: string;
|
|
14256
|
+
};
|
|
14257
|
+
Update: {
|
|
14258
|
+
id?: string;
|
|
14259
|
+
notified_at?: string;
|
|
14260
|
+
order_id?: string;
|
|
14261
|
+
reason?: string | null;
|
|
14262
|
+
reason_key?: string;
|
|
14263
|
+
};
|
|
14264
|
+
Relationships: [];
|
|
14265
|
+
};
|
|
13843
14266
|
order_buffers: {
|
|
13844
14267
|
Row: {
|
|
13845
14268
|
buffer_key: string;
|
|
@@ -14309,10 +14732,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14309
14732
|
id: string;
|
|
14310
14733
|
layers_per_cart: number | null;
|
|
14311
14734
|
order_id: string;
|
|
14735
|
+
packing_locked_at: string | null;
|
|
14736
|
+
packing_locked_by: string | null;
|
|
14312
14737
|
plants_per_crate: number | null;
|
|
14313
14738
|
product_id: string | null;
|
|
14314
14739
|
product_name: string;
|
|
14315
14740
|
quantity: number;
|
|
14741
|
+
source_line_key: string | null;
|
|
14316
14742
|
unit: string;
|
|
14317
14743
|
unit_price: number | null;
|
|
14318
14744
|
};
|
|
@@ -14322,10 +14748,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14322
14748
|
id?: string;
|
|
14323
14749
|
layers_per_cart?: number | null;
|
|
14324
14750
|
order_id: string;
|
|
14751
|
+
packing_locked_at?: string | null;
|
|
14752
|
+
packing_locked_by?: string | null;
|
|
14325
14753
|
plants_per_crate?: number | null;
|
|
14326
14754
|
product_id?: string | null;
|
|
14327
14755
|
product_name: string;
|
|
14328
14756
|
quantity?: number;
|
|
14757
|
+
source_line_key?: string | null;
|
|
14329
14758
|
unit?: string;
|
|
14330
14759
|
unit_price?: number | null;
|
|
14331
14760
|
};
|
|
@@ -14335,10 +14764,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
14335
14764
|
id?: string;
|
|
14336
14765
|
layers_per_cart?: number | null;
|
|
14337
14766
|
order_id?: string;
|
|
14767
|
+
packing_locked_at?: string | null;
|
|
14768
|
+
packing_locked_by?: string | null;
|
|
14338
14769
|
plants_per_crate?: number | null;
|
|
14339
14770
|
product_id?: string | null;
|
|
14340
14771
|
product_name?: string;
|
|
14341
14772
|
quantity?: number;
|
|
14773
|
+
source_line_key?: string | null;
|
|
14342
14774
|
unit?: string;
|
|
14343
14775
|
unit_price?: number | null;
|
|
14344
14776
|
};
|
|
@@ -15847,26 +16279,215 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
15847
16279
|
referencedColumns: ["id"];
|
|
15848
16280
|
}];
|
|
15849
16281
|
};
|
|
15850
|
-
|
|
16282
|
+
planning_monteur_day_locations: {
|
|
15851
16283
|
Row: {
|
|
15852
|
-
action: string;
|
|
15853
16284
|
created_at: string;
|
|
16285
|
+
day: string;
|
|
16286
|
+
end_at: string;
|
|
15854
16287
|
id: string;
|
|
15855
|
-
|
|
15856
|
-
|
|
15857
|
-
|
|
15858
|
-
raw: import("./types").Json;
|
|
15859
|
-
row_number: number;
|
|
15860
|
-
supplier_product_id: string | null;
|
|
16288
|
+
monteur_id: string;
|
|
16289
|
+
start_from: string;
|
|
16290
|
+
updated_at: string;
|
|
15861
16291
|
};
|
|
15862
16292
|
Insert: {
|
|
15863
|
-
action?: string;
|
|
15864
16293
|
created_at?: string;
|
|
16294
|
+
day: string;
|
|
16295
|
+
end_at?: string;
|
|
15865
16296
|
id?: string;
|
|
15866
|
-
|
|
15867
|
-
|
|
15868
|
-
|
|
15869
|
-
|
|
16297
|
+
monteur_id: string;
|
|
16298
|
+
start_from?: string;
|
|
16299
|
+
updated_at?: string;
|
|
16300
|
+
};
|
|
16301
|
+
Update: {
|
|
16302
|
+
created_at?: string;
|
|
16303
|
+
day?: string;
|
|
16304
|
+
end_at?: string;
|
|
16305
|
+
id?: string;
|
|
16306
|
+
monteur_id?: string;
|
|
16307
|
+
start_from?: string;
|
|
16308
|
+
updated_at?: string;
|
|
16309
|
+
};
|
|
16310
|
+
Relationships: [];
|
|
16311
|
+
};
|
|
16312
|
+
planning_monteur_locations: {
|
|
16313
|
+
Row: {
|
|
16314
|
+
created_at: string;
|
|
16315
|
+
default_end: string;
|
|
16316
|
+
default_start: string;
|
|
16317
|
+
end_address: string | null;
|
|
16318
|
+
home_address: string | null;
|
|
16319
|
+
id: string;
|
|
16320
|
+
monteur_id: string;
|
|
16321
|
+
start_address: string | null;
|
|
16322
|
+
updated_at: string;
|
|
16323
|
+
};
|
|
16324
|
+
Insert: {
|
|
16325
|
+
created_at?: string;
|
|
16326
|
+
default_end?: string;
|
|
16327
|
+
default_start?: string;
|
|
16328
|
+
end_address?: string | null;
|
|
16329
|
+
home_address?: string | null;
|
|
16330
|
+
id?: string;
|
|
16331
|
+
monteur_id: string;
|
|
16332
|
+
start_address?: string | null;
|
|
16333
|
+
updated_at?: string;
|
|
16334
|
+
};
|
|
16335
|
+
Update: {
|
|
16336
|
+
created_at?: string;
|
|
16337
|
+
default_end?: string;
|
|
16338
|
+
default_start?: string;
|
|
16339
|
+
end_address?: string | null;
|
|
16340
|
+
home_address?: string | null;
|
|
16341
|
+
id?: string;
|
|
16342
|
+
monteur_id?: string;
|
|
16343
|
+
start_address?: string | null;
|
|
16344
|
+
updated_at?: string;
|
|
16345
|
+
};
|
|
16346
|
+
Relationships: [];
|
|
16347
|
+
};
|
|
16348
|
+
planning_settings: {
|
|
16349
|
+
Row: {
|
|
16350
|
+
company_address: string | null;
|
|
16351
|
+
created_at: string;
|
|
16352
|
+
id: string;
|
|
16353
|
+
singleton: boolean;
|
|
16354
|
+
updated_at: string;
|
|
16355
|
+
};
|
|
16356
|
+
Insert: {
|
|
16357
|
+
company_address?: string | null;
|
|
16358
|
+
created_at?: string;
|
|
16359
|
+
id?: string;
|
|
16360
|
+
singleton?: boolean;
|
|
16361
|
+
updated_at?: string;
|
|
16362
|
+
};
|
|
16363
|
+
Update: {
|
|
16364
|
+
company_address?: string | null;
|
|
16365
|
+
created_at?: string;
|
|
16366
|
+
id?: string;
|
|
16367
|
+
singleton?: boolean;
|
|
16368
|
+
updated_at?: string;
|
|
16369
|
+
};
|
|
16370
|
+
Relationships: [];
|
|
16371
|
+
};
|
|
16372
|
+
planning_travel_legs: {
|
|
16373
|
+
Row: {
|
|
16374
|
+
after_min: number;
|
|
16375
|
+
after_reason: string | null;
|
|
16376
|
+
after_status: string;
|
|
16377
|
+
after_to_address: string | null;
|
|
16378
|
+
before_from_address: string | null;
|
|
16379
|
+
before_min: number;
|
|
16380
|
+
before_reason: string | null;
|
|
16381
|
+
before_status: string;
|
|
16382
|
+
computed_at: string;
|
|
16383
|
+
computed_end_at: string | null;
|
|
16384
|
+
computed_start_at: string | null;
|
|
16385
|
+
created_at: string;
|
|
16386
|
+
id: string;
|
|
16387
|
+
monteur_id: string;
|
|
16388
|
+
planning_item_id: string;
|
|
16389
|
+
shared_after_item_id: string | null;
|
|
16390
|
+
shared_before_item_id: string | null;
|
|
16391
|
+
updated_at: string;
|
|
16392
|
+
};
|
|
16393
|
+
Insert: {
|
|
16394
|
+
after_min?: number;
|
|
16395
|
+
after_reason?: string | null;
|
|
16396
|
+
after_status?: string;
|
|
16397
|
+
after_to_address?: string | null;
|
|
16398
|
+
before_from_address?: string | null;
|
|
16399
|
+
before_min?: number;
|
|
16400
|
+
before_reason?: string | null;
|
|
16401
|
+
before_status?: string;
|
|
16402
|
+
computed_at?: string;
|
|
16403
|
+
computed_end_at?: string | null;
|
|
16404
|
+
computed_start_at?: string | null;
|
|
16405
|
+
created_at?: string;
|
|
16406
|
+
id?: string;
|
|
16407
|
+
monteur_id: string;
|
|
16408
|
+
planning_item_id: string;
|
|
16409
|
+
shared_after_item_id?: string | null;
|
|
16410
|
+
shared_before_item_id?: string | null;
|
|
16411
|
+
updated_at?: string;
|
|
16412
|
+
};
|
|
16413
|
+
Update: {
|
|
16414
|
+
after_min?: number;
|
|
16415
|
+
after_reason?: string | null;
|
|
16416
|
+
after_status?: string;
|
|
16417
|
+
after_to_address?: string | null;
|
|
16418
|
+
before_from_address?: string | null;
|
|
16419
|
+
before_min?: number;
|
|
16420
|
+
before_reason?: string | null;
|
|
16421
|
+
before_status?: string;
|
|
16422
|
+
computed_at?: string;
|
|
16423
|
+
computed_end_at?: string | null;
|
|
16424
|
+
computed_start_at?: string | null;
|
|
16425
|
+
created_at?: string;
|
|
16426
|
+
id?: string;
|
|
16427
|
+
monteur_id?: string;
|
|
16428
|
+
planning_item_id?: string;
|
|
16429
|
+
shared_after_item_id?: string | null;
|
|
16430
|
+
shared_before_item_id?: string | null;
|
|
16431
|
+
updated_at?: string;
|
|
16432
|
+
};
|
|
16433
|
+
Relationships: [{
|
|
16434
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
16435
|
+
columns: ["planning_item_id"];
|
|
16436
|
+
isOneToOne: false;
|
|
16437
|
+
referencedRelation: "planning_items";
|
|
16438
|
+
referencedColumns: ["id"];
|
|
16439
|
+
}, {
|
|
16440
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
16441
|
+
columns: ["planning_item_id"];
|
|
16442
|
+
isOneToOne: false;
|
|
16443
|
+
referencedRelation: "planning_overview";
|
|
16444
|
+
referencedColumns: ["id"];
|
|
16445
|
+
}, {
|
|
16446
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
16447
|
+
columns: ["shared_after_item_id"];
|
|
16448
|
+
isOneToOne: false;
|
|
16449
|
+
referencedRelation: "planning_items";
|
|
16450
|
+
referencedColumns: ["id"];
|
|
16451
|
+
}, {
|
|
16452
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
16453
|
+
columns: ["shared_after_item_id"];
|
|
16454
|
+
isOneToOne: false;
|
|
16455
|
+
referencedRelation: "planning_overview";
|
|
16456
|
+
referencedColumns: ["id"];
|
|
16457
|
+
}, {
|
|
16458
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
16459
|
+
columns: ["shared_before_item_id"];
|
|
16460
|
+
isOneToOne: false;
|
|
16461
|
+
referencedRelation: "planning_items";
|
|
16462
|
+
referencedColumns: ["id"];
|
|
16463
|
+
}, {
|
|
16464
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
16465
|
+
columns: ["shared_before_item_id"];
|
|
16466
|
+
isOneToOne: false;
|
|
16467
|
+
referencedRelation: "planning_overview";
|
|
16468
|
+
referencedColumns: ["id"];
|
|
16469
|
+
}];
|
|
16470
|
+
};
|
|
16471
|
+
price_list_rows: {
|
|
16472
|
+
Row: {
|
|
16473
|
+
action: string;
|
|
16474
|
+
created_at: string;
|
|
16475
|
+
id: string;
|
|
16476
|
+
message: string | null;
|
|
16477
|
+
parsed: import("./types").Json;
|
|
16478
|
+
price_list_id: string;
|
|
16479
|
+
raw: import("./types").Json;
|
|
16480
|
+
row_number: number;
|
|
16481
|
+
supplier_product_id: string | null;
|
|
16482
|
+
};
|
|
16483
|
+
Insert: {
|
|
16484
|
+
action?: string;
|
|
16485
|
+
created_at?: string;
|
|
16486
|
+
id?: string;
|
|
16487
|
+
message?: string | null;
|
|
16488
|
+
parsed?: import("./types").Json;
|
|
16489
|
+
price_list_id: string;
|
|
16490
|
+
raw?: import("./types").Json;
|
|
15870
16491
|
row_number: number;
|
|
15871
16492
|
supplier_product_id?: string | null;
|
|
15872
16493
|
};
|
|
@@ -17019,6 +17640,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17019
17640
|
};
|
|
17020
17641
|
product_load_settings: {
|
|
17021
17642
|
Row: {
|
|
17643
|
+
build: import("./types").Json | null;
|
|
17644
|
+
build_status: string;
|
|
17022
17645
|
created_at: string;
|
|
17023
17646
|
id: string;
|
|
17024
17647
|
is_package: boolean;
|
|
@@ -17036,6 +17659,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17036
17659
|
updated_at: string;
|
|
17037
17660
|
};
|
|
17038
17661
|
Insert: {
|
|
17662
|
+
build?: import("./types").Json | null;
|
|
17663
|
+
build_status?: string;
|
|
17039
17664
|
created_at?: string;
|
|
17040
17665
|
id?: string;
|
|
17041
17666
|
is_package?: boolean;
|
|
@@ -17053,6 +17678,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17053
17678
|
updated_at?: string;
|
|
17054
17679
|
};
|
|
17055
17680
|
Update: {
|
|
17681
|
+
build?: import("./types").Json | null;
|
|
17682
|
+
build_status?: string;
|
|
17056
17683
|
created_at?: string;
|
|
17057
17684
|
id?: string;
|
|
17058
17685
|
is_package?: boolean;
|
|
@@ -17122,6 +17749,108 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17122
17749
|
};
|
|
17123
17750
|
Relationships: [];
|
|
17124
17751
|
};
|
|
17752
|
+
product_suppliers: {
|
|
17753
|
+
Row: {
|
|
17754
|
+
created_at: string;
|
|
17755
|
+
id: string;
|
|
17756
|
+
is_preferred: boolean;
|
|
17757
|
+
lead_time_days: number | null;
|
|
17758
|
+
min_order_quantity: number | null;
|
|
17759
|
+
notes: string | null;
|
|
17760
|
+
product_id: string;
|
|
17761
|
+
purchase_price_cents: number | null;
|
|
17762
|
+
supplier_article_number: string | null;
|
|
17763
|
+
supplier_id: string;
|
|
17764
|
+
updated_at: string;
|
|
17765
|
+
};
|
|
17766
|
+
Insert: {
|
|
17767
|
+
created_at?: string;
|
|
17768
|
+
id?: string;
|
|
17769
|
+
is_preferred?: boolean;
|
|
17770
|
+
lead_time_days?: number | null;
|
|
17771
|
+
min_order_quantity?: number | null;
|
|
17772
|
+
notes?: string | null;
|
|
17773
|
+
product_id: string;
|
|
17774
|
+
purchase_price_cents?: number | null;
|
|
17775
|
+
supplier_article_number?: string | null;
|
|
17776
|
+
supplier_id: string;
|
|
17777
|
+
updated_at?: string;
|
|
17778
|
+
};
|
|
17779
|
+
Update: {
|
|
17780
|
+
created_at?: string;
|
|
17781
|
+
id?: string;
|
|
17782
|
+
is_preferred?: boolean;
|
|
17783
|
+
lead_time_days?: number | null;
|
|
17784
|
+
min_order_quantity?: number | null;
|
|
17785
|
+
notes?: string | null;
|
|
17786
|
+
product_id?: string;
|
|
17787
|
+
purchase_price_cents?: number | null;
|
|
17788
|
+
supplier_article_number?: string | null;
|
|
17789
|
+
supplier_id?: string;
|
|
17790
|
+
updated_at?: string;
|
|
17791
|
+
};
|
|
17792
|
+
Relationships: [{
|
|
17793
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17794
|
+
columns: ["product_id"];
|
|
17795
|
+
isOneToOne: false;
|
|
17796
|
+
referencedRelation: "logistics_product_dimensions";
|
|
17797
|
+
referencedColumns: ["product_id"];
|
|
17798
|
+
}, {
|
|
17799
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17800
|
+
columns: ["product_id"];
|
|
17801
|
+
isOneToOne: false;
|
|
17802
|
+
referencedRelation: "products";
|
|
17803
|
+
referencedColumns: ["id"];
|
|
17804
|
+
}, {
|
|
17805
|
+
foreignKeyName: "product_suppliers_supplier_id_fkey";
|
|
17806
|
+
columns: ["supplier_id"];
|
|
17807
|
+
isOneToOne: false;
|
|
17808
|
+
referencedRelation: "suppliers";
|
|
17809
|
+
referencedColumns: ["id"];
|
|
17810
|
+
}];
|
|
17811
|
+
};
|
|
17812
|
+
product_tray_stickers: {
|
|
17813
|
+
Row: {
|
|
17814
|
+
bestand_url: string;
|
|
17815
|
+
bestandsgrootte: number | null;
|
|
17816
|
+
bestandsnaam: string | null;
|
|
17817
|
+
bestandspad: string | null;
|
|
17818
|
+
created_at: string;
|
|
17819
|
+
product_id: string;
|
|
17820
|
+
updated_at: string;
|
|
17821
|
+
};
|
|
17822
|
+
Insert: {
|
|
17823
|
+
bestand_url: string;
|
|
17824
|
+
bestandsgrootte?: number | null;
|
|
17825
|
+
bestandsnaam?: string | null;
|
|
17826
|
+
bestandspad?: string | null;
|
|
17827
|
+
created_at?: string;
|
|
17828
|
+
product_id: string;
|
|
17829
|
+
updated_at?: string;
|
|
17830
|
+
};
|
|
17831
|
+
Update: {
|
|
17832
|
+
bestand_url?: string;
|
|
17833
|
+
bestandsgrootte?: number | null;
|
|
17834
|
+
bestandsnaam?: string | null;
|
|
17835
|
+
bestandspad?: string | null;
|
|
17836
|
+
created_at?: string;
|
|
17837
|
+
product_id?: string;
|
|
17838
|
+
updated_at?: string;
|
|
17839
|
+
};
|
|
17840
|
+
Relationships: [{
|
|
17841
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
17842
|
+
columns: ["product_id"];
|
|
17843
|
+
isOneToOne: true;
|
|
17844
|
+
referencedRelation: "logistics_product_dimensions";
|
|
17845
|
+
referencedColumns: ["product_id"];
|
|
17846
|
+
}, {
|
|
17847
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
17848
|
+
columns: ["product_id"];
|
|
17849
|
+
isOneToOne: true;
|
|
17850
|
+
referencedRelation: "products";
|
|
17851
|
+
referencedColumns: ["id"];
|
|
17852
|
+
}];
|
|
17853
|
+
};
|
|
17125
17854
|
products: {
|
|
17126
17855
|
Row: {
|
|
17127
17856
|
article_number: string | null;
|
|
@@ -17130,6 +17859,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17130
17859
|
crates_per_layer: number;
|
|
17131
17860
|
created_at: string;
|
|
17132
17861
|
custom_fields: import("./types").Json;
|
|
17862
|
+
floriday_packing_confirmed_at: string | null;
|
|
17863
|
+
floriday_packing_source: string | null;
|
|
17133
17864
|
floriday_trade_item_id: string | null;
|
|
17134
17865
|
fust_type_id: string | null;
|
|
17135
17866
|
id: string;
|
|
@@ -17158,6 +17889,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17158
17889
|
crates_per_layer?: number;
|
|
17159
17890
|
created_at?: string;
|
|
17160
17891
|
custom_fields?: import("./types").Json;
|
|
17892
|
+
floriday_packing_confirmed_at?: string | null;
|
|
17893
|
+
floriday_packing_source?: string | null;
|
|
17161
17894
|
floriday_trade_item_id?: string | null;
|
|
17162
17895
|
fust_type_id?: string | null;
|
|
17163
17896
|
id?: string;
|
|
@@ -17186,6 +17919,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17186
17919
|
crates_per_layer?: number;
|
|
17187
17920
|
created_at?: string;
|
|
17188
17921
|
custom_fields?: import("./types").Json;
|
|
17922
|
+
floriday_packing_confirmed_at?: string | null;
|
|
17923
|
+
floriday_packing_source?: string | null;
|
|
17189
17924
|
floriday_trade_item_id?: string | null;
|
|
17190
17925
|
fust_type_id?: string | null;
|
|
17191
17926
|
id?: string;
|
|
@@ -17285,6 +18020,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17285
18020
|
id: string;
|
|
17286
18021
|
is_superadmin: boolean;
|
|
17287
18022
|
notification_preferences: import("./types").Json;
|
|
18023
|
+
phone: string | null;
|
|
17288
18024
|
tenant_id: string | null;
|
|
17289
18025
|
updated_at: string;
|
|
17290
18026
|
};
|
|
@@ -17297,6 +18033,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17297
18033
|
id: string;
|
|
17298
18034
|
is_superadmin?: boolean;
|
|
17299
18035
|
notification_preferences?: import("./types").Json;
|
|
18036
|
+
phone?: string | null;
|
|
17300
18037
|
tenant_id?: string | null;
|
|
17301
18038
|
updated_at?: string;
|
|
17302
18039
|
};
|
|
@@ -17309,6 +18046,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
17309
18046
|
id?: string;
|
|
17310
18047
|
is_superadmin?: boolean;
|
|
17311
18048
|
notification_preferences?: import("./types").Json;
|
|
18049
|
+
phone?: string | null;
|
|
17312
18050
|
tenant_id?: string | null;
|
|
17313
18051
|
updated_at?: string;
|
|
17314
18052
|
};
|
|
@@ -19052,40 +19790,52 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
19052
19790
|
Row: {
|
|
19053
19791
|
approved_at: string | null;
|
|
19054
19792
|
approved_by: string | null;
|
|
19793
|
+
contract_hours: number;
|
|
19055
19794
|
created_at: string;
|
|
19056
19795
|
employee_id: string;
|
|
19057
19796
|
id: string;
|
|
19058
19797
|
locked: boolean;
|
|
19798
|
+
monteur_toelichting: string | null;
|
|
19059
19799
|
notes: string | null;
|
|
19800
|
+
planned_hours: number;
|
|
19060
19801
|
status: string;
|
|
19061
19802
|
submitted_at: string | null;
|
|
19062
19803
|
updated_at: string;
|
|
19804
|
+
variance_hours: number;
|
|
19063
19805
|
week_start: string;
|
|
19064
19806
|
};
|
|
19065
19807
|
Insert: {
|
|
19066
19808
|
approved_at?: string | null;
|
|
19067
19809
|
approved_by?: string | null;
|
|
19810
|
+
contract_hours?: number;
|
|
19068
19811
|
created_at?: string;
|
|
19069
19812
|
employee_id: string;
|
|
19070
19813
|
id?: string;
|
|
19071
19814
|
locked?: boolean;
|
|
19815
|
+
monteur_toelichting?: string | null;
|
|
19072
19816
|
notes?: string | null;
|
|
19817
|
+
planned_hours?: number;
|
|
19073
19818
|
status?: string;
|
|
19074
19819
|
submitted_at?: string | null;
|
|
19075
19820
|
updated_at?: string;
|
|
19821
|
+
variance_hours?: number;
|
|
19076
19822
|
week_start: string;
|
|
19077
19823
|
};
|
|
19078
19824
|
Update: {
|
|
19079
19825
|
approved_at?: string | null;
|
|
19080
19826
|
approved_by?: string | null;
|
|
19827
|
+
contract_hours?: number;
|
|
19081
19828
|
created_at?: string;
|
|
19082
19829
|
employee_id?: string;
|
|
19083
19830
|
id?: string;
|
|
19084
19831
|
locked?: boolean;
|
|
19832
|
+
monteur_toelichting?: string | null;
|
|
19085
19833
|
notes?: string | null;
|
|
19834
|
+
planned_hours?: number;
|
|
19086
19835
|
status?: string;
|
|
19087
19836
|
submitted_at?: string | null;
|
|
19088
19837
|
updated_at?: string;
|
|
19838
|
+
variance_hours?: number;
|
|
19089
19839
|
week_start?: string;
|
|
19090
19840
|
};
|
|
19091
19841
|
Relationships: [{
|
|
@@ -20372,16 +21122,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20372
21122
|
Row: {
|
|
20373
21123
|
active_environment: string;
|
|
20374
21124
|
id: number;
|
|
21125
|
+
public_base_url: string | null;
|
|
20375
21126
|
updated_at: string;
|
|
20376
21127
|
};
|
|
20377
21128
|
Insert: {
|
|
20378
21129
|
active_environment?: string;
|
|
20379
21130
|
id?: number;
|
|
21131
|
+
public_base_url?: string | null;
|
|
20380
21132
|
updated_at?: string;
|
|
20381
21133
|
};
|
|
20382
21134
|
Update: {
|
|
20383
21135
|
active_environment?: string;
|
|
20384
21136
|
id?: number;
|
|
21137
|
+
public_base_url?: string | null;
|
|
20385
21138
|
updated_at?: string;
|
|
20386
21139
|
};
|
|
20387
21140
|
Relationships: [];
|
|
@@ -20419,6 +21172,45 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20419
21172
|
referencedColumns: ["id"];
|
|
20420
21173
|
}];
|
|
20421
21174
|
};
|
|
21175
|
+
uren_beschikbare_dagen: {
|
|
21176
|
+
Row: {
|
|
21177
|
+
bron: string;
|
|
21178
|
+
created_at: string;
|
|
21179
|
+
datum: string;
|
|
21180
|
+
eind_tijd: string | null;
|
|
21181
|
+
half_hour_slots: number[];
|
|
21182
|
+
id: string;
|
|
21183
|
+
monteur_id: string;
|
|
21184
|
+
start_tijd: string | null;
|
|
21185
|
+
updated_at: string;
|
|
21186
|
+
uren: number;
|
|
21187
|
+
};
|
|
21188
|
+
Insert: {
|
|
21189
|
+
bron?: string;
|
|
21190
|
+
created_at?: string;
|
|
21191
|
+
datum: string;
|
|
21192
|
+
eind_tijd?: string | null;
|
|
21193
|
+
half_hour_slots?: number[];
|
|
21194
|
+
id?: string;
|
|
21195
|
+
monteur_id: string;
|
|
21196
|
+
start_tijd?: string | null;
|
|
21197
|
+
updated_at?: string;
|
|
21198
|
+
uren?: number;
|
|
21199
|
+
};
|
|
21200
|
+
Update: {
|
|
21201
|
+
bron?: string;
|
|
21202
|
+
created_at?: string;
|
|
21203
|
+
datum?: string;
|
|
21204
|
+
eind_tijd?: string | null;
|
|
21205
|
+
half_hour_slots?: number[];
|
|
21206
|
+
id?: string;
|
|
21207
|
+
monteur_id?: string;
|
|
21208
|
+
start_tijd?: string | null;
|
|
21209
|
+
updated_at?: string;
|
|
21210
|
+
uren?: number;
|
|
21211
|
+
};
|
|
21212
|
+
Relationships: [];
|
|
21213
|
+
};
|
|
20422
21214
|
uren_cao_profiles: {
|
|
20423
21215
|
Row: {
|
|
20424
21216
|
break_minutes: number | null;
|
|
@@ -20557,32 +21349,161 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20557
21349
|
};
|
|
20558
21350
|
Relationships: [];
|
|
20559
21351
|
};
|
|
20560
|
-
|
|
21352
|
+
uren_maandafsluitingen: {
|
|
20561
21353
|
Row: {
|
|
20562
|
-
|
|
21354
|
+
afgesloten_at: string | null;
|
|
21355
|
+
afgesloten_door: string | null;
|
|
21356
|
+
contract_minuten: number;
|
|
21357
|
+
correctie_reden: string | null;
|
|
20563
21358
|
created_at: string;
|
|
20564
|
-
|
|
20565
|
-
|
|
20566
|
-
|
|
20567
|
-
|
|
20568
|
-
|
|
20569
|
-
|
|
21359
|
+
gecorrigeerd_at: string | null;
|
|
21360
|
+
gecorrigeerd_door: string | null;
|
|
21361
|
+
gewerkte_minuten: number;
|
|
21362
|
+
id: string;
|
|
21363
|
+
maand: string;
|
|
21364
|
+
min_minuten: number;
|
|
21365
|
+
monteur_id: string;
|
|
21366
|
+
netto_verschil_minuten: number;
|
|
21367
|
+
normaal_uitbetaald_minuten: number;
|
|
21368
|
+
omgezet_vakantie_minuten: number;
|
|
21369
|
+
overdracht_vorige_minuten: number;
|
|
21370
|
+
overuren_minuten: number;
|
|
21371
|
+
plus_minuten: number;
|
|
21372
|
+
rest_overuren_minuten: number;
|
|
21373
|
+
status: string;
|
|
21374
|
+
totaal_uitbetaald_minuten: number;
|
|
20570
21375
|
updated_at: string;
|
|
20571
|
-
|
|
20572
|
-
workday_end: string;
|
|
20573
|
-
workday_start: string;
|
|
21376
|
+
vakantie_uren_bijgeschreven: number;
|
|
20574
21377
|
};
|
|
20575
21378
|
Insert: {
|
|
20576
|
-
|
|
21379
|
+
afgesloten_at?: string | null;
|
|
21380
|
+
afgesloten_door?: string | null;
|
|
21381
|
+
contract_minuten?: number;
|
|
21382
|
+
correctie_reden?: string | null;
|
|
20577
21383
|
created_at?: string;
|
|
20578
|
-
|
|
20579
|
-
|
|
20580
|
-
|
|
20581
|
-
|
|
20582
|
-
|
|
20583
|
-
|
|
21384
|
+
gecorrigeerd_at?: string | null;
|
|
21385
|
+
gecorrigeerd_door?: string | null;
|
|
21386
|
+
gewerkte_minuten?: number;
|
|
21387
|
+
id?: string;
|
|
21388
|
+
maand: string;
|
|
21389
|
+
min_minuten?: number;
|
|
21390
|
+
monteur_id: string;
|
|
21391
|
+
netto_verschil_minuten?: number;
|
|
21392
|
+
normaal_uitbetaald_minuten?: number;
|
|
21393
|
+
omgezet_vakantie_minuten?: number;
|
|
21394
|
+
overdracht_vorige_minuten?: number;
|
|
21395
|
+
overuren_minuten?: number;
|
|
21396
|
+
plus_minuten?: number;
|
|
21397
|
+
rest_overuren_minuten?: number;
|
|
21398
|
+
status?: string;
|
|
21399
|
+
totaal_uitbetaald_minuten?: number;
|
|
20584
21400
|
updated_at?: string;
|
|
20585
|
-
|
|
21401
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21402
|
+
};
|
|
21403
|
+
Update: {
|
|
21404
|
+
afgesloten_at?: string | null;
|
|
21405
|
+
afgesloten_door?: string | null;
|
|
21406
|
+
contract_minuten?: number;
|
|
21407
|
+
correctie_reden?: string | null;
|
|
21408
|
+
created_at?: string;
|
|
21409
|
+
gecorrigeerd_at?: string | null;
|
|
21410
|
+
gecorrigeerd_door?: string | null;
|
|
21411
|
+
gewerkte_minuten?: number;
|
|
21412
|
+
id?: string;
|
|
21413
|
+
maand?: string;
|
|
21414
|
+
min_minuten?: number;
|
|
21415
|
+
monteur_id?: string;
|
|
21416
|
+
netto_verschil_minuten?: number;
|
|
21417
|
+
normaal_uitbetaald_minuten?: number;
|
|
21418
|
+
omgezet_vakantie_minuten?: number;
|
|
21419
|
+
overdracht_vorige_minuten?: number;
|
|
21420
|
+
overuren_minuten?: number;
|
|
21421
|
+
plus_minuten?: number;
|
|
21422
|
+
rest_overuren_minuten?: number;
|
|
21423
|
+
status?: string;
|
|
21424
|
+
totaal_uitbetaald_minuten?: number;
|
|
21425
|
+
updated_at?: string;
|
|
21426
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21427
|
+
};
|
|
21428
|
+
Relationships: [];
|
|
21429
|
+
};
|
|
21430
|
+
uren_overuren_verklaringen: {
|
|
21431
|
+
Row: {
|
|
21432
|
+
beoordeeld_door: string | null;
|
|
21433
|
+
beoordeeld_op: string | null;
|
|
21434
|
+
created_at: string;
|
|
21435
|
+
datum: string;
|
|
21436
|
+
eind_tijd: string | null;
|
|
21437
|
+
id: string;
|
|
21438
|
+
ingediend_at: string;
|
|
21439
|
+
monteur_id: string;
|
|
21440
|
+
overuren: number;
|
|
21441
|
+
reden_afkeur: string | null;
|
|
21442
|
+
start_tijd: string | null;
|
|
21443
|
+
status: string;
|
|
21444
|
+
toelichting: string;
|
|
21445
|
+
updated_at: string;
|
|
21446
|
+
};
|
|
21447
|
+
Insert: {
|
|
21448
|
+
beoordeeld_door?: string | null;
|
|
21449
|
+
beoordeeld_op?: string | null;
|
|
21450
|
+
created_at?: string;
|
|
21451
|
+
datum: string;
|
|
21452
|
+
eind_tijd?: string | null;
|
|
21453
|
+
id?: string;
|
|
21454
|
+
ingediend_at?: string;
|
|
21455
|
+
monteur_id: string;
|
|
21456
|
+
overuren: number;
|
|
21457
|
+
reden_afkeur?: string | null;
|
|
21458
|
+
start_tijd?: string | null;
|
|
21459
|
+
status?: string;
|
|
21460
|
+
toelichting: string;
|
|
21461
|
+
updated_at?: string;
|
|
21462
|
+
};
|
|
21463
|
+
Update: {
|
|
21464
|
+
beoordeeld_door?: string | null;
|
|
21465
|
+
beoordeeld_op?: string | null;
|
|
21466
|
+
created_at?: string;
|
|
21467
|
+
datum?: string;
|
|
21468
|
+
eind_tijd?: string | null;
|
|
21469
|
+
id?: string;
|
|
21470
|
+
ingediend_at?: string;
|
|
21471
|
+
monteur_id?: string;
|
|
21472
|
+
overuren?: number;
|
|
21473
|
+
reden_afkeur?: string | null;
|
|
21474
|
+
start_tijd?: string | null;
|
|
21475
|
+
status?: string;
|
|
21476
|
+
toelichting?: string;
|
|
21477
|
+
updated_at?: string;
|
|
21478
|
+
};
|
|
21479
|
+
Relationships: [];
|
|
21480
|
+
};
|
|
21481
|
+
uren_settings: {
|
|
21482
|
+
Row: {
|
|
21483
|
+
break_minutes: number;
|
|
21484
|
+
created_at: string;
|
|
21485
|
+
daily_threshold_hours: number;
|
|
21486
|
+
id: boolean;
|
|
21487
|
+
include_travel: boolean;
|
|
21488
|
+
min_occupancy_monteurs: number;
|
|
21489
|
+
ov02_percentage: number;
|
|
21490
|
+
ov03_percentage: number;
|
|
21491
|
+
updated_at: string;
|
|
21492
|
+
weekly_threshold_hours: number;
|
|
21493
|
+
workday_end: string;
|
|
21494
|
+
workday_start: string;
|
|
21495
|
+
};
|
|
21496
|
+
Insert: {
|
|
21497
|
+
break_minutes?: number;
|
|
21498
|
+
created_at?: string;
|
|
21499
|
+
daily_threshold_hours?: number;
|
|
21500
|
+
id?: boolean;
|
|
21501
|
+
include_travel?: boolean;
|
|
21502
|
+
min_occupancy_monteurs?: number;
|
|
21503
|
+
ov02_percentage?: number;
|
|
21504
|
+
ov03_percentage?: number;
|
|
21505
|
+
updated_at?: string;
|
|
21506
|
+
weekly_threshold_hours?: number;
|
|
20586
21507
|
workday_end?: string;
|
|
20587
21508
|
workday_start?: string;
|
|
20588
21509
|
};
|
|
@@ -20602,6 +21523,75 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20602
21523
|
};
|
|
20603
21524
|
Relationships: [];
|
|
20604
21525
|
};
|
|
21526
|
+
uren_standaardweek: {
|
|
21527
|
+
Row: {
|
|
21528
|
+
created_at: string;
|
|
21529
|
+
eind_slot: number;
|
|
21530
|
+
id: string;
|
|
21531
|
+
monteur_id: string;
|
|
21532
|
+
start_slot: number;
|
|
21533
|
+
updated_at: string;
|
|
21534
|
+
weekdag: number;
|
|
21535
|
+
};
|
|
21536
|
+
Insert: {
|
|
21537
|
+
created_at?: string;
|
|
21538
|
+
eind_slot: number;
|
|
21539
|
+
id?: string;
|
|
21540
|
+
monteur_id: string;
|
|
21541
|
+
start_slot: number;
|
|
21542
|
+
updated_at?: string;
|
|
21543
|
+
weekdag: number;
|
|
21544
|
+
};
|
|
21545
|
+
Update: {
|
|
21546
|
+
created_at?: string;
|
|
21547
|
+
eind_slot?: number;
|
|
21548
|
+
id?: string;
|
|
21549
|
+
monteur_id?: string;
|
|
21550
|
+
start_slot?: number;
|
|
21551
|
+
updated_at?: string;
|
|
21552
|
+
weekdag?: number;
|
|
21553
|
+
};
|
|
21554
|
+
Relationships: [];
|
|
21555
|
+
};
|
|
21556
|
+
uren_standaardweek_wijzigingen: {
|
|
21557
|
+
Row: {
|
|
21558
|
+
beoordeeld_door: string | null;
|
|
21559
|
+
beoordeeld_op: string | null;
|
|
21560
|
+
created_at: string;
|
|
21561
|
+
huidig: import("./types").Json;
|
|
21562
|
+
id: string;
|
|
21563
|
+
monteur_id: string;
|
|
21564
|
+
reden_afkeur: string | null;
|
|
21565
|
+
status: string;
|
|
21566
|
+
updated_at: string;
|
|
21567
|
+
voorstel: import("./types").Json;
|
|
21568
|
+
};
|
|
21569
|
+
Insert: {
|
|
21570
|
+
beoordeeld_door?: string | null;
|
|
21571
|
+
beoordeeld_op?: string | null;
|
|
21572
|
+
created_at?: string;
|
|
21573
|
+
huidig?: import("./types").Json;
|
|
21574
|
+
id?: string;
|
|
21575
|
+
monteur_id: string;
|
|
21576
|
+
reden_afkeur?: string | null;
|
|
21577
|
+
status?: string;
|
|
21578
|
+
updated_at?: string;
|
|
21579
|
+
voorstel: import("./types").Json;
|
|
21580
|
+
};
|
|
21581
|
+
Update: {
|
|
21582
|
+
beoordeeld_door?: string | null;
|
|
21583
|
+
beoordeeld_op?: string | null;
|
|
21584
|
+
created_at?: string;
|
|
21585
|
+
huidig?: import("./types").Json;
|
|
21586
|
+
id?: string;
|
|
21587
|
+
monteur_id?: string;
|
|
21588
|
+
reden_afkeur?: string | null;
|
|
21589
|
+
status?: string;
|
|
21590
|
+
updated_at?: string;
|
|
21591
|
+
voorstel?: import("./types").Json;
|
|
21592
|
+
};
|
|
21593
|
+
Relationships: [];
|
|
21594
|
+
};
|
|
20605
21595
|
uren_tarieven: {
|
|
20606
21596
|
Row: {
|
|
20607
21597
|
created_at: string;
|
|
@@ -20686,6 +21676,39 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20686
21676
|
};
|
|
20687
21677
|
Relationships: [];
|
|
20688
21678
|
};
|
|
21679
|
+
uren_tijd_spiegel: {
|
|
21680
|
+
Row: {
|
|
21681
|
+
created_at: string;
|
|
21682
|
+
id: string;
|
|
21683
|
+
time_log_id: string;
|
|
21684
|
+
werkbon_time_log_id: string;
|
|
21685
|
+
};
|
|
21686
|
+
Insert: {
|
|
21687
|
+
created_at?: string;
|
|
21688
|
+
id?: string;
|
|
21689
|
+
time_log_id: string;
|
|
21690
|
+
werkbon_time_log_id: string;
|
|
21691
|
+
};
|
|
21692
|
+
Update: {
|
|
21693
|
+
created_at?: string;
|
|
21694
|
+
id?: string;
|
|
21695
|
+
time_log_id?: string;
|
|
21696
|
+
werkbon_time_log_id?: string;
|
|
21697
|
+
};
|
|
21698
|
+
Relationships: [{
|
|
21699
|
+
foreignKeyName: "uren_tijd_spiegel_time_log_id_fkey";
|
|
21700
|
+
columns: ["time_log_id"];
|
|
21701
|
+
isOneToOne: true;
|
|
21702
|
+
referencedRelation: "time_logs";
|
|
21703
|
+
referencedColumns: ["id"];
|
|
21704
|
+
}, {
|
|
21705
|
+
foreignKeyName: "uren_tijd_spiegel_werkbon_time_log_id_fkey";
|
|
21706
|
+
columns: ["werkbon_time_log_id"];
|
|
21707
|
+
isOneToOne: true;
|
|
21708
|
+
referencedRelation: "werkbon_time_logs";
|
|
21709
|
+
referencedColumns: ["id"];
|
|
21710
|
+
}];
|
|
21711
|
+
};
|
|
20689
21712
|
uren_weekstaten: {
|
|
20690
21713
|
Row: {
|
|
20691
21714
|
approved_at: string | null;
|
|
@@ -20728,6 +21751,33 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20728
21751
|
};
|
|
20729
21752
|
Relationships: [];
|
|
20730
21753
|
};
|
|
21754
|
+
uren_werktijd_voorkeuren: {
|
|
21755
|
+
Row: {
|
|
21756
|
+
created_at: string;
|
|
21757
|
+
eind_slot: number;
|
|
21758
|
+
id: string;
|
|
21759
|
+
monteur_id: string;
|
|
21760
|
+
start_slot: number;
|
|
21761
|
+
updated_at: string;
|
|
21762
|
+
};
|
|
21763
|
+
Insert: {
|
|
21764
|
+
created_at?: string;
|
|
21765
|
+
eind_slot?: number;
|
|
21766
|
+
id?: string;
|
|
21767
|
+
monteur_id: string;
|
|
21768
|
+
start_slot?: number;
|
|
21769
|
+
updated_at?: string;
|
|
21770
|
+
};
|
|
21771
|
+
Update: {
|
|
21772
|
+
created_at?: string;
|
|
21773
|
+
eind_slot?: number;
|
|
21774
|
+
id?: string;
|
|
21775
|
+
monteur_id?: string;
|
|
21776
|
+
start_slot?: number;
|
|
21777
|
+
updated_at?: string;
|
|
21778
|
+
};
|
|
21779
|
+
Relationships: [];
|
|
21780
|
+
};
|
|
20731
21781
|
user_module_permissions: {
|
|
20732
21782
|
Row: {
|
|
20733
21783
|
created_at: string;
|
|
@@ -20785,6 +21835,51 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
20785
21835
|
referencedColumns: ["id"];
|
|
20786
21836
|
}];
|
|
20787
21837
|
};
|
|
21838
|
+
vakantie_uitbetalingen: {
|
|
21839
|
+
Row: {
|
|
21840
|
+
created_at: string;
|
|
21841
|
+
created_by: string | null;
|
|
21842
|
+
days: number;
|
|
21843
|
+
id: string;
|
|
21844
|
+
note: string | null;
|
|
21845
|
+
updated_at: string;
|
|
21846
|
+
user_id: string;
|
|
21847
|
+
year: number;
|
|
21848
|
+
};
|
|
21849
|
+
Insert: {
|
|
21850
|
+
created_at?: string;
|
|
21851
|
+
created_by?: string | null;
|
|
21852
|
+
days: number;
|
|
21853
|
+
id?: string;
|
|
21854
|
+
note?: string | null;
|
|
21855
|
+
updated_at?: string;
|
|
21856
|
+
user_id: string;
|
|
21857
|
+
year?: number;
|
|
21858
|
+
};
|
|
21859
|
+
Update: {
|
|
21860
|
+
created_at?: string;
|
|
21861
|
+
created_by?: string | null;
|
|
21862
|
+
days?: number;
|
|
21863
|
+
id?: string;
|
|
21864
|
+
note?: string | null;
|
|
21865
|
+
updated_at?: string;
|
|
21866
|
+
user_id?: string;
|
|
21867
|
+
year?: number;
|
|
21868
|
+
};
|
|
21869
|
+
Relationships: [{
|
|
21870
|
+
foreignKeyName: "vakantie_uitbetalingen_created_by_fkey";
|
|
21871
|
+
columns: ["created_by"];
|
|
21872
|
+
isOneToOne: false;
|
|
21873
|
+
referencedRelation: "profiles";
|
|
21874
|
+
referencedColumns: ["id"];
|
|
21875
|
+
}, {
|
|
21876
|
+
foreignKeyName: "vakantie_uitbetalingen_user_id_fkey";
|
|
21877
|
+
columns: ["user_id"];
|
|
21878
|
+
isOneToOne: false;
|
|
21879
|
+
referencedRelation: "profiles";
|
|
21880
|
+
referencedColumns: ["id"];
|
|
21881
|
+
}];
|
|
21882
|
+
};
|
|
20788
21883
|
van_inventories: {
|
|
20789
21884
|
Row: {
|
|
20790
21885
|
barcode: string | null;
|
|
@@ -21659,10 +22754,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21659
22754
|
Row: {
|
|
21660
22755
|
article_number: string | null;
|
|
21661
22756
|
artikel_id: string | null;
|
|
22757
|
+
cost_price_cents: number;
|
|
21662
22758
|
created_at: string;
|
|
21663
22759
|
gtin: string | null;
|
|
21664
22760
|
id: string;
|
|
21665
22761
|
manufacturer: string | null;
|
|
22762
|
+
margin_percent: number | null;
|
|
21666
22763
|
omschrijving: string;
|
|
21667
22764
|
package_id: string;
|
|
21668
22765
|
price_synced_at: string | null;
|
|
@@ -21677,10 +22774,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21677
22774
|
Insert: {
|
|
21678
22775
|
article_number?: string | null;
|
|
21679
22776
|
artikel_id?: string | null;
|
|
22777
|
+
cost_price_cents?: number;
|
|
21680
22778
|
created_at?: string;
|
|
21681
22779
|
gtin?: string | null;
|
|
21682
22780
|
id?: string;
|
|
21683
22781
|
manufacturer?: string | null;
|
|
22782
|
+
margin_percent?: number | null;
|
|
21684
22783
|
omschrijving: string;
|
|
21685
22784
|
package_id: string;
|
|
21686
22785
|
price_synced_at?: string | null;
|
|
@@ -21695,10 +22794,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
21695
22794
|
Update: {
|
|
21696
22795
|
article_number?: string | null;
|
|
21697
22796
|
artikel_id?: string | null;
|
|
22797
|
+
cost_price_cents?: number;
|
|
21698
22798
|
created_at?: string;
|
|
21699
22799
|
gtin?: string | null;
|
|
21700
22800
|
id?: string;
|
|
21701
22801
|
manufacturer?: string | null;
|
|
22802
|
+
margin_percent?: number | null;
|
|
21702
22803
|
omschrijving?: string;
|
|
21703
22804
|
package_id?: string;
|
|
21704
22805
|
price_synced_at?: string | null;
|
|
@@ -22063,6 +23164,78 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
22063
23164
|
referencedColumns: ["id"];
|
|
22064
23165
|
}];
|
|
22065
23166
|
};
|
|
23167
|
+
werkbon_voorstellen: {
|
|
23168
|
+
Row: {
|
|
23169
|
+
bron_werkbon_id: string;
|
|
23170
|
+
budget_mandate_cents: number;
|
|
23171
|
+
created_at: string;
|
|
23172
|
+
created_by: string;
|
|
23173
|
+
customer_id: string | null;
|
|
23174
|
+
id: string;
|
|
23175
|
+
payload: import("./types").Json;
|
|
23176
|
+
reden: string | null;
|
|
23177
|
+
status: string;
|
|
23178
|
+
updated_at: string;
|
|
23179
|
+
verwerkt_door: string | null;
|
|
23180
|
+
verwerkt_op: string | null;
|
|
23181
|
+
werkbon_id: string | null;
|
|
23182
|
+
};
|
|
23183
|
+
Insert: {
|
|
23184
|
+
bron_werkbon_id: string;
|
|
23185
|
+
budget_mandate_cents?: number;
|
|
23186
|
+
created_at?: string;
|
|
23187
|
+
created_by?: string;
|
|
23188
|
+
customer_id?: string | null;
|
|
23189
|
+
id?: string;
|
|
23190
|
+
payload?: import("./types").Json;
|
|
23191
|
+
reden?: string | null;
|
|
23192
|
+
status?: string;
|
|
23193
|
+
updated_at?: string;
|
|
23194
|
+
verwerkt_door?: string | null;
|
|
23195
|
+
verwerkt_op?: string | null;
|
|
23196
|
+
werkbon_id?: string | null;
|
|
23197
|
+
};
|
|
23198
|
+
Update: {
|
|
23199
|
+
bron_werkbon_id?: string;
|
|
23200
|
+
budget_mandate_cents?: number;
|
|
23201
|
+
created_at?: string;
|
|
23202
|
+
created_by?: string;
|
|
23203
|
+
customer_id?: string | null;
|
|
23204
|
+
id?: string;
|
|
23205
|
+
payload?: import("./types").Json;
|
|
23206
|
+
reden?: string | null;
|
|
23207
|
+
status?: string;
|
|
23208
|
+
updated_at?: string;
|
|
23209
|
+
verwerkt_door?: string | null;
|
|
23210
|
+
verwerkt_op?: string | null;
|
|
23211
|
+
werkbon_id?: string | null;
|
|
23212
|
+
};
|
|
23213
|
+
Relationships: [{
|
|
23214
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23215
|
+
columns: ["bron_werkbon_id"];
|
|
23216
|
+
isOneToOne: false;
|
|
23217
|
+
referencedRelation: "werkbonnen";
|
|
23218
|
+
referencedColumns: ["id"];
|
|
23219
|
+
}, {
|
|
23220
|
+
foreignKeyName: "werkbon_voorstellen_bron_werkbon_id_fkey";
|
|
23221
|
+
columns: ["bron_werkbon_id"];
|
|
23222
|
+
isOneToOne: false;
|
|
23223
|
+
referencedRelation: "wo_overview";
|
|
23224
|
+
referencedColumns: ["id"];
|
|
23225
|
+
}, {
|
|
23226
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23227
|
+
columns: ["werkbon_id"];
|
|
23228
|
+
isOneToOne: false;
|
|
23229
|
+
referencedRelation: "werkbonnen";
|
|
23230
|
+
referencedColumns: ["id"];
|
|
23231
|
+
}, {
|
|
23232
|
+
foreignKeyName: "werkbon_voorstellen_werkbon_id_fkey";
|
|
23233
|
+
columns: ["werkbon_id"];
|
|
23234
|
+
isOneToOne: false;
|
|
23235
|
+
referencedRelation: "wo_overview";
|
|
23236
|
+
referencedColumns: ["id"];
|
|
23237
|
+
}];
|
|
23238
|
+
};
|
|
22066
23239
|
werkbonnen: {
|
|
22067
23240
|
Row: {
|
|
22068
23241
|
assigned_user_id: string | null;
|
|
@@ -22670,6 +23843,21 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
22670
23843
|
};
|
|
22671
23844
|
Relationships: [];
|
|
22672
23845
|
};
|
|
23846
|
+
logistics_packing_diff: {
|
|
23847
|
+
Row: {
|
|
23848
|
+
dev_key: string | null;
|
|
23849
|
+
floriday_packing: import("./types").Json | null;
|
|
23850
|
+
local_packing: import("./types").Json | null;
|
|
23851
|
+
order_id: string | null;
|
|
23852
|
+
order_item_id: string | null;
|
|
23853
|
+
order_number: string | null;
|
|
23854
|
+
product_id: string | null;
|
|
23855
|
+
product_name: string | null;
|
|
23856
|
+
scope: string | null;
|
|
23857
|
+
trade_item_id: string | null;
|
|
23858
|
+
};
|
|
23859
|
+
Relationships: [];
|
|
23860
|
+
};
|
|
22673
23861
|
logistics_product_dimensions: {
|
|
22674
23862
|
Row: {
|
|
22675
23863
|
dimension_source: string | null;
|
|
@@ -23288,6 +24476,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
23288
24476
|
};
|
|
23289
24477
|
Returns: undefined;
|
|
23290
24478
|
};
|
|
24479
|
+
_wo_is_planner: {
|
|
24480
|
+
Args: never;
|
|
24481
|
+
Returns: boolean;
|
|
24482
|
+
};
|
|
23291
24483
|
afh_city_code: {
|
|
23292
24484
|
Args: {
|
|
23293
24485
|
_city: string;
|
|
@@ -23898,10 +25090,32 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
23898
25090
|
};
|
|
23899
25091
|
Returns: number;
|
|
23900
25092
|
};
|
|
25093
|
+
control_mark_carts_delivered_detail: {
|
|
25094
|
+
Args: {
|
|
25095
|
+
p_carts: import("./types").Json;
|
|
25096
|
+
};
|
|
25097
|
+
Returns: {
|
|
25098
|
+
cart_index: number;
|
|
25099
|
+
frozen: boolean;
|
|
25100
|
+
message: string;
|
|
25101
|
+
order_id: string;
|
|
25102
|
+
order_source: string;
|
|
25103
|
+
outcome: string;
|
|
25104
|
+
}[];
|
|
25105
|
+
};
|
|
23901
25106
|
count_distinct_regulatory_products: {
|
|
23902
25107
|
Args: never;
|
|
23903
25108
|
Returns: number;
|
|
23904
25109
|
};
|
|
25110
|
+
create_order_from_public_offer: {
|
|
25111
|
+
Args: {
|
|
25112
|
+
p_carrier_id?: string;
|
|
25113
|
+
p_delivery_date?: string;
|
|
25114
|
+
p_delivery_garden_id?: string;
|
|
25115
|
+
p_offer_order_id: string;
|
|
25116
|
+
};
|
|
25117
|
+
Returns: import("./types").Json;
|
|
25118
|
+
};
|
|
23905
25119
|
current_monteur_id: {
|
|
23906
25120
|
Args: never;
|
|
23907
25121
|
Returns: string;
|
|
@@ -24378,6 +25592,22 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
24378
25592
|
};
|
|
24379
25593
|
Returns: number;
|
|
24380
25594
|
};
|
|
25595
|
+
get_product_stock: {
|
|
25596
|
+
Args: {
|
|
25597
|
+
p_product_id: string;
|
|
25598
|
+
};
|
|
25599
|
+
Returns: {
|
|
25600
|
+
connection_id: string;
|
|
25601
|
+
incoming_stock: number;
|
|
25602
|
+
minimum_stock: number;
|
|
25603
|
+
notes: string;
|
|
25604
|
+
physical_stock: number;
|
|
25605
|
+
product_id: string;
|
|
25606
|
+
reserved_stock: number;
|
|
25607
|
+
trade_item_key: string;
|
|
25608
|
+
updated_at: string;
|
|
25609
|
+
}[];
|
|
25610
|
+
};
|
|
24381
25611
|
get_room_busy_windows: {
|
|
24382
25612
|
Args: {
|
|
24383
25613
|
p_from: string;
|
|
@@ -24682,6 +25912,26 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
24682
25912
|
};
|
|
24683
25913
|
Returns: import("./types").Json;
|
|
24684
25914
|
};
|
|
25915
|
+
inkoop_list_artikelen: {
|
|
25916
|
+
Args: never;
|
|
25917
|
+
Returns: {
|
|
25918
|
+
article_number: string;
|
|
25919
|
+
barcode: string;
|
|
25920
|
+
id: string;
|
|
25921
|
+
incoming_quantity: number;
|
|
25922
|
+
is_layer: boolean;
|
|
25923
|
+
location: string;
|
|
25924
|
+
min_quantity: number;
|
|
25925
|
+
preferred_supplier_name: string;
|
|
25926
|
+
product: string;
|
|
25927
|
+
product_type: string;
|
|
25928
|
+
purchase_price: number;
|
|
25929
|
+
quantity: number;
|
|
25930
|
+
sale_price: number;
|
|
25931
|
+
supplier_count: number;
|
|
25932
|
+
unit: string;
|
|
25933
|
+
}[];
|
|
25934
|
+
};
|
|
24685
25935
|
inkoop_next_order_number: {
|
|
24686
25936
|
Args: never;
|
|
24687
25937
|
Returns: string;
|
|
@@ -24696,6 +25946,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
24696
25946
|
to_address: string;
|
|
24697
25947
|
}[];
|
|
24698
25948
|
};
|
|
25949
|
+
inkoop_set_preferred_supplier: {
|
|
25950
|
+
Args: {
|
|
25951
|
+
_product_id: string;
|
|
25952
|
+
_supplier_id: string;
|
|
25953
|
+
};
|
|
25954
|
+
Returns: undefined;
|
|
25955
|
+
};
|
|
24699
25956
|
instructie_get: {
|
|
24700
25957
|
Args: {
|
|
24701
25958
|
_sleutel: string;
|
|
@@ -24715,6 +25972,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
24715
25972
|
};
|
|
24716
25973
|
Returns: number;
|
|
24717
25974
|
};
|
|
25975
|
+
invoice_branding_snapshot: {
|
|
25976
|
+
Args: never;
|
|
25977
|
+
Returns: import("./types").Json;
|
|
25978
|
+
};
|
|
24718
25979
|
invoice_create_from_source: {
|
|
24719
25980
|
Args: {
|
|
24720
25981
|
_payload?: import("./types").Json;
|
|
@@ -24749,12 +26010,41 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
24749
26010
|
};
|
|
24750
26011
|
Returns: import("./types").Json;
|
|
24751
26012
|
};
|
|
26013
|
+
invoice_mark_sent: {
|
|
26014
|
+
Args: {
|
|
26015
|
+
_invoice_id: string;
|
|
26016
|
+
_to: string;
|
|
26017
|
+
};
|
|
26018
|
+
Returns: undefined;
|
|
26019
|
+
};
|
|
26020
|
+
invoice_peek_next_number: {
|
|
26021
|
+
Args: never;
|
|
26022
|
+
Returns: string;
|
|
26023
|
+
};
|
|
26024
|
+
invoice_ready_work_orders: {
|
|
26025
|
+
Args: {
|
|
26026
|
+
_limit?: number;
|
|
26027
|
+
};
|
|
26028
|
+
Returns: import("./types").Json;
|
|
26029
|
+
};
|
|
24752
26030
|
invoice_recalc_totals: {
|
|
24753
26031
|
Args: {
|
|
24754
26032
|
_invoice_id: string;
|
|
24755
26033
|
};
|
|
24756
26034
|
Returns: import("./types").Json;
|
|
24757
26035
|
};
|
|
26036
|
+
invoice_save_branding_settings: {
|
|
26037
|
+
Args: {
|
|
26038
|
+
_payload: import("./types").Json;
|
|
26039
|
+
};
|
|
26040
|
+
Returns: import("./types").Json;
|
|
26041
|
+
};
|
|
26042
|
+
invoice_set_email_purpose: {
|
|
26043
|
+
Args: {
|
|
26044
|
+
_purpose: string;
|
|
26045
|
+
};
|
|
26046
|
+
Returns: string;
|
|
26047
|
+
};
|
|
24758
26048
|
invoice_source_lines: {
|
|
24759
26049
|
Args: {
|
|
24760
26050
|
_source_id: string;
|
|
@@ -24762,6 +26052,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
24762
26052
|
};
|
|
24763
26053
|
Returns: import("./types").Json;
|
|
24764
26054
|
};
|
|
26055
|
+
invoice_update_full: {
|
|
26056
|
+
Args: {
|
|
26057
|
+
_invoice_id: string;
|
|
26058
|
+
_payload: import("./types").Json;
|
|
26059
|
+
};
|
|
26060
|
+
Returns: import("./types").Json;
|
|
26061
|
+
};
|
|
26062
|
+
invoice_work_order_locked: {
|
|
26063
|
+
Args: {
|
|
26064
|
+
_werkbon_id: string;
|
|
26065
|
+
};
|
|
26066
|
+
Returns: import("./types").Json;
|
|
26067
|
+
};
|
|
24765
26068
|
is_authenticated: {
|
|
24766
26069
|
Args: never;
|
|
24767
26070
|
Returns: boolean;
|
|
@@ -24994,6 +26297,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
24994
26297
|
};
|
|
24995
26298
|
Returns: import("./types").Json;
|
|
24996
26299
|
};
|
|
26300
|
+
logistics_buffer_decision_for_settings: {
|
|
26301
|
+
Args: {
|
|
26302
|
+
p_order: import("./types").Json;
|
|
26303
|
+
p_settings: import("./types").Json;
|
|
26304
|
+
p_user_id?: string;
|
|
26305
|
+
};
|
|
26306
|
+
Returns: import("./types").Json;
|
|
26307
|
+
};
|
|
24997
26308
|
logistics_buffer_detach_late_orders: {
|
|
24998
26309
|
Args: {
|
|
24999
26310
|
p_buffer?: string;
|
|
@@ -25027,6 +26338,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25027
26338
|
};
|
|
25028
26339
|
Returns: string;
|
|
25029
26340
|
};
|
|
26341
|
+
logistics_buffer_payload: {
|
|
26342
|
+
Args: {
|
|
26343
|
+
p_order_id: string;
|
|
26344
|
+
};
|
|
26345
|
+
Returns: import("./types").Json;
|
|
26346
|
+
};
|
|
25030
26347
|
logistics_buffer_simulate: {
|
|
25031
26348
|
Args: {
|
|
25032
26349
|
p_orders?: import("./types").Json;
|
|
@@ -25085,6 +26402,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25085
26402
|
};
|
|
25086
26403
|
Returns: string;
|
|
25087
26404
|
};
|
|
26405
|
+
logistics_cart_coverage_check: {
|
|
26406
|
+
Args: never;
|
|
26407
|
+
Returns: import("./types").Json;
|
|
26408
|
+
};
|
|
25088
26409
|
logistics_cart_handled: {
|
|
25089
26410
|
Args: {
|
|
25090
26411
|
p_cart_index: number;
|
|
@@ -25328,6 +26649,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25328
26649
|
isSetofReturn: false;
|
|
25329
26650
|
};
|
|
25330
26651
|
};
|
|
26652
|
+
logistics_cleanup_duplicate_order_lines: {
|
|
26653
|
+
Args: {
|
|
26654
|
+
p_limit?: number;
|
|
26655
|
+
p_order_id: string;
|
|
26656
|
+
};
|
|
26657
|
+
Returns: import("./types").Json;
|
|
26658
|
+
};
|
|
26659
|
+
logistics_cleanup_history: {
|
|
26660
|
+
Args: {
|
|
26661
|
+
p_limit?: number;
|
|
26662
|
+
};
|
|
26663
|
+
Returns: import("./types").Json;
|
|
26664
|
+
};
|
|
25331
26665
|
logistics_cleanup_orphan_print_jobs: {
|
|
25332
26666
|
Args: never;
|
|
25333
26667
|
Returns: import("./types").Json;
|
|
@@ -25485,6 +26819,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25485
26819
|
Args: never;
|
|
25486
26820
|
Returns: import("./types").Json;
|
|
25487
26821
|
};
|
|
26822
|
+
logistics_cron_health: {
|
|
26823
|
+
Args: never;
|
|
26824
|
+
Returns: import("./types").Json;
|
|
26825
|
+
};
|
|
25488
26826
|
logistics_day_windows: {
|
|
25489
26827
|
Args: {
|
|
25490
26828
|
p_day: string;
|
|
@@ -25834,6 +27172,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25834
27172
|
};
|
|
25835
27173
|
Returns: number;
|
|
25836
27174
|
};
|
|
27175
|
+
logistics_merge_decision: {
|
|
27176
|
+
Args: {
|
|
27177
|
+
p_lines: import("./types").Json;
|
|
27178
|
+
};
|
|
27179
|
+
Returns: import("./types").Json;
|
|
27180
|
+
};
|
|
25837
27181
|
logistics_merge_floriday_lines: {
|
|
25838
27182
|
Args: {
|
|
25839
27183
|
p_order_id: string;
|
|
@@ -25880,6 +27224,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25880
27224
|
Args: never;
|
|
25881
27225
|
Returns: string;
|
|
25882
27226
|
};
|
|
27227
|
+
logistics_order_backlog_info: {
|
|
27228
|
+
Args: {
|
|
27229
|
+
p_order_id: string;
|
|
27230
|
+
};
|
|
27231
|
+
Returns: import("./types").Json;
|
|
27232
|
+
};
|
|
25883
27233
|
logistics_order_cart_approval: {
|
|
25884
27234
|
Args: {
|
|
25885
27235
|
_order_ref: string;
|
|
@@ -25914,6 +27264,50 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25914
27264
|
};
|
|
25915
27265
|
Returns: boolean;
|
|
25916
27266
|
};
|
|
27267
|
+
logistics_order_finalize_enqueue: {
|
|
27268
|
+
Args: {
|
|
27269
|
+
p_order_id: string;
|
|
27270
|
+
p_reason?: string;
|
|
27271
|
+
};
|
|
27272
|
+
Returns: undefined;
|
|
27273
|
+
};
|
|
27274
|
+
logistics_order_finalize_overview: {
|
|
27275
|
+
Args: never;
|
|
27276
|
+
Returns: {
|
|
27277
|
+
bezig: number;
|
|
27278
|
+
laatst_afgerond: string;
|
|
27279
|
+
laatste_fout: string;
|
|
27280
|
+
mislukt: number;
|
|
27281
|
+
oudste_wachttijd_seconden: number;
|
|
27282
|
+
wachtend: number;
|
|
27283
|
+
}[];
|
|
27284
|
+
};
|
|
27285
|
+
logistics_order_finalize_prune: {
|
|
27286
|
+
Args: {
|
|
27287
|
+
p_days?: number;
|
|
27288
|
+
};
|
|
27289
|
+
Returns: number;
|
|
27290
|
+
};
|
|
27291
|
+
logistics_order_finalize_reconcile: {
|
|
27292
|
+
Args: {
|
|
27293
|
+
p_days?: number;
|
|
27294
|
+
p_limit?: number;
|
|
27295
|
+
};
|
|
27296
|
+
Returns: number;
|
|
27297
|
+
};
|
|
27298
|
+
logistics_order_finalize_retry: {
|
|
27299
|
+
Args: {
|
|
27300
|
+
p_order_id: string;
|
|
27301
|
+
};
|
|
27302
|
+
Returns: boolean;
|
|
27303
|
+
};
|
|
27304
|
+
logistics_order_finalize_run: {
|
|
27305
|
+
Args: {
|
|
27306
|
+
p_lease_seconds?: number;
|
|
27307
|
+
p_limit?: number;
|
|
27308
|
+
};
|
|
27309
|
+
Returns: number;
|
|
27310
|
+
};
|
|
25917
27311
|
logistics_order_frozen: {
|
|
25918
27312
|
Args: {
|
|
25919
27313
|
p_order_id: string;
|
|
@@ -25926,6 +27320,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25926
27320
|
};
|
|
25927
27321
|
Returns: boolean;
|
|
25928
27322
|
};
|
|
27323
|
+
logistics_order_is_backlog: {
|
|
27324
|
+
Args: {
|
|
27325
|
+
p_order_id: string;
|
|
27326
|
+
};
|
|
27327
|
+
Returns: boolean;
|
|
27328
|
+
};
|
|
25929
27329
|
logistics_order_is_topick: {
|
|
25930
27330
|
Args: {
|
|
25931
27331
|
p_order_id: string;
|
|
@@ -25933,6 +27333,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25933
27333
|
};
|
|
25934
27334
|
Returns: boolean;
|
|
25935
27335
|
};
|
|
27336
|
+
logistics_order_line_duplicates: {
|
|
27337
|
+
Args: {
|
|
27338
|
+
p_order_id: string;
|
|
27339
|
+
};
|
|
27340
|
+
Returns: import("./types").Json;
|
|
27341
|
+
};
|
|
25936
27342
|
logistics_order_merge_key: {
|
|
25937
27343
|
Args: {
|
|
25938
27344
|
p_group_key: string;
|
|
@@ -25976,6 +27382,63 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
25976
27382
|
};
|
|
25977
27383
|
Returns: boolean;
|
|
25978
27384
|
};
|
|
27385
|
+
logistics_packing_autofix: {
|
|
27386
|
+
Args: {
|
|
27387
|
+
p_limit?: number;
|
|
27388
|
+
};
|
|
27389
|
+
Returns: number;
|
|
27390
|
+
};
|
|
27391
|
+
logistics_packing_block_reason: {
|
|
27392
|
+
Args: {
|
|
27393
|
+
p_order_id: string;
|
|
27394
|
+
p_order_item_id: string;
|
|
27395
|
+
};
|
|
27396
|
+
Returns: string;
|
|
27397
|
+
};
|
|
27398
|
+
logistics_packing_dismiss: {
|
|
27399
|
+
Args: {
|
|
27400
|
+
p_id: string;
|
|
27401
|
+
p_note?: string;
|
|
27402
|
+
};
|
|
27403
|
+
Returns: boolean;
|
|
27404
|
+
};
|
|
27405
|
+
logistics_packing_overview: {
|
|
27406
|
+
Args: never;
|
|
27407
|
+
Returns: {
|
|
27408
|
+
beoordelen: number;
|
|
27409
|
+
herstelbaar: number;
|
|
27410
|
+
laatst_gemeten: string;
|
|
27411
|
+
laatst_hersteld: string;
|
|
27412
|
+
open_totaal: number;
|
|
27413
|
+
orders: number;
|
|
27414
|
+
oudste_seconden: number;
|
|
27415
|
+
producten: number;
|
|
27416
|
+
}[];
|
|
27417
|
+
};
|
|
27418
|
+
logistics_packing_reconcile: {
|
|
27419
|
+
Args: {
|
|
27420
|
+
p_fix_limit?: number;
|
|
27421
|
+
p_scan_limit?: number;
|
|
27422
|
+
};
|
|
27423
|
+
Returns: {
|
|
27424
|
+
beoordelen: number;
|
|
27425
|
+
gevonden: number;
|
|
27426
|
+
hersteld: number;
|
|
27427
|
+
}[];
|
|
27428
|
+
};
|
|
27429
|
+
logistics_packing_scan: {
|
|
27430
|
+
Args: {
|
|
27431
|
+
p_limit?: number;
|
|
27432
|
+
};
|
|
27433
|
+
Returns: number;
|
|
27434
|
+
};
|
|
27435
|
+
logistics_packing_set_manual: {
|
|
27436
|
+
Args: {
|
|
27437
|
+
p_manual?: boolean;
|
|
27438
|
+
p_order_item_id: string;
|
|
27439
|
+
};
|
|
27440
|
+
Returns: boolean;
|
|
27441
|
+
};
|
|
25979
27442
|
logistics_parse_pickup: {
|
|
25980
27443
|
Args: {
|
|
25981
27444
|
p_value: string;
|
|
@@ -26004,6 +27467,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
26004
27467
|
shifted_count: number;
|
|
26005
27468
|
}[];
|
|
26006
27469
|
};
|
|
27470
|
+
logistics_pick_backlog_max_days: {
|
|
27471
|
+
Args: never;
|
|
27472
|
+
Returns: number;
|
|
27473
|
+
};
|
|
26007
27474
|
logistics_pick_barcode_enabled: {
|
|
26008
27475
|
Args: never;
|
|
26009
27476
|
Returns: boolean;
|
|
@@ -26225,6 +27692,21 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
26225
27692
|
Args: never;
|
|
26226
27693
|
Returns: number;
|
|
26227
27694
|
};
|
|
27695
|
+
logistics_planner_cart_snapshot: {
|
|
27696
|
+
Args: {
|
|
27697
|
+
p_buffer_id: string;
|
|
27698
|
+
p_order_id: string;
|
|
27699
|
+
};
|
|
27700
|
+
Returns: import("./types").Json;
|
|
27701
|
+
};
|
|
27702
|
+
logistics_planner_diff_mode: {
|
|
27703
|
+
Args: never;
|
|
27704
|
+
Returns: string;
|
|
27705
|
+
};
|
|
27706
|
+
logistics_planner_diff_prune: {
|
|
27707
|
+
Args: never;
|
|
27708
|
+
Returns: number;
|
|
27709
|
+
};
|
|
26228
27710
|
logistics_prepare_pick_documents: {
|
|
26229
27711
|
Args: {
|
|
26230
27712
|
p_limit?: number;
|
|
@@ -26235,6 +27717,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
26235
27717
|
Args: never;
|
|
26236
27718
|
Returns: number;
|
|
26237
27719
|
};
|
|
27720
|
+
logistics_prune_cron_history: {
|
|
27721
|
+
Args: {
|
|
27722
|
+
p_days?: number;
|
|
27723
|
+
};
|
|
27724
|
+
Returns: number;
|
|
27725
|
+
};
|
|
26238
27726
|
logistics_prune_handled_pick_queue: {
|
|
26239
27727
|
Args: never;
|
|
26240
27728
|
Returns: number;
|
|
@@ -26271,6 +27759,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
26271
27759
|
Args: never;
|
|
26272
27760
|
Returns: import("./types").Json;
|
|
26273
27761
|
};
|
|
27762
|
+
logistics_recalc_tick_kick: {
|
|
27763
|
+
Args: never;
|
|
27764
|
+
Returns: number;
|
|
27765
|
+
};
|
|
27766
|
+
logistics_reconcile_missing_plan_queue: {
|
|
27767
|
+
Args: never;
|
|
27768
|
+
Returns: number;
|
|
27769
|
+
};
|
|
26274
27770
|
logistics_refresh_pick_queue_status: {
|
|
26275
27771
|
Args: {
|
|
26276
27772
|
p_ref: string;
|
|
@@ -26301,11 +27797,24 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
26301
27797
|
};
|
|
26302
27798
|
Returns: import("./types").Json;
|
|
26303
27799
|
};
|
|
27800
|
+
logistics_replan_clear_foreign_cart_items: {
|
|
27801
|
+
Args: {
|
|
27802
|
+
p_order_id: string;
|
|
27803
|
+
p_reason: string;
|
|
27804
|
+
};
|
|
27805
|
+
Returns: import("./types").Json;
|
|
27806
|
+
};
|
|
26304
27807
|
logistics_replan_order_journey: {
|
|
26305
27808
|
Args: {
|
|
26306
27809
|
p_order_ref: string;
|
|
26307
27810
|
};
|
|
26308
27811
|
Returns: import("./types").Json;
|
|
27812
|
+
} | {
|
|
27813
|
+
Args: {
|
|
27814
|
+
p_order_ref: string;
|
|
27815
|
+
p_reason: string;
|
|
27816
|
+
};
|
|
27817
|
+
Returns: import("./types").Json;
|
|
26309
27818
|
};
|
|
26310
27819
|
logistics_report_delay: {
|
|
26311
27820
|
Args: {
|
|
@@ -26351,6 +27860,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
26351
27860
|
};
|
|
26352
27861
|
Returns: import("./types").Json;
|
|
26353
27862
|
};
|
|
27863
|
+
logistics_reserved_stock_nightly: {
|
|
27864
|
+
Args: never;
|
|
27865
|
+
Returns: undefined;
|
|
27866
|
+
};
|
|
26354
27867
|
logistics_resolve_pick_document: {
|
|
26355
27868
|
Args: {
|
|
26356
27869
|
_is_herprint: boolean;
|
|
@@ -26374,6 +27887,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
26374
27887
|
};
|
|
26375
27888
|
Returns: import("./types").Json;
|
|
26376
27889
|
};
|
|
27890
|
+
logistics_retention_days: {
|
|
27891
|
+
Args: {
|
|
27892
|
+
p_key: string;
|
|
27893
|
+
};
|
|
27894
|
+
Returns: number;
|
|
27895
|
+
};
|
|
26377
27896
|
logistics_rule_bool: {
|
|
26378
27897
|
Args: {
|
|
26379
27898
|
p_default: boolean;
|
|
@@ -26567,12 +28086,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
26567
28086
|
Args: never;
|
|
26568
28087
|
Returns: import("./types").Json;
|
|
26569
28088
|
};
|
|
28089
|
+
logistics_sync_pick_queue_backlog: {
|
|
28090
|
+
Args: never;
|
|
28091
|
+
Returns: import("./types").Json;
|
|
28092
|
+
};
|
|
28093
|
+
logistics_sync_pick_queue_core: {
|
|
28094
|
+
Args: never;
|
|
28095
|
+
Returns: import("./types").Json;
|
|
28096
|
+
};
|
|
26570
28097
|
logistics_sync_task_carriers: {
|
|
26571
28098
|
Args: {
|
|
26572
28099
|
p_order_ref?: string;
|
|
26573
28100
|
};
|
|
26574
28101
|
Returns: number;
|
|
26575
28102
|
};
|
|
28103
|
+
logistics_task_open_counts: {
|
|
28104
|
+
Args: never;
|
|
28105
|
+
Returns: {
|
|
28106
|
+
open_count: number;
|
|
28107
|
+
owner_module: string;
|
|
28108
|
+
}[];
|
|
28109
|
+
};
|
|
26576
28110
|
logistics_task_owner: {
|
|
26577
28111
|
Args: {
|
|
26578
28112
|
p_task_type: string;
|
|
@@ -26590,6 +28124,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
26590
28124
|
Args: never;
|
|
26591
28125
|
Returns: number;
|
|
26592
28126
|
};
|
|
28127
|
+
logistics_tasks_prune: {
|
|
28128
|
+
Args: {
|
|
28129
|
+
p_days?: number;
|
|
28130
|
+
};
|
|
28131
|
+
Returns: number;
|
|
28132
|
+
};
|
|
28133
|
+
logistics_tick: {
|
|
28134
|
+
Args: never;
|
|
28135
|
+
Returns: import("./types").Json;
|
|
28136
|
+
};
|
|
26593
28137
|
logistics_tick_ping: {
|
|
26594
28138
|
Args: never;
|
|
26595
28139
|
Returns: string;
|
|
@@ -26930,6 +28474,17 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
26930
28474
|
};
|
|
26931
28475
|
Returns: boolean;
|
|
26932
28476
|
};
|
|
28477
|
+
order_items_duplicate_report: {
|
|
28478
|
+
Args: {
|
|
28479
|
+
_order_ref?: string;
|
|
28480
|
+
};
|
|
28481
|
+
Returns: {
|
|
28482
|
+
distinct_products: number;
|
|
28483
|
+
duplicate_factor: number;
|
|
28484
|
+
lines: number;
|
|
28485
|
+
order_number: string;
|
|
28486
|
+
}[];
|
|
28487
|
+
};
|
|
26933
28488
|
order_number_prefix: {
|
|
26934
28489
|
Args: {
|
|
26935
28490
|
p_custom_fields?: import("./types").Json;
|
|
@@ -27713,6 +29268,22 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
27713
29268
|
};
|
|
27714
29269
|
Returns: undefined;
|
|
27715
29270
|
};
|
|
29271
|
+
planning_apply_schedule_updates: {
|
|
29272
|
+
Args: {
|
|
29273
|
+
_updates: import("./types").Json;
|
|
29274
|
+
};
|
|
29275
|
+
Returns: undefined;
|
|
29276
|
+
};
|
|
29277
|
+
planning_assert_no_overlaps: {
|
|
29278
|
+
Args: never;
|
|
29279
|
+
Returns: undefined;
|
|
29280
|
+
};
|
|
29281
|
+
planning_assert_no_overlaps_for_items: {
|
|
29282
|
+
Args: {
|
|
29283
|
+
_item_ids: string[];
|
|
29284
|
+
};
|
|
29285
|
+
Returns: undefined;
|
|
29286
|
+
};
|
|
27716
29287
|
planning_cancel_item: {
|
|
27717
29288
|
Args: {
|
|
27718
29289
|
_id: string;
|
|
@@ -27824,6 +29395,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
27824
29395
|
};
|
|
27825
29396
|
Returns: boolean;
|
|
27826
29397
|
};
|
|
29398
|
+
quote_assign_number: {
|
|
29399
|
+
Args: {
|
|
29400
|
+
_offerte_id: string;
|
|
29401
|
+
};
|
|
29402
|
+
Returns: string;
|
|
29403
|
+
};
|
|
29404
|
+
quote_create_follow_up_now: {
|
|
29405
|
+
Args: {
|
|
29406
|
+
_offerte_id: string;
|
|
29407
|
+
_payload?: import("./types").Json;
|
|
29408
|
+
};
|
|
29409
|
+
Returns: import("./types").Json;
|
|
29410
|
+
};
|
|
27827
29411
|
quote_create_from_source: {
|
|
27828
29412
|
Args: {
|
|
27829
29413
|
_payload?: import("./types").Json;
|
|
@@ -28067,6 +29651,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
28067
29651
|
Args: never;
|
|
28068
29652
|
Returns: undefined;
|
|
28069
29653
|
};
|
|
29654
|
+
run_order_auto_invoice_tick: {
|
|
29655
|
+
Args: never;
|
|
29656
|
+
Returns: number;
|
|
29657
|
+
};
|
|
28070
29658
|
run_print_queue_ticks: {
|
|
28071
29659
|
Args: never;
|
|
28072
29660
|
Returns: number;
|
|
@@ -28444,6 +30032,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
28444
30032
|
};
|
|
28445
30033
|
Returns: number;
|
|
28446
30034
|
};
|
|
30035
|
+
schedule_floriday_trade_items_reconcile: {
|
|
30036
|
+
Args: {
|
|
30037
|
+
p_apikey: string;
|
|
30038
|
+
p_url: string;
|
|
30039
|
+
};
|
|
30040
|
+
Returns: number;
|
|
30041
|
+
};
|
|
28447
30042
|
schedule_floriday_trade_items_sync: {
|
|
28448
30043
|
Args: {
|
|
28449
30044
|
p_apikey: string;
|
|
@@ -28526,6 +30121,26 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
28526
30121
|
};
|
|
28527
30122
|
Returns: undefined;
|
|
28528
30123
|
};
|
|
30124
|
+
set_product_stock: {
|
|
30125
|
+
Args: {
|
|
30126
|
+
p_incoming_stock?: number;
|
|
30127
|
+
p_minimum_stock?: number;
|
|
30128
|
+
p_notes?: string;
|
|
30129
|
+
p_physical_stock: number;
|
|
30130
|
+
p_product_id: string;
|
|
30131
|
+
};
|
|
30132
|
+
Returns: {
|
|
30133
|
+
connection_id: string;
|
|
30134
|
+
incoming_stock: number;
|
|
30135
|
+
minimum_stock: number;
|
|
30136
|
+
notes: string;
|
|
30137
|
+
physical_stock: number;
|
|
30138
|
+
product_id: string;
|
|
30139
|
+
reserved_stock: number;
|
|
30140
|
+
trade_item_key: string;
|
|
30141
|
+
updated_at: string;
|
|
30142
|
+
}[];
|
|
30143
|
+
};
|
|
28529
30144
|
show_limit: {
|
|
28530
30145
|
Args: never;
|
|
28531
30146
|
Returns: number;
|
|
@@ -28768,6 +30383,22 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
28768
30383
|
Args: never;
|
|
28769
30384
|
Returns: boolean;
|
|
28770
30385
|
};
|
|
30386
|
+
uren_is_werkdag: {
|
|
30387
|
+
Args: {
|
|
30388
|
+
_date: string;
|
|
30389
|
+
_monteur: string;
|
|
30390
|
+
};
|
|
30391
|
+
Returns: boolean;
|
|
30392
|
+
};
|
|
30393
|
+
uren_korte_afwezigheid_aanvragen: {
|
|
30394
|
+
Args: {
|
|
30395
|
+
_datum: string;
|
|
30396
|
+
_eind: string;
|
|
30397
|
+
_reden: string;
|
|
30398
|
+
_start: string;
|
|
30399
|
+
};
|
|
30400
|
+
Returns: string;
|
|
30401
|
+
};
|
|
28771
30402
|
uren_list_medewerkers: {
|
|
28772
30403
|
Args: never;
|
|
28773
30404
|
Returns: {
|
|
@@ -28788,6 +30419,45 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
28788
30419
|
roles: string[];
|
|
28789
30420
|
}[];
|
|
28790
30421
|
};
|
|
30422
|
+
uren_list_planner_contacten: {
|
|
30423
|
+
Args: never;
|
|
30424
|
+
Returns: {
|
|
30425
|
+
display_name: string;
|
|
30426
|
+
id: string;
|
|
30427
|
+
phone: string;
|
|
30428
|
+
}[];
|
|
30429
|
+
};
|
|
30430
|
+
uren_maand_afsluiten: {
|
|
30431
|
+
Args: {
|
|
30432
|
+
_maand: string;
|
|
30433
|
+
_monteur: string;
|
|
30434
|
+
};
|
|
30435
|
+
Returns: undefined;
|
|
30436
|
+
};
|
|
30437
|
+
uren_maand_berekenen: {
|
|
30438
|
+
Args: {
|
|
30439
|
+
_maand: string;
|
|
30440
|
+
_monteur: string;
|
|
30441
|
+
};
|
|
30442
|
+
Returns: import("./types").Json;
|
|
30443
|
+
};
|
|
30444
|
+
uren_maand_corrigeren: {
|
|
30445
|
+
Args: {
|
|
30446
|
+
_maand: string;
|
|
30447
|
+
_monteur: string;
|
|
30448
|
+
_overuren_minuten: number;
|
|
30449
|
+
_reden: string;
|
|
30450
|
+
};
|
|
30451
|
+
Returns: undefined;
|
|
30452
|
+
};
|
|
30453
|
+
uren_mijn_contracturen: {
|
|
30454
|
+
Args: never;
|
|
30455
|
+
Returns: number;
|
|
30456
|
+
};
|
|
30457
|
+
uren_mijn_vakantiesaldo: {
|
|
30458
|
+
Args: never;
|
|
30459
|
+
Returns: number;
|
|
30460
|
+
};
|
|
28791
30461
|
uren_my_monteur_id: {
|
|
28792
30462
|
Args: never;
|
|
28793
30463
|
Returns: string;
|
|
@@ -28821,6 +30491,37 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
28821
30491
|
};
|
|
28822
30492
|
Returns: number;
|
|
28823
30493
|
};
|
|
30494
|
+
uren_spiegel_bezig: {
|
|
30495
|
+
Args: never;
|
|
30496
|
+
Returns: boolean;
|
|
30497
|
+
};
|
|
30498
|
+
uren_standaardweek_beoordelen: {
|
|
30499
|
+
Args: {
|
|
30500
|
+
_goedkeuren: boolean;
|
|
30501
|
+
_id: string;
|
|
30502
|
+
_reden?: string;
|
|
30503
|
+
};
|
|
30504
|
+
Returns: undefined;
|
|
30505
|
+
};
|
|
30506
|
+
uren_standaardweek_doorzetten: {
|
|
30507
|
+
Args: {
|
|
30508
|
+
_monteur: string;
|
|
30509
|
+
};
|
|
30510
|
+
Returns: undefined;
|
|
30511
|
+
};
|
|
30512
|
+
uren_standaardweek_instellen: {
|
|
30513
|
+
Args: {
|
|
30514
|
+
_dagen: import("./types").Json;
|
|
30515
|
+
};
|
|
30516
|
+
Returns: string;
|
|
30517
|
+
};
|
|
30518
|
+
uren_standaardweek_toepassen: {
|
|
30519
|
+
Args: {
|
|
30520
|
+
_dagen: import("./types").Json;
|
|
30521
|
+
_monteur: string;
|
|
30522
|
+
};
|
|
30523
|
+
Returns: undefined;
|
|
30524
|
+
};
|
|
28824
30525
|
uren_stop_time_log: {
|
|
28825
30526
|
Args: {
|
|
28826
30527
|
p_employee_id: string;
|
|
@@ -28846,6 +30547,165 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
28846
30547
|
};
|
|
28847
30548
|
Returns: number;
|
|
28848
30549
|
};
|
|
30550
|
+
uren_vakantie_aanvragen: {
|
|
30551
|
+
Args: {
|
|
30552
|
+
_end_date: string;
|
|
30553
|
+
_hours?: number;
|
|
30554
|
+
_start_date: string;
|
|
30555
|
+
};
|
|
30556
|
+
Returns: string;
|
|
30557
|
+
};
|
|
30558
|
+
uren_vakantiedag_wijzigen: {
|
|
30559
|
+
Args: {
|
|
30560
|
+
_date: string;
|
|
30561
|
+
};
|
|
30562
|
+
Returns: string;
|
|
30563
|
+
};
|
|
30564
|
+
uren_vakantiesaldo_uren: {
|
|
30565
|
+
Args: {
|
|
30566
|
+
_monteur: string;
|
|
30567
|
+
};
|
|
30568
|
+
Returns: number;
|
|
30569
|
+
};
|
|
30570
|
+
uren_week_start: {
|
|
30571
|
+
Args: {
|
|
30572
|
+
_datum: string;
|
|
30573
|
+
};
|
|
30574
|
+
Returns: string;
|
|
30575
|
+
};
|
|
30576
|
+
uren_werkweek_opsturen: {
|
|
30577
|
+
Args: {
|
|
30578
|
+
_week_start: string;
|
|
30579
|
+
};
|
|
30580
|
+
Returns: {
|
|
30581
|
+
approved_at: string | null;
|
|
30582
|
+
approved_by: string | null;
|
|
30583
|
+
contract_hours: number;
|
|
30584
|
+
created_at: string;
|
|
30585
|
+
employee_id: string;
|
|
30586
|
+
id: string;
|
|
30587
|
+
locked: boolean;
|
|
30588
|
+
monteur_toelichting: string | null;
|
|
30589
|
+
notes: string | null;
|
|
30590
|
+
planned_hours: number;
|
|
30591
|
+
status: string;
|
|
30592
|
+
submitted_at: string | null;
|
|
30593
|
+
updated_at: string;
|
|
30594
|
+
variance_hours: number;
|
|
30595
|
+
week_start: string;
|
|
30596
|
+
};
|
|
30597
|
+
SetofOptions: {
|
|
30598
|
+
from: "*";
|
|
30599
|
+
to: "time_log_week_approvals";
|
|
30600
|
+
isOneToOne: true;
|
|
30601
|
+
isSetofReturn: false;
|
|
30602
|
+
};
|
|
30603
|
+
} | {
|
|
30604
|
+
Args: {
|
|
30605
|
+
_vrije_dagen?: string[];
|
|
30606
|
+
_week_start: string;
|
|
30607
|
+
};
|
|
30608
|
+
Returns: {
|
|
30609
|
+
approved_at: string | null;
|
|
30610
|
+
approved_by: string | null;
|
|
30611
|
+
contract_hours: number;
|
|
30612
|
+
created_at: string;
|
|
30613
|
+
employee_id: string;
|
|
30614
|
+
id: string;
|
|
30615
|
+
locked: boolean;
|
|
30616
|
+
monteur_toelichting: string | null;
|
|
30617
|
+
notes: string | null;
|
|
30618
|
+
planned_hours: number;
|
|
30619
|
+
status: string;
|
|
30620
|
+
submitted_at: string | null;
|
|
30621
|
+
updated_at: string;
|
|
30622
|
+
variance_hours: number;
|
|
30623
|
+
week_start: string;
|
|
30624
|
+
};
|
|
30625
|
+
SetofOptions: {
|
|
30626
|
+
from: "*";
|
|
30627
|
+
to: "time_log_week_approvals";
|
|
30628
|
+
isOneToOne: true;
|
|
30629
|
+
isSetofReturn: false;
|
|
30630
|
+
};
|
|
30631
|
+
} | {
|
|
30632
|
+
Args: {
|
|
30633
|
+
_toelichting?: string;
|
|
30634
|
+
_vrije_dagen?: string[];
|
|
30635
|
+
_week_start: string;
|
|
30636
|
+
};
|
|
30637
|
+
Returns: {
|
|
30638
|
+
approved_at: string | null;
|
|
30639
|
+
approved_by: string | null;
|
|
30640
|
+
contract_hours: number;
|
|
30641
|
+
created_at: string;
|
|
30642
|
+
employee_id: string;
|
|
30643
|
+
id: string;
|
|
30644
|
+
locked: boolean;
|
|
30645
|
+
monteur_toelichting: string | null;
|
|
30646
|
+
notes: string | null;
|
|
30647
|
+
planned_hours: number;
|
|
30648
|
+
status: string;
|
|
30649
|
+
submitted_at: string | null;
|
|
30650
|
+
updated_at: string;
|
|
30651
|
+
variance_hours: number;
|
|
30652
|
+
week_start: string;
|
|
30653
|
+
};
|
|
30654
|
+
SetofOptions: {
|
|
30655
|
+
from: "*";
|
|
30656
|
+
to: "time_log_week_approvals";
|
|
30657
|
+
isOneToOne: true;
|
|
30658
|
+
isSetofReturn: false;
|
|
30659
|
+
};
|
|
30660
|
+
};
|
|
30661
|
+
vakantie_dagen_gebruikt: {
|
|
30662
|
+
Args: {
|
|
30663
|
+
_user_id: string;
|
|
30664
|
+
_year: number;
|
|
30665
|
+
};
|
|
30666
|
+
Returns: number;
|
|
30667
|
+
};
|
|
30668
|
+
vakantie_overuren: {
|
|
30669
|
+
Args: {
|
|
30670
|
+
_user_id: string;
|
|
30671
|
+
_year?: number;
|
|
30672
|
+
};
|
|
30673
|
+
Returns: number;
|
|
30674
|
+
};
|
|
30675
|
+
vakantie_saldo: {
|
|
30676
|
+
Args: {
|
|
30677
|
+
_user_id: string;
|
|
30678
|
+
_year?: number;
|
|
30679
|
+
};
|
|
30680
|
+
Returns: {
|
|
30681
|
+
day_hours: number;
|
|
30682
|
+
earned_from_overtime_days: number;
|
|
30683
|
+
entitlement_days: number;
|
|
30684
|
+
hours_to_next_day: number;
|
|
30685
|
+
overtime_hours: number;
|
|
30686
|
+
overtime_remainder_hours: number;
|
|
30687
|
+
paid_out_days: number;
|
|
30688
|
+
remaining_days: number;
|
|
30689
|
+
used_days: number;
|
|
30690
|
+
}[];
|
|
30691
|
+
};
|
|
30692
|
+
vakantie_saldo_overzicht: {
|
|
30693
|
+
Args: {
|
|
30694
|
+
_year?: number;
|
|
30695
|
+
};
|
|
30696
|
+
Returns: {
|
|
30697
|
+
day_hours: number;
|
|
30698
|
+
earned_from_overtime_days: number;
|
|
30699
|
+
entitlement_days: number;
|
|
30700
|
+
hours_to_next_day: number;
|
|
30701
|
+
overtime_hours: number;
|
|
30702
|
+
overtime_remainder_hours: number;
|
|
30703
|
+
paid_out_days: number;
|
|
30704
|
+
remaining_days: number;
|
|
30705
|
+
used_days: number;
|
|
30706
|
+
user_id: string;
|
|
30707
|
+
}[];
|
|
30708
|
+
};
|
|
28849
30709
|
voorraad_cleanup_old_rows: {
|
|
28850
30710
|
Args: never;
|
|
28851
30711
|
Returns: import("./types").Json;
|
|
@@ -28894,12 +30754,25 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
28894
30754
|
};
|
|
28895
30755
|
Returns: import("./types").Json;
|
|
28896
30756
|
};
|
|
30757
|
+
wo_list_proposals: {
|
|
30758
|
+
Args: {
|
|
30759
|
+
_status?: string;
|
|
30760
|
+
};
|
|
30761
|
+
Returns: import("./types").Json;
|
|
30762
|
+
};
|
|
28897
30763
|
wo_process_offerte_request: {
|
|
28898
30764
|
Args: {
|
|
28899
30765
|
_queue_id: string;
|
|
28900
30766
|
};
|
|
28901
30767
|
Returns: import("./types").Json;
|
|
28902
30768
|
};
|
|
30769
|
+
wo_process_proposal: {
|
|
30770
|
+
Args: {
|
|
30771
|
+
_id: string;
|
|
30772
|
+
_overrides?: import("./types").Json;
|
|
30773
|
+
};
|
|
30774
|
+
Returns: import("./types").Json;
|
|
30775
|
+
};
|
|
28903
30776
|
wo_reject_offerte_request: {
|
|
28904
30777
|
Args: {
|
|
28905
30778
|
_queue_id: string;
|
|
@@ -28907,6 +30780,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
28907
30780
|
};
|
|
28908
30781
|
Returns: import("./types").Json;
|
|
28909
30782
|
};
|
|
30783
|
+
wo_reject_proposal: {
|
|
30784
|
+
Args: {
|
|
30785
|
+
_id: string;
|
|
30786
|
+
_reden?: string;
|
|
30787
|
+
};
|
|
30788
|
+
Returns: import("./types").Json;
|
|
30789
|
+
};
|
|
28910
30790
|
wo_set_status: {
|
|
28911
30791
|
Args: {
|
|
28912
30792
|
_reason?: string;
|