@flowselections/scan-module 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/scanners/EindcontroleScanner.d.ts.map +1 -1
- package/dist-lib/components/scanners/EindcontroleScanner.js +67 -3
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +2169 -53
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +2169 -53
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +2169 -53
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +2184 -42
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1451,9 +1451,10 @@ export type Database = {
|
|
|
1451
1451
|
Row: {
|
|
1452
1452
|
assigned_at: string;
|
|
1453
1453
|
cart_index: number;
|
|
1454
|
-
cart_number: string
|
|
1454
|
+
cart_number: string;
|
|
1455
1455
|
day_seq: number | null;
|
|
1456
1456
|
delivered_at: string | null;
|
|
1457
|
+
engine_cart_label: string | null;
|
|
1457
1458
|
id: string;
|
|
1458
1459
|
order_id: string;
|
|
1459
1460
|
order_source: string;
|
|
@@ -1463,9 +1464,10 @@ export type Database = {
|
|
|
1463
1464
|
Insert: {
|
|
1464
1465
|
assigned_at?: string;
|
|
1465
1466
|
cart_index: number;
|
|
1466
|
-
cart_number
|
|
1467
|
+
cart_number: string;
|
|
1467
1468
|
day_seq?: number | null;
|
|
1468
1469
|
delivered_at?: string | null;
|
|
1470
|
+
engine_cart_label?: string | null;
|
|
1469
1471
|
id?: string;
|
|
1470
1472
|
order_id: string;
|
|
1471
1473
|
order_source: string;
|
|
@@ -1475,9 +1477,10 @@ export type Database = {
|
|
|
1475
1477
|
Update: {
|
|
1476
1478
|
assigned_at?: string;
|
|
1477
1479
|
cart_index?: number;
|
|
1478
|
-
cart_number?: string
|
|
1480
|
+
cart_number?: string;
|
|
1479
1481
|
day_seq?: number | null;
|
|
1480
1482
|
delivered_at?: string | null;
|
|
1483
|
+
engine_cart_label?: string | null;
|
|
1481
1484
|
id?: string;
|
|
1482
1485
|
order_id?: string;
|
|
1483
1486
|
order_source?: string;
|
|
@@ -1857,6 +1860,42 @@ export type Database = {
|
|
|
1857
1860
|
};
|
|
1858
1861
|
Relationships: [];
|
|
1859
1862
|
};
|
|
1863
|
+
customer_assortment_items: {
|
|
1864
|
+
Row: {
|
|
1865
|
+
created_at: string;
|
|
1866
|
+
customer_key: string;
|
|
1867
|
+
id: string;
|
|
1868
|
+
in_assortment: boolean;
|
|
1869
|
+
manual_override: boolean;
|
|
1870
|
+
source: string;
|
|
1871
|
+
synced_at: string | null;
|
|
1872
|
+
trade_item_key: string;
|
|
1873
|
+
updated_at: string;
|
|
1874
|
+
};
|
|
1875
|
+
Insert: {
|
|
1876
|
+
created_at?: string;
|
|
1877
|
+
customer_key: string;
|
|
1878
|
+
id?: string;
|
|
1879
|
+
in_assortment?: boolean;
|
|
1880
|
+
manual_override?: boolean;
|
|
1881
|
+
source?: string;
|
|
1882
|
+
synced_at?: string | null;
|
|
1883
|
+
trade_item_key: string;
|
|
1884
|
+
updated_at?: string;
|
|
1885
|
+
};
|
|
1886
|
+
Update: {
|
|
1887
|
+
created_at?: string;
|
|
1888
|
+
customer_key?: string;
|
|
1889
|
+
id?: string;
|
|
1890
|
+
in_assortment?: boolean;
|
|
1891
|
+
manual_override?: boolean;
|
|
1892
|
+
source?: string;
|
|
1893
|
+
synced_at?: string | null;
|
|
1894
|
+
trade_item_key?: string;
|
|
1895
|
+
updated_at?: string;
|
|
1896
|
+
};
|
|
1897
|
+
Relationships: [];
|
|
1898
|
+
};
|
|
1860
1899
|
customer_audit_log: {
|
|
1861
1900
|
Row: {
|
|
1862
1901
|
action: string;
|
|
@@ -2272,6 +2311,63 @@ export type Database = {
|
|
|
2272
2311
|
};
|
|
2273
2312
|
Relationships: [];
|
|
2274
2313
|
};
|
|
2314
|
+
customer_product_stickers: {
|
|
2315
|
+
Row: {
|
|
2316
|
+
content_hash: string | null;
|
|
2317
|
+
created_at: string;
|
|
2318
|
+
customer_key: string;
|
|
2319
|
+
file_name: string;
|
|
2320
|
+
file_path: string;
|
|
2321
|
+
file_size: number | null;
|
|
2322
|
+
floriday_sticker_id: string | null;
|
|
2323
|
+
floriday_synced_at: string | null;
|
|
2324
|
+
height_mm: number | null;
|
|
2325
|
+
id: string;
|
|
2326
|
+
mime_type: string | null;
|
|
2327
|
+
source: string;
|
|
2328
|
+
trade_item_key: string;
|
|
2329
|
+
updated_at: string;
|
|
2330
|
+
uploaded_by: string | null;
|
|
2331
|
+
width_mm: number | null;
|
|
2332
|
+
};
|
|
2333
|
+
Insert: {
|
|
2334
|
+
content_hash?: string | null;
|
|
2335
|
+
created_at?: string;
|
|
2336
|
+
customer_key: string;
|
|
2337
|
+
file_name: string;
|
|
2338
|
+
file_path: string;
|
|
2339
|
+
file_size?: number | null;
|
|
2340
|
+
floriday_sticker_id?: string | null;
|
|
2341
|
+
floriday_synced_at?: string | null;
|
|
2342
|
+
height_mm?: number | null;
|
|
2343
|
+
id?: string;
|
|
2344
|
+
mime_type?: string | null;
|
|
2345
|
+
source?: string;
|
|
2346
|
+
trade_item_key: string;
|
|
2347
|
+
updated_at?: string;
|
|
2348
|
+
uploaded_by?: string | null;
|
|
2349
|
+
width_mm?: number | null;
|
|
2350
|
+
};
|
|
2351
|
+
Update: {
|
|
2352
|
+
content_hash?: string | null;
|
|
2353
|
+
created_at?: string;
|
|
2354
|
+
customer_key?: string;
|
|
2355
|
+
file_name?: string;
|
|
2356
|
+
file_path?: string;
|
|
2357
|
+
file_size?: number | null;
|
|
2358
|
+
floriday_sticker_id?: string | null;
|
|
2359
|
+
floriday_synced_at?: string | null;
|
|
2360
|
+
height_mm?: number | null;
|
|
2361
|
+
id?: string;
|
|
2362
|
+
mime_type?: string | null;
|
|
2363
|
+
source?: string;
|
|
2364
|
+
trade_item_key?: string;
|
|
2365
|
+
updated_at?: string;
|
|
2366
|
+
uploaded_by?: string | null;
|
|
2367
|
+
width_mm?: number | null;
|
|
2368
|
+
};
|
|
2369
|
+
Relationships: [];
|
|
2370
|
+
};
|
|
2275
2371
|
customer_selected_assortment: {
|
|
2276
2372
|
Row: {
|
|
2277
2373
|
article_number: string | null;
|
|
@@ -2322,6 +2418,30 @@ export type Database = {
|
|
|
2322
2418
|
}
|
|
2323
2419
|
];
|
|
2324
2420
|
};
|
|
2421
|
+
customer_sticker_settings: {
|
|
2422
|
+
Row: {
|
|
2423
|
+
created_at: string;
|
|
2424
|
+
customer_key: string;
|
|
2425
|
+
height_mm: number;
|
|
2426
|
+
updated_at: string;
|
|
2427
|
+
width_mm: number;
|
|
2428
|
+
};
|
|
2429
|
+
Insert: {
|
|
2430
|
+
created_at?: string;
|
|
2431
|
+
customer_key: string;
|
|
2432
|
+
height_mm?: number;
|
|
2433
|
+
updated_at?: string;
|
|
2434
|
+
width_mm?: number;
|
|
2435
|
+
};
|
|
2436
|
+
Update: {
|
|
2437
|
+
created_at?: string;
|
|
2438
|
+
customer_key?: string;
|
|
2439
|
+
height_mm?: number;
|
|
2440
|
+
updated_at?: string;
|
|
2441
|
+
width_mm?: number;
|
|
2442
|
+
};
|
|
2443
|
+
Relationships: [];
|
|
2444
|
+
};
|
|
2325
2445
|
customer_trade_settings: {
|
|
2326
2446
|
Row: {
|
|
2327
2447
|
category: string;
|
|
@@ -3683,6 +3803,7 @@ export type Database = {
|
|
|
3683
3803
|
};
|
|
3684
3804
|
email_auth_outbox: {
|
|
3685
3805
|
Row: {
|
|
3806
|
+
attachments: Json;
|
|
3686
3807
|
attempts: number;
|
|
3687
3808
|
bcc_addresses: string[];
|
|
3688
3809
|
cc_addresses: string[];
|
|
@@ -3705,6 +3826,7 @@ export type Database = {
|
|
|
3705
3826
|
updated_at: string;
|
|
3706
3827
|
};
|
|
3707
3828
|
Insert: {
|
|
3829
|
+
attachments?: Json;
|
|
3708
3830
|
attempts?: number;
|
|
3709
3831
|
bcc_addresses?: string[];
|
|
3710
3832
|
cc_addresses?: string[];
|
|
@@ -3727,6 +3849,7 @@ export type Database = {
|
|
|
3727
3849
|
updated_at?: string;
|
|
3728
3850
|
};
|
|
3729
3851
|
Update: {
|
|
3852
|
+
attachments?: Json;
|
|
3730
3853
|
attempts?: number;
|
|
3731
3854
|
bcc_addresses?: string[];
|
|
3732
3855
|
cc_addresses?: string[];
|
|
@@ -5731,6 +5854,105 @@ export type Database = {
|
|
|
5731
5854
|
}
|
|
5732
5855
|
];
|
|
5733
5856
|
};
|
|
5857
|
+
floriday_api_log: {
|
|
5858
|
+
Row: {
|
|
5859
|
+
action: string | null;
|
|
5860
|
+
caller: string | null;
|
|
5861
|
+
connection_id: string | null;
|
|
5862
|
+
created_at: string;
|
|
5863
|
+
cursor_from: number | null;
|
|
5864
|
+
direction: string;
|
|
5865
|
+
duration_ms: number | null;
|
|
5866
|
+
environment: string | null;
|
|
5867
|
+
error: string | null;
|
|
5868
|
+
floriday_id: string | null;
|
|
5869
|
+
floriday_reference: string | null;
|
|
5870
|
+
http_status: number;
|
|
5871
|
+
id: string;
|
|
5872
|
+
item_count: number | null;
|
|
5873
|
+
kind: string | null;
|
|
5874
|
+
local_id: string | null;
|
|
5875
|
+
local_reference: string | null;
|
|
5876
|
+
method: string;
|
|
5877
|
+
module: string | null;
|
|
5878
|
+
ok: boolean;
|
|
5879
|
+
path: string;
|
|
5880
|
+
request: Json | null;
|
|
5881
|
+
resource_type: string | null;
|
|
5882
|
+
response: Json | null;
|
|
5883
|
+
write_log_id: string | null;
|
|
5884
|
+
};
|
|
5885
|
+
Insert: {
|
|
5886
|
+
action?: string | null;
|
|
5887
|
+
caller?: string | null;
|
|
5888
|
+
connection_id?: string | null;
|
|
5889
|
+
created_at?: string;
|
|
5890
|
+
cursor_from?: number | null;
|
|
5891
|
+
direction: string;
|
|
5892
|
+
duration_ms?: number | null;
|
|
5893
|
+
environment?: string | null;
|
|
5894
|
+
error?: string | null;
|
|
5895
|
+
floriday_id?: string | null;
|
|
5896
|
+
floriday_reference?: string | null;
|
|
5897
|
+
http_status?: number;
|
|
5898
|
+
id?: string;
|
|
5899
|
+
item_count?: number | null;
|
|
5900
|
+
kind?: string | null;
|
|
5901
|
+
local_id?: string | null;
|
|
5902
|
+
local_reference?: string | null;
|
|
5903
|
+
method: string;
|
|
5904
|
+
module?: string | null;
|
|
5905
|
+
ok?: boolean;
|
|
5906
|
+
path: string;
|
|
5907
|
+
request?: Json | null;
|
|
5908
|
+
resource_type?: string | null;
|
|
5909
|
+
response?: Json | null;
|
|
5910
|
+
write_log_id?: string | null;
|
|
5911
|
+
};
|
|
5912
|
+
Update: {
|
|
5913
|
+
action?: string | null;
|
|
5914
|
+
caller?: string | null;
|
|
5915
|
+
connection_id?: string | null;
|
|
5916
|
+
created_at?: string;
|
|
5917
|
+
cursor_from?: number | null;
|
|
5918
|
+
direction?: string;
|
|
5919
|
+
duration_ms?: number | null;
|
|
5920
|
+
environment?: string | null;
|
|
5921
|
+
error?: string | null;
|
|
5922
|
+
floriday_id?: string | null;
|
|
5923
|
+
floriday_reference?: string | null;
|
|
5924
|
+
http_status?: number;
|
|
5925
|
+
id?: string;
|
|
5926
|
+
item_count?: number | null;
|
|
5927
|
+
kind?: string | null;
|
|
5928
|
+
local_id?: string | null;
|
|
5929
|
+
local_reference?: string | null;
|
|
5930
|
+
method?: string;
|
|
5931
|
+
module?: string | null;
|
|
5932
|
+
ok?: boolean;
|
|
5933
|
+
path?: string;
|
|
5934
|
+
request?: Json | null;
|
|
5935
|
+
resource_type?: string | null;
|
|
5936
|
+
response?: Json | null;
|
|
5937
|
+
write_log_id?: string | null;
|
|
5938
|
+
};
|
|
5939
|
+
Relationships: [
|
|
5940
|
+
{
|
|
5941
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
5942
|
+
columns: ["connection_id"];
|
|
5943
|
+
isOneToOne: false;
|
|
5944
|
+
referencedRelation: "floriday_connections";
|
|
5945
|
+
referencedColumns: ["id"];
|
|
5946
|
+
},
|
|
5947
|
+
{
|
|
5948
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
5949
|
+
columns: ["write_log_id"];
|
|
5950
|
+
isOneToOne: false;
|
|
5951
|
+
referencedRelation: "floriday_write_log";
|
|
5952
|
+
referencedColumns: ["id"];
|
|
5953
|
+
}
|
|
5954
|
+
];
|
|
5955
|
+
};
|
|
5734
5956
|
floriday_auction_letters_cache: {
|
|
5735
5957
|
Row: {
|
|
5736
5958
|
auction_letter_code: string;
|
|
@@ -6973,6 +7195,69 @@ export type Database = {
|
|
|
6973
7195
|
}
|
|
6974
7196
|
];
|
|
6975
7197
|
};
|
|
7198
|
+
floriday_link_templates: {
|
|
7199
|
+
Row: {
|
|
7200
|
+
created_at: string;
|
|
7201
|
+
floriday_url_template: string | null;
|
|
7202
|
+
is_active: boolean;
|
|
7203
|
+
label: string;
|
|
7204
|
+
local_url_template: string | null;
|
|
7205
|
+
resource_type: string;
|
|
7206
|
+
updated_at: string;
|
|
7207
|
+
};
|
|
7208
|
+
Insert: {
|
|
7209
|
+
created_at?: string;
|
|
7210
|
+
floriday_url_template?: string | null;
|
|
7211
|
+
is_active?: boolean;
|
|
7212
|
+
label: string;
|
|
7213
|
+
local_url_template?: string | null;
|
|
7214
|
+
resource_type: string;
|
|
7215
|
+
updated_at?: string;
|
|
7216
|
+
};
|
|
7217
|
+
Update: {
|
|
7218
|
+
created_at?: string;
|
|
7219
|
+
floriday_url_template?: string | null;
|
|
7220
|
+
is_active?: boolean;
|
|
7221
|
+
label?: string;
|
|
7222
|
+
local_url_template?: string | null;
|
|
7223
|
+
resource_type?: string;
|
|
7224
|
+
updated_at?: string;
|
|
7225
|
+
};
|
|
7226
|
+
Relationships: [];
|
|
7227
|
+
};
|
|
7228
|
+
floriday_log_retention: {
|
|
7229
|
+
Row: {
|
|
7230
|
+
created_at: string;
|
|
7231
|
+
direction: string | null;
|
|
7232
|
+
id: string;
|
|
7233
|
+
keep_failed_days: number | null;
|
|
7234
|
+
keep_ok_days: number | null;
|
|
7235
|
+
note: string | null;
|
|
7236
|
+
resource_type: string | null;
|
|
7237
|
+
updated_at: string;
|
|
7238
|
+
};
|
|
7239
|
+
Insert: {
|
|
7240
|
+
created_at?: string;
|
|
7241
|
+
direction?: string | null;
|
|
7242
|
+
id?: string;
|
|
7243
|
+
keep_failed_days?: number | null;
|
|
7244
|
+
keep_ok_days?: number | null;
|
|
7245
|
+
note?: string | null;
|
|
7246
|
+
resource_type?: string | null;
|
|
7247
|
+
updated_at?: string;
|
|
7248
|
+
};
|
|
7249
|
+
Update: {
|
|
7250
|
+
created_at?: string;
|
|
7251
|
+
direction?: string | null;
|
|
7252
|
+
id?: string;
|
|
7253
|
+
keep_failed_days?: number | null;
|
|
7254
|
+
keep_ok_days?: number | null;
|
|
7255
|
+
note?: string | null;
|
|
7256
|
+
resource_type?: string | null;
|
|
7257
|
+
updated_at?: string;
|
|
7258
|
+
};
|
|
7259
|
+
Relationships: [];
|
|
7260
|
+
};
|
|
6976
7261
|
floriday_logistic_labels_cache: {
|
|
6977
7262
|
Row: {
|
|
6978
7263
|
byte_size: number | null;
|
|
@@ -8743,8 +9028,48 @@ export type Database = {
|
|
|
8743
9028
|
};
|
|
8744
9029
|
Relationships: [];
|
|
8745
9030
|
};
|
|
9031
|
+
itk_handover_afspraken: {
|
|
9032
|
+
Row: {
|
|
9033
|
+
afgesproken_door: string | null;
|
|
9034
|
+
afgesproken_op: string;
|
|
9035
|
+
besluit: string;
|
|
9036
|
+
created_at: string;
|
|
9037
|
+
item: string;
|
|
9038
|
+
modules: string[];
|
|
9039
|
+
sleutel: string;
|
|
9040
|
+
soort: string;
|
|
9041
|
+
updated_at: string;
|
|
9042
|
+
versie_vingerafdruk: string;
|
|
9043
|
+
};
|
|
9044
|
+
Insert: {
|
|
9045
|
+
afgesproken_door?: string | null;
|
|
9046
|
+
afgesproken_op?: string;
|
|
9047
|
+
besluit?: string;
|
|
9048
|
+
created_at?: string;
|
|
9049
|
+
item?: string;
|
|
9050
|
+
modules?: string[];
|
|
9051
|
+
sleutel: string;
|
|
9052
|
+
soort?: string;
|
|
9053
|
+
updated_at?: string;
|
|
9054
|
+
versie_vingerafdruk?: string;
|
|
9055
|
+
};
|
|
9056
|
+
Update: {
|
|
9057
|
+
afgesproken_door?: string | null;
|
|
9058
|
+
afgesproken_op?: string;
|
|
9059
|
+
besluit?: string;
|
|
9060
|
+
created_at?: string;
|
|
9061
|
+
item?: string;
|
|
9062
|
+
modules?: string[];
|
|
9063
|
+
sleutel?: string;
|
|
9064
|
+
soort?: string;
|
|
9065
|
+
updated_at?: string;
|
|
9066
|
+
versie_vingerafdruk?: string;
|
|
9067
|
+
};
|
|
9068
|
+
Relationships: [];
|
|
9069
|
+
};
|
|
8746
9070
|
itk_handover_github_scan: {
|
|
8747
9071
|
Row: {
|
|
9072
|
+
genegeerd_op: string | null;
|
|
8748
9073
|
gescand_op: string;
|
|
8749
9074
|
gevonden: boolean;
|
|
8750
9075
|
melding: string | null;
|
|
@@ -8752,6 +9077,7 @@ export type Database = {
|
|
|
8752
9077
|
repo: string;
|
|
8753
9078
|
};
|
|
8754
9079
|
Insert: {
|
|
9080
|
+
genegeerd_op?: string | null;
|
|
8755
9081
|
gescand_op?: string;
|
|
8756
9082
|
gevonden?: boolean;
|
|
8757
9083
|
melding?: string | null;
|
|
@@ -8759,6 +9085,7 @@ export type Database = {
|
|
|
8759
9085
|
repo: string;
|
|
8760
9086
|
};
|
|
8761
9087
|
Update: {
|
|
9088
|
+
genegeerd_op?: string | null;
|
|
8762
9089
|
gescand_op?: string;
|
|
8763
9090
|
gevonden?: boolean;
|
|
8764
9091
|
melding?: string | null;
|
|
@@ -8767,13 +9094,45 @@ export type Database = {
|
|
|
8767
9094
|
};
|
|
8768
9095
|
Relationships: [];
|
|
8769
9096
|
};
|
|
9097
|
+
itk_handover_github_voortgang: {
|
|
9098
|
+
Row: {
|
|
9099
|
+
bijgewerkt_op: string;
|
|
9100
|
+
huidige_repo: string | null;
|
|
9101
|
+
id: boolean;
|
|
9102
|
+
klaar: number;
|
|
9103
|
+
loopt: boolean;
|
|
9104
|
+
totaal: number;
|
|
9105
|
+
};
|
|
9106
|
+
Insert: {
|
|
9107
|
+
bijgewerkt_op?: string;
|
|
9108
|
+
huidige_repo?: string | null;
|
|
9109
|
+
id?: boolean;
|
|
9110
|
+
klaar?: number;
|
|
9111
|
+
loopt?: boolean;
|
|
9112
|
+
totaal?: number;
|
|
9113
|
+
};
|
|
9114
|
+
Update: {
|
|
9115
|
+
bijgewerkt_op?: string;
|
|
9116
|
+
huidige_repo?: string | null;
|
|
9117
|
+
id?: boolean;
|
|
9118
|
+
klaar?: number;
|
|
9119
|
+
loopt?: boolean;
|
|
9120
|
+
totaal?: number;
|
|
9121
|
+
};
|
|
9122
|
+
Relationships: [];
|
|
9123
|
+
};
|
|
8770
9124
|
itk_handover_module_meta: {
|
|
8771
9125
|
Row: {
|
|
8772
9126
|
check_aangevraagd_op: string | null;
|
|
8773
9127
|
check_nodig: boolean;
|
|
8774
9128
|
check_reden: string | null;
|
|
8775
9129
|
created_at: string;
|
|
9130
|
+
md_bron: boolean;
|
|
9131
|
+
md_bron_op: string | null;
|
|
9132
|
+
md_bron_pad: string | null;
|
|
8776
9133
|
module_id: string;
|
|
9134
|
+
nieuw_gezien: boolean;
|
|
9135
|
+
nieuw_gezien_op: string | null;
|
|
8777
9136
|
project_url: string | null;
|
|
8778
9137
|
publicatie_url: string | null;
|
|
8779
9138
|
updated_at: string;
|
|
@@ -8783,7 +9142,12 @@ export type Database = {
|
|
|
8783
9142
|
check_nodig?: boolean;
|
|
8784
9143
|
check_reden?: string | null;
|
|
8785
9144
|
created_at?: string;
|
|
9145
|
+
md_bron?: boolean;
|
|
9146
|
+
md_bron_op?: string | null;
|
|
9147
|
+
md_bron_pad?: string | null;
|
|
8786
9148
|
module_id: string;
|
|
9149
|
+
nieuw_gezien?: boolean;
|
|
9150
|
+
nieuw_gezien_op?: string | null;
|
|
8787
9151
|
project_url?: string | null;
|
|
8788
9152
|
publicatie_url?: string | null;
|
|
8789
9153
|
updated_at?: string;
|
|
@@ -8793,13 +9157,45 @@ export type Database = {
|
|
|
8793
9157
|
check_nodig?: boolean;
|
|
8794
9158
|
check_reden?: string | null;
|
|
8795
9159
|
created_at?: string;
|
|
9160
|
+
md_bron?: boolean;
|
|
9161
|
+
md_bron_op?: string | null;
|
|
9162
|
+
md_bron_pad?: string | null;
|
|
8796
9163
|
module_id?: string;
|
|
9164
|
+
nieuw_gezien?: boolean;
|
|
9165
|
+
nieuw_gezien_op?: string | null;
|
|
8797
9166
|
project_url?: string | null;
|
|
8798
9167
|
publicatie_url?: string | null;
|
|
8799
9168
|
updated_at?: string;
|
|
8800
9169
|
};
|
|
8801
9170
|
Relationships: [];
|
|
8802
9171
|
};
|
|
9172
|
+
itk_handover_module_naam: {
|
|
9173
|
+
Row: {
|
|
9174
|
+
bron_repo: string;
|
|
9175
|
+
created_at: string;
|
|
9176
|
+
module_id: string;
|
|
9177
|
+
standaardnaam: string | null;
|
|
9178
|
+
updated_at: string;
|
|
9179
|
+
weergavenaam: string;
|
|
9180
|
+
};
|
|
9181
|
+
Insert: {
|
|
9182
|
+
bron_repo?: string;
|
|
9183
|
+
created_at?: string;
|
|
9184
|
+
module_id: string;
|
|
9185
|
+
standaardnaam?: string | null;
|
|
9186
|
+
updated_at?: string;
|
|
9187
|
+
weergavenaam: string;
|
|
9188
|
+
};
|
|
9189
|
+
Update: {
|
|
9190
|
+
bron_repo?: string;
|
|
9191
|
+
created_at?: string;
|
|
9192
|
+
module_id?: string;
|
|
9193
|
+
standaardnaam?: string | null;
|
|
9194
|
+
updated_at?: string;
|
|
9195
|
+
weergavenaam?: string;
|
|
9196
|
+
};
|
|
9197
|
+
Relationships: [];
|
|
9198
|
+
};
|
|
8803
9199
|
itk_handover_project_modules: {
|
|
8804
9200
|
Row: {
|
|
8805
9201
|
created_at: string;
|
|
@@ -8915,6 +9311,7 @@ export type Database = {
|
|
|
8915
9311
|
};
|
|
8916
9312
|
itk_module_handovers: {
|
|
8917
9313
|
Row: {
|
|
9314
|
+
bekende_risicos: string[];
|
|
8918
9315
|
bevindingen: string | null;
|
|
8919
9316
|
bezit_tabellen: string[];
|
|
8920
9317
|
bron_commit: string | null;
|
|
@@ -8933,6 +9330,7 @@ export type Database = {
|
|
|
8933
9330
|
inhoud_md: string;
|
|
8934
9331
|
is_actueel: boolean;
|
|
8935
9332
|
is_gearchiveerd: boolean;
|
|
9333
|
+
laatst_bevestigd_op: string | null;
|
|
8936
9334
|
laatst_gecontroleerd_op: string | null;
|
|
8937
9335
|
module_id: string;
|
|
8938
9336
|
module_titel: string;
|
|
@@ -8942,6 +9340,7 @@ export type Database = {
|
|
|
8942
9340
|
versie: number;
|
|
8943
9341
|
};
|
|
8944
9342
|
Insert: {
|
|
9343
|
+
bekende_risicos?: string[];
|
|
8945
9344
|
bevindingen?: string | null;
|
|
8946
9345
|
bezit_tabellen?: string[];
|
|
8947
9346
|
bron_commit?: string | null;
|
|
@@ -8960,6 +9359,7 @@ export type Database = {
|
|
|
8960
9359
|
inhoud_md: string;
|
|
8961
9360
|
is_actueel?: boolean;
|
|
8962
9361
|
is_gearchiveerd?: boolean;
|
|
9362
|
+
laatst_bevestigd_op?: string | null;
|
|
8963
9363
|
laatst_gecontroleerd_op?: string | null;
|
|
8964
9364
|
module_id: string;
|
|
8965
9365
|
module_titel: string;
|
|
@@ -8969,6 +9369,7 @@ export type Database = {
|
|
|
8969
9369
|
versie?: number;
|
|
8970
9370
|
};
|
|
8971
9371
|
Update: {
|
|
9372
|
+
bekende_risicos?: string[];
|
|
8972
9373
|
bevindingen?: string | null;
|
|
8973
9374
|
bezit_tabellen?: string[];
|
|
8974
9375
|
bron_commit?: string | null;
|
|
@@ -8987,6 +9388,7 @@ export type Database = {
|
|
|
8987
9388
|
inhoud_md?: string;
|
|
8988
9389
|
is_actueel?: boolean;
|
|
8989
9390
|
is_gearchiveerd?: boolean;
|
|
9391
|
+
laatst_bevestigd_op?: string | null;
|
|
8990
9392
|
laatst_gecontroleerd_op?: string | null;
|
|
8991
9393
|
module_id?: string;
|
|
8992
9394
|
module_titel?: string;
|
|
@@ -9200,22 +9602,72 @@ export type Database = {
|
|
|
9200
9602
|
};
|
|
9201
9603
|
Relationships: [];
|
|
9202
9604
|
};
|
|
9203
|
-
|
|
9605
|
+
itk_offerte_werkbon_queue: {
|
|
9204
9606
|
Row: {
|
|
9205
|
-
|
|
9206
|
-
approved_at: string | null;
|
|
9207
|
-
binnen_mandaat: boolean;
|
|
9208
|
-
contact_id: string | null;
|
|
9209
|
-
converted_at: string | null;
|
|
9607
|
+
bron_werkbon_id: string | null;
|
|
9210
9608
|
created_at: string;
|
|
9211
|
-
|
|
9212
|
-
customer_id: string | null;
|
|
9213
|
-
follow_up_werkbon_id: string | null;
|
|
9609
|
+
foutmelding: string | null;
|
|
9214
9610
|
id: string;
|
|
9215
|
-
|
|
9216
|
-
|
|
9217
|
-
|
|
9218
|
-
|
|
9611
|
+
offerte_id: string;
|
|
9612
|
+
payload: Json;
|
|
9613
|
+
status: string;
|
|
9614
|
+
updated_at: string;
|
|
9615
|
+
verwerkt_op: string | null;
|
|
9616
|
+
werkbon_id: string | null;
|
|
9617
|
+
werkbon_nummer: string | null;
|
|
9618
|
+
};
|
|
9619
|
+
Insert: {
|
|
9620
|
+
bron_werkbon_id?: string | null;
|
|
9621
|
+
created_at?: string;
|
|
9622
|
+
foutmelding?: string | null;
|
|
9623
|
+
id?: string;
|
|
9624
|
+
offerte_id: string;
|
|
9625
|
+
payload?: Json;
|
|
9626
|
+
status?: string;
|
|
9627
|
+
updated_at?: string;
|
|
9628
|
+
verwerkt_op?: string | null;
|
|
9629
|
+
werkbon_id?: string | null;
|
|
9630
|
+
werkbon_nummer?: string | null;
|
|
9631
|
+
};
|
|
9632
|
+
Update: {
|
|
9633
|
+
bron_werkbon_id?: string | null;
|
|
9634
|
+
created_at?: string;
|
|
9635
|
+
foutmelding?: string | null;
|
|
9636
|
+
id?: string;
|
|
9637
|
+
offerte_id?: string;
|
|
9638
|
+
payload?: Json;
|
|
9639
|
+
status?: string;
|
|
9640
|
+
updated_at?: string;
|
|
9641
|
+
verwerkt_op?: string | null;
|
|
9642
|
+
werkbon_id?: string | null;
|
|
9643
|
+
werkbon_nummer?: string | null;
|
|
9644
|
+
};
|
|
9645
|
+
Relationships: [
|
|
9646
|
+
{
|
|
9647
|
+
foreignKeyName: "itk_offerte_werkbon_queue_offerte_id_fkey";
|
|
9648
|
+
columns: ["offerte_id"];
|
|
9649
|
+
isOneToOne: false;
|
|
9650
|
+
referencedRelation: "itk_offertes";
|
|
9651
|
+
referencedColumns: ["id"];
|
|
9652
|
+
}
|
|
9653
|
+
];
|
|
9654
|
+
};
|
|
9655
|
+
itk_offertes: {
|
|
9656
|
+
Row: {
|
|
9657
|
+
ai_generated: boolean;
|
|
9658
|
+
approved_at: string | null;
|
|
9659
|
+
binnen_mandaat: boolean;
|
|
9660
|
+
contact_id: string | null;
|
|
9661
|
+
converted_at: string | null;
|
|
9662
|
+
created_at: string;
|
|
9663
|
+
created_by: string | null;
|
|
9664
|
+
customer_id: string | null;
|
|
9665
|
+
follow_up_werkbon_id: string | null;
|
|
9666
|
+
id: string;
|
|
9667
|
+
jaar: number;
|
|
9668
|
+
mandaat_restant_cents: number;
|
|
9669
|
+
notities: string | null;
|
|
9670
|
+
offerte_number: string | null;
|
|
9219
9671
|
omschrijving: string;
|
|
9220
9672
|
rejected_at: string | null;
|
|
9221
9673
|
sent_at: string | null;
|
|
@@ -10696,6 +11148,42 @@ export type Database = {
|
|
|
10696
11148
|
};
|
|
10697
11149
|
Relationships: [];
|
|
10698
11150
|
};
|
|
11151
|
+
logistics_order_merges: {
|
|
11152
|
+
Row: {
|
|
11153
|
+
group_key: string;
|
|
11154
|
+
id: string;
|
|
11155
|
+
items_moved: number;
|
|
11156
|
+
kept_order_id: string;
|
|
11157
|
+
kept_order_number: string | null;
|
|
11158
|
+
merged_at: string;
|
|
11159
|
+
merged_order_id: string;
|
|
11160
|
+
merged_order_number: string | null;
|
|
11161
|
+
sales_order_id: string | null;
|
|
11162
|
+
};
|
|
11163
|
+
Insert: {
|
|
11164
|
+
group_key: string;
|
|
11165
|
+
id?: string;
|
|
11166
|
+
items_moved?: number;
|
|
11167
|
+
kept_order_id: string;
|
|
11168
|
+
kept_order_number?: string | null;
|
|
11169
|
+
merged_at?: string;
|
|
11170
|
+
merged_order_id: string;
|
|
11171
|
+
merged_order_number?: string | null;
|
|
11172
|
+
sales_order_id?: string | null;
|
|
11173
|
+
};
|
|
11174
|
+
Update: {
|
|
11175
|
+
group_key?: string;
|
|
11176
|
+
id?: string;
|
|
11177
|
+
items_moved?: number;
|
|
11178
|
+
kept_order_id?: string;
|
|
11179
|
+
kept_order_number?: string | null;
|
|
11180
|
+
merged_at?: string;
|
|
11181
|
+
merged_order_id?: string;
|
|
11182
|
+
merged_order_number?: string | null;
|
|
11183
|
+
sales_order_id?: string | null;
|
|
11184
|
+
};
|
|
11185
|
+
Relationships: [];
|
|
11186
|
+
};
|
|
10699
11187
|
logistics_pick_data_requests: {
|
|
10700
11188
|
Row: {
|
|
10701
11189
|
actions: Json;
|
|
@@ -10774,6 +11262,30 @@ export type Database = {
|
|
|
10774
11262
|
};
|
|
10775
11263
|
Relationships: [];
|
|
10776
11264
|
};
|
|
11265
|
+
logistics_plan_locks: {
|
|
11266
|
+
Row: {
|
|
11267
|
+
created_at: string;
|
|
11268
|
+
lock_key: string;
|
|
11269
|
+
locked_until: string;
|
|
11270
|
+
owner: string | null;
|
|
11271
|
+
updated_at: string;
|
|
11272
|
+
};
|
|
11273
|
+
Insert: {
|
|
11274
|
+
created_at?: string;
|
|
11275
|
+
lock_key: string;
|
|
11276
|
+
locked_until: string;
|
|
11277
|
+
owner?: string | null;
|
|
11278
|
+
updated_at?: string;
|
|
11279
|
+
};
|
|
11280
|
+
Update: {
|
|
11281
|
+
created_at?: string;
|
|
11282
|
+
lock_key?: string;
|
|
11283
|
+
locked_until?: string;
|
|
11284
|
+
owner?: string | null;
|
|
11285
|
+
updated_at?: string;
|
|
11286
|
+
};
|
|
11287
|
+
Relationships: [];
|
|
11288
|
+
};
|
|
10777
11289
|
logistics_plan_queue: {
|
|
10778
11290
|
Row: {
|
|
10779
11291
|
attempts: number;
|
|
@@ -11624,6 +12136,246 @@ export type Database = {
|
|
|
11624
12136
|
};
|
|
11625
12137
|
Relationships: [];
|
|
11626
12138
|
};
|
|
12139
|
+
logistics_trace_events: {
|
|
12140
|
+
Row: {
|
|
12141
|
+
actor: string | null;
|
|
12142
|
+
attempts: number;
|
|
12143
|
+
calc: Json | null;
|
|
12144
|
+
cart_ref: string | null;
|
|
12145
|
+
created_at: string;
|
|
12146
|
+
db_action: string | null;
|
|
12147
|
+
db_new: Json | null;
|
|
12148
|
+
db_old: Json | null;
|
|
12149
|
+
db_record: string | null;
|
|
12150
|
+
db_table: string | null;
|
|
12151
|
+
decision: string | null;
|
|
12152
|
+
duration_ms: number | null;
|
|
12153
|
+
error: string | null;
|
|
12154
|
+
error_class: string | null;
|
|
12155
|
+
external_action: string | null;
|
|
12156
|
+
external_ref: string | null;
|
|
12157
|
+
external_response: Json | null;
|
|
12158
|
+
external_status: string | null;
|
|
12159
|
+
external_system: string | null;
|
|
12160
|
+
id: string;
|
|
12161
|
+
input: Json | null;
|
|
12162
|
+
next_attempt_at: string | null;
|
|
12163
|
+
next_step: string | null;
|
|
12164
|
+
node_id: string | null;
|
|
12165
|
+
order_ref: string | null;
|
|
12166
|
+
order_source: string | null;
|
|
12167
|
+
output: Json | null;
|
|
12168
|
+
phase: string;
|
|
12169
|
+
reads: Json | null;
|
|
12170
|
+
reason: string | null;
|
|
12171
|
+
rule: string | null;
|
|
12172
|
+
slip_ref: string | null;
|
|
12173
|
+
status: string;
|
|
12174
|
+
step: string;
|
|
12175
|
+
trace_id: string;
|
|
12176
|
+
values_used: Json | null;
|
|
12177
|
+
};
|
|
12178
|
+
Insert: {
|
|
12179
|
+
actor?: string | null;
|
|
12180
|
+
attempts?: number;
|
|
12181
|
+
calc?: Json | null;
|
|
12182
|
+
cart_ref?: string | null;
|
|
12183
|
+
created_at?: string;
|
|
12184
|
+
db_action?: string | null;
|
|
12185
|
+
db_new?: Json | null;
|
|
12186
|
+
db_old?: Json | null;
|
|
12187
|
+
db_record?: string | null;
|
|
12188
|
+
db_table?: string | null;
|
|
12189
|
+
decision?: string | null;
|
|
12190
|
+
duration_ms?: number | null;
|
|
12191
|
+
error?: string | null;
|
|
12192
|
+
error_class?: string | null;
|
|
12193
|
+
external_action?: string | null;
|
|
12194
|
+
external_ref?: string | null;
|
|
12195
|
+
external_response?: Json | null;
|
|
12196
|
+
external_status?: string | null;
|
|
12197
|
+
external_system?: string | null;
|
|
12198
|
+
id?: string;
|
|
12199
|
+
input?: Json | null;
|
|
12200
|
+
next_attempt_at?: string | null;
|
|
12201
|
+
next_step?: string | null;
|
|
12202
|
+
node_id?: string | null;
|
|
12203
|
+
order_ref?: string | null;
|
|
12204
|
+
order_source?: string | null;
|
|
12205
|
+
output?: Json | null;
|
|
12206
|
+
phase: string;
|
|
12207
|
+
reads?: Json | null;
|
|
12208
|
+
reason?: string | null;
|
|
12209
|
+
rule?: string | null;
|
|
12210
|
+
slip_ref?: string | null;
|
|
12211
|
+
status: string;
|
|
12212
|
+
step: string;
|
|
12213
|
+
trace_id?: string;
|
|
12214
|
+
values_used?: Json | null;
|
|
12215
|
+
};
|
|
12216
|
+
Update: {
|
|
12217
|
+
actor?: string | null;
|
|
12218
|
+
attempts?: number;
|
|
12219
|
+
calc?: Json | null;
|
|
12220
|
+
cart_ref?: string | null;
|
|
12221
|
+
created_at?: string;
|
|
12222
|
+
db_action?: string | null;
|
|
12223
|
+
db_new?: Json | null;
|
|
12224
|
+
db_old?: Json | null;
|
|
12225
|
+
db_record?: string | null;
|
|
12226
|
+
db_table?: string | null;
|
|
12227
|
+
decision?: string | null;
|
|
12228
|
+
duration_ms?: number | null;
|
|
12229
|
+
error?: string | null;
|
|
12230
|
+
error_class?: string | null;
|
|
12231
|
+
external_action?: string | null;
|
|
12232
|
+
external_ref?: string | null;
|
|
12233
|
+
external_response?: Json | null;
|
|
12234
|
+
external_status?: string | null;
|
|
12235
|
+
external_system?: string | null;
|
|
12236
|
+
id?: string;
|
|
12237
|
+
input?: Json | null;
|
|
12238
|
+
next_attempt_at?: string | null;
|
|
12239
|
+
next_step?: string | null;
|
|
12240
|
+
node_id?: string | null;
|
|
12241
|
+
order_ref?: string | null;
|
|
12242
|
+
order_source?: string | null;
|
|
12243
|
+
output?: Json | null;
|
|
12244
|
+
phase?: string;
|
|
12245
|
+
reads?: Json | null;
|
|
12246
|
+
reason?: string | null;
|
|
12247
|
+
rule?: string | null;
|
|
12248
|
+
slip_ref?: string | null;
|
|
12249
|
+
status?: string;
|
|
12250
|
+
step?: string;
|
|
12251
|
+
trace_id?: string;
|
|
12252
|
+
values_used?: Json | null;
|
|
12253
|
+
};
|
|
12254
|
+
Relationships: [];
|
|
12255
|
+
};
|
|
12256
|
+
logistics_trace_events_archive: {
|
|
12257
|
+
Row: {
|
|
12258
|
+
actor: string | null;
|
|
12259
|
+
attempts: number;
|
|
12260
|
+
calc: Json | null;
|
|
12261
|
+
cart_ref: string | null;
|
|
12262
|
+
created_at: string;
|
|
12263
|
+
db_action: string | null;
|
|
12264
|
+
db_new: Json | null;
|
|
12265
|
+
db_old: Json | null;
|
|
12266
|
+
db_record: string | null;
|
|
12267
|
+
db_table: string | null;
|
|
12268
|
+
decision: string | null;
|
|
12269
|
+
duration_ms: number | null;
|
|
12270
|
+
error: string | null;
|
|
12271
|
+
error_class: string | null;
|
|
12272
|
+
external_action: string | null;
|
|
12273
|
+
external_ref: string | null;
|
|
12274
|
+
external_response: Json | null;
|
|
12275
|
+
external_status: string | null;
|
|
12276
|
+
external_system: string | null;
|
|
12277
|
+
id: string;
|
|
12278
|
+
input: Json | null;
|
|
12279
|
+
next_attempt_at: string | null;
|
|
12280
|
+
next_step: string | null;
|
|
12281
|
+
node_id: string | null;
|
|
12282
|
+
order_ref: string | null;
|
|
12283
|
+
order_source: string | null;
|
|
12284
|
+
output: Json | null;
|
|
12285
|
+
phase: string;
|
|
12286
|
+
reads: Json | null;
|
|
12287
|
+
reason: string | null;
|
|
12288
|
+
rule: string | null;
|
|
12289
|
+
slip_ref: string | null;
|
|
12290
|
+
status: string;
|
|
12291
|
+
step: string;
|
|
12292
|
+
superseded_at: string;
|
|
12293
|
+
superseded_reason: string | null;
|
|
12294
|
+
trace_id: string;
|
|
12295
|
+
values_used: Json | null;
|
|
12296
|
+
};
|
|
12297
|
+
Insert: {
|
|
12298
|
+
actor?: string | null;
|
|
12299
|
+
attempts?: number;
|
|
12300
|
+
calc?: Json | null;
|
|
12301
|
+
cart_ref?: string | null;
|
|
12302
|
+
created_at?: string;
|
|
12303
|
+
db_action?: string | null;
|
|
12304
|
+
db_new?: Json | null;
|
|
12305
|
+
db_old?: Json | null;
|
|
12306
|
+
db_record?: string | null;
|
|
12307
|
+
db_table?: string | null;
|
|
12308
|
+
decision?: string | null;
|
|
12309
|
+
duration_ms?: number | null;
|
|
12310
|
+
error?: string | null;
|
|
12311
|
+
error_class?: string | null;
|
|
12312
|
+
external_action?: string | null;
|
|
12313
|
+
external_ref?: string | null;
|
|
12314
|
+
external_response?: Json | null;
|
|
12315
|
+
external_status?: string | null;
|
|
12316
|
+
external_system?: string | null;
|
|
12317
|
+
id?: string;
|
|
12318
|
+
input?: Json | null;
|
|
12319
|
+
next_attempt_at?: string | null;
|
|
12320
|
+
next_step?: string | null;
|
|
12321
|
+
node_id?: string | null;
|
|
12322
|
+
order_ref?: string | null;
|
|
12323
|
+
order_source?: string | null;
|
|
12324
|
+
output?: Json | null;
|
|
12325
|
+
phase: string;
|
|
12326
|
+
reads?: Json | null;
|
|
12327
|
+
reason?: string | null;
|
|
12328
|
+
rule?: string | null;
|
|
12329
|
+
slip_ref?: string | null;
|
|
12330
|
+
status: string;
|
|
12331
|
+
step: string;
|
|
12332
|
+
superseded_at?: string;
|
|
12333
|
+
superseded_reason?: string | null;
|
|
12334
|
+
trace_id?: string;
|
|
12335
|
+
values_used?: Json | null;
|
|
12336
|
+
};
|
|
12337
|
+
Update: {
|
|
12338
|
+
actor?: string | null;
|
|
12339
|
+
attempts?: number;
|
|
12340
|
+
calc?: Json | null;
|
|
12341
|
+
cart_ref?: string | null;
|
|
12342
|
+
created_at?: string;
|
|
12343
|
+
db_action?: string | null;
|
|
12344
|
+
db_new?: Json | null;
|
|
12345
|
+
db_old?: Json | null;
|
|
12346
|
+
db_record?: string | null;
|
|
12347
|
+
db_table?: string | null;
|
|
12348
|
+
decision?: string | null;
|
|
12349
|
+
duration_ms?: number | null;
|
|
12350
|
+
error?: string | null;
|
|
12351
|
+
error_class?: string | null;
|
|
12352
|
+
external_action?: string | null;
|
|
12353
|
+
external_ref?: string | null;
|
|
12354
|
+
external_response?: Json | null;
|
|
12355
|
+
external_status?: string | null;
|
|
12356
|
+
external_system?: string | null;
|
|
12357
|
+
id?: string;
|
|
12358
|
+
input?: Json | null;
|
|
12359
|
+
next_attempt_at?: string | null;
|
|
12360
|
+
next_step?: string | null;
|
|
12361
|
+
node_id?: string | null;
|
|
12362
|
+
order_ref?: string | null;
|
|
12363
|
+
order_source?: string | null;
|
|
12364
|
+
output?: Json | null;
|
|
12365
|
+
phase?: string;
|
|
12366
|
+
reads?: Json | null;
|
|
12367
|
+
reason?: string | null;
|
|
12368
|
+
rule?: string | null;
|
|
12369
|
+
slip_ref?: string | null;
|
|
12370
|
+
status?: string;
|
|
12371
|
+
step?: string;
|
|
12372
|
+
superseded_at?: string;
|
|
12373
|
+
superseded_reason?: string | null;
|
|
12374
|
+
trace_id?: string;
|
|
12375
|
+
values_used?: Json | null;
|
|
12376
|
+
};
|
|
12377
|
+
Relationships: [];
|
|
12378
|
+
};
|
|
11627
12379
|
logistics_variables: {
|
|
11628
12380
|
Row: {
|
|
11629
12381
|
created_at: string;
|
|
@@ -11771,6 +12523,7 @@ export type Database = {
|
|
|
11771
12523
|
has_attachments: boolean;
|
|
11772
12524
|
id: string;
|
|
11773
12525
|
message_id: string | null;
|
|
12526
|
+
preview: string | null;
|
|
11774
12527
|
profile_id: string | null;
|
|
11775
12528
|
raw_size: number | null;
|
|
11776
12529
|
received_at: string | null;
|
|
@@ -11794,6 +12547,7 @@ export type Database = {
|
|
|
11794
12547
|
has_attachments?: boolean;
|
|
11795
12548
|
id?: string;
|
|
11796
12549
|
message_id?: string | null;
|
|
12550
|
+
preview?: string | null;
|
|
11797
12551
|
profile_id?: string | null;
|
|
11798
12552
|
raw_size?: number | null;
|
|
11799
12553
|
received_at?: string | null;
|
|
@@ -11817,6 +12571,7 @@ export type Database = {
|
|
|
11817
12571
|
has_attachments?: boolean;
|
|
11818
12572
|
id?: string;
|
|
11819
12573
|
message_id?: string | null;
|
|
12574
|
+
preview?: string | null;
|
|
11820
12575
|
profile_id?: string | null;
|
|
11821
12576
|
raw_size?: number | null;
|
|
11822
12577
|
received_at?: string | null;
|
|
@@ -11852,6 +12607,7 @@ export type Database = {
|
|
|
11852
12607
|
};
|
|
11853
12608
|
mailbox_order_proposals: {
|
|
11854
12609
|
Row: {
|
|
12610
|
+
ai_ok: boolean | null;
|
|
11855
12611
|
ai_validation: Json | null;
|
|
11856
12612
|
confidence: number | null;
|
|
11857
12613
|
created_at: string;
|
|
@@ -11869,6 +12625,7 @@ export type Database = {
|
|
|
11869
12625
|
updated_at: string;
|
|
11870
12626
|
};
|
|
11871
12627
|
Insert: {
|
|
12628
|
+
ai_ok?: boolean | null;
|
|
11872
12629
|
ai_validation?: Json | null;
|
|
11873
12630
|
confidence?: number | null;
|
|
11874
12631
|
created_at?: string;
|
|
@@ -11886,6 +12643,7 @@ export type Database = {
|
|
|
11886
12643
|
updated_at?: string;
|
|
11887
12644
|
};
|
|
11888
12645
|
Update: {
|
|
12646
|
+
ai_ok?: boolean | null;
|
|
11889
12647
|
ai_validation?: Json | null;
|
|
11890
12648
|
confidence?: number | null;
|
|
11891
12649
|
created_at?: string;
|
|
@@ -15489,6 +16247,128 @@ export type Database = {
|
|
|
15489
16247
|
}
|
|
15490
16248
|
];
|
|
15491
16249
|
};
|
|
16250
|
+
price_list_rows: {
|
|
16251
|
+
Row: {
|
|
16252
|
+
action: string;
|
|
16253
|
+
created_at: string;
|
|
16254
|
+
id: string;
|
|
16255
|
+
message: string | null;
|
|
16256
|
+
parsed: Json;
|
|
16257
|
+
price_list_id: string;
|
|
16258
|
+
raw: Json;
|
|
16259
|
+
row_number: number;
|
|
16260
|
+
supplier_product_id: string | null;
|
|
16261
|
+
};
|
|
16262
|
+
Insert: {
|
|
16263
|
+
action?: string;
|
|
16264
|
+
created_at?: string;
|
|
16265
|
+
id?: string;
|
|
16266
|
+
message?: string | null;
|
|
16267
|
+
parsed?: Json;
|
|
16268
|
+
price_list_id: string;
|
|
16269
|
+
raw?: Json;
|
|
16270
|
+
row_number: number;
|
|
16271
|
+
supplier_product_id?: string | null;
|
|
16272
|
+
};
|
|
16273
|
+
Update: {
|
|
16274
|
+
action?: string;
|
|
16275
|
+
created_at?: string;
|
|
16276
|
+
id?: string;
|
|
16277
|
+
message?: string | null;
|
|
16278
|
+
parsed?: Json;
|
|
16279
|
+
price_list_id?: string;
|
|
16280
|
+
raw?: Json;
|
|
16281
|
+
row_number?: number;
|
|
16282
|
+
supplier_product_id?: string | null;
|
|
16283
|
+
};
|
|
16284
|
+
Relationships: [
|
|
16285
|
+
{
|
|
16286
|
+
foreignKeyName: "price_list_rows_price_list_id_fkey";
|
|
16287
|
+
columns: ["price_list_id"];
|
|
16288
|
+
isOneToOne: false;
|
|
16289
|
+
referencedRelation: "price_lists";
|
|
16290
|
+
referencedColumns: ["id"];
|
|
16291
|
+
},
|
|
16292
|
+
{
|
|
16293
|
+
foreignKeyName: "price_list_rows_supplier_product_id_fkey";
|
|
16294
|
+
columns: ["supplier_product_id"];
|
|
16295
|
+
isOneToOne: false;
|
|
16296
|
+
referencedRelation: "supplier_products";
|
|
16297
|
+
referencedColumns: ["id"];
|
|
16298
|
+
}
|
|
16299
|
+
];
|
|
16300
|
+
};
|
|
16301
|
+
price_lists: {
|
|
16302
|
+
Row: {
|
|
16303
|
+
created_at: string;
|
|
16304
|
+
created_by: string | null;
|
|
16305
|
+
file_hash: string | null;
|
|
16306
|
+
file_name: string;
|
|
16307
|
+
file_path: string | null;
|
|
16308
|
+
headers: string[];
|
|
16309
|
+
id: string;
|
|
16310
|
+
preview: Json;
|
|
16311
|
+
processed_at: string | null;
|
|
16312
|
+
reason: string | null;
|
|
16313
|
+
row_count: number;
|
|
16314
|
+
sheet_name: string | null;
|
|
16315
|
+
source: string;
|
|
16316
|
+
stats: Json;
|
|
16317
|
+
status: string;
|
|
16318
|
+
supplier_guess: string | null;
|
|
16319
|
+
supplier_id: string | null;
|
|
16320
|
+
updated_at: string;
|
|
16321
|
+
};
|
|
16322
|
+
Insert: {
|
|
16323
|
+
created_at?: string;
|
|
16324
|
+
created_by?: string | null;
|
|
16325
|
+
file_hash?: string | null;
|
|
16326
|
+
file_name: string;
|
|
16327
|
+
file_path?: string | null;
|
|
16328
|
+
headers?: string[];
|
|
16329
|
+
id?: string;
|
|
16330
|
+
preview?: Json;
|
|
16331
|
+
processed_at?: string | null;
|
|
16332
|
+
reason?: string | null;
|
|
16333
|
+
row_count?: number;
|
|
16334
|
+
sheet_name?: string | null;
|
|
16335
|
+
source?: string;
|
|
16336
|
+
stats?: Json;
|
|
16337
|
+
status?: string;
|
|
16338
|
+
supplier_guess?: string | null;
|
|
16339
|
+
supplier_id?: string | null;
|
|
16340
|
+
updated_at?: string;
|
|
16341
|
+
};
|
|
16342
|
+
Update: {
|
|
16343
|
+
created_at?: string;
|
|
16344
|
+
created_by?: string | null;
|
|
16345
|
+
file_hash?: string | null;
|
|
16346
|
+
file_name?: string;
|
|
16347
|
+
file_path?: string | null;
|
|
16348
|
+
headers?: string[];
|
|
16349
|
+
id?: string;
|
|
16350
|
+
preview?: Json;
|
|
16351
|
+
processed_at?: string | null;
|
|
16352
|
+
reason?: string | null;
|
|
16353
|
+
row_count?: number;
|
|
16354
|
+
sheet_name?: string | null;
|
|
16355
|
+
source?: string;
|
|
16356
|
+
stats?: Json;
|
|
16357
|
+
status?: string;
|
|
16358
|
+
supplier_guess?: string | null;
|
|
16359
|
+
supplier_id?: string | null;
|
|
16360
|
+
updated_at?: string;
|
|
16361
|
+
};
|
|
16362
|
+
Relationships: [
|
|
16363
|
+
{
|
|
16364
|
+
foreignKeyName: "price_lists_supplier_id_fkey";
|
|
16365
|
+
columns: ["supplier_id"];
|
|
16366
|
+
isOneToOne: false;
|
|
16367
|
+
referencedRelation: "suppliers";
|
|
16368
|
+
referencedColumns: ["id"];
|
|
16369
|
+
}
|
|
16370
|
+
];
|
|
16371
|
+
};
|
|
15492
16372
|
print_agents: {
|
|
15493
16373
|
Row: {
|
|
15494
16374
|
actief: boolean;
|
|
@@ -17103,30 +17983,111 @@ export type Database = {
|
|
|
17103
17983
|
}
|
|
17104
17984
|
];
|
|
17105
17985
|
};
|
|
17106
|
-
|
|
17986
|
+
purchase_order_dispatches: {
|
|
17107
17987
|
Row: {
|
|
17108
17988
|
created_at: string;
|
|
17109
17989
|
id: string;
|
|
17110
|
-
|
|
17111
|
-
|
|
17990
|
+
last_error: string | null;
|
|
17991
|
+
outbox_id: string | null;
|
|
17112
17992
|
purchase_order_id: string;
|
|
17113
|
-
|
|
17993
|
+
status: string;
|
|
17994
|
+
supplier_id: string | null;
|
|
17995
|
+
supplier_name: string;
|
|
17996
|
+
to_address: string;
|
|
17997
|
+
updated_at: string;
|
|
17114
17998
|
};
|
|
17115
17999
|
Insert: {
|
|
17116
18000
|
created_at?: string;
|
|
17117
18001
|
id?: string;
|
|
17118
|
-
|
|
17119
|
-
|
|
18002
|
+
last_error?: string | null;
|
|
18003
|
+
outbox_id?: string | null;
|
|
17120
18004
|
purchase_order_id: string;
|
|
17121
|
-
|
|
17122
|
-
|
|
17123
|
-
|
|
17124
|
-
|
|
18005
|
+
status?: string;
|
|
18006
|
+
supplier_id?: string | null;
|
|
18007
|
+
supplier_name?: string;
|
|
18008
|
+
to_address: string;
|
|
18009
|
+
updated_at?: string;
|
|
18010
|
+
};
|
|
18011
|
+
Update: {
|
|
18012
|
+
created_at?: string;
|
|
18013
|
+
id?: string;
|
|
18014
|
+
last_error?: string | null;
|
|
18015
|
+
outbox_id?: string | null;
|
|
18016
|
+
purchase_order_id?: string;
|
|
18017
|
+
status?: string;
|
|
18018
|
+
supplier_id?: string | null;
|
|
18019
|
+
supplier_name?: string;
|
|
18020
|
+
to_address?: string;
|
|
18021
|
+
updated_at?: string;
|
|
18022
|
+
};
|
|
18023
|
+
Relationships: [
|
|
18024
|
+
{
|
|
18025
|
+
foreignKeyName: "purchase_order_dispatches_purchase_order_id_fkey";
|
|
18026
|
+
columns: ["purchase_order_id"];
|
|
18027
|
+
isOneToOne: false;
|
|
18028
|
+
referencedRelation: "purchase_orders";
|
|
18029
|
+
referencedColumns: ["id"];
|
|
18030
|
+
},
|
|
18031
|
+
{
|
|
18032
|
+
foreignKeyName: "purchase_order_dispatches_supplier_id_fkey";
|
|
18033
|
+
columns: ["supplier_id"];
|
|
18034
|
+
isOneToOne: false;
|
|
18035
|
+
referencedRelation: "suppliers";
|
|
18036
|
+
referencedColumns: ["id"];
|
|
18037
|
+
}
|
|
18038
|
+
];
|
|
18039
|
+
};
|
|
18040
|
+
purchase_order_items: {
|
|
18041
|
+
Row: {
|
|
18042
|
+
article_number: string | null;
|
|
18043
|
+
created_at: string;
|
|
18044
|
+
delivery_date: string | null;
|
|
18045
|
+
id: string;
|
|
18046
|
+
name: string;
|
|
18047
|
+
note: string | null;
|
|
18048
|
+
pot_size: string | null;
|
|
18049
|
+
product_id: string | null;
|
|
18050
|
+
product_type: string;
|
|
18051
|
+
purchase_order_id: string;
|
|
18052
|
+
quantity: number;
|
|
18053
|
+
supplier_id: string | null;
|
|
18054
|
+
supplier_product_id: string | null;
|
|
18055
|
+
unit_price_cents: number;
|
|
18056
|
+
updated_at: string;
|
|
18057
|
+
};
|
|
18058
|
+
Insert: {
|
|
18059
|
+
article_number?: string | null;
|
|
18060
|
+
created_at?: string;
|
|
18061
|
+
delivery_date?: string | null;
|
|
18062
|
+
id?: string;
|
|
18063
|
+
name?: string;
|
|
18064
|
+
note?: string | null;
|
|
18065
|
+
pot_size?: string | null;
|
|
18066
|
+
product_id?: string | null;
|
|
18067
|
+
product_type?: string;
|
|
18068
|
+
purchase_order_id: string;
|
|
18069
|
+
quantity?: number;
|
|
18070
|
+
supplier_id?: string | null;
|
|
18071
|
+
supplier_product_id?: string | null;
|
|
18072
|
+
unit_price_cents?: number;
|
|
18073
|
+
updated_at?: string;
|
|
18074
|
+
};
|
|
18075
|
+
Update: {
|
|
18076
|
+
article_number?: string | null;
|
|
18077
|
+
created_at?: string;
|
|
18078
|
+
delivery_date?: string | null;
|
|
17125
18079
|
id?: string;
|
|
18080
|
+
name?: string;
|
|
18081
|
+
note?: string | null;
|
|
18082
|
+
pot_size?: string | null;
|
|
17126
18083
|
product_id?: string | null;
|
|
17127
18084
|
product_type?: string;
|
|
17128
18085
|
purchase_order_id?: string;
|
|
17129
18086
|
quantity?: number;
|
|
18087
|
+
supplier_id?: string | null;
|
|
18088
|
+
supplier_product_id?: string | null;
|
|
18089
|
+
unit_price_cents?: number;
|
|
18090
|
+
updated_at?: string;
|
|
17130
18091
|
};
|
|
17131
18092
|
Relationships: [
|
|
17132
18093
|
{
|
|
@@ -17149,44 +18110,73 @@ export type Database = {
|
|
|
17149
18110
|
isOneToOne: false;
|
|
17150
18111
|
referencedRelation: "purchase_orders";
|
|
17151
18112
|
referencedColumns: ["id"];
|
|
18113
|
+
},
|
|
18114
|
+
{
|
|
18115
|
+
foreignKeyName: "purchase_order_items_supplier_id_fkey";
|
|
18116
|
+
columns: ["supplier_id"];
|
|
18117
|
+
isOneToOne: false;
|
|
18118
|
+
referencedRelation: "suppliers";
|
|
18119
|
+
referencedColumns: ["id"];
|
|
18120
|
+
},
|
|
18121
|
+
{
|
|
18122
|
+
foreignKeyName: "purchase_order_items_supplier_product_id_fkey";
|
|
18123
|
+
columns: ["supplier_product_id"];
|
|
18124
|
+
isOneToOne: false;
|
|
18125
|
+
referencedRelation: "supplier_products";
|
|
18126
|
+
referencedColumns: ["id"];
|
|
17152
18127
|
}
|
|
17153
18128
|
];
|
|
17154
18129
|
};
|
|
17155
18130
|
purchase_orders: {
|
|
17156
18131
|
Row: {
|
|
18132
|
+
contact_person: string | null;
|
|
17157
18133
|
created_at: string;
|
|
18134
|
+
created_by: string | null;
|
|
17158
18135
|
expected_delivery_date: string;
|
|
17159
18136
|
id: string;
|
|
17160
18137
|
location_id: string | null;
|
|
17161
18138
|
notes: string | null;
|
|
17162
18139
|
order_number: string;
|
|
18140
|
+
reference: string | null;
|
|
18141
|
+
sent_at: string | null;
|
|
17163
18142
|
status: string;
|
|
17164
18143
|
supplier_id: string | null;
|
|
17165
18144
|
supplier_name: string;
|
|
18145
|
+
total_cents: number;
|
|
17166
18146
|
updated_at: string;
|
|
17167
18147
|
};
|
|
17168
18148
|
Insert: {
|
|
18149
|
+
contact_person?: string | null;
|
|
17169
18150
|
created_at?: string;
|
|
17170
|
-
|
|
18151
|
+
created_by?: string | null;
|
|
18152
|
+
expected_delivery_date?: string;
|
|
17171
18153
|
id?: string;
|
|
17172
18154
|
location_id?: string | null;
|
|
17173
18155
|
notes?: string | null;
|
|
17174
|
-
order_number
|
|
18156
|
+
order_number?: string;
|
|
18157
|
+
reference?: string | null;
|
|
18158
|
+
sent_at?: string | null;
|
|
17175
18159
|
status?: string;
|
|
17176
18160
|
supplier_id?: string | null;
|
|
17177
18161
|
supplier_name?: string;
|
|
18162
|
+
total_cents?: number;
|
|
17178
18163
|
updated_at?: string;
|
|
17179
18164
|
};
|
|
17180
18165
|
Update: {
|
|
18166
|
+
contact_person?: string | null;
|
|
17181
18167
|
created_at?: string;
|
|
18168
|
+
created_by?: string | null;
|
|
17182
18169
|
expected_delivery_date?: string;
|
|
17183
18170
|
id?: string;
|
|
17184
18171
|
location_id?: string | null;
|
|
17185
18172
|
notes?: string | null;
|
|
17186
18173
|
order_number?: string;
|
|
18174
|
+
reference?: string | null;
|
|
18175
|
+
sent_at?: string | null;
|
|
17187
18176
|
status?: string;
|
|
17188
18177
|
supplier_id?: string | null;
|
|
17189
18178
|
supplier_name?: string;
|
|
18179
|
+
total_cents?: number;
|
|
17190
18180
|
updated_at?: string;
|
|
17191
18181
|
};
|
|
17192
18182
|
Relationships: [
|
|
@@ -18097,15 +19087,167 @@ export type Database = {
|
|
|
18097
19087
|
};
|
|
18098
19088
|
Relationships: [];
|
|
18099
19089
|
};
|
|
19090
|
+
supplier_contacts: {
|
|
19091
|
+
Row: {
|
|
19092
|
+
created_at: string;
|
|
19093
|
+
email: string | null;
|
|
19094
|
+
id: string;
|
|
19095
|
+
is_primary: boolean;
|
|
19096
|
+
name: string;
|
|
19097
|
+
phone: string | null;
|
|
19098
|
+
role: string | null;
|
|
19099
|
+
supplier_id: string;
|
|
19100
|
+
updated_at: string;
|
|
19101
|
+
};
|
|
19102
|
+
Insert: {
|
|
19103
|
+
created_at?: string;
|
|
19104
|
+
email?: string | null;
|
|
19105
|
+
id?: string;
|
|
19106
|
+
is_primary?: boolean;
|
|
19107
|
+
name: string;
|
|
19108
|
+
phone?: string | null;
|
|
19109
|
+
role?: string | null;
|
|
19110
|
+
supplier_id: string;
|
|
19111
|
+
updated_at?: string;
|
|
19112
|
+
};
|
|
19113
|
+
Update: {
|
|
19114
|
+
created_at?: string;
|
|
19115
|
+
email?: string | null;
|
|
19116
|
+
id?: string;
|
|
19117
|
+
is_primary?: boolean;
|
|
19118
|
+
name?: string;
|
|
19119
|
+
phone?: string | null;
|
|
19120
|
+
role?: string | null;
|
|
19121
|
+
supplier_id?: string;
|
|
19122
|
+
updated_at?: string;
|
|
19123
|
+
};
|
|
19124
|
+
Relationships: [
|
|
19125
|
+
{
|
|
19126
|
+
foreignKeyName: "supplier_contacts_supplier_id_fkey";
|
|
19127
|
+
columns: ["supplier_id"];
|
|
19128
|
+
isOneToOne: false;
|
|
19129
|
+
referencedRelation: "suppliers";
|
|
19130
|
+
referencedColumns: ["id"];
|
|
19131
|
+
}
|
|
19132
|
+
];
|
|
19133
|
+
};
|
|
19134
|
+
supplier_price_history: {
|
|
19135
|
+
Row: {
|
|
19136
|
+
created_at: string;
|
|
19137
|
+
id: string;
|
|
19138
|
+
new_price_cents: number;
|
|
19139
|
+
old_price_cents: number | null;
|
|
19140
|
+
price_list_id: string | null;
|
|
19141
|
+
supplier_id: string | null;
|
|
19142
|
+
supplier_product_id: string;
|
|
19143
|
+
};
|
|
19144
|
+
Insert: {
|
|
19145
|
+
created_at?: string;
|
|
19146
|
+
id?: string;
|
|
19147
|
+
new_price_cents: number;
|
|
19148
|
+
old_price_cents?: number | null;
|
|
19149
|
+
price_list_id?: string | null;
|
|
19150
|
+
supplier_id?: string | null;
|
|
19151
|
+
supplier_product_id: string;
|
|
19152
|
+
};
|
|
19153
|
+
Update: {
|
|
19154
|
+
created_at?: string;
|
|
19155
|
+
id?: string;
|
|
19156
|
+
new_price_cents?: number;
|
|
19157
|
+
old_price_cents?: number | null;
|
|
19158
|
+
price_list_id?: string | null;
|
|
19159
|
+
supplier_id?: string | null;
|
|
19160
|
+
supplier_product_id?: string;
|
|
19161
|
+
};
|
|
19162
|
+
Relationships: [
|
|
19163
|
+
{
|
|
19164
|
+
foreignKeyName: "supplier_price_history_price_list_id_fkey";
|
|
19165
|
+
columns: ["price_list_id"];
|
|
19166
|
+
isOneToOne: false;
|
|
19167
|
+
referencedRelation: "price_lists";
|
|
19168
|
+
referencedColumns: ["id"];
|
|
19169
|
+
},
|
|
19170
|
+
{
|
|
19171
|
+
foreignKeyName: "supplier_price_history_supplier_product_id_fkey";
|
|
19172
|
+
columns: ["supplier_product_id"];
|
|
19173
|
+
isOneToOne: false;
|
|
19174
|
+
referencedRelation: "supplier_products";
|
|
19175
|
+
referencedColumns: ["id"];
|
|
19176
|
+
}
|
|
19177
|
+
];
|
|
19178
|
+
};
|
|
19179
|
+
supplier_price_list_mappings: {
|
|
19180
|
+
Row: {
|
|
19181
|
+
column_map: Json;
|
|
19182
|
+
created_at: string;
|
|
19183
|
+
deactivate_missing: boolean;
|
|
19184
|
+
decimal_separator: string;
|
|
19185
|
+
expected_headers: string[];
|
|
19186
|
+
extract_pot_from_name: boolean;
|
|
19187
|
+
header_row: number;
|
|
19188
|
+
id: string;
|
|
19189
|
+
max_error_ratio: number;
|
|
19190
|
+
price_is_cents: boolean;
|
|
19191
|
+
sheet_name: string | null;
|
|
19192
|
+
supplier_id: string;
|
|
19193
|
+
updated_at: string;
|
|
19194
|
+
};
|
|
19195
|
+
Insert: {
|
|
19196
|
+
column_map?: Json;
|
|
19197
|
+
created_at?: string;
|
|
19198
|
+
deactivate_missing?: boolean;
|
|
19199
|
+
decimal_separator?: string;
|
|
19200
|
+
expected_headers?: string[];
|
|
19201
|
+
extract_pot_from_name?: boolean;
|
|
19202
|
+
header_row?: number;
|
|
19203
|
+
id?: string;
|
|
19204
|
+
max_error_ratio?: number;
|
|
19205
|
+
price_is_cents?: boolean;
|
|
19206
|
+
sheet_name?: string | null;
|
|
19207
|
+
supplier_id: string;
|
|
19208
|
+
updated_at?: string;
|
|
19209
|
+
};
|
|
19210
|
+
Update: {
|
|
19211
|
+
column_map?: Json;
|
|
19212
|
+
created_at?: string;
|
|
19213
|
+
deactivate_missing?: boolean;
|
|
19214
|
+
decimal_separator?: string;
|
|
19215
|
+
expected_headers?: string[];
|
|
19216
|
+
extract_pot_from_name?: boolean;
|
|
19217
|
+
header_row?: number;
|
|
19218
|
+
id?: string;
|
|
19219
|
+
max_error_ratio?: number;
|
|
19220
|
+
price_is_cents?: boolean;
|
|
19221
|
+
sheet_name?: string | null;
|
|
19222
|
+
supplier_id?: string;
|
|
19223
|
+
updated_at?: string;
|
|
19224
|
+
};
|
|
19225
|
+
Relationships: [
|
|
19226
|
+
{
|
|
19227
|
+
foreignKeyName: "supplier_price_list_mappings_supplier_id_fkey";
|
|
19228
|
+
columns: ["supplier_id"];
|
|
19229
|
+
isOneToOne: true;
|
|
19230
|
+
referencedRelation: "suppliers";
|
|
19231
|
+
referencedColumns: ["id"];
|
|
19232
|
+
}
|
|
19233
|
+
];
|
|
19234
|
+
};
|
|
18100
19235
|
supplier_products: {
|
|
18101
19236
|
Row: {
|
|
18102
19237
|
article_number: string | null;
|
|
19238
|
+
available_quantity: number;
|
|
18103
19239
|
created_at: string;
|
|
19240
|
+
height: string | null;
|
|
18104
19241
|
id: string;
|
|
19242
|
+
is_active: boolean;
|
|
19243
|
+
min_order: number;
|
|
18105
19244
|
name: string;
|
|
18106
19245
|
notes: string | null;
|
|
19246
|
+
order_unit: number;
|
|
18107
19247
|
pot_size: string | null;
|
|
18108
19248
|
price: number | null;
|
|
19249
|
+
price_cents: number;
|
|
19250
|
+
quality: string | null;
|
|
18109
19251
|
quantity: number | null;
|
|
18110
19252
|
supplier_id: string;
|
|
18111
19253
|
unit: string;
|
|
@@ -18113,12 +19255,19 @@ export type Database = {
|
|
|
18113
19255
|
};
|
|
18114
19256
|
Insert: {
|
|
18115
19257
|
article_number?: string | null;
|
|
19258
|
+
available_quantity?: number;
|
|
18116
19259
|
created_at?: string;
|
|
19260
|
+
height?: string | null;
|
|
18117
19261
|
id?: string;
|
|
19262
|
+
is_active?: boolean;
|
|
19263
|
+
min_order?: number;
|
|
18118
19264
|
name: string;
|
|
18119
19265
|
notes?: string | null;
|
|
19266
|
+
order_unit?: number;
|
|
18120
19267
|
pot_size?: string | null;
|
|
18121
19268
|
price?: number | null;
|
|
19269
|
+
price_cents?: number;
|
|
19270
|
+
quality?: string | null;
|
|
18122
19271
|
quantity?: number | null;
|
|
18123
19272
|
supplier_id: string;
|
|
18124
19273
|
unit?: string;
|
|
@@ -18126,12 +19275,19 @@ export type Database = {
|
|
|
18126
19275
|
};
|
|
18127
19276
|
Update: {
|
|
18128
19277
|
article_number?: string | null;
|
|
19278
|
+
available_quantity?: number;
|
|
18129
19279
|
created_at?: string;
|
|
19280
|
+
height?: string | null;
|
|
18130
19281
|
id?: string;
|
|
19282
|
+
is_active?: boolean;
|
|
19283
|
+
min_order?: number;
|
|
18131
19284
|
name?: string;
|
|
18132
19285
|
notes?: string | null;
|
|
19286
|
+
order_unit?: number;
|
|
18133
19287
|
pot_size?: string | null;
|
|
18134
19288
|
price?: number | null;
|
|
19289
|
+
price_cents?: number;
|
|
19290
|
+
quality?: string | null;
|
|
18135
19291
|
quantity?: number | null;
|
|
18136
19292
|
supplier_id?: string;
|
|
18137
19293
|
unit?: string;
|
|
@@ -18150,6 +19306,7 @@ export type Database = {
|
|
|
18150
19306
|
suppliers: {
|
|
18151
19307
|
Row: {
|
|
18152
19308
|
address: string | null;
|
|
19309
|
+
category: string | null;
|
|
18153
19310
|
column_mappings: Json | null;
|
|
18154
19311
|
contact_person: string | null;
|
|
18155
19312
|
created_at: string;
|
|
@@ -18157,13 +19314,24 @@ export type Database = {
|
|
|
18157
19314
|
email: string | null;
|
|
18158
19315
|
id: string;
|
|
18159
19316
|
imported_file_name: string | null;
|
|
19317
|
+
is_preferred: boolean;
|
|
19318
|
+
kvk_number: string | null;
|
|
19319
|
+
lead_time_days: number | null;
|
|
19320
|
+
min_order_amount_cents: number;
|
|
18160
19321
|
name: string;
|
|
18161
19322
|
notes: string | null;
|
|
19323
|
+
order_days: string[];
|
|
19324
|
+
order_email: string | null;
|
|
19325
|
+
payment_terms_days: number | null;
|
|
18162
19326
|
phone: string | null;
|
|
19327
|
+
status: string;
|
|
18163
19328
|
updated_at: string;
|
|
19329
|
+
vat_number: string | null;
|
|
19330
|
+
website: string | null;
|
|
18164
19331
|
};
|
|
18165
19332
|
Insert: {
|
|
18166
19333
|
address?: string | null;
|
|
19334
|
+
category?: string | null;
|
|
18167
19335
|
column_mappings?: Json | null;
|
|
18168
19336
|
contact_person?: string | null;
|
|
18169
19337
|
created_at?: string;
|
|
@@ -18171,13 +19339,24 @@ export type Database = {
|
|
|
18171
19339
|
email?: string | null;
|
|
18172
19340
|
id?: string;
|
|
18173
19341
|
imported_file_name?: string | null;
|
|
19342
|
+
is_preferred?: boolean;
|
|
19343
|
+
kvk_number?: string | null;
|
|
19344
|
+
lead_time_days?: number | null;
|
|
19345
|
+
min_order_amount_cents?: number;
|
|
18174
19346
|
name: string;
|
|
18175
19347
|
notes?: string | null;
|
|
19348
|
+
order_days?: string[];
|
|
19349
|
+
order_email?: string | null;
|
|
19350
|
+
payment_terms_days?: number | null;
|
|
18176
19351
|
phone?: string | null;
|
|
19352
|
+
status?: string;
|
|
18177
19353
|
updated_at?: string;
|
|
19354
|
+
vat_number?: string | null;
|
|
19355
|
+
website?: string | null;
|
|
18178
19356
|
};
|
|
18179
19357
|
Update: {
|
|
18180
19358
|
address?: string | null;
|
|
19359
|
+
category?: string | null;
|
|
18181
19360
|
column_mappings?: Json | null;
|
|
18182
19361
|
contact_person?: string | null;
|
|
18183
19362
|
created_at?: string;
|
|
@@ -18185,10 +19364,20 @@ export type Database = {
|
|
|
18185
19364
|
email?: string | null;
|
|
18186
19365
|
id?: string;
|
|
18187
19366
|
imported_file_name?: string | null;
|
|
19367
|
+
is_preferred?: boolean;
|
|
19368
|
+
kvk_number?: string | null;
|
|
19369
|
+
lead_time_days?: number | null;
|
|
19370
|
+
min_order_amount_cents?: number;
|
|
18188
19371
|
name?: string;
|
|
18189
19372
|
notes?: string | null;
|
|
19373
|
+
order_days?: string[];
|
|
19374
|
+
order_email?: string | null;
|
|
19375
|
+
payment_terms_days?: number | null;
|
|
18190
19376
|
phone?: string | null;
|
|
19377
|
+
status?: string;
|
|
18191
19378
|
updated_at?: string;
|
|
19379
|
+
vat_number?: string | null;
|
|
19380
|
+
website?: string | null;
|
|
18192
19381
|
};
|
|
18193
19382
|
Relationships: [];
|
|
18194
19383
|
};
|
|
@@ -19210,11 +20399,13 @@ export type Database = {
|
|
|
19210
20399
|
auto_invoice_trigger_statuses: string[];
|
|
19211
20400
|
created_at: string;
|
|
19212
20401
|
debtor_gl_account: string;
|
|
20402
|
+
default_article_code: string | null;
|
|
19213
20403
|
default_credit_invoice_type: string | null;
|
|
19214
20404
|
default_gl_account: string;
|
|
19215
20405
|
default_invoice_type: string;
|
|
19216
20406
|
default_payment_term_days: number;
|
|
19217
20407
|
default_vat_code: string;
|
|
20408
|
+
email_purpose: string | null;
|
|
19218
20409
|
home_country_code: string;
|
|
19219
20410
|
invoice_enabled_ao: boolean;
|
|
19220
20411
|
invoice_enabled_fo: boolean;
|
|
@@ -19236,11 +20427,13 @@ export type Database = {
|
|
|
19236
20427
|
auto_invoice_trigger_statuses?: string[];
|
|
19237
20428
|
created_at?: string;
|
|
19238
20429
|
debtor_gl_account?: string;
|
|
20430
|
+
default_article_code?: string | null;
|
|
19239
20431
|
default_credit_invoice_type?: string | null;
|
|
19240
20432
|
default_gl_account?: string;
|
|
19241
20433
|
default_invoice_type?: string;
|
|
19242
20434
|
default_payment_term_days?: number;
|
|
19243
20435
|
default_vat_code?: string;
|
|
20436
|
+
email_purpose?: string | null;
|
|
19244
20437
|
home_country_code?: string;
|
|
19245
20438
|
invoice_enabled_ao?: boolean;
|
|
19246
20439
|
invoice_enabled_fo?: boolean;
|
|
@@ -19262,11 +20455,13 @@ export type Database = {
|
|
|
19262
20455
|
auto_invoice_trigger_statuses?: string[];
|
|
19263
20456
|
created_at?: string;
|
|
19264
20457
|
debtor_gl_account?: string;
|
|
20458
|
+
default_article_code?: string | null;
|
|
19265
20459
|
default_credit_invoice_type?: string | null;
|
|
19266
20460
|
default_gl_account?: string;
|
|
19267
20461
|
default_invoice_type?: string;
|
|
19268
20462
|
default_payment_term_days?: number;
|
|
19269
20463
|
default_vat_code?: string;
|
|
20464
|
+
email_purpose?: string | null;
|
|
19270
20465
|
home_country_code?: string;
|
|
19271
20466
|
invoice_enabled_ao?: boolean;
|
|
19272
20467
|
invoice_enabled_fo?: boolean;
|
|
@@ -20546,6 +21741,44 @@ export type Database = {
|
|
|
20546
21741
|
}
|
|
20547
21742
|
];
|
|
20548
21743
|
};
|
|
21744
|
+
werkbon_email_state: {
|
|
21745
|
+
Row: {
|
|
21746
|
+
created_at: string;
|
|
21747
|
+
event_id: string;
|
|
21748
|
+
id: string;
|
|
21749
|
+
is_archived: boolean;
|
|
21750
|
+
is_read: boolean;
|
|
21751
|
+
updated_at: string;
|
|
21752
|
+
werkbon_id: string | null;
|
|
21753
|
+
};
|
|
21754
|
+
Insert: {
|
|
21755
|
+
created_at?: string;
|
|
21756
|
+
event_id: string;
|
|
21757
|
+
id?: string;
|
|
21758
|
+
is_archived?: boolean;
|
|
21759
|
+
is_read?: boolean;
|
|
21760
|
+
updated_at?: string;
|
|
21761
|
+
werkbon_id?: string | null;
|
|
21762
|
+
};
|
|
21763
|
+
Update: {
|
|
21764
|
+
created_at?: string;
|
|
21765
|
+
event_id?: string;
|
|
21766
|
+
id?: string;
|
|
21767
|
+
is_archived?: boolean;
|
|
21768
|
+
is_read?: boolean;
|
|
21769
|
+
updated_at?: string;
|
|
21770
|
+
werkbon_id?: string | null;
|
|
21771
|
+
};
|
|
21772
|
+
Relationships: [
|
|
21773
|
+
{
|
|
21774
|
+
foreignKeyName: "werkbon_email_state_event_id_fkey";
|
|
21775
|
+
columns: ["event_id"];
|
|
21776
|
+
isOneToOne: true;
|
|
21777
|
+
referencedRelation: "email_auth_events";
|
|
21778
|
+
referencedColumns: ["id"];
|
|
21779
|
+
}
|
|
21780
|
+
];
|
|
21781
|
+
};
|
|
20549
21782
|
werkbon_export_runs: {
|
|
20550
21783
|
Row: {
|
|
20551
21784
|
created_at: string;
|
|
@@ -20702,14 +21935,155 @@ export type Database = {
|
|
|
20702
21935
|
};
|
|
20703
21936
|
Relationships: [];
|
|
20704
21937
|
};
|
|
20705
|
-
|
|
21938
|
+
werkbon_mail_ai_settings: {
|
|
20706
21939
|
Row: {
|
|
20707
|
-
article_number: string | null;
|
|
20708
21940
|
created_at: string;
|
|
20709
|
-
|
|
20710
|
-
|
|
20711
|
-
|
|
20712
|
-
|
|
21941
|
+
id: boolean;
|
|
21942
|
+
required_fields: string[];
|
|
21943
|
+
system_prompt: string;
|
|
21944
|
+
updated_at: string;
|
|
21945
|
+
updated_by: string | null;
|
|
21946
|
+
};
|
|
21947
|
+
Insert: {
|
|
21948
|
+
created_at?: string;
|
|
21949
|
+
id?: boolean;
|
|
21950
|
+
required_fields?: string[];
|
|
21951
|
+
system_prompt?: string;
|
|
21952
|
+
updated_at?: string;
|
|
21953
|
+
updated_by?: string | null;
|
|
21954
|
+
};
|
|
21955
|
+
Update: {
|
|
21956
|
+
created_at?: string;
|
|
21957
|
+
id?: boolean;
|
|
21958
|
+
required_fields?: string[];
|
|
21959
|
+
system_prompt?: string;
|
|
21960
|
+
updated_at?: string;
|
|
21961
|
+
updated_by?: string | null;
|
|
21962
|
+
};
|
|
21963
|
+
Relationships: [];
|
|
21964
|
+
};
|
|
21965
|
+
werkbon_mail_bodies: {
|
|
21966
|
+
Row: {
|
|
21967
|
+
created_at: string;
|
|
21968
|
+
event_id: string;
|
|
21969
|
+
fetch_error: string | null;
|
|
21970
|
+
fetched_at: string | null;
|
|
21971
|
+
html: string | null;
|
|
21972
|
+
updated_at: string;
|
|
21973
|
+
};
|
|
21974
|
+
Insert: {
|
|
21975
|
+
created_at?: string;
|
|
21976
|
+
event_id: string;
|
|
21977
|
+
fetch_error?: string | null;
|
|
21978
|
+
fetched_at?: string | null;
|
|
21979
|
+
html?: string | null;
|
|
21980
|
+
updated_at?: string;
|
|
21981
|
+
};
|
|
21982
|
+
Update: {
|
|
21983
|
+
created_at?: string;
|
|
21984
|
+
event_id?: string;
|
|
21985
|
+
fetch_error?: string | null;
|
|
21986
|
+
fetched_at?: string | null;
|
|
21987
|
+
html?: string | null;
|
|
21988
|
+
updated_at?: string;
|
|
21989
|
+
};
|
|
21990
|
+
Relationships: [];
|
|
21991
|
+
};
|
|
21992
|
+
werkbon_mail_inline_assets: {
|
|
21993
|
+
Row: {
|
|
21994
|
+
content_id: string | null;
|
|
21995
|
+
created_at: string;
|
|
21996
|
+
event_id: string;
|
|
21997
|
+
filename: string | null;
|
|
21998
|
+
id: string;
|
|
21999
|
+
is_inline: boolean;
|
|
22000
|
+
mime_type: string | null;
|
|
22001
|
+
size_bytes: number | null;
|
|
22002
|
+
storage_path: string;
|
|
22003
|
+
};
|
|
22004
|
+
Insert: {
|
|
22005
|
+
content_id?: string | null;
|
|
22006
|
+
created_at?: string;
|
|
22007
|
+
event_id: string;
|
|
22008
|
+
filename?: string | null;
|
|
22009
|
+
id?: string;
|
|
22010
|
+
is_inline?: boolean;
|
|
22011
|
+
mime_type?: string | null;
|
|
22012
|
+
size_bytes?: number | null;
|
|
22013
|
+
storage_path: string;
|
|
22014
|
+
};
|
|
22015
|
+
Update: {
|
|
22016
|
+
content_id?: string | null;
|
|
22017
|
+
created_at?: string;
|
|
22018
|
+
event_id?: string;
|
|
22019
|
+
filename?: string | null;
|
|
22020
|
+
id?: string;
|
|
22021
|
+
is_inline?: boolean;
|
|
22022
|
+
mime_type?: string | null;
|
|
22023
|
+
size_bytes?: number | null;
|
|
22024
|
+
storage_path?: string;
|
|
22025
|
+
};
|
|
22026
|
+
Relationships: [];
|
|
22027
|
+
};
|
|
22028
|
+
werkbon_mail_settings: {
|
|
22029
|
+
Row: {
|
|
22030
|
+
connection_id: string | null;
|
|
22031
|
+
connection_ids: string[];
|
|
22032
|
+
created_at: string;
|
|
22033
|
+
id: boolean;
|
|
22034
|
+
purposes: string[];
|
|
22035
|
+
source: string;
|
|
22036
|
+
updated_at: string;
|
|
22037
|
+
};
|
|
22038
|
+
Insert: {
|
|
22039
|
+
connection_id?: string | null;
|
|
22040
|
+
connection_ids?: string[];
|
|
22041
|
+
created_at?: string;
|
|
22042
|
+
id?: boolean;
|
|
22043
|
+
purposes?: string[];
|
|
22044
|
+
source?: string;
|
|
22045
|
+
updated_at?: string;
|
|
22046
|
+
};
|
|
22047
|
+
Update: {
|
|
22048
|
+
connection_id?: string | null;
|
|
22049
|
+
connection_ids?: string[];
|
|
22050
|
+
created_at?: string;
|
|
22051
|
+
id?: boolean;
|
|
22052
|
+
purposes?: string[];
|
|
22053
|
+
source?: string;
|
|
22054
|
+
updated_at?: string;
|
|
22055
|
+
};
|
|
22056
|
+
Relationships: [];
|
|
22057
|
+
};
|
|
22058
|
+
werkbon_mail_user_settings: {
|
|
22059
|
+
Row: {
|
|
22060
|
+
created_at: string;
|
|
22061
|
+
email_purpose: string | null;
|
|
22062
|
+
updated_at: string;
|
|
22063
|
+
user_id: string;
|
|
22064
|
+
};
|
|
22065
|
+
Insert: {
|
|
22066
|
+
created_at?: string;
|
|
22067
|
+
email_purpose?: string | null;
|
|
22068
|
+
updated_at?: string;
|
|
22069
|
+
user_id: string;
|
|
22070
|
+
};
|
|
22071
|
+
Update: {
|
|
22072
|
+
created_at?: string;
|
|
22073
|
+
email_purpose?: string | null;
|
|
22074
|
+
updated_at?: string;
|
|
22075
|
+
user_id?: string;
|
|
22076
|
+
};
|
|
22077
|
+
Relationships: [];
|
|
22078
|
+
};
|
|
22079
|
+
werkbon_materials: {
|
|
22080
|
+
Row: {
|
|
22081
|
+
article_number: string | null;
|
|
22082
|
+
created_at: string;
|
|
22083
|
+
created_by: string | null;
|
|
22084
|
+
description: string;
|
|
22085
|
+
id: string;
|
|
22086
|
+
quantity: number;
|
|
20713
22087
|
source: string;
|
|
20714
22088
|
unit: string;
|
|
20715
22089
|
unit_price_cents: number;
|
|
@@ -21058,6 +22432,158 @@ export type Database = {
|
|
|
21058
22432
|
}
|
|
21059
22433
|
];
|
|
21060
22434
|
};
|
|
22435
|
+
werkbon_proposal_lines: {
|
|
22436
|
+
Row: {
|
|
22437
|
+
article_number: string | null;
|
|
22438
|
+
created_at: string;
|
|
22439
|
+
description: string | null;
|
|
22440
|
+
id: string;
|
|
22441
|
+
line_type: string;
|
|
22442
|
+
note: string | null;
|
|
22443
|
+
package_id: string | null;
|
|
22444
|
+
proposal_id: string;
|
|
22445
|
+
quantity: number | null;
|
|
22446
|
+
sort_order: number;
|
|
22447
|
+
unit: string | null;
|
|
22448
|
+
updated_at: string;
|
|
22449
|
+
};
|
|
22450
|
+
Insert: {
|
|
22451
|
+
article_number?: string | null;
|
|
22452
|
+
created_at?: string;
|
|
22453
|
+
description?: string | null;
|
|
22454
|
+
id?: string;
|
|
22455
|
+
line_type?: string;
|
|
22456
|
+
note?: string | null;
|
|
22457
|
+
package_id?: string | null;
|
|
22458
|
+
proposal_id: string;
|
|
22459
|
+
quantity?: number | null;
|
|
22460
|
+
sort_order?: number;
|
|
22461
|
+
unit?: string | null;
|
|
22462
|
+
updated_at?: string;
|
|
22463
|
+
};
|
|
22464
|
+
Update: {
|
|
22465
|
+
article_number?: string | null;
|
|
22466
|
+
created_at?: string;
|
|
22467
|
+
description?: string | null;
|
|
22468
|
+
id?: string;
|
|
22469
|
+
line_type?: string;
|
|
22470
|
+
note?: string | null;
|
|
22471
|
+
package_id?: string | null;
|
|
22472
|
+
proposal_id?: string;
|
|
22473
|
+
quantity?: number | null;
|
|
22474
|
+
sort_order?: number;
|
|
22475
|
+
unit?: string | null;
|
|
22476
|
+
updated_at?: string;
|
|
22477
|
+
};
|
|
22478
|
+
Relationships: [
|
|
22479
|
+
{
|
|
22480
|
+
foreignKeyName: "werkbon_proposal_lines_proposal_id_fkey";
|
|
22481
|
+
columns: ["proposal_id"];
|
|
22482
|
+
isOneToOne: false;
|
|
22483
|
+
referencedRelation: "werkbon_proposals";
|
|
22484
|
+
referencedColumns: ["id"];
|
|
22485
|
+
}
|
|
22486
|
+
];
|
|
22487
|
+
};
|
|
22488
|
+
werkbon_proposals: {
|
|
22489
|
+
Row: {
|
|
22490
|
+
analysed: boolean;
|
|
22491
|
+
budget_mandate_cents: number;
|
|
22492
|
+
complaint_description: string | null;
|
|
22493
|
+
contact_id: string | null;
|
|
22494
|
+
created_at: string;
|
|
22495
|
+
created_werkbon_id: string | null;
|
|
22496
|
+
customer_id: string | null;
|
|
22497
|
+
deadline_date: string | null;
|
|
22498
|
+
estimated_days: number | null;
|
|
22499
|
+
estimated_duration_minutes: number | null;
|
|
22500
|
+
event_id: string;
|
|
22501
|
+
external_id: string | null;
|
|
22502
|
+
externe_referentie: string | null;
|
|
22503
|
+
from_email: string | null;
|
|
22504
|
+
from_name: string | null;
|
|
22505
|
+
id: string;
|
|
22506
|
+
internal_notes: string | null;
|
|
22507
|
+
parsed_payload: Json;
|
|
22508
|
+
received_at: string | null;
|
|
22509
|
+
reviewed_at: string | null;
|
|
22510
|
+
reviewed_by: string | null;
|
|
22511
|
+
room_number: string | null;
|
|
22512
|
+
scheduled_end_time: string | null;
|
|
22513
|
+
scheduled_start_time: string | null;
|
|
22514
|
+
status: string;
|
|
22515
|
+
subject: string | null;
|
|
22516
|
+
technician_id: string | null;
|
|
22517
|
+
technician_task_description: string | null;
|
|
22518
|
+
updated_at: string;
|
|
22519
|
+
work_address: string | null;
|
|
22520
|
+
};
|
|
22521
|
+
Insert: {
|
|
22522
|
+
analysed?: boolean;
|
|
22523
|
+
budget_mandate_cents?: number;
|
|
22524
|
+
complaint_description?: string | null;
|
|
22525
|
+
contact_id?: string | null;
|
|
22526
|
+
created_at?: string;
|
|
22527
|
+
created_werkbon_id?: string | null;
|
|
22528
|
+
customer_id?: string | null;
|
|
22529
|
+
deadline_date?: string | null;
|
|
22530
|
+
estimated_days?: number | null;
|
|
22531
|
+
estimated_duration_minutes?: number | null;
|
|
22532
|
+
event_id: string;
|
|
22533
|
+
external_id?: string | null;
|
|
22534
|
+
externe_referentie?: string | null;
|
|
22535
|
+
from_email?: string | null;
|
|
22536
|
+
from_name?: string | null;
|
|
22537
|
+
id?: string;
|
|
22538
|
+
internal_notes?: string | null;
|
|
22539
|
+
parsed_payload?: Json;
|
|
22540
|
+
received_at?: string | null;
|
|
22541
|
+
reviewed_at?: string | null;
|
|
22542
|
+
reviewed_by?: string | null;
|
|
22543
|
+
room_number?: string | null;
|
|
22544
|
+
scheduled_end_time?: string | null;
|
|
22545
|
+
scheduled_start_time?: string | null;
|
|
22546
|
+
status?: string;
|
|
22547
|
+
subject?: string | null;
|
|
22548
|
+
technician_id?: string | null;
|
|
22549
|
+
technician_task_description?: string | null;
|
|
22550
|
+
updated_at?: string;
|
|
22551
|
+
work_address?: string | null;
|
|
22552
|
+
};
|
|
22553
|
+
Update: {
|
|
22554
|
+
analysed?: boolean;
|
|
22555
|
+
budget_mandate_cents?: number;
|
|
22556
|
+
complaint_description?: string | null;
|
|
22557
|
+
contact_id?: string | null;
|
|
22558
|
+
created_at?: string;
|
|
22559
|
+
created_werkbon_id?: string | null;
|
|
22560
|
+
customer_id?: string | null;
|
|
22561
|
+
deadline_date?: string | null;
|
|
22562
|
+
estimated_days?: number | null;
|
|
22563
|
+
estimated_duration_minutes?: number | null;
|
|
22564
|
+
event_id?: string;
|
|
22565
|
+
external_id?: string | null;
|
|
22566
|
+
externe_referentie?: string | null;
|
|
22567
|
+
from_email?: string | null;
|
|
22568
|
+
from_name?: string | null;
|
|
22569
|
+
id?: string;
|
|
22570
|
+
internal_notes?: string | null;
|
|
22571
|
+
parsed_payload?: Json;
|
|
22572
|
+
received_at?: string | null;
|
|
22573
|
+
reviewed_at?: string | null;
|
|
22574
|
+
reviewed_by?: string | null;
|
|
22575
|
+
room_number?: string | null;
|
|
22576
|
+
scheduled_end_time?: string | null;
|
|
22577
|
+
scheduled_start_time?: string | null;
|
|
22578
|
+
status?: string;
|
|
22579
|
+
subject?: string | null;
|
|
22580
|
+
technician_id?: string | null;
|
|
22581
|
+
technician_task_description?: string | null;
|
|
22582
|
+
updated_at?: string;
|
|
22583
|
+
work_address?: string | null;
|
|
22584
|
+
};
|
|
22585
|
+
Relationships: [];
|
|
22586
|
+
};
|
|
21061
22587
|
werkbon_time_logs: {
|
|
21062
22588
|
Row: {
|
|
21063
22589
|
activity: string;
|
|
@@ -21114,6 +22640,9 @@ export type Database = {
|
|
|
21114
22640
|
created_at: string;
|
|
21115
22641
|
created_by: string | null;
|
|
21116
22642
|
customer_id: string | null;
|
|
22643
|
+
deadline_date: string | null;
|
|
22644
|
+
estimated_days: number | null;
|
|
22645
|
+
estimated_duration_minutes: number | null;
|
|
21117
22646
|
externe_referentie: string | null;
|
|
21118
22647
|
extra_costs_cents: number;
|
|
21119
22648
|
first_time_fix: boolean | null;
|
|
@@ -21144,6 +22673,7 @@ export type Database = {
|
|
|
21144
22673
|
updated_at: string;
|
|
21145
22674
|
version: number;
|
|
21146
22675
|
work_address: string | null;
|
|
22676
|
+
workday_hours: number | null;
|
|
21147
22677
|
};
|
|
21148
22678
|
Insert: {
|
|
21149
22679
|
assigned_user_id?: string | null;
|
|
@@ -21152,6 +22682,9 @@ export type Database = {
|
|
|
21152
22682
|
created_at?: string;
|
|
21153
22683
|
created_by?: string | null;
|
|
21154
22684
|
customer_id?: string | null;
|
|
22685
|
+
deadline_date?: string | null;
|
|
22686
|
+
estimated_days?: number | null;
|
|
22687
|
+
estimated_duration_minutes?: number | null;
|
|
21155
22688
|
externe_referentie?: string | null;
|
|
21156
22689
|
extra_costs_cents?: number;
|
|
21157
22690
|
first_time_fix?: boolean | null;
|
|
@@ -21182,6 +22715,7 @@ export type Database = {
|
|
|
21182
22715
|
updated_at?: string;
|
|
21183
22716
|
version?: number;
|
|
21184
22717
|
work_address?: string | null;
|
|
22718
|
+
workday_hours?: number | null;
|
|
21185
22719
|
};
|
|
21186
22720
|
Update: {
|
|
21187
22721
|
assigned_user_id?: string | null;
|
|
@@ -21190,6 +22724,9 @@ export type Database = {
|
|
|
21190
22724
|
created_at?: string;
|
|
21191
22725
|
created_by?: string | null;
|
|
21192
22726
|
customer_id?: string | null;
|
|
22727
|
+
deadline_date?: string | null;
|
|
22728
|
+
estimated_days?: number | null;
|
|
22729
|
+
estimated_duration_minutes?: number | null;
|
|
21193
22730
|
externe_referentie?: string | null;
|
|
21194
22731
|
extra_costs_cents?: number;
|
|
21195
22732
|
first_time_fix?: boolean | null;
|
|
@@ -21220,6 +22757,7 @@ export type Database = {
|
|
|
21220
22757
|
updated_at?: string;
|
|
21221
22758
|
version?: number;
|
|
21222
22759
|
work_address?: string | null;
|
|
22760
|
+
workday_hours?: number | null;
|
|
21223
22761
|
};
|
|
21224
22762
|
Relationships: [
|
|
21225
22763
|
{
|
|
@@ -22462,6 +24000,10 @@ export type Database = {
|
|
|
22462
24000
|
};
|
|
22463
24001
|
Returns: string;
|
|
22464
24002
|
};
|
|
24003
|
+
backfill_cart_numbers_day_seq: {
|
|
24004
|
+
Args: never;
|
|
24005
|
+
Returns: number;
|
|
24006
|
+
};
|
|
22465
24007
|
backfill_open_order_reservations: {
|
|
22466
24008
|
Args: never;
|
|
22467
24009
|
Returns: {
|
|
@@ -22948,8 +24490,6 @@ export type Database = {
|
|
|
22948
24490
|
cart_index: number;
|
|
22949
24491
|
cart_number: string;
|
|
22950
24492
|
cart_number_id: string;
|
|
22951
|
-
cart_seq: number;
|
|
22952
|
-
cart_total: number;
|
|
22953
24493
|
order_id: string;
|
|
22954
24494
|
order_number: string;
|
|
22955
24495
|
order_source: string;
|
|
@@ -23470,13 +25010,34 @@ export type Database = {
|
|
|
23470
25010
|
Args: never;
|
|
23471
25011
|
Returns: string;
|
|
23472
25012
|
};
|
|
23473
|
-
|
|
23474
|
-
Args: never;
|
|
23475
|
-
Returns: Json;
|
|
23476
|
-
};
|
|
23477
|
-
handover_archiveren: {
|
|
25013
|
+
handover_afspraak_intrekken: {
|
|
23478
25014
|
Args: {
|
|
23479
|
-
|
|
25015
|
+
_sleutel: string;
|
|
25016
|
+
};
|
|
25017
|
+
Returns: boolean;
|
|
25018
|
+
};
|
|
25019
|
+
handover_afspraak_zetten: {
|
|
25020
|
+
Args: {
|
|
25021
|
+
_besluit: string;
|
|
25022
|
+
_item: string;
|
|
25023
|
+
_modules: string[];
|
|
25024
|
+
_sleutel: string;
|
|
25025
|
+
_soort: string;
|
|
25026
|
+
_versie_vingerafdruk: string;
|
|
25027
|
+
};
|
|
25028
|
+
Returns: boolean;
|
|
25029
|
+
};
|
|
25030
|
+
handover_afspraken: {
|
|
25031
|
+
Args: never;
|
|
25032
|
+
Returns: Json;
|
|
25033
|
+
};
|
|
25034
|
+
handover_archief_lijst: {
|
|
25035
|
+
Args: never;
|
|
25036
|
+
Returns: Json;
|
|
25037
|
+
};
|
|
25038
|
+
handover_archiveren: {
|
|
25039
|
+
Args: {
|
|
25040
|
+
_archief?: boolean;
|
|
23480
25041
|
_module_id: string;
|
|
23481
25042
|
};
|
|
23482
25043
|
Returns: boolean;
|
|
@@ -23487,6 +25048,12 @@ export type Database = {
|
|
|
23487
25048
|
};
|
|
23488
25049
|
Returns: boolean;
|
|
23489
25050
|
};
|
|
25051
|
+
handover_check_afronden_na_scan: {
|
|
25052
|
+
Args: {
|
|
25053
|
+
_module_ids: string[];
|
|
25054
|
+
};
|
|
25055
|
+
Returns: number;
|
|
25056
|
+
};
|
|
23490
25057
|
handover_check_markeren: {
|
|
23491
25058
|
Args: {
|
|
23492
25059
|
_module_ids: string[];
|
|
@@ -23530,6 +25097,14 @@ export type Database = {
|
|
|
23530
25097
|
};
|
|
23531
25098
|
Returns: boolean;
|
|
23532
25099
|
};
|
|
25100
|
+
handover_md_bron_zetten: {
|
|
25101
|
+
Args: {
|
|
25102
|
+
_md: boolean;
|
|
25103
|
+
_module_id: string;
|
|
25104
|
+
_pad?: string;
|
|
25105
|
+
};
|
|
25106
|
+
Returns: boolean;
|
|
25107
|
+
};
|
|
23533
25108
|
handover_module_meta_zetten: {
|
|
23534
25109
|
Args: {
|
|
23535
25110
|
_module_id: string;
|
|
@@ -23538,6 +25113,24 @@ export type Database = {
|
|
|
23538
25113
|
};
|
|
23539
25114
|
Returns: boolean;
|
|
23540
25115
|
};
|
|
25116
|
+
handover_naam_zetten: {
|
|
25117
|
+
Args: {
|
|
25118
|
+
_bron_repo?: string;
|
|
25119
|
+
_module_id: string;
|
|
25120
|
+
_weergavenaam?: string;
|
|
25121
|
+
};
|
|
25122
|
+
Returns: boolean;
|
|
25123
|
+
};
|
|
25124
|
+
handover_namen: {
|
|
25125
|
+
Args: never;
|
|
25126
|
+
Returns: Json;
|
|
25127
|
+
};
|
|
25128
|
+
handover_nieuw_gezien: {
|
|
25129
|
+
Args: {
|
|
25130
|
+
_module_id: string;
|
|
25131
|
+
};
|
|
25132
|
+
Returns: boolean;
|
|
25133
|
+
};
|
|
23541
25134
|
handover_norm_naam: {
|
|
23542
25135
|
Args: {
|
|
23543
25136
|
_naam: string;
|
|
@@ -23574,6 +25167,24 @@ export type Database = {
|
|
|
23574
25167
|
_versie_label?: string;
|
|
23575
25168
|
};
|
|
23576
25169
|
Returns: Json;
|
|
25170
|
+
} | {
|
|
25171
|
+
Args: {
|
|
25172
|
+
_bekende_risicos?: string[];
|
|
25173
|
+
_bezit_tabellen?: string[];
|
|
25174
|
+
_bron_soort?: string;
|
|
25175
|
+
_commit?: string;
|
|
25176
|
+
_contractfuncties?: string[];
|
|
25177
|
+
_inhoud_md: string;
|
|
25178
|
+
_laatst_bevestigd_op?: string;
|
|
25179
|
+
_module_id: string;
|
|
25180
|
+
_module_titel: string;
|
|
25181
|
+
_ontbrekende_contracten?: string[];
|
|
25182
|
+
_pad?: string;
|
|
25183
|
+
_repo?: string;
|
|
25184
|
+
_samenvatting?: string;
|
|
25185
|
+
_versie_label?: string;
|
|
25186
|
+
};
|
|
25187
|
+
Returns: Json;
|
|
23577
25188
|
};
|
|
23578
25189
|
handover_publish_via_token: {
|
|
23579
25190
|
Args: {
|
|
@@ -23671,6 +25282,27 @@ export type Database = {
|
|
|
23671
25282
|
Args: never;
|
|
23672
25283
|
Returns: boolean;
|
|
23673
25284
|
};
|
|
25285
|
+
inkoop_apply_price_list: {
|
|
25286
|
+
Args: {
|
|
25287
|
+
_price_list_id: string;
|
|
25288
|
+
_rows: Json;
|
|
25289
|
+
};
|
|
25290
|
+
Returns: Json;
|
|
25291
|
+
};
|
|
25292
|
+
inkoop_next_order_number: {
|
|
25293
|
+
Args: never;
|
|
25294
|
+
Returns: string;
|
|
25295
|
+
};
|
|
25296
|
+
inkoop_send_order: {
|
|
25297
|
+
Args: {
|
|
25298
|
+
_order_id: string;
|
|
25299
|
+
};
|
|
25300
|
+
Returns: {
|
|
25301
|
+
outbox_id: string;
|
|
25302
|
+
supplier_name: string;
|
|
25303
|
+
to_address: string;
|
|
25304
|
+
}[];
|
|
25305
|
+
};
|
|
23674
25306
|
instructie_get: {
|
|
23675
25307
|
Args: {
|
|
23676
25308
|
_sleutel: string;
|
|
@@ -23730,6 +25362,13 @@ export type Database = {
|
|
|
23730
25362
|
};
|
|
23731
25363
|
Returns: Json;
|
|
23732
25364
|
};
|
|
25365
|
+
invoice_source_lines: {
|
|
25366
|
+
Args: {
|
|
25367
|
+
_source_id: string;
|
|
25368
|
+
_source_type: string;
|
|
25369
|
+
};
|
|
25370
|
+
Returns: Json;
|
|
25371
|
+
};
|
|
23733
25372
|
is_authenticated: {
|
|
23734
25373
|
Args: never;
|
|
23735
25374
|
Returns: boolean;
|
|
@@ -24300,6 +25939,12 @@ export type Database = {
|
|
|
24300
25939
|
Args: never;
|
|
24301
25940
|
Returns: Json;
|
|
24302
25941
|
};
|
|
25942
|
+
logistics_cleanup_tasks: {
|
|
25943
|
+
Args: {
|
|
25944
|
+
p_limit?: number;
|
|
25945
|
+
};
|
|
25946
|
+
Returns: Json;
|
|
25947
|
+
};
|
|
24303
25948
|
logistics_complete_task: {
|
|
24304
25949
|
Args: {
|
|
24305
25950
|
p_result?: Json;
|
|
@@ -24796,6 +26441,16 @@ export type Database = {
|
|
|
24796
26441
|
};
|
|
24797
26442
|
Returns: number;
|
|
24798
26443
|
};
|
|
26444
|
+
logistics_merge_floriday_lines: {
|
|
26445
|
+
Args: {
|
|
26446
|
+
p_order_id: string;
|
|
26447
|
+
};
|
|
26448
|
+
Returns: string;
|
|
26449
|
+
};
|
|
26450
|
+
logistics_merge_lines_enabled: {
|
|
26451
|
+
Args: never;
|
|
26452
|
+
Returns: boolean;
|
|
26453
|
+
};
|
|
24799
26454
|
logistics_merge_partial_carts: {
|
|
24800
26455
|
Args: {
|
|
24801
26456
|
p_limit?: number;
|
|
@@ -24832,12 +26487,46 @@ export type Database = {
|
|
|
24832
26487
|
Args: never;
|
|
24833
26488
|
Returns: string;
|
|
24834
26489
|
};
|
|
26490
|
+
logistics_order_cart_approval: {
|
|
26491
|
+
Args: {
|
|
26492
|
+
_order_ref: string;
|
|
26493
|
+
};
|
|
26494
|
+
Returns: {
|
|
26495
|
+
approved: number;
|
|
26496
|
+
total: number;
|
|
26497
|
+
}[];
|
|
26498
|
+
};
|
|
24835
26499
|
logistics_order_cart_count: {
|
|
24836
26500
|
Args: {
|
|
24837
26501
|
p_order_ref: string;
|
|
24838
26502
|
};
|
|
24839
26503
|
Returns: number;
|
|
24840
26504
|
};
|
|
26505
|
+
logistics_order_changed: {
|
|
26506
|
+
Args: {
|
|
26507
|
+
p_order_id: string;
|
|
26508
|
+
p_reason?: string;
|
|
26509
|
+
};
|
|
26510
|
+
Returns: undefined;
|
|
26511
|
+
};
|
|
26512
|
+
logistics_order_documents_ready: {
|
|
26513
|
+
Args: {
|
|
26514
|
+
p_order_ref: string;
|
|
26515
|
+
};
|
|
26516
|
+
Returns: Json;
|
|
26517
|
+
};
|
|
26518
|
+
logistics_order_documents_ready_bool: {
|
|
26519
|
+
Args: {
|
|
26520
|
+
p_order_ref: string;
|
|
26521
|
+
};
|
|
26522
|
+
Returns: boolean;
|
|
26523
|
+
};
|
|
26524
|
+
logistics_order_frozen: {
|
|
26525
|
+
Args: {
|
|
26526
|
+
p_order_id: string;
|
|
26527
|
+
};
|
|
26528
|
+
Returns: boolean;
|
|
26529
|
+
};
|
|
24841
26530
|
logistics_order_handled: {
|
|
24842
26531
|
Args: {
|
|
24843
26532
|
p_order_uuid: string;
|
|
@@ -24851,6 +26540,18 @@ export type Database = {
|
|
|
24851
26540
|
};
|
|
24852
26541
|
Returns: boolean;
|
|
24853
26542
|
};
|
|
26543
|
+
logistics_order_merge_key: {
|
|
26544
|
+
Args: {
|
|
26545
|
+
p_group_key: string;
|
|
26546
|
+
};
|
|
26547
|
+
Returns: string;
|
|
26548
|
+
};
|
|
26549
|
+
logistics_order_mergeable: {
|
|
26550
|
+
Args: {
|
|
26551
|
+
p_order_id: string;
|
|
26552
|
+
};
|
|
26553
|
+
Returns: boolean;
|
|
26554
|
+
};
|
|
24854
26555
|
logistics_order_overview: {
|
|
24855
26556
|
Args: {
|
|
24856
26557
|
p_from?: string;
|
|
@@ -24975,6 +26676,12 @@ export type Database = {
|
|
|
24975
26676
|
order_id: string;
|
|
24976
26677
|
}[];
|
|
24977
26678
|
};
|
|
26679
|
+
logistics_plan_defer: {
|
|
26680
|
+
Args: {
|
|
26681
|
+
p_id: string;
|
|
26682
|
+
};
|
|
26683
|
+
Returns: undefined;
|
|
26684
|
+
};
|
|
24978
26685
|
logistics_plan_enqueue: {
|
|
24979
26686
|
Args: {
|
|
24980
26687
|
p_order_id: string;
|
|
@@ -24988,6 +26695,18 @@ export type Database = {
|
|
|
24988
26695
|
};
|
|
24989
26696
|
Returns: boolean;
|
|
24990
26697
|
};
|
|
26698
|
+
logistics_plan_error_class: {
|
|
26699
|
+
Args: {
|
|
26700
|
+
p_error: string;
|
|
26701
|
+
};
|
|
26702
|
+
Returns: string;
|
|
26703
|
+
};
|
|
26704
|
+
logistics_plan_error_text: {
|
|
26705
|
+
Args: {
|
|
26706
|
+
p_error: string;
|
|
26707
|
+
};
|
|
26708
|
+
Returns: string;
|
|
26709
|
+
};
|
|
24991
26710
|
logistics_plan_finish: {
|
|
24992
26711
|
Args: {
|
|
24993
26712
|
p_error?: string;
|
|
@@ -25016,6 +26735,21 @@ export type Database = {
|
|
|
25016
26735
|
Args: never;
|
|
25017
26736
|
Returns: undefined;
|
|
25018
26737
|
};
|
|
26738
|
+
logistics_plan_lock_acquire: {
|
|
26739
|
+
Args: {
|
|
26740
|
+
_key: string;
|
|
26741
|
+
_owner?: string;
|
|
26742
|
+
_ttl_seconds?: number;
|
|
26743
|
+
};
|
|
26744
|
+
Returns: boolean;
|
|
26745
|
+
};
|
|
26746
|
+
logistics_plan_lock_release: {
|
|
26747
|
+
Args: {
|
|
26748
|
+
_key: string;
|
|
26749
|
+
_owner?: string;
|
|
26750
|
+
};
|
|
26751
|
+
Returns: undefined;
|
|
26752
|
+
};
|
|
25019
26753
|
logistics_plan_progress: {
|
|
25020
26754
|
Args: {
|
|
25021
26755
|
p_refs: string[];
|
|
@@ -25030,14 +26764,51 @@ export type Database = {
|
|
|
25030
26764
|
unit_ref: string;
|
|
25031
26765
|
}[];
|
|
25032
26766
|
};
|
|
26767
|
+
logistics_plan_progress_pct: {
|
|
26768
|
+
Args: {
|
|
26769
|
+
p_order_id: string;
|
|
26770
|
+
};
|
|
26771
|
+
Returns: number;
|
|
26772
|
+
};
|
|
25033
26773
|
logistics_plan_prune: {
|
|
25034
26774
|
Args: never;
|
|
25035
26775
|
Returns: number;
|
|
25036
26776
|
};
|
|
26777
|
+
logistics_plan_queue_list: {
|
|
26778
|
+
Args: {
|
|
26779
|
+
p_limit?: number;
|
|
26780
|
+
};
|
|
26781
|
+
Returns: {
|
|
26782
|
+
attempts: number;
|
|
26783
|
+
claimed_at: string;
|
|
26784
|
+
customer_name: string;
|
|
26785
|
+
enqueued_at: string;
|
|
26786
|
+
error_class: string;
|
|
26787
|
+
error_raw: string;
|
|
26788
|
+
error_text: string;
|
|
26789
|
+
id: string;
|
|
26790
|
+
max_attempts: number;
|
|
26791
|
+
next_attempt_at: string;
|
|
26792
|
+
order_created_at: string;
|
|
26793
|
+
order_id: string;
|
|
26794
|
+
order_number: string;
|
|
26795
|
+
progress_pct: number;
|
|
26796
|
+
reason: string;
|
|
26797
|
+
stand: string;
|
|
26798
|
+
status: string;
|
|
26799
|
+
updated_at: string;
|
|
26800
|
+
}[];
|
|
26801
|
+
};
|
|
25037
26802
|
logistics_plan_release_stale: {
|
|
25038
26803
|
Args: never;
|
|
25039
26804
|
Returns: number;
|
|
25040
26805
|
};
|
|
26806
|
+
logistics_plan_reset_queue: {
|
|
26807
|
+
Args: {
|
|
26808
|
+
p_scope?: string;
|
|
26809
|
+
};
|
|
26810
|
+
Returns: number;
|
|
26811
|
+
};
|
|
25041
26812
|
logistics_plan_retry: {
|
|
25042
26813
|
Args: {
|
|
25043
26814
|
p_order_ids: string[];
|
|
@@ -25057,6 +26828,10 @@ export type Database = {
|
|
|
25057
26828
|
};
|
|
25058
26829
|
Returns: Json;
|
|
25059
26830
|
};
|
|
26831
|
+
logistics_plan_timeout_running: {
|
|
26832
|
+
Args: never;
|
|
26833
|
+
Returns: number;
|
|
26834
|
+
};
|
|
25060
26835
|
logistics_prepare_pick_documents: {
|
|
25061
26836
|
Args: {
|
|
25062
26837
|
p_limit?: number;
|
|
@@ -25133,6 +26908,12 @@ export type Database = {
|
|
|
25133
26908
|
};
|
|
25134
26909
|
Returns: Json;
|
|
25135
26910
|
};
|
|
26911
|
+
logistics_replan_order_journey: {
|
|
26912
|
+
Args: {
|
|
26913
|
+
p_order_ref: string;
|
|
26914
|
+
};
|
|
26915
|
+
Returns: Json;
|
|
26916
|
+
};
|
|
25136
26917
|
logistics_report_delay: {
|
|
25137
26918
|
Args: {
|
|
25138
26919
|
p_expected_date?: string;
|
|
@@ -25254,6 +27035,11 @@ export type Database = {
|
|
|
25254
27035
|
logistics_schedule_tasks: {
|
|
25255
27036
|
Args: never;
|
|
25256
27037
|
Returns: number;
|
|
27038
|
+
} | {
|
|
27039
|
+
Args: {
|
|
27040
|
+
p_order_ref?: string;
|
|
27041
|
+
};
|
|
27042
|
+
Returns: number;
|
|
25257
27043
|
};
|
|
25258
27044
|
logistics_set_order_priority: {
|
|
25259
27045
|
Args: {
|
|
@@ -25277,6 +27063,12 @@ export type Database = {
|
|
|
25277
27063
|
};
|
|
25278
27064
|
Returns: string;
|
|
25279
27065
|
};
|
|
27066
|
+
logistics_shipping_note_diagnose: {
|
|
27067
|
+
Args: {
|
|
27068
|
+
p_order_number: string;
|
|
27069
|
+
};
|
|
27070
|
+
Returns: Json;
|
|
27071
|
+
};
|
|
25280
27072
|
logistics_shipping_note_follows_slip: {
|
|
25281
27073
|
Args: never;
|
|
25282
27074
|
Returns: boolean;
|
|
@@ -25401,6 +27193,10 @@ export type Database = {
|
|
|
25401
27193
|
};
|
|
25402
27194
|
Returns: number;
|
|
25403
27195
|
};
|
|
27196
|
+
logistics_task_retention_days: {
|
|
27197
|
+
Args: never;
|
|
27198
|
+
Returns: number;
|
|
27199
|
+
};
|
|
25404
27200
|
logistics_tick_ping: {
|
|
25405
27201
|
Args: never;
|
|
25406
27202
|
Returns: string;
|
|
@@ -25411,6 +27207,171 @@ export type Database = {
|
|
|
25411
27207
|
name: string;
|
|
25412
27208
|
}[];
|
|
25413
27209
|
};
|
|
27210
|
+
logistics_trace: {
|
|
27211
|
+
Args: {
|
|
27212
|
+
p: Json;
|
|
27213
|
+
};
|
|
27214
|
+
Returns: string;
|
|
27215
|
+
};
|
|
27216
|
+
logistics_trace_all_orders: {
|
|
27217
|
+
Args: {
|
|
27218
|
+
p_limit?: number;
|
|
27219
|
+
p_search?: string;
|
|
27220
|
+
};
|
|
27221
|
+
Returns: Json;
|
|
27222
|
+
};
|
|
27223
|
+
logistics_trace_archive_order: {
|
|
27224
|
+
Args: {
|
|
27225
|
+
p_order_ref: string;
|
|
27226
|
+
p_reason: string;
|
|
27227
|
+
};
|
|
27228
|
+
Returns: number;
|
|
27229
|
+
};
|
|
27230
|
+
logistics_trace_batch: {
|
|
27231
|
+
Args: {
|
|
27232
|
+
p: Json;
|
|
27233
|
+
};
|
|
27234
|
+
Returns: number;
|
|
27235
|
+
};
|
|
27236
|
+
logistics_trace_derive: {
|
|
27237
|
+
Args: {
|
|
27238
|
+
p: Json;
|
|
27239
|
+
};
|
|
27240
|
+
Returns: number;
|
|
27241
|
+
};
|
|
27242
|
+
logistics_trace_node: {
|
|
27243
|
+
Args: {
|
|
27244
|
+
p_op?: string;
|
|
27245
|
+
p_status?: string;
|
|
27246
|
+
p_table: string;
|
|
27247
|
+
};
|
|
27248
|
+
Returns: string;
|
|
27249
|
+
};
|
|
27250
|
+
logistics_trace_order_journey_start: {
|
|
27251
|
+
Args: {
|
|
27252
|
+
p_order_id: string;
|
|
27253
|
+
p_reason?: string;
|
|
27254
|
+
};
|
|
27255
|
+
Returns: string;
|
|
27256
|
+
};
|
|
27257
|
+
logistics_trace_order_origin: {
|
|
27258
|
+
Args: {
|
|
27259
|
+
p_order_id: string;
|
|
27260
|
+
};
|
|
27261
|
+
Returns: undefined;
|
|
27262
|
+
};
|
|
27263
|
+
logistics_trace_order_overview: {
|
|
27264
|
+
Args: {
|
|
27265
|
+
p_error_class?: string;
|
|
27266
|
+
p_limit?: number;
|
|
27267
|
+
p_search?: string;
|
|
27268
|
+
p_since?: string;
|
|
27269
|
+
p_source?: string;
|
|
27270
|
+
p_state?: string;
|
|
27271
|
+
p_step?: string;
|
|
27272
|
+
};
|
|
27273
|
+
Returns: Json;
|
|
27274
|
+
};
|
|
27275
|
+
logistics_trace_order_state: {
|
|
27276
|
+
Args: {
|
|
27277
|
+
p_order_ref: string;
|
|
27278
|
+
};
|
|
27279
|
+
Returns: Json;
|
|
27280
|
+
};
|
|
27281
|
+
logistics_trace_order_step: {
|
|
27282
|
+
Args: {
|
|
27283
|
+
p_class?: string;
|
|
27284
|
+
p_decision?: string;
|
|
27285
|
+
p_error?: string;
|
|
27286
|
+
p_next_step?: string;
|
|
27287
|
+
p_node: string;
|
|
27288
|
+
p_order_id: string;
|
|
27289
|
+
p_reason?: string;
|
|
27290
|
+
p_status: string;
|
|
27291
|
+
p_step: string;
|
|
27292
|
+
};
|
|
27293
|
+
Returns: undefined;
|
|
27294
|
+
};
|
|
27295
|
+
logistics_trace_orders: {
|
|
27296
|
+
Args: {
|
|
27297
|
+
p_limit?: number;
|
|
27298
|
+
p_search?: string;
|
|
27299
|
+
p_since?: string;
|
|
27300
|
+
p_status?: string;
|
|
27301
|
+
};
|
|
27302
|
+
Returns: Json;
|
|
27303
|
+
};
|
|
27304
|
+
logistics_trace_pick_state: {
|
|
27305
|
+
Args: {
|
|
27306
|
+
p_order_number: string;
|
|
27307
|
+
};
|
|
27308
|
+
Returns: undefined;
|
|
27309
|
+
};
|
|
27310
|
+
logistics_trace_progress: {
|
|
27311
|
+
Args: {
|
|
27312
|
+
p_limit?: number;
|
|
27313
|
+
};
|
|
27314
|
+
Returns: Json;
|
|
27315
|
+
};
|
|
27316
|
+
logistics_trace_progress_order: {
|
|
27317
|
+
Args: {
|
|
27318
|
+
p_order_ref: string;
|
|
27319
|
+
};
|
|
27320
|
+
Returns: Json;
|
|
27321
|
+
};
|
|
27322
|
+
logistics_trace_redact: {
|
|
27323
|
+
Args: {
|
|
27324
|
+
p: Json;
|
|
27325
|
+
};
|
|
27326
|
+
Returns: Json;
|
|
27327
|
+
};
|
|
27328
|
+
logistics_trace_source_node: {
|
|
27329
|
+
Args: {
|
|
27330
|
+
p_source: string;
|
|
27331
|
+
};
|
|
27332
|
+
Returns: string;
|
|
27333
|
+
};
|
|
27334
|
+
logistics_trace_step_once: {
|
|
27335
|
+
Args: {
|
|
27336
|
+
p_decision: string;
|
|
27337
|
+
p_next_step?: string;
|
|
27338
|
+
p_node: string;
|
|
27339
|
+
p_order_id: string;
|
|
27340
|
+
p_reason: string;
|
|
27341
|
+
p_status: string;
|
|
27342
|
+
p_step: string;
|
|
27343
|
+
};
|
|
27344
|
+
Returns: undefined;
|
|
27345
|
+
};
|
|
27346
|
+
logistics_trace_stock_check: {
|
|
27347
|
+
Args: {
|
|
27348
|
+
p_order_id: string;
|
|
27349
|
+
};
|
|
27350
|
+
Returns: undefined;
|
|
27351
|
+
};
|
|
27352
|
+
logistics_trace_timeline: {
|
|
27353
|
+
Args: {
|
|
27354
|
+
p_limit?: number;
|
|
27355
|
+
p_order_ref: string;
|
|
27356
|
+
};
|
|
27357
|
+
Returns: Json;
|
|
27358
|
+
};
|
|
27359
|
+
logistics_trace_version_events: {
|
|
27360
|
+
Args: {
|
|
27361
|
+
p_from?: string;
|
|
27362
|
+
p_limit?: number;
|
|
27363
|
+
p_order_ref: string;
|
|
27364
|
+
p_to?: string;
|
|
27365
|
+
p_version_id: string;
|
|
27366
|
+
};
|
|
27367
|
+
Returns: Json;
|
|
27368
|
+
};
|
|
27369
|
+
logistics_trace_versions: {
|
|
27370
|
+
Args: {
|
|
27371
|
+
p_order_ref: string;
|
|
27372
|
+
};
|
|
27373
|
+
Returns: Json;
|
|
27374
|
+
};
|
|
25414
27375
|
logistics_upsert_task: {
|
|
25415
27376
|
Args: {
|
|
25416
27377
|
p_buffer_ref: string;
|
|
@@ -26452,6 +28413,18 @@ export type Database = {
|
|
|
26452
28413
|
};
|
|
26453
28414
|
Returns: undefined;
|
|
26454
28415
|
};
|
|
28416
|
+
prune_floriday_api_log: {
|
|
28417
|
+
Args: never;
|
|
28418
|
+
Returns: number;
|
|
28419
|
+
};
|
|
28420
|
+
quote_ack_work_order: {
|
|
28421
|
+
Args: {
|
|
28422
|
+
_queue_id: string;
|
|
28423
|
+
_werkbon_id: string;
|
|
28424
|
+
_werkbon_nummer?: string;
|
|
28425
|
+
};
|
|
28426
|
+
Returns: boolean;
|
|
28427
|
+
};
|
|
26455
28428
|
quote_create_from_source: {
|
|
26456
28429
|
Args: {
|
|
26457
28430
|
_payload?: Json;
|
|
@@ -26460,6 +28433,13 @@ export type Database = {
|
|
|
26460
28433
|
};
|
|
26461
28434
|
Returns: string;
|
|
26462
28435
|
};
|
|
28436
|
+
quote_fail_work_order: {
|
|
28437
|
+
Args: {
|
|
28438
|
+
_foutmelding: string;
|
|
28439
|
+
_queue_id: string;
|
|
28440
|
+
};
|
|
28441
|
+
Returns: boolean;
|
|
28442
|
+
};
|
|
26463
28443
|
quote_get_billable_lines: {
|
|
26464
28444
|
Args: {
|
|
26465
28445
|
_quotation_id: string;
|
|
@@ -26476,6 +28456,12 @@ export type Database = {
|
|
|
26476
28456
|
Args: never;
|
|
26477
28457
|
Returns: Json;
|
|
26478
28458
|
};
|
|
28459
|
+
quote_list_pending_work_orders: {
|
|
28460
|
+
Args: {
|
|
28461
|
+
_limit?: number;
|
|
28462
|
+
};
|
|
28463
|
+
Returns: Json;
|
|
28464
|
+
};
|
|
26479
28465
|
quote_list_sources: {
|
|
26480
28466
|
Args: {
|
|
26481
28467
|
_limit?: number;
|
|
@@ -26483,6 +28469,12 @@ export type Database = {
|
|
|
26483
28469
|
};
|
|
26484
28470
|
Returns: Json;
|
|
26485
28471
|
};
|
|
28472
|
+
quote_queue_follow_up: {
|
|
28473
|
+
Args: {
|
|
28474
|
+
_offerte_id: string;
|
|
28475
|
+
};
|
|
28476
|
+
Returns: string;
|
|
28477
|
+
};
|
|
26486
28478
|
recompute_all_reserved_stock: {
|
|
26487
28479
|
Args: never;
|
|
26488
28480
|
Returns: undefined;
|
|
@@ -27164,6 +29156,52 @@ export type Database = {
|
|
|
27164
29156
|
p_end_time: string;
|
|
27165
29157
|
};
|
|
27166
29158
|
Returns: Json;
|
|
29159
|
+
} | {
|
|
29160
|
+
Args: {
|
|
29161
|
+
p_end_lat?: number;
|
|
29162
|
+
p_end_lng?: number;
|
|
29163
|
+
p_log_id: string;
|
|
29164
|
+
};
|
|
29165
|
+
Returns: {
|
|
29166
|
+
auto_stop_reason: string | null;
|
|
29167
|
+
auto_stopped: boolean;
|
|
29168
|
+
created_at: string;
|
|
29169
|
+
current_latitude: number | null;
|
|
29170
|
+
current_longitude: number | null;
|
|
29171
|
+
current_position_updated_at: string | null;
|
|
29172
|
+
employee_id: string;
|
|
29173
|
+
end_latitude: number | null;
|
|
29174
|
+
end_longitude: number | null;
|
|
29175
|
+
end_time: string | null;
|
|
29176
|
+
eta_distance_km: number | null;
|
|
29177
|
+
eta_minutes: number | null;
|
|
29178
|
+
eta_updated_at: string | null;
|
|
29179
|
+
hour_category: string | null;
|
|
29180
|
+
id: string;
|
|
29181
|
+
last_reminder_at: string | null;
|
|
29182
|
+
notes: string | null;
|
|
29183
|
+
overtime_hours: number;
|
|
29184
|
+
overtime_type: string | null;
|
|
29185
|
+
regular_hours: number;
|
|
29186
|
+
reminder_count: number;
|
|
29187
|
+
requires_review: boolean;
|
|
29188
|
+
start_latitude: number | null;
|
|
29189
|
+
start_longitude: number | null;
|
|
29190
|
+
start_time: string;
|
|
29191
|
+
travel_cost: number | null;
|
|
29192
|
+
travel_distance_km: number | null;
|
|
29193
|
+
travel_duration_min: number | null;
|
|
29194
|
+
travel_time_minutes: number | null;
|
|
29195
|
+
type: string;
|
|
29196
|
+
updated_at: string;
|
|
29197
|
+
work_order_id: string | null;
|
|
29198
|
+
};
|
|
29199
|
+
SetofOptions: {
|
|
29200
|
+
from: "*";
|
|
29201
|
+
to: "time_logs";
|
|
29202
|
+
isOneToOne: true;
|
|
29203
|
+
isSetofReturn: false;
|
|
29204
|
+
};
|
|
27167
29205
|
};
|
|
27168
29206
|
swap_cart_layer_positions: {
|
|
27169
29207
|
Args: {
|
|
@@ -27320,14 +29358,99 @@ export type Database = {
|
|
|
27320
29358
|
};
|
|
27321
29359
|
Returns: undefined;
|
|
27322
29360
|
};
|
|
29361
|
+
uren_employee_day_hours: {
|
|
29362
|
+
Args: {
|
|
29363
|
+
_day: string;
|
|
29364
|
+
_employee_id: string;
|
|
29365
|
+
};
|
|
29366
|
+
Returns: number;
|
|
29367
|
+
};
|
|
27323
29368
|
uren_is_beheerder: {
|
|
27324
29369
|
Args: never;
|
|
27325
29370
|
Returns: boolean;
|
|
27326
29371
|
};
|
|
29372
|
+
uren_list_medewerkers: {
|
|
29373
|
+
Args: never;
|
|
29374
|
+
Returns: {
|
|
29375
|
+
avatar_url: string;
|
|
29376
|
+
color: string;
|
|
29377
|
+
display_name: string;
|
|
29378
|
+
email: string;
|
|
29379
|
+
hours_fri: number;
|
|
29380
|
+
hours_mon: number;
|
|
29381
|
+
hours_thu: number;
|
|
29382
|
+
hours_tue: number;
|
|
29383
|
+
hours_wed: number;
|
|
29384
|
+
id: string;
|
|
29385
|
+
is_active: boolean;
|
|
29386
|
+
leave_balance_hours: number;
|
|
29387
|
+
persnr: string;
|
|
29388
|
+
phone: string;
|
|
29389
|
+
roles: string[];
|
|
29390
|
+
}[];
|
|
29391
|
+
};
|
|
27327
29392
|
uren_my_monteur_id: {
|
|
27328
29393
|
Args: never;
|
|
27329
29394
|
Returns: string;
|
|
27330
29395
|
};
|
|
29396
|
+
uren_planning_dagagenda: {
|
|
29397
|
+
Args: {
|
|
29398
|
+
_tot: string;
|
|
29399
|
+
_van: string;
|
|
29400
|
+
};
|
|
29401
|
+
Returns: {
|
|
29402
|
+
end_at: string;
|
|
29403
|
+
id: string;
|
|
29404
|
+
is_tweede_man: boolean;
|
|
29405
|
+
notes: string;
|
|
29406
|
+
start_at: string;
|
|
29407
|
+
status: Database["public"]["Enums"]["planning_item_status"];
|
|
29408
|
+
werkbon_id: string;
|
|
29409
|
+
}[];
|
|
29410
|
+
};
|
|
29411
|
+
uren_set_planning_item_status: {
|
|
29412
|
+
Args: {
|
|
29413
|
+
_id: string;
|
|
29414
|
+
_status: Database["public"]["Enums"]["planning_item_status"];
|
|
29415
|
+
};
|
|
29416
|
+
Returns: undefined;
|
|
29417
|
+
};
|
|
29418
|
+
uren_set_planning_status: {
|
|
29419
|
+
Args: {
|
|
29420
|
+
p_status: Database["public"]["Enums"]["planning_item_status"];
|
|
29421
|
+
p_werkbon_id: string;
|
|
29422
|
+
};
|
|
29423
|
+
Returns: number;
|
|
29424
|
+
};
|
|
29425
|
+
uren_stop_time_log: {
|
|
29426
|
+
Args: {
|
|
29427
|
+
p_employee_id: string;
|
|
29428
|
+
p_end_lat?: number;
|
|
29429
|
+
p_end_lng?: number;
|
|
29430
|
+
p_end_time: string;
|
|
29431
|
+
};
|
|
29432
|
+
Returns: Json;
|
|
29433
|
+
};
|
|
29434
|
+
uren_switch_time_log: {
|
|
29435
|
+
Args: {
|
|
29436
|
+
p_employee_id: string;
|
|
29437
|
+
p_start_lat?: number;
|
|
29438
|
+
p_start_lng?: number;
|
|
29439
|
+
p_type: string;
|
|
29440
|
+
p_work_order_id?: string;
|
|
29441
|
+
};
|
|
29442
|
+
Returns: Json;
|
|
29443
|
+
};
|
|
29444
|
+
uren_sync_sick_time_off: {
|
|
29445
|
+
Args: {
|
|
29446
|
+
_period_id: string;
|
|
29447
|
+
};
|
|
29448
|
+
Returns: number;
|
|
29449
|
+
};
|
|
29450
|
+
voorraad_cleanup_old_rows: {
|
|
29451
|
+
Args: never;
|
|
29452
|
+
Returns: Json;
|
|
29453
|
+
};
|
|
27331
29454
|
wake_print_queue: {
|
|
27332
29455
|
Args: {
|
|
27333
29456
|
_min_interval_ms?: number;
|
|
@@ -27366,6 +29489,25 @@ export type Database = {
|
|
|
27366
29489
|
};
|
|
27367
29490
|
Returns: Json;
|
|
27368
29491
|
};
|
|
29492
|
+
wo_list_offerte_requests: {
|
|
29493
|
+
Args: {
|
|
29494
|
+
_status?: string;
|
|
29495
|
+
};
|
|
29496
|
+
Returns: Json;
|
|
29497
|
+
};
|
|
29498
|
+
wo_process_offerte_request: {
|
|
29499
|
+
Args: {
|
|
29500
|
+
_queue_id: string;
|
|
29501
|
+
};
|
|
29502
|
+
Returns: Json;
|
|
29503
|
+
};
|
|
29504
|
+
wo_reject_offerte_request: {
|
|
29505
|
+
Args: {
|
|
29506
|
+
_queue_id: string;
|
|
29507
|
+
_reden?: string;
|
|
29508
|
+
};
|
|
29509
|
+
Returns: Json;
|
|
29510
|
+
};
|
|
27369
29511
|
wo_set_status: {
|
|
27370
29512
|
Args: {
|
|
27371
29513
|
_reason?: string;
|