@flowselections/floriday-afhandeling-module 1.0.14 → 1.0.16
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/LeveringenPage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/LeveringenPage.js +2 -2
- package/dist-lib/components/afhandeling/PickAgendaView.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/PickAgendaView.js +2 -3
- package/dist-lib/components/afhandeling/WeekAgendaView.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/WeekAgendaView.js +31 -17
- package/dist-lib/components/engine/CapaciteitsmaatregelenPage.d.ts +2 -0
- package/dist-lib/components/engine/CapaciteitsmaatregelenPage.d.ts.map +1 -0
- package/dist-lib/components/engine/CapaciteitsmaatregelenPage.js +40 -0
- package/dist-lib/components/engine/CapaciteitsmonitorPage.d.ts +2 -0
- package/dist-lib/components/engine/CapaciteitsmonitorPage.d.ts.map +1 -0
- package/dist-lib/components/engine/CapaciteitsmonitorPage.js +49 -0
- package/dist-lib/components/engine/FormulesPage.d.ts +2 -0
- package/dist-lib/components/engine/FormulesPage.d.ts.map +1 -0
- package/dist-lib/components/engine/FormulesPage.js +255 -0
- package/dist-lib/components/engine/PlaceholderPage.d.ts +6 -0
- package/dist-lib/components/engine/PlaceholderPage.d.ts.map +1 -0
- package/dist-lib/components/engine/PlaceholderPage.js +6 -0
- package/dist-lib/components/engine/StrategieenPage.d.ts +2 -0
- package/dist-lib/components/engine/StrategieenPage.d.ts.map +1 -0
- package/dist-lib/components/engine/StrategieenPage.js +80 -0
- package/dist-lib/components/pickstation/PickstationPage.d.ts.map +1 -1
- package/dist-lib/components/pickstation/PickstationPage.js +16 -4
- package/dist-lib/hooks/useOrderPlanning.d.ts.map +1 -1
- package/dist-lib/hooks/useOrderPlanning.js +37 -3
- package/dist-lib/index.d.ts +1 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +3 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1558 -262
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +1558 -262
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1558 -262
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1545 -218
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +3087 -495
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/ai-gateway.server.d.ts +2 -0
- package/dist-lib/lib/ai-gateway.server.d.ts.map +1 -0
- package/dist-lib/lib/ai-gateway.server.js +11 -0
- package/dist-lib/lib/authGateway.server.d.ts +16 -0
- package/dist-lib/lib/authGateway.server.d.ts.map +1 -0
- package/dist-lib/lib/authGateway.server.js +195 -0
- package/dist-lib/lib/carriers.functions.d.ts +7680 -1200
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.d.ts +7680 -1200
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.d.ts +16005 -3045
- package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +1558 -262
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.js +41 -8
- package/dist-lib/lib/logisticsEngine/capacity.functions.d.ts +50090 -0
- package/dist-lib/lib/logisticsEngine/capacity.functions.d.ts.map +1 -0
- package/dist-lib/lib/logisticsEngine/capacity.functions.js +90 -0
- package/dist-lib/lib/logisticsEngine/config.d.ts +140 -0
- package/dist-lib/lib/logisticsEngine/config.d.ts.map +1 -0
- package/dist-lib/lib/logisticsEngine/config.js +488 -0
- package/dist-lib/lib/logisticsEngine/enginePickTime.d.ts +29 -0
- package/dist-lib/lib/logisticsEngine/enginePickTime.d.ts.map +1 -0
- package/dist-lib/lib/logisticsEngine/enginePickTime.js +136 -0
- package/dist-lib/lib/logisticsEngine/evaluate.functions.d.ts +12556 -0
- package/dist-lib/lib/logisticsEngine/evaluate.functions.d.ts.map +1 -0
- package/dist-lib/lib/logisticsEngine/evaluate.functions.js +104 -0
- package/dist-lib/lib/logisticsEngine/expression.d.ts +21 -0
- package/dist-lib/lib/logisticsEngine/expression.d.ts.map +1 -0
- package/dist-lib/lib/logisticsEngine/expression.js +263 -0
- package/dist-lib/lib/logisticsEngine/formulas.functions.d.ts +25068 -0
- package/dist-lib/lib/logisticsEngine/formulas.functions.d.ts.map +1 -0
- package/dist-lib/lib/logisticsEngine/formulas.functions.js +58 -0
- package/dist-lib/lib/logisticsEngine/safetyLayer.d.ts +83 -0
- package/dist-lib/lib/logisticsEngine/safetyLayer.d.ts.map +1 -0
- package/dist-lib/lib/logisticsEngine/safetyLayer.js +182 -0
- package/dist-lib/lib/logisticsEngine/strategies.functions.d.ts +100185 -0
- package/dist-lib/lib/logisticsEngine/strategies.functions.d.ts.map +1 -0
- package/dist-lib/lib/logisticsEngine/strategies.functions.js +176 -0
- package/dist-lib/lib/logisticsEngine/variables.d.ts +29 -0
- package/dist-lib/lib/logisticsEngine/variables.d.ts.map +1 -0
- package/dist-lib/lib/logisticsEngine/variables.js +144 -0
- package/dist-lib/lib/logisticsEngine/wizard.functions.d.ts +50096 -0
- package/dist-lib/lib/logisticsEngine/wizard.functions.d.ts.map +1 -0
- package/dist-lib/lib/logisticsEngine/wizard.functions.js +175 -0
- package/dist-lib/lib/pickstationI18n.d.ts +2 -0
- package/dist-lib/lib/pickstationI18n.d.ts.map +1 -1
- package/dist-lib/lib/pickstationI18n.js +12 -0
- package/dist-lib/lib/pickstationOrders.server.d.ts +5 -0
- package/dist-lib/lib/pickstationOrders.server.d.ts.map +1 -1
- package/dist-lib/lib/pickstationOrders.server.js +29 -0
- package/dist-lib/lib/pickstationTypes.d.ts +4 -0
- package/dist-lib/lib/pickstationTypes.d.ts.map +1 -1
- package/package.json +6 -4
|
@@ -265,6 +265,165 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
265
265
|
};
|
|
266
266
|
Relationships: [];
|
|
267
267
|
};
|
|
268
|
+
ai_credentials: {
|
|
269
|
+
Row: {
|
|
270
|
+
active: boolean;
|
|
271
|
+
api_key: string;
|
|
272
|
+
created_at: string;
|
|
273
|
+
created_by: string | null;
|
|
274
|
+
id: string;
|
|
275
|
+
label: string;
|
|
276
|
+
provider_id: string;
|
|
277
|
+
updated_at: string;
|
|
278
|
+
};
|
|
279
|
+
Insert: {
|
|
280
|
+
active?: boolean;
|
|
281
|
+
api_key: string;
|
|
282
|
+
created_at?: string;
|
|
283
|
+
created_by?: string | null;
|
|
284
|
+
id?: string;
|
|
285
|
+
label: string;
|
|
286
|
+
provider_id: string;
|
|
287
|
+
updated_at?: string;
|
|
288
|
+
};
|
|
289
|
+
Update: {
|
|
290
|
+
active?: boolean;
|
|
291
|
+
api_key?: string;
|
|
292
|
+
created_at?: string;
|
|
293
|
+
created_by?: string | null;
|
|
294
|
+
id?: string;
|
|
295
|
+
label?: string;
|
|
296
|
+
provider_id?: string;
|
|
297
|
+
updated_at?: string;
|
|
298
|
+
};
|
|
299
|
+
Relationships: [{
|
|
300
|
+
foreignKeyName: "ai_credentials_provider_id_fkey";
|
|
301
|
+
columns: ["provider_id"];
|
|
302
|
+
isOneToOne: false;
|
|
303
|
+
referencedRelation: "ai_providers";
|
|
304
|
+
referencedColumns: ["id"];
|
|
305
|
+
}];
|
|
306
|
+
};
|
|
307
|
+
ai_models: {
|
|
308
|
+
Row: {
|
|
309
|
+
active: boolean;
|
|
310
|
+
context_window: number | null;
|
|
311
|
+
created_at: string;
|
|
312
|
+
display_name: string;
|
|
313
|
+
id: string;
|
|
314
|
+
is_default: boolean;
|
|
315
|
+
modality: string;
|
|
316
|
+
provider_id: string;
|
|
317
|
+
slug: string;
|
|
318
|
+
updated_at: string;
|
|
319
|
+
};
|
|
320
|
+
Insert: {
|
|
321
|
+
active?: boolean;
|
|
322
|
+
context_window?: number | null;
|
|
323
|
+
created_at?: string;
|
|
324
|
+
display_name: string;
|
|
325
|
+
id?: string;
|
|
326
|
+
is_default?: boolean;
|
|
327
|
+
modality?: string;
|
|
328
|
+
provider_id: string;
|
|
329
|
+
slug: string;
|
|
330
|
+
updated_at?: string;
|
|
331
|
+
};
|
|
332
|
+
Update: {
|
|
333
|
+
active?: boolean;
|
|
334
|
+
context_window?: number | null;
|
|
335
|
+
created_at?: string;
|
|
336
|
+
display_name?: string;
|
|
337
|
+
id?: string;
|
|
338
|
+
is_default?: boolean;
|
|
339
|
+
modality?: string;
|
|
340
|
+
provider_id?: string;
|
|
341
|
+
slug?: string;
|
|
342
|
+
updated_at?: string;
|
|
343
|
+
};
|
|
344
|
+
Relationships: [{
|
|
345
|
+
foreignKeyName: "ai_models_provider_id_fkey";
|
|
346
|
+
columns: ["provider_id"];
|
|
347
|
+
isOneToOne: false;
|
|
348
|
+
referencedRelation: "ai_providers";
|
|
349
|
+
referencedColumns: ["id"];
|
|
350
|
+
}];
|
|
351
|
+
};
|
|
352
|
+
ai_module_bindings: {
|
|
353
|
+
Row: {
|
|
354
|
+
consumer_module_id: string;
|
|
355
|
+
created_at: string;
|
|
356
|
+
credential_id: string;
|
|
357
|
+
id: string;
|
|
358
|
+
model_id: string;
|
|
359
|
+
notes: string | null;
|
|
360
|
+
updated_at: string;
|
|
361
|
+
};
|
|
362
|
+
Insert: {
|
|
363
|
+
consumer_module_id: string;
|
|
364
|
+
created_at?: string;
|
|
365
|
+
credential_id: string;
|
|
366
|
+
id?: string;
|
|
367
|
+
model_id: string;
|
|
368
|
+
notes?: string | null;
|
|
369
|
+
updated_at?: string;
|
|
370
|
+
};
|
|
371
|
+
Update: {
|
|
372
|
+
consumer_module_id?: string;
|
|
373
|
+
created_at?: string;
|
|
374
|
+
credential_id?: string;
|
|
375
|
+
id?: string;
|
|
376
|
+
model_id?: string;
|
|
377
|
+
notes?: string | null;
|
|
378
|
+
updated_at?: string;
|
|
379
|
+
};
|
|
380
|
+
Relationships: [{
|
|
381
|
+
foreignKeyName: "ai_module_bindings_credential_id_fkey";
|
|
382
|
+
columns: ["credential_id"];
|
|
383
|
+
isOneToOne: false;
|
|
384
|
+
referencedRelation: "ai_credentials";
|
|
385
|
+
referencedColumns: ["id"];
|
|
386
|
+
}, {
|
|
387
|
+
foreignKeyName: "ai_module_bindings_model_id_fkey";
|
|
388
|
+
columns: ["model_id"];
|
|
389
|
+
isOneToOne: false;
|
|
390
|
+
referencedRelation: "ai_models";
|
|
391
|
+
referencedColumns: ["id"];
|
|
392
|
+
}];
|
|
393
|
+
};
|
|
394
|
+
ai_providers: {
|
|
395
|
+
Row: {
|
|
396
|
+
active: boolean;
|
|
397
|
+
auth_type: string;
|
|
398
|
+
base_url: string | null;
|
|
399
|
+
created_at: string;
|
|
400
|
+
id: string;
|
|
401
|
+
name: string;
|
|
402
|
+
slug: string;
|
|
403
|
+
updated_at: string;
|
|
404
|
+
};
|
|
405
|
+
Insert: {
|
|
406
|
+
active?: boolean;
|
|
407
|
+
auth_type?: string;
|
|
408
|
+
base_url?: string | null;
|
|
409
|
+
created_at?: string;
|
|
410
|
+
id?: string;
|
|
411
|
+
name: string;
|
|
412
|
+
slug: string;
|
|
413
|
+
updated_at?: string;
|
|
414
|
+
};
|
|
415
|
+
Update: {
|
|
416
|
+
active?: boolean;
|
|
417
|
+
auth_type?: string;
|
|
418
|
+
base_url?: string | null;
|
|
419
|
+
created_at?: string;
|
|
420
|
+
id?: string;
|
|
421
|
+
name?: string;
|
|
422
|
+
slug?: string;
|
|
423
|
+
updated_at?: string;
|
|
424
|
+
};
|
|
425
|
+
Relationships: [];
|
|
426
|
+
};
|
|
268
427
|
app_settings: {
|
|
269
428
|
Row: {
|
|
270
429
|
created_at: string;
|
|
@@ -295,6 +454,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
295
454
|
created_at: string;
|
|
296
455
|
extra_id: string;
|
|
297
456
|
id: string;
|
|
457
|
+
original_unit_price: number | null;
|
|
458
|
+
override_reason: string | null;
|
|
459
|
+
override_unit_price: number | null;
|
|
298
460
|
quantity: number;
|
|
299
461
|
total_price: number;
|
|
300
462
|
unit_price: number;
|
|
@@ -304,6 +466,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
304
466
|
created_at?: string;
|
|
305
467
|
extra_id: string;
|
|
306
468
|
id?: string;
|
|
469
|
+
original_unit_price?: number | null;
|
|
470
|
+
override_reason?: string | null;
|
|
471
|
+
override_unit_price?: number | null;
|
|
307
472
|
quantity?: number;
|
|
308
473
|
total_price?: number;
|
|
309
474
|
unit_price?: number;
|
|
@@ -313,6 +478,9 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
313
478
|
created_at?: string;
|
|
314
479
|
extra_id?: string;
|
|
315
480
|
id?: string;
|
|
481
|
+
original_unit_price?: number | null;
|
|
482
|
+
override_reason?: string | null;
|
|
483
|
+
override_unit_price?: number | null;
|
|
316
484
|
quantity?: number;
|
|
317
485
|
total_price?: number;
|
|
318
486
|
unit_price?: number;
|
|
@@ -333,11 +501,15 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
333
501
|
};
|
|
334
502
|
bookings: {
|
|
335
503
|
Row: {
|
|
504
|
+
archive_reason: string | null;
|
|
505
|
+
archived_at: string | null;
|
|
506
|
+
archived_by: string | null;
|
|
336
507
|
company_name: string | null;
|
|
337
508
|
conflict_checked_at: string | null;
|
|
338
509
|
conflict_reason: string | null;
|
|
339
510
|
created_at: string;
|
|
340
511
|
created_by_role: string | null;
|
|
512
|
+
customer_address: string | null;
|
|
341
513
|
customer_email: string | null;
|
|
342
514
|
customer_name: string | null;
|
|
343
515
|
end_time: string;
|
|
@@ -349,7 +521,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
349
521
|
invoiced_at: string | null;
|
|
350
522
|
notes: string | null;
|
|
351
523
|
number_of_people: number;
|
|
524
|
+
overridden_at: string | null;
|
|
525
|
+
overridden_by: string | null;
|
|
526
|
+
override_reason: string | null;
|
|
527
|
+
price_override: boolean;
|
|
352
528
|
room_id: string;
|
|
529
|
+
room_price_override: number | null;
|
|
353
530
|
start_time: string;
|
|
354
531
|
status: string;
|
|
355
532
|
total_excl_vat: number | null;
|
|
@@ -358,11 +535,15 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
358
535
|
vat_amount: number | null;
|
|
359
536
|
};
|
|
360
537
|
Insert: {
|
|
538
|
+
archive_reason?: string | null;
|
|
539
|
+
archived_at?: string | null;
|
|
540
|
+
archived_by?: string | null;
|
|
361
541
|
company_name?: string | null;
|
|
362
542
|
conflict_checked_at?: string | null;
|
|
363
543
|
conflict_reason?: string | null;
|
|
364
544
|
created_at?: string;
|
|
365
545
|
created_by_role?: string | null;
|
|
546
|
+
customer_address?: string | null;
|
|
366
547
|
customer_email?: string | null;
|
|
367
548
|
customer_name?: string | null;
|
|
368
549
|
end_time: string;
|
|
@@ -374,7 +555,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
374
555
|
invoiced_at?: string | null;
|
|
375
556
|
notes?: string | null;
|
|
376
557
|
number_of_people?: number;
|
|
558
|
+
overridden_at?: string | null;
|
|
559
|
+
overridden_by?: string | null;
|
|
560
|
+
override_reason?: string | null;
|
|
561
|
+
price_override?: boolean;
|
|
377
562
|
room_id: string;
|
|
563
|
+
room_price_override?: number | null;
|
|
378
564
|
start_time: string;
|
|
379
565
|
status?: string;
|
|
380
566
|
total_excl_vat?: number | null;
|
|
@@ -383,11 +569,15 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
383
569
|
vat_amount?: number | null;
|
|
384
570
|
};
|
|
385
571
|
Update: {
|
|
572
|
+
archive_reason?: string | null;
|
|
573
|
+
archived_at?: string | null;
|
|
574
|
+
archived_by?: string | null;
|
|
386
575
|
company_name?: string | null;
|
|
387
576
|
conflict_checked_at?: string | null;
|
|
388
577
|
conflict_reason?: string | null;
|
|
389
578
|
created_at?: string;
|
|
390
579
|
created_by_role?: string | null;
|
|
580
|
+
customer_address?: string | null;
|
|
391
581
|
customer_email?: string | null;
|
|
392
582
|
customer_name?: string | null;
|
|
393
583
|
end_time?: string;
|
|
@@ -399,7 +589,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
399
589
|
invoiced_at?: string | null;
|
|
400
590
|
notes?: string | null;
|
|
401
591
|
number_of_people?: number;
|
|
592
|
+
overridden_at?: string | null;
|
|
593
|
+
overridden_by?: string | null;
|
|
594
|
+
override_reason?: string | null;
|
|
595
|
+
price_override?: boolean;
|
|
402
596
|
room_id?: string;
|
|
597
|
+
room_price_override?: number | null;
|
|
403
598
|
start_time?: string;
|
|
404
599
|
status?: string;
|
|
405
600
|
total_excl_vat?: number | null;
|
|
@@ -856,6 +1051,138 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
856
1051
|
};
|
|
857
1052
|
Relationships: [];
|
|
858
1053
|
};
|
|
1054
|
+
cart_planning_pick_times: {
|
|
1055
|
+
Row: {
|
|
1056
|
+
created_at: string;
|
|
1057
|
+
id: string;
|
|
1058
|
+
pot_size: string;
|
|
1059
|
+
seconds_per_cart: number;
|
|
1060
|
+
updated_at: string;
|
|
1061
|
+
};
|
|
1062
|
+
Insert: {
|
|
1063
|
+
created_at?: string;
|
|
1064
|
+
id?: string;
|
|
1065
|
+
pot_size: string;
|
|
1066
|
+
seconds_per_cart: number;
|
|
1067
|
+
updated_at?: string;
|
|
1068
|
+
};
|
|
1069
|
+
Update: {
|
|
1070
|
+
created_at?: string;
|
|
1071
|
+
id?: string;
|
|
1072
|
+
pot_size?: string;
|
|
1073
|
+
seconds_per_cart?: number;
|
|
1074
|
+
updated_at?: string;
|
|
1075
|
+
};
|
|
1076
|
+
Relationships: [];
|
|
1077
|
+
};
|
|
1078
|
+
cart_planning_product_overrides: {
|
|
1079
|
+
Row: {
|
|
1080
|
+
created_at: string;
|
|
1081
|
+
id: string;
|
|
1082
|
+
max_party_share_per_layer_pct_override: number | null;
|
|
1083
|
+
never_mix: boolean;
|
|
1084
|
+
notes: string | null;
|
|
1085
|
+
product_id: string;
|
|
1086
|
+
updated_at: string;
|
|
1087
|
+
};
|
|
1088
|
+
Insert: {
|
|
1089
|
+
created_at?: string;
|
|
1090
|
+
id?: string;
|
|
1091
|
+
max_party_share_per_layer_pct_override?: number | null;
|
|
1092
|
+
never_mix?: boolean;
|
|
1093
|
+
notes?: string | null;
|
|
1094
|
+
product_id: string;
|
|
1095
|
+
updated_at?: string;
|
|
1096
|
+
};
|
|
1097
|
+
Update: {
|
|
1098
|
+
created_at?: string;
|
|
1099
|
+
id?: string;
|
|
1100
|
+
max_party_share_per_layer_pct_override?: number | null;
|
|
1101
|
+
never_mix?: boolean;
|
|
1102
|
+
notes?: string | null;
|
|
1103
|
+
product_id?: string;
|
|
1104
|
+
updated_at?: string;
|
|
1105
|
+
};
|
|
1106
|
+
Relationships: [{
|
|
1107
|
+
foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
|
|
1108
|
+
columns: ["product_id"];
|
|
1109
|
+
isOneToOne: true;
|
|
1110
|
+
referencedRelation: "products";
|
|
1111
|
+
referencedColumns: ["id"];
|
|
1112
|
+
}];
|
|
1113
|
+
};
|
|
1114
|
+
cart_planning_settings: {
|
|
1115
|
+
Row: {
|
|
1116
|
+
allow_editing_after_pickstation_send: boolean;
|
|
1117
|
+
buffer_grouping_mode: string;
|
|
1118
|
+
combine_floriday_orders: boolean;
|
|
1119
|
+
combine_floriday_orders_window: string;
|
|
1120
|
+
combine_orders_scope: string;
|
|
1121
|
+
default_workers: number;
|
|
1122
|
+
id: number;
|
|
1123
|
+
max_beladingen_per_layer: number;
|
|
1124
|
+
max_customers_per_cart: number;
|
|
1125
|
+
max_one_customer_per_layer: boolean;
|
|
1126
|
+
max_party_share_per_layer_pct: number;
|
|
1127
|
+
optimization_strategy: string;
|
|
1128
|
+
own_cart_from_layers: number;
|
|
1129
|
+
pick_time_mode: string;
|
|
1130
|
+
plants_per_hour: number;
|
|
1131
|
+
require_same_carrier: boolean;
|
|
1132
|
+
require_same_crate_type: boolean;
|
|
1133
|
+
require_same_delivery_date: boolean;
|
|
1134
|
+
require_same_delivery_location: boolean;
|
|
1135
|
+
updated_at: string;
|
|
1136
|
+
updated_by: string | null;
|
|
1137
|
+
};
|
|
1138
|
+
Insert: {
|
|
1139
|
+
allow_editing_after_pickstation_send?: boolean;
|
|
1140
|
+
buffer_grouping_mode?: string;
|
|
1141
|
+
combine_floriday_orders?: boolean;
|
|
1142
|
+
combine_floriday_orders_window?: string;
|
|
1143
|
+
combine_orders_scope?: string;
|
|
1144
|
+
default_workers?: number;
|
|
1145
|
+
id?: number;
|
|
1146
|
+
max_beladingen_per_layer?: number;
|
|
1147
|
+
max_customers_per_cart?: number;
|
|
1148
|
+
max_one_customer_per_layer?: boolean;
|
|
1149
|
+
max_party_share_per_layer_pct?: number;
|
|
1150
|
+
optimization_strategy?: string;
|
|
1151
|
+
own_cart_from_layers?: number;
|
|
1152
|
+
pick_time_mode?: string;
|
|
1153
|
+
plants_per_hour?: number;
|
|
1154
|
+
require_same_carrier?: boolean;
|
|
1155
|
+
require_same_crate_type?: boolean;
|
|
1156
|
+
require_same_delivery_date?: boolean;
|
|
1157
|
+
require_same_delivery_location?: boolean;
|
|
1158
|
+
updated_at?: string;
|
|
1159
|
+
updated_by?: string | null;
|
|
1160
|
+
};
|
|
1161
|
+
Update: {
|
|
1162
|
+
allow_editing_after_pickstation_send?: boolean;
|
|
1163
|
+
buffer_grouping_mode?: string;
|
|
1164
|
+
combine_floriday_orders?: boolean;
|
|
1165
|
+
combine_floriday_orders_window?: string;
|
|
1166
|
+
combine_orders_scope?: string;
|
|
1167
|
+
default_workers?: number;
|
|
1168
|
+
id?: number;
|
|
1169
|
+
max_beladingen_per_layer?: number;
|
|
1170
|
+
max_customers_per_cart?: number;
|
|
1171
|
+
max_one_customer_per_layer?: boolean;
|
|
1172
|
+
max_party_share_per_layer_pct?: number;
|
|
1173
|
+
optimization_strategy?: string;
|
|
1174
|
+
own_cart_from_layers?: number;
|
|
1175
|
+
pick_time_mode?: string;
|
|
1176
|
+
plants_per_hour?: number;
|
|
1177
|
+
require_same_carrier?: boolean;
|
|
1178
|
+
require_same_crate_type?: boolean;
|
|
1179
|
+
require_same_delivery_date?: boolean;
|
|
1180
|
+
require_same_delivery_location?: boolean;
|
|
1181
|
+
updated_at?: string;
|
|
1182
|
+
updated_by?: string | null;
|
|
1183
|
+
};
|
|
1184
|
+
Relationships: [];
|
|
1185
|
+
};
|
|
859
1186
|
cart_replan_queue: {
|
|
860
1187
|
Row: {
|
|
861
1188
|
attempts: number;
|
|
@@ -886,6 +1213,39 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
886
1213
|
referencedColumns: ["id"];
|
|
887
1214
|
}];
|
|
888
1215
|
};
|
|
1216
|
+
cart_types: {
|
|
1217
|
+
Row: {
|
|
1218
|
+
created_at: string;
|
|
1219
|
+
id: string;
|
|
1220
|
+
is_default: boolean;
|
|
1221
|
+
layer_length_cm: number;
|
|
1222
|
+
layer_width_cm: number;
|
|
1223
|
+
layers_per_cart: number;
|
|
1224
|
+
name: string;
|
|
1225
|
+
updated_at: string;
|
|
1226
|
+
};
|
|
1227
|
+
Insert: {
|
|
1228
|
+
created_at?: string;
|
|
1229
|
+
id?: string;
|
|
1230
|
+
is_default?: boolean;
|
|
1231
|
+
layer_length_cm: number;
|
|
1232
|
+
layer_width_cm: number;
|
|
1233
|
+
layers_per_cart?: number;
|
|
1234
|
+
name: string;
|
|
1235
|
+
updated_at?: string;
|
|
1236
|
+
};
|
|
1237
|
+
Update: {
|
|
1238
|
+
created_at?: string;
|
|
1239
|
+
id?: string;
|
|
1240
|
+
is_default?: boolean;
|
|
1241
|
+
layer_length_cm?: number;
|
|
1242
|
+
layer_width_cm?: number;
|
|
1243
|
+
layers_per_cart?: number;
|
|
1244
|
+
name?: string;
|
|
1245
|
+
updated_at?: string;
|
|
1246
|
+
};
|
|
1247
|
+
Relationships: [];
|
|
1248
|
+
};
|
|
889
1249
|
collections: {
|
|
890
1250
|
Row: {
|
|
891
1251
|
created_at: string;
|
|
@@ -910,6 +1270,36 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
910
1270
|
};
|
|
911
1271
|
Relationships: [];
|
|
912
1272
|
};
|
|
1273
|
+
crate_types: {
|
|
1274
|
+
Row: {
|
|
1275
|
+
created_at: string;
|
|
1276
|
+
id: string;
|
|
1277
|
+
length_cm: number;
|
|
1278
|
+
name: string;
|
|
1279
|
+
plants_per_crate: number;
|
|
1280
|
+
updated_at: string;
|
|
1281
|
+
width_cm: number;
|
|
1282
|
+
};
|
|
1283
|
+
Insert: {
|
|
1284
|
+
created_at?: string;
|
|
1285
|
+
id?: string;
|
|
1286
|
+
length_cm: number;
|
|
1287
|
+
name: string;
|
|
1288
|
+
plants_per_crate?: number;
|
|
1289
|
+
updated_at?: string;
|
|
1290
|
+
width_cm: number;
|
|
1291
|
+
};
|
|
1292
|
+
Update: {
|
|
1293
|
+
created_at?: string;
|
|
1294
|
+
id?: string;
|
|
1295
|
+
length_cm?: number;
|
|
1296
|
+
name?: string;
|
|
1297
|
+
plants_per_crate?: number;
|
|
1298
|
+
updated_at?: string;
|
|
1299
|
+
width_cm?: number;
|
|
1300
|
+
};
|
|
1301
|
+
Relationships: [];
|
|
1302
|
+
};
|
|
913
1303
|
customer_audit_log: {
|
|
914
1304
|
Row: {
|
|
915
1305
|
action: string;
|
|
@@ -1228,8 +1618,27 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
1228
1618
|
customers: {
|
|
1229
1619
|
Row: {
|
|
1230
1620
|
address: string | null;
|
|
1621
|
+
address_line1: string | null;
|
|
1622
|
+
address_line2: string | null;
|
|
1623
|
+
address_type: string | null;
|
|
1624
|
+
attention_to: string | null;
|
|
1625
|
+
bank_account_holder: string | null;
|
|
1626
|
+
bank_account_number: string | null;
|
|
1627
|
+
bank_address_line1: string | null;
|
|
1628
|
+
bank_address_line2: string | null;
|
|
1629
|
+
bank_bic: string | null;
|
|
1630
|
+
bank_city: string | null;
|
|
1631
|
+
bank_country: string | null;
|
|
1632
|
+
bank_house_number: string | null;
|
|
1633
|
+
bank_iban: string | null;
|
|
1634
|
+
bank_name: string | null;
|
|
1635
|
+
bank_national_code: string | null;
|
|
1636
|
+
bank_postal_code: string | null;
|
|
1637
|
+
bank_state: string | null;
|
|
1638
|
+
billing_email: string | null;
|
|
1231
1639
|
bio: string | null;
|
|
1232
1640
|
city: string | null;
|
|
1641
|
+
coc_number: string | null;
|
|
1233
1642
|
commercial_name: string | null;
|
|
1234
1643
|
company_name: string;
|
|
1235
1644
|
connection_status: string;
|
|
@@ -1238,21 +1647,28 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
1238
1647
|
created_at: string;
|
|
1239
1648
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
1240
1649
|
customer_class: string | null;
|
|
1650
|
+
customer_number: string | null;
|
|
1651
|
+
discount_days: number | null;
|
|
1652
|
+
discount_percentage: number | null;
|
|
1241
1653
|
email: string | null;
|
|
1242
1654
|
external_id: string | null;
|
|
1655
|
+
fax: string | null;
|
|
1243
1656
|
floriday_connection_id: string | null;
|
|
1244
1657
|
floriday_organization_id: string | null;
|
|
1245
1658
|
floriday_raw: import("../integrations/supabase/types").Json | null;
|
|
1246
1659
|
gln: string | null;
|
|
1247
1660
|
house_number: string | null;
|
|
1661
|
+
icp_country_code: string | null;
|
|
1248
1662
|
id: string;
|
|
1249
1663
|
is_active: boolean;
|
|
1664
|
+
language: string | null;
|
|
1250
1665
|
last_synced_at: string | null;
|
|
1251
1666
|
logo_url: string | null;
|
|
1252
1667
|
markets: string[];
|
|
1253
1668
|
notes: string | null;
|
|
1254
1669
|
organization_type: string | null;
|
|
1255
1670
|
payment_methods: string[];
|
|
1671
|
+
payment_term_days: number | null;
|
|
1256
1672
|
phone: string | null;
|
|
1257
1673
|
postal_code: string | null;
|
|
1258
1674
|
product_groups: string[];
|
|
@@ -1263,13 +1679,33 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
1263
1679
|
sync_status: string;
|
|
1264
1680
|
trade_forms: string[];
|
|
1265
1681
|
updated_at: string;
|
|
1682
|
+
vat_display: string | null;
|
|
1266
1683
|
vat_number: string | null;
|
|
1267
1684
|
website: string | null;
|
|
1268
1685
|
};
|
|
1269
1686
|
Insert: {
|
|
1270
1687
|
address?: string | null;
|
|
1688
|
+
address_line1?: string | null;
|
|
1689
|
+
address_line2?: string | null;
|
|
1690
|
+
address_type?: string | null;
|
|
1691
|
+
attention_to?: string | null;
|
|
1692
|
+
bank_account_holder?: string | null;
|
|
1693
|
+
bank_account_number?: string | null;
|
|
1694
|
+
bank_address_line1?: string | null;
|
|
1695
|
+
bank_address_line2?: string | null;
|
|
1696
|
+
bank_bic?: string | null;
|
|
1697
|
+
bank_city?: string | null;
|
|
1698
|
+
bank_country?: string | null;
|
|
1699
|
+
bank_house_number?: string | null;
|
|
1700
|
+
bank_iban?: string | null;
|
|
1701
|
+
bank_name?: string | null;
|
|
1702
|
+
bank_national_code?: string | null;
|
|
1703
|
+
bank_postal_code?: string | null;
|
|
1704
|
+
bank_state?: string | null;
|
|
1705
|
+
billing_email?: string | null;
|
|
1271
1706
|
bio?: string | null;
|
|
1272
1707
|
city?: string | null;
|
|
1708
|
+
coc_number?: string | null;
|
|
1273
1709
|
commercial_name?: string | null;
|
|
1274
1710
|
company_name: string;
|
|
1275
1711
|
connection_status?: string;
|
|
@@ -1278,21 +1714,28 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
1278
1714
|
created_at?: string;
|
|
1279
1715
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
1280
1716
|
customer_class?: string | null;
|
|
1717
|
+
customer_number?: string | null;
|
|
1718
|
+
discount_days?: number | null;
|
|
1719
|
+
discount_percentage?: number | null;
|
|
1281
1720
|
email?: string | null;
|
|
1282
1721
|
external_id?: string | null;
|
|
1722
|
+
fax?: string | null;
|
|
1283
1723
|
floriday_connection_id?: string | null;
|
|
1284
1724
|
floriday_organization_id?: string | null;
|
|
1285
1725
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
1286
1726
|
gln?: string | null;
|
|
1287
1727
|
house_number?: string | null;
|
|
1728
|
+
icp_country_code?: string | null;
|
|
1288
1729
|
id?: string;
|
|
1289
1730
|
is_active?: boolean;
|
|
1731
|
+
language?: string | null;
|
|
1290
1732
|
last_synced_at?: string | null;
|
|
1291
1733
|
logo_url?: string | null;
|
|
1292
1734
|
markets?: string[];
|
|
1293
1735
|
notes?: string | null;
|
|
1294
1736
|
organization_type?: string | null;
|
|
1295
1737
|
payment_methods?: string[];
|
|
1738
|
+
payment_term_days?: number | null;
|
|
1296
1739
|
phone?: string | null;
|
|
1297
1740
|
postal_code?: string | null;
|
|
1298
1741
|
product_groups?: string[];
|
|
@@ -1303,13 +1746,33 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
1303
1746
|
sync_status?: string;
|
|
1304
1747
|
trade_forms?: string[];
|
|
1305
1748
|
updated_at?: string;
|
|
1749
|
+
vat_display?: string | null;
|
|
1306
1750
|
vat_number?: string | null;
|
|
1307
1751
|
website?: string | null;
|
|
1308
1752
|
};
|
|
1309
1753
|
Update: {
|
|
1310
1754
|
address?: string | null;
|
|
1755
|
+
address_line1?: string | null;
|
|
1756
|
+
address_line2?: string | null;
|
|
1757
|
+
address_type?: string | null;
|
|
1758
|
+
attention_to?: string | null;
|
|
1759
|
+
bank_account_holder?: string | null;
|
|
1760
|
+
bank_account_number?: string | null;
|
|
1761
|
+
bank_address_line1?: string | null;
|
|
1762
|
+
bank_address_line2?: string | null;
|
|
1763
|
+
bank_bic?: string | null;
|
|
1764
|
+
bank_city?: string | null;
|
|
1765
|
+
bank_country?: string | null;
|
|
1766
|
+
bank_house_number?: string | null;
|
|
1767
|
+
bank_iban?: string | null;
|
|
1768
|
+
bank_name?: string | null;
|
|
1769
|
+
bank_national_code?: string | null;
|
|
1770
|
+
bank_postal_code?: string | null;
|
|
1771
|
+
bank_state?: string | null;
|
|
1772
|
+
billing_email?: string | null;
|
|
1311
1773
|
bio?: string | null;
|
|
1312
1774
|
city?: string | null;
|
|
1775
|
+
coc_number?: string | null;
|
|
1313
1776
|
commercial_name?: string | null;
|
|
1314
1777
|
company_name?: string;
|
|
1315
1778
|
connection_status?: string;
|
|
@@ -1318,21 +1781,28 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
1318
1781
|
created_at?: string;
|
|
1319
1782
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
1320
1783
|
customer_class?: string | null;
|
|
1784
|
+
customer_number?: string | null;
|
|
1785
|
+
discount_days?: number | null;
|
|
1786
|
+
discount_percentage?: number | null;
|
|
1321
1787
|
email?: string | null;
|
|
1322
1788
|
external_id?: string | null;
|
|
1789
|
+
fax?: string | null;
|
|
1323
1790
|
floriday_connection_id?: string | null;
|
|
1324
1791
|
floriday_organization_id?: string | null;
|
|
1325
1792
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
1326
1793
|
gln?: string | null;
|
|
1327
1794
|
house_number?: string | null;
|
|
1795
|
+
icp_country_code?: string | null;
|
|
1328
1796
|
id?: string;
|
|
1329
1797
|
is_active?: boolean;
|
|
1798
|
+
language?: string | null;
|
|
1330
1799
|
last_synced_at?: string | null;
|
|
1331
1800
|
logo_url?: string | null;
|
|
1332
1801
|
markets?: string[];
|
|
1333
1802
|
notes?: string | null;
|
|
1334
1803
|
organization_type?: string | null;
|
|
1335
1804
|
payment_methods?: string[];
|
|
1805
|
+
payment_term_days?: number | null;
|
|
1336
1806
|
phone?: string | null;
|
|
1337
1807
|
postal_code?: string | null;
|
|
1338
1808
|
product_groups?: string[];
|
|
@@ -1343,6 +1813,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
1343
1813
|
sync_status?: string;
|
|
1344
1814
|
trade_forms?: string[];
|
|
1345
1815
|
updated_at?: string;
|
|
1816
|
+
vat_display?: string | null;
|
|
1346
1817
|
vat_number?: string | null;
|
|
1347
1818
|
website?: string | null;
|
|
1348
1819
|
};
|
|
@@ -3154,111 +3625,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
3154
3625
|
referencedColumns: ["id"];
|
|
3155
3626
|
}];
|
|
3156
3627
|
};
|
|
3157
|
-
|
|
3628
|
+
floriday_auction_letters_cache: {
|
|
3158
3629
|
Row: {
|
|
3159
|
-
|
|
3630
|
+
auction_letter_code: string;
|
|
3631
|
+
clock_supply_id: string;
|
|
3160
3632
|
connection_id: string;
|
|
3161
|
-
|
|
3162
|
-
delivery_date: string | null;
|
|
3163
|
-
fetched_at: string;
|
|
3164
|
-
floriday_id: string;
|
|
3165
|
-
id: string;
|
|
3166
|
-
is_deleted: boolean;
|
|
3167
|
-
sequence_number: number;
|
|
3168
|
-
status: string | null;
|
|
3169
|
-
updated_at: string;
|
|
3170
|
-
};
|
|
3171
|
-
Insert: {
|
|
3172
|
-
agreement_id?: string | null;
|
|
3173
|
-
connection_id: string;
|
|
3174
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3175
|
-
delivery_date?: string | null;
|
|
3176
|
-
fetched_at?: string;
|
|
3177
|
-
floriday_id: string;
|
|
3178
|
-
id?: string;
|
|
3179
|
-
is_deleted?: boolean;
|
|
3180
|
-
sequence_number?: number;
|
|
3181
|
-
status?: string | null;
|
|
3182
|
-
updated_at?: string;
|
|
3183
|
-
};
|
|
3184
|
-
Update: {
|
|
3185
|
-
agreement_id?: string | null;
|
|
3186
|
-
connection_id?: string;
|
|
3187
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3188
|
-
delivery_date?: string | null;
|
|
3189
|
-
fetched_at?: string;
|
|
3190
|
-
floriday_id?: string;
|
|
3191
|
-
id?: string;
|
|
3192
|
-
is_deleted?: boolean;
|
|
3193
|
-
sequence_number?: number;
|
|
3194
|
-
status?: string | null;
|
|
3195
|
-
updated_at?: string;
|
|
3196
|
-
};
|
|
3197
|
-
Relationships: [{
|
|
3198
|
-
foreignKeyName: "floriday_agreement_calloffs_cache_connection_id_fkey";
|
|
3199
|
-
columns: ["connection_id"];
|
|
3200
|
-
isOneToOne: false;
|
|
3201
|
-
referencedRelation: "floriday_connections";
|
|
3202
|
-
referencedColumns: ["id"];
|
|
3203
|
-
}];
|
|
3204
|
-
};
|
|
3205
|
-
floriday_agreements_cache: {
|
|
3206
|
-
Row: {
|
|
3207
|
-
buyer_organization_id: string | null;
|
|
3208
|
-
connection_id: string;
|
|
3209
|
-
data: import("../integrations/supabase/types").Json;
|
|
3210
|
-
fetched_at: string;
|
|
3211
|
-
floriday_id: string;
|
|
3212
|
-
id: string;
|
|
3213
|
-
is_deleted: boolean;
|
|
3214
|
-
sequence_number: number;
|
|
3215
|
-
status: string | null;
|
|
3216
|
-
updated_at: string;
|
|
3217
|
-
valid_from: string | null;
|
|
3218
|
-
valid_until: string | null;
|
|
3219
|
-
};
|
|
3220
|
-
Insert: {
|
|
3221
|
-
buyer_organization_id?: string | null;
|
|
3222
|
-
connection_id: string;
|
|
3223
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3224
|
-
fetched_at?: string;
|
|
3225
|
-
floriday_id: string;
|
|
3226
|
-
id?: string;
|
|
3227
|
-
is_deleted?: boolean;
|
|
3228
|
-
sequence_number?: number;
|
|
3229
|
-
status?: string | null;
|
|
3230
|
-
updated_at?: string;
|
|
3231
|
-
valid_from?: string | null;
|
|
3232
|
-
valid_until?: string | null;
|
|
3233
|
-
};
|
|
3234
|
-
Update: {
|
|
3235
|
-
buyer_organization_id?: string | null;
|
|
3236
|
-
connection_id?: string;
|
|
3237
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3238
|
-
fetched_at?: string;
|
|
3239
|
-
floriday_id?: string;
|
|
3240
|
-
id?: string;
|
|
3241
|
-
is_deleted?: boolean;
|
|
3242
|
-
sequence_number?: number;
|
|
3243
|
-
status?: string | null;
|
|
3244
|
-
updated_at?: string;
|
|
3245
|
-
valid_from?: string | null;
|
|
3246
|
-
valid_until?: string | null;
|
|
3247
|
-
};
|
|
3248
|
-
Relationships: [{
|
|
3249
|
-
foreignKeyName: "floriday_agreements_cache_connection_id_fkey";
|
|
3250
|
-
columns: ["connection_id"];
|
|
3251
|
-
isOneToOne: false;
|
|
3252
|
-
referencedRelation: "floriday_connections";
|
|
3253
|
-
referencedColumns: ["id"];
|
|
3254
|
-
}];
|
|
3255
|
-
};
|
|
3256
|
-
floriday_auction_letters_cache: {
|
|
3257
|
-
Row: {
|
|
3258
|
-
auction_letter_code: string;
|
|
3259
|
-
clock_supply_id: string;
|
|
3260
|
-
connection_id: string;
|
|
3261
|
-
content_type: string;
|
|
3633
|
+
content_type: string;
|
|
3262
3634
|
fetched_at: string;
|
|
3263
3635
|
id: string;
|
|
3264
3636
|
storage_path: string;
|
|
@@ -3751,6 +4123,27 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
3751
4123
|
referencedColumns: ["id"];
|
|
3752
4124
|
}];
|
|
3753
4125
|
};
|
|
4126
|
+
floriday_continuous_stock_cache: {
|
|
4127
|
+
Row: {
|
|
4128
|
+
connection_id: string;
|
|
4129
|
+
fetched_at: string;
|
|
4130
|
+
number_of_pieces: number;
|
|
4131
|
+
trade_item_id: string;
|
|
4132
|
+
};
|
|
4133
|
+
Insert: {
|
|
4134
|
+
connection_id: string;
|
|
4135
|
+
fetched_at?: string;
|
|
4136
|
+
number_of_pieces?: number;
|
|
4137
|
+
trade_item_id: string;
|
|
4138
|
+
};
|
|
4139
|
+
Update: {
|
|
4140
|
+
connection_id?: string;
|
|
4141
|
+
fetched_at?: string;
|
|
4142
|
+
number_of_pieces?: number;
|
|
4143
|
+
trade_item_id?: string;
|
|
4144
|
+
};
|
|
4145
|
+
Relationships: [];
|
|
4146
|
+
};
|
|
3754
4147
|
floriday_continuous_stock_queue: {
|
|
3755
4148
|
Row: {
|
|
3756
4149
|
attempts: number;
|
|
@@ -4526,6 +4919,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4526
4919
|
Row: {
|
|
4527
4920
|
buyer_organization_id: string | null;
|
|
4528
4921
|
connection_id: string;
|
|
4922
|
+
controlled_at: string | null;
|
|
4923
|
+
controlled_by: string | null;
|
|
4529
4924
|
created_at: string;
|
|
4530
4925
|
data: import("../integrations/supabase/types").Json;
|
|
4531
4926
|
floriday_id: string;
|
|
@@ -4537,6 +4932,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4537
4932
|
Insert: {
|
|
4538
4933
|
buyer_organization_id?: string | null;
|
|
4539
4934
|
connection_id: string;
|
|
4935
|
+
controlled_at?: string | null;
|
|
4936
|
+
controlled_by?: string | null;
|
|
4540
4937
|
created_at?: string;
|
|
4541
4938
|
data: import("../integrations/supabase/types").Json;
|
|
4542
4939
|
floriday_id: string;
|
|
@@ -4548,6 +4945,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4548
4945
|
Update: {
|
|
4549
4946
|
buyer_organization_id?: string | null;
|
|
4550
4947
|
connection_id?: string;
|
|
4948
|
+
controlled_at?: string | null;
|
|
4949
|
+
controlled_by?: string | null;
|
|
4551
4950
|
created_at?: string;
|
|
4552
4951
|
data?: import("../integrations/supabase/types").Json;
|
|
4553
4952
|
floriday_id?: string;
|
|
@@ -4729,6 +5128,45 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4729
5128
|
referencedColumns: ["id"];
|
|
4730
5129
|
}];
|
|
4731
5130
|
};
|
|
5131
|
+
floriday_trade_settings_customers_cache: {
|
|
5132
|
+
Row: {
|
|
5133
|
+
connection_id: string;
|
|
5134
|
+
data: import("../integrations/supabase/types").Json;
|
|
5135
|
+
fetched_at: string;
|
|
5136
|
+
floriday_id: string;
|
|
5137
|
+
id: string;
|
|
5138
|
+
is_deleted: boolean;
|
|
5139
|
+
sequence_number: number;
|
|
5140
|
+
updated_at: string;
|
|
5141
|
+
};
|
|
5142
|
+
Insert: {
|
|
5143
|
+
connection_id: string;
|
|
5144
|
+
data: import("../integrations/supabase/types").Json;
|
|
5145
|
+
fetched_at?: string;
|
|
5146
|
+
floriday_id: string;
|
|
5147
|
+
id?: string;
|
|
5148
|
+
is_deleted?: boolean;
|
|
5149
|
+
sequence_number?: number;
|
|
5150
|
+
updated_at?: string;
|
|
5151
|
+
};
|
|
5152
|
+
Update: {
|
|
5153
|
+
connection_id?: string;
|
|
5154
|
+
data?: import("../integrations/supabase/types").Json;
|
|
5155
|
+
fetched_at?: string;
|
|
5156
|
+
floriday_id?: string;
|
|
5157
|
+
id?: string;
|
|
5158
|
+
is_deleted?: boolean;
|
|
5159
|
+
sequence_number?: number;
|
|
5160
|
+
updated_at?: string;
|
|
5161
|
+
};
|
|
5162
|
+
Relationships: [{
|
|
5163
|
+
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
5164
|
+
columns: ["connection_id"];
|
|
5165
|
+
isOneToOne: false;
|
|
5166
|
+
referencedRelation: "floriday_connections";
|
|
5167
|
+
referencedColumns: ["id"];
|
|
5168
|
+
}];
|
|
5169
|
+
};
|
|
4732
5170
|
floriday_trips_cache: {
|
|
4733
5171
|
Row: {
|
|
4734
5172
|
carrier_organization_id: string | null;
|
|
@@ -4777,6 +5215,27 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4777
5215
|
referencedColumns: ["id"];
|
|
4778
5216
|
}];
|
|
4779
5217
|
};
|
|
5218
|
+
floriday_vbn_required_characteristics: {
|
|
5219
|
+
Row: {
|
|
5220
|
+
required_codes: string[];
|
|
5221
|
+
updated_at: string;
|
|
5222
|
+
updated_by: string | null;
|
|
5223
|
+
vbn_code: string;
|
|
5224
|
+
};
|
|
5225
|
+
Insert: {
|
|
5226
|
+
required_codes?: string[];
|
|
5227
|
+
updated_at?: string;
|
|
5228
|
+
updated_by?: string | null;
|
|
5229
|
+
vbn_code: string;
|
|
5230
|
+
};
|
|
5231
|
+
Update: {
|
|
5232
|
+
required_codes?: string[];
|
|
5233
|
+
updated_at?: string;
|
|
5234
|
+
updated_by?: string | null;
|
|
5235
|
+
vbn_code?: string;
|
|
5236
|
+
};
|
|
5237
|
+
Relationships: [];
|
|
5238
|
+
};
|
|
4780
5239
|
floriday_warehouses_cache: {
|
|
4781
5240
|
Row: {
|
|
4782
5241
|
connection_id: string;
|
|
@@ -5479,115 +5938,394 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
5479
5938
|
};
|
|
5480
5939
|
Relationships: [];
|
|
5481
5940
|
};
|
|
5482
|
-
|
|
5941
|
+
logistics_capacity_events: {
|
|
5483
5942
|
Row: {
|
|
5484
|
-
|
|
5485
|
-
body_text: string | null;
|
|
5486
|
-
connection_id: string | null;
|
|
5943
|
+
available_carts: number;
|
|
5487
5944
|
created_at: string;
|
|
5488
|
-
error_message: string | null;
|
|
5489
|
-
external_id: string | null;
|
|
5490
|
-
from_email: string | null;
|
|
5491
|
-
from_name: string | null;
|
|
5492
5945
|
id: string;
|
|
5493
|
-
|
|
5494
|
-
|
|
5495
|
-
|
|
5496
|
-
|
|
5946
|
+
measures: import("../integrations/supabase/types").Json;
|
|
5947
|
+
note: string | null;
|
|
5948
|
+
outcome: string;
|
|
5949
|
+
required_carts: number;
|
|
5950
|
+
reserve_minutes: number;
|
|
5951
|
+
shortage_carts: number;
|
|
5497
5952
|
status: string;
|
|
5498
|
-
|
|
5499
|
-
uid: number | null;
|
|
5500
|
-
updated_at: string;
|
|
5953
|
+
user_id: string;
|
|
5501
5954
|
};
|
|
5502
5955
|
Insert: {
|
|
5503
|
-
|
|
5504
|
-
body_text?: string | null;
|
|
5505
|
-
connection_id?: string | null;
|
|
5956
|
+
available_carts?: number;
|
|
5506
5957
|
created_at?: string;
|
|
5507
|
-
error_message?: string | null;
|
|
5508
|
-
external_id?: string | null;
|
|
5509
|
-
from_email?: string | null;
|
|
5510
|
-
from_name?: string | null;
|
|
5511
5958
|
id?: string;
|
|
5512
|
-
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
|
|
5518
|
-
|
|
5519
|
-
|
|
5959
|
+
measures?: import("../integrations/supabase/types").Json;
|
|
5960
|
+
note?: string | null;
|
|
5961
|
+
outcome?: string;
|
|
5962
|
+
required_carts?: number;
|
|
5963
|
+
reserve_minutes?: number;
|
|
5964
|
+
shortage_carts?: number;
|
|
5965
|
+
status: string;
|
|
5966
|
+
user_id: string;
|
|
5520
5967
|
};
|
|
5521
5968
|
Update: {
|
|
5522
|
-
|
|
5523
|
-
body_text?: string | null;
|
|
5524
|
-
connection_id?: string | null;
|
|
5969
|
+
available_carts?: number;
|
|
5525
5970
|
created_at?: string;
|
|
5526
|
-
error_message?: string | null;
|
|
5527
|
-
external_id?: string | null;
|
|
5528
|
-
from_email?: string | null;
|
|
5529
|
-
from_name?: string | null;
|
|
5530
5971
|
id?: string;
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5972
|
+
measures?: import("../integrations/supabase/types").Json;
|
|
5973
|
+
note?: string | null;
|
|
5974
|
+
outcome?: string;
|
|
5975
|
+
required_carts?: number;
|
|
5976
|
+
reserve_minutes?: number;
|
|
5977
|
+
shortage_carts?: number;
|
|
5535
5978
|
status?: string;
|
|
5536
|
-
|
|
5537
|
-
uid?: number | null;
|
|
5538
|
-
updated_at?: string;
|
|
5979
|
+
user_id?: string;
|
|
5539
5980
|
};
|
|
5540
|
-
Relationships: [
|
|
5541
|
-
foreignKeyName: "mailbox_messages_connection_id_fkey";
|
|
5542
|
-
columns: ["connection_id"];
|
|
5543
|
-
isOneToOne: false;
|
|
5544
|
-
referencedRelation: "email_auth_connections";
|
|
5545
|
-
referencedColumns: ["id"];
|
|
5546
|
-
}, {
|
|
5547
|
-
foreignKeyName: "mailbox_messages_connection_id_fkey";
|
|
5548
|
-
columns: ["connection_id"];
|
|
5549
|
-
isOneToOne: false;
|
|
5550
|
-
referencedRelation: "email_auth_connections_safe";
|
|
5551
|
-
referencedColumns: ["id"];
|
|
5552
|
-
}, {
|
|
5553
|
-
foreignKeyName: "mailbox_messages_profile_id_fkey";
|
|
5554
|
-
columns: ["profile_id"];
|
|
5555
|
-
isOneToOne: false;
|
|
5556
|
-
referencedRelation: "imap_profiles";
|
|
5557
|
-
referencedColumns: ["id"];
|
|
5558
|
-
}];
|
|
5981
|
+
Relationships: [];
|
|
5559
5982
|
};
|
|
5560
|
-
|
|
5983
|
+
logistics_capacity_settings: {
|
|
5561
5984
|
Row: {
|
|
5562
|
-
confidence: number | null;
|
|
5563
5985
|
created_at: string;
|
|
5564
|
-
|
|
5565
|
-
delivery_date: string | null;
|
|
5566
|
-
id: string;
|
|
5567
|
-
matched_customer_id: string | null;
|
|
5568
|
-
message_id: string;
|
|
5569
|
-
notes: string | null;
|
|
5570
|
-
order_number: string | null;
|
|
5571
|
-
parsed_payload: import("../integrations/supabase/types").Json | null;
|
|
5572
|
-
reviewed_at: string | null;
|
|
5573
|
-
reviewed_by: string | null;
|
|
5574
|
-
status: string;
|
|
5986
|
+
settings: import("../integrations/supabase/types").Json;
|
|
5575
5987
|
updated_at: string;
|
|
5988
|
+
user_id: string;
|
|
5576
5989
|
};
|
|
5577
5990
|
Insert: {
|
|
5578
|
-
confidence?: number | null;
|
|
5579
5991
|
created_at?: string;
|
|
5580
|
-
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5586
|
-
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
|
|
5992
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
5993
|
+
updated_at?: string;
|
|
5994
|
+
user_id: string;
|
|
5995
|
+
};
|
|
5996
|
+
Update: {
|
|
5997
|
+
created_at?: string;
|
|
5998
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
5999
|
+
updated_at?: string;
|
|
6000
|
+
user_id?: string;
|
|
6001
|
+
};
|
|
6002
|
+
Relationships: [];
|
|
6003
|
+
};
|
|
6004
|
+
logistics_decisions: {
|
|
6005
|
+
Row: {
|
|
6006
|
+
created_at: string;
|
|
6007
|
+
explanation: string | null;
|
|
6008
|
+
id: string;
|
|
6009
|
+
input_snapshot: import("../integrations/supabase/types").Json;
|
|
6010
|
+
result: import("../integrations/supabase/types").Json;
|
|
6011
|
+
slot: string;
|
|
6012
|
+
strategy_id: string | null;
|
|
6013
|
+
subject_id: string;
|
|
6014
|
+
subject_type: string;
|
|
6015
|
+
user_id: string;
|
|
6016
|
+
};
|
|
6017
|
+
Insert: {
|
|
6018
|
+
created_at?: string;
|
|
6019
|
+
explanation?: string | null;
|
|
6020
|
+
id?: string;
|
|
6021
|
+
input_snapshot?: import("../integrations/supabase/types").Json;
|
|
6022
|
+
result?: import("../integrations/supabase/types").Json;
|
|
6023
|
+
slot: string;
|
|
6024
|
+
strategy_id?: string | null;
|
|
6025
|
+
subject_id: string;
|
|
6026
|
+
subject_type: string;
|
|
6027
|
+
user_id: string;
|
|
6028
|
+
};
|
|
6029
|
+
Update: {
|
|
6030
|
+
created_at?: string;
|
|
6031
|
+
explanation?: string | null;
|
|
6032
|
+
id?: string;
|
|
6033
|
+
input_snapshot?: import("../integrations/supabase/types").Json;
|
|
6034
|
+
result?: import("../integrations/supabase/types").Json;
|
|
6035
|
+
slot?: string;
|
|
6036
|
+
strategy_id?: string | null;
|
|
6037
|
+
subject_id?: string;
|
|
6038
|
+
subject_type?: string;
|
|
6039
|
+
user_id?: string;
|
|
6040
|
+
};
|
|
6041
|
+
Relationships: [{
|
|
6042
|
+
foreignKeyName: "logistics_decisions_strategy_id_fkey";
|
|
6043
|
+
columns: ["strategy_id"];
|
|
6044
|
+
isOneToOne: false;
|
|
6045
|
+
referencedRelation: "logistics_strategies";
|
|
6046
|
+
referencedColumns: ["id"];
|
|
6047
|
+
}];
|
|
6048
|
+
};
|
|
6049
|
+
logistics_formulas: {
|
|
6050
|
+
Row: {
|
|
6051
|
+
created_at: string;
|
|
6052
|
+
expression: string;
|
|
6053
|
+
id: string;
|
|
6054
|
+
notes: string | null;
|
|
6055
|
+
slot: string;
|
|
6056
|
+
strategy_id: string;
|
|
6057
|
+
updated_at: string;
|
|
6058
|
+
user_id: string;
|
|
6059
|
+
version: number;
|
|
6060
|
+
};
|
|
6061
|
+
Insert: {
|
|
6062
|
+
created_at?: string;
|
|
6063
|
+
expression?: string;
|
|
6064
|
+
id?: string;
|
|
6065
|
+
notes?: string | null;
|
|
6066
|
+
slot: string;
|
|
6067
|
+
strategy_id: string;
|
|
6068
|
+
updated_at?: string;
|
|
6069
|
+
user_id: string;
|
|
6070
|
+
version?: number;
|
|
6071
|
+
};
|
|
6072
|
+
Update: {
|
|
6073
|
+
created_at?: string;
|
|
6074
|
+
expression?: string;
|
|
6075
|
+
id?: string;
|
|
6076
|
+
notes?: string | null;
|
|
6077
|
+
slot?: string;
|
|
6078
|
+
strategy_id?: string;
|
|
6079
|
+
updated_at?: string;
|
|
6080
|
+
user_id?: string;
|
|
6081
|
+
version?: number;
|
|
6082
|
+
};
|
|
6083
|
+
Relationships: [{
|
|
6084
|
+
foreignKeyName: "logistics_formulas_strategy_id_fkey";
|
|
6085
|
+
columns: ["strategy_id"];
|
|
6086
|
+
isOneToOne: false;
|
|
6087
|
+
referencedRelation: "logistics_strategies";
|
|
6088
|
+
referencedColumns: ["id"];
|
|
6089
|
+
}];
|
|
6090
|
+
};
|
|
6091
|
+
logistics_strategies: {
|
|
6092
|
+
Row: {
|
|
6093
|
+
color: string;
|
|
6094
|
+
created_at: string;
|
|
6095
|
+
description: string | null;
|
|
6096
|
+
id: string;
|
|
6097
|
+
is_active: boolean;
|
|
6098
|
+
name: string;
|
|
6099
|
+
priority: number;
|
|
6100
|
+
updated_at: string;
|
|
6101
|
+
updated_by: string | null;
|
|
6102
|
+
user_id: string;
|
|
6103
|
+
version: number;
|
|
6104
|
+
};
|
|
6105
|
+
Insert: {
|
|
6106
|
+
color?: string;
|
|
6107
|
+
created_at?: string;
|
|
6108
|
+
description?: string | null;
|
|
6109
|
+
id?: string;
|
|
6110
|
+
is_active?: boolean;
|
|
6111
|
+
name: string;
|
|
6112
|
+
priority?: number;
|
|
6113
|
+
updated_at?: string;
|
|
6114
|
+
updated_by?: string | null;
|
|
6115
|
+
user_id: string;
|
|
6116
|
+
version?: number;
|
|
6117
|
+
};
|
|
6118
|
+
Update: {
|
|
6119
|
+
color?: string;
|
|
6120
|
+
created_at?: string;
|
|
6121
|
+
description?: string | null;
|
|
6122
|
+
id?: string;
|
|
6123
|
+
is_active?: boolean;
|
|
6124
|
+
name?: string;
|
|
6125
|
+
priority?: number;
|
|
6126
|
+
updated_at?: string;
|
|
6127
|
+
updated_by?: string | null;
|
|
6128
|
+
user_id?: string;
|
|
6129
|
+
version?: number;
|
|
6130
|
+
};
|
|
6131
|
+
Relationships: [];
|
|
6132
|
+
};
|
|
6133
|
+
logistics_strategy_schedules: {
|
|
6134
|
+
Row: {
|
|
6135
|
+
condition_expression: string | null;
|
|
6136
|
+
created_at: string;
|
|
6137
|
+
end_date: string | null;
|
|
6138
|
+
id: string;
|
|
6139
|
+
is_enabled: boolean;
|
|
6140
|
+
priority: number;
|
|
6141
|
+
rule_type: string;
|
|
6142
|
+
start_date: string | null;
|
|
6143
|
+
strategy_id: string;
|
|
6144
|
+
updated_at: string;
|
|
6145
|
+
user_id: string;
|
|
6146
|
+
};
|
|
6147
|
+
Insert: {
|
|
6148
|
+
condition_expression?: string | null;
|
|
6149
|
+
created_at?: string;
|
|
6150
|
+
end_date?: string | null;
|
|
6151
|
+
id?: string;
|
|
6152
|
+
is_enabled?: boolean;
|
|
6153
|
+
priority?: number;
|
|
6154
|
+
rule_type: string;
|
|
6155
|
+
start_date?: string | null;
|
|
6156
|
+
strategy_id: string;
|
|
6157
|
+
updated_at?: string;
|
|
6158
|
+
user_id: string;
|
|
6159
|
+
};
|
|
6160
|
+
Update: {
|
|
6161
|
+
condition_expression?: string | null;
|
|
6162
|
+
created_at?: string;
|
|
6163
|
+
end_date?: string | null;
|
|
6164
|
+
id?: string;
|
|
6165
|
+
is_enabled?: boolean;
|
|
6166
|
+
priority?: number;
|
|
6167
|
+
rule_type?: string;
|
|
6168
|
+
start_date?: string | null;
|
|
6169
|
+
strategy_id?: string;
|
|
6170
|
+
updated_at?: string;
|
|
6171
|
+
user_id?: string;
|
|
6172
|
+
};
|
|
6173
|
+
Relationships: [{
|
|
6174
|
+
foreignKeyName: "logistics_strategy_schedules_strategy_id_fkey";
|
|
6175
|
+
columns: ["strategy_id"];
|
|
6176
|
+
isOneToOne: false;
|
|
6177
|
+
referencedRelation: "logistics_strategies";
|
|
6178
|
+
referencedColumns: ["id"];
|
|
6179
|
+
}];
|
|
6180
|
+
};
|
|
6181
|
+
logistics_variables: {
|
|
6182
|
+
Row: {
|
|
6183
|
+
created_at: string;
|
|
6184
|
+
default_value: string | null;
|
|
6185
|
+
description: string | null;
|
|
6186
|
+
id: string;
|
|
6187
|
+
is_builtin: boolean;
|
|
6188
|
+
key: string;
|
|
6189
|
+
label: string;
|
|
6190
|
+
updated_at: string;
|
|
6191
|
+
user_id: string;
|
|
6192
|
+
value_type: string;
|
|
6193
|
+
};
|
|
6194
|
+
Insert: {
|
|
6195
|
+
created_at?: string;
|
|
6196
|
+
default_value?: string | null;
|
|
6197
|
+
description?: string | null;
|
|
6198
|
+
id?: string;
|
|
6199
|
+
is_builtin?: boolean;
|
|
6200
|
+
key: string;
|
|
6201
|
+
label: string;
|
|
6202
|
+
updated_at?: string;
|
|
6203
|
+
user_id: string;
|
|
6204
|
+
value_type: string;
|
|
6205
|
+
};
|
|
6206
|
+
Update: {
|
|
6207
|
+
created_at?: string;
|
|
6208
|
+
default_value?: string | null;
|
|
6209
|
+
description?: string | null;
|
|
6210
|
+
id?: string;
|
|
6211
|
+
is_builtin?: boolean;
|
|
6212
|
+
key?: string;
|
|
6213
|
+
label?: string;
|
|
6214
|
+
updated_at?: string;
|
|
6215
|
+
user_id?: string;
|
|
6216
|
+
value_type?: string;
|
|
6217
|
+
};
|
|
6218
|
+
Relationships: [];
|
|
6219
|
+
};
|
|
6220
|
+
mailbox_messages: {
|
|
6221
|
+
Row: {
|
|
6222
|
+
body_html: string | null;
|
|
6223
|
+
body_text: string | null;
|
|
6224
|
+
connection_id: string | null;
|
|
6225
|
+
created_at: string;
|
|
6226
|
+
error_message: string | null;
|
|
6227
|
+
external_id: string | null;
|
|
6228
|
+
from_email: string | null;
|
|
6229
|
+
from_name: string | null;
|
|
6230
|
+
id: string;
|
|
6231
|
+
message_id: string | null;
|
|
6232
|
+
profile_id: string | null;
|
|
6233
|
+
raw_size: number | null;
|
|
6234
|
+
received_at: string | null;
|
|
6235
|
+
status: string;
|
|
6236
|
+
subject: string | null;
|
|
6237
|
+
uid: number | null;
|
|
6238
|
+
updated_at: string;
|
|
6239
|
+
};
|
|
6240
|
+
Insert: {
|
|
6241
|
+
body_html?: string | null;
|
|
6242
|
+
body_text?: string | null;
|
|
6243
|
+
connection_id?: string | null;
|
|
6244
|
+
created_at?: string;
|
|
6245
|
+
error_message?: string | null;
|
|
6246
|
+
external_id?: string | null;
|
|
6247
|
+
from_email?: string | null;
|
|
6248
|
+
from_name?: string | null;
|
|
6249
|
+
id?: string;
|
|
6250
|
+
message_id?: string | null;
|
|
6251
|
+
profile_id?: string | null;
|
|
6252
|
+
raw_size?: number | null;
|
|
6253
|
+
received_at?: string | null;
|
|
6254
|
+
status?: string;
|
|
6255
|
+
subject?: string | null;
|
|
6256
|
+
uid?: number | null;
|
|
6257
|
+
updated_at?: string;
|
|
6258
|
+
};
|
|
6259
|
+
Update: {
|
|
6260
|
+
body_html?: string | null;
|
|
6261
|
+
body_text?: string | null;
|
|
6262
|
+
connection_id?: string | null;
|
|
6263
|
+
created_at?: string;
|
|
6264
|
+
error_message?: string | null;
|
|
6265
|
+
external_id?: string | null;
|
|
6266
|
+
from_email?: string | null;
|
|
6267
|
+
from_name?: string | null;
|
|
6268
|
+
id?: string;
|
|
6269
|
+
message_id?: string | null;
|
|
6270
|
+
profile_id?: string | null;
|
|
6271
|
+
raw_size?: number | null;
|
|
6272
|
+
received_at?: string | null;
|
|
6273
|
+
status?: string;
|
|
6274
|
+
subject?: string | null;
|
|
6275
|
+
uid?: number | null;
|
|
6276
|
+
updated_at?: string;
|
|
6277
|
+
};
|
|
6278
|
+
Relationships: [{
|
|
6279
|
+
foreignKeyName: "mailbox_messages_connection_id_fkey";
|
|
6280
|
+
columns: ["connection_id"];
|
|
6281
|
+
isOneToOne: false;
|
|
6282
|
+
referencedRelation: "email_auth_connections";
|
|
6283
|
+
referencedColumns: ["id"];
|
|
6284
|
+
}, {
|
|
6285
|
+
foreignKeyName: "mailbox_messages_connection_id_fkey";
|
|
6286
|
+
columns: ["connection_id"];
|
|
6287
|
+
isOneToOne: false;
|
|
6288
|
+
referencedRelation: "email_auth_connections_safe";
|
|
6289
|
+
referencedColumns: ["id"];
|
|
6290
|
+
}, {
|
|
6291
|
+
foreignKeyName: "mailbox_messages_profile_id_fkey";
|
|
6292
|
+
columns: ["profile_id"];
|
|
6293
|
+
isOneToOne: false;
|
|
6294
|
+
referencedRelation: "imap_profiles";
|
|
6295
|
+
referencedColumns: ["id"];
|
|
6296
|
+
}];
|
|
6297
|
+
};
|
|
6298
|
+
mailbox_order_proposals: {
|
|
6299
|
+
Row: {
|
|
6300
|
+
confidence: number | null;
|
|
6301
|
+
created_at: string;
|
|
6302
|
+
created_order_id: string | null;
|
|
6303
|
+
delivery_date: string | null;
|
|
6304
|
+
id: string;
|
|
6305
|
+
matched_customer_id: string | null;
|
|
6306
|
+
message_id: string;
|
|
6307
|
+
notes: string | null;
|
|
6308
|
+
order_number: string | null;
|
|
6309
|
+
parsed_payload: import("../integrations/supabase/types").Json | null;
|
|
6310
|
+
reviewed_at: string | null;
|
|
6311
|
+
reviewed_by: string | null;
|
|
6312
|
+
status: string;
|
|
6313
|
+
updated_at: string;
|
|
6314
|
+
};
|
|
6315
|
+
Insert: {
|
|
6316
|
+
confidence?: number | null;
|
|
6317
|
+
created_at?: string;
|
|
6318
|
+
created_order_id?: string | null;
|
|
6319
|
+
delivery_date?: string | null;
|
|
6320
|
+
id?: string;
|
|
6321
|
+
matched_customer_id?: string | null;
|
|
6322
|
+
message_id: string;
|
|
6323
|
+
notes?: string | null;
|
|
6324
|
+
order_number?: string | null;
|
|
6325
|
+
parsed_payload?: import("../integrations/supabase/types").Json | null;
|
|
6326
|
+
reviewed_at?: string | null;
|
|
6327
|
+
reviewed_by?: string | null;
|
|
6328
|
+
status?: string;
|
|
5591
6329
|
updated_at?: string;
|
|
5592
6330
|
};
|
|
5593
6331
|
Update: {
|
|
@@ -5874,39 +6612,60 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
5874
6612
|
};
|
|
5875
6613
|
manufacture_products: {
|
|
5876
6614
|
Row: {
|
|
6615
|
+
aantal_te_produceren: number;
|
|
5877
6616
|
created_at: string;
|
|
5878
6617
|
description: string | null;
|
|
5879
6618
|
id: string;
|
|
5880
6619
|
is_active: boolean;
|
|
6620
|
+
location_id: string | null;
|
|
5881
6621
|
name: string;
|
|
6622
|
+
partij_nummer: string | null;
|
|
6623
|
+
photos: import("../integrations/supabase/types").Json;
|
|
5882
6624
|
produced_stock: number;
|
|
5883
6625
|
product_code: string;
|
|
5884
6626
|
tenant_id: string;
|
|
6627
|
+
unit: string;
|
|
5885
6628
|
updated_at: string;
|
|
5886
6629
|
};
|
|
5887
6630
|
Insert: {
|
|
6631
|
+
aantal_te_produceren?: number;
|
|
5888
6632
|
created_at?: string;
|
|
5889
6633
|
description?: string | null;
|
|
5890
6634
|
id?: string;
|
|
5891
6635
|
is_active?: boolean;
|
|
6636
|
+
location_id?: string | null;
|
|
5892
6637
|
name: string;
|
|
6638
|
+
partij_nummer?: string | null;
|
|
6639
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
5893
6640
|
produced_stock?: number;
|
|
5894
6641
|
product_code: string;
|
|
5895
6642
|
tenant_id: string;
|
|
6643
|
+
unit?: string;
|
|
5896
6644
|
updated_at?: string;
|
|
5897
6645
|
};
|
|
5898
6646
|
Update: {
|
|
6647
|
+
aantal_te_produceren?: number;
|
|
5899
6648
|
created_at?: string;
|
|
5900
6649
|
description?: string | null;
|
|
5901
6650
|
id?: string;
|
|
5902
6651
|
is_active?: boolean;
|
|
6652
|
+
location_id?: string | null;
|
|
5903
6653
|
name?: string;
|
|
6654
|
+
partij_nummer?: string | null;
|
|
6655
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
5904
6656
|
produced_stock?: number;
|
|
5905
6657
|
product_code?: string;
|
|
5906
6658
|
tenant_id?: string;
|
|
6659
|
+
unit?: string;
|
|
5907
6660
|
updated_at?: string;
|
|
5908
6661
|
};
|
|
5909
|
-
Relationships: [
|
|
6662
|
+
Relationships: [{
|
|
6663
|
+
foreignKeyName: "manufacture_products_location_id_fkey";
|
|
6664
|
+
columns: ["location_id"];
|
|
6665
|
+
isOneToOne: false;
|
|
6666
|
+
referencedRelation: "locations";
|
|
6667
|
+
referencedColumns: ["id"];
|
|
6668
|
+
}];
|
|
5910
6669
|
};
|
|
5911
6670
|
monteurs: {
|
|
5912
6671
|
Row: {
|
|
@@ -6637,6 +7396,42 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6637
7396
|
};
|
|
6638
7397
|
Relationships: [];
|
|
6639
7398
|
};
|
|
7399
|
+
order_buffers: {
|
|
7400
|
+
Row: {
|
|
7401
|
+
buffer_key: string;
|
|
7402
|
+
created_at: string;
|
|
7403
|
+
customer_id: string | null;
|
|
7404
|
+
grouping_mode: string;
|
|
7405
|
+
id: string;
|
|
7406
|
+
pickup_date: string | null;
|
|
7407
|
+
pickup_location: string | null;
|
|
7408
|
+
plan_locked_at: string | null;
|
|
7409
|
+
updated_at: string;
|
|
7410
|
+
};
|
|
7411
|
+
Insert: {
|
|
7412
|
+
buffer_key: string;
|
|
7413
|
+
created_at?: string;
|
|
7414
|
+
customer_id?: string | null;
|
|
7415
|
+
grouping_mode: string;
|
|
7416
|
+
id?: string;
|
|
7417
|
+
pickup_date?: string | null;
|
|
7418
|
+
pickup_location?: string | null;
|
|
7419
|
+
plan_locked_at?: string | null;
|
|
7420
|
+
updated_at?: string;
|
|
7421
|
+
};
|
|
7422
|
+
Update: {
|
|
7423
|
+
buffer_key?: string;
|
|
7424
|
+
created_at?: string;
|
|
7425
|
+
customer_id?: string | null;
|
|
7426
|
+
grouping_mode?: string;
|
|
7427
|
+
id?: string;
|
|
7428
|
+
pickup_date?: string | null;
|
|
7429
|
+
pickup_location?: string | null;
|
|
7430
|
+
plan_locked_at?: string | null;
|
|
7431
|
+
updated_at?: string;
|
|
7432
|
+
};
|
|
7433
|
+
Relationships: [];
|
|
7434
|
+
};
|
|
6640
7435
|
order_cart_items: {
|
|
6641
7436
|
Row: {
|
|
6642
7437
|
cart_id: string;
|
|
@@ -6703,6 +7498,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6703
7498
|
order_carts: {
|
|
6704
7499
|
Row: {
|
|
6705
7500
|
algorithm_version: number;
|
|
7501
|
+
buffer_id: string | null;
|
|
6706
7502
|
cart_number: number;
|
|
6707
7503
|
created_at: string;
|
|
6708
7504
|
id: string;
|
|
@@ -6710,13 +7506,14 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6710
7506
|
is_complete: boolean;
|
|
6711
7507
|
notes: string | null;
|
|
6712
7508
|
occupancy_pct: number;
|
|
6713
|
-
order_id: string;
|
|
7509
|
+
order_id: string | null;
|
|
6714
7510
|
source: string;
|
|
6715
7511
|
total_layers_used: number;
|
|
6716
7512
|
updated_at: string;
|
|
6717
7513
|
};
|
|
6718
7514
|
Insert: {
|
|
6719
7515
|
algorithm_version?: number;
|
|
7516
|
+
buffer_id?: string | null;
|
|
6720
7517
|
cart_number: number;
|
|
6721
7518
|
created_at?: string;
|
|
6722
7519
|
id?: string;
|
|
@@ -6724,13 +7521,14 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6724
7521
|
is_complete?: boolean;
|
|
6725
7522
|
notes?: string | null;
|
|
6726
7523
|
occupancy_pct?: number;
|
|
6727
|
-
order_id
|
|
7524
|
+
order_id?: string | null;
|
|
6728
7525
|
source?: string;
|
|
6729
7526
|
total_layers_used?: number;
|
|
6730
7527
|
updated_at?: string;
|
|
6731
7528
|
};
|
|
6732
7529
|
Update: {
|
|
6733
7530
|
algorithm_version?: number;
|
|
7531
|
+
buffer_id?: string | null;
|
|
6734
7532
|
cart_number?: number;
|
|
6735
7533
|
created_at?: string;
|
|
6736
7534
|
id?: string;
|
|
@@ -6738,12 +7536,18 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6738
7536
|
is_complete?: boolean;
|
|
6739
7537
|
notes?: string | null;
|
|
6740
7538
|
occupancy_pct?: number;
|
|
6741
|
-
order_id?: string;
|
|
7539
|
+
order_id?: string | null;
|
|
6742
7540
|
source?: string;
|
|
6743
7541
|
total_layers_used?: number;
|
|
6744
7542
|
updated_at?: string;
|
|
6745
7543
|
};
|
|
6746
7544
|
Relationships: [{
|
|
7545
|
+
foreignKeyName: "order_carts_buffer_id_fkey";
|
|
7546
|
+
columns: ["buffer_id"];
|
|
7547
|
+
isOneToOne: false;
|
|
7548
|
+
referencedRelation: "order_buffers";
|
|
7549
|
+
referencedColumns: ["id"];
|
|
7550
|
+
}, {
|
|
6747
7551
|
foreignKeyName: "order_carts_order_id_fkey";
|
|
6748
7552
|
columns: ["order_id"];
|
|
6749
7553
|
isOneToOne: false;
|
|
@@ -6880,15 +7684,117 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6880
7684
|
};
|
|
6881
7685
|
Relationships: [];
|
|
6882
7686
|
};
|
|
7687
|
+
order_shipment_items: {
|
|
7688
|
+
Row: {
|
|
7689
|
+
created_at: string;
|
|
7690
|
+
id: string;
|
|
7691
|
+
order_item_id: string;
|
|
7692
|
+
product_id: string | null;
|
|
7693
|
+
product_name: string;
|
|
7694
|
+
quantity: number;
|
|
7695
|
+
shipment_id: string;
|
|
7696
|
+
updated_at: string;
|
|
7697
|
+
};
|
|
7698
|
+
Insert: {
|
|
7699
|
+
created_at?: string;
|
|
7700
|
+
id?: string;
|
|
7701
|
+
order_item_id: string;
|
|
7702
|
+
product_id?: string | null;
|
|
7703
|
+
product_name: string;
|
|
7704
|
+
quantity: number;
|
|
7705
|
+
shipment_id: string;
|
|
7706
|
+
updated_at?: string;
|
|
7707
|
+
};
|
|
7708
|
+
Update: {
|
|
7709
|
+
created_at?: string;
|
|
7710
|
+
id?: string;
|
|
7711
|
+
order_item_id?: string;
|
|
7712
|
+
product_id?: string | null;
|
|
7713
|
+
product_name?: string;
|
|
7714
|
+
quantity?: number;
|
|
7715
|
+
shipment_id?: string;
|
|
7716
|
+
updated_at?: string;
|
|
7717
|
+
};
|
|
7718
|
+
Relationships: [{
|
|
7719
|
+
foreignKeyName: "order_shipment_items_order_item_id_fkey";
|
|
7720
|
+
columns: ["order_item_id"];
|
|
7721
|
+
isOneToOne: false;
|
|
7722
|
+
referencedRelation: "order_items";
|
|
7723
|
+
referencedColumns: ["id"];
|
|
7724
|
+
}, {
|
|
7725
|
+
foreignKeyName: "order_shipment_items_shipment_id_fkey";
|
|
7726
|
+
columns: ["shipment_id"];
|
|
7727
|
+
isOneToOne: false;
|
|
7728
|
+
referencedRelation: "order_shipments";
|
|
7729
|
+
referencedColumns: ["id"];
|
|
7730
|
+
}];
|
|
7731
|
+
};
|
|
7732
|
+
order_shipments: {
|
|
7733
|
+
Row: {
|
|
7734
|
+
carrier_id: string | null;
|
|
7735
|
+
created_at: string;
|
|
7736
|
+
delivery_date: string | null;
|
|
7737
|
+
delivery_location_id: string | null;
|
|
7738
|
+
id: string;
|
|
7739
|
+
notes: string | null;
|
|
7740
|
+
order_id: string;
|
|
7741
|
+
shipment_number: number;
|
|
7742
|
+
shipped_at: string | null;
|
|
7743
|
+
status: string;
|
|
7744
|
+
updated_at: string;
|
|
7745
|
+
};
|
|
7746
|
+
Insert: {
|
|
7747
|
+
carrier_id?: string | null;
|
|
7748
|
+
created_at?: string;
|
|
7749
|
+
delivery_date?: string | null;
|
|
7750
|
+
delivery_location_id?: string | null;
|
|
7751
|
+
id?: string;
|
|
7752
|
+
notes?: string | null;
|
|
7753
|
+
order_id: string;
|
|
7754
|
+
shipment_number: number;
|
|
7755
|
+
shipped_at?: string | null;
|
|
7756
|
+
status?: string;
|
|
7757
|
+
updated_at?: string;
|
|
7758
|
+
};
|
|
7759
|
+
Update: {
|
|
7760
|
+
carrier_id?: string | null;
|
|
7761
|
+
created_at?: string;
|
|
7762
|
+
delivery_date?: string | null;
|
|
7763
|
+
delivery_location_id?: string | null;
|
|
7764
|
+
id?: string;
|
|
7765
|
+
notes?: string | null;
|
|
7766
|
+
order_id?: string;
|
|
7767
|
+
shipment_number?: number;
|
|
7768
|
+
shipped_at?: string | null;
|
|
7769
|
+
status?: string;
|
|
7770
|
+
updated_at?: string;
|
|
7771
|
+
};
|
|
7772
|
+
Relationships: [{
|
|
7773
|
+
foreignKeyName: "order_shipments_carrier_id_fkey";
|
|
7774
|
+
columns: ["carrier_id"];
|
|
7775
|
+
isOneToOne: false;
|
|
7776
|
+
referencedRelation: "carriers";
|
|
7777
|
+
referencedColumns: ["id"];
|
|
7778
|
+
}, {
|
|
7779
|
+
foreignKeyName: "order_shipments_order_id_fkey";
|
|
7780
|
+
columns: ["order_id"];
|
|
7781
|
+
isOneToOne: false;
|
|
7782
|
+
referencedRelation: "orders";
|
|
7783
|
+
referencedColumns: ["id"];
|
|
7784
|
+
}];
|
|
7785
|
+
};
|
|
6883
7786
|
orders: {
|
|
6884
7787
|
Row: {
|
|
7788
|
+
buffer_id: string | null;
|
|
6885
7789
|
created_at: string;
|
|
6886
7790
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
6887
7791
|
customer_id: string | null;
|
|
6888
7792
|
customer_name: string;
|
|
6889
7793
|
deleted_at: string | null;
|
|
6890
|
-
delivery_date: string;
|
|
7794
|
+
delivery_date: string | null;
|
|
7795
|
+
floriday_sales_order_id: string | null;
|
|
6891
7796
|
id: string;
|
|
7797
|
+
is_reservation: boolean;
|
|
6892
7798
|
notes: string | null;
|
|
6893
7799
|
order_date: string;
|
|
6894
7800
|
order_number: string;
|
|
@@ -6900,13 +7806,16 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6900
7806
|
updated_at: string;
|
|
6901
7807
|
};
|
|
6902
7808
|
Insert: {
|
|
7809
|
+
buffer_id?: string | null;
|
|
6903
7810
|
created_at?: string;
|
|
6904
7811
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
6905
7812
|
customer_id?: string | null;
|
|
6906
7813
|
customer_name?: string;
|
|
6907
7814
|
deleted_at?: string | null;
|
|
6908
|
-
delivery_date
|
|
7815
|
+
delivery_date?: string | null;
|
|
7816
|
+
floriday_sales_order_id?: string | null;
|
|
6909
7817
|
id?: string;
|
|
7818
|
+
is_reservation?: boolean;
|
|
6910
7819
|
notes?: string | null;
|
|
6911
7820
|
order_date?: string;
|
|
6912
7821
|
order_number: string;
|
|
@@ -6918,13 +7827,16 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6918
7827
|
updated_at?: string;
|
|
6919
7828
|
};
|
|
6920
7829
|
Update: {
|
|
7830
|
+
buffer_id?: string | null;
|
|
6921
7831
|
created_at?: string;
|
|
6922
7832
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
6923
7833
|
customer_id?: string | null;
|
|
6924
7834
|
customer_name?: string;
|
|
6925
7835
|
deleted_at?: string | null;
|
|
6926
|
-
delivery_date?: string;
|
|
7836
|
+
delivery_date?: string | null;
|
|
7837
|
+
floriday_sales_order_id?: string | null;
|
|
6927
7838
|
id?: string;
|
|
7839
|
+
is_reservation?: boolean;
|
|
6928
7840
|
notes?: string | null;
|
|
6929
7841
|
order_date?: string;
|
|
6930
7842
|
order_number?: string;
|
|
@@ -6936,6 +7848,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6936
7848
|
updated_at?: string;
|
|
6937
7849
|
};
|
|
6938
7850
|
Relationships: [{
|
|
7851
|
+
foreignKeyName: "orders_buffer_id_fkey";
|
|
7852
|
+
columns: ["buffer_id"];
|
|
7853
|
+
isOneToOne: false;
|
|
7854
|
+
referencedRelation: "order_buffers";
|
|
7855
|
+
referencedColumns: ["id"];
|
|
7856
|
+
}, {
|
|
6939
7857
|
foreignKeyName: "orders_customer_id_fkey";
|
|
6940
7858
|
columns: ["customer_id"];
|
|
6941
7859
|
isOneToOne: false;
|
|
@@ -7066,6 +7984,66 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7066
7984
|
};
|
|
7067
7985
|
Relationships: [];
|
|
7068
7986
|
};
|
|
7987
|
+
product_bom_items: {
|
|
7988
|
+
Row: {
|
|
7989
|
+
component_product_id: string | null;
|
|
7990
|
+
component_trade_item_floriday_id: string | null;
|
|
7991
|
+
created_at: string;
|
|
7992
|
+
id: string;
|
|
7993
|
+
notes: string | null;
|
|
7994
|
+
packing_configuration_id: string | null;
|
|
7995
|
+
parent_product_id: string | null;
|
|
7996
|
+
parent_trade_item_floriday_id: string | null;
|
|
7997
|
+
quantity: number;
|
|
7998
|
+
sort_order: number;
|
|
7999
|
+
tenant_id: string;
|
|
8000
|
+
unit: string;
|
|
8001
|
+
updated_at: string;
|
|
8002
|
+
};
|
|
8003
|
+
Insert: {
|
|
8004
|
+
component_product_id?: string | null;
|
|
8005
|
+
component_trade_item_floriday_id?: string | null;
|
|
8006
|
+
created_at?: string;
|
|
8007
|
+
id?: string;
|
|
8008
|
+
notes?: string | null;
|
|
8009
|
+
packing_configuration_id?: string | null;
|
|
8010
|
+
parent_product_id?: string | null;
|
|
8011
|
+
parent_trade_item_floriday_id?: string | null;
|
|
8012
|
+
quantity?: number;
|
|
8013
|
+
sort_order?: number;
|
|
8014
|
+
tenant_id: string;
|
|
8015
|
+
unit?: string;
|
|
8016
|
+
updated_at?: string;
|
|
8017
|
+
};
|
|
8018
|
+
Update: {
|
|
8019
|
+
component_product_id?: string | null;
|
|
8020
|
+
component_trade_item_floriday_id?: string | null;
|
|
8021
|
+
created_at?: string;
|
|
8022
|
+
id?: string;
|
|
8023
|
+
notes?: string | null;
|
|
8024
|
+
packing_configuration_id?: string | null;
|
|
8025
|
+
parent_product_id?: string | null;
|
|
8026
|
+
parent_trade_item_floriday_id?: string | null;
|
|
8027
|
+
quantity?: number;
|
|
8028
|
+
sort_order?: number;
|
|
8029
|
+
tenant_id?: string;
|
|
8030
|
+
unit?: string;
|
|
8031
|
+
updated_at?: string;
|
|
8032
|
+
};
|
|
8033
|
+
Relationships: [{
|
|
8034
|
+
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
8035
|
+
columns: ["component_product_id"];
|
|
8036
|
+
isOneToOne: false;
|
|
8037
|
+
referencedRelation: "products";
|
|
8038
|
+
referencedColumns: ["id"];
|
|
8039
|
+
}, {
|
|
8040
|
+
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
8041
|
+
columns: ["parent_product_id"];
|
|
8042
|
+
isOneToOne: false;
|
|
8043
|
+
referencedRelation: "products";
|
|
8044
|
+
referencedColumns: ["id"];
|
|
8045
|
+
}];
|
|
8046
|
+
};
|
|
7069
8047
|
product_categories: {
|
|
7070
8048
|
Row: {
|
|
7071
8049
|
color: string;
|
|
@@ -7171,6 +8149,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7171
8149
|
id: string;
|
|
7172
8150
|
product_group_id: string;
|
|
7173
8151
|
quantity: number;
|
|
8152
|
+
sort_order: number;
|
|
7174
8153
|
trade_item_id: string;
|
|
7175
8154
|
};
|
|
7176
8155
|
Insert: {
|
|
@@ -7178,63 +8157,181 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7178
8157
|
id?: string;
|
|
7179
8158
|
product_group_id: string;
|
|
7180
8159
|
quantity?: number;
|
|
8160
|
+
sort_order?: number;
|
|
7181
8161
|
trade_item_id: string;
|
|
7182
8162
|
};
|
|
7183
8163
|
Update: {
|
|
7184
8164
|
created_at?: string;
|
|
7185
8165
|
id?: string;
|
|
7186
|
-
product_group_id?: string;
|
|
7187
|
-
quantity?: number;
|
|
7188
|
-
|
|
8166
|
+
product_group_id?: string;
|
|
8167
|
+
quantity?: number;
|
|
8168
|
+
sort_order?: number;
|
|
8169
|
+
trade_item_id?: string;
|
|
8170
|
+
};
|
|
8171
|
+
Relationships: [{
|
|
8172
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
8173
|
+
columns: ["product_group_id"];
|
|
8174
|
+
isOneToOne: false;
|
|
8175
|
+
referencedRelation: "product_groups";
|
|
8176
|
+
referencedColumns: ["id"];
|
|
8177
|
+
}];
|
|
8178
|
+
};
|
|
8179
|
+
product_groups: {
|
|
8180
|
+
Row: {
|
|
8181
|
+
created_at: string;
|
|
8182
|
+
description: string | null;
|
|
8183
|
+
head_product_id: string | null;
|
|
8184
|
+
head_trade_item_floriday_id: string | null;
|
|
8185
|
+
id: string;
|
|
8186
|
+
is_active: boolean;
|
|
8187
|
+
name: string;
|
|
8188
|
+
tenant_id: string;
|
|
8189
|
+
updated_at: string;
|
|
8190
|
+
};
|
|
8191
|
+
Insert: {
|
|
8192
|
+
created_at?: string;
|
|
8193
|
+
description?: string | null;
|
|
8194
|
+
head_product_id?: string | null;
|
|
8195
|
+
head_trade_item_floriday_id?: string | null;
|
|
8196
|
+
id?: string;
|
|
8197
|
+
is_active?: boolean;
|
|
8198
|
+
name: string;
|
|
8199
|
+
tenant_id: string;
|
|
8200
|
+
updated_at?: string;
|
|
8201
|
+
};
|
|
8202
|
+
Update: {
|
|
8203
|
+
created_at?: string;
|
|
8204
|
+
description?: string | null;
|
|
8205
|
+
head_product_id?: string | null;
|
|
8206
|
+
head_trade_item_floriday_id?: string | null;
|
|
8207
|
+
id?: string;
|
|
8208
|
+
is_active?: boolean;
|
|
8209
|
+
name?: string;
|
|
8210
|
+
tenant_id?: string;
|
|
8211
|
+
updated_at?: string;
|
|
7189
8212
|
};
|
|
7190
8213
|
Relationships: [{
|
|
7191
|
-
foreignKeyName: "
|
|
7192
|
-
columns: ["
|
|
8214
|
+
foreignKeyName: "product_groups_head_product_id_fkey";
|
|
8215
|
+
columns: ["head_product_id"];
|
|
7193
8216
|
isOneToOne: false;
|
|
7194
|
-
referencedRelation: "
|
|
8217
|
+
referencedRelation: "products";
|
|
7195
8218
|
referencedColumns: ["id"];
|
|
7196
8219
|
}];
|
|
7197
8220
|
};
|
|
7198
|
-
|
|
8221
|
+
product_load_settings: {
|
|
7199
8222
|
Row: {
|
|
7200
8223
|
created_at: string;
|
|
7201
|
-
description: string | null;
|
|
7202
8224
|
id: string;
|
|
7203
|
-
|
|
7204
|
-
|
|
8225
|
+
is_package: boolean;
|
|
8226
|
+
label: string | null;
|
|
8227
|
+
layers_per_load_carrier: number | null;
|
|
8228
|
+
load_carrier: string | null;
|
|
8229
|
+
package_id: string | null;
|
|
8230
|
+
package_label: string | null;
|
|
8231
|
+
packages_per_layer: number | null;
|
|
8232
|
+
packing_configuration_id: string;
|
|
8233
|
+
product_id: string | null;
|
|
7205
8234
|
tenant_id: string;
|
|
8235
|
+
trade_item_floriday_id: string | null;
|
|
8236
|
+
units_per_package: number | null;
|
|
7206
8237
|
updated_at: string;
|
|
7207
8238
|
};
|
|
7208
8239
|
Insert: {
|
|
7209
8240
|
created_at?: string;
|
|
7210
|
-
description?: string | null;
|
|
7211
8241
|
id?: string;
|
|
7212
|
-
|
|
7213
|
-
|
|
8242
|
+
is_package?: boolean;
|
|
8243
|
+
label?: string | null;
|
|
8244
|
+
layers_per_load_carrier?: number | null;
|
|
8245
|
+
load_carrier?: string | null;
|
|
8246
|
+
package_id?: string | null;
|
|
8247
|
+
package_label?: string | null;
|
|
8248
|
+
packages_per_layer?: number | null;
|
|
8249
|
+
packing_configuration_id?: string;
|
|
8250
|
+
product_id?: string | null;
|
|
7214
8251
|
tenant_id: string;
|
|
8252
|
+
trade_item_floriday_id?: string | null;
|
|
8253
|
+
units_per_package?: number | null;
|
|
7215
8254
|
updated_at?: string;
|
|
7216
8255
|
};
|
|
7217
8256
|
Update: {
|
|
7218
8257
|
created_at?: string;
|
|
7219
|
-
description?: string | null;
|
|
7220
8258
|
id?: string;
|
|
7221
|
-
|
|
7222
|
-
|
|
8259
|
+
is_package?: boolean;
|
|
8260
|
+
label?: string | null;
|
|
8261
|
+
layers_per_load_carrier?: number | null;
|
|
8262
|
+
load_carrier?: string | null;
|
|
8263
|
+
package_id?: string | null;
|
|
8264
|
+
package_label?: string | null;
|
|
8265
|
+
packages_per_layer?: number | null;
|
|
8266
|
+
packing_configuration_id?: string;
|
|
8267
|
+
product_id?: string | null;
|
|
7223
8268
|
tenant_id?: string;
|
|
8269
|
+
trade_item_floriday_id?: string | null;
|
|
8270
|
+
units_per_package?: number | null;
|
|
7224
8271
|
updated_at?: string;
|
|
7225
8272
|
};
|
|
8273
|
+
Relationships: [{
|
|
8274
|
+
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
8275
|
+
columns: ["package_id"];
|
|
8276
|
+
isOneToOne: false;
|
|
8277
|
+
referencedRelation: "packages";
|
|
8278
|
+
referencedColumns: ["id"];
|
|
8279
|
+
}, {
|
|
8280
|
+
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
8281
|
+
columns: ["product_id"];
|
|
8282
|
+
isOneToOne: false;
|
|
8283
|
+
referencedRelation: "products";
|
|
8284
|
+
referencedColumns: ["id"];
|
|
8285
|
+
}];
|
|
8286
|
+
};
|
|
8287
|
+
product_merge_log: {
|
|
8288
|
+
Row: {
|
|
8289
|
+
canonical_product_id: string | null;
|
|
8290
|
+
id: string;
|
|
8291
|
+
merged_at: string;
|
|
8292
|
+
merged_from_id: string;
|
|
8293
|
+
notes: string | null;
|
|
8294
|
+
snapshot: import("../integrations/supabase/types").Json;
|
|
8295
|
+
source_table: string;
|
|
8296
|
+
status: string;
|
|
8297
|
+
};
|
|
8298
|
+
Insert: {
|
|
8299
|
+
canonical_product_id?: string | null;
|
|
8300
|
+
id?: string;
|
|
8301
|
+
merged_at?: string;
|
|
8302
|
+
merged_from_id: string;
|
|
8303
|
+
notes?: string | null;
|
|
8304
|
+
snapshot?: import("../integrations/supabase/types").Json;
|
|
8305
|
+
source_table: string;
|
|
8306
|
+
status?: string;
|
|
8307
|
+
};
|
|
8308
|
+
Update: {
|
|
8309
|
+
canonical_product_id?: string | null;
|
|
8310
|
+
id?: string;
|
|
8311
|
+
merged_at?: string;
|
|
8312
|
+
merged_from_id?: string;
|
|
8313
|
+
notes?: string | null;
|
|
8314
|
+
snapshot?: import("../integrations/supabase/types").Json;
|
|
8315
|
+
source_table?: string;
|
|
8316
|
+
status?: string;
|
|
8317
|
+
};
|
|
7226
8318
|
Relationships: [];
|
|
7227
8319
|
};
|
|
7228
8320
|
products: {
|
|
7229
8321
|
Row: {
|
|
8322
|
+
article_number: string | null;
|
|
7230
8323
|
barcode: string | null;
|
|
7231
8324
|
batch: string;
|
|
7232
8325
|
crates_per_layer: number;
|
|
7233
8326
|
created_at: string;
|
|
7234
8327
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
8328
|
+
floriday_active: boolean;
|
|
8329
|
+
floriday_payload: import("../integrations/supabase/types").Json;
|
|
8330
|
+
floriday_trade_item_id: string | null;
|
|
7235
8331
|
id: string;
|
|
7236
8332
|
image_url: string | null;
|
|
7237
8333
|
incoming_quantity: number;
|
|
8334
|
+
is_layer: boolean;
|
|
7238
8335
|
layers_per_cart: number;
|
|
7239
8336
|
location: string;
|
|
7240
8337
|
min_quantity: number;
|
|
@@ -7247,17 +8344,24 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7247
8344
|
trade_item_key: string | null;
|
|
7248
8345
|
unit: string;
|
|
7249
8346
|
updated_at: string;
|
|
8347
|
+
vat_code: string | null;
|
|
8348
|
+
vat_rate: number | null;
|
|
7250
8349
|
weight: string | null;
|
|
7251
8350
|
};
|
|
7252
8351
|
Insert: {
|
|
8352
|
+
article_number?: string | null;
|
|
7253
8353
|
barcode?: string | null;
|
|
7254
8354
|
batch: string;
|
|
7255
8355
|
crates_per_layer?: number;
|
|
7256
8356
|
created_at?: string;
|
|
7257
8357
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
8358
|
+
floriday_active?: boolean;
|
|
8359
|
+
floriday_payload?: import("../integrations/supabase/types").Json;
|
|
8360
|
+
floriday_trade_item_id?: string | null;
|
|
7258
8361
|
id?: string;
|
|
7259
8362
|
image_url?: string | null;
|
|
7260
8363
|
incoming_quantity?: number;
|
|
8364
|
+
is_layer?: boolean;
|
|
7261
8365
|
layers_per_cart?: number;
|
|
7262
8366
|
location: string;
|
|
7263
8367
|
min_quantity?: number;
|
|
@@ -7270,17 +8374,24 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7270
8374
|
trade_item_key?: string | null;
|
|
7271
8375
|
unit?: string;
|
|
7272
8376
|
updated_at?: string;
|
|
8377
|
+
vat_code?: string | null;
|
|
8378
|
+
vat_rate?: number | null;
|
|
7273
8379
|
weight?: string | null;
|
|
7274
8380
|
};
|
|
7275
8381
|
Update: {
|
|
8382
|
+
article_number?: string | null;
|
|
7276
8383
|
barcode?: string | null;
|
|
7277
8384
|
batch?: string;
|
|
7278
8385
|
crates_per_layer?: number;
|
|
7279
8386
|
created_at?: string;
|
|
7280
8387
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
8388
|
+
floriday_active?: boolean;
|
|
8389
|
+
floriday_payload?: import("../integrations/supabase/types").Json;
|
|
8390
|
+
floriday_trade_item_id?: string | null;
|
|
7281
8391
|
id?: string;
|
|
7282
8392
|
image_url?: string | null;
|
|
7283
8393
|
incoming_quantity?: number;
|
|
8394
|
+
is_layer?: boolean;
|
|
7284
8395
|
layers_per_cart?: number;
|
|
7285
8396
|
location?: string;
|
|
7286
8397
|
min_quantity?: number;
|
|
@@ -7293,12 +8404,15 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7293
8404
|
trade_item_key?: string | null;
|
|
7294
8405
|
unit?: string;
|
|
7295
8406
|
updated_at?: string;
|
|
8407
|
+
vat_code?: string | null;
|
|
8408
|
+
vat_rate?: number | null;
|
|
7296
8409
|
weight?: string | null;
|
|
7297
8410
|
};
|
|
7298
8411
|
Relationships: [];
|
|
7299
8412
|
};
|
|
7300
8413
|
profiles: {
|
|
7301
8414
|
Row: {
|
|
8415
|
+
address: string | null;
|
|
7302
8416
|
created_at: string;
|
|
7303
8417
|
display_name: string | null;
|
|
7304
8418
|
email: string | null;
|
|
@@ -7309,6 +8423,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7309
8423
|
updated_at: string;
|
|
7310
8424
|
};
|
|
7311
8425
|
Insert: {
|
|
8426
|
+
address?: string | null;
|
|
7312
8427
|
created_at?: string;
|
|
7313
8428
|
display_name?: string | null;
|
|
7314
8429
|
email?: string | null;
|
|
@@ -7319,6 +8434,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7319
8434
|
updated_at?: string;
|
|
7320
8435
|
};
|
|
7321
8436
|
Update: {
|
|
8437
|
+
address?: string | null;
|
|
7322
8438
|
created_at?: string;
|
|
7323
8439
|
display_name?: string | null;
|
|
7324
8440
|
email?: string | null;
|
|
@@ -8183,8 +9299,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8183
9299
|
order_id: string | null;
|
|
8184
9300
|
order_item_id: string | null;
|
|
8185
9301
|
order_source: string | null;
|
|
9302
|
+
parent_trade_item_key: string | null;
|
|
8186
9303
|
physical_after: number | null;
|
|
8187
9304
|
physical_before: number | null;
|
|
9305
|
+
production_batch_id: string | null;
|
|
8188
9306
|
qty_delta: number;
|
|
8189
9307
|
reason: string | null;
|
|
8190
9308
|
reserved_after: number | null;
|
|
@@ -8200,8 +9318,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8200
9318
|
order_id?: string | null;
|
|
8201
9319
|
order_item_id?: string | null;
|
|
8202
9320
|
order_source?: string | null;
|
|
9321
|
+
parent_trade_item_key?: string | null;
|
|
8203
9322
|
physical_after?: number | null;
|
|
8204
9323
|
physical_before?: number | null;
|
|
9324
|
+
production_batch_id?: string | null;
|
|
8205
9325
|
qty_delta: number;
|
|
8206
9326
|
reason?: string | null;
|
|
8207
9327
|
reserved_after?: number | null;
|
|
@@ -8217,8 +9337,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8217
9337
|
order_id?: string | null;
|
|
8218
9338
|
order_item_id?: string | null;
|
|
8219
9339
|
order_source?: string | null;
|
|
9340
|
+
parent_trade_item_key?: string | null;
|
|
8220
9341
|
physical_after?: number | null;
|
|
8221
9342
|
physical_before?: number | null;
|
|
9343
|
+
production_batch_id?: string | null;
|
|
8222
9344
|
qty_delta?: number;
|
|
8223
9345
|
reason?: string | null;
|
|
8224
9346
|
reserved_after?: number | null;
|
|
@@ -8524,6 +9646,48 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8524
9646
|
};
|
|
8525
9647
|
Relationships: [];
|
|
8526
9648
|
};
|
|
9649
|
+
trade_item_prices: {
|
|
9650
|
+
Row: {
|
|
9651
|
+
created_at: string;
|
|
9652
|
+
currency: string;
|
|
9653
|
+
id: string;
|
|
9654
|
+
last_push_error: string | null;
|
|
9655
|
+
last_pushed_at: string | null;
|
|
9656
|
+
price_group_id: string | null;
|
|
9657
|
+
price_per_piece: number;
|
|
9658
|
+
supply_line_id: string | null;
|
|
9659
|
+
trade_item_key: string;
|
|
9660
|
+
updated_at: string;
|
|
9661
|
+
user_id: string;
|
|
9662
|
+
};
|
|
9663
|
+
Insert: {
|
|
9664
|
+
created_at?: string;
|
|
9665
|
+
currency?: string;
|
|
9666
|
+
id?: string;
|
|
9667
|
+
last_push_error?: string | null;
|
|
9668
|
+
last_pushed_at?: string | null;
|
|
9669
|
+
price_group_id?: string | null;
|
|
9670
|
+
price_per_piece: number;
|
|
9671
|
+
supply_line_id?: string | null;
|
|
9672
|
+
trade_item_key: string;
|
|
9673
|
+
updated_at?: string;
|
|
9674
|
+
user_id: string;
|
|
9675
|
+
};
|
|
9676
|
+
Update: {
|
|
9677
|
+
created_at?: string;
|
|
9678
|
+
currency?: string;
|
|
9679
|
+
id?: string;
|
|
9680
|
+
last_push_error?: string | null;
|
|
9681
|
+
last_pushed_at?: string | null;
|
|
9682
|
+
price_group_id?: string | null;
|
|
9683
|
+
price_per_piece?: number;
|
|
9684
|
+
supply_line_id?: string | null;
|
|
9685
|
+
trade_item_key?: string;
|
|
9686
|
+
updated_at?: string;
|
|
9687
|
+
user_id?: string;
|
|
9688
|
+
};
|
|
9689
|
+
Relationships: [];
|
|
9690
|
+
};
|
|
8527
9691
|
trade_item_stock: {
|
|
8528
9692
|
Row: {
|
|
8529
9693
|
connection_id: string;
|
|
@@ -8677,7 +9841,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8677
9841
|
twinfield_connections: {
|
|
8678
9842
|
Row: {
|
|
8679
9843
|
access_token: string | null;
|
|
8680
|
-
client_id: string;
|
|
9844
|
+
client_id: string | null;
|
|
8681
9845
|
client_secret: string | null;
|
|
8682
9846
|
cluster_uri: string | null;
|
|
8683
9847
|
company_code: string | null;
|
|
@@ -8689,7 +9853,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8689
9853
|
is_active: boolean;
|
|
8690
9854
|
label: string | null;
|
|
8691
9855
|
office_code: string | null;
|
|
8692
|
-
redirect_uri: string;
|
|
9856
|
+
redirect_uri: string | null;
|
|
8693
9857
|
refresh_token: string | null;
|
|
8694
9858
|
token_expires_at: string | null;
|
|
8695
9859
|
updated_at: string;
|
|
@@ -8697,7 +9861,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8697
9861
|
};
|
|
8698
9862
|
Insert: {
|
|
8699
9863
|
access_token?: string | null;
|
|
8700
|
-
client_id
|
|
9864
|
+
client_id?: string | null;
|
|
8701
9865
|
client_secret?: string | null;
|
|
8702
9866
|
cluster_uri?: string | null;
|
|
8703
9867
|
company_code?: string | null;
|
|
@@ -8709,7 +9873,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8709
9873
|
is_active?: boolean;
|
|
8710
9874
|
label?: string | null;
|
|
8711
9875
|
office_code?: string | null;
|
|
8712
|
-
redirect_uri
|
|
9876
|
+
redirect_uri?: string | null;
|
|
8713
9877
|
refresh_token?: string | null;
|
|
8714
9878
|
token_expires_at?: string | null;
|
|
8715
9879
|
updated_at?: string;
|
|
@@ -8717,7 +9881,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8717
9881
|
};
|
|
8718
9882
|
Update: {
|
|
8719
9883
|
access_token?: string | null;
|
|
8720
|
-
client_id?: string;
|
|
9884
|
+
client_id?: string | null;
|
|
8721
9885
|
client_secret?: string | null;
|
|
8722
9886
|
cluster_uri?: string | null;
|
|
8723
9887
|
company_code?: string | null;
|
|
@@ -8729,7 +9893,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8729
9893
|
is_active?: boolean;
|
|
8730
9894
|
label?: string | null;
|
|
8731
9895
|
office_code?: string | null;
|
|
8732
|
-
redirect_uri?: string;
|
|
9896
|
+
redirect_uri?: string | null;
|
|
8733
9897
|
refresh_token?: string | null;
|
|
8734
9898
|
token_expires_at?: string | null;
|
|
8735
9899
|
updated_at?: string;
|
|
@@ -9924,25 +11088,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9924
11088
|
};
|
|
9925
11089
|
Relationships: [];
|
|
9926
11090
|
};
|
|
9927
|
-
floriday_customer_discounts: {
|
|
9928
|
-
Row: {
|
|
9929
|
-
base_price: number | null;
|
|
9930
|
-
buyer_organization_id: string | null;
|
|
9931
|
-
currency: string | null;
|
|
9932
|
-
discount_type: string | null;
|
|
9933
|
-
discount_value: number | null;
|
|
9934
|
-
min_quantity: number | null;
|
|
9935
|
-
net_price: number | null;
|
|
9936
|
-
product_group_id: string | null;
|
|
9937
|
-
raw: import("../integrations/supabase/types").Json | null;
|
|
9938
|
-
source: string | null;
|
|
9939
|
-
source_id: string | null;
|
|
9940
|
-
trade_item_id: string | null;
|
|
9941
|
-
valid_from: string | null;
|
|
9942
|
-
valid_until: string | null;
|
|
9943
|
-
};
|
|
9944
|
-
Relationships: [];
|
|
9945
|
-
};
|
|
9946
11091
|
local_customer_discounts: {
|
|
9947
11092
|
Row: {
|
|
9948
11093
|
base_price: number | null;
|
|
@@ -10246,6 +11391,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10246
11391
|
};
|
|
10247
11392
|
Returns: number;
|
|
10248
11393
|
};
|
|
11394
|
+
_migrate_rewrite_stock_key: {
|
|
11395
|
+
Args: {
|
|
11396
|
+
_from_key: string;
|
|
11397
|
+
_to_key: string;
|
|
11398
|
+
};
|
|
11399
|
+
Returns: undefined;
|
|
11400
|
+
};
|
|
10249
11401
|
afh_city_code: {
|
|
10250
11402
|
Args: {
|
|
10251
11403
|
_city: string;
|
|
@@ -10329,6 +11481,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10329
11481
|
processed_items: number;
|
|
10330
11482
|
}[];
|
|
10331
11483
|
};
|
|
11484
|
+
calculate_layer_stock: {
|
|
11485
|
+
Args: {
|
|
11486
|
+
p_product_id: string;
|
|
11487
|
+
};
|
|
11488
|
+
Returns: number;
|
|
11489
|
+
};
|
|
10332
11490
|
call_exact_route: {
|
|
10333
11491
|
Args: {
|
|
10334
11492
|
path: string;
|
|
@@ -10359,7 +11517,29 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10359
11517
|
};
|
|
10360
11518
|
cleanup_old_bookings: {
|
|
10361
11519
|
Args: never;
|
|
10362
|
-
Returns:
|
|
11520
|
+
Returns: undefined;
|
|
11521
|
+
};
|
|
11522
|
+
consume_bom_for_production: {
|
|
11523
|
+
Args: {
|
|
11524
|
+
p_connection_id: string;
|
|
11525
|
+
p_parent_id: string;
|
|
11526
|
+
p_parent_key: string;
|
|
11527
|
+
p_parent_kind: string;
|
|
11528
|
+
p_quantity: number;
|
|
11529
|
+
p_user_id: string;
|
|
11530
|
+
};
|
|
11531
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
11532
|
+
} | {
|
|
11533
|
+
Args: {
|
|
11534
|
+
p_batch_id?: string;
|
|
11535
|
+
p_connection_id: string;
|
|
11536
|
+
p_parent_id: string;
|
|
11537
|
+
p_parent_key: string;
|
|
11538
|
+
p_parent_kind: string;
|
|
11539
|
+
p_quantity: number;
|
|
11540
|
+
p_user_id: string;
|
|
11541
|
+
};
|
|
11542
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10363
11543
|
};
|
|
10364
11544
|
consume_floriday_rate_limit: {
|
|
10365
11545
|
Args: {
|
|
@@ -10412,6 +11592,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10412
11592
|
table_name: string;
|
|
10413
11593
|
}[];
|
|
10414
11594
|
};
|
|
11595
|
+
delete_samenstelling: {
|
|
11596
|
+
Args: {
|
|
11597
|
+
p_parent_id: string;
|
|
11598
|
+
p_parent_kind: string;
|
|
11599
|
+
};
|
|
11600
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
11601
|
+
};
|
|
10415
11602
|
dispatch_carrier_signups_sql: {
|
|
10416
11603
|
Args: {
|
|
10417
11604
|
_catchup?: string;
|
|
@@ -10453,6 +11640,16 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10453
11640
|
status: string;
|
|
10454
11641
|
}[];
|
|
10455
11642
|
};
|
|
11643
|
+
email_auth_upsert_connection: {
|
|
11644
|
+
Args: {
|
|
11645
|
+
_account_email: string;
|
|
11646
|
+
_created_by: string;
|
|
11647
|
+
_is_active: boolean;
|
|
11648
|
+
_provider: string;
|
|
11649
|
+
_status: string;
|
|
11650
|
+
};
|
|
11651
|
+
Returns: string;
|
|
11652
|
+
};
|
|
10456
11653
|
enqueue_cart_replan_if_unlocked: {
|
|
10457
11654
|
Args: {
|
|
10458
11655
|
p_order_id: string;
|
|
@@ -10572,19 +11769,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10572
11769
|
resource: string;
|
|
10573
11770
|
}[];
|
|
10574
11771
|
};
|
|
10575
|
-
get_floriday_agreements_active: {
|
|
10576
|
-
Args: {
|
|
10577
|
-
p_on_date?: string;
|
|
10578
|
-
};
|
|
10579
|
-
Returns: {
|
|
10580
|
-
buyer_organization_id: string;
|
|
10581
|
-
data: import("../integrations/supabase/types").Json;
|
|
10582
|
-
floriday_id: string;
|
|
10583
|
-
status: string;
|
|
10584
|
-
valid_from: string;
|
|
10585
|
-
valid_until: string;
|
|
10586
|
-
}[];
|
|
10587
|
-
};
|
|
10588
11772
|
get_floriday_clock_supplies_window: {
|
|
10589
11773
|
Args: {
|
|
10590
11774
|
p_from: string;
|
|
@@ -10657,6 +11841,27 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10657
11841
|
minutes_since_success: number;
|
|
10658
11842
|
}[];
|
|
10659
11843
|
};
|
|
11844
|
+
get_group_allocation_keys: {
|
|
11845
|
+
Args: {
|
|
11846
|
+
p_product_id: string;
|
|
11847
|
+
};
|
|
11848
|
+
Returns: {
|
|
11849
|
+
k: string;
|
|
11850
|
+
ord: number;
|
|
11851
|
+
}[];
|
|
11852
|
+
};
|
|
11853
|
+
get_group_head_key: {
|
|
11854
|
+
Args: {
|
|
11855
|
+
p_group_id: string;
|
|
11856
|
+
};
|
|
11857
|
+
Returns: string;
|
|
11858
|
+
};
|
|
11859
|
+
get_inventory_stock_for_key: {
|
|
11860
|
+
Args: {
|
|
11861
|
+
p_key: string;
|
|
11862
|
+
};
|
|
11863
|
+
Returns: number;
|
|
11864
|
+
};
|
|
10660
11865
|
get_offer_by_link_code: {
|
|
10661
11866
|
Args: {
|
|
10662
11867
|
p_code: string;
|
|
@@ -10687,6 +11892,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10687
11892
|
};
|
|
10688
11893
|
Returns: string;
|
|
10689
11894
|
};
|
|
11895
|
+
get_product_group_available_stock: {
|
|
11896
|
+
Args: {
|
|
11897
|
+
p_group_id: string;
|
|
11898
|
+
};
|
|
11899
|
+
Returns: number;
|
|
11900
|
+
};
|
|
10690
11901
|
get_room_busy_windows: {
|
|
10691
11902
|
Args: {
|
|
10692
11903
|
p_from: string;
|
|
@@ -10767,6 +11978,32 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10767
11978
|
};
|
|
10768
11979
|
Returns: undefined;
|
|
10769
11980
|
};
|
|
11981
|
+
mark_salesorder_controlled: {
|
|
11982
|
+
Args: {
|
|
11983
|
+
p_controlled: boolean;
|
|
11984
|
+
p_floriday_id: string;
|
|
11985
|
+
};
|
|
11986
|
+
Returns: undefined;
|
|
11987
|
+
};
|
|
11988
|
+
mark_shipment_shipped: {
|
|
11989
|
+
Args: {
|
|
11990
|
+
p_shipment_id: string;
|
|
11991
|
+
};
|
|
11992
|
+
Returns: undefined;
|
|
11993
|
+
};
|
|
11994
|
+
merge_products: {
|
|
11995
|
+
Args: {
|
|
11996
|
+
_canonical: string;
|
|
11997
|
+
_loser: string;
|
|
11998
|
+
};
|
|
11999
|
+
Returns: undefined;
|
|
12000
|
+
};
|
|
12001
|
+
next_manufacture_partij: {
|
|
12002
|
+
Args: {
|
|
12003
|
+
_tenant_id: string;
|
|
12004
|
+
};
|
|
12005
|
+
Returns: string;
|
|
12006
|
+
};
|
|
10770
12007
|
next_order_number: {
|
|
10771
12008
|
Args: {
|
|
10772
12009
|
p_prefix: string;
|
|
@@ -10836,6 +12073,15 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10836
12073
|
};
|
|
10837
12074
|
Returns: undefined;
|
|
10838
12075
|
};
|
|
12076
|
+
pickstation_resolve_delivery_orders: {
|
|
12077
|
+
Args: {
|
|
12078
|
+
p_sales_order_ids: string[];
|
|
12079
|
+
};
|
|
12080
|
+
Returns: {
|
|
12081
|
+
delivery_order_id: string;
|
|
12082
|
+
sales_order_id: string;
|
|
12083
|
+
}[];
|
|
12084
|
+
};
|
|
10839
12085
|
pickstation_set_cart_status: {
|
|
10840
12086
|
Args: {
|
|
10841
12087
|
p_cart_index: number;
|
|
@@ -10845,6 +12091,14 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10845
12091
|
};
|
|
10846
12092
|
Returns: undefined;
|
|
10847
12093
|
};
|
|
12094
|
+
produce_designed_product: {
|
|
12095
|
+
Args: {
|
|
12096
|
+
p_parent_id: string;
|
|
12097
|
+
p_parent_kind: string;
|
|
12098
|
+
p_quantity: number;
|
|
12099
|
+
};
|
|
12100
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
12101
|
+
};
|
|
10848
12102
|
promote_trade_item_key: {
|
|
10849
12103
|
Args: {
|
|
10850
12104
|
p_new: string;
|
|
@@ -10852,6 +12106,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10852
12106
|
};
|
|
10853
12107
|
Returns: undefined;
|
|
10854
12108
|
};
|
|
12109
|
+
recompute_all_reserved_stock: {
|
|
12110
|
+
Args: never;
|
|
12111
|
+
Returns: undefined;
|
|
12112
|
+
};
|
|
10855
12113
|
recompute_order_status: {
|
|
10856
12114
|
Args: {
|
|
10857
12115
|
p_order_id: string;
|
|
@@ -10901,27 +12159,45 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10901
12159
|
};
|
|
10902
12160
|
Returns: undefined;
|
|
10903
12161
|
};
|
|
12162
|
+
resolve_group_allocation: {
|
|
12163
|
+
Args: {
|
|
12164
|
+
_needed: number;
|
|
12165
|
+
_product_group_id: string;
|
|
12166
|
+
};
|
|
12167
|
+
Returns: {
|
|
12168
|
+
allocated: number;
|
|
12169
|
+
trade_item_id: string;
|
|
12170
|
+
}[];
|
|
12171
|
+
};
|
|
12172
|
+
resolve_group_member_stock_key: {
|
|
12173
|
+
Args: {
|
|
12174
|
+
p_trade_item_id: string;
|
|
12175
|
+
};
|
|
12176
|
+
Returns: string;
|
|
12177
|
+
};
|
|
10904
12178
|
resolve_product_id_for_item: {
|
|
10905
12179
|
Args: {
|
|
10906
12180
|
p_product_name: string;
|
|
10907
12181
|
};
|
|
10908
12182
|
Returns: string;
|
|
10909
12183
|
};
|
|
10910
|
-
|
|
12184
|
+
resolve_stock_trade_item_key: {
|
|
10911
12185
|
Args: {
|
|
10912
|
-
|
|
10913
|
-
p_url: string;
|
|
12186
|
+
p_product_id: string;
|
|
10914
12187
|
};
|
|
10915
|
-
Returns:
|
|
12188
|
+
Returns: string;
|
|
10916
12189
|
};
|
|
10917
|
-
|
|
12190
|
+
reverse_production: {
|
|
10918
12191
|
Args: {
|
|
10919
|
-
|
|
10920
|
-
|
|
12192
|
+
p_connection_id?: string;
|
|
12193
|
+
p_parent_key: string;
|
|
12194
|
+
p_quantity: number;
|
|
12195
|
+
p_reason?: string;
|
|
12196
|
+
p_user_id?: string;
|
|
10921
12197
|
};
|
|
10922
|
-
Returns:
|
|
12198
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10923
12199
|
};
|
|
10924
|
-
|
|
12200
|
+
schedule_floriday_additional_services_sync: {
|
|
10925
12201
|
Args: {
|
|
10926
12202
|
p_apikey: string;
|
|
10927
12203
|
p_url: string;
|
|
@@ -11174,6 +12450,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
11174
12450
|
};
|
|
11175
12451
|
Returns: number;
|
|
11176
12452
|
};
|
|
12453
|
+
self_heal_floriday_links: {
|
|
12454
|
+
Args: never;
|
|
12455
|
+
Returns: number;
|
|
12456
|
+
};
|
|
11177
12457
|
show_limit: {
|
|
11178
12458
|
Args: never;
|
|
11179
12459
|
Returns: number;
|
|
@@ -11184,18 +12464,34 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
11184
12464
|
};
|
|
11185
12465
|
Returns: string[];
|
|
11186
12466
|
};
|
|
12467
|
+
sync_all_layer_stocks: {
|
|
12468
|
+
Args: never;
|
|
12469
|
+
Returns: undefined;
|
|
12470
|
+
};
|
|
11187
12471
|
sync_cached_packing_from_product: {
|
|
11188
12472
|
Args: {
|
|
11189
12473
|
p_product_id: string;
|
|
11190
12474
|
};
|
|
11191
12475
|
Returns: undefined;
|
|
11192
12476
|
};
|
|
12477
|
+
sync_layer_stock: {
|
|
12478
|
+
Args: {
|
|
12479
|
+
p_product_id: string;
|
|
12480
|
+
};
|
|
12481
|
+
Returns: undefined;
|
|
12482
|
+
};
|
|
11193
12483
|
sync_order_cart_item_packing_from_product: {
|
|
11194
12484
|
Args: {
|
|
11195
12485
|
p_product_id: string;
|
|
11196
12486
|
};
|
|
11197
12487
|
Returns: undefined;
|
|
11198
12488
|
};
|
|
12489
|
+
sync_product_group_belading: {
|
|
12490
|
+
Args: {
|
|
12491
|
+
_group_id: string;
|
|
12492
|
+
};
|
|
12493
|
+
Returns: undefined;
|
|
12494
|
+
};
|
|
11199
12495
|
sync_product_packing_from_floriday_cache: {
|
|
11200
12496
|
Args: {
|
|
11201
12497
|
p_floriday_id: string;
|