@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
|
@@ -884,6 +884,126 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
884
884
|
};
|
|
885
885
|
Relationships: [];
|
|
886
886
|
};
|
|
887
|
+
cao_holidays: {
|
|
888
|
+
Row: {
|
|
889
|
+
created_at: string;
|
|
890
|
+
description: string | null;
|
|
891
|
+
holiday_date: string;
|
|
892
|
+
id: string;
|
|
893
|
+
updated_at: string;
|
|
894
|
+
};
|
|
895
|
+
Insert: {
|
|
896
|
+
created_at?: string;
|
|
897
|
+
description?: string | null;
|
|
898
|
+
holiday_date: string;
|
|
899
|
+
id?: string;
|
|
900
|
+
updated_at?: string;
|
|
901
|
+
};
|
|
902
|
+
Update: {
|
|
903
|
+
created_at?: string;
|
|
904
|
+
description?: string | null;
|
|
905
|
+
holiday_date?: string;
|
|
906
|
+
id?: string;
|
|
907
|
+
updated_at?: string;
|
|
908
|
+
};
|
|
909
|
+
Relationships: [];
|
|
910
|
+
};
|
|
911
|
+
cao_settings: {
|
|
912
|
+
Row: {
|
|
913
|
+
auto_break_after_hours: number;
|
|
914
|
+
auto_break_minutes: number;
|
|
915
|
+
auto_break_unpaid: boolean;
|
|
916
|
+
auto_stop_after_hours: number;
|
|
917
|
+
callout_fee: number;
|
|
918
|
+
created_at: string;
|
|
919
|
+
daily_regular_hours: number;
|
|
920
|
+
default_hourly_rate: number;
|
|
921
|
+
id: string;
|
|
922
|
+
materials_markup_percent: number;
|
|
923
|
+
max_daily_hours: number;
|
|
924
|
+
max_weekly_hours: number;
|
|
925
|
+
meal_allowance_amount: number;
|
|
926
|
+
overtime_pct_178: number;
|
|
927
|
+
overtime_pct_189: number;
|
|
928
|
+
overtime_pct_212: number;
|
|
929
|
+
reminder_after_hours: number;
|
|
930
|
+
standby_evening_amount: number;
|
|
931
|
+
standby_weekend_amount: number;
|
|
932
|
+
travel_cost_per_km: number | null;
|
|
933
|
+
travel_cost_threshold_km: number | null;
|
|
934
|
+
travel_counts_as_work: boolean;
|
|
935
|
+
travel_hourly_rate: number;
|
|
936
|
+
travel_rate_per_hour: number;
|
|
937
|
+
travel_threshold_minutes: number;
|
|
938
|
+
updated_at: string;
|
|
939
|
+
weekend_always_212: boolean;
|
|
940
|
+
window_end: string;
|
|
941
|
+
window_start: string;
|
|
942
|
+
};
|
|
943
|
+
Insert: {
|
|
944
|
+
auto_break_after_hours?: number;
|
|
945
|
+
auto_break_minutes?: number;
|
|
946
|
+
auto_break_unpaid?: boolean;
|
|
947
|
+
auto_stop_after_hours?: number;
|
|
948
|
+
callout_fee?: number;
|
|
949
|
+
created_at?: string;
|
|
950
|
+
daily_regular_hours?: number;
|
|
951
|
+
default_hourly_rate?: number;
|
|
952
|
+
id?: string;
|
|
953
|
+
materials_markup_percent?: number;
|
|
954
|
+
max_daily_hours?: number;
|
|
955
|
+
max_weekly_hours?: number;
|
|
956
|
+
meal_allowance_amount?: number;
|
|
957
|
+
overtime_pct_178?: number;
|
|
958
|
+
overtime_pct_189?: number;
|
|
959
|
+
overtime_pct_212?: number;
|
|
960
|
+
reminder_after_hours?: number;
|
|
961
|
+
standby_evening_amount?: number;
|
|
962
|
+
standby_weekend_amount?: number;
|
|
963
|
+
travel_cost_per_km?: number | null;
|
|
964
|
+
travel_cost_threshold_km?: number | null;
|
|
965
|
+
travel_counts_as_work?: boolean;
|
|
966
|
+
travel_hourly_rate?: number;
|
|
967
|
+
travel_rate_per_hour?: number;
|
|
968
|
+
travel_threshold_minutes?: number;
|
|
969
|
+
updated_at?: string;
|
|
970
|
+
weekend_always_212?: boolean;
|
|
971
|
+
window_end?: string;
|
|
972
|
+
window_start?: string;
|
|
973
|
+
};
|
|
974
|
+
Update: {
|
|
975
|
+
auto_break_after_hours?: number;
|
|
976
|
+
auto_break_minutes?: number;
|
|
977
|
+
auto_break_unpaid?: boolean;
|
|
978
|
+
auto_stop_after_hours?: number;
|
|
979
|
+
callout_fee?: number;
|
|
980
|
+
created_at?: string;
|
|
981
|
+
daily_regular_hours?: number;
|
|
982
|
+
default_hourly_rate?: number;
|
|
983
|
+
id?: string;
|
|
984
|
+
materials_markup_percent?: number;
|
|
985
|
+
max_daily_hours?: number;
|
|
986
|
+
max_weekly_hours?: number;
|
|
987
|
+
meal_allowance_amount?: number;
|
|
988
|
+
overtime_pct_178?: number;
|
|
989
|
+
overtime_pct_189?: number;
|
|
990
|
+
overtime_pct_212?: number;
|
|
991
|
+
reminder_after_hours?: number;
|
|
992
|
+
standby_evening_amount?: number;
|
|
993
|
+
standby_weekend_amount?: number;
|
|
994
|
+
travel_cost_per_km?: number | null;
|
|
995
|
+
travel_cost_threshold_km?: number | null;
|
|
996
|
+
travel_counts_as_work?: boolean;
|
|
997
|
+
travel_hourly_rate?: number;
|
|
998
|
+
travel_rate_per_hour?: number;
|
|
999
|
+
travel_threshold_minutes?: number;
|
|
1000
|
+
updated_at?: string;
|
|
1001
|
+
weekend_always_212?: boolean;
|
|
1002
|
+
window_end?: string;
|
|
1003
|
+
window_start?: string;
|
|
1004
|
+
};
|
|
1005
|
+
Relationships: [];
|
|
1006
|
+
};
|
|
887
1007
|
carrier_shipping_rates: {
|
|
888
1008
|
Row: {
|
|
889
1009
|
carrier_id: string;
|
|
@@ -7778,7 +7898,6 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
7778
7898
|
start_date: string;
|
|
7779
7899
|
start_time: string | null;
|
|
7780
7900
|
status: string;
|
|
7781
|
-
tenant_id: string;
|
|
7782
7901
|
updated_at: string;
|
|
7783
7902
|
user_id: string;
|
|
7784
7903
|
};
|
|
@@ -7796,7 +7915,6 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
7796
7915
|
start_date: string;
|
|
7797
7916
|
start_time?: string | null;
|
|
7798
7917
|
status?: string;
|
|
7799
|
-
tenant_id?: string;
|
|
7800
7918
|
updated_at?: string;
|
|
7801
7919
|
user_id: string;
|
|
7802
7920
|
};
|
|
@@ -7814,7 +7932,6 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
7814
7932
|
start_date?: string;
|
|
7815
7933
|
start_time?: string | null;
|
|
7816
7934
|
status?: string;
|
|
7817
|
-
tenant_id?: string;
|
|
7818
7935
|
updated_at?: string;
|
|
7819
7936
|
user_id?: string;
|
|
7820
7937
|
};
|
|
@@ -7822,13 +7939,13 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
7822
7939
|
foreignKeyName: "leave_requests_monteur_id_fkey";
|
|
7823
7940
|
columns: ["monteur_id"];
|
|
7824
7941
|
isOneToOne: false;
|
|
7825
|
-
referencedRelation: "
|
|
7942
|
+
referencedRelation: "profiles";
|
|
7826
7943
|
referencedColumns: ["id"];
|
|
7827
7944
|
}, {
|
|
7828
7945
|
foreignKeyName: "leave_requests_user_id_fkey";
|
|
7829
7946
|
columns: ["user_id"];
|
|
7830
7947
|
isOneToOne: false;
|
|
7831
|
-
referencedRelation: "
|
|
7948
|
+
referencedRelation: "profiles";
|
|
7832
7949
|
referencedColumns: ["id"];
|
|
7833
7950
|
}];
|
|
7834
7951
|
};
|
|
@@ -8696,6 +8813,45 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
8696
8813
|
};
|
|
8697
8814
|
Relationships: [];
|
|
8698
8815
|
};
|
|
8816
|
+
logistics_plan_queue: {
|
|
8817
|
+
Row: {
|
|
8818
|
+
attempts: number;
|
|
8819
|
+
claimed_at: string | null;
|
|
8820
|
+
enqueued_at: string;
|
|
8821
|
+
error: string | null;
|
|
8822
|
+
id: string;
|
|
8823
|
+
next_attempt_at: string;
|
|
8824
|
+
order_id: string;
|
|
8825
|
+
reason: string;
|
|
8826
|
+
status: string;
|
|
8827
|
+
updated_at: string;
|
|
8828
|
+
};
|
|
8829
|
+
Insert: {
|
|
8830
|
+
attempts?: number;
|
|
8831
|
+
claimed_at?: string | null;
|
|
8832
|
+
enqueued_at?: string;
|
|
8833
|
+
error?: string | null;
|
|
8834
|
+
id?: string;
|
|
8835
|
+
next_attempt_at?: string;
|
|
8836
|
+
order_id: string;
|
|
8837
|
+
reason?: string;
|
|
8838
|
+
status?: string;
|
|
8839
|
+
updated_at?: string;
|
|
8840
|
+
};
|
|
8841
|
+
Update: {
|
|
8842
|
+
attempts?: number;
|
|
8843
|
+
claimed_at?: string | null;
|
|
8844
|
+
enqueued_at?: string;
|
|
8845
|
+
error?: string | null;
|
|
8846
|
+
id?: string;
|
|
8847
|
+
next_attempt_at?: string;
|
|
8848
|
+
order_id?: string;
|
|
8849
|
+
reason?: string;
|
|
8850
|
+
status?: string;
|
|
8851
|
+
updated_at?: string;
|
|
8852
|
+
};
|
|
8853
|
+
Relationships: [];
|
|
8854
|
+
};
|
|
8699
8855
|
logistics_plan_runs: {
|
|
8700
8856
|
Row: {
|
|
8701
8857
|
created_at: string;
|
|
@@ -8771,6 +8927,24 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
8771
8927
|
referencedColumns: ["id"];
|
|
8772
8928
|
}];
|
|
8773
8929
|
};
|
|
8930
|
+
logistics_plan_settings: {
|
|
8931
|
+
Row: {
|
|
8932
|
+
key: string;
|
|
8933
|
+
updated_at: string;
|
|
8934
|
+
value: string;
|
|
8935
|
+
};
|
|
8936
|
+
Insert: {
|
|
8937
|
+
key: string;
|
|
8938
|
+
updated_at?: string;
|
|
8939
|
+
value: string;
|
|
8940
|
+
};
|
|
8941
|
+
Update: {
|
|
8942
|
+
key?: string;
|
|
8943
|
+
updated_at?: string;
|
|
8944
|
+
value?: string;
|
|
8945
|
+
};
|
|
8946
|
+
Relationships: [];
|
|
8947
|
+
};
|
|
8774
8948
|
logistics_rebuffer_state: {
|
|
8775
8949
|
Row: {
|
|
8776
8950
|
created_at: string;
|
|
@@ -9926,6 +10100,90 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
9926
10100
|
};
|
|
9927
10101
|
Relationships: [];
|
|
9928
10102
|
};
|
|
10103
|
+
material_usage: {
|
|
10104
|
+
Row: {
|
|
10105
|
+
created_at: string;
|
|
10106
|
+
id: string;
|
|
10107
|
+
material_name: string;
|
|
10108
|
+
monteur_id: string | null;
|
|
10109
|
+
price_at_time: number;
|
|
10110
|
+
quantity_used: number;
|
|
10111
|
+
updated_at: string;
|
|
10112
|
+
van_inventory_id: string | null;
|
|
10113
|
+
work_order_id: string;
|
|
10114
|
+
};
|
|
10115
|
+
Insert: {
|
|
10116
|
+
created_at?: string;
|
|
10117
|
+
id?: string;
|
|
10118
|
+
material_name: string;
|
|
10119
|
+
monteur_id?: string | null;
|
|
10120
|
+
price_at_time?: number;
|
|
10121
|
+
quantity_used?: number;
|
|
10122
|
+
updated_at?: string;
|
|
10123
|
+
van_inventory_id?: string | null;
|
|
10124
|
+
work_order_id: string;
|
|
10125
|
+
};
|
|
10126
|
+
Update: {
|
|
10127
|
+
created_at?: string;
|
|
10128
|
+
id?: string;
|
|
10129
|
+
material_name?: string;
|
|
10130
|
+
monteur_id?: string | null;
|
|
10131
|
+
price_at_time?: number;
|
|
10132
|
+
quantity_used?: number;
|
|
10133
|
+
updated_at?: string;
|
|
10134
|
+
van_inventory_id?: string | null;
|
|
10135
|
+
work_order_id?: string;
|
|
10136
|
+
};
|
|
10137
|
+
Relationships: [{
|
|
10138
|
+
foreignKeyName: "material_usage_monteur_id_fkey";
|
|
10139
|
+
columns: ["monteur_id"];
|
|
10140
|
+
isOneToOne: false;
|
|
10141
|
+
referencedRelation: "profiles";
|
|
10142
|
+
referencedColumns: ["id"];
|
|
10143
|
+
}, {
|
|
10144
|
+
foreignKeyName: "material_usage_van_inventory_id_fkey";
|
|
10145
|
+
columns: ["van_inventory_id"];
|
|
10146
|
+
isOneToOne: false;
|
|
10147
|
+
referencedRelation: "van_inventories";
|
|
10148
|
+
referencedColumns: ["id"];
|
|
10149
|
+
}, {
|
|
10150
|
+
foreignKeyName: "material_usage_work_order_id_fkey";
|
|
10151
|
+
columns: ["work_order_id"];
|
|
10152
|
+
isOneToOne: false;
|
|
10153
|
+
referencedRelation: "work_orders";
|
|
10154
|
+
referencedColumns: ["id"];
|
|
10155
|
+
}];
|
|
10156
|
+
};
|
|
10157
|
+
module_features: {
|
|
10158
|
+
Row: {
|
|
10159
|
+
created_at: string;
|
|
10160
|
+
feature_id: string;
|
|
10161
|
+
id: string;
|
|
10162
|
+
is_active: boolean;
|
|
10163
|
+
last_seen_at: string;
|
|
10164
|
+
module_id: string;
|
|
10165
|
+
name: string;
|
|
10166
|
+
};
|
|
10167
|
+
Insert: {
|
|
10168
|
+
created_at?: string;
|
|
10169
|
+
feature_id: string;
|
|
10170
|
+
id?: string;
|
|
10171
|
+
is_active?: boolean;
|
|
10172
|
+
last_seen_at?: string;
|
|
10173
|
+
module_id: string;
|
|
10174
|
+
name: string;
|
|
10175
|
+
};
|
|
10176
|
+
Update: {
|
|
10177
|
+
created_at?: string;
|
|
10178
|
+
feature_id?: string;
|
|
10179
|
+
id?: string;
|
|
10180
|
+
is_active?: boolean;
|
|
10181
|
+
last_seen_at?: string;
|
|
10182
|
+
module_id?: string;
|
|
10183
|
+
name?: string;
|
|
10184
|
+
};
|
|
10185
|
+
Relationships: [];
|
|
10186
|
+
};
|
|
9929
10187
|
module_permissions: {
|
|
9930
10188
|
Row: {
|
|
9931
10189
|
created_at: string;
|
|
@@ -9956,6 +10214,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
9956
10214
|
module_registry: {
|
|
9957
10215
|
Row: {
|
|
9958
10216
|
created_at: string;
|
|
10217
|
+
enforce: boolean;
|
|
9959
10218
|
is_active: boolean;
|
|
9960
10219
|
last_seen_at: string;
|
|
9961
10220
|
module_id: string;
|
|
@@ -9965,6 +10224,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
9965
10224
|
};
|
|
9966
10225
|
Insert: {
|
|
9967
10226
|
created_at?: string;
|
|
10227
|
+
enforce?: boolean;
|
|
9968
10228
|
is_active?: boolean;
|
|
9969
10229
|
last_seen_at?: string;
|
|
9970
10230
|
module_id: string;
|
|
@@ -9974,6 +10234,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
9974
10234
|
};
|
|
9975
10235
|
Update: {
|
|
9976
10236
|
created_at?: string;
|
|
10237
|
+
enforce?: boolean;
|
|
9977
10238
|
is_active?: boolean;
|
|
9978
10239
|
last_seen_at?: string;
|
|
9979
10240
|
module_id?: string;
|
|
@@ -10034,63 +10295,6 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
10034
10295
|
};
|
|
10035
10296
|
Relationships: [];
|
|
10036
10297
|
};
|
|
10037
|
-
monteurs: {
|
|
10038
|
-
Row: {
|
|
10039
|
-
avatar_url: string | null;
|
|
10040
|
-
color: string | null;
|
|
10041
|
-
created_at: string;
|
|
10042
|
-
email: string | null;
|
|
10043
|
-
id: string;
|
|
10044
|
-
is_active: boolean;
|
|
10045
|
-
leave_balance_hours: number;
|
|
10046
|
-
name: string;
|
|
10047
|
-
persnr: number | null;
|
|
10048
|
-
phone: string | null;
|
|
10049
|
-
role: string;
|
|
10050
|
-
tenant_id: string;
|
|
10051
|
-
updated_at: string;
|
|
10052
|
-
user_id: string | null;
|
|
10053
|
-
};
|
|
10054
|
-
Insert: {
|
|
10055
|
-
avatar_url?: string | null;
|
|
10056
|
-
color?: string | null;
|
|
10057
|
-
created_at?: string;
|
|
10058
|
-
email?: string | null;
|
|
10059
|
-
id?: string;
|
|
10060
|
-
is_active?: boolean;
|
|
10061
|
-
leave_balance_hours?: number;
|
|
10062
|
-
name: string;
|
|
10063
|
-
persnr?: number | null;
|
|
10064
|
-
phone?: string | null;
|
|
10065
|
-
role?: string;
|
|
10066
|
-
tenant_id: string;
|
|
10067
|
-
updated_at?: string;
|
|
10068
|
-
user_id?: string | null;
|
|
10069
|
-
};
|
|
10070
|
-
Update: {
|
|
10071
|
-
avatar_url?: string | null;
|
|
10072
|
-
color?: string | null;
|
|
10073
|
-
created_at?: string;
|
|
10074
|
-
email?: string | null;
|
|
10075
|
-
id?: string;
|
|
10076
|
-
is_active?: boolean;
|
|
10077
|
-
leave_balance_hours?: number;
|
|
10078
|
-
name?: string;
|
|
10079
|
-
persnr?: number | null;
|
|
10080
|
-
phone?: string | null;
|
|
10081
|
-
role?: string;
|
|
10082
|
-
tenant_id?: string;
|
|
10083
|
-
updated_at?: string;
|
|
10084
|
-
user_id?: string | null;
|
|
10085
|
-
};
|
|
10086
|
-
Relationships: [{
|
|
10087
|
-
foreignKeyName: "monteurs_tenant_id_fkey";
|
|
10088
|
-
columns: ["tenant_id"];
|
|
10089
|
-
isOneToOne: false;
|
|
10090
|
-
referencedRelation: "tenants";
|
|
10091
|
-
referencedColumns: ["id"];
|
|
10092
|
-
}];
|
|
10093
|
-
};
|
|
10094
10298
|
nmbrs_component_mapping: {
|
|
10095
10299
|
Row: {
|
|
10096
10300
|
created_at: string;
|
|
@@ -10161,13 +10365,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
10161
10365
|
nmbrs_employee_number?: string;
|
|
10162
10366
|
updated_at?: string;
|
|
10163
10367
|
};
|
|
10164
|
-
Relationships: [
|
|
10165
|
-
foreignKeyName: "nmbrs_employee_mapping_monteur_id_fkey";
|
|
10166
|
-
columns: ["monteur_id"];
|
|
10167
|
-
isOneToOne: true;
|
|
10168
|
-
referencedRelation: "monteurs";
|
|
10169
|
-
referencedColumns: ["id"];
|
|
10170
|
-
}];
|
|
10368
|
+
Relationships: [];
|
|
10171
10369
|
};
|
|
10172
10370
|
nmbrs_export_lines: {
|
|
10173
10371
|
Row: {
|
|
@@ -10216,12 +10414,6 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
10216
10414
|
wage_code?: string;
|
|
10217
10415
|
};
|
|
10218
10416
|
Relationships: [{
|
|
10219
|
-
foreignKeyName: "nmbrs_export_lines_monteur_id_fkey";
|
|
10220
|
-
columns: ["monteur_id"];
|
|
10221
|
-
isOneToOne: false;
|
|
10222
|
-
referencedRelation: "monteurs";
|
|
10223
|
-
referencedColumns: ["id"];
|
|
10224
|
-
}, {
|
|
10225
10417
|
foreignKeyName: "nmbrs_export_lines_run_id_fkey";
|
|
10226
10418
|
columns: ["run_id"];
|
|
10227
10419
|
isOneToOne: false;
|
|
@@ -11049,6 +11241,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
11049
11241
|
error_message: string | null;
|
|
11050
11242
|
id: string;
|
|
11051
11243
|
invoice_number: string | null;
|
|
11244
|
+
next_attempt_at: string;
|
|
11052
11245
|
order_id: string;
|
|
11053
11246
|
processed_at: string | null;
|
|
11054
11247
|
status: string;
|
|
@@ -11060,6 +11253,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
11060
11253
|
error_message?: string | null;
|
|
11061
11254
|
id?: string;
|
|
11062
11255
|
invoice_number?: string | null;
|
|
11256
|
+
next_attempt_at?: string;
|
|
11063
11257
|
order_id: string;
|
|
11064
11258
|
processed_at?: string | null;
|
|
11065
11259
|
status?: string;
|
|
@@ -11071,6 +11265,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
11071
11265
|
error_message?: string | null;
|
|
11072
11266
|
id?: string;
|
|
11073
11267
|
invoice_number?: string | null;
|
|
11268
|
+
next_attempt_at?: string;
|
|
11074
11269
|
order_id?: string;
|
|
11075
11270
|
processed_at?: string | null;
|
|
11076
11271
|
status?: string;
|
|
@@ -12609,6 +12804,9 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
12609
12804
|
created_at: string;
|
|
12610
12805
|
id: string;
|
|
12611
12806
|
laatst_gezien: string;
|
|
12807
|
+
laatste_fout: string | null;
|
|
12808
|
+
laatste_request_id: number | null;
|
|
12809
|
+
mislukte_posts: number;
|
|
12612
12810
|
tick_sleutel: string;
|
|
12613
12811
|
updated_at: string;
|
|
12614
12812
|
};
|
|
@@ -12618,6 +12816,9 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
12618
12816
|
created_at?: string;
|
|
12619
12817
|
id?: string;
|
|
12620
12818
|
laatst_gezien?: string;
|
|
12819
|
+
laatste_fout?: string | null;
|
|
12820
|
+
laatste_request_id?: number | null;
|
|
12821
|
+
mislukte_posts?: number;
|
|
12621
12822
|
tick_sleutel?: string;
|
|
12622
12823
|
updated_at?: string;
|
|
12623
12824
|
};
|
|
@@ -12627,6 +12828,9 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
12627
12828
|
created_at?: string;
|
|
12628
12829
|
id?: string;
|
|
12629
12830
|
laatst_gezien?: string;
|
|
12831
|
+
laatste_fout?: string | null;
|
|
12832
|
+
laatste_request_id?: number | null;
|
|
12833
|
+
mislukte_posts?: number;
|
|
12630
12834
|
tick_sleutel?: string;
|
|
12631
12835
|
updated_at?: string;
|
|
12632
12836
|
};
|
|
@@ -14135,57 +14339,147 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
14135
14339
|
referencedColumns: ["id"];
|
|
14136
14340
|
}];
|
|
14137
14341
|
};
|
|
14138
|
-
|
|
14342
|
+
role_assignments: {
|
|
14139
14343
|
Row: {
|
|
14140
|
-
capacity: number;
|
|
14141
|
-
color_code: string | null;
|
|
14142
14344
|
created_at: string;
|
|
14143
|
-
description: string | null;
|
|
14144
|
-
hourly_rate: number;
|
|
14145
14345
|
id: string;
|
|
14146
|
-
|
|
14147
|
-
|
|
14148
|
-
name: string;
|
|
14346
|
+
role_id: string;
|
|
14347
|
+
user_id: string;
|
|
14149
14348
|
};
|
|
14150
14349
|
Insert: {
|
|
14151
|
-
capacity?: number;
|
|
14152
|
-
color_code?: string | null;
|
|
14153
14350
|
created_at?: string;
|
|
14154
|
-
description?: string | null;
|
|
14155
|
-
hourly_rate?: number;
|
|
14156
14351
|
id?: string;
|
|
14157
|
-
|
|
14158
|
-
|
|
14159
|
-
name: string;
|
|
14352
|
+
role_id: string;
|
|
14353
|
+
user_id: string;
|
|
14160
14354
|
};
|
|
14161
14355
|
Update: {
|
|
14162
|
-
capacity?: number;
|
|
14163
|
-
color_code?: string | null;
|
|
14164
14356
|
created_at?: string;
|
|
14165
|
-
description?: string | null;
|
|
14166
|
-
hourly_rate?: number;
|
|
14167
14357
|
id?: string;
|
|
14168
|
-
|
|
14169
|
-
|
|
14170
|
-
name?: string;
|
|
14358
|
+
role_id?: string;
|
|
14359
|
+
user_id?: string;
|
|
14171
14360
|
};
|
|
14172
|
-
Relationships: [
|
|
14361
|
+
Relationships: [{
|
|
14362
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
14363
|
+
columns: ["role_id"];
|
|
14364
|
+
isOneToOne: false;
|
|
14365
|
+
referencedRelation: "roles";
|
|
14366
|
+
referencedColumns: ["id"];
|
|
14367
|
+
}];
|
|
14173
14368
|
};
|
|
14174
|
-
|
|
14369
|
+
role_permissions: {
|
|
14175
14370
|
Row: {
|
|
14176
|
-
|
|
14371
|
+
can_edit: boolean;
|
|
14372
|
+
can_view: boolean;
|
|
14373
|
+
feature_id: string;
|
|
14177
14374
|
id: string;
|
|
14178
|
-
|
|
14179
|
-
|
|
14180
|
-
|
|
14181
|
-
product_id: string | null;
|
|
14182
|
-
product_name: string;
|
|
14183
|
-
quantity: number;
|
|
14184
|
-
scanned_at: string;
|
|
14185
|
-
scanned_by: string | null;
|
|
14375
|
+
module_id: string;
|
|
14376
|
+
role_id: string;
|
|
14377
|
+
updated_at: string;
|
|
14186
14378
|
};
|
|
14187
14379
|
Insert: {
|
|
14188
|
-
|
|
14380
|
+
can_edit?: boolean;
|
|
14381
|
+
can_view?: boolean;
|
|
14382
|
+
feature_id?: string;
|
|
14383
|
+
id?: string;
|
|
14384
|
+
module_id: string;
|
|
14385
|
+
role_id: string;
|
|
14386
|
+
updated_at?: string;
|
|
14387
|
+
};
|
|
14388
|
+
Update: {
|
|
14389
|
+
can_edit?: boolean;
|
|
14390
|
+
can_view?: boolean;
|
|
14391
|
+
feature_id?: string;
|
|
14392
|
+
id?: string;
|
|
14393
|
+
module_id?: string;
|
|
14394
|
+
role_id?: string;
|
|
14395
|
+
updated_at?: string;
|
|
14396
|
+
};
|
|
14397
|
+
Relationships: [{
|
|
14398
|
+
foreignKeyName: "role_permissions_role_id_fkey";
|
|
14399
|
+
columns: ["role_id"];
|
|
14400
|
+
isOneToOne: false;
|
|
14401
|
+
referencedRelation: "roles";
|
|
14402
|
+
referencedColumns: ["id"];
|
|
14403
|
+
}];
|
|
14404
|
+
};
|
|
14405
|
+
roles: {
|
|
14406
|
+
Row: {
|
|
14407
|
+
created_at: string;
|
|
14408
|
+
id: string;
|
|
14409
|
+
is_protected: boolean;
|
|
14410
|
+
key: string;
|
|
14411
|
+
name: string;
|
|
14412
|
+
updated_at: string;
|
|
14413
|
+
};
|
|
14414
|
+
Insert: {
|
|
14415
|
+
created_at?: string;
|
|
14416
|
+
id?: string;
|
|
14417
|
+
is_protected?: boolean;
|
|
14418
|
+
key: string;
|
|
14419
|
+
name: string;
|
|
14420
|
+
updated_at?: string;
|
|
14421
|
+
};
|
|
14422
|
+
Update: {
|
|
14423
|
+
created_at?: string;
|
|
14424
|
+
id?: string;
|
|
14425
|
+
is_protected?: boolean;
|
|
14426
|
+
key?: string;
|
|
14427
|
+
name?: string;
|
|
14428
|
+
updated_at?: string;
|
|
14429
|
+
};
|
|
14430
|
+
Relationships: [];
|
|
14431
|
+
};
|
|
14432
|
+
rooms: {
|
|
14433
|
+
Row: {
|
|
14434
|
+
capacity: number;
|
|
14435
|
+
color_code: string | null;
|
|
14436
|
+
created_at: string;
|
|
14437
|
+
description: string | null;
|
|
14438
|
+
hourly_rate: number;
|
|
14439
|
+
id: string;
|
|
14440
|
+
image_url: string | null;
|
|
14441
|
+
is_active: boolean;
|
|
14442
|
+
name: string;
|
|
14443
|
+
};
|
|
14444
|
+
Insert: {
|
|
14445
|
+
capacity?: number;
|
|
14446
|
+
color_code?: string | null;
|
|
14447
|
+
created_at?: string;
|
|
14448
|
+
description?: string | null;
|
|
14449
|
+
hourly_rate?: number;
|
|
14450
|
+
id?: string;
|
|
14451
|
+
image_url?: string | null;
|
|
14452
|
+
is_active?: boolean;
|
|
14453
|
+
name: string;
|
|
14454
|
+
};
|
|
14455
|
+
Update: {
|
|
14456
|
+
capacity?: number;
|
|
14457
|
+
color_code?: string | null;
|
|
14458
|
+
created_at?: string;
|
|
14459
|
+
description?: string | null;
|
|
14460
|
+
hourly_rate?: number;
|
|
14461
|
+
id?: string;
|
|
14462
|
+
image_url?: string | null;
|
|
14463
|
+
is_active?: boolean;
|
|
14464
|
+
name?: string;
|
|
14465
|
+
};
|
|
14466
|
+
Relationships: [];
|
|
14467
|
+
};
|
|
14468
|
+
scan_kar_items: {
|
|
14469
|
+
Row: {
|
|
14470
|
+
barcode: string;
|
|
14471
|
+
id: string;
|
|
14472
|
+
kar_id: string;
|
|
14473
|
+
pakbon_id: string;
|
|
14474
|
+
pakbon_item_id: string;
|
|
14475
|
+
product_id: string | null;
|
|
14476
|
+
product_name: string;
|
|
14477
|
+
quantity: number;
|
|
14478
|
+
scanned_at: string;
|
|
14479
|
+
scanned_by: string | null;
|
|
14480
|
+
};
|
|
14481
|
+
Insert: {
|
|
14482
|
+
barcode: string;
|
|
14189
14483
|
id?: string;
|
|
14190
14484
|
kar_id: string;
|
|
14191
14485
|
pakbon_id: string;
|
|
@@ -14804,6 +15098,54 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
14804
15098
|
};
|
|
14805
15099
|
Relationships: [];
|
|
14806
15100
|
};
|
|
15101
|
+
time_compensation_entries: {
|
|
15102
|
+
Row: {
|
|
15103
|
+
created_at: string;
|
|
15104
|
+
employee_id: string;
|
|
15105
|
+
entry_date: string;
|
|
15106
|
+
id: string;
|
|
15107
|
+
km: number;
|
|
15108
|
+
meal_allowance: number;
|
|
15109
|
+
notes: string | null;
|
|
15110
|
+
standby_evening: number;
|
|
15111
|
+
standby_weekend: number;
|
|
15112
|
+
tvt_change: number;
|
|
15113
|
+
updated_at: string;
|
|
15114
|
+
};
|
|
15115
|
+
Insert: {
|
|
15116
|
+
created_at?: string;
|
|
15117
|
+
employee_id: string;
|
|
15118
|
+
entry_date: string;
|
|
15119
|
+
id?: string;
|
|
15120
|
+
km?: number;
|
|
15121
|
+
meal_allowance?: number;
|
|
15122
|
+
notes?: string | null;
|
|
15123
|
+
standby_evening?: number;
|
|
15124
|
+
standby_weekend?: number;
|
|
15125
|
+
tvt_change?: number;
|
|
15126
|
+
updated_at?: string;
|
|
15127
|
+
};
|
|
15128
|
+
Update: {
|
|
15129
|
+
created_at?: string;
|
|
15130
|
+
employee_id?: string;
|
|
15131
|
+
entry_date?: string;
|
|
15132
|
+
id?: string;
|
|
15133
|
+
km?: number;
|
|
15134
|
+
meal_allowance?: number;
|
|
15135
|
+
notes?: string | null;
|
|
15136
|
+
standby_evening?: number;
|
|
15137
|
+
standby_weekend?: number;
|
|
15138
|
+
tvt_change?: number;
|
|
15139
|
+
updated_at?: string;
|
|
15140
|
+
};
|
|
15141
|
+
Relationships: [{
|
|
15142
|
+
foreignKeyName: "time_compensation_entries_employee_id_fkey";
|
|
15143
|
+
columns: ["employee_id"];
|
|
15144
|
+
isOneToOne: false;
|
|
15145
|
+
referencedRelation: "profiles";
|
|
15146
|
+
referencedColumns: ["id"];
|
|
15147
|
+
}];
|
|
15148
|
+
};
|
|
14807
15149
|
time_entries: {
|
|
14808
15150
|
Row: {
|
|
14809
15151
|
created_at: string;
|
|
@@ -14838,65 +15180,170 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
14838
15180
|
undertime?: number;
|
|
14839
15181
|
updated_at?: string;
|
|
14840
15182
|
};
|
|
15183
|
+
Relationships: [];
|
|
15184
|
+
};
|
|
15185
|
+
time_log_week_approvals: {
|
|
15186
|
+
Row: {
|
|
15187
|
+
approved_at: string | null;
|
|
15188
|
+
approved_by: string | null;
|
|
15189
|
+
created_at: string;
|
|
15190
|
+
employee_id: string;
|
|
15191
|
+
id: string;
|
|
15192
|
+
locked: boolean;
|
|
15193
|
+
notes: string | null;
|
|
15194
|
+
status: string;
|
|
15195
|
+
submitted_at: string | null;
|
|
15196
|
+
updated_at: string;
|
|
15197
|
+
week_start: string;
|
|
15198
|
+
};
|
|
15199
|
+
Insert: {
|
|
15200
|
+
approved_at?: string | null;
|
|
15201
|
+
approved_by?: string | null;
|
|
15202
|
+
created_at?: string;
|
|
15203
|
+
employee_id: string;
|
|
15204
|
+
id?: string;
|
|
15205
|
+
locked?: boolean;
|
|
15206
|
+
notes?: string | null;
|
|
15207
|
+
status?: string;
|
|
15208
|
+
submitted_at?: string | null;
|
|
15209
|
+
updated_at?: string;
|
|
15210
|
+
week_start: string;
|
|
15211
|
+
};
|
|
15212
|
+
Update: {
|
|
15213
|
+
approved_at?: string | null;
|
|
15214
|
+
approved_by?: string | null;
|
|
15215
|
+
created_at?: string;
|
|
15216
|
+
employee_id?: string;
|
|
15217
|
+
id?: string;
|
|
15218
|
+
locked?: boolean;
|
|
15219
|
+
notes?: string | null;
|
|
15220
|
+
status?: string;
|
|
15221
|
+
submitted_at?: string | null;
|
|
15222
|
+
updated_at?: string;
|
|
15223
|
+
week_start?: string;
|
|
15224
|
+
};
|
|
14841
15225
|
Relationships: [{
|
|
14842
|
-
foreignKeyName: "
|
|
15226
|
+
foreignKeyName: "time_log_week_approvals_employee_id_fkey";
|
|
14843
15227
|
columns: ["employee_id"];
|
|
14844
15228
|
isOneToOne: false;
|
|
14845
|
-
referencedRelation: "
|
|
15229
|
+
referencedRelation: "profiles";
|
|
14846
15230
|
referencedColumns: ["id"];
|
|
14847
15231
|
}];
|
|
14848
15232
|
};
|
|
14849
15233
|
time_logs: {
|
|
14850
15234
|
Row: {
|
|
15235
|
+
auto_stop_reason: string | null;
|
|
15236
|
+
auto_stopped: boolean;
|
|
14851
15237
|
created_at: string;
|
|
15238
|
+
current_latitude: number | null;
|
|
15239
|
+
current_longitude: number | null;
|
|
15240
|
+
current_position_updated_at: string | null;
|
|
14852
15241
|
employee_id: string;
|
|
15242
|
+
end_latitude: number | null;
|
|
15243
|
+
end_longitude: number | null;
|
|
14853
15244
|
end_time: string | null;
|
|
15245
|
+
eta_distance_km: number | null;
|
|
15246
|
+
eta_minutes: number | null;
|
|
15247
|
+
eta_updated_at: string | null;
|
|
15248
|
+
hour_category: string | null;
|
|
14854
15249
|
id: string;
|
|
15250
|
+
last_reminder_at: string | null;
|
|
14855
15251
|
notes: string | null;
|
|
14856
15252
|
overtime_hours: number;
|
|
14857
15253
|
overtime_type: string | null;
|
|
14858
15254
|
regular_hours: number;
|
|
15255
|
+
reminder_count: number;
|
|
15256
|
+
requires_review: boolean;
|
|
15257
|
+
start_latitude: number | null;
|
|
15258
|
+
start_longitude: number | null;
|
|
14859
15259
|
start_time: string;
|
|
14860
15260
|
travel_cost: number | null;
|
|
14861
15261
|
travel_distance_km: number | null;
|
|
15262
|
+
travel_duration_min: number | null;
|
|
15263
|
+
travel_time_minutes: number | null;
|
|
14862
15264
|
type: string;
|
|
14863
15265
|
updated_at: string;
|
|
15266
|
+
work_order_id: string | null;
|
|
14864
15267
|
};
|
|
14865
15268
|
Insert: {
|
|
15269
|
+
auto_stop_reason?: string | null;
|
|
15270
|
+
auto_stopped?: boolean;
|
|
14866
15271
|
created_at?: string;
|
|
15272
|
+
current_latitude?: number | null;
|
|
15273
|
+
current_longitude?: number | null;
|
|
15274
|
+
current_position_updated_at?: string | null;
|
|
14867
15275
|
employee_id: string;
|
|
15276
|
+
end_latitude?: number | null;
|
|
15277
|
+
end_longitude?: number | null;
|
|
14868
15278
|
end_time?: string | null;
|
|
15279
|
+
eta_distance_km?: number | null;
|
|
15280
|
+
eta_minutes?: number | null;
|
|
15281
|
+
eta_updated_at?: string | null;
|
|
15282
|
+
hour_category?: string | null;
|
|
14869
15283
|
id?: string;
|
|
15284
|
+
last_reminder_at?: string | null;
|
|
14870
15285
|
notes?: string | null;
|
|
14871
15286
|
overtime_hours?: number;
|
|
14872
15287
|
overtime_type?: string | null;
|
|
14873
15288
|
regular_hours?: number;
|
|
15289
|
+
reminder_count?: number;
|
|
15290
|
+
requires_review?: boolean;
|
|
15291
|
+
start_latitude?: number | null;
|
|
15292
|
+
start_longitude?: number | null;
|
|
14874
15293
|
start_time?: string;
|
|
14875
15294
|
travel_cost?: number | null;
|
|
14876
15295
|
travel_distance_km?: number | null;
|
|
15296
|
+
travel_duration_min?: number | null;
|
|
15297
|
+
travel_time_minutes?: number | null;
|
|
14877
15298
|
type: string;
|
|
14878
15299
|
updated_at?: string;
|
|
15300
|
+
work_order_id?: string | null;
|
|
14879
15301
|
};
|
|
14880
15302
|
Update: {
|
|
15303
|
+
auto_stop_reason?: string | null;
|
|
15304
|
+
auto_stopped?: boolean;
|
|
14881
15305
|
created_at?: string;
|
|
15306
|
+
current_latitude?: number | null;
|
|
15307
|
+
current_longitude?: number | null;
|
|
15308
|
+
current_position_updated_at?: string | null;
|
|
14882
15309
|
employee_id?: string;
|
|
15310
|
+
end_latitude?: number | null;
|
|
15311
|
+
end_longitude?: number | null;
|
|
14883
15312
|
end_time?: string | null;
|
|
15313
|
+
eta_distance_km?: number | null;
|
|
15314
|
+
eta_minutes?: number | null;
|
|
15315
|
+
eta_updated_at?: string | null;
|
|
15316
|
+
hour_category?: string | null;
|
|
14884
15317
|
id?: string;
|
|
15318
|
+
last_reminder_at?: string | null;
|
|
14885
15319
|
notes?: string | null;
|
|
14886
15320
|
overtime_hours?: number;
|
|
14887
15321
|
overtime_type?: string | null;
|
|
14888
15322
|
regular_hours?: number;
|
|
15323
|
+
reminder_count?: number;
|
|
15324
|
+
requires_review?: boolean;
|
|
15325
|
+
start_latitude?: number | null;
|
|
15326
|
+
start_longitude?: number | null;
|
|
14889
15327
|
start_time?: string;
|
|
14890
15328
|
travel_cost?: number | null;
|
|
14891
15329
|
travel_distance_km?: number | null;
|
|
15330
|
+
travel_duration_min?: number | null;
|
|
15331
|
+
travel_time_minutes?: number | null;
|
|
14892
15332
|
type?: string;
|
|
14893
15333
|
updated_at?: string;
|
|
15334
|
+
work_order_id?: string | null;
|
|
14894
15335
|
};
|
|
14895
15336
|
Relationships: [{
|
|
14896
15337
|
foreignKeyName: "time_logs_employee_id_fkey";
|
|
14897
15338
|
columns: ["employee_id"];
|
|
14898
15339
|
isOneToOne: false;
|
|
14899
|
-
referencedRelation: "
|
|
15340
|
+
referencedRelation: "profiles";
|
|
15341
|
+
referencedColumns: ["id"];
|
|
15342
|
+
}, {
|
|
15343
|
+
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
15344
|
+
columns: ["work_order_id"];
|
|
15345
|
+
isOneToOne: false;
|
|
15346
|
+
referencedRelation: "work_orders";
|
|
14900
15347
|
referencedColumns: ["id"];
|
|
14901
15348
|
}];
|
|
14902
15349
|
};
|
|
@@ -14935,7 +15382,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
14935
15382
|
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
14936
15383
|
columns: ["employee_id"];
|
|
14937
15384
|
isOneToOne: false;
|
|
14938
|
-
referencedRelation: "
|
|
15385
|
+
referencedRelation: "profiles";
|
|
14939
15386
|
referencedColumns: ["id"];
|
|
14940
15387
|
}];
|
|
14941
15388
|
};
|
|
@@ -15245,6 +15692,39 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
15245
15692
|
};
|
|
15246
15693
|
Relationships: [];
|
|
15247
15694
|
};
|
|
15695
|
+
twinfield_cron_locks: {
|
|
15696
|
+
Row: {
|
|
15697
|
+
created_at: string;
|
|
15698
|
+
heartbeat_at: string;
|
|
15699
|
+
job_name: string;
|
|
15700
|
+
last_error: string | null;
|
|
15701
|
+
last_finished_at: string | null;
|
|
15702
|
+
locked_at: string;
|
|
15703
|
+
run_id: string;
|
|
15704
|
+
updated_at: string;
|
|
15705
|
+
};
|
|
15706
|
+
Insert: {
|
|
15707
|
+
created_at?: string;
|
|
15708
|
+
heartbeat_at?: string;
|
|
15709
|
+
job_name: string;
|
|
15710
|
+
last_error?: string | null;
|
|
15711
|
+
last_finished_at?: string | null;
|
|
15712
|
+
locked_at?: string;
|
|
15713
|
+
run_id?: string;
|
|
15714
|
+
updated_at?: string;
|
|
15715
|
+
};
|
|
15716
|
+
Update: {
|
|
15717
|
+
created_at?: string;
|
|
15718
|
+
heartbeat_at?: string;
|
|
15719
|
+
job_name?: string;
|
|
15720
|
+
last_error?: string | null;
|
|
15721
|
+
last_finished_at?: string | null;
|
|
15722
|
+
locked_at?: string;
|
|
15723
|
+
run_id?: string;
|
|
15724
|
+
updated_at?: string;
|
|
15725
|
+
};
|
|
15726
|
+
Relationships: [];
|
|
15727
|
+
};
|
|
15248
15728
|
twinfield_customers: {
|
|
15249
15729
|
Row: {
|
|
15250
15730
|
address: string | null;
|
|
@@ -15845,6 +16325,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
15845
16325
|
twinfield_push_queue: {
|
|
15846
16326
|
Row: {
|
|
15847
16327
|
action: string;
|
|
16328
|
+
attempt_started_at: string | null;
|
|
15848
16329
|
attempts: number;
|
|
15849
16330
|
connection_id: string | null;
|
|
15850
16331
|
created_at: string;
|
|
@@ -15861,6 +16342,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
15861
16342
|
};
|
|
15862
16343
|
Insert: {
|
|
15863
16344
|
action?: string;
|
|
16345
|
+
attempt_started_at?: string | null;
|
|
15864
16346
|
attempts?: number;
|
|
15865
16347
|
connection_id?: string | null;
|
|
15866
16348
|
created_at?: string;
|
|
@@ -15877,6 +16359,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
15877
16359
|
};
|
|
15878
16360
|
Update: {
|
|
15879
16361
|
action?: string;
|
|
16362
|
+
attempt_started_at?: string | null;
|
|
15880
16363
|
attempts?: number;
|
|
15881
16364
|
connection_id?: string | null;
|
|
15882
16365
|
created_at?: string;
|
|
@@ -16074,13 +16557,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
16074
16557
|
workday_end?: string | null;
|
|
16075
16558
|
workday_start?: string | null;
|
|
16076
16559
|
};
|
|
16077
|
-
Relationships: [
|
|
16078
|
-
foreignKeyName: "uren_cao_profiles_monteur_id_fkey";
|
|
16079
|
-
columns: ["monteur_id"];
|
|
16080
|
-
isOneToOne: true;
|
|
16081
|
-
referencedRelation: "monteurs";
|
|
16082
|
-
referencedColumns: ["id"];
|
|
16083
|
-
}];
|
|
16560
|
+
Relationships: [];
|
|
16084
16561
|
};
|
|
16085
16562
|
uren_entries: {
|
|
16086
16563
|
Row: {
|
|
@@ -16126,12 +16603,6 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
16126
16603
|
werkbon_id?: string | null;
|
|
16127
16604
|
};
|
|
16128
16605
|
Relationships: [{
|
|
16129
|
-
foreignKeyName: "uren_entries_monteur_id_fkey";
|
|
16130
|
-
columns: ["monteur_id"];
|
|
16131
|
-
isOneToOne: false;
|
|
16132
|
-
referencedRelation: "monteurs";
|
|
16133
|
-
referencedColumns: ["id"];
|
|
16134
|
-
}, {
|
|
16135
16606
|
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
16136
16607
|
columns: ["werkbon_id"];
|
|
16137
16608
|
isOneToOne: false;
|
|
@@ -16599,17 +17070,12 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
16599
17070
|
submitted_at?: string | null;
|
|
16600
17071
|
updated_at?: string;
|
|
16601
17072
|
};
|
|
16602
|
-
Relationships: [
|
|
16603
|
-
foreignKeyName: "uren_weekstaten_monteur_id_fkey";
|
|
16604
|
-
columns: ["monteur_id"];
|
|
16605
|
-
isOneToOne: false;
|
|
16606
|
-
referencedRelation: "monteurs";
|
|
16607
|
-
referencedColumns: ["id"];
|
|
16608
|
-
}];
|
|
17073
|
+
Relationships: [];
|
|
16609
17074
|
};
|
|
16610
17075
|
user_module_permissions: {
|
|
16611
17076
|
Row: {
|
|
16612
17077
|
created_at: string;
|
|
17078
|
+
feature_id: string;
|
|
16613
17079
|
id: string;
|
|
16614
17080
|
module_id: string;
|
|
16615
17081
|
permission: string;
|
|
@@ -16618,6 +17084,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
16618
17084
|
};
|
|
16619
17085
|
Insert: {
|
|
16620
17086
|
created_at?: string;
|
|
17087
|
+
feature_id?: string;
|
|
16621
17088
|
id?: string;
|
|
16622
17089
|
module_id: string;
|
|
16623
17090
|
permission: string;
|
|
@@ -16626,6 +17093,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
16626
17093
|
};
|
|
16627
17094
|
Update: {
|
|
16628
17095
|
created_at?: string;
|
|
17096
|
+
feature_id?: string;
|
|
16629
17097
|
id?: string;
|
|
16630
17098
|
module_id?: string;
|
|
16631
17099
|
permission?: string;
|
|
@@ -16661,6 +17129,51 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
16661
17129
|
referencedColumns: ["id"];
|
|
16662
17130
|
}];
|
|
16663
17131
|
};
|
|
17132
|
+
van_inventories: {
|
|
17133
|
+
Row: {
|
|
17134
|
+
barcode: string | null;
|
|
17135
|
+
created_at: string;
|
|
17136
|
+
id: string;
|
|
17137
|
+
monteur_id: string | null;
|
|
17138
|
+
price_per_unit: number;
|
|
17139
|
+
product_name: string;
|
|
17140
|
+
quantity_current: number;
|
|
17141
|
+
quantity_min: number;
|
|
17142
|
+
unit: string;
|
|
17143
|
+
updated_at: string;
|
|
17144
|
+
};
|
|
17145
|
+
Insert: {
|
|
17146
|
+
barcode?: string | null;
|
|
17147
|
+
created_at?: string;
|
|
17148
|
+
id?: string;
|
|
17149
|
+
monteur_id?: string | null;
|
|
17150
|
+
price_per_unit?: number;
|
|
17151
|
+
product_name: string;
|
|
17152
|
+
quantity_current?: number;
|
|
17153
|
+
quantity_min?: number;
|
|
17154
|
+
unit?: string;
|
|
17155
|
+
updated_at?: string;
|
|
17156
|
+
};
|
|
17157
|
+
Update: {
|
|
17158
|
+
barcode?: string | null;
|
|
17159
|
+
created_at?: string;
|
|
17160
|
+
id?: string;
|
|
17161
|
+
monteur_id?: string | null;
|
|
17162
|
+
price_per_unit?: number;
|
|
17163
|
+
product_name?: string;
|
|
17164
|
+
quantity_current?: number;
|
|
17165
|
+
quantity_min?: number;
|
|
17166
|
+
unit?: string;
|
|
17167
|
+
updated_at?: string;
|
|
17168
|
+
};
|
|
17169
|
+
Relationships: [{
|
|
17170
|
+
foreignKeyName: "van_inventories_monteur_id_fkey";
|
|
17171
|
+
columns: ["monteur_id"];
|
|
17172
|
+
isOneToOne: false;
|
|
17173
|
+
referencedRelation: "profiles";
|
|
17174
|
+
referencedColumns: ["id"];
|
|
17175
|
+
}];
|
|
17176
|
+
};
|
|
16664
17177
|
voorraad_custom_fields: {
|
|
16665
17178
|
Row: {
|
|
16666
17179
|
created_at: string;
|
|
@@ -17611,7 +18124,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
17611
18124
|
foreignKeyName: "work_order_monteurs_monteur_id_fkey";
|
|
17612
18125
|
columns: ["monteur_id"];
|
|
17613
18126
|
isOneToOne: false;
|
|
17614
|
-
referencedRelation: "
|
|
18127
|
+
referencedRelation: "profiles";
|
|
17615
18128
|
referencedColumns: ["id"];
|
|
17616
18129
|
}, {
|
|
17617
18130
|
foreignKeyName: "work_order_monteurs_work_order_id_fkey";
|
|
@@ -17621,6 +18134,60 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
17621
18134
|
referencedColumns: ["id"];
|
|
17622
18135
|
}];
|
|
17623
18136
|
};
|
|
18137
|
+
work_order_photos: {
|
|
18138
|
+
Row: {
|
|
18139
|
+
ai_caption: string | null;
|
|
18140
|
+
ai_categorized_at: string | null;
|
|
18141
|
+
ai_labels: import("../integrations/supabase/types").Json | null;
|
|
18142
|
+
caption: string | null;
|
|
18143
|
+
created_at: string;
|
|
18144
|
+
id: string;
|
|
18145
|
+
monteur_id: string | null;
|
|
18146
|
+
photo_type: string;
|
|
18147
|
+
storage_path: string;
|
|
18148
|
+
updated_at: string;
|
|
18149
|
+
work_order_id: string;
|
|
18150
|
+
};
|
|
18151
|
+
Insert: {
|
|
18152
|
+
ai_caption?: string | null;
|
|
18153
|
+
ai_categorized_at?: string | null;
|
|
18154
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
18155
|
+
caption?: string | null;
|
|
18156
|
+
created_at?: string;
|
|
18157
|
+
id?: string;
|
|
18158
|
+
monteur_id?: string | null;
|
|
18159
|
+
photo_type?: string;
|
|
18160
|
+
storage_path: string;
|
|
18161
|
+
updated_at?: string;
|
|
18162
|
+
work_order_id: string;
|
|
18163
|
+
};
|
|
18164
|
+
Update: {
|
|
18165
|
+
ai_caption?: string | null;
|
|
18166
|
+
ai_categorized_at?: string | null;
|
|
18167
|
+
ai_labels?: import("../integrations/supabase/types").Json | null;
|
|
18168
|
+
caption?: string | null;
|
|
18169
|
+
created_at?: string;
|
|
18170
|
+
id?: string;
|
|
18171
|
+
monteur_id?: string | null;
|
|
18172
|
+
photo_type?: string;
|
|
18173
|
+
storage_path?: string;
|
|
18174
|
+
updated_at?: string;
|
|
18175
|
+
work_order_id?: string;
|
|
18176
|
+
};
|
|
18177
|
+
Relationships: [{
|
|
18178
|
+
foreignKeyName: "work_order_photos_monteur_id_fkey";
|
|
18179
|
+
columns: ["monteur_id"];
|
|
18180
|
+
isOneToOne: false;
|
|
18181
|
+
referencedRelation: "profiles";
|
|
18182
|
+
referencedColumns: ["id"];
|
|
18183
|
+
}, {
|
|
18184
|
+
foreignKeyName: "work_order_photos_work_order_id_fkey";
|
|
18185
|
+
columns: ["work_order_id"];
|
|
18186
|
+
isOneToOne: false;
|
|
18187
|
+
referencedRelation: "work_orders";
|
|
18188
|
+
referencedColumns: ["id"];
|
|
18189
|
+
}];
|
|
18190
|
+
};
|
|
17624
18191
|
work_orders: {
|
|
17625
18192
|
Row: {
|
|
17626
18193
|
assigned_to: string | null;
|
|
@@ -17652,7 +18219,6 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
17652
18219
|
scheduled_end_time: string | null;
|
|
17653
18220
|
scheduled_start_time: string | null;
|
|
17654
18221
|
status: string;
|
|
17655
|
-
tenant_id: string;
|
|
17656
18222
|
total_hours_worked: number | null;
|
|
17657
18223
|
total_price: number | null;
|
|
17658
18224
|
travel_time_minutes: number | null;
|
|
@@ -17690,7 +18256,6 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
17690
18256
|
scheduled_end_time?: string | null;
|
|
17691
18257
|
scheduled_start_time?: string | null;
|
|
17692
18258
|
status?: string;
|
|
17693
|
-
tenant_id: string;
|
|
17694
18259
|
total_hours_worked?: number | null;
|
|
17695
18260
|
total_price?: number | null;
|
|
17696
18261
|
travel_time_minutes?: number | null;
|
|
@@ -17728,7 +18293,6 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
17728
18293
|
scheduled_end_time?: string | null;
|
|
17729
18294
|
scheduled_start_time?: string | null;
|
|
17730
18295
|
status?: string;
|
|
17731
|
-
tenant_id?: string;
|
|
17732
18296
|
total_hours_worked?: number | null;
|
|
17733
18297
|
total_price?: number | null;
|
|
17734
18298
|
travel_time_minutes?: number | null;
|
|
@@ -17742,12 +18306,6 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
17742
18306
|
isOneToOne: false;
|
|
17743
18307
|
referencedRelation: "work_orders";
|
|
17744
18308
|
referencedColumns: ["id"];
|
|
17745
|
-
}, {
|
|
17746
|
-
foreignKeyName: "work_orders_tenant_id_fkey";
|
|
17747
|
-
columns: ["tenant_id"];
|
|
17748
|
-
isOneToOne: false;
|
|
17749
|
-
referencedRelation: "tenants";
|
|
17750
|
-
referencedColumns: ["id"];
|
|
17751
18309
|
}];
|
|
17752
18310
|
};
|
|
17753
18311
|
};
|
|
@@ -18432,6 +18990,19 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18432
18990
|
};
|
|
18433
18991
|
Returns: undefined;
|
|
18434
18992
|
};
|
|
18993
|
+
approve_mailbox_order_proposal: {
|
|
18994
|
+
Args: {
|
|
18995
|
+
p_custom_fields: import("../integrations/supabase/types").Json;
|
|
18996
|
+
p_customer_id: string;
|
|
18997
|
+
p_delivery_date: string;
|
|
18998
|
+
p_field_values?: import("../integrations/supabase/types").Json;
|
|
18999
|
+
p_lines: import("../integrations/supabase/types").Json;
|
|
19000
|
+
p_notes: string;
|
|
19001
|
+
p_proposal_id: string;
|
|
19002
|
+
p_reviewed_by: string;
|
|
19003
|
+
};
|
|
19004
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19005
|
+
};
|
|
18435
19006
|
assign_cart_numbers: {
|
|
18436
19007
|
Args: {
|
|
18437
19008
|
p_carts: import("../integrations/supabase/types").Json;
|
|
@@ -18483,6 +19054,10 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18483
19054
|
};
|
|
18484
19055
|
Returns: number;
|
|
18485
19056
|
};
|
|
19057
|
+
can_manage_hours: {
|
|
19058
|
+
Args: never;
|
|
19059
|
+
Returns: boolean;
|
|
19060
|
+
};
|
|
18486
19061
|
check_offer_product_available_stock: {
|
|
18487
19062
|
Args: {
|
|
18488
19063
|
p_campaign_product_id: string;
|
|
@@ -18672,6 +19247,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18672
19247
|
};
|
|
18673
19248
|
Returns: {
|
|
18674
19249
|
action: string;
|
|
19250
|
+
attempt_started_at: string | null;
|
|
18675
19251
|
attempts: number;
|
|
18676
19252
|
connection_id: string | null;
|
|
18677
19253
|
created_at: string;
|
|
@@ -18759,6 +19335,30 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18759
19335
|
agent_naam: string;
|
|
18760
19336
|
}[];
|
|
18761
19337
|
};
|
|
19338
|
+
consume_van_inventory: {
|
|
19339
|
+
Args: {
|
|
19340
|
+
p_inventory_id: string;
|
|
19341
|
+
p_quantity: number;
|
|
19342
|
+
};
|
|
19343
|
+
Returns: {
|
|
19344
|
+
barcode: string | null;
|
|
19345
|
+
created_at: string;
|
|
19346
|
+
id: string;
|
|
19347
|
+
monteur_id: string | null;
|
|
19348
|
+
price_per_unit: number;
|
|
19349
|
+
product_name: string;
|
|
19350
|
+
quantity_current: number;
|
|
19351
|
+
quantity_min: number;
|
|
19352
|
+
unit: string;
|
|
19353
|
+
updated_at: string;
|
|
19354
|
+
};
|
|
19355
|
+
SetofOptions: {
|
|
19356
|
+
from: "*";
|
|
19357
|
+
to: "van_inventories";
|
|
19358
|
+
isOneToOne: true;
|
|
19359
|
+
isSetofReturn: false;
|
|
19360
|
+
};
|
|
19361
|
+
};
|
|
18762
19362
|
control_get_todays_carts: {
|
|
18763
19363
|
Args: never;
|
|
18764
19364
|
Returns: {
|
|
@@ -18832,6 +19432,13 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
18832
19432
|
_user_id: string;
|
|
18833
19433
|
};
|
|
18834
19434
|
Returns: string;
|
|
19435
|
+
} | {
|
|
19436
|
+
Args: {
|
|
19437
|
+
_feature_id: string;
|
|
19438
|
+
_module_id: string;
|
|
19439
|
+
_user_id: string;
|
|
19440
|
+
};
|
|
19441
|
+
Returns: string;
|
|
18835
19442
|
};
|
|
18836
19443
|
email_auth_decrypt: {
|
|
18837
19444
|
Args: {
|
|
@@ -19183,12 +19790,6 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
19183
19790
|
Args: never;
|
|
19184
19791
|
Returns: string;
|
|
19185
19792
|
};
|
|
19186
|
-
get_work_order_tenant_id: {
|
|
19187
|
-
Args: {
|
|
19188
|
-
wo_id: string;
|
|
19189
|
-
};
|
|
19190
|
-
Returns: string;
|
|
19191
|
-
};
|
|
19192
19793
|
has_module_permission: {
|
|
19193
19794
|
Args: {
|
|
19194
19795
|
_min: string;
|
|
@@ -19222,6 +19823,13 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
19222
19823
|
};
|
|
19223
19824
|
Returns: boolean;
|
|
19224
19825
|
};
|
|
19826
|
+
is_time_log_week_locked: {
|
|
19827
|
+
Args: {
|
|
19828
|
+
p_employee_id: string;
|
|
19829
|
+
p_start_time: string;
|
|
19830
|
+
};
|
|
19831
|
+
Returns: boolean;
|
|
19832
|
+
};
|
|
19225
19833
|
is_user_admin: {
|
|
19226
19834
|
Args: never;
|
|
19227
19835
|
Returns: boolean;
|
|
@@ -19236,13 +19844,14 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
19236
19844
|
};
|
|
19237
19845
|
Returns: boolean;
|
|
19238
19846
|
};
|
|
19239
|
-
|
|
19847
|
+
list_medewerkers: {
|
|
19240
19848
|
Args: never;
|
|
19241
19849
|
Returns: {
|
|
19242
19850
|
avatar_url: string;
|
|
19243
19851
|
display_name: string;
|
|
19244
19852
|
email: string;
|
|
19245
19853
|
id: string;
|
|
19854
|
+
roles: string[];
|
|
19246
19855
|
}[];
|
|
19247
19856
|
};
|
|
19248
19857
|
list_my_planning_items: {
|
|
@@ -19733,6 +20342,65 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
19733
20342
|
};
|
|
19734
20343
|
Returns: number;
|
|
19735
20344
|
};
|
|
20345
|
+
logistics_plan_claim: {
|
|
20346
|
+
Args: {
|
|
20347
|
+
p_limit?: number;
|
|
20348
|
+
};
|
|
20349
|
+
Returns: {
|
|
20350
|
+
attempts: number;
|
|
20351
|
+
id: string;
|
|
20352
|
+
order_id: string;
|
|
20353
|
+
}[];
|
|
20354
|
+
};
|
|
20355
|
+
logistics_plan_enqueue: {
|
|
20356
|
+
Args: {
|
|
20357
|
+
p_order_id: string;
|
|
20358
|
+
p_reason?: string;
|
|
20359
|
+
};
|
|
20360
|
+
Returns: undefined;
|
|
20361
|
+
};
|
|
20362
|
+
logistics_plan_ensure_event: {
|
|
20363
|
+
Args: {
|
|
20364
|
+
p_order_id: string;
|
|
20365
|
+
};
|
|
20366
|
+
Returns: boolean;
|
|
20367
|
+
};
|
|
20368
|
+
logistics_plan_finish: {
|
|
20369
|
+
Args: {
|
|
20370
|
+
p_error?: string;
|
|
20371
|
+
p_id: string;
|
|
20372
|
+
};
|
|
20373
|
+
Returns: undefined;
|
|
20374
|
+
};
|
|
20375
|
+
logistics_plan_impact_orders: {
|
|
20376
|
+
Args: {
|
|
20377
|
+
p_order_id: string;
|
|
20378
|
+
};
|
|
20379
|
+
Returns: {
|
|
20380
|
+
buffer_id: string;
|
|
20381
|
+
order_id: string;
|
|
20382
|
+
plan_date: string;
|
|
20383
|
+
}[];
|
|
20384
|
+
};
|
|
20385
|
+
logistics_plan_kick: {
|
|
20386
|
+
Args: never;
|
|
20387
|
+
Returns: undefined;
|
|
20388
|
+
};
|
|
20389
|
+
logistics_plan_prune: {
|
|
20390
|
+
Args: never;
|
|
20391
|
+
Returns: number;
|
|
20392
|
+
};
|
|
20393
|
+
logistics_plan_release_stale: {
|
|
20394
|
+
Args: never;
|
|
20395
|
+
Returns: number;
|
|
20396
|
+
};
|
|
20397
|
+
logistics_plan_setting: {
|
|
20398
|
+
Args: {
|
|
20399
|
+
p_default: number;
|
|
20400
|
+
p_key: string;
|
|
20401
|
+
};
|
|
20402
|
+
Returns: number;
|
|
20403
|
+
};
|
|
19736
20404
|
logistics_queue_capacity_email: {
|
|
19737
20405
|
Args: {
|
|
19738
20406
|
p_alert_id: string;
|
|
@@ -19974,6 +20642,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
19974
20642
|
my_module_permissions: {
|
|
19975
20643
|
Args: never;
|
|
19976
20644
|
Returns: {
|
|
20645
|
+
feature_id: string;
|
|
19977
20646
|
module_id: string;
|
|
19978
20647
|
permission: string;
|
|
19979
20648
|
}[];
|
|
@@ -20854,6 +21523,16 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
20854
21523
|
};
|
|
20855
21524
|
Returns: string[];
|
|
20856
21525
|
};
|
|
21526
|
+
switch_time_log: {
|
|
21527
|
+
Args: {
|
|
21528
|
+
p_employee_id: string;
|
|
21529
|
+
p_start_lat?: number;
|
|
21530
|
+
p_start_lng?: number;
|
|
21531
|
+
p_type: string;
|
|
21532
|
+
p_work_order_id?: string;
|
|
21533
|
+
};
|
|
21534
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21535
|
+
};
|
|
20857
21536
|
sync_all_layer_stocks: {
|
|
20858
21537
|
Args: never;
|
|
20859
21538
|
Returns: undefined;
|
|
@@ -20904,6 +21583,24 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
|
|
|
20904
21583
|
};
|
|
20905
21584
|
Returns: boolean;
|
|
20906
21585
|
};
|
|
21586
|
+
twinfield_cron_lock_acquire: {
|
|
21587
|
+
Args: {
|
|
21588
|
+
_job_name: string;
|
|
21589
|
+
_stale_seconds?: number;
|
|
21590
|
+
};
|
|
21591
|
+
Returns: boolean;
|
|
21592
|
+
};
|
|
21593
|
+
twinfield_cron_lock_release: {
|
|
21594
|
+
Args: {
|
|
21595
|
+
_error?: string;
|
|
21596
|
+
_job_name: string;
|
|
21597
|
+
};
|
|
21598
|
+
Returns: undefined;
|
|
21599
|
+
};
|
|
21600
|
+
twinfield_prune_push_queue: {
|
|
21601
|
+
Args: never;
|
|
21602
|
+
Returns: number;
|
|
21603
|
+
};
|
|
20907
21604
|
twinfield_register_cron: {
|
|
20908
21605
|
Args: {
|
|
20909
21606
|
apikey?: string;
|