@flowselections/floriday-voorraad 1.0.16 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/voorraad/AdditionalPackagingDialog.d.ts +9 -0
- package/dist-lib/components/voorraad/AdditionalPackagingDialog.d.ts.map +1 -0
- package/dist-lib/components/voorraad/AdditionalPackagingDialog.js +51 -0
- package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.js +372 -30
- package/dist-lib/components/voorraad/EditArtikelPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/EditArtikelPage.js +78 -4
- package/dist-lib/components/voorraad/OrderHistoryCard.d.ts +8 -0
- package/dist-lib/components/voorraad/OrderHistoryCard.d.ts.map +1 -0
- package/dist-lib/components/voorraad/OrderHistoryCard.js +133 -0
- package/dist-lib/components/voorraad/PriceStatusBadge.d.ts +7 -0
- package/dist-lib/components/voorraad/PriceStatusBadge.d.ts.map +1 -0
- package/dist-lib/components/voorraad/PriceStatusBadge.js +67 -0
- package/dist-lib/components/voorraad/VoorraadStockCard.d.ts +2 -1
- package/dist-lib/components/voorraad/VoorraadStockCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadStockCard.js +5 -4
- package/dist-lib/components/voorraad/VoorraadTable.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadTable.js +6 -1
- package/dist-lib/hooks/useLocalTradeItems.d.ts.map +1 -1
- package/dist-lib/hooks/useLocalTradeItems.js +4 -0
- package/dist-lib/hooks/useTradeItemStock.d.ts +14 -1
- package/dist-lib/hooks/useTradeItemStock.d.ts.map +1 -1
- package/dist-lib/hooks/useTradeItemStock.js +76 -17
- package/dist-lib/hooks/useTradeItemSupplyLine.d.ts +21 -0
- package/dist-lib/hooks/useTradeItemSupplyLine.d.ts.map +1 -0
- package/dist-lib/hooks/useTradeItemSupplyLine.js +49 -0
- package/dist-lib/hooks/useVoorraadData.d.ts.map +1 -1
- package/dist-lib/hooks/useVoorraadData.js +35 -3
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +490 -3
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +490 -3
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +490 -3
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +498 -3
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts +497 -4
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floricode-required-features.functions.js +20 -2
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts +11281 -0
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -0
- package/dist-lib/lib/floriday-customer-offer.functions.js +175 -0
- package/dist-lib/lib/floriday-gateway.functions.d.ts +13240 -15
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.functions.js +150 -0
- package/dist-lib/lib/floriday-gateway.server.d.ts +22 -0
- package/dist-lib/lib/floriday-gateway.server.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.server.js +3 -0
- package/dist-lib/lib/floriday-payload.d.ts +60 -6
- package/dist-lib/lib/floriday-payload.d.ts.map +1 -1
- package/dist-lib/lib/floriday-payload.js +104 -7
- package/dist-lib/lib/floriday-supply-line.d.ts +53 -0
- package/dist-lib/lib/floriday-supply-line.d.ts.map +1 -0
- package/dist-lib/lib/floriday-supply-line.js +109 -0
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +1509 -48
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +983 -9
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.js +6 -1
- package/dist-lib/lib/vrs-catalog.d.ts +27 -0
- package/dist-lib/lib/vrs-catalog.d.ts.map +1 -0
- package/dist-lib/lib/vrs-catalog.js +98 -0
- package/package.json +3 -2
- package/public/flowselections-assets/Voorraad/floriday-logo.png +0 -0
|
@@ -31,7 +31,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
31
31
|
Tables: {
|
|
32
32
|
afhandeling_settings: {
|
|
33
33
|
Row: {
|
|
34
|
+
auto_print_delivery_note: boolean;
|
|
35
|
+
auto_process_paused: boolean;
|
|
34
36
|
created_at: string;
|
|
37
|
+
extra_pick_days_with_stickers: number;
|
|
35
38
|
id: string;
|
|
36
39
|
max_workdays_earlier_pick: number;
|
|
37
40
|
pick_days_before_transport: number;
|
|
@@ -45,7 +48,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
45
48
|
user_id: string;
|
|
46
49
|
};
|
|
47
50
|
Insert: {
|
|
51
|
+
auto_print_delivery_note?: boolean;
|
|
52
|
+
auto_process_paused?: boolean;
|
|
48
53
|
created_at?: string;
|
|
54
|
+
extra_pick_days_with_stickers?: number;
|
|
49
55
|
id?: string;
|
|
50
56
|
max_workdays_earlier_pick?: number;
|
|
51
57
|
pick_days_before_transport?: number;
|
|
@@ -55,11 +61,20 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
55
61
|
signup_mail_lead_minutes?: number;
|
|
56
62
|
signup_mail_purpose?: string;
|
|
57
63
|
transport_register_days_before?: number;
|
|
58
|
-
updated_at
|
|
64
|
+
updated_at
|
|
65
|
+
/**
|
|
66
|
+
* Minimalistische Supabase-client-shape die `computeVbnRequiredFeatures`
|
|
67
|
+
* daadwerkelijk gebruikt. Getypeerd als `any` zodat zowel de echte
|
|
68
|
+
* `SupabaseClient` als de fake-client in tests passen.
|
|
69
|
+
*/
|
|
70
|
+
?: string;
|
|
59
71
|
user_id: string;
|
|
60
72
|
};
|
|
61
73
|
Update: {
|
|
74
|
+
auto_print_delivery_note?: boolean;
|
|
75
|
+
auto_process_paused?: boolean;
|
|
62
76
|
created_at?: string;
|
|
77
|
+
extra_pick_days_with_stickers?: number;
|
|
63
78
|
id?: string;
|
|
64
79
|
max_workdays_earlier_pick?: number;
|
|
65
80
|
pick_days_before_transport?: number;
|
|
@@ -333,6 +348,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
333
348
|
conflict_reason: string | null;
|
|
334
349
|
created_at: string;
|
|
335
350
|
created_by_role: string | null;
|
|
351
|
+
customer_address: string | null;
|
|
336
352
|
customer_email: string | null;
|
|
337
353
|
customer_name: string | null;
|
|
338
354
|
end_time: string;
|
|
@@ -358,6 +374,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
358
374
|
conflict_reason?: string | null;
|
|
359
375
|
created_at?: string;
|
|
360
376
|
created_by_role?: string | null;
|
|
377
|
+
customer_address?: string | null;
|
|
361
378
|
customer_email?: string | null;
|
|
362
379
|
customer_name?: string | null;
|
|
363
380
|
end_time: string;
|
|
@@ -383,6 +400,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
383
400
|
conflict_reason?: string | null;
|
|
384
401
|
created_at?: string;
|
|
385
402
|
created_by_role?: string | null;
|
|
403
|
+
customer_address?: string | null;
|
|
386
404
|
customer_email?: string | null;
|
|
387
405
|
customer_name?: string | null;
|
|
388
406
|
end_time?: string;
|
|
@@ -851,6 +869,36 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
851
869
|
};
|
|
852
870
|
Relationships: [];
|
|
853
871
|
};
|
|
872
|
+
cart_replan_queue: {
|
|
873
|
+
Row: {
|
|
874
|
+
attempts: number;
|
|
875
|
+
last_error: string | null;
|
|
876
|
+
order_id: string;
|
|
877
|
+
processed_at: string | null;
|
|
878
|
+
requested_at: string;
|
|
879
|
+
};
|
|
880
|
+
Insert: {
|
|
881
|
+
attempts?: number;
|
|
882
|
+
last_error?: string | null;
|
|
883
|
+
order_id: string;
|
|
884
|
+
processed_at?: string | null;
|
|
885
|
+
requested_at?: string;
|
|
886
|
+
};
|
|
887
|
+
Update: {
|
|
888
|
+
attempts?: number;
|
|
889
|
+
last_error?: string | null;
|
|
890
|
+
order_id?: string;
|
|
891
|
+
processed_at?: string | null;
|
|
892
|
+
requested_at?: string;
|
|
893
|
+
};
|
|
894
|
+
Relationships: [{
|
|
895
|
+
foreignKeyName: "cart_replan_queue_order_id_fkey";
|
|
896
|
+
columns: ["order_id"];
|
|
897
|
+
isOneToOne: true;
|
|
898
|
+
referencedRelation: "orders";
|
|
899
|
+
referencedColumns: ["id"];
|
|
900
|
+
}];
|
|
901
|
+
};
|
|
854
902
|
collections: {
|
|
855
903
|
Row: {
|
|
856
904
|
created_at: string;
|
|
@@ -2976,34 +3024,52 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
2976
3024
|
Row: {
|
|
2977
3025
|
catalog_key: string | null;
|
|
2978
3026
|
catalog_url: string;
|
|
3027
|
+
client_id: string | null;
|
|
3028
|
+
client_secret_ciphertext: string | null;
|
|
3029
|
+
client_secret_last4: string | null;
|
|
2979
3030
|
created_at: string;
|
|
2980
3031
|
id: number;
|
|
2981
3032
|
last_meta: import("../integrations/supabase/types").Json | null;
|
|
2982
3033
|
last_test_at: string | null;
|
|
2983
3034
|
last_test_error: string | null;
|
|
2984
3035
|
last_test_ok: boolean | null;
|
|
3036
|
+
last_token_test_at: string | null;
|
|
3037
|
+
last_token_test_error: string | null;
|
|
3038
|
+
last_token_test_ok: boolean | null;
|
|
2985
3039
|
updated_at: string;
|
|
2986
3040
|
};
|
|
2987
3041
|
Insert: {
|
|
2988
3042
|
catalog_key?: string | null;
|
|
2989
3043
|
catalog_url?: string;
|
|
3044
|
+
client_id?: string | null;
|
|
3045
|
+
client_secret_ciphertext?: string | null;
|
|
3046
|
+
client_secret_last4?: string | null;
|
|
2990
3047
|
created_at?: string;
|
|
2991
3048
|
id?: number;
|
|
2992
3049
|
last_meta?: import("../integrations/supabase/types").Json | null;
|
|
2993
3050
|
last_test_at?: string | null;
|
|
2994
3051
|
last_test_error?: string | null;
|
|
2995
3052
|
last_test_ok?: boolean | null;
|
|
3053
|
+
last_token_test_at?: string | null;
|
|
3054
|
+
last_token_test_error?: string | null;
|
|
3055
|
+
last_token_test_ok?: boolean | null;
|
|
2996
3056
|
updated_at?: string;
|
|
2997
3057
|
};
|
|
2998
3058
|
Update: {
|
|
2999
3059
|
catalog_key?: string | null;
|
|
3000
3060
|
catalog_url?: string;
|
|
3061
|
+
client_id?: string | null;
|
|
3062
|
+
client_secret_ciphertext?: string | null;
|
|
3063
|
+
client_secret_last4?: string | null;
|
|
3001
3064
|
created_at?: string;
|
|
3002
3065
|
id?: number;
|
|
3003
3066
|
last_meta?: import("../integrations/supabase/types").Json | null;
|
|
3004
3067
|
last_test_at?: string | null;
|
|
3005
3068
|
last_test_error?: string | null;
|
|
3006
3069
|
last_test_ok?: boolean | null;
|
|
3070
|
+
last_token_test_at?: string | null;
|
|
3071
|
+
last_token_test_error?: string | null;
|
|
3072
|
+
last_token_test_ok?: boolean | null;
|
|
3007
3073
|
updated_at?: string;
|
|
3008
3074
|
};
|
|
3009
3075
|
Relationships: [];
|
|
@@ -3236,6 +3302,54 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
3236
3302
|
referencedColumns: ["id"];
|
|
3237
3303
|
}];
|
|
3238
3304
|
};
|
|
3305
|
+
floriday_auto_fulfillment_log: {
|
|
3306
|
+
Row: {
|
|
3307
|
+
attempts: number;
|
|
3308
|
+
connection_id: string;
|
|
3309
|
+
created_at: string;
|
|
3310
|
+
error: string | null;
|
|
3311
|
+
fulfillment_order_id: string | null;
|
|
3312
|
+
id: string;
|
|
3313
|
+
last_attempt_at: string | null;
|
|
3314
|
+
reason: string | null;
|
|
3315
|
+
sales_order_id: string;
|
|
3316
|
+
status: string;
|
|
3317
|
+
updated_at: string;
|
|
3318
|
+
};
|
|
3319
|
+
Insert: {
|
|
3320
|
+
attempts?: number;
|
|
3321
|
+
connection_id: string;
|
|
3322
|
+
created_at?: string;
|
|
3323
|
+
error?: string | null;
|
|
3324
|
+
fulfillment_order_id?: string | null;
|
|
3325
|
+
id?: string;
|
|
3326
|
+
last_attempt_at?: string | null;
|
|
3327
|
+
reason?: string | null;
|
|
3328
|
+
sales_order_id: string;
|
|
3329
|
+
status?: string;
|
|
3330
|
+
updated_at?: string;
|
|
3331
|
+
};
|
|
3332
|
+
Update: {
|
|
3333
|
+
attempts?: number;
|
|
3334
|
+
connection_id?: string;
|
|
3335
|
+
created_at?: string;
|
|
3336
|
+
error?: string | null;
|
|
3337
|
+
fulfillment_order_id?: string | null;
|
|
3338
|
+
id?: string;
|
|
3339
|
+
last_attempt_at?: string | null;
|
|
3340
|
+
reason?: string | null;
|
|
3341
|
+
sales_order_id?: string;
|
|
3342
|
+
status?: string;
|
|
3343
|
+
updated_at?: string;
|
|
3344
|
+
};
|
|
3345
|
+
Relationships: [{
|
|
3346
|
+
foreignKeyName: "floriday_auto_fulfillment_log_connection_id_fkey";
|
|
3347
|
+
columns: ["connection_id"];
|
|
3348
|
+
isOneToOne: false;
|
|
3349
|
+
referencedRelation: "floriday_connections";
|
|
3350
|
+
referencedColumns: ["id"];
|
|
3351
|
+
}];
|
|
3352
|
+
};
|
|
3239
3353
|
floriday_base_items_cache: {
|
|
3240
3354
|
Row: {
|
|
3241
3355
|
connection_id: string;
|
|
@@ -4340,6 +4454,24 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
4340
4454
|
referencedColumns: ["id"];
|
|
4341
4455
|
}];
|
|
4342
4456
|
};
|
|
4457
|
+
floriday_rate_limit_state: {
|
|
4458
|
+
Row: {
|
|
4459
|
+
bucket: string;
|
|
4460
|
+
last_refill_at: string;
|
|
4461
|
+
tokens: number;
|
|
4462
|
+
};
|
|
4463
|
+
Insert: {
|
|
4464
|
+
bucket: string;
|
|
4465
|
+
last_refill_at?: string;
|
|
4466
|
+
tokens: number;
|
|
4467
|
+
};
|
|
4468
|
+
Update: {
|
|
4469
|
+
bucket?: string;
|
|
4470
|
+
last_refill_at?: string;
|
|
4471
|
+
tokens?: number;
|
|
4472
|
+
};
|
|
4473
|
+
Relationships: [];
|
|
4474
|
+
};
|
|
4343
4475
|
floriday_resource_schemas: {
|
|
4344
4476
|
Row: {
|
|
4345
4477
|
enums: import("../integrations/supabase/types").Json;
|
|
@@ -4763,6 +4895,60 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
4763
4895
|
referencedColumns: ["id"];
|
|
4764
4896
|
}];
|
|
4765
4897
|
};
|
|
4898
|
+
flow_role_assignments: {
|
|
4899
|
+
Row: {
|
|
4900
|
+
created_at: string;
|
|
4901
|
+
id: string;
|
|
4902
|
+
role_id: string;
|
|
4903
|
+
user_id: string;
|
|
4904
|
+
};
|
|
4905
|
+
Insert: {
|
|
4906
|
+
created_at?: string;
|
|
4907
|
+
id?: string;
|
|
4908
|
+
role_id: string;
|
|
4909
|
+
user_id: string;
|
|
4910
|
+
};
|
|
4911
|
+
Update: {
|
|
4912
|
+
created_at?: string;
|
|
4913
|
+
id?: string;
|
|
4914
|
+
role_id?: string;
|
|
4915
|
+
user_id?: string;
|
|
4916
|
+
};
|
|
4917
|
+
Relationships: [{
|
|
4918
|
+
foreignKeyName: "flow_role_assignments_role_id_fkey";
|
|
4919
|
+
columns: ["role_id"];
|
|
4920
|
+
isOneToOne: false;
|
|
4921
|
+
referencedRelation: "flow_roles";
|
|
4922
|
+
referencedColumns: ["id"];
|
|
4923
|
+
}];
|
|
4924
|
+
};
|
|
4925
|
+
flow_roles: {
|
|
4926
|
+
Row: {
|
|
4927
|
+
created_at: string;
|
|
4928
|
+
description: string | null;
|
|
4929
|
+
id: string;
|
|
4930
|
+
module_access: string[];
|
|
4931
|
+
name: string;
|
|
4932
|
+
updated_at: string;
|
|
4933
|
+
};
|
|
4934
|
+
Insert: {
|
|
4935
|
+
created_at?: string;
|
|
4936
|
+
description?: string | null;
|
|
4937
|
+
id?: string;
|
|
4938
|
+
module_access?: string[];
|
|
4939
|
+
name: string;
|
|
4940
|
+
updated_at?: string;
|
|
4941
|
+
};
|
|
4942
|
+
Update: {
|
|
4943
|
+
created_at?: string;
|
|
4944
|
+
description?: string | null;
|
|
4945
|
+
id?: string;
|
|
4946
|
+
module_access?: string[];
|
|
4947
|
+
name?: string;
|
|
4948
|
+
updated_at?: string;
|
|
4949
|
+
};
|
|
4950
|
+
Relationships: [];
|
|
4951
|
+
};
|
|
4766
4952
|
imap_accounts: {
|
|
4767
4953
|
Row: {
|
|
4768
4954
|
created_at: string;
|
|
@@ -5394,6 +5580,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
5394
5580
|
matched_customer_id: string | null;
|
|
5395
5581
|
message_id: string;
|
|
5396
5582
|
notes: string | null;
|
|
5583
|
+
order_number: string | null;
|
|
5397
5584
|
parsed_payload: import("../integrations/supabase/types").Json | null;
|
|
5398
5585
|
reviewed_at: string | null;
|
|
5399
5586
|
reviewed_by: string | null;
|
|
@@ -5409,6 +5596,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
5409
5596
|
matched_customer_id?: string | null;
|
|
5410
5597
|
message_id: string;
|
|
5411
5598
|
notes?: string | null;
|
|
5599
|
+
order_number?: string | null;
|
|
5412
5600
|
parsed_payload?: import("../integrations/supabase/types").Json | null;
|
|
5413
5601
|
reviewed_at?: string | null;
|
|
5414
5602
|
reviewed_by?: string | null;
|
|
@@ -5424,6 +5612,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
5424
5612
|
matched_customer_id?: string | null;
|
|
5425
5613
|
message_id?: string;
|
|
5426
5614
|
notes?: string | null;
|
|
5615
|
+
order_number?: string | null;
|
|
5427
5616
|
parsed_payload?: import("../integrations/supabase/types").Json | null;
|
|
5428
5617
|
reviewed_at?: string | null;
|
|
5429
5618
|
reviewed_by?: string | null;
|
|
@@ -6280,6 +6469,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
6280
6469
|
id: string;
|
|
6281
6470
|
items: import("../integrations/supabase/types").Json;
|
|
6282
6471
|
notes: string | null;
|
|
6472
|
+
order_number: string | null;
|
|
6283
6473
|
recipient_id: string;
|
|
6284
6474
|
total_amount: number;
|
|
6285
6475
|
};
|
|
@@ -6293,6 +6483,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
6293
6483
|
id?: string;
|
|
6294
6484
|
items?: import("../integrations/supabase/types").Json;
|
|
6295
6485
|
notes?: string | null;
|
|
6486
|
+
order_number?: string | null;
|
|
6296
6487
|
recipient_id: string;
|
|
6297
6488
|
total_amount?: number;
|
|
6298
6489
|
};
|
|
@@ -6306,6 +6497,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
6306
6497
|
id?: string;
|
|
6307
6498
|
items?: import("../integrations/supabase/types").Json;
|
|
6308
6499
|
notes?: string | null;
|
|
6500
|
+
order_number?: string | null;
|
|
6309
6501
|
recipient_id?: string;
|
|
6310
6502
|
total_amount?: number;
|
|
6311
6503
|
};
|
|
@@ -6465,6 +6657,9 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
6465
6657
|
crates_per_layer: number;
|
|
6466
6658
|
created_at: string;
|
|
6467
6659
|
id: string;
|
|
6660
|
+
layer_fraction: number;
|
|
6661
|
+
layer_share_pct: number;
|
|
6662
|
+
layers_per_cart: number;
|
|
6468
6663
|
order_item_id: string | null;
|
|
6469
6664
|
plants_per_crate: number;
|
|
6470
6665
|
product_id: string | null;
|
|
@@ -6476,6 +6671,9 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
6476
6671
|
crates_per_layer?: number;
|
|
6477
6672
|
created_at?: string;
|
|
6478
6673
|
id?: string;
|
|
6674
|
+
layer_fraction?: number;
|
|
6675
|
+
layer_share_pct?: number;
|
|
6676
|
+
layers_per_cart?: number;
|
|
6479
6677
|
order_item_id?: string | null;
|
|
6480
6678
|
plants_per_crate?: number;
|
|
6481
6679
|
product_id?: string | null;
|
|
@@ -6487,6 +6685,9 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
6487
6685
|
crates_per_layer?: number;
|
|
6488
6686
|
created_at?: string;
|
|
6489
6687
|
id?: string;
|
|
6688
|
+
layer_fraction?: number;
|
|
6689
|
+
layer_share_pct?: number;
|
|
6690
|
+
layers_per_cart?: number;
|
|
6490
6691
|
order_item_id?: string | null;
|
|
6491
6692
|
plants_per_crate?: number;
|
|
6492
6693
|
product_id?: string | null;
|
|
@@ -6514,33 +6715,45 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
6514
6715
|
};
|
|
6515
6716
|
order_carts: {
|
|
6516
6717
|
Row: {
|
|
6718
|
+
algorithm_version: number;
|
|
6517
6719
|
cart_number: number;
|
|
6518
6720
|
created_at: string;
|
|
6519
6721
|
id: string;
|
|
6520
6722
|
is_auto: boolean;
|
|
6521
6723
|
is_complete: boolean;
|
|
6522
6724
|
notes: string | null;
|
|
6725
|
+
occupancy_pct: number;
|
|
6523
6726
|
order_id: string;
|
|
6727
|
+
source: string;
|
|
6728
|
+
total_layers_used: number;
|
|
6524
6729
|
updated_at: string;
|
|
6525
6730
|
};
|
|
6526
6731
|
Insert: {
|
|
6732
|
+
algorithm_version?: number;
|
|
6527
6733
|
cart_number: number;
|
|
6528
6734
|
created_at?: string;
|
|
6529
6735
|
id?: string;
|
|
6530
6736
|
is_auto?: boolean;
|
|
6531
6737
|
is_complete?: boolean;
|
|
6532
6738
|
notes?: string | null;
|
|
6739
|
+
occupancy_pct?: number;
|
|
6533
6740
|
order_id: string;
|
|
6741
|
+
source?: string;
|
|
6742
|
+
total_layers_used?: number;
|
|
6534
6743
|
updated_at?: string;
|
|
6535
6744
|
};
|
|
6536
6745
|
Update: {
|
|
6746
|
+
algorithm_version?: number;
|
|
6537
6747
|
cart_number?: number;
|
|
6538
6748
|
created_at?: string;
|
|
6539
6749
|
id?: string;
|
|
6540
6750
|
is_auto?: boolean;
|
|
6541
6751
|
is_complete?: boolean;
|
|
6542
6752
|
notes?: string | null;
|
|
6753
|
+
occupancy_pct?: number;
|
|
6543
6754
|
order_id?: string;
|
|
6755
|
+
source?: string;
|
|
6756
|
+
total_layers_used?: number;
|
|
6544
6757
|
updated_at?: string;
|
|
6545
6758
|
};
|
|
6546
6759
|
Relationships: [{
|
|
@@ -6693,6 +6906,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
6693
6906
|
order_date: string;
|
|
6694
6907
|
order_number: string;
|
|
6695
6908
|
order_source: string;
|
|
6909
|
+
plan_locked_at: string | null;
|
|
6910
|
+
plan_locked_ref: string | null;
|
|
6696
6911
|
status: string;
|
|
6697
6912
|
total: string;
|
|
6698
6913
|
updated_at: string;
|
|
@@ -6709,6 +6924,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
6709
6924
|
order_date?: string;
|
|
6710
6925
|
order_number: string;
|
|
6711
6926
|
order_source?: string;
|
|
6927
|
+
plan_locked_at?: string | null;
|
|
6928
|
+
plan_locked_ref?: string | null;
|
|
6712
6929
|
status?: string;
|
|
6713
6930
|
total?: string;
|
|
6714
6931
|
updated_at?: string;
|
|
@@ -6725,6 +6942,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
6725
6942
|
order_date?: string;
|
|
6726
6943
|
order_number?: string;
|
|
6727
6944
|
order_source?: string;
|
|
6945
|
+
plan_locked_at?: string | null;
|
|
6946
|
+
plan_locked_ref?: string | null;
|
|
6728
6947
|
status?: string;
|
|
6729
6948
|
total?: string;
|
|
6730
6949
|
updated_at?: string;
|
|
@@ -7093,28 +7312,34 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
7093
7312
|
};
|
|
7094
7313
|
profiles: {
|
|
7095
7314
|
Row: {
|
|
7315
|
+
address: string | null;
|
|
7096
7316
|
created_at: string;
|
|
7097
7317
|
display_name: string | null;
|
|
7098
7318
|
email: string | null;
|
|
7099
7319
|
id: string;
|
|
7320
|
+
is_superadmin: boolean;
|
|
7100
7321
|
notification_preferences: import("../integrations/supabase/types").Json;
|
|
7101
7322
|
tenant_id: string | null;
|
|
7102
7323
|
updated_at: string;
|
|
7103
7324
|
};
|
|
7104
7325
|
Insert: {
|
|
7326
|
+
address?: string | null;
|
|
7105
7327
|
created_at?: string;
|
|
7106
7328
|
display_name?: string | null;
|
|
7107
7329
|
email?: string | null;
|
|
7108
7330
|
id: string;
|
|
7331
|
+
is_superadmin?: boolean;
|
|
7109
7332
|
notification_preferences?: import("../integrations/supabase/types").Json;
|
|
7110
7333
|
tenant_id?: string | null;
|
|
7111
7334
|
updated_at?: string;
|
|
7112
7335
|
};
|
|
7113
7336
|
Update: {
|
|
7337
|
+
address?: string | null;
|
|
7114
7338
|
created_at?: string;
|
|
7115
7339
|
display_name?: string | null;
|
|
7116
7340
|
email?: string | null;
|
|
7117
7341
|
id?: string;
|
|
7342
|
+
is_superadmin?: boolean;
|
|
7118
7343
|
notification_preferences?: import("../integrations/supabase/types").Json;
|
|
7119
7344
|
tenant_id?: string | null;
|
|
7120
7345
|
updated_at?: string;
|
|
@@ -7904,6 +8129,24 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
7904
8129
|
};
|
|
7905
8130
|
Relationships: [];
|
|
7906
8131
|
};
|
|
8132
|
+
sidebar_config: {
|
|
8133
|
+
Row: {
|
|
8134
|
+
id: string;
|
|
8135
|
+
module_order: string[];
|
|
8136
|
+
updated_at: string;
|
|
8137
|
+
};
|
|
8138
|
+
Insert: {
|
|
8139
|
+
id?: string;
|
|
8140
|
+
module_order?: string[];
|
|
8141
|
+
updated_at?: string;
|
|
8142
|
+
};
|
|
8143
|
+
Update: {
|
|
8144
|
+
id?: string;
|
|
8145
|
+
module_order?: string[];
|
|
8146
|
+
updated_at?: string;
|
|
8147
|
+
};
|
|
8148
|
+
Relationships: [];
|
|
8149
|
+
};
|
|
7907
8150
|
stock_import_runs: {
|
|
7908
8151
|
Row: {
|
|
7909
8152
|
connection_id: string | null;
|
|
@@ -7962,7 +8205,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
7962
8205
|
reason: string | null;
|
|
7963
8206
|
reserved_after: number | null;
|
|
7964
8207
|
reserved_before: number | null;
|
|
7965
|
-
trade_item_key: string;
|
|
8208
|
+
trade_item_key: string | null;
|
|
7966
8209
|
};
|
|
7967
8210
|
Insert: {
|
|
7968
8211
|
connection_id?: string | null;
|
|
@@ -7979,7 +8222,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
7979
8222
|
reason?: string | null;
|
|
7980
8223
|
reserved_after?: number | null;
|
|
7981
8224
|
reserved_before?: number | null;
|
|
7982
|
-
trade_item_key
|
|
8225
|
+
trade_item_key?: string | null;
|
|
7983
8226
|
};
|
|
7984
8227
|
Update: {
|
|
7985
8228
|
connection_id?: string | null;
|
|
@@ -7996,7 +8239,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
7996
8239
|
reason?: string | null;
|
|
7997
8240
|
reserved_after?: number | null;
|
|
7998
8241
|
reserved_before?: number | null;
|
|
7999
|
-
trade_item_key?: string;
|
|
8242
|
+
trade_item_key?: string | null;
|
|
8000
8243
|
};
|
|
8001
8244
|
Relationships: [];
|
|
8002
8245
|
};
|
|
@@ -8339,6 +8582,114 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8339
8582
|
};
|
|
8340
8583
|
Relationships: [];
|
|
8341
8584
|
};
|
|
8585
|
+
trade_item_supply_lines: {
|
|
8586
|
+
Row: {
|
|
8587
|
+
available_quantity: number | null;
|
|
8588
|
+
connection_id: string;
|
|
8589
|
+
created_at: string;
|
|
8590
|
+
currency: string | null;
|
|
8591
|
+
endpoint_family: string | null;
|
|
8592
|
+
environment: string | null;
|
|
8593
|
+
id: string;
|
|
8594
|
+
last_error: string | null;
|
|
8595
|
+
last_status: number | null;
|
|
8596
|
+
packing_configuration_id: string | null;
|
|
8597
|
+
period_end: string | null;
|
|
8598
|
+
period_start: string | null;
|
|
8599
|
+
price_per_piece: number | null;
|
|
8600
|
+
sales_unit: string | null;
|
|
8601
|
+
supply_line_id: string | null;
|
|
8602
|
+
supply_type: string;
|
|
8603
|
+
trade_item_id: string;
|
|
8604
|
+
updated_at: string;
|
|
8605
|
+
user_id: string;
|
|
8606
|
+
week: number | null;
|
|
8607
|
+
year: number | null;
|
|
8608
|
+
};
|
|
8609
|
+
Insert: {
|
|
8610
|
+
available_quantity?: number | null;
|
|
8611
|
+
connection_id: string;
|
|
8612
|
+
created_at?: string;
|
|
8613
|
+
currency?: string | null;
|
|
8614
|
+
endpoint_family?: string | null;
|
|
8615
|
+
environment?: string | null;
|
|
8616
|
+
id?: string;
|
|
8617
|
+
last_error?: string | null;
|
|
8618
|
+
last_status?: number | null;
|
|
8619
|
+
packing_configuration_id?: string | null;
|
|
8620
|
+
period_end?: string | null;
|
|
8621
|
+
period_start?: string | null;
|
|
8622
|
+
price_per_piece?: number | null;
|
|
8623
|
+
sales_unit?: string | null;
|
|
8624
|
+
supply_line_id?: string | null;
|
|
8625
|
+
supply_type?: string;
|
|
8626
|
+
trade_item_id: string;
|
|
8627
|
+
updated_at?: string;
|
|
8628
|
+
user_id: string;
|
|
8629
|
+
week?: number | null;
|
|
8630
|
+
year?: number | null;
|
|
8631
|
+
};
|
|
8632
|
+
Update: {
|
|
8633
|
+
available_quantity?: number | null;
|
|
8634
|
+
connection_id?: string;
|
|
8635
|
+
created_at?: string;
|
|
8636
|
+
currency?: string | null;
|
|
8637
|
+
endpoint_family?: string | null;
|
|
8638
|
+
environment?: string | null;
|
|
8639
|
+
id?: string;
|
|
8640
|
+
last_error?: string | null;
|
|
8641
|
+
last_status?: number | null;
|
|
8642
|
+
packing_configuration_id?: string | null;
|
|
8643
|
+
period_end?: string | null;
|
|
8644
|
+
period_start?: string | null;
|
|
8645
|
+
price_per_piece?: number | null;
|
|
8646
|
+
sales_unit?: string | null;
|
|
8647
|
+
supply_line_id?: string | null;
|
|
8648
|
+
supply_type?: string;
|
|
8649
|
+
trade_item_id?: string;
|
|
8650
|
+
updated_at?: string;
|
|
8651
|
+
user_id?: string;
|
|
8652
|
+
week?: number | null;
|
|
8653
|
+
year?: number | null;
|
|
8654
|
+
};
|
|
8655
|
+
Relationships: [];
|
|
8656
|
+
};
|
|
8657
|
+
trade_item_warehouse_preferences: {
|
|
8658
|
+
Row: {
|
|
8659
|
+
connection_id: string;
|
|
8660
|
+
created_at: string;
|
|
8661
|
+
id: string;
|
|
8662
|
+
trade_item_id: string;
|
|
8663
|
+
updated_at: string;
|
|
8664
|
+
warehouse_id: string;
|
|
8665
|
+
warehouse_name: string | null;
|
|
8666
|
+
};
|
|
8667
|
+
Insert: {
|
|
8668
|
+
connection_id: string;
|
|
8669
|
+
created_at?: string;
|
|
8670
|
+
id?: string;
|
|
8671
|
+
trade_item_id: string;
|
|
8672
|
+
updated_at?: string;
|
|
8673
|
+
warehouse_id: string;
|
|
8674
|
+
warehouse_name?: string | null;
|
|
8675
|
+
};
|
|
8676
|
+
Update: {
|
|
8677
|
+
connection_id?: string;
|
|
8678
|
+
created_at?: string;
|
|
8679
|
+
id?: string;
|
|
8680
|
+
trade_item_id?: string;
|
|
8681
|
+
updated_at?: string;
|
|
8682
|
+
warehouse_id?: string;
|
|
8683
|
+
warehouse_name?: string | null;
|
|
8684
|
+
};
|
|
8685
|
+
Relationships: [{
|
|
8686
|
+
foreignKeyName: "trade_item_warehouse_preferences_connection_id_fkey";
|
|
8687
|
+
columns: ["connection_id"];
|
|
8688
|
+
isOneToOne: false;
|
|
8689
|
+
referencedRelation: "floriday_connections";
|
|
8690
|
+
referencedColumns: ["id"];
|
|
8691
|
+
}];
|
|
8692
|
+
};
|
|
8342
8693
|
twinfield_connections: {
|
|
8343
8694
|
Row: {
|
|
8344
8695
|
access_token: string | null;
|
|
@@ -8658,6 +9009,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8658
9009
|
default_invoice_type: string;
|
|
8659
9010
|
default_payment_term_days: number;
|
|
8660
9011
|
default_vat_code: string;
|
|
9012
|
+
invoice_enabled_ao: boolean;
|
|
9013
|
+
invoice_enabled_fo: boolean;
|
|
9014
|
+
invoice_enabled_ho: boolean;
|
|
9015
|
+
invoice_enabled_mo: boolean;
|
|
8661
9016
|
updated_at: string;
|
|
8662
9017
|
user_id: string;
|
|
8663
9018
|
};
|
|
@@ -8667,6 +9022,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8667
9022
|
default_invoice_type?: string;
|
|
8668
9023
|
default_payment_term_days?: number;
|
|
8669
9024
|
default_vat_code?: string;
|
|
9025
|
+
invoice_enabled_ao?: boolean;
|
|
9026
|
+
invoice_enabled_fo?: boolean;
|
|
9027
|
+
invoice_enabled_ho?: boolean;
|
|
9028
|
+
invoice_enabled_mo?: boolean;
|
|
8670
9029
|
updated_at?: string;
|
|
8671
9030
|
user_id: string;
|
|
8672
9031
|
};
|
|
@@ -8676,6 +9035,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8676
9035
|
default_invoice_type?: string;
|
|
8677
9036
|
default_payment_term_days?: number;
|
|
8678
9037
|
default_vat_code?: string;
|
|
9038
|
+
invoice_enabled_ao?: boolean;
|
|
9039
|
+
invoice_enabled_fo?: boolean;
|
|
9040
|
+
invoice_enabled_ho?: boolean;
|
|
9041
|
+
invoice_enabled_mo?: boolean;
|
|
8679
9042
|
updated_at?: string;
|
|
8680
9043
|
user_id?: string;
|
|
8681
9044
|
};
|
|
@@ -9970,6 +10333,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
9970
10333
|
order_number: string;
|
|
9971
10334
|
}[];
|
|
9972
10335
|
};
|
|
10336
|
+
autolink_product_to_floriday: {
|
|
10337
|
+
Args: {
|
|
10338
|
+
p_product_id: string;
|
|
10339
|
+
};
|
|
10340
|
+
Returns: string;
|
|
10341
|
+
};
|
|
9973
10342
|
backfill_open_order_reservations: {
|
|
9974
10343
|
Args: never;
|
|
9975
10344
|
Returns: {
|
|
@@ -10008,6 +10377,18 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10008
10377
|
Args: never;
|
|
10009
10378
|
Returns: number;
|
|
10010
10379
|
};
|
|
10380
|
+
consume_floriday_rate_limit: {
|
|
10381
|
+
Args: {
|
|
10382
|
+
p_bucket: string;
|
|
10383
|
+
p_capacity: number;
|
|
10384
|
+
p_cost?: number;
|
|
10385
|
+
p_refill_per_sec: number;
|
|
10386
|
+
};
|
|
10387
|
+
Returns: {
|
|
10388
|
+
granted: boolean;
|
|
10389
|
+
wait_ms: number;
|
|
10390
|
+
}[];
|
|
10391
|
+
};
|
|
10011
10392
|
control_get_todays_carts: {
|
|
10012
10393
|
Args: never;
|
|
10013
10394
|
Returns: {
|
|
@@ -10088,6 +10469,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10088
10469
|
status: string;
|
|
10089
10470
|
}[];
|
|
10090
10471
|
};
|
|
10472
|
+
enqueue_cart_replan_if_unlocked: {
|
|
10473
|
+
Args: {
|
|
10474
|
+
p_order_id: string;
|
|
10475
|
+
};
|
|
10476
|
+
Returns: undefined;
|
|
10477
|
+
};
|
|
10091
10478
|
ensure_trade_item_stock_row: {
|
|
10092
10479
|
Args: {
|
|
10093
10480
|
p_key: string;
|
|
@@ -10194,6 +10581,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10194
10581
|
office_code: string;
|
|
10195
10582
|
}[];
|
|
10196
10583
|
};
|
|
10584
|
+
get_floricode_record_counts: {
|
|
10585
|
+
Args: never;
|
|
10586
|
+
Returns: {
|
|
10587
|
+
count: number;
|
|
10588
|
+
resource: string;
|
|
10589
|
+
}[];
|
|
10590
|
+
};
|
|
10197
10591
|
get_floriday_agreements_active: {
|
|
10198
10592
|
Args: {
|
|
10199
10593
|
p_on_date?: string;
|
|
@@ -10285,6 +10679,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10285
10679
|
};
|
|
10286
10680
|
Returns: import("../integrations/supabase/types").Json;
|
|
10287
10681
|
};
|
|
10682
|
+
get_offer_delivery_options: {
|
|
10683
|
+
Args: {
|
|
10684
|
+
p_code: string;
|
|
10685
|
+
};
|
|
10686
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10687
|
+
};
|
|
10288
10688
|
get_offer_recipient_by_code: {
|
|
10289
10689
|
Args: {
|
|
10290
10690
|
p_code: string;
|
|
@@ -10349,6 +10749,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10349
10749
|
Args: never;
|
|
10350
10750
|
Returns: boolean;
|
|
10351
10751
|
};
|
|
10752
|
+
is_superadmin: {
|
|
10753
|
+
Args: {
|
|
10754
|
+
_user_id: string;
|
|
10755
|
+
};
|
|
10756
|
+
Returns: boolean;
|
|
10757
|
+
};
|
|
10352
10758
|
local_effective_price: {
|
|
10353
10759
|
Args: {
|
|
10354
10760
|
_customer_id: string;
|
|
@@ -10383,6 +10789,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10383
10789
|
};
|
|
10384
10790
|
Returns: string;
|
|
10385
10791
|
};
|
|
10792
|
+
next_order_number_for_date: {
|
|
10793
|
+
Args: {
|
|
10794
|
+
p_created_at?: string;
|
|
10795
|
+
p_prefix: string;
|
|
10796
|
+
};
|
|
10797
|
+
Returns: string;
|
|
10798
|
+
};
|
|
10386
10799
|
next_work_order_number: {
|
|
10387
10800
|
Args: {
|
|
10388
10801
|
p_parent_work_order_id?: string;
|
|
@@ -10390,6 +10803,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10390
10803
|
};
|
|
10391
10804
|
Returns: string;
|
|
10392
10805
|
};
|
|
10806
|
+
normalize_order_source: {
|
|
10807
|
+
Args: {
|
|
10808
|
+
p_src: string;
|
|
10809
|
+
};
|
|
10810
|
+
Returns: string;
|
|
10811
|
+
};
|
|
10393
10812
|
normalize_vat: {
|
|
10394
10813
|
Args: {
|
|
10395
10814
|
v: string;
|
|
@@ -10404,10 +10823,21 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10404
10823
|
};
|
|
10405
10824
|
Returns: boolean;
|
|
10406
10825
|
};
|
|
10826
|
+
order_number_prefix: {
|
|
10827
|
+
Args: {
|
|
10828
|
+
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
10829
|
+
p_order_source: string;
|
|
10830
|
+
};
|
|
10831
|
+
Returns: string;
|
|
10832
|
+
};
|
|
10407
10833
|
pickstation_get_orders_raw: {
|
|
10408
10834
|
Args: never;
|
|
10409
10835
|
Returns: import("../integrations/supabase/types").Json;
|
|
10410
10836
|
};
|
|
10837
|
+
pickstation_get_planning_context: {
|
|
10838
|
+
Args: never;
|
|
10839
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10840
|
+
};
|
|
10411
10841
|
pickstation_get_settings: {
|
|
10412
10842
|
Args: never;
|
|
10413
10843
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -10438,6 +10868,28 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10438
10868
|
};
|
|
10439
10869
|
Returns: undefined;
|
|
10440
10870
|
};
|
|
10871
|
+
recompute_order_status: {
|
|
10872
|
+
Args: {
|
|
10873
|
+
p_order_id: string;
|
|
10874
|
+
};
|
|
10875
|
+
Returns: undefined;
|
|
10876
|
+
};
|
|
10877
|
+
recompute_reserved_for_order: {
|
|
10878
|
+
Args: {
|
|
10879
|
+
p_order_id: string;
|
|
10880
|
+
};
|
|
10881
|
+
Returns: undefined;
|
|
10882
|
+
};
|
|
10883
|
+
recompute_reserved_stock: {
|
|
10884
|
+
Args: {
|
|
10885
|
+
p_trade_item_key: string;
|
|
10886
|
+
};
|
|
10887
|
+
Returns: undefined;
|
|
10888
|
+
};
|
|
10889
|
+
refresh_external_customers_grouped: {
|
|
10890
|
+
Args: never;
|
|
10891
|
+
Returns: undefined;
|
|
10892
|
+
};
|
|
10441
10893
|
refresh_floricode_derived_code_lists: {
|
|
10442
10894
|
Args: never;
|
|
10443
10895
|
Returns: {
|
|
@@ -10452,6 +10904,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10452
10904
|
};
|
|
10453
10905
|
Returns: number;
|
|
10454
10906
|
};
|
|
10907
|
+
refresh_floricode_derived_for_products: {
|
|
10908
|
+
Args: {
|
|
10909
|
+
_product_ids: string[];
|
|
10910
|
+
};
|
|
10911
|
+
Returns: number;
|
|
10912
|
+
};
|
|
10455
10913
|
reset_floriday_sync_cursor: {
|
|
10456
10914
|
Args: {
|
|
10457
10915
|
p_connection_id: string;
|
|
@@ -10459,6 +10917,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10459
10917
|
};
|
|
10460
10918
|
Returns: undefined;
|
|
10461
10919
|
};
|
|
10920
|
+
resolve_product_id_for_item: {
|
|
10921
|
+
Args: {
|
|
10922
|
+
p_product_name: string;
|
|
10923
|
+
};
|
|
10924
|
+
Returns: string;
|
|
10925
|
+
};
|
|
10462
10926
|
schedule_floriday_additional_services_sync: {
|
|
10463
10927
|
Args: {
|
|
10464
10928
|
p_apikey: string;
|
|
@@ -10736,6 +11200,24 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10736
11200
|
};
|
|
10737
11201
|
Returns: string[];
|
|
10738
11202
|
};
|
|
11203
|
+
sync_cached_packing_from_product: {
|
|
11204
|
+
Args: {
|
|
11205
|
+
p_product_id: string;
|
|
11206
|
+
};
|
|
11207
|
+
Returns: undefined;
|
|
11208
|
+
};
|
|
11209
|
+
sync_order_cart_item_packing_from_product: {
|
|
11210
|
+
Args: {
|
|
11211
|
+
p_product_id: string;
|
|
11212
|
+
};
|
|
11213
|
+
Returns: undefined;
|
|
11214
|
+
};
|
|
11215
|
+
sync_product_packing_from_floriday_cache: {
|
|
11216
|
+
Args: {
|
|
11217
|
+
p_floriday_id: string;
|
|
11218
|
+
};
|
|
11219
|
+
Returns: undefined;
|
|
11220
|
+
};
|
|
10739
11221
|
twinfield_decrypt: {
|
|
10740
11222
|
Args: {
|
|
10741
11223
|
cipher: string;
|
|
@@ -10748,6 +11230,17 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10748
11230
|
};
|
|
10749
11231
|
Returns: string;
|
|
10750
11232
|
};
|
|
11233
|
+
upsert_auto_fulfillment_log: {
|
|
11234
|
+
Args: {
|
|
11235
|
+
p_connection_id: string;
|
|
11236
|
+
p_error?: string;
|
|
11237
|
+
p_fulfillment_order_id?: string;
|
|
11238
|
+
p_reason?: string;
|
|
11239
|
+
p_sales_order_id: string;
|
|
11240
|
+
p_status: string;
|
|
11241
|
+
};
|
|
11242
|
+
Returns: undefined;
|
|
11243
|
+
};
|
|
10751
11244
|
};
|
|
10752
11245
|
Enums: {
|
|
10753
11246
|
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
|