@flowselections/floriday-authenticatie-module 1.0.17 → 1.0.19
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/floriday/FlorydayConnectionPage.d.ts.map +1 -1
- package/dist-lib/components/floriday/FlorydayConnectionPage.js +2 -1
- package/dist-lib/components/settings/FloricodeSettingsCard.d.ts +2 -0
- package/dist-lib/components/settings/FloricodeSettingsCard.d.ts.map +1 -0
- package/dist-lib/components/settings/FloricodeSettingsCard.js +235 -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 +524 -4
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +524 -4
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +524 -4
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +532 -4
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode-credentials.server.d.ts +21 -0
- package/dist-lib/lib/floricode-credentials.server.d.ts.map +1 -0
- package/dist-lib/lib/floricode-credentials.server.js +158 -0
- package/dist-lib/lib/floricode-product-features.d.ts.map +1 -1
- package/dist-lib/lib/floricode-product-features.js +19 -33
- package/dist-lib/lib/floricode-regulatory-features.d.ts.map +1 -1
- package/dist-lib/lib/floricode-regulatory-features.js +51 -41
- package/dist-lib/lib/floricode-sync.server.d.ts +35 -0
- package/dist-lib/lib/floricode-sync.server.d.ts.map +1 -0
- package/dist-lib/lib/floricode-sync.server.js +211 -0
- package/dist-lib/lib/floricode.functions.d.ts +78828 -0
- package/dist-lib/lib/floricode.functions.d.ts.map +1 -0
- package/dist-lib/lib/floricode.functions.js +178 -0
- package/dist-lib/lib/floriday-auction-letters.functions.d.ts +524 -4
- package/dist-lib/lib/floriday-auction-letters.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-auto-process.server.d.ts +34 -0
- package/dist-lib/lib/floriday-auto-process.server.d.ts.map +1 -0
- package/dist-lib/lib/floriday-auto-process.server.js +365 -0
- package/dist-lib/lib/floriday-fulfillment-lookup.server.d.ts +19 -0
- package/dist-lib/lib/floriday-fulfillment-lookup.server.d.ts.map +1 -0
- package/dist-lib/lib/floriday-fulfillment-lookup.server.js +130 -0
- package/dist-lib/lib/floriday-gateway-auth.d.ts +24 -0
- package/dist-lib/lib/floriday-gateway-auth.d.ts.map +1 -0
- package/dist-lib/lib/floriday-gateway-auth.js +127 -0
- package/dist-lib/lib/floriday-labels.functions.d.ts +524 -4
- package/dist-lib/lib/floriday-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-labels.functions.js +3 -2
- package/dist-lib/lib/floriday-public.functions.d.ts +3144 -24
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-rate-limit.server.d.ts +21 -0
- package/dist-lib/lib/floriday-rate-limit.server.d.ts.map +1 -0
- package/dist-lib/lib/floriday-rate-limit.server.js +75 -0
- package/dist-lib/lib/floriday-stickers.functions.d.ts +524 -4
- package/dist-lib/lib/floriday-stickers.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-sync.functions.d.ts +17292 -132
- package/dist-lib/lib/floriday-sync.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +3192 -48
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.js +29 -4
- package/dist-lib/lib/floriday.functions.d.ts +9576 -198
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.js +39 -4
- package/dist-lib/lib/planning-helpers.d.ts +30 -0
- package/dist-lib/lib/planning-helpers.d.ts.map +1 -0
- package/dist-lib/lib/planning-helpers.js +62 -0
- package/package.json +3 -2
- package/public/flowselections-assets/floriday-authenticatie/floricode-logo.png +0 -0
|
@@ -15,7 +15,10 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
15
15
|
Tables: {
|
|
16
16
|
afhandeling_settings: {
|
|
17
17
|
Row: {
|
|
18
|
+
auto_print_delivery_note: boolean;
|
|
19
|
+
auto_process_paused: boolean;
|
|
18
20
|
created_at: string;
|
|
21
|
+
extra_pick_days_with_stickers: number;
|
|
19
22
|
id: string;
|
|
20
23
|
max_workdays_earlier_pick: number;
|
|
21
24
|
pick_days_before_transport: number;
|
|
@@ -29,7 +32,10 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
29
32
|
user_id: string;
|
|
30
33
|
};
|
|
31
34
|
Insert: {
|
|
35
|
+
auto_print_delivery_note?: boolean;
|
|
36
|
+
auto_process_paused?: boolean;
|
|
32
37
|
created_at?: string;
|
|
38
|
+
extra_pick_days_with_stickers?: number;
|
|
33
39
|
id?: string;
|
|
34
40
|
max_workdays_earlier_pick?: number;
|
|
35
41
|
pick_days_before_transport?: number;
|
|
@@ -43,7 +49,10 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
43
49
|
user_id: string;
|
|
44
50
|
};
|
|
45
51
|
Update: {
|
|
52
|
+
auto_print_delivery_note?: boolean;
|
|
53
|
+
auto_process_paused?: boolean;
|
|
46
54
|
created_at?: string;
|
|
55
|
+
extra_pick_days_with_stickers?: number;
|
|
47
56
|
id?: string;
|
|
48
57
|
max_workdays_earlier_pick?: number;
|
|
49
58
|
pick_days_before_transport?: number;
|
|
@@ -274,6 +283,9 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
274
283
|
created_at: string;
|
|
275
284
|
extra_id: string;
|
|
276
285
|
id: string;
|
|
286
|
+
original_unit_price: number | null;
|
|
287
|
+
override_reason: string | null;
|
|
288
|
+
override_unit_price: number | null;
|
|
277
289
|
quantity: number;
|
|
278
290
|
total_price: number;
|
|
279
291
|
unit_price: number;
|
|
@@ -283,6 +295,9 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
283
295
|
created_at?: string;
|
|
284
296
|
extra_id: string;
|
|
285
297
|
id?: string;
|
|
298
|
+
original_unit_price?: number | null;
|
|
299
|
+
override_reason?: string | null;
|
|
300
|
+
override_unit_price?: number | null;
|
|
286
301
|
quantity?: number;
|
|
287
302
|
total_price?: number;
|
|
288
303
|
unit_price?: number;
|
|
@@ -292,6 +307,9 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
292
307
|
created_at?: string;
|
|
293
308
|
extra_id?: string;
|
|
294
309
|
id?: string;
|
|
310
|
+
original_unit_price?: number | null;
|
|
311
|
+
override_reason?: string | null;
|
|
312
|
+
override_unit_price?: number | null;
|
|
295
313
|
quantity?: number;
|
|
296
314
|
total_price?: number;
|
|
297
315
|
unit_price?: number;
|
|
@@ -312,11 +330,15 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
312
330
|
};
|
|
313
331
|
bookings: {
|
|
314
332
|
Row: {
|
|
333
|
+
archive_reason: string | null;
|
|
334
|
+
archived_at: string | null;
|
|
335
|
+
archived_by: string | null;
|
|
315
336
|
company_name: string | null;
|
|
316
337
|
conflict_checked_at: string | null;
|
|
317
338
|
conflict_reason: string | null;
|
|
318
339
|
created_at: string;
|
|
319
340
|
created_by_role: string | null;
|
|
341
|
+
customer_address: string | null;
|
|
320
342
|
customer_email: string | null;
|
|
321
343
|
customer_name: string | null;
|
|
322
344
|
end_time: string;
|
|
@@ -328,7 +350,12 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
328
350
|
invoiced_at: string | null;
|
|
329
351
|
notes: string | null;
|
|
330
352
|
number_of_people: number;
|
|
353
|
+
overridden_at: string | null;
|
|
354
|
+
overridden_by: string | null;
|
|
355
|
+
override_reason: string | null;
|
|
356
|
+
price_override: boolean;
|
|
331
357
|
room_id: string;
|
|
358
|
+
room_price_override: number | null;
|
|
332
359
|
start_time: string;
|
|
333
360
|
status: string;
|
|
334
361
|
total_excl_vat: number | null;
|
|
@@ -337,11 +364,15 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
337
364
|
vat_amount: number | null;
|
|
338
365
|
};
|
|
339
366
|
Insert: {
|
|
367
|
+
archive_reason?: string | null;
|
|
368
|
+
archived_at?: string | null;
|
|
369
|
+
archived_by?: string | null;
|
|
340
370
|
company_name?: string | null;
|
|
341
371
|
conflict_checked_at?: string | null;
|
|
342
372
|
conflict_reason?: string | null;
|
|
343
373
|
created_at?: string;
|
|
344
374
|
created_by_role?: string | null;
|
|
375
|
+
customer_address?: string | null;
|
|
345
376
|
customer_email?: string | null;
|
|
346
377
|
customer_name?: string | null;
|
|
347
378
|
end_time: string;
|
|
@@ -353,7 +384,12 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
353
384
|
invoiced_at?: string | null;
|
|
354
385
|
notes?: string | null;
|
|
355
386
|
number_of_people?: number;
|
|
387
|
+
overridden_at?: string | null;
|
|
388
|
+
overridden_by?: string | null;
|
|
389
|
+
override_reason?: string | null;
|
|
390
|
+
price_override?: boolean;
|
|
356
391
|
room_id: string;
|
|
392
|
+
room_price_override?: number | null;
|
|
357
393
|
start_time: string;
|
|
358
394
|
status?: string;
|
|
359
395
|
total_excl_vat?: number | null;
|
|
@@ -362,11 +398,15 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
362
398
|
vat_amount?: number | null;
|
|
363
399
|
};
|
|
364
400
|
Update: {
|
|
401
|
+
archive_reason?: string | null;
|
|
402
|
+
archived_at?: string | null;
|
|
403
|
+
archived_by?: string | null;
|
|
365
404
|
company_name?: string | null;
|
|
366
405
|
conflict_checked_at?: string | null;
|
|
367
406
|
conflict_reason?: string | null;
|
|
368
407
|
created_at?: string;
|
|
369
408
|
created_by_role?: string | null;
|
|
409
|
+
customer_address?: string | null;
|
|
370
410
|
customer_email?: string | null;
|
|
371
411
|
customer_name?: string | null;
|
|
372
412
|
end_time?: string;
|
|
@@ -378,7 +418,12 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
378
418
|
invoiced_at?: string | null;
|
|
379
419
|
notes?: string | null;
|
|
380
420
|
number_of_people?: number;
|
|
421
|
+
overridden_at?: string | null;
|
|
422
|
+
overridden_by?: string | null;
|
|
423
|
+
override_reason?: string | null;
|
|
424
|
+
price_override?: boolean;
|
|
381
425
|
room_id?: string;
|
|
426
|
+
room_price_override?: number | null;
|
|
382
427
|
start_time?: string;
|
|
383
428
|
status?: string;
|
|
384
429
|
total_excl_vat?: number | null;
|
|
@@ -835,6 +880,36 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
835
880
|
};
|
|
836
881
|
Relationships: [];
|
|
837
882
|
};
|
|
883
|
+
cart_replan_queue: {
|
|
884
|
+
Row: {
|
|
885
|
+
attempts: number;
|
|
886
|
+
last_error: string | null;
|
|
887
|
+
order_id: string;
|
|
888
|
+
processed_at: string | null;
|
|
889
|
+
requested_at: string;
|
|
890
|
+
};
|
|
891
|
+
Insert: {
|
|
892
|
+
attempts?: number;
|
|
893
|
+
last_error?: string | null;
|
|
894
|
+
order_id: string;
|
|
895
|
+
processed_at?: string | null;
|
|
896
|
+
requested_at?: string;
|
|
897
|
+
};
|
|
898
|
+
Update: {
|
|
899
|
+
attempts?: number;
|
|
900
|
+
last_error?: string | null;
|
|
901
|
+
order_id?: string;
|
|
902
|
+
processed_at?: string | null;
|
|
903
|
+
requested_at?: string;
|
|
904
|
+
};
|
|
905
|
+
Relationships: [{
|
|
906
|
+
foreignKeyName: "cart_replan_queue_order_id_fkey";
|
|
907
|
+
columns: ["order_id"];
|
|
908
|
+
isOneToOne: true;
|
|
909
|
+
referencedRelation: "orders";
|
|
910
|
+
referencedColumns: ["id"];
|
|
911
|
+
}];
|
|
912
|
+
};
|
|
838
913
|
collections: {
|
|
839
914
|
Row: {
|
|
840
915
|
created_at: string;
|
|
@@ -2960,34 +3035,52 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
2960
3035
|
Row: {
|
|
2961
3036
|
catalog_key: string | null;
|
|
2962
3037
|
catalog_url: string;
|
|
3038
|
+
client_id: string | null;
|
|
3039
|
+
client_secret_ciphertext: string | null;
|
|
3040
|
+
client_secret_last4: string | null;
|
|
2963
3041
|
created_at: string;
|
|
2964
3042
|
id: number;
|
|
2965
3043
|
last_meta: import("../integrations/supabase/types").Json | null;
|
|
2966
3044
|
last_test_at: string | null;
|
|
2967
3045
|
last_test_error: string | null;
|
|
2968
3046
|
last_test_ok: boolean | null;
|
|
3047
|
+
last_token_test_at: string | null;
|
|
3048
|
+
last_token_test_error: string | null;
|
|
3049
|
+
last_token_test_ok: boolean | null;
|
|
2969
3050
|
updated_at: string;
|
|
2970
3051
|
};
|
|
2971
3052
|
Insert: {
|
|
2972
3053
|
catalog_key?: string | null;
|
|
2973
3054
|
catalog_url?: string;
|
|
3055
|
+
client_id?: string | null;
|
|
3056
|
+
client_secret_ciphertext?: string | null;
|
|
3057
|
+
client_secret_last4?: string | null;
|
|
2974
3058
|
created_at?: string;
|
|
2975
3059
|
id?: number;
|
|
2976
3060
|
last_meta?: import("../integrations/supabase/types").Json | null;
|
|
2977
3061
|
last_test_at?: string | null;
|
|
2978
3062
|
last_test_error?: string | null;
|
|
2979
3063
|
last_test_ok?: boolean | null;
|
|
3064
|
+
last_token_test_at?: string | null;
|
|
3065
|
+
last_token_test_error?: string | null;
|
|
3066
|
+
last_token_test_ok?: boolean | null;
|
|
2980
3067
|
updated_at?: string;
|
|
2981
3068
|
};
|
|
2982
3069
|
Update: {
|
|
2983
3070
|
catalog_key?: string | null;
|
|
2984
3071
|
catalog_url?: string;
|
|
3072
|
+
client_id?: string | null;
|
|
3073
|
+
client_secret_ciphertext?: string | null;
|
|
3074
|
+
client_secret_last4?: string | null;
|
|
2985
3075
|
created_at?: string;
|
|
2986
3076
|
id?: number;
|
|
2987
3077
|
last_meta?: import("../integrations/supabase/types").Json | null;
|
|
2988
3078
|
last_test_at?: string | null;
|
|
2989
3079
|
last_test_error?: string | null;
|
|
2990
3080
|
last_test_ok?: boolean | null;
|
|
3081
|
+
last_token_test_at?: string | null;
|
|
3082
|
+
last_token_test_error?: string | null;
|
|
3083
|
+
last_token_test_ok?: boolean | null;
|
|
2991
3084
|
updated_at?: string;
|
|
2992
3085
|
};
|
|
2993
3086
|
Relationships: [];
|
|
@@ -3220,6 +3313,54 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
3220
3313
|
referencedColumns: ["id"];
|
|
3221
3314
|
}];
|
|
3222
3315
|
};
|
|
3316
|
+
floriday_auto_fulfillment_log: {
|
|
3317
|
+
Row: {
|
|
3318
|
+
attempts: number;
|
|
3319
|
+
connection_id: string;
|
|
3320
|
+
created_at: string;
|
|
3321
|
+
error: string | null;
|
|
3322
|
+
fulfillment_order_id: string | null;
|
|
3323
|
+
id: string;
|
|
3324
|
+
last_attempt_at: string | null;
|
|
3325
|
+
reason: string | null;
|
|
3326
|
+
sales_order_id: string;
|
|
3327
|
+
status: string;
|
|
3328
|
+
updated_at: string;
|
|
3329
|
+
};
|
|
3330
|
+
Insert: {
|
|
3331
|
+
attempts?: number;
|
|
3332
|
+
connection_id: string;
|
|
3333
|
+
created_at?: string;
|
|
3334
|
+
error?: string | null;
|
|
3335
|
+
fulfillment_order_id?: string | null;
|
|
3336
|
+
id?: string;
|
|
3337
|
+
last_attempt_at?: string | null;
|
|
3338
|
+
reason?: string | null;
|
|
3339
|
+
sales_order_id: string;
|
|
3340
|
+
status?: string;
|
|
3341
|
+
updated_at?: string;
|
|
3342
|
+
};
|
|
3343
|
+
Update: {
|
|
3344
|
+
attempts?: number;
|
|
3345
|
+
connection_id?: string;
|
|
3346
|
+
created_at?: string;
|
|
3347
|
+
error?: string | null;
|
|
3348
|
+
fulfillment_order_id?: string | null;
|
|
3349
|
+
id?: string;
|
|
3350
|
+
last_attempt_at?: string | null;
|
|
3351
|
+
reason?: string | null;
|
|
3352
|
+
sales_order_id?: string;
|
|
3353
|
+
status?: string;
|
|
3354
|
+
updated_at?: string;
|
|
3355
|
+
};
|
|
3356
|
+
Relationships: [{
|
|
3357
|
+
foreignKeyName: "floriday_auto_fulfillment_log_connection_id_fkey";
|
|
3358
|
+
columns: ["connection_id"];
|
|
3359
|
+
isOneToOne: false;
|
|
3360
|
+
referencedRelation: "floriday_connections";
|
|
3361
|
+
referencedColumns: ["id"];
|
|
3362
|
+
}];
|
|
3363
|
+
};
|
|
3223
3364
|
floriday_base_items_cache: {
|
|
3224
3365
|
Row: {
|
|
3225
3366
|
connection_id: string;
|
|
@@ -4324,6 +4465,24 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
4324
4465
|
referencedColumns: ["id"];
|
|
4325
4466
|
}];
|
|
4326
4467
|
};
|
|
4468
|
+
floriday_rate_limit_state: {
|
|
4469
|
+
Row: {
|
|
4470
|
+
bucket: string;
|
|
4471
|
+
last_refill_at: string;
|
|
4472
|
+
tokens: number;
|
|
4473
|
+
};
|
|
4474
|
+
Insert: {
|
|
4475
|
+
bucket: string;
|
|
4476
|
+
last_refill_at?: string;
|
|
4477
|
+
tokens: number;
|
|
4478
|
+
};
|
|
4479
|
+
Update: {
|
|
4480
|
+
bucket?: string;
|
|
4481
|
+
last_refill_at?: string;
|
|
4482
|
+
tokens?: number;
|
|
4483
|
+
};
|
|
4484
|
+
Relationships: [];
|
|
4485
|
+
};
|
|
4327
4486
|
floriday_resource_schemas: {
|
|
4328
4487
|
Row: {
|
|
4329
4488
|
enums: import("../integrations/supabase/types").Json;
|
|
@@ -4747,6 +4906,60 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
4747
4906
|
referencedColumns: ["id"];
|
|
4748
4907
|
}];
|
|
4749
4908
|
};
|
|
4909
|
+
flow_role_assignments: {
|
|
4910
|
+
Row: {
|
|
4911
|
+
created_at: string;
|
|
4912
|
+
id: string;
|
|
4913
|
+
role_id: string;
|
|
4914
|
+
user_id: string;
|
|
4915
|
+
};
|
|
4916
|
+
Insert: {
|
|
4917
|
+
created_at?: string;
|
|
4918
|
+
id?: string;
|
|
4919
|
+
role_id: string;
|
|
4920
|
+
user_id: string;
|
|
4921
|
+
};
|
|
4922
|
+
Update: {
|
|
4923
|
+
created_at?: string;
|
|
4924
|
+
id?: string;
|
|
4925
|
+
role_id?: string;
|
|
4926
|
+
user_id?: string;
|
|
4927
|
+
};
|
|
4928
|
+
Relationships: [{
|
|
4929
|
+
foreignKeyName: "flow_role_assignments_role_id_fkey";
|
|
4930
|
+
columns: ["role_id"];
|
|
4931
|
+
isOneToOne: false;
|
|
4932
|
+
referencedRelation: "flow_roles";
|
|
4933
|
+
referencedColumns: ["id"];
|
|
4934
|
+
}];
|
|
4935
|
+
};
|
|
4936
|
+
flow_roles: {
|
|
4937
|
+
Row: {
|
|
4938
|
+
created_at: string;
|
|
4939
|
+
description: string | null;
|
|
4940
|
+
id: string;
|
|
4941
|
+
module_access: string[];
|
|
4942
|
+
name: string;
|
|
4943
|
+
updated_at: string;
|
|
4944
|
+
};
|
|
4945
|
+
Insert: {
|
|
4946
|
+
created_at?: string;
|
|
4947
|
+
description?: string | null;
|
|
4948
|
+
id?: string;
|
|
4949
|
+
module_access?: string[];
|
|
4950
|
+
name: string;
|
|
4951
|
+
updated_at?: string;
|
|
4952
|
+
};
|
|
4953
|
+
Update: {
|
|
4954
|
+
created_at?: string;
|
|
4955
|
+
description?: string | null;
|
|
4956
|
+
id?: string;
|
|
4957
|
+
module_access?: string[];
|
|
4958
|
+
name?: string;
|
|
4959
|
+
updated_at?: string;
|
|
4960
|
+
};
|
|
4961
|
+
Relationships: [];
|
|
4962
|
+
};
|
|
4750
4963
|
imap_accounts: {
|
|
4751
4964
|
Row: {
|
|
4752
4965
|
created_at: string;
|
|
@@ -5378,6 +5591,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
5378
5591
|
matched_customer_id: string | null;
|
|
5379
5592
|
message_id: string;
|
|
5380
5593
|
notes: string | null;
|
|
5594
|
+
order_number: string | null;
|
|
5381
5595
|
parsed_payload: import("../integrations/supabase/types").Json | null;
|
|
5382
5596
|
reviewed_at: string | null;
|
|
5383
5597
|
reviewed_by: string | null;
|
|
@@ -5393,6 +5607,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
5393
5607
|
matched_customer_id?: string | null;
|
|
5394
5608
|
message_id: string;
|
|
5395
5609
|
notes?: string | null;
|
|
5610
|
+
order_number?: string | null;
|
|
5396
5611
|
parsed_payload?: import("../integrations/supabase/types").Json | null;
|
|
5397
5612
|
reviewed_at?: string | null;
|
|
5398
5613
|
reviewed_by?: string | null;
|
|
@@ -5408,6 +5623,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
5408
5623
|
matched_customer_id?: string | null;
|
|
5409
5624
|
message_id?: string;
|
|
5410
5625
|
notes?: string | null;
|
|
5626
|
+
order_number?: string | null;
|
|
5411
5627
|
parsed_payload?: import("../integrations/supabase/types").Json | null;
|
|
5412
5628
|
reviewed_at?: string | null;
|
|
5413
5629
|
reviewed_by?: string | null;
|
|
@@ -6264,6 +6480,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
6264
6480
|
id: string;
|
|
6265
6481
|
items: import("../integrations/supabase/types").Json;
|
|
6266
6482
|
notes: string | null;
|
|
6483
|
+
order_number: string | null;
|
|
6267
6484
|
recipient_id: string;
|
|
6268
6485
|
total_amount: number;
|
|
6269
6486
|
};
|
|
@@ -6277,6 +6494,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
6277
6494
|
id?: string;
|
|
6278
6495
|
items?: import("../integrations/supabase/types").Json;
|
|
6279
6496
|
notes?: string | null;
|
|
6497
|
+
order_number?: string | null;
|
|
6280
6498
|
recipient_id: string;
|
|
6281
6499
|
total_amount?: number;
|
|
6282
6500
|
};
|
|
@@ -6290,6 +6508,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
6290
6508
|
id?: string;
|
|
6291
6509
|
items?: import("../integrations/supabase/types").Json;
|
|
6292
6510
|
notes?: string | null;
|
|
6511
|
+
order_number?: string | null;
|
|
6293
6512
|
recipient_id?: string;
|
|
6294
6513
|
total_amount?: number;
|
|
6295
6514
|
};
|
|
@@ -6449,6 +6668,9 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
6449
6668
|
crates_per_layer: number;
|
|
6450
6669
|
created_at: string;
|
|
6451
6670
|
id: string;
|
|
6671
|
+
layer_fraction: number;
|
|
6672
|
+
layer_share_pct: number;
|
|
6673
|
+
layers_per_cart: number;
|
|
6452
6674
|
order_item_id: string | null;
|
|
6453
6675
|
plants_per_crate: number;
|
|
6454
6676
|
product_id: string | null;
|
|
@@ -6460,6 +6682,9 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
6460
6682
|
crates_per_layer?: number;
|
|
6461
6683
|
created_at?: string;
|
|
6462
6684
|
id?: string;
|
|
6685
|
+
layer_fraction?: number;
|
|
6686
|
+
layer_share_pct?: number;
|
|
6687
|
+
layers_per_cart?: number;
|
|
6463
6688
|
order_item_id?: string | null;
|
|
6464
6689
|
plants_per_crate?: number;
|
|
6465
6690
|
product_id?: string | null;
|
|
@@ -6471,6 +6696,9 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
6471
6696
|
crates_per_layer?: number;
|
|
6472
6697
|
created_at?: string;
|
|
6473
6698
|
id?: string;
|
|
6699
|
+
layer_fraction?: number;
|
|
6700
|
+
layer_share_pct?: number;
|
|
6701
|
+
layers_per_cart?: number;
|
|
6474
6702
|
order_item_id?: string | null;
|
|
6475
6703
|
plants_per_crate?: number;
|
|
6476
6704
|
product_id?: string | null;
|
|
@@ -6498,33 +6726,45 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
6498
6726
|
};
|
|
6499
6727
|
order_carts: {
|
|
6500
6728
|
Row: {
|
|
6729
|
+
algorithm_version: number;
|
|
6501
6730
|
cart_number: number;
|
|
6502
6731
|
created_at: string;
|
|
6503
6732
|
id: string;
|
|
6504
6733
|
is_auto: boolean;
|
|
6505
6734
|
is_complete: boolean;
|
|
6506
6735
|
notes: string | null;
|
|
6736
|
+
occupancy_pct: number;
|
|
6507
6737
|
order_id: string;
|
|
6738
|
+
source: string;
|
|
6739
|
+
total_layers_used: number;
|
|
6508
6740
|
updated_at: string;
|
|
6509
6741
|
};
|
|
6510
6742
|
Insert: {
|
|
6743
|
+
algorithm_version?: number;
|
|
6511
6744
|
cart_number: number;
|
|
6512
6745
|
created_at?: string;
|
|
6513
6746
|
id?: string;
|
|
6514
6747
|
is_auto?: boolean;
|
|
6515
6748
|
is_complete?: boolean;
|
|
6516
6749
|
notes?: string | null;
|
|
6750
|
+
occupancy_pct?: number;
|
|
6517
6751
|
order_id: string;
|
|
6752
|
+
source?: string;
|
|
6753
|
+
total_layers_used?: number;
|
|
6518
6754
|
updated_at?: string;
|
|
6519
6755
|
};
|
|
6520
6756
|
Update: {
|
|
6757
|
+
algorithm_version?: number;
|
|
6521
6758
|
cart_number?: number;
|
|
6522
6759
|
created_at?: string;
|
|
6523
6760
|
id?: string;
|
|
6524
6761
|
is_auto?: boolean;
|
|
6525
6762
|
is_complete?: boolean;
|
|
6526
6763
|
notes?: string | null;
|
|
6764
|
+
occupancy_pct?: number;
|
|
6527
6765
|
order_id?: string;
|
|
6766
|
+
source?: string;
|
|
6767
|
+
total_layers_used?: number;
|
|
6528
6768
|
updated_at?: string;
|
|
6529
6769
|
};
|
|
6530
6770
|
Relationships: [{
|
|
@@ -6677,6 +6917,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
6677
6917
|
order_date: string;
|
|
6678
6918
|
order_number: string;
|
|
6679
6919
|
order_source: string;
|
|
6920
|
+
plan_locked_at: string | null;
|
|
6921
|
+
plan_locked_ref: string | null;
|
|
6680
6922
|
status: string;
|
|
6681
6923
|
total: string;
|
|
6682
6924
|
updated_at: string;
|
|
@@ -6693,6 +6935,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
6693
6935
|
order_date?: string;
|
|
6694
6936
|
order_number: string;
|
|
6695
6937
|
order_source?: string;
|
|
6938
|
+
plan_locked_at?: string | null;
|
|
6939
|
+
plan_locked_ref?: string | null;
|
|
6696
6940
|
status?: string;
|
|
6697
6941
|
total?: string;
|
|
6698
6942
|
updated_at?: string;
|
|
@@ -6709,6 +6953,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
6709
6953
|
order_date?: string;
|
|
6710
6954
|
order_number?: string;
|
|
6711
6955
|
order_source?: string;
|
|
6956
|
+
plan_locked_at?: string | null;
|
|
6957
|
+
plan_locked_ref?: string | null;
|
|
6712
6958
|
status?: string;
|
|
6713
6959
|
total?: string;
|
|
6714
6960
|
updated_at?: string;
|
|
@@ -7077,28 +7323,34 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7077
7323
|
};
|
|
7078
7324
|
profiles: {
|
|
7079
7325
|
Row: {
|
|
7326
|
+
address: string | null;
|
|
7080
7327
|
created_at: string;
|
|
7081
7328
|
display_name: string | null;
|
|
7082
7329
|
email: string | null;
|
|
7083
7330
|
id: string;
|
|
7331
|
+
is_superadmin: boolean;
|
|
7084
7332
|
notification_preferences: import("../integrations/supabase/types").Json;
|
|
7085
7333
|
tenant_id: string | null;
|
|
7086
7334
|
updated_at: string;
|
|
7087
7335
|
};
|
|
7088
7336
|
Insert: {
|
|
7337
|
+
address?: string | null;
|
|
7089
7338
|
created_at?: string;
|
|
7090
7339
|
display_name?: string | null;
|
|
7091
7340
|
email?: string | null;
|
|
7092
7341
|
id: string;
|
|
7342
|
+
is_superadmin?: boolean;
|
|
7093
7343
|
notification_preferences?: import("../integrations/supabase/types").Json;
|
|
7094
7344
|
tenant_id?: string | null;
|
|
7095
7345
|
updated_at?: string;
|
|
7096
7346
|
};
|
|
7097
7347
|
Update: {
|
|
7348
|
+
address?: string | null;
|
|
7098
7349
|
created_at?: string;
|
|
7099
7350
|
display_name?: string | null;
|
|
7100
7351
|
email?: string | null;
|
|
7101
7352
|
id?: string;
|
|
7353
|
+
is_superadmin?: boolean;
|
|
7102
7354
|
notification_preferences?: import("../integrations/supabase/types").Json;
|
|
7103
7355
|
tenant_id?: string | null;
|
|
7104
7356
|
updated_at?: string;
|
|
@@ -7888,6 +8140,24 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7888
8140
|
};
|
|
7889
8141
|
Relationships: [];
|
|
7890
8142
|
};
|
|
8143
|
+
sidebar_config: {
|
|
8144
|
+
Row: {
|
|
8145
|
+
id: string;
|
|
8146
|
+
module_order: string[];
|
|
8147
|
+
updated_at: string;
|
|
8148
|
+
};
|
|
8149
|
+
Insert: {
|
|
8150
|
+
id?: string;
|
|
8151
|
+
module_order?: string[];
|
|
8152
|
+
updated_at?: string;
|
|
8153
|
+
};
|
|
8154
|
+
Update: {
|
|
8155
|
+
id?: string;
|
|
8156
|
+
module_order?: string[];
|
|
8157
|
+
updated_at?: string;
|
|
8158
|
+
};
|
|
8159
|
+
Relationships: [];
|
|
8160
|
+
};
|
|
7891
8161
|
stock_import_runs: {
|
|
7892
8162
|
Row: {
|
|
7893
8163
|
connection_id: string | null;
|
|
@@ -7946,7 +8216,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7946
8216
|
reason: string | null;
|
|
7947
8217
|
reserved_after: number | null;
|
|
7948
8218
|
reserved_before: number | null;
|
|
7949
|
-
trade_item_key: string;
|
|
8219
|
+
trade_item_key: string | null;
|
|
7950
8220
|
};
|
|
7951
8221
|
Insert: {
|
|
7952
8222
|
connection_id?: string | null;
|
|
@@ -7963,7 +8233,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7963
8233
|
reason?: string | null;
|
|
7964
8234
|
reserved_after?: number | null;
|
|
7965
8235
|
reserved_before?: number | null;
|
|
7966
|
-
trade_item_key
|
|
8236
|
+
trade_item_key?: string | null;
|
|
7967
8237
|
};
|
|
7968
8238
|
Update: {
|
|
7969
8239
|
connection_id?: string | null;
|
|
@@ -7980,7 +8250,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7980
8250
|
reason?: string | null;
|
|
7981
8251
|
reserved_after?: number | null;
|
|
7982
8252
|
reserved_before?: number | null;
|
|
7983
|
-
trade_item_key?: string;
|
|
8253
|
+
trade_item_key?: string | null;
|
|
7984
8254
|
};
|
|
7985
8255
|
Relationships: [];
|
|
7986
8256
|
};
|
|
@@ -8323,6 +8593,114 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8323
8593
|
};
|
|
8324
8594
|
Relationships: [];
|
|
8325
8595
|
};
|
|
8596
|
+
trade_item_supply_lines: {
|
|
8597
|
+
Row: {
|
|
8598
|
+
available_quantity: number | null;
|
|
8599
|
+
connection_id: string;
|
|
8600
|
+
created_at: string;
|
|
8601
|
+
currency: string | null;
|
|
8602
|
+
endpoint_family: string | null;
|
|
8603
|
+
environment: string | null;
|
|
8604
|
+
id: string;
|
|
8605
|
+
last_error: string | null;
|
|
8606
|
+
last_status: number | null;
|
|
8607
|
+
packing_configuration_id: string | null;
|
|
8608
|
+
period_end: string | null;
|
|
8609
|
+
period_start: string | null;
|
|
8610
|
+
price_per_piece: number | null;
|
|
8611
|
+
sales_unit: string | null;
|
|
8612
|
+
supply_line_id: string | null;
|
|
8613
|
+
supply_type: string;
|
|
8614
|
+
trade_item_id: string;
|
|
8615
|
+
updated_at: string;
|
|
8616
|
+
user_id: string;
|
|
8617
|
+
week: number | null;
|
|
8618
|
+
year: number | null;
|
|
8619
|
+
};
|
|
8620
|
+
Insert: {
|
|
8621
|
+
available_quantity?: number | null;
|
|
8622
|
+
connection_id: string;
|
|
8623
|
+
created_at?: string;
|
|
8624
|
+
currency?: string | null;
|
|
8625
|
+
endpoint_family?: string | null;
|
|
8626
|
+
environment?: string | null;
|
|
8627
|
+
id?: string;
|
|
8628
|
+
last_error?: string | null;
|
|
8629
|
+
last_status?: number | null;
|
|
8630
|
+
packing_configuration_id?: string | null;
|
|
8631
|
+
period_end?: string | null;
|
|
8632
|
+
period_start?: string | null;
|
|
8633
|
+
price_per_piece?: number | null;
|
|
8634
|
+
sales_unit?: string | null;
|
|
8635
|
+
supply_line_id?: string | null;
|
|
8636
|
+
supply_type?: string;
|
|
8637
|
+
trade_item_id: string;
|
|
8638
|
+
updated_at?: string;
|
|
8639
|
+
user_id: string;
|
|
8640
|
+
week?: number | null;
|
|
8641
|
+
year?: number | null;
|
|
8642
|
+
};
|
|
8643
|
+
Update: {
|
|
8644
|
+
available_quantity?: number | null;
|
|
8645
|
+
connection_id?: string;
|
|
8646
|
+
created_at?: string;
|
|
8647
|
+
currency?: string | null;
|
|
8648
|
+
endpoint_family?: string | null;
|
|
8649
|
+
environment?: string | null;
|
|
8650
|
+
id?: string;
|
|
8651
|
+
last_error?: string | null;
|
|
8652
|
+
last_status?: number | null;
|
|
8653
|
+
packing_configuration_id?: string | null;
|
|
8654
|
+
period_end?: string | null;
|
|
8655
|
+
period_start?: string | null;
|
|
8656
|
+
price_per_piece?: number | null;
|
|
8657
|
+
sales_unit?: string | null;
|
|
8658
|
+
supply_line_id?: string | null;
|
|
8659
|
+
supply_type?: string;
|
|
8660
|
+
trade_item_id?: string;
|
|
8661
|
+
updated_at?: string;
|
|
8662
|
+
user_id?: string;
|
|
8663
|
+
week?: number | null;
|
|
8664
|
+
year?: number | null;
|
|
8665
|
+
};
|
|
8666
|
+
Relationships: [];
|
|
8667
|
+
};
|
|
8668
|
+
trade_item_warehouse_preferences: {
|
|
8669
|
+
Row: {
|
|
8670
|
+
connection_id: string;
|
|
8671
|
+
created_at: string;
|
|
8672
|
+
id: string;
|
|
8673
|
+
trade_item_id: string;
|
|
8674
|
+
updated_at: string;
|
|
8675
|
+
warehouse_id: string;
|
|
8676
|
+
warehouse_name: string | null;
|
|
8677
|
+
};
|
|
8678
|
+
Insert: {
|
|
8679
|
+
connection_id: string;
|
|
8680
|
+
created_at?: string;
|
|
8681
|
+
id?: string;
|
|
8682
|
+
trade_item_id: string;
|
|
8683
|
+
updated_at?: string;
|
|
8684
|
+
warehouse_id: string;
|
|
8685
|
+
warehouse_name?: string | null;
|
|
8686
|
+
};
|
|
8687
|
+
Update: {
|
|
8688
|
+
connection_id?: string;
|
|
8689
|
+
created_at?: string;
|
|
8690
|
+
id?: string;
|
|
8691
|
+
trade_item_id?: string;
|
|
8692
|
+
updated_at?: string;
|
|
8693
|
+
warehouse_id?: string;
|
|
8694
|
+
warehouse_name?: string | null;
|
|
8695
|
+
};
|
|
8696
|
+
Relationships: [{
|
|
8697
|
+
foreignKeyName: "trade_item_warehouse_preferences_connection_id_fkey";
|
|
8698
|
+
columns: ["connection_id"];
|
|
8699
|
+
isOneToOne: false;
|
|
8700
|
+
referencedRelation: "floriday_connections";
|
|
8701
|
+
referencedColumns: ["id"];
|
|
8702
|
+
}];
|
|
8703
|
+
};
|
|
8326
8704
|
twinfield_connections: {
|
|
8327
8705
|
Row: {
|
|
8328
8706
|
access_token: string | null;
|
|
@@ -8642,6 +9020,10 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8642
9020
|
default_invoice_type: string;
|
|
8643
9021
|
default_payment_term_days: number;
|
|
8644
9022
|
default_vat_code: string;
|
|
9023
|
+
invoice_enabled_ao: boolean;
|
|
9024
|
+
invoice_enabled_fo: boolean;
|
|
9025
|
+
invoice_enabled_ho: boolean;
|
|
9026
|
+
invoice_enabled_mo: boolean;
|
|
8645
9027
|
updated_at: string;
|
|
8646
9028
|
user_id: string;
|
|
8647
9029
|
};
|
|
@@ -8651,6 +9033,10 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8651
9033
|
default_invoice_type?: string;
|
|
8652
9034
|
default_payment_term_days?: number;
|
|
8653
9035
|
default_vat_code?: string;
|
|
9036
|
+
invoice_enabled_ao?: boolean;
|
|
9037
|
+
invoice_enabled_fo?: boolean;
|
|
9038
|
+
invoice_enabled_ho?: boolean;
|
|
9039
|
+
invoice_enabled_mo?: boolean;
|
|
8654
9040
|
updated_at?: string;
|
|
8655
9041
|
user_id: string;
|
|
8656
9042
|
};
|
|
@@ -8660,6 +9046,10 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8660
9046
|
default_invoice_type?: string;
|
|
8661
9047
|
default_payment_term_days?: number;
|
|
8662
9048
|
default_vat_code?: string;
|
|
9049
|
+
invoice_enabled_ao?: boolean;
|
|
9050
|
+
invoice_enabled_fo?: boolean;
|
|
9051
|
+
invoice_enabled_ho?: boolean;
|
|
9052
|
+
invoice_enabled_mo?: boolean;
|
|
8663
9053
|
updated_at?: string;
|
|
8664
9054
|
user_id?: string;
|
|
8665
9055
|
};
|
|
@@ -9954,6 +10344,12 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
9954
10344
|
order_number: string;
|
|
9955
10345
|
}[];
|
|
9956
10346
|
};
|
|
10347
|
+
autolink_product_to_floriday: {
|
|
10348
|
+
Args: {
|
|
10349
|
+
p_product_id: string;
|
|
10350
|
+
};
|
|
10351
|
+
Returns: string;
|
|
10352
|
+
};
|
|
9957
10353
|
backfill_open_order_reservations: {
|
|
9958
10354
|
Args: never;
|
|
9959
10355
|
Returns: {
|
|
@@ -9990,7 +10386,19 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
9990
10386
|
};
|
|
9991
10387
|
cleanup_old_bookings: {
|
|
9992
10388
|
Args: never;
|
|
9993
|
-
Returns:
|
|
10389
|
+
Returns: undefined;
|
|
10390
|
+
};
|
|
10391
|
+
consume_floriday_rate_limit: {
|
|
10392
|
+
Args: {
|
|
10393
|
+
p_bucket: string;
|
|
10394
|
+
p_capacity: number;
|
|
10395
|
+
p_cost?: number;
|
|
10396
|
+
p_refill_per_sec: number;
|
|
10397
|
+
};
|
|
10398
|
+
Returns: {
|
|
10399
|
+
granted: boolean;
|
|
10400
|
+
wait_ms: number;
|
|
10401
|
+
}[];
|
|
9994
10402
|
};
|
|
9995
10403
|
control_get_todays_carts: {
|
|
9996
10404
|
Args: never;
|
|
@@ -10072,6 +10480,12 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10072
10480
|
status: string;
|
|
10073
10481
|
}[];
|
|
10074
10482
|
};
|
|
10483
|
+
enqueue_cart_replan_if_unlocked: {
|
|
10484
|
+
Args: {
|
|
10485
|
+
p_order_id: string;
|
|
10486
|
+
};
|
|
10487
|
+
Returns: undefined;
|
|
10488
|
+
};
|
|
10075
10489
|
ensure_trade_item_stock_row: {
|
|
10076
10490
|
Args: {
|
|
10077
10491
|
p_key: string;
|
|
@@ -10178,6 +10592,13 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10178
10592
|
office_code: string;
|
|
10179
10593
|
}[];
|
|
10180
10594
|
};
|
|
10595
|
+
get_floricode_record_counts: {
|
|
10596
|
+
Args: never;
|
|
10597
|
+
Returns: {
|
|
10598
|
+
count: number;
|
|
10599
|
+
resource: string;
|
|
10600
|
+
}[];
|
|
10601
|
+
};
|
|
10181
10602
|
get_floriday_agreements_active: {
|
|
10182
10603
|
Args: {
|
|
10183
10604
|
p_on_date?: string;
|
|
@@ -10269,6 +10690,12 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10269
10690
|
};
|
|
10270
10691
|
Returns: import("../integrations/supabase/types").Json;
|
|
10271
10692
|
};
|
|
10693
|
+
get_offer_delivery_options: {
|
|
10694
|
+
Args: {
|
|
10695
|
+
p_code: string;
|
|
10696
|
+
};
|
|
10697
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10698
|
+
};
|
|
10272
10699
|
get_offer_recipient_by_code: {
|
|
10273
10700
|
Args: {
|
|
10274
10701
|
p_code: string;
|
|
@@ -10333,6 +10760,12 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10333
10760
|
Args: never;
|
|
10334
10761
|
Returns: boolean;
|
|
10335
10762
|
};
|
|
10763
|
+
is_superadmin: {
|
|
10764
|
+
Args: {
|
|
10765
|
+
_user_id: string;
|
|
10766
|
+
};
|
|
10767
|
+
Returns: boolean;
|
|
10768
|
+
};
|
|
10336
10769
|
local_effective_price: {
|
|
10337
10770
|
Args: {
|
|
10338
10771
|
_customer_id: string;
|
|
@@ -10367,6 +10800,13 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10367
10800
|
};
|
|
10368
10801
|
Returns: string;
|
|
10369
10802
|
};
|
|
10803
|
+
next_order_number_for_date: {
|
|
10804
|
+
Args: {
|
|
10805
|
+
p_created_at?: string;
|
|
10806
|
+
p_prefix: string;
|
|
10807
|
+
};
|
|
10808
|
+
Returns: string;
|
|
10809
|
+
};
|
|
10370
10810
|
next_work_order_number: {
|
|
10371
10811
|
Args: {
|
|
10372
10812
|
p_parent_work_order_id?: string;
|
|
@@ -10374,6 +10814,12 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10374
10814
|
};
|
|
10375
10815
|
Returns: string;
|
|
10376
10816
|
};
|
|
10817
|
+
normalize_order_source: {
|
|
10818
|
+
Args: {
|
|
10819
|
+
p_src: string;
|
|
10820
|
+
};
|
|
10821
|
+
Returns: string;
|
|
10822
|
+
};
|
|
10377
10823
|
normalize_vat: {
|
|
10378
10824
|
Args: {
|
|
10379
10825
|
v: string;
|
|
@@ -10388,10 +10834,21 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10388
10834
|
};
|
|
10389
10835
|
Returns: boolean;
|
|
10390
10836
|
};
|
|
10837
|
+
order_number_prefix: {
|
|
10838
|
+
Args: {
|
|
10839
|
+
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
10840
|
+
p_order_source: string;
|
|
10841
|
+
};
|
|
10842
|
+
Returns: string;
|
|
10843
|
+
};
|
|
10391
10844
|
pickstation_get_orders_raw: {
|
|
10392
10845
|
Args: never;
|
|
10393
10846
|
Returns: import("../integrations/supabase/types").Json;
|
|
10394
10847
|
};
|
|
10848
|
+
pickstation_get_planning_context: {
|
|
10849
|
+
Args: never;
|
|
10850
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10851
|
+
};
|
|
10395
10852
|
pickstation_get_settings: {
|
|
10396
10853
|
Args: never;
|
|
10397
10854
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -10422,6 +10879,28 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10422
10879
|
};
|
|
10423
10880
|
Returns: undefined;
|
|
10424
10881
|
};
|
|
10882
|
+
recompute_order_status: {
|
|
10883
|
+
Args: {
|
|
10884
|
+
p_order_id: string;
|
|
10885
|
+
};
|
|
10886
|
+
Returns: undefined;
|
|
10887
|
+
};
|
|
10888
|
+
recompute_reserved_for_order: {
|
|
10889
|
+
Args: {
|
|
10890
|
+
p_order_id: string;
|
|
10891
|
+
};
|
|
10892
|
+
Returns: undefined;
|
|
10893
|
+
};
|
|
10894
|
+
recompute_reserved_stock: {
|
|
10895
|
+
Args: {
|
|
10896
|
+
p_trade_item_key: string;
|
|
10897
|
+
};
|
|
10898
|
+
Returns: undefined;
|
|
10899
|
+
};
|
|
10900
|
+
refresh_external_customers_grouped: {
|
|
10901
|
+
Args: never;
|
|
10902
|
+
Returns: undefined;
|
|
10903
|
+
};
|
|
10425
10904
|
refresh_floricode_derived_code_lists: {
|
|
10426
10905
|
Args: never;
|
|
10427
10906
|
Returns: {
|
|
@@ -10436,6 +10915,12 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10436
10915
|
};
|
|
10437
10916
|
Returns: number;
|
|
10438
10917
|
};
|
|
10918
|
+
refresh_floricode_derived_for_products: {
|
|
10919
|
+
Args: {
|
|
10920
|
+
_product_ids: string[];
|
|
10921
|
+
};
|
|
10922
|
+
Returns: number;
|
|
10923
|
+
};
|
|
10439
10924
|
reset_floriday_sync_cursor: {
|
|
10440
10925
|
Args: {
|
|
10441
10926
|
p_connection_id: string;
|
|
@@ -10443,6 +10928,12 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10443
10928
|
};
|
|
10444
10929
|
Returns: undefined;
|
|
10445
10930
|
};
|
|
10931
|
+
resolve_product_id_for_item: {
|
|
10932
|
+
Args: {
|
|
10933
|
+
p_product_name: string;
|
|
10934
|
+
};
|
|
10935
|
+
Returns: string;
|
|
10936
|
+
};
|
|
10446
10937
|
schedule_floriday_additional_services_sync: {
|
|
10447
10938
|
Args: {
|
|
10448
10939
|
p_apikey: string;
|
|
@@ -10720,6 +11211,24 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10720
11211
|
};
|
|
10721
11212
|
Returns: string[];
|
|
10722
11213
|
};
|
|
11214
|
+
sync_cached_packing_from_product: {
|
|
11215
|
+
Args: {
|
|
11216
|
+
p_product_id: string;
|
|
11217
|
+
};
|
|
11218
|
+
Returns: undefined;
|
|
11219
|
+
};
|
|
11220
|
+
sync_order_cart_item_packing_from_product: {
|
|
11221
|
+
Args: {
|
|
11222
|
+
p_product_id: string;
|
|
11223
|
+
};
|
|
11224
|
+
Returns: undefined;
|
|
11225
|
+
};
|
|
11226
|
+
sync_product_packing_from_floriday_cache: {
|
|
11227
|
+
Args: {
|
|
11228
|
+
p_floriday_id: string;
|
|
11229
|
+
};
|
|
11230
|
+
Returns: undefined;
|
|
11231
|
+
};
|
|
10723
11232
|
twinfield_decrypt: {
|
|
10724
11233
|
Args: {
|
|
10725
11234
|
cipher: string;
|
|
@@ -10732,6 +11241,17 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10732
11241
|
};
|
|
10733
11242
|
Returns: string;
|
|
10734
11243
|
};
|
|
11244
|
+
upsert_auto_fulfillment_log: {
|
|
11245
|
+
Args: {
|
|
11246
|
+
p_connection_id: string;
|
|
11247
|
+
p_error?: string;
|
|
11248
|
+
p_fulfillment_order_id?: string;
|
|
11249
|
+
p_reason?: string;
|
|
11250
|
+
p_sales_order_id: string;
|
|
11251
|
+
p_status: string;
|
|
11252
|
+
};
|
|
11253
|
+
Returns: undefined;
|
|
11254
|
+
};
|
|
10735
11255
|
};
|
|
10736
11256
|
Enums: {
|
|
10737
11257
|
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
|