@flowselections/floriday-voorraad 1.0.40 → 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/voorraad/ValidationOverviewTable.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ValidationOverviewTable.js +45 -14
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +914 -19
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +914 -19
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +914 -19
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +914 -17
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts +914 -19
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-2026v1.server.d.ts +1 -1
- package/dist-lib/lib/floriday-2026v1.server.d.ts.map +1 -1
- package/dist-lib/lib/floriday-2026v1.server.js +4 -0
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts +914 -19
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-env.functions.d.ts +1790 -0
- package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.functions.d.ts +5370 -0
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.server.d.ts +7 -1
- package/dist-lib/lib/floriday-gateway.server.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.server.js +50 -3
- package/dist-lib/lib/floriday-relink.d.ts +16 -0
- package/dist-lib/lib/floriday-relink.d.ts.map +1 -0
- package/dist-lib/lib/floriday-relink.js +14 -0
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts +1790 -0
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +2685 -0
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-write-gate.server.d.ts +60 -0
- package/dist-lib/lib/floriday-write-gate.server.d.ts.map +1 -0
- package/dist-lib/lib/floriday-write-gate.server.js +196 -0
- package/dist-lib/lib/floriday-writes.functions.d.ts +1790 -0
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/inventory-settings.functions.d.ts +1790 -0
- package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-buffer-events.server.d.ts +13 -0
- package/dist-lib/lib/logistics-buffer-events.server.d.ts.map +1 -0
- package/dist-lib/lib/logistics-buffer-events.server.js +365 -0
- package/dist-lib/lib/logistics-events.d.ts.map +1 -1
- package/dist-lib/lib/logistics-events.js +36 -7
- package/dist-lib/lib/logistics-tasks.server.d.ts.map +1 -1
- package/dist-lib/lib/logistics-tasks.server.js +38 -6
- package/dist-lib/lib/module-health.functions.d.ts +1790 -0
- package/dist-lib/lib/module-health.functions.d.ts.map +1 -1
- package/dist-lib/lib/stock-sync.functions.d.ts +1790 -0
- package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2165,6 +2165,8 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
2165
2165
|
created_at: string;
|
|
2166
2166
|
currency: string;
|
|
2167
2167
|
distribute_over: string | null;
|
|
2168
|
+
external_id: string | null;
|
|
2169
|
+
external_synced_at: string | null;
|
|
2168
2170
|
group_type: string;
|
|
2169
2171
|
handling_fee: number | null;
|
|
2170
2172
|
id: string;
|
|
@@ -2177,6 +2179,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
2177
2179
|
rounding: string;
|
|
2178
2180
|
rounding_step: number;
|
|
2179
2181
|
sort_order: number;
|
|
2182
|
+
source: string;
|
|
2180
2183
|
unit: string;
|
|
2181
2184
|
updated_at: string;
|
|
2182
2185
|
};
|
|
@@ -2187,6 +2190,8 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
2187
2190
|
created_at?: string;
|
|
2188
2191
|
currency?: string;
|
|
2189
2192
|
distribute_over?: string | null;
|
|
2193
|
+
external_id?: string | null;
|
|
2194
|
+
external_synced_at?: string | null;
|
|
2190
2195
|
group_type?: string;
|
|
2191
2196
|
handling_fee?: number | null;
|
|
2192
2197
|
id?: string;
|
|
@@ -2199,6 +2204,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
2199
2204
|
rounding?: string;
|
|
2200
2205
|
rounding_step?: number;
|
|
2201
2206
|
sort_order?: number;
|
|
2207
|
+
source?: string;
|
|
2202
2208
|
unit?: string;
|
|
2203
2209
|
updated_at?: string;
|
|
2204
2210
|
};
|
|
@@ -2209,6 +2215,8 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
2209
2215
|
created_at?: string;
|
|
2210
2216
|
currency?: string;
|
|
2211
2217
|
distribute_over?: string | null;
|
|
2218
|
+
external_id?: string | null;
|
|
2219
|
+
external_synced_at?: string | null;
|
|
2212
2220
|
group_type?: string;
|
|
2213
2221
|
handling_fee?: number | null;
|
|
2214
2222
|
id?: string;
|
|
@@ -2221,6 +2229,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
2221
2229
|
rounding?: string;
|
|
2222
2230
|
rounding_step?: number;
|
|
2223
2231
|
sort_order?: number;
|
|
2232
|
+
source?: string;
|
|
2224
2233
|
unit?: string;
|
|
2225
2234
|
updated_at?: string;
|
|
2226
2235
|
};
|
|
@@ -5811,6 +5820,84 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
5811
5820
|
referencedColumns: ["id"];
|
|
5812
5821
|
}];
|
|
5813
5822
|
};
|
|
5823
|
+
floriday_catalog_prices_cache: {
|
|
5824
|
+
Row: {
|
|
5825
|
+
connection_id: string;
|
|
5826
|
+
created_at: string;
|
|
5827
|
+
currency: string;
|
|
5828
|
+
id: string;
|
|
5829
|
+
is_deleted: boolean;
|
|
5830
|
+
price: number | null;
|
|
5831
|
+
price_group_id: string | null;
|
|
5832
|
+
price_group_name: string | null;
|
|
5833
|
+
price_type: string;
|
|
5834
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
5835
|
+
sales_unit: string | null;
|
|
5836
|
+
sequence_number: number;
|
|
5837
|
+
supplier_article_code: string | null;
|
|
5838
|
+
supply_line_id: string;
|
|
5839
|
+
synced_at: string;
|
|
5840
|
+
trade_item_id: string | null;
|
|
5841
|
+
updated_at: string;
|
|
5842
|
+
valid_from: string | null;
|
|
5843
|
+
valid_to: string | null;
|
|
5844
|
+
week: number | null;
|
|
5845
|
+
year: number | null;
|
|
5846
|
+
};
|
|
5847
|
+
Insert: {
|
|
5848
|
+
connection_id: string;
|
|
5849
|
+
created_at?: string;
|
|
5850
|
+
currency?: string;
|
|
5851
|
+
id?: string;
|
|
5852
|
+
is_deleted?: boolean;
|
|
5853
|
+
price?: number | null;
|
|
5854
|
+
price_group_id?: string | null;
|
|
5855
|
+
price_group_name?: string | null;
|
|
5856
|
+
price_type?: string;
|
|
5857
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
5858
|
+
sales_unit?: string | null;
|
|
5859
|
+
sequence_number?: number;
|
|
5860
|
+
supplier_article_code?: string | null;
|
|
5861
|
+
supply_line_id: string;
|
|
5862
|
+
synced_at?: string;
|
|
5863
|
+
trade_item_id?: string | null;
|
|
5864
|
+
updated_at?: string;
|
|
5865
|
+
valid_from?: string | null;
|
|
5866
|
+
valid_to?: string | null;
|
|
5867
|
+
week?: number | null;
|
|
5868
|
+
year?: number | null;
|
|
5869
|
+
};
|
|
5870
|
+
Update: {
|
|
5871
|
+
connection_id?: string;
|
|
5872
|
+
created_at?: string;
|
|
5873
|
+
currency?: string;
|
|
5874
|
+
id?: string;
|
|
5875
|
+
is_deleted?: boolean;
|
|
5876
|
+
price?: number | null;
|
|
5877
|
+
price_group_id?: string | null;
|
|
5878
|
+
price_group_name?: string | null;
|
|
5879
|
+
price_type?: string;
|
|
5880
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
5881
|
+
sales_unit?: string | null;
|
|
5882
|
+
sequence_number?: number;
|
|
5883
|
+
supplier_article_code?: string | null;
|
|
5884
|
+
supply_line_id?: string;
|
|
5885
|
+
synced_at?: string;
|
|
5886
|
+
trade_item_id?: string | null;
|
|
5887
|
+
updated_at?: string;
|
|
5888
|
+
valid_from?: string | null;
|
|
5889
|
+
valid_to?: string | null;
|
|
5890
|
+
week?: number | null;
|
|
5891
|
+
year?: number | null;
|
|
5892
|
+
};
|
|
5893
|
+
Relationships: [{
|
|
5894
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
5895
|
+
columns: ["connection_id"];
|
|
5896
|
+
isOneToOne: false;
|
|
5897
|
+
referencedRelation: "floriday_connections";
|
|
5898
|
+
referencedColumns: ["id"];
|
|
5899
|
+
}];
|
|
5900
|
+
};
|
|
5814
5901
|
floriday_clock_presales_cache: {
|
|
5815
5902
|
Row: {
|
|
5816
5903
|
buyer_organization_id: string | null;
|
|
@@ -9084,6 +9171,30 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
9084
9171
|
referencedColumns: ["id"];
|
|
9085
9172
|
}];
|
|
9086
9173
|
};
|
|
9174
|
+
job_locks: {
|
|
9175
|
+
Row: {
|
|
9176
|
+
created_at: string;
|
|
9177
|
+
lock_key: string;
|
|
9178
|
+
locked_until: string;
|
|
9179
|
+
owner: string | null;
|
|
9180
|
+
updated_at: string;
|
|
9181
|
+
};
|
|
9182
|
+
Insert: {
|
|
9183
|
+
created_at?: string;
|
|
9184
|
+
lock_key: string;
|
|
9185
|
+
locked_until: string;
|
|
9186
|
+
owner?: string | null;
|
|
9187
|
+
updated_at?: string;
|
|
9188
|
+
};
|
|
9189
|
+
Update: {
|
|
9190
|
+
created_at?: string;
|
|
9191
|
+
lock_key?: string;
|
|
9192
|
+
locked_until?: string;
|
|
9193
|
+
owner?: string | null;
|
|
9194
|
+
updated_at?: string;
|
|
9195
|
+
};
|
|
9196
|
+
Relationships: [];
|
|
9197
|
+
};
|
|
9087
9198
|
layout_logos: {
|
|
9088
9199
|
Row: {
|
|
9089
9200
|
bestand_url: string;
|
|
@@ -10053,6 +10164,36 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
10053
10164
|
};
|
|
10054
10165
|
Relationships: [];
|
|
10055
10166
|
};
|
|
10167
|
+
logistics_floriday_push_refusals: {
|
|
10168
|
+
Row: {
|
|
10169
|
+
action: string | null;
|
|
10170
|
+
created_at: string;
|
|
10171
|
+
id: string;
|
|
10172
|
+
order_ref: string;
|
|
10173
|
+
reason: string;
|
|
10174
|
+
source_module: string | null;
|
|
10175
|
+
source_shell: string | null;
|
|
10176
|
+
};
|
|
10177
|
+
Insert: {
|
|
10178
|
+
action?: string | null;
|
|
10179
|
+
created_at?: string;
|
|
10180
|
+
id?: string;
|
|
10181
|
+
order_ref: string;
|
|
10182
|
+
reason: string;
|
|
10183
|
+
source_module?: string | null;
|
|
10184
|
+
source_shell?: string | null;
|
|
10185
|
+
};
|
|
10186
|
+
Update: {
|
|
10187
|
+
action?: string | null;
|
|
10188
|
+
created_at?: string;
|
|
10189
|
+
id?: string;
|
|
10190
|
+
order_ref?: string;
|
|
10191
|
+
reason?: string;
|
|
10192
|
+
source_module?: string | null;
|
|
10193
|
+
source_shell?: string | null;
|
|
10194
|
+
};
|
|
10195
|
+
Relationships: [];
|
|
10196
|
+
};
|
|
10056
10197
|
logistics_floriday_pushes: {
|
|
10057
10198
|
Row: {
|
|
10058
10199
|
attempts: number;
|
|
@@ -10128,6 +10269,42 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
10128
10269
|
};
|
|
10129
10270
|
Relationships: [];
|
|
10130
10271
|
};
|
|
10272
|
+
logistics_floriday_status_sends: {
|
|
10273
|
+
Row: {
|
|
10274
|
+
action: string;
|
|
10275
|
+
created_at: string;
|
|
10276
|
+
detail: string | null;
|
|
10277
|
+
http_status: number | null;
|
|
10278
|
+
id: string;
|
|
10279
|
+
ok: boolean;
|
|
10280
|
+
order_ref: string;
|
|
10281
|
+
source_module: string | null;
|
|
10282
|
+
source_shell: string | null;
|
|
10283
|
+
};
|
|
10284
|
+
Insert: {
|
|
10285
|
+
action: string;
|
|
10286
|
+
created_at?: string;
|
|
10287
|
+
detail?: string | null;
|
|
10288
|
+
http_status?: number | null;
|
|
10289
|
+
id?: string;
|
|
10290
|
+
ok?: boolean;
|
|
10291
|
+
order_ref: string;
|
|
10292
|
+
source_module?: string | null;
|
|
10293
|
+
source_shell?: string | null;
|
|
10294
|
+
};
|
|
10295
|
+
Update: {
|
|
10296
|
+
action?: string;
|
|
10297
|
+
created_at?: string;
|
|
10298
|
+
detail?: string | null;
|
|
10299
|
+
http_status?: number | null;
|
|
10300
|
+
id?: string;
|
|
10301
|
+
ok?: boolean;
|
|
10302
|
+
order_ref?: string;
|
|
10303
|
+
source_module?: string | null;
|
|
10304
|
+
source_shell?: string | null;
|
|
10305
|
+
};
|
|
10306
|
+
Relationships: [];
|
|
10307
|
+
};
|
|
10131
10308
|
logistics_formulas: {
|
|
10132
10309
|
Row: {
|
|
10133
10310
|
created_at: string;
|
|
@@ -10200,6 +10377,108 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
10200
10377
|
};
|
|
10201
10378
|
Relationships: [];
|
|
10202
10379
|
};
|
|
10380
|
+
logistics_opening_exceptions: {
|
|
10381
|
+
Row: {
|
|
10382
|
+
closes: string | null;
|
|
10383
|
+
created_at: string;
|
|
10384
|
+
day: string;
|
|
10385
|
+
id: string;
|
|
10386
|
+
is_closed: boolean;
|
|
10387
|
+
note: string | null;
|
|
10388
|
+
opens: string | null;
|
|
10389
|
+
};
|
|
10390
|
+
Insert: {
|
|
10391
|
+
closes?: string | null;
|
|
10392
|
+
created_at?: string;
|
|
10393
|
+
day: string;
|
|
10394
|
+
id?: string;
|
|
10395
|
+
is_closed?: boolean;
|
|
10396
|
+
note?: string | null;
|
|
10397
|
+
opens?: string | null;
|
|
10398
|
+
};
|
|
10399
|
+
Update: {
|
|
10400
|
+
closes?: string | null;
|
|
10401
|
+
created_at?: string;
|
|
10402
|
+
day?: string;
|
|
10403
|
+
id?: string;
|
|
10404
|
+
is_closed?: boolean;
|
|
10405
|
+
note?: string | null;
|
|
10406
|
+
opens?: string | null;
|
|
10407
|
+
};
|
|
10408
|
+
Relationships: [];
|
|
10409
|
+
};
|
|
10410
|
+
logistics_opening_hours: {
|
|
10411
|
+
Row: {
|
|
10412
|
+
closes: string;
|
|
10413
|
+
created_at: string;
|
|
10414
|
+
id: string;
|
|
10415
|
+
is_active: boolean;
|
|
10416
|
+
note: string | null;
|
|
10417
|
+
opens: string;
|
|
10418
|
+
weekday: number;
|
|
10419
|
+
};
|
|
10420
|
+
Insert: {
|
|
10421
|
+
closes: string;
|
|
10422
|
+
created_at?: string;
|
|
10423
|
+
id?: string;
|
|
10424
|
+
is_active?: boolean;
|
|
10425
|
+
note?: string | null;
|
|
10426
|
+
opens: string;
|
|
10427
|
+
weekday: number;
|
|
10428
|
+
};
|
|
10429
|
+
Update: {
|
|
10430
|
+
closes?: string;
|
|
10431
|
+
created_at?: string;
|
|
10432
|
+
id?: string;
|
|
10433
|
+
is_active?: boolean;
|
|
10434
|
+
note?: string | null;
|
|
10435
|
+
opens?: string;
|
|
10436
|
+
weekday?: number;
|
|
10437
|
+
};
|
|
10438
|
+
Relationships: [];
|
|
10439
|
+
};
|
|
10440
|
+
logistics_pick_data_requests: {
|
|
10441
|
+
Row: {
|
|
10442
|
+
actions: import("../integrations/supabase/types").Json;
|
|
10443
|
+
created_at: string;
|
|
10444
|
+
event_id: string | null;
|
|
10445
|
+
finished_at: string | null;
|
|
10446
|
+
id: string;
|
|
10447
|
+
missing: import("../integrations/supabase/types").Json;
|
|
10448
|
+
order_ref: string;
|
|
10449
|
+
reason: string | null;
|
|
10450
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
10451
|
+
status: string;
|
|
10452
|
+
unit_ref: string | null;
|
|
10453
|
+
};
|
|
10454
|
+
Insert: {
|
|
10455
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
10456
|
+
created_at?: string;
|
|
10457
|
+
event_id?: string | null;
|
|
10458
|
+
finished_at?: string | null;
|
|
10459
|
+
id?: string;
|
|
10460
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
10461
|
+
order_ref: string;
|
|
10462
|
+
reason?: string | null;
|
|
10463
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
10464
|
+
status?: string;
|
|
10465
|
+
unit_ref?: string | null;
|
|
10466
|
+
};
|
|
10467
|
+
Update: {
|
|
10468
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
10469
|
+
created_at?: string;
|
|
10470
|
+
event_id?: string | null;
|
|
10471
|
+
finished_at?: string | null;
|
|
10472
|
+
id?: string;
|
|
10473
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
10474
|
+
order_ref?: string;
|
|
10475
|
+
reason?: string | null;
|
|
10476
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
10477
|
+
status?: string;
|
|
10478
|
+
unit_ref?: string | null;
|
|
10479
|
+
};
|
|
10480
|
+
Relationships: [];
|
|
10481
|
+
};
|
|
10203
10482
|
logistics_pickup_moments: {
|
|
10204
10483
|
Row: {
|
|
10205
10484
|
carrier_ref: string | null;
|
|
@@ -10246,6 +10525,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
10246
10525
|
next_attempt_at: string;
|
|
10247
10526
|
order_id: string;
|
|
10248
10527
|
reason: string;
|
|
10528
|
+
reason_code: string | null;
|
|
10249
10529
|
status: string;
|
|
10250
10530
|
updated_at: string;
|
|
10251
10531
|
};
|
|
@@ -10258,6 +10538,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
10258
10538
|
next_attempt_at?: string;
|
|
10259
10539
|
order_id: string;
|
|
10260
10540
|
reason?: string;
|
|
10541
|
+
reason_code?: string | null;
|
|
10261
10542
|
status?: string;
|
|
10262
10543
|
updated_at?: string;
|
|
10263
10544
|
};
|
|
@@ -10270,6 +10551,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
10270
10551
|
next_attempt_at?: string;
|
|
10271
10552
|
order_id?: string;
|
|
10272
10553
|
reason?: string;
|
|
10554
|
+
reason_code?: string | null;
|
|
10273
10555
|
status?: string;
|
|
10274
10556
|
updated_at?: string;
|
|
10275
10557
|
};
|
|
@@ -10656,6 +10938,69 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
10656
10938
|
};
|
|
10657
10939
|
Relationships: [];
|
|
10658
10940
|
};
|
|
10941
|
+
logistics_slip_shipping_note: {
|
|
10942
|
+
Row: {
|
|
10943
|
+
attempts: number;
|
|
10944
|
+
batch_key: string | null;
|
|
10945
|
+
cart_id: string | null;
|
|
10946
|
+
created_at: string;
|
|
10947
|
+
error: string | null;
|
|
10948
|
+
error_code: string | null;
|
|
10949
|
+
fulfillment_order_id: string | null;
|
|
10950
|
+
id: string;
|
|
10951
|
+
locked_until: string | null;
|
|
10952
|
+
next_attempt_at: string | null;
|
|
10953
|
+
order_id: string | null;
|
|
10954
|
+
order_number: string | null;
|
|
10955
|
+
print_job_id: string | null;
|
|
10956
|
+
printer_id: string | null;
|
|
10957
|
+
retry_class: string | null;
|
|
10958
|
+
slip_job_id: string;
|
|
10959
|
+
status: string;
|
|
10960
|
+
updated_at: string;
|
|
10961
|
+
};
|
|
10962
|
+
Insert: {
|
|
10963
|
+
attempts?: number;
|
|
10964
|
+
batch_key?: string | null;
|
|
10965
|
+
cart_id?: string | null;
|
|
10966
|
+
created_at?: string;
|
|
10967
|
+
error?: string | null;
|
|
10968
|
+
error_code?: string | null;
|
|
10969
|
+
fulfillment_order_id?: string | null;
|
|
10970
|
+
id?: string;
|
|
10971
|
+
locked_until?: string | null;
|
|
10972
|
+
next_attempt_at?: string | null;
|
|
10973
|
+
order_id?: string | null;
|
|
10974
|
+
order_number?: string | null;
|
|
10975
|
+
print_job_id?: string | null;
|
|
10976
|
+
printer_id?: string | null;
|
|
10977
|
+
retry_class?: string | null;
|
|
10978
|
+
slip_job_id: string;
|
|
10979
|
+
status?: string;
|
|
10980
|
+
updated_at?: string;
|
|
10981
|
+
};
|
|
10982
|
+
Update: {
|
|
10983
|
+
attempts?: number;
|
|
10984
|
+
batch_key?: string | null;
|
|
10985
|
+
cart_id?: string | null;
|
|
10986
|
+
created_at?: string;
|
|
10987
|
+
error?: string | null;
|
|
10988
|
+
error_code?: string | null;
|
|
10989
|
+
fulfillment_order_id?: string | null;
|
|
10990
|
+
id?: string;
|
|
10991
|
+
locked_until?: string | null;
|
|
10992
|
+
next_attempt_at?: string | null;
|
|
10993
|
+
order_id?: string | null;
|
|
10994
|
+
order_number?: string | null;
|
|
10995
|
+
print_job_id?: string | null;
|
|
10996
|
+
printer_id?: string | null;
|
|
10997
|
+
retry_class?: string | null;
|
|
10998
|
+
slip_job_id?: string;
|
|
10999
|
+
status?: string;
|
|
11000
|
+
updated_at?: string;
|
|
11001
|
+
};
|
|
11002
|
+
Relationships: [];
|
|
11003
|
+
};
|
|
10659
11004
|
logistics_staff_planning: {
|
|
10660
11005
|
Row: {
|
|
10661
11006
|
created_at: string;
|
|
@@ -10974,6 +11319,39 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
10974
11319
|
referencedColumns: ["id"];
|
|
10975
11320
|
}];
|
|
10976
11321
|
};
|
|
11322
|
+
logistics_tick_heartbeat: {
|
|
11323
|
+
Row: {
|
|
11324
|
+
id: boolean;
|
|
11325
|
+
last_tick_at: string;
|
|
11326
|
+
};
|
|
11327
|
+
Insert: {
|
|
11328
|
+
id?: boolean;
|
|
11329
|
+
last_tick_at?: string;
|
|
11330
|
+
};
|
|
11331
|
+
Update: {
|
|
11332
|
+
id?: boolean;
|
|
11333
|
+
last_tick_at?: string;
|
|
11334
|
+
};
|
|
11335
|
+
Relationships: [];
|
|
11336
|
+
};
|
|
11337
|
+
logistics_time_settings: {
|
|
11338
|
+
Row: {
|
|
11339
|
+
id: boolean;
|
|
11340
|
+
timezone: string;
|
|
11341
|
+
updated_at: string;
|
|
11342
|
+
};
|
|
11343
|
+
Insert: {
|
|
11344
|
+
id?: boolean;
|
|
11345
|
+
timezone: string;
|
|
11346
|
+
updated_at?: string;
|
|
11347
|
+
};
|
|
11348
|
+
Update: {
|
|
11349
|
+
id?: boolean;
|
|
11350
|
+
timezone?: string;
|
|
11351
|
+
updated_at?: string;
|
|
11352
|
+
};
|
|
11353
|
+
Relationships: [];
|
|
11354
|
+
};
|
|
10977
11355
|
logistics_variables: {
|
|
10978
11356
|
Row: {
|
|
10979
11357
|
created_at: string;
|
|
@@ -13364,6 +13742,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
13364
13742
|
customer_name: string;
|
|
13365
13743
|
deleted_at: string | null;
|
|
13366
13744
|
delivery_date: string | null;
|
|
13745
|
+
floriday_order_group_key: string | null;
|
|
13367
13746
|
floriday_sales_order_id: string | null;
|
|
13368
13747
|
id: string;
|
|
13369
13748
|
invoice_due_at: string | null;
|
|
@@ -13391,6 +13770,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
13391
13770
|
customer_name?: string;
|
|
13392
13771
|
deleted_at?: string | null;
|
|
13393
13772
|
delivery_date?: string | null;
|
|
13773
|
+
floriday_order_group_key?: string | null;
|
|
13394
13774
|
floriday_sales_order_id?: string | null;
|
|
13395
13775
|
id?: string;
|
|
13396
13776
|
invoice_due_at?: string | null;
|
|
@@ -13418,6 +13798,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
13418
13798
|
customer_name?: string;
|
|
13419
13799
|
deleted_at?: string | null;
|
|
13420
13800
|
delivery_date?: string | null;
|
|
13801
|
+
floriday_order_group_key?: string | null;
|
|
13421
13802
|
floriday_sales_order_id?: string | null;
|
|
13422
13803
|
id?: string;
|
|
13423
13804
|
invoice_due_at?: string | null;
|
|
@@ -13611,6 +13992,27 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
13611
13992
|
};
|
|
13612
13993
|
Relationships: [];
|
|
13613
13994
|
};
|
|
13995
|
+
pick_buffer_event_cursor: {
|
|
13996
|
+
Row: {
|
|
13997
|
+
created_at: string;
|
|
13998
|
+
id: boolean;
|
|
13999
|
+
last_event_at: string;
|
|
14000
|
+
updated_at: string;
|
|
14001
|
+
};
|
|
14002
|
+
Insert: {
|
|
14003
|
+
created_at?: string;
|
|
14004
|
+
id?: boolean;
|
|
14005
|
+
last_event_at?: string;
|
|
14006
|
+
updated_at?: string;
|
|
14007
|
+
};
|
|
14008
|
+
Update: {
|
|
14009
|
+
created_at?: string;
|
|
14010
|
+
id?: boolean;
|
|
14011
|
+
last_event_at?: string;
|
|
14012
|
+
updated_at?: string;
|
|
14013
|
+
};
|
|
14014
|
+
Relationships: [];
|
|
14015
|
+
};
|
|
13614
14016
|
pick_countries: {
|
|
13615
14017
|
Row: {
|
|
13616
14018
|
active: boolean;
|
|
@@ -19260,6 +19662,36 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
19260
19662
|
referencedColumns: ["id"];
|
|
19261
19663
|
}];
|
|
19262
19664
|
};
|
|
19665
|
+
voorraad_buffer_state: {
|
|
19666
|
+
Row: {
|
|
19667
|
+
buffer_id: string;
|
|
19668
|
+
buffer_key: string | null;
|
|
19669
|
+
closed_at: string | null;
|
|
19670
|
+
created_at: string;
|
|
19671
|
+
detached_orders: import("../integrations/supabase/types").Json;
|
|
19672
|
+
reason: string | null;
|
|
19673
|
+
updated_at: string;
|
|
19674
|
+
};
|
|
19675
|
+
Insert: {
|
|
19676
|
+
buffer_id: string;
|
|
19677
|
+
buffer_key?: string | null;
|
|
19678
|
+
closed_at?: string | null;
|
|
19679
|
+
created_at?: string;
|
|
19680
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
19681
|
+
reason?: string | null;
|
|
19682
|
+
updated_at?: string;
|
|
19683
|
+
};
|
|
19684
|
+
Update: {
|
|
19685
|
+
buffer_id?: string;
|
|
19686
|
+
buffer_key?: string | null;
|
|
19687
|
+
closed_at?: string | null;
|
|
19688
|
+
created_at?: string;
|
|
19689
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
19690
|
+
reason?: string | null;
|
|
19691
|
+
updated_at?: string;
|
|
19692
|
+
};
|
|
19693
|
+
Relationships: [];
|
|
19694
|
+
};
|
|
19263
19695
|
voorraad_custom_fields: {
|
|
19264
19696
|
Row: {
|
|
19265
19697
|
created_at: string;
|
|
@@ -19302,6 +19734,36 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
19302
19734
|
};
|
|
19303
19735
|
Relationships: [];
|
|
19304
19736
|
};
|
|
19737
|
+
voorraad_logistics_event_log: {
|
|
19738
|
+
Row: {
|
|
19739
|
+
created_at: string;
|
|
19740
|
+
event_id: string;
|
|
19741
|
+
event_type: string;
|
|
19742
|
+
order_ref: string | null;
|
|
19743
|
+
processed_at: string;
|
|
19744
|
+
result: import("../integrations/supabase/types").Json;
|
|
19745
|
+
updated_at: string;
|
|
19746
|
+
};
|
|
19747
|
+
Insert: {
|
|
19748
|
+
created_at?: string;
|
|
19749
|
+
event_id: string;
|
|
19750
|
+
event_type: string;
|
|
19751
|
+
order_ref?: string | null;
|
|
19752
|
+
processed_at?: string;
|
|
19753
|
+
result?: import("../integrations/supabase/types").Json;
|
|
19754
|
+
updated_at?: string;
|
|
19755
|
+
};
|
|
19756
|
+
Update: {
|
|
19757
|
+
created_at?: string;
|
|
19758
|
+
event_id?: string;
|
|
19759
|
+
event_type?: string;
|
|
19760
|
+
order_ref?: string | null;
|
|
19761
|
+
processed_at?: string;
|
|
19762
|
+
result?: import("../integrations/supabase/types").Json;
|
|
19763
|
+
updated_at?: string;
|
|
19764
|
+
};
|
|
19765
|
+
Relationships: [];
|
|
19766
|
+
};
|
|
19305
19767
|
voorraad_media_upload_failures: {
|
|
19306
19768
|
Row: {
|
|
19307
19769
|
action: string;
|
|
@@ -22127,6 +22589,17 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
22127
22589
|
};
|
|
22128
22590
|
Returns: boolean;
|
|
22129
22591
|
};
|
|
22592
|
+
floriday_adopt_connection: {
|
|
22593
|
+
Args: {
|
|
22594
|
+
p_new: string;
|
|
22595
|
+
p_old: string;
|
|
22596
|
+
};
|
|
22597
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22598
|
+
};
|
|
22599
|
+
floriday_autoheal_connections: {
|
|
22600
|
+
Args: never;
|
|
22601
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22602
|
+
};
|
|
22130
22603
|
floriday_capture_stock_snapshot: {
|
|
22131
22604
|
Args: never;
|
|
22132
22605
|
Returns: number;
|
|
@@ -22184,6 +22657,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
22184
22657
|
};
|
|
22185
22658
|
Returns: undefined;
|
|
22186
22659
|
};
|
|
22660
|
+
floriday_relink_products: {
|
|
22661
|
+
Args: {
|
|
22662
|
+
p_connection_id?: string;
|
|
22663
|
+
};
|
|
22664
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22665
|
+
};
|
|
22187
22666
|
floriday_requeue_dead_letters: {
|
|
22188
22667
|
Args: {
|
|
22189
22668
|
p_connection_id?: string;
|
|
@@ -22805,6 +23284,10 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
22805
23284
|
};
|
|
22806
23285
|
Returns: string;
|
|
22807
23286
|
};
|
|
23287
|
+
logistics_active_layout_method: {
|
|
23288
|
+
Args: never;
|
|
23289
|
+
Returns: string;
|
|
23290
|
+
};
|
|
22808
23291
|
logistics_active_pick_workdays: {
|
|
22809
23292
|
Args: never;
|
|
22810
23293
|
Returns: string[];
|
|
@@ -22856,6 +23339,30 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
22856
23339
|
};
|
|
22857
23340
|
Returns: import("../integrations/supabase/types").Json;
|
|
22858
23341
|
};
|
|
23342
|
+
logistics_block_reason_code: {
|
|
23343
|
+
Args: {
|
|
23344
|
+
p_details?: import("../integrations/supabase/types").Json;
|
|
23345
|
+
p_reason: string;
|
|
23346
|
+
};
|
|
23347
|
+
Returns: string;
|
|
23348
|
+
};
|
|
23349
|
+
logistics_blocked_orders: {
|
|
23350
|
+
Args: never;
|
|
23351
|
+
Returns: {
|
|
23352
|
+
attempts: number;
|
|
23353
|
+
blocked_since: string;
|
|
23354
|
+
delivery_date: string;
|
|
23355
|
+
order_id: string;
|
|
23356
|
+
order_ref: string;
|
|
23357
|
+
queue_id: string;
|
|
23358
|
+
reason: string;
|
|
23359
|
+
reason_code: string;
|
|
23360
|
+
}[];
|
|
23361
|
+
};
|
|
23362
|
+
logistics_blocked_overview: {
|
|
23363
|
+
Args: never;
|
|
23364
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23365
|
+
};
|
|
22859
23366
|
logistics_buffer_criteria: {
|
|
22860
23367
|
Args: {
|
|
22861
23368
|
p_settings: import("../integrations/supabase/types").Json;
|
|
@@ -22870,6 +23377,39 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
22870
23377
|
};
|
|
22871
23378
|
Returns: import("../integrations/supabase/types").Json;
|
|
22872
23379
|
};
|
|
23380
|
+
logistics_buffer_detach_late_orders: {
|
|
23381
|
+
Args: {
|
|
23382
|
+
p_buffer?: string;
|
|
23383
|
+
};
|
|
23384
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23385
|
+
};
|
|
23386
|
+
logistics_buffer_frozen_order: {
|
|
23387
|
+
Args: {
|
|
23388
|
+
p_order_id: string;
|
|
23389
|
+
};
|
|
23390
|
+
Returns: boolean;
|
|
23391
|
+
};
|
|
23392
|
+
logistics_buffer_handled: {
|
|
23393
|
+
Args: {
|
|
23394
|
+
p_buffer: string;
|
|
23395
|
+
};
|
|
23396
|
+
Returns: boolean;
|
|
23397
|
+
};
|
|
23398
|
+
logistics_buffer_notify: {
|
|
23399
|
+
Args: {
|
|
23400
|
+
p_event_type: string;
|
|
23401
|
+
p_idempotency_key: string;
|
|
23402
|
+
p_order_ref: string;
|
|
23403
|
+
p_payload: import("../integrations/supabase/types").Json;
|
|
23404
|
+
};
|
|
23405
|
+
Returns: string;
|
|
23406
|
+
};
|
|
23407
|
+
logistics_buffer_open_key: {
|
|
23408
|
+
Args: {
|
|
23409
|
+
p_base_key: string;
|
|
23410
|
+
};
|
|
23411
|
+
Returns: string;
|
|
23412
|
+
};
|
|
22873
23413
|
logistics_buffer_simulate: {
|
|
22874
23414
|
Args: {
|
|
22875
23415
|
p_orders?: import("../integrations/supabase/types").Json;
|
|
@@ -22922,6 +23462,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
22922
23462
|
};
|
|
22923
23463
|
Returns: string;
|
|
22924
23464
|
};
|
|
23465
|
+
logistics_cart_checkin_at: {
|
|
23466
|
+
Args: {
|
|
23467
|
+
p_cart_id: string;
|
|
23468
|
+
};
|
|
23469
|
+
Returns: string;
|
|
23470
|
+
};
|
|
22925
23471
|
logistics_cart_handled: {
|
|
22926
23472
|
Args: {
|
|
22927
23473
|
p_cart_index: number;
|
|
@@ -22955,10 +23501,53 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
22955
23501
|
task_status: string;
|
|
22956
23502
|
}[];
|
|
22957
23503
|
};
|
|
23504
|
+
logistics_cart_is_full: {
|
|
23505
|
+
Args: {
|
|
23506
|
+
p_cart_id: string;
|
|
23507
|
+
};
|
|
23508
|
+
Returns: boolean;
|
|
23509
|
+
};
|
|
22958
23510
|
logistics_cart_layout_method: {
|
|
22959
23511
|
Args: never;
|
|
22960
23512
|
Returns: import("../integrations/supabase/types").Json;
|
|
22961
23513
|
};
|
|
23514
|
+
logistics_cart_order_refs: {
|
|
23515
|
+
Args: {
|
|
23516
|
+
p_cart_id: string;
|
|
23517
|
+
};
|
|
23518
|
+
Returns: string[];
|
|
23519
|
+
};
|
|
23520
|
+
logistics_cart_plan_overview: {
|
|
23521
|
+
Args: {
|
|
23522
|
+
p_days?: number;
|
|
23523
|
+
};
|
|
23524
|
+
Returns: {
|
|
23525
|
+
cart_total: number;
|
|
23526
|
+
delivery_date: string;
|
|
23527
|
+
order_ref: string;
|
|
23528
|
+
plan_ready: boolean;
|
|
23529
|
+
reason: string;
|
|
23530
|
+
released: boolean;
|
|
23531
|
+
}[];
|
|
23532
|
+
};
|
|
23533
|
+
logistics_cart_plan_status: {
|
|
23534
|
+
Args: {
|
|
23535
|
+
p_ref: string;
|
|
23536
|
+
};
|
|
23537
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23538
|
+
};
|
|
23539
|
+
logistics_cart_release_reason: {
|
|
23540
|
+
Args: {
|
|
23541
|
+
p_cart_id: string;
|
|
23542
|
+
};
|
|
23543
|
+
Returns: string;
|
|
23544
|
+
};
|
|
23545
|
+
logistics_cart_released: {
|
|
23546
|
+
Args: {
|
|
23547
|
+
p_cart_id: string;
|
|
23548
|
+
};
|
|
23549
|
+
Returns: boolean;
|
|
23550
|
+
};
|
|
22962
23551
|
logistics_cart_seq: {
|
|
22963
23552
|
Args: {
|
|
22964
23553
|
p_order_uuid?: string;
|
|
@@ -23009,6 +23598,10 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
23009
23598
|
unit_ref: string;
|
|
23010
23599
|
}[];
|
|
23011
23600
|
};
|
|
23601
|
+
logistics_carts_per_print: {
|
|
23602
|
+
Args: never;
|
|
23603
|
+
Returns: number;
|
|
23604
|
+
};
|
|
23012
23605
|
logistics_check_order_allowed: {
|
|
23013
23606
|
Args: {
|
|
23014
23607
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -23112,6 +23705,10 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
23112
23705
|
isSetofReturn: false;
|
|
23113
23706
|
};
|
|
23114
23707
|
};
|
|
23708
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
23709
|
+
Args: never;
|
|
23710
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23711
|
+
};
|
|
23115
23712
|
logistics_complete_task: {
|
|
23116
23713
|
Args: {
|
|
23117
23714
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -23174,6 +23771,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
23174
23771
|
station_carts: number;
|
|
23175
23772
|
}[];
|
|
23176
23773
|
};
|
|
23774
|
+
logistics_control_complete_cart: {
|
|
23775
|
+
Args: {
|
|
23776
|
+
p_cart_id: string;
|
|
23777
|
+
};
|
|
23778
|
+
Returns: number;
|
|
23779
|
+
};
|
|
23177
23780
|
logistics_control_scan_approve: {
|
|
23178
23781
|
Args: {
|
|
23179
23782
|
p_allow_reprint?: boolean;
|
|
@@ -23253,6 +23856,15 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
23253
23856
|
Args: never;
|
|
23254
23857
|
Returns: import("../integrations/supabase/types").Json;
|
|
23255
23858
|
};
|
|
23859
|
+
logistics_day_windows: {
|
|
23860
|
+
Args: {
|
|
23861
|
+
p_day: string;
|
|
23862
|
+
};
|
|
23863
|
+
Returns: {
|
|
23864
|
+
win_end: string;
|
|
23865
|
+
win_start: string;
|
|
23866
|
+
}[];
|
|
23867
|
+
};
|
|
23256
23868
|
logistics_delay_customer_email: {
|
|
23257
23869
|
Args: {
|
|
23258
23870
|
p_customer: string;
|
|
@@ -23320,6 +23932,17 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
23320
23932
|
};
|
|
23321
23933
|
Returns: import("../integrations/supabase/types").Json;
|
|
23322
23934
|
};
|
|
23935
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
23936
|
+
Args: {
|
|
23937
|
+
_cart_id: string;
|
|
23938
|
+
_is_herprint: boolean;
|
|
23939
|
+
_printer_id: string;
|
|
23940
|
+
_queue_item_id: string;
|
|
23941
|
+
_session_id: string;
|
|
23942
|
+
_slip_job_id: string;
|
|
23943
|
+
};
|
|
23944
|
+
Returns: string;
|
|
23945
|
+
};
|
|
23323
23946
|
logistics_enqueue_sticker_with_slip: {
|
|
23324
23947
|
Args: {
|
|
23325
23948
|
_cart_id: string;
|
|
@@ -23337,6 +23960,14 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
23337
23960
|
};
|
|
23338
23961
|
Returns: string;
|
|
23339
23962
|
};
|
|
23963
|
+
logistics_ensure_pick_data: {
|
|
23964
|
+
Args: {
|
|
23965
|
+
p_event_id?: string;
|
|
23966
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
23967
|
+
p_ref: string;
|
|
23968
|
+
};
|
|
23969
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23970
|
+
};
|
|
23340
23971
|
logistics_fail_task: {
|
|
23341
23972
|
Args: {
|
|
23342
23973
|
p_error: string;
|
|
@@ -23458,6 +24089,38 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
23458
24089
|
};
|
|
23459
24090
|
Returns: string;
|
|
23460
24091
|
};
|
|
24092
|
+
logistics_floriday_gate_status: {
|
|
24093
|
+
Args: never;
|
|
24094
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24095
|
+
};
|
|
24096
|
+
logistics_floriday_log_refusal: {
|
|
24097
|
+
Args: {
|
|
24098
|
+
_action?: string;
|
|
24099
|
+
_module?: string;
|
|
24100
|
+
_order_ref: string;
|
|
24101
|
+
_reason: string;
|
|
24102
|
+
_shell?: string;
|
|
24103
|
+
};
|
|
24104
|
+
Returns: undefined;
|
|
24105
|
+
};
|
|
24106
|
+
logistics_floriday_log_send: {
|
|
24107
|
+
Args: {
|
|
24108
|
+
_action: string;
|
|
24109
|
+
_detail?: string;
|
|
24110
|
+
_http_status?: number;
|
|
24111
|
+
_module?: string;
|
|
24112
|
+
_ok: boolean;
|
|
24113
|
+
_order_ref: string;
|
|
24114
|
+
_shell?: string;
|
|
24115
|
+
};
|
|
24116
|
+
Returns: undefined;
|
|
24117
|
+
};
|
|
24118
|
+
logistics_floriday_order_approved: {
|
|
24119
|
+
Args: {
|
|
24120
|
+
_order_ref: string;
|
|
24121
|
+
};
|
|
24122
|
+
Returns: boolean;
|
|
24123
|
+
};
|
|
23461
24124
|
logistics_floriday_prune_pushes: {
|
|
23462
24125
|
Args: {
|
|
23463
24126
|
_days?: number;
|
|
@@ -23472,6 +24135,20 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
23472
24135
|
};
|
|
23473
24136
|
Returns: string;
|
|
23474
24137
|
};
|
|
24138
|
+
logistics_floriday_status_updates_enabled: {
|
|
24139
|
+
Args: never;
|
|
24140
|
+
Returns: boolean;
|
|
24141
|
+
};
|
|
24142
|
+
logistics_floriday_stock_updates_enabled: {
|
|
24143
|
+
Args: never;
|
|
24144
|
+
Returns: boolean;
|
|
24145
|
+
};
|
|
24146
|
+
logistics_floriday_write_allowed: {
|
|
24147
|
+
Args: {
|
|
24148
|
+
_action: string;
|
|
24149
|
+
};
|
|
24150
|
+
Returns: boolean;
|
|
24151
|
+
};
|
|
23475
24152
|
logistics_fulfill_barcode_requests: {
|
|
23476
24153
|
Args: {
|
|
23477
24154
|
p_limit?: number;
|
|
@@ -23492,6 +24169,16 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
23492
24169
|
};
|
|
23493
24170
|
Returns: boolean;
|
|
23494
24171
|
};
|
|
24172
|
+
logistics_layout_method_status: {
|
|
24173
|
+
Args: never;
|
|
24174
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24175
|
+
};
|
|
24176
|
+
logistics_link_order_items: {
|
|
24177
|
+
Args: {
|
|
24178
|
+
p_order?: string;
|
|
24179
|
+
};
|
|
24180
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24181
|
+
};
|
|
23495
24182
|
logistics_live_carriers: {
|
|
23496
24183
|
Args: {
|
|
23497
24184
|
p_order_ref: string;
|
|
@@ -23504,6 +24191,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
23504
24191
|
};
|
|
23505
24192
|
Returns: number;
|
|
23506
24193
|
};
|
|
24194
|
+
logistics_merge_partial_carts: {
|
|
24195
|
+
Args: {
|
|
24196
|
+
p_limit?: number;
|
|
24197
|
+
};
|
|
24198
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24199
|
+
};
|
|
23507
24200
|
logistics_next_workday_date: {
|
|
23508
24201
|
Args: {
|
|
23509
24202
|
p_date: string;
|
|
@@ -23518,12 +24211,22 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
23518
24211
|
};
|
|
23519
24212
|
Returns: string;
|
|
23520
24213
|
};
|
|
24214
|
+
logistics_normalize_product_label: {
|
|
24215
|
+
Args: {
|
|
24216
|
+
p_label: string;
|
|
24217
|
+
};
|
|
24218
|
+
Returns: string;
|
|
24219
|
+
};
|
|
23521
24220
|
logistics_not_past: {
|
|
23522
24221
|
Args: {
|
|
23523
24222
|
p_ts: string;
|
|
23524
24223
|
};
|
|
23525
24224
|
Returns: string;
|
|
23526
24225
|
};
|
|
24226
|
+
logistics_opening_timezone: {
|
|
24227
|
+
Args: never;
|
|
24228
|
+
Returns: string;
|
|
24229
|
+
};
|
|
23527
24230
|
logistics_order_cart_count: {
|
|
23528
24231
|
Args: {
|
|
23529
24232
|
p_order_ref: string;
|
|
@@ -23608,6 +24311,10 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
23608
24311
|
Args: never;
|
|
23609
24312
|
Returns: import("../integrations/supabase/types").Json;
|
|
23610
24313
|
};
|
|
24314
|
+
logistics_pick_partial_mode: {
|
|
24315
|
+
Args: never;
|
|
24316
|
+
Returns: string;
|
|
24317
|
+
};
|
|
23611
24318
|
logistics_pick_start_estimate: {
|
|
23612
24319
|
Args: {
|
|
23613
24320
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -23706,6 +24413,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
23706
24413
|
Args: never;
|
|
23707
24414
|
Returns: number;
|
|
23708
24415
|
};
|
|
24416
|
+
logistics_plan_retry: {
|
|
24417
|
+
Args: {
|
|
24418
|
+
p_order_ids: string[];
|
|
24419
|
+
};
|
|
24420
|
+
Returns: number;
|
|
24421
|
+
};
|
|
23709
24422
|
logistics_plan_setting: {
|
|
23710
24423
|
Args: {
|
|
23711
24424
|
p_default: number;
|
|
@@ -23713,6 +24426,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
23713
24426
|
};
|
|
23714
24427
|
Returns: number;
|
|
23715
24428
|
};
|
|
24429
|
+
logistics_prepare_pick_documents: {
|
|
24430
|
+
Args: {
|
|
24431
|
+
p_limit?: number;
|
|
24432
|
+
};
|
|
24433
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24434
|
+
};
|
|
23716
24435
|
logistics_prune_buffer_member_queue: {
|
|
23717
24436
|
Args: never;
|
|
23718
24437
|
Returns: number;
|
|
@@ -23753,12 +24472,30 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
23753
24472
|
Args: never;
|
|
23754
24473
|
Returns: import("../integrations/supabase/types").Json;
|
|
23755
24474
|
};
|
|
24475
|
+
logistics_refresh_pick_queue_status: {
|
|
24476
|
+
Args: {
|
|
24477
|
+
p_ref: string;
|
|
24478
|
+
};
|
|
24479
|
+
Returns: number;
|
|
24480
|
+
};
|
|
23756
24481
|
logistics_refresh_pickup_moments: {
|
|
23757
24482
|
Args: {
|
|
23758
24483
|
p_weeks?: number;
|
|
23759
24484
|
};
|
|
23760
24485
|
Returns: import("../integrations/supabase/types").Json;
|
|
23761
24486
|
};
|
|
24487
|
+
logistics_replan_all: {
|
|
24488
|
+
Args: {
|
|
24489
|
+
p_reason?: string;
|
|
24490
|
+
};
|
|
24491
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24492
|
+
};
|
|
24493
|
+
logistics_replan_all_force: {
|
|
24494
|
+
Args: {
|
|
24495
|
+
p_reason?: string;
|
|
24496
|
+
};
|
|
24497
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24498
|
+
};
|
|
23762
24499
|
logistics_report_delay: {
|
|
23763
24500
|
Args: {
|
|
23764
24501
|
p_expected_date?: string;
|
|
@@ -23812,6 +24549,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
23812
24549
|
};
|
|
23813
24550
|
Returns: import("../integrations/supabase/types").Json;
|
|
23814
24551
|
};
|
|
24552
|
+
logistics_resolve_product_id: {
|
|
24553
|
+
Args: {
|
|
24554
|
+
p_label: string;
|
|
24555
|
+
};
|
|
24556
|
+
Returns: string;
|
|
24557
|
+
};
|
|
23815
24558
|
logistics_resolve_settings: {
|
|
23816
24559
|
Args: {
|
|
23817
24560
|
p_config_id: string;
|
|
@@ -23897,6 +24640,10 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
23897
24640
|
};
|
|
23898
24641
|
Returns: string;
|
|
23899
24642
|
};
|
|
24643
|
+
logistics_shipping_note_follows_slip: {
|
|
24644
|
+
Args: never;
|
|
24645
|
+
Returns: boolean;
|
|
24646
|
+
};
|
|
23900
24647
|
logistics_shipping_note_from_barcode: {
|
|
23901
24648
|
Args: {
|
|
23902
24649
|
p_allow_reprint?: boolean;
|
|
@@ -23905,10 +24652,76 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
23905
24652
|
};
|
|
23906
24653
|
Returns: import("../integrations/supabase/types").Json;
|
|
23907
24654
|
};
|
|
24655
|
+
logistics_shipping_note_job_for_slip: {
|
|
24656
|
+
Args: {
|
|
24657
|
+
_slip_job_id: string;
|
|
24658
|
+
};
|
|
24659
|
+
Returns: string;
|
|
24660
|
+
};
|
|
24661
|
+
logistics_slip_note_claim: {
|
|
24662
|
+
Args: {
|
|
24663
|
+
_lease_seconds?: number;
|
|
24664
|
+
_limit?: number;
|
|
24665
|
+
};
|
|
24666
|
+
Returns: {
|
|
24667
|
+
attempts: number;
|
|
24668
|
+
batch_key: string | null;
|
|
24669
|
+
cart_id: string | null;
|
|
24670
|
+
created_at: string;
|
|
24671
|
+
error: string | null;
|
|
24672
|
+
error_code: string | null;
|
|
24673
|
+
fulfillment_order_id: string | null;
|
|
24674
|
+
id: string;
|
|
24675
|
+
locked_until: string | null;
|
|
24676
|
+
next_attempt_at: string | null;
|
|
24677
|
+
order_id: string | null;
|
|
24678
|
+
order_number: string | null;
|
|
24679
|
+
print_job_id: string | null;
|
|
24680
|
+
printer_id: string | null;
|
|
24681
|
+
retry_class: string | null;
|
|
24682
|
+
slip_job_id: string;
|
|
24683
|
+
status: string;
|
|
24684
|
+
updated_at: string;
|
|
24685
|
+
}[];
|
|
24686
|
+
SetofOptions: {
|
|
24687
|
+
from: "*";
|
|
24688
|
+
to: "logistics_slip_shipping_note";
|
|
24689
|
+
isOneToOne: false;
|
|
24690
|
+
isSetofReturn: true;
|
|
24691
|
+
};
|
|
24692
|
+
};
|
|
24693
|
+
logistics_slip_note_finish: {
|
|
24694
|
+
Args: {
|
|
24695
|
+
_error?: string;
|
|
24696
|
+
_error_code?: string;
|
|
24697
|
+
_fulfillment_order_id?: string;
|
|
24698
|
+
_id: string;
|
|
24699
|
+
_ok: boolean;
|
|
24700
|
+
_print_job_id?: string;
|
|
24701
|
+
_status?: string;
|
|
24702
|
+
};
|
|
24703
|
+
Returns: undefined;
|
|
24704
|
+
};
|
|
24705
|
+
logistics_slip_note_keep_waiting: {
|
|
24706
|
+
Args: {
|
|
24707
|
+
_class?: string;
|
|
24708
|
+
_id: string;
|
|
24709
|
+
_reason: string;
|
|
24710
|
+
};
|
|
24711
|
+
Returns: undefined;
|
|
24712
|
+
};
|
|
23908
24713
|
logistics_sticker_follows_slip: {
|
|
23909
24714
|
Args: never;
|
|
23910
24715
|
Returns: boolean;
|
|
23911
24716
|
};
|
|
24717
|
+
logistics_subtract_working_minutes: {
|
|
24718
|
+
Args: {
|
|
24719
|
+
p_deadline: string;
|
|
24720
|
+
p_max_workdays?: number;
|
|
24721
|
+
p_minutes: number;
|
|
24722
|
+
};
|
|
24723
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24724
|
+
};
|
|
23912
24725
|
logistics_supersede_stale_tasks: {
|
|
23913
24726
|
Args: {
|
|
23914
24727
|
p_keep: string[];
|
|
@@ -23941,6 +24754,16 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
23941
24754
|
};
|
|
23942
24755
|
Returns: number;
|
|
23943
24756
|
};
|
|
24757
|
+
logistics_tick_ping: {
|
|
24758
|
+
Args: never;
|
|
24759
|
+
Returns: string;
|
|
24760
|
+
};
|
|
24761
|
+
logistics_timezone_options: {
|
|
24762
|
+
Args: never;
|
|
24763
|
+
Returns: {
|
|
24764
|
+
name: string;
|
|
24765
|
+
}[];
|
|
24766
|
+
};
|
|
23944
24767
|
logistics_upsert_task: {
|
|
23945
24768
|
Args: {
|
|
23946
24769
|
p_buffer_ref: string;
|
|
@@ -23960,6 +24783,16 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
23960
24783
|
};
|
|
23961
24784
|
Returns: string;
|
|
23962
24785
|
};
|
|
24786
|
+
logistics_valid_timezone: {
|
|
24787
|
+
Args: {
|
|
24788
|
+
_tz: string;
|
|
24789
|
+
};
|
|
24790
|
+
Returns: boolean;
|
|
24791
|
+
};
|
|
24792
|
+
logistics_working_hours_status: {
|
|
24793
|
+
Args: never;
|
|
24794
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24795
|
+
};
|
|
23963
24796
|
logistics_write_buffer_layer_positions: {
|
|
23964
24797
|
Args: {
|
|
23965
24798
|
p_buffer_id: string;
|
|
@@ -24084,6 +24917,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
24084
24917
|
};
|
|
24085
24918
|
Returns: import("../integrations/supabase/types").Json;
|
|
24086
24919
|
};
|
|
24920
|
+
order_heeft_bevestigde_karren: {
|
|
24921
|
+
Args: {
|
|
24922
|
+
p_order_id: string;
|
|
24923
|
+
};
|
|
24924
|
+
Returns: boolean;
|
|
24925
|
+
};
|
|
24087
24926
|
order_number_prefix: {
|
|
24088
24927
|
Args: {
|
|
24089
24928
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -24119,6 +24958,10 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
24119
24958
|
online: boolean;
|
|
24120
24959
|
}[];
|
|
24121
24960
|
};
|
|
24961
|
+
pick_apply_buffer_events: {
|
|
24962
|
+
Args: never;
|
|
24963
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24964
|
+
};
|
|
24122
24965
|
pick_available_pick_days: {
|
|
24123
24966
|
Args: {
|
|
24124
24967
|
_max_days?: number;
|
|
@@ -24128,6 +24971,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
24128
24971
|
pick_day: string;
|
|
24129
24972
|
}[];
|
|
24130
24973
|
};
|
|
24974
|
+
pick_buffer_order_ids: {
|
|
24975
|
+
Args: {
|
|
24976
|
+
_order_id: string;
|
|
24977
|
+
};
|
|
24978
|
+
Returns: string[];
|
|
24979
|
+
};
|
|
24131
24980
|
pick_cart_breakdown: {
|
|
24132
24981
|
Args: {
|
|
24133
24982
|
_order_id: string;
|
|
@@ -24187,6 +25036,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
24187
25036
|
pick_claim_next_document: {
|
|
24188
25037
|
Args: {
|
|
24189
25038
|
_country_code: string;
|
|
25039
|
+
_pick_day?: string;
|
|
24190
25040
|
_screen_id: string;
|
|
24191
25041
|
_session_id: string;
|
|
24192
25042
|
_station_id: string;
|
|
@@ -24475,6 +25325,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
24475
25325
|
omschrijving: string;
|
|
24476
25326
|
}[];
|
|
24477
25327
|
};
|
|
25328
|
+
pick_queue_cart_plan: {
|
|
25329
|
+
Args: {
|
|
25330
|
+
_queue_item_id: string;
|
|
25331
|
+
};
|
|
25332
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25333
|
+
};
|
|
24478
25334
|
pick_reference_data_status: {
|
|
24479
25335
|
Args: never;
|
|
24480
25336
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -24489,6 +25345,10 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
24489
25345
|
};
|
|
24490
25346
|
Returns: undefined;
|
|
24491
25347
|
};
|
|
25348
|
+
pick_report_missing_cart_plan: {
|
|
25349
|
+
Args: never;
|
|
25350
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25351
|
+
};
|
|
24492
25352
|
pick_reprint_cart: {
|
|
24493
25353
|
Args: {
|
|
24494
25354
|
_cart_id: string;
|
|
@@ -25029,6 +25889,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
25029
25889
|
};
|
|
25030
25890
|
Returns: boolean;
|
|
25031
25891
|
};
|
|
25892
|
+
release_job_lock: {
|
|
25893
|
+
Args: {
|
|
25894
|
+
_key: string;
|
|
25895
|
+
};
|
|
25896
|
+
Returns: undefined;
|
|
25897
|
+
};
|
|
25032
25898
|
release_local_pdf_job: {
|
|
25033
25899
|
Args: {
|
|
25034
25900
|
_job_id: string;
|
|
@@ -25218,6 +26084,16 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
25218
26084
|
};
|
|
25219
26085
|
Returns: import("../integrations/supabase/types").Json;
|
|
25220
26086
|
};
|
|
26087
|
+
scan_log_code: {
|
|
26088
|
+
Args: {
|
|
26089
|
+
p_code: string;
|
|
26090
|
+
p_latency_ms?: number;
|
|
26091
|
+
p_message?: string;
|
|
26092
|
+
p_result: string;
|
|
26093
|
+
p_scanner_key?: string;
|
|
26094
|
+
};
|
|
26095
|
+
Returns: string;
|
|
26096
|
+
};
|
|
25221
26097
|
scan_open_pakbonnen: {
|
|
25222
26098
|
Args: {
|
|
25223
26099
|
p_dagen?: number;
|
|
@@ -25362,6 +26238,13 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
25362
26238
|
};
|
|
25363
26239
|
Returns: number;
|
|
25364
26240
|
};
|
|
26241
|
+
schedule_floriday_catalog_prices_sync: {
|
|
26242
|
+
Args: {
|
|
26243
|
+
p_apikey: string;
|
|
26244
|
+
p_url: string;
|
|
26245
|
+
};
|
|
26246
|
+
Returns: number;
|
|
26247
|
+
};
|
|
25365
26248
|
schedule_floriday_clock_presales_sync: {
|
|
25366
26249
|
Args: {
|
|
25367
26250
|
p_apikey: string;
|
|
@@ -25662,6 +26545,10 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
25662
26545
|
};
|
|
25663
26546
|
Returns: undefined;
|
|
25664
26547
|
};
|
|
26548
|
+
sync_floriday_prices_into_price_groups: {
|
|
26549
|
+
Args: never;
|
|
26550
|
+
Returns: number;
|
|
26551
|
+
};
|
|
25665
26552
|
sync_layer_stock: {
|
|
25666
26553
|
Args: {
|
|
25667
26554
|
p_product_id: string;
|
|
@@ -25707,6 +26594,14 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
25707
26594
|
row_count: number;
|
|
25708
26595
|
}[];
|
|
25709
26596
|
};
|
|
26597
|
+
try_acquire_job_lock: {
|
|
26598
|
+
Args: {
|
|
26599
|
+
_key: string;
|
|
26600
|
+
_owner?: string;
|
|
26601
|
+
_seconds?: number;
|
|
26602
|
+
};
|
|
26603
|
+
Returns: boolean;
|
|
26604
|
+
};
|
|
25710
26605
|
try_debtor_lock: {
|
|
25711
26606
|
Args: {
|
|
25712
26607
|
_group_key: string;
|
|
@@ -28011,6 +28906,8 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
28011
28906
|
created_at: string;
|
|
28012
28907
|
currency: string;
|
|
28013
28908
|
distribute_over: string | null;
|
|
28909
|
+
external_id: string | null;
|
|
28910
|
+
external_synced_at: string | null;
|
|
28014
28911
|
group_type: string;
|
|
28015
28912
|
handling_fee: number | null;
|
|
28016
28913
|
id: string;
|
|
@@ -28023,6 +28920,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
28023
28920
|
rounding: string;
|
|
28024
28921
|
rounding_step: number;
|
|
28025
28922
|
sort_order: number;
|
|
28923
|
+
source: string;
|
|
28026
28924
|
unit: string;
|
|
28027
28925
|
updated_at: string;
|
|
28028
28926
|
};
|
|
@@ -28033,6 +28931,8 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
28033
28931
|
created_at?: string;
|
|
28034
28932
|
currency?: string;
|
|
28035
28933
|
distribute_over?: string | null;
|
|
28934
|
+
external_id?: string | null;
|
|
28935
|
+
external_synced_at?: string | null;
|
|
28036
28936
|
group_type?: string;
|
|
28037
28937
|
handling_fee?: number | null;
|
|
28038
28938
|
id?: string;
|
|
@@ -28045,6 +28945,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
28045
28945
|
rounding?: string;
|
|
28046
28946
|
rounding_step?: number;
|
|
28047
28947
|
sort_order?: number;
|
|
28948
|
+
source?: string;
|
|
28048
28949
|
unit?: string;
|
|
28049
28950
|
updated_at?: string;
|
|
28050
28951
|
};
|
|
@@ -28055,6 +28956,8 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
28055
28956
|
created_at?: string;
|
|
28056
28957
|
currency?: string;
|
|
28057
28958
|
distribute_over?: string | null;
|
|
28959
|
+
external_id?: string | null;
|
|
28960
|
+
external_synced_at?: string | null;
|
|
28058
28961
|
group_type?: string;
|
|
28059
28962
|
handling_fee?: number | null;
|
|
28060
28963
|
id?: string;
|
|
@@ -28067,6 +28970,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
28067
28970
|
rounding?: string;
|
|
28068
28971
|
rounding_step?: number;
|
|
28069
28972
|
sort_order?: number;
|
|
28973
|
+
source?: string;
|
|
28070
28974
|
unit?: string;
|
|
28071
28975
|
updated_at?: string;
|
|
28072
28976
|
};
|
|
@@ -31657,6 +32561,84 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
31657
32561
|
referencedColumns: ["id"];
|
|
31658
32562
|
}];
|
|
31659
32563
|
};
|
|
32564
|
+
floriday_catalog_prices_cache: {
|
|
32565
|
+
Row: {
|
|
32566
|
+
connection_id: string;
|
|
32567
|
+
created_at: string;
|
|
32568
|
+
currency: string;
|
|
32569
|
+
id: string;
|
|
32570
|
+
is_deleted: boolean;
|
|
32571
|
+
price: number | null;
|
|
32572
|
+
price_group_id: string | null;
|
|
32573
|
+
price_group_name: string | null;
|
|
32574
|
+
price_type: string;
|
|
32575
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
32576
|
+
sales_unit: string | null;
|
|
32577
|
+
sequence_number: number;
|
|
32578
|
+
supplier_article_code: string | null;
|
|
32579
|
+
supply_line_id: string;
|
|
32580
|
+
synced_at: string;
|
|
32581
|
+
trade_item_id: string | null;
|
|
32582
|
+
updated_at: string;
|
|
32583
|
+
valid_from: string | null;
|
|
32584
|
+
valid_to: string | null;
|
|
32585
|
+
week: number | null;
|
|
32586
|
+
year: number | null;
|
|
32587
|
+
};
|
|
32588
|
+
Insert: {
|
|
32589
|
+
connection_id: string;
|
|
32590
|
+
created_at?: string;
|
|
32591
|
+
currency?: string;
|
|
32592
|
+
id?: string;
|
|
32593
|
+
is_deleted?: boolean;
|
|
32594
|
+
price?: number | null;
|
|
32595
|
+
price_group_id?: string | null;
|
|
32596
|
+
price_group_name?: string | null;
|
|
32597
|
+
price_type?: string;
|
|
32598
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
32599
|
+
sales_unit?: string | null;
|
|
32600
|
+
sequence_number?: number;
|
|
32601
|
+
supplier_article_code?: string | null;
|
|
32602
|
+
supply_line_id: string;
|
|
32603
|
+
synced_at?: string;
|
|
32604
|
+
trade_item_id?: string | null;
|
|
32605
|
+
updated_at?: string;
|
|
32606
|
+
valid_from?: string | null;
|
|
32607
|
+
valid_to?: string | null;
|
|
32608
|
+
week?: number | null;
|
|
32609
|
+
year?: number | null;
|
|
32610
|
+
};
|
|
32611
|
+
Update: {
|
|
32612
|
+
connection_id?: string;
|
|
32613
|
+
created_at?: string;
|
|
32614
|
+
currency?: string;
|
|
32615
|
+
id?: string;
|
|
32616
|
+
is_deleted?: boolean;
|
|
32617
|
+
price?: number | null;
|
|
32618
|
+
price_group_id?: string | null;
|
|
32619
|
+
price_group_name?: string | null;
|
|
32620
|
+
price_type?: string;
|
|
32621
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
32622
|
+
sales_unit?: string | null;
|
|
32623
|
+
sequence_number?: number;
|
|
32624
|
+
supplier_article_code?: string | null;
|
|
32625
|
+
supply_line_id?: string;
|
|
32626
|
+
synced_at?: string;
|
|
32627
|
+
trade_item_id?: string | null;
|
|
32628
|
+
updated_at?: string;
|
|
32629
|
+
valid_from?: string | null;
|
|
32630
|
+
valid_to?: string | null;
|
|
32631
|
+
week?: number | null;
|
|
32632
|
+
year?: number | null;
|
|
32633
|
+
};
|
|
32634
|
+
Relationships: [{
|
|
32635
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
32636
|
+
columns: ["connection_id"];
|
|
32637
|
+
isOneToOne: false;
|
|
32638
|
+
referencedRelation: "floriday_connections";
|
|
32639
|
+
referencedColumns: ["id"];
|
|
32640
|
+
}];
|
|
32641
|
+
};
|
|
31660
32642
|
floriday_clock_presales_cache: {
|
|
31661
32643
|
Row: {
|
|
31662
32644
|
buyer_organization_id: string | null;
|
|
@@ -34930,6 +35912,30 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
34930
35912
|
referencedColumns: ["id"];
|
|
34931
35913
|
}];
|
|
34932
35914
|
};
|
|
35915
|
+
job_locks: {
|
|
35916
|
+
Row: {
|
|
35917
|
+
created_at: string;
|
|
35918
|
+
lock_key: string;
|
|
35919
|
+
locked_until: string;
|
|
35920
|
+
owner: string | null;
|
|
35921
|
+
updated_at: string;
|
|
35922
|
+
};
|
|
35923
|
+
Insert: {
|
|
35924
|
+
created_at?: string;
|
|
35925
|
+
lock_key: string;
|
|
35926
|
+
locked_until: string;
|
|
35927
|
+
owner?: string | null;
|
|
35928
|
+
updated_at?: string;
|
|
35929
|
+
};
|
|
35930
|
+
Update: {
|
|
35931
|
+
created_at?: string;
|
|
35932
|
+
lock_key?: string;
|
|
35933
|
+
locked_until?: string;
|
|
35934
|
+
owner?: string | null;
|
|
35935
|
+
updated_at?: string;
|
|
35936
|
+
};
|
|
35937
|
+
Relationships: [];
|
|
35938
|
+
};
|
|
34933
35939
|
layout_logos: {
|
|
34934
35940
|
Row: {
|
|
34935
35941
|
bestand_url: string;
|
|
@@ -35899,6 +36905,36 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
35899
36905
|
};
|
|
35900
36906
|
Relationships: [];
|
|
35901
36907
|
};
|
|
36908
|
+
logistics_floriday_push_refusals: {
|
|
36909
|
+
Row: {
|
|
36910
|
+
action: string | null;
|
|
36911
|
+
created_at: string;
|
|
36912
|
+
id: string;
|
|
36913
|
+
order_ref: string;
|
|
36914
|
+
reason: string;
|
|
36915
|
+
source_module: string | null;
|
|
36916
|
+
source_shell: string | null;
|
|
36917
|
+
};
|
|
36918
|
+
Insert: {
|
|
36919
|
+
action?: string | null;
|
|
36920
|
+
created_at?: string;
|
|
36921
|
+
id?: string;
|
|
36922
|
+
order_ref: string;
|
|
36923
|
+
reason: string;
|
|
36924
|
+
source_module?: string | null;
|
|
36925
|
+
source_shell?: string | null;
|
|
36926
|
+
};
|
|
36927
|
+
Update: {
|
|
36928
|
+
action?: string | null;
|
|
36929
|
+
created_at?: string;
|
|
36930
|
+
id?: string;
|
|
36931
|
+
order_ref?: string;
|
|
36932
|
+
reason?: string;
|
|
36933
|
+
source_module?: string | null;
|
|
36934
|
+
source_shell?: string | null;
|
|
36935
|
+
};
|
|
36936
|
+
Relationships: [];
|
|
36937
|
+
};
|
|
35902
36938
|
logistics_floriday_pushes: {
|
|
35903
36939
|
Row: {
|
|
35904
36940
|
attempts: number;
|
|
@@ -35974,6 +37010,42 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
35974
37010
|
};
|
|
35975
37011
|
Relationships: [];
|
|
35976
37012
|
};
|
|
37013
|
+
logistics_floriday_status_sends: {
|
|
37014
|
+
Row: {
|
|
37015
|
+
action: string;
|
|
37016
|
+
created_at: string;
|
|
37017
|
+
detail: string | null;
|
|
37018
|
+
http_status: number | null;
|
|
37019
|
+
id: string;
|
|
37020
|
+
ok: boolean;
|
|
37021
|
+
order_ref: string;
|
|
37022
|
+
source_module: string | null;
|
|
37023
|
+
source_shell: string | null;
|
|
37024
|
+
};
|
|
37025
|
+
Insert: {
|
|
37026
|
+
action: string;
|
|
37027
|
+
created_at?: string;
|
|
37028
|
+
detail?: string | null;
|
|
37029
|
+
http_status?: number | null;
|
|
37030
|
+
id?: string;
|
|
37031
|
+
ok?: boolean;
|
|
37032
|
+
order_ref: string;
|
|
37033
|
+
source_module?: string | null;
|
|
37034
|
+
source_shell?: string | null;
|
|
37035
|
+
};
|
|
37036
|
+
Update: {
|
|
37037
|
+
action?: string;
|
|
37038
|
+
created_at?: string;
|
|
37039
|
+
detail?: string | null;
|
|
37040
|
+
http_status?: number | null;
|
|
37041
|
+
id?: string;
|
|
37042
|
+
ok?: boolean;
|
|
37043
|
+
order_ref?: string;
|
|
37044
|
+
source_module?: string | null;
|
|
37045
|
+
source_shell?: string | null;
|
|
37046
|
+
};
|
|
37047
|
+
Relationships: [];
|
|
37048
|
+
};
|
|
35977
37049
|
logistics_formulas: {
|
|
35978
37050
|
Row: {
|
|
35979
37051
|
created_at: string;
|
|
@@ -36046,6 +37118,108 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
36046
37118
|
};
|
|
36047
37119
|
Relationships: [];
|
|
36048
37120
|
};
|
|
37121
|
+
logistics_opening_exceptions: {
|
|
37122
|
+
Row: {
|
|
37123
|
+
closes: string | null;
|
|
37124
|
+
created_at: string;
|
|
37125
|
+
day: string;
|
|
37126
|
+
id: string;
|
|
37127
|
+
is_closed: boolean;
|
|
37128
|
+
note: string | null;
|
|
37129
|
+
opens: string | null;
|
|
37130
|
+
};
|
|
37131
|
+
Insert: {
|
|
37132
|
+
closes?: string | null;
|
|
37133
|
+
created_at?: string;
|
|
37134
|
+
day: string;
|
|
37135
|
+
id?: string;
|
|
37136
|
+
is_closed?: boolean;
|
|
37137
|
+
note?: string | null;
|
|
37138
|
+
opens?: string | null;
|
|
37139
|
+
};
|
|
37140
|
+
Update: {
|
|
37141
|
+
closes?: string | null;
|
|
37142
|
+
created_at?: string;
|
|
37143
|
+
day?: string;
|
|
37144
|
+
id?: string;
|
|
37145
|
+
is_closed?: boolean;
|
|
37146
|
+
note?: string | null;
|
|
37147
|
+
opens?: string | null;
|
|
37148
|
+
};
|
|
37149
|
+
Relationships: [];
|
|
37150
|
+
};
|
|
37151
|
+
logistics_opening_hours: {
|
|
37152
|
+
Row: {
|
|
37153
|
+
closes: string;
|
|
37154
|
+
created_at: string;
|
|
37155
|
+
id: string;
|
|
37156
|
+
is_active: boolean;
|
|
37157
|
+
note: string | null;
|
|
37158
|
+
opens: string;
|
|
37159
|
+
weekday: number;
|
|
37160
|
+
};
|
|
37161
|
+
Insert: {
|
|
37162
|
+
closes: string;
|
|
37163
|
+
created_at?: string;
|
|
37164
|
+
id?: string;
|
|
37165
|
+
is_active?: boolean;
|
|
37166
|
+
note?: string | null;
|
|
37167
|
+
opens: string;
|
|
37168
|
+
weekday: number;
|
|
37169
|
+
};
|
|
37170
|
+
Update: {
|
|
37171
|
+
closes?: string;
|
|
37172
|
+
created_at?: string;
|
|
37173
|
+
id?: string;
|
|
37174
|
+
is_active?: boolean;
|
|
37175
|
+
note?: string | null;
|
|
37176
|
+
opens?: string;
|
|
37177
|
+
weekday?: number;
|
|
37178
|
+
};
|
|
37179
|
+
Relationships: [];
|
|
37180
|
+
};
|
|
37181
|
+
logistics_pick_data_requests: {
|
|
37182
|
+
Row: {
|
|
37183
|
+
actions: import("../integrations/supabase/types").Json;
|
|
37184
|
+
created_at: string;
|
|
37185
|
+
event_id: string | null;
|
|
37186
|
+
finished_at: string | null;
|
|
37187
|
+
id: string;
|
|
37188
|
+
missing: import("../integrations/supabase/types").Json;
|
|
37189
|
+
order_ref: string;
|
|
37190
|
+
reason: string | null;
|
|
37191
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
37192
|
+
status: string;
|
|
37193
|
+
unit_ref: string | null;
|
|
37194
|
+
};
|
|
37195
|
+
Insert: {
|
|
37196
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
37197
|
+
created_at?: string;
|
|
37198
|
+
event_id?: string | null;
|
|
37199
|
+
finished_at?: string | null;
|
|
37200
|
+
id?: string;
|
|
37201
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
37202
|
+
order_ref: string;
|
|
37203
|
+
reason?: string | null;
|
|
37204
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
37205
|
+
status?: string;
|
|
37206
|
+
unit_ref?: string | null;
|
|
37207
|
+
};
|
|
37208
|
+
Update: {
|
|
37209
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
37210
|
+
created_at?: string;
|
|
37211
|
+
event_id?: string | null;
|
|
37212
|
+
finished_at?: string | null;
|
|
37213
|
+
id?: string;
|
|
37214
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
37215
|
+
order_ref?: string;
|
|
37216
|
+
reason?: string | null;
|
|
37217
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
37218
|
+
status?: string;
|
|
37219
|
+
unit_ref?: string | null;
|
|
37220
|
+
};
|
|
37221
|
+
Relationships: [];
|
|
37222
|
+
};
|
|
36049
37223
|
logistics_pickup_moments: {
|
|
36050
37224
|
Row: {
|
|
36051
37225
|
carrier_ref: string | null;
|
|
@@ -36092,6 +37266,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
36092
37266
|
next_attempt_at: string;
|
|
36093
37267
|
order_id: string;
|
|
36094
37268
|
reason: string;
|
|
37269
|
+
reason_code: string | null;
|
|
36095
37270
|
status: string;
|
|
36096
37271
|
updated_at: string;
|
|
36097
37272
|
};
|
|
@@ -36104,6 +37279,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
36104
37279
|
next_attempt_at?: string;
|
|
36105
37280
|
order_id: string;
|
|
36106
37281
|
reason?: string;
|
|
37282
|
+
reason_code?: string | null;
|
|
36107
37283
|
status?: string;
|
|
36108
37284
|
updated_at?: string;
|
|
36109
37285
|
};
|
|
@@ -36116,6 +37292,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
36116
37292
|
next_attempt_at?: string;
|
|
36117
37293
|
order_id?: string;
|
|
36118
37294
|
reason?: string;
|
|
37295
|
+
reason_code?: string | null;
|
|
36119
37296
|
status?: string;
|
|
36120
37297
|
updated_at?: string;
|
|
36121
37298
|
};
|
|
@@ -36502,6 +37679,69 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
36502
37679
|
};
|
|
36503
37680
|
Relationships: [];
|
|
36504
37681
|
};
|
|
37682
|
+
logistics_slip_shipping_note: {
|
|
37683
|
+
Row: {
|
|
37684
|
+
attempts: number;
|
|
37685
|
+
batch_key: string | null;
|
|
37686
|
+
cart_id: string | null;
|
|
37687
|
+
created_at: string;
|
|
37688
|
+
error: string | null;
|
|
37689
|
+
error_code: string | null;
|
|
37690
|
+
fulfillment_order_id: string | null;
|
|
37691
|
+
id: string;
|
|
37692
|
+
locked_until: string | null;
|
|
37693
|
+
next_attempt_at: string | null;
|
|
37694
|
+
order_id: string | null;
|
|
37695
|
+
order_number: string | null;
|
|
37696
|
+
print_job_id: string | null;
|
|
37697
|
+
printer_id: string | null;
|
|
37698
|
+
retry_class: string | null;
|
|
37699
|
+
slip_job_id: string;
|
|
37700
|
+
status: string;
|
|
37701
|
+
updated_at: string;
|
|
37702
|
+
};
|
|
37703
|
+
Insert: {
|
|
37704
|
+
attempts?: number;
|
|
37705
|
+
batch_key?: string | null;
|
|
37706
|
+
cart_id?: string | null;
|
|
37707
|
+
created_at?: string;
|
|
37708
|
+
error?: string | null;
|
|
37709
|
+
error_code?: string | null;
|
|
37710
|
+
fulfillment_order_id?: string | null;
|
|
37711
|
+
id?: string;
|
|
37712
|
+
locked_until?: string | null;
|
|
37713
|
+
next_attempt_at?: string | null;
|
|
37714
|
+
order_id?: string | null;
|
|
37715
|
+
order_number?: string | null;
|
|
37716
|
+
print_job_id?: string | null;
|
|
37717
|
+
printer_id?: string | null;
|
|
37718
|
+
retry_class?: string | null;
|
|
37719
|
+
slip_job_id: string;
|
|
37720
|
+
status?: string;
|
|
37721
|
+
updated_at?: string;
|
|
37722
|
+
};
|
|
37723
|
+
Update: {
|
|
37724
|
+
attempts?: number;
|
|
37725
|
+
batch_key?: string | null;
|
|
37726
|
+
cart_id?: string | null;
|
|
37727
|
+
created_at?: string;
|
|
37728
|
+
error?: string | null;
|
|
37729
|
+
error_code?: string | null;
|
|
37730
|
+
fulfillment_order_id?: string | null;
|
|
37731
|
+
id?: string;
|
|
37732
|
+
locked_until?: string | null;
|
|
37733
|
+
next_attempt_at?: string | null;
|
|
37734
|
+
order_id?: string | null;
|
|
37735
|
+
order_number?: string | null;
|
|
37736
|
+
print_job_id?: string | null;
|
|
37737
|
+
printer_id?: string | null;
|
|
37738
|
+
retry_class?: string | null;
|
|
37739
|
+
slip_job_id?: string;
|
|
37740
|
+
status?: string;
|
|
37741
|
+
updated_at?: string;
|
|
37742
|
+
};
|
|
37743
|
+
Relationships: [];
|
|
37744
|
+
};
|
|
36505
37745
|
logistics_staff_planning: {
|
|
36506
37746
|
Row: {
|
|
36507
37747
|
created_at: string;
|
|
@@ -36820,6 +38060,39 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
36820
38060
|
referencedColumns: ["id"];
|
|
36821
38061
|
}];
|
|
36822
38062
|
};
|
|
38063
|
+
logistics_tick_heartbeat: {
|
|
38064
|
+
Row: {
|
|
38065
|
+
id: boolean;
|
|
38066
|
+
last_tick_at: string;
|
|
38067
|
+
};
|
|
38068
|
+
Insert: {
|
|
38069
|
+
id?: boolean;
|
|
38070
|
+
last_tick_at?: string;
|
|
38071
|
+
};
|
|
38072
|
+
Update: {
|
|
38073
|
+
id?: boolean;
|
|
38074
|
+
last_tick_at?: string;
|
|
38075
|
+
};
|
|
38076
|
+
Relationships: [];
|
|
38077
|
+
};
|
|
38078
|
+
logistics_time_settings: {
|
|
38079
|
+
Row: {
|
|
38080
|
+
id: boolean;
|
|
38081
|
+
timezone: string;
|
|
38082
|
+
updated_at: string;
|
|
38083
|
+
};
|
|
38084
|
+
Insert: {
|
|
38085
|
+
id?: boolean;
|
|
38086
|
+
timezone: string;
|
|
38087
|
+
updated_at?: string;
|
|
38088
|
+
};
|
|
38089
|
+
Update: {
|
|
38090
|
+
id?: boolean;
|
|
38091
|
+
timezone?: string;
|
|
38092
|
+
updated_at?: string;
|
|
38093
|
+
};
|
|
38094
|
+
Relationships: [];
|
|
38095
|
+
};
|
|
36823
38096
|
logistics_variables: {
|
|
36824
38097
|
Row: {
|
|
36825
38098
|
created_at: string;
|
|
@@ -39210,6 +40483,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
39210
40483
|
customer_name: string;
|
|
39211
40484
|
deleted_at: string | null;
|
|
39212
40485
|
delivery_date: string | null;
|
|
40486
|
+
floriday_order_group_key: string | null;
|
|
39213
40487
|
floriday_sales_order_id: string | null;
|
|
39214
40488
|
id: string;
|
|
39215
40489
|
invoice_due_at: string | null;
|
|
@@ -39237,6 +40511,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
39237
40511
|
customer_name?: string;
|
|
39238
40512
|
deleted_at?: string | null;
|
|
39239
40513
|
delivery_date?: string | null;
|
|
40514
|
+
floriday_order_group_key?: string | null;
|
|
39240
40515
|
floriday_sales_order_id?: string | null;
|
|
39241
40516
|
id?: string;
|
|
39242
40517
|
invoice_due_at?: string | null;
|
|
@@ -39264,6 +40539,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
39264
40539
|
customer_name?: string;
|
|
39265
40540
|
deleted_at?: string | null;
|
|
39266
40541
|
delivery_date?: string | null;
|
|
40542
|
+
floriday_order_group_key?: string | null;
|
|
39267
40543
|
floriday_sales_order_id?: string | null;
|
|
39268
40544
|
id?: string;
|
|
39269
40545
|
invoice_due_at?: string | null;
|
|
@@ -39457,6 +40733,27 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
39457
40733
|
};
|
|
39458
40734
|
Relationships: [];
|
|
39459
40735
|
};
|
|
40736
|
+
pick_buffer_event_cursor: {
|
|
40737
|
+
Row: {
|
|
40738
|
+
created_at: string;
|
|
40739
|
+
id: boolean;
|
|
40740
|
+
last_event_at: string;
|
|
40741
|
+
updated_at: string;
|
|
40742
|
+
};
|
|
40743
|
+
Insert: {
|
|
40744
|
+
created_at?: string;
|
|
40745
|
+
id?: boolean;
|
|
40746
|
+
last_event_at?: string;
|
|
40747
|
+
updated_at?: string;
|
|
40748
|
+
};
|
|
40749
|
+
Update: {
|
|
40750
|
+
created_at?: string;
|
|
40751
|
+
id?: boolean;
|
|
40752
|
+
last_event_at?: string;
|
|
40753
|
+
updated_at?: string;
|
|
40754
|
+
};
|
|
40755
|
+
Relationships: [];
|
|
40756
|
+
};
|
|
39460
40757
|
pick_countries: {
|
|
39461
40758
|
Row: {
|
|
39462
40759
|
active: boolean;
|
|
@@ -45106,6 +46403,36 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
45106
46403
|
referencedColumns: ["id"];
|
|
45107
46404
|
}];
|
|
45108
46405
|
};
|
|
46406
|
+
voorraad_buffer_state: {
|
|
46407
|
+
Row: {
|
|
46408
|
+
buffer_id: string;
|
|
46409
|
+
buffer_key: string | null;
|
|
46410
|
+
closed_at: string | null;
|
|
46411
|
+
created_at: string;
|
|
46412
|
+
detached_orders: import("../integrations/supabase/types").Json;
|
|
46413
|
+
reason: string | null;
|
|
46414
|
+
updated_at: string;
|
|
46415
|
+
};
|
|
46416
|
+
Insert: {
|
|
46417
|
+
buffer_id: string;
|
|
46418
|
+
buffer_key?: string | null;
|
|
46419
|
+
closed_at?: string | null;
|
|
46420
|
+
created_at?: string;
|
|
46421
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
46422
|
+
reason?: string | null;
|
|
46423
|
+
updated_at?: string;
|
|
46424
|
+
};
|
|
46425
|
+
Update: {
|
|
46426
|
+
buffer_id?: string;
|
|
46427
|
+
buffer_key?: string | null;
|
|
46428
|
+
closed_at?: string | null;
|
|
46429
|
+
created_at?: string;
|
|
46430
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
46431
|
+
reason?: string | null;
|
|
46432
|
+
updated_at?: string;
|
|
46433
|
+
};
|
|
46434
|
+
Relationships: [];
|
|
46435
|
+
};
|
|
45109
46436
|
voorraad_custom_fields: {
|
|
45110
46437
|
Row: {
|
|
45111
46438
|
created_at: string;
|
|
@@ -45148,6 +46475,36 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
45148
46475
|
};
|
|
45149
46476
|
Relationships: [];
|
|
45150
46477
|
};
|
|
46478
|
+
voorraad_logistics_event_log: {
|
|
46479
|
+
Row: {
|
|
46480
|
+
created_at: string;
|
|
46481
|
+
event_id: string;
|
|
46482
|
+
event_type: string;
|
|
46483
|
+
order_ref: string | null;
|
|
46484
|
+
processed_at: string;
|
|
46485
|
+
result: import("../integrations/supabase/types").Json;
|
|
46486
|
+
updated_at: string;
|
|
46487
|
+
};
|
|
46488
|
+
Insert: {
|
|
46489
|
+
created_at?: string;
|
|
46490
|
+
event_id: string;
|
|
46491
|
+
event_type: string;
|
|
46492
|
+
order_ref?: string | null;
|
|
46493
|
+
processed_at?: string;
|
|
46494
|
+
result?: import("../integrations/supabase/types").Json;
|
|
46495
|
+
updated_at?: string;
|
|
46496
|
+
};
|
|
46497
|
+
Update: {
|
|
46498
|
+
created_at?: string;
|
|
46499
|
+
event_id?: string;
|
|
46500
|
+
event_type?: string;
|
|
46501
|
+
order_ref?: string | null;
|
|
46502
|
+
processed_at?: string;
|
|
46503
|
+
result?: import("../integrations/supabase/types").Json;
|
|
46504
|
+
updated_at?: string;
|
|
46505
|
+
};
|
|
46506
|
+
Relationships: [];
|
|
46507
|
+
};
|
|
45151
46508
|
voorraad_media_upload_failures: {
|
|
45152
46509
|
Row: {
|
|
45153
46510
|
action: string;
|
|
@@ -47973,6 +49330,17 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
47973
49330
|
};
|
|
47974
49331
|
Returns: boolean;
|
|
47975
49332
|
};
|
|
49333
|
+
floriday_adopt_connection: {
|
|
49334
|
+
Args: {
|
|
49335
|
+
p_new: string;
|
|
49336
|
+
p_old: string;
|
|
49337
|
+
};
|
|
49338
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
49339
|
+
};
|
|
49340
|
+
floriday_autoheal_connections: {
|
|
49341
|
+
Args: never;
|
|
49342
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
49343
|
+
};
|
|
47976
49344
|
floriday_capture_stock_snapshot: {
|
|
47977
49345
|
Args: never;
|
|
47978
49346
|
Returns: number;
|
|
@@ -48030,6 +49398,12 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
48030
49398
|
};
|
|
48031
49399
|
Returns: undefined;
|
|
48032
49400
|
};
|
|
49401
|
+
floriday_relink_products: {
|
|
49402
|
+
Args: {
|
|
49403
|
+
p_connection_id?: string;
|
|
49404
|
+
};
|
|
49405
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
49406
|
+
};
|
|
48033
49407
|
floriday_requeue_dead_letters: {
|
|
48034
49408
|
Args: {
|
|
48035
49409
|
p_connection_id?: string;
|
|
@@ -48651,6 +50025,10 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
48651
50025
|
};
|
|
48652
50026
|
Returns: string;
|
|
48653
50027
|
};
|
|
50028
|
+
logistics_active_layout_method: {
|
|
50029
|
+
Args: never;
|
|
50030
|
+
Returns: string;
|
|
50031
|
+
};
|
|
48654
50032
|
logistics_active_pick_workdays: {
|
|
48655
50033
|
Args: never;
|
|
48656
50034
|
Returns: string[];
|
|
@@ -48702,6 +50080,30 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
48702
50080
|
};
|
|
48703
50081
|
Returns: import("../integrations/supabase/types").Json;
|
|
48704
50082
|
};
|
|
50083
|
+
logistics_block_reason_code: {
|
|
50084
|
+
Args: {
|
|
50085
|
+
p_details?: import("../integrations/supabase/types").Json;
|
|
50086
|
+
p_reason: string;
|
|
50087
|
+
};
|
|
50088
|
+
Returns: string;
|
|
50089
|
+
};
|
|
50090
|
+
logistics_blocked_orders: {
|
|
50091
|
+
Args: never;
|
|
50092
|
+
Returns: {
|
|
50093
|
+
attempts: number;
|
|
50094
|
+
blocked_since: string;
|
|
50095
|
+
delivery_date: string;
|
|
50096
|
+
order_id: string;
|
|
50097
|
+
order_ref: string;
|
|
50098
|
+
queue_id: string;
|
|
50099
|
+
reason: string;
|
|
50100
|
+
reason_code: string;
|
|
50101
|
+
}[];
|
|
50102
|
+
};
|
|
50103
|
+
logistics_blocked_overview: {
|
|
50104
|
+
Args: never;
|
|
50105
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
50106
|
+
};
|
|
48705
50107
|
logistics_buffer_criteria: {
|
|
48706
50108
|
Args: {
|
|
48707
50109
|
p_settings: import("../integrations/supabase/types").Json;
|
|
@@ -48716,6 +50118,39 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
48716
50118
|
};
|
|
48717
50119
|
Returns: import("../integrations/supabase/types").Json;
|
|
48718
50120
|
};
|
|
50121
|
+
logistics_buffer_detach_late_orders: {
|
|
50122
|
+
Args: {
|
|
50123
|
+
p_buffer?: string;
|
|
50124
|
+
};
|
|
50125
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
50126
|
+
};
|
|
50127
|
+
logistics_buffer_frozen_order: {
|
|
50128
|
+
Args: {
|
|
50129
|
+
p_order_id: string;
|
|
50130
|
+
};
|
|
50131
|
+
Returns: boolean;
|
|
50132
|
+
};
|
|
50133
|
+
logistics_buffer_handled: {
|
|
50134
|
+
Args: {
|
|
50135
|
+
p_buffer: string;
|
|
50136
|
+
};
|
|
50137
|
+
Returns: boolean;
|
|
50138
|
+
};
|
|
50139
|
+
logistics_buffer_notify: {
|
|
50140
|
+
Args: {
|
|
50141
|
+
p_event_type: string;
|
|
50142
|
+
p_idempotency_key: string;
|
|
50143
|
+
p_order_ref: string;
|
|
50144
|
+
p_payload: import("../integrations/supabase/types").Json;
|
|
50145
|
+
};
|
|
50146
|
+
Returns: string;
|
|
50147
|
+
};
|
|
50148
|
+
logistics_buffer_open_key: {
|
|
50149
|
+
Args: {
|
|
50150
|
+
p_base_key: string;
|
|
50151
|
+
};
|
|
50152
|
+
Returns: string;
|
|
50153
|
+
};
|
|
48719
50154
|
logistics_buffer_simulate: {
|
|
48720
50155
|
Args: {
|
|
48721
50156
|
p_orders?: import("../integrations/supabase/types").Json;
|
|
@@ -48768,6 +50203,12 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
48768
50203
|
};
|
|
48769
50204
|
Returns: string;
|
|
48770
50205
|
};
|
|
50206
|
+
logistics_cart_checkin_at: {
|
|
50207
|
+
Args: {
|
|
50208
|
+
p_cart_id: string;
|
|
50209
|
+
};
|
|
50210
|
+
Returns: string;
|
|
50211
|
+
};
|
|
48771
50212
|
logistics_cart_handled: {
|
|
48772
50213
|
Args: {
|
|
48773
50214
|
p_cart_index: number;
|
|
@@ -48801,10 +50242,53 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
48801
50242
|
task_status: string;
|
|
48802
50243
|
}[];
|
|
48803
50244
|
};
|
|
50245
|
+
logistics_cart_is_full: {
|
|
50246
|
+
Args: {
|
|
50247
|
+
p_cart_id: string;
|
|
50248
|
+
};
|
|
50249
|
+
Returns: boolean;
|
|
50250
|
+
};
|
|
48804
50251
|
logistics_cart_layout_method: {
|
|
48805
50252
|
Args: never;
|
|
48806
50253
|
Returns: import("../integrations/supabase/types").Json;
|
|
48807
50254
|
};
|
|
50255
|
+
logistics_cart_order_refs: {
|
|
50256
|
+
Args: {
|
|
50257
|
+
p_cart_id: string;
|
|
50258
|
+
};
|
|
50259
|
+
Returns: string[];
|
|
50260
|
+
};
|
|
50261
|
+
logistics_cart_plan_overview: {
|
|
50262
|
+
Args: {
|
|
50263
|
+
p_days?: number;
|
|
50264
|
+
};
|
|
50265
|
+
Returns: {
|
|
50266
|
+
cart_total: number;
|
|
50267
|
+
delivery_date: string;
|
|
50268
|
+
order_ref: string;
|
|
50269
|
+
plan_ready: boolean;
|
|
50270
|
+
reason: string;
|
|
50271
|
+
released: boolean;
|
|
50272
|
+
}[];
|
|
50273
|
+
};
|
|
50274
|
+
logistics_cart_plan_status: {
|
|
50275
|
+
Args: {
|
|
50276
|
+
p_ref: string;
|
|
50277
|
+
};
|
|
50278
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
50279
|
+
};
|
|
50280
|
+
logistics_cart_release_reason: {
|
|
50281
|
+
Args: {
|
|
50282
|
+
p_cart_id: string;
|
|
50283
|
+
};
|
|
50284
|
+
Returns: string;
|
|
50285
|
+
};
|
|
50286
|
+
logistics_cart_released: {
|
|
50287
|
+
Args: {
|
|
50288
|
+
p_cart_id: string;
|
|
50289
|
+
};
|
|
50290
|
+
Returns: boolean;
|
|
50291
|
+
};
|
|
48808
50292
|
logistics_cart_seq: {
|
|
48809
50293
|
Args: {
|
|
48810
50294
|
p_order_uuid?: string;
|
|
@@ -48855,6 +50339,10 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
48855
50339
|
unit_ref: string;
|
|
48856
50340
|
}[];
|
|
48857
50341
|
};
|
|
50342
|
+
logistics_carts_per_print: {
|
|
50343
|
+
Args: never;
|
|
50344
|
+
Returns: number;
|
|
50345
|
+
};
|
|
48858
50346
|
logistics_check_order_allowed: {
|
|
48859
50347
|
Args: {
|
|
48860
50348
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -48958,6 +50446,10 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
48958
50446
|
isSetofReturn: false;
|
|
48959
50447
|
};
|
|
48960
50448
|
};
|
|
50449
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
50450
|
+
Args: never;
|
|
50451
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
50452
|
+
};
|
|
48961
50453
|
logistics_complete_task: {
|
|
48962
50454
|
Args: {
|
|
48963
50455
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -49020,6 +50512,12 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
49020
50512
|
station_carts: number;
|
|
49021
50513
|
}[];
|
|
49022
50514
|
};
|
|
50515
|
+
logistics_control_complete_cart: {
|
|
50516
|
+
Args: {
|
|
50517
|
+
p_cart_id: string;
|
|
50518
|
+
};
|
|
50519
|
+
Returns: number;
|
|
50520
|
+
};
|
|
49023
50521
|
logistics_control_scan_approve: {
|
|
49024
50522
|
Args: {
|
|
49025
50523
|
p_allow_reprint?: boolean;
|
|
@@ -49099,6 +50597,15 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
49099
50597
|
Args: never;
|
|
49100
50598
|
Returns: import("../integrations/supabase/types").Json;
|
|
49101
50599
|
};
|
|
50600
|
+
logistics_day_windows: {
|
|
50601
|
+
Args: {
|
|
50602
|
+
p_day: string;
|
|
50603
|
+
};
|
|
50604
|
+
Returns: {
|
|
50605
|
+
win_end: string;
|
|
50606
|
+
win_start: string;
|
|
50607
|
+
}[];
|
|
50608
|
+
};
|
|
49102
50609
|
logistics_delay_customer_email: {
|
|
49103
50610
|
Args: {
|
|
49104
50611
|
p_customer: string;
|
|
@@ -49166,6 +50673,17 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
49166
50673
|
};
|
|
49167
50674
|
Returns: import("../integrations/supabase/types").Json;
|
|
49168
50675
|
};
|
|
50676
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
50677
|
+
Args: {
|
|
50678
|
+
_cart_id: string;
|
|
50679
|
+
_is_herprint: boolean;
|
|
50680
|
+
_printer_id: string;
|
|
50681
|
+
_queue_item_id: string;
|
|
50682
|
+
_session_id: string;
|
|
50683
|
+
_slip_job_id: string;
|
|
50684
|
+
};
|
|
50685
|
+
Returns: string;
|
|
50686
|
+
};
|
|
49169
50687
|
logistics_enqueue_sticker_with_slip: {
|
|
49170
50688
|
Args: {
|
|
49171
50689
|
_cart_id: string;
|
|
@@ -49183,6 +50701,14 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
49183
50701
|
};
|
|
49184
50702
|
Returns: string;
|
|
49185
50703
|
};
|
|
50704
|
+
logistics_ensure_pick_data: {
|
|
50705
|
+
Args: {
|
|
50706
|
+
p_event_id?: string;
|
|
50707
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
50708
|
+
p_ref: string;
|
|
50709
|
+
};
|
|
50710
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
50711
|
+
};
|
|
49186
50712
|
logistics_fail_task: {
|
|
49187
50713
|
Args: {
|
|
49188
50714
|
p_error: string;
|
|
@@ -49304,6 +50830,38 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
49304
50830
|
};
|
|
49305
50831
|
Returns: string;
|
|
49306
50832
|
};
|
|
50833
|
+
logistics_floriday_gate_status: {
|
|
50834
|
+
Args: never;
|
|
50835
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
50836
|
+
};
|
|
50837
|
+
logistics_floriday_log_refusal: {
|
|
50838
|
+
Args: {
|
|
50839
|
+
_action?: string;
|
|
50840
|
+
_module?: string;
|
|
50841
|
+
_order_ref: string;
|
|
50842
|
+
_reason: string;
|
|
50843
|
+
_shell?: string;
|
|
50844
|
+
};
|
|
50845
|
+
Returns: undefined;
|
|
50846
|
+
};
|
|
50847
|
+
logistics_floriday_log_send: {
|
|
50848
|
+
Args: {
|
|
50849
|
+
_action: string;
|
|
50850
|
+
_detail?: string;
|
|
50851
|
+
_http_status?: number;
|
|
50852
|
+
_module?: string;
|
|
50853
|
+
_ok: boolean;
|
|
50854
|
+
_order_ref: string;
|
|
50855
|
+
_shell?: string;
|
|
50856
|
+
};
|
|
50857
|
+
Returns: undefined;
|
|
50858
|
+
};
|
|
50859
|
+
logistics_floriday_order_approved: {
|
|
50860
|
+
Args: {
|
|
50861
|
+
_order_ref: string;
|
|
50862
|
+
};
|
|
50863
|
+
Returns: boolean;
|
|
50864
|
+
};
|
|
49307
50865
|
logistics_floriday_prune_pushes: {
|
|
49308
50866
|
Args: {
|
|
49309
50867
|
_days?: number;
|
|
@@ -49318,6 +50876,20 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
49318
50876
|
};
|
|
49319
50877
|
Returns: string;
|
|
49320
50878
|
};
|
|
50879
|
+
logistics_floriday_status_updates_enabled: {
|
|
50880
|
+
Args: never;
|
|
50881
|
+
Returns: boolean;
|
|
50882
|
+
};
|
|
50883
|
+
logistics_floriday_stock_updates_enabled: {
|
|
50884
|
+
Args: never;
|
|
50885
|
+
Returns: boolean;
|
|
50886
|
+
};
|
|
50887
|
+
logistics_floriday_write_allowed: {
|
|
50888
|
+
Args: {
|
|
50889
|
+
_action: string;
|
|
50890
|
+
};
|
|
50891
|
+
Returns: boolean;
|
|
50892
|
+
};
|
|
49321
50893
|
logistics_fulfill_barcode_requests: {
|
|
49322
50894
|
Args: {
|
|
49323
50895
|
p_limit?: number;
|
|
@@ -49338,6 +50910,16 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
49338
50910
|
};
|
|
49339
50911
|
Returns: boolean;
|
|
49340
50912
|
};
|
|
50913
|
+
logistics_layout_method_status: {
|
|
50914
|
+
Args: never;
|
|
50915
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
50916
|
+
};
|
|
50917
|
+
logistics_link_order_items: {
|
|
50918
|
+
Args: {
|
|
50919
|
+
p_order?: string;
|
|
50920
|
+
};
|
|
50921
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
50922
|
+
};
|
|
49341
50923
|
logistics_live_carriers: {
|
|
49342
50924
|
Args: {
|
|
49343
50925
|
p_order_ref: string;
|
|
@@ -49350,6 +50932,12 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
49350
50932
|
};
|
|
49351
50933
|
Returns: number;
|
|
49352
50934
|
};
|
|
50935
|
+
logistics_merge_partial_carts: {
|
|
50936
|
+
Args: {
|
|
50937
|
+
p_limit?: number;
|
|
50938
|
+
};
|
|
50939
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
50940
|
+
};
|
|
49353
50941
|
logistics_next_workday_date: {
|
|
49354
50942
|
Args: {
|
|
49355
50943
|
p_date: string;
|
|
@@ -49364,12 +50952,22 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
49364
50952
|
};
|
|
49365
50953
|
Returns: string;
|
|
49366
50954
|
};
|
|
50955
|
+
logistics_normalize_product_label: {
|
|
50956
|
+
Args: {
|
|
50957
|
+
p_label: string;
|
|
50958
|
+
};
|
|
50959
|
+
Returns: string;
|
|
50960
|
+
};
|
|
49367
50961
|
logistics_not_past: {
|
|
49368
50962
|
Args: {
|
|
49369
50963
|
p_ts: string;
|
|
49370
50964
|
};
|
|
49371
50965
|
Returns: string;
|
|
49372
50966
|
};
|
|
50967
|
+
logistics_opening_timezone: {
|
|
50968
|
+
Args: never;
|
|
50969
|
+
Returns: string;
|
|
50970
|
+
};
|
|
49373
50971
|
logistics_order_cart_count: {
|
|
49374
50972
|
Args: {
|
|
49375
50973
|
p_order_ref: string;
|
|
@@ -49454,6 +51052,10 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
49454
51052
|
Args: never;
|
|
49455
51053
|
Returns: import("../integrations/supabase/types").Json;
|
|
49456
51054
|
};
|
|
51055
|
+
logistics_pick_partial_mode: {
|
|
51056
|
+
Args: never;
|
|
51057
|
+
Returns: string;
|
|
51058
|
+
};
|
|
49457
51059
|
logistics_pick_start_estimate: {
|
|
49458
51060
|
Args: {
|
|
49459
51061
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -49552,6 +51154,12 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
49552
51154
|
Args: never;
|
|
49553
51155
|
Returns: number;
|
|
49554
51156
|
};
|
|
51157
|
+
logistics_plan_retry: {
|
|
51158
|
+
Args: {
|
|
51159
|
+
p_order_ids: string[];
|
|
51160
|
+
};
|
|
51161
|
+
Returns: number;
|
|
51162
|
+
};
|
|
49555
51163
|
logistics_plan_setting: {
|
|
49556
51164
|
Args: {
|
|
49557
51165
|
p_default: number;
|
|
@@ -49559,6 +51167,12 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
49559
51167
|
};
|
|
49560
51168
|
Returns: number;
|
|
49561
51169
|
};
|
|
51170
|
+
logistics_prepare_pick_documents: {
|
|
51171
|
+
Args: {
|
|
51172
|
+
p_limit?: number;
|
|
51173
|
+
};
|
|
51174
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51175
|
+
};
|
|
49562
51176
|
logistics_prune_buffer_member_queue: {
|
|
49563
51177
|
Args: never;
|
|
49564
51178
|
Returns: number;
|
|
@@ -49599,12 +51213,30 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
49599
51213
|
Args: never;
|
|
49600
51214
|
Returns: import("../integrations/supabase/types").Json;
|
|
49601
51215
|
};
|
|
51216
|
+
logistics_refresh_pick_queue_status: {
|
|
51217
|
+
Args: {
|
|
51218
|
+
p_ref: string;
|
|
51219
|
+
};
|
|
51220
|
+
Returns: number;
|
|
51221
|
+
};
|
|
49602
51222
|
logistics_refresh_pickup_moments: {
|
|
49603
51223
|
Args: {
|
|
49604
51224
|
p_weeks?: number;
|
|
49605
51225
|
};
|
|
49606
51226
|
Returns: import("../integrations/supabase/types").Json;
|
|
49607
51227
|
};
|
|
51228
|
+
logistics_replan_all: {
|
|
51229
|
+
Args: {
|
|
51230
|
+
p_reason?: string;
|
|
51231
|
+
};
|
|
51232
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51233
|
+
};
|
|
51234
|
+
logistics_replan_all_force: {
|
|
51235
|
+
Args: {
|
|
51236
|
+
p_reason?: string;
|
|
51237
|
+
};
|
|
51238
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51239
|
+
};
|
|
49608
51240
|
logistics_report_delay: {
|
|
49609
51241
|
Args: {
|
|
49610
51242
|
p_expected_date?: string;
|
|
@@ -49658,6 +51290,12 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
49658
51290
|
};
|
|
49659
51291
|
Returns: import("../integrations/supabase/types").Json;
|
|
49660
51292
|
};
|
|
51293
|
+
logistics_resolve_product_id: {
|
|
51294
|
+
Args: {
|
|
51295
|
+
p_label: string;
|
|
51296
|
+
};
|
|
51297
|
+
Returns: string;
|
|
51298
|
+
};
|
|
49661
51299
|
logistics_resolve_settings: {
|
|
49662
51300
|
Args: {
|
|
49663
51301
|
p_config_id: string;
|
|
@@ -49743,6 +51381,10 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
49743
51381
|
};
|
|
49744
51382
|
Returns: string;
|
|
49745
51383
|
};
|
|
51384
|
+
logistics_shipping_note_follows_slip: {
|
|
51385
|
+
Args: never;
|
|
51386
|
+
Returns: boolean;
|
|
51387
|
+
};
|
|
49746
51388
|
logistics_shipping_note_from_barcode: {
|
|
49747
51389
|
Args: {
|
|
49748
51390
|
p_allow_reprint?: boolean;
|
|
@@ -49751,10 +51393,76 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
49751
51393
|
};
|
|
49752
51394
|
Returns: import("../integrations/supabase/types").Json;
|
|
49753
51395
|
};
|
|
51396
|
+
logistics_shipping_note_job_for_slip: {
|
|
51397
|
+
Args: {
|
|
51398
|
+
_slip_job_id: string;
|
|
51399
|
+
};
|
|
51400
|
+
Returns: string;
|
|
51401
|
+
};
|
|
51402
|
+
logistics_slip_note_claim: {
|
|
51403
|
+
Args: {
|
|
51404
|
+
_lease_seconds?: number;
|
|
51405
|
+
_limit?: number;
|
|
51406
|
+
};
|
|
51407
|
+
Returns: {
|
|
51408
|
+
attempts: number;
|
|
51409
|
+
batch_key: string | null;
|
|
51410
|
+
cart_id: string | null;
|
|
51411
|
+
created_at: string;
|
|
51412
|
+
error: string | null;
|
|
51413
|
+
error_code: string | null;
|
|
51414
|
+
fulfillment_order_id: string | null;
|
|
51415
|
+
id: string;
|
|
51416
|
+
locked_until: string | null;
|
|
51417
|
+
next_attempt_at: string | null;
|
|
51418
|
+
order_id: string | null;
|
|
51419
|
+
order_number: string | null;
|
|
51420
|
+
print_job_id: string | null;
|
|
51421
|
+
printer_id: string | null;
|
|
51422
|
+
retry_class: string | null;
|
|
51423
|
+
slip_job_id: string;
|
|
51424
|
+
status: string;
|
|
51425
|
+
updated_at: string;
|
|
51426
|
+
}[];
|
|
51427
|
+
SetofOptions: {
|
|
51428
|
+
from: "*";
|
|
51429
|
+
to: "logistics_slip_shipping_note";
|
|
51430
|
+
isOneToOne: false;
|
|
51431
|
+
isSetofReturn: true;
|
|
51432
|
+
};
|
|
51433
|
+
};
|
|
51434
|
+
logistics_slip_note_finish: {
|
|
51435
|
+
Args: {
|
|
51436
|
+
_error?: string;
|
|
51437
|
+
_error_code?: string;
|
|
51438
|
+
_fulfillment_order_id?: string;
|
|
51439
|
+
_id: string;
|
|
51440
|
+
_ok: boolean;
|
|
51441
|
+
_print_job_id?: string;
|
|
51442
|
+
_status?: string;
|
|
51443
|
+
};
|
|
51444
|
+
Returns: undefined;
|
|
51445
|
+
};
|
|
51446
|
+
logistics_slip_note_keep_waiting: {
|
|
51447
|
+
Args: {
|
|
51448
|
+
_class?: string;
|
|
51449
|
+
_id: string;
|
|
51450
|
+
_reason: string;
|
|
51451
|
+
};
|
|
51452
|
+
Returns: undefined;
|
|
51453
|
+
};
|
|
49754
51454
|
logistics_sticker_follows_slip: {
|
|
49755
51455
|
Args: never;
|
|
49756
51456
|
Returns: boolean;
|
|
49757
51457
|
};
|
|
51458
|
+
logistics_subtract_working_minutes: {
|
|
51459
|
+
Args: {
|
|
51460
|
+
p_deadline: string;
|
|
51461
|
+
p_max_workdays?: number;
|
|
51462
|
+
p_minutes: number;
|
|
51463
|
+
};
|
|
51464
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51465
|
+
};
|
|
49758
51466
|
logistics_supersede_stale_tasks: {
|
|
49759
51467
|
Args: {
|
|
49760
51468
|
p_keep: string[];
|
|
@@ -49787,6 +51495,16 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
49787
51495
|
};
|
|
49788
51496
|
Returns: number;
|
|
49789
51497
|
};
|
|
51498
|
+
logistics_tick_ping: {
|
|
51499
|
+
Args: never;
|
|
51500
|
+
Returns: string;
|
|
51501
|
+
};
|
|
51502
|
+
logistics_timezone_options: {
|
|
51503
|
+
Args: never;
|
|
51504
|
+
Returns: {
|
|
51505
|
+
name: string;
|
|
51506
|
+
}[];
|
|
51507
|
+
};
|
|
49790
51508
|
logistics_upsert_task: {
|
|
49791
51509
|
Args: {
|
|
49792
51510
|
p_buffer_ref: string;
|
|
@@ -49806,6 +51524,16 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
49806
51524
|
};
|
|
49807
51525
|
Returns: string;
|
|
49808
51526
|
};
|
|
51527
|
+
logistics_valid_timezone: {
|
|
51528
|
+
Args: {
|
|
51529
|
+
_tz: string;
|
|
51530
|
+
};
|
|
51531
|
+
Returns: boolean;
|
|
51532
|
+
};
|
|
51533
|
+
logistics_working_hours_status: {
|
|
51534
|
+
Args: never;
|
|
51535
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51536
|
+
};
|
|
49809
51537
|
logistics_write_buffer_layer_positions: {
|
|
49810
51538
|
Args: {
|
|
49811
51539
|
p_buffer_id: string;
|
|
@@ -49930,6 +51658,12 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
49930
51658
|
};
|
|
49931
51659
|
Returns: import("../integrations/supabase/types").Json;
|
|
49932
51660
|
};
|
|
51661
|
+
order_heeft_bevestigde_karren: {
|
|
51662
|
+
Args: {
|
|
51663
|
+
p_order_id: string;
|
|
51664
|
+
};
|
|
51665
|
+
Returns: boolean;
|
|
51666
|
+
};
|
|
49933
51667
|
order_number_prefix: {
|
|
49934
51668
|
Args: {
|
|
49935
51669
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -49965,6 +51699,10 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
49965
51699
|
online: boolean;
|
|
49966
51700
|
}[];
|
|
49967
51701
|
};
|
|
51702
|
+
pick_apply_buffer_events: {
|
|
51703
|
+
Args: never;
|
|
51704
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51705
|
+
};
|
|
49968
51706
|
pick_available_pick_days: {
|
|
49969
51707
|
Args: {
|
|
49970
51708
|
_max_days?: number;
|
|
@@ -49974,6 +51712,12 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
49974
51712
|
pick_day: string;
|
|
49975
51713
|
}[];
|
|
49976
51714
|
};
|
|
51715
|
+
pick_buffer_order_ids: {
|
|
51716
|
+
Args: {
|
|
51717
|
+
_order_id: string;
|
|
51718
|
+
};
|
|
51719
|
+
Returns: string[];
|
|
51720
|
+
};
|
|
49977
51721
|
pick_cart_breakdown: {
|
|
49978
51722
|
Args: {
|
|
49979
51723
|
_order_id: string;
|
|
@@ -50033,6 +51777,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
50033
51777
|
pick_claim_next_document: {
|
|
50034
51778
|
Args: {
|
|
50035
51779
|
_country_code: string;
|
|
51780
|
+
_pick_day?: string;
|
|
50036
51781
|
_screen_id: string;
|
|
50037
51782
|
_session_id: string;
|
|
50038
51783
|
_station_id: string;
|
|
@@ -50321,6 +52066,12 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
50321
52066
|
omschrijving: string;
|
|
50322
52067
|
}[];
|
|
50323
52068
|
};
|
|
52069
|
+
pick_queue_cart_plan: {
|
|
52070
|
+
Args: {
|
|
52071
|
+
_queue_item_id: string;
|
|
52072
|
+
};
|
|
52073
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52074
|
+
};
|
|
50324
52075
|
pick_reference_data_status: {
|
|
50325
52076
|
Args: never;
|
|
50326
52077
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -50335,6 +52086,10 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
50335
52086
|
};
|
|
50336
52087
|
Returns: undefined;
|
|
50337
52088
|
};
|
|
52089
|
+
pick_report_missing_cart_plan: {
|
|
52090
|
+
Args: never;
|
|
52091
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52092
|
+
};
|
|
50338
52093
|
pick_reprint_cart: {
|
|
50339
52094
|
Args: {
|
|
50340
52095
|
_cart_id: string;
|
|
@@ -50875,6 +52630,12 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
50875
52630
|
};
|
|
50876
52631
|
Returns: boolean;
|
|
50877
52632
|
};
|
|
52633
|
+
release_job_lock: {
|
|
52634
|
+
Args: {
|
|
52635
|
+
_key: string;
|
|
52636
|
+
};
|
|
52637
|
+
Returns: undefined;
|
|
52638
|
+
};
|
|
50878
52639
|
release_local_pdf_job: {
|
|
50879
52640
|
Args: {
|
|
50880
52641
|
_job_id: string;
|
|
@@ -51064,6 +52825,16 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
51064
52825
|
};
|
|
51065
52826
|
Returns: import("../integrations/supabase/types").Json;
|
|
51066
52827
|
};
|
|
52828
|
+
scan_log_code: {
|
|
52829
|
+
Args: {
|
|
52830
|
+
p_code: string;
|
|
52831
|
+
p_latency_ms?: number;
|
|
52832
|
+
p_message?: string;
|
|
52833
|
+
p_result: string;
|
|
52834
|
+
p_scanner_key?: string;
|
|
52835
|
+
};
|
|
52836
|
+
Returns: string;
|
|
52837
|
+
};
|
|
51067
52838
|
scan_open_pakbonnen: {
|
|
51068
52839
|
Args: {
|
|
51069
52840
|
p_dagen?: number;
|
|
@@ -51208,6 +52979,13 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
51208
52979
|
};
|
|
51209
52980
|
Returns: number;
|
|
51210
52981
|
};
|
|
52982
|
+
schedule_floriday_catalog_prices_sync: {
|
|
52983
|
+
Args: {
|
|
52984
|
+
p_apikey: string;
|
|
52985
|
+
p_url: string;
|
|
52986
|
+
};
|
|
52987
|
+
Returns: number;
|
|
52988
|
+
};
|
|
51211
52989
|
schedule_floriday_clock_presales_sync: {
|
|
51212
52990
|
Args: {
|
|
51213
52991
|
p_apikey: string;
|
|
@@ -51508,6 +53286,10 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
51508
53286
|
};
|
|
51509
53287
|
Returns: undefined;
|
|
51510
53288
|
};
|
|
53289
|
+
sync_floriday_prices_into_price_groups: {
|
|
53290
|
+
Args: never;
|
|
53291
|
+
Returns: number;
|
|
53292
|
+
};
|
|
51511
53293
|
sync_layer_stock: {
|
|
51512
53294
|
Args: {
|
|
51513
53295
|
p_product_id: string;
|
|
@@ -51553,6 +53335,14 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
51553
53335
|
row_count: number;
|
|
51554
53336
|
}[];
|
|
51555
53337
|
};
|
|
53338
|
+
try_acquire_job_lock: {
|
|
53339
|
+
Args: {
|
|
53340
|
+
_key: string;
|
|
53341
|
+
_owner?: string;
|
|
53342
|
+
_seconds?: number;
|
|
53343
|
+
};
|
|
53344
|
+
Returns: boolean;
|
|
53345
|
+
};
|
|
51556
53346
|
try_debtor_lock: {
|
|
51557
53347
|
Args: {
|
|
51558
53348
|
_group_key: string;
|