@flowselections/floriday-klanten-module 1.0.29 → 1.0.31
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/BewerkKlant.d.ts +6 -1
- package/dist-lib/components/klanten/BewerkKlant.d.ts.map +1 -1
- package/dist-lib/components/klanten/BewerkKlant.js +7 -4
- package/dist-lib/components/klanten/GroupedKlantDetail.d.ts.map +1 -1
- package/dist-lib/components/klanten/GroupedKlantDetail.js +4 -2
- package/dist-lib/components/klanten/KlantBewerkenDialog.d.ts +12 -0
- package/dist-lib/components/klanten/KlantBewerkenDialog.d.ts.map +1 -0
- package/dist-lib/components/klanten/KlantBewerkenDialog.js +27 -0
- package/dist-lib/components/klanten/KlantDetail.d.ts.map +1 -1
- package/dist-lib/components/klanten/KlantDetail.js +5 -3
- package/dist-lib/components/klanten/KlantenOverzicht.d.ts.map +1 -1
- package/dist-lib/components/klanten/KlantenOverzicht.js +65 -11
- package/dist-lib/components/klanten/OvernemenTwinfieldKlant.d.ts +7 -1
- package/dist-lib/components/klanten/OvernemenTwinfieldKlant.d.ts.map +1 -1
- package/dist-lib/components/klanten/OvernemenTwinfieldKlant.js +14 -7
- package/dist-lib/index.d.ts +1 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +1 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +745 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +745 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +745 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +745 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts +2411 -176
- package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts.map +1 -1
- package/dist-lib/lib/accounting.functions.d.ts +2411 -176
- package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-analytics.functions.d.ts +745 -0
- package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-notes.functions.d.ts +1490 -0
- package/dist-lib/lib/customer-notes.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-revenue.functions.d.ts +20582 -0
- package/dist-lib/lib/customer-revenue.functions.d.ts.map +1 -0
- package/dist-lib/lib/customer-revenue.functions.js +124 -0
- package/dist-lib/lib/customers.functions.d.ts +6705 -0
- package/dist-lib/lib/customers.functions.d.ts.map +1 -1
- package/dist-lib/lib/delivery-locations.functions.d.ts +3332 -352
- package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
- package/dist-lib/lib/external-customers.functions.d.ts +3332 -352
- package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-assortment.functions.d.ts +745 -0
- package/dist-lib/lib/floriday-assortment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-discounts.functions.d.ts +1490 -0
- package/dist-lib/lib/floriday-discounts.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-trade-items.functions.d.ts +745 -0
- package/dist-lib/lib/floriday-trade-items.functions.d.ts.map +1 -1
- package/dist-lib/lib/local-discounts.functions.d.ts +5215 -0
- package/dist-lib/lib/local-discounts.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-events.functions.d.ts +745 -0
- package/dist-lib/lib/logistics-events.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-strategy.functions.d.ts +3332 -352
- package/dist-lib/lib/logistics-strategy.functions.d.ts.map +1 -1
- package/dist-lib/lib/overdue-invoices.functions.d.ts +745 -0
- package/dist-lib/lib/overdue-invoices.functions.d.ts.map +1 -1
- package/dist-lib/lib/price-groups-local.functions.d.ts +5215 -0
- package/dist-lib/lib/price-groups-local.functions.d.ts.map +1 -1
- package/dist-lib/lib/price-groups.functions.d.ts +745 -0
- package/dist-lib/lib/price-groups.functions.d.ts.map +1 -1
- package/dist-lib/lib/twinfield-adopt.functions.d.ts +1490 -0
- package/dist-lib/lib/twinfield-adopt.functions.d.ts.map +1 -1
- package/dist-lib/lib/twinfield-ledger.functions.d.ts +745 -0
- package/dist-lib/lib/twinfield-ledger.functions.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -3536,6 +3536,474 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
3536
3536
|
referencedColumns: ["id"];
|
|
3537
3537
|
}];
|
|
3538
3538
|
};
|
|
3539
|
+
exact_auth_call_budget: {
|
|
3540
|
+
Row: {
|
|
3541
|
+
account_key: string;
|
|
3542
|
+
day_count: number;
|
|
3543
|
+
day_date: string;
|
|
3544
|
+
division_code: number;
|
|
3545
|
+
environment: string;
|
|
3546
|
+
minute_count: number;
|
|
3547
|
+
minute_window: string;
|
|
3548
|
+
updated_at: string;
|
|
3549
|
+
};
|
|
3550
|
+
Insert: {
|
|
3551
|
+
account_key?: string;
|
|
3552
|
+
day_count?: number;
|
|
3553
|
+
day_date?: string;
|
|
3554
|
+
division_code?: number;
|
|
3555
|
+
environment: string;
|
|
3556
|
+
minute_count?: number;
|
|
3557
|
+
minute_window?: string;
|
|
3558
|
+
updated_at?: string;
|
|
3559
|
+
};
|
|
3560
|
+
Update: {
|
|
3561
|
+
account_key?: string;
|
|
3562
|
+
day_count?: number;
|
|
3563
|
+
day_date?: string;
|
|
3564
|
+
division_code?: number;
|
|
3565
|
+
environment?: string;
|
|
3566
|
+
minute_count?: number;
|
|
3567
|
+
minute_window?: string;
|
|
3568
|
+
updated_at?: string;
|
|
3569
|
+
};
|
|
3570
|
+
Relationships: [];
|
|
3571
|
+
};
|
|
3572
|
+
exact_auth_customers: {
|
|
3573
|
+
Row: {
|
|
3574
|
+
account_key: string;
|
|
3575
|
+
address_line1: string | null;
|
|
3576
|
+
chamber_of_commerce: string | null;
|
|
3577
|
+
city: string | null;
|
|
3578
|
+
code: string | null;
|
|
3579
|
+
country: string | null;
|
|
3580
|
+
created_at: string;
|
|
3581
|
+
currency: string | null;
|
|
3582
|
+
division_code: number | null;
|
|
3583
|
+
email: string | null;
|
|
3584
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3585
|
+
exact_id: string;
|
|
3586
|
+
exact_modified: string | null;
|
|
3587
|
+
exact_timestamp: number | null;
|
|
3588
|
+
id: string;
|
|
3589
|
+
is_active: boolean;
|
|
3590
|
+
name: string | null;
|
|
3591
|
+
phone: string | null;
|
|
3592
|
+
postcode: string | null;
|
|
3593
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3594
|
+
status: string | null;
|
|
3595
|
+
updated_at: string;
|
|
3596
|
+
vat_number: string | null;
|
|
3597
|
+
website: string | null;
|
|
3598
|
+
};
|
|
3599
|
+
Insert: {
|
|
3600
|
+
account_key?: string;
|
|
3601
|
+
address_line1?: string | null;
|
|
3602
|
+
chamber_of_commerce?: string | null;
|
|
3603
|
+
city?: string | null;
|
|
3604
|
+
code?: string | null;
|
|
3605
|
+
country?: string | null;
|
|
3606
|
+
created_at?: string;
|
|
3607
|
+
currency?: string | null;
|
|
3608
|
+
division_code?: number | null;
|
|
3609
|
+
email?: string | null;
|
|
3610
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3611
|
+
exact_id: string;
|
|
3612
|
+
exact_modified?: string | null;
|
|
3613
|
+
exact_timestamp?: number | null;
|
|
3614
|
+
id?: string;
|
|
3615
|
+
is_active?: boolean;
|
|
3616
|
+
name?: string | null;
|
|
3617
|
+
phone?: string | null;
|
|
3618
|
+
postcode?: string | null;
|
|
3619
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3620
|
+
status?: string | null;
|
|
3621
|
+
updated_at?: string;
|
|
3622
|
+
vat_number?: string | null;
|
|
3623
|
+
website?: string | null;
|
|
3624
|
+
};
|
|
3625
|
+
Update: {
|
|
3626
|
+
account_key?: string;
|
|
3627
|
+
address_line1?: string | null;
|
|
3628
|
+
chamber_of_commerce?: string | null;
|
|
3629
|
+
city?: string | null;
|
|
3630
|
+
code?: string | null;
|
|
3631
|
+
country?: string | null;
|
|
3632
|
+
created_at?: string;
|
|
3633
|
+
currency?: string | null;
|
|
3634
|
+
division_code?: number | null;
|
|
3635
|
+
email?: string | null;
|
|
3636
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3637
|
+
exact_id?: string;
|
|
3638
|
+
exact_modified?: string | null;
|
|
3639
|
+
exact_timestamp?: number | null;
|
|
3640
|
+
id?: string;
|
|
3641
|
+
is_active?: boolean;
|
|
3642
|
+
name?: string | null;
|
|
3643
|
+
phone?: string | null;
|
|
3644
|
+
postcode?: string | null;
|
|
3645
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3646
|
+
status?: string | null;
|
|
3647
|
+
updated_at?: string;
|
|
3648
|
+
vat_number?: string | null;
|
|
3649
|
+
website?: string | null;
|
|
3650
|
+
};
|
|
3651
|
+
Relationships: [];
|
|
3652
|
+
};
|
|
3653
|
+
exact_auth_divisions: {
|
|
3654
|
+
Row: {
|
|
3655
|
+
account_key: string;
|
|
3656
|
+
company_name: string | null;
|
|
3657
|
+
created_at: string;
|
|
3658
|
+
division_code: number | null;
|
|
3659
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3660
|
+
id: string;
|
|
3661
|
+
last_synced_at: string | null;
|
|
3662
|
+
updated_at: string;
|
|
3663
|
+
};
|
|
3664
|
+
Insert: {
|
|
3665
|
+
account_key?: string;
|
|
3666
|
+
company_name?: string | null;
|
|
3667
|
+
created_at?: string;
|
|
3668
|
+
division_code?: number | null;
|
|
3669
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3670
|
+
id?: string;
|
|
3671
|
+
last_synced_at?: string | null;
|
|
3672
|
+
updated_at?: string;
|
|
3673
|
+
};
|
|
3674
|
+
Update: {
|
|
3675
|
+
account_key?: string;
|
|
3676
|
+
company_name?: string | null;
|
|
3677
|
+
created_at?: string;
|
|
3678
|
+
division_code?: number | null;
|
|
3679
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3680
|
+
id?: string;
|
|
3681
|
+
last_synced_at?: string | null;
|
|
3682
|
+
updated_at?: string;
|
|
3683
|
+
};
|
|
3684
|
+
Relationships: [];
|
|
3685
|
+
};
|
|
3686
|
+
exact_auth_invoice_lines: {
|
|
3687
|
+
Row: {
|
|
3688
|
+
account_key: string;
|
|
3689
|
+
amount_excl: number | null;
|
|
3690
|
+
created_at: string;
|
|
3691
|
+
description: string | null;
|
|
3692
|
+
discount: number | null;
|
|
3693
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3694
|
+
exact_id: string;
|
|
3695
|
+
exact_timestamp: number | null;
|
|
3696
|
+
id: string;
|
|
3697
|
+
invoice_exact_id: string;
|
|
3698
|
+
item_code: string | null;
|
|
3699
|
+
item_exact_id: string | null;
|
|
3700
|
+
line_number: number | null;
|
|
3701
|
+
quantity: number | null;
|
|
3702
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3703
|
+
unit_price: number | null;
|
|
3704
|
+
updated_at: string;
|
|
3705
|
+
vat_amount: number | null;
|
|
3706
|
+
vat_code: string | null;
|
|
3707
|
+
};
|
|
3708
|
+
Insert: {
|
|
3709
|
+
account_key?: string;
|
|
3710
|
+
amount_excl?: number | null;
|
|
3711
|
+
created_at?: string;
|
|
3712
|
+
description?: string | null;
|
|
3713
|
+
discount?: number | null;
|
|
3714
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3715
|
+
exact_id: string;
|
|
3716
|
+
exact_timestamp?: number | null;
|
|
3717
|
+
id?: string;
|
|
3718
|
+
invoice_exact_id: string;
|
|
3719
|
+
item_code?: string | null;
|
|
3720
|
+
item_exact_id?: string | null;
|
|
3721
|
+
line_number?: number | null;
|
|
3722
|
+
quantity?: number | null;
|
|
3723
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3724
|
+
unit_price?: number | null;
|
|
3725
|
+
updated_at?: string;
|
|
3726
|
+
vat_amount?: number | null;
|
|
3727
|
+
vat_code?: string | null;
|
|
3728
|
+
};
|
|
3729
|
+
Update: {
|
|
3730
|
+
account_key?: string;
|
|
3731
|
+
amount_excl?: number | null;
|
|
3732
|
+
created_at?: string;
|
|
3733
|
+
description?: string | null;
|
|
3734
|
+
discount?: number | null;
|
|
3735
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3736
|
+
exact_id?: string;
|
|
3737
|
+
exact_timestamp?: number | null;
|
|
3738
|
+
id?: string;
|
|
3739
|
+
invoice_exact_id?: string;
|
|
3740
|
+
item_code?: string | null;
|
|
3741
|
+
item_exact_id?: string | null;
|
|
3742
|
+
line_number?: number | null;
|
|
3743
|
+
quantity?: number | null;
|
|
3744
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3745
|
+
unit_price?: number | null;
|
|
3746
|
+
updated_at?: string;
|
|
3747
|
+
vat_amount?: number | null;
|
|
3748
|
+
vat_code?: string | null;
|
|
3749
|
+
};
|
|
3750
|
+
Relationships: [];
|
|
3751
|
+
};
|
|
3752
|
+
exact_auth_invoices: {
|
|
3753
|
+
Row: {
|
|
3754
|
+
account_key: string;
|
|
3755
|
+
amount_excl: number | null;
|
|
3756
|
+
amount_incl: number | null;
|
|
3757
|
+
amount_open: number | null;
|
|
3758
|
+
created_at: string;
|
|
3759
|
+
currency: string | null;
|
|
3760
|
+
customer_code: string | null;
|
|
3761
|
+
customer_exact_id: string | null;
|
|
3762
|
+
customer_name: string | null;
|
|
3763
|
+
description: string | null;
|
|
3764
|
+
division_code: number | null;
|
|
3765
|
+
due_date: string | null;
|
|
3766
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3767
|
+
exact_id: string;
|
|
3768
|
+
exact_modified: string | null;
|
|
3769
|
+
exact_timestamp: number | null;
|
|
3770
|
+
id: string;
|
|
3771
|
+
invoice_date: string | null;
|
|
3772
|
+
invoice_number: string | null;
|
|
3773
|
+
order_number: string | null;
|
|
3774
|
+
paid_at: string | null;
|
|
3775
|
+
payment_status: string;
|
|
3776
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3777
|
+
receivable_synced_at: string | null;
|
|
3778
|
+
status_code: number | null;
|
|
3779
|
+
updated_at: string;
|
|
3780
|
+
};
|
|
3781
|
+
Insert: {
|
|
3782
|
+
account_key?: string;
|
|
3783
|
+
amount_excl?: number | null;
|
|
3784
|
+
amount_incl?: number | null;
|
|
3785
|
+
amount_open?: number | null;
|
|
3786
|
+
created_at?: string;
|
|
3787
|
+
currency?: string | null;
|
|
3788
|
+
customer_code?: string | null;
|
|
3789
|
+
customer_exact_id?: string | null;
|
|
3790
|
+
customer_name?: string | null;
|
|
3791
|
+
description?: string | null;
|
|
3792
|
+
division_code?: number | null;
|
|
3793
|
+
due_date?: string | null;
|
|
3794
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3795
|
+
exact_id: string;
|
|
3796
|
+
exact_modified?: string | null;
|
|
3797
|
+
exact_timestamp?: number | null;
|
|
3798
|
+
id?: string;
|
|
3799
|
+
invoice_date?: string | null;
|
|
3800
|
+
invoice_number?: string | null;
|
|
3801
|
+
order_number?: string | null;
|
|
3802
|
+
paid_at?: string | null;
|
|
3803
|
+
payment_status?: string;
|
|
3804
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3805
|
+
receivable_synced_at?: string | null;
|
|
3806
|
+
status_code?: number | null;
|
|
3807
|
+
updated_at?: string;
|
|
3808
|
+
};
|
|
3809
|
+
Update: {
|
|
3810
|
+
account_key?: string;
|
|
3811
|
+
amount_excl?: number | null;
|
|
3812
|
+
amount_incl?: number | null;
|
|
3813
|
+
amount_open?: number | null;
|
|
3814
|
+
created_at?: string;
|
|
3815
|
+
currency?: string | null;
|
|
3816
|
+
customer_code?: string | null;
|
|
3817
|
+
customer_exact_id?: string | null;
|
|
3818
|
+
customer_name?: string | null;
|
|
3819
|
+
description?: string | null;
|
|
3820
|
+
division_code?: number | null;
|
|
3821
|
+
due_date?: string | null;
|
|
3822
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3823
|
+
exact_id?: string;
|
|
3824
|
+
exact_modified?: string | null;
|
|
3825
|
+
exact_timestamp?: number | null;
|
|
3826
|
+
id?: string;
|
|
3827
|
+
invoice_date?: string | null;
|
|
3828
|
+
invoice_number?: string | null;
|
|
3829
|
+
order_number?: string | null;
|
|
3830
|
+
paid_at?: string | null;
|
|
3831
|
+
payment_status?: string;
|
|
3832
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3833
|
+
receivable_synced_at?: string | null;
|
|
3834
|
+
status_code?: number | null;
|
|
3835
|
+
updated_at?: string;
|
|
3836
|
+
};
|
|
3837
|
+
Relationships: [];
|
|
3838
|
+
};
|
|
3839
|
+
exact_auth_items: {
|
|
3840
|
+
Row: {
|
|
3841
|
+
account_key: string;
|
|
3842
|
+
barcode: string | null;
|
|
3843
|
+
code: string | null;
|
|
3844
|
+
cost_price: number | null;
|
|
3845
|
+
created_at: string;
|
|
3846
|
+
description: string | null;
|
|
3847
|
+
division_code: number | null;
|
|
3848
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3849
|
+
exact_id: string;
|
|
3850
|
+
exact_modified: string | null;
|
|
3851
|
+
exact_timestamp: number | null;
|
|
3852
|
+
gl_account_code: string | null;
|
|
3853
|
+
id: string;
|
|
3854
|
+
is_active: boolean;
|
|
3855
|
+
is_sales_item: boolean | null;
|
|
3856
|
+
item_type: string | null;
|
|
3857
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
3858
|
+
sales_price: number | null;
|
|
3859
|
+
unit: string | null;
|
|
3860
|
+
updated_at: string;
|
|
3861
|
+
vat_code: string | null;
|
|
3862
|
+
};
|
|
3863
|
+
Insert: {
|
|
3864
|
+
account_key?: string;
|
|
3865
|
+
barcode?: string | null;
|
|
3866
|
+
code?: string | null;
|
|
3867
|
+
cost_price?: number | null;
|
|
3868
|
+
created_at?: string;
|
|
3869
|
+
description?: string | null;
|
|
3870
|
+
division_code?: number | null;
|
|
3871
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3872
|
+
exact_id: string;
|
|
3873
|
+
exact_modified?: string | null;
|
|
3874
|
+
exact_timestamp?: number | null;
|
|
3875
|
+
gl_account_code?: string | null;
|
|
3876
|
+
id?: string;
|
|
3877
|
+
is_active?: boolean;
|
|
3878
|
+
is_sales_item?: boolean | null;
|
|
3879
|
+
item_type?: string | null;
|
|
3880
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3881
|
+
sales_price?: number | null;
|
|
3882
|
+
unit?: string | null;
|
|
3883
|
+
updated_at?: string;
|
|
3884
|
+
vat_code?: string | null;
|
|
3885
|
+
};
|
|
3886
|
+
Update: {
|
|
3887
|
+
account_key?: string;
|
|
3888
|
+
barcode?: string | null;
|
|
3889
|
+
code?: string | null;
|
|
3890
|
+
cost_price?: number | null;
|
|
3891
|
+
created_at?: string;
|
|
3892
|
+
description?: string | null;
|
|
3893
|
+
division_code?: number | null;
|
|
3894
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3895
|
+
exact_id?: string;
|
|
3896
|
+
exact_modified?: string | null;
|
|
3897
|
+
exact_timestamp?: number | null;
|
|
3898
|
+
gl_account_code?: string | null;
|
|
3899
|
+
id?: string;
|
|
3900
|
+
is_active?: boolean;
|
|
3901
|
+
is_sales_item?: boolean | null;
|
|
3902
|
+
item_type?: string | null;
|
|
3903
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
3904
|
+
sales_price?: number | null;
|
|
3905
|
+
unit?: string | null;
|
|
3906
|
+
updated_at?: string;
|
|
3907
|
+
vat_code?: string | null;
|
|
3908
|
+
};
|
|
3909
|
+
Relationships: [];
|
|
3910
|
+
};
|
|
3911
|
+
exact_auth_sync_log: {
|
|
3912
|
+
Row: {
|
|
3913
|
+
account_key: string;
|
|
3914
|
+
calls_used: number;
|
|
3915
|
+
created_at: string;
|
|
3916
|
+
domain: string;
|
|
3917
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3918
|
+
error: string | null;
|
|
3919
|
+
finished_at: string | null;
|
|
3920
|
+
id: string;
|
|
3921
|
+
ok: boolean;
|
|
3922
|
+
records: number;
|
|
3923
|
+
started_at: string;
|
|
3924
|
+
};
|
|
3925
|
+
Insert: {
|
|
3926
|
+
account_key?: string;
|
|
3927
|
+
calls_used?: number;
|
|
3928
|
+
created_at?: string;
|
|
3929
|
+
domain: string;
|
|
3930
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3931
|
+
error?: string | null;
|
|
3932
|
+
finished_at?: string | null;
|
|
3933
|
+
id?: string;
|
|
3934
|
+
ok?: boolean;
|
|
3935
|
+
records?: number;
|
|
3936
|
+
started_at?: string;
|
|
3937
|
+
};
|
|
3938
|
+
Update: {
|
|
3939
|
+
account_key?: string;
|
|
3940
|
+
calls_used?: number;
|
|
3941
|
+
created_at?: string;
|
|
3942
|
+
domain?: string;
|
|
3943
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3944
|
+
error?: string | null;
|
|
3945
|
+
finished_at?: string | null;
|
|
3946
|
+
id?: string;
|
|
3947
|
+
ok?: boolean;
|
|
3948
|
+
records?: number;
|
|
3949
|
+
started_at?: string;
|
|
3950
|
+
};
|
|
3951
|
+
Relationships: [];
|
|
3952
|
+
};
|
|
3953
|
+
exact_auth_sync_state: {
|
|
3954
|
+
Row: {
|
|
3955
|
+
account_key: string;
|
|
3956
|
+
created_at: string;
|
|
3957
|
+
cursor_timestamp: number;
|
|
3958
|
+
division_code: number | null;
|
|
3959
|
+
domain: string;
|
|
3960
|
+
duration_ms: number | null;
|
|
3961
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3962
|
+
initial_sync_done: boolean;
|
|
3963
|
+
last_error: string | null;
|
|
3964
|
+
last_run_at: string | null;
|
|
3965
|
+
last_success_at: string | null;
|
|
3966
|
+
locked_at: string | null;
|
|
3967
|
+
needs_initial_sync: boolean;
|
|
3968
|
+
record_count: number;
|
|
3969
|
+
updated_at: string;
|
|
3970
|
+
};
|
|
3971
|
+
Insert: {
|
|
3972
|
+
account_key?: string;
|
|
3973
|
+
created_at?: string;
|
|
3974
|
+
cursor_timestamp?: number;
|
|
3975
|
+
division_code?: number | null;
|
|
3976
|
+
domain: string;
|
|
3977
|
+
duration_ms?: number | null;
|
|
3978
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3979
|
+
initial_sync_done?: boolean;
|
|
3980
|
+
last_error?: string | null;
|
|
3981
|
+
last_run_at?: string | null;
|
|
3982
|
+
last_success_at?: string | null;
|
|
3983
|
+
locked_at?: string | null;
|
|
3984
|
+
needs_initial_sync?: boolean;
|
|
3985
|
+
record_count?: number;
|
|
3986
|
+
updated_at?: string;
|
|
3987
|
+
};
|
|
3988
|
+
Update: {
|
|
3989
|
+
account_key?: string;
|
|
3990
|
+
created_at?: string;
|
|
3991
|
+
cursor_timestamp?: number;
|
|
3992
|
+
division_code?: number | null;
|
|
3993
|
+
domain?: string;
|
|
3994
|
+
duration_ms?: number | null;
|
|
3995
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
3996
|
+
initial_sync_done?: boolean;
|
|
3997
|
+
last_error?: string | null;
|
|
3998
|
+
last_run_at?: string | null;
|
|
3999
|
+
last_success_at?: string | null;
|
|
4000
|
+
locked_at?: string | null;
|
|
4001
|
+
needs_initial_sync?: boolean;
|
|
4002
|
+
record_count?: number;
|
|
4003
|
+
updated_at?: string;
|
|
4004
|
+
};
|
|
4005
|
+
Relationships: [];
|
|
4006
|
+
};
|
|
3539
4007
|
exact_bulk_operation_items: {
|
|
3540
4008
|
Row: {
|
|
3541
4009
|
attempts: number;
|
|
@@ -5227,12 +5695,17 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
5227
5695
|
attempts: number;
|
|
5228
5696
|
connection_id: string;
|
|
5229
5697
|
created_at: string;
|
|
5698
|
+
desired_available: boolean | null;
|
|
5230
5699
|
gateway_attempt_id: string | null;
|
|
5231
5700
|
id: string;
|
|
5232
5701
|
last_error: string | null;
|
|
5702
|
+
locked_at: string | null;
|
|
5703
|
+
locked_by: string | null;
|
|
5704
|
+
next_attempt_at: string;
|
|
5233
5705
|
number_of_pieces: number;
|
|
5234
5706
|
sent_at: string | null;
|
|
5235
5707
|
status: string;
|
|
5708
|
+
superseded_by: string | null;
|
|
5236
5709
|
trade_item_id: string;
|
|
5237
5710
|
updated_at: string;
|
|
5238
5711
|
user_id: string;
|
|
@@ -5241,12 +5714,17 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
5241
5714
|
attempts?: number;
|
|
5242
5715
|
connection_id: string;
|
|
5243
5716
|
created_at?: string;
|
|
5717
|
+
desired_available?: boolean | null;
|
|
5244
5718
|
gateway_attempt_id?: string | null;
|
|
5245
5719
|
id?: string;
|
|
5246
5720
|
last_error?: string | null;
|
|
5721
|
+
locked_at?: string | null;
|
|
5722
|
+
locked_by?: string | null;
|
|
5723
|
+
next_attempt_at?: string;
|
|
5247
5724
|
number_of_pieces?: number;
|
|
5248
5725
|
sent_at?: string | null;
|
|
5249
5726
|
status?: string;
|
|
5727
|
+
superseded_by?: string | null;
|
|
5250
5728
|
trade_item_id: string;
|
|
5251
5729
|
updated_at?: string;
|
|
5252
5730
|
user_id: string;
|
|
@@ -5255,12 +5733,17 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
5255
5733
|
attempts?: number;
|
|
5256
5734
|
connection_id?: string;
|
|
5257
5735
|
created_at?: string;
|
|
5736
|
+
desired_available?: boolean | null;
|
|
5258
5737
|
gateway_attempt_id?: string | null;
|
|
5259
5738
|
id?: string;
|
|
5260
5739
|
last_error?: string | null;
|
|
5740
|
+
locked_at?: string | null;
|
|
5741
|
+
locked_by?: string | null;
|
|
5742
|
+
next_attempt_at?: string;
|
|
5261
5743
|
number_of_pieces?: number;
|
|
5262
5744
|
sent_at?: string | null;
|
|
5263
5745
|
status?: string;
|
|
5746
|
+
superseded_by?: string | null;
|
|
5264
5747
|
trade_item_id?: string;
|
|
5265
5748
|
updated_at?: string;
|
|
5266
5749
|
user_id?: string;
|
|
@@ -8009,6 +8492,69 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
8009
8492
|
};
|
|
8010
8493
|
Relationships: [];
|
|
8011
8494
|
};
|
|
8495
|
+
logistics_floriday_pushes: {
|
|
8496
|
+
Row: {
|
|
8497
|
+
attempts: number;
|
|
8498
|
+
created_at: string;
|
|
8499
|
+
first_queued_at: string;
|
|
8500
|
+
fulfillment_order_id: string | null;
|
|
8501
|
+
id: string;
|
|
8502
|
+
last_error: string | null;
|
|
8503
|
+
last_error_at: string | null;
|
|
8504
|
+
last_sent_hash: string | null;
|
|
8505
|
+
locked_by: string | null;
|
|
8506
|
+
locked_until: string | null;
|
|
8507
|
+
next_attempt_at: string;
|
|
8508
|
+
order_ref: string;
|
|
8509
|
+
payload: import("../integrations/supabase/types").Json;
|
|
8510
|
+
payload_hash: string | null;
|
|
8511
|
+
revision: number;
|
|
8512
|
+
sent_at: string | null;
|
|
8513
|
+
status: string;
|
|
8514
|
+
updated_at: string;
|
|
8515
|
+
};
|
|
8516
|
+
Insert: {
|
|
8517
|
+
attempts?: number;
|
|
8518
|
+
created_at?: string;
|
|
8519
|
+
first_queued_at?: string;
|
|
8520
|
+
fulfillment_order_id?: string | null;
|
|
8521
|
+
id?: string;
|
|
8522
|
+
last_error?: string | null;
|
|
8523
|
+
last_error_at?: string | null;
|
|
8524
|
+
last_sent_hash?: string | null;
|
|
8525
|
+
locked_by?: string | null;
|
|
8526
|
+
locked_until?: string | null;
|
|
8527
|
+
next_attempt_at?: string;
|
|
8528
|
+
order_ref: string;
|
|
8529
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
8530
|
+
payload_hash?: string | null;
|
|
8531
|
+
revision?: number;
|
|
8532
|
+
sent_at?: string | null;
|
|
8533
|
+
status?: string;
|
|
8534
|
+
updated_at?: string;
|
|
8535
|
+
};
|
|
8536
|
+
Update: {
|
|
8537
|
+
attempts?: number;
|
|
8538
|
+
created_at?: string;
|
|
8539
|
+
first_queued_at?: string;
|
|
8540
|
+
fulfillment_order_id?: string | null;
|
|
8541
|
+
id?: string;
|
|
8542
|
+
last_error?: string | null;
|
|
8543
|
+
last_error_at?: string | null;
|
|
8544
|
+
last_sent_hash?: string | null;
|
|
8545
|
+
locked_by?: string | null;
|
|
8546
|
+
locked_until?: string | null;
|
|
8547
|
+
next_attempt_at?: string;
|
|
8548
|
+
order_ref?: string;
|
|
8549
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
8550
|
+
payload_hash?: string | null;
|
|
8551
|
+
revision?: number;
|
|
8552
|
+
sent_at?: string | null;
|
|
8553
|
+
status?: string;
|
|
8554
|
+
updated_at?: string;
|
|
8555
|
+
};
|
|
8556
|
+
Relationships: [];
|
|
8557
|
+
};
|
|
8012
8558
|
logistics_formulas: {
|
|
8013
8559
|
Row: {
|
|
8014
8560
|
created_at: string;
|
|
@@ -8620,6 +9166,8 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
8620
9166
|
};
|
|
8621
9167
|
logistics_tasks: {
|
|
8622
9168
|
Row: {
|
|
9169
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
9170
|
+
attempts: number;
|
|
8623
9171
|
buffer_ref: string | null;
|
|
8624
9172
|
claimed_at: string | null;
|
|
8625
9173
|
claimed_by: string | null;
|
|
@@ -8629,6 +9177,8 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
8629
9177
|
due_at: string | null;
|
|
8630
9178
|
error: string | null;
|
|
8631
9179
|
id: string;
|
|
9180
|
+
last_error: string | null;
|
|
9181
|
+
next_attempt_at: string | null;
|
|
8632
9182
|
order_ref: string;
|
|
8633
9183
|
owner_module: string;
|
|
8634
9184
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -8649,6 +9199,8 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
8649
9199
|
user_id: string;
|
|
8650
9200
|
};
|
|
8651
9201
|
Insert: {
|
|
9202
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
9203
|
+
attempts?: number;
|
|
8652
9204
|
buffer_ref?: string | null;
|
|
8653
9205
|
claimed_at?: string | null;
|
|
8654
9206
|
claimed_by?: string | null;
|
|
@@ -8658,6 +9210,8 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
8658
9210
|
due_at?: string | null;
|
|
8659
9211
|
error?: string | null;
|
|
8660
9212
|
id?: string;
|
|
9213
|
+
last_error?: string | null;
|
|
9214
|
+
next_attempt_at?: string | null;
|
|
8661
9215
|
order_ref: string;
|
|
8662
9216
|
owner_module: string;
|
|
8663
9217
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -8678,6 +9232,8 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
8678
9232
|
user_id?: string;
|
|
8679
9233
|
};
|
|
8680
9234
|
Update: {
|
|
9235
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
9236
|
+
attempts?: number;
|
|
8681
9237
|
buffer_ref?: string | null;
|
|
8682
9238
|
claimed_at?: string | null;
|
|
8683
9239
|
claimed_by?: string | null;
|
|
@@ -8687,6 +9243,8 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
8687
9243
|
due_at?: string | null;
|
|
8688
9244
|
error?: string | null;
|
|
8689
9245
|
id?: string;
|
|
9246
|
+
last_error?: string | null;
|
|
9247
|
+
next_attempt_at?: string | null;
|
|
8690
9248
|
order_ref?: string;
|
|
8691
9249
|
owner_module?: string;
|
|
8692
9250
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -10036,6 +10594,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
10036
10594
|
};
|
|
10037
10595
|
offer_settings: {
|
|
10038
10596
|
Row: {
|
|
10597
|
+
brand_name: string | null;
|
|
10039
10598
|
button_color: string;
|
|
10040
10599
|
created_at: string;
|
|
10041
10600
|
default_countries: string[];
|
|
@@ -10057,6 +10616,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
10057
10616
|
updated_at: string;
|
|
10058
10617
|
};
|
|
10059
10618
|
Insert: {
|
|
10619
|
+
brand_name?: string | null;
|
|
10060
10620
|
button_color?: string;
|
|
10061
10621
|
created_at?: string;
|
|
10062
10622
|
default_countries?: string[];
|
|
@@ -10078,6 +10638,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
10078
10638
|
updated_at?: string;
|
|
10079
10639
|
};
|
|
10080
10640
|
Update: {
|
|
10641
|
+
brand_name?: string | null;
|
|
10081
10642
|
button_color?: string;
|
|
10082
10643
|
created_at?: string;
|
|
10083
10644
|
default_countries?: string[];
|
|
@@ -17688,6 +18249,85 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
17688
18249
|
};
|
|
17689
18250
|
Returns: import("../integrations/supabase/types").Json;
|
|
17690
18251
|
};
|
|
18252
|
+
claim_floriday_stock_queue: {
|
|
18253
|
+
Args: {
|
|
18254
|
+
p_limit?: number;
|
|
18255
|
+
p_worker?: string;
|
|
18256
|
+
};
|
|
18257
|
+
Returns: {
|
|
18258
|
+
attempts: number;
|
|
18259
|
+
connection_id: string;
|
|
18260
|
+
created_at: string;
|
|
18261
|
+
desired_available: boolean | null;
|
|
18262
|
+
gateway_attempt_id: string | null;
|
|
18263
|
+
id: string;
|
|
18264
|
+
last_error: string | null;
|
|
18265
|
+
locked_at: string | null;
|
|
18266
|
+
locked_by: string | null;
|
|
18267
|
+
next_attempt_at: string;
|
|
18268
|
+
number_of_pieces: number;
|
|
18269
|
+
sent_at: string | null;
|
|
18270
|
+
status: string;
|
|
18271
|
+
superseded_by: string | null;
|
|
18272
|
+
trade_item_id: string;
|
|
18273
|
+
updated_at: string;
|
|
18274
|
+
user_id: string;
|
|
18275
|
+
}[];
|
|
18276
|
+
SetofOptions: {
|
|
18277
|
+
from: "*";
|
|
18278
|
+
to: "floriday_continuous_stock_queue";
|
|
18279
|
+
isOneToOne: false;
|
|
18280
|
+
isSetofReturn: true;
|
|
18281
|
+
};
|
|
18282
|
+
};
|
|
18283
|
+
claim_logistics_tasks: {
|
|
18284
|
+
Args: {
|
|
18285
|
+
_limit?: number;
|
|
18286
|
+
_owner_module: string;
|
|
18287
|
+
_stale_minutes?: number;
|
|
18288
|
+
_task_type: string;
|
|
18289
|
+
_worker: string;
|
|
18290
|
+
};
|
|
18291
|
+
Returns: {
|
|
18292
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
18293
|
+
attempts: number;
|
|
18294
|
+
buffer_ref: string | null;
|
|
18295
|
+
claimed_at: string | null;
|
|
18296
|
+
claimed_by: string | null;
|
|
18297
|
+
completed_at: string | null;
|
|
18298
|
+
created_at: string;
|
|
18299
|
+
depends_on: string[];
|
|
18300
|
+
due_at: string | null;
|
|
18301
|
+
error: string | null;
|
|
18302
|
+
id: string;
|
|
18303
|
+
last_error: string | null;
|
|
18304
|
+
next_attempt_at: string | null;
|
|
18305
|
+
order_ref: string;
|
|
18306
|
+
owner_module: string;
|
|
18307
|
+
payload: import("../integrations/supabase/types").Json;
|
|
18308
|
+
plan_run_id: string | null;
|
|
18309
|
+
planned_end: string | null;
|
|
18310
|
+
planned_start: string | null;
|
|
18311
|
+
priority: number;
|
|
18312
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
18313
|
+
rule_config_id: string | null;
|
|
18314
|
+
rule_version: number | null;
|
|
18315
|
+
sequence: number;
|
|
18316
|
+
shadow: boolean;
|
|
18317
|
+
started_at: string | null;
|
|
18318
|
+
status: string;
|
|
18319
|
+
strategy_id: string | null;
|
|
18320
|
+
task_type: string;
|
|
18321
|
+
updated_at: string;
|
|
18322
|
+
user_id: string;
|
|
18323
|
+
}[];
|
|
18324
|
+
SetofOptions: {
|
|
18325
|
+
from: "*";
|
|
18326
|
+
to: "logistics_tasks";
|
|
18327
|
+
isOneToOne: false;
|
|
18328
|
+
isSetofReturn: true;
|
|
18329
|
+
};
|
|
18330
|
+
};
|
|
17691
18331
|
claim_print_jobs: {
|
|
17692
18332
|
Args: {
|
|
17693
18333
|
_agent_id: string;
|
|
@@ -17752,10 +18392,24 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
17752
18392
|
isSetofReturn: true;
|
|
17753
18393
|
};
|
|
17754
18394
|
};
|
|
18395
|
+
cleanup_floriday_stock_queue: {
|
|
18396
|
+
Args: never;
|
|
18397
|
+
Returns: undefined;
|
|
18398
|
+
};
|
|
17755
18399
|
cleanup_old_bookings: {
|
|
17756
18400
|
Args: never;
|
|
17757
18401
|
Returns: undefined;
|
|
17758
18402
|
};
|
|
18403
|
+
complete_floriday_stock_queue: {
|
|
18404
|
+
Args: {
|
|
18405
|
+
p_attempt_id?: string;
|
|
18406
|
+
p_error?: string;
|
|
18407
|
+
p_id: string;
|
|
18408
|
+
p_ok: boolean;
|
|
18409
|
+
p_permanent?: boolean;
|
|
18410
|
+
};
|
|
18411
|
+
Returns: undefined;
|
|
18412
|
+
};
|
|
17759
18413
|
consume_bom_for_production: {
|
|
17760
18414
|
Args: {
|
|
17761
18415
|
p_connection_id: string;
|
|
@@ -17928,6 +18582,21 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
17928
18582
|
Args: never;
|
|
17929
18583
|
Returns: string;
|
|
17930
18584
|
};
|
|
18585
|
+
exact_auth_consume_calls: {
|
|
18586
|
+
Args: {
|
|
18587
|
+
_account_key: string;
|
|
18588
|
+
_calls?: number;
|
|
18589
|
+
_day_limit?: number;
|
|
18590
|
+
_division_code: number;
|
|
18591
|
+
_environment: string;
|
|
18592
|
+
_minute_limit?: number;
|
|
18593
|
+
};
|
|
18594
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
18595
|
+
};
|
|
18596
|
+
exact_auth_prune_sync_log: {
|
|
18597
|
+
Args: never;
|
|
18598
|
+
Returns: undefined;
|
|
18599
|
+
};
|
|
17931
18600
|
exact_decrypt: {
|
|
17932
18601
|
Args: {
|
|
17933
18602
|
cipher: string;
|
|
@@ -18137,6 +18806,10 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
18137
18806
|
};
|
|
18138
18807
|
Returns: number;
|
|
18139
18808
|
};
|
|
18809
|
+
get_offer_branding: {
|
|
18810
|
+
Args: never;
|
|
18811
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
18812
|
+
};
|
|
18140
18813
|
get_offer_by_link_code: {
|
|
18141
18814
|
Args: {
|
|
18142
18815
|
p_code: string;
|
|
@@ -18428,6 +19101,8 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
18428
19101
|
p_worker?: string;
|
|
18429
19102
|
};
|
|
18430
19103
|
Returns: {
|
|
19104
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19105
|
+
attempts: number;
|
|
18431
19106
|
buffer_ref: string | null;
|
|
18432
19107
|
claimed_at: string | null;
|
|
18433
19108
|
claimed_by: string | null;
|
|
@@ -18437,6 +19112,8 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
18437
19112
|
due_at: string | null;
|
|
18438
19113
|
error: string | null;
|
|
18439
19114
|
id: string;
|
|
19115
|
+
last_error: string | null;
|
|
19116
|
+
next_attempt_at: string | null;
|
|
18440
19117
|
order_ref: string;
|
|
18441
19118
|
owner_module: string;
|
|
18442
19119
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18469,6 +19146,8 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
18469
19146
|
p_worker?: string;
|
|
18470
19147
|
};
|
|
18471
19148
|
Returns: {
|
|
19149
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19150
|
+
attempts: number;
|
|
18472
19151
|
buffer_ref: string | null;
|
|
18473
19152
|
claimed_at: string | null;
|
|
18474
19153
|
claimed_by: string | null;
|
|
@@ -18478,6 +19157,8 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
18478
19157
|
due_at: string | null;
|
|
18479
19158
|
error: string | null;
|
|
18480
19159
|
id: string;
|
|
19160
|
+
last_error: string | null;
|
|
19161
|
+
next_attempt_at: string | null;
|
|
18481
19162
|
order_ref: string;
|
|
18482
19163
|
owner_module: string;
|
|
18483
19164
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18510,6 +19191,8 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
18510
19191
|
p_task_id: string;
|
|
18511
19192
|
};
|
|
18512
19193
|
Returns: {
|
|
19194
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19195
|
+
attempts: number;
|
|
18513
19196
|
buffer_ref: string | null;
|
|
18514
19197
|
claimed_at: string | null;
|
|
18515
19198
|
claimed_by: string | null;
|
|
@@ -18519,6 +19202,8 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
18519
19202
|
due_at: string | null;
|
|
18520
19203
|
error: string | null;
|
|
18521
19204
|
id: string;
|
|
19205
|
+
last_error: string | null;
|
|
19206
|
+
next_attempt_at: string | null;
|
|
18522
19207
|
order_ref: string;
|
|
18523
19208
|
owner_module: string;
|
|
18524
19209
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18600,6 +19285,8 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
18600
19285
|
p_task_id: string;
|
|
18601
19286
|
};
|
|
18602
19287
|
Returns: {
|
|
19288
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
19289
|
+
attempts: number;
|
|
18603
19290
|
buffer_ref: string | null;
|
|
18604
19291
|
claimed_at: string | null;
|
|
18605
19292
|
claimed_by: string | null;
|
|
@@ -18609,6 +19296,8 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
18609
19296
|
due_at: string | null;
|
|
18610
19297
|
error: string | null;
|
|
18611
19298
|
id: string;
|
|
19299
|
+
last_error: string | null;
|
|
19300
|
+
next_attempt_at: string | null;
|
|
18612
19301
|
order_ref: string;
|
|
18613
19302
|
owner_module: string;
|
|
18614
19303
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -18635,6 +19324,51 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
18635
19324
|
isSetofReturn: false;
|
|
18636
19325
|
};
|
|
18637
19326
|
};
|
|
19327
|
+
logistics_floriday_claim_pushes: {
|
|
19328
|
+
Args: {
|
|
19329
|
+
_lease_seconds?: number;
|
|
19330
|
+
_limit?: number;
|
|
19331
|
+
_worker?: string;
|
|
19332
|
+
};
|
|
19333
|
+
Returns: {
|
|
19334
|
+
attempts: number;
|
|
19335
|
+
fulfillment_order_id: string;
|
|
19336
|
+
id: string;
|
|
19337
|
+
last_sent_hash: string;
|
|
19338
|
+
order_ref: string;
|
|
19339
|
+
payload: import("../integrations/supabase/types").Json;
|
|
19340
|
+
payload_hash: string;
|
|
19341
|
+
revision: number;
|
|
19342
|
+
}[];
|
|
19343
|
+
};
|
|
19344
|
+
logistics_floriday_finish_push: {
|
|
19345
|
+
Args: {
|
|
19346
|
+
_error?: string;
|
|
19347
|
+
_fulfillment_order_id?: string;
|
|
19348
|
+
_id: string;
|
|
19349
|
+
_max_age_hours?: number;
|
|
19350
|
+
_max_attempts?: number;
|
|
19351
|
+
_ok: boolean;
|
|
19352
|
+
_permanent?: boolean;
|
|
19353
|
+
_revision: number;
|
|
19354
|
+
_sent_hash?: string;
|
|
19355
|
+
};
|
|
19356
|
+
Returns: string;
|
|
19357
|
+
};
|
|
19358
|
+
logistics_floriday_prune_pushes: {
|
|
19359
|
+
Args: {
|
|
19360
|
+
_days?: number;
|
|
19361
|
+
};
|
|
19362
|
+
Returns: number;
|
|
19363
|
+
};
|
|
19364
|
+
logistics_floriday_queue_push: {
|
|
19365
|
+
Args: {
|
|
19366
|
+
_order_ref: string;
|
|
19367
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
19368
|
+
_payload_hash?: string;
|
|
19369
|
+
};
|
|
19370
|
+
Returns: string;
|
|
19371
|
+
};
|
|
18638
19372
|
logistics_live_carriers: {
|
|
18639
19373
|
Args: {
|
|
18640
19374
|
p_order_ref: string;
|
|
@@ -19362,6 +20096,10 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
19362
20096
|
Args: never;
|
|
19363
20097
|
Returns: undefined;
|
|
19364
20098
|
};
|
|
20099
|
+
run_logistics_tasks_dispatch: {
|
|
20100
|
+
Args: never;
|
|
20101
|
+
Returns: undefined;
|
|
20102
|
+
};
|
|
19365
20103
|
run_twinfield_queue_tick: {
|
|
19366
20104
|
Args: never;
|
|
19367
20105
|
Returns: undefined;
|
|
@@ -19602,6 +20340,13 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
19602
20340
|
};
|
|
19603
20341
|
Returns: number;
|
|
19604
20342
|
};
|
|
20343
|
+
schedule_floriday_stock_queue_process: {
|
|
20344
|
+
Args: {
|
|
20345
|
+
p_apikey: string;
|
|
20346
|
+
p_url: string;
|
|
20347
|
+
};
|
|
20348
|
+
Returns: number;
|
|
20349
|
+
};
|
|
19605
20350
|
schedule_floriday_token_refresh: {
|
|
19606
20351
|
Args: {
|
|
19607
20352
|
p_apikey: string;
|
|
@@ -23350,268 +24095,736 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
23350
24095
|
referencedColumns: ["id"];
|
|
23351
24096
|
}];
|
|
23352
24097
|
};
|
|
23353
|
-
|
|
24098
|
+
exact_auth_call_budget: {
|
|
23354
24099
|
Row: {
|
|
23355
|
-
|
|
23356
|
-
|
|
23357
|
-
|
|
23358
|
-
|
|
23359
|
-
|
|
23360
|
-
|
|
23361
|
-
|
|
23362
|
-
|
|
23363
|
-
result_data: import("../integrations/supabase/types").Json | null;
|
|
23364
|
-
status: string;
|
|
24100
|
+
account_key: string;
|
|
24101
|
+
day_count: number;
|
|
24102
|
+
day_date: string;
|
|
24103
|
+
division_code: number;
|
|
24104
|
+
environment: string;
|
|
24105
|
+
minute_count: number;
|
|
24106
|
+
minute_window: string;
|
|
24107
|
+
updated_at: string;
|
|
23365
24108
|
};
|
|
23366
24109
|
Insert: {
|
|
23367
|
-
|
|
23368
|
-
|
|
23369
|
-
|
|
23370
|
-
|
|
23371
|
-
|
|
23372
|
-
|
|
23373
|
-
|
|
23374
|
-
|
|
23375
|
-
result_data?: import("../integrations/supabase/types").Json | null;
|
|
23376
|
-
status?: string;
|
|
24110
|
+
account_key?: string;
|
|
24111
|
+
day_count?: number;
|
|
24112
|
+
day_date?: string;
|
|
24113
|
+
division_code?: number;
|
|
24114
|
+
environment: string;
|
|
24115
|
+
minute_count?: number;
|
|
24116
|
+
minute_window?: string;
|
|
24117
|
+
updated_at?: string;
|
|
23377
24118
|
};
|
|
23378
24119
|
Update: {
|
|
23379
|
-
|
|
23380
|
-
|
|
23381
|
-
|
|
23382
|
-
|
|
23383
|
-
|
|
23384
|
-
|
|
23385
|
-
|
|
23386
|
-
|
|
23387
|
-
result_data?: import("../integrations/supabase/types").Json | null;
|
|
23388
|
-
status?: string;
|
|
24120
|
+
account_key?: string;
|
|
24121
|
+
day_count?: number;
|
|
24122
|
+
day_date?: string;
|
|
24123
|
+
division_code?: number;
|
|
24124
|
+
environment?: string;
|
|
24125
|
+
minute_count?: number;
|
|
24126
|
+
minute_window?: string;
|
|
24127
|
+
updated_at?: string;
|
|
23389
24128
|
};
|
|
23390
|
-
Relationships: [
|
|
23391
|
-
foreignKeyName: "exact_bulk_operation_items_bulk_operation_id_fkey";
|
|
23392
|
-
columns: ["bulk_operation_id"];
|
|
23393
|
-
isOneToOne: false;
|
|
23394
|
-
referencedRelation: "exact_bulk_operations";
|
|
23395
|
-
referencedColumns: ["id"];
|
|
23396
|
-
}, {
|
|
23397
|
-
foreignKeyName: "exact_bulk_operation_items_invoice_cache_id_fkey";
|
|
23398
|
-
columns: ["invoice_cache_id"];
|
|
23399
|
-
isOneToOne: false;
|
|
23400
|
-
referencedRelation: "exact_invoices_cache";
|
|
23401
|
-
referencedColumns: ["id"];
|
|
23402
|
-
}];
|
|
24129
|
+
Relationships: [];
|
|
23403
24130
|
};
|
|
23404
|
-
|
|
24131
|
+
exact_auth_customers: {
|
|
23405
24132
|
Row: {
|
|
23406
|
-
|
|
23407
|
-
|
|
24133
|
+
account_key: string;
|
|
24134
|
+
address_line1: string | null;
|
|
24135
|
+
chamber_of_commerce: string | null;
|
|
24136
|
+
city: string | null;
|
|
24137
|
+
code: string | null;
|
|
24138
|
+
country: string | null;
|
|
23408
24139
|
created_at: string;
|
|
23409
|
-
|
|
23410
|
-
|
|
23411
|
-
|
|
24140
|
+
currency: string | null;
|
|
24141
|
+
division_code: number | null;
|
|
24142
|
+
email: string | null;
|
|
24143
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24144
|
+
exact_id: string;
|
|
24145
|
+
exact_modified: string | null;
|
|
24146
|
+
exact_timestamp: number | null;
|
|
23412
24147
|
id: string;
|
|
23413
|
-
|
|
23414
|
-
|
|
23415
|
-
|
|
23416
|
-
|
|
23417
|
-
|
|
23418
|
-
|
|
24148
|
+
is_active: boolean;
|
|
24149
|
+
name: string | null;
|
|
24150
|
+
phone: string | null;
|
|
24151
|
+
postcode: string | null;
|
|
24152
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
24153
|
+
status: string | null;
|
|
23419
24154
|
updated_at: string;
|
|
24155
|
+
vat_number: string | null;
|
|
24156
|
+
website: string | null;
|
|
23420
24157
|
};
|
|
23421
24158
|
Insert: {
|
|
23422
|
-
|
|
23423
|
-
|
|
24159
|
+
account_key?: string;
|
|
24160
|
+
address_line1?: string | null;
|
|
24161
|
+
chamber_of_commerce?: string | null;
|
|
24162
|
+
city?: string | null;
|
|
24163
|
+
code?: string | null;
|
|
24164
|
+
country?: string | null;
|
|
23424
24165
|
created_at?: string;
|
|
23425
|
-
|
|
23426
|
-
|
|
23427
|
-
|
|
24166
|
+
currency?: string | null;
|
|
24167
|
+
division_code?: number | null;
|
|
24168
|
+
email?: string | null;
|
|
24169
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24170
|
+
exact_id: string;
|
|
24171
|
+
exact_modified?: string | null;
|
|
24172
|
+
exact_timestamp?: number | null;
|
|
23428
24173
|
id?: string;
|
|
23429
|
-
|
|
23430
|
-
|
|
23431
|
-
|
|
23432
|
-
|
|
23433
|
-
|
|
23434
|
-
|
|
24174
|
+
is_active?: boolean;
|
|
24175
|
+
name?: string | null;
|
|
24176
|
+
phone?: string | null;
|
|
24177
|
+
postcode?: string | null;
|
|
24178
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24179
|
+
status?: string | null;
|
|
23435
24180
|
updated_at?: string;
|
|
24181
|
+
vat_number?: string | null;
|
|
24182
|
+
website?: string | null;
|
|
23436
24183
|
};
|
|
23437
24184
|
Update: {
|
|
23438
|
-
|
|
23439
|
-
|
|
24185
|
+
account_key?: string;
|
|
24186
|
+
address_line1?: string | null;
|
|
24187
|
+
chamber_of_commerce?: string | null;
|
|
24188
|
+
city?: string | null;
|
|
24189
|
+
code?: string | null;
|
|
24190
|
+
country?: string | null;
|
|
23440
24191
|
created_at?: string;
|
|
23441
|
-
|
|
23442
|
-
|
|
23443
|
-
|
|
24192
|
+
currency?: string | null;
|
|
24193
|
+
division_code?: number | null;
|
|
24194
|
+
email?: string | null;
|
|
24195
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24196
|
+
exact_id?: string;
|
|
24197
|
+
exact_modified?: string | null;
|
|
24198
|
+
exact_timestamp?: number | null;
|
|
23444
24199
|
id?: string;
|
|
23445
|
-
|
|
23446
|
-
|
|
23447
|
-
|
|
23448
|
-
|
|
23449
|
-
|
|
23450
|
-
|
|
24200
|
+
is_active?: boolean;
|
|
24201
|
+
name?: string | null;
|
|
24202
|
+
phone?: string | null;
|
|
24203
|
+
postcode?: string | null;
|
|
24204
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24205
|
+
status?: string | null;
|
|
23451
24206
|
updated_at?: string;
|
|
24207
|
+
vat_number?: string | null;
|
|
24208
|
+
website?: string | null;
|
|
23452
24209
|
};
|
|
23453
|
-
Relationships: [
|
|
23454
|
-
foreignKeyName: "exact_bulk_operations_connection_id_fkey";
|
|
23455
|
-
columns: ["connection_id"];
|
|
23456
|
-
isOneToOne: false;
|
|
23457
|
-
referencedRelation: "exact_connections";
|
|
23458
|
-
referencedColumns: ["id"];
|
|
23459
|
-
}];
|
|
24210
|
+
Relationships: [];
|
|
23460
24211
|
};
|
|
23461
|
-
|
|
24212
|
+
exact_auth_divisions: {
|
|
23462
24213
|
Row: {
|
|
23463
|
-
|
|
24214
|
+
account_key: string;
|
|
23464
24215
|
company_name: string | null;
|
|
23465
|
-
|
|
23466
|
-
connected_by: string | null;
|
|
24216
|
+
created_at: string;
|
|
23467
24217
|
division_code: number | null;
|
|
23468
24218
|
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
23469
|
-
expires_at: string;
|
|
23470
24219
|
id: string;
|
|
23471
|
-
|
|
23472
|
-
last_refreshed_at: string | null;
|
|
23473
|
-
last_tested_at: string | null;
|
|
23474
|
-
refresh_token_encrypted: string;
|
|
23475
|
-
status: string;
|
|
24220
|
+
last_synced_at: string | null;
|
|
23476
24221
|
updated_at: string;
|
|
23477
24222
|
};
|
|
23478
24223
|
Insert: {
|
|
23479
|
-
|
|
24224
|
+
account_key?: string;
|
|
23480
24225
|
company_name?: string | null;
|
|
23481
|
-
|
|
23482
|
-
connected_by?: string | null;
|
|
24226
|
+
created_at?: string;
|
|
23483
24227
|
division_code?: number | null;
|
|
23484
24228
|
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
23485
|
-
expires_at: string;
|
|
23486
24229
|
id?: string;
|
|
23487
|
-
|
|
23488
|
-
last_refreshed_at?: string | null;
|
|
23489
|
-
last_tested_at?: string | null;
|
|
23490
|
-
refresh_token_encrypted: string;
|
|
23491
|
-
status?: string;
|
|
24230
|
+
last_synced_at?: string | null;
|
|
23492
24231
|
updated_at?: string;
|
|
23493
24232
|
};
|
|
23494
24233
|
Update: {
|
|
23495
|
-
|
|
24234
|
+
account_key?: string;
|
|
23496
24235
|
company_name?: string | null;
|
|
23497
|
-
|
|
23498
|
-
connected_by?: string | null;
|
|
24236
|
+
created_at?: string;
|
|
23499
24237
|
division_code?: number | null;
|
|
23500
24238
|
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
23501
|
-
expires_at?: string;
|
|
23502
24239
|
id?: string;
|
|
23503
|
-
|
|
23504
|
-
last_refreshed_at?: string | null;
|
|
23505
|
-
last_tested_at?: string | null;
|
|
23506
|
-
refresh_token_encrypted?: string;
|
|
23507
|
-
status?: string;
|
|
24240
|
+
last_synced_at?: string | null;
|
|
23508
24241
|
updated_at?: string;
|
|
23509
24242
|
};
|
|
23510
24243
|
Relationships: [];
|
|
23511
24244
|
};
|
|
23512
|
-
|
|
24245
|
+
exact_auth_invoice_lines: {
|
|
23513
24246
|
Row: {
|
|
23514
|
-
|
|
23515
|
-
|
|
24247
|
+
account_key: string;
|
|
24248
|
+
amount_excl: number | null;
|
|
23516
24249
|
created_at: string;
|
|
24250
|
+
description: string | null;
|
|
24251
|
+
discount: number | null;
|
|
23517
24252
|
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24253
|
+
exact_id: string;
|
|
24254
|
+
exact_timestamp: number | null;
|
|
23518
24255
|
id: string;
|
|
23519
|
-
|
|
24256
|
+
invoice_exact_id: string;
|
|
24257
|
+
item_code: string | null;
|
|
24258
|
+
item_exact_id: string | null;
|
|
24259
|
+
line_number: number | null;
|
|
24260
|
+
quantity: number | null;
|
|
24261
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
24262
|
+
unit_price: number | null;
|
|
23520
24263
|
updated_at: string;
|
|
24264
|
+
vat_amount: number | null;
|
|
24265
|
+
vat_code: string | null;
|
|
23521
24266
|
};
|
|
23522
24267
|
Insert: {
|
|
23523
|
-
|
|
23524
|
-
|
|
24268
|
+
account_key?: string;
|
|
24269
|
+
amount_excl?: number | null;
|
|
23525
24270
|
created_at?: string;
|
|
24271
|
+
description?: string | null;
|
|
24272
|
+
discount?: number | null;
|
|
23526
24273
|
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24274
|
+
exact_id: string;
|
|
24275
|
+
exact_timestamp?: number | null;
|
|
23527
24276
|
id?: string;
|
|
23528
|
-
|
|
24277
|
+
invoice_exact_id: string;
|
|
24278
|
+
item_code?: string | null;
|
|
24279
|
+
item_exact_id?: string | null;
|
|
24280
|
+
line_number?: number | null;
|
|
24281
|
+
quantity?: number | null;
|
|
24282
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24283
|
+
unit_price?: number | null;
|
|
23529
24284
|
updated_at?: string;
|
|
24285
|
+
vat_amount?: number | null;
|
|
24286
|
+
vat_code?: string | null;
|
|
23530
24287
|
};
|
|
23531
24288
|
Update: {
|
|
23532
|
-
|
|
23533
|
-
|
|
24289
|
+
account_key?: string;
|
|
24290
|
+
amount_excl?: number | null;
|
|
23534
24291
|
created_at?: string;
|
|
24292
|
+
description?: string | null;
|
|
24293
|
+
discount?: number | null;
|
|
23535
24294
|
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24295
|
+
exact_id?: string;
|
|
24296
|
+
exact_timestamp?: number | null;
|
|
23536
24297
|
id?: string;
|
|
23537
|
-
|
|
24298
|
+
invoice_exact_id?: string;
|
|
24299
|
+
item_code?: string | null;
|
|
24300
|
+
item_exact_id?: string | null;
|
|
24301
|
+
line_number?: number | null;
|
|
24302
|
+
quantity?: number | null;
|
|
24303
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24304
|
+
unit_price?: number | null;
|
|
23538
24305
|
updated_at?: string;
|
|
24306
|
+
vat_amount?: number | null;
|
|
24307
|
+
vat_code?: string | null;
|
|
23539
24308
|
};
|
|
23540
24309
|
Relationships: [];
|
|
23541
24310
|
};
|
|
23542
|
-
|
|
24311
|
+
exact_auth_invoices: {
|
|
23543
24312
|
Row: {
|
|
23544
|
-
|
|
23545
|
-
|
|
24313
|
+
account_key: string;
|
|
24314
|
+
amount_excl: number | null;
|
|
24315
|
+
amount_incl: number | null;
|
|
24316
|
+
amount_open: number | null;
|
|
23546
24317
|
created_at: string;
|
|
24318
|
+
currency: string | null;
|
|
24319
|
+
customer_code: string | null;
|
|
23547
24320
|
customer_exact_id: string | null;
|
|
23548
|
-
|
|
24321
|
+
customer_name: string | null;
|
|
24322
|
+
description: string | null;
|
|
24323
|
+
division_code: number | null;
|
|
24324
|
+
due_date: string | null;
|
|
24325
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24326
|
+
exact_id: string;
|
|
24327
|
+
exact_modified: string | null;
|
|
24328
|
+
exact_timestamp: number | null;
|
|
23549
24329
|
id: string;
|
|
23550
|
-
|
|
23551
|
-
|
|
23552
|
-
|
|
23553
|
-
|
|
23554
|
-
|
|
23555
|
-
|
|
24330
|
+
invoice_date: string | null;
|
|
24331
|
+
invoice_number: string | null;
|
|
24332
|
+
order_number: string | null;
|
|
24333
|
+
paid_at: string | null;
|
|
24334
|
+
payment_status: string;
|
|
24335
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
24336
|
+
receivable_synced_at: string | null;
|
|
24337
|
+
status_code: number | null;
|
|
23556
24338
|
updated_at: string;
|
|
23557
24339
|
};
|
|
23558
24340
|
Insert: {
|
|
23559
|
-
|
|
23560
|
-
|
|
24341
|
+
account_key?: string;
|
|
24342
|
+
amount_excl?: number | null;
|
|
24343
|
+
amount_incl?: number | null;
|
|
24344
|
+
amount_open?: number | null;
|
|
23561
24345
|
created_at?: string;
|
|
24346
|
+
currency?: string | null;
|
|
24347
|
+
customer_code?: string | null;
|
|
23562
24348
|
customer_exact_id?: string | null;
|
|
23563
|
-
|
|
24349
|
+
customer_name?: string | null;
|
|
24350
|
+
description?: string | null;
|
|
24351
|
+
division_code?: number | null;
|
|
24352
|
+
due_date?: string | null;
|
|
24353
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24354
|
+
exact_id: string;
|
|
24355
|
+
exact_modified?: string | null;
|
|
24356
|
+
exact_timestamp?: number | null;
|
|
23564
24357
|
id?: string;
|
|
23565
|
-
|
|
23566
|
-
|
|
23567
|
-
|
|
23568
|
-
|
|
23569
|
-
|
|
23570
|
-
|
|
24358
|
+
invoice_date?: string | null;
|
|
24359
|
+
invoice_number?: string | null;
|
|
24360
|
+
order_number?: string | null;
|
|
24361
|
+
paid_at?: string | null;
|
|
24362
|
+
payment_status?: string;
|
|
24363
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24364
|
+
receivable_synced_at?: string | null;
|
|
24365
|
+
status_code?: number | null;
|
|
23571
24366
|
updated_at?: string;
|
|
23572
24367
|
};
|
|
23573
24368
|
Update: {
|
|
23574
|
-
|
|
23575
|
-
|
|
24369
|
+
account_key?: string;
|
|
24370
|
+
amount_excl?: number | null;
|
|
24371
|
+
amount_incl?: number | null;
|
|
24372
|
+
amount_open?: number | null;
|
|
23576
24373
|
created_at?: string;
|
|
24374
|
+
currency?: string | null;
|
|
24375
|
+
customer_code?: string | null;
|
|
23577
24376
|
customer_exact_id?: string | null;
|
|
23578
|
-
|
|
24377
|
+
customer_name?: string | null;
|
|
24378
|
+
description?: string | null;
|
|
24379
|
+
division_code?: number | null;
|
|
24380
|
+
due_date?: string | null;
|
|
24381
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24382
|
+
exact_id?: string;
|
|
24383
|
+
exact_modified?: string | null;
|
|
24384
|
+
exact_timestamp?: number | null;
|
|
23579
24385
|
id?: string;
|
|
23580
|
-
|
|
23581
|
-
|
|
23582
|
-
|
|
23583
|
-
|
|
23584
|
-
|
|
23585
|
-
|
|
24386
|
+
invoice_date?: string | null;
|
|
24387
|
+
invoice_number?: string | null;
|
|
24388
|
+
order_number?: string | null;
|
|
24389
|
+
paid_at?: string | null;
|
|
24390
|
+
payment_status?: string;
|
|
24391
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24392
|
+
receivable_synced_at?: string | null;
|
|
24393
|
+
status_code?: number | null;
|
|
23586
24394
|
updated_at?: string;
|
|
23587
24395
|
};
|
|
23588
|
-
Relationships: [
|
|
23589
|
-
foreignKeyName: "exact_customer_sync_queue_connection_id_fkey";
|
|
23590
|
-
columns: ["connection_id"];
|
|
23591
|
-
isOneToOne: false;
|
|
23592
|
-
referencedRelation: "exact_connections";
|
|
23593
|
-
referencedColumns: ["id"];
|
|
23594
|
-
}];
|
|
24396
|
+
Relationships: [];
|
|
23595
24397
|
};
|
|
23596
|
-
|
|
24398
|
+
exact_auth_items: {
|
|
23597
24399
|
Row: {
|
|
23598
|
-
|
|
23599
|
-
|
|
23600
|
-
|
|
23601
|
-
|
|
23602
|
-
|
|
23603
|
-
|
|
23604
|
-
|
|
23605
|
-
|
|
23606
|
-
|
|
23607
|
-
|
|
23608
|
-
|
|
23609
|
-
|
|
23610
|
-
|
|
23611
|
-
|
|
23612
|
-
|
|
23613
|
-
|
|
23614
|
-
|
|
24400
|
+
account_key: string;
|
|
24401
|
+
barcode: string | null;
|
|
24402
|
+
code: string | null;
|
|
24403
|
+
cost_price: number | null;
|
|
24404
|
+
created_at: string;
|
|
24405
|
+
description: string | null;
|
|
24406
|
+
division_code: number | null;
|
|
24407
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24408
|
+
exact_id: string;
|
|
24409
|
+
exact_modified: string | null;
|
|
24410
|
+
exact_timestamp: number | null;
|
|
24411
|
+
gl_account_code: string | null;
|
|
24412
|
+
id: string;
|
|
24413
|
+
is_active: boolean;
|
|
24414
|
+
is_sales_item: boolean | null;
|
|
24415
|
+
item_type: string | null;
|
|
24416
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
24417
|
+
sales_price: number | null;
|
|
24418
|
+
unit: string | null;
|
|
24419
|
+
updated_at: string;
|
|
24420
|
+
vat_code: string | null;
|
|
24421
|
+
};
|
|
24422
|
+
Insert: {
|
|
24423
|
+
account_key?: string;
|
|
24424
|
+
barcode?: string | null;
|
|
24425
|
+
code?: string | null;
|
|
24426
|
+
cost_price?: number | null;
|
|
24427
|
+
created_at?: string;
|
|
24428
|
+
description?: string | null;
|
|
24429
|
+
division_code?: number | null;
|
|
24430
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24431
|
+
exact_id: string;
|
|
24432
|
+
exact_modified?: string | null;
|
|
24433
|
+
exact_timestamp?: number | null;
|
|
24434
|
+
gl_account_code?: string | null;
|
|
24435
|
+
id?: string;
|
|
24436
|
+
is_active?: boolean;
|
|
24437
|
+
is_sales_item?: boolean | null;
|
|
24438
|
+
item_type?: string | null;
|
|
24439
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24440
|
+
sales_price?: number | null;
|
|
24441
|
+
unit?: string | null;
|
|
24442
|
+
updated_at?: string;
|
|
24443
|
+
vat_code?: string | null;
|
|
24444
|
+
};
|
|
24445
|
+
Update: {
|
|
24446
|
+
account_key?: string;
|
|
24447
|
+
barcode?: string | null;
|
|
24448
|
+
code?: string | null;
|
|
24449
|
+
cost_price?: number | null;
|
|
24450
|
+
created_at?: string;
|
|
24451
|
+
description?: string | null;
|
|
24452
|
+
division_code?: number | null;
|
|
24453
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24454
|
+
exact_id?: string;
|
|
24455
|
+
exact_modified?: string | null;
|
|
24456
|
+
exact_timestamp?: number | null;
|
|
24457
|
+
gl_account_code?: string | null;
|
|
24458
|
+
id?: string;
|
|
24459
|
+
is_active?: boolean;
|
|
24460
|
+
is_sales_item?: boolean | null;
|
|
24461
|
+
item_type?: string | null;
|
|
24462
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
24463
|
+
sales_price?: number | null;
|
|
24464
|
+
unit?: string | null;
|
|
24465
|
+
updated_at?: string;
|
|
24466
|
+
vat_code?: string | null;
|
|
24467
|
+
};
|
|
24468
|
+
Relationships: [];
|
|
24469
|
+
};
|
|
24470
|
+
exact_auth_sync_log: {
|
|
24471
|
+
Row: {
|
|
24472
|
+
account_key: string;
|
|
24473
|
+
calls_used: number;
|
|
24474
|
+
created_at: string;
|
|
24475
|
+
domain: string;
|
|
24476
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24477
|
+
error: string | null;
|
|
24478
|
+
finished_at: string | null;
|
|
24479
|
+
id: string;
|
|
24480
|
+
ok: boolean;
|
|
24481
|
+
records: number;
|
|
24482
|
+
started_at: string;
|
|
24483
|
+
};
|
|
24484
|
+
Insert: {
|
|
24485
|
+
account_key?: string;
|
|
24486
|
+
calls_used?: number;
|
|
24487
|
+
created_at?: string;
|
|
24488
|
+
domain: string;
|
|
24489
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24490
|
+
error?: string | null;
|
|
24491
|
+
finished_at?: string | null;
|
|
24492
|
+
id?: string;
|
|
24493
|
+
ok?: boolean;
|
|
24494
|
+
records?: number;
|
|
24495
|
+
started_at?: string;
|
|
24496
|
+
};
|
|
24497
|
+
Update: {
|
|
24498
|
+
account_key?: string;
|
|
24499
|
+
calls_used?: number;
|
|
24500
|
+
created_at?: string;
|
|
24501
|
+
domain?: string;
|
|
24502
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24503
|
+
error?: string | null;
|
|
24504
|
+
finished_at?: string | null;
|
|
24505
|
+
id?: string;
|
|
24506
|
+
ok?: boolean;
|
|
24507
|
+
records?: number;
|
|
24508
|
+
started_at?: string;
|
|
24509
|
+
};
|
|
24510
|
+
Relationships: [];
|
|
24511
|
+
};
|
|
24512
|
+
exact_auth_sync_state: {
|
|
24513
|
+
Row: {
|
|
24514
|
+
account_key: string;
|
|
24515
|
+
created_at: string;
|
|
24516
|
+
cursor_timestamp: number;
|
|
24517
|
+
division_code: number | null;
|
|
24518
|
+
domain: string;
|
|
24519
|
+
duration_ms: number | null;
|
|
24520
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24521
|
+
initial_sync_done: boolean;
|
|
24522
|
+
last_error: string | null;
|
|
24523
|
+
last_run_at: string | null;
|
|
24524
|
+
last_success_at: string | null;
|
|
24525
|
+
locked_at: string | null;
|
|
24526
|
+
needs_initial_sync: boolean;
|
|
24527
|
+
record_count: number;
|
|
24528
|
+
updated_at: string;
|
|
24529
|
+
};
|
|
24530
|
+
Insert: {
|
|
24531
|
+
account_key?: string;
|
|
24532
|
+
created_at?: string;
|
|
24533
|
+
cursor_timestamp?: number;
|
|
24534
|
+
division_code?: number | null;
|
|
24535
|
+
domain: string;
|
|
24536
|
+
duration_ms?: number | null;
|
|
24537
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24538
|
+
initial_sync_done?: boolean;
|
|
24539
|
+
last_error?: string | null;
|
|
24540
|
+
last_run_at?: string | null;
|
|
24541
|
+
last_success_at?: string | null;
|
|
24542
|
+
locked_at?: string | null;
|
|
24543
|
+
needs_initial_sync?: boolean;
|
|
24544
|
+
record_count?: number;
|
|
24545
|
+
updated_at?: string;
|
|
24546
|
+
};
|
|
24547
|
+
Update: {
|
|
24548
|
+
account_key?: string;
|
|
24549
|
+
created_at?: string;
|
|
24550
|
+
cursor_timestamp?: number;
|
|
24551
|
+
division_code?: number | null;
|
|
24552
|
+
domain?: string;
|
|
24553
|
+
duration_ms?: number | null;
|
|
24554
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24555
|
+
initial_sync_done?: boolean;
|
|
24556
|
+
last_error?: string | null;
|
|
24557
|
+
last_run_at?: string | null;
|
|
24558
|
+
last_success_at?: string | null;
|
|
24559
|
+
locked_at?: string | null;
|
|
24560
|
+
needs_initial_sync?: boolean;
|
|
24561
|
+
record_count?: number;
|
|
24562
|
+
updated_at?: string;
|
|
24563
|
+
};
|
|
24564
|
+
Relationships: [];
|
|
24565
|
+
};
|
|
24566
|
+
exact_bulk_operation_items: {
|
|
24567
|
+
Row: {
|
|
24568
|
+
attempts: number;
|
|
24569
|
+
bulk_operation_id: string;
|
|
24570
|
+
created_at: string;
|
|
24571
|
+
error_message: string | null;
|
|
24572
|
+
id: string;
|
|
24573
|
+
invoice_cache_id: string | null;
|
|
24574
|
+
invoice_exact_id: string | null;
|
|
24575
|
+
processed_at: string | null;
|
|
24576
|
+
result_data: import("../integrations/supabase/types").Json | null;
|
|
24577
|
+
status: string;
|
|
24578
|
+
};
|
|
24579
|
+
Insert: {
|
|
24580
|
+
attempts?: number;
|
|
24581
|
+
bulk_operation_id: string;
|
|
24582
|
+
created_at?: string;
|
|
24583
|
+
error_message?: string | null;
|
|
24584
|
+
id?: string;
|
|
24585
|
+
invoice_cache_id?: string | null;
|
|
24586
|
+
invoice_exact_id?: string | null;
|
|
24587
|
+
processed_at?: string | null;
|
|
24588
|
+
result_data?: import("../integrations/supabase/types").Json | null;
|
|
24589
|
+
status?: string;
|
|
24590
|
+
};
|
|
24591
|
+
Update: {
|
|
24592
|
+
attempts?: number;
|
|
24593
|
+
bulk_operation_id?: string;
|
|
24594
|
+
created_at?: string;
|
|
24595
|
+
error_message?: string | null;
|
|
24596
|
+
id?: string;
|
|
24597
|
+
invoice_cache_id?: string | null;
|
|
24598
|
+
invoice_exact_id?: string | null;
|
|
24599
|
+
processed_at?: string | null;
|
|
24600
|
+
result_data?: import("../integrations/supabase/types").Json | null;
|
|
24601
|
+
status?: string;
|
|
24602
|
+
};
|
|
24603
|
+
Relationships: [{
|
|
24604
|
+
foreignKeyName: "exact_bulk_operation_items_bulk_operation_id_fkey";
|
|
24605
|
+
columns: ["bulk_operation_id"];
|
|
24606
|
+
isOneToOne: false;
|
|
24607
|
+
referencedRelation: "exact_bulk_operations";
|
|
24608
|
+
referencedColumns: ["id"];
|
|
24609
|
+
}, {
|
|
24610
|
+
foreignKeyName: "exact_bulk_operation_items_invoice_cache_id_fkey";
|
|
24611
|
+
columns: ["invoice_cache_id"];
|
|
24612
|
+
isOneToOne: false;
|
|
24613
|
+
referencedRelation: "exact_invoices_cache";
|
|
24614
|
+
referencedColumns: ["id"];
|
|
24615
|
+
}];
|
|
24616
|
+
};
|
|
24617
|
+
exact_bulk_operations: {
|
|
24618
|
+
Row: {
|
|
24619
|
+
completed_at: string | null;
|
|
24620
|
+
connection_id: string;
|
|
24621
|
+
created_at: string;
|
|
24622
|
+
created_by: string | null;
|
|
24623
|
+
error_message: string | null;
|
|
24624
|
+
failed_count: number | null;
|
|
24625
|
+
id: string;
|
|
24626
|
+
operation_type: string;
|
|
24627
|
+
processed_count: number | null;
|
|
24628
|
+
result_data: import("../integrations/supabase/types").Json | null;
|
|
24629
|
+
started_at: string | null;
|
|
24630
|
+
status: string;
|
|
24631
|
+
total_count: number | null;
|
|
24632
|
+
updated_at: string;
|
|
24633
|
+
};
|
|
24634
|
+
Insert: {
|
|
24635
|
+
completed_at?: string | null;
|
|
24636
|
+
connection_id: string;
|
|
24637
|
+
created_at?: string;
|
|
24638
|
+
created_by?: string | null;
|
|
24639
|
+
error_message?: string | null;
|
|
24640
|
+
failed_count?: number | null;
|
|
24641
|
+
id?: string;
|
|
24642
|
+
operation_type: string;
|
|
24643
|
+
processed_count?: number | null;
|
|
24644
|
+
result_data?: import("../integrations/supabase/types").Json | null;
|
|
24645
|
+
started_at?: string | null;
|
|
24646
|
+
status?: string;
|
|
24647
|
+
total_count?: number | null;
|
|
24648
|
+
updated_at?: string;
|
|
24649
|
+
};
|
|
24650
|
+
Update: {
|
|
24651
|
+
completed_at?: string | null;
|
|
24652
|
+
connection_id?: string;
|
|
24653
|
+
created_at?: string;
|
|
24654
|
+
created_by?: string | null;
|
|
24655
|
+
error_message?: string | null;
|
|
24656
|
+
failed_count?: number | null;
|
|
24657
|
+
id?: string;
|
|
24658
|
+
operation_type?: string;
|
|
24659
|
+
processed_count?: number | null;
|
|
24660
|
+
result_data?: import("../integrations/supabase/types").Json | null;
|
|
24661
|
+
started_at?: string | null;
|
|
24662
|
+
status?: string;
|
|
24663
|
+
total_count?: number | null;
|
|
24664
|
+
updated_at?: string;
|
|
24665
|
+
};
|
|
24666
|
+
Relationships: [{
|
|
24667
|
+
foreignKeyName: "exact_bulk_operations_connection_id_fkey";
|
|
24668
|
+
columns: ["connection_id"];
|
|
24669
|
+
isOneToOne: false;
|
|
24670
|
+
referencedRelation: "exact_connections";
|
|
24671
|
+
referencedColumns: ["id"];
|
|
24672
|
+
}];
|
|
24673
|
+
};
|
|
24674
|
+
exact_connections: {
|
|
24675
|
+
Row: {
|
|
24676
|
+
access_token_encrypted: string;
|
|
24677
|
+
company_name: string | null;
|
|
24678
|
+
connected_at: string;
|
|
24679
|
+
connected_by: string | null;
|
|
24680
|
+
division_code: number | null;
|
|
24681
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24682
|
+
expires_at: string;
|
|
24683
|
+
id: string;
|
|
24684
|
+
last_error: string | null;
|
|
24685
|
+
last_refreshed_at: string | null;
|
|
24686
|
+
last_tested_at: string | null;
|
|
24687
|
+
refresh_token_encrypted: string;
|
|
24688
|
+
status: string;
|
|
24689
|
+
updated_at: string;
|
|
24690
|
+
};
|
|
24691
|
+
Insert: {
|
|
24692
|
+
access_token_encrypted: string;
|
|
24693
|
+
company_name?: string | null;
|
|
24694
|
+
connected_at?: string;
|
|
24695
|
+
connected_by?: string | null;
|
|
24696
|
+
division_code?: number | null;
|
|
24697
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24698
|
+
expires_at: string;
|
|
24699
|
+
id?: string;
|
|
24700
|
+
last_error?: string | null;
|
|
24701
|
+
last_refreshed_at?: string | null;
|
|
24702
|
+
last_tested_at?: string | null;
|
|
24703
|
+
refresh_token_encrypted: string;
|
|
24704
|
+
status?: string;
|
|
24705
|
+
updated_at?: string;
|
|
24706
|
+
};
|
|
24707
|
+
Update: {
|
|
24708
|
+
access_token_encrypted?: string;
|
|
24709
|
+
company_name?: string | null;
|
|
24710
|
+
connected_at?: string;
|
|
24711
|
+
connected_by?: string | null;
|
|
24712
|
+
division_code?: number | null;
|
|
24713
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24714
|
+
expires_at?: string;
|
|
24715
|
+
id?: string;
|
|
24716
|
+
last_error?: string | null;
|
|
24717
|
+
last_refreshed_at?: string | null;
|
|
24718
|
+
last_tested_at?: string | null;
|
|
24719
|
+
refresh_token_encrypted?: string;
|
|
24720
|
+
status?: string;
|
|
24721
|
+
updated_at?: string;
|
|
24722
|
+
};
|
|
24723
|
+
Relationships: [];
|
|
24724
|
+
};
|
|
24725
|
+
exact_credentials: {
|
|
24726
|
+
Row: {
|
|
24727
|
+
client_id: string;
|
|
24728
|
+
client_secret_encrypted: string;
|
|
24729
|
+
created_at: string;
|
|
24730
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24731
|
+
id: string;
|
|
24732
|
+
redirect_uri: string;
|
|
24733
|
+
updated_at: string;
|
|
24734
|
+
};
|
|
24735
|
+
Insert: {
|
|
24736
|
+
client_id: string;
|
|
24737
|
+
client_secret_encrypted: string;
|
|
24738
|
+
created_at?: string;
|
|
24739
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24740
|
+
id?: string;
|
|
24741
|
+
redirect_uri?: string;
|
|
24742
|
+
updated_at?: string;
|
|
24743
|
+
};
|
|
24744
|
+
Update: {
|
|
24745
|
+
client_id?: string;
|
|
24746
|
+
client_secret_encrypted?: string;
|
|
24747
|
+
created_at?: string;
|
|
24748
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
24749
|
+
id?: string;
|
|
24750
|
+
redirect_uri?: string;
|
|
24751
|
+
updated_at?: string;
|
|
24752
|
+
};
|
|
24753
|
+
Relationships: [];
|
|
24754
|
+
};
|
|
24755
|
+
exact_customer_sync_queue: {
|
|
24756
|
+
Row: {
|
|
24757
|
+
attempts: number;
|
|
24758
|
+
connection_id: string;
|
|
24759
|
+
created_at: string;
|
|
24760
|
+
customer_exact_id: string | null;
|
|
24761
|
+
error_message: string | null;
|
|
24762
|
+
id: string;
|
|
24763
|
+
max_attempts: number;
|
|
24764
|
+
operation: string;
|
|
24765
|
+
payload: import("../integrations/supabase/types").Json;
|
|
24766
|
+
process_at: string;
|
|
24767
|
+
processed_at: string | null;
|
|
24768
|
+
status: string;
|
|
24769
|
+
updated_at: string;
|
|
24770
|
+
};
|
|
24771
|
+
Insert: {
|
|
24772
|
+
attempts?: number;
|
|
24773
|
+
connection_id: string;
|
|
24774
|
+
created_at?: string;
|
|
24775
|
+
customer_exact_id?: string | null;
|
|
24776
|
+
error_message?: string | null;
|
|
24777
|
+
id?: string;
|
|
24778
|
+
max_attempts?: number;
|
|
24779
|
+
operation: string;
|
|
24780
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
24781
|
+
process_at?: string;
|
|
24782
|
+
processed_at?: string | null;
|
|
24783
|
+
status?: string;
|
|
24784
|
+
updated_at?: string;
|
|
24785
|
+
};
|
|
24786
|
+
Update: {
|
|
24787
|
+
attempts?: number;
|
|
24788
|
+
connection_id?: string;
|
|
24789
|
+
created_at?: string;
|
|
24790
|
+
customer_exact_id?: string | null;
|
|
24791
|
+
error_message?: string | null;
|
|
24792
|
+
id?: string;
|
|
24793
|
+
max_attempts?: number;
|
|
24794
|
+
operation?: string;
|
|
24795
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
24796
|
+
process_at?: string;
|
|
24797
|
+
processed_at?: string | null;
|
|
24798
|
+
status?: string;
|
|
24799
|
+
updated_at?: string;
|
|
24800
|
+
};
|
|
24801
|
+
Relationships: [{
|
|
24802
|
+
foreignKeyName: "exact_customer_sync_queue_connection_id_fkey";
|
|
24803
|
+
columns: ["connection_id"];
|
|
24804
|
+
isOneToOne: false;
|
|
24805
|
+
referencedRelation: "exact_connections";
|
|
24806
|
+
referencedColumns: ["id"];
|
|
24807
|
+
}];
|
|
24808
|
+
};
|
|
24809
|
+
exact_customers_cache: {
|
|
24810
|
+
Row: {
|
|
24811
|
+
account_name: string | null;
|
|
24812
|
+
account_number: string | null;
|
|
24813
|
+
address_line1: string | null;
|
|
24814
|
+
address_line2: string | null;
|
|
24815
|
+
balance: number | null;
|
|
24816
|
+
chamber_of_commerce: string | null;
|
|
24817
|
+
city: string | null;
|
|
24818
|
+
classification_description: string | null;
|
|
24819
|
+
connection_id: string;
|
|
24820
|
+
contact_name: string | null;
|
|
24821
|
+
country: string | null;
|
|
24822
|
+
created_at_exact: string | null;
|
|
24823
|
+
credit_line: number | null;
|
|
24824
|
+
currency: string | null;
|
|
24825
|
+
data_raw: import("../integrations/supabase/types").Json | null;
|
|
24826
|
+
email: string | null;
|
|
24827
|
+
exact_id: string;
|
|
23615
24828
|
expires_at: string | null;
|
|
23616
24829
|
fetched_at: string;
|
|
23617
24830
|
id: string;
|
|
@@ -25041,12 +26254,17 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
25041
26254
|
attempts: number;
|
|
25042
26255
|
connection_id: string;
|
|
25043
26256
|
created_at: string;
|
|
26257
|
+
desired_available: boolean | null;
|
|
25044
26258
|
gateway_attempt_id: string | null;
|
|
25045
26259
|
id: string;
|
|
25046
26260
|
last_error: string | null;
|
|
26261
|
+
locked_at: string | null;
|
|
26262
|
+
locked_by: string | null;
|
|
26263
|
+
next_attempt_at: string;
|
|
25047
26264
|
number_of_pieces: number;
|
|
25048
26265
|
sent_at: string | null;
|
|
25049
26266
|
status: string;
|
|
26267
|
+
superseded_by: string | null;
|
|
25050
26268
|
trade_item_id: string;
|
|
25051
26269
|
updated_at: string;
|
|
25052
26270
|
user_id: string;
|
|
@@ -25055,12 +26273,17 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
25055
26273
|
attempts?: number;
|
|
25056
26274
|
connection_id: string;
|
|
25057
26275
|
created_at?: string;
|
|
26276
|
+
desired_available?: boolean | null;
|
|
25058
26277
|
gateway_attempt_id?: string | null;
|
|
25059
26278
|
id?: string;
|
|
25060
26279
|
last_error?: string | null;
|
|
26280
|
+
locked_at?: string | null;
|
|
26281
|
+
locked_by?: string | null;
|
|
26282
|
+
next_attempt_at?: string;
|
|
25061
26283
|
number_of_pieces?: number;
|
|
25062
26284
|
sent_at?: string | null;
|
|
25063
26285
|
status?: string;
|
|
26286
|
+
superseded_by?: string | null;
|
|
25064
26287
|
trade_item_id: string;
|
|
25065
26288
|
updated_at?: string;
|
|
25066
26289
|
user_id: string;
|
|
@@ -25069,12 +26292,17 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
25069
26292
|
attempts?: number;
|
|
25070
26293
|
connection_id?: string;
|
|
25071
26294
|
created_at?: string;
|
|
26295
|
+
desired_available?: boolean | null;
|
|
25072
26296
|
gateway_attempt_id?: string | null;
|
|
25073
26297
|
id?: string;
|
|
25074
26298
|
last_error?: string | null;
|
|
26299
|
+
locked_at?: string | null;
|
|
26300
|
+
locked_by?: string | null;
|
|
26301
|
+
next_attempt_at?: string;
|
|
25075
26302
|
number_of_pieces?: number;
|
|
25076
26303
|
sent_at?: string | null;
|
|
25077
26304
|
status?: string;
|
|
26305
|
+
superseded_by?: string | null;
|
|
25078
26306
|
trade_item_id?: string;
|
|
25079
26307
|
updated_at?: string;
|
|
25080
26308
|
user_id?: string;
|
|
@@ -27823,6 +29051,69 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
27823
29051
|
};
|
|
27824
29052
|
Relationships: [];
|
|
27825
29053
|
};
|
|
29054
|
+
logistics_floriday_pushes: {
|
|
29055
|
+
Row: {
|
|
29056
|
+
attempts: number;
|
|
29057
|
+
created_at: string;
|
|
29058
|
+
first_queued_at: string;
|
|
29059
|
+
fulfillment_order_id: string | null;
|
|
29060
|
+
id: string;
|
|
29061
|
+
last_error: string | null;
|
|
29062
|
+
last_error_at: string | null;
|
|
29063
|
+
last_sent_hash: string | null;
|
|
29064
|
+
locked_by: string | null;
|
|
29065
|
+
locked_until: string | null;
|
|
29066
|
+
next_attempt_at: string;
|
|
29067
|
+
order_ref: string;
|
|
29068
|
+
payload: import("../integrations/supabase/types").Json;
|
|
29069
|
+
payload_hash: string | null;
|
|
29070
|
+
revision: number;
|
|
29071
|
+
sent_at: string | null;
|
|
29072
|
+
status: string;
|
|
29073
|
+
updated_at: string;
|
|
29074
|
+
};
|
|
29075
|
+
Insert: {
|
|
29076
|
+
attempts?: number;
|
|
29077
|
+
created_at?: string;
|
|
29078
|
+
first_queued_at?: string;
|
|
29079
|
+
fulfillment_order_id?: string | null;
|
|
29080
|
+
id?: string;
|
|
29081
|
+
last_error?: string | null;
|
|
29082
|
+
last_error_at?: string | null;
|
|
29083
|
+
last_sent_hash?: string | null;
|
|
29084
|
+
locked_by?: string | null;
|
|
29085
|
+
locked_until?: string | null;
|
|
29086
|
+
next_attempt_at?: string;
|
|
29087
|
+
order_ref: string;
|
|
29088
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
29089
|
+
payload_hash?: string | null;
|
|
29090
|
+
revision?: number;
|
|
29091
|
+
sent_at?: string | null;
|
|
29092
|
+
status?: string;
|
|
29093
|
+
updated_at?: string;
|
|
29094
|
+
};
|
|
29095
|
+
Update: {
|
|
29096
|
+
attempts?: number;
|
|
29097
|
+
created_at?: string;
|
|
29098
|
+
first_queued_at?: string;
|
|
29099
|
+
fulfillment_order_id?: string | null;
|
|
29100
|
+
id?: string;
|
|
29101
|
+
last_error?: string | null;
|
|
29102
|
+
last_error_at?: string | null;
|
|
29103
|
+
last_sent_hash?: string | null;
|
|
29104
|
+
locked_by?: string | null;
|
|
29105
|
+
locked_until?: string | null;
|
|
29106
|
+
next_attempt_at?: string;
|
|
29107
|
+
order_ref?: string;
|
|
29108
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
29109
|
+
payload_hash?: string | null;
|
|
29110
|
+
revision?: number;
|
|
29111
|
+
sent_at?: string | null;
|
|
29112
|
+
status?: string;
|
|
29113
|
+
updated_at?: string;
|
|
29114
|
+
};
|
|
29115
|
+
Relationships: [];
|
|
29116
|
+
};
|
|
27826
29117
|
logistics_formulas: {
|
|
27827
29118
|
Row: {
|
|
27828
29119
|
created_at: string;
|
|
@@ -28434,6 +29725,8 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
28434
29725
|
};
|
|
28435
29726
|
logistics_tasks: {
|
|
28436
29727
|
Row: {
|
|
29728
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
29729
|
+
attempts: number;
|
|
28437
29730
|
buffer_ref: string | null;
|
|
28438
29731
|
claimed_at: string | null;
|
|
28439
29732
|
claimed_by: string | null;
|
|
@@ -28443,6 +29736,8 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
28443
29736
|
due_at: string | null;
|
|
28444
29737
|
error: string | null;
|
|
28445
29738
|
id: string;
|
|
29739
|
+
last_error: string | null;
|
|
29740
|
+
next_attempt_at: string | null;
|
|
28446
29741
|
order_ref: string;
|
|
28447
29742
|
owner_module: string;
|
|
28448
29743
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -28463,6 +29758,8 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
28463
29758
|
user_id: string;
|
|
28464
29759
|
};
|
|
28465
29760
|
Insert: {
|
|
29761
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
29762
|
+
attempts?: number;
|
|
28466
29763
|
buffer_ref?: string | null;
|
|
28467
29764
|
claimed_at?: string | null;
|
|
28468
29765
|
claimed_by?: string | null;
|
|
@@ -28472,6 +29769,8 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
28472
29769
|
due_at?: string | null;
|
|
28473
29770
|
error?: string | null;
|
|
28474
29771
|
id?: string;
|
|
29772
|
+
last_error?: string | null;
|
|
29773
|
+
next_attempt_at?: string | null;
|
|
28475
29774
|
order_ref: string;
|
|
28476
29775
|
owner_module: string;
|
|
28477
29776
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -28492,6 +29791,8 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
28492
29791
|
user_id?: string;
|
|
28493
29792
|
};
|
|
28494
29793
|
Update: {
|
|
29794
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
29795
|
+
attempts?: number;
|
|
28495
29796
|
buffer_ref?: string | null;
|
|
28496
29797
|
claimed_at?: string | null;
|
|
28497
29798
|
claimed_by?: string | null;
|
|
@@ -28501,6 +29802,8 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
28501
29802
|
due_at?: string | null;
|
|
28502
29803
|
error?: string | null;
|
|
28503
29804
|
id?: string;
|
|
29805
|
+
last_error?: string | null;
|
|
29806
|
+
next_attempt_at?: string | null;
|
|
28504
29807
|
order_ref?: string;
|
|
28505
29808
|
owner_module?: string;
|
|
28506
29809
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -29850,6 +31153,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
29850
31153
|
};
|
|
29851
31154
|
offer_settings: {
|
|
29852
31155
|
Row: {
|
|
31156
|
+
brand_name: string | null;
|
|
29853
31157
|
button_color: string;
|
|
29854
31158
|
created_at: string;
|
|
29855
31159
|
default_countries: string[];
|
|
@@ -29871,6 +31175,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
29871
31175
|
updated_at: string;
|
|
29872
31176
|
};
|
|
29873
31177
|
Insert: {
|
|
31178
|
+
brand_name?: string | null;
|
|
29874
31179
|
button_color?: string;
|
|
29875
31180
|
created_at?: string;
|
|
29876
31181
|
default_countries?: string[];
|
|
@@ -29892,6 +31197,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
29892
31197
|
updated_at?: string;
|
|
29893
31198
|
};
|
|
29894
31199
|
Update: {
|
|
31200
|
+
brand_name?: string | null;
|
|
29895
31201
|
button_color?: string;
|
|
29896
31202
|
created_at?: string;
|
|
29897
31203
|
default_countries?: string[];
|
|
@@ -37502,6 +38808,85 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
37502
38808
|
};
|
|
37503
38809
|
Returns: import("../integrations/supabase/types").Json;
|
|
37504
38810
|
};
|
|
38811
|
+
claim_floriday_stock_queue: {
|
|
38812
|
+
Args: {
|
|
38813
|
+
p_limit?: number;
|
|
38814
|
+
p_worker?: string;
|
|
38815
|
+
};
|
|
38816
|
+
Returns: {
|
|
38817
|
+
attempts: number;
|
|
38818
|
+
connection_id: string;
|
|
38819
|
+
created_at: string;
|
|
38820
|
+
desired_available: boolean | null;
|
|
38821
|
+
gateway_attempt_id: string | null;
|
|
38822
|
+
id: string;
|
|
38823
|
+
last_error: string | null;
|
|
38824
|
+
locked_at: string | null;
|
|
38825
|
+
locked_by: string | null;
|
|
38826
|
+
next_attempt_at: string;
|
|
38827
|
+
number_of_pieces: number;
|
|
38828
|
+
sent_at: string | null;
|
|
38829
|
+
status: string;
|
|
38830
|
+
superseded_by: string | null;
|
|
38831
|
+
trade_item_id: string;
|
|
38832
|
+
updated_at: string;
|
|
38833
|
+
user_id: string;
|
|
38834
|
+
}[];
|
|
38835
|
+
SetofOptions: {
|
|
38836
|
+
from: "*";
|
|
38837
|
+
to: "floriday_continuous_stock_queue";
|
|
38838
|
+
isOneToOne: false;
|
|
38839
|
+
isSetofReturn: true;
|
|
38840
|
+
};
|
|
38841
|
+
};
|
|
38842
|
+
claim_logistics_tasks: {
|
|
38843
|
+
Args: {
|
|
38844
|
+
_limit?: number;
|
|
38845
|
+
_owner_module: string;
|
|
38846
|
+
_stale_minutes?: number;
|
|
38847
|
+
_task_type: string;
|
|
38848
|
+
_worker: string;
|
|
38849
|
+
};
|
|
38850
|
+
Returns: {
|
|
38851
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
38852
|
+
attempts: number;
|
|
38853
|
+
buffer_ref: string | null;
|
|
38854
|
+
claimed_at: string | null;
|
|
38855
|
+
claimed_by: string | null;
|
|
38856
|
+
completed_at: string | null;
|
|
38857
|
+
created_at: string;
|
|
38858
|
+
depends_on: string[];
|
|
38859
|
+
due_at: string | null;
|
|
38860
|
+
error: string | null;
|
|
38861
|
+
id: string;
|
|
38862
|
+
last_error: string | null;
|
|
38863
|
+
next_attempt_at: string | null;
|
|
38864
|
+
order_ref: string;
|
|
38865
|
+
owner_module: string;
|
|
38866
|
+
payload: import("../integrations/supabase/types").Json;
|
|
38867
|
+
plan_run_id: string | null;
|
|
38868
|
+
planned_end: string | null;
|
|
38869
|
+
planned_start: string | null;
|
|
38870
|
+
priority: number;
|
|
38871
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
38872
|
+
rule_config_id: string | null;
|
|
38873
|
+
rule_version: number | null;
|
|
38874
|
+
sequence: number;
|
|
38875
|
+
shadow: boolean;
|
|
38876
|
+
started_at: string | null;
|
|
38877
|
+
status: string;
|
|
38878
|
+
strategy_id: string | null;
|
|
38879
|
+
task_type: string;
|
|
38880
|
+
updated_at: string;
|
|
38881
|
+
user_id: string;
|
|
38882
|
+
}[];
|
|
38883
|
+
SetofOptions: {
|
|
38884
|
+
from: "*";
|
|
38885
|
+
to: "logistics_tasks";
|
|
38886
|
+
isOneToOne: false;
|
|
38887
|
+
isSetofReturn: true;
|
|
38888
|
+
};
|
|
38889
|
+
};
|
|
37505
38890
|
claim_print_jobs: {
|
|
37506
38891
|
Args: {
|
|
37507
38892
|
_agent_id: string;
|
|
@@ -37566,10 +38951,24 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
37566
38951
|
isSetofReturn: true;
|
|
37567
38952
|
};
|
|
37568
38953
|
};
|
|
38954
|
+
cleanup_floriday_stock_queue: {
|
|
38955
|
+
Args: never;
|
|
38956
|
+
Returns: undefined;
|
|
38957
|
+
};
|
|
37569
38958
|
cleanup_old_bookings: {
|
|
37570
38959
|
Args: never;
|
|
37571
38960
|
Returns: undefined;
|
|
37572
38961
|
};
|
|
38962
|
+
complete_floriday_stock_queue: {
|
|
38963
|
+
Args: {
|
|
38964
|
+
p_attempt_id?: string;
|
|
38965
|
+
p_error?: string;
|
|
38966
|
+
p_id: string;
|
|
38967
|
+
p_ok: boolean;
|
|
38968
|
+
p_permanent?: boolean;
|
|
38969
|
+
};
|
|
38970
|
+
Returns: undefined;
|
|
38971
|
+
};
|
|
37573
38972
|
consume_bom_for_production: {
|
|
37574
38973
|
Args: {
|
|
37575
38974
|
p_connection_id: string;
|
|
@@ -37742,6 +39141,21 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
37742
39141
|
Args: never;
|
|
37743
39142
|
Returns: string;
|
|
37744
39143
|
};
|
|
39144
|
+
exact_auth_consume_calls: {
|
|
39145
|
+
Args: {
|
|
39146
|
+
_account_key: string;
|
|
39147
|
+
_calls?: number;
|
|
39148
|
+
_day_limit?: number;
|
|
39149
|
+
_division_code: number;
|
|
39150
|
+
_environment: string;
|
|
39151
|
+
_minute_limit?: number;
|
|
39152
|
+
};
|
|
39153
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
39154
|
+
};
|
|
39155
|
+
exact_auth_prune_sync_log: {
|
|
39156
|
+
Args: never;
|
|
39157
|
+
Returns: undefined;
|
|
39158
|
+
};
|
|
37745
39159
|
exact_decrypt: {
|
|
37746
39160
|
Args: {
|
|
37747
39161
|
cipher: string;
|
|
@@ -37951,6 +39365,10 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
37951
39365
|
};
|
|
37952
39366
|
Returns: number;
|
|
37953
39367
|
};
|
|
39368
|
+
get_offer_branding: {
|
|
39369
|
+
Args: never;
|
|
39370
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
39371
|
+
};
|
|
37954
39372
|
get_offer_by_link_code: {
|
|
37955
39373
|
Args: {
|
|
37956
39374
|
p_code: string;
|
|
@@ -38242,6 +39660,8 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
38242
39660
|
p_worker?: string;
|
|
38243
39661
|
};
|
|
38244
39662
|
Returns: {
|
|
39663
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39664
|
+
attempts: number;
|
|
38245
39665
|
buffer_ref: string | null;
|
|
38246
39666
|
claimed_at: string | null;
|
|
38247
39667
|
claimed_by: string | null;
|
|
@@ -38251,6 +39671,8 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
38251
39671
|
due_at: string | null;
|
|
38252
39672
|
error: string | null;
|
|
38253
39673
|
id: string;
|
|
39674
|
+
last_error: string | null;
|
|
39675
|
+
next_attempt_at: string | null;
|
|
38254
39676
|
order_ref: string;
|
|
38255
39677
|
owner_module: string;
|
|
38256
39678
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -38283,6 +39705,8 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
38283
39705
|
p_worker?: string;
|
|
38284
39706
|
};
|
|
38285
39707
|
Returns: {
|
|
39708
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39709
|
+
attempts: number;
|
|
38286
39710
|
buffer_ref: string | null;
|
|
38287
39711
|
claimed_at: string | null;
|
|
38288
39712
|
claimed_by: string | null;
|
|
@@ -38292,6 +39716,8 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
38292
39716
|
due_at: string | null;
|
|
38293
39717
|
error: string | null;
|
|
38294
39718
|
id: string;
|
|
39719
|
+
last_error: string | null;
|
|
39720
|
+
next_attempt_at: string | null;
|
|
38295
39721
|
order_ref: string;
|
|
38296
39722
|
owner_module: string;
|
|
38297
39723
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -38324,6 +39750,8 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
38324
39750
|
p_task_id: string;
|
|
38325
39751
|
};
|
|
38326
39752
|
Returns: {
|
|
39753
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39754
|
+
attempts: number;
|
|
38327
39755
|
buffer_ref: string | null;
|
|
38328
39756
|
claimed_at: string | null;
|
|
38329
39757
|
claimed_by: string | null;
|
|
@@ -38333,6 +39761,8 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
38333
39761
|
due_at: string | null;
|
|
38334
39762
|
error: string | null;
|
|
38335
39763
|
id: string;
|
|
39764
|
+
last_error: string | null;
|
|
39765
|
+
next_attempt_at: string | null;
|
|
38336
39766
|
order_ref: string;
|
|
38337
39767
|
owner_module: string;
|
|
38338
39768
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -38414,6 +39844,8 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
38414
39844
|
p_task_id: string;
|
|
38415
39845
|
};
|
|
38416
39846
|
Returns: {
|
|
39847
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
39848
|
+
attempts: number;
|
|
38417
39849
|
buffer_ref: string | null;
|
|
38418
39850
|
claimed_at: string | null;
|
|
38419
39851
|
claimed_by: string | null;
|
|
@@ -38423,6 +39855,8 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
38423
39855
|
due_at: string | null;
|
|
38424
39856
|
error: string | null;
|
|
38425
39857
|
id: string;
|
|
39858
|
+
last_error: string | null;
|
|
39859
|
+
next_attempt_at: string | null;
|
|
38426
39860
|
order_ref: string;
|
|
38427
39861
|
owner_module: string;
|
|
38428
39862
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -38449,6 +39883,51 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
38449
39883
|
isSetofReturn: false;
|
|
38450
39884
|
};
|
|
38451
39885
|
};
|
|
39886
|
+
logistics_floriday_claim_pushes: {
|
|
39887
|
+
Args: {
|
|
39888
|
+
_lease_seconds?: number;
|
|
39889
|
+
_limit?: number;
|
|
39890
|
+
_worker?: string;
|
|
39891
|
+
};
|
|
39892
|
+
Returns: {
|
|
39893
|
+
attempts: number;
|
|
39894
|
+
fulfillment_order_id: string;
|
|
39895
|
+
id: string;
|
|
39896
|
+
last_sent_hash: string;
|
|
39897
|
+
order_ref: string;
|
|
39898
|
+
payload: import("../integrations/supabase/types").Json;
|
|
39899
|
+
payload_hash: string;
|
|
39900
|
+
revision: number;
|
|
39901
|
+
}[];
|
|
39902
|
+
};
|
|
39903
|
+
logistics_floriday_finish_push: {
|
|
39904
|
+
Args: {
|
|
39905
|
+
_error?: string;
|
|
39906
|
+
_fulfillment_order_id?: string;
|
|
39907
|
+
_id: string;
|
|
39908
|
+
_max_age_hours?: number;
|
|
39909
|
+
_max_attempts?: number;
|
|
39910
|
+
_ok: boolean;
|
|
39911
|
+
_permanent?: boolean;
|
|
39912
|
+
_revision: number;
|
|
39913
|
+
_sent_hash?: string;
|
|
39914
|
+
};
|
|
39915
|
+
Returns: string;
|
|
39916
|
+
};
|
|
39917
|
+
logistics_floriday_prune_pushes: {
|
|
39918
|
+
Args: {
|
|
39919
|
+
_days?: number;
|
|
39920
|
+
};
|
|
39921
|
+
Returns: number;
|
|
39922
|
+
};
|
|
39923
|
+
logistics_floriday_queue_push: {
|
|
39924
|
+
Args: {
|
|
39925
|
+
_order_ref: string;
|
|
39926
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
39927
|
+
_payload_hash?: string;
|
|
39928
|
+
};
|
|
39929
|
+
Returns: string;
|
|
39930
|
+
};
|
|
38452
39931
|
logistics_live_carriers: {
|
|
38453
39932
|
Args: {
|
|
38454
39933
|
p_order_ref: string;
|
|
@@ -39176,6 +40655,10 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
39176
40655
|
Args: never;
|
|
39177
40656
|
Returns: undefined;
|
|
39178
40657
|
};
|
|
40658
|
+
run_logistics_tasks_dispatch: {
|
|
40659
|
+
Args: never;
|
|
40660
|
+
Returns: undefined;
|
|
40661
|
+
};
|
|
39179
40662
|
run_twinfield_queue_tick: {
|
|
39180
40663
|
Args: never;
|
|
39181
40664
|
Returns: undefined;
|
|
@@ -39416,6 +40899,13 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
39416
40899
|
};
|
|
39417
40900
|
Returns: number;
|
|
39418
40901
|
};
|
|
40902
|
+
schedule_floriday_stock_queue_process: {
|
|
40903
|
+
Args: {
|
|
40904
|
+
p_apikey: string;
|
|
40905
|
+
p_url: string;
|
|
40906
|
+
};
|
|
40907
|
+
Returns: number;
|
|
40908
|
+
};
|
|
39419
40909
|
schedule_floriday_token_refresh: {
|
|
39420
40910
|
Args: {
|
|
39421
40911
|
p_apikey: string;
|
|
@@ -43164,6 +44654,474 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
43164
44654
|
referencedColumns: ["id"];
|
|
43165
44655
|
}];
|
|
43166
44656
|
};
|
|
44657
|
+
exact_auth_call_budget: {
|
|
44658
|
+
Row: {
|
|
44659
|
+
account_key: string;
|
|
44660
|
+
day_count: number;
|
|
44661
|
+
day_date: string;
|
|
44662
|
+
division_code: number;
|
|
44663
|
+
environment: string;
|
|
44664
|
+
minute_count: number;
|
|
44665
|
+
minute_window: string;
|
|
44666
|
+
updated_at: string;
|
|
44667
|
+
};
|
|
44668
|
+
Insert: {
|
|
44669
|
+
account_key?: string;
|
|
44670
|
+
day_count?: number;
|
|
44671
|
+
day_date?: string;
|
|
44672
|
+
division_code?: number;
|
|
44673
|
+
environment: string;
|
|
44674
|
+
minute_count?: number;
|
|
44675
|
+
minute_window?: string;
|
|
44676
|
+
updated_at?: string;
|
|
44677
|
+
};
|
|
44678
|
+
Update: {
|
|
44679
|
+
account_key?: string;
|
|
44680
|
+
day_count?: number;
|
|
44681
|
+
day_date?: string;
|
|
44682
|
+
division_code?: number;
|
|
44683
|
+
environment?: string;
|
|
44684
|
+
minute_count?: number;
|
|
44685
|
+
minute_window?: string;
|
|
44686
|
+
updated_at?: string;
|
|
44687
|
+
};
|
|
44688
|
+
Relationships: [];
|
|
44689
|
+
};
|
|
44690
|
+
exact_auth_customers: {
|
|
44691
|
+
Row: {
|
|
44692
|
+
account_key: string;
|
|
44693
|
+
address_line1: string | null;
|
|
44694
|
+
chamber_of_commerce: string | null;
|
|
44695
|
+
city: string | null;
|
|
44696
|
+
code: string | null;
|
|
44697
|
+
country: string | null;
|
|
44698
|
+
created_at: string;
|
|
44699
|
+
currency: string | null;
|
|
44700
|
+
division_code: number | null;
|
|
44701
|
+
email: string | null;
|
|
44702
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44703
|
+
exact_id: string;
|
|
44704
|
+
exact_modified: string | null;
|
|
44705
|
+
exact_timestamp: number | null;
|
|
44706
|
+
id: string;
|
|
44707
|
+
is_active: boolean;
|
|
44708
|
+
name: string | null;
|
|
44709
|
+
phone: string | null;
|
|
44710
|
+
postcode: string | null;
|
|
44711
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
44712
|
+
status: string | null;
|
|
44713
|
+
updated_at: string;
|
|
44714
|
+
vat_number: string | null;
|
|
44715
|
+
website: string | null;
|
|
44716
|
+
};
|
|
44717
|
+
Insert: {
|
|
44718
|
+
account_key?: string;
|
|
44719
|
+
address_line1?: string | null;
|
|
44720
|
+
chamber_of_commerce?: string | null;
|
|
44721
|
+
city?: string | null;
|
|
44722
|
+
code?: string | null;
|
|
44723
|
+
country?: string | null;
|
|
44724
|
+
created_at?: string;
|
|
44725
|
+
currency?: string | null;
|
|
44726
|
+
division_code?: number | null;
|
|
44727
|
+
email?: string | null;
|
|
44728
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44729
|
+
exact_id: string;
|
|
44730
|
+
exact_modified?: string | null;
|
|
44731
|
+
exact_timestamp?: number | null;
|
|
44732
|
+
id?: string;
|
|
44733
|
+
is_active?: boolean;
|
|
44734
|
+
name?: string | null;
|
|
44735
|
+
phone?: string | null;
|
|
44736
|
+
postcode?: string | null;
|
|
44737
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44738
|
+
status?: string | null;
|
|
44739
|
+
updated_at?: string;
|
|
44740
|
+
vat_number?: string | null;
|
|
44741
|
+
website?: string | null;
|
|
44742
|
+
};
|
|
44743
|
+
Update: {
|
|
44744
|
+
account_key?: string;
|
|
44745
|
+
address_line1?: string | null;
|
|
44746
|
+
chamber_of_commerce?: string | null;
|
|
44747
|
+
city?: string | null;
|
|
44748
|
+
code?: string | null;
|
|
44749
|
+
country?: string | null;
|
|
44750
|
+
created_at?: string;
|
|
44751
|
+
currency?: string | null;
|
|
44752
|
+
division_code?: number | null;
|
|
44753
|
+
email?: string | null;
|
|
44754
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44755
|
+
exact_id?: string;
|
|
44756
|
+
exact_modified?: string | null;
|
|
44757
|
+
exact_timestamp?: number | null;
|
|
44758
|
+
id?: string;
|
|
44759
|
+
is_active?: boolean;
|
|
44760
|
+
name?: string | null;
|
|
44761
|
+
phone?: string | null;
|
|
44762
|
+
postcode?: string | null;
|
|
44763
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44764
|
+
status?: string | null;
|
|
44765
|
+
updated_at?: string;
|
|
44766
|
+
vat_number?: string | null;
|
|
44767
|
+
website?: string | null;
|
|
44768
|
+
};
|
|
44769
|
+
Relationships: [];
|
|
44770
|
+
};
|
|
44771
|
+
exact_auth_divisions: {
|
|
44772
|
+
Row: {
|
|
44773
|
+
account_key: string;
|
|
44774
|
+
company_name: string | null;
|
|
44775
|
+
created_at: string;
|
|
44776
|
+
division_code: number | null;
|
|
44777
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44778
|
+
id: string;
|
|
44779
|
+
last_synced_at: string | null;
|
|
44780
|
+
updated_at: string;
|
|
44781
|
+
};
|
|
44782
|
+
Insert: {
|
|
44783
|
+
account_key?: string;
|
|
44784
|
+
company_name?: string | null;
|
|
44785
|
+
created_at?: string;
|
|
44786
|
+
division_code?: number | null;
|
|
44787
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44788
|
+
id?: string;
|
|
44789
|
+
last_synced_at?: string | null;
|
|
44790
|
+
updated_at?: string;
|
|
44791
|
+
};
|
|
44792
|
+
Update: {
|
|
44793
|
+
account_key?: string;
|
|
44794
|
+
company_name?: string | null;
|
|
44795
|
+
created_at?: string;
|
|
44796
|
+
division_code?: number | null;
|
|
44797
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44798
|
+
id?: string;
|
|
44799
|
+
last_synced_at?: string | null;
|
|
44800
|
+
updated_at?: string;
|
|
44801
|
+
};
|
|
44802
|
+
Relationships: [];
|
|
44803
|
+
};
|
|
44804
|
+
exact_auth_invoice_lines: {
|
|
44805
|
+
Row: {
|
|
44806
|
+
account_key: string;
|
|
44807
|
+
amount_excl: number | null;
|
|
44808
|
+
created_at: string;
|
|
44809
|
+
description: string | null;
|
|
44810
|
+
discount: number | null;
|
|
44811
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44812
|
+
exact_id: string;
|
|
44813
|
+
exact_timestamp: number | null;
|
|
44814
|
+
id: string;
|
|
44815
|
+
invoice_exact_id: string;
|
|
44816
|
+
item_code: string | null;
|
|
44817
|
+
item_exact_id: string | null;
|
|
44818
|
+
line_number: number | null;
|
|
44819
|
+
quantity: number | null;
|
|
44820
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
44821
|
+
unit_price: number | null;
|
|
44822
|
+
updated_at: string;
|
|
44823
|
+
vat_amount: number | null;
|
|
44824
|
+
vat_code: string | null;
|
|
44825
|
+
};
|
|
44826
|
+
Insert: {
|
|
44827
|
+
account_key?: string;
|
|
44828
|
+
amount_excl?: number | null;
|
|
44829
|
+
created_at?: string;
|
|
44830
|
+
description?: string | null;
|
|
44831
|
+
discount?: number | null;
|
|
44832
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44833
|
+
exact_id: string;
|
|
44834
|
+
exact_timestamp?: number | null;
|
|
44835
|
+
id?: string;
|
|
44836
|
+
invoice_exact_id: string;
|
|
44837
|
+
item_code?: string | null;
|
|
44838
|
+
item_exact_id?: string | null;
|
|
44839
|
+
line_number?: number | null;
|
|
44840
|
+
quantity?: number | null;
|
|
44841
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44842
|
+
unit_price?: number | null;
|
|
44843
|
+
updated_at?: string;
|
|
44844
|
+
vat_amount?: number | null;
|
|
44845
|
+
vat_code?: string | null;
|
|
44846
|
+
};
|
|
44847
|
+
Update: {
|
|
44848
|
+
account_key?: string;
|
|
44849
|
+
amount_excl?: number | null;
|
|
44850
|
+
created_at?: string;
|
|
44851
|
+
description?: string | null;
|
|
44852
|
+
discount?: number | null;
|
|
44853
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44854
|
+
exact_id?: string;
|
|
44855
|
+
exact_timestamp?: number | null;
|
|
44856
|
+
id?: string;
|
|
44857
|
+
invoice_exact_id?: string;
|
|
44858
|
+
item_code?: string | null;
|
|
44859
|
+
item_exact_id?: string | null;
|
|
44860
|
+
line_number?: number | null;
|
|
44861
|
+
quantity?: number | null;
|
|
44862
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44863
|
+
unit_price?: number | null;
|
|
44864
|
+
updated_at?: string;
|
|
44865
|
+
vat_amount?: number | null;
|
|
44866
|
+
vat_code?: string | null;
|
|
44867
|
+
};
|
|
44868
|
+
Relationships: [];
|
|
44869
|
+
};
|
|
44870
|
+
exact_auth_invoices: {
|
|
44871
|
+
Row: {
|
|
44872
|
+
account_key: string;
|
|
44873
|
+
amount_excl: number | null;
|
|
44874
|
+
amount_incl: number | null;
|
|
44875
|
+
amount_open: number | null;
|
|
44876
|
+
created_at: string;
|
|
44877
|
+
currency: string | null;
|
|
44878
|
+
customer_code: string | null;
|
|
44879
|
+
customer_exact_id: string | null;
|
|
44880
|
+
customer_name: string | null;
|
|
44881
|
+
description: string | null;
|
|
44882
|
+
division_code: number | null;
|
|
44883
|
+
due_date: string | null;
|
|
44884
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44885
|
+
exact_id: string;
|
|
44886
|
+
exact_modified: string | null;
|
|
44887
|
+
exact_timestamp: number | null;
|
|
44888
|
+
id: string;
|
|
44889
|
+
invoice_date: string | null;
|
|
44890
|
+
invoice_number: string | null;
|
|
44891
|
+
order_number: string | null;
|
|
44892
|
+
paid_at: string | null;
|
|
44893
|
+
payment_status: string;
|
|
44894
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
44895
|
+
receivable_synced_at: string | null;
|
|
44896
|
+
status_code: number | null;
|
|
44897
|
+
updated_at: string;
|
|
44898
|
+
};
|
|
44899
|
+
Insert: {
|
|
44900
|
+
account_key?: string;
|
|
44901
|
+
amount_excl?: number | null;
|
|
44902
|
+
amount_incl?: number | null;
|
|
44903
|
+
amount_open?: number | null;
|
|
44904
|
+
created_at?: string;
|
|
44905
|
+
currency?: string | null;
|
|
44906
|
+
customer_code?: string | null;
|
|
44907
|
+
customer_exact_id?: string | null;
|
|
44908
|
+
customer_name?: string | null;
|
|
44909
|
+
description?: string | null;
|
|
44910
|
+
division_code?: number | null;
|
|
44911
|
+
due_date?: string | null;
|
|
44912
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44913
|
+
exact_id: string;
|
|
44914
|
+
exact_modified?: string | null;
|
|
44915
|
+
exact_timestamp?: number | null;
|
|
44916
|
+
id?: string;
|
|
44917
|
+
invoice_date?: string | null;
|
|
44918
|
+
invoice_number?: string | null;
|
|
44919
|
+
order_number?: string | null;
|
|
44920
|
+
paid_at?: string | null;
|
|
44921
|
+
payment_status?: string;
|
|
44922
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44923
|
+
receivable_synced_at?: string | null;
|
|
44924
|
+
status_code?: number | null;
|
|
44925
|
+
updated_at?: string;
|
|
44926
|
+
};
|
|
44927
|
+
Update: {
|
|
44928
|
+
account_key?: string;
|
|
44929
|
+
amount_excl?: number | null;
|
|
44930
|
+
amount_incl?: number | null;
|
|
44931
|
+
amount_open?: number | null;
|
|
44932
|
+
created_at?: string;
|
|
44933
|
+
currency?: string | null;
|
|
44934
|
+
customer_code?: string | null;
|
|
44935
|
+
customer_exact_id?: string | null;
|
|
44936
|
+
customer_name?: string | null;
|
|
44937
|
+
description?: string | null;
|
|
44938
|
+
division_code?: number | null;
|
|
44939
|
+
due_date?: string | null;
|
|
44940
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44941
|
+
exact_id?: string;
|
|
44942
|
+
exact_modified?: string | null;
|
|
44943
|
+
exact_timestamp?: number | null;
|
|
44944
|
+
id?: string;
|
|
44945
|
+
invoice_date?: string | null;
|
|
44946
|
+
invoice_number?: string | null;
|
|
44947
|
+
order_number?: string | null;
|
|
44948
|
+
paid_at?: string | null;
|
|
44949
|
+
payment_status?: string;
|
|
44950
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44951
|
+
receivable_synced_at?: string | null;
|
|
44952
|
+
status_code?: number | null;
|
|
44953
|
+
updated_at?: string;
|
|
44954
|
+
};
|
|
44955
|
+
Relationships: [];
|
|
44956
|
+
};
|
|
44957
|
+
exact_auth_items: {
|
|
44958
|
+
Row: {
|
|
44959
|
+
account_key: string;
|
|
44960
|
+
barcode: string | null;
|
|
44961
|
+
code: string | null;
|
|
44962
|
+
cost_price: number | null;
|
|
44963
|
+
created_at: string;
|
|
44964
|
+
description: string | null;
|
|
44965
|
+
division_code: number | null;
|
|
44966
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44967
|
+
exact_id: string;
|
|
44968
|
+
exact_modified: string | null;
|
|
44969
|
+
exact_timestamp: number | null;
|
|
44970
|
+
gl_account_code: string | null;
|
|
44971
|
+
id: string;
|
|
44972
|
+
is_active: boolean;
|
|
44973
|
+
is_sales_item: boolean | null;
|
|
44974
|
+
item_type: string | null;
|
|
44975
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
44976
|
+
sales_price: number | null;
|
|
44977
|
+
unit: string | null;
|
|
44978
|
+
updated_at: string;
|
|
44979
|
+
vat_code: string | null;
|
|
44980
|
+
};
|
|
44981
|
+
Insert: {
|
|
44982
|
+
account_key?: string;
|
|
44983
|
+
barcode?: string | null;
|
|
44984
|
+
code?: string | null;
|
|
44985
|
+
cost_price?: number | null;
|
|
44986
|
+
created_at?: string;
|
|
44987
|
+
description?: string | null;
|
|
44988
|
+
division_code?: number | null;
|
|
44989
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
44990
|
+
exact_id: string;
|
|
44991
|
+
exact_modified?: string | null;
|
|
44992
|
+
exact_timestamp?: number | null;
|
|
44993
|
+
gl_account_code?: string | null;
|
|
44994
|
+
id?: string;
|
|
44995
|
+
is_active?: boolean;
|
|
44996
|
+
is_sales_item?: boolean | null;
|
|
44997
|
+
item_type?: string | null;
|
|
44998
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
44999
|
+
sales_price?: number | null;
|
|
45000
|
+
unit?: string | null;
|
|
45001
|
+
updated_at?: string;
|
|
45002
|
+
vat_code?: string | null;
|
|
45003
|
+
};
|
|
45004
|
+
Update: {
|
|
45005
|
+
account_key?: string;
|
|
45006
|
+
barcode?: string | null;
|
|
45007
|
+
code?: string | null;
|
|
45008
|
+
cost_price?: number | null;
|
|
45009
|
+
created_at?: string;
|
|
45010
|
+
description?: string | null;
|
|
45011
|
+
division_code?: number | null;
|
|
45012
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
45013
|
+
exact_id?: string;
|
|
45014
|
+
exact_modified?: string | null;
|
|
45015
|
+
exact_timestamp?: number | null;
|
|
45016
|
+
gl_account_code?: string | null;
|
|
45017
|
+
id?: string;
|
|
45018
|
+
is_active?: boolean;
|
|
45019
|
+
is_sales_item?: boolean | null;
|
|
45020
|
+
item_type?: string | null;
|
|
45021
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
45022
|
+
sales_price?: number | null;
|
|
45023
|
+
unit?: string | null;
|
|
45024
|
+
updated_at?: string;
|
|
45025
|
+
vat_code?: string | null;
|
|
45026
|
+
};
|
|
45027
|
+
Relationships: [];
|
|
45028
|
+
};
|
|
45029
|
+
exact_auth_sync_log: {
|
|
45030
|
+
Row: {
|
|
45031
|
+
account_key: string;
|
|
45032
|
+
calls_used: number;
|
|
45033
|
+
created_at: string;
|
|
45034
|
+
domain: string;
|
|
45035
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
45036
|
+
error: string | null;
|
|
45037
|
+
finished_at: string | null;
|
|
45038
|
+
id: string;
|
|
45039
|
+
ok: boolean;
|
|
45040
|
+
records: number;
|
|
45041
|
+
started_at: string;
|
|
45042
|
+
};
|
|
45043
|
+
Insert: {
|
|
45044
|
+
account_key?: string;
|
|
45045
|
+
calls_used?: number;
|
|
45046
|
+
created_at?: string;
|
|
45047
|
+
domain: string;
|
|
45048
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
45049
|
+
error?: string | null;
|
|
45050
|
+
finished_at?: string | null;
|
|
45051
|
+
id?: string;
|
|
45052
|
+
ok?: boolean;
|
|
45053
|
+
records?: number;
|
|
45054
|
+
started_at?: string;
|
|
45055
|
+
};
|
|
45056
|
+
Update: {
|
|
45057
|
+
account_key?: string;
|
|
45058
|
+
calls_used?: number;
|
|
45059
|
+
created_at?: string;
|
|
45060
|
+
domain?: string;
|
|
45061
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
45062
|
+
error?: string | null;
|
|
45063
|
+
finished_at?: string | null;
|
|
45064
|
+
id?: string;
|
|
45065
|
+
ok?: boolean;
|
|
45066
|
+
records?: number;
|
|
45067
|
+
started_at?: string;
|
|
45068
|
+
};
|
|
45069
|
+
Relationships: [];
|
|
45070
|
+
};
|
|
45071
|
+
exact_auth_sync_state: {
|
|
45072
|
+
Row: {
|
|
45073
|
+
account_key: string;
|
|
45074
|
+
created_at: string;
|
|
45075
|
+
cursor_timestamp: number;
|
|
45076
|
+
division_code: number | null;
|
|
45077
|
+
domain: string;
|
|
45078
|
+
duration_ms: number | null;
|
|
45079
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
45080
|
+
initial_sync_done: boolean;
|
|
45081
|
+
last_error: string | null;
|
|
45082
|
+
last_run_at: string | null;
|
|
45083
|
+
last_success_at: string | null;
|
|
45084
|
+
locked_at: string | null;
|
|
45085
|
+
needs_initial_sync: boolean;
|
|
45086
|
+
record_count: number;
|
|
45087
|
+
updated_at: string;
|
|
45088
|
+
};
|
|
45089
|
+
Insert: {
|
|
45090
|
+
account_key?: string;
|
|
45091
|
+
created_at?: string;
|
|
45092
|
+
cursor_timestamp?: number;
|
|
45093
|
+
division_code?: number | null;
|
|
45094
|
+
domain: string;
|
|
45095
|
+
duration_ms?: number | null;
|
|
45096
|
+
environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
45097
|
+
initial_sync_done?: boolean;
|
|
45098
|
+
last_error?: string | null;
|
|
45099
|
+
last_run_at?: string | null;
|
|
45100
|
+
last_success_at?: string | null;
|
|
45101
|
+
locked_at?: string | null;
|
|
45102
|
+
needs_initial_sync?: boolean;
|
|
45103
|
+
record_count?: number;
|
|
45104
|
+
updated_at?: string;
|
|
45105
|
+
};
|
|
45106
|
+
Update: {
|
|
45107
|
+
account_key?: string;
|
|
45108
|
+
created_at?: string;
|
|
45109
|
+
cursor_timestamp?: number;
|
|
45110
|
+
division_code?: number | null;
|
|
45111
|
+
domain?: string;
|
|
45112
|
+
duration_ms?: number | null;
|
|
45113
|
+
environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
|
|
45114
|
+
initial_sync_done?: boolean;
|
|
45115
|
+
last_error?: string | null;
|
|
45116
|
+
last_run_at?: string | null;
|
|
45117
|
+
last_success_at?: string | null;
|
|
45118
|
+
locked_at?: string | null;
|
|
45119
|
+
needs_initial_sync?: boolean;
|
|
45120
|
+
record_count?: number;
|
|
45121
|
+
updated_at?: string;
|
|
45122
|
+
};
|
|
45123
|
+
Relationships: [];
|
|
45124
|
+
};
|
|
43167
45125
|
exact_bulk_operation_items: {
|
|
43168
45126
|
Row: {
|
|
43169
45127
|
attempts: number;
|
|
@@ -44855,12 +46813,17 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
44855
46813
|
attempts: number;
|
|
44856
46814
|
connection_id: string;
|
|
44857
46815
|
created_at: string;
|
|
46816
|
+
desired_available: boolean | null;
|
|
44858
46817
|
gateway_attempt_id: string | null;
|
|
44859
46818
|
id: string;
|
|
44860
46819
|
last_error: string | null;
|
|
46820
|
+
locked_at: string | null;
|
|
46821
|
+
locked_by: string | null;
|
|
46822
|
+
next_attempt_at: string;
|
|
44861
46823
|
number_of_pieces: number;
|
|
44862
46824
|
sent_at: string | null;
|
|
44863
46825
|
status: string;
|
|
46826
|
+
superseded_by: string | null;
|
|
44864
46827
|
trade_item_id: string;
|
|
44865
46828
|
updated_at: string;
|
|
44866
46829
|
user_id: string;
|
|
@@ -44869,12 +46832,17 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
44869
46832
|
attempts?: number;
|
|
44870
46833
|
connection_id: string;
|
|
44871
46834
|
created_at?: string;
|
|
46835
|
+
desired_available?: boolean | null;
|
|
44872
46836
|
gateway_attempt_id?: string | null;
|
|
44873
46837
|
id?: string;
|
|
44874
46838
|
last_error?: string | null;
|
|
46839
|
+
locked_at?: string | null;
|
|
46840
|
+
locked_by?: string | null;
|
|
46841
|
+
next_attempt_at?: string;
|
|
44875
46842
|
number_of_pieces?: number;
|
|
44876
46843
|
sent_at?: string | null;
|
|
44877
46844
|
status?: string;
|
|
46845
|
+
superseded_by?: string | null;
|
|
44878
46846
|
trade_item_id: string;
|
|
44879
46847
|
updated_at?: string;
|
|
44880
46848
|
user_id: string;
|
|
@@ -44883,12 +46851,17 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
44883
46851
|
attempts?: number;
|
|
44884
46852
|
connection_id?: string;
|
|
44885
46853
|
created_at?: string;
|
|
46854
|
+
desired_available?: boolean | null;
|
|
44886
46855
|
gateway_attempt_id?: string | null;
|
|
44887
46856
|
id?: string;
|
|
44888
46857
|
last_error?: string | null;
|
|
46858
|
+
locked_at?: string | null;
|
|
46859
|
+
locked_by?: string | null;
|
|
46860
|
+
next_attempt_at?: string;
|
|
44889
46861
|
number_of_pieces?: number;
|
|
44890
46862
|
sent_at?: string | null;
|
|
44891
46863
|
status?: string;
|
|
46864
|
+
superseded_by?: string | null;
|
|
44892
46865
|
trade_item_id?: string;
|
|
44893
46866
|
updated_at?: string;
|
|
44894
46867
|
user_id?: string;
|
|
@@ -47637,6 +49610,69 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
47637
49610
|
};
|
|
47638
49611
|
Relationships: [];
|
|
47639
49612
|
};
|
|
49613
|
+
logistics_floriday_pushes: {
|
|
49614
|
+
Row: {
|
|
49615
|
+
attempts: number;
|
|
49616
|
+
created_at: string;
|
|
49617
|
+
first_queued_at: string;
|
|
49618
|
+
fulfillment_order_id: string | null;
|
|
49619
|
+
id: string;
|
|
49620
|
+
last_error: string | null;
|
|
49621
|
+
last_error_at: string | null;
|
|
49622
|
+
last_sent_hash: string | null;
|
|
49623
|
+
locked_by: string | null;
|
|
49624
|
+
locked_until: string | null;
|
|
49625
|
+
next_attempt_at: string;
|
|
49626
|
+
order_ref: string;
|
|
49627
|
+
payload: import("../integrations/supabase/types").Json;
|
|
49628
|
+
payload_hash: string | null;
|
|
49629
|
+
revision: number;
|
|
49630
|
+
sent_at: string | null;
|
|
49631
|
+
status: string;
|
|
49632
|
+
updated_at: string;
|
|
49633
|
+
};
|
|
49634
|
+
Insert: {
|
|
49635
|
+
attempts?: number;
|
|
49636
|
+
created_at?: string;
|
|
49637
|
+
first_queued_at?: string;
|
|
49638
|
+
fulfillment_order_id?: string | null;
|
|
49639
|
+
id?: string;
|
|
49640
|
+
last_error?: string | null;
|
|
49641
|
+
last_error_at?: string | null;
|
|
49642
|
+
last_sent_hash?: string | null;
|
|
49643
|
+
locked_by?: string | null;
|
|
49644
|
+
locked_until?: string | null;
|
|
49645
|
+
next_attempt_at?: string;
|
|
49646
|
+
order_ref: string;
|
|
49647
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
49648
|
+
payload_hash?: string | null;
|
|
49649
|
+
revision?: number;
|
|
49650
|
+
sent_at?: string | null;
|
|
49651
|
+
status?: string;
|
|
49652
|
+
updated_at?: string;
|
|
49653
|
+
};
|
|
49654
|
+
Update: {
|
|
49655
|
+
attempts?: number;
|
|
49656
|
+
created_at?: string;
|
|
49657
|
+
first_queued_at?: string;
|
|
49658
|
+
fulfillment_order_id?: string | null;
|
|
49659
|
+
id?: string;
|
|
49660
|
+
last_error?: string | null;
|
|
49661
|
+
last_error_at?: string | null;
|
|
49662
|
+
last_sent_hash?: string | null;
|
|
49663
|
+
locked_by?: string | null;
|
|
49664
|
+
locked_until?: string | null;
|
|
49665
|
+
next_attempt_at?: string;
|
|
49666
|
+
order_ref?: string;
|
|
49667
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
49668
|
+
payload_hash?: string | null;
|
|
49669
|
+
revision?: number;
|
|
49670
|
+
sent_at?: string | null;
|
|
49671
|
+
status?: string;
|
|
49672
|
+
updated_at?: string;
|
|
49673
|
+
};
|
|
49674
|
+
Relationships: [];
|
|
49675
|
+
};
|
|
47640
49676
|
logistics_formulas: {
|
|
47641
49677
|
Row: {
|
|
47642
49678
|
created_at: string;
|
|
@@ -48248,6 +50284,8 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
48248
50284
|
};
|
|
48249
50285
|
logistics_tasks: {
|
|
48250
50286
|
Row: {
|
|
50287
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
50288
|
+
attempts: number;
|
|
48251
50289
|
buffer_ref: string | null;
|
|
48252
50290
|
claimed_at: string | null;
|
|
48253
50291
|
claimed_by: string | null;
|
|
@@ -48257,6 +50295,8 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
48257
50295
|
due_at: string | null;
|
|
48258
50296
|
error: string | null;
|
|
48259
50297
|
id: string;
|
|
50298
|
+
last_error: string | null;
|
|
50299
|
+
next_attempt_at: string | null;
|
|
48260
50300
|
order_ref: string;
|
|
48261
50301
|
owner_module: string;
|
|
48262
50302
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -48277,6 +50317,8 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
48277
50317
|
user_id: string;
|
|
48278
50318
|
};
|
|
48279
50319
|
Insert: {
|
|
50320
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
50321
|
+
attempts?: number;
|
|
48280
50322
|
buffer_ref?: string | null;
|
|
48281
50323
|
claimed_at?: string | null;
|
|
48282
50324
|
claimed_by?: string | null;
|
|
@@ -48286,6 +50328,8 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
48286
50328
|
due_at?: string | null;
|
|
48287
50329
|
error?: string | null;
|
|
48288
50330
|
id?: string;
|
|
50331
|
+
last_error?: string | null;
|
|
50332
|
+
next_attempt_at?: string | null;
|
|
48289
50333
|
order_ref: string;
|
|
48290
50334
|
owner_module: string;
|
|
48291
50335
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -48306,6 +50350,8 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
48306
50350
|
user_id?: string;
|
|
48307
50351
|
};
|
|
48308
50352
|
Update: {
|
|
50353
|
+
attempt_log?: import("../integrations/supabase/types").Json;
|
|
50354
|
+
attempts?: number;
|
|
48309
50355
|
buffer_ref?: string | null;
|
|
48310
50356
|
claimed_at?: string | null;
|
|
48311
50357
|
claimed_by?: string | null;
|
|
@@ -48315,6 +50361,8 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
48315
50361
|
due_at?: string | null;
|
|
48316
50362
|
error?: string | null;
|
|
48317
50363
|
id?: string;
|
|
50364
|
+
last_error?: string | null;
|
|
50365
|
+
next_attempt_at?: string | null;
|
|
48318
50366
|
order_ref?: string;
|
|
48319
50367
|
owner_module?: string;
|
|
48320
50368
|
payload?: import("../integrations/supabase/types").Json;
|
|
@@ -49664,6 +51712,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
49664
51712
|
};
|
|
49665
51713
|
offer_settings: {
|
|
49666
51714
|
Row: {
|
|
51715
|
+
brand_name: string | null;
|
|
49667
51716
|
button_color: string;
|
|
49668
51717
|
created_at: string;
|
|
49669
51718
|
default_countries: string[];
|
|
@@ -49685,6 +51734,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
49685
51734
|
updated_at: string;
|
|
49686
51735
|
};
|
|
49687
51736
|
Insert: {
|
|
51737
|
+
brand_name?: string | null;
|
|
49688
51738
|
button_color?: string;
|
|
49689
51739
|
created_at?: string;
|
|
49690
51740
|
default_countries?: string[];
|
|
@@ -49706,6 +51756,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
49706
51756
|
updated_at?: string;
|
|
49707
51757
|
};
|
|
49708
51758
|
Update: {
|
|
51759
|
+
brand_name?: string | null;
|
|
49709
51760
|
button_color?: string;
|
|
49710
51761
|
created_at?: string;
|
|
49711
51762
|
default_countries?: string[];
|
|
@@ -57316,6 +59367,85 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
57316
59367
|
};
|
|
57317
59368
|
Returns: import("../integrations/supabase/types").Json;
|
|
57318
59369
|
};
|
|
59370
|
+
claim_floriday_stock_queue: {
|
|
59371
|
+
Args: {
|
|
59372
|
+
p_limit?: number;
|
|
59373
|
+
p_worker?: string;
|
|
59374
|
+
};
|
|
59375
|
+
Returns: {
|
|
59376
|
+
attempts: number;
|
|
59377
|
+
connection_id: string;
|
|
59378
|
+
created_at: string;
|
|
59379
|
+
desired_available: boolean | null;
|
|
59380
|
+
gateway_attempt_id: string | null;
|
|
59381
|
+
id: string;
|
|
59382
|
+
last_error: string | null;
|
|
59383
|
+
locked_at: string | null;
|
|
59384
|
+
locked_by: string | null;
|
|
59385
|
+
next_attempt_at: string;
|
|
59386
|
+
number_of_pieces: number;
|
|
59387
|
+
sent_at: string | null;
|
|
59388
|
+
status: string;
|
|
59389
|
+
superseded_by: string | null;
|
|
59390
|
+
trade_item_id: string;
|
|
59391
|
+
updated_at: string;
|
|
59392
|
+
user_id: string;
|
|
59393
|
+
}[];
|
|
59394
|
+
SetofOptions: {
|
|
59395
|
+
from: "*";
|
|
59396
|
+
to: "floriday_continuous_stock_queue";
|
|
59397
|
+
isOneToOne: false;
|
|
59398
|
+
isSetofReturn: true;
|
|
59399
|
+
};
|
|
59400
|
+
};
|
|
59401
|
+
claim_logistics_tasks: {
|
|
59402
|
+
Args: {
|
|
59403
|
+
_limit?: number;
|
|
59404
|
+
_owner_module: string;
|
|
59405
|
+
_stale_minutes?: number;
|
|
59406
|
+
_task_type: string;
|
|
59407
|
+
_worker: string;
|
|
59408
|
+
};
|
|
59409
|
+
Returns: {
|
|
59410
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
59411
|
+
attempts: number;
|
|
59412
|
+
buffer_ref: string | null;
|
|
59413
|
+
claimed_at: string | null;
|
|
59414
|
+
claimed_by: string | null;
|
|
59415
|
+
completed_at: string | null;
|
|
59416
|
+
created_at: string;
|
|
59417
|
+
depends_on: string[];
|
|
59418
|
+
due_at: string | null;
|
|
59419
|
+
error: string | null;
|
|
59420
|
+
id: string;
|
|
59421
|
+
last_error: string | null;
|
|
59422
|
+
next_attempt_at: string | null;
|
|
59423
|
+
order_ref: string;
|
|
59424
|
+
owner_module: string;
|
|
59425
|
+
payload: import("../integrations/supabase/types").Json;
|
|
59426
|
+
plan_run_id: string | null;
|
|
59427
|
+
planned_end: string | null;
|
|
59428
|
+
planned_start: string | null;
|
|
59429
|
+
priority: number;
|
|
59430
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
59431
|
+
rule_config_id: string | null;
|
|
59432
|
+
rule_version: number | null;
|
|
59433
|
+
sequence: number;
|
|
59434
|
+
shadow: boolean;
|
|
59435
|
+
started_at: string | null;
|
|
59436
|
+
status: string;
|
|
59437
|
+
strategy_id: string | null;
|
|
59438
|
+
task_type: string;
|
|
59439
|
+
updated_at: string;
|
|
59440
|
+
user_id: string;
|
|
59441
|
+
}[];
|
|
59442
|
+
SetofOptions: {
|
|
59443
|
+
from: "*";
|
|
59444
|
+
to: "logistics_tasks";
|
|
59445
|
+
isOneToOne: false;
|
|
59446
|
+
isSetofReturn: true;
|
|
59447
|
+
};
|
|
59448
|
+
};
|
|
57319
59449
|
claim_print_jobs: {
|
|
57320
59450
|
Args: {
|
|
57321
59451
|
_agent_id: string;
|
|
@@ -57380,10 +59510,24 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
57380
59510
|
isSetofReturn: true;
|
|
57381
59511
|
};
|
|
57382
59512
|
};
|
|
59513
|
+
cleanup_floriday_stock_queue: {
|
|
59514
|
+
Args: never;
|
|
59515
|
+
Returns: undefined;
|
|
59516
|
+
};
|
|
57383
59517
|
cleanup_old_bookings: {
|
|
57384
59518
|
Args: never;
|
|
57385
59519
|
Returns: undefined;
|
|
57386
59520
|
};
|
|
59521
|
+
complete_floriday_stock_queue: {
|
|
59522
|
+
Args: {
|
|
59523
|
+
p_attempt_id?: string;
|
|
59524
|
+
p_error?: string;
|
|
59525
|
+
p_id: string;
|
|
59526
|
+
p_ok: boolean;
|
|
59527
|
+
p_permanent?: boolean;
|
|
59528
|
+
};
|
|
59529
|
+
Returns: undefined;
|
|
59530
|
+
};
|
|
57387
59531
|
consume_bom_for_production: {
|
|
57388
59532
|
Args: {
|
|
57389
59533
|
p_connection_id: string;
|
|
@@ -57556,6 +59700,21 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
57556
59700
|
Args: never;
|
|
57557
59701
|
Returns: string;
|
|
57558
59702
|
};
|
|
59703
|
+
exact_auth_consume_calls: {
|
|
59704
|
+
Args: {
|
|
59705
|
+
_account_key: string;
|
|
59706
|
+
_calls?: number;
|
|
59707
|
+
_day_limit?: number;
|
|
59708
|
+
_division_code: number;
|
|
59709
|
+
_environment: string;
|
|
59710
|
+
_minute_limit?: number;
|
|
59711
|
+
};
|
|
59712
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59713
|
+
};
|
|
59714
|
+
exact_auth_prune_sync_log: {
|
|
59715
|
+
Args: never;
|
|
59716
|
+
Returns: undefined;
|
|
59717
|
+
};
|
|
57559
59718
|
exact_decrypt: {
|
|
57560
59719
|
Args: {
|
|
57561
59720
|
cipher: string;
|
|
@@ -57765,6 +59924,10 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
57765
59924
|
};
|
|
57766
59925
|
Returns: number;
|
|
57767
59926
|
};
|
|
59927
|
+
get_offer_branding: {
|
|
59928
|
+
Args: never;
|
|
59929
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59930
|
+
};
|
|
57768
59931
|
get_offer_by_link_code: {
|
|
57769
59932
|
Args: {
|
|
57770
59933
|
p_code: string;
|
|
@@ -58056,6 +60219,8 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
58056
60219
|
p_worker?: string;
|
|
58057
60220
|
};
|
|
58058
60221
|
Returns: {
|
|
60222
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
60223
|
+
attempts: number;
|
|
58059
60224
|
buffer_ref: string | null;
|
|
58060
60225
|
claimed_at: string | null;
|
|
58061
60226
|
claimed_by: string | null;
|
|
@@ -58065,6 +60230,8 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
58065
60230
|
due_at: string | null;
|
|
58066
60231
|
error: string | null;
|
|
58067
60232
|
id: string;
|
|
60233
|
+
last_error: string | null;
|
|
60234
|
+
next_attempt_at: string | null;
|
|
58068
60235
|
order_ref: string;
|
|
58069
60236
|
owner_module: string;
|
|
58070
60237
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -58097,6 +60264,8 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
58097
60264
|
p_worker?: string;
|
|
58098
60265
|
};
|
|
58099
60266
|
Returns: {
|
|
60267
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
60268
|
+
attempts: number;
|
|
58100
60269
|
buffer_ref: string | null;
|
|
58101
60270
|
claimed_at: string | null;
|
|
58102
60271
|
claimed_by: string | null;
|
|
@@ -58106,6 +60275,8 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
58106
60275
|
due_at: string | null;
|
|
58107
60276
|
error: string | null;
|
|
58108
60277
|
id: string;
|
|
60278
|
+
last_error: string | null;
|
|
60279
|
+
next_attempt_at: string | null;
|
|
58109
60280
|
order_ref: string;
|
|
58110
60281
|
owner_module: string;
|
|
58111
60282
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -58138,6 +60309,8 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
58138
60309
|
p_task_id: string;
|
|
58139
60310
|
};
|
|
58140
60311
|
Returns: {
|
|
60312
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
60313
|
+
attempts: number;
|
|
58141
60314
|
buffer_ref: string | null;
|
|
58142
60315
|
claimed_at: string | null;
|
|
58143
60316
|
claimed_by: string | null;
|
|
@@ -58147,6 +60320,8 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
58147
60320
|
due_at: string | null;
|
|
58148
60321
|
error: string | null;
|
|
58149
60322
|
id: string;
|
|
60323
|
+
last_error: string | null;
|
|
60324
|
+
next_attempt_at: string | null;
|
|
58150
60325
|
order_ref: string;
|
|
58151
60326
|
owner_module: string;
|
|
58152
60327
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -58228,6 +60403,8 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
58228
60403
|
p_task_id: string;
|
|
58229
60404
|
};
|
|
58230
60405
|
Returns: {
|
|
60406
|
+
attempt_log: import("../integrations/supabase/types").Json;
|
|
60407
|
+
attempts: number;
|
|
58231
60408
|
buffer_ref: string | null;
|
|
58232
60409
|
claimed_at: string | null;
|
|
58233
60410
|
claimed_by: string | null;
|
|
@@ -58237,6 +60414,8 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
58237
60414
|
due_at: string | null;
|
|
58238
60415
|
error: string | null;
|
|
58239
60416
|
id: string;
|
|
60417
|
+
last_error: string | null;
|
|
60418
|
+
next_attempt_at: string | null;
|
|
58240
60419
|
order_ref: string;
|
|
58241
60420
|
owner_module: string;
|
|
58242
60421
|
payload: import("../integrations/supabase/types").Json;
|
|
@@ -58263,6 +60442,51 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
58263
60442
|
isSetofReturn: false;
|
|
58264
60443
|
};
|
|
58265
60444
|
};
|
|
60445
|
+
logistics_floriday_claim_pushes: {
|
|
60446
|
+
Args: {
|
|
60447
|
+
_lease_seconds?: number;
|
|
60448
|
+
_limit?: number;
|
|
60449
|
+
_worker?: string;
|
|
60450
|
+
};
|
|
60451
|
+
Returns: {
|
|
60452
|
+
attempts: number;
|
|
60453
|
+
fulfillment_order_id: string;
|
|
60454
|
+
id: string;
|
|
60455
|
+
last_sent_hash: string;
|
|
60456
|
+
order_ref: string;
|
|
60457
|
+
payload: import("../integrations/supabase/types").Json;
|
|
60458
|
+
payload_hash: string;
|
|
60459
|
+
revision: number;
|
|
60460
|
+
}[];
|
|
60461
|
+
};
|
|
60462
|
+
logistics_floriday_finish_push: {
|
|
60463
|
+
Args: {
|
|
60464
|
+
_error?: string;
|
|
60465
|
+
_fulfillment_order_id?: string;
|
|
60466
|
+
_id: string;
|
|
60467
|
+
_max_age_hours?: number;
|
|
60468
|
+
_max_attempts?: number;
|
|
60469
|
+
_ok: boolean;
|
|
60470
|
+
_permanent?: boolean;
|
|
60471
|
+
_revision: number;
|
|
60472
|
+
_sent_hash?: string;
|
|
60473
|
+
};
|
|
60474
|
+
Returns: string;
|
|
60475
|
+
};
|
|
60476
|
+
logistics_floriday_prune_pushes: {
|
|
60477
|
+
Args: {
|
|
60478
|
+
_days?: number;
|
|
60479
|
+
};
|
|
60480
|
+
Returns: number;
|
|
60481
|
+
};
|
|
60482
|
+
logistics_floriday_queue_push: {
|
|
60483
|
+
Args: {
|
|
60484
|
+
_order_ref: string;
|
|
60485
|
+
_payload?: import("../integrations/supabase/types").Json;
|
|
60486
|
+
_payload_hash?: string;
|
|
60487
|
+
};
|
|
60488
|
+
Returns: string;
|
|
60489
|
+
};
|
|
58266
60490
|
logistics_live_carriers: {
|
|
58267
60491
|
Args: {
|
|
58268
60492
|
p_order_ref: string;
|
|
@@ -58990,6 +61214,10 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
58990
61214
|
Args: never;
|
|
58991
61215
|
Returns: undefined;
|
|
58992
61216
|
};
|
|
61217
|
+
run_logistics_tasks_dispatch: {
|
|
61218
|
+
Args: never;
|
|
61219
|
+
Returns: undefined;
|
|
61220
|
+
};
|
|
58993
61221
|
run_twinfield_queue_tick: {
|
|
58994
61222
|
Args: never;
|
|
58995
61223
|
Returns: undefined;
|
|
@@ -59230,6 +61458,13 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
59230
61458
|
};
|
|
59231
61459
|
Returns: number;
|
|
59232
61460
|
};
|
|
61461
|
+
schedule_floriday_stock_queue_process: {
|
|
61462
|
+
Args: {
|
|
61463
|
+
p_apikey: string;
|
|
61464
|
+
p_url: string;
|
|
61465
|
+
};
|
|
61466
|
+
Returns: number;
|
|
61467
|
+
};
|
|
59233
61468
|
schedule_floriday_token_refresh: {
|
|
59234
61469
|
Args: {
|
|
59235
61470
|
p_apikey: string;
|