@flowselections/floriday-afhandeling-module 1.0.13 → 1.0.14
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/afhandeling/AutoProcessStatus.d.ts +12 -0
- package/dist-lib/components/afhandeling/AutoProcessStatus.d.ts.map +1 -0
- package/dist-lib/components/afhandeling/AutoProcessStatus.js +103 -0
- package/dist-lib/components/afhandeling/ControleLijstPrint.d.ts +3 -1
- package/dist-lib/components/afhandeling/ControleLijstPrint.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/ControleLijstPrint.js +41 -63
- package/dist-lib/components/afhandeling/DagDetailDialog.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/DagDetailDialog.js +96 -4
- package/dist-lib/components/afhandeling/LeveringenPage.js +1 -1
- package/dist-lib/components/afhandeling/VervoerdersPage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/VervoerdersPage.js +2 -1
- package/dist-lib/components/afhandeling/WeekAgendaView.d.ts +3 -1
- package/dist-lib/components/afhandeling/WeekAgendaView.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/WeekAgendaView.js +58 -17
- package/dist-lib/components/pickstation/PakbonTemplate.d.ts +2 -1
- package/dist-lib/components/pickstation/PakbonTemplate.d.ts.map +1 -1
- package/dist-lib/components/pickstation/PakbonTemplate.js +20 -17
- package/dist-lib/components/pickstation/PickstationPage.d.ts.map +1 -1
- package/dist-lib/components/pickstation/PickstationPage.js +57 -8
- package/dist-lib/components/settings/AfhandelingSettingsCard.d.ts.map +1 -1
- package/dist-lib/components/settings/AfhandelingSettingsCard.js +14 -2
- package/dist-lib/hooks/useOrderPlanning.d.ts.map +1 -1
- package/dist-lib/hooks/useOrderPlanning.js +28 -11
- package/dist-lib/index.d.ts +2 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +2 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +484 -3
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +484 -3
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +484 -3
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +492 -3
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +981 -7
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/afhandelingSettings.functions.js +28 -1
- package/dist-lib/lib/carrierPlanning.d.ts +25 -0
- package/dist-lib/lib/carrierPlanning.d.ts.map +1 -0
- package/dist-lib/lib/carrierPlanning.js +65 -0
- package/dist-lib/lib/carrierSignupMail.server.d.ts +0 -2
- package/dist-lib/lib/carrierSignupMail.server.d.ts.map +1 -1
- package/dist-lib/lib/carrierSignupMail.server.js +53 -216
- package/dist-lib/lib/carriers.functions.d.ts +2420 -15
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/carriers.functions.js +5 -0
- package/dist-lib/lib/cartAssignments.functions.d.ts +2420 -15
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.d.ts +4840 -30
- package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.js +1 -1
- package/dist-lib/lib/cartRescheduling.d.ts.map +1 -1
- package/dist-lib/lib/cartRescheduling.js +8 -6
- package/dist-lib/lib/countries.d.ts +2 -0
- package/dist-lib/lib/countries.d.ts.map +1 -1
- package/dist-lib/lib/countries.js +51 -0
- package/dist-lib/lib/deliveryNotePrint.d.ts +26 -0
- package/dist-lib/lib/deliveryNotePrint.d.ts.map +1 -0
- package/dist-lib/lib/deliveryNotePrint.js +172 -0
- package/dist-lib/lib/floriday.functions.d.ts +492 -3
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.js +126 -8
- package/dist-lib/lib/floridayAutoProcess.d.ts +30 -0
- package/dist-lib/lib/floridayAutoProcess.d.ts.map +1 -0
- package/dist-lib/lib/floridayAutoProcess.js +70 -0
- package/dist-lib/lib/pickstationI18n.d.ts +46 -0
- package/dist-lib/lib/pickstationI18n.d.ts.map +1 -1
- package/dist-lib/lib/pickstationI18n.js +251 -0
- package/dist-lib/lib/pickstationOrders.server.d.ts.map +1 -1
- package/dist-lib/lib/pickstationOrders.server.js +55 -19
- package/dist-lib/lib/planning.d.ts +34 -0
- package/dist-lib/lib/planning.d.ts.map +1 -1
- package/dist-lib/lib/planning.js +84 -0
- package/package.json +1 -1
|
@@ -13,13 +13,24 @@ export interface FloridayOrder {
|
|
|
13
13
|
totalAmount: number | null;
|
|
14
14
|
currency: string | null;
|
|
15
15
|
createdAt: string | null;
|
|
16
|
+
carrierId?: string | null;
|
|
17
|
+
country?: string | null;
|
|
18
|
+
province?: string | null;
|
|
19
|
+
city?: string | null;
|
|
20
|
+
/** Order bevat één of meer klant-stickers; verlengt de picktijd. */
|
|
21
|
+
hasStickers?: boolean;
|
|
22
|
+
/** Floriday salesOrderId — nodig voor afleverbrief PDF via gateway. */
|
|
23
|
+
salesOrderId?: string | null;
|
|
16
24
|
}
|
|
17
25
|
export declare const getFloridayOrders: import("@tanstack/start-client-core").OptionalFetcher<readonly [import("@tanstack/start-client-core").FunctionMiddlewareAfterServer<{}, unknown, undefined, {
|
|
18
26
|
supabase: SupabaseClient<import("../integrations/supabase/types").Database, "public", "public", {
|
|
19
27
|
Tables: {
|
|
20
28
|
afhandeling_settings: {
|
|
21
29
|
Row: {
|
|
30
|
+
auto_print_delivery_note: boolean;
|
|
31
|
+
auto_process_paused: boolean;
|
|
22
32
|
created_at: string;
|
|
33
|
+
extra_pick_days_with_stickers: number;
|
|
23
34
|
id: string;
|
|
24
35
|
max_workdays_earlier_pick: number;
|
|
25
36
|
pick_days_before_transport: number;
|
|
@@ -33,7 +44,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
33
44
|
user_id: string;
|
|
34
45
|
};
|
|
35
46
|
Insert: {
|
|
47
|
+
auto_print_delivery_note?: boolean;
|
|
48
|
+
auto_process_paused?: boolean;
|
|
36
49
|
created_at?: string;
|
|
50
|
+
extra_pick_days_with_stickers?: number;
|
|
37
51
|
id?: string;
|
|
38
52
|
max_workdays_earlier_pick?: number;
|
|
39
53
|
pick_days_before_transport?: number;
|
|
@@ -47,7 +61,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
47
61
|
user_id: string;
|
|
48
62
|
};
|
|
49
63
|
Update: {
|
|
64
|
+
auto_print_delivery_note?: boolean;
|
|
65
|
+
auto_process_paused?: boolean;
|
|
50
66
|
created_at?: string;
|
|
67
|
+
extra_pick_days_with_stickers?: number;
|
|
51
68
|
id?: string;
|
|
52
69
|
max_workdays_earlier_pick?: number;
|
|
53
70
|
pick_days_before_transport?: number;
|
|
@@ -839,6 +856,36 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
839
856
|
};
|
|
840
857
|
Relationships: [];
|
|
841
858
|
};
|
|
859
|
+
cart_replan_queue: {
|
|
860
|
+
Row: {
|
|
861
|
+
attempts: number;
|
|
862
|
+
last_error: string | null;
|
|
863
|
+
order_id: string;
|
|
864
|
+
processed_at: string | null;
|
|
865
|
+
requested_at: string;
|
|
866
|
+
};
|
|
867
|
+
Insert: {
|
|
868
|
+
attempts?: number;
|
|
869
|
+
last_error?: string | null;
|
|
870
|
+
order_id: string;
|
|
871
|
+
processed_at?: string | null;
|
|
872
|
+
requested_at?: string;
|
|
873
|
+
};
|
|
874
|
+
Update: {
|
|
875
|
+
attempts?: number;
|
|
876
|
+
last_error?: string | null;
|
|
877
|
+
order_id?: string;
|
|
878
|
+
processed_at?: string | null;
|
|
879
|
+
requested_at?: string;
|
|
880
|
+
};
|
|
881
|
+
Relationships: [{
|
|
882
|
+
foreignKeyName: "cart_replan_queue_order_id_fkey";
|
|
883
|
+
columns: ["order_id"];
|
|
884
|
+
isOneToOne: true;
|
|
885
|
+
referencedRelation: "orders";
|
|
886
|
+
referencedColumns: ["id"];
|
|
887
|
+
}];
|
|
888
|
+
};
|
|
842
889
|
collections: {
|
|
843
890
|
Row: {
|
|
844
891
|
created_at: string;
|
|
@@ -2964,34 +3011,52 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
2964
3011
|
Row: {
|
|
2965
3012
|
catalog_key: string | null;
|
|
2966
3013
|
catalog_url: string;
|
|
3014
|
+
client_id: string | null;
|
|
3015
|
+
client_secret_ciphertext: string | null;
|
|
3016
|
+
client_secret_last4: string | null;
|
|
2967
3017
|
created_at: string;
|
|
2968
3018
|
id: number;
|
|
2969
3019
|
last_meta: import("../integrations/supabase/types").Json | null;
|
|
2970
3020
|
last_test_at: string | null;
|
|
2971
3021
|
last_test_error: string | null;
|
|
2972
3022
|
last_test_ok: boolean | null;
|
|
3023
|
+
last_token_test_at: string | null;
|
|
3024
|
+
last_token_test_error: string | null;
|
|
3025
|
+
last_token_test_ok: boolean | null;
|
|
2973
3026
|
updated_at: string;
|
|
2974
3027
|
};
|
|
2975
3028
|
Insert: {
|
|
2976
3029
|
catalog_key?: string | null;
|
|
2977
3030
|
catalog_url?: string;
|
|
3031
|
+
client_id?: string | null;
|
|
3032
|
+
client_secret_ciphertext?: string | null;
|
|
3033
|
+
client_secret_last4?: string | null;
|
|
2978
3034
|
created_at?: string;
|
|
2979
3035
|
id?: number;
|
|
2980
3036
|
last_meta?: import("../integrations/supabase/types").Json | null;
|
|
2981
3037
|
last_test_at?: string | null;
|
|
2982
3038
|
last_test_error?: string | null;
|
|
2983
3039
|
last_test_ok?: boolean | null;
|
|
3040
|
+
last_token_test_at?: string | null;
|
|
3041
|
+
last_token_test_error?: string | null;
|
|
3042
|
+
last_token_test_ok?: boolean | null;
|
|
2984
3043
|
updated_at?: string;
|
|
2985
3044
|
};
|
|
2986
3045
|
Update: {
|
|
2987
3046
|
catalog_key?: string | null;
|
|
2988
3047
|
catalog_url?: string;
|
|
3048
|
+
client_id?: string | null;
|
|
3049
|
+
client_secret_ciphertext?: string | null;
|
|
3050
|
+
client_secret_last4?: string | null;
|
|
2989
3051
|
created_at?: string;
|
|
2990
3052
|
id?: number;
|
|
2991
3053
|
last_meta?: import("../integrations/supabase/types").Json | null;
|
|
2992
3054
|
last_test_at?: string | null;
|
|
2993
3055
|
last_test_error?: string | null;
|
|
2994
3056
|
last_test_ok?: boolean | null;
|
|
3057
|
+
last_token_test_at?: string | null;
|
|
3058
|
+
last_token_test_error?: string | null;
|
|
3059
|
+
last_token_test_ok?: boolean | null;
|
|
2995
3060
|
updated_at?: string;
|
|
2996
3061
|
};
|
|
2997
3062
|
Relationships: [];
|
|
@@ -3224,6 +3289,54 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
3224
3289
|
referencedColumns: ["id"];
|
|
3225
3290
|
}];
|
|
3226
3291
|
};
|
|
3292
|
+
floriday_auto_fulfillment_log: {
|
|
3293
|
+
Row: {
|
|
3294
|
+
attempts: number;
|
|
3295
|
+
connection_id: string;
|
|
3296
|
+
created_at: string;
|
|
3297
|
+
error: string | null;
|
|
3298
|
+
fulfillment_order_id: string | null;
|
|
3299
|
+
id: string;
|
|
3300
|
+
last_attempt_at: string | null;
|
|
3301
|
+
reason: string | null;
|
|
3302
|
+
sales_order_id: string;
|
|
3303
|
+
status: string;
|
|
3304
|
+
updated_at: string;
|
|
3305
|
+
};
|
|
3306
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
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
|
+
Relationships: [{
|
|
3333
|
+
foreignKeyName: "floriday_auto_fulfillment_log_connection_id_fkey";
|
|
3334
|
+
columns: ["connection_id"];
|
|
3335
|
+
isOneToOne: false;
|
|
3336
|
+
referencedRelation: "floriday_connections";
|
|
3337
|
+
referencedColumns: ["id"];
|
|
3338
|
+
}];
|
|
3339
|
+
};
|
|
3227
3340
|
floriday_base_items_cache: {
|
|
3228
3341
|
Row: {
|
|
3229
3342
|
connection_id: string;
|
|
@@ -4328,6 +4441,24 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4328
4441
|
referencedColumns: ["id"];
|
|
4329
4442
|
}];
|
|
4330
4443
|
};
|
|
4444
|
+
floriday_rate_limit_state: {
|
|
4445
|
+
Row: {
|
|
4446
|
+
bucket: string;
|
|
4447
|
+
last_refill_at: string;
|
|
4448
|
+
tokens: number;
|
|
4449
|
+
};
|
|
4450
|
+
Insert: {
|
|
4451
|
+
bucket: string;
|
|
4452
|
+
last_refill_at?: string;
|
|
4453
|
+
tokens: number;
|
|
4454
|
+
};
|
|
4455
|
+
Update: {
|
|
4456
|
+
bucket?: string;
|
|
4457
|
+
last_refill_at?: string;
|
|
4458
|
+
tokens?: number;
|
|
4459
|
+
};
|
|
4460
|
+
Relationships: [];
|
|
4461
|
+
};
|
|
4331
4462
|
floriday_resource_schemas: {
|
|
4332
4463
|
Row: {
|
|
4333
4464
|
enums: import("../integrations/supabase/types").Json;
|
|
@@ -4751,6 +4882,60 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4751
4882
|
referencedColumns: ["id"];
|
|
4752
4883
|
}];
|
|
4753
4884
|
};
|
|
4885
|
+
flow_role_assignments: {
|
|
4886
|
+
Row: {
|
|
4887
|
+
created_at: string;
|
|
4888
|
+
id: string;
|
|
4889
|
+
role_id: string;
|
|
4890
|
+
user_id: string;
|
|
4891
|
+
};
|
|
4892
|
+
Insert: {
|
|
4893
|
+
created_at?: string;
|
|
4894
|
+
id?: string;
|
|
4895
|
+
role_id: string;
|
|
4896
|
+
user_id: string;
|
|
4897
|
+
};
|
|
4898
|
+
Update: {
|
|
4899
|
+
created_at?: string;
|
|
4900
|
+
id?: string;
|
|
4901
|
+
role_id?: string;
|
|
4902
|
+
user_id?: string;
|
|
4903
|
+
};
|
|
4904
|
+
Relationships: [{
|
|
4905
|
+
foreignKeyName: "flow_role_assignments_role_id_fkey";
|
|
4906
|
+
columns: ["role_id"];
|
|
4907
|
+
isOneToOne: false;
|
|
4908
|
+
referencedRelation: "flow_roles";
|
|
4909
|
+
referencedColumns: ["id"];
|
|
4910
|
+
}];
|
|
4911
|
+
};
|
|
4912
|
+
flow_roles: {
|
|
4913
|
+
Row: {
|
|
4914
|
+
created_at: string;
|
|
4915
|
+
description: string | null;
|
|
4916
|
+
id: string;
|
|
4917
|
+
module_access: string[];
|
|
4918
|
+
name: string;
|
|
4919
|
+
updated_at: string;
|
|
4920
|
+
};
|
|
4921
|
+
Insert: {
|
|
4922
|
+
created_at?: string;
|
|
4923
|
+
description?: string | null;
|
|
4924
|
+
id?: string;
|
|
4925
|
+
module_access?: string[];
|
|
4926
|
+
name: string;
|
|
4927
|
+
updated_at?: string;
|
|
4928
|
+
};
|
|
4929
|
+
Update: {
|
|
4930
|
+
created_at?: string;
|
|
4931
|
+
description?: string | null;
|
|
4932
|
+
id?: string;
|
|
4933
|
+
module_access?: string[];
|
|
4934
|
+
name?: string;
|
|
4935
|
+
updated_at?: string;
|
|
4936
|
+
};
|
|
4937
|
+
Relationships: [];
|
|
4938
|
+
};
|
|
4754
4939
|
imap_accounts: {
|
|
4755
4940
|
Row: {
|
|
4756
4941
|
created_at: string;
|
|
@@ -5382,6 +5567,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
5382
5567
|
matched_customer_id: string | null;
|
|
5383
5568
|
message_id: string;
|
|
5384
5569
|
notes: string | null;
|
|
5570
|
+
order_number: string | null;
|
|
5385
5571
|
parsed_payload: import("../integrations/supabase/types").Json | null;
|
|
5386
5572
|
reviewed_at: string | null;
|
|
5387
5573
|
reviewed_by: string | null;
|
|
@@ -5397,6 +5583,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
5397
5583
|
matched_customer_id?: string | null;
|
|
5398
5584
|
message_id: string;
|
|
5399
5585
|
notes?: string | null;
|
|
5586
|
+
order_number?: string | null;
|
|
5400
5587
|
parsed_payload?: import("../integrations/supabase/types").Json | null;
|
|
5401
5588
|
reviewed_at?: string | null;
|
|
5402
5589
|
reviewed_by?: string | null;
|
|
@@ -5412,6 +5599,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
5412
5599
|
matched_customer_id?: string | null;
|
|
5413
5600
|
message_id?: string;
|
|
5414
5601
|
notes?: string | null;
|
|
5602
|
+
order_number?: string | null;
|
|
5415
5603
|
parsed_payload?: import("../integrations/supabase/types").Json | null;
|
|
5416
5604
|
reviewed_at?: string | null;
|
|
5417
5605
|
reviewed_by?: string | null;
|
|
@@ -6268,6 +6456,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6268
6456
|
id: string;
|
|
6269
6457
|
items: import("../integrations/supabase/types").Json;
|
|
6270
6458
|
notes: string | null;
|
|
6459
|
+
order_number: string | null;
|
|
6271
6460
|
recipient_id: string;
|
|
6272
6461
|
total_amount: number;
|
|
6273
6462
|
};
|
|
@@ -6281,6 +6470,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6281
6470
|
id?: string;
|
|
6282
6471
|
items?: import("../integrations/supabase/types").Json;
|
|
6283
6472
|
notes?: string | null;
|
|
6473
|
+
order_number?: string | null;
|
|
6284
6474
|
recipient_id: string;
|
|
6285
6475
|
total_amount?: number;
|
|
6286
6476
|
};
|
|
@@ -6294,6 +6484,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6294
6484
|
id?: string;
|
|
6295
6485
|
items?: import("../integrations/supabase/types").Json;
|
|
6296
6486
|
notes?: string | null;
|
|
6487
|
+
order_number?: string | null;
|
|
6297
6488
|
recipient_id?: string;
|
|
6298
6489
|
total_amount?: number;
|
|
6299
6490
|
};
|
|
@@ -6453,6 +6644,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6453
6644
|
crates_per_layer: number;
|
|
6454
6645
|
created_at: string;
|
|
6455
6646
|
id: string;
|
|
6647
|
+
layer_fraction: number;
|
|
6648
|
+
layer_share_pct: number;
|
|
6649
|
+
layers_per_cart: number;
|
|
6456
6650
|
order_item_id: string | null;
|
|
6457
6651
|
plants_per_crate: number;
|
|
6458
6652
|
product_id: string | null;
|
|
@@ -6464,6 +6658,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6464
6658
|
crates_per_layer?: number;
|
|
6465
6659
|
created_at?: string;
|
|
6466
6660
|
id?: string;
|
|
6661
|
+
layer_fraction?: number;
|
|
6662
|
+
layer_share_pct?: number;
|
|
6663
|
+
layers_per_cart?: number;
|
|
6467
6664
|
order_item_id?: string | null;
|
|
6468
6665
|
plants_per_crate?: number;
|
|
6469
6666
|
product_id?: string | null;
|
|
@@ -6475,6 +6672,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6475
6672
|
crates_per_layer?: number;
|
|
6476
6673
|
created_at?: string;
|
|
6477
6674
|
id?: string;
|
|
6675
|
+
layer_fraction?: number;
|
|
6676
|
+
layer_share_pct?: number;
|
|
6677
|
+
layers_per_cart?: number;
|
|
6478
6678
|
order_item_id?: string | null;
|
|
6479
6679
|
plants_per_crate?: number;
|
|
6480
6680
|
product_id?: string | null;
|
|
@@ -6502,33 +6702,45 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6502
6702
|
};
|
|
6503
6703
|
order_carts: {
|
|
6504
6704
|
Row: {
|
|
6705
|
+
algorithm_version: number;
|
|
6505
6706
|
cart_number: number;
|
|
6506
6707
|
created_at: string;
|
|
6507
6708
|
id: string;
|
|
6508
6709
|
is_auto: boolean;
|
|
6509
6710
|
is_complete: boolean;
|
|
6510
6711
|
notes: string | null;
|
|
6712
|
+
occupancy_pct: number;
|
|
6511
6713
|
order_id: string;
|
|
6714
|
+
source: string;
|
|
6715
|
+
total_layers_used: number;
|
|
6512
6716
|
updated_at: string;
|
|
6513
6717
|
};
|
|
6514
6718
|
Insert: {
|
|
6719
|
+
algorithm_version?: number;
|
|
6515
6720
|
cart_number: number;
|
|
6516
6721
|
created_at?: string;
|
|
6517
6722
|
id?: string;
|
|
6518
6723
|
is_auto?: boolean;
|
|
6519
6724
|
is_complete?: boolean;
|
|
6520
6725
|
notes?: string | null;
|
|
6726
|
+
occupancy_pct?: number;
|
|
6521
6727
|
order_id: string;
|
|
6728
|
+
source?: string;
|
|
6729
|
+
total_layers_used?: number;
|
|
6522
6730
|
updated_at?: string;
|
|
6523
6731
|
};
|
|
6524
6732
|
Update: {
|
|
6733
|
+
algorithm_version?: number;
|
|
6525
6734
|
cart_number?: number;
|
|
6526
6735
|
created_at?: string;
|
|
6527
6736
|
id?: string;
|
|
6528
6737
|
is_auto?: boolean;
|
|
6529
6738
|
is_complete?: boolean;
|
|
6530
6739
|
notes?: string | null;
|
|
6740
|
+
occupancy_pct?: number;
|
|
6531
6741
|
order_id?: string;
|
|
6742
|
+
source?: string;
|
|
6743
|
+
total_layers_used?: number;
|
|
6532
6744
|
updated_at?: string;
|
|
6533
6745
|
};
|
|
6534
6746
|
Relationships: [{
|
|
@@ -6681,6 +6893,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6681
6893
|
order_date: string;
|
|
6682
6894
|
order_number: string;
|
|
6683
6895
|
order_source: string;
|
|
6896
|
+
plan_locked_at: string | null;
|
|
6897
|
+
plan_locked_ref: string | null;
|
|
6684
6898
|
status: string;
|
|
6685
6899
|
total: string;
|
|
6686
6900
|
updated_at: string;
|
|
@@ -6697,6 +6911,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6697
6911
|
order_date?: string;
|
|
6698
6912
|
order_number: string;
|
|
6699
6913
|
order_source?: string;
|
|
6914
|
+
plan_locked_at?: string | null;
|
|
6915
|
+
plan_locked_ref?: string | null;
|
|
6700
6916
|
status?: string;
|
|
6701
6917
|
total?: string;
|
|
6702
6918
|
updated_at?: string;
|
|
@@ -6713,6 +6929,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6713
6929
|
order_date?: string;
|
|
6714
6930
|
order_number?: string;
|
|
6715
6931
|
order_source?: string;
|
|
6932
|
+
plan_locked_at?: string | null;
|
|
6933
|
+
plan_locked_ref?: string | null;
|
|
6716
6934
|
status?: string;
|
|
6717
6935
|
total?: string;
|
|
6718
6936
|
updated_at?: string;
|
|
@@ -7085,6 +7303,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7085
7303
|
display_name: string | null;
|
|
7086
7304
|
email: string | null;
|
|
7087
7305
|
id: string;
|
|
7306
|
+
is_superadmin: boolean;
|
|
7088
7307
|
notification_preferences: import("../integrations/supabase/types").Json;
|
|
7089
7308
|
tenant_id: string | null;
|
|
7090
7309
|
updated_at: string;
|
|
@@ -7094,6 +7313,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7094
7313
|
display_name?: string | null;
|
|
7095
7314
|
email?: string | null;
|
|
7096
7315
|
id: string;
|
|
7316
|
+
is_superadmin?: boolean;
|
|
7097
7317
|
notification_preferences?: import("../integrations/supabase/types").Json;
|
|
7098
7318
|
tenant_id?: string | null;
|
|
7099
7319
|
updated_at?: string;
|
|
@@ -7103,6 +7323,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7103
7323
|
display_name?: string | null;
|
|
7104
7324
|
email?: string | null;
|
|
7105
7325
|
id?: string;
|
|
7326
|
+
is_superadmin?: boolean;
|
|
7106
7327
|
notification_preferences?: import("../integrations/supabase/types").Json;
|
|
7107
7328
|
tenant_id?: string | null;
|
|
7108
7329
|
updated_at?: string;
|
|
@@ -7892,6 +8113,24 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7892
8113
|
};
|
|
7893
8114
|
Relationships: [];
|
|
7894
8115
|
};
|
|
8116
|
+
sidebar_config: {
|
|
8117
|
+
Row: {
|
|
8118
|
+
id: string;
|
|
8119
|
+
module_order: string[];
|
|
8120
|
+
updated_at: string;
|
|
8121
|
+
};
|
|
8122
|
+
Insert: {
|
|
8123
|
+
id?: string;
|
|
8124
|
+
module_order?: string[];
|
|
8125
|
+
updated_at?: string;
|
|
8126
|
+
};
|
|
8127
|
+
Update: {
|
|
8128
|
+
id?: string;
|
|
8129
|
+
module_order?: string[];
|
|
8130
|
+
updated_at?: string;
|
|
8131
|
+
};
|
|
8132
|
+
Relationships: [];
|
|
8133
|
+
};
|
|
7895
8134
|
stock_import_runs: {
|
|
7896
8135
|
Row: {
|
|
7897
8136
|
connection_id: string | null;
|
|
@@ -7950,7 +8189,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7950
8189
|
reason: string | null;
|
|
7951
8190
|
reserved_after: number | null;
|
|
7952
8191
|
reserved_before: number | null;
|
|
7953
|
-
trade_item_key: string;
|
|
8192
|
+
trade_item_key: string | null;
|
|
7954
8193
|
};
|
|
7955
8194
|
Insert: {
|
|
7956
8195
|
connection_id?: string | null;
|
|
@@ -7967,7 +8206,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7967
8206
|
reason?: string | null;
|
|
7968
8207
|
reserved_after?: number | null;
|
|
7969
8208
|
reserved_before?: number | null;
|
|
7970
|
-
trade_item_key
|
|
8209
|
+
trade_item_key?: string | null;
|
|
7971
8210
|
};
|
|
7972
8211
|
Update: {
|
|
7973
8212
|
connection_id?: string | null;
|
|
@@ -7984,7 +8223,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7984
8223
|
reason?: string | null;
|
|
7985
8224
|
reserved_after?: number | null;
|
|
7986
8225
|
reserved_before?: number | null;
|
|
7987
|
-
trade_item_key?: string;
|
|
8226
|
+
trade_item_key?: string | null;
|
|
7988
8227
|
};
|
|
7989
8228
|
Relationships: [];
|
|
7990
8229
|
};
|
|
@@ -8327,6 +8566,114 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8327
8566
|
};
|
|
8328
8567
|
Relationships: [];
|
|
8329
8568
|
};
|
|
8569
|
+
trade_item_supply_lines: {
|
|
8570
|
+
Row: {
|
|
8571
|
+
available_quantity: number | null;
|
|
8572
|
+
connection_id: string;
|
|
8573
|
+
created_at: string;
|
|
8574
|
+
currency: string | null;
|
|
8575
|
+
endpoint_family: string | null;
|
|
8576
|
+
environment: string | null;
|
|
8577
|
+
id: string;
|
|
8578
|
+
last_error: string | null;
|
|
8579
|
+
last_status: number | null;
|
|
8580
|
+
packing_configuration_id: string | null;
|
|
8581
|
+
period_end: string | null;
|
|
8582
|
+
period_start: string | null;
|
|
8583
|
+
price_per_piece: number | null;
|
|
8584
|
+
sales_unit: string | null;
|
|
8585
|
+
supply_line_id: string | null;
|
|
8586
|
+
supply_type: string;
|
|
8587
|
+
trade_item_id: string;
|
|
8588
|
+
updated_at: string;
|
|
8589
|
+
user_id: string;
|
|
8590
|
+
week: number | null;
|
|
8591
|
+
year: number | null;
|
|
8592
|
+
};
|
|
8593
|
+
Insert: {
|
|
8594
|
+
available_quantity?: number | null;
|
|
8595
|
+
connection_id: string;
|
|
8596
|
+
created_at?: string;
|
|
8597
|
+
currency?: string | null;
|
|
8598
|
+
endpoint_family?: string | null;
|
|
8599
|
+
environment?: string | null;
|
|
8600
|
+
id?: string;
|
|
8601
|
+
last_error?: string | null;
|
|
8602
|
+
last_status?: number | null;
|
|
8603
|
+
packing_configuration_id?: string | null;
|
|
8604
|
+
period_end?: string | null;
|
|
8605
|
+
period_start?: string | null;
|
|
8606
|
+
price_per_piece?: number | null;
|
|
8607
|
+
sales_unit?: string | null;
|
|
8608
|
+
supply_line_id?: string | null;
|
|
8609
|
+
supply_type?: string;
|
|
8610
|
+
trade_item_id: string;
|
|
8611
|
+
updated_at?: string;
|
|
8612
|
+
user_id: string;
|
|
8613
|
+
week?: number | null;
|
|
8614
|
+
year?: number | null;
|
|
8615
|
+
};
|
|
8616
|
+
Update: {
|
|
8617
|
+
available_quantity?: number | null;
|
|
8618
|
+
connection_id?: string;
|
|
8619
|
+
created_at?: string;
|
|
8620
|
+
currency?: string | null;
|
|
8621
|
+
endpoint_family?: string | null;
|
|
8622
|
+
environment?: string | null;
|
|
8623
|
+
id?: string;
|
|
8624
|
+
last_error?: string | null;
|
|
8625
|
+
last_status?: number | null;
|
|
8626
|
+
packing_configuration_id?: string | null;
|
|
8627
|
+
period_end?: string | null;
|
|
8628
|
+
period_start?: string | null;
|
|
8629
|
+
price_per_piece?: number | null;
|
|
8630
|
+
sales_unit?: string | null;
|
|
8631
|
+
supply_line_id?: string | null;
|
|
8632
|
+
supply_type?: string;
|
|
8633
|
+
trade_item_id?: string;
|
|
8634
|
+
updated_at?: string;
|
|
8635
|
+
user_id?: string;
|
|
8636
|
+
week?: number | null;
|
|
8637
|
+
year?: number | null;
|
|
8638
|
+
};
|
|
8639
|
+
Relationships: [];
|
|
8640
|
+
};
|
|
8641
|
+
trade_item_warehouse_preferences: {
|
|
8642
|
+
Row: {
|
|
8643
|
+
connection_id: string;
|
|
8644
|
+
created_at: string;
|
|
8645
|
+
id: string;
|
|
8646
|
+
trade_item_id: string;
|
|
8647
|
+
updated_at: string;
|
|
8648
|
+
warehouse_id: string;
|
|
8649
|
+
warehouse_name: string | null;
|
|
8650
|
+
};
|
|
8651
|
+
Insert: {
|
|
8652
|
+
connection_id: string;
|
|
8653
|
+
created_at?: string;
|
|
8654
|
+
id?: string;
|
|
8655
|
+
trade_item_id: string;
|
|
8656
|
+
updated_at?: string;
|
|
8657
|
+
warehouse_id: string;
|
|
8658
|
+
warehouse_name?: string | null;
|
|
8659
|
+
};
|
|
8660
|
+
Update: {
|
|
8661
|
+
connection_id?: string;
|
|
8662
|
+
created_at?: string;
|
|
8663
|
+
id?: string;
|
|
8664
|
+
trade_item_id?: string;
|
|
8665
|
+
updated_at?: string;
|
|
8666
|
+
warehouse_id?: string;
|
|
8667
|
+
warehouse_name?: string | null;
|
|
8668
|
+
};
|
|
8669
|
+
Relationships: [{
|
|
8670
|
+
foreignKeyName: "trade_item_warehouse_preferences_connection_id_fkey";
|
|
8671
|
+
columns: ["connection_id"];
|
|
8672
|
+
isOneToOne: false;
|
|
8673
|
+
referencedRelation: "floriday_connections";
|
|
8674
|
+
referencedColumns: ["id"];
|
|
8675
|
+
}];
|
|
8676
|
+
};
|
|
8330
8677
|
twinfield_connections: {
|
|
8331
8678
|
Row: {
|
|
8332
8679
|
access_token: string | null;
|
|
@@ -8646,6 +8993,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8646
8993
|
default_invoice_type: string;
|
|
8647
8994
|
default_payment_term_days: number;
|
|
8648
8995
|
default_vat_code: string;
|
|
8996
|
+
invoice_enabled_ao: boolean;
|
|
8997
|
+
invoice_enabled_fo: boolean;
|
|
8998
|
+
invoice_enabled_ho: boolean;
|
|
8999
|
+
invoice_enabled_mo: boolean;
|
|
8649
9000
|
updated_at: string;
|
|
8650
9001
|
user_id: string;
|
|
8651
9002
|
};
|
|
@@ -8655,6 +9006,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8655
9006
|
default_invoice_type?: string;
|
|
8656
9007
|
default_payment_term_days?: number;
|
|
8657
9008
|
default_vat_code?: string;
|
|
9009
|
+
invoice_enabled_ao?: boolean;
|
|
9010
|
+
invoice_enabled_fo?: boolean;
|
|
9011
|
+
invoice_enabled_ho?: boolean;
|
|
9012
|
+
invoice_enabled_mo?: boolean;
|
|
8658
9013
|
updated_at?: string;
|
|
8659
9014
|
user_id: string;
|
|
8660
9015
|
};
|
|
@@ -8664,6 +9019,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8664
9019
|
default_invoice_type?: string;
|
|
8665
9020
|
default_payment_term_days?: number;
|
|
8666
9021
|
default_vat_code?: string;
|
|
9022
|
+
invoice_enabled_ao?: boolean;
|
|
9023
|
+
invoice_enabled_fo?: boolean;
|
|
9024
|
+
invoice_enabled_ho?: boolean;
|
|
9025
|
+
invoice_enabled_mo?: boolean;
|
|
8667
9026
|
updated_at?: string;
|
|
8668
9027
|
user_id?: string;
|
|
8669
9028
|
};
|
|
@@ -9958,6 +10317,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9958
10317
|
order_number: string;
|
|
9959
10318
|
}[];
|
|
9960
10319
|
};
|
|
10320
|
+
autolink_product_to_floriday: {
|
|
10321
|
+
Args: {
|
|
10322
|
+
p_product_id: string;
|
|
10323
|
+
};
|
|
10324
|
+
Returns: string;
|
|
10325
|
+
};
|
|
9961
10326
|
backfill_open_order_reservations: {
|
|
9962
10327
|
Args: never;
|
|
9963
10328
|
Returns: {
|
|
@@ -9996,6 +10361,18 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9996
10361
|
Args: never;
|
|
9997
10362
|
Returns: number;
|
|
9998
10363
|
};
|
|
10364
|
+
consume_floriday_rate_limit: {
|
|
10365
|
+
Args: {
|
|
10366
|
+
p_bucket: string;
|
|
10367
|
+
p_capacity: number;
|
|
10368
|
+
p_cost?: number;
|
|
10369
|
+
p_refill_per_sec: number;
|
|
10370
|
+
};
|
|
10371
|
+
Returns: {
|
|
10372
|
+
granted: boolean;
|
|
10373
|
+
wait_ms: number;
|
|
10374
|
+
}[];
|
|
10375
|
+
};
|
|
9999
10376
|
control_get_todays_carts: {
|
|
10000
10377
|
Args: never;
|
|
10001
10378
|
Returns: {
|
|
@@ -10076,6 +10453,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10076
10453
|
status: string;
|
|
10077
10454
|
}[];
|
|
10078
10455
|
};
|
|
10456
|
+
enqueue_cart_replan_if_unlocked: {
|
|
10457
|
+
Args: {
|
|
10458
|
+
p_order_id: string;
|
|
10459
|
+
};
|
|
10460
|
+
Returns: undefined;
|
|
10461
|
+
};
|
|
10079
10462
|
ensure_trade_item_stock_row: {
|
|
10080
10463
|
Args: {
|
|
10081
10464
|
p_key: string;
|
|
@@ -10182,6 +10565,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10182
10565
|
office_code: string;
|
|
10183
10566
|
}[];
|
|
10184
10567
|
};
|
|
10568
|
+
get_floricode_record_counts: {
|
|
10569
|
+
Args: never;
|
|
10570
|
+
Returns: {
|
|
10571
|
+
count: number;
|
|
10572
|
+
resource: string;
|
|
10573
|
+
}[];
|
|
10574
|
+
};
|
|
10185
10575
|
get_floriday_agreements_active: {
|
|
10186
10576
|
Args: {
|
|
10187
10577
|
p_on_date?: string;
|
|
@@ -10273,6 +10663,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10273
10663
|
};
|
|
10274
10664
|
Returns: import("../integrations/supabase/types").Json;
|
|
10275
10665
|
};
|
|
10666
|
+
get_offer_delivery_options: {
|
|
10667
|
+
Args: {
|
|
10668
|
+
p_code: string;
|
|
10669
|
+
};
|
|
10670
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10671
|
+
};
|
|
10276
10672
|
get_offer_recipient_by_code: {
|
|
10277
10673
|
Args: {
|
|
10278
10674
|
p_code: string;
|
|
@@ -10337,6 +10733,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10337
10733
|
Args: never;
|
|
10338
10734
|
Returns: boolean;
|
|
10339
10735
|
};
|
|
10736
|
+
is_superadmin: {
|
|
10737
|
+
Args: {
|
|
10738
|
+
_user_id: string;
|
|
10739
|
+
};
|
|
10740
|
+
Returns: boolean;
|
|
10741
|
+
};
|
|
10340
10742
|
local_effective_price: {
|
|
10341
10743
|
Args: {
|
|
10342
10744
|
_customer_id: string;
|
|
@@ -10371,6 +10773,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10371
10773
|
};
|
|
10372
10774
|
Returns: string;
|
|
10373
10775
|
};
|
|
10776
|
+
next_order_number_for_date: {
|
|
10777
|
+
Args: {
|
|
10778
|
+
p_created_at?: string;
|
|
10779
|
+
p_prefix: string;
|
|
10780
|
+
};
|
|
10781
|
+
Returns: string;
|
|
10782
|
+
};
|
|
10374
10783
|
next_work_order_number: {
|
|
10375
10784
|
Args: {
|
|
10376
10785
|
p_parent_work_order_id?: string;
|
|
@@ -10378,6 +10787,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10378
10787
|
};
|
|
10379
10788
|
Returns: string;
|
|
10380
10789
|
};
|
|
10790
|
+
normalize_order_source: {
|
|
10791
|
+
Args: {
|
|
10792
|
+
p_src: string;
|
|
10793
|
+
};
|
|
10794
|
+
Returns: string;
|
|
10795
|
+
};
|
|
10381
10796
|
normalize_vat: {
|
|
10382
10797
|
Args: {
|
|
10383
10798
|
v: string;
|
|
@@ -10392,10 +10807,21 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10392
10807
|
};
|
|
10393
10808
|
Returns: boolean;
|
|
10394
10809
|
};
|
|
10810
|
+
order_number_prefix: {
|
|
10811
|
+
Args: {
|
|
10812
|
+
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
10813
|
+
p_order_source: string;
|
|
10814
|
+
};
|
|
10815
|
+
Returns: string;
|
|
10816
|
+
};
|
|
10395
10817
|
pickstation_get_orders_raw: {
|
|
10396
10818
|
Args: never;
|
|
10397
10819
|
Returns: import("../integrations/supabase/types").Json;
|
|
10398
10820
|
};
|
|
10821
|
+
pickstation_get_planning_context: {
|
|
10822
|
+
Args: never;
|
|
10823
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10824
|
+
};
|
|
10399
10825
|
pickstation_get_settings: {
|
|
10400
10826
|
Args: never;
|
|
10401
10827
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -10426,6 +10852,28 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10426
10852
|
};
|
|
10427
10853
|
Returns: undefined;
|
|
10428
10854
|
};
|
|
10855
|
+
recompute_order_status: {
|
|
10856
|
+
Args: {
|
|
10857
|
+
p_order_id: string;
|
|
10858
|
+
};
|
|
10859
|
+
Returns: undefined;
|
|
10860
|
+
};
|
|
10861
|
+
recompute_reserved_for_order: {
|
|
10862
|
+
Args: {
|
|
10863
|
+
p_order_id: string;
|
|
10864
|
+
};
|
|
10865
|
+
Returns: undefined;
|
|
10866
|
+
};
|
|
10867
|
+
recompute_reserved_stock: {
|
|
10868
|
+
Args: {
|
|
10869
|
+
p_trade_item_key: string;
|
|
10870
|
+
};
|
|
10871
|
+
Returns: undefined;
|
|
10872
|
+
};
|
|
10873
|
+
refresh_external_customers_grouped: {
|
|
10874
|
+
Args: never;
|
|
10875
|
+
Returns: undefined;
|
|
10876
|
+
};
|
|
10429
10877
|
refresh_floricode_derived_code_lists: {
|
|
10430
10878
|
Args: never;
|
|
10431
10879
|
Returns: {
|
|
@@ -10440,6 +10888,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10440
10888
|
};
|
|
10441
10889
|
Returns: number;
|
|
10442
10890
|
};
|
|
10891
|
+
refresh_floricode_derived_for_products: {
|
|
10892
|
+
Args: {
|
|
10893
|
+
_product_ids: string[];
|
|
10894
|
+
};
|
|
10895
|
+
Returns: number;
|
|
10896
|
+
};
|
|
10443
10897
|
reset_floriday_sync_cursor: {
|
|
10444
10898
|
Args: {
|
|
10445
10899
|
p_connection_id: string;
|
|
@@ -10447,6 +10901,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10447
10901
|
};
|
|
10448
10902
|
Returns: undefined;
|
|
10449
10903
|
};
|
|
10904
|
+
resolve_product_id_for_item: {
|
|
10905
|
+
Args: {
|
|
10906
|
+
p_product_name: string;
|
|
10907
|
+
};
|
|
10908
|
+
Returns: string;
|
|
10909
|
+
};
|
|
10450
10910
|
schedule_floriday_additional_services_sync: {
|
|
10451
10911
|
Args: {
|
|
10452
10912
|
p_apikey: string;
|
|
@@ -10724,6 +11184,24 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10724
11184
|
};
|
|
10725
11185
|
Returns: string[];
|
|
10726
11186
|
};
|
|
11187
|
+
sync_cached_packing_from_product: {
|
|
11188
|
+
Args: {
|
|
11189
|
+
p_product_id: string;
|
|
11190
|
+
};
|
|
11191
|
+
Returns: undefined;
|
|
11192
|
+
};
|
|
11193
|
+
sync_order_cart_item_packing_from_product: {
|
|
11194
|
+
Args: {
|
|
11195
|
+
p_product_id: string;
|
|
11196
|
+
};
|
|
11197
|
+
Returns: undefined;
|
|
11198
|
+
};
|
|
11199
|
+
sync_product_packing_from_floriday_cache: {
|
|
11200
|
+
Args: {
|
|
11201
|
+
p_floriday_id: string;
|
|
11202
|
+
};
|
|
11203
|
+
Returns: undefined;
|
|
11204
|
+
};
|
|
10727
11205
|
twinfield_decrypt: {
|
|
10728
11206
|
Args: {
|
|
10729
11207
|
cipher: string;
|
|
@@ -10736,6 +11214,17 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10736
11214
|
};
|
|
10737
11215
|
Returns: string;
|
|
10738
11216
|
};
|
|
11217
|
+
upsert_auto_fulfillment_log: {
|
|
11218
|
+
Args: {
|
|
11219
|
+
p_connection_id: string;
|
|
11220
|
+
p_error?: string;
|
|
11221
|
+
p_fulfillment_order_id?: string;
|
|
11222
|
+
p_reason?: string;
|
|
11223
|
+
p_sales_order_id: string;
|
|
11224
|
+
p_status: string;
|
|
11225
|
+
};
|
|
11226
|
+
Returns: undefined;
|
|
11227
|
+
};
|
|
10739
11228
|
};
|
|
10740
11229
|
Enums: {
|
|
10741
11230
|
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
|