@flowselections/floriday-klanten-module 1.0.8 → 1.0.9
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/klanten/CustomerAnalyticsTab.d.ts +4 -0
- package/dist-lib/components/klanten/CustomerAnalyticsTab.d.ts.map +1 -0
- package/dist-lib/components/klanten/CustomerAnalyticsTab.js +90 -0
- package/dist-lib/components/klanten/DeliveryLocationsTab.d.ts +4 -0
- package/dist-lib/components/klanten/DeliveryLocationsTab.d.ts.map +1 -0
- package/dist-lib/components/klanten/DeliveryLocationsTab.js +94 -0
- package/dist-lib/components/klanten/KlantDetailLayout.d.ts +75 -0
- package/dist-lib/components/klanten/KlantDetailLayout.d.ts.map +1 -0
- package/dist-lib/components/klanten/KlantDetailLayout.js +172 -0
- package/dist-lib/components/klanten/KlantenOverzicht.d.ts.map +1 -1
- package/dist-lib/components/klanten/KlantenOverzicht.js +12 -32
- package/dist-lib/index.js +1 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +2738 -145
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +2738 -145
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +2738 -145
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +2825 -149
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +2 -0
- package/dist-lib/lib/accounting.functions.d.ts +17440 -9661
- package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-analytics.functions.d.ts +9287 -0
- package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -0
- package/dist-lib/lib/customer-analytics.functions.js +165 -0
- package/dist-lib/lib/customers.functions.d.ts +42298 -24141
- package/dist-lib/lib/customers.functions.d.ts.map +1 -1
- package/dist-lib/lib/delivery-locations.functions.d.ts +37018 -0
- package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -0
- package/dist-lib/lib/delivery-locations.functions.js +150 -0
- package/dist-lib/lib/eu-regions.d.ts +14 -0
- package/dist-lib/lib/eu-regions.d.ts.map +1 -0
- package/dist-lib/lib/eu-regions.js +68 -0
- package/dist-lib/lib/external-customers.functions.d.ts +24860 -14488
- package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
- package/package.json +5 -4
|
@@ -7,6 +7,48 @@ export type Database = {
|
|
|
7
7
|
};
|
|
8
8
|
public: {
|
|
9
9
|
Tables: {
|
|
10
|
+
afhandeling_settings: {
|
|
11
|
+
Row: {
|
|
12
|
+
created_at: string;
|
|
13
|
+
id: string;
|
|
14
|
+
max_workdays_earlier_pick: number;
|
|
15
|
+
pick_days_before_transport: number;
|
|
16
|
+
pick_distribution_enabled: boolean;
|
|
17
|
+
signup_mail_enabled: boolean;
|
|
18
|
+
signup_mail_lead_minutes: number;
|
|
19
|
+
signup_mail_purpose: string;
|
|
20
|
+
transport_register_days_before: number;
|
|
21
|
+
updated_at: string;
|
|
22
|
+
user_id: string;
|
|
23
|
+
};
|
|
24
|
+
Insert: {
|
|
25
|
+
created_at?: string;
|
|
26
|
+
id?: string;
|
|
27
|
+
max_workdays_earlier_pick?: number;
|
|
28
|
+
pick_days_before_transport?: number;
|
|
29
|
+
pick_distribution_enabled?: boolean;
|
|
30
|
+
signup_mail_enabled?: boolean;
|
|
31
|
+
signup_mail_lead_minutes?: number;
|
|
32
|
+
signup_mail_purpose?: string;
|
|
33
|
+
transport_register_days_before?: number;
|
|
34
|
+
updated_at?: string;
|
|
35
|
+
user_id: string;
|
|
36
|
+
};
|
|
37
|
+
Update: {
|
|
38
|
+
created_at?: string;
|
|
39
|
+
id?: string;
|
|
40
|
+
max_workdays_earlier_pick?: number;
|
|
41
|
+
pick_days_before_transport?: number;
|
|
42
|
+
pick_distribution_enabled?: boolean;
|
|
43
|
+
signup_mail_enabled?: boolean;
|
|
44
|
+
signup_mail_lead_minutes?: number;
|
|
45
|
+
signup_mail_purpose?: string;
|
|
46
|
+
transport_register_days_before?: number;
|
|
47
|
+
updated_at?: string;
|
|
48
|
+
user_id?: string;
|
|
49
|
+
};
|
|
50
|
+
Relationships: [];
|
|
51
|
+
};
|
|
10
52
|
agenda_connections: {
|
|
11
53
|
Row: {
|
|
12
54
|
account_email: string | null;
|
|
@@ -416,6 +458,53 @@ export type Database = {
|
|
|
416
458
|
}
|
|
417
459
|
];
|
|
418
460
|
};
|
|
461
|
+
carrier_signup_dispatches: {
|
|
462
|
+
Row: {
|
|
463
|
+
carrier_id: string;
|
|
464
|
+
cart_count: number;
|
|
465
|
+
created_at: string;
|
|
466
|
+
id: string;
|
|
467
|
+
order_count: number;
|
|
468
|
+
outbox_id: string | null;
|
|
469
|
+
pickup_date: string;
|
|
470
|
+
pickup_moment_key: string;
|
|
471
|
+
sent_at: string;
|
|
472
|
+
signup_deadline: string;
|
|
473
|
+
};
|
|
474
|
+
Insert: {
|
|
475
|
+
carrier_id: string;
|
|
476
|
+
cart_count?: number;
|
|
477
|
+
created_at?: string;
|
|
478
|
+
id?: string;
|
|
479
|
+
order_count?: number;
|
|
480
|
+
outbox_id?: string | null;
|
|
481
|
+
pickup_date: string;
|
|
482
|
+
pickup_moment_key: string;
|
|
483
|
+
sent_at?: string;
|
|
484
|
+
signup_deadline: string;
|
|
485
|
+
};
|
|
486
|
+
Update: {
|
|
487
|
+
carrier_id?: string;
|
|
488
|
+
cart_count?: number;
|
|
489
|
+
created_at?: string;
|
|
490
|
+
id?: string;
|
|
491
|
+
order_count?: number;
|
|
492
|
+
outbox_id?: string | null;
|
|
493
|
+
pickup_date?: string;
|
|
494
|
+
pickup_moment_key?: string;
|
|
495
|
+
sent_at?: string;
|
|
496
|
+
signup_deadline?: string;
|
|
497
|
+
};
|
|
498
|
+
Relationships: [
|
|
499
|
+
{
|
|
500
|
+
foreignKeyName: "carrier_signup_dispatches_carrier_id_fkey";
|
|
501
|
+
columns: ["carrier_id"];
|
|
502
|
+
isOneToOne: false;
|
|
503
|
+
referencedRelation: "carriers";
|
|
504
|
+
referencedColumns: ["id"];
|
|
505
|
+
}
|
|
506
|
+
];
|
|
507
|
+
};
|
|
419
508
|
carriers: {
|
|
420
509
|
Row: {
|
|
421
510
|
address: string | null;
|
|
@@ -424,11 +513,18 @@ export type Database = {
|
|
|
424
513
|
delivery_days: number | null;
|
|
425
514
|
email: string | null;
|
|
426
515
|
id: string;
|
|
516
|
+
is_default: boolean;
|
|
427
517
|
name: string;
|
|
428
518
|
notes: string | null;
|
|
429
519
|
phone: string | null;
|
|
520
|
+
pickup_moments: Json;
|
|
521
|
+
service_cities: string[];
|
|
522
|
+
service_countries: string[];
|
|
523
|
+
service_provinces: string[];
|
|
524
|
+
signup_days_before_delivery: number;
|
|
430
525
|
signup_time_1: string | null;
|
|
431
526
|
signup_time_2: string | null;
|
|
527
|
+
sort_order: number;
|
|
432
528
|
updated_at: string;
|
|
433
529
|
user_id: string;
|
|
434
530
|
};
|
|
@@ -439,11 +535,18 @@ export type Database = {
|
|
|
439
535
|
delivery_days?: number | null;
|
|
440
536
|
email?: string | null;
|
|
441
537
|
id?: string;
|
|
538
|
+
is_default?: boolean;
|
|
442
539
|
name: string;
|
|
443
540
|
notes?: string | null;
|
|
444
541
|
phone?: string | null;
|
|
542
|
+
pickup_moments?: Json;
|
|
543
|
+
service_cities?: string[];
|
|
544
|
+
service_countries?: string[];
|
|
545
|
+
service_provinces?: string[];
|
|
546
|
+
signup_days_before_delivery?: number;
|
|
445
547
|
signup_time_1?: string | null;
|
|
446
548
|
signup_time_2?: string | null;
|
|
549
|
+
sort_order?: number;
|
|
447
550
|
updated_at?: string;
|
|
448
551
|
user_id: string;
|
|
449
552
|
};
|
|
@@ -454,16 +557,62 @@ export type Database = {
|
|
|
454
557
|
delivery_days?: number | null;
|
|
455
558
|
email?: string | null;
|
|
456
559
|
id?: string;
|
|
560
|
+
is_default?: boolean;
|
|
457
561
|
name?: string;
|
|
458
562
|
notes?: string | null;
|
|
459
563
|
phone?: string | null;
|
|
564
|
+
pickup_moments?: Json;
|
|
565
|
+
service_cities?: string[];
|
|
566
|
+
service_countries?: string[];
|
|
567
|
+
service_provinces?: string[];
|
|
568
|
+
signup_days_before_delivery?: number;
|
|
460
569
|
signup_time_1?: string | null;
|
|
461
570
|
signup_time_2?: string | null;
|
|
571
|
+
sort_order?: number;
|
|
462
572
|
updated_at?: string;
|
|
463
573
|
user_id?: string;
|
|
464
574
|
};
|
|
465
575
|
Relationships: [];
|
|
466
576
|
};
|
|
577
|
+
cart_pick_overrides: {
|
|
578
|
+
Row: {
|
|
579
|
+
cart_index: number;
|
|
580
|
+
created_at: string;
|
|
581
|
+
id: string;
|
|
582
|
+
moved_from_date: string | null;
|
|
583
|
+
notes: string | null;
|
|
584
|
+
order_id: string;
|
|
585
|
+
order_source: string;
|
|
586
|
+
pick_date: string;
|
|
587
|
+
status: string;
|
|
588
|
+
updated_at: string;
|
|
589
|
+
};
|
|
590
|
+
Insert: {
|
|
591
|
+
cart_index: number;
|
|
592
|
+
created_at?: string;
|
|
593
|
+
id?: string;
|
|
594
|
+
moved_from_date?: string | null;
|
|
595
|
+
notes?: string | null;
|
|
596
|
+
order_id: string;
|
|
597
|
+
order_source: string;
|
|
598
|
+
pick_date: string;
|
|
599
|
+
status?: string;
|
|
600
|
+
updated_at?: string;
|
|
601
|
+
};
|
|
602
|
+
Update: {
|
|
603
|
+
cart_index?: number;
|
|
604
|
+
created_at?: string;
|
|
605
|
+
id?: string;
|
|
606
|
+
moved_from_date?: string | null;
|
|
607
|
+
notes?: string | null;
|
|
608
|
+
order_id?: string;
|
|
609
|
+
order_source?: string;
|
|
610
|
+
pick_date?: string;
|
|
611
|
+
status?: string;
|
|
612
|
+
updated_at?: string;
|
|
613
|
+
};
|
|
614
|
+
Relationships: [];
|
|
615
|
+
};
|
|
467
616
|
collections: {
|
|
468
617
|
Row: {
|
|
469
618
|
created_at: string;
|
|
@@ -579,50 +728,75 @@ export type Database = {
|
|
|
579
728
|
customer_delivery_locations: {
|
|
580
729
|
Row: {
|
|
581
730
|
address_line: string | null;
|
|
731
|
+
carrier_assignment_source: string;
|
|
732
|
+
carrier_id: string | null;
|
|
582
733
|
city: string | null;
|
|
583
734
|
country: string | null;
|
|
584
735
|
created_at: string;
|
|
585
736
|
customer_id: string;
|
|
586
737
|
floriday_location_id: string | null;
|
|
587
738
|
gln: string | null;
|
|
739
|
+
house_number: string | null;
|
|
588
740
|
id: string;
|
|
589
741
|
is_primary: boolean;
|
|
590
742
|
name: string | null;
|
|
591
743
|
postal_code: string | null;
|
|
744
|
+
province: string | null;
|
|
592
745
|
raw: Json | null;
|
|
746
|
+
self_pickup: boolean;
|
|
747
|
+
street: string | null;
|
|
593
748
|
updated_at: string;
|
|
594
749
|
};
|
|
595
750
|
Insert: {
|
|
596
751
|
address_line?: string | null;
|
|
752
|
+
carrier_assignment_source?: string;
|
|
753
|
+
carrier_id?: string | null;
|
|
597
754
|
city?: string | null;
|
|
598
755
|
country?: string | null;
|
|
599
756
|
created_at?: string;
|
|
600
757
|
customer_id: string;
|
|
601
758
|
floriday_location_id?: string | null;
|
|
602
759
|
gln?: string | null;
|
|
760
|
+
house_number?: string | null;
|
|
603
761
|
id?: string;
|
|
604
762
|
is_primary?: boolean;
|
|
605
763
|
name?: string | null;
|
|
606
764
|
postal_code?: string | null;
|
|
765
|
+
province?: string | null;
|
|
607
766
|
raw?: Json | null;
|
|
767
|
+
self_pickup?: boolean;
|
|
768
|
+
street?: string | null;
|
|
608
769
|
updated_at?: string;
|
|
609
770
|
};
|
|
610
771
|
Update: {
|
|
611
772
|
address_line?: string | null;
|
|
773
|
+
carrier_assignment_source?: string;
|
|
774
|
+
carrier_id?: string | null;
|
|
612
775
|
city?: string | null;
|
|
613
776
|
country?: string | null;
|
|
614
777
|
created_at?: string;
|
|
615
778
|
customer_id?: string;
|
|
616
779
|
floriday_location_id?: string | null;
|
|
617
780
|
gln?: string | null;
|
|
781
|
+
house_number?: string | null;
|
|
618
782
|
id?: string;
|
|
619
783
|
is_primary?: boolean;
|
|
620
784
|
name?: string | null;
|
|
621
785
|
postal_code?: string | null;
|
|
786
|
+
province?: string | null;
|
|
622
787
|
raw?: Json | null;
|
|
788
|
+
self_pickup?: boolean;
|
|
789
|
+
street?: string | null;
|
|
623
790
|
updated_at?: string;
|
|
624
791
|
};
|
|
625
792
|
Relationships: [
|
|
793
|
+
{
|
|
794
|
+
foreignKeyName: "customer_delivery_locations_carrier_id_fkey";
|
|
795
|
+
columns: ["carrier_id"];
|
|
796
|
+
isOneToOne: false;
|
|
797
|
+
referencedRelation: "carriers";
|
|
798
|
+
referencedColumns: ["id"];
|
|
799
|
+
},
|
|
626
800
|
{
|
|
627
801
|
foreignKeyName: "customer_delivery_locations_customer_id_fkey";
|
|
628
802
|
columns: ["customer_id"];
|
|
@@ -1450,18 +1624,21 @@ export type Database = {
|
|
|
1450
1624
|
};
|
|
1451
1625
|
email_auth_purpose_settings: {
|
|
1452
1626
|
Row: {
|
|
1627
|
+
default_cc: string[];
|
|
1453
1628
|
purpose: string;
|
|
1454
1629
|
reply_to: string | null;
|
|
1455
1630
|
updated_at: string;
|
|
1456
1631
|
updated_by: string | null;
|
|
1457
1632
|
};
|
|
1458
1633
|
Insert: {
|
|
1634
|
+
default_cc?: string[];
|
|
1459
1635
|
purpose: string;
|
|
1460
1636
|
reply_to?: string | null;
|
|
1461
1637
|
updated_at?: string;
|
|
1462
1638
|
updated_by?: string | null;
|
|
1463
1639
|
};
|
|
1464
1640
|
Update: {
|
|
1641
|
+
default_cc?: string[];
|
|
1465
1642
|
purpose?: string;
|
|
1466
1643
|
reply_to?: string | null;
|
|
1467
1644
|
updated_at?: string;
|
|
@@ -2257,6 +2434,53 @@ export type Database = {
|
|
|
2257
2434
|
}
|
|
2258
2435
|
];
|
|
2259
2436
|
};
|
|
2437
|
+
exact_push_queue: {
|
|
2438
|
+
Row: {
|
|
2439
|
+
attempts: number;
|
|
2440
|
+
connection_id: string;
|
|
2441
|
+
created_at: string;
|
|
2442
|
+
external_id: string | null;
|
|
2443
|
+
id: string;
|
|
2444
|
+
idempotency_hash: string;
|
|
2445
|
+
last_error: string | null;
|
|
2446
|
+
payload: Json;
|
|
2447
|
+
status: Database["public"]["Enums"]["exact_push_status"];
|
|
2448
|
+
updated_at: string;
|
|
2449
|
+
};
|
|
2450
|
+
Insert: {
|
|
2451
|
+
attempts?: number;
|
|
2452
|
+
connection_id: string;
|
|
2453
|
+
created_at?: string;
|
|
2454
|
+
external_id?: string | null;
|
|
2455
|
+
id?: string;
|
|
2456
|
+
idempotency_hash: string;
|
|
2457
|
+
last_error?: string | null;
|
|
2458
|
+
payload: Json;
|
|
2459
|
+
status?: Database["public"]["Enums"]["exact_push_status"];
|
|
2460
|
+
updated_at?: string;
|
|
2461
|
+
};
|
|
2462
|
+
Update: {
|
|
2463
|
+
attempts?: number;
|
|
2464
|
+
connection_id?: string;
|
|
2465
|
+
created_at?: string;
|
|
2466
|
+
external_id?: string | null;
|
|
2467
|
+
id?: string;
|
|
2468
|
+
idempotency_hash?: string;
|
|
2469
|
+
last_error?: string | null;
|
|
2470
|
+
payload?: Json;
|
|
2471
|
+
status?: Database["public"]["Enums"]["exact_push_status"];
|
|
2472
|
+
updated_at?: string;
|
|
2473
|
+
};
|
|
2474
|
+
Relationships: [
|
|
2475
|
+
{
|
|
2476
|
+
foreignKeyName: "exact_push_queue_connection_id_fkey";
|
|
2477
|
+
columns: ["connection_id"];
|
|
2478
|
+
isOneToOne: false;
|
|
2479
|
+
referencedRelation: "exact_connections";
|
|
2480
|
+
referencedColumns: ["id"];
|
|
2481
|
+
}
|
|
2482
|
+
];
|
|
2483
|
+
};
|
|
2260
2484
|
exact_refresh_locks: {
|
|
2261
2485
|
Row: {
|
|
2262
2486
|
environment: Database["public"]["Enums"]["exact_env"];
|
|
@@ -2319,6 +2543,8 @@ export type Database = {
|
|
|
2319
2543
|
connection_id: string;
|
|
2320
2544
|
last_error: string | null;
|
|
2321
2545
|
last_modified_cursor: string | null;
|
|
2546
|
+
last_modified_cursor_customers: string | null;
|
|
2547
|
+
last_modified_cursor_invoices: string | null;
|
|
2322
2548
|
last_synced_at: string | null;
|
|
2323
2549
|
status: string;
|
|
2324
2550
|
updated_at: string;
|
|
@@ -2327,6 +2553,8 @@ export type Database = {
|
|
|
2327
2553
|
connection_id: string;
|
|
2328
2554
|
last_error?: string | null;
|
|
2329
2555
|
last_modified_cursor?: string | null;
|
|
2556
|
+
last_modified_cursor_customers?: string | null;
|
|
2557
|
+
last_modified_cursor_invoices?: string | null;
|
|
2330
2558
|
last_synced_at?: string | null;
|
|
2331
2559
|
status?: string;
|
|
2332
2560
|
updated_at?: string;
|
|
@@ -2335,6 +2563,8 @@ export type Database = {
|
|
|
2335
2563
|
connection_id?: string;
|
|
2336
2564
|
last_error?: string | null;
|
|
2337
2565
|
last_modified_cursor?: string | null;
|
|
2566
|
+
last_modified_cursor_customers?: string | null;
|
|
2567
|
+
last_modified_cursor_invoices?: string | null;
|
|
2338
2568
|
last_synced_at?: string | null;
|
|
2339
2569
|
status?: string;
|
|
2340
2570
|
updated_at?: string;
|
|
@@ -2377,6 +2607,54 @@ export type Database = {
|
|
|
2377
2607
|
};
|
|
2378
2608
|
Relationships: [];
|
|
2379
2609
|
};
|
|
2610
|
+
external_invoice_providers: {
|
|
2611
|
+
Row: {
|
|
2612
|
+
color: string | null;
|
|
2613
|
+
created_at: string;
|
|
2614
|
+
hmac_secret_name: string | null;
|
|
2615
|
+
icon: string | null;
|
|
2616
|
+
is_enabled: boolean;
|
|
2617
|
+
label: string;
|
|
2618
|
+
last_synced_at: string | null;
|
|
2619
|
+
provider: string;
|
|
2620
|
+
push_endpoint: string | null;
|
|
2621
|
+
sort_order: number;
|
|
2622
|
+
status_endpoint: string | null;
|
|
2623
|
+
sync_endpoint: string | null;
|
|
2624
|
+
updated_at: string;
|
|
2625
|
+
};
|
|
2626
|
+
Insert: {
|
|
2627
|
+
color?: string | null;
|
|
2628
|
+
created_at?: string;
|
|
2629
|
+
hmac_secret_name?: string | null;
|
|
2630
|
+
icon?: string | null;
|
|
2631
|
+
is_enabled?: boolean;
|
|
2632
|
+
label: string;
|
|
2633
|
+
last_synced_at?: string | null;
|
|
2634
|
+
provider: string;
|
|
2635
|
+
push_endpoint?: string | null;
|
|
2636
|
+
sort_order?: number;
|
|
2637
|
+
status_endpoint?: string | null;
|
|
2638
|
+
sync_endpoint?: string | null;
|
|
2639
|
+
updated_at?: string;
|
|
2640
|
+
};
|
|
2641
|
+
Update: {
|
|
2642
|
+
color?: string | null;
|
|
2643
|
+
created_at?: string;
|
|
2644
|
+
hmac_secret_name?: string | null;
|
|
2645
|
+
icon?: string | null;
|
|
2646
|
+
is_enabled?: boolean;
|
|
2647
|
+
label?: string;
|
|
2648
|
+
last_synced_at?: string | null;
|
|
2649
|
+
provider?: string;
|
|
2650
|
+
push_endpoint?: string | null;
|
|
2651
|
+
sort_order?: number;
|
|
2652
|
+
status_endpoint?: string | null;
|
|
2653
|
+
sync_endpoint?: string | null;
|
|
2654
|
+
updated_at?: string;
|
|
2655
|
+
};
|
|
2656
|
+
Relationships: [];
|
|
2657
|
+
};
|
|
2380
2658
|
extra_categories: {
|
|
2381
2659
|
Row: {
|
|
2382
2660
|
created_at: string;
|
|
@@ -2401,12 +2679,40 @@ export type Database = {
|
|
|
2401
2679
|
};
|
|
2402
2680
|
Relationships: [];
|
|
2403
2681
|
};
|
|
2682
|
+
extra_pricing_types: {
|
|
2683
|
+
Row: {
|
|
2684
|
+
code: string;
|
|
2685
|
+
created_at: string;
|
|
2686
|
+
id: string;
|
|
2687
|
+
label: string;
|
|
2688
|
+
sort_order: number;
|
|
2689
|
+
updated_at: string;
|
|
2690
|
+
};
|
|
2691
|
+
Insert: {
|
|
2692
|
+
code: string;
|
|
2693
|
+
created_at?: string;
|
|
2694
|
+
id?: string;
|
|
2695
|
+
label: string;
|
|
2696
|
+
sort_order?: number;
|
|
2697
|
+
updated_at?: string;
|
|
2698
|
+
};
|
|
2699
|
+
Update: {
|
|
2700
|
+
code?: string;
|
|
2701
|
+
created_at?: string;
|
|
2702
|
+
id?: string;
|
|
2703
|
+
label?: string;
|
|
2704
|
+
sort_order?: number;
|
|
2705
|
+
updated_at?: string;
|
|
2706
|
+
};
|
|
2707
|
+
Relationships: [];
|
|
2708
|
+
};
|
|
2404
2709
|
extras: {
|
|
2405
2710
|
Row: {
|
|
2406
2711
|
category: string;
|
|
2407
2712
|
created_at: string;
|
|
2408
2713
|
exact_article_id: string | null;
|
|
2409
2714
|
id: string;
|
|
2715
|
+
image_url: string | null;
|
|
2410
2716
|
is_active: boolean;
|
|
2411
2717
|
name: string;
|
|
2412
2718
|
price: number;
|
|
@@ -2417,6 +2723,7 @@ export type Database = {
|
|
|
2417
2723
|
created_at?: string;
|
|
2418
2724
|
exact_article_id?: string | null;
|
|
2419
2725
|
id?: string;
|
|
2726
|
+
image_url?: string | null;
|
|
2420
2727
|
is_active?: boolean;
|
|
2421
2728
|
name: string;
|
|
2422
2729
|
price?: number;
|
|
@@ -2427,6 +2734,7 @@ export type Database = {
|
|
|
2427
2734
|
created_at?: string;
|
|
2428
2735
|
exact_article_id?: string | null;
|
|
2429
2736
|
id?: string;
|
|
2737
|
+
image_url?: string | null;
|
|
2430
2738
|
is_active?: boolean;
|
|
2431
2739
|
name?: string;
|
|
2432
2740
|
price?: number;
|
|
@@ -2524,43 +2832,37 @@ export type Database = {
|
|
|
2524
2832
|
};
|
|
2525
2833
|
Relationships: [];
|
|
2526
2834
|
};
|
|
2527
|
-
|
|
2835
|
+
floriday_additional_services_cache: {
|
|
2528
2836
|
Row: {
|
|
2529
|
-
connection_id: string
|
|
2530
|
-
created_at: string;
|
|
2837
|
+
connection_id: string;
|
|
2531
2838
|
data: Json;
|
|
2532
2839
|
fetched_at: string;
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
organization_id: string;
|
|
2840
|
+
floriday_id: string;
|
|
2841
|
+
is_deleted: boolean;
|
|
2842
|
+
sequence_number: number;
|
|
2537
2843
|
updated_at: string;
|
|
2538
2844
|
};
|
|
2539
2845
|
Insert: {
|
|
2540
|
-
connection_id
|
|
2541
|
-
created_at?: string;
|
|
2846
|
+
connection_id: string;
|
|
2542
2847
|
data: Json;
|
|
2543
2848
|
fetched_at?: string;
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
organization_id: string;
|
|
2849
|
+
floriday_id: string;
|
|
2850
|
+
is_deleted?: boolean;
|
|
2851
|
+
sequence_number?: number;
|
|
2548
2852
|
updated_at?: string;
|
|
2549
2853
|
};
|
|
2550
2854
|
Update: {
|
|
2551
|
-
connection_id?: string
|
|
2552
|
-
created_at?: string;
|
|
2855
|
+
connection_id?: string;
|
|
2553
2856
|
data?: Json;
|
|
2554
2857
|
fetched_at?: string;
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
organization_id?: string;
|
|
2858
|
+
floriday_id?: string;
|
|
2859
|
+
is_deleted?: boolean;
|
|
2860
|
+
sequence_number?: number;
|
|
2559
2861
|
updated_at?: string;
|
|
2560
2862
|
};
|
|
2561
2863
|
Relationships: [
|
|
2562
2864
|
{
|
|
2563
|
-
foreignKeyName: "
|
|
2865
|
+
foreignKeyName: "floriday_additional_services_cache_connection_id_fkey";
|
|
2564
2866
|
columns: ["connection_id"];
|
|
2565
2867
|
isOneToOne: false;
|
|
2566
2868
|
referencedRelation: "floriday_connections";
|
|
@@ -2568,100 +2870,102 @@ export type Database = {
|
|
|
2568
2870
|
}
|
|
2569
2871
|
];
|
|
2570
2872
|
};
|
|
2571
|
-
|
|
2873
|
+
floriday_agreement_calloffs_cache: {
|
|
2572
2874
|
Row: {
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
environment: string;
|
|
2580
|
-
gln_code: string | null;
|
|
2875
|
+
agreement_id: string | null;
|
|
2876
|
+
connection_id: string;
|
|
2877
|
+
data: Json;
|
|
2878
|
+
delivery_date: string | null;
|
|
2879
|
+
fetched_at: string;
|
|
2880
|
+
floriday_id: string;
|
|
2581
2881
|
id: string;
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
preferred_warehouse_id: string | null;
|
|
2586
|
-
preferred_warehouse_name: string | null;
|
|
2587
|
-
token_expires_at: string | null;
|
|
2882
|
+
is_deleted: boolean;
|
|
2883
|
+
sequence_number: number;
|
|
2884
|
+
status: string | null;
|
|
2588
2885
|
updated_at: string;
|
|
2589
2886
|
};
|
|
2590
2887
|
Insert: {
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
environment: string;
|
|
2598
|
-
gln_code?: string | null;
|
|
2888
|
+
agreement_id?: string | null;
|
|
2889
|
+
connection_id: string;
|
|
2890
|
+
data?: Json;
|
|
2891
|
+
delivery_date?: string | null;
|
|
2892
|
+
fetched_at?: string;
|
|
2893
|
+
floriday_id: string;
|
|
2599
2894
|
id?: string;
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
preferred_warehouse_id?: string | null;
|
|
2604
|
-
preferred_warehouse_name?: string | null;
|
|
2605
|
-
token_expires_at?: string | null;
|
|
2895
|
+
is_deleted?: boolean;
|
|
2896
|
+
sequence_number?: number;
|
|
2897
|
+
status?: string | null;
|
|
2606
2898
|
updated_at?: string;
|
|
2607
2899
|
};
|
|
2608
2900
|
Update: {
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
environment?: string;
|
|
2616
|
-
gln_code?: string | null;
|
|
2901
|
+
agreement_id?: string | null;
|
|
2902
|
+
connection_id?: string;
|
|
2903
|
+
data?: Json;
|
|
2904
|
+
delivery_date?: string | null;
|
|
2905
|
+
fetched_at?: string;
|
|
2906
|
+
floriday_id?: string;
|
|
2617
2907
|
id?: string;
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
preferred_warehouse_id?: string | null;
|
|
2622
|
-
preferred_warehouse_name?: string | null;
|
|
2623
|
-
token_expires_at?: string | null;
|
|
2908
|
+
is_deleted?: boolean;
|
|
2909
|
+
sequence_number?: number;
|
|
2910
|
+
status?: string | null;
|
|
2624
2911
|
updated_at?: string;
|
|
2625
2912
|
};
|
|
2626
|
-
Relationships: [
|
|
2913
|
+
Relationships: [
|
|
2914
|
+
{
|
|
2915
|
+
foreignKeyName: "floriday_agreement_calloffs_cache_connection_id_fkey";
|
|
2916
|
+
columns: ["connection_id"];
|
|
2917
|
+
isOneToOne: false;
|
|
2918
|
+
referencedRelation: "floriday_connections";
|
|
2919
|
+
referencedColumns: ["id"];
|
|
2920
|
+
}
|
|
2921
|
+
];
|
|
2627
2922
|
};
|
|
2628
|
-
|
|
2923
|
+
floriday_agreements_cache: {
|
|
2629
2924
|
Row: {
|
|
2630
2925
|
buyer_organization_id: string | null;
|
|
2631
|
-
buyer_organization_name: string | null;
|
|
2632
2926
|
connection_id: string;
|
|
2633
2927
|
data: Json;
|
|
2634
|
-
|
|
2928
|
+
fetched_at: string;
|
|
2929
|
+
floriday_id: string;
|
|
2930
|
+
id: string;
|
|
2635
2931
|
is_deleted: boolean;
|
|
2636
2932
|
sequence_number: number;
|
|
2637
2933
|
status: string | null;
|
|
2638
|
-
|
|
2934
|
+
updated_at: string;
|
|
2935
|
+
valid_from: string | null;
|
|
2936
|
+
valid_until: string | null;
|
|
2639
2937
|
};
|
|
2640
2938
|
Insert: {
|
|
2641
2939
|
buyer_organization_id?: string | null;
|
|
2642
|
-
buyer_organization_name?: string | null;
|
|
2643
2940
|
connection_id: string;
|
|
2644
|
-
data
|
|
2645
|
-
|
|
2941
|
+
data?: Json;
|
|
2942
|
+
fetched_at?: string;
|
|
2943
|
+
floriday_id: string;
|
|
2944
|
+
id?: string;
|
|
2646
2945
|
is_deleted?: boolean;
|
|
2647
|
-
sequence_number
|
|
2946
|
+
sequence_number?: number;
|
|
2648
2947
|
status?: string | null;
|
|
2649
|
-
|
|
2948
|
+
updated_at?: string;
|
|
2949
|
+
valid_from?: string | null;
|
|
2950
|
+
valid_until?: string | null;
|
|
2650
2951
|
};
|
|
2651
2952
|
Update: {
|
|
2652
2953
|
buyer_organization_id?: string | null;
|
|
2653
|
-
buyer_organization_name?: string | null;
|
|
2654
2954
|
connection_id?: string;
|
|
2655
2955
|
data?: Json;
|
|
2656
|
-
|
|
2956
|
+
fetched_at?: string;
|
|
2957
|
+
floriday_id?: string;
|
|
2958
|
+
id?: string;
|
|
2657
2959
|
is_deleted?: boolean;
|
|
2658
2960
|
sequence_number?: number;
|
|
2659
2961
|
status?: string | null;
|
|
2660
|
-
|
|
2962
|
+
updated_at?: string;
|
|
2963
|
+
valid_from?: string | null;
|
|
2964
|
+
valid_until?: string | null;
|
|
2661
2965
|
};
|
|
2662
2966
|
Relationships: [
|
|
2663
2967
|
{
|
|
2664
|
-
foreignKeyName: "
|
|
2968
|
+
foreignKeyName: "floriday_agreements_cache_connection_id_fkey";
|
|
2665
2969
|
columns: ["connection_id"];
|
|
2666
2970
|
isOneToOne: false;
|
|
2667
2971
|
referencedRelation: "floriday_connections";
|
|
@@ -2669,28 +2973,166 @@ export type Database = {
|
|
|
2669
2973
|
}
|
|
2670
2974
|
];
|
|
2671
2975
|
};
|
|
2672
|
-
|
|
2976
|
+
floriday_auction_letters_cache: {
|
|
2977
|
+
Row: {
|
|
2978
|
+
auction_letter_code: string;
|
|
2979
|
+
clock_supply_id: string;
|
|
2980
|
+
connection_id: string;
|
|
2981
|
+
content_type: string;
|
|
2982
|
+
fetched_at: string;
|
|
2983
|
+
id: string;
|
|
2984
|
+
storage_path: string;
|
|
2985
|
+
};
|
|
2986
|
+
Insert: {
|
|
2987
|
+
auction_letter_code: string;
|
|
2988
|
+
clock_supply_id: string;
|
|
2989
|
+
connection_id: string;
|
|
2990
|
+
content_type?: string;
|
|
2991
|
+
fetched_at?: string;
|
|
2992
|
+
id?: string;
|
|
2993
|
+
storage_path: string;
|
|
2994
|
+
};
|
|
2995
|
+
Update: {
|
|
2996
|
+
auction_letter_code?: string;
|
|
2997
|
+
clock_supply_id?: string;
|
|
2998
|
+
connection_id?: string;
|
|
2999
|
+
content_type?: string;
|
|
3000
|
+
fetched_at?: string;
|
|
3001
|
+
id?: string;
|
|
3002
|
+
storage_path?: string;
|
|
3003
|
+
};
|
|
3004
|
+
Relationships: [
|
|
3005
|
+
{
|
|
3006
|
+
foreignKeyName: "floriday_auction_letters_cache_connection_id_fkey";
|
|
3007
|
+
columns: ["connection_id"];
|
|
3008
|
+
isOneToOne: false;
|
|
3009
|
+
referencedRelation: "floriday_connections";
|
|
3010
|
+
referencedColumns: ["id"];
|
|
3011
|
+
}
|
|
3012
|
+
];
|
|
3013
|
+
};
|
|
3014
|
+
floriday_base_items_cache: {
|
|
3015
|
+
Row: {
|
|
3016
|
+
connection_id: string;
|
|
3017
|
+
data: Json;
|
|
3018
|
+
fetched_at: string;
|
|
3019
|
+
floriday_id: string;
|
|
3020
|
+
is_deleted: boolean;
|
|
3021
|
+
sequence_number: number;
|
|
3022
|
+
updated_at: string;
|
|
3023
|
+
};
|
|
3024
|
+
Insert: {
|
|
3025
|
+
connection_id: string;
|
|
3026
|
+
data: Json;
|
|
3027
|
+
fetched_at?: string;
|
|
3028
|
+
floriday_id: string;
|
|
3029
|
+
is_deleted?: boolean;
|
|
3030
|
+
sequence_number?: number;
|
|
3031
|
+
updated_at?: string;
|
|
3032
|
+
};
|
|
3033
|
+
Update: {
|
|
3034
|
+
connection_id?: string;
|
|
3035
|
+
data?: Json;
|
|
3036
|
+
fetched_at?: string;
|
|
3037
|
+
floriday_id?: string;
|
|
3038
|
+
is_deleted?: boolean;
|
|
3039
|
+
sequence_number?: number;
|
|
3040
|
+
updated_at?: string;
|
|
3041
|
+
};
|
|
3042
|
+
Relationships: [
|
|
3043
|
+
{
|
|
3044
|
+
foreignKeyName: "floriday_base_items_cache_connection_id_fkey";
|
|
3045
|
+
columns: ["connection_id"];
|
|
3046
|
+
isOneToOne: false;
|
|
3047
|
+
referencedRelation: "floriday_connections";
|
|
3048
|
+
referencedColumns: ["id"];
|
|
3049
|
+
}
|
|
3050
|
+
];
|
|
3051
|
+
};
|
|
3052
|
+
floriday_blanket_orders_cache: {
|
|
3053
|
+
Row: {
|
|
3054
|
+
connection_id: string;
|
|
3055
|
+
contract_id: string | null;
|
|
3056
|
+
created_at: string;
|
|
3057
|
+
data: Json;
|
|
3058
|
+
fetched_at: string;
|
|
3059
|
+
floriday_id: string;
|
|
3060
|
+
id: string;
|
|
3061
|
+
is_deleted: boolean;
|
|
3062
|
+
sequence_number: number;
|
|
3063
|
+
updated_at: string;
|
|
3064
|
+
};
|
|
3065
|
+
Insert: {
|
|
3066
|
+
connection_id: string;
|
|
3067
|
+
contract_id?: string | null;
|
|
3068
|
+
created_at?: string;
|
|
3069
|
+
data: Json;
|
|
3070
|
+
fetched_at?: string;
|
|
3071
|
+
floriday_id: string;
|
|
3072
|
+
id?: string;
|
|
3073
|
+
is_deleted?: boolean;
|
|
3074
|
+
sequence_number?: number;
|
|
3075
|
+
updated_at?: string;
|
|
3076
|
+
};
|
|
3077
|
+
Update: {
|
|
3078
|
+
connection_id?: string;
|
|
3079
|
+
contract_id?: string | null;
|
|
3080
|
+
created_at?: string;
|
|
3081
|
+
data?: Json;
|
|
3082
|
+
fetched_at?: string;
|
|
3083
|
+
floriday_id?: string;
|
|
3084
|
+
id?: string;
|
|
3085
|
+
is_deleted?: boolean;
|
|
3086
|
+
sequence_number?: number;
|
|
3087
|
+
updated_at?: string;
|
|
3088
|
+
};
|
|
3089
|
+
Relationships: [
|
|
3090
|
+
{
|
|
3091
|
+
foreignKeyName: "floriday_blanket_orders_cache_connection_id_fkey";
|
|
3092
|
+
columns: ["connection_id"];
|
|
3093
|
+
isOneToOne: false;
|
|
3094
|
+
referencedRelation: "floriday_connections";
|
|
3095
|
+
referencedColumns: ["id"];
|
|
3096
|
+
}
|
|
3097
|
+
];
|
|
3098
|
+
};
|
|
3099
|
+
floriday_carriers_cache: {
|
|
2673
3100
|
Row: {
|
|
2674
3101
|
connection_id: string | null;
|
|
3102
|
+
created_at: string;
|
|
2675
3103
|
data: Json;
|
|
2676
3104
|
fetched_at: string;
|
|
3105
|
+
gln_code: string | null;
|
|
3106
|
+
id: string;
|
|
3107
|
+
name: string | null;
|
|
2677
3108
|
organization_id: string;
|
|
3109
|
+
updated_at: string;
|
|
2678
3110
|
};
|
|
2679
3111
|
Insert: {
|
|
2680
3112
|
connection_id?: string | null;
|
|
2681
|
-
|
|
3113
|
+
created_at?: string;
|
|
3114
|
+
data: Json;
|
|
2682
3115
|
fetched_at?: string;
|
|
3116
|
+
gln_code?: string | null;
|
|
3117
|
+
id?: string;
|
|
3118
|
+
name?: string | null;
|
|
2683
3119
|
organization_id: string;
|
|
3120
|
+
updated_at?: string;
|
|
2684
3121
|
};
|
|
2685
3122
|
Update: {
|
|
2686
3123
|
connection_id?: string | null;
|
|
3124
|
+
created_at?: string;
|
|
2687
3125
|
data?: Json;
|
|
2688
3126
|
fetched_at?: string;
|
|
3127
|
+
gln_code?: string | null;
|
|
3128
|
+
id?: string;
|
|
3129
|
+
name?: string | null;
|
|
2689
3130
|
organization_id?: string;
|
|
3131
|
+
updated_at?: string;
|
|
2690
3132
|
};
|
|
2691
3133
|
Relationships: [
|
|
2692
3134
|
{
|
|
2693
|
-
foreignKeyName: "
|
|
3135
|
+
foreignKeyName: "floriday_carriers_cache_connection_id_fkey";
|
|
2694
3136
|
columns: ["connection_id"];
|
|
2695
3137
|
isOneToOne: false;
|
|
2696
3138
|
referencedRelation: "floriday_connections";
|
|
@@ -2698,62 +3140,1024 @@ export type Database = {
|
|
|
2698
3140
|
}
|
|
2699
3141
|
];
|
|
2700
3142
|
};
|
|
2701
|
-
|
|
3143
|
+
floriday_clock_presales_cache: {
|
|
2702
3144
|
Row: {
|
|
2703
|
-
|
|
3145
|
+
buyer_organization_id: string | null;
|
|
3146
|
+
clock_supply_id: string | null;
|
|
2704
3147
|
connection_id: string;
|
|
2705
|
-
country: string | null;
|
|
2706
3148
|
data: Json;
|
|
2707
3149
|
fetched_at: string;
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
3150
|
+
floriday_id: string;
|
|
3151
|
+
id: string;
|
|
3152
|
+
is_deleted: boolean;
|
|
3153
|
+
sequence_number: number;
|
|
3154
|
+
updated_at: string;
|
|
3155
|
+
};
|
|
3156
|
+
Insert: {
|
|
3157
|
+
buyer_organization_id?: string | null;
|
|
3158
|
+
clock_supply_id?: string | null;
|
|
3159
|
+
connection_id: string;
|
|
3160
|
+
data?: Json;
|
|
3161
|
+
fetched_at?: string;
|
|
3162
|
+
floriday_id: string;
|
|
3163
|
+
id?: string;
|
|
3164
|
+
is_deleted?: boolean;
|
|
3165
|
+
sequence_number?: number;
|
|
3166
|
+
updated_at?: string;
|
|
3167
|
+
};
|
|
3168
|
+
Update: {
|
|
3169
|
+
buyer_organization_id?: string | null;
|
|
3170
|
+
clock_supply_id?: string | null;
|
|
3171
|
+
connection_id?: string;
|
|
3172
|
+
data?: Json;
|
|
3173
|
+
fetched_at?: string;
|
|
3174
|
+
floriday_id?: string;
|
|
3175
|
+
id?: string;
|
|
3176
|
+
is_deleted?: boolean;
|
|
3177
|
+
sequence_number?: number;
|
|
3178
|
+
updated_at?: string;
|
|
3179
|
+
};
|
|
3180
|
+
Relationships: [
|
|
3181
|
+
{
|
|
3182
|
+
foreignKeyName: "floriday_clock_presales_cache_connection_id_fkey";
|
|
3183
|
+
columns: ["connection_id"];
|
|
3184
|
+
isOneToOne: false;
|
|
3185
|
+
referencedRelation: "floriday_connections";
|
|
3186
|
+
referencedColumns: ["id"];
|
|
3187
|
+
}
|
|
3188
|
+
];
|
|
3189
|
+
};
|
|
3190
|
+
floriday_clock_supplies_cache: {
|
|
3191
|
+
Row: {
|
|
3192
|
+
auction_date: string | null;
|
|
3193
|
+
connection_id: string;
|
|
3194
|
+
data: Json;
|
|
3195
|
+
fetched_at: string;
|
|
3196
|
+
floriday_id: string;
|
|
3197
|
+
id: string;
|
|
3198
|
+
is_deleted: boolean;
|
|
3199
|
+
sequence_number: number;
|
|
3200
|
+
status: string | null;
|
|
3201
|
+
trade_item_id: string | null;
|
|
3202
|
+
updated_at: string;
|
|
3203
|
+
};
|
|
3204
|
+
Insert: {
|
|
3205
|
+
auction_date?: string | null;
|
|
3206
|
+
connection_id: string;
|
|
3207
|
+
data?: Json;
|
|
3208
|
+
fetched_at?: string;
|
|
3209
|
+
floriday_id: string;
|
|
3210
|
+
id?: string;
|
|
3211
|
+
is_deleted?: boolean;
|
|
3212
|
+
sequence_number?: number;
|
|
3213
|
+
status?: string | null;
|
|
3214
|
+
trade_item_id?: string | null;
|
|
3215
|
+
updated_at?: string;
|
|
3216
|
+
};
|
|
3217
|
+
Update: {
|
|
3218
|
+
auction_date?: string | null;
|
|
3219
|
+
connection_id?: string;
|
|
3220
|
+
data?: Json;
|
|
3221
|
+
fetched_at?: string;
|
|
3222
|
+
floriday_id?: string;
|
|
3223
|
+
id?: string;
|
|
3224
|
+
is_deleted?: boolean;
|
|
3225
|
+
sequence_number?: number;
|
|
3226
|
+
status?: string | null;
|
|
3227
|
+
trade_item_id?: string | null;
|
|
3228
|
+
updated_at?: string;
|
|
3229
|
+
};
|
|
3230
|
+
Relationships: [
|
|
3231
|
+
{
|
|
3232
|
+
foreignKeyName: "floriday_clock_supplies_cache_connection_id_fkey";
|
|
3233
|
+
columns: ["connection_id"];
|
|
3234
|
+
isOneToOne: false;
|
|
3235
|
+
referencedRelation: "floriday_connections";
|
|
3236
|
+
referencedColumns: ["id"];
|
|
3237
|
+
}
|
|
3238
|
+
];
|
|
3239
|
+
};
|
|
3240
|
+
floriday_code_lists_cache: {
|
|
3241
|
+
Row: {
|
|
3242
|
+
code: string;
|
|
3243
|
+
environment: string;
|
|
3244
|
+
label: string | null;
|
|
3245
|
+
list_name: string;
|
|
3246
|
+
payload: Json | null;
|
|
3247
|
+
updated_at: string;
|
|
3248
|
+
};
|
|
3249
|
+
Insert: {
|
|
3250
|
+
code: string;
|
|
3251
|
+
environment: string;
|
|
3252
|
+
label?: string | null;
|
|
3253
|
+
list_name: string;
|
|
3254
|
+
payload?: Json | null;
|
|
3255
|
+
updated_at?: string;
|
|
3256
|
+
};
|
|
3257
|
+
Update: {
|
|
3258
|
+
code?: string;
|
|
3259
|
+
environment?: string;
|
|
3260
|
+
label?: string | null;
|
|
3261
|
+
list_name?: string;
|
|
3262
|
+
payload?: Json | null;
|
|
3263
|
+
updated_at?: string;
|
|
3264
|
+
};
|
|
3265
|
+
Relationships: [];
|
|
3266
|
+
};
|
|
3267
|
+
floriday_collections_cache: {
|
|
3268
|
+
Row: {
|
|
3269
|
+
connection_id: string;
|
|
3270
|
+
data: Json;
|
|
3271
|
+
fetched_at: string;
|
|
3272
|
+
floriday_id: string;
|
|
3273
|
+
is_deleted: boolean;
|
|
3274
|
+
sequence_number: number;
|
|
3275
|
+
updated_at: string;
|
|
3276
|
+
};
|
|
3277
|
+
Insert: {
|
|
3278
|
+
connection_id: string;
|
|
3279
|
+
data: Json;
|
|
3280
|
+
fetched_at?: string;
|
|
3281
|
+
floriday_id: string;
|
|
3282
|
+
is_deleted?: boolean;
|
|
3283
|
+
sequence_number?: number;
|
|
3284
|
+
updated_at?: string;
|
|
3285
|
+
};
|
|
3286
|
+
Update: {
|
|
3287
|
+
connection_id?: string;
|
|
3288
|
+
data?: Json;
|
|
3289
|
+
fetched_at?: string;
|
|
3290
|
+
floriday_id?: string;
|
|
3291
|
+
is_deleted?: boolean;
|
|
3292
|
+
sequence_number?: number;
|
|
3293
|
+
updated_at?: string;
|
|
3294
|
+
};
|
|
3295
|
+
Relationships: [
|
|
3296
|
+
{
|
|
3297
|
+
foreignKeyName: "floriday_collections_cache_connection_id_fkey";
|
|
3298
|
+
columns: ["connection_id"];
|
|
3299
|
+
isOneToOne: false;
|
|
3300
|
+
referencedRelation: "floriday_connections";
|
|
3301
|
+
referencedColumns: ["id"];
|
|
3302
|
+
}
|
|
3303
|
+
];
|
|
3304
|
+
};
|
|
3305
|
+
floriday_commercial_service_types_cache: {
|
|
3306
|
+
Row: {
|
|
3307
|
+
connection_id: string;
|
|
3308
|
+
data: Json;
|
|
3309
|
+
fetched_at: string;
|
|
3310
|
+
floriday_id: string;
|
|
3311
|
+
is_deleted: boolean;
|
|
3312
|
+
sequence_number: number;
|
|
3313
|
+
updated_at: string;
|
|
3314
|
+
};
|
|
3315
|
+
Insert: {
|
|
3316
|
+
connection_id: string;
|
|
3317
|
+
data: Json;
|
|
3318
|
+
fetched_at?: string;
|
|
3319
|
+
floriday_id: string;
|
|
3320
|
+
is_deleted?: boolean;
|
|
3321
|
+
sequence_number?: number;
|
|
3322
|
+
updated_at?: string;
|
|
3323
|
+
};
|
|
3324
|
+
Update: {
|
|
3325
|
+
connection_id?: string;
|
|
3326
|
+
data?: Json;
|
|
3327
|
+
fetched_at?: string;
|
|
3328
|
+
floriday_id?: string;
|
|
3329
|
+
is_deleted?: boolean;
|
|
3330
|
+
sequence_number?: number;
|
|
3331
|
+
updated_at?: string;
|
|
3332
|
+
};
|
|
3333
|
+
Relationships: [
|
|
3334
|
+
{
|
|
3335
|
+
foreignKeyName: "floriday_commercial_service_types_cache_connection_id_fkey";
|
|
3336
|
+
columns: ["connection_id"];
|
|
3337
|
+
isOneToOne: false;
|
|
3338
|
+
referencedRelation: "floriday_connections";
|
|
3339
|
+
referencedColumns: ["id"];
|
|
3340
|
+
}
|
|
3341
|
+
];
|
|
3342
|
+
};
|
|
3343
|
+
floriday_connections: {
|
|
3344
|
+
Row: {
|
|
3345
|
+
access_token: string | null;
|
|
3346
|
+
api_key: string;
|
|
3347
|
+
client_id: string;
|
|
3348
|
+
client_secret: string;
|
|
3349
|
+
created_at: string;
|
|
3350
|
+
customers_endpoint: string | null;
|
|
3351
|
+
environment: string;
|
|
3352
|
+
gln_code: string | null;
|
|
3353
|
+
id: string;
|
|
3354
|
+
is_active: boolean;
|
|
3355
|
+
label: string;
|
|
3356
|
+
organization_name: string | null;
|
|
3357
|
+
preferred_warehouse_id: string | null;
|
|
3358
|
+
preferred_warehouse_name: string | null;
|
|
3359
|
+
token_expires_at: string | null;
|
|
3360
|
+
updated_at: string;
|
|
3361
|
+
};
|
|
3362
|
+
Insert: {
|
|
3363
|
+
access_token?: string | null;
|
|
3364
|
+
api_key: string;
|
|
3365
|
+
client_id: string;
|
|
3366
|
+
client_secret: string;
|
|
3367
|
+
created_at?: string;
|
|
3368
|
+
customers_endpoint?: string | null;
|
|
3369
|
+
environment: string;
|
|
3370
|
+
gln_code?: string | null;
|
|
3371
|
+
id?: string;
|
|
3372
|
+
is_active?: boolean;
|
|
3373
|
+
label?: string;
|
|
3374
|
+
organization_name?: string | null;
|
|
3375
|
+
preferred_warehouse_id?: string | null;
|
|
3376
|
+
preferred_warehouse_name?: string | null;
|
|
3377
|
+
token_expires_at?: string | null;
|
|
3378
|
+
updated_at?: string;
|
|
3379
|
+
};
|
|
3380
|
+
Update: {
|
|
3381
|
+
access_token?: string | null;
|
|
3382
|
+
api_key?: string;
|
|
3383
|
+
client_id?: string;
|
|
3384
|
+
client_secret?: string;
|
|
3385
|
+
created_at?: string;
|
|
3386
|
+
customers_endpoint?: string | null;
|
|
3387
|
+
environment?: string;
|
|
3388
|
+
gln_code?: string | null;
|
|
3389
|
+
id?: string;
|
|
3390
|
+
is_active?: boolean;
|
|
3391
|
+
label?: string;
|
|
3392
|
+
organization_name?: string | null;
|
|
3393
|
+
preferred_warehouse_id?: string | null;
|
|
3394
|
+
preferred_warehouse_name?: string | null;
|
|
3395
|
+
token_expires_at?: string | null;
|
|
3396
|
+
updated_at?: string;
|
|
3397
|
+
};
|
|
3398
|
+
Relationships: [];
|
|
3399
|
+
};
|
|
3400
|
+
floriday_connections_cache: {
|
|
3401
|
+
Row: {
|
|
3402
|
+
buyer_organization_id: string | null;
|
|
3403
|
+
buyer_organization_name: string | null;
|
|
3404
|
+
connection_id: string;
|
|
3405
|
+
data: Json;
|
|
3406
|
+
floriday_connection_id: string;
|
|
3407
|
+
is_deleted: boolean;
|
|
3408
|
+
sequence_number: number;
|
|
3409
|
+
status: string | null;
|
|
3410
|
+
synced_at: string;
|
|
3411
|
+
};
|
|
3412
|
+
Insert: {
|
|
3413
|
+
buyer_organization_id?: string | null;
|
|
3414
|
+
buyer_organization_name?: string | null;
|
|
3415
|
+
connection_id: string;
|
|
3416
|
+
data: Json;
|
|
3417
|
+
floriday_connection_id: string;
|
|
3418
|
+
is_deleted?: boolean;
|
|
3419
|
+
sequence_number: number;
|
|
3420
|
+
status?: string | null;
|
|
3421
|
+
synced_at?: string;
|
|
3422
|
+
};
|
|
3423
|
+
Update: {
|
|
3424
|
+
buyer_organization_id?: string | null;
|
|
3425
|
+
buyer_organization_name?: string | null;
|
|
3426
|
+
connection_id?: string;
|
|
3427
|
+
data?: Json;
|
|
3428
|
+
floriday_connection_id?: string;
|
|
3429
|
+
is_deleted?: boolean;
|
|
3430
|
+
sequence_number?: number;
|
|
3431
|
+
status?: string | null;
|
|
3432
|
+
synced_at?: string;
|
|
3433
|
+
};
|
|
3434
|
+
Relationships: [
|
|
3435
|
+
{
|
|
3436
|
+
foreignKeyName: "floriday_connections_cache_connection_id_fkey";
|
|
3437
|
+
columns: ["connection_id"];
|
|
3438
|
+
isOneToOne: false;
|
|
3439
|
+
referencedRelation: "floriday_connections";
|
|
3440
|
+
referencedColumns: ["id"];
|
|
3441
|
+
}
|
|
3442
|
+
];
|
|
3443
|
+
};
|
|
3444
|
+
floriday_contract_trade_item_groups_cache: {
|
|
3445
|
+
Row: {
|
|
3446
|
+
connection_id: string;
|
|
3447
|
+
data: Json;
|
|
3448
|
+
fetched_at: string;
|
|
3449
|
+
floriday_id: string;
|
|
3450
|
+
is_deleted: boolean;
|
|
3451
|
+
sequence_number: number;
|
|
3452
|
+
updated_at: string;
|
|
3453
|
+
};
|
|
3454
|
+
Insert: {
|
|
3455
|
+
connection_id: string;
|
|
3456
|
+
data: Json;
|
|
3457
|
+
fetched_at?: string;
|
|
3458
|
+
floriday_id: string;
|
|
3459
|
+
is_deleted?: boolean;
|
|
3460
|
+
sequence_number?: number;
|
|
3461
|
+
updated_at?: string;
|
|
3462
|
+
};
|
|
3463
|
+
Update: {
|
|
3464
|
+
connection_id?: string;
|
|
3465
|
+
data?: Json;
|
|
3466
|
+
fetched_at?: string;
|
|
3467
|
+
floriday_id?: string;
|
|
3468
|
+
is_deleted?: boolean;
|
|
3469
|
+
sequence_number?: number;
|
|
3470
|
+
updated_at?: string;
|
|
3471
|
+
};
|
|
3472
|
+
Relationships: [
|
|
3473
|
+
{
|
|
3474
|
+
foreignKeyName: "floriday_contract_trade_item_groups_cache_connection_id_fkey";
|
|
3475
|
+
columns: ["connection_id"];
|
|
3476
|
+
isOneToOne: false;
|
|
3477
|
+
referencedRelation: "floriday_connections";
|
|
3478
|
+
referencedColumns: ["id"];
|
|
3479
|
+
}
|
|
3480
|
+
];
|
|
3481
|
+
};
|
|
3482
|
+
floriday_contracts_cache: {
|
|
3483
|
+
Row: {
|
|
3484
|
+
connection_id: string;
|
|
3485
|
+
created_at: string;
|
|
3486
|
+
data: Json;
|
|
3487
|
+
fetched_at: string;
|
|
3488
|
+
floriday_id: string;
|
|
3489
|
+
id: string;
|
|
3490
|
+
is_deleted: boolean;
|
|
3491
|
+
sequence_number: number;
|
|
3492
|
+
updated_at: string;
|
|
3493
|
+
};
|
|
3494
|
+
Insert: {
|
|
3495
|
+
connection_id: string;
|
|
3496
|
+
created_at?: string;
|
|
3497
|
+
data: Json;
|
|
3498
|
+
fetched_at?: string;
|
|
3499
|
+
floriday_id: string;
|
|
3500
|
+
id?: string;
|
|
3501
|
+
is_deleted?: boolean;
|
|
3502
|
+
sequence_number?: number;
|
|
3503
|
+
updated_at?: string;
|
|
3504
|
+
};
|
|
3505
|
+
Update: {
|
|
3506
|
+
connection_id?: string;
|
|
3507
|
+
created_at?: string;
|
|
3508
|
+
data?: Json;
|
|
3509
|
+
fetched_at?: string;
|
|
3510
|
+
floriday_id?: string;
|
|
3511
|
+
id?: string;
|
|
3512
|
+
is_deleted?: boolean;
|
|
3513
|
+
sequence_number?: number;
|
|
3514
|
+
updated_at?: string;
|
|
3515
|
+
};
|
|
3516
|
+
Relationships: [
|
|
3517
|
+
{
|
|
3518
|
+
foreignKeyName: "floriday_contracts_cache_connection_id_fkey";
|
|
3519
|
+
columns: ["connection_id"];
|
|
3520
|
+
isOneToOne: false;
|
|
3521
|
+
referencedRelation: "floriday_connections";
|
|
3522
|
+
referencedColumns: ["id"];
|
|
3523
|
+
}
|
|
3524
|
+
];
|
|
3525
|
+
};
|
|
3526
|
+
floriday_customer_sticker_pdfs_cache: {
|
|
3527
|
+
Row: {
|
|
3528
|
+
byte_size: number | null;
|
|
3529
|
+
connection_id: string;
|
|
3530
|
+
content_type: string;
|
|
3531
|
+
created_at: string;
|
|
3532
|
+
fetched_at: string;
|
|
3533
|
+
id: string;
|
|
3534
|
+
sticker_id: string;
|
|
3535
|
+
storage_path: string;
|
|
3536
|
+
};
|
|
3537
|
+
Insert: {
|
|
3538
|
+
byte_size?: number | null;
|
|
3539
|
+
connection_id: string;
|
|
3540
|
+
content_type?: string;
|
|
3541
|
+
created_at?: string;
|
|
3542
|
+
fetched_at?: string;
|
|
3543
|
+
id?: string;
|
|
3544
|
+
sticker_id: string;
|
|
3545
|
+
storage_path: string;
|
|
3546
|
+
};
|
|
3547
|
+
Update: {
|
|
3548
|
+
byte_size?: number | null;
|
|
3549
|
+
connection_id?: string;
|
|
3550
|
+
content_type?: string;
|
|
3551
|
+
created_at?: string;
|
|
3552
|
+
fetched_at?: string;
|
|
3553
|
+
id?: string;
|
|
3554
|
+
sticker_id?: string;
|
|
3555
|
+
storage_path?: string;
|
|
3556
|
+
};
|
|
3557
|
+
Relationships: [
|
|
3558
|
+
{
|
|
3559
|
+
foreignKeyName: "floriday_customer_sticker_pdfs_cache_connection_id_fkey";
|
|
3560
|
+
columns: ["connection_id"];
|
|
3561
|
+
isOneToOne: false;
|
|
3562
|
+
referencedRelation: "floriday_connections";
|
|
3563
|
+
referencedColumns: ["id"];
|
|
3564
|
+
}
|
|
3565
|
+
];
|
|
3566
|
+
};
|
|
3567
|
+
floriday_customer_stickers_cache: {
|
|
3568
|
+
Row: {
|
|
3569
|
+
connection_id: string;
|
|
3570
|
+
created_at: string;
|
|
3571
|
+
data: Json;
|
|
3572
|
+
fetched_at: string;
|
|
3573
|
+
floriday_id: string;
|
|
3574
|
+
id: string;
|
|
3575
|
+
is_deleted: boolean;
|
|
3576
|
+
quantity: number | null;
|
|
3577
|
+
sales_order_id: string | null;
|
|
3578
|
+
sequence_number: number;
|
|
3579
|
+
status: string | null;
|
|
3580
|
+
trade_item_id: string | null;
|
|
3581
|
+
updated_at: string;
|
|
3582
|
+
};
|
|
3583
|
+
Insert: {
|
|
3584
|
+
connection_id: string;
|
|
3585
|
+
created_at?: string;
|
|
3586
|
+
data?: Json;
|
|
3587
|
+
fetched_at?: string;
|
|
3588
|
+
floriday_id: string;
|
|
3589
|
+
id?: string;
|
|
3590
|
+
is_deleted?: boolean;
|
|
3591
|
+
quantity?: number | null;
|
|
3592
|
+
sales_order_id?: string | null;
|
|
3593
|
+
sequence_number?: number;
|
|
3594
|
+
status?: string | null;
|
|
3595
|
+
trade_item_id?: string | null;
|
|
3596
|
+
updated_at?: string;
|
|
3597
|
+
};
|
|
3598
|
+
Update: {
|
|
3599
|
+
connection_id?: string;
|
|
3600
|
+
created_at?: string;
|
|
3601
|
+
data?: Json;
|
|
3602
|
+
fetched_at?: string;
|
|
3603
|
+
floriday_id?: string;
|
|
3604
|
+
id?: string;
|
|
3605
|
+
is_deleted?: boolean;
|
|
3606
|
+
quantity?: number | null;
|
|
3607
|
+
sales_order_id?: string | null;
|
|
3608
|
+
sequence_number?: number;
|
|
3609
|
+
status?: string | null;
|
|
3610
|
+
trade_item_id?: string | null;
|
|
3611
|
+
updated_at?: string;
|
|
3612
|
+
};
|
|
3613
|
+
Relationships: [
|
|
3614
|
+
{
|
|
3615
|
+
foreignKeyName: "floriday_customer_stickers_cache_connection_id_fkey";
|
|
3616
|
+
columns: ["connection_id"];
|
|
3617
|
+
isOneToOne: false;
|
|
3618
|
+
referencedRelation: "floriday_connections";
|
|
3619
|
+
referencedColumns: ["id"];
|
|
3620
|
+
}
|
|
3621
|
+
];
|
|
3622
|
+
};
|
|
3623
|
+
floriday_customers_cache: {
|
|
3624
|
+
Row: {
|
|
3625
|
+
connection_id: string | null;
|
|
3626
|
+
data: Json;
|
|
3627
|
+
fetched_at: string;
|
|
3628
|
+
gln_code: string | null;
|
|
3629
|
+
is_deleted: boolean;
|
|
3630
|
+
name: string | null;
|
|
3631
|
+
organization_id: string;
|
|
3632
|
+
sequence_number: number | null;
|
|
3633
|
+
};
|
|
3634
|
+
Insert: {
|
|
3635
|
+
connection_id?: string | null;
|
|
3636
|
+
data?: Json;
|
|
3637
|
+
fetched_at?: string;
|
|
3638
|
+
gln_code?: string | null;
|
|
3639
|
+
is_deleted?: boolean;
|
|
3640
|
+
name?: string | null;
|
|
3641
|
+
organization_id: string;
|
|
3642
|
+
sequence_number?: number | null;
|
|
3643
|
+
};
|
|
3644
|
+
Update: {
|
|
3645
|
+
connection_id?: string | null;
|
|
3646
|
+
data?: Json;
|
|
3647
|
+
fetched_at?: string;
|
|
3648
|
+
gln_code?: string | null;
|
|
3649
|
+
is_deleted?: boolean;
|
|
3650
|
+
name?: string | null;
|
|
3651
|
+
organization_id?: string;
|
|
3652
|
+
sequence_number?: number | null;
|
|
3653
|
+
};
|
|
3654
|
+
Relationships: [
|
|
3655
|
+
{
|
|
3656
|
+
foreignKeyName: "floriday_customers_cache_connection_id_fkey";
|
|
3657
|
+
columns: ["connection_id"];
|
|
3658
|
+
isOneToOne: false;
|
|
3659
|
+
referencedRelation: "floriday_connections";
|
|
3660
|
+
referencedColumns: ["id"];
|
|
3661
|
+
}
|
|
3662
|
+
];
|
|
3663
|
+
};
|
|
3664
|
+
floriday_delivery_condition_sets_cache: {
|
|
3665
|
+
Row: {
|
|
3666
|
+
connection_id: string;
|
|
3667
|
+
data: Json;
|
|
3668
|
+
fetched_at: string;
|
|
3669
|
+
floriday_id: string;
|
|
3670
|
+
is_deleted: boolean;
|
|
3671
|
+
sequence_number: number;
|
|
3672
|
+
updated_at: string;
|
|
3673
|
+
};
|
|
3674
|
+
Insert: {
|
|
3675
|
+
connection_id: string;
|
|
3676
|
+
data: Json;
|
|
3677
|
+
fetched_at?: string;
|
|
3678
|
+
floriday_id: string;
|
|
3679
|
+
is_deleted?: boolean;
|
|
3680
|
+
sequence_number?: number;
|
|
3681
|
+
updated_at?: string;
|
|
3682
|
+
};
|
|
3683
|
+
Update: {
|
|
3684
|
+
connection_id?: string;
|
|
3685
|
+
data?: Json;
|
|
3686
|
+
fetched_at?: string;
|
|
3687
|
+
floriday_id?: string;
|
|
3688
|
+
is_deleted?: boolean;
|
|
3689
|
+
sequence_number?: number;
|
|
3690
|
+
updated_at?: string;
|
|
3691
|
+
};
|
|
3692
|
+
Relationships: [
|
|
3693
|
+
{
|
|
3694
|
+
foreignKeyName: "floriday_delivery_condition_sets_cache_connection_id_fkey";
|
|
3695
|
+
columns: ["connection_id"];
|
|
3696
|
+
isOneToOne: false;
|
|
3697
|
+
referencedRelation: "floriday_connections";
|
|
3698
|
+
referencedColumns: ["id"];
|
|
3699
|
+
}
|
|
3700
|
+
];
|
|
3701
|
+
};
|
|
3702
|
+
floriday_delivery_locations_cache: {
|
|
3703
|
+
Row: {
|
|
3704
|
+
connection_id: string;
|
|
3705
|
+
data: Json;
|
|
3706
|
+
fetched_at: string;
|
|
3707
|
+
floriday_id: string;
|
|
3708
|
+
gln_code: string | null;
|
|
3709
|
+
id: string;
|
|
3710
|
+
is_deleted: boolean;
|
|
3711
|
+
name: string | null;
|
|
3712
|
+
organization_id: string | null;
|
|
3713
|
+
updated_at: string;
|
|
3714
|
+
};
|
|
3715
|
+
Insert: {
|
|
3716
|
+
connection_id: string;
|
|
3717
|
+
data?: Json;
|
|
3718
|
+
fetched_at?: string;
|
|
3719
|
+
floriday_id: string;
|
|
3720
|
+
gln_code?: string | null;
|
|
3721
|
+
id?: string;
|
|
3722
|
+
is_deleted?: boolean;
|
|
3723
|
+
name?: string | null;
|
|
3724
|
+
organization_id?: string | null;
|
|
3725
|
+
updated_at?: string;
|
|
3726
|
+
};
|
|
3727
|
+
Update: {
|
|
3728
|
+
connection_id?: string;
|
|
3729
|
+
data?: Json;
|
|
3730
|
+
fetched_at?: string;
|
|
3731
|
+
floriday_id?: string;
|
|
3732
|
+
gln_code?: string | null;
|
|
3733
|
+
id?: string;
|
|
3734
|
+
is_deleted?: boolean;
|
|
3735
|
+
name?: string | null;
|
|
3736
|
+
organization_id?: string | null;
|
|
3737
|
+
updated_at?: string;
|
|
3738
|
+
};
|
|
3739
|
+
Relationships: [
|
|
3740
|
+
{
|
|
3741
|
+
foreignKeyName: "floriday_delivery_locations_cache_connection_id_fkey";
|
|
3742
|
+
columns: ["connection_id"];
|
|
3743
|
+
isOneToOne: false;
|
|
3744
|
+
referencedRelation: "floriday_connections";
|
|
3745
|
+
referencedColumns: ["id"];
|
|
3746
|
+
}
|
|
3747
|
+
];
|
|
3748
|
+
};
|
|
3749
|
+
floriday_delivery_orders_cache: {
|
|
3750
|
+
Row: {
|
|
3751
|
+
auction_date: string | null;
|
|
3752
|
+
connection_id: string;
|
|
3753
|
+
data: Json;
|
|
3754
|
+
destination_warehouse_id: string | null;
|
|
3755
|
+
fetched_at: string;
|
|
3756
|
+
floriday_id: string;
|
|
3757
|
+
id: string;
|
|
3758
|
+
is_deleted: boolean;
|
|
3759
|
+
sequence_number: number;
|
|
3760
|
+
status: string | null;
|
|
3761
|
+
trade_item_id: string | null;
|
|
3762
|
+
updated_at: string;
|
|
3763
|
+
};
|
|
3764
|
+
Insert: {
|
|
3765
|
+
auction_date?: string | null;
|
|
3766
|
+
connection_id: string;
|
|
3767
|
+
data?: Json;
|
|
3768
|
+
destination_warehouse_id?: string | null;
|
|
3769
|
+
fetched_at?: string;
|
|
3770
|
+
floriday_id: string;
|
|
3771
|
+
id?: string;
|
|
3772
|
+
is_deleted?: boolean;
|
|
3773
|
+
sequence_number?: number;
|
|
3774
|
+
status?: string | null;
|
|
3775
|
+
trade_item_id?: string | null;
|
|
3776
|
+
updated_at?: string;
|
|
3777
|
+
};
|
|
3778
|
+
Update: {
|
|
3779
|
+
auction_date?: string | null;
|
|
3780
|
+
connection_id?: string;
|
|
3781
|
+
data?: Json;
|
|
3782
|
+
destination_warehouse_id?: string | null;
|
|
3783
|
+
fetched_at?: string;
|
|
3784
|
+
floriday_id?: string;
|
|
3785
|
+
id?: string;
|
|
3786
|
+
is_deleted?: boolean;
|
|
3787
|
+
sequence_number?: number;
|
|
3788
|
+
status?: string | null;
|
|
3789
|
+
trade_item_id?: string | null;
|
|
3790
|
+
updated_at?: string;
|
|
3791
|
+
};
|
|
3792
|
+
Relationships: [
|
|
3793
|
+
{
|
|
3794
|
+
foreignKeyName: "floriday_delivery_orders_cache_connection_id_fkey";
|
|
3795
|
+
columns: ["connection_id"];
|
|
3796
|
+
isOneToOne: false;
|
|
3797
|
+
referencedRelation: "floriday_connections";
|
|
3798
|
+
referencedColumns: ["id"];
|
|
3799
|
+
}
|
|
3800
|
+
];
|
|
3801
|
+
};
|
|
3802
|
+
floriday_fulfillment_orders_cache: {
|
|
3803
|
+
Row: {
|
|
3804
|
+
auction_date: string | null;
|
|
3805
|
+
connection_id: string;
|
|
3806
|
+
data: Json;
|
|
3807
|
+
delivery_order_id: string | null;
|
|
3808
|
+
despatch_warehouse_id: string | null;
|
|
3809
|
+
destination_warehouse_id: string | null;
|
|
3810
|
+
fetched_at: string;
|
|
3811
|
+
floriday_id: string;
|
|
3812
|
+
id: string;
|
|
3813
|
+
is_deleted: boolean | null;
|
|
3814
|
+
latest_delivery_at: string | null;
|
|
3815
|
+
load_carrier_type: string | null;
|
|
3816
|
+
one_label_only: boolean | null;
|
|
3817
|
+
sequence_number: number;
|
|
3818
|
+
status: string | null;
|
|
3819
|
+
};
|
|
3820
|
+
Insert: {
|
|
3821
|
+
auction_date?: string | null;
|
|
3822
|
+
connection_id: string;
|
|
3823
|
+
data: Json;
|
|
3824
|
+
delivery_order_id?: string | null;
|
|
3825
|
+
despatch_warehouse_id?: string | null;
|
|
3826
|
+
destination_warehouse_id?: string | null;
|
|
3827
|
+
fetched_at?: string;
|
|
3828
|
+
floriday_id: string;
|
|
3829
|
+
id?: string;
|
|
3830
|
+
is_deleted?: boolean | null;
|
|
3831
|
+
latest_delivery_at?: string | null;
|
|
3832
|
+
load_carrier_type?: string | null;
|
|
3833
|
+
one_label_only?: boolean | null;
|
|
3834
|
+
sequence_number?: number;
|
|
3835
|
+
status?: string | null;
|
|
3836
|
+
};
|
|
3837
|
+
Update: {
|
|
3838
|
+
auction_date?: string | null;
|
|
3839
|
+
connection_id?: string;
|
|
3840
|
+
data?: Json;
|
|
3841
|
+
delivery_order_id?: string | null;
|
|
3842
|
+
despatch_warehouse_id?: string | null;
|
|
3843
|
+
destination_warehouse_id?: string | null;
|
|
3844
|
+
fetched_at?: string;
|
|
3845
|
+
floriday_id?: string;
|
|
3846
|
+
id?: string;
|
|
3847
|
+
is_deleted?: boolean | null;
|
|
3848
|
+
latest_delivery_at?: string | null;
|
|
3849
|
+
load_carrier_type?: string | null;
|
|
3850
|
+
one_label_only?: boolean | null;
|
|
3851
|
+
sequence_number?: number;
|
|
3852
|
+
status?: string | null;
|
|
3853
|
+
};
|
|
3854
|
+
Relationships: [
|
|
3855
|
+
{
|
|
3856
|
+
foreignKeyName: "floriday_fulfillment_orders_cache_connection_id_fkey";
|
|
3857
|
+
columns: ["connection_id"];
|
|
3858
|
+
isOneToOne: false;
|
|
3859
|
+
referencedRelation: "floriday_connections";
|
|
3860
|
+
referencedColumns: ["id"];
|
|
3861
|
+
}
|
|
3862
|
+
];
|
|
3863
|
+
};
|
|
3864
|
+
floriday_invoices_cache: {
|
|
3865
|
+
Row: {
|
|
3866
|
+
buyer_organization_id: string | null;
|
|
3867
|
+
connection_id: string;
|
|
3868
|
+
currency: string | null;
|
|
3869
|
+
data: Json;
|
|
3870
|
+
fetched_at: string;
|
|
3871
|
+
floriday_id: string;
|
|
3872
|
+
id: string;
|
|
3873
|
+
invoice_date: string | null;
|
|
3874
|
+
invoice_number: string | null;
|
|
3875
|
+
is_deleted: boolean;
|
|
3876
|
+
sequence_number: number;
|
|
3877
|
+
total_amount: number | null;
|
|
3878
|
+
updated_at: string;
|
|
3879
|
+
};
|
|
3880
|
+
Insert: {
|
|
3881
|
+
buyer_organization_id?: string | null;
|
|
3882
|
+
connection_id: string;
|
|
3883
|
+
currency?: string | null;
|
|
3884
|
+
data?: Json;
|
|
3885
|
+
fetched_at?: string;
|
|
3886
|
+
floriday_id: string;
|
|
3887
|
+
id?: string;
|
|
3888
|
+
invoice_date?: string | null;
|
|
3889
|
+
invoice_number?: string | null;
|
|
3890
|
+
is_deleted?: boolean;
|
|
3891
|
+
sequence_number?: number;
|
|
3892
|
+
total_amount?: number | null;
|
|
3893
|
+
updated_at?: string;
|
|
3894
|
+
};
|
|
3895
|
+
Update: {
|
|
3896
|
+
buyer_organization_id?: string | null;
|
|
3897
|
+
connection_id?: string;
|
|
3898
|
+
currency?: string | null;
|
|
3899
|
+
data?: Json;
|
|
3900
|
+
fetched_at?: string;
|
|
3901
|
+
floriday_id?: string;
|
|
3902
|
+
id?: string;
|
|
3903
|
+
invoice_date?: string | null;
|
|
3904
|
+
invoice_number?: string | null;
|
|
3905
|
+
is_deleted?: boolean;
|
|
3906
|
+
sequence_number?: number;
|
|
3907
|
+
total_amount?: number | null;
|
|
3908
|
+
updated_at?: string;
|
|
3909
|
+
};
|
|
3910
|
+
Relationships: [
|
|
3911
|
+
{
|
|
3912
|
+
foreignKeyName: "floriday_invoices_cache_connection_id_fkey";
|
|
3913
|
+
columns: ["connection_id"];
|
|
3914
|
+
isOneToOne: false;
|
|
3915
|
+
referencedRelation: "floriday_connections";
|
|
3916
|
+
referencedColumns: ["id"];
|
|
3917
|
+
}
|
|
3918
|
+
];
|
|
3919
|
+
};
|
|
3920
|
+
floriday_logistic_labels_cache: {
|
|
3921
|
+
Row: {
|
|
3922
|
+
byte_size: number | null;
|
|
3923
|
+
connection_id: string;
|
|
3924
|
+
content_type: string;
|
|
3925
|
+
fetched_at: string;
|
|
3926
|
+
fulfillment_order_id: string;
|
|
3927
|
+
id: string;
|
|
3928
|
+
logistic_label_code: string;
|
|
3929
|
+
storage_path: string;
|
|
3930
|
+
};
|
|
3931
|
+
Insert: {
|
|
3932
|
+
byte_size?: number | null;
|
|
3933
|
+
connection_id: string;
|
|
3934
|
+
content_type?: string;
|
|
3935
|
+
fetched_at?: string;
|
|
3936
|
+
fulfillment_order_id: string;
|
|
3937
|
+
id?: string;
|
|
3938
|
+
logistic_label_code: string;
|
|
3939
|
+
storage_path: string;
|
|
3940
|
+
};
|
|
3941
|
+
Update: {
|
|
3942
|
+
byte_size?: number | null;
|
|
3943
|
+
connection_id?: string;
|
|
3944
|
+
content_type?: string;
|
|
3945
|
+
fetched_at?: string;
|
|
3946
|
+
fulfillment_order_id?: string;
|
|
3947
|
+
id?: string;
|
|
3948
|
+
logistic_label_code?: string;
|
|
3949
|
+
storage_path?: string;
|
|
3950
|
+
};
|
|
3951
|
+
Relationships: [
|
|
3952
|
+
{
|
|
3953
|
+
foreignKeyName: "floriday_logistic_labels_cache_connection_id_fkey";
|
|
3954
|
+
columns: ["connection_id"];
|
|
3955
|
+
isOneToOne: false;
|
|
3956
|
+
referencedRelation: "floriday_connections";
|
|
3957
|
+
referencedColumns: ["id"];
|
|
3958
|
+
}
|
|
3959
|
+
];
|
|
3960
|
+
};
|
|
3961
|
+
floriday_network_cache: {
|
|
3962
|
+
Row: {
|
|
3963
|
+
city: string | null;
|
|
3964
|
+
connection_id: string;
|
|
3965
|
+
country: string | null;
|
|
3966
|
+
data: Json;
|
|
3967
|
+
fetched_at: string;
|
|
3968
|
+
gln: string | null;
|
|
3969
|
+
organization_id: string;
|
|
3970
|
+
organization_name: string | null;
|
|
3971
|
+
};
|
|
3972
|
+
Insert: {
|
|
3973
|
+
city?: string | null;
|
|
3974
|
+
connection_id: string;
|
|
3975
|
+
country?: string | null;
|
|
3976
|
+
data?: Json;
|
|
3977
|
+
fetched_at?: string;
|
|
3978
|
+
gln?: string | null;
|
|
3979
|
+
organization_id: string;
|
|
3980
|
+
organization_name?: string | null;
|
|
3981
|
+
};
|
|
3982
|
+
Update: {
|
|
3983
|
+
city?: string | null;
|
|
3984
|
+
connection_id?: string;
|
|
3985
|
+
country?: string | null;
|
|
3986
|
+
data?: Json;
|
|
3987
|
+
fetched_at?: string;
|
|
3988
|
+
gln?: string | null;
|
|
3989
|
+
organization_id?: string;
|
|
3990
|
+
organization_name?: string | null;
|
|
3991
|
+
};
|
|
3992
|
+
Relationships: [];
|
|
3993
|
+
};
|
|
3994
|
+
floriday_network_sync_state: {
|
|
3995
|
+
Row: {
|
|
3996
|
+
connection_id: string;
|
|
3997
|
+
last_error: string | null;
|
|
3998
|
+
last_sequence_number: number;
|
|
3999
|
+
last_synced_at: string | null;
|
|
4000
|
+
updated_at: string;
|
|
4001
|
+
};
|
|
4002
|
+
Insert: {
|
|
4003
|
+
connection_id: string;
|
|
4004
|
+
last_error?: string | null;
|
|
4005
|
+
last_sequence_number?: number;
|
|
4006
|
+
last_synced_at?: string | null;
|
|
4007
|
+
updated_at?: string;
|
|
4008
|
+
};
|
|
4009
|
+
Update: {
|
|
4010
|
+
connection_id?: string;
|
|
4011
|
+
last_error?: string | null;
|
|
4012
|
+
last_sequence_number?: number;
|
|
4013
|
+
last_synced_at?: string | null;
|
|
4014
|
+
updated_at?: string;
|
|
4015
|
+
};
|
|
4016
|
+
Relationships: [];
|
|
4017
|
+
};
|
|
4018
|
+
floriday_packings_cache: {
|
|
4019
|
+
Row: {
|
|
4020
|
+
connection_id: string;
|
|
4021
|
+
data: Json;
|
|
4022
|
+
fetched_at: string;
|
|
4023
|
+
floriday_id: string;
|
|
4024
|
+
id: string;
|
|
4025
|
+
is_deleted: boolean;
|
|
4026
|
+
sequence_number: number;
|
|
4027
|
+
updated_at: string;
|
|
4028
|
+
};
|
|
4029
|
+
Insert: {
|
|
4030
|
+
connection_id: string;
|
|
4031
|
+
data?: Json;
|
|
4032
|
+
fetched_at?: string;
|
|
4033
|
+
floriday_id: string;
|
|
4034
|
+
id?: string;
|
|
4035
|
+
is_deleted?: boolean;
|
|
4036
|
+
sequence_number?: number;
|
|
4037
|
+
updated_at?: string;
|
|
4038
|
+
};
|
|
4039
|
+
Update: {
|
|
4040
|
+
connection_id?: string;
|
|
4041
|
+
data?: Json;
|
|
4042
|
+
fetched_at?: string;
|
|
4043
|
+
floriday_id?: string;
|
|
4044
|
+
id?: string;
|
|
4045
|
+
is_deleted?: boolean;
|
|
4046
|
+
sequence_number?: number;
|
|
4047
|
+
updated_at?: string;
|
|
4048
|
+
};
|
|
4049
|
+
Relationships: [
|
|
4050
|
+
{
|
|
4051
|
+
foreignKeyName: "floriday_packings_cache_connection_id_fkey";
|
|
4052
|
+
columns: ["connection_id"];
|
|
4053
|
+
isOneToOne: false;
|
|
4054
|
+
referencedRelation: "floriday_connections";
|
|
4055
|
+
referencedColumns: ["id"];
|
|
4056
|
+
}
|
|
4057
|
+
];
|
|
4058
|
+
};
|
|
4059
|
+
floriday_price_groups_cache: {
|
|
4060
|
+
Row: {
|
|
4061
|
+
connection_id: string;
|
|
4062
|
+
data: Json;
|
|
4063
|
+
fetched_at: string;
|
|
4064
|
+
floriday_id: string;
|
|
4065
|
+
is_deleted: boolean;
|
|
4066
|
+
sequence_number: number;
|
|
4067
|
+
updated_at: string;
|
|
4068
|
+
};
|
|
4069
|
+
Insert: {
|
|
4070
|
+
connection_id: string;
|
|
4071
|
+
data: Json;
|
|
4072
|
+
fetched_at?: string;
|
|
4073
|
+
floriday_id: string;
|
|
4074
|
+
is_deleted?: boolean;
|
|
4075
|
+
sequence_number?: number;
|
|
4076
|
+
updated_at?: string;
|
|
4077
|
+
};
|
|
4078
|
+
Update: {
|
|
4079
|
+
connection_id?: string;
|
|
4080
|
+
data?: Json;
|
|
4081
|
+
fetched_at?: string;
|
|
4082
|
+
floriday_id?: string;
|
|
4083
|
+
is_deleted?: boolean;
|
|
4084
|
+
sequence_number?: number;
|
|
4085
|
+
updated_at?: string;
|
|
4086
|
+
};
|
|
4087
|
+
Relationships: [
|
|
4088
|
+
{
|
|
4089
|
+
foreignKeyName: "floriday_price_groups_cache_connection_id_fkey";
|
|
4090
|
+
columns: ["connection_id"];
|
|
4091
|
+
isOneToOne: false;
|
|
4092
|
+
referencedRelation: "floriday_connections";
|
|
4093
|
+
referencedColumns: ["id"];
|
|
4094
|
+
}
|
|
4095
|
+
];
|
|
4096
|
+
};
|
|
4097
|
+
floriday_resource_schemas: {
|
|
4098
|
+
Row: {
|
|
4099
|
+
enums: Json;
|
|
4100
|
+
fetched_at: string;
|
|
4101
|
+
resource: string;
|
|
4102
|
+
schema: Json;
|
|
4103
|
+
source_url: string | null;
|
|
4104
|
+
version: string;
|
|
2711
4105
|
};
|
|
2712
4106
|
Insert: {
|
|
2713
|
-
|
|
2714
|
-
connection_id: string;
|
|
2715
|
-
country?: string | null;
|
|
2716
|
-
data?: Json;
|
|
4107
|
+
enums?: Json;
|
|
2717
4108
|
fetched_at?: string;
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
4109
|
+
resource: string;
|
|
4110
|
+
schema: Json;
|
|
4111
|
+
source_url?: string | null;
|
|
4112
|
+
version: string;
|
|
2721
4113
|
};
|
|
2722
4114
|
Update: {
|
|
2723
|
-
|
|
2724
|
-
connection_id?: string;
|
|
2725
|
-
country?: string | null;
|
|
2726
|
-
data?: Json;
|
|
4115
|
+
enums?: Json;
|
|
2727
4116
|
fetched_at?: string;
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
4117
|
+
resource?: string;
|
|
4118
|
+
schema?: Json;
|
|
4119
|
+
source_url?: string | null;
|
|
4120
|
+
version?: string;
|
|
2731
4121
|
};
|
|
2732
4122
|
Relationships: [];
|
|
2733
4123
|
};
|
|
2734
|
-
|
|
4124
|
+
floriday_sales_strategies_cache: {
|
|
2735
4125
|
Row: {
|
|
2736
4126
|
connection_id: string;
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
4127
|
+
data: Json;
|
|
4128
|
+
fetched_at: string;
|
|
4129
|
+
floriday_id: string;
|
|
4130
|
+
is_deleted: boolean;
|
|
4131
|
+
sequence_number: number;
|
|
2740
4132
|
updated_at: string;
|
|
2741
4133
|
};
|
|
2742
4134
|
Insert: {
|
|
2743
4135
|
connection_id: string;
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
4136
|
+
data: Json;
|
|
4137
|
+
fetched_at?: string;
|
|
4138
|
+
floriday_id: string;
|
|
4139
|
+
is_deleted?: boolean;
|
|
4140
|
+
sequence_number?: number;
|
|
2747
4141
|
updated_at?: string;
|
|
2748
4142
|
};
|
|
2749
4143
|
Update: {
|
|
2750
4144
|
connection_id?: string;
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
4145
|
+
data?: Json;
|
|
4146
|
+
fetched_at?: string;
|
|
4147
|
+
floriday_id?: string;
|
|
4148
|
+
is_deleted?: boolean;
|
|
4149
|
+
sequence_number?: number;
|
|
2754
4150
|
updated_at?: string;
|
|
2755
4151
|
};
|
|
2756
|
-
Relationships: [
|
|
4152
|
+
Relationships: [
|
|
4153
|
+
{
|
|
4154
|
+
foreignKeyName: "floriday_sales_strategies_cache_connection_id_fkey";
|
|
4155
|
+
columns: ["connection_id"];
|
|
4156
|
+
isOneToOne: false;
|
|
4157
|
+
referencedRelation: "floriday_connections";
|
|
4158
|
+
referencedColumns: ["id"];
|
|
4159
|
+
}
|
|
4160
|
+
];
|
|
2757
4161
|
};
|
|
2758
4162
|
floriday_salesorders_cache: {
|
|
2759
4163
|
Row: {
|
|
@@ -2822,7 +4226,9 @@ export type Database = {
|
|
|
2822
4226
|
connection_id: string;
|
|
2823
4227
|
entity_type: string;
|
|
2824
4228
|
last_error: string | null;
|
|
4229
|
+
last_items_processed: number | null;
|
|
2825
4230
|
last_sequence_number: number;
|
|
4231
|
+
last_success_at: string | null;
|
|
2826
4232
|
last_synced_at: string | null;
|
|
2827
4233
|
updated_at: string;
|
|
2828
4234
|
};
|
|
@@ -2830,7 +4236,9 @@ export type Database = {
|
|
|
2830
4236
|
connection_id: string;
|
|
2831
4237
|
entity_type: string;
|
|
2832
4238
|
last_error?: string | null;
|
|
4239
|
+
last_items_processed?: number | null;
|
|
2833
4240
|
last_sequence_number?: number;
|
|
4241
|
+
last_success_at?: string | null;
|
|
2834
4242
|
last_synced_at?: string | null;
|
|
2835
4243
|
updated_at?: string;
|
|
2836
4244
|
};
|
|
@@ -2838,7 +4246,9 @@ export type Database = {
|
|
|
2838
4246
|
connection_id?: string;
|
|
2839
4247
|
entity_type?: string;
|
|
2840
4248
|
last_error?: string | null;
|
|
4249
|
+
last_items_processed?: number | null;
|
|
2841
4250
|
last_sequence_number?: number;
|
|
4251
|
+
last_success_at?: string | null;
|
|
2842
4252
|
last_synced_at?: string | null;
|
|
2843
4253
|
updated_at?: string;
|
|
2844
4254
|
};
|
|
@@ -2890,6 +4300,47 @@ export type Database = {
|
|
|
2890
4300
|
}
|
|
2891
4301
|
];
|
|
2892
4302
|
};
|
|
4303
|
+
floriday_trade_item_classifications_cache: {
|
|
4304
|
+
Row: {
|
|
4305
|
+
connection_id: string;
|
|
4306
|
+
data: Json;
|
|
4307
|
+
fetched_at: string;
|
|
4308
|
+
floriday_id: string;
|
|
4309
|
+
id: string;
|
|
4310
|
+
is_deleted: boolean;
|
|
4311
|
+
sequence_number: number;
|
|
4312
|
+
updated_at: string;
|
|
4313
|
+
};
|
|
4314
|
+
Insert: {
|
|
4315
|
+
connection_id: string;
|
|
4316
|
+
data: Json;
|
|
4317
|
+
fetched_at?: string;
|
|
4318
|
+
floriday_id: string;
|
|
4319
|
+
id?: string;
|
|
4320
|
+
is_deleted?: boolean;
|
|
4321
|
+
sequence_number?: number;
|
|
4322
|
+
updated_at?: string;
|
|
4323
|
+
};
|
|
4324
|
+
Update: {
|
|
4325
|
+
connection_id?: string;
|
|
4326
|
+
data?: Json;
|
|
4327
|
+
fetched_at?: string;
|
|
4328
|
+
floriday_id?: string;
|
|
4329
|
+
id?: string;
|
|
4330
|
+
is_deleted?: boolean;
|
|
4331
|
+
sequence_number?: number;
|
|
4332
|
+
updated_at?: string;
|
|
4333
|
+
};
|
|
4334
|
+
Relationships: [
|
|
4335
|
+
{
|
|
4336
|
+
foreignKeyName: "floriday_trade_item_classifications_cache_connection_id_fkey";
|
|
4337
|
+
columns: ["connection_id"];
|
|
4338
|
+
isOneToOne: false;
|
|
4339
|
+
referencedRelation: "floriday_connections";
|
|
4340
|
+
referencedColumns: ["id"];
|
|
4341
|
+
}
|
|
4342
|
+
];
|
|
4343
|
+
};
|
|
2893
4344
|
floriday_trade_items_cache: {
|
|
2894
4345
|
Row: {
|
|
2895
4346
|
connection_id: string;
|
|
@@ -2925,6 +4376,165 @@ export type Database = {
|
|
|
2925
4376
|
}
|
|
2926
4377
|
];
|
|
2927
4378
|
};
|
|
4379
|
+
floriday_trips_cache: {
|
|
4380
|
+
Row: {
|
|
4381
|
+
carrier_organization_id: string | null;
|
|
4382
|
+
connection_id: string;
|
|
4383
|
+
data: Json;
|
|
4384
|
+
fetched_at: string;
|
|
4385
|
+
floriday_id: string;
|
|
4386
|
+
id: string;
|
|
4387
|
+
is_deleted: boolean;
|
|
4388
|
+
sequence_number: number;
|
|
4389
|
+
status: string | null;
|
|
4390
|
+
trip_date: string | null;
|
|
4391
|
+
updated_at: string;
|
|
4392
|
+
};
|
|
4393
|
+
Insert: {
|
|
4394
|
+
carrier_organization_id?: string | null;
|
|
4395
|
+
connection_id: string;
|
|
4396
|
+
data?: Json;
|
|
4397
|
+
fetched_at?: string;
|
|
4398
|
+
floriday_id: string;
|
|
4399
|
+
id?: string;
|
|
4400
|
+
is_deleted?: boolean;
|
|
4401
|
+
sequence_number?: number;
|
|
4402
|
+
status?: string | null;
|
|
4403
|
+
trip_date?: string | null;
|
|
4404
|
+
updated_at?: string;
|
|
4405
|
+
};
|
|
4406
|
+
Update: {
|
|
4407
|
+
carrier_organization_id?: string | null;
|
|
4408
|
+
connection_id?: string;
|
|
4409
|
+
data?: Json;
|
|
4410
|
+
fetched_at?: string;
|
|
4411
|
+
floriday_id?: string;
|
|
4412
|
+
id?: string;
|
|
4413
|
+
is_deleted?: boolean;
|
|
4414
|
+
sequence_number?: number;
|
|
4415
|
+
status?: string | null;
|
|
4416
|
+
trip_date?: string | null;
|
|
4417
|
+
updated_at?: string;
|
|
4418
|
+
};
|
|
4419
|
+
Relationships: [
|
|
4420
|
+
{
|
|
4421
|
+
foreignKeyName: "floriday_trips_cache_connection_id_fkey";
|
|
4422
|
+
columns: ["connection_id"];
|
|
4423
|
+
isOneToOne: false;
|
|
4424
|
+
referencedRelation: "floriday_connections";
|
|
4425
|
+
referencedColumns: ["id"];
|
|
4426
|
+
}
|
|
4427
|
+
];
|
|
4428
|
+
};
|
|
4429
|
+
floriday_warehouses_cache: {
|
|
4430
|
+
Row: {
|
|
4431
|
+
connection_id: string;
|
|
4432
|
+
data: Json;
|
|
4433
|
+
fetched_at: string;
|
|
4434
|
+
floriday_id: string;
|
|
4435
|
+
gln_code: string | null;
|
|
4436
|
+
id: string;
|
|
4437
|
+
is_default: boolean;
|
|
4438
|
+
is_deleted: boolean;
|
|
4439
|
+
name: string | null;
|
|
4440
|
+
updated_at: string;
|
|
4441
|
+
};
|
|
4442
|
+
Insert: {
|
|
4443
|
+
connection_id: string;
|
|
4444
|
+
data?: Json;
|
|
4445
|
+
fetched_at?: string;
|
|
4446
|
+
floriday_id: string;
|
|
4447
|
+
gln_code?: string | null;
|
|
4448
|
+
id?: string;
|
|
4449
|
+
is_default?: boolean;
|
|
4450
|
+
is_deleted?: boolean;
|
|
4451
|
+
name?: string | null;
|
|
4452
|
+
updated_at?: string;
|
|
4453
|
+
};
|
|
4454
|
+
Update: {
|
|
4455
|
+
connection_id?: string;
|
|
4456
|
+
data?: Json;
|
|
4457
|
+
fetched_at?: string;
|
|
4458
|
+
floriday_id?: string;
|
|
4459
|
+
gln_code?: string | null;
|
|
4460
|
+
id?: string;
|
|
4461
|
+
is_default?: boolean;
|
|
4462
|
+
is_deleted?: boolean;
|
|
4463
|
+
name?: string | null;
|
|
4464
|
+
updated_at?: string;
|
|
4465
|
+
};
|
|
4466
|
+
Relationships: [
|
|
4467
|
+
{
|
|
4468
|
+
foreignKeyName: "floriday_warehouses_cache_connection_id_fkey";
|
|
4469
|
+
columns: ["connection_id"];
|
|
4470
|
+
isOneToOne: false;
|
|
4471
|
+
referencedRelation: "floriday_connections";
|
|
4472
|
+
referencedColumns: ["id"];
|
|
4473
|
+
}
|
|
4474
|
+
];
|
|
4475
|
+
};
|
|
4476
|
+
floriday_write_log: {
|
|
4477
|
+
Row: {
|
|
4478
|
+
action: string;
|
|
4479
|
+
caller: string;
|
|
4480
|
+
connection_id: string | null;
|
|
4481
|
+
created_at: string;
|
|
4482
|
+
error: string | null;
|
|
4483
|
+
floriday_id: string | null;
|
|
4484
|
+
http_status: number | null;
|
|
4485
|
+
id: string;
|
|
4486
|
+
idempotency_key: string | null;
|
|
4487
|
+
module: string | null;
|
|
4488
|
+
ok: boolean;
|
|
4489
|
+
request: Json | null;
|
|
4490
|
+
resource: string;
|
|
4491
|
+
response: Json | null;
|
|
4492
|
+
user_id: string | null;
|
|
4493
|
+
};
|
|
4494
|
+
Insert: {
|
|
4495
|
+
action: string;
|
|
4496
|
+
caller?: string;
|
|
4497
|
+
connection_id?: string | null;
|
|
4498
|
+
created_at?: string;
|
|
4499
|
+
error?: string | null;
|
|
4500
|
+
floriday_id?: string | null;
|
|
4501
|
+
http_status?: number | null;
|
|
4502
|
+
id?: string;
|
|
4503
|
+
idempotency_key?: string | null;
|
|
4504
|
+
module?: string | null;
|
|
4505
|
+
ok: boolean;
|
|
4506
|
+
request?: Json | null;
|
|
4507
|
+
resource: string;
|
|
4508
|
+
response?: Json | null;
|
|
4509
|
+
user_id?: string | null;
|
|
4510
|
+
};
|
|
4511
|
+
Update: {
|
|
4512
|
+
action?: string;
|
|
4513
|
+
caller?: string;
|
|
4514
|
+
connection_id?: string | null;
|
|
4515
|
+
created_at?: string;
|
|
4516
|
+
error?: string | null;
|
|
4517
|
+
floriday_id?: string | null;
|
|
4518
|
+
http_status?: number | null;
|
|
4519
|
+
id?: string;
|
|
4520
|
+
idempotency_key?: string | null;
|
|
4521
|
+
module?: string | null;
|
|
4522
|
+
ok?: boolean;
|
|
4523
|
+
request?: Json | null;
|
|
4524
|
+
resource?: string;
|
|
4525
|
+
response?: Json | null;
|
|
4526
|
+
user_id?: string | null;
|
|
4527
|
+
};
|
|
4528
|
+
Relationships: [
|
|
4529
|
+
{
|
|
4530
|
+
foreignKeyName: "floriday_write_log_connection_id_fkey";
|
|
4531
|
+
columns: ["connection_id"];
|
|
4532
|
+
isOneToOne: false;
|
|
4533
|
+
referencedRelation: "floriday_connections";
|
|
4534
|
+
referencedColumns: ["id"];
|
|
4535
|
+
}
|
|
4536
|
+
];
|
|
4537
|
+
};
|
|
2928
4538
|
imap_accounts: {
|
|
2929
4539
|
Row: {
|
|
2930
4540
|
created_at: string;
|
|
@@ -3104,6 +4714,59 @@ export type Database = {
|
|
|
3104
4714
|
};
|
|
3105
4715
|
Relationships: [];
|
|
3106
4716
|
};
|
|
4717
|
+
invoice_push_log: {
|
|
4718
|
+
Row: {
|
|
4719
|
+
connection_id: string | null;
|
|
4720
|
+
created_at: string;
|
|
4721
|
+
created_by: string;
|
|
4722
|
+
customer_id: string | null;
|
|
4723
|
+
id: string;
|
|
4724
|
+
last_error: string | null;
|
|
4725
|
+
last_polled_at: string | null;
|
|
4726
|
+
payload: Json;
|
|
4727
|
+
provider_id: string;
|
|
4728
|
+
queue_id: string | null;
|
|
4729
|
+
status: string;
|
|
4730
|
+
updated_at: string;
|
|
4731
|
+
};
|
|
4732
|
+
Insert: {
|
|
4733
|
+
connection_id?: string | null;
|
|
4734
|
+
created_at?: string;
|
|
4735
|
+
created_by?: string;
|
|
4736
|
+
customer_id?: string | null;
|
|
4737
|
+
id?: string;
|
|
4738
|
+
last_error?: string | null;
|
|
4739
|
+
last_polled_at?: string | null;
|
|
4740
|
+
payload?: Json;
|
|
4741
|
+
provider_id: string;
|
|
4742
|
+
queue_id?: string | null;
|
|
4743
|
+
status?: string;
|
|
4744
|
+
updated_at?: string;
|
|
4745
|
+
};
|
|
4746
|
+
Update: {
|
|
4747
|
+
connection_id?: string | null;
|
|
4748
|
+
created_at?: string;
|
|
4749
|
+
created_by?: string;
|
|
4750
|
+
customer_id?: string | null;
|
|
4751
|
+
id?: string;
|
|
4752
|
+
last_error?: string | null;
|
|
4753
|
+
last_polled_at?: string | null;
|
|
4754
|
+
payload?: Json;
|
|
4755
|
+
provider_id?: string;
|
|
4756
|
+
queue_id?: string | null;
|
|
4757
|
+
status?: string;
|
|
4758
|
+
updated_at?: string;
|
|
4759
|
+
};
|
|
4760
|
+
Relationships: [
|
|
4761
|
+
{
|
|
4762
|
+
foreignKeyName: "invoice_push_log_provider_id_fkey";
|
|
4763
|
+
columns: ["provider_id"];
|
|
4764
|
+
isOneToOne: false;
|
|
4765
|
+
referencedRelation: "external_invoice_providers";
|
|
4766
|
+
referencedColumns: ["provider"];
|
|
4767
|
+
}
|
|
4768
|
+
];
|
|
4769
|
+
};
|
|
3107
4770
|
invoice_run_items: {
|
|
3108
4771
|
Row: {
|
|
3109
4772
|
booking_id: string | null;
|
|
@@ -3231,6 +4894,7 @@ export type Database = {
|
|
|
3231
4894
|
Row: {
|
|
3232
4895
|
body_html: string | null;
|
|
3233
4896
|
body_text: string | null;
|
|
4897
|
+
connection_id: string | null;
|
|
3234
4898
|
created_at: string;
|
|
3235
4899
|
error_message: string | null;
|
|
3236
4900
|
external_id: string | null;
|
|
@@ -3249,6 +4913,7 @@ export type Database = {
|
|
|
3249
4913
|
Insert: {
|
|
3250
4914
|
body_html?: string | null;
|
|
3251
4915
|
body_text?: string | null;
|
|
4916
|
+
connection_id?: string | null;
|
|
3252
4917
|
created_at?: string;
|
|
3253
4918
|
error_message?: string | null;
|
|
3254
4919
|
external_id?: string | null;
|
|
@@ -3267,6 +4932,7 @@ export type Database = {
|
|
|
3267
4932
|
Update: {
|
|
3268
4933
|
body_html?: string | null;
|
|
3269
4934
|
body_text?: string | null;
|
|
4935
|
+
connection_id?: string | null;
|
|
3270
4936
|
created_at?: string;
|
|
3271
4937
|
error_message?: string | null;
|
|
3272
4938
|
external_id?: string | null;
|
|
@@ -3283,6 +4949,20 @@ export type Database = {
|
|
|
3283
4949
|
updated_at?: string;
|
|
3284
4950
|
};
|
|
3285
4951
|
Relationships: [
|
|
4952
|
+
{
|
|
4953
|
+
foreignKeyName: "mailbox_messages_connection_id_fkey";
|
|
4954
|
+
columns: ["connection_id"];
|
|
4955
|
+
isOneToOne: false;
|
|
4956
|
+
referencedRelation: "email_auth_connections";
|
|
4957
|
+
referencedColumns: ["id"];
|
|
4958
|
+
},
|
|
4959
|
+
{
|
|
4960
|
+
foreignKeyName: "mailbox_messages_connection_id_fkey";
|
|
4961
|
+
columns: ["connection_id"];
|
|
4962
|
+
isOneToOne: false;
|
|
4963
|
+
referencedRelation: "email_auth_connections_safe";
|
|
4964
|
+
referencedColumns: ["id"];
|
|
4965
|
+
},
|
|
3286
4966
|
{
|
|
3287
4967
|
foreignKeyName: "mailbox_messages_profile_id_fkey";
|
|
3288
4968
|
columns: ["profile_id"];
|
|
@@ -3577,6 +5257,7 @@ export type Database = {
|
|
|
3577
5257
|
role: string;
|
|
3578
5258
|
tenant_id: string;
|
|
3579
5259
|
updated_at: string;
|
|
5260
|
+
user_id: string | null;
|
|
3580
5261
|
};
|
|
3581
5262
|
Insert: {
|
|
3582
5263
|
avatar_url?: string | null;
|
|
@@ -3592,6 +5273,7 @@ export type Database = {
|
|
|
3592
5273
|
role?: string;
|
|
3593
5274
|
tenant_id: string;
|
|
3594
5275
|
updated_at?: string;
|
|
5276
|
+
user_id?: string | null;
|
|
3595
5277
|
};
|
|
3596
5278
|
Update: {
|
|
3597
5279
|
avatar_url?: string | null;
|
|
@@ -3607,6 +5289,7 @@ export type Database = {
|
|
|
3607
5289
|
role?: string;
|
|
3608
5290
|
tenant_id?: string;
|
|
3609
5291
|
updated_at?: string;
|
|
5292
|
+
user_id?: string | null;
|
|
3610
5293
|
};
|
|
3611
5294
|
Relationships: [
|
|
3612
5295
|
{
|
|
@@ -3748,13 +5431,6 @@ export type Database = {
|
|
|
3748
5431
|
isOneToOne: false;
|
|
3749
5432
|
referencedRelation: "offer_campaigns";
|
|
3750
5433
|
referencedColumns: ["id"];
|
|
3751
|
-
},
|
|
3752
|
-
{
|
|
3753
|
-
foreignKeyName: "offer_campaign_products_product_id_fkey";
|
|
3754
|
-
columns: ["product_id"];
|
|
3755
|
-
isOneToOne: false;
|
|
3756
|
-
referencedRelation: "products";
|
|
3757
|
-
referencedColumns: ["id"];
|
|
3758
5434
|
}
|
|
3759
5435
|
];
|
|
3760
5436
|
};
|
|
@@ -4042,6 +5718,105 @@ export type Database = {
|
|
|
4042
5718
|
};
|
|
4043
5719
|
Relationships: [];
|
|
4044
5720
|
};
|
|
5721
|
+
order_cart_items: {
|
|
5722
|
+
Row: {
|
|
5723
|
+
cart_id: string;
|
|
5724
|
+
crates: number;
|
|
5725
|
+
crates_per_layer: number;
|
|
5726
|
+
created_at: string;
|
|
5727
|
+
id: string;
|
|
5728
|
+
order_item_id: string | null;
|
|
5729
|
+
plants_per_crate: number;
|
|
5730
|
+
product_id: string | null;
|
|
5731
|
+
product_name: string;
|
|
5732
|
+
};
|
|
5733
|
+
Insert: {
|
|
5734
|
+
cart_id: string;
|
|
5735
|
+
crates: number;
|
|
5736
|
+
crates_per_layer?: number;
|
|
5737
|
+
created_at?: string;
|
|
5738
|
+
id?: string;
|
|
5739
|
+
order_item_id?: string | null;
|
|
5740
|
+
plants_per_crate?: number;
|
|
5741
|
+
product_id?: string | null;
|
|
5742
|
+
product_name: string;
|
|
5743
|
+
};
|
|
5744
|
+
Update: {
|
|
5745
|
+
cart_id?: string;
|
|
5746
|
+
crates?: number;
|
|
5747
|
+
crates_per_layer?: number;
|
|
5748
|
+
created_at?: string;
|
|
5749
|
+
id?: string;
|
|
5750
|
+
order_item_id?: string | null;
|
|
5751
|
+
plants_per_crate?: number;
|
|
5752
|
+
product_id?: string | null;
|
|
5753
|
+
product_name?: string;
|
|
5754
|
+
};
|
|
5755
|
+
Relationships: [
|
|
5756
|
+
{
|
|
5757
|
+
foreignKeyName: "order_cart_items_cart_id_fkey";
|
|
5758
|
+
columns: ["cart_id"];
|
|
5759
|
+
isOneToOne: false;
|
|
5760
|
+
referencedRelation: "order_carts";
|
|
5761
|
+
referencedColumns: ["id"];
|
|
5762
|
+
},
|
|
5763
|
+
{
|
|
5764
|
+
foreignKeyName: "order_cart_items_order_item_id_fkey";
|
|
5765
|
+
columns: ["order_item_id"];
|
|
5766
|
+
isOneToOne: false;
|
|
5767
|
+
referencedRelation: "order_items";
|
|
5768
|
+
referencedColumns: ["id"];
|
|
5769
|
+
},
|
|
5770
|
+
{
|
|
5771
|
+
foreignKeyName: "order_cart_items_product_id_fkey";
|
|
5772
|
+
columns: ["product_id"];
|
|
5773
|
+
isOneToOne: false;
|
|
5774
|
+
referencedRelation: "products";
|
|
5775
|
+
referencedColumns: ["id"];
|
|
5776
|
+
}
|
|
5777
|
+
];
|
|
5778
|
+
};
|
|
5779
|
+
order_carts: {
|
|
5780
|
+
Row: {
|
|
5781
|
+
cart_number: number;
|
|
5782
|
+
created_at: string;
|
|
5783
|
+
id: string;
|
|
5784
|
+
is_auto: boolean;
|
|
5785
|
+
is_complete: boolean;
|
|
5786
|
+
notes: string | null;
|
|
5787
|
+
order_id: string;
|
|
5788
|
+
updated_at: string;
|
|
5789
|
+
};
|
|
5790
|
+
Insert: {
|
|
5791
|
+
cart_number: number;
|
|
5792
|
+
created_at?: string;
|
|
5793
|
+
id?: string;
|
|
5794
|
+
is_auto?: boolean;
|
|
5795
|
+
is_complete?: boolean;
|
|
5796
|
+
notes?: string | null;
|
|
5797
|
+
order_id: string;
|
|
5798
|
+
updated_at?: string;
|
|
5799
|
+
};
|
|
5800
|
+
Update: {
|
|
5801
|
+
cart_number?: number;
|
|
5802
|
+
created_at?: string;
|
|
5803
|
+
id?: string;
|
|
5804
|
+
is_auto?: boolean;
|
|
5805
|
+
is_complete?: boolean;
|
|
5806
|
+
notes?: string | null;
|
|
5807
|
+
order_id?: string;
|
|
5808
|
+
updated_at?: string;
|
|
5809
|
+
};
|
|
5810
|
+
Relationships: [
|
|
5811
|
+
{
|
|
5812
|
+
foreignKeyName: "order_carts_order_id_fkey";
|
|
5813
|
+
columns: ["order_id"];
|
|
5814
|
+
isOneToOne: false;
|
|
5815
|
+
referencedRelation: "orders";
|
|
5816
|
+
referencedColumns: ["id"];
|
|
5817
|
+
}
|
|
5818
|
+
];
|
|
5819
|
+
};
|
|
4045
5820
|
order_field_options: {
|
|
4046
5821
|
Row: {
|
|
4047
5822
|
created_at: string;
|
|
@@ -4250,6 +6025,36 @@ export type Database = {
|
|
|
4250
6025
|
};
|
|
4251
6026
|
Relationships: [];
|
|
4252
6027
|
};
|
|
6028
|
+
pickstation_print_log: {
|
|
6029
|
+
Row: {
|
|
6030
|
+
customer_name: string | null;
|
|
6031
|
+
documents: string[];
|
|
6032
|
+
id: string;
|
|
6033
|
+
ip_address: string | null;
|
|
6034
|
+
order_id: string;
|
|
6035
|
+
order_number: string | null;
|
|
6036
|
+
printed_at: string;
|
|
6037
|
+
};
|
|
6038
|
+
Insert: {
|
|
6039
|
+
customer_name?: string | null;
|
|
6040
|
+
documents?: string[];
|
|
6041
|
+
id?: string;
|
|
6042
|
+
ip_address?: string | null;
|
|
6043
|
+
order_id: string;
|
|
6044
|
+
order_number?: string | null;
|
|
6045
|
+
printed_at?: string;
|
|
6046
|
+
};
|
|
6047
|
+
Update: {
|
|
6048
|
+
customer_name?: string | null;
|
|
6049
|
+
documents?: string[];
|
|
6050
|
+
id?: string;
|
|
6051
|
+
ip_address?: string | null;
|
|
6052
|
+
order_id?: string;
|
|
6053
|
+
order_number?: string | null;
|
|
6054
|
+
printed_at?: string;
|
|
6055
|
+
};
|
|
6056
|
+
Relationships: [];
|
|
6057
|
+
};
|
|
4253
6058
|
pipeline_settings: {
|
|
4254
6059
|
Row: {
|
|
4255
6060
|
created_at: string;
|
|
@@ -4412,13 +6217,16 @@ export type Database = {
|
|
|
4412
6217
|
Row: {
|
|
4413
6218
|
barcode: string | null;
|
|
4414
6219
|
batch: string;
|
|
6220
|
+
crates_per_layer: number;
|
|
4415
6221
|
created_at: string;
|
|
4416
6222
|
custom_fields: Json;
|
|
4417
6223
|
id: string;
|
|
4418
6224
|
image_url: string | null;
|
|
4419
6225
|
incoming_quantity: number;
|
|
6226
|
+
layers_per_cart: number;
|
|
4420
6227
|
location: string;
|
|
4421
6228
|
min_quantity: number;
|
|
6229
|
+
plants_per_crate: number;
|
|
4422
6230
|
product: string;
|
|
4423
6231
|
product_type: string;
|
|
4424
6232
|
purchase_price: number | null;
|
|
@@ -4431,13 +6239,16 @@ export type Database = {
|
|
|
4431
6239
|
Insert: {
|
|
4432
6240
|
barcode?: string | null;
|
|
4433
6241
|
batch: string;
|
|
6242
|
+
crates_per_layer?: number;
|
|
4434
6243
|
created_at?: string;
|
|
4435
6244
|
custom_fields?: Json;
|
|
4436
6245
|
id?: string;
|
|
4437
6246
|
image_url?: string | null;
|
|
4438
6247
|
incoming_quantity?: number;
|
|
6248
|
+
layers_per_cart?: number;
|
|
4439
6249
|
location: string;
|
|
4440
6250
|
min_quantity?: number;
|
|
6251
|
+
plants_per_crate?: number;
|
|
4441
6252
|
product: string;
|
|
4442
6253
|
product_type?: string;
|
|
4443
6254
|
purchase_price?: number | null;
|
|
@@ -4450,13 +6261,16 @@ export type Database = {
|
|
|
4450
6261
|
Update: {
|
|
4451
6262
|
barcode?: string | null;
|
|
4452
6263
|
batch?: string;
|
|
6264
|
+
crates_per_layer?: number;
|
|
4453
6265
|
created_at?: string;
|
|
4454
6266
|
custom_fields?: Json;
|
|
4455
6267
|
id?: string;
|
|
4456
6268
|
image_url?: string | null;
|
|
4457
6269
|
incoming_quantity?: number;
|
|
6270
|
+
layers_per_cart?: number;
|
|
4458
6271
|
location?: string;
|
|
4459
6272
|
min_quantity?: number;
|
|
6273
|
+
plants_per_crate?: number;
|
|
4460
6274
|
product?: string;
|
|
4461
6275
|
product_type?: string;
|
|
4462
6276
|
purchase_price?: number | null;
|
|
@@ -5432,6 +7246,147 @@ export type Database = {
|
|
|
5432
7246
|
};
|
|
5433
7247
|
Relationships: [];
|
|
5434
7248
|
};
|
|
7249
|
+
time_entries: {
|
|
7250
|
+
Row: {
|
|
7251
|
+
created_at: string;
|
|
7252
|
+
employee_id: string;
|
|
7253
|
+
entry_date: string;
|
|
7254
|
+
hours: number;
|
|
7255
|
+
id: string;
|
|
7256
|
+
notes: string | null;
|
|
7257
|
+
overtime: number;
|
|
7258
|
+
undertime: number;
|
|
7259
|
+
updated_at: string;
|
|
7260
|
+
};
|
|
7261
|
+
Insert: {
|
|
7262
|
+
created_at?: string;
|
|
7263
|
+
employee_id: string;
|
|
7264
|
+
entry_date: string;
|
|
7265
|
+
hours?: number;
|
|
7266
|
+
id?: string;
|
|
7267
|
+
notes?: string | null;
|
|
7268
|
+
overtime?: number;
|
|
7269
|
+
undertime?: number;
|
|
7270
|
+
updated_at?: string;
|
|
7271
|
+
};
|
|
7272
|
+
Update: {
|
|
7273
|
+
created_at?: string;
|
|
7274
|
+
employee_id?: string;
|
|
7275
|
+
entry_date?: string;
|
|
7276
|
+
hours?: number;
|
|
7277
|
+
id?: string;
|
|
7278
|
+
notes?: string | null;
|
|
7279
|
+
overtime?: number;
|
|
7280
|
+
undertime?: number;
|
|
7281
|
+
updated_at?: string;
|
|
7282
|
+
};
|
|
7283
|
+
Relationships: [
|
|
7284
|
+
{
|
|
7285
|
+
foreignKeyName: "time_entries_employee_id_fkey";
|
|
7286
|
+
columns: ["employee_id"];
|
|
7287
|
+
isOneToOne: false;
|
|
7288
|
+
referencedRelation: "monteurs";
|
|
7289
|
+
referencedColumns: ["id"];
|
|
7290
|
+
}
|
|
7291
|
+
];
|
|
7292
|
+
};
|
|
7293
|
+
time_logs: {
|
|
7294
|
+
Row: {
|
|
7295
|
+
created_at: string;
|
|
7296
|
+
employee_id: string;
|
|
7297
|
+
end_time: string | null;
|
|
7298
|
+
id: string;
|
|
7299
|
+
notes: string | null;
|
|
7300
|
+
overtime_hours: number;
|
|
7301
|
+
overtime_type: string | null;
|
|
7302
|
+
regular_hours: number;
|
|
7303
|
+
start_time: string;
|
|
7304
|
+
travel_cost: number | null;
|
|
7305
|
+
travel_distance_km: number | null;
|
|
7306
|
+
type: string;
|
|
7307
|
+
updated_at: string;
|
|
7308
|
+
};
|
|
7309
|
+
Insert: {
|
|
7310
|
+
created_at?: string;
|
|
7311
|
+
employee_id: string;
|
|
7312
|
+
end_time?: string | null;
|
|
7313
|
+
id?: string;
|
|
7314
|
+
notes?: string | null;
|
|
7315
|
+
overtime_hours?: number;
|
|
7316
|
+
overtime_type?: string | null;
|
|
7317
|
+
regular_hours?: number;
|
|
7318
|
+
start_time?: string;
|
|
7319
|
+
travel_cost?: number | null;
|
|
7320
|
+
travel_distance_km?: number | null;
|
|
7321
|
+
type: string;
|
|
7322
|
+
updated_at?: string;
|
|
7323
|
+
};
|
|
7324
|
+
Update: {
|
|
7325
|
+
created_at?: string;
|
|
7326
|
+
employee_id?: string;
|
|
7327
|
+
end_time?: string | null;
|
|
7328
|
+
id?: string;
|
|
7329
|
+
notes?: string | null;
|
|
7330
|
+
overtime_hours?: number;
|
|
7331
|
+
overtime_type?: string | null;
|
|
7332
|
+
regular_hours?: number;
|
|
7333
|
+
start_time?: string;
|
|
7334
|
+
travel_cost?: number | null;
|
|
7335
|
+
travel_distance_km?: number | null;
|
|
7336
|
+
type?: string;
|
|
7337
|
+
updated_at?: string;
|
|
7338
|
+
};
|
|
7339
|
+
Relationships: [
|
|
7340
|
+
{
|
|
7341
|
+
foreignKeyName: "time_logs_employee_id_fkey";
|
|
7342
|
+
columns: ["employee_id"];
|
|
7343
|
+
isOneToOne: false;
|
|
7344
|
+
referencedRelation: "monteurs";
|
|
7345
|
+
referencedColumns: ["id"];
|
|
7346
|
+
}
|
|
7347
|
+
];
|
|
7348
|
+
};
|
|
7349
|
+
time_off_entries: {
|
|
7350
|
+
Row: {
|
|
7351
|
+
created_at: string;
|
|
7352
|
+
employee_id: string;
|
|
7353
|
+
entry_date: string;
|
|
7354
|
+
hours: number;
|
|
7355
|
+
id: string;
|
|
7356
|
+
notes: string | null;
|
|
7357
|
+
type: string;
|
|
7358
|
+
updated_at: string;
|
|
7359
|
+
};
|
|
7360
|
+
Insert: {
|
|
7361
|
+
created_at?: string;
|
|
7362
|
+
employee_id: string;
|
|
7363
|
+
entry_date: string;
|
|
7364
|
+
hours?: number;
|
|
7365
|
+
id?: string;
|
|
7366
|
+
notes?: string | null;
|
|
7367
|
+
type: string;
|
|
7368
|
+
updated_at?: string;
|
|
7369
|
+
};
|
|
7370
|
+
Update: {
|
|
7371
|
+
created_at?: string;
|
|
7372
|
+
employee_id?: string;
|
|
7373
|
+
entry_date?: string;
|
|
7374
|
+
hours?: number;
|
|
7375
|
+
id?: string;
|
|
7376
|
+
notes?: string | null;
|
|
7377
|
+
type?: string;
|
|
7378
|
+
updated_at?: string;
|
|
7379
|
+
};
|
|
7380
|
+
Relationships: [
|
|
7381
|
+
{
|
|
7382
|
+
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
7383
|
+
columns: ["employee_id"];
|
|
7384
|
+
isOneToOne: false;
|
|
7385
|
+
referencedRelation: "monteurs";
|
|
7386
|
+
referencedColumns: ["id"];
|
|
7387
|
+
}
|
|
7388
|
+
];
|
|
7389
|
+
};
|
|
5435
7390
|
trade_item_drafts: {
|
|
5436
7391
|
Row: {
|
|
5437
7392
|
connection_id: string | null;
|
|
@@ -5733,9 +7688,11 @@ export type Database = {
|
|
|
5733
7688
|
fetched_at: string;
|
|
5734
7689
|
invoice_number: string;
|
|
5735
7690
|
line_number: number;
|
|
7691
|
+
line_total: number | null;
|
|
5736
7692
|
quantity: number | null;
|
|
5737
7693
|
unit_price: number | null;
|
|
5738
7694
|
vat_code: string | null;
|
|
7695
|
+
vat_rate: number | null;
|
|
5739
7696
|
};
|
|
5740
7697
|
Insert: {
|
|
5741
7698
|
article_code?: string | null;
|
|
@@ -5745,9 +7702,11 @@ export type Database = {
|
|
|
5745
7702
|
fetched_at?: string;
|
|
5746
7703
|
invoice_number: string;
|
|
5747
7704
|
line_number: number;
|
|
7705
|
+
line_total?: number | null;
|
|
5748
7706
|
quantity?: number | null;
|
|
5749
7707
|
unit_price?: number | null;
|
|
5750
7708
|
vat_code?: string | null;
|
|
7709
|
+
vat_rate?: number | null;
|
|
5751
7710
|
};
|
|
5752
7711
|
Update: {
|
|
5753
7712
|
article_code?: string | null;
|
|
@@ -5757,9 +7716,11 @@ export type Database = {
|
|
|
5757
7716
|
fetched_at?: string;
|
|
5758
7717
|
invoice_number?: string;
|
|
5759
7718
|
line_number?: number;
|
|
7719
|
+
line_total?: number | null;
|
|
5760
7720
|
quantity?: number | null;
|
|
5761
7721
|
unit_price?: number | null;
|
|
5762
7722
|
vat_code?: string | null;
|
|
7723
|
+
vat_rate?: number | null;
|
|
5763
7724
|
};
|
|
5764
7725
|
Relationships: [
|
|
5765
7726
|
{
|
|
@@ -5938,9 +7899,12 @@ export type Database = {
|
|
|
5938
7899
|
invoice_date: string | null;
|
|
5939
7900
|
invoice_number: string;
|
|
5940
7901
|
modified_at: string | null;
|
|
7902
|
+
outstanding_amount: number | null;
|
|
5941
7903
|
status: string | null;
|
|
7904
|
+
status_label: string | null;
|
|
5942
7905
|
total_excl: number | null;
|
|
5943
7906
|
total_incl: number | null;
|
|
7907
|
+
vat_amount: number | null;
|
|
5944
7908
|
};
|
|
5945
7909
|
Insert: {
|
|
5946
7910
|
connection_id: string;
|
|
@@ -5952,9 +7916,12 @@ export type Database = {
|
|
|
5952
7916
|
invoice_date?: string | null;
|
|
5953
7917
|
invoice_number: string;
|
|
5954
7918
|
modified_at?: string | null;
|
|
7919
|
+
outstanding_amount?: number | null;
|
|
5955
7920
|
status?: string | null;
|
|
7921
|
+
status_label?: string | null;
|
|
5956
7922
|
total_excl?: number | null;
|
|
5957
7923
|
total_incl?: number | null;
|
|
7924
|
+
vat_amount?: number | null;
|
|
5958
7925
|
};
|
|
5959
7926
|
Update: {
|
|
5960
7927
|
connection_id?: string;
|
|
@@ -5966,13 +7933,93 @@ export type Database = {
|
|
|
5966
7933
|
invoice_date?: string | null;
|
|
5967
7934
|
invoice_number?: string;
|
|
5968
7935
|
modified_at?: string | null;
|
|
7936
|
+
outstanding_amount?: number | null;
|
|
5969
7937
|
status?: string | null;
|
|
7938
|
+
status_label?: string | null;
|
|
5970
7939
|
total_excl?: number | null;
|
|
5971
7940
|
total_incl?: number | null;
|
|
7941
|
+
vat_amount?: number | null;
|
|
7942
|
+
};
|
|
7943
|
+
Relationships: [
|
|
7944
|
+
{
|
|
7945
|
+
foreignKeyName: "twinfield_invoices_cache_v2_connection_id_fkey";
|
|
7946
|
+
columns: ["connection_id"];
|
|
7947
|
+
isOneToOne: false;
|
|
7948
|
+
referencedRelation: "twinfield_connections";
|
|
7949
|
+
referencedColumns: ["id"];
|
|
7950
|
+
}
|
|
7951
|
+
];
|
|
7952
|
+
};
|
|
7953
|
+
twinfield_oauth_state: {
|
|
7954
|
+
Row: {
|
|
7955
|
+
created_at: string;
|
|
7956
|
+
environment: string;
|
|
7957
|
+
nonce: string | null;
|
|
7958
|
+
state: string;
|
|
7959
|
+
user_id: string;
|
|
7960
|
+
};
|
|
7961
|
+
Insert: {
|
|
7962
|
+
created_at?: string;
|
|
7963
|
+
environment: string;
|
|
7964
|
+
nonce?: string | null;
|
|
7965
|
+
state: string;
|
|
7966
|
+
user_id: string;
|
|
7967
|
+
};
|
|
7968
|
+
Update: {
|
|
7969
|
+
created_at?: string;
|
|
7970
|
+
environment?: string;
|
|
7971
|
+
nonce?: string | null;
|
|
7972
|
+
state?: string;
|
|
7973
|
+
user_id?: string;
|
|
7974
|
+
};
|
|
7975
|
+
Relationships: [];
|
|
7976
|
+
};
|
|
7977
|
+
twinfield_push_queue: {
|
|
7978
|
+
Row: {
|
|
7979
|
+
attempts: number;
|
|
7980
|
+
connection_id: string;
|
|
7981
|
+
created_at: string;
|
|
7982
|
+
external_id: string | null;
|
|
7983
|
+
id: string;
|
|
7984
|
+
idempotency_key: string;
|
|
7985
|
+
last_error: string | null;
|
|
7986
|
+
next_attempt_at: string;
|
|
7987
|
+
office_code: string;
|
|
7988
|
+
payload: Json;
|
|
7989
|
+
status: string;
|
|
7990
|
+
updated_at: string;
|
|
7991
|
+
};
|
|
7992
|
+
Insert: {
|
|
7993
|
+
attempts?: number;
|
|
7994
|
+
connection_id: string;
|
|
7995
|
+
created_at?: string;
|
|
7996
|
+
external_id?: string | null;
|
|
7997
|
+
id?: string;
|
|
7998
|
+
idempotency_key: string;
|
|
7999
|
+
last_error?: string | null;
|
|
8000
|
+
next_attempt_at?: string;
|
|
8001
|
+
office_code: string;
|
|
8002
|
+
payload: Json;
|
|
8003
|
+
status?: string;
|
|
8004
|
+
updated_at?: string;
|
|
8005
|
+
};
|
|
8006
|
+
Update: {
|
|
8007
|
+
attempts?: number;
|
|
8008
|
+
connection_id?: string;
|
|
8009
|
+
created_at?: string;
|
|
8010
|
+
external_id?: string | null;
|
|
8011
|
+
id?: string;
|
|
8012
|
+
idempotency_key?: string;
|
|
8013
|
+
last_error?: string | null;
|
|
8014
|
+
next_attempt_at?: string;
|
|
8015
|
+
office_code?: string;
|
|
8016
|
+
payload?: Json;
|
|
8017
|
+
status?: string;
|
|
8018
|
+
updated_at?: string;
|
|
5972
8019
|
};
|
|
5973
8020
|
Relationships: [
|
|
5974
8021
|
{
|
|
5975
|
-
foreignKeyName: "
|
|
8022
|
+
foreignKeyName: "twinfield_push_queue_connection_id_fkey";
|
|
5976
8023
|
columns: ["connection_id"];
|
|
5977
8024
|
isOneToOne: false;
|
|
5978
8025
|
referencedRelation: "twinfield_connections";
|
|
@@ -5980,30 +8027,6 @@ export type Database = {
|
|
|
5980
8027
|
}
|
|
5981
8028
|
];
|
|
5982
8029
|
};
|
|
5983
|
-
twinfield_oauth_state: {
|
|
5984
|
-
Row: {
|
|
5985
|
-
created_at: string;
|
|
5986
|
-
environment: string;
|
|
5987
|
-
nonce: string | null;
|
|
5988
|
-
state: string;
|
|
5989
|
-
user_id: string;
|
|
5990
|
-
};
|
|
5991
|
-
Insert: {
|
|
5992
|
-
created_at?: string;
|
|
5993
|
-
environment: string;
|
|
5994
|
-
nonce?: string | null;
|
|
5995
|
-
state: string;
|
|
5996
|
-
user_id: string;
|
|
5997
|
-
};
|
|
5998
|
-
Update: {
|
|
5999
|
-
created_at?: string;
|
|
6000
|
-
environment?: string;
|
|
6001
|
-
nonce?: string | null;
|
|
6002
|
-
state?: string;
|
|
6003
|
-
user_id?: string;
|
|
6004
|
-
};
|
|
6005
|
-
Relationships: [];
|
|
6006
|
-
};
|
|
6007
8030
|
twinfield_settings: {
|
|
6008
8031
|
Row: {
|
|
6009
8032
|
active_environment: string;
|
|
@@ -6121,6 +8144,117 @@ export type Database = {
|
|
|
6121
8144
|
}
|
|
6122
8145
|
];
|
|
6123
8146
|
};
|
|
8147
|
+
voorraad_media_upload_failures: {
|
|
8148
|
+
Row: {
|
|
8149
|
+
action: string;
|
|
8150
|
+
attempt_number: number;
|
|
8151
|
+
caller: string;
|
|
8152
|
+
client_user_id: string | null;
|
|
8153
|
+
content_type: string | null;
|
|
8154
|
+
created_at: string;
|
|
8155
|
+
environment: string;
|
|
8156
|
+
error_message: string | null;
|
|
8157
|
+
filename: string | null;
|
|
8158
|
+
id: string;
|
|
8159
|
+
idempotency_key: string | null;
|
|
8160
|
+
module: string;
|
|
8161
|
+
path: string;
|
|
8162
|
+
reference_id: string | null;
|
|
8163
|
+
request_body_hash: string | null;
|
|
8164
|
+
request_timestamp: number | null;
|
|
8165
|
+
response_content_type: string | null;
|
|
8166
|
+
response_status: number | null;
|
|
8167
|
+
size_bytes: number | null;
|
|
8168
|
+
};
|
|
8169
|
+
Insert: {
|
|
8170
|
+
action?: string;
|
|
8171
|
+
attempt_number?: number;
|
|
8172
|
+
caller?: string;
|
|
8173
|
+
client_user_id?: string | null;
|
|
8174
|
+
content_type?: string | null;
|
|
8175
|
+
created_at?: string;
|
|
8176
|
+
environment: string;
|
|
8177
|
+
error_message?: string | null;
|
|
8178
|
+
filename?: string | null;
|
|
8179
|
+
id?: string;
|
|
8180
|
+
idempotency_key?: string | null;
|
|
8181
|
+
module?: string;
|
|
8182
|
+
path: string;
|
|
8183
|
+
reference_id?: string | null;
|
|
8184
|
+
request_body_hash?: string | null;
|
|
8185
|
+
request_timestamp?: number | null;
|
|
8186
|
+
response_content_type?: string | null;
|
|
8187
|
+
response_status?: number | null;
|
|
8188
|
+
size_bytes?: number | null;
|
|
8189
|
+
};
|
|
8190
|
+
Update: {
|
|
8191
|
+
action?: string;
|
|
8192
|
+
attempt_number?: number;
|
|
8193
|
+
caller?: string;
|
|
8194
|
+
client_user_id?: string | null;
|
|
8195
|
+
content_type?: string | null;
|
|
8196
|
+
created_at?: string;
|
|
8197
|
+
environment?: string;
|
|
8198
|
+
error_message?: string | null;
|
|
8199
|
+
filename?: string | null;
|
|
8200
|
+
id?: string;
|
|
8201
|
+
idempotency_key?: string | null;
|
|
8202
|
+
module?: string;
|
|
8203
|
+
path?: string;
|
|
8204
|
+
reference_id?: string | null;
|
|
8205
|
+
request_body_hash?: string | null;
|
|
8206
|
+
request_timestamp?: number | null;
|
|
8207
|
+
response_content_type?: string | null;
|
|
8208
|
+
response_status?: number | null;
|
|
8209
|
+
size_bytes?: number | null;
|
|
8210
|
+
};
|
|
8211
|
+
Relationships: [];
|
|
8212
|
+
};
|
|
8213
|
+
voorraad_publish_attempts: {
|
|
8214
|
+
Row: {
|
|
8215
|
+
action: string;
|
|
8216
|
+
connection_id: string | null;
|
|
8217
|
+
created_at: string;
|
|
8218
|
+
error: string | null;
|
|
8219
|
+
gateway_attempt_id: string | null;
|
|
8220
|
+
gateway_status: number | null;
|
|
8221
|
+
id: string;
|
|
8222
|
+
intent: string;
|
|
8223
|
+
ok: boolean;
|
|
8224
|
+
request_summary: Json | null;
|
|
8225
|
+
trade_item_id: string | null;
|
|
8226
|
+
user_id: string;
|
|
8227
|
+
};
|
|
8228
|
+
Insert: {
|
|
8229
|
+
action: string;
|
|
8230
|
+
connection_id?: string | null;
|
|
8231
|
+
created_at?: string;
|
|
8232
|
+
error?: string | null;
|
|
8233
|
+
gateway_attempt_id?: string | null;
|
|
8234
|
+
gateway_status?: number | null;
|
|
8235
|
+
id?: string;
|
|
8236
|
+
intent: string;
|
|
8237
|
+
ok: boolean;
|
|
8238
|
+
request_summary?: Json | null;
|
|
8239
|
+
trade_item_id?: string | null;
|
|
8240
|
+
user_id: string;
|
|
8241
|
+
};
|
|
8242
|
+
Update: {
|
|
8243
|
+
action?: string;
|
|
8244
|
+
connection_id?: string | null;
|
|
8245
|
+
created_at?: string;
|
|
8246
|
+
error?: string | null;
|
|
8247
|
+
gateway_attempt_id?: string | null;
|
|
8248
|
+
gateway_status?: number | null;
|
|
8249
|
+
id?: string;
|
|
8250
|
+
intent?: string;
|
|
8251
|
+
ok?: boolean;
|
|
8252
|
+
request_summary?: Json | null;
|
|
8253
|
+
trade_item_id?: string | null;
|
|
8254
|
+
user_id?: string;
|
|
8255
|
+
};
|
|
8256
|
+
Relationships: [];
|
|
8257
|
+
};
|
|
6124
8258
|
work_order_monteurs: {
|
|
6125
8259
|
Row: {
|
|
6126
8260
|
created_at: string;
|
|
@@ -6438,6 +8572,134 @@ export type Database = {
|
|
|
6438
8572
|
};
|
|
6439
8573
|
Relationships: [];
|
|
6440
8574
|
};
|
|
8575
|
+
external_invoices_grouped: {
|
|
8576
|
+
Row: {
|
|
8577
|
+
currency: string | null;
|
|
8578
|
+
customer_external_id: string | null;
|
|
8579
|
+
customer_name: string | null;
|
|
8580
|
+
customer_vat: string | null;
|
|
8581
|
+
due_at: string | null;
|
|
8582
|
+
group_key: string | null;
|
|
8583
|
+
invoice_number: string | null;
|
|
8584
|
+
is_merged: boolean | null;
|
|
8585
|
+
issued_at: string | null;
|
|
8586
|
+
modified_at: string | null;
|
|
8587
|
+
open_amount: number | null;
|
|
8588
|
+
paid_at: string | null;
|
|
8589
|
+
providers: string[] | null;
|
|
8590
|
+
source_count: number | null;
|
|
8591
|
+
sources: Json | null;
|
|
8592
|
+
status: string | null;
|
|
8593
|
+
total_excl: number | null;
|
|
8594
|
+
total_incl: number | null;
|
|
8595
|
+
total_vat: number | null;
|
|
8596
|
+
};
|
|
8597
|
+
Relationships: [];
|
|
8598
|
+
};
|
|
8599
|
+
external_invoices_unified: {
|
|
8600
|
+
Row: {
|
|
8601
|
+
connection_id: string | null;
|
|
8602
|
+
currency: string | null;
|
|
8603
|
+
customer_external_id: string | null;
|
|
8604
|
+
customer_name: string | null;
|
|
8605
|
+
customer_vat: string | null;
|
|
8606
|
+
due_at: string | null;
|
|
8607
|
+
external_id: string | null;
|
|
8608
|
+
invoice_number: string | null;
|
|
8609
|
+
issued_at: string | null;
|
|
8610
|
+
open_amount: number | null;
|
|
8611
|
+
owner_user_id: string | null;
|
|
8612
|
+
paid_at: string | null;
|
|
8613
|
+
raw: Json | null;
|
|
8614
|
+
source: string | null;
|
|
8615
|
+
status: string | null;
|
|
8616
|
+
synced_at: string | null;
|
|
8617
|
+
total_excl: number | null;
|
|
8618
|
+
total_incl: number | null;
|
|
8619
|
+
total_vat: number | null;
|
|
8620
|
+
};
|
|
8621
|
+
Relationships: [];
|
|
8622
|
+
};
|
|
8623
|
+
v_external_customers_exact: {
|
|
8624
|
+
Row: {
|
|
8625
|
+
account_number: string | null;
|
|
8626
|
+
city: string | null;
|
|
8627
|
+
coc_number: string | null;
|
|
8628
|
+
company_name: string | null;
|
|
8629
|
+
connection_id: string | null;
|
|
8630
|
+
country: string | null;
|
|
8631
|
+
currency: string | null;
|
|
8632
|
+
email: string | null;
|
|
8633
|
+
external_id: string | null;
|
|
8634
|
+
is_sales: boolean | null;
|
|
8635
|
+
is_supplier: boolean | null;
|
|
8636
|
+
language: string | null;
|
|
8637
|
+
modified_at: string | null;
|
|
8638
|
+
phone: string | null;
|
|
8639
|
+
postal_code: string | null;
|
|
8640
|
+
raw: Json | null;
|
|
8641
|
+
source: string | null;
|
|
8642
|
+
street: string | null;
|
|
8643
|
+
synced_at: string | null;
|
|
8644
|
+
vat_number: string | null;
|
|
8645
|
+
website: string | null;
|
|
8646
|
+
};
|
|
8647
|
+
Insert: {
|
|
8648
|
+
account_number?: string | null;
|
|
8649
|
+
city?: string | null;
|
|
8650
|
+
coc_number?: string | null;
|
|
8651
|
+
company_name?: string | null;
|
|
8652
|
+
connection_id?: string | null;
|
|
8653
|
+
country?: string | null;
|
|
8654
|
+
currency?: string | null;
|
|
8655
|
+
email?: string | null;
|
|
8656
|
+
external_id?: string | null;
|
|
8657
|
+
is_sales?: boolean | null;
|
|
8658
|
+
is_supplier?: boolean | null;
|
|
8659
|
+
language?: string | null;
|
|
8660
|
+
modified_at?: string | null;
|
|
8661
|
+
phone?: string | null;
|
|
8662
|
+
postal_code?: string | null;
|
|
8663
|
+
raw?: Json | null;
|
|
8664
|
+
source?: never;
|
|
8665
|
+
street?: string | null;
|
|
8666
|
+
synced_at?: string | null;
|
|
8667
|
+
vat_number?: string | null;
|
|
8668
|
+
website?: string | null;
|
|
8669
|
+
};
|
|
8670
|
+
Update: {
|
|
8671
|
+
account_number?: string | null;
|
|
8672
|
+
city?: string | null;
|
|
8673
|
+
coc_number?: string | null;
|
|
8674
|
+
company_name?: string | null;
|
|
8675
|
+
connection_id?: string | null;
|
|
8676
|
+
country?: string | null;
|
|
8677
|
+
currency?: string | null;
|
|
8678
|
+
email?: string | null;
|
|
8679
|
+
external_id?: string | null;
|
|
8680
|
+
is_sales?: boolean | null;
|
|
8681
|
+
is_supplier?: boolean | null;
|
|
8682
|
+
language?: string | null;
|
|
8683
|
+
modified_at?: string | null;
|
|
8684
|
+
phone?: string | null;
|
|
8685
|
+
postal_code?: string | null;
|
|
8686
|
+
raw?: Json | null;
|
|
8687
|
+
source?: never;
|
|
8688
|
+
street?: string | null;
|
|
8689
|
+
synced_at?: string | null;
|
|
8690
|
+
vat_number?: string | null;
|
|
8691
|
+
website?: string | null;
|
|
8692
|
+
};
|
|
8693
|
+
Relationships: [
|
|
8694
|
+
{
|
|
8695
|
+
foreignKeyName: "exact_customers_cache_connection_id_fkey";
|
|
8696
|
+
columns: ["connection_id"];
|
|
8697
|
+
isOneToOne: false;
|
|
8698
|
+
referencedRelation: "exact_connections";
|
|
8699
|
+
referencedColumns: ["id"];
|
|
8700
|
+
}
|
|
8701
|
+
];
|
|
8702
|
+
};
|
|
6441
8703
|
v_external_customers_floriday: {
|
|
6442
8704
|
Row: {
|
|
6443
8705
|
city: string | null;
|
|
@@ -6494,13 +8756,116 @@ export type Database = {
|
|
|
6494
8756
|
provider: string | null;
|
|
6495
8757
|
raw: Json | null;
|
|
6496
8758
|
status: string | null;
|
|
6497
|
-
street: string | null;
|
|
6498
|
-
vat_number: string | null;
|
|
6499
|
-
website: string | null;
|
|
8759
|
+
street: string | null;
|
|
8760
|
+
vat_number: string | null;
|
|
8761
|
+
website: string | null;
|
|
8762
|
+
};
|
|
8763
|
+
Relationships: [
|
|
8764
|
+
{
|
|
8765
|
+
foreignKeyName: "twinfield_customers_cache_connection_id_fkey";
|
|
8766
|
+
columns: ["connection_id"];
|
|
8767
|
+
isOneToOne: false;
|
|
8768
|
+
referencedRelation: "twinfield_connections";
|
|
8769
|
+
referencedColumns: ["id"];
|
|
8770
|
+
}
|
|
8771
|
+
];
|
|
8772
|
+
};
|
|
8773
|
+
v_external_invoices_exact: {
|
|
8774
|
+
Row: {
|
|
8775
|
+
connection_id: string | null;
|
|
8776
|
+
currency: string | null;
|
|
8777
|
+
customer_external_id: string | null;
|
|
8778
|
+
customer_name: string | null;
|
|
8779
|
+
customer_vat: string | null;
|
|
8780
|
+
due_at: string | null;
|
|
8781
|
+
external_id: string | null;
|
|
8782
|
+
invoice_number: string | null;
|
|
8783
|
+
issued_at: string | null;
|
|
8784
|
+
open_amount: number | null;
|
|
8785
|
+
paid_at: string | null;
|
|
8786
|
+
raw: Json | null;
|
|
8787
|
+
source: string | null;
|
|
8788
|
+
status: string | null;
|
|
8789
|
+
synced_at: string | null;
|
|
8790
|
+
total_excl: number | null;
|
|
8791
|
+
total_incl: number | null;
|
|
8792
|
+
total_vat: number | null;
|
|
8793
|
+
};
|
|
8794
|
+
Insert: {
|
|
8795
|
+
connection_id?: string | null;
|
|
8796
|
+
currency?: never;
|
|
8797
|
+
customer_external_id?: string | null;
|
|
8798
|
+
customer_name?: string | null;
|
|
8799
|
+
customer_vat?: never;
|
|
8800
|
+
due_at?: string | null;
|
|
8801
|
+
external_id?: string | null;
|
|
8802
|
+
invoice_number?: string | null;
|
|
8803
|
+
issued_at?: string | null;
|
|
8804
|
+
open_amount?: number | null;
|
|
8805
|
+
paid_at?: string | null;
|
|
8806
|
+
raw?: Json | null;
|
|
8807
|
+
source?: never;
|
|
8808
|
+
status?: string | null;
|
|
8809
|
+
synced_at?: string | null;
|
|
8810
|
+
total_excl?: number | null;
|
|
8811
|
+
total_incl?: number | null;
|
|
8812
|
+
total_vat?: number | null;
|
|
8813
|
+
};
|
|
8814
|
+
Update: {
|
|
8815
|
+
connection_id?: string | null;
|
|
8816
|
+
currency?: never;
|
|
8817
|
+
customer_external_id?: string | null;
|
|
8818
|
+
customer_name?: string | null;
|
|
8819
|
+
customer_vat?: never;
|
|
8820
|
+
due_at?: string | null;
|
|
8821
|
+
external_id?: string | null;
|
|
8822
|
+
invoice_number?: string | null;
|
|
8823
|
+
issued_at?: string | null;
|
|
8824
|
+
open_amount?: number | null;
|
|
8825
|
+
paid_at?: string | null;
|
|
8826
|
+
raw?: Json | null;
|
|
8827
|
+
source?: never;
|
|
8828
|
+
status?: string | null;
|
|
8829
|
+
synced_at?: string | null;
|
|
8830
|
+
total_excl?: number | null;
|
|
8831
|
+
total_incl?: number | null;
|
|
8832
|
+
total_vat?: number | null;
|
|
8833
|
+
};
|
|
8834
|
+
Relationships: [
|
|
8835
|
+
{
|
|
8836
|
+
foreignKeyName: "exact_invoices_cache_connection_id_fkey";
|
|
8837
|
+
columns: ["connection_id"];
|
|
8838
|
+
isOneToOne: false;
|
|
8839
|
+
referencedRelation: "exact_connections";
|
|
8840
|
+
referencedColumns: ["id"];
|
|
8841
|
+
}
|
|
8842
|
+
];
|
|
8843
|
+
};
|
|
8844
|
+
v_external_invoices_twinfield: {
|
|
8845
|
+
Row: {
|
|
8846
|
+
connection_id: string | null;
|
|
8847
|
+
currency: string | null;
|
|
8848
|
+
customer_external_id: string | null;
|
|
8849
|
+
customer_name: string | null;
|
|
8850
|
+
customer_vat: string | null;
|
|
8851
|
+
due_at: string | null;
|
|
8852
|
+
external_id: string | null;
|
|
8853
|
+
invoice_number: string | null;
|
|
8854
|
+
issued_at: string | null;
|
|
8855
|
+
open_amount: number | null;
|
|
8856
|
+
owner_user_id: string | null;
|
|
8857
|
+
paid_at: string | null;
|
|
8858
|
+
raw: Json | null;
|
|
8859
|
+
source: string | null;
|
|
8860
|
+
status: string | null;
|
|
8861
|
+
synced_at: string | null;
|
|
8862
|
+
total_excl: number | null;
|
|
8863
|
+
total_incl: number | null;
|
|
8864
|
+
total_vat: number | null;
|
|
6500
8865
|
};
|
|
6501
8866
|
Relationships: [
|
|
6502
8867
|
{
|
|
6503
|
-
foreignKeyName: "
|
|
8868
|
+
foreignKeyName: "twinfield_invoices_cache_v2_connection_id_fkey";
|
|
6504
8869
|
columns: ["connection_id"];
|
|
6505
8870
|
isOneToOne: false;
|
|
6506
8871
|
referencedRelation: "twinfield_connections";
|
|
@@ -6510,6 +8875,30 @@ export type Database = {
|
|
|
6510
8875
|
};
|
|
6511
8876
|
};
|
|
6512
8877
|
Functions: {
|
|
8878
|
+
_floriday_schedule_job: {
|
|
8879
|
+
Args: {
|
|
8880
|
+
p_apikey: string;
|
|
8881
|
+
p_jobname: string;
|
|
8882
|
+
p_schedule: string;
|
|
8883
|
+
p_timeout_ms: number;
|
|
8884
|
+
p_url: string;
|
|
8885
|
+
};
|
|
8886
|
+
Returns: number;
|
|
8887
|
+
};
|
|
8888
|
+
call_exact_route: {
|
|
8889
|
+
Args: {
|
|
8890
|
+
path: string;
|
|
8891
|
+
};
|
|
8892
|
+
Returns: number;
|
|
8893
|
+
};
|
|
8894
|
+
cleanup_old_bookings: {
|
|
8895
|
+
Args: never;
|
|
8896
|
+
Returns: number;
|
|
8897
|
+
};
|
|
8898
|
+
current_monteur_id: {
|
|
8899
|
+
Args: never;
|
|
8900
|
+
Returns: string;
|
|
8901
|
+
};
|
|
6513
8902
|
dashboard_list_public_schema: {
|
|
6514
8903
|
Args: never;
|
|
6515
8904
|
Returns: {
|
|
@@ -6614,6 +9003,32 @@ export type Database = {
|
|
|
6614
9003
|
office_code: string;
|
|
6615
9004
|
}[];
|
|
6616
9005
|
};
|
|
9006
|
+
get_floriday_agreements_active: {
|
|
9007
|
+
Args: {
|
|
9008
|
+
p_on_date?: string;
|
|
9009
|
+
};
|
|
9010
|
+
Returns: {
|
|
9011
|
+
buyer_organization_id: string;
|
|
9012
|
+
data: Json;
|
|
9013
|
+
floriday_id: string;
|
|
9014
|
+
status: string;
|
|
9015
|
+
valid_from: string;
|
|
9016
|
+
valid_until: string;
|
|
9017
|
+
}[];
|
|
9018
|
+
};
|
|
9019
|
+
get_floriday_clock_supplies_window: {
|
|
9020
|
+
Args: {
|
|
9021
|
+
p_from: string;
|
|
9022
|
+
p_to: string;
|
|
9023
|
+
};
|
|
9024
|
+
Returns: {
|
|
9025
|
+
auction_date: string;
|
|
9026
|
+
data: Json;
|
|
9027
|
+
floriday_id: string;
|
|
9028
|
+
status: string;
|
|
9029
|
+
trade_item_id: string;
|
|
9030
|
+
}[];
|
|
9031
|
+
};
|
|
6617
9032
|
get_floriday_cron_jobs: {
|
|
6618
9033
|
Args: never;
|
|
6619
9034
|
Returns: {
|
|
@@ -6623,6 +9038,56 @@ export type Database = {
|
|
|
6623
9038
|
url: string;
|
|
6624
9039
|
}[];
|
|
6625
9040
|
};
|
|
9041
|
+
get_floriday_delivery_locations: {
|
|
9042
|
+
Args: {
|
|
9043
|
+
p_organization_id: string;
|
|
9044
|
+
};
|
|
9045
|
+
Returns: {
|
|
9046
|
+
data: Json;
|
|
9047
|
+
floriday_id: string;
|
|
9048
|
+
gln_code: string;
|
|
9049
|
+
name: string;
|
|
9050
|
+
}[];
|
|
9051
|
+
};
|
|
9052
|
+
get_floriday_fulfillment_orders_window: {
|
|
9053
|
+
Args: {
|
|
9054
|
+
p_from: string;
|
|
9055
|
+
p_to: string;
|
|
9056
|
+
};
|
|
9057
|
+
Returns: {
|
|
9058
|
+
auction_date: string;
|
|
9059
|
+
data: Json;
|
|
9060
|
+
delivery_order_id: string;
|
|
9061
|
+
destination_warehouse_id: string;
|
|
9062
|
+
floriday_id: string;
|
|
9063
|
+
status: string;
|
|
9064
|
+
}[];
|
|
9065
|
+
};
|
|
9066
|
+
get_floriday_sales_orders_window: {
|
|
9067
|
+
Args: {
|
|
9068
|
+
p_from: string;
|
|
9069
|
+
p_to: string;
|
|
9070
|
+
};
|
|
9071
|
+
Returns: {
|
|
9072
|
+
buyer_organization_id: string;
|
|
9073
|
+
data: Json;
|
|
9074
|
+
floriday_id: string;
|
|
9075
|
+
status: string;
|
|
9076
|
+
updated_at: string;
|
|
9077
|
+
}[];
|
|
9078
|
+
};
|
|
9079
|
+
get_floriday_sync_health: {
|
|
9080
|
+
Args: never;
|
|
9081
|
+
Returns: {
|
|
9082
|
+
entity_type: string;
|
|
9083
|
+
last_error: string;
|
|
9084
|
+
last_items_processed: number;
|
|
9085
|
+
last_sequence_number: number;
|
|
9086
|
+
last_success_at: string;
|
|
9087
|
+
last_synced_at: string;
|
|
9088
|
+
minutes_since_success: number;
|
|
9089
|
+
}[];
|
|
9090
|
+
};
|
|
6626
9091
|
get_offer_by_link_code: {
|
|
6627
9092
|
Args: {
|
|
6628
9093
|
p_code: string;
|
|
@@ -6688,6 +9153,74 @@ export type Database = {
|
|
|
6688
9153
|
};
|
|
6689
9154
|
Returns: string;
|
|
6690
9155
|
};
|
|
9156
|
+
pickstation_get_orders_raw: {
|
|
9157
|
+
Args: never;
|
|
9158
|
+
Returns: Json;
|
|
9159
|
+
};
|
|
9160
|
+
pickstation_get_settings: {
|
|
9161
|
+
Args: never;
|
|
9162
|
+
Returns: Json;
|
|
9163
|
+
};
|
|
9164
|
+
pickstation_log_print: {
|
|
9165
|
+
Args: {
|
|
9166
|
+
p_customer_name: string;
|
|
9167
|
+
p_documents: string[];
|
|
9168
|
+
p_ip_address: string;
|
|
9169
|
+
p_order_id: string;
|
|
9170
|
+
p_order_number: string;
|
|
9171
|
+
};
|
|
9172
|
+
Returns: undefined;
|
|
9173
|
+
};
|
|
9174
|
+
refresh_floricode_derived_code_lists: {
|
|
9175
|
+
Args: never;
|
|
9176
|
+
Returns: {
|
|
9177
|
+
out_environment: string;
|
|
9178
|
+
out_list_name: string;
|
|
9179
|
+
out_row_count: number;
|
|
9180
|
+
}[];
|
|
9181
|
+
};
|
|
9182
|
+
reset_floriday_sync_cursor: {
|
|
9183
|
+
Args: {
|
|
9184
|
+
p_connection_id: string;
|
|
9185
|
+
p_entity_type: string;
|
|
9186
|
+
};
|
|
9187
|
+
Returns: undefined;
|
|
9188
|
+
};
|
|
9189
|
+
schedule_floriday_additional_services_sync: {
|
|
9190
|
+
Args: {
|
|
9191
|
+
p_apikey: string;
|
|
9192
|
+
p_url: string;
|
|
9193
|
+
};
|
|
9194
|
+
Returns: number;
|
|
9195
|
+
};
|
|
9196
|
+
schedule_floriday_agreement_calloffs_sync: {
|
|
9197
|
+
Args: {
|
|
9198
|
+
p_apikey: string;
|
|
9199
|
+
p_url: string;
|
|
9200
|
+
};
|
|
9201
|
+
Returns: number;
|
|
9202
|
+
};
|
|
9203
|
+
schedule_floriday_agreements_sync: {
|
|
9204
|
+
Args: {
|
|
9205
|
+
p_apikey: string;
|
|
9206
|
+
p_url: string;
|
|
9207
|
+
};
|
|
9208
|
+
Returns: number;
|
|
9209
|
+
};
|
|
9210
|
+
schedule_floriday_base_items_sync: {
|
|
9211
|
+
Args: {
|
|
9212
|
+
p_apikey: string;
|
|
9213
|
+
p_url: string;
|
|
9214
|
+
};
|
|
9215
|
+
Returns: number;
|
|
9216
|
+
};
|
|
9217
|
+
schedule_floriday_blanket_orders_sync: {
|
|
9218
|
+
Args: {
|
|
9219
|
+
p_apikey: string;
|
|
9220
|
+
p_url: string;
|
|
9221
|
+
};
|
|
9222
|
+
Returns: number;
|
|
9223
|
+
};
|
|
6691
9224
|
schedule_floriday_carriers_sync: {
|
|
6692
9225
|
Args: {
|
|
6693
9226
|
p_apikey: string;
|
|
@@ -6695,6 +9228,34 @@ export type Database = {
|
|
|
6695
9228
|
};
|
|
6696
9229
|
Returns: number;
|
|
6697
9230
|
};
|
|
9231
|
+
schedule_floriday_clock_presales_sync: {
|
|
9232
|
+
Args: {
|
|
9233
|
+
p_apikey: string;
|
|
9234
|
+
p_url: string;
|
|
9235
|
+
};
|
|
9236
|
+
Returns: number;
|
|
9237
|
+
};
|
|
9238
|
+
schedule_floriday_clock_supplies_sync: {
|
|
9239
|
+
Args: {
|
|
9240
|
+
p_apikey: string;
|
|
9241
|
+
p_url: string;
|
|
9242
|
+
};
|
|
9243
|
+
Returns: number;
|
|
9244
|
+
};
|
|
9245
|
+
schedule_floriday_collections_sync: {
|
|
9246
|
+
Args: {
|
|
9247
|
+
p_apikey: string;
|
|
9248
|
+
p_url: string;
|
|
9249
|
+
};
|
|
9250
|
+
Returns: number;
|
|
9251
|
+
};
|
|
9252
|
+
schedule_floriday_commercial_service_types_sync: {
|
|
9253
|
+
Args: {
|
|
9254
|
+
p_apikey: string;
|
|
9255
|
+
p_url: string;
|
|
9256
|
+
};
|
|
9257
|
+
Returns: number;
|
|
9258
|
+
};
|
|
6698
9259
|
schedule_floriday_connections_sync: {
|
|
6699
9260
|
Args: {
|
|
6700
9261
|
p_apikey: string;
|
|
@@ -6702,6 +9263,20 @@ export type Database = {
|
|
|
6702
9263
|
};
|
|
6703
9264
|
Returns: number;
|
|
6704
9265
|
};
|
|
9266
|
+
schedule_floriday_contract_trade_item_groups_sync: {
|
|
9267
|
+
Args: {
|
|
9268
|
+
p_apikey: string;
|
|
9269
|
+
p_url: string;
|
|
9270
|
+
};
|
|
9271
|
+
Returns: number;
|
|
9272
|
+
};
|
|
9273
|
+
schedule_floriday_contracts_sync: {
|
|
9274
|
+
Args: {
|
|
9275
|
+
p_apikey: string;
|
|
9276
|
+
p_url: string;
|
|
9277
|
+
};
|
|
9278
|
+
Returns: number;
|
|
9279
|
+
};
|
|
6705
9280
|
schedule_floriday_customer_organizations_sync: {
|
|
6706
9281
|
Args: {
|
|
6707
9282
|
p_apikey: string;
|
|
@@ -6709,6 +9284,48 @@ export type Database = {
|
|
|
6709
9284
|
};
|
|
6710
9285
|
Returns: number;
|
|
6711
9286
|
};
|
|
9287
|
+
schedule_floriday_customer_stickers_sync: {
|
|
9288
|
+
Args: {
|
|
9289
|
+
p_apikey: string;
|
|
9290
|
+
p_url: string;
|
|
9291
|
+
};
|
|
9292
|
+
Returns: number;
|
|
9293
|
+
};
|
|
9294
|
+
schedule_floriday_delivery_condition_sets_sync: {
|
|
9295
|
+
Args: {
|
|
9296
|
+
p_apikey: string;
|
|
9297
|
+
p_url: string;
|
|
9298
|
+
};
|
|
9299
|
+
Returns: number;
|
|
9300
|
+
};
|
|
9301
|
+
schedule_floriday_delivery_locations_sync: {
|
|
9302
|
+
Args: {
|
|
9303
|
+
p_apikey: string;
|
|
9304
|
+
p_url: string;
|
|
9305
|
+
};
|
|
9306
|
+
Returns: number;
|
|
9307
|
+
};
|
|
9308
|
+
schedule_floriday_delivery_orders_sync: {
|
|
9309
|
+
Args: {
|
|
9310
|
+
p_apikey: string;
|
|
9311
|
+
p_url: string;
|
|
9312
|
+
};
|
|
9313
|
+
Returns: number;
|
|
9314
|
+
};
|
|
9315
|
+
schedule_floriday_fulfillment_orders_sync: {
|
|
9316
|
+
Args: {
|
|
9317
|
+
p_apikey: string;
|
|
9318
|
+
p_url: string;
|
|
9319
|
+
};
|
|
9320
|
+
Returns: number;
|
|
9321
|
+
};
|
|
9322
|
+
schedule_floriday_invoices_sync: {
|
|
9323
|
+
Args: {
|
|
9324
|
+
p_apikey: string;
|
|
9325
|
+
p_url: string;
|
|
9326
|
+
};
|
|
9327
|
+
Returns: number;
|
|
9328
|
+
};
|
|
6712
9329
|
schedule_floriday_network_sync: {
|
|
6713
9330
|
Args: {
|
|
6714
9331
|
p_apikey: string;
|
|
@@ -6716,6 +9333,34 @@ export type Database = {
|
|
|
6716
9333
|
};
|
|
6717
9334
|
Returns: number;
|
|
6718
9335
|
};
|
|
9336
|
+
schedule_floriday_packings_sync: {
|
|
9337
|
+
Args: {
|
|
9338
|
+
p_apikey: string;
|
|
9339
|
+
p_url: string;
|
|
9340
|
+
};
|
|
9341
|
+
Returns: number;
|
|
9342
|
+
};
|
|
9343
|
+
schedule_floriday_price_groups_sync: {
|
|
9344
|
+
Args: {
|
|
9345
|
+
p_apikey: string;
|
|
9346
|
+
p_url: string;
|
|
9347
|
+
};
|
|
9348
|
+
Returns: number;
|
|
9349
|
+
};
|
|
9350
|
+
schedule_floriday_reference_data_refresh: {
|
|
9351
|
+
Args: {
|
|
9352
|
+
p_apikey: string;
|
|
9353
|
+
p_url: string;
|
|
9354
|
+
};
|
|
9355
|
+
Returns: number;
|
|
9356
|
+
};
|
|
9357
|
+
schedule_floriday_sales_strategies_sync: {
|
|
9358
|
+
Args: {
|
|
9359
|
+
p_apikey: string;
|
|
9360
|
+
p_url: string;
|
|
9361
|
+
};
|
|
9362
|
+
Returns: number;
|
|
9363
|
+
};
|
|
6719
9364
|
schedule_floriday_salesorders_sync: {
|
|
6720
9365
|
Args: {
|
|
6721
9366
|
p_apikey: string;
|
|
@@ -6730,6 +9375,13 @@ export type Database = {
|
|
|
6730
9375
|
};
|
|
6731
9376
|
Returns: number;
|
|
6732
9377
|
};
|
|
9378
|
+
schedule_floriday_trade_item_classifications_sync: {
|
|
9379
|
+
Args: {
|
|
9380
|
+
p_apikey: string;
|
|
9381
|
+
p_url: string;
|
|
9382
|
+
};
|
|
9383
|
+
Returns: number;
|
|
9384
|
+
};
|
|
6733
9385
|
schedule_floriday_trade_items_sync: {
|
|
6734
9386
|
Args: {
|
|
6735
9387
|
p_apikey: string;
|
|
@@ -6737,6 +9389,20 @@ export type Database = {
|
|
|
6737
9389
|
};
|
|
6738
9390
|
Returns: number;
|
|
6739
9391
|
};
|
|
9392
|
+
schedule_floriday_trips_sync: {
|
|
9393
|
+
Args: {
|
|
9394
|
+
p_apikey: string;
|
|
9395
|
+
p_url: string;
|
|
9396
|
+
};
|
|
9397
|
+
Returns: number;
|
|
9398
|
+
};
|
|
9399
|
+
schedule_floriday_warehouses_sync: {
|
|
9400
|
+
Args: {
|
|
9401
|
+
p_apikey: string;
|
|
9402
|
+
p_url: string;
|
|
9403
|
+
};
|
|
9404
|
+
Returns: number;
|
|
9405
|
+
};
|
|
6740
9406
|
schedule_twinfield_customers_sync: {
|
|
6741
9407
|
Args: {
|
|
6742
9408
|
p_apikey: string;
|
|
@@ -6765,6 +9431,14 @@ export type Database = {
|
|
|
6765
9431
|
};
|
|
6766
9432
|
Returns: number;
|
|
6767
9433
|
};
|
|
9434
|
+
schedule_twinfield_push_queue_flush: {
|
|
9435
|
+
Args: {
|
|
9436
|
+
p_apikey: string;
|
|
9437
|
+
p_cron_secret?: string;
|
|
9438
|
+
p_url: string;
|
|
9439
|
+
};
|
|
9440
|
+
Returns: number;
|
|
9441
|
+
};
|
|
6768
9442
|
schedule_twinfield_token_refresh: {
|
|
6769
9443
|
Args: {
|
|
6770
9444
|
p_apikey: string;
|
|
@@ -6803,8 +9477,9 @@ export type Database = {
|
|
|
6803
9477
|
};
|
|
6804
9478
|
};
|
|
6805
9479
|
Enums: {
|
|
6806
|
-
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
9480
|
+
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
|
|
6807
9481
|
exact_env: "staging" | "live";
|
|
9482
|
+
exact_push_status: "pending" | "sent" | "error";
|
|
6808
9483
|
quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
|
|
6809
9484
|
};
|
|
6810
9485
|
CompositeTypes: {
|
|
@@ -6864,8 +9539,9 @@ export type CompositeTypes<PublicCompositeTypeNameOrOptions extends keyof Defaul
|
|
|
6864
9539
|
export declare const Constants: {
|
|
6865
9540
|
readonly public: {
|
|
6866
9541
|
readonly Enums: {
|
|
6867
|
-
readonly app_role: readonly ["admin", "manager", "warehouse", "sales", "developer", "receptie"];
|
|
9542
|
+
readonly app_role: readonly ["admin", "manager", "warehouse", "sales", "developer", "receptie", "monteur"];
|
|
6868
9543
|
readonly exact_env: readonly ["staging", "live"];
|
|
9544
|
+
readonly exact_push_status: readonly ["pending", "sent", "error"];
|
|
6869
9545
|
readonly quote_status: readonly ["concept", "verzonden", "bekeken", "in_behandeling", "geaccepteerd", "afgewezen", "verlopen", "gearchiveerd"];
|
|
6870
9546
|
};
|
|
6871
9547
|
};
|