@flowselections/floriday-voorraad 1.0.41 → 1.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +546 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +546 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +546 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +548 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts +546 -0
- 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 +546 -0
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-env.functions.d.ts +1092 -0
- package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.functions.d.ts +3276 -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-vbn-required.functions.d.ts +1092 -0
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +1638 -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 +1092 -0
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/inventory-settings.functions.d.ts +1092 -0
- package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/module-health.functions.d.ts +1092 -0
- package/dist-lib/lib/module-health.functions.d.ts.map +1 -1
- package/dist-lib/lib/stock-sync.functions.d.ts +1092 -0
- package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -5834,6 +5834,84 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
5834
5834
|
referencedColumns: ["id"];
|
|
5835
5835
|
}];
|
|
5836
5836
|
};
|
|
5837
|
+
floriday_catalog_prices_cache: {
|
|
5838
|
+
Row: {
|
|
5839
|
+
connection_id: string;
|
|
5840
|
+
created_at: string;
|
|
5841
|
+
currency: string;
|
|
5842
|
+
id: string;
|
|
5843
|
+
is_deleted: boolean;
|
|
5844
|
+
price: number | null;
|
|
5845
|
+
price_group_id: string | null;
|
|
5846
|
+
price_group_name: string | null;
|
|
5847
|
+
price_type: string;
|
|
5848
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
5849
|
+
sales_unit: string | null;
|
|
5850
|
+
sequence_number: number;
|
|
5851
|
+
supplier_article_code: string | null;
|
|
5852
|
+
supply_line_id: string;
|
|
5853
|
+
synced_at: string;
|
|
5854
|
+
trade_item_id: string | null;
|
|
5855
|
+
updated_at: string;
|
|
5856
|
+
valid_from: string | null;
|
|
5857
|
+
valid_to: string | null;
|
|
5858
|
+
week: number | null;
|
|
5859
|
+
year: number | null;
|
|
5860
|
+
};
|
|
5861
|
+
Insert: {
|
|
5862
|
+
connection_id: string;
|
|
5863
|
+
created_at?: string;
|
|
5864
|
+
currency?: string;
|
|
5865
|
+
id?: string;
|
|
5866
|
+
is_deleted?: boolean;
|
|
5867
|
+
price?: number | null;
|
|
5868
|
+
price_group_id?: string | null;
|
|
5869
|
+
price_group_name?: string | null;
|
|
5870
|
+
price_type?: string;
|
|
5871
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
5872
|
+
sales_unit?: string | null;
|
|
5873
|
+
sequence_number?: number;
|
|
5874
|
+
supplier_article_code?: string | null;
|
|
5875
|
+
supply_line_id: string;
|
|
5876
|
+
synced_at?: string;
|
|
5877
|
+
trade_item_id?: string | null;
|
|
5878
|
+
updated_at?: string;
|
|
5879
|
+
valid_from?: string | null;
|
|
5880
|
+
valid_to?: string | null;
|
|
5881
|
+
week?: number | null;
|
|
5882
|
+
year?: number | null;
|
|
5883
|
+
};
|
|
5884
|
+
Update: {
|
|
5885
|
+
connection_id?: string;
|
|
5886
|
+
created_at?: string;
|
|
5887
|
+
currency?: string;
|
|
5888
|
+
id?: string;
|
|
5889
|
+
is_deleted?: boolean;
|
|
5890
|
+
price?: number | null;
|
|
5891
|
+
price_group_id?: string | null;
|
|
5892
|
+
price_group_name?: string | null;
|
|
5893
|
+
price_type?: string;
|
|
5894
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
5895
|
+
sales_unit?: string | null;
|
|
5896
|
+
sequence_number?: number;
|
|
5897
|
+
supplier_article_code?: string | null;
|
|
5898
|
+
supply_line_id?: string;
|
|
5899
|
+
synced_at?: string;
|
|
5900
|
+
trade_item_id?: string | null;
|
|
5901
|
+
updated_at?: string;
|
|
5902
|
+
valid_from?: string | null;
|
|
5903
|
+
valid_to?: string | null;
|
|
5904
|
+
week?: number | null;
|
|
5905
|
+
year?: number | null;
|
|
5906
|
+
};
|
|
5907
|
+
Relationships: [{
|
|
5908
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
5909
|
+
columns: ["connection_id"];
|
|
5910
|
+
isOneToOne: false;
|
|
5911
|
+
referencedRelation: "floriday_connections";
|
|
5912
|
+
referencedColumns: ["id"];
|
|
5913
|
+
}];
|
|
5914
|
+
};
|
|
5837
5915
|
floriday_clock_presales_cache: {
|
|
5838
5916
|
Row: {
|
|
5839
5917
|
buyer_organization_id: string | null;
|
|
@@ -10102,22 +10180,31 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
10102
10180
|
};
|
|
10103
10181
|
logistics_floriday_push_refusals: {
|
|
10104
10182
|
Row: {
|
|
10183
|
+
action: string | null;
|
|
10105
10184
|
created_at: string;
|
|
10106
10185
|
id: string;
|
|
10107
10186
|
order_ref: string;
|
|
10108
10187
|
reason: string;
|
|
10188
|
+
source_module: string | null;
|
|
10189
|
+
source_shell: string | null;
|
|
10109
10190
|
};
|
|
10110
10191
|
Insert: {
|
|
10192
|
+
action?: string | null;
|
|
10111
10193
|
created_at?: string;
|
|
10112
10194
|
id?: string;
|
|
10113
10195
|
order_ref: string;
|
|
10114
10196
|
reason: string;
|
|
10197
|
+
source_module?: string | null;
|
|
10198
|
+
source_shell?: string | null;
|
|
10115
10199
|
};
|
|
10116
10200
|
Update: {
|
|
10201
|
+
action?: string | null;
|
|
10117
10202
|
created_at?: string;
|
|
10118
10203
|
id?: string;
|
|
10119
10204
|
order_ref?: string;
|
|
10120
10205
|
reason?: string;
|
|
10206
|
+
source_module?: string | null;
|
|
10207
|
+
source_shell?: string | null;
|
|
10121
10208
|
};
|
|
10122
10209
|
Relationships: [];
|
|
10123
10210
|
};
|
|
@@ -10196,6 +10283,42 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
10196
10283
|
};
|
|
10197
10284
|
Relationships: [];
|
|
10198
10285
|
};
|
|
10286
|
+
logistics_floriday_status_sends: {
|
|
10287
|
+
Row: {
|
|
10288
|
+
action: string;
|
|
10289
|
+
created_at: string;
|
|
10290
|
+
detail: string | null;
|
|
10291
|
+
http_status: number | null;
|
|
10292
|
+
id: string;
|
|
10293
|
+
ok: boolean;
|
|
10294
|
+
order_ref: string;
|
|
10295
|
+
source_module: string | null;
|
|
10296
|
+
source_shell: string | null;
|
|
10297
|
+
};
|
|
10298
|
+
Insert: {
|
|
10299
|
+
action: string;
|
|
10300
|
+
created_at?: string;
|
|
10301
|
+
detail?: string | null;
|
|
10302
|
+
http_status?: number | null;
|
|
10303
|
+
id?: string;
|
|
10304
|
+
ok?: boolean;
|
|
10305
|
+
order_ref: string;
|
|
10306
|
+
source_module?: string | null;
|
|
10307
|
+
source_shell?: string | null;
|
|
10308
|
+
};
|
|
10309
|
+
Update: {
|
|
10310
|
+
action?: string;
|
|
10311
|
+
created_at?: string;
|
|
10312
|
+
detail?: string | null;
|
|
10313
|
+
http_status?: number | null;
|
|
10314
|
+
id?: string;
|
|
10315
|
+
ok?: boolean;
|
|
10316
|
+
order_ref?: string;
|
|
10317
|
+
source_module?: string | null;
|
|
10318
|
+
source_shell?: string | null;
|
|
10319
|
+
};
|
|
10320
|
+
Relationships: [];
|
|
10321
|
+
};
|
|
10199
10322
|
logistics_formulas: {
|
|
10200
10323
|
Row: {
|
|
10201
10324
|
created_at: string;
|
|
@@ -10268,6 +10391,108 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
10268
10391
|
};
|
|
10269
10392
|
Relationships: [];
|
|
10270
10393
|
};
|
|
10394
|
+
logistics_opening_exceptions: {
|
|
10395
|
+
Row: {
|
|
10396
|
+
closes: string | null;
|
|
10397
|
+
created_at: string;
|
|
10398
|
+
day: string;
|
|
10399
|
+
id: string;
|
|
10400
|
+
is_closed: boolean;
|
|
10401
|
+
note: string | null;
|
|
10402
|
+
opens: string | null;
|
|
10403
|
+
};
|
|
10404
|
+
Insert: {
|
|
10405
|
+
closes?: string | null;
|
|
10406
|
+
created_at?: string;
|
|
10407
|
+
day: string;
|
|
10408
|
+
id?: string;
|
|
10409
|
+
is_closed?: boolean;
|
|
10410
|
+
note?: string | null;
|
|
10411
|
+
opens?: string | null;
|
|
10412
|
+
};
|
|
10413
|
+
Update: {
|
|
10414
|
+
closes?: string | null;
|
|
10415
|
+
created_at?: string;
|
|
10416
|
+
day?: string;
|
|
10417
|
+
id?: string;
|
|
10418
|
+
is_closed?: boolean;
|
|
10419
|
+
note?: string | null;
|
|
10420
|
+
opens?: string | null;
|
|
10421
|
+
};
|
|
10422
|
+
Relationships: [];
|
|
10423
|
+
};
|
|
10424
|
+
logistics_opening_hours: {
|
|
10425
|
+
Row: {
|
|
10426
|
+
closes: string;
|
|
10427
|
+
created_at: string;
|
|
10428
|
+
id: string;
|
|
10429
|
+
is_active: boolean;
|
|
10430
|
+
note: string | null;
|
|
10431
|
+
opens: string;
|
|
10432
|
+
weekday: number;
|
|
10433
|
+
};
|
|
10434
|
+
Insert: {
|
|
10435
|
+
closes: string;
|
|
10436
|
+
created_at?: string;
|
|
10437
|
+
id?: string;
|
|
10438
|
+
is_active?: boolean;
|
|
10439
|
+
note?: string | null;
|
|
10440
|
+
opens: string;
|
|
10441
|
+
weekday: number;
|
|
10442
|
+
};
|
|
10443
|
+
Update: {
|
|
10444
|
+
closes?: string;
|
|
10445
|
+
created_at?: string;
|
|
10446
|
+
id?: string;
|
|
10447
|
+
is_active?: boolean;
|
|
10448
|
+
note?: string | null;
|
|
10449
|
+
opens?: string;
|
|
10450
|
+
weekday?: number;
|
|
10451
|
+
};
|
|
10452
|
+
Relationships: [];
|
|
10453
|
+
};
|
|
10454
|
+
logistics_pick_data_requests: {
|
|
10455
|
+
Row: {
|
|
10456
|
+
actions: import("../integrations/supabase/types").Json;
|
|
10457
|
+
created_at: string;
|
|
10458
|
+
event_id: string | null;
|
|
10459
|
+
finished_at: string | null;
|
|
10460
|
+
id: string;
|
|
10461
|
+
missing: import("../integrations/supabase/types").Json;
|
|
10462
|
+
order_ref: string;
|
|
10463
|
+
reason: string | null;
|
|
10464
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
10465
|
+
status: string;
|
|
10466
|
+
unit_ref: string | null;
|
|
10467
|
+
};
|
|
10468
|
+
Insert: {
|
|
10469
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
10470
|
+
created_at?: string;
|
|
10471
|
+
event_id?: string | null;
|
|
10472
|
+
finished_at?: string | null;
|
|
10473
|
+
id?: string;
|
|
10474
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
10475
|
+
order_ref: string;
|
|
10476
|
+
reason?: string | null;
|
|
10477
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
10478
|
+
status?: string;
|
|
10479
|
+
unit_ref?: string | null;
|
|
10480
|
+
};
|
|
10481
|
+
Update: {
|
|
10482
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
10483
|
+
created_at?: string;
|
|
10484
|
+
event_id?: string | null;
|
|
10485
|
+
finished_at?: string | null;
|
|
10486
|
+
id?: string;
|
|
10487
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
10488
|
+
order_ref?: string;
|
|
10489
|
+
reason?: string | null;
|
|
10490
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
10491
|
+
status?: string;
|
|
10492
|
+
unit_ref?: string | null;
|
|
10493
|
+
};
|
|
10494
|
+
Relationships: [];
|
|
10495
|
+
};
|
|
10271
10496
|
logistics_pickup_moments: {
|
|
10272
10497
|
Row: {
|
|
10273
10498
|
carrier_ref: string | null;
|
|
@@ -10727,6 +10952,69 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
10727
10952
|
};
|
|
10728
10953
|
Relationships: [];
|
|
10729
10954
|
};
|
|
10955
|
+
logistics_slip_shipping_note: {
|
|
10956
|
+
Row: {
|
|
10957
|
+
attempts: number;
|
|
10958
|
+
batch_key: string | null;
|
|
10959
|
+
cart_id: string | null;
|
|
10960
|
+
created_at: string;
|
|
10961
|
+
error: string | null;
|
|
10962
|
+
error_code: string | null;
|
|
10963
|
+
fulfillment_order_id: string | null;
|
|
10964
|
+
id: string;
|
|
10965
|
+
locked_until: string | null;
|
|
10966
|
+
next_attempt_at: string | null;
|
|
10967
|
+
order_id: string | null;
|
|
10968
|
+
order_number: string | null;
|
|
10969
|
+
print_job_id: string | null;
|
|
10970
|
+
printer_id: string | null;
|
|
10971
|
+
retry_class: string | null;
|
|
10972
|
+
slip_job_id: string;
|
|
10973
|
+
status: string;
|
|
10974
|
+
updated_at: string;
|
|
10975
|
+
};
|
|
10976
|
+
Insert: {
|
|
10977
|
+
attempts?: number;
|
|
10978
|
+
batch_key?: string | null;
|
|
10979
|
+
cart_id?: string | null;
|
|
10980
|
+
created_at?: string;
|
|
10981
|
+
error?: string | null;
|
|
10982
|
+
error_code?: string | null;
|
|
10983
|
+
fulfillment_order_id?: string | null;
|
|
10984
|
+
id?: string;
|
|
10985
|
+
locked_until?: string | null;
|
|
10986
|
+
next_attempt_at?: string | null;
|
|
10987
|
+
order_id?: string | null;
|
|
10988
|
+
order_number?: string | null;
|
|
10989
|
+
print_job_id?: string | null;
|
|
10990
|
+
printer_id?: string | null;
|
|
10991
|
+
retry_class?: string | null;
|
|
10992
|
+
slip_job_id: string;
|
|
10993
|
+
status?: string;
|
|
10994
|
+
updated_at?: string;
|
|
10995
|
+
};
|
|
10996
|
+
Update: {
|
|
10997
|
+
attempts?: number;
|
|
10998
|
+
batch_key?: string | null;
|
|
10999
|
+
cart_id?: string | null;
|
|
11000
|
+
created_at?: string;
|
|
11001
|
+
error?: string | null;
|
|
11002
|
+
error_code?: string | null;
|
|
11003
|
+
fulfillment_order_id?: string | null;
|
|
11004
|
+
id?: string;
|
|
11005
|
+
locked_until?: string | null;
|
|
11006
|
+
next_attempt_at?: string | null;
|
|
11007
|
+
order_id?: string | null;
|
|
11008
|
+
order_number?: string | null;
|
|
11009
|
+
print_job_id?: string | null;
|
|
11010
|
+
printer_id?: string | null;
|
|
11011
|
+
retry_class?: string | null;
|
|
11012
|
+
slip_job_id?: string;
|
|
11013
|
+
status?: string;
|
|
11014
|
+
updated_at?: string;
|
|
11015
|
+
};
|
|
11016
|
+
Relationships: [];
|
|
11017
|
+
};
|
|
10730
11018
|
logistics_staff_planning: {
|
|
10731
11019
|
Row: {
|
|
10732
11020
|
created_at: string;
|
|
@@ -11060,6 +11348,24 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
11060
11348
|
};
|
|
11061
11349
|
Relationships: [];
|
|
11062
11350
|
};
|
|
11351
|
+
logistics_time_settings: {
|
|
11352
|
+
Row: {
|
|
11353
|
+
id: boolean;
|
|
11354
|
+
timezone: string;
|
|
11355
|
+
updated_at: string;
|
|
11356
|
+
};
|
|
11357
|
+
Insert: {
|
|
11358
|
+
id?: boolean;
|
|
11359
|
+
timezone: string;
|
|
11360
|
+
updated_at?: string;
|
|
11361
|
+
};
|
|
11362
|
+
Update: {
|
|
11363
|
+
id?: boolean;
|
|
11364
|
+
timezone?: string;
|
|
11365
|
+
updated_at?: string;
|
|
11366
|
+
};
|
|
11367
|
+
Relationships: [];
|
|
11368
|
+
};
|
|
11063
11369
|
logistics_variables: {
|
|
11064
11370
|
Row: {
|
|
11065
11371
|
created_at: string;
|
|
@@ -13450,6 +13756,7 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
13450
13756
|
customer_name: string;
|
|
13451
13757
|
deleted_at: string | null;
|
|
13452
13758
|
delivery_date: string | null;
|
|
13759
|
+
floriday_order_group_key: string | null;
|
|
13453
13760
|
floriday_sales_order_id: string | null;
|
|
13454
13761
|
id: string;
|
|
13455
13762
|
invoice_due_at: string | null;
|
|
@@ -13477,6 +13784,7 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
13477
13784
|
customer_name?: string;
|
|
13478
13785
|
deleted_at?: string | null;
|
|
13479
13786
|
delivery_date?: string | null;
|
|
13787
|
+
floriday_order_group_key?: string | null;
|
|
13480
13788
|
floriday_sales_order_id?: string | null;
|
|
13481
13789
|
id?: string;
|
|
13482
13790
|
invoice_due_at?: string | null;
|
|
@@ -13504,6 +13812,7 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
13504
13812
|
customer_name?: string;
|
|
13505
13813
|
deleted_at?: string | null;
|
|
13506
13814
|
delivery_date?: string | null;
|
|
13815
|
+
floriday_order_group_key?: string | null;
|
|
13507
13816
|
floriday_sales_order_id?: string | null;
|
|
13508
13817
|
id?: string;
|
|
13509
13818
|
invoice_due_at?: string | null;
|
|
@@ -23167,6 +23476,12 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
23167
23476
|
};
|
|
23168
23477
|
Returns: string;
|
|
23169
23478
|
};
|
|
23479
|
+
logistics_cart_checkin_at: {
|
|
23480
|
+
Args: {
|
|
23481
|
+
p_cart_id: string;
|
|
23482
|
+
};
|
|
23483
|
+
Returns: string;
|
|
23484
|
+
};
|
|
23170
23485
|
logistics_cart_handled: {
|
|
23171
23486
|
Args: {
|
|
23172
23487
|
p_cart_index: number;
|
|
@@ -23200,10 +23515,22 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
23200
23515
|
task_status: string;
|
|
23201
23516
|
}[];
|
|
23202
23517
|
};
|
|
23518
|
+
logistics_cart_is_full: {
|
|
23519
|
+
Args: {
|
|
23520
|
+
p_cart_id: string;
|
|
23521
|
+
};
|
|
23522
|
+
Returns: boolean;
|
|
23523
|
+
};
|
|
23203
23524
|
logistics_cart_layout_method: {
|
|
23204
23525
|
Args: never;
|
|
23205
23526
|
Returns: import("../integrations/supabase/types").Json;
|
|
23206
23527
|
};
|
|
23528
|
+
logistics_cart_order_refs: {
|
|
23529
|
+
Args: {
|
|
23530
|
+
p_cart_id: string;
|
|
23531
|
+
};
|
|
23532
|
+
Returns: string[];
|
|
23533
|
+
};
|
|
23207
23534
|
logistics_cart_plan_overview: {
|
|
23208
23535
|
Args: {
|
|
23209
23536
|
p_days?: number;
|
|
@@ -23223,6 +23550,18 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
23223
23550
|
};
|
|
23224
23551
|
Returns: import("../integrations/supabase/types").Json;
|
|
23225
23552
|
};
|
|
23553
|
+
logistics_cart_release_reason: {
|
|
23554
|
+
Args: {
|
|
23555
|
+
p_cart_id: string;
|
|
23556
|
+
};
|
|
23557
|
+
Returns: string;
|
|
23558
|
+
};
|
|
23559
|
+
logistics_cart_released: {
|
|
23560
|
+
Args: {
|
|
23561
|
+
p_cart_id: string;
|
|
23562
|
+
};
|
|
23563
|
+
Returns: boolean;
|
|
23564
|
+
};
|
|
23226
23565
|
logistics_cart_seq: {
|
|
23227
23566
|
Args: {
|
|
23228
23567
|
p_order_uuid?: string;
|
|
@@ -23273,6 +23612,10 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
23273
23612
|
unit_ref: string;
|
|
23274
23613
|
}[];
|
|
23275
23614
|
};
|
|
23615
|
+
logistics_carts_per_print: {
|
|
23616
|
+
Args: never;
|
|
23617
|
+
Returns: number;
|
|
23618
|
+
};
|
|
23276
23619
|
logistics_check_order_allowed: {
|
|
23277
23620
|
Args: {
|
|
23278
23621
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -23376,6 +23719,10 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
23376
23719
|
isSetofReturn: false;
|
|
23377
23720
|
};
|
|
23378
23721
|
};
|
|
23722
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
23723
|
+
Args: never;
|
|
23724
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23725
|
+
};
|
|
23379
23726
|
logistics_complete_task: {
|
|
23380
23727
|
Args: {
|
|
23381
23728
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -23438,6 +23785,12 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
23438
23785
|
station_carts: number;
|
|
23439
23786
|
}[];
|
|
23440
23787
|
};
|
|
23788
|
+
logistics_control_complete_cart: {
|
|
23789
|
+
Args: {
|
|
23790
|
+
p_cart_id: string;
|
|
23791
|
+
};
|
|
23792
|
+
Returns: number;
|
|
23793
|
+
};
|
|
23441
23794
|
logistics_control_scan_approve: {
|
|
23442
23795
|
Args: {
|
|
23443
23796
|
p_allow_reprint?: boolean;
|
|
@@ -23517,6 +23870,15 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
23517
23870
|
Args: never;
|
|
23518
23871
|
Returns: import("../integrations/supabase/types").Json;
|
|
23519
23872
|
};
|
|
23873
|
+
logistics_day_windows: {
|
|
23874
|
+
Args: {
|
|
23875
|
+
p_day: string;
|
|
23876
|
+
};
|
|
23877
|
+
Returns: {
|
|
23878
|
+
win_end: string;
|
|
23879
|
+
win_start: string;
|
|
23880
|
+
}[];
|
|
23881
|
+
};
|
|
23520
23882
|
logistics_delay_customer_email: {
|
|
23521
23883
|
Args: {
|
|
23522
23884
|
p_customer: string;
|
|
@@ -23584,6 +23946,17 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
23584
23946
|
};
|
|
23585
23947
|
Returns: import("../integrations/supabase/types").Json;
|
|
23586
23948
|
};
|
|
23949
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
23950
|
+
Args: {
|
|
23951
|
+
_cart_id: string;
|
|
23952
|
+
_is_herprint: boolean;
|
|
23953
|
+
_printer_id: string;
|
|
23954
|
+
_queue_item_id: string;
|
|
23955
|
+
_session_id: string;
|
|
23956
|
+
_slip_job_id: string;
|
|
23957
|
+
};
|
|
23958
|
+
Returns: string;
|
|
23959
|
+
};
|
|
23587
23960
|
logistics_enqueue_sticker_with_slip: {
|
|
23588
23961
|
Args: {
|
|
23589
23962
|
_cart_id: string;
|
|
@@ -23601,6 +23974,14 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
23601
23974
|
};
|
|
23602
23975
|
Returns: string;
|
|
23603
23976
|
};
|
|
23977
|
+
logistics_ensure_pick_data: {
|
|
23978
|
+
Args: {
|
|
23979
|
+
p_event_id?: string;
|
|
23980
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
23981
|
+
p_ref: string;
|
|
23982
|
+
};
|
|
23983
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23984
|
+
};
|
|
23604
23985
|
logistics_fail_task: {
|
|
23605
23986
|
Args: {
|
|
23606
23987
|
p_error: string;
|
|
@@ -23722,6 +24103,32 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
23722
24103
|
};
|
|
23723
24104
|
Returns: string;
|
|
23724
24105
|
};
|
|
24106
|
+
logistics_floriday_gate_status: {
|
|
24107
|
+
Args: never;
|
|
24108
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24109
|
+
};
|
|
24110
|
+
logistics_floriday_log_refusal: {
|
|
24111
|
+
Args: {
|
|
24112
|
+
_action?: string;
|
|
24113
|
+
_module?: string;
|
|
24114
|
+
_order_ref: string;
|
|
24115
|
+
_reason: string;
|
|
24116
|
+
_shell?: string;
|
|
24117
|
+
};
|
|
24118
|
+
Returns: undefined;
|
|
24119
|
+
};
|
|
24120
|
+
logistics_floriday_log_send: {
|
|
24121
|
+
Args: {
|
|
24122
|
+
_action: string;
|
|
24123
|
+
_detail?: string;
|
|
24124
|
+
_http_status?: number;
|
|
24125
|
+
_module?: string;
|
|
24126
|
+
_ok: boolean;
|
|
24127
|
+
_order_ref: string;
|
|
24128
|
+
_shell?: string;
|
|
24129
|
+
};
|
|
24130
|
+
Returns: undefined;
|
|
24131
|
+
};
|
|
23725
24132
|
logistics_floriday_order_approved: {
|
|
23726
24133
|
Args: {
|
|
23727
24134
|
_order_ref: string;
|
|
@@ -23746,6 +24153,16 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
23746
24153
|
Args: never;
|
|
23747
24154
|
Returns: boolean;
|
|
23748
24155
|
};
|
|
24156
|
+
logistics_floriday_stock_updates_enabled: {
|
|
24157
|
+
Args: never;
|
|
24158
|
+
Returns: boolean;
|
|
24159
|
+
};
|
|
24160
|
+
logistics_floriday_write_allowed: {
|
|
24161
|
+
Args: {
|
|
24162
|
+
_action: string;
|
|
24163
|
+
};
|
|
24164
|
+
Returns: boolean;
|
|
24165
|
+
};
|
|
23749
24166
|
logistics_fulfill_barcode_requests: {
|
|
23750
24167
|
Args: {
|
|
23751
24168
|
p_limit?: number;
|
|
@@ -23788,6 +24205,12 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
23788
24205
|
};
|
|
23789
24206
|
Returns: number;
|
|
23790
24207
|
};
|
|
24208
|
+
logistics_merge_partial_carts: {
|
|
24209
|
+
Args: {
|
|
24210
|
+
p_limit?: number;
|
|
24211
|
+
};
|
|
24212
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24213
|
+
};
|
|
23791
24214
|
logistics_next_workday_date: {
|
|
23792
24215
|
Args: {
|
|
23793
24216
|
p_date: string;
|
|
@@ -23814,6 +24237,10 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
23814
24237
|
};
|
|
23815
24238
|
Returns: string;
|
|
23816
24239
|
};
|
|
24240
|
+
logistics_opening_timezone: {
|
|
24241
|
+
Args: never;
|
|
24242
|
+
Returns: string;
|
|
24243
|
+
};
|
|
23817
24244
|
logistics_order_cart_count: {
|
|
23818
24245
|
Args: {
|
|
23819
24246
|
p_order_ref: string;
|
|
@@ -23898,6 +24325,10 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
23898
24325
|
Args: never;
|
|
23899
24326
|
Returns: import("../integrations/supabase/types").Json;
|
|
23900
24327
|
};
|
|
24328
|
+
logistics_pick_partial_mode: {
|
|
24329
|
+
Args: never;
|
|
24330
|
+
Returns: string;
|
|
24331
|
+
};
|
|
23901
24332
|
logistics_pick_start_estimate: {
|
|
23902
24333
|
Args: {
|
|
23903
24334
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -24009,6 +24440,12 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
24009
24440
|
};
|
|
24010
24441
|
Returns: number;
|
|
24011
24442
|
};
|
|
24443
|
+
logistics_prepare_pick_documents: {
|
|
24444
|
+
Args: {
|
|
24445
|
+
p_limit?: number;
|
|
24446
|
+
};
|
|
24447
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24448
|
+
};
|
|
24012
24449
|
logistics_prune_buffer_member_queue: {
|
|
24013
24450
|
Args: never;
|
|
24014
24451
|
Returns: number;
|
|
@@ -24049,6 +24486,12 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
24049
24486
|
Args: never;
|
|
24050
24487
|
Returns: import("../integrations/supabase/types").Json;
|
|
24051
24488
|
};
|
|
24489
|
+
logistics_refresh_pick_queue_status: {
|
|
24490
|
+
Args: {
|
|
24491
|
+
p_ref: string;
|
|
24492
|
+
};
|
|
24493
|
+
Returns: number;
|
|
24494
|
+
};
|
|
24052
24495
|
logistics_refresh_pickup_moments: {
|
|
24053
24496
|
Args: {
|
|
24054
24497
|
p_weeks?: number;
|
|
@@ -24061,6 +24504,12 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
24061
24504
|
};
|
|
24062
24505
|
Returns: import("../integrations/supabase/types").Json;
|
|
24063
24506
|
};
|
|
24507
|
+
logistics_replan_all_force: {
|
|
24508
|
+
Args: {
|
|
24509
|
+
p_reason?: string;
|
|
24510
|
+
};
|
|
24511
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24512
|
+
};
|
|
24064
24513
|
logistics_report_delay: {
|
|
24065
24514
|
Args: {
|
|
24066
24515
|
p_expected_date?: string;
|
|
@@ -24205,6 +24654,10 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
24205
24654
|
};
|
|
24206
24655
|
Returns: string;
|
|
24207
24656
|
};
|
|
24657
|
+
logistics_shipping_note_follows_slip: {
|
|
24658
|
+
Args: never;
|
|
24659
|
+
Returns: boolean;
|
|
24660
|
+
};
|
|
24208
24661
|
logistics_shipping_note_from_barcode: {
|
|
24209
24662
|
Args: {
|
|
24210
24663
|
p_allow_reprint?: boolean;
|
|
@@ -24213,10 +24666,76 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
24213
24666
|
};
|
|
24214
24667
|
Returns: import("../integrations/supabase/types").Json;
|
|
24215
24668
|
};
|
|
24669
|
+
logistics_shipping_note_job_for_slip: {
|
|
24670
|
+
Args: {
|
|
24671
|
+
_slip_job_id: string;
|
|
24672
|
+
};
|
|
24673
|
+
Returns: string;
|
|
24674
|
+
};
|
|
24675
|
+
logistics_slip_note_claim: {
|
|
24676
|
+
Args: {
|
|
24677
|
+
_lease_seconds?: number;
|
|
24678
|
+
_limit?: number;
|
|
24679
|
+
};
|
|
24680
|
+
Returns: {
|
|
24681
|
+
attempts: number;
|
|
24682
|
+
batch_key: string | null;
|
|
24683
|
+
cart_id: string | null;
|
|
24684
|
+
created_at: string;
|
|
24685
|
+
error: string | null;
|
|
24686
|
+
error_code: string | null;
|
|
24687
|
+
fulfillment_order_id: string | null;
|
|
24688
|
+
id: string;
|
|
24689
|
+
locked_until: string | null;
|
|
24690
|
+
next_attempt_at: string | null;
|
|
24691
|
+
order_id: string | null;
|
|
24692
|
+
order_number: string | null;
|
|
24693
|
+
print_job_id: string | null;
|
|
24694
|
+
printer_id: string | null;
|
|
24695
|
+
retry_class: string | null;
|
|
24696
|
+
slip_job_id: string;
|
|
24697
|
+
status: string;
|
|
24698
|
+
updated_at: string;
|
|
24699
|
+
}[];
|
|
24700
|
+
SetofOptions: {
|
|
24701
|
+
from: "*";
|
|
24702
|
+
to: "logistics_slip_shipping_note";
|
|
24703
|
+
isOneToOne: false;
|
|
24704
|
+
isSetofReturn: true;
|
|
24705
|
+
};
|
|
24706
|
+
};
|
|
24707
|
+
logistics_slip_note_finish: {
|
|
24708
|
+
Args: {
|
|
24709
|
+
_error?: string;
|
|
24710
|
+
_error_code?: string;
|
|
24711
|
+
_fulfillment_order_id?: string;
|
|
24712
|
+
_id: string;
|
|
24713
|
+
_ok: boolean;
|
|
24714
|
+
_print_job_id?: string;
|
|
24715
|
+
_status?: string;
|
|
24716
|
+
};
|
|
24717
|
+
Returns: undefined;
|
|
24718
|
+
};
|
|
24719
|
+
logistics_slip_note_keep_waiting: {
|
|
24720
|
+
Args: {
|
|
24721
|
+
_class?: string;
|
|
24722
|
+
_id: string;
|
|
24723
|
+
_reason: string;
|
|
24724
|
+
};
|
|
24725
|
+
Returns: undefined;
|
|
24726
|
+
};
|
|
24216
24727
|
logistics_sticker_follows_slip: {
|
|
24217
24728
|
Args: never;
|
|
24218
24729
|
Returns: boolean;
|
|
24219
24730
|
};
|
|
24731
|
+
logistics_subtract_working_minutes: {
|
|
24732
|
+
Args: {
|
|
24733
|
+
p_deadline: string;
|
|
24734
|
+
p_max_workdays?: number;
|
|
24735
|
+
p_minutes: number;
|
|
24736
|
+
};
|
|
24737
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24738
|
+
};
|
|
24220
24739
|
logistics_supersede_stale_tasks: {
|
|
24221
24740
|
Args: {
|
|
24222
24741
|
p_keep: string[];
|
|
@@ -24253,6 +24772,12 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
24253
24772
|
Args: never;
|
|
24254
24773
|
Returns: string;
|
|
24255
24774
|
};
|
|
24775
|
+
logistics_timezone_options: {
|
|
24776
|
+
Args: never;
|
|
24777
|
+
Returns: {
|
|
24778
|
+
name: string;
|
|
24779
|
+
}[];
|
|
24780
|
+
};
|
|
24256
24781
|
logistics_upsert_task: {
|
|
24257
24782
|
Args: {
|
|
24258
24783
|
p_buffer_ref: string;
|
|
@@ -24272,6 +24797,16 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
24272
24797
|
};
|
|
24273
24798
|
Returns: string;
|
|
24274
24799
|
};
|
|
24800
|
+
logistics_valid_timezone: {
|
|
24801
|
+
Args: {
|
|
24802
|
+
_tz: string;
|
|
24803
|
+
};
|
|
24804
|
+
Returns: boolean;
|
|
24805
|
+
};
|
|
24806
|
+
logistics_working_hours_status: {
|
|
24807
|
+
Args: never;
|
|
24808
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24809
|
+
};
|
|
24275
24810
|
logistics_write_buffer_layer_positions: {
|
|
24276
24811
|
Args: {
|
|
24277
24812
|
p_buffer_id: string;
|
|
@@ -25717,6 +26252,13 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
25717
26252
|
};
|
|
25718
26253
|
Returns: number;
|
|
25719
26254
|
};
|
|
26255
|
+
schedule_floriday_catalog_prices_sync: {
|
|
26256
|
+
Args: {
|
|
26257
|
+
p_apikey: string;
|
|
26258
|
+
p_url: string;
|
|
26259
|
+
};
|
|
26260
|
+
Returns: number;
|
|
26261
|
+
};
|
|
25720
26262
|
schedule_floriday_clock_presales_sync: {
|
|
25721
26263
|
Args: {
|
|
25722
26264
|
p_apikey: string;
|
|
@@ -26017,6 +26559,10 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
26017
26559
|
};
|
|
26018
26560
|
Returns: undefined;
|
|
26019
26561
|
};
|
|
26562
|
+
sync_floriday_prices_into_price_groups: {
|
|
26563
|
+
Args: never;
|
|
26564
|
+
Returns: number;
|
|
26565
|
+
};
|
|
26020
26566
|
sync_layer_stock: {
|
|
26021
26567
|
Args: {
|
|
26022
26568
|
p_product_id: string;
|
|
@@ -32029,6 +32575,84 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
32029
32575
|
referencedColumns: ["id"];
|
|
32030
32576
|
}];
|
|
32031
32577
|
};
|
|
32578
|
+
floriday_catalog_prices_cache: {
|
|
32579
|
+
Row: {
|
|
32580
|
+
connection_id: string;
|
|
32581
|
+
created_at: string;
|
|
32582
|
+
currency: string;
|
|
32583
|
+
id: string;
|
|
32584
|
+
is_deleted: boolean;
|
|
32585
|
+
price: number | null;
|
|
32586
|
+
price_group_id: string | null;
|
|
32587
|
+
price_group_name: string | null;
|
|
32588
|
+
price_type: string;
|
|
32589
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
32590
|
+
sales_unit: string | null;
|
|
32591
|
+
sequence_number: number;
|
|
32592
|
+
supplier_article_code: string | null;
|
|
32593
|
+
supply_line_id: string;
|
|
32594
|
+
synced_at: string;
|
|
32595
|
+
trade_item_id: string | null;
|
|
32596
|
+
updated_at: string;
|
|
32597
|
+
valid_from: string | null;
|
|
32598
|
+
valid_to: string | null;
|
|
32599
|
+
week: number | null;
|
|
32600
|
+
year: number | null;
|
|
32601
|
+
};
|
|
32602
|
+
Insert: {
|
|
32603
|
+
connection_id: string;
|
|
32604
|
+
created_at?: string;
|
|
32605
|
+
currency?: string;
|
|
32606
|
+
id?: string;
|
|
32607
|
+
is_deleted?: boolean;
|
|
32608
|
+
price?: number | null;
|
|
32609
|
+
price_group_id?: string | null;
|
|
32610
|
+
price_group_name?: string | null;
|
|
32611
|
+
price_type?: string;
|
|
32612
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
32613
|
+
sales_unit?: string | null;
|
|
32614
|
+
sequence_number?: number;
|
|
32615
|
+
supplier_article_code?: string | null;
|
|
32616
|
+
supply_line_id: string;
|
|
32617
|
+
synced_at?: string;
|
|
32618
|
+
trade_item_id?: string | null;
|
|
32619
|
+
updated_at?: string;
|
|
32620
|
+
valid_from?: string | null;
|
|
32621
|
+
valid_to?: string | null;
|
|
32622
|
+
week?: number | null;
|
|
32623
|
+
year?: number | null;
|
|
32624
|
+
};
|
|
32625
|
+
Update: {
|
|
32626
|
+
connection_id?: string;
|
|
32627
|
+
created_at?: string;
|
|
32628
|
+
currency?: string;
|
|
32629
|
+
id?: string;
|
|
32630
|
+
is_deleted?: boolean;
|
|
32631
|
+
price?: number | null;
|
|
32632
|
+
price_group_id?: string | null;
|
|
32633
|
+
price_group_name?: string | null;
|
|
32634
|
+
price_type?: string;
|
|
32635
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
32636
|
+
sales_unit?: string | null;
|
|
32637
|
+
sequence_number?: number;
|
|
32638
|
+
supplier_article_code?: string | null;
|
|
32639
|
+
supply_line_id?: string;
|
|
32640
|
+
synced_at?: string;
|
|
32641
|
+
trade_item_id?: string | null;
|
|
32642
|
+
updated_at?: string;
|
|
32643
|
+
valid_from?: string | null;
|
|
32644
|
+
valid_to?: string | null;
|
|
32645
|
+
week?: number | null;
|
|
32646
|
+
year?: number | null;
|
|
32647
|
+
};
|
|
32648
|
+
Relationships: [{
|
|
32649
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
32650
|
+
columns: ["connection_id"];
|
|
32651
|
+
isOneToOne: false;
|
|
32652
|
+
referencedRelation: "floriday_connections";
|
|
32653
|
+
referencedColumns: ["id"];
|
|
32654
|
+
}];
|
|
32655
|
+
};
|
|
32032
32656
|
floriday_clock_presales_cache: {
|
|
32033
32657
|
Row: {
|
|
32034
32658
|
buyer_organization_id: string | null;
|
|
@@ -36297,22 +36921,31 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
36297
36921
|
};
|
|
36298
36922
|
logistics_floriday_push_refusals: {
|
|
36299
36923
|
Row: {
|
|
36924
|
+
action: string | null;
|
|
36300
36925
|
created_at: string;
|
|
36301
36926
|
id: string;
|
|
36302
36927
|
order_ref: string;
|
|
36303
36928
|
reason: string;
|
|
36929
|
+
source_module: string | null;
|
|
36930
|
+
source_shell: string | null;
|
|
36304
36931
|
};
|
|
36305
36932
|
Insert: {
|
|
36933
|
+
action?: string | null;
|
|
36306
36934
|
created_at?: string;
|
|
36307
36935
|
id?: string;
|
|
36308
36936
|
order_ref: string;
|
|
36309
36937
|
reason: string;
|
|
36938
|
+
source_module?: string | null;
|
|
36939
|
+
source_shell?: string | null;
|
|
36310
36940
|
};
|
|
36311
36941
|
Update: {
|
|
36942
|
+
action?: string | null;
|
|
36312
36943
|
created_at?: string;
|
|
36313
36944
|
id?: string;
|
|
36314
36945
|
order_ref?: string;
|
|
36315
36946
|
reason?: string;
|
|
36947
|
+
source_module?: string | null;
|
|
36948
|
+
source_shell?: string | null;
|
|
36316
36949
|
};
|
|
36317
36950
|
Relationships: [];
|
|
36318
36951
|
};
|
|
@@ -36391,6 +37024,42 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
36391
37024
|
};
|
|
36392
37025
|
Relationships: [];
|
|
36393
37026
|
};
|
|
37027
|
+
logistics_floriday_status_sends: {
|
|
37028
|
+
Row: {
|
|
37029
|
+
action: string;
|
|
37030
|
+
created_at: string;
|
|
37031
|
+
detail: string | null;
|
|
37032
|
+
http_status: number | null;
|
|
37033
|
+
id: string;
|
|
37034
|
+
ok: boolean;
|
|
37035
|
+
order_ref: string;
|
|
37036
|
+
source_module: string | null;
|
|
37037
|
+
source_shell: string | null;
|
|
37038
|
+
};
|
|
37039
|
+
Insert: {
|
|
37040
|
+
action: string;
|
|
37041
|
+
created_at?: string;
|
|
37042
|
+
detail?: string | null;
|
|
37043
|
+
http_status?: number | null;
|
|
37044
|
+
id?: string;
|
|
37045
|
+
ok?: boolean;
|
|
37046
|
+
order_ref: string;
|
|
37047
|
+
source_module?: string | null;
|
|
37048
|
+
source_shell?: string | null;
|
|
37049
|
+
};
|
|
37050
|
+
Update: {
|
|
37051
|
+
action?: string;
|
|
37052
|
+
created_at?: string;
|
|
37053
|
+
detail?: string | null;
|
|
37054
|
+
http_status?: number | null;
|
|
37055
|
+
id?: string;
|
|
37056
|
+
ok?: boolean;
|
|
37057
|
+
order_ref?: string;
|
|
37058
|
+
source_module?: string | null;
|
|
37059
|
+
source_shell?: string | null;
|
|
37060
|
+
};
|
|
37061
|
+
Relationships: [];
|
|
37062
|
+
};
|
|
36394
37063
|
logistics_formulas: {
|
|
36395
37064
|
Row: {
|
|
36396
37065
|
created_at: string;
|
|
@@ -36463,6 +37132,108 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
36463
37132
|
};
|
|
36464
37133
|
Relationships: [];
|
|
36465
37134
|
};
|
|
37135
|
+
logistics_opening_exceptions: {
|
|
37136
|
+
Row: {
|
|
37137
|
+
closes: string | null;
|
|
37138
|
+
created_at: string;
|
|
37139
|
+
day: string;
|
|
37140
|
+
id: string;
|
|
37141
|
+
is_closed: boolean;
|
|
37142
|
+
note: string | null;
|
|
37143
|
+
opens: string | null;
|
|
37144
|
+
};
|
|
37145
|
+
Insert: {
|
|
37146
|
+
closes?: string | null;
|
|
37147
|
+
created_at?: string;
|
|
37148
|
+
day: string;
|
|
37149
|
+
id?: string;
|
|
37150
|
+
is_closed?: boolean;
|
|
37151
|
+
note?: string | null;
|
|
37152
|
+
opens?: string | null;
|
|
37153
|
+
};
|
|
37154
|
+
Update: {
|
|
37155
|
+
closes?: string | null;
|
|
37156
|
+
created_at?: string;
|
|
37157
|
+
day?: string;
|
|
37158
|
+
id?: string;
|
|
37159
|
+
is_closed?: boolean;
|
|
37160
|
+
note?: string | null;
|
|
37161
|
+
opens?: string | null;
|
|
37162
|
+
};
|
|
37163
|
+
Relationships: [];
|
|
37164
|
+
};
|
|
37165
|
+
logistics_opening_hours: {
|
|
37166
|
+
Row: {
|
|
37167
|
+
closes: string;
|
|
37168
|
+
created_at: string;
|
|
37169
|
+
id: string;
|
|
37170
|
+
is_active: boolean;
|
|
37171
|
+
note: string | null;
|
|
37172
|
+
opens: string;
|
|
37173
|
+
weekday: number;
|
|
37174
|
+
};
|
|
37175
|
+
Insert: {
|
|
37176
|
+
closes: string;
|
|
37177
|
+
created_at?: string;
|
|
37178
|
+
id?: string;
|
|
37179
|
+
is_active?: boolean;
|
|
37180
|
+
note?: string | null;
|
|
37181
|
+
opens: string;
|
|
37182
|
+
weekday: number;
|
|
37183
|
+
};
|
|
37184
|
+
Update: {
|
|
37185
|
+
closes?: string;
|
|
37186
|
+
created_at?: string;
|
|
37187
|
+
id?: string;
|
|
37188
|
+
is_active?: boolean;
|
|
37189
|
+
note?: string | null;
|
|
37190
|
+
opens?: string;
|
|
37191
|
+
weekday?: number;
|
|
37192
|
+
};
|
|
37193
|
+
Relationships: [];
|
|
37194
|
+
};
|
|
37195
|
+
logistics_pick_data_requests: {
|
|
37196
|
+
Row: {
|
|
37197
|
+
actions: import("../integrations/supabase/types").Json;
|
|
37198
|
+
created_at: string;
|
|
37199
|
+
event_id: string | null;
|
|
37200
|
+
finished_at: string | null;
|
|
37201
|
+
id: string;
|
|
37202
|
+
missing: import("../integrations/supabase/types").Json;
|
|
37203
|
+
order_ref: string;
|
|
37204
|
+
reason: string | null;
|
|
37205
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
37206
|
+
status: string;
|
|
37207
|
+
unit_ref: string | null;
|
|
37208
|
+
};
|
|
37209
|
+
Insert: {
|
|
37210
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
37211
|
+
created_at?: string;
|
|
37212
|
+
event_id?: string | null;
|
|
37213
|
+
finished_at?: string | null;
|
|
37214
|
+
id?: string;
|
|
37215
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
37216
|
+
order_ref: string;
|
|
37217
|
+
reason?: string | null;
|
|
37218
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
37219
|
+
status?: string;
|
|
37220
|
+
unit_ref?: string | null;
|
|
37221
|
+
};
|
|
37222
|
+
Update: {
|
|
37223
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
37224
|
+
created_at?: string;
|
|
37225
|
+
event_id?: string | null;
|
|
37226
|
+
finished_at?: string | null;
|
|
37227
|
+
id?: string;
|
|
37228
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
37229
|
+
order_ref?: string;
|
|
37230
|
+
reason?: string | null;
|
|
37231
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
37232
|
+
status?: string;
|
|
37233
|
+
unit_ref?: string | null;
|
|
37234
|
+
};
|
|
37235
|
+
Relationships: [];
|
|
37236
|
+
};
|
|
36466
37237
|
logistics_pickup_moments: {
|
|
36467
37238
|
Row: {
|
|
36468
37239
|
carrier_ref: string | null;
|
|
@@ -36922,6 +37693,69 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
36922
37693
|
};
|
|
36923
37694
|
Relationships: [];
|
|
36924
37695
|
};
|
|
37696
|
+
logistics_slip_shipping_note: {
|
|
37697
|
+
Row: {
|
|
37698
|
+
attempts: number;
|
|
37699
|
+
batch_key: string | null;
|
|
37700
|
+
cart_id: string | null;
|
|
37701
|
+
created_at: string;
|
|
37702
|
+
error: string | null;
|
|
37703
|
+
error_code: string | null;
|
|
37704
|
+
fulfillment_order_id: string | null;
|
|
37705
|
+
id: string;
|
|
37706
|
+
locked_until: string | null;
|
|
37707
|
+
next_attempt_at: string | null;
|
|
37708
|
+
order_id: string | null;
|
|
37709
|
+
order_number: string | null;
|
|
37710
|
+
print_job_id: string | null;
|
|
37711
|
+
printer_id: string | null;
|
|
37712
|
+
retry_class: string | null;
|
|
37713
|
+
slip_job_id: string;
|
|
37714
|
+
status: string;
|
|
37715
|
+
updated_at: string;
|
|
37716
|
+
};
|
|
37717
|
+
Insert: {
|
|
37718
|
+
attempts?: number;
|
|
37719
|
+
batch_key?: string | null;
|
|
37720
|
+
cart_id?: string | null;
|
|
37721
|
+
created_at?: string;
|
|
37722
|
+
error?: string | null;
|
|
37723
|
+
error_code?: string | null;
|
|
37724
|
+
fulfillment_order_id?: string | null;
|
|
37725
|
+
id?: string;
|
|
37726
|
+
locked_until?: string | null;
|
|
37727
|
+
next_attempt_at?: string | null;
|
|
37728
|
+
order_id?: string | null;
|
|
37729
|
+
order_number?: string | null;
|
|
37730
|
+
print_job_id?: string | null;
|
|
37731
|
+
printer_id?: string | null;
|
|
37732
|
+
retry_class?: string | null;
|
|
37733
|
+
slip_job_id: string;
|
|
37734
|
+
status?: string;
|
|
37735
|
+
updated_at?: string;
|
|
37736
|
+
};
|
|
37737
|
+
Update: {
|
|
37738
|
+
attempts?: number;
|
|
37739
|
+
batch_key?: string | null;
|
|
37740
|
+
cart_id?: string | null;
|
|
37741
|
+
created_at?: string;
|
|
37742
|
+
error?: string | null;
|
|
37743
|
+
error_code?: string | null;
|
|
37744
|
+
fulfillment_order_id?: string | null;
|
|
37745
|
+
id?: string;
|
|
37746
|
+
locked_until?: string | null;
|
|
37747
|
+
next_attempt_at?: string | null;
|
|
37748
|
+
order_id?: string | null;
|
|
37749
|
+
order_number?: string | null;
|
|
37750
|
+
print_job_id?: string | null;
|
|
37751
|
+
printer_id?: string | null;
|
|
37752
|
+
retry_class?: string | null;
|
|
37753
|
+
slip_job_id?: string;
|
|
37754
|
+
status?: string;
|
|
37755
|
+
updated_at?: string;
|
|
37756
|
+
};
|
|
37757
|
+
Relationships: [];
|
|
37758
|
+
};
|
|
36925
37759
|
logistics_staff_planning: {
|
|
36926
37760
|
Row: {
|
|
36927
37761
|
created_at: string;
|
|
@@ -37255,6 +38089,24 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
37255
38089
|
};
|
|
37256
38090
|
Relationships: [];
|
|
37257
38091
|
};
|
|
38092
|
+
logistics_time_settings: {
|
|
38093
|
+
Row: {
|
|
38094
|
+
id: boolean;
|
|
38095
|
+
timezone: string;
|
|
38096
|
+
updated_at: string;
|
|
38097
|
+
};
|
|
38098
|
+
Insert: {
|
|
38099
|
+
id?: boolean;
|
|
38100
|
+
timezone: string;
|
|
38101
|
+
updated_at?: string;
|
|
38102
|
+
};
|
|
38103
|
+
Update: {
|
|
38104
|
+
id?: boolean;
|
|
38105
|
+
timezone?: string;
|
|
38106
|
+
updated_at?: string;
|
|
38107
|
+
};
|
|
38108
|
+
Relationships: [];
|
|
38109
|
+
};
|
|
37258
38110
|
logistics_variables: {
|
|
37259
38111
|
Row: {
|
|
37260
38112
|
created_at: string;
|
|
@@ -39645,6 +40497,7 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
39645
40497
|
customer_name: string;
|
|
39646
40498
|
deleted_at: string | null;
|
|
39647
40499
|
delivery_date: string | null;
|
|
40500
|
+
floriday_order_group_key: string | null;
|
|
39648
40501
|
floriday_sales_order_id: string | null;
|
|
39649
40502
|
id: string;
|
|
39650
40503
|
invoice_due_at: string | null;
|
|
@@ -39672,6 +40525,7 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
39672
40525
|
customer_name?: string;
|
|
39673
40526
|
deleted_at?: string | null;
|
|
39674
40527
|
delivery_date?: string | null;
|
|
40528
|
+
floriday_order_group_key?: string | null;
|
|
39675
40529
|
floriday_sales_order_id?: string | null;
|
|
39676
40530
|
id?: string;
|
|
39677
40531
|
invoice_due_at?: string | null;
|
|
@@ -39699,6 +40553,7 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
39699
40553
|
customer_name?: string;
|
|
39700
40554
|
deleted_at?: string | null;
|
|
39701
40555
|
delivery_date?: string | null;
|
|
40556
|
+
floriday_order_group_key?: string | null;
|
|
39702
40557
|
floriday_sales_order_id?: string | null;
|
|
39703
40558
|
id?: string;
|
|
39704
40559
|
invoice_due_at?: string | null;
|
|
@@ -49362,6 +50217,12 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
49362
50217
|
};
|
|
49363
50218
|
Returns: string;
|
|
49364
50219
|
};
|
|
50220
|
+
logistics_cart_checkin_at: {
|
|
50221
|
+
Args: {
|
|
50222
|
+
p_cart_id: string;
|
|
50223
|
+
};
|
|
50224
|
+
Returns: string;
|
|
50225
|
+
};
|
|
49365
50226
|
logistics_cart_handled: {
|
|
49366
50227
|
Args: {
|
|
49367
50228
|
p_cart_index: number;
|
|
@@ -49395,10 +50256,22 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
49395
50256
|
task_status: string;
|
|
49396
50257
|
}[];
|
|
49397
50258
|
};
|
|
50259
|
+
logistics_cart_is_full: {
|
|
50260
|
+
Args: {
|
|
50261
|
+
p_cart_id: string;
|
|
50262
|
+
};
|
|
50263
|
+
Returns: boolean;
|
|
50264
|
+
};
|
|
49398
50265
|
logistics_cart_layout_method: {
|
|
49399
50266
|
Args: never;
|
|
49400
50267
|
Returns: import("../integrations/supabase/types").Json;
|
|
49401
50268
|
};
|
|
50269
|
+
logistics_cart_order_refs: {
|
|
50270
|
+
Args: {
|
|
50271
|
+
p_cart_id: string;
|
|
50272
|
+
};
|
|
50273
|
+
Returns: string[];
|
|
50274
|
+
};
|
|
49402
50275
|
logistics_cart_plan_overview: {
|
|
49403
50276
|
Args: {
|
|
49404
50277
|
p_days?: number;
|
|
@@ -49418,6 +50291,18 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
49418
50291
|
};
|
|
49419
50292
|
Returns: import("../integrations/supabase/types").Json;
|
|
49420
50293
|
};
|
|
50294
|
+
logistics_cart_release_reason: {
|
|
50295
|
+
Args: {
|
|
50296
|
+
p_cart_id: string;
|
|
50297
|
+
};
|
|
50298
|
+
Returns: string;
|
|
50299
|
+
};
|
|
50300
|
+
logistics_cart_released: {
|
|
50301
|
+
Args: {
|
|
50302
|
+
p_cart_id: string;
|
|
50303
|
+
};
|
|
50304
|
+
Returns: boolean;
|
|
50305
|
+
};
|
|
49421
50306
|
logistics_cart_seq: {
|
|
49422
50307
|
Args: {
|
|
49423
50308
|
p_order_uuid?: string;
|
|
@@ -49468,6 +50353,10 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
49468
50353
|
unit_ref: string;
|
|
49469
50354
|
}[];
|
|
49470
50355
|
};
|
|
50356
|
+
logistics_carts_per_print: {
|
|
50357
|
+
Args: never;
|
|
50358
|
+
Returns: number;
|
|
50359
|
+
};
|
|
49471
50360
|
logistics_check_order_allowed: {
|
|
49472
50361
|
Args: {
|
|
49473
50362
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -49571,6 +50460,10 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
49571
50460
|
isSetofReturn: false;
|
|
49572
50461
|
};
|
|
49573
50462
|
};
|
|
50463
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
50464
|
+
Args: never;
|
|
50465
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
50466
|
+
};
|
|
49574
50467
|
logistics_complete_task: {
|
|
49575
50468
|
Args: {
|
|
49576
50469
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -49633,6 +50526,12 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
49633
50526
|
station_carts: number;
|
|
49634
50527
|
}[];
|
|
49635
50528
|
};
|
|
50529
|
+
logistics_control_complete_cart: {
|
|
50530
|
+
Args: {
|
|
50531
|
+
p_cart_id: string;
|
|
50532
|
+
};
|
|
50533
|
+
Returns: number;
|
|
50534
|
+
};
|
|
49636
50535
|
logistics_control_scan_approve: {
|
|
49637
50536
|
Args: {
|
|
49638
50537
|
p_allow_reprint?: boolean;
|
|
@@ -49712,6 +50611,15 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
49712
50611
|
Args: never;
|
|
49713
50612
|
Returns: import("../integrations/supabase/types").Json;
|
|
49714
50613
|
};
|
|
50614
|
+
logistics_day_windows: {
|
|
50615
|
+
Args: {
|
|
50616
|
+
p_day: string;
|
|
50617
|
+
};
|
|
50618
|
+
Returns: {
|
|
50619
|
+
win_end: string;
|
|
50620
|
+
win_start: string;
|
|
50621
|
+
}[];
|
|
50622
|
+
};
|
|
49715
50623
|
logistics_delay_customer_email: {
|
|
49716
50624
|
Args: {
|
|
49717
50625
|
p_customer: string;
|
|
@@ -49779,6 +50687,17 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
49779
50687
|
};
|
|
49780
50688
|
Returns: import("../integrations/supabase/types").Json;
|
|
49781
50689
|
};
|
|
50690
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
50691
|
+
Args: {
|
|
50692
|
+
_cart_id: string;
|
|
50693
|
+
_is_herprint: boolean;
|
|
50694
|
+
_printer_id: string;
|
|
50695
|
+
_queue_item_id: string;
|
|
50696
|
+
_session_id: string;
|
|
50697
|
+
_slip_job_id: string;
|
|
50698
|
+
};
|
|
50699
|
+
Returns: string;
|
|
50700
|
+
};
|
|
49782
50701
|
logistics_enqueue_sticker_with_slip: {
|
|
49783
50702
|
Args: {
|
|
49784
50703
|
_cart_id: string;
|
|
@@ -49796,6 +50715,14 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
49796
50715
|
};
|
|
49797
50716
|
Returns: string;
|
|
49798
50717
|
};
|
|
50718
|
+
logistics_ensure_pick_data: {
|
|
50719
|
+
Args: {
|
|
50720
|
+
p_event_id?: string;
|
|
50721
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
50722
|
+
p_ref: string;
|
|
50723
|
+
};
|
|
50724
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
50725
|
+
};
|
|
49799
50726
|
logistics_fail_task: {
|
|
49800
50727
|
Args: {
|
|
49801
50728
|
p_error: string;
|
|
@@ -49917,6 +50844,32 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
49917
50844
|
};
|
|
49918
50845
|
Returns: string;
|
|
49919
50846
|
};
|
|
50847
|
+
logistics_floriday_gate_status: {
|
|
50848
|
+
Args: never;
|
|
50849
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
50850
|
+
};
|
|
50851
|
+
logistics_floriday_log_refusal: {
|
|
50852
|
+
Args: {
|
|
50853
|
+
_action?: string;
|
|
50854
|
+
_module?: string;
|
|
50855
|
+
_order_ref: string;
|
|
50856
|
+
_reason: string;
|
|
50857
|
+
_shell?: string;
|
|
50858
|
+
};
|
|
50859
|
+
Returns: undefined;
|
|
50860
|
+
};
|
|
50861
|
+
logistics_floriday_log_send: {
|
|
50862
|
+
Args: {
|
|
50863
|
+
_action: string;
|
|
50864
|
+
_detail?: string;
|
|
50865
|
+
_http_status?: number;
|
|
50866
|
+
_module?: string;
|
|
50867
|
+
_ok: boolean;
|
|
50868
|
+
_order_ref: string;
|
|
50869
|
+
_shell?: string;
|
|
50870
|
+
};
|
|
50871
|
+
Returns: undefined;
|
|
50872
|
+
};
|
|
49920
50873
|
logistics_floriday_order_approved: {
|
|
49921
50874
|
Args: {
|
|
49922
50875
|
_order_ref: string;
|
|
@@ -49941,6 +50894,16 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
49941
50894
|
Args: never;
|
|
49942
50895
|
Returns: boolean;
|
|
49943
50896
|
};
|
|
50897
|
+
logistics_floriday_stock_updates_enabled: {
|
|
50898
|
+
Args: never;
|
|
50899
|
+
Returns: boolean;
|
|
50900
|
+
};
|
|
50901
|
+
logistics_floriday_write_allowed: {
|
|
50902
|
+
Args: {
|
|
50903
|
+
_action: string;
|
|
50904
|
+
};
|
|
50905
|
+
Returns: boolean;
|
|
50906
|
+
};
|
|
49944
50907
|
logistics_fulfill_barcode_requests: {
|
|
49945
50908
|
Args: {
|
|
49946
50909
|
p_limit?: number;
|
|
@@ -49983,6 +50946,12 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
49983
50946
|
};
|
|
49984
50947
|
Returns: number;
|
|
49985
50948
|
};
|
|
50949
|
+
logistics_merge_partial_carts: {
|
|
50950
|
+
Args: {
|
|
50951
|
+
p_limit?: number;
|
|
50952
|
+
};
|
|
50953
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
50954
|
+
};
|
|
49986
50955
|
logistics_next_workday_date: {
|
|
49987
50956
|
Args: {
|
|
49988
50957
|
p_date: string;
|
|
@@ -50009,6 +50978,10 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
50009
50978
|
};
|
|
50010
50979
|
Returns: string;
|
|
50011
50980
|
};
|
|
50981
|
+
logistics_opening_timezone: {
|
|
50982
|
+
Args: never;
|
|
50983
|
+
Returns: string;
|
|
50984
|
+
};
|
|
50012
50985
|
logistics_order_cart_count: {
|
|
50013
50986
|
Args: {
|
|
50014
50987
|
p_order_ref: string;
|
|
@@ -50093,6 +51066,10 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
50093
51066
|
Args: never;
|
|
50094
51067
|
Returns: import("../integrations/supabase/types").Json;
|
|
50095
51068
|
};
|
|
51069
|
+
logistics_pick_partial_mode: {
|
|
51070
|
+
Args: never;
|
|
51071
|
+
Returns: string;
|
|
51072
|
+
};
|
|
50096
51073
|
logistics_pick_start_estimate: {
|
|
50097
51074
|
Args: {
|
|
50098
51075
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -50204,6 +51181,12 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
50204
51181
|
};
|
|
50205
51182
|
Returns: number;
|
|
50206
51183
|
};
|
|
51184
|
+
logistics_prepare_pick_documents: {
|
|
51185
|
+
Args: {
|
|
51186
|
+
p_limit?: number;
|
|
51187
|
+
};
|
|
51188
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51189
|
+
};
|
|
50207
51190
|
logistics_prune_buffer_member_queue: {
|
|
50208
51191
|
Args: never;
|
|
50209
51192
|
Returns: number;
|
|
@@ -50244,6 +51227,12 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
50244
51227
|
Args: never;
|
|
50245
51228
|
Returns: import("../integrations/supabase/types").Json;
|
|
50246
51229
|
};
|
|
51230
|
+
logistics_refresh_pick_queue_status: {
|
|
51231
|
+
Args: {
|
|
51232
|
+
p_ref: string;
|
|
51233
|
+
};
|
|
51234
|
+
Returns: number;
|
|
51235
|
+
};
|
|
50247
51236
|
logistics_refresh_pickup_moments: {
|
|
50248
51237
|
Args: {
|
|
50249
51238
|
p_weeks?: number;
|
|
@@ -50256,6 +51245,12 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
50256
51245
|
};
|
|
50257
51246
|
Returns: import("../integrations/supabase/types").Json;
|
|
50258
51247
|
};
|
|
51248
|
+
logistics_replan_all_force: {
|
|
51249
|
+
Args: {
|
|
51250
|
+
p_reason?: string;
|
|
51251
|
+
};
|
|
51252
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51253
|
+
};
|
|
50259
51254
|
logistics_report_delay: {
|
|
50260
51255
|
Args: {
|
|
50261
51256
|
p_expected_date?: string;
|
|
@@ -50400,6 +51395,10 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
50400
51395
|
};
|
|
50401
51396
|
Returns: string;
|
|
50402
51397
|
};
|
|
51398
|
+
logistics_shipping_note_follows_slip: {
|
|
51399
|
+
Args: never;
|
|
51400
|
+
Returns: boolean;
|
|
51401
|
+
};
|
|
50403
51402
|
logistics_shipping_note_from_barcode: {
|
|
50404
51403
|
Args: {
|
|
50405
51404
|
p_allow_reprint?: boolean;
|
|
@@ -50408,10 +51407,76 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
50408
51407
|
};
|
|
50409
51408
|
Returns: import("../integrations/supabase/types").Json;
|
|
50410
51409
|
};
|
|
51410
|
+
logistics_shipping_note_job_for_slip: {
|
|
51411
|
+
Args: {
|
|
51412
|
+
_slip_job_id: string;
|
|
51413
|
+
};
|
|
51414
|
+
Returns: string;
|
|
51415
|
+
};
|
|
51416
|
+
logistics_slip_note_claim: {
|
|
51417
|
+
Args: {
|
|
51418
|
+
_lease_seconds?: number;
|
|
51419
|
+
_limit?: number;
|
|
51420
|
+
};
|
|
51421
|
+
Returns: {
|
|
51422
|
+
attempts: number;
|
|
51423
|
+
batch_key: string | null;
|
|
51424
|
+
cart_id: string | null;
|
|
51425
|
+
created_at: string;
|
|
51426
|
+
error: string | null;
|
|
51427
|
+
error_code: string | null;
|
|
51428
|
+
fulfillment_order_id: string | null;
|
|
51429
|
+
id: string;
|
|
51430
|
+
locked_until: string | null;
|
|
51431
|
+
next_attempt_at: string | null;
|
|
51432
|
+
order_id: string | null;
|
|
51433
|
+
order_number: string | null;
|
|
51434
|
+
print_job_id: string | null;
|
|
51435
|
+
printer_id: string | null;
|
|
51436
|
+
retry_class: string | null;
|
|
51437
|
+
slip_job_id: string;
|
|
51438
|
+
status: string;
|
|
51439
|
+
updated_at: string;
|
|
51440
|
+
}[];
|
|
51441
|
+
SetofOptions: {
|
|
51442
|
+
from: "*";
|
|
51443
|
+
to: "logistics_slip_shipping_note";
|
|
51444
|
+
isOneToOne: false;
|
|
51445
|
+
isSetofReturn: true;
|
|
51446
|
+
};
|
|
51447
|
+
};
|
|
51448
|
+
logistics_slip_note_finish: {
|
|
51449
|
+
Args: {
|
|
51450
|
+
_error?: string;
|
|
51451
|
+
_error_code?: string;
|
|
51452
|
+
_fulfillment_order_id?: string;
|
|
51453
|
+
_id: string;
|
|
51454
|
+
_ok: boolean;
|
|
51455
|
+
_print_job_id?: string;
|
|
51456
|
+
_status?: string;
|
|
51457
|
+
};
|
|
51458
|
+
Returns: undefined;
|
|
51459
|
+
};
|
|
51460
|
+
logistics_slip_note_keep_waiting: {
|
|
51461
|
+
Args: {
|
|
51462
|
+
_class?: string;
|
|
51463
|
+
_id: string;
|
|
51464
|
+
_reason: string;
|
|
51465
|
+
};
|
|
51466
|
+
Returns: undefined;
|
|
51467
|
+
};
|
|
50411
51468
|
logistics_sticker_follows_slip: {
|
|
50412
51469
|
Args: never;
|
|
50413
51470
|
Returns: boolean;
|
|
50414
51471
|
};
|
|
51472
|
+
logistics_subtract_working_minutes: {
|
|
51473
|
+
Args: {
|
|
51474
|
+
p_deadline: string;
|
|
51475
|
+
p_max_workdays?: number;
|
|
51476
|
+
p_minutes: number;
|
|
51477
|
+
};
|
|
51478
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51479
|
+
};
|
|
50415
51480
|
logistics_supersede_stale_tasks: {
|
|
50416
51481
|
Args: {
|
|
50417
51482
|
p_keep: string[];
|
|
@@ -50448,6 +51513,12 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
50448
51513
|
Args: never;
|
|
50449
51514
|
Returns: string;
|
|
50450
51515
|
};
|
|
51516
|
+
logistics_timezone_options: {
|
|
51517
|
+
Args: never;
|
|
51518
|
+
Returns: {
|
|
51519
|
+
name: string;
|
|
51520
|
+
}[];
|
|
51521
|
+
};
|
|
50451
51522
|
logistics_upsert_task: {
|
|
50452
51523
|
Args: {
|
|
50453
51524
|
p_buffer_ref: string;
|
|
@@ -50467,6 +51538,16 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
50467
51538
|
};
|
|
50468
51539
|
Returns: string;
|
|
50469
51540
|
};
|
|
51541
|
+
logistics_valid_timezone: {
|
|
51542
|
+
Args: {
|
|
51543
|
+
_tz: string;
|
|
51544
|
+
};
|
|
51545
|
+
Returns: boolean;
|
|
51546
|
+
};
|
|
51547
|
+
logistics_working_hours_status: {
|
|
51548
|
+
Args: never;
|
|
51549
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51550
|
+
};
|
|
50470
51551
|
logistics_write_buffer_layer_positions: {
|
|
50471
51552
|
Args: {
|
|
50472
51553
|
p_buffer_id: string;
|
|
@@ -51912,6 +52993,13 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
51912
52993
|
};
|
|
51913
52994
|
Returns: number;
|
|
51914
52995
|
};
|
|
52996
|
+
schedule_floriday_catalog_prices_sync: {
|
|
52997
|
+
Args: {
|
|
52998
|
+
p_apikey: string;
|
|
52999
|
+
p_url: string;
|
|
53000
|
+
};
|
|
53001
|
+
Returns: number;
|
|
53002
|
+
};
|
|
51915
53003
|
schedule_floriday_clock_presales_sync: {
|
|
51916
53004
|
Args: {
|
|
51917
53005
|
p_apikey: string;
|
|
@@ -52212,6 +53300,10 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
52212
53300
|
};
|
|
52213
53301
|
Returns: undefined;
|
|
52214
53302
|
};
|
|
53303
|
+
sync_floriday_prices_into_price_groups: {
|
|
53304
|
+
Args: never;
|
|
53305
|
+
Returns: number;
|
|
53306
|
+
};
|
|
52215
53307
|
sync_layer_stock: {
|
|
52216
53308
|
Args: {
|
|
52217
53309
|
p_product_id: string;
|
|
@@ -58224,6 +59316,84 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
58224
59316
|
referencedColumns: ["id"];
|
|
58225
59317
|
}];
|
|
58226
59318
|
};
|
|
59319
|
+
floriday_catalog_prices_cache: {
|
|
59320
|
+
Row: {
|
|
59321
|
+
connection_id: string;
|
|
59322
|
+
created_at: string;
|
|
59323
|
+
currency: string;
|
|
59324
|
+
id: string;
|
|
59325
|
+
is_deleted: boolean;
|
|
59326
|
+
price: number | null;
|
|
59327
|
+
price_group_id: string | null;
|
|
59328
|
+
price_group_name: string | null;
|
|
59329
|
+
price_type: string;
|
|
59330
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
59331
|
+
sales_unit: string | null;
|
|
59332
|
+
sequence_number: number;
|
|
59333
|
+
supplier_article_code: string | null;
|
|
59334
|
+
supply_line_id: string;
|
|
59335
|
+
synced_at: string;
|
|
59336
|
+
trade_item_id: string | null;
|
|
59337
|
+
updated_at: string;
|
|
59338
|
+
valid_from: string | null;
|
|
59339
|
+
valid_to: string | null;
|
|
59340
|
+
week: number | null;
|
|
59341
|
+
year: number | null;
|
|
59342
|
+
};
|
|
59343
|
+
Insert: {
|
|
59344
|
+
connection_id: string;
|
|
59345
|
+
created_at?: string;
|
|
59346
|
+
currency?: string;
|
|
59347
|
+
id?: string;
|
|
59348
|
+
is_deleted?: boolean;
|
|
59349
|
+
price?: number | null;
|
|
59350
|
+
price_group_id?: string | null;
|
|
59351
|
+
price_group_name?: string | null;
|
|
59352
|
+
price_type?: string;
|
|
59353
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
59354
|
+
sales_unit?: string | null;
|
|
59355
|
+
sequence_number?: number;
|
|
59356
|
+
supplier_article_code?: string | null;
|
|
59357
|
+
supply_line_id: string;
|
|
59358
|
+
synced_at?: string;
|
|
59359
|
+
trade_item_id?: string | null;
|
|
59360
|
+
updated_at?: string;
|
|
59361
|
+
valid_from?: string | null;
|
|
59362
|
+
valid_to?: string | null;
|
|
59363
|
+
week?: number | null;
|
|
59364
|
+
year?: number | null;
|
|
59365
|
+
};
|
|
59366
|
+
Update: {
|
|
59367
|
+
connection_id?: string;
|
|
59368
|
+
created_at?: string;
|
|
59369
|
+
currency?: string;
|
|
59370
|
+
id?: string;
|
|
59371
|
+
is_deleted?: boolean;
|
|
59372
|
+
price?: number | null;
|
|
59373
|
+
price_group_id?: string | null;
|
|
59374
|
+
price_group_name?: string | null;
|
|
59375
|
+
price_type?: string;
|
|
59376
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
59377
|
+
sales_unit?: string | null;
|
|
59378
|
+
sequence_number?: number;
|
|
59379
|
+
supplier_article_code?: string | null;
|
|
59380
|
+
supply_line_id?: string;
|
|
59381
|
+
synced_at?: string;
|
|
59382
|
+
trade_item_id?: string | null;
|
|
59383
|
+
updated_at?: string;
|
|
59384
|
+
valid_from?: string | null;
|
|
59385
|
+
valid_to?: string | null;
|
|
59386
|
+
week?: number | null;
|
|
59387
|
+
year?: number | null;
|
|
59388
|
+
};
|
|
59389
|
+
Relationships: [{
|
|
59390
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
59391
|
+
columns: ["connection_id"];
|
|
59392
|
+
isOneToOne: false;
|
|
59393
|
+
referencedRelation: "floriday_connections";
|
|
59394
|
+
referencedColumns: ["id"];
|
|
59395
|
+
}];
|
|
59396
|
+
};
|
|
58227
59397
|
floriday_clock_presales_cache: {
|
|
58228
59398
|
Row: {
|
|
58229
59399
|
buyer_organization_id: string | null;
|
|
@@ -62492,22 +63662,31 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
62492
63662
|
};
|
|
62493
63663
|
logistics_floriday_push_refusals: {
|
|
62494
63664
|
Row: {
|
|
63665
|
+
action: string | null;
|
|
62495
63666
|
created_at: string;
|
|
62496
63667
|
id: string;
|
|
62497
63668
|
order_ref: string;
|
|
62498
63669
|
reason: string;
|
|
63670
|
+
source_module: string | null;
|
|
63671
|
+
source_shell: string | null;
|
|
62499
63672
|
};
|
|
62500
63673
|
Insert: {
|
|
63674
|
+
action?: string | null;
|
|
62501
63675
|
created_at?: string;
|
|
62502
63676
|
id?: string;
|
|
62503
63677
|
order_ref: string;
|
|
62504
63678
|
reason: string;
|
|
63679
|
+
source_module?: string | null;
|
|
63680
|
+
source_shell?: string | null;
|
|
62505
63681
|
};
|
|
62506
63682
|
Update: {
|
|
63683
|
+
action?: string | null;
|
|
62507
63684
|
created_at?: string;
|
|
62508
63685
|
id?: string;
|
|
62509
63686
|
order_ref?: string;
|
|
62510
63687
|
reason?: string;
|
|
63688
|
+
source_module?: string | null;
|
|
63689
|
+
source_shell?: string | null;
|
|
62511
63690
|
};
|
|
62512
63691
|
Relationships: [];
|
|
62513
63692
|
};
|
|
@@ -62586,6 +63765,42 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
62586
63765
|
};
|
|
62587
63766
|
Relationships: [];
|
|
62588
63767
|
};
|
|
63768
|
+
logistics_floriday_status_sends: {
|
|
63769
|
+
Row: {
|
|
63770
|
+
action: string;
|
|
63771
|
+
created_at: string;
|
|
63772
|
+
detail: string | null;
|
|
63773
|
+
http_status: number | null;
|
|
63774
|
+
id: string;
|
|
63775
|
+
ok: boolean;
|
|
63776
|
+
order_ref: string;
|
|
63777
|
+
source_module: string | null;
|
|
63778
|
+
source_shell: string | null;
|
|
63779
|
+
};
|
|
63780
|
+
Insert: {
|
|
63781
|
+
action: string;
|
|
63782
|
+
created_at?: string;
|
|
63783
|
+
detail?: string | null;
|
|
63784
|
+
http_status?: number | null;
|
|
63785
|
+
id?: string;
|
|
63786
|
+
ok?: boolean;
|
|
63787
|
+
order_ref: string;
|
|
63788
|
+
source_module?: string | null;
|
|
63789
|
+
source_shell?: string | null;
|
|
63790
|
+
};
|
|
63791
|
+
Update: {
|
|
63792
|
+
action?: string;
|
|
63793
|
+
created_at?: string;
|
|
63794
|
+
detail?: string | null;
|
|
63795
|
+
http_status?: number | null;
|
|
63796
|
+
id?: string;
|
|
63797
|
+
ok?: boolean;
|
|
63798
|
+
order_ref?: string;
|
|
63799
|
+
source_module?: string | null;
|
|
63800
|
+
source_shell?: string | null;
|
|
63801
|
+
};
|
|
63802
|
+
Relationships: [];
|
|
63803
|
+
};
|
|
62589
63804
|
logistics_formulas: {
|
|
62590
63805
|
Row: {
|
|
62591
63806
|
created_at: string;
|
|
@@ -62658,6 +63873,108 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
62658
63873
|
};
|
|
62659
63874
|
Relationships: [];
|
|
62660
63875
|
};
|
|
63876
|
+
logistics_opening_exceptions: {
|
|
63877
|
+
Row: {
|
|
63878
|
+
closes: string | null;
|
|
63879
|
+
created_at: string;
|
|
63880
|
+
day: string;
|
|
63881
|
+
id: string;
|
|
63882
|
+
is_closed: boolean;
|
|
63883
|
+
note: string | null;
|
|
63884
|
+
opens: string | null;
|
|
63885
|
+
};
|
|
63886
|
+
Insert: {
|
|
63887
|
+
closes?: string | null;
|
|
63888
|
+
created_at?: string;
|
|
63889
|
+
day: string;
|
|
63890
|
+
id?: string;
|
|
63891
|
+
is_closed?: boolean;
|
|
63892
|
+
note?: string | null;
|
|
63893
|
+
opens?: string | null;
|
|
63894
|
+
};
|
|
63895
|
+
Update: {
|
|
63896
|
+
closes?: string | null;
|
|
63897
|
+
created_at?: string;
|
|
63898
|
+
day?: string;
|
|
63899
|
+
id?: string;
|
|
63900
|
+
is_closed?: boolean;
|
|
63901
|
+
note?: string | null;
|
|
63902
|
+
opens?: string | null;
|
|
63903
|
+
};
|
|
63904
|
+
Relationships: [];
|
|
63905
|
+
};
|
|
63906
|
+
logistics_opening_hours: {
|
|
63907
|
+
Row: {
|
|
63908
|
+
closes: string;
|
|
63909
|
+
created_at: string;
|
|
63910
|
+
id: string;
|
|
63911
|
+
is_active: boolean;
|
|
63912
|
+
note: string | null;
|
|
63913
|
+
opens: string;
|
|
63914
|
+
weekday: number;
|
|
63915
|
+
};
|
|
63916
|
+
Insert: {
|
|
63917
|
+
closes: string;
|
|
63918
|
+
created_at?: string;
|
|
63919
|
+
id?: string;
|
|
63920
|
+
is_active?: boolean;
|
|
63921
|
+
note?: string | null;
|
|
63922
|
+
opens: string;
|
|
63923
|
+
weekday: number;
|
|
63924
|
+
};
|
|
63925
|
+
Update: {
|
|
63926
|
+
closes?: string;
|
|
63927
|
+
created_at?: string;
|
|
63928
|
+
id?: string;
|
|
63929
|
+
is_active?: boolean;
|
|
63930
|
+
note?: string | null;
|
|
63931
|
+
opens?: string;
|
|
63932
|
+
weekday?: number;
|
|
63933
|
+
};
|
|
63934
|
+
Relationships: [];
|
|
63935
|
+
};
|
|
63936
|
+
logistics_pick_data_requests: {
|
|
63937
|
+
Row: {
|
|
63938
|
+
actions: import("../integrations/supabase/types").Json;
|
|
63939
|
+
created_at: string;
|
|
63940
|
+
event_id: string | null;
|
|
63941
|
+
finished_at: string | null;
|
|
63942
|
+
id: string;
|
|
63943
|
+
missing: import("../integrations/supabase/types").Json;
|
|
63944
|
+
order_ref: string;
|
|
63945
|
+
reason: string | null;
|
|
63946
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
63947
|
+
status: string;
|
|
63948
|
+
unit_ref: string | null;
|
|
63949
|
+
};
|
|
63950
|
+
Insert: {
|
|
63951
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
63952
|
+
created_at?: string;
|
|
63953
|
+
event_id?: string | null;
|
|
63954
|
+
finished_at?: string | null;
|
|
63955
|
+
id?: string;
|
|
63956
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
63957
|
+
order_ref: string;
|
|
63958
|
+
reason?: string | null;
|
|
63959
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
63960
|
+
status?: string;
|
|
63961
|
+
unit_ref?: string | null;
|
|
63962
|
+
};
|
|
63963
|
+
Update: {
|
|
63964
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
63965
|
+
created_at?: string;
|
|
63966
|
+
event_id?: string | null;
|
|
63967
|
+
finished_at?: string | null;
|
|
63968
|
+
id?: string;
|
|
63969
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
63970
|
+
order_ref?: string;
|
|
63971
|
+
reason?: string | null;
|
|
63972
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
63973
|
+
status?: string;
|
|
63974
|
+
unit_ref?: string | null;
|
|
63975
|
+
};
|
|
63976
|
+
Relationships: [];
|
|
63977
|
+
};
|
|
62661
63978
|
logistics_pickup_moments: {
|
|
62662
63979
|
Row: {
|
|
62663
63980
|
carrier_ref: string | null;
|
|
@@ -63117,6 +64434,69 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
63117
64434
|
};
|
|
63118
64435
|
Relationships: [];
|
|
63119
64436
|
};
|
|
64437
|
+
logistics_slip_shipping_note: {
|
|
64438
|
+
Row: {
|
|
64439
|
+
attempts: number;
|
|
64440
|
+
batch_key: string | null;
|
|
64441
|
+
cart_id: string | null;
|
|
64442
|
+
created_at: string;
|
|
64443
|
+
error: string | null;
|
|
64444
|
+
error_code: string | null;
|
|
64445
|
+
fulfillment_order_id: string | null;
|
|
64446
|
+
id: string;
|
|
64447
|
+
locked_until: string | null;
|
|
64448
|
+
next_attempt_at: string | null;
|
|
64449
|
+
order_id: string | null;
|
|
64450
|
+
order_number: string | null;
|
|
64451
|
+
print_job_id: string | null;
|
|
64452
|
+
printer_id: string | null;
|
|
64453
|
+
retry_class: string | null;
|
|
64454
|
+
slip_job_id: string;
|
|
64455
|
+
status: string;
|
|
64456
|
+
updated_at: string;
|
|
64457
|
+
};
|
|
64458
|
+
Insert: {
|
|
64459
|
+
attempts?: number;
|
|
64460
|
+
batch_key?: string | null;
|
|
64461
|
+
cart_id?: string | null;
|
|
64462
|
+
created_at?: string;
|
|
64463
|
+
error?: string | null;
|
|
64464
|
+
error_code?: string | null;
|
|
64465
|
+
fulfillment_order_id?: string | null;
|
|
64466
|
+
id?: string;
|
|
64467
|
+
locked_until?: string | null;
|
|
64468
|
+
next_attempt_at?: string | null;
|
|
64469
|
+
order_id?: string | null;
|
|
64470
|
+
order_number?: string | null;
|
|
64471
|
+
print_job_id?: string | null;
|
|
64472
|
+
printer_id?: string | null;
|
|
64473
|
+
retry_class?: string | null;
|
|
64474
|
+
slip_job_id: string;
|
|
64475
|
+
status?: string;
|
|
64476
|
+
updated_at?: string;
|
|
64477
|
+
};
|
|
64478
|
+
Update: {
|
|
64479
|
+
attempts?: number;
|
|
64480
|
+
batch_key?: string | null;
|
|
64481
|
+
cart_id?: string | null;
|
|
64482
|
+
created_at?: string;
|
|
64483
|
+
error?: string | null;
|
|
64484
|
+
error_code?: string | null;
|
|
64485
|
+
fulfillment_order_id?: string | null;
|
|
64486
|
+
id?: string;
|
|
64487
|
+
locked_until?: string | null;
|
|
64488
|
+
next_attempt_at?: string | null;
|
|
64489
|
+
order_id?: string | null;
|
|
64490
|
+
order_number?: string | null;
|
|
64491
|
+
print_job_id?: string | null;
|
|
64492
|
+
printer_id?: string | null;
|
|
64493
|
+
retry_class?: string | null;
|
|
64494
|
+
slip_job_id?: string;
|
|
64495
|
+
status?: string;
|
|
64496
|
+
updated_at?: string;
|
|
64497
|
+
};
|
|
64498
|
+
Relationships: [];
|
|
64499
|
+
};
|
|
63120
64500
|
logistics_staff_planning: {
|
|
63121
64501
|
Row: {
|
|
63122
64502
|
created_at: string;
|
|
@@ -63450,6 +64830,24 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
63450
64830
|
};
|
|
63451
64831
|
Relationships: [];
|
|
63452
64832
|
};
|
|
64833
|
+
logistics_time_settings: {
|
|
64834
|
+
Row: {
|
|
64835
|
+
id: boolean;
|
|
64836
|
+
timezone: string;
|
|
64837
|
+
updated_at: string;
|
|
64838
|
+
};
|
|
64839
|
+
Insert: {
|
|
64840
|
+
id?: boolean;
|
|
64841
|
+
timezone: string;
|
|
64842
|
+
updated_at?: string;
|
|
64843
|
+
};
|
|
64844
|
+
Update: {
|
|
64845
|
+
id?: boolean;
|
|
64846
|
+
timezone?: string;
|
|
64847
|
+
updated_at?: string;
|
|
64848
|
+
};
|
|
64849
|
+
Relationships: [];
|
|
64850
|
+
};
|
|
63453
64851
|
logistics_variables: {
|
|
63454
64852
|
Row: {
|
|
63455
64853
|
created_at: string;
|
|
@@ -65840,6 +67238,7 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
65840
67238
|
customer_name: string;
|
|
65841
67239
|
deleted_at: string | null;
|
|
65842
67240
|
delivery_date: string | null;
|
|
67241
|
+
floriday_order_group_key: string | null;
|
|
65843
67242
|
floriday_sales_order_id: string | null;
|
|
65844
67243
|
id: string;
|
|
65845
67244
|
invoice_due_at: string | null;
|
|
@@ -65867,6 +67266,7 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
65867
67266
|
customer_name?: string;
|
|
65868
67267
|
deleted_at?: string | null;
|
|
65869
67268
|
delivery_date?: string | null;
|
|
67269
|
+
floriday_order_group_key?: string | null;
|
|
65870
67270
|
floriday_sales_order_id?: string | null;
|
|
65871
67271
|
id?: string;
|
|
65872
67272
|
invoice_due_at?: string | null;
|
|
@@ -65894,6 +67294,7 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
65894
67294
|
customer_name?: string;
|
|
65895
67295
|
deleted_at?: string | null;
|
|
65896
67296
|
delivery_date?: string | null;
|
|
67297
|
+
floriday_order_group_key?: string | null;
|
|
65897
67298
|
floriday_sales_order_id?: string | null;
|
|
65898
67299
|
id?: string;
|
|
65899
67300
|
invoice_due_at?: string | null;
|
|
@@ -75557,6 +76958,12 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
75557
76958
|
};
|
|
75558
76959
|
Returns: string;
|
|
75559
76960
|
};
|
|
76961
|
+
logistics_cart_checkin_at: {
|
|
76962
|
+
Args: {
|
|
76963
|
+
p_cart_id: string;
|
|
76964
|
+
};
|
|
76965
|
+
Returns: string;
|
|
76966
|
+
};
|
|
75560
76967
|
logistics_cart_handled: {
|
|
75561
76968
|
Args: {
|
|
75562
76969
|
p_cart_index: number;
|
|
@@ -75590,10 +76997,22 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
75590
76997
|
task_status: string;
|
|
75591
76998
|
}[];
|
|
75592
76999
|
};
|
|
77000
|
+
logistics_cart_is_full: {
|
|
77001
|
+
Args: {
|
|
77002
|
+
p_cart_id: string;
|
|
77003
|
+
};
|
|
77004
|
+
Returns: boolean;
|
|
77005
|
+
};
|
|
75593
77006
|
logistics_cart_layout_method: {
|
|
75594
77007
|
Args: never;
|
|
75595
77008
|
Returns: import("../integrations/supabase/types").Json;
|
|
75596
77009
|
};
|
|
77010
|
+
logistics_cart_order_refs: {
|
|
77011
|
+
Args: {
|
|
77012
|
+
p_cart_id: string;
|
|
77013
|
+
};
|
|
77014
|
+
Returns: string[];
|
|
77015
|
+
};
|
|
75597
77016
|
logistics_cart_plan_overview: {
|
|
75598
77017
|
Args: {
|
|
75599
77018
|
p_days?: number;
|
|
@@ -75613,6 +77032,18 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
75613
77032
|
};
|
|
75614
77033
|
Returns: import("../integrations/supabase/types").Json;
|
|
75615
77034
|
};
|
|
77035
|
+
logistics_cart_release_reason: {
|
|
77036
|
+
Args: {
|
|
77037
|
+
p_cart_id: string;
|
|
77038
|
+
};
|
|
77039
|
+
Returns: string;
|
|
77040
|
+
};
|
|
77041
|
+
logistics_cart_released: {
|
|
77042
|
+
Args: {
|
|
77043
|
+
p_cart_id: string;
|
|
77044
|
+
};
|
|
77045
|
+
Returns: boolean;
|
|
77046
|
+
};
|
|
75616
77047
|
logistics_cart_seq: {
|
|
75617
77048
|
Args: {
|
|
75618
77049
|
p_order_uuid?: string;
|
|
@@ -75663,6 +77094,10 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
75663
77094
|
unit_ref: string;
|
|
75664
77095
|
}[];
|
|
75665
77096
|
};
|
|
77097
|
+
logistics_carts_per_print: {
|
|
77098
|
+
Args: never;
|
|
77099
|
+
Returns: number;
|
|
77100
|
+
};
|
|
75666
77101
|
logistics_check_order_allowed: {
|
|
75667
77102
|
Args: {
|
|
75668
77103
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -75766,6 +77201,10 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
75766
77201
|
isSetofReturn: false;
|
|
75767
77202
|
};
|
|
75768
77203
|
};
|
|
77204
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
77205
|
+
Args: never;
|
|
77206
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
77207
|
+
};
|
|
75769
77208
|
logistics_complete_task: {
|
|
75770
77209
|
Args: {
|
|
75771
77210
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -75828,6 +77267,12 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
75828
77267
|
station_carts: number;
|
|
75829
77268
|
}[];
|
|
75830
77269
|
};
|
|
77270
|
+
logistics_control_complete_cart: {
|
|
77271
|
+
Args: {
|
|
77272
|
+
p_cart_id: string;
|
|
77273
|
+
};
|
|
77274
|
+
Returns: number;
|
|
77275
|
+
};
|
|
75831
77276
|
logistics_control_scan_approve: {
|
|
75832
77277
|
Args: {
|
|
75833
77278
|
p_allow_reprint?: boolean;
|
|
@@ -75907,6 +77352,15 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
75907
77352
|
Args: never;
|
|
75908
77353
|
Returns: import("../integrations/supabase/types").Json;
|
|
75909
77354
|
};
|
|
77355
|
+
logistics_day_windows: {
|
|
77356
|
+
Args: {
|
|
77357
|
+
p_day: string;
|
|
77358
|
+
};
|
|
77359
|
+
Returns: {
|
|
77360
|
+
win_end: string;
|
|
77361
|
+
win_start: string;
|
|
77362
|
+
}[];
|
|
77363
|
+
};
|
|
75910
77364
|
logistics_delay_customer_email: {
|
|
75911
77365
|
Args: {
|
|
75912
77366
|
p_customer: string;
|
|
@@ -75974,6 +77428,17 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
75974
77428
|
};
|
|
75975
77429
|
Returns: import("../integrations/supabase/types").Json;
|
|
75976
77430
|
};
|
|
77431
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
77432
|
+
Args: {
|
|
77433
|
+
_cart_id: string;
|
|
77434
|
+
_is_herprint: boolean;
|
|
77435
|
+
_printer_id: string;
|
|
77436
|
+
_queue_item_id: string;
|
|
77437
|
+
_session_id: string;
|
|
77438
|
+
_slip_job_id: string;
|
|
77439
|
+
};
|
|
77440
|
+
Returns: string;
|
|
77441
|
+
};
|
|
75977
77442
|
logistics_enqueue_sticker_with_slip: {
|
|
75978
77443
|
Args: {
|
|
75979
77444
|
_cart_id: string;
|
|
@@ -75991,6 +77456,14 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
75991
77456
|
};
|
|
75992
77457
|
Returns: string;
|
|
75993
77458
|
};
|
|
77459
|
+
logistics_ensure_pick_data: {
|
|
77460
|
+
Args: {
|
|
77461
|
+
p_event_id?: string;
|
|
77462
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
77463
|
+
p_ref: string;
|
|
77464
|
+
};
|
|
77465
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
77466
|
+
};
|
|
75994
77467
|
logistics_fail_task: {
|
|
75995
77468
|
Args: {
|
|
75996
77469
|
p_error: string;
|
|
@@ -76112,6 +77585,32 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
76112
77585
|
};
|
|
76113
77586
|
Returns: string;
|
|
76114
77587
|
};
|
|
77588
|
+
logistics_floriday_gate_status: {
|
|
77589
|
+
Args: never;
|
|
77590
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
77591
|
+
};
|
|
77592
|
+
logistics_floriday_log_refusal: {
|
|
77593
|
+
Args: {
|
|
77594
|
+
_action?: string;
|
|
77595
|
+
_module?: string;
|
|
77596
|
+
_order_ref: string;
|
|
77597
|
+
_reason: string;
|
|
77598
|
+
_shell?: string;
|
|
77599
|
+
};
|
|
77600
|
+
Returns: undefined;
|
|
77601
|
+
};
|
|
77602
|
+
logistics_floriday_log_send: {
|
|
77603
|
+
Args: {
|
|
77604
|
+
_action: string;
|
|
77605
|
+
_detail?: string;
|
|
77606
|
+
_http_status?: number;
|
|
77607
|
+
_module?: string;
|
|
77608
|
+
_ok: boolean;
|
|
77609
|
+
_order_ref: string;
|
|
77610
|
+
_shell?: string;
|
|
77611
|
+
};
|
|
77612
|
+
Returns: undefined;
|
|
77613
|
+
};
|
|
76115
77614
|
logistics_floriday_order_approved: {
|
|
76116
77615
|
Args: {
|
|
76117
77616
|
_order_ref: string;
|
|
@@ -76136,6 +77635,16 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
76136
77635
|
Args: never;
|
|
76137
77636
|
Returns: boolean;
|
|
76138
77637
|
};
|
|
77638
|
+
logistics_floriday_stock_updates_enabled: {
|
|
77639
|
+
Args: never;
|
|
77640
|
+
Returns: boolean;
|
|
77641
|
+
};
|
|
77642
|
+
logistics_floriday_write_allowed: {
|
|
77643
|
+
Args: {
|
|
77644
|
+
_action: string;
|
|
77645
|
+
};
|
|
77646
|
+
Returns: boolean;
|
|
77647
|
+
};
|
|
76139
77648
|
logistics_fulfill_barcode_requests: {
|
|
76140
77649
|
Args: {
|
|
76141
77650
|
p_limit?: number;
|
|
@@ -76178,6 +77687,12 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
76178
77687
|
};
|
|
76179
77688
|
Returns: number;
|
|
76180
77689
|
};
|
|
77690
|
+
logistics_merge_partial_carts: {
|
|
77691
|
+
Args: {
|
|
77692
|
+
p_limit?: number;
|
|
77693
|
+
};
|
|
77694
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
77695
|
+
};
|
|
76181
77696
|
logistics_next_workday_date: {
|
|
76182
77697
|
Args: {
|
|
76183
77698
|
p_date: string;
|
|
@@ -76204,6 +77719,10 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
76204
77719
|
};
|
|
76205
77720
|
Returns: string;
|
|
76206
77721
|
};
|
|
77722
|
+
logistics_opening_timezone: {
|
|
77723
|
+
Args: never;
|
|
77724
|
+
Returns: string;
|
|
77725
|
+
};
|
|
76207
77726
|
logistics_order_cart_count: {
|
|
76208
77727
|
Args: {
|
|
76209
77728
|
p_order_ref: string;
|
|
@@ -76288,6 +77807,10 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
76288
77807
|
Args: never;
|
|
76289
77808
|
Returns: import("../integrations/supabase/types").Json;
|
|
76290
77809
|
};
|
|
77810
|
+
logistics_pick_partial_mode: {
|
|
77811
|
+
Args: never;
|
|
77812
|
+
Returns: string;
|
|
77813
|
+
};
|
|
76291
77814
|
logistics_pick_start_estimate: {
|
|
76292
77815
|
Args: {
|
|
76293
77816
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -76399,6 +77922,12 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
76399
77922
|
};
|
|
76400
77923
|
Returns: number;
|
|
76401
77924
|
};
|
|
77925
|
+
logistics_prepare_pick_documents: {
|
|
77926
|
+
Args: {
|
|
77927
|
+
p_limit?: number;
|
|
77928
|
+
};
|
|
77929
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
77930
|
+
};
|
|
76402
77931
|
logistics_prune_buffer_member_queue: {
|
|
76403
77932
|
Args: never;
|
|
76404
77933
|
Returns: number;
|
|
@@ -76439,6 +77968,12 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
76439
77968
|
Args: never;
|
|
76440
77969
|
Returns: import("../integrations/supabase/types").Json;
|
|
76441
77970
|
};
|
|
77971
|
+
logistics_refresh_pick_queue_status: {
|
|
77972
|
+
Args: {
|
|
77973
|
+
p_ref: string;
|
|
77974
|
+
};
|
|
77975
|
+
Returns: number;
|
|
77976
|
+
};
|
|
76442
77977
|
logistics_refresh_pickup_moments: {
|
|
76443
77978
|
Args: {
|
|
76444
77979
|
p_weeks?: number;
|
|
@@ -76451,6 +77986,12 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
76451
77986
|
};
|
|
76452
77987
|
Returns: import("../integrations/supabase/types").Json;
|
|
76453
77988
|
};
|
|
77989
|
+
logistics_replan_all_force: {
|
|
77990
|
+
Args: {
|
|
77991
|
+
p_reason?: string;
|
|
77992
|
+
};
|
|
77993
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
77994
|
+
};
|
|
76454
77995
|
logistics_report_delay: {
|
|
76455
77996
|
Args: {
|
|
76456
77997
|
p_expected_date?: string;
|
|
@@ -76595,6 +78136,10 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
76595
78136
|
};
|
|
76596
78137
|
Returns: string;
|
|
76597
78138
|
};
|
|
78139
|
+
logistics_shipping_note_follows_slip: {
|
|
78140
|
+
Args: never;
|
|
78141
|
+
Returns: boolean;
|
|
78142
|
+
};
|
|
76598
78143
|
logistics_shipping_note_from_barcode: {
|
|
76599
78144
|
Args: {
|
|
76600
78145
|
p_allow_reprint?: boolean;
|
|
@@ -76603,10 +78148,76 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
76603
78148
|
};
|
|
76604
78149
|
Returns: import("../integrations/supabase/types").Json;
|
|
76605
78150
|
};
|
|
78151
|
+
logistics_shipping_note_job_for_slip: {
|
|
78152
|
+
Args: {
|
|
78153
|
+
_slip_job_id: string;
|
|
78154
|
+
};
|
|
78155
|
+
Returns: string;
|
|
78156
|
+
};
|
|
78157
|
+
logistics_slip_note_claim: {
|
|
78158
|
+
Args: {
|
|
78159
|
+
_lease_seconds?: number;
|
|
78160
|
+
_limit?: number;
|
|
78161
|
+
};
|
|
78162
|
+
Returns: {
|
|
78163
|
+
attempts: number;
|
|
78164
|
+
batch_key: string | null;
|
|
78165
|
+
cart_id: string | null;
|
|
78166
|
+
created_at: string;
|
|
78167
|
+
error: string | null;
|
|
78168
|
+
error_code: string | null;
|
|
78169
|
+
fulfillment_order_id: string | null;
|
|
78170
|
+
id: string;
|
|
78171
|
+
locked_until: string | null;
|
|
78172
|
+
next_attempt_at: string | null;
|
|
78173
|
+
order_id: string | null;
|
|
78174
|
+
order_number: string | null;
|
|
78175
|
+
print_job_id: string | null;
|
|
78176
|
+
printer_id: string | null;
|
|
78177
|
+
retry_class: string | null;
|
|
78178
|
+
slip_job_id: string;
|
|
78179
|
+
status: string;
|
|
78180
|
+
updated_at: string;
|
|
78181
|
+
}[];
|
|
78182
|
+
SetofOptions: {
|
|
78183
|
+
from: "*";
|
|
78184
|
+
to: "logistics_slip_shipping_note";
|
|
78185
|
+
isOneToOne: false;
|
|
78186
|
+
isSetofReturn: true;
|
|
78187
|
+
};
|
|
78188
|
+
};
|
|
78189
|
+
logistics_slip_note_finish: {
|
|
78190
|
+
Args: {
|
|
78191
|
+
_error?: string;
|
|
78192
|
+
_error_code?: string;
|
|
78193
|
+
_fulfillment_order_id?: string;
|
|
78194
|
+
_id: string;
|
|
78195
|
+
_ok: boolean;
|
|
78196
|
+
_print_job_id?: string;
|
|
78197
|
+
_status?: string;
|
|
78198
|
+
};
|
|
78199
|
+
Returns: undefined;
|
|
78200
|
+
};
|
|
78201
|
+
logistics_slip_note_keep_waiting: {
|
|
78202
|
+
Args: {
|
|
78203
|
+
_class?: string;
|
|
78204
|
+
_id: string;
|
|
78205
|
+
_reason: string;
|
|
78206
|
+
};
|
|
78207
|
+
Returns: undefined;
|
|
78208
|
+
};
|
|
76606
78209
|
logistics_sticker_follows_slip: {
|
|
76607
78210
|
Args: never;
|
|
76608
78211
|
Returns: boolean;
|
|
76609
78212
|
};
|
|
78213
|
+
logistics_subtract_working_minutes: {
|
|
78214
|
+
Args: {
|
|
78215
|
+
p_deadline: string;
|
|
78216
|
+
p_max_workdays?: number;
|
|
78217
|
+
p_minutes: number;
|
|
78218
|
+
};
|
|
78219
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78220
|
+
};
|
|
76610
78221
|
logistics_supersede_stale_tasks: {
|
|
76611
78222
|
Args: {
|
|
76612
78223
|
p_keep: string[];
|
|
@@ -76643,6 +78254,12 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
76643
78254
|
Args: never;
|
|
76644
78255
|
Returns: string;
|
|
76645
78256
|
};
|
|
78257
|
+
logistics_timezone_options: {
|
|
78258
|
+
Args: never;
|
|
78259
|
+
Returns: {
|
|
78260
|
+
name: string;
|
|
78261
|
+
}[];
|
|
78262
|
+
};
|
|
76646
78263
|
logistics_upsert_task: {
|
|
76647
78264
|
Args: {
|
|
76648
78265
|
p_buffer_ref: string;
|
|
@@ -76662,6 +78279,16 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
76662
78279
|
};
|
|
76663
78280
|
Returns: string;
|
|
76664
78281
|
};
|
|
78282
|
+
logistics_valid_timezone: {
|
|
78283
|
+
Args: {
|
|
78284
|
+
_tz: string;
|
|
78285
|
+
};
|
|
78286
|
+
Returns: boolean;
|
|
78287
|
+
};
|
|
78288
|
+
logistics_working_hours_status: {
|
|
78289
|
+
Args: never;
|
|
78290
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78291
|
+
};
|
|
76665
78292
|
logistics_write_buffer_layer_positions: {
|
|
76666
78293
|
Args: {
|
|
76667
78294
|
p_buffer_id: string;
|
|
@@ -78107,6 +79734,13 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
78107
79734
|
};
|
|
78108
79735
|
Returns: number;
|
|
78109
79736
|
};
|
|
79737
|
+
schedule_floriday_catalog_prices_sync: {
|
|
79738
|
+
Args: {
|
|
79739
|
+
p_apikey: string;
|
|
79740
|
+
p_url: string;
|
|
79741
|
+
};
|
|
79742
|
+
Returns: number;
|
|
79743
|
+
};
|
|
78110
79744
|
schedule_floriday_clock_presales_sync: {
|
|
78111
79745
|
Args: {
|
|
78112
79746
|
p_apikey: string;
|
|
@@ -78407,6 +80041,10 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
78407
80041
|
};
|
|
78408
80042
|
Returns: undefined;
|
|
78409
80043
|
};
|
|
80044
|
+
sync_floriday_prices_into_price_groups: {
|
|
80045
|
+
Args: never;
|
|
80046
|
+
Returns: number;
|
|
80047
|
+
};
|
|
78410
80048
|
sync_layer_stock: {
|
|
78411
80049
|
Args: {
|
|
78412
80050
|
p_product_id: string;
|
|
@@ -84419,6 +86057,84 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
84419
86057
|
referencedColumns: ["id"];
|
|
84420
86058
|
}];
|
|
84421
86059
|
};
|
|
86060
|
+
floriday_catalog_prices_cache: {
|
|
86061
|
+
Row: {
|
|
86062
|
+
connection_id: string;
|
|
86063
|
+
created_at: string;
|
|
86064
|
+
currency: string;
|
|
86065
|
+
id: string;
|
|
86066
|
+
is_deleted: boolean;
|
|
86067
|
+
price: number | null;
|
|
86068
|
+
price_group_id: string | null;
|
|
86069
|
+
price_group_name: string | null;
|
|
86070
|
+
price_type: string;
|
|
86071
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
86072
|
+
sales_unit: string | null;
|
|
86073
|
+
sequence_number: number;
|
|
86074
|
+
supplier_article_code: string | null;
|
|
86075
|
+
supply_line_id: string;
|
|
86076
|
+
synced_at: string;
|
|
86077
|
+
trade_item_id: string | null;
|
|
86078
|
+
updated_at: string;
|
|
86079
|
+
valid_from: string | null;
|
|
86080
|
+
valid_to: string | null;
|
|
86081
|
+
week: number | null;
|
|
86082
|
+
year: number | null;
|
|
86083
|
+
};
|
|
86084
|
+
Insert: {
|
|
86085
|
+
connection_id: string;
|
|
86086
|
+
created_at?: string;
|
|
86087
|
+
currency?: string;
|
|
86088
|
+
id?: string;
|
|
86089
|
+
is_deleted?: boolean;
|
|
86090
|
+
price?: number | null;
|
|
86091
|
+
price_group_id?: string | null;
|
|
86092
|
+
price_group_name?: string | null;
|
|
86093
|
+
price_type?: string;
|
|
86094
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
86095
|
+
sales_unit?: string | null;
|
|
86096
|
+
sequence_number?: number;
|
|
86097
|
+
supplier_article_code?: string | null;
|
|
86098
|
+
supply_line_id: string;
|
|
86099
|
+
synced_at?: string;
|
|
86100
|
+
trade_item_id?: string | null;
|
|
86101
|
+
updated_at?: string;
|
|
86102
|
+
valid_from?: string | null;
|
|
86103
|
+
valid_to?: string | null;
|
|
86104
|
+
week?: number | null;
|
|
86105
|
+
year?: number | null;
|
|
86106
|
+
};
|
|
86107
|
+
Update: {
|
|
86108
|
+
connection_id?: string;
|
|
86109
|
+
created_at?: string;
|
|
86110
|
+
currency?: string;
|
|
86111
|
+
id?: string;
|
|
86112
|
+
is_deleted?: boolean;
|
|
86113
|
+
price?: number | null;
|
|
86114
|
+
price_group_id?: string | null;
|
|
86115
|
+
price_group_name?: string | null;
|
|
86116
|
+
price_type?: string;
|
|
86117
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
86118
|
+
sales_unit?: string | null;
|
|
86119
|
+
sequence_number?: number;
|
|
86120
|
+
supplier_article_code?: string | null;
|
|
86121
|
+
supply_line_id?: string;
|
|
86122
|
+
synced_at?: string;
|
|
86123
|
+
trade_item_id?: string | null;
|
|
86124
|
+
updated_at?: string;
|
|
86125
|
+
valid_from?: string | null;
|
|
86126
|
+
valid_to?: string | null;
|
|
86127
|
+
week?: number | null;
|
|
86128
|
+
year?: number | null;
|
|
86129
|
+
};
|
|
86130
|
+
Relationships: [{
|
|
86131
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
86132
|
+
columns: ["connection_id"];
|
|
86133
|
+
isOneToOne: false;
|
|
86134
|
+
referencedRelation: "floriday_connections";
|
|
86135
|
+
referencedColumns: ["id"];
|
|
86136
|
+
}];
|
|
86137
|
+
};
|
|
84422
86138
|
floriday_clock_presales_cache: {
|
|
84423
86139
|
Row: {
|
|
84424
86140
|
buyer_organization_id: string | null;
|
|
@@ -88687,22 +90403,31 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
88687
90403
|
};
|
|
88688
90404
|
logistics_floriday_push_refusals: {
|
|
88689
90405
|
Row: {
|
|
90406
|
+
action: string | null;
|
|
88690
90407
|
created_at: string;
|
|
88691
90408
|
id: string;
|
|
88692
90409
|
order_ref: string;
|
|
88693
90410
|
reason: string;
|
|
90411
|
+
source_module: string | null;
|
|
90412
|
+
source_shell: string | null;
|
|
88694
90413
|
};
|
|
88695
90414
|
Insert: {
|
|
90415
|
+
action?: string | null;
|
|
88696
90416
|
created_at?: string;
|
|
88697
90417
|
id?: string;
|
|
88698
90418
|
order_ref: string;
|
|
88699
90419
|
reason: string;
|
|
90420
|
+
source_module?: string | null;
|
|
90421
|
+
source_shell?: string | null;
|
|
88700
90422
|
};
|
|
88701
90423
|
Update: {
|
|
90424
|
+
action?: string | null;
|
|
88702
90425
|
created_at?: string;
|
|
88703
90426
|
id?: string;
|
|
88704
90427
|
order_ref?: string;
|
|
88705
90428
|
reason?: string;
|
|
90429
|
+
source_module?: string | null;
|
|
90430
|
+
source_shell?: string | null;
|
|
88706
90431
|
};
|
|
88707
90432
|
Relationships: [];
|
|
88708
90433
|
};
|
|
@@ -88781,6 +90506,42 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
88781
90506
|
};
|
|
88782
90507
|
Relationships: [];
|
|
88783
90508
|
};
|
|
90509
|
+
logistics_floriday_status_sends: {
|
|
90510
|
+
Row: {
|
|
90511
|
+
action: string;
|
|
90512
|
+
created_at: string;
|
|
90513
|
+
detail: string | null;
|
|
90514
|
+
http_status: number | null;
|
|
90515
|
+
id: string;
|
|
90516
|
+
ok: boolean;
|
|
90517
|
+
order_ref: string;
|
|
90518
|
+
source_module: string | null;
|
|
90519
|
+
source_shell: string | null;
|
|
90520
|
+
};
|
|
90521
|
+
Insert: {
|
|
90522
|
+
action: string;
|
|
90523
|
+
created_at?: string;
|
|
90524
|
+
detail?: string | null;
|
|
90525
|
+
http_status?: number | null;
|
|
90526
|
+
id?: string;
|
|
90527
|
+
ok?: boolean;
|
|
90528
|
+
order_ref: string;
|
|
90529
|
+
source_module?: string | null;
|
|
90530
|
+
source_shell?: string | null;
|
|
90531
|
+
};
|
|
90532
|
+
Update: {
|
|
90533
|
+
action?: string;
|
|
90534
|
+
created_at?: string;
|
|
90535
|
+
detail?: string | null;
|
|
90536
|
+
http_status?: number | null;
|
|
90537
|
+
id?: string;
|
|
90538
|
+
ok?: boolean;
|
|
90539
|
+
order_ref?: string;
|
|
90540
|
+
source_module?: string | null;
|
|
90541
|
+
source_shell?: string | null;
|
|
90542
|
+
};
|
|
90543
|
+
Relationships: [];
|
|
90544
|
+
};
|
|
88784
90545
|
logistics_formulas: {
|
|
88785
90546
|
Row: {
|
|
88786
90547
|
created_at: string;
|
|
@@ -88853,6 +90614,108 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
88853
90614
|
};
|
|
88854
90615
|
Relationships: [];
|
|
88855
90616
|
};
|
|
90617
|
+
logistics_opening_exceptions: {
|
|
90618
|
+
Row: {
|
|
90619
|
+
closes: string | null;
|
|
90620
|
+
created_at: string;
|
|
90621
|
+
day: string;
|
|
90622
|
+
id: string;
|
|
90623
|
+
is_closed: boolean;
|
|
90624
|
+
note: string | null;
|
|
90625
|
+
opens: string | null;
|
|
90626
|
+
};
|
|
90627
|
+
Insert: {
|
|
90628
|
+
closes?: string | null;
|
|
90629
|
+
created_at?: string;
|
|
90630
|
+
day: string;
|
|
90631
|
+
id?: string;
|
|
90632
|
+
is_closed?: boolean;
|
|
90633
|
+
note?: string | null;
|
|
90634
|
+
opens?: string | null;
|
|
90635
|
+
};
|
|
90636
|
+
Update: {
|
|
90637
|
+
closes?: string | null;
|
|
90638
|
+
created_at?: string;
|
|
90639
|
+
day?: string;
|
|
90640
|
+
id?: string;
|
|
90641
|
+
is_closed?: boolean;
|
|
90642
|
+
note?: string | null;
|
|
90643
|
+
opens?: string | null;
|
|
90644
|
+
};
|
|
90645
|
+
Relationships: [];
|
|
90646
|
+
};
|
|
90647
|
+
logistics_opening_hours: {
|
|
90648
|
+
Row: {
|
|
90649
|
+
closes: string;
|
|
90650
|
+
created_at: string;
|
|
90651
|
+
id: string;
|
|
90652
|
+
is_active: boolean;
|
|
90653
|
+
note: string | null;
|
|
90654
|
+
opens: string;
|
|
90655
|
+
weekday: number;
|
|
90656
|
+
};
|
|
90657
|
+
Insert: {
|
|
90658
|
+
closes: string;
|
|
90659
|
+
created_at?: string;
|
|
90660
|
+
id?: string;
|
|
90661
|
+
is_active?: boolean;
|
|
90662
|
+
note?: string | null;
|
|
90663
|
+
opens: string;
|
|
90664
|
+
weekday: number;
|
|
90665
|
+
};
|
|
90666
|
+
Update: {
|
|
90667
|
+
closes?: string;
|
|
90668
|
+
created_at?: string;
|
|
90669
|
+
id?: string;
|
|
90670
|
+
is_active?: boolean;
|
|
90671
|
+
note?: string | null;
|
|
90672
|
+
opens?: string;
|
|
90673
|
+
weekday?: number;
|
|
90674
|
+
};
|
|
90675
|
+
Relationships: [];
|
|
90676
|
+
};
|
|
90677
|
+
logistics_pick_data_requests: {
|
|
90678
|
+
Row: {
|
|
90679
|
+
actions: import("../integrations/supabase/types").Json;
|
|
90680
|
+
created_at: string;
|
|
90681
|
+
event_id: string | null;
|
|
90682
|
+
finished_at: string | null;
|
|
90683
|
+
id: string;
|
|
90684
|
+
missing: import("../integrations/supabase/types").Json;
|
|
90685
|
+
order_ref: string;
|
|
90686
|
+
reason: string | null;
|
|
90687
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
90688
|
+
status: string;
|
|
90689
|
+
unit_ref: string | null;
|
|
90690
|
+
};
|
|
90691
|
+
Insert: {
|
|
90692
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
90693
|
+
created_at?: string;
|
|
90694
|
+
event_id?: string | null;
|
|
90695
|
+
finished_at?: string | null;
|
|
90696
|
+
id?: string;
|
|
90697
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
90698
|
+
order_ref: string;
|
|
90699
|
+
reason?: string | null;
|
|
90700
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
90701
|
+
status?: string;
|
|
90702
|
+
unit_ref?: string | null;
|
|
90703
|
+
};
|
|
90704
|
+
Update: {
|
|
90705
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
90706
|
+
created_at?: string;
|
|
90707
|
+
event_id?: string | null;
|
|
90708
|
+
finished_at?: string | null;
|
|
90709
|
+
id?: string;
|
|
90710
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
90711
|
+
order_ref?: string;
|
|
90712
|
+
reason?: string | null;
|
|
90713
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
90714
|
+
status?: string;
|
|
90715
|
+
unit_ref?: string | null;
|
|
90716
|
+
};
|
|
90717
|
+
Relationships: [];
|
|
90718
|
+
};
|
|
88856
90719
|
logistics_pickup_moments: {
|
|
88857
90720
|
Row: {
|
|
88858
90721
|
carrier_ref: string | null;
|
|
@@ -89312,6 +91175,69 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
89312
91175
|
};
|
|
89313
91176
|
Relationships: [];
|
|
89314
91177
|
};
|
|
91178
|
+
logistics_slip_shipping_note: {
|
|
91179
|
+
Row: {
|
|
91180
|
+
attempts: number;
|
|
91181
|
+
batch_key: string | null;
|
|
91182
|
+
cart_id: string | null;
|
|
91183
|
+
created_at: string;
|
|
91184
|
+
error: string | null;
|
|
91185
|
+
error_code: string | null;
|
|
91186
|
+
fulfillment_order_id: string | null;
|
|
91187
|
+
id: string;
|
|
91188
|
+
locked_until: string | null;
|
|
91189
|
+
next_attempt_at: string | null;
|
|
91190
|
+
order_id: string | null;
|
|
91191
|
+
order_number: string | null;
|
|
91192
|
+
print_job_id: string | null;
|
|
91193
|
+
printer_id: string | null;
|
|
91194
|
+
retry_class: string | null;
|
|
91195
|
+
slip_job_id: string;
|
|
91196
|
+
status: string;
|
|
91197
|
+
updated_at: string;
|
|
91198
|
+
};
|
|
91199
|
+
Insert: {
|
|
91200
|
+
attempts?: number;
|
|
91201
|
+
batch_key?: string | null;
|
|
91202
|
+
cart_id?: string | null;
|
|
91203
|
+
created_at?: string;
|
|
91204
|
+
error?: string | null;
|
|
91205
|
+
error_code?: string | null;
|
|
91206
|
+
fulfillment_order_id?: string | null;
|
|
91207
|
+
id?: string;
|
|
91208
|
+
locked_until?: string | null;
|
|
91209
|
+
next_attempt_at?: string | null;
|
|
91210
|
+
order_id?: string | null;
|
|
91211
|
+
order_number?: string | null;
|
|
91212
|
+
print_job_id?: string | null;
|
|
91213
|
+
printer_id?: string | null;
|
|
91214
|
+
retry_class?: string | null;
|
|
91215
|
+
slip_job_id: string;
|
|
91216
|
+
status?: string;
|
|
91217
|
+
updated_at?: string;
|
|
91218
|
+
};
|
|
91219
|
+
Update: {
|
|
91220
|
+
attempts?: number;
|
|
91221
|
+
batch_key?: string | null;
|
|
91222
|
+
cart_id?: string | null;
|
|
91223
|
+
created_at?: string;
|
|
91224
|
+
error?: string | null;
|
|
91225
|
+
error_code?: string | null;
|
|
91226
|
+
fulfillment_order_id?: string | null;
|
|
91227
|
+
id?: string;
|
|
91228
|
+
locked_until?: string | null;
|
|
91229
|
+
next_attempt_at?: string | null;
|
|
91230
|
+
order_id?: string | null;
|
|
91231
|
+
order_number?: string | null;
|
|
91232
|
+
print_job_id?: string | null;
|
|
91233
|
+
printer_id?: string | null;
|
|
91234
|
+
retry_class?: string | null;
|
|
91235
|
+
slip_job_id?: string;
|
|
91236
|
+
status?: string;
|
|
91237
|
+
updated_at?: string;
|
|
91238
|
+
};
|
|
91239
|
+
Relationships: [];
|
|
91240
|
+
};
|
|
89315
91241
|
logistics_staff_planning: {
|
|
89316
91242
|
Row: {
|
|
89317
91243
|
created_at: string;
|
|
@@ -89645,6 +91571,24 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
89645
91571
|
};
|
|
89646
91572
|
Relationships: [];
|
|
89647
91573
|
};
|
|
91574
|
+
logistics_time_settings: {
|
|
91575
|
+
Row: {
|
|
91576
|
+
id: boolean;
|
|
91577
|
+
timezone: string;
|
|
91578
|
+
updated_at: string;
|
|
91579
|
+
};
|
|
91580
|
+
Insert: {
|
|
91581
|
+
id?: boolean;
|
|
91582
|
+
timezone: string;
|
|
91583
|
+
updated_at?: string;
|
|
91584
|
+
};
|
|
91585
|
+
Update: {
|
|
91586
|
+
id?: boolean;
|
|
91587
|
+
timezone?: string;
|
|
91588
|
+
updated_at?: string;
|
|
91589
|
+
};
|
|
91590
|
+
Relationships: [];
|
|
91591
|
+
};
|
|
89648
91592
|
logistics_variables: {
|
|
89649
91593
|
Row: {
|
|
89650
91594
|
created_at: string;
|
|
@@ -92035,6 +93979,7 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
92035
93979
|
customer_name: string;
|
|
92036
93980
|
deleted_at: string | null;
|
|
92037
93981
|
delivery_date: string | null;
|
|
93982
|
+
floriday_order_group_key: string | null;
|
|
92038
93983
|
floriday_sales_order_id: string | null;
|
|
92039
93984
|
id: string;
|
|
92040
93985
|
invoice_due_at: string | null;
|
|
@@ -92062,6 +94007,7 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
92062
94007
|
customer_name?: string;
|
|
92063
94008
|
deleted_at?: string | null;
|
|
92064
94009
|
delivery_date?: string | null;
|
|
94010
|
+
floriday_order_group_key?: string | null;
|
|
92065
94011
|
floriday_sales_order_id?: string | null;
|
|
92066
94012
|
id?: string;
|
|
92067
94013
|
invoice_due_at?: string | null;
|
|
@@ -92089,6 +94035,7 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
92089
94035
|
customer_name?: string;
|
|
92090
94036
|
deleted_at?: string | null;
|
|
92091
94037
|
delivery_date?: string | null;
|
|
94038
|
+
floriday_order_group_key?: string | null;
|
|
92092
94039
|
floriday_sales_order_id?: string | null;
|
|
92093
94040
|
id?: string;
|
|
92094
94041
|
invoice_due_at?: string | null;
|
|
@@ -101752,6 +103699,12 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
101752
103699
|
};
|
|
101753
103700
|
Returns: string;
|
|
101754
103701
|
};
|
|
103702
|
+
logistics_cart_checkin_at: {
|
|
103703
|
+
Args: {
|
|
103704
|
+
p_cart_id: string;
|
|
103705
|
+
};
|
|
103706
|
+
Returns: string;
|
|
103707
|
+
};
|
|
101755
103708
|
logistics_cart_handled: {
|
|
101756
103709
|
Args: {
|
|
101757
103710
|
p_cart_index: number;
|
|
@@ -101785,10 +103738,22 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
101785
103738
|
task_status: string;
|
|
101786
103739
|
}[];
|
|
101787
103740
|
};
|
|
103741
|
+
logistics_cart_is_full: {
|
|
103742
|
+
Args: {
|
|
103743
|
+
p_cart_id: string;
|
|
103744
|
+
};
|
|
103745
|
+
Returns: boolean;
|
|
103746
|
+
};
|
|
101788
103747
|
logistics_cart_layout_method: {
|
|
101789
103748
|
Args: never;
|
|
101790
103749
|
Returns: import("../integrations/supabase/types").Json;
|
|
101791
103750
|
};
|
|
103751
|
+
logistics_cart_order_refs: {
|
|
103752
|
+
Args: {
|
|
103753
|
+
p_cart_id: string;
|
|
103754
|
+
};
|
|
103755
|
+
Returns: string[];
|
|
103756
|
+
};
|
|
101792
103757
|
logistics_cart_plan_overview: {
|
|
101793
103758
|
Args: {
|
|
101794
103759
|
p_days?: number;
|
|
@@ -101808,6 +103773,18 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
101808
103773
|
};
|
|
101809
103774
|
Returns: import("../integrations/supabase/types").Json;
|
|
101810
103775
|
};
|
|
103776
|
+
logistics_cart_release_reason: {
|
|
103777
|
+
Args: {
|
|
103778
|
+
p_cart_id: string;
|
|
103779
|
+
};
|
|
103780
|
+
Returns: string;
|
|
103781
|
+
};
|
|
103782
|
+
logistics_cart_released: {
|
|
103783
|
+
Args: {
|
|
103784
|
+
p_cart_id: string;
|
|
103785
|
+
};
|
|
103786
|
+
Returns: boolean;
|
|
103787
|
+
};
|
|
101811
103788
|
logistics_cart_seq: {
|
|
101812
103789
|
Args: {
|
|
101813
103790
|
p_order_uuid?: string;
|
|
@@ -101858,6 +103835,10 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
101858
103835
|
unit_ref: string;
|
|
101859
103836
|
}[];
|
|
101860
103837
|
};
|
|
103838
|
+
logistics_carts_per_print: {
|
|
103839
|
+
Args: never;
|
|
103840
|
+
Returns: number;
|
|
103841
|
+
};
|
|
101861
103842
|
logistics_check_order_allowed: {
|
|
101862
103843
|
Args: {
|
|
101863
103844
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -101961,6 +103942,10 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
101961
103942
|
isSetofReturn: false;
|
|
101962
103943
|
};
|
|
101963
103944
|
};
|
|
103945
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
103946
|
+
Args: never;
|
|
103947
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
103948
|
+
};
|
|
101964
103949
|
logistics_complete_task: {
|
|
101965
103950
|
Args: {
|
|
101966
103951
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -102023,6 +104008,12 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
102023
104008
|
station_carts: number;
|
|
102024
104009
|
}[];
|
|
102025
104010
|
};
|
|
104011
|
+
logistics_control_complete_cart: {
|
|
104012
|
+
Args: {
|
|
104013
|
+
p_cart_id: string;
|
|
104014
|
+
};
|
|
104015
|
+
Returns: number;
|
|
104016
|
+
};
|
|
102026
104017
|
logistics_control_scan_approve: {
|
|
102027
104018
|
Args: {
|
|
102028
104019
|
p_allow_reprint?: boolean;
|
|
@@ -102102,6 +104093,15 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
102102
104093
|
Args: never;
|
|
102103
104094
|
Returns: import("../integrations/supabase/types").Json;
|
|
102104
104095
|
};
|
|
104096
|
+
logistics_day_windows: {
|
|
104097
|
+
Args: {
|
|
104098
|
+
p_day: string;
|
|
104099
|
+
};
|
|
104100
|
+
Returns: {
|
|
104101
|
+
win_end: string;
|
|
104102
|
+
win_start: string;
|
|
104103
|
+
}[];
|
|
104104
|
+
};
|
|
102105
104105
|
logistics_delay_customer_email: {
|
|
102106
104106
|
Args: {
|
|
102107
104107
|
p_customer: string;
|
|
@@ -102169,6 +104169,17 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
102169
104169
|
};
|
|
102170
104170
|
Returns: import("../integrations/supabase/types").Json;
|
|
102171
104171
|
};
|
|
104172
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
104173
|
+
Args: {
|
|
104174
|
+
_cart_id: string;
|
|
104175
|
+
_is_herprint: boolean;
|
|
104176
|
+
_printer_id: string;
|
|
104177
|
+
_queue_item_id: string;
|
|
104178
|
+
_session_id: string;
|
|
104179
|
+
_slip_job_id: string;
|
|
104180
|
+
};
|
|
104181
|
+
Returns: string;
|
|
104182
|
+
};
|
|
102172
104183
|
logistics_enqueue_sticker_with_slip: {
|
|
102173
104184
|
Args: {
|
|
102174
104185
|
_cart_id: string;
|
|
@@ -102186,6 +104197,14 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
102186
104197
|
};
|
|
102187
104198
|
Returns: string;
|
|
102188
104199
|
};
|
|
104200
|
+
logistics_ensure_pick_data: {
|
|
104201
|
+
Args: {
|
|
104202
|
+
p_event_id?: string;
|
|
104203
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
104204
|
+
p_ref: string;
|
|
104205
|
+
};
|
|
104206
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
104207
|
+
};
|
|
102189
104208
|
logistics_fail_task: {
|
|
102190
104209
|
Args: {
|
|
102191
104210
|
p_error: string;
|
|
@@ -102307,6 +104326,32 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
102307
104326
|
};
|
|
102308
104327
|
Returns: string;
|
|
102309
104328
|
};
|
|
104329
|
+
logistics_floriday_gate_status: {
|
|
104330
|
+
Args: never;
|
|
104331
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
104332
|
+
};
|
|
104333
|
+
logistics_floriday_log_refusal: {
|
|
104334
|
+
Args: {
|
|
104335
|
+
_action?: string;
|
|
104336
|
+
_module?: string;
|
|
104337
|
+
_order_ref: string;
|
|
104338
|
+
_reason: string;
|
|
104339
|
+
_shell?: string;
|
|
104340
|
+
};
|
|
104341
|
+
Returns: undefined;
|
|
104342
|
+
};
|
|
104343
|
+
logistics_floriday_log_send: {
|
|
104344
|
+
Args: {
|
|
104345
|
+
_action: string;
|
|
104346
|
+
_detail?: string;
|
|
104347
|
+
_http_status?: number;
|
|
104348
|
+
_module?: string;
|
|
104349
|
+
_ok: boolean;
|
|
104350
|
+
_order_ref: string;
|
|
104351
|
+
_shell?: string;
|
|
104352
|
+
};
|
|
104353
|
+
Returns: undefined;
|
|
104354
|
+
};
|
|
102310
104355
|
logistics_floriday_order_approved: {
|
|
102311
104356
|
Args: {
|
|
102312
104357
|
_order_ref: string;
|
|
@@ -102331,6 +104376,16 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
102331
104376
|
Args: never;
|
|
102332
104377
|
Returns: boolean;
|
|
102333
104378
|
};
|
|
104379
|
+
logistics_floriday_stock_updates_enabled: {
|
|
104380
|
+
Args: never;
|
|
104381
|
+
Returns: boolean;
|
|
104382
|
+
};
|
|
104383
|
+
logistics_floriday_write_allowed: {
|
|
104384
|
+
Args: {
|
|
104385
|
+
_action: string;
|
|
104386
|
+
};
|
|
104387
|
+
Returns: boolean;
|
|
104388
|
+
};
|
|
102334
104389
|
logistics_fulfill_barcode_requests: {
|
|
102335
104390
|
Args: {
|
|
102336
104391
|
p_limit?: number;
|
|
@@ -102373,6 +104428,12 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
102373
104428
|
};
|
|
102374
104429
|
Returns: number;
|
|
102375
104430
|
};
|
|
104431
|
+
logistics_merge_partial_carts: {
|
|
104432
|
+
Args: {
|
|
104433
|
+
p_limit?: number;
|
|
104434
|
+
};
|
|
104435
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
104436
|
+
};
|
|
102376
104437
|
logistics_next_workday_date: {
|
|
102377
104438
|
Args: {
|
|
102378
104439
|
p_date: string;
|
|
@@ -102399,6 +104460,10 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
102399
104460
|
};
|
|
102400
104461
|
Returns: string;
|
|
102401
104462
|
};
|
|
104463
|
+
logistics_opening_timezone: {
|
|
104464
|
+
Args: never;
|
|
104465
|
+
Returns: string;
|
|
104466
|
+
};
|
|
102402
104467
|
logistics_order_cart_count: {
|
|
102403
104468
|
Args: {
|
|
102404
104469
|
p_order_ref: string;
|
|
@@ -102483,6 +104548,10 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
102483
104548
|
Args: never;
|
|
102484
104549
|
Returns: import("../integrations/supabase/types").Json;
|
|
102485
104550
|
};
|
|
104551
|
+
logistics_pick_partial_mode: {
|
|
104552
|
+
Args: never;
|
|
104553
|
+
Returns: string;
|
|
104554
|
+
};
|
|
102486
104555
|
logistics_pick_start_estimate: {
|
|
102487
104556
|
Args: {
|
|
102488
104557
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -102594,6 +104663,12 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
102594
104663
|
};
|
|
102595
104664
|
Returns: number;
|
|
102596
104665
|
};
|
|
104666
|
+
logistics_prepare_pick_documents: {
|
|
104667
|
+
Args: {
|
|
104668
|
+
p_limit?: number;
|
|
104669
|
+
};
|
|
104670
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
104671
|
+
};
|
|
102597
104672
|
logistics_prune_buffer_member_queue: {
|
|
102598
104673
|
Args: never;
|
|
102599
104674
|
Returns: number;
|
|
@@ -102634,6 +104709,12 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
102634
104709
|
Args: never;
|
|
102635
104710
|
Returns: import("../integrations/supabase/types").Json;
|
|
102636
104711
|
};
|
|
104712
|
+
logistics_refresh_pick_queue_status: {
|
|
104713
|
+
Args: {
|
|
104714
|
+
p_ref: string;
|
|
104715
|
+
};
|
|
104716
|
+
Returns: number;
|
|
104717
|
+
};
|
|
102637
104718
|
logistics_refresh_pickup_moments: {
|
|
102638
104719
|
Args: {
|
|
102639
104720
|
p_weeks?: number;
|
|
@@ -102646,6 +104727,12 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
102646
104727
|
};
|
|
102647
104728
|
Returns: import("../integrations/supabase/types").Json;
|
|
102648
104729
|
};
|
|
104730
|
+
logistics_replan_all_force: {
|
|
104731
|
+
Args: {
|
|
104732
|
+
p_reason?: string;
|
|
104733
|
+
};
|
|
104734
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
104735
|
+
};
|
|
102649
104736
|
logistics_report_delay: {
|
|
102650
104737
|
Args: {
|
|
102651
104738
|
p_expected_date?: string;
|
|
@@ -102790,6 +104877,10 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
102790
104877
|
};
|
|
102791
104878
|
Returns: string;
|
|
102792
104879
|
};
|
|
104880
|
+
logistics_shipping_note_follows_slip: {
|
|
104881
|
+
Args: never;
|
|
104882
|
+
Returns: boolean;
|
|
104883
|
+
};
|
|
102793
104884
|
logistics_shipping_note_from_barcode: {
|
|
102794
104885
|
Args: {
|
|
102795
104886
|
p_allow_reprint?: boolean;
|
|
@@ -102798,10 +104889,76 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
102798
104889
|
};
|
|
102799
104890
|
Returns: import("../integrations/supabase/types").Json;
|
|
102800
104891
|
};
|
|
104892
|
+
logistics_shipping_note_job_for_slip: {
|
|
104893
|
+
Args: {
|
|
104894
|
+
_slip_job_id: string;
|
|
104895
|
+
};
|
|
104896
|
+
Returns: string;
|
|
104897
|
+
};
|
|
104898
|
+
logistics_slip_note_claim: {
|
|
104899
|
+
Args: {
|
|
104900
|
+
_lease_seconds?: number;
|
|
104901
|
+
_limit?: number;
|
|
104902
|
+
};
|
|
104903
|
+
Returns: {
|
|
104904
|
+
attempts: number;
|
|
104905
|
+
batch_key: string | null;
|
|
104906
|
+
cart_id: string | null;
|
|
104907
|
+
created_at: string;
|
|
104908
|
+
error: string | null;
|
|
104909
|
+
error_code: string | null;
|
|
104910
|
+
fulfillment_order_id: string | null;
|
|
104911
|
+
id: string;
|
|
104912
|
+
locked_until: string | null;
|
|
104913
|
+
next_attempt_at: string | null;
|
|
104914
|
+
order_id: string | null;
|
|
104915
|
+
order_number: string | null;
|
|
104916
|
+
print_job_id: string | null;
|
|
104917
|
+
printer_id: string | null;
|
|
104918
|
+
retry_class: string | null;
|
|
104919
|
+
slip_job_id: string;
|
|
104920
|
+
status: string;
|
|
104921
|
+
updated_at: string;
|
|
104922
|
+
}[];
|
|
104923
|
+
SetofOptions: {
|
|
104924
|
+
from: "*";
|
|
104925
|
+
to: "logistics_slip_shipping_note";
|
|
104926
|
+
isOneToOne: false;
|
|
104927
|
+
isSetofReturn: true;
|
|
104928
|
+
};
|
|
104929
|
+
};
|
|
104930
|
+
logistics_slip_note_finish: {
|
|
104931
|
+
Args: {
|
|
104932
|
+
_error?: string;
|
|
104933
|
+
_error_code?: string;
|
|
104934
|
+
_fulfillment_order_id?: string;
|
|
104935
|
+
_id: string;
|
|
104936
|
+
_ok: boolean;
|
|
104937
|
+
_print_job_id?: string;
|
|
104938
|
+
_status?: string;
|
|
104939
|
+
};
|
|
104940
|
+
Returns: undefined;
|
|
104941
|
+
};
|
|
104942
|
+
logistics_slip_note_keep_waiting: {
|
|
104943
|
+
Args: {
|
|
104944
|
+
_class?: string;
|
|
104945
|
+
_id: string;
|
|
104946
|
+
_reason: string;
|
|
104947
|
+
};
|
|
104948
|
+
Returns: undefined;
|
|
104949
|
+
};
|
|
102801
104950
|
logistics_sticker_follows_slip: {
|
|
102802
104951
|
Args: never;
|
|
102803
104952
|
Returns: boolean;
|
|
102804
104953
|
};
|
|
104954
|
+
logistics_subtract_working_minutes: {
|
|
104955
|
+
Args: {
|
|
104956
|
+
p_deadline: string;
|
|
104957
|
+
p_max_workdays?: number;
|
|
104958
|
+
p_minutes: number;
|
|
104959
|
+
};
|
|
104960
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
104961
|
+
};
|
|
102805
104962
|
logistics_supersede_stale_tasks: {
|
|
102806
104963
|
Args: {
|
|
102807
104964
|
p_keep: string[];
|
|
@@ -102838,6 +104995,12 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
102838
104995
|
Args: never;
|
|
102839
104996
|
Returns: string;
|
|
102840
104997
|
};
|
|
104998
|
+
logistics_timezone_options: {
|
|
104999
|
+
Args: never;
|
|
105000
|
+
Returns: {
|
|
105001
|
+
name: string;
|
|
105002
|
+
}[];
|
|
105003
|
+
};
|
|
102841
105004
|
logistics_upsert_task: {
|
|
102842
105005
|
Args: {
|
|
102843
105006
|
p_buffer_ref: string;
|
|
@@ -102857,6 +105020,16 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
102857
105020
|
};
|
|
102858
105021
|
Returns: string;
|
|
102859
105022
|
};
|
|
105023
|
+
logistics_valid_timezone: {
|
|
105024
|
+
Args: {
|
|
105025
|
+
_tz: string;
|
|
105026
|
+
};
|
|
105027
|
+
Returns: boolean;
|
|
105028
|
+
};
|
|
105029
|
+
logistics_working_hours_status: {
|
|
105030
|
+
Args: never;
|
|
105031
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
105032
|
+
};
|
|
102860
105033
|
logistics_write_buffer_layer_positions: {
|
|
102861
105034
|
Args: {
|
|
102862
105035
|
p_buffer_id: string;
|
|
@@ -104302,6 +106475,13 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
104302
106475
|
};
|
|
104303
106476
|
Returns: number;
|
|
104304
106477
|
};
|
|
106478
|
+
schedule_floriday_catalog_prices_sync: {
|
|
106479
|
+
Args: {
|
|
106480
|
+
p_apikey: string;
|
|
106481
|
+
p_url: string;
|
|
106482
|
+
};
|
|
106483
|
+
Returns: number;
|
|
106484
|
+
};
|
|
104305
106485
|
schedule_floriday_clock_presales_sync: {
|
|
104306
106486
|
Args: {
|
|
104307
106487
|
p_apikey: string;
|
|
@@ -104602,6 +106782,10 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
104602
106782
|
};
|
|
104603
106783
|
Returns: undefined;
|
|
104604
106784
|
};
|
|
106785
|
+
sync_floriday_prices_into_price_groups: {
|
|
106786
|
+
Args: never;
|
|
106787
|
+
Returns: number;
|
|
106788
|
+
};
|
|
104605
106789
|
sync_layer_stock: {
|
|
104606
106790
|
Args: {
|
|
104607
106791
|
p_product_id: string;
|
|
@@ -110617,6 +112801,84 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
110617
112801
|
referencedColumns: ["id"];
|
|
110618
112802
|
}];
|
|
110619
112803
|
};
|
|
112804
|
+
floriday_catalog_prices_cache: {
|
|
112805
|
+
Row: {
|
|
112806
|
+
connection_id: string;
|
|
112807
|
+
created_at: string;
|
|
112808
|
+
currency: string;
|
|
112809
|
+
id: string;
|
|
112810
|
+
is_deleted: boolean;
|
|
112811
|
+
price: number | null;
|
|
112812
|
+
price_group_id: string | null;
|
|
112813
|
+
price_group_name: string | null;
|
|
112814
|
+
price_type: string;
|
|
112815
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
112816
|
+
sales_unit: string | null;
|
|
112817
|
+
sequence_number: number;
|
|
112818
|
+
supplier_article_code: string | null;
|
|
112819
|
+
supply_line_id: string;
|
|
112820
|
+
synced_at: string;
|
|
112821
|
+
trade_item_id: string | null;
|
|
112822
|
+
updated_at: string;
|
|
112823
|
+
valid_from: string | null;
|
|
112824
|
+
valid_to: string | null;
|
|
112825
|
+
week: number | null;
|
|
112826
|
+
year: number | null;
|
|
112827
|
+
};
|
|
112828
|
+
Insert: {
|
|
112829
|
+
connection_id: string;
|
|
112830
|
+
created_at?: string;
|
|
112831
|
+
currency?: string;
|
|
112832
|
+
id?: string;
|
|
112833
|
+
is_deleted?: boolean;
|
|
112834
|
+
price?: number | null;
|
|
112835
|
+
price_group_id?: string | null;
|
|
112836
|
+
price_group_name?: string | null;
|
|
112837
|
+
price_type?: string;
|
|
112838
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
112839
|
+
sales_unit?: string | null;
|
|
112840
|
+
sequence_number?: number;
|
|
112841
|
+
supplier_article_code?: string | null;
|
|
112842
|
+
supply_line_id: string;
|
|
112843
|
+
synced_at?: string;
|
|
112844
|
+
trade_item_id?: string | null;
|
|
112845
|
+
updated_at?: string;
|
|
112846
|
+
valid_from?: string | null;
|
|
112847
|
+
valid_to?: string | null;
|
|
112848
|
+
week?: number | null;
|
|
112849
|
+
year?: number | null;
|
|
112850
|
+
};
|
|
112851
|
+
Update: {
|
|
112852
|
+
connection_id?: string;
|
|
112853
|
+
created_at?: string;
|
|
112854
|
+
currency?: string;
|
|
112855
|
+
id?: string;
|
|
112856
|
+
is_deleted?: boolean;
|
|
112857
|
+
price?: number | null;
|
|
112858
|
+
price_group_id?: string | null;
|
|
112859
|
+
price_group_name?: string | null;
|
|
112860
|
+
price_type?: string;
|
|
112861
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
112862
|
+
sales_unit?: string | null;
|
|
112863
|
+
sequence_number?: number;
|
|
112864
|
+
supplier_article_code?: string | null;
|
|
112865
|
+
supply_line_id?: string;
|
|
112866
|
+
synced_at?: string;
|
|
112867
|
+
trade_item_id?: string | null;
|
|
112868
|
+
updated_at?: string;
|
|
112869
|
+
valid_from?: string | null;
|
|
112870
|
+
valid_to?: string | null;
|
|
112871
|
+
week?: number | null;
|
|
112872
|
+
year?: number | null;
|
|
112873
|
+
};
|
|
112874
|
+
Relationships: [{
|
|
112875
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
112876
|
+
columns: ["connection_id"];
|
|
112877
|
+
isOneToOne: false;
|
|
112878
|
+
referencedRelation: "floriday_connections";
|
|
112879
|
+
referencedColumns: ["id"];
|
|
112880
|
+
}];
|
|
112881
|
+
};
|
|
110620
112882
|
floriday_clock_presales_cache: {
|
|
110621
112883
|
Row: {
|
|
110622
112884
|
buyer_organization_id: string | null;
|
|
@@ -114885,22 +117147,31 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
114885
117147
|
};
|
|
114886
117148
|
logistics_floriday_push_refusals: {
|
|
114887
117149
|
Row: {
|
|
117150
|
+
action: string | null;
|
|
114888
117151
|
created_at: string;
|
|
114889
117152
|
id: string;
|
|
114890
117153
|
order_ref: string;
|
|
114891
117154
|
reason: string;
|
|
117155
|
+
source_module: string | null;
|
|
117156
|
+
source_shell: string | null;
|
|
114892
117157
|
};
|
|
114893
117158
|
Insert: {
|
|
117159
|
+
action?: string | null;
|
|
114894
117160
|
created_at?: string;
|
|
114895
117161
|
id?: string;
|
|
114896
117162
|
order_ref: string;
|
|
114897
117163
|
reason: string;
|
|
117164
|
+
source_module?: string | null;
|
|
117165
|
+
source_shell?: string | null;
|
|
114898
117166
|
};
|
|
114899
117167
|
Update: {
|
|
117168
|
+
action?: string | null;
|
|
114900
117169
|
created_at?: string;
|
|
114901
117170
|
id?: string;
|
|
114902
117171
|
order_ref?: string;
|
|
114903
117172
|
reason?: string;
|
|
117173
|
+
source_module?: string | null;
|
|
117174
|
+
source_shell?: string | null;
|
|
114904
117175
|
};
|
|
114905
117176
|
Relationships: [];
|
|
114906
117177
|
};
|
|
@@ -114979,6 +117250,42 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
114979
117250
|
};
|
|
114980
117251
|
Relationships: [];
|
|
114981
117252
|
};
|
|
117253
|
+
logistics_floriday_status_sends: {
|
|
117254
|
+
Row: {
|
|
117255
|
+
action: string;
|
|
117256
|
+
created_at: string;
|
|
117257
|
+
detail: string | null;
|
|
117258
|
+
http_status: number | null;
|
|
117259
|
+
id: string;
|
|
117260
|
+
ok: boolean;
|
|
117261
|
+
order_ref: string;
|
|
117262
|
+
source_module: string | null;
|
|
117263
|
+
source_shell: string | null;
|
|
117264
|
+
};
|
|
117265
|
+
Insert: {
|
|
117266
|
+
action: string;
|
|
117267
|
+
created_at?: string;
|
|
117268
|
+
detail?: string | null;
|
|
117269
|
+
http_status?: number | null;
|
|
117270
|
+
id?: string;
|
|
117271
|
+
ok?: boolean;
|
|
117272
|
+
order_ref: string;
|
|
117273
|
+
source_module?: string | null;
|
|
117274
|
+
source_shell?: string | null;
|
|
117275
|
+
};
|
|
117276
|
+
Update: {
|
|
117277
|
+
action?: string;
|
|
117278
|
+
created_at?: string;
|
|
117279
|
+
detail?: string | null;
|
|
117280
|
+
http_status?: number | null;
|
|
117281
|
+
id?: string;
|
|
117282
|
+
ok?: boolean;
|
|
117283
|
+
order_ref?: string;
|
|
117284
|
+
source_module?: string | null;
|
|
117285
|
+
source_shell?: string | null;
|
|
117286
|
+
};
|
|
117287
|
+
Relationships: [];
|
|
117288
|
+
};
|
|
114982
117289
|
logistics_formulas: {
|
|
114983
117290
|
Row: {
|
|
114984
117291
|
created_at: string;
|
|
@@ -115051,6 +117358,108 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
115051
117358
|
};
|
|
115052
117359
|
Relationships: [];
|
|
115053
117360
|
};
|
|
117361
|
+
logistics_opening_exceptions: {
|
|
117362
|
+
Row: {
|
|
117363
|
+
closes: string | null;
|
|
117364
|
+
created_at: string;
|
|
117365
|
+
day: string;
|
|
117366
|
+
id: string;
|
|
117367
|
+
is_closed: boolean;
|
|
117368
|
+
note: string | null;
|
|
117369
|
+
opens: string | null;
|
|
117370
|
+
};
|
|
117371
|
+
Insert: {
|
|
117372
|
+
closes?: string | null;
|
|
117373
|
+
created_at?: string;
|
|
117374
|
+
day: string;
|
|
117375
|
+
id?: string;
|
|
117376
|
+
is_closed?: boolean;
|
|
117377
|
+
note?: string | null;
|
|
117378
|
+
opens?: string | null;
|
|
117379
|
+
};
|
|
117380
|
+
Update: {
|
|
117381
|
+
closes?: string | null;
|
|
117382
|
+
created_at?: string;
|
|
117383
|
+
day?: string;
|
|
117384
|
+
id?: string;
|
|
117385
|
+
is_closed?: boolean;
|
|
117386
|
+
note?: string | null;
|
|
117387
|
+
opens?: string | null;
|
|
117388
|
+
};
|
|
117389
|
+
Relationships: [];
|
|
117390
|
+
};
|
|
117391
|
+
logistics_opening_hours: {
|
|
117392
|
+
Row: {
|
|
117393
|
+
closes: string;
|
|
117394
|
+
created_at: string;
|
|
117395
|
+
id: string;
|
|
117396
|
+
is_active: boolean;
|
|
117397
|
+
note: string | null;
|
|
117398
|
+
opens: string;
|
|
117399
|
+
weekday: number;
|
|
117400
|
+
};
|
|
117401
|
+
Insert: {
|
|
117402
|
+
closes: string;
|
|
117403
|
+
created_at?: string;
|
|
117404
|
+
id?: string;
|
|
117405
|
+
is_active?: boolean;
|
|
117406
|
+
note?: string | null;
|
|
117407
|
+
opens: string;
|
|
117408
|
+
weekday: number;
|
|
117409
|
+
};
|
|
117410
|
+
Update: {
|
|
117411
|
+
closes?: string;
|
|
117412
|
+
created_at?: string;
|
|
117413
|
+
id?: string;
|
|
117414
|
+
is_active?: boolean;
|
|
117415
|
+
note?: string | null;
|
|
117416
|
+
opens?: string;
|
|
117417
|
+
weekday?: number;
|
|
117418
|
+
};
|
|
117419
|
+
Relationships: [];
|
|
117420
|
+
};
|
|
117421
|
+
logistics_pick_data_requests: {
|
|
117422
|
+
Row: {
|
|
117423
|
+
actions: import("../integrations/supabase/types").Json;
|
|
117424
|
+
created_at: string;
|
|
117425
|
+
event_id: string | null;
|
|
117426
|
+
finished_at: string | null;
|
|
117427
|
+
id: string;
|
|
117428
|
+
missing: import("../integrations/supabase/types").Json;
|
|
117429
|
+
order_ref: string;
|
|
117430
|
+
reason: string | null;
|
|
117431
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
117432
|
+
status: string;
|
|
117433
|
+
unit_ref: string | null;
|
|
117434
|
+
};
|
|
117435
|
+
Insert: {
|
|
117436
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
117437
|
+
created_at?: string;
|
|
117438
|
+
event_id?: string | null;
|
|
117439
|
+
finished_at?: string | null;
|
|
117440
|
+
id?: string;
|
|
117441
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
117442
|
+
order_ref: string;
|
|
117443
|
+
reason?: string | null;
|
|
117444
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
117445
|
+
status?: string;
|
|
117446
|
+
unit_ref?: string | null;
|
|
117447
|
+
};
|
|
117448
|
+
Update: {
|
|
117449
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
117450
|
+
created_at?: string;
|
|
117451
|
+
event_id?: string | null;
|
|
117452
|
+
finished_at?: string | null;
|
|
117453
|
+
id?: string;
|
|
117454
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
117455
|
+
order_ref?: string;
|
|
117456
|
+
reason?: string | null;
|
|
117457
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
117458
|
+
status?: string;
|
|
117459
|
+
unit_ref?: string | null;
|
|
117460
|
+
};
|
|
117461
|
+
Relationships: [];
|
|
117462
|
+
};
|
|
115054
117463
|
logistics_pickup_moments: {
|
|
115055
117464
|
Row: {
|
|
115056
117465
|
carrier_ref: string | null;
|
|
@@ -115510,6 +117919,69 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
115510
117919
|
};
|
|
115511
117920
|
Relationships: [];
|
|
115512
117921
|
};
|
|
117922
|
+
logistics_slip_shipping_note: {
|
|
117923
|
+
Row: {
|
|
117924
|
+
attempts: number;
|
|
117925
|
+
batch_key: string | null;
|
|
117926
|
+
cart_id: string | null;
|
|
117927
|
+
created_at: string;
|
|
117928
|
+
error: string | null;
|
|
117929
|
+
error_code: string | null;
|
|
117930
|
+
fulfillment_order_id: string | null;
|
|
117931
|
+
id: string;
|
|
117932
|
+
locked_until: string | null;
|
|
117933
|
+
next_attempt_at: string | null;
|
|
117934
|
+
order_id: string | null;
|
|
117935
|
+
order_number: string | null;
|
|
117936
|
+
print_job_id: string | null;
|
|
117937
|
+
printer_id: string | null;
|
|
117938
|
+
retry_class: string | null;
|
|
117939
|
+
slip_job_id: string;
|
|
117940
|
+
status: string;
|
|
117941
|
+
updated_at: string;
|
|
117942
|
+
};
|
|
117943
|
+
Insert: {
|
|
117944
|
+
attempts?: number;
|
|
117945
|
+
batch_key?: string | null;
|
|
117946
|
+
cart_id?: string | null;
|
|
117947
|
+
created_at?: string;
|
|
117948
|
+
error?: string | null;
|
|
117949
|
+
error_code?: string | null;
|
|
117950
|
+
fulfillment_order_id?: string | null;
|
|
117951
|
+
id?: string;
|
|
117952
|
+
locked_until?: string | null;
|
|
117953
|
+
next_attempt_at?: string | null;
|
|
117954
|
+
order_id?: string | null;
|
|
117955
|
+
order_number?: string | null;
|
|
117956
|
+
print_job_id?: string | null;
|
|
117957
|
+
printer_id?: string | null;
|
|
117958
|
+
retry_class?: string | null;
|
|
117959
|
+
slip_job_id: string;
|
|
117960
|
+
status?: string;
|
|
117961
|
+
updated_at?: string;
|
|
117962
|
+
};
|
|
117963
|
+
Update: {
|
|
117964
|
+
attempts?: number;
|
|
117965
|
+
batch_key?: string | null;
|
|
117966
|
+
cart_id?: string | null;
|
|
117967
|
+
created_at?: string;
|
|
117968
|
+
error?: string | null;
|
|
117969
|
+
error_code?: string | null;
|
|
117970
|
+
fulfillment_order_id?: string | null;
|
|
117971
|
+
id?: string;
|
|
117972
|
+
locked_until?: string | null;
|
|
117973
|
+
next_attempt_at?: string | null;
|
|
117974
|
+
order_id?: string | null;
|
|
117975
|
+
order_number?: string | null;
|
|
117976
|
+
print_job_id?: string | null;
|
|
117977
|
+
printer_id?: string | null;
|
|
117978
|
+
retry_class?: string | null;
|
|
117979
|
+
slip_job_id?: string;
|
|
117980
|
+
status?: string;
|
|
117981
|
+
updated_at?: string;
|
|
117982
|
+
};
|
|
117983
|
+
Relationships: [];
|
|
117984
|
+
};
|
|
115513
117985
|
logistics_staff_planning: {
|
|
115514
117986
|
Row: {
|
|
115515
117987
|
created_at: string;
|
|
@@ -115843,6 +118315,24 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
115843
118315
|
};
|
|
115844
118316
|
Relationships: [];
|
|
115845
118317
|
};
|
|
118318
|
+
logistics_time_settings: {
|
|
118319
|
+
Row: {
|
|
118320
|
+
id: boolean;
|
|
118321
|
+
timezone: string;
|
|
118322
|
+
updated_at: string;
|
|
118323
|
+
};
|
|
118324
|
+
Insert: {
|
|
118325
|
+
id?: boolean;
|
|
118326
|
+
timezone: string;
|
|
118327
|
+
updated_at?: string;
|
|
118328
|
+
};
|
|
118329
|
+
Update: {
|
|
118330
|
+
id?: boolean;
|
|
118331
|
+
timezone?: string;
|
|
118332
|
+
updated_at?: string;
|
|
118333
|
+
};
|
|
118334
|
+
Relationships: [];
|
|
118335
|
+
};
|
|
115846
118336
|
logistics_variables: {
|
|
115847
118337
|
Row: {
|
|
115848
118338
|
created_at: string;
|
|
@@ -118233,6 +120723,7 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
118233
120723
|
customer_name: string;
|
|
118234
120724
|
deleted_at: string | null;
|
|
118235
120725
|
delivery_date: string | null;
|
|
120726
|
+
floriday_order_group_key: string | null;
|
|
118236
120727
|
floriday_sales_order_id: string | null;
|
|
118237
120728
|
id: string;
|
|
118238
120729
|
invoice_due_at: string | null;
|
|
@@ -118260,6 +120751,7 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
118260
120751
|
customer_name?: string;
|
|
118261
120752
|
deleted_at?: string | null;
|
|
118262
120753
|
delivery_date?: string | null;
|
|
120754
|
+
floriday_order_group_key?: string | null;
|
|
118263
120755
|
floriday_sales_order_id?: string | null;
|
|
118264
120756
|
id?: string;
|
|
118265
120757
|
invoice_due_at?: string | null;
|
|
@@ -118287,6 +120779,7 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
118287
120779
|
customer_name?: string;
|
|
118288
120780
|
deleted_at?: string | null;
|
|
118289
120781
|
delivery_date?: string | null;
|
|
120782
|
+
floriday_order_group_key?: string | null;
|
|
118290
120783
|
floriday_sales_order_id?: string | null;
|
|
118291
120784
|
id?: string;
|
|
118292
120785
|
invoice_due_at?: string | null;
|
|
@@ -127950,6 +130443,12 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
127950
130443
|
};
|
|
127951
130444
|
Returns: string;
|
|
127952
130445
|
};
|
|
130446
|
+
logistics_cart_checkin_at: {
|
|
130447
|
+
Args: {
|
|
130448
|
+
p_cart_id: string;
|
|
130449
|
+
};
|
|
130450
|
+
Returns: string;
|
|
130451
|
+
};
|
|
127953
130452
|
logistics_cart_handled: {
|
|
127954
130453
|
Args: {
|
|
127955
130454
|
p_cart_index: number;
|
|
@@ -127983,10 +130482,22 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
127983
130482
|
task_status: string;
|
|
127984
130483
|
}[];
|
|
127985
130484
|
};
|
|
130485
|
+
logistics_cart_is_full: {
|
|
130486
|
+
Args: {
|
|
130487
|
+
p_cart_id: string;
|
|
130488
|
+
};
|
|
130489
|
+
Returns: boolean;
|
|
130490
|
+
};
|
|
127986
130491
|
logistics_cart_layout_method: {
|
|
127987
130492
|
Args: never;
|
|
127988
130493
|
Returns: import("../integrations/supabase/types").Json;
|
|
127989
130494
|
};
|
|
130495
|
+
logistics_cart_order_refs: {
|
|
130496
|
+
Args: {
|
|
130497
|
+
p_cart_id: string;
|
|
130498
|
+
};
|
|
130499
|
+
Returns: string[];
|
|
130500
|
+
};
|
|
127990
130501
|
logistics_cart_plan_overview: {
|
|
127991
130502
|
Args: {
|
|
127992
130503
|
p_days?: number;
|
|
@@ -128006,6 +130517,18 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
128006
130517
|
};
|
|
128007
130518
|
Returns: import("../integrations/supabase/types").Json;
|
|
128008
130519
|
};
|
|
130520
|
+
logistics_cart_release_reason: {
|
|
130521
|
+
Args: {
|
|
130522
|
+
p_cart_id: string;
|
|
130523
|
+
};
|
|
130524
|
+
Returns: string;
|
|
130525
|
+
};
|
|
130526
|
+
logistics_cart_released: {
|
|
130527
|
+
Args: {
|
|
130528
|
+
p_cart_id: string;
|
|
130529
|
+
};
|
|
130530
|
+
Returns: boolean;
|
|
130531
|
+
};
|
|
128009
130532
|
logistics_cart_seq: {
|
|
128010
130533
|
Args: {
|
|
128011
130534
|
p_order_uuid?: string;
|
|
@@ -128056,6 +130579,10 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
128056
130579
|
unit_ref: string;
|
|
128057
130580
|
}[];
|
|
128058
130581
|
};
|
|
130582
|
+
logistics_carts_per_print: {
|
|
130583
|
+
Args: never;
|
|
130584
|
+
Returns: number;
|
|
130585
|
+
};
|
|
128059
130586
|
logistics_check_order_allowed: {
|
|
128060
130587
|
Args: {
|
|
128061
130588
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -128159,6 +130686,10 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
128159
130686
|
isSetofReturn: false;
|
|
128160
130687
|
};
|
|
128161
130688
|
};
|
|
130689
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
130690
|
+
Args: never;
|
|
130691
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
130692
|
+
};
|
|
128162
130693
|
logistics_complete_task: {
|
|
128163
130694
|
Args: {
|
|
128164
130695
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -128221,6 +130752,12 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
128221
130752
|
station_carts: number;
|
|
128222
130753
|
}[];
|
|
128223
130754
|
};
|
|
130755
|
+
logistics_control_complete_cart: {
|
|
130756
|
+
Args: {
|
|
130757
|
+
p_cart_id: string;
|
|
130758
|
+
};
|
|
130759
|
+
Returns: number;
|
|
130760
|
+
};
|
|
128224
130761
|
logistics_control_scan_approve: {
|
|
128225
130762
|
Args: {
|
|
128226
130763
|
p_allow_reprint?: boolean;
|
|
@@ -128300,6 +130837,15 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
128300
130837
|
Args: never;
|
|
128301
130838
|
Returns: import("../integrations/supabase/types").Json;
|
|
128302
130839
|
};
|
|
130840
|
+
logistics_day_windows: {
|
|
130841
|
+
Args: {
|
|
130842
|
+
p_day: string;
|
|
130843
|
+
};
|
|
130844
|
+
Returns: {
|
|
130845
|
+
win_end: string;
|
|
130846
|
+
win_start: string;
|
|
130847
|
+
}[];
|
|
130848
|
+
};
|
|
128303
130849
|
logistics_delay_customer_email: {
|
|
128304
130850
|
Args: {
|
|
128305
130851
|
p_customer: string;
|
|
@@ -128367,6 +130913,17 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
128367
130913
|
};
|
|
128368
130914
|
Returns: import("../integrations/supabase/types").Json;
|
|
128369
130915
|
};
|
|
130916
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
130917
|
+
Args: {
|
|
130918
|
+
_cart_id: string;
|
|
130919
|
+
_is_herprint: boolean;
|
|
130920
|
+
_printer_id: string;
|
|
130921
|
+
_queue_item_id: string;
|
|
130922
|
+
_session_id: string;
|
|
130923
|
+
_slip_job_id: string;
|
|
130924
|
+
};
|
|
130925
|
+
Returns: string;
|
|
130926
|
+
};
|
|
128370
130927
|
logistics_enqueue_sticker_with_slip: {
|
|
128371
130928
|
Args: {
|
|
128372
130929
|
_cart_id: string;
|
|
@@ -128384,6 +130941,14 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
128384
130941
|
};
|
|
128385
130942
|
Returns: string;
|
|
128386
130943
|
};
|
|
130944
|
+
logistics_ensure_pick_data: {
|
|
130945
|
+
Args: {
|
|
130946
|
+
p_event_id?: string;
|
|
130947
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
130948
|
+
p_ref: string;
|
|
130949
|
+
};
|
|
130950
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
130951
|
+
};
|
|
128387
130952
|
logistics_fail_task: {
|
|
128388
130953
|
Args: {
|
|
128389
130954
|
p_error: string;
|
|
@@ -128505,6 +131070,32 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
128505
131070
|
};
|
|
128506
131071
|
Returns: string;
|
|
128507
131072
|
};
|
|
131073
|
+
logistics_floriday_gate_status: {
|
|
131074
|
+
Args: never;
|
|
131075
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
131076
|
+
};
|
|
131077
|
+
logistics_floriday_log_refusal: {
|
|
131078
|
+
Args: {
|
|
131079
|
+
_action?: string;
|
|
131080
|
+
_module?: string;
|
|
131081
|
+
_order_ref: string;
|
|
131082
|
+
_reason: string;
|
|
131083
|
+
_shell?: string;
|
|
131084
|
+
};
|
|
131085
|
+
Returns: undefined;
|
|
131086
|
+
};
|
|
131087
|
+
logistics_floriday_log_send: {
|
|
131088
|
+
Args: {
|
|
131089
|
+
_action: string;
|
|
131090
|
+
_detail?: string;
|
|
131091
|
+
_http_status?: number;
|
|
131092
|
+
_module?: string;
|
|
131093
|
+
_ok: boolean;
|
|
131094
|
+
_order_ref: string;
|
|
131095
|
+
_shell?: string;
|
|
131096
|
+
};
|
|
131097
|
+
Returns: undefined;
|
|
131098
|
+
};
|
|
128508
131099
|
logistics_floriday_order_approved: {
|
|
128509
131100
|
Args: {
|
|
128510
131101
|
_order_ref: string;
|
|
@@ -128529,6 +131120,16 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
128529
131120
|
Args: never;
|
|
128530
131121
|
Returns: boolean;
|
|
128531
131122
|
};
|
|
131123
|
+
logistics_floriday_stock_updates_enabled: {
|
|
131124
|
+
Args: never;
|
|
131125
|
+
Returns: boolean;
|
|
131126
|
+
};
|
|
131127
|
+
logistics_floriday_write_allowed: {
|
|
131128
|
+
Args: {
|
|
131129
|
+
_action: string;
|
|
131130
|
+
};
|
|
131131
|
+
Returns: boolean;
|
|
131132
|
+
};
|
|
128532
131133
|
logistics_fulfill_barcode_requests: {
|
|
128533
131134
|
Args: {
|
|
128534
131135
|
p_limit?: number;
|
|
@@ -128571,6 +131172,12 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
128571
131172
|
};
|
|
128572
131173
|
Returns: number;
|
|
128573
131174
|
};
|
|
131175
|
+
logistics_merge_partial_carts: {
|
|
131176
|
+
Args: {
|
|
131177
|
+
p_limit?: number;
|
|
131178
|
+
};
|
|
131179
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
131180
|
+
};
|
|
128574
131181
|
logistics_next_workday_date: {
|
|
128575
131182
|
Args: {
|
|
128576
131183
|
p_date: string;
|
|
@@ -128597,6 +131204,10 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
128597
131204
|
};
|
|
128598
131205
|
Returns: string;
|
|
128599
131206
|
};
|
|
131207
|
+
logistics_opening_timezone: {
|
|
131208
|
+
Args: never;
|
|
131209
|
+
Returns: string;
|
|
131210
|
+
};
|
|
128600
131211
|
logistics_order_cart_count: {
|
|
128601
131212
|
Args: {
|
|
128602
131213
|
p_order_ref: string;
|
|
@@ -128681,6 +131292,10 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
128681
131292
|
Args: never;
|
|
128682
131293
|
Returns: import("../integrations/supabase/types").Json;
|
|
128683
131294
|
};
|
|
131295
|
+
logistics_pick_partial_mode: {
|
|
131296
|
+
Args: never;
|
|
131297
|
+
Returns: string;
|
|
131298
|
+
};
|
|
128684
131299
|
logistics_pick_start_estimate: {
|
|
128685
131300
|
Args: {
|
|
128686
131301
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -128792,6 +131407,12 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
128792
131407
|
};
|
|
128793
131408
|
Returns: number;
|
|
128794
131409
|
};
|
|
131410
|
+
logistics_prepare_pick_documents: {
|
|
131411
|
+
Args: {
|
|
131412
|
+
p_limit?: number;
|
|
131413
|
+
};
|
|
131414
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
131415
|
+
};
|
|
128795
131416
|
logistics_prune_buffer_member_queue: {
|
|
128796
131417
|
Args: never;
|
|
128797
131418
|
Returns: number;
|
|
@@ -128832,6 +131453,12 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
128832
131453
|
Args: never;
|
|
128833
131454
|
Returns: import("../integrations/supabase/types").Json;
|
|
128834
131455
|
};
|
|
131456
|
+
logistics_refresh_pick_queue_status: {
|
|
131457
|
+
Args: {
|
|
131458
|
+
p_ref: string;
|
|
131459
|
+
};
|
|
131460
|
+
Returns: number;
|
|
131461
|
+
};
|
|
128835
131462
|
logistics_refresh_pickup_moments: {
|
|
128836
131463
|
Args: {
|
|
128837
131464
|
p_weeks?: number;
|
|
@@ -128844,6 +131471,12 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
128844
131471
|
};
|
|
128845
131472
|
Returns: import("../integrations/supabase/types").Json;
|
|
128846
131473
|
};
|
|
131474
|
+
logistics_replan_all_force: {
|
|
131475
|
+
Args: {
|
|
131476
|
+
p_reason?: string;
|
|
131477
|
+
};
|
|
131478
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
131479
|
+
};
|
|
128847
131480
|
logistics_report_delay: {
|
|
128848
131481
|
Args: {
|
|
128849
131482
|
p_expected_date?: string;
|
|
@@ -128988,6 +131621,10 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
128988
131621
|
};
|
|
128989
131622
|
Returns: string;
|
|
128990
131623
|
};
|
|
131624
|
+
logistics_shipping_note_follows_slip: {
|
|
131625
|
+
Args: never;
|
|
131626
|
+
Returns: boolean;
|
|
131627
|
+
};
|
|
128991
131628
|
logistics_shipping_note_from_barcode: {
|
|
128992
131629
|
Args: {
|
|
128993
131630
|
p_allow_reprint?: boolean;
|
|
@@ -128996,10 +131633,76 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
128996
131633
|
};
|
|
128997
131634
|
Returns: import("../integrations/supabase/types").Json;
|
|
128998
131635
|
};
|
|
131636
|
+
logistics_shipping_note_job_for_slip: {
|
|
131637
|
+
Args: {
|
|
131638
|
+
_slip_job_id: string;
|
|
131639
|
+
};
|
|
131640
|
+
Returns: string;
|
|
131641
|
+
};
|
|
131642
|
+
logistics_slip_note_claim: {
|
|
131643
|
+
Args: {
|
|
131644
|
+
_lease_seconds?: number;
|
|
131645
|
+
_limit?: number;
|
|
131646
|
+
};
|
|
131647
|
+
Returns: {
|
|
131648
|
+
attempts: number;
|
|
131649
|
+
batch_key: string | null;
|
|
131650
|
+
cart_id: string | null;
|
|
131651
|
+
created_at: string;
|
|
131652
|
+
error: string | null;
|
|
131653
|
+
error_code: string | null;
|
|
131654
|
+
fulfillment_order_id: string | null;
|
|
131655
|
+
id: string;
|
|
131656
|
+
locked_until: string | null;
|
|
131657
|
+
next_attempt_at: string | null;
|
|
131658
|
+
order_id: string | null;
|
|
131659
|
+
order_number: string | null;
|
|
131660
|
+
print_job_id: string | null;
|
|
131661
|
+
printer_id: string | null;
|
|
131662
|
+
retry_class: string | null;
|
|
131663
|
+
slip_job_id: string;
|
|
131664
|
+
status: string;
|
|
131665
|
+
updated_at: string;
|
|
131666
|
+
}[];
|
|
131667
|
+
SetofOptions: {
|
|
131668
|
+
from: "*";
|
|
131669
|
+
to: "logistics_slip_shipping_note";
|
|
131670
|
+
isOneToOne: false;
|
|
131671
|
+
isSetofReturn: true;
|
|
131672
|
+
};
|
|
131673
|
+
};
|
|
131674
|
+
logistics_slip_note_finish: {
|
|
131675
|
+
Args: {
|
|
131676
|
+
_error?: string;
|
|
131677
|
+
_error_code?: string;
|
|
131678
|
+
_fulfillment_order_id?: string;
|
|
131679
|
+
_id: string;
|
|
131680
|
+
_ok: boolean;
|
|
131681
|
+
_print_job_id?: string;
|
|
131682
|
+
_status?: string;
|
|
131683
|
+
};
|
|
131684
|
+
Returns: undefined;
|
|
131685
|
+
};
|
|
131686
|
+
logistics_slip_note_keep_waiting: {
|
|
131687
|
+
Args: {
|
|
131688
|
+
_class?: string;
|
|
131689
|
+
_id: string;
|
|
131690
|
+
_reason: string;
|
|
131691
|
+
};
|
|
131692
|
+
Returns: undefined;
|
|
131693
|
+
};
|
|
128999
131694
|
logistics_sticker_follows_slip: {
|
|
129000
131695
|
Args: never;
|
|
129001
131696
|
Returns: boolean;
|
|
129002
131697
|
};
|
|
131698
|
+
logistics_subtract_working_minutes: {
|
|
131699
|
+
Args: {
|
|
131700
|
+
p_deadline: string;
|
|
131701
|
+
p_max_workdays?: number;
|
|
131702
|
+
p_minutes: number;
|
|
131703
|
+
};
|
|
131704
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
131705
|
+
};
|
|
129003
131706
|
logistics_supersede_stale_tasks: {
|
|
129004
131707
|
Args: {
|
|
129005
131708
|
p_keep: string[];
|
|
@@ -129036,6 +131739,12 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
129036
131739
|
Args: never;
|
|
129037
131740
|
Returns: string;
|
|
129038
131741
|
};
|
|
131742
|
+
logistics_timezone_options: {
|
|
131743
|
+
Args: never;
|
|
131744
|
+
Returns: {
|
|
131745
|
+
name: string;
|
|
131746
|
+
}[];
|
|
131747
|
+
};
|
|
129039
131748
|
logistics_upsert_task: {
|
|
129040
131749
|
Args: {
|
|
129041
131750
|
p_buffer_ref: string;
|
|
@@ -129055,6 +131764,16 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
129055
131764
|
};
|
|
129056
131765
|
Returns: string;
|
|
129057
131766
|
};
|
|
131767
|
+
logistics_valid_timezone: {
|
|
131768
|
+
Args: {
|
|
131769
|
+
_tz: string;
|
|
131770
|
+
};
|
|
131771
|
+
Returns: boolean;
|
|
131772
|
+
};
|
|
131773
|
+
logistics_working_hours_status: {
|
|
131774
|
+
Args: never;
|
|
131775
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
131776
|
+
};
|
|
129058
131777
|
logistics_write_buffer_layer_positions: {
|
|
129059
131778
|
Args: {
|
|
129060
131779
|
p_buffer_id: string;
|
|
@@ -130500,6 +133219,13 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
130500
133219
|
};
|
|
130501
133220
|
Returns: number;
|
|
130502
133221
|
};
|
|
133222
|
+
schedule_floriday_catalog_prices_sync: {
|
|
133223
|
+
Args: {
|
|
133224
|
+
p_apikey: string;
|
|
133225
|
+
p_url: string;
|
|
133226
|
+
};
|
|
133227
|
+
Returns: number;
|
|
133228
|
+
};
|
|
130503
133229
|
schedule_floriday_clock_presales_sync: {
|
|
130504
133230
|
Args: {
|
|
130505
133231
|
p_apikey: string;
|
|
@@ -130800,6 +133526,10 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
130800
133526
|
};
|
|
130801
133527
|
Returns: undefined;
|
|
130802
133528
|
};
|
|
133529
|
+
sync_floriday_prices_into_price_groups: {
|
|
133530
|
+
Args: never;
|
|
133531
|
+
Returns: number;
|
|
133532
|
+
};
|
|
130803
133533
|
sync_layer_stock: {
|
|
130804
133534
|
Args: {
|
|
130805
133535
|
p_product_id: string;
|
|
@@ -136825,6 +139555,84 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
136825
139555
|
referencedColumns: ["id"];
|
|
136826
139556
|
}];
|
|
136827
139557
|
};
|
|
139558
|
+
floriday_catalog_prices_cache: {
|
|
139559
|
+
Row: {
|
|
139560
|
+
connection_id: string;
|
|
139561
|
+
created_at: string;
|
|
139562
|
+
currency: string;
|
|
139563
|
+
id: string;
|
|
139564
|
+
is_deleted: boolean;
|
|
139565
|
+
price: number | null;
|
|
139566
|
+
price_group_id: string | null;
|
|
139567
|
+
price_group_name: string | null;
|
|
139568
|
+
price_type: string;
|
|
139569
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
139570
|
+
sales_unit: string | null;
|
|
139571
|
+
sequence_number: number;
|
|
139572
|
+
supplier_article_code: string | null;
|
|
139573
|
+
supply_line_id: string;
|
|
139574
|
+
synced_at: string;
|
|
139575
|
+
trade_item_id: string | null;
|
|
139576
|
+
updated_at: string;
|
|
139577
|
+
valid_from: string | null;
|
|
139578
|
+
valid_to: string | null;
|
|
139579
|
+
week: number | null;
|
|
139580
|
+
year: number | null;
|
|
139581
|
+
};
|
|
139582
|
+
Insert: {
|
|
139583
|
+
connection_id: string;
|
|
139584
|
+
created_at?: string;
|
|
139585
|
+
currency?: string;
|
|
139586
|
+
id?: string;
|
|
139587
|
+
is_deleted?: boolean;
|
|
139588
|
+
price?: number | null;
|
|
139589
|
+
price_group_id?: string | null;
|
|
139590
|
+
price_group_name?: string | null;
|
|
139591
|
+
price_type?: string;
|
|
139592
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
139593
|
+
sales_unit?: string | null;
|
|
139594
|
+
sequence_number?: number;
|
|
139595
|
+
supplier_article_code?: string | null;
|
|
139596
|
+
supply_line_id: string;
|
|
139597
|
+
synced_at?: string;
|
|
139598
|
+
trade_item_id?: string | null;
|
|
139599
|
+
updated_at?: string;
|
|
139600
|
+
valid_from?: string | null;
|
|
139601
|
+
valid_to?: string | null;
|
|
139602
|
+
week?: number | null;
|
|
139603
|
+
year?: number | null;
|
|
139604
|
+
};
|
|
139605
|
+
Update: {
|
|
139606
|
+
connection_id?: string;
|
|
139607
|
+
created_at?: string;
|
|
139608
|
+
currency?: string;
|
|
139609
|
+
id?: string;
|
|
139610
|
+
is_deleted?: boolean;
|
|
139611
|
+
price?: number | null;
|
|
139612
|
+
price_group_id?: string | null;
|
|
139613
|
+
price_group_name?: string | null;
|
|
139614
|
+
price_type?: string;
|
|
139615
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
139616
|
+
sales_unit?: string | null;
|
|
139617
|
+
sequence_number?: number;
|
|
139618
|
+
supplier_article_code?: string | null;
|
|
139619
|
+
supply_line_id?: string;
|
|
139620
|
+
synced_at?: string;
|
|
139621
|
+
trade_item_id?: string | null;
|
|
139622
|
+
updated_at?: string;
|
|
139623
|
+
valid_from?: string | null;
|
|
139624
|
+
valid_to?: string | null;
|
|
139625
|
+
week?: number | null;
|
|
139626
|
+
year?: number | null;
|
|
139627
|
+
};
|
|
139628
|
+
Relationships: [{
|
|
139629
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
139630
|
+
columns: ["connection_id"];
|
|
139631
|
+
isOneToOne: false;
|
|
139632
|
+
referencedRelation: "floriday_connections";
|
|
139633
|
+
referencedColumns: ["id"];
|
|
139634
|
+
}];
|
|
139635
|
+
};
|
|
136828
139636
|
floriday_clock_presales_cache: {
|
|
136829
139637
|
Row: {
|
|
136830
139638
|
buyer_organization_id: string | null;
|
|
@@ -141093,22 +143901,31 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
141093
143901
|
};
|
|
141094
143902
|
logistics_floriday_push_refusals: {
|
|
141095
143903
|
Row: {
|
|
143904
|
+
action: string | null;
|
|
141096
143905
|
created_at: string;
|
|
141097
143906
|
id: string;
|
|
141098
143907
|
order_ref: string;
|
|
141099
143908
|
reason: string;
|
|
143909
|
+
source_module: string | null;
|
|
143910
|
+
source_shell: string | null;
|
|
141100
143911
|
};
|
|
141101
143912
|
Insert: {
|
|
143913
|
+
action?: string | null;
|
|
141102
143914
|
created_at?: string;
|
|
141103
143915
|
id?: string;
|
|
141104
143916
|
order_ref: string;
|
|
141105
143917
|
reason: string;
|
|
143918
|
+
source_module?: string | null;
|
|
143919
|
+
source_shell?: string | null;
|
|
141106
143920
|
};
|
|
141107
143921
|
Update: {
|
|
143922
|
+
action?: string | null;
|
|
141108
143923
|
created_at?: string;
|
|
141109
143924
|
id?: string;
|
|
141110
143925
|
order_ref?: string;
|
|
141111
143926
|
reason?: string;
|
|
143927
|
+
source_module?: string | null;
|
|
143928
|
+
source_shell?: string | null;
|
|
141112
143929
|
};
|
|
141113
143930
|
Relationships: [];
|
|
141114
143931
|
};
|
|
@@ -141187,6 +144004,42 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
141187
144004
|
};
|
|
141188
144005
|
Relationships: [];
|
|
141189
144006
|
};
|
|
144007
|
+
logistics_floriday_status_sends: {
|
|
144008
|
+
Row: {
|
|
144009
|
+
action: string;
|
|
144010
|
+
created_at: string;
|
|
144011
|
+
detail: string | null;
|
|
144012
|
+
http_status: number | null;
|
|
144013
|
+
id: string;
|
|
144014
|
+
ok: boolean;
|
|
144015
|
+
order_ref: string;
|
|
144016
|
+
source_module: string | null;
|
|
144017
|
+
source_shell: string | null;
|
|
144018
|
+
};
|
|
144019
|
+
Insert: {
|
|
144020
|
+
action: string;
|
|
144021
|
+
created_at?: string;
|
|
144022
|
+
detail?: string | null;
|
|
144023
|
+
http_status?: number | null;
|
|
144024
|
+
id?: string;
|
|
144025
|
+
ok?: boolean;
|
|
144026
|
+
order_ref: string;
|
|
144027
|
+
source_module?: string | null;
|
|
144028
|
+
source_shell?: string | null;
|
|
144029
|
+
};
|
|
144030
|
+
Update: {
|
|
144031
|
+
action?: string;
|
|
144032
|
+
created_at?: string;
|
|
144033
|
+
detail?: string | null;
|
|
144034
|
+
http_status?: number | null;
|
|
144035
|
+
id?: string;
|
|
144036
|
+
ok?: boolean;
|
|
144037
|
+
order_ref?: string;
|
|
144038
|
+
source_module?: string | null;
|
|
144039
|
+
source_shell?: string | null;
|
|
144040
|
+
};
|
|
144041
|
+
Relationships: [];
|
|
144042
|
+
};
|
|
141190
144043
|
logistics_formulas: {
|
|
141191
144044
|
Row: {
|
|
141192
144045
|
created_at: string;
|
|
@@ -141259,6 +144112,108 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
141259
144112
|
};
|
|
141260
144113
|
Relationships: [];
|
|
141261
144114
|
};
|
|
144115
|
+
logistics_opening_exceptions: {
|
|
144116
|
+
Row: {
|
|
144117
|
+
closes: string | null;
|
|
144118
|
+
created_at: string;
|
|
144119
|
+
day: string;
|
|
144120
|
+
id: string;
|
|
144121
|
+
is_closed: boolean;
|
|
144122
|
+
note: string | null;
|
|
144123
|
+
opens: string | null;
|
|
144124
|
+
};
|
|
144125
|
+
Insert: {
|
|
144126
|
+
closes?: string | null;
|
|
144127
|
+
created_at?: string;
|
|
144128
|
+
day: string;
|
|
144129
|
+
id?: string;
|
|
144130
|
+
is_closed?: boolean;
|
|
144131
|
+
note?: string | null;
|
|
144132
|
+
opens?: string | null;
|
|
144133
|
+
};
|
|
144134
|
+
Update: {
|
|
144135
|
+
closes?: string | null;
|
|
144136
|
+
created_at?: string;
|
|
144137
|
+
day?: string;
|
|
144138
|
+
id?: string;
|
|
144139
|
+
is_closed?: boolean;
|
|
144140
|
+
note?: string | null;
|
|
144141
|
+
opens?: string | null;
|
|
144142
|
+
};
|
|
144143
|
+
Relationships: [];
|
|
144144
|
+
};
|
|
144145
|
+
logistics_opening_hours: {
|
|
144146
|
+
Row: {
|
|
144147
|
+
closes: string;
|
|
144148
|
+
created_at: string;
|
|
144149
|
+
id: string;
|
|
144150
|
+
is_active: boolean;
|
|
144151
|
+
note: string | null;
|
|
144152
|
+
opens: string;
|
|
144153
|
+
weekday: number;
|
|
144154
|
+
};
|
|
144155
|
+
Insert: {
|
|
144156
|
+
closes: string;
|
|
144157
|
+
created_at?: string;
|
|
144158
|
+
id?: string;
|
|
144159
|
+
is_active?: boolean;
|
|
144160
|
+
note?: string | null;
|
|
144161
|
+
opens: string;
|
|
144162
|
+
weekday: number;
|
|
144163
|
+
};
|
|
144164
|
+
Update: {
|
|
144165
|
+
closes?: string;
|
|
144166
|
+
created_at?: string;
|
|
144167
|
+
id?: string;
|
|
144168
|
+
is_active?: boolean;
|
|
144169
|
+
note?: string | null;
|
|
144170
|
+
opens?: string;
|
|
144171
|
+
weekday?: number;
|
|
144172
|
+
};
|
|
144173
|
+
Relationships: [];
|
|
144174
|
+
};
|
|
144175
|
+
logistics_pick_data_requests: {
|
|
144176
|
+
Row: {
|
|
144177
|
+
actions: import("../integrations/supabase/types").Json;
|
|
144178
|
+
created_at: string;
|
|
144179
|
+
event_id: string | null;
|
|
144180
|
+
finished_at: string | null;
|
|
144181
|
+
id: string;
|
|
144182
|
+
missing: import("../integrations/supabase/types").Json;
|
|
144183
|
+
order_ref: string;
|
|
144184
|
+
reason: string | null;
|
|
144185
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
144186
|
+
status: string;
|
|
144187
|
+
unit_ref: string | null;
|
|
144188
|
+
};
|
|
144189
|
+
Insert: {
|
|
144190
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
144191
|
+
created_at?: string;
|
|
144192
|
+
event_id?: string | null;
|
|
144193
|
+
finished_at?: string | null;
|
|
144194
|
+
id?: string;
|
|
144195
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
144196
|
+
order_ref: string;
|
|
144197
|
+
reason?: string | null;
|
|
144198
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
144199
|
+
status?: string;
|
|
144200
|
+
unit_ref?: string | null;
|
|
144201
|
+
};
|
|
144202
|
+
Update: {
|
|
144203
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
144204
|
+
created_at?: string;
|
|
144205
|
+
event_id?: string | null;
|
|
144206
|
+
finished_at?: string | null;
|
|
144207
|
+
id?: string;
|
|
144208
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
144209
|
+
order_ref?: string;
|
|
144210
|
+
reason?: string | null;
|
|
144211
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
144212
|
+
status?: string;
|
|
144213
|
+
unit_ref?: string | null;
|
|
144214
|
+
};
|
|
144215
|
+
Relationships: [];
|
|
144216
|
+
};
|
|
141262
144217
|
logistics_pickup_moments: {
|
|
141263
144218
|
Row: {
|
|
141264
144219
|
carrier_ref: string | null;
|
|
@@ -141718,6 +144673,69 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
141718
144673
|
};
|
|
141719
144674
|
Relationships: [];
|
|
141720
144675
|
};
|
|
144676
|
+
logistics_slip_shipping_note: {
|
|
144677
|
+
Row: {
|
|
144678
|
+
attempts: number;
|
|
144679
|
+
batch_key: string | null;
|
|
144680
|
+
cart_id: string | null;
|
|
144681
|
+
created_at: string;
|
|
144682
|
+
error: string | null;
|
|
144683
|
+
error_code: string | null;
|
|
144684
|
+
fulfillment_order_id: string | null;
|
|
144685
|
+
id: string;
|
|
144686
|
+
locked_until: string | null;
|
|
144687
|
+
next_attempt_at: string | null;
|
|
144688
|
+
order_id: string | null;
|
|
144689
|
+
order_number: string | null;
|
|
144690
|
+
print_job_id: string | null;
|
|
144691
|
+
printer_id: string | null;
|
|
144692
|
+
retry_class: string | null;
|
|
144693
|
+
slip_job_id: string;
|
|
144694
|
+
status: string;
|
|
144695
|
+
updated_at: string;
|
|
144696
|
+
};
|
|
144697
|
+
Insert: {
|
|
144698
|
+
attempts?: number;
|
|
144699
|
+
batch_key?: string | null;
|
|
144700
|
+
cart_id?: string | null;
|
|
144701
|
+
created_at?: string;
|
|
144702
|
+
error?: string | null;
|
|
144703
|
+
error_code?: string | null;
|
|
144704
|
+
fulfillment_order_id?: string | null;
|
|
144705
|
+
id?: string;
|
|
144706
|
+
locked_until?: string | null;
|
|
144707
|
+
next_attempt_at?: string | null;
|
|
144708
|
+
order_id?: string | null;
|
|
144709
|
+
order_number?: string | null;
|
|
144710
|
+
print_job_id?: string | null;
|
|
144711
|
+
printer_id?: string | null;
|
|
144712
|
+
retry_class?: string | null;
|
|
144713
|
+
slip_job_id: string;
|
|
144714
|
+
status?: string;
|
|
144715
|
+
updated_at?: string;
|
|
144716
|
+
};
|
|
144717
|
+
Update: {
|
|
144718
|
+
attempts?: number;
|
|
144719
|
+
batch_key?: string | null;
|
|
144720
|
+
cart_id?: string | null;
|
|
144721
|
+
created_at?: string;
|
|
144722
|
+
error?: string | null;
|
|
144723
|
+
error_code?: string | null;
|
|
144724
|
+
fulfillment_order_id?: string | null;
|
|
144725
|
+
id?: string;
|
|
144726
|
+
locked_until?: string | null;
|
|
144727
|
+
next_attempt_at?: string | null;
|
|
144728
|
+
order_id?: string | null;
|
|
144729
|
+
order_number?: string | null;
|
|
144730
|
+
print_job_id?: string | null;
|
|
144731
|
+
printer_id?: string | null;
|
|
144732
|
+
retry_class?: string | null;
|
|
144733
|
+
slip_job_id?: string;
|
|
144734
|
+
status?: string;
|
|
144735
|
+
updated_at?: string;
|
|
144736
|
+
};
|
|
144737
|
+
Relationships: [];
|
|
144738
|
+
};
|
|
141721
144739
|
logistics_staff_planning: {
|
|
141722
144740
|
Row: {
|
|
141723
144741
|
created_at: string;
|
|
@@ -142051,6 +145069,24 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
142051
145069
|
};
|
|
142052
145070
|
Relationships: [];
|
|
142053
145071
|
};
|
|
145072
|
+
logistics_time_settings: {
|
|
145073
|
+
Row: {
|
|
145074
|
+
id: boolean;
|
|
145075
|
+
timezone: string;
|
|
145076
|
+
updated_at: string;
|
|
145077
|
+
};
|
|
145078
|
+
Insert: {
|
|
145079
|
+
id?: boolean;
|
|
145080
|
+
timezone: string;
|
|
145081
|
+
updated_at?: string;
|
|
145082
|
+
};
|
|
145083
|
+
Update: {
|
|
145084
|
+
id?: boolean;
|
|
145085
|
+
timezone?: string;
|
|
145086
|
+
updated_at?: string;
|
|
145087
|
+
};
|
|
145088
|
+
Relationships: [];
|
|
145089
|
+
};
|
|
142054
145090
|
logistics_variables: {
|
|
142055
145091
|
Row: {
|
|
142056
145092
|
created_at: string;
|
|
@@ -144441,6 +147477,7 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
144441
147477
|
customer_name: string;
|
|
144442
147478
|
deleted_at: string | null;
|
|
144443
147479
|
delivery_date: string | null;
|
|
147480
|
+
floriday_order_group_key: string | null;
|
|
144444
147481
|
floriday_sales_order_id: string | null;
|
|
144445
147482
|
id: string;
|
|
144446
147483
|
invoice_due_at: string | null;
|
|
@@ -144468,6 +147505,7 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
144468
147505
|
customer_name?: string;
|
|
144469
147506
|
deleted_at?: string | null;
|
|
144470
147507
|
delivery_date?: string | null;
|
|
147508
|
+
floriday_order_group_key?: string | null;
|
|
144471
147509
|
floriday_sales_order_id?: string | null;
|
|
144472
147510
|
id?: string;
|
|
144473
147511
|
invoice_due_at?: string | null;
|
|
@@ -144495,6 +147533,7 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
144495
147533
|
customer_name?: string;
|
|
144496
147534
|
deleted_at?: string | null;
|
|
144497
147535
|
delivery_date?: string | null;
|
|
147536
|
+
floriday_order_group_key?: string | null;
|
|
144498
147537
|
floriday_sales_order_id?: string | null;
|
|
144499
147538
|
id?: string;
|
|
144500
147539
|
invoice_due_at?: string | null;
|
|
@@ -154158,6 +157197,12 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
154158
157197
|
};
|
|
154159
157198
|
Returns: string;
|
|
154160
157199
|
};
|
|
157200
|
+
logistics_cart_checkin_at: {
|
|
157201
|
+
Args: {
|
|
157202
|
+
p_cart_id: string;
|
|
157203
|
+
};
|
|
157204
|
+
Returns: string;
|
|
157205
|
+
};
|
|
154161
157206
|
logistics_cart_handled: {
|
|
154162
157207
|
Args: {
|
|
154163
157208
|
p_cart_index: number;
|
|
@@ -154191,10 +157236,22 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
154191
157236
|
task_status: string;
|
|
154192
157237
|
}[];
|
|
154193
157238
|
};
|
|
157239
|
+
logistics_cart_is_full: {
|
|
157240
|
+
Args: {
|
|
157241
|
+
p_cart_id: string;
|
|
157242
|
+
};
|
|
157243
|
+
Returns: boolean;
|
|
157244
|
+
};
|
|
154194
157245
|
logistics_cart_layout_method: {
|
|
154195
157246
|
Args: never;
|
|
154196
157247
|
Returns: import("../integrations/supabase/types").Json;
|
|
154197
157248
|
};
|
|
157249
|
+
logistics_cart_order_refs: {
|
|
157250
|
+
Args: {
|
|
157251
|
+
p_cart_id: string;
|
|
157252
|
+
};
|
|
157253
|
+
Returns: string[];
|
|
157254
|
+
};
|
|
154198
157255
|
logistics_cart_plan_overview: {
|
|
154199
157256
|
Args: {
|
|
154200
157257
|
p_days?: number;
|
|
@@ -154214,6 +157271,18 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
154214
157271
|
};
|
|
154215
157272
|
Returns: import("../integrations/supabase/types").Json;
|
|
154216
157273
|
};
|
|
157274
|
+
logistics_cart_release_reason: {
|
|
157275
|
+
Args: {
|
|
157276
|
+
p_cart_id: string;
|
|
157277
|
+
};
|
|
157278
|
+
Returns: string;
|
|
157279
|
+
};
|
|
157280
|
+
logistics_cart_released: {
|
|
157281
|
+
Args: {
|
|
157282
|
+
p_cart_id: string;
|
|
157283
|
+
};
|
|
157284
|
+
Returns: boolean;
|
|
157285
|
+
};
|
|
154217
157286
|
logistics_cart_seq: {
|
|
154218
157287
|
Args: {
|
|
154219
157288
|
p_order_uuid?: string;
|
|
@@ -154264,6 +157333,10 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
154264
157333
|
unit_ref: string;
|
|
154265
157334
|
}[];
|
|
154266
157335
|
};
|
|
157336
|
+
logistics_carts_per_print: {
|
|
157337
|
+
Args: never;
|
|
157338
|
+
Returns: number;
|
|
157339
|
+
};
|
|
154267
157340
|
logistics_check_order_allowed: {
|
|
154268
157341
|
Args: {
|
|
154269
157342
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -154367,6 +157440,10 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
154367
157440
|
isSetofReturn: false;
|
|
154368
157441
|
};
|
|
154369
157442
|
};
|
|
157443
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
157444
|
+
Args: never;
|
|
157445
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
157446
|
+
};
|
|
154370
157447
|
logistics_complete_task: {
|
|
154371
157448
|
Args: {
|
|
154372
157449
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -154429,6 +157506,12 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
154429
157506
|
station_carts: number;
|
|
154430
157507
|
}[];
|
|
154431
157508
|
};
|
|
157509
|
+
logistics_control_complete_cart: {
|
|
157510
|
+
Args: {
|
|
157511
|
+
p_cart_id: string;
|
|
157512
|
+
};
|
|
157513
|
+
Returns: number;
|
|
157514
|
+
};
|
|
154432
157515
|
logistics_control_scan_approve: {
|
|
154433
157516
|
Args: {
|
|
154434
157517
|
p_allow_reprint?: boolean;
|
|
@@ -154508,6 +157591,15 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
154508
157591
|
Args: never;
|
|
154509
157592
|
Returns: import("../integrations/supabase/types").Json;
|
|
154510
157593
|
};
|
|
157594
|
+
logistics_day_windows: {
|
|
157595
|
+
Args: {
|
|
157596
|
+
p_day: string;
|
|
157597
|
+
};
|
|
157598
|
+
Returns: {
|
|
157599
|
+
win_end: string;
|
|
157600
|
+
win_start: string;
|
|
157601
|
+
}[];
|
|
157602
|
+
};
|
|
154511
157603
|
logistics_delay_customer_email: {
|
|
154512
157604
|
Args: {
|
|
154513
157605
|
p_customer: string;
|
|
@@ -154575,6 +157667,17 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
154575
157667
|
};
|
|
154576
157668
|
Returns: import("../integrations/supabase/types").Json;
|
|
154577
157669
|
};
|
|
157670
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
157671
|
+
Args: {
|
|
157672
|
+
_cart_id: string;
|
|
157673
|
+
_is_herprint: boolean;
|
|
157674
|
+
_printer_id: string;
|
|
157675
|
+
_queue_item_id: string;
|
|
157676
|
+
_session_id: string;
|
|
157677
|
+
_slip_job_id: string;
|
|
157678
|
+
};
|
|
157679
|
+
Returns: string;
|
|
157680
|
+
};
|
|
154578
157681
|
logistics_enqueue_sticker_with_slip: {
|
|
154579
157682
|
Args: {
|
|
154580
157683
|
_cart_id: string;
|
|
@@ -154592,6 +157695,14 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
154592
157695
|
};
|
|
154593
157696
|
Returns: string;
|
|
154594
157697
|
};
|
|
157698
|
+
logistics_ensure_pick_data: {
|
|
157699
|
+
Args: {
|
|
157700
|
+
p_event_id?: string;
|
|
157701
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
157702
|
+
p_ref: string;
|
|
157703
|
+
};
|
|
157704
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
157705
|
+
};
|
|
154595
157706
|
logistics_fail_task: {
|
|
154596
157707
|
Args: {
|
|
154597
157708
|
p_error: string;
|
|
@@ -154713,6 +157824,32 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
154713
157824
|
};
|
|
154714
157825
|
Returns: string;
|
|
154715
157826
|
};
|
|
157827
|
+
logistics_floriday_gate_status: {
|
|
157828
|
+
Args: never;
|
|
157829
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
157830
|
+
};
|
|
157831
|
+
logistics_floriday_log_refusal: {
|
|
157832
|
+
Args: {
|
|
157833
|
+
_action?: string;
|
|
157834
|
+
_module?: string;
|
|
157835
|
+
_order_ref: string;
|
|
157836
|
+
_reason: string;
|
|
157837
|
+
_shell?: string;
|
|
157838
|
+
};
|
|
157839
|
+
Returns: undefined;
|
|
157840
|
+
};
|
|
157841
|
+
logistics_floriday_log_send: {
|
|
157842
|
+
Args: {
|
|
157843
|
+
_action: string;
|
|
157844
|
+
_detail?: string;
|
|
157845
|
+
_http_status?: number;
|
|
157846
|
+
_module?: string;
|
|
157847
|
+
_ok: boolean;
|
|
157848
|
+
_order_ref: string;
|
|
157849
|
+
_shell?: string;
|
|
157850
|
+
};
|
|
157851
|
+
Returns: undefined;
|
|
157852
|
+
};
|
|
154716
157853
|
logistics_floriday_order_approved: {
|
|
154717
157854
|
Args: {
|
|
154718
157855
|
_order_ref: string;
|
|
@@ -154737,6 +157874,16 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
154737
157874
|
Args: never;
|
|
154738
157875
|
Returns: boolean;
|
|
154739
157876
|
};
|
|
157877
|
+
logistics_floriday_stock_updates_enabled: {
|
|
157878
|
+
Args: never;
|
|
157879
|
+
Returns: boolean;
|
|
157880
|
+
};
|
|
157881
|
+
logistics_floriday_write_allowed: {
|
|
157882
|
+
Args: {
|
|
157883
|
+
_action: string;
|
|
157884
|
+
};
|
|
157885
|
+
Returns: boolean;
|
|
157886
|
+
};
|
|
154740
157887
|
logistics_fulfill_barcode_requests: {
|
|
154741
157888
|
Args: {
|
|
154742
157889
|
p_limit?: number;
|
|
@@ -154779,6 +157926,12 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
154779
157926
|
};
|
|
154780
157927
|
Returns: number;
|
|
154781
157928
|
};
|
|
157929
|
+
logistics_merge_partial_carts: {
|
|
157930
|
+
Args: {
|
|
157931
|
+
p_limit?: number;
|
|
157932
|
+
};
|
|
157933
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
157934
|
+
};
|
|
154782
157935
|
logistics_next_workday_date: {
|
|
154783
157936
|
Args: {
|
|
154784
157937
|
p_date: string;
|
|
@@ -154805,6 +157958,10 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
154805
157958
|
};
|
|
154806
157959
|
Returns: string;
|
|
154807
157960
|
};
|
|
157961
|
+
logistics_opening_timezone: {
|
|
157962
|
+
Args: never;
|
|
157963
|
+
Returns: string;
|
|
157964
|
+
};
|
|
154808
157965
|
logistics_order_cart_count: {
|
|
154809
157966
|
Args: {
|
|
154810
157967
|
p_order_ref: string;
|
|
@@ -154889,6 +158046,10 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
154889
158046
|
Args: never;
|
|
154890
158047
|
Returns: import("../integrations/supabase/types").Json;
|
|
154891
158048
|
};
|
|
158049
|
+
logistics_pick_partial_mode: {
|
|
158050
|
+
Args: never;
|
|
158051
|
+
Returns: string;
|
|
158052
|
+
};
|
|
154892
158053
|
logistics_pick_start_estimate: {
|
|
154893
158054
|
Args: {
|
|
154894
158055
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -155000,6 +158161,12 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
155000
158161
|
};
|
|
155001
158162
|
Returns: number;
|
|
155002
158163
|
};
|
|
158164
|
+
logistics_prepare_pick_documents: {
|
|
158165
|
+
Args: {
|
|
158166
|
+
p_limit?: number;
|
|
158167
|
+
};
|
|
158168
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
158169
|
+
};
|
|
155003
158170
|
logistics_prune_buffer_member_queue: {
|
|
155004
158171
|
Args: never;
|
|
155005
158172
|
Returns: number;
|
|
@@ -155040,6 +158207,12 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
155040
158207
|
Args: never;
|
|
155041
158208
|
Returns: import("../integrations/supabase/types").Json;
|
|
155042
158209
|
};
|
|
158210
|
+
logistics_refresh_pick_queue_status: {
|
|
158211
|
+
Args: {
|
|
158212
|
+
p_ref: string;
|
|
158213
|
+
};
|
|
158214
|
+
Returns: number;
|
|
158215
|
+
};
|
|
155043
158216
|
logistics_refresh_pickup_moments: {
|
|
155044
158217
|
Args: {
|
|
155045
158218
|
p_weeks?: number;
|
|
@@ -155052,6 +158225,12 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
155052
158225
|
};
|
|
155053
158226
|
Returns: import("../integrations/supabase/types").Json;
|
|
155054
158227
|
};
|
|
158228
|
+
logistics_replan_all_force: {
|
|
158229
|
+
Args: {
|
|
158230
|
+
p_reason?: string;
|
|
158231
|
+
};
|
|
158232
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
158233
|
+
};
|
|
155055
158234
|
logistics_report_delay: {
|
|
155056
158235
|
Args: {
|
|
155057
158236
|
p_expected_date?: string;
|
|
@@ -155196,6 +158375,10 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
155196
158375
|
};
|
|
155197
158376
|
Returns: string;
|
|
155198
158377
|
};
|
|
158378
|
+
logistics_shipping_note_follows_slip: {
|
|
158379
|
+
Args: never;
|
|
158380
|
+
Returns: boolean;
|
|
158381
|
+
};
|
|
155199
158382
|
logistics_shipping_note_from_barcode: {
|
|
155200
158383
|
Args: {
|
|
155201
158384
|
p_allow_reprint?: boolean;
|
|
@@ -155204,10 +158387,76 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
155204
158387
|
};
|
|
155205
158388
|
Returns: import("../integrations/supabase/types").Json;
|
|
155206
158389
|
};
|
|
158390
|
+
logistics_shipping_note_job_for_slip: {
|
|
158391
|
+
Args: {
|
|
158392
|
+
_slip_job_id: string;
|
|
158393
|
+
};
|
|
158394
|
+
Returns: string;
|
|
158395
|
+
};
|
|
158396
|
+
logistics_slip_note_claim: {
|
|
158397
|
+
Args: {
|
|
158398
|
+
_lease_seconds?: number;
|
|
158399
|
+
_limit?: number;
|
|
158400
|
+
};
|
|
158401
|
+
Returns: {
|
|
158402
|
+
attempts: number;
|
|
158403
|
+
batch_key: string | null;
|
|
158404
|
+
cart_id: string | null;
|
|
158405
|
+
created_at: string;
|
|
158406
|
+
error: string | null;
|
|
158407
|
+
error_code: string | null;
|
|
158408
|
+
fulfillment_order_id: string | null;
|
|
158409
|
+
id: string;
|
|
158410
|
+
locked_until: string | null;
|
|
158411
|
+
next_attempt_at: string | null;
|
|
158412
|
+
order_id: string | null;
|
|
158413
|
+
order_number: string | null;
|
|
158414
|
+
print_job_id: string | null;
|
|
158415
|
+
printer_id: string | null;
|
|
158416
|
+
retry_class: string | null;
|
|
158417
|
+
slip_job_id: string;
|
|
158418
|
+
status: string;
|
|
158419
|
+
updated_at: string;
|
|
158420
|
+
}[];
|
|
158421
|
+
SetofOptions: {
|
|
158422
|
+
from: "*";
|
|
158423
|
+
to: "logistics_slip_shipping_note";
|
|
158424
|
+
isOneToOne: false;
|
|
158425
|
+
isSetofReturn: true;
|
|
158426
|
+
};
|
|
158427
|
+
};
|
|
158428
|
+
logistics_slip_note_finish: {
|
|
158429
|
+
Args: {
|
|
158430
|
+
_error?: string;
|
|
158431
|
+
_error_code?: string;
|
|
158432
|
+
_fulfillment_order_id?: string;
|
|
158433
|
+
_id: string;
|
|
158434
|
+
_ok: boolean;
|
|
158435
|
+
_print_job_id?: string;
|
|
158436
|
+
_status?: string;
|
|
158437
|
+
};
|
|
158438
|
+
Returns: undefined;
|
|
158439
|
+
};
|
|
158440
|
+
logistics_slip_note_keep_waiting: {
|
|
158441
|
+
Args: {
|
|
158442
|
+
_class?: string;
|
|
158443
|
+
_id: string;
|
|
158444
|
+
_reason: string;
|
|
158445
|
+
};
|
|
158446
|
+
Returns: undefined;
|
|
158447
|
+
};
|
|
155207
158448
|
logistics_sticker_follows_slip: {
|
|
155208
158449
|
Args: never;
|
|
155209
158450
|
Returns: boolean;
|
|
155210
158451
|
};
|
|
158452
|
+
logistics_subtract_working_minutes: {
|
|
158453
|
+
Args: {
|
|
158454
|
+
p_deadline: string;
|
|
158455
|
+
p_max_workdays?: number;
|
|
158456
|
+
p_minutes: number;
|
|
158457
|
+
};
|
|
158458
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
158459
|
+
};
|
|
155211
158460
|
logistics_supersede_stale_tasks: {
|
|
155212
158461
|
Args: {
|
|
155213
158462
|
p_keep: string[];
|
|
@@ -155244,6 +158493,12 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
155244
158493
|
Args: never;
|
|
155245
158494
|
Returns: string;
|
|
155246
158495
|
};
|
|
158496
|
+
logistics_timezone_options: {
|
|
158497
|
+
Args: never;
|
|
158498
|
+
Returns: {
|
|
158499
|
+
name: string;
|
|
158500
|
+
}[];
|
|
158501
|
+
};
|
|
155247
158502
|
logistics_upsert_task: {
|
|
155248
158503
|
Args: {
|
|
155249
158504
|
p_buffer_ref: string;
|
|
@@ -155263,6 +158518,16 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
155263
158518
|
};
|
|
155264
158519
|
Returns: string;
|
|
155265
158520
|
};
|
|
158521
|
+
logistics_valid_timezone: {
|
|
158522
|
+
Args: {
|
|
158523
|
+
_tz: string;
|
|
158524
|
+
};
|
|
158525
|
+
Returns: boolean;
|
|
158526
|
+
};
|
|
158527
|
+
logistics_working_hours_status: {
|
|
158528
|
+
Args: never;
|
|
158529
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
158530
|
+
};
|
|
155266
158531
|
logistics_write_buffer_layer_positions: {
|
|
155267
158532
|
Args: {
|
|
155268
158533
|
p_buffer_id: string;
|
|
@@ -156708,6 +159973,13 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
156708
159973
|
};
|
|
156709
159974
|
Returns: number;
|
|
156710
159975
|
};
|
|
159976
|
+
schedule_floriday_catalog_prices_sync: {
|
|
159977
|
+
Args: {
|
|
159978
|
+
p_apikey: string;
|
|
159979
|
+
p_url: string;
|
|
159980
|
+
};
|
|
159981
|
+
Returns: number;
|
|
159982
|
+
};
|
|
156711
159983
|
schedule_floriday_clock_presales_sync: {
|
|
156712
159984
|
Args: {
|
|
156713
159985
|
p_apikey: string;
|
|
@@ -157008,6 +160280,10 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
157008
160280
|
};
|
|
157009
160281
|
Returns: undefined;
|
|
157010
160282
|
};
|
|
160283
|
+
sync_floriday_prices_into_price_groups: {
|
|
160284
|
+
Args: never;
|
|
160285
|
+
Returns: number;
|
|
160286
|
+
};
|
|
157011
160287
|
sync_layer_stock: {
|
|
157012
160288
|
Args: {
|
|
157013
160289
|
p_product_id: string;
|