@flowselections/logistiek-engine 1.0.28 → 1.0.30
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/README.md +24 -24
- package/dist-lib/components/GeblokkeerdeOrdersCard.d.ts +2 -0
- package/dist-lib/components/GeblokkeerdeOrdersCard.d.ts.map +1 -0
- package/dist-lib/components/GeblokkeerdeOrdersCard.js +44 -0
- package/dist-lib/components/LogistiekEnginePage.d.ts.map +1 -1
- package/dist-lib/components/LogistiekEnginePage.js +2 -1
- package/dist-lib/components/RegiePage.d.ts.map +1 -1
- package/dist-lib/components/RegiePage.js +2 -1
- package/dist-lib/components/WerkwijzeHerindelingCard.d.ts +2 -0
- package/dist-lib/components/WerkwijzeHerindelingCard.d.ts.map +1 -0
- package/dist-lib/components/WerkwijzeHerindelingCard.js +36 -0
- package/dist-lib/hooks/useGeblokkeerdeOrders.d.ts +28 -0
- package/dist-lib/hooks/useGeblokkeerdeOrders.d.ts.map +1 -0
- package/dist-lib/hooks/useGeblokkeerdeOrders.js +94 -0
- package/dist-lib/hooks/useRuleEngine.d.ts.map +1 -1
- package/dist-lib/hooks/useRuleEngine.js +7 -4
- package/dist-lib/hooks/useWerkwijzeStatus.d.ts +17 -0
- package/dist-lib/hooks/useWerkwijzeStatus.d.ts.map +1 -0
- package/dist-lib/hooks/useWerkwijzeStatus.js +58 -0
- package/dist-lib/index.d.ts +3 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +3 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +206 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +1516 -159
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +206 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +206 -0
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +206 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.functions.d.ts +618 -0
- package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.server.d.ts +7 -1
- package/dist-lib/lib/floridayDocuments.server.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.server.js +25 -1
- package/dist-lib/lib/floridayPush.functions.d.ts +206 -0
- package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
- package/dist-lib/lib/floridayPush.server.d.ts.map +1 -1
- package/dist-lib/lib/floridayPush.server.js +28 -0
- package/dist-lib/lib/handlers/logistics-tick.server.d.ts.map +1 -1
- package/dist-lib/lib/handlers/logistics-tick.server.js +21 -0
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +1030 -0
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierPlanning.server.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierPlanning.server.js +23 -3
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +412 -0
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts +206 -0
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.js +2613 -2406
- package/dist-lib/lib/ruleEngineSchema.d.ts.map +1 -1
- package/dist-lib/lib/ruleEngineSchema.js +7 -0
- package/package.json +1 -1
|
@@ -2155,6 +2155,8 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
2155
2155
|
created_at: string;
|
|
2156
2156
|
currency: string;
|
|
2157
2157
|
distribute_over: string | null;
|
|
2158
|
+
external_id: string | null;
|
|
2159
|
+
external_synced_at: string | null;
|
|
2158
2160
|
group_type: string;
|
|
2159
2161
|
handling_fee: number | null;
|
|
2160
2162
|
id: string;
|
|
@@ -2167,6 +2169,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
2167
2169
|
rounding: string;
|
|
2168
2170
|
rounding_step: number;
|
|
2169
2171
|
sort_order: number;
|
|
2172
|
+
source: string;
|
|
2170
2173
|
unit: string;
|
|
2171
2174
|
updated_at: string;
|
|
2172
2175
|
};
|
|
@@ -2177,6 +2180,8 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
2177
2180
|
created_at?: string;
|
|
2178
2181
|
currency?: string;
|
|
2179
2182
|
distribute_over?: string | null;
|
|
2183
|
+
external_id?: string | null;
|
|
2184
|
+
external_synced_at?: string | null;
|
|
2180
2185
|
group_type?: string;
|
|
2181
2186
|
handling_fee?: number | null;
|
|
2182
2187
|
id?: string;
|
|
@@ -2189,6 +2194,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
2189
2194
|
rounding?: string;
|
|
2190
2195
|
rounding_step?: number;
|
|
2191
2196
|
sort_order?: number;
|
|
2197
|
+
source?: string;
|
|
2192
2198
|
unit?: string;
|
|
2193
2199
|
updated_at?: string;
|
|
2194
2200
|
};
|
|
@@ -2199,6 +2205,8 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
2199
2205
|
created_at?: string;
|
|
2200
2206
|
currency?: string;
|
|
2201
2207
|
distribute_over?: string | null;
|
|
2208
|
+
external_id?: string | null;
|
|
2209
|
+
external_synced_at?: string | null;
|
|
2202
2210
|
group_type?: string;
|
|
2203
2211
|
handling_fee?: number | null;
|
|
2204
2212
|
id?: string;
|
|
@@ -2211,6 +2219,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
2211
2219
|
rounding?: string;
|
|
2212
2220
|
rounding_step?: number;
|
|
2213
2221
|
sort_order?: number;
|
|
2222
|
+
source?: string;
|
|
2214
2223
|
unit?: string;
|
|
2215
2224
|
updated_at?: string;
|
|
2216
2225
|
};
|
|
@@ -9074,6 +9083,30 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
9074
9083
|
referencedColumns: ["id"];
|
|
9075
9084
|
}];
|
|
9076
9085
|
};
|
|
9086
|
+
job_locks: {
|
|
9087
|
+
Row: {
|
|
9088
|
+
created_at: string;
|
|
9089
|
+
lock_key: string;
|
|
9090
|
+
locked_until: string;
|
|
9091
|
+
owner: string | null;
|
|
9092
|
+
updated_at: string;
|
|
9093
|
+
};
|
|
9094
|
+
Insert: {
|
|
9095
|
+
created_at?: string;
|
|
9096
|
+
lock_key: string;
|
|
9097
|
+
locked_until: string;
|
|
9098
|
+
owner?: string | null;
|
|
9099
|
+
updated_at?: string;
|
|
9100
|
+
};
|
|
9101
|
+
Update: {
|
|
9102
|
+
created_at?: string;
|
|
9103
|
+
lock_key?: string;
|
|
9104
|
+
locked_until?: string;
|
|
9105
|
+
owner?: string | null;
|
|
9106
|
+
updated_at?: string;
|
|
9107
|
+
};
|
|
9108
|
+
Relationships: [];
|
|
9109
|
+
};
|
|
9077
9110
|
layout_logos: {
|
|
9078
9111
|
Row: {
|
|
9079
9112
|
bestand_url: string;
|
|
@@ -10236,6 +10269,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
10236
10269
|
next_attempt_at: string;
|
|
10237
10270
|
order_id: string;
|
|
10238
10271
|
reason: string;
|
|
10272
|
+
reason_code: string | null;
|
|
10239
10273
|
status: string;
|
|
10240
10274
|
updated_at: string;
|
|
10241
10275
|
};
|
|
@@ -10248,6 +10282,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
10248
10282
|
next_attempt_at?: string;
|
|
10249
10283
|
order_id: string;
|
|
10250
10284
|
reason?: string;
|
|
10285
|
+
reason_code?: string | null;
|
|
10251
10286
|
status?: string;
|
|
10252
10287
|
updated_at?: string;
|
|
10253
10288
|
};
|
|
@@ -10260,6 +10295,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
10260
10295
|
next_attempt_at?: string;
|
|
10261
10296
|
order_id?: string;
|
|
10262
10297
|
reason?: string;
|
|
10298
|
+
reason_code?: string | null;
|
|
10263
10299
|
status?: string;
|
|
10264
10300
|
updated_at?: string;
|
|
10265
10301
|
};
|
|
@@ -10964,6 +11000,21 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
10964
11000
|
referencedColumns: ["id"];
|
|
10965
11001
|
}];
|
|
10966
11002
|
};
|
|
11003
|
+
logistics_tick_heartbeat: {
|
|
11004
|
+
Row: {
|
|
11005
|
+
id: boolean;
|
|
11006
|
+
last_tick_at: string;
|
|
11007
|
+
};
|
|
11008
|
+
Insert: {
|
|
11009
|
+
id?: boolean;
|
|
11010
|
+
last_tick_at?: string;
|
|
11011
|
+
};
|
|
11012
|
+
Update: {
|
|
11013
|
+
id?: boolean;
|
|
11014
|
+
last_tick_at?: string;
|
|
11015
|
+
};
|
|
11016
|
+
Relationships: [];
|
|
11017
|
+
};
|
|
10967
11018
|
logistics_variables: {
|
|
10968
11019
|
Row: {
|
|
10969
11020
|
created_at: string;
|
|
@@ -13601,6 +13652,27 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
13601
13652
|
};
|
|
13602
13653
|
Relationships: [];
|
|
13603
13654
|
};
|
|
13655
|
+
pick_buffer_event_cursor: {
|
|
13656
|
+
Row: {
|
|
13657
|
+
created_at: string;
|
|
13658
|
+
id: boolean;
|
|
13659
|
+
last_event_at: string;
|
|
13660
|
+
updated_at: string;
|
|
13661
|
+
};
|
|
13662
|
+
Insert: {
|
|
13663
|
+
created_at?: string;
|
|
13664
|
+
id?: boolean;
|
|
13665
|
+
last_event_at?: string;
|
|
13666
|
+
updated_at?: string;
|
|
13667
|
+
};
|
|
13668
|
+
Update: {
|
|
13669
|
+
created_at?: string;
|
|
13670
|
+
id?: boolean;
|
|
13671
|
+
last_event_at?: string;
|
|
13672
|
+
updated_at?: string;
|
|
13673
|
+
};
|
|
13674
|
+
Relationships: [];
|
|
13675
|
+
};
|
|
13604
13676
|
pick_countries: {
|
|
13605
13677
|
Row: {
|
|
13606
13678
|
active: boolean;
|
|
@@ -22117,6 +22189,17 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
22117
22189
|
};
|
|
22118
22190
|
Returns: boolean;
|
|
22119
22191
|
};
|
|
22192
|
+
floriday_adopt_connection: {
|
|
22193
|
+
Args: {
|
|
22194
|
+
p_new: string;
|
|
22195
|
+
p_old: string;
|
|
22196
|
+
};
|
|
22197
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22198
|
+
};
|
|
22199
|
+
floriday_autoheal_connections: {
|
|
22200
|
+
Args: never;
|
|
22201
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22202
|
+
};
|
|
22120
22203
|
floriday_capture_stock_snapshot: {
|
|
22121
22204
|
Args: never;
|
|
22122
22205
|
Returns: number;
|
|
@@ -22174,6 +22257,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
22174
22257
|
};
|
|
22175
22258
|
Returns: undefined;
|
|
22176
22259
|
};
|
|
22260
|
+
floriday_relink_products: {
|
|
22261
|
+
Args: {
|
|
22262
|
+
p_connection_id?: string;
|
|
22263
|
+
};
|
|
22264
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22265
|
+
};
|
|
22177
22266
|
floriday_requeue_dead_letters: {
|
|
22178
22267
|
Args: {
|
|
22179
22268
|
p_connection_id?: string;
|
|
@@ -22795,6 +22884,10 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
22795
22884
|
};
|
|
22796
22885
|
Returns: string;
|
|
22797
22886
|
};
|
|
22887
|
+
logistics_active_layout_method: {
|
|
22888
|
+
Args: never;
|
|
22889
|
+
Returns: string;
|
|
22890
|
+
};
|
|
22798
22891
|
logistics_active_pick_workdays: {
|
|
22799
22892
|
Args: never;
|
|
22800
22893
|
Returns: string[];
|
|
@@ -22846,6 +22939,30 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
22846
22939
|
};
|
|
22847
22940
|
Returns: import("../integrations/supabase/types").Json;
|
|
22848
22941
|
};
|
|
22942
|
+
logistics_block_reason_code: {
|
|
22943
|
+
Args: {
|
|
22944
|
+
p_details?: import("../integrations/supabase/types").Json;
|
|
22945
|
+
p_reason: string;
|
|
22946
|
+
};
|
|
22947
|
+
Returns: string;
|
|
22948
|
+
};
|
|
22949
|
+
logistics_blocked_orders: {
|
|
22950
|
+
Args: never;
|
|
22951
|
+
Returns: {
|
|
22952
|
+
attempts: number;
|
|
22953
|
+
blocked_since: string;
|
|
22954
|
+
delivery_date: string;
|
|
22955
|
+
order_id: string;
|
|
22956
|
+
order_ref: string;
|
|
22957
|
+
queue_id: string;
|
|
22958
|
+
reason: string;
|
|
22959
|
+
reason_code: string;
|
|
22960
|
+
}[];
|
|
22961
|
+
};
|
|
22962
|
+
logistics_blocked_overview: {
|
|
22963
|
+
Args: never;
|
|
22964
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22965
|
+
};
|
|
22849
22966
|
logistics_buffer_criteria: {
|
|
22850
22967
|
Args: {
|
|
22851
22968
|
p_settings: import("../integrations/supabase/types").Json;
|
|
@@ -22860,6 +22977,39 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
22860
22977
|
};
|
|
22861
22978
|
Returns: import("../integrations/supabase/types").Json;
|
|
22862
22979
|
};
|
|
22980
|
+
logistics_buffer_detach_late_orders: {
|
|
22981
|
+
Args: {
|
|
22982
|
+
p_buffer?: string;
|
|
22983
|
+
};
|
|
22984
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22985
|
+
};
|
|
22986
|
+
logistics_buffer_frozen_order: {
|
|
22987
|
+
Args: {
|
|
22988
|
+
p_order_id: string;
|
|
22989
|
+
};
|
|
22990
|
+
Returns: boolean;
|
|
22991
|
+
};
|
|
22992
|
+
logistics_buffer_handled: {
|
|
22993
|
+
Args: {
|
|
22994
|
+
p_buffer: string;
|
|
22995
|
+
};
|
|
22996
|
+
Returns: boolean;
|
|
22997
|
+
};
|
|
22998
|
+
logistics_buffer_notify: {
|
|
22999
|
+
Args: {
|
|
23000
|
+
p_event_type: string;
|
|
23001
|
+
p_idempotency_key: string;
|
|
23002
|
+
p_order_ref: string;
|
|
23003
|
+
p_payload: import("../integrations/supabase/types").Json;
|
|
23004
|
+
};
|
|
23005
|
+
Returns: string;
|
|
23006
|
+
};
|
|
23007
|
+
logistics_buffer_open_key: {
|
|
23008
|
+
Args: {
|
|
23009
|
+
p_base_key: string;
|
|
23010
|
+
};
|
|
23011
|
+
Returns: string;
|
|
23012
|
+
};
|
|
22863
23013
|
logistics_buffer_simulate: {
|
|
22864
23014
|
Args: {
|
|
22865
23015
|
p_orders?: import("../integrations/supabase/types").Json;
|
|
@@ -23501,6 +23651,16 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
23501
23651
|
};
|
|
23502
23652
|
Returns: boolean;
|
|
23503
23653
|
};
|
|
23654
|
+
logistics_layout_method_status: {
|
|
23655
|
+
Args: never;
|
|
23656
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23657
|
+
};
|
|
23658
|
+
logistics_link_order_items: {
|
|
23659
|
+
Args: {
|
|
23660
|
+
p_order?: string;
|
|
23661
|
+
};
|
|
23662
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23663
|
+
};
|
|
23504
23664
|
logistics_live_carriers: {
|
|
23505
23665
|
Args: {
|
|
23506
23666
|
p_order_ref: string;
|
|
@@ -23527,6 +23687,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
23527
23687
|
};
|
|
23528
23688
|
Returns: string;
|
|
23529
23689
|
};
|
|
23690
|
+
logistics_normalize_product_label: {
|
|
23691
|
+
Args: {
|
|
23692
|
+
p_label: string;
|
|
23693
|
+
};
|
|
23694
|
+
Returns: string;
|
|
23695
|
+
};
|
|
23530
23696
|
logistics_not_past: {
|
|
23531
23697
|
Args: {
|
|
23532
23698
|
p_ts: string;
|
|
@@ -23715,6 +23881,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
23715
23881
|
Args: never;
|
|
23716
23882
|
Returns: number;
|
|
23717
23883
|
};
|
|
23884
|
+
logistics_plan_retry: {
|
|
23885
|
+
Args: {
|
|
23886
|
+
p_order_ids: string[];
|
|
23887
|
+
};
|
|
23888
|
+
Returns: number;
|
|
23889
|
+
};
|
|
23718
23890
|
logistics_plan_setting: {
|
|
23719
23891
|
Args: {
|
|
23720
23892
|
p_default: number;
|
|
@@ -23768,6 +23940,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
23768
23940
|
};
|
|
23769
23941
|
Returns: import("../integrations/supabase/types").Json;
|
|
23770
23942
|
};
|
|
23943
|
+
logistics_replan_all: {
|
|
23944
|
+
Args: {
|
|
23945
|
+
p_reason?: string;
|
|
23946
|
+
};
|
|
23947
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23948
|
+
};
|
|
23771
23949
|
logistics_report_delay: {
|
|
23772
23950
|
Args: {
|
|
23773
23951
|
p_expected_date?: string;
|
|
@@ -23821,6 +23999,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
23821
23999
|
};
|
|
23822
24000
|
Returns: import("../integrations/supabase/types").Json;
|
|
23823
24001
|
};
|
|
24002
|
+
logistics_resolve_product_id: {
|
|
24003
|
+
Args: {
|
|
24004
|
+
p_label: string;
|
|
24005
|
+
};
|
|
24006
|
+
Returns: string;
|
|
24007
|
+
};
|
|
23824
24008
|
logistics_resolve_settings: {
|
|
23825
24009
|
Args: {
|
|
23826
24010
|
p_config_id: string;
|
|
@@ -23950,6 +24134,10 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
23950
24134
|
};
|
|
23951
24135
|
Returns: number;
|
|
23952
24136
|
};
|
|
24137
|
+
logistics_tick_ping: {
|
|
24138
|
+
Args: never;
|
|
24139
|
+
Returns: string;
|
|
24140
|
+
};
|
|
23953
24141
|
logistics_upsert_task: {
|
|
23954
24142
|
Args: {
|
|
23955
24143
|
p_buffer_ref: string;
|
|
@@ -24134,6 +24322,10 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
24134
24322
|
online: boolean;
|
|
24135
24323
|
}[];
|
|
24136
24324
|
};
|
|
24325
|
+
pick_apply_buffer_events: {
|
|
24326
|
+
Args: never;
|
|
24327
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24328
|
+
};
|
|
24137
24329
|
pick_available_pick_days: {
|
|
24138
24330
|
Args: {
|
|
24139
24331
|
_max_days?: number;
|
|
@@ -25061,6 +25253,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
25061
25253
|
};
|
|
25062
25254
|
Returns: boolean;
|
|
25063
25255
|
};
|
|
25256
|
+
release_job_lock: {
|
|
25257
|
+
Args: {
|
|
25258
|
+
_key: string;
|
|
25259
|
+
};
|
|
25260
|
+
Returns: undefined;
|
|
25261
|
+
};
|
|
25064
25262
|
release_local_pdf_job: {
|
|
25065
25263
|
Args: {
|
|
25066
25264
|
_job_id: string;
|
|
@@ -25749,6 +25947,14 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
|
|
|
25749
25947
|
row_count: number;
|
|
25750
25948
|
}[];
|
|
25751
25949
|
};
|
|
25950
|
+
try_acquire_job_lock: {
|
|
25951
|
+
Args: {
|
|
25952
|
+
_key: string;
|
|
25953
|
+
_owner?: string;
|
|
25954
|
+
_seconds?: number;
|
|
25955
|
+
};
|
|
25956
|
+
Returns: boolean;
|
|
25957
|
+
};
|
|
25752
25958
|
try_debtor_lock: {
|
|
25753
25959
|
Args: {
|
|
25754
25960
|
_group_key: string;
|
|
@@ -28054,6 +28260,8 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
28054
28260
|
created_at: string;
|
|
28055
28261
|
currency: string;
|
|
28056
28262
|
distribute_over: string | null;
|
|
28263
|
+
external_id: string | null;
|
|
28264
|
+
external_synced_at: string | null;
|
|
28057
28265
|
group_type: string;
|
|
28058
28266
|
handling_fee: number | null;
|
|
28059
28267
|
id: string;
|
|
@@ -28066,6 +28274,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
28066
28274
|
rounding: string;
|
|
28067
28275
|
rounding_step: number;
|
|
28068
28276
|
sort_order: number;
|
|
28277
|
+
source: string;
|
|
28069
28278
|
unit: string;
|
|
28070
28279
|
updated_at: string;
|
|
28071
28280
|
};
|
|
@@ -28076,6 +28285,8 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
28076
28285
|
created_at?: string;
|
|
28077
28286
|
currency?: string;
|
|
28078
28287
|
distribute_over?: string | null;
|
|
28288
|
+
external_id?: string | null;
|
|
28289
|
+
external_synced_at?: string | null;
|
|
28079
28290
|
group_type?: string;
|
|
28080
28291
|
handling_fee?: number | null;
|
|
28081
28292
|
id?: string;
|
|
@@ -28088,6 +28299,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
28088
28299
|
rounding?: string;
|
|
28089
28300
|
rounding_step?: number;
|
|
28090
28301
|
sort_order?: number;
|
|
28302
|
+
source?: string;
|
|
28091
28303
|
unit?: string;
|
|
28092
28304
|
updated_at?: string;
|
|
28093
28305
|
};
|
|
@@ -28098,6 +28310,8 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
28098
28310
|
created_at?: string;
|
|
28099
28311
|
currency?: string;
|
|
28100
28312
|
distribute_over?: string | null;
|
|
28313
|
+
external_id?: string | null;
|
|
28314
|
+
external_synced_at?: string | null;
|
|
28101
28315
|
group_type?: string;
|
|
28102
28316
|
handling_fee?: number | null;
|
|
28103
28317
|
id?: string;
|
|
@@ -28110,6 +28324,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
28110
28324
|
rounding?: string;
|
|
28111
28325
|
rounding_step?: number;
|
|
28112
28326
|
sort_order?: number;
|
|
28327
|
+
source?: string;
|
|
28113
28328
|
unit?: string;
|
|
28114
28329
|
updated_at?: string;
|
|
28115
28330
|
};
|
|
@@ -34973,6 +35188,30 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
34973
35188
|
referencedColumns: ["id"];
|
|
34974
35189
|
}];
|
|
34975
35190
|
};
|
|
35191
|
+
job_locks: {
|
|
35192
|
+
Row: {
|
|
35193
|
+
created_at: string;
|
|
35194
|
+
lock_key: string;
|
|
35195
|
+
locked_until: string;
|
|
35196
|
+
owner: string | null;
|
|
35197
|
+
updated_at: string;
|
|
35198
|
+
};
|
|
35199
|
+
Insert: {
|
|
35200
|
+
created_at?: string;
|
|
35201
|
+
lock_key: string;
|
|
35202
|
+
locked_until: string;
|
|
35203
|
+
owner?: string | null;
|
|
35204
|
+
updated_at?: string;
|
|
35205
|
+
};
|
|
35206
|
+
Update: {
|
|
35207
|
+
created_at?: string;
|
|
35208
|
+
lock_key?: string;
|
|
35209
|
+
locked_until?: string;
|
|
35210
|
+
owner?: string | null;
|
|
35211
|
+
updated_at?: string;
|
|
35212
|
+
};
|
|
35213
|
+
Relationships: [];
|
|
35214
|
+
};
|
|
34976
35215
|
layout_logos: {
|
|
34977
35216
|
Row: {
|
|
34978
35217
|
bestand_url: string;
|
|
@@ -36135,6 +36374,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
36135
36374
|
next_attempt_at: string;
|
|
36136
36375
|
order_id: string;
|
|
36137
36376
|
reason: string;
|
|
36377
|
+
reason_code: string | null;
|
|
36138
36378
|
status: string;
|
|
36139
36379
|
updated_at: string;
|
|
36140
36380
|
};
|
|
@@ -36147,6 +36387,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
36147
36387
|
next_attempt_at?: string;
|
|
36148
36388
|
order_id: string;
|
|
36149
36389
|
reason?: string;
|
|
36390
|
+
reason_code?: string | null;
|
|
36150
36391
|
status?: string;
|
|
36151
36392
|
updated_at?: string;
|
|
36152
36393
|
};
|
|
@@ -36159,6 +36400,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
36159
36400
|
next_attempt_at?: string;
|
|
36160
36401
|
order_id?: string;
|
|
36161
36402
|
reason?: string;
|
|
36403
|
+
reason_code?: string | null;
|
|
36162
36404
|
status?: string;
|
|
36163
36405
|
updated_at?: string;
|
|
36164
36406
|
};
|
|
@@ -36863,6 +37105,21 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
36863
37105
|
referencedColumns: ["id"];
|
|
36864
37106
|
}];
|
|
36865
37107
|
};
|
|
37108
|
+
logistics_tick_heartbeat: {
|
|
37109
|
+
Row: {
|
|
37110
|
+
id: boolean;
|
|
37111
|
+
last_tick_at: string;
|
|
37112
|
+
};
|
|
37113
|
+
Insert: {
|
|
37114
|
+
id?: boolean;
|
|
37115
|
+
last_tick_at?: string;
|
|
37116
|
+
};
|
|
37117
|
+
Update: {
|
|
37118
|
+
id?: boolean;
|
|
37119
|
+
last_tick_at?: string;
|
|
37120
|
+
};
|
|
37121
|
+
Relationships: [];
|
|
37122
|
+
};
|
|
36866
37123
|
logistics_variables: {
|
|
36867
37124
|
Row: {
|
|
36868
37125
|
created_at: string;
|
|
@@ -39500,6 +39757,27 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
39500
39757
|
};
|
|
39501
39758
|
Relationships: [];
|
|
39502
39759
|
};
|
|
39760
|
+
pick_buffer_event_cursor: {
|
|
39761
|
+
Row: {
|
|
39762
|
+
created_at: string;
|
|
39763
|
+
id: boolean;
|
|
39764
|
+
last_event_at: string;
|
|
39765
|
+
updated_at: string;
|
|
39766
|
+
};
|
|
39767
|
+
Insert: {
|
|
39768
|
+
created_at?: string;
|
|
39769
|
+
id?: boolean;
|
|
39770
|
+
last_event_at?: string;
|
|
39771
|
+
updated_at?: string;
|
|
39772
|
+
};
|
|
39773
|
+
Update: {
|
|
39774
|
+
created_at?: string;
|
|
39775
|
+
id?: boolean;
|
|
39776
|
+
last_event_at?: string;
|
|
39777
|
+
updated_at?: string;
|
|
39778
|
+
};
|
|
39779
|
+
Relationships: [];
|
|
39780
|
+
};
|
|
39503
39781
|
pick_countries: {
|
|
39504
39782
|
Row: {
|
|
39505
39783
|
active: boolean;
|
|
@@ -48016,6 +48294,17 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
48016
48294
|
};
|
|
48017
48295
|
Returns: boolean;
|
|
48018
48296
|
};
|
|
48297
|
+
floriday_adopt_connection: {
|
|
48298
|
+
Args: {
|
|
48299
|
+
p_new: string;
|
|
48300
|
+
p_old: string;
|
|
48301
|
+
};
|
|
48302
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
48303
|
+
};
|
|
48304
|
+
floriday_autoheal_connections: {
|
|
48305
|
+
Args: never;
|
|
48306
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
48307
|
+
};
|
|
48019
48308
|
floriday_capture_stock_snapshot: {
|
|
48020
48309
|
Args: never;
|
|
48021
48310
|
Returns: number;
|
|
@@ -48073,6 +48362,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
48073
48362
|
};
|
|
48074
48363
|
Returns: undefined;
|
|
48075
48364
|
};
|
|
48365
|
+
floriday_relink_products: {
|
|
48366
|
+
Args: {
|
|
48367
|
+
p_connection_id?: string;
|
|
48368
|
+
};
|
|
48369
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
48370
|
+
};
|
|
48076
48371
|
floriday_requeue_dead_letters: {
|
|
48077
48372
|
Args: {
|
|
48078
48373
|
p_connection_id?: string;
|
|
@@ -48694,6 +48989,10 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
48694
48989
|
};
|
|
48695
48990
|
Returns: string;
|
|
48696
48991
|
};
|
|
48992
|
+
logistics_active_layout_method: {
|
|
48993
|
+
Args: never;
|
|
48994
|
+
Returns: string;
|
|
48995
|
+
};
|
|
48697
48996
|
logistics_active_pick_workdays: {
|
|
48698
48997
|
Args: never;
|
|
48699
48998
|
Returns: string[];
|
|
@@ -48745,6 +49044,30 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
48745
49044
|
};
|
|
48746
49045
|
Returns: import("../integrations/supabase/types").Json;
|
|
48747
49046
|
};
|
|
49047
|
+
logistics_block_reason_code: {
|
|
49048
|
+
Args: {
|
|
49049
|
+
p_details?: import("../integrations/supabase/types").Json;
|
|
49050
|
+
p_reason: string;
|
|
49051
|
+
};
|
|
49052
|
+
Returns: string;
|
|
49053
|
+
};
|
|
49054
|
+
logistics_blocked_orders: {
|
|
49055
|
+
Args: never;
|
|
49056
|
+
Returns: {
|
|
49057
|
+
attempts: number;
|
|
49058
|
+
blocked_since: string;
|
|
49059
|
+
delivery_date: string;
|
|
49060
|
+
order_id: string;
|
|
49061
|
+
order_ref: string;
|
|
49062
|
+
queue_id: string;
|
|
49063
|
+
reason: string;
|
|
49064
|
+
reason_code: string;
|
|
49065
|
+
}[];
|
|
49066
|
+
};
|
|
49067
|
+
logistics_blocked_overview: {
|
|
49068
|
+
Args: never;
|
|
49069
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
49070
|
+
};
|
|
48748
49071
|
logistics_buffer_criteria: {
|
|
48749
49072
|
Args: {
|
|
48750
49073
|
p_settings: import("../integrations/supabase/types").Json;
|
|
@@ -48759,6 +49082,39 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
48759
49082
|
};
|
|
48760
49083
|
Returns: import("../integrations/supabase/types").Json;
|
|
48761
49084
|
};
|
|
49085
|
+
logistics_buffer_detach_late_orders: {
|
|
49086
|
+
Args: {
|
|
49087
|
+
p_buffer?: string;
|
|
49088
|
+
};
|
|
49089
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
49090
|
+
};
|
|
49091
|
+
logistics_buffer_frozen_order: {
|
|
49092
|
+
Args: {
|
|
49093
|
+
p_order_id: string;
|
|
49094
|
+
};
|
|
49095
|
+
Returns: boolean;
|
|
49096
|
+
};
|
|
49097
|
+
logistics_buffer_handled: {
|
|
49098
|
+
Args: {
|
|
49099
|
+
p_buffer: string;
|
|
49100
|
+
};
|
|
49101
|
+
Returns: boolean;
|
|
49102
|
+
};
|
|
49103
|
+
logistics_buffer_notify: {
|
|
49104
|
+
Args: {
|
|
49105
|
+
p_event_type: string;
|
|
49106
|
+
p_idempotency_key: string;
|
|
49107
|
+
p_order_ref: string;
|
|
49108
|
+
p_payload: import("../integrations/supabase/types").Json;
|
|
49109
|
+
};
|
|
49110
|
+
Returns: string;
|
|
49111
|
+
};
|
|
49112
|
+
logistics_buffer_open_key: {
|
|
49113
|
+
Args: {
|
|
49114
|
+
p_base_key: string;
|
|
49115
|
+
};
|
|
49116
|
+
Returns: string;
|
|
49117
|
+
};
|
|
48762
49118
|
logistics_buffer_simulate: {
|
|
48763
49119
|
Args: {
|
|
48764
49120
|
p_orders?: import("../integrations/supabase/types").Json;
|
|
@@ -49400,6 +49756,16 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
49400
49756
|
};
|
|
49401
49757
|
Returns: boolean;
|
|
49402
49758
|
};
|
|
49759
|
+
logistics_layout_method_status: {
|
|
49760
|
+
Args: never;
|
|
49761
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
49762
|
+
};
|
|
49763
|
+
logistics_link_order_items: {
|
|
49764
|
+
Args: {
|
|
49765
|
+
p_order?: string;
|
|
49766
|
+
};
|
|
49767
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
49768
|
+
};
|
|
49403
49769
|
logistics_live_carriers: {
|
|
49404
49770
|
Args: {
|
|
49405
49771
|
p_order_ref: string;
|
|
@@ -49426,6 +49792,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
49426
49792
|
};
|
|
49427
49793
|
Returns: string;
|
|
49428
49794
|
};
|
|
49795
|
+
logistics_normalize_product_label: {
|
|
49796
|
+
Args: {
|
|
49797
|
+
p_label: string;
|
|
49798
|
+
};
|
|
49799
|
+
Returns: string;
|
|
49800
|
+
};
|
|
49429
49801
|
logistics_not_past: {
|
|
49430
49802
|
Args: {
|
|
49431
49803
|
p_ts: string;
|
|
@@ -49614,6 +49986,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
49614
49986
|
Args: never;
|
|
49615
49987
|
Returns: number;
|
|
49616
49988
|
};
|
|
49989
|
+
logistics_plan_retry: {
|
|
49990
|
+
Args: {
|
|
49991
|
+
p_order_ids: string[];
|
|
49992
|
+
};
|
|
49993
|
+
Returns: number;
|
|
49994
|
+
};
|
|
49617
49995
|
logistics_plan_setting: {
|
|
49618
49996
|
Args: {
|
|
49619
49997
|
p_default: number;
|
|
@@ -49667,6 +50045,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
49667
50045
|
};
|
|
49668
50046
|
Returns: import("../integrations/supabase/types").Json;
|
|
49669
50047
|
};
|
|
50048
|
+
logistics_replan_all: {
|
|
50049
|
+
Args: {
|
|
50050
|
+
p_reason?: string;
|
|
50051
|
+
};
|
|
50052
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
50053
|
+
};
|
|
49670
50054
|
logistics_report_delay: {
|
|
49671
50055
|
Args: {
|
|
49672
50056
|
p_expected_date?: string;
|
|
@@ -49720,6 +50104,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
49720
50104
|
};
|
|
49721
50105
|
Returns: import("../integrations/supabase/types").Json;
|
|
49722
50106
|
};
|
|
50107
|
+
logistics_resolve_product_id: {
|
|
50108
|
+
Args: {
|
|
50109
|
+
p_label: string;
|
|
50110
|
+
};
|
|
50111
|
+
Returns: string;
|
|
50112
|
+
};
|
|
49723
50113
|
logistics_resolve_settings: {
|
|
49724
50114
|
Args: {
|
|
49725
50115
|
p_config_id: string;
|
|
@@ -49849,6 +50239,10 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
49849
50239
|
};
|
|
49850
50240
|
Returns: number;
|
|
49851
50241
|
};
|
|
50242
|
+
logistics_tick_ping: {
|
|
50243
|
+
Args: never;
|
|
50244
|
+
Returns: string;
|
|
50245
|
+
};
|
|
49852
50246
|
logistics_upsert_task: {
|
|
49853
50247
|
Args: {
|
|
49854
50248
|
p_buffer_ref: string;
|
|
@@ -50033,6 +50427,10 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
50033
50427
|
online: boolean;
|
|
50034
50428
|
}[];
|
|
50035
50429
|
};
|
|
50430
|
+
pick_apply_buffer_events: {
|
|
50431
|
+
Args: never;
|
|
50432
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
50433
|
+
};
|
|
50036
50434
|
pick_available_pick_days: {
|
|
50037
50435
|
Args: {
|
|
50038
50436
|
_max_days?: number;
|
|
@@ -50960,6 +51358,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
50960
51358
|
};
|
|
50961
51359
|
Returns: boolean;
|
|
50962
51360
|
};
|
|
51361
|
+
release_job_lock: {
|
|
51362
|
+
Args: {
|
|
51363
|
+
_key: string;
|
|
51364
|
+
};
|
|
51365
|
+
Returns: undefined;
|
|
51366
|
+
};
|
|
50963
51367
|
release_local_pdf_job: {
|
|
50964
51368
|
Args: {
|
|
50965
51369
|
_job_id: string;
|
|
@@ -51648,6 +52052,14 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
|
|
|
51648
52052
|
row_count: number;
|
|
51649
52053
|
}[];
|
|
51650
52054
|
};
|
|
52055
|
+
try_acquire_job_lock: {
|
|
52056
|
+
Args: {
|
|
52057
|
+
_key: string;
|
|
52058
|
+
_owner?: string;
|
|
52059
|
+
_seconds?: number;
|
|
52060
|
+
};
|
|
52061
|
+
Returns: boolean;
|
|
52062
|
+
};
|
|
51651
52063
|
try_debtor_lock: {
|
|
51652
52064
|
Args: {
|
|
51653
52065
|
_group_key: string;
|
|
@@ -53986,6 +54398,8 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
53986
54398
|
created_at: string;
|
|
53987
54399
|
currency: string;
|
|
53988
54400
|
distribute_over: string | null;
|
|
54401
|
+
external_id: string | null;
|
|
54402
|
+
external_synced_at: string | null;
|
|
53989
54403
|
group_type: string;
|
|
53990
54404
|
handling_fee: number | null;
|
|
53991
54405
|
id: string;
|
|
@@ -53998,6 +54412,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
53998
54412
|
rounding: string;
|
|
53999
54413
|
rounding_step: number;
|
|
54000
54414
|
sort_order: number;
|
|
54415
|
+
source: string;
|
|
54001
54416
|
unit: string;
|
|
54002
54417
|
updated_at: string;
|
|
54003
54418
|
};
|
|
@@ -54008,6 +54423,8 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
54008
54423
|
created_at?: string;
|
|
54009
54424
|
currency?: string;
|
|
54010
54425
|
distribute_over?: string | null;
|
|
54426
|
+
external_id?: string | null;
|
|
54427
|
+
external_synced_at?: string | null;
|
|
54011
54428
|
group_type?: string;
|
|
54012
54429
|
handling_fee?: number | null;
|
|
54013
54430
|
id?: string;
|
|
@@ -54020,6 +54437,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
54020
54437
|
rounding?: string;
|
|
54021
54438
|
rounding_step?: number;
|
|
54022
54439
|
sort_order?: number;
|
|
54440
|
+
source?: string;
|
|
54023
54441
|
unit?: string;
|
|
54024
54442
|
updated_at?: string;
|
|
54025
54443
|
};
|
|
@@ -54030,6 +54448,8 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
54030
54448
|
created_at?: string;
|
|
54031
54449
|
currency?: string;
|
|
54032
54450
|
distribute_over?: string | null;
|
|
54451
|
+
external_id?: string | null;
|
|
54452
|
+
external_synced_at?: string | null;
|
|
54033
54453
|
group_type?: string;
|
|
54034
54454
|
handling_fee?: number | null;
|
|
54035
54455
|
id?: string;
|
|
@@ -54042,6 +54462,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
54042
54462
|
rounding?: string;
|
|
54043
54463
|
rounding_step?: number;
|
|
54044
54464
|
sort_order?: number;
|
|
54465
|
+
source?: string;
|
|
54045
54466
|
unit?: string;
|
|
54046
54467
|
updated_at?: string;
|
|
54047
54468
|
};
|
|
@@ -60905,6 +61326,30 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
60905
61326
|
referencedColumns: ["id"];
|
|
60906
61327
|
}];
|
|
60907
61328
|
};
|
|
61329
|
+
job_locks: {
|
|
61330
|
+
Row: {
|
|
61331
|
+
created_at: string;
|
|
61332
|
+
lock_key: string;
|
|
61333
|
+
locked_until: string;
|
|
61334
|
+
owner: string | null;
|
|
61335
|
+
updated_at: string;
|
|
61336
|
+
};
|
|
61337
|
+
Insert: {
|
|
61338
|
+
created_at?: string;
|
|
61339
|
+
lock_key: string;
|
|
61340
|
+
locked_until: string;
|
|
61341
|
+
owner?: string | null;
|
|
61342
|
+
updated_at?: string;
|
|
61343
|
+
};
|
|
61344
|
+
Update: {
|
|
61345
|
+
created_at?: string;
|
|
61346
|
+
lock_key?: string;
|
|
61347
|
+
locked_until?: string;
|
|
61348
|
+
owner?: string | null;
|
|
61349
|
+
updated_at?: string;
|
|
61350
|
+
};
|
|
61351
|
+
Relationships: [];
|
|
61352
|
+
};
|
|
60908
61353
|
layout_logos: {
|
|
60909
61354
|
Row: {
|
|
60910
61355
|
bestand_url: string;
|
|
@@ -62067,6 +62512,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
62067
62512
|
next_attempt_at: string;
|
|
62068
62513
|
order_id: string;
|
|
62069
62514
|
reason: string;
|
|
62515
|
+
reason_code: string | null;
|
|
62070
62516
|
status: string;
|
|
62071
62517
|
updated_at: string;
|
|
62072
62518
|
};
|
|
@@ -62079,6 +62525,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
62079
62525
|
next_attempt_at?: string;
|
|
62080
62526
|
order_id: string;
|
|
62081
62527
|
reason?: string;
|
|
62528
|
+
reason_code?: string | null;
|
|
62082
62529
|
status?: string;
|
|
62083
62530
|
updated_at?: string;
|
|
62084
62531
|
};
|
|
@@ -62091,6 +62538,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
62091
62538
|
next_attempt_at?: string;
|
|
62092
62539
|
order_id?: string;
|
|
62093
62540
|
reason?: string;
|
|
62541
|
+
reason_code?: string | null;
|
|
62094
62542
|
status?: string;
|
|
62095
62543
|
updated_at?: string;
|
|
62096
62544
|
};
|
|
@@ -62795,6 +63243,21 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
62795
63243
|
referencedColumns: ["id"];
|
|
62796
63244
|
}];
|
|
62797
63245
|
};
|
|
63246
|
+
logistics_tick_heartbeat: {
|
|
63247
|
+
Row: {
|
|
63248
|
+
id: boolean;
|
|
63249
|
+
last_tick_at: string;
|
|
63250
|
+
};
|
|
63251
|
+
Insert: {
|
|
63252
|
+
id?: boolean;
|
|
63253
|
+
last_tick_at?: string;
|
|
63254
|
+
};
|
|
63255
|
+
Update: {
|
|
63256
|
+
id?: boolean;
|
|
63257
|
+
last_tick_at?: string;
|
|
63258
|
+
};
|
|
63259
|
+
Relationships: [];
|
|
63260
|
+
};
|
|
62798
63261
|
logistics_variables: {
|
|
62799
63262
|
Row: {
|
|
62800
63263
|
created_at: string;
|
|
@@ -65432,6 +65895,27 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
65432
65895
|
};
|
|
65433
65896
|
Relationships: [];
|
|
65434
65897
|
};
|
|
65898
|
+
pick_buffer_event_cursor: {
|
|
65899
|
+
Row: {
|
|
65900
|
+
created_at: string;
|
|
65901
|
+
id: boolean;
|
|
65902
|
+
last_event_at: string;
|
|
65903
|
+
updated_at: string;
|
|
65904
|
+
};
|
|
65905
|
+
Insert: {
|
|
65906
|
+
created_at?: string;
|
|
65907
|
+
id?: boolean;
|
|
65908
|
+
last_event_at?: string;
|
|
65909
|
+
updated_at?: string;
|
|
65910
|
+
};
|
|
65911
|
+
Update: {
|
|
65912
|
+
created_at?: string;
|
|
65913
|
+
id?: boolean;
|
|
65914
|
+
last_event_at?: string;
|
|
65915
|
+
updated_at?: string;
|
|
65916
|
+
};
|
|
65917
|
+
Relationships: [];
|
|
65918
|
+
};
|
|
65435
65919
|
pick_countries: {
|
|
65436
65920
|
Row: {
|
|
65437
65921
|
active: boolean;
|
|
@@ -73948,6 +74432,17 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
73948
74432
|
};
|
|
73949
74433
|
Returns: boolean;
|
|
73950
74434
|
};
|
|
74435
|
+
floriday_adopt_connection: {
|
|
74436
|
+
Args: {
|
|
74437
|
+
p_new: string;
|
|
74438
|
+
p_old: string;
|
|
74439
|
+
};
|
|
74440
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
74441
|
+
};
|
|
74442
|
+
floriday_autoheal_connections: {
|
|
74443
|
+
Args: never;
|
|
74444
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
74445
|
+
};
|
|
73951
74446
|
floriday_capture_stock_snapshot: {
|
|
73952
74447
|
Args: never;
|
|
73953
74448
|
Returns: number;
|
|
@@ -74005,6 +74500,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
74005
74500
|
};
|
|
74006
74501
|
Returns: undefined;
|
|
74007
74502
|
};
|
|
74503
|
+
floriday_relink_products: {
|
|
74504
|
+
Args: {
|
|
74505
|
+
p_connection_id?: string;
|
|
74506
|
+
};
|
|
74507
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
74508
|
+
};
|
|
74008
74509
|
floriday_requeue_dead_letters: {
|
|
74009
74510
|
Args: {
|
|
74010
74511
|
p_connection_id?: string;
|
|
@@ -74626,6 +75127,10 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
74626
75127
|
};
|
|
74627
75128
|
Returns: string;
|
|
74628
75129
|
};
|
|
75130
|
+
logistics_active_layout_method: {
|
|
75131
|
+
Args: never;
|
|
75132
|
+
Returns: string;
|
|
75133
|
+
};
|
|
74629
75134
|
logistics_active_pick_workdays: {
|
|
74630
75135
|
Args: never;
|
|
74631
75136
|
Returns: string[];
|
|
@@ -74677,6 +75182,30 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
74677
75182
|
};
|
|
74678
75183
|
Returns: import("../integrations/supabase/types").Json;
|
|
74679
75184
|
};
|
|
75185
|
+
logistics_block_reason_code: {
|
|
75186
|
+
Args: {
|
|
75187
|
+
p_details?: import("../integrations/supabase/types").Json;
|
|
75188
|
+
p_reason: string;
|
|
75189
|
+
};
|
|
75190
|
+
Returns: string;
|
|
75191
|
+
};
|
|
75192
|
+
logistics_blocked_orders: {
|
|
75193
|
+
Args: never;
|
|
75194
|
+
Returns: {
|
|
75195
|
+
attempts: number;
|
|
75196
|
+
blocked_since: string;
|
|
75197
|
+
delivery_date: string;
|
|
75198
|
+
order_id: string;
|
|
75199
|
+
order_ref: string;
|
|
75200
|
+
queue_id: string;
|
|
75201
|
+
reason: string;
|
|
75202
|
+
reason_code: string;
|
|
75203
|
+
}[];
|
|
75204
|
+
};
|
|
75205
|
+
logistics_blocked_overview: {
|
|
75206
|
+
Args: never;
|
|
75207
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
75208
|
+
};
|
|
74680
75209
|
logistics_buffer_criteria: {
|
|
74681
75210
|
Args: {
|
|
74682
75211
|
p_settings: import("../integrations/supabase/types").Json;
|
|
@@ -74691,6 +75220,39 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
74691
75220
|
};
|
|
74692
75221
|
Returns: import("../integrations/supabase/types").Json;
|
|
74693
75222
|
};
|
|
75223
|
+
logistics_buffer_detach_late_orders: {
|
|
75224
|
+
Args: {
|
|
75225
|
+
p_buffer?: string;
|
|
75226
|
+
};
|
|
75227
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
75228
|
+
};
|
|
75229
|
+
logistics_buffer_frozen_order: {
|
|
75230
|
+
Args: {
|
|
75231
|
+
p_order_id: string;
|
|
75232
|
+
};
|
|
75233
|
+
Returns: boolean;
|
|
75234
|
+
};
|
|
75235
|
+
logistics_buffer_handled: {
|
|
75236
|
+
Args: {
|
|
75237
|
+
p_buffer: string;
|
|
75238
|
+
};
|
|
75239
|
+
Returns: boolean;
|
|
75240
|
+
};
|
|
75241
|
+
logistics_buffer_notify: {
|
|
75242
|
+
Args: {
|
|
75243
|
+
p_event_type: string;
|
|
75244
|
+
p_idempotency_key: string;
|
|
75245
|
+
p_order_ref: string;
|
|
75246
|
+
p_payload: import("../integrations/supabase/types").Json;
|
|
75247
|
+
};
|
|
75248
|
+
Returns: string;
|
|
75249
|
+
};
|
|
75250
|
+
logistics_buffer_open_key: {
|
|
75251
|
+
Args: {
|
|
75252
|
+
p_base_key: string;
|
|
75253
|
+
};
|
|
75254
|
+
Returns: string;
|
|
75255
|
+
};
|
|
74694
75256
|
logistics_buffer_simulate: {
|
|
74695
75257
|
Args: {
|
|
74696
75258
|
p_orders?: import("../integrations/supabase/types").Json;
|
|
@@ -75332,6 +75894,16 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
75332
75894
|
};
|
|
75333
75895
|
Returns: boolean;
|
|
75334
75896
|
};
|
|
75897
|
+
logistics_layout_method_status: {
|
|
75898
|
+
Args: never;
|
|
75899
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
75900
|
+
};
|
|
75901
|
+
logistics_link_order_items: {
|
|
75902
|
+
Args: {
|
|
75903
|
+
p_order?: string;
|
|
75904
|
+
};
|
|
75905
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
75906
|
+
};
|
|
75335
75907
|
logistics_live_carriers: {
|
|
75336
75908
|
Args: {
|
|
75337
75909
|
p_order_ref: string;
|
|
@@ -75358,6 +75930,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
75358
75930
|
};
|
|
75359
75931
|
Returns: string;
|
|
75360
75932
|
};
|
|
75933
|
+
logistics_normalize_product_label: {
|
|
75934
|
+
Args: {
|
|
75935
|
+
p_label: string;
|
|
75936
|
+
};
|
|
75937
|
+
Returns: string;
|
|
75938
|
+
};
|
|
75361
75939
|
logistics_not_past: {
|
|
75362
75940
|
Args: {
|
|
75363
75941
|
p_ts: string;
|
|
@@ -75546,6 +76124,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
75546
76124
|
Args: never;
|
|
75547
76125
|
Returns: number;
|
|
75548
76126
|
};
|
|
76127
|
+
logistics_plan_retry: {
|
|
76128
|
+
Args: {
|
|
76129
|
+
p_order_ids: string[];
|
|
76130
|
+
};
|
|
76131
|
+
Returns: number;
|
|
76132
|
+
};
|
|
75549
76133
|
logistics_plan_setting: {
|
|
75550
76134
|
Args: {
|
|
75551
76135
|
p_default: number;
|
|
@@ -75599,6 +76183,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
75599
76183
|
};
|
|
75600
76184
|
Returns: import("../integrations/supabase/types").Json;
|
|
75601
76185
|
};
|
|
76186
|
+
logistics_replan_all: {
|
|
76187
|
+
Args: {
|
|
76188
|
+
p_reason?: string;
|
|
76189
|
+
};
|
|
76190
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
76191
|
+
};
|
|
75602
76192
|
logistics_report_delay: {
|
|
75603
76193
|
Args: {
|
|
75604
76194
|
p_expected_date?: string;
|
|
@@ -75652,6 +76242,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
75652
76242
|
};
|
|
75653
76243
|
Returns: import("../integrations/supabase/types").Json;
|
|
75654
76244
|
};
|
|
76245
|
+
logistics_resolve_product_id: {
|
|
76246
|
+
Args: {
|
|
76247
|
+
p_label: string;
|
|
76248
|
+
};
|
|
76249
|
+
Returns: string;
|
|
76250
|
+
};
|
|
75655
76251
|
logistics_resolve_settings: {
|
|
75656
76252
|
Args: {
|
|
75657
76253
|
p_config_id: string;
|
|
@@ -75781,6 +76377,10 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
75781
76377
|
};
|
|
75782
76378
|
Returns: number;
|
|
75783
76379
|
};
|
|
76380
|
+
logistics_tick_ping: {
|
|
76381
|
+
Args: never;
|
|
76382
|
+
Returns: string;
|
|
76383
|
+
};
|
|
75784
76384
|
logistics_upsert_task: {
|
|
75785
76385
|
Args: {
|
|
75786
76386
|
p_buffer_ref: string;
|
|
@@ -75965,6 +76565,10 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
75965
76565
|
online: boolean;
|
|
75966
76566
|
}[];
|
|
75967
76567
|
};
|
|
76568
|
+
pick_apply_buffer_events: {
|
|
76569
|
+
Args: never;
|
|
76570
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
76571
|
+
};
|
|
75968
76572
|
pick_available_pick_days: {
|
|
75969
76573
|
Args: {
|
|
75970
76574
|
_max_days?: number;
|
|
@@ -76892,6 +77496,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
76892
77496
|
};
|
|
76893
77497
|
Returns: boolean;
|
|
76894
77498
|
};
|
|
77499
|
+
release_job_lock: {
|
|
77500
|
+
Args: {
|
|
77501
|
+
_key: string;
|
|
77502
|
+
};
|
|
77503
|
+
Returns: undefined;
|
|
77504
|
+
};
|
|
76895
77505
|
release_local_pdf_job: {
|
|
76896
77506
|
Args: {
|
|
76897
77507
|
_job_id: string;
|
|
@@ -77580,6 +78190,14 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
|
|
|
77580
78190
|
row_count: number;
|
|
77581
78191
|
}[];
|
|
77582
78192
|
};
|
|
78193
|
+
try_acquire_job_lock: {
|
|
78194
|
+
Args: {
|
|
78195
|
+
_key: string;
|
|
78196
|
+
_owner?: string;
|
|
78197
|
+
_seconds?: number;
|
|
78198
|
+
};
|
|
78199
|
+
Returns: boolean;
|
|
78200
|
+
};
|
|
77583
78201
|
try_debtor_lock: {
|
|
77584
78202
|
Args: {
|
|
77585
78203
|
_group_key: string;
|