@flowselections/floriday-klanten-module 1.0.35 → 1.0.36
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/klanten/BewerkKlant.d.ts.map +1 -1
- package/dist-lib/components/klanten/BewerkKlant.js +21 -1
- package/dist-lib/components/klanten/BulkStickerUploadDialog.d.ts +14 -0
- package/dist-lib/components/klanten/BulkStickerUploadDialog.d.ts.map +1 -0
- package/dist-lib/components/klanten/BulkStickerUploadDialog.js +231 -0
- package/dist-lib/components/klanten/CustomerAssortmentTab.d.ts.map +1 -1
- package/dist-lib/components/klanten/CustomerAssortmentTab.js +37 -5
- package/dist-lib/components/klanten/CustomerStickerCell.d.ts +7 -0
- package/dist-lib/components/klanten/CustomerStickerCell.d.ts.map +1 -0
- package/dist-lib/components/klanten/CustomerStickerCell.js +90 -0
- package/dist-lib/components/klanten/CustomerStickerFormatDialog.d.ts +7 -0
- package/dist-lib/components/klanten/CustomerStickerFormatDialog.d.ts.map +1 -0
- package/dist-lib/components/klanten/CustomerStickerFormatDialog.js +36 -0
- package/dist-lib/index.d.ts +4 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +4 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +565 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +565 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +565 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +568 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts +1695 -0
- package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts.map +1 -1
- package/dist-lib/lib/accounting.functions.d.ts +1695 -0
- package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
- package/dist-lib/lib/ai-module.server.d.ts +20 -0
- package/dist-lib/lib/ai-module.server.d.ts.map +1 -0
- package/dist-lib/lib/ai-module.server.js +86 -0
- package/dist-lib/lib/customer-analytics.functions.d.ts +565 -0
- package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-assortment.functions.d.ts +565 -0
- package/dist-lib/lib/customer-assortment.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-notes.functions.d.ts +1130 -0
- package/dist-lib/lib/customer-notes.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-revenue.functions.d.ts +565 -0
- package/dist-lib/lib/customer-revenue.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-stickers.functions.d.ts +244731 -0
- package/dist-lib/lib/customer-stickers.functions.d.ts.map +1 -0
- package/dist-lib/lib/customer-stickers.functions.js +467 -0
- package/dist-lib/lib/customers.functions.d.ts +5085 -0
- package/dist-lib/lib/customers.functions.d.ts.map +1 -1
- package/dist-lib/lib/delivery-locations.functions.d.ts +2825 -0
- package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
- package/dist-lib/lib/external-customers.functions.d.ts +2260 -0
- package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-assortment.functions.d.ts +565 -0
- package/dist-lib/lib/floriday-assortment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-discounts.functions.d.ts +1130 -0
- package/dist-lib/lib/floriday-discounts.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-price-import.functions.d.ts +1130 -0
- package/dist-lib/lib/floriday-price-import.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-trade-items.functions.d.ts +565 -0
- package/dist-lib/lib/floriday-trade-items.functions.d.ts.map +1 -1
- package/dist-lib/lib/local-discounts.functions.d.ts +3956 -1
- package/dist-lib/lib/local-discounts.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-events.functions.d.ts +565 -0
- package/dist-lib/lib/logistics-events.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-strategy.functions.d.ts +2260 -0
- package/dist-lib/lib/logistics-strategy.functions.d.ts.map +1 -1
- package/dist-lib/lib/overdue-invoices.functions.d.ts +565 -0
- package/dist-lib/lib/overdue-invoices.functions.d.ts.map +1 -1
- package/dist-lib/lib/price-groups-local.functions.d.ts +7348 -3
- package/dist-lib/lib/price-groups-local.functions.d.ts.map +1 -1
- package/dist-lib/lib/price-groups.functions.d.ts +565 -0
- package/dist-lib/lib/price-groups.functions.d.ts.map +1 -1
- package/dist-lib/lib/twinfield-adopt.functions.d.ts +1130 -0
- package/dist-lib/lib/twinfield-adopt.functions.d.ts.map +1 -1
- package/dist-lib/lib/twinfield-ledger.functions.d.ts +565 -0
- package/dist-lib/lib/twinfield-ledger.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2241,6 +2241,45 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
|
|
|
2241
2241
|
};
|
|
2242
2242
|
Relationships: [];
|
|
2243
2243
|
};
|
|
2244
|
+
customer_product_stickers: {
|
|
2245
|
+
Row: {
|
|
2246
|
+
created_at: string;
|
|
2247
|
+
customer_key: string;
|
|
2248
|
+
file_name: string;
|
|
2249
|
+
file_path: string;
|
|
2250
|
+
file_size: number | null;
|
|
2251
|
+
id: string;
|
|
2252
|
+
mime_type: string | null;
|
|
2253
|
+
trade_item_key: string;
|
|
2254
|
+
updated_at: string;
|
|
2255
|
+
uploaded_by: string | null;
|
|
2256
|
+
};
|
|
2257
|
+
Insert: {
|
|
2258
|
+
created_at?: string;
|
|
2259
|
+
customer_key: string;
|
|
2260
|
+
file_name: string;
|
|
2261
|
+
file_path: string;
|
|
2262
|
+
file_size?: number | null;
|
|
2263
|
+
id?: string;
|
|
2264
|
+
mime_type?: string | null;
|
|
2265
|
+
trade_item_key: string;
|
|
2266
|
+
updated_at?: string;
|
|
2267
|
+
uploaded_by?: string | null;
|
|
2268
|
+
};
|
|
2269
|
+
Update: {
|
|
2270
|
+
created_at?: string;
|
|
2271
|
+
customer_key?: string;
|
|
2272
|
+
file_name?: string;
|
|
2273
|
+
file_path?: string;
|
|
2274
|
+
file_size?: number | null;
|
|
2275
|
+
id?: string;
|
|
2276
|
+
mime_type?: string | null;
|
|
2277
|
+
trade_item_key?: string;
|
|
2278
|
+
updated_at?: string;
|
|
2279
|
+
uploaded_by?: string | null;
|
|
2280
|
+
};
|
|
2281
|
+
Relationships: [];
|
|
2282
|
+
};
|
|
2244
2283
|
customer_selected_assortment: {
|
|
2245
2284
|
Row: {
|
|
2246
2285
|
article_number: string | null;
|
|
@@ -2289,6 +2328,30 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
|
|
|
2289
2328
|
referencedColumns: ["id"];
|
|
2290
2329
|
}];
|
|
2291
2330
|
};
|
|
2331
|
+
customer_sticker_settings: {
|
|
2332
|
+
Row: {
|
|
2333
|
+
created_at: string;
|
|
2334
|
+
customer_key: string;
|
|
2335
|
+
height_mm: number;
|
|
2336
|
+
updated_at: string;
|
|
2337
|
+
width_mm: number;
|
|
2338
|
+
};
|
|
2339
|
+
Insert: {
|
|
2340
|
+
created_at?: string;
|
|
2341
|
+
customer_key: string;
|
|
2342
|
+
height_mm?: number;
|
|
2343
|
+
updated_at?: string;
|
|
2344
|
+
width_mm?: number;
|
|
2345
|
+
};
|
|
2346
|
+
Update: {
|
|
2347
|
+
created_at?: string;
|
|
2348
|
+
customer_key?: string;
|
|
2349
|
+
height_mm?: number;
|
|
2350
|
+
updated_at?: string;
|
|
2351
|
+
width_mm?: number;
|
|
2352
|
+
};
|
|
2353
|
+
Relationships: [];
|
|
2354
|
+
};
|
|
2292
2355
|
customer_trade_settings: {
|
|
2293
2356
|
Row: {
|
|
2294
2357
|
category: string;
|
|
@@ -5619,6 +5682,102 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
|
|
|
5619
5682
|
referencedColumns: ["id"];
|
|
5620
5683
|
}];
|
|
5621
5684
|
};
|
|
5685
|
+
floriday_api_log: {
|
|
5686
|
+
Row: {
|
|
5687
|
+
action: string | null;
|
|
5688
|
+
caller: string | null;
|
|
5689
|
+
connection_id: string | null;
|
|
5690
|
+
created_at: string;
|
|
5691
|
+
cursor_from: number | null;
|
|
5692
|
+
direction: string;
|
|
5693
|
+
duration_ms: number | null;
|
|
5694
|
+
environment: string | null;
|
|
5695
|
+
error: string | null;
|
|
5696
|
+
floriday_id: string | null;
|
|
5697
|
+
floriday_reference: string | null;
|
|
5698
|
+
http_status: number;
|
|
5699
|
+
id: string;
|
|
5700
|
+
item_count: number | null;
|
|
5701
|
+
kind: string | null;
|
|
5702
|
+
local_id: string | null;
|
|
5703
|
+
local_reference: string | null;
|
|
5704
|
+
method: string;
|
|
5705
|
+
module: string | null;
|
|
5706
|
+
ok: boolean;
|
|
5707
|
+
path: string;
|
|
5708
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
5709
|
+
resource_type: string | null;
|
|
5710
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
5711
|
+
write_log_id: string | null;
|
|
5712
|
+
};
|
|
5713
|
+
Insert: {
|
|
5714
|
+
action?: string | null;
|
|
5715
|
+
caller?: string | null;
|
|
5716
|
+
connection_id?: string | null;
|
|
5717
|
+
created_at?: string;
|
|
5718
|
+
cursor_from?: number | null;
|
|
5719
|
+
direction: string;
|
|
5720
|
+
duration_ms?: number | null;
|
|
5721
|
+
environment?: string | null;
|
|
5722
|
+
error?: string | null;
|
|
5723
|
+
floriday_id?: string | null;
|
|
5724
|
+
floriday_reference?: string | null;
|
|
5725
|
+
http_status?: number;
|
|
5726
|
+
id?: string;
|
|
5727
|
+
item_count?: number | null;
|
|
5728
|
+
kind?: string | null;
|
|
5729
|
+
local_id?: string | null;
|
|
5730
|
+
local_reference?: string | null;
|
|
5731
|
+
method: string;
|
|
5732
|
+
module?: string | null;
|
|
5733
|
+
ok?: boolean;
|
|
5734
|
+
path: string;
|
|
5735
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5736
|
+
resource_type?: string | null;
|
|
5737
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5738
|
+
write_log_id?: string | null;
|
|
5739
|
+
};
|
|
5740
|
+
Update: {
|
|
5741
|
+
action?: string | null;
|
|
5742
|
+
caller?: string | null;
|
|
5743
|
+
connection_id?: string | null;
|
|
5744
|
+
created_at?: string;
|
|
5745
|
+
cursor_from?: number | null;
|
|
5746
|
+
direction?: string;
|
|
5747
|
+
duration_ms?: number | null;
|
|
5748
|
+
environment?: string | null;
|
|
5749
|
+
error?: string | null;
|
|
5750
|
+
floriday_id?: string | null;
|
|
5751
|
+
floriday_reference?: string | null;
|
|
5752
|
+
http_status?: number;
|
|
5753
|
+
id?: string;
|
|
5754
|
+
item_count?: number | null;
|
|
5755
|
+
kind?: string | null;
|
|
5756
|
+
local_id?: string | null;
|
|
5757
|
+
local_reference?: string | null;
|
|
5758
|
+
method?: string;
|
|
5759
|
+
module?: string | null;
|
|
5760
|
+
ok?: boolean;
|
|
5761
|
+
path?: string;
|
|
5762
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5763
|
+
resource_type?: string | null;
|
|
5764
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5765
|
+
write_log_id?: string | null;
|
|
5766
|
+
};
|
|
5767
|
+
Relationships: [{
|
|
5768
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
5769
|
+
columns: ["connection_id"];
|
|
5770
|
+
isOneToOne: false;
|
|
5771
|
+
referencedRelation: "floriday_connections";
|
|
5772
|
+
referencedColumns: ["id"];
|
|
5773
|
+
}, {
|
|
5774
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
5775
|
+
columns: ["write_log_id"];
|
|
5776
|
+
isOneToOne: false;
|
|
5777
|
+
referencedRelation: "floriday_write_log";
|
|
5778
|
+
referencedColumns: ["id"];
|
|
5779
|
+
}];
|
|
5780
|
+
};
|
|
5622
5781
|
floriday_auction_letters_cache: {
|
|
5623
5782
|
Row: {
|
|
5624
5783
|
auction_letter_code: string;
|
|
@@ -6819,6 +6978,69 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
|
|
|
6819
6978
|
referencedColumns: ["id"];
|
|
6820
6979
|
}];
|
|
6821
6980
|
};
|
|
6981
|
+
floriday_link_templates: {
|
|
6982
|
+
Row: {
|
|
6983
|
+
created_at: string;
|
|
6984
|
+
floriday_url_template: string | null;
|
|
6985
|
+
is_active: boolean;
|
|
6986
|
+
label: string;
|
|
6987
|
+
local_url_template: string | null;
|
|
6988
|
+
resource_type: string;
|
|
6989
|
+
updated_at: string;
|
|
6990
|
+
};
|
|
6991
|
+
Insert: {
|
|
6992
|
+
created_at?: string;
|
|
6993
|
+
floriday_url_template?: string | null;
|
|
6994
|
+
is_active?: boolean;
|
|
6995
|
+
label: string;
|
|
6996
|
+
local_url_template?: string | null;
|
|
6997
|
+
resource_type: string;
|
|
6998
|
+
updated_at?: string;
|
|
6999
|
+
};
|
|
7000
|
+
Update: {
|
|
7001
|
+
created_at?: string;
|
|
7002
|
+
floriday_url_template?: string | null;
|
|
7003
|
+
is_active?: boolean;
|
|
7004
|
+
label?: string;
|
|
7005
|
+
local_url_template?: string | null;
|
|
7006
|
+
resource_type?: string;
|
|
7007
|
+
updated_at?: string;
|
|
7008
|
+
};
|
|
7009
|
+
Relationships: [];
|
|
7010
|
+
};
|
|
7011
|
+
floriday_log_retention: {
|
|
7012
|
+
Row: {
|
|
7013
|
+
created_at: string;
|
|
7014
|
+
direction: string | null;
|
|
7015
|
+
id: string;
|
|
7016
|
+
keep_failed_days: number | null;
|
|
7017
|
+
keep_ok_days: number | null;
|
|
7018
|
+
note: string | null;
|
|
7019
|
+
resource_type: string | null;
|
|
7020
|
+
updated_at: string;
|
|
7021
|
+
};
|
|
7022
|
+
Insert: {
|
|
7023
|
+
created_at?: string;
|
|
7024
|
+
direction?: string | null;
|
|
7025
|
+
id?: string;
|
|
7026
|
+
keep_failed_days?: number | null;
|
|
7027
|
+
keep_ok_days?: number | null;
|
|
7028
|
+
note?: string | null;
|
|
7029
|
+
resource_type?: string | null;
|
|
7030
|
+
updated_at?: string;
|
|
7031
|
+
};
|
|
7032
|
+
Update: {
|
|
7033
|
+
created_at?: string;
|
|
7034
|
+
direction?: string | null;
|
|
7035
|
+
id?: string;
|
|
7036
|
+
keep_failed_days?: number | null;
|
|
7037
|
+
keep_ok_days?: number | null;
|
|
7038
|
+
note?: string | null;
|
|
7039
|
+
resource_type?: string | null;
|
|
7040
|
+
updated_at?: string;
|
|
7041
|
+
};
|
|
7042
|
+
Relationships: [];
|
|
7043
|
+
};
|
|
6822
7044
|
floriday_logistic_labels_cache: {
|
|
6823
7045
|
Row: {
|
|
6824
7046
|
byte_size: number | null;
|
|
@@ -10944,6 +11166,69 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
|
|
|
10944
11166
|
};
|
|
10945
11167
|
Relationships: [];
|
|
10946
11168
|
};
|
|
11169
|
+
logistics_slip_shipping_note: {
|
|
11170
|
+
Row: {
|
|
11171
|
+
attempts: number;
|
|
11172
|
+
batch_key: string | null;
|
|
11173
|
+
cart_id: string | null;
|
|
11174
|
+
created_at: string;
|
|
11175
|
+
error: string | null;
|
|
11176
|
+
error_code: string | null;
|
|
11177
|
+
fulfillment_order_id: string | null;
|
|
11178
|
+
id: string;
|
|
11179
|
+
locked_until: string | null;
|
|
11180
|
+
next_attempt_at: string | null;
|
|
11181
|
+
order_id: string | null;
|
|
11182
|
+
order_number: string | null;
|
|
11183
|
+
print_job_id: string | null;
|
|
11184
|
+
printer_id: string | null;
|
|
11185
|
+
retry_class: string | null;
|
|
11186
|
+
slip_job_id: string;
|
|
11187
|
+
status: string;
|
|
11188
|
+
updated_at: string;
|
|
11189
|
+
};
|
|
11190
|
+
Insert: {
|
|
11191
|
+
attempts?: number;
|
|
11192
|
+
batch_key?: string | null;
|
|
11193
|
+
cart_id?: string | null;
|
|
11194
|
+
created_at?: string;
|
|
11195
|
+
error?: string | null;
|
|
11196
|
+
error_code?: string | null;
|
|
11197
|
+
fulfillment_order_id?: string | null;
|
|
11198
|
+
id?: string;
|
|
11199
|
+
locked_until?: string | null;
|
|
11200
|
+
next_attempt_at?: string | null;
|
|
11201
|
+
order_id?: string | null;
|
|
11202
|
+
order_number?: string | null;
|
|
11203
|
+
print_job_id?: string | null;
|
|
11204
|
+
printer_id?: string | null;
|
|
11205
|
+
retry_class?: string | null;
|
|
11206
|
+
slip_job_id: string;
|
|
11207
|
+
status?: string;
|
|
11208
|
+
updated_at?: string;
|
|
11209
|
+
};
|
|
11210
|
+
Update: {
|
|
11211
|
+
attempts?: number;
|
|
11212
|
+
batch_key?: string | null;
|
|
11213
|
+
cart_id?: string | null;
|
|
11214
|
+
created_at?: string;
|
|
11215
|
+
error?: string | null;
|
|
11216
|
+
error_code?: string | null;
|
|
11217
|
+
fulfillment_order_id?: string | null;
|
|
11218
|
+
id?: string;
|
|
11219
|
+
locked_until?: string | null;
|
|
11220
|
+
next_attempt_at?: string | null;
|
|
11221
|
+
order_id?: string | null;
|
|
11222
|
+
order_number?: string | null;
|
|
11223
|
+
print_job_id?: string | null;
|
|
11224
|
+
printer_id?: string | null;
|
|
11225
|
+
retry_class?: string | null;
|
|
11226
|
+
slip_job_id?: string;
|
|
11227
|
+
status?: string;
|
|
11228
|
+
updated_at?: string;
|
|
11229
|
+
};
|
|
11230
|
+
Relationships: [];
|
|
11231
|
+
};
|
|
10947
11232
|
logistics_staff_planning: {
|
|
10948
11233
|
Row: {
|
|
10949
11234
|
created_at: string;
|
|
@@ -11295,6 +11580,111 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
|
|
|
11295
11580
|
};
|
|
11296
11581
|
Relationships: [];
|
|
11297
11582
|
};
|
|
11583
|
+
logistics_trace_events: {
|
|
11584
|
+
Row: {
|
|
11585
|
+
actor: string | null;
|
|
11586
|
+
attempts: number;
|
|
11587
|
+
cart_ref: string | null;
|
|
11588
|
+
created_at: string;
|
|
11589
|
+
db_action: string | null;
|
|
11590
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
11591
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
11592
|
+
db_record: string | null;
|
|
11593
|
+
db_table: string | null;
|
|
11594
|
+
decision: string | null;
|
|
11595
|
+
duration_ms: number | null;
|
|
11596
|
+
error: string | null;
|
|
11597
|
+
external_action: string | null;
|
|
11598
|
+
external_ref: string | null;
|
|
11599
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
11600
|
+
external_status: string | null;
|
|
11601
|
+
external_system: string | null;
|
|
11602
|
+
id: string;
|
|
11603
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
11604
|
+
next_attempt_at: string | null;
|
|
11605
|
+
order_ref: string | null;
|
|
11606
|
+
order_source: string | null;
|
|
11607
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
11608
|
+
phase: string;
|
|
11609
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
11610
|
+
reason: string | null;
|
|
11611
|
+
rule: string | null;
|
|
11612
|
+
slip_ref: string | null;
|
|
11613
|
+
status: string;
|
|
11614
|
+
step: string;
|
|
11615
|
+
trace_id: string;
|
|
11616
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
11617
|
+
};
|
|
11618
|
+
Insert: {
|
|
11619
|
+
actor?: string | null;
|
|
11620
|
+
attempts?: number;
|
|
11621
|
+
cart_ref?: string | null;
|
|
11622
|
+
created_at?: string;
|
|
11623
|
+
db_action?: string | null;
|
|
11624
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11625
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11626
|
+
db_record?: string | null;
|
|
11627
|
+
db_table?: string | null;
|
|
11628
|
+
decision?: string | null;
|
|
11629
|
+
duration_ms?: number | null;
|
|
11630
|
+
error?: string | null;
|
|
11631
|
+
external_action?: string | null;
|
|
11632
|
+
external_ref?: string | null;
|
|
11633
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11634
|
+
external_status?: string | null;
|
|
11635
|
+
external_system?: string | null;
|
|
11636
|
+
id?: string;
|
|
11637
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11638
|
+
next_attempt_at?: string | null;
|
|
11639
|
+
order_ref?: string | null;
|
|
11640
|
+
order_source?: string | null;
|
|
11641
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11642
|
+
phase: string;
|
|
11643
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11644
|
+
reason?: string | null;
|
|
11645
|
+
rule?: string | null;
|
|
11646
|
+
slip_ref?: string | null;
|
|
11647
|
+
status: string;
|
|
11648
|
+
step: string;
|
|
11649
|
+
trace_id?: string;
|
|
11650
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11651
|
+
};
|
|
11652
|
+
Update: {
|
|
11653
|
+
actor?: string | null;
|
|
11654
|
+
attempts?: number;
|
|
11655
|
+
cart_ref?: string | null;
|
|
11656
|
+
created_at?: string;
|
|
11657
|
+
db_action?: string | null;
|
|
11658
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11659
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11660
|
+
db_record?: string | null;
|
|
11661
|
+
db_table?: string | null;
|
|
11662
|
+
decision?: string | null;
|
|
11663
|
+
duration_ms?: number | null;
|
|
11664
|
+
error?: string | null;
|
|
11665
|
+
external_action?: string | null;
|
|
11666
|
+
external_ref?: string | null;
|
|
11667
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11668
|
+
external_status?: string | null;
|
|
11669
|
+
external_system?: string | null;
|
|
11670
|
+
id?: string;
|
|
11671
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11672
|
+
next_attempt_at?: string | null;
|
|
11673
|
+
order_ref?: string | null;
|
|
11674
|
+
order_source?: string | null;
|
|
11675
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11676
|
+
phase?: string;
|
|
11677
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11678
|
+
reason?: string | null;
|
|
11679
|
+
rule?: string | null;
|
|
11680
|
+
slip_ref?: string | null;
|
|
11681
|
+
status?: string;
|
|
11682
|
+
step?: string;
|
|
11683
|
+
trace_id?: string;
|
|
11684
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11685
|
+
};
|
|
11686
|
+
Relationships: [];
|
|
11687
|
+
};
|
|
11298
11688
|
logistics_variables: {
|
|
11299
11689
|
Row: {
|
|
11300
11690
|
created_at: string;
|
|
@@ -21867,6 +22257,15 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
|
|
|
21867
22257
|
Args: never;
|
|
21868
22258
|
Returns: boolean;
|
|
21869
22259
|
};
|
|
22260
|
+
cancel_open_print_jobs: {
|
|
22261
|
+
Args: {
|
|
22262
|
+
_cutoff: string;
|
|
22263
|
+
};
|
|
22264
|
+
Returns: {
|
|
22265
|
+
extern_job_id: string;
|
|
22266
|
+
id: string;
|
|
22267
|
+
}[];
|
|
22268
|
+
};
|
|
21870
22269
|
check_offer_product_available_stock: {
|
|
21871
22270
|
Args: {
|
|
21872
22271
|
p_campaign_product_id: string;
|
|
@@ -23479,6 +23878,12 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
|
|
|
23479
23878
|
};
|
|
23480
23879
|
Returns: import("../integrations/supabase/types").Json;
|
|
23481
23880
|
};
|
|
23881
|
+
logistics_cart_plan_status_core: {
|
|
23882
|
+
Args: {
|
|
23883
|
+
p_ref: string;
|
|
23884
|
+
};
|
|
23885
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23886
|
+
};
|
|
23482
23887
|
logistics_cart_release_reason: {
|
|
23483
23888
|
Args: {
|
|
23484
23889
|
p_cart_id: string;
|
|
@@ -23541,6 +23946,10 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
|
|
|
23541
23946
|
unit_ref: string;
|
|
23542
23947
|
}[];
|
|
23543
23948
|
};
|
|
23949
|
+
logistics_carts_per_print: {
|
|
23950
|
+
Args: never;
|
|
23951
|
+
Returns: number;
|
|
23952
|
+
};
|
|
23544
23953
|
logistics_check_order_allowed: {
|
|
23545
23954
|
Args: {
|
|
23546
23955
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -23907,6 +24316,12 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
|
|
|
23907
24316
|
};
|
|
23908
24317
|
Returns: import("../integrations/supabase/types").Json;
|
|
23909
24318
|
};
|
|
24319
|
+
logistics_ensure_shipping_notes: {
|
|
24320
|
+
Args: {
|
|
24321
|
+
p_limit?: number;
|
|
24322
|
+
};
|
|
24323
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24324
|
+
};
|
|
23910
24325
|
logistics_fail_task: {
|
|
23911
24326
|
Args: {
|
|
23912
24327
|
p_error: string;
|
|
@@ -23952,6 +24367,10 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
|
|
|
23952
24367
|
isSetofReturn: false;
|
|
23953
24368
|
};
|
|
23954
24369
|
};
|
|
24370
|
+
logistics_fix_wrong_shipping_notes: {
|
|
24371
|
+
Args: never;
|
|
24372
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24373
|
+
};
|
|
23955
24374
|
logistics_floriday_cart_plan: {
|
|
23956
24375
|
Args: {
|
|
23957
24376
|
p_order_id: string;
|
|
@@ -23979,6 +24398,10 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
|
|
|
23979
24398
|
revision: number;
|
|
23980
24399
|
}[];
|
|
23981
24400
|
};
|
|
24401
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
24402
|
+
Args: never;
|
|
24403
|
+
Returns: boolean;
|
|
24404
|
+
};
|
|
23982
24405
|
logistics_floriday_finish_push: {
|
|
23983
24406
|
Args: {
|
|
23984
24407
|
_error?: string;
|
|
@@ -24222,6 +24645,12 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
|
|
|
24222
24645
|
};
|
|
24223
24646
|
Returns: string;
|
|
24224
24647
|
};
|
|
24648
|
+
logistics_payload_is_floriday: {
|
|
24649
|
+
Args: {
|
|
24650
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
24651
|
+
};
|
|
24652
|
+
Returns: boolean;
|
|
24653
|
+
};
|
|
24225
24654
|
logistics_pick_agenda: {
|
|
24226
24655
|
Args: {
|
|
24227
24656
|
p_from?: string;
|
|
@@ -24344,6 +24773,20 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
|
|
|
24344
24773
|
Args: never;
|
|
24345
24774
|
Returns: undefined;
|
|
24346
24775
|
};
|
|
24776
|
+
logistics_plan_progress: {
|
|
24777
|
+
Args: {
|
|
24778
|
+
p_refs: string[];
|
|
24779
|
+
};
|
|
24780
|
+
Returns: {
|
|
24781
|
+
cart_plan_ready: boolean;
|
|
24782
|
+
cart_plan_reason: string;
|
|
24783
|
+
cart_plan_released: boolean;
|
|
24784
|
+
plan_progress: number;
|
|
24785
|
+
plan_state: string;
|
|
24786
|
+
plan_state_since: string;
|
|
24787
|
+
unit_ref: string;
|
|
24788
|
+
}[];
|
|
24789
|
+
};
|
|
24347
24790
|
logistics_plan_prune: {
|
|
24348
24791
|
Args: never;
|
|
24349
24792
|
Returns: number;
|
|
@@ -24365,6 +24808,12 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
|
|
|
24365
24808
|
};
|
|
24366
24809
|
Returns: number;
|
|
24367
24810
|
};
|
|
24811
|
+
logistics_plan_state_for: {
|
|
24812
|
+
Args: {
|
|
24813
|
+
p_ref: string;
|
|
24814
|
+
};
|
|
24815
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24816
|
+
};
|
|
24368
24817
|
logistics_prepare_pick_documents: {
|
|
24369
24818
|
Args: {
|
|
24370
24819
|
p_limit?: number;
|
|
@@ -24423,6 +24872,12 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
|
|
|
24423
24872
|
};
|
|
24424
24873
|
Returns: import("../integrations/supabase/types").Json;
|
|
24425
24874
|
};
|
|
24875
|
+
logistics_refresh_plan_state: {
|
|
24876
|
+
Args: {
|
|
24877
|
+
p_limit?: number;
|
|
24878
|
+
};
|
|
24879
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24880
|
+
};
|
|
24426
24881
|
logistics_replan_all: {
|
|
24427
24882
|
Args: {
|
|
24428
24883
|
p_reason?: string;
|
|
@@ -24591,6 +25046,74 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
|
|
|
24591
25046
|
};
|
|
24592
25047
|
Returns: import("../integrations/supabase/types").Json;
|
|
24593
25048
|
};
|
|
25049
|
+
logistics_shipping_note_job_for_slip: {
|
|
25050
|
+
Args: {
|
|
25051
|
+
_slip_job_id: string;
|
|
25052
|
+
};
|
|
25053
|
+
Returns: string;
|
|
25054
|
+
};
|
|
25055
|
+
logistics_shipping_notes_wake_all: {
|
|
25056
|
+
Args: never;
|
|
25057
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25058
|
+
};
|
|
25059
|
+
logistics_slip_is_floriday: {
|
|
25060
|
+
Args: {
|
|
25061
|
+
_slip_job_id: string;
|
|
25062
|
+
};
|
|
25063
|
+
Returns: boolean;
|
|
25064
|
+
};
|
|
25065
|
+
logistics_slip_note_claim: {
|
|
25066
|
+
Args: {
|
|
25067
|
+
_lease_seconds?: number;
|
|
25068
|
+
_limit?: number;
|
|
25069
|
+
};
|
|
25070
|
+
Returns: {
|
|
25071
|
+
attempts: number;
|
|
25072
|
+
batch_key: string | null;
|
|
25073
|
+
cart_id: string | null;
|
|
25074
|
+
created_at: string;
|
|
25075
|
+
error: string | null;
|
|
25076
|
+
error_code: string | null;
|
|
25077
|
+
fulfillment_order_id: string | null;
|
|
25078
|
+
id: string;
|
|
25079
|
+
locked_until: string | null;
|
|
25080
|
+
next_attempt_at: string | null;
|
|
25081
|
+
order_id: string | null;
|
|
25082
|
+
order_number: string | null;
|
|
25083
|
+
print_job_id: string | null;
|
|
25084
|
+
printer_id: string | null;
|
|
25085
|
+
retry_class: string | null;
|
|
25086
|
+
slip_job_id: string;
|
|
25087
|
+
status: string;
|
|
25088
|
+
updated_at: string;
|
|
25089
|
+
}[];
|
|
25090
|
+
SetofOptions: {
|
|
25091
|
+
from: "*";
|
|
25092
|
+
to: "logistics_slip_shipping_note";
|
|
25093
|
+
isOneToOne: false;
|
|
25094
|
+
isSetofReturn: true;
|
|
25095
|
+
};
|
|
25096
|
+
};
|
|
25097
|
+
logistics_slip_note_finish: {
|
|
25098
|
+
Args: {
|
|
25099
|
+
_error?: string;
|
|
25100
|
+
_error_code?: string;
|
|
25101
|
+
_fulfillment_order_id?: string;
|
|
25102
|
+
_id: string;
|
|
25103
|
+
_ok: boolean;
|
|
25104
|
+
_print_job_id?: string;
|
|
25105
|
+
_status?: string;
|
|
25106
|
+
};
|
|
25107
|
+
Returns: undefined;
|
|
25108
|
+
};
|
|
25109
|
+
logistics_slip_note_keep_waiting: {
|
|
25110
|
+
Args: {
|
|
25111
|
+
_class?: string;
|
|
25112
|
+
_id: string;
|
|
25113
|
+
_reason: string;
|
|
25114
|
+
};
|
|
25115
|
+
Returns: undefined;
|
|
25116
|
+
};
|
|
24594
25117
|
logistics_sticker_follows_slip: {
|
|
24595
25118
|
Args: never;
|
|
24596
25119
|
Returns: boolean;
|
|
@@ -24645,6 +25168,40 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
|
|
|
24645
25168
|
name: string;
|
|
24646
25169
|
}[];
|
|
24647
25170
|
};
|
|
25171
|
+
logistics_trace: {
|
|
25172
|
+
Args: {
|
|
25173
|
+
p: import("../integrations/supabase/types").Json;
|
|
25174
|
+
};
|
|
25175
|
+
Returns: string;
|
|
25176
|
+
};
|
|
25177
|
+
logistics_trace_batch: {
|
|
25178
|
+
Args: {
|
|
25179
|
+
p: import("../integrations/supabase/types").Json;
|
|
25180
|
+
};
|
|
25181
|
+
Returns: number;
|
|
25182
|
+
};
|
|
25183
|
+
logistics_trace_orders: {
|
|
25184
|
+
Args: {
|
|
25185
|
+
p_limit?: number;
|
|
25186
|
+
p_search?: string;
|
|
25187
|
+
p_since?: string;
|
|
25188
|
+
p_status?: string;
|
|
25189
|
+
};
|
|
25190
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25191
|
+
};
|
|
25192
|
+
logistics_trace_redact: {
|
|
25193
|
+
Args: {
|
|
25194
|
+
p: import("../integrations/supabase/types").Json;
|
|
25195
|
+
};
|
|
25196
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25197
|
+
};
|
|
25198
|
+
logistics_trace_timeline: {
|
|
25199
|
+
Args: {
|
|
25200
|
+
p_limit?: number;
|
|
25201
|
+
p_order_ref: string;
|
|
25202
|
+
};
|
|
25203
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25204
|
+
};
|
|
24648
25205
|
logistics_upsert_task: {
|
|
24649
25206
|
Args: {
|
|
24650
25207
|
p_buffer_ref: string;
|
|
@@ -25686,6 +26243,10 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
|
|
|
25686
26243
|
};
|
|
25687
26244
|
Returns: undefined;
|
|
25688
26245
|
};
|
|
26246
|
+
prune_floriday_api_log: {
|
|
26247
|
+
Args: never;
|
|
26248
|
+
Returns: number;
|
|
26249
|
+
};
|
|
25689
26250
|
quote_create_from_source: {
|
|
25690
26251
|
Args: {
|
|
25691
26252
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -26562,6 +27123,10 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
|
|
|
26562
27123
|
Args: never;
|
|
26563
27124
|
Returns: string;
|
|
26564
27125
|
};
|
|
27126
|
+
voorraad_cleanup_old_rows: {
|
|
27127
|
+
Args: never;
|
|
27128
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27129
|
+
};
|
|
26565
27130
|
wake_print_queue: {
|
|
26566
27131
|
Args: {
|
|
26567
27132
|
_min_interval_ms?: number;
|