@flowselections/scan-module 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/scanners/EindcontroleScanner.d.ts.map +1 -1
- package/dist-lib/components/scanners/EindcontroleScanner.js +22 -3
- package/dist-lib/hooks/useScanEngine.d.ts.map +1 -1
- package/dist-lib/hooks/useScanEngine.js +105 -77
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +933 -19
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +933 -19
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +933 -19
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +933 -17
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2155,6 +2155,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2155
2155
|
created_at: string;
|
|
2156
2156
|
currency: string;
|
|
2157
2157
|
distribute_over: string | null;
|
|
2158
|
+
external_id: string | null;
|
|
2159
|
+
external_synced_at: string | null;
|
|
2158
2160
|
group_type: string;
|
|
2159
2161
|
handling_fee: number | null;
|
|
2160
2162
|
id: string;
|
|
@@ -2167,6 +2169,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2167
2169
|
rounding: string;
|
|
2168
2170
|
rounding_step: number;
|
|
2169
2171
|
sort_order: number;
|
|
2172
|
+
source: string;
|
|
2170
2173
|
unit: string;
|
|
2171
2174
|
updated_at: string;
|
|
2172
2175
|
};
|
|
@@ -2177,6 +2180,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2177
2180
|
created_at?: string;
|
|
2178
2181
|
currency?: string;
|
|
2179
2182
|
distribute_over?: string | null;
|
|
2183
|
+
external_id?: string | null;
|
|
2184
|
+
external_synced_at?: string | null;
|
|
2180
2185
|
group_type?: string;
|
|
2181
2186
|
handling_fee?: number | null;
|
|
2182
2187
|
id?: string;
|
|
@@ -2189,6 +2194,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2189
2194
|
rounding?: string;
|
|
2190
2195
|
rounding_step?: number;
|
|
2191
2196
|
sort_order?: number;
|
|
2197
|
+
source?: string;
|
|
2192
2198
|
unit?: string;
|
|
2193
2199
|
updated_at?: string;
|
|
2194
2200
|
};
|
|
@@ -2199,6 +2205,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2199
2205
|
created_at?: string;
|
|
2200
2206
|
currency?: string;
|
|
2201
2207
|
distribute_over?: string | null;
|
|
2208
|
+
external_id?: string | null;
|
|
2209
|
+
external_synced_at?: string | null;
|
|
2202
2210
|
group_type?: string;
|
|
2203
2211
|
handling_fee?: number | null;
|
|
2204
2212
|
id?: string;
|
|
@@ -2211,6 +2219,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2211
2219
|
rounding?: string;
|
|
2212
2220
|
rounding_step?: number;
|
|
2213
2221
|
sort_order?: number;
|
|
2222
|
+
source?: string;
|
|
2214
2223
|
unit?: string;
|
|
2215
2224
|
updated_at?: string;
|
|
2216
2225
|
};
|
|
@@ -5801,6 +5810,84 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
5801
5810
|
referencedColumns: ["id"];
|
|
5802
5811
|
}];
|
|
5803
5812
|
};
|
|
5813
|
+
floriday_catalog_prices_cache: {
|
|
5814
|
+
Row: {
|
|
5815
|
+
connection_id: string;
|
|
5816
|
+
created_at: string;
|
|
5817
|
+
currency: string;
|
|
5818
|
+
id: string;
|
|
5819
|
+
is_deleted: boolean;
|
|
5820
|
+
price: number | null;
|
|
5821
|
+
price_group_id: string | null;
|
|
5822
|
+
price_group_name: string | null;
|
|
5823
|
+
price_type: string;
|
|
5824
|
+
raw: import("./types").Json | null;
|
|
5825
|
+
sales_unit: string | null;
|
|
5826
|
+
sequence_number: number;
|
|
5827
|
+
supplier_article_code: string | null;
|
|
5828
|
+
supply_line_id: string;
|
|
5829
|
+
synced_at: string;
|
|
5830
|
+
trade_item_id: string | null;
|
|
5831
|
+
updated_at: string;
|
|
5832
|
+
valid_from: string | null;
|
|
5833
|
+
valid_to: string | null;
|
|
5834
|
+
week: number | null;
|
|
5835
|
+
year: number | null;
|
|
5836
|
+
};
|
|
5837
|
+
Insert: {
|
|
5838
|
+
connection_id: string;
|
|
5839
|
+
created_at?: string;
|
|
5840
|
+
currency?: string;
|
|
5841
|
+
id?: string;
|
|
5842
|
+
is_deleted?: boolean;
|
|
5843
|
+
price?: number | null;
|
|
5844
|
+
price_group_id?: string | null;
|
|
5845
|
+
price_group_name?: string | null;
|
|
5846
|
+
price_type?: string;
|
|
5847
|
+
raw?: import("./types").Json | null;
|
|
5848
|
+
sales_unit?: string | null;
|
|
5849
|
+
sequence_number?: number;
|
|
5850
|
+
supplier_article_code?: string | null;
|
|
5851
|
+
supply_line_id: string;
|
|
5852
|
+
synced_at?: string;
|
|
5853
|
+
trade_item_id?: string | null;
|
|
5854
|
+
updated_at?: string;
|
|
5855
|
+
valid_from?: string | null;
|
|
5856
|
+
valid_to?: string | null;
|
|
5857
|
+
week?: number | null;
|
|
5858
|
+
year?: number | null;
|
|
5859
|
+
};
|
|
5860
|
+
Update: {
|
|
5861
|
+
connection_id?: string;
|
|
5862
|
+
created_at?: string;
|
|
5863
|
+
currency?: string;
|
|
5864
|
+
id?: string;
|
|
5865
|
+
is_deleted?: boolean;
|
|
5866
|
+
price?: number | null;
|
|
5867
|
+
price_group_id?: string | null;
|
|
5868
|
+
price_group_name?: string | null;
|
|
5869
|
+
price_type?: string;
|
|
5870
|
+
raw?: import("./types").Json | null;
|
|
5871
|
+
sales_unit?: string | null;
|
|
5872
|
+
sequence_number?: number;
|
|
5873
|
+
supplier_article_code?: string | null;
|
|
5874
|
+
supply_line_id?: string;
|
|
5875
|
+
synced_at?: string;
|
|
5876
|
+
trade_item_id?: string | null;
|
|
5877
|
+
updated_at?: string;
|
|
5878
|
+
valid_from?: string | null;
|
|
5879
|
+
valid_to?: string | null;
|
|
5880
|
+
week?: number | null;
|
|
5881
|
+
year?: number | null;
|
|
5882
|
+
};
|
|
5883
|
+
Relationships: [{
|
|
5884
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
5885
|
+
columns: ["connection_id"];
|
|
5886
|
+
isOneToOne: false;
|
|
5887
|
+
referencedRelation: "floriday_connections";
|
|
5888
|
+
referencedColumns: ["id"];
|
|
5889
|
+
}];
|
|
5890
|
+
};
|
|
5804
5891
|
floriday_clock_presales_cache: {
|
|
5805
5892
|
Row: {
|
|
5806
5893
|
buyer_organization_id: string | null;
|
|
@@ -9074,6 +9161,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9074
9161
|
referencedColumns: ["id"];
|
|
9075
9162
|
}];
|
|
9076
9163
|
};
|
|
9164
|
+
job_locks: {
|
|
9165
|
+
Row: {
|
|
9166
|
+
created_at: string;
|
|
9167
|
+
lock_key: string;
|
|
9168
|
+
locked_until: string;
|
|
9169
|
+
owner: string | null;
|
|
9170
|
+
updated_at: string;
|
|
9171
|
+
};
|
|
9172
|
+
Insert: {
|
|
9173
|
+
created_at?: string;
|
|
9174
|
+
lock_key: string;
|
|
9175
|
+
locked_until: string;
|
|
9176
|
+
owner?: string | null;
|
|
9177
|
+
updated_at?: string;
|
|
9178
|
+
};
|
|
9179
|
+
Update: {
|
|
9180
|
+
created_at?: string;
|
|
9181
|
+
lock_key?: string;
|
|
9182
|
+
locked_until?: string;
|
|
9183
|
+
owner?: string | null;
|
|
9184
|
+
updated_at?: string;
|
|
9185
|
+
};
|
|
9186
|
+
Relationships: [];
|
|
9187
|
+
};
|
|
9077
9188
|
layout_logos: {
|
|
9078
9189
|
Row: {
|
|
9079
9190
|
bestand_url: string;
|
|
@@ -10043,6 +10154,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10043
10154
|
};
|
|
10044
10155
|
Relationships: [];
|
|
10045
10156
|
};
|
|
10157
|
+
logistics_floriday_push_refusals: {
|
|
10158
|
+
Row: {
|
|
10159
|
+
action: string | null;
|
|
10160
|
+
created_at: string;
|
|
10161
|
+
id: string;
|
|
10162
|
+
order_ref: string;
|
|
10163
|
+
reason: string;
|
|
10164
|
+
source_module: string | null;
|
|
10165
|
+
source_shell: string | null;
|
|
10166
|
+
};
|
|
10167
|
+
Insert: {
|
|
10168
|
+
action?: string | null;
|
|
10169
|
+
created_at?: string;
|
|
10170
|
+
id?: string;
|
|
10171
|
+
order_ref: string;
|
|
10172
|
+
reason: string;
|
|
10173
|
+
source_module?: string | null;
|
|
10174
|
+
source_shell?: string | null;
|
|
10175
|
+
};
|
|
10176
|
+
Update: {
|
|
10177
|
+
action?: string | null;
|
|
10178
|
+
created_at?: string;
|
|
10179
|
+
id?: string;
|
|
10180
|
+
order_ref?: string;
|
|
10181
|
+
reason?: string;
|
|
10182
|
+
source_module?: string | null;
|
|
10183
|
+
source_shell?: string | null;
|
|
10184
|
+
};
|
|
10185
|
+
Relationships: [];
|
|
10186
|
+
};
|
|
10046
10187
|
logistics_floriday_pushes: {
|
|
10047
10188
|
Row: {
|
|
10048
10189
|
attempts: number;
|
|
@@ -10118,6 +10259,42 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10118
10259
|
};
|
|
10119
10260
|
Relationships: [];
|
|
10120
10261
|
};
|
|
10262
|
+
logistics_floriday_status_sends: {
|
|
10263
|
+
Row: {
|
|
10264
|
+
action: string;
|
|
10265
|
+
created_at: string;
|
|
10266
|
+
detail: string | null;
|
|
10267
|
+
http_status: number | null;
|
|
10268
|
+
id: string;
|
|
10269
|
+
ok: boolean;
|
|
10270
|
+
order_ref: string;
|
|
10271
|
+
source_module: string | null;
|
|
10272
|
+
source_shell: string | null;
|
|
10273
|
+
};
|
|
10274
|
+
Insert: {
|
|
10275
|
+
action: string;
|
|
10276
|
+
created_at?: string;
|
|
10277
|
+
detail?: string | null;
|
|
10278
|
+
http_status?: number | null;
|
|
10279
|
+
id?: string;
|
|
10280
|
+
ok?: boolean;
|
|
10281
|
+
order_ref: string;
|
|
10282
|
+
source_module?: string | null;
|
|
10283
|
+
source_shell?: string | null;
|
|
10284
|
+
};
|
|
10285
|
+
Update: {
|
|
10286
|
+
action?: string;
|
|
10287
|
+
created_at?: string;
|
|
10288
|
+
detail?: string | null;
|
|
10289
|
+
http_status?: number | null;
|
|
10290
|
+
id?: string;
|
|
10291
|
+
ok?: boolean;
|
|
10292
|
+
order_ref?: string;
|
|
10293
|
+
source_module?: string | null;
|
|
10294
|
+
source_shell?: string | null;
|
|
10295
|
+
};
|
|
10296
|
+
Relationships: [];
|
|
10297
|
+
};
|
|
10121
10298
|
logistics_formulas: {
|
|
10122
10299
|
Row: {
|
|
10123
10300
|
created_at: string;
|
|
@@ -10190,6 +10367,108 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10190
10367
|
};
|
|
10191
10368
|
Relationships: [];
|
|
10192
10369
|
};
|
|
10370
|
+
logistics_opening_exceptions: {
|
|
10371
|
+
Row: {
|
|
10372
|
+
closes: string | null;
|
|
10373
|
+
created_at: string;
|
|
10374
|
+
day: string;
|
|
10375
|
+
id: string;
|
|
10376
|
+
is_closed: boolean;
|
|
10377
|
+
note: string | null;
|
|
10378
|
+
opens: string | null;
|
|
10379
|
+
};
|
|
10380
|
+
Insert: {
|
|
10381
|
+
closes?: string | null;
|
|
10382
|
+
created_at?: string;
|
|
10383
|
+
day: string;
|
|
10384
|
+
id?: string;
|
|
10385
|
+
is_closed?: boolean;
|
|
10386
|
+
note?: string | null;
|
|
10387
|
+
opens?: string | null;
|
|
10388
|
+
};
|
|
10389
|
+
Update: {
|
|
10390
|
+
closes?: string | null;
|
|
10391
|
+
created_at?: string;
|
|
10392
|
+
day?: string;
|
|
10393
|
+
id?: string;
|
|
10394
|
+
is_closed?: boolean;
|
|
10395
|
+
note?: string | null;
|
|
10396
|
+
opens?: string | null;
|
|
10397
|
+
};
|
|
10398
|
+
Relationships: [];
|
|
10399
|
+
};
|
|
10400
|
+
logistics_opening_hours: {
|
|
10401
|
+
Row: {
|
|
10402
|
+
closes: string;
|
|
10403
|
+
created_at: string;
|
|
10404
|
+
id: string;
|
|
10405
|
+
is_active: boolean;
|
|
10406
|
+
note: string | null;
|
|
10407
|
+
opens: string;
|
|
10408
|
+
weekday: number;
|
|
10409
|
+
};
|
|
10410
|
+
Insert: {
|
|
10411
|
+
closes: string;
|
|
10412
|
+
created_at?: string;
|
|
10413
|
+
id?: string;
|
|
10414
|
+
is_active?: boolean;
|
|
10415
|
+
note?: string | null;
|
|
10416
|
+
opens: string;
|
|
10417
|
+
weekday: number;
|
|
10418
|
+
};
|
|
10419
|
+
Update: {
|
|
10420
|
+
closes?: string;
|
|
10421
|
+
created_at?: string;
|
|
10422
|
+
id?: string;
|
|
10423
|
+
is_active?: boolean;
|
|
10424
|
+
note?: string | null;
|
|
10425
|
+
opens?: string;
|
|
10426
|
+
weekday?: number;
|
|
10427
|
+
};
|
|
10428
|
+
Relationships: [];
|
|
10429
|
+
};
|
|
10430
|
+
logistics_pick_data_requests: {
|
|
10431
|
+
Row: {
|
|
10432
|
+
actions: import("./types").Json;
|
|
10433
|
+
created_at: string;
|
|
10434
|
+
event_id: string | null;
|
|
10435
|
+
finished_at: string | null;
|
|
10436
|
+
id: string;
|
|
10437
|
+
missing: import("./types").Json;
|
|
10438
|
+
order_ref: string;
|
|
10439
|
+
reason: string | null;
|
|
10440
|
+
result: import("./types").Json | null;
|
|
10441
|
+
status: string;
|
|
10442
|
+
unit_ref: string | null;
|
|
10443
|
+
};
|
|
10444
|
+
Insert: {
|
|
10445
|
+
actions?: import("./types").Json;
|
|
10446
|
+
created_at?: string;
|
|
10447
|
+
event_id?: string | null;
|
|
10448
|
+
finished_at?: string | null;
|
|
10449
|
+
id?: string;
|
|
10450
|
+
missing?: import("./types").Json;
|
|
10451
|
+
order_ref: string;
|
|
10452
|
+
reason?: string | null;
|
|
10453
|
+
result?: import("./types").Json | null;
|
|
10454
|
+
status?: string;
|
|
10455
|
+
unit_ref?: string | null;
|
|
10456
|
+
};
|
|
10457
|
+
Update: {
|
|
10458
|
+
actions?: import("./types").Json;
|
|
10459
|
+
created_at?: string;
|
|
10460
|
+
event_id?: string | null;
|
|
10461
|
+
finished_at?: string | null;
|
|
10462
|
+
id?: string;
|
|
10463
|
+
missing?: import("./types").Json;
|
|
10464
|
+
order_ref?: string;
|
|
10465
|
+
reason?: string | null;
|
|
10466
|
+
result?: import("./types").Json | null;
|
|
10467
|
+
status?: string;
|
|
10468
|
+
unit_ref?: string | null;
|
|
10469
|
+
};
|
|
10470
|
+
Relationships: [];
|
|
10471
|
+
};
|
|
10193
10472
|
logistics_pickup_moments: {
|
|
10194
10473
|
Row: {
|
|
10195
10474
|
carrier_ref: string | null;
|
|
@@ -10236,6 +10515,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10236
10515
|
next_attempt_at: string;
|
|
10237
10516
|
order_id: string;
|
|
10238
10517
|
reason: string;
|
|
10518
|
+
reason_code: string | null;
|
|
10239
10519
|
status: string;
|
|
10240
10520
|
updated_at: string;
|
|
10241
10521
|
};
|
|
@@ -10248,6 +10528,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10248
10528
|
next_attempt_at?: string;
|
|
10249
10529
|
order_id: string;
|
|
10250
10530
|
reason?: string;
|
|
10531
|
+
reason_code?: string | null;
|
|
10251
10532
|
status?: string;
|
|
10252
10533
|
updated_at?: string;
|
|
10253
10534
|
};
|
|
@@ -10260,6 +10541,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10260
10541
|
next_attempt_at?: string;
|
|
10261
10542
|
order_id?: string;
|
|
10262
10543
|
reason?: string;
|
|
10544
|
+
reason_code?: string | null;
|
|
10263
10545
|
status?: string;
|
|
10264
10546
|
updated_at?: string;
|
|
10265
10547
|
};
|
|
@@ -10646,38 +10928,101 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10646
10928
|
};
|
|
10647
10929
|
Relationships: [];
|
|
10648
10930
|
};
|
|
10649
|
-
|
|
10931
|
+
logistics_slip_shipping_note: {
|
|
10650
10932
|
Row: {
|
|
10933
|
+
attempts: number;
|
|
10934
|
+
batch_key: string | null;
|
|
10935
|
+
cart_id: string | null;
|
|
10651
10936
|
created_at: string;
|
|
10652
|
-
|
|
10937
|
+
error: string | null;
|
|
10938
|
+
error_code: string | null;
|
|
10939
|
+
fulfillment_order_id: string | null;
|
|
10653
10940
|
id: string;
|
|
10654
|
-
|
|
10655
|
-
|
|
10656
|
-
|
|
10657
|
-
|
|
10658
|
-
|
|
10941
|
+
locked_until: string | null;
|
|
10942
|
+
next_attempt_at: string | null;
|
|
10943
|
+
order_id: string | null;
|
|
10944
|
+
order_number: string | null;
|
|
10945
|
+
print_job_id: string | null;
|
|
10946
|
+
printer_id: string | null;
|
|
10947
|
+
retry_class: string | null;
|
|
10948
|
+
slip_job_id: string;
|
|
10949
|
+
status: string;
|
|
10659
10950
|
updated_at: string;
|
|
10660
|
-
user_id: string;
|
|
10661
10951
|
};
|
|
10662
10952
|
Insert: {
|
|
10953
|
+
attempts?: number;
|
|
10954
|
+
batch_key?: string | null;
|
|
10955
|
+
cart_id?: string | null;
|
|
10663
10956
|
created_at?: string;
|
|
10664
|
-
|
|
10957
|
+
error?: string | null;
|
|
10958
|
+
error_code?: string | null;
|
|
10959
|
+
fulfillment_order_id?: string | null;
|
|
10665
10960
|
id?: string;
|
|
10666
|
-
|
|
10667
|
-
|
|
10668
|
-
|
|
10669
|
-
|
|
10670
|
-
|
|
10961
|
+
locked_until?: string | null;
|
|
10962
|
+
next_attempt_at?: string | null;
|
|
10963
|
+
order_id?: string | null;
|
|
10964
|
+
order_number?: string | null;
|
|
10965
|
+
print_job_id?: string | null;
|
|
10966
|
+
printer_id?: string | null;
|
|
10967
|
+
retry_class?: string | null;
|
|
10968
|
+
slip_job_id: string;
|
|
10969
|
+
status?: string;
|
|
10671
10970
|
updated_at?: string;
|
|
10672
|
-
user_id?: string;
|
|
10673
10971
|
};
|
|
10674
10972
|
Update: {
|
|
10973
|
+
attempts?: number;
|
|
10974
|
+
batch_key?: string | null;
|
|
10975
|
+
cart_id?: string | null;
|
|
10675
10976
|
created_at?: string;
|
|
10676
|
-
|
|
10977
|
+
error?: string | null;
|
|
10978
|
+
error_code?: string | null;
|
|
10979
|
+
fulfillment_order_id?: string | null;
|
|
10677
10980
|
id?: string;
|
|
10678
|
-
|
|
10679
|
-
|
|
10680
|
-
|
|
10981
|
+
locked_until?: string | null;
|
|
10982
|
+
next_attempt_at?: string | null;
|
|
10983
|
+
order_id?: string | null;
|
|
10984
|
+
order_number?: string | null;
|
|
10985
|
+
print_job_id?: string | null;
|
|
10986
|
+
printer_id?: string | null;
|
|
10987
|
+
retry_class?: string | null;
|
|
10988
|
+
slip_job_id?: string;
|
|
10989
|
+
status?: string;
|
|
10990
|
+
updated_at?: string;
|
|
10991
|
+
};
|
|
10992
|
+
Relationships: [];
|
|
10993
|
+
};
|
|
10994
|
+
logistics_staff_planning: {
|
|
10995
|
+
Row: {
|
|
10996
|
+
created_at: string;
|
|
10997
|
+
end_time: string;
|
|
10998
|
+
id: string;
|
|
10999
|
+
note: string | null;
|
|
11000
|
+
plan_date: string;
|
|
11001
|
+
source_module: string | null;
|
|
11002
|
+
staff_count: number;
|
|
11003
|
+
start_time: string;
|
|
11004
|
+
updated_at: string;
|
|
11005
|
+
user_id: string;
|
|
11006
|
+
};
|
|
11007
|
+
Insert: {
|
|
11008
|
+
created_at?: string;
|
|
11009
|
+
end_time?: string;
|
|
11010
|
+
id?: string;
|
|
11011
|
+
note?: string | null;
|
|
11012
|
+
plan_date: string;
|
|
11013
|
+
source_module?: string | null;
|
|
11014
|
+
staff_count?: number;
|
|
11015
|
+
start_time?: string;
|
|
11016
|
+
updated_at?: string;
|
|
11017
|
+
user_id?: string;
|
|
11018
|
+
};
|
|
11019
|
+
Update: {
|
|
11020
|
+
created_at?: string;
|
|
11021
|
+
end_time?: string;
|
|
11022
|
+
id?: string;
|
|
11023
|
+
note?: string | null;
|
|
11024
|
+
plan_date?: string;
|
|
11025
|
+
source_module?: string | null;
|
|
10681
11026
|
staff_count?: number;
|
|
10682
11027
|
start_time?: string;
|
|
10683
11028
|
updated_at?: string;
|
|
@@ -10964,6 +11309,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10964
11309
|
referencedColumns: ["id"];
|
|
10965
11310
|
}];
|
|
10966
11311
|
};
|
|
11312
|
+
logistics_tick_heartbeat: {
|
|
11313
|
+
Row: {
|
|
11314
|
+
id: boolean;
|
|
11315
|
+
last_tick_at: string;
|
|
11316
|
+
};
|
|
11317
|
+
Insert: {
|
|
11318
|
+
id?: boolean;
|
|
11319
|
+
last_tick_at?: string;
|
|
11320
|
+
};
|
|
11321
|
+
Update: {
|
|
11322
|
+
id?: boolean;
|
|
11323
|
+
last_tick_at?: string;
|
|
11324
|
+
};
|
|
11325
|
+
Relationships: [];
|
|
11326
|
+
};
|
|
11327
|
+
logistics_time_settings: {
|
|
11328
|
+
Row: {
|
|
11329
|
+
id: boolean;
|
|
11330
|
+
timezone: string;
|
|
11331
|
+
updated_at: string;
|
|
11332
|
+
};
|
|
11333
|
+
Insert: {
|
|
11334
|
+
id?: boolean;
|
|
11335
|
+
timezone: string;
|
|
11336
|
+
updated_at?: string;
|
|
11337
|
+
};
|
|
11338
|
+
Update: {
|
|
11339
|
+
id?: boolean;
|
|
11340
|
+
timezone?: string;
|
|
11341
|
+
updated_at?: string;
|
|
11342
|
+
};
|
|
11343
|
+
Relationships: [];
|
|
11344
|
+
};
|
|
10967
11345
|
logistics_variables: {
|
|
10968
11346
|
Row: {
|
|
10969
11347
|
created_at: string;
|
|
@@ -13354,6 +13732,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13354
13732
|
customer_name: string;
|
|
13355
13733
|
deleted_at: string | null;
|
|
13356
13734
|
delivery_date: string | null;
|
|
13735
|
+
floriday_order_group_key: string | null;
|
|
13357
13736
|
floriday_sales_order_id: string | null;
|
|
13358
13737
|
id: string;
|
|
13359
13738
|
invoice_due_at: string | null;
|
|
@@ -13381,6 +13760,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13381
13760
|
customer_name?: string;
|
|
13382
13761
|
deleted_at?: string | null;
|
|
13383
13762
|
delivery_date?: string | null;
|
|
13763
|
+
floriday_order_group_key?: string | null;
|
|
13384
13764
|
floriday_sales_order_id?: string | null;
|
|
13385
13765
|
id?: string;
|
|
13386
13766
|
invoice_due_at?: string | null;
|
|
@@ -13408,6 +13788,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13408
13788
|
customer_name?: string;
|
|
13409
13789
|
deleted_at?: string | null;
|
|
13410
13790
|
delivery_date?: string | null;
|
|
13791
|
+
floriday_order_group_key?: string | null;
|
|
13411
13792
|
floriday_sales_order_id?: string | null;
|
|
13412
13793
|
id?: string;
|
|
13413
13794
|
invoice_due_at?: string | null;
|
|
@@ -13601,6 +13982,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13601
13982
|
};
|
|
13602
13983
|
Relationships: [];
|
|
13603
13984
|
};
|
|
13985
|
+
pick_buffer_event_cursor: {
|
|
13986
|
+
Row: {
|
|
13987
|
+
created_at: string;
|
|
13988
|
+
id: boolean;
|
|
13989
|
+
last_event_at: string;
|
|
13990
|
+
updated_at: string;
|
|
13991
|
+
};
|
|
13992
|
+
Insert: {
|
|
13993
|
+
created_at?: string;
|
|
13994
|
+
id?: boolean;
|
|
13995
|
+
last_event_at?: string;
|
|
13996
|
+
updated_at?: string;
|
|
13997
|
+
};
|
|
13998
|
+
Update: {
|
|
13999
|
+
created_at?: string;
|
|
14000
|
+
id?: boolean;
|
|
14001
|
+
last_event_at?: string;
|
|
14002
|
+
updated_at?: string;
|
|
14003
|
+
};
|
|
14004
|
+
Relationships: [];
|
|
14005
|
+
};
|
|
13604
14006
|
pick_countries: {
|
|
13605
14007
|
Row: {
|
|
13606
14008
|
active: boolean;
|
|
@@ -19250,6 +19652,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19250
19652
|
referencedColumns: ["id"];
|
|
19251
19653
|
}];
|
|
19252
19654
|
};
|
|
19655
|
+
voorraad_buffer_state: {
|
|
19656
|
+
Row: {
|
|
19657
|
+
buffer_id: string;
|
|
19658
|
+
buffer_key: string | null;
|
|
19659
|
+
closed_at: string | null;
|
|
19660
|
+
created_at: string;
|
|
19661
|
+
detached_orders: import("./types").Json;
|
|
19662
|
+
reason: string | null;
|
|
19663
|
+
updated_at: string;
|
|
19664
|
+
};
|
|
19665
|
+
Insert: {
|
|
19666
|
+
buffer_id: string;
|
|
19667
|
+
buffer_key?: string | null;
|
|
19668
|
+
closed_at?: string | null;
|
|
19669
|
+
created_at?: string;
|
|
19670
|
+
detached_orders?: import("./types").Json;
|
|
19671
|
+
reason?: string | null;
|
|
19672
|
+
updated_at?: string;
|
|
19673
|
+
};
|
|
19674
|
+
Update: {
|
|
19675
|
+
buffer_id?: string;
|
|
19676
|
+
buffer_key?: string | null;
|
|
19677
|
+
closed_at?: string | null;
|
|
19678
|
+
created_at?: string;
|
|
19679
|
+
detached_orders?: import("./types").Json;
|
|
19680
|
+
reason?: string | null;
|
|
19681
|
+
updated_at?: string;
|
|
19682
|
+
};
|
|
19683
|
+
Relationships: [];
|
|
19684
|
+
};
|
|
19253
19685
|
voorraad_custom_fields: {
|
|
19254
19686
|
Row: {
|
|
19255
19687
|
created_at: string;
|
|
@@ -19292,6 +19724,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19292
19724
|
};
|
|
19293
19725
|
Relationships: [];
|
|
19294
19726
|
};
|
|
19727
|
+
voorraad_logistics_event_log: {
|
|
19728
|
+
Row: {
|
|
19729
|
+
created_at: string;
|
|
19730
|
+
event_id: string;
|
|
19731
|
+
event_type: string;
|
|
19732
|
+
order_ref: string | null;
|
|
19733
|
+
processed_at: string;
|
|
19734
|
+
result: import("./types").Json;
|
|
19735
|
+
updated_at: string;
|
|
19736
|
+
};
|
|
19737
|
+
Insert: {
|
|
19738
|
+
created_at?: string;
|
|
19739
|
+
event_id: string;
|
|
19740
|
+
event_type: string;
|
|
19741
|
+
order_ref?: string | null;
|
|
19742
|
+
processed_at?: string;
|
|
19743
|
+
result?: import("./types").Json;
|
|
19744
|
+
updated_at?: string;
|
|
19745
|
+
};
|
|
19746
|
+
Update: {
|
|
19747
|
+
created_at?: string;
|
|
19748
|
+
event_id?: string;
|
|
19749
|
+
event_type?: string;
|
|
19750
|
+
order_ref?: string | null;
|
|
19751
|
+
processed_at?: string;
|
|
19752
|
+
result?: import("./types").Json;
|
|
19753
|
+
updated_at?: string;
|
|
19754
|
+
};
|
|
19755
|
+
Relationships: [];
|
|
19756
|
+
};
|
|
19295
19757
|
voorraad_media_upload_failures: {
|
|
19296
19758
|
Row: {
|
|
19297
19759
|
action: string;
|
|
@@ -21452,6 +21914,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21452
21914
|
Args: never;
|
|
21453
21915
|
Returns: boolean;
|
|
21454
21916
|
};
|
|
21917
|
+
cancel_open_print_jobs: {
|
|
21918
|
+
Args: {
|
|
21919
|
+
_cutoff: string;
|
|
21920
|
+
};
|
|
21921
|
+
Returns: {
|
|
21922
|
+
extern_job_id: string;
|
|
21923
|
+
id: string;
|
|
21924
|
+
}[];
|
|
21925
|
+
};
|
|
21455
21926
|
check_offer_product_available_stock: {
|
|
21456
21927
|
Args: {
|
|
21457
21928
|
p_campaign_product_id: string;
|
|
@@ -22117,6 +22588,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22117
22588
|
};
|
|
22118
22589
|
Returns: boolean;
|
|
22119
22590
|
};
|
|
22591
|
+
floriday_adopt_connection: {
|
|
22592
|
+
Args: {
|
|
22593
|
+
p_new: string;
|
|
22594
|
+
p_old: string;
|
|
22595
|
+
};
|
|
22596
|
+
Returns: import("./types").Json;
|
|
22597
|
+
};
|
|
22598
|
+
floriday_autoheal_connections: {
|
|
22599
|
+
Args: never;
|
|
22600
|
+
Returns: import("./types").Json;
|
|
22601
|
+
};
|
|
22120
22602
|
floriday_capture_stock_snapshot: {
|
|
22121
22603
|
Args: never;
|
|
22122
22604
|
Returns: number;
|
|
@@ -22174,6 +22656,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22174
22656
|
};
|
|
22175
22657
|
Returns: undefined;
|
|
22176
22658
|
};
|
|
22659
|
+
floriday_relink_products: {
|
|
22660
|
+
Args: {
|
|
22661
|
+
p_connection_id?: string;
|
|
22662
|
+
};
|
|
22663
|
+
Returns: import("./types").Json;
|
|
22664
|
+
};
|
|
22177
22665
|
floriday_requeue_dead_letters: {
|
|
22178
22666
|
Args: {
|
|
22179
22667
|
p_connection_id?: string;
|
|
@@ -22795,6 +23283,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22795
23283
|
};
|
|
22796
23284
|
Returns: string;
|
|
22797
23285
|
};
|
|
23286
|
+
logistics_active_layout_method: {
|
|
23287
|
+
Args: never;
|
|
23288
|
+
Returns: string;
|
|
23289
|
+
};
|
|
22798
23290
|
logistics_active_pick_workdays: {
|
|
22799
23291
|
Args: never;
|
|
22800
23292
|
Returns: string[];
|
|
@@ -22846,6 +23338,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22846
23338
|
};
|
|
22847
23339
|
Returns: import("./types").Json;
|
|
22848
23340
|
};
|
|
23341
|
+
logistics_block_reason_code: {
|
|
23342
|
+
Args: {
|
|
23343
|
+
p_details?: import("./types").Json;
|
|
23344
|
+
p_reason: string;
|
|
23345
|
+
};
|
|
23346
|
+
Returns: string;
|
|
23347
|
+
};
|
|
23348
|
+
logistics_blocked_orders: {
|
|
23349
|
+
Args: never;
|
|
23350
|
+
Returns: {
|
|
23351
|
+
attempts: number;
|
|
23352
|
+
blocked_since: string;
|
|
23353
|
+
delivery_date: string;
|
|
23354
|
+
order_id: string;
|
|
23355
|
+
order_ref: string;
|
|
23356
|
+
queue_id: string;
|
|
23357
|
+
reason: string;
|
|
23358
|
+
reason_code: string;
|
|
23359
|
+
}[];
|
|
23360
|
+
};
|
|
23361
|
+
logistics_blocked_overview: {
|
|
23362
|
+
Args: never;
|
|
23363
|
+
Returns: import("./types").Json;
|
|
23364
|
+
};
|
|
22849
23365
|
logistics_buffer_criteria: {
|
|
22850
23366
|
Args: {
|
|
22851
23367
|
p_settings: import("./types").Json;
|
|
@@ -22860,6 +23376,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22860
23376
|
};
|
|
22861
23377
|
Returns: import("./types").Json;
|
|
22862
23378
|
};
|
|
23379
|
+
logistics_buffer_detach_late_orders: {
|
|
23380
|
+
Args: {
|
|
23381
|
+
p_buffer?: string;
|
|
23382
|
+
};
|
|
23383
|
+
Returns: import("./types").Json;
|
|
23384
|
+
};
|
|
23385
|
+
logistics_buffer_frozen_order: {
|
|
23386
|
+
Args: {
|
|
23387
|
+
p_order_id: string;
|
|
23388
|
+
};
|
|
23389
|
+
Returns: boolean;
|
|
23390
|
+
};
|
|
23391
|
+
logistics_buffer_handled: {
|
|
23392
|
+
Args: {
|
|
23393
|
+
p_buffer: string;
|
|
23394
|
+
};
|
|
23395
|
+
Returns: boolean;
|
|
23396
|
+
};
|
|
23397
|
+
logistics_buffer_notify: {
|
|
23398
|
+
Args: {
|
|
23399
|
+
p_event_type: string;
|
|
23400
|
+
p_idempotency_key: string;
|
|
23401
|
+
p_order_ref: string;
|
|
23402
|
+
p_payload: import("./types").Json;
|
|
23403
|
+
};
|
|
23404
|
+
Returns: string;
|
|
23405
|
+
};
|
|
23406
|
+
logistics_buffer_open_key: {
|
|
23407
|
+
Args: {
|
|
23408
|
+
p_base_key: string;
|
|
23409
|
+
};
|
|
23410
|
+
Returns: string;
|
|
23411
|
+
};
|
|
22863
23412
|
logistics_buffer_simulate: {
|
|
22864
23413
|
Args: {
|
|
22865
23414
|
p_orders?: import("./types").Json;
|
|
@@ -22912,6 +23461,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22912
23461
|
};
|
|
22913
23462
|
Returns: string;
|
|
22914
23463
|
};
|
|
23464
|
+
logistics_cart_checkin_at: {
|
|
23465
|
+
Args: {
|
|
23466
|
+
p_cart_id: string;
|
|
23467
|
+
};
|
|
23468
|
+
Returns: string;
|
|
23469
|
+
};
|
|
22915
23470
|
logistics_cart_handled: {
|
|
22916
23471
|
Args: {
|
|
22917
23472
|
p_cart_index: number;
|
|
@@ -22945,10 +23500,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22945
23500
|
task_status: string;
|
|
22946
23501
|
}[];
|
|
22947
23502
|
};
|
|
23503
|
+
logistics_cart_is_full: {
|
|
23504
|
+
Args: {
|
|
23505
|
+
p_cart_id: string;
|
|
23506
|
+
};
|
|
23507
|
+
Returns: boolean;
|
|
23508
|
+
};
|
|
22948
23509
|
logistics_cart_layout_method: {
|
|
22949
23510
|
Args: never;
|
|
22950
23511
|
Returns: import("./types").Json;
|
|
22951
23512
|
};
|
|
23513
|
+
logistics_cart_order_refs: {
|
|
23514
|
+
Args: {
|
|
23515
|
+
p_cart_id: string;
|
|
23516
|
+
};
|
|
23517
|
+
Returns: string[];
|
|
23518
|
+
};
|
|
22952
23519
|
logistics_cart_plan_overview: {
|
|
22953
23520
|
Args: {
|
|
22954
23521
|
p_days?: number;
|
|
@@ -22968,6 +23535,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22968
23535
|
};
|
|
22969
23536
|
Returns: import("./types").Json;
|
|
22970
23537
|
};
|
|
23538
|
+
logistics_cart_plan_status_core: {
|
|
23539
|
+
Args: {
|
|
23540
|
+
p_ref: string;
|
|
23541
|
+
};
|
|
23542
|
+
Returns: import("./types").Json;
|
|
23543
|
+
};
|
|
23544
|
+
logistics_cart_release_reason: {
|
|
23545
|
+
Args: {
|
|
23546
|
+
p_cart_id: string;
|
|
23547
|
+
};
|
|
23548
|
+
Returns: string;
|
|
23549
|
+
};
|
|
23550
|
+
logistics_cart_released: {
|
|
23551
|
+
Args: {
|
|
23552
|
+
p_cart_id: string;
|
|
23553
|
+
};
|
|
23554
|
+
Returns: boolean;
|
|
23555
|
+
};
|
|
22971
23556
|
logistics_cart_seq: {
|
|
22972
23557
|
Args: {
|
|
22973
23558
|
p_order_uuid?: string;
|
|
@@ -23018,6 +23603,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23018
23603
|
unit_ref: string;
|
|
23019
23604
|
}[];
|
|
23020
23605
|
};
|
|
23606
|
+
logistics_carts_per_print: {
|
|
23607
|
+
Args: never;
|
|
23608
|
+
Returns: number;
|
|
23609
|
+
};
|
|
23021
23610
|
logistics_check_order_allowed: {
|
|
23022
23611
|
Args: {
|
|
23023
23612
|
p_lines: import("./types").Json;
|
|
@@ -23121,6 +23710,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23121
23710
|
isSetofReturn: false;
|
|
23122
23711
|
};
|
|
23123
23712
|
};
|
|
23713
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
23714
|
+
Args: never;
|
|
23715
|
+
Returns: import("./types").Json;
|
|
23716
|
+
};
|
|
23124
23717
|
logistics_complete_task: {
|
|
23125
23718
|
Args: {
|
|
23126
23719
|
p_result?: import("./types").Json;
|
|
@@ -23183,6 +23776,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23183
23776
|
station_carts: number;
|
|
23184
23777
|
}[];
|
|
23185
23778
|
};
|
|
23779
|
+
logistics_control_complete_cart: {
|
|
23780
|
+
Args: {
|
|
23781
|
+
p_cart_id: string;
|
|
23782
|
+
};
|
|
23783
|
+
Returns: number;
|
|
23784
|
+
};
|
|
23186
23785
|
logistics_control_scan_approve: {
|
|
23187
23786
|
Args: {
|
|
23188
23787
|
p_allow_reprint?: boolean;
|
|
@@ -23262,6 +23861,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23262
23861
|
Args: never;
|
|
23263
23862
|
Returns: import("./types").Json;
|
|
23264
23863
|
};
|
|
23864
|
+
logistics_day_windows: {
|
|
23865
|
+
Args: {
|
|
23866
|
+
p_day: string;
|
|
23867
|
+
};
|
|
23868
|
+
Returns: {
|
|
23869
|
+
win_end: string;
|
|
23870
|
+
win_start: string;
|
|
23871
|
+
}[];
|
|
23872
|
+
};
|
|
23265
23873
|
logistics_delay_customer_email: {
|
|
23266
23874
|
Args: {
|
|
23267
23875
|
p_customer: string;
|
|
@@ -23329,6 +23937,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23329
23937
|
};
|
|
23330
23938
|
Returns: import("./types").Json;
|
|
23331
23939
|
};
|
|
23940
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
23941
|
+
Args: {
|
|
23942
|
+
_cart_id: string;
|
|
23943
|
+
_is_herprint: boolean;
|
|
23944
|
+
_printer_id: string;
|
|
23945
|
+
_queue_item_id: string;
|
|
23946
|
+
_session_id: string;
|
|
23947
|
+
_slip_job_id: string;
|
|
23948
|
+
};
|
|
23949
|
+
Returns: string;
|
|
23950
|
+
};
|
|
23332
23951
|
logistics_enqueue_sticker_with_slip: {
|
|
23333
23952
|
Args: {
|
|
23334
23953
|
_cart_id: string;
|
|
@@ -23346,6 +23965,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23346
23965
|
};
|
|
23347
23966
|
Returns: string;
|
|
23348
23967
|
};
|
|
23968
|
+
logistics_ensure_pick_data: {
|
|
23969
|
+
Args: {
|
|
23970
|
+
p_event_id?: string;
|
|
23971
|
+
p_missing?: import("./types").Json;
|
|
23972
|
+
p_ref: string;
|
|
23973
|
+
};
|
|
23974
|
+
Returns: import("./types").Json;
|
|
23975
|
+
};
|
|
23976
|
+
logistics_ensure_shipping_notes: {
|
|
23977
|
+
Args: {
|
|
23978
|
+
p_limit?: number;
|
|
23979
|
+
};
|
|
23980
|
+
Returns: import("./types").Json;
|
|
23981
|
+
};
|
|
23349
23982
|
logistics_fail_task: {
|
|
23350
23983
|
Args: {
|
|
23351
23984
|
p_error: string;
|
|
@@ -23391,6 +24024,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23391
24024
|
isSetofReturn: false;
|
|
23392
24025
|
};
|
|
23393
24026
|
};
|
|
24027
|
+
logistics_fix_wrong_shipping_notes: {
|
|
24028
|
+
Args: never;
|
|
24029
|
+
Returns: import("./types").Json;
|
|
24030
|
+
};
|
|
23394
24031
|
logistics_floriday_cart_plan: {
|
|
23395
24032
|
Args: {
|
|
23396
24033
|
p_order_id: string;
|
|
@@ -23418,6 +24055,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23418
24055
|
revision: number;
|
|
23419
24056
|
}[];
|
|
23420
24057
|
};
|
|
24058
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
24059
|
+
Args: never;
|
|
24060
|
+
Returns: boolean;
|
|
24061
|
+
};
|
|
23421
24062
|
logistics_floriday_finish_push: {
|
|
23422
24063
|
Args: {
|
|
23423
24064
|
_error?: string;
|
|
@@ -23467,6 +24108,38 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23467
24108
|
};
|
|
23468
24109
|
Returns: string;
|
|
23469
24110
|
};
|
|
24111
|
+
logistics_floriday_gate_status: {
|
|
24112
|
+
Args: never;
|
|
24113
|
+
Returns: import("./types").Json;
|
|
24114
|
+
};
|
|
24115
|
+
logistics_floriday_log_refusal: {
|
|
24116
|
+
Args: {
|
|
24117
|
+
_action?: string;
|
|
24118
|
+
_module?: string;
|
|
24119
|
+
_order_ref: string;
|
|
24120
|
+
_reason: string;
|
|
24121
|
+
_shell?: string;
|
|
24122
|
+
};
|
|
24123
|
+
Returns: undefined;
|
|
24124
|
+
};
|
|
24125
|
+
logistics_floriday_log_send: {
|
|
24126
|
+
Args: {
|
|
24127
|
+
_action: string;
|
|
24128
|
+
_detail?: string;
|
|
24129
|
+
_http_status?: number;
|
|
24130
|
+
_module?: string;
|
|
24131
|
+
_ok: boolean;
|
|
24132
|
+
_order_ref: string;
|
|
24133
|
+
_shell?: string;
|
|
24134
|
+
};
|
|
24135
|
+
Returns: undefined;
|
|
24136
|
+
};
|
|
24137
|
+
logistics_floriday_order_approved: {
|
|
24138
|
+
Args: {
|
|
24139
|
+
_order_ref: string;
|
|
24140
|
+
};
|
|
24141
|
+
Returns: boolean;
|
|
24142
|
+
};
|
|
23470
24143
|
logistics_floriday_prune_pushes: {
|
|
23471
24144
|
Args: {
|
|
23472
24145
|
_days?: number;
|
|
@@ -23481,6 +24154,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23481
24154
|
};
|
|
23482
24155
|
Returns: string;
|
|
23483
24156
|
};
|
|
24157
|
+
logistics_floriday_status_updates_enabled: {
|
|
24158
|
+
Args: never;
|
|
24159
|
+
Returns: boolean;
|
|
24160
|
+
};
|
|
24161
|
+
logistics_floriday_stock_updates_enabled: {
|
|
24162
|
+
Args: never;
|
|
24163
|
+
Returns: boolean;
|
|
24164
|
+
};
|
|
24165
|
+
logistics_floriday_write_allowed: {
|
|
24166
|
+
Args: {
|
|
24167
|
+
_action: string;
|
|
24168
|
+
};
|
|
24169
|
+
Returns: boolean;
|
|
24170
|
+
};
|
|
23484
24171
|
logistics_fulfill_barcode_requests: {
|
|
23485
24172
|
Args: {
|
|
23486
24173
|
p_limit?: number;
|
|
@@ -23501,6 +24188,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23501
24188
|
};
|
|
23502
24189
|
Returns: boolean;
|
|
23503
24190
|
};
|
|
24191
|
+
logistics_layout_method_status: {
|
|
24192
|
+
Args: never;
|
|
24193
|
+
Returns: import("./types").Json;
|
|
24194
|
+
};
|
|
24195
|
+
logistics_link_order_items: {
|
|
24196
|
+
Args: {
|
|
24197
|
+
p_order?: string;
|
|
24198
|
+
};
|
|
24199
|
+
Returns: import("./types").Json;
|
|
24200
|
+
};
|
|
23504
24201
|
logistics_live_carriers: {
|
|
23505
24202
|
Args: {
|
|
23506
24203
|
p_order_ref: string;
|
|
@@ -23513,6 +24210,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23513
24210
|
};
|
|
23514
24211
|
Returns: number;
|
|
23515
24212
|
};
|
|
24213
|
+
logistics_merge_partial_carts: {
|
|
24214
|
+
Args: {
|
|
24215
|
+
p_limit?: number;
|
|
24216
|
+
};
|
|
24217
|
+
Returns: import("./types").Json;
|
|
24218
|
+
};
|
|
23516
24219
|
logistics_next_workday_date: {
|
|
23517
24220
|
Args: {
|
|
23518
24221
|
p_date: string;
|
|
@@ -23527,12 +24230,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23527
24230
|
};
|
|
23528
24231
|
Returns: string;
|
|
23529
24232
|
};
|
|
24233
|
+
logistics_normalize_product_label: {
|
|
24234
|
+
Args: {
|
|
24235
|
+
p_label: string;
|
|
24236
|
+
};
|
|
24237
|
+
Returns: string;
|
|
24238
|
+
};
|
|
23530
24239
|
logistics_not_past: {
|
|
23531
24240
|
Args: {
|
|
23532
24241
|
p_ts: string;
|
|
23533
24242
|
};
|
|
23534
24243
|
Returns: string;
|
|
23535
24244
|
};
|
|
24245
|
+
logistics_opening_timezone: {
|
|
24246
|
+
Args: never;
|
|
24247
|
+
Returns: string;
|
|
24248
|
+
};
|
|
23536
24249
|
logistics_order_cart_count: {
|
|
23537
24250
|
Args: {
|
|
23538
24251
|
p_order_ref: string;
|
|
@@ -23589,6 +24302,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23589
24302
|
};
|
|
23590
24303
|
Returns: string;
|
|
23591
24304
|
};
|
|
24305
|
+
logistics_payload_is_floriday: {
|
|
24306
|
+
Args: {
|
|
24307
|
+
_payload: import("./types").Json;
|
|
24308
|
+
};
|
|
24309
|
+
Returns: boolean;
|
|
24310
|
+
};
|
|
23592
24311
|
logistics_pick_agenda: {
|
|
23593
24312
|
Args: {
|
|
23594
24313
|
p_from?: string;
|
|
@@ -23617,6 +24336,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23617
24336
|
Args: never;
|
|
23618
24337
|
Returns: import("./types").Json;
|
|
23619
24338
|
};
|
|
24339
|
+
logistics_pick_partial_mode: {
|
|
24340
|
+
Args: never;
|
|
24341
|
+
Returns: string;
|
|
24342
|
+
};
|
|
23620
24343
|
logistics_pick_start_estimate: {
|
|
23621
24344
|
Args: {
|
|
23622
24345
|
p_order: import("./types").Json;
|
|
@@ -23707,6 +24430,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23707
24430
|
Args: never;
|
|
23708
24431
|
Returns: undefined;
|
|
23709
24432
|
};
|
|
24433
|
+
logistics_plan_progress: {
|
|
24434
|
+
Args: {
|
|
24435
|
+
p_refs: string[];
|
|
24436
|
+
};
|
|
24437
|
+
Returns: {
|
|
24438
|
+
cart_plan_ready: boolean;
|
|
24439
|
+
cart_plan_reason: string;
|
|
24440
|
+
cart_plan_released: boolean;
|
|
24441
|
+
plan_progress: number;
|
|
24442
|
+
plan_state: string;
|
|
24443
|
+
plan_state_since: string;
|
|
24444
|
+
unit_ref: string;
|
|
24445
|
+
}[];
|
|
24446
|
+
};
|
|
23710
24447
|
logistics_plan_prune: {
|
|
23711
24448
|
Args: never;
|
|
23712
24449
|
Returns: number;
|
|
@@ -23715,6 +24452,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23715
24452
|
Args: never;
|
|
23716
24453
|
Returns: number;
|
|
23717
24454
|
};
|
|
24455
|
+
logistics_plan_retry: {
|
|
24456
|
+
Args: {
|
|
24457
|
+
p_order_ids: string[];
|
|
24458
|
+
};
|
|
24459
|
+
Returns: number;
|
|
24460
|
+
};
|
|
23718
24461
|
logistics_plan_setting: {
|
|
23719
24462
|
Args: {
|
|
23720
24463
|
p_default: number;
|
|
@@ -23722,6 +24465,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23722
24465
|
};
|
|
23723
24466
|
Returns: number;
|
|
23724
24467
|
};
|
|
24468
|
+
logistics_plan_state_for: {
|
|
24469
|
+
Args: {
|
|
24470
|
+
p_ref: string;
|
|
24471
|
+
};
|
|
24472
|
+
Returns: import("./types").Json;
|
|
24473
|
+
};
|
|
24474
|
+
logistics_prepare_pick_documents: {
|
|
24475
|
+
Args: {
|
|
24476
|
+
p_limit?: number;
|
|
24477
|
+
};
|
|
24478
|
+
Returns: import("./types").Json;
|
|
24479
|
+
};
|
|
23725
24480
|
logistics_prune_buffer_member_queue: {
|
|
23726
24481
|
Args: never;
|
|
23727
24482
|
Returns: number;
|
|
@@ -23762,12 +24517,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23762
24517
|
Args: never;
|
|
23763
24518
|
Returns: import("./types").Json;
|
|
23764
24519
|
};
|
|
24520
|
+
logistics_refresh_pick_queue_status: {
|
|
24521
|
+
Args: {
|
|
24522
|
+
p_ref: string;
|
|
24523
|
+
};
|
|
24524
|
+
Returns: number;
|
|
24525
|
+
};
|
|
23765
24526
|
logistics_refresh_pickup_moments: {
|
|
23766
24527
|
Args: {
|
|
23767
24528
|
p_weeks?: number;
|
|
23768
24529
|
};
|
|
23769
24530
|
Returns: import("./types").Json;
|
|
23770
24531
|
};
|
|
24532
|
+
logistics_refresh_plan_state: {
|
|
24533
|
+
Args: {
|
|
24534
|
+
p_limit?: number;
|
|
24535
|
+
};
|
|
24536
|
+
Returns: import("./types").Json;
|
|
24537
|
+
};
|
|
24538
|
+
logistics_replan_all: {
|
|
24539
|
+
Args: {
|
|
24540
|
+
p_reason?: string;
|
|
24541
|
+
};
|
|
24542
|
+
Returns: import("./types").Json;
|
|
24543
|
+
};
|
|
24544
|
+
logistics_replan_all_force: {
|
|
24545
|
+
Args: {
|
|
24546
|
+
p_reason?: string;
|
|
24547
|
+
};
|
|
24548
|
+
Returns: import("./types").Json;
|
|
24549
|
+
};
|
|
23771
24550
|
logistics_report_delay: {
|
|
23772
24551
|
Args: {
|
|
23773
24552
|
p_expected_date?: string;
|
|
@@ -23821,6 +24600,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23821
24600
|
};
|
|
23822
24601
|
Returns: import("./types").Json;
|
|
23823
24602
|
};
|
|
24603
|
+
logistics_resolve_product_id: {
|
|
24604
|
+
Args: {
|
|
24605
|
+
p_label: string;
|
|
24606
|
+
};
|
|
24607
|
+
Returns: string;
|
|
24608
|
+
};
|
|
23824
24609
|
logistics_resolve_settings: {
|
|
23825
24610
|
Args: {
|
|
23826
24611
|
p_config_id: string;
|
|
@@ -23906,6 +24691,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23906
24691
|
};
|
|
23907
24692
|
Returns: string;
|
|
23908
24693
|
};
|
|
24694
|
+
logistics_shipping_note_follows_slip: {
|
|
24695
|
+
Args: never;
|
|
24696
|
+
Returns: boolean;
|
|
24697
|
+
};
|
|
23909
24698
|
logistics_shipping_note_from_barcode: {
|
|
23910
24699
|
Args: {
|
|
23911
24700
|
p_allow_reprint?: boolean;
|
|
@@ -23914,10 +24703,86 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23914
24703
|
};
|
|
23915
24704
|
Returns: import("./types").Json;
|
|
23916
24705
|
};
|
|
24706
|
+
logistics_shipping_note_job_for_slip: {
|
|
24707
|
+
Args: {
|
|
24708
|
+
_slip_job_id: string;
|
|
24709
|
+
};
|
|
24710
|
+
Returns: string;
|
|
24711
|
+
};
|
|
24712
|
+
logistics_shipping_notes_wake_all: {
|
|
24713
|
+
Args: never;
|
|
24714
|
+
Returns: import("./types").Json;
|
|
24715
|
+
};
|
|
24716
|
+
logistics_slip_is_floriday: {
|
|
24717
|
+
Args: {
|
|
24718
|
+
_slip_job_id: string;
|
|
24719
|
+
};
|
|
24720
|
+
Returns: boolean;
|
|
24721
|
+
};
|
|
24722
|
+
logistics_slip_note_claim: {
|
|
24723
|
+
Args: {
|
|
24724
|
+
_lease_seconds?: number;
|
|
24725
|
+
_limit?: number;
|
|
24726
|
+
};
|
|
24727
|
+
Returns: {
|
|
24728
|
+
attempts: number;
|
|
24729
|
+
batch_key: string | null;
|
|
24730
|
+
cart_id: string | null;
|
|
24731
|
+
created_at: string;
|
|
24732
|
+
error: string | null;
|
|
24733
|
+
error_code: string | null;
|
|
24734
|
+
fulfillment_order_id: string | null;
|
|
24735
|
+
id: string;
|
|
24736
|
+
locked_until: string | null;
|
|
24737
|
+
next_attempt_at: string | null;
|
|
24738
|
+
order_id: string | null;
|
|
24739
|
+
order_number: string | null;
|
|
24740
|
+
print_job_id: string | null;
|
|
24741
|
+
printer_id: string | null;
|
|
24742
|
+
retry_class: string | null;
|
|
24743
|
+
slip_job_id: string;
|
|
24744
|
+
status: string;
|
|
24745
|
+
updated_at: string;
|
|
24746
|
+
}[];
|
|
24747
|
+
SetofOptions: {
|
|
24748
|
+
from: "*";
|
|
24749
|
+
to: "logistics_slip_shipping_note";
|
|
24750
|
+
isOneToOne: false;
|
|
24751
|
+
isSetofReturn: true;
|
|
24752
|
+
};
|
|
24753
|
+
};
|
|
24754
|
+
logistics_slip_note_finish: {
|
|
24755
|
+
Args: {
|
|
24756
|
+
_error?: string;
|
|
24757
|
+
_error_code?: string;
|
|
24758
|
+
_fulfillment_order_id?: string;
|
|
24759
|
+
_id: string;
|
|
24760
|
+
_ok: boolean;
|
|
24761
|
+
_print_job_id?: string;
|
|
24762
|
+
_status?: string;
|
|
24763
|
+
};
|
|
24764
|
+
Returns: undefined;
|
|
24765
|
+
};
|
|
24766
|
+
logistics_slip_note_keep_waiting: {
|
|
24767
|
+
Args: {
|
|
24768
|
+
_class?: string;
|
|
24769
|
+
_id: string;
|
|
24770
|
+
_reason: string;
|
|
24771
|
+
};
|
|
24772
|
+
Returns: undefined;
|
|
24773
|
+
};
|
|
23917
24774
|
logistics_sticker_follows_slip: {
|
|
23918
24775
|
Args: never;
|
|
23919
24776
|
Returns: boolean;
|
|
23920
24777
|
};
|
|
24778
|
+
logistics_subtract_working_minutes: {
|
|
24779
|
+
Args: {
|
|
24780
|
+
p_deadline: string;
|
|
24781
|
+
p_max_workdays?: number;
|
|
24782
|
+
p_minutes: number;
|
|
24783
|
+
};
|
|
24784
|
+
Returns: import("./types").Json;
|
|
24785
|
+
};
|
|
23921
24786
|
logistics_supersede_stale_tasks: {
|
|
23922
24787
|
Args: {
|
|
23923
24788
|
p_keep: string[];
|
|
@@ -23950,6 +24815,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23950
24815
|
};
|
|
23951
24816
|
Returns: number;
|
|
23952
24817
|
};
|
|
24818
|
+
logistics_tick_ping: {
|
|
24819
|
+
Args: never;
|
|
24820
|
+
Returns: string;
|
|
24821
|
+
};
|
|
24822
|
+
logistics_timezone_options: {
|
|
24823
|
+
Args: never;
|
|
24824
|
+
Returns: {
|
|
24825
|
+
name: string;
|
|
24826
|
+
}[];
|
|
24827
|
+
};
|
|
23953
24828
|
logistics_upsert_task: {
|
|
23954
24829
|
Args: {
|
|
23955
24830
|
p_buffer_ref: string;
|
|
@@ -23969,6 +24844,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23969
24844
|
};
|
|
23970
24845
|
Returns: string;
|
|
23971
24846
|
};
|
|
24847
|
+
logistics_valid_timezone: {
|
|
24848
|
+
Args: {
|
|
24849
|
+
_tz: string;
|
|
24850
|
+
};
|
|
24851
|
+
Returns: boolean;
|
|
24852
|
+
};
|
|
24853
|
+
logistics_working_hours_status: {
|
|
24854
|
+
Args: never;
|
|
24855
|
+
Returns: import("./types").Json;
|
|
24856
|
+
};
|
|
23972
24857
|
logistics_write_buffer_layer_positions: {
|
|
23973
24858
|
Args: {
|
|
23974
24859
|
p_buffer_id: string;
|
|
@@ -24134,6 +25019,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24134
25019
|
online: boolean;
|
|
24135
25020
|
}[];
|
|
24136
25021
|
};
|
|
25022
|
+
pick_apply_buffer_events: {
|
|
25023
|
+
Args: never;
|
|
25024
|
+
Returns: import("./types").Json;
|
|
25025
|
+
};
|
|
24137
25026
|
pick_available_pick_days: {
|
|
24138
25027
|
Args: {
|
|
24139
25028
|
_max_days?: number;
|
|
@@ -25061,6 +25950,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25061
25950
|
};
|
|
25062
25951
|
Returns: boolean;
|
|
25063
25952
|
};
|
|
25953
|
+
release_job_lock: {
|
|
25954
|
+
Args: {
|
|
25955
|
+
_key: string;
|
|
25956
|
+
};
|
|
25957
|
+
Returns: undefined;
|
|
25958
|
+
};
|
|
25064
25959
|
release_local_pdf_job: {
|
|
25065
25960
|
Args: {
|
|
25066
25961
|
_job_id: string;
|
|
@@ -25404,6 +26299,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25404
26299
|
};
|
|
25405
26300
|
Returns: number;
|
|
25406
26301
|
};
|
|
26302
|
+
schedule_floriday_catalog_prices_sync: {
|
|
26303
|
+
Args: {
|
|
26304
|
+
p_apikey: string;
|
|
26305
|
+
p_url: string;
|
|
26306
|
+
};
|
|
26307
|
+
Returns: number;
|
|
26308
|
+
};
|
|
25407
26309
|
schedule_floriday_clock_presales_sync: {
|
|
25408
26310
|
Args: {
|
|
25409
26311
|
p_apikey: string;
|
|
@@ -25704,6 +26606,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25704
26606
|
};
|
|
25705
26607
|
Returns: undefined;
|
|
25706
26608
|
};
|
|
26609
|
+
sync_floriday_prices_into_price_groups: {
|
|
26610
|
+
Args: never;
|
|
26611
|
+
Returns: number;
|
|
26612
|
+
};
|
|
25707
26613
|
sync_layer_stock: {
|
|
25708
26614
|
Args: {
|
|
25709
26615
|
p_product_id: string;
|
|
@@ -25749,6 +26655,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25749
26655
|
row_count: number;
|
|
25750
26656
|
}[];
|
|
25751
26657
|
};
|
|
26658
|
+
try_acquire_job_lock: {
|
|
26659
|
+
Args: {
|
|
26660
|
+
_key: string;
|
|
26661
|
+
_owner?: string;
|
|
26662
|
+
_seconds?: number;
|
|
26663
|
+
};
|
|
26664
|
+
Returns: boolean;
|
|
26665
|
+
};
|
|
25752
26666
|
try_debtor_lock: {
|
|
25753
26667
|
Args: {
|
|
25754
26668
|
_group_key: string;
|