@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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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 getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
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;
|
|
@@ -31560,6 +32070,27 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
31560
32070
|
};
|
|
31561
32071
|
Relationships: [];
|
|
31562
32072
|
};
|
|
32073
|
+
artikelen_instellingen: {
|
|
32074
|
+
Row: {
|
|
32075
|
+
created_at: string;
|
|
32076
|
+
id: number;
|
|
32077
|
+
marge_procent: number;
|
|
32078
|
+
updated_at: string;
|
|
32079
|
+
};
|
|
32080
|
+
Insert: {
|
|
32081
|
+
created_at?: string;
|
|
32082
|
+
id?: number;
|
|
32083
|
+
marge_procent?: number;
|
|
32084
|
+
updated_at?: string;
|
|
32085
|
+
};
|
|
32086
|
+
Update: {
|
|
32087
|
+
created_at?: string;
|
|
32088
|
+
id?: number;
|
|
32089
|
+
marge_procent?: number;
|
|
32090
|
+
updated_at?: string;
|
|
32091
|
+
};
|
|
32092
|
+
Relationships: [];
|
|
32093
|
+
};
|
|
31563
32094
|
artikelen_veldconfig: {
|
|
31564
32095
|
Row: {
|
|
31565
32096
|
bron_pad: string;
|
|
@@ -41235,6 +41766,30 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
41235
41766
|
};
|
|
41236
41767
|
Relationships: [];
|
|
41237
41768
|
};
|
|
41769
|
+
logistics_cart_barcode_archief: {
|
|
41770
|
+
Row: {
|
|
41771
|
+
barcode: string;
|
|
41772
|
+
cart_id: string;
|
|
41773
|
+
created_at: string | null;
|
|
41774
|
+
gearchiveerd_op: string;
|
|
41775
|
+
order_id: string | null;
|
|
41776
|
+
};
|
|
41777
|
+
Insert: {
|
|
41778
|
+
barcode: string;
|
|
41779
|
+
cart_id: string;
|
|
41780
|
+
created_at?: string | null;
|
|
41781
|
+
gearchiveerd_op?: string;
|
|
41782
|
+
order_id?: string | null;
|
|
41783
|
+
};
|
|
41784
|
+
Update: {
|
|
41785
|
+
barcode?: string;
|
|
41786
|
+
cart_id?: string;
|
|
41787
|
+
created_at?: string | null;
|
|
41788
|
+
gearchiveerd_op?: string;
|
|
41789
|
+
order_id?: string | null;
|
|
41790
|
+
};
|
|
41791
|
+
Relationships: [];
|
|
41792
|
+
};
|
|
41238
41793
|
logistics_control_scan: {
|
|
41239
41794
|
Row: {
|
|
41240
41795
|
approved_at: string | null;
|
|
@@ -46888,18 +47443,24 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
46888
47443
|
Row: {
|
|
46889
47444
|
id: boolean;
|
|
46890
47445
|
last_cleanup_at: string | null;
|
|
47446
|
+
last_error: string | null;
|
|
47447
|
+
last_error_at: string | null;
|
|
46891
47448
|
last_sync_at: string | null;
|
|
46892
47449
|
updated_at: string;
|
|
46893
47450
|
};
|
|
46894
47451
|
Insert: {
|
|
46895
47452
|
id?: boolean;
|
|
46896
47453
|
last_cleanup_at?: string | null;
|
|
47454
|
+
last_error?: string | null;
|
|
47455
|
+
last_error_at?: string | null;
|
|
46897
47456
|
last_sync_at?: string | null;
|
|
46898
47457
|
updated_at?: string;
|
|
46899
47458
|
};
|
|
46900
47459
|
Update: {
|
|
46901
47460
|
id?: boolean;
|
|
46902
47461
|
last_cleanup_at?: string | null;
|
|
47462
|
+
last_error?: string | null;
|
|
47463
|
+
last_error_at?: string | null;
|
|
46903
47464
|
last_sync_at?: string | null;
|
|
46904
47465
|
updated_at?: string;
|
|
46905
47466
|
};
|
|
@@ -47025,6 +47586,54 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
47025
47586
|
};
|
|
47026
47587
|
Relationships: [];
|
|
47027
47588
|
};
|
|
47589
|
+
planning_confirmation_log: {
|
|
47590
|
+
Row: {
|
|
47591
|
+
created_at: string;
|
|
47592
|
+
end_at: string;
|
|
47593
|
+
id: string;
|
|
47594
|
+
outbox_id: string | null;
|
|
47595
|
+
planning_item_id: string;
|
|
47596
|
+
reason: string | null;
|
|
47597
|
+
recipient: string | null;
|
|
47598
|
+
start_at: string;
|
|
47599
|
+
status: string;
|
|
47600
|
+
};
|
|
47601
|
+
Insert: {
|
|
47602
|
+
created_at?: string;
|
|
47603
|
+
end_at: string;
|
|
47604
|
+
id?: string;
|
|
47605
|
+
outbox_id?: string | null;
|
|
47606
|
+
planning_item_id: string;
|
|
47607
|
+
reason?: string | null;
|
|
47608
|
+
recipient?: string | null;
|
|
47609
|
+
start_at: string;
|
|
47610
|
+
status: string;
|
|
47611
|
+
};
|
|
47612
|
+
Update: {
|
|
47613
|
+
created_at?: string;
|
|
47614
|
+
end_at?: string;
|
|
47615
|
+
id?: string;
|
|
47616
|
+
outbox_id?: string | null;
|
|
47617
|
+
planning_item_id?: string;
|
|
47618
|
+
reason?: string | null;
|
|
47619
|
+
recipient?: string | null;
|
|
47620
|
+
start_at?: string;
|
|
47621
|
+
status?: string;
|
|
47622
|
+
};
|
|
47623
|
+
Relationships: [{
|
|
47624
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
47625
|
+
columns: ["planning_item_id"];
|
|
47626
|
+
isOneToOne: false;
|
|
47627
|
+
referencedRelation: "planning_items";
|
|
47628
|
+
referencedColumns: ["id"];
|
|
47629
|
+
}, {
|
|
47630
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
47631
|
+
columns: ["planning_item_id"];
|
|
47632
|
+
isOneToOne: false;
|
|
47633
|
+
referencedRelation: "planning_overview";
|
|
47634
|
+
referencedColumns: ["id"];
|
|
47635
|
+
}];
|
|
47636
|
+
};
|
|
47028
47637
|
planning_item_assistants: {
|
|
47029
47638
|
Row: {
|
|
47030
47639
|
created_at: string;
|
|
@@ -47109,6 +47718,60 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
47109
47718
|
referencedColumns: ["id"];
|
|
47110
47719
|
}];
|
|
47111
47720
|
};
|
|
47721
|
+
planning_mail_settings: {
|
|
47722
|
+
Row: {
|
|
47723
|
+
body_template: string;
|
|
47724
|
+
cc: string[];
|
|
47725
|
+
connection_id: string | null;
|
|
47726
|
+
created_at: string;
|
|
47727
|
+
enabled: boolean;
|
|
47728
|
+
id: boolean;
|
|
47729
|
+
reply_to: string | null;
|
|
47730
|
+
subject_template: string;
|
|
47731
|
+
timezone: string;
|
|
47732
|
+
updated_at: string;
|
|
47733
|
+
updated_by: string | null;
|
|
47734
|
+
};
|
|
47735
|
+
Insert: {
|
|
47736
|
+
body_template?: string;
|
|
47737
|
+
cc?: string[];
|
|
47738
|
+
connection_id?: string | null;
|
|
47739
|
+
created_at?: string;
|
|
47740
|
+
enabled?: boolean;
|
|
47741
|
+
id?: boolean;
|
|
47742
|
+
reply_to?: string | null;
|
|
47743
|
+
subject_template?: string;
|
|
47744
|
+
timezone?: string;
|
|
47745
|
+
updated_at?: string;
|
|
47746
|
+
updated_by?: string | null;
|
|
47747
|
+
};
|
|
47748
|
+
Update: {
|
|
47749
|
+
body_template?: string;
|
|
47750
|
+
cc?: string[];
|
|
47751
|
+
connection_id?: string | null;
|
|
47752
|
+
created_at?: string;
|
|
47753
|
+
enabled?: boolean;
|
|
47754
|
+
id?: boolean;
|
|
47755
|
+
reply_to?: string | null;
|
|
47756
|
+
subject_template?: string;
|
|
47757
|
+
timezone?: string;
|
|
47758
|
+
updated_at?: string;
|
|
47759
|
+
updated_by?: string | null;
|
|
47760
|
+
};
|
|
47761
|
+
Relationships: [{
|
|
47762
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
47763
|
+
columns: ["connection_id"];
|
|
47764
|
+
isOneToOne: false;
|
|
47765
|
+
referencedRelation: "email_auth_connections";
|
|
47766
|
+
referencedColumns: ["id"];
|
|
47767
|
+
}, {
|
|
47768
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
47769
|
+
columns: ["connection_id"];
|
|
47770
|
+
isOneToOne: false;
|
|
47771
|
+
referencedRelation: "email_auth_connections_safe";
|
|
47772
|
+
referencedColumns: ["id"];
|
|
47773
|
+
}];
|
|
47774
|
+
};
|
|
47112
47775
|
planning_monteur_day_locations: {
|
|
47113
47776
|
Row: {
|
|
47114
47777
|
created_at: string;
|
|
@@ -48587,6 +49250,9 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
48587
49250
|
lead_time_days: number | null;
|
|
48588
49251
|
min_order_quantity: number | null;
|
|
48589
49252
|
notes: string | null;
|
|
49253
|
+
previous_price_cents: number | null;
|
|
49254
|
+
price_source: string;
|
|
49255
|
+
price_updated_at: string | null;
|
|
48590
49256
|
product_id: string;
|
|
48591
49257
|
purchase_price_cents: number | null;
|
|
48592
49258
|
supplier_article_number: string | null;
|
|
@@ -48600,6 +49266,9 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
48600
49266
|
lead_time_days?: number | null;
|
|
48601
49267
|
min_order_quantity?: number | null;
|
|
48602
49268
|
notes?: string | null;
|
|
49269
|
+
previous_price_cents?: number | null;
|
|
49270
|
+
price_source?: string;
|
|
49271
|
+
price_updated_at?: string | null;
|
|
48603
49272
|
product_id: string;
|
|
48604
49273
|
purchase_price_cents?: number | null;
|
|
48605
49274
|
supplier_article_number?: string | null;
|
|
@@ -48613,6 +49282,9 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
48613
49282
|
lead_time_days?: number | null;
|
|
48614
49283
|
min_order_quantity?: number | null;
|
|
48615
49284
|
notes?: string | null;
|
|
49285
|
+
previous_price_cents?: number | null;
|
|
49286
|
+
price_source?: string;
|
|
49287
|
+
price_updated_at?: string | null;
|
|
48616
49288
|
product_id?: string;
|
|
48617
49289
|
purchase_price_cents?: number | null;
|
|
48618
49290
|
supplier_article_number?: string | null;
|
|
@@ -49143,9 +49815,13 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
49143
49815
|
purchase_order_items: {
|
|
49144
49816
|
Row: {
|
|
49145
49817
|
article_number: string | null;
|
|
49818
|
+
cancel_reason: string | null;
|
|
49819
|
+
cancelled_at: string | null;
|
|
49146
49820
|
created_at: string;
|
|
49147
49821
|
delivery_date: string | null;
|
|
49148
49822
|
id: string;
|
|
49823
|
+
incoming_booked: number;
|
|
49824
|
+
line_status: string;
|
|
49149
49825
|
name: string;
|
|
49150
49826
|
note: string | null;
|
|
49151
49827
|
pot_size: string | null;
|
|
@@ -49153,6 +49829,8 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
49153
49829
|
product_type: string;
|
|
49154
49830
|
purchase_order_id: string;
|
|
49155
49831
|
quantity: number;
|
|
49832
|
+
received_at: string | null;
|
|
49833
|
+
received_booked: number;
|
|
49156
49834
|
supplier_id: string | null;
|
|
49157
49835
|
supplier_product_id: string | null;
|
|
49158
49836
|
unit_price_cents: number;
|
|
@@ -49160,9 +49838,13 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
49160
49838
|
};
|
|
49161
49839
|
Insert: {
|
|
49162
49840
|
article_number?: string | null;
|
|
49841
|
+
cancel_reason?: string | null;
|
|
49842
|
+
cancelled_at?: string | null;
|
|
49163
49843
|
created_at?: string;
|
|
49164
49844
|
delivery_date?: string | null;
|
|
49165
49845
|
id?: string;
|
|
49846
|
+
incoming_booked?: number;
|
|
49847
|
+
line_status?: string;
|
|
49166
49848
|
name?: string;
|
|
49167
49849
|
note?: string | null;
|
|
49168
49850
|
pot_size?: string | null;
|
|
@@ -49170,6 +49852,8 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
49170
49852
|
product_type?: string;
|
|
49171
49853
|
purchase_order_id: string;
|
|
49172
49854
|
quantity?: number;
|
|
49855
|
+
received_at?: string | null;
|
|
49856
|
+
received_booked?: number;
|
|
49173
49857
|
supplier_id?: string | null;
|
|
49174
49858
|
supplier_product_id?: string | null;
|
|
49175
49859
|
unit_price_cents?: number;
|
|
@@ -49177,9 +49861,13 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
49177
49861
|
};
|
|
49178
49862
|
Update: {
|
|
49179
49863
|
article_number?: string | null;
|
|
49864
|
+
cancel_reason?: string | null;
|
|
49865
|
+
cancelled_at?: string | null;
|
|
49180
49866
|
created_at?: string;
|
|
49181
49867
|
delivery_date?: string | null;
|
|
49182
49868
|
id?: string;
|
|
49869
|
+
incoming_booked?: number;
|
|
49870
|
+
line_status?: string;
|
|
49183
49871
|
name?: string;
|
|
49184
49872
|
note?: string | null;
|
|
49185
49873
|
pot_size?: string | null;
|
|
@@ -49187,6 +49875,8 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
49187
49875
|
product_type?: string;
|
|
49188
49876
|
purchase_order_id?: string;
|
|
49189
49877
|
quantity?: number;
|
|
49878
|
+
received_at?: string | null;
|
|
49879
|
+
received_booked?: number;
|
|
49190
49880
|
supplier_id?: string | null;
|
|
49191
49881
|
supplier_product_id?: string | null;
|
|
49192
49882
|
unit_price_cents?: number;
|
|
@@ -49290,6 +49980,153 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
49290
49980
|
referencedColumns: ["id"];
|
|
49291
49981
|
}];
|
|
49292
49982
|
};
|
|
49983
|
+
purchase_request_events: {
|
|
49984
|
+
Row: {
|
|
49985
|
+
created_at: string;
|
|
49986
|
+
details: import("../integrations/supabase/types").Json | null;
|
|
49987
|
+
event_type: string;
|
|
49988
|
+
id: string;
|
|
49989
|
+
request_id: string;
|
|
49990
|
+
};
|
|
49991
|
+
Insert: {
|
|
49992
|
+
created_at?: string;
|
|
49993
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
49994
|
+
event_type: string;
|
|
49995
|
+
id?: string;
|
|
49996
|
+
request_id: string;
|
|
49997
|
+
};
|
|
49998
|
+
Update: {
|
|
49999
|
+
created_at?: string;
|
|
50000
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
50001
|
+
event_type?: string;
|
|
50002
|
+
id?: string;
|
|
50003
|
+
request_id?: string;
|
|
50004
|
+
};
|
|
50005
|
+
Relationships: [{
|
|
50006
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
50007
|
+
columns: ["request_id"];
|
|
50008
|
+
isOneToOne: false;
|
|
50009
|
+
referencedRelation: "purchase_requests";
|
|
50010
|
+
referencedColumns: ["id"];
|
|
50011
|
+
}];
|
|
50012
|
+
};
|
|
50013
|
+
purchase_request_responses: {
|
|
50014
|
+
Row: {
|
|
50015
|
+
confirmed_date: string | null;
|
|
50016
|
+
confirmed_price_cents: number | null;
|
|
50017
|
+
confirmed_quantity: number;
|
|
50018
|
+
created_at: string;
|
|
50019
|
+
id: string;
|
|
50020
|
+
not_available: boolean;
|
|
50021
|
+
note: string | null;
|
|
50022
|
+
purchase_order_item_id: string;
|
|
50023
|
+
request_id: string;
|
|
50024
|
+
updated_at: string;
|
|
50025
|
+
};
|
|
50026
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
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
|
+
Relationships: [{
|
|
50051
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
50052
|
+
columns: ["purchase_order_item_id"];
|
|
50053
|
+
isOneToOne: false;
|
|
50054
|
+
referencedRelation: "purchase_order_items";
|
|
50055
|
+
referencedColumns: ["id"];
|
|
50056
|
+
}, {
|
|
50057
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
50058
|
+
columns: ["request_id"];
|
|
50059
|
+
isOneToOne: false;
|
|
50060
|
+
referencedRelation: "purchase_requests";
|
|
50061
|
+
referencedColumns: ["id"];
|
|
50062
|
+
}];
|
|
50063
|
+
};
|
|
50064
|
+
purchase_requests: {
|
|
50065
|
+
Row: {
|
|
50066
|
+
created_at: string;
|
|
50067
|
+
expires_at: string;
|
|
50068
|
+
first_viewed_at: string | null;
|
|
50069
|
+
id: string;
|
|
50070
|
+
processed_at: string | null;
|
|
50071
|
+
purchase_order_id: string;
|
|
50072
|
+
responded_at: string | null;
|
|
50073
|
+
sent_at: string;
|
|
50074
|
+
status: string;
|
|
50075
|
+
supplier_id: string | null;
|
|
50076
|
+
supplier_name: string;
|
|
50077
|
+
supplier_note: string | null;
|
|
50078
|
+
to_address: string | null;
|
|
50079
|
+
token_hash: string;
|
|
50080
|
+
updated_at: string;
|
|
50081
|
+
};
|
|
50082
|
+
Insert: {
|
|
50083
|
+
created_at?: string;
|
|
50084
|
+
expires_at?: string;
|
|
50085
|
+
first_viewed_at?: string | null;
|
|
50086
|
+
id?: string;
|
|
50087
|
+
processed_at?: string | null;
|
|
50088
|
+
purchase_order_id: string;
|
|
50089
|
+
responded_at?: string | null;
|
|
50090
|
+
sent_at?: string;
|
|
50091
|
+
status?: string;
|
|
50092
|
+
supplier_id?: string | null;
|
|
50093
|
+
supplier_name?: string;
|
|
50094
|
+
supplier_note?: string | null;
|
|
50095
|
+
to_address?: string | null;
|
|
50096
|
+
token_hash: string;
|
|
50097
|
+
updated_at?: string;
|
|
50098
|
+
};
|
|
50099
|
+
Update: {
|
|
50100
|
+
created_at?: string;
|
|
50101
|
+
expires_at?: string;
|
|
50102
|
+
first_viewed_at?: string | null;
|
|
50103
|
+
id?: string;
|
|
50104
|
+
processed_at?: string | null;
|
|
50105
|
+
purchase_order_id?: string;
|
|
50106
|
+
responded_at?: string | null;
|
|
50107
|
+
sent_at?: string;
|
|
50108
|
+
status?: string;
|
|
50109
|
+
supplier_id?: string | null;
|
|
50110
|
+
supplier_name?: string;
|
|
50111
|
+
supplier_note?: string | null;
|
|
50112
|
+
to_address?: string | null;
|
|
50113
|
+
token_hash?: string;
|
|
50114
|
+
updated_at?: string;
|
|
50115
|
+
};
|
|
50116
|
+
Relationships: [{
|
|
50117
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
50118
|
+
columns: ["purchase_order_id"];
|
|
50119
|
+
isOneToOne: false;
|
|
50120
|
+
referencedRelation: "purchase_orders";
|
|
50121
|
+
referencedColumns: ["id"];
|
|
50122
|
+
}, {
|
|
50123
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
50124
|
+
columns: ["supplier_id"];
|
|
50125
|
+
isOneToOne: false;
|
|
50126
|
+
referencedRelation: "suppliers";
|
|
50127
|
+
referencedColumns: ["id"];
|
|
50128
|
+
}];
|
|
50129
|
+
};
|
|
49293
50130
|
reception_notifications: {
|
|
49294
50131
|
Row: {
|
|
49295
50132
|
booking_id: string | null;
|
|
@@ -53715,7 +54552,7 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
53715
54552
|
created_at: string;
|
|
53716
54553
|
default_quantity: number;
|
|
53717
54554
|
description: string | null;
|
|
53718
|
-
duration_minutes: number
|
|
54555
|
+
duration_minutes: number;
|
|
53719
54556
|
id: string;
|
|
53720
54557
|
mandaat_type: string | null;
|
|
53721
54558
|
name: string;
|
|
@@ -53732,7 +54569,7 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
53732
54569
|
created_at?: string;
|
|
53733
54570
|
default_quantity?: number;
|
|
53734
54571
|
description?: string | null;
|
|
53735
|
-
duration_minutes?: number
|
|
54572
|
+
duration_minutes?: number;
|
|
53736
54573
|
id?: string;
|
|
53737
54574
|
mandaat_type?: string | null;
|
|
53738
54575
|
name: string;
|
|
@@ -53749,7 +54586,7 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
53749
54586
|
created_at?: string;
|
|
53750
54587
|
default_quantity?: number;
|
|
53751
54588
|
description?: string | null;
|
|
53752
|
-
duration_minutes?: number
|
|
54589
|
+
duration_minutes?: number;
|
|
53753
54590
|
id?: string;
|
|
53754
54591
|
mandaat_type?: string | null;
|
|
53755
54592
|
name?: string;
|
|
@@ -56745,6 +57582,31 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
56745
57582
|
};
|
|
56746
57583
|
Returns: import("../integrations/supabase/types").Json;
|
|
56747
57584
|
};
|
|
57585
|
+
inkoop_cancel_line: {
|
|
57586
|
+
Args: {
|
|
57587
|
+
_item_id: string;
|
|
57588
|
+
_reason: string;
|
|
57589
|
+
};
|
|
57590
|
+
Returns: string;
|
|
57591
|
+
};
|
|
57592
|
+
inkoop_get_supplier_request: {
|
|
57593
|
+
Args: {
|
|
57594
|
+
_token: string;
|
|
57595
|
+
};
|
|
57596
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
57597
|
+
};
|
|
57598
|
+
inkoop_hash_token: {
|
|
57599
|
+
Args: {
|
|
57600
|
+
_token: string;
|
|
57601
|
+
};
|
|
57602
|
+
Returns: string;
|
|
57603
|
+
};
|
|
57604
|
+
inkoop_html_escape: {
|
|
57605
|
+
Args: {
|
|
57606
|
+
_t: string;
|
|
57607
|
+
};
|
|
57608
|
+
Returns: string;
|
|
57609
|
+
};
|
|
56748
57610
|
inkoop_list_artikelen: {
|
|
56749
57611
|
Args: never;
|
|
56750
57612
|
Returns: {
|
|
@@ -56769,9 +57631,17 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
56769
57631
|
Args: never;
|
|
56770
57632
|
Returns: string;
|
|
56771
57633
|
};
|
|
57634
|
+
inkoop_process_request: {
|
|
57635
|
+
Args: {
|
|
57636
|
+
_request_id: string;
|
|
57637
|
+
};
|
|
57638
|
+
Returns: undefined;
|
|
57639
|
+
};
|
|
56772
57640
|
inkoop_send_order: {
|
|
56773
57641
|
Args: {
|
|
57642
|
+
_base_url?: string;
|
|
56774
57643
|
_order_id: string;
|
|
57644
|
+
_resend?: boolean;
|
|
56775
57645
|
};
|
|
56776
57646
|
Returns: {
|
|
56777
57647
|
outbox_id: string;
|
|
@@ -56786,6 +57656,26 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
56786
57656
|
};
|
|
56787
57657
|
Returns: undefined;
|
|
56788
57658
|
};
|
|
57659
|
+
inkoop_stock_key: {
|
|
57660
|
+
Args: {
|
|
57661
|
+
p_product_id: string;
|
|
57662
|
+
};
|
|
57663
|
+
Returns: string;
|
|
57664
|
+
};
|
|
57665
|
+
inkoop_submit_supplier_response: {
|
|
57666
|
+
Args: {
|
|
57667
|
+
_lines: import("../integrations/supabase/types").Json;
|
|
57668
|
+
_note?: string;
|
|
57669
|
+
_token: string;
|
|
57670
|
+
};
|
|
57671
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
57672
|
+
};
|
|
57673
|
+
inkoop_sync_item_stock: {
|
|
57674
|
+
Args: {
|
|
57675
|
+
p_item_id: string;
|
|
57676
|
+
};
|
|
57677
|
+
Returns: undefined;
|
|
57678
|
+
};
|
|
56789
57679
|
instructie_get: {
|
|
56790
57680
|
Args: {
|
|
56791
57681
|
_sleutel: string;
|
|
@@ -56946,6 +57836,27 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
56946
57836
|
};
|
|
56947
57837
|
Returns: boolean;
|
|
56948
57838
|
};
|
|
57839
|
+
layout_print_document: {
|
|
57840
|
+
Args: {
|
|
57841
|
+
_documentnaam: string;
|
|
57842
|
+
_documenttype: string;
|
|
57843
|
+
_herkomst?: string;
|
|
57844
|
+
_idempotentie_sleutel?: string;
|
|
57845
|
+
_is_herprint?: boolean;
|
|
57846
|
+
_kopieen?: number;
|
|
57847
|
+
_layout_id?: string;
|
|
57848
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
57849
|
+
_pdf_base64?: string;
|
|
57850
|
+
_pdf_url?: string;
|
|
57851
|
+
_print_plek_id?: string;
|
|
57852
|
+
_werkplek?: string;
|
|
57853
|
+
};
|
|
57854
|
+
Returns: {
|
|
57855
|
+
bestaand: boolean;
|
|
57856
|
+
job_id: string;
|
|
57857
|
+
printer_id: string;
|
|
57858
|
+
}[];
|
|
57859
|
+
};
|
|
56949
57860
|
list_medewerkers: {
|
|
56950
57861
|
Args: never;
|
|
56951
57862
|
Returns: {
|
|
@@ -57223,6 +58134,12 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
57223
58134
|
};
|
|
57224
58135
|
Returns: number;
|
|
57225
58136
|
};
|
|
58137
|
+
logistics_cart_barcode_opschonen: {
|
|
58138
|
+
Args: {
|
|
58139
|
+
p_portie?: number;
|
|
58140
|
+
};
|
|
58141
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
58142
|
+
};
|
|
57226
58143
|
logistics_cart_barcode_value: {
|
|
57227
58144
|
Args: {
|
|
57228
58145
|
_cart_id: string;
|
|
@@ -57642,6 +58559,13 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
57642
58559
|
};
|
|
57643
58560
|
Returns: import("../integrations/supabase/types").Json;
|
|
57644
58561
|
};
|
|
58562
|
+
logistics_control_scan_print_own: {
|
|
58563
|
+
Args: {
|
|
58564
|
+
p_is_herprint?: boolean;
|
|
58565
|
+
p_scan_id: string;
|
|
58566
|
+
};
|
|
58567
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
58568
|
+
};
|
|
57645
58569
|
logistics_control_scan_retry: {
|
|
57646
58570
|
Args: {
|
|
57647
58571
|
_id: string;
|
|
@@ -58546,6 +59470,21 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
58546
59470
|
};
|
|
58547
59471
|
Returns: import("../integrations/supabase/types").Json;
|
|
58548
59472
|
};
|
|
59473
|
+
logistics_print_via_layout: {
|
|
59474
|
+
Args: {
|
|
59475
|
+
_documentnaam: string;
|
|
59476
|
+
_documenttype: string;
|
|
59477
|
+
_herkomst: string;
|
|
59478
|
+
_idempotentie_sleutel: string;
|
|
59479
|
+
_is_herprint: boolean;
|
|
59480
|
+
_layout_id: string;
|
|
59481
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
59482
|
+
_pdf_base64: string;
|
|
59483
|
+
_pdf_url: string;
|
|
59484
|
+
_print_plek_id: string;
|
|
59485
|
+
};
|
|
59486
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59487
|
+
};
|
|
58549
59488
|
logistics_prune_buffer_member_queue: {
|
|
58550
59489
|
Args: never;
|
|
58551
59490
|
Returns: number;
|
|
@@ -58832,6 +59771,13 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
58832
59771
|
};
|
|
58833
59772
|
Returns: string;
|
|
58834
59773
|
};
|
|
59774
|
+
logistics_shipping_note_status: {
|
|
59775
|
+
Args: {
|
|
59776
|
+
p_cart_id?: string;
|
|
59777
|
+
p_slip_job_id?: string;
|
|
59778
|
+
};
|
|
59779
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59780
|
+
};
|
|
58835
59781
|
logistics_shipping_notes_wake_all: {
|
|
58836
59782
|
Args: never;
|
|
58837
59783
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -58894,6 +59840,12 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
58894
59840
|
};
|
|
58895
59841
|
Returns: undefined;
|
|
58896
59842
|
};
|
|
59843
|
+
logistics_slip_note_retry: {
|
|
59844
|
+
Args: {
|
|
59845
|
+
_id: string;
|
|
59846
|
+
};
|
|
59847
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59848
|
+
};
|
|
58897
59849
|
logistics_sticker_follows_slip: {
|
|
58898
59850
|
Args: never;
|
|
58899
59851
|
Returns: boolean;
|
|
@@ -59638,6 +60590,10 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
59638
60590
|
};
|
|
59639
60591
|
Returns: string;
|
|
59640
60592
|
};
|
|
60593
|
+
pick_is_reference_admin: {
|
|
60594
|
+
Args: never;
|
|
60595
|
+
Returns: boolean;
|
|
60596
|
+
};
|
|
59641
60597
|
pick_mark_printed: {
|
|
59642
60598
|
Args: {
|
|
59643
60599
|
_queue_item_id: string;
|
|
@@ -60061,6 +61017,12 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
60061
61017
|
};
|
|
60062
61018
|
Returns: import("../integrations/supabase/types").Json;
|
|
60063
61019
|
};
|
|
61020
|
+
pick_verify_rows: {
|
|
61021
|
+
Args: {
|
|
61022
|
+
_rows: import("../integrations/supabase/types").Json;
|
|
61023
|
+
};
|
|
61024
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
61025
|
+
};
|
|
60064
61026
|
pickstation_get_orders_raw: {
|
|
60065
61027
|
Args: never;
|
|
60066
61028
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -60241,6 +61203,12 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
60241
61203
|
};
|
|
60242
61204
|
Returns: import("../integrations/supabase/types").Json;
|
|
60243
61205
|
};
|
|
61206
|
+
quote_create_from_scratch: {
|
|
61207
|
+
Args: {
|
|
61208
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
61209
|
+
};
|
|
61210
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
61211
|
+
};
|
|
60244
61212
|
quote_create_from_source: {
|
|
60245
61213
|
Args: {
|
|
60246
61214
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -60291,6 +61259,13 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
60291
61259
|
};
|
|
60292
61260
|
Returns: string;
|
|
60293
61261
|
};
|
|
61262
|
+
quote_sync_work_order: {
|
|
61263
|
+
Args: {
|
|
61264
|
+
_monteur_instructies?: string;
|
|
61265
|
+
_offerte_id: string;
|
|
61266
|
+
};
|
|
61267
|
+
Returns: boolean;
|
|
61268
|
+
};
|
|
60294
61269
|
recompute_all_reserved_stock: {
|
|
60295
61270
|
Args: never;
|
|
60296
61271
|
Returns: undefined;
|
|
@@ -60511,6 +61486,13 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
60511
61486
|
};
|
|
60512
61487
|
Returns: import("../integrations/supabase/types").Json;
|
|
60513
61488
|
};
|
|
61489
|
+
scan_controleer_pincode: {
|
|
61490
|
+
Args: {
|
|
61491
|
+
p_pin: string;
|
|
61492
|
+
p_scanner_id: string;
|
|
61493
|
+
};
|
|
61494
|
+
Returns: boolean;
|
|
61495
|
+
};
|
|
60514
61496
|
scan_dashboard_stats: {
|
|
60515
61497
|
Args: {
|
|
60516
61498
|
p_dagen?: number;
|
|
@@ -60530,6 +61512,12 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
60530
61512
|
};
|
|
60531
61513
|
Returns: import("../integrations/supabase/types").Json;
|
|
60532
61514
|
};
|
|
61515
|
+
scan_heeft_pincode: {
|
|
61516
|
+
Args: {
|
|
61517
|
+
p_scanner_id: string;
|
|
61518
|
+
};
|
|
61519
|
+
Returns: boolean;
|
|
61520
|
+
};
|
|
60533
61521
|
scan_kar_compleet: {
|
|
60534
61522
|
Args: {
|
|
60535
61523
|
p_allow_reprint?: boolean;
|
|
@@ -60547,6 +61535,7 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
60547
61535
|
Args: {
|
|
60548
61536
|
p_code: string;
|
|
60549
61537
|
p_latency_ms?: number;
|
|
61538
|
+
p_medewerker?: string;
|
|
60550
61539
|
p_message?: string;
|
|
60551
61540
|
p_result: string;
|
|
60552
61541
|
p_scanner_key?: string;
|
|
@@ -60619,6 +61608,22 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
60619
61608
|
};
|
|
60620
61609
|
Returns: undefined;
|
|
60621
61610
|
};
|
|
61611
|
+
scan_scanner_info: {
|
|
61612
|
+
Args: {
|
|
61613
|
+
p_slug: string;
|
|
61614
|
+
};
|
|
61615
|
+
Returns: {
|
|
61616
|
+
actief: boolean;
|
|
61617
|
+
heeft_pincode: boolean;
|
|
61618
|
+
id: string;
|
|
61619
|
+
naam: string;
|
|
61620
|
+
omschrijving: string;
|
|
61621
|
+
printer_id: string;
|
|
61622
|
+
type: string;
|
|
61623
|
+
vereist_medewerker: boolean;
|
|
61624
|
+
werkplek: string;
|
|
61625
|
+
}[];
|
|
61626
|
+
};
|
|
60622
61627
|
scan_sessie_annuleren: {
|
|
60623
61628
|
Args: {
|
|
60624
61629
|
p_sessie_id: string;
|
|
@@ -61581,6 +62586,21 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
61581
62586
|
};
|
|
61582
62587
|
Returns: import("../integrations/supabase/types").Json;
|
|
61583
62588
|
};
|
|
62589
|
+
wo_list_colleague_planning: {
|
|
62590
|
+
Args: {
|
|
62591
|
+
_from: string;
|
|
62592
|
+
_monteur_id: string;
|
|
62593
|
+
_to: string;
|
|
62594
|
+
};
|
|
62595
|
+
Returns: {
|
|
62596
|
+
end_at: string;
|
|
62597
|
+
id: string;
|
|
62598
|
+
role: string;
|
|
62599
|
+
start_at: string;
|
|
62600
|
+
status: string;
|
|
62601
|
+
werkbon_id: string;
|
|
62602
|
+
}[];
|
|
62603
|
+
};
|
|
61584
62604
|
wo_list_offerte_requests: {
|
|
61585
62605
|
Args: {
|
|
61586
62606
|
_status?: string;
|
|
@@ -62399,6 +63419,27 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
62399
63419
|
};
|
|
62400
63420
|
Relationships: [];
|
|
62401
63421
|
};
|
|
63422
|
+
artikelen_instellingen: {
|
|
63423
|
+
Row: {
|
|
63424
|
+
created_at: string;
|
|
63425
|
+
id: number;
|
|
63426
|
+
marge_procent: number;
|
|
63427
|
+
updated_at: string;
|
|
63428
|
+
};
|
|
63429
|
+
Insert: {
|
|
63430
|
+
created_at?: string;
|
|
63431
|
+
id?: number;
|
|
63432
|
+
marge_procent?: number;
|
|
63433
|
+
updated_at?: string;
|
|
63434
|
+
};
|
|
63435
|
+
Update: {
|
|
63436
|
+
created_at?: string;
|
|
63437
|
+
id?: number;
|
|
63438
|
+
marge_procent?: number;
|
|
63439
|
+
updated_at?: string;
|
|
63440
|
+
};
|
|
63441
|
+
Relationships: [];
|
|
63442
|
+
};
|
|
62402
63443
|
artikelen_veldconfig: {
|
|
62403
63444
|
Row: {
|
|
62404
63445
|
bron_pad: string;
|
|
@@ -72074,6 +73115,30 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
72074
73115
|
};
|
|
72075
73116
|
Relationships: [];
|
|
72076
73117
|
};
|
|
73118
|
+
logistics_cart_barcode_archief: {
|
|
73119
|
+
Row: {
|
|
73120
|
+
barcode: string;
|
|
73121
|
+
cart_id: string;
|
|
73122
|
+
created_at: string | null;
|
|
73123
|
+
gearchiveerd_op: string;
|
|
73124
|
+
order_id: string | null;
|
|
73125
|
+
};
|
|
73126
|
+
Insert: {
|
|
73127
|
+
barcode: string;
|
|
73128
|
+
cart_id: string;
|
|
73129
|
+
created_at?: string | null;
|
|
73130
|
+
gearchiveerd_op?: string;
|
|
73131
|
+
order_id?: string | null;
|
|
73132
|
+
};
|
|
73133
|
+
Update: {
|
|
73134
|
+
barcode?: string;
|
|
73135
|
+
cart_id?: string;
|
|
73136
|
+
created_at?: string | null;
|
|
73137
|
+
gearchiveerd_op?: string;
|
|
73138
|
+
order_id?: string | null;
|
|
73139
|
+
};
|
|
73140
|
+
Relationships: [];
|
|
73141
|
+
};
|
|
72077
73142
|
logistics_control_scan: {
|
|
72078
73143
|
Row: {
|
|
72079
73144
|
approved_at: string | null;
|
|
@@ -77727,18 +78792,24 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
77727
78792
|
Row: {
|
|
77728
78793
|
id: boolean;
|
|
77729
78794
|
last_cleanup_at: string | null;
|
|
78795
|
+
last_error: string | null;
|
|
78796
|
+
last_error_at: string | null;
|
|
77730
78797
|
last_sync_at: string | null;
|
|
77731
78798
|
updated_at: string;
|
|
77732
78799
|
};
|
|
77733
78800
|
Insert: {
|
|
77734
78801
|
id?: boolean;
|
|
77735
78802
|
last_cleanup_at?: string | null;
|
|
78803
|
+
last_error?: string | null;
|
|
78804
|
+
last_error_at?: string | null;
|
|
77736
78805
|
last_sync_at?: string | null;
|
|
77737
78806
|
updated_at?: string;
|
|
77738
78807
|
};
|
|
77739
78808
|
Update: {
|
|
77740
78809
|
id?: boolean;
|
|
77741
78810
|
last_cleanup_at?: string | null;
|
|
78811
|
+
last_error?: string | null;
|
|
78812
|
+
last_error_at?: string | null;
|
|
77742
78813
|
last_sync_at?: string | null;
|
|
77743
78814
|
updated_at?: string;
|
|
77744
78815
|
};
|
|
@@ -77864,6 +78935,54 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
77864
78935
|
};
|
|
77865
78936
|
Relationships: [];
|
|
77866
78937
|
};
|
|
78938
|
+
planning_confirmation_log: {
|
|
78939
|
+
Row: {
|
|
78940
|
+
created_at: string;
|
|
78941
|
+
end_at: string;
|
|
78942
|
+
id: string;
|
|
78943
|
+
outbox_id: string | null;
|
|
78944
|
+
planning_item_id: string;
|
|
78945
|
+
reason: string | null;
|
|
78946
|
+
recipient: string | null;
|
|
78947
|
+
start_at: string;
|
|
78948
|
+
status: string;
|
|
78949
|
+
};
|
|
78950
|
+
Insert: {
|
|
78951
|
+
created_at?: string;
|
|
78952
|
+
end_at: string;
|
|
78953
|
+
id?: string;
|
|
78954
|
+
outbox_id?: string | null;
|
|
78955
|
+
planning_item_id: string;
|
|
78956
|
+
reason?: string | null;
|
|
78957
|
+
recipient?: string | null;
|
|
78958
|
+
start_at: string;
|
|
78959
|
+
status: string;
|
|
78960
|
+
};
|
|
78961
|
+
Update: {
|
|
78962
|
+
created_at?: string;
|
|
78963
|
+
end_at?: string;
|
|
78964
|
+
id?: string;
|
|
78965
|
+
outbox_id?: string | null;
|
|
78966
|
+
planning_item_id?: string;
|
|
78967
|
+
reason?: string | null;
|
|
78968
|
+
recipient?: string | null;
|
|
78969
|
+
start_at?: string;
|
|
78970
|
+
status?: string;
|
|
78971
|
+
};
|
|
78972
|
+
Relationships: [{
|
|
78973
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
78974
|
+
columns: ["planning_item_id"];
|
|
78975
|
+
isOneToOne: false;
|
|
78976
|
+
referencedRelation: "planning_items";
|
|
78977
|
+
referencedColumns: ["id"];
|
|
78978
|
+
}, {
|
|
78979
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
78980
|
+
columns: ["planning_item_id"];
|
|
78981
|
+
isOneToOne: false;
|
|
78982
|
+
referencedRelation: "planning_overview";
|
|
78983
|
+
referencedColumns: ["id"];
|
|
78984
|
+
}];
|
|
78985
|
+
};
|
|
77867
78986
|
planning_item_assistants: {
|
|
77868
78987
|
Row: {
|
|
77869
78988
|
created_at: string;
|
|
@@ -77948,6 +79067,60 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
77948
79067
|
referencedColumns: ["id"];
|
|
77949
79068
|
}];
|
|
77950
79069
|
};
|
|
79070
|
+
planning_mail_settings: {
|
|
79071
|
+
Row: {
|
|
79072
|
+
body_template: string;
|
|
79073
|
+
cc: string[];
|
|
79074
|
+
connection_id: string | null;
|
|
79075
|
+
created_at: string;
|
|
79076
|
+
enabled: boolean;
|
|
79077
|
+
id: boolean;
|
|
79078
|
+
reply_to: string | null;
|
|
79079
|
+
subject_template: string;
|
|
79080
|
+
timezone: string;
|
|
79081
|
+
updated_at: string;
|
|
79082
|
+
updated_by: string | null;
|
|
79083
|
+
};
|
|
79084
|
+
Insert: {
|
|
79085
|
+
body_template?: string;
|
|
79086
|
+
cc?: string[];
|
|
79087
|
+
connection_id?: string | null;
|
|
79088
|
+
created_at?: string;
|
|
79089
|
+
enabled?: boolean;
|
|
79090
|
+
id?: boolean;
|
|
79091
|
+
reply_to?: string | null;
|
|
79092
|
+
subject_template?: string;
|
|
79093
|
+
timezone?: string;
|
|
79094
|
+
updated_at?: string;
|
|
79095
|
+
updated_by?: string | null;
|
|
79096
|
+
};
|
|
79097
|
+
Update: {
|
|
79098
|
+
body_template?: string;
|
|
79099
|
+
cc?: string[];
|
|
79100
|
+
connection_id?: string | null;
|
|
79101
|
+
created_at?: string;
|
|
79102
|
+
enabled?: boolean;
|
|
79103
|
+
id?: boolean;
|
|
79104
|
+
reply_to?: string | null;
|
|
79105
|
+
subject_template?: string;
|
|
79106
|
+
timezone?: string;
|
|
79107
|
+
updated_at?: string;
|
|
79108
|
+
updated_by?: string | null;
|
|
79109
|
+
};
|
|
79110
|
+
Relationships: [{
|
|
79111
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
79112
|
+
columns: ["connection_id"];
|
|
79113
|
+
isOneToOne: false;
|
|
79114
|
+
referencedRelation: "email_auth_connections";
|
|
79115
|
+
referencedColumns: ["id"];
|
|
79116
|
+
}, {
|
|
79117
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
79118
|
+
columns: ["connection_id"];
|
|
79119
|
+
isOneToOne: false;
|
|
79120
|
+
referencedRelation: "email_auth_connections_safe";
|
|
79121
|
+
referencedColumns: ["id"];
|
|
79122
|
+
}];
|
|
79123
|
+
};
|
|
77951
79124
|
planning_monteur_day_locations: {
|
|
77952
79125
|
Row: {
|
|
77953
79126
|
created_at: string;
|
|
@@ -79426,6 +80599,9 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
79426
80599
|
lead_time_days: number | null;
|
|
79427
80600
|
min_order_quantity: number | null;
|
|
79428
80601
|
notes: string | null;
|
|
80602
|
+
previous_price_cents: number | null;
|
|
80603
|
+
price_source: string;
|
|
80604
|
+
price_updated_at: string | null;
|
|
79429
80605
|
product_id: string;
|
|
79430
80606
|
purchase_price_cents: number | null;
|
|
79431
80607
|
supplier_article_number: string | null;
|
|
@@ -79439,6 +80615,9 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
79439
80615
|
lead_time_days?: number | null;
|
|
79440
80616
|
min_order_quantity?: number | null;
|
|
79441
80617
|
notes?: string | null;
|
|
80618
|
+
previous_price_cents?: number | null;
|
|
80619
|
+
price_source?: string;
|
|
80620
|
+
price_updated_at?: string | null;
|
|
79442
80621
|
product_id: string;
|
|
79443
80622
|
purchase_price_cents?: number | null;
|
|
79444
80623
|
supplier_article_number?: string | null;
|
|
@@ -79452,6 +80631,9 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
79452
80631
|
lead_time_days?: number | null;
|
|
79453
80632
|
min_order_quantity?: number | null;
|
|
79454
80633
|
notes?: string | null;
|
|
80634
|
+
previous_price_cents?: number | null;
|
|
80635
|
+
price_source?: string;
|
|
80636
|
+
price_updated_at?: string | null;
|
|
79455
80637
|
product_id?: string;
|
|
79456
80638
|
purchase_price_cents?: number | null;
|
|
79457
80639
|
supplier_article_number?: string | null;
|
|
@@ -79982,9 +81164,13 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
79982
81164
|
purchase_order_items: {
|
|
79983
81165
|
Row: {
|
|
79984
81166
|
article_number: string | null;
|
|
81167
|
+
cancel_reason: string | null;
|
|
81168
|
+
cancelled_at: string | null;
|
|
79985
81169
|
created_at: string;
|
|
79986
81170
|
delivery_date: string | null;
|
|
79987
81171
|
id: string;
|
|
81172
|
+
incoming_booked: number;
|
|
81173
|
+
line_status: string;
|
|
79988
81174
|
name: string;
|
|
79989
81175
|
note: string | null;
|
|
79990
81176
|
pot_size: string | null;
|
|
@@ -79992,6 +81178,8 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
79992
81178
|
product_type: string;
|
|
79993
81179
|
purchase_order_id: string;
|
|
79994
81180
|
quantity: number;
|
|
81181
|
+
received_at: string | null;
|
|
81182
|
+
received_booked: number;
|
|
79995
81183
|
supplier_id: string | null;
|
|
79996
81184
|
supplier_product_id: string | null;
|
|
79997
81185
|
unit_price_cents: number;
|
|
@@ -79999,9 +81187,13 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
79999
81187
|
};
|
|
80000
81188
|
Insert: {
|
|
80001
81189
|
article_number?: string | null;
|
|
81190
|
+
cancel_reason?: string | null;
|
|
81191
|
+
cancelled_at?: string | null;
|
|
80002
81192
|
created_at?: string;
|
|
80003
81193
|
delivery_date?: string | null;
|
|
80004
81194
|
id?: string;
|
|
81195
|
+
incoming_booked?: number;
|
|
81196
|
+
line_status?: string;
|
|
80005
81197
|
name?: string;
|
|
80006
81198
|
note?: string | null;
|
|
80007
81199
|
pot_size?: string | null;
|
|
@@ -80009,6 +81201,8 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
80009
81201
|
product_type?: string;
|
|
80010
81202
|
purchase_order_id: string;
|
|
80011
81203
|
quantity?: number;
|
|
81204
|
+
received_at?: string | null;
|
|
81205
|
+
received_booked?: number;
|
|
80012
81206
|
supplier_id?: string | null;
|
|
80013
81207
|
supplier_product_id?: string | null;
|
|
80014
81208
|
unit_price_cents?: number;
|
|
@@ -80016,9 +81210,13 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
80016
81210
|
};
|
|
80017
81211
|
Update: {
|
|
80018
81212
|
article_number?: string | null;
|
|
81213
|
+
cancel_reason?: string | null;
|
|
81214
|
+
cancelled_at?: string | null;
|
|
80019
81215
|
created_at?: string;
|
|
80020
81216
|
delivery_date?: string | null;
|
|
80021
81217
|
id?: string;
|
|
81218
|
+
incoming_booked?: number;
|
|
81219
|
+
line_status?: string;
|
|
80022
81220
|
name?: string;
|
|
80023
81221
|
note?: string | null;
|
|
80024
81222
|
pot_size?: string | null;
|
|
@@ -80026,6 +81224,8 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
80026
81224
|
product_type?: string;
|
|
80027
81225
|
purchase_order_id?: string;
|
|
80028
81226
|
quantity?: number;
|
|
81227
|
+
received_at?: string | null;
|
|
81228
|
+
received_booked?: number;
|
|
80029
81229
|
supplier_id?: string | null;
|
|
80030
81230
|
supplier_product_id?: string | null;
|
|
80031
81231
|
unit_price_cents?: number;
|
|
@@ -80129,6 +81329,153 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
80129
81329
|
referencedColumns: ["id"];
|
|
80130
81330
|
}];
|
|
80131
81331
|
};
|
|
81332
|
+
purchase_request_events: {
|
|
81333
|
+
Row: {
|
|
81334
|
+
created_at: string;
|
|
81335
|
+
details: import("../integrations/supabase/types").Json | null;
|
|
81336
|
+
event_type: string;
|
|
81337
|
+
id: string;
|
|
81338
|
+
request_id: string;
|
|
81339
|
+
};
|
|
81340
|
+
Insert: {
|
|
81341
|
+
created_at?: string;
|
|
81342
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
81343
|
+
event_type: string;
|
|
81344
|
+
id?: string;
|
|
81345
|
+
request_id: string;
|
|
81346
|
+
};
|
|
81347
|
+
Update: {
|
|
81348
|
+
created_at?: string;
|
|
81349
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
81350
|
+
event_type?: string;
|
|
81351
|
+
id?: string;
|
|
81352
|
+
request_id?: string;
|
|
81353
|
+
};
|
|
81354
|
+
Relationships: [{
|
|
81355
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
81356
|
+
columns: ["request_id"];
|
|
81357
|
+
isOneToOne: false;
|
|
81358
|
+
referencedRelation: "purchase_requests";
|
|
81359
|
+
referencedColumns: ["id"];
|
|
81360
|
+
}];
|
|
81361
|
+
};
|
|
81362
|
+
purchase_request_responses: {
|
|
81363
|
+
Row: {
|
|
81364
|
+
confirmed_date: string | null;
|
|
81365
|
+
confirmed_price_cents: number | null;
|
|
81366
|
+
confirmed_quantity: number;
|
|
81367
|
+
created_at: string;
|
|
81368
|
+
id: string;
|
|
81369
|
+
not_available: boolean;
|
|
81370
|
+
note: string | null;
|
|
81371
|
+
purchase_order_item_id: string;
|
|
81372
|
+
request_id: string;
|
|
81373
|
+
updated_at: string;
|
|
81374
|
+
};
|
|
81375
|
+
Insert: {
|
|
81376
|
+
confirmed_date?: string | null;
|
|
81377
|
+
confirmed_price_cents?: number | null;
|
|
81378
|
+
confirmed_quantity?: number;
|
|
81379
|
+
created_at?: string;
|
|
81380
|
+
id?: string;
|
|
81381
|
+
not_available?: boolean;
|
|
81382
|
+
note?: string | null;
|
|
81383
|
+
purchase_order_item_id: string;
|
|
81384
|
+
request_id: string;
|
|
81385
|
+
updated_at?: string;
|
|
81386
|
+
};
|
|
81387
|
+
Update: {
|
|
81388
|
+
confirmed_date?: string | null;
|
|
81389
|
+
confirmed_price_cents?: number | null;
|
|
81390
|
+
confirmed_quantity?: number;
|
|
81391
|
+
created_at?: string;
|
|
81392
|
+
id?: string;
|
|
81393
|
+
not_available?: boolean;
|
|
81394
|
+
note?: string | null;
|
|
81395
|
+
purchase_order_item_id?: string;
|
|
81396
|
+
request_id?: string;
|
|
81397
|
+
updated_at?: string;
|
|
81398
|
+
};
|
|
81399
|
+
Relationships: [{
|
|
81400
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
81401
|
+
columns: ["purchase_order_item_id"];
|
|
81402
|
+
isOneToOne: false;
|
|
81403
|
+
referencedRelation: "purchase_order_items";
|
|
81404
|
+
referencedColumns: ["id"];
|
|
81405
|
+
}, {
|
|
81406
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
81407
|
+
columns: ["request_id"];
|
|
81408
|
+
isOneToOne: false;
|
|
81409
|
+
referencedRelation: "purchase_requests";
|
|
81410
|
+
referencedColumns: ["id"];
|
|
81411
|
+
}];
|
|
81412
|
+
};
|
|
81413
|
+
purchase_requests: {
|
|
81414
|
+
Row: {
|
|
81415
|
+
created_at: string;
|
|
81416
|
+
expires_at: string;
|
|
81417
|
+
first_viewed_at: string | null;
|
|
81418
|
+
id: string;
|
|
81419
|
+
processed_at: string | null;
|
|
81420
|
+
purchase_order_id: string;
|
|
81421
|
+
responded_at: string | null;
|
|
81422
|
+
sent_at: string;
|
|
81423
|
+
status: string;
|
|
81424
|
+
supplier_id: string | null;
|
|
81425
|
+
supplier_name: string;
|
|
81426
|
+
supplier_note: string | null;
|
|
81427
|
+
to_address: string | null;
|
|
81428
|
+
token_hash: string;
|
|
81429
|
+
updated_at: string;
|
|
81430
|
+
};
|
|
81431
|
+
Insert: {
|
|
81432
|
+
created_at?: string;
|
|
81433
|
+
expires_at?: string;
|
|
81434
|
+
first_viewed_at?: string | null;
|
|
81435
|
+
id?: string;
|
|
81436
|
+
processed_at?: string | null;
|
|
81437
|
+
purchase_order_id: string;
|
|
81438
|
+
responded_at?: string | null;
|
|
81439
|
+
sent_at?: string;
|
|
81440
|
+
status?: string;
|
|
81441
|
+
supplier_id?: string | null;
|
|
81442
|
+
supplier_name?: string;
|
|
81443
|
+
supplier_note?: string | null;
|
|
81444
|
+
to_address?: string | null;
|
|
81445
|
+
token_hash: string;
|
|
81446
|
+
updated_at?: string;
|
|
81447
|
+
};
|
|
81448
|
+
Update: {
|
|
81449
|
+
created_at?: string;
|
|
81450
|
+
expires_at?: string;
|
|
81451
|
+
first_viewed_at?: string | null;
|
|
81452
|
+
id?: string;
|
|
81453
|
+
processed_at?: string | null;
|
|
81454
|
+
purchase_order_id?: string;
|
|
81455
|
+
responded_at?: string | null;
|
|
81456
|
+
sent_at?: string;
|
|
81457
|
+
status?: string;
|
|
81458
|
+
supplier_id?: string | null;
|
|
81459
|
+
supplier_name?: string;
|
|
81460
|
+
supplier_note?: string | null;
|
|
81461
|
+
to_address?: string | null;
|
|
81462
|
+
token_hash?: string;
|
|
81463
|
+
updated_at?: string;
|
|
81464
|
+
};
|
|
81465
|
+
Relationships: [{
|
|
81466
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
81467
|
+
columns: ["purchase_order_id"];
|
|
81468
|
+
isOneToOne: false;
|
|
81469
|
+
referencedRelation: "purchase_orders";
|
|
81470
|
+
referencedColumns: ["id"];
|
|
81471
|
+
}, {
|
|
81472
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
81473
|
+
columns: ["supplier_id"];
|
|
81474
|
+
isOneToOne: false;
|
|
81475
|
+
referencedRelation: "suppliers";
|
|
81476
|
+
referencedColumns: ["id"];
|
|
81477
|
+
}];
|
|
81478
|
+
};
|
|
80132
81479
|
reception_notifications: {
|
|
80133
81480
|
Row: {
|
|
80134
81481
|
booking_id: string | null;
|
|
@@ -84554,7 +85901,7 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
84554
85901
|
created_at: string;
|
|
84555
85902
|
default_quantity: number;
|
|
84556
85903
|
description: string | null;
|
|
84557
|
-
duration_minutes: number
|
|
85904
|
+
duration_minutes: number;
|
|
84558
85905
|
id: string;
|
|
84559
85906
|
mandaat_type: string | null;
|
|
84560
85907
|
name: string;
|
|
@@ -84571,7 +85918,7 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
84571
85918
|
created_at?: string;
|
|
84572
85919
|
default_quantity?: number;
|
|
84573
85920
|
description?: string | null;
|
|
84574
|
-
duration_minutes?: number
|
|
85921
|
+
duration_minutes?: number;
|
|
84575
85922
|
id?: string;
|
|
84576
85923
|
mandaat_type?: string | null;
|
|
84577
85924
|
name: string;
|
|
@@ -84588,7 +85935,7 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
84588
85935
|
created_at?: string;
|
|
84589
85936
|
default_quantity?: number;
|
|
84590
85937
|
description?: string | null;
|
|
84591
|
-
duration_minutes?: number
|
|
85938
|
+
duration_minutes?: number;
|
|
84592
85939
|
id?: string;
|
|
84593
85940
|
mandaat_type?: string | null;
|
|
84594
85941
|
name?: string;
|
|
@@ -87584,6 +88931,31 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
87584
88931
|
};
|
|
87585
88932
|
Returns: import("../integrations/supabase/types").Json;
|
|
87586
88933
|
};
|
|
88934
|
+
inkoop_cancel_line: {
|
|
88935
|
+
Args: {
|
|
88936
|
+
_item_id: string;
|
|
88937
|
+
_reason: string;
|
|
88938
|
+
};
|
|
88939
|
+
Returns: string;
|
|
88940
|
+
};
|
|
88941
|
+
inkoop_get_supplier_request: {
|
|
88942
|
+
Args: {
|
|
88943
|
+
_token: string;
|
|
88944
|
+
};
|
|
88945
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
88946
|
+
};
|
|
88947
|
+
inkoop_hash_token: {
|
|
88948
|
+
Args: {
|
|
88949
|
+
_token: string;
|
|
88950
|
+
};
|
|
88951
|
+
Returns: string;
|
|
88952
|
+
};
|
|
88953
|
+
inkoop_html_escape: {
|
|
88954
|
+
Args: {
|
|
88955
|
+
_t: string;
|
|
88956
|
+
};
|
|
88957
|
+
Returns: string;
|
|
88958
|
+
};
|
|
87587
88959
|
inkoop_list_artikelen: {
|
|
87588
88960
|
Args: never;
|
|
87589
88961
|
Returns: {
|
|
@@ -87608,9 +88980,17 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
87608
88980
|
Args: never;
|
|
87609
88981
|
Returns: string;
|
|
87610
88982
|
};
|
|
88983
|
+
inkoop_process_request: {
|
|
88984
|
+
Args: {
|
|
88985
|
+
_request_id: string;
|
|
88986
|
+
};
|
|
88987
|
+
Returns: undefined;
|
|
88988
|
+
};
|
|
87611
88989
|
inkoop_send_order: {
|
|
87612
88990
|
Args: {
|
|
88991
|
+
_base_url?: string;
|
|
87613
88992
|
_order_id: string;
|
|
88993
|
+
_resend?: boolean;
|
|
87614
88994
|
};
|
|
87615
88995
|
Returns: {
|
|
87616
88996
|
outbox_id: string;
|
|
@@ -87625,6 +89005,26 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
87625
89005
|
};
|
|
87626
89006
|
Returns: undefined;
|
|
87627
89007
|
};
|
|
89008
|
+
inkoop_stock_key: {
|
|
89009
|
+
Args: {
|
|
89010
|
+
p_product_id: string;
|
|
89011
|
+
};
|
|
89012
|
+
Returns: string;
|
|
89013
|
+
};
|
|
89014
|
+
inkoop_submit_supplier_response: {
|
|
89015
|
+
Args: {
|
|
89016
|
+
_lines: import("../integrations/supabase/types").Json;
|
|
89017
|
+
_note?: string;
|
|
89018
|
+
_token: string;
|
|
89019
|
+
};
|
|
89020
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
89021
|
+
};
|
|
89022
|
+
inkoop_sync_item_stock: {
|
|
89023
|
+
Args: {
|
|
89024
|
+
p_item_id: string;
|
|
89025
|
+
};
|
|
89026
|
+
Returns: undefined;
|
|
89027
|
+
};
|
|
87628
89028
|
instructie_get: {
|
|
87629
89029
|
Args: {
|
|
87630
89030
|
_sleutel: string;
|
|
@@ -87785,6 +89185,27 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
87785
89185
|
};
|
|
87786
89186
|
Returns: boolean;
|
|
87787
89187
|
};
|
|
89188
|
+
layout_print_document: {
|
|
89189
|
+
Args: {
|
|
89190
|
+
_documentnaam: string;
|
|
89191
|
+
_documenttype: string;
|
|
89192
|
+
_herkomst?: string;
|
|
89193
|
+
_idempotentie_sleutel?: string;
|
|
89194
|
+
_is_herprint?: boolean;
|
|
89195
|
+
_kopieen?: number;
|
|
89196
|
+
_layout_id?: string;
|
|
89197
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
89198
|
+
_pdf_base64?: string;
|
|
89199
|
+
_pdf_url?: string;
|
|
89200
|
+
_print_plek_id?: string;
|
|
89201
|
+
_werkplek?: string;
|
|
89202
|
+
};
|
|
89203
|
+
Returns: {
|
|
89204
|
+
bestaand: boolean;
|
|
89205
|
+
job_id: string;
|
|
89206
|
+
printer_id: string;
|
|
89207
|
+
}[];
|
|
89208
|
+
};
|
|
87788
89209
|
list_medewerkers: {
|
|
87789
89210
|
Args: never;
|
|
87790
89211
|
Returns: {
|
|
@@ -88062,6 +89483,12 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
88062
89483
|
};
|
|
88063
89484
|
Returns: number;
|
|
88064
89485
|
};
|
|
89486
|
+
logistics_cart_barcode_opschonen: {
|
|
89487
|
+
Args: {
|
|
89488
|
+
p_portie?: number;
|
|
89489
|
+
};
|
|
89490
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
89491
|
+
};
|
|
88065
89492
|
logistics_cart_barcode_value: {
|
|
88066
89493
|
Args: {
|
|
88067
89494
|
_cart_id: string;
|
|
@@ -88481,6 +89908,13 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
88481
89908
|
};
|
|
88482
89909
|
Returns: import("../integrations/supabase/types").Json;
|
|
88483
89910
|
};
|
|
89911
|
+
logistics_control_scan_print_own: {
|
|
89912
|
+
Args: {
|
|
89913
|
+
p_is_herprint?: boolean;
|
|
89914
|
+
p_scan_id: string;
|
|
89915
|
+
};
|
|
89916
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
89917
|
+
};
|
|
88484
89918
|
logistics_control_scan_retry: {
|
|
88485
89919
|
Args: {
|
|
88486
89920
|
_id: string;
|
|
@@ -89385,6 +90819,21 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
89385
90819
|
};
|
|
89386
90820
|
Returns: import("../integrations/supabase/types").Json;
|
|
89387
90821
|
};
|
|
90822
|
+
logistics_print_via_layout: {
|
|
90823
|
+
Args: {
|
|
90824
|
+
_documentnaam: string;
|
|
90825
|
+
_documenttype: string;
|
|
90826
|
+
_herkomst: string;
|
|
90827
|
+
_idempotentie_sleutel: string;
|
|
90828
|
+
_is_herprint: boolean;
|
|
90829
|
+
_layout_id: string;
|
|
90830
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
90831
|
+
_pdf_base64: string;
|
|
90832
|
+
_pdf_url: string;
|
|
90833
|
+
_print_plek_id: string;
|
|
90834
|
+
};
|
|
90835
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
90836
|
+
};
|
|
89388
90837
|
logistics_prune_buffer_member_queue: {
|
|
89389
90838
|
Args: never;
|
|
89390
90839
|
Returns: number;
|
|
@@ -89671,6 +91120,13 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
89671
91120
|
};
|
|
89672
91121
|
Returns: string;
|
|
89673
91122
|
};
|
|
91123
|
+
logistics_shipping_note_status: {
|
|
91124
|
+
Args: {
|
|
91125
|
+
p_cart_id?: string;
|
|
91126
|
+
p_slip_job_id?: string;
|
|
91127
|
+
};
|
|
91128
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
91129
|
+
};
|
|
89674
91130
|
logistics_shipping_notes_wake_all: {
|
|
89675
91131
|
Args: never;
|
|
89676
91132
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -89733,6 +91189,12 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
89733
91189
|
};
|
|
89734
91190
|
Returns: undefined;
|
|
89735
91191
|
};
|
|
91192
|
+
logistics_slip_note_retry: {
|
|
91193
|
+
Args: {
|
|
91194
|
+
_id: string;
|
|
91195
|
+
};
|
|
91196
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
91197
|
+
};
|
|
89736
91198
|
logistics_sticker_follows_slip: {
|
|
89737
91199
|
Args: never;
|
|
89738
91200
|
Returns: boolean;
|
|
@@ -90477,6 +91939,10 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
90477
91939
|
};
|
|
90478
91940
|
Returns: string;
|
|
90479
91941
|
};
|
|
91942
|
+
pick_is_reference_admin: {
|
|
91943
|
+
Args: never;
|
|
91944
|
+
Returns: boolean;
|
|
91945
|
+
};
|
|
90480
91946
|
pick_mark_printed: {
|
|
90481
91947
|
Args: {
|
|
90482
91948
|
_queue_item_id: string;
|
|
@@ -90900,6 +92366,12 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
90900
92366
|
};
|
|
90901
92367
|
Returns: import("../integrations/supabase/types").Json;
|
|
90902
92368
|
};
|
|
92369
|
+
pick_verify_rows: {
|
|
92370
|
+
Args: {
|
|
92371
|
+
_rows: import("../integrations/supabase/types").Json;
|
|
92372
|
+
};
|
|
92373
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
92374
|
+
};
|
|
90903
92375
|
pickstation_get_orders_raw: {
|
|
90904
92376
|
Args: never;
|
|
90905
92377
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -91080,6 +92552,12 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
91080
92552
|
};
|
|
91081
92553
|
Returns: import("../integrations/supabase/types").Json;
|
|
91082
92554
|
};
|
|
92555
|
+
quote_create_from_scratch: {
|
|
92556
|
+
Args: {
|
|
92557
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
92558
|
+
};
|
|
92559
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
92560
|
+
};
|
|
91083
92561
|
quote_create_from_source: {
|
|
91084
92562
|
Args: {
|
|
91085
92563
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -91130,6 +92608,13 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
91130
92608
|
};
|
|
91131
92609
|
Returns: string;
|
|
91132
92610
|
};
|
|
92611
|
+
quote_sync_work_order: {
|
|
92612
|
+
Args: {
|
|
92613
|
+
_monteur_instructies?: string;
|
|
92614
|
+
_offerte_id: string;
|
|
92615
|
+
};
|
|
92616
|
+
Returns: boolean;
|
|
92617
|
+
};
|
|
91133
92618
|
recompute_all_reserved_stock: {
|
|
91134
92619
|
Args: never;
|
|
91135
92620
|
Returns: undefined;
|
|
@@ -91350,6 +92835,13 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
91350
92835
|
};
|
|
91351
92836
|
Returns: import("../integrations/supabase/types").Json;
|
|
91352
92837
|
};
|
|
92838
|
+
scan_controleer_pincode: {
|
|
92839
|
+
Args: {
|
|
92840
|
+
p_pin: string;
|
|
92841
|
+
p_scanner_id: string;
|
|
92842
|
+
};
|
|
92843
|
+
Returns: boolean;
|
|
92844
|
+
};
|
|
91353
92845
|
scan_dashboard_stats: {
|
|
91354
92846
|
Args: {
|
|
91355
92847
|
p_dagen?: number;
|
|
@@ -91369,6 +92861,12 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
91369
92861
|
};
|
|
91370
92862
|
Returns: import("../integrations/supabase/types").Json;
|
|
91371
92863
|
};
|
|
92864
|
+
scan_heeft_pincode: {
|
|
92865
|
+
Args: {
|
|
92866
|
+
p_scanner_id: string;
|
|
92867
|
+
};
|
|
92868
|
+
Returns: boolean;
|
|
92869
|
+
};
|
|
91372
92870
|
scan_kar_compleet: {
|
|
91373
92871
|
Args: {
|
|
91374
92872
|
p_allow_reprint?: boolean;
|
|
@@ -91386,6 +92884,7 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
91386
92884
|
Args: {
|
|
91387
92885
|
p_code: string;
|
|
91388
92886
|
p_latency_ms?: number;
|
|
92887
|
+
p_medewerker?: string;
|
|
91389
92888
|
p_message?: string;
|
|
91390
92889
|
p_result: string;
|
|
91391
92890
|
p_scanner_key?: string;
|
|
@@ -91458,6 +92957,22 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
91458
92957
|
};
|
|
91459
92958
|
Returns: undefined;
|
|
91460
92959
|
};
|
|
92960
|
+
scan_scanner_info: {
|
|
92961
|
+
Args: {
|
|
92962
|
+
p_slug: string;
|
|
92963
|
+
};
|
|
92964
|
+
Returns: {
|
|
92965
|
+
actief: boolean;
|
|
92966
|
+
heeft_pincode: boolean;
|
|
92967
|
+
id: string;
|
|
92968
|
+
naam: string;
|
|
92969
|
+
omschrijving: string;
|
|
92970
|
+
printer_id: string;
|
|
92971
|
+
type: string;
|
|
92972
|
+
vereist_medewerker: boolean;
|
|
92973
|
+
werkplek: string;
|
|
92974
|
+
}[];
|
|
92975
|
+
};
|
|
91461
92976
|
scan_sessie_annuleren: {
|
|
91462
92977
|
Args: {
|
|
91463
92978
|
p_sessie_id: string;
|
|
@@ -92420,6 +93935,21 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
92420
93935
|
};
|
|
92421
93936
|
Returns: import("../integrations/supabase/types").Json;
|
|
92422
93937
|
};
|
|
93938
|
+
wo_list_colleague_planning: {
|
|
93939
|
+
Args: {
|
|
93940
|
+
_from: string;
|
|
93941
|
+
_monteur_id: string;
|
|
93942
|
+
_to: string;
|
|
93943
|
+
};
|
|
93944
|
+
Returns: {
|
|
93945
|
+
end_at: string;
|
|
93946
|
+
id: string;
|
|
93947
|
+
role: string;
|
|
93948
|
+
start_at: string;
|
|
93949
|
+
status: string;
|
|
93950
|
+
werkbon_id: string;
|
|
93951
|
+
}[];
|
|
93952
|
+
};
|
|
92423
93953
|
wo_list_offerte_requests: {
|
|
92424
93954
|
Args: {
|
|
92425
93955
|
_status?: string;
|
|
@@ -93229,6 +94759,27 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
93229
94759
|
};
|
|
93230
94760
|
Relationships: [];
|
|
93231
94761
|
};
|
|
94762
|
+
artikelen_instellingen: {
|
|
94763
|
+
Row: {
|
|
94764
|
+
created_at: string;
|
|
94765
|
+
id: number;
|
|
94766
|
+
marge_procent: number;
|
|
94767
|
+
updated_at: string;
|
|
94768
|
+
};
|
|
94769
|
+
Insert: {
|
|
94770
|
+
created_at?: string;
|
|
94771
|
+
id?: number;
|
|
94772
|
+
marge_procent?: number;
|
|
94773
|
+
updated_at?: string;
|
|
94774
|
+
};
|
|
94775
|
+
Update: {
|
|
94776
|
+
created_at?: string;
|
|
94777
|
+
id?: number;
|
|
94778
|
+
marge_procent?: number;
|
|
94779
|
+
updated_at?: string;
|
|
94780
|
+
};
|
|
94781
|
+
Relationships: [];
|
|
94782
|
+
};
|
|
93232
94783
|
artikelen_veldconfig: {
|
|
93233
94784
|
Row: {
|
|
93234
94785
|
bron_pad: string;
|
|
@@ -102904,6 +104455,30 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
102904
104455
|
};
|
|
102905
104456
|
Relationships: [];
|
|
102906
104457
|
};
|
|
104458
|
+
logistics_cart_barcode_archief: {
|
|
104459
|
+
Row: {
|
|
104460
|
+
barcode: string;
|
|
104461
|
+
cart_id: string;
|
|
104462
|
+
created_at: string | null;
|
|
104463
|
+
gearchiveerd_op: string;
|
|
104464
|
+
order_id: string | null;
|
|
104465
|
+
};
|
|
104466
|
+
Insert: {
|
|
104467
|
+
barcode: string;
|
|
104468
|
+
cart_id: string;
|
|
104469
|
+
created_at?: string | null;
|
|
104470
|
+
gearchiveerd_op?: string;
|
|
104471
|
+
order_id?: string | null;
|
|
104472
|
+
};
|
|
104473
|
+
Update: {
|
|
104474
|
+
barcode?: string;
|
|
104475
|
+
cart_id?: string;
|
|
104476
|
+
created_at?: string | null;
|
|
104477
|
+
gearchiveerd_op?: string;
|
|
104478
|
+
order_id?: string | null;
|
|
104479
|
+
};
|
|
104480
|
+
Relationships: [];
|
|
104481
|
+
};
|
|
102907
104482
|
logistics_control_scan: {
|
|
102908
104483
|
Row: {
|
|
102909
104484
|
approved_at: string | null;
|
|
@@ -108557,18 +110132,24 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
108557
110132
|
Row: {
|
|
108558
110133
|
id: boolean;
|
|
108559
110134
|
last_cleanup_at: string | null;
|
|
110135
|
+
last_error: string | null;
|
|
110136
|
+
last_error_at: string | null;
|
|
108560
110137
|
last_sync_at: string | null;
|
|
108561
110138
|
updated_at: string;
|
|
108562
110139
|
};
|
|
108563
110140
|
Insert: {
|
|
108564
110141
|
id?: boolean;
|
|
108565
110142
|
last_cleanup_at?: string | null;
|
|
110143
|
+
last_error?: string | null;
|
|
110144
|
+
last_error_at?: string | null;
|
|
108566
110145
|
last_sync_at?: string | null;
|
|
108567
110146
|
updated_at?: string;
|
|
108568
110147
|
};
|
|
108569
110148
|
Update: {
|
|
108570
110149
|
id?: boolean;
|
|
108571
110150
|
last_cleanup_at?: string | null;
|
|
110151
|
+
last_error?: string | null;
|
|
110152
|
+
last_error_at?: string | null;
|
|
108572
110153
|
last_sync_at?: string | null;
|
|
108573
110154
|
updated_at?: string;
|
|
108574
110155
|
};
|
|
@@ -108694,6 +110275,54 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
108694
110275
|
};
|
|
108695
110276
|
Relationships: [];
|
|
108696
110277
|
};
|
|
110278
|
+
planning_confirmation_log: {
|
|
110279
|
+
Row: {
|
|
110280
|
+
created_at: string;
|
|
110281
|
+
end_at: string;
|
|
110282
|
+
id: string;
|
|
110283
|
+
outbox_id: string | null;
|
|
110284
|
+
planning_item_id: string;
|
|
110285
|
+
reason: string | null;
|
|
110286
|
+
recipient: string | null;
|
|
110287
|
+
start_at: string;
|
|
110288
|
+
status: string;
|
|
110289
|
+
};
|
|
110290
|
+
Insert: {
|
|
110291
|
+
created_at?: string;
|
|
110292
|
+
end_at: string;
|
|
110293
|
+
id?: string;
|
|
110294
|
+
outbox_id?: string | null;
|
|
110295
|
+
planning_item_id: string;
|
|
110296
|
+
reason?: string | null;
|
|
110297
|
+
recipient?: string | null;
|
|
110298
|
+
start_at: string;
|
|
110299
|
+
status: string;
|
|
110300
|
+
};
|
|
110301
|
+
Update: {
|
|
110302
|
+
created_at?: string;
|
|
110303
|
+
end_at?: string;
|
|
110304
|
+
id?: string;
|
|
110305
|
+
outbox_id?: string | null;
|
|
110306
|
+
planning_item_id?: string;
|
|
110307
|
+
reason?: string | null;
|
|
110308
|
+
recipient?: string | null;
|
|
110309
|
+
start_at?: string;
|
|
110310
|
+
status?: string;
|
|
110311
|
+
};
|
|
110312
|
+
Relationships: [{
|
|
110313
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
110314
|
+
columns: ["planning_item_id"];
|
|
110315
|
+
isOneToOne: false;
|
|
110316
|
+
referencedRelation: "planning_items";
|
|
110317
|
+
referencedColumns: ["id"];
|
|
110318
|
+
}, {
|
|
110319
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
110320
|
+
columns: ["planning_item_id"];
|
|
110321
|
+
isOneToOne: false;
|
|
110322
|
+
referencedRelation: "planning_overview";
|
|
110323
|
+
referencedColumns: ["id"];
|
|
110324
|
+
}];
|
|
110325
|
+
};
|
|
108697
110326
|
planning_item_assistants: {
|
|
108698
110327
|
Row: {
|
|
108699
110328
|
created_at: string;
|
|
@@ -108778,6 +110407,60 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
108778
110407
|
referencedColumns: ["id"];
|
|
108779
110408
|
}];
|
|
108780
110409
|
};
|
|
110410
|
+
planning_mail_settings: {
|
|
110411
|
+
Row: {
|
|
110412
|
+
body_template: string;
|
|
110413
|
+
cc: string[];
|
|
110414
|
+
connection_id: string | null;
|
|
110415
|
+
created_at: string;
|
|
110416
|
+
enabled: boolean;
|
|
110417
|
+
id: boolean;
|
|
110418
|
+
reply_to: string | null;
|
|
110419
|
+
subject_template: string;
|
|
110420
|
+
timezone: string;
|
|
110421
|
+
updated_at: string;
|
|
110422
|
+
updated_by: string | null;
|
|
110423
|
+
};
|
|
110424
|
+
Insert: {
|
|
110425
|
+
body_template?: string;
|
|
110426
|
+
cc?: string[];
|
|
110427
|
+
connection_id?: string | null;
|
|
110428
|
+
created_at?: string;
|
|
110429
|
+
enabled?: boolean;
|
|
110430
|
+
id?: boolean;
|
|
110431
|
+
reply_to?: string | null;
|
|
110432
|
+
subject_template?: string;
|
|
110433
|
+
timezone?: string;
|
|
110434
|
+
updated_at?: string;
|
|
110435
|
+
updated_by?: string | null;
|
|
110436
|
+
};
|
|
110437
|
+
Update: {
|
|
110438
|
+
body_template?: string;
|
|
110439
|
+
cc?: string[];
|
|
110440
|
+
connection_id?: string | null;
|
|
110441
|
+
created_at?: string;
|
|
110442
|
+
enabled?: boolean;
|
|
110443
|
+
id?: boolean;
|
|
110444
|
+
reply_to?: string | null;
|
|
110445
|
+
subject_template?: string;
|
|
110446
|
+
timezone?: string;
|
|
110447
|
+
updated_at?: string;
|
|
110448
|
+
updated_by?: string | null;
|
|
110449
|
+
};
|
|
110450
|
+
Relationships: [{
|
|
110451
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
110452
|
+
columns: ["connection_id"];
|
|
110453
|
+
isOneToOne: false;
|
|
110454
|
+
referencedRelation: "email_auth_connections";
|
|
110455
|
+
referencedColumns: ["id"];
|
|
110456
|
+
}, {
|
|
110457
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
110458
|
+
columns: ["connection_id"];
|
|
110459
|
+
isOneToOne: false;
|
|
110460
|
+
referencedRelation: "email_auth_connections_safe";
|
|
110461
|
+
referencedColumns: ["id"];
|
|
110462
|
+
}];
|
|
110463
|
+
};
|
|
108781
110464
|
planning_monteur_day_locations: {
|
|
108782
110465
|
Row: {
|
|
108783
110466
|
created_at: string;
|
|
@@ -110256,6 +111939,9 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
110256
111939
|
lead_time_days: number | null;
|
|
110257
111940
|
min_order_quantity: number | null;
|
|
110258
111941
|
notes: string | null;
|
|
111942
|
+
previous_price_cents: number | null;
|
|
111943
|
+
price_source: string;
|
|
111944
|
+
price_updated_at: string | null;
|
|
110259
111945
|
product_id: string;
|
|
110260
111946
|
purchase_price_cents: number | null;
|
|
110261
111947
|
supplier_article_number: string | null;
|
|
@@ -110269,6 +111955,9 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
110269
111955
|
lead_time_days?: number | null;
|
|
110270
111956
|
min_order_quantity?: number | null;
|
|
110271
111957
|
notes?: string | null;
|
|
111958
|
+
previous_price_cents?: number | null;
|
|
111959
|
+
price_source?: string;
|
|
111960
|
+
price_updated_at?: string | null;
|
|
110272
111961
|
product_id: string;
|
|
110273
111962
|
purchase_price_cents?: number | null;
|
|
110274
111963
|
supplier_article_number?: string | null;
|
|
@@ -110282,6 +111971,9 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
110282
111971
|
lead_time_days?: number | null;
|
|
110283
111972
|
min_order_quantity?: number | null;
|
|
110284
111973
|
notes?: string | null;
|
|
111974
|
+
previous_price_cents?: number | null;
|
|
111975
|
+
price_source?: string;
|
|
111976
|
+
price_updated_at?: string | null;
|
|
110285
111977
|
product_id?: string;
|
|
110286
111978
|
purchase_price_cents?: number | null;
|
|
110287
111979
|
supplier_article_number?: string | null;
|
|
@@ -110812,9 +112504,13 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
110812
112504
|
purchase_order_items: {
|
|
110813
112505
|
Row: {
|
|
110814
112506
|
article_number: string | null;
|
|
112507
|
+
cancel_reason: string | null;
|
|
112508
|
+
cancelled_at: string | null;
|
|
110815
112509
|
created_at: string;
|
|
110816
112510
|
delivery_date: string | null;
|
|
110817
112511
|
id: string;
|
|
112512
|
+
incoming_booked: number;
|
|
112513
|
+
line_status: string;
|
|
110818
112514
|
name: string;
|
|
110819
112515
|
note: string | null;
|
|
110820
112516
|
pot_size: string | null;
|
|
@@ -110822,6 +112518,8 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
110822
112518
|
product_type: string;
|
|
110823
112519
|
purchase_order_id: string;
|
|
110824
112520
|
quantity: number;
|
|
112521
|
+
received_at: string | null;
|
|
112522
|
+
received_booked: number;
|
|
110825
112523
|
supplier_id: string | null;
|
|
110826
112524
|
supplier_product_id: string | null;
|
|
110827
112525
|
unit_price_cents: number;
|
|
@@ -110829,9 +112527,13 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
110829
112527
|
};
|
|
110830
112528
|
Insert: {
|
|
110831
112529
|
article_number?: string | null;
|
|
112530
|
+
cancel_reason?: string | null;
|
|
112531
|
+
cancelled_at?: string | null;
|
|
110832
112532
|
created_at?: string;
|
|
110833
112533
|
delivery_date?: string | null;
|
|
110834
112534
|
id?: string;
|
|
112535
|
+
incoming_booked?: number;
|
|
112536
|
+
line_status?: string;
|
|
110835
112537
|
name?: string;
|
|
110836
112538
|
note?: string | null;
|
|
110837
112539
|
pot_size?: string | null;
|
|
@@ -110839,6 +112541,8 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
110839
112541
|
product_type?: string;
|
|
110840
112542
|
purchase_order_id: string;
|
|
110841
112543
|
quantity?: number;
|
|
112544
|
+
received_at?: string | null;
|
|
112545
|
+
received_booked?: number;
|
|
110842
112546
|
supplier_id?: string | null;
|
|
110843
112547
|
supplier_product_id?: string | null;
|
|
110844
112548
|
unit_price_cents?: number;
|
|
@@ -110846,9 +112550,13 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
110846
112550
|
};
|
|
110847
112551
|
Update: {
|
|
110848
112552
|
article_number?: string | null;
|
|
112553
|
+
cancel_reason?: string | null;
|
|
112554
|
+
cancelled_at?: string | null;
|
|
110849
112555
|
created_at?: string;
|
|
110850
112556
|
delivery_date?: string | null;
|
|
110851
112557
|
id?: string;
|
|
112558
|
+
incoming_booked?: number;
|
|
112559
|
+
line_status?: string;
|
|
110852
112560
|
name?: string;
|
|
110853
112561
|
note?: string | null;
|
|
110854
112562
|
pot_size?: string | null;
|
|
@@ -110856,6 +112564,8 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
110856
112564
|
product_type?: string;
|
|
110857
112565
|
purchase_order_id?: string;
|
|
110858
112566
|
quantity?: number;
|
|
112567
|
+
received_at?: string | null;
|
|
112568
|
+
received_booked?: number;
|
|
110859
112569
|
supplier_id?: string | null;
|
|
110860
112570
|
supplier_product_id?: string | null;
|
|
110861
112571
|
unit_price_cents?: number;
|
|
@@ -110959,6 +112669,153 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
110959
112669
|
referencedColumns: ["id"];
|
|
110960
112670
|
}];
|
|
110961
112671
|
};
|
|
112672
|
+
purchase_request_events: {
|
|
112673
|
+
Row: {
|
|
112674
|
+
created_at: string;
|
|
112675
|
+
details: import("../integrations/supabase/types").Json | null;
|
|
112676
|
+
event_type: string;
|
|
112677
|
+
id: string;
|
|
112678
|
+
request_id: string;
|
|
112679
|
+
};
|
|
112680
|
+
Insert: {
|
|
112681
|
+
created_at?: string;
|
|
112682
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
112683
|
+
event_type: string;
|
|
112684
|
+
id?: string;
|
|
112685
|
+
request_id: string;
|
|
112686
|
+
};
|
|
112687
|
+
Update: {
|
|
112688
|
+
created_at?: string;
|
|
112689
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
112690
|
+
event_type?: string;
|
|
112691
|
+
id?: string;
|
|
112692
|
+
request_id?: string;
|
|
112693
|
+
};
|
|
112694
|
+
Relationships: [{
|
|
112695
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
112696
|
+
columns: ["request_id"];
|
|
112697
|
+
isOneToOne: false;
|
|
112698
|
+
referencedRelation: "purchase_requests";
|
|
112699
|
+
referencedColumns: ["id"];
|
|
112700
|
+
}];
|
|
112701
|
+
};
|
|
112702
|
+
purchase_request_responses: {
|
|
112703
|
+
Row: {
|
|
112704
|
+
confirmed_date: string | null;
|
|
112705
|
+
confirmed_price_cents: number | null;
|
|
112706
|
+
confirmed_quantity: number;
|
|
112707
|
+
created_at: string;
|
|
112708
|
+
id: string;
|
|
112709
|
+
not_available: boolean;
|
|
112710
|
+
note: string | null;
|
|
112711
|
+
purchase_order_item_id: string;
|
|
112712
|
+
request_id: string;
|
|
112713
|
+
updated_at: string;
|
|
112714
|
+
};
|
|
112715
|
+
Insert: {
|
|
112716
|
+
confirmed_date?: string | null;
|
|
112717
|
+
confirmed_price_cents?: number | null;
|
|
112718
|
+
confirmed_quantity?: number;
|
|
112719
|
+
created_at?: string;
|
|
112720
|
+
id?: string;
|
|
112721
|
+
not_available?: boolean;
|
|
112722
|
+
note?: string | null;
|
|
112723
|
+
purchase_order_item_id: string;
|
|
112724
|
+
request_id: string;
|
|
112725
|
+
updated_at?: string;
|
|
112726
|
+
};
|
|
112727
|
+
Update: {
|
|
112728
|
+
confirmed_date?: string | null;
|
|
112729
|
+
confirmed_price_cents?: number | null;
|
|
112730
|
+
confirmed_quantity?: number;
|
|
112731
|
+
created_at?: string;
|
|
112732
|
+
id?: string;
|
|
112733
|
+
not_available?: boolean;
|
|
112734
|
+
note?: string | null;
|
|
112735
|
+
purchase_order_item_id?: string;
|
|
112736
|
+
request_id?: string;
|
|
112737
|
+
updated_at?: string;
|
|
112738
|
+
};
|
|
112739
|
+
Relationships: [{
|
|
112740
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
112741
|
+
columns: ["purchase_order_item_id"];
|
|
112742
|
+
isOneToOne: false;
|
|
112743
|
+
referencedRelation: "purchase_order_items";
|
|
112744
|
+
referencedColumns: ["id"];
|
|
112745
|
+
}, {
|
|
112746
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
112747
|
+
columns: ["request_id"];
|
|
112748
|
+
isOneToOne: false;
|
|
112749
|
+
referencedRelation: "purchase_requests";
|
|
112750
|
+
referencedColumns: ["id"];
|
|
112751
|
+
}];
|
|
112752
|
+
};
|
|
112753
|
+
purchase_requests: {
|
|
112754
|
+
Row: {
|
|
112755
|
+
created_at: string;
|
|
112756
|
+
expires_at: string;
|
|
112757
|
+
first_viewed_at: string | null;
|
|
112758
|
+
id: string;
|
|
112759
|
+
processed_at: string | null;
|
|
112760
|
+
purchase_order_id: string;
|
|
112761
|
+
responded_at: string | null;
|
|
112762
|
+
sent_at: string;
|
|
112763
|
+
status: string;
|
|
112764
|
+
supplier_id: string | null;
|
|
112765
|
+
supplier_name: string;
|
|
112766
|
+
supplier_note: string | null;
|
|
112767
|
+
to_address: string | null;
|
|
112768
|
+
token_hash: string;
|
|
112769
|
+
updated_at: string;
|
|
112770
|
+
};
|
|
112771
|
+
Insert: {
|
|
112772
|
+
created_at?: string;
|
|
112773
|
+
expires_at?: string;
|
|
112774
|
+
first_viewed_at?: string | null;
|
|
112775
|
+
id?: string;
|
|
112776
|
+
processed_at?: string | null;
|
|
112777
|
+
purchase_order_id: string;
|
|
112778
|
+
responded_at?: string | null;
|
|
112779
|
+
sent_at?: string;
|
|
112780
|
+
status?: string;
|
|
112781
|
+
supplier_id?: string | null;
|
|
112782
|
+
supplier_name?: string;
|
|
112783
|
+
supplier_note?: string | null;
|
|
112784
|
+
to_address?: string | null;
|
|
112785
|
+
token_hash: string;
|
|
112786
|
+
updated_at?: string;
|
|
112787
|
+
};
|
|
112788
|
+
Update: {
|
|
112789
|
+
created_at?: string;
|
|
112790
|
+
expires_at?: string;
|
|
112791
|
+
first_viewed_at?: string | null;
|
|
112792
|
+
id?: string;
|
|
112793
|
+
processed_at?: string | null;
|
|
112794
|
+
purchase_order_id?: string;
|
|
112795
|
+
responded_at?: string | null;
|
|
112796
|
+
sent_at?: string;
|
|
112797
|
+
status?: string;
|
|
112798
|
+
supplier_id?: string | null;
|
|
112799
|
+
supplier_name?: string;
|
|
112800
|
+
supplier_note?: string | null;
|
|
112801
|
+
to_address?: string | null;
|
|
112802
|
+
token_hash?: string;
|
|
112803
|
+
updated_at?: string;
|
|
112804
|
+
};
|
|
112805
|
+
Relationships: [{
|
|
112806
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
112807
|
+
columns: ["purchase_order_id"];
|
|
112808
|
+
isOneToOne: false;
|
|
112809
|
+
referencedRelation: "purchase_orders";
|
|
112810
|
+
referencedColumns: ["id"];
|
|
112811
|
+
}, {
|
|
112812
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
112813
|
+
columns: ["supplier_id"];
|
|
112814
|
+
isOneToOne: false;
|
|
112815
|
+
referencedRelation: "suppliers";
|
|
112816
|
+
referencedColumns: ["id"];
|
|
112817
|
+
}];
|
|
112818
|
+
};
|
|
110962
112819
|
reception_notifications: {
|
|
110963
112820
|
Row: {
|
|
110964
112821
|
booking_id: string | null;
|
|
@@ -115384,7 +117241,7 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
115384
117241
|
created_at: string;
|
|
115385
117242
|
default_quantity: number;
|
|
115386
117243
|
description: string | null;
|
|
115387
|
-
duration_minutes: number
|
|
117244
|
+
duration_minutes: number;
|
|
115388
117245
|
id: string;
|
|
115389
117246
|
mandaat_type: string | null;
|
|
115390
117247
|
name: string;
|
|
@@ -115401,7 +117258,7 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
115401
117258
|
created_at?: string;
|
|
115402
117259
|
default_quantity?: number;
|
|
115403
117260
|
description?: string | null;
|
|
115404
|
-
duration_minutes?: number
|
|
117261
|
+
duration_minutes?: number;
|
|
115405
117262
|
id?: string;
|
|
115406
117263
|
mandaat_type?: string | null;
|
|
115407
117264
|
name: string;
|
|
@@ -115418,7 +117275,7 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
115418
117275
|
created_at?: string;
|
|
115419
117276
|
default_quantity?: number;
|
|
115420
117277
|
description?: string | null;
|
|
115421
|
-
duration_minutes?: number
|
|
117278
|
+
duration_minutes?: number;
|
|
115422
117279
|
id?: string;
|
|
115423
117280
|
mandaat_type?: string | null;
|
|
115424
117281
|
name?: string;
|
|
@@ -118414,6 +120271,31 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
118414
120271
|
};
|
|
118415
120272
|
Returns: import("../integrations/supabase/types").Json;
|
|
118416
120273
|
};
|
|
120274
|
+
inkoop_cancel_line: {
|
|
120275
|
+
Args: {
|
|
120276
|
+
_item_id: string;
|
|
120277
|
+
_reason: string;
|
|
120278
|
+
};
|
|
120279
|
+
Returns: string;
|
|
120280
|
+
};
|
|
120281
|
+
inkoop_get_supplier_request: {
|
|
120282
|
+
Args: {
|
|
120283
|
+
_token: string;
|
|
120284
|
+
};
|
|
120285
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
120286
|
+
};
|
|
120287
|
+
inkoop_hash_token: {
|
|
120288
|
+
Args: {
|
|
120289
|
+
_token: string;
|
|
120290
|
+
};
|
|
120291
|
+
Returns: string;
|
|
120292
|
+
};
|
|
120293
|
+
inkoop_html_escape: {
|
|
120294
|
+
Args: {
|
|
120295
|
+
_t: string;
|
|
120296
|
+
};
|
|
120297
|
+
Returns: string;
|
|
120298
|
+
};
|
|
118417
120299
|
inkoop_list_artikelen: {
|
|
118418
120300
|
Args: never;
|
|
118419
120301
|
Returns: {
|
|
@@ -118438,9 +120320,17 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
118438
120320
|
Args: never;
|
|
118439
120321
|
Returns: string;
|
|
118440
120322
|
};
|
|
120323
|
+
inkoop_process_request: {
|
|
120324
|
+
Args: {
|
|
120325
|
+
_request_id: string;
|
|
120326
|
+
};
|
|
120327
|
+
Returns: undefined;
|
|
120328
|
+
};
|
|
118441
120329
|
inkoop_send_order: {
|
|
118442
120330
|
Args: {
|
|
120331
|
+
_base_url?: string;
|
|
118443
120332
|
_order_id: string;
|
|
120333
|
+
_resend?: boolean;
|
|
118444
120334
|
};
|
|
118445
120335
|
Returns: {
|
|
118446
120336
|
outbox_id: string;
|
|
@@ -118455,6 +120345,26 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
118455
120345
|
};
|
|
118456
120346
|
Returns: undefined;
|
|
118457
120347
|
};
|
|
120348
|
+
inkoop_stock_key: {
|
|
120349
|
+
Args: {
|
|
120350
|
+
p_product_id: string;
|
|
120351
|
+
};
|
|
120352
|
+
Returns: string;
|
|
120353
|
+
};
|
|
120354
|
+
inkoop_submit_supplier_response: {
|
|
120355
|
+
Args: {
|
|
120356
|
+
_lines: import("../integrations/supabase/types").Json;
|
|
120357
|
+
_note?: string;
|
|
120358
|
+
_token: string;
|
|
120359
|
+
};
|
|
120360
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
120361
|
+
};
|
|
120362
|
+
inkoop_sync_item_stock: {
|
|
120363
|
+
Args: {
|
|
120364
|
+
p_item_id: string;
|
|
120365
|
+
};
|
|
120366
|
+
Returns: undefined;
|
|
120367
|
+
};
|
|
118458
120368
|
instructie_get: {
|
|
118459
120369
|
Args: {
|
|
118460
120370
|
_sleutel: string;
|
|
@@ -118615,6 +120525,27 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
118615
120525
|
};
|
|
118616
120526
|
Returns: boolean;
|
|
118617
120527
|
};
|
|
120528
|
+
layout_print_document: {
|
|
120529
|
+
Args: {
|
|
120530
|
+
_documentnaam: string;
|
|
120531
|
+
_documenttype: string;
|
|
120532
|
+
_herkomst?: string;
|
|
120533
|
+
_idempotentie_sleutel?: string;
|
|
120534
|
+
_is_herprint?: boolean;
|
|
120535
|
+
_kopieen?: number;
|
|
120536
|
+
_layout_id?: string;
|
|
120537
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
120538
|
+
_pdf_base64?: string;
|
|
120539
|
+
_pdf_url?: string;
|
|
120540
|
+
_print_plek_id?: string;
|
|
120541
|
+
_werkplek?: string;
|
|
120542
|
+
};
|
|
120543
|
+
Returns: {
|
|
120544
|
+
bestaand: boolean;
|
|
120545
|
+
job_id: string;
|
|
120546
|
+
printer_id: string;
|
|
120547
|
+
}[];
|
|
120548
|
+
};
|
|
118618
120549
|
list_medewerkers: {
|
|
118619
120550
|
Args: never;
|
|
118620
120551
|
Returns: {
|
|
@@ -118892,6 +120823,12 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
118892
120823
|
};
|
|
118893
120824
|
Returns: number;
|
|
118894
120825
|
};
|
|
120826
|
+
logistics_cart_barcode_opschonen: {
|
|
120827
|
+
Args: {
|
|
120828
|
+
p_portie?: number;
|
|
120829
|
+
};
|
|
120830
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
120831
|
+
};
|
|
118895
120832
|
logistics_cart_barcode_value: {
|
|
118896
120833
|
Args: {
|
|
118897
120834
|
_cart_id: string;
|
|
@@ -119311,6 +121248,13 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
119311
121248
|
};
|
|
119312
121249
|
Returns: import("../integrations/supabase/types").Json;
|
|
119313
121250
|
};
|
|
121251
|
+
logistics_control_scan_print_own: {
|
|
121252
|
+
Args: {
|
|
121253
|
+
p_is_herprint?: boolean;
|
|
121254
|
+
p_scan_id: string;
|
|
121255
|
+
};
|
|
121256
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
121257
|
+
};
|
|
119314
121258
|
logistics_control_scan_retry: {
|
|
119315
121259
|
Args: {
|
|
119316
121260
|
_id: string;
|
|
@@ -120215,6 +122159,21 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
120215
122159
|
};
|
|
120216
122160
|
Returns: import("../integrations/supabase/types").Json;
|
|
120217
122161
|
};
|
|
122162
|
+
logistics_print_via_layout: {
|
|
122163
|
+
Args: {
|
|
122164
|
+
_documentnaam: string;
|
|
122165
|
+
_documenttype: string;
|
|
122166
|
+
_herkomst: string;
|
|
122167
|
+
_idempotentie_sleutel: string;
|
|
122168
|
+
_is_herprint: boolean;
|
|
122169
|
+
_layout_id: string;
|
|
122170
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
122171
|
+
_pdf_base64: string;
|
|
122172
|
+
_pdf_url: string;
|
|
122173
|
+
_print_plek_id: string;
|
|
122174
|
+
};
|
|
122175
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
122176
|
+
};
|
|
120218
122177
|
logistics_prune_buffer_member_queue: {
|
|
120219
122178
|
Args: never;
|
|
120220
122179
|
Returns: number;
|
|
@@ -120501,6 +122460,13 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
120501
122460
|
};
|
|
120502
122461
|
Returns: string;
|
|
120503
122462
|
};
|
|
122463
|
+
logistics_shipping_note_status: {
|
|
122464
|
+
Args: {
|
|
122465
|
+
p_cart_id?: string;
|
|
122466
|
+
p_slip_job_id?: string;
|
|
122467
|
+
};
|
|
122468
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
122469
|
+
};
|
|
120504
122470
|
logistics_shipping_notes_wake_all: {
|
|
120505
122471
|
Args: never;
|
|
120506
122472
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -120563,6 +122529,12 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
120563
122529
|
};
|
|
120564
122530
|
Returns: undefined;
|
|
120565
122531
|
};
|
|
122532
|
+
logistics_slip_note_retry: {
|
|
122533
|
+
Args: {
|
|
122534
|
+
_id: string;
|
|
122535
|
+
};
|
|
122536
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
122537
|
+
};
|
|
120566
122538
|
logistics_sticker_follows_slip: {
|
|
120567
122539
|
Args: never;
|
|
120568
122540
|
Returns: boolean;
|
|
@@ -121307,6 +123279,10 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
121307
123279
|
};
|
|
121308
123280
|
Returns: string;
|
|
121309
123281
|
};
|
|
123282
|
+
pick_is_reference_admin: {
|
|
123283
|
+
Args: never;
|
|
123284
|
+
Returns: boolean;
|
|
123285
|
+
};
|
|
121310
123286
|
pick_mark_printed: {
|
|
121311
123287
|
Args: {
|
|
121312
123288
|
_queue_item_id: string;
|
|
@@ -121730,6 +123706,12 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
121730
123706
|
};
|
|
121731
123707
|
Returns: import("../integrations/supabase/types").Json;
|
|
121732
123708
|
};
|
|
123709
|
+
pick_verify_rows: {
|
|
123710
|
+
Args: {
|
|
123711
|
+
_rows: import("../integrations/supabase/types").Json;
|
|
123712
|
+
};
|
|
123713
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
123714
|
+
};
|
|
121733
123715
|
pickstation_get_orders_raw: {
|
|
121734
123716
|
Args: never;
|
|
121735
123717
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -121910,6 +123892,12 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
121910
123892
|
};
|
|
121911
123893
|
Returns: import("../integrations/supabase/types").Json;
|
|
121912
123894
|
};
|
|
123895
|
+
quote_create_from_scratch: {
|
|
123896
|
+
Args: {
|
|
123897
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
123898
|
+
};
|
|
123899
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
123900
|
+
};
|
|
121913
123901
|
quote_create_from_source: {
|
|
121914
123902
|
Args: {
|
|
121915
123903
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -121960,6 +123948,13 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
121960
123948
|
};
|
|
121961
123949
|
Returns: string;
|
|
121962
123950
|
};
|
|
123951
|
+
quote_sync_work_order: {
|
|
123952
|
+
Args: {
|
|
123953
|
+
_monteur_instructies?: string;
|
|
123954
|
+
_offerte_id: string;
|
|
123955
|
+
};
|
|
123956
|
+
Returns: boolean;
|
|
123957
|
+
};
|
|
121963
123958
|
recompute_all_reserved_stock: {
|
|
121964
123959
|
Args: never;
|
|
121965
123960
|
Returns: undefined;
|
|
@@ -122180,6 +124175,13 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
122180
124175
|
};
|
|
122181
124176
|
Returns: import("../integrations/supabase/types").Json;
|
|
122182
124177
|
};
|
|
124178
|
+
scan_controleer_pincode: {
|
|
124179
|
+
Args: {
|
|
124180
|
+
p_pin: string;
|
|
124181
|
+
p_scanner_id: string;
|
|
124182
|
+
};
|
|
124183
|
+
Returns: boolean;
|
|
124184
|
+
};
|
|
122183
124185
|
scan_dashboard_stats: {
|
|
122184
124186
|
Args: {
|
|
122185
124187
|
p_dagen?: number;
|
|
@@ -122199,6 +124201,12 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
122199
124201
|
};
|
|
122200
124202
|
Returns: import("../integrations/supabase/types").Json;
|
|
122201
124203
|
};
|
|
124204
|
+
scan_heeft_pincode: {
|
|
124205
|
+
Args: {
|
|
124206
|
+
p_scanner_id: string;
|
|
124207
|
+
};
|
|
124208
|
+
Returns: boolean;
|
|
124209
|
+
};
|
|
122202
124210
|
scan_kar_compleet: {
|
|
122203
124211
|
Args: {
|
|
122204
124212
|
p_allow_reprint?: boolean;
|
|
@@ -122216,6 +124224,7 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
122216
124224
|
Args: {
|
|
122217
124225
|
p_code: string;
|
|
122218
124226
|
p_latency_ms?: number;
|
|
124227
|
+
p_medewerker?: string;
|
|
122219
124228
|
p_message?: string;
|
|
122220
124229
|
p_result: string;
|
|
122221
124230
|
p_scanner_key?: string;
|
|
@@ -122288,6 +124297,22 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
122288
124297
|
};
|
|
122289
124298
|
Returns: undefined;
|
|
122290
124299
|
};
|
|
124300
|
+
scan_scanner_info: {
|
|
124301
|
+
Args: {
|
|
124302
|
+
p_slug: string;
|
|
124303
|
+
};
|
|
124304
|
+
Returns: {
|
|
124305
|
+
actief: boolean;
|
|
124306
|
+
heeft_pincode: boolean;
|
|
124307
|
+
id: string;
|
|
124308
|
+
naam: string;
|
|
124309
|
+
omschrijving: string;
|
|
124310
|
+
printer_id: string;
|
|
124311
|
+
type: string;
|
|
124312
|
+
vereist_medewerker: boolean;
|
|
124313
|
+
werkplek: string;
|
|
124314
|
+
}[];
|
|
124315
|
+
};
|
|
122291
124316
|
scan_sessie_annuleren: {
|
|
122292
124317
|
Args: {
|
|
122293
124318
|
p_sessie_id: string;
|
|
@@ -123250,6 +125275,21 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
123250
125275
|
};
|
|
123251
125276
|
Returns: import("../integrations/supabase/types").Json;
|
|
123252
125277
|
};
|
|
125278
|
+
wo_list_colleague_planning: {
|
|
125279
|
+
Args: {
|
|
125280
|
+
_from: string;
|
|
125281
|
+
_monteur_id: string;
|
|
125282
|
+
_to: string;
|
|
125283
|
+
};
|
|
125284
|
+
Returns: {
|
|
125285
|
+
end_at: string;
|
|
125286
|
+
id: string;
|
|
125287
|
+
role: string;
|
|
125288
|
+
start_at: string;
|
|
125289
|
+
status: string;
|
|
125290
|
+
werkbon_id: string;
|
|
125291
|
+
}[];
|
|
125292
|
+
};
|
|
123253
125293
|
wo_list_offerte_requests: {
|
|
123254
125294
|
Args: {
|
|
123255
125295
|
_status?: string;
|