@flowselections/floriday-verkoop-module 1.0.41 → 1.0.42
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/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
- package/dist-lib/components/verkoop/VerkoopOrdersPage.js +50 -15
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +847 -150
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +847 -150
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +847 -150
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +855 -153
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/cart-lock.functions.d.ts +847 -150
- package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-planning-settings.functions.d.ts +8943 -1276
- package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.d.ts +2439 -348
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.d.ts +33856 -1741
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.js +30 -0
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +2439 -348
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +847 -150
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.d.ts +847 -150
- package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +5691 -812
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +4065 -580
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/invoice-timing.functions.d.ts +3252 -464
- package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
- package/dist-lib/lib/load-carriers.functions.d.ts +847 -150
- package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-engine.functions.d.ts +4065 -580
- package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-stock.functions.d.ts +1626 -232
- package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-addresses.functions.d.ts +847 -150
- package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-buffers.functions.d.ts +2439 -348
- package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-carrier.functions.d.ts +1626 -232
- package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-pickup.functions.d.ts +1626 -232
- package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-shipments.functions.d.ts +3252 -464
- package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.functions.d.ts +847 -150
- package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-mapping.d.ts +6 -0
- package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-mapping.js +17 -0
- package/dist-lib/lib/salesorders.functions.d.ts +4065 -580
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/tradeitems.functions.d.ts +847 -150
- package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -876,6 +876,126 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
876
876
|
};
|
|
877
877
|
Relationships: [];
|
|
878
878
|
};
|
|
879
|
+
cao_holidays: {
|
|
880
|
+
Row: {
|
|
881
|
+
created_at: string;
|
|
882
|
+
description: string | null;
|
|
883
|
+
holiday_date: string;
|
|
884
|
+
id: string;
|
|
885
|
+
updated_at: string;
|
|
886
|
+
};
|
|
887
|
+
Insert: {
|
|
888
|
+
created_at?: string;
|
|
889
|
+
description?: string | null;
|
|
890
|
+
holiday_date: string;
|
|
891
|
+
id?: string;
|
|
892
|
+
updated_at?: string;
|
|
893
|
+
};
|
|
894
|
+
Update: {
|
|
895
|
+
created_at?: string;
|
|
896
|
+
description?: string | null;
|
|
897
|
+
holiday_date?: string;
|
|
898
|
+
id?: string;
|
|
899
|
+
updated_at?: string;
|
|
900
|
+
};
|
|
901
|
+
Relationships: [];
|
|
902
|
+
};
|
|
903
|
+
cao_settings: {
|
|
904
|
+
Row: {
|
|
905
|
+
auto_break_after_hours: number;
|
|
906
|
+
auto_break_minutes: number;
|
|
907
|
+
auto_break_unpaid: boolean;
|
|
908
|
+
auto_stop_after_hours: number;
|
|
909
|
+
callout_fee: number;
|
|
910
|
+
created_at: string;
|
|
911
|
+
daily_regular_hours: number;
|
|
912
|
+
default_hourly_rate: number;
|
|
913
|
+
id: string;
|
|
914
|
+
materials_markup_percent: number;
|
|
915
|
+
max_daily_hours: number;
|
|
916
|
+
max_weekly_hours: number;
|
|
917
|
+
meal_allowance_amount: number;
|
|
918
|
+
overtime_pct_178: number;
|
|
919
|
+
overtime_pct_189: number;
|
|
920
|
+
overtime_pct_212: number;
|
|
921
|
+
reminder_after_hours: number;
|
|
922
|
+
standby_evening_amount: number;
|
|
923
|
+
standby_weekend_amount: number;
|
|
924
|
+
travel_cost_per_km: number | null;
|
|
925
|
+
travel_cost_threshold_km: number | null;
|
|
926
|
+
travel_counts_as_work: boolean;
|
|
927
|
+
travel_hourly_rate: number;
|
|
928
|
+
travel_rate_per_hour: number;
|
|
929
|
+
travel_threshold_minutes: number;
|
|
930
|
+
updated_at: string;
|
|
931
|
+
weekend_always_212: boolean;
|
|
932
|
+
window_end: string;
|
|
933
|
+
window_start: string;
|
|
934
|
+
};
|
|
935
|
+
Insert: {
|
|
936
|
+
auto_break_after_hours?: number;
|
|
937
|
+
auto_break_minutes?: number;
|
|
938
|
+
auto_break_unpaid?: boolean;
|
|
939
|
+
auto_stop_after_hours?: number;
|
|
940
|
+
callout_fee?: number;
|
|
941
|
+
created_at?: string;
|
|
942
|
+
daily_regular_hours?: number;
|
|
943
|
+
default_hourly_rate?: number;
|
|
944
|
+
id?: string;
|
|
945
|
+
materials_markup_percent?: number;
|
|
946
|
+
max_daily_hours?: number;
|
|
947
|
+
max_weekly_hours?: number;
|
|
948
|
+
meal_allowance_amount?: number;
|
|
949
|
+
overtime_pct_178?: number;
|
|
950
|
+
overtime_pct_189?: number;
|
|
951
|
+
overtime_pct_212?: number;
|
|
952
|
+
reminder_after_hours?: number;
|
|
953
|
+
standby_evening_amount?: number;
|
|
954
|
+
standby_weekend_amount?: number;
|
|
955
|
+
travel_cost_per_km?: number | null;
|
|
956
|
+
travel_cost_threshold_km?: number | null;
|
|
957
|
+
travel_counts_as_work?: boolean;
|
|
958
|
+
travel_hourly_rate?: number;
|
|
959
|
+
travel_rate_per_hour?: number;
|
|
960
|
+
travel_threshold_minutes?: number;
|
|
961
|
+
updated_at?: string;
|
|
962
|
+
weekend_always_212?: boolean;
|
|
963
|
+
window_end?: string;
|
|
964
|
+
window_start?: string;
|
|
965
|
+
};
|
|
966
|
+
Update: {
|
|
967
|
+
auto_break_after_hours?: number;
|
|
968
|
+
auto_break_minutes?: number;
|
|
969
|
+
auto_break_unpaid?: boolean;
|
|
970
|
+
auto_stop_after_hours?: number;
|
|
971
|
+
callout_fee?: number;
|
|
972
|
+
created_at?: string;
|
|
973
|
+
daily_regular_hours?: number;
|
|
974
|
+
default_hourly_rate?: number;
|
|
975
|
+
id?: string;
|
|
976
|
+
materials_markup_percent?: number;
|
|
977
|
+
max_daily_hours?: number;
|
|
978
|
+
max_weekly_hours?: number;
|
|
979
|
+
meal_allowance_amount?: number;
|
|
980
|
+
overtime_pct_178?: number;
|
|
981
|
+
overtime_pct_189?: number;
|
|
982
|
+
overtime_pct_212?: number;
|
|
983
|
+
reminder_after_hours?: number;
|
|
984
|
+
standby_evening_amount?: number;
|
|
985
|
+
standby_weekend_amount?: number;
|
|
986
|
+
travel_cost_per_km?: number | null;
|
|
987
|
+
travel_cost_threshold_km?: number | null;
|
|
988
|
+
travel_counts_as_work?: boolean;
|
|
989
|
+
travel_hourly_rate?: number;
|
|
990
|
+
travel_rate_per_hour?: number;
|
|
991
|
+
travel_threshold_minutes?: number;
|
|
992
|
+
updated_at?: string;
|
|
993
|
+
weekend_always_212?: boolean;
|
|
994
|
+
window_end?: string;
|
|
995
|
+
window_start?: string;
|
|
996
|
+
};
|
|
997
|
+
Relationships: [];
|
|
998
|
+
};
|
|
879
999
|
carrier_shipping_rates: {
|
|
880
1000
|
Row: {
|
|
881
1001
|
carrier_id: string;
|
|
@@ -7770,7 +7890,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7770
7890
|
start_date: string;
|
|
7771
7891
|
start_time: string | null;
|
|
7772
7892
|
status: string;
|
|
7773
|
-
tenant_id: string;
|
|
7774
7893
|
updated_at: string;
|
|
7775
7894
|
user_id: string;
|
|
7776
7895
|
};
|
|
@@ -7788,7 +7907,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7788
7907
|
start_date: string;
|
|
7789
7908
|
start_time?: string | null;
|
|
7790
7909
|
status?: string;
|
|
7791
|
-
tenant_id?: string;
|
|
7792
7910
|
updated_at?: string;
|
|
7793
7911
|
user_id: string;
|
|
7794
7912
|
};
|
|
@@ -7806,7 +7924,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7806
7924
|
start_date?: string;
|
|
7807
7925
|
start_time?: string | null;
|
|
7808
7926
|
status?: string;
|
|
7809
|
-
tenant_id?: string;
|
|
7810
7927
|
updated_at?: string;
|
|
7811
7928
|
user_id?: string;
|
|
7812
7929
|
};
|
|
@@ -7814,13 +7931,13 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
7814
7931
|
foreignKeyName: "leave_requests_monteur_id_fkey";
|
|
7815
7932
|
columns: ["monteur_id"];
|
|
7816
7933
|
isOneToOne: false;
|
|
7817
|
-
referencedRelation: "
|
|
7934
|
+
referencedRelation: "profiles";
|
|
7818
7935
|
referencedColumns: ["id"];
|
|
7819
7936
|
}, {
|
|
7820
7937
|
foreignKeyName: "leave_requests_user_id_fkey";
|
|
7821
7938
|
columns: ["user_id"];
|
|
7822
7939
|
isOneToOne: false;
|
|
7823
|
-
referencedRelation: "
|
|
7940
|
+
referencedRelation: "profiles";
|
|
7824
7941
|
referencedColumns: ["id"];
|
|
7825
7942
|
}];
|
|
7826
7943
|
};
|
|
@@ -8688,6 +8805,45 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
8688
8805
|
};
|
|
8689
8806
|
Relationships: [];
|
|
8690
8807
|
};
|
|
8808
|
+
logistics_plan_queue: {
|
|
8809
|
+
Row: {
|
|
8810
|
+
attempts: number;
|
|
8811
|
+
claimed_at: string | null;
|
|
8812
|
+
enqueued_at: string;
|
|
8813
|
+
error: string | null;
|
|
8814
|
+
id: string;
|
|
8815
|
+
next_attempt_at: string;
|
|
8816
|
+
order_id: string;
|
|
8817
|
+
reason: string;
|
|
8818
|
+
status: string;
|
|
8819
|
+
updated_at: string;
|
|
8820
|
+
};
|
|
8821
|
+
Insert: {
|
|
8822
|
+
attempts?: number;
|
|
8823
|
+
claimed_at?: string | null;
|
|
8824
|
+
enqueued_at?: string;
|
|
8825
|
+
error?: string | null;
|
|
8826
|
+
id?: string;
|
|
8827
|
+
next_attempt_at?: string;
|
|
8828
|
+
order_id: string;
|
|
8829
|
+
reason?: string;
|
|
8830
|
+
status?: string;
|
|
8831
|
+
updated_at?: string;
|
|
8832
|
+
};
|
|
8833
|
+
Update: {
|
|
8834
|
+
attempts?: number;
|
|
8835
|
+
claimed_at?: string | null;
|
|
8836
|
+
enqueued_at?: string;
|
|
8837
|
+
error?: string | null;
|
|
8838
|
+
id?: string;
|
|
8839
|
+
next_attempt_at?: string;
|
|
8840
|
+
order_id?: string;
|
|
8841
|
+
reason?: string;
|
|
8842
|
+
status?: string;
|
|
8843
|
+
updated_at?: string;
|
|
8844
|
+
};
|
|
8845
|
+
Relationships: [];
|
|
8846
|
+
};
|
|
8691
8847
|
logistics_plan_runs: {
|
|
8692
8848
|
Row: {
|
|
8693
8849
|
created_at: string;
|
|
@@ -8763,6 +8919,24 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
8763
8919
|
referencedColumns: ["id"];
|
|
8764
8920
|
}];
|
|
8765
8921
|
};
|
|
8922
|
+
logistics_plan_settings: {
|
|
8923
|
+
Row: {
|
|
8924
|
+
key: string;
|
|
8925
|
+
updated_at: string;
|
|
8926
|
+
value: string;
|
|
8927
|
+
};
|
|
8928
|
+
Insert: {
|
|
8929
|
+
key: string;
|
|
8930
|
+
updated_at?: string;
|
|
8931
|
+
value: string;
|
|
8932
|
+
};
|
|
8933
|
+
Update: {
|
|
8934
|
+
key?: string;
|
|
8935
|
+
updated_at?: string;
|
|
8936
|
+
value?: string;
|
|
8937
|
+
};
|
|
8938
|
+
Relationships: [];
|
|
8939
|
+
};
|
|
8766
8940
|
logistics_rebuffer_state: {
|
|
8767
8941
|
Row: {
|
|
8768
8942
|
created_at: string;
|
|
@@ -9918,6 +10092,90 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
9918
10092
|
};
|
|
9919
10093
|
Relationships: [];
|
|
9920
10094
|
};
|
|
10095
|
+
material_usage: {
|
|
10096
|
+
Row: {
|
|
10097
|
+
created_at: string;
|
|
10098
|
+
id: string;
|
|
10099
|
+
material_name: string;
|
|
10100
|
+
monteur_id: string | null;
|
|
10101
|
+
price_at_time: number;
|
|
10102
|
+
quantity_used: number;
|
|
10103
|
+
updated_at: string;
|
|
10104
|
+
van_inventory_id: string | null;
|
|
10105
|
+
work_order_id: string;
|
|
10106
|
+
};
|
|
10107
|
+
Insert: {
|
|
10108
|
+
created_at?: string;
|
|
10109
|
+
id?: string;
|
|
10110
|
+
material_name: string;
|
|
10111
|
+
monteur_id?: string | null;
|
|
10112
|
+
price_at_time?: number;
|
|
10113
|
+
quantity_used?: number;
|
|
10114
|
+
updated_at?: string;
|
|
10115
|
+
van_inventory_id?: string | null;
|
|
10116
|
+
work_order_id: string;
|
|
10117
|
+
};
|
|
10118
|
+
Update: {
|
|
10119
|
+
created_at?: string;
|
|
10120
|
+
id?: string;
|
|
10121
|
+
material_name?: string;
|
|
10122
|
+
monteur_id?: string | null;
|
|
10123
|
+
price_at_time?: number;
|
|
10124
|
+
quantity_used?: number;
|
|
10125
|
+
updated_at?: string;
|
|
10126
|
+
van_inventory_id?: string | null;
|
|
10127
|
+
work_order_id?: string;
|
|
10128
|
+
};
|
|
10129
|
+
Relationships: [{
|
|
10130
|
+
foreignKeyName: "material_usage_monteur_id_fkey";
|
|
10131
|
+
columns: ["monteur_id"];
|
|
10132
|
+
isOneToOne: false;
|
|
10133
|
+
referencedRelation: "profiles";
|
|
10134
|
+
referencedColumns: ["id"];
|
|
10135
|
+
}, {
|
|
10136
|
+
foreignKeyName: "material_usage_van_inventory_id_fkey";
|
|
10137
|
+
columns: ["van_inventory_id"];
|
|
10138
|
+
isOneToOne: false;
|
|
10139
|
+
referencedRelation: "van_inventories";
|
|
10140
|
+
referencedColumns: ["id"];
|
|
10141
|
+
}, {
|
|
10142
|
+
foreignKeyName: "material_usage_work_order_id_fkey";
|
|
10143
|
+
columns: ["work_order_id"];
|
|
10144
|
+
isOneToOne: false;
|
|
10145
|
+
referencedRelation: "work_orders";
|
|
10146
|
+
referencedColumns: ["id"];
|
|
10147
|
+
}];
|
|
10148
|
+
};
|
|
10149
|
+
module_features: {
|
|
10150
|
+
Row: {
|
|
10151
|
+
created_at: string;
|
|
10152
|
+
feature_id: string;
|
|
10153
|
+
id: string;
|
|
10154
|
+
is_active: boolean;
|
|
10155
|
+
last_seen_at: string;
|
|
10156
|
+
module_id: string;
|
|
10157
|
+
name: string;
|
|
10158
|
+
};
|
|
10159
|
+
Insert: {
|
|
10160
|
+
created_at?: string;
|
|
10161
|
+
feature_id: string;
|
|
10162
|
+
id?: string;
|
|
10163
|
+
is_active?: boolean;
|
|
10164
|
+
last_seen_at?: string;
|
|
10165
|
+
module_id: string;
|
|
10166
|
+
name: string;
|
|
10167
|
+
};
|
|
10168
|
+
Update: {
|
|
10169
|
+
created_at?: string;
|
|
10170
|
+
feature_id?: string;
|
|
10171
|
+
id?: string;
|
|
10172
|
+
is_active?: boolean;
|
|
10173
|
+
last_seen_at?: string;
|
|
10174
|
+
module_id?: string;
|
|
10175
|
+
name?: string;
|
|
10176
|
+
};
|
|
10177
|
+
Relationships: [];
|
|
10178
|
+
};
|
|
9921
10179
|
module_permissions: {
|
|
9922
10180
|
Row: {
|
|
9923
10181
|
created_at: string;
|
|
@@ -9948,6 +10206,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
9948
10206
|
module_registry: {
|
|
9949
10207
|
Row: {
|
|
9950
10208
|
created_at: string;
|
|
10209
|
+
enforce: boolean;
|
|
9951
10210
|
is_active: boolean;
|
|
9952
10211
|
last_seen_at: string;
|
|
9953
10212
|
module_id: string;
|
|
@@ -9957,6 +10216,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
9957
10216
|
};
|
|
9958
10217
|
Insert: {
|
|
9959
10218
|
created_at?: string;
|
|
10219
|
+
enforce?: boolean;
|
|
9960
10220
|
is_active?: boolean;
|
|
9961
10221
|
last_seen_at?: string;
|
|
9962
10222
|
module_id: string;
|
|
@@ -9966,6 +10226,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
9966
10226
|
};
|
|
9967
10227
|
Update: {
|
|
9968
10228
|
created_at?: string;
|
|
10229
|
+
enforce?: boolean;
|
|
9969
10230
|
is_active?: boolean;
|
|
9970
10231
|
last_seen_at?: string;
|
|
9971
10232
|
module_id?: string;
|
|
@@ -10026,63 +10287,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
10026
10287
|
};
|
|
10027
10288
|
Relationships: [];
|
|
10028
10289
|
};
|
|
10029
|
-
monteurs: {
|
|
10030
|
-
Row: {
|
|
10031
|
-
avatar_url: string | null;
|
|
10032
|
-
color: string | null;
|
|
10033
|
-
created_at: string;
|
|
10034
|
-
email: string | null;
|
|
10035
|
-
id: string;
|
|
10036
|
-
is_active: boolean;
|
|
10037
|
-
leave_balance_hours: number;
|
|
10038
|
-
name: string;
|
|
10039
|
-
persnr: number | null;
|
|
10040
|
-
phone: string | null;
|
|
10041
|
-
role: string;
|
|
10042
|
-
tenant_id: string;
|
|
10043
|
-
updated_at: string;
|
|
10044
|
-
user_id: string | null;
|
|
10045
|
-
};
|
|
10046
|
-
Insert: {
|
|
10047
|
-
avatar_url?: string | null;
|
|
10048
|
-
color?: string | null;
|
|
10049
|
-
created_at?: string;
|
|
10050
|
-
email?: string | null;
|
|
10051
|
-
id?: string;
|
|
10052
|
-
is_active?: boolean;
|
|
10053
|
-
leave_balance_hours?: number;
|
|
10054
|
-
name: string;
|
|
10055
|
-
persnr?: number | null;
|
|
10056
|
-
phone?: string | null;
|
|
10057
|
-
role?: string;
|
|
10058
|
-
tenant_id: string;
|
|
10059
|
-
updated_at?: string;
|
|
10060
|
-
user_id?: string | null;
|
|
10061
|
-
};
|
|
10062
|
-
Update: {
|
|
10063
|
-
avatar_url?: string | null;
|
|
10064
|
-
color?: string | null;
|
|
10065
|
-
created_at?: string;
|
|
10066
|
-
email?: string | null;
|
|
10067
|
-
id?: string;
|
|
10068
|
-
is_active?: boolean;
|
|
10069
|
-
leave_balance_hours?: number;
|
|
10070
|
-
name?: string;
|
|
10071
|
-
persnr?: number | null;
|
|
10072
|
-
phone?: string | null;
|
|
10073
|
-
role?: string;
|
|
10074
|
-
tenant_id?: string;
|
|
10075
|
-
updated_at?: string;
|
|
10076
|
-
user_id?: string | null;
|
|
10077
|
-
};
|
|
10078
|
-
Relationships: [{
|
|
10079
|
-
foreignKeyName: "monteurs_tenant_id_fkey";
|
|
10080
|
-
columns: ["tenant_id"];
|
|
10081
|
-
isOneToOne: false;
|
|
10082
|
-
referencedRelation: "tenants";
|
|
10083
|
-
referencedColumns: ["id"];
|
|
10084
|
-
}];
|
|
10085
|
-
};
|
|
10086
10290
|
nmbrs_component_mapping: {
|
|
10087
10291
|
Row: {
|
|
10088
10292
|
created_at: string;
|
|
@@ -10153,13 +10357,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
10153
10357
|
nmbrs_employee_number?: string;
|
|
10154
10358
|
updated_at?: string;
|
|
10155
10359
|
};
|
|
10156
|
-
Relationships: [
|
|
10157
|
-
foreignKeyName: "nmbrs_employee_mapping_monteur_id_fkey";
|
|
10158
|
-
columns: ["monteur_id"];
|
|
10159
|
-
isOneToOne: true;
|
|
10160
|
-
referencedRelation: "monteurs";
|
|
10161
|
-
referencedColumns: ["id"];
|
|
10162
|
-
}];
|
|
10360
|
+
Relationships: [];
|
|
10163
10361
|
};
|
|
10164
10362
|
nmbrs_export_lines: {
|
|
10165
10363
|
Row: {
|
|
@@ -10208,12 +10406,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
10208
10406
|
wage_code?: string;
|
|
10209
10407
|
};
|
|
10210
10408
|
Relationships: [{
|
|
10211
|
-
foreignKeyName: "nmbrs_export_lines_monteur_id_fkey";
|
|
10212
|
-
columns: ["monteur_id"];
|
|
10213
|
-
isOneToOne: false;
|
|
10214
|
-
referencedRelation: "monteurs";
|
|
10215
|
-
referencedColumns: ["id"];
|
|
10216
|
-
}, {
|
|
10217
10409
|
foreignKeyName: "nmbrs_export_lines_run_id_fkey";
|
|
10218
10410
|
columns: ["run_id"];
|
|
10219
10411
|
isOneToOne: false;
|
|
@@ -11041,6 +11233,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
11041
11233
|
error_message: string | null;
|
|
11042
11234
|
id: string;
|
|
11043
11235
|
invoice_number: string | null;
|
|
11236
|
+
next_attempt_at: string;
|
|
11044
11237
|
order_id: string;
|
|
11045
11238
|
processed_at: string | null;
|
|
11046
11239
|
status: string;
|
|
@@ -11052,6 +11245,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
11052
11245
|
error_message?: string | null;
|
|
11053
11246
|
id?: string;
|
|
11054
11247
|
invoice_number?: string | null;
|
|
11248
|
+
next_attempt_at?: string;
|
|
11055
11249
|
order_id: string;
|
|
11056
11250
|
processed_at?: string | null;
|
|
11057
11251
|
status?: string;
|
|
@@ -11063,6 +11257,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
11063
11257
|
error_message?: string | null;
|
|
11064
11258
|
id?: string;
|
|
11065
11259
|
invoice_number?: string | null;
|
|
11260
|
+
next_attempt_at?: string;
|
|
11066
11261
|
order_id?: string;
|
|
11067
11262
|
processed_at?: string | null;
|
|
11068
11263
|
status?: string;
|
|
@@ -12601,6 +12796,9 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
12601
12796
|
created_at: string;
|
|
12602
12797
|
id: string;
|
|
12603
12798
|
laatst_gezien: string;
|
|
12799
|
+
laatste_fout: string | null;
|
|
12800
|
+
laatste_request_id: number | null;
|
|
12801
|
+
mislukte_posts: number;
|
|
12604
12802
|
tick_sleutel: string;
|
|
12605
12803
|
updated_at: string;
|
|
12606
12804
|
};
|
|
@@ -12610,6 +12808,9 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
12610
12808
|
created_at?: string;
|
|
12611
12809
|
id?: string;
|
|
12612
12810
|
laatst_gezien?: string;
|
|
12811
|
+
laatste_fout?: string | null;
|
|
12812
|
+
laatste_request_id?: number | null;
|
|
12813
|
+
mislukte_posts?: number;
|
|
12613
12814
|
tick_sleutel?: string;
|
|
12614
12815
|
updated_at?: string;
|
|
12615
12816
|
};
|
|
@@ -12619,6 +12820,9 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
12619
12820
|
created_at?: string;
|
|
12620
12821
|
id?: string;
|
|
12621
12822
|
laatst_gezien?: string;
|
|
12823
|
+
laatste_fout?: string | null;
|
|
12824
|
+
laatste_request_id?: number | null;
|
|
12825
|
+
mislukte_posts?: number;
|
|
12622
12826
|
tick_sleutel?: string;
|
|
12623
12827
|
updated_at?: string;
|
|
12624
12828
|
};
|
|
@@ -14127,57 +14331,147 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
14127
14331
|
referencedColumns: ["id"];
|
|
14128
14332
|
}];
|
|
14129
14333
|
};
|
|
14130
|
-
|
|
14334
|
+
role_assignments: {
|
|
14131
14335
|
Row: {
|
|
14132
|
-
capacity: number;
|
|
14133
|
-
color_code: string | null;
|
|
14134
14336
|
created_at: string;
|
|
14135
|
-
description: string | null;
|
|
14136
|
-
hourly_rate: number;
|
|
14137
14337
|
id: string;
|
|
14138
|
-
|
|
14139
|
-
|
|
14140
|
-
name: string;
|
|
14338
|
+
role_id: string;
|
|
14339
|
+
user_id: string;
|
|
14141
14340
|
};
|
|
14142
14341
|
Insert: {
|
|
14143
|
-
capacity?: number;
|
|
14144
|
-
color_code?: string | null;
|
|
14145
14342
|
created_at?: string;
|
|
14146
|
-
description?: string | null;
|
|
14147
|
-
hourly_rate?: number;
|
|
14148
14343
|
id?: string;
|
|
14149
|
-
|
|
14150
|
-
|
|
14151
|
-
name: string;
|
|
14344
|
+
role_id: string;
|
|
14345
|
+
user_id: string;
|
|
14152
14346
|
};
|
|
14153
14347
|
Update: {
|
|
14154
|
-
capacity?: number;
|
|
14155
|
-
color_code?: string | null;
|
|
14156
14348
|
created_at?: string;
|
|
14157
|
-
description?: string | null;
|
|
14158
|
-
hourly_rate?: number;
|
|
14159
14349
|
id?: string;
|
|
14160
|
-
|
|
14161
|
-
|
|
14162
|
-
name?: string;
|
|
14350
|
+
role_id?: string;
|
|
14351
|
+
user_id?: string;
|
|
14163
14352
|
};
|
|
14164
|
-
Relationships: [
|
|
14353
|
+
Relationships: [{
|
|
14354
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
14355
|
+
columns: ["role_id"];
|
|
14356
|
+
isOneToOne: false;
|
|
14357
|
+
referencedRelation: "roles";
|
|
14358
|
+
referencedColumns: ["id"];
|
|
14359
|
+
}];
|
|
14165
14360
|
};
|
|
14166
|
-
|
|
14361
|
+
role_permissions: {
|
|
14167
14362
|
Row: {
|
|
14168
|
-
|
|
14363
|
+
can_edit: boolean;
|
|
14364
|
+
can_view: boolean;
|
|
14365
|
+
feature_id: string;
|
|
14169
14366
|
id: string;
|
|
14170
|
-
|
|
14171
|
-
|
|
14172
|
-
|
|
14173
|
-
product_id: string | null;
|
|
14174
|
-
product_name: string;
|
|
14175
|
-
quantity: number;
|
|
14176
|
-
scanned_at: string;
|
|
14177
|
-
scanned_by: string | null;
|
|
14367
|
+
module_id: string;
|
|
14368
|
+
role_id: string;
|
|
14369
|
+
updated_at: string;
|
|
14178
14370
|
};
|
|
14179
14371
|
Insert: {
|
|
14180
|
-
|
|
14372
|
+
can_edit?: boolean;
|
|
14373
|
+
can_view?: boolean;
|
|
14374
|
+
feature_id?: string;
|
|
14375
|
+
id?: string;
|
|
14376
|
+
module_id: string;
|
|
14377
|
+
role_id: string;
|
|
14378
|
+
updated_at?: string;
|
|
14379
|
+
};
|
|
14380
|
+
Update: {
|
|
14381
|
+
can_edit?: boolean;
|
|
14382
|
+
can_view?: boolean;
|
|
14383
|
+
feature_id?: string;
|
|
14384
|
+
id?: string;
|
|
14385
|
+
module_id?: string;
|
|
14386
|
+
role_id?: string;
|
|
14387
|
+
updated_at?: string;
|
|
14388
|
+
};
|
|
14389
|
+
Relationships: [{
|
|
14390
|
+
foreignKeyName: "role_permissions_role_id_fkey";
|
|
14391
|
+
columns: ["role_id"];
|
|
14392
|
+
isOneToOne: false;
|
|
14393
|
+
referencedRelation: "roles";
|
|
14394
|
+
referencedColumns: ["id"];
|
|
14395
|
+
}];
|
|
14396
|
+
};
|
|
14397
|
+
roles: {
|
|
14398
|
+
Row: {
|
|
14399
|
+
created_at: string;
|
|
14400
|
+
id: string;
|
|
14401
|
+
is_protected: boolean;
|
|
14402
|
+
key: string;
|
|
14403
|
+
name: string;
|
|
14404
|
+
updated_at: string;
|
|
14405
|
+
};
|
|
14406
|
+
Insert: {
|
|
14407
|
+
created_at?: string;
|
|
14408
|
+
id?: string;
|
|
14409
|
+
is_protected?: boolean;
|
|
14410
|
+
key: string;
|
|
14411
|
+
name: string;
|
|
14412
|
+
updated_at?: string;
|
|
14413
|
+
};
|
|
14414
|
+
Update: {
|
|
14415
|
+
created_at?: string;
|
|
14416
|
+
id?: string;
|
|
14417
|
+
is_protected?: boolean;
|
|
14418
|
+
key?: string;
|
|
14419
|
+
name?: string;
|
|
14420
|
+
updated_at?: string;
|
|
14421
|
+
};
|
|
14422
|
+
Relationships: [];
|
|
14423
|
+
};
|
|
14424
|
+
rooms: {
|
|
14425
|
+
Row: {
|
|
14426
|
+
capacity: number;
|
|
14427
|
+
color_code: string | null;
|
|
14428
|
+
created_at: string;
|
|
14429
|
+
description: string | null;
|
|
14430
|
+
hourly_rate: number;
|
|
14431
|
+
id: string;
|
|
14432
|
+
image_url: string | null;
|
|
14433
|
+
is_active: boolean;
|
|
14434
|
+
name: string;
|
|
14435
|
+
};
|
|
14436
|
+
Insert: {
|
|
14437
|
+
capacity?: number;
|
|
14438
|
+
color_code?: string | null;
|
|
14439
|
+
created_at?: string;
|
|
14440
|
+
description?: string | null;
|
|
14441
|
+
hourly_rate?: number;
|
|
14442
|
+
id?: string;
|
|
14443
|
+
image_url?: string | null;
|
|
14444
|
+
is_active?: boolean;
|
|
14445
|
+
name: string;
|
|
14446
|
+
};
|
|
14447
|
+
Update: {
|
|
14448
|
+
capacity?: number;
|
|
14449
|
+
color_code?: string | null;
|
|
14450
|
+
created_at?: string;
|
|
14451
|
+
description?: string | null;
|
|
14452
|
+
hourly_rate?: number;
|
|
14453
|
+
id?: string;
|
|
14454
|
+
image_url?: string | null;
|
|
14455
|
+
is_active?: boolean;
|
|
14456
|
+
name?: string;
|
|
14457
|
+
};
|
|
14458
|
+
Relationships: [];
|
|
14459
|
+
};
|
|
14460
|
+
scan_kar_items: {
|
|
14461
|
+
Row: {
|
|
14462
|
+
barcode: string;
|
|
14463
|
+
id: string;
|
|
14464
|
+
kar_id: string;
|
|
14465
|
+
pakbon_id: string;
|
|
14466
|
+
pakbon_item_id: string;
|
|
14467
|
+
product_id: string | null;
|
|
14468
|
+
product_name: string;
|
|
14469
|
+
quantity: number;
|
|
14470
|
+
scanned_at: string;
|
|
14471
|
+
scanned_by: string | null;
|
|
14472
|
+
};
|
|
14473
|
+
Insert: {
|
|
14474
|
+
barcode: string;
|
|
14181
14475
|
id?: string;
|
|
14182
14476
|
kar_id: string;
|
|
14183
14477
|
pakbon_id: string;
|
|
@@ -14796,6 +15090,54 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
14796
15090
|
};
|
|
14797
15091
|
Relationships: [];
|
|
14798
15092
|
};
|
|
15093
|
+
time_compensation_entries: {
|
|
15094
|
+
Row: {
|
|
15095
|
+
created_at: string;
|
|
15096
|
+
employee_id: string;
|
|
15097
|
+
entry_date: string;
|
|
15098
|
+
id: string;
|
|
15099
|
+
km: number;
|
|
15100
|
+
meal_allowance: number;
|
|
15101
|
+
notes: string | null;
|
|
15102
|
+
standby_evening: number;
|
|
15103
|
+
standby_weekend: number;
|
|
15104
|
+
tvt_change: number;
|
|
15105
|
+
updated_at: string;
|
|
15106
|
+
};
|
|
15107
|
+
Insert: {
|
|
15108
|
+
created_at?: string;
|
|
15109
|
+
employee_id: string;
|
|
15110
|
+
entry_date: string;
|
|
15111
|
+
id?: string;
|
|
15112
|
+
km?: number;
|
|
15113
|
+
meal_allowance?: number;
|
|
15114
|
+
notes?: string | null;
|
|
15115
|
+
standby_evening?: number;
|
|
15116
|
+
standby_weekend?: number;
|
|
15117
|
+
tvt_change?: number;
|
|
15118
|
+
updated_at?: string;
|
|
15119
|
+
};
|
|
15120
|
+
Update: {
|
|
15121
|
+
created_at?: string;
|
|
15122
|
+
employee_id?: string;
|
|
15123
|
+
entry_date?: string;
|
|
15124
|
+
id?: string;
|
|
15125
|
+
km?: number;
|
|
15126
|
+
meal_allowance?: number;
|
|
15127
|
+
notes?: string | null;
|
|
15128
|
+
standby_evening?: number;
|
|
15129
|
+
standby_weekend?: number;
|
|
15130
|
+
tvt_change?: number;
|
|
15131
|
+
updated_at?: string;
|
|
15132
|
+
};
|
|
15133
|
+
Relationships: [{
|
|
15134
|
+
foreignKeyName: "time_compensation_entries_employee_id_fkey";
|
|
15135
|
+
columns: ["employee_id"];
|
|
15136
|
+
isOneToOne: false;
|
|
15137
|
+
referencedRelation: "profiles";
|
|
15138
|
+
referencedColumns: ["id"];
|
|
15139
|
+
}];
|
|
15140
|
+
};
|
|
14799
15141
|
time_entries: {
|
|
14800
15142
|
Row: {
|
|
14801
15143
|
created_at: string;
|
|
@@ -14830,65 +15172,170 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
14830
15172
|
undertime?: number;
|
|
14831
15173
|
updated_at?: string;
|
|
14832
15174
|
};
|
|
15175
|
+
Relationships: [];
|
|
15176
|
+
};
|
|
15177
|
+
time_log_week_approvals: {
|
|
15178
|
+
Row: {
|
|
15179
|
+
approved_at: string | null;
|
|
15180
|
+
approved_by: string | null;
|
|
15181
|
+
created_at: string;
|
|
15182
|
+
employee_id: string;
|
|
15183
|
+
id: string;
|
|
15184
|
+
locked: boolean;
|
|
15185
|
+
notes: string | null;
|
|
15186
|
+
status: string;
|
|
15187
|
+
submitted_at: string | null;
|
|
15188
|
+
updated_at: string;
|
|
15189
|
+
week_start: string;
|
|
15190
|
+
};
|
|
15191
|
+
Insert: {
|
|
15192
|
+
approved_at?: string | null;
|
|
15193
|
+
approved_by?: string | null;
|
|
15194
|
+
created_at?: string;
|
|
15195
|
+
employee_id: string;
|
|
15196
|
+
id?: string;
|
|
15197
|
+
locked?: boolean;
|
|
15198
|
+
notes?: string | null;
|
|
15199
|
+
status?: string;
|
|
15200
|
+
submitted_at?: string | null;
|
|
15201
|
+
updated_at?: string;
|
|
15202
|
+
week_start: string;
|
|
15203
|
+
};
|
|
15204
|
+
Update: {
|
|
15205
|
+
approved_at?: string | null;
|
|
15206
|
+
approved_by?: string | null;
|
|
15207
|
+
created_at?: string;
|
|
15208
|
+
employee_id?: string;
|
|
15209
|
+
id?: string;
|
|
15210
|
+
locked?: boolean;
|
|
15211
|
+
notes?: string | null;
|
|
15212
|
+
status?: string;
|
|
15213
|
+
submitted_at?: string | null;
|
|
15214
|
+
updated_at?: string;
|
|
15215
|
+
week_start?: string;
|
|
15216
|
+
};
|
|
14833
15217
|
Relationships: [{
|
|
14834
|
-
foreignKeyName: "
|
|
15218
|
+
foreignKeyName: "time_log_week_approvals_employee_id_fkey";
|
|
14835
15219
|
columns: ["employee_id"];
|
|
14836
15220
|
isOneToOne: false;
|
|
14837
|
-
referencedRelation: "
|
|
15221
|
+
referencedRelation: "profiles";
|
|
14838
15222
|
referencedColumns: ["id"];
|
|
14839
15223
|
}];
|
|
14840
15224
|
};
|
|
14841
15225
|
time_logs: {
|
|
14842
15226
|
Row: {
|
|
15227
|
+
auto_stop_reason: string | null;
|
|
15228
|
+
auto_stopped: boolean;
|
|
14843
15229
|
created_at: string;
|
|
15230
|
+
current_latitude: number | null;
|
|
15231
|
+
current_longitude: number | null;
|
|
15232
|
+
current_position_updated_at: string | null;
|
|
14844
15233
|
employee_id: string;
|
|
15234
|
+
end_latitude: number | null;
|
|
15235
|
+
end_longitude: number | null;
|
|
14845
15236
|
end_time: string | null;
|
|
15237
|
+
eta_distance_km: number | null;
|
|
15238
|
+
eta_minutes: number | null;
|
|
15239
|
+
eta_updated_at: string | null;
|
|
15240
|
+
hour_category: string | null;
|
|
14846
15241
|
id: string;
|
|
15242
|
+
last_reminder_at: string | null;
|
|
14847
15243
|
notes: string | null;
|
|
14848
15244
|
overtime_hours: number;
|
|
14849
15245
|
overtime_type: string | null;
|
|
14850
15246
|
regular_hours: number;
|
|
15247
|
+
reminder_count: number;
|
|
15248
|
+
requires_review: boolean;
|
|
15249
|
+
start_latitude: number | null;
|
|
15250
|
+
start_longitude: number | null;
|
|
14851
15251
|
start_time: string;
|
|
14852
15252
|
travel_cost: number | null;
|
|
14853
15253
|
travel_distance_km: number | null;
|
|
15254
|
+
travel_duration_min: number | null;
|
|
15255
|
+
travel_time_minutes: number | null;
|
|
14854
15256
|
type: string;
|
|
14855
15257
|
updated_at: string;
|
|
15258
|
+
work_order_id: string | null;
|
|
14856
15259
|
};
|
|
14857
15260
|
Insert: {
|
|
15261
|
+
auto_stop_reason?: string | null;
|
|
15262
|
+
auto_stopped?: boolean;
|
|
14858
15263
|
created_at?: string;
|
|
15264
|
+
current_latitude?: number | null;
|
|
15265
|
+
current_longitude?: number | null;
|
|
15266
|
+
current_position_updated_at?: string | null;
|
|
14859
15267
|
employee_id: string;
|
|
15268
|
+
end_latitude?: number | null;
|
|
15269
|
+
end_longitude?: number | null;
|
|
14860
15270
|
end_time?: string | null;
|
|
15271
|
+
eta_distance_km?: number | null;
|
|
15272
|
+
eta_minutes?: number | null;
|
|
15273
|
+
eta_updated_at?: string | null;
|
|
15274
|
+
hour_category?: string | null;
|
|
14861
15275
|
id?: string;
|
|
15276
|
+
last_reminder_at?: string | null;
|
|
14862
15277
|
notes?: string | null;
|
|
14863
15278
|
overtime_hours?: number;
|
|
14864
15279
|
overtime_type?: string | null;
|
|
14865
15280
|
regular_hours?: number;
|
|
15281
|
+
reminder_count?: number;
|
|
15282
|
+
requires_review?: boolean;
|
|
15283
|
+
start_latitude?: number | null;
|
|
15284
|
+
start_longitude?: number | null;
|
|
14866
15285
|
start_time?: string;
|
|
14867
15286
|
travel_cost?: number | null;
|
|
14868
15287
|
travel_distance_km?: number | null;
|
|
15288
|
+
travel_duration_min?: number | null;
|
|
15289
|
+
travel_time_minutes?: number | null;
|
|
14869
15290
|
type: string;
|
|
14870
15291
|
updated_at?: string;
|
|
15292
|
+
work_order_id?: string | null;
|
|
14871
15293
|
};
|
|
14872
15294
|
Update: {
|
|
15295
|
+
auto_stop_reason?: string | null;
|
|
15296
|
+
auto_stopped?: boolean;
|
|
14873
15297
|
created_at?: string;
|
|
15298
|
+
current_latitude?: number | null;
|
|
15299
|
+
current_longitude?: number | null;
|
|
15300
|
+
current_position_updated_at?: string | null;
|
|
14874
15301
|
employee_id?: string;
|
|
15302
|
+
end_latitude?: number | null;
|
|
15303
|
+
end_longitude?: number | null;
|
|
14875
15304
|
end_time?: string | null;
|
|
15305
|
+
eta_distance_km?: number | null;
|
|
15306
|
+
eta_minutes?: number | null;
|
|
15307
|
+
eta_updated_at?: string | null;
|
|
15308
|
+
hour_category?: string | null;
|
|
14876
15309
|
id?: string;
|
|
15310
|
+
last_reminder_at?: string | null;
|
|
14877
15311
|
notes?: string | null;
|
|
14878
15312
|
overtime_hours?: number;
|
|
14879
15313
|
overtime_type?: string | null;
|
|
14880
15314
|
regular_hours?: number;
|
|
15315
|
+
reminder_count?: number;
|
|
15316
|
+
requires_review?: boolean;
|
|
15317
|
+
start_latitude?: number | null;
|
|
15318
|
+
start_longitude?: number | null;
|
|
14881
15319
|
start_time?: string;
|
|
14882
15320
|
travel_cost?: number | null;
|
|
14883
15321
|
travel_distance_km?: number | null;
|
|
15322
|
+
travel_duration_min?: number | null;
|
|
15323
|
+
travel_time_minutes?: number | null;
|
|
14884
15324
|
type?: string;
|
|
14885
15325
|
updated_at?: string;
|
|
15326
|
+
work_order_id?: string | null;
|
|
14886
15327
|
};
|
|
14887
15328
|
Relationships: [{
|
|
14888
15329
|
foreignKeyName: "time_logs_employee_id_fkey";
|
|
14889
15330
|
columns: ["employee_id"];
|
|
14890
15331
|
isOneToOne: false;
|
|
14891
|
-
referencedRelation: "
|
|
15332
|
+
referencedRelation: "profiles";
|
|
15333
|
+
referencedColumns: ["id"];
|
|
15334
|
+
}, {
|
|
15335
|
+
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
15336
|
+
columns: ["work_order_id"];
|
|
15337
|
+
isOneToOne: false;
|
|
15338
|
+
referencedRelation: "work_orders";
|
|
14892
15339
|
referencedColumns: ["id"];
|
|
14893
15340
|
}];
|
|
14894
15341
|
};
|
|
@@ -14927,7 +15374,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
14927
15374
|
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
14928
15375
|
columns: ["employee_id"];
|
|
14929
15376
|
isOneToOne: false;
|
|
14930
|
-
referencedRelation: "
|
|
15377
|
+
referencedRelation: "profiles";
|
|
14931
15378
|
referencedColumns: ["id"];
|
|
14932
15379
|
}];
|
|
14933
15380
|
};
|
|
@@ -15237,6 +15684,39 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
15237
15684
|
};
|
|
15238
15685
|
Relationships: [];
|
|
15239
15686
|
};
|
|
15687
|
+
twinfield_cron_locks: {
|
|
15688
|
+
Row: {
|
|
15689
|
+
created_at: string;
|
|
15690
|
+
heartbeat_at: string;
|
|
15691
|
+
job_name: string;
|
|
15692
|
+
last_error: string | null;
|
|
15693
|
+
last_finished_at: string | null;
|
|
15694
|
+
locked_at: string;
|
|
15695
|
+
run_id: string;
|
|
15696
|
+
updated_at: string;
|
|
15697
|
+
};
|
|
15698
|
+
Insert: {
|
|
15699
|
+
created_at?: string;
|
|
15700
|
+
heartbeat_at?: string;
|
|
15701
|
+
job_name: string;
|
|
15702
|
+
last_error?: string | null;
|
|
15703
|
+
last_finished_at?: string | null;
|
|
15704
|
+
locked_at?: string;
|
|
15705
|
+
run_id?: string;
|
|
15706
|
+
updated_at?: string;
|
|
15707
|
+
};
|
|
15708
|
+
Update: {
|
|
15709
|
+
created_at?: string;
|
|
15710
|
+
heartbeat_at?: string;
|
|
15711
|
+
job_name?: string;
|
|
15712
|
+
last_error?: string | null;
|
|
15713
|
+
last_finished_at?: string | null;
|
|
15714
|
+
locked_at?: string;
|
|
15715
|
+
run_id?: string;
|
|
15716
|
+
updated_at?: string;
|
|
15717
|
+
};
|
|
15718
|
+
Relationships: [];
|
|
15719
|
+
};
|
|
15240
15720
|
twinfield_customers: {
|
|
15241
15721
|
Row: {
|
|
15242
15722
|
address: string | null;
|
|
@@ -15837,6 +16317,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
15837
16317
|
twinfield_push_queue: {
|
|
15838
16318
|
Row: {
|
|
15839
16319
|
action: string;
|
|
16320
|
+
attempt_started_at: string | null;
|
|
15840
16321
|
attempts: number;
|
|
15841
16322
|
connection_id: string | null;
|
|
15842
16323
|
created_at: string;
|
|
@@ -15853,6 +16334,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
15853
16334
|
};
|
|
15854
16335
|
Insert: {
|
|
15855
16336
|
action?: string;
|
|
16337
|
+
attempt_started_at?: string | null;
|
|
15856
16338
|
attempts?: number;
|
|
15857
16339
|
connection_id?: string | null;
|
|
15858
16340
|
created_at?: string;
|
|
@@ -15869,6 +16351,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
15869
16351
|
};
|
|
15870
16352
|
Update: {
|
|
15871
16353
|
action?: string;
|
|
16354
|
+
attempt_started_at?: string | null;
|
|
15872
16355
|
attempts?: number;
|
|
15873
16356
|
connection_id?: string | null;
|
|
15874
16357
|
created_at?: string;
|
|
@@ -16066,13 +16549,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
16066
16549
|
workday_end?: string | null;
|
|
16067
16550
|
workday_start?: string | null;
|
|
16068
16551
|
};
|
|
16069
|
-
Relationships: [
|
|
16070
|
-
foreignKeyName: "uren_cao_profiles_monteur_id_fkey";
|
|
16071
|
-
columns: ["monteur_id"];
|
|
16072
|
-
isOneToOne: true;
|
|
16073
|
-
referencedRelation: "monteurs";
|
|
16074
|
-
referencedColumns: ["id"];
|
|
16075
|
-
}];
|
|
16552
|
+
Relationships: [];
|
|
16076
16553
|
};
|
|
16077
16554
|
uren_entries: {
|
|
16078
16555
|
Row: {
|
|
@@ -16118,12 +16595,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
16118
16595
|
werkbon_id?: string | null;
|
|
16119
16596
|
};
|
|
16120
16597
|
Relationships: [{
|
|
16121
|
-
foreignKeyName: "uren_entries_monteur_id_fkey";
|
|
16122
|
-
columns: ["monteur_id"];
|
|
16123
|
-
isOneToOne: false;
|
|
16124
|
-
referencedRelation: "monteurs";
|
|
16125
|
-
referencedColumns: ["id"];
|
|
16126
|
-
}, {
|
|
16127
16598
|
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
16128
16599
|
columns: ["werkbon_id"];
|
|
16129
16600
|
isOneToOne: false;
|
|
@@ -16591,17 +17062,12 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
16591
17062
|
submitted_at?: string | null;
|
|
16592
17063
|
updated_at?: string;
|
|
16593
17064
|
};
|
|
16594
|
-
Relationships: [
|
|
16595
|
-
foreignKeyName: "uren_weekstaten_monteur_id_fkey";
|
|
16596
|
-
columns: ["monteur_id"];
|
|
16597
|
-
isOneToOne: false;
|
|
16598
|
-
referencedRelation: "monteurs";
|
|
16599
|
-
referencedColumns: ["id"];
|
|
16600
|
-
}];
|
|
17065
|
+
Relationships: [];
|
|
16601
17066
|
};
|
|
16602
17067
|
user_module_permissions: {
|
|
16603
17068
|
Row: {
|
|
16604
17069
|
created_at: string;
|
|
17070
|
+
feature_id: string;
|
|
16605
17071
|
id: string;
|
|
16606
17072
|
module_id: string;
|
|
16607
17073
|
permission: string;
|
|
@@ -16610,6 +17076,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
16610
17076
|
};
|
|
16611
17077
|
Insert: {
|
|
16612
17078
|
created_at?: string;
|
|
17079
|
+
feature_id?: string;
|
|
16613
17080
|
id?: string;
|
|
16614
17081
|
module_id: string;
|
|
16615
17082
|
permission: string;
|
|
@@ -16618,6 +17085,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
16618
17085
|
};
|
|
16619
17086
|
Update: {
|
|
16620
17087
|
created_at?: string;
|
|
17088
|
+
feature_id?: string;
|
|
16621
17089
|
id?: string;
|
|
16622
17090
|
module_id?: string;
|
|
16623
17091
|
permission?: string;
|
|
@@ -16653,6 +17121,51 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
16653
17121
|
referencedColumns: ["id"];
|
|
16654
17122
|
}];
|
|
16655
17123
|
};
|
|
17124
|
+
van_inventories: {
|
|
17125
|
+
Row: {
|
|
17126
|
+
barcode: string | null;
|
|
17127
|
+
created_at: string;
|
|
17128
|
+
id: string;
|
|
17129
|
+
monteur_id: string | null;
|
|
17130
|
+
price_per_unit: number;
|
|
17131
|
+
product_name: string;
|
|
17132
|
+
quantity_current: number;
|
|
17133
|
+
quantity_min: number;
|
|
17134
|
+
unit: string;
|
|
17135
|
+
updated_at: string;
|
|
17136
|
+
};
|
|
17137
|
+
Insert: {
|
|
17138
|
+
barcode?: string | null;
|
|
17139
|
+
created_at?: string;
|
|
17140
|
+
id?: string;
|
|
17141
|
+
monteur_id?: string | null;
|
|
17142
|
+
price_per_unit?: number;
|
|
17143
|
+
product_name: string;
|
|
17144
|
+
quantity_current?: number;
|
|
17145
|
+
quantity_min?: number;
|
|
17146
|
+
unit?: string;
|
|
17147
|
+
updated_at?: string;
|
|
17148
|
+
};
|
|
17149
|
+
Update: {
|
|
17150
|
+
barcode?: string | null;
|
|
17151
|
+
created_at?: string;
|
|
17152
|
+
id?: string;
|
|
17153
|
+
monteur_id?: string | null;
|
|
17154
|
+
price_per_unit?: number;
|
|
17155
|
+
product_name?: string;
|
|
17156
|
+
quantity_current?: number;
|
|
17157
|
+
quantity_min?: number;
|
|
17158
|
+
unit?: string;
|
|
17159
|
+
updated_at?: string;
|
|
17160
|
+
};
|
|
17161
|
+
Relationships: [{
|
|
17162
|
+
foreignKeyName: "van_inventories_monteur_id_fkey";
|
|
17163
|
+
columns: ["monteur_id"];
|
|
17164
|
+
isOneToOne: false;
|
|
17165
|
+
referencedRelation: "profiles";
|
|
17166
|
+
referencedColumns: ["id"];
|
|
17167
|
+
}];
|
|
17168
|
+
};
|
|
16656
17169
|
voorraad_custom_fields: {
|
|
16657
17170
|
Row: {
|
|
16658
17171
|
created_at: string;
|
|
@@ -17603,7 +18116,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
17603
18116
|
foreignKeyName: "work_order_monteurs_monteur_id_fkey";
|
|
17604
18117
|
columns: ["monteur_id"];
|
|
17605
18118
|
isOneToOne: false;
|
|
17606
|
-
referencedRelation: "
|
|
18119
|
+
referencedRelation: "profiles";
|
|
17607
18120
|
referencedColumns: ["id"];
|
|
17608
18121
|
}, {
|
|
17609
18122
|
foreignKeyName: "work_order_monteurs_work_order_id_fkey";
|
|
@@ -17613,6 +18126,60 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
17613
18126
|
referencedColumns: ["id"];
|
|
17614
18127
|
}];
|
|
17615
18128
|
};
|
|
18129
|
+
work_order_photos: {
|
|
18130
|
+
Row: {
|
|
18131
|
+
ai_caption: string | null;
|
|
18132
|
+
ai_categorized_at: string | null;
|
|
18133
|
+
ai_labels: import("../integrations/supabase/types").Json | null;
|
|
18134
|
+
caption: string | null;
|
|
18135
|
+
created_at: string;
|
|
18136
|
+
id: string;
|
|
18137
|
+
monteur_id: string | null;
|
|
18138
|
+
photo_type: string;
|
|
18139
|
+
storage_path: string;
|
|
18140
|
+
updated_at: string;
|
|
18141
|
+
work_order_id: string;
|
|
18142
|
+
};
|
|
18143
|
+
Insert: {
|
|
18144
|
+
ai_caption?: string | null;
|
|
18145
|
+
ai_categorized_at?: string | null;
|
|
18146
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
18147
|
+
caption?: string | null;
|
|
18148
|
+
created_at?: string;
|
|
18149
|
+
id?: string;
|
|
18150
|
+
monteur_id?: string | null;
|
|
18151
|
+
photo_type?: string;
|
|
18152
|
+
storage_path: string;
|
|
18153
|
+
updated_at?: string;
|
|
18154
|
+
work_order_id: string;
|
|
18155
|
+
};
|
|
18156
|
+
Update: {
|
|
18157
|
+
ai_caption?: string | null;
|
|
18158
|
+
ai_categorized_at?: string | null;
|
|
18159
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
18160
|
+
caption?: string | null;
|
|
18161
|
+
created_at?: string;
|
|
18162
|
+
id?: string;
|
|
18163
|
+
monteur_id?: string | null;
|
|
18164
|
+
photo_type?: string;
|
|
18165
|
+
storage_path?: string;
|
|
18166
|
+
updated_at?: string;
|
|
18167
|
+
work_order_id?: string;
|
|
18168
|
+
};
|
|
18169
|
+
Relationships: [{
|
|
18170
|
+
foreignKeyName: "work_order_photos_monteur_id_fkey";
|
|
18171
|
+
columns: ["monteur_id"];
|
|
18172
|
+
isOneToOne: false;
|
|
18173
|
+
referencedRelation: "profiles";
|
|
18174
|
+
referencedColumns: ["id"];
|
|
18175
|
+
}, {
|
|
18176
|
+
foreignKeyName: "work_order_photos_work_order_id_fkey";
|
|
18177
|
+
columns: ["work_order_id"];
|
|
18178
|
+
isOneToOne: false;
|
|
18179
|
+
referencedRelation: "work_orders";
|
|
18180
|
+
referencedColumns: ["id"];
|
|
18181
|
+
}];
|
|
18182
|
+
};
|
|
17616
18183
|
work_orders: {
|
|
17617
18184
|
Row: {
|
|
17618
18185
|
assigned_to: string | null;
|
|
@@ -17644,7 +18211,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
17644
18211
|
scheduled_end_time: string | null;
|
|
17645
18212
|
scheduled_start_time: string | null;
|
|
17646
18213
|
status: string;
|
|
17647
|
-
tenant_id: string;
|
|
17648
18214
|
total_hours_worked: number | null;
|
|
17649
18215
|
total_price: number | null;
|
|
17650
18216
|
travel_time_minutes: number | null;
|
|
@@ -17682,7 +18248,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
17682
18248
|
scheduled_end_time?: string | null;
|
|
17683
18249
|
scheduled_start_time?: string | null;
|
|
17684
18250
|
status?: string;
|
|
17685
|
-
tenant_id: string;
|
|
17686
18251
|
total_hours_worked?: number | null;
|
|
17687
18252
|
total_price?: number | null;
|
|
17688
18253
|
travel_time_minutes?: number | null;
|
|
@@ -17720,7 +18285,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
17720
18285
|
scheduled_end_time?: string | null;
|
|
17721
18286
|
scheduled_start_time?: string | null;
|
|
17722
18287
|
status?: string;
|
|
17723
|
-
tenant_id?: string;
|
|
17724
18288
|
total_hours_worked?: number | null;
|
|
17725
18289
|
total_price?: number | null;
|
|
17726
18290
|
travel_time_minutes?: number | null;
|
|
@@ -17734,12 +18298,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
17734
18298
|
isOneToOne: false;
|
|
17735
18299
|
referencedRelation: "work_orders";
|
|
17736
18300
|
referencedColumns: ["id"];
|
|
17737
|
-
}, {
|
|
17738
|
-
foreignKeyName: "work_orders_tenant_id_fkey";
|
|
17739
|
-
columns: ["tenant_id"];
|
|
17740
|
-
isOneToOne: false;
|
|
17741
|
-
referencedRelation: "tenants";
|
|
17742
|
-
referencedColumns: ["id"];
|
|
17743
18301
|
}];
|
|
17744
18302
|
};
|
|
17745
18303
|
};
|
|
@@ -18424,6 +18982,19 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
18424
18982
|
};
|
|
18425
18983
|
Returns: undefined;
|
|
18426
18984
|
};
|
|
18985
|
+
approve_mailbox_order_proposal: {
|
|
18986
|
+
Args: {
|
|
18987
|
+
p_custom_fields: import("../integrations/supabase/types").Json;
|
|
18988
|
+
p_customer_id: string;
|
|
18989
|
+
p_delivery_date: string;
|
|
18990
|
+
p_field_values?: import("../integrations/supabase/types").Json;
|
|
18991
|
+
p_lines: import("../integrations/supabase/types").Json;
|
|
18992
|
+
p_notes: string;
|
|
18993
|
+
p_proposal_id: string;
|
|
18994
|
+
p_reviewed_by: string;
|
|
18995
|
+
};
|
|
18996
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
18997
|
+
};
|
|
18427
18998
|
assign_cart_numbers: {
|
|
18428
18999
|
Args: {
|
|
18429
19000
|
p_carts: import("../integrations/supabase/types").Json;
|
|
@@ -18475,6 +19046,10 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
18475
19046
|
};
|
|
18476
19047
|
Returns: number;
|
|
18477
19048
|
};
|
|
19049
|
+
can_manage_hours: {
|
|
19050
|
+
Args: never;
|
|
19051
|
+
Returns: boolean;
|
|
19052
|
+
};
|
|
18478
19053
|
check_offer_product_available_stock: {
|
|
18479
19054
|
Args: {
|
|
18480
19055
|
p_campaign_product_id: string;
|
|
@@ -18664,6 +19239,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
18664
19239
|
};
|
|
18665
19240
|
Returns: {
|
|
18666
19241
|
action: string;
|
|
19242
|
+
attempt_started_at: string | null;
|
|
18667
19243
|
attempts: number;
|
|
18668
19244
|
connection_id: string | null;
|
|
18669
19245
|
created_at: string;
|
|
@@ -18751,6 +19327,30 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
18751
19327
|
agent_naam: string;
|
|
18752
19328
|
}[];
|
|
18753
19329
|
};
|
|
19330
|
+
consume_van_inventory: {
|
|
19331
|
+
Args: {
|
|
19332
|
+
p_inventory_id: string;
|
|
19333
|
+
p_quantity: number;
|
|
19334
|
+
};
|
|
19335
|
+
Returns: {
|
|
19336
|
+
barcode: string | null;
|
|
19337
|
+
created_at: string;
|
|
19338
|
+
id: string;
|
|
19339
|
+
monteur_id: string | null;
|
|
19340
|
+
price_per_unit: number;
|
|
19341
|
+
product_name: string;
|
|
19342
|
+
quantity_current: number;
|
|
19343
|
+
quantity_min: number;
|
|
19344
|
+
unit: string;
|
|
19345
|
+
updated_at: string;
|
|
19346
|
+
};
|
|
19347
|
+
SetofOptions: {
|
|
19348
|
+
from: "*";
|
|
19349
|
+
to: "van_inventories";
|
|
19350
|
+
isOneToOne: true;
|
|
19351
|
+
isSetofReturn: false;
|
|
19352
|
+
};
|
|
19353
|
+
};
|
|
18754
19354
|
control_get_todays_carts: {
|
|
18755
19355
|
Args: never;
|
|
18756
19356
|
Returns: {
|
|
@@ -18824,6 +19424,13 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
18824
19424
|
_user_id: string;
|
|
18825
19425
|
};
|
|
18826
19426
|
Returns: string;
|
|
19427
|
+
} | {
|
|
19428
|
+
Args: {
|
|
19429
|
+
_feature_id: string;
|
|
19430
|
+
_module_id: string;
|
|
19431
|
+
_user_id: string;
|
|
19432
|
+
};
|
|
19433
|
+
Returns: string;
|
|
18827
19434
|
};
|
|
18828
19435
|
email_auth_decrypt: {
|
|
18829
19436
|
Args: {
|
|
@@ -19175,12 +19782,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
19175
19782
|
Args: never;
|
|
19176
19783
|
Returns: string;
|
|
19177
19784
|
};
|
|
19178
|
-
get_work_order_tenant_id: {
|
|
19179
|
-
Args: {
|
|
19180
|
-
wo_id: string;
|
|
19181
|
-
};
|
|
19182
|
-
Returns: string;
|
|
19183
|
-
};
|
|
19184
19785
|
has_module_permission: {
|
|
19185
19786
|
Args: {
|
|
19186
19787
|
_min: string;
|
|
@@ -19214,6 +19815,13 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
19214
19815
|
};
|
|
19215
19816
|
Returns: boolean;
|
|
19216
19817
|
};
|
|
19818
|
+
is_time_log_week_locked: {
|
|
19819
|
+
Args: {
|
|
19820
|
+
p_employee_id: string;
|
|
19821
|
+
p_start_time: string;
|
|
19822
|
+
};
|
|
19823
|
+
Returns: boolean;
|
|
19824
|
+
};
|
|
19217
19825
|
is_user_admin: {
|
|
19218
19826
|
Args: never;
|
|
19219
19827
|
Returns: boolean;
|
|
@@ -19228,13 +19836,14 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
19228
19836
|
};
|
|
19229
19837
|
Returns: boolean;
|
|
19230
19838
|
};
|
|
19231
|
-
|
|
19839
|
+
list_medewerkers: {
|
|
19232
19840
|
Args: never;
|
|
19233
19841
|
Returns: {
|
|
19234
19842
|
avatar_url: string;
|
|
19235
19843
|
display_name: string;
|
|
19236
19844
|
email: string;
|
|
19237
19845
|
id: string;
|
|
19846
|
+
roles: string[];
|
|
19238
19847
|
}[];
|
|
19239
19848
|
};
|
|
19240
19849
|
list_my_planning_items: {
|
|
@@ -19725,6 +20334,65 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
19725
20334
|
};
|
|
19726
20335
|
Returns: number;
|
|
19727
20336
|
};
|
|
20337
|
+
logistics_plan_claim: {
|
|
20338
|
+
Args: {
|
|
20339
|
+
p_limit?: number;
|
|
20340
|
+
};
|
|
20341
|
+
Returns: {
|
|
20342
|
+
attempts: number;
|
|
20343
|
+
id: string;
|
|
20344
|
+
order_id: string;
|
|
20345
|
+
}[];
|
|
20346
|
+
};
|
|
20347
|
+
logistics_plan_enqueue: {
|
|
20348
|
+
Args: {
|
|
20349
|
+
p_order_id: string;
|
|
20350
|
+
p_reason?: string;
|
|
20351
|
+
};
|
|
20352
|
+
Returns: undefined;
|
|
20353
|
+
};
|
|
20354
|
+
logistics_plan_ensure_event: {
|
|
20355
|
+
Args: {
|
|
20356
|
+
p_order_id: string;
|
|
20357
|
+
};
|
|
20358
|
+
Returns: boolean;
|
|
20359
|
+
};
|
|
20360
|
+
logistics_plan_finish: {
|
|
20361
|
+
Args: {
|
|
20362
|
+
p_error?: string;
|
|
20363
|
+
p_id: string;
|
|
20364
|
+
};
|
|
20365
|
+
Returns: undefined;
|
|
20366
|
+
};
|
|
20367
|
+
logistics_plan_impact_orders: {
|
|
20368
|
+
Args: {
|
|
20369
|
+
p_order_id: string;
|
|
20370
|
+
};
|
|
20371
|
+
Returns: {
|
|
20372
|
+
buffer_id: string;
|
|
20373
|
+
order_id: string;
|
|
20374
|
+
plan_date: string;
|
|
20375
|
+
}[];
|
|
20376
|
+
};
|
|
20377
|
+
logistics_plan_kick: {
|
|
20378
|
+
Args: never;
|
|
20379
|
+
Returns: undefined;
|
|
20380
|
+
};
|
|
20381
|
+
logistics_plan_prune: {
|
|
20382
|
+
Args: never;
|
|
20383
|
+
Returns: number;
|
|
20384
|
+
};
|
|
20385
|
+
logistics_plan_release_stale: {
|
|
20386
|
+
Args: never;
|
|
20387
|
+
Returns: number;
|
|
20388
|
+
};
|
|
20389
|
+
logistics_plan_setting: {
|
|
20390
|
+
Args: {
|
|
20391
|
+
p_default: number;
|
|
20392
|
+
p_key: string;
|
|
20393
|
+
};
|
|
20394
|
+
Returns: number;
|
|
20395
|
+
};
|
|
19728
20396
|
logistics_queue_capacity_email: {
|
|
19729
20397
|
Args: {
|
|
19730
20398
|
p_alert_id: string;
|
|
@@ -19966,6 +20634,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
19966
20634
|
my_module_permissions: {
|
|
19967
20635
|
Args: never;
|
|
19968
20636
|
Returns: {
|
|
20637
|
+
feature_id: string;
|
|
19969
20638
|
module_id: string;
|
|
19970
20639
|
permission: string;
|
|
19971
20640
|
}[];
|
|
@@ -20846,6 +21515,16 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
20846
21515
|
};
|
|
20847
21516
|
Returns: string[];
|
|
20848
21517
|
};
|
|
21518
|
+
switch_time_log: {
|
|
21519
|
+
Args: {
|
|
21520
|
+
p_employee_id: string;
|
|
21521
|
+
p_start_lat?: number;
|
|
21522
|
+
p_start_lng?: number;
|
|
21523
|
+
p_type: string;
|
|
21524
|
+
p_work_order_id?: string;
|
|
21525
|
+
};
|
|
21526
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21527
|
+
};
|
|
20849
21528
|
sync_all_layer_stocks: {
|
|
20850
21529
|
Args: never;
|
|
20851
21530
|
Returns: undefined;
|
|
@@ -20896,6 +21575,24 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
|
|
|
20896
21575
|
};
|
|
20897
21576
|
Returns: boolean;
|
|
20898
21577
|
};
|
|
21578
|
+
twinfield_cron_lock_acquire: {
|
|
21579
|
+
Args: {
|
|
21580
|
+
_job_name: string;
|
|
21581
|
+
_stale_seconds?: number;
|
|
21582
|
+
};
|
|
21583
|
+
Returns: boolean;
|
|
21584
|
+
};
|
|
21585
|
+
twinfield_cron_lock_release: {
|
|
21586
|
+
Args: {
|
|
21587
|
+
_error?: string;
|
|
21588
|
+
_job_name: string;
|
|
21589
|
+
};
|
|
21590
|
+
Returns: undefined;
|
|
21591
|
+
};
|
|
21592
|
+
twinfield_prune_push_queue: {
|
|
21593
|
+
Args: never;
|
|
21594
|
+
Returns: number;
|
|
21595
|
+
};
|
|
20899
21596
|
twinfield_register_cron: {
|
|
20900
21597
|
Args: {
|
|
20901
21598
|
apikey?: string;
|