@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
|
@@ -881,6 +881,126 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
881
881
|
};
|
|
882
882
|
Relationships: [];
|
|
883
883
|
};
|
|
884
|
+
cao_holidays: {
|
|
885
|
+
Row: {
|
|
886
|
+
created_at: string;
|
|
887
|
+
description: string | null;
|
|
888
|
+
holiday_date: string;
|
|
889
|
+
id: string;
|
|
890
|
+
updated_at: string;
|
|
891
|
+
};
|
|
892
|
+
Insert: {
|
|
893
|
+
created_at?: string;
|
|
894
|
+
description?: string | null;
|
|
895
|
+
holiday_date: string;
|
|
896
|
+
id?: string;
|
|
897
|
+
updated_at?: string;
|
|
898
|
+
};
|
|
899
|
+
Update: {
|
|
900
|
+
created_at?: string;
|
|
901
|
+
description?: string | null;
|
|
902
|
+
holiday_date?: string;
|
|
903
|
+
id?: string;
|
|
904
|
+
updated_at?: string;
|
|
905
|
+
};
|
|
906
|
+
Relationships: [];
|
|
907
|
+
};
|
|
908
|
+
cao_settings: {
|
|
909
|
+
Row: {
|
|
910
|
+
auto_break_after_hours: number;
|
|
911
|
+
auto_break_minutes: number;
|
|
912
|
+
auto_break_unpaid: boolean;
|
|
913
|
+
auto_stop_after_hours: number;
|
|
914
|
+
callout_fee: number;
|
|
915
|
+
created_at: string;
|
|
916
|
+
daily_regular_hours: number;
|
|
917
|
+
default_hourly_rate: number;
|
|
918
|
+
id: string;
|
|
919
|
+
materials_markup_percent: number;
|
|
920
|
+
max_daily_hours: number;
|
|
921
|
+
max_weekly_hours: number;
|
|
922
|
+
meal_allowance_amount: number;
|
|
923
|
+
overtime_pct_178: number;
|
|
924
|
+
overtime_pct_189: number;
|
|
925
|
+
overtime_pct_212: number;
|
|
926
|
+
reminder_after_hours: number;
|
|
927
|
+
standby_evening_amount: number;
|
|
928
|
+
standby_weekend_amount: number;
|
|
929
|
+
travel_cost_per_km: number | null;
|
|
930
|
+
travel_cost_threshold_km: number | null;
|
|
931
|
+
travel_counts_as_work: boolean;
|
|
932
|
+
travel_hourly_rate: number;
|
|
933
|
+
travel_rate_per_hour: number;
|
|
934
|
+
travel_threshold_minutes: number;
|
|
935
|
+
updated_at: string;
|
|
936
|
+
weekend_always_212: boolean;
|
|
937
|
+
window_end: string;
|
|
938
|
+
window_start: string;
|
|
939
|
+
};
|
|
940
|
+
Insert: {
|
|
941
|
+
auto_break_after_hours?: number;
|
|
942
|
+
auto_break_minutes?: number;
|
|
943
|
+
auto_break_unpaid?: boolean;
|
|
944
|
+
auto_stop_after_hours?: number;
|
|
945
|
+
callout_fee?: number;
|
|
946
|
+
created_at?: string;
|
|
947
|
+
daily_regular_hours?: number;
|
|
948
|
+
default_hourly_rate?: number;
|
|
949
|
+
id?: string;
|
|
950
|
+
materials_markup_percent?: number;
|
|
951
|
+
max_daily_hours?: number;
|
|
952
|
+
max_weekly_hours?: number;
|
|
953
|
+
meal_allowance_amount?: number;
|
|
954
|
+
overtime_pct_178?: number;
|
|
955
|
+
overtime_pct_189?: number;
|
|
956
|
+
overtime_pct_212?: number;
|
|
957
|
+
reminder_after_hours?: number;
|
|
958
|
+
standby_evening_amount?: number;
|
|
959
|
+
standby_weekend_amount?: number;
|
|
960
|
+
travel_cost_per_km?: number | null;
|
|
961
|
+
travel_cost_threshold_km?: number | null;
|
|
962
|
+
travel_counts_as_work?: boolean;
|
|
963
|
+
travel_hourly_rate?: number;
|
|
964
|
+
travel_rate_per_hour?: number;
|
|
965
|
+
travel_threshold_minutes?: number;
|
|
966
|
+
updated_at?: string;
|
|
967
|
+
weekend_always_212?: boolean;
|
|
968
|
+
window_end?: string;
|
|
969
|
+
window_start?: string;
|
|
970
|
+
};
|
|
971
|
+
Update: {
|
|
972
|
+
auto_break_after_hours?: number;
|
|
973
|
+
auto_break_minutes?: number;
|
|
974
|
+
auto_break_unpaid?: boolean;
|
|
975
|
+
auto_stop_after_hours?: number;
|
|
976
|
+
callout_fee?: number;
|
|
977
|
+
created_at?: string;
|
|
978
|
+
daily_regular_hours?: number;
|
|
979
|
+
default_hourly_rate?: number;
|
|
980
|
+
id?: string;
|
|
981
|
+
materials_markup_percent?: number;
|
|
982
|
+
max_daily_hours?: number;
|
|
983
|
+
max_weekly_hours?: number;
|
|
984
|
+
meal_allowance_amount?: number;
|
|
985
|
+
overtime_pct_178?: number;
|
|
986
|
+
overtime_pct_189?: number;
|
|
987
|
+
overtime_pct_212?: number;
|
|
988
|
+
reminder_after_hours?: number;
|
|
989
|
+
standby_evening_amount?: number;
|
|
990
|
+
standby_weekend_amount?: number;
|
|
991
|
+
travel_cost_per_km?: number | null;
|
|
992
|
+
travel_cost_threshold_km?: number | null;
|
|
993
|
+
travel_counts_as_work?: boolean;
|
|
994
|
+
travel_hourly_rate?: number;
|
|
995
|
+
travel_rate_per_hour?: number;
|
|
996
|
+
travel_threshold_minutes?: number;
|
|
997
|
+
updated_at?: string;
|
|
998
|
+
weekend_always_212?: boolean;
|
|
999
|
+
window_end?: string;
|
|
1000
|
+
window_start?: string;
|
|
1001
|
+
};
|
|
1002
|
+
Relationships: [];
|
|
1003
|
+
};
|
|
884
1004
|
carrier_shipping_rates: {
|
|
885
1005
|
Row: {
|
|
886
1006
|
carrier_id: string;
|
|
@@ -7775,7 +7895,6 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
7775
7895
|
start_date: string;
|
|
7776
7896
|
start_time: string | null;
|
|
7777
7897
|
status: string;
|
|
7778
|
-
tenant_id: string;
|
|
7779
7898
|
updated_at: string;
|
|
7780
7899
|
user_id: string;
|
|
7781
7900
|
};
|
|
@@ -7793,7 +7912,6 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
7793
7912
|
start_date: string;
|
|
7794
7913
|
start_time?: string | null;
|
|
7795
7914
|
status?: string;
|
|
7796
|
-
tenant_id?: string;
|
|
7797
7915
|
updated_at?: string;
|
|
7798
7916
|
user_id: string;
|
|
7799
7917
|
};
|
|
@@ -7811,7 +7929,6 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
7811
7929
|
start_date?: string;
|
|
7812
7930
|
start_time?: string | null;
|
|
7813
7931
|
status?: string;
|
|
7814
|
-
tenant_id?: string;
|
|
7815
7932
|
updated_at?: string;
|
|
7816
7933
|
user_id?: string;
|
|
7817
7934
|
};
|
|
@@ -7819,13 +7936,13 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
7819
7936
|
foreignKeyName: "leave_requests_monteur_id_fkey";
|
|
7820
7937
|
columns: ["monteur_id"];
|
|
7821
7938
|
isOneToOne: false;
|
|
7822
|
-
referencedRelation: "
|
|
7939
|
+
referencedRelation: "profiles";
|
|
7823
7940
|
referencedColumns: ["id"];
|
|
7824
7941
|
}, {
|
|
7825
7942
|
foreignKeyName: "leave_requests_user_id_fkey";
|
|
7826
7943
|
columns: ["user_id"];
|
|
7827
7944
|
isOneToOne: false;
|
|
7828
|
-
referencedRelation: "
|
|
7945
|
+
referencedRelation: "profiles";
|
|
7829
7946
|
referencedColumns: ["id"];
|
|
7830
7947
|
}];
|
|
7831
7948
|
};
|
|
@@ -8693,6 +8810,45 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
8693
8810
|
};
|
|
8694
8811
|
Relationships: [];
|
|
8695
8812
|
};
|
|
8813
|
+
logistics_plan_queue: {
|
|
8814
|
+
Row: {
|
|
8815
|
+
attempts: number;
|
|
8816
|
+
claimed_at: string | null;
|
|
8817
|
+
enqueued_at: string;
|
|
8818
|
+
error: string | null;
|
|
8819
|
+
id: string;
|
|
8820
|
+
next_attempt_at: string;
|
|
8821
|
+
order_id: string;
|
|
8822
|
+
reason: string;
|
|
8823
|
+
status: string;
|
|
8824
|
+
updated_at: string;
|
|
8825
|
+
};
|
|
8826
|
+
Insert: {
|
|
8827
|
+
attempts?: number;
|
|
8828
|
+
claimed_at?: string | null;
|
|
8829
|
+
enqueued_at?: string;
|
|
8830
|
+
error?: string | null;
|
|
8831
|
+
id?: string;
|
|
8832
|
+
next_attempt_at?: string;
|
|
8833
|
+
order_id: string;
|
|
8834
|
+
reason?: string;
|
|
8835
|
+
status?: string;
|
|
8836
|
+
updated_at?: string;
|
|
8837
|
+
};
|
|
8838
|
+
Update: {
|
|
8839
|
+
attempts?: number;
|
|
8840
|
+
claimed_at?: string | null;
|
|
8841
|
+
enqueued_at?: string;
|
|
8842
|
+
error?: string | null;
|
|
8843
|
+
id?: string;
|
|
8844
|
+
next_attempt_at?: string;
|
|
8845
|
+
order_id?: string;
|
|
8846
|
+
reason?: string;
|
|
8847
|
+
status?: string;
|
|
8848
|
+
updated_at?: string;
|
|
8849
|
+
};
|
|
8850
|
+
Relationships: [];
|
|
8851
|
+
};
|
|
8696
8852
|
logistics_plan_runs: {
|
|
8697
8853
|
Row: {
|
|
8698
8854
|
created_at: string;
|
|
@@ -8768,6 +8924,24 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
8768
8924
|
referencedColumns: ["id"];
|
|
8769
8925
|
}];
|
|
8770
8926
|
};
|
|
8927
|
+
logistics_plan_settings: {
|
|
8928
|
+
Row: {
|
|
8929
|
+
key: string;
|
|
8930
|
+
updated_at: string;
|
|
8931
|
+
value: string;
|
|
8932
|
+
};
|
|
8933
|
+
Insert: {
|
|
8934
|
+
key: string;
|
|
8935
|
+
updated_at?: string;
|
|
8936
|
+
value: string;
|
|
8937
|
+
};
|
|
8938
|
+
Update: {
|
|
8939
|
+
key?: string;
|
|
8940
|
+
updated_at?: string;
|
|
8941
|
+
value?: string;
|
|
8942
|
+
};
|
|
8943
|
+
Relationships: [];
|
|
8944
|
+
};
|
|
8771
8945
|
logistics_rebuffer_state: {
|
|
8772
8946
|
Row: {
|
|
8773
8947
|
created_at: string;
|
|
@@ -9923,6 +10097,90 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
9923
10097
|
};
|
|
9924
10098
|
Relationships: [];
|
|
9925
10099
|
};
|
|
10100
|
+
material_usage: {
|
|
10101
|
+
Row: {
|
|
10102
|
+
created_at: string;
|
|
10103
|
+
id: string;
|
|
10104
|
+
material_name: string;
|
|
10105
|
+
monteur_id: string | null;
|
|
10106
|
+
price_at_time: number;
|
|
10107
|
+
quantity_used: number;
|
|
10108
|
+
updated_at: string;
|
|
10109
|
+
van_inventory_id: string | null;
|
|
10110
|
+
work_order_id: string;
|
|
10111
|
+
};
|
|
10112
|
+
Insert: {
|
|
10113
|
+
created_at?: string;
|
|
10114
|
+
id?: string;
|
|
10115
|
+
material_name: string;
|
|
10116
|
+
monteur_id?: string | null;
|
|
10117
|
+
price_at_time?: number;
|
|
10118
|
+
quantity_used?: number;
|
|
10119
|
+
updated_at?: string;
|
|
10120
|
+
van_inventory_id?: string | null;
|
|
10121
|
+
work_order_id: string;
|
|
10122
|
+
};
|
|
10123
|
+
Update: {
|
|
10124
|
+
created_at?: string;
|
|
10125
|
+
id?: string;
|
|
10126
|
+
material_name?: string;
|
|
10127
|
+
monteur_id?: string | null;
|
|
10128
|
+
price_at_time?: number;
|
|
10129
|
+
quantity_used?: number;
|
|
10130
|
+
updated_at?: string;
|
|
10131
|
+
van_inventory_id?: string | null;
|
|
10132
|
+
work_order_id?: string;
|
|
10133
|
+
};
|
|
10134
|
+
Relationships: [{
|
|
10135
|
+
foreignKeyName: "material_usage_monteur_id_fkey";
|
|
10136
|
+
columns: ["monteur_id"];
|
|
10137
|
+
isOneToOne: false;
|
|
10138
|
+
referencedRelation: "profiles";
|
|
10139
|
+
referencedColumns: ["id"];
|
|
10140
|
+
}, {
|
|
10141
|
+
foreignKeyName: "material_usage_van_inventory_id_fkey";
|
|
10142
|
+
columns: ["van_inventory_id"];
|
|
10143
|
+
isOneToOne: false;
|
|
10144
|
+
referencedRelation: "van_inventories";
|
|
10145
|
+
referencedColumns: ["id"];
|
|
10146
|
+
}, {
|
|
10147
|
+
foreignKeyName: "material_usage_work_order_id_fkey";
|
|
10148
|
+
columns: ["work_order_id"];
|
|
10149
|
+
isOneToOne: false;
|
|
10150
|
+
referencedRelation: "work_orders";
|
|
10151
|
+
referencedColumns: ["id"];
|
|
10152
|
+
}];
|
|
10153
|
+
};
|
|
10154
|
+
module_features: {
|
|
10155
|
+
Row: {
|
|
10156
|
+
created_at: string;
|
|
10157
|
+
feature_id: string;
|
|
10158
|
+
id: string;
|
|
10159
|
+
is_active: boolean;
|
|
10160
|
+
last_seen_at: string;
|
|
10161
|
+
module_id: string;
|
|
10162
|
+
name: string;
|
|
10163
|
+
};
|
|
10164
|
+
Insert: {
|
|
10165
|
+
created_at?: string;
|
|
10166
|
+
feature_id: string;
|
|
10167
|
+
id?: string;
|
|
10168
|
+
is_active?: boolean;
|
|
10169
|
+
last_seen_at?: string;
|
|
10170
|
+
module_id: string;
|
|
10171
|
+
name: string;
|
|
10172
|
+
};
|
|
10173
|
+
Update: {
|
|
10174
|
+
created_at?: string;
|
|
10175
|
+
feature_id?: string;
|
|
10176
|
+
id?: string;
|
|
10177
|
+
is_active?: boolean;
|
|
10178
|
+
last_seen_at?: string;
|
|
10179
|
+
module_id?: string;
|
|
10180
|
+
name?: string;
|
|
10181
|
+
};
|
|
10182
|
+
Relationships: [];
|
|
10183
|
+
};
|
|
9926
10184
|
module_permissions: {
|
|
9927
10185
|
Row: {
|
|
9928
10186
|
created_at: string;
|
|
@@ -9953,6 +10211,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
9953
10211
|
module_registry: {
|
|
9954
10212
|
Row: {
|
|
9955
10213
|
created_at: string;
|
|
10214
|
+
enforce: boolean;
|
|
9956
10215
|
is_active: boolean;
|
|
9957
10216
|
last_seen_at: string;
|
|
9958
10217
|
module_id: string;
|
|
@@ -9962,6 +10221,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
9962
10221
|
};
|
|
9963
10222
|
Insert: {
|
|
9964
10223
|
created_at?: string;
|
|
10224
|
+
enforce?: boolean;
|
|
9965
10225
|
is_active?: boolean;
|
|
9966
10226
|
last_seen_at?: string;
|
|
9967
10227
|
module_id: string;
|
|
@@ -9971,6 +10231,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
9971
10231
|
};
|
|
9972
10232
|
Update: {
|
|
9973
10233
|
created_at?: string;
|
|
10234
|
+
enforce?: boolean;
|
|
9974
10235
|
is_active?: boolean;
|
|
9975
10236
|
last_seen_at?: string;
|
|
9976
10237
|
module_id?: string;
|
|
@@ -10031,63 +10292,6 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
10031
10292
|
};
|
|
10032
10293
|
Relationships: [];
|
|
10033
10294
|
};
|
|
10034
|
-
monteurs: {
|
|
10035
|
-
Row: {
|
|
10036
|
-
avatar_url: string | null;
|
|
10037
|
-
color: string | null;
|
|
10038
|
-
created_at: string;
|
|
10039
|
-
email: string | null;
|
|
10040
|
-
id: string;
|
|
10041
|
-
is_active: boolean;
|
|
10042
|
-
leave_balance_hours: number;
|
|
10043
|
-
name: string;
|
|
10044
|
-
persnr: number | null;
|
|
10045
|
-
phone: string | null;
|
|
10046
|
-
role: string;
|
|
10047
|
-
tenant_id: string;
|
|
10048
|
-
updated_at: string;
|
|
10049
|
-
user_id: string | null;
|
|
10050
|
-
};
|
|
10051
|
-
Insert: {
|
|
10052
|
-
avatar_url?: string | null;
|
|
10053
|
-
color?: string | null;
|
|
10054
|
-
created_at?: string;
|
|
10055
|
-
email?: string | null;
|
|
10056
|
-
id?: string;
|
|
10057
|
-
is_active?: boolean;
|
|
10058
|
-
leave_balance_hours?: number;
|
|
10059
|
-
name: string;
|
|
10060
|
-
persnr?: number | null;
|
|
10061
|
-
phone?: string | null;
|
|
10062
|
-
role?: string;
|
|
10063
|
-
tenant_id: string;
|
|
10064
|
-
updated_at?: string;
|
|
10065
|
-
user_id?: string | null;
|
|
10066
|
-
};
|
|
10067
|
-
Update: {
|
|
10068
|
-
avatar_url?: string | null;
|
|
10069
|
-
color?: string | null;
|
|
10070
|
-
created_at?: string;
|
|
10071
|
-
email?: string | null;
|
|
10072
|
-
id?: string;
|
|
10073
|
-
is_active?: boolean;
|
|
10074
|
-
leave_balance_hours?: number;
|
|
10075
|
-
name?: string;
|
|
10076
|
-
persnr?: number | null;
|
|
10077
|
-
phone?: string | null;
|
|
10078
|
-
role?: string;
|
|
10079
|
-
tenant_id?: string;
|
|
10080
|
-
updated_at?: string;
|
|
10081
|
-
user_id?: string | null;
|
|
10082
|
-
};
|
|
10083
|
-
Relationships: [{
|
|
10084
|
-
foreignKeyName: "monteurs_tenant_id_fkey";
|
|
10085
|
-
columns: ["tenant_id"];
|
|
10086
|
-
isOneToOne: false;
|
|
10087
|
-
referencedRelation: "tenants";
|
|
10088
|
-
referencedColumns: ["id"];
|
|
10089
|
-
}];
|
|
10090
|
-
};
|
|
10091
10295
|
nmbrs_component_mapping: {
|
|
10092
10296
|
Row: {
|
|
10093
10297
|
created_at: string;
|
|
@@ -10158,13 +10362,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
10158
10362
|
nmbrs_employee_number?: string;
|
|
10159
10363
|
updated_at?: string;
|
|
10160
10364
|
};
|
|
10161
|
-
Relationships: [
|
|
10162
|
-
foreignKeyName: "nmbrs_employee_mapping_monteur_id_fkey";
|
|
10163
|
-
columns: ["monteur_id"];
|
|
10164
|
-
isOneToOne: true;
|
|
10165
|
-
referencedRelation: "monteurs";
|
|
10166
|
-
referencedColumns: ["id"];
|
|
10167
|
-
}];
|
|
10365
|
+
Relationships: [];
|
|
10168
10366
|
};
|
|
10169
10367
|
nmbrs_export_lines: {
|
|
10170
10368
|
Row: {
|
|
@@ -10213,12 +10411,6 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
10213
10411
|
wage_code?: string;
|
|
10214
10412
|
};
|
|
10215
10413
|
Relationships: [{
|
|
10216
|
-
foreignKeyName: "nmbrs_export_lines_monteur_id_fkey";
|
|
10217
|
-
columns: ["monteur_id"];
|
|
10218
|
-
isOneToOne: false;
|
|
10219
|
-
referencedRelation: "monteurs";
|
|
10220
|
-
referencedColumns: ["id"];
|
|
10221
|
-
}, {
|
|
10222
10414
|
foreignKeyName: "nmbrs_export_lines_run_id_fkey";
|
|
10223
10415
|
columns: ["run_id"];
|
|
10224
10416
|
isOneToOne: false;
|
|
@@ -11046,6 +11238,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
11046
11238
|
error_message: string | null;
|
|
11047
11239
|
id: string;
|
|
11048
11240
|
invoice_number: string | null;
|
|
11241
|
+
next_attempt_at: string;
|
|
11049
11242
|
order_id: string;
|
|
11050
11243
|
processed_at: string | null;
|
|
11051
11244
|
status: string;
|
|
@@ -11057,6 +11250,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
11057
11250
|
error_message?: string | null;
|
|
11058
11251
|
id?: string;
|
|
11059
11252
|
invoice_number?: string | null;
|
|
11253
|
+
next_attempt_at?: string;
|
|
11060
11254
|
order_id: string;
|
|
11061
11255
|
processed_at?: string | null;
|
|
11062
11256
|
status?: string;
|
|
@@ -11068,6 +11262,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
11068
11262
|
error_message?: string | null;
|
|
11069
11263
|
id?: string;
|
|
11070
11264
|
invoice_number?: string | null;
|
|
11265
|
+
next_attempt_at?: string;
|
|
11071
11266
|
order_id?: string;
|
|
11072
11267
|
processed_at?: string | null;
|
|
11073
11268
|
status?: string;
|
|
@@ -12606,6 +12801,9 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
12606
12801
|
created_at: string;
|
|
12607
12802
|
id: string;
|
|
12608
12803
|
laatst_gezien: string;
|
|
12804
|
+
laatste_fout: string | null;
|
|
12805
|
+
laatste_request_id: number | null;
|
|
12806
|
+
mislukte_posts: number;
|
|
12609
12807
|
tick_sleutel: string;
|
|
12610
12808
|
updated_at: string;
|
|
12611
12809
|
};
|
|
@@ -12615,6 +12813,9 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
12615
12813
|
created_at?: string;
|
|
12616
12814
|
id?: string;
|
|
12617
12815
|
laatst_gezien?: string;
|
|
12816
|
+
laatste_fout?: string | null;
|
|
12817
|
+
laatste_request_id?: number | null;
|
|
12818
|
+
mislukte_posts?: number;
|
|
12618
12819
|
tick_sleutel?: string;
|
|
12619
12820
|
updated_at?: string;
|
|
12620
12821
|
};
|
|
@@ -12624,6 +12825,9 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
12624
12825
|
created_at?: string;
|
|
12625
12826
|
id?: string;
|
|
12626
12827
|
laatst_gezien?: string;
|
|
12828
|
+
laatste_fout?: string | null;
|
|
12829
|
+
laatste_request_id?: number | null;
|
|
12830
|
+
mislukte_posts?: number;
|
|
12627
12831
|
tick_sleutel?: string;
|
|
12628
12832
|
updated_at?: string;
|
|
12629
12833
|
};
|
|
@@ -14132,57 +14336,147 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
14132
14336
|
referencedColumns: ["id"];
|
|
14133
14337
|
}];
|
|
14134
14338
|
};
|
|
14135
|
-
|
|
14339
|
+
role_assignments: {
|
|
14136
14340
|
Row: {
|
|
14137
|
-
capacity: number;
|
|
14138
|
-
color_code: string | null;
|
|
14139
14341
|
created_at: string;
|
|
14140
|
-
description: string | null;
|
|
14141
|
-
hourly_rate: number;
|
|
14142
14342
|
id: string;
|
|
14143
|
-
|
|
14144
|
-
|
|
14145
|
-
name: string;
|
|
14343
|
+
role_id: string;
|
|
14344
|
+
user_id: string;
|
|
14146
14345
|
};
|
|
14147
14346
|
Insert: {
|
|
14148
|
-
capacity?: number;
|
|
14149
|
-
color_code?: string | null;
|
|
14150
14347
|
created_at?: string;
|
|
14151
|
-
description?: string | null;
|
|
14152
|
-
hourly_rate?: number;
|
|
14153
14348
|
id?: string;
|
|
14154
|
-
|
|
14155
|
-
|
|
14156
|
-
name: string;
|
|
14349
|
+
role_id: string;
|
|
14350
|
+
user_id: string;
|
|
14157
14351
|
};
|
|
14158
14352
|
Update: {
|
|
14159
|
-
capacity?: number;
|
|
14160
|
-
color_code?: string | null;
|
|
14161
14353
|
created_at?: string;
|
|
14162
|
-
description?: string | null;
|
|
14163
|
-
hourly_rate?: number;
|
|
14164
14354
|
id?: string;
|
|
14165
|
-
|
|
14166
|
-
|
|
14167
|
-
name?: string;
|
|
14355
|
+
role_id?: string;
|
|
14356
|
+
user_id?: string;
|
|
14168
14357
|
};
|
|
14169
|
-
Relationships: [
|
|
14358
|
+
Relationships: [{
|
|
14359
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
14360
|
+
columns: ["role_id"];
|
|
14361
|
+
isOneToOne: false;
|
|
14362
|
+
referencedRelation: "roles";
|
|
14363
|
+
referencedColumns: ["id"];
|
|
14364
|
+
}];
|
|
14170
14365
|
};
|
|
14171
|
-
|
|
14366
|
+
role_permissions: {
|
|
14172
14367
|
Row: {
|
|
14173
|
-
|
|
14368
|
+
can_edit: boolean;
|
|
14369
|
+
can_view: boolean;
|
|
14370
|
+
feature_id: string;
|
|
14174
14371
|
id: string;
|
|
14175
|
-
|
|
14176
|
-
|
|
14177
|
-
|
|
14178
|
-
product_id: string | null;
|
|
14179
|
-
product_name: string;
|
|
14180
|
-
quantity: number;
|
|
14181
|
-
scanned_at: string;
|
|
14182
|
-
scanned_by: string | null;
|
|
14372
|
+
module_id: string;
|
|
14373
|
+
role_id: string;
|
|
14374
|
+
updated_at: string;
|
|
14183
14375
|
};
|
|
14184
14376
|
Insert: {
|
|
14185
|
-
|
|
14377
|
+
can_edit?: boolean;
|
|
14378
|
+
can_view?: boolean;
|
|
14379
|
+
feature_id?: string;
|
|
14380
|
+
id?: string;
|
|
14381
|
+
module_id: string;
|
|
14382
|
+
role_id: string;
|
|
14383
|
+
updated_at?: string;
|
|
14384
|
+
};
|
|
14385
|
+
Update: {
|
|
14386
|
+
can_edit?: boolean;
|
|
14387
|
+
can_view?: boolean;
|
|
14388
|
+
feature_id?: string;
|
|
14389
|
+
id?: string;
|
|
14390
|
+
module_id?: string;
|
|
14391
|
+
role_id?: string;
|
|
14392
|
+
updated_at?: string;
|
|
14393
|
+
};
|
|
14394
|
+
Relationships: [{
|
|
14395
|
+
foreignKeyName: "role_permissions_role_id_fkey";
|
|
14396
|
+
columns: ["role_id"];
|
|
14397
|
+
isOneToOne: false;
|
|
14398
|
+
referencedRelation: "roles";
|
|
14399
|
+
referencedColumns: ["id"];
|
|
14400
|
+
}];
|
|
14401
|
+
};
|
|
14402
|
+
roles: {
|
|
14403
|
+
Row: {
|
|
14404
|
+
created_at: string;
|
|
14405
|
+
id: string;
|
|
14406
|
+
is_protected: boolean;
|
|
14407
|
+
key: string;
|
|
14408
|
+
name: string;
|
|
14409
|
+
updated_at: string;
|
|
14410
|
+
};
|
|
14411
|
+
Insert: {
|
|
14412
|
+
created_at?: string;
|
|
14413
|
+
id?: string;
|
|
14414
|
+
is_protected?: boolean;
|
|
14415
|
+
key: string;
|
|
14416
|
+
name: string;
|
|
14417
|
+
updated_at?: string;
|
|
14418
|
+
};
|
|
14419
|
+
Update: {
|
|
14420
|
+
created_at?: string;
|
|
14421
|
+
id?: string;
|
|
14422
|
+
is_protected?: boolean;
|
|
14423
|
+
key?: string;
|
|
14424
|
+
name?: string;
|
|
14425
|
+
updated_at?: string;
|
|
14426
|
+
};
|
|
14427
|
+
Relationships: [];
|
|
14428
|
+
};
|
|
14429
|
+
rooms: {
|
|
14430
|
+
Row: {
|
|
14431
|
+
capacity: number;
|
|
14432
|
+
color_code: string | null;
|
|
14433
|
+
created_at: string;
|
|
14434
|
+
description: string | null;
|
|
14435
|
+
hourly_rate: number;
|
|
14436
|
+
id: string;
|
|
14437
|
+
image_url: string | null;
|
|
14438
|
+
is_active: boolean;
|
|
14439
|
+
name: string;
|
|
14440
|
+
};
|
|
14441
|
+
Insert: {
|
|
14442
|
+
capacity?: number;
|
|
14443
|
+
color_code?: string | null;
|
|
14444
|
+
created_at?: string;
|
|
14445
|
+
description?: string | null;
|
|
14446
|
+
hourly_rate?: number;
|
|
14447
|
+
id?: string;
|
|
14448
|
+
image_url?: string | null;
|
|
14449
|
+
is_active?: boolean;
|
|
14450
|
+
name: string;
|
|
14451
|
+
};
|
|
14452
|
+
Update: {
|
|
14453
|
+
capacity?: number;
|
|
14454
|
+
color_code?: string | null;
|
|
14455
|
+
created_at?: string;
|
|
14456
|
+
description?: string | null;
|
|
14457
|
+
hourly_rate?: number;
|
|
14458
|
+
id?: string;
|
|
14459
|
+
image_url?: string | null;
|
|
14460
|
+
is_active?: boolean;
|
|
14461
|
+
name?: string;
|
|
14462
|
+
};
|
|
14463
|
+
Relationships: [];
|
|
14464
|
+
};
|
|
14465
|
+
scan_kar_items: {
|
|
14466
|
+
Row: {
|
|
14467
|
+
barcode: string;
|
|
14468
|
+
id: string;
|
|
14469
|
+
kar_id: string;
|
|
14470
|
+
pakbon_id: string;
|
|
14471
|
+
pakbon_item_id: string;
|
|
14472
|
+
product_id: string | null;
|
|
14473
|
+
product_name: string;
|
|
14474
|
+
quantity: number;
|
|
14475
|
+
scanned_at: string;
|
|
14476
|
+
scanned_by: string | null;
|
|
14477
|
+
};
|
|
14478
|
+
Insert: {
|
|
14479
|
+
barcode: string;
|
|
14186
14480
|
id?: string;
|
|
14187
14481
|
kar_id: string;
|
|
14188
14482
|
pakbon_id: string;
|
|
@@ -14801,6 +15095,54 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
14801
15095
|
};
|
|
14802
15096
|
Relationships: [];
|
|
14803
15097
|
};
|
|
15098
|
+
time_compensation_entries: {
|
|
15099
|
+
Row: {
|
|
15100
|
+
created_at: string;
|
|
15101
|
+
employee_id: string;
|
|
15102
|
+
entry_date: string;
|
|
15103
|
+
id: string;
|
|
15104
|
+
km: number;
|
|
15105
|
+
meal_allowance: number;
|
|
15106
|
+
notes: string | null;
|
|
15107
|
+
standby_evening: number;
|
|
15108
|
+
standby_weekend: number;
|
|
15109
|
+
tvt_change: number;
|
|
15110
|
+
updated_at: string;
|
|
15111
|
+
};
|
|
15112
|
+
Insert: {
|
|
15113
|
+
created_at?: string;
|
|
15114
|
+
employee_id: string;
|
|
15115
|
+
entry_date: string;
|
|
15116
|
+
id?: string;
|
|
15117
|
+
km?: number;
|
|
15118
|
+
meal_allowance?: number;
|
|
15119
|
+
notes?: string | null;
|
|
15120
|
+
standby_evening?: number;
|
|
15121
|
+
standby_weekend?: number;
|
|
15122
|
+
tvt_change?: number;
|
|
15123
|
+
updated_at?: string;
|
|
15124
|
+
};
|
|
15125
|
+
Update: {
|
|
15126
|
+
created_at?: string;
|
|
15127
|
+
employee_id?: string;
|
|
15128
|
+
entry_date?: string;
|
|
15129
|
+
id?: string;
|
|
15130
|
+
km?: number;
|
|
15131
|
+
meal_allowance?: number;
|
|
15132
|
+
notes?: string | null;
|
|
15133
|
+
standby_evening?: number;
|
|
15134
|
+
standby_weekend?: number;
|
|
15135
|
+
tvt_change?: number;
|
|
15136
|
+
updated_at?: string;
|
|
15137
|
+
};
|
|
15138
|
+
Relationships: [{
|
|
15139
|
+
foreignKeyName: "time_compensation_entries_employee_id_fkey";
|
|
15140
|
+
columns: ["employee_id"];
|
|
15141
|
+
isOneToOne: false;
|
|
15142
|
+
referencedRelation: "profiles";
|
|
15143
|
+
referencedColumns: ["id"];
|
|
15144
|
+
}];
|
|
15145
|
+
};
|
|
14804
15146
|
time_entries: {
|
|
14805
15147
|
Row: {
|
|
14806
15148
|
created_at: string;
|
|
@@ -14835,65 +15177,170 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
14835
15177
|
undertime?: number;
|
|
14836
15178
|
updated_at?: string;
|
|
14837
15179
|
};
|
|
15180
|
+
Relationships: [];
|
|
15181
|
+
};
|
|
15182
|
+
time_log_week_approvals: {
|
|
15183
|
+
Row: {
|
|
15184
|
+
approved_at: string | null;
|
|
15185
|
+
approved_by: string | null;
|
|
15186
|
+
created_at: string;
|
|
15187
|
+
employee_id: string;
|
|
15188
|
+
id: string;
|
|
15189
|
+
locked: boolean;
|
|
15190
|
+
notes: string | null;
|
|
15191
|
+
status: string;
|
|
15192
|
+
submitted_at: string | null;
|
|
15193
|
+
updated_at: string;
|
|
15194
|
+
week_start: string;
|
|
15195
|
+
};
|
|
15196
|
+
Insert: {
|
|
15197
|
+
approved_at?: string | null;
|
|
15198
|
+
approved_by?: string | null;
|
|
15199
|
+
created_at?: string;
|
|
15200
|
+
employee_id: string;
|
|
15201
|
+
id?: string;
|
|
15202
|
+
locked?: boolean;
|
|
15203
|
+
notes?: string | null;
|
|
15204
|
+
status?: string;
|
|
15205
|
+
submitted_at?: string | null;
|
|
15206
|
+
updated_at?: string;
|
|
15207
|
+
week_start: string;
|
|
15208
|
+
};
|
|
15209
|
+
Update: {
|
|
15210
|
+
approved_at?: string | null;
|
|
15211
|
+
approved_by?: string | null;
|
|
15212
|
+
created_at?: string;
|
|
15213
|
+
employee_id?: string;
|
|
15214
|
+
id?: string;
|
|
15215
|
+
locked?: boolean;
|
|
15216
|
+
notes?: string | null;
|
|
15217
|
+
status?: string;
|
|
15218
|
+
submitted_at?: string | null;
|
|
15219
|
+
updated_at?: string;
|
|
15220
|
+
week_start?: string;
|
|
15221
|
+
};
|
|
14838
15222
|
Relationships: [{
|
|
14839
|
-
foreignKeyName: "
|
|
15223
|
+
foreignKeyName: "time_log_week_approvals_employee_id_fkey";
|
|
14840
15224
|
columns: ["employee_id"];
|
|
14841
15225
|
isOneToOne: false;
|
|
14842
|
-
referencedRelation: "
|
|
15226
|
+
referencedRelation: "profiles";
|
|
14843
15227
|
referencedColumns: ["id"];
|
|
14844
15228
|
}];
|
|
14845
15229
|
};
|
|
14846
15230
|
time_logs: {
|
|
14847
15231
|
Row: {
|
|
15232
|
+
auto_stop_reason: string | null;
|
|
15233
|
+
auto_stopped: boolean;
|
|
14848
15234
|
created_at: string;
|
|
15235
|
+
current_latitude: number | null;
|
|
15236
|
+
current_longitude: number | null;
|
|
15237
|
+
current_position_updated_at: string | null;
|
|
14849
15238
|
employee_id: string;
|
|
15239
|
+
end_latitude: number | null;
|
|
15240
|
+
end_longitude: number | null;
|
|
14850
15241
|
end_time: string | null;
|
|
15242
|
+
eta_distance_km: number | null;
|
|
15243
|
+
eta_minutes: number | null;
|
|
15244
|
+
eta_updated_at: string | null;
|
|
15245
|
+
hour_category: string | null;
|
|
14851
15246
|
id: string;
|
|
15247
|
+
last_reminder_at: string | null;
|
|
14852
15248
|
notes: string | null;
|
|
14853
15249
|
overtime_hours: number;
|
|
14854
15250
|
overtime_type: string | null;
|
|
14855
15251
|
regular_hours: number;
|
|
15252
|
+
reminder_count: number;
|
|
15253
|
+
requires_review: boolean;
|
|
15254
|
+
start_latitude: number | null;
|
|
15255
|
+
start_longitude: number | null;
|
|
14856
15256
|
start_time: string;
|
|
14857
15257
|
travel_cost: number | null;
|
|
14858
15258
|
travel_distance_km: number | null;
|
|
15259
|
+
travel_duration_min: number | null;
|
|
15260
|
+
travel_time_minutes: number | null;
|
|
14859
15261
|
type: string;
|
|
14860
15262
|
updated_at: string;
|
|
15263
|
+
work_order_id: string | null;
|
|
14861
15264
|
};
|
|
14862
15265
|
Insert: {
|
|
15266
|
+
auto_stop_reason?: string | null;
|
|
15267
|
+
auto_stopped?: boolean;
|
|
14863
15268
|
created_at?: string;
|
|
15269
|
+
current_latitude?: number | null;
|
|
15270
|
+
current_longitude?: number | null;
|
|
15271
|
+
current_position_updated_at?: string | null;
|
|
14864
15272
|
employee_id: string;
|
|
15273
|
+
end_latitude?: number | null;
|
|
15274
|
+
end_longitude?: number | null;
|
|
14865
15275
|
end_time?: string | null;
|
|
15276
|
+
eta_distance_km?: number | null;
|
|
15277
|
+
eta_minutes?: number | null;
|
|
15278
|
+
eta_updated_at?: string | null;
|
|
15279
|
+
hour_category?: string | null;
|
|
14866
15280
|
id?: string;
|
|
15281
|
+
last_reminder_at?: string | null;
|
|
14867
15282
|
notes?: string | null;
|
|
14868
15283
|
overtime_hours?: number;
|
|
14869
15284
|
overtime_type?: string | null;
|
|
14870
15285
|
regular_hours?: number;
|
|
15286
|
+
reminder_count?: number;
|
|
15287
|
+
requires_review?: boolean;
|
|
15288
|
+
start_latitude?: number | null;
|
|
15289
|
+
start_longitude?: number | null;
|
|
14871
15290
|
start_time?: string;
|
|
14872
15291
|
travel_cost?: number | null;
|
|
14873
15292
|
travel_distance_km?: number | null;
|
|
15293
|
+
travel_duration_min?: number | null;
|
|
15294
|
+
travel_time_minutes?: number | null;
|
|
14874
15295
|
type: string;
|
|
14875
15296
|
updated_at?: string;
|
|
15297
|
+
work_order_id?: string | null;
|
|
14876
15298
|
};
|
|
14877
15299
|
Update: {
|
|
15300
|
+
auto_stop_reason?: string | null;
|
|
15301
|
+
auto_stopped?: boolean;
|
|
14878
15302
|
created_at?: string;
|
|
15303
|
+
current_latitude?: number | null;
|
|
15304
|
+
current_longitude?: number | null;
|
|
15305
|
+
current_position_updated_at?: string | null;
|
|
14879
15306
|
employee_id?: string;
|
|
15307
|
+
end_latitude?: number | null;
|
|
15308
|
+
end_longitude?: number | null;
|
|
14880
15309
|
end_time?: string | null;
|
|
15310
|
+
eta_distance_km?: number | null;
|
|
15311
|
+
eta_minutes?: number | null;
|
|
15312
|
+
eta_updated_at?: string | null;
|
|
15313
|
+
hour_category?: string | null;
|
|
14881
15314
|
id?: string;
|
|
15315
|
+
last_reminder_at?: string | null;
|
|
14882
15316
|
notes?: string | null;
|
|
14883
15317
|
overtime_hours?: number;
|
|
14884
15318
|
overtime_type?: string | null;
|
|
14885
15319
|
regular_hours?: number;
|
|
15320
|
+
reminder_count?: number;
|
|
15321
|
+
requires_review?: boolean;
|
|
15322
|
+
start_latitude?: number | null;
|
|
15323
|
+
start_longitude?: number | null;
|
|
14886
15324
|
start_time?: string;
|
|
14887
15325
|
travel_cost?: number | null;
|
|
14888
15326
|
travel_distance_km?: number | null;
|
|
15327
|
+
travel_duration_min?: number | null;
|
|
15328
|
+
travel_time_minutes?: number | null;
|
|
14889
15329
|
type?: string;
|
|
14890
15330
|
updated_at?: string;
|
|
15331
|
+
work_order_id?: string | null;
|
|
14891
15332
|
};
|
|
14892
15333
|
Relationships: [{
|
|
14893
15334
|
foreignKeyName: "time_logs_employee_id_fkey";
|
|
14894
15335
|
columns: ["employee_id"];
|
|
14895
15336
|
isOneToOne: false;
|
|
14896
|
-
referencedRelation: "
|
|
15337
|
+
referencedRelation: "profiles";
|
|
15338
|
+
referencedColumns: ["id"];
|
|
15339
|
+
}, {
|
|
15340
|
+
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
15341
|
+
columns: ["work_order_id"];
|
|
15342
|
+
isOneToOne: false;
|
|
15343
|
+
referencedRelation: "work_orders";
|
|
14897
15344
|
referencedColumns: ["id"];
|
|
14898
15345
|
}];
|
|
14899
15346
|
};
|
|
@@ -14932,7 +15379,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
14932
15379
|
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
14933
15380
|
columns: ["employee_id"];
|
|
14934
15381
|
isOneToOne: false;
|
|
14935
|
-
referencedRelation: "
|
|
15382
|
+
referencedRelation: "profiles";
|
|
14936
15383
|
referencedColumns: ["id"];
|
|
14937
15384
|
}];
|
|
14938
15385
|
};
|
|
@@ -15242,6 +15689,39 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
15242
15689
|
};
|
|
15243
15690
|
Relationships: [];
|
|
15244
15691
|
};
|
|
15692
|
+
twinfield_cron_locks: {
|
|
15693
|
+
Row: {
|
|
15694
|
+
created_at: string;
|
|
15695
|
+
heartbeat_at: string;
|
|
15696
|
+
job_name: string;
|
|
15697
|
+
last_error: string | null;
|
|
15698
|
+
last_finished_at: string | null;
|
|
15699
|
+
locked_at: string;
|
|
15700
|
+
run_id: string;
|
|
15701
|
+
updated_at: string;
|
|
15702
|
+
};
|
|
15703
|
+
Insert: {
|
|
15704
|
+
created_at?: string;
|
|
15705
|
+
heartbeat_at?: string;
|
|
15706
|
+
job_name: string;
|
|
15707
|
+
last_error?: string | null;
|
|
15708
|
+
last_finished_at?: string | null;
|
|
15709
|
+
locked_at?: string;
|
|
15710
|
+
run_id?: string;
|
|
15711
|
+
updated_at?: string;
|
|
15712
|
+
};
|
|
15713
|
+
Update: {
|
|
15714
|
+
created_at?: string;
|
|
15715
|
+
heartbeat_at?: string;
|
|
15716
|
+
job_name?: string;
|
|
15717
|
+
last_error?: string | null;
|
|
15718
|
+
last_finished_at?: string | null;
|
|
15719
|
+
locked_at?: string;
|
|
15720
|
+
run_id?: string;
|
|
15721
|
+
updated_at?: string;
|
|
15722
|
+
};
|
|
15723
|
+
Relationships: [];
|
|
15724
|
+
};
|
|
15245
15725
|
twinfield_customers: {
|
|
15246
15726
|
Row: {
|
|
15247
15727
|
address: string | null;
|
|
@@ -15842,6 +16322,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
15842
16322
|
twinfield_push_queue: {
|
|
15843
16323
|
Row: {
|
|
15844
16324
|
action: string;
|
|
16325
|
+
attempt_started_at: string | null;
|
|
15845
16326
|
attempts: number;
|
|
15846
16327
|
connection_id: string | null;
|
|
15847
16328
|
created_at: string;
|
|
@@ -15858,6 +16339,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
15858
16339
|
};
|
|
15859
16340
|
Insert: {
|
|
15860
16341
|
action?: string;
|
|
16342
|
+
attempt_started_at?: string | null;
|
|
15861
16343
|
attempts?: number;
|
|
15862
16344
|
connection_id?: string | null;
|
|
15863
16345
|
created_at?: string;
|
|
@@ -15874,6 +16356,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
15874
16356
|
};
|
|
15875
16357
|
Update: {
|
|
15876
16358
|
action?: string;
|
|
16359
|
+
attempt_started_at?: string | null;
|
|
15877
16360
|
attempts?: number;
|
|
15878
16361
|
connection_id?: string | null;
|
|
15879
16362
|
created_at?: string;
|
|
@@ -16071,13 +16554,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
16071
16554
|
workday_end?: string | null;
|
|
16072
16555
|
workday_start?: string | null;
|
|
16073
16556
|
};
|
|
16074
|
-
Relationships: [
|
|
16075
|
-
foreignKeyName: "uren_cao_profiles_monteur_id_fkey";
|
|
16076
|
-
columns: ["monteur_id"];
|
|
16077
|
-
isOneToOne: true;
|
|
16078
|
-
referencedRelation: "monteurs";
|
|
16079
|
-
referencedColumns: ["id"];
|
|
16080
|
-
}];
|
|
16557
|
+
Relationships: [];
|
|
16081
16558
|
};
|
|
16082
16559
|
uren_entries: {
|
|
16083
16560
|
Row: {
|
|
@@ -16123,12 +16600,6 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
16123
16600
|
werkbon_id?: string | null;
|
|
16124
16601
|
};
|
|
16125
16602
|
Relationships: [{
|
|
16126
|
-
foreignKeyName: "uren_entries_monteur_id_fkey";
|
|
16127
|
-
columns: ["monteur_id"];
|
|
16128
|
-
isOneToOne: false;
|
|
16129
|
-
referencedRelation: "monteurs";
|
|
16130
|
-
referencedColumns: ["id"];
|
|
16131
|
-
}, {
|
|
16132
16603
|
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
16133
16604
|
columns: ["werkbon_id"];
|
|
16134
16605
|
isOneToOne: false;
|
|
@@ -16596,17 +17067,12 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
16596
17067
|
submitted_at?: string | null;
|
|
16597
17068
|
updated_at?: string;
|
|
16598
17069
|
};
|
|
16599
|
-
Relationships: [
|
|
16600
|
-
foreignKeyName: "uren_weekstaten_monteur_id_fkey";
|
|
16601
|
-
columns: ["monteur_id"];
|
|
16602
|
-
isOneToOne: false;
|
|
16603
|
-
referencedRelation: "monteurs";
|
|
16604
|
-
referencedColumns: ["id"];
|
|
16605
|
-
}];
|
|
17070
|
+
Relationships: [];
|
|
16606
17071
|
};
|
|
16607
17072
|
user_module_permissions: {
|
|
16608
17073
|
Row: {
|
|
16609
17074
|
created_at: string;
|
|
17075
|
+
feature_id: string;
|
|
16610
17076
|
id: string;
|
|
16611
17077
|
module_id: string;
|
|
16612
17078
|
permission: string;
|
|
@@ -16615,6 +17081,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
16615
17081
|
};
|
|
16616
17082
|
Insert: {
|
|
16617
17083
|
created_at?: string;
|
|
17084
|
+
feature_id?: string;
|
|
16618
17085
|
id?: string;
|
|
16619
17086
|
module_id: string;
|
|
16620
17087
|
permission: string;
|
|
@@ -16623,6 +17090,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
16623
17090
|
};
|
|
16624
17091
|
Update: {
|
|
16625
17092
|
created_at?: string;
|
|
17093
|
+
feature_id?: string;
|
|
16626
17094
|
id?: string;
|
|
16627
17095
|
module_id?: string;
|
|
16628
17096
|
permission?: string;
|
|
@@ -16658,6 +17126,51 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
16658
17126
|
referencedColumns: ["id"];
|
|
16659
17127
|
}];
|
|
16660
17128
|
};
|
|
17129
|
+
van_inventories: {
|
|
17130
|
+
Row: {
|
|
17131
|
+
barcode: string | null;
|
|
17132
|
+
created_at: string;
|
|
17133
|
+
id: string;
|
|
17134
|
+
monteur_id: string | null;
|
|
17135
|
+
price_per_unit: number;
|
|
17136
|
+
product_name: string;
|
|
17137
|
+
quantity_current: number;
|
|
17138
|
+
quantity_min: number;
|
|
17139
|
+
unit: string;
|
|
17140
|
+
updated_at: string;
|
|
17141
|
+
};
|
|
17142
|
+
Insert: {
|
|
17143
|
+
barcode?: string | null;
|
|
17144
|
+
created_at?: string;
|
|
17145
|
+
id?: string;
|
|
17146
|
+
monteur_id?: string | null;
|
|
17147
|
+
price_per_unit?: number;
|
|
17148
|
+
product_name: string;
|
|
17149
|
+
quantity_current?: number;
|
|
17150
|
+
quantity_min?: number;
|
|
17151
|
+
unit?: string;
|
|
17152
|
+
updated_at?: string;
|
|
17153
|
+
};
|
|
17154
|
+
Update: {
|
|
17155
|
+
barcode?: string | null;
|
|
17156
|
+
created_at?: string;
|
|
17157
|
+
id?: string;
|
|
17158
|
+
monteur_id?: string | null;
|
|
17159
|
+
price_per_unit?: number;
|
|
17160
|
+
product_name?: string;
|
|
17161
|
+
quantity_current?: number;
|
|
17162
|
+
quantity_min?: number;
|
|
17163
|
+
unit?: string;
|
|
17164
|
+
updated_at?: string;
|
|
17165
|
+
};
|
|
17166
|
+
Relationships: [{
|
|
17167
|
+
foreignKeyName: "van_inventories_monteur_id_fkey";
|
|
17168
|
+
columns: ["monteur_id"];
|
|
17169
|
+
isOneToOne: false;
|
|
17170
|
+
referencedRelation: "profiles";
|
|
17171
|
+
referencedColumns: ["id"];
|
|
17172
|
+
}];
|
|
17173
|
+
};
|
|
16661
17174
|
voorraad_custom_fields: {
|
|
16662
17175
|
Row: {
|
|
16663
17176
|
created_at: string;
|
|
@@ -17608,7 +18121,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
17608
18121
|
foreignKeyName: "work_order_monteurs_monteur_id_fkey";
|
|
17609
18122
|
columns: ["monteur_id"];
|
|
17610
18123
|
isOneToOne: false;
|
|
17611
|
-
referencedRelation: "
|
|
18124
|
+
referencedRelation: "profiles";
|
|
17612
18125
|
referencedColumns: ["id"];
|
|
17613
18126
|
}, {
|
|
17614
18127
|
foreignKeyName: "work_order_monteurs_work_order_id_fkey";
|
|
@@ -17618,6 +18131,60 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
17618
18131
|
referencedColumns: ["id"];
|
|
17619
18132
|
}];
|
|
17620
18133
|
};
|
|
18134
|
+
work_order_photos: {
|
|
18135
|
+
Row: {
|
|
18136
|
+
ai_caption: string | null;
|
|
18137
|
+
ai_categorized_at: string | null;
|
|
18138
|
+
ai_labels: import("../integrations/supabase/types").Json | null;
|
|
18139
|
+
caption: string | null;
|
|
18140
|
+
created_at: string;
|
|
18141
|
+
id: string;
|
|
18142
|
+
monteur_id: string | null;
|
|
18143
|
+
photo_type: string;
|
|
18144
|
+
storage_path: string;
|
|
18145
|
+
updated_at: string;
|
|
18146
|
+
work_order_id: string;
|
|
18147
|
+
};
|
|
18148
|
+
Insert: {
|
|
18149
|
+
ai_caption?: string | null;
|
|
18150
|
+
ai_categorized_at?: string | null;
|
|
18151
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
18152
|
+
caption?: string | null;
|
|
18153
|
+
created_at?: string;
|
|
18154
|
+
id?: string;
|
|
18155
|
+
monteur_id?: string | null;
|
|
18156
|
+
photo_type?: string;
|
|
18157
|
+
storage_path: string;
|
|
18158
|
+
updated_at?: string;
|
|
18159
|
+
work_order_id: string;
|
|
18160
|
+
};
|
|
18161
|
+
Update: {
|
|
18162
|
+
ai_caption?: string | null;
|
|
18163
|
+
ai_categorized_at?: string | null;
|
|
18164
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
18165
|
+
caption?: string | null;
|
|
18166
|
+
created_at?: string;
|
|
18167
|
+
id?: string;
|
|
18168
|
+
monteur_id?: string | null;
|
|
18169
|
+
photo_type?: string;
|
|
18170
|
+
storage_path?: string;
|
|
18171
|
+
updated_at?: string;
|
|
18172
|
+
work_order_id?: string;
|
|
18173
|
+
};
|
|
18174
|
+
Relationships: [{
|
|
18175
|
+
foreignKeyName: "work_order_photos_monteur_id_fkey";
|
|
18176
|
+
columns: ["monteur_id"];
|
|
18177
|
+
isOneToOne: false;
|
|
18178
|
+
referencedRelation: "profiles";
|
|
18179
|
+
referencedColumns: ["id"];
|
|
18180
|
+
}, {
|
|
18181
|
+
foreignKeyName: "work_order_photos_work_order_id_fkey";
|
|
18182
|
+
columns: ["work_order_id"];
|
|
18183
|
+
isOneToOne: false;
|
|
18184
|
+
referencedRelation: "work_orders";
|
|
18185
|
+
referencedColumns: ["id"];
|
|
18186
|
+
}];
|
|
18187
|
+
};
|
|
17621
18188
|
work_orders: {
|
|
17622
18189
|
Row: {
|
|
17623
18190
|
assigned_to: string | null;
|
|
@@ -17649,7 +18216,6 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
17649
18216
|
scheduled_end_time: string | null;
|
|
17650
18217
|
scheduled_start_time: string | null;
|
|
17651
18218
|
status: string;
|
|
17652
|
-
tenant_id: string;
|
|
17653
18219
|
total_hours_worked: number | null;
|
|
17654
18220
|
total_price: number | null;
|
|
17655
18221
|
travel_time_minutes: number | null;
|
|
@@ -17687,7 +18253,6 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
17687
18253
|
scheduled_end_time?: string | null;
|
|
17688
18254
|
scheduled_start_time?: string | null;
|
|
17689
18255
|
status?: string;
|
|
17690
|
-
tenant_id: string;
|
|
17691
18256
|
total_hours_worked?: number | null;
|
|
17692
18257
|
total_price?: number | null;
|
|
17693
18258
|
travel_time_minutes?: number | null;
|
|
@@ -17725,7 +18290,6 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
17725
18290
|
scheduled_end_time?: string | null;
|
|
17726
18291
|
scheduled_start_time?: string | null;
|
|
17727
18292
|
status?: string;
|
|
17728
|
-
tenant_id?: string;
|
|
17729
18293
|
total_hours_worked?: number | null;
|
|
17730
18294
|
total_price?: number | null;
|
|
17731
18295
|
travel_time_minutes?: number | null;
|
|
@@ -17739,12 +18303,6 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
17739
18303
|
isOneToOne: false;
|
|
17740
18304
|
referencedRelation: "work_orders";
|
|
17741
18305
|
referencedColumns: ["id"];
|
|
17742
|
-
}, {
|
|
17743
|
-
foreignKeyName: "work_orders_tenant_id_fkey";
|
|
17744
|
-
columns: ["tenant_id"];
|
|
17745
|
-
isOneToOne: false;
|
|
17746
|
-
referencedRelation: "tenants";
|
|
17747
|
-
referencedColumns: ["id"];
|
|
17748
18306
|
}];
|
|
17749
18307
|
};
|
|
17750
18308
|
};
|
|
@@ -18429,6 +18987,19 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
18429
18987
|
};
|
|
18430
18988
|
Returns: undefined;
|
|
18431
18989
|
};
|
|
18990
|
+
approve_mailbox_order_proposal: {
|
|
18991
|
+
Args: {
|
|
18992
|
+
p_custom_fields: import("../integrations/supabase/types").Json;
|
|
18993
|
+
p_customer_id: string;
|
|
18994
|
+
p_delivery_date: string;
|
|
18995
|
+
p_field_values?: import("../integrations/supabase/types").Json;
|
|
18996
|
+
p_lines: import("../integrations/supabase/types").Json;
|
|
18997
|
+
p_notes: string;
|
|
18998
|
+
p_proposal_id: string;
|
|
18999
|
+
p_reviewed_by: string;
|
|
19000
|
+
};
|
|
19001
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19002
|
+
};
|
|
18432
19003
|
assign_cart_numbers: {
|
|
18433
19004
|
Args: {
|
|
18434
19005
|
p_carts: import("../integrations/supabase/types").Json;
|
|
@@ -18480,6 +19051,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
18480
19051
|
};
|
|
18481
19052
|
Returns: number;
|
|
18482
19053
|
};
|
|
19054
|
+
can_manage_hours: {
|
|
19055
|
+
Args: never;
|
|
19056
|
+
Returns: boolean;
|
|
19057
|
+
};
|
|
18483
19058
|
check_offer_product_available_stock: {
|
|
18484
19059
|
Args: {
|
|
18485
19060
|
p_campaign_product_id: string;
|
|
@@ -18669,6 +19244,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
18669
19244
|
};
|
|
18670
19245
|
Returns: {
|
|
18671
19246
|
action: string;
|
|
19247
|
+
attempt_started_at: string | null;
|
|
18672
19248
|
attempts: number;
|
|
18673
19249
|
connection_id: string | null;
|
|
18674
19250
|
created_at: string;
|
|
@@ -18756,6 +19332,30 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
18756
19332
|
agent_naam: string;
|
|
18757
19333
|
}[];
|
|
18758
19334
|
};
|
|
19335
|
+
consume_van_inventory: {
|
|
19336
|
+
Args: {
|
|
19337
|
+
p_inventory_id: string;
|
|
19338
|
+
p_quantity: number;
|
|
19339
|
+
};
|
|
19340
|
+
Returns: {
|
|
19341
|
+
barcode: string | null;
|
|
19342
|
+
created_at: string;
|
|
19343
|
+
id: string;
|
|
19344
|
+
monteur_id: string | null;
|
|
19345
|
+
price_per_unit: number;
|
|
19346
|
+
product_name: string;
|
|
19347
|
+
quantity_current: number;
|
|
19348
|
+
quantity_min: number;
|
|
19349
|
+
unit: string;
|
|
19350
|
+
updated_at: string;
|
|
19351
|
+
};
|
|
19352
|
+
SetofOptions: {
|
|
19353
|
+
from: "*";
|
|
19354
|
+
to: "van_inventories";
|
|
19355
|
+
isOneToOne: true;
|
|
19356
|
+
isSetofReturn: false;
|
|
19357
|
+
};
|
|
19358
|
+
};
|
|
18759
19359
|
control_get_todays_carts: {
|
|
18760
19360
|
Args: never;
|
|
18761
19361
|
Returns: {
|
|
@@ -18829,6 +19429,13 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
18829
19429
|
_user_id: string;
|
|
18830
19430
|
};
|
|
18831
19431
|
Returns: string;
|
|
19432
|
+
} | {
|
|
19433
|
+
Args: {
|
|
19434
|
+
_feature_id: string;
|
|
19435
|
+
_module_id: string;
|
|
19436
|
+
_user_id: string;
|
|
19437
|
+
};
|
|
19438
|
+
Returns: string;
|
|
18832
19439
|
};
|
|
18833
19440
|
email_auth_decrypt: {
|
|
18834
19441
|
Args: {
|
|
@@ -19180,12 +19787,6 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
19180
19787
|
Args: never;
|
|
19181
19788
|
Returns: string;
|
|
19182
19789
|
};
|
|
19183
|
-
get_work_order_tenant_id: {
|
|
19184
|
-
Args: {
|
|
19185
|
-
wo_id: string;
|
|
19186
|
-
};
|
|
19187
|
-
Returns: string;
|
|
19188
|
-
};
|
|
19189
19790
|
has_module_permission: {
|
|
19190
19791
|
Args: {
|
|
19191
19792
|
_min: string;
|
|
@@ -19219,6 +19820,13 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
19219
19820
|
};
|
|
19220
19821
|
Returns: boolean;
|
|
19221
19822
|
};
|
|
19823
|
+
is_time_log_week_locked: {
|
|
19824
|
+
Args: {
|
|
19825
|
+
p_employee_id: string;
|
|
19826
|
+
p_start_time: string;
|
|
19827
|
+
};
|
|
19828
|
+
Returns: boolean;
|
|
19829
|
+
};
|
|
19222
19830
|
is_user_admin: {
|
|
19223
19831
|
Args: never;
|
|
19224
19832
|
Returns: boolean;
|
|
@@ -19233,13 +19841,14 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
19233
19841
|
};
|
|
19234
19842
|
Returns: boolean;
|
|
19235
19843
|
};
|
|
19236
|
-
|
|
19844
|
+
list_medewerkers: {
|
|
19237
19845
|
Args: never;
|
|
19238
19846
|
Returns: {
|
|
19239
19847
|
avatar_url: string;
|
|
19240
19848
|
display_name: string;
|
|
19241
19849
|
email: string;
|
|
19242
19850
|
id: string;
|
|
19851
|
+
roles: string[];
|
|
19243
19852
|
}[];
|
|
19244
19853
|
};
|
|
19245
19854
|
list_my_planning_items: {
|
|
@@ -19730,6 +20339,65 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
19730
20339
|
};
|
|
19731
20340
|
Returns: number;
|
|
19732
20341
|
};
|
|
20342
|
+
logistics_plan_claim: {
|
|
20343
|
+
Args: {
|
|
20344
|
+
p_limit?: number;
|
|
20345
|
+
};
|
|
20346
|
+
Returns: {
|
|
20347
|
+
attempts: number;
|
|
20348
|
+
id: string;
|
|
20349
|
+
order_id: string;
|
|
20350
|
+
}[];
|
|
20351
|
+
};
|
|
20352
|
+
logistics_plan_enqueue: {
|
|
20353
|
+
Args: {
|
|
20354
|
+
p_order_id: string;
|
|
20355
|
+
p_reason?: string;
|
|
20356
|
+
};
|
|
20357
|
+
Returns: undefined;
|
|
20358
|
+
};
|
|
20359
|
+
logistics_plan_ensure_event: {
|
|
20360
|
+
Args: {
|
|
20361
|
+
p_order_id: string;
|
|
20362
|
+
};
|
|
20363
|
+
Returns: boolean;
|
|
20364
|
+
};
|
|
20365
|
+
logistics_plan_finish: {
|
|
20366
|
+
Args: {
|
|
20367
|
+
p_error?: string;
|
|
20368
|
+
p_id: string;
|
|
20369
|
+
};
|
|
20370
|
+
Returns: undefined;
|
|
20371
|
+
};
|
|
20372
|
+
logistics_plan_impact_orders: {
|
|
20373
|
+
Args: {
|
|
20374
|
+
p_order_id: string;
|
|
20375
|
+
};
|
|
20376
|
+
Returns: {
|
|
20377
|
+
buffer_id: string;
|
|
20378
|
+
order_id: string;
|
|
20379
|
+
plan_date: string;
|
|
20380
|
+
}[];
|
|
20381
|
+
};
|
|
20382
|
+
logistics_plan_kick: {
|
|
20383
|
+
Args: never;
|
|
20384
|
+
Returns: undefined;
|
|
20385
|
+
};
|
|
20386
|
+
logistics_plan_prune: {
|
|
20387
|
+
Args: never;
|
|
20388
|
+
Returns: number;
|
|
20389
|
+
};
|
|
20390
|
+
logistics_plan_release_stale: {
|
|
20391
|
+
Args: never;
|
|
20392
|
+
Returns: number;
|
|
20393
|
+
};
|
|
20394
|
+
logistics_plan_setting: {
|
|
20395
|
+
Args: {
|
|
20396
|
+
p_default: number;
|
|
20397
|
+
p_key: string;
|
|
20398
|
+
};
|
|
20399
|
+
Returns: number;
|
|
20400
|
+
};
|
|
19733
20401
|
logistics_queue_capacity_email: {
|
|
19734
20402
|
Args: {
|
|
19735
20403
|
p_alert_id: string;
|
|
@@ -19971,6 +20639,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
19971
20639
|
my_module_permissions: {
|
|
19972
20640
|
Args: never;
|
|
19973
20641
|
Returns: {
|
|
20642
|
+
feature_id: string;
|
|
19974
20643
|
module_id: string;
|
|
19975
20644
|
permission: string;
|
|
19976
20645
|
}[];
|
|
@@ -20851,6 +21520,16 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
20851
21520
|
};
|
|
20852
21521
|
Returns: string[];
|
|
20853
21522
|
};
|
|
21523
|
+
switch_time_log: {
|
|
21524
|
+
Args: {
|
|
21525
|
+
p_employee_id: string;
|
|
21526
|
+
p_start_lat?: number;
|
|
21527
|
+
p_start_lng?: number;
|
|
21528
|
+
p_type: string;
|
|
21529
|
+
p_work_order_id?: string;
|
|
21530
|
+
};
|
|
21531
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21532
|
+
};
|
|
20854
21533
|
sync_all_layer_stocks: {
|
|
20855
21534
|
Args: never;
|
|
20856
21535
|
Returns: undefined;
|
|
@@ -20901,6 +21580,24 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
|
|
|
20901
21580
|
};
|
|
20902
21581
|
Returns: boolean;
|
|
20903
21582
|
};
|
|
21583
|
+
twinfield_cron_lock_acquire: {
|
|
21584
|
+
Args: {
|
|
21585
|
+
_job_name: string;
|
|
21586
|
+
_stale_seconds?: number;
|
|
21587
|
+
};
|
|
21588
|
+
Returns: boolean;
|
|
21589
|
+
};
|
|
21590
|
+
twinfield_cron_lock_release: {
|
|
21591
|
+
Args: {
|
|
21592
|
+
_error?: string;
|
|
21593
|
+
_job_name: string;
|
|
21594
|
+
};
|
|
21595
|
+
Returns: undefined;
|
|
21596
|
+
};
|
|
21597
|
+
twinfield_prune_push_queue: {
|
|
21598
|
+
Args: never;
|
|
21599
|
+
Returns: number;
|
|
21600
|
+
};
|
|
20904
21601
|
twinfield_register_cron: {
|
|
20905
21602
|
Args: {
|
|
20906
21603
|
apikey?: string;
|