@flowselections/floriday-voorraad 1.0.49 → 1.0.50
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/voorraad/CollapsibleText.d.ts.map +1 -1
- package/dist-lib/components/voorraad/CollapsibleText.js +14 -11
- package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockMutationHistoryCard.js +17 -16
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +360 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +2 -30680
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.js +4 -27
- package/dist-lib/integrations/supabase/client.server.d.ts +360 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +372 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts +360 -0
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts +360 -0
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-env.functions.d.ts +720 -0
- package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.functions.d.ts +2160 -0
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts +720 -0
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +1080 -0
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +720 -0
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/inventory-settings.functions.d.ts +720 -0
- package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/stock-sync.functions.d.ts +720 -0
- package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -8293,6 +8293,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
8293
8293
|
postal_code: string;
|
|
8294
8294
|
primary_color: string;
|
|
8295
8295
|
secondary_color: string;
|
|
8296
|
+
show_company_name: boolean;
|
|
8296
8297
|
singleton_key: boolean;
|
|
8297
8298
|
updated_at: string;
|
|
8298
8299
|
vat_identification_number: string;
|
|
@@ -8313,6 +8314,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
8313
8314
|
postal_code?: string;
|
|
8314
8315
|
primary_color?: string;
|
|
8315
8316
|
secondary_color?: string;
|
|
8317
|
+
show_company_name?: boolean;
|
|
8316
8318
|
singleton_key?: boolean;
|
|
8317
8319
|
updated_at?: string;
|
|
8318
8320
|
vat_identification_number?: string;
|
|
@@ -8333,6 +8335,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
8333
8335
|
postal_code?: string;
|
|
8334
8336
|
primary_color?: string;
|
|
8335
8337
|
secondary_color?: string;
|
|
8338
|
+
show_company_name?: boolean;
|
|
8336
8339
|
singleton_key?: boolean;
|
|
8337
8340
|
updated_at?: string;
|
|
8338
8341
|
vat_identification_number?: string;
|
|
@@ -14705,6 +14708,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
14705
14708
|
next_attempt_at: string;
|
|
14706
14709
|
order_id: string;
|
|
14707
14710
|
processed_at: string | null;
|
|
14711
|
+
send_error: string | null;
|
|
14708
14712
|
status: string;
|
|
14709
14713
|
updated_at: string;
|
|
14710
14714
|
};
|
|
@@ -14718,6 +14722,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
14718
14722
|
next_attempt_at?: string;
|
|
14719
14723
|
order_id: string;
|
|
14720
14724
|
processed_at?: string | null;
|
|
14725
|
+
send_error?: string | null;
|
|
14721
14726
|
status?: string;
|
|
14722
14727
|
updated_at?: string;
|
|
14723
14728
|
};
|
|
@@ -14731,6 +14736,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
14731
14736
|
next_attempt_at?: string;
|
|
14732
14737
|
order_id?: string;
|
|
14733
14738
|
processed_at?: string | null;
|
|
14739
|
+
send_error?: string | null;
|
|
14734
14740
|
status?: string;
|
|
14735
14741
|
updated_at?: string;
|
|
14736
14742
|
};
|
|
@@ -17760,6 +17766,66 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
17760
17766
|
};
|
|
17761
17767
|
Relationships: [];
|
|
17762
17768
|
};
|
|
17769
|
+
product_suppliers: {
|
|
17770
|
+
Row: {
|
|
17771
|
+
created_at: string;
|
|
17772
|
+
id: string;
|
|
17773
|
+
is_preferred: boolean;
|
|
17774
|
+
lead_time_days: number | null;
|
|
17775
|
+
min_order_quantity: number | null;
|
|
17776
|
+
notes: string | null;
|
|
17777
|
+
product_id: string;
|
|
17778
|
+
purchase_price_cents: number | null;
|
|
17779
|
+
supplier_article_number: string | null;
|
|
17780
|
+
supplier_id: string;
|
|
17781
|
+
updated_at: string;
|
|
17782
|
+
};
|
|
17783
|
+
Insert: {
|
|
17784
|
+
created_at?: string;
|
|
17785
|
+
id?: string;
|
|
17786
|
+
is_preferred?: boolean;
|
|
17787
|
+
lead_time_days?: number | null;
|
|
17788
|
+
min_order_quantity?: number | null;
|
|
17789
|
+
notes?: string | null;
|
|
17790
|
+
product_id: string;
|
|
17791
|
+
purchase_price_cents?: number | null;
|
|
17792
|
+
supplier_article_number?: string | null;
|
|
17793
|
+
supplier_id: string;
|
|
17794
|
+
updated_at?: string;
|
|
17795
|
+
};
|
|
17796
|
+
Update: {
|
|
17797
|
+
created_at?: string;
|
|
17798
|
+
id?: string;
|
|
17799
|
+
is_preferred?: boolean;
|
|
17800
|
+
lead_time_days?: number | null;
|
|
17801
|
+
min_order_quantity?: number | null;
|
|
17802
|
+
notes?: string | null;
|
|
17803
|
+
product_id?: string;
|
|
17804
|
+
purchase_price_cents?: number | null;
|
|
17805
|
+
supplier_article_number?: string | null;
|
|
17806
|
+
supplier_id?: string;
|
|
17807
|
+
updated_at?: string;
|
|
17808
|
+
};
|
|
17809
|
+
Relationships: [{
|
|
17810
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17811
|
+
columns: ["product_id"];
|
|
17812
|
+
isOneToOne: false;
|
|
17813
|
+
referencedRelation: "logistics_product_dimensions";
|
|
17814
|
+
referencedColumns: ["product_id"];
|
|
17815
|
+
}, {
|
|
17816
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
17817
|
+
columns: ["product_id"];
|
|
17818
|
+
isOneToOne: false;
|
|
17819
|
+
referencedRelation: "products";
|
|
17820
|
+
referencedColumns: ["id"];
|
|
17821
|
+
}, {
|
|
17822
|
+
foreignKeyName: "product_suppliers_supplier_id_fkey";
|
|
17823
|
+
columns: ["supplier_id"];
|
|
17824
|
+
isOneToOne: false;
|
|
17825
|
+
referencedRelation: "suppliers";
|
|
17826
|
+
referencedColumns: ["id"];
|
|
17827
|
+
}];
|
|
17828
|
+
};
|
|
17763
17829
|
product_tray_stickers: {
|
|
17764
17830
|
Row: {
|
|
17765
17831
|
bestand_url: string;
|
|
@@ -18264,9 +18330,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
18264
18330
|
purchase_order_items: {
|
|
18265
18331
|
Row: {
|
|
18266
18332
|
article_number: string | null;
|
|
18333
|
+
cancelled_at: string | null;
|
|
18267
18334
|
created_at: string;
|
|
18268
18335
|
delivery_date: string | null;
|
|
18269
18336
|
id: string;
|
|
18337
|
+
incoming_booked: number;
|
|
18338
|
+
line_status: string;
|
|
18270
18339
|
name: string;
|
|
18271
18340
|
note: string | null;
|
|
18272
18341
|
pot_size: string | null;
|
|
@@ -18274,6 +18343,8 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
18274
18343
|
product_type: string;
|
|
18275
18344
|
purchase_order_id: string;
|
|
18276
18345
|
quantity: number;
|
|
18346
|
+
received_at: string | null;
|
|
18347
|
+
received_booked: number;
|
|
18277
18348
|
supplier_id: string | null;
|
|
18278
18349
|
supplier_product_id: string | null;
|
|
18279
18350
|
unit_price_cents: number;
|
|
@@ -18281,9 +18352,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
18281
18352
|
};
|
|
18282
18353
|
Insert: {
|
|
18283
18354
|
article_number?: string | null;
|
|
18355
|
+
cancelled_at?: string | null;
|
|
18284
18356
|
created_at?: string;
|
|
18285
18357
|
delivery_date?: string | null;
|
|
18286
18358
|
id?: string;
|
|
18359
|
+
incoming_booked?: number;
|
|
18360
|
+
line_status?: string;
|
|
18287
18361
|
name?: string;
|
|
18288
18362
|
note?: string | null;
|
|
18289
18363
|
pot_size?: string | null;
|
|
@@ -18291,6 +18365,8 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
18291
18365
|
product_type?: string;
|
|
18292
18366
|
purchase_order_id: string;
|
|
18293
18367
|
quantity?: number;
|
|
18368
|
+
received_at?: string | null;
|
|
18369
|
+
received_booked?: number;
|
|
18294
18370
|
supplier_id?: string | null;
|
|
18295
18371
|
supplier_product_id?: string | null;
|
|
18296
18372
|
unit_price_cents?: number;
|
|
@@ -18298,9 +18374,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
18298
18374
|
};
|
|
18299
18375
|
Update: {
|
|
18300
18376
|
article_number?: string | null;
|
|
18377
|
+
cancelled_at?: string | null;
|
|
18301
18378
|
created_at?: string;
|
|
18302
18379
|
delivery_date?: string | null;
|
|
18303
18380
|
id?: string;
|
|
18381
|
+
incoming_booked?: number;
|
|
18382
|
+
line_status?: string;
|
|
18304
18383
|
name?: string;
|
|
18305
18384
|
note?: string | null;
|
|
18306
18385
|
pot_size?: string | null;
|
|
@@ -18308,6 +18387,8 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
18308
18387
|
product_type?: string;
|
|
18309
18388
|
purchase_order_id?: string;
|
|
18310
18389
|
quantity?: number;
|
|
18390
|
+
received_at?: string | null;
|
|
18391
|
+
received_booked?: number;
|
|
18311
18392
|
supplier_id?: string | null;
|
|
18312
18393
|
supplier_product_id?: string | null;
|
|
18313
18394
|
unit_price_cents?: number;
|
|
@@ -18411,6 +18492,153 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
18411
18492
|
referencedColumns: ["id"];
|
|
18412
18493
|
}];
|
|
18413
18494
|
};
|
|
18495
|
+
purchase_request_events: {
|
|
18496
|
+
Row: {
|
|
18497
|
+
created_at: string;
|
|
18498
|
+
details: import("../integrations/supabase/types").Json | null;
|
|
18499
|
+
event_type: string;
|
|
18500
|
+
id: string;
|
|
18501
|
+
request_id: string;
|
|
18502
|
+
};
|
|
18503
|
+
Insert: {
|
|
18504
|
+
created_at?: string;
|
|
18505
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
18506
|
+
event_type: string;
|
|
18507
|
+
id?: string;
|
|
18508
|
+
request_id: string;
|
|
18509
|
+
};
|
|
18510
|
+
Update: {
|
|
18511
|
+
created_at?: string;
|
|
18512
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
18513
|
+
event_type?: string;
|
|
18514
|
+
id?: string;
|
|
18515
|
+
request_id?: string;
|
|
18516
|
+
};
|
|
18517
|
+
Relationships: [{
|
|
18518
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
18519
|
+
columns: ["request_id"];
|
|
18520
|
+
isOneToOne: false;
|
|
18521
|
+
referencedRelation: "purchase_requests";
|
|
18522
|
+
referencedColumns: ["id"];
|
|
18523
|
+
}];
|
|
18524
|
+
};
|
|
18525
|
+
purchase_request_responses: {
|
|
18526
|
+
Row: {
|
|
18527
|
+
confirmed_date: string | null;
|
|
18528
|
+
confirmed_price_cents: number | null;
|
|
18529
|
+
confirmed_quantity: number;
|
|
18530
|
+
created_at: string;
|
|
18531
|
+
id: string;
|
|
18532
|
+
not_available: boolean;
|
|
18533
|
+
note: string | null;
|
|
18534
|
+
purchase_order_item_id: string;
|
|
18535
|
+
request_id: string;
|
|
18536
|
+
updated_at: string;
|
|
18537
|
+
};
|
|
18538
|
+
Insert: {
|
|
18539
|
+
confirmed_date?: string | null;
|
|
18540
|
+
confirmed_price_cents?: number | null;
|
|
18541
|
+
confirmed_quantity?: number;
|
|
18542
|
+
created_at?: string;
|
|
18543
|
+
id?: string;
|
|
18544
|
+
not_available?: boolean;
|
|
18545
|
+
note?: string | null;
|
|
18546
|
+
purchase_order_item_id: string;
|
|
18547
|
+
request_id: string;
|
|
18548
|
+
updated_at?: string;
|
|
18549
|
+
};
|
|
18550
|
+
Update: {
|
|
18551
|
+
confirmed_date?: string | null;
|
|
18552
|
+
confirmed_price_cents?: number | null;
|
|
18553
|
+
confirmed_quantity?: number;
|
|
18554
|
+
created_at?: string;
|
|
18555
|
+
id?: string;
|
|
18556
|
+
not_available?: boolean;
|
|
18557
|
+
note?: string | null;
|
|
18558
|
+
purchase_order_item_id?: string;
|
|
18559
|
+
request_id?: string;
|
|
18560
|
+
updated_at?: string;
|
|
18561
|
+
};
|
|
18562
|
+
Relationships: [{
|
|
18563
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
18564
|
+
columns: ["purchase_order_item_id"];
|
|
18565
|
+
isOneToOne: false;
|
|
18566
|
+
referencedRelation: "purchase_order_items";
|
|
18567
|
+
referencedColumns: ["id"];
|
|
18568
|
+
}, {
|
|
18569
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
18570
|
+
columns: ["request_id"];
|
|
18571
|
+
isOneToOne: false;
|
|
18572
|
+
referencedRelation: "purchase_requests";
|
|
18573
|
+
referencedColumns: ["id"];
|
|
18574
|
+
}];
|
|
18575
|
+
};
|
|
18576
|
+
purchase_requests: {
|
|
18577
|
+
Row: {
|
|
18578
|
+
created_at: string;
|
|
18579
|
+
expires_at: string;
|
|
18580
|
+
first_viewed_at: string | null;
|
|
18581
|
+
id: string;
|
|
18582
|
+
processed_at: string | null;
|
|
18583
|
+
purchase_order_id: string;
|
|
18584
|
+
responded_at: string | null;
|
|
18585
|
+
sent_at: string;
|
|
18586
|
+
status: string;
|
|
18587
|
+
supplier_id: string | null;
|
|
18588
|
+
supplier_name: string;
|
|
18589
|
+
supplier_note: string | null;
|
|
18590
|
+
to_address: string | null;
|
|
18591
|
+
token_hash: string;
|
|
18592
|
+
updated_at: string;
|
|
18593
|
+
};
|
|
18594
|
+
Insert: {
|
|
18595
|
+
created_at?: string;
|
|
18596
|
+
expires_at?: string;
|
|
18597
|
+
first_viewed_at?: string | null;
|
|
18598
|
+
id?: string;
|
|
18599
|
+
processed_at?: string | null;
|
|
18600
|
+
purchase_order_id: string;
|
|
18601
|
+
responded_at?: string | null;
|
|
18602
|
+
sent_at?: string;
|
|
18603
|
+
status?: string;
|
|
18604
|
+
supplier_id?: string | null;
|
|
18605
|
+
supplier_name?: string;
|
|
18606
|
+
supplier_note?: string | null;
|
|
18607
|
+
to_address?: string | null;
|
|
18608
|
+
token_hash: string;
|
|
18609
|
+
updated_at?: string;
|
|
18610
|
+
};
|
|
18611
|
+
Update: {
|
|
18612
|
+
created_at?: string;
|
|
18613
|
+
expires_at?: string;
|
|
18614
|
+
first_viewed_at?: string | null;
|
|
18615
|
+
id?: string;
|
|
18616
|
+
processed_at?: string | null;
|
|
18617
|
+
purchase_order_id?: string;
|
|
18618
|
+
responded_at?: string | null;
|
|
18619
|
+
sent_at?: string;
|
|
18620
|
+
status?: string;
|
|
18621
|
+
supplier_id?: string | null;
|
|
18622
|
+
supplier_name?: string;
|
|
18623
|
+
supplier_note?: string | null;
|
|
18624
|
+
to_address?: string | null;
|
|
18625
|
+
token_hash?: string;
|
|
18626
|
+
updated_at?: string;
|
|
18627
|
+
};
|
|
18628
|
+
Relationships: [{
|
|
18629
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
18630
|
+
columns: ["purchase_order_id"];
|
|
18631
|
+
isOneToOne: false;
|
|
18632
|
+
referencedRelation: "purchase_orders";
|
|
18633
|
+
referencedColumns: ["id"];
|
|
18634
|
+
}, {
|
|
18635
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
18636
|
+
columns: ["supplier_id"];
|
|
18637
|
+
isOneToOne: false;
|
|
18638
|
+
referencedRelation: "suppliers";
|
|
18639
|
+
referencedColumns: ["id"];
|
|
18640
|
+
}];
|
|
18641
|
+
};
|
|
18414
18642
|
reception_notifications: {
|
|
18415
18643
|
Row: {
|
|
18416
18644
|
booking_id: string | null;
|
|
@@ -20574,6 +20802,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
20574
20802
|
auto_invoice_enabled: boolean;
|
|
20575
20803
|
auto_invoice_start_date: string | null;
|
|
20576
20804
|
auto_invoice_trigger_statuses: string[];
|
|
20805
|
+
auto_send_mode: string | null;
|
|
20577
20806
|
created_at: string;
|
|
20578
20807
|
debtor_gl_account: string;
|
|
20579
20808
|
default_article_code: string | null;
|
|
@@ -20602,6 +20831,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
20602
20831
|
auto_invoice_enabled?: boolean;
|
|
20603
20832
|
auto_invoice_start_date?: string | null;
|
|
20604
20833
|
auto_invoice_trigger_statuses?: string[];
|
|
20834
|
+
auto_send_mode?: string | null;
|
|
20605
20835
|
created_at?: string;
|
|
20606
20836
|
debtor_gl_account?: string;
|
|
20607
20837
|
default_article_code?: string | null;
|
|
@@ -20630,6 +20860,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
20630
20860
|
auto_invoice_enabled?: boolean;
|
|
20631
20861
|
auto_invoice_start_date?: string | null;
|
|
20632
20862
|
auto_invoice_trigger_statuses?: string[];
|
|
20863
|
+
auto_send_mode?: string | null;
|
|
20633
20864
|
created_at?: string;
|
|
20634
20865
|
debtor_gl_account?: string;
|
|
20635
20866
|
default_article_code?: string | null;
|
|
@@ -21073,16 +21304,19 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
21073
21304
|
Row: {
|
|
21074
21305
|
active_environment: string;
|
|
21075
21306
|
id: number;
|
|
21307
|
+
public_base_url: string | null;
|
|
21076
21308
|
updated_at: string;
|
|
21077
21309
|
};
|
|
21078
21310
|
Insert: {
|
|
21079
21311
|
active_environment?: string;
|
|
21080
21312
|
id?: number;
|
|
21313
|
+
public_base_url?: string | null;
|
|
21081
21314
|
updated_at?: string;
|
|
21082
21315
|
};
|
|
21083
21316
|
Update: {
|
|
21084
21317
|
active_environment?: string;
|
|
21085
21318
|
id?: number;
|
|
21319
|
+
public_base_url?: string | null;
|
|
21086
21320
|
updated_at?: string;
|
|
21087
21321
|
};
|
|
21088
21322
|
Relationships: [];
|
|
@@ -21313,11 +21547,15 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
21313
21547
|
monteur_id: string;
|
|
21314
21548
|
netto_verschil_minuten: number;
|
|
21315
21549
|
normaal_uitbetaald_minuten: number;
|
|
21550
|
+
omgezet_vakantie_minuten: number;
|
|
21551
|
+
overdracht_vorige_minuten: number;
|
|
21316
21552
|
overuren_minuten: number;
|
|
21317
21553
|
plus_minuten: number;
|
|
21554
|
+
rest_overuren_minuten: number;
|
|
21318
21555
|
status: string;
|
|
21319
21556
|
totaal_uitbetaald_minuten: number;
|
|
21320
21557
|
updated_at: string;
|
|
21558
|
+
vakantie_uren_bijgeschreven: number;
|
|
21321
21559
|
};
|
|
21322
21560
|
Insert: {
|
|
21323
21561
|
afgesloten_at?: string | null;
|
|
@@ -21334,11 +21572,15 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
21334
21572
|
monteur_id: string;
|
|
21335
21573
|
netto_verschil_minuten?: number;
|
|
21336
21574
|
normaal_uitbetaald_minuten?: number;
|
|
21575
|
+
omgezet_vakantie_minuten?: number;
|
|
21576
|
+
overdracht_vorige_minuten?: number;
|
|
21337
21577
|
overuren_minuten?: number;
|
|
21338
21578
|
plus_minuten?: number;
|
|
21579
|
+
rest_overuren_minuten?: number;
|
|
21339
21580
|
status?: string;
|
|
21340
21581
|
totaal_uitbetaald_minuten?: number;
|
|
21341
21582
|
updated_at?: string;
|
|
21583
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21342
21584
|
};
|
|
21343
21585
|
Update: {
|
|
21344
21586
|
afgesloten_at?: string | null;
|
|
@@ -21355,11 +21597,15 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
21355
21597
|
monteur_id?: string;
|
|
21356
21598
|
netto_verschil_minuten?: number;
|
|
21357
21599
|
normaal_uitbetaald_minuten?: number;
|
|
21600
|
+
omgezet_vakantie_minuten?: number;
|
|
21601
|
+
overdracht_vorige_minuten?: number;
|
|
21358
21602
|
overuren_minuten?: number;
|
|
21359
21603
|
plus_minuten?: number;
|
|
21604
|
+
rest_overuren_minuten?: number;
|
|
21360
21605
|
status?: string;
|
|
21361
21606
|
totaal_uitbetaald_minuten?: number;
|
|
21362
21607
|
updated_at?: string;
|
|
21608
|
+
vakantie_uren_bijgeschreven?: number;
|
|
21363
21609
|
};
|
|
21364
21610
|
Relationships: [];
|
|
21365
21611
|
};
|
|
@@ -25848,13 +26094,69 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
25848
26094
|
};
|
|
25849
26095
|
Returns: import("../integrations/supabase/types").Json;
|
|
25850
26096
|
};
|
|
26097
|
+
inkoop_get_supplier_request: {
|
|
26098
|
+
Args: {
|
|
26099
|
+
_token: string;
|
|
26100
|
+
};
|
|
26101
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26102
|
+
};
|
|
26103
|
+
inkoop_hash_token: {
|
|
26104
|
+
Args: {
|
|
26105
|
+
_token: string;
|
|
26106
|
+
};
|
|
26107
|
+
Returns: string;
|
|
26108
|
+
};
|
|
26109
|
+
inkoop_html_escape: {
|
|
26110
|
+
Args: {
|
|
26111
|
+
_t: string;
|
|
26112
|
+
};
|
|
26113
|
+
Returns: string;
|
|
26114
|
+
};
|
|
26115
|
+
inkoop_list_artikelen: {
|
|
26116
|
+
Args: never;
|
|
26117
|
+
Returns: {
|
|
26118
|
+
article_number: string;
|
|
26119
|
+
barcode: string;
|
|
26120
|
+
id: string;
|
|
26121
|
+
incoming_quantity: number;
|
|
26122
|
+
is_layer: boolean;
|
|
26123
|
+
location: string;
|
|
26124
|
+
min_quantity: number;
|
|
26125
|
+
preferred_supplier_name: string;
|
|
26126
|
+
product: string;
|
|
26127
|
+
product_type: string;
|
|
26128
|
+
purchase_price: number;
|
|
26129
|
+
quantity: number;
|
|
26130
|
+
sale_price: number;
|
|
26131
|
+
supplier_count: number;
|
|
26132
|
+
unit: string;
|
|
26133
|
+
}[];
|
|
26134
|
+
};
|
|
25851
26135
|
inkoop_next_order_number: {
|
|
25852
26136
|
Args: never;
|
|
25853
26137
|
Returns: string;
|
|
25854
26138
|
};
|
|
26139
|
+
inkoop_process_request: {
|
|
26140
|
+
Args: {
|
|
26141
|
+
_request_id: string;
|
|
26142
|
+
};
|
|
26143
|
+
Returns: undefined;
|
|
26144
|
+
};
|
|
25855
26145
|
inkoop_send_order: {
|
|
25856
26146
|
Args: {
|
|
26147
|
+
_base_url?: string;
|
|
26148
|
+
_order_id: string;
|
|
26149
|
+
};
|
|
26150
|
+
Returns: {
|
|
26151
|
+
outbox_id: string;
|
|
26152
|
+
supplier_name: string;
|
|
26153
|
+
to_address: string;
|
|
26154
|
+
}[];
|
|
26155
|
+
} | {
|
|
26156
|
+
Args: {
|
|
26157
|
+
_base_url?: string;
|
|
25857
26158
|
_order_id: string;
|
|
26159
|
+
_resend?: boolean;
|
|
25858
26160
|
};
|
|
25859
26161
|
Returns: {
|
|
25860
26162
|
outbox_id: string;
|
|
@@ -25862,6 +26164,33 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
25862
26164
|
to_address: string;
|
|
25863
26165
|
}[];
|
|
25864
26166
|
};
|
|
26167
|
+
inkoop_set_preferred_supplier: {
|
|
26168
|
+
Args: {
|
|
26169
|
+
_product_id: string;
|
|
26170
|
+
_supplier_id: string;
|
|
26171
|
+
};
|
|
26172
|
+
Returns: undefined;
|
|
26173
|
+
};
|
|
26174
|
+
inkoop_stock_key: {
|
|
26175
|
+
Args: {
|
|
26176
|
+
p_product_id: string;
|
|
26177
|
+
};
|
|
26178
|
+
Returns: string;
|
|
26179
|
+
};
|
|
26180
|
+
inkoop_submit_supplier_response: {
|
|
26181
|
+
Args: {
|
|
26182
|
+
_lines: import("../integrations/supabase/types").Json;
|
|
26183
|
+
_note?: string;
|
|
26184
|
+
_token: string;
|
|
26185
|
+
};
|
|
26186
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26187
|
+
};
|
|
26188
|
+
inkoop_sync_item_stock: {
|
|
26189
|
+
Args: {
|
|
26190
|
+
p_item_id: string;
|
|
26191
|
+
};
|
|
26192
|
+
Returns: undefined;
|
|
26193
|
+
};
|
|
25865
26194
|
instructie_get: {
|
|
25866
26195
|
Args: {
|
|
25867
26196
|
_sleutel: string;
|
|
@@ -27133,6 +27462,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
27133
27462
|
Args: never;
|
|
27134
27463
|
Returns: string;
|
|
27135
27464
|
};
|
|
27465
|
+
logistics_order_backlog_info: {
|
|
27466
|
+
Args: {
|
|
27467
|
+
p_order_id: string;
|
|
27468
|
+
};
|
|
27469
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27470
|
+
};
|
|
27136
27471
|
logistics_order_cart_approval: {
|
|
27137
27472
|
Args: {
|
|
27138
27473
|
_order_ref: string;
|
|
@@ -27223,6 +27558,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
27223
27558
|
};
|
|
27224
27559
|
Returns: boolean;
|
|
27225
27560
|
};
|
|
27561
|
+
logistics_order_is_backlog: {
|
|
27562
|
+
Args: {
|
|
27563
|
+
p_order_id: string;
|
|
27564
|
+
};
|
|
27565
|
+
Returns: boolean;
|
|
27566
|
+
};
|
|
27226
27567
|
logistics_order_is_topick: {
|
|
27227
27568
|
Args: {
|
|
27228
27569
|
p_order_id: string;
|
|
@@ -27364,6 +27705,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
27364
27705
|
shifted_count: number;
|
|
27365
27706
|
}[];
|
|
27366
27707
|
};
|
|
27708
|
+
logistics_pick_backlog_max_days: {
|
|
27709
|
+
Args: never;
|
|
27710
|
+
Returns: number;
|
|
27711
|
+
};
|
|
27367
27712
|
logistics_pick_barcode_enabled: {
|
|
27368
27713
|
Args: never;
|
|
27369
27714
|
Returns: boolean;
|
|
@@ -27979,12 +28324,27 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
27979
28324
|
Args: never;
|
|
27980
28325
|
Returns: import("../integrations/supabase/types").Json;
|
|
27981
28326
|
};
|
|
28327
|
+
logistics_sync_pick_queue_backlog: {
|
|
28328
|
+
Args: never;
|
|
28329
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28330
|
+
};
|
|
28331
|
+
logistics_sync_pick_queue_core: {
|
|
28332
|
+
Args: never;
|
|
28333
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28334
|
+
};
|
|
27982
28335
|
logistics_sync_task_carriers: {
|
|
27983
28336
|
Args: {
|
|
27984
28337
|
p_order_ref?: string;
|
|
27985
28338
|
};
|
|
27986
28339
|
Returns: number;
|
|
27987
28340
|
};
|
|
28341
|
+
logistics_task_open_counts: {
|
|
28342
|
+
Args: never;
|
|
28343
|
+
Returns: {
|
|
28344
|
+
open_count: number;
|
|
28345
|
+
owner_module: string;
|
|
28346
|
+
}[];
|
|
28347
|
+
};
|
|
27988
28348
|
logistics_task_owner: {
|
|
27989
28349
|
Args: {
|
|
27990
28350
|
p_task_type: string;
|
|
@@ -38982,6 +39342,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
38982
39342
|
postal_code: string;
|
|
38983
39343
|
primary_color: string;
|
|
38984
39344
|
secondary_color: string;
|
|
39345
|
+
show_company_name: boolean;
|
|
38985
39346
|
singleton_key: boolean;
|
|
38986
39347
|
updated_at: string;
|
|
38987
39348
|
vat_identification_number: string;
|
|
@@ -39002,6 +39363,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39002
39363
|
postal_code?: string;
|
|
39003
39364
|
primary_color?: string;
|
|
39004
39365
|
secondary_color?: string;
|
|
39366
|
+
show_company_name?: boolean;
|
|
39005
39367
|
singleton_key?: boolean;
|
|
39006
39368
|
updated_at?: string;
|
|
39007
39369
|
vat_identification_number?: string;
|
|
@@ -39022,6 +39384,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39022
39384
|
postal_code?: string;
|
|
39023
39385
|
primary_color?: string;
|
|
39024
39386
|
secondary_color?: string;
|
|
39387
|
+
show_company_name?: boolean;
|
|
39025
39388
|
singleton_key?: boolean;
|
|
39026
39389
|
updated_at?: string;
|
|
39027
39390
|
vat_identification_number?: string;
|
|
@@ -45394,6 +45757,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
45394
45757
|
next_attempt_at: string;
|
|
45395
45758
|
order_id: string;
|
|
45396
45759
|
processed_at: string | null;
|
|
45760
|
+
send_error: string | null;
|
|
45397
45761
|
status: string;
|
|
45398
45762
|
updated_at: string;
|
|
45399
45763
|
};
|
|
@@ -45407,6 +45771,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
45407
45771
|
next_attempt_at?: string;
|
|
45408
45772
|
order_id: string;
|
|
45409
45773
|
processed_at?: string | null;
|
|
45774
|
+
send_error?: string | null;
|
|
45410
45775
|
status?: string;
|
|
45411
45776
|
updated_at?: string;
|
|
45412
45777
|
};
|
|
@@ -45420,6 +45785,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
45420
45785
|
next_attempt_at?: string;
|
|
45421
45786
|
order_id?: string;
|
|
45422
45787
|
processed_at?: string | null;
|
|
45788
|
+
send_error?: string | null;
|
|
45423
45789
|
status?: string;
|
|
45424
45790
|
updated_at?: string;
|
|
45425
45791
|
};
|
|
@@ -48449,6 +48815,66 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
48449
48815
|
};
|
|
48450
48816
|
Relationships: [];
|
|
48451
48817
|
};
|
|
48818
|
+
product_suppliers: {
|
|
48819
|
+
Row: {
|
|
48820
|
+
created_at: string;
|
|
48821
|
+
id: string;
|
|
48822
|
+
is_preferred: boolean;
|
|
48823
|
+
lead_time_days: number | null;
|
|
48824
|
+
min_order_quantity: number | null;
|
|
48825
|
+
notes: string | null;
|
|
48826
|
+
product_id: string;
|
|
48827
|
+
purchase_price_cents: number | null;
|
|
48828
|
+
supplier_article_number: string | null;
|
|
48829
|
+
supplier_id: string;
|
|
48830
|
+
updated_at: string;
|
|
48831
|
+
};
|
|
48832
|
+
Insert: {
|
|
48833
|
+
created_at?: string;
|
|
48834
|
+
id?: string;
|
|
48835
|
+
is_preferred?: boolean;
|
|
48836
|
+
lead_time_days?: number | null;
|
|
48837
|
+
min_order_quantity?: number | null;
|
|
48838
|
+
notes?: string | null;
|
|
48839
|
+
product_id: string;
|
|
48840
|
+
purchase_price_cents?: number | null;
|
|
48841
|
+
supplier_article_number?: string | null;
|
|
48842
|
+
supplier_id: string;
|
|
48843
|
+
updated_at?: string;
|
|
48844
|
+
};
|
|
48845
|
+
Update: {
|
|
48846
|
+
created_at?: string;
|
|
48847
|
+
id?: string;
|
|
48848
|
+
is_preferred?: boolean;
|
|
48849
|
+
lead_time_days?: number | null;
|
|
48850
|
+
min_order_quantity?: number | null;
|
|
48851
|
+
notes?: string | null;
|
|
48852
|
+
product_id?: string;
|
|
48853
|
+
purchase_price_cents?: number | null;
|
|
48854
|
+
supplier_article_number?: string | null;
|
|
48855
|
+
supplier_id?: string;
|
|
48856
|
+
updated_at?: string;
|
|
48857
|
+
};
|
|
48858
|
+
Relationships: [{
|
|
48859
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
48860
|
+
columns: ["product_id"];
|
|
48861
|
+
isOneToOne: false;
|
|
48862
|
+
referencedRelation: "logistics_product_dimensions";
|
|
48863
|
+
referencedColumns: ["product_id"];
|
|
48864
|
+
}, {
|
|
48865
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
48866
|
+
columns: ["product_id"];
|
|
48867
|
+
isOneToOne: false;
|
|
48868
|
+
referencedRelation: "products";
|
|
48869
|
+
referencedColumns: ["id"];
|
|
48870
|
+
}, {
|
|
48871
|
+
foreignKeyName: "product_suppliers_supplier_id_fkey";
|
|
48872
|
+
columns: ["supplier_id"];
|
|
48873
|
+
isOneToOne: false;
|
|
48874
|
+
referencedRelation: "suppliers";
|
|
48875
|
+
referencedColumns: ["id"];
|
|
48876
|
+
}];
|
|
48877
|
+
};
|
|
48452
48878
|
product_tray_stickers: {
|
|
48453
48879
|
Row: {
|
|
48454
48880
|
bestand_url: string;
|
|
@@ -48953,9 +49379,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
48953
49379
|
purchase_order_items: {
|
|
48954
49380
|
Row: {
|
|
48955
49381
|
article_number: string | null;
|
|
49382
|
+
cancelled_at: string | null;
|
|
48956
49383
|
created_at: string;
|
|
48957
49384
|
delivery_date: string | null;
|
|
48958
49385
|
id: string;
|
|
49386
|
+
incoming_booked: number;
|
|
49387
|
+
line_status: string;
|
|
48959
49388
|
name: string;
|
|
48960
49389
|
note: string | null;
|
|
48961
49390
|
pot_size: string | null;
|
|
@@ -48963,6 +49392,8 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
48963
49392
|
product_type: string;
|
|
48964
49393
|
purchase_order_id: string;
|
|
48965
49394
|
quantity: number;
|
|
49395
|
+
received_at: string | null;
|
|
49396
|
+
received_booked: number;
|
|
48966
49397
|
supplier_id: string | null;
|
|
48967
49398
|
supplier_product_id: string | null;
|
|
48968
49399
|
unit_price_cents: number;
|
|
@@ -48970,9 +49401,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
48970
49401
|
};
|
|
48971
49402
|
Insert: {
|
|
48972
49403
|
article_number?: string | null;
|
|
49404
|
+
cancelled_at?: string | null;
|
|
48973
49405
|
created_at?: string;
|
|
48974
49406
|
delivery_date?: string | null;
|
|
48975
49407
|
id?: string;
|
|
49408
|
+
incoming_booked?: number;
|
|
49409
|
+
line_status?: string;
|
|
48976
49410
|
name?: string;
|
|
48977
49411
|
note?: string | null;
|
|
48978
49412
|
pot_size?: string | null;
|
|
@@ -48980,6 +49414,8 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
48980
49414
|
product_type?: string;
|
|
48981
49415
|
purchase_order_id: string;
|
|
48982
49416
|
quantity?: number;
|
|
49417
|
+
received_at?: string | null;
|
|
49418
|
+
received_booked?: number;
|
|
48983
49419
|
supplier_id?: string | null;
|
|
48984
49420
|
supplier_product_id?: string | null;
|
|
48985
49421
|
unit_price_cents?: number;
|
|
@@ -48987,9 +49423,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
48987
49423
|
};
|
|
48988
49424
|
Update: {
|
|
48989
49425
|
article_number?: string | null;
|
|
49426
|
+
cancelled_at?: string | null;
|
|
48990
49427
|
created_at?: string;
|
|
48991
49428
|
delivery_date?: string | null;
|
|
48992
49429
|
id?: string;
|
|
49430
|
+
incoming_booked?: number;
|
|
49431
|
+
line_status?: string;
|
|
48993
49432
|
name?: string;
|
|
48994
49433
|
note?: string | null;
|
|
48995
49434
|
pot_size?: string | null;
|
|
@@ -48997,6 +49436,8 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
48997
49436
|
product_type?: string;
|
|
48998
49437
|
purchase_order_id?: string;
|
|
48999
49438
|
quantity?: number;
|
|
49439
|
+
received_at?: string | null;
|
|
49440
|
+
received_booked?: number;
|
|
49000
49441
|
supplier_id?: string | null;
|
|
49001
49442
|
supplier_product_id?: string | null;
|
|
49002
49443
|
unit_price_cents?: number;
|
|
@@ -49100,6 +49541,153 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
49100
49541
|
referencedColumns: ["id"];
|
|
49101
49542
|
}];
|
|
49102
49543
|
};
|
|
49544
|
+
purchase_request_events: {
|
|
49545
|
+
Row: {
|
|
49546
|
+
created_at: string;
|
|
49547
|
+
details: import("../integrations/supabase/types").Json | null;
|
|
49548
|
+
event_type: string;
|
|
49549
|
+
id: string;
|
|
49550
|
+
request_id: string;
|
|
49551
|
+
};
|
|
49552
|
+
Insert: {
|
|
49553
|
+
created_at?: string;
|
|
49554
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
49555
|
+
event_type: string;
|
|
49556
|
+
id?: string;
|
|
49557
|
+
request_id: string;
|
|
49558
|
+
};
|
|
49559
|
+
Update: {
|
|
49560
|
+
created_at?: string;
|
|
49561
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
49562
|
+
event_type?: string;
|
|
49563
|
+
id?: string;
|
|
49564
|
+
request_id?: string;
|
|
49565
|
+
};
|
|
49566
|
+
Relationships: [{
|
|
49567
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
49568
|
+
columns: ["request_id"];
|
|
49569
|
+
isOneToOne: false;
|
|
49570
|
+
referencedRelation: "purchase_requests";
|
|
49571
|
+
referencedColumns: ["id"];
|
|
49572
|
+
}];
|
|
49573
|
+
};
|
|
49574
|
+
purchase_request_responses: {
|
|
49575
|
+
Row: {
|
|
49576
|
+
confirmed_date: string | null;
|
|
49577
|
+
confirmed_price_cents: number | null;
|
|
49578
|
+
confirmed_quantity: number;
|
|
49579
|
+
created_at: string;
|
|
49580
|
+
id: string;
|
|
49581
|
+
not_available: boolean;
|
|
49582
|
+
note: string | null;
|
|
49583
|
+
purchase_order_item_id: string;
|
|
49584
|
+
request_id: string;
|
|
49585
|
+
updated_at: string;
|
|
49586
|
+
};
|
|
49587
|
+
Insert: {
|
|
49588
|
+
confirmed_date?: string | null;
|
|
49589
|
+
confirmed_price_cents?: number | null;
|
|
49590
|
+
confirmed_quantity?: number;
|
|
49591
|
+
created_at?: string;
|
|
49592
|
+
id?: string;
|
|
49593
|
+
not_available?: boolean;
|
|
49594
|
+
note?: string | null;
|
|
49595
|
+
purchase_order_item_id: string;
|
|
49596
|
+
request_id: string;
|
|
49597
|
+
updated_at?: string;
|
|
49598
|
+
};
|
|
49599
|
+
Update: {
|
|
49600
|
+
confirmed_date?: string | null;
|
|
49601
|
+
confirmed_price_cents?: number | null;
|
|
49602
|
+
confirmed_quantity?: number;
|
|
49603
|
+
created_at?: string;
|
|
49604
|
+
id?: string;
|
|
49605
|
+
not_available?: boolean;
|
|
49606
|
+
note?: string | null;
|
|
49607
|
+
purchase_order_item_id?: string;
|
|
49608
|
+
request_id?: string;
|
|
49609
|
+
updated_at?: string;
|
|
49610
|
+
};
|
|
49611
|
+
Relationships: [{
|
|
49612
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
49613
|
+
columns: ["purchase_order_item_id"];
|
|
49614
|
+
isOneToOne: false;
|
|
49615
|
+
referencedRelation: "purchase_order_items";
|
|
49616
|
+
referencedColumns: ["id"];
|
|
49617
|
+
}, {
|
|
49618
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
49619
|
+
columns: ["request_id"];
|
|
49620
|
+
isOneToOne: false;
|
|
49621
|
+
referencedRelation: "purchase_requests";
|
|
49622
|
+
referencedColumns: ["id"];
|
|
49623
|
+
}];
|
|
49624
|
+
};
|
|
49625
|
+
purchase_requests: {
|
|
49626
|
+
Row: {
|
|
49627
|
+
created_at: string;
|
|
49628
|
+
expires_at: string;
|
|
49629
|
+
first_viewed_at: string | null;
|
|
49630
|
+
id: string;
|
|
49631
|
+
processed_at: string | null;
|
|
49632
|
+
purchase_order_id: string;
|
|
49633
|
+
responded_at: string | null;
|
|
49634
|
+
sent_at: string;
|
|
49635
|
+
status: string;
|
|
49636
|
+
supplier_id: string | null;
|
|
49637
|
+
supplier_name: string;
|
|
49638
|
+
supplier_note: string | null;
|
|
49639
|
+
to_address: string | null;
|
|
49640
|
+
token_hash: string;
|
|
49641
|
+
updated_at: string;
|
|
49642
|
+
};
|
|
49643
|
+
Insert: {
|
|
49644
|
+
created_at?: string;
|
|
49645
|
+
expires_at?: string;
|
|
49646
|
+
first_viewed_at?: string | null;
|
|
49647
|
+
id?: string;
|
|
49648
|
+
processed_at?: string | null;
|
|
49649
|
+
purchase_order_id: string;
|
|
49650
|
+
responded_at?: string | null;
|
|
49651
|
+
sent_at?: string;
|
|
49652
|
+
status?: string;
|
|
49653
|
+
supplier_id?: string | null;
|
|
49654
|
+
supplier_name?: string;
|
|
49655
|
+
supplier_note?: string | null;
|
|
49656
|
+
to_address?: string | null;
|
|
49657
|
+
token_hash: string;
|
|
49658
|
+
updated_at?: string;
|
|
49659
|
+
};
|
|
49660
|
+
Update: {
|
|
49661
|
+
created_at?: string;
|
|
49662
|
+
expires_at?: string;
|
|
49663
|
+
first_viewed_at?: string | null;
|
|
49664
|
+
id?: string;
|
|
49665
|
+
processed_at?: string | null;
|
|
49666
|
+
purchase_order_id?: string;
|
|
49667
|
+
responded_at?: string | null;
|
|
49668
|
+
sent_at?: string;
|
|
49669
|
+
status?: string;
|
|
49670
|
+
supplier_id?: string | null;
|
|
49671
|
+
supplier_name?: string;
|
|
49672
|
+
supplier_note?: string | null;
|
|
49673
|
+
to_address?: string | null;
|
|
49674
|
+
token_hash?: string;
|
|
49675
|
+
updated_at?: string;
|
|
49676
|
+
};
|
|
49677
|
+
Relationships: [{
|
|
49678
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
49679
|
+
columns: ["purchase_order_id"];
|
|
49680
|
+
isOneToOne: false;
|
|
49681
|
+
referencedRelation: "purchase_orders";
|
|
49682
|
+
referencedColumns: ["id"];
|
|
49683
|
+
}, {
|
|
49684
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
49685
|
+
columns: ["supplier_id"];
|
|
49686
|
+
isOneToOne: false;
|
|
49687
|
+
referencedRelation: "suppliers";
|
|
49688
|
+
referencedColumns: ["id"];
|
|
49689
|
+
}];
|
|
49690
|
+
};
|
|
49103
49691
|
reception_notifications: {
|
|
49104
49692
|
Row: {
|
|
49105
49693
|
booking_id: string | null;
|
|
@@ -51263,6 +51851,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
51263
51851
|
auto_invoice_enabled: boolean;
|
|
51264
51852
|
auto_invoice_start_date: string | null;
|
|
51265
51853
|
auto_invoice_trigger_statuses: string[];
|
|
51854
|
+
auto_send_mode: string | null;
|
|
51266
51855
|
created_at: string;
|
|
51267
51856
|
debtor_gl_account: string;
|
|
51268
51857
|
default_article_code: string | null;
|
|
@@ -51291,6 +51880,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
51291
51880
|
auto_invoice_enabled?: boolean;
|
|
51292
51881
|
auto_invoice_start_date?: string | null;
|
|
51293
51882
|
auto_invoice_trigger_statuses?: string[];
|
|
51883
|
+
auto_send_mode?: string | null;
|
|
51294
51884
|
created_at?: string;
|
|
51295
51885
|
debtor_gl_account?: string;
|
|
51296
51886
|
default_article_code?: string | null;
|
|
@@ -51319,6 +51909,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
51319
51909
|
auto_invoice_enabled?: boolean;
|
|
51320
51910
|
auto_invoice_start_date?: string | null;
|
|
51321
51911
|
auto_invoice_trigger_statuses?: string[];
|
|
51912
|
+
auto_send_mode?: string | null;
|
|
51322
51913
|
created_at?: string;
|
|
51323
51914
|
debtor_gl_account?: string;
|
|
51324
51915
|
default_article_code?: string | null;
|
|
@@ -51762,16 +52353,19 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
51762
52353
|
Row: {
|
|
51763
52354
|
active_environment: string;
|
|
51764
52355
|
id: number;
|
|
52356
|
+
public_base_url: string | null;
|
|
51765
52357
|
updated_at: string;
|
|
51766
52358
|
};
|
|
51767
52359
|
Insert: {
|
|
51768
52360
|
active_environment?: string;
|
|
51769
52361
|
id?: number;
|
|
52362
|
+
public_base_url?: string | null;
|
|
51770
52363
|
updated_at?: string;
|
|
51771
52364
|
};
|
|
51772
52365
|
Update: {
|
|
51773
52366
|
active_environment?: string;
|
|
51774
52367
|
id?: number;
|
|
52368
|
+
public_base_url?: string | null;
|
|
51775
52369
|
updated_at?: string;
|
|
51776
52370
|
};
|
|
51777
52371
|
Relationships: [];
|
|
@@ -52002,11 +52596,15 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
52002
52596
|
monteur_id: string;
|
|
52003
52597
|
netto_verschil_minuten: number;
|
|
52004
52598
|
normaal_uitbetaald_minuten: number;
|
|
52599
|
+
omgezet_vakantie_minuten: number;
|
|
52600
|
+
overdracht_vorige_minuten: number;
|
|
52005
52601
|
overuren_minuten: number;
|
|
52006
52602
|
plus_minuten: number;
|
|
52603
|
+
rest_overuren_minuten: number;
|
|
52007
52604
|
status: string;
|
|
52008
52605
|
totaal_uitbetaald_minuten: number;
|
|
52009
52606
|
updated_at: string;
|
|
52607
|
+
vakantie_uren_bijgeschreven: number;
|
|
52010
52608
|
};
|
|
52011
52609
|
Insert: {
|
|
52012
52610
|
afgesloten_at?: string | null;
|
|
@@ -52023,11 +52621,15 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
52023
52621
|
monteur_id: string;
|
|
52024
52622
|
netto_verschil_minuten?: number;
|
|
52025
52623
|
normaal_uitbetaald_minuten?: number;
|
|
52624
|
+
omgezet_vakantie_minuten?: number;
|
|
52625
|
+
overdracht_vorige_minuten?: number;
|
|
52026
52626
|
overuren_minuten?: number;
|
|
52027
52627
|
plus_minuten?: number;
|
|
52628
|
+
rest_overuren_minuten?: number;
|
|
52028
52629
|
status?: string;
|
|
52029
52630
|
totaal_uitbetaald_minuten?: number;
|
|
52030
52631
|
updated_at?: string;
|
|
52632
|
+
vakantie_uren_bijgeschreven?: number;
|
|
52031
52633
|
};
|
|
52032
52634
|
Update: {
|
|
52033
52635
|
afgesloten_at?: string | null;
|
|
@@ -52044,11 +52646,15 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
52044
52646
|
monteur_id?: string;
|
|
52045
52647
|
netto_verschil_minuten?: number;
|
|
52046
52648
|
normaal_uitbetaald_minuten?: number;
|
|
52649
|
+
omgezet_vakantie_minuten?: number;
|
|
52650
|
+
overdracht_vorige_minuten?: number;
|
|
52047
52651
|
overuren_minuten?: number;
|
|
52048
52652
|
plus_minuten?: number;
|
|
52653
|
+
rest_overuren_minuten?: number;
|
|
52049
52654
|
status?: string;
|
|
52050
52655
|
totaal_uitbetaald_minuten?: number;
|
|
52051
52656
|
updated_at?: string;
|
|
52657
|
+
vakantie_uren_bijgeschreven?: number;
|
|
52052
52658
|
};
|
|
52053
52659
|
Relationships: [];
|
|
52054
52660
|
};
|
|
@@ -56537,12 +57143,57 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
56537
57143
|
};
|
|
56538
57144
|
Returns: import("../integrations/supabase/types").Json;
|
|
56539
57145
|
};
|
|
57146
|
+
inkoop_get_supplier_request: {
|
|
57147
|
+
Args: {
|
|
57148
|
+
_token: string;
|
|
57149
|
+
};
|
|
57150
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
57151
|
+
};
|
|
57152
|
+
inkoop_hash_token: {
|
|
57153
|
+
Args: {
|
|
57154
|
+
_token: string;
|
|
57155
|
+
};
|
|
57156
|
+
Returns: string;
|
|
57157
|
+
};
|
|
57158
|
+
inkoop_html_escape: {
|
|
57159
|
+
Args: {
|
|
57160
|
+
_t: string;
|
|
57161
|
+
};
|
|
57162
|
+
Returns: string;
|
|
57163
|
+
};
|
|
57164
|
+
inkoop_list_artikelen: {
|
|
57165
|
+
Args: never;
|
|
57166
|
+
Returns: {
|
|
57167
|
+
article_number: string;
|
|
57168
|
+
barcode: string;
|
|
57169
|
+
id: string;
|
|
57170
|
+
incoming_quantity: number;
|
|
57171
|
+
is_layer: boolean;
|
|
57172
|
+
location: string;
|
|
57173
|
+
min_quantity: number;
|
|
57174
|
+
preferred_supplier_name: string;
|
|
57175
|
+
product: string;
|
|
57176
|
+
product_type: string;
|
|
57177
|
+
purchase_price: number;
|
|
57178
|
+
quantity: number;
|
|
57179
|
+
sale_price: number;
|
|
57180
|
+
supplier_count: number;
|
|
57181
|
+
unit: string;
|
|
57182
|
+
}[];
|
|
57183
|
+
};
|
|
56540
57184
|
inkoop_next_order_number: {
|
|
56541
57185
|
Args: never;
|
|
56542
57186
|
Returns: string;
|
|
56543
57187
|
};
|
|
57188
|
+
inkoop_process_request: {
|
|
57189
|
+
Args: {
|
|
57190
|
+
_request_id: string;
|
|
57191
|
+
};
|
|
57192
|
+
Returns: undefined;
|
|
57193
|
+
};
|
|
56544
57194
|
inkoop_send_order: {
|
|
56545
57195
|
Args: {
|
|
57196
|
+
_base_url?: string;
|
|
56546
57197
|
_order_id: string;
|
|
56547
57198
|
};
|
|
56548
57199
|
Returns: {
|
|
@@ -56550,6 +57201,44 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
56550
57201
|
supplier_name: string;
|
|
56551
57202
|
to_address: string;
|
|
56552
57203
|
}[];
|
|
57204
|
+
} | {
|
|
57205
|
+
Args: {
|
|
57206
|
+
_base_url?: string;
|
|
57207
|
+
_order_id: string;
|
|
57208
|
+
_resend?: boolean;
|
|
57209
|
+
};
|
|
57210
|
+
Returns: {
|
|
57211
|
+
outbox_id: string;
|
|
57212
|
+
supplier_name: string;
|
|
57213
|
+
to_address: string;
|
|
57214
|
+
}[];
|
|
57215
|
+
};
|
|
57216
|
+
inkoop_set_preferred_supplier: {
|
|
57217
|
+
Args: {
|
|
57218
|
+
_product_id: string;
|
|
57219
|
+
_supplier_id: string;
|
|
57220
|
+
};
|
|
57221
|
+
Returns: undefined;
|
|
57222
|
+
};
|
|
57223
|
+
inkoop_stock_key: {
|
|
57224
|
+
Args: {
|
|
57225
|
+
p_product_id: string;
|
|
57226
|
+
};
|
|
57227
|
+
Returns: string;
|
|
57228
|
+
};
|
|
57229
|
+
inkoop_submit_supplier_response: {
|
|
57230
|
+
Args: {
|
|
57231
|
+
_lines: import("../integrations/supabase/types").Json;
|
|
57232
|
+
_note?: string;
|
|
57233
|
+
_token: string;
|
|
57234
|
+
};
|
|
57235
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
57236
|
+
};
|
|
57237
|
+
inkoop_sync_item_stock: {
|
|
57238
|
+
Args: {
|
|
57239
|
+
p_item_id: string;
|
|
57240
|
+
};
|
|
57241
|
+
Returns: undefined;
|
|
56553
57242
|
};
|
|
56554
57243
|
instructie_get: {
|
|
56555
57244
|
Args: {
|
|
@@ -57822,6 +58511,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
57822
58511
|
Args: never;
|
|
57823
58512
|
Returns: string;
|
|
57824
58513
|
};
|
|
58514
|
+
logistics_order_backlog_info: {
|
|
58515
|
+
Args: {
|
|
58516
|
+
p_order_id: string;
|
|
58517
|
+
};
|
|
58518
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
58519
|
+
};
|
|
57825
58520
|
logistics_order_cart_approval: {
|
|
57826
58521
|
Args: {
|
|
57827
58522
|
_order_ref: string;
|
|
@@ -57912,6 +58607,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
57912
58607
|
};
|
|
57913
58608
|
Returns: boolean;
|
|
57914
58609
|
};
|
|
58610
|
+
logistics_order_is_backlog: {
|
|
58611
|
+
Args: {
|
|
58612
|
+
p_order_id: string;
|
|
58613
|
+
};
|
|
58614
|
+
Returns: boolean;
|
|
58615
|
+
};
|
|
57915
58616
|
logistics_order_is_topick: {
|
|
57916
58617
|
Args: {
|
|
57917
58618
|
p_order_id: string;
|
|
@@ -58053,6 +58754,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
58053
58754
|
shifted_count: number;
|
|
58054
58755
|
}[];
|
|
58055
58756
|
};
|
|
58757
|
+
logistics_pick_backlog_max_days: {
|
|
58758
|
+
Args: never;
|
|
58759
|
+
Returns: number;
|
|
58760
|
+
};
|
|
58056
58761
|
logistics_pick_barcode_enabled: {
|
|
58057
58762
|
Args: never;
|
|
58058
58763
|
Returns: boolean;
|
|
@@ -58668,12 +59373,27 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
58668
59373
|
Args: never;
|
|
58669
59374
|
Returns: import("../integrations/supabase/types").Json;
|
|
58670
59375
|
};
|
|
59376
|
+
logistics_sync_pick_queue_backlog: {
|
|
59377
|
+
Args: never;
|
|
59378
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59379
|
+
};
|
|
59380
|
+
logistics_sync_pick_queue_core: {
|
|
59381
|
+
Args: never;
|
|
59382
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59383
|
+
};
|
|
58671
59384
|
logistics_sync_task_carriers: {
|
|
58672
59385
|
Args: {
|
|
58673
59386
|
p_order_ref?: string;
|
|
58674
59387
|
};
|
|
58675
59388
|
Returns: number;
|
|
58676
59389
|
};
|
|
59390
|
+
logistics_task_open_counts: {
|
|
59391
|
+
Args: never;
|
|
59392
|
+
Returns: {
|
|
59393
|
+
open_count: number;
|
|
59394
|
+
owner_module: string;
|
|
59395
|
+
}[];
|
|
59396
|
+
};
|
|
58677
59397
|
logistics_task_owner: {
|
|
58678
59398
|
Args: {
|
|
58679
59399
|
p_task_type: string;
|
|
@@ -69666,6 +70386,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
69666
70386
|
postal_code: string;
|
|
69667
70387
|
primary_color: string;
|
|
69668
70388
|
secondary_color: string;
|
|
70389
|
+
show_company_name: boolean;
|
|
69669
70390
|
singleton_key: boolean;
|
|
69670
70391
|
updated_at: string;
|
|
69671
70392
|
vat_identification_number: string;
|
|
@@ -69686,6 +70407,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
69686
70407
|
postal_code?: string;
|
|
69687
70408
|
primary_color?: string;
|
|
69688
70409
|
secondary_color?: string;
|
|
70410
|
+
show_company_name?: boolean;
|
|
69689
70411
|
singleton_key?: boolean;
|
|
69690
70412
|
updated_at?: string;
|
|
69691
70413
|
vat_identification_number?: string;
|
|
@@ -69706,6 +70428,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
69706
70428
|
postal_code?: string;
|
|
69707
70429
|
primary_color?: string;
|
|
69708
70430
|
secondary_color?: string;
|
|
70431
|
+
show_company_name?: boolean;
|
|
69709
70432
|
singleton_key?: boolean;
|
|
69710
70433
|
updated_at?: string;
|
|
69711
70434
|
vat_identification_number?: string;
|
|
@@ -76078,6 +76801,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
76078
76801
|
next_attempt_at: string;
|
|
76079
76802
|
order_id: string;
|
|
76080
76803
|
processed_at: string | null;
|
|
76804
|
+
send_error: string | null;
|
|
76081
76805
|
status: string;
|
|
76082
76806
|
updated_at: string;
|
|
76083
76807
|
};
|
|
@@ -76091,6 +76815,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
76091
76815
|
next_attempt_at?: string;
|
|
76092
76816
|
order_id: string;
|
|
76093
76817
|
processed_at?: string | null;
|
|
76818
|
+
send_error?: string | null;
|
|
76094
76819
|
status?: string;
|
|
76095
76820
|
updated_at?: string;
|
|
76096
76821
|
};
|
|
@@ -76104,6 +76829,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
76104
76829
|
next_attempt_at?: string;
|
|
76105
76830
|
order_id?: string;
|
|
76106
76831
|
processed_at?: string | null;
|
|
76832
|
+
send_error?: string | null;
|
|
76107
76833
|
status?: string;
|
|
76108
76834
|
updated_at?: string;
|
|
76109
76835
|
};
|
|
@@ -79133,6 +79859,66 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
79133
79859
|
};
|
|
79134
79860
|
Relationships: [];
|
|
79135
79861
|
};
|
|
79862
|
+
product_suppliers: {
|
|
79863
|
+
Row: {
|
|
79864
|
+
created_at: string;
|
|
79865
|
+
id: string;
|
|
79866
|
+
is_preferred: boolean;
|
|
79867
|
+
lead_time_days: number | null;
|
|
79868
|
+
min_order_quantity: number | null;
|
|
79869
|
+
notes: string | null;
|
|
79870
|
+
product_id: string;
|
|
79871
|
+
purchase_price_cents: number | null;
|
|
79872
|
+
supplier_article_number: string | null;
|
|
79873
|
+
supplier_id: string;
|
|
79874
|
+
updated_at: string;
|
|
79875
|
+
};
|
|
79876
|
+
Insert: {
|
|
79877
|
+
created_at?: string;
|
|
79878
|
+
id?: string;
|
|
79879
|
+
is_preferred?: boolean;
|
|
79880
|
+
lead_time_days?: number | null;
|
|
79881
|
+
min_order_quantity?: number | null;
|
|
79882
|
+
notes?: string | null;
|
|
79883
|
+
product_id: string;
|
|
79884
|
+
purchase_price_cents?: number | null;
|
|
79885
|
+
supplier_article_number?: string | null;
|
|
79886
|
+
supplier_id: string;
|
|
79887
|
+
updated_at?: string;
|
|
79888
|
+
};
|
|
79889
|
+
Update: {
|
|
79890
|
+
created_at?: string;
|
|
79891
|
+
id?: string;
|
|
79892
|
+
is_preferred?: boolean;
|
|
79893
|
+
lead_time_days?: number | null;
|
|
79894
|
+
min_order_quantity?: number | null;
|
|
79895
|
+
notes?: string | null;
|
|
79896
|
+
product_id?: string;
|
|
79897
|
+
purchase_price_cents?: number | null;
|
|
79898
|
+
supplier_article_number?: string | null;
|
|
79899
|
+
supplier_id?: string;
|
|
79900
|
+
updated_at?: string;
|
|
79901
|
+
};
|
|
79902
|
+
Relationships: [{
|
|
79903
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
79904
|
+
columns: ["product_id"];
|
|
79905
|
+
isOneToOne: false;
|
|
79906
|
+
referencedRelation: "logistics_product_dimensions";
|
|
79907
|
+
referencedColumns: ["product_id"];
|
|
79908
|
+
}, {
|
|
79909
|
+
foreignKeyName: "product_suppliers_product_id_fkey";
|
|
79910
|
+
columns: ["product_id"];
|
|
79911
|
+
isOneToOne: false;
|
|
79912
|
+
referencedRelation: "products";
|
|
79913
|
+
referencedColumns: ["id"];
|
|
79914
|
+
}, {
|
|
79915
|
+
foreignKeyName: "product_suppliers_supplier_id_fkey";
|
|
79916
|
+
columns: ["supplier_id"];
|
|
79917
|
+
isOneToOne: false;
|
|
79918
|
+
referencedRelation: "suppliers";
|
|
79919
|
+
referencedColumns: ["id"];
|
|
79920
|
+
}];
|
|
79921
|
+
};
|
|
79136
79922
|
product_tray_stickers: {
|
|
79137
79923
|
Row: {
|
|
79138
79924
|
bestand_url: string;
|
|
@@ -79637,9 +80423,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
79637
80423
|
purchase_order_items: {
|
|
79638
80424
|
Row: {
|
|
79639
80425
|
article_number: string | null;
|
|
80426
|
+
cancelled_at: string | null;
|
|
79640
80427
|
created_at: string;
|
|
79641
80428
|
delivery_date: string | null;
|
|
79642
80429
|
id: string;
|
|
80430
|
+
incoming_booked: number;
|
|
80431
|
+
line_status: string;
|
|
79643
80432
|
name: string;
|
|
79644
80433
|
note: string | null;
|
|
79645
80434
|
pot_size: string | null;
|
|
@@ -79647,6 +80436,8 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
79647
80436
|
product_type: string;
|
|
79648
80437
|
purchase_order_id: string;
|
|
79649
80438
|
quantity: number;
|
|
80439
|
+
received_at: string | null;
|
|
80440
|
+
received_booked: number;
|
|
79650
80441
|
supplier_id: string | null;
|
|
79651
80442
|
supplier_product_id: string | null;
|
|
79652
80443
|
unit_price_cents: number;
|
|
@@ -79654,9 +80445,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
79654
80445
|
};
|
|
79655
80446
|
Insert: {
|
|
79656
80447
|
article_number?: string | null;
|
|
80448
|
+
cancelled_at?: string | null;
|
|
79657
80449
|
created_at?: string;
|
|
79658
80450
|
delivery_date?: string | null;
|
|
79659
80451
|
id?: string;
|
|
80452
|
+
incoming_booked?: number;
|
|
80453
|
+
line_status?: string;
|
|
79660
80454
|
name?: string;
|
|
79661
80455
|
note?: string | null;
|
|
79662
80456
|
pot_size?: string | null;
|
|
@@ -79664,6 +80458,8 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
79664
80458
|
product_type?: string;
|
|
79665
80459
|
purchase_order_id: string;
|
|
79666
80460
|
quantity?: number;
|
|
80461
|
+
received_at?: string | null;
|
|
80462
|
+
received_booked?: number;
|
|
79667
80463
|
supplier_id?: string | null;
|
|
79668
80464
|
supplier_product_id?: string | null;
|
|
79669
80465
|
unit_price_cents?: number;
|
|
@@ -79671,9 +80467,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
79671
80467
|
};
|
|
79672
80468
|
Update: {
|
|
79673
80469
|
article_number?: string | null;
|
|
80470
|
+
cancelled_at?: string | null;
|
|
79674
80471
|
created_at?: string;
|
|
79675
80472
|
delivery_date?: string | null;
|
|
79676
80473
|
id?: string;
|
|
80474
|
+
incoming_booked?: number;
|
|
80475
|
+
line_status?: string;
|
|
79677
80476
|
name?: string;
|
|
79678
80477
|
note?: string | null;
|
|
79679
80478
|
pot_size?: string | null;
|
|
@@ -79681,6 +80480,8 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
79681
80480
|
product_type?: string;
|
|
79682
80481
|
purchase_order_id?: string;
|
|
79683
80482
|
quantity?: number;
|
|
80483
|
+
received_at?: string | null;
|
|
80484
|
+
received_booked?: number;
|
|
79684
80485
|
supplier_id?: string | null;
|
|
79685
80486
|
supplier_product_id?: string | null;
|
|
79686
80487
|
unit_price_cents?: number;
|
|
@@ -79784,6 +80585,153 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
79784
80585
|
referencedColumns: ["id"];
|
|
79785
80586
|
}];
|
|
79786
80587
|
};
|
|
80588
|
+
purchase_request_events: {
|
|
80589
|
+
Row: {
|
|
80590
|
+
created_at: string;
|
|
80591
|
+
details: import("../integrations/supabase/types").Json | null;
|
|
80592
|
+
event_type: string;
|
|
80593
|
+
id: string;
|
|
80594
|
+
request_id: string;
|
|
80595
|
+
};
|
|
80596
|
+
Insert: {
|
|
80597
|
+
created_at?: string;
|
|
80598
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
80599
|
+
event_type: string;
|
|
80600
|
+
id?: string;
|
|
80601
|
+
request_id: string;
|
|
80602
|
+
};
|
|
80603
|
+
Update: {
|
|
80604
|
+
created_at?: string;
|
|
80605
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
80606
|
+
event_type?: string;
|
|
80607
|
+
id?: string;
|
|
80608
|
+
request_id?: string;
|
|
80609
|
+
};
|
|
80610
|
+
Relationships: [{
|
|
80611
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
80612
|
+
columns: ["request_id"];
|
|
80613
|
+
isOneToOne: false;
|
|
80614
|
+
referencedRelation: "purchase_requests";
|
|
80615
|
+
referencedColumns: ["id"];
|
|
80616
|
+
}];
|
|
80617
|
+
};
|
|
80618
|
+
purchase_request_responses: {
|
|
80619
|
+
Row: {
|
|
80620
|
+
confirmed_date: string | null;
|
|
80621
|
+
confirmed_price_cents: number | null;
|
|
80622
|
+
confirmed_quantity: number;
|
|
80623
|
+
created_at: string;
|
|
80624
|
+
id: string;
|
|
80625
|
+
not_available: boolean;
|
|
80626
|
+
note: string | null;
|
|
80627
|
+
purchase_order_item_id: string;
|
|
80628
|
+
request_id: string;
|
|
80629
|
+
updated_at: string;
|
|
80630
|
+
};
|
|
80631
|
+
Insert: {
|
|
80632
|
+
confirmed_date?: string | null;
|
|
80633
|
+
confirmed_price_cents?: number | null;
|
|
80634
|
+
confirmed_quantity?: number;
|
|
80635
|
+
created_at?: string;
|
|
80636
|
+
id?: string;
|
|
80637
|
+
not_available?: boolean;
|
|
80638
|
+
note?: string | null;
|
|
80639
|
+
purchase_order_item_id: string;
|
|
80640
|
+
request_id: string;
|
|
80641
|
+
updated_at?: string;
|
|
80642
|
+
};
|
|
80643
|
+
Update: {
|
|
80644
|
+
confirmed_date?: string | null;
|
|
80645
|
+
confirmed_price_cents?: number | null;
|
|
80646
|
+
confirmed_quantity?: number;
|
|
80647
|
+
created_at?: string;
|
|
80648
|
+
id?: string;
|
|
80649
|
+
not_available?: boolean;
|
|
80650
|
+
note?: string | null;
|
|
80651
|
+
purchase_order_item_id?: string;
|
|
80652
|
+
request_id?: string;
|
|
80653
|
+
updated_at?: string;
|
|
80654
|
+
};
|
|
80655
|
+
Relationships: [{
|
|
80656
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
80657
|
+
columns: ["purchase_order_item_id"];
|
|
80658
|
+
isOneToOne: false;
|
|
80659
|
+
referencedRelation: "purchase_order_items";
|
|
80660
|
+
referencedColumns: ["id"];
|
|
80661
|
+
}, {
|
|
80662
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
80663
|
+
columns: ["request_id"];
|
|
80664
|
+
isOneToOne: false;
|
|
80665
|
+
referencedRelation: "purchase_requests";
|
|
80666
|
+
referencedColumns: ["id"];
|
|
80667
|
+
}];
|
|
80668
|
+
};
|
|
80669
|
+
purchase_requests: {
|
|
80670
|
+
Row: {
|
|
80671
|
+
created_at: string;
|
|
80672
|
+
expires_at: string;
|
|
80673
|
+
first_viewed_at: string | null;
|
|
80674
|
+
id: string;
|
|
80675
|
+
processed_at: string | null;
|
|
80676
|
+
purchase_order_id: string;
|
|
80677
|
+
responded_at: string | null;
|
|
80678
|
+
sent_at: string;
|
|
80679
|
+
status: string;
|
|
80680
|
+
supplier_id: string | null;
|
|
80681
|
+
supplier_name: string;
|
|
80682
|
+
supplier_note: string | null;
|
|
80683
|
+
to_address: string | null;
|
|
80684
|
+
token_hash: string;
|
|
80685
|
+
updated_at: string;
|
|
80686
|
+
};
|
|
80687
|
+
Insert: {
|
|
80688
|
+
created_at?: string;
|
|
80689
|
+
expires_at?: string;
|
|
80690
|
+
first_viewed_at?: string | null;
|
|
80691
|
+
id?: string;
|
|
80692
|
+
processed_at?: string | null;
|
|
80693
|
+
purchase_order_id: string;
|
|
80694
|
+
responded_at?: string | null;
|
|
80695
|
+
sent_at?: string;
|
|
80696
|
+
status?: string;
|
|
80697
|
+
supplier_id?: string | null;
|
|
80698
|
+
supplier_name?: string;
|
|
80699
|
+
supplier_note?: string | null;
|
|
80700
|
+
to_address?: string | null;
|
|
80701
|
+
token_hash: string;
|
|
80702
|
+
updated_at?: string;
|
|
80703
|
+
};
|
|
80704
|
+
Update: {
|
|
80705
|
+
created_at?: string;
|
|
80706
|
+
expires_at?: string;
|
|
80707
|
+
first_viewed_at?: string | null;
|
|
80708
|
+
id?: string;
|
|
80709
|
+
processed_at?: string | null;
|
|
80710
|
+
purchase_order_id?: string;
|
|
80711
|
+
responded_at?: string | null;
|
|
80712
|
+
sent_at?: string;
|
|
80713
|
+
status?: string;
|
|
80714
|
+
supplier_id?: string | null;
|
|
80715
|
+
supplier_name?: string;
|
|
80716
|
+
supplier_note?: string | null;
|
|
80717
|
+
to_address?: string | null;
|
|
80718
|
+
token_hash?: string;
|
|
80719
|
+
updated_at?: string;
|
|
80720
|
+
};
|
|
80721
|
+
Relationships: [{
|
|
80722
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
80723
|
+
columns: ["purchase_order_id"];
|
|
80724
|
+
isOneToOne: false;
|
|
80725
|
+
referencedRelation: "purchase_orders";
|
|
80726
|
+
referencedColumns: ["id"];
|
|
80727
|
+
}, {
|
|
80728
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
80729
|
+
columns: ["supplier_id"];
|
|
80730
|
+
isOneToOne: false;
|
|
80731
|
+
referencedRelation: "suppliers";
|
|
80732
|
+
referencedColumns: ["id"];
|
|
80733
|
+
}];
|
|
80734
|
+
};
|
|
79787
80735
|
reception_notifications: {
|
|
79788
80736
|
Row: {
|
|
79789
80737
|
booking_id: string | null;
|
|
@@ -81947,6 +82895,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
81947
82895
|
auto_invoice_enabled: boolean;
|
|
81948
82896
|
auto_invoice_start_date: string | null;
|
|
81949
82897
|
auto_invoice_trigger_statuses: string[];
|
|
82898
|
+
auto_send_mode: string | null;
|
|
81950
82899
|
created_at: string;
|
|
81951
82900
|
debtor_gl_account: string;
|
|
81952
82901
|
default_article_code: string | null;
|
|
@@ -81975,6 +82924,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
81975
82924
|
auto_invoice_enabled?: boolean;
|
|
81976
82925
|
auto_invoice_start_date?: string | null;
|
|
81977
82926
|
auto_invoice_trigger_statuses?: string[];
|
|
82927
|
+
auto_send_mode?: string | null;
|
|
81978
82928
|
created_at?: string;
|
|
81979
82929
|
debtor_gl_account?: string;
|
|
81980
82930
|
default_article_code?: string | null;
|
|
@@ -82003,6 +82953,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
82003
82953
|
auto_invoice_enabled?: boolean;
|
|
82004
82954
|
auto_invoice_start_date?: string | null;
|
|
82005
82955
|
auto_invoice_trigger_statuses?: string[];
|
|
82956
|
+
auto_send_mode?: string | null;
|
|
82006
82957
|
created_at?: string;
|
|
82007
82958
|
debtor_gl_account?: string;
|
|
82008
82959
|
default_article_code?: string | null;
|
|
@@ -82446,16 +83397,19 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
82446
83397
|
Row: {
|
|
82447
83398
|
active_environment: string;
|
|
82448
83399
|
id: number;
|
|
83400
|
+
public_base_url: string | null;
|
|
82449
83401
|
updated_at: string;
|
|
82450
83402
|
};
|
|
82451
83403
|
Insert: {
|
|
82452
83404
|
active_environment?: string;
|
|
82453
83405
|
id?: number;
|
|
83406
|
+
public_base_url?: string | null;
|
|
82454
83407
|
updated_at?: string;
|
|
82455
83408
|
};
|
|
82456
83409
|
Update: {
|
|
82457
83410
|
active_environment?: string;
|
|
82458
83411
|
id?: number;
|
|
83412
|
+
public_base_url?: string | null;
|
|
82459
83413
|
updated_at?: string;
|
|
82460
83414
|
};
|
|
82461
83415
|
Relationships: [];
|
|
@@ -82686,11 +83640,15 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
82686
83640
|
monteur_id: string;
|
|
82687
83641
|
netto_verschil_minuten: number;
|
|
82688
83642
|
normaal_uitbetaald_minuten: number;
|
|
83643
|
+
omgezet_vakantie_minuten: number;
|
|
83644
|
+
overdracht_vorige_minuten: number;
|
|
82689
83645
|
overuren_minuten: number;
|
|
82690
83646
|
plus_minuten: number;
|
|
83647
|
+
rest_overuren_minuten: number;
|
|
82691
83648
|
status: string;
|
|
82692
83649
|
totaal_uitbetaald_minuten: number;
|
|
82693
83650
|
updated_at: string;
|
|
83651
|
+
vakantie_uren_bijgeschreven: number;
|
|
82694
83652
|
};
|
|
82695
83653
|
Insert: {
|
|
82696
83654
|
afgesloten_at?: string | null;
|
|
@@ -82707,11 +83665,15 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
82707
83665
|
monteur_id: string;
|
|
82708
83666
|
netto_verschil_minuten?: number;
|
|
82709
83667
|
normaal_uitbetaald_minuten?: number;
|
|
83668
|
+
omgezet_vakantie_minuten?: number;
|
|
83669
|
+
overdracht_vorige_minuten?: number;
|
|
82710
83670
|
overuren_minuten?: number;
|
|
82711
83671
|
plus_minuten?: number;
|
|
83672
|
+
rest_overuren_minuten?: number;
|
|
82712
83673
|
status?: string;
|
|
82713
83674
|
totaal_uitbetaald_minuten?: number;
|
|
82714
83675
|
updated_at?: string;
|
|
83676
|
+
vakantie_uren_bijgeschreven?: number;
|
|
82715
83677
|
};
|
|
82716
83678
|
Update: {
|
|
82717
83679
|
afgesloten_at?: string | null;
|
|
@@ -82728,11 +83690,15 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
82728
83690
|
monteur_id?: string;
|
|
82729
83691
|
netto_verschil_minuten?: number;
|
|
82730
83692
|
normaal_uitbetaald_minuten?: number;
|
|
83693
|
+
omgezet_vakantie_minuten?: number;
|
|
83694
|
+
overdracht_vorige_minuten?: number;
|
|
82731
83695
|
overuren_minuten?: number;
|
|
82732
83696
|
plus_minuten?: number;
|
|
83697
|
+
rest_overuren_minuten?: number;
|
|
82733
83698
|
status?: string;
|
|
82734
83699
|
totaal_uitbetaald_minuten?: number;
|
|
82735
83700
|
updated_at?: string;
|
|
83701
|
+
vakantie_uren_bijgeschreven?: number;
|
|
82736
83702
|
};
|
|
82737
83703
|
Relationships: [];
|
|
82738
83704
|
};
|
|
@@ -87221,13 +88187,69 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
87221
88187
|
};
|
|
87222
88188
|
Returns: import("../integrations/supabase/types").Json;
|
|
87223
88189
|
};
|
|
88190
|
+
inkoop_get_supplier_request: {
|
|
88191
|
+
Args: {
|
|
88192
|
+
_token: string;
|
|
88193
|
+
};
|
|
88194
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
88195
|
+
};
|
|
88196
|
+
inkoop_hash_token: {
|
|
88197
|
+
Args: {
|
|
88198
|
+
_token: string;
|
|
88199
|
+
};
|
|
88200
|
+
Returns: string;
|
|
88201
|
+
};
|
|
88202
|
+
inkoop_html_escape: {
|
|
88203
|
+
Args: {
|
|
88204
|
+
_t: string;
|
|
88205
|
+
};
|
|
88206
|
+
Returns: string;
|
|
88207
|
+
};
|
|
88208
|
+
inkoop_list_artikelen: {
|
|
88209
|
+
Args: never;
|
|
88210
|
+
Returns: {
|
|
88211
|
+
article_number: string;
|
|
88212
|
+
barcode: string;
|
|
88213
|
+
id: string;
|
|
88214
|
+
incoming_quantity: number;
|
|
88215
|
+
is_layer: boolean;
|
|
88216
|
+
location: string;
|
|
88217
|
+
min_quantity: number;
|
|
88218
|
+
preferred_supplier_name: string;
|
|
88219
|
+
product: string;
|
|
88220
|
+
product_type: string;
|
|
88221
|
+
purchase_price: number;
|
|
88222
|
+
quantity: number;
|
|
88223
|
+
sale_price: number;
|
|
88224
|
+
supplier_count: number;
|
|
88225
|
+
unit: string;
|
|
88226
|
+
}[];
|
|
88227
|
+
};
|
|
87224
88228
|
inkoop_next_order_number: {
|
|
87225
88229
|
Args: never;
|
|
87226
88230
|
Returns: string;
|
|
87227
88231
|
};
|
|
88232
|
+
inkoop_process_request: {
|
|
88233
|
+
Args: {
|
|
88234
|
+
_request_id: string;
|
|
88235
|
+
};
|
|
88236
|
+
Returns: undefined;
|
|
88237
|
+
};
|
|
87228
88238
|
inkoop_send_order: {
|
|
87229
88239
|
Args: {
|
|
88240
|
+
_base_url?: string;
|
|
88241
|
+
_order_id: string;
|
|
88242
|
+
};
|
|
88243
|
+
Returns: {
|
|
88244
|
+
outbox_id: string;
|
|
88245
|
+
supplier_name: string;
|
|
88246
|
+
to_address: string;
|
|
88247
|
+
}[];
|
|
88248
|
+
} | {
|
|
88249
|
+
Args: {
|
|
88250
|
+
_base_url?: string;
|
|
87230
88251
|
_order_id: string;
|
|
88252
|
+
_resend?: boolean;
|
|
87231
88253
|
};
|
|
87232
88254
|
Returns: {
|
|
87233
88255
|
outbox_id: string;
|
|
@@ -87235,6 +88257,33 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
87235
88257
|
to_address: string;
|
|
87236
88258
|
}[];
|
|
87237
88259
|
};
|
|
88260
|
+
inkoop_set_preferred_supplier: {
|
|
88261
|
+
Args: {
|
|
88262
|
+
_product_id: string;
|
|
88263
|
+
_supplier_id: string;
|
|
88264
|
+
};
|
|
88265
|
+
Returns: undefined;
|
|
88266
|
+
};
|
|
88267
|
+
inkoop_stock_key: {
|
|
88268
|
+
Args: {
|
|
88269
|
+
p_product_id: string;
|
|
88270
|
+
};
|
|
88271
|
+
Returns: string;
|
|
88272
|
+
};
|
|
88273
|
+
inkoop_submit_supplier_response: {
|
|
88274
|
+
Args: {
|
|
88275
|
+
_lines: import("../integrations/supabase/types").Json;
|
|
88276
|
+
_note?: string;
|
|
88277
|
+
_token: string;
|
|
88278
|
+
};
|
|
88279
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
88280
|
+
};
|
|
88281
|
+
inkoop_sync_item_stock: {
|
|
88282
|
+
Args: {
|
|
88283
|
+
p_item_id: string;
|
|
88284
|
+
};
|
|
88285
|
+
Returns: undefined;
|
|
88286
|
+
};
|
|
87238
88287
|
instructie_get: {
|
|
87239
88288
|
Args: {
|
|
87240
88289
|
_sleutel: string;
|
|
@@ -88506,6 +89555,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
88506
89555
|
Args: never;
|
|
88507
89556
|
Returns: string;
|
|
88508
89557
|
};
|
|
89558
|
+
logistics_order_backlog_info: {
|
|
89559
|
+
Args: {
|
|
89560
|
+
p_order_id: string;
|
|
89561
|
+
};
|
|
89562
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
89563
|
+
};
|
|
88509
89564
|
logistics_order_cart_approval: {
|
|
88510
89565
|
Args: {
|
|
88511
89566
|
_order_ref: string;
|
|
@@ -88596,6 +89651,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
88596
89651
|
};
|
|
88597
89652
|
Returns: boolean;
|
|
88598
89653
|
};
|
|
89654
|
+
logistics_order_is_backlog: {
|
|
89655
|
+
Args: {
|
|
89656
|
+
p_order_id: string;
|
|
89657
|
+
};
|
|
89658
|
+
Returns: boolean;
|
|
89659
|
+
};
|
|
88599
89660
|
logistics_order_is_topick: {
|
|
88600
89661
|
Args: {
|
|
88601
89662
|
p_order_id: string;
|
|
@@ -88737,6 +89798,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
88737
89798
|
shifted_count: number;
|
|
88738
89799
|
}[];
|
|
88739
89800
|
};
|
|
89801
|
+
logistics_pick_backlog_max_days: {
|
|
89802
|
+
Args: never;
|
|
89803
|
+
Returns: number;
|
|
89804
|
+
};
|
|
88740
89805
|
logistics_pick_barcode_enabled: {
|
|
88741
89806
|
Args: never;
|
|
88742
89807
|
Returns: boolean;
|
|
@@ -89352,12 +90417,27 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
89352
90417
|
Args: never;
|
|
89353
90418
|
Returns: import("../integrations/supabase/types").Json;
|
|
89354
90419
|
};
|
|
90420
|
+
logistics_sync_pick_queue_backlog: {
|
|
90421
|
+
Args: never;
|
|
90422
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
90423
|
+
};
|
|
90424
|
+
logistics_sync_pick_queue_core: {
|
|
90425
|
+
Args: never;
|
|
90426
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
90427
|
+
};
|
|
89355
90428
|
logistics_sync_task_carriers: {
|
|
89356
90429
|
Args: {
|
|
89357
90430
|
p_order_ref?: string;
|
|
89358
90431
|
};
|
|
89359
90432
|
Returns: number;
|
|
89360
90433
|
};
|
|
90434
|
+
logistics_task_open_counts: {
|
|
90435
|
+
Args: never;
|
|
90436
|
+
Returns: {
|
|
90437
|
+
open_count: number;
|
|
90438
|
+
owner_module: string;
|
|
90439
|
+
}[];
|
|
90440
|
+
};
|
|
89361
90441
|
logistics_task_owner: {
|
|
89362
90442
|
Args: {
|
|
89363
90443
|
p_task_type: string;
|