@flowselections/floriday-afhandeling-module 1.0.43 → 1.0.44
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/afhandeling/WeekAgendaView.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/WeekAgendaView.js +24 -1
- package/dist-lib/hooks/useEngineBufferEvents.d.ts +7 -0
- package/dist-lib/hooks/useEngineBufferEvents.d.ts.map +1 -0
- package/dist-lib/hooks/useEngineBufferEvents.js +47 -0
- package/dist-lib/hooks/useKnownOrders.d.ts +1 -0
- package/dist-lib/hooks/useKnownOrders.d.ts.map +1 -1
- package/dist-lib/hooks/useKnownOrders.js +26 -1
- package/dist-lib/hooks/usePickAgenda.d.ts +4 -0
- package/dist-lib/hooks/usePickAgenda.d.ts.map +1 -1
- package/dist-lib/hooks/usePickAgenda.js +6 -3
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +173 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +173 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +173 -0
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +173 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +346 -0
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/carriers.functions.d.ts +865 -0
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.d.ts +865 -0
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.d.ts +1903 -0
- package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
- package/dist-lib/lib/deliveryNote.functions.d.ts +173 -0
- package/dist-lib/lib/deliveryNote.functions.d.ts.map +1 -1
- package/dist-lib/lib/engineLayouts.functions.d.ts +173 -0
- package/dist-lib/lib/engineLayouts.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +348 -0
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.js +1 -0
- package/dist-lib/lib/orderFulfilment.functions.d.ts +173 -0
- package/dist-lib/lib/orderFulfilment.functions.d.ts.map +1 -1
- package/dist-lib/lib/pickDates.functions.d.ts +173 -0
- package/dist-lib/lib/pickDates.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2180,6 +2180,8 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
2180
2180
|
created_at: string;
|
|
2181
2181
|
currency: string;
|
|
2182
2182
|
distribute_over: string | null;
|
|
2183
|
+
external_id: string | null;
|
|
2184
|
+
external_synced_at: string | null;
|
|
2183
2185
|
group_type: string;
|
|
2184
2186
|
handling_fee: number | null;
|
|
2185
2187
|
id: string;
|
|
@@ -2192,6 +2194,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
2192
2194
|
rounding: string;
|
|
2193
2195
|
rounding_step: number;
|
|
2194
2196
|
sort_order: number;
|
|
2197
|
+
source: string;
|
|
2195
2198
|
unit: string;
|
|
2196
2199
|
updated_at: string;
|
|
2197
2200
|
};
|
|
@@ -2202,6 +2205,8 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
2202
2205
|
created_at?: string;
|
|
2203
2206
|
currency?: string;
|
|
2204
2207
|
distribute_over?: string | null;
|
|
2208
|
+
external_id?: string | null;
|
|
2209
|
+
external_synced_at?: string | null;
|
|
2205
2210
|
group_type?: string;
|
|
2206
2211
|
handling_fee?: number | null;
|
|
2207
2212
|
id?: string;
|
|
@@ -2214,6 +2219,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
2214
2219
|
rounding?: string;
|
|
2215
2220
|
rounding_step?: number;
|
|
2216
2221
|
sort_order?: number;
|
|
2222
|
+
source?: string;
|
|
2217
2223
|
unit?: string;
|
|
2218
2224
|
updated_at?: string;
|
|
2219
2225
|
};
|
|
@@ -2224,6 +2230,8 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
2224
2230
|
created_at?: string;
|
|
2225
2231
|
currency?: string;
|
|
2226
2232
|
distribute_over?: string | null;
|
|
2233
|
+
external_id?: string | null;
|
|
2234
|
+
external_synced_at?: string | null;
|
|
2227
2235
|
group_type?: string;
|
|
2228
2236
|
handling_fee?: number | null;
|
|
2229
2237
|
id?: string;
|
|
@@ -2236,6 +2244,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
2236
2244
|
rounding?: string;
|
|
2237
2245
|
rounding_step?: number;
|
|
2238
2246
|
sort_order?: number;
|
|
2247
|
+
source?: string;
|
|
2239
2248
|
unit?: string;
|
|
2240
2249
|
updated_at?: string;
|
|
2241
2250
|
};
|
|
@@ -9099,6 +9108,30 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
9099
9108
|
referencedColumns: ["id"];
|
|
9100
9109
|
}];
|
|
9101
9110
|
};
|
|
9111
|
+
job_locks: {
|
|
9112
|
+
Row: {
|
|
9113
|
+
created_at: string;
|
|
9114
|
+
lock_key: string;
|
|
9115
|
+
locked_until: string;
|
|
9116
|
+
owner: string | null;
|
|
9117
|
+
updated_at: string;
|
|
9118
|
+
};
|
|
9119
|
+
Insert: {
|
|
9120
|
+
created_at?: string;
|
|
9121
|
+
lock_key: string;
|
|
9122
|
+
locked_until: string;
|
|
9123
|
+
owner?: string | null;
|
|
9124
|
+
updated_at?: string;
|
|
9125
|
+
};
|
|
9126
|
+
Update: {
|
|
9127
|
+
created_at?: string;
|
|
9128
|
+
lock_key?: string;
|
|
9129
|
+
locked_until?: string;
|
|
9130
|
+
owner?: string | null;
|
|
9131
|
+
updated_at?: string;
|
|
9132
|
+
};
|
|
9133
|
+
Relationships: [];
|
|
9134
|
+
};
|
|
9102
9135
|
layout_logos: {
|
|
9103
9136
|
Row: {
|
|
9104
9137
|
bestand_url: string;
|
|
@@ -10261,6 +10294,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
10261
10294
|
next_attempt_at: string;
|
|
10262
10295
|
order_id: string;
|
|
10263
10296
|
reason: string;
|
|
10297
|
+
reason_code: string | null;
|
|
10264
10298
|
status: string;
|
|
10265
10299
|
updated_at: string;
|
|
10266
10300
|
};
|
|
@@ -10273,6 +10307,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
10273
10307
|
next_attempt_at?: string;
|
|
10274
10308
|
order_id: string;
|
|
10275
10309
|
reason?: string;
|
|
10310
|
+
reason_code?: string | null;
|
|
10276
10311
|
status?: string;
|
|
10277
10312
|
updated_at?: string;
|
|
10278
10313
|
};
|
|
@@ -10285,6 +10320,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
10285
10320
|
next_attempt_at?: string;
|
|
10286
10321
|
order_id?: string;
|
|
10287
10322
|
reason?: string;
|
|
10323
|
+
reason_code?: string | null;
|
|
10288
10324
|
status?: string;
|
|
10289
10325
|
updated_at?: string;
|
|
10290
10326
|
};
|
|
@@ -10989,6 +11025,21 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
10989
11025
|
referencedColumns: ["id"];
|
|
10990
11026
|
}];
|
|
10991
11027
|
};
|
|
11028
|
+
logistics_tick_heartbeat: {
|
|
11029
|
+
Row: {
|
|
11030
|
+
id: boolean;
|
|
11031
|
+
last_tick_at: string;
|
|
11032
|
+
};
|
|
11033
|
+
Insert: {
|
|
11034
|
+
id?: boolean;
|
|
11035
|
+
last_tick_at?: string;
|
|
11036
|
+
};
|
|
11037
|
+
Update: {
|
|
11038
|
+
id?: boolean;
|
|
11039
|
+
last_tick_at?: string;
|
|
11040
|
+
};
|
|
11041
|
+
Relationships: [];
|
|
11042
|
+
};
|
|
10992
11043
|
logistics_variables: {
|
|
10993
11044
|
Row: {
|
|
10994
11045
|
created_at: string;
|
|
@@ -22871,6 +22922,30 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
22871
22922
|
};
|
|
22872
22923
|
Returns: import("../integrations/supabase/types").Json;
|
|
22873
22924
|
};
|
|
22925
|
+
logistics_block_reason_code: {
|
|
22926
|
+
Args: {
|
|
22927
|
+
p_details?: import("../integrations/supabase/types").Json;
|
|
22928
|
+
p_reason: string;
|
|
22929
|
+
};
|
|
22930
|
+
Returns: string;
|
|
22931
|
+
};
|
|
22932
|
+
logistics_blocked_orders: {
|
|
22933
|
+
Args: never;
|
|
22934
|
+
Returns: {
|
|
22935
|
+
attempts: number;
|
|
22936
|
+
blocked_since: string;
|
|
22937
|
+
delivery_date: string;
|
|
22938
|
+
order_id: string;
|
|
22939
|
+
order_ref: string;
|
|
22940
|
+
queue_id: string;
|
|
22941
|
+
reason: string;
|
|
22942
|
+
reason_code: string;
|
|
22943
|
+
}[];
|
|
22944
|
+
};
|
|
22945
|
+
logistics_blocked_overview: {
|
|
22946
|
+
Args: never;
|
|
22947
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22948
|
+
};
|
|
22874
22949
|
logistics_buffer_criteria: {
|
|
22875
22950
|
Args: {
|
|
22876
22951
|
p_settings: import("../integrations/supabase/types").Json;
|
|
@@ -22885,6 +22960,39 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
22885
22960
|
};
|
|
22886
22961
|
Returns: import("../integrations/supabase/types").Json;
|
|
22887
22962
|
};
|
|
22963
|
+
logistics_buffer_detach_late_orders: {
|
|
22964
|
+
Args: {
|
|
22965
|
+
p_buffer?: string;
|
|
22966
|
+
};
|
|
22967
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22968
|
+
};
|
|
22969
|
+
logistics_buffer_frozen_order: {
|
|
22970
|
+
Args: {
|
|
22971
|
+
p_order_id: string;
|
|
22972
|
+
};
|
|
22973
|
+
Returns: boolean;
|
|
22974
|
+
};
|
|
22975
|
+
logistics_buffer_handled: {
|
|
22976
|
+
Args: {
|
|
22977
|
+
p_buffer: string;
|
|
22978
|
+
};
|
|
22979
|
+
Returns: boolean;
|
|
22980
|
+
};
|
|
22981
|
+
logistics_buffer_notify: {
|
|
22982
|
+
Args: {
|
|
22983
|
+
p_event_type: string;
|
|
22984
|
+
p_idempotency_key: string;
|
|
22985
|
+
p_order_ref: string;
|
|
22986
|
+
p_payload: import("../integrations/supabase/types").Json;
|
|
22987
|
+
};
|
|
22988
|
+
Returns: string;
|
|
22989
|
+
};
|
|
22990
|
+
logistics_buffer_open_key: {
|
|
22991
|
+
Args: {
|
|
22992
|
+
p_base_key: string;
|
|
22993
|
+
};
|
|
22994
|
+
Returns: string;
|
|
22995
|
+
};
|
|
22888
22996
|
logistics_buffer_simulate: {
|
|
22889
22997
|
Args: {
|
|
22890
22998
|
p_orders?: import("../integrations/supabase/types").Json;
|
|
@@ -22974,6 +23082,25 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
22974
23082
|
Args: never;
|
|
22975
23083
|
Returns: import("../integrations/supabase/types").Json;
|
|
22976
23084
|
};
|
|
23085
|
+
logistics_cart_plan_overview: {
|
|
23086
|
+
Args: {
|
|
23087
|
+
p_days?: number;
|
|
23088
|
+
};
|
|
23089
|
+
Returns: {
|
|
23090
|
+
cart_total: number;
|
|
23091
|
+
delivery_date: string;
|
|
23092
|
+
order_ref: string;
|
|
23093
|
+
plan_ready: boolean;
|
|
23094
|
+
reason: string;
|
|
23095
|
+
released: boolean;
|
|
23096
|
+
}[];
|
|
23097
|
+
};
|
|
23098
|
+
logistics_cart_plan_status: {
|
|
23099
|
+
Args: {
|
|
23100
|
+
p_ref: string;
|
|
23101
|
+
};
|
|
23102
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23103
|
+
};
|
|
22977
23104
|
logistics_cart_seq: {
|
|
22978
23105
|
Args: {
|
|
22979
23106
|
p_order_uuid?: string;
|
|
@@ -23507,6 +23634,12 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
23507
23634
|
};
|
|
23508
23635
|
Returns: boolean;
|
|
23509
23636
|
};
|
|
23637
|
+
logistics_link_order_items: {
|
|
23638
|
+
Args: {
|
|
23639
|
+
p_order?: string;
|
|
23640
|
+
};
|
|
23641
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23642
|
+
};
|
|
23510
23643
|
logistics_live_carriers: {
|
|
23511
23644
|
Args: {
|
|
23512
23645
|
p_order_ref: string;
|
|
@@ -23533,6 +23666,12 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
23533
23666
|
};
|
|
23534
23667
|
Returns: string;
|
|
23535
23668
|
};
|
|
23669
|
+
logistics_normalize_product_label: {
|
|
23670
|
+
Args: {
|
|
23671
|
+
p_label: string;
|
|
23672
|
+
};
|
|
23673
|
+
Returns: string;
|
|
23674
|
+
};
|
|
23536
23675
|
logistics_not_past: {
|
|
23537
23676
|
Args: {
|
|
23538
23677
|
p_ts: string;
|
|
@@ -23721,6 +23860,12 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
23721
23860
|
Args: never;
|
|
23722
23861
|
Returns: number;
|
|
23723
23862
|
};
|
|
23863
|
+
logistics_plan_retry: {
|
|
23864
|
+
Args: {
|
|
23865
|
+
p_order_ids: string[];
|
|
23866
|
+
};
|
|
23867
|
+
Returns: number;
|
|
23868
|
+
};
|
|
23724
23869
|
logistics_plan_setting: {
|
|
23725
23870
|
Args: {
|
|
23726
23871
|
p_default: number;
|
|
@@ -23827,6 +23972,12 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
23827
23972
|
};
|
|
23828
23973
|
Returns: import("../integrations/supabase/types").Json;
|
|
23829
23974
|
};
|
|
23975
|
+
logistics_resolve_product_id: {
|
|
23976
|
+
Args: {
|
|
23977
|
+
p_label: string;
|
|
23978
|
+
};
|
|
23979
|
+
Returns: string;
|
|
23980
|
+
};
|
|
23830
23981
|
logistics_resolve_settings: {
|
|
23831
23982
|
Args: {
|
|
23832
23983
|
p_config_id: string;
|
|
@@ -23956,6 +24107,10 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
23956
24107
|
};
|
|
23957
24108
|
Returns: number;
|
|
23958
24109
|
};
|
|
24110
|
+
logistics_tick_ping: {
|
|
24111
|
+
Args: never;
|
|
24112
|
+
Returns: string;
|
|
24113
|
+
};
|
|
23959
24114
|
logistics_upsert_task: {
|
|
23960
24115
|
Args: {
|
|
23961
24116
|
p_buffer_ref: string;
|
|
@@ -24523,6 +24678,10 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
24523
24678
|
};
|
|
24524
24679
|
Returns: undefined;
|
|
24525
24680
|
};
|
|
24681
|
+
pick_report_missing_cart_plan: {
|
|
24682
|
+
Args: never;
|
|
24683
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24684
|
+
};
|
|
24526
24685
|
pick_reprint_cart: {
|
|
24527
24686
|
Args: {
|
|
24528
24687
|
_cart_id: string;
|
|
@@ -25063,6 +25222,12 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
25063
25222
|
};
|
|
25064
25223
|
Returns: boolean;
|
|
25065
25224
|
};
|
|
25225
|
+
release_job_lock: {
|
|
25226
|
+
Args: {
|
|
25227
|
+
_key: string;
|
|
25228
|
+
};
|
|
25229
|
+
Returns: undefined;
|
|
25230
|
+
};
|
|
25066
25231
|
release_local_pdf_job: {
|
|
25067
25232
|
Args: {
|
|
25068
25233
|
_job_id: string;
|
|
@@ -25751,6 +25916,14 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
25751
25916
|
row_count: number;
|
|
25752
25917
|
}[];
|
|
25753
25918
|
};
|
|
25919
|
+
try_acquire_job_lock: {
|
|
25920
|
+
Args: {
|
|
25921
|
+
_key: string;
|
|
25922
|
+
_owner?: string;
|
|
25923
|
+
_seconds?: number;
|
|
25924
|
+
};
|
|
25925
|
+
Returns: boolean;
|
|
25926
|
+
};
|
|
25754
25927
|
try_debtor_lock: {
|
|
25755
25928
|
Args: {
|
|
25756
25929
|
_group_key: string;
|
|
@@ -28055,6 +28228,8 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
28055
28228
|
created_at: string;
|
|
28056
28229
|
currency: string;
|
|
28057
28230
|
distribute_over: string | null;
|
|
28231
|
+
external_id: string | null;
|
|
28232
|
+
external_synced_at: string | null;
|
|
28058
28233
|
group_type: string;
|
|
28059
28234
|
handling_fee: number | null;
|
|
28060
28235
|
id: string;
|
|
@@ -28067,6 +28242,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
28067
28242
|
rounding: string;
|
|
28068
28243
|
rounding_step: number;
|
|
28069
28244
|
sort_order: number;
|
|
28245
|
+
source: string;
|
|
28070
28246
|
unit: string;
|
|
28071
28247
|
updated_at: string;
|
|
28072
28248
|
};
|
|
@@ -28077,6 +28253,8 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
28077
28253
|
created_at?: string;
|
|
28078
28254
|
currency?: string;
|
|
28079
28255
|
distribute_over?: string | null;
|
|
28256
|
+
external_id?: string | null;
|
|
28257
|
+
external_synced_at?: string | null;
|
|
28080
28258
|
group_type?: string;
|
|
28081
28259
|
handling_fee?: number | null;
|
|
28082
28260
|
id?: string;
|
|
@@ -28089,6 +28267,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
28089
28267
|
rounding?: string;
|
|
28090
28268
|
rounding_step?: number;
|
|
28091
28269
|
sort_order?: number;
|
|
28270
|
+
source?: string;
|
|
28092
28271
|
unit?: string;
|
|
28093
28272
|
updated_at?: string;
|
|
28094
28273
|
};
|
|
@@ -28099,6 +28278,8 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
28099
28278
|
created_at?: string;
|
|
28100
28279
|
currency?: string;
|
|
28101
28280
|
distribute_over?: string | null;
|
|
28281
|
+
external_id?: string | null;
|
|
28282
|
+
external_synced_at?: string | null;
|
|
28102
28283
|
group_type?: string;
|
|
28103
28284
|
handling_fee?: number | null;
|
|
28104
28285
|
id?: string;
|
|
@@ -28111,6 +28292,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
28111
28292
|
rounding?: string;
|
|
28112
28293
|
rounding_step?: number;
|
|
28113
28294
|
sort_order?: number;
|
|
28295
|
+
source?: string;
|
|
28114
28296
|
unit?: string;
|
|
28115
28297
|
updated_at?: string;
|
|
28116
28298
|
};
|
|
@@ -34974,6 +35156,30 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
34974
35156
|
referencedColumns: ["id"];
|
|
34975
35157
|
}];
|
|
34976
35158
|
};
|
|
35159
|
+
job_locks: {
|
|
35160
|
+
Row: {
|
|
35161
|
+
created_at: string;
|
|
35162
|
+
lock_key: string;
|
|
35163
|
+
locked_until: string;
|
|
35164
|
+
owner: string | null;
|
|
35165
|
+
updated_at: string;
|
|
35166
|
+
};
|
|
35167
|
+
Insert: {
|
|
35168
|
+
created_at?: string;
|
|
35169
|
+
lock_key: string;
|
|
35170
|
+
locked_until: string;
|
|
35171
|
+
owner?: string | null;
|
|
35172
|
+
updated_at?: string;
|
|
35173
|
+
};
|
|
35174
|
+
Update: {
|
|
35175
|
+
created_at?: string;
|
|
35176
|
+
lock_key?: string;
|
|
35177
|
+
locked_until?: string;
|
|
35178
|
+
owner?: string | null;
|
|
35179
|
+
updated_at?: string;
|
|
35180
|
+
};
|
|
35181
|
+
Relationships: [];
|
|
35182
|
+
};
|
|
34977
35183
|
layout_logos: {
|
|
34978
35184
|
Row: {
|
|
34979
35185
|
bestand_url: string;
|
|
@@ -36136,6 +36342,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
36136
36342
|
next_attempt_at: string;
|
|
36137
36343
|
order_id: string;
|
|
36138
36344
|
reason: string;
|
|
36345
|
+
reason_code: string | null;
|
|
36139
36346
|
status: string;
|
|
36140
36347
|
updated_at: string;
|
|
36141
36348
|
};
|
|
@@ -36148,6 +36355,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
36148
36355
|
next_attempt_at?: string;
|
|
36149
36356
|
order_id: string;
|
|
36150
36357
|
reason?: string;
|
|
36358
|
+
reason_code?: string | null;
|
|
36151
36359
|
status?: string;
|
|
36152
36360
|
updated_at?: string;
|
|
36153
36361
|
};
|
|
@@ -36160,6 +36368,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
36160
36368
|
next_attempt_at?: string;
|
|
36161
36369
|
order_id?: string;
|
|
36162
36370
|
reason?: string;
|
|
36371
|
+
reason_code?: string | null;
|
|
36163
36372
|
status?: string;
|
|
36164
36373
|
updated_at?: string;
|
|
36165
36374
|
};
|
|
@@ -36864,6 +37073,21 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
36864
37073
|
referencedColumns: ["id"];
|
|
36865
37074
|
}];
|
|
36866
37075
|
};
|
|
37076
|
+
logistics_tick_heartbeat: {
|
|
37077
|
+
Row: {
|
|
37078
|
+
id: boolean;
|
|
37079
|
+
last_tick_at: string;
|
|
37080
|
+
};
|
|
37081
|
+
Insert: {
|
|
37082
|
+
id?: boolean;
|
|
37083
|
+
last_tick_at?: string;
|
|
37084
|
+
};
|
|
37085
|
+
Update: {
|
|
37086
|
+
id?: boolean;
|
|
37087
|
+
last_tick_at?: string;
|
|
37088
|
+
};
|
|
37089
|
+
Relationships: [];
|
|
37090
|
+
};
|
|
36867
37091
|
logistics_variables: {
|
|
36868
37092
|
Row: {
|
|
36869
37093
|
created_at: string;
|
|
@@ -48746,6 +48970,30 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
48746
48970
|
};
|
|
48747
48971
|
Returns: import("../integrations/supabase/types").Json;
|
|
48748
48972
|
};
|
|
48973
|
+
logistics_block_reason_code: {
|
|
48974
|
+
Args: {
|
|
48975
|
+
p_details?: import("../integrations/supabase/types").Json;
|
|
48976
|
+
p_reason: string;
|
|
48977
|
+
};
|
|
48978
|
+
Returns: string;
|
|
48979
|
+
};
|
|
48980
|
+
logistics_blocked_orders: {
|
|
48981
|
+
Args: never;
|
|
48982
|
+
Returns: {
|
|
48983
|
+
attempts: number;
|
|
48984
|
+
blocked_since: string;
|
|
48985
|
+
delivery_date: string;
|
|
48986
|
+
order_id: string;
|
|
48987
|
+
order_ref: string;
|
|
48988
|
+
queue_id: string;
|
|
48989
|
+
reason: string;
|
|
48990
|
+
reason_code: string;
|
|
48991
|
+
}[];
|
|
48992
|
+
};
|
|
48993
|
+
logistics_blocked_overview: {
|
|
48994
|
+
Args: never;
|
|
48995
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
48996
|
+
};
|
|
48749
48997
|
logistics_buffer_criteria: {
|
|
48750
48998
|
Args: {
|
|
48751
48999
|
p_settings: import("../integrations/supabase/types").Json;
|
|
@@ -48760,6 +49008,39 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
48760
49008
|
};
|
|
48761
49009
|
Returns: import("../integrations/supabase/types").Json;
|
|
48762
49010
|
};
|
|
49011
|
+
logistics_buffer_detach_late_orders: {
|
|
49012
|
+
Args: {
|
|
49013
|
+
p_buffer?: string;
|
|
49014
|
+
};
|
|
49015
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
49016
|
+
};
|
|
49017
|
+
logistics_buffer_frozen_order: {
|
|
49018
|
+
Args: {
|
|
49019
|
+
p_order_id: string;
|
|
49020
|
+
};
|
|
49021
|
+
Returns: boolean;
|
|
49022
|
+
};
|
|
49023
|
+
logistics_buffer_handled: {
|
|
49024
|
+
Args: {
|
|
49025
|
+
p_buffer: string;
|
|
49026
|
+
};
|
|
49027
|
+
Returns: boolean;
|
|
49028
|
+
};
|
|
49029
|
+
logistics_buffer_notify: {
|
|
49030
|
+
Args: {
|
|
49031
|
+
p_event_type: string;
|
|
49032
|
+
p_idempotency_key: string;
|
|
49033
|
+
p_order_ref: string;
|
|
49034
|
+
p_payload: import("../integrations/supabase/types").Json;
|
|
49035
|
+
};
|
|
49036
|
+
Returns: string;
|
|
49037
|
+
};
|
|
49038
|
+
logistics_buffer_open_key: {
|
|
49039
|
+
Args: {
|
|
49040
|
+
p_base_key: string;
|
|
49041
|
+
};
|
|
49042
|
+
Returns: string;
|
|
49043
|
+
};
|
|
48763
49044
|
logistics_buffer_simulate: {
|
|
48764
49045
|
Args: {
|
|
48765
49046
|
p_orders?: import("../integrations/supabase/types").Json;
|
|
@@ -48849,6 +49130,25 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
48849
49130
|
Args: never;
|
|
48850
49131
|
Returns: import("../integrations/supabase/types").Json;
|
|
48851
49132
|
};
|
|
49133
|
+
logistics_cart_plan_overview: {
|
|
49134
|
+
Args: {
|
|
49135
|
+
p_days?: number;
|
|
49136
|
+
};
|
|
49137
|
+
Returns: {
|
|
49138
|
+
cart_total: number;
|
|
49139
|
+
delivery_date: string;
|
|
49140
|
+
order_ref: string;
|
|
49141
|
+
plan_ready: boolean;
|
|
49142
|
+
reason: string;
|
|
49143
|
+
released: boolean;
|
|
49144
|
+
}[];
|
|
49145
|
+
};
|
|
49146
|
+
logistics_cart_plan_status: {
|
|
49147
|
+
Args: {
|
|
49148
|
+
p_ref: string;
|
|
49149
|
+
};
|
|
49150
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
49151
|
+
};
|
|
48852
49152
|
logistics_cart_seq: {
|
|
48853
49153
|
Args: {
|
|
48854
49154
|
p_order_uuid?: string;
|
|
@@ -49382,6 +49682,12 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
49382
49682
|
};
|
|
49383
49683
|
Returns: boolean;
|
|
49384
49684
|
};
|
|
49685
|
+
logistics_link_order_items: {
|
|
49686
|
+
Args: {
|
|
49687
|
+
p_order?: string;
|
|
49688
|
+
};
|
|
49689
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
49690
|
+
};
|
|
49385
49691
|
logistics_live_carriers: {
|
|
49386
49692
|
Args: {
|
|
49387
49693
|
p_order_ref: string;
|
|
@@ -49408,6 +49714,12 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
49408
49714
|
};
|
|
49409
49715
|
Returns: string;
|
|
49410
49716
|
};
|
|
49717
|
+
logistics_normalize_product_label: {
|
|
49718
|
+
Args: {
|
|
49719
|
+
p_label: string;
|
|
49720
|
+
};
|
|
49721
|
+
Returns: string;
|
|
49722
|
+
};
|
|
49411
49723
|
logistics_not_past: {
|
|
49412
49724
|
Args: {
|
|
49413
49725
|
p_ts: string;
|
|
@@ -49596,6 +49908,12 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
49596
49908
|
Args: never;
|
|
49597
49909
|
Returns: number;
|
|
49598
49910
|
};
|
|
49911
|
+
logistics_plan_retry: {
|
|
49912
|
+
Args: {
|
|
49913
|
+
p_order_ids: string[];
|
|
49914
|
+
};
|
|
49915
|
+
Returns: number;
|
|
49916
|
+
};
|
|
49599
49917
|
logistics_plan_setting: {
|
|
49600
49918
|
Args: {
|
|
49601
49919
|
p_default: number;
|
|
@@ -49702,6 +50020,12 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
49702
50020
|
};
|
|
49703
50021
|
Returns: import("../integrations/supabase/types").Json;
|
|
49704
50022
|
};
|
|
50023
|
+
logistics_resolve_product_id: {
|
|
50024
|
+
Args: {
|
|
50025
|
+
p_label: string;
|
|
50026
|
+
};
|
|
50027
|
+
Returns: string;
|
|
50028
|
+
};
|
|
49705
50029
|
logistics_resolve_settings: {
|
|
49706
50030
|
Args: {
|
|
49707
50031
|
p_config_id: string;
|
|
@@ -49831,6 +50155,10 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
49831
50155
|
};
|
|
49832
50156
|
Returns: number;
|
|
49833
50157
|
};
|
|
50158
|
+
logistics_tick_ping: {
|
|
50159
|
+
Args: never;
|
|
50160
|
+
Returns: string;
|
|
50161
|
+
};
|
|
49834
50162
|
logistics_upsert_task: {
|
|
49835
50163
|
Args: {
|
|
49836
50164
|
p_buffer_ref: string;
|
|
@@ -50398,6 +50726,10 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
50398
50726
|
};
|
|
50399
50727
|
Returns: undefined;
|
|
50400
50728
|
};
|
|
50729
|
+
pick_report_missing_cart_plan: {
|
|
50730
|
+
Args: never;
|
|
50731
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
50732
|
+
};
|
|
50401
50733
|
pick_reprint_cart: {
|
|
50402
50734
|
Args: {
|
|
50403
50735
|
_cart_id: string;
|
|
@@ -50938,6 +51270,12 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
50938
51270
|
};
|
|
50939
51271
|
Returns: boolean;
|
|
50940
51272
|
};
|
|
51273
|
+
release_job_lock: {
|
|
51274
|
+
Args: {
|
|
51275
|
+
_key: string;
|
|
51276
|
+
};
|
|
51277
|
+
Returns: undefined;
|
|
51278
|
+
};
|
|
50941
51279
|
release_local_pdf_job: {
|
|
50942
51280
|
Args: {
|
|
50943
51281
|
_job_id: string;
|
|
@@ -51626,6 +51964,14 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
51626
51964
|
row_count: number;
|
|
51627
51965
|
}[];
|
|
51628
51966
|
};
|
|
51967
|
+
try_acquire_job_lock: {
|
|
51968
|
+
Args: {
|
|
51969
|
+
_key: string;
|
|
51970
|
+
_owner?: string;
|
|
51971
|
+
_seconds?: number;
|
|
51972
|
+
};
|
|
51973
|
+
Returns: boolean;
|
|
51974
|
+
};
|
|
51629
51975
|
try_debtor_lock: {
|
|
51630
51976
|
Args: {
|
|
51631
51977
|
_group_key: string;
|