@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
|
@@ -733,6 +733,27 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
733
733
|
};
|
|
734
734
|
Relationships: [];
|
|
735
735
|
};
|
|
736
|
+
artikelen_instellingen: {
|
|
737
|
+
Row: {
|
|
738
|
+
created_at: string;
|
|
739
|
+
id: number;
|
|
740
|
+
marge_procent: number;
|
|
741
|
+
updated_at: string;
|
|
742
|
+
};
|
|
743
|
+
Insert: {
|
|
744
|
+
created_at?: string;
|
|
745
|
+
id?: number;
|
|
746
|
+
marge_procent?: number;
|
|
747
|
+
updated_at?: string;
|
|
748
|
+
};
|
|
749
|
+
Update: {
|
|
750
|
+
created_at?: string;
|
|
751
|
+
id?: number;
|
|
752
|
+
marge_procent?: number;
|
|
753
|
+
updated_at?: string;
|
|
754
|
+
};
|
|
755
|
+
Relationships: [];
|
|
756
|
+
};
|
|
736
757
|
artikelen_veldconfig: {
|
|
737
758
|
Row: {
|
|
738
759
|
bron_pad: string;
|
|
@@ -10408,6 +10429,30 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
10408
10429
|
};
|
|
10409
10430
|
Relationships: [];
|
|
10410
10431
|
};
|
|
10432
|
+
logistics_cart_barcode_archief: {
|
|
10433
|
+
Row: {
|
|
10434
|
+
barcode: string;
|
|
10435
|
+
cart_id: string;
|
|
10436
|
+
created_at: string | null;
|
|
10437
|
+
gearchiveerd_op: string;
|
|
10438
|
+
order_id: string | null;
|
|
10439
|
+
};
|
|
10440
|
+
Insert: {
|
|
10441
|
+
barcode: string;
|
|
10442
|
+
cart_id: string;
|
|
10443
|
+
created_at?: string | null;
|
|
10444
|
+
gearchiveerd_op?: string;
|
|
10445
|
+
order_id?: string | null;
|
|
10446
|
+
};
|
|
10447
|
+
Update: {
|
|
10448
|
+
barcode?: string;
|
|
10449
|
+
cart_id?: string;
|
|
10450
|
+
created_at?: string | null;
|
|
10451
|
+
gearchiveerd_op?: string;
|
|
10452
|
+
order_id?: string | null;
|
|
10453
|
+
};
|
|
10454
|
+
Relationships: [];
|
|
10455
|
+
};
|
|
10411
10456
|
logistics_control_scan: {
|
|
10412
10457
|
Row: {
|
|
10413
10458
|
approved_at: string | null;
|
|
@@ -16061,18 +16106,24 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
16061
16106
|
Row: {
|
|
16062
16107
|
id: boolean;
|
|
16063
16108
|
last_cleanup_at: string | null;
|
|
16109
|
+
last_error: string | null;
|
|
16110
|
+
last_error_at: string | null;
|
|
16064
16111
|
last_sync_at: string | null;
|
|
16065
16112
|
updated_at: string;
|
|
16066
16113
|
};
|
|
16067
16114
|
Insert: {
|
|
16068
16115
|
id?: boolean;
|
|
16069
16116
|
last_cleanup_at?: string | null;
|
|
16117
|
+
last_error?: string | null;
|
|
16118
|
+
last_error_at?: string | null;
|
|
16070
16119
|
last_sync_at?: string | null;
|
|
16071
16120
|
updated_at?: string;
|
|
16072
16121
|
};
|
|
16073
16122
|
Update: {
|
|
16074
16123
|
id?: boolean;
|
|
16075
16124
|
last_cleanup_at?: string | null;
|
|
16125
|
+
last_error?: string | null;
|
|
16126
|
+
last_error_at?: string | null;
|
|
16076
16127
|
last_sync_at?: string | null;
|
|
16077
16128
|
updated_at?: string;
|
|
16078
16129
|
};
|
|
@@ -16198,6 +16249,54 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
16198
16249
|
};
|
|
16199
16250
|
Relationships: [];
|
|
16200
16251
|
};
|
|
16252
|
+
planning_confirmation_log: {
|
|
16253
|
+
Row: {
|
|
16254
|
+
created_at: string;
|
|
16255
|
+
end_at: string;
|
|
16256
|
+
id: string;
|
|
16257
|
+
outbox_id: string | null;
|
|
16258
|
+
planning_item_id: string;
|
|
16259
|
+
reason: string | null;
|
|
16260
|
+
recipient: string | null;
|
|
16261
|
+
start_at: string;
|
|
16262
|
+
status: string;
|
|
16263
|
+
};
|
|
16264
|
+
Insert: {
|
|
16265
|
+
created_at?: string;
|
|
16266
|
+
end_at: string;
|
|
16267
|
+
id?: string;
|
|
16268
|
+
outbox_id?: string | null;
|
|
16269
|
+
planning_item_id: string;
|
|
16270
|
+
reason?: string | null;
|
|
16271
|
+
recipient?: string | null;
|
|
16272
|
+
start_at: string;
|
|
16273
|
+
status: string;
|
|
16274
|
+
};
|
|
16275
|
+
Update: {
|
|
16276
|
+
created_at?: string;
|
|
16277
|
+
end_at?: string;
|
|
16278
|
+
id?: string;
|
|
16279
|
+
outbox_id?: string | null;
|
|
16280
|
+
planning_item_id?: string;
|
|
16281
|
+
reason?: string | null;
|
|
16282
|
+
recipient?: string | null;
|
|
16283
|
+
start_at?: string;
|
|
16284
|
+
status?: string;
|
|
16285
|
+
};
|
|
16286
|
+
Relationships: [{
|
|
16287
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
16288
|
+
columns: ["planning_item_id"];
|
|
16289
|
+
isOneToOne: false;
|
|
16290
|
+
referencedRelation: "planning_items";
|
|
16291
|
+
referencedColumns: ["id"];
|
|
16292
|
+
}, {
|
|
16293
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
16294
|
+
columns: ["planning_item_id"];
|
|
16295
|
+
isOneToOne: false;
|
|
16296
|
+
referencedRelation: "planning_overview";
|
|
16297
|
+
referencedColumns: ["id"];
|
|
16298
|
+
}];
|
|
16299
|
+
};
|
|
16201
16300
|
planning_item_assistants: {
|
|
16202
16301
|
Row: {
|
|
16203
16302
|
created_at: string;
|
|
@@ -16282,6 +16381,60 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
16282
16381
|
referencedColumns: ["id"];
|
|
16283
16382
|
}];
|
|
16284
16383
|
};
|
|
16384
|
+
planning_mail_settings: {
|
|
16385
|
+
Row: {
|
|
16386
|
+
body_template: string;
|
|
16387
|
+
cc: string[];
|
|
16388
|
+
connection_id: string | null;
|
|
16389
|
+
created_at: string;
|
|
16390
|
+
enabled: boolean;
|
|
16391
|
+
id: boolean;
|
|
16392
|
+
reply_to: string | null;
|
|
16393
|
+
subject_template: string;
|
|
16394
|
+
timezone: string;
|
|
16395
|
+
updated_at: string;
|
|
16396
|
+
updated_by: string | null;
|
|
16397
|
+
};
|
|
16398
|
+
Insert: {
|
|
16399
|
+
body_template?: string;
|
|
16400
|
+
cc?: string[];
|
|
16401
|
+
connection_id?: string | null;
|
|
16402
|
+
created_at?: string;
|
|
16403
|
+
enabled?: boolean;
|
|
16404
|
+
id?: boolean;
|
|
16405
|
+
reply_to?: string | null;
|
|
16406
|
+
subject_template?: string;
|
|
16407
|
+
timezone?: string;
|
|
16408
|
+
updated_at?: string;
|
|
16409
|
+
updated_by?: string | null;
|
|
16410
|
+
};
|
|
16411
|
+
Update: {
|
|
16412
|
+
body_template?: string;
|
|
16413
|
+
cc?: string[];
|
|
16414
|
+
connection_id?: string | null;
|
|
16415
|
+
created_at?: string;
|
|
16416
|
+
enabled?: boolean;
|
|
16417
|
+
id?: boolean;
|
|
16418
|
+
reply_to?: string | null;
|
|
16419
|
+
subject_template?: string;
|
|
16420
|
+
timezone?: string;
|
|
16421
|
+
updated_at?: string;
|
|
16422
|
+
updated_by?: string | null;
|
|
16423
|
+
};
|
|
16424
|
+
Relationships: [{
|
|
16425
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
16426
|
+
columns: ["connection_id"];
|
|
16427
|
+
isOneToOne: false;
|
|
16428
|
+
referencedRelation: "email_auth_connections";
|
|
16429
|
+
referencedColumns: ["id"];
|
|
16430
|
+
}, {
|
|
16431
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
16432
|
+
columns: ["connection_id"];
|
|
16433
|
+
isOneToOne: false;
|
|
16434
|
+
referencedRelation: "email_auth_connections_safe";
|
|
16435
|
+
referencedColumns: ["id"];
|
|
16436
|
+
}];
|
|
16437
|
+
};
|
|
16285
16438
|
planning_monteur_day_locations: {
|
|
16286
16439
|
Row: {
|
|
16287
16440
|
created_at: string;
|
|
@@ -17760,6 +17913,9 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
17760
17913
|
lead_time_days: number | null;
|
|
17761
17914
|
min_order_quantity: number | null;
|
|
17762
17915
|
notes: string | null;
|
|
17916
|
+
previous_price_cents: number | null;
|
|
17917
|
+
price_source: string;
|
|
17918
|
+
price_updated_at: string | null;
|
|
17763
17919
|
product_id: string;
|
|
17764
17920
|
purchase_price_cents: number | null;
|
|
17765
17921
|
supplier_article_number: string | null;
|
|
@@ -17773,6 +17929,9 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
17773
17929
|
lead_time_days?: number | null;
|
|
17774
17930
|
min_order_quantity?: number | null;
|
|
17775
17931
|
notes?: string | null;
|
|
17932
|
+
previous_price_cents?: number | null;
|
|
17933
|
+
price_source?: string;
|
|
17934
|
+
price_updated_at?: string | null;
|
|
17776
17935
|
product_id: string;
|
|
17777
17936
|
purchase_price_cents?: number | null;
|
|
17778
17937
|
supplier_article_number?: string | null;
|
|
@@ -17786,6 +17945,9 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
17786
17945
|
lead_time_days?: number | null;
|
|
17787
17946
|
min_order_quantity?: number | null;
|
|
17788
17947
|
notes?: string | null;
|
|
17948
|
+
previous_price_cents?: number | null;
|
|
17949
|
+
price_source?: string;
|
|
17950
|
+
price_updated_at?: string | null;
|
|
17789
17951
|
product_id?: string;
|
|
17790
17952
|
purchase_price_cents?: number | null;
|
|
17791
17953
|
supplier_article_number?: string | null;
|
|
@@ -18316,9 +18478,13 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
18316
18478
|
purchase_order_items: {
|
|
18317
18479
|
Row: {
|
|
18318
18480
|
article_number: string | null;
|
|
18481
|
+
cancel_reason: string | null;
|
|
18482
|
+
cancelled_at: string | null;
|
|
18319
18483
|
created_at: string;
|
|
18320
18484
|
delivery_date: string | null;
|
|
18321
18485
|
id: string;
|
|
18486
|
+
incoming_booked: number;
|
|
18487
|
+
line_status: string;
|
|
18322
18488
|
name: string;
|
|
18323
18489
|
note: string | null;
|
|
18324
18490
|
pot_size: string | null;
|
|
@@ -18326,6 +18492,8 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
18326
18492
|
product_type: string;
|
|
18327
18493
|
purchase_order_id: string;
|
|
18328
18494
|
quantity: number;
|
|
18495
|
+
received_at: string | null;
|
|
18496
|
+
received_booked: number;
|
|
18329
18497
|
supplier_id: string | null;
|
|
18330
18498
|
supplier_product_id: string | null;
|
|
18331
18499
|
unit_price_cents: number;
|
|
@@ -18333,9 +18501,13 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
18333
18501
|
};
|
|
18334
18502
|
Insert: {
|
|
18335
18503
|
article_number?: string | null;
|
|
18504
|
+
cancel_reason?: string | null;
|
|
18505
|
+
cancelled_at?: string | null;
|
|
18336
18506
|
created_at?: string;
|
|
18337
18507
|
delivery_date?: string | null;
|
|
18338
18508
|
id?: string;
|
|
18509
|
+
incoming_booked?: number;
|
|
18510
|
+
line_status?: string;
|
|
18339
18511
|
name?: string;
|
|
18340
18512
|
note?: string | null;
|
|
18341
18513
|
pot_size?: string | null;
|
|
@@ -18343,6 +18515,8 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
18343
18515
|
product_type?: string;
|
|
18344
18516
|
purchase_order_id: string;
|
|
18345
18517
|
quantity?: number;
|
|
18518
|
+
received_at?: string | null;
|
|
18519
|
+
received_booked?: number;
|
|
18346
18520
|
supplier_id?: string | null;
|
|
18347
18521
|
supplier_product_id?: string | null;
|
|
18348
18522
|
unit_price_cents?: number;
|
|
@@ -18350,9 +18524,13 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
18350
18524
|
};
|
|
18351
18525
|
Update: {
|
|
18352
18526
|
article_number?: string | null;
|
|
18527
|
+
cancel_reason?: string | null;
|
|
18528
|
+
cancelled_at?: string | null;
|
|
18353
18529
|
created_at?: string;
|
|
18354
18530
|
delivery_date?: string | null;
|
|
18355
18531
|
id?: string;
|
|
18532
|
+
incoming_booked?: number;
|
|
18533
|
+
line_status?: string;
|
|
18356
18534
|
name?: string;
|
|
18357
18535
|
note?: string | null;
|
|
18358
18536
|
pot_size?: string | null;
|
|
@@ -18360,6 +18538,8 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
18360
18538
|
product_type?: string;
|
|
18361
18539
|
purchase_order_id?: string;
|
|
18362
18540
|
quantity?: number;
|
|
18541
|
+
received_at?: string | null;
|
|
18542
|
+
received_booked?: number;
|
|
18363
18543
|
supplier_id?: string | null;
|
|
18364
18544
|
supplier_product_id?: string | null;
|
|
18365
18545
|
unit_price_cents?: number;
|
|
@@ -18463,6 +18643,153 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
18463
18643
|
referencedColumns: ["id"];
|
|
18464
18644
|
}];
|
|
18465
18645
|
};
|
|
18646
|
+
purchase_request_events: {
|
|
18647
|
+
Row: {
|
|
18648
|
+
created_at: string;
|
|
18649
|
+
details: import("../integrations/supabase/types").Json | null;
|
|
18650
|
+
event_type: string;
|
|
18651
|
+
id: string;
|
|
18652
|
+
request_id: string;
|
|
18653
|
+
};
|
|
18654
|
+
Insert: {
|
|
18655
|
+
created_at?: string;
|
|
18656
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
18657
|
+
event_type: string;
|
|
18658
|
+
id?: string;
|
|
18659
|
+
request_id: string;
|
|
18660
|
+
};
|
|
18661
|
+
Update: {
|
|
18662
|
+
created_at?: string;
|
|
18663
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
18664
|
+
event_type?: string;
|
|
18665
|
+
id?: string;
|
|
18666
|
+
request_id?: string;
|
|
18667
|
+
};
|
|
18668
|
+
Relationships: [{
|
|
18669
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
18670
|
+
columns: ["request_id"];
|
|
18671
|
+
isOneToOne: false;
|
|
18672
|
+
referencedRelation: "purchase_requests";
|
|
18673
|
+
referencedColumns: ["id"];
|
|
18674
|
+
}];
|
|
18675
|
+
};
|
|
18676
|
+
purchase_request_responses: {
|
|
18677
|
+
Row: {
|
|
18678
|
+
confirmed_date: string | null;
|
|
18679
|
+
confirmed_price_cents: number | null;
|
|
18680
|
+
confirmed_quantity: number;
|
|
18681
|
+
created_at: string;
|
|
18682
|
+
id: string;
|
|
18683
|
+
not_available: boolean;
|
|
18684
|
+
note: string | null;
|
|
18685
|
+
purchase_order_item_id: string;
|
|
18686
|
+
request_id: string;
|
|
18687
|
+
updated_at: string;
|
|
18688
|
+
};
|
|
18689
|
+
Insert: {
|
|
18690
|
+
confirmed_date?: string | null;
|
|
18691
|
+
confirmed_price_cents?: number | null;
|
|
18692
|
+
confirmed_quantity?: number;
|
|
18693
|
+
created_at?: string;
|
|
18694
|
+
id?: string;
|
|
18695
|
+
not_available?: boolean;
|
|
18696
|
+
note?: string | null;
|
|
18697
|
+
purchase_order_item_id: string;
|
|
18698
|
+
request_id: string;
|
|
18699
|
+
updated_at?: string;
|
|
18700
|
+
};
|
|
18701
|
+
Update: {
|
|
18702
|
+
confirmed_date?: string | null;
|
|
18703
|
+
confirmed_price_cents?: number | null;
|
|
18704
|
+
confirmed_quantity?: number;
|
|
18705
|
+
created_at?: string;
|
|
18706
|
+
id?: string;
|
|
18707
|
+
not_available?: boolean;
|
|
18708
|
+
note?: string | null;
|
|
18709
|
+
purchase_order_item_id?: string;
|
|
18710
|
+
request_id?: string;
|
|
18711
|
+
updated_at?: string;
|
|
18712
|
+
};
|
|
18713
|
+
Relationships: [{
|
|
18714
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
18715
|
+
columns: ["purchase_order_item_id"];
|
|
18716
|
+
isOneToOne: false;
|
|
18717
|
+
referencedRelation: "purchase_order_items";
|
|
18718
|
+
referencedColumns: ["id"];
|
|
18719
|
+
}, {
|
|
18720
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
18721
|
+
columns: ["request_id"];
|
|
18722
|
+
isOneToOne: false;
|
|
18723
|
+
referencedRelation: "purchase_requests";
|
|
18724
|
+
referencedColumns: ["id"];
|
|
18725
|
+
}];
|
|
18726
|
+
};
|
|
18727
|
+
purchase_requests: {
|
|
18728
|
+
Row: {
|
|
18729
|
+
created_at: string;
|
|
18730
|
+
expires_at: string;
|
|
18731
|
+
first_viewed_at: string | null;
|
|
18732
|
+
id: string;
|
|
18733
|
+
processed_at: string | null;
|
|
18734
|
+
purchase_order_id: string;
|
|
18735
|
+
responded_at: string | null;
|
|
18736
|
+
sent_at: string;
|
|
18737
|
+
status: string;
|
|
18738
|
+
supplier_id: string | null;
|
|
18739
|
+
supplier_name: string;
|
|
18740
|
+
supplier_note: string | null;
|
|
18741
|
+
to_address: string | null;
|
|
18742
|
+
token_hash: string;
|
|
18743
|
+
updated_at: string;
|
|
18744
|
+
};
|
|
18745
|
+
Insert: {
|
|
18746
|
+
created_at?: string;
|
|
18747
|
+
expires_at?: string;
|
|
18748
|
+
first_viewed_at?: string | null;
|
|
18749
|
+
id?: string;
|
|
18750
|
+
processed_at?: string | null;
|
|
18751
|
+
purchase_order_id: string;
|
|
18752
|
+
responded_at?: string | null;
|
|
18753
|
+
sent_at?: string;
|
|
18754
|
+
status?: string;
|
|
18755
|
+
supplier_id?: string | null;
|
|
18756
|
+
supplier_name?: string;
|
|
18757
|
+
supplier_note?: string | null;
|
|
18758
|
+
to_address?: string | null;
|
|
18759
|
+
token_hash: string;
|
|
18760
|
+
updated_at?: string;
|
|
18761
|
+
};
|
|
18762
|
+
Update: {
|
|
18763
|
+
created_at?: string;
|
|
18764
|
+
expires_at?: string;
|
|
18765
|
+
first_viewed_at?: string | null;
|
|
18766
|
+
id?: string;
|
|
18767
|
+
processed_at?: string | null;
|
|
18768
|
+
purchase_order_id?: string;
|
|
18769
|
+
responded_at?: string | null;
|
|
18770
|
+
sent_at?: string;
|
|
18771
|
+
status?: string;
|
|
18772
|
+
supplier_id?: string | null;
|
|
18773
|
+
supplier_name?: string;
|
|
18774
|
+
supplier_note?: string | null;
|
|
18775
|
+
to_address?: string | null;
|
|
18776
|
+
token_hash?: string;
|
|
18777
|
+
updated_at?: string;
|
|
18778
|
+
};
|
|
18779
|
+
Relationships: [{
|
|
18780
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
18781
|
+
columns: ["purchase_order_id"];
|
|
18782
|
+
isOneToOne: false;
|
|
18783
|
+
referencedRelation: "purchase_orders";
|
|
18784
|
+
referencedColumns: ["id"];
|
|
18785
|
+
}, {
|
|
18786
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
18787
|
+
columns: ["supplier_id"];
|
|
18788
|
+
isOneToOne: false;
|
|
18789
|
+
referencedRelation: "suppliers";
|
|
18790
|
+
referencedColumns: ["id"];
|
|
18791
|
+
}];
|
|
18792
|
+
};
|
|
18466
18793
|
reception_notifications: {
|
|
18467
18794
|
Row: {
|
|
18468
18795
|
booking_id: string | null;
|
|
@@ -22888,7 +23215,7 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
22888
23215
|
created_at: string;
|
|
22889
23216
|
default_quantity: number;
|
|
22890
23217
|
description: string | null;
|
|
22891
|
-
duration_minutes: number
|
|
23218
|
+
duration_minutes: number;
|
|
22892
23219
|
id: string;
|
|
22893
23220
|
mandaat_type: string | null;
|
|
22894
23221
|
name: string;
|
|
@@ -22905,7 +23232,7 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
22905
23232
|
created_at?: string;
|
|
22906
23233
|
default_quantity?: number;
|
|
22907
23234
|
description?: string | null;
|
|
22908
|
-
duration_minutes?: number
|
|
23235
|
+
duration_minutes?: number;
|
|
22909
23236
|
id?: string;
|
|
22910
23237
|
mandaat_type?: string | null;
|
|
22911
23238
|
name: string;
|
|
@@ -22922,7 +23249,7 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
22922
23249
|
created_at?: string;
|
|
22923
23250
|
default_quantity?: number;
|
|
22924
23251
|
description?: string | null;
|
|
22925
|
-
duration_minutes?: number
|
|
23252
|
+
duration_minutes?: number;
|
|
22926
23253
|
id?: string;
|
|
22927
23254
|
mandaat_type?: string | null;
|
|
22928
23255
|
name?: string;
|
|
@@ -25918,6 +26245,31 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
25918
26245
|
};
|
|
25919
26246
|
Returns: import("../integrations/supabase/types").Json;
|
|
25920
26247
|
};
|
|
26248
|
+
inkoop_cancel_line: {
|
|
26249
|
+
Args: {
|
|
26250
|
+
_item_id: string;
|
|
26251
|
+
_reason: string;
|
|
26252
|
+
};
|
|
26253
|
+
Returns: string;
|
|
26254
|
+
};
|
|
26255
|
+
inkoop_get_supplier_request: {
|
|
26256
|
+
Args: {
|
|
26257
|
+
_token: string;
|
|
26258
|
+
};
|
|
26259
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26260
|
+
};
|
|
26261
|
+
inkoop_hash_token: {
|
|
26262
|
+
Args: {
|
|
26263
|
+
_token: string;
|
|
26264
|
+
};
|
|
26265
|
+
Returns: string;
|
|
26266
|
+
};
|
|
26267
|
+
inkoop_html_escape: {
|
|
26268
|
+
Args: {
|
|
26269
|
+
_t: string;
|
|
26270
|
+
};
|
|
26271
|
+
Returns: string;
|
|
26272
|
+
};
|
|
25921
26273
|
inkoop_list_artikelen: {
|
|
25922
26274
|
Args: never;
|
|
25923
26275
|
Returns: {
|
|
@@ -25942,9 +26294,17 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
25942
26294
|
Args: never;
|
|
25943
26295
|
Returns: string;
|
|
25944
26296
|
};
|
|
26297
|
+
inkoop_process_request: {
|
|
26298
|
+
Args: {
|
|
26299
|
+
_request_id: string;
|
|
26300
|
+
};
|
|
26301
|
+
Returns: undefined;
|
|
26302
|
+
};
|
|
25945
26303
|
inkoop_send_order: {
|
|
25946
26304
|
Args: {
|
|
26305
|
+
_base_url?: string;
|
|
25947
26306
|
_order_id: string;
|
|
26307
|
+
_resend?: boolean;
|
|
25948
26308
|
};
|
|
25949
26309
|
Returns: {
|
|
25950
26310
|
outbox_id: string;
|
|
@@ -25959,6 +26319,26 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
25959
26319
|
};
|
|
25960
26320
|
Returns: undefined;
|
|
25961
26321
|
};
|
|
26322
|
+
inkoop_stock_key: {
|
|
26323
|
+
Args: {
|
|
26324
|
+
p_product_id: string;
|
|
26325
|
+
};
|
|
26326
|
+
Returns: string;
|
|
26327
|
+
};
|
|
26328
|
+
inkoop_submit_supplier_response: {
|
|
26329
|
+
Args: {
|
|
26330
|
+
_lines: import("../integrations/supabase/types").Json;
|
|
26331
|
+
_note?: string;
|
|
26332
|
+
_token: string;
|
|
26333
|
+
};
|
|
26334
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26335
|
+
};
|
|
26336
|
+
inkoop_sync_item_stock: {
|
|
26337
|
+
Args: {
|
|
26338
|
+
p_item_id: string;
|
|
26339
|
+
};
|
|
26340
|
+
Returns: undefined;
|
|
26341
|
+
};
|
|
25962
26342
|
instructie_get: {
|
|
25963
26343
|
Args: {
|
|
25964
26344
|
_sleutel: string;
|
|
@@ -26119,6 +26499,27 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
26119
26499
|
};
|
|
26120
26500
|
Returns: boolean;
|
|
26121
26501
|
};
|
|
26502
|
+
layout_print_document: {
|
|
26503
|
+
Args: {
|
|
26504
|
+
_documentnaam: string;
|
|
26505
|
+
_documenttype: string;
|
|
26506
|
+
_herkomst?: string;
|
|
26507
|
+
_idempotentie_sleutel?: string;
|
|
26508
|
+
_is_herprint?: boolean;
|
|
26509
|
+
_kopieen?: number;
|
|
26510
|
+
_layout_id?: string;
|
|
26511
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
26512
|
+
_pdf_base64?: string;
|
|
26513
|
+
_pdf_url?: string;
|
|
26514
|
+
_print_plek_id?: string;
|
|
26515
|
+
_werkplek?: string;
|
|
26516
|
+
};
|
|
26517
|
+
Returns: {
|
|
26518
|
+
bestaand: boolean;
|
|
26519
|
+
job_id: string;
|
|
26520
|
+
printer_id: string;
|
|
26521
|
+
}[];
|
|
26522
|
+
};
|
|
26122
26523
|
list_medewerkers: {
|
|
26123
26524
|
Args: never;
|
|
26124
26525
|
Returns: {
|
|
@@ -26396,6 +26797,12 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
26396
26797
|
};
|
|
26397
26798
|
Returns: number;
|
|
26398
26799
|
};
|
|
26800
|
+
logistics_cart_barcode_opschonen: {
|
|
26801
|
+
Args: {
|
|
26802
|
+
p_portie?: number;
|
|
26803
|
+
};
|
|
26804
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26805
|
+
};
|
|
26399
26806
|
logistics_cart_barcode_value: {
|
|
26400
26807
|
Args: {
|
|
26401
26808
|
_cart_id: string;
|
|
@@ -26815,6 +27222,13 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
26815
27222
|
};
|
|
26816
27223
|
Returns: import("../integrations/supabase/types").Json;
|
|
26817
27224
|
};
|
|
27225
|
+
logistics_control_scan_print_own: {
|
|
27226
|
+
Args: {
|
|
27227
|
+
p_is_herprint?: boolean;
|
|
27228
|
+
p_scan_id: string;
|
|
27229
|
+
};
|
|
27230
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27231
|
+
};
|
|
26818
27232
|
logistics_control_scan_retry: {
|
|
26819
27233
|
Args: {
|
|
26820
27234
|
_id: string;
|
|
@@ -27719,6 +28133,21 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
27719
28133
|
};
|
|
27720
28134
|
Returns: import("../integrations/supabase/types").Json;
|
|
27721
28135
|
};
|
|
28136
|
+
logistics_print_via_layout: {
|
|
28137
|
+
Args: {
|
|
28138
|
+
_documentnaam: string;
|
|
28139
|
+
_documenttype: string;
|
|
28140
|
+
_herkomst: string;
|
|
28141
|
+
_idempotentie_sleutel: string;
|
|
28142
|
+
_is_herprint: boolean;
|
|
28143
|
+
_layout_id: string;
|
|
28144
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
28145
|
+
_pdf_base64: string;
|
|
28146
|
+
_pdf_url: string;
|
|
28147
|
+
_print_plek_id: string;
|
|
28148
|
+
};
|
|
28149
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28150
|
+
};
|
|
27722
28151
|
logistics_prune_buffer_member_queue: {
|
|
27723
28152
|
Args: never;
|
|
27724
28153
|
Returns: number;
|
|
@@ -28005,6 +28434,13 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
28005
28434
|
};
|
|
28006
28435
|
Returns: string;
|
|
28007
28436
|
};
|
|
28437
|
+
logistics_shipping_note_status: {
|
|
28438
|
+
Args: {
|
|
28439
|
+
p_cart_id?: string;
|
|
28440
|
+
p_slip_job_id?: string;
|
|
28441
|
+
};
|
|
28442
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28443
|
+
};
|
|
28008
28444
|
logistics_shipping_notes_wake_all: {
|
|
28009
28445
|
Args: never;
|
|
28010
28446
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -28067,6 +28503,12 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
28067
28503
|
};
|
|
28068
28504
|
Returns: undefined;
|
|
28069
28505
|
};
|
|
28506
|
+
logistics_slip_note_retry: {
|
|
28507
|
+
Args: {
|
|
28508
|
+
_id: string;
|
|
28509
|
+
};
|
|
28510
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28511
|
+
};
|
|
28070
28512
|
logistics_sticker_follows_slip: {
|
|
28071
28513
|
Args: never;
|
|
28072
28514
|
Returns: boolean;
|
|
@@ -28811,6 +29253,10 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
28811
29253
|
};
|
|
28812
29254
|
Returns: string;
|
|
28813
29255
|
};
|
|
29256
|
+
pick_is_reference_admin: {
|
|
29257
|
+
Args: never;
|
|
29258
|
+
Returns: boolean;
|
|
29259
|
+
};
|
|
28814
29260
|
pick_mark_printed: {
|
|
28815
29261
|
Args: {
|
|
28816
29262
|
_queue_item_id: string;
|
|
@@ -29234,6 +29680,12 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
29234
29680
|
};
|
|
29235
29681
|
Returns: import("../integrations/supabase/types").Json;
|
|
29236
29682
|
};
|
|
29683
|
+
pick_verify_rows: {
|
|
29684
|
+
Args: {
|
|
29685
|
+
_rows: import("../integrations/supabase/types").Json;
|
|
29686
|
+
};
|
|
29687
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
29688
|
+
};
|
|
29237
29689
|
pickstation_get_orders_raw: {
|
|
29238
29690
|
Args: never;
|
|
29239
29691
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -29414,6 +29866,12 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
29414
29866
|
};
|
|
29415
29867
|
Returns: import("../integrations/supabase/types").Json;
|
|
29416
29868
|
};
|
|
29869
|
+
quote_create_from_scratch: {
|
|
29870
|
+
Args: {
|
|
29871
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
29872
|
+
};
|
|
29873
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
29874
|
+
};
|
|
29417
29875
|
quote_create_from_source: {
|
|
29418
29876
|
Args: {
|
|
29419
29877
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -29464,6 +29922,13 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
29464
29922
|
};
|
|
29465
29923
|
Returns: string;
|
|
29466
29924
|
};
|
|
29925
|
+
quote_sync_work_order: {
|
|
29926
|
+
Args: {
|
|
29927
|
+
_monteur_instructies?: string;
|
|
29928
|
+
_offerte_id: string;
|
|
29929
|
+
};
|
|
29930
|
+
Returns: boolean;
|
|
29931
|
+
};
|
|
29467
29932
|
recompute_all_reserved_stock: {
|
|
29468
29933
|
Args: never;
|
|
29469
29934
|
Returns: undefined;
|
|
@@ -29684,6 +30149,13 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
29684
30149
|
};
|
|
29685
30150
|
Returns: import("../integrations/supabase/types").Json;
|
|
29686
30151
|
};
|
|
30152
|
+
scan_controleer_pincode: {
|
|
30153
|
+
Args: {
|
|
30154
|
+
p_pin: string;
|
|
30155
|
+
p_scanner_id: string;
|
|
30156
|
+
};
|
|
30157
|
+
Returns: boolean;
|
|
30158
|
+
};
|
|
29687
30159
|
scan_dashboard_stats: {
|
|
29688
30160
|
Args: {
|
|
29689
30161
|
p_dagen?: number;
|
|
@@ -29703,6 +30175,12 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
29703
30175
|
};
|
|
29704
30176
|
Returns: import("../integrations/supabase/types").Json;
|
|
29705
30177
|
};
|
|
30178
|
+
scan_heeft_pincode: {
|
|
30179
|
+
Args: {
|
|
30180
|
+
p_scanner_id: string;
|
|
30181
|
+
};
|
|
30182
|
+
Returns: boolean;
|
|
30183
|
+
};
|
|
29706
30184
|
scan_kar_compleet: {
|
|
29707
30185
|
Args: {
|
|
29708
30186
|
p_allow_reprint?: boolean;
|
|
@@ -29720,6 +30198,7 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
29720
30198
|
Args: {
|
|
29721
30199
|
p_code: string;
|
|
29722
30200
|
p_latency_ms?: number;
|
|
30201
|
+
p_medewerker?: string;
|
|
29723
30202
|
p_message?: string;
|
|
29724
30203
|
p_result: string;
|
|
29725
30204
|
p_scanner_key?: string;
|
|
@@ -29792,6 +30271,22 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
29792
30271
|
};
|
|
29793
30272
|
Returns: undefined;
|
|
29794
30273
|
};
|
|
30274
|
+
scan_scanner_info: {
|
|
30275
|
+
Args: {
|
|
30276
|
+
p_slug: string;
|
|
30277
|
+
};
|
|
30278
|
+
Returns: {
|
|
30279
|
+
actief: boolean;
|
|
30280
|
+
heeft_pincode: boolean;
|
|
30281
|
+
id: string;
|
|
30282
|
+
naam: string;
|
|
30283
|
+
omschrijving: string;
|
|
30284
|
+
printer_id: string;
|
|
30285
|
+
type: string;
|
|
30286
|
+
vereist_medewerker: boolean;
|
|
30287
|
+
werkplek: string;
|
|
30288
|
+
}[];
|
|
30289
|
+
};
|
|
29795
30290
|
scan_sessie_annuleren: {
|
|
29796
30291
|
Args: {
|
|
29797
30292
|
p_sessie_id: string;
|
|
@@ -30754,6 +31249,21 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
30754
31249
|
};
|
|
30755
31250
|
Returns: import("../integrations/supabase/types").Json;
|
|
30756
31251
|
};
|
|
31252
|
+
wo_list_colleague_planning: {
|
|
31253
|
+
Args: {
|
|
31254
|
+
_from: string;
|
|
31255
|
+
_monteur_id: string;
|
|
31256
|
+
_to: string;
|
|
31257
|
+
};
|
|
31258
|
+
Returns: {
|
|
31259
|
+
end_at: string;
|
|
31260
|
+
id: string;
|
|
31261
|
+
role: string;
|
|
31262
|
+
start_at: string;
|
|
31263
|
+
status: string;
|
|
31264
|
+
werkbon_id: string;
|
|
31265
|
+
}[];
|
|
31266
|
+
};
|
|
30757
31267
|
wo_list_offerte_requests: {
|
|
30758
31268
|
Args: {
|
|
30759
31269
|
_status?: string;
|
|
@@ -31569,6 +32079,27 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
31569
32079
|
};
|
|
31570
32080
|
Relationships: [];
|
|
31571
32081
|
};
|
|
32082
|
+
artikelen_instellingen: {
|
|
32083
|
+
Row: {
|
|
32084
|
+
created_at: string;
|
|
32085
|
+
id: number;
|
|
32086
|
+
marge_procent: number;
|
|
32087
|
+
updated_at: string;
|
|
32088
|
+
};
|
|
32089
|
+
Insert: {
|
|
32090
|
+
created_at?: string;
|
|
32091
|
+
id?: number;
|
|
32092
|
+
marge_procent?: number;
|
|
32093
|
+
updated_at?: string;
|
|
32094
|
+
};
|
|
32095
|
+
Update: {
|
|
32096
|
+
created_at?: string;
|
|
32097
|
+
id?: number;
|
|
32098
|
+
marge_procent?: number;
|
|
32099
|
+
updated_at?: string;
|
|
32100
|
+
};
|
|
32101
|
+
Relationships: [];
|
|
32102
|
+
};
|
|
31572
32103
|
artikelen_veldconfig: {
|
|
31573
32104
|
Row: {
|
|
31574
32105
|
bron_pad: string;
|
|
@@ -41244,6 +41775,30 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
41244
41775
|
};
|
|
41245
41776
|
Relationships: [];
|
|
41246
41777
|
};
|
|
41778
|
+
logistics_cart_barcode_archief: {
|
|
41779
|
+
Row: {
|
|
41780
|
+
barcode: string;
|
|
41781
|
+
cart_id: string;
|
|
41782
|
+
created_at: string | null;
|
|
41783
|
+
gearchiveerd_op: string;
|
|
41784
|
+
order_id: string | null;
|
|
41785
|
+
};
|
|
41786
|
+
Insert: {
|
|
41787
|
+
barcode: string;
|
|
41788
|
+
cart_id: string;
|
|
41789
|
+
created_at?: string | null;
|
|
41790
|
+
gearchiveerd_op?: string;
|
|
41791
|
+
order_id?: string | null;
|
|
41792
|
+
};
|
|
41793
|
+
Update: {
|
|
41794
|
+
barcode?: string;
|
|
41795
|
+
cart_id?: string;
|
|
41796
|
+
created_at?: string | null;
|
|
41797
|
+
gearchiveerd_op?: string;
|
|
41798
|
+
order_id?: string | null;
|
|
41799
|
+
};
|
|
41800
|
+
Relationships: [];
|
|
41801
|
+
};
|
|
41247
41802
|
logistics_control_scan: {
|
|
41248
41803
|
Row: {
|
|
41249
41804
|
approved_at: string | null;
|
|
@@ -46897,18 +47452,24 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
46897
47452
|
Row: {
|
|
46898
47453
|
id: boolean;
|
|
46899
47454
|
last_cleanup_at: string | null;
|
|
47455
|
+
last_error: string | null;
|
|
47456
|
+
last_error_at: string | null;
|
|
46900
47457
|
last_sync_at: string | null;
|
|
46901
47458
|
updated_at: string;
|
|
46902
47459
|
};
|
|
46903
47460
|
Insert: {
|
|
46904
47461
|
id?: boolean;
|
|
46905
47462
|
last_cleanup_at?: string | null;
|
|
47463
|
+
last_error?: string | null;
|
|
47464
|
+
last_error_at?: string | null;
|
|
46906
47465
|
last_sync_at?: string | null;
|
|
46907
47466
|
updated_at?: string;
|
|
46908
47467
|
};
|
|
46909
47468
|
Update: {
|
|
46910
47469
|
id?: boolean;
|
|
46911
47470
|
last_cleanup_at?: string | null;
|
|
47471
|
+
last_error?: string | null;
|
|
47472
|
+
last_error_at?: string | null;
|
|
46912
47473
|
last_sync_at?: string | null;
|
|
46913
47474
|
updated_at?: string;
|
|
46914
47475
|
};
|
|
@@ -47034,6 +47595,54 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
47034
47595
|
};
|
|
47035
47596
|
Relationships: [];
|
|
47036
47597
|
};
|
|
47598
|
+
planning_confirmation_log: {
|
|
47599
|
+
Row: {
|
|
47600
|
+
created_at: string;
|
|
47601
|
+
end_at: string;
|
|
47602
|
+
id: string;
|
|
47603
|
+
outbox_id: string | null;
|
|
47604
|
+
planning_item_id: string;
|
|
47605
|
+
reason: string | null;
|
|
47606
|
+
recipient: string | null;
|
|
47607
|
+
start_at: string;
|
|
47608
|
+
status: string;
|
|
47609
|
+
};
|
|
47610
|
+
Insert: {
|
|
47611
|
+
created_at?: string;
|
|
47612
|
+
end_at: string;
|
|
47613
|
+
id?: string;
|
|
47614
|
+
outbox_id?: string | null;
|
|
47615
|
+
planning_item_id: string;
|
|
47616
|
+
reason?: string | null;
|
|
47617
|
+
recipient?: string | null;
|
|
47618
|
+
start_at: string;
|
|
47619
|
+
status: string;
|
|
47620
|
+
};
|
|
47621
|
+
Update: {
|
|
47622
|
+
created_at?: string;
|
|
47623
|
+
end_at?: string;
|
|
47624
|
+
id?: string;
|
|
47625
|
+
outbox_id?: string | null;
|
|
47626
|
+
planning_item_id?: string;
|
|
47627
|
+
reason?: string | null;
|
|
47628
|
+
recipient?: string | null;
|
|
47629
|
+
start_at?: string;
|
|
47630
|
+
status?: string;
|
|
47631
|
+
};
|
|
47632
|
+
Relationships: [{
|
|
47633
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
47634
|
+
columns: ["planning_item_id"];
|
|
47635
|
+
isOneToOne: false;
|
|
47636
|
+
referencedRelation: "planning_items";
|
|
47637
|
+
referencedColumns: ["id"];
|
|
47638
|
+
}, {
|
|
47639
|
+
foreignKeyName: "planning_confirmation_log_planning_item_id_fkey";
|
|
47640
|
+
columns: ["planning_item_id"];
|
|
47641
|
+
isOneToOne: false;
|
|
47642
|
+
referencedRelation: "planning_overview";
|
|
47643
|
+
referencedColumns: ["id"];
|
|
47644
|
+
}];
|
|
47645
|
+
};
|
|
47037
47646
|
planning_item_assistants: {
|
|
47038
47647
|
Row: {
|
|
47039
47648
|
created_at: string;
|
|
@@ -47118,6 +47727,60 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
47118
47727
|
referencedColumns: ["id"];
|
|
47119
47728
|
}];
|
|
47120
47729
|
};
|
|
47730
|
+
planning_mail_settings: {
|
|
47731
|
+
Row: {
|
|
47732
|
+
body_template: string;
|
|
47733
|
+
cc: string[];
|
|
47734
|
+
connection_id: string | null;
|
|
47735
|
+
created_at: string;
|
|
47736
|
+
enabled: boolean;
|
|
47737
|
+
id: boolean;
|
|
47738
|
+
reply_to: string | null;
|
|
47739
|
+
subject_template: string;
|
|
47740
|
+
timezone: string;
|
|
47741
|
+
updated_at: string;
|
|
47742
|
+
updated_by: string | null;
|
|
47743
|
+
};
|
|
47744
|
+
Insert: {
|
|
47745
|
+
body_template?: string;
|
|
47746
|
+
cc?: string[];
|
|
47747
|
+
connection_id?: string | null;
|
|
47748
|
+
created_at?: string;
|
|
47749
|
+
enabled?: boolean;
|
|
47750
|
+
id?: boolean;
|
|
47751
|
+
reply_to?: string | null;
|
|
47752
|
+
subject_template?: string;
|
|
47753
|
+
timezone?: string;
|
|
47754
|
+
updated_at?: string;
|
|
47755
|
+
updated_by?: string | null;
|
|
47756
|
+
};
|
|
47757
|
+
Update: {
|
|
47758
|
+
body_template?: string;
|
|
47759
|
+
cc?: string[];
|
|
47760
|
+
connection_id?: string | null;
|
|
47761
|
+
created_at?: string;
|
|
47762
|
+
enabled?: boolean;
|
|
47763
|
+
id?: boolean;
|
|
47764
|
+
reply_to?: string | null;
|
|
47765
|
+
subject_template?: string;
|
|
47766
|
+
timezone?: string;
|
|
47767
|
+
updated_at?: string;
|
|
47768
|
+
updated_by?: string | null;
|
|
47769
|
+
};
|
|
47770
|
+
Relationships: [{
|
|
47771
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
47772
|
+
columns: ["connection_id"];
|
|
47773
|
+
isOneToOne: false;
|
|
47774
|
+
referencedRelation: "email_auth_connections";
|
|
47775
|
+
referencedColumns: ["id"];
|
|
47776
|
+
}, {
|
|
47777
|
+
foreignKeyName: "planning_mail_settings_connection_id_fkey";
|
|
47778
|
+
columns: ["connection_id"];
|
|
47779
|
+
isOneToOne: false;
|
|
47780
|
+
referencedRelation: "email_auth_connections_safe";
|
|
47781
|
+
referencedColumns: ["id"];
|
|
47782
|
+
}];
|
|
47783
|
+
};
|
|
47121
47784
|
planning_monteur_day_locations: {
|
|
47122
47785
|
Row: {
|
|
47123
47786
|
created_at: string;
|
|
@@ -48596,6 +49259,9 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
48596
49259
|
lead_time_days: number | null;
|
|
48597
49260
|
min_order_quantity: number | null;
|
|
48598
49261
|
notes: string | null;
|
|
49262
|
+
previous_price_cents: number | null;
|
|
49263
|
+
price_source: string;
|
|
49264
|
+
price_updated_at: string | null;
|
|
48599
49265
|
product_id: string;
|
|
48600
49266
|
purchase_price_cents: number | null;
|
|
48601
49267
|
supplier_article_number: string | null;
|
|
@@ -48609,6 +49275,9 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
48609
49275
|
lead_time_days?: number | null;
|
|
48610
49276
|
min_order_quantity?: number | null;
|
|
48611
49277
|
notes?: string | null;
|
|
49278
|
+
previous_price_cents?: number | null;
|
|
49279
|
+
price_source?: string;
|
|
49280
|
+
price_updated_at?: string | null;
|
|
48612
49281
|
product_id: string;
|
|
48613
49282
|
purchase_price_cents?: number | null;
|
|
48614
49283
|
supplier_article_number?: string | null;
|
|
@@ -48622,6 +49291,9 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
48622
49291
|
lead_time_days?: number | null;
|
|
48623
49292
|
min_order_quantity?: number | null;
|
|
48624
49293
|
notes?: string | null;
|
|
49294
|
+
previous_price_cents?: number | null;
|
|
49295
|
+
price_source?: string;
|
|
49296
|
+
price_updated_at?: string | null;
|
|
48625
49297
|
product_id?: string;
|
|
48626
49298
|
purchase_price_cents?: number | null;
|
|
48627
49299
|
supplier_article_number?: string | null;
|
|
@@ -49152,9 +49824,13 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
49152
49824
|
purchase_order_items: {
|
|
49153
49825
|
Row: {
|
|
49154
49826
|
article_number: string | null;
|
|
49827
|
+
cancel_reason: string | null;
|
|
49828
|
+
cancelled_at: string | null;
|
|
49155
49829
|
created_at: string;
|
|
49156
49830
|
delivery_date: string | null;
|
|
49157
49831
|
id: string;
|
|
49832
|
+
incoming_booked: number;
|
|
49833
|
+
line_status: string;
|
|
49158
49834
|
name: string;
|
|
49159
49835
|
note: string | null;
|
|
49160
49836
|
pot_size: string | null;
|
|
@@ -49162,6 +49838,8 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
49162
49838
|
product_type: string;
|
|
49163
49839
|
purchase_order_id: string;
|
|
49164
49840
|
quantity: number;
|
|
49841
|
+
received_at: string | null;
|
|
49842
|
+
received_booked: number;
|
|
49165
49843
|
supplier_id: string | null;
|
|
49166
49844
|
supplier_product_id: string | null;
|
|
49167
49845
|
unit_price_cents: number;
|
|
@@ -49169,9 +49847,13 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
49169
49847
|
};
|
|
49170
49848
|
Insert: {
|
|
49171
49849
|
article_number?: string | null;
|
|
49850
|
+
cancel_reason?: string | null;
|
|
49851
|
+
cancelled_at?: string | null;
|
|
49172
49852
|
created_at?: string;
|
|
49173
49853
|
delivery_date?: string | null;
|
|
49174
49854
|
id?: string;
|
|
49855
|
+
incoming_booked?: number;
|
|
49856
|
+
line_status?: string;
|
|
49175
49857
|
name?: string;
|
|
49176
49858
|
note?: string | null;
|
|
49177
49859
|
pot_size?: string | null;
|
|
@@ -49179,6 +49861,8 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
49179
49861
|
product_type?: string;
|
|
49180
49862
|
purchase_order_id: string;
|
|
49181
49863
|
quantity?: number;
|
|
49864
|
+
received_at?: string | null;
|
|
49865
|
+
received_booked?: number;
|
|
49182
49866
|
supplier_id?: string | null;
|
|
49183
49867
|
supplier_product_id?: string | null;
|
|
49184
49868
|
unit_price_cents?: number;
|
|
@@ -49186,9 +49870,13 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
49186
49870
|
};
|
|
49187
49871
|
Update: {
|
|
49188
49872
|
article_number?: string | null;
|
|
49873
|
+
cancel_reason?: string | null;
|
|
49874
|
+
cancelled_at?: string | null;
|
|
49189
49875
|
created_at?: string;
|
|
49190
49876
|
delivery_date?: string | null;
|
|
49191
49877
|
id?: string;
|
|
49878
|
+
incoming_booked?: number;
|
|
49879
|
+
line_status?: string;
|
|
49192
49880
|
name?: string;
|
|
49193
49881
|
note?: string | null;
|
|
49194
49882
|
pot_size?: string | null;
|
|
@@ -49196,6 +49884,8 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
49196
49884
|
product_type?: string;
|
|
49197
49885
|
purchase_order_id?: string;
|
|
49198
49886
|
quantity?: number;
|
|
49887
|
+
received_at?: string | null;
|
|
49888
|
+
received_booked?: number;
|
|
49199
49889
|
supplier_id?: string | null;
|
|
49200
49890
|
supplier_product_id?: string | null;
|
|
49201
49891
|
unit_price_cents?: number;
|
|
@@ -49299,6 +49989,153 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
49299
49989
|
referencedColumns: ["id"];
|
|
49300
49990
|
}];
|
|
49301
49991
|
};
|
|
49992
|
+
purchase_request_events: {
|
|
49993
|
+
Row: {
|
|
49994
|
+
created_at: string;
|
|
49995
|
+
details: import("../integrations/supabase/types").Json | null;
|
|
49996
|
+
event_type: string;
|
|
49997
|
+
id: string;
|
|
49998
|
+
request_id: string;
|
|
49999
|
+
};
|
|
50000
|
+
Insert: {
|
|
50001
|
+
created_at?: string;
|
|
50002
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
50003
|
+
event_type: string;
|
|
50004
|
+
id?: string;
|
|
50005
|
+
request_id: string;
|
|
50006
|
+
};
|
|
50007
|
+
Update: {
|
|
50008
|
+
created_at?: string;
|
|
50009
|
+
details?: import("../integrations/supabase/types").Json | null;
|
|
50010
|
+
event_type?: string;
|
|
50011
|
+
id?: string;
|
|
50012
|
+
request_id?: string;
|
|
50013
|
+
};
|
|
50014
|
+
Relationships: [{
|
|
50015
|
+
foreignKeyName: "purchase_request_events_request_id_fkey";
|
|
50016
|
+
columns: ["request_id"];
|
|
50017
|
+
isOneToOne: false;
|
|
50018
|
+
referencedRelation: "purchase_requests";
|
|
50019
|
+
referencedColumns: ["id"];
|
|
50020
|
+
}];
|
|
50021
|
+
};
|
|
50022
|
+
purchase_request_responses: {
|
|
50023
|
+
Row: {
|
|
50024
|
+
confirmed_date: string | null;
|
|
50025
|
+
confirmed_price_cents: number | null;
|
|
50026
|
+
confirmed_quantity: number;
|
|
50027
|
+
created_at: string;
|
|
50028
|
+
id: string;
|
|
50029
|
+
not_available: boolean;
|
|
50030
|
+
note: string | null;
|
|
50031
|
+
purchase_order_item_id: string;
|
|
50032
|
+
request_id: string;
|
|
50033
|
+
updated_at: string;
|
|
50034
|
+
};
|
|
50035
|
+
Insert: {
|
|
50036
|
+
confirmed_date?: string | null;
|
|
50037
|
+
confirmed_price_cents?: number | null;
|
|
50038
|
+
confirmed_quantity?: number;
|
|
50039
|
+
created_at?: string;
|
|
50040
|
+
id?: string;
|
|
50041
|
+
not_available?: boolean;
|
|
50042
|
+
note?: string | null;
|
|
50043
|
+
purchase_order_item_id: string;
|
|
50044
|
+
request_id: string;
|
|
50045
|
+
updated_at?: string;
|
|
50046
|
+
};
|
|
50047
|
+
Update: {
|
|
50048
|
+
confirmed_date?: string | null;
|
|
50049
|
+
confirmed_price_cents?: number | null;
|
|
50050
|
+
confirmed_quantity?: number;
|
|
50051
|
+
created_at?: string;
|
|
50052
|
+
id?: string;
|
|
50053
|
+
not_available?: boolean;
|
|
50054
|
+
note?: string | null;
|
|
50055
|
+
purchase_order_item_id?: string;
|
|
50056
|
+
request_id?: string;
|
|
50057
|
+
updated_at?: string;
|
|
50058
|
+
};
|
|
50059
|
+
Relationships: [{
|
|
50060
|
+
foreignKeyName: "purchase_request_responses_purchase_order_item_id_fkey";
|
|
50061
|
+
columns: ["purchase_order_item_id"];
|
|
50062
|
+
isOneToOne: false;
|
|
50063
|
+
referencedRelation: "purchase_order_items";
|
|
50064
|
+
referencedColumns: ["id"];
|
|
50065
|
+
}, {
|
|
50066
|
+
foreignKeyName: "purchase_request_responses_request_id_fkey";
|
|
50067
|
+
columns: ["request_id"];
|
|
50068
|
+
isOneToOne: false;
|
|
50069
|
+
referencedRelation: "purchase_requests";
|
|
50070
|
+
referencedColumns: ["id"];
|
|
50071
|
+
}];
|
|
50072
|
+
};
|
|
50073
|
+
purchase_requests: {
|
|
50074
|
+
Row: {
|
|
50075
|
+
created_at: string;
|
|
50076
|
+
expires_at: string;
|
|
50077
|
+
first_viewed_at: string | null;
|
|
50078
|
+
id: string;
|
|
50079
|
+
processed_at: string | null;
|
|
50080
|
+
purchase_order_id: string;
|
|
50081
|
+
responded_at: string | null;
|
|
50082
|
+
sent_at: string;
|
|
50083
|
+
status: string;
|
|
50084
|
+
supplier_id: string | null;
|
|
50085
|
+
supplier_name: string;
|
|
50086
|
+
supplier_note: string | null;
|
|
50087
|
+
to_address: string | null;
|
|
50088
|
+
token_hash: string;
|
|
50089
|
+
updated_at: string;
|
|
50090
|
+
};
|
|
50091
|
+
Insert: {
|
|
50092
|
+
created_at?: string;
|
|
50093
|
+
expires_at?: string;
|
|
50094
|
+
first_viewed_at?: string | null;
|
|
50095
|
+
id?: string;
|
|
50096
|
+
processed_at?: string | null;
|
|
50097
|
+
purchase_order_id: string;
|
|
50098
|
+
responded_at?: string | null;
|
|
50099
|
+
sent_at?: string;
|
|
50100
|
+
status?: string;
|
|
50101
|
+
supplier_id?: string | null;
|
|
50102
|
+
supplier_name?: string;
|
|
50103
|
+
supplier_note?: string | null;
|
|
50104
|
+
to_address?: string | null;
|
|
50105
|
+
token_hash: string;
|
|
50106
|
+
updated_at?: string;
|
|
50107
|
+
};
|
|
50108
|
+
Update: {
|
|
50109
|
+
created_at?: string;
|
|
50110
|
+
expires_at?: string;
|
|
50111
|
+
first_viewed_at?: string | null;
|
|
50112
|
+
id?: string;
|
|
50113
|
+
processed_at?: string | null;
|
|
50114
|
+
purchase_order_id?: string;
|
|
50115
|
+
responded_at?: string | null;
|
|
50116
|
+
sent_at?: string;
|
|
50117
|
+
status?: string;
|
|
50118
|
+
supplier_id?: string | null;
|
|
50119
|
+
supplier_name?: string;
|
|
50120
|
+
supplier_note?: string | null;
|
|
50121
|
+
to_address?: string | null;
|
|
50122
|
+
token_hash?: string;
|
|
50123
|
+
updated_at?: string;
|
|
50124
|
+
};
|
|
50125
|
+
Relationships: [{
|
|
50126
|
+
foreignKeyName: "purchase_requests_purchase_order_id_fkey";
|
|
50127
|
+
columns: ["purchase_order_id"];
|
|
50128
|
+
isOneToOne: false;
|
|
50129
|
+
referencedRelation: "purchase_orders";
|
|
50130
|
+
referencedColumns: ["id"];
|
|
50131
|
+
}, {
|
|
50132
|
+
foreignKeyName: "purchase_requests_supplier_id_fkey";
|
|
50133
|
+
columns: ["supplier_id"];
|
|
50134
|
+
isOneToOne: false;
|
|
50135
|
+
referencedRelation: "suppliers";
|
|
50136
|
+
referencedColumns: ["id"];
|
|
50137
|
+
}];
|
|
50138
|
+
};
|
|
49302
50139
|
reception_notifications: {
|
|
49303
50140
|
Row: {
|
|
49304
50141
|
booking_id: string | null;
|
|
@@ -53724,7 +54561,7 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
53724
54561
|
created_at: string;
|
|
53725
54562
|
default_quantity: number;
|
|
53726
54563
|
description: string | null;
|
|
53727
|
-
duration_minutes: number
|
|
54564
|
+
duration_minutes: number;
|
|
53728
54565
|
id: string;
|
|
53729
54566
|
mandaat_type: string | null;
|
|
53730
54567
|
name: string;
|
|
@@ -53741,7 +54578,7 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
53741
54578
|
created_at?: string;
|
|
53742
54579
|
default_quantity?: number;
|
|
53743
54580
|
description?: string | null;
|
|
53744
|
-
duration_minutes?: number
|
|
54581
|
+
duration_minutes?: number;
|
|
53745
54582
|
id?: string;
|
|
53746
54583
|
mandaat_type?: string | null;
|
|
53747
54584
|
name: string;
|
|
@@ -53758,7 +54595,7 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
53758
54595
|
created_at?: string;
|
|
53759
54596
|
default_quantity?: number;
|
|
53760
54597
|
description?: string | null;
|
|
53761
|
-
duration_minutes?: number
|
|
54598
|
+
duration_minutes?: number;
|
|
53762
54599
|
id?: string;
|
|
53763
54600
|
mandaat_type?: string | null;
|
|
53764
54601
|
name?: string;
|
|
@@ -56754,6 +57591,31 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
56754
57591
|
};
|
|
56755
57592
|
Returns: import("../integrations/supabase/types").Json;
|
|
56756
57593
|
};
|
|
57594
|
+
inkoop_cancel_line: {
|
|
57595
|
+
Args: {
|
|
57596
|
+
_item_id: string;
|
|
57597
|
+
_reason: string;
|
|
57598
|
+
};
|
|
57599
|
+
Returns: string;
|
|
57600
|
+
};
|
|
57601
|
+
inkoop_get_supplier_request: {
|
|
57602
|
+
Args: {
|
|
57603
|
+
_token: string;
|
|
57604
|
+
};
|
|
57605
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
57606
|
+
};
|
|
57607
|
+
inkoop_hash_token: {
|
|
57608
|
+
Args: {
|
|
57609
|
+
_token: string;
|
|
57610
|
+
};
|
|
57611
|
+
Returns: string;
|
|
57612
|
+
};
|
|
57613
|
+
inkoop_html_escape: {
|
|
57614
|
+
Args: {
|
|
57615
|
+
_t: string;
|
|
57616
|
+
};
|
|
57617
|
+
Returns: string;
|
|
57618
|
+
};
|
|
56757
57619
|
inkoop_list_artikelen: {
|
|
56758
57620
|
Args: never;
|
|
56759
57621
|
Returns: {
|
|
@@ -56778,9 +57640,17 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
56778
57640
|
Args: never;
|
|
56779
57641
|
Returns: string;
|
|
56780
57642
|
};
|
|
57643
|
+
inkoop_process_request: {
|
|
57644
|
+
Args: {
|
|
57645
|
+
_request_id: string;
|
|
57646
|
+
};
|
|
57647
|
+
Returns: undefined;
|
|
57648
|
+
};
|
|
56781
57649
|
inkoop_send_order: {
|
|
56782
57650
|
Args: {
|
|
57651
|
+
_base_url?: string;
|
|
56783
57652
|
_order_id: string;
|
|
57653
|
+
_resend?: boolean;
|
|
56784
57654
|
};
|
|
56785
57655
|
Returns: {
|
|
56786
57656
|
outbox_id: string;
|
|
@@ -56795,6 +57665,26 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
56795
57665
|
};
|
|
56796
57666
|
Returns: undefined;
|
|
56797
57667
|
};
|
|
57668
|
+
inkoop_stock_key: {
|
|
57669
|
+
Args: {
|
|
57670
|
+
p_product_id: string;
|
|
57671
|
+
};
|
|
57672
|
+
Returns: string;
|
|
57673
|
+
};
|
|
57674
|
+
inkoop_submit_supplier_response: {
|
|
57675
|
+
Args: {
|
|
57676
|
+
_lines: import("../integrations/supabase/types").Json;
|
|
57677
|
+
_note?: string;
|
|
57678
|
+
_token: string;
|
|
57679
|
+
};
|
|
57680
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
57681
|
+
};
|
|
57682
|
+
inkoop_sync_item_stock: {
|
|
57683
|
+
Args: {
|
|
57684
|
+
p_item_id: string;
|
|
57685
|
+
};
|
|
57686
|
+
Returns: undefined;
|
|
57687
|
+
};
|
|
56798
57688
|
instructie_get: {
|
|
56799
57689
|
Args: {
|
|
56800
57690
|
_sleutel: string;
|
|
@@ -56955,6 +57845,27 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
56955
57845
|
};
|
|
56956
57846
|
Returns: boolean;
|
|
56957
57847
|
};
|
|
57848
|
+
layout_print_document: {
|
|
57849
|
+
Args: {
|
|
57850
|
+
_documentnaam: string;
|
|
57851
|
+
_documenttype: string;
|
|
57852
|
+
_herkomst?: string;
|
|
57853
|
+
_idempotentie_sleutel?: string;
|
|
57854
|
+
_is_herprint?: boolean;
|
|
57855
|
+
_kopieen?: number;
|
|
57856
|
+
_layout_id?: string;
|
|
57857
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
57858
|
+
_pdf_base64?: string;
|
|
57859
|
+
_pdf_url?: string;
|
|
57860
|
+
_print_plek_id?: string;
|
|
57861
|
+
_werkplek?: string;
|
|
57862
|
+
};
|
|
57863
|
+
Returns: {
|
|
57864
|
+
bestaand: boolean;
|
|
57865
|
+
job_id: string;
|
|
57866
|
+
printer_id: string;
|
|
57867
|
+
}[];
|
|
57868
|
+
};
|
|
56958
57869
|
list_medewerkers: {
|
|
56959
57870
|
Args: never;
|
|
56960
57871
|
Returns: {
|
|
@@ -57232,6 +58143,12 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
57232
58143
|
};
|
|
57233
58144
|
Returns: number;
|
|
57234
58145
|
};
|
|
58146
|
+
logistics_cart_barcode_opschonen: {
|
|
58147
|
+
Args: {
|
|
58148
|
+
p_portie?: number;
|
|
58149
|
+
};
|
|
58150
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
58151
|
+
};
|
|
57235
58152
|
logistics_cart_barcode_value: {
|
|
57236
58153
|
Args: {
|
|
57237
58154
|
_cart_id: string;
|
|
@@ -57651,6 +58568,13 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
57651
58568
|
};
|
|
57652
58569
|
Returns: import("../integrations/supabase/types").Json;
|
|
57653
58570
|
};
|
|
58571
|
+
logistics_control_scan_print_own: {
|
|
58572
|
+
Args: {
|
|
58573
|
+
p_is_herprint?: boolean;
|
|
58574
|
+
p_scan_id: string;
|
|
58575
|
+
};
|
|
58576
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
58577
|
+
};
|
|
57654
58578
|
logistics_control_scan_retry: {
|
|
57655
58579
|
Args: {
|
|
57656
58580
|
_id: string;
|
|
@@ -58555,6 +59479,21 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
58555
59479
|
};
|
|
58556
59480
|
Returns: import("../integrations/supabase/types").Json;
|
|
58557
59481
|
};
|
|
59482
|
+
logistics_print_via_layout: {
|
|
59483
|
+
Args: {
|
|
59484
|
+
_documentnaam: string;
|
|
59485
|
+
_documenttype: string;
|
|
59486
|
+
_herkomst: string;
|
|
59487
|
+
_idempotentie_sleutel: string;
|
|
59488
|
+
_is_herprint: boolean;
|
|
59489
|
+
_layout_id: string;
|
|
59490
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
59491
|
+
_pdf_base64: string;
|
|
59492
|
+
_pdf_url: string;
|
|
59493
|
+
_print_plek_id: string;
|
|
59494
|
+
};
|
|
59495
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59496
|
+
};
|
|
58558
59497
|
logistics_prune_buffer_member_queue: {
|
|
58559
59498
|
Args: never;
|
|
58560
59499
|
Returns: number;
|
|
@@ -58841,6 +59780,13 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
58841
59780
|
};
|
|
58842
59781
|
Returns: string;
|
|
58843
59782
|
};
|
|
59783
|
+
logistics_shipping_note_status: {
|
|
59784
|
+
Args: {
|
|
59785
|
+
p_cart_id?: string;
|
|
59786
|
+
p_slip_job_id?: string;
|
|
59787
|
+
};
|
|
59788
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59789
|
+
};
|
|
58844
59790
|
logistics_shipping_notes_wake_all: {
|
|
58845
59791
|
Args: never;
|
|
58846
59792
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -58903,6 +59849,12 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
58903
59849
|
};
|
|
58904
59850
|
Returns: undefined;
|
|
58905
59851
|
};
|
|
59852
|
+
logistics_slip_note_retry: {
|
|
59853
|
+
Args: {
|
|
59854
|
+
_id: string;
|
|
59855
|
+
};
|
|
59856
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59857
|
+
};
|
|
58906
59858
|
logistics_sticker_follows_slip: {
|
|
58907
59859
|
Args: never;
|
|
58908
59860
|
Returns: boolean;
|
|
@@ -59647,6 +60599,10 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
59647
60599
|
};
|
|
59648
60600
|
Returns: string;
|
|
59649
60601
|
};
|
|
60602
|
+
pick_is_reference_admin: {
|
|
60603
|
+
Args: never;
|
|
60604
|
+
Returns: boolean;
|
|
60605
|
+
};
|
|
59650
60606
|
pick_mark_printed: {
|
|
59651
60607
|
Args: {
|
|
59652
60608
|
_queue_item_id: string;
|
|
@@ -60070,6 +61026,12 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
60070
61026
|
};
|
|
60071
61027
|
Returns: import("../integrations/supabase/types").Json;
|
|
60072
61028
|
};
|
|
61029
|
+
pick_verify_rows: {
|
|
61030
|
+
Args: {
|
|
61031
|
+
_rows: import("../integrations/supabase/types").Json;
|
|
61032
|
+
};
|
|
61033
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
61034
|
+
};
|
|
60073
61035
|
pickstation_get_orders_raw: {
|
|
60074
61036
|
Args: never;
|
|
60075
61037
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -60250,6 +61212,12 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
60250
61212
|
};
|
|
60251
61213
|
Returns: import("../integrations/supabase/types").Json;
|
|
60252
61214
|
};
|
|
61215
|
+
quote_create_from_scratch: {
|
|
61216
|
+
Args: {
|
|
61217
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
61218
|
+
};
|
|
61219
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
61220
|
+
};
|
|
60253
61221
|
quote_create_from_source: {
|
|
60254
61222
|
Args: {
|
|
60255
61223
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -60300,6 +61268,13 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
60300
61268
|
};
|
|
60301
61269
|
Returns: string;
|
|
60302
61270
|
};
|
|
61271
|
+
quote_sync_work_order: {
|
|
61272
|
+
Args: {
|
|
61273
|
+
_monteur_instructies?: string;
|
|
61274
|
+
_offerte_id: string;
|
|
61275
|
+
};
|
|
61276
|
+
Returns: boolean;
|
|
61277
|
+
};
|
|
60303
61278
|
recompute_all_reserved_stock: {
|
|
60304
61279
|
Args: never;
|
|
60305
61280
|
Returns: undefined;
|
|
@@ -60520,6 +61495,13 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
60520
61495
|
};
|
|
60521
61496
|
Returns: import("../integrations/supabase/types").Json;
|
|
60522
61497
|
};
|
|
61498
|
+
scan_controleer_pincode: {
|
|
61499
|
+
Args: {
|
|
61500
|
+
p_pin: string;
|
|
61501
|
+
p_scanner_id: string;
|
|
61502
|
+
};
|
|
61503
|
+
Returns: boolean;
|
|
61504
|
+
};
|
|
60523
61505
|
scan_dashboard_stats: {
|
|
60524
61506
|
Args: {
|
|
60525
61507
|
p_dagen?: number;
|
|
@@ -60539,6 +61521,12 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
60539
61521
|
};
|
|
60540
61522
|
Returns: import("../integrations/supabase/types").Json;
|
|
60541
61523
|
};
|
|
61524
|
+
scan_heeft_pincode: {
|
|
61525
|
+
Args: {
|
|
61526
|
+
p_scanner_id: string;
|
|
61527
|
+
};
|
|
61528
|
+
Returns: boolean;
|
|
61529
|
+
};
|
|
60542
61530
|
scan_kar_compleet: {
|
|
60543
61531
|
Args: {
|
|
60544
61532
|
p_allow_reprint?: boolean;
|
|
@@ -60556,6 +61544,7 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
60556
61544
|
Args: {
|
|
60557
61545
|
p_code: string;
|
|
60558
61546
|
p_latency_ms?: number;
|
|
61547
|
+
p_medewerker?: string;
|
|
60559
61548
|
p_message?: string;
|
|
60560
61549
|
p_result: string;
|
|
60561
61550
|
p_scanner_key?: string;
|
|
@@ -60628,6 +61617,22 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
60628
61617
|
};
|
|
60629
61618
|
Returns: undefined;
|
|
60630
61619
|
};
|
|
61620
|
+
scan_scanner_info: {
|
|
61621
|
+
Args: {
|
|
61622
|
+
p_slug: string;
|
|
61623
|
+
};
|
|
61624
|
+
Returns: {
|
|
61625
|
+
actief: boolean;
|
|
61626
|
+
heeft_pincode: boolean;
|
|
61627
|
+
id: string;
|
|
61628
|
+
naam: string;
|
|
61629
|
+
omschrijving: string;
|
|
61630
|
+
printer_id: string;
|
|
61631
|
+
type: string;
|
|
61632
|
+
vereist_medewerker: boolean;
|
|
61633
|
+
werkplek: string;
|
|
61634
|
+
}[];
|
|
61635
|
+
};
|
|
60631
61636
|
scan_sessie_annuleren: {
|
|
60632
61637
|
Args: {
|
|
60633
61638
|
p_sessie_id: string;
|
|
@@ -61590,6 +62595,21 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
61590
62595
|
};
|
|
61591
62596
|
Returns: import("../integrations/supabase/types").Json;
|
|
61592
62597
|
};
|
|
62598
|
+
wo_list_colleague_planning: {
|
|
62599
|
+
Args: {
|
|
62600
|
+
_from: string;
|
|
62601
|
+
_monteur_id: string;
|
|
62602
|
+
_to: string;
|
|
62603
|
+
};
|
|
62604
|
+
Returns: {
|
|
62605
|
+
end_at: string;
|
|
62606
|
+
id: string;
|
|
62607
|
+
role: string;
|
|
62608
|
+
start_at: string;
|
|
62609
|
+
status: string;
|
|
62610
|
+
werkbon_id: string;
|
|
62611
|
+
}[];
|
|
62612
|
+
};
|
|
61593
62613
|
wo_list_offerte_requests: {
|
|
61594
62614
|
Args: {
|
|
61595
62615
|
_status?: string;
|