@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
|
@@ -2171,6 +2171,8 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
2171
2171
|
created_at: string;
|
|
2172
2172
|
currency: string;
|
|
2173
2173
|
distribute_over: string | null;
|
|
2174
|
+
external_id: string | null;
|
|
2175
|
+
external_synced_at: string | null;
|
|
2174
2176
|
group_type: string;
|
|
2175
2177
|
handling_fee: number | null;
|
|
2176
2178
|
id: string;
|
|
@@ -2183,6 +2185,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
2183
2185
|
rounding: string;
|
|
2184
2186
|
rounding_step: number;
|
|
2185
2187
|
sort_order: number;
|
|
2188
|
+
source: string;
|
|
2186
2189
|
unit: string;
|
|
2187
2190
|
updated_at: string;
|
|
2188
2191
|
};
|
|
@@ -2193,6 +2196,8 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
2193
2196
|
created_at?: string;
|
|
2194
2197
|
currency?: string;
|
|
2195
2198
|
distribute_over?: string | null;
|
|
2199
|
+
external_id?: string | null;
|
|
2200
|
+
external_synced_at?: string | null;
|
|
2196
2201
|
group_type?: string;
|
|
2197
2202
|
handling_fee?: number | null;
|
|
2198
2203
|
id?: string;
|
|
@@ -2205,6 +2210,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
2205
2210
|
rounding?: string;
|
|
2206
2211
|
rounding_step?: number;
|
|
2207
2212
|
sort_order?: number;
|
|
2213
|
+
source?: string;
|
|
2208
2214
|
unit?: string;
|
|
2209
2215
|
updated_at?: string;
|
|
2210
2216
|
};
|
|
@@ -2215,6 +2221,8 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
2215
2221
|
created_at?: string;
|
|
2216
2222
|
currency?: string;
|
|
2217
2223
|
distribute_over?: string | null;
|
|
2224
|
+
external_id?: string | null;
|
|
2225
|
+
external_synced_at?: string | null;
|
|
2218
2226
|
group_type?: string;
|
|
2219
2227
|
handling_fee?: number | null;
|
|
2220
2228
|
id?: string;
|
|
@@ -2227,6 +2235,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
2227
2235
|
rounding?: string;
|
|
2228
2236
|
rounding_step?: number;
|
|
2229
2237
|
sort_order?: number;
|
|
2238
|
+
source?: string;
|
|
2230
2239
|
unit?: string;
|
|
2231
2240
|
updated_at?: string;
|
|
2232
2241
|
};
|
|
@@ -9090,6 +9099,30 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9090
9099
|
referencedColumns: ["id"];
|
|
9091
9100
|
}];
|
|
9092
9101
|
};
|
|
9102
|
+
job_locks: {
|
|
9103
|
+
Row: {
|
|
9104
|
+
created_at: string;
|
|
9105
|
+
lock_key: string;
|
|
9106
|
+
locked_until: string;
|
|
9107
|
+
owner: string | null;
|
|
9108
|
+
updated_at: string;
|
|
9109
|
+
};
|
|
9110
|
+
Insert: {
|
|
9111
|
+
created_at?: string;
|
|
9112
|
+
lock_key: string;
|
|
9113
|
+
locked_until: string;
|
|
9114
|
+
owner?: string | null;
|
|
9115
|
+
updated_at?: string;
|
|
9116
|
+
};
|
|
9117
|
+
Update: {
|
|
9118
|
+
created_at?: string;
|
|
9119
|
+
lock_key?: string;
|
|
9120
|
+
locked_until?: string;
|
|
9121
|
+
owner?: string | null;
|
|
9122
|
+
updated_at?: string;
|
|
9123
|
+
};
|
|
9124
|
+
Relationships: [];
|
|
9125
|
+
};
|
|
9093
9126
|
layout_logos: {
|
|
9094
9127
|
Row: {
|
|
9095
9128
|
bestand_url: string;
|
|
@@ -10252,6 +10285,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
10252
10285
|
next_attempt_at: string;
|
|
10253
10286
|
order_id: string;
|
|
10254
10287
|
reason: string;
|
|
10288
|
+
reason_code: string | null;
|
|
10255
10289
|
status: string;
|
|
10256
10290
|
updated_at: string;
|
|
10257
10291
|
};
|
|
@@ -10264,6 +10298,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
10264
10298
|
next_attempt_at?: string;
|
|
10265
10299
|
order_id: string;
|
|
10266
10300
|
reason?: string;
|
|
10301
|
+
reason_code?: string | null;
|
|
10267
10302
|
status?: string;
|
|
10268
10303
|
updated_at?: string;
|
|
10269
10304
|
};
|
|
@@ -10276,6 +10311,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
10276
10311
|
next_attempt_at?: string;
|
|
10277
10312
|
order_id?: string;
|
|
10278
10313
|
reason?: string;
|
|
10314
|
+
reason_code?: string | null;
|
|
10279
10315
|
status?: string;
|
|
10280
10316
|
updated_at?: string;
|
|
10281
10317
|
};
|
|
@@ -10980,6 +11016,21 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
10980
11016
|
referencedColumns: ["id"];
|
|
10981
11017
|
}];
|
|
10982
11018
|
};
|
|
11019
|
+
logistics_tick_heartbeat: {
|
|
11020
|
+
Row: {
|
|
11021
|
+
id: boolean;
|
|
11022
|
+
last_tick_at: string;
|
|
11023
|
+
};
|
|
11024
|
+
Insert: {
|
|
11025
|
+
id?: boolean;
|
|
11026
|
+
last_tick_at?: string;
|
|
11027
|
+
};
|
|
11028
|
+
Update: {
|
|
11029
|
+
id?: boolean;
|
|
11030
|
+
last_tick_at?: string;
|
|
11031
|
+
};
|
|
11032
|
+
Relationships: [];
|
|
11033
|
+
};
|
|
10983
11034
|
logistics_variables: {
|
|
10984
11035
|
Row: {
|
|
10985
11036
|
created_at: string;
|
|
@@ -22862,6 +22913,30 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
22862
22913
|
};
|
|
22863
22914
|
Returns: import("../integrations/supabase/types").Json;
|
|
22864
22915
|
};
|
|
22916
|
+
logistics_block_reason_code: {
|
|
22917
|
+
Args: {
|
|
22918
|
+
p_details?: import("../integrations/supabase/types").Json;
|
|
22919
|
+
p_reason: string;
|
|
22920
|
+
};
|
|
22921
|
+
Returns: string;
|
|
22922
|
+
};
|
|
22923
|
+
logistics_blocked_orders: {
|
|
22924
|
+
Args: never;
|
|
22925
|
+
Returns: {
|
|
22926
|
+
attempts: number;
|
|
22927
|
+
blocked_since: string;
|
|
22928
|
+
delivery_date: string;
|
|
22929
|
+
order_id: string;
|
|
22930
|
+
order_ref: string;
|
|
22931
|
+
queue_id: string;
|
|
22932
|
+
reason: string;
|
|
22933
|
+
reason_code: string;
|
|
22934
|
+
}[];
|
|
22935
|
+
};
|
|
22936
|
+
logistics_blocked_overview: {
|
|
22937
|
+
Args: never;
|
|
22938
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22939
|
+
};
|
|
22865
22940
|
logistics_buffer_criteria: {
|
|
22866
22941
|
Args: {
|
|
22867
22942
|
p_settings: import("../integrations/supabase/types").Json;
|
|
@@ -22876,6 +22951,39 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
22876
22951
|
};
|
|
22877
22952
|
Returns: import("../integrations/supabase/types").Json;
|
|
22878
22953
|
};
|
|
22954
|
+
logistics_buffer_detach_late_orders: {
|
|
22955
|
+
Args: {
|
|
22956
|
+
p_buffer?: string;
|
|
22957
|
+
};
|
|
22958
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22959
|
+
};
|
|
22960
|
+
logistics_buffer_frozen_order: {
|
|
22961
|
+
Args: {
|
|
22962
|
+
p_order_id: string;
|
|
22963
|
+
};
|
|
22964
|
+
Returns: boolean;
|
|
22965
|
+
};
|
|
22966
|
+
logistics_buffer_handled: {
|
|
22967
|
+
Args: {
|
|
22968
|
+
p_buffer: string;
|
|
22969
|
+
};
|
|
22970
|
+
Returns: boolean;
|
|
22971
|
+
};
|
|
22972
|
+
logistics_buffer_notify: {
|
|
22973
|
+
Args: {
|
|
22974
|
+
p_event_type: string;
|
|
22975
|
+
p_idempotency_key: string;
|
|
22976
|
+
p_order_ref: string;
|
|
22977
|
+
p_payload: import("../integrations/supabase/types").Json;
|
|
22978
|
+
};
|
|
22979
|
+
Returns: string;
|
|
22980
|
+
};
|
|
22981
|
+
logistics_buffer_open_key: {
|
|
22982
|
+
Args: {
|
|
22983
|
+
p_base_key: string;
|
|
22984
|
+
};
|
|
22985
|
+
Returns: string;
|
|
22986
|
+
};
|
|
22879
22987
|
logistics_buffer_simulate: {
|
|
22880
22988
|
Args: {
|
|
22881
22989
|
p_orders?: import("../integrations/supabase/types").Json;
|
|
@@ -22965,6 +23073,25 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
22965
23073
|
Args: never;
|
|
22966
23074
|
Returns: import("../integrations/supabase/types").Json;
|
|
22967
23075
|
};
|
|
23076
|
+
logistics_cart_plan_overview: {
|
|
23077
|
+
Args: {
|
|
23078
|
+
p_days?: number;
|
|
23079
|
+
};
|
|
23080
|
+
Returns: {
|
|
23081
|
+
cart_total: number;
|
|
23082
|
+
delivery_date: string;
|
|
23083
|
+
order_ref: string;
|
|
23084
|
+
plan_ready: boolean;
|
|
23085
|
+
reason: string;
|
|
23086
|
+
released: boolean;
|
|
23087
|
+
}[];
|
|
23088
|
+
};
|
|
23089
|
+
logistics_cart_plan_status: {
|
|
23090
|
+
Args: {
|
|
23091
|
+
p_ref: string;
|
|
23092
|
+
};
|
|
23093
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23094
|
+
};
|
|
22968
23095
|
logistics_cart_seq: {
|
|
22969
23096
|
Args: {
|
|
22970
23097
|
p_order_uuid?: string;
|
|
@@ -23498,6 +23625,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23498
23625
|
};
|
|
23499
23626
|
Returns: boolean;
|
|
23500
23627
|
};
|
|
23628
|
+
logistics_link_order_items: {
|
|
23629
|
+
Args: {
|
|
23630
|
+
p_order?: string;
|
|
23631
|
+
};
|
|
23632
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23633
|
+
};
|
|
23501
23634
|
logistics_live_carriers: {
|
|
23502
23635
|
Args: {
|
|
23503
23636
|
p_order_ref: string;
|
|
@@ -23524,6 +23657,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23524
23657
|
};
|
|
23525
23658
|
Returns: string;
|
|
23526
23659
|
};
|
|
23660
|
+
logistics_normalize_product_label: {
|
|
23661
|
+
Args: {
|
|
23662
|
+
p_label: string;
|
|
23663
|
+
};
|
|
23664
|
+
Returns: string;
|
|
23665
|
+
};
|
|
23527
23666
|
logistics_not_past: {
|
|
23528
23667
|
Args: {
|
|
23529
23668
|
p_ts: string;
|
|
@@ -23712,6 +23851,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23712
23851
|
Args: never;
|
|
23713
23852
|
Returns: number;
|
|
23714
23853
|
};
|
|
23854
|
+
logistics_plan_retry: {
|
|
23855
|
+
Args: {
|
|
23856
|
+
p_order_ids: string[];
|
|
23857
|
+
};
|
|
23858
|
+
Returns: number;
|
|
23859
|
+
};
|
|
23715
23860
|
logistics_plan_setting: {
|
|
23716
23861
|
Args: {
|
|
23717
23862
|
p_default: number;
|
|
@@ -23818,6 +23963,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23818
23963
|
};
|
|
23819
23964
|
Returns: import("../integrations/supabase/types").Json;
|
|
23820
23965
|
};
|
|
23966
|
+
logistics_resolve_product_id: {
|
|
23967
|
+
Args: {
|
|
23968
|
+
p_label: string;
|
|
23969
|
+
};
|
|
23970
|
+
Returns: string;
|
|
23971
|
+
};
|
|
23821
23972
|
logistics_resolve_settings: {
|
|
23822
23973
|
Args: {
|
|
23823
23974
|
p_config_id: string;
|
|
@@ -23947,6 +24098,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23947
24098
|
};
|
|
23948
24099
|
Returns: number;
|
|
23949
24100
|
};
|
|
24101
|
+
logistics_tick_ping: {
|
|
24102
|
+
Args: never;
|
|
24103
|
+
Returns: string;
|
|
24104
|
+
};
|
|
23950
24105
|
logistics_upsert_task: {
|
|
23951
24106
|
Args: {
|
|
23952
24107
|
p_buffer_ref: string;
|
|
@@ -24514,6 +24669,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
24514
24669
|
};
|
|
24515
24670
|
Returns: undefined;
|
|
24516
24671
|
};
|
|
24672
|
+
pick_report_missing_cart_plan: {
|
|
24673
|
+
Args: never;
|
|
24674
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24675
|
+
};
|
|
24517
24676
|
pick_reprint_cart: {
|
|
24518
24677
|
Args: {
|
|
24519
24678
|
_cart_id: string;
|
|
@@ -25054,6 +25213,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25054
25213
|
};
|
|
25055
25214
|
Returns: boolean;
|
|
25056
25215
|
};
|
|
25216
|
+
release_job_lock: {
|
|
25217
|
+
Args: {
|
|
25218
|
+
_key: string;
|
|
25219
|
+
};
|
|
25220
|
+
Returns: undefined;
|
|
25221
|
+
};
|
|
25057
25222
|
release_local_pdf_job: {
|
|
25058
25223
|
Args: {
|
|
25059
25224
|
_job_id: string;
|
|
@@ -25742,6 +25907,14 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25742
25907
|
row_count: number;
|
|
25743
25908
|
}[];
|
|
25744
25909
|
};
|
|
25910
|
+
try_acquire_job_lock: {
|
|
25911
|
+
Args: {
|
|
25912
|
+
_key: string;
|
|
25913
|
+
_owner?: string;
|
|
25914
|
+
_seconds?: number;
|
|
25915
|
+
};
|
|
25916
|
+
Returns: boolean;
|
|
25917
|
+
};
|
|
25745
25918
|
try_debtor_lock: {
|
|
25746
25919
|
Args: {
|
|
25747
25920
|
_group_key: string;
|