@flowselections/floriday-verkoop-module 1.0.65 → 1.0.67
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/integrations/supabase/auth-middleware.d.ts +513 -3
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +513 -3
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +527 -3
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/buffer-events.functions.d.ts +513 -3
- package/dist-lib/lib/buffer-events.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-layers.functions.d.ts +2052 -12
- package/dist-lib/lib/cart-layers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-lock.functions.d.ts +513 -3
- package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-planning-settings.functions.d.ts +5643 -33
- package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.d.ts +1539 -9
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.d.ts +8721 -51
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +1026 -6
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.d.ts +513 -3
- package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +3591 -21
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +1026 -6
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/invoice-timing.functions.d.ts +2052 -12
- package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
- package/dist-lib/lib/load-carriers.functions.d.ts +513 -3
- package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-engine.functions.d.ts +2565 -15
- package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-stock.functions.d.ts +1026 -6
- package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-addresses.functions.d.ts +513 -3
- package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-buffers.functions.d.ts +1026 -6
- package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-carrier.functions.d.ts +1026 -6
- package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-fulfill.functions.d.ts +513 -3
- package/dist-lib/lib/order-fulfill.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-item-packing.functions.d.ts +1539 -9
- package/dist-lib/lib/order-item-packing.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-pickup.functions.d.ts +1026 -6
- package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-shipments.functions.d.ts +2052 -12
- package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
- package/dist-lib/lib/product-dimensions.functions.d.ts +1026 -6
- package/dist-lib/lib/product-dimensions.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.functions.d.ts +1026 -6
- package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders.functions.d.ts +3078 -18
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +1026 -6
- package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -734,6 +734,27 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
734
734
|
};
|
|
735
735
|
Relationships: [];
|
|
736
736
|
};
|
|
737
|
+
artikelen_instellingen: {
|
|
738
|
+
Row: {
|
|
739
|
+
created_at: string;
|
|
740
|
+
id: number;
|
|
741
|
+
marge_procent: number;
|
|
742
|
+
updated_at: string;
|
|
743
|
+
};
|
|
744
|
+
Insert: {
|
|
745
|
+
created_at?: string;
|
|
746
|
+
id?: number;
|
|
747
|
+
marge_procent?: number;
|
|
748
|
+
updated_at?: string;
|
|
749
|
+
};
|
|
750
|
+
Update: {
|
|
751
|
+
created_at?: string;
|
|
752
|
+
id?: number;
|
|
753
|
+
marge_procent?: number;
|
|
754
|
+
updated_at?: string;
|
|
755
|
+
};
|
|
756
|
+
Relationships: [];
|
|
757
|
+
};
|
|
737
758
|
artikelen_veldconfig: {
|
|
738
759
|
Row: {
|
|
739
760
|
bron_pad: string;
|
|
@@ -10409,6 +10430,30 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
10409
10430
|
};
|
|
10410
10431
|
Relationships: [];
|
|
10411
10432
|
};
|
|
10433
|
+
logistics_cart_barcode_archief: {
|
|
10434
|
+
Row: {
|
|
10435
|
+
barcode: string;
|
|
10436
|
+
cart_id: string;
|
|
10437
|
+
created_at: string | null;
|
|
10438
|
+
gearchiveerd_op: string;
|
|
10439
|
+
order_id: string | null;
|
|
10440
|
+
};
|
|
10441
|
+
Insert: {
|
|
10442
|
+
barcode: string;
|
|
10443
|
+
cart_id: string;
|
|
10444
|
+
created_at?: string | null;
|
|
10445
|
+
gearchiveerd_op?: string;
|
|
10446
|
+
order_id?: string | null;
|
|
10447
|
+
};
|
|
10448
|
+
Update: {
|
|
10449
|
+
barcode?: string;
|
|
10450
|
+
cart_id?: string;
|
|
10451
|
+
created_at?: string | null;
|
|
10452
|
+
gearchiveerd_op?: string;
|
|
10453
|
+
order_id?: string | null;
|
|
10454
|
+
};
|
|
10455
|
+
Relationships: [];
|
|
10456
|
+
};
|
|
10412
10457
|
logistics_control_scan: {
|
|
10413
10458
|
Row: {
|
|
10414
10459
|
approved_at: string | null;
|
|
@@ -16062,18 +16107,24 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
16062
16107
|
Row: {
|
|
16063
16108
|
id: boolean;
|
|
16064
16109
|
last_cleanup_at: string | null;
|
|
16110
|
+
last_error: string | null;
|
|
16111
|
+
last_error_at: string | null;
|
|
16065
16112
|
last_sync_at: string | null;
|
|
16066
16113
|
updated_at: string;
|
|
16067
16114
|
};
|
|
16068
16115
|
Insert: {
|
|
16069
16116
|
id?: boolean;
|
|
16070
16117
|
last_cleanup_at?: string | null;
|
|
16118
|
+
last_error?: string | null;
|
|
16119
|
+
last_error_at?: string | null;
|
|
16071
16120
|
last_sync_at?: string | null;
|
|
16072
16121
|
updated_at?: string;
|
|
16073
16122
|
};
|
|
16074
16123
|
Update: {
|
|
16075
16124
|
id?: boolean;
|
|
16076
16125
|
last_cleanup_at?: string | null;
|
|
16126
|
+
last_error?: string | null;
|
|
16127
|
+
last_error_at?: string | null;
|
|
16077
16128
|
last_sync_at?: string | null;
|
|
16078
16129
|
updated_at?: string;
|
|
16079
16130
|
};
|
|
@@ -16199,6 +16250,54 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
16199
16250
|
};
|
|
16200
16251
|
Relationships: [];
|
|
16201
16252
|
};
|
|
16253
|
+
planning_confirmation_log: {
|
|
16254
|
+
Row: {
|
|
16255
|
+
created_at: string;
|
|
16256
|
+
end_at: string;
|
|
16257
|
+
id: string;
|
|
16258
|
+
outbox_id: string | null;
|
|
16259
|
+
planning_item_id: string;
|
|
16260
|
+
reason: string | null;
|
|
16261
|
+
recipient: string | null;
|
|
16262
|
+
start_at: string;
|
|
16263
|
+
status: string;
|
|
16264
|
+
};
|
|
16265
|
+
Insert: {
|
|
16266
|
+
created_at?: string;
|
|
16267
|
+
end_at: string;
|
|
16268
|
+
id?: string;
|
|
16269
|
+
outbox_id?: string | null;
|
|
16270
|
+
planning_item_id: string;
|
|
16271
|
+
reason?: string | null;
|
|
16272
|
+
recipient?: string | null;
|
|
16273
|
+
start_at: string;
|
|
16274
|
+
status: string;
|
|
16275
|
+
};
|
|
16276
|
+
Update: {
|
|
16277
|
+
created_at?: string;
|
|
16278
|
+
end_at?: string;
|
|
16279
|
+
id?: string;
|
|
16280
|
+
outbox_id?: string | null;
|
|
16281
|
+
planning_item_id?: string;
|
|
16282
|
+
reason?: string | null;
|
|
16283
|
+
recipient?: string | null;
|
|
16284
|
+
start_at?: string;
|
|
16285
|
+
status?: string;
|
|
16286
|
+
};
|
|
16287
|
+
Relationships: [{
|
|
16288
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
16289
|
+
columns: ["planning_item_id"];
|
|
16290
|
+
isOneToOne: false;
|
|
16291
|
+
referencedRelation: "planning_items";
|
|
16292
|
+
referencedColumns: ["id"];
|
|
16293
|
+
}, {
|
|
16294
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
16295
|
+
columns: ["planning_item_id"];
|
|
16296
|
+
isOneToOne: false;
|
|
16297
|
+
referencedRelation: "planning_overview";
|
|
16298
|
+
referencedColumns: ["id"];
|
|
16299
|
+
}];
|
|
16300
|
+
};
|
|
16202
16301
|
planning_item_assistants: {
|
|
16203
16302
|
Row: {
|
|
16204
16303
|
created_at: string;
|
|
@@ -16283,6 +16382,60 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
16283
16382
|
referencedColumns: ["id"];
|
|
16284
16383
|
}];
|
|
16285
16384
|
};
|
|
16385
|
+
planning_mail_settings: {
|
|
16386
|
+
Row: {
|
|
16387
|
+
body_template: string;
|
|
16388
|
+
cc: string[];
|
|
16389
|
+
connection_id: string | null;
|
|
16390
|
+
created_at: string;
|
|
16391
|
+
enabled: boolean;
|
|
16392
|
+
id: boolean;
|
|
16393
|
+
reply_to: string | null;
|
|
16394
|
+
subject_template: string;
|
|
16395
|
+
timezone: string;
|
|
16396
|
+
updated_at: string;
|
|
16397
|
+
updated_by: string | null;
|
|
16398
|
+
};
|
|
16399
|
+
Insert: {
|
|
16400
|
+
body_template?: string;
|
|
16401
|
+
cc?: string[];
|
|
16402
|
+
connection_id?: string | null;
|
|
16403
|
+
created_at?: string;
|
|
16404
|
+
enabled?: boolean;
|
|
16405
|
+
id?: boolean;
|
|
16406
|
+
reply_to?: string | null;
|
|
16407
|
+
subject_template?: string;
|
|
16408
|
+
timezone?: string;
|
|
16409
|
+
updated_at?: string;
|
|
16410
|
+
updated_by?: string | null;
|
|
16411
|
+
};
|
|
16412
|
+
Update: {
|
|
16413
|
+
body_template?: string;
|
|
16414
|
+
cc?: string[];
|
|
16415
|
+
connection_id?: string | null;
|
|
16416
|
+
created_at?: string;
|
|
16417
|
+
enabled?: boolean;
|
|
16418
|
+
id?: boolean;
|
|
16419
|
+
reply_to?: string | null;
|
|
16420
|
+
subject_template?: string;
|
|
16421
|
+
timezone?: string;
|
|
16422
|
+
updated_at?: string;
|
|
16423
|
+
updated_by?: string | null;
|
|
16424
|
+
};
|
|
16425
|
+
Relationships: [{
|
|
16426
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
16427
|
+
columns: ["connection_id"];
|
|
16428
|
+
isOneToOne: false;
|
|
16429
|
+
referencedRelation: "email_auth_connections";
|
|
16430
|
+
referencedColumns: ["id"];
|
|
16431
|
+
}, {
|
|
16432
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
16433
|
+
columns: ["connection_id"];
|
|
16434
|
+
isOneToOne: false;
|
|
16435
|
+
referencedRelation: "email_auth_connections_safe";
|
|
16436
|
+
referencedColumns: ["id"];
|
|
16437
|
+
}];
|
|
16438
|
+
};
|
|
16286
16439
|
planning_monteur_day_locations: {
|
|
16287
16440
|
Row: {
|
|
16288
16441
|
created_at: string;
|
|
@@ -17761,6 +17914,9 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
17761
17914
|
lead_time_days: number | null;
|
|
17762
17915
|
min_order_quantity: number | null;
|
|
17763
17916
|
notes: string | null;
|
|
17917
|
+
previous_price_cents: number | null;
|
|
17918
|
+
price_source: string;
|
|
17919
|
+
price_updated_at: string | null;
|
|
17764
17920
|
product_id: string;
|
|
17765
17921
|
purchase_price_cents: number | null;
|
|
17766
17922
|
supplier_article_number: string | null;
|
|
@@ -17774,6 +17930,9 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
17774
17930
|
lead_time_days?: number | null;
|
|
17775
17931
|
min_order_quantity?: number | null;
|
|
17776
17932
|
notes?: string | null;
|
|
17933
|
+
previous_price_cents?: number | null;
|
|
17934
|
+
price_source?: string;
|
|
17935
|
+
price_updated_at?: string | null;
|
|
17777
17936
|
product_id: string;
|
|
17778
17937
|
purchase_price_cents?: number | null;
|
|
17779
17938
|
supplier_article_number?: string | null;
|
|
@@ -17787,6 +17946,9 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
17787
17946
|
lead_time_days?: number | null;
|
|
17788
17947
|
min_order_quantity?: number | null;
|
|
17789
17948
|
notes?: string | null;
|
|
17949
|
+
previous_price_cents?: number | null;
|
|
17950
|
+
price_source?: string;
|
|
17951
|
+
price_updated_at?: string | null;
|
|
17790
17952
|
product_id?: string;
|
|
17791
17953
|
purchase_price_cents?: number | null;
|
|
17792
17954
|
supplier_article_number?: string | null;
|
|
@@ -18317,9 +18479,13 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
18317
18479
|
purchase_order_items: {
|
|
18318
18480
|
Row: {
|
|
18319
18481
|
article_number: string | null;
|
|
18482
|
+
cancel_reason: string | null;
|
|
18483
|
+
cancelled_at: string | null;
|
|
18320
18484
|
created_at: string;
|
|
18321
18485
|
delivery_date: string | null;
|
|
18322
18486
|
id: string;
|
|
18487
|
+
incoming_booked: number;
|
|
18488
|
+
line_status: string;
|
|
18323
18489
|
name: string;
|
|
18324
18490
|
note: string | null;
|
|
18325
18491
|
pot_size: string | null;
|
|
@@ -18327,6 +18493,8 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
18327
18493
|
product_type: string;
|
|
18328
18494
|
purchase_order_id: string;
|
|
18329
18495
|
quantity: number;
|
|
18496
|
+
received_at: string | null;
|
|
18497
|
+
received_booked: number;
|
|
18330
18498
|
supplier_id: string | null;
|
|
18331
18499
|
supplier_product_id: string | null;
|
|
18332
18500
|
unit_price_cents: number;
|
|
@@ -18334,9 +18502,13 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
18334
18502
|
};
|
|
18335
18503
|
Insert: {
|
|
18336
18504
|
article_number?: string | null;
|
|
18505
|
+
cancel_reason?: string | null;
|
|
18506
|
+
cancelled_at?: string | null;
|
|
18337
18507
|
created_at?: string;
|
|
18338
18508
|
delivery_date?: string | null;
|
|
18339
18509
|
id?: string;
|
|
18510
|
+
incoming_booked?: number;
|
|
18511
|
+
line_status?: string;
|
|
18340
18512
|
name?: string;
|
|
18341
18513
|
note?: string | null;
|
|
18342
18514
|
pot_size?: string | null;
|
|
@@ -18344,6 +18516,8 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
18344
18516
|
product_type?: string;
|
|
18345
18517
|
purchase_order_id: string;
|
|
18346
18518
|
quantity?: number;
|
|
18519
|
+
received_at?: string | null;
|
|
18520
|
+
received_booked?: number;
|
|
18347
18521
|
supplier_id?: string | null;
|
|
18348
18522
|
supplier_product_id?: string | null;
|
|
18349
18523
|
unit_price_cents?: number;
|
|
@@ -18351,9 +18525,13 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
18351
18525
|
};
|
|
18352
18526
|
Update: {
|
|
18353
18527
|
article_number?: string | null;
|
|
18528
|
+
cancel_reason?: string | null;
|
|
18529
|
+
cancelled_at?: string | null;
|
|
18354
18530
|
created_at?: string;
|
|
18355
18531
|
delivery_date?: string | null;
|
|
18356
18532
|
id?: string;
|
|
18533
|
+
incoming_booked?: number;
|
|
18534
|
+
line_status?: string;
|
|
18357
18535
|
name?: string;
|
|
18358
18536
|
note?: string | null;
|
|
18359
18537
|
pot_size?: string | null;
|
|
@@ -18361,6 +18539,8 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
18361
18539
|
product_type?: string;
|
|
18362
18540
|
purchase_order_id?: string;
|
|
18363
18541
|
quantity?: number;
|
|
18542
|
+
received_at?: string | null;
|
|
18543
|
+
received_booked?: number;
|
|
18364
18544
|
supplier_id?: string | null;
|
|
18365
18545
|
supplier_product_id?: string | null;
|
|
18366
18546
|
unit_price_cents?: number;
|
|
@@ -18464,6 +18644,153 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
18464
18644
|
referencedColumns: ["id"];
|
|
18465
18645
|
}];
|
|
18466
18646
|
};
|
|
18647
|
+
purchase_request_events: {
|
|
18648
|
+
Row: {
|
|
18649
|
+
created_at: string;
|
|
18650
|
+
details: import("../integrations/supabase/types").Json | null;
|
|
18651
|
+
event_type: string;
|
|
18652
|
+
id: string;
|
|
18653
|
+
request_id: string;
|
|
18654
|
+
};
|
|
18655
|
+
Insert: {
|
|
18656
|
+
created_at?: string;
|
|
18657
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
18658
|
+
event_type: string;
|
|
18659
|
+
id?: string;
|
|
18660
|
+
request_id: string;
|
|
18661
|
+
};
|
|
18662
|
+
Update: {
|
|
18663
|
+
created_at?: string;
|
|
18664
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
18665
|
+
event_type?: string;
|
|
18666
|
+
id?: string;
|
|
18667
|
+
request_id?: string;
|
|
18668
|
+
};
|
|
18669
|
+
Relationships: [{
|
|
18670
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
18671
|
+
columns: ["request_id"];
|
|
18672
|
+
isOneToOne: false;
|
|
18673
|
+
referencedRelation: "purchase_requests";
|
|
18674
|
+
referencedColumns: ["id"];
|
|
18675
|
+
}];
|
|
18676
|
+
};
|
|
18677
|
+
purchase_request_responses: {
|
|
18678
|
+
Row: {
|
|
18679
|
+
confirmed_date: string | null;
|
|
18680
|
+
confirmed_price_cents: number | null;
|
|
18681
|
+
confirmed_quantity: number;
|
|
18682
|
+
created_at: string;
|
|
18683
|
+
id: string;
|
|
18684
|
+
not_available: boolean;
|
|
18685
|
+
note: string | null;
|
|
18686
|
+
purchase_order_item_id: string;
|
|
18687
|
+
request_id: string;
|
|
18688
|
+
updated_at: string;
|
|
18689
|
+
};
|
|
18690
|
+
Insert: {
|
|
18691
|
+
confirmed_date?: string | null;
|
|
18692
|
+
confirmed_price_cents?: number | null;
|
|
18693
|
+
confirmed_quantity?: number;
|
|
18694
|
+
created_at?: string;
|
|
18695
|
+
id?: string;
|
|
18696
|
+
not_available?: boolean;
|
|
18697
|
+
note?: string | null;
|
|
18698
|
+
purchase_order_item_id: string;
|
|
18699
|
+
request_id: string;
|
|
18700
|
+
updated_at?: string;
|
|
18701
|
+
};
|
|
18702
|
+
Update: {
|
|
18703
|
+
confirmed_date?: string | null;
|
|
18704
|
+
confirmed_price_cents?: number | null;
|
|
18705
|
+
confirmed_quantity?: number;
|
|
18706
|
+
created_at?: string;
|
|
18707
|
+
id?: string;
|
|
18708
|
+
not_available?: boolean;
|
|
18709
|
+
note?: string | null;
|
|
18710
|
+
purchase_order_item_id?: string;
|
|
18711
|
+
request_id?: string;
|
|
18712
|
+
updated_at?: string;
|
|
18713
|
+
};
|
|
18714
|
+
Relationships: [{
|
|
18715
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
18716
|
+
columns: ["purchase_order_item_id"];
|
|
18717
|
+
isOneToOne: false;
|
|
18718
|
+
referencedRelation: "purchase_order_items";
|
|
18719
|
+
referencedColumns: ["id"];
|
|
18720
|
+
}, {
|
|
18721
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
18722
|
+
columns: ["request_id"];
|
|
18723
|
+
isOneToOne: false;
|
|
18724
|
+
referencedRelation: "purchase_requests";
|
|
18725
|
+
referencedColumns: ["id"];
|
|
18726
|
+
}];
|
|
18727
|
+
};
|
|
18728
|
+
purchase_requests: {
|
|
18729
|
+
Row: {
|
|
18730
|
+
created_at: string;
|
|
18731
|
+
expires_at: string;
|
|
18732
|
+
first_viewed_at: string | null;
|
|
18733
|
+
id: string;
|
|
18734
|
+
processed_at: string | null;
|
|
18735
|
+
purchase_order_id: string;
|
|
18736
|
+
responded_at: string | null;
|
|
18737
|
+
sent_at: string;
|
|
18738
|
+
status: string;
|
|
18739
|
+
supplier_id: string | null;
|
|
18740
|
+
supplier_name: string;
|
|
18741
|
+
supplier_note: string | null;
|
|
18742
|
+
to_address: string | null;
|
|
18743
|
+
token_hash: string;
|
|
18744
|
+
updated_at: string;
|
|
18745
|
+
};
|
|
18746
|
+
Insert: {
|
|
18747
|
+
created_at?: string;
|
|
18748
|
+
expires_at?: string;
|
|
18749
|
+
first_viewed_at?: string | null;
|
|
18750
|
+
id?: string;
|
|
18751
|
+
processed_at?: string | null;
|
|
18752
|
+
purchase_order_id: string;
|
|
18753
|
+
responded_at?: string | null;
|
|
18754
|
+
sent_at?: string;
|
|
18755
|
+
status?: string;
|
|
18756
|
+
supplier_id?: string | null;
|
|
18757
|
+
supplier_name?: string;
|
|
18758
|
+
supplier_note?: string | null;
|
|
18759
|
+
to_address?: string | null;
|
|
18760
|
+
token_hash: string;
|
|
18761
|
+
updated_at?: string;
|
|
18762
|
+
};
|
|
18763
|
+
Update: {
|
|
18764
|
+
created_at?: string;
|
|
18765
|
+
expires_at?: string;
|
|
18766
|
+
first_viewed_at?: string | null;
|
|
18767
|
+
id?: string;
|
|
18768
|
+
processed_at?: string | null;
|
|
18769
|
+
purchase_order_id?: string;
|
|
18770
|
+
responded_at?: string | null;
|
|
18771
|
+
sent_at?: string;
|
|
18772
|
+
status?: string;
|
|
18773
|
+
supplier_id?: string | null;
|
|
18774
|
+
supplier_name?: string;
|
|
18775
|
+
supplier_note?: string | null;
|
|
18776
|
+
to_address?: string | null;
|
|
18777
|
+
token_hash?: string;
|
|
18778
|
+
updated_at?: string;
|
|
18779
|
+
};
|
|
18780
|
+
Relationships: [{
|
|
18781
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
18782
|
+
columns: ["purchase_order_id"];
|
|
18783
|
+
isOneToOne: false;
|
|
18784
|
+
referencedRelation: "purchase_orders";
|
|
18785
|
+
referencedColumns: ["id"];
|
|
18786
|
+
}, {
|
|
18787
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
18788
|
+
columns: ["supplier_id"];
|
|
18789
|
+
isOneToOne: false;
|
|
18790
|
+
referencedRelation: "suppliers";
|
|
18791
|
+
referencedColumns: ["id"];
|
|
18792
|
+
}];
|
|
18793
|
+
};
|
|
18467
18794
|
reception_notifications: {
|
|
18468
18795
|
Row: {
|
|
18469
18796
|
booking_id: string | null;
|
|
@@ -22889,7 +23216,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
22889
23216
|
created_at: string;
|
|
22890
23217
|
default_quantity: number;
|
|
22891
23218
|
description: string | null;
|
|
22892
|
-
duration_minutes: number
|
|
23219
|
+
duration_minutes: number;
|
|
22893
23220
|
id: string;
|
|
22894
23221
|
mandaat_type: string | null;
|
|
22895
23222
|
name: string;
|
|
@@ -22906,7 +23233,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
22906
23233
|
created_at?: string;
|
|
22907
23234
|
default_quantity?: number;
|
|
22908
23235
|
description?: string | null;
|
|
22909
|
-
duration_minutes?: number
|
|
23236
|
+
duration_minutes?: number;
|
|
22910
23237
|
id?: string;
|
|
22911
23238
|
mandaat_type?: string | null;
|
|
22912
23239
|
name: string;
|
|
@@ -22923,7 +23250,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
22923
23250
|
created_at?: string;
|
|
22924
23251
|
default_quantity?: number;
|
|
22925
23252
|
description?: string | null;
|
|
22926
|
-
duration_minutes?: number
|
|
23253
|
+
duration_minutes?: number;
|
|
22927
23254
|
id?: string;
|
|
22928
23255
|
mandaat_type?: string | null;
|
|
22929
23256
|
name?: string;
|
|
@@ -25919,6 +26246,31 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
25919
26246
|
};
|
|
25920
26247
|
Returns: import("../integrations/supabase/types").Json;
|
|
25921
26248
|
};
|
|
26249
|
+
inkoop_cancel_line: {
|
|
26250
|
+
Args: {
|
|
26251
|
+
_item_id: string;
|
|
26252
|
+
_reason: string;
|
|
26253
|
+
};
|
|
26254
|
+
Returns: string;
|
|
26255
|
+
};
|
|
26256
|
+
inkoop_get_supplier_request: {
|
|
26257
|
+
Args: {
|
|
26258
|
+
_token: string;
|
|
26259
|
+
};
|
|
26260
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26261
|
+
};
|
|
26262
|
+
inkoop_hash_token: {
|
|
26263
|
+
Args: {
|
|
26264
|
+
_token: string;
|
|
26265
|
+
};
|
|
26266
|
+
Returns: string;
|
|
26267
|
+
};
|
|
26268
|
+
inkoop_html_escape: {
|
|
26269
|
+
Args: {
|
|
26270
|
+
_t: string;
|
|
26271
|
+
};
|
|
26272
|
+
Returns: string;
|
|
26273
|
+
};
|
|
25922
26274
|
inkoop_list_artikelen: {
|
|
25923
26275
|
Args: never;
|
|
25924
26276
|
Returns: {
|
|
@@ -25943,9 +26295,17 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
25943
26295
|
Args: never;
|
|
25944
26296
|
Returns: string;
|
|
25945
26297
|
};
|
|
26298
|
+
inkoop_process_request: {
|
|
26299
|
+
Args: {
|
|
26300
|
+
_request_id: string;
|
|
26301
|
+
};
|
|
26302
|
+
Returns: undefined;
|
|
26303
|
+
};
|
|
25946
26304
|
inkoop_send_order: {
|
|
25947
26305
|
Args: {
|
|
26306
|
+
_base_url?: string;
|
|
25948
26307
|
_order_id: string;
|
|
26308
|
+
_resend?: boolean;
|
|
25949
26309
|
};
|
|
25950
26310
|
Returns: {
|
|
25951
26311
|
outbox_id: string;
|
|
@@ -25960,6 +26320,26 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
25960
26320
|
};
|
|
25961
26321
|
Returns: undefined;
|
|
25962
26322
|
};
|
|
26323
|
+
inkoop_stock_key: {
|
|
26324
|
+
Args: {
|
|
26325
|
+
p_product_id: string;
|
|
26326
|
+
};
|
|
26327
|
+
Returns: string;
|
|
26328
|
+
};
|
|
26329
|
+
inkoop_submit_supplier_response: {
|
|
26330
|
+
Args: {
|
|
26331
|
+
_lines: import("../integrations/supabase/types").Json;
|
|
26332
|
+
_note?: string;
|
|
26333
|
+
_token: string;
|
|
26334
|
+
};
|
|
26335
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26336
|
+
};
|
|
26337
|
+
inkoop_sync_item_stock: {
|
|
26338
|
+
Args: {
|
|
26339
|
+
p_item_id: string;
|
|
26340
|
+
};
|
|
26341
|
+
Returns: undefined;
|
|
26342
|
+
};
|
|
25963
26343
|
instructie_get: {
|
|
25964
26344
|
Args: {
|
|
25965
26345
|
_sleutel: string;
|
|
@@ -26120,6 +26500,27 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
26120
26500
|
};
|
|
26121
26501
|
Returns: boolean;
|
|
26122
26502
|
};
|
|
26503
|
+
layout_print_document: {
|
|
26504
|
+
Args: {
|
|
26505
|
+
_documentnaam: string;
|
|
26506
|
+
_documenttype: string;
|
|
26507
|
+
_herkomst?: string;
|
|
26508
|
+
_idempotentie_sleutel?: string;
|
|
26509
|
+
_is_herprint?: boolean;
|
|
26510
|
+
_kopieen?: number;
|
|
26511
|
+
_layout_id?: string;
|
|
26512
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
26513
|
+
_pdf_base64?: string;
|
|
26514
|
+
_pdf_url?: string;
|
|
26515
|
+
_print_plek_id?: string;
|
|
26516
|
+
_werkplek?: string;
|
|
26517
|
+
};
|
|
26518
|
+
Returns: {
|
|
26519
|
+
bestaand: boolean;
|
|
26520
|
+
job_id: string;
|
|
26521
|
+
printer_id: string;
|
|
26522
|
+
}[];
|
|
26523
|
+
};
|
|
26123
26524
|
list_medewerkers: {
|
|
26124
26525
|
Args: never;
|
|
26125
26526
|
Returns: {
|
|
@@ -26397,6 +26798,12 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
26397
26798
|
};
|
|
26398
26799
|
Returns: number;
|
|
26399
26800
|
};
|
|
26801
|
+
logistics_cart_barcode_opschonen: {
|
|
26802
|
+
Args: {
|
|
26803
|
+
p_portie?: number;
|
|
26804
|
+
};
|
|
26805
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26806
|
+
};
|
|
26400
26807
|
logistics_cart_barcode_value: {
|
|
26401
26808
|
Args: {
|
|
26402
26809
|
_cart_id: string;
|
|
@@ -26816,6 +27223,13 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
26816
27223
|
};
|
|
26817
27224
|
Returns: import("../integrations/supabase/types").Json;
|
|
26818
27225
|
};
|
|
27226
|
+
logistics_control_scan_print_own: {
|
|
27227
|
+
Args: {
|
|
27228
|
+
p_is_herprint?: boolean;
|
|
27229
|
+
p_scan_id: string;
|
|
27230
|
+
};
|
|
27231
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27232
|
+
};
|
|
26819
27233
|
logistics_control_scan_retry: {
|
|
26820
27234
|
Args: {
|
|
26821
27235
|
_id: string;
|
|
@@ -27720,6 +28134,21 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
27720
28134
|
};
|
|
27721
28135
|
Returns: import("../integrations/supabase/types").Json;
|
|
27722
28136
|
};
|
|
28137
|
+
logistics_print_via_layout: {
|
|
28138
|
+
Args: {
|
|
28139
|
+
_documentnaam: string;
|
|
28140
|
+
_documenttype: string;
|
|
28141
|
+
_herkomst: string;
|
|
28142
|
+
_idempotentie_sleutel: string;
|
|
28143
|
+
_is_herprint: boolean;
|
|
28144
|
+
_layout_id: string;
|
|
28145
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
28146
|
+
_pdf_base64: string;
|
|
28147
|
+
_pdf_url: string;
|
|
28148
|
+
_print_plek_id: string;
|
|
28149
|
+
};
|
|
28150
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28151
|
+
};
|
|
27723
28152
|
logistics_prune_buffer_member_queue: {
|
|
27724
28153
|
Args: never;
|
|
27725
28154
|
Returns: number;
|
|
@@ -28006,6 +28435,13 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
28006
28435
|
};
|
|
28007
28436
|
Returns: string;
|
|
28008
28437
|
};
|
|
28438
|
+
logistics_shipping_note_status: {
|
|
28439
|
+
Args: {
|
|
28440
|
+
p_cart_id?: string;
|
|
28441
|
+
p_slip_job_id?: string;
|
|
28442
|
+
};
|
|
28443
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28444
|
+
};
|
|
28009
28445
|
logistics_shipping_notes_wake_all: {
|
|
28010
28446
|
Args: never;
|
|
28011
28447
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -28068,6 +28504,12 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
28068
28504
|
};
|
|
28069
28505
|
Returns: undefined;
|
|
28070
28506
|
};
|
|
28507
|
+
logistics_slip_note_retry: {
|
|
28508
|
+
Args: {
|
|
28509
|
+
_id: string;
|
|
28510
|
+
};
|
|
28511
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28512
|
+
};
|
|
28071
28513
|
logistics_sticker_follows_slip: {
|
|
28072
28514
|
Args: never;
|
|
28073
28515
|
Returns: boolean;
|
|
@@ -28812,6 +29254,10 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
28812
29254
|
};
|
|
28813
29255
|
Returns: string;
|
|
28814
29256
|
};
|
|
29257
|
+
pick_is_reference_admin: {
|
|
29258
|
+
Args: never;
|
|
29259
|
+
Returns: boolean;
|
|
29260
|
+
};
|
|
28815
29261
|
pick_mark_printed: {
|
|
28816
29262
|
Args: {
|
|
28817
29263
|
_queue_item_id: string;
|
|
@@ -29235,6 +29681,12 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
29235
29681
|
};
|
|
29236
29682
|
Returns: import("../integrations/supabase/types").Json;
|
|
29237
29683
|
};
|
|
29684
|
+
pick_verify_rows: {
|
|
29685
|
+
Args: {
|
|
29686
|
+
_rows: import("../integrations/supabase/types").Json;
|
|
29687
|
+
};
|
|
29688
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
29689
|
+
};
|
|
29238
29690
|
pickstation_get_orders_raw: {
|
|
29239
29691
|
Args: never;
|
|
29240
29692
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -29415,6 +29867,12 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
29415
29867
|
};
|
|
29416
29868
|
Returns: import("../integrations/supabase/types").Json;
|
|
29417
29869
|
};
|
|
29870
|
+
quote_create_from_scratch: {
|
|
29871
|
+
Args: {
|
|
29872
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
29873
|
+
};
|
|
29874
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
29875
|
+
};
|
|
29418
29876
|
quote_create_from_source: {
|
|
29419
29877
|
Args: {
|
|
29420
29878
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -29465,6 +29923,13 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
29465
29923
|
};
|
|
29466
29924
|
Returns: string;
|
|
29467
29925
|
};
|
|
29926
|
+
quote_sync_work_order: {
|
|
29927
|
+
Args: {
|
|
29928
|
+
_monteur_instructies?: string;
|
|
29929
|
+
_offerte_id: string;
|
|
29930
|
+
};
|
|
29931
|
+
Returns: boolean;
|
|
29932
|
+
};
|
|
29468
29933
|
recompute_all_reserved_stock: {
|
|
29469
29934
|
Args: never;
|
|
29470
29935
|
Returns: undefined;
|
|
@@ -29685,6 +30150,13 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
29685
30150
|
};
|
|
29686
30151
|
Returns: import("../integrations/supabase/types").Json;
|
|
29687
30152
|
};
|
|
30153
|
+
scan_controleer_pincode: {
|
|
30154
|
+
Args: {
|
|
30155
|
+
p_pin: string;
|
|
30156
|
+
p_scanner_id: string;
|
|
30157
|
+
};
|
|
30158
|
+
Returns: boolean;
|
|
30159
|
+
};
|
|
29688
30160
|
scan_dashboard_stats: {
|
|
29689
30161
|
Args: {
|
|
29690
30162
|
p_dagen?: number;
|
|
@@ -29704,6 +30176,12 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
29704
30176
|
};
|
|
29705
30177
|
Returns: import("../integrations/supabase/types").Json;
|
|
29706
30178
|
};
|
|
30179
|
+
scan_heeft_pincode: {
|
|
30180
|
+
Args: {
|
|
30181
|
+
p_scanner_id: string;
|
|
30182
|
+
};
|
|
30183
|
+
Returns: boolean;
|
|
30184
|
+
};
|
|
29707
30185
|
scan_kar_compleet: {
|
|
29708
30186
|
Args: {
|
|
29709
30187
|
p_allow_reprint?: boolean;
|
|
@@ -29721,6 +30199,7 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
29721
30199
|
Args: {
|
|
29722
30200
|
p_code: string;
|
|
29723
30201
|
p_latency_ms?: number;
|
|
30202
|
+
p_medewerker?: string;
|
|
29724
30203
|
p_message?: string;
|
|
29725
30204
|
p_result: string;
|
|
29726
30205
|
p_scanner_key?: string;
|
|
@@ -29793,6 +30272,22 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
29793
30272
|
};
|
|
29794
30273
|
Returns: undefined;
|
|
29795
30274
|
};
|
|
30275
|
+
scan_scanner_info: {
|
|
30276
|
+
Args: {
|
|
30277
|
+
p_slug: string;
|
|
30278
|
+
};
|
|
30279
|
+
Returns: {
|
|
30280
|
+
actief: boolean;
|
|
30281
|
+
heeft_pincode: boolean;
|
|
30282
|
+
id: string;
|
|
30283
|
+
naam: string;
|
|
30284
|
+
omschrijving: string;
|
|
30285
|
+
printer_id: string;
|
|
30286
|
+
type: string;
|
|
30287
|
+
vereist_medewerker: boolean;
|
|
30288
|
+
werkplek: string;
|
|
30289
|
+
}[];
|
|
30290
|
+
};
|
|
29796
30291
|
scan_sessie_annuleren: {
|
|
29797
30292
|
Args: {
|
|
29798
30293
|
p_sessie_id: string;
|
|
@@ -30755,6 +31250,21 @@ export declare const sendOrderEventToEngine: import("@tanstack/start-client-core
|
|
|
30755
31250
|
};
|
|
30756
31251
|
Returns: import("../integrations/supabase/types").Json;
|
|
30757
31252
|
};
|
|
31253
|
+
wo_list_colleague_planning: {
|
|
31254
|
+
Args: {
|
|
31255
|
+
_from: string;
|
|
31256
|
+
_monteur_id: string;
|
|
31257
|
+
_to: string;
|
|
31258
|
+
};
|
|
31259
|
+
Returns: {
|
|
31260
|
+
end_at: string;
|
|
31261
|
+
id: string;
|
|
31262
|
+
role: string;
|
|
31263
|
+
start_at: string;
|
|
31264
|
+
status: string;
|
|
31265
|
+
werkbon_id: string;
|
|
31266
|
+
}[];
|
|
31267
|
+
};
|
|
30758
31268
|
wo_list_offerte_requests: {
|
|
30759
31269
|
Args: {
|
|
30760
31270
|
_status?: string;
|
|
@@ -31572,6 +32082,27 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
31572
32082
|
};
|
|
31573
32083
|
Relationships: [];
|
|
31574
32084
|
};
|
|
32085
|
+
artikelen_instellingen: {
|
|
32086
|
+
Row: {
|
|
32087
|
+
created_at: string;
|
|
32088
|
+
id: number;
|
|
32089
|
+
marge_procent: number;
|
|
32090
|
+
updated_at: string;
|
|
32091
|
+
};
|
|
32092
|
+
Insert: {
|
|
32093
|
+
created_at?: string;
|
|
32094
|
+
id?: number;
|
|
32095
|
+
marge_procent?: number;
|
|
32096
|
+
updated_at?: string;
|
|
32097
|
+
};
|
|
32098
|
+
Update: {
|
|
32099
|
+
created_at?: string;
|
|
32100
|
+
id?: number;
|
|
32101
|
+
marge_procent?: number;
|
|
32102
|
+
updated_at?: string;
|
|
32103
|
+
};
|
|
32104
|
+
Relationships: [];
|
|
32105
|
+
};
|
|
31575
32106
|
artikelen_veldconfig: {
|
|
31576
32107
|
Row: {
|
|
31577
32108
|
bron_pad: string;
|
|
@@ -41247,6 +41778,30 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
41247
41778
|
};
|
|
41248
41779
|
Relationships: [];
|
|
41249
41780
|
};
|
|
41781
|
+
logistics_cart_barcode_archief: {
|
|
41782
|
+
Row: {
|
|
41783
|
+
barcode: string;
|
|
41784
|
+
cart_id: string;
|
|
41785
|
+
created_at: string | null;
|
|
41786
|
+
gearchiveerd_op: string;
|
|
41787
|
+
order_id: string | null;
|
|
41788
|
+
};
|
|
41789
|
+
Insert: {
|
|
41790
|
+
barcode: string;
|
|
41791
|
+
cart_id: string;
|
|
41792
|
+
created_at?: string | null;
|
|
41793
|
+
gearchiveerd_op?: string;
|
|
41794
|
+
order_id?: string | null;
|
|
41795
|
+
};
|
|
41796
|
+
Update: {
|
|
41797
|
+
barcode?: string;
|
|
41798
|
+
cart_id?: string;
|
|
41799
|
+
created_at?: string | null;
|
|
41800
|
+
gearchiveerd_op?: string;
|
|
41801
|
+
order_id?: string | null;
|
|
41802
|
+
};
|
|
41803
|
+
Relationships: [];
|
|
41804
|
+
};
|
|
41250
41805
|
logistics_control_scan: {
|
|
41251
41806
|
Row: {
|
|
41252
41807
|
approved_at: string | null;
|
|
@@ -46900,18 +47455,24 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
46900
47455
|
Row: {
|
|
46901
47456
|
id: boolean;
|
|
46902
47457
|
last_cleanup_at: string | null;
|
|
47458
|
+
last_error: string | null;
|
|
47459
|
+
last_error_at: string | null;
|
|
46903
47460
|
last_sync_at: string | null;
|
|
46904
47461
|
updated_at: string;
|
|
46905
47462
|
};
|
|
46906
47463
|
Insert: {
|
|
46907
47464
|
id?: boolean;
|
|
46908
47465
|
last_cleanup_at?: string | null;
|
|
47466
|
+
last_error?: string | null;
|
|
47467
|
+
last_error_at?: string | null;
|
|
46909
47468
|
last_sync_at?: string | null;
|
|
46910
47469
|
updated_at?: string;
|
|
46911
47470
|
};
|
|
46912
47471
|
Update: {
|
|
46913
47472
|
id?: boolean;
|
|
46914
47473
|
last_cleanup_at?: string | null;
|
|
47474
|
+
last_error?: string | null;
|
|
47475
|
+
last_error_at?: string | null;
|
|
46915
47476
|
last_sync_at?: string | null;
|
|
46916
47477
|
updated_at?: string;
|
|
46917
47478
|
};
|
|
@@ -47037,6 +47598,54 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
47037
47598
|
};
|
|
47038
47599
|
Relationships: [];
|
|
47039
47600
|
};
|
|
47601
|
+
planning_confirmation_log: {
|
|
47602
|
+
Row: {
|
|
47603
|
+
created_at: string;
|
|
47604
|
+
end_at: string;
|
|
47605
|
+
id: string;
|
|
47606
|
+
outbox_id: string | null;
|
|
47607
|
+
planning_item_id: string;
|
|
47608
|
+
reason: string | null;
|
|
47609
|
+
recipient: string | null;
|
|
47610
|
+
start_at: string;
|
|
47611
|
+
status: string;
|
|
47612
|
+
};
|
|
47613
|
+
Insert: {
|
|
47614
|
+
created_at?: string;
|
|
47615
|
+
end_at: string;
|
|
47616
|
+
id?: string;
|
|
47617
|
+
outbox_id?: string | null;
|
|
47618
|
+
planning_item_id: string;
|
|
47619
|
+
reason?: string | null;
|
|
47620
|
+
recipient?: string | null;
|
|
47621
|
+
start_at: string;
|
|
47622
|
+
status: string;
|
|
47623
|
+
};
|
|
47624
|
+
Update: {
|
|
47625
|
+
created_at?: string;
|
|
47626
|
+
end_at?: string;
|
|
47627
|
+
id?: string;
|
|
47628
|
+
outbox_id?: string | null;
|
|
47629
|
+
planning_item_id?: string;
|
|
47630
|
+
reason?: string | null;
|
|
47631
|
+
recipient?: string | null;
|
|
47632
|
+
start_at?: string;
|
|
47633
|
+
status?: string;
|
|
47634
|
+
};
|
|
47635
|
+
Relationships: [{
|
|
47636
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
47637
|
+
columns: ["planning_item_id"];
|
|
47638
|
+
isOneToOne: false;
|
|
47639
|
+
referencedRelation: "planning_items";
|
|
47640
|
+
referencedColumns: ["id"];
|
|
47641
|
+
}, {
|
|
47642
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
47643
|
+
columns: ["planning_item_id"];
|
|
47644
|
+
isOneToOne: false;
|
|
47645
|
+
referencedRelation: "planning_overview";
|
|
47646
|
+
referencedColumns: ["id"];
|
|
47647
|
+
}];
|
|
47648
|
+
};
|
|
47040
47649
|
planning_item_assistants: {
|
|
47041
47650
|
Row: {
|
|
47042
47651
|
created_at: string;
|
|
@@ -47121,6 +47730,60 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
47121
47730
|
referencedColumns: ["id"];
|
|
47122
47731
|
}];
|
|
47123
47732
|
};
|
|
47733
|
+
planning_mail_settings: {
|
|
47734
|
+
Row: {
|
|
47735
|
+
body_template: string;
|
|
47736
|
+
cc: string[];
|
|
47737
|
+
connection_id: string | null;
|
|
47738
|
+
created_at: string;
|
|
47739
|
+
enabled: boolean;
|
|
47740
|
+
id: boolean;
|
|
47741
|
+
reply_to: string | null;
|
|
47742
|
+
subject_template: string;
|
|
47743
|
+
timezone: string;
|
|
47744
|
+
updated_at: string;
|
|
47745
|
+
updated_by: string | null;
|
|
47746
|
+
};
|
|
47747
|
+
Insert: {
|
|
47748
|
+
body_template?: string;
|
|
47749
|
+
cc?: string[];
|
|
47750
|
+
connection_id?: string | null;
|
|
47751
|
+
created_at?: string;
|
|
47752
|
+
enabled?: boolean;
|
|
47753
|
+
id?: boolean;
|
|
47754
|
+
reply_to?: string | null;
|
|
47755
|
+
subject_template?: string;
|
|
47756
|
+
timezone?: string;
|
|
47757
|
+
updated_at?: string;
|
|
47758
|
+
updated_by?: string | null;
|
|
47759
|
+
};
|
|
47760
|
+
Update: {
|
|
47761
|
+
body_template?: string;
|
|
47762
|
+
cc?: string[];
|
|
47763
|
+
connection_id?: string | null;
|
|
47764
|
+
created_at?: string;
|
|
47765
|
+
enabled?: boolean;
|
|
47766
|
+
id?: boolean;
|
|
47767
|
+
reply_to?: string | null;
|
|
47768
|
+
subject_template?: string;
|
|
47769
|
+
timezone?: string;
|
|
47770
|
+
updated_at?: string;
|
|
47771
|
+
updated_by?: string | null;
|
|
47772
|
+
};
|
|
47773
|
+
Relationships: [{
|
|
47774
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
47775
|
+
columns: ["connection_id"];
|
|
47776
|
+
isOneToOne: false;
|
|
47777
|
+
referencedRelation: "email_auth_connections";
|
|
47778
|
+
referencedColumns: ["id"];
|
|
47779
|
+
}, {
|
|
47780
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
47781
|
+
columns: ["connection_id"];
|
|
47782
|
+
isOneToOne: false;
|
|
47783
|
+
referencedRelation: "email_auth_connections_safe";
|
|
47784
|
+
referencedColumns: ["id"];
|
|
47785
|
+
}];
|
|
47786
|
+
};
|
|
47124
47787
|
planning_monteur_day_locations: {
|
|
47125
47788
|
Row: {
|
|
47126
47789
|
created_at: string;
|
|
@@ -48599,6 +49262,9 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
48599
49262
|
lead_time_days: number | null;
|
|
48600
49263
|
min_order_quantity: number | null;
|
|
48601
49264
|
notes: string | null;
|
|
49265
|
+
previous_price_cents: number | null;
|
|
49266
|
+
price_source: string;
|
|
49267
|
+
price_updated_at: string | null;
|
|
48602
49268
|
product_id: string;
|
|
48603
49269
|
purchase_price_cents: number | null;
|
|
48604
49270
|
supplier_article_number: string | null;
|
|
@@ -48612,6 +49278,9 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
48612
49278
|
lead_time_days?: number | null;
|
|
48613
49279
|
min_order_quantity?: number | null;
|
|
48614
49280
|
notes?: string | null;
|
|
49281
|
+
previous_price_cents?: number | null;
|
|
49282
|
+
price_source?: string;
|
|
49283
|
+
price_updated_at?: string | null;
|
|
48615
49284
|
product_id: string;
|
|
48616
49285
|
purchase_price_cents?: number | null;
|
|
48617
49286
|
supplier_article_number?: string | null;
|
|
@@ -48625,6 +49294,9 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
48625
49294
|
lead_time_days?: number | null;
|
|
48626
49295
|
min_order_quantity?: number | null;
|
|
48627
49296
|
notes?: string | null;
|
|
49297
|
+
previous_price_cents?: number | null;
|
|
49298
|
+
price_source?: string;
|
|
49299
|
+
price_updated_at?: string | null;
|
|
48628
49300
|
product_id?: string;
|
|
48629
49301
|
purchase_price_cents?: number | null;
|
|
48630
49302
|
supplier_article_number?: string | null;
|
|
@@ -49155,9 +49827,13 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
49155
49827
|
purchase_order_items: {
|
|
49156
49828
|
Row: {
|
|
49157
49829
|
article_number: string | null;
|
|
49830
|
+
cancel_reason: string | null;
|
|
49831
|
+
cancelled_at: string | null;
|
|
49158
49832
|
created_at: string;
|
|
49159
49833
|
delivery_date: string | null;
|
|
49160
49834
|
id: string;
|
|
49835
|
+
incoming_booked: number;
|
|
49836
|
+
line_status: string;
|
|
49161
49837
|
name: string;
|
|
49162
49838
|
note: string | null;
|
|
49163
49839
|
pot_size: string | null;
|
|
@@ -49165,6 +49841,8 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
49165
49841
|
product_type: string;
|
|
49166
49842
|
purchase_order_id: string;
|
|
49167
49843
|
quantity: number;
|
|
49844
|
+
received_at: string | null;
|
|
49845
|
+
received_booked: number;
|
|
49168
49846
|
supplier_id: string | null;
|
|
49169
49847
|
supplier_product_id: string | null;
|
|
49170
49848
|
unit_price_cents: number;
|
|
@@ -49172,9 +49850,13 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
49172
49850
|
};
|
|
49173
49851
|
Insert: {
|
|
49174
49852
|
article_number?: string | null;
|
|
49853
|
+
cancel_reason?: string | null;
|
|
49854
|
+
cancelled_at?: string | null;
|
|
49175
49855
|
created_at?: string;
|
|
49176
49856
|
delivery_date?: string | null;
|
|
49177
49857
|
id?: string;
|
|
49858
|
+
incoming_booked?: number;
|
|
49859
|
+
line_status?: string;
|
|
49178
49860
|
name?: string;
|
|
49179
49861
|
note?: string | null;
|
|
49180
49862
|
pot_size?: string | null;
|
|
@@ -49182,6 +49864,8 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
49182
49864
|
product_type?: string;
|
|
49183
49865
|
purchase_order_id: string;
|
|
49184
49866
|
quantity?: number;
|
|
49867
|
+
received_at?: string | null;
|
|
49868
|
+
received_booked?: number;
|
|
49185
49869
|
supplier_id?: string | null;
|
|
49186
49870
|
supplier_product_id?: string | null;
|
|
49187
49871
|
unit_price_cents?: number;
|
|
@@ -49189,9 +49873,13 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
49189
49873
|
};
|
|
49190
49874
|
Update: {
|
|
49191
49875
|
article_number?: string | null;
|
|
49876
|
+
cancel_reason?: string | null;
|
|
49877
|
+
cancelled_at?: string | null;
|
|
49192
49878
|
created_at?: string;
|
|
49193
49879
|
delivery_date?: string | null;
|
|
49194
49880
|
id?: string;
|
|
49881
|
+
incoming_booked?: number;
|
|
49882
|
+
line_status?: string;
|
|
49195
49883
|
name?: string;
|
|
49196
49884
|
note?: string | null;
|
|
49197
49885
|
pot_size?: string | null;
|
|
@@ -49199,6 +49887,8 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
49199
49887
|
product_type?: string;
|
|
49200
49888
|
purchase_order_id?: string;
|
|
49201
49889
|
quantity?: number;
|
|
49890
|
+
received_at?: string | null;
|
|
49891
|
+
received_booked?: number;
|
|
49202
49892
|
supplier_id?: string | null;
|
|
49203
49893
|
supplier_product_id?: string | null;
|
|
49204
49894
|
unit_price_cents?: number;
|
|
@@ -49302,6 +49992,153 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
49302
49992
|
referencedColumns: ["id"];
|
|
49303
49993
|
}];
|
|
49304
49994
|
};
|
|
49995
|
+
purchase_request_events: {
|
|
49996
|
+
Row: {
|
|
49997
|
+
created_at: string;
|
|
49998
|
+
details: import("../integrations/supabase/types").Json | null;
|
|
49999
|
+
event_type: string;
|
|
50000
|
+
id: string;
|
|
50001
|
+
request_id: string;
|
|
50002
|
+
};
|
|
50003
|
+
Insert: {
|
|
50004
|
+
created_at?: string;
|
|
50005
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
50006
|
+
event_type: string;
|
|
50007
|
+
id?: string;
|
|
50008
|
+
request_id: string;
|
|
50009
|
+
};
|
|
50010
|
+
Update: {
|
|
50011
|
+
created_at?: string;
|
|
50012
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
50013
|
+
event_type?: string;
|
|
50014
|
+
id?: string;
|
|
50015
|
+
request_id?: string;
|
|
50016
|
+
};
|
|
50017
|
+
Relationships: [{
|
|
50018
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
50019
|
+
columns: ["request_id"];
|
|
50020
|
+
isOneToOne: false;
|
|
50021
|
+
referencedRelation: "purchase_requests";
|
|
50022
|
+
referencedColumns: ["id"];
|
|
50023
|
+
}];
|
|
50024
|
+
};
|
|
50025
|
+
purchase_request_responses: {
|
|
50026
|
+
Row: {
|
|
50027
|
+
confirmed_date: string | null;
|
|
50028
|
+
confirmed_price_cents: number | null;
|
|
50029
|
+
confirmed_quantity: number;
|
|
50030
|
+
created_at: string;
|
|
50031
|
+
id: string;
|
|
50032
|
+
not_available: boolean;
|
|
50033
|
+
note: string | null;
|
|
50034
|
+
purchase_order_item_id: string;
|
|
50035
|
+
request_id: string;
|
|
50036
|
+
updated_at: string;
|
|
50037
|
+
};
|
|
50038
|
+
Insert: {
|
|
50039
|
+
confirmed_date?: string | null;
|
|
50040
|
+
confirmed_price_cents?: number | null;
|
|
50041
|
+
confirmed_quantity?: number;
|
|
50042
|
+
created_at?: string;
|
|
50043
|
+
id?: string;
|
|
50044
|
+
not_available?: boolean;
|
|
50045
|
+
note?: string | null;
|
|
50046
|
+
purchase_order_item_id: string;
|
|
50047
|
+
request_id: string;
|
|
50048
|
+
updated_at?: string;
|
|
50049
|
+
};
|
|
50050
|
+
Update: {
|
|
50051
|
+
confirmed_date?: string | null;
|
|
50052
|
+
confirmed_price_cents?: number | null;
|
|
50053
|
+
confirmed_quantity?: number;
|
|
50054
|
+
created_at?: string;
|
|
50055
|
+
id?: string;
|
|
50056
|
+
not_available?: boolean;
|
|
50057
|
+
note?: string | null;
|
|
50058
|
+
purchase_order_item_id?: string;
|
|
50059
|
+
request_id?: string;
|
|
50060
|
+
updated_at?: string;
|
|
50061
|
+
};
|
|
50062
|
+
Relationships: [{
|
|
50063
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
50064
|
+
columns: ["purchase_order_item_id"];
|
|
50065
|
+
isOneToOne: false;
|
|
50066
|
+
referencedRelation: "purchase_order_items";
|
|
50067
|
+
referencedColumns: ["id"];
|
|
50068
|
+
}, {
|
|
50069
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
50070
|
+
columns: ["request_id"];
|
|
50071
|
+
isOneToOne: false;
|
|
50072
|
+
referencedRelation: "purchase_requests";
|
|
50073
|
+
referencedColumns: ["id"];
|
|
50074
|
+
}];
|
|
50075
|
+
};
|
|
50076
|
+
purchase_requests: {
|
|
50077
|
+
Row: {
|
|
50078
|
+
created_at: string;
|
|
50079
|
+
expires_at: string;
|
|
50080
|
+
first_viewed_at: string | null;
|
|
50081
|
+
id: string;
|
|
50082
|
+
processed_at: string | null;
|
|
50083
|
+
purchase_order_id: string;
|
|
50084
|
+
responded_at: string | null;
|
|
50085
|
+
sent_at: string;
|
|
50086
|
+
status: string;
|
|
50087
|
+
supplier_id: string | null;
|
|
50088
|
+
supplier_name: string;
|
|
50089
|
+
supplier_note: string | null;
|
|
50090
|
+
to_address: string | null;
|
|
50091
|
+
token_hash: string;
|
|
50092
|
+
updated_at: string;
|
|
50093
|
+
};
|
|
50094
|
+
Insert: {
|
|
50095
|
+
created_at?: string;
|
|
50096
|
+
expires_at?: string;
|
|
50097
|
+
first_viewed_at?: string | null;
|
|
50098
|
+
id?: string;
|
|
50099
|
+
processed_at?: string | null;
|
|
50100
|
+
purchase_order_id: string;
|
|
50101
|
+
responded_at?: string | null;
|
|
50102
|
+
sent_at?: string;
|
|
50103
|
+
status?: string;
|
|
50104
|
+
supplier_id?: string | null;
|
|
50105
|
+
supplier_name?: string;
|
|
50106
|
+
supplier_note?: string | null;
|
|
50107
|
+
to_address?: string | null;
|
|
50108
|
+
token_hash: string;
|
|
50109
|
+
updated_at?: string;
|
|
50110
|
+
};
|
|
50111
|
+
Update: {
|
|
50112
|
+
created_at?: string;
|
|
50113
|
+
expires_at?: string;
|
|
50114
|
+
first_viewed_at?: string | null;
|
|
50115
|
+
id?: string;
|
|
50116
|
+
processed_at?: string | null;
|
|
50117
|
+
purchase_order_id?: string;
|
|
50118
|
+
responded_at?: string | null;
|
|
50119
|
+
sent_at?: string;
|
|
50120
|
+
status?: string;
|
|
50121
|
+
supplier_id?: string | null;
|
|
50122
|
+
supplier_name?: string;
|
|
50123
|
+
supplier_note?: string | null;
|
|
50124
|
+
to_address?: string | null;
|
|
50125
|
+
token_hash?: string;
|
|
50126
|
+
updated_at?: string;
|
|
50127
|
+
};
|
|
50128
|
+
Relationships: [{
|
|
50129
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
50130
|
+
columns: ["purchase_order_id"];
|
|
50131
|
+
isOneToOne: false;
|
|
50132
|
+
referencedRelation: "purchase_orders";
|
|
50133
|
+
referencedColumns: ["id"];
|
|
50134
|
+
}, {
|
|
50135
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
50136
|
+
columns: ["supplier_id"];
|
|
50137
|
+
isOneToOne: false;
|
|
50138
|
+
referencedRelation: "suppliers";
|
|
50139
|
+
referencedColumns: ["id"];
|
|
50140
|
+
}];
|
|
50141
|
+
};
|
|
49305
50142
|
reception_notifications: {
|
|
49306
50143
|
Row: {
|
|
49307
50144
|
booking_id: string | null;
|
|
@@ -53727,7 +54564,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
53727
54564
|
created_at: string;
|
|
53728
54565
|
default_quantity: number;
|
|
53729
54566
|
description: string | null;
|
|
53730
|
-
duration_minutes: number
|
|
54567
|
+
duration_minutes: number;
|
|
53731
54568
|
id: string;
|
|
53732
54569
|
mandaat_type: string | null;
|
|
53733
54570
|
name: string;
|
|
@@ -53744,7 +54581,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
53744
54581
|
created_at?: string;
|
|
53745
54582
|
default_quantity?: number;
|
|
53746
54583
|
description?: string | null;
|
|
53747
|
-
duration_minutes?: number
|
|
54584
|
+
duration_minutes?: number;
|
|
53748
54585
|
id?: string;
|
|
53749
54586
|
mandaat_type?: string | null;
|
|
53750
54587
|
name: string;
|
|
@@ -53761,7 +54598,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
53761
54598
|
created_at?: string;
|
|
53762
54599
|
default_quantity?: number;
|
|
53763
54600
|
description?: string | null;
|
|
53764
|
-
duration_minutes?: number
|
|
54601
|
+
duration_minutes?: number;
|
|
53765
54602
|
id?: string;
|
|
53766
54603
|
mandaat_type?: string | null;
|
|
53767
54604
|
name?: string;
|
|
@@ -56757,6 +57594,31 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
56757
57594
|
};
|
|
56758
57595
|
Returns: import("../integrations/supabase/types").Json;
|
|
56759
57596
|
};
|
|
57597
|
+
inkoop_cancel_line: {
|
|
57598
|
+
Args: {
|
|
57599
|
+
_item_id: string;
|
|
57600
|
+
_reason: string;
|
|
57601
|
+
};
|
|
57602
|
+
Returns: string;
|
|
57603
|
+
};
|
|
57604
|
+
inkoop_get_supplier_request: {
|
|
57605
|
+
Args: {
|
|
57606
|
+
_token: string;
|
|
57607
|
+
};
|
|
57608
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
57609
|
+
};
|
|
57610
|
+
inkoop_hash_token: {
|
|
57611
|
+
Args: {
|
|
57612
|
+
_token: string;
|
|
57613
|
+
};
|
|
57614
|
+
Returns: string;
|
|
57615
|
+
};
|
|
57616
|
+
inkoop_html_escape: {
|
|
57617
|
+
Args: {
|
|
57618
|
+
_t: string;
|
|
57619
|
+
};
|
|
57620
|
+
Returns: string;
|
|
57621
|
+
};
|
|
56760
57622
|
inkoop_list_artikelen: {
|
|
56761
57623
|
Args: never;
|
|
56762
57624
|
Returns: {
|
|
@@ -56781,9 +57643,17 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
56781
57643
|
Args: never;
|
|
56782
57644
|
Returns: string;
|
|
56783
57645
|
};
|
|
57646
|
+
inkoop_process_request: {
|
|
57647
|
+
Args: {
|
|
57648
|
+
_request_id: string;
|
|
57649
|
+
};
|
|
57650
|
+
Returns: undefined;
|
|
57651
|
+
};
|
|
56784
57652
|
inkoop_send_order: {
|
|
56785
57653
|
Args: {
|
|
57654
|
+
_base_url?: string;
|
|
56786
57655
|
_order_id: string;
|
|
57656
|
+
_resend?: boolean;
|
|
56787
57657
|
};
|
|
56788
57658
|
Returns: {
|
|
56789
57659
|
outbox_id: string;
|
|
@@ -56798,6 +57668,26 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
56798
57668
|
};
|
|
56799
57669
|
Returns: undefined;
|
|
56800
57670
|
};
|
|
57671
|
+
inkoop_stock_key: {
|
|
57672
|
+
Args: {
|
|
57673
|
+
p_product_id: string;
|
|
57674
|
+
};
|
|
57675
|
+
Returns: string;
|
|
57676
|
+
};
|
|
57677
|
+
inkoop_submit_supplier_response: {
|
|
57678
|
+
Args: {
|
|
57679
|
+
_lines: import("../integrations/supabase/types").Json;
|
|
57680
|
+
_note?: string;
|
|
57681
|
+
_token: string;
|
|
57682
|
+
};
|
|
57683
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
57684
|
+
};
|
|
57685
|
+
inkoop_sync_item_stock: {
|
|
57686
|
+
Args: {
|
|
57687
|
+
p_item_id: string;
|
|
57688
|
+
};
|
|
57689
|
+
Returns: undefined;
|
|
57690
|
+
};
|
|
56801
57691
|
instructie_get: {
|
|
56802
57692
|
Args: {
|
|
56803
57693
|
_sleutel: string;
|
|
@@ -56958,6 +57848,27 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
56958
57848
|
};
|
|
56959
57849
|
Returns: boolean;
|
|
56960
57850
|
};
|
|
57851
|
+
layout_print_document: {
|
|
57852
|
+
Args: {
|
|
57853
|
+
_documentnaam: string;
|
|
57854
|
+
_documenttype: string;
|
|
57855
|
+
_herkomst?: string;
|
|
57856
|
+
_idempotentie_sleutel?: string;
|
|
57857
|
+
_is_herprint?: boolean;
|
|
57858
|
+
_kopieen?: number;
|
|
57859
|
+
_layout_id?: string;
|
|
57860
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
57861
|
+
_pdf_base64?: string;
|
|
57862
|
+
_pdf_url?: string;
|
|
57863
|
+
_print_plek_id?: string;
|
|
57864
|
+
_werkplek?: string;
|
|
57865
|
+
};
|
|
57866
|
+
Returns: {
|
|
57867
|
+
bestaand: boolean;
|
|
57868
|
+
job_id: string;
|
|
57869
|
+
printer_id: string;
|
|
57870
|
+
}[];
|
|
57871
|
+
};
|
|
56961
57872
|
list_medewerkers: {
|
|
56962
57873
|
Args: never;
|
|
56963
57874
|
Returns: {
|
|
@@ -57235,6 +58146,12 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
57235
58146
|
};
|
|
57236
58147
|
Returns: number;
|
|
57237
58148
|
};
|
|
58149
|
+
logistics_cart_barcode_opschonen: {
|
|
58150
|
+
Args: {
|
|
58151
|
+
p_portie?: number;
|
|
58152
|
+
};
|
|
58153
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
58154
|
+
};
|
|
57238
58155
|
logistics_cart_barcode_value: {
|
|
57239
58156
|
Args: {
|
|
57240
58157
|
_cart_id: string;
|
|
@@ -57654,6 +58571,13 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
57654
58571
|
};
|
|
57655
58572
|
Returns: import("../integrations/supabase/types").Json;
|
|
57656
58573
|
};
|
|
58574
|
+
logistics_control_scan_print_own: {
|
|
58575
|
+
Args: {
|
|
58576
|
+
p_is_herprint?: boolean;
|
|
58577
|
+
p_scan_id: string;
|
|
58578
|
+
};
|
|
58579
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
58580
|
+
};
|
|
57657
58581
|
logistics_control_scan_retry: {
|
|
57658
58582
|
Args: {
|
|
57659
58583
|
_id: string;
|
|
@@ -58558,6 +59482,21 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
58558
59482
|
};
|
|
58559
59483
|
Returns: import("../integrations/supabase/types").Json;
|
|
58560
59484
|
};
|
|
59485
|
+
logistics_print_via_layout: {
|
|
59486
|
+
Args: {
|
|
59487
|
+
_documentnaam: string;
|
|
59488
|
+
_documenttype: string;
|
|
59489
|
+
_herkomst: string;
|
|
59490
|
+
_idempotentie_sleutel: string;
|
|
59491
|
+
_is_herprint: boolean;
|
|
59492
|
+
_layout_id: string;
|
|
59493
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
59494
|
+
_pdf_base64: string;
|
|
59495
|
+
_pdf_url: string;
|
|
59496
|
+
_print_plek_id: string;
|
|
59497
|
+
};
|
|
59498
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59499
|
+
};
|
|
58561
59500
|
logistics_prune_buffer_member_queue: {
|
|
58562
59501
|
Args: never;
|
|
58563
59502
|
Returns: number;
|
|
@@ -58844,6 +59783,13 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
58844
59783
|
};
|
|
58845
59784
|
Returns: string;
|
|
58846
59785
|
};
|
|
59786
|
+
logistics_shipping_note_status: {
|
|
59787
|
+
Args: {
|
|
59788
|
+
p_cart_id?: string;
|
|
59789
|
+
p_slip_job_id?: string;
|
|
59790
|
+
};
|
|
59791
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59792
|
+
};
|
|
58847
59793
|
logistics_shipping_notes_wake_all: {
|
|
58848
59794
|
Args: never;
|
|
58849
59795
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -58906,6 +59852,12 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
58906
59852
|
};
|
|
58907
59853
|
Returns: undefined;
|
|
58908
59854
|
};
|
|
59855
|
+
logistics_slip_note_retry: {
|
|
59856
|
+
Args: {
|
|
59857
|
+
_id: string;
|
|
59858
|
+
};
|
|
59859
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59860
|
+
};
|
|
58909
59861
|
logistics_sticker_follows_slip: {
|
|
58910
59862
|
Args: never;
|
|
58911
59863
|
Returns: boolean;
|
|
@@ -59650,6 +60602,10 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
59650
60602
|
};
|
|
59651
60603
|
Returns: string;
|
|
59652
60604
|
};
|
|
60605
|
+
pick_is_reference_admin: {
|
|
60606
|
+
Args: never;
|
|
60607
|
+
Returns: boolean;
|
|
60608
|
+
};
|
|
59653
60609
|
pick_mark_printed: {
|
|
59654
60610
|
Args: {
|
|
59655
60611
|
_queue_item_id: string;
|
|
@@ -60073,6 +61029,12 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
60073
61029
|
};
|
|
60074
61030
|
Returns: import("../integrations/supabase/types").Json;
|
|
60075
61031
|
};
|
|
61032
|
+
pick_verify_rows: {
|
|
61033
|
+
Args: {
|
|
61034
|
+
_rows: import("../integrations/supabase/types").Json;
|
|
61035
|
+
};
|
|
61036
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
61037
|
+
};
|
|
60076
61038
|
pickstation_get_orders_raw: {
|
|
60077
61039
|
Args: never;
|
|
60078
61040
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -60253,6 +61215,12 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
60253
61215
|
};
|
|
60254
61216
|
Returns: import("../integrations/supabase/types").Json;
|
|
60255
61217
|
};
|
|
61218
|
+
quote_create_from_scratch: {
|
|
61219
|
+
Args: {
|
|
61220
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
61221
|
+
};
|
|
61222
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
61223
|
+
};
|
|
60256
61224
|
quote_create_from_source: {
|
|
60257
61225
|
Args: {
|
|
60258
61226
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -60303,6 +61271,13 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
60303
61271
|
};
|
|
60304
61272
|
Returns: string;
|
|
60305
61273
|
};
|
|
61274
|
+
quote_sync_work_order: {
|
|
61275
|
+
Args: {
|
|
61276
|
+
_monteur_instructies?: string;
|
|
61277
|
+
_offerte_id: string;
|
|
61278
|
+
};
|
|
61279
|
+
Returns: boolean;
|
|
61280
|
+
};
|
|
60306
61281
|
recompute_all_reserved_stock: {
|
|
60307
61282
|
Args: never;
|
|
60308
61283
|
Returns: undefined;
|
|
@@ -60523,6 +61498,13 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
60523
61498
|
};
|
|
60524
61499
|
Returns: import("../integrations/supabase/types").Json;
|
|
60525
61500
|
};
|
|
61501
|
+
scan_controleer_pincode: {
|
|
61502
|
+
Args: {
|
|
61503
|
+
p_pin: string;
|
|
61504
|
+
p_scanner_id: string;
|
|
61505
|
+
};
|
|
61506
|
+
Returns: boolean;
|
|
61507
|
+
};
|
|
60526
61508
|
scan_dashboard_stats: {
|
|
60527
61509
|
Args: {
|
|
60528
61510
|
p_dagen?: number;
|
|
@@ -60542,6 +61524,12 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
60542
61524
|
};
|
|
60543
61525
|
Returns: import("../integrations/supabase/types").Json;
|
|
60544
61526
|
};
|
|
61527
|
+
scan_heeft_pincode: {
|
|
61528
|
+
Args: {
|
|
61529
|
+
p_scanner_id: string;
|
|
61530
|
+
};
|
|
61531
|
+
Returns: boolean;
|
|
61532
|
+
};
|
|
60545
61533
|
scan_kar_compleet: {
|
|
60546
61534
|
Args: {
|
|
60547
61535
|
p_allow_reprint?: boolean;
|
|
@@ -60559,6 +61547,7 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
60559
61547
|
Args: {
|
|
60560
61548
|
p_code: string;
|
|
60561
61549
|
p_latency_ms?: number;
|
|
61550
|
+
p_medewerker?: string;
|
|
60562
61551
|
p_message?: string;
|
|
60563
61552
|
p_result: string;
|
|
60564
61553
|
p_scanner_key?: string;
|
|
@@ -60631,6 +61620,22 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
60631
61620
|
};
|
|
60632
61621
|
Returns: undefined;
|
|
60633
61622
|
};
|
|
61623
|
+
scan_scanner_info: {
|
|
61624
|
+
Args: {
|
|
61625
|
+
p_slug: string;
|
|
61626
|
+
};
|
|
61627
|
+
Returns: {
|
|
61628
|
+
actief: boolean;
|
|
61629
|
+
heeft_pincode: boolean;
|
|
61630
|
+
id: string;
|
|
61631
|
+
naam: string;
|
|
61632
|
+
omschrijving: string;
|
|
61633
|
+
printer_id: string;
|
|
61634
|
+
type: string;
|
|
61635
|
+
vereist_medewerker: boolean;
|
|
61636
|
+
werkplek: string;
|
|
61637
|
+
}[];
|
|
61638
|
+
};
|
|
60634
61639
|
scan_sessie_annuleren: {
|
|
60635
61640
|
Args: {
|
|
60636
61641
|
p_sessie_id: string;
|
|
@@ -61593,6 +62598,21 @@ export declare const listEngineTasks: import("@tanstack/start-client-core").Opti
|
|
|
61593
62598
|
};
|
|
61594
62599
|
Returns: import("../integrations/supabase/types").Json;
|
|
61595
62600
|
};
|
|
62601
|
+
wo_list_colleague_planning: {
|
|
62602
|
+
Args: {
|
|
62603
|
+
_from: string;
|
|
62604
|
+
_monteur_id: string;
|
|
62605
|
+
_to: string;
|
|
62606
|
+
};
|
|
62607
|
+
Returns: {
|
|
62608
|
+
end_at: string;
|
|
62609
|
+
id: string;
|
|
62610
|
+
role: string;
|
|
62611
|
+
start_at: string;
|
|
62612
|
+
status: string;
|
|
62613
|
+
werkbon_id: string;
|
|
62614
|
+
}[];
|
|
62615
|
+
};
|
|
61596
62616
|
wo_list_offerte_requests: {
|
|
61597
62617
|
Args: {
|
|
61598
62618
|
_status?: string;
|
|
@@ -62444,6 +63464,27 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
62444
63464
|
};
|
|
62445
63465
|
Relationships: [];
|
|
62446
63466
|
};
|
|
63467
|
+
artikelen_instellingen: {
|
|
63468
|
+
Row: {
|
|
63469
|
+
created_at: string;
|
|
63470
|
+
id: number;
|
|
63471
|
+
marge_procent: number;
|
|
63472
|
+
updated_at: string;
|
|
63473
|
+
};
|
|
63474
|
+
Insert: {
|
|
63475
|
+
created_at?: string;
|
|
63476
|
+
id?: number;
|
|
63477
|
+
marge_procent?: number;
|
|
63478
|
+
updated_at?: string;
|
|
63479
|
+
};
|
|
63480
|
+
Update: {
|
|
63481
|
+
created_at?: string;
|
|
63482
|
+
id?: number;
|
|
63483
|
+
marge_procent?: number;
|
|
63484
|
+
updated_at?: string;
|
|
63485
|
+
};
|
|
63486
|
+
Relationships: [];
|
|
63487
|
+
};
|
|
62447
63488
|
artikelen_veldconfig: {
|
|
62448
63489
|
Row: {
|
|
62449
63490
|
bron_pad: string;
|
|
@@ -72119,6 +73160,30 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
72119
73160
|
};
|
|
72120
73161
|
Relationships: [];
|
|
72121
73162
|
};
|
|
73163
|
+
logistics_cart_barcode_archief: {
|
|
73164
|
+
Row: {
|
|
73165
|
+
barcode: string;
|
|
73166
|
+
cart_id: string;
|
|
73167
|
+
created_at: string | null;
|
|
73168
|
+
gearchiveerd_op: string;
|
|
73169
|
+
order_id: string | null;
|
|
73170
|
+
};
|
|
73171
|
+
Insert: {
|
|
73172
|
+
barcode: string;
|
|
73173
|
+
cart_id: string;
|
|
73174
|
+
created_at?: string | null;
|
|
73175
|
+
gearchiveerd_op?: string;
|
|
73176
|
+
order_id?: string | null;
|
|
73177
|
+
};
|
|
73178
|
+
Update: {
|
|
73179
|
+
barcode?: string;
|
|
73180
|
+
cart_id?: string;
|
|
73181
|
+
created_at?: string | null;
|
|
73182
|
+
gearchiveerd_op?: string;
|
|
73183
|
+
order_id?: string | null;
|
|
73184
|
+
};
|
|
73185
|
+
Relationships: [];
|
|
73186
|
+
};
|
|
72122
73187
|
logistics_control_scan: {
|
|
72123
73188
|
Row: {
|
|
72124
73189
|
approved_at: string | null;
|
|
@@ -77772,18 +78837,24 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
77772
78837
|
Row: {
|
|
77773
78838
|
id: boolean;
|
|
77774
78839
|
last_cleanup_at: string | null;
|
|
78840
|
+
last_error: string | null;
|
|
78841
|
+
last_error_at: string | null;
|
|
77775
78842
|
last_sync_at: string | null;
|
|
77776
78843
|
updated_at: string;
|
|
77777
78844
|
};
|
|
77778
78845
|
Insert: {
|
|
77779
78846
|
id?: boolean;
|
|
77780
78847
|
last_cleanup_at?: string | null;
|
|
78848
|
+
last_error?: string | null;
|
|
78849
|
+
last_error_at?: string | null;
|
|
77781
78850
|
last_sync_at?: string | null;
|
|
77782
78851
|
updated_at?: string;
|
|
77783
78852
|
};
|
|
77784
78853
|
Update: {
|
|
77785
78854
|
id?: boolean;
|
|
77786
78855
|
last_cleanup_at?: string | null;
|
|
78856
|
+
last_error?: string | null;
|
|
78857
|
+
last_error_at?: string | null;
|
|
77787
78858
|
last_sync_at?: string | null;
|
|
77788
78859
|
updated_at?: string;
|
|
77789
78860
|
};
|
|
@@ -77909,6 +78980,54 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
77909
78980
|
};
|
|
77910
78981
|
Relationships: [];
|
|
77911
78982
|
};
|
|
78983
|
+
planning_confirmation_log: {
|
|
78984
|
+
Row: {
|
|
78985
|
+
created_at: string;
|
|
78986
|
+
end_at: string;
|
|
78987
|
+
id: string;
|
|
78988
|
+
outbox_id: string | null;
|
|
78989
|
+
planning_item_id: string;
|
|
78990
|
+
reason: string | null;
|
|
78991
|
+
recipient: string | null;
|
|
78992
|
+
start_at: string;
|
|
78993
|
+
status: string;
|
|
78994
|
+
};
|
|
78995
|
+
Insert: {
|
|
78996
|
+
created_at?: string;
|
|
78997
|
+
end_at: string;
|
|
78998
|
+
id?: string;
|
|
78999
|
+
outbox_id?: string | null;
|
|
79000
|
+
planning_item_id: string;
|
|
79001
|
+
reason?: string | null;
|
|
79002
|
+
recipient?: string | null;
|
|
79003
|
+
start_at: string;
|
|
79004
|
+
status: string;
|
|
79005
|
+
};
|
|
79006
|
+
Update: {
|
|
79007
|
+
created_at?: string;
|
|
79008
|
+
end_at?: string;
|
|
79009
|
+
id?: string;
|
|
79010
|
+
outbox_id?: string | null;
|
|
79011
|
+
planning_item_id?: string;
|
|
79012
|
+
reason?: string | null;
|
|
79013
|
+
recipient?: string | null;
|
|
79014
|
+
start_at?: string;
|
|
79015
|
+
status?: string;
|
|
79016
|
+
};
|
|
79017
|
+
Relationships: [{
|
|
79018
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
79019
|
+
columns: ["planning_item_id"];
|
|
79020
|
+
isOneToOne: false;
|
|
79021
|
+
referencedRelation: "planning_items";
|
|
79022
|
+
referencedColumns: ["id"];
|
|
79023
|
+
}, {
|
|
79024
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
79025
|
+
columns: ["planning_item_id"];
|
|
79026
|
+
isOneToOne: false;
|
|
79027
|
+
referencedRelation: "planning_overview";
|
|
79028
|
+
referencedColumns: ["id"];
|
|
79029
|
+
}];
|
|
79030
|
+
};
|
|
77912
79031
|
planning_item_assistants: {
|
|
77913
79032
|
Row: {
|
|
77914
79033
|
created_at: string;
|
|
@@ -77993,6 +79112,60 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
77993
79112
|
referencedColumns: ["id"];
|
|
77994
79113
|
}];
|
|
77995
79114
|
};
|
|
79115
|
+
planning_mail_settings: {
|
|
79116
|
+
Row: {
|
|
79117
|
+
body_template: string;
|
|
79118
|
+
cc: string[];
|
|
79119
|
+
connection_id: string | null;
|
|
79120
|
+
created_at: string;
|
|
79121
|
+
enabled: boolean;
|
|
79122
|
+
id: boolean;
|
|
79123
|
+
reply_to: string | null;
|
|
79124
|
+
subject_template: string;
|
|
79125
|
+
timezone: string;
|
|
79126
|
+
updated_at: string;
|
|
79127
|
+
updated_by: string | null;
|
|
79128
|
+
};
|
|
79129
|
+
Insert: {
|
|
79130
|
+
body_template?: string;
|
|
79131
|
+
cc?: string[];
|
|
79132
|
+
connection_id?: string | null;
|
|
79133
|
+
created_at?: string;
|
|
79134
|
+
enabled?: boolean;
|
|
79135
|
+
id?: boolean;
|
|
79136
|
+
reply_to?: string | null;
|
|
79137
|
+
subject_template?: string;
|
|
79138
|
+
timezone?: string;
|
|
79139
|
+
updated_at?: string;
|
|
79140
|
+
updated_by?: string | null;
|
|
79141
|
+
};
|
|
79142
|
+
Update: {
|
|
79143
|
+
body_template?: string;
|
|
79144
|
+
cc?: string[];
|
|
79145
|
+
connection_id?: string | null;
|
|
79146
|
+
created_at?: string;
|
|
79147
|
+
enabled?: boolean;
|
|
79148
|
+
id?: boolean;
|
|
79149
|
+
reply_to?: string | null;
|
|
79150
|
+
subject_template?: string;
|
|
79151
|
+
timezone?: string;
|
|
79152
|
+
updated_at?: string;
|
|
79153
|
+
updated_by?: string | null;
|
|
79154
|
+
};
|
|
79155
|
+
Relationships: [{
|
|
79156
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
79157
|
+
columns: ["connection_id"];
|
|
79158
|
+
isOneToOne: false;
|
|
79159
|
+
referencedRelation: "email_auth_connections";
|
|
79160
|
+
referencedColumns: ["id"];
|
|
79161
|
+
}, {
|
|
79162
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
79163
|
+
columns: ["connection_id"];
|
|
79164
|
+
isOneToOne: false;
|
|
79165
|
+
referencedRelation: "email_auth_connections_safe";
|
|
79166
|
+
referencedColumns: ["id"];
|
|
79167
|
+
}];
|
|
79168
|
+
};
|
|
77996
79169
|
planning_monteur_day_locations: {
|
|
77997
79170
|
Row: {
|
|
77998
79171
|
created_at: string;
|
|
@@ -79471,6 +80644,9 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
79471
80644
|
lead_time_days: number | null;
|
|
79472
80645
|
min_order_quantity: number | null;
|
|
79473
80646
|
notes: string | null;
|
|
80647
|
+
previous_price_cents: number | null;
|
|
80648
|
+
price_source: string;
|
|
80649
|
+
price_updated_at: string | null;
|
|
79474
80650
|
product_id: string;
|
|
79475
80651
|
purchase_price_cents: number | null;
|
|
79476
80652
|
supplier_article_number: string | null;
|
|
@@ -79484,6 +80660,9 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
79484
80660
|
lead_time_days?: number | null;
|
|
79485
80661
|
min_order_quantity?: number | null;
|
|
79486
80662
|
notes?: string | null;
|
|
80663
|
+
previous_price_cents?: number | null;
|
|
80664
|
+
price_source?: string;
|
|
80665
|
+
price_updated_at?: string | null;
|
|
79487
80666
|
product_id: string;
|
|
79488
80667
|
purchase_price_cents?: number | null;
|
|
79489
80668
|
supplier_article_number?: string | null;
|
|
@@ -79497,6 +80676,9 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
79497
80676
|
lead_time_days?: number | null;
|
|
79498
80677
|
min_order_quantity?: number | null;
|
|
79499
80678
|
notes?: string | null;
|
|
80679
|
+
previous_price_cents?: number | null;
|
|
80680
|
+
price_source?: string;
|
|
80681
|
+
price_updated_at?: string | null;
|
|
79500
80682
|
product_id?: string;
|
|
79501
80683
|
purchase_price_cents?: number | null;
|
|
79502
80684
|
supplier_article_number?: string | null;
|
|
@@ -80027,9 +81209,13 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
80027
81209
|
purchase_order_items: {
|
|
80028
81210
|
Row: {
|
|
80029
81211
|
article_number: string | null;
|
|
81212
|
+
cancel_reason: string | null;
|
|
81213
|
+
cancelled_at: string | null;
|
|
80030
81214
|
created_at: string;
|
|
80031
81215
|
delivery_date: string | null;
|
|
80032
81216
|
id: string;
|
|
81217
|
+
incoming_booked: number;
|
|
81218
|
+
line_status: string;
|
|
80033
81219
|
name: string;
|
|
80034
81220
|
note: string | null;
|
|
80035
81221
|
pot_size: string | null;
|
|
@@ -80037,6 +81223,8 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
80037
81223
|
product_type: string;
|
|
80038
81224
|
purchase_order_id: string;
|
|
80039
81225
|
quantity: number;
|
|
81226
|
+
received_at: string | null;
|
|
81227
|
+
received_booked: number;
|
|
80040
81228
|
supplier_id: string | null;
|
|
80041
81229
|
supplier_product_id: string | null;
|
|
80042
81230
|
unit_price_cents: number;
|
|
@@ -80044,9 +81232,13 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
80044
81232
|
};
|
|
80045
81233
|
Insert: {
|
|
80046
81234
|
article_number?: string | null;
|
|
81235
|
+
cancel_reason?: string | null;
|
|
81236
|
+
cancelled_at?: string | null;
|
|
80047
81237
|
created_at?: string;
|
|
80048
81238
|
delivery_date?: string | null;
|
|
80049
81239
|
id?: string;
|
|
81240
|
+
incoming_booked?: number;
|
|
81241
|
+
line_status?: string;
|
|
80050
81242
|
name?: string;
|
|
80051
81243
|
note?: string | null;
|
|
80052
81244
|
pot_size?: string | null;
|
|
@@ -80054,6 +81246,8 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
80054
81246
|
product_type?: string;
|
|
80055
81247
|
purchase_order_id: string;
|
|
80056
81248
|
quantity?: number;
|
|
81249
|
+
received_at?: string | null;
|
|
81250
|
+
received_booked?: number;
|
|
80057
81251
|
supplier_id?: string | null;
|
|
80058
81252
|
supplier_product_id?: string | null;
|
|
80059
81253
|
unit_price_cents?: number;
|
|
@@ -80061,9 +81255,13 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
80061
81255
|
};
|
|
80062
81256
|
Update: {
|
|
80063
81257
|
article_number?: string | null;
|
|
81258
|
+
cancel_reason?: string | null;
|
|
81259
|
+
cancelled_at?: string | null;
|
|
80064
81260
|
created_at?: string;
|
|
80065
81261
|
delivery_date?: string | null;
|
|
80066
81262
|
id?: string;
|
|
81263
|
+
incoming_booked?: number;
|
|
81264
|
+
line_status?: string;
|
|
80067
81265
|
name?: string;
|
|
80068
81266
|
note?: string | null;
|
|
80069
81267
|
pot_size?: string | null;
|
|
@@ -80071,6 +81269,8 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
80071
81269
|
product_type?: string;
|
|
80072
81270
|
purchase_order_id?: string;
|
|
80073
81271
|
quantity?: number;
|
|
81272
|
+
received_at?: string | null;
|
|
81273
|
+
received_booked?: number;
|
|
80074
81274
|
supplier_id?: string | null;
|
|
80075
81275
|
supplier_product_id?: string | null;
|
|
80076
81276
|
unit_price_cents?: number;
|
|
@@ -80174,6 +81374,153 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
80174
81374
|
referencedColumns: ["id"];
|
|
80175
81375
|
}];
|
|
80176
81376
|
};
|
|
81377
|
+
purchase_request_events: {
|
|
81378
|
+
Row: {
|
|
81379
|
+
created_at: string;
|
|
81380
|
+
details: import("../integrations/supabase/types").Json | null;
|
|
81381
|
+
event_type: string;
|
|
81382
|
+
id: string;
|
|
81383
|
+
request_id: string;
|
|
81384
|
+
};
|
|
81385
|
+
Insert: {
|
|
81386
|
+
created_at?: string;
|
|
81387
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
81388
|
+
event_type: string;
|
|
81389
|
+
id?: string;
|
|
81390
|
+
request_id: string;
|
|
81391
|
+
};
|
|
81392
|
+
Update: {
|
|
81393
|
+
created_at?: string;
|
|
81394
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
81395
|
+
event_type?: string;
|
|
81396
|
+
id?: string;
|
|
81397
|
+
request_id?: string;
|
|
81398
|
+
};
|
|
81399
|
+
Relationships: [{
|
|
81400
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
81401
|
+
columns: ["request_id"];
|
|
81402
|
+
isOneToOne: false;
|
|
81403
|
+
referencedRelation: "purchase_requests";
|
|
81404
|
+
referencedColumns: ["id"];
|
|
81405
|
+
}];
|
|
81406
|
+
};
|
|
81407
|
+
purchase_request_responses: {
|
|
81408
|
+
Row: {
|
|
81409
|
+
confirmed_date: string | null;
|
|
81410
|
+
confirmed_price_cents: number | null;
|
|
81411
|
+
confirmed_quantity: number;
|
|
81412
|
+
created_at: string;
|
|
81413
|
+
id: string;
|
|
81414
|
+
not_available: boolean;
|
|
81415
|
+
note: string | null;
|
|
81416
|
+
purchase_order_item_id: string;
|
|
81417
|
+
request_id: string;
|
|
81418
|
+
updated_at: string;
|
|
81419
|
+
};
|
|
81420
|
+
Insert: {
|
|
81421
|
+
confirmed_date?: string | null;
|
|
81422
|
+
confirmed_price_cents?: number | null;
|
|
81423
|
+
confirmed_quantity?: number;
|
|
81424
|
+
created_at?: string;
|
|
81425
|
+
id?: string;
|
|
81426
|
+
not_available?: boolean;
|
|
81427
|
+
note?: string | null;
|
|
81428
|
+
purchase_order_item_id: string;
|
|
81429
|
+
request_id: string;
|
|
81430
|
+
updated_at?: string;
|
|
81431
|
+
};
|
|
81432
|
+
Update: {
|
|
81433
|
+
confirmed_date?: string | null;
|
|
81434
|
+
confirmed_price_cents?: number | null;
|
|
81435
|
+
confirmed_quantity?: number;
|
|
81436
|
+
created_at?: string;
|
|
81437
|
+
id?: string;
|
|
81438
|
+
not_available?: boolean;
|
|
81439
|
+
note?: string | null;
|
|
81440
|
+
purchase_order_item_id?: string;
|
|
81441
|
+
request_id?: string;
|
|
81442
|
+
updated_at?: string;
|
|
81443
|
+
};
|
|
81444
|
+
Relationships: [{
|
|
81445
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
81446
|
+
columns: ["purchase_order_item_id"];
|
|
81447
|
+
isOneToOne: false;
|
|
81448
|
+
referencedRelation: "purchase_order_items";
|
|
81449
|
+
referencedColumns: ["id"];
|
|
81450
|
+
}, {
|
|
81451
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
81452
|
+
columns: ["request_id"];
|
|
81453
|
+
isOneToOne: false;
|
|
81454
|
+
referencedRelation: "purchase_requests";
|
|
81455
|
+
referencedColumns: ["id"];
|
|
81456
|
+
}];
|
|
81457
|
+
};
|
|
81458
|
+
purchase_requests: {
|
|
81459
|
+
Row: {
|
|
81460
|
+
created_at: string;
|
|
81461
|
+
expires_at: string;
|
|
81462
|
+
first_viewed_at: string | null;
|
|
81463
|
+
id: string;
|
|
81464
|
+
processed_at: string | null;
|
|
81465
|
+
purchase_order_id: string;
|
|
81466
|
+
responded_at: string | null;
|
|
81467
|
+
sent_at: string;
|
|
81468
|
+
status: string;
|
|
81469
|
+
supplier_id: string | null;
|
|
81470
|
+
supplier_name: string;
|
|
81471
|
+
supplier_note: string | null;
|
|
81472
|
+
to_address: string | null;
|
|
81473
|
+
token_hash: string;
|
|
81474
|
+
updated_at: string;
|
|
81475
|
+
};
|
|
81476
|
+
Insert: {
|
|
81477
|
+
created_at?: string;
|
|
81478
|
+
expires_at?: string;
|
|
81479
|
+
first_viewed_at?: string | null;
|
|
81480
|
+
id?: string;
|
|
81481
|
+
processed_at?: string | null;
|
|
81482
|
+
purchase_order_id: string;
|
|
81483
|
+
responded_at?: string | null;
|
|
81484
|
+
sent_at?: string;
|
|
81485
|
+
status?: string;
|
|
81486
|
+
supplier_id?: string | null;
|
|
81487
|
+
supplier_name?: string;
|
|
81488
|
+
supplier_note?: string | null;
|
|
81489
|
+
to_address?: string | null;
|
|
81490
|
+
token_hash: string;
|
|
81491
|
+
updated_at?: string;
|
|
81492
|
+
};
|
|
81493
|
+
Update: {
|
|
81494
|
+
created_at?: string;
|
|
81495
|
+
expires_at?: string;
|
|
81496
|
+
first_viewed_at?: string | null;
|
|
81497
|
+
id?: string;
|
|
81498
|
+
processed_at?: string | null;
|
|
81499
|
+
purchase_order_id?: string;
|
|
81500
|
+
responded_at?: string | null;
|
|
81501
|
+
sent_at?: string;
|
|
81502
|
+
status?: string;
|
|
81503
|
+
supplier_id?: string | null;
|
|
81504
|
+
supplier_name?: string;
|
|
81505
|
+
supplier_note?: string | null;
|
|
81506
|
+
to_address?: string | null;
|
|
81507
|
+
token_hash?: string;
|
|
81508
|
+
updated_at?: string;
|
|
81509
|
+
};
|
|
81510
|
+
Relationships: [{
|
|
81511
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
81512
|
+
columns: ["purchase_order_id"];
|
|
81513
|
+
isOneToOne: false;
|
|
81514
|
+
referencedRelation: "purchase_orders";
|
|
81515
|
+
referencedColumns: ["id"];
|
|
81516
|
+
}, {
|
|
81517
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
81518
|
+
columns: ["supplier_id"];
|
|
81519
|
+
isOneToOne: false;
|
|
81520
|
+
referencedRelation: "suppliers";
|
|
81521
|
+
referencedColumns: ["id"];
|
|
81522
|
+
}];
|
|
81523
|
+
};
|
|
80177
81524
|
reception_notifications: {
|
|
80178
81525
|
Row: {
|
|
80179
81526
|
booking_id: string | null;
|
|
@@ -84599,7 +85946,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
84599
85946
|
created_at: string;
|
|
84600
85947
|
default_quantity: number;
|
|
84601
85948
|
description: string | null;
|
|
84602
|
-
duration_minutes: number
|
|
85949
|
+
duration_minutes: number;
|
|
84603
85950
|
id: string;
|
|
84604
85951
|
mandaat_type: string | null;
|
|
84605
85952
|
name: string;
|
|
@@ -84616,7 +85963,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
84616
85963
|
created_at?: string;
|
|
84617
85964
|
default_quantity?: number;
|
|
84618
85965
|
description?: string | null;
|
|
84619
|
-
duration_minutes?: number
|
|
85966
|
+
duration_minutes?: number;
|
|
84620
85967
|
id?: string;
|
|
84621
85968
|
mandaat_type?: string | null;
|
|
84622
85969
|
name: string;
|
|
@@ -84633,7 +85980,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
84633
85980
|
created_at?: string;
|
|
84634
85981
|
default_quantity?: number;
|
|
84635
85982
|
description?: string | null;
|
|
84636
|
-
duration_minutes?: number
|
|
85983
|
+
duration_minutes?: number;
|
|
84637
85984
|
id?: string;
|
|
84638
85985
|
mandaat_type?: string | null;
|
|
84639
85986
|
name?: string;
|
|
@@ -87629,6 +88976,31 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
87629
88976
|
};
|
|
87630
88977
|
Returns: import("../integrations/supabase/types").Json;
|
|
87631
88978
|
};
|
|
88979
|
+
inkoop_cancel_line: {
|
|
88980
|
+
Args: {
|
|
88981
|
+
_item_id: string;
|
|
88982
|
+
_reason: string;
|
|
88983
|
+
};
|
|
88984
|
+
Returns: string;
|
|
88985
|
+
};
|
|
88986
|
+
inkoop_get_supplier_request: {
|
|
88987
|
+
Args: {
|
|
88988
|
+
_token: string;
|
|
88989
|
+
};
|
|
88990
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
88991
|
+
};
|
|
88992
|
+
inkoop_hash_token: {
|
|
88993
|
+
Args: {
|
|
88994
|
+
_token: string;
|
|
88995
|
+
};
|
|
88996
|
+
Returns: string;
|
|
88997
|
+
};
|
|
88998
|
+
inkoop_html_escape: {
|
|
88999
|
+
Args: {
|
|
89000
|
+
_t: string;
|
|
89001
|
+
};
|
|
89002
|
+
Returns: string;
|
|
89003
|
+
};
|
|
87632
89004
|
inkoop_list_artikelen: {
|
|
87633
89005
|
Args: never;
|
|
87634
89006
|
Returns: {
|
|
@@ -87653,9 +89025,17 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
87653
89025
|
Args: never;
|
|
87654
89026
|
Returns: string;
|
|
87655
89027
|
};
|
|
89028
|
+
inkoop_process_request: {
|
|
89029
|
+
Args: {
|
|
89030
|
+
_request_id: string;
|
|
89031
|
+
};
|
|
89032
|
+
Returns: undefined;
|
|
89033
|
+
};
|
|
87656
89034
|
inkoop_send_order: {
|
|
87657
89035
|
Args: {
|
|
89036
|
+
_base_url?: string;
|
|
87658
89037
|
_order_id: string;
|
|
89038
|
+
_resend?: boolean;
|
|
87659
89039
|
};
|
|
87660
89040
|
Returns: {
|
|
87661
89041
|
outbox_id: string;
|
|
@@ -87670,6 +89050,26 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
87670
89050
|
};
|
|
87671
89051
|
Returns: undefined;
|
|
87672
89052
|
};
|
|
89053
|
+
inkoop_stock_key: {
|
|
89054
|
+
Args: {
|
|
89055
|
+
p_product_id: string;
|
|
89056
|
+
};
|
|
89057
|
+
Returns: string;
|
|
89058
|
+
};
|
|
89059
|
+
inkoop_submit_supplier_response: {
|
|
89060
|
+
Args: {
|
|
89061
|
+
_lines: import("../integrations/supabase/types").Json;
|
|
89062
|
+
_note?: string;
|
|
89063
|
+
_token: string;
|
|
89064
|
+
};
|
|
89065
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
89066
|
+
};
|
|
89067
|
+
inkoop_sync_item_stock: {
|
|
89068
|
+
Args: {
|
|
89069
|
+
p_item_id: string;
|
|
89070
|
+
};
|
|
89071
|
+
Returns: undefined;
|
|
89072
|
+
};
|
|
87673
89073
|
instructie_get: {
|
|
87674
89074
|
Args: {
|
|
87675
89075
|
_sleutel: string;
|
|
@@ -87830,6 +89230,27 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
87830
89230
|
};
|
|
87831
89231
|
Returns: boolean;
|
|
87832
89232
|
};
|
|
89233
|
+
layout_print_document: {
|
|
89234
|
+
Args: {
|
|
89235
|
+
_documentnaam: string;
|
|
89236
|
+
_documenttype: string;
|
|
89237
|
+
_herkomst?: string;
|
|
89238
|
+
_idempotentie_sleutel?: string;
|
|
89239
|
+
_is_herprint?: boolean;
|
|
89240
|
+
_kopieen?: number;
|
|
89241
|
+
_layout_id?: string;
|
|
89242
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
89243
|
+
_pdf_base64?: string;
|
|
89244
|
+
_pdf_url?: string;
|
|
89245
|
+
_print_plek_id?: string;
|
|
89246
|
+
_werkplek?: string;
|
|
89247
|
+
};
|
|
89248
|
+
Returns: {
|
|
89249
|
+
bestaand: boolean;
|
|
89250
|
+
job_id: string;
|
|
89251
|
+
printer_id: string;
|
|
89252
|
+
}[];
|
|
89253
|
+
};
|
|
87833
89254
|
list_medewerkers: {
|
|
87834
89255
|
Args: never;
|
|
87835
89256
|
Returns: {
|
|
@@ -88107,6 +89528,12 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
88107
89528
|
};
|
|
88108
89529
|
Returns: number;
|
|
88109
89530
|
};
|
|
89531
|
+
logistics_cart_barcode_opschonen: {
|
|
89532
|
+
Args: {
|
|
89533
|
+
p_portie?: number;
|
|
89534
|
+
};
|
|
89535
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
89536
|
+
};
|
|
88110
89537
|
logistics_cart_barcode_value: {
|
|
88111
89538
|
Args: {
|
|
88112
89539
|
_cart_id: string;
|
|
@@ -88526,6 +89953,13 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
88526
89953
|
};
|
|
88527
89954
|
Returns: import("../integrations/supabase/types").Json;
|
|
88528
89955
|
};
|
|
89956
|
+
logistics_control_scan_print_own: {
|
|
89957
|
+
Args: {
|
|
89958
|
+
p_is_herprint?: boolean;
|
|
89959
|
+
p_scan_id: string;
|
|
89960
|
+
};
|
|
89961
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
89962
|
+
};
|
|
88529
89963
|
logistics_control_scan_retry: {
|
|
88530
89964
|
Args: {
|
|
88531
89965
|
_id: string;
|
|
@@ -89430,6 +90864,21 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
89430
90864
|
};
|
|
89431
90865
|
Returns: import("../integrations/supabase/types").Json;
|
|
89432
90866
|
};
|
|
90867
|
+
logistics_print_via_layout: {
|
|
90868
|
+
Args: {
|
|
90869
|
+
_documentnaam: string;
|
|
90870
|
+
_documenttype: string;
|
|
90871
|
+
_herkomst: string;
|
|
90872
|
+
_idempotentie_sleutel: string;
|
|
90873
|
+
_is_herprint: boolean;
|
|
90874
|
+
_layout_id: string;
|
|
90875
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
90876
|
+
_pdf_base64: string;
|
|
90877
|
+
_pdf_url: string;
|
|
90878
|
+
_print_plek_id: string;
|
|
90879
|
+
};
|
|
90880
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
90881
|
+
};
|
|
89433
90882
|
logistics_prune_buffer_member_queue: {
|
|
89434
90883
|
Args: never;
|
|
89435
90884
|
Returns: number;
|
|
@@ -89716,6 +91165,13 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
89716
91165
|
};
|
|
89717
91166
|
Returns: string;
|
|
89718
91167
|
};
|
|
91168
|
+
logistics_shipping_note_status: {
|
|
91169
|
+
Args: {
|
|
91170
|
+
p_cart_id?: string;
|
|
91171
|
+
p_slip_job_id?: string;
|
|
91172
|
+
};
|
|
91173
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
91174
|
+
};
|
|
89719
91175
|
logistics_shipping_notes_wake_all: {
|
|
89720
91176
|
Args: never;
|
|
89721
91177
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -89778,6 +91234,12 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
89778
91234
|
};
|
|
89779
91235
|
Returns: undefined;
|
|
89780
91236
|
};
|
|
91237
|
+
logistics_slip_note_retry: {
|
|
91238
|
+
Args: {
|
|
91239
|
+
_id: string;
|
|
91240
|
+
};
|
|
91241
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
91242
|
+
};
|
|
89781
91243
|
logistics_sticker_follows_slip: {
|
|
89782
91244
|
Args: never;
|
|
89783
91245
|
Returns: boolean;
|
|
@@ -90522,6 +91984,10 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
90522
91984
|
};
|
|
90523
91985
|
Returns: string;
|
|
90524
91986
|
};
|
|
91987
|
+
pick_is_reference_admin: {
|
|
91988
|
+
Args: never;
|
|
91989
|
+
Returns: boolean;
|
|
91990
|
+
};
|
|
90525
91991
|
pick_mark_printed: {
|
|
90526
91992
|
Args: {
|
|
90527
91993
|
_queue_item_id: string;
|
|
@@ -90945,6 +92411,12 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
90945
92411
|
};
|
|
90946
92412
|
Returns: import("../integrations/supabase/types").Json;
|
|
90947
92413
|
};
|
|
92414
|
+
pick_verify_rows: {
|
|
92415
|
+
Args: {
|
|
92416
|
+
_rows: import("../integrations/supabase/types").Json;
|
|
92417
|
+
};
|
|
92418
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
92419
|
+
};
|
|
90948
92420
|
pickstation_get_orders_raw: {
|
|
90949
92421
|
Args: never;
|
|
90950
92422
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -91125,6 +92597,12 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
91125
92597
|
};
|
|
91126
92598
|
Returns: import("../integrations/supabase/types").Json;
|
|
91127
92599
|
};
|
|
92600
|
+
quote_create_from_scratch: {
|
|
92601
|
+
Args: {
|
|
92602
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
92603
|
+
};
|
|
92604
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
92605
|
+
};
|
|
91128
92606
|
quote_create_from_source: {
|
|
91129
92607
|
Args: {
|
|
91130
92608
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -91175,6 +92653,13 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
91175
92653
|
};
|
|
91176
92654
|
Returns: string;
|
|
91177
92655
|
};
|
|
92656
|
+
quote_sync_work_order: {
|
|
92657
|
+
Args: {
|
|
92658
|
+
_monteur_instructies?: string;
|
|
92659
|
+
_offerte_id: string;
|
|
92660
|
+
};
|
|
92661
|
+
Returns: boolean;
|
|
92662
|
+
};
|
|
91178
92663
|
recompute_all_reserved_stock: {
|
|
91179
92664
|
Args: never;
|
|
91180
92665
|
Returns: undefined;
|
|
@@ -91395,6 +92880,13 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
91395
92880
|
};
|
|
91396
92881
|
Returns: import("../integrations/supabase/types").Json;
|
|
91397
92882
|
};
|
|
92883
|
+
scan_controleer_pincode: {
|
|
92884
|
+
Args: {
|
|
92885
|
+
p_pin: string;
|
|
92886
|
+
p_scanner_id: string;
|
|
92887
|
+
};
|
|
92888
|
+
Returns: boolean;
|
|
92889
|
+
};
|
|
91398
92890
|
scan_dashboard_stats: {
|
|
91399
92891
|
Args: {
|
|
91400
92892
|
p_dagen?: number;
|
|
@@ -91414,6 +92906,12 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
91414
92906
|
};
|
|
91415
92907
|
Returns: import("../integrations/supabase/types").Json;
|
|
91416
92908
|
};
|
|
92909
|
+
scan_heeft_pincode: {
|
|
92910
|
+
Args: {
|
|
92911
|
+
p_scanner_id: string;
|
|
92912
|
+
};
|
|
92913
|
+
Returns: boolean;
|
|
92914
|
+
};
|
|
91417
92915
|
scan_kar_compleet: {
|
|
91418
92916
|
Args: {
|
|
91419
92917
|
p_allow_reprint?: boolean;
|
|
@@ -91431,6 +92929,7 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
91431
92929
|
Args: {
|
|
91432
92930
|
p_code: string;
|
|
91433
92931
|
p_latency_ms?: number;
|
|
92932
|
+
p_medewerker?: string;
|
|
91434
92933
|
p_message?: string;
|
|
91435
92934
|
p_result: string;
|
|
91436
92935
|
p_scanner_key?: string;
|
|
@@ -91503,6 +93002,22 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
91503
93002
|
};
|
|
91504
93003
|
Returns: undefined;
|
|
91505
93004
|
};
|
|
93005
|
+
scan_scanner_info: {
|
|
93006
|
+
Args: {
|
|
93007
|
+
p_slug: string;
|
|
93008
|
+
};
|
|
93009
|
+
Returns: {
|
|
93010
|
+
actief: boolean;
|
|
93011
|
+
heeft_pincode: boolean;
|
|
93012
|
+
id: string;
|
|
93013
|
+
naam: string;
|
|
93014
|
+
omschrijving: string;
|
|
93015
|
+
printer_id: string;
|
|
93016
|
+
type: string;
|
|
93017
|
+
vereist_medewerker: boolean;
|
|
93018
|
+
werkplek: string;
|
|
93019
|
+
}[];
|
|
93020
|
+
};
|
|
91506
93021
|
scan_sessie_annuleren: {
|
|
91507
93022
|
Args: {
|
|
91508
93023
|
p_sessie_id: string;
|
|
@@ -92465,6 +93980,21 @@ export declare const completeEngineTask: import("@tanstack/start-client-core").O
|
|
|
92465
93980
|
};
|
|
92466
93981
|
Returns: import("../integrations/supabase/types").Json;
|
|
92467
93982
|
};
|
|
93983
|
+
wo_list_colleague_planning: {
|
|
93984
|
+
Args: {
|
|
93985
|
+
_from: string;
|
|
93986
|
+
_monteur_id: string;
|
|
93987
|
+
_to: string;
|
|
93988
|
+
};
|
|
93989
|
+
Returns: {
|
|
93990
|
+
end_at: string;
|
|
93991
|
+
id: string;
|
|
93992
|
+
role: string;
|
|
93993
|
+
start_at: string;
|
|
93994
|
+
status: string;
|
|
93995
|
+
werkbon_id: string;
|
|
93996
|
+
}[];
|
|
93997
|
+
};
|
|
92468
93998
|
wo_list_offerte_requests: {
|
|
92469
93999
|
Args: {
|
|
92470
94000
|
_status?: string;
|
|
@@ -93280,6 +94810,27 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
93280
94810
|
};
|
|
93281
94811
|
Relationships: [];
|
|
93282
94812
|
};
|
|
94813
|
+
artikelen_instellingen: {
|
|
94814
|
+
Row: {
|
|
94815
|
+
created_at: string;
|
|
94816
|
+
id: number;
|
|
94817
|
+
marge_procent: number;
|
|
94818
|
+
updated_at: string;
|
|
94819
|
+
};
|
|
94820
|
+
Insert: {
|
|
94821
|
+
created_at?: string;
|
|
94822
|
+
id?: number;
|
|
94823
|
+
marge_procent?: number;
|
|
94824
|
+
updated_at?: string;
|
|
94825
|
+
};
|
|
94826
|
+
Update: {
|
|
94827
|
+
created_at?: string;
|
|
94828
|
+
id?: number;
|
|
94829
|
+
marge_procent?: number;
|
|
94830
|
+
updated_at?: string;
|
|
94831
|
+
};
|
|
94832
|
+
Relationships: [];
|
|
94833
|
+
};
|
|
93283
94834
|
artikelen_veldconfig: {
|
|
93284
94835
|
Row: {
|
|
93285
94836
|
bron_pad: string;
|
|
@@ -102955,6 +104506,30 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
102955
104506
|
};
|
|
102956
104507
|
Relationships: [];
|
|
102957
104508
|
};
|
|
104509
|
+
logistics_cart_barcode_archief: {
|
|
104510
|
+
Row: {
|
|
104511
|
+
barcode: string;
|
|
104512
|
+
cart_id: string;
|
|
104513
|
+
created_at: string | null;
|
|
104514
|
+
gearchiveerd_op: string;
|
|
104515
|
+
order_id: string | null;
|
|
104516
|
+
};
|
|
104517
|
+
Insert: {
|
|
104518
|
+
barcode: string;
|
|
104519
|
+
cart_id: string;
|
|
104520
|
+
created_at?: string | null;
|
|
104521
|
+
gearchiveerd_op?: string;
|
|
104522
|
+
order_id?: string | null;
|
|
104523
|
+
};
|
|
104524
|
+
Update: {
|
|
104525
|
+
barcode?: string;
|
|
104526
|
+
cart_id?: string;
|
|
104527
|
+
created_at?: string | null;
|
|
104528
|
+
gearchiveerd_op?: string;
|
|
104529
|
+
order_id?: string | null;
|
|
104530
|
+
};
|
|
104531
|
+
Relationships: [];
|
|
104532
|
+
};
|
|
102958
104533
|
logistics_control_scan: {
|
|
102959
104534
|
Row: {
|
|
102960
104535
|
approved_at: string | null;
|
|
@@ -108608,18 +110183,24 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
108608
110183
|
Row: {
|
|
108609
110184
|
id: boolean;
|
|
108610
110185
|
last_cleanup_at: string | null;
|
|
110186
|
+
last_error: string | null;
|
|
110187
|
+
last_error_at: string | null;
|
|
108611
110188
|
last_sync_at: string | null;
|
|
108612
110189
|
updated_at: string;
|
|
108613
110190
|
};
|
|
108614
110191
|
Insert: {
|
|
108615
110192
|
id?: boolean;
|
|
108616
110193
|
last_cleanup_at?: string | null;
|
|
110194
|
+
last_error?: string | null;
|
|
110195
|
+
last_error_at?: string | null;
|
|
108617
110196
|
last_sync_at?: string | null;
|
|
108618
110197
|
updated_at?: string;
|
|
108619
110198
|
};
|
|
108620
110199
|
Update: {
|
|
108621
110200
|
id?: boolean;
|
|
108622
110201
|
last_cleanup_at?: string | null;
|
|
110202
|
+
last_error?: string | null;
|
|
110203
|
+
last_error_at?: string | null;
|
|
108623
110204
|
last_sync_at?: string | null;
|
|
108624
110205
|
updated_at?: string;
|
|
108625
110206
|
};
|
|
@@ -108745,6 +110326,54 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
108745
110326
|
};
|
|
108746
110327
|
Relationships: [];
|
|
108747
110328
|
};
|
|
110329
|
+
planning_confirmation_log: {
|
|
110330
|
+
Row: {
|
|
110331
|
+
created_at: string;
|
|
110332
|
+
end_at: string;
|
|
110333
|
+
id: string;
|
|
110334
|
+
outbox_id: string | null;
|
|
110335
|
+
planning_item_id: string;
|
|
110336
|
+
reason: string | null;
|
|
110337
|
+
recipient: string | null;
|
|
110338
|
+
start_at: string;
|
|
110339
|
+
status: string;
|
|
110340
|
+
};
|
|
110341
|
+
Insert: {
|
|
110342
|
+
created_at?: string;
|
|
110343
|
+
end_at: string;
|
|
110344
|
+
id?: string;
|
|
110345
|
+
outbox_id?: string | null;
|
|
110346
|
+
planning_item_id: string;
|
|
110347
|
+
reason?: string | null;
|
|
110348
|
+
recipient?: string | null;
|
|
110349
|
+
start_at: string;
|
|
110350
|
+
status: string;
|
|
110351
|
+
};
|
|
110352
|
+
Update: {
|
|
110353
|
+
created_at?: string;
|
|
110354
|
+
end_at?: string;
|
|
110355
|
+
id?: string;
|
|
110356
|
+
outbox_id?: string | null;
|
|
110357
|
+
planning_item_id?: string;
|
|
110358
|
+
reason?: string | null;
|
|
110359
|
+
recipient?: string | null;
|
|
110360
|
+
start_at?: string;
|
|
110361
|
+
status?: string;
|
|
110362
|
+
};
|
|
110363
|
+
Relationships: [{
|
|
110364
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
110365
|
+
columns: ["planning_item_id"];
|
|
110366
|
+
isOneToOne: false;
|
|
110367
|
+
referencedRelation: "planning_items";
|
|
110368
|
+
referencedColumns: ["id"];
|
|
110369
|
+
}, {
|
|
110370
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
110371
|
+
columns: ["planning_item_id"];
|
|
110372
|
+
isOneToOne: false;
|
|
110373
|
+
referencedRelation: "planning_overview";
|
|
110374
|
+
referencedColumns: ["id"];
|
|
110375
|
+
}];
|
|
110376
|
+
};
|
|
108748
110377
|
planning_item_assistants: {
|
|
108749
110378
|
Row: {
|
|
108750
110379
|
created_at: string;
|
|
@@ -108829,6 +110458,60 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
108829
110458
|
referencedColumns: ["id"];
|
|
108830
110459
|
}];
|
|
108831
110460
|
};
|
|
110461
|
+
planning_mail_settings: {
|
|
110462
|
+
Row: {
|
|
110463
|
+
body_template: string;
|
|
110464
|
+
cc: string[];
|
|
110465
|
+
connection_id: string | null;
|
|
110466
|
+
created_at: string;
|
|
110467
|
+
enabled: boolean;
|
|
110468
|
+
id: boolean;
|
|
110469
|
+
reply_to: string | null;
|
|
110470
|
+
subject_template: string;
|
|
110471
|
+
timezone: string;
|
|
110472
|
+
updated_at: string;
|
|
110473
|
+
updated_by: string | null;
|
|
110474
|
+
};
|
|
110475
|
+
Insert: {
|
|
110476
|
+
body_template?: string;
|
|
110477
|
+
cc?: string[];
|
|
110478
|
+
connection_id?: string | null;
|
|
110479
|
+
created_at?: string;
|
|
110480
|
+
enabled?: boolean;
|
|
110481
|
+
id?: boolean;
|
|
110482
|
+
reply_to?: string | null;
|
|
110483
|
+
subject_template?: string;
|
|
110484
|
+
timezone?: string;
|
|
110485
|
+
updated_at?: string;
|
|
110486
|
+
updated_by?: string | null;
|
|
110487
|
+
};
|
|
110488
|
+
Update: {
|
|
110489
|
+
body_template?: string;
|
|
110490
|
+
cc?: string[];
|
|
110491
|
+
connection_id?: string | null;
|
|
110492
|
+
created_at?: string;
|
|
110493
|
+
enabled?: boolean;
|
|
110494
|
+
id?: boolean;
|
|
110495
|
+
reply_to?: string | null;
|
|
110496
|
+
subject_template?: string;
|
|
110497
|
+
timezone?: string;
|
|
110498
|
+
updated_at?: string;
|
|
110499
|
+
updated_by?: string | null;
|
|
110500
|
+
};
|
|
110501
|
+
Relationships: [{
|
|
110502
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
110503
|
+
columns: ["connection_id"];
|
|
110504
|
+
isOneToOne: false;
|
|
110505
|
+
referencedRelation: "email_auth_connections";
|
|
110506
|
+
referencedColumns: ["id"];
|
|
110507
|
+
}, {
|
|
110508
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
110509
|
+
columns: ["connection_id"];
|
|
110510
|
+
isOneToOne: false;
|
|
110511
|
+
referencedRelation: "email_auth_connections_safe";
|
|
110512
|
+
referencedColumns: ["id"];
|
|
110513
|
+
}];
|
|
110514
|
+
};
|
|
108832
110515
|
planning_monteur_day_locations: {
|
|
108833
110516
|
Row: {
|
|
108834
110517
|
created_at: string;
|
|
@@ -110307,6 +111990,9 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
110307
111990
|
lead_time_days: number | null;
|
|
110308
111991
|
min_order_quantity: number | null;
|
|
110309
111992
|
notes: string | null;
|
|
111993
|
+
previous_price_cents: number | null;
|
|
111994
|
+
price_source: string;
|
|
111995
|
+
price_updated_at: string | null;
|
|
110310
111996
|
product_id: string;
|
|
110311
111997
|
purchase_price_cents: number | null;
|
|
110312
111998
|
supplier_article_number: string | null;
|
|
@@ -110320,6 +112006,9 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
110320
112006
|
lead_time_days?: number | null;
|
|
110321
112007
|
min_order_quantity?: number | null;
|
|
110322
112008
|
notes?: string | null;
|
|
112009
|
+
previous_price_cents?: number | null;
|
|
112010
|
+
price_source?: string;
|
|
112011
|
+
price_updated_at?: string | null;
|
|
110323
112012
|
product_id: string;
|
|
110324
112013
|
purchase_price_cents?: number | null;
|
|
110325
112014
|
supplier_article_number?: string | null;
|
|
@@ -110333,6 +112022,9 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
110333
112022
|
lead_time_days?: number | null;
|
|
110334
112023
|
min_order_quantity?: number | null;
|
|
110335
112024
|
notes?: string | null;
|
|
112025
|
+
previous_price_cents?: number | null;
|
|
112026
|
+
price_source?: string;
|
|
112027
|
+
price_updated_at?: string | null;
|
|
110336
112028
|
product_id?: string;
|
|
110337
112029
|
purchase_price_cents?: number | null;
|
|
110338
112030
|
supplier_article_number?: string | null;
|
|
@@ -110863,9 +112555,13 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
110863
112555
|
purchase_order_items: {
|
|
110864
112556
|
Row: {
|
|
110865
112557
|
article_number: string | null;
|
|
112558
|
+
cancel_reason: string | null;
|
|
112559
|
+
cancelled_at: string | null;
|
|
110866
112560
|
created_at: string;
|
|
110867
112561
|
delivery_date: string | null;
|
|
110868
112562
|
id: string;
|
|
112563
|
+
incoming_booked: number;
|
|
112564
|
+
line_status: string;
|
|
110869
112565
|
name: string;
|
|
110870
112566
|
note: string | null;
|
|
110871
112567
|
pot_size: string | null;
|
|
@@ -110873,6 +112569,8 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
110873
112569
|
product_type: string;
|
|
110874
112570
|
purchase_order_id: string;
|
|
110875
112571
|
quantity: number;
|
|
112572
|
+
received_at: string | null;
|
|
112573
|
+
received_booked: number;
|
|
110876
112574
|
supplier_id: string | null;
|
|
110877
112575
|
supplier_product_id: string | null;
|
|
110878
112576
|
unit_price_cents: number;
|
|
@@ -110880,9 +112578,13 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
110880
112578
|
};
|
|
110881
112579
|
Insert: {
|
|
110882
112580
|
article_number?: string | null;
|
|
112581
|
+
cancel_reason?: string | null;
|
|
112582
|
+
cancelled_at?: string | null;
|
|
110883
112583
|
created_at?: string;
|
|
110884
112584
|
delivery_date?: string | null;
|
|
110885
112585
|
id?: string;
|
|
112586
|
+
incoming_booked?: number;
|
|
112587
|
+
line_status?: string;
|
|
110886
112588
|
name?: string;
|
|
110887
112589
|
note?: string | null;
|
|
110888
112590
|
pot_size?: string | null;
|
|
@@ -110890,6 +112592,8 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
110890
112592
|
product_type?: string;
|
|
110891
112593
|
purchase_order_id: string;
|
|
110892
112594
|
quantity?: number;
|
|
112595
|
+
received_at?: string | null;
|
|
112596
|
+
received_booked?: number;
|
|
110893
112597
|
supplier_id?: string | null;
|
|
110894
112598
|
supplier_product_id?: string | null;
|
|
110895
112599
|
unit_price_cents?: number;
|
|
@@ -110897,9 +112601,13 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
110897
112601
|
};
|
|
110898
112602
|
Update: {
|
|
110899
112603
|
article_number?: string | null;
|
|
112604
|
+
cancel_reason?: string | null;
|
|
112605
|
+
cancelled_at?: string | null;
|
|
110900
112606
|
created_at?: string;
|
|
110901
112607
|
delivery_date?: string | null;
|
|
110902
112608
|
id?: string;
|
|
112609
|
+
incoming_booked?: number;
|
|
112610
|
+
line_status?: string;
|
|
110903
112611
|
name?: string;
|
|
110904
112612
|
note?: string | null;
|
|
110905
112613
|
pot_size?: string | null;
|
|
@@ -110907,6 +112615,8 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
110907
112615
|
product_type?: string;
|
|
110908
112616
|
purchase_order_id?: string;
|
|
110909
112617
|
quantity?: number;
|
|
112618
|
+
received_at?: string | null;
|
|
112619
|
+
received_booked?: number;
|
|
110910
112620
|
supplier_id?: string | null;
|
|
110911
112621
|
supplier_product_id?: string | null;
|
|
110912
112622
|
unit_price_cents?: number;
|
|
@@ -111010,6 +112720,153 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
111010
112720
|
referencedColumns: ["id"];
|
|
111011
112721
|
}];
|
|
111012
112722
|
};
|
|
112723
|
+
purchase_request_events: {
|
|
112724
|
+
Row: {
|
|
112725
|
+
created_at: string;
|
|
112726
|
+
details: import("../integrations/supabase/types").Json | null;
|
|
112727
|
+
event_type: string;
|
|
112728
|
+
id: string;
|
|
112729
|
+
request_id: string;
|
|
112730
|
+
};
|
|
112731
|
+
Insert: {
|
|
112732
|
+
created_at?: string;
|
|
112733
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
112734
|
+
event_type: string;
|
|
112735
|
+
id?: string;
|
|
112736
|
+
request_id: string;
|
|
112737
|
+
};
|
|
112738
|
+
Update: {
|
|
112739
|
+
created_at?: string;
|
|
112740
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
112741
|
+
event_type?: string;
|
|
112742
|
+
id?: string;
|
|
112743
|
+
request_id?: string;
|
|
112744
|
+
};
|
|
112745
|
+
Relationships: [{
|
|
112746
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
112747
|
+
columns: ["request_id"];
|
|
112748
|
+
isOneToOne: false;
|
|
112749
|
+
referencedRelation: "purchase_requests";
|
|
112750
|
+
referencedColumns: ["id"];
|
|
112751
|
+
}];
|
|
112752
|
+
};
|
|
112753
|
+
purchase_request_responses: {
|
|
112754
|
+
Row: {
|
|
112755
|
+
confirmed_date: string | null;
|
|
112756
|
+
confirmed_price_cents: number | null;
|
|
112757
|
+
confirmed_quantity: number;
|
|
112758
|
+
created_at: string;
|
|
112759
|
+
id: string;
|
|
112760
|
+
not_available: boolean;
|
|
112761
|
+
note: string | null;
|
|
112762
|
+
purchase_order_item_id: string;
|
|
112763
|
+
request_id: string;
|
|
112764
|
+
updated_at: string;
|
|
112765
|
+
};
|
|
112766
|
+
Insert: {
|
|
112767
|
+
confirmed_date?: string | null;
|
|
112768
|
+
confirmed_price_cents?: number | null;
|
|
112769
|
+
confirmed_quantity?: number;
|
|
112770
|
+
created_at?: string;
|
|
112771
|
+
id?: string;
|
|
112772
|
+
not_available?: boolean;
|
|
112773
|
+
note?: string | null;
|
|
112774
|
+
purchase_order_item_id: string;
|
|
112775
|
+
request_id: string;
|
|
112776
|
+
updated_at?: string;
|
|
112777
|
+
};
|
|
112778
|
+
Update: {
|
|
112779
|
+
confirmed_date?: string | null;
|
|
112780
|
+
confirmed_price_cents?: number | null;
|
|
112781
|
+
confirmed_quantity?: number;
|
|
112782
|
+
created_at?: string;
|
|
112783
|
+
id?: string;
|
|
112784
|
+
not_available?: boolean;
|
|
112785
|
+
note?: string | null;
|
|
112786
|
+
purchase_order_item_id?: string;
|
|
112787
|
+
request_id?: string;
|
|
112788
|
+
updated_at?: string;
|
|
112789
|
+
};
|
|
112790
|
+
Relationships: [{
|
|
112791
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
112792
|
+
columns: ["purchase_order_item_id"];
|
|
112793
|
+
isOneToOne: false;
|
|
112794
|
+
referencedRelation: "purchase_order_items";
|
|
112795
|
+
referencedColumns: ["id"];
|
|
112796
|
+
}, {
|
|
112797
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
112798
|
+
columns: ["request_id"];
|
|
112799
|
+
isOneToOne: false;
|
|
112800
|
+
referencedRelation: "purchase_requests";
|
|
112801
|
+
referencedColumns: ["id"];
|
|
112802
|
+
}];
|
|
112803
|
+
};
|
|
112804
|
+
purchase_requests: {
|
|
112805
|
+
Row: {
|
|
112806
|
+
created_at: string;
|
|
112807
|
+
expires_at: string;
|
|
112808
|
+
first_viewed_at: string | null;
|
|
112809
|
+
id: string;
|
|
112810
|
+
processed_at: string | null;
|
|
112811
|
+
purchase_order_id: string;
|
|
112812
|
+
responded_at: string | null;
|
|
112813
|
+
sent_at: string;
|
|
112814
|
+
status: string;
|
|
112815
|
+
supplier_id: string | null;
|
|
112816
|
+
supplier_name: string;
|
|
112817
|
+
supplier_note: string | null;
|
|
112818
|
+
to_address: string | null;
|
|
112819
|
+
token_hash: string;
|
|
112820
|
+
updated_at: string;
|
|
112821
|
+
};
|
|
112822
|
+
Insert: {
|
|
112823
|
+
created_at?: string;
|
|
112824
|
+
expires_at?: string;
|
|
112825
|
+
first_viewed_at?: string | null;
|
|
112826
|
+
id?: string;
|
|
112827
|
+
processed_at?: string | null;
|
|
112828
|
+
purchase_order_id: string;
|
|
112829
|
+
responded_at?: string | null;
|
|
112830
|
+
sent_at?: string;
|
|
112831
|
+
status?: string;
|
|
112832
|
+
supplier_id?: string | null;
|
|
112833
|
+
supplier_name?: string;
|
|
112834
|
+
supplier_note?: string | null;
|
|
112835
|
+
to_address?: string | null;
|
|
112836
|
+
token_hash: string;
|
|
112837
|
+
updated_at?: string;
|
|
112838
|
+
};
|
|
112839
|
+
Update: {
|
|
112840
|
+
created_at?: string;
|
|
112841
|
+
expires_at?: string;
|
|
112842
|
+
first_viewed_at?: string | null;
|
|
112843
|
+
id?: string;
|
|
112844
|
+
processed_at?: string | null;
|
|
112845
|
+
purchase_order_id?: string;
|
|
112846
|
+
responded_at?: string | null;
|
|
112847
|
+
sent_at?: string;
|
|
112848
|
+
status?: string;
|
|
112849
|
+
supplier_id?: string | null;
|
|
112850
|
+
supplier_name?: string;
|
|
112851
|
+
supplier_note?: string | null;
|
|
112852
|
+
to_address?: string | null;
|
|
112853
|
+
token_hash?: string;
|
|
112854
|
+
updated_at?: string;
|
|
112855
|
+
};
|
|
112856
|
+
Relationships: [{
|
|
112857
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
112858
|
+
columns: ["purchase_order_id"];
|
|
112859
|
+
isOneToOne: false;
|
|
112860
|
+
referencedRelation: "purchase_orders";
|
|
112861
|
+
referencedColumns: ["id"];
|
|
112862
|
+
}, {
|
|
112863
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
112864
|
+
columns: ["supplier_id"];
|
|
112865
|
+
isOneToOne: false;
|
|
112866
|
+
referencedRelation: "suppliers";
|
|
112867
|
+
referencedColumns: ["id"];
|
|
112868
|
+
}];
|
|
112869
|
+
};
|
|
111013
112870
|
reception_notifications: {
|
|
111014
112871
|
Row: {
|
|
111015
112872
|
booking_id: string | null;
|
|
@@ -115435,7 +117292,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
115435
117292
|
created_at: string;
|
|
115436
117293
|
default_quantity: number;
|
|
115437
117294
|
description: string | null;
|
|
115438
|
-
duration_minutes: number
|
|
117295
|
+
duration_minutes: number;
|
|
115439
117296
|
id: string;
|
|
115440
117297
|
mandaat_type: string | null;
|
|
115441
117298
|
name: string;
|
|
@@ -115452,7 +117309,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
115452
117309
|
created_at?: string;
|
|
115453
117310
|
default_quantity?: number;
|
|
115454
117311
|
description?: string | null;
|
|
115455
|
-
duration_minutes?: number
|
|
117312
|
+
duration_minutes?: number;
|
|
115456
117313
|
id?: string;
|
|
115457
117314
|
mandaat_type?: string | null;
|
|
115458
117315
|
name: string;
|
|
@@ -115469,7 +117326,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
115469
117326
|
created_at?: string;
|
|
115470
117327
|
default_quantity?: number;
|
|
115471
117328
|
description?: string | null;
|
|
115472
|
-
duration_minutes?: number
|
|
117329
|
+
duration_minutes?: number;
|
|
115473
117330
|
id?: string;
|
|
115474
117331
|
mandaat_type?: string | null;
|
|
115475
117332
|
name?: string;
|
|
@@ -118465,6 +120322,31 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
118465
120322
|
};
|
|
118466
120323
|
Returns: import("../integrations/supabase/types").Json;
|
|
118467
120324
|
};
|
|
120325
|
+
inkoop_cancel_line: {
|
|
120326
|
+
Args: {
|
|
120327
|
+
_item_id: string;
|
|
120328
|
+
_reason: string;
|
|
120329
|
+
};
|
|
120330
|
+
Returns: string;
|
|
120331
|
+
};
|
|
120332
|
+
inkoop_get_supplier_request: {
|
|
120333
|
+
Args: {
|
|
120334
|
+
_token: string;
|
|
120335
|
+
};
|
|
120336
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
120337
|
+
};
|
|
120338
|
+
inkoop_hash_token: {
|
|
120339
|
+
Args: {
|
|
120340
|
+
_token: string;
|
|
120341
|
+
};
|
|
120342
|
+
Returns: string;
|
|
120343
|
+
};
|
|
120344
|
+
inkoop_html_escape: {
|
|
120345
|
+
Args: {
|
|
120346
|
+
_t: string;
|
|
120347
|
+
};
|
|
120348
|
+
Returns: string;
|
|
120349
|
+
};
|
|
118468
120350
|
inkoop_list_artikelen: {
|
|
118469
120351
|
Args: never;
|
|
118470
120352
|
Returns: {
|
|
@@ -118489,9 +120371,17 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
118489
120371
|
Args: never;
|
|
118490
120372
|
Returns: string;
|
|
118491
120373
|
};
|
|
120374
|
+
inkoop_process_request: {
|
|
120375
|
+
Args: {
|
|
120376
|
+
_request_id: string;
|
|
120377
|
+
};
|
|
120378
|
+
Returns: undefined;
|
|
120379
|
+
};
|
|
118492
120380
|
inkoop_send_order: {
|
|
118493
120381
|
Args: {
|
|
120382
|
+
_base_url?: string;
|
|
118494
120383
|
_order_id: string;
|
|
120384
|
+
_resend?: boolean;
|
|
118495
120385
|
};
|
|
118496
120386
|
Returns: {
|
|
118497
120387
|
outbox_id: string;
|
|
@@ -118506,6 +120396,26 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
118506
120396
|
};
|
|
118507
120397
|
Returns: undefined;
|
|
118508
120398
|
};
|
|
120399
|
+
inkoop_stock_key: {
|
|
120400
|
+
Args: {
|
|
120401
|
+
p_product_id: string;
|
|
120402
|
+
};
|
|
120403
|
+
Returns: string;
|
|
120404
|
+
};
|
|
120405
|
+
inkoop_submit_supplier_response: {
|
|
120406
|
+
Args: {
|
|
120407
|
+
_lines: import("../integrations/supabase/types").Json;
|
|
120408
|
+
_note?: string;
|
|
120409
|
+
_token: string;
|
|
120410
|
+
};
|
|
120411
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
120412
|
+
};
|
|
120413
|
+
inkoop_sync_item_stock: {
|
|
120414
|
+
Args: {
|
|
120415
|
+
p_item_id: string;
|
|
120416
|
+
};
|
|
120417
|
+
Returns: undefined;
|
|
120418
|
+
};
|
|
118509
120419
|
instructie_get: {
|
|
118510
120420
|
Args: {
|
|
118511
120421
|
_sleutel: string;
|
|
@@ -118666,6 +120576,27 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
118666
120576
|
};
|
|
118667
120577
|
Returns: boolean;
|
|
118668
120578
|
};
|
|
120579
|
+
layout_print_document: {
|
|
120580
|
+
Args: {
|
|
120581
|
+
_documentnaam: string;
|
|
120582
|
+
_documenttype: string;
|
|
120583
|
+
_herkomst?: string;
|
|
120584
|
+
_idempotentie_sleutel?: string;
|
|
120585
|
+
_is_herprint?: boolean;
|
|
120586
|
+
_kopieen?: number;
|
|
120587
|
+
_layout_id?: string;
|
|
120588
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
120589
|
+
_pdf_base64?: string;
|
|
120590
|
+
_pdf_url?: string;
|
|
120591
|
+
_print_plek_id?: string;
|
|
120592
|
+
_werkplek?: string;
|
|
120593
|
+
};
|
|
120594
|
+
Returns: {
|
|
120595
|
+
bestaand: boolean;
|
|
120596
|
+
job_id: string;
|
|
120597
|
+
printer_id: string;
|
|
120598
|
+
}[];
|
|
120599
|
+
};
|
|
118669
120600
|
list_medewerkers: {
|
|
118670
120601
|
Args: never;
|
|
118671
120602
|
Returns: {
|
|
@@ -118943,6 +120874,12 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
118943
120874
|
};
|
|
118944
120875
|
Returns: number;
|
|
118945
120876
|
};
|
|
120877
|
+
logistics_cart_barcode_opschonen: {
|
|
120878
|
+
Args: {
|
|
120879
|
+
p_portie?: number;
|
|
120880
|
+
};
|
|
120881
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
120882
|
+
};
|
|
118946
120883
|
logistics_cart_barcode_value: {
|
|
118947
120884
|
Args: {
|
|
118948
120885
|
_cart_id: string;
|
|
@@ -119362,6 +121299,13 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
119362
121299
|
};
|
|
119363
121300
|
Returns: import("../integrations/supabase/types").Json;
|
|
119364
121301
|
};
|
|
121302
|
+
logistics_control_scan_print_own: {
|
|
121303
|
+
Args: {
|
|
121304
|
+
p_is_herprint?: boolean;
|
|
121305
|
+
p_scan_id: string;
|
|
121306
|
+
};
|
|
121307
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
121308
|
+
};
|
|
119365
121309
|
logistics_control_scan_retry: {
|
|
119366
121310
|
Args: {
|
|
119367
121311
|
_id: string;
|
|
@@ -120266,6 +122210,21 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
120266
122210
|
};
|
|
120267
122211
|
Returns: import("../integrations/supabase/types").Json;
|
|
120268
122212
|
};
|
|
122213
|
+
logistics_print_via_layout: {
|
|
122214
|
+
Args: {
|
|
122215
|
+
_documentnaam: string;
|
|
122216
|
+
_documenttype: string;
|
|
122217
|
+
_herkomst: string;
|
|
122218
|
+
_idempotentie_sleutel: string;
|
|
122219
|
+
_is_herprint: boolean;
|
|
122220
|
+
_layout_id: string;
|
|
122221
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
122222
|
+
_pdf_base64: string;
|
|
122223
|
+
_pdf_url: string;
|
|
122224
|
+
_print_plek_id: string;
|
|
122225
|
+
};
|
|
122226
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
122227
|
+
};
|
|
120269
122228
|
logistics_prune_buffer_member_queue: {
|
|
120270
122229
|
Args: never;
|
|
120271
122230
|
Returns: number;
|
|
@@ -120552,6 +122511,13 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
120552
122511
|
};
|
|
120553
122512
|
Returns: string;
|
|
120554
122513
|
};
|
|
122514
|
+
logistics_shipping_note_status: {
|
|
122515
|
+
Args: {
|
|
122516
|
+
p_cart_id?: string;
|
|
122517
|
+
p_slip_job_id?: string;
|
|
122518
|
+
};
|
|
122519
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
122520
|
+
};
|
|
120555
122521
|
logistics_shipping_notes_wake_all: {
|
|
120556
122522
|
Args: never;
|
|
120557
122523
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -120614,6 +122580,12 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
120614
122580
|
};
|
|
120615
122581
|
Returns: undefined;
|
|
120616
122582
|
};
|
|
122583
|
+
logistics_slip_note_retry: {
|
|
122584
|
+
Args: {
|
|
122585
|
+
_id: string;
|
|
122586
|
+
};
|
|
122587
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
122588
|
+
};
|
|
120617
122589
|
logistics_sticker_follows_slip: {
|
|
120618
122590
|
Args: never;
|
|
120619
122591
|
Returns: boolean;
|
|
@@ -121358,6 +123330,10 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
121358
123330
|
};
|
|
121359
123331
|
Returns: string;
|
|
121360
123332
|
};
|
|
123333
|
+
pick_is_reference_admin: {
|
|
123334
|
+
Args: never;
|
|
123335
|
+
Returns: boolean;
|
|
123336
|
+
};
|
|
121361
123337
|
pick_mark_printed: {
|
|
121362
123338
|
Args: {
|
|
121363
123339
|
_queue_item_id: string;
|
|
@@ -121781,6 +123757,12 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
121781
123757
|
};
|
|
121782
123758
|
Returns: import("../integrations/supabase/types").Json;
|
|
121783
123759
|
};
|
|
123760
|
+
pick_verify_rows: {
|
|
123761
|
+
Args: {
|
|
123762
|
+
_rows: import("../integrations/supabase/types").Json;
|
|
123763
|
+
};
|
|
123764
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
123765
|
+
};
|
|
121784
123766
|
pickstation_get_orders_raw: {
|
|
121785
123767
|
Args: never;
|
|
121786
123768
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -121961,6 +123943,12 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
121961
123943
|
};
|
|
121962
123944
|
Returns: import("../integrations/supabase/types").Json;
|
|
121963
123945
|
};
|
|
123946
|
+
quote_create_from_scratch: {
|
|
123947
|
+
Args: {
|
|
123948
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
123949
|
+
};
|
|
123950
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
123951
|
+
};
|
|
121964
123952
|
quote_create_from_source: {
|
|
121965
123953
|
Args: {
|
|
121966
123954
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -122011,6 +123999,13 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
122011
123999
|
};
|
|
122012
124000
|
Returns: string;
|
|
122013
124001
|
};
|
|
124002
|
+
quote_sync_work_order: {
|
|
124003
|
+
Args: {
|
|
124004
|
+
_monteur_instructies?: string;
|
|
124005
|
+
_offerte_id: string;
|
|
124006
|
+
};
|
|
124007
|
+
Returns: boolean;
|
|
124008
|
+
};
|
|
122014
124009
|
recompute_all_reserved_stock: {
|
|
122015
124010
|
Args: never;
|
|
122016
124011
|
Returns: undefined;
|
|
@@ -122231,6 +124226,13 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
122231
124226
|
};
|
|
122232
124227
|
Returns: import("../integrations/supabase/types").Json;
|
|
122233
124228
|
};
|
|
124229
|
+
scan_controleer_pincode: {
|
|
124230
|
+
Args: {
|
|
124231
|
+
p_pin: string;
|
|
124232
|
+
p_scanner_id: string;
|
|
124233
|
+
};
|
|
124234
|
+
Returns: boolean;
|
|
124235
|
+
};
|
|
122234
124236
|
scan_dashboard_stats: {
|
|
122235
124237
|
Args: {
|
|
122236
124238
|
p_dagen?: number;
|
|
@@ -122250,6 +124252,12 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
122250
124252
|
};
|
|
122251
124253
|
Returns: import("../integrations/supabase/types").Json;
|
|
122252
124254
|
};
|
|
124255
|
+
scan_heeft_pincode: {
|
|
124256
|
+
Args: {
|
|
124257
|
+
p_scanner_id: string;
|
|
124258
|
+
};
|
|
124259
|
+
Returns: boolean;
|
|
124260
|
+
};
|
|
122253
124261
|
scan_kar_compleet: {
|
|
122254
124262
|
Args: {
|
|
122255
124263
|
p_allow_reprint?: boolean;
|
|
@@ -122267,6 +124275,7 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
122267
124275
|
Args: {
|
|
122268
124276
|
p_code: string;
|
|
122269
124277
|
p_latency_ms?: number;
|
|
124278
|
+
p_medewerker?: string;
|
|
122270
124279
|
p_message?: string;
|
|
122271
124280
|
p_result: string;
|
|
122272
124281
|
p_scanner_key?: string;
|
|
@@ -122339,6 +124348,22 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
122339
124348
|
};
|
|
122340
124349
|
Returns: undefined;
|
|
122341
124350
|
};
|
|
124351
|
+
scan_scanner_info: {
|
|
124352
|
+
Args: {
|
|
124353
|
+
p_slug: string;
|
|
124354
|
+
};
|
|
124355
|
+
Returns: {
|
|
124356
|
+
actief: boolean;
|
|
124357
|
+
heeft_pincode: boolean;
|
|
124358
|
+
id: string;
|
|
124359
|
+
naam: string;
|
|
124360
|
+
omschrijving: string;
|
|
124361
|
+
printer_id: string;
|
|
124362
|
+
type: string;
|
|
124363
|
+
vereist_medewerker: boolean;
|
|
124364
|
+
werkplek: string;
|
|
124365
|
+
}[];
|
|
124366
|
+
};
|
|
122342
124367
|
scan_sessie_annuleren: {
|
|
122343
124368
|
Args: {
|
|
122344
124369
|
p_sessie_id: string;
|
|
@@ -123301,6 +125326,21 @@ export declare const getEngineBufferForOrder: import("@tanstack/start-client-cor
|
|
|
123301
125326
|
};
|
|
123302
125327
|
Returns: import("../integrations/supabase/types").Json;
|
|
123303
125328
|
};
|
|
125329
|
+
wo_list_colleague_planning: {
|
|
125330
|
+
Args: {
|
|
125331
|
+
_from: string;
|
|
125332
|
+
_monteur_id: string;
|
|
125333
|
+
_to: string;
|
|
125334
|
+
};
|
|
125335
|
+
Returns: {
|
|
125336
|
+
end_at: string;
|
|
125337
|
+
id: string;
|
|
125338
|
+
role: string;
|
|
125339
|
+
start_at: string;
|
|
125340
|
+
status: string;
|
|
125341
|
+
werkbon_id: string;
|
|
125342
|
+
}[];
|
|
125343
|
+
};
|
|
123304
125344
|
wo_list_offerte_requests: {
|
|
123305
125345
|
Args: {
|
|
123306
125346
|
_status?: string;
|
|
@@ -124130,6 +126170,27 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
124130
126170
|
};
|
|
124131
126171
|
Relationships: [];
|
|
124132
126172
|
};
|
|
126173
|
+
artikelen_instellingen: {
|
|
126174
|
+
Row: {
|
|
126175
|
+
created_at: string;
|
|
126176
|
+
id: number;
|
|
126177
|
+
marge_procent: number;
|
|
126178
|
+
updated_at: string;
|
|
126179
|
+
};
|
|
126180
|
+
Insert: {
|
|
126181
|
+
created_at?: string;
|
|
126182
|
+
id?: number;
|
|
126183
|
+
marge_procent?: number;
|
|
126184
|
+
updated_at?: string;
|
|
126185
|
+
};
|
|
126186
|
+
Update: {
|
|
126187
|
+
created_at?: string;
|
|
126188
|
+
id?: number;
|
|
126189
|
+
marge_procent?: number;
|
|
126190
|
+
updated_at?: string;
|
|
126191
|
+
};
|
|
126192
|
+
Relationships: [];
|
|
126193
|
+
};
|
|
124133
126194
|
artikelen_veldconfig: {
|
|
124134
126195
|
Row: {
|
|
124135
126196
|
bron_pad: string;
|
|
@@ -133805,6 +135866,30 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
133805
135866
|
};
|
|
133806
135867
|
Relationships: [];
|
|
133807
135868
|
};
|
|
135869
|
+
logistics_cart_barcode_archief: {
|
|
135870
|
+
Row: {
|
|
135871
|
+
barcode: string;
|
|
135872
|
+
cart_id: string;
|
|
135873
|
+
created_at: string | null;
|
|
135874
|
+
gearchiveerd_op: string;
|
|
135875
|
+
order_id: string | null;
|
|
135876
|
+
};
|
|
135877
|
+
Insert: {
|
|
135878
|
+
barcode: string;
|
|
135879
|
+
cart_id: string;
|
|
135880
|
+
created_at?: string | null;
|
|
135881
|
+
gearchiveerd_op?: string;
|
|
135882
|
+
order_id?: string | null;
|
|
135883
|
+
};
|
|
135884
|
+
Update: {
|
|
135885
|
+
barcode?: string;
|
|
135886
|
+
cart_id?: string;
|
|
135887
|
+
created_at?: string | null;
|
|
135888
|
+
gearchiveerd_op?: string;
|
|
135889
|
+
order_id?: string | null;
|
|
135890
|
+
};
|
|
135891
|
+
Relationships: [];
|
|
135892
|
+
};
|
|
133808
135893
|
logistics_control_scan: {
|
|
133809
135894
|
Row: {
|
|
133810
135895
|
approved_at: string | null;
|
|
@@ -139458,18 +141543,24 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
139458
141543
|
Row: {
|
|
139459
141544
|
id: boolean;
|
|
139460
141545
|
last_cleanup_at: string | null;
|
|
141546
|
+
last_error: string | null;
|
|
141547
|
+
last_error_at: string | null;
|
|
139461
141548
|
last_sync_at: string | null;
|
|
139462
141549
|
updated_at: string;
|
|
139463
141550
|
};
|
|
139464
141551
|
Insert: {
|
|
139465
141552
|
id?: boolean;
|
|
139466
141553
|
last_cleanup_at?: string | null;
|
|
141554
|
+
last_error?: string | null;
|
|
141555
|
+
last_error_at?: string | null;
|
|
139467
141556
|
last_sync_at?: string | null;
|
|
139468
141557
|
updated_at?: string;
|
|
139469
141558
|
};
|
|
139470
141559
|
Update: {
|
|
139471
141560
|
id?: boolean;
|
|
139472
141561
|
last_cleanup_at?: string | null;
|
|
141562
|
+
last_error?: string | null;
|
|
141563
|
+
last_error_at?: string | null;
|
|
139473
141564
|
last_sync_at?: string | null;
|
|
139474
141565
|
updated_at?: string;
|
|
139475
141566
|
};
|
|
@@ -139595,6 +141686,54 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
139595
141686
|
};
|
|
139596
141687
|
Relationships: [];
|
|
139597
141688
|
};
|
|
141689
|
+
planning_confirmation_log: {
|
|
141690
|
+
Row: {
|
|
141691
|
+
created_at: string;
|
|
141692
|
+
end_at: string;
|
|
141693
|
+
id: string;
|
|
141694
|
+
outbox_id: string | null;
|
|
141695
|
+
planning_item_id: string;
|
|
141696
|
+
reason: string | null;
|
|
141697
|
+
recipient: string | null;
|
|
141698
|
+
start_at: string;
|
|
141699
|
+
status: string;
|
|
141700
|
+
};
|
|
141701
|
+
Insert: {
|
|
141702
|
+
created_at?: string;
|
|
141703
|
+
end_at: string;
|
|
141704
|
+
id?: string;
|
|
141705
|
+
outbox_id?: string | null;
|
|
141706
|
+
planning_item_id: string;
|
|
141707
|
+
reason?: string | null;
|
|
141708
|
+
recipient?: string | null;
|
|
141709
|
+
start_at: string;
|
|
141710
|
+
status: string;
|
|
141711
|
+
};
|
|
141712
|
+
Update: {
|
|
141713
|
+
created_at?: string;
|
|
141714
|
+
end_at?: string;
|
|
141715
|
+
id?: string;
|
|
141716
|
+
outbox_id?: string | null;
|
|
141717
|
+
planning_item_id?: string;
|
|
141718
|
+
reason?: string | null;
|
|
141719
|
+
recipient?: string | null;
|
|
141720
|
+
start_at?: string;
|
|
141721
|
+
status?: string;
|
|
141722
|
+
};
|
|
141723
|
+
Relationships: [{
|
|
141724
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
141725
|
+
columns: ["planning_item_id"];
|
|
141726
|
+
isOneToOne: false;
|
|
141727
|
+
referencedRelation: "planning_items";
|
|
141728
|
+
referencedColumns: ["id"];
|
|
141729
|
+
}, {
|
|
141730
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
141731
|
+
columns: ["planning_item_id"];
|
|
141732
|
+
isOneToOne: false;
|
|
141733
|
+
referencedRelation: "planning_overview";
|
|
141734
|
+
referencedColumns: ["id"];
|
|
141735
|
+
}];
|
|
141736
|
+
};
|
|
139598
141737
|
planning_item_assistants: {
|
|
139599
141738
|
Row: {
|
|
139600
141739
|
created_at: string;
|
|
@@ -139679,6 +141818,60 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
139679
141818
|
referencedColumns: ["id"];
|
|
139680
141819
|
}];
|
|
139681
141820
|
};
|
|
141821
|
+
planning_mail_settings: {
|
|
141822
|
+
Row: {
|
|
141823
|
+
body_template: string;
|
|
141824
|
+
cc: string[];
|
|
141825
|
+
connection_id: string | null;
|
|
141826
|
+
created_at: string;
|
|
141827
|
+
enabled: boolean;
|
|
141828
|
+
id: boolean;
|
|
141829
|
+
reply_to: string | null;
|
|
141830
|
+
subject_template: string;
|
|
141831
|
+
timezone: string;
|
|
141832
|
+
updated_at: string;
|
|
141833
|
+
updated_by: string | null;
|
|
141834
|
+
};
|
|
141835
|
+
Insert: {
|
|
141836
|
+
body_template?: string;
|
|
141837
|
+
cc?: string[];
|
|
141838
|
+
connection_id?: string | null;
|
|
141839
|
+
created_at?: string;
|
|
141840
|
+
enabled?: boolean;
|
|
141841
|
+
id?: boolean;
|
|
141842
|
+
reply_to?: string | null;
|
|
141843
|
+
subject_template?: string;
|
|
141844
|
+
timezone?: string;
|
|
141845
|
+
updated_at?: string;
|
|
141846
|
+
updated_by?: string | null;
|
|
141847
|
+
};
|
|
141848
|
+
Update: {
|
|
141849
|
+
body_template?: string;
|
|
141850
|
+
cc?: string[];
|
|
141851
|
+
connection_id?: string | null;
|
|
141852
|
+
created_at?: string;
|
|
141853
|
+
enabled?: boolean;
|
|
141854
|
+
id?: boolean;
|
|
141855
|
+
reply_to?: string | null;
|
|
141856
|
+
subject_template?: string;
|
|
141857
|
+
timezone?: string;
|
|
141858
|
+
updated_at?: string;
|
|
141859
|
+
updated_by?: string | null;
|
|
141860
|
+
};
|
|
141861
|
+
Relationships: [{
|
|
141862
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
141863
|
+
columns: ["connection_id"];
|
|
141864
|
+
isOneToOne: false;
|
|
141865
|
+
referencedRelation: "email_auth_connections";
|
|
141866
|
+
referencedColumns: ["id"];
|
|
141867
|
+
}, {
|
|
141868
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
141869
|
+
columns: ["connection_id"];
|
|
141870
|
+
isOneToOne: false;
|
|
141871
|
+
referencedRelation: "email_auth_connections_safe";
|
|
141872
|
+
referencedColumns: ["id"];
|
|
141873
|
+
}];
|
|
141874
|
+
};
|
|
139682
141875
|
planning_monteur_day_locations: {
|
|
139683
141876
|
Row: {
|
|
139684
141877
|
created_at: string;
|
|
@@ -141157,6 +143350,9 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
141157
143350
|
lead_time_days: number | null;
|
|
141158
143351
|
min_order_quantity: number | null;
|
|
141159
143352
|
notes: string | null;
|
|
143353
|
+
previous_price_cents: number | null;
|
|
143354
|
+
price_source: string;
|
|
143355
|
+
price_updated_at: string | null;
|
|
141160
143356
|
product_id: string;
|
|
141161
143357
|
purchase_price_cents: number | null;
|
|
141162
143358
|
supplier_article_number: string | null;
|
|
@@ -141170,6 +143366,9 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
141170
143366
|
lead_time_days?: number | null;
|
|
141171
143367
|
min_order_quantity?: number | null;
|
|
141172
143368
|
notes?: string | null;
|
|
143369
|
+
previous_price_cents?: number | null;
|
|
143370
|
+
price_source?: string;
|
|
143371
|
+
price_updated_at?: string | null;
|
|
141173
143372
|
product_id: string;
|
|
141174
143373
|
purchase_price_cents?: number | null;
|
|
141175
143374
|
supplier_article_number?: string | null;
|
|
@@ -141183,6 +143382,9 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
141183
143382
|
lead_time_days?: number | null;
|
|
141184
143383
|
min_order_quantity?: number | null;
|
|
141185
143384
|
notes?: string | null;
|
|
143385
|
+
previous_price_cents?: number | null;
|
|
143386
|
+
price_source?: string;
|
|
143387
|
+
price_updated_at?: string | null;
|
|
141186
143388
|
product_id?: string;
|
|
141187
143389
|
purchase_price_cents?: number | null;
|
|
141188
143390
|
supplier_article_number?: string | null;
|
|
@@ -141713,9 +143915,13 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
141713
143915
|
purchase_order_items: {
|
|
141714
143916
|
Row: {
|
|
141715
143917
|
article_number: string | null;
|
|
143918
|
+
cancel_reason: string | null;
|
|
143919
|
+
cancelled_at: string | null;
|
|
141716
143920
|
created_at: string;
|
|
141717
143921
|
delivery_date: string | null;
|
|
141718
143922
|
id: string;
|
|
143923
|
+
incoming_booked: number;
|
|
143924
|
+
line_status: string;
|
|
141719
143925
|
name: string;
|
|
141720
143926
|
note: string | null;
|
|
141721
143927
|
pot_size: string | null;
|
|
@@ -141723,6 +143929,8 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
141723
143929
|
product_type: string;
|
|
141724
143930
|
purchase_order_id: string;
|
|
141725
143931
|
quantity: number;
|
|
143932
|
+
received_at: string | null;
|
|
143933
|
+
received_booked: number;
|
|
141726
143934
|
supplier_id: string | null;
|
|
141727
143935
|
supplier_product_id: string | null;
|
|
141728
143936
|
unit_price_cents: number;
|
|
@@ -141730,9 +143938,13 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
141730
143938
|
};
|
|
141731
143939
|
Insert: {
|
|
141732
143940
|
article_number?: string | null;
|
|
143941
|
+
cancel_reason?: string | null;
|
|
143942
|
+
cancelled_at?: string | null;
|
|
141733
143943
|
created_at?: string;
|
|
141734
143944
|
delivery_date?: string | null;
|
|
141735
143945
|
id?: string;
|
|
143946
|
+
incoming_booked?: number;
|
|
143947
|
+
line_status?: string;
|
|
141736
143948
|
name?: string;
|
|
141737
143949
|
note?: string | null;
|
|
141738
143950
|
pot_size?: string | null;
|
|
@@ -141740,6 +143952,8 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
141740
143952
|
product_type?: string;
|
|
141741
143953
|
purchase_order_id: string;
|
|
141742
143954
|
quantity?: number;
|
|
143955
|
+
received_at?: string | null;
|
|
143956
|
+
received_booked?: number;
|
|
141743
143957
|
supplier_id?: string | null;
|
|
141744
143958
|
supplier_product_id?: string | null;
|
|
141745
143959
|
unit_price_cents?: number;
|
|
@@ -141747,9 +143961,13 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
141747
143961
|
};
|
|
141748
143962
|
Update: {
|
|
141749
143963
|
article_number?: string | null;
|
|
143964
|
+
cancel_reason?: string | null;
|
|
143965
|
+
cancelled_at?: string | null;
|
|
141750
143966
|
created_at?: string;
|
|
141751
143967
|
delivery_date?: string | null;
|
|
141752
143968
|
id?: string;
|
|
143969
|
+
incoming_booked?: number;
|
|
143970
|
+
line_status?: string;
|
|
141753
143971
|
name?: string;
|
|
141754
143972
|
note?: string | null;
|
|
141755
143973
|
pot_size?: string | null;
|
|
@@ -141757,6 +143975,8 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
141757
143975
|
product_type?: string;
|
|
141758
143976
|
purchase_order_id?: string;
|
|
141759
143977
|
quantity?: number;
|
|
143978
|
+
received_at?: string | null;
|
|
143979
|
+
received_booked?: number;
|
|
141760
143980
|
supplier_id?: string | null;
|
|
141761
143981
|
supplier_product_id?: string | null;
|
|
141762
143982
|
unit_price_cents?: number;
|
|
@@ -141860,6 +144080,153 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
141860
144080
|
referencedColumns: ["id"];
|
|
141861
144081
|
}];
|
|
141862
144082
|
};
|
|
144083
|
+
purchase_request_events: {
|
|
144084
|
+
Row: {
|
|
144085
|
+
created_at: string;
|
|
144086
|
+
details: import("../integrations/supabase/types").Json | null;
|
|
144087
|
+
event_type: string;
|
|
144088
|
+
id: string;
|
|
144089
|
+
request_id: string;
|
|
144090
|
+
};
|
|
144091
|
+
Insert: {
|
|
144092
|
+
created_at?: string;
|
|
144093
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
144094
|
+
event_type: string;
|
|
144095
|
+
id?: string;
|
|
144096
|
+
request_id: string;
|
|
144097
|
+
};
|
|
144098
|
+
Update: {
|
|
144099
|
+
created_at?: string;
|
|
144100
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
144101
|
+
event_type?: string;
|
|
144102
|
+
id?: string;
|
|
144103
|
+
request_id?: string;
|
|
144104
|
+
};
|
|
144105
|
+
Relationships: [{
|
|
144106
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
144107
|
+
columns: ["request_id"];
|
|
144108
|
+
isOneToOne: false;
|
|
144109
|
+
referencedRelation: "purchase_requests";
|
|
144110
|
+
referencedColumns: ["id"];
|
|
144111
|
+
}];
|
|
144112
|
+
};
|
|
144113
|
+
purchase_request_responses: {
|
|
144114
|
+
Row: {
|
|
144115
|
+
confirmed_date: string | null;
|
|
144116
|
+
confirmed_price_cents: number | null;
|
|
144117
|
+
confirmed_quantity: number;
|
|
144118
|
+
created_at: string;
|
|
144119
|
+
id: string;
|
|
144120
|
+
not_available: boolean;
|
|
144121
|
+
note: string | null;
|
|
144122
|
+
purchase_order_item_id: string;
|
|
144123
|
+
request_id: string;
|
|
144124
|
+
updated_at: string;
|
|
144125
|
+
};
|
|
144126
|
+
Insert: {
|
|
144127
|
+
confirmed_date?: string | null;
|
|
144128
|
+
confirmed_price_cents?: number | null;
|
|
144129
|
+
confirmed_quantity?: number;
|
|
144130
|
+
created_at?: string;
|
|
144131
|
+
id?: string;
|
|
144132
|
+
not_available?: boolean;
|
|
144133
|
+
note?: string | null;
|
|
144134
|
+
purchase_order_item_id: string;
|
|
144135
|
+
request_id: string;
|
|
144136
|
+
updated_at?: string;
|
|
144137
|
+
};
|
|
144138
|
+
Update: {
|
|
144139
|
+
confirmed_date?: string | null;
|
|
144140
|
+
confirmed_price_cents?: number | null;
|
|
144141
|
+
confirmed_quantity?: number;
|
|
144142
|
+
created_at?: string;
|
|
144143
|
+
id?: string;
|
|
144144
|
+
not_available?: boolean;
|
|
144145
|
+
note?: string | null;
|
|
144146
|
+
purchase_order_item_id?: string;
|
|
144147
|
+
request_id?: string;
|
|
144148
|
+
updated_at?: string;
|
|
144149
|
+
};
|
|
144150
|
+
Relationships: [{
|
|
144151
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
144152
|
+
columns: ["purchase_order_item_id"];
|
|
144153
|
+
isOneToOne: false;
|
|
144154
|
+
referencedRelation: "purchase_order_items";
|
|
144155
|
+
referencedColumns: ["id"];
|
|
144156
|
+
}, {
|
|
144157
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
144158
|
+
columns: ["request_id"];
|
|
144159
|
+
isOneToOne: false;
|
|
144160
|
+
referencedRelation: "purchase_requests";
|
|
144161
|
+
referencedColumns: ["id"];
|
|
144162
|
+
}];
|
|
144163
|
+
};
|
|
144164
|
+
purchase_requests: {
|
|
144165
|
+
Row: {
|
|
144166
|
+
created_at: string;
|
|
144167
|
+
expires_at: string;
|
|
144168
|
+
first_viewed_at: string | null;
|
|
144169
|
+
id: string;
|
|
144170
|
+
processed_at: string | null;
|
|
144171
|
+
purchase_order_id: string;
|
|
144172
|
+
responded_at: string | null;
|
|
144173
|
+
sent_at: string;
|
|
144174
|
+
status: string;
|
|
144175
|
+
supplier_id: string | null;
|
|
144176
|
+
supplier_name: string;
|
|
144177
|
+
supplier_note: string | null;
|
|
144178
|
+
to_address: string | null;
|
|
144179
|
+
token_hash: string;
|
|
144180
|
+
updated_at: string;
|
|
144181
|
+
};
|
|
144182
|
+
Insert: {
|
|
144183
|
+
created_at?: string;
|
|
144184
|
+
expires_at?: string;
|
|
144185
|
+
first_viewed_at?: string | null;
|
|
144186
|
+
id?: string;
|
|
144187
|
+
processed_at?: string | null;
|
|
144188
|
+
purchase_order_id: string;
|
|
144189
|
+
responded_at?: string | null;
|
|
144190
|
+
sent_at?: string;
|
|
144191
|
+
status?: string;
|
|
144192
|
+
supplier_id?: string | null;
|
|
144193
|
+
supplier_name?: string;
|
|
144194
|
+
supplier_note?: string | null;
|
|
144195
|
+
to_address?: string | null;
|
|
144196
|
+
token_hash: string;
|
|
144197
|
+
updated_at?: string;
|
|
144198
|
+
};
|
|
144199
|
+
Update: {
|
|
144200
|
+
created_at?: string;
|
|
144201
|
+
expires_at?: string;
|
|
144202
|
+
first_viewed_at?: string | null;
|
|
144203
|
+
id?: string;
|
|
144204
|
+
processed_at?: string | null;
|
|
144205
|
+
purchase_order_id?: string;
|
|
144206
|
+
responded_at?: string | null;
|
|
144207
|
+
sent_at?: string;
|
|
144208
|
+
status?: string;
|
|
144209
|
+
supplier_id?: string | null;
|
|
144210
|
+
supplier_name?: string;
|
|
144211
|
+
supplier_note?: string | null;
|
|
144212
|
+
to_address?: string | null;
|
|
144213
|
+
token_hash?: string;
|
|
144214
|
+
updated_at?: string;
|
|
144215
|
+
};
|
|
144216
|
+
Relationships: [{
|
|
144217
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
144218
|
+
columns: ["purchase_order_id"];
|
|
144219
|
+
isOneToOne: false;
|
|
144220
|
+
referencedRelation: "purchase_orders";
|
|
144221
|
+
referencedColumns: ["id"];
|
|
144222
|
+
}, {
|
|
144223
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
144224
|
+
columns: ["supplier_id"];
|
|
144225
|
+
isOneToOne: false;
|
|
144226
|
+
referencedRelation: "suppliers";
|
|
144227
|
+
referencedColumns: ["id"];
|
|
144228
|
+
}];
|
|
144229
|
+
};
|
|
141863
144230
|
reception_notifications: {
|
|
141864
144231
|
Row: {
|
|
141865
144232
|
booking_id: string | null;
|
|
@@ -146285,7 +148652,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
146285
148652
|
created_at: string;
|
|
146286
148653
|
default_quantity: number;
|
|
146287
148654
|
description: string | null;
|
|
146288
|
-
duration_minutes: number
|
|
148655
|
+
duration_minutes: number;
|
|
146289
148656
|
id: string;
|
|
146290
148657
|
mandaat_type: string | null;
|
|
146291
148658
|
name: string;
|
|
@@ -146302,7 +148669,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
146302
148669
|
created_at?: string;
|
|
146303
148670
|
default_quantity?: number;
|
|
146304
148671
|
description?: string | null;
|
|
146305
|
-
duration_minutes?: number
|
|
148672
|
+
duration_minutes?: number;
|
|
146306
148673
|
id?: string;
|
|
146307
148674
|
mandaat_type?: string | null;
|
|
146308
148675
|
name: string;
|
|
@@ -146319,7 +148686,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
146319
148686
|
created_at?: string;
|
|
146320
148687
|
default_quantity?: number;
|
|
146321
148688
|
description?: string | null;
|
|
146322
|
-
duration_minutes?: number
|
|
148689
|
+
duration_minutes?: number;
|
|
146323
148690
|
id?: string;
|
|
146324
148691
|
mandaat_type?: string | null;
|
|
146325
148692
|
name?: string;
|
|
@@ -149315,6 +151682,31 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
149315
151682
|
};
|
|
149316
151683
|
Returns: import("../integrations/supabase/types").Json;
|
|
149317
151684
|
};
|
|
151685
|
+
inkoop_cancel_line: {
|
|
151686
|
+
Args: {
|
|
151687
|
+
_item_id: string;
|
|
151688
|
+
_reason: string;
|
|
151689
|
+
};
|
|
151690
|
+
Returns: string;
|
|
151691
|
+
};
|
|
151692
|
+
inkoop_get_supplier_request: {
|
|
151693
|
+
Args: {
|
|
151694
|
+
_token: string;
|
|
151695
|
+
};
|
|
151696
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
151697
|
+
};
|
|
151698
|
+
inkoop_hash_token: {
|
|
151699
|
+
Args: {
|
|
151700
|
+
_token: string;
|
|
151701
|
+
};
|
|
151702
|
+
Returns: string;
|
|
151703
|
+
};
|
|
151704
|
+
inkoop_html_escape: {
|
|
151705
|
+
Args: {
|
|
151706
|
+
_t: string;
|
|
151707
|
+
};
|
|
151708
|
+
Returns: string;
|
|
151709
|
+
};
|
|
149318
151710
|
inkoop_list_artikelen: {
|
|
149319
151711
|
Args: never;
|
|
149320
151712
|
Returns: {
|
|
@@ -149339,9 +151731,17 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
149339
151731
|
Args: never;
|
|
149340
151732
|
Returns: string;
|
|
149341
151733
|
};
|
|
151734
|
+
inkoop_process_request: {
|
|
151735
|
+
Args: {
|
|
151736
|
+
_request_id: string;
|
|
151737
|
+
};
|
|
151738
|
+
Returns: undefined;
|
|
151739
|
+
};
|
|
149342
151740
|
inkoop_send_order: {
|
|
149343
151741
|
Args: {
|
|
151742
|
+
_base_url?: string;
|
|
149344
151743
|
_order_id: string;
|
|
151744
|
+
_resend?: boolean;
|
|
149345
151745
|
};
|
|
149346
151746
|
Returns: {
|
|
149347
151747
|
outbox_id: string;
|
|
@@ -149356,6 +151756,26 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
149356
151756
|
};
|
|
149357
151757
|
Returns: undefined;
|
|
149358
151758
|
};
|
|
151759
|
+
inkoop_stock_key: {
|
|
151760
|
+
Args: {
|
|
151761
|
+
p_product_id: string;
|
|
151762
|
+
};
|
|
151763
|
+
Returns: string;
|
|
151764
|
+
};
|
|
151765
|
+
inkoop_submit_supplier_response: {
|
|
151766
|
+
Args: {
|
|
151767
|
+
_lines: import("../integrations/supabase/types").Json;
|
|
151768
|
+
_note?: string;
|
|
151769
|
+
_token: string;
|
|
151770
|
+
};
|
|
151771
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
151772
|
+
};
|
|
151773
|
+
inkoop_sync_item_stock: {
|
|
151774
|
+
Args: {
|
|
151775
|
+
p_item_id: string;
|
|
151776
|
+
};
|
|
151777
|
+
Returns: undefined;
|
|
151778
|
+
};
|
|
149359
151779
|
instructie_get: {
|
|
149360
151780
|
Args: {
|
|
149361
151781
|
_sleutel: string;
|
|
@@ -149516,6 +151936,27 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
149516
151936
|
};
|
|
149517
151937
|
Returns: boolean;
|
|
149518
151938
|
};
|
|
151939
|
+
layout_print_document: {
|
|
151940
|
+
Args: {
|
|
151941
|
+
_documentnaam: string;
|
|
151942
|
+
_documenttype: string;
|
|
151943
|
+
_herkomst?: string;
|
|
151944
|
+
_idempotentie_sleutel?: string;
|
|
151945
|
+
_is_herprint?: boolean;
|
|
151946
|
+
_kopieen?: number;
|
|
151947
|
+
_layout_id?: string;
|
|
151948
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
151949
|
+
_pdf_base64?: string;
|
|
151950
|
+
_pdf_url?: string;
|
|
151951
|
+
_print_plek_id?: string;
|
|
151952
|
+
_werkplek?: string;
|
|
151953
|
+
};
|
|
151954
|
+
Returns: {
|
|
151955
|
+
bestaand: boolean;
|
|
151956
|
+
job_id: string;
|
|
151957
|
+
printer_id: string;
|
|
151958
|
+
}[];
|
|
151959
|
+
};
|
|
149519
151960
|
list_medewerkers: {
|
|
149520
151961
|
Args: never;
|
|
149521
151962
|
Returns: {
|
|
@@ -149793,6 +152234,12 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
149793
152234
|
};
|
|
149794
152235
|
Returns: number;
|
|
149795
152236
|
};
|
|
152237
|
+
logistics_cart_barcode_opschonen: {
|
|
152238
|
+
Args: {
|
|
152239
|
+
p_portie?: number;
|
|
152240
|
+
};
|
|
152241
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
152242
|
+
};
|
|
149796
152243
|
logistics_cart_barcode_value: {
|
|
149797
152244
|
Args: {
|
|
149798
152245
|
_cart_id: string;
|
|
@@ -150212,6 +152659,13 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
150212
152659
|
};
|
|
150213
152660
|
Returns: import("../integrations/supabase/types").Json;
|
|
150214
152661
|
};
|
|
152662
|
+
logistics_control_scan_print_own: {
|
|
152663
|
+
Args: {
|
|
152664
|
+
p_is_herprint?: boolean;
|
|
152665
|
+
p_scan_id: string;
|
|
152666
|
+
};
|
|
152667
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
152668
|
+
};
|
|
150215
152669
|
logistics_control_scan_retry: {
|
|
150216
152670
|
Args: {
|
|
150217
152671
|
_id: string;
|
|
@@ -151116,6 +153570,21 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
151116
153570
|
};
|
|
151117
153571
|
Returns: import("../integrations/supabase/types").Json;
|
|
151118
153572
|
};
|
|
153573
|
+
logistics_print_via_layout: {
|
|
153574
|
+
Args: {
|
|
153575
|
+
_documentnaam: string;
|
|
153576
|
+
_documenttype: string;
|
|
153577
|
+
_herkomst: string;
|
|
153578
|
+
_idempotentie_sleutel: string;
|
|
153579
|
+
_is_herprint: boolean;
|
|
153580
|
+
_layout_id: string;
|
|
153581
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
153582
|
+
_pdf_base64: string;
|
|
153583
|
+
_pdf_url: string;
|
|
153584
|
+
_print_plek_id: string;
|
|
153585
|
+
};
|
|
153586
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
153587
|
+
};
|
|
151119
153588
|
logistics_prune_buffer_member_queue: {
|
|
151120
153589
|
Args: never;
|
|
151121
153590
|
Returns: number;
|
|
@@ -151402,6 +153871,13 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
151402
153871
|
};
|
|
151403
153872
|
Returns: string;
|
|
151404
153873
|
};
|
|
153874
|
+
logistics_shipping_note_status: {
|
|
153875
|
+
Args: {
|
|
153876
|
+
p_cart_id?: string;
|
|
153877
|
+
p_slip_job_id?: string;
|
|
153878
|
+
};
|
|
153879
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
153880
|
+
};
|
|
151405
153881
|
logistics_shipping_notes_wake_all: {
|
|
151406
153882
|
Args: never;
|
|
151407
153883
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -151464,6 +153940,12 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
151464
153940
|
};
|
|
151465
153941
|
Returns: undefined;
|
|
151466
153942
|
};
|
|
153943
|
+
logistics_slip_note_retry: {
|
|
153944
|
+
Args: {
|
|
153945
|
+
_id: string;
|
|
153946
|
+
};
|
|
153947
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
153948
|
+
};
|
|
151467
153949
|
logistics_sticker_follows_slip: {
|
|
151468
153950
|
Args: never;
|
|
151469
153951
|
Returns: boolean;
|
|
@@ -152208,6 +154690,10 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
152208
154690
|
};
|
|
152209
154691
|
Returns: string;
|
|
152210
154692
|
};
|
|
154693
|
+
pick_is_reference_admin: {
|
|
154694
|
+
Args: never;
|
|
154695
|
+
Returns: boolean;
|
|
154696
|
+
};
|
|
152211
154697
|
pick_mark_printed: {
|
|
152212
154698
|
Args: {
|
|
152213
154699
|
_queue_item_id: string;
|
|
@@ -152631,6 +155117,12 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
152631
155117
|
};
|
|
152632
155118
|
Returns: import("../integrations/supabase/types").Json;
|
|
152633
155119
|
};
|
|
155120
|
+
pick_verify_rows: {
|
|
155121
|
+
Args: {
|
|
155122
|
+
_rows: import("../integrations/supabase/types").Json;
|
|
155123
|
+
};
|
|
155124
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
155125
|
+
};
|
|
152634
155126
|
pickstation_get_orders_raw: {
|
|
152635
155127
|
Args: never;
|
|
152636
155128
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -152811,6 +155303,12 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
152811
155303
|
};
|
|
152812
155304
|
Returns: import("../integrations/supabase/types").Json;
|
|
152813
155305
|
};
|
|
155306
|
+
quote_create_from_scratch: {
|
|
155307
|
+
Args: {
|
|
155308
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
155309
|
+
};
|
|
155310
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
155311
|
+
};
|
|
152814
155312
|
quote_create_from_source: {
|
|
152815
155313
|
Args: {
|
|
152816
155314
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -152861,6 +155359,13 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
152861
155359
|
};
|
|
152862
155360
|
Returns: string;
|
|
152863
155361
|
};
|
|
155362
|
+
quote_sync_work_order: {
|
|
155363
|
+
Args: {
|
|
155364
|
+
_monteur_instructies?: string;
|
|
155365
|
+
_offerte_id: string;
|
|
155366
|
+
};
|
|
155367
|
+
Returns: boolean;
|
|
155368
|
+
};
|
|
152864
155369
|
recompute_all_reserved_stock: {
|
|
152865
155370
|
Args: never;
|
|
152866
155371
|
Returns: undefined;
|
|
@@ -153081,6 +155586,13 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
153081
155586
|
};
|
|
153082
155587
|
Returns: import("../integrations/supabase/types").Json;
|
|
153083
155588
|
};
|
|
155589
|
+
scan_controleer_pincode: {
|
|
155590
|
+
Args: {
|
|
155591
|
+
p_pin: string;
|
|
155592
|
+
p_scanner_id: string;
|
|
155593
|
+
};
|
|
155594
|
+
Returns: boolean;
|
|
155595
|
+
};
|
|
153084
155596
|
scan_dashboard_stats: {
|
|
153085
155597
|
Args: {
|
|
153086
155598
|
p_dagen?: number;
|
|
@@ -153100,6 +155612,12 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
153100
155612
|
};
|
|
153101
155613
|
Returns: import("../integrations/supabase/types").Json;
|
|
153102
155614
|
};
|
|
155615
|
+
scan_heeft_pincode: {
|
|
155616
|
+
Args: {
|
|
155617
|
+
p_scanner_id: string;
|
|
155618
|
+
};
|
|
155619
|
+
Returns: boolean;
|
|
155620
|
+
};
|
|
153103
155621
|
scan_kar_compleet: {
|
|
153104
155622
|
Args: {
|
|
153105
155623
|
p_allow_reprint?: boolean;
|
|
@@ -153117,6 +155635,7 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
153117
155635
|
Args: {
|
|
153118
155636
|
p_code: string;
|
|
153119
155637
|
p_latency_ms?: number;
|
|
155638
|
+
p_medewerker?: string;
|
|
153120
155639
|
p_message?: string;
|
|
153121
155640
|
p_result: string;
|
|
153122
155641
|
p_scanner_key?: string;
|
|
@@ -153189,6 +155708,22 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
153189
155708
|
};
|
|
153190
155709
|
Returns: undefined;
|
|
153191
155710
|
};
|
|
155711
|
+
scan_scanner_info: {
|
|
155712
|
+
Args: {
|
|
155713
|
+
p_slug: string;
|
|
155714
|
+
};
|
|
155715
|
+
Returns: {
|
|
155716
|
+
actief: boolean;
|
|
155717
|
+
heeft_pincode: boolean;
|
|
155718
|
+
id: string;
|
|
155719
|
+
naam: string;
|
|
155720
|
+
omschrijving: string;
|
|
155721
|
+
printer_id: string;
|
|
155722
|
+
type: string;
|
|
155723
|
+
vereist_medewerker: boolean;
|
|
155724
|
+
werkplek: string;
|
|
155725
|
+
}[];
|
|
155726
|
+
};
|
|
153192
155727
|
scan_sessie_annuleren: {
|
|
153193
155728
|
Args: {
|
|
153194
155729
|
p_sessie_id: string;
|
|
@@ -154151,6 +156686,21 @@ export declare const releaseEngineBuffer: import("@tanstack/start-client-core").
|
|
|
154151
156686
|
};
|
|
154152
156687
|
Returns: import("../integrations/supabase/types").Json;
|
|
154153
156688
|
};
|
|
156689
|
+
wo_list_colleague_planning: {
|
|
156690
|
+
Args: {
|
|
156691
|
+
_from: string;
|
|
156692
|
+
_monteur_id: string;
|
|
156693
|
+
_to: string;
|
|
156694
|
+
};
|
|
156695
|
+
Returns: {
|
|
156696
|
+
end_at: string;
|
|
156697
|
+
id: string;
|
|
156698
|
+
role: string;
|
|
156699
|
+
start_at: string;
|
|
156700
|
+
status: string;
|
|
156701
|
+
werkbon_id: string;
|
|
156702
|
+
}[];
|
|
156703
|
+
};
|
|
154154
156704
|
wo_list_offerte_requests: {
|
|
154155
156705
|
Args: {
|
|
154156
156706
|
_status?: string;
|